diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 857a1685..5a0da1df 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -62,7 +62,7 @@ jobs: pnpm run test.lint - name: Upload Dist - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: dist path: | @@ -91,7 +91,7 @@ jobs: - uses: actions/checkout@v4 - name: Download Artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: dist @@ -126,7 +126,7 @@ jobs: pnpm run pack.exe - name: Upload Executables - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: exe path: | @@ -158,7 +158,7 @@ jobs: submodules: true - name: Download Dist - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: dist @@ -240,7 +240,7 @@ jobs: submodules: true - name: Download Dist - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: dist @@ -255,7 +255,7 @@ jobs: runs-on: ubuntu-22.04 steps: - name: Download All Artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 - name: Place Artifacts shell: bash diff --git a/dist/actions/actions_python.bfd29453.js b/dist/actions/actions_python.bfd29453.js new file mode 100644 index 00000000..c338505c --- /dev/null +++ b/dist/actions/actions_python.bfd29453.js @@ -0,0 +1,3 @@ +function $parcel$export(e,t,r,i){Object.defineProperty(e,t,{get:r,set:i,enumerable:!0,configurable:!0});}function $parcel$interopDefault(e){return e&&e.__esModule?e.default:e;}var $6DZae$path=require("path"),$6DZae$os=require("os"),$6DZae$fs=require("fs"),$6DZae$stream=require("stream"),$6DZae$util=require("util"),$6DZae$assert=require("assert"),$6DZae$child_process=require("child_process"),$6DZae$crypto=require("crypto"),$parcel$global=globalThis,parcelRequire=$parcel$global.parcelRequire810d,parcelRegister=parcelRequire.register;parcelRegister("8MXq9",function(e,t){var r,i,n,s,o,a,h,c,l;function u(e){return e.startsWith("pypy");}async function p(e,t,o){h.IS_MAC&&(process.env.AGENT_TOOLSDIRECTORY="/Users/runner/hostedtoolcache");let c=process.env.AGENT_TOOLSDIRECTORY?.trim();if("string"==typeof c&&""!==c&&(process.env.RUNNER_TOOL_CACHE=process.env.AGENT_TOOLSDIRECTORY),(0,s.debug)("Python is expected to be installed into "+process.env.RUNNER_TOOL_CACHE),e){let t;if(u(e)){let r=await(0,i.findPyPyVersion)(e,o,!0,d,!1);t=`${r.resolvedPyPyVersion}-${r.resolvedPythonVersion}`,(0,n.info)(`Successfully set up PyPy ${r.resolvedPyPyVersion} with Python (${r.resolvedPythonVersion})`);}else{let i=await(0,r.useCpythonVersion)(e,o,!0,d,!1);t=i.version,(0,n.info)(`Successfully set up ${i.impl} (${t})`);}}a.GITHUB_ACTIONS&&(await f());}async function f(){let e=(0,o.join)(l,"python_matcher.json");if(!(await(0,c.pathExists)(e)))return(0,n.warning)("the python_matcher.json file does not exist in the same folder as setup-cpp.js");(0,n.info)("::add-matcher::"+e);}$parcel$export(e.exports,"setupActionsPython",()=>p),r=parcelRequire("8Q1EI"),i=parcelRequire("2hRl9"),n=parcelRequire("7Lz0k"),s=parcelRequire("kDRhL"),o=parcelRequire("bLa2q"),a=parcelRequire("l6WDk"),h=parcelRequire("6KA3p"),c=parcelRequire("6MdIz"),l=$6DZae$path.resolve(__dirname,"../../src/python");let d=!1;}),parcelRegister("8Q1EI",function(e,t){var r,i,n,s,o;function a(e){return r.IS_WINDOWS?$6DZae$path.join(e,"Scripts"):$6DZae$path.join(e,"bin");}async function h(e,t,h,p,f){let d=null,m=u(c(e),f);if(s.debug(`Semantic version spec of ${e} is ${m}`),p){d=await n.getManifest();let e=(await n.findReleaseFromManifest(m,t,d))?.version;e?(m=e,s.info(`Resolved as '${m}'`)):s.info(`Failed to resolve version ${m} from manifest`);}let y=o.find("Python",m,t);if(!y){s.info(`Version ${m} was not found in the local cache`);let e=await n.findReleaseFromManifest(m,t,d);e&&e.files&&e.files.length>0&&(s.info(`Version ${m} is available for downloading`),await n.installCpythonFromRelease(e),y=o.find("Python",m,t));}if(!y){let i=await(0,r.getOSInfo)();throw Error([`The version '${e}' with architecture '${t}' was not found for ${i?`${i.osName} ${i.osVersion}`:"this operating system"}.`,"The list of all available versions can be found here: "+n.MANIFEST_URL].join($6DZae$os.EOL));}let E=a(y),g=r.IS_WINDOWS?".exe":"",w=$6DZae$path.join(r.IS_WINDOWS?y:E,"python"+g);if(h){if(s.exportVariable("pythonLocation",y),s.exportVariable("PKG_CONFIG_PATH",y+"/lib/pkgconfig"),s.exportVariable("pythonLocation",y),s.exportVariable("Python_ROOT_DIR",y),s.exportVariable("Python2_ROOT_DIR",y),s.exportVariable("Python3_ROOT_DIR",y),s.exportVariable("PKG_CONFIG_PATH",y+"/lib/pkgconfig"),r.IS_LINUX){let e=process.env.LD_LIBRARY_PATH?":"+process.env.LD_LIBRARY_PATH:"",t=$6DZae$path.join(y,"lib");e.split(":").includes(t)||s.exportVariable("LD_LIBRARY_PATH",t+e);}if(s.addPath(y),s.addPath(E),r.IS_WINDOWS){let e=$6DZae$path.basename($6DZae$path.dirname(y)),t=i.major(e),r=i.minor(e),n=$6DZae$path.join(process.env.APPDATA||"","Python",`Python${t}${r}`,"Scripts");s.addPath(n);}}let x=l(y);return s.setOutput("python-version",x),s.setOutput("python-path",w),{impl:"CPython",version:x};}function c(e){let t=/^(\d+)\.(\d+)-dev$/;return e.replace(t,"~$1.$2.0-0");}function l(e){let t=e.split($6DZae$path.sep),r=t.findIndex(e=>"PyPy"===e||"Python"===e);return t[r+1]||"";}function u(e,t){let r=/(\d+\.\d+\.\d+)((?:a|b|rc)\d*)/g,i=/^(\d+)\.(\d+)$/,n=e.replace(r,"$1-$2");return t&&(n=n.replace(i,"~$1.$2.0-0")),n;}$parcel$export(e.exports,"useCpythonVersion",()=>h),r=parcelRequire("6KA3p"),i=parcelRequire("bLhaJ"),n=parcelRequire("eYukg"),s=parcelRequire("kDRhL"),o=parcelRequire("jXskH");}),parcelRegister("6KA3p",function(e,t){var r,i,n;function s(e,t,r,i=!1){let n=$6DZae$path.join(e,t),s=$6DZae$path.join(e,r);$parcel$interopDefault($6DZae$fs).existsSync(s)||($parcel$interopDefault($6DZae$fs).symlinkSync(n,s),!y&&i&&$parcel$interopDefault($6DZae$fs).chmodSync(s,"755"));}function o(e){return a(e)||!!i.validRange(e);}function a(e){return"nightly"===e;}function h(e){return $6DZae$path.basename($6DZae$path.dirname(e));}function c(e){let t="",r=$6DZae$path.join(e,v);return $parcel$interopDefault($6DZae$fs).existsSync(r)&&(t=$parcel$interopDefault($6DZae$fs).readFileSync(r).toString().trim()),t;}function l(e,t){let r=$6DZae$path.join(e,v);$parcel$interopDefault($6DZae$fs).writeFileSync(r,t);}function u(e){return /^\d+\.\d+$/.test(e);}async function p(){let{stdout:e}=await n.getExecOutput('powershell -command "(Get-CimInstance -ClassName Win32_OperatingSystem).Caption"',void 0,{silent:!0});return{osName:"Windows",osVersion:e.trim().split(" ")[3]};}async function f(){let{stdout:e}=await n.getExecOutput("sw_vers",["-productVersion"],{silent:!0});return{osName:"macOS",osVersion:e.trim()};}async function d(){let{stdout:e}=await n.getExecOutput("lsb_release",["-i","-r","-s"],{silent:!0}),[t,i]=e.trim().split("\n");return r.debug(`OS Name: ${t}, Version: ${i}`),{osName:t,osVersion:i};}async function m(){let e;try{y?e=await p():E?e=await d():g&&(e=await f());}catch(t){let e=t;r.debug(e.message);}finally{return e;}}$parcel$export(e.exports,"IS_WINDOWS",()=>y),$parcel$export(e.exports,"IS_LINUX",()=>E),$parcel$export(e.exports,"IS_MAC",()=>g),$parcel$export(e.exports,"WINDOWS_ARCHS",()=>w),$parcel$export(e.exports,"WINDOWS_PLATFORMS",()=>x),$parcel$export(e.exports,"createSymlinkInFolder",()=>s),$parcel$export(e.exports,"validateVersion",()=>o),$parcel$export(e.exports,"isNightlyKeyword",()=>a),$parcel$export(e.exports,"getPyPyVersionFromPath",()=>h),$parcel$export(e.exports,"readExactPyPyVersionFile",()=>c),$parcel$export(e.exports,"writeExactPyPyVersionFile",()=>l),$parcel$export(e.exports,"validatePythonVersionFormatForPyPy",()=>u),$parcel$export(e.exports,"getOSInfo",()=>m),r=parcelRequire("kDRhL"),i=parcelRequire("bLhaJ"),parcelRequire("jOYUx"),n=parcelRequire("7J8UA");let y="win32"===process.platform,E="linux"===process.platform,g="darwin"===process.platform,w=["x86","x64"],x=["win32","win64"],v="PYPY_VERSION";}),parcelRegister("jOYUx",function(e,t){var r;$parcel$export(e.exports,"parse",()=>r,e=>r=e),r=parcelRequire("6Iwds"),parcelRequire("gkJPC");}),parcelRegister("6Iwds",function(e,t){e.exports=parcelRequire("25YWb"),e.exports.async=parcelRequire("7rbfJ"),e.exports.stream=parcelRequire("5EgNa"),e.exports.prettyError=parcelRequire("5MRfw");}),parcelRegister("25YWb",function(e,t){var r,i;function n(e){$parcel$global.Buffer&&$parcel$global.Buffer.isBuffer(e)&&(e=e.toString("utf8"));let t=new r();try{return t.parse(e),t.finish();}catch(t){throw i(t,e);}}e.exports=n,r=parcelRequire("bR2Jq"),i=parcelRequire("5MRfw");}),parcelRegister("bR2Jq",function(module,exports){var $6kIrd,$2yfSX,$3F69E,$2O0km;let _custom;function isDigit(e){return e>=CHAR_0&&e<=CHAR_9;}function isHexit(e){return e>=CHAR_A&&e<=CHAR_F||e>=CHAR_a&&e<=CHAR_f||e>=CHAR_0&&e<=CHAR_9;}function isBit(e){return e===CHAR_1||e===CHAR_0;}function isOctit(e){return e>=CHAR_0&&e<=CHAR_7;}function isAlphaNumQuoteHyphen(e){return e>=CHAR_A&&e<=CHAR_Z||e>=CHAR_a&&e<=CHAR_z||e>=CHAR_0&&e<=CHAR_9||e===CHAR_APOS||e===CHAR_QUOT||e===CHAR_LOWBAR||e===CHAR_HYPHEN;}function isAlphaNumHyphen(e){return e>=CHAR_A&&e<=CHAR_Z||e>=CHAR_a&&e<=CHAR_z||e>=CHAR_0&&e<=CHAR_9||e===CHAR_LOWBAR||e===CHAR_HYPHEN;}function hasKey(e,t){return!!hasOwnProperty.call(e,t)||("__proto__"===t&&defineProperty(e,"__proto__",descriptor),!1);}function InlineTable(){return Object.defineProperties({},{[_type]:{value:INLINE_TABLE}});}function isInlineTable(e){return null!==e&&"object"==typeof e&&e[_type]===INLINE_TABLE;}function Table(){return Object.defineProperties({},{[_type]:{value:TABLE},[_declared]:{value:!1,writable:!0}});}function isTable(e){return null!==e&&"object"==typeof e&&e[_type]===TABLE;}function InlineList(e){return Object.defineProperties([],{[_type]:{value:INLINE_LIST},[_contentType]:{value:e}});}function isInlineList(e){return null!==e&&"object"==typeof e&&e[_type]===INLINE_LIST;}function List(){return Object.defineProperties([],{[_type]:{value:LIST}});}function isList(e){return null!==e&&"object"==typeof e&&e[_type]===LIST;}function Integer(e){let t=+e;return(Object.is(t,-0)&&(t=0),$parcel$global.BigInt&&!Number.isSafeInteger(t))?new BoxedBigInt(e):Object.defineProperties(new Number(t),{isNaN:{value:function(){return isNaN(this);}},[_type]:{value:INTEGER},[_inspect]:{value:()=>`[Integer: ${e}]`}});}function isInteger(e){return null!==e&&"object"==typeof e&&e[_type]===INTEGER;}function Float(e){return Object.defineProperties(new Number(e),{[_type]:{value:FLOAT},[_inspect]:{value:()=>`[Float: ${e}]`}});}function isFloat(e){return null!==e&&"object"==typeof e&&e[_type]===FLOAT;}function tomlType(e){let t=typeof e;if("object"===t){if(null===e)return"null";if(e instanceof Date)return"datetime";if(_type in e)switch(e[_type]){case INLINE_TABLE:return"inline-table";case INLINE_LIST:return"inline-list";case TABLE:return"table";case LIST:return"list";case FLOAT:return"float";case INTEGER:return"integer";}}return t;}function makeParserClass(e){class t extends e{constructor(){super(),this.ctx=this.obj=Table();}atEndOfWord(){return this.char===CHAR_NUM||this.char===CTRL_I||this.char===CHAR_SP||this.atEndOfLine();}atEndOfLine(){return this.char===e.END||this.char===CTRL_J||this.char===CTRL_M;}parseStart(){if(this.char===e.END)return null;if(this.char===CHAR_LSQB)return this.call(this.parseTableOrList);if(this.char===CHAR_NUM)return this.call(this.parseComment);if(this.char===CTRL_J||this.char===CHAR_SP||this.char===CTRL_I||this.char===CTRL_M)return null;if(isAlphaNumQuoteHyphen(this.char))return this.callNow(this.parseAssignStatement);else throw this.error(new TomlError(`Unknown character "${this.char}"`));}parseWhitespaceToEOL(){if(this.char===CHAR_SP||this.char===CTRL_I||this.char===CTRL_M)return null;if(this.char===CHAR_NUM)return this.goto(this.parseComment);if(this.char===e.END||this.char===CTRL_J)return this.return();throw this.error(new TomlError("Unexpected character, expected only whitespace or comments till end of line"));}parseAssignStatement(){return this.callNow(this.parseAssign,this.recordAssignStatement);}recordAssignStatement(e){let t=this.ctx,r=e.key.pop();for(let r of e.key){if(hasKey(t,r)&&(!isTable(t[r])||t[r][_declared]))throw this.error(new TomlError("Can't redefine existing key"));t=t[r]=t[r]||Table();}if(hasKey(t,r))throw this.error(new TomlError("Can't redefine existing key"));return isInteger(e.value)||isFloat(e.value)?t[r]=e.value.valueOf():t[r]=e.value,this.goto(this.parseWhitespaceToEOL);}parseAssign(){return this.callNow(this.parseKeyword,this.recordAssignKeyword);}recordAssignKeyword(e){return this.state.resultTable?this.state.resultTable.push(e):this.state.resultTable=[e],this.goto(this.parseAssignKeywordPreDot);}parseAssignKeywordPreDot(){return this.char===CHAR_PERIOD?this.next(this.parseAssignKeywordPostDot):this.char!==CHAR_SP&&this.char!==CTRL_I?this.goto(this.parseAssignEqual):void 0;}parseAssignKeywordPostDot(){if(this.char!==CHAR_SP&&this.char!==CTRL_I)return this.callNow(this.parseKeyword,this.recordAssignKeyword);}parseAssignEqual(){if(this.char===CHAR_EQUALS)return this.next(this.parseAssignPreValue);throw this.error(new TomlError('Invalid character, expected "="'));}parseAssignPreValue(){return this.char===CHAR_SP||this.char===CTRL_I?null:this.callNow(this.parseValue,this.recordAssignValue);}recordAssignValue(e){return this.returnNow({key:this.state.resultTable,value:e});}parseComment(){do if(this.char===e.END||this.char===CTRL_J)return this.return();while(this.nextChar());}parseTableOrList(){if(this.char!==CHAR_LSQB)return this.goto(this.parseTable);this.next(this.parseList);}parseTable(){return this.ctx=this.obj,this.goto(this.parseTableNext);}parseTableNext(){return this.char===CHAR_SP||this.char===CTRL_I?null:this.callNow(this.parseKeyword,this.parseTableMore);}parseTableMore(e){if(this.char===CHAR_SP||this.char===CTRL_I)return null;if(this.char===CHAR_RSQB){if(hasKey(this.ctx,e)&&(!isTable(this.ctx[e])||this.ctx[e][_declared]))throw this.error(new TomlError("Can't redefine existing key"));return this.ctx=this.ctx[e]=this.ctx[e]||Table(),this.ctx[_declared]=!0,this.next(this.parseWhitespaceToEOL);}if(this.char===CHAR_PERIOD){if(hasKey(this.ctx,e)){if(isTable(this.ctx[e]))this.ctx=this.ctx[e];else if(isList(this.ctx[e]))this.ctx=this.ctx[e][this.ctx[e].length-1];else throw this.error(new TomlError("Can't redefine existing key"));}else this.ctx=this.ctx[e]=Table();return this.next(this.parseTableNext);}throw this.error(new TomlError("Unexpected character, expected whitespace, . or ]"));}parseList(){return this.ctx=this.obj,this.goto(this.parseListNext);}parseListNext(){return this.char===CHAR_SP||this.char===CTRL_I?null:this.callNow(this.parseKeyword,this.parseListMore);}parseListMore(e){if(this.char===CHAR_SP||this.char===CTRL_I)return null;if(this.char===CHAR_RSQB){if(hasKey(this.ctx,e)||(this.ctx[e]=List()),isInlineList(this.ctx[e]))throw this.error(new TomlError("Can't extend an inline array"));if(isList(this.ctx[e])){let t=Table();this.ctx[e].push(t),this.ctx=t;}else throw this.error(new TomlError("Can't redefine an existing key"));return this.next(this.parseListEnd);}if(this.char===CHAR_PERIOD){if(hasKey(this.ctx,e)){if(isInlineList(this.ctx[e]))throw this.error(new TomlError("Can't extend an inline array"));if(isInlineTable(this.ctx[e]))throw this.error(new TomlError("Can't extend an inline table"));else if(isList(this.ctx[e]))this.ctx=this.ctx[e][this.ctx[e].length-1];else if(isTable(this.ctx[e]))this.ctx=this.ctx[e];else throw this.error(new TomlError("Can't redefine an existing key"));}else this.ctx=this.ctx[e]=Table();return this.next(this.parseListNext);}throw this.error(new TomlError("Unexpected character, expected whitespace, . or ]"));}parseListEnd(e){if(this.char===CHAR_RSQB)return this.next(this.parseWhitespaceToEOL);throw this.error(new TomlError("Unexpected character, expected whitespace, . or ]"));}parseValue(){if(this.char===e.END)throw this.error(new TomlError("Key without value"));if(this.char===CHAR_QUOT)return this.next(this.parseDoubleString);if(this.char===CHAR_APOS)return this.next(this.parseSingleString);if(this.char===CHAR_HYPHEN||this.char===CHAR_PLUS)return this.goto(this.parseNumberSign);if(this.char===CHAR_i)return this.next(this.parseInf);if(this.char===CHAR_n)return this.next(this.parseNan);if(isDigit(this.char))return this.goto(this.parseNumberOrDateTime);else if(this.char===CHAR_t||this.char===CHAR_f)return this.goto(this.parseBoolean);else if(this.char===CHAR_LSQB)return this.call(this.parseInlineList,this.recordValue);else if(this.char===CHAR_LCUB)return this.call(this.parseInlineTable,this.recordValue);else throw this.error(new TomlError("Unexpected character, expecting string, number, datetime, boolean, inline array or inline table"));}recordValue(e){return this.returnNow(e);}parseInf(){if(this.char===CHAR_n)return this.next(this.parseInf2);throw this.error(new TomlError('Unexpected character, expected "inf", "+inf" or "-inf"'));}parseInf2(){if(this.char===CHAR_f)return"-"===this.state.buf?this.return(-1/0):this.return(1/0);throw this.error(new TomlError('Unexpected character, expected "inf", "+inf" or "-inf"'));}parseNan(){if(this.char===CHAR_a)return this.next(this.parseNan2);throw this.error(new TomlError('Unexpected character, expected "nan"'));}parseNan2(){if(this.char===CHAR_n)return this.return(NaN);throw this.error(new TomlError('Unexpected character, expected "nan"'));}parseKeyword(){return this.char===CHAR_QUOT?this.next(this.parseBasicString):this.char===CHAR_APOS?this.next(this.parseLiteralString):this.goto(this.parseBareKey);}parseBareKey(){do{if(this.char===e.END)throw this.error(new TomlError("Key ended without value"));if(isAlphaNumHyphen(this.char))this.consume();else if(0!==this.state.buf.length)return this.returnNow();else throw this.error(new TomlError("Empty bare keys are not allowed"));}while(this.nextChar());}parseSingleString(){return this.char===CHAR_APOS?this.next(this.parseLiteralMultiStringMaybe):this.goto(this.parseLiteralString);}parseLiteralString(){do{if(this.char===CHAR_APOS)return this.return();if(this.atEndOfLine())throw this.error(new TomlError("Unterminated string"));if(this.char===CHAR_DEL||this.char<=CTRL_CHAR_BOUNDARY&&this.char!==CTRL_I)throw this.errorControlCharInString();else this.consume();}while(this.nextChar());}parseLiteralMultiStringMaybe(){return this.char===CHAR_APOS?this.next(this.parseLiteralMultiString):this.returnNow();}parseLiteralMultiString(){return this.char===CTRL_M?null:this.char===CTRL_J?this.next(this.parseLiteralMultiStringContent):this.goto(this.parseLiteralMultiStringContent);}parseLiteralMultiStringContent(){do{if(this.char===CHAR_APOS)return this.next(this.parseLiteralMultiEnd);if(this.char===e.END)throw this.error(new TomlError("Unterminated multi-line string"));if(this.char===CHAR_DEL||this.char<=CTRL_CHAR_BOUNDARY&&this.char!==CTRL_I&&this.char!==CTRL_J&&this.char!==CTRL_M)throw this.errorControlCharInString();else this.consume();}while(this.nextChar());}parseLiteralMultiEnd(){return this.char===CHAR_APOS?this.next(this.parseLiteralMultiEnd2):(this.state.buf+="'",this.goto(this.parseLiteralMultiStringContent));}parseLiteralMultiEnd2(){return this.char===CHAR_APOS?this.return():(this.state.buf+="''",this.goto(this.parseLiteralMultiStringContent));}parseDoubleString(){return this.char===CHAR_QUOT?this.next(this.parseMultiStringMaybe):this.goto(this.parseBasicString);}parseBasicString(){do{if(this.char===CHAR_BSOL)return this.call(this.parseEscape,this.recordEscapeReplacement);if(this.char===CHAR_QUOT)return this.return();if(this.atEndOfLine())throw this.error(new TomlError("Unterminated string"));else if(this.char===CHAR_DEL||this.char<=CTRL_CHAR_BOUNDARY&&this.char!==CTRL_I)throw this.errorControlCharInString();else this.consume();}while(this.nextChar());}recordEscapeReplacement(e){return this.state.buf+=e,this.goto(this.parseBasicString);}parseMultiStringMaybe(){return this.char===CHAR_QUOT?this.next(this.parseMultiString):this.returnNow();}parseMultiString(){return this.char===CTRL_M?null:this.char===CTRL_J?this.next(this.parseMultiStringContent):this.goto(this.parseMultiStringContent);}parseMultiStringContent(){do{if(this.char===CHAR_BSOL)return this.call(this.parseMultiEscape,this.recordMultiEscapeReplacement);if(this.char===CHAR_QUOT)return this.next(this.parseMultiEnd);if(this.char===e.END)throw this.error(new TomlError("Unterminated multi-line string"));else if(this.char===CHAR_DEL||this.char<=CTRL_CHAR_BOUNDARY&&this.char!==CTRL_I&&this.char!==CTRL_J&&this.char!==CTRL_M)throw this.errorControlCharInString();else this.consume();}while(this.nextChar());}errorControlCharInString(){let e="\\u00";return this.char<16&&(e+="0"),e+=this.char.toString(16),this.error(new TomlError(`Control characters (codes < 0x1f and 0x7f) are not allowed in strings, use ${e} instead`));}recordMultiEscapeReplacement(e){return this.state.buf+=e,this.goto(this.parseMultiStringContent);}parseMultiEnd(){return this.char===CHAR_QUOT?this.next(this.parseMultiEnd2):(this.state.buf+='"',this.goto(this.parseMultiStringContent));}parseMultiEnd2(){return this.char===CHAR_QUOT?this.return():(this.state.buf+='""',this.goto(this.parseMultiStringContent));}parseMultiEscape(){return this.char===CTRL_M||this.char===CTRL_J?this.next(this.parseMultiTrim):this.char===CHAR_SP||this.char===CTRL_I?this.next(this.parsePreMultiTrim):this.goto(this.parseEscape);}parsePreMultiTrim(){if(this.char===CHAR_SP||this.char===CTRL_I)return null;if(this.char===CTRL_M||this.char===CTRL_J)return this.next(this.parseMultiTrim);throw this.error(new TomlError("Can't escape whitespace"));}parseMultiTrim(){return this.char===CTRL_J||this.char===CHAR_SP||this.char===CTRL_I||this.char===CTRL_M?null:this.returnNow();}parseEscape(){if(this.char in escapes)return this.return(escapes[this.char]);if(this.char===CHAR_u)return this.call(this.parseSmallUnicode,this.parseUnicodeReturn);if(this.char===CHAR_U)return this.call(this.parseLargeUnicode,this.parseUnicodeReturn);throw this.error(new TomlError("Unknown escape character: "+this.char));}parseUnicodeReturn(e){try{let t=parseInt(e,16);if(t>=SURROGATE_FIRST&&t<=SURROGATE_LAST)throw this.error(new TomlError("Invalid unicode, character in range 0xD800 - 0xDFFF is reserved"));return this.returnNow(String.fromCodePoint(t));}catch(e){throw this.error(TomlError.wrap(e));}}parseSmallUnicode(){if(isHexit(this.char)){if(this.consume(),this.state.buf.length>=4)return this.return();}else throw this.error(new TomlError("Invalid character in unicode sequence, expected hex"));}parseLargeUnicode(){if(isHexit(this.char)){if(this.consume(),this.state.buf.length>=8)return this.return();}else throw this.error(new TomlError("Invalid character in unicode sequence, expected hex"));}parseNumberSign(){return this.consume(),this.next(this.parseMaybeSignedInfOrNan);}parseMaybeSignedInfOrNan(){return this.char===CHAR_i?this.next(this.parseInf):this.char===CHAR_n?this.next(this.parseNan):this.callNow(this.parseNoUnder,this.parseNumberIntegerStart);}parseNumberIntegerStart(){return this.char===CHAR_0?(this.consume(),this.next(this.parseNumberIntegerExponentOrDecimal)):this.goto(this.parseNumberInteger);}parseNumberIntegerExponentOrDecimal(){return this.char===CHAR_PERIOD?(this.consume(),this.call(this.parseNoUnder,this.parseNumberFloat)):this.char===CHAR_E||this.char===CHAR_e?(this.consume(),this.next(this.parseNumberExponentSign)):this.returnNow(Integer(this.state.buf));}parseNumberInteger(){if(isDigit(this.char))this.consume();else{if(this.char===CHAR_LOWBAR)return this.call(this.parseNoUnder);if(this.char===CHAR_E||this.char===CHAR_e)return this.consume(),this.next(this.parseNumberExponentSign);if(this.char===CHAR_PERIOD)return this.consume(),this.call(this.parseNoUnder,this.parseNumberFloat);let e=Integer(this.state.buf);if(!e.isNaN())return this.returnNow(e);throw this.error(new TomlError("Invalid number"));}}parseNoUnder(){if(this.char===CHAR_LOWBAR||this.char===CHAR_PERIOD||this.char===CHAR_E||this.char===CHAR_e)throw this.error(new TomlError("Unexpected character, expected digit"));if(this.atEndOfWord())throw this.error(new TomlError("Incomplete number"));return this.returnNow();}parseNoUnderHexOctBinLiteral(){if(this.char===CHAR_LOWBAR||this.char===CHAR_PERIOD)throw this.error(new TomlError("Unexpected character, expected digit"));if(this.atEndOfWord())throw this.error(new TomlError("Incomplete number"));return this.returnNow();}parseNumberFloat(){if(this.char===CHAR_LOWBAR)return this.call(this.parseNoUnder,this.parseNumberFloat);if(isDigit(this.char))this.consume();else if(this.char===CHAR_E||this.char===CHAR_e)return this.consume(),this.next(this.parseNumberExponentSign);else return this.returnNow(Float(this.state.buf));}parseNumberExponentSign(){if(isDigit(this.char))return this.goto(this.parseNumberExponent);if(this.char===CHAR_HYPHEN||this.char===CHAR_PLUS)this.consume(),this.call(this.parseNoUnder,this.parseNumberExponent);else throw this.error(new TomlError("Unexpected character, expected -, + or digit"));}parseNumberExponent(){if(isDigit(this.char))this.consume();else if(this.char===CHAR_LOWBAR)return this.call(this.parseNoUnder);else return this.returnNow(Float(this.state.buf));}parseNumberOrDateTime(){return this.char===CHAR_0?(this.consume(),this.next(this.parseNumberBaseOrDateTime)):this.goto(this.parseNumberOrDateTimeOnly);}parseNumberOrDateTimeOnly(){if(this.char===CHAR_LOWBAR)return this.call(this.parseNoUnder,this.parseNumberInteger);if(isDigit(this.char))this.consume(),this.state.buf.length>4&&this.next(this.parseNumberInteger);else if(this.char===CHAR_E||this.char===CHAR_e)return this.consume(),this.next(this.parseNumberExponentSign);else if(this.char===CHAR_PERIOD)return this.consume(),this.call(this.parseNoUnder,this.parseNumberFloat);else if(this.char===CHAR_HYPHEN)return this.goto(this.parseDateTime);else if(this.char===CHAR_COLON)return this.goto(this.parseOnlyTimeHour);else return this.returnNow(Integer(this.state.buf));}parseDateTimeOnly(){if(this.state.buf.length<4){if(isDigit(this.char))return this.consume();if(this.char===CHAR_COLON)return this.goto(this.parseOnlyTimeHour);throw this.error(new TomlError("Expected digit while parsing year part of a date"));}if(this.char===CHAR_HYPHEN)return this.goto(this.parseDateTime);throw this.error(new TomlError("Expected hyphen (-) while parsing year part of date"));}parseNumberBaseOrDateTime(){if(this.char===CHAR_b)return this.consume(),this.call(this.parseNoUnderHexOctBinLiteral,this.parseIntegerBin);if(this.char===CHAR_o)return this.consume(),this.call(this.parseNoUnderHexOctBinLiteral,this.parseIntegerOct);if(this.char===CHAR_x)return this.consume(),this.call(this.parseNoUnderHexOctBinLiteral,this.parseIntegerHex);if(this.char===CHAR_PERIOD)return this.goto(this.parseNumberInteger);if(isDigit(this.char))return this.goto(this.parseDateTimeOnly);else return this.returnNow(Integer(this.state.buf));}parseIntegerHex(){if(isHexit(this.char))this.consume();else{if(this.char===CHAR_LOWBAR)return this.call(this.parseNoUnderHexOctBinLiteral);let e=Integer(this.state.buf);if(!e.isNaN())return this.returnNow(e);throw this.error(new TomlError("Invalid number"));}}parseIntegerOct(){if(isOctit(this.char))this.consume();else{if(this.char===CHAR_LOWBAR)return this.call(this.parseNoUnderHexOctBinLiteral);let e=Integer(this.state.buf);if(!e.isNaN())return this.returnNow(e);throw this.error(new TomlError("Invalid number"));}}parseIntegerBin(){if(isBit(this.char))this.consume();else{if(this.char===CHAR_LOWBAR)return this.call(this.parseNoUnderHexOctBinLiteral);let e=Integer(this.state.buf);if(!e.isNaN())return this.returnNow(e);throw this.error(new TomlError("Invalid number"));}}parseDateTime(){if(this.state.buf.length<4)throw this.error(new TomlError("Years less than 1000 must be zero padded to four characters"));return this.state.result=this.state.buf,this.state.buf="",this.next(this.parseDateMonth);}parseDateMonth(){if(this.char===CHAR_HYPHEN){if(this.state.buf.length<2)throw this.error(new TomlError("Months less than 10 must be zero padded to two characters"));return this.state.result+="-"+this.state.buf,this.state.buf="",this.next(this.parseDateDay);}if(isDigit(this.char))this.consume();else throw this.error(new TomlError("Incomplete datetime"));}parseDateDay(){if(this.char===CHAR_T||this.char===CHAR_SP){if(this.state.buf.length<2)throw this.error(new TomlError("Days less than 10 must be zero padded to two characters"));return this.state.result+="-"+this.state.buf,this.state.buf="",this.next(this.parseStartTimeHour);}if(this.atEndOfWord())return this.returnNow($3F69E(this.state.result+"-"+this.state.buf));if(isDigit(this.char))this.consume();else throw this.error(new TomlError("Incomplete datetime"));}parseStartTimeHour(){return this.atEndOfWord()?this.returnNow($3F69E(this.state.result)):this.goto(this.parseTimeHour);}parseTimeHour(){if(this.char===CHAR_COLON){if(this.state.buf.length<2)throw this.error(new TomlError("Hours less than 10 must be zero padded to two characters"));return this.state.result+="T"+this.state.buf,this.state.buf="",this.next(this.parseTimeMin);}if(isDigit(this.char))this.consume();else throw this.error(new TomlError("Incomplete datetime"));}parseTimeMin(){if(this.state.buf.length<2&&isDigit(this.char))this.consume();else if(2===this.state.buf.length&&this.char===CHAR_COLON)return this.state.result+=":"+this.state.buf,this.state.buf="",this.next(this.parseTimeSec);else throw this.error(new TomlError("Incomplete datetime"));}parseTimeSec(){if(isDigit(this.char)){if(this.consume(),2===this.state.buf.length)return this.state.result+=":"+this.state.buf,this.state.buf="",this.next(this.parseTimeZoneOrFraction);}else throw this.error(new TomlError("Incomplete datetime"));}parseOnlyTimeHour(){if(this.char===CHAR_COLON){if(this.state.buf.length<2)throw this.error(new TomlError("Hours less than 10 must be zero padded to two characters"));return this.state.result=this.state.buf,this.state.buf="",this.next(this.parseOnlyTimeMin);}throw this.error(new TomlError("Incomplete time"));}parseOnlyTimeMin(){if(this.state.buf.length<2&&isDigit(this.char))this.consume();else if(2===this.state.buf.length&&this.char===CHAR_COLON)return this.state.result+=":"+this.state.buf,this.state.buf="",this.next(this.parseOnlyTimeSec);else throw this.error(new TomlError("Incomplete time"));}parseOnlyTimeSec(){if(isDigit(this.char)){if(this.consume(),2===this.state.buf.length)return this.next(this.parseOnlyTimeFractionMaybe);}else throw this.error(new TomlError("Incomplete time"));}parseOnlyTimeFractionMaybe(){if(this.state.result+=":"+this.state.buf,this.char!==CHAR_PERIOD)return this.return($2O0km(this.state.result));this.state.buf="",this.next(this.parseOnlyTimeFraction);}parseOnlyTimeFraction(){if(isDigit(this.char))this.consume();else if(this.atEndOfWord()){if(0===this.state.buf.length)throw this.error(new TomlError("Expected digit in milliseconds"));return this.returnNow($2O0km(this.state.result+"."+this.state.buf));}else throw this.error(new TomlError("Unexpected character in datetime, expected period (.), minus (-), plus (+) or Z"));}parseTimeZoneOrFraction(){if(this.char===CHAR_PERIOD)this.consume(),this.next(this.parseDateTimeFraction);else if(this.char===CHAR_HYPHEN||this.char===CHAR_PLUS)this.consume(),this.next(this.parseTimeZoneHour);else if(this.char===CHAR_Z)return this.consume(),this.return($6kIrd(this.state.result+this.state.buf));else if(this.atEndOfWord())return this.returnNow($2yfSX(this.state.result+this.state.buf));else throw this.error(new TomlError("Unexpected character in datetime, expected period (.), minus (-), plus (+) or Z"));}parseDateTimeFraction(){if(isDigit(this.char))this.consume();else if(1===this.state.buf.length)throw this.error(new TomlError("Expected digit in milliseconds"));else if(this.char===CHAR_HYPHEN||this.char===CHAR_PLUS)this.consume(),this.next(this.parseTimeZoneHour);else if(this.char===CHAR_Z)return this.consume(),this.return($6kIrd(this.state.result+this.state.buf));else if(this.atEndOfWord())return this.returnNow($2yfSX(this.state.result+this.state.buf));else throw this.error(new TomlError("Unexpected character in datetime, expected period (.), minus (-), plus (+) or Z"));}parseTimeZoneHour(){if(isDigit(this.char)){if(this.consume(),/\d\d$/.test(this.state.buf))return this.next(this.parseTimeZoneSep);}else throw this.error(new TomlError("Unexpected character in datetime, expected digit"));}parseTimeZoneSep(){if(this.char===CHAR_COLON)this.consume(),this.next(this.parseTimeZoneMin);else throw this.error(new TomlError("Unexpected character in datetime, expected colon"));}parseTimeZoneMin(){if(isDigit(this.char)){if(this.consume(),/\d\d$/.test(this.state.buf))return this.return($6kIrd(this.state.result+this.state.buf));}else throw this.error(new TomlError("Unexpected character in datetime, expected digit"));}parseBoolean(){return this.char===CHAR_t?(this.consume(),this.next(this.parseTrue_r)):this.char===CHAR_f?(this.consume(),this.next(this.parseFalse_a)):void 0;}parseTrue_r(){if(this.char===CHAR_r)return this.consume(),this.next(this.parseTrue_u);throw this.error(new TomlError("Invalid boolean, expected true or false"));}parseTrue_u(){if(this.char===CHAR_u)return this.consume(),this.next(this.parseTrue_e);throw this.error(new TomlError("Invalid boolean, expected true or false"));}parseTrue_e(){if(this.char===CHAR_e)return this.return(!0);throw this.error(new TomlError("Invalid boolean, expected true or false"));}parseFalse_a(){if(this.char===CHAR_a)return this.consume(),this.next(this.parseFalse_l);throw this.error(new TomlError("Invalid boolean, expected true or false"));}parseFalse_l(){if(this.char===CHAR_l)return this.consume(),this.next(this.parseFalse_s);throw this.error(new TomlError("Invalid boolean, expected true or false"));}parseFalse_s(){if(this.char===CHAR_s)return this.consume(),this.next(this.parseFalse_e);throw this.error(new TomlError("Invalid boolean, expected true or false"));}parseFalse_e(){if(this.char===CHAR_e)return this.return(!1);throw this.error(new TomlError("Invalid boolean, expected true or false"));}parseInlineList(){if(this.char===CHAR_SP||this.char===CTRL_I||this.char===CTRL_M||this.char===CTRL_J)return null;if(this.char===e.END)throw this.error(new TomlError("Unterminated inline array"));return this.char===CHAR_NUM?this.call(this.parseComment):this.char===CHAR_RSQB?this.return(this.state.resultArr||InlineList()):this.callNow(this.parseValue,this.recordInlineListValue);}recordInlineListValue(e){if(this.state.resultArr){let t=this.state.resultArr[_contentType],r=tomlType(e);if(t!==r)throw this.error(new TomlError(`Inline lists must be a single type, not a mix of ${t} and ${r}`));}else this.state.resultArr=InlineList(tomlType(e));return isFloat(e)||isInteger(e)?this.state.resultArr.push(e.valueOf()):this.state.resultArr.push(e),this.goto(this.parseInlineListNext);}parseInlineListNext(){if(this.char===CHAR_SP||this.char===CTRL_I||this.char===CTRL_M||this.char===CTRL_J)return null;if(this.char===CHAR_NUM)return this.call(this.parseComment);if(this.char===CHAR_COMMA)return this.next(this.parseInlineList);if(this.char===CHAR_RSQB)return this.goto(this.parseInlineList);throw this.error(new TomlError("Invalid character, expected whitespace, comma (,) or close bracket (])"));}parseInlineTable(){if(this.char===CHAR_SP||this.char===CTRL_I)return null;if(this.char===e.END||this.char===CHAR_NUM||this.char===CTRL_J||this.char===CTRL_M)throw this.error(new TomlError("Unterminated inline array"));return this.char===CHAR_RCUB?this.return(this.state.resultTable||InlineTable()):(this.state.resultTable||(this.state.resultTable=InlineTable()),this.callNow(this.parseAssign,this.recordInlineTableValue));}recordInlineTableValue(e){let t=this.state.resultTable,r=e.key.pop();for(let r of e.key){if(hasKey(t,r)&&(!isTable(t[r])||t[r][_declared]))throw this.error(new TomlError("Can't redefine existing key"));t=t[r]=t[r]||Table();}if(hasKey(t,r))throw this.error(new TomlError("Can't redefine existing key"));return isInteger(e.value)||isFloat(e.value)?t[r]=e.value.valueOf():t[r]=e.value,this.goto(this.parseInlineTableNext);}parseInlineTableNext(){if(this.char===CHAR_SP||this.char===CTRL_I)return null;if(this.char===e.END||this.char===CHAR_NUM||this.char===CTRL_J||this.char===CTRL_M)throw this.error(new TomlError("Unterminated inline array"));if(this.char===CHAR_COMMA)return this.next(this.parseInlineTable);if(this.char===CHAR_RCUB)return this.goto(this.parseInlineTable);throw this.error(new TomlError("Invalid character, expected whitespace, comma (,) or close bracket (])"));}}return t;}module.exports=makeParserClass(parcelRequire("8EW4n")),module.exports.makeParserClass=makeParserClass;class TomlError extends Error{constructor(e){super(e),this.name="TomlError",Error.captureStackTrace&&Error.captureStackTrace(this,TomlError),this.fromTOML=!0,this.wrapped=null;}}TomlError.wrap=e=>{let t=new TomlError(e.message);return t.code=e.code,t.wrapped=e,t;},module.exports.TomlError=TomlError,$6kIrd=parcelRequire("6kIrd"),$2yfSX=parcelRequire("2yfSX"),$3F69E=parcelRequire("3F69E"),$2O0km=parcelRequire("2O0km");let CTRL_I=9,CTRL_J=10,CTRL_M=13,CTRL_CHAR_BOUNDARY=31,CHAR_SP=32,CHAR_QUOT=34,CHAR_NUM=35,CHAR_APOS=39,CHAR_PLUS=43,CHAR_COMMA=44,CHAR_HYPHEN=45,CHAR_PERIOD=46,CHAR_0=48,CHAR_1=49,CHAR_7=55,CHAR_9=57,CHAR_COLON=58,CHAR_EQUALS=61,CHAR_A=65,CHAR_E=69,CHAR_F=70,CHAR_T=84,CHAR_U=85,CHAR_Z=90,CHAR_LOWBAR=95,CHAR_a=97,CHAR_b=98,CHAR_e=101,CHAR_f=102,CHAR_i=105,CHAR_l=108,CHAR_n=110,CHAR_o=111,CHAR_r=114,CHAR_s=115,CHAR_t=116,CHAR_u=117,CHAR_x=120,CHAR_z=122,CHAR_LCUB=123,CHAR_RCUB=125,CHAR_LSQB=91,CHAR_BSOL=92,CHAR_RSQB=93,CHAR_DEL=127,SURROGATE_FIRST=55296,SURROGATE_LAST=57343,escapes={[CHAR_b]:"\b",[CHAR_t]:" ",[CHAR_n]:"\n",[CHAR_f]:"\f",[CHAR_r]:"\r",[CHAR_QUOT]:'"',[CHAR_BSOL]:"\\"},_type=Symbol(),_declared=Symbol(),hasOwnProperty=Object.prototype.hasOwnProperty,defineProperty=Object.defineProperty,descriptor={configurable:!0,enumerable:!0,writable:!0,value:void 0},INLINE_TABLE=Symbol(),TABLE=Symbol(),_contentType=Symbol(),INLINE_LIST=Symbol(),LIST=Symbol();try{let utilInspect=eval("require('util').inspect");_custom=utilInspect.custom;}catch(_){}let _inspect=_custom||"inspect";class BoxedBigInt{constructor(e){try{this.value=$parcel$global.BigInt.asIntN(64,e);}catch(e){this.value=null;}Object.defineProperty(this,_type,{value:INTEGER});}isNaN(){return null===this.value;}toString(){return this.value+"";}[_inspect](){return`[BigInt: ${this.toString()}]}`;}valueOf(){return this.value;}}let INTEGER=Symbol(),FLOAT=Symbol();}),parcelRegister("8EW4n",function(e,t){let r=1114112;class i extends Error{constructor(e,t,r){super("[ParserError] "+e,t,r),this.name="ParserError",this.code="ParserError",Error.captureStackTrace&&Error.captureStackTrace(this,i);}}class n{constructor(e){this.parser=e,this.buf="",this.returned=null,this.result=null,this.resultTable=null,this.resultArr=null;}}class s{constructor(){this.pos=0,this.col=0,this.line=0,this.obj={},this.ctx=this.obj,this.stack=[],this._buf="",this.char=null,this.ii=0,this.state=new n(this.parseStart);}parse(e){let t;if(0!==e.length&&null!=e.length){for(this._buf=e+"",this.ii=-1,this.char=-1;!1===t||this.nextChar();)t=this.runOne();this._buf=null;}}nextChar(){return 10===this.char&&(++this.line,this.col=-1),++this.ii,this.char=this._buf.codePointAt(this.ii),++this.pos,++this.col,this.haveBuffer();}haveBuffer(){return this.ii{let t=new Date(e);if(!isNaN(t))return t;throw TypeError("Invalid Datetime");};}),parcelRegister("2yfSX",function(e,t){var r=parcelRequire("fGjRF");class i extends Date{constructor(e){super(e+"Z"),this.isFloating=!0;}toISOString(){let e=`${this.getUTCFullYear()}-${r(2,this.getUTCMonth()+1)}-${r(2,this.getUTCDate())}`,t=`${r(2,this.getUTCHours())}:${r(2,this.getUTCMinutes())}:${r(2,this.getUTCSeconds())}.${r(3,this.getUTCMilliseconds())}`;return`${e}T${t}`;}}e.exports=e=>{let t=new i(e);if(!isNaN(t))return t;throw TypeError("Invalid Datetime");};}),parcelRegister("fGjRF",function(e,t){e.exports=(e,t)=>{for(t+="";t.length{let t=new n(e);if(!isNaN(t))return t;throw TypeError("Invalid Datetime");};}),parcelRegister("2O0km",function(e,t){var r=parcelRequire("fGjRF");class i extends Date{constructor(e){super(`0000-01-01T${e}Z`),this.isTime=!0;}toISOString(){return`${r(2,this.getUTCHours())}:${r(2,this.getUTCMinutes())}:${r(2,this.getUTCSeconds())}.${r(3,this.getUTCMilliseconds())}`;}}e.exports=e=>{let t=new i(e);if(!isNaN(t))return t;throw TypeError("Invalid Datetime");};}),parcelRegister("5MRfw",function(e,t){function r(e,t){if(null==e.pos||null==e.line)return e;let r=e.message;if(r+=` at row ${e.line+1}, col ${e.col+1}, pos ${e.pos}: +`,t&&t.split){let i=t.split(/\n/),n=(Math.min(i.length,e.line+3)+"").length,s=" ";for(;s.length "+i[t]+"\n"+s+" ";for(let t=0;t=e.length)try{return s(a.finish());}catch(t){return o(i(t,e));}try{a.parse(e.slice(t,t+r)),setImmediate(n,t+r,r,s,o);}catch(t){o(i(t,e));}}t||(t={});let s=0,o=t.blocksize||40960,a=new r();return new Promise((e,t)=>{setImmediate(n,s,o,e,t);});}e.exports=n,r=parcelRequire("bR2Jq"),i=parcelRequire("5MRfw");}),parcelRegister("5EgNa",function(e,t){var r;function i(e){return e?n(e):s(e);}function n(e){let t=new r();return e.setEncoding("utf8"),new Promise((r,i)=>{let n;function s(){if(h=!0,!n)try{r(t.finish());}catch(e){i(e);}}function o(e){c=!0,i(e);}function a(){let r;for(n=!0;null!==(r=e.read());)try{t.parse(r);}catch(e){return o(e);}if(n=!1,h)return s();c||e.once("readable",a);}let h=!1,c=!1;e.once("end",s),e.once("error",o),a();});}function s(){let e=new r();return new $6DZae$stream.Transform({objectMode:!0,transform(t,r,i){try{e.parse(t.toString(r));}catch(e){this.emit("error",e);}i();},flush(t){try{this.push(e.finish());}catch(e){this.emit("error",e);}t();}});}e.exports=i,r=parcelRequire("bR2Jq");}),parcelRegister("gkJPC",function(e,t){function r(e){if(null===e)throw i("null");if(void 0===e)throw i("undefined");if("object"!=typeof e)throw i(typeof e);if("function"==typeof e.toJSON&&(e=e.toJSON()),null==e)return null;let t=l(e);if("table"!==t)throw i(t);return h("","",e);}function i(e){return Error("Can only stringify objects, not "+e);}function n(){return Error("Array values can't have mixed types");}function s(e){return Object.keys(e).filter(t=>c(e[t]));}function o(e){return Object.keys(e).filter(t=>!c(e[t]));}function a(e){let t=Array.isArray(e)?[]:Object.prototype.hasOwnProperty.call(e,"__proto__")?{["__proto__"]:void 0}:{};for(let r of Object.keys(e))!e[r]||"function"!=typeof e[r].toJSON||"toISOString"in e[r]?t[r]=e[r]:t[r]=e[r].toJSON();return t;}function h(e,t,r){i=s(r=a(r)),n=o(r);var i,n,h=[],c=t||"";i.forEach(e=>{var t=l(r[e]);"undefined"!==t&&"null"!==t&&h.push(c+u(e)+" = "+E(r[e],!0));}),h.length>0&&h.push("");var p=e&&i.length>0?t+" ":"";return n.forEach(t=>{h.push(T(e,p,t,r[t]));}),h.join("\n");}function c(e){switch(l(e)){case"undefined":case"null":case"integer":case"nan":case"float":case"boolean":case"string":case"datetime":return!0;case"array":return 0===e.length||"table"!==l(e[0]);case"table":return 0===Object.keys(e).length;default:return!1;}}function l(e){if(void 0===e)return"undefined";if(null===e)return"null";if("bigint"==typeof e||Number.isInteger(e)&&!Object.is(e,-0))return"integer";if("number"==typeof e)return"float";if("boolean"==typeof e)return"boolean";else if("string"==typeof e)return"string";else if("toISOString"in e)return isNaN(e)?"undefined":"datetime";else if(Array.isArray(e))return"array";else return"table";}function u(e){var t=e+"";return /^[-A-Za-z0-9_]+$/.test(t)?t:p(t);}function p(e){return'"'+m(e).replace(/"/g,'\\"')+'"';}function f(e){return"'"+e+"'";}function d(e,t){for(;t.length"\\u"+d(4,e.codePointAt(0).toString(16)));}function y(e){let t=e.split(/\n/).map(e=>m(e).replace(/"(?="")/g,'\\"')).join("\n");return'"'===t.slice(-1)&&(t+="\\\n"),'"""\n'+t+'"""';}function E(e,t){let r=l(e);return"string"===r&&(t&&/\n/.test(e)?r="string-multiline":!/[\b\t\n\f\r']/.test(e)&&/"/.test(e)&&(r="string-literal")),g(e,r);}function g(e,t){switch(t||(t=l(e)),t){case"string-multiline":return y(e);case"string":return p(e);case"string-literal":return f(e);case"integer":return w(e);case"float":return x(e);case"boolean":return v(e);case"datetime":return I(e);case"array":return S(e.filter(e=>"null"!==l(e)&&"undefined"!==l(e)&&"nan"!==l(e)));case"table":return R(e);default:throw i(t);}}function w(e){return(e+"").replace(/\B(?=(\d{3})+(?!\d))/g,"_");}function x(e){if(e===1/0)return"inf";if(e===-1/0)return"-inf";if(Object.is(e,NaN))return"nan";if(Object.is(e,-0))return"-0.0";var t=(e+"").split("."),r=t[0],i=t[1]||0;return w(r)+"."+i;}function v(e){return e+"";}function I(e){return e.toISOString();}function b(e){return"float"===e||"integer"===e;}function O(e){var t=l(e[0]);return e.every(e=>l(e)===t)?t:e.every(e=>b(l(e)))?"float":"mixed";}function N(e){let t=O(e);if("mixed"===t)throw n();return t;}function S(e){let t=N(e=a(e));var r="[",i=e.map(e=>g(e,t));return i.join(", ").length>60||/\n/.test(i)?r+="\n "+i.join(",\n ")+"\n":r+=" "+i.join(", ")+(i.length>0?" ":""),r+"]";}function R(e){e=a(e);var t=[];return Object.keys(e).forEach(r=>{t.push(u(r)+" = "+E(e[r],!1));}),"{ "+t.join(", ")+(t.length>0?" ":"")+"}";}function T(e,t,r,n){var s=l(n);if("array"===s)return P(e,t,r,n);if("table"===s)return L(e,t,r,n);throw i(s);}function P(e,t,r,n){N(n=a(n));var s=l(n[0]);if("table"!==s)throw i(s);var o=e+u(r),c="";return n.forEach(e=>{c.length>0&&(c+="\n"),c+=t+"[["+o+"]]\n"+h(o+".",t,e);}),c;}function L(e,t,r,i){var n=e+u(r),o="";return s(i).length>0&&(o+=t+"["+n+"]\n"),o+h(n+".",t,i);}e.exports=r,e.exports.value=g;}),parcelRegister("eYukg",function(e,t){var r,i,n,s;async function o(e,t,r){return r||(r=await a()),await i.findFromManifest(e,!1,r,t);}function a(){return r.debug(`Getting manifest from ${p}/${f}@${d}`),i.getManifestFromRepo(p,f,u,d);}async function h(e){let t={cwd:e,env:{...process.env,...(s.IS_LINUX&&{LD_LIBRARY_PATH:$6DZae$path.join(e,"lib")})},silent:!0,listeners:{stdout(e){r.info(e.toString().trim());},stderr(e){r.error(e.toString().trim());}}};s.IS_WINDOWS?await n.exec("powershell",["./setup.ps1"],t):await n.exec("bash",["./setup.sh"],t);}async function c(e){let t=e.files[0].download_url;r.info(`Download from "${t}"`);let n="";try{let e;n=await i.downloadTool(t,void 0,u),r.info("Extract downloaded archive"),e=s.IS_WINDOWS?await i.extractZip(n):await i.extractTar(n),r.info("Execute installation script"),await h(e);}catch(e){throw e instanceof i.HTTPError&&(403===e.httpStatusCode||429===e.httpStatusCode?r.info(`Received HTTP status code ${e.httpStatusCode}. This usually indicates the rate limit has been exceeded`):r.info(e.message),e.stack&&r.debug(e.stack)),e;}}$parcel$export(e.exports,"MANIFEST_URL",()=>m),$parcel$export(e.exports,"findReleaseFromManifest",()=>o),$parcel$export(e.exports,"getManifest",()=>a),$parcel$export(e.exports,"installCpythonFromRelease",()=>c),r=parcelRequire("kDRhL"),i=parcelRequire("jXskH"),n=parcelRequire("7J8UA"),s=parcelRequire("6KA3p");let l=r.getInput("token"),u=l?"token "+l:void 0,p="actions",f="python-versions",d="main",m=`https://raw.githubusercontent.com/${p}/${f}/${d}/versions-manifest.json`;}),parcelRegister("jXskH",function(e,t){function r(e,t,r,n){return T(this,void 0,void 0,function*(){t=t||F.join(I(),H.default()),yield D.mkdirP(F.dirname(t)),_.debug("Downloading "+e),_.debug("Destination "+t);let s=3,o=b("TEST_DOWNLOAD_TOOL_RETRY_MIN_SECONDS",10),a=b("TEST_DOWNLOAD_TOOL_RETRY_MAX_SECONDS",20),h=new A.RetryHelper(s,o,a);return yield h.execute(()=>T(this,void 0,void 0,function*(){return yield i(e,t||"",r,n);}),e=>!(e instanceof W)||!e.httpStatusCode||!(e.httpStatusCode<500)||408===e.httpStatusCode||429===e.httpStatusCode);});}function i(e,t,r,i){return T(this,void 0,void 0,function*(){if(M.existsSync(t))throw Error(`Destination file path ${t} already exists`);let n=new U.HttpClient(q,[],{allowRetries:!1});r&&(_.debug("set auth"),void 0===i&&(i={}),i.authorization=r);let s=yield n.get(e,i);if(200!==s.message.statusCode){let t=new W(s.message.statusCode);throw _.debug(`Failed to download from "${e}". Code(${s.message.statusCode}) Message(${s.message.statusMessage})`),t;}let o=G.promisify(k.pipeline),a=b("TEST_DOWNLOAD_TOOL_RESPONSE_MESSAGE_FACTORY",()=>s.message)(),h=!1;try{return yield o(a,M.createWriteStream(t)),_.debug("download complete"),h=!0,t;}finally{if(!h){_.debug("download failed");try{yield D.rmRF(t);}catch(e){_.debug(`Failed to delete '${t}'. ${e.message}`);}}}});}function n(e,t,r){return T(this,void 0,void 0,function*(){$6DZae$assert.ok(B,"extract7z() not supported on current OS"),$6DZae$assert.ok(e,'parameter "file" is required'),t=yield y(t);let i=process.cwd();if(process.chdir(t),r)try{let t=_.isDebug()?"-bb1":"-bb0",i=["x",t,"-bd","-sccUTF-8",e],n={silent:!0};yield L.exec(`"${r}"`,i,n);}finally{process.chdir(i);}else{let r=F.join(C,"..","scripts","Invoke-7zdec.ps1").replace(/'/g,"''").replace(/"|\n|\r/g,""),n=e.replace(/'/g,"''").replace(/"|\n|\r/g,""),s=t.replace(/'/g,"''").replace(/"|\n|\r/g,""),o=["-NoLogo","-Sta","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",`& '${r}' -Source '${n}' -Target '${s}'`],a={silent:!0};try{let e=yield D.which("powershell",!0);yield L.exec(`"${e}"`,o,a);}finally{process.chdir(i);}}return t;});}function s(e,t,r="xz"){return T(this,void 0,void 0,function*(){let i;if(!e)throw Error("parameter 'file' is required");t=yield y(t),_.debug("Checking tar --version");let n="";yield L.exec("tar --version",[],{ignoreReturnCode:!0,silent:!0,listeners:{stdout:e=>n+=e.toString(),stderr:e=>n+=e.toString()}}),_.debug(n.trim());let s=n.toUpperCase().includes("GNU TAR");i=r instanceof Array?r:[r],_.isDebug()&&!r.includes("v")&&i.push("-v");let o=t,a=e;return B&&s&&(i.push("--force-local"),o=t.replace(/\\/g,"/"),a=e.replace(/\\/g,"/")),s&&(i.push("--warning=no-unknown-keyword"),i.push("--overwrite")),i.push("-C",o,"-f",a),yield L.exec("tar",i),t;});}function o(e,t,r=[]){return T(this,void 0,void 0,function*(){let i;$6DZae$assert.ok(X,"extractXar() not supported on current OS"),$6DZae$assert.ok(e,'parameter "file" is required'),t=yield y(t),(i=r instanceof Array?r:[r]).push("-x","-C",t,"-f",e),_.isDebug()&&i.push("-v");let n=yield D.which("xar",!0);return yield L.exec(`"${n}"`,O(i)),t;});}function a(e,t){return T(this,void 0,void 0,function*(){if(!e)throw Error("parameter 'file' is required");return t=yield y(t),B?yield h(e,t):yield c(e,t),t;});}function h(e,t){return T(this,void 0,void 0,function*(){let r=e.replace(/'/g,"''").replace(/"|\n|\r/g,""),i=t.replace(/'/g,"''").replace(/"|\n|\r/g,""),n=yield D.which("pwsh",!1);if(n){let 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}', '${i}', $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 '${i}' -Force } else { throw $_ } } ;`];_.debug("Using pwsh at path: "+n),yield L.exec(`"${n}"`,e);}else{let 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 '${i}' -Force } else {[System.IO.Compression.ZipFile]::ExtractToDirectory('${r}', '${i}', $true) }`],t=yield D.which("powershell",!0);_.debug("Using powershell at path: "+t),yield L.exec(`"${t}"`,e);}});}function c(e,t){return T(this,void 0,void 0,function*(){let r=yield D.which("unzip",!0),i=[e];_.isDebug()||i.unshift("-q"),i.unshift("-o"),yield L.exec(`"${r}"`,i,{cwd:t});});}function l(e,t,r,i){return T(this,void 0,void 0,function*(){if(r=V.clean(r)||r,i=i||j.arch(),_.debug(`Caching tool ${t} ${r} ${i}`),_.debug("source dir: "+e),!M.statSync(e).isDirectory())throw Error("sourceDir is not a directory");let n=yield E(t,r,i);for(let t of M.readdirSync(e)){let r=F.join(e,t);yield D.cp(r,n,{recursive:!0});}return g(t,r,i),n;});}function u(e,t,r,i,n){return T(this,void 0,void 0,function*(){if(i=V.clean(i)||i,n=n||j.arch(),_.debug(`Caching tool ${r} ${i} ${n}`),_.debug("source file: "+e),!M.statSync(e).isFile())throw Error("sourceFile is not a file");let s=yield E(r,i,n),o=F.join(s,t);return _.debug("destination file "+o),yield D.cp(e,o),g(r,i,n),s;});}function p(e,t,r){if(!e)throw Error("toolName parameter is required");if(!t)throw Error("versionSpec parameter is required");r=r||j.arch(),w(t)||(t=x(f(e,r),t));let i="";if(t){t=V.clean(t)||"";let n=F.join(v(),e,t,r);_.debug("checking cache: "+n),M.existsSync(n)&&M.existsSync(`${n}.complete`)?(_.debug(`Found tool in cache ${e} ${t} ${r}`),i=n):_.debug("not found");}return i;}function f(e,t){let r=[];t=t||j.arch();let i=F.join(v(),e);if(M.existsSync(i)){for(let e of M.readdirSync(i))if(w(e)){let n=F.join(i,e,t||"");M.existsSync(n)&&M.existsSync(`${n}.complete`)&&r.push(e);}}return r;}function d(e,t,r,i="master"){return T(this,void 0,void 0,function*(){let n=[],s=`https://api.github.com/repos/${e}/${t}/git/trees/${i}`,o=new U.HttpClient("tool-cache"),a={};r&&(_.debug("set auth"),a.authorization=r);let h=yield o.getJson(s,a);if(!h.result)return n;let c="";for(let e of h.result.tree)if("versions-manifest.json"===e.path){c=e.url;break;}a.accept="application/vnd.github.VERSION.raw";let l=yield(yield o.get(c,a)).readBody();if(l){l=l.replace(/^\uFEFF/,"");try{n=JSON.parse(l);}catch(e){_.debug("Invalid json");}}return n;});}function m(e,t,r,i=j.arch()){return T(this,void 0,void 0,function*(){return yield $._findMatch(e,t,r,i);});}function y(e){return T(this,void 0,void 0,function*(){return e||(e=F.join(I(),H.default())),yield D.mkdirP(e),e;});}function E(e,t,r){return T(this,void 0,void 0,function*(){let i=F.join(v(),e,V.clean(t)||t,r||"");_.debug("destination "+i);let n=`${i}.complete`;return yield D.rmRF(i),yield D.rmRF(n),yield D.mkdirP(i),i;});}function g(e,t,r){let i=F.join(v(),e,V.clean(t)||t,r||""),n=`${i}.complete`;M.writeFileSync(n,""),_.debug("finished caching tool");}function w(e){let t=V.clean(e)||"";_.debug("isExplicit: "+t);let r=null!=V.valid(t);return _.debug("explicit? "+r),r;}function x(e,t){let r="";_.debug(`evaluating ${e.length} versions`),e=e.sort((e,t)=>V.gt(e,t)?1:-1);for(let i=e.length-1;i>=0;i--){let n=e[i];if(V.satisfies(n,t)){r=n;break;}}return r?_.debug("matched: "+r):_.debug("match not found"),r;}function v(){let e=process.env.RUNNER_TOOL_CACHE||"";return $6DZae$assert.ok(e,"Expected RUNNER_TOOL_CACHE to be defined"),e;}function I(){let e=process.env.RUNNER_TEMP||"";return $6DZae$assert.ok(e,"Expected RUNNER_TEMP to be defined"),e;}function b(e,t){let r=$parcel$global[e];return void 0!==r?r:t;}function O(e){return Array.from(new Set(e));}var N,S,R,T,P,L,A,C=$6DZae$path.resolve(__dirname,"../../node_modules/setup-python/node_modules/@actions/tool-cache/lib");N=e.exports&&e.exports.__createBinding||(Object.create?function(e,t,r,i){void 0===i&&(i=r),Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[r];}});}:function(e,t,r,i){void 0===i&&(i=r),e[i]=t[r];}),S=e.exports&&e.exports.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),R=e.exports&&e.exports.__importStar||function(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 S(t,e),t;},T=e.exports&&e.exports.__awaiter||function(e,t,r,i){function n(e){return e instanceof r?e:new r(function(t){t(e);});}return new(r||(r=Promise))(function(r,s){function o(e){try{h(i.next(e));}catch(e){s(e);}}function a(e){try{h(i.throw(e));}catch(e){s(e);}}function h(e){e.done?r(e.value):n(e.value).then(o,a);}h((i=i.apply(e,t||[])).next());});},P=e.exports&&e.exports.__importDefault||function(e){return e&&e.__esModule?e:{default:e};},Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.evaluateVersions=e.exports.isExplicitVersion=e.exports.findFromManifest=e.exports.getManifestFromRepo=e.exports.findAllVersions=e.exports.find=e.exports.cacheFile=e.exports.cacheDir=e.exports.extractZip=e.exports.extractXar=e.exports.extractTar=e.exports.extract7z=e.exports.downloadTool=e.exports.HTTPError=void 0;let _=R(parcelRequire("kDRhL")),D=R(parcelRequire("alxPC")),M=R($6DZae$fs),$=R(parcelRequire("gLtg9")),j=R($6DZae$os),F=R($6DZae$path),U=R(parcelRequire("3BbEx")),V=R(parcelRequire("iTAgk")),k=R($6DZae$stream),G=R($6DZae$util),H=P(parcelRequire("cwp5N"));L=parcelRequire("7J8UA"),A=parcelRequire("aBhC9");class W extends Error{constructor(e){super("Unexpected HTTP response: "+e),this.httpStatusCode=e,Object.setPrototypeOf(this,new.target.prototype);}}e.exports.HTTPError=W;let B="win32"===process.platform,X="darwin"===process.platform,q="actions/tool-cache";e.exports.downloadTool=r,e.exports.extract7z=n,e.exports.extractTar=s,e.exports.extractXar=o,e.exports.extractZip=a,e.exports.cacheDir=l,e.exports.cacheFile=u,e.exports.find=p,e.exports.findAllVersions=f,e.exports.getManifestFromRepo=d,e.exports.findFromManifest=m,e.exports.isExplicitVersion=w,e.exports.evaluateVersions=x;}),parcelRegister("gLtg9",function(e,t){var r,i,n,s,o;function a(t,r,i,n){return s(this,void 0,void 0,function*(){let s,a,h;let c=$6DZae$os.platform();for(let s of i){let i=s.version;if(o.debug(`check ${i} satisfies ${t}`),l.satisfies(i,t)&&(!r||s.stable===r)&&(h=s.files.find(t=>{o.debug(`${t.arch}===${n} && ${t.platform}===${c}`);let r=t.arch===n&&t.platform===c;if(r&&t.platform_version){let i=e.exports._getOsVersion();r=i===t.platform_version||l.satisfies(i,t.platform_version);}return r;}))){o.debug("matched "+s.version),a=s;break;}}return a&&h&&((s=Object.assign({},a)).files=[h]),s;});}function h(){let t=$6DZae$os.platform(),r="";if("darwin"===t)r=$6DZae$child_process.execSync("sw_vers -productVersion").toString();else if("linux"===t){let t=e.exports._readLinuxVersionFile();if(t)for(let e of t.split("\n")){let t=e.split("=");if(2===t.length&&("VERSION_ID"===t[0].trim()||"DISTRIB_RELEASE"===t[0].trim())){r=t[1].trim().replace(/^"/,"").replace(/"$/,"");break;}}}return r;}function c(){let e="/etc/lsb-release",t="/etc/os-release",r="";return $6DZae$fs.existsSync(e)?r=$6DZae$fs.readFileSync(e).toString():$6DZae$fs.existsSync(t)&&(r=$6DZae$fs.readFileSync(t).toString()),r;}r=e.exports&&e.exports.__createBinding||(Object.create?function(e,t,r,i){void 0===i&&(i=r),Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[r];}});}:function(e,t,r,i){void 0===i&&(i=r),e[i]=t[r];}),i=e.exports&&e.exports.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),n=e.exports&&e.exports.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.hasOwnProperty.call(e,n)&&r(t,e,n);return i(t,e),t;},s=e.exports&&e.exports.__awaiter||function(e,t,r,i){function n(e){return e instanceof r?e:new r(function(t){t(e);});}return new(r||(r=Promise))(function(r,s){function o(e){try{h(i.next(e));}catch(e){s(e);}}function a(e){try{h(i.throw(e));}catch(e){s(e);}}function h(e){e.done?r(e.value):n(e.value).then(o,a);}h((i=i.apply(e,t||[])).next());});},Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports._readLinuxVersionFile=e.exports._getOsVersion=e.exports._findMatch=void 0;let l=n(parcelRequire("iTAgk"));o=parcelRequire("kDRhL"),e.exports._findMatch=a,e.exports._getOsVersion=h,e.exports._readLinuxVersionFile=c;}),parcelRegister("iTAgk",function(e,t){function r(e){eh[e]=ec++;}function i(e){for(var t=0;tet||!(t.loose?eo[eh.LOOSE]:eo[eh.FULL]).test(e))return null;try{return new a(e,t);}catch(e){return null;}}function s(e,t){var r=n(e,t);return r?r.version:null;}function o(e,t){var r=n(e.trim().replace(/^[=v]+/,""),t);return r?r.version:null;}function a(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof a){if(e.loose===t.loose)return e;e=e.version;}else if("string"!=typeof e)throw TypeError("Invalid Version: "+e);if(e.length>et)throw TypeError("version is longer than "+et+" characters");if(!(this instanceof a))return new a(e,t);ee("SemVer",e,t),this.options=t,this.loose=!!t.loose;var r=e.trim().match(t.loose?eo[eh.LOOSE]:eo[eh.FULL]);if(!r)throw TypeError("Invalid Version: "+e);if(this.raw=e,this.major=+r[1],this.minor=+r[2],this.patch=+r[3],this.major>er||this.major<0)throw TypeError("Invalid major version");if(this.minor>er||this.minor<0)throw TypeError("Invalid minor version");if(this.patch>er||this.patch<0)throw TypeError("Invalid patch version");r[4]?this.prerelease=r[4].split(".").map(function(e){if(/^[0-9]+$/.test(e)){var t=+e;if(t>=0&&te?-1:1;}function u(e,t){return l(t,e);}function p(e,t){return new a(e,t).major;}function f(e,t){return new a(e,t).minor;}function d(e,t){return new a(e,t).patch;}function m(e,t,r){return new a(e,r).compare(new a(t,r));}function y(e,t){return m(e,t,!0);}function E(e,t,r){var i=new a(e,r),n=new a(t,r);return i.compare(n)||i.compareBuild(n);}function g(e,t,r){return m(t,e,r);}function w(e,r){return e.sort(function(e,i){return t.compareBuild(e,i,r);});}function x(e,r){return e.sort(function(e,i){return t.compareBuild(i,e,r);});}function v(e,t,r){return m(e,t,r)>0;}function I(e,t,r){return 0>m(e,t,r);}function b(e,t,r){return 0===m(e,t,r);}function O(e,t,r){return 0!==m(e,t,r);}function N(e,t,r){return m(e,t,r)>=0;}function S(e,t,r){return 0>=m(e,t,r);}function R(e,t,r,i){switch(t){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof r&&(r=r.version),e===r;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof r&&(r=r.version),e!==r;case"":case"=":case"==":return b(e,r,i);case"!=":return O(e,r,i);case">":return v(e,r,i);case">=":return N(e,r,i);case"<":return I(e,r,i);case"<=":return S(e,r,i);default:throw TypeError("Invalid operator: "+t);}}function T(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof T){if(!!t.loose===e.loose)return e;e=e.value;}if(!(this instanceof T))return new T(e,t);e=e.trim().split(/\s+/).join(" "),ee("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===ey?this.value="":this.value=this.operator+this.semver.version,ee("comp",this);}function P(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof P)return!!t.loose===e.loose&&!!t.includePrerelease===e.includePrerelease?e:new P(e.raw,t);if(e instanceof T)return new P(e.value,t);if(!(this instanceof P))return new P(e,t);if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map(function(e){return this.parseRange(e.trim());},this).filter(function(e){return e.length;}),!this.set.length)throw TypeError("Invalid SemVer Range: "+this.raw);this.format();}function L(e,t){for(var r=!0,i=e.slice(),n=i.pop();r&&i.length;)r=i.every(function(e){return n.intersects(e,t);}),n=i.pop();return r;}function A(e,t){return new P(e,t).set.map(function(e){return e.map(function(e){return e.value;}).join(" ").trim().split(" ");});}function C(e,t){return ee("comp",e,t),e=$(e,t),ee("caret",e),e=D(e,t),ee("tildes",e),e=F(e,t),ee("xrange",e),e=V(e,t),ee("stars",e),e;}function _(e){return!e||"x"===e.toLowerCase()||"*"===e;}function D(e,t){return e.trim().split(/\s+/).map(function(e){return M(e,t);}).join(" ");}function M(e,t){var r=t.loose?eo[eh.TILDELOOSE]:eo[eh.TILDE];return e.replace(r,function(t,r,i,n,s){var o;return ee("tilde",e,t,r,i,n,s),_(r)?o="":_(i)?o=">="+r+".0.0 <"+(+r+1)+".0.0":_(n)?o=">="+r+"."+i+".0 <"+r+"."+(+i+1)+".0":s?(ee("replaceTilde pr",s),o=">="+r+"."+i+"."+n+"-"+s+" <"+r+"."+(+i+1)+".0"):o=">="+r+"."+i+"."+n+" <"+r+"."+(+i+1)+".0",ee("tilde return",o),o;});}function $(e,t){return e.trim().split(/\s+/).map(function(e){return j(e,t);}).join(" ");}function j(e,t){ee("caret",e,t);var r=t.loose?eo[eh.CARETLOOSE]:eo[eh.CARET];return e.replace(r,function(t,r,i,n,s){var o;return ee("caret",e,t,r,i,n,s),_(r)?o="":_(i)?o=">="+r+".0.0 <"+(+r+1)+".0.0":_(n)?o="0"===r?">="+r+"."+i+".0 <"+r+"."+(+i+1)+".0":">="+r+"."+i+".0 <"+(+r+1)+".0.0":s?(ee("replaceCaret pr",s),o="0"===r?"0"===i?">="+r+"."+i+"."+n+"-"+s+" <"+r+"."+i+"."+(+n+1):">="+r+"."+i+"."+n+"-"+s+" <"+r+"."+(+i+1)+".0":">="+r+"."+i+"."+n+"-"+s+" <"+(+r+1)+".0.0"):(ee("no pr"),o="0"===r?"0"===i?">="+r+"."+i+"."+n+" <"+r+"."+i+"."+(+n+1):">="+r+"."+i+"."+n+" <"+r+"."+(+i+1)+".0":">="+r+"."+i+"."+n+" <"+(+r+1)+".0.0"),ee("caret return",o),o;});}function F(e,t){return ee("replaceXRanges",e,t),e.split(/\s+/).map(function(e){return U(e,t);}).join(" ");}function U(e,t){e=e.trim();var r=t.loose?eo[eh.XRANGELOOSE]:eo[eh.XRANGE];return e.replace(r,function(r,i,n,s,o,a){ee("xRange",e,r,i,n,s,o,a);var h=_(n),c=h||_(s),l=c||_(o),u=l;return"="===i&&u&&(i=""),a=t.includePrerelease?"-0":"",h?r=">"===i||"<"===i?"<0.0.0-0":"*":i&&u?(c&&(s=0),o=0,">"===i?(i=">=",c?(n=+n+1,s=0):s=+s+1,o=0):"<="===i&&(i="<",c?n=+n+1:s=+s+1),r=i+n+"."+s+"."+o+a):c?r=">="+n+".0.0"+a+" <"+(+n+1)+".0.0"+a:l&&(r=">="+n+"."+s+".0"+a+" <"+n+"."+(+s+1)+".0"+a),ee("xRange return",r),r;});}function V(e,t){return ee("replaceStars",e,t),e.trim().replace(eo[eh.STAR],"");}function k(e,t,r,i,n,s,o,a,h,c,l,u,p){return((t=_(r)?"":_(i)?">="+r+".0.0":_(n)?">="+r+"."+i+".0":">="+t)+" "+(a=_(h)?"":_(c)?"<"+(+h+1)+".0.0":_(l)?"<"+h+"."+(+c+1)+".0":u?"<="+h+"."+c+"."+l+"-"+u:"<="+a)).trim();}function G(e,t,r){for(var i=0;i0){var n=e[i].semver;if(n.major===t.major&&n.minor===t.minor&&n.patch===t.patch)return!0;}return!1;}return!0;}function H(e,t,r){try{t=new P(t,r);}catch(e){return!1;}return t.test(e);}function W(e,t,r){var i=null,n=null;try{var s=new P(t,r);}catch(e){return null;}return e.forEach(function(e){s.test(e)&&(!i||-1===n.compare(e))&&(n=new a(i=e,r));}),i;}function B(e,t,r){var i=null,n=null;try{var s=new P(t,r);}catch(e){return null;}return e.forEach(function(e){s.test(e)&&(!i||1===n.compare(e))&&(n=new a(i=e,r));}),i;}function X(e,t){e=new P(e,t);var r=new a("0.0.0");if(e.test(r)||(r=new a("0.0.0-0"),e.test(r)))return r;r=null;for(var i=0;i":0===t.prerelease.length?t.patch++:t.prerelease.push(0),t.raw=t.format();case"":case">=":(!r||v(r,t))&&(r=t);break;case"<":case"<=":break;default:throw Error("Unexpected operation: "+e.operator);}});return r&&e.test(r)?r:null;}function q(e,t){try{return new P(e,t).range||"*";}catch(e){return null;}}function K(e,t,r){return J(e,t,"<",r);}function Y(e,t,r){return J(e,t,">",r);}function J(e,t,r,i){switch(e=new a(e,i),t=new P(t,i),r){case">":n=v,s=S,o=I,h=">",c=">=";break;case"<":n=I,s=N,o=v,h="<",c="<=";break;default:throw TypeError('Must provide a hilo val of "<" or ">"');}if(H(e,t,i))return!1;for(var n,s,o,h,c,l=0;l=0.0.0")),p=p||e,f=f||e,n(e.semver,p.semver,i)?p=e:o(e.semver,f.semver,i)&&(f=e);}),p.operator===h||p.operator===c||(!f.operator||f.operator===h)&&s(e,f.semver)||f.operator===c&&o(e,f.semver))return!1;}return!0;}function Z(e,t){var r=n(e,t);return r&&r.prerelease.length?r.prerelease:null;}function z(e,t,r){return e=new P(e,r),t=new P(t,r),e.intersects(t);}function Q(e,t){if(e instanceof a)return e;if("number"==typeof e&&(e+=""),"string"!=typeof e)return null;var r,i=null;if((t=t||{}).rtl){for(;(r=eo[eh.COERCERTL].exec(e))&&(!i||i.index+i[0].length!==e.length);)i&&r.index+r[0].length===i.index+i[0].length||(i=r),eo[eh.COERCERTL].lastIndex=r.index+r[1].length+r[2].length;eo[eh.COERCERTL].lastIndex=-1;}else i=e.match(eo[eh.COERCE]);return null===i?null:n(i[2]+"."+(i[3]||"0")+"."+(i[4]||"0"),t);}t=e.exports=a,ee="object"==typeof process&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?function(){var e=Array.prototype.slice.call(arguments,0);e.unshift("SEMVER"),console.log.apply(console,e);}:function(){},t.SEMVER_SPEC_VERSION="2.0.0",et=256,er=Number.MAX_SAFE_INTEGER||9007199254740991,ei=16,en=et-6,es=t.re=[],eo=t.safeRe=[],ea=t.src=[],eh=t.tokens={},ec=0,eu=[["\\s",1],["\\d",et],[el="[a-zA-Z0-9-]",en]],r("NUMERICIDENTIFIER"),ea[eh.NUMERICIDENTIFIER]="0|[1-9]\\d*",r("NUMERICIDENTIFIERLOOSE"),ea[eh.NUMERICIDENTIFIERLOOSE]="\\d+",r("NONNUMERICIDENTIFIER"),ea[eh.NONNUMERICIDENTIFIER]="\\d*[a-zA-Z-]"+el+"*",r("MAINVERSION"),ea[eh.MAINVERSION]="("+ea[eh.NUMERICIDENTIFIER]+")\\.("+ea[eh.NUMERICIDENTIFIER]+")\\.("+ea[eh.NUMERICIDENTIFIER]+")",r("MAINVERSIONLOOSE"),ea[eh.MAINVERSIONLOOSE]="("+ea[eh.NUMERICIDENTIFIERLOOSE]+")\\.("+ea[eh.NUMERICIDENTIFIERLOOSE]+")\\.("+ea[eh.NUMERICIDENTIFIERLOOSE]+")",r("PRERELEASEIDENTIFIER"),ea[eh.PRERELEASEIDENTIFIER]="(?:"+ea[eh.NUMERICIDENTIFIER]+"|"+ea[eh.NONNUMERICIDENTIFIER]+")",r("PRERELEASEIDENTIFIERLOOSE"),ea[eh.PRERELEASEIDENTIFIERLOOSE]="(?:"+ea[eh.NUMERICIDENTIFIERLOOSE]+"|"+ea[eh.NONNUMERICIDENTIFIER]+")",r("PRERELEASE"),ea[eh.PRERELEASE]="(?:-("+ea[eh.PRERELEASEIDENTIFIER]+"(?:\\."+ea[eh.PRERELEASEIDENTIFIER]+")*))",r("PRERELEASELOOSE"),ea[eh.PRERELEASELOOSE]="(?:-?("+ea[eh.PRERELEASEIDENTIFIERLOOSE]+"(?:\\."+ea[eh.PRERELEASEIDENTIFIERLOOSE]+")*))",r("BUILDIDENTIFIER"),ea[eh.BUILDIDENTIFIER]=el+"+",r("BUILD"),ea[eh.BUILD]="(?:\\+("+ea[eh.BUILDIDENTIFIER]+"(?:\\."+ea[eh.BUILDIDENTIFIER]+")*))",r("FULL"),r("FULLPLAIN"),ea[eh.FULLPLAIN]="v?"+ea[eh.MAINVERSION]+ea[eh.PRERELEASE]+"?"+ea[eh.BUILD]+"?",ea[eh.FULL]="^"+ea[eh.FULLPLAIN]+"$",r("LOOSEPLAIN"),ea[eh.LOOSEPLAIN]="[v=\\s]*"+ea[eh.MAINVERSIONLOOSE]+ea[eh.PRERELEASELOOSE]+"?"+ea[eh.BUILD]+"?",r("LOOSE"),ea[eh.LOOSE]="^"+ea[eh.LOOSEPLAIN]+"$",r("GTLT"),ea[eh.GTLT]="((?:<|>)?=?)",r("XRANGEIDENTIFIERLOOSE"),ea[eh.XRANGEIDENTIFIERLOOSE]=ea[eh.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*",r("XRANGEIDENTIFIER"),ea[eh.XRANGEIDENTIFIER]=ea[eh.NUMERICIDENTIFIER]+"|x|X|\\*",r("XRANGEPLAIN"),ea[eh.XRANGEPLAIN]="[v=\\s]*("+ea[eh.XRANGEIDENTIFIER]+")(?:\\.("+ea[eh.XRANGEIDENTIFIER]+")(?:\\.("+ea[eh.XRANGEIDENTIFIER]+")(?:"+ea[eh.PRERELEASE]+")?"+ea[eh.BUILD]+"?)?)?",r("XRANGEPLAINLOOSE"),ea[eh.XRANGEPLAINLOOSE]="[v=\\s]*("+ea[eh.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+ea[eh.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+ea[eh.XRANGEIDENTIFIERLOOSE]+")(?:"+ea[eh.PRERELEASELOOSE]+")?"+ea[eh.BUILD]+"?)?)?",r("XRANGE"),ea[eh.XRANGE]="^"+ea[eh.GTLT]+"\\s*"+ea[eh.XRANGEPLAIN]+"$",r("XRANGELOOSE"),ea[eh.XRANGELOOSE]="^"+ea[eh.GTLT]+"\\s*"+ea[eh.XRANGEPLAINLOOSE]+"$",r("COERCE"),ea[eh.COERCE]="(^|[^\\d])(\\d{1,"+ei+"})(?:\\.(\\d{1,"+ei+"}))?(?:\\.(\\d{1,"+ei+"}))?(?:$|[^\\d])",r("COERCERTL"),es[eh.COERCERTL]=RegExp(ea[eh.COERCE],"g"),eo[eh.COERCERTL]=RegExp(i(ea[eh.COERCE]),"g"),r("LONETILDE"),ea[eh.LONETILDE]="(?:~>?)",r("TILDETRIM"),ea[eh.TILDETRIM]="(\\s*)"+ea[eh.LONETILDE]+"\\s+",es[eh.TILDETRIM]=RegExp(ea[eh.TILDETRIM],"g"),eo[eh.TILDETRIM]=RegExp(i(ea[eh.TILDETRIM]),"g"),ep="$1~",r("TILDE"),ea[eh.TILDE]="^"+ea[eh.LONETILDE]+ea[eh.XRANGEPLAIN]+"$",r("TILDELOOSE"),ea[eh.TILDELOOSE]="^"+ea[eh.LONETILDE]+ea[eh.XRANGEPLAINLOOSE]+"$",r("LONECARET"),ea[eh.LONECARET]="(?:\\^)",r("CARETTRIM"),ea[eh.CARETTRIM]="(\\s*)"+ea[eh.LONECARET]+"\\s+",es[eh.CARETTRIM]=RegExp(ea[eh.CARETTRIM],"g"),eo[eh.CARETTRIM]=RegExp(i(ea[eh.CARETTRIM]),"g"),ef="$1^",r("CARET"),ea[eh.CARET]="^"+ea[eh.LONECARET]+ea[eh.XRANGEPLAIN]+"$",r("CARETLOOSE"),ea[eh.CARETLOOSE]="^"+ea[eh.LONECARET]+ea[eh.XRANGEPLAINLOOSE]+"$",r("COMPARATORLOOSE"),ea[eh.COMPARATORLOOSE]="^"+ea[eh.GTLT]+"\\s*("+ea[eh.LOOSEPLAIN]+")$|^$",r("COMPARATOR"),ea[eh.COMPARATOR]="^"+ea[eh.GTLT]+"\\s*("+ea[eh.FULLPLAIN]+")$|^$",r("COMPARATORTRIM"),ea[eh.COMPARATORTRIM]="(\\s*)"+ea[eh.GTLT]+"\\s*("+ea[eh.LOOSEPLAIN]+"|"+ea[eh.XRANGEPLAIN]+")",es[eh.COMPARATORTRIM]=RegExp(ea[eh.COMPARATORTRIM],"g"),eo[eh.COMPARATORTRIM]=RegExp(i(ea[eh.COMPARATORTRIM]),"g"),ed="$1$2$3",r("HYPHENRANGE"),ea[eh.HYPHENRANGE]="^\\s*("+ea[eh.XRANGEPLAIN]+")\\s+-\\s+("+ea[eh.XRANGEPLAIN]+")\\s*$",r("HYPHENRANGELOOSE"),ea[eh.HYPHENRANGELOOSE]="^\\s*("+ea[eh.XRANGEPLAINLOOSE]+")\\s+-\\s+("+ea[eh.XRANGEPLAINLOOSE]+")\\s*$",r("STAR"),ea[eh.STAR]="(<|>)?=?\\s*\\*";for(var ee,et,er,ei,en,es,eo,ea,eh,ec,el,eu,ep,ef,ed,em,ey,eE=0;eE=0;)"number"==typeof this.prerelease[r]&&(this.prerelease[r]++,r=-2);-1===r&&this.prerelease.push(0);}t&&(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;},t.inc=h,t.diff=c,t.compareIdentifiers=l,em=/^[0-9]+$/,t.rcompareIdentifiers=u,t.major=p,t.minor=f,t.patch=d,t.compare=m,t.compareLoose=y,t.compareBuild=E,t.rcompare=g,t.sort=w,t.rsort=x,t.gt=v,t.lt=I,t.eq=b,t.neq=O,t.gte=N,t.lte=S,t.cmp=R,t.Comparator=T,ey={},T.prototype.parse=function(e){var t=this.options.loose?eo[eh.COMPARATORLOOSE]:eo[eh.COMPARATOR],r=e.match(t);if(!r)throw TypeError("Invalid comparator: "+e);this.operator=void 0!==r[1]?r[1]:"","="===this.operator&&(this.operator=""),r[2]?this.semver=new a(r[2],this.options.loose):this.semver=ey;},T.prototype.toString=function(){return this.value;},T.prototype.test=function(e){if(ee("Comparator.test",e,this.options.loose),this.semver===ey||e===ey)return!0;if("string"==typeof e)try{e=new a(e,this.options);}catch(e){return!1;}return R(e,this.operator,this.semver,this.options);},T.prototype.intersects=function(e,t){if(!(e instanceof T))throw TypeError("a Comparator is required");if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),""===this.operator)return""===this.value||(r=new P(e.value,t),H(this.value,r,t));if(""===e.operator)return""===e.value||(r=new P(this.value,t),H(e.semver,r,t));var r,i=(">="===this.operator||">"===this.operator)&&(">="===e.operator||">"===e.operator),n=("<="===this.operator||"<"===this.operator)&&("<="===e.operator||"<"===e.operator),s=this.semver.version===e.semver.version,o=(">="===this.operator||"<="===this.operator)&&(">="===e.operator||"<="===e.operator),a=R(this.semver,"<",e.semver,t)&&(">="===this.operator||">"===this.operator)&&("<="===e.operator||"<"===e.operator),h=R(this.semver,">",e.semver,t)&&("<="===this.operator||"<"===this.operator)&&(">="===e.operator||">"===e.operator);return i||n||s&&o||a||h;},t.Range=P,P.prototype.format=function(){return this.range=this.set.map(function(e){return e.join(" ").trim();}).join("||").trim(),this.range;},P.prototype.toString=function(){return this.range;},P.prototype.parseRange=function(e){var t=this.options.loose,r=t?eo[eh.HYPHENRANGELOOSE]:eo[eh.HYPHENRANGE];e=e.replace(r,k),ee("hyphen replace",e),e=e.replace(eo[eh.COMPARATORTRIM],ed),ee("comparator trim",e,eo[eh.COMPARATORTRIM]),e=(e=(e=e.replace(eo[eh.TILDETRIM],ep)).replace(eo[eh.CARETTRIM],ef)).split(/\s+/).join(" ");var i=t?eo[eh.COMPARATORLOOSE]:eo[eh.COMPARATOR],n=e.split(" ").map(function(e){return C(e,this.options);},this).join(" ").split(/\s+/);return this.options.loose&&(n=n.filter(function(e){return!!e.match(i);})),n=n.map(function(e){return new T(e,this.options);},this);},P.prototype.intersects=function(e,t){if(!(e instanceof P))throw TypeError("a Range is required");return this.set.some(function(r){return L(r,t)&&e.set.some(function(e){return L(e,t)&&r.every(function(r){return e.every(function(e){return r.intersects(e,t);});});});});},t.toComparators=A,P.prototype.test=function(e){if(!e)return!1;if("string"==typeof e)try{e=new a(e,this.options);}catch(e){return!1;}for(var t=0;tthis.maxSeconds)throw Error("min seconds should be less than or equal to max seconds");}execute(e,t){return s(this,void 0,void 0,function*(){let r=1;for(;rsetTimeout(t,1e3*e));});}}e.exports.RetryHelper=a;}),parcelRegister("2hRl9",function(e,t){var r,i,n,s,o;async function a(e,t,n,o,a){let l,u,p="",f="",d=c(e);if(o&&(u=await r.getAvailablePyPyVersions())&&u.length>0){let e=r.findRelease(u,d.pythonVersion,d.pypyVersion,t,!1);e?(s.info(`Resolved as PyPy ${e.resolvedPyPyVersion} with Python (${e.resolvedPythonVersion})`),d.pythonVersion=e.resolvedPythonVersion,d.pypyVersion=e.resolvedPyPyVersion):s.info(`Failed to resolve PyPy ${d.pypyVersion} with Python (${d.pythonVersion}) from manifest`);}({installDir:l,resolvedPythonVersion:f,resolvedPyPyVersion:p}=h(d.pythonVersion,d.pypyVersion,t)),l||({installDir:l,resolvedPythonVersion:f,resolvedPyPyVersion:p}=await r.installPyPy(d.pypyVersion,d.pythonVersion,t,a,u));let m=i.IS_WINDOWS?"Scripts":"bin",y=$6DZae$path.join(l,m),E=i.IS_WINDOWS?".exe":"",g=$6DZae$path.join(i.IS_WINDOWS?l:y,"python"+E),w=r.getPyPyBinaryPath(l);return n&&(s.exportVariable("pythonLocation",l),s.exportVariable("Python_ROOT_DIR",l),s.exportVariable("Python2_ROOT_DIR",l),s.exportVariable("Python3_ROOT_DIR",l),s.exportVariable("PKG_CONFIG_PATH",w+"/lib/pkgconfig"),s.addPath(w),s.addPath(y)),s.setOutput("python-version","pypy"+p),s.setOutput("python-path",g),{resolvedPyPyVersion:p,resolvedPythonVersion:f};}function h(e,t,r){let a="",h="",c=i.IS_WINDOWS?l(e):o.find("PyPy",e,r);return c&&(h=(0,i.getPyPyVersionFromPath)(c),a=(0,i.readExactPyPyVersionFile)(c),n.satisfies(a,t)||(c=null,a="",h="")),c||s.info(`PyPy version ${e} (${t}) was not found in the local cache`),{installDir:c,resolvedPythonVersion:h,resolvedPyPyVersion:a};}function c(e){let t;let n=e.split("-").filter(e=>!!e);if(/^(pypy)(.+)/.test(n[0])){let e=n[0].replace("pypy","");n.splice(0,1,"pypy",e);}if(n.length<2||"pypy"!=n[0])throw Error("Invalid 'version' property for PyPy. PyPy version should be specified as 'pypy' or 'pypy-'. See README for examples and documentation.");let s=n[1];if(t=n.length>2?r.pypyVersionToSemantic(n[2]):"x",!(0,i.validateVersion)(s)||!(0,i.validateVersion)(t))throw Error("Invalid 'version' property for PyPy. Both Python version and PyPy versions should satisfy SemVer notation. See README for examples and documentation.");if(!(0,i.validatePythonVersionFormatForPyPy)(s))throw Error("Invalid format of Python version for PyPy. Python version should be specified in format 'x.y'. See README for examples and documentation.");return{pypyVersion:t,pythonVersion:s};}function l(e){let t="";return(0,i.WINDOWS_ARCHS).forEach(r=>t=t||o.find("PyPy",e,r)),t;}$parcel$export(e.exports,"findPyPyVersion",()=>a),r=parcelRequire("byVqd"),i=parcelRequire("6KA3p"),n=parcelRequire("bLhaJ"),s=parcelRequire("kDRhL"),o=parcelRequire("jXskH");}),parcelRegister("byVqd",function(e,t){var r,i,n,s,o,a;async function h(e,t,n,s,o){let h;if(!(o=o??(await c()))||0===o.length)throw Error("No release was found in PyPy version.json");let d=p(o,t,e,n,!1);if(!s||d&&d.foundAsset||(r.info([`Stable PyPy version ${t} (${e}) with arch ${n} not found`,"Trying pre-release versions"].join($6DZae$os.EOL)),d=p(o,t,e,n,!0)),!d||!d.foundAsset)throw Error(`PyPy version ${t} (${e}) with arch ${n} not found`);let{foundAsset:m,resolvedPythonVersion:y,resolvedPyPyVersion:E}=d,g=""+m.download_url;r.info(`Downloading PyPy from "${g}" ...`);try{let e=await i.downloadTool(g);r.info("Extracting downloaded archive..."),h=a.IS_WINDOWS?await i.extractZip(e):await i.extractTar(e,void 0,"x");let t=$parcel$interopDefault($6DZae$fs).readdirSync(h)[0],s=$6DZae$path.join(h,t),o=s;(0,a.isNightlyKeyword)(E)||(o=await i.cacheDir(s,"PyPy",y,n)),(0,a.writeExactPyPyVersionFile)(o,E);let c=f(o);return await l(c,y),await u(c),{installDir:o,resolvedPythonVersion:y,resolvedPyPyVersion:E};}catch(e){throw e instanceof Error&&(e instanceof i.HTTPError&&(403===e.httpStatusCode||429===e.httpStatusCode)?r.info(`Received HTTP status code ${e.httpStatusCode}. This usually indicates the rate limit has been exceeded`):r.info(e.message),void 0!==e.stack&&r.debug(e.stack)),e;}}async function c(){let e="https://downloads.python.org/pypy/versions.json",t=new s.HttpClient("tool-cache"),r=await t.getJson(e);if(!r.result)throw Error(`Unable to retrieve the list of available PyPy versions from '${e}'`);return r.result;}async function l(e,t){let i=n.coerce(t),s=n.major(i),o=n.minor(i),h=2===s?"":"3",c=`${s}.${o}`,l=a.IS_WINDOWS?".exe":"";r.info("Creating symlinks..."),(0,a.createSymlinkInFolder)(e,`pypy${h}${l}`,`python${s}${l}`,!0),(0,a.createSymlinkInFolder)(e,`pypy${h}${l}`,"python"+l,!0),(0,a.createSymlinkInFolder)(e,`pypy${h}${l}`,`pypy${c}${l}`,!0);}async function u(e){r.info("Installing and updating pip");let t=$6DZae$path.join(e,"python");await o.exec(`${t} -m ensurepip`),await o.exec(`${e}/python -m pip install --ignore-installed pip`);}function p(e,t,r,i,s){let o={includePrerelease:s},h=e.filter(e=>{let s=n.satisfies(n.coerce(e.python_version),t),h=(0,a.isNightlyKeyword)(r)&&(0,a.isNightlyKeyword)(e.pypy_version)||n.satisfies(d(e.pypy_version),r,o),c=e.files&&(a.IS_WINDOWS?m(e,i):y(e,i,process.platform));return s&&h&&c;});if(0===h.length)return null;let c=h.sort((e,t)=>n.compare(n.coerce(d(t.pypy_version)),n.coerce(d(e.pypy_version)))||n.compare(n.coerce(t.python_version),n.coerce(e.python_version)))[0];return{foundAsset:a.IS_WINDOWS?E(c,i):g(c,i,process.platform),resolvedPythonVersion:c.python_version,resolvedPyPyVersion:c.pypy_version.trim()};}function f(e){let t=$6DZae$path.join(e,"bin");return a.IS_WINDOWS?e:t;}function d(e){let t=/(\d+\.\d+\.\d+)((?:a|b|rc))(\d*)/g;return e.replace(t,"$1-$2.$3");}function m(e,t){return t=w(t),e.files.some(e=>(0,a.WINDOWS_PLATFORMS).includes(e.platform)&&e.arch===t);}function y(e,t,r){return e.files.some(e=>e.arch===t&&e.platform===r);}function E(e,t){return t=w(t),e.files.find(e=>(0,a.WINDOWS_PLATFORMS).includes(e.platform)&&e.arch===t);}function g(e,t,r){return e.files.find(e=>e.arch===t&&e.platform===r);}function w(e){return"x32"===e&&(e="x86"),e;}$parcel$export(e.exports,"installPyPy",()=>h),$parcel$export(e.exports,"getAvailablePyPyVersions",()=>c),$parcel$export(e.exports,"findRelease",()=>p),$parcel$export(e.exports,"getPyPyBinaryPath",()=>f),$parcel$export(e.exports,"pypyVersionToSemantic",()=>d),r=parcelRequire("kDRhL"),i=parcelRequire("jXskH"),n=parcelRequire("bLhaJ"),s=parcelRequire("3BbEx"),o=parcelRequire("7J8UA"),a=parcelRequire("6KA3p");}); +//# sourceMappingURL=actions_python.bfd29453.js.map \ No newline at end of file diff --git a/dist/actions/actions_python.bfd29453.js.map b/dist/actions/actions_python.bfd29453.js.map new file mode 100644 index 00000000..30efc722 --- /dev/null +++ b/dist/actions/actions_python.bfd29453.js.map @@ -0,0 +1 @@ +{"version":3,"file":"actions_python.bfd29453.js","names":["u","e","startsWith","p","t","o","h","IS_MAC","process","env","AGENT_TOOLSDIRECTORY","c","trim","RUNNER_TOOL_CACHE","s","debug","r","i","findPyPyVersion","d","resolvedPyPyVersion","resolvedPythonVersion","n","info","useCpythonVersion","version","impl","a","GITHUB_ACTIONS","f","join","l","pathExists","warning","IS_WINDOWS","$6DZae$path","m","getManifest","findReleaseFromManifest","y","find","files","length","installCpythonFromRelease","getOSInfo","Error","osName","osVersion","MANIFEST_URL","$6DZae$os","EOL","E","g","w","exportVariable","IS_LINUX","LD_LIBRARY_PATH","split","includes","addPath","basename","dirname","major","minor","APPDATA","x","setOutput","replace","sep","findIndex","$parcel$interopDefault","$6DZae$fs","existsSync","symlinkSync","chmodSync","validRange","v","readFileSync","toString","writeFileSync","test","stdout","getExecOutput","silent","message","parcelRequire","platform","exports","async","stream","prettyError","$parcel$global","Buffer","isBuffer","parse","finish","_custom","isDigit","CHAR_0","CHAR_9","isHexit","CHAR_A","CHAR_F","CHAR_a","CHAR_f","isBit","CHAR_1","isOctit","CHAR_7","isAlphaNumQuoteHyphen","CHAR_Z","CHAR_z","CHAR_APOS","CHAR_QUOT","CHAR_LOWBAR","CHAR_HYPHEN","isAlphaNumHyphen","hasKey","hasOwnProperty","call","defineProperty","descriptor","InlineTable","Object","defineProperties","_type","value","INLINE_TABLE","isInlineTable","Table","TABLE","_declared","writable","isTable","InlineList","INLINE_LIST","_contentType","isInlineList","List","LIST","isList","Integer","is","BigInt","Number","isSafeInteger","BoxedBigInt","isNaN","INTEGER","_inspect","isInteger","Float","FLOAT","isFloat","tomlType","Date","makeParserClass","constructor","ctx","obj","atEndOfWord","char","CHAR_NUM","CTRL_I","CHAR_SP","atEndOfLine","END","CTRL_J","CTRL_M","parseStart","CHAR_LSQB","parseTableOrList","parseComment","callNow","parseAssignStatement","error","TomlError","parseWhitespaceToEOL","goto","return","parseAssign","recordAssignStatement","key","pop","valueOf","parseKeyword","recordAssignKeyword","state","resultTable","push","parseAssignKeywordPreDot","CHAR_PERIOD","next","parseAssignKeywordPostDot","parseAssignEqual","CHAR_EQUALS","parseAssignPreValue","parseValue","recordAssignValue","returnNow","nextChar","parseTable","parseList","parseTableNext","parseTableMore","CHAR_RSQB","parseListNext","parseListMore","parseListEnd","parseDoubleString","parseSingleString","CHAR_PLUS","parseNumberSign","CHAR_i","parseInf","CHAR_n","parseNan","parseNumberOrDateTime","CHAR_t","parseBoolean","parseInlineList","recordValue","CHAR_LCUB","parseInlineTable","parseInf2","buf","parseNan2","NaN","parseBasicString","parseLiteralString","parseBareKey","consume","parseLiteralMultiStringMaybe","CHAR_DEL","CTRL_CHAR_BOUNDARY","errorControlCharInString","parseLiteralMultiString","parseLiteralMultiStringContent","parseLiteralMultiEnd","parseLiteralMultiEnd2","parseMultiStringMaybe","CHAR_BSOL","parseEscape","recordEscapeReplacement","parseMultiString","parseMultiStringContent","parseMultiEscape","recordMultiEscapeReplacement","parseMultiEnd","parseMultiEnd2","parseMultiTrim","parsePreMultiTrim","escapes","CHAR_u","parseSmallUnicode","parseUnicodeReturn","CHAR_U","parseLargeUnicode","parseInt","SURROGATE_FIRST","SURROGATE_LAST","String","fromCodePoint","wrap","parseMaybeSignedInfOrNan","parseNoUnder","parseNumberIntegerStart","parseNumberIntegerExponentOrDecimal","parseNumberInteger","parseNumberFloat","CHAR_E","CHAR_e","parseNumberExponentSign","parseNoUnderHexOctBinLiteral","parseNumberExponent","parseNumberBaseOrDateTime","parseNumberOrDateTimeOnly","parseDateTime","CHAR_COLON","parseOnlyTimeHour","parseDateTimeOnly","CHAR_b","parseIntegerBin","CHAR_o","parseIntegerOct","CHAR_x","parseIntegerHex","result","parseDateMonth","parseDateDay","CHAR_T","parseStartTimeHour","$3F69E","parseTimeHour","parseTimeMin","parseTimeSec","parseTimeZoneOrFraction","parseOnlyTimeMin","parseOnlyTimeSec","parseOnlyTimeFractionMaybe","$2O0km","parseOnlyTimeFraction","parseDateTimeFraction","parseTimeZoneHour","$6kIrd","$2yfSX","parseTimeZoneSep","parseTimeZoneMin","parseTrue_r","parseFalse_a","CHAR_r","parseTrue_u","parseTrue_e","parseFalse_l","CHAR_l","parseFalse_s","CHAR_s","parseFalse_e","resultArr","recordInlineListValue","parseInlineListNext","CHAR_COMMA","CHAR_RCUB","recordInlineTableValue","parseInlineTableNext","module","name","captureStackTrace","fromTOML","wrapped","code","Symbol","prototype","configurable","enumerable","utilInspect","eval","custom","_","asIntN","parser","returned","pos","col","line","stack","_buf","ii","runOne","codePointAt","haveBuffer","JSON","stringify","TypeError","isFloating","toISOString","getUTCFullYear","getUTCMonth","getUTCDate","getUTCHours","getUTCMinutes","getUTCSeconds","getUTCMilliseconds","isDate","isTime","Math","min","max","slice","setImmediate","blocksize","Promise","setEncoding","read","once","$6DZae$stream","Transform","objectMode","transform","emit","flush","toJSON","keys","filter","Array","isArray","forEach","T","map","I","S","R","b","O","every","N","P","L","findFromManifest","getManifestFromRepo","cwd","listeners","stderr","exec","download_url","downloadTool","extractZip","extractTar","HTTPError","httpStatusCode","getInput","F","H","default","D","mkdirP","A","RetryHelper","execute","W","M","U","HttpClient","q","allowRetries","authorization","get","statusCode","statusMessage","G","promisify","k","pipeline","createWriteStream","rmRF","$6DZae$assert","ok","B","chdir","isDebug","C","which","ignoreReturnCode","toUpperCase","X","unshift","V","clean","j","arch","statSync","isDirectory","readdirSync","cp","recursive","isFile","getJson","tree","path","url","accept","readBody","$","_findMatch","valid","sort","gt","satisfies","RUNNER_TEMP","from","Set","$6DZae$util","setPrototypeOf","new","target","extract7z","extractXar","cacheDir","cacheFile","findAllVersions","isExplicitVersion","evaluateVersions","stable","platform_version","_getOsVersion","assign","$6DZae$child_process","execSync","_readLinuxVersionFile","eh","ec","eu","loose","includePrerelease","et","eo","LOOSE","FULL","ee","options","match","raw","patch","er","prerelease","build","format","inc","em","compare","compareBuild","semver","ey","operator","set","parseRange","intersects","toLowerCase","TILDELOOSE","TILDE","CARETLOOSE","CARET","XRANGELOOSE","XRANGE","STAR","range","K","J","Y","Z","z","Q","rtl","COERCERTL","index","lastIndex","COERCE","NODE_DEBUG","arguments","console","log","apply","SEMVER_SPEC_VERSION","MAX_SAFE_INTEGER","ei","en","es","re","safeRe","ea","src","tokens","el","NUMERICIDENTIFIER","NUMERICIDENTIFIERLOOSE","NONNUMERICIDENTIFIER","MAINVERSION","MAINVERSIONLOOSE","PRERELEASEIDENTIFIER","PRERELEASEIDENTIFIERLOOSE","PRERELEASE","PRERELEASELOOSE","BUILDIDENTIFIER","BUILD","FULLPLAIN","LOOSEPLAIN","GTLT","XRANGEIDENTIFIERLOOSE","XRANGEIDENTIFIER","XRANGEPLAIN","XRANGEPLAINLOOSE","RegExp","LONETILDE","TILDETRIM","ep","LONECARET","CARETTRIM","ef","COMPARATORLOOSE","COMPARATOR","COMPARATORTRIM","ed","HYPHENRANGE","HYPHENRANGELOOSE","eE","SemVer","compareMain","comparePre","diff","compareIdentifiers","rcompareIdentifiers","compareLoose","rcompare","rsort","lt","eq","neq","gte","lte","cmp","Comparator","Range","some","toComparators","maxSatisfying","minSatisfying","minVersion","ltr","gtr","outside","coerce","random","rng","$6DZae$crypto","randomBytes","substr","maxAttempts","minSeconds","floor","maxSeconds","getSleepAmount","sleep","setTimeout","getAvailablePyPyVersions","findRelease","pythonVersion","pypyVersion","installDir","installPyPy","getPyPyBinaryPath","getPyPyVersionFromPath","readExactPyPyVersionFile","splice","pypyVersionToSemantic","validateVersion","validatePythonVersionFormatForPyPy","WINDOWS_ARCHS","foundAsset","isNightlyKeyword","writeExactPyPyVersionFile","createSymlinkInFolder","python_version","pypy_version","WINDOWS_PLATFORMS"],"sources":["../../","../../src/python/actions_python.ts","../../node_modules/setup-python/src/find-python.ts","../../node_modules/setup-python/src/utils.ts","../../node_modules/@iarna/toml/toml.js","../../node_modules/@iarna/toml/parse.js","../../node_modules/@iarna/toml/parse-string.js","../../node_modules/@iarna/toml/lib/toml-parser.js","../../node_modules/@iarna/toml/lib/parser.js","../../node_modules/@iarna/toml/lib/create-datetime.js","../../node_modules/@iarna/toml/lib/create-datetime-float.js","../../node_modules/@iarna/toml/lib/format-num.js","../../node_modules/@iarna/toml/lib/create-date.js","../../node_modules/@iarna/toml/lib/create-time.js","../../node_modules/@iarna/toml/parse-pretty-error.js","../../node_modules/@iarna/toml/parse-async.js","../../node_modules/@iarna/toml/parse-stream.js","../../node_modules/@iarna/toml/stringify.js","../../node_modules/setup-python/src/install-python.ts","../../node_modules/setup-python/node_modules/@actions/tool-cache/lib/tool-cache.js","../../node_modules/setup-python/node_modules/@actions/tool-cache/src/tool-cache.ts","../../node_modules/setup-python/node_modules/@actions/tool-cache/lib/manifest.js","../../node_modules/setup-python/node_modules/@actions/tool-cache/src/manifest.ts","../../node_modules/setup-python/node_modules/@actions/tool-cache/node_modules/semver/semver.js","../../node_modules/setup-python/node_modules/uuid/v4.js","../../node_modules/setup-python/node_modules/uuid/lib/rng.js","../../node_modules/setup-python/node_modules/uuid/lib/bytesToUuid.js","../../node_modules/setup-python/node_modules/@actions/tool-cache/lib/retry-helper.js","../../node_modules/setup-python/node_modules/@actions/tool-cache/src/retry-helper.ts","../../node_modules/setup-python/src/find-pypy.ts","../../node_modules/setup-python/src/install-pypy.ts"],"sourcesContent":["var $6DZae$path = require(\"path\");\nvar $6DZae$os = require(\"os\");\nvar $6DZae$fs = require(\"fs\");\nvar $6DZae$stream = require(\"stream\");\nvar $6DZae$util = require(\"util\");\nvar $6DZae$assert = require(\"assert\");\nvar $6DZae$child_process = require(\"child_process\");\nvar $6DZae$crypto = require(\"crypto\");\n\n\nfunction $parcel$export(e, n, v, s) {\n Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});\n}\n\nfunction $parcel$interopDefault(a) {\n return a && a.__esModule ? a.default : a;\n}\n\n var $parcel$global = globalThis;\n var parcelRequire = $parcel$global[\"parcelRequire810d\"];\nvar parcelRegister = parcelRequire.register;\nparcelRegister(\"8MXq9\", function(module, exports) {\n\n$parcel$export(module.exports, \"setupActionsPython\", () => $e56280cbf4490748$export$5655ebf4048b68d5);\n\nvar $8Q1EI = parcelRequire(\"8Q1EI\");\n\nvar $2hRl9 = parcelRequire(\"2hRl9\");\n\nvar $7Lz0k = parcelRequire(\"7Lz0k\");\n\nvar $kDRhL = parcelRequire(\"kDRhL\");\n\nvar $bLa2q = parcelRequire(\"bLa2q\");\n\nvar $l6WDk = parcelRequire(\"l6WDk\");\n\nvar $6KA3p = parcelRequire(\"6KA3p\");\n\nvar $6MdIz = parcelRequire(\"6MdIz\");\n\nvar $e56280cbf4490748$var$$parcel$__dirname = $6DZae$path.resolve(__dirname, \"../../src/python\");\nfunction $e56280cbf4490748$var$isPyPyVersion(versionSpec) {\n return versionSpec.startsWith(\"pypy\");\n}\nconst $e56280cbf4490748$var$checkLatest = false;\nasync function $e56280cbf4490748$export$5655ebf4048b68d5(version, _setupDir, arch) {\n if (0, $6KA3p.IS_MAC) process.env.AGENT_TOOLSDIRECTORY = \"/Users/runner/hostedtoolcache\";\n const agent_toolsdirectory = process.env.AGENT_TOOLSDIRECTORY?.trim();\n if (typeof agent_toolsdirectory === \"string\" && agent_toolsdirectory !== \"\") process.env.RUNNER_TOOL_CACHE = process.env.AGENT_TOOLSDIRECTORY;\n (0, $kDRhL.debug)(`Python is expected to be installed into ${process.env.RUNNER_TOOL_CACHE}`);\n if (version) {\n let pythonVersion;\n if ($e56280cbf4490748$var$isPyPyVersion(version)) {\n const installed = await (0, $2hRl9.findPyPyVersion)(version, arch, true, $e56280cbf4490748$var$checkLatest, false);\n pythonVersion = `${installed.resolvedPyPyVersion}-${installed.resolvedPythonVersion}`;\n (0, $7Lz0k.info)(`Successfully set up PyPy ${installed.resolvedPyPyVersion} with Python (${installed.resolvedPythonVersion})`);\n } else {\n const installed = await (0, $8Q1EI.useCpythonVersion)(version, arch, true, $e56280cbf4490748$var$checkLatest, false);\n pythonVersion = installed.version;\n (0, $7Lz0k.info)(`Successfully set up ${installed.impl} (${pythonVersion})`);\n }\n // const cache = false\n // if (cache) {\n // const { cacheDependencies } = await import(\"setup-python/src/cache-dependencies\")\n // await cacheDependencies(\"pip\", pythonVersion)\n // }\n }\n if (0, $l6WDk.GITHUB_ACTIONS) await $e56280cbf4490748$var$addPythonLoggingMatcher();\n return undefined;\n}\nasync function $e56280cbf4490748$var$addPythonLoggingMatcher() {\n const matcherPath = (0, $bLa2q.join)($e56280cbf4490748$var$$parcel$__dirname, \"python_matcher.json\");\n if (!await (0, $6MdIz.pathExists)(matcherPath)) return (0, $7Lz0k.warning)(\"the python_matcher.json file does not exist in the same folder as setup-cpp.js\");\n (0, $7Lz0k.info)(`::add-matcher::${matcherPath}`);\n}\n\n});\nparcelRegister(\"8Q1EI\", function(module, exports) {\n\n$parcel$export(module.exports, \"useCpythonVersion\", () => $3e047aa3baec53fc$export$c90655100676e173);\n\n\n\nvar $6KA3p = parcelRequire(\"6KA3p\");\n\nvar $bLhaJ = parcelRequire(\"bLhaJ\");\n\nvar $eYukg = parcelRequire(\"eYukg\");\n\nvar $kDRhL = parcelRequire(\"kDRhL\");\n\nvar $jXskH = parcelRequire(\"jXskH\");\n// Python has \"scripts\" or \"bin\" directories where command-line tools that come with packages are installed.\n// This is where pip is, along with anything that pip installs.\n// There is a separate directory for `pip install --user`.\n//\n// For reference, these directories are as follows:\n// macOS / Linux:\n// /bin (by default /usr/local/bin, but not on hosted agents -- see the `else`)\n// (--user) ~/.local/bin\n// Windows:\n// \\Scripts\n// (--user) %APPDATA%\\Python\\PythonXY\\Scripts\n// See https://docs.python.org/3/library/sysconfig.html\nfunction $3e047aa3baec53fc$var$binDir(installDir) {\n if (0, $6KA3p.IS_WINDOWS) return $6DZae$path.join(installDir, \"Scripts\");\n else return $6DZae$path.join(installDir, \"bin\");\n}\nasync function $3e047aa3baec53fc$export$c90655100676e173(version, architecture, updateEnvironment, checkLatest, allowPreReleases) {\n let manifest = null;\n const desugaredVersionSpec = $3e047aa3baec53fc$var$desugarDevVersion(version);\n let semanticVersionSpec = $3e047aa3baec53fc$export$2630b06843feee21(desugaredVersionSpec, allowPreReleases);\n $kDRhL.debug(`Semantic version spec of ${version} is ${semanticVersionSpec}`);\n if (checkLatest) {\n manifest = await $eYukg.getManifest();\n const resolvedVersion = (await $eYukg.findReleaseFromManifest(semanticVersionSpec, architecture, manifest))?.version;\n if (resolvedVersion) {\n semanticVersionSpec = resolvedVersion;\n $kDRhL.info(`Resolved as '${semanticVersionSpec}'`);\n } else $kDRhL.info(`Failed to resolve version ${semanticVersionSpec} from manifest`);\n }\n let installDir = $jXskH.find(\"Python\", semanticVersionSpec, architecture);\n if (!installDir) {\n $kDRhL.info(`Version ${semanticVersionSpec} was not found in the local cache`);\n const foundRelease = await $eYukg.findReleaseFromManifest(semanticVersionSpec, architecture, manifest);\n if (foundRelease && foundRelease.files && foundRelease.files.length > 0) {\n $kDRhL.info(`Version ${semanticVersionSpec} is available for downloading`);\n await $eYukg.installCpythonFromRelease(foundRelease);\n installDir = $jXskH.find(\"Python\", semanticVersionSpec, architecture);\n }\n }\n if (!installDir) {\n const osInfo = await (0, $6KA3p.getOSInfo)();\n throw new Error([\n `The version '${version}' with architecture '${architecture}' was not found for ${osInfo ? `${osInfo.osName} ${osInfo.osVersion}` : \"this operating system\"}.`,\n `The list of all available versions can be found here: ${$eYukg.MANIFEST_URL}`\n ].join($6DZae$os.EOL));\n }\n const _binDir = $3e047aa3baec53fc$var$binDir(installDir);\n const binaryExtension = (0, $6KA3p.IS_WINDOWS) ? \".exe\" : \"\";\n const pythonPath = $6DZae$path.join((0, $6KA3p.IS_WINDOWS) ? installDir : _binDir, `python${binaryExtension}`);\n if (updateEnvironment) {\n $kDRhL.exportVariable(\"pythonLocation\", installDir);\n $kDRhL.exportVariable(\"PKG_CONFIG_PATH\", installDir + \"/lib/pkgconfig\");\n $kDRhL.exportVariable(\"pythonLocation\", installDir);\n // https://cmake.org/cmake/help/latest/module/FindPython.html#module:FindPython\n $kDRhL.exportVariable(\"Python_ROOT_DIR\", installDir);\n // https://cmake.org/cmake/help/latest/module/FindPython2.html#module:FindPython2\n $kDRhL.exportVariable(\"Python2_ROOT_DIR\", installDir);\n // https://cmake.org/cmake/help/latest/module/FindPython3.html#module:FindPython3\n $kDRhL.exportVariable(\"Python3_ROOT_DIR\", installDir);\n $kDRhL.exportVariable(\"PKG_CONFIG_PATH\", installDir + \"/lib/pkgconfig\");\n if (0, $6KA3p.IS_LINUX) {\n const libPath = process.env.LD_LIBRARY_PATH ? `:${process.env.LD_LIBRARY_PATH}` : \"\";\n const pyLibPath = $6DZae$path.join(installDir, \"lib\");\n if (!libPath.split(\":\").includes(pyLibPath)) $kDRhL.exportVariable(\"LD_LIBRARY_PATH\", pyLibPath + libPath);\n }\n $kDRhL.addPath(installDir);\n $kDRhL.addPath(_binDir);\n if (0, $6KA3p.IS_WINDOWS) {\n // Add --user directory\n // `installDir` from tool cache should look like $RUNNER_TOOL_CACHE/Python//x64/\n // So if `findLocalTool` succeeded above, we must have a conformant `installDir`\n const version = $6DZae$path.basename($6DZae$path.dirname(installDir));\n const major = $bLhaJ.major(version);\n const minor = $bLhaJ.minor(version);\n const userScriptsDir = $6DZae$path.join(process.env[\"APPDATA\"] || \"\", \"Python\", `Python${major}${minor}`, \"Scripts\");\n $kDRhL.addPath(userScriptsDir);\n }\n // On Linux and macOS, pip will create the --user directory and add it to PATH as needed.\n }\n const installed = $3e047aa3baec53fc$var$versionFromPath(installDir);\n $kDRhL.setOutput(\"python-version\", installed);\n $kDRhL.setOutput(\"python-path\", pythonPath);\n return {\n impl: \"CPython\",\n version: installed\n };\n}\n/** Convert versions like `3.8-dev` to a version like `~3.8.0-0`. */ function $3e047aa3baec53fc$var$desugarDevVersion(versionSpec) {\n const devVersion = /^(\\d+)\\.(\\d+)-dev$/;\n return versionSpec.replace(devVersion, \"~$1.$2.0-0\");\n}\n/** Extracts python version from install path from hosted tool cache as described in README.md */ function $3e047aa3baec53fc$var$versionFromPath(installDir) {\n const parts = installDir.split($6DZae$path.sep);\n const idx = parts.findIndex((part)=>part === \"PyPy\" || part === \"Python\");\n return parts[idx + 1] || \"\";\n}\nfunction $3e047aa3baec53fc$export$2630b06843feee21(versionSpec, allowPreReleases) {\n const prereleaseVersion = /(\\d+\\.\\d+\\.\\d+)((?:a|b|rc)\\d*)/g;\n const majorMinor = /^(\\d+)\\.(\\d+)$/;\n let result = versionSpec.replace(prereleaseVersion, \"$1-$2\");\n if (allowPreReleases) result = result.replace(majorMinor, \"~$1.$2.0-0\");\n return result;\n}\n\n});\nparcelRegister(\"6KA3p\", function(module, exports) {\n\n$parcel$export(module.exports, \"IS_WINDOWS\", () => $33bbaba5af1ee1fb$export$82633ee808573685);\n$parcel$export(module.exports, \"IS_LINUX\", () => $33bbaba5af1ee1fb$export$25e95d65b6faeb9a);\n$parcel$export(module.exports, \"IS_MAC\", () => $33bbaba5af1ee1fb$export$ff23e6b4c4401383);\n$parcel$export(module.exports, \"WINDOWS_ARCHS\", () => $33bbaba5af1ee1fb$export$175751bac16078cf);\n$parcel$export(module.exports, \"WINDOWS_PLATFORMS\", () => $33bbaba5af1ee1fb$export$da6ba390a22488d5);\n$parcel$export(module.exports, \"createSymlinkInFolder\", () => $33bbaba5af1ee1fb$export$b0a6cbd0a3e3c63a);\n$parcel$export(module.exports, \"validateVersion\", () => $33bbaba5af1ee1fb$export$7880c8f0bb8a6afd);\n$parcel$export(module.exports, \"isNightlyKeyword\", () => $33bbaba5af1ee1fb$export$ea46fc8abcf9f209);\n$parcel$export(module.exports, \"getPyPyVersionFromPath\", () => $33bbaba5af1ee1fb$export$8a23ea91582cecbc);\n$parcel$export(module.exports, \"readExactPyPyVersionFile\", () => $33bbaba5af1ee1fb$export$15e4ce4ad93c8c8a);\n$parcel$export(module.exports, \"writeExactPyPyVersionFile\", () => $33bbaba5af1ee1fb$export$8fb7815f538587a8);\n$parcel$export(module.exports, \"validatePythonVersionFormatForPyPy\", () => $33bbaba5af1ee1fb$export$3dc910628be7a364);\n$parcel$export(module.exports, \"getOSInfo\", () => $33bbaba5af1ee1fb$export$471d7e4c229dedf);\n/* eslint no-unsafe-finally: \"off\" */ \nvar $kDRhL = parcelRequire(\"kDRhL\");\n\n\n\nvar $bLhaJ = parcelRequire(\"bLhaJ\");\n\nvar $jOYUx = parcelRequire(\"jOYUx\");\n\nvar $7J8UA = parcelRequire(\"7J8UA\");\nconst $33bbaba5af1ee1fb$export$82633ee808573685 = process.platform === \"win32\";\nconst $33bbaba5af1ee1fb$export$25e95d65b6faeb9a = process.platform === \"linux\";\nconst $33bbaba5af1ee1fb$export$ff23e6b4c4401383 = process.platform === \"darwin\";\nconst $33bbaba5af1ee1fb$export$175751bac16078cf = [\n \"x86\",\n \"x64\"\n];\nconst $33bbaba5af1ee1fb$export$da6ba390a22488d5 = [\n \"win32\",\n \"win64\"\n];\nconst $33bbaba5af1ee1fb$var$PYPY_VERSION_FILE = \"PYPY_VERSION\";\nfunction $33bbaba5af1ee1fb$export$b0a6cbd0a3e3c63a(folderPath, sourceName, targetName, setExecutable = false) {\n const sourcePath = $6DZae$path.join(folderPath, sourceName);\n const targetPath = $6DZae$path.join(folderPath, targetName);\n if ((0, ($parcel$interopDefault($6DZae$fs))).existsSync(targetPath)) return;\n (0, ($parcel$interopDefault($6DZae$fs))).symlinkSync(sourcePath, targetPath);\n if (!$33bbaba5af1ee1fb$export$82633ee808573685 && setExecutable) (0, ($parcel$interopDefault($6DZae$fs))).chmodSync(targetPath, \"755\");\n}\nfunction $33bbaba5af1ee1fb$export$7880c8f0bb8a6afd(version) {\n return $33bbaba5af1ee1fb$export$ea46fc8abcf9f209(version) || Boolean($bLhaJ.validRange(version));\n}\nfunction $33bbaba5af1ee1fb$export$ea46fc8abcf9f209(pypyVersion) {\n return pypyVersion === \"nightly\";\n}\nfunction $33bbaba5af1ee1fb$export$8a23ea91582cecbc(installDir) {\n return $6DZae$path.basename($6DZae$path.dirname(installDir));\n}\nfunction $33bbaba5af1ee1fb$export$15e4ce4ad93c8c8a(installDir) {\n let pypyVersion = \"\";\n const fileVersion = $6DZae$path.join(installDir, $33bbaba5af1ee1fb$var$PYPY_VERSION_FILE);\n if ((0, ($parcel$interopDefault($6DZae$fs))).existsSync(fileVersion)) pypyVersion = (0, ($parcel$interopDefault($6DZae$fs))).readFileSync(fileVersion).toString().trim();\n return pypyVersion;\n}\nfunction $33bbaba5af1ee1fb$export$8fb7815f538587a8(installDir, resolvedPyPyVersion) {\n const pypyFilePath = $6DZae$path.join(installDir, $33bbaba5af1ee1fb$var$PYPY_VERSION_FILE);\n (0, ($parcel$interopDefault($6DZae$fs))).writeFileSync(pypyFilePath, resolvedPyPyVersion);\n}\nfunction $33bbaba5af1ee1fb$export$3dc910628be7a364(version) {\n const re = /^\\d+\\.\\d+$/;\n return re.test(version);\n}\nfunction $33bbaba5af1ee1fb$export$ebd6064652549ce9(message) {\n const warningPrefix = \"[warning]\";\n $kDRhL.info(`${warningPrefix}${message}`);\n}\nasync function $33bbaba5af1ee1fb$var$getWindowsInfo() {\n const { stdout: stdout } = await $7J8UA.getExecOutput('powershell -command \"(Get-CimInstance -ClassName Win32_OperatingSystem).Caption\"', undefined, {\n silent: true\n });\n const windowsVersion = stdout.trim().split(\" \")[3];\n return {\n osName: \"Windows\",\n osVersion: windowsVersion\n };\n}\nasync function $33bbaba5af1ee1fb$var$getMacOSInfo() {\n const { stdout: stdout } = await $7J8UA.getExecOutput(\"sw_vers\", [\n \"-productVersion\"\n ], {\n silent: true\n });\n const macOSVersion = stdout.trim();\n return {\n osName: \"macOS\",\n osVersion: macOSVersion\n };\n}\nasync function $33bbaba5af1ee1fb$export$734019fa9b4b8da() {\n const { stdout: stdout } = await $7J8UA.getExecOutput(\"lsb_release\", [\n \"-i\",\n \"-r\",\n \"-s\"\n ], {\n silent: true\n });\n const [osName, osVersion] = stdout.trim().split(\"\\n\");\n $kDRhL.debug(`OS Name: ${osName}, Version: ${osVersion}`);\n return {\n osName: osName,\n osVersion: osVersion\n };\n}\nasync function $33bbaba5af1ee1fb$export$471d7e4c229dedf() {\n let osInfo;\n try {\n if ($33bbaba5af1ee1fb$export$82633ee808573685) osInfo = await $33bbaba5af1ee1fb$var$getWindowsInfo();\n else if ($33bbaba5af1ee1fb$export$25e95d65b6faeb9a) osInfo = await $33bbaba5af1ee1fb$export$734019fa9b4b8da();\n else if ($33bbaba5af1ee1fb$export$ff23e6b4c4401383) osInfo = await $33bbaba5af1ee1fb$var$getMacOSInfo();\n } catch (err) {\n const error = err;\n $kDRhL.debug(error.message);\n } finally{\n return osInfo;\n }\n}\n/**\n * Extract a value from an object by following the keys path provided.\n * If the value is present, it is returned. Otherwise undefined is returned.\n */ function $33bbaba5af1ee1fb$var$extractValue(obj, keys) {\n if (keys.length > 0) {\n const value = obj[keys[0]];\n if (keys.length > 1 && value !== undefined) return $33bbaba5af1ee1fb$var$extractValue(value, keys.slice(1));\n else return value;\n } else return;\n}\nfunction $33bbaba5af1ee1fb$export$62b63db2b7d00b3a(versionFile) {\n $kDRhL.debug(`Trying to resolve version form ${versionFile}`);\n const pyprojectFile = (0, ($parcel$interopDefault($6DZae$fs))).readFileSync(versionFile, \"utf8\");\n const pyprojectConfig = $jOYUx.parse(pyprojectFile);\n let keys = [];\n if (\"project\" in pyprojectConfig) // standard project metadata (PEP 621)\n keys = [\n \"project\",\n \"requires-python\"\n ];\n else // python poetry\n keys = [\n \"tool\",\n \"poetry\",\n \"dependencies\",\n \"python\"\n ];\n const versions = [];\n const version = $33bbaba5af1ee1fb$var$extractValue(pyprojectConfig, keys);\n if (version !== undefined) versions.push(version);\n $kDRhL.info(`Extracted ${versions} from ${versionFile}`);\n const rawVersions = Array.from(versions, (version)=>version.split(\",\").join(\" \"));\n const validatedVersions = rawVersions.map((item)=>$bLhaJ.validRange(item, true)).filter((versionRange, index)=>{\n if (!versionRange) $kDRhL.debug(`The version ${rawVersions[index]} is not valid SemVer range`);\n return !!versionRange;\n });\n return validatedVersions;\n}\nfunction $33bbaba5af1ee1fb$export$6bdea68547837ebb(versionFile) {\n $kDRhL.debug(`Trying to resolve version form ${versionFile}`);\n const version = (0, ($parcel$interopDefault($6DZae$fs))).readFileSync(versionFile, \"utf8\");\n $kDRhL.info(`Resolved ${versionFile} as ${version}`);\n return [\n version\n ];\n}\nfunction $33bbaba5af1ee1fb$export$7ffda0a4baa8880a(versionFile) {\n if (versionFile.endsWith(\".toml\")) return $33bbaba5af1ee1fb$export$62b63db2b7d00b3a(versionFile);\n else return $33bbaba5af1ee1fb$export$6bdea68547837ebb(versionFile);\n}\n\n});\nparcelRegister(\"jOYUx\", function(module, exports) {\n\n$parcel$export(module.exports, \"parse\", () => $e6e1ef7805090ec3$export$98e6a39c04603d36, (v) => $e6e1ef7805090ec3$export$98e6a39c04603d36 = v);\nvar $e6e1ef7805090ec3$export$98e6a39c04603d36;\nvar $e6e1ef7805090ec3$export$fac44ee5b035f737;\n\"use strict\";\n\n$e6e1ef7805090ec3$export$98e6a39c04603d36 = (parcelRequire(\"6Iwds\"));\n\n$e6e1ef7805090ec3$export$fac44ee5b035f737 = (parcelRequire(\"gkJPC\"));\n\n});\nparcelRegister(\"6Iwds\", function(module, exports) {\n\"use strict\";\n\nmodule.exports = (parcelRequire(\"25YWb\"));\n\nmodule.exports.async = (parcelRequire(\"7rbfJ\"));\n\nmodule.exports.stream = (parcelRequire(\"5EgNa\"));\n\nmodule.exports.prettyError = (parcelRequire(\"5MRfw\"));\n\n});\nparcelRegister(\"25YWb\", function(module, exports) {\n\"use strict\";\nmodule.exports = $186b51518175eb12$var$parseString;\n\nvar $bR2Jq = parcelRequire(\"bR2Jq\");\n\nvar $5MRfw = parcelRequire(\"5MRfw\");\nfunction $186b51518175eb12$var$parseString(str) {\n if ($parcel$global.Buffer && $parcel$global.Buffer.isBuffer(str)) str = str.toString(\"utf8\");\n const parser = new $bR2Jq();\n try {\n parser.parse(str);\n return parser.finish();\n } catch (err) {\n throw $5MRfw(err, str);\n }\n}\n\n});\nparcelRegister(\"bR2Jq\", function(module, exports) {\n\"use strict\";\n\n/* eslint-disable no-new-wrappers, no-eval, camelcase, operator-linebreak */ module.exports = makeParserClass((parcelRequire(\"8EW4n\")));\nmodule.exports.makeParserClass = makeParserClass;\nclass TomlError extends Error {\n constructor(msg){\n super(msg);\n this.name = \"TomlError\";\n /* istanbul ignore next */ if (Error.captureStackTrace) Error.captureStackTrace(this, TomlError);\n this.fromTOML = true;\n this.wrapped = null;\n }\n}\nTomlError.wrap = (err)=>{\n const terr = new TomlError(err.message);\n terr.code = err.code;\n terr.wrapped = err;\n return terr;\n};\nmodule.exports.TomlError = TomlError;\n\nvar $6kIrd = parcelRequire(\"6kIrd\");\n\nvar $2yfSX = parcelRequire(\"2yfSX\");\n\nvar $3F69E = parcelRequire(\"3F69E\");\n\nvar $2O0km = parcelRequire(\"2O0km\");\nconst CTRL_I = 0x09;\nconst CTRL_J = 0x0A;\nconst CTRL_M = 0x0D;\nconst CTRL_CHAR_BOUNDARY = 0x1F // the last non-character in the latin1 region of unicode, except DEL\n;\nconst CHAR_SP = 0x20;\nconst CHAR_QUOT = 0x22;\nconst CHAR_NUM = 0x23;\nconst CHAR_APOS = 0x27;\nconst CHAR_PLUS = 0x2B;\nconst CHAR_COMMA = 0x2C;\nconst CHAR_HYPHEN = 0x2D;\nconst CHAR_PERIOD = 0x2E;\nconst CHAR_0 = 0x30;\nconst CHAR_1 = 0x31;\nconst CHAR_7 = 0x37;\nconst CHAR_9 = 0x39;\nconst CHAR_COLON = 0x3A;\nconst CHAR_EQUALS = 0x3D;\nconst CHAR_A = 0x41;\nconst CHAR_E = 0x45;\nconst CHAR_F = 0x46;\nconst CHAR_T = 0x54;\nconst CHAR_U = 0x55;\nconst CHAR_Z = 0x5A;\nconst CHAR_LOWBAR = 0x5F;\nconst CHAR_a = 0x61;\nconst CHAR_b = 0x62;\nconst CHAR_e = 0x65;\nconst CHAR_f = 0x66;\nconst CHAR_i = 0x69;\nconst CHAR_l = 0x6C;\nconst CHAR_n = 0x6E;\nconst CHAR_o = 0x6F;\nconst CHAR_r = 0x72;\nconst CHAR_s = 0x73;\nconst CHAR_t = 0x74;\nconst CHAR_u = 0x75;\nconst CHAR_x = 0x78;\nconst CHAR_z = 0x7A;\nconst CHAR_LCUB = 0x7B;\nconst CHAR_RCUB = 0x7D;\nconst CHAR_LSQB = 0x5B;\nconst CHAR_BSOL = 0x5C;\nconst CHAR_RSQB = 0x5D;\nconst CHAR_DEL = 0x7F;\nconst SURROGATE_FIRST = 0xD800;\nconst SURROGATE_LAST = 0xDFFF;\nconst escapes = {\n [CHAR_b]: \"\\b\",\n [CHAR_t]: \"\t\",\n [CHAR_n]: \"\\n\",\n [CHAR_f]: \"\\f\",\n [CHAR_r]: \"\\r\",\n [CHAR_QUOT]: '\"',\n [CHAR_BSOL]: \"\\\\\"\n};\nfunction isDigit(cp) {\n return cp >= CHAR_0 && cp <= CHAR_9;\n}\nfunction isHexit(cp) {\n return cp >= CHAR_A && cp <= CHAR_F || cp >= CHAR_a && cp <= CHAR_f || cp >= CHAR_0 && cp <= CHAR_9;\n}\nfunction isBit(cp) {\n return cp === CHAR_1 || cp === CHAR_0;\n}\nfunction isOctit(cp) {\n return cp >= CHAR_0 && cp <= CHAR_7;\n}\nfunction isAlphaNumQuoteHyphen(cp) {\n return cp >= CHAR_A && cp <= CHAR_Z || cp >= CHAR_a && cp <= CHAR_z || cp >= CHAR_0 && cp <= CHAR_9 || cp === CHAR_APOS || cp === CHAR_QUOT || cp === CHAR_LOWBAR || cp === CHAR_HYPHEN;\n}\nfunction isAlphaNumHyphen(cp) {\n return cp >= CHAR_A && cp <= CHAR_Z || cp >= CHAR_a && cp <= CHAR_z || cp >= CHAR_0 && cp <= CHAR_9 || cp === CHAR_LOWBAR || cp === CHAR_HYPHEN;\n}\nconst _type = Symbol(\"type\");\nconst _declared = Symbol(\"declared\");\nconst hasOwnProperty = Object.prototype.hasOwnProperty;\nconst defineProperty = Object.defineProperty;\nconst descriptor = {\n configurable: true,\n enumerable: true,\n writable: true,\n value: undefined\n};\nfunction hasKey(obj, key) {\n if (hasOwnProperty.call(obj, key)) return true;\n if (key === \"__proto__\") defineProperty(obj, \"__proto__\", descriptor);\n return false;\n}\nconst INLINE_TABLE = Symbol(\"inline-table\");\nfunction InlineTable() {\n return Object.defineProperties({}, {\n [_type]: {\n value: INLINE_TABLE\n }\n });\n}\nfunction isInlineTable(obj) {\n if (obj === null || typeof obj !== \"object\") return false;\n return obj[_type] === INLINE_TABLE;\n}\nconst TABLE = Symbol(\"table\");\nfunction Table() {\n return Object.defineProperties({}, {\n [_type]: {\n value: TABLE\n },\n [_declared]: {\n value: false,\n writable: true\n }\n });\n}\nfunction isTable(obj) {\n if (obj === null || typeof obj !== \"object\") return false;\n return obj[_type] === TABLE;\n}\nconst _contentType = Symbol(\"content-type\");\nconst INLINE_LIST = Symbol(\"inline-list\");\nfunction InlineList(type) {\n return Object.defineProperties([], {\n [_type]: {\n value: INLINE_LIST\n },\n [_contentType]: {\n value: type\n }\n });\n}\nfunction isInlineList(obj) {\n if (obj === null || typeof obj !== \"object\") return false;\n return obj[_type] === INLINE_LIST;\n}\nconst LIST = Symbol(\"list\");\nfunction List() {\n return Object.defineProperties([], {\n [_type]: {\n value: LIST\n }\n });\n}\nfunction isList(obj) {\n if (obj === null || typeof obj !== \"object\") return false;\n return obj[_type] === LIST;\n}\n// in an eval, to let bundlers not slurp in a util proxy\nlet _custom;\ntry {\n const utilInspect = eval(\"require('util').inspect\");\n _custom = utilInspect.custom;\n} catch (_) {\n/* eval require not available in transpiled bundle */ }\n/* istanbul ignore next */ const _inspect = _custom || \"inspect\";\nclass BoxedBigInt {\n constructor(value){\n try {\n this.value = $parcel$global.BigInt.asIntN(64, value);\n } catch (_) {\n /* istanbul ignore next */ this.value = null;\n }\n Object.defineProperty(this, _type, {\n value: INTEGER\n });\n }\n isNaN() {\n return this.value === null;\n }\n /* istanbul ignore next */ toString() {\n return String(this.value);\n }\n /* istanbul ignore next */ [_inspect]() {\n return `[BigInt: ${this.toString()}]}`;\n }\n valueOf() {\n return this.value;\n }\n}\nconst INTEGER = Symbol(\"integer\");\nfunction Integer(value) {\n let num = Number(value);\n // -0 is a float thing, not an int thing\n if (Object.is(num, -0)) num = 0;\n /* istanbul ignore else */ if ($parcel$global.BigInt && !Number.isSafeInteger(num)) return new BoxedBigInt(value);\n else /* istanbul ignore next */ return Object.defineProperties(new Number(num), {\n isNaN: {\n value: function() {\n return isNaN(this);\n }\n },\n [_type]: {\n value: INTEGER\n },\n [_inspect]: {\n value: ()=>`[Integer: ${value}]`\n }\n });\n}\nfunction isInteger(obj) {\n if (obj === null || typeof obj !== \"object\") return false;\n return obj[_type] === INTEGER;\n}\nconst FLOAT = Symbol(\"float\");\nfunction Float(value) {\n /* istanbul ignore next */ return Object.defineProperties(new Number(value), {\n [_type]: {\n value: FLOAT\n },\n [_inspect]: {\n value: ()=>`[Float: ${value}]`\n }\n });\n}\nfunction isFloat(obj) {\n if (obj === null || typeof obj !== \"object\") return false;\n return obj[_type] === FLOAT;\n}\nfunction tomlType(value) {\n const type = typeof value;\n if (type === \"object\") {\n /* istanbul ignore if */ if (value === null) return \"null\";\n if (value instanceof Date) return \"datetime\";\n /* istanbul ignore else */ if (_type in value) switch(value[_type]){\n case INLINE_TABLE:\n return \"inline-table\";\n case INLINE_LIST:\n return \"inline-list\";\n /* istanbul ignore next */ case TABLE:\n return \"table\";\n /* istanbul ignore next */ case LIST:\n return \"list\";\n case FLOAT:\n return \"float\";\n case INTEGER:\n return \"integer\";\n }\n }\n return type;\n}\nfunction makeParserClass(Parser) {\n class TOMLParser extends Parser {\n constructor(){\n super();\n this.ctx = this.obj = Table();\n }\n /* MATCH HELPER */ atEndOfWord() {\n return this.char === CHAR_NUM || this.char === CTRL_I || this.char === CHAR_SP || this.atEndOfLine();\n }\n atEndOfLine() {\n return this.char === Parser.END || this.char === CTRL_J || this.char === CTRL_M;\n }\n parseStart() {\n if (this.char === Parser.END) return null;\n else if (this.char === CHAR_LSQB) return this.call(this.parseTableOrList);\n else if (this.char === CHAR_NUM) return this.call(this.parseComment);\n else if (this.char === CTRL_J || this.char === CHAR_SP || this.char === CTRL_I || this.char === CTRL_M) return null;\n else if (isAlphaNumQuoteHyphen(this.char)) return this.callNow(this.parseAssignStatement);\n else throw this.error(new TomlError(`Unknown character \"${this.char}\"`));\n }\n // HELPER, this strips any whitespace and comments to the end of the line\n // then RETURNS. Last state in a production.\n parseWhitespaceToEOL() {\n if (this.char === CHAR_SP || this.char === CTRL_I || this.char === CTRL_M) return null;\n else if (this.char === CHAR_NUM) return this.goto(this.parseComment);\n else if (this.char === Parser.END || this.char === CTRL_J) return this.return();\n else throw this.error(new TomlError(\"Unexpected character, expected only whitespace or comments till end of line\"));\n }\n /* ASSIGNMENT: key = value */ parseAssignStatement() {\n return this.callNow(this.parseAssign, this.recordAssignStatement);\n }\n recordAssignStatement(kv) {\n let target = this.ctx;\n let finalKey = kv.key.pop();\n for (let kw of kv.key){\n if (hasKey(target, kw) && (!isTable(target[kw]) || target[kw][_declared])) throw this.error(new TomlError(\"Can't redefine existing key\"));\n target = target[kw] = target[kw] || Table();\n }\n if (hasKey(target, finalKey)) throw this.error(new TomlError(\"Can't redefine existing key\"));\n // unbox our numbers\n if (isInteger(kv.value) || isFloat(kv.value)) target[finalKey] = kv.value.valueOf();\n else target[finalKey] = kv.value;\n return this.goto(this.parseWhitespaceToEOL);\n }\n /* ASSSIGNMENT expression, key = value possibly inside an inline table */ parseAssign() {\n return this.callNow(this.parseKeyword, this.recordAssignKeyword);\n }\n recordAssignKeyword(key) {\n if (this.state.resultTable) this.state.resultTable.push(key);\n else this.state.resultTable = [\n key\n ];\n return this.goto(this.parseAssignKeywordPreDot);\n }\n parseAssignKeywordPreDot() {\n if (this.char === CHAR_PERIOD) return this.next(this.parseAssignKeywordPostDot);\n else if (this.char !== CHAR_SP && this.char !== CTRL_I) return this.goto(this.parseAssignEqual);\n }\n parseAssignKeywordPostDot() {\n if (this.char !== CHAR_SP && this.char !== CTRL_I) return this.callNow(this.parseKeyword, this.recordAssignKeyword);\n }\n parseAssignEqual() {\n if (this.char === CHAR_EQUALS) return this.next(this.parseAssignPreValue);\n else throw this.error(new TomlError('Invalid character, expected \"=\"'));\n }\n parseAssignPreValue() {\n if (this.char === CHAR_SP || this.char === CTRL_I) return null;\n else return this.callNow(this.parseValue, this.recordAssignValue);\n }\n recordAssignValue(value) {\n return this.returnNow({\n key: this.state.resultTable,\n value: value\n });\n }\n /* COMMENTS: #...eol */ parseComment() {\n do {\n if (this.char === Parser.END || this.char === CTRL_J) return this.return();\n }while (this.nextChar());\n }\n /* TABLES AND LISTS, [foo] and [[foo]] */ parseTableOrList() {\n if (this.char === CHAR_LSQB) this.next(this.parseList);\n else return this.goto(this.parseTable);\n }\n /* TABLE [foo.bar.baz] */ parseTable() {\n this.ctx = this.obj;\n return this.goto(this.parseTableNext);\n }\n parseTableNext() {\n if (this.char === CHAR_SP || this.char === CTRL_I) return null;\n else return this.callNow(this.parseKeyword, this.parseTableMore);\n }\n parseTableMore(keyword) {\n if (this.char === CHAR_SP || this.char === CTRL_I) return null;\n else if (this.char === CHAR_RSQB) {\n if (hasKey(this.ctx, keyword) && (!isTable(this.ctx[keyword]) || this.ctx[keyword][_declared])) throw this.error(new TomlError(\"Can't redefine existing key\"));\n else {\n this.ctx = this.ctx[keyword] = this.ctx[keyword] || Table();\n this.ctx[_declared] = true;\n }\n return this.next(this.parseWhitespaceToEOL);\n } else if (this.char === CHAR_PERIOD) {\n if (!hasKey(this.ctx, keyword)) this.ctx = this.ctx[keyword] = Table();\n else if (isTable(this.ctx[keyword])) this.ctx = this.ctx[keyword];\n else if (isList(this.ctx[keyword])) this.ctx = this.ctx[keyword][this.ctx[keyword].length - 1];\n else throw this.error(new TomlError(\"Can't redefine existing key\"));\n return this.next(this.parseTableNext);\n } else throw this.error(new TomlError(\"Unexpected character, expected whitespace, . or ]\"));\n }\n /* LIST [[a.b.c]] */ parseList() {\n this.ctx = this.obj;\n return this.goto(this.parseListNext);\n }\n parseListNext() {\n if (this.char === CHAR_SP || this.char === CTRL_I) return null;\n else return this.callNow(this.parseKeyword, this.parseListMore);\n }\n parseListMore(keyword) {\n if (this.char === CHAR_SP || this.char === CTRL_I) return null;\n else if (this.char === CHAR_RSQB) {\n if (!hasKey(this.ctx, keyword)) this.ctx[keyword] = List();\n if (isInlineList(this.ctx[keyword])) throw this.error(new TomlError(\"Can't extend an inline array\"));\n else if (isList(this.ctx[keyword])) {\n const next = Table();\n this.ctx[keyword].push(next);\n this.ctx = next;\n } else throw this.error(new TomlError(\"Can't redefine an existing key\"));\n return this.next(this.parseListEnd);\n } else if (this.char === CHAR_PERIOD) {\n if (!hasKey(this.ctx, keyword)) this.ctx = this.ctx[keyword] = Table();\n else if (isInlineList(this.ctx[keyword])) throw this.error(new TomlError(\"Can't extend an inline array\"));\n else if (isInlineTable(this.ctx[keyword])) throw this.error(new TomlError(\"Can't extend an inline table\"));\n else if (isList(this.ctx[keyword])) this.ctx = this.ctx[keyword][this.ctx[keyword].length - 1];\n else if (isTable(this.ctx[keyword])) this.ctx = this.ctx[keyword];\n else throw this.error(new TomlError(\"Can't redefine an existing key\"));\n return this.next(this.parseListNext);\n } else throw this.error(new TomlError(\"Unexpected character, expected whitespace, . or ]\"));\n }\n parseListEnd(keyword) {\n if (this.char === CHAR_RSQB) return this.next(this.parseWhitespaceToEOL);\n else throw this.error(new TomlError(\"Unexpected character, expected whitespace, . or ]\"));\n }\n /* VALUE string, number, boolean, inline list, inline object */ parseValue() {\n if (this.char === Parser.END) throw this.error(new TomlError(\"Key without value\"));\n else if (this.char === CHAR_QUOT) return this.next(this.parseDoubleString);\n if (this.char === CHAR_APOS) return this.next(this.parseSingleString);\n else if (this.char === CHAR_HYPHEN || this.char === CHAR_PLUS) return this.goto(this.parseNumberSign);\n else if (this.char === CHAR_i) return this.next(this.parseInf);\n else if (this.char === CHAR_n) return this.next(this.parseNan);\n else if (isDigit(this.char)) return this.goto(this.parseNumberOrDateTime);\n else if (this.char === CHAR_t || this.char === CHAR_f) return this.goto(this.parseBoolean);\n else if (this.char === CHAR_LSQB) return this.call(this.parseInlineList, this.recordValue);\n else if (this.char === CHAR_LCUB) return this.call(this.parseInlineTable, this.recordValue);\n else throw this.error(new TomlError(\"Unexpected character, expecting string, number, datetime, boolean, inline array or inline table\"));\n }\n recordValue(value) {\n return this.returnNow(value);\n }\n parseInf() {\n if (this.char === CHAR_n) return this.next(this.parseInf2);\n else throw this.error(new TomlError('Unexpected character, expected \"inf\", \"+inf\" or \"-inf\"'));\n }\n parseInf2() {\n if (this.char === CHAR_f) {\n if (this.state.buf === \"-\") return this.return(-Infinity);\n else return this.return(Infinity);\n } else throw this.error(new TomlError('Unexpected character, expected \"inf\", \"+inf\" or \"-inf\"'));\n }\n parseNan() {\n if (this.char === CHAR_a) return this.next(this.parseNan2);\n else throw this.error(new TomlError('Unexpected character, expected \"nan\"'));\n }\n parseNan2() {\n if (this.char === CHAR_n) return this.return(NaN);\n else throw this.error(new TomlError('Unexpected character, expected \"nan\"'));\n }\n /* KEYS, barewords or basic, literal, or dotted */ parseKeyword() {\n if (this.char === CHAR_QUOT) return this.next(this.parseBasicString);\n else if (this.char === CHAR_APOS) return this.next(this.parseLiteralString);\n else return this.goto(this.parseBareKey);\n }\n /* KEYS: barewords */ parseBareKey() {\n do {\n if (this.char === Parser.END) throw this.error(new TomlError(\"Key ended without value\"));\n else if (isAlphaNumHyphen(this.char)) this.consume();\n else if (this.state.buf.length === 0) throw this.error(new TomlError(\"Empty bare keys are not allowed\"));\n else return this.returnNow();\n }while (this.nextChar());\n }\n /* STRINGS, single quoted (literal) */ parseSingleString() {\n if (this.char === CHAR_APOS) return this.next(this.parseLiteralMultiStringMaybe);\n else return this.goto(this.parseLiteralString);\n }\n parseLiteralString() {\n do {\n if (this.char === CHAR_APOS) return this.return();\n else if (this.atEndOfLine()) throw this.error(new TomlError(\"Unterminated string\"));\n else if (this.char === CHAR_DEL || this.char <= CTRL_CHAR_BOUNDARY && this.char !== CTRL_I) throw this.errorControlCharInString();\n else this.consume();\n }while (this.nextChar());\n }\n parseLiteralMultiStringMaybe() {\n if (this.char === CHAR_APOS) return this.next(this.parseLiteralMultiString);\n else return this.returnNow();\n }\n parseLiteralMultiString() {\n if (this.char === CTRL_M) return null;\n else if (this.char === CTRL_J) return this.next(this.parseLiteralMultiStringContent);\n else return this.goto(this.parseLiteralMultiStringContent);\n }\n parseLiteralMultiStringContent() {\n do {\n if (this.char === CHAR_APOS) return this.next(this.parseLiteralMultiEnd);\n else if (this.char === Parser.END) throw this.error(new TomlError(\"Unterminated multi-line string\"));\n else if (this.char === CHAR_DEL || this.char <= CTRL_CHAR_BOUNDARY && this.char !== CTRL_I && this.char !== CTRL_J && this.char !== CTRL_M) throw this.errorControlCharInString();\n else this.consume();\n }while (this.nextChar());\n }\n parseLiteralMultiEnd() {\n if (this.char === CHAR_APOS) return this.next(this.parseLiteralMultiEnd2);\n else {\n this.state.buf += \"'\";\n return this.goto(this.parseLiteralMultiStringContent);\n }\n }\n parseLiteralMultiEnd2() {\n if (this.char === CHAR_APOS) return this.return();\n else {\n this.state.buf += \"''\";\n return this.goto(this.parseLiteralMultiStringContent);\n }\n }\n /* STRINGS double quoted */ parseDoubleString() {\n if (this.char === CHAR_QUOT) return this.next(this.parseMultiStringMaybe);\n else return this.goto(this.parseBasicString);\n }\n parseBasicString() {\n do {\n if (this.char === CHAR_BSOL) return this.call(this.parseEscape, this.recordEscapeReplacement);\n else if (this.char === CHAR_QUOT) return this.return();\n else if (this.atEndOfLine()) throw this.error(new TomlError(\"Unterminated string\"));\n else if (this.char === CHAR_DEL || this.char <= CTRL_CHAR_BOUNDARY && this.char !== CTRL_I) throw this.errorControlCharInString();\n else this.consume();\n }while (this.nextChar());\n }\n recordEscapeReplacement(replacement) {\n this.state.buf += replacement;\n return this.goto(this.parseBasicString);\n }\n parseMultiStringMaybe() {\n if (this.char === CHAR_QUOT) return this.next(this.parseMultiString);\n else return this.returnNow();\n }\n parseMultiString() {\n if (this.char === CTRL_M) return null;\n else if (this.char === CTRL_J) return this.next(this.parseMultiStringContent);\n else return this.goto(this.parseMultiStringContent);\n }\n parseMultiStringContent() {\n do {\n if (this.char === CHAR_BSOL) return this.call(this.parseMultiEscape, this.recordMultiEscapeReplacement);\n else if (this.char === CHAR_QUOT) return this.next(this.parseMultiEnd);\n else if (this.char === Parser.END) throw this.error(new TomlError(\"Unterminated multi-line string\"));\n else if (this.char === CHAR_DEL || this.char <= CTRL_CHAR_BOUNDARY && this.char !== CTRL_I && this.char !== CTRL_J && this.char !== CTRL_M) throw this.errorControlCharInString();\n else this.consume();\n }while (this.nextChar());\n }\n errorControlCharInString() {\n let displayCode = \"\\\\u00\";\n if (this.char < 16) displayCode += \"0\";\n displayCode += this.char.toString(16);\n return this.error(new TomlError(`Control characters (codes < 0x1f and 0x7f) are not allowed in strings, use ${displayCode} instead`));\n }\n recordMultiEscapeReplacement(replacement) {\n this.state.buf += replacement;\n return this.goto(this.parseMultiStringContent);\n }\n parseMultiEnd() {\n if (this.char === CHAR_QUOT) return this.next(this.parseMultiEnd2);\n else {\n this.state.buf += '\"';\n return this.goto(this.parseMultiStringContent);\n }\n }\n parseMultiEnd2() {\n if (this.char === CHAR_QUOT) return this.return();\n else {\n this.state.buf += '\"\"';\n return this.goto(this.parseMultiStringContent);\n }\n }\n parseMultiEscape() {\n if (this.char === CTRL_M || this.char === CTRL_J) return this.next(this.parseMultiTrim);\n else if (this.char === CHAR_SP || this.char === CTRL_I) return this.next(this.parsePreMultiTrim);\n else return this.goto(this.parseEscape);\n }\n parsePreMultiTrim() {\n if (this.char === CHAR_SP || this.char === CTRL_I) return null;\n else if (this.char === CTRL_M || this.char === CTRL_J) return this.next(this.parseMultiTrim);\n else throw this.error(new TomlError(\"Can't escape whitespace\"));\n }\n parseMultiTrim() {\n // explicitly whitespace here, END should follow the same path as chars\n if (this.char === CTRL_J || this.char === CHAR_SP || this.char === CTRL_I || this.char === CTRL_M) return null;\n else return this.returnNow();\n }\n parseEscape() {\n if (this.char in escapes) return this.return(escapes[this.char]);\n else if (this.char === CHAR_u) return this.call(this.parseSmallUnicode, this.parseUnicodeReturn);\n else if (this.char === CHAR_U) return this.call(this.parseLargeUnicode, this.parseUnicodeReturn);\n else throw this.error(new TomlError(\"Unknown escape character: \" + this.char));\n }\n parseUnicodeReturn(char) {\n try {\n const codePoint = parseInt(char, 16);\n if (codePoint >= SURROGATE_FIRST && codePoint <= SURROGATE_LAST) throw this.error(new TomlError(\"Invalid unicode, character in range 0xD800 - 0xDFFF is reserved\"));\n return this.returnNow(String.fromCodePoint(codePoint));\n } catch (err) {\n throw this.error(TomlError.wrap(err));\n }\n }\n parseSmallUnicode() {\n if (!isHexit(this.char)) throw this.error(new TomlError(\"Invalid character in unicode sequence, expected hex\"));\n else {\n this.consume();\n if (this.state.buf.length >= 4) return this.return();\n }\n }\n parseLargeUnicode() {\n if (!isHexit(this.char)) throw this.error(new TomlError(\"Invalid character in unicode sequence, expected hex\"));\n else {\n this.consume();\n if (this.state.buf.length >= 8) return this.return();\n }\n }\n /* NUMBERS */ parseNumberSign() {\n this.consume();\n return this.next(this.parseMaybeSignedInfOrNan);\n }\n parseMaybeSignedInfOrNan() {\n if (this.char === CHAR_i) return this.next(this.parseInf);\n else if (this.char === CHAR_n) return this.next(this.parseNan);\n else return this.callNow(this.parseNoUnder, this.parseNumberIntegerStart);\n }\n parseNumberIntegerStart() {\n if (this.char === CHAR_0) {\n this.consume();\n return this.next(this.parseNumberIntegerExponentOrDecimal);\n } else return this.goto(this.parseNumberInteger);\n }\n parseNumberIntegerExponentOrDecimal() {\n if (this.char === CHAR_PERIOD) {\n this.consume();\n return this.call(this.parseNoUnder, this.parseNumberFloat);\n } else if (this.char === CHAR_E || this.char === CHAR_e) {\n this.consume();\n return this.next(this.parseNumberExponentSign);\n } else return this.returnNow(Integer(this.state.buf));\n }\n parseNumberInteger() {\n if (isDigit(this.char)) this.consume();\n else if (this.char === CHAR_LOWBAR) return this.call(this.parseNoUnder);\n else if (this.char === CHAR_E || this.char === CHAR_e) {\n this.consume();\n return this.next(this.parseNumberExponentSign);\n } else if (this.char === CHAR_PERIOD) {\n this.consume();\n return this.call(this.parseNoUnder, this.parseNumberFloat);\n } else {\n const result = Integer(this.state.buf);\n /* istanbul ignore if */ if (result.isNaN()) throw this.error(new TomlError(\"Invalid number\"));\n else return this.returnNow(result);\n }\n }\n parseNoUnder() {\n if (this.char === CHAR_LOWBAR || this.char === CHAR_PERIOD || this.char === CHAR_E || this.char === CHAR_e) throw this.error(new TomlError(\"Unexpected character, expected digit\"));\n else if (this.atEndOfWord()) throw this.error(new TomlError(\"Incomplete number\"));\n return this.returnNow();\n }\n parseNoUnderHexOctBinLiteral() {\n if (this.char === CHAR_LOWBAR || this.char === CHAR_PERIOD) throw this.error(new TomlError(\"Unexpected character, expected digit\"));\n else if (this.atEndOfWord()) throw this.error(new TomlError(\"Incomplete number\"));\n return this.returnNow();\n }\n parseNumberFloat() {\n if (this.char === CHAR_LOWBAR) return this.call(this.parseNoUnder, this.parseNumberFloat);\n else if (isDigit(this.char)) this.consume();\n else if (this.char === CHAR_E || this.char === CHAR_e) {\n this.consume();\n return this.next(this.parseNumberExponentSign);\n } else return this.returnNow(Float(this.state.buf));\n }\n parseNumberExponentSign() {\n if (isDigit(this.char)) return this.goto(this.parseNumberExponent);\n else if (this.char === CHAR_HYPHEN || this.char === CHAR_PLUS) {\n this.consume();\n this.call(this.parseNoUnder, this.parseNumberExponent);\n } else throw this.error(new TomlError(\"Unexpected character, expected -, + or digit\"));\n }\n parseNumberExponent() {\n if (isDigit(this.char)) this.consume();\n else if (this.char === CHAR_LOWBAR) return this.call(this.parseNoUnder);\n else return this.returnNow(Float(this.state.buf));\n }\n /* NUMBERS or DATETIMES */ parseNumberOrDateTime() {\n if (this.char === CHAR_0) {\n this.consume();\n return this.next(this.parseNumberBaseOrDateTime);\n } else return this.goto(this.parseNumberOrDateTimeOnly);\n }\n parseNumberOrDateTimeOnly() {\n // note, if two zeros are in a row then it MUST be a date\n if (this.char === CHAR_LOWBAR) return this.call(this.parseNoUnder, this.parseNumberInteger);\n else if (isDigit(this.char)) {\n this.consume();\n if (this.state.buf.length > 4) this.next(this.parseNumberInteger);\n } else if (this.char === CHAR_E || this.char === CHAR_e) {\n this.consume();\n return this.next(this.parseNumberExponentSign);\n } else if (this.char === CHAR_PERIOD) {\n this.consume();\n return this.call(this.parseNoUnder, this.parseNumberFloat);\n } else if (this.char === CHAR_HYPHEN) return this.goto(this.parseDateTime);\n else if (this.char === CHAR_COLON) return this.goto(this.parseOnlyTimeHour);\n else return this.returnNow(Integer(this.state.buf));\n }\n parseDateTimeOnly() {\n if (this.state.buf.length < 4) {\n if (isDigit(this.char)) return this.consume();\n else if (this.char === CHAR_COLON) return this.goto(this.parseOnlyTimeHour);\n else throw this.error(new TomlError(\"Expected digit while parsing year part of a date\"));\n } else {\n if (this.char === CHAR_HYPHEN) return this.goto(this.parseDateTime);\n else throw this.error(new TomlError(\"Expected hyphen (-) while parsing year part of date\"));\n }\n }\n parseNumberBaseOrDateTime() {\n if (this.char === CHAR_b) {\n this.consume();\n return this.call(this.parseNoUnderHexOctBinLiteral, this.parseIntegerBin);\n } else if (this.char === CHAR_o) {\n this.consume();\n return this.call(this.parseNoUnderHexOctBinLiteral, this.parseIntegerOct);\n } else if (this.char === CHAR_x) {\n this.consume();\n return this.call(this.parseNoUnderHexOctBinLiteral, this.parseIntegerHex);\n } else if (this.char === CHAR_PERIOD) return this.goto(this.parseNumberInteger);\n else if (isDigit(this.char)) return this.goto(this.parseDateTimeOnly);\n else return this.returnNow(Integer(this.state.buf));\n }\n parseIntegerHex() {\n if (isHexit(this.char)) this.consume();\n else if (this.char === CHAR_LOWBAR) return this.call(this.parseNoUnderHexOctBinLiteral);\n else {\n const result = Integer(this.state.buf);\n /* istanbul ignore if */ if (result.isNaN()) throw this.error(new TomlError(\"Invalid number\"));\n else return this.returnNow(result);\n }\n }\n parseIntegerOct() {\n if (isOctit(this.char)) this.consume();\n else if (this.char === CHAR_LOWBAR) return this.call(this.parseNoUnderHexOctBinLiteral);\n else {\n const result = Integer(this.state.buf);\n /* istanbul ignore if */ if (result.isNaN()) throw this.error(new TomlError(\"Invalid number\"));\n else return this.returnNow(result);\n }\n }\n parseIntegerBin() {\n if (isBit(this.char)) this.consume();\n else if (this.char === CHAR_LOWBAR) return this.call(this.parseNoUnderHexOctBinLiteral);\n else {\n const result = Integer(this.state.buf);\n /* istanbul ignore if */ if (result.isNaN()) throw this.error(new TomlError(\"Invalid number\"));\n else return this.returnNow(result);\n }\n }\n /* DATETIME */ parseDateTime() {\n // we enter here having just consumed the year and about to consume the hyphen\n if (this.state.buf.length < 4) throw this.error(new TomlError(\"Years less than 1000 must be zero padded to four characters\"));\n this.state.result = this.state.buf;\n this.state.buf = \"\";\n return this.next(this.parseDateMonth);\n }\n parseDateMonth() {\n if (this.char === CHAR_HYPHEN) {\n if (this.state.buf.length < 2) throw this.error(new TomlError(\"Months less than 10 must be zero padded to two characters\"));\n this.state.result += \"-\" + this.state.buf;\n this.state.buf = \"\";\n return this.next(this.parseDateDay);\n } else if (isDigit(this.char)) this.consume();\n else throw this.error(new TomlError(\"Incomplete datetime\"));\n }\n parseDateDay() {\n if (this.char === CHAR_T || this.char === CHAR_SP) {\n if (this.state.buf.length < 2) throw this.error(new TomlError(\"Days less than 10 must be zero padded to two characters\"));\n this.state.result += \"-\" + this.state.buf;\n this.state.buf = \"\";\n return this.next(this.parseStartTimeHour);\n } else if (this.atEndOfWord()) return this.returnNow($3F69E(this.state.result + \"-\" + this.state.buf));\n else if (isDigit(this.char)) this.consume();\n else throw this.error(new TomlError(\"Incomplete datetime\"));\n }\n parseStartTimeHour() {\n if (this.atEndOfWord()) return this.returnNow($3F69E(this.state.result));\n else return this.goto(this.parseTimeHour);\n }\n parseTimeHour() {\n if (this.char === CHAR_COLON) {\n if (this.state.buf.length < 2) throw this.error(new TomlError(\"Hours less than 10 must be zero padded to two characters\"));\n this.state.result += \"T\" + this.state.buf;\n this.state.buf = \"\";\n return this.next(this.parseTimeMin);\n } else if (isDigit(this.char)) this.consume();\n else throw this.error(new TomlError(\"Incomplete datetime\"));\n }\n parseTimeMin() {\n if (this.state.buf.length < 2 && isDigit(this.char)) this.consume();\n else if (this.state.buf.length === 2 && this.char === CHAR_COLON) {\n this.state.result += \":\" + this.state.buf;\n this.state.buf = \"\";\n return this.next(this.parseTimeSec);\n } else throw this.error(new TomlError(\"Incomplete datetime\"));\n }\n parseTimeSec() {\n if (isDigit(this.char)) {\n this.consume();\n if (this.state.buf.length === 2) {\n this.state.result += \":\" + this.state.buf;\n this.state.buf = \"\";\n return this.next(this.parseTimeZoneOrFraction);\n }\n } else throw this.error(new TomlError(\"Incomplete datetime\"));\n }\n parseOnlyTimeHour() {\n /* istanbul ignore else */ if (this.char === CHAR_COLON) {\n if (this.state.buf.length < 2) throw this.error(new TomlError(\"Hours less than 10 must be zero padded to two characters\"));\n this.state.result = this.state.buf;\n this.state.buf = \"\";\n return this.next(this.parseOnlyTimeMin);\n } else throw this.error(new TomlError(\"Incomplete time\"));\n }\n parseOnlyTimeMin() {\n if (this.state.buf.length < 2 && isDigit(this.char)) this.consume();\n else if (this.state.buf.length === 2 && this.char === CHAR_COLON) {\n this.state.result += \":\" + this.state.buf;\n this.state.buf = \"\";\n return this.next(this.parseOnlyTimeSec);\n } else throw this.error(new TomlError(\"Incomplete time\"));\n }\n parseOnlyTimeSec() {\n if (isDigit(this.char)) {\n this.consume();\n if (this.state.buf.length === 2) return this.next(this.parseOnlyTimeFractionMaybe);\n } else throw this.error(new TomlError(\"Incomplete time\"));\n }\n parseOnlyTimeFractionMaybe() {\n this.state.result += \":\" + this.state.buf;\n if (this.char === CHAR_PERIOD) {\n this.state.buf = \"\";\n this.next(this.parseOnlyTimeFraction);\n } else return this.return($2O0km(this.state.result));\n }\n parseOnlyTimeFraction() {\n if (isDigit(this.char)) this.consume();\n else if (this.atEndOfWord()) {\n if (this.state.buf.length === 0) throw this.error(new TomlError(\"Expected digit in milliseconds\"));\n return this.returnNow($2O0km(this.state.result + \".\" + this.state.buf));\n } else throw this.error(new TomlError(\"Unexpected character in datetime, expected period (.), minus (-), plus (+) or Z\"));\n }\n parseTimeZoneOrFraction() {\n if (this.char === CHAR_PERIOD) {\n this.consume();\n this.next(this.parseDateTimeFraction);\n } else if (this.char === CHAR_HYPHEN || this.char === CHAR_PLUS) {\n this.consume();\n this.next(this.parseTimeZoneHour);\n } else if (this.char === CHAR_Z) {\n this.consume();\n return this.return($6kIrd(this.state.result + this.state.buf));\n } else if (this.atEndOfWord()) return this.returnNow($2yfSX(this.state.result + this.state.buf));\n else throw this.error(new TomlError(\"Unexpected character in datetime, expected period (.), minus (-), plus (+) or Z\"));\n }\n parseDateTimeFraction() {\n if (isDigit(this.char)) this.consume();\n else if (this.state.buf.length === 1) throw this.error(new TomlError(\"Expected digit in milliseconds\"));\n else if (this.char === CHAR_HYPHEN || this.char === CHAR_PLUS) {\n this.consume();\n this.next(this.parseTimeZoneHour);\n } else if (this.char === CHAR_Z) {\n this.consume();\n return this.return($6kIrd(this.state.result + this.state.buf));\n } else if (this.atEndOfWord()) return this.returnNow($2yfSX(this.state.result + this.state.buf));\n else throw this.error(new TomlError(\"Unexpected character in datetime, expected period (.), minus (-), plus (+) or Z\"));\n }\n parseTimeZoneHour() {\n if (isDigit(this.char)) {\n this.consume();\n // FIXME: No more regexps\n if (/\\d\\d$/.test(this.state.buf)) return this.next(this.parseTimeZoneSep);\n } else throw this.error(new TomlError(\"Unexpected character in datetime, expected digit\"));\n }\n parseTimeZoneSep() {\n if (this.char === CHAR_COLON) {\n this.consume();\n this.next(this.parseTimeZoneMin);\n } else throw this.error(new TomlError(\"Unexpected character in datetime, expected colon\"));\n }\n parseTimeZoneMin() {\n if (isDigit(this.char)) {\n this.consume();\n if (/\\d\\d$/.test(this.state.buf)) return this.return($6kIrd(this.state.result + this.state.buf));\n } else throw this.error(new TomlError(\"Unexpected character in datetime, expected digit\"));\n }\n /* BOOLEAN */ parseBoolean() {\n /* istanbul ignore else */ if (this.char === CHAR_t) {\n this.consume();\n return this.next(this.parseTrue_r);\n } else if (this.char === CHAR_f) {\n this.consume();\n return this.next(this.parseFalse_a);\n }\n }\n parseTrue_r() {\n if (this.char === CHAR_r) {\n this.consume();\n return this.next(this.parseTrue_u);\n } else throw this.error(new TomlError(\"Invalid boolean, expected true or false\"));\n }\n parseTrue_u() {\n if (this.char === CHAR_u) {\n this.consume();\n return this.next(this.parseTrue_e);\n } else throw this.error(new TomlError(\"Invalid boolean, expected true or false\"));\n }\n parseTrue_e() {\n if (this.char === CHAR_e) return this.return(true);\n else throw this.error(new TomlError(\"Invalid boolean, expected true or false\"));\n }\n parseFalse_a() {\n if (this.char === CHAR_a) {\n this.consume();\n return this.next(this.parseFalse_l);\n } else throw this.error(new TomlError(\"Invalid boolean, expected true or false\"));\n }\n parseFalse_l() {\n if (this.char === CHAR_l) {\n this.consume();\n return this.next(this.parseFalse_s);\n } else throw this.error(new TomlError(\"Invalid boolean, expected true or false\"));\n }\n parseFalse_s() {\n if (this.char === CHAR_s) {\n this.consume();\n return this.next(this.parseFalse_e);\n } else throw this.error(new TomlError(\"Invalid boolean, expected true or false\"));\n }\n parseFalse_e() {\n if (this.char === CHAR_e) return this.return(false);\n else throw this.error(new TomlError(\"Invalid boolean, expected true or false\"));\n }\n /* INLINE LISTS */ parseInlineList() {\n if (this.char === CHAR_SP || this.char === CTRL_I || this.char === CTRL_M || this.char === CTRL_J) return null;\n else if (this.char === Parser.END) throw this.error(new TomlError(\"Unterminated inline array\"));\n else if (this.char === CHAR_NUM) return this.call(this.parseComment);\n else if (this.char === CHAR_RSQB) return this.return(this.state.resultArr || InlineList());\n else return this.callNow(this.parseValue, this.recordInlineListValue);\n }\n recordInlineListValue(value) {\n if (this.state.resultArr) {\n const listType = this.state.resultArr[_contentType];\n const valueType = tomlType(value);\n if (listType !== valueType) throw this.error(new TomlError(`Inline lists must be a single type, not a mix of ${listType} and ${valueType}`));\n } else this.state.resultArr = InlineList(tomlType(value));\n if (isFloat(value) || isInteger(value)) // unbox now that we've verified they're ok\n this.state.resultArr.push(value.valueOf());\n else this.state.resultArr.push(value);\n return this.goto(this.parseInlineListNext);\n }\n parseInlineListNext() {\n if (this.char === CHAR_SP || this.char === CTRL_I || this.char === CTRL_M || this.char === CTRL_J) return null;\n else if (this.char === CHAR_NUM) return this.call(this.parseComment);\n else if (this.char === CHAR_COMMA) return this.next(this.parseInlineList);\n else if (this.char === CHAR_RSQB) return this.goto(this.parseInlineList);\n else throw this.error(new TomlError(\"Invalid character, expected whitespace, comma (,) or close bracket (])\"));\n }\n /* INLINE TABLE */ parseInlineTable() {\n if (this.char === CHAR_SP || this.char === CTRL_I) return null;\n else if (this.char === Parser.END || this.char === CHAR_NUM || this.char === CTRL_J || this.char === CTRL_M) throw this.error(new TomlError(\"Unterminated inline array\"));\n else if (this.char === CHAR_RCUB) return this.return(this.state.resultTable || InlineTable());\n else {\n if (!this.state.resultTable) this.state.resultTable = InlineTable();\n return this.callNow(this.parseAssign, this.recordInlineTableValue);\n }\n }\n recordInlineTableValue(kv) {\n let target = this.state.resultTable;\n let finalKey = kv.key.pop();\n for (let kw of kv.key){\n if (hasKey(target, kw) && (!isTable(target[kw]) || target[kw][_declared])) throw this.error(new TomlError(\"Can't redefine existing key\"));\n target = target[kw] = target[kw] || Table();\n }\n if (hasKey(target, finalKey)) throw this.error(new TomlError(\"Can't redefine existing key\"));\n if (isInteger(kv.value) || isFloat(kv.value)) target[finalKey] = kv.value.valueOf();\n else target[finalKey] = kv.value;\n return this.goto(this.parseInlineTableNext);\n }\n parseInlineTableNext() {\n if (this.char === CHAR_SP || this.char === CTRL_I) return null;\n else if (this.char === Parser.END || this.char === CHAR_NUM || this.char === CTRL_J || this.char === CTRL_M) throw this.error(new TomlError(\"Unterminated inline array\"));\n else if (this.char === CHAR_COMMA) return this.next(this.parseInlineTable);\n else if (this.char === CHAR_RCUB) return this.goto(this.parseInlineTable);\n else throw this.error(new TomlError(\"Invalid character, expected whitespace, comma (,) or close bracket (])\"));\n }\n }\n return TOMLParser;\n}\n\n});\nparcelRegister(\"8EW4n\", function(module, exports) {\n\"use strict\";\nconst $64df1a90233fe688$var$ParserEND = 0x110000;\nclass $64df1a90233fe688$var$ParserError extends Error {\n /* istanbul ignore next */ constructor(msg, filename, linenumber){\n super(\"[ParserError] \" + msg, filename, linenumber);\n this.name = \"ParserError\";\n this.code = \"ParserError\";\n if (Error.captureStackTrace) Error.captureStackTrace(this, $64df1a90233fe688$var$ParserError);\n }\n}\nclass $64df1a90233fe688$var$State {\n constructor(parser){\n this.parser = parser;\n this.buf = \"\";\n this.returned = null;\n this.result = null;\n this.resultTable = null;\n this.resultArr = null;\n }\n}\nclass $64df1a90233fe688$var$Parser {\n constructor(){\n this.pos = 0;\n this.col = 0;\n this.line = 0;\n this.obj = {};\n this.ctx = this.obj;\n this.stack = [];\n this._buf = \"\";\n this.char = null;\n this.ii = 0;\n this.state = new $64df1a90233fe688$var$State(this.parseStart);\n }\n parse(str) {\n /* istanbul ignore next */ if (str.length === 0 || str.length == null) return;\n this._buf = String(str);\n this.ii = -1;\n this.char = -1;\n let getNext;\n while(getNext === false || this.nextChar())getNext = this.runOne();\n this._buf = null;\n }\n nextChar() {\n if (this.char === 0x0A) {\n ++this.line;\n this.col = -1;\n }\n ++this.ii;\n this.char = this._buf.codePointAt(this.ii);\n ++this.pos;\n ++this.col;\n return this.haveBuffer();\n }\n haveBuffer() {\n return this.ii < this._buf.length;\n }\n runOne() {\n return this.state.parser.call(this, this.state.returned);\n }\n finish() {\n this.char = $64df1a90233fe688$var$ParserEND;\n let last;\n do {\n last = this.state.parser;\n this.runOne();\n }while (this.state.parser !== last);\n this.ctx = null;\n this.state = null;\n this._buf = null;\n return this.obj;\n }\n next(fn) {\n /* istanbul ignore next */ if (typeof fn !== \"function\") throw new $64df1a90233fe688$var$ParserError(\"Tried to set state to non-existent state: \" + JSON.stringify(fn));\n this.state.parser = fn;\n }\n goto(fn) {\n this.next(fn);\n return this.runOne();\n }\n call(fn, returnWith) {\n if (returnWith) this.next(returnWith);\n this.stack.push(this.state);\n this.state = new $64df1a90233fe688$var$State(fn);\n }\n callNow(fn, returnWith) {\n this.call(fn, returnWith);\n return this.runOne();\n }\n return(value) {\n /* istanbul ignore next */ if (this.stack.length === 0) throw this.error(new $64df1a90233fe688$var$ParserError(\"Stack underflow\"));\n if (value === undefined) value = this.state.buf;\n this.state = this.stack.pop();\n this.state.returned = value;\n }\n returnNow(value) {\n this.return(value);\n return this.runOne();\n }\n consume() {\n /* istanbul ignore next */ if (this.char === $64df1a90233fe688$var$ParserEND) throw this.error(new $64df1a90233fe688$var$ParserError(\"Unexpected end-of-buffer\"));\n this.state.buf += this._buf[this.ii];\n }\n error(err) {\n err.line = this.line;\n err.col = this.col;\n err.pos = this.pos;\n return err;\n }\n /* istanbul ignore next */ parseStart() {\n throw new $64df1a90233fe688$var$ParserError(\"Must declare a parseStart method\");\n }\n}\n$64df1a90233fe688$var$Parser.END = $64df1a90233fe688$var$ParserEND;\n$64df1a90233fe688$var$Parser.Error = $64df1a90233fe688$var$ParserError;\nmodule.exports = $64df1a90233fe688$var$Parser;\n\n});\n\nparcelRegister(\"6kIrd\", function(module, exports) {\n\"use strict\";\nmodule.exports = (value)=>{\n const date = new Date(value);\n /* istanbul ignore if */ if (isNaN(date)) throw new TypeError(\"Invalid Datetime\");\n else return date;\n};\n\n});\n\nparcelRegister(\"2yfSX\", function(module, exports) {\n\"use strict\";\n\nvar $fGjRF = parcelRequire(\"fGjRF\");\nclass $1dbb143db7440aec$var$FloatingDateTime extends Date {\n constructor(value){\n super(value + \"Z\");\n this.isFloating = true;\n }\n toISOString() {\n const date = `${this.getUTCFullYear()}-${$fGjRF(2, this.getUTCMonth() + 1)}-${$fGjRF(2, this.getUTCDate())}`;\n const time = `${$fGjRF(2, this.getUTCHours())}:${$fGjRF(2, this.getUTCMinutes())}:${$fGjRF(2, this.getUTCSeconds())}.${$fGjRF(3, this.getUTCMilliseconds())}`;\n return `${date}T${time}`;\n }\n}\nmodule.exports = (value)=>{\n const date = new $1dbb143db7440aec$var$FloatingDateTime(value);\n /* istanbul ignore if */ if (isNaN(date)) throw new TypeError(\"Invalid Datetime\");\n else return date;\n};\n\n});\nparcelRegister(\"fGjRF\", function(module, exports) {\n\"use strict\";\nmodule.exports = (d, num)=>{\n num = String(num);\n while(num.length < d)num = \"0\" + num;\n return num;\n};\n\n});\n\n\nparcelRegister(\"3F69E\", function(module, exports) {\n\"use strict\";\n\nvar $fGjRF = parcelRequire(\"fGjRF\");\nconst $2aa9f99a6f9c6bbf$var$DateTime = $parcel$global.Date;\nclass $2aa9f99a6f9c6bbf$var$Date extends $2aa9f99a6f9c6bbf$var$DateTime {\n constructor(value){\n super(value);\n this.isDate = true;\n }\n toISOString() {\n return `${this.getUTCFullYear()}-${$fGjRF(2, this.getUTCMonth() + 1)}-${$fGjRF(2, this.getUTCDate())}`;\n }\n}\nmodule.exports = (value)=>{\n const date = new $2aa9f99a6f9c6bbf$var$Date(value);\n /* istanbul ignore if */ if (isNaN(date)) throw new TypeError(\"Invalid Datetime\");\n else return date;\n};\n\n});\n\nparcelRegister(\"2O0km\", function(module, exports) {\n\"use strict\";\n\nvar $fGjRF = parcelRequire(\"fGjRF\");\nclass $20b0814e120e7134$var$Time extends Date {\n constructor(value){\n super(`0000-01-01T${value}Z`);\n this.isTime = true;\n }\n toISOString() {\n return `${$fGjRF(2, this.getUTCHours())}:${$fGjRF(2, this.getUTCMinutes())}:${$fGjRF(2, this.getUTCSeconds())}.${$fGjRF(3, this.getUTCMilliseconds())}`;\n }\n}\nmodule.exports = (value)=>{\n const date = new $20b0814e120e7134$var$Time(value);\n /* istanbul ignore if */ if (isNaN(date)) throw new TypeError(\"Invalid Datetime\");\n else return date;\n};\n\n});\n\n\nparcelRegister(\"5MRfw\", function(module, exports) {\n\"use strict\";\nmodule.exports = $436abda7d8b11272$var$prettyError;\nfunction $436abda7d8b11272$var$prettyError(err, buf) {\n /* istanbul ignore if */ if (err.pos == null || err.line == null) return err;\n let msg = err.message;\n msg += ` at row ${err.line + 1}, col ${err.col + 1}, pos ${err.pos}:\\n`;\n /* istanbul ignore else */ if (buf && buf.split) {\n const lines = buf.split(/\\n/);\n const lineNumWidth = String(Math.min(lines.length, err.line + 3)).length;\n let linePadding = \" \";\n while(linePadding.length < lineNumWidth)linePadding += \" \";\n for(let ii = Math.max(0, err.line - 1); ii < Math.min(lines.length, err.line + 2); ++ii){\n let lineNum = String(ii + 1);\n if (lineNum.length < lineNumWidth) lineNum = \" \" + lineNum;\n if (err.line === ii) {\n msg += lineNum + \"> \" + lines[ii] + \"\\n\";\n msg += linePadding + \" \";\n for(let hh = 0; hh < err.col; ++hh)msg += \" \";\n msg += \"^\\n\";\n } else msg += lineNum + \": \" + lines[ii] + \"\\n\";\n }\n }\n err.message = msg + \"\\n\";\n return err;\n}\n\n});\n\n\nparcelRegister(\"7rbfJ\", function(module, exports) {\n\"use strict\";\nmodule.exports = $56a3c891d6eb3eec$var$parseAsync;\n\nvar $bR2Jq = parcelRequire(\"bR2Jq\");\n\nvar $5MRfw = parcelRequire(\"5MRfw\");\nfunction $56a3c891d6eb3eec$var$parseAsync(str, opts) {\n if (!opts) opts = {};\n const index = 0;\n const blocksize = opts.blocksize || 40960;\n const parser = new $bR2Jq();\n return new Promise((resolve, reject)=>{\n setImmediate(parseAsyncNext, index, blocksize, resolve, reject);\n });\n function parseAsyncNext(index, blocksize, resolve, reject) {\n if (index >= str.length) try {\n return resolve(parser.finish());\n } catch (err) {\n return reject($5MRfw(err, str));\n }\n try {\n parser.parse(str.slice(index, index + blocksize));\n setImmediate(parseAsyncNext, index + blocksize, blocksize, resolve, reject);\n } catch (err) {\n reject($5MRfw(err, str));\n }\n }\n}\n\n});\n\nparcelRegister(\"5EgNa\", function(module, exports) {\n\"use strict\";\nmodule.exports = $41cdb6b42fa5ec32$var$parseStream;\n\n\nvar $bR2Jq = parcelRequire(\"bR2Jq\");\nfunction $41cdb6b42fa5ec32$var$parseStream(stm) {\n if (stm) return $41cdb6b42fa5ec32$var$parseReadable(stm);\n else return $41cdb6b42fa5ec32$var$parseTransform(stm);\n}\nfunction $41cdb6b42fa5ec32$var$parseReadable(stm) {\n const parser = new $bR2Jq();\n stm.setEncoding(\"utf8\");\n return new Promise((resolve, reject)=>{\n let readable;\n let ended = false;\n let errored = false;\n function finish() {\n ended = true;\n if (readable) return;\n try {\n resolve(parser.finish());\n } catch (err) {\n reject(err);\n }\n }\n function error(err) {\n errored = true;\n reject(err);\n }\n stm.once(\"end\", finish);\n stm.once(\"error\", error);\n readNext();\n function readNext() {\n readable = true;\n let data;\n while((data = stm.read()) !== null)try {\n parser.parse(data);\n } catch (err) {\n return error(err);\n }\n readable = false;\n /* istanbul ignore if */ if (ended) return finish();\n /* istanbul ignore if */ if (errored) return;\n stm.once(\"readable\", readNext);\n }\n });\n}\nfunction $41cdb6b42fa5ec32$var$parseTransform() {\n const parser = new $bR2Jq();\n return new $6DZae$stream.Transform({\n objectMode: true,\n transform (chunk, encoding, cb) {\n try {\n parser.parse(chunk.toString(encoding));\n } catch (err) {\n this.emit(\"error\", err);\n }\n cb();\n },\n flush (cb) {\n try {\n this.push(parser.finish());\n } catch (err) {\n this.emit(\"error\", err);\n }\n cb();\n }\n });\n}\n\n});\n\n\nparcelRegister(\"gkJPC\", function(module, exports) {\n\"use strict\";\nmodule.exports = $be4210c60f0e1a76$var$stringify;\nmodule.exports.value = $be4210c60f0e1a76$var$stringifyInline;\nfunction $be4210c60f0e1a76$var$stringify(obj) {\n if (obj === null) throw $be4210c60f0e1a76$var$typeError(\"null\");\n if (obj === void 0) throw $be4210c60f0e1a76$var$typeError(\"undefined\");\n if (typeof obj !== \"object\") throw $be4210c60f0e1a76$var$typeError(typeof obj);\n if (typeof obj.toJSON === \"function\") obj = obj.toJSON();\n if (obj == null) return null;\n const type = $be4210c60f0e1a76$var$tomlType(obj);\n if (type !== \"table\") throw $be4210c60f0e1a76$var$typeError(type);\n return $be4210c60f0e1a76$var$stringifyObject(\"\", \"\", obj);\n}\nfunction $be4210c60f0e1a76$var$typeError(type) {\n return new Error(\"Can only stringify objects, not \" + type);\n}\nfunction $be4210c60f0e1a76$var$arrayOneTypeError() {\n return new Error(\"Array values can't have mixed types\");\n}\nfunction $be4210c60f0e1a76$var$getInlineKeys(obj) {\n return Object.keys(obj).filter((key)=>$be4210c60f0e1a76$var$isInline(obj[key]));\n}\nfunction $be4210c60f0e1a76$var$getComplexKeys(obj) {\n return Object.keys(obj).filter((key)=>!$be4210c60f0e1a76$var$isInline(obj[key]));\n}\nfunction $be4210c60f0e1a76$var$toJSON(obj) {\n let nobj = Array.isArray(obj) ? [] : Object.prototype.hasOwnProperty.call(obj, \"__proto__\") ? {\n [\"__proto__\"]: undefined\n } : {};\n for (let prop of Object.keys(obj))if (obj[prop] && typeof obj[prop].toJSON === \"function\" && !(\"toISOString\" in obj[prop])) nobj[prop] = obj[prop].toJSON();\n else nobj[prop] = obj[prop];\n return nobj;\n}\nfunction $be4210c60f0e1a76$var$stringifyObject(prefix, indent, obj) {\n obj = $be4210c60f0e1a76$var$toJSON(obj);\n var inlineKeys;\n var complexKeys;\n inlineKeys = $be4210c60f0e1a76$var$getInlineKeys(obj);\n complexKeys = $be4210c60f0e1a76$var$getComplexKeys(obj);\n var result = [];\n var inlineIndent = indent || \"\";\n inlineKeys.forEach((key)=>{\n var type = $be4210c60f0e1a76$var$tomlType(obj[key]);\n if (type !== \"undefined\" && type !== \"null\") result.push(inlineIndent + $be4210c60f0e1a76$var$stringifyKey(key) + \" = \" + $be4210c60f0e1a76$var$stringifyAnyInline(obj[key], true));\n });\n if (result.length > 0) result.push(\"\");\n var complexIndent = prefix && inlineKeys.length > 0 ? indent + \" \" : \"\";\n complexKeys.forEach((key)=>{\n result.push($be4210c60f0e1a76$var$stringifyComplex(prefix, complexIndent, key, obj[key]));\n });\n return result.join(\"\\n\");\n}\nfunction $be4210c60f0e1a76$var$isInline(value) {\n switch($be4210c60f0e1a76$var$tomlType(value)){\n case \"undefined\":\n case \"null\":\n case \"integer\":\n case \"nan\":\n case \"float\":\n case \"boolean\":\n case \"string\":\n case \"datetime\":\n return true;\n case \"array\":\n return value.length === 0 || $be4210c60f0e1a76$var$tomlType(value[0]) !== \"table\";\n case \"table\":\n return Object.keys(value).length === 0;\n /* istanbul ignore next */ default:\n return false;\n }\n}\nfunction $be4210c60f0e1a76$var$tomlType(value) {\n if (value === undefined) return \"undefined\";\n else if (value === null) return \"null\";\n else if (typeof value === \"bigint\" || Number.isInteger(value) && !Object.is(value, -0)) return \"integer\";\n else if (typeof value === \"number\") return \"float\";\n else if (typeof value === \"boolean\") return \"boolean\";\n else if (typeof value === \"string\") return \"string\";\n else if (\"toISOString\" in value) return isNaN(value) ? \"undefined\" : \"datetime\";\n else if (Array.isArray(value)) return \"array\";\n else return \"table\";\n}\nfunction $be4210c60f0e1a76$var$stringifyKey(key) {\n var keyStr = String(key);\n if (/^[-A-Za-z0-9_]+$/.test(keyStr)) return keyStr;\n else return $be4210c60f0e1a76$var$stringifyBasicString(keyStr);\n}\nfunction $be4210c60f0e1a76$var$stringifyBasicString(str) {\n return '\"' + $be4210c60f0e1a76$var$escapeString(str).replace(/\"/g, '\\\\\"') + '\"';\n}\nfunction $be4210c60f0e1a76$var$stringifyLiteralString(str) {\n return \"'\" + str + \"'\";\n}\nfunction $be4210c60f0e1a76$var$numpad(num, str) {\n while(str.length < num)str = \"0\" + str;\n return str;\n}\nfunction $be4210c60f0e1a76$var$escapeString(str) {\n return str.replace(/\\\\/g, \"\\\\\\\\\").replace(/[\\b]/g, \"\\\\b\").replace(/\\t/g, \"\\\\t\").replace(/\\n/g, \"\\\\n\").replace(/\\f/g, \"\\\\f\").replace(/\\r/g, \"\\\\r\")/* eslint-disable no-control-regex */ .replace(/([\\u0000-\\u001f\\u007f])/, (c)=>\"\\\\u\" + $be4210c60f0e1a76$var$numpad(4, c.codePointAt(0).toString(16)));\n/* eslint-enable no-control-regex */ }\nfunction $be4210c60f0e1a76$var$stringifyMultilineString(str) {\n let escaped = str.split(/\\n/).map((str)=>{\n return $be4210c60f0e1a76$var$escapeString(str).replace(/\"(?=\"\")/g, '\\\\\"');\n }).join(\"\\n\");\n if (escaped.slice(-1) === '\"') escaped += \"\\\\\\n\";\n return '\"\"\"\\n' + escaped + '\"\"\"';\n}\nfunction $be4210c60f0e1a76$var$stringifyAnyInline(value, multilineOk) {\n let type = $be4210c60f0e1a76$var$tomlType(value);\n if (type === \"string\") {\n if (multilineOk && /\\n/.test(value)) type = \"string-multiline\";\n else if (!/[\\b\\t\\n\\f\\r']/.test(value) && /\"/.test(value)) type = \"string-literal\";\n }\n return $be4210c60f0e1a76$var$stringifyInline(value, type);\n}\nfunction $be4210c60f0e1a76$var$stringifyInline(value, type) {\n /* istanbul ignore if */ if (!type) type = $be4210c60f0e1a76$var$tomlType(value);\n switch(type){\n case \"string-multiline\":\n return $be4210c60f0e1a76$var$stringifyMultilineString(value);\n case \"string\":\n return $be4210c60f0e1a76$var$stringifyBasicString(value);\n case \"string-literal\":\n return $be4210c60f0e1a76$var$stringifyLiteralString(value);\n case \"integer\":\n return $be4210c60f0e1a76$var$stringifyInteger(value);\n case \"float\":\n return $be4210c60f0e1a76$var$stringifyFloat(value);\n case \"boolean\":\n return $be4210c60f0e1a76$var$stringifyBoolean(value);\n case \"datetime\":\n return $be4210c60f0e1a76$var$stringifyDatetime(value);\n case \"array\":\n return $be4210c60f0e1a76$var$stringifyInlineArray(value.filter((_)=>$be4210c60f0e1a76$var$tomlType(_) !== \"null\" && $be4210c60f0e1a76$var$tomlType(_) !== \"undefined\" && $be4210c60f0e1a76$var$tomlType(_) !== \"nan\"));\n case \"table\":\n return $be4210c60f0e1a76$var$stringifyInlineTable(value);\n /* istanbul ignore next */ default:\n throw $be4210c60f0e1a76$var$typeError(type);\n }\n}\nfunction $be4210c60f0e1a76$var$stringifyInteger(value) {\n /* eslint-disable security/detect-unsafe-regex */ return String(value).replace(/\\B(?=(\\d{3})+(?!\\d))/g, \"_\");\n}\nfunction $be4210c60f0e1a76$var$stringifyFloat(value) {\n if (value === Infinity) return \"inf\";\n else if (value === -Infinity) return \"-inf\";\n else if (Object.is(value, NaN)) return \"nan\";\n else if (Object.is(value, -0)) return \"-0.0\";\n var chunks = String(value).split(\".\");\n var int = chunks[0];\n var dec = chunks[1] || 0;\n return $be4210c60f0e1a76$var$stringifyInteger(int) + \".\" + dec;\n}\nfunction $be4210c60f0e1a76$var$stringifyBoolean(value) {\n return String(value);\n}\nfunction $be4210c60f0e1a76$var$stringifyDatetime(value) {\n return value.toISOString();\n}\nfunction $be4210c60f0e1a76$var$isNumber(type) {\n return type === \"float\" || type === \"integer\";\n}\nfunction $be4210c60f0e1a76$var$arrayType(values) {\n var contentType = $be4210c60f0e1a76$var$tomlType(values[0]);\n if (values.every((_)=>$be4210c60f0e1a76$var$tomlType(_) === contentType)) return contentType;\n // mixed integer/float, emit as floats\n if (values.every((_)=>$be4210c60f0e1a76$var$isNumber($be4210c60f0e1a76$var$tomlType(_)))) return \"float\";\n return \"mixed\";\n}\nfunction $be4210c60f0e1a76$var$validateArray(values) {\n const type = $be4210c60f0e1a76$var$arrayType(values);\n if (type === \"mixed\") throw $be4210c60f0e1a76$var$arrayOneTypeError();\n return type;\n}\nfunction $be4210c60f0e1a76$var$stringifyInlineArray(values) {\n values = $be4210c60f0e1a76$var$toJSON(values);\n const type = $be4210c60f0e1a76$var$validateArray(values);\n var result = \"[\";\n var stringified = values.map((_)=>$be4210c60f0e1a76$var$stringifyInline(_, type));\n if (stringified.join(\", \").length > 60 || /\\n/.test(stringified)) result += \"\\n \" + stringified.join(\",\\n \") + \"\\n\";\n else result += \" \" + stringified.join(\", \") + (stringified.length > 0 ? \" \" : \"\");\n return result + \"]\";\n}\nfunction $be4210c60f0e1a76$var$stringifyInlineTable(value) {\n value = $be4210c60f0e1a76$var$toJSON(value);\n var result = [];\n Object.keys(value).forEach((key)=>{\n result.push($be4210c60f0e1a76$var$stringifyKey(key) + \" = \" + $be4210c60f0e1a76$var$stringifyAnyInline(value[key], false));\n });\n return \"{ \" + result.join(\", \") + (result.length > 0 ? \" \" : \"\") + \"}\";\n}\nfunction $be4210c60f0e1a76$var$stringifyComplex(prefix, indent, key, value) {\n var valueType = $be4210c60f0e1a76$var$tomlType(value);\n /* istanbul ignore else */ if (valueType === \"array\") return $be4210c60f0e1a76$var$stringifyArrayOfTables(prefix, indent, key, value);\n else if (valueType === \"table\") return $be4210c60f0e1a76$var$stringifyComplexTable(prefix, indent, key, value);\n else throw $be4210c60f0e1a76$var$typeError(valueType);\n}\nfunction $be4210c60f0e1a76$var$stringifyArrayOfTables(prefix, indent, key, values) {\n values = $be4210c60f0e1a76$var$toJSON(values);\n $be4210c60f0e1a76$var$validateArray(values);\n var firstValueType = $be4210c60f0e1a76$var$tomlType(values[0]);\n /* istanbul ignore if */ if (firstValueType !== \"table\") throw $be4210c60f0e1a76$var$typeError(firstValueType);\n var fullKey = prefix + $be4210c60f0e1a76$var$stringifyKey(key);\n var result = \"\";\n values.forEach((table)=>{\n if (result.length > 0) result += \"\\n\";\n result += indent + \"[[\" + fullKey + \"]]\\n\";\n result += $be4210c60f0e1a76$var$stringifyObject(fullKey + \".\", indent, table);\n });\n return result;\n}\nfunction $be4210c60f0e1a76$var$stringifyComplexTable(prefix, indent, key, value) {\n var fullKey = prefix + $be4210c60f0e1a76$var$stringifyKey(key);\n var result = \"\";\n if ($be4210c60f0e1a76$var$getInlineKeys(value).length > 0) result += indent + \"[\" + fullKey + \"]\\n\";\n return result + $be4210c60f0e1a76$var$stringifyObject(fullKey + \".\", indent, value);\n}\n\n});\n\n\n\nparcelRegister(\"eYukg\", function(module, exports) {\n\n$parcel$export(module.exports, \"MANIFEST_URL\", () => $7a25591a9764c116$export$f3182c5cb60bb857);\n$parcel$export(module.exports, \"findReleaseFromManifest\", () => $7a25591a9764c116$export$45bea79befbd9a23);\n$parcel$export(module.exports, \"getManifest\", () => $7a25591a9764c116$export$39e873de56f329d8);\n$parcel$export(module.exports, \"installCpythonFromRelease\", () => $7a25591a9764c116$export$e1ffa7cd53152881);\n\n\nvar $kDRhL = parcelRequire(\"kDRhL\");\n\nvar $jXskH = parcelRequire(\"jXskH\");\n\nvar $7J8UA = parcelRequire(\"7J8UA\");\n\nvar $6KA3p = parcelRequire(\"6KA3p\");\nconst $7a25591a9764c116$var$TOKEN = $kDRhL.getInput(\"token\");\nconst $7a25591a9764c116$var$AUTH = !$7a25591a9764c116$var$TOKEN ? undefined : `token ${$7a25591a9764c116$var$TOKEN}`;\nconst $7a25591a9764c116$var$MANIFEST_REPO_OWNER = \"actions\";\nconst $7a25591a9764c116$var$MANIFEST_REPO_NAME = \"python-versions\";\nconst $7a25591a9764c116$var$MANIFEST_REPO_BRANCH = \"main\";\nconst $7a25591a9764c116$export$f3182c5cb60bb857 = `https://raw.githubusercontent.com/${$7a25591a9764c116$var$MANIFEST_REPO_OWNER}/${$7a25591a9764c116$var$MANIFEST_REPO_NAME}/${$7a25591a9764c116$var$MANIFEST_REPO_BRANCH}/versions-manifest.json`;\nasync function $7a25591a9764c116$export$45bea79befbd9a23(semanticVersionSpec, architecture, manifest) {\n if (!manifest) manifest = await $7a25591a9764c116$export$39e873de56f329d8();\n const foundRelease = await $jXskH.findFromManifest(semanticVersionSpec, false, manifest, architecture);\n return foundRelease;\n}\nfunction $7a25591a9764c116$export$39e873de56f329d8() {\n $kDRhL.debug(`Getting manifest from ${$7a25591a9764c116$var$MANIFEST_REPO_OWNER}/${$7a25591a9764c116$var$MANIFEST_REPO_NAME}@${$7a25591a9764c116$var$MANIFEST_REPO_BRANCH}`);\n return $jXskH.getManifestFromRepo($7a25591a9764c116$var$MANIFEST_REPO_OWNER, $7a25591a9764c116$var$MANIFEST_REPO_NAME, $7a25591a9764c116$var$AUTH, $7a25591a9764c116$var$MANIFEST_REPO_BRANCH);\n}\nasync function $7a25591a9764c116$var$installPython(workingDirectory) {\n const options = {\n cwd: workingDirectory,\n env: {\n ...process.env,\n ...(0, $6KA3p.IS_LINUX) && {\n LD_LIBRARY_PATH: $6DZae$path.join(workingDirectory, \"lib\")\n }\n },\n silent: true,\n listeners: {\n stdout: (data)=>{\n $kDRhL.info(data.toString().trim());\n },\n stderr: (data)=>{\n $kDRhL.error(data.toString().trim());\n }\n }\n };\n if (0, $6KA3p.IS_WINDOWS) await $7J8UA.exec(\"powershell\", [\n \"./setup.ps1\"\n ], options);\n else await $7J8UA.exec(\"bash\", [\n \"./setup.sh\"\n ], options);\n}\nasync function $7a25591a9764c116$export$e1ffa7cd53152881(release) {\n const downloadUrl = release.files[0].download_url;\n $kDRhL.info(`Download from \"${downloadUrl}\"`);\n let pythonPath = \"\";\n try {\n pythonPath = await $jXskH.downloadTool(downloadUrl, undefined, $7a25591a9764c116$var$AUTH);\n $kDRhL.info(\"Extract downloaded archive\");\n let pythonExtractedFolder;\n if (0, $6KA3p.IS_WINDOWS) pythonExtractedFolder = await $jXskH.extractZip(pythonPath);\n else pythonExtractedFolder = await $jXskH.extractTar(pythonPath);\n $kDRhL.info(\"Execute installation script\");\n await $7a25591a9764c116$var$installPython(pythonExtractedFolder);\n } catch (err) {\n if (err instanceof $jXskH.HTTPError) {\n // Rate limit?\n if (err.httpStatusCode === 403 || err.httpStatusCode === 429) $kDRhL.info(`Received HTTP status code ${err.httpStatusCode}. This usually indicates the rate limit has been exceeded`);\n else $kDRhL.info(err.message);\n if (err.stack) $kDRhL.debug(err.stack);\n }\n throw err;\n }\n}\n\n});\nparcelRegister(\"jXskH\", function(module, exports) {\n\nvar $e8798153f521ad7c$var$$parcel$__dirname = $6DZae$path.resolve(__dirname, \"../../node_modules/setup-python/node_modules/@actions/tool-cache/lib\");\n\"use strict\";\nvar $e8798153f521ad7c$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $e8798153f521ad7c$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $e8798153f521ad7c$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $e8798153f521ad7c$var$__createBinding(result, mod, k);\n }\n $e8798153f521ad7c$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $e8798153f521ad7c$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar $e8798153f521ad7c$var$__importDefault = module.exports && module.exports.__importDefault || function(mod) {\n return mod && mod.__esModule ? mod : {\n \"default\": mod\n };\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.evaluateVersions = module.exports.isExplicitVersion = module.exports.findFromManifest = module.exports.getManifestFromRepo = module.exports.findAllVersions = module.exports.find = module.exports.cacheFile = module.exports.cacheDir = module.exports.extractZip = module.exports.extractXar = module.exports.extractTar = module.exports.extract7z = module.exports.downloadTool = module.exports.HTTPError = void 0;\n\nconst $e8798153f521ad7c$var$core = $e8798153f521ad7c$var$__importStar((parcelRequire(\"kDRhL\")));\n\nconst $e8798153f521ad7c$var$io = $e8798153f521ad7c$var$__importStar((parcelRequire(\"alxPC\")));\n\nconst $e8798153f521ad7c$var$fs = $e8798153f521ad7c$var$__importStar($6DZae$fs);\n\nconst $e8798153f521ad7c$var$mm = $e8798153f521ad7c$var$__importStar((parcelRequire(\"gLtg9\")));\n\nconst $e8798153f521ad7c$var$os = $e8798153f521ad7c$var$__importStar($6DZae$os);\n\nconst $e8798153f521ad7c$var$path = $e8798153f521ad7c$var$__importStar($6DZae$path);\n\nconst $e8798153f521ad7c$var$httpm = $e8798153f521ad7c$var$__importStar((parcelRequire(\"3BbEx\")));\n\nconst $e8798153f521ad7c$var$semver = $e8798153f521ad7c$var$__importStar((parcelRequire(\"iTAgk\")));\n\nconst $e8798153f521ad7c$var$stream = $e8798153f521ad7c$var$__importStar($6DZae$stream);\n\nconst $e8798153f521ad7c$var$util = $e8798153f521ad7c$var$__importStar($6DZae$util);\n\nconst $e8798153f521ad7c$var$v4_1 = $e8798153f521ad7c$var$__importDefault((parcelRequire(\"cwp5N\")));\n\nvar $7J8UA = parcelRequire(\"7J8UA\");\n\n\nvar $aBhC9 = parcelRequire(\"aBhC9\");\nclass $e8798153f521ad7c$var$HTTPError extends Error {\n constructor(httpStatusCode){\n super(`Unexpected HTTP response: ${httpStatusCode}`);\n this.httpStatusCode = httpStatusCode;\n Object.setPrototypeOf(this, new.target.prototype);\n }\n}\nmodule.exports.HTTPError = $e8798153f521ad7c$var$HTTPError;\nconst $e8798153f521ad7c$var$IS_WINDOWS = process.platform === \"win32\";\nconst $e8798153f521ad7c$var$IS_MAC = process.platform === \"darwin\";\nconst $e8798153f521ad7c$var$userAgent = \"actions/tool-cache\";\n/**\n * Download a tool from an url and stream it into a file\n *\n * @param url url of tool to download\n * @param dest path to download tool\n * @param auth authorization header\n * @param headers other headers\n * @returns path to downloaded tool\n */ function $e8798153f521ad7c$var$downloadTool(url, dest, auth, headers) {\n return $e8798153f521ad7c$var$__awaiter(this, void 0, void 0, function*() {\n dest = dest || $e8798153f521ad7c$var$path.join($e8798153f521ad7c$var$_getTempDirectory(), $e8798153f521ad7c$var$v4_1.default());\n yield $e8798153f521ad7c$var$io.mkdirP($e8798153f521ad7c$var$path.dirname(dest));\n $e8798153f521ad7c$var$core.debug(`Downloading ${url}`);\n $e8798153f521ad7c$var$core.debug(`Destination ${dest}`);\n const maxAttempts = 3;\n const minSeconds = $e8798153f521ad7c$var$_getGlobal(\"TEST_DOWNLOAD_TOOL_RETRY_MIN_SECONDS\", 10);\n const maxSeconds = $e8798153f521ad7c$var$_getGlobal(\"TEST_DOWNLOAD_TOOL_RETRY_MAX_SECONDS\", 20);\n const retryHelper = new $aBhC9.RetryHelper(maxAttempts, minSeconds, maxSeconds);\n return yield retryHelper.execute(()=>$e8798153f521ad7c$var$__awaiter(this, void 0, void 0, function*() {\n return yield $e8798153f521ad7c$var$downloadToolAttempt(url, dest || \"\", auth, headers);\n }), (err)=>{\n if (err instanceof $e8798153f521ad7c$var$HTTPError && err.httpStatusCode) {\n // Don't retry anything less than 500, except 408 Request Timeout and 429 Too Many Requests\n if (err.httpStatusCode < 500 && err.httpStatusCode !== 408 && err.httpStatusCode !== 429) return false;\n }\n // Otherwise retry\n return true;\n });\n });\n}\nmodule.exports.downloadTool = $e8798153f521ad7c$var$downloadTool;\nfunction $e8798153f521ad7c$var$downloadToolAttempt(url, dest, auth, headers) {\n return $e8798153f521ad7c$var$__awaiter(this, void 0, void 0, function*() {\n if ($e8798153f521ad7c$var$fs.existsSync(dest)) throw new Error(`Destination file path ${dest} already exists`);\n // Get the response headers\n const http = new $e8798153f521ad7c$var$httpm.HttpClient($e8798153f521ad7c$var$userAgent, [], {\n allowRetries: false\n });\n if (auth) {\n $e8798153f521ad7c$var$core.debug(\"set auth\");\n if (headers === undefined) headers = {};\n headers.authorization = auth;\n }\n const response = yield http.get(url, headers);\n if (response.message.statusCode !== 200) {\n const err = new $e8798153f521ad7c$var$HTTPError(response.message.statusCode);\n $e8798153f521ad7c$var$core.debug(`Failed to download from \"${url}\". Code(${response.message.statusCode}) Message(${response.message.statusMessage})`);\n throw err;\n }\n // Download the response body\n const pipeline = $e8798153f521ad7c$var$util.promisify($e8798153f521ad7c$var$stream.pipeline);\n const responseMessageFactory = $e8798153f521ad7c$var$_getGlobal(\"TEST_DOWNLOAD_TOOL_RESPONSE_MESSAGE_FACTORY\", ()=>response.message);\n const readStream = responseMessageFactory();\n let succeeded = false;\n try {\n yield pipeline(readStream, $e8798153f521ad7c$var$fs.createWriteStream(dest));\n $e8798153f521ad7c$var$core.debug(\"download complete\");\n succeeded = true;\n return dest;\n } finally{\n // Error, delete dest before retry\n if (!succeeded) {\n $e8798153f521ad7c$var$core.debug(\"download failed\");\n try {\n yield $e8798153f521ad7c$var$io.rmRF(dest);\n } catch (err) {\n $e8798153f521ad7c$var$core.debug(`Failed to delete '${dest}'. ${err.message}`);\n }\n }\n }\n });\n}\n/**\n * Extract a .7z file\n *\n * @param file path to the .7z file\n * @param dest destination directory. Optional.\n * @param _7zPath path to 7zr.exe. Optional, for long path support. Most .7z archives do not have this\n * problem. If your .7z archive contains very long paths, you can pass the path to 7zr.exe which will\n * gracefully handle long paths. By default 7zdec.exe is used because it is a very small program and is\n * bundled with the tool lib. However it does not support long paths. 7zr.exe is the reduced command line\n * interface, it is smaller than the full command line interface, and it does support long paths. At the\n * time of this writing, it is freely available from the LZMA SDK that is available on the 7zip website.\n * Be sure to check the current license agreement. If 7zr.exe is bundled with your action, then the path\n * to 7zr.exe can be pass to this function.\n * @returns path to the destination directory\n */ function $e8798153f521ad7c$var$extract7z(file, dest, _7zPath) {\n return $e8798153f521ad7c$var$__awaiter(this, void 0, void 0, function*() {\n $6DZae$assert.ok($e8798153f521ad7c$var$IS_WINDOWS, \"extract7z() not supported on current OS\");\n $6DZae$assert.ok(file, 'parameter \"file\" is required');\n dest = yield $e8798153f521ad7c$var$_createExtractFolder(dest);\n const originalCwd = process.cwd();\n process.chdir(dest);\n if (_7zPath) try {\n const logLevel = $e8798153f521ad7c$var$core.isDebug() ? \"-bb1\" : \"-bb0\";\n const args = [\n \"x\",\n logLevel,\n \"-bd\",\n \"-sccUTF-8\",\n file\n ];\n const options = {\n silent: true\n };\n yield $7J8UA.exec(`\"${_7zPath}\"`, args, options);\n } finally{\n process.chdir(originalCwd);\n }\n else {\n const escapedScript = $e8798153f521ad7c$var$path.join($e8798153f521ad7c$var$$parcel$__dirname, \"..\", \"scripts\", \"Invoke-7zdec.ps1\").replace(/'/g, \"''\").replace(/\"|\\n|\\r/g, \"\"); // double-up single quotes, remove double quotes and newlines\n const escapedFile = file.replace(/'/g, \"''\").replace(/\"|\\n|\\r/g, \"\");\n const escapedTarget = dest.replace(/'/g, \"''\").replace(/\"|\\n|\\r/g, \"\");\n const command = `& '${escapedScript}' -Source '${escapedFile}' -Target '${escapedTarget}'`;\n const args = [\n \"-NoLogo\",\n \"-Sta\",\n \"-NoProfile\",\n \"-NonInteractive\",\n \"-ExecutionPolicy\",\n \"Unrestricted\",\n \"-Command\",\n command\n ];\n const options = {\n silent: true\n };\n try {\n const powershellPath = yield $e8798153f521ad7c$var$io.which(\"powershell\", true);\n yield $7J8UA.exec(`\"${powershellPath}\"`, args, options);\n } finally{\n process.chdir(originalCwd);\n }\n }\n return dest;\n });\n}\nmodule.exports.extract7z = $e8798153f521ad7c$var$extract7z;\n/**\n * Extract a compressed tar archive\n *\n * @param file path to the tar\n * @param dest destination directory. Optional.\n * @param flags flags for the tar command to use for extraction. Defaults to 'xz' (extracting gzipped tars). Optional.\n * @returns path to the destination directory\n */ function $e8798153f521ad7c$var$extractTar(file, dest, flags = \"xz\") {\n return $e8798153f521ad7c$var$__awaiter(this, void 0, void 0, function*() {\n if (!file) throw new Error(\"parameter 'file' is required\");\n // Create dest\n dest = yield $e8798153f521ad7c$var$_createExtractFolder(dest);\n // Determine whether GNU tar\n $e8798153f521ad7c$var$core.debug(\"Checking tar --version\");\n let versionOutput = \"\";\n yield $7J8UA.exec(\"tar --version\", [], {\n ignoreReturnCode: true,\n silent: true,\n listeners: {\n stdout: (data)=>versionOutput += data.toString(),\n stderr: (data)=>versionOutput += data.toString()\n }\n });\n $e8798153f521ad7c$var$core.debug(versionOutput.trim());\n const isGnuTar = versionOutput.toUpperCase().includes(\"GNU TAR\");\n // Initialize args\n let args;\n if (flags instanceof Array) args = flags;\n else args = [\n flags\n ];\n if ($e8798153f521ad7c$var$core.isDebug() && !flags.includes(\"v\")) args.push(\"-v\");\n let destArg = dest;\n let fileArg = file;\n if ($e8798153f521ad7c$var$IS_WINDOWS && isGnuTar) {\n args.push(\"--force-local\");\n destArg = dest.replace(/\\\\/g, \"/\");\n // Technically only the dest needs to have `/` but for aesthetic consistency\n // convert slashes in the file arg too.\n fileArg = file.replace(/\\\\/g, \"/\");\n }\n if (isGnuTar) {\n // Suppress warnings when using GNU tar to extract archives created by BSD tar\n args.push(\"--warning=no-unknown-keyword\");\n args.push(\"--overwrite\");\n }\n args.push(\"-C\", destArg, \"-f\", fileArg);\n yield $7J8UA.exec(`tar`, args);\n return dest;\n });\n}\nmodule.exports.extractTar = $e8798153f521ad7c$var$extractTar;\n/**\n * Extract a xar compatible archive\n *\n * @param file path to the archive\n * @param dest destination directory. Optional.\n * @param flags flags for the xar. Optional.\n * @returns path to the destination directory\n */ function $e8798153f521ad7c$var$extractXar(file, dest, flags = []) {\n return $e8798153f521ad7c$var$__awaiter(this, void 0, void 0, function*() {\n $6DZae$assert.ok($e8798153f521ad7c$var$IS_MAC, \"extractXar() not supported on current OS\");\n $6DZae$assert.ok(file, 'parameter \"file\" is required');\n dest = yield $e8798153f521ad7c$var$_createExtractFolder(dest);\n let args;\n if (flags instanceof Array) args = flags;\n else args = [\n flags\n ];\n args.push(\"-x\", \"-C\", dest, \"-f\", file);\n if ($e8798153f521ad7c$var$core.isDebug()) args.push(\"-v\");\n const xarPath = yield $e8798153f521ad7c$var$io.which(\"xar\", true);\n yield $7J8UA.exec(`\"${xarPath}\"`, $e8798153f521ad7c$var$_unique(args));\n return dest;\n });\n}\nmodule.exports.extractXar = $e8798153f521ad7c$var$extractXar;\n/**\n * Extract a zip\n *\n * @param file path to the zip\n * @param dest destination directory. Optional.\n * @returns path to the destination directory\n */ function $e8798153f521ad7c$var$extractZip(file, dest) {\n return $e8798153f521ad7c$var$__awaiter(this, void 0, void 0, function*() {\n if (!file) throw new Error(\"parameter 'file' is required\");\n dest = yield $e8798153f521ad7c$var$_createExtractFolder(dest);\n if ($e8798153f521ad7c$var$IS_WINDOWS) yield $e8798153f521ad7c$var$extractZipWin(file, dest);\n else yield $e8798153f521ad7c$var$extractZipNix(file, dest);\n return dest;\n });\n}\nmodule.exports.extractZip = $e8798153f521ad7c$var$extractZip;\nfunction $e8798153f521ad7c$var$extractZipWin(file, dest) {\n return $e8798153f521ad7c$var$__awaiter(this, void 0, void 0, function*() {\n // build the powershell command\n const escapedFile = file.replace(/'/g, \"''\").replace(/\"|\\n|\\r/g, \"\"); // double-up single quotes, remove double quotes and newlines\n const escapedDest = dest.replace(/'/g, \"''\").replace(/\"|\\n|\\r/g, \"\");\n const pwshPath = yield $e8798153f521ad7c$var$io.which(\"pwsh\", false);\n //To match the file overwrite behavior on nix systems, we use the overwrite = true flag for ExtractToDirectory\n //and the -Force flag for Expand-Archive as a fallback\n if (pwshPath) {\n //attempt to use pwsh with ExtractToDirectory, if this fails attempt Expand-Archive\n const pwshCommand = [\n `$ErrorActionPreference = 'Stop' ;`,\n `try { Add-Type -AssemblyName System.IO.Compression.ZipFile } catch { } ;`,\n `try { [System.IO.Compression.ZipFile]::ExtractToDirectory('${escapedFile}', '${escapedDest}', $true) }`,\n `catch { if (($_.Exception.GetType().FullName -eq 'System.Management.Automation.MethodException') -or ($_.Exception.GetType().FullName -eq 'System.Management.Automation.RuntimeException') ){ Expand-Archive -LiteralPath '${escapedFile}' -DestinationPath '${escapedDest}' -Force } else { throw $_ } } ;`\n ].join(\" \");\n const args = [\n \"-NoLogo\",\n \"-NoProfile\",\n \"-NonInteractive\",\n \"-ExecutionPolicy\",\n \"Unrestricted\",\n \"-Command\",\n pwshCommand\n ];\n $e8798153f521ad7c$var$core.debug(`Using pwsh at path: ${pwshPath}`);\n yield $7J8UA.exec(`\"${pwshPath}\"`, args);\n } else {\n const powershellCommand = [\n `$ErrorActionPreference = 'Stop' ;`,\n `try { Add-Type -AssemblyName System.IO.Compression.FileSystem } catch { } ;`,\n `if ((Get-Command -Name Expand-Archive -Module Microsoft.PowerShell.Archive -ErrorAction Ignore)) { Expand-Archive -LiteralPath '${escapedFile}' -DestinationPath '${escapedDest}' -Force }`,\n `else {[System.IO.Compression.ZipFile]::ExtractToDirectory('${escapedFile}', '${escapedDest}', $true) }`\n ].join(\" \");\n const args = [\n \"-NoLogo\",\n \"-Sta\",\n \"-NoProfile\",\n \"-NonInteractive\",\n \"-ExecutionPolicy\",\n \"Unrestricted\",\n \"-Command\",\n powershellCommand\n ];\n const powershellPath = yield $e8798153f521ad7c$var$io.which(\"powershell\", true);\n $e8798153f521ad7c$var$core.debug(`Using powershell at path: ${powershellPath}`);\n yield $7J8UA.exec(`\"${powershellPath}\"`, args);\n }\n });\n}\nfunction $e8798153f521ad7c$var$extractZipNix(file, dest) {\n return $e8798153f521ad7c$var$__awaiter(this, void 0, void 0, function*() {\n const unzipPath = yield $e8798153f521ad7c$var$io.which(\"unzip\", true);\n const args = [\n file\n ];\n if (!$e8798153f521ad7c$var$core.isDebug()) args.unshift(\"-q\");\n args.unshift(\"-o\"); //overwrite with -o, otherwise a prompt is shown which freezes the run\n yield $7J8UA.exec(`\"${unzipPath}\"`, args, {\n cwd: dest\n });\n });\n}\n/**\n * Caches a directory and installs it into the tool cacheDir\n *\n * @param sourceDir the directory to cache into tools\n * @param tool tool name\n * @param version version of the tool. semver format\n * @param arch architecture of the tool. Optional. Defaults to machine architecture\n */ function $e8798153f521ad7c$var$cacheDir(sourceDir, tool, version, arch) {\n return $e8798153f521ad7c$var$__awaiter(this, void 0, void 0, function*() {\n version = $e8798153f521ad7c$var$semver.clean(version) || version;\n arch = arch || $e8798153f521ad7c$var$os.arch();\n $e8798153f521ad7c$var$core.debug(`Caching tool ${tool} ${version} ${arch}`);\n $e8798153f521ad7c$var$core.debug(`source dir: ${sourceDir}`);\n if (!$e8798153f521ad7c$var$fs.statSync(sourceDir).isDirectory()) throw new Error(\"sourceDir is not a directory\");\n // Create the tool dir\n const destPath = yield $e8798153f521ad7c$var$_createToolPath(tool, version, arch);\n // copy each child item. do not move. move can fail on Windows\n // due to anti-virus software having an open handle on a file.\n for (const itemName of $e8798153f521ad7c$var$fs.readdirSync(sourceDir)){\n const s = $e8798153f521ad7c$var$path.join(sourceDir, itemName);\n yield $e8798153f521ad7c$var$io.cp(s, destPath, {\n recursive: true\n });\n }\n // write .complete\n $e8798153f521ad7c$var$_completeToolPath(tool, version, arch);\n return destPath;\n });\n}\nmodule.exports.cacheDir = $e8798153f521ad7c$var$cacheDir;\n/**\n * Caches a downloaded file (GUID) and installs it\n * into the tool cache with a given targetName\n *\n * @param sourceFile the file to cache into tools. Typically a result of downloadTool which is a guid.\n * @param targetFile the name of the file name in the tools directory\n * @param tool tool name\n * @param version version of the tool. semver format\n * @param arch architecture of the tool. Optional. Defaults to machine architecture\n */ function $e8798153f521ad7c$var$cacheFile(sourceFile, targetFile, tool, version, arch) {\n return $e8798153f521ad7c$var$__awaiter(this, void 0, void 0, function*() {\n version = $e8798153f521ad7c$var$semver.clean(version) || version;\n arch = arch || $e8798153f521ad7c$var$os.arch();\n $e8798153f521ad7c$var$core.debug(`Caching tool ${tool} ${version} ${arch}`);\n $e8798153f521ad7c$var$core.debug(`source file: ${sourceFile}`);\n if (!$e8798153f521ad7c$var$fs.statSync(sourceFile).isFile()) throw new Error(\"sourceFile is not a file\");\n // create the tool dir\n const destFolder = yield $e8798153f521ad7c$var$_createToolPath(tool, version, arch);\n // copy instead of move. move can fail on Windows due to\n // anti-virus software having an open handle on a file.\n const destPath = $e8798153f521ad7c$var$path.join(destFolder, targetFile);\n $e8798153f521ad7c$var$core.debug(`destination file ${destPath}`);\n yield $e8798153f521ad7c$var$io.cp(sourceFile, destPath);\n // write .complete\n $e8798153f521ad7c$var$_completeToolPath(tool, version, arch);\n return destFolder;\n });\n}\nmodule.exports.cacheFile = $e8798153f521ad7c$var$cacheFile;\n/**\n * Finds the path to a tool version in the local installed tool cache\n *\n * @param toolName name of the tool\n * @param versionSpec version of the tool\n * @param arch optional arch. defaults to arch of computer\n */ function $e8798153f521ad7c$var$find(toolName, versionSpec, arch) {\n if (!toolName) throw new Error(\"toolName parameter is required\");\n if (!versionSpec) throw new Error(\"versionSpec parameter is required\");\n arch = arch || $e8798153f521ad7c$var$os.arch();\n // attempt to resolve an explicit version\n if (!$e8798153f521ad7c$var$isExplicitVersion(versionSpec)) {\n const localVersions = $e8798153f521ad7c$var$findAllVersions(toolName, arch);\n const match = $e8798153f521ad7c$var$evaluateVersions(localVersions, versionSpec);\n versionSpec = match;\n }\n // check for the explicit version in the cache\n let toolPath = \"\";\n if (versionSpec) {\n versionSpec = $e8798153f521ad7c$var$semver.clean(versionSpec) || \"\";\n const cachePath = $e8798153f521ad7c$var$path.join($e8798153f521ad7c$var$_getCacheDirectory(), toolName, versionSpec, arch);\n $e8798153f521ad7c$var$core.debug(`checking cache: ${cachePath}`);\n if ($e8798153f521ad7c$var$fs.existsSync(cachePath) && $e8798153f521ad7c$var$fs.existsSync(`${cachePath}.complete`)) {\n $e8798153f521ad7c$var$core.debug(`Found tool in cache ${toolName} ${versionSpec} ${arch}`);\n toolPath = cachePath;\n } else $e8798153f521ad7c$var$core.debug(\"not found\");\n }\n return toolPath;\n}\nmodule.exports.find = $e8798153f521ad7c$var$find;\n/**\n * Finds the paths to all versions of a tool that are installed in the local tool cache\n *\n * @param toolName name of the tool\n * @param arch optional arch. defaults to arch of computer\n */ function $e8798153f521ad7c$var$findAllVersions(toolName, arch) {\n const versions = [];\n arch = arch || $e8798153f521ad7c$var$os.arch();\n const toolPath = $e8798153f521ad7c$var$path.join($e8798153f521ad7c$var$_getCacheDirectory(), toolName);\n if ($e8798153f521ad7c$var$fs.existsSync(toolPath)) {\n const children = $e8798153f521ad7c$var$fs.readdirSync(toolPath);\n for (const child of children)if ($e8798153f521ad7c$var$isExplicitVersion(child)) {\n const fullPath = $e8798153f521ad7c$var$path.join(toolPath, child, arch || \"\");\n if ($e8798153f521ad7c$var$fs.existsSync(fullPath) && $e8798153f521ad7c$var$fs.existsSync(`${fullPath}.complete`)) versions.push(child);\n }\n }\n return versions;\n}\nmodule.exports.findAllVersions = $e8798153f521ad7c$var$findAllVersions;\nfunction $e8798153f521ad7c$var$getManifestFromRepo(owner, repo, auth, branch = \"master\") {\n return $e8798153f521ad7c$var$__awaiter(this, void 0, void 0, function*() {\n let releases = [];\n const treeUrl = `https://api.github.com/repos/${owner}/${repo}/git/trees/${branch}`;\n const http = new $e8798153f521ad7c$var$httpm.HttpClient(\"tool-cache\");\n const headers = {};\n if (auth) {\n $e8798153f521ad7c$var$core.debug(\"set auth\");\n headers.authorization = auth;\n }\n const response = yield http.getJson(treeUrl, headers);\n if (!response.result) return releases;\n let manifestUrl = \"\";\n for (const item of response.result.tree)if (item.path === \"versions-manifest.json\") {\n manifestUrl = item.url;\n break;\n }\n headers[\"accept\"] = \"application/vnd.github.VERSION.raw\";\n let versionsRaw = yield (yield http.get(manifestUrl, headers)).readBody();\n if (versionsRaw) {\n // shouldn't be needed but protects against invalid json saved with BOM\n versionsRaw = versionsRaw.replace(/^\\uFEFF/, \"\");\n try {\n releases = JSON.parse(versionsRaw);\n } catch (_a) {\n $e8798153f521ad7c$var$core.debug(\"Invalid json\");\n }\n }\n return releases;\n });\n}\nmodule.exports.getManifestFromRepo = $e8798153f521ad7c$var$getManifestFromRepo;\nfunction $e8798153f521ad7c$var$findFromManifest(versionSpec, stable, manifest, archFilter = $e8798153f521ad7c$var$os.arch()) {\n return $e8798153f521ad7c$var$__awaiter(this, void 0, void 0, function*() {\n // wrap the internal impl\n const match = yield $e8798153f521ad7c$var$mm._findMatch(versionSpec, stable, manifest, archFilter);\n return match;\n });\n}\nmodule.exports.findFromManifest = $e8798153f521ad7c$var$findFromManifest;\nfunction $e8798153f521ad7c$var$_createExtractFolder(dest) {\n return $e8798153f521ad7c$var$__awaiter(this, void 0, void 0, function*() {\n if (!dest) // create a temp dir\n dest = $e8798153f521ad7c$var$path.join($e8798153f521ad7c$var$_getTempDirectory(), $e8798153f521ad7c$var$v4_1.default());\n yield $e8798153f521ad7c$var$io.mkdirP(dest);\n return dest;\n });\n}\nfunction $e8798153f521ad7c$var$_createToolPath(tool, version, arch) {\n return $e8798153f521ad7c$var$__awaiter(this, void 0, void 0, function*() {\n const folderPath = $e8798153f521ad7c$var$path.join($e8798153f521ad7c$var$_getCacheDirectory(), tool, $e8798153f521ad7c$var$semver.clean(version) || version, arch || \"\");\n $e8798153f521ad7c$var$core.debug(`destination ${folderPath}`);\n const markerPath = `${folderPath}.complete`;\n yield $e8798153f521ad7c$var$io.rmRF(folderPath);\n yield $e8798153f521ad7c$var$io.rmRF(markerPath);\n yield $e8798153f521ad7c$var$io.mkdirP(folderPath);\n return folderPath;\n });\n}\nfunction $e8798153f521ad7c$var$_completeToolPath(tool, version, arch) {\n const folderPath = $e8798153f521ad7c$var$path.join($e8798153f521ad7c$var$_getCacheDirectory(), tool, $e8798153f521ad7c$var$semver.clean(version) || version, arch || \"\");\n const markerPath = `${folderPath}.complete`;\n $e8798153f521ad7c$var$fs.writeFileSync(markerPath, \"\");\n $e8798153f521ad7c$var$core.debug(\"finished caching tool\");\n}\n/**\n * Check if version string is explicit\n *\n * @param versionSpec version string to check\n */ function $e8798153f521ad7c$var$isExplicitVersion(versionSpec) {\n const c = $e8798153f521ad7c$var$semver.clean(versionSpec) || \"\";\n $e8798153f521ad7c$var$core.debug(`isExplicit: ${c}`);\n const valid = $e8798153f521ad7c$var$semver.valid(c) != null;\n $e8798153f521ad7c$var$core.debug(`explicit? ${valid}`);\n return valid;\n}\nmodule.exports.isExplicitVersion = $e8798153f521ad7c$var$isExplicitVersion;\n/**\n * Get the highest satisfiying semantic version in `versions` which satisfies `versionSpec`\n *\n * @param versions array of versions to evaluate\n * @param versionSpec semantic version spec to satisfy\n */ function $e8798153f521ad7c$var$evaluateVersions(versions, versionSpec) {\n let version = \"\";\n $e8798153f521ad7c$var$core.debug(`evaluating ${versions.length} versions`);\n versions = versions.sort((a, b)=>{\n if ($e8798153f521ad7c$var$semver.gt(a, b)) return 1;\n return -1;\n });\n for(let i = versions.length - 1; i >= 0; i--){\n const potential = versions[i];\n const satisfied = $e8798153f521ad7c$var$semver.satisfies(potential, versionSpec);\n if (satisfied) {\n version = potential;\n break;\n }\n }\n if (version) $e8798153f521ad7c$var$core.debug(`matched: ${version}`);\n else $e8798153f521ad7c$var$core.debug(\"match not found\");\n return version;\n}\nmodule.exports.evaluateVersions = $e8798153f521ad7c$var$evaluateVersions;\n/**\n * Gets RUNNER_TOOL_CACHE\n */ function $e8798153f521ad7c$var$_getCacheDirectory() {\n const cacheDirectory = process.env[\"RUNNER_TOOL_CACHE\"] || \"\";\n $6DZae$assert.ok(cacheDirectory, \"Expected RUNNER_TOOL_CACHE to be defined\");\n return cacheDirectory;\n}\n/**\n * Gets RUNNER_TEMP\n */ function $e8798153f521ad7c$var$_getTempDirectory() {\n const tempDirectory = process.env[\"RUNNER_TEMP\"] || \"\";\n $6DZae$assert.ok(tempDirectory, \"Expected RUNNER_TEMP to be defined\");\n return tempDirectory;\n}\n/**\n * Gets a global variable\n */ function $e8798153f521ad7c$var$_getGlobal(key, defaultValue) {\n /* eslint-disable @typescript-eslint/no-explicit-any */ const value = $parcel$global[key];\n /* eslint-enable @typescript-eslint/no-explicit-any */ return value !== undefined ? value : defaultValue;\n}\n/**\n * Returns an array of unique values.\n * @param values Values to make unique.\n */ function $e8798153f521ad7c$var$_unique(values) {\n return Array.from(new Set(values));\n}\n\n});\nparcelRegister(\"gLtg9\", function(module, exports) {\n\"use strict\";\nvar $c347bb78713850fa$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $c347bb78713850fa$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $c347bb78713850fa$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $c347bb78713850fa$var$__createBinding(result, mod, k);\n }\n $c347bb78713850fa$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $c347bb78713850fa$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports._readLinuxVersionFile = module.exports._getOsVersion = module.exports._findMatch = void 0;\n\nconst $c347bb78713850fa$var$semver = $c347bb78713850fa$var$__importStar((parcelRequire(\"iTAgk\")));\n\nvar $kDRhL = parcelRequire(\"kDRhL\");\n\n\n\nfunction $c347bb78713850fa$var$_findMatch(versionSpec, stable, candidates, archFilter) {\n return $c347bb78713850fa$var$__awaiter(this, void 0, void 0, function*() {\n const platFilter = $6DZae$os.platform();\n let result;\n let match;\n let file;\n for (const candidate of candidates){\n const version = candidate.version;\n $kDRhL.debug(`check ${version} satisfies ${versionSpec}`);\n if ($c347bb78713850fa$var$semver.satisfies(version, versionSpec) && (!stable || candidate.stable === stable)) {\n file = candidate.files.find((item)=>{\n $kDRhL.debug(`${item.arch}===${archFilter} && ${item.platform}===${platFilter}`);\n let chk = item.arch === archFilter && item.platform === platFilter;\n if (chk && item.platform_version) {\n const osVersion = module.exports._getOsVersion();\n if (osVersion === item.platform_version) chk = true;\n else chk = $c347bb78713850fa$var$semver.satisfies(osVersion, item.platform_version);\n }\n return chk;\n });\n if (file) {\n $kDRhL.debug(`matched ${candidate.version}`);\n match = candidate;\n break;\n }\n }\n }\n if (match && file) {\n // clone since we're mutating the file list to be only the file that matches\n result = Object.assign({}, match);\n result.files = [\n file\n ];\n }\n return result;\n });\n}\nmodule.exports._findMatch = $c347bb78713850fa$var$_findMatch;\nfunction $c347bb78713850fa$var$_getOsVersion() {\n // TODO: add windows and other linux, arm variants\n // right now filtering on version is only an ubuntu and macos scenario for tools we build for hosted (python)\n const plat = $6DZae$os.platform();\n let version = \"\";\n if (plat === \"darwin\") version = $6DZae$child_process.execSync(\"sw_vers -productVersion\").toString();\n else if (plat === \"linux\") {\n // lsb_release process not in some containers, readfile\n // Run cat /etc/lsb-release\n // DISTRIB_ID=Ubuntu\n // DISTRIB_RELEASE=18.04\n // DISTRIB_CODENAME=bionic\n // DISTRIB_DESCRIPTION=\"Ubuntu 18.04.4 LTS\"\n const lsbContents = module.exports._readLinuxVersionFile();\n if (lsbContents) {\n const lines = lsbContents.split(\"\\n\");\n for (const line of lines){\n const parts = line.split(\"=\");\n if (parts.length === 2 && (parts[0].trim() === \"VERSION_ID\" || parts[0].trim() === \"DISTRIB_RELEASE\")) {\n version = parts[1].trim().replace(/^\"/, \"\").replace(/\"$/, \"\");\n break;\n }\n }\n }\n }\n return version;\n}\nmodule.exports._getOsVersion = $c347bb78713850fa$var$_getOsVersion;\nfunction $c347bb78713850fa$var$_readLinuxVersionFile() {\n const lsbReleaseFile = \"/etc/lsb-release\";\n const osReleaseFile = \"/etc/os-release\";\n let contents = \"\";\n if ($6DZae$fs.existsSync(lsbReleaseFile)) contents = $6DZae$fs.readFileSync(lsbReleaseFile).toString();\n else if ($6DZae$fs.existsSync(osReleaseFile)) contents = $6DZae$fs.readFileSync(osReleaseFile).toString();\n return contents;\n}\nmodule.exports._readLinuxVersionFile = $c347bb78713850fa$var$_readLinuxVersionFile;\n\n});\nparcelRegister(\"iTAgk\", function(module, exports) {\nexports = module.exports = SemVer;\nvar debug;\n/* istanbul ignore next */ if (typeof process === \"object\" && process.env && process.env.NODE_DEBUG && /\\bsemver\\b/i.test(process.env.NODE_DEBUG)) debug = function() {\n var args = Array.prototype.slice.call(arguments, 0);\n args.unshift(\"SEMVER\");\n console.log.apply(console, args);\n};\nelse debug = function() {};\n// Note: this is the semver.org version of the spec that it implements\n// Not necessarily the package version of this code.\nexports.SEMVER_SPEC_VERSION = \"2.0.0\";\nvar MAX_LENGTH = 256;\nvar MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER || /* istanbul ignore next */ 9007199254740991;\n// Max safe segment length for coercion.\nvar MAX_SAFE_COMPONENT_LENGTH = 16;\nvar MAX_SAFE_BUILD_LENGTH = MAX_LENGTH - 6;\n// The actual regexps go on exports.re\nvar re = exports.re = [];\nvar safeRe = exports.safeRe = [];\nvar src = exports.src = [];\nvar t = exports.tokens = {};\nvar R = 0;\nfunction tok(n) {\n t[n] = R++;\n}\nvar LETTERDASHNUMBER = \"[a-zA-Z0-9-]\";\n// Replace some greedy regex tokens to prevent regex dos issues. These regex are\n// used internally via the safeRe object since all inputs in this library get\n// normalized first to trim and collapse all extra whitespace. The original\n// regexes are exported for userland consumption and lower level usage. A\n// future breaking change could export the safer regex only with a note that\n// all input should have extra whitespace removed.\nvar safeRegexReplacements = [\n [\n \"\\\\s\",\n 1\n ],\n [\n \"\\\\d\",\n MAX_LENGTH\n ],\n [\n LETTERDASHNUMBER,\n MAX_SAFE_BUILD_LENGTH\n ]\n];\nfunction makeSafeRe(value) {\n for(var i = 0; i < safeRegexReplacements.length; i++){\n var token = safeRegexReplacements[i][0];\n var max = safeRegexReplacements[i][1];\n value = value.split(token + \"*\").join(token + \"{0,\" + max + \"}\").split(token + \"+\").join(token + \"{1,\" + max + \"}\");\n }\n return value;\n}\n// The following Regular Expressions can be used for tokenizing,\n// validating, and parsing SemVer version strings.\n// ## Numeric Identifier\n// A single `0`, or a non-zero digit followed by zero or more digits.\ntok(\"NUMERICIDENTIFIER\");\nsrc[t.NUMERICIDENTIFIER] = \"0|[1-9]\\\\d*\";\ntok(\"NUMERICIDENTIFIERLOOSE\");\nsrc[t.NUMERICIDENTIFIERLOOSE] = \"\\\\d+\";\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.\ntok(\"NONNUMERICIDENTIFIER\");\nsrc[t.NONNUMERICIDENTIFIER] = \"\\\\d*[a-zA-Z-]\" + LETTERDASHNUMBER + \"*\";\n// ## Main Version\n// Three dot-separated numeric identifiers.\ntok(\"MAINVERSION\");\nsrc[t.MAINVERSION] = \"(\" + src[t.NUMERICIDENTIFIER] + \")\\\\.\" + \"(\" + src[t.NUMERICIDENTIFIER] + \")\\\\.\" + \"(\" + src[t.NUMERICIDENTIFIER] + \")\";\ntok(\"MAINVERSIONLOOSE\");\nsrc[t.MAINVERSIONLOOSE] = \"(\" + src[t.NUMERICIDENTIFIERLOOSE] + \")\\\\.\" + \"(\" + src[t.NUMERICIDENTIFIERLOOSE] + \")\\\\.\" + \"(\" + src[t.NUMERICIDENTIFIERLOOSE] + \")\";\n// ## Pre-release Version Identifier\n// A numeric identifier, or a non-numeric identifier.\ntok(\"PRERELEASEIDENTIFIER\");\nsrc[t.PRERELEASEIDENTIFIER] = \"(?:\" + src[t.NUMERICIDENTIFIER] + \"|\" + src[t.NONNUMERICIDENTIFIER] + \")\";\ntok(\"PRERELEASEIDENTIFIERLOOSE\");\nsrc[t.PRERELEASEIDENTIFIERLOOSE] = \"(?:\" + src[t.NUMERICIDENTIFIERLOOSE] + \"|\" + src[t.NONNUMERICIDENTIFIER] + \")\";\n// ## Pre-release Version\n// Hyphen, followed by one or more dot-separated pre-release version\n// identifiers.\ntok(\"PRERELEASE\");\nsrc[t.PRERELEASE] = \"(?:-(\" + src[t.PRERELEASEIDENTIFIER] + \"(?:\\\\.\" + src[t.PRERELEASEIDENTIFIER] + \")*))\";\ntok(\"PRERELEASELOOSE\");\nsrc[t.PRERELEASELOOSE] = \"(?:-?(\" + src[t.PRERELEASEIDENTIFIERLOOSE] + \"(?:\\\\.\" + src[t.PRERELEASEIDENTIFIERLOOSE] + \")*))\";\n// ## Build Metadata Identifier\n// Any combination of digits, letters, or hyphens.\ntok(\"BUILDIDENTIFIER\");\nsrc[t.BUILDIDENTIFIER] = LETTERDASHNUMBER + \"+\";\n// ## Build Metadata\n// Plus sign, followed by one or more period-separated build metadata\n// identifiers.\ntok(\"BUILD\");\nsrc[t.BUILD] = \"(?:\\\\+(\" + src[t.BUILDIDENTIFIER] + \"(?:\\\\.\" + src[t.BUILDIDENTIFIER] + \")*))\";\n// ## Full Version String\n// A main version, followed optionally by a pre-release version and\n// build metadata.\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.\ntok(\"FULL\");\ntok(\"FULLPLAIN\");\nsrc[t.FULLPLAIN] = \"v?\" + src[t.MAINVERSION] + src[t.PRERELEASE] + \"?\" + src[t.BUILD] + \"?\";\nsrc[t.FULL] = \"^\" + src[t.FULLPLAIN] + \"$\";\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.\ntok(\"LOOSEPLAIN\");\nsrc[t.LOOSEPLAIN] = \"[v=\\\\s]*\" + src[t.MAINVERSIONLOOSE] + src[t.PRERELEASELOOSE] + \"?\" + src[t.BUILD] + \"?\";\ntok(\"LOOSE\");\nsrc[t.LOOSE] = \"^\" + src[t.LOOSEPLAIN] + \"$\";\ntok(\"GTLT\");\nsrc[t.GTLT] = \"((?:<|>)?=?)\";\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.\ntok(\"XRANGEIDENTIFIERLOOSE\");\nsrc[t.XRANGEIDENTIFIERLOOSE] = src[t.NUMERICIDENTIFIERLOOSE] + \"|x|X|\\\\*\";\ntok(\"XRANGEIDENTIFIER\");\nsrc[t.XRANGEIDENTIFIER] = src[t.NUMERICIDENTIFIER] + \"|x|X|\\\\*\";\ntok(\"XRANGEPLAIN\");\nsrc[t.XRANGEPLAIN] = \"[v=\\\\s]*(\" + src[t.XRANGEIDENTIFIER] + \")\" + \"(?:\\\\.(\" + src[t.XRANGEIDENTIFIER] + \")\" + \"(?:\\\\.(\" + src[t.XRANGEIDENTIFIER] + \")\" + \"(?:\" + src[t.PRERELEASE] + \")?\" + src[t.BUILD] + \"?\" + \")?)?\";\ntok(\"XRANGEPLAINLOOSE\");\nsrc[t.XRANGEPLAINLOOSE] = \"[v=\\\\s]*(\" + src[t.XRANGEIDENTIFIERLOOSE] + \")\" + \"(?:\\\\.(\" + src[t.XRANGEIDENTIFIERLOOSE] + \")\" + \"(?:\\\\.(\" + src[t.XRANGEIDENTIFIERLOOSE] + \")\" + \"(?:\" + src[t.PRERELEASELOOSE] + \")?\" + src[t.BUILD] + \"?\" + \")?)?\";\ntok(\"XRANGE\");\nsrc[t.XRANGE] = \"^\" + src[t.GTLT] + \"\\\\s*\" + src[t.XRANGEPLAIN] + \"$\";\ntok(\"XRANGELOOSE\");\nsrc[t.XRANGELOOSE] = \"^\" + src[t.GTLT] + \"\\\\s*\" + src[t.XRANGEPLAINLOOSE] + \"$\";\n// Coercion.\n// Extract anything that could conceivably be a part of a valid semver\ntok(\"COERCE\");\nsrc[t.COERCE] = \"(^|[^\\\\d])(\\\\d{1,\" + MAX_SAFE_COMPONENT_LENGTH + \"})\" + \"(?:\\\\.(\\\\d{1,\" + MAX_SAFE_COMPONENT_LENGTH + \"}))?\" + \"(?:\\\\.(\\\\d{1,\" + MAX_SAFE_COMPONENT_LENGTH + \"}))?\" + \"(?:$|[^\\\\d])\";\ntok(\"COERCERTL\");\nre[t.COERCERTL] = new RegExp(src[t.COERCE], \"g\");\nsafeRe[t.COERCERTL] = new RegExp(makeSafeRe(src[t.COERCE]), \"g\");\n// Tilde ranges.\n// Meaning is \"reasonably at or greater than\"\ntok(\"LONETILDE\");\nsrc[t.LONETILDE] = \"(?:~>?)\";\ntok(\"TILDETRIM\");\nsrc[t.TILDETRIM] = \"(\\\\s*)\" + src[t.LONETILDE] + \"\\\\s+\";\nre[t.TILDETRIM] = new RegExp(src[t.TILDETRIM], \"g\");\nsafeRe[t.TILDETRIM] = new RegExp(makeSafeRe(src[t.TILDETRIM]), \"g\");\nvar tildeTrimReplace = \"$1~\";\ntok(\"TILDE\");\nsrc[t.TILDE] = \"^\" + src[t.LONETILDE] + src[t.XRANGEPLAIN] + \"$\";\ntok(\"TILDELOOSE\");\nsrc[t.TILDELOOSE] = \"^\" + src[t.LONETILDE] + src[t.XRANGEPLAINLOOSE] + \"$\";\n// Caret ranges.\n// Meaning is \"at least and backwards compatible with\"\ntok(\"LONECARET\");\nsrc[t.LONECARET] = \"(?:\\\\^)\";\ntok(\"CARETTRIM\");\nsrc[t.CARETTRIM] = \"(\\\\s*)\" + src[t.LONECARET] + \"\\\\s+\";\nre[t.CARETTRIM] = new RegExp(src[t.CARETTRIM], \"g\");\nsafeRe[t.CARETTRIM] = new RegExp(makeSafeRe(src[t.CARETTRIM]), \"g\");\nvar caretTrimReplace = \"$1^\";\ntok(\"CARET\");\nsrc[t.CARET] = \"^\" + src[t.LONECARET] + src[t.XRANGEPLAIN] + \"$\";\ntok(\"CARETLOOSE\");\nsrc[t.CARETLOOSE] = \"^\" + src[t.LONECARET] + src[t.XRANGEPLAINLOOSE] + \"$\";\n// A simple gt/lt/eq thing, or just \"\" to indicate \"any version\"\ntok(\"COMPARATORLOOSE\");\nsrc[t.COMPARATORLOOSE] = \"^\" + src[t.GTLT] + \"\\\\s*(\" + src[t.LOOSEPLAIN] + \")$|^$\";\ntok(\"COMPARATOR\");\nsrc[t.COMPARATOR] = \"^\" + src[t.GTLT] + \"\\\\s*(\" + src[t.FULLPLAIN] + \")$|^$\";\n// An expression to strip any whitespace between the gtlt and the thing\n// it modifies, so that `> 1.2.3` ==> `>1.2.3`\ntok(\"COMPARATORTRIM\");\nsrc[t.COMPARATORTRIM] = \"(\\\\s*)\" + src[t.GTLT] + \"\\\\s*(\" + src[t.LOOSEPLAIN] + \"|\" + src[t.XRANGEPLAIN] + \")\";\n// this one has to use the /g flag\nre[t.COMPARATORTRIM] = new RegExp(src[t.COMPARATORTRIM], \"g\");\nsafeRe[t.COMPARATORTRIM] = new RegExp(makeSafeRe(src[t.COMPARATORTRIM]), \"g\");\nvar comparatorTrimReplace = \"$1$2$3\";\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.\ntok(\"HYPHENRANGE\");\nsrc[t.HYPHENRANGE] = \"^\\\\s*(\" + src[t.XRANGEPLAIN] + \")\" + \"\\\\s+-\\\\s+\" + \"(\" + src[t.XRANGEPLAIN] + \")\" + \"\\\\s*$\";\ntok(\"HYPHENRANGELOOSE\");\nsrc[t.HYPHENRANGELOOSE] = \"^\\\\s*(\" + src[t.XRANGEPLAINLOOSE] + \")\" + \"\\\\s+-\\\\s+\" + \"(\" + src[t.XRANGEPLAINLOOSE] + \")\" + \"\\\\s*$\";\n// Star ranges basically just allow anything at all.\ntok(\"STAR\");\nsrc[t.STAR] = \"(<|>)?=?\\\\s*\\\\*\";\n// Compile to actual regexp objects.\n// All are flag-free, unless they were created above with a flag.\nfor(var i = 0; i < R; i++){\n debug(i, src[i]);\n if (!re[i]) {\n re[i] = new RegExp(src[i]);\n // Replace all greedy whitespace to prevent regex dos issues. These regex are\n // used internally via the safeRe object since all inputs in this library get\n // normalized first to trim and collapse all extra whitespace. The original\n // regexes are exported for userland consumption and lower level usage. A\n // future breaking change could export the safer regex only with a note that\n // all input should have extra whitespace removed.\n safeRe[i] = new RegExp(makeSafeRe(src[i]));\n }\n}\nexports.parse = parse;\nfunction parse(version, options) {\n if (!options || typeof options !== \"object\") options = {\n loose: !!options,\n includePrerelease: false\n };\n if (version instanceof SemVer) return version;\n if (typeof version !== \"string\") return null;\n if (version.length > MAX_LENGTH) return null;\n var r = options.loose ? safeRe[t.LOOSE] : safeRe[t.FULL];\n if (!r.test(version)) return null;\n try {\n return new SemVer(version, options);\n } catch (er) {\n return null;\n }\n}\nexports.valid = valid;\nfunction valid(version, options) {\n var v = parse(version, options);\n return v ? v.version : null;\n}\nexports.clean = clean;\nfunction clean(version, options) {\n var s = parse(version.trim().replace(/^[=v]+/, \"\"), options);\n return s ? s.version : null;\n}\nexports.SemVer = SemVer;\nfunction SemVer(version, options) {\n if (!options || typeof options !== \"object\") options = {\n loose: !!options,\n includePrerelease: false\n };\n if (version instanceof SemVer) {\n if (version.loose === options.loose) return version;\n else version = version.version;\n } else if (typeof version !== \"string\") throw new TypeError(\"Invalid Version: \" + version);\n if (version.length > MAX_LENGTH) throw new TypeError(\"version is longer than \" + MAX_LENGTH + \" characters\");\n if (!(this instanceof SemVer)) return new SemVer(version, options);\n debug(\"SemVer\", version, options);\n this.options = options;\n this.loose = !!options.loose;\n var m = version.trim().match(options.loose ? safeRe[t.LOOSE] : safeRe[t.FULL]);\n if (!m) throw new TypeError(\"Invalid Version: \" + version);\n this.raw = version;\n // these are actually numbers\n this.major = +m[1];\n this.minor = +m[2];\n this.patch = +m[3];\n if (this.major > MAX_SAFE_INTEGER || this.major < 0) throw new TypeError(\"Invalid major version\");\n if (this.minor > MAX_SAFE_INTEGER || this.minor < 0) throw new TypeError(\"Invalid minor version\");\n if (this.patch > MAX_SAFE_INTEGER || this.patch < 0) throw new TypeError(\"Invalid patch version\");\n // numberify any prerelease numeric ids\n if (!m[4]) this.prerelease = [];\n else this.prerelease = m[4].split(\".\").map(function(id) {\n if (/^[0-9]+$/.test(id)) {\n var num = +id;\n if (num >= 0 && num < MAX_SAFE_INTEGER) return num;\n }\n return id;\n });\n this.build = m[5] ? m[5].split(\".\") : [];\n this.format();\n}\nSemVer.prototype.format = function() {\n this.version = this.major + \".\" + this.minor + \".\" + this.patch;\n if (this.prerelease.length) this.version += \"-\" + this.prerelease.join(\".\");\n return this.version;\n};\nSemVer.prototype.toString = function() {\n return this.version;\n};\nSemVer.prototype.compare = function(other) {\n debug(\"SemVer.compare\", this.version, this.options, other);\n if (!(other instanceof SemVer)) other = new SemVer(other, this.options);\n return this.compareMain(other) || this.comparePre(other);\n};\nSemVer.prototype.compareMain = function(other) {\n if (!(other instanceof SemVer)) other = new SemVer(other, this.options);\n return compareIdentifiers(this.major, other.major) || compareIdentifiers(this.minor, other.minor) || compareIdentifiers(this.patch, other.patch);\n};\nSemVer.prototype.comparePre = function(other) {\n if (!(other instanceof SemVer)) other = new SemVer(other, this.options);\n // NOT having a prerelease is > having one\n if (this.prerelease.length && !other.prerelease.length) return -1;\n else if (!this.prerelease.length && other.prerelease.length) return 1;\n else if (!this.prerelease.length && !other.prerelease.length) return 0;\n var i = 0;\n do {\n var a = this.prerelease[i];\n var b = other.prerelease[i];\n debug(\"prerelease compare\", i, a, b);\n if (a === undefined && b === undefined) return 0;\n else if (b === undefined) return 1;\n else if (a === undefined) return -1;\n else if (a === b) continue;\n else return compareIdentifiers(a, b);\n }while (++i);\n};\nSemVer.prototype.compareBuild = function(other) {\n if (!(other instanceof SemVer)) other = new SemVer(other, this.options);\n var i = 0;\n do {\n var a = this.build[i];\n var b = other.build[i];\n debug(\"prerelease compare\", i, a, b);\n if (a === undefined && b === undefined) return 0;\n else if (b === undefined) return 1;\n else if (a === undefined) return -1;\n else if (a === b) continue;\n else return compareIdentifiers(a, b);\n }while (++i);\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.\nSemVer.prototype.inc = function(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) this.inc(\"patch\", identifier);\n this.inc(\"pre\", identifier);\n break;\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 (this.minor !== 0 || this.patch !== 0 || this.prerelease.length === 0) this.major++;\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) this.minor++;\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) this.patch++;\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) this.prerelease = [\n 0\n ];\n else {\n var i = this.prerelease.length;\n while(--i >= 0)if (typeof this.prerelease[i] === \"number\") {\n this.prerelease[i]++;\n i = -2;\n }\n if (i === -1) // didn't increment anything\n this.prerelease.push(0);\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 (this.prerelease[0] === identifier) {\n if (isNaN(this.prerelease[1])) this.prerelease = [\n identifier,\n 0\n ];\n } else this.prerelease = [\n identifier,\n 0\n ];\n }\n break;\n default:\n throw new Error(\"invalid increment argument: \" + release);\n }\n this.format();\n this.raw = this.version;\n return this;\n};\nexports.inc = inc;\nfunction inc(version, release, loose, identifier) {\n if (typeof loose === \"string\") {\n identifier = loose;\n loose = undefined;\n }\n try {\n return new SemVer(version, loose).inc(release, identifier).version;\n } catch (er) {\n return null;\n }\n}\nexports.diff = diff;\nfunction diff(version1, version2) {\n if (eq(version1, version2)) return null;\n else {\n var v1 = parse(version1);\n var v2 = parse(version2);\n var prefix = \"\";\n if (v1.prerelease.length || v2.prerelease.length) {\n prefix = \"pre\";\n var defaultResult = \"prerelease\";\n }\n for(var key in v1)if (key === \"major\" || key === \"minor\" || key === \"patch\") {\n if (v1[key] !== v2[key]) return prefix + key;\n }\n return defaultResult // may be undefined\n ;\n }\n}\nexports.compareIdentifiers = compareIdentifiers;\nvar numeric = /^[0-9]+$/;\nfunction compareIdentifiers(a, b) {\n var anum = numeric.test(a);\n var bnum = numeric.test(b);\n if (anum && bnum) {\n a = +a;\n b = +b;\n }\n return a === b ? 0 : anum && !bnum ? -1 : bnum && !anum ? 1 : a < b ? -1 : 1;\n}\nexports.rcompareIdentifiers = rcompareIdentifiers;\nfunction rcompareIdentifiers(a, b) {\n return compareIdentifiers(b, a);\n}\nexports.major = major;\nfunction major(a, loose) {\n return new SemVer(a, loose).major;\n}\nexports.minor = minor;\nfunction minor(a, loose) {\n return new SemVer(a, loose).minor;\n}\nexports.patch = patch;\nfunction patch(a, loose) {\n return new SemVer(a, loose).patch;\n}\nexports.compare = compare;\nfunction compare(a, b, loose) {\n return new SemVer(a, loose).compare(new SemVer(b, loose));\n}\nexports.compareLoose = compareLoose;\nfunction compareLoose(a, b) {\n return compare(a, b, true);\n}\nexports.compareBuild = compareBuild;\nfunction compareBuild(a, b, loose) {\n var versionA = new SemVer(a, loose);\n var versionB = new SemVer(b, loose);\n return versionA.compare(versionB) || versionA.compareBuild(versionB);\n}\nexports.rcompare = rcompare;\nfunction rcompare(a, b, loose) {\n return compare(b, a, loose);\n}\nexports.sort = sort;\nfunction sort(list, loose) {\n return list.sort(function(a, b) {\n return exports.compareBuild(a, b, loose);\n });\n}\nexports.rsort = rsort;\nfunction rsort(list, loose) {\n return list.sort(function(a, b) {\n return exports.compareBuild(b, a, loose);\n });\n}\nexports.gt = gt;\nfunction gt(a, b, loose) {\n return compare(a, b, loose) > 0;\n}\nexports.lt = lt;\nfunction lt(a, b, loose) {\n return compare(a, b, loose) < 0;\n}\nexports.eq = eq;\nfunction eq(a, b, loose) {\n return compare(a, b, loose) === 0;\n}\nexports.neq = neq;\nfunction neq(a, b, loose) {\n return compare(a, b, loose) !== 0;\n}\nexports.gte = gte;\nfunction gte(a, b, loose) {\n return compare(a, b, loose) >= 0;\n}\nexports.lte = lte;\nfunction lte(a, b, loose) {\n return compare(a, b, loose) <= 0;\n}\nexports.cmp = cmp;\nfunction cmp(a, op, b, loose) {\n switch(op){\n case \"===\":\n if (typeof a === \"object\") a = a.version;\n if (typeof b === \"object\") b = b.version;\n return a === b;\n case \"!==\":\n if (typeof a === \"object\") a = a.version;\n if (typeof b === \"object\") b = b.version;\n return a !== b;\n case \"\":\n case \"=\":\n case \"==\":\n return eq(a, b, loose);\n case \"!=\":\n return neq(a, b, loose);\n case \">\":\n return gt(a, b, loose);\n case \">=\":\n return gte(a, b, loose);\n case \"<\":\n return lt(a, b, loose);\n case \"<=\":\n return lte(a, b, loose);\n default:\n throw new TypeError(\"Invalid operator: \" + op);\n }\n}\nexports.Comparator = Comparator;\nfunction Comparator(comp, options) {\n if (!options || typeof options !== \"object\") options = {\n loose: !!options,\n includePrerelease: false\n };\n if (comp instanceof Comparator) {\n if (comp.loose === !!options.loose) return comp;\n else comp = comp.value;\n }\n if (!(this instanceof Comparator)) return new Comparator(comp, options);\n comp = comp.trim().split(/\\s+/).join(\" \");\n debug(\"comparator\", comp, options);\n this.options = options;\n this.loose = !!options.loose;\n this.parse(comp);\n if (this.semver === ANY) this.value = \"\";\n else this.value = this.operator + this.semver.version;\n debug(\"comp\", this);\n}\nvar ANY = {};\nComparator.prototype.parse = function(comp) {\n var r = this.options.loose ? safeRe[t.COMPARATORLOOSE] : safeRe[t.COMPARATOR];\n var m = comp.match(r);\n if (!m) throw new TypeError(\"Invalid comparator: \" + comp);\n this.operator = m[1] !== undefined ? m[1] : \"\";\n if (this.operator === \"=\") this.operator = \"\";\n // if it literally is just '>' or '' then allow anything.\n if (!m[2]) this.semver = ANY;\n else this.semver = new SemVer(m[2], this.options.loose);\n};\nComparator.prototype.toString = function() {\n return this.value;\n};\nComparator.prototype.test = function(version) {\n debug(\"Comparator.test\", version, this.options.loose);\n if (this.semver === ANY || version === ANY) return true;\n if (typeof version === \"string\") try {\n version = new SemVer(version, this.options);\n } catch (er) {\n return false;\n }\n return cmp(version, this.operator, this.semver, this.options);\n};\nComparator.prototype.intersects = function(comp, options) {\n if (!(comp instanceof Comparator)) throw new TypeError(\"a Comparator is required\");\n if (!options || typeof options !== \"object\") options = {\n loose: !!options,\n includePrerelease: false\n };\n var rangeTmp;\n if (this.operator === \"\") {\n if (this.value === \"\") return true;\n rangeTmp = new Range(comp.value, options);\n return satisfies(this.value, rangeTmp, options);\n } else if (comp.operator === \"\") {\n if (comp.value === \"\") return true;\n rangeTmp = new Range(this.value, options);\n return satisfies(comp.semver, rangeTmp, options);\n }\n var sameDirectionIncreasing = (this.operator === \">=\" || this.operator === \">\") && (comp.operator === \">=\" || comp.operator === \">\");\n var sameDirectionDecreasing = (this.operator === \"<=\" || this.operator === \"<\") && (comp.operator === \"<=\" || comp.operator === \"<\");\n var sameSemVer = this.semver.version === comp.semver.version;\n var differentDirectionsInclusive = (this.operator === \">=\" || this.operator === \"<=\") && (comp.operator === \">=\" || comp.operator === \"<=\");\n var oppositeDirectionsLessThan = cmp(this.semver, \"<\", comp.semver, options) && (this.operator === \">=\" || this.operator === \">\") && (comp.operator === \"<=\" || comp.operator === \"<\");\n var oppositeDirectionsGreaterThan = cmp(this.semver, \">\", comp.semver, options) && (this.operator === \"<=\" || this.operator === \"<\") && (comp.operator === \">=\" || comp.operator === \">\");\n return sameDirectionIncreasing || sameDirectionDecreasing || sameSemVer && differentDirectionsInclusive || oppositeDirectionsLessThan || oppositeDirectionsGreaterThan;\n};\nexports.Range = Range;\nfunction Range(range, options) {\n if (!options || typeof options !== \"object\") options = {\n loose: !!options,\n includePrerelease: false\n };\n if (range instanceof Range) {\n if (range.loose === !!options.loose && range.includePrerelease === !!options.includePrerelease) return range;\n else return new Range(range.raw, options);\n }\n if (range instanceof Comparator) return new Range(range.value, options);\n if (!(this instanceof Range)) return new Range(range, options);\n this.options = options;\n this.loose = !!options.loose;\n this.includePrerelease = !!options.includePrerelease;\n // First reduce all whitespace as much as possible so we do not have to rely\n // on potentially slow regexes like \\s*. This is then stored and used for\n // future error messages as well.\n this.raw = range.trim().split(/\\s+/).join(\" \");\n // First, split based on boolean or ||\n this.set = this.raw.split(\"||\").map(function(range) {\n return this.parseRange(range.trim());\n }, this).filter(function(c) {\n // throw out any that are not relevant for whatever reason\n return c.length;\n });\n if (!this.set.length) throw new TypeError(\"Invalid SemVer Range: \" + this.raw);\n this.format();\n}\nRange.prototype.format = function() {\n this.range = this.set.map(function(comps) {\n return comps.join(\" \").trim();\n }).join(\"||\").trim();\n return this.range;\n};\nRange.prototype.toString = function() {\n return this.range;\n};\nRange.prototype.parseRange = function(range) {\n var loose = this.options.loose;\n // `1.2.3 - 1.2.4` => `>=1.2.3 <=1.2.4`\n var hr = loose ? safeRe[t.HYPHENRANGELOOSE] : safeRe[t.HYPHENRANGE];\n range = range.replace(hr, hyphenReplace);\n debug(\"hyphen replace\", range);\n // `> 1.2.3 < 1.2.5` => `>1.2.3 <1.2.5`\n range = range.replace(safeRe[t.COMPARATORTRIM], comparatorTrimReplace);\n debug(\"comparator trim\", range, safeRe[t.COMPARATORTRIM]);\n // `~ 1.2.3` => `~1.2.3`\n range = range.replace(safeRe[t.TILDETRIM], tildeTrimReplace);\n // `^ 1.2.3` => `^1.2.3`\n range = range.replace(safeRe[t.CARETTRIM], caretTrimReplace);\n // normalize spaces\n range = range.split(/\\s+/).join(\" \");\n // At this point, the range is completely trimmed and\n // ready to be split into comparators.\n var compRe = loose ? safeRe[t.COMPARATORLOOSE] : safeRe[t.COMPARATOR];\n var set = range.split(\" \").map(function(comp) {\n return parseComparator(comp, this.options);\n }, this).join(\" \").split(/\\s+/);\n if (this.options.loose) // in loose mode, throw out any that are not valid comparators\n set = set.filter(function(comp) {\n return !!comp.match(compRe);\n });\n set = set.map(function(comp) {\n return new Comparator(comp, this.options);\n }, this);\n return set;\n};\nRange.prototype.intersects = function(range, options) {\n if (!(range instanceof Range)) throw new TypeError(\"a Range is required\");\n return this.set.some(function(thisComparators) {\n return isSatisfiable(thisComparators, options) && range.set.some(function(rangeComparators) {\n return isSatisfiable(rangeComparators, options) && thisComparators.every(function(thisComparator) {\n return rangeComparators.every(function(rangeComparator) {\n return thisComparator.intersects(rangeComparator, options);\n });\n });\n });\n });\n};\n// take a set of comparators and determine whether there\n// exists a version which can satisfy it\nfunction isSatisfiable(comparators, options) {\n var result = true;\n var remainingComparators = comparators.slice();\n var testComparator = remainingComparators.pop();\n while(result && remainingComparators.length){\n result = remainingComparators.every(function(otherComparator) {\n return testComparator.intersects(otherComparator, options);\n });\n testComparator = remainingComparators.pop();\n }\n return result;\n}\n// Mostly just for testing and legacy API reasons\nexports.toComparators = toComparators;\nfunction toComparators(range, options) {\n return new Range(range, options).set.map(function(comp) {\n return comp.map(function(c) {\n return c.value;\n }).join(\" \").trim().split(\" \");\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.\nfunction 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}\nfunction isX(id) {\n return !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\n// ~2.0, ~2.0.x, ~>2.0, ~>2.0.x --> >=2.0.0 <2.1.0\n// ~1.2, ~1.2.x, ~>1.2, ~>1.2.x --> >=1.2.0 <1.3.0\n// ~1.2.3, ~>1.2.3 --> >=1.2.3 <1.3.0\n// ~1.2.0, ~>1.2.0 --> >=1.2.0 <1.3.0\nfunction replaceTildes(comp, options) {\n return comp.trim().split(/\\s+/).map(function(comp) {\n return replaceTilde(comp, options);\n }).join(\" \");\n}\nfunction replaceTilde(comp, options) {\n var r = options.loose ? safeRe[t.TILDELOOSE] : safeRe[t.TILDE];\n return comp.replace(r, function(_, M, m, p, pr) {\n debug(\"tilde\", comp, _, M, m, p, pr);\n var ret;\n if (isX(M)) ret = \"\";\n else if (isX(m)) ret = \">=\" + M + \".0.0 <\" + (+M + 1) + \".0.0\";\n else if (isX(p)) // ~1.2 == >=1.2.0 <1.3.0\n ret = \">=\" + M + \".\" + m + \".0 <\" + M + \".\" + (+m + 1) + \".0\";\n else if (pr) {\n debug(\"replaceTilde pr\", pr);\n ret = \">=\" + M + \".\" + m + \".\" + p + \"-\" + pr + \" <\" + M + \".\" + (+m + 1) + \".0\";\n } else // ~1.2.3 == >=1.2.3 <1.3.0\n ret = \">=\" + M + \".\" + m + \".\" + p + \" <\" + M + \".\" + (+m + 1) + \".0\";\n debug(\"tilde return\", ret);\n return ret;\n });\n}\n// ^ --> * (any, kinda silly)\n// ^2, ^2.x, ^2.x.x --> >=2.0.0 <3.0.0\n// ^2.0, ^2.0.x --> >=2.0.0 <3.0.0\n// ^1.2, ^1.2.x --> >=1.2.0 <2.0.0\n// ^1.2.3 --> >=1.2.3 <2.0.0\n// ^1.2.0 --> >=1.2.0 <2.0.0\nfunction replaceCarets(comp, options) {\n return comp.trim().split(/\\s+/).map(function(comp) {\n return replaceCaret(comp, options);\n }).join(\" \");\n}\nfunction replaceCaret(comp, options) {\n debug(\"caret\", comp, options);\n var r = options.loose ? safeRe[t.CARETLOOSE] : safeRe[t.CARET];\n return comp.replace(r, function(_, M, m, p, pr) {\n debug(\"caret\", comp, _, M, m, p, pr);\n var ret;\n if (isX(M)) ret = \"\";\n else if (isX(m)) ret = \">=\" + M + \".0.0 <\" + (+M + 1) + \".0.0\";\n else if (isX(p)) {\n if (M === \"0\") ret = \">=\" + M + \".\" + m + \".0 <\" + M + \".\" + (+m + 1) + \".0\";\n else ret = \">=\" + M + \".\" + m + \".0 <\" + (+M + 1) + \".0.0\";\n } else if (pr) {\n debug(\"replaceCaret pr\", pr);\n if (M === \"0\") {\n if (m === \"0\") ret = \">=\" + M + \".\" + m + \".\" + p + \"-\" + pr + \" <\" + M + \".\" + m + \".\" + (+p + 1);\n else ret = \">=\" + M + \".\" + m + \".\" + p + \"-\" + pr + \" <\" + M + \".\" + (+m + 1) + \".0\";\n } else ret = \">=\" + M + \".\" + m + \".\" + p + \"-\" + pr + \" <\" + (+M + 1) + \".0.0\";\n } else {\n debug(\"no pr\");\n if (M === \"0\") {\n if (m === \"0\") ret = \">=\" + M + \".\" + m + \".\" + p + \" <\" + M + \".\" + m + \".\" + (+p + 1);\n else ret = \">=\" + M + \".\" + m + \".\" + p + \" <\" + M + \".\" + (+m + 1) + \".0\";\n } else ret = \">=\" + M + \".\" + m + \".\" + p + \" <\" + (+M + 1) + \".0.0\";\n }\n debug(\"caret return\", ret);\n return ret;\n });\n}\nfunction replaceXRanges(comp, options) {\n debug(\"replaceXRanges\", comp, options);\n return comp.split(/\\s+/).map(function(comp) {\n return replaceXRange(comp, options);\n }).join(\" \");\n}\nfunction replaceXRange(comp, options) {\n comp = comp.trim();\n var r = options.loose ? safeRe[t.XRANGELOOSE] : safeRe[t.XRANGE];\n return comp.replace(r, function(ret, gtlt, M, m, p, pr) {\n debug(\"xRange\", comp, ret, gtlt, M, m, p, pr);\n var xM = isX(M);\n var xm = xM || isX(m);\n var xp = xm || isX(p);\n var anyX = xp;\n if (gtlt === \"=\" && anyX) gtlt = \"\";\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 if (xM) {\n if (gtlt === \">\" || gtlt === \"<\") // nothing is allowed\n ret = \"<0.0.0-0\";\n else // nothing is forbidden\n ret = \"*\";\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) m = 0;\n p = 0;\n if (gtlt === \">\") {\n // >1 => >=2.0.0\n // >1.2 => >=1.3.0\n // >1.2.3 => >= 1.2.4\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) M = +M + 1;\n else m = +m + 1;\n }\n ret = gtlt + M + \".\" + m + \".\" + p + pr;\n } else if (xm) ret = \">=\" + M + \".0.0\" + pr + \" <\" + (+M + 1) + \".0.0\" + pr;\n else if (xp) ret = \">=\" + M + \".\" + m + \".0\" + pr + \" <\" + M + \".\" + (+m + 1) + \".0\" + pr;\n debug(\"xRange return\", ret);\n return ret;\n });\n}\n// Because * is AND-ed with everything else in the comparator,\n// and '' means \"any version\", just remove the *s entirely.\nfunction 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(safeRe[t.STAR], \"\");\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 Any 3.4.x will do\n// 1.2 - 3.4 => >=1.2.0 <3.5.0\nfunction hyphenReplace($0, from, fM, fm, fp, fpr, fb, to, tM, tm, tp, tpr, tb) {\n if (isX(fM)) from = \"\";\n else if (isX(fm)) from = \">=\" + fM + \".0.0\";\n else if (isX(fp)) from = \">=\" + fM + \".\" + fm + \".0\";\n else from = \">=\" + from;\n if (isX(tM)) to = \"\";\n else if (isX(tm)) to = \"<\" + (+tM + 1) + \".0.0\";\n else if (isX(tp)) to = \"<\" + tM + \".\" + (+tm + 1) + \".0\";\n else if (tpr) to = \"<=\" + tM + \".\" + tm + \".\" + tp + \"-\" + tpr;\n else to = \"<=\" + to;\n return (from + \" \" + to).trim();\n}\n// if ANY of the sets match ALL of its comparators, then pass\nRange.prototype.test = function(version) {\n if (!version) return false;\n if (typeof version === \"string\") try {\n version = new SemVer(version, this.options);\n } catch (er) {\n return false;\n }\n for(var i = 0; i < this.set.length; i++){\n if (testSet(this.set[i], version, this.options)) return true;\n }\n return false;\n};\nfunction testSet(set, version, options) {\n for(var i = 0; i < set.length; i++){\n if (!set[i].test(version)) return false;\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(i = 0; i < set.length; i++){\n debug(set[i].semver);\n if (set[i].semver === ANY) continue;\n if (set[i].semver.prerelease.length > 0) {\n var allowed = set[i].semver;\n if (allowed.major === version.major && allowed.minor === version.minor && allowed.patch === version.patch) return true;\n }\n }\n // Version has a -pre, but it's not one of the ones we like.\n return false;\n }\n return true;\n}\nexports.satisfies = satisfies;\nfunction 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}\nexports.maxSatisfying = maxSatisfying;\nfunction maxSatisfying(versions, range, options) {\n var max = null;\n var maxSV = null;\n try {\n var rangeObj = new Range(range, options);\n } catch (er) {\n return null;\n }\n versions.forEach(function(v) {\n if (rangeObj.test(v)) // satisfies(v, range, options)\n {\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}\nexports.minSatisfying = minSatisfying;\nfunction minSatisfying(versions, range, options) {\n var min = null;\n var minSV = null;\n try {\n var rangeObj = new Range(range, options);\n } catch (er) {\n return null;\n }\n versions.forEach(function(v) {\n if (rangeObj.test(v)) // satisfies(v, range, options)\n {\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}\nexports.minVersion = minVersion;\nfunction minVersion(range, loose) {\n range = new Range(range, loose);\n var minver = new SemVer(\"0.0.0\");\n if (range.test(minver)) return minver;\n minver = new SemVer(\"0.0.0-0\");\n if (range.test(minver)) return minver;\n minver = null;\n for(var i = 0; i < range.set.length; ++i){\n var comparators = range.set[i];\n comparators.forEach(function(comparator) {\n // Clone to avoid manipulating the comparator's semver object.\n var compver = new SemVer(comparator.semver.version);\n switch(comparator.operator){\n case \">\":\n if (compver.prerelease.length === 0) compver.patch++;\n else compver.prerelease.push(0);\n compver.raw = compver.format();\n /* fallthrough */ case \"\":\n case \">=\":\n if (!minver || gt(minver, compver)) minver = compver;\n break;\n case \"<\":\n case \"<=\":\n break;\n /* istanbul ignore next */ default:\n throw new Error(\"Unexpected operation: \" + comparator.operator);\n }\n });\n }\n if (minver && range.test(minver)) return minver;\n return null;\n}\nexports.validRange = validRange;\nfunction 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}\n// Determine if version is less than all the versions possible in the range\nexports.ltr = ltr;\nfunction ltr(version, range, options) {\n return outside(version, range, \"<\", options);\n}\n// Determine if version is greater than all the versions possible in the range.\nexports.gtr = gtr;\nfunction gtr(version, range, options) {\n return outside(version, range, \">\", options);\n}\nexports.outside = outside;\nfunction outside(version, range, hilo, options) {\n version = new SemVer(version, options);\n range = new Range(range, options);\n var 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 // If it satisifes the range it is not outside\n if (satisfies(version, range, options)) return false;\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 for(var i = 0; i < range.set.length; ++i){\n var comparators = range.set[i];\n var high = null;\n var low = null;\n comparators.forEach(function(comparator) {\n if (comparator.semver === ANY) comparator = new Comparator(\">=0.0.0\");\n high = high || comparator;\n low = low || comparator;\n if (gtfn(comparator.semver, high.semver, options)) high = comparator;\n else if (ltfn(comparator.semver, low.semver, options)) low = comparator;\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) return false;\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) && ltefn(version, low.semver)) return false;\n else if (low.operator === ecomp && ltfn(version, low.semver)) return false;\n }\n return true;\n}\nexports.prerelease = prerelease;\nfunction prerelease(version, options) {\n var parsed = parse(version, options);\n return parsed && parsed.prerelease.length ? parsed.prerelease : null;\n}\nexports.intersects = intersects;\nfunction intersects(r1, r2, options) {\n r1 = new Range(r1, options);\n r2 = new Range(r2, options);\n return r1.intersects(r2);\n}\nexports.coerce = coerce;\nfunction coerce(version, options) {\n if (version instanceof SemVer) return version;\n if (typeof version === \"number\") version = String(version);\n if (typeof version !== \"string\") return null;\n options = options || {};\n var match = null;\n if (!options.rtl) match = version.match(safeRe[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 var next;\n while((next = safeRe[t.COERCERTL].exec(version)) && (!match || match.index + match[0].length !== version.length)){\n if (!match || next.index + next[0].length !== match.index + match[0].length) match = next;\n safeRe[t.COERCERTL].lastIndex = next.index + next[1].length + next[2].length;\n }\n // leave it in a clean state\n safeRe[t.COERCERTL].lastIndex = -1;\n }\n if (match === null) return null;\n return parse(match[2] + \".\" + (match[3] || \"0\") + \".\" + (match[4] || \"0\"), options);\n}\n\n});\n\n\nparcelRegister(\"cwp5N\", function(module, exports) {\n\nvar $ldGzv = parcelRequire(\"ldGzv\");\n\nvar $iehgw = parcelRequire(\"iehgw\");\nfunction $91dbf00f4503f27c$var$v4(options, buf, offset) {\n var i = buf && offset || 0;\n if (typeof options == \"string\") {\n buf = options === \"binary\" ? new Array(16) : null;\n options = null;\n }\n options = options || {};\n var rnds = options.random || (options.rng || $ldGzv)();\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 // Copy bytes to buffer, if provided\n if (buf) for(var ii = 0; ii < 16; ++ii)buf[i + ii] = rnds[ii];\n return buf || $iehgw(rnds);\n}\nmodule.exports = $91dbf00f4503f27c$var$v4;\n\n});\nparcelRegister(\"ldGzv\", function(module, exports) {\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\nmodule.exports = function nodeRNG() {\n return $6DZae$crypto.randomBytes(16);\n};\n\n});\n\nparcelRegister(\"iehgw\", function(module, exports) {\n/**\n * Convert array of 16 byte values to UUID string format of the form:\n * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\n */ var $d456ed5a1a382cf4$var$byteToHex = [];\nfor(var $d456ed5a1a382cf4$var$i = 0; $d456ed5a1a382cf4$var$i < 256; ++$d456ed5a1a382cf4$var$i)$d456ed5a1a382cf4$var$byteToHex[$d456ed5a1a382cf4$var$i] = ($d456ed5a1a382cf4$var$i + 0x100).toString(16).substr(1);\nfunction $d456ed5a1a382cf4$var$bytesToUuid(buf, offset) {\n var i = offset || 0;\n var bth = $d456ed5a1a382cf4$var$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++]],\n bth[buf[i++]],\n bth[buf[i++]],\n bth[buf[i++]],\n \"-\",\n bth[buf[i++]],\n bth[buf[i++]],\n \"-\",\n bth[buf[i++]],\n bth[buf[i++]],\n \"-\",\n bth[buf[i++]],\n bth[buf[i++]],\n \"-\",\n bth[buf[i++]],\n bth[buf[i++]],\n bth[buf[i++]],\n bth[buf[i++]],\n bth[buf[i++]],\n bth[buf[i++]]\n ].join(\"\");\n}\nmodule.exports = $d456ed5a1a382cf4$var$bytesToUuid;\n\n});\n\n\nparcelRegister(\"aBhC9\", function(module, exports) {\n\"use strict\";\nvar $7b7b05f29151ef58$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $7b7b05f29151ef58$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $7b7b05f29151ef58$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $7b7b05f29151ef58$var$__createBinding(result, mod, k);\n }\n $7b7b05f29151ef58$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $7b7b05f29151ef58$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.RetryHelper = void 0;\n\nconst $7b7b05f29151ef58$var$core = $7b7b05f29151ef58$var$__importStar((parcelRequire(\"kDRhL\")));\n/**\n * Internal class for retries\n */ class $7b7b05f29151ef58$var$RetryHelper {\n constructor(maxAttempts, minSeconds, maxSeconds){\n if (maxAttempts < 1) throw new Error(\"max attempts should be greater than or equal to 1\");\n this.maxAttempts = maxAttempts;\n this.minSeconds = Math.floor(minSeconds);\n this.maxSeconds = Math.floor(maxSeconds);\n if (this.minSeconds > this.maxSeconds) throw new Error(\"min seconds should be less than or equal to max seconds\");\n }\n execute(action, isRetryable) {\n return $7b7b05f29151ef58$var$__awaiter(this, void 0, void 0, function*() {\n let attempt = 1;\n while(attempt < this.maxAttempts){\n // Try\n try {\n return yield action();\n } catch (err) {\n if (isRetryable && !isRetryable(err)) throw err;\n $7b7b05f29151ef58$var$core.info(err.message);\n }\n // Sleep\n const seconds = this.getSleepAmount();\n $7b7b05f29151ef58$var$core.info(`Waiting ${seconds} seconds before trying again`);\n yield this.sleep(seconds);\n attempt++;\n }\n // Last attempt\n return yield action();\n });\n }\n getSleepAmount() {\n return Math.floor(Math.random() * (this.maxSeconds - this.minSeconds + 1)) + this.minSeconds;\n }\n sleep(seconds) {\n return $7b7b05f29151ef58$var$__awaiter(this, void 0, void 0, function*() {\n return new Promise((resolve)=>setTimeout(resolve, seconds * 1000));\n });\n }\n}\nmodule.exports.RetryHelper = $7b7b05f29151ef58$var$RetryHelper;\n\n});\n\n\n\n\nparcelRegister(\"2hRl9\", function(module, exports) {\n\n$parcel$export(module.exports, \"findPyPyVersion\", () => $0c5747f4f1a597e0$export$43d689d19c89c31d);\n\n\nvar $byVqd = parcelRequire(\"byVqd\");\n\nvar $6KA3p = parcelRequire(\"6KA3p\");\n\nvar $bLhaJ = parcelRequire(\"bLhaJ\");\n\nvar $kDRhL = parcelRequire(\"kDRhL\");\n\nvar $jXskH = parcelRequire(\"jXskH\");\nasync function $0c5747f4f1a597e0$export$43d689d19c89c31d(versionSpec, architecture, updateEnvironment, checkLatest, allowPreReleases) {\n let resolvedPyPyVersion = \"\";\n let resolvedPythonVersion = \"\";\n let installDir;\n let releases;\n const pypyVersionSpec = $0c5747f4f1a597e0$export$4182d5bdd18177a7(versionSpec);\n if (checkLatest) {\n releases = await $byVqd.getAvailablePyPyVersions();\n if (releases && releases.length > 0) {\n const releaseData = $byVqd.findRelease(releases, pypyVersionSpec.pythonVersion, pypyVersionSpec.pypyVersion, architecture, false);\n if (releaseData) {\n $kDRhL.info(`Resolved as PyPy ${releaseData.resolvedPyPyVersion} with Python (${releaseData.resolvedPythonVersion})`);\n pypyVersionSpec.pythonVersion = releaseData.resolvedPythonVersion;\n pypyVersionSpec.pypyVersion = releaseData.resolvedPyPyVersion;\n } else $kDRhL.info(`Failed to resolve PyPy ${pypyVersionSpec.pypyVersion} with Python (${pypyVersionSpec.pythonVersion}) from manifest`);\n }\n }\n ({ installDir: installDir, resolvedPythonVersion: resolvedPythonVersion, resolvedPyPyVersion: resolvedPyPyVersion } = $0c5747f4f1a597e0$export$bba8aabb976a1d17(pypyVersionSpec.pythonVersion, pypyVersionSpec.pypyVersion, architecture));\n if (!installDir) ({ installDir: installDir, resolvedPythonVersion: resolvedPythonVersion, resolvedPyPyVersion: resolvedPyPyVersion } = await $byVqd.installPyPy(pypyVersionSpec.pypyVersion, pypyVersionSpec.pythonVersion, architecture, allowPreReleases, releases));\n const pipDir = (0, $6KA3p.IS_WINDOWS) ? \"Scripts\" : \"bin\";\n const _binDir = $6DZae$path.join(installDir, pipDir);\n const binaryExtension = (0, $6KA3p.IS_WINDOWS) ? \".exe\" : \"\";\n const pythonPath = $6DZae$path.join((0, $6KA3p.IS_WINDOWS) ? installDir : _binDir, `python${binaryExtension}`);\n const pythonLocation = $byVqd.getPyPyBinaryPath(installDir);\n if (updateEnvironment) {\n $kDRhL.exportVariable(\"pythonLocation\", installDir);\n // https://cmake.org/cmake/help/latest/module/FindPython.html#module:FindPython\n $kDRhL.exportVariable(\"Python_ROOT_DIR\", installDir);\n // https://cmake.org/cmake/help/latest/module/FindPython2.html#module:FindPython2\n $kDRhL.exportVariable(\"Python2_ROOT_DIR\", installDir);\n // https://cmake.org/cmake/help/latest/module/FindPython3.html#module:FindPython3\n $kDRhL.exportVariable(\"Python3_ROOT_DIR\", installDir);\n $kDRhL.exportVariable(\"PKG_CONFIG_PATH\", pythonLocation + \"/lib/pkgconfig\");\n $kDRhL.addPath(pythonLocation);\n $kDRhL.addPath(_binDir);\n }\n $kDRhL.setOutput(\"python-version\", \"pypy\" + resolvedPyPyVersion);\n $kDRhL.setOutput(\"python-path\", pythonPath);\n return {\n resolvedPyPyVersion: resolvedPyPyVersion,\n resolvedPythonVersion: resolvedPythonVersion\n };\n}\nfunction $0c5747f4f1a597e0$export$bba8aabb976a1d17(pythonVersion, pypyVersion, architecture) {\n let resolvedPyPyVersion = \"\";\n let resolvedPythonVersion = \"\";\n let installDir = (0, $6KA3p.IS_WINDOWS) ? $0c5747f4f1a597e0$export$139298be7eb2bd(pythonVersion) : $jXskH.find(\"PyPy\", pythonVersion, architecture);\n if (installDir) {\n // 'tc.find' finds tool based on Python version but we also need to check\n // whether PyPy version satisfies requested version.\n resolvedPythonVersion = (0, $6KA3p.getPyPyVersionFromPath)(installDir);\n resolvedPyPyVersion = (0, $6KA3p.readExactPyPyVersionFile)(installDir);\n const isPyPyVersionSatisfies = $bLhaJ.satisfies(resolvedPyPyVersion, pypyVersion);\n if (!isPyPyVersionSatisfies) {\n installDir = null;\n resolvedPyPyVersion = \"\";\n resolvedPythonVersion = \"\";\n }\n }\n if (!installDir) $kDRhL.info(`PyPy version ${pythonVersion} (${pypyVersion}) was not found in the local cache`);\n return {\n installDir: installDir,\n resolvedPythonVersion: resolvedPythonVersion,\n resolvedPyPyVersion: resolvedPyPyVersion\n };\n}\nfunction $0c5747f4f1a597e0$export$4182d5bdd18177a7(versionSpec) {\n const versions = versionSpec.split(\"-\").filter((item)=>!!item);\n if (/^(pypy)(.+)/.test(versions[0])) {\n const pythonVersion = versions[0].replace(\"pypy\", \"\");\n versions.splice(0, 1, \"pypy\", pythonVersion);\n }\n if (versions.length < 2 || versions[0] != \"pypy\") throw new Error(\"Invalid 'version' property for PyPy. PyPy version should be specified as 'pypy' or 'pypy-'. See README for examples and documentation.\");\n const pythonVersion = versions[1];\n let pypyVersion;\n if (versions.length > 2) pypyVersion = $byVqd.pypyVersionToSemantic(versions[2]);\n else pypyVersion = \"x\";\n if (!(0, $6KA3p.validateVersion)(pythonVersion) || !(0, $6KA3p.validateVersion)(pypyVersion)) throw new Error(\"Invalid 'version' property for PyPy. Both Python version and PyPy versions should satisfy SemVer notation. See README for examples and documentation.\");\n if (!(0, $6KA3p.validatePythonVersionFormatForPyPy)(pythonVersion)) throw new Error(\"Invalid format of Python version for PyPy. Python version should be specified in format 'x.y'. See README for examples and documentation.\");\n return {\n pypyVersion: pypyVersion,\n pythonVersion: pythonVersion\n };\n}\nfunction $0c5747f4f1a597e0$export$139298be7eb2bd(pythonVersion) {\n let installDir = \"\";\n (0, $6KA3p.WINDOWS_ARCHS).forEach((architecture)=>installDir = installDir || $jXskH.find(\"PyPy\", pythonVersion, architecture));\n return installDir;\n}\n\n});\nparcelRegister(\"byVqd\", function(module, exports) {\n\n$parcel$export(module.exports, \"installPyPy\", () => $7a6cf2f2e3881e4e$export$3573149ec5684a1d);\n$parcel$export(module.exports, \"getAvailablePyPyVersions\", () => $7a6cf2f2e3881e4e$export$15e3ff21db62aa77);\n$parcel$export(module.exports, \"findRelease\", () => $7a6cf2f2e3881e4e$export$4272161ba9d7d3dd);\n$parcel$export(module.exports, \"getPyPyBinaryPath\", () => $7a6cf2f2e3881e4e$export$a053ce7a690fbb2e);\n$parcel$export(module.exports, \"pypyVersionToSemantic\", () => $7a6cf2f2e3881e4e$export$4e25ef8c836002b9);\n\n\n\nvar $kDRhL = parcelRequire(\"kDRhL\");\n\nvar $jXskH = parcelRequire(\"jXskH\");\n\nvar $bLhaJ = parcelRequire(\"bLhaJ\");\n\nvar $3BbEx = parcelRequire(\"3BbEx\");\n\nvar $7J8UA = parcelRequire(\"7J8UA\");\n\n\nvar $6KA3p = parcelRequire(\"6KA3p\");\nasync function $7a6cf2f2e3881e4e$export$3573149ec5684a1d(pypyVersion, pythonVersion, architecture, allowPreReleases, releases) {\n let downloadDir;\n releases = releases ?? await $7a6cf2f2e3881e4e$export$15e3ff21db62aa77();\n if (!releases || releases.length === 0) throw new Error(\"No release was found in PyPy version.json\");\n let releaseData = $7a6cf2f2e3881e4e$export$4272161ba9d7d3dd(releases, pythonVersion, pypyVersion, architecture, false);\n if (allowPreReleases && (!releaseData || !releaseData.foundAsset)) {\n // check for pre-release\n $kDRhL.info([\n `Stable PyPy version ${pythonVersion} (${pypyVersion}) with arch ${architecture} not found`,\n `Trying pre-release versions`\n ].join($6DZae$os.EOL));\n releaseData = $7a6cf2f2e3881e4e$export$4272161ba9d7d3dd(releases, pythonVersion, pypyVersion, architecture, true);\n }\n if (!releaseData || !releaseData.foundAsset) throw new Error(`PyPy version ${pythonVersion} (${pypyVersion}) with arch ${architecture} not found`);\n const { foundAsset: foundAsset, resolvedPythonVersion: resolvedPythonVersion, resolvedPyPyVersion: resolvedPyPyVersion } = releaseData;\n const downloadUrl = `${foundAsset.download_url}`;\n $kDRhL.info(`Downloading PyPy from \"${downloadUrl}\" ...`);\n try {\n const pypyPath = await $jXskH.downloadTool(downloadUrl);\n $kDRhL.info(\"Extracting downloaded archive...\");\n if (0, $6KA3p.IS_WINDOWS) downloadDir = await $jXskH.extractZip(pypyPath);\n else downloadDir = await $jXskH.extractTar(pypyPath, undefined, \"x\");\n // root folder in archive can have unpredictable name so just take the first folder\n // downloadDir is unique folder under TEMP and can't contain any other folders\n const archiveName = (0, ($parcel$interopDefault($6DZae$fs))).readdirSync(downloadDir)[0];\n const toolDir = $6DZae$path.join(downloadDir, archiveName);\n let installDir = toolDir;\n if (!(0, $6KA3p.isNightlyKeyword)(resolvedPyPyVersion)) installDir = await $jXskH.cacheDir(toolDir, \"PyPy\", resolvedPythonVersion, architecture);\n (0, $6KA3p.writeExactPyPyVersionFile)(installDir, resolvedPyPyVersion);\n const binaryPath = $7a6cf2f2e3881e4e$export$a053ce7a690fbb2e(installDir);\n await $7a6cf2f2e3881e4e$var$createPyPySymlink(binaryPath, resolvedPythonVersion);\n await $7a6cf2f2e3881e4e$var$installPip(binaryPath);\n return {\n installDir: installDir,\n resolvedPythonVersion: resolvedPythonVersion,\n resolvedPyPyVersion: resolvedPyPyVersion\n };\n } catch (err) {\n if (err instanceof Error) {\n // Rate limit?\n if (err instanceof $jXskH.HTTPError && (err.httpStatusCode === 403 || err.httpStatusCode === 429)) $kDRhL.info(`Received HTTP status code ${err.httpStatusCode}. This usually indicates the rate limit has been exceeded`);\n else $kDRhL.info(err.message);\n if (err.stack !== undefined) $kDRhL.debug(err.stack);\n }\n throw err;\n }\n}\nasync function $7a6cf2f2e3881e4e$export$15e3ff21db62aa77() {\n const url = \"https://downloads.python.org/pypy/versions.json\";\n const http = new $3BbEx.HttpClient(\"tool-cache\");\n const response = await http.getJson(url);\n if (!response.result) throw new Error(`Unable to retrieve the list of available PyPy versions from '${url}'`);\n return response.result;\n}\nasync function $7a6cf2f2e3881e4e$var$createPyPySymlink(pypyBinaryPath, pythonVersion) {\n const version = $bLhaJ.coerce(pythonVersion);\n const pythonBinaryPostfix = $bLhaJ.major(version);\n const pythonMinor = $bLhaJ.minor(version);\n const pypyBinaryPostfix = pythonBinaryPostfix === 2 ? \"\" : \"3\";\n const pypyMajorMinorBinaryPostfix = `${pythonBinaryPostfix}.${pythonMinor}`;\n const binaryExtension = (0, $6KA3p.IS_WINDOWS) ? \".exe\" : \"\";\n $kDRhL.info(\"Creating symlinks...\");\n (0, $6KA3p.createSymlinkInFolder)(pypyBinaryPath, `pypy${pypyBinaryPostfix}${binaryExtension}`, `python${pythonBinaryPostfix}${binaryExtension}`, true);\n (0, $6KA3p.createSymlinkInFolder)(pypyBinaryPath, `pypy${pypyBinaryPostfix}${binaryExtension}`, `python${binaryExtension}`, true);\n (0, $6KA3p.createSymlinkInFolder)(pypyBinaryPath, `pypy${pypyBinaryPostfix}${binaryExtension}`, `pypy${pypyMajorMinorBinaryPostfix}${binaryExtension}`, true);\n}\nasync function $7a6cf2f2e3881e4e$var$installPip(pythonLocation) {\n $kDRhL.info(\"Installing and updating pip\");\n const pythonBinary = $6DZae$path.join(pythonLocation, \"python\");\n await $7J8UA.exec(`${pythonBinary} -m ensurepip`);\n await $7J8UA.exec(`${pythonLocation}/python -m pip install --ignore-installed pip`);\n}\nfunction $7a6cf2f2e3881e4e$export$4272161ba9d7d3dd(releases, pythonVersion, pypyVersion, architecture, includePrerelease) {\n const options = {\n includePrerelease: includePrerelease\n };\n const filterReleases = releases.filter((item)=>{\n const isPythonVersionSatisfied = $bLhaJ.satisfies($bLhaJ.coerce(item.python_version), pythonVersion);\n const isPyPyNightly = (0, $6KA3p.isNightlyKeyword)(pypyVersion) && (0, $6KA3p.isNightlyKeyword)(item.pypy_version);\n const isPyPyVersionSatisfied = isPyPyNightly || $bLhaJ.satisfies($7a6cf2f2e3881e4e$export$4e25ef8c836002b9(item.pypy_version), pypyVersion, options);\n const isArchPresent = item.files && ((0, $6KA3p.IS_WINDOWS) ? $7a6cf2f2e3881e4e$export$652444ba12a0c7bb(item, architecture) : $7a6cf2f2e3881e4e$export$f1fafc67685dd0bf(item, architecture, process.platform));\n return isPythonVersionSatisfied && isPyPyVersionSatisfied && isArchPresent;\n });\n if (filterReleases.length === 0) return null;\n const sortedReleases = filterReleases.sort((previous, current)=>{\n return $bLhaJ.compare($bLhaJ.coerce($7a6cf2f2e3881e4e$export$4e25ef8c836002b9(current.pypy_version)), $bLhaJ.coerce($7a6cf2f2e3881e4e$export$4e25ef8c836002b9(previous.pypy_version))) || $bLhaJ.compare($bLhaJ.coerce(current.python_version), $bLhaJ.coerce(previous.python_version));\n });\n const foundRelease = sortedReleases[0];\n const foundAsset = (0, $6KA3p.IS_WINDOWS) ? $7a6cf2f2e3881e4e$export$672a33957a3c888(foundRelease, architecture) : $7a6cf2f2e3881e4e$export$7e0be3a86d27fcd9(foundRelease, architecture, process.platform);\n return {\n foundAsset: foundAsset,\n resolvedPythonVersion: foundRelease.python_version,\n resolvedPyPyVersion: foundRelease.pypy_version.trim()\n };\n}\nfunction $7a6cf2f2e3881e4e$export$a053ce7a690fbb2e(installDir) {\n const _binDir = $6DZae$path.join(installDir, \"bin\");\n return (0, $6KA3p.IS_WINDOWS) ? installDir : _binDir;\n}\nfunction $7a6cf2f2e3881e4e$export$4e25ef8c836002b9(versionSpec) {\n const prereleaseVersion = /(\\d+\\.\\d+\\.\\d+)((?:a|b|rc))(\\d*)/g;\n return versionSpec.replace(prereleaseVersion, \"$1-$2.$3\");\n}\nfunction $7a6cf2f2e3881e4e$export$652444ba12a0c7bb(item, architecture) {\n architecture = $7a6cf2f2e3881e4e$var$replaceX32toX86(architecture);\n return item.files.some((file)=>(0, $6KA3p.WINDOWS_PLATFORMS).includes(file.platform) && file.arch === architecture);\n}\nfunction $7a6cf2f2e3881e4e$export$f1fafc67685dd0bf(item, architecture, platform) {\n return item.files.some((file)=>file.arch === architecture && file.platform === platform);\n}\nfunction $7a6cf2f2e3881e4e$export$672a33957a3c888(releases, architecture) {\n architecture = $7a6cf2f2e3881e4e$var$replaceX32toX86(architecture);\n return releases.files.find((item)=>(0, $6KA3p.WINDOWS_PLATFORMS).includes(item.platform) && item.arch === architecture);\n}\nfunction $7a6cf2f2e3881e4e$export$7e0be3a86d27fcd9(releases, architecture, platform) {\n return releases.files.find((item)=>item.arch === architecture && item.platform === platform);\n}\nfunction $7a6cf2f2e3881e4e$var$replaceX32toX86(architecture) {\n // convert x32 to x86 because os.arch() returns x32 for 32-bit systems but PyPy releases json has x86 arch value.\n if (architecture === \"x32\") architecture = \"x86\";\n return architecture;\n}\n\n});\n\n\n\n\n//# sourceMappingURL=actions_python.bfd29453.js.map\n","import { useCpythonVersion } from \"setup-python/src/find-python\"\nimport { findPyPyVersion } from \"setup-python/src/find-pypy\"\n\nimport { info, warning } from \"ci-log\"\nimport { debug } from \"@actions/core\"\nimport { join } from \"patha\"\nimport { GITHUB_ACTIONS } from \"ci-info\"\nimport { IS_MAC } from \"setup-python/src/utils\"\nimport { pathExists } from \"path-exists\"\n\nfunction isPyPyVersion(versionSpec: string) {\n return versionSpec.startsWith(\"pypy\")\n}\n\nconst checkLatest = false\n\nexport async function setupActionsPython(version: string, _setupDir: string, arch: string) {\n if (IS_MAC) {\n process.env.AGENT_TOOLSDIRECTORY = \"/Users/runner/hostedtoolcache\"\n }\n\n const agent_toolsdirectory = process.env.AGENT_TOOLSDIRECTORY?.trim()\n if (typeof agent_toolsdirectory === \"string\" && agent_toolsdirectory !== \"\") {\n process.env.RUNNER_TOOL_CACHE = process.env.AGENT_TOOLSDIRECTORY\n }\n\n debug(`Python is expected to be installed into ${process.env.RUNNER_TOOL_CACHE}`)\n\n if (version) {\n let pythonVersion: string\n if (isPyPyVersion(version)) {\n const installed = await findPyPyVersion(version, arch, true, checkLatest, false)\n pythonVersion = `${installed.resolvedPyPyVersion}-${installed.resolvedPythonVersion}`\n info(`Successfully set up PyPy ${installed.resolvedPyPyVersion} with Python (${installed.resolvedPythonVersion})`)\n } else {\n const installed = await useCpythonVersion(version, arch, true, checkLatest, false)\n pythonVersion = installed.version\n info(`Successfully set up ${installed.impl} (${pythonVersion})`)\n }\n\n // const cache = false\n // if (cache) {\n // const { cacheDependencies } = await import(\"setup-python/src/cache-dependencies\")\n // await cacheDependencies(\"pip\", pythonVersion)\n // }\n }\n\n if (GITHUB_ACTIONS) {\n await addPythonLoggingMatcher()\n }\n\n return undefined\n}\n\nasync function addPythonLoggingMatcher() {\n const matcherPath = join(__dirname, \"python_matcher.json\")\n if (!(await pathExists(matcherPath))) {\n return warning(\"the python_matcher.json file does not exist in the same folder as setup-cpp.js\")\n }\n info(`::add-matcher::${matcherPath}`)\n}\n","import * as os from 'os';\nimport * as path from 'path';\nimport {IS_WINDOWS, IS_LINUX, getOSInfo} from './utils';\n\nimport * as semver from 'semver';\n\nimport * as installer from './install-python';\n\nimport * as core from '@actions/core';\nimport * as tc from '@actions/tool-cache';\n\n// Python has \"scripts\" or \"bin\" directories where command-line tools that come with packages are installed.\n// This is where pip is, along with anything that pip installs.\n// There is a separate directory for `pip install --user`.\n//\n// For reference, these directories are as follows:\n// macOS / Linux:\n// /bin (by default /usr/local/bin, but not on hosted agents -- see the `else`)\n// (--user) ~/.local/bin\n// Windows:\n// \\Scripts\n// (--user) %APPDATA%\\Python\\PythonXY\\Scripts\n// See https://docs.python.org/3/library/sysconfig.html\n\nfunction binDir(installDir: string): string {\n if (IS_WINDOWS) {\n return path.join(installDir, 'Scripts');\n } else {\n return path.join(installDir, 'bin');\n }\n}\n\nexport async function useCpythonVersion(\n version: string,\n architecture: string,\n updateEnvironment: boolean,\n checkLatest: boolean,\n allowPreReleases: boolean\n): Promise {\n let manifest: tc.IToolRelease[] | null = null;\n const desugaredVersionSpec = desugarDevVersion(version);\n let semanticVersionSpec = pythonVersionToSemantic(\n desugaredVersionSpec,\n allowPreReleases\n );\n core.debug(`Semantic version spec of ${version} is ${semanticVersionSpec}`);\n\n if (checkLatest) {\n manifest = await installer.getManifest();\n const resolvedVersion = (\n await installer.findReleaseFromManifest(\n semanticVersionSpec,\n architecture,\n manifest\n )\n )?.version;\n\n if (resolvedVersion) {\n semanticVersionSpec = resolvedVersion;\n core.info(`Resolved as '${semanticVersionSpec}'`);\n } else {\n core.info(\n `Failed to resolve version ${semanticVersionSpec} from manifest`\n );\n }\n }\n\n let installDir: string | null = tc.find(\n 'Python',\n semanticVersionSpec,\n architecture\n );\n if (!installDir) {\n core.info(\n `Version ${semanticVersionSpec} was not found in the local cache`\n );\n const foundRelease = await installer.findReleaseFromManifest(\n semanticVersionSpec,\n architecture,\n manifest\n );\n\n if (foundRelease && foundRelease.files && foundRelease.files.length > 0) {\n core.info(`Version ${semanticVersionSpec} is available for downloading`);\n await installer.installCpythonFromRelease(foundRelease);\n\n installDir = tc.find('Python', semanticVersionSpec, architecture);\n }\n }\n\n if (!installDir) {\n const osInfo = await getOSInfo();\n throw new Error(\n [\n `The version '${version}' with architecture '${architecture}' was not found for ${\n osInfo\n ? `${osInfo.osName} ${osInfo.osVersion}`\n : 'this operating system'\n }.`,\n `The list of all available versions can be found here: ${installer.MANIFEST_URL}`\n ].join(os.EOL)\n );\n }\n\n const _binDir = binDir(installDir);\n const binaryExtension = IS_WINDOWS ? '.exe' : '';\n const pythonPath = path.join(\n IS_WINDOWS ? installDir : _binDir,\n `python${binaryExtension}`\n );\n if (updateEnvironment) {\n core.exportVariable('pythonLocation', installDir);\n core.exportVariable('PKG_CONFIG_PATH', installDir + '/lib/pkgconfig');\n core.exportVariable('pythonLocation', installDir);\n // https://cmake.org/cmake/help/latest/module/FindPython.html#module:FindPython\n core.exportVariable('Python_ROOT_DIR', installDir);\n // https://cmake.org/cmake/help/latest/module/FindPython2.html#module:FindPython2\n core.exportVariable('Python2_ROOT_DIR', installDir);\n // https://cmake.org/cmake/help/latest/module/FindPython3.html#module:FindPython3\n core.exportVariable('Python3_ROOT_DIR', installDir);\n core.exportVariable('PKG_CONFIG_PATH', installDir + '/lib/pkgconfig');\n\n if (IS_LINUX) {\n const libPath = process.env.LD_LIBRARY_PATH\n ? `:${process.env.LD_LIBRARY_PATH}`\n : '';\n const pyLibPath = path.join(installDir, 'lib');\n\n if (!libPath.split(':').includes(pyLibPath)) {\n core.exportVariable('LD_LIBRARY_PATH', pyLibPath + libPath);\n }\n }\n core.addPath(installDir);\n core.addPath(_binDir);\n\n if (IS_WINDOWS) {\n // Add --user directory\n // `installDir` from tool cache should look like $RUNNER_TOOL_CACHE/Python//x64/\n // So if `findLocalTool` succeeded above, we must have a conformant `installDir`\n const version = path.basename(path.dirname(installDir));\n const major = semver.major(version);\n const minor = semver.minor(version);\n\n const userScriptsDir = path.join(\n process.env['APPDATA'] || '',\n 'Python',\n `Python${major}${minor}`,\n 'Scripts'\n );\n core.addPath(userScriptsDir);\n }\n // On Linux and macOS, pip will create the --user directory and add it to PATH as needed.\n }\n\n const installed = versionFromPath(installDir);\n core.setOutput('python-version', installed);\n core.setOutput('python-path', pythonPath);\n\n return {impl: 'CPython', version: installed};\n}\n\n/** Convert versions like `3.8-dev` to a version like `~3.8.0-0`. */\nfunction desugarDevVersion(versionSpec: string) {\n const devVersion = /^(\\d+)\\.(\\d+)-dev$/;\n return versionSpec.replace(devVersion, '~$1.$2.0-0');\n}\n\n/** Extracts python version from install path from hosted tool cache as described in README.md */\nfunction versionFromPath(installDir: string) {\n const parts = installDir.split(path.sep);\n const idx = parts.findIndex(part => part === 'PyPy' || part === 'Python');\n\n return parts[idx + 1] || '';\n}\n\ninterface InstalledVersion {\n impl: string;\n version: string;\n}\n\n/**\n * Python's prelease versions look like `3.7.0b2`.\n * This is the one part of Python versioning that does not look like semantic versioning, which specifies `3.7.0-b2`.\n * If the version spec contains prerelease versions, we need to convert them to the semantic version equivalent.\n *\n * For easier use of the action, we also map 'x.y' to allow pre-release before 'x.y.0' release if allowPreReleases is true\n */\nexport function pythonVersionToSemantic(\n versionSpec: string,\n allowPreReleases: boolean\n) {\n const prereleaseVersion = /(\\d+\\.\\d+\\.\\d+)((?:a|b|rc)\\d*)/g;\n const majorMinor = /^(\\d+)\\.(\\d+)$/;\n let result = versionSpec.replace(prereleaseVersion, '$1-$2');\n if (allowPreReleases) {\n result = result.replace(majorMinor, '~$1.$2.0-0');\n }\n return result;\n}\n","/* eslint no-unsafe-finally: \"off\" */\nimport * as core from '@actions/core';\nimport fs from 'fs';\nimport * as path from 'path';\nimport * as semver from 'semver';\nimport * as toml from '@iarna/toml';\nimport * as exec from '@actions/exec';\n\nexport const IS_WINDOWS = process.platform === 'win32';\nexport const IS_LINUX = process.platform === 'linux';\nexport const IS_MAC = process.platform === 'darwin';\nexport const WINDOWS_ARCHS = ['x86', 'x64'];\nexport const WINDOWS_PLATFORMS = ['win32', 'win64'];\nconst PYPY_VERSION_FILE = 'PYPY_VERSION';\n\nexport interface IPyPyManifestAsset {\n filename: string;\n arch: string;\n platform: string;\n download_url: string;\n}\n\nexport interface IPyPyManifestRelease {\n pypy_version: string;\n python_version: string;\n stable: boolean;\n latest_pypy: boolean;\n files: IPyPyManifestAsset[];\n}\n\n/** create Symlinks for downloaded PyPy\n * It should be executed only for downloaded versions in runtime, because\n * toolcache versions have this setup.\n */\nexport function createSymlinkInFolder(\n folderPath: string,\n sourceName: string,\n targetName: string,\n setExecutable = false\n) {\n const sourcePath = path.join(folderPath, sourceName);\n const targetPath = path.join(folderPath, targetName);\n if (fs.existsSync(targetPath)) {\n return;\n }\n\n fs.symlinkSync(sourcePath, targetPath);\n if (!IS_WINDOWS && setExecutable) {\n fs.chmodSync(targetPath, '755');\n }\n}\n\nexport function validateVersion(version: string) {\n return isNightlyKeyword(version) || Boolean(semver.validRange(version));\n}\n\nexport function isNightlyKeyword(pypyVersion: string) {\n return pypyVersion === 'nightly';\n}\n\nexport function getPyPyVersionFromPath(installDir: string) {\n return path.basename(path.dirname(installDir));\n}\n\n/**\n * In tool-cache, we put PyPy to '/PyPy//x64'\n * There is no easy way to determine what PyPy version is located in specific folder\n * 'pypy --version' is not reliable enough since it is not set properly for preview versions\n * \"7.3.3rc1\" is marked as '7.3.3' in 'pypy --version'\n * so we put PYPY_VERSION file to PyPy directory when install it to VM and read it when we need to know version\n * PYPY_VERSION contains exact version from 'versions.json'\n */\nexport function readExactPyPyVersionFile(installDir: string) {\n let pypyVersion = '';\n const fileVersion = path.join(installDir, PYPY_VERSION_FILE);\n if (fs.existsSync(fileVersion)) {\n pypyVersion = fs.readFileSync(fileVersion).toString().trim();\n }\n\n return pypyVersion;\n}\n\nexport function writeExactPyPyVersionFile(\n installDir: string,\n resolvedPyPyVersion: string\n) {\n const pypyFilePath = path.join(installDir, PYPY_VERSION_FILE);\n fs.writeFileSync(pypyFilePath, resolvedPyPyVersion);\n}\n\n/**\n * Python version should be specified explicitly like \"x.y\" (2.7, 3.6, 3.7)\n * \"3.x\" or \"3\" are not supported\n * because it could cause ambiguity when both PyPy version and Python version are not precise\n */\nexport function validatePythonVersionFormatForPyPy(version: string) {\n const re = /^\\d+\\.\\d+$/;\n return re.test(version);\n}\n\nexport function logWarning(message: string): void {\n const warningPrefix = '[warning]';\n core.info(`${warningPrefix}${message}`);\n}\n\nasync function getWindowsInfo() {\n const {stdout} = await exec.getExecOutput(\n 'powershell -command \"(Get-CimInstance -ClassName Win32_OperatingSystem).Caption\"',\n undefined,\n {\n silent: true\n }\n );\n\n const windowsVersion = stdout.trim().split(' ')[3];\n\n return {osName: 'Windows', osVersion: windowsVersion};\n}\n\nasync function getMacOSInfo() {\n const {stdout} = await exec.getExecOutput('sw_vers', ['-productVersion'], {\n silent: true\n });\n\n const macOSVersion = stdout.trim();\n\n return {osName: 'macOS', osVersion: macOSVersion};\n}\n\nexport async function getLinuxInfo() {\n const {stdout} = await exec.getExecOutput('lsb_release', ['-i', '-r', '-s'], {\n silent: true\n });\n\n const [osName, osVersion] = stdout.trim().split('\\n');\n\n core.debug(`OS Name: ${osName}, Version: ${osVersion}`);\n\n return {osName: osName, osVersion: osVersion};\n}\n\nexport async function getOSInfo() {\n let osInfo;\n try {\n if (IS_WINDOWS) {\n osInfo = await getWindowsInfo();\n } else if (IS_LINUX) {\n osInfo = await getLinuxInfo();\n } else if (IS_MAC) {\n osInfo = await getMacOSInfo();\n }\n } catch (err) {\n const error = err as Error;\n core.debug(error.message);\n } finally {\n return osInfo;\n }\n}\n\n/**\n * Extract a value from an object by following the keys path provided.\n * If the value is present, it is returned. Otherwise undefined is returned.\n */\nfunction extractValue(obj: any, keys: string[]): string | undefined {\n if (keys.length > 0) {\n const value = obj[keys[0]];\n if (keys.length > 1 && value !== undefined) {\n return extractValue(value, keys.slice(1));\n } else {\n return value;\n }\n } else {\n return;\n }\n}\n\n/**\n * Python version extracted from the TOML file.\n * If the `project` key is present at the root level, the version is assumed to\n * be specified according to PEP 621 in `project.requires-python`.\n * Otherwise, if the `tool` key is present at the root level, the version is\n * assumed to be specified using poetry under `tool.poetry.dependencies.python`.\n * If none is present, returns an empty list.\n */\nexport function getVersionInputFromTomlFile(versionFile: string): string[] {\n core.debug(`Trying to resolve version form ${versionFile}`);\n\n const pyprojectFile = fs.readFileSync(versionFile, 'utf8');\n const pyprojectConfig = toml.parse(pyprojectFile);\n let keys = [];\n\n if ('project' in pyprojectConfig) {\n // standard project metadata (PEP 621)\n keys = ['project', 'requires-python'];\n } else {\n // python poetry\n keys = ['tool', 'poetry', 'dependencies', 'python'];\n }\n const versions = [];\n const version = extractValue(pyprojectConfig, keys);\n if (version !== undefined) {\n versions.push(version);\n }\n\n core.info(`Extracted ${versions} from ${versionFile}`);\n const rawVersions = Array.from(versions, version =>\n version.split(',').join(' ')\n );\n const validatedVersions = rawVersions\n .map(item => semver.validRange(item, true))\n .filter((versionRange, index) => {\n if (!versionRange) {\n core.debug(\n `The version ${rawVersions[index]} is not valid SemVer range`\n );\n }\n\n return !!versionRange;\n }) as string[];\n return validatedVersions;\n}\n\n/**\n * Python version extracted from a plain text file.\n */\nexport function getVersionInputFromPlainFile(versionFile: string): string[] {\n core.debug(`Trying to resolve version form ${versionFile}`);\n const version = fs.readFileSync(versionFile, 'utf8');\n core.info(`Resolved ${versionFile} as ${version}`);\n return [version];\n}\n\n/**\n * Python version extracted from a plain or TOML file.\n */\nexport function getVersionInputFromFile(versionFile: string): string[] {\n if (versionFile.endsWith('.toml')) {\n return getVersionInputFromTomlFile(versionFile);\n } else {\n return getVersionInputFromPlainFile(versionFile);\n }\n}\n","'use strict'\nexports.parse = require('./parse.js')\nexports.stringify = require('./stringify.js')\n","'use strict'\nmodule.exports = require('./parse-string.js')\nmodule.exports.async = require('./parse-async.js')\nmodule.exports.stream = require('./parse-stream.js')\nmodule.exports.prettyError = require('./parse-pretty-error.js')\n","'use strict'\nmodule.exports = parseString\n\nconst TOMLParser = require('./lib/toml-parser.js')\nconst prettyError = require('./parse-pretty-error.js')\n\nfunction parseString (str) {\n if (global.Buffer && global.Buffer.isBuffer(str)) {\n str = str.toString('utf8')\n }\n const parser = new TOMLParser()\n try {\n parser.parse(str)\n return parser.finish()\n } catch (err) {\n throw prettyError(err, str)\n }\n}\n","'use strict'\n/* eslint-disable no-new-wrappers, no-eval, camelcase, operator-linebreak */\nmodule.exports = makeParserClass(require('./parser.js'))\nmodule.exports.makeParserClass = makeParserClass\n\nclass TomlError extends Error {\n constructor (msg) {\n super(msg)\n this.name = 'TomlError'\n /* istanbul ignore next */\n if (Error.captureStackTrace) Error.captureStackTrace(this, TomlError)\n this.fromTOML = true\n this.wrapped = null\n }\n}\nTomlError.wrap = err => {\n const terr = new TomlError(err.message)\n terr.code = err.code\n terr.wrapped = err\n return terr\n}\nmodule.exports.TomlError = TomlError\n\nconst createDateTime = require('./create-datetime.js')\nconst createDateTimeFloat = require('./create-datetime-float.js')\nconst createDate = require('./create-date.js')\nconst createTime = require('./create-time.js')\n\nconst CTRL_I = 0x09\nconst CTRL_J = 0x0A\nconst CTRL_M = 0x0D\nconst CTRL_CHAR_BOUNDARY = 0x1F // the last non-character in the latin1 region of unicode, except DEL\nconst CHAR_SP = 0x20\nconst CHAR_QUOT = 0x22\nconst CHAR_NUM = 0x23\nconst CHAR_APOS = 0x27\nconst CHAR_PLUS = 0x2B\nconst CHAR_COMMA = 0x2C\nconst CHAR_HYPHEN = 0x2D\nconst CHAR_PERIOD = 0x2E\nconst CHAR_0 = 0x30\nconst CHAR_1 = 0x31\nconst CHAR_7 = 0x37\nconst CHAR_9 = 0x39\nconst CHAR_COLON = 0x3A\nconst CHAR_EQUALS = 0x3D\nconst CHAR_A = 0x41\nconst CHAR_E = 0x45\nconst CHAR_F = 0x46\nconst CHAR_T = 0x54\nconst CHAR_U = 0x55\nconst CHAR_Z = 0x5A\nconst CHAR_LOWBAR = 0x5F\nconst CHAR_a = 0x61\nconst CHAR_b = 0x62\nconst CHAR_e = 0x65\nconst CHAR_f = 0x66\nconst CHAR_i = 0x69\nconst CHAR_l = 0x6C\nconst CHAR_n = 0x6E\nconst CHAR_o = 0x6F\nconst CHAR_r = 0x72\nconst CHAR_s = 0x73\nconst CHAR_t = 0x74\nconst CHAR_u = 0x75\nconst CHAR_x = 0x78\nconst CHAR_z = 0x7A\nconst CHAR_LCUB = 0x7B\nconst CHAR_RCUB = 0x7D\nconst CHAR_LSQB = 0x5B\nconst CHAR_BSOL = 0x5C\nconst CHAR_RSQB = 0x5D\nconst CHAR_DEL = 0x7F\nconst SURROGATE_FIRST = 0xD800\nconst SURROGATE_LAST = 0xDFFF\n\nconst escapes = {\n [CHAR_b]: '\\u0008',\n [CHAR_t]: '\\u0009',\n [CHAR_n]: '\\u000A',\n [CHAR_f]: '\\u000C',\n [CHAR_r]: '\\u000D',\n [CHAR_QUOT]: '\\u0022',\n [CHAR_BSOL]: '\\u005C'\n}\n\nfunction isDigit (cp) {\n return cp >= CHAR_0 && cp <= CHAR_9\n}\nfunction isHexit (cp) {\n return (cp >= CHAR_A && cp <= CHAR_F) || (cp >= CHAR_a && cp <= CHAR_f) || (cp >= CHAR_0 && cp <= CHAR_9)\n}\nfunction isBit (cp) {\n return cp === CHAR_1 || cp === CHAR_0\n}\nfunction isOctit (cp) {\n return (cp >= CHAR_0 && cp <= CHAR_7)\n}\nfunction isAlphaNumQuoteHyphen (cp) {\n return (cp >= CHAR_A && cp <= CHAR_Z)\n || (cp >= CHAR_a && cp <= CHAR_z)\n || (cp >= CHAR_0 && cp <= CHAR_9)\n || cp === CHAR_APOS\n || cp === CHAR_QUOT\n || cp === CHAR_LOWBAR\n || cp === CHAR_HYPHEN\n}\nfunction isAlphaNumHyphen (cp) {\n return (cp >= CHAR_A && cp <= CHAR_Z)\n || (cp >= CHAR_a && cp <= CHAR_z)\n || (cp >= CHAR_0 && cp <= CHAR_9)\n || cp === CHAR_LOWBAR\n || cp === CHAR_HYPHEN\n}\nconst _type = Symbol('type')\nconst _declared = Symbol('declared')\n\nconst hasOwnProperty = Object.prototype.hasOwnProperty\nconst defineProperty = Object.defineProperty\nconst descriptor = {configurable: true, enumerable: true, writable: true, value: undefined}\n\nfunction hasKey (obj, key) {\n if (hasOwnProperty.call(obj, key)) return true\n if (key === '__proto__') defineProperty(obj, '__proto__', descriptor)\n return false\n}\n\nconst INLINE_TABLE = Symbol('inline-table')\nfunction InlineTable () {\n return Object.defineProperties({}, {\n [_type]: {value: INLINE_TABLE}\n })\n}\nfunction isInlineTable (obj) {\n if (obj === null || typeof (obj) !== 'object') return false\n return obj[_type] === INLINE_TABLE\n}\n\nconst TABLE = Symbol('table')\nfunction Table () {\n return Object.defineProperties({}, {\n [_type]: {value: TABLE},\n [_declared]: {value: false, writable: true}\n })\n}\nfunction isTable (obj) {\n if (obj === null || typeof (obj) !== 'object') return false\n return obj[_type] === TABLE\n}\n\nconst _contentType = Symbol('content-type')\nconst INLINE_LIST = Symbol('inline-list')\nfunction InlineList (type) {\n return Object.defineProperties([], {\n [_type]: {value: INLINE_LIST},\n [_contentType]: {value: type}\n })\n}\nfunction isInlineList (obj) {\n if (obj === null || typeof (obj) !== 'object') return false\n return obj[_type] === INLINE_LIST\n}\n\nconst LIST = Symbol('list')\nfunction List () {\n return Object.defineProperties([], {\n [_type]: {value: LIST}\n })\n}\nfunction isList (obj) {\n if (obj === null || typeof (obj) !== 'object') return false\n return obj[_type] === LIST\n}\n\n// in an eval, to let bundlers not slurp in a util proxy\nlet _custom\ntry {\n const utilInspect = eval(\"require('util').inspect\")\n _custom = utilInspect.custom\n} catch (_) {\n /* eval require not available in transpiled bundle */\n}\n/* istanbul ignore next */\nconst _inspect = _custom || 'inspect'\n\nclass BoxedBigInt {\n constructor (value) {\n try {\n this.value = global.BigInt.asIntN(64, value)\n } catch (_) {\n /* istanbul ignore next */\n this.value = null\n }\n Object.defineProperty(this, _type, {value: INTEGER})\n }\n isNaN () {\n return this.value === null\n }\n /* istanbul ignore next */\n toString () {\n return String(this.value)\n }\n /* istanbul ignore next */\n [_inspect] () {\n return `[BigInt: ${this.toString()}]}`\n }\n valueOf () {\n return this.value\n }\n}\n\nconst INTEGER = Symbol('integer')\nfunction Integer (value) {\n let num = Number(value)\n // -0 is a float thing, not an int thing\n if (Object.is(num, -0)) num = 0\n /* istanbul ignore else */\n if (global.BigInt && !Number.isSafeInteger(num)) {\n return new BoxedBigInt(value)\n } else {\n /* istanbul ignore next */\n return Object.defineProperties(new Number(num), {\n isNaN: {value: function () { return isNaN(this) }},\n [_type]: {value: INTEGER},\n [_inspect]: {value: () => `[Integer: ${value}]`}\n })\n }\n}\nfunction isInteger (obj) {\n if (obj === null || typeof (obj) !== 'object') return false\n return obj[_type] === INTEGER\n}\n\nconst FLOAT = Symbol('float')\nfunction Float (value) {\n /* istanbul ignore next */\n return Object.defineProperties(new Number(value), {\n [_type]: {value: FLOAT},\n [_inspect]: {value: () => `[Float: ${value}]`}\n })\n}\nfunction isFloat (obj) {\n if (obj === null || typeof (obj) !== 'object') return false\n return obj[_type] === FLOAT\n}\n\nfunction tomlType (value) {\n const type = typeof value\n if (type === 'object') {\n /* istanbul ignore if */\n if (value === null) return 'null'\n if (value instanceof Date) return 'datetime'\n /* istanbul ignore else */\n if (_type in value) {\n switch (value[_type]) {\n case INLINE_TABLE: return 'inline-table'\n case INLINE_LIST: return 'inline-list'\n /* istanbul ignore next */\n case TABLE: return 'table'\n /* istanbul ignore next */\n case LIST: return 'list'\n case FLOAT: return 'float'\n case INTEGER: return 'integer'\n }\n }\n }\n return type\n}\n\nfunction makeParserClass (Parser) {\n class TOMLParser extends Parser {\n constructor () {\n super()\n this.ctx = this.obj = Table()\n }\n\n /* MATCH HELPER */\n atEndOfWord () {\n return this.char === CHAR_NUM || this.char === CTRL_I || this.char === CHAR_SP || this.atEndOfLine()\n }\n atEndOfLine () {\n return this.char === Parser.END || this.char === CTRL_J || this.char === CTRL_M\n }\n\n parseStart () {\n if (this.char === Parser.END) {\n return null\n } else if (this.char === CHAR_LSQB) {\n return this.call(this.parseTableOrList)\n } else if (this.char === CHAR_NUM) {\n return this.call(this.parseComment)\n } else if (this.char === CTRL_J || this.char === CHAR_SP || this.char === CTRL_I || this.char === CTRL_M) {\n return null\n } else if (isAlphaNumQuoteHyphen(this.char)) {\n return this.callNow(this.parseAssignStatement)\n } else {\n throw this.error(new TomlError(`Unknown character \"${this.char}\"`))\n }\n }\n\n // HELPER, this strips any whitespace and comments to the end of the line\n // then RETURNS. Last state in a production.\n parseWhitespaceToEOL () {\n if (this.char === CHAR_SP || this.char === CTRL_I || this.char === CTRL_M) {\n return null\n } else if (this.char === CHAR_NUM) {\n return this.goto(this.parseComment)\n } else if (this.char === Parser.END || this.char === CTRL_J) {\n return this.return()\n } else {\n throw this.error(new TomlError('Unexpected character, expected only whitespace or comments till end of line'))\n }\n }\n\n /* ASSIGNMENT: key = value */\n parseAssignStatement () {\n return this.callNow(this.parseAssign, this.recordAssignStatement)\n }\n recordAssignStatement (kv) {\n let target = this.ctx\n let finalKey = kv.key.pop()\n for (let kw of kv.key) {\n if (hasKey(target, kw) && (!isTable(target[kw]) || target[kw][_declared])) {\n throw this.error(new TomlError(\"Can't redefine existing key\"))\n }\n target = target[kw] = target[kw] || Table()\n }\n if (hasKey(target, finalKey)) {\n throw this.error(new TomlError(\"Can't redefine existing key\"))\n }\n // unbox our numbers\n if (isInteger(kv.value) || isFloat(kv.value)) {\n target[finalKey] = kv.value.valueOf()\n } else {\n target[finalKey] = kv.value\n }\n return this.goto(this.parseWhitespaceToEOL)\n }\n\n /* ASSSIGNMENT expression, key = value possibly inside an inline table */\n parseAssign () {\n return this.callNow(this.parseKeyword, this.recordAssignKeyword)\n }\n recordAssignKeyword (key) {\n if (this.state.resultTable) {\n this.state.resultTable.push(key)\n } else {\n this.state.resultTable = [key]\n }\n return this.goto(this.parseAssignKeywordPreDot)\n }\n parseAssignKeywordPreDot () {\n if (this.char === CHAR_PERIOD) {\n return this.next(this.parseAssignKeywordPostDot)\n } else if (this.char !== CHAR_SP && this.char !== CTRL_I) {\n return this.goto(this.parseAssignEqual)\n }\n }\n parseAssignKeywordPostDot () {\n if (this.char !== CHAR_SP && this.char !== CTRL_I) {\n return this.callNow(this.parseKeyword, this.recordAssignKeyword)\n }\n }\n\n parseAssignEqual () {\n if (this.char === CHAR_EQUALS) {\n return this.next(this.parseAssignPreValue)\n } else {\n throw this.error(new TomlError('Invalid character, expected \"=\"'))\n }\n }\n parseAssignPreValue () {\n if (this.char === CHAR_SP || this.char === CTRL_I) {\n return null\n } else {\n return this.callNow(this.parseValue, this.recordAssignValue)\n }\n }\n recordAssignValue (value) {\n return this.returnNow({key: this.state.resultTable, value: value})\n }\n\n /* COMMENTS: #...eol */\n parseComment () {\n do {\n if (this.char === Parser.END || this.char === CTRL_J) {\n return this.return()\n }\n } while (this.nextChar())\n }\n\n /* TABLES AND LISTS, [foo] and [[foo]] */\n parseTableOrList () {\n if (this.char === CHAR_LSQB) {\n this.next(this.parseList)\n } else {\n return this.goto(this.parseTable)\n }\n }\n\n /* TABLE [foo.bar.baz] */\n parseTable () {\n this.ctx = this.obj\n return this.goto(this.parseTableNext)\n }\n parseTableNext () {\n if (this.char === CHAR_SP || this.char === CTRL_I) {\n return null\n } else {\n return this.callNow(this.parseKeyword, this.parseTableMore)\n }\n }\n parseTableMore (keyword) {\n if (this.char === CHAR_SP || this.char === CTRL_I) {\n return null\n } else if (this.char === CHAR_RSQB) {\n if (hasKey(this.ctx, keyword) && (!isTable(this.ctx[keyword]) || this.ctx[keyword][_declared])) {\n throw this.error(new TomlError(\"Can't redefine existing key\"))\n } else {\n this.ctx = this.ctx[keyword] = this.ctx[keyword] || Table()\n this.ctx[_declared] = true\n }\n return this.next(this.parseWhitespaceToEOL)\n } else if (this.char === CHAR_PERIOD) {\n if (!hasKey(this.ctx, keyword)) {\n this.ctx = this.ctx[keyword] = Table()\n } else if (isTable(this.ctx[keyword])) {\n this.ctx = this.ctx[keyword]\n } else if (isList(this.ctx[keyword])) {\n this.ctx = this.ctx[keyword][this.ctx[keyword].length - 1]\n } else {\n throw this.error(new TomlError(\"Can't redefine existing key\"))\n }\n return this.next(this.parseTableNext)\n } else {\n throw this.error(new TomlError('Unexpected character, expected whitespace, . or ]'))\n }\n }\n\n /* LIST [[a.b.c]] */\n parseList () {\n this.ctx = this.obj\n return this.goto(this.parseListNext)\n }\n parseListNext () {\n if (this.char === CHAR_SP || this.char === CTRL_I) {\n return null\n } else {\n return this.callNow(this.parseKeyword, this.parseListMore)\n }\n }\n parseListMore (keyword) {\n if (this.char === CHAR_SP || this.char === CTRL_I) {\n return null\n } else if (this.char === CHAR_RSQB) {\n if (!hasKey(this.ctx, keyword)) {\n this.ctx[keyword] = List()\n }\n if (isInlineList(this.ctx[keyword])) {\n throw this.error(new TomlError(\"Can't extend an inline array\"))\n } else if (isList(this.ctx[keyword])) {\n const next = Table()\n this.ctx[keyword].push(next)\n this.ctx = next\n } else {\n throw this.error(new TomlError(\"Can't redefine an existing key\"))\n }\n return this.next(this.parseListEnd)\n } else if (this.char === CHAR_PERIOD) {\n if (!hasKey(this.ctx, keyword)) {\n this.ctx = this.ctx[keyword] = Table()\n } else if (isInlineList(this.ctx[keyword])) {\n throw this.error(new TomlError(\"Can't extend an inline array\"))\n } else if (isInlineTable(this.ctx[keyword])) {\n throw this.error(new TomlError(\"Can't extend an inline table\"))\n } else if (isList(this.ctx[keyword])) {\n this.ctx = this.ctx[keyword][this.ctx[keyword].length - 1]\n } else if (isTable(this.ctx[keyword])) {\n this.ctx = this.ctx[keyword]\n } else {\n throw this.error(new TomlError(\"Can't redefine an existing key\"))\n }\n return this.next(this.parseListNext)\n } else {\n throw this.error(new TomlError('Unexpected character, expected whitespace, . or ]'))\n }\n }\n parseListEnd (keyword) {\n if (this.char === CHAR_RSQB) {\n return this.next(this.parseWhitespaceToEOL)\n } else {\n throw this.error(new TomlError('Unexpected character, expected whitespace, . or ]'))\n }\n }\n\n /* VALUE string, number, boolean, inline list, inline object */\n parseValue () {\n if (this.char === Parser.END) {\n throw this.error(new TomlError('Key without value'))\n } else if (this.char === CHAR_QUOT) {\n return this.next(this.parseDoubleString)\n } if (this.char === CHAR_APOS) {\n return this.next(this.parseSingleString)\n } else if (this.char === CHAR_HYPHEN || this.char === CHAR_PLUS) {\n return this.goto(this.parseNumberSign)\n } else if (this.char === CHAR_i) {\n return this.next(this.parseInf)\n } else if (this.char === CHAR_n) {\n return this.next(this.parseNan)\n } else if (isDigit(this.char)) {\n return this.goto(this.parseNumberOrDateTime)\n } else if (this.char === CHAR_t || this.char === CHAR_f) {\n return this.goto(this.parseBoolean)\n } else if (this.char === CHAR_LSQB) {\n return this.call(this.parseInlineList, this.recordValue)\n } else if (this.char === CHAR_LCUB) {\n return this.call(this.parseInlineTable, this.recordValue)\n } else {\n throw this.error(new TomlError('Unexpected character, expecting string, number, datetime, boolean, inline array or inline table'))\n }\n }\n recordValue (value) {\n return this.returnNow(value)\n }\n\n parseInf () {\n if (this.char === CHAR_n) {\n return this.next(this.parseInf2)\n } else {\n throw this.error(new TomlError('Unexpected character, expected \"inf\", \"+inf\" or \"-inf\"'))\n }\n }\n parseInf2 () {\n if (this.char === CHAR_f) {\n if (this.state.buf === '-') {\n return this.return(-Infinity)\n } else {\n return this.return(Infinity)\n }\n } else {\n throw this.error(new TomlError('Unexpected character, expected \"inf\", \"+inf\" or \"-inf\"'))\n }\n }\n\n parseNan () {\n if (this.char === CHAR_a) {\n return this.next(this.parseNan2)\n } else {\n throw this.error(new TomlError('Unexpected character, expected \"nan\"'))\n }\n }\n parseNan2 () {\n if (this.char === CHAR_n) {\n return this.return(NaN)\n } else {\n throw this.error(new TomlError('Unexpected character, expected \"nan\"'))\n }\n }\n\n /* KEYS, barewords or basic, literal, or dotted */\n parseKeyword () {\n if (this.char === CHAR_QUOT) {\n return this.next(this.parseBasicString)\n } else if (this.char === CHAR_APOS) {\n return this.next(this.parseLiteralString)\n } else {\n return this.goto(this.parseBareKey)\n }\n }\n\n /* KEYS: barewords */\n parseBareKey () {\n do {\n if (this.char === Parser.END) {\n throw this.error(new TomlError('Key ended without value'))\n } else if (isAlphaNumHyphen(this.char)) {\n this.consume()\n } else if (this.state.buf.length === 0) {\n throw this.error(new TomlError('Empty bare keys are not allowed'))\n } else {\n return this.returnNow()\n }\n } while (this.nextChar())\n }\n\n /* STRINGS, single quoted (literal) */\n parseSingleString () {\n if (this.char === CHAR_APOS) {\n return this.next(this.parseLiteralMultiStringMaybe)\n } else {\n return this.goto(this.parseLiteralString)\n }\n }\n parseLiteralString () {\n do {\n if (this.char === CHAR_APOS) {\n return this.return()\n } else if (this.atEndOfLine()) {\n throw this.error(new TomlError('Unterminated string'))\n } else if (this.char === CHAR_DEL || (this.char <= CTRL_CHAR_BOUNDARY && this.char !== CTRL_I)) {\n throw this.errorControlCharInString()\n } else {\n this.consume()\n }\n } while (this.nextChar())\n }\n parseLiteralMultiStringMaybe () {\n if (this.char === CHAR_APOS) {\n return this.next(this.parseLiteralMultiString)\n } else {\n return this.returnNow()\n }\n }\n parseLiteralMultiString () {\n if (this.char === CTRL_M) {\n return null\n } else if (this.char === CTRL_J) {\n return this.next(this.parseLiteralMultiStringContent)\n } else {\n return this.goto(this.parseLiteralMultiStringContent)\n }\n }\n parseLiteralMultiStringContent () {\n do {\n if (this.char === CHAR_APOS) {\n return this.next(this.parseLiteralMultiEnd)\n } else if (this.char === Parser.END) {\n throw this.error(new TomlError('Unterminated multi-line string'))\n } else if (this.char === CHAR_DEL || (this.char <= CTRL_CHAR_BOUNDARY && this.char !== CTRL_I && this.char !== CTRL_J && this.char !== CTRL_M)) {\n throw this.errorControlCharInString()\n } else {\n this.consume()\n }\n } while (this.nextChar())\n }\n parseLiteralMultiEnd () {\n if (this.char === CHAR_APOS) {\n return this.next(this.parseLiteralMultiEnd2)\n } else {\n this.state.buf += \"'\"\n return this.goto(this.parseLiteralMultiStringContent)\n }\n }\n parseLiteralMultiEnd2 () {\n if (this.char === CHAR_APOS) {\n return this.return()\n } else {\n this.state.buf += \"''\"\n return this.goto(this.parseLiteralMultiStringContent)\n }\n }\n\n /* STRINGS double quoted */\n parseDoubleString () {\n if (this.char === CHAR_QUOT) {\n return this.next(this.parseMultiStringMaybe)\n } else {\n return this.goto(this.parseBasicString)\n }\n }\n parseBasicString () {\n do {\n if (this.char === CHAR_BSOL) {\n return this.call(this.parseEscape, this.recordEscapeReplacement)\n } else if (this.char === CHAR_QUOT) {\n return this.return()\n } else if (this.atEndOfLine()) {\n throw this.error(new TomlError('Unterminated string'))\n } else if (this.char === CHAR_DEL || (this.char <= CTRL_CHAR_BOUNDARY && this.char !== CTRL_I)) {\n throw this.errorControlCharInString()\n } else {\n this.consume()\n }\n } while (this.nextChar())\n }\n recordEscapeReplacement (replacement) {\n this.state.buf += replacement\n return this.goto(this.parseBasicString)\n }\n parseMultiStringMaybe () {\n if (this.char === CHAR_QUOT) {\n return this.next(this.parseMultiString)\n } else {\n return this.returnNow()\n }\n }\n parseMultiString () {\n if (this.char === CTRL_M) {\n return null\n } else if (this.char === CTRL_J) {\n return this.next(this.parseMultiStringContent)\n } else {\n return this.goto(this.parseMultiStringContent)\n }\n }\n parseMultiStringContent () {\n do {\n if (this.char === CHAR_BSOL) {\n return this.call(this.parseMultiEscape, this.recordMultiEscapeReplacement)\n } else if (this.char === CHAR_QUOT) {\n return this.next(this.parseMultiEnd)\n } else if (this.char === Parser.END) {\n throw this.error(new TomlError('Unterminated multi-line string'))\n } else if (this.char === CHAR_DEL || (this.char <= CTRL_CHAR_BOUNDARY && this.char !== CTRL_I && this.char !== CTRL_J && this.char !== CTRL_M)) {\n throw this.errorControlCharInString()\n } else {\n this.consume()\n }\n } while (this.nextChar())\n }\n errorControlCharInString () {\n let displayCode = '\\\\u00'\n if (this.char < 16) {\n displayCode += '0'\n }\n displayCode += this.char.toString(16)\n\n return this.error(new TomlError(`Control characters (codes < 0x1f and 0x7f) are not allowed in strings, use ${displayCode} instead`))\n }\n recordMultiEscapeReplacement (replacement) {\n this.state.buf += replacement\n return this.goto(this.parseMultiStringContent)\n }\n parseMultiEnd () {\n if (this.char === CHAR_QUOT) {\n return this.next(this.parseMultiEnd2)\n } else {\n this.state.buf += '\"'\n return this.goto(this.parseMultiStringContent)\n }\n }\n parseMultiEnd2 () {\n if (this.char === CHAR_QUOT) {\n return this.return()\n } else {\n this.state.buf += '\"\"'\n return this.goto(this.parseMultiStringContent)\n }\n }\n parseMultiEscape () {\n if (this.char === CTRL_M || this.char === CTRL_J) {\n return this.next(this.parseMultiTrim)\n } else if (this.char === CHAR_SP || this.char === CTRL_I) {\n return this.next(this.parsePreMultiTrim)\n } else {\n return this.goto(this.parseEscape)\n }\n }\n parsePreMultiTrim () {\n if (this.char === CHAR_SP || this.char === CTRL_I) {\n return null\n } else if (this.char === CTRL_M || this.char === CTRL_J) {\n return this.next(this.parseMultiTrim)\n } else {\n throw this.error(new TomlError(\"Can't escape whitespace\"))\n }\n }\n parseMultiTrim () {\n // explicitly whitespace here, END should follow the same path as chars\n if (this.char === CTRL_J || this.char === CHAR_SP || this.char === CTRL_I || this.char === CTRL_M) {\n return null\n } else {\n return this.returnNow()\n }\n }\n parseEscape () {\n if (this.char in escapes) {\n return this.return(escapes[this.char])\n } else if (this.char === CHAR_u) {\n return this.call(this.parseSmallUnicode, this.parseUnicodeReturn)\n } else if (this.char === CHAR_U) {\n return this.call(this.parseLargeUnicode, this.parseUnicodeReturn)\n } else {\n throw this.error(new TomlError('Unknown escape character: ' + this.char))\n }\n }\n parseUnicodeReturn (char) {\n try {\n const codePoint = parseInt(char, 16)\n if (codePoint >= SURROGATE_FIRST && codePoint <= SURROGATE_LAST) {\n throw this.error(new TomlError('Invalid unicode, character in range 0xD800 - 0xDFFF is reserved'))\n }\n return this.returnNow(String.fromCodePoint(codePoint))\n } catch (err) {\n throw this.error(TomlError.wrap(err))\n }\n }\n parseSmallUnicode () {\n if (!isHexit(this.char)) {\n throw this.error(new TomlError('Invalid character in unicode sequence, expected hex'))\n } else {\n this.consume()\n if (this.state.buf.length >= 4) return this.return()\n }\n }\n parseLargeUnicode () {\n if (!isHexit(this.char)) {\n throw this.error(new TomlError('Invalid character in unicode sequence, expected hex'))\n } else {\n this.consume()\n if (this.state.buf.length >= 8) return this.return()\n }\n }\n\n /* NUMBERS */\n parseNumberSign () {\n this.consume()\n return this.next(this.parseMaybeSignedInfOrNan)\n }\n parseMaybeSignedInfOrNan () {\n if (this.char === CHAR_i) {\n return this.next(this.parseInf)\n } else if (this.char === CHAR_n) {\n return this.next(this.parseNan)\n } else {\n return this.callNow(this.parseNoUnder, this.parseNumberIntegerStart)\n }\n }\n parseNumberIntegerStart () {\n if (this.char === CHAR_0) {\n this.consume()\n return this.next(this.parseNumberIntegerExponentOrDecimal)\n } else {\n return this.goto(this.parseNumberInteger)\n }\n }\n parseNumberIntegerExponentOrDecimal () {\n if (this.char === CHAR_PERIOD) {\n this.consume()\n return this.call(this.parseNoUnder, this.parseNumberFloat)\n } else if (this.char === CHAR_E || this.char === CHAR_e) {\n this.consume()\n return this.next(this.parseNumberExponentSign)\n } else {\n return this.returnNow(Integer(this.state.buf))\n }\n }\n parseNumberInteger () {\n if (isDigit(this.char)) {\n this.consume()\n } else if (this.char === CHAR_LOWBAR) {\n return this.call(this.parseNoUnder)\n } else if (this.char === CHAR_E || this.char === CHAR_e) {\n this.consume()\n return this.next(this.parseNumberExponentSign)\n } else if (this.char === CHAR_PERIOD) {\n this.consume()\n return this.call(this.parseNoUnder, this.parseNumberFloat)\n } else {\n const result = Integer(this.state.buf)\n /* istanbul ignore if */\n if (result.isNaN()) {\n throw this.error(new TomlError('Invalid number'))\n } else {\n return this.returnNow(result)\n }\n }\n }\n parseNoUnder () {\n if (this.char === CHAR_LOWBAR || this.char === CHAR_PERIOD || this.char === CHAR_E || this.char === CHAR_e) {\n throw this.error(new TomlError('Unexpected character, expected digit'))\n } else if (this.atEndOfWord()) {\n throw this.error(new TomlError('Incomplete number'))\n }\n return this.returnNow()\n }\n parseNoUnderHexOctBinLiteral () {\n if (this.char === CHAR_LOWBAR || this.char === CHAR_PERIOD) {\n throw this.error(new TomlError('Unexpected character, expected digit'))\n } else if (this.atEndOfWord()) {\n throw this.error(new TomlError('Incomplete number'))\n }\n return this.returnNow()\n }\n parseNumberFloat () {\n if (this.char === CHAR_LOWBAR) {\n return this.call(this.parseNoUnder, this.parseNumberFloat)\n } else if (isDigit(this.char)) {\n this.consume()\n } else if (this.char === CHAR_E || this.char === CHAR_e) {\n this.consume()\n return this.next(this.parseNumberExponentSign)\n } else {\n return this.returnNow(Float(this.state.buf))\n }\n }\n parseNumberExponentSign () {\n if (isDigit(this.char)) {\n return this.goto(this.parseNumberExponent)\n } else if (this.char === CHAR_HYPHEN || this.char === CHAR_PLUS) {\n this.consume()\n this.call(this.parseNoUnder, this.parseNumberExponent)\n } else {\n throw this.error(new TomlError('Unexpected character, expected -, + or digit'))\n }\n }\n parseNumberExponent () {\n if (isDigit(this.char)) {\n this.consume()\n } else if (this.char === CHAR_LOWBAR) {\n return this.call(this.parseNoUnder)\n } else {\n return this.returnNow(Float(this.state.buf))\n }\n }\n\n /* NUMBERS or DATETIMES */\n parseNumberOrDateTime () {\n if (this.char === CHAR_0) {\n this.consume()\n return this.next(this.parseNumberBaseOrDateTime)\n } else {\n return this.goto(this.parseNumberOrDateTimeOnly)\n }\n }\n parseNumberOrDateTimeOnly () {\n // note, if two zeros are in a row then it MUST be a date\n if (this.char === CHAR_LOWBAR) {\n return this.call(this.parseNoUnder, this.parseNumberInteger)\n } else if (isDigit(this.char)) {\n this.consume()\n if (this.state.buf.length > 4) this.next(this.parseNumberInteger)\n } else if (this.char === CHAR_E || this.char === CHAR_e) {\n this.consume()\n return this.next(this.parseNumberExponentSign)\n } else if (this.char === CHAR_PERIOD) {\n this.consume()\n return this.call(this.parseNoUnder, this.parseNumberFloat)\n } else if (this.char === CHAR_HYPHEN) {\n return this.goto(this.parseDateTime)\n } else if (this.char === CHAR_COLON) {\n return this.goto(this.parseOnlyTimeHour)\n } else {\n return this.returnNow(Integer(this.state.buf))\n }\n }\n parseDateTimeOnly () {\n if (this.state.buf.length < 4) {\n if (isDigit(this.char)) {\n return this.consume()\n } else if (this.char === CHAR_COLON) {\n return this.goto(this.parseOnlyTimeHour)\n } else {\n throw this.error(new TomlError('Expected digit while parsing year part of a date'))\n }\n } else {\n if (this.char === CHAR_HYPHEN) {\n return this.goto(this.parseDateTime)\n } else {\n throw this.error(new TomlError('Expected hyphen (-) while parsing year part of date'))\n }\n }\n }\n parseNumberBaseOrDateTime () {\n if (this.char === CHAR_b) {\n this.consume()\n return this.call(this.parseNoUnderHexOctBinLiteral, this.parseIntegerBin)\n } else if (this.char === CHAR_o) {\n this.consume()\n return this.call(this.parseNoUnderHexOctBinLiteral, this.parseIntegerOct)\n } else if (this.char === CHAR_x) {\n this.consume()\n return this.call(this.parseNoUnderHexOctBinLiteral, this.parseIntegerHex)\n } else if (this.char === CHAR_PERIOD) {\n return this.goto(this.parseNumberInteger)\n } else if (isDigit(this.char)) {\n return this.goto(this.parseDateTimeOnly)\n } else {\n return this.returnNow(Integer(this.state.buf))\n }\n }\n parseIntegerHex () {\n if (isHexit(this.char)) {\n this.consume()\n } else if (this.char === CHAR_LOWBAR) {\n return this.call(this.parseNoUnderHexOctBinLiteral)\n } else {\n const result = Integer(this.state.buf)\n /* istanbul ignore if */\n if (result.isNaN()) {\n throw this.error(new TomlError('Invalid number'))\n } else {\n return this.returnNow(result)\n }\n }\n }\n parseIntegerOct () {\n if (isOctit(this.char)) {\n this.consume()\n } else if (this.char === CHAR_LOWBAR) {\n return this.call(this.parseNoUnderHexOctBinLiteral)\n } else {\n const result = Integer(this.state.buf)\n /* istanbul ignore if */\n if (result.isNaN()) {\n throw this.error(new TomlError('Invalid number'))\n } else {\n return this.returnNow(result)\n }\n }\n }\n parseIntegerBin () {\n if (isBit(this.char)) {\n this.consume()\n } else if (this.char === CHAR_LOWBAR) {\n return this.call(this.parseNoUnderHexOctBinLiteral)\n } else {\n const result = Integer(this.state.buf)\n /* istanbul ignore if */\n if (result.isNaN()) {\n throw this.error(new TomlError('Invalid number'))\n } else {\n return this.returnNow(result)\n }\n }\n }\n\n /* DATETIME */\n parseDateTime () {\n // we enter here having just consumed the year and about to consume the hyphen\n if (this.state.buf.length < 4) {\n throw this.error(new TomlError('Years less than 1000 must be zero padded to four characters'))\n }\n this.state.result = this.state.buf\n this.state.buf = ''\n return this.next(this.parseDateMonth)\n }\n parseDateMonth () {\n if (this.char === CHAR_HYPHEN) {\n if (this.state.buf.length < 2) {\n throw this.error(new TomlError('Months less than 10 must be zero padded to two characters'))\n }\n this.state.result += '-' + this.state.buf\n this.state.buf = ''\n return this.next(this.parseDateDay)\n } else if (isDigit(this.char)) {\n this.consume()\n } else {\n throw this.error(new TomlError('Incomplete datetime'))\n }\n }\n parseDateDay () {\n if (this.char === CHAR_T || this.char === CHAR_SP) {\n if (this.state.buf.length < 2) {\n throw this.error(new TomlError('Days less than 10 must be zero padded to two characters'))\n }\n this.state.result += '-' + this.state.buf\n this.state.buf = ''\n return this.next(this.parseStartTimeHour)\n } else if (this.atEndOfWord()) {\n return this.returnNow(createDate(this.state.result + '-' + this.state.buf))\n } else if (isDigit(this.char)) {\n this.consume()\n } else {\n throw this.error(new TomlError('Incomplete datetime'))\n }\n }\n parseStartTimeHour () {\n if (this.atEndOfWord()) {\n return this.returnNow(createDate(this.state.result))\n } else {\n return this.goto(this.parseTimeHour)\n }\n }\n parseTimeHour () {\n if (this.char === CHAR_COLON) {\n if (this.state.buf.length < 2) {\n throw this.error(new TomlError('Hours less than 10 must be zero padded to two characters'))\n }\n this.state.result += 'T' + this.state.buf\n this.state.buf = ''\n return this.next(this.parseTimeMin)\n } else if (isDigit(this.char)) {\n this.consume()\n } else {\n throw this.error(new TomlError('Incomplete datetime'))\n }\n }\n parseTimeMin () {\n if (this.state.buf.length < 2 && isDigit(this.char)) {\n this.consume()\n } else if (this.state.buf.length === 2 && this.char === CHAR_COLON) {\n this.state.result += ':' + this.state.buf\n this.state.buf = ''\n return this.next(this.parseTimeSec)\n } else {\n throw this.error(new TomlError('Incomplete datetime'))\n }\n }\n parseTimeSec () {\n if (isDigit(this.char)) {\n this.consume()\n if (this.state.buf.length === 2) {\n this.state.result += ':' + this.state.buf\n this.state.buf = ''\n return this.next(this.parseTimeZoneOrFraction)\n }\n } else {\n throw this.error(new TomlError('Incomplete datetime'))\n }\n }\n\n parseOnlyTimeHour () {\n /* istanbul ignore else */\n if (this.char === CHAR_COLON) {\n if (this.state.buf.length < 2) {\n throw this.error(new TomlError('Hours less than 10 must be zero padded to two characters'))\n }\n this.state.result = this.state.buf\n this.state.buf = ''\n return this.next(this.parseOnlyTimeMin)\n } else {\n throw this.error(new TomlError('Incomplete time'))\n }\n }\n parseOnlyTimeMin () {\n if (this.state.buf.length < 2 && isDigit(this.char)) {\n this.consume()\n } else if (this.state.buf.length === 2 && this.char === CHAR_COLON) {\n this.state.result += ':' + this.state.buf\n this.state.buf = ''\n return this.next(this.parseOnlyTimeSec)\n } else {\n throw this.error(new TomlError('Incomplete time'))\n }\n }\n parseOnlyTimeSec () {\n if (isDigit(this.char)) {\n this.consume()\n if (this.state.buf.length === 2) {\n return this.next(this.parseOnlyTimeFractionMaybe)\n }\n } else {\n throw this.error(new TomlError('Incomplete time'))\n }\n }\n parseOnlyTimeFractionMaybe () {\n this.state.result += ':' + this.state.buf\n if (this.char === CHAR_PERIOD) {\n this.state.buf = ''\n this.next(this.parseOnlyTimeFraction)\n } else {\n return this.return(createTime(this.state.result))\n }\n }\n parseOnlyTimeFraction () {\n if (isDigit(this.char)) {\n this.consume()\n } else if (this.atEndOfWord()) {\n if (this.state.buf.length === 0) throw this.error(new TomlError('Expected digit in milliseconds'))\n return this.returnNow(createTime(this.state.result + '.' + this.state.buf))\n } else {\n throw this.error(new TomlError('Unexpected character in datetime, expected period (.), minus (-), plus (+) or Z'))\n }\n }\n\n parseTimeZoneOrFraction () {\n if (this.char === CHAR_PERIOD) {\n this.consume()\n this.next(this.parseDateTimeFraction)\n } else if (this.char === CHAR_HYPHEN || this.char === CHAR_PLUS) {\n this.consume()\n this.next(this.parseTimeZoneHour)\n } else if (this.char === CHAR_Z) {\n this.consume()\n return this.return(createDateTime(this.state.result + this.state.buf))\n } else if (this.atEndOfWord()) {\n return this.returnNow(createDateTimeFloat(this.state.result + this.state.buf))\n } else {\n throw this.error(new TomlError('Unexpected character in datetime, expected period (.), minus (-), plus (+) or Z'))\n }\n }\n parseDateTimeFraction () {\n if (isDigit(this.char)) {\n this.consume()\n } else if (this.state.buf.length === 1) {\n throw this.error(new TomlError('Expected digit in milliseconds'))\n } else if (this.char === CHAR_HYPHEN || this.char === CHAR_PLUS) {\n this.consume()\n this.next(this.parseTimeZoneHour)\n } else if (this.char === CHAR_Z) {\n this.consume()\n return this.return(createDateTime(this.state.result + this.state.buf))\n } else if (this.atEndOfWord()) {\n return this.returnNow(createDateTimeFloat(this.state.result + this.state.buf))\n } else {\n throw this.error(new TomlError('Unexpected character in datetime, expected period (.), minus (-), plus (+) or Z'))\n }\n }\n parseTimeZoneHour () {\n if (isDigit(this.char)) {\n this.consume()\n // FIXME: No more regexps\n if (/\\d\\d$/.test(this.state.buf)) return this.next(this.parseTimeZoneSep)\n } else {\n throw this.error(new TomlError('Unexpected character in datetime, expected digit'))\n }\n }\n parseTimeZoneSep () {\n if (this.char === CHAR_COLON) {\n this.consume()\n this.next(this.parseTimeZoneMin)\n } else {\n throw this.error(new TomlError('Unexpected character in datetime, expected colon'))\n }\n }\n parseTimeZoneMin () {\n if (isDigit(this.char)) {\n this.consume()\n if (/\\d\\d$/.test(this.state.buf)) return this.return(createDateTime(this.state.result + this.state.buf))\n } else {\n throw this.error(new TomlError('Unexpected character in datetime, expected digit'))\n }\n }\n\n /* BOOLEAN */\n parseBoolean () {\n /* istanbul ignore else */\n if (this.char === CHAR_t) {\n this.consume()\n return this.next(this.parseTrue_r)\n } else if (this.char === CHAR_f) {\n this.consume()\n return this.next(this.parseFalse_a)\n }\n }\n parseTrue_r () {\n if (this.char === CHAR_r) {\n this.consume()\n return this.next(this.parseTrue_u)\n } else {\n throw this.error(new TomlError('Invalid boolean, expected true or false'))\n }\n }\n parseTrue_u () {\n if (this.char === CHAR_u) {\n this.consume()\n return this.next(this.parseTrue_e)\n } else {\n throw this.error(new TomlError('Invalid boolean, expected true or false'))\n }\n }\n parseTrue_e () {\n if (this.char === CHAR_e) {\n return this.return(true)\n } else {\n throw this.error(new TomlError('Invalid boolean, expected true or false'))\n }\n }\n\n parseFalse_a () {\n if (this.char === CHAR_a) {\n this.consume()\n return this.next(this.parseFalse_l)\n } else {\n throw this.error(new TomlError('Invalid boolean, expected true or false'))\n }\n }\n\n parseFalse_l () {\n if (this.char === CHAR_l) {\n this.consume()\n return this.next(this.parseFalse_s)\n } else {\n throw this.error(new TomlError('Invalid boolean, expected true or false'))\n }\n }\n\n parseFalse_s () {\n if (this.char === CHAR_s) {\n this.consume()\n return this.next(this.parseFalse_e)\n } else {\n throw this.error(new TomlError('Invalid boolean, expected true or false'))\n }\n }\n\n parseFalse_e () {\n if (this.char === CHAR_e) {\n return this.return(false)\n } else {\n throw this.error(new TomlError('Invalid boolean, expected true or false'))\n }\n }\n\n /* INLINE LISTS */\n parseInlineList () {\n if (this.char === CHAR_SP || this.char === CTRL_I || this.char === CTRL_M || this.char === CTRL_J) {\n return null\n } else if (this.char === Parser.END) {\n throw this.error(new TomlError('Unterminated inline array'))\n } else if (this.char === CHAR_NUM) {\n return this.call(this.parseComment)\n } else if (this.char === CHAR_RSQB) {\n return this.return(this.state.resultArr || InlineList())\n } else {\n return this.callNow(this.parseValue, this.recordInlineListValue)\n }\n }\n recordInlineListValue (value) {\n if (this.state.resultArr) {\n const listType = this.state.resultArr[_contentType]\n const valueType = tomlType(value)\n if (listType !== valueType) {\n throw this.error(new TomlError(`Inline lists must be a single type, not a mix of ${listType} and ${valueType}`))\n }\n } else {\n this.state.resultArr = InlineList(tomlType(value))\n }\n if (isFloat(value) || isInteger(value)) {\n // unbox now that we've verified they're ok\n this.state.resultArr.push(value.valueOf())\n } else {\n this.state.resultArr.push(value)\n }\n return this.goto(this.parseInlineListNext)\n }\n parseInlineListNext () {\n if (this.char === CHAR_SP || this.char === CTRL_I || this.char === CTRL_M || this.char === CTRL_J) {\n return null\n } else if (this.char === CHAR_NUM) {\n return this.call(this.parseComment)\n } else if (this.char === CHAR_COMMA) {\n return this.next(this.parseInlineList)\n } else if (this.char === CHAR_RSQB) {\n return this.goto(this.parseInlineList)\n } else {\n throw this.error(new TomlError('Invalid character, expected whitespace, comma (,) or close bracket (])'))\n }\n }\n\n /* INLINE TABLE */\n parseInlineTable () {\n if (this.char === CHAR_SP || this.char === CTRL_I) {\n return null\n } else if (this.char === Parser.END || this.char === CHAR_NUM || this.char === CTRL_J || this.char === CTRL_M) {\n throw this.error(new TomlError('Unterminated inline array'))\n } else if (this.char === CHAR_RCUB) {\n return this.return(this.state.resultTable || InlineTable())\n } else {\n if (!this.state.resultTable) this.state.resultTable = InlineTable()\n return this.callNow(this.parseAssign, this.recordInlineTableValue)\n }\n }\n recordInlineTableValue (kv) {\n let target = this.state.resultTable\n let finalKey = kv.key.pop()\n for (let kw of kv.key) {\n if (hasKey(target, kw) && (!isTable(target[kw]) || target[kw][_declared])) {\n throw this.error(new TomlError(\"Can't redefine existing key\"))\n }\n target = target[kw] = target[kw] || Table()\n }\n if (hasKey(target, finalKey)) {\n throw this.error(new TomlError(\"Can't redefine existing key\"))\n }\n if (isInteger(kv.value) || isFloat(kv.value)) {\n target[finalKey] = kv.value.valueOf()\n } else {\n target[finalKey] = kv.value\n }\n return this.goto(this.parseInlineTableNext)\n }\n parseInlineTableNext () {\n if (this.char === CHAR_SP || this.char === CTRL_I) {\n return null\n } else if (this.char === Parser.END || this.char === CHAR_NUM || this.char === CTRL_J || this.char === CTRL_M) {\n throw this.error(new TomlError('Unterminated inline array'))\n } else if (this.char === CHAR_COMMA) {\n return this.next(this.parseInlineTable)\n } else if (this.char === CHAR_RCUB) {\n return this.goto(this.parseInlineTable)\n } else {\n throw this.error(new TomlError('Invalid character, expected whitespace, comma (,) or close bracket (])'))\n }\n }\n }\n return TOMLParser\n}\n","'use strict'\nconst ParserEND = 0x110000\nclass ParserError extends Error {\n /* istanbul ignore next */\n constructor (msg, filename, linenumber) {\n super('[ParserError] ' + msg, filename, linenumber)\n this.name = 'ParserError'\n this.code = 'ParserError'\n if (Error.captureStackTrace) Error.captureStackTrace(this, ParserError)\n }\n}\nclass State {\n constructor (parser) {\n this.parser = parser\n this.buf = ''\n this.returned = null\n this.result = null\n this.resultTable = null\n this.resultArr = null\n }\n}\nclass Parser {\n constructor () {\n this.pos = 0\n this.col = 0\n this.line = 0\n this.obj = {}\n this.ctx = this.obj\n this.stack = []\n this._buf = ''\n this.char = null\n this.ii = 0\n this.state = new State(this.parseStart)\n }\n\n parse (str) {\n /* istanbul ignore next */\n if (str.length === 0 || str.length == null) return\n\n this._buf = String(str)\n this.ii = -1\n this.char = -1\n let getNext\n while (getNext === false || this.nextChar()) {\n getNext = this.runOne()\n }\n this._buf = null\n }\n nextChar () {\n if (this.char === 0x0A) {\n ++this.line\n this.col = -1\n }\n ++this.ii\n this.char = this._buf.codePointAt(this.ii)\n ++this.pos\n ++this.col\n return this.haveBuffer()\n }\n haveBuffer () {\n return this.ii < this._buf.length\n }\n runOne () {\n return this.state.parser.call(this, this.state.returned)\n }\n finish () {\n this.char = ParserEND\n let last\n do {\n last = this.state.parser\n this.runOne()\n } while (this.state.parser !== last)\n\n this.ctx = null\n this.state = null\n this._buf = null\n\n return this.obj\n }\n next (fn) {\n /* istanbul ignore next */\n if (typeof fn !== 'function') throw new ParserError('Tried to set state to non-existent state: ' + JSON.stringify(fn))\n this.state.parser = fn\n }\n goto (fn) {\n this.next(fn)\n return this.runOne()\n }\n call (fn, returnWith) {\n if (returnWith) this.next(returnWith)\n this.stack.push(this.state)\n this.state = new State(fn)\n }\n callNow (fn, returnWith) {\n this.call(fn, returnWith)\n return this.runOne()\n }\n return (value) {\n /* istanbul ignore next */\n if (this.stack.length === 0) throw this.error(new ParserError('Stack underflow'))\n if (value === undefined) value = this.state.buf\n this.state = this.stack.pop()\n this.state.returned = value\n }\n returnNow (value) {\n this.return(value)\n return this.runOne()\n }\n consume () {\n /* istanbul ignore next */\n if (this.char === ParserEND) throw this.error(new ParserError('Unexpected end-of-buffer'))\n this.state.buf += this._buf[this.ii]\n }\n error (err) {\n err.line = this.line\n err.col = this.col\n err.pos = this.pos\n return err\n }\n /* istanbul ignore next */\n parseStart () {\n throw new ParserError('Must declare a parseStart method')\n }\n}\nParser.END = ParserEND\nParser.Error = ParserError\nmodule.exports = Parser\n","'use strict'\nmodule.exports = value => {\n const date = new Date(value)\n /* istanbul ignore if */\n if (isNaN(date)) {\n throw new TypeError('Invalid Datetime')\n } else {\n return date\n }\n}\n","'use strict'\nconst f = require('./format-num.js')\n\nclass FloatingDateTime extends Date {\n constructor (value) {\n super(value + 'Z')\n this.isFloating = true\n }\n toISOString () {\n const date = `${this.getUTCFullYear()}-${f(2, this.getUTCMonth() + 1)}-${f(2, this.getUTCDate())}`\n const time = `${f(2, this.getUTCHours())}:${f(2, this.getUTCMinutes())}:${f(2, this.getUTCSeconds())}.${f(3, this.getUTCMilliseconds())}`\n return `${date}T${time}`\n }\n}\n\nmodule.exports = value => {\n const date = new FloatingDateTime(value)\n /* istanbul ignore if */\n if (isNaN(date)) {\n throw new TypeError('Invalid Datetime')\n } else {\n return date\n }\n}\n","'use strict'\nmodule.exports = (d, num) => {\n num = String(num)\n while (num.length < d) num = '0' + num\n return num\n}\n","'use strict'\nconst f = require('./format-num.js')\nconst DateTime = global.Date\n\nclass Date extends DateTime {\n constructor (value) {\n super(value)\n this.isDate = true\n }\n toISOString () {\n return `${this.getUTCFullYear()}-${f(2, this.getUTCMonth() + 1)}-${f(2, this.getUTCDate())}`\n }\n}\n\nmodule.exports = value => {\n const date = new Date(value)\n /* istanbul ignore if */\n if (isNaN(date)) {\n throw new TypeError('Invalid Datetime')\n } else {\n return date\n }\n}\n","'use strict'\nconst f = require('./format-num.js')\n\nclass Time extends Date {\n constructor (value) {\n super(`0000-01-01T${value}Z`)\n this.isTime = true\n }\n toISOString () {\n return `${f(2, this.getUTCHours())}:${f(2, this.getUTCMinutes())}:${f(2, this.getUTCSeconds())}.${f(3, this.getUTCMilliseconds())}`\n }\n}\n\nmodule.exports = value => {\n const date = new Time(value)\n /* istanbul ignore if */\n if (isNaN(date)) {\n throw new TypeError('Invalid Datetime')\n } else {\n return date\n }\n}\n","'use strict'\nmodule.exports = prettyError\n\nfunction prettyError (err, buf) {\n /* istanbul ignore if */\n if (err.pos == null || err.line == null) return err\n let msg = err.message\n msg += ` at row ${err.line + 1}, col ${err.col + 1}, pos ${err.pos}:\\n`\n\n /* istanbul ignore else */\n if (buf && buf.split) {\n const lines = buf.split(/\\n/)\n const lineNumWidth = String(Math.min(lines.length, err.line + 3)).length\n let linePadding = ' '\n while (linePadding.length < lineNumWidth) linePadding += ' '\n for (let ii = Math.max(0, err.line - 1); ii < Math.min(lines.length, err.line + 2); ++ii) {\n let lineNum = String(ii + 1)\n if (lineNum.length < lineNumWidth) lineNum = ' ' + lineNum\n if (err.line === ii) {\n msg += lineNum + '> ' + lines[ii] + '\\n'\n msg += linePadding + ' '\n for (let hh = 0; hh < err.col; ++hh) {\n msg += ' '\n }\n msg += '^\\n'\n } else {\n msg += lineNum + ': ' + lines[ii] + '\\n'\n }\n }\n }\n err.message = msg + '\\n'\n return err\n}\n","'use strict'\nmodule.exports = parseAsync\n\nconst TOMLParser = require('./lib/toml-parser.js')\nconst prettyError = require('./parse-pretty-error.js')\n\nfunction parseAsync (str, opts) {\n if (!opts) opts = {}\n const index = 0\n const blocksize = opts.blocksize || 40960\n const parser = new TOMLParser()\n return new Promise((resolve, reject) => {\n setImmediate(parseAsyncNext, index, blocksize, resolve, reject)\n })\n function parseAsyncNext (index, blocksize, resolve, reject) {\n if (index >= str.length) {\n try {\n return resolve(parser.finish())\n } catch (err) {\n return reject(prettyError(err, str))\n }\n }\n try {\n parser.parse(str.slice(index, index + blocksize))\n setImmediate(parseAsyncNext, index + blocksize, blocksize, resolve, reject)\n } catch (err) {\n reject(prettyError(err, str))\n }\n }\n}\n","'use strict'\nmodule.exports = parseStream\n\nconst stream = require('stream')\nconst TOMLParser = require('./lib/toml-parser.js')\n\nfunction parseStream (stm) {\n if (stm) {\n return parseReadable(stm)\n } else {\n return parseTransform(stm)\n }\n}\n\nfunction parseReadable (stm) {\n const parser = new TOMLParser()\n stm.setEncoding('utf8')\n return new Promise((resolve, reject) => {\n let readable\n let ended = false\n let errored = false\n function finish () {\n ended = true\n if (readable) return\n try {\n resolve(parser.finish())\n } catch (err) {\n reject(err)\n }\n }\n function error (err) {\n errored = true\n reject(err)\n }\n stm.once('end', finish)\n stm.once('error', error)\n readNext()\n\n function readNext () {\n readable = true\n let data\n while ((data = stm.read()) !== null) {\n try {\n parser.parse(data)\n } catch (err) {\n return error(err)\n }\n }\n readable = false\n /* istanbul ignore if */\n if (ended) return finish()\n /* istanbul ignore if */\n if (errored) return\n stm.once('readable', readNext)\n }\n })\n}\n\nfunction parseTransform () {\n const parser = new TOMLParser()\n return new stream.Transform({\n objectMode: true,\n transform (chunk, encoding, cb) {\n try {\n parser.parse(chunk.toString(encoding))\n } catch (err) {\n this.emit('error', err)\n }\n cb()\n },\n flush (cb) {\n try {\n this.push(parser.finish())\n } catch (err) {\n this.emit('error', err)\n }\n cb()\n }\n })\n}\n","'use strict'\nmodule.exports = stringify\nmodule.exports.value = stringifyInline\n\nfunction stringify (obj) {\n if (obj === null) throw typeError('null')\n if (obj === void (0)) throw typeError('undefined')\n if (typeof obj !== 'object') throw typeError(typeof obj)\n\n if (typeof obj.toJSON === 'function') obj = obj.toJSON()\n if (obj == null) return null\n const type = tomlType(obj)\n if (type !== 'table') throw typeError(type)\n return stringifyObject('', '', obj)\n}\n\nfunction typeError (type) {\n return new Error('Can only stringify objects, not ' + type)\n}\n\nfunction arrayOneTypeError () {\n return new Error(\"Array values can't have mixed types\")\n}\n\nfunction getInlineKeys (obj) {\n return Object.keys(obj).filter(key => isInline(obj[key]))\n}\nfunction getComplexKeys (obj) {\n return Object.keys(obj).filter(key => !isInline(obj[key]))\n}\n\nfunction toJSON (obj) {\n let nobj = Array.isArray(obj) ? [] : Object.prototype.hasOwnProperty.call(obj, '__proto__') ? {['__proto__']: undefined} : {}\n for (let prop of Object.keys(obj)) {\n if (obj[prop] && typeof obj[prop].toJSON === 'function' && !('toISOString' in obj[prop])) {\n nobj[prop] = obj[prop].toJSON()\n } else {\n nobj[prop] = obj[prop]\n }\n }\n return nobj\n}\n\nfunction stringifyObject (prefix, indent, obj) {\n obj = toJSON(obj)\n var inlineKeys\n var complexKeys\n inlineKeys = getInlineKeys(obj)\n complexKeys = getComplexKeys(obj)\n var result = []\n var inlineIndent = indent || ''\n inlineKeys.forEach(key => {\n var type = tomlType(obj[key])\n if (type !== 'undefined' && type !== 'null') {\n result.push(inlineIndent + stringifyKey(key) + ' = ' + stringifyAnyInline(obj[key], true))\n }\n })\n if (result.length > 0) result.push('')\n var complexIndent = prefix && inlineKeys.length > 0 ? indent + ' ' : ''\n complexKeys.forEach(key => {\n result.push(stringifyComplex(prefix, complexIndent, key, obj[key]))\n })\n return result.join('\\n')\n}\n\nfunction isInline (value) {\n switch (tomlType(value)) {\n case 'undefined':\n case 'null':\n case 'integer':\n case 'nan':\n case 'float':\n case 'boolean':\n case 'string':\n case 'datetime':\n return true\n case 'array':\n return value.length === 0 || tomlType(value[0]) !== 'table'\n case 'table':\n return Object.keys(value).length === 0\n /* istanbul ignore next */\n default:\n return false\n }\n}\n\nfunction tomlType (value) {\n if (value === undefined) {\n return 'undefined'\n } else if (value === null) {\n return 'null'\n /* eslint-disable valid-typeof */\n } else if (typeof value === 'bigint' || (Number.isInteger(value) && !Object.is(value, -0))) {\n return 'integer'\n } else if (typeof value === 'number') {\n return 'float'\n } else if (typeof value === 'boolean') {\n return 'boolean'\n } else if (typeof value === 'string') {\n return 'string'\n } else if ('toISOString' in value) {\n return isNaN(value) ? 'undefined' : 'datetime'\n } else if (Array.isArray(value)) {\n return 'array'\n } else {\n return 'table'\n }\n}\n\nfunction stringifyKey (key) {\n var keyStr = String(key)\n if (/^[-A-Za-z0-9_]+$/.test(keyStr)) {\n return keyStr\n } else {\n return stringifyBasicString(keyStr)\n }\n}\n\nfunction stringifyBasicString (str) {\n return '\"' + escapeString(str).replace(/\"/g, '\\\\\"') + '\"'\n}\n\nfunction stringifyLiteralString (str) {\n return \"'\" + str + \"'\"\n}\n\nfunction numpad (num, str) {\n while (str.length < num) str = '0' + str\n return str\n}\n\nfunction escapeString (str) {\n return str.replace(/\\\\/g, '\\\\\\\\')\n .replace(/[\\b]/g, '\\\\b')\n .replace(/\\t/g, '\\\\t')\n .replace(/\\n/g, '\\\\n')\n .replace(/\\f/g, '\\\\f')\n .replace(/\\r/g, '\\\\r')\n /* eslint-disable no-control-regex */\n .replace(/([\\u0000-\\u001f\\u007f])/, c => '\\\\u' + numpad(4, c.codePointAt(0).toString(16)))\n /* eslint-enable no-control-regex */\n}\n\nfunction stringifyMultilineString (str) {\n let escaped = str.split(/\\n/).map(str => {\n return escapeString(str).replace(/\"(?=\"\")/g, '\\\\\"')\n }).join('\\n')\n if (escaped.slice(-1) === '\"') escaped += '\\\\\\n'\n return '\"\"\"\\n' + escaped + '\"\"\"'\n}\n\nfunction stringifyAnyInline (value, multilineOk) {\n let type = tomlType(value)\n if (type === 'string') {\n if (multilineOk && /\\n/.test(value)) {\n type = 'string-multiline'\n } else if (!/[\\b\\t\\n\\f\\r']/.test(value) && /\"/.test(value)) {\n type = 'string-literal'\n }\n }\n return stringifyInline(value, type)\n}\n\nfunction stringifyInline (value, type) {\n /* istanbul ignore if */\n if (!type) type = tomlType(value)\n switch (type) {\n case 'string-multiline':\n return stringifyMultilineString(value)\n case 'string':\n return stringifyBasicString(value)\n case 'string-literal':\n return stringifyLiteralString(value)\n case 'integer':\n return stringifyInteger(value)\n case 'float':\n return stringifyFloat(value)\n case 'boolean':\n return stringifyBoolean(value)\n case 'datetime':\n return stringifyDatetime(value)\n case 'array':\n return stringifyInlineArray(value.filter(_ => tomlType(_) !== 'null' && tomlType(_) !== 'undefined' && tomlType(_) !== 'nan'))\n case 'table':\n return stringifyInlineTable(value)\n /* istanbul ignore next */\n default:\n throw typeError(type)\n }\n}\n\nfunction stringifyInteger (value) {\n /* eslint-disable security/detect-unsafe-regex */\n return String(value).replace(/\\B(?=(\\d{3})+(?!\\d))/g, '_')\n}\n\nfunction stringifyFloat (value) {\n if (value === Infinity) {\n return 'inf'\n } else if (value === -Infinity) {\n return '-inf'\n } else if (Object.is(value, NaN)) {\n return 'nan'\n } else if (Object.is(value, -0)) {\n return '-0.0'\n }\n var chunks = String(value).split('.')\n var int = chunks[0]\n var dec = chunks[1] || 0\n return stringifyInteger(int) + '.' + dec\n}\n\nfunction stringifyBoolean (value) {\n return String(value)\n}\n\nfunction stringifyDatetime (value) {\n return value.toISOString()\n}\n\nfunction isNumber (type) {\n return type === 'float' || type === 'integer'\n}\nfunction arrayType (values) {\n var contentType = tomlType(values[0])\n if (values.every(_ => tomlType(_) === contentType)) return contentType\n // mixed integer/float, emit as floats\n if (values.every(_ => isNumber(tomlType(_)))) return 'float'\n return 'mixed'\n}\nfunction validateArray (values) {\n const type = arrayType(values)\n if (type === 'mixed') {\n throw arrayOneTypeError()\n }\n return type\n}\n\nfunction stringifyInlineArray (values) {\n values = toJSON(values)\n const type = validateArray(values)\n var result = '['\n var stringified = values.map(_ => stringifyInline(_, type))\n if (stringified.join(', ').length > 60 || /\\n/.test(stringified)) {\n result += '\\n ' + stringified.join(',\\n ') + '\\n'\n } else {\n result += ' ' + stringified.join(', ') + (stringified.length > 0 ? ' ' : '')\n }\n return result + ']'\n}\n\nfunction stringifyInlineTable (value) {\n value = toJSON(value)\n var result = []\n Object.keys(value).forEach(key => {\n result.push(stringifyKey(key) + ' = ' + stringifyAnyInline(value[key], false))\n })\n return '{ ' + result.join(', ') + (result.length > 0 ? ' ' : '') + '}'\n}\n\nfunction stringifyComplex (prefix, indent, key, value) {\n var valueType = tomlType(value)\n /* istanbul ignore else */\n if (valueType === 'array') {\n return stringifyArrayOfTables(prefix, indent, key, value)\n } else if (valueType === 'table') {\n return stringifyComplexTable(prefix, indent, key, value)\n } else {\n throw typeError(valueType)\n }\n}\n\nfunction stringifyArrayOfTables (prefix, indent, key, values) {\n values = toJSON(values)\n validateArray(values)\n var firstValueType = tomlType(values[0])\n /* istanbul ignore if */\n if (firstValueType !== 'table') throw typeError(firstValueType)\n var fullKey = prefix + stringifyKey(key)\n var result = ''\n values.forEach(table => {\n if (result.length > 0) result += '\\n'\n result += indent + '[[' + fullKey + ']]\\n'\n result += stringifyObject(fullKey + '.', indent, table)\n })\n return result\n}\n\nfunction stringifyComplexTable (prefix, indent, key, value) {\n var fullKey = prefix + stringifyKey(key)\n var result = ''\n if (getInlineKeys(value).length > 0) {\n result += indent + '[' + fullKey + ']\\n'\n }\n return result + stringifyObject(fullKey + '.', indent, value)\n}\n","import * as path from 'path';\nimport * as core from '@actions/core';\nimport * as tc from '@actions/tool-cache';\nimport * as exec from '@actions/exec';\nimport {ExecOptions} from '@actions/exec/lib/interfaces';\nimport {IS_WINDOWS, IS_LINUX} from './utils';\n\nconst TOKEN = core.getInput('token');\nconst AUTH = !TOKEN ? undefined : `token ${TOKEN}`;\nconst MANIFEST_REPO_OWNER = 'actions';\nconst MANIFEST_REPO_NAME = 'python-versions';\nconst MANIFEST_REPO_BRANCH = 'main';\nexport const MANIFEST_URL = `https://raw.githubusercontent.com/${MANIFEST_REPO_OWNER}/${MANIFEST_REPO_NAME}/${MANIFEST_REPO_BRANCH}/versions-manifest.json`;\n\nexport async function findReleaseFromManifest(\n semanticVersionSpec: string,\n architecture: string,\n manifest: tc.IToolRelease[] | null\n): Promise {\n if (!manifest) {\n manifest = await getManifest();\n }\n\n const foundRelease = await tc.findFromManifest(\n semanticVersionSpec,\n false,\n manifest,\n architecture\n );\n\n return foundRelease;\n}\n\nexport function getManifest(): Promise {\n core.debug(\n `Getting manifest from ${MANIFEST_REPO_OWNER}/${MANIFEST_REPO_NAME}@${MANIFEST_REPO_BRANCH}`\n );\n return tc.getManifestFromRepo(\n MANIFEST_REPO_OWNER,\n MANIFEST_REPO_NAME,\n AUTH,\n MANIFEST_REPO_BRANCH\n );\n}\n\nasync function installPython(workingDirectory: string) {\n const options: ExecOptions = {\n cwd: workingDirectory,\n env: {\n ...process.env,\n ...(IS_LINUX && {LD_LIBRARY_PATH: path.join(workingDirectory, 'lib')})\n },\n silent: true,\n listeners: {\n stdout: (data: Buffer) => {\n core.info(data.toString().trim());\n },\n stderr: (data: Buffer) => {\n core.error(data.toString().trim());\n }\n }\n };\n\n if (IS_WINDOWS) {\n await exec.exec('powershell', ['./setup.ps1'], options);\n } else {\n await exec.exec('bash', ['./setup.sh'], options);\n }\n}\n\nexport async function installCpythonFromRelease(release: tc.IToolRelease) {\n const downloadUrl = release.files[0].download_url;\n\n core.info(`Download from \"${downloadUrl}\"`);\n let pythonPath = '';\n try {\n pythonPath = await tc.downloadTool(downloadUrl, undefined, AUTH);\n core.info('Extract downloaded archive');\n let pythonExtractedFolder;\n if (IS_WINDOWS) {\n pythonExtractedFolder = await tc.extractZip(pythonPath);\n } else {\n pythonExtractedFolder = await tc.extractTar(pythonPath);\n }\n\n core.info('Execute installation script');\n await installPython(pythonExtractedFolder);\n } catch (err) {\n if (err instanceof tc.HTTPError) {\n // Rate limit?\n if (err.httpStatusCode === 403 || err.httpStatusCode === 429) {\n core.info(\n `Received HTTP status code ${err.httpStatusCode}. This usually indicates the rate limit has been exceeded`\n );\n } else {\n core.info(err.message);\n }\n if (err.stack) {\n core.debug(err.stack);\n }\n }\n throw err;\n }\n}\n",null,null,null,null,"exports = module.exports = SemVer\n\nvar debug\n/* istanbul ignore next */\nif (typeof process === 'object' &&\n process.env &&\n process.env.NODE_DEBUG &&\n /\\bsemver\\b/i.test(process.env.NODE_DEBUG)) {\n debug = function () {\n var args = Array.prototype.slice.call(arguments, 0)\n args.unshift('SEMVER')\n console.log.apply(console, args)\n }\n} else {\n debug = function () {}\n}\n\n// Note: this is the semver.org version of the spec that it implements\n// Not necessarily the package version of this code.\nexports.SEMVER_SPEC_VERSION = '2.0.0'\n\nvar MAX_LENGTH = 256\nvar MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER ||\n /* istanbul ignore next */ 9007199254740991\n\n// Max safe segment length for coercion.\nvar MAX_SAFE_COMPONENT_LENGTH = 16\n\nvar MAX_SAFE_BUILD_LENGTH = MAX_LENGTH - 6\n\n// The actual regexps go on exports.re\nvar re = exports.re = []\nvar safeRe = exports.safeRe = []\nvar src = exports.src = []\nvar t = exports.tokens = {}\nvar R = 0\n\nfunction tok (n) {\n t[n] = R++\n}\n\nvar LETTERDASHNUMBER = '[a-zA-Z0-9-]'\n\n// Replace some greedy regex tokens to prevent regex dos issues. These regex are\n// used internally via the safeRe object since all inputs in this library get\n// normalized first to trim and collapse all extra whitespace. The original\n// regexes are exported for userland consumption and lower level usage. A\n// future breaking change could export the safer regex only with a note that\n// all input should have extra whitespace removed.\nvar safeRegexReplacements = [\n ['\\\\s', 1],\n ['\\\\d', MAX_LENGTH],\n [LETTERDASHNUMBER, MAX_SAFE_BUILD_LENGTH],\n]\n\nfunction makeSafeRe (value) {\n for (var i = 0; i < safeRegexReplacements.length; i++) {\n var token = safeRegexReplacements[i][0]\n var max = safeRegexReplacements[i][1]\n value = value\n .split(token + '*').join(token + '{0,' + max + '}')\n .split(token + '+').join(token + '{1,' + max + '}')\n }\n return value\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\ntok('NUMERICIDENTIFIER')\nsrc[t.NUMERICIDENTIFIER] = '0|[1-9]\\\\d*'\ntok('NUMERICIDENTIFIERLOOSE')\nsrc[t.NUMERICIDENTIFIERLOOSE] = '\\\\d+'\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\ntok('NONNUMERICIDENTIFIER')\nsrc[t.NONNUMERICIDENTIFIER] = '\\\\d*[a-zA-Z-]' + LETTERDASHNUMBER + '*'\n\n// ## Main Version\n// Three dot-separated numeric identifiers.\n\ntok('MAINVERSION')\nsrc[t.MAINVERSION] = '(' + src[t.NUMERICIDENTIFIER] + ')\\\\.' +\n '(' + src[t.NUMERICIDENTIFIER] + ')\\\\.' +\n '(' + src[t.NUMERICIDENTIFIER] + ')'\n\ntok('MAINVERSIONLOOSE')\nsrc[t.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\ntok('PRERELEASEIDENTIFIER')\nsrc[t.PRERELEASEIDENTIFIER] = '(?:' + src[t.NUMERICIDENTIFIER] +\n '|' + src[t.NONNUMERICIDENTIFIER] + ')'\n\ntok('PRERELEASEIDENTIFIERLOOSE')\nsrc[t.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\ntok('PRERELEASE')\nsrc[t.PRERELEASE] = '(?:-(' + src[t.PRERELEASEIDENTIFIER] +\n '(?:\\\\.' + src[t.PRERELEASEIDENTIFIER] + ')*))'\n\ntok('PRERELEASELOOSE')\nsrc[t.PRERELEASELOOSE] = '(?:-?(' + src[t.PRERELEASEIDENTIFIERLOOSE] +\n '(?:\\\\.' + src[t.PRERELEASEIDENTIFIERLOOSE] + ')*))'\n\n// ## Build Metadata Identifier\n// Any combination of digits, letters, or hyphens.\n\ntok('BUILDIDENTIFIER')\nsrc[t.BUILDIDENTIFIER] = LETTERDASHNUMBER + '+'\n\n// ## Build Metadata\n// Plus sign, followed by one or more period-separated build metadata\n// identifiers.\n\ntok('BUILD')\nsrc[t.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\ntok('FULL')\ntok('FULLPLAIN')\nsrc[t.FULLPLAIN] = 'v?' + src[t.MAINVERSION] +\n src[t.PRERELEASE] + '?' +\n src[t.BUILD] + '?'\n\nsrc[t.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.\ntok('LOOSEPLAIN')\nsrc[t.LOOSEPLAIN] = '[v=\\\\s]*' + src[t.MAINVERSIONLOOSE] +\n src[t.PRERELEASELOOSE] + '?' +\n src[t.BUILD] + '?'\n\ntok('LOOSE')\nsrc[t.LOOSE] = '^' + src[t.LOOSEPLAIN] + '$'\n\ntok('GTLT')\nsrc[t.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.\ntok('XRANGEIDENTIFIERLOOSE')\nsrc[t.XRANGEIDENTIFIERLOOSE] = src[t.NUMERICIDENTIFIERLOOSE] + '|x|X|\\\\*'\ntok('XRANGEIDENTIFIER')\nsrc[t.XRANGEIDENTIFIER] = src[t.NUMERICIDENTIFIER] + '|x|X|\\\\*'\n\ntok('XRANGEPLAIN')\nsrc[t.XRANGEPLAIN] = '[v=\\\\s]*(' + src[t.XRANGEIDENTIFIER] + ')' +\n '(?:\\\\.(' + src[t.XRANGEIDENTIFIER] + ')' +\n '(?:\\\\.(' + src[t.XRANGEIDENTIFIER] + ')' +\n '(?:' + src[t.PRERELEASE] + ')?' +\n src[t.BUILD] + '?' +\n ')?)?'\n\ntok('XRANGEPLAINLOOSE')\nsrc[t.XRANGEPLAINLOOSE] = '[v=\\\\s]*(' + src[t.XRANGEIDENTIFIERLOOSE] + ')' +\n '(?:\\\\.(' + src[t.XRANGEIDENTIFIERLOOSE] + ')' +\n '(?:\\\\.(' + src[t.XRANGEIDENTIFIERLOOSE] + ')' +\n '(?:' + src[t.PRERELEASELOOSE] + ')?' +\n src[t.BUILD] + '?' +\n ')?)?'\n\ntok('XRANGE')\nsrc[t.XRANGE] = '^' + src[t.GTLT] + '\\\\s*' + src[t.XRANGEPLAIN] + '$'\ntok('XRANGELOOSE')\nsrc[t.XRANGELOOSE] = '^' + src[t.GTLT] + '\\\\s*' + src[t.XRANGEPLAINLOOSE] + '$'\n\n// Coercion.\n// Extract anything that could conceivably be a part of a valid semver\ntok('COERCE')\nsrc[t.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])'\ntok('COERCERTL')\nre[t.COERCERTL] = new RegExp(src[t.COERCE], 'g')\nsafeRe[t.COERCERTL] = new RegExp(makeSafeRe(src[t.COERCE]), 'g')\n\n// Tilde ranges.\n// Meaning is \"reasonably at or greater than\"\ntok('LONETILDE')\nsrc[t.LONETILDE] = '(?:~>?)'\n\ntok('TILDETRIM')\nsrc[t.TILDETRIM] = '(\\\\s*)' + src[t.LONETILDE] + '\\\\s+'\nre[t.TILDETRIM] = new RegExp(src[t.TILDETRIM], 'g')\nsafeRe[t.TILDETRIM] = new RegExp(makeSafeRe(src[t.TILDETRIM]), 'g')\nvar tildeTrimReplace = '$1~'\n\ntok('TILDE')\nsrc[t.TILDE] = '^' + src[t.LONETILDE] + src[t.XRANGEPLAIN] + '$'\ntok('TILDELOOSE')\nsrc[t.TILDELOOSE] = '^' + src[t.LONETILDE] + src[t.XRANGEPLAINLOOSE] + '$'\n\n// Caret ranges.\n// Meaning is \"at least and backwards compatible with\"\ntok('LONECARET')\nsrc[t.LONECARET] = '(?:\\\\^)'\n\ntok('CARETTRIM')\nsrc[t.CARETTRIM] = '(\\\\s*)' + src[t.LONECARET] + '\\\\s+'\nre[t.CARETTRIM] = new RegExp(src[t.CARETTRIM], 'g')\nsafeRe[t.CARETTRIM] = new RegExp(makeSafeRe(src[t.CARETTRIM]), 'g')\nvar caretTrimReplace = '$1^'\n\ntok('CARET')\nsrc[t.CARET] = '^' + src[t.LONECARET] + src[t.XRANGEPLAIN] + '$'\ntok('CARETLOOSE')\nsrc[t.CARETLOOSE] = '^' + src[t.LONECARET] + src[t.XRANGEPLAINLOOSE] + '$'\n\n// A simple gt/lt/eq thing, or just \"\" to indicate \"any version\"\ntok('COMPARATORLOOSE')\nsrc[t.COMPARATORLOOSE] = '^' + src[t.GTLT] + '\\\\s*(' + src[t.LOOSEPLAIN] + ')$|^$'\ntok('COMPARATOR')\nsrc[t.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`\ntok('COMPARATORTRIM')\nsrc[t.COMPARATORTRIM] = '(\\\\s*)' + src[t.GTLT] +\n '\\\\s*(' + src[t.LOOSEPLAIN] + '|' + src[t.XRANGEPLAIN] + ')'\n\n// this one has to use the /g flag\nre[t.COMPARATORTRIM] = new RegExp(src[t.COMPARATORTRIM], 'g')\nsafeRe[t.COMPARATORTRIM] = new RegExp(makeSafeRe(src[t.COMPARATORTRIM]), 'g')\nvar 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.\ntok('HYPHENRANGE')\nsrc[t.HYPHENRANGE] = '^\\\\s*(' + src[t.XRANGEPLAIN] + ')' +\n '\\\\s+-\\\\s+' +\n '(' + src[t.XRANGEPLAIN] + ')' +\n '\\\\s*$'\n\ntok('HYPHENRANGELOOSE')\nsrc[t.HYPHENRANGELOOSE] = '^\\\\s*(' + src[t.XRANGEPLAINLOOSE] + ')' +\n '\\\\s+-\\\\s+' +\n '(' + src[t.XRANGEPLAINLOOSE] + ')' +\n '\\\\s*$'\n\n// Star ranges basically just allow anything at all.\ntok('STAR')\nsrc[t.STAR] = '(<|>)?=?\\\\s*\\\\*'\n\n// Compile to actual regexp objects.\n// All are flag-free, unless they were created above with a flag.\nfor (var i = 0; i < R; i++) {\n debug(i, src[i])\n if (!re[i]) {\n re[i] = new RegExp(src[i])\n\n // Replace all greedy whitespace to prevent regex dos issues. These regex are\n // used internally via the safeRe object since all inputs in this library get\n // normalized first to trim and collapse all extra whitespace. The original\n // regexes are exported for userland consumption and lower level usage. A\n // future breaking change could export the safer regex only with a note that\n // all input should have extra whitespace removed.\n safeRe[i] = new RegExp(makeSafeRe(src[i]))\n }\n}\n\nexports.parse = parse\nfunction parse (version, options) {\n if (!options || typeof options !== 'object') {\n options = {\n loose: !!options,\n includePrerelease: false\n }\n }\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 var r = options.loose ? safeRe[t.LOOSE] : safeRe[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\nexports.valid = valid\nfunction valid (version, options) {\n var v = parse(version, options)\n return v ? v.version : null\n}\n\nexports.clean = clean\nfunction clean (version, options) {\n var s = parse(version.trim().replace(/^[=v]+/, ''), options)\n return s ? s.version : null\n}\n\nexports.SemVer = SemVer\n\nfunction SemVer (version, options) {\n if (!options || typeof options !== 'object') {\n options = {\n loose: !!options,\n includePrerelease: false\n }\n }\n if (version instanceof SemVer) {\n if (version.loose === options.loose) {\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('version is longer than ' + MAX_LENGTH + ' characters')\n }\n\n if (!(this instanceof SemVer)) {\n return new SemVer(version, options)\n }\n\n debug('SemVer', version, options)\n this.options = options\n this.loose = !!options.loose\n\n var m = version.trim().match(options.loose ? safeRe[t.LOOSE] : safeRe[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(function (id) {\n if (/^[0-9]+$/.test(id)) {\n var 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\nSemVer.prototype.format = function () {\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\nSemVer.prototype.toString = function () {\n return this.version\n}\n\nSemVer.prototype.compare = function (other) {\n debug('SemVer.compare', this.version, this.options, other)\n if (!(other instanceof SemVer)) {\n other = new SemVer(other, this.options)\n }\n\n return this.compareMain(other) || this.comparePre(other)\n}\n\nSemVer.prototype.compareMain = function (other) {\n if (!(other instanceof SemVer)) {\n other = new SemVer(other, this.options)\n }\n\n return compareIdentifiers(this.major, other.major) ||\n compareIdentifiers(this.minor, other.minor) ||\n compareIdentifiers(this.patch, other.patch)\n}\n\nSemVer.prototype.comparePre = function (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 var i = 0\n do {\n var a = this.prerelease[i]\n var 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\nSemVer.prototype.compareBuild = function (other) {\n if (!(other instanceof SemVer)) {\n other = new SemVer(other, this.options)\n }\n\n var i = 0\n do {\n var a = this.build[i]\n var 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.\nSemVer.prototype.inc = function (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 (this.minor !== 0 ||\n this.patch !== 0 ||\n this.prerelease.length === 0) {\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 var 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 (this.prerelease[0] === identifier) {\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\nexports.inc = inc\nfunction inc (version, release, loose, identifier) {\n if (typeof (loose) === 'string') {\n identifier = loose\n loose = undefined\n }\n\n try {\n return new SemVer(version, loose).inc(release, identifier).version\n } catch (er) {\n return null\n }\n}\n\nexports.diff = diff\nfunction diff (version1, version2) {\n if (eq(version1, version2)) {\n return null\n } else {\n var v1 = parse(version1)\n var v2 = parse(version2)\n var prefix = ''\n if (v1.prerelease.length || v2.prerelease.length) {\n prefix = 'pre'\n var defaultResult = 'prerelease'\n }\n for (var 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}\n\nexports.compareIdentifiers = compareIdentifiers\n\nvar numeric = /^[0-9]+$/\nfunction compareIdentifiers (a, b) {\n var anum = numeric.test(a)\n var 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\nexports.rcompareIdentifiers = rcompareIdentifiers\nfunction rcompareIdentifiers (a, b) {\n return compareIdentifiers(b, a)\n}\n\nexports.major = major\nfunction major (a, loose) {\n return new SemVer(a, loose).major\n}\n\nexports.minor = minor\nfunction minor (a, loose) {\n return new SemVer(a, loose).minor\n}\n\nexports.patch = patch\nfunction patch (a, loose) {\n return new SemVer(a, loose).patch\n}\n\nexports.compare = compare\nfunction compare (a, b, loose) {\n return new SemVer(a, loose).compare(new SemVer(b, loose))\n}\n\nexports.compareLoose = compareLoose\nfunction compareLoose (a, b) {\n return compare(a, b, true)\n}\n\nexports.compareBuild = compareBuild\nfunction compareBuild (a, b, loose) {\n var versionA = new SemVer(a, loose)\n var versionB = new SemVer(b, loose)\n return versionA.compare(versionB) || versionA.compareBuild(versionB)\n}\n\nexports.rcompare = rcompare\nfunction rcompare (a, b, loose) {\n return compare(b, a, loose)\n}\n\nexports.sort = sort\nfunction sort (list, loose) {\n return list.sort(function (a, b) {\n return exports.compareBuild(a, b, loose)\n })\n}\n\nexports.rsort = rsort\nfunction rsort (list, loose) {\n return list.sort(function (a, b) {\n return exports.compareBuild(b, a, loose)\n })\n}\n\nexports.gt = gt\nfunction gt (a, b, loose) {\n return compare(a, b, loose) > 0\n}\n\nexports.lt = lt\nfunction lt (a, b, loose) {\n return compare(a, b, loose) < 0\n}\n\nexports.eq = eq\nfunction eq (a, b, loose) {\n return compare(a, b, loose) === 0\n}\n\nexports.neq = neq\nfunction neq (a, b, loose) {\n return compare(a, b, loose) !== 0\n}\n\nexports.gte = gte\nfunction gte (a, b, loose) {\n return compare(a, b, loose) >= 0\n}\n\nexports.lte = lte\nfunction lte (a, b, loose) {\n return compare(a, b, loose) <= 0\n}\n\nexports.cmp = cmp\nfunction cmp (a, op, b, loose) {\n switch (op) {\n case '===':\n if (typeof a === 'object')\n a = a.version\n if (typeof b === 'object')\n b = b.version\n return a === b\n\n case '!==':\n if (typeof a === 'object')\n a = a.version\n if (typeof b === 'object')\n b = b.version\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}\n\nexports.Comparator = Comparator\nfunction Comparator (comp, options) {\n if (!options || typeof options !== 'object') {\n options = {\n loose: !!options,\n includePrerelease: false\n }\n }\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 if (!(this instanceof Comparator)) {\n return new Comparator(comp, options)\n }\n\n comp = comp.trim().split(/\\s+/).join(' ')\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\nvar ANY = {}\nComparator.prototype.parse = function (comp) {\n var r = this.options.loose ? safeRe[t.COMPARATORLOOSE] : safeRe[t.COMPARATOR]\n var 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\nComparator.prototype.toString = function () {\n return this.value\n}\n\nComparator.prototype.test = function (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\nComparator.prototype.intersects = function (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 var rangeTmp\n\n if (this.operator === '') {\n if (this.value === '') {\n return true\n }\n rangeTmp = new Range(comp.value, options)\n return satisfies(this.value, rangeTmp, options)\n } else if (comp.operator === '') {\n if (comp.value === '') {\n return true\n }\n rangeTmp = new Range(this.value, options)\n return satisfies(comp.semver, rangeTmp, options)\n }\n\n var sameDirectionIncreasing =\n (this.operator === '>=' || this.operator === '>') &&\n (comp.operator === '>=' || comp.operator === '>')\n var sameDirectionDecreasing =\n (this.operator === '<=' || this.operator === '<') &&\n (comp.operator === '<=' || comp.operator === '<')\n var sameSemVer = this.semver.version === comp.semver.version\n var differentDirectionsInclusive =\n (this.operator === '>=' || this.operator === '<=') &&\n (comp.operator === '>=' || comp.operator === '<=')\n var oppositeDirectionsLessThan =\n cmp(this.semver, '<', comp.semver, options) &&\n ((this.operator === '>=' || this.operator === '>') &&\n (comp.operator === '<=' || comp.operator === '<'))\n var oppositeDirectionsGreaterThan =\n cmp(this.semver, '>', comp.semver, options) &&\n ((this.operator === '<=' || this.operator === '<') &&\n (comp.operator === '>=' || comp.operator === '>'))\n\n return sameDirectionIncreasing || sameDirectionDecreasing ||\n (sameSemVer && differentDirectionsInclusive) ||\n oppositeDirectionsLessThan || oppositeDirectionsGreaterThan\n}\n\nexports.Range = Range\nfunction Range (range, options) {\n if (!options || typeof options !== 'object') {\n options = {\n loose: !!options,\n includePrerelease: false\n }\n }\n\n if (range instanceof Range) {\n if (range.loose === !!options.loose &&\n range.includePrerelease === !!options.includePrerelease) {\n return range\n } else {\n return new Range(range.raw, options)\n }\n }\n\n if (range instanceof Comparator) {\n return new Range(range.value, options)\n }\n\n if (!(this instanceof Range)) {\n return new Range(range, options)\n }\n\n this.options = options\n this.loose = !!options.loose\n this.includePrerelease = !!options.includePrerelease\n\n // First reduce all whitespace as much as possible so we do not have to rely\n // on potentially slow regexes like \\s*. This is then stored and used for\n // future error messages as well.\n this.raw = range\n .trim()\n .split(/\\s+/)\n .join(' ')\n\n // First, split based on boolean or ||\n this.set = this.raw.split('||').map(function (range) {\n return this.parseRange(range.trim())\n }, this).filter(function (c) {\n // throw out any that are not relevant for whatever reason\n return c.length\n })\n\n if (!this.set.length) {\n throw new TypeError('Invalid SemVer Range: ' + this.raw)\n }\n\n this.format()\n}\n\nRange.prototype.format = function () {\n this.range = this.set.map(function (comps) {\n return comps.join(' ').trim()\n }).join('||').trim()\n return this.range\n}\n\nRange.prototype.toString = function () {\n return this.range\n}\n\nRange.prototype.parseRange = function (range) {\n var loose = this.options.loose\n // `1.2.3 - 1.2.4` => `>=1.2.3 <=1.2.4`\n var hr = loose ? safeRe[t.HYPHENRANGELOOSE] : safeRe[t.HYPHENRANGE]\n range = range.replace(hr, hyphenReplace)\n debug('hyphen replace', range)\n // `> 1.2.3 < 1.2.5` => `>1.2.3 <1.2.5`\n range = range.replace(safeRe[t.COMPARATORTRIM], comparatorTrimReplace)\n debug('comparator trim', range, safeRe[t.COMPARATORTRIM])\n\n // `~ 1.2.3` => `~1.2.3`\n range = range.replace(safeRe[t.TILDETRIM], tildeTrimReplace)\n\n // `^ 1.2.3` => `^1.2.3`\n range = range.replace(safeRe[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 var compRe = loose ? safeRe[t.COMPARATORLOOSE] : safeRe[t.COMPARATOR]\n var set = range.split(' ').map(function (comp) {\n return parseComparator(comp, this.options)\n }, this).join(' ').split(/\\s+/)\n if (this.options.loose) {\n // in loose mode, throw out any that are not valid comparators\n set = set.filter(function (comp) {\n return !!comp.match(compRe)\n })\n }\n set = set.map(function (comp) {\n return new Comparator(comp, this.options)\n }, this)\n\n return set\n}\n\nRange.prototype.intersects = function (range, options) {\n if (!(range instanceof Range)) {\n throw new TypeError('a Range is required')\n }\n\n return this.set.some(function (thisComparators) {\n return (\n isSatisfiable(thisComparators, options) &&\n range.set.some(function (rangeComparators) {\n return (\n isSatisfiable(rangeComparators, options) &&\n thisComparators.every(function (thisComparator) {\n return rangeComparators.every(function (rangeComparator) {\n return thisComparator.intersects(rangeComparator, options)\n })\n })\n )\n })\n )\n })\n}\n\n// take a set of comparators and determine whether there\n// exists a version which can satisfy it\nfunction isSatisfiable (comparators, options) {\n var result = true\n var remainingComparators = comparators.slice()\n var testComparator = remainingComparators.pop()\n\n while (result && remainingComparators.length) {\n result = remainingComparators.every(function (otherComparator) {\n return testComparator.intersects(otherComparator, options)\n })\n\n testComparator = remainingComparators.pop()\n }\n\n return result\n}\n\n// Mostly just for testing and legacy API reasons\nexports.toComparators = toComparators\nfunction toComparators (range, options) {\n return new Range(range, options).set.map(function (comp) {\n return comp.map(function (c) {\n return c.value\n }).join(' ').trim().split(' ')\n })\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.\nfunction 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\nfunction isX (id) {\n return !id || id.toLowerCase() === 'x' || id === '*'\n}\n\n// ~, ~> --> * (any, kinda silly)\n// ~2, ~2.x, ~2.x.x, ~>2, ~>2.x ~>2.x.x --> >=2.0.0 <3.0.0\n// ~2.0, ~2.0.x, ~>2.0, ~>2.0.x --> >=2.0.0 <2.1.0\n// ~1.2, ~1.2.x, ~>1.2, ~>1.2.x --> >=1.2.0 <1.3.0\n// ~1.2.3, ~>1.2.3 --> >=1.2.3 <1.3.0\n// ~1.2.0, ~>1.2.0 --> >=1.2.0 <1.3.0\nfunction replaceTildes (comp, options) {\n return comp.trim().split(/\\s+/).map(function (comp) {\n return replaceTilde(comp, options)\n }).join(' ')\n}\n\nfunction replaceTilde (comp, options) {\n var r = options.loose ? safeRe[t.TILDELOOSE] : safeRe[t.TILDE]\n return comp.replace(r, function (_, M, m, p, pr) {\n debug('tilde', comp, _, M, m, p, pr)\n var ret\n\n if (isX(M)) {\n ret = ''\n } else if (isX(m)) {\n ret = '>=' + M + '.0.0 <' + (+M + 1) + '.0.0'\n } else if (isX(p)) {\n // ~1.2 == >=1.2.0 <1.3.0\n ret = '>=' + M + '.' + m + '.0 <' + M + '.' + (+m + 1) + '.0'\n } else if (pr) {\n debug('replaceTilde pr', pr)\n ret = '>=' + M + '.' + m + '.' + p + '-' + pr +\n ' <' + M + '.' + (+m + 1) + '.0'\n } else {\n // ~1.2.3 == >=1.2.3 <1.3.0\n ret = '>=' + M + '.' + m + '.' + p +\n ' <' + M + '.' + (+m + 1) + '.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\n// ^2.0, ^2.0.x --> >=2.0.0 <3.0.0\n// ^1.2, ^1.2.x --> >=1.2.0 <2.0.0\n// ^1.2.3 --> >=1.2.3 <2.0.0\n// ^1.2.0 --> >=1.2.0 <2.0.0\nfunction replaceCarets (comp, options) {\n return comp.trim().split(/\\s+/).map(function (comp) {\n return replaceCaret(comp, options)\n }).join(' ')\n}\n\nfunction replaceCaret (comp, options) {\n debug('caret', comp, options)\n var r = options.loose ? safeRe[t.CARETLOOSE] : safeRe[t.CARET]\n return comp.replace(r, function (_, M, m, p, pr) {\n debug('caret', comp, _, M, m, p, pr)\n var ret\n\n if (isX(M)) {\n ret = ''\n } else if (isX(m)) {\n ret = '>=' + M + '.0.0 <' + (+M + 1) + '.0.0'\n } else if (isX(p)) {\n if (M === '0') {\n ret = '>=' + M + '.' + m + '.0 <' + M + '.' + (+m + 1) + '.0'\n } else {\n ret = '>=' + M + '.' + m + '.0 <' + (+M + 1) + '.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)\n } else {\n ret = '>=' + M + '.' + m + '.' + p + '-' + pr +\n ' <' + M + '.' + (+m + 1) + '.0'\n }\n } else {\n ret = '>=' + M + '.' + m + '.' + p + '-' + pr +\n ' <' + (+M + 1) + '.0.0'\n }\n } else {\n debug('no pr')\n if (M === '0') {\n if (m === '0') {\n ret = '>=' + M + '.' + m + '.' + p +\n ' <' + M + '.' + m + '.' + (+p + 1)\n } else {\n ret = '>=' + M + '.' + m + '.' + p +\n ' <' + M + '.' + (+m + 1) + '.0'\n }\n } else {\n ret = '>=' + M + '.' + m + '.' + p +\n ' <' + (+M + 1) + '.0.0'\n }\n }\n\n debug('caret return', ret)\n return ret\n })\n}\n\nfunction replaceXRanges (comp, options) {\n debug('replaceXRanges', comp, options)\n return comp.split(/\\s+/).map(function (comp) {\n return replaceXRange(comp, options)\n }).join(' ')\n}\n\nfunction replaceXRange (comp, options) {\n comp = comp.trim()\n var r = options.loose ? safeRe[t.XRANGELOOSE] : safeRe[t.XRANGE]\n return comp.replace(r, function (ret, gtlt, M, m, p, pr) {\n debug('xRange', comp, ret, gtlt, M, m, p, pr)\n var xM = isX(M)\n var xm = xM || isX(m)\n var xp = xm || isX(p)\n var 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 // >1.2.3 => >= 1.2.4\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 ret = gtlt + M + '.' + m + '.' + p + pr\n } else if (xm) {\n ret = '>=' + M + '.0.0' + pr + ' <' + (+M + 1) + '.0.0' + pr\n } else if (xp) {\n ret = '>=' + M + '.' + m + '.0' + pr +\n ' <' + M + '.' + (+m + 1) + '.0' + pr\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.\nfunction 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(safeRe[t.STAR], '')\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 Any 3.4.x will do\n// 1.2 - 3.4 => >=1.2.0 <3.5.0\nfunction hyphenReplace ($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'\n } else if (isX(fp)) {\n from = '>=' + fM + '.' + fm + '.0'\n } else {\n from = '>=' + from\n }\n\n if (isX(tM)) {\n to = ''\n } else if (isX(tm)) {\n to = '<' + (+tM + 1) + '.0.0'\n } else if (isX(tp)) {\n to = '<' + tM + '.' + (+tm + 1) + '.0'\n } else if (tpr) {\n to = '<=' + tM + '.' + tm + '.' + tp + '-' + tpr\n } else {\n to = '<=' + to\n }\n\n return (from + ' ' + to).trim()\n}\n\n// if ANY of the sets match ALL of its comparators, then pass\nRange.prototype.test = function (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 (var 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\nfunction testSet (set, version, options) {\n for (var 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 (i = 0; i < set.length; i++) {\n debug(set[i].semver)\n if (set[i].semver === ANY) {\n continue\n }\n\n if (set[i].semver.prerelease.length > 0) {\n var 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\nexports.satisfies = satisfies\nfunction 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}\n\nexports.maxSatisfying = maxSatisfying\nfunction maxSatisfying (versions, range, options) {\n var max = null\n var maxSV = null\n try {\n var rangeObj = new Range(range, options)\n } catch (er) {\n return null\n }\n versions.forEach(function (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}\n\nexports.minSatisfying = minSatisfying\nfunction minSatisfying (versions, range, options) {\n var min = null\n var minSV = null\n try {\n var rangeObj = new Range(range, options)\n } catch (er) {\n return null\n }\n versions.forEach(function (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}\n\nexports.minVersion = minVersion\nfunction minVersion (range, loose) {\n range = new Range(range, loose)\n\n var 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 (var i = 0; i < range.set.length; ++i) {\n var comparators = range.set[i]\n\n comparators.forEach(function (comparator) {\n // Clone to avoid manipulating the comparator's semver object.\n var 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 (!minver || gt(minver, compver)) {\n minver = 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 }\n\n if (minver && range.test(minver)) {\n return minver\n }\n\n return null\n}\n\nexports.validRange = validRange\nfunction 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}\n\n// Determine if version is less than all the versions possible in the range\nexports.ltr = ltr\nfunction ltr (version, range, options) {\n return outside(version, range, '<', options)\n}\n\n// Determine if version is greater than all the versions possible in the range.\nexports.gtr = gtr\nfunction gtr (version, range, options) {\n return outside(version, range, '>', options)\n}\n\nexports.outside = outside\nfunction outside (version, range, hilo, options) {\n version = new SemVer(version, options)\n range = new Range(range, options)\n\n var 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 satisifes 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 (var i = 0; i < range.set.length; ++i) {\n var comparators = range.set[i]\n\n var high = null\n var low = null\n\n comparators.forEach(function (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\nexports.prerelease = prerelease\nfunction prerelease (version, options) {\n var parsed = parse(version, options)\n return (parsed && parsed.prerelease.length) ? parsed.prerelease : null\n}\n\nexports.intersects = intersects\nfunction intersects (r1, r2, options) {\n r1 = new Range(r1, options)\n r2 = new Range(r2, options)\n return r1.intersects(r2)\n}\n\nexports.coerce = coerce\nfunction 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 var match = null\n if (!options.rtl) {\n match = version.match(safeRe[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 var next\n while ((next = safeRe[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 safeRe[t.COERCERTL].lastIndex = next.index + next[1].length + next[2].length\n }\n // leave it in a clean state\n safeRe[t.COERCERTL].lastIndex = -1\n }\n\n if (match === null) {\n return null\n }\n\n return parse(match[2] +\n '.' + (match[3] || '0') +\n '.' + (match[4] || '0'), options)\n}\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,"import * as path from 'path';\nimport * as pypyInstall from './install-pypy';\nimport {\n IS_WINDOWS,\n WINDOWS_ARCHS,\n validateVersion,\n getPyPyVersionFromPath,\n readExactPyPyVersionFile,\n validatePythonVersionFormatForPyPy,\n IPyPyManifestRelease\n} from './utils';\n\nimport * as semver from 'semver';\nimport * as core from '@actions/core';\nimport * as tc from '@actions/tool-cache';\n\ninterface IPyPyVersionSpec {\n pypyVersion: string;\n pythonVersion: string;\n}\n\nexport async function findPyPyVersion(\n versionSpec: string,\n architecture: string,\n updateEnvironment: boolean,\n checkLatest: boolean,\n allowPreReleases: boolean\n): Promise<{resolvedPyPyVersion: string; resolvedPythonVersion: string}> {\n let resolvedPyPyVersion = '';\n let resolvedPythonVersion = '';\n let installDir: string | null;\n let releases: IPyPyManifestRelease[] | undefined;\n\n const pypyVersionSpec = parsePyPyVersion(versionSpec);\n\n if (checkLatest) {\n releases = await pypyInstall.getAvailablePyPyVersions();\n if (releases && releases.length > 0) {\n const releaseData = pypyInstall.findRelease(\n releases,\n pypyVersionSpec.pythonVersion,\n pypyVersionSpec.pypyVersion,\n architecture,\n false\n );\n\n if (releaseData) {\n core.info(\n `Resolved as PyPy ${releaseData.resolvedPyPyVersion} with Python (${releaseData.resolvedPythonVersion})`\n );\n pypyVersionSpec.pythonVersion = releaseData.resolvedPythonVersion;\n pypyVersionSpec.pypyVersion = releaseData.resolvedPyPyVersion;\n } else {\n core.info(\n `Failed to resolve PyPy ${pypyVersionSpec.pypyVersion} with Python (${pypyVersionSpec.pythonVersion}) from manifest`\n );\n }\n }\n }\n\n ({installDir, resolvedPythonVersion, resolvedPyPyVersion} = findPyPyToolCache(\n pypyVersionSpec.pythonVersion,\n pypyVersionSpec.pypyVersion,\n architecture\n ));\n\n if (!installDir) {\n ({installDir, resolvedPythonVersion, resolvedPyPyVersion} =\n await pypyInstall.installPyPy(\n pypyVersionSpec.pypyVersion,\n pypyVersionSpec.pythonVersion,\n architecture,\n allowPreReleases,\n releases\n ));\n }\n\n const pipDir = IS_WINDOWS ? 'Scripts' : 'bin';\n const _binDir = path.join(installDir, pipDir);\n const binaryExtension = IS_WINDOWS ? '.exe' : '';\n const pythonPath = path.join(\n IS_WINDOWS ? installDir : _binDir,\n `python${binaryExtension}`\n );\n const pythonLocation = pypyInstall.getPyPyBinaryPath(installDir);\n if (updateEnvironment) {\n core.exportVariable('pythonLocation', installDir);\n // https://cmake.org/cmake/help/latest/module/FindPython.html#module:FindPython\n core.exportVariable('Python_ROOT_DIR', installDir);\n // https://cmake.org/cmake/help/latest/module/FindPython2.html#module:FindPython2\n core.exportVariable('Python2_ROOT_DIR', installDir);\n // https://cmake.org/cmake/help/latest/module/FindPython3.html#module:FindPython3\n core.exportVariable('Python3_ROOT_DIR', installDir);\n core.exportVariable('PKG_CONFIG_PATH', pythonLocation + '/lib/pkgconfig');\n core.addPath(pythonLocation);\n core.addPath(_binDir);\n }\n core.setOutput('python-version', 'pypy' + resolvedPyPyVersion);\n core.setOutput('python-path', pythonPath);\n\n return {resolvedPyPyVersion, resolvedPythonVersion};\n}\n\nexport function findPyPyToolCache(\n pythonVersion: string,\n pypyVersion: string,\n architecture: string\n) {\n let resolvedPyPyVersion = '';\n let resolvedPythonVersion = '';\n let installDir: string | null = IS_WINDOWS\n ? findPyPyInstallDirForWindows(pythonVersion)\n : tc.find('PyPy', pythonVersion, architecture);\n\n if (installDir) {\n // 'tc.find' finds tool based on Python version but we also need to check\n // whether PyPy version satisfies requested version.\n resolvedPythonVersion = getPyPyVersionFromPath(installDir);\n resolvedPyPyVersion = readExactPyPyVersionFile(installDir);\n\n const isPyPyVersionSatisfies = semver.satisfies(\n resolvedPyPyVersion,\n pypyVersion\n );\n if (!isPyPyVersionSatisfies) {\n installDir = null;\n resolvedPyPyVersion = '';\n resolvedPythonVersion = '';\n }\n }\n\n if (!installDir) {\n core.info(\n `PyPy version ${pythonVersion} (${pypyVersion}) was not found in the local cache`\n );\n }\n\n return {installDir, resolvedPythonVersion, resolvedPyPyVersion};\n}\n\nexport function parsePyPyVersion(versionSpec: string): IPyPyVersionSpec {\n const versions = versionSpec.split('-').filter(item => !!item);\n\n if (/^(pypy)(.+)/.test(versions[0])) {\n const pythonVersion = versions[0].replace('pypy', '');\n versions.splice(0, 1, 'pypy', pythonVersion);\n }\n\n if (versions.length < 2 || versions[0] != 'pypy') {\n throw new Error(\n \"Invalid 'version' property for PyPy. PyPy version should be specified as 'pypy' or 'pypy-'. See README for examples and documentation.\"\n );\n }\n\n const pythonVersion = versions[1];\n let pypyVersion: string;\n if (versions.length > 2) {\n pypyVersion = pypyInstall.pypyVersionToSemantic(versions[2]);\n } else {\n pypyVersion = 'x';\n }\n\n if (!validateVersion(pythonVersion) || !validateVersion(pypyVersion)) {\n throw new Error(\n \"Invalid 'version' property for PyPy. Both Python version and PyPy versions should satisfy SemVer notation. See README for examples and documentation.\"\n );\n }\n\n if (!validatePythonVersionFormatForPyPy(pythonVersion)) {\n throw new Error(\n \"Invalid format of Python version for PyPy. Python version should be specified in format 'x.y'. See README for examples and documentation.\"\n );\n }\n\n return {\n pypyVersion: pypyVersion,\n pythonVersion: pythonVersion\n };\n}\n\nexport function findPyPyInstallDirForWindows(pythonVersion: string): string {\n let installDir = '';\n\n WINDOWS_ARCHS.forEach(\n architecture =>\n (installDir = installDir || tc.find('PyPy', pythonVersion, architecture))\n );\n\n return installDir;\n}\n","import * as os from 'os';\nimport * as path from 'path';\nimport * as core from '@actions/core';\nimport * as tc from '@actions/tool-cache';\nimport * as semver from 'semver';\nimport * as httpm from '@actions/http-client';\nimport * as exec from '@actions/exec';\nimport fs from 'fs';\n\nimport {\n IS_WINDOWS,\n WINDOWS_PLATFORMS,\n IPyPyManifestRelease,\n createSymlinkInFolder,\n isNightlyKeyword,\n writeExactPyPyVersionFile\n} from './utils';\n\nexport async function installPyPy(\n pypyVersion: string,\n pythonVersion: string,\n architecture: string,\n allowPreReleases: boolean,\n releases: IPyPyManifestRelease[] | undefined\n) {\n let downloadDir;\n\n releases = releases ?? (await getAvailablePyPyVersions());\n\n if (!releases || releases.length === 0) {\n throw new Error('No release was found in PyPy version.json');\n }\n\n let releaseData = findRelease(\n releases,\n pythonVersion,\n pypyVersion,\n architecture,\n false\n );\n\n if (allowPreReleases && (!releaseData || !releaseData.foundAsset)) {\n // check for pre-release\n core.info(\n [\n `Stable PyPy version ${pythonVersion} (${pypyVersion}) with arch ${architecture} not found`,\n `Trying pre-release versions`\n ].join(os.EOL)\n );\n releaseData = findRelease(\n releases,\n pythonVersion,\n pypyVersion,\n architecture,\n true\n );\n }\n\n if (!releaseData || !releaseData.foundAsset) {\n throw new Error(\n `PyPy version ${pythonVersion} (${pypyVersion}) with arch ${architecture} not found`\n );\n }\n\n const {foundAsset, resolvedPythonVersion, resolvedPyPyVersion} = releaseData;\n const downloadUrl = `${foundAsset.download_url}`;\n\n core.info(`Downloading PyPy from \"${downloadUrl}\" ...`);\n\n try {\n const pypyPath = await tc.downloadTool(downloadUrl);\n\n core.info('Extracting downloaded archive...');\n if (IS_WINDOWS) {\n downloadDir = await tc.extractZip(pypyPath);\n } else {\n downloadDir = await tc.extractTar(pypyPath, undefined, 'x');\n }\n\n // root folder in archive can have unpredictable name so just take the first folder\n // downloadDir is unique folder under TEMP and can't contain any other folders\n const archiveName = fs.readdirSync(downloadDir)[0];\n\n const toolDir = path.join(downloadDir, archiveName);\n let installDir = toolDir;\n if (!isNightlyKeyword(resolvedPyPyVersion)) {\n installDir = await tc.cacheDir(\n toolDir,\n 'PyPy',\n resolvedPythonVersion,\n architecture\n );\n }\n\n writeExactPyPyVersionFile(installDir, resolvedPyPyVersion);\n\n const binaryPath = getPyPyBinaryPath(installDir);\n await createPyPySymlink(binaryPath, resolvedPythonVersion);\n await installPip(binaryPath);\n\n return {installDir, resolvedPythonVersion, resolvedPyPyVersion};\n } catch (err) {\n if (err instanceof Error) {\n // Rate limit?\n if (\n err instanceof tc.HTTPError &&\n (err.httpStatusCode === 403 || err.httpStatusCode === 429)\n ) {\n core.info(\n `Received HTTP status code ${err.httpStatusCode}. This usually indicates the rate limit has been exceeded`\n );\n } else {\n core.info(err.message);\n }\n if (err.stack !== undefined) {\n core.debug(err.stack);\n }\n }\n throw err;\n }\n}\n\nexport async function getAvailablePyPyVersions() {\n const url = 'https://downloads.python.org/pypy/versions.json';\n const http: httpm.HttpClient = new httpm.HttpClient('tool-cache');\n\n const response = await http.getJson(url);\n if (!response.result) {\n throw new Error(\n `Unable to retrieve the list of available PyPy versions from '${url}'`\n );\n }\n\n return response.result;\n}\n\nasync function createPyPySymlink(\n pypyBinaryPath: string,\n pythonVersion: string\n) {\n const version = semver.coerce(pythonVersion)!;\n const pythonBinaryPostfix = semver.major(version);\n const pythonMinor = semver.minor(version);\n const pypyBinaryPostfix = pythonBinaryPostfix === 2 ? '' : '3';\n const pypyMajorMinorBinaryPostfix = `${pythonBinaryPostfix}.${pythonMinor}`;\n const binaryExtension = IS_WINDOWS ? '.exe' : '';\n\n core.info('Creating symlinks...');\n createSymlinkInFolder(\n pypyBinaryPath,\n `pypy${pypyBinaryPostfix}${binaryExtension}`,\n `python${pythonBinaryPostfix}${binaryExtension}`,\n true\n );\n\n createSymlinkInFolder(\n pypyBinaryPath,\n `pypy${pypyBinaryPostfix}${binaryExtension}`,\n `python${binaryExtension}`,\n true\n );\n\n createSymlinkInFolder(\n pypyBinaryPath,\n `pypy${pypyBinaryPostfix}${binaryExtension}`,\n `pypy${pypyMajorMinorBinaryPostfix}${binaryExtension}`,\n true\n );\n}\n\nasync function installPip(pythonLocation: string) {\n core.info('Installing and updating pip');\n const pythonBinary = path.join(pythonLocation, 'python');\n await exec.exec(`${pythonBinary} -m ensurepip`);\n\n await exec.exec(\n `${pythonLocation}/python -m pip install --ignore-installed pip`\n );\n}\n\nexport function findRelease(\n releases: IPyPyManifestRelease[],\n pythonVersion: string,\n pypyVersion: string,\n architecture: string,\n includePrerelease: boolean\n) {\n const options = {includePrerelease: includePrerelease};\n const filterReleases = releases.filter(item => {\n const isPythonVersionSatisfied = semver.satisfies(\n semver.coerce(item.python_version)!,\n pythonVersion\n );\n const isPyPyNightly =\n isNightlyKeyword(pypyVersion) && isNightlyKeyword(item.pypy_version);\n const isPyPyVersionSatisfied =\n isPyPyNightly ||\n semver.satisfies(\n pypyVersionToSemantic(item.pypy_version),\n pypyVersion,\n options\n );\n const isArchPresent =\n item.files &&\n (IS_WINDOWS\n ? isArchPresentForWindows(item, architecture)\n : isArchPresentForMacOrLinux(item, architecture, process.platform));\n return isPythonVersionSatisfied && isPyPyVersionSatisfied && isArchPresent;\n });\n\n if (filterReleases.length === 0) {\n return null;\n }\n\n const sortedReleases = filterReleases.sort((previous, current) => {\n return (\n semver.compare(\n semver.coerce(pypyVersionToSemantic(current.pypy_version))!,\n semver.coerce(pypyVersionToSemantic(previous.pypy_version))!\n ) ||\n semver.compare(\n semver.coerce(current.python_version)!,\n semver.coerce(previous.python_version)!\n )\n );\n });\n\n const foundRelease = sortedReleases[0];\n const foundAsset = IS_WINDOWS\n ? findAssetForWindows(foundRelease, architecture)\n : findAssetForMacOrLinux(foundRelease, architecture, process.platform);\n\n return {\n foundAsset,\n resolvedPythonVersion: foundRelease.python_version,\n resolvedPyPyVersion: foundRelease.pypy_version.trim()\n };\n}\n\n/** Get PyPy binary location from the tool of installation directory\n * - On Linux and macOS, the Python interpreter is in 'bin'.\n * - On Windows, it is in the installation root.\n */\nexport function getPyPyBinaryPath(installDir: string) {\n const _binDir = path.join(installDir, 'bin');\n return IS_WINDOWS ? installDir : _binDir;\n}\n\nexport function pypyVersionToSemantic(versionSpec: string) {\n const prereleaseVersion = /(\\d+\\.\\d+\\.\\d+)((?:a|b|rc))(\\d*)/g;\n return versionSpec.replace(prereleaseVersion, '$1-$2.$3');\n}\n\nexport function isArchPresentForWindows(item: any, architecture: string) {\n architecture = replaceX32toX86(architecture);\n return item.files.some(\n (file: any) =>\n WINDOWS_PLATFORMS.includes(file.platform) && file.arch === architecture\n );\n}\n\nexport function isArchPresentForMacOrLinux(\n item: any,\n architecture: string,\n platform: string\n) {\n return item.files.some(\n (file: any) => file.arch === architecture && file.platform === platform\n );\n}\n\nexport function findAssetForWindows(releases: any, architecture: string) {\n architecture = replaceX32toX86(architecture);\n return releases.files.find(\n (item: any) =>\n WINDOWS_PLATFORMS.includes(item.platform) && item.arch === architecture\n );\n}\n\nexport function findAssetForMacOrLinux(\n releases: any,\n architecture: string,\n platform: string\n) {\n return releases.files.find(\n (item: any) => item.arch === architecture && item.platform === platform\n );\n}\n\nfunction replaceX32toX86(architecture: string): string {\n // convert x32 to x86 because os.arch() returns x32 for 32-bit systems but PyPy releases json has x86 arch value.\n if (architecture === 'x32') {\n architecture = 'x86';\n }\n return architecture;\n}\n"],"mappings":"olBCUA,QAAS,CAAAA,EAAcC,CAAmB,EACxC,MAAO,CAAAA,CAAA,CAAYC,UAAU,CAAC,OAChC,EAIO,cAAe,CAAAC,EAAmBF,CAAe,CAAEG,CAAiB,CAAEC,CAAY,EACnFC,CAAA,CAAAC,MAAA,GACFC,OAAA,CAAQC,GAAG,CAACC,oBAAoB,CAAG,+BADrC,EAIA,GAAM,CAAAC,CAAA,CAAuBH,OAAA,CAAQC,GAAG,CAACC,oBAAoB,EAAEE,IAAA,GAO/D,GANoC,UAAhC,MAAO,CAAAD,CAAA,EAAqC,EAAyB,GAAzBA,CAAA,GAC9CH,OAAA,CAAQC,GAAG,CAACI,iBAAiB,CAAGL,OAAA,CAAQC,GAAG,CAACC,oBAAoB,CAApB,CAG9C,GAAAI,CAAA,CAAAC,KAAI,EAAE,2CAA2CP,OAAA,CAAQC,GAAG,CAACI,iBAAiB,EAE1EZ,CAAA,CAAS,CACX,GAAI,CAAAG,CAAA,CACJ,GAAIJ,CAAA,CAAcC,CAAA,EAAU,CAC1B,GAAM,CAAAe,CAAA,CAAY,KAAM,GAAAC,CAAA,CAAAC,eAAc,EAAEjB,CAAA,CAASI,CAAA,CAAM,GAAMc,CAAA,CAAa,IAC1Ef,CAAA,CAAiB,GAAEY,CAAA,CAAUI,mBAAoB,IAAGJ,CAAA,CAAUK,qBAAsB,EAAC,CACrF,GAAAC,CAAA,CAAAC,IAAG,EAAG,4BAA2BP,CAAA,CAAUI,mBAAoB,iBAAgBJ,CAAA,CAAUK,qBAAsB,GAAE,CACnH,MAAO,CACL,GAAM,CAAAJ,CAAA,CAAY,KAAM,GAAAD,CAAA,CAAAQ,iBAAgB,EAAEvB,CAAA,CAASI,CAAA,CAAM,GAAMc,CAAA,CAAa,IAC5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_python.e4ef0efb.js deleted file mode 100644 index d98a1e85..00000000 --- a/dist/actions/actions_python.e4ef0efb.js +++ /dev/null @@ -1,3 +0,0 @@ -function $parcel$export(e,t,r,i){Object.defineProperty(e,t,{get:r,set:i,enumerable:!0,configurable:!0});}function $parcel$interopDefault(e){return e&&e.__esModule?e.default:e;}var $6DZae$path=require("path"),$6DZae$os=require("os"),$6DZae$fs=require("fs"),$6DZae$stream=require("stream"),$6DZae$util=require("util"),$6DZae$assert=require("assert"),$6DZae$child_process=require("child_process"),$6DZae$http=require("http"),$6DZae$https=require("https"),$parcel$global="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{},parcelRequire=$parcel$global.parcelRequire810d;parcelRequire.register("8MXq9",function(e,t){var r,i,s,n,o,a,h,l,c;function u(e){return e.startsWith("pypy");}async function p(e,t,o){h.IS_MAC&&(process.env.AGENT_TOOLSDIRECTORY="/Users/runner/hostedtoolcache");let l=process.env.AGENT_TOOLSDIRECTORY?.trim();if("string"==typeof l&&""!==l&&(process.env.RUNNER_TOOL_CACHE=process.env.AGENT_TOOLSDIRECTORY),(0,n.debug)("Python is expected to be installed into "+process.env.RUNNER_TOOL_CACHE),e){let t;if(u(e)){let r=await(0,i.findPyPyVersion)(e,o,!0,d,!1);t=`${r.resolvedPyPyVersion}-${r.resolvedPythonVersion}`,(0,s.info)(`Successfully set up PyPy ${r.resolvedPyPyVersion} with Python (${r.resolvedPythonVersion})`);}else{let i=await(0,r.useCpythonVersion)(e,o,!0,d,!1);t=i.version,(0,s.info)(`Successfully set up ${i.impl} (${t})`);}}a.GITHUB_ACTIONS&&(await f());}async function f(){let e=(0,o.join)(c,"python_matcher.json");if(!(await(0,l.pathExists)(e)))return(0,s.warning)("the python_matcher.json file does not exist in the same folder as setup-cpp.js");(0,s.info)("::add-matcher::"+e);}$parcel$export(e.exports,"setupActionsPython",()=>p),r=parcelRequire("8qig8"),i=parcelRequire("1xx2j"),s=parcelRequire("7Lz0k"),n=parcelRequire("i5trn"),o=parcelRequire("eq4yW"),a=parcelRequire("2W4C2"),h=parcelRequire("cg17v"),l=parcelRequire("bOuKS"),c=$6DZae$path.resolve(__dirname,"../../src/python");let d=!1;}),parcelRequire.register("8qig8",function(e,t){var r,i,s,n,o;function a(e){return r.IS_WINDOWS?$6DZae$path.join(e,"Scripts"):$6DZae$path.join(e,"bin");}async function h(e,t,h,p,f){let d=null,y=l(e),m=u(y,f);if(n.debug(`Semantic version spec of ${e} is ${m}`),p){d=await s.getManifest();let e=(await s.findReleaseFromManifest(m,t,d))?.version;e?(m=e,n.info(`Resolved as '${m}'`)):n.info(`Failed to resolve version ${m} from manifest`);}let g=o.find("Python",m,t);if(!g){n.info(`Version ${m} was not found in the local cache`);let e=await s.findReleaseFromManifest(m,t,d);e&&e.files&&e.files.length>0&&(n.info(`Version ${m} is available for downloading`),await s.installCpythonFromRelease(e),g=o.find("Python",m,t));}if(!g){let i=await(0,r.getOSInfo)();throw Error([`The version '${e}' with architecture '${t}' was not found for ${i?`${i.osName} ${i.osVersion}`:"this operating system"}.`,"The list of all available versions can be found here: "+s.MANIFEST_URL].join($6DZae$os.EOL));}let x=a(g),w=r.IS_WINDOWS?".exe":"",b=$6DZae$path.join(r.IS_WINDOWS?g:x,"python"+w);if(h){if(n.exportVariable("pythonLocation",g),n.exportVariable("PKG_CONFIG_PATH",g+"/lib/pkgconfig"),n.exportVariable("pythonLocation",g),n.exportVariable("Python_ROOT_DIR",g),n.exportVariable("Python2_ROOT_DIR",g),n.exportVariable("Python3_ROOT_DIR",g),n.exportVariable("PKG_CONFIG_PATH",g+"/lib/pkgconfig"),r.IS_LINUX){let e=process.env.LD_LIBRARY_PATH?":"+process.env.LD_LIBRARY_PATH:"",t=$6DZae$path.join(g,"lib");e.split(":").includes(t)||n.exportVariable("LD_LIBRARY_PATH",t+e);}if(n.addPath(g),n.addPath(x),r.IS_WINDOWS){let e=$6DZae$path.basename($6DZae$path.dirname(g)),t=i.major(e),r=i.minor(e),s=$6DZae$path.join(process.env.APPDATA||"","Python",`Python${t}${r}`,"Scripts");n.addPath(s);}}let v=c(g);return n.setOutput("python-version",v),n.setOutput("python-path",b),{impl:"CPython",version:v};}function l(e){let t=/^(\d+)\.(\d+)-dev$/;return e.replace(t,"~$1.$2.0-0");}function c(e){let t=e.split($6DZae$path.sep),r=t.findIndex(e=>"PyPy"===e||"Python"===e);return t[r+1]||"";}function u(e,t){let r=/(\d+\.\d+\.\d+)((?:a|b|rc)\d*)/g,i=/^(\d+)\.(\d+)$/,s=e.replace(r,"$1-$2");return t&&(s=s.replace(i,"~$1.$2.0-0")),s;}$parcel$export(e.exports,"useCpythonVersion",()=>h),r=parcelRequire("cg17v"),i=parcelRequire("e5sHV"),s=parcelRequire("4TiQE"),n=parcelRequire("i5trn"),o=parcelRequire("92IYk");}),parcelRequire.register("cg17v",function(e,t){var r,i,s;function n(e,t,r,i=!1){let s=$6DZae$path.join(e,t),n=$6DZae$path.join(e,r);$parcel$interopDefault($6DZae$fs).existsSync(n)||($parcel$interopDefault($6DZae$fs).symlinkSync(s,n),!m&&i&&$parcel$interopDefault($6DZae$fs).chmodSync(n,"755"));}function o(e){return a(e)||!!i.validRange(e);}function a(e){return"nightly"===e;}function h(e){return $6DZae$path.basename($6DZae$path.dirname(e));}function l(e){let t="",r=$6DZae$path.join(e,v);return $parcel$interopDefault($6DZae$fs).existsSync(r)&&(t=$parcel$interopDefault($6DZae$fs).readFileSync(r).toString().trim()),t;}function c(e,t){let r=$6DZae$path.join(e,v);$parcel$interopDefault($6DZae$fs).writeFileSync(r,t);}function u(e){let t=/^\d+\.\d+$/;return t.test(e);}async function p(){let{stdout:e}=await s.getExecOutput('powershell -command "(Get-CimInstance -ClassName Win32_OperatingSystem).Caption"',void 0,{silent:!0}),t=e.trim().split(" ")[3];return{osName:"Windows",osVersion:t};}async function f(){let{stdout:e}=await s.getExecOutput("sw_vers",["-productVersion"],{silent:!0}),t=e.trim();return{osName:"macOS",osVersion:t};}async function d(){let{stdout:e}=await s.getExecOutput("lsb_release",["-i","-r","-s"],{silent:!0}),[t,i]=e.trim().split("\n");return r.debug(`OS Name: ${t}, Version: ${i}`),{osName:t,osVersion:i};}async function y(){let e;try{m?e=await p():g?e=await d():x&&(e=await f());}catch(t){let e=t;r.debug(e.message);}finally{return e;}}$parcel$export(e.exports,"IS_WINDOWS",()=>m),$parcel$export(e.exports,"IS_LINUX",()=>g),$parcel$export(e.exports,"IS_MAC",()=>x),$parcel$export(e.exports,"WINDOWS_ARCHS",()=>w),$parcel$export(e.exports,"WINDOWS_PLATFORMS",()=>b),$parcel$export(e.exports,"createSymlinkInFolder",()=>n),$parcel$export(e.exports,"validateVersion",()=>o),$parcel$export(e.exports,"isNightlyKeyword",()=>a),$parcel$export(e.exports,"getPyPyVersionFromPath",()=>h),$parcel$export(e.exports,"readExactPyPyVersionFile",()=>l),$parcel$export(e.exports,"writeExactPyPyVersionFile",()=>c),$parcel$export(e.exports,"validatePythonVersionFormatForPyPy",()=>u),$parcel$export(e.exports,"getOSInfo",()=>y),r=parcelRequire("i5trn"),i=parcelRequire("e5sHV"),parcelRequire("h3fHe"),s=parcelRequire("8hZvX");let m="win32"===process.platform,g="linux"===process.platform,x="darwin"===process.platform,w=["x86","x64"],b=["win32","win64"],v="PYPY_VERSION";}),parcelRequire.register("h3fHe",function(e,t){var r;$parcel$export(e.exports,"parse",()=>r,e=>r=e),r=parcelRequire("8Vcqi"),parcelRequire("1q8HD");}),parcelRequire.register("8Vcqi",function(e,t){e.exports=parcelRequire("vz7Em"),e.exports.async=parcelRequire("56LnL"),e.exports.stream=parcelRequire("4KfFr"),e.exports.prettyError=parcelRequire("2HCEc");}),parcelRequire.register("vz7Em",function(e,t){var r,i;function s(e){$parcel$global.Buffer&&$parcel$global.Buffer.isBuffer(e)&&(e=e.toString("utf8"));let t=new r();try{return t.parse(e),t.finish();}catch(t){throw i(t,e);}}e.exports=s,r=parcelRequire("ajYAH"),i=parcelRequire("2HCEc");}),parcelRequire.register("ajYAH",function(module,exports){var $aISYe,$6Z4Nw,$2i5e5,$jFrWw;let _custom;function isDigit(e){return e>=CHAR_0&&e<=CHAR_9;}function isHexit(e){return e>=CHAR_A&&e<=CHAR_F||e>=CHAR_a&&e<=CHAR_f||e>=CHAR_0&&e<=CHAR_9;}function isBit(e){return e===CHAR_1||e===CHAR_0;}function isOctit(e){return e>=CHAR_0&&e<=CHAR_7;}function isAlphaNumQuoteHyphen(e){return e>=CHAR_A&&e<=CHAR_Z||e>=CHAR_a&&e<=CHAR_z||e>=CHAR_0&&e<=CHAR_9||e===CHAR_APOS||e===CHAR_QUOT||e===CHAR_LOWBAR||e===CHAR_HYPHEN;}function isAlphaNumHyphen(e){return e>=CHAR_A&&e<=CHAR_Z||e>=CHAR_a&&e<=CHAR_z||e>=CHAR_0&&e<=CHAR_9||e===CHAR_LOWBAR||e===CHAR_HYPHEN;}function hasKey(e,t){return!!hasOwnProperty.call(e,t)||("__proto__"===t&&defineProperty(e,"__proto__",descriptor),!1);}function InlineTable(){return Object.defineProperties({},{[_type]:{value:INLINE_TABLE}});}function isInlineTable(e){return null!==e&&"object"==typeof e&&e[_type]===INLINE_TABLE;}function Table(){return Object.defineProperties({},{[_type]:{value:TABLE},[_declared]:{value:!1,writable:!0}});}function isTable(e){return null!==e&&"object"==typeof e&&e[_type]===TABLE;}function InlineList(e){return Object.defineProperties([],{[_type]:{value:INLINE_LIST},[_contentType]:{value:e}});}function isInlineList(e){return null!==e&&"object"==typeof e&&e[_type]===INLINE_LIST;}function List(){return Object.defineProperties([],{[_type]:{value:LIST}});}function isList(e){return null!==e&&"object"==typeof e&&e[_type]===LIST;}function Integer(e){let t=+e;return(Object.is(t,-0)&&(t=0),$parcel$global.BigInt&&!Number.isSafeInteger(t))?new BoxedBigInt(e):Object.defineProperties(new Number(t),{isNaN:{value:function(){return isNaN(this);}},[_type]:{value:INTEGER},[_inspect]:{value:()=>`[Integer: ${e}]`}});}function isInteger(e){return null!==e&&"object"==typeof e&&e[_type]===INTEGER;}function Float(e){return Object.defineProperties(new Number(e),{[_type]:{value:FLOAT},[_inspect]:{value:()=>`[Float: ${e}]`}});}function isFloat(e){return null!==e&&"object"==typeof e&&e[_type]===FLOAT;}function tomlType(e){let t=typeof e;if("object"===t){if(null===e)return"null";if(e instanceof Date)return"datetime";if(_type in e)switch(e[_type]){case INLINE_TABLE:return"inline-table";case INLINE_LIST:return"inline-list";case TABLE:return"table";case LIST:return"list";case FLOAT:return"float";case INTEGER:return"integer";}}return t;}function makeParserClass(e){class t extends e{constructor(){super(),this.ctx=this.obj=Table();}atEndOfWord(){return this.char===CHAR_NUM||this.char===CTRL_I||this.char===CHAR_SP||this.atEndOfLine();}atEndOfLine(){return this.char===e.END||this.char===CTRL_J||this.char===CTRL_M;}parseStart(){if(this.char===e.END)return null;if(this.char===CHAR_LSQB)return this.call(this.parseTableOrList);if(this.char===CHAR_NUM)return this.call(this.parseComment);if(this.char===CTRL_J||this.char===CHAR_SP||this.char===CTRL_I||this.char===CTRL_M)return null;if(isAlphaNumQuoteHyphen(this.char))return this.callNow(this.parseAssignStatement);else throw this.error(new TomlError(`Unknown character "${this.char}"`));}parseWhitespaceToEOL(){if(this.char===CHAR_SP||this.char===CTRL_I||this.char===CTRL_M)return null;if(this.char===CHAR_NUM)return this.goto(this.parseComment);if(this.char===e.END||this.char===CTRL_J)return this.return();throw this.error(new TomlError("Unexpected character, expected only whitespace or comments till end of line"));}parseAssignStatement(){return this.callNow(this.parseAssign,this.recordAssignStatement);}recordAssignStatement(e){let t=this.ctx,r=e.key.pop();for(let r of e.key){if(hasKey(t,r)&&(!isTable(t[r])||t[r][_declared]))throw this.error(new TomlError("Can't redefine existing key"));t=t[r]=t[r]||Table();}if(hasKey(t,r))throw this.error(new TomlError("Can't redefine existing key"));return isInteger(e.value)||isFloat(e.value)?t[r]=e.value.valueOf():t[r]=e.value,this.goto(this.parseWhitespaceToEOL);}parseAssign(){return this.callNow(this.parseKeyword,this.recordAssignKeyword);}recordAssignKeyword(e){return this.state.resultTable?this.state.resultTable.push(e):this.state.resultTable=[e],this.goto(this.parseAssignKeywordPreDot);}parseAssignKeywordPreDot(){return this.char===CHAR_PERIOD?this.next(this.parseAssignKeywordPostDot):this.char!==CHAR_SP&&this.char!==CTRL_I?this.goto(this.parseAssignEqual):void 0;}parseAssignKeywordPostDot(){if(this.char!==CHAR_SP&&this.char!==CTRL_I)return this.callNow(this.parseKeyword,this.recordAssignKeyword);}parseAssignEqual(){if(this.char===CHAR_EQUALS)return this.next(this.parseAssignPreValue);throw this.error(new TomlError('Invalid character, expected "="'));}parseAssignPreValue(){return this.char===CHAR_SP||this.char===CTRL_I?null:this.callNow(this.parseValue,this.recordAssignValue);}recordAssignValue(e){return this.returnNow({key:this.state.resultTable,value:e});}parseComment(){do if(this.char===e.END||this.char===CTRL_J)return this.return();while(this.nextChar());}parseTableOrList(){if(this.char!==CHAR_LSQB)return this.goto(this.parseTable);this.next(this.parseList);}parseTable(){return this.ctx=this.obj,this.goto(this.parseTableNext);}parseTableNext(){return this.char===CHAR_SP||this.char===CTRL_I?null:this.callNow(this.parseKeyword,this.parseTableMore);}parseTableMore(e){if(this.char===CHAR_SP||this.char===CTRL_I)return null;if(this.char===CHAR_RSQB){if(hasKey(this.ctx,e)&&(!isTable(this.ctx[e])||this.ctx[e][_declared]))throw this.error(new TomlError("Can't redefine existing key"));return this.ctx=this.ctx[e]=this.ctx[e]||Table(),this.ctx[_declared]=!0,this.next(this.parseWhitespaceToEOL);}if(this.char===CHAR_PERIOD){if(hasKey(this.ctx,e)){if(isTable(this.ctx[e]))this.ctx=this.ctx[e];else if(isList(this.ctx[e]))this.ctx=this.ctx[e][this.ctx[e].length-1];else throw this.error(new TomlError("Can't redefine existing key"));}else this.ctx=this.ctx[e]=Table();return this.next(this.parseTableNext);}throw this.error(new TomlError("Unexpected character, expected whitespace, . or ]"));}parseList(){return this.ctx=this.obj,this.goto(this.parseListNext);}parseListNext(){return this.char===CHAR_SP||this.char===CTRL_I?null:this.callNow(this.parseKeyword,this.parseListMore);}parseListMore(e){if(this.char===CHAR_SP||this.char===CTRL_I)return null;if(this.char===CHAR_RSQB){if(hasKey(this.ctx,e)||(this.ctx[e]=List()),isInlineList(this.ctx[e]))throw this.error(new TomlError("Can't extend an inline array"));if(isList(this.ctx[e])){let t=Table();this.ctx[e].push(t),this.ctx=t;}else throw this.error(new TomlError("Can't redefine an existing key"));return this.next(this.parseListEnd);}if(this.char===CHAR_PERIOD){if(hasKey(this.ctx,e)){if(isInlineList(this.ctx[e]))throw this.error(new TomlError("Can't extend an inline array"));if(isInlineTable(this.ctx[e]))throw this.error(new TomlError("Can't extend an inline table"));else if(isList(this.ctx[e]))this.ctx=this.ctx[e][this.ctx[e].length-1];else if(isTable(this.ctx[e]))this.ctx=this.ctx[e];else throw this.error(new TomlError("Can't redefine an existing key"));}else this.ctx=this.ctx[e]=Table();return this.next(this.parseListNext);}throw this.error(new TomlError("Unexpected character, expected whitespace, . or ]"));}parseListEnd(e){if(this.char===CHAR_RSQB)return this.next(this.parseWhitespaceToEOL);throw this.error(new TomlError("Unexpected character, expected whitespace, . or ]"));}parseValue(){if(this.char===e.END)throw this.error(new TomlError("Key without value"));if(this.char===CHAR_QUOT)return this.next(this.parseDoubleString);if(this.char===CHAR_APOS)return this.next(this.parseSingleString);if(this.char===CHAR_HYPHEN||this.char===CHAR_PLUS)return this.goto(this.parseNumberSign);if(this.char===CHAR_i)return this.next(this.parseInf);if(this.char===CHAR_n)return this.next(this.parseNan);if(isDigit(this.char))return this.goto(this.parseNumberOrDateTime);else if(this.char===CHAR_t||this.char===CHAR_f)return this.goto(this.parseBoolean);else if(this.char===CHAR_LSQB)return this.call(this.parseInlineList,this.recordValue);else if(this.char===CHAR_LCUB)return this.call(this.parseInlineTable,this.recordValue);else throw this.error(new TomlError("Unexpected character, expecting string, number, datetime, boolean, inline array or inline table"));}recordValue(e){return this.returnNow(e);}parseInf(){if(this.char===CHAR_n)return this.next(this.parseInf2);throw this.error(new TomlError('Unexpected character, expected "inf", "+inf" or "-inf"'));}parseInf2(){if(this.char===CHAR_f)return"-"===this.state.buf?this.return(-1/0):this.return(1/0);throw this.error(new TomlError('Unexpected character, expected "inf", "+inf" or "-inf"'));}parseNan(){if(this.char===CHAR_a)return this.next(this.parseNan2);throw this.error(new TomlError('Unexpected character, expected "nan"'));}parseNan2(){if(this.char===CHAR_n)return this.return(NaN);throw this.error(new TomlError('Unexpected character, expected "nan"'));}parseKeyword(){return this.char===CHAR_QUOT?this.next(this.parseBasicString):this.char===CHAR_APOS?this.next(this.parseLiteralString):this.goto(this.parseBareKey);}parseBareKey(){do{if(this.char===e.END)throw this.error(new TomlError("Key ended without value"));if(isAlphaNumHyphen(this.char))this.consume();else if(0!==this.state.buf.length)return this.returnNow();else throw this.error(new TomlError("Empty bare keys are not allowed"));}while(this.nextChar());}parseSingleString(){return this.char===CHAR_APOS?this.next(this.parseLiteralMultiStringMaybe):this.goto(this.parseLiteralString);}parseLiteralString(){do{if(this.char===CHAR_APOS)return this.return();if(this.atEndOfLine())throw this.error(new TomlError("Unterminated string"));if(this.char===CHAR_DEL||this.char<=CTRL_CHAR_BOUNDARY&&this.char!==CTRL_I)throw this.errorControlCharInString();else this.consume();}while(this.nextChar());}parseLiteralMultiStringMaybe(){return this.char===CHAR_APOS?this.next(this.parseLiteralMultiString):this.returnNow();}parseLiteralMultiString(){return this.char===CTRL_M?null:this.char===CTRL_J?this.next(this.parseLiteralMultiStringContent):this.goto(this.parseLiteralMultiStringContent);}parseLiteralMultiStringContent(){do{if(this.char===CHAR_APOS)return this.next(this.parseLiteralMultiEnd);if(this.char===e.END)throw this.error(new TomlError("Unterminated multi-line string"));if(this.char===CHAR_DEL||this.char<=CTRL_CHAR_BOUNDARY&&this.char!==CTRL_I&&this.char!==CTRL_J&&this.char!==CTRL_M)throw this.errorControlCharInString();else this.consume();}while(this.nextChar());}parseLiteralMultiEnd(){return this.char===CHAR_APOS?this.next(this.parseLiteralMultiEnd2):(this.state.buf+="'",this.goto(this.parseLiteralMultiStringContent));}parseLiteralMultiEnd2(){return this.char===CHAR_APOS?this.return():(this.state.buf+="''",this.goto(this.parseLiteralMultiStringContent));}parseDoubleString(){return this.char===CHAR_QUOT?this.next(this.parseMultiStringMaybe):this.goto(this.parseBasicString);}parseBasicString(){do{if(this.char===CHAR_BSOL)return this.call(this.parseEscape,this.recordEscapeReplacement);if(this.char===CHAR_QUOT)return this.return();if(this.atEndOfLine())throw this.error(new TomlError("Unterminated string"));else if(this.char===CHAR_DEL||this.char<=CTRL_CHAR_BOUNDARY&&this.char!==CTRL_I)throw this.errorControlCharInString();else this.consume();}while(this.nextChar());}recordEscapeReplacement(e){return this.state.buf+=e,this.goto(this.parseBasicString);}parseMultiStringMaybe(){return this.char===CHAR_QUOT?this.next(this.parseMultiString):this.returnNow();}parseMultiString(){return this.char===CTRL_M?null:this.char===CTRL_J?this.next(this.parseMultiStringContent):this.goto(this.parseMultiStringContent);}parseMultiStringContent(){do{if(this.char===CHAR_BSOL)return this.call(this.parseMultiEscape,this.recordMultiEscapeReplacement);if(this.char===CHAR_QUOT)return this.next(this.parseMultiEnd);if(this.char===e.END)throw this.error(new TomlError("Unterminated multi-line string"));else if(this.char===CHAR_DEL||this.char<=CTRL_CHAR_BOUNDARY&&this.char!==CTRL_I&&this.char!==CTRL_J&&this.char!==CTRL_M)throw this.errorControlCharInString();else this.consume();}while(this.nextChar());}errorControlCharInString(){let e="\\u00";return this.char<16&&(e+="0"),e+=this.char.toString(16),this.error(new TomlError(`Control characters (codes < 0x1f and 0x7f) are not allowed in strings, use ${e} instead`));}recordMultiEscapeReplacement(e){return this.state.buf+=e,this.goto(this.parseMultiStringContent);}parseMultiEnd(){return this.char===CHAR_QUOT?this.next(this.parseMultiEnd2):(this.state.buf+='"',this.goto(this.parseMultiStringContent));}parseMultiEnd2(){return this.char===CHAR_QUOT?this.return():(this.state.buf+='""',this.goto(this.parseMultiStringContent));}parseMultiEscape(){return this.char===CTRL_M||this.char===CTRL_J?this.next(this.parseMultiTrim):this.char===CHAR_SP||this.char===CTRL_I?this.next(this.parsePreMultiTrim):this.goto(this.parseEscape);}parsePreMultiTrim(){if(this.char===CHAR_SP||this.char===CTRL_I)return null;if(this.char===CTRL_M||this.char===CTRL_J)return this.next(this.parseMultiTrim);throw this.error(new TomlError("Can't escape whitespace"));}parseMultiTrim(){return this.char===CTRL_J||this.char===CHAR_SP||this.char===CTRL_I||this.char===CTRL_M?null:this.returnNow();}parseEscape(){if(this.char in escapes)return this.return(escapes[this.char]);if(this.char===CHAR_u)return this.call(this.parseSmallUnicode,this.parseUnicodeReturn);if(this.char===CHAR_U)return this.call(this.parseLargeUnicode,this.parseUnicodeReturn);throw this.error(new TomlError("Unknown escape character: "+this.char));}parseUnicodeReturn(e){try{let t=parseInt(e,16);if(t>=SURROGATE_FIRST&&t<=SURROGATE_LAST)throw this.error(new TomlError("Invalid unicode, character in range 0xD800 - 0xDFFF is reserved"));return this.returnNow(String.fromCodePoint(t));}catch(e){throw this.error(TomlError.wrap(e));}}parseSmallUnicode(){if(isHexit(this.char)){if(this.consume(),this.state.buf.length>=4)return this.return();}else throw this.error(new TomlError("Invalid character in unicode sequence, expected hex"));}parseLargeUnicode(){if(isHexit(this.char)){if(this.consume(),this.state.buf.length>=8)return this.return();}else throw this.error(new TomlError("Invalid character in unicode sequence, expected hex"));}parseNumberSign(){return this.consume(),this.next(this.parseMaybeSignedInfOrNan);}parseMaybeSignedInfOrNan(){return this.char===CHAR_i?this.next(this.parseInf):this.char===CHAR_n?this.next(this.parseNan):this.callNow(this.parseNoUnder,this.parseNumberIntegerStart);}parseNumberIntegerStart(){return this.char===CHAR_0?(this.consume(),this.next(this.parseNumberIntegerExponentOrDecimal)):this.goto(this.parseNumberInteger);}parseNumberIntegerExponentOrDecimal(){return this.char===CHAR_PERIOD?(this.consume(),this.call(this.parseNoUnder,this.parseNumberFloat)):this.char===CHAR_E||this.char===CHAR_e?(this.consume(),this.next(this.parseNumberExponentSign)):this.returnNow(Integer(this.state.buf));}parseNumberInteger(){if(isDigit(this.char))this.consume();else{if(this.char===CHAR_LOWBAR)return this.call(this.parseNoUnder);if(this.char===CHAR_E||this.char===CHAR_e)return this.consume(),this.next(this.parseNumberExponentSign);if(this.char===CHAR_PERIOD)return this.consume(),this.call(this.parseNoUnder,this.parseNumberFloat);let e=Integer(this.state.buf);if(!e.isNaN())return this.returnNow(e);throw this.error(new TomlError("Invalid number"));}}parseNoUnder(){if(this.char===CHAR_LOWBAR||this.char===CHAR_PERIOD||this.char===CHAR_E||this.char===CHAR_e)throw this.error(new TomlError("Unexpected character, expected digit"));if(this.atEndOfWord())throw this.error(new TomlError("Incomplete number"));return this.returnNow();}parseNoUnderHexOctBinLiteral(){if(this.char===CHAR_LOWBAR||this.char===CHAR_PERIOD)throw this.error(new TomlError("Unexpected character, expected digit"));if(this.atEndOfWord())throw this.error(new TomlError("Incomplete number"));return this.returnNow();}parseNumberFloat(){if(this.char===CHAR_LOWBAR)return this.call(this.parseNoUnder,this.parseNumberFloat);if(isDigit(this.char))this.consume();else if(this.char===CHAR_E||this.char===CHAR_e)return this.consume(),this.next(this.parseNumberExponentSign);else return this.returnNow(Float(this.state.buf));}parseNumberExponentSign(){if(isDigit(this.char))return this.goto(this.parseNumberExponent);if(this.char===CHAR_HYPHEN||this.char===CHAR_PLUS)this.consume(),this.call(this.parseNoUnder,this.parseNumberExponent);else throw this.error(new TomlError("Unexpected character, expected -, + or digit"));}parseNumberExponent(){if(isDigit(this.char))this.consume();else if(this.char===CHAR_LOWBAR)return this.call(this.parseNoUnder);else return this.returnNow(Float(this.state.buf));}parseNumberOrDateTime(){return this.char===CHAR_0?(this.consume(),this.next(this.parseNumberBaseOrDateTime)):this.goto(this.parseNumberOrDateTimeOnly);}parseNumberOrDateTimeOnly(){if(this.char===CHAR_LOWBAR)return this.call(this.parseNoUnder,this.parseNumberInteger);if(isDigit(this.char))this.consume(),this.state.buf.length>4&&this.next(this.parseNumberInteger);else if(this.char===CHAR_E||this.char===CHAR_e)return this.consume(),this.next(this.parseNumberExponentSign);else if(this.char===CHAR_PERIOD)return this.consume(),this.call(this.parseNoUnder,this.parseNumberFloat);else if(this.char===CHAR_HYPHEN)return this.goto(this.parseDateTime);else if(this.char===CHAR_COLON)return this.goto(this.parseOnlyTimeHour);else return this.returnNow(Integer(this.state.buf));}parseDateTimeOnly(){if(this.state.buf.length<4){if(isDigit(this.char))return this.consume();if(this.char===CHAR_COLON)return this.goto(this.parseOnlyTimeHour);throw this.error(new TomlError("Expected digit while parsing year part of a date"));}if(this.char===CHAR_HYPHEN)return this.goto(this.parseDateTime);throw this.error(new TomlError("Expected hyphen (-) while parsing year part of date"));}parseNumberBaseOrDateTime(){if(this.char===CHAR_b)return this.consume(),this.call(this.parseNoUnderHexOctBinLiteral,this.parseIntegerBin);if(this.char===CHAR_o)return this.consume(),this.call(this.parseNoUnderHexOctBinLiteral,this.parseIntegerOct);if(this.char===CHAR_x)return this.consume(),this.call(this.parseNoUnderHexOctBinLiteral,this.parseIntegerHex);if(this.char===CHAR_PERIOD)return this.goto(this.parseNumberInteger);if(isDigit(this.char))return this.goto(this.parseDateTimeOnly);else return this.returnNow(Integer(this.state.buf));}parseIntegerHex(){if(isHexit(this.char))this.consume();else{if(this.char===CHAR_LOWBAR)return this.call(this.parseNoUnderHexOctBinLiteral);let e=Integer(this.state.buf);if(!e.isNaN())return this.returnNow(e);throw this.error(new TomlError("Invalid number"));}}parseIntegerOct(){if(isOctit(this.char))this.consume();else{if(this.char===CHAR_LOWBAR)return this.call(this.parseNoUnderHexOctBinLiteral);let e=Integer(this.state.buf);if(!e.isNaN())return this.returnNow(e);throw this.error(new TomlError("Invalid number"));}}parseIntegerBin(){if(isBit(this.char))this.consume();else{if(this.char===CHAR_LOWBAR)return this.call(this.parseNoUnderHexOctBinLiteral);let e=Integer(this.state.buf);if(!e.isNaN())return this.returnNow(e);throw this.error(new TomlError("Invalid number"));}}parseDateTime(){if(this.state.buf.length<4)throw this.error(new TomlError("Years less than 1000 must be zero padded to four characters"));return this.state.result=this.state.buf,this.state.buf="",this.next(this.parseDateMonth);}parseDateMonth(){if(this.char===CHAR_HYPHEN){if(this.state.buf.length<2)throw this.error(new TomlError("Months less than 10 must be zero padded to two characters"));return this.state.result+="-"+this.state.buf,this.state.buf="",this.next(this.parseDateDay);}if(isDigit(this.char))this.consume();else throw this.error(new TomlError("Incomplete datetime"));}parseDateDay(){if(this.char===CHAR_T||this.char===CHAR_SP){if(this.state.buf.length<2)throw this.error(new TomlError("Days less than 10 must be zero padded to two characters"));return this.state.result+="-"+this.state.buf,this.state.buf="",this.next(this.parseStartTimeHour);}if(this.atEndOfWord())return this.returnNow($2i5e5(this.state.result+"-"+this.state.buf));if(isDigit(this.char))this.consume();else throw this.error(new TomlError("Incomplete datetime"));}parseStartTimeHour(){return this.atEndOfWord()?this.returnNow($2i5e5(this.state.result)):this.goto(this.parseTimeHour);}parseTimeHour(){if(this.char===CHAR_COLON){if(this.state.buf.length<2)throw this.error(new TomlError("Hours less than 10 must be zero padded to two characters"));return this.state.result+="T"+this.state.buf,this.state.buf="",this.next(this.parseTimeMin);}if(isDigit(this.char))this.consume();else throw this.error(new TomlError("Incomplete datetime"));}parseTimeMin(){if(this.state.buf.length<2&&isDigit(this.char))this.consume();else if(2===this.state.buf.length&&this.char===CHAR_COLON)return this.state.result+=":"+this.state.buf,this.state.buf="",this.next(this.parseTimeSec);else throw this.error(new TomlError("Incomplete datetime"));}parseTimeSec(){if(isDigit(this.char)){if(this.consume(),2===this.state.buf.length)return this.state.result+=":"+this.state.buf,this.state.buf="",this.next(this.parseTimeZoneOrFraction);}else throw this.error(new TomlError("Incomplete datetime"));}parseOnlyTimeHour(){if(this.char===CHAR_COLON){if(this.state.buf.length<2)throw this.error(new TomlError("Hours less than 10 must be zero padded to two characters"));return this.state.result=this.state.buf,this.state.buf="",this.next(this.parseOnlyTimeMin);}throw this.error(new TomlError("Incomplete time"));}parseOnlyTimeMin(){if(this.state.buf.length<2&&isDigit(this.char))this.consume();else if(2===this.state.buf.length&&this.char===CHAR_COLON)return this.state.result+=":"+this.state.buf,this.state.buf="",this.next(this.parseOnlyTimeSec);else throw this.error(new TomlError("Incomplete time"));}parseOnlyTimeSec(){if(isDigit(this.char)){if(this.consume(),2===this.state.buf.length)return this.next(this.parseOnlyTimeFractionMaybe);}else throw this.error(new TomlError("Incomplete time"));}parseOnlyTimeFractionMaybe(){if(this.state.result+=":"+this.state.buf,this.char!==CHAR_PERIOD)return this.return($jFrWw(this.state.result));this.state.buf="",this.next(this.parseOnlyTimeFraction);}parseOnlyTimeFraction(){if(isDigit(this.char))this.consume();else if(this.atEndOfWord()){if(0===this.state.buf.length)throw this.error(new TomlError("Expected digit in milliseconds"));return this.returnNow($jFrWw(this.state.result+"."+this.state.buf));}else throw this.error(new TomlError("Unexpected character in datetime, expected period (.), minus (-), plus (+) or Z"));}parseTimeZoneOrFraction(){if(this.char===CHAR_PERIOD)this.consume(),this.next(this.parseDateTimeFraction);else if(this.char===CHAR_HYPHEN||this.char===CHAR_PLUS)this.consume(),this.next(this.parseTimeZoneHour);else if(this.char===CHAR_Z)return this.consume(),this.return($aISYe(this.state.result+this.state.buf));else if(this.atEndOfWord())return this.returnNow($6Z4Nw(this.state.result+this.state.buf));else throw this.error(new TomlError("Unexpected character in datetime, expected period (.), minus (-), plus (+) or Z"));}parseDateTimeFraction(){if(isDigit(this.char))this.consume();else if(1===this.state.buf.length)throw this.error(new TomlError("Expected digit in milliseconds"));else if(this.char===CHAR_HYPHEN||this.char===CHAR_PLUS)this.consume(),this.next(this.parseTimeZoneHour);else if(this.char===CHAR_Z)return this.consume(),this.return($aISYe(this.state.result+this.state.buf));else if(this.atEndOfWord())return this.returnNow($6Z4Nw(this.state.result+this.state.buf));else throw this.error(new TomlError("Unexpected character in datetime, expected period (.), minus (-), plus (+) or Z"));}parseTimeZoneHour(){if(isDigit(this.char)){if(this.consume(),/\d\d$/.test(this.state.buf))return this.next(this.parseTimeZoneSep);}else throw this.error(new TomlError("Unexpected character in datetime, expected digit"));}parseTimeZoneSep(){if(this.char===CHAR_COLON)this.consume(),this.next(this.parseTimeZoneMin);else throw this.error(new TomlError("Unexpected character in datetime, expected colon"));}parseTimeZoneMin(){if(isDigit(this.char)){if(this.consume(),/\d\d$/.test(this.state.buf))return this.return($aISYe(this.state.result+this.state.buf));}else throw this.error(new TomlError("Unexpected character in datetime, expected digit"));}parseBoolean(){return this.char===CHAR_t?(this.consume(),this.next(this.parseTrue_r)):this.char===CHAR_f?(this.consume(),this.next(this.parseFalse_a)):void 0;}parseTrue_r(){if(this.char===CHAR_r)return this.consume(),this.next(this.parseTrue_u);throw this.error(new TomlError("Invalid boolean, expected true or false"));}parseTrue_u(){if(this.char===CHAR_u)return this.consume(),this.next(this.parseTrue_e);throw this.error(new TomlError("Invalid boolean, expected true or false"));}parseTrue_e(){if(this.char===CHAR_e)return this.return(!0);throw this.error(new TomlError("Invalid boolean, expected true or false"));}parseFalse_a(){if(this.char===CHAR_a)return this.consume(),this.next(this.parseFalse_l);throw this.error(new TomlError("Invalid boolean, expected true or false"));}parseFalse_l(){if(this.char===CHAR_l)return this.consume(),this.next(this.parseFalse_s);throw this.error(new TomlError("Invalid boolean, expected true or false"));}parseFalse_s(){if(this.char===CHAR_s)return this.consume(),this.next(this.parseFalse_e);throw this.error(new TomlError("Invalid boolean, expected true or false"));}parseFalse_e(){if(this.char===CHAR_e)return this.return(!1);throw this.error(new TomlError("Invalid boolean, expected true or false"));}parseInlineList(){if(this.char===CHAR_SP||this.char===CTRL_I||this.char===CTRL_M||this.char===CTRL_J)return null;if(this.char===e.END)throw this.error(new TomlError("Unterminated inline array"));return this.char===CHAR_NUM?this.call(this.parseComment):this.char===CHAR_RSQB?this.return(this.state.resultArr||InlineList()):this.callNow(this.parseValue,this.recordInlineListValue);}recordInlineListValue(e){if(this.state.resultArr){let t=this.state.resultArr[_contentType],r=tomlType(e);if(t!==r)throw this.error(new TomlError(`Inline lists must be a single type, not a mix of ${t} and ${r}`));}else this.state.resultArr=InlineList(tomlType(e));return isFloat(e)||isInteger(e)?this.state.resultArr.push(e.valueOf()):this.state.resultArr.push(e),this.goto(this.parseInlineListNext);}parseInlineListNext(){if(this.char===CHAR_SP||this.char===CTRL_I||this.char===CTRL_M||this.char===CTRL_J)return null;if(this.char===CHAR_NUM)return this.call(this.parseComment);if(this.char===CHAR_COMMA)return this.next(this.parseInlineList);if(this.char===CHAR_RSQB)return this.goto(this.parseInlineList);throw this.error(new TomlError("Invalid character, expected whitespace, comma (,) or close bracket (])"));}parseInlineTable(){if(this.char===CHAR_SP||this.char===CTRL_I)return null;if(this.char===e.END||this.char===CHAR_NUM||this.char===CTRL_J||this.char===CTRL_M)throw this.error(new TomlError("Unterminated inline array"));return this.char===CHAR_RCUB?this.return(this.state.resultTable||InlineTable()):(this.state.resultTable||(this.state.resultTable=InlineTable()),this.callNow(this.parseAssign,this.recordInlineTableValue));}recordInlineTableValue(e){let t=this.state.resultTable,r=e.key.pop();for(let r of e.key){if(hasKey(t,r)&&(!isTable(t[r])||t[r][_declared]))throw this.error(new TomlError("Can't redefine existing key"));t=t[r]=t[r]||Table();}if(hasKey(t,r))throw this.error(new TomlError("Can't redefine existing key"));return isInteger(e.value)||isFloat(e.value)?t[r]=e.value.valueOf():t[r]=e.value,this.goto(this.parseInlineTableNext);}parseInlineTableNext(){if(this.char===CHAR_SP||this.char===CTRL_I)return null;if(this.char===e.END||this.char===CHAR_NUM||this.char===CTRL_J||this.char===CTRL_M)throw this.error(new TomlError("Unterminated inline array"));if(this.char===CHAR_COMMA)return this.next(this.parseInlineTable);if(this.char===CHAR_RCUB)return this.goto(this.parseInlineTable);throw this.error(new TomlError("Invalid character, expected whitespace, comma (,) or close bracket (])"));}}return t;}module.exports=makeParserClass(parcelRequire("4nZHU")),module.exports.makeParserClass=makeParserClass;class TomlError extends Error{constructor(e){super(e),this.name="TomlError",Error.captureStackTrace&&Error.captureStackTrace(this,TomlError),this.fromTOML=!0,this.wrapped=null;}}TomlError.wrap=e=>{let t=new TomlError(e.message);return t.code=e.code,t.wrapped=e,t;},module.exports.TomlError=TomlError,$aISYe=parcelRequire("aISYe"),$6Z4Nw=parcelRequire("6Z4Nw"),$2i5e5=parcelRequire("2i5e5"),$jFrWw=parcelRequire("jFrWw");let CTRL_I=9,CTRL_J=10,CTRL_M=13,CTRL_CHAR_BOUNDARY=31,CHAR_SP=32,CHAR_QUOT=34,CHAR_NUM=35,CHAR_APOS=39,CHAR_PLUS=43,CHAR_COMMA=44,CHAR_HYPHEN=45,CHAR_PERIOD=46,CHAR_0=48,CHAR_1=49,CHAR_7=55,CHAR_9=57,CHAR_COLON=58,CHAR_EQUALS=61,CHAR_A=65,CHAR_E=69,CHAR_F=70,CHAR_T=84,CHAR_U=85,CHAR_Z=90,CHAR_LOWBAR=95,CHAR_a=97,CHAR_b=98,CHAR_e=101,CHAR_f=102,CHAR_i=105,CHAR_l=108,CHAR_n=110,CHAR_o=111,CHAR_r=114,CHAR_s=115,CHAR_t=116,CHAR_u=117,CHAR_x=120,CHAR_z=122,CHAR_LCUB=123,CHAR_RCUB=125,CHAR_LSQB=91,CHAR_BSOL=92,CHAR_RSQB=93,CHAR_DEL=127,SURROGATE_FIRST=55296,SURROGATE_LAST=57343,escapes={[CHAR_b]:"\b",[CHAR_t]:" ",[CHAR_n]:"\n",[CHAR_f]:"\f",[CHAR_r]:"\r",[CHAR_QUOT]:'"',[CHAR_BSOL]:"\\"},_type=Symbol(),_declared=Symbol(),hasOwnProperty=Object.prototype.hasOwnProperty,defineProperty=Object.defineProperty,descriptor={configurable:!0,enumerable:!0,writable:!0,value:void 0},INLINE_TABLE=Symbol(),TABLE=Symbol(),_contentType=Symbol(),INLINE_LIST=Symbol(),LIST=Symbol();try{let utilInspect=eval("require('util').inspect");_custom=utilInspect.custom;}catch(_){}let _inspect=_custom||"inspect";class BoxedBigInt{constructor(e){try{this.value=$parcel$global.BigInt.asIntN(64,e);}catch(e){this.value=null;}Object.defineProperty(this,_type,{value:INTEGER});}isNaN(){return null===this.value;}toString(){return this.value+"";}[_inspect](){return`[BigInt: ${this.toString()}]}`;}valueOf(){return this.value;}}let INTEGER=Symbol(),FLOAT=Symbol();}),parcelRequire.register("4nZHU",function(e,t){let r=1114112;class i extends Error{constructor(e,t,r){super("[ParserError] "+e,t,r),this.name="ParserError",this.code="ParserError",Error.captureStackTrace&&Error.captureStackTrace(this,i);}}class s{constructor(e){this.parser=e,this.buf="",this.returned=null,this.result=null,this.resultTable=null,this.resultArr=null;}}class n{constructor(){this.pos=0,this.col=0,this.line=0,this.obj={},this.ctx=this.obj,this.stack=[],this._buf="",this.char=null,this.ii=0,this.state=new s(this.parseStart);}parse(e){let t;if(0!==e.length&&null!=e.length){for(this._buf=e+"",this.ii=-1,this.char=-1;!1===t||this.nextChar();)t=this.runOne();this._buf=null;}}nextChar(){return 10===this.char&&(++this.line,this.col=-1),++this.ii,this.char=this._buf.codePointAt(this.ii),++this.pos,++this.col,this.haveBuffer();}haveBuffer(){return this.ii{let t=new Date(e);if(!isNaN(t))return t;throw TypeError("Invalid Datetime");};}),parcelRequire.register("6Z4Nw",function(e,t){var r=parcelRequire("g3mqj");class i extends Date{constructor(e){super(e+"Z"),this.isFloating=!0;}toISOString(){let e=`${this.getUTCFullYear()}-${r(2,this.getUTCMonth()+1)}-${r(2,this.getUTCDate())}`,t=`${r(2,this.getUTCHours())}:${r(2,this.getUTCMinutes())}:${r(2,this.getUTCSeconds())}.${r(3,this.getUTCMilliseconds())}`;return`${e}T${t}`;}}e.exports=e=>{let t=new i(e);if(!isNaN(t))return t;throw TypeError("Invalid Datetime");};}),parcelRequire.register("g3mqj",function(e,t){e.exports=(e,t)=>{for(t+="";t.length{let t=new s(e);if(!isNaN(t))return t;throw TypeError("Invalid Datetime");};}),parcelRequire.register("jFrWw",function(e,t){var r=parcelRequire("g3mqj");class i extends Date{constructor(e){super(`0000-01-01T${e}Z`),this.isTime=!0;}toISOString(){return`${r(2,this.getUTCHours())}:${r(2,this.getUTCMinutes())}:${r(2,this.getUTCSeconds())}.${r(3,this.getUTCMilliseconds())}`;}}e.exports=e=>{let t=new i(e);if(!isNaN(t))return t;throw TypeError("Invalid Datetime");};}),parcelRequire.register("2HCEc",function(e,t){function r(e,t){if(null==e.pos||null==e.line)return e;let r=e.message;if(r+=` at row ${e.line+1}, col ${e.col+1}, pos ${e.pos}: -`,t&&t.split){let i=t.split(/\n/),s=(Math.min(i.length,e.line+3)+"").length,n=" ";for(;n.length "+i[t]+"\n"+n+" ";for(let t=0;t=e.length)try{return n(a.finish());}catch(t){return o(i(t,e));}try{a.parse(e.slice(t,t+r)),setImmediate(s,t+r,r,n,o);}catch(t){o(i(t,e));}}t||(t={});let n=0,o=t.blocksize||40960,a=new r();return new Promise((e,t)=>{setImmediate(s,n,o,e,t);});}e.exports=s,r=parcelRequire("ajYAH"),i=parcelRequire("2HCEc");}),parcelRequire.register("4KfFr",function(e,t){var r;function i(e){return e?s(e):n(e);}function s(e){let t=new r();return e.setEncoding("utf8"),new Promise((r,i)=>{let s;function n(){if(h=!0,!s)try{r(t.finish());}catch(e){i(e);}}function o(e){l=!0,i(e);}function a(){let r;for(s=!0;null!==(r=e.read());)try{t.parse(r);}catch(e){return o(e);}if(s=!1,h)return n();l||e.once("readable",a);}let h=!1,l=!1;e.once("end",n),e.once("error",o),a();});}function n(){let e=new r();return new $6DZae$stream.Transform({objectMode:!0,transform(t,r,i){try{e.parse(t.toString(r));}catch(e){this.emit("error",e);}i();},flush(t){try{this.push(e.finish());}catch(e){this.emit("error",e);}t();}});}e.exports=i,r=parcelRequire("ajYAH");}),parcelRequire.register("1q8HD",function(e,t){function r(e){if(null===e)throw i("null");if(void 0===e)throw i("undefined");if("object"!=typeof e)throw i(typeof e);if("function"==typeof e.toJSON&&(e=e.toJSON()),null==e)return null;let t=c(e);if("table"!==t)throw i(t);return h("","",e);}function i(e){return Error("Can only stringify objects, not "+e);}function s(){return Error("Array values can't have mixed types");}function n(e){return Object.keys(e).filter(t=>l(e[t]));}function o(e){return Object.keys(e).filter(t=>!l(e[t]));}function a(e){let t=Array.isArray(e)?[]:Object.prototype.hasOwnProperty.call(e,"__proto__")?{["__proto__"]:void 0}:{};for(let r of Object.keys(e))!e[r]||"function"!=typeof e[r].toJSON||"toISOString"in e[r]?t[r]=e[r]:t[r]=e[r].toJSON();return t;}function h(e,t,r){i=n(r=a(r)),s=o(r);var i,s,h=[],l=t||"";i.forEach(e=>{var t=c(r[e]);"undefined"!==t&&"null"!==t&&h.push(l+u(e)+" = "+g(r[e],!0));}),h.length>0&&h.push("");var p=e&&i.length>0?t+" ":"";return s.forEach(t=>{h.push(I(e,p,t,r[t]));}),h.join("\n");}function l(e){switch(c(e)){case"undefined":case"null":case"integer":case"nan":case"float":case"boolean":case"string":case"datetime":return!0;case"array":return 0===e.length||"table"!==c(e[0]);case"table":return 0===Object.keys(e).length;default:return!1;}}function c(e){if(void 0===e)return"undefined";if(null===e)return"null";if("bigint"==typeof e||Number.isInteger(e)&&!Object.is(e,-0))return"integer";if("number"==typeof e)return"float";if("boolean"==typeof e)return"boolean";else if("string"==typeof e)return"string";else if("toISOString"in e)return isNaN(e)?"undefined":"datetime";else if(Array.isArray(e))return"array";else return"table";}function u(e){var t=e+"";return /^[-A-Za-z0-9_]+$/.test(t)?t:p(t);}function p(e){return'"'+y(e).replace(/"/g,'\\"')+'"';}function f(e){return"'"+e+"'";}function d(e,t){for(;t.length"\\u"+d(4,e.codePointAt(0).toString(16)));}function m(e){let t=e.split(/\n/).map(e=>y(e).replace(/"(?="")/g,'\\"')).join("\n");return'"'===t.slice(-1)&&(t+="\\\n"),'"""\n'+t+'"""';}function g(e,t){let r=c(e);return"string"===r&&(t&&/\n/.test(e)?r="string-multiline":!/[\b\t\n\f\r']/.test(e)&&/"/.test(e)&&(r="string-literal")),x(e,r);}function x(e,t){switch(t||(t=c(e)),t){case"string-multiline":return m(e);case"string":return p(e);case"string-literal":return f(e);case"integer":return w(e);case"float":return b(e);case"boolean":return v(e);case"datetime":return S(e);case"array":return T(e.filter(e=>"null"!==c(e)&&"undefined"!==c(e)&&"nan"!==c(e)));case"table":return E(e);default:throw i(t);}}function w(e){return(e+"").replace(/\B(?=(\d{3})+(?!\d))/g,"_");}function b(e){if(e===1/0)return"inf";if(e===-1/0)return"-inf";if(Object.is(e,NaN))return"nan";if(Object.is(e,-0))return"-0.0";var t=(e+"").split("."),r=t[0],i=t[1]||0;return w(r)+"."+i;}function v(e){return e+"";}function S(e){return e.toISOString();}function O(e){return"float"===e||"integer"===e;}function P(e){var t=c(e[0]);return e.every(e=>c(e)===t)?t:e.every(e=>O(c(e)))?"float":"mixed";}function N(e){let t=P(e);if("mixed"===t)throw s();return t;}function T(e){e=a(e);let t=N(e);var r="[",i=e.map(e=>x(e,t));return i.join(", ").length>60||/\n/.test(i)?r+="\n "+i.join(",\n ")+"\n":r+=" "+i.join(", ")+(i.length>0?" ":""),r+"]";}function E(e){e=a(e);var t=[];return Object.keys(e).forEach(r=>{t.push(u(r)+" = "+g(e[r],!1));}),"{ "+t.join(", ")+(t.length>0?" ":"")+"}";}function I(e,t,r,s){var n=c(s);if("array"===n)return R(e,t,r,s);if("table"===n)return A(e,t,r,s);throw i(n);}function R(e,t,r,s){N(s=a(s));var n=c(s[0]);if("table"!==n)throw i(n);var o=e+u(r),l="";return s.forEach(e=>{l.length>0&&(l+="\n"),l+=t+"[["+o+"]]\n"+h(o+".",t,e);}),l;}function A(e,t,r,i){var s=e+u(r),o="";return n(i).length>0&&(o+=t+"["+s+"]\n"),o+h(s+".",t,i);}e.exports=r,e.exports.value=x;}),parcelRequire.register("4TiQE",function(e,t){var r,i,s,n;async function o(e,t,r){r||(r=await a());let s=await i.findFromManifest(e,!1,r,t);return s;}function a(){return r.debug(`Getting manifest from ${p}/${f}@${d}`),i.getManifestFromRepo(p,f,u,d);}async function h(e){let t={cwd:e,env:{...process.env,...(n.IS_LINUX&&{LD_LIBRARY_PATH:$6DZae$path.join(e,"lib")})},silent:!0,listeners:{stdout(e){r.info(e.toString().trim());},stderr(e){r.error(e.toString().trim());}}};n.IS_WINDOWS?await s.exec("powershell",["./setup.ps1"],t):await s.exec("bash",["./setup.sh"],t);}async function l(e){let t=e.files[0].download_url;r.info(`Download from "${t}"`);let s="";try{let e;s=await i.downloadTool(t,void 0,u),r.info("Extract downloaded archive"),e=n.IS_WINDOWS?await i.extractZip(s):await i.extractTar(s),r.info("Execute installation script"),await h(e);}catch(e){throw e instanceof i.HTTPError&&(403===e.httpStatusCode||429===e.httpStatusCode?r.info(`Received HTTP status code ${e.httpStatusCode}. This usually indicates the rate limit has been exceeded`):r.info(e.message),e.stack&&r.debug(e.stack)),e;}}$parcel$export(e.exports,"MANIFEST_URL",()=>y),$parcel$export(e.exports,"findReleaseFromManifest",()=>o),$parcel$export(e.exports,"getManifest",()=>a),$parcel$export(e.exports,"installCpythonFromRelease",()=>l),r=parcelRequire("i5trn"),i=parcelRequire("92IYk"),s=parcelRequire("8hZvX"),n=parcelRequire("cg17v");let c=r.getInput("token"),u=c?"token "+c:void 0,p="actions",f="python-versions",d="main",y=`https://raw.githubusercontent.com/${p}/${f}/${d}/versions-manifest.json`;}),parcelRequire.register("92IYk",function(e,t){function r(e,t,r,s){return I(this,void 0,void 0,function*(){t=t||V.join(S(),W.default()),yield M.mkdirP(V.dirname(t)),D.debug("Downloading "+e),D.debug("Destination "+t);let n=3,o=O("TEST_DOWNLOAD_TOOL_RETRY_MIN_SECONDS",10),a=O("TEST_DOWNLOAD_TOOL_RETRY_MAX_SECONDS",20),h=new C.RetryHelper(n,o,a);return yield h.execute(()=>I(this,void 0,void 0,function*(){return yield i(e,t||"",r,s);}),e=>!(e instanceof B)||!e.httpStatusCode||!(e.httpStatusCode<500)||408===e.httpStatusCode||429===e.httpStatusCode);});}function i(e,t,r,i){return I(this,void 0,void 0,function*(){if(j.existsSync(t))throw Error(`Destination file path ${t} already exists`);let s=new k.HttpClient(Y,[],{allowRetries:!1});r&&(D.debug("set auth"),void 0===i&&(i={}),i.authorization=r);let n=yield s.get(e,i);if(200!==n.message.statusCode){let t=new B(n.message.statusCode);throw D.debug(`Failed to download from "${e}". Code(${n.message.statusCode}) Message(${n.message.statusMessage})`),t;}let o=q.promisify(H.pipeline),a=O("TEST_DOWNLOAD_TOOL_RESPONSE_MESSAGE_FACTORY",()=>n.message),h=a(),l=!1;try{return yield o(h,j.createWriteStream(t)),D.debug("download complete"),l=!0,t;}finally{if(!l){D.debug("download failed");try{yield M.rmRF(t);}catch(e){D.debug(`Failed to delete '${t}'. ${e.message}`);}}}});}function s(e,t,r){return I(this,void 0,void 0,function*(){$6DZae$assert.ok(Z,"extract7z() not supported on current OS"),$6DZae$assert.ok(e,'parameter "file" is required'),t=yield m(t);let i=process.cwd();if(process.chdir(t),r)try{let t=D.isDebug()?"-bb1":"-bb0",i=["x",t,"-bd","-sccUTF-8",e],s={silent:!0};yield A.exec(`"${r}"`,i,s);}finally{process.chdir(i);}else{let r=V.join($,"..","scripts","Invoke-7zdec.ps1").replace(/'/g,"''").replace(/"|\n|\r/g,""),s=e.replace(/'/g,"''").replace(/"|\n|\r/g,""),n=t.replace(/'/g,"''").replace(/"|\n|\r/g,""),o=`& '${r}' -Source '${s}' -Target '${n}'`,a=["-NoLogo","-Sta","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",o],h={silent:!0};try{let e=yield M.which("powershell",!0);yield A.exec(`"${e}"`,a,h);}finally{process.chdir(i);}}return t;});}function n(e,t,r="xz"){return I(this,void 0,void 0,function*(){let i;if(!e)throw Error("parameter 'file' is required");t=yield m(t),D.debug("Checking tar --version");let s="";yield A.exec("tar --version",[],{ignoreReturnCode:!0,silent:!0,listeners:{stdout:e=>s+=e.toString(),stderr:e=>s+=e.toString()}}),D.debug(s.trim());let n=s.toUpperCase().includes("GNU TAR");i=r instanceof Array?r:[r],D.isDebug()&&!r.includes("v")&&i.push("-v");let o=t,a=e;return Z&&n&&(i.push("--force-local"),o=t.replace(/\\/g,"/"),a=e.replace(/\\/g,"/")),n&&(i.push("--warning=no-unknown-keyword"),i.push("--overwrite")),i.push("-C",o,"-f",a),yield A.exec("tar",i),t;});}function o(e,t,r=[]){return I(this,void 0,void 0,function*(){let i;$6DZae$assert.ok(G,"extractXar() not supported on current OS"),$6DZae$assert.ok(e,'parameter "file" is required'),t=yield m(t),(i=r instanceof Array?r:[r]).push("-x","-C",t,"-f",e),D.isDebug()&&i.push("-v");let s=yield M.which("xar",!0);return yield A.exec(`"${s}"`,P(i)),t;});}function a(e,t){return I(this,void 0,void 0,function*(){if(!e)throw Error("parameter 'file' is required");return t=yield m(t),Z?yield h(e,t):yield l(e,t),t;});}function h(e,t){return I(this,void 0,void 0,function*(){let r=e.replace(/'/g,"''").replace(/"|\n|\r/g,""),i=t.replace(/'/g,"''").replace(/"|\n|\r/g,""),s=yield M.which("pwsh",!1);if(s){let e=`$ErrorActionPreference = 'Stop' ; try { Add-Type -AssemblyName System.IO.Compression.ZipFile } catch { } ; try { [System.IO.Compression.ZipFile]::ExtractToDirectory('${r}', '${i}', $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 '${i}' -Force } else { throw $_ } } ;`,t=["-NoLogo","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",e];D.debug("Using pwsh at path: "+s),yield A.exec(`"${s}"`,t);}else{let e=`$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 '${i}' -Force } else {[System.IO.Compression.ZipFile]::ExtractToDirectory('${r}', '${i}', $true) }`,t=["-NoLogo","-Sta","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",e],s=yield M.which("powershell",!0);D.debug("Using powershell at path: "+s),yield A.exec(`"${s}"`,t);}});}function l(e,t){return I(this,void 0,void 0,function*(){let r=yield M.which("unzip",!0),i=[e];D.isDebug()||i.unshift("-q"),i.unshift("-o"),yield A.exec(`"${r}"`,i,{cwd:t});});}function c(e,t,r,i){return I(this,void 0,void 0,function*(){if(r=F.clean(r)||r,i=i||L.arch(),D.debug(`Caching tool ${t} ${r} ${i}`),D.debug("source dir: "+e),!j.statSync(e).isDirectory())throw Error("sourceDir is not a directory");let s=yield g(t,r,i);for(let t of j.readdirSync(e)){let r=V.join(e,t);yield M.cp(r,s,{recursive:!0});}return x(t,r,i),s;});}function u(e,t,r,i,s){return I(this,void 0,void 0,function*(){if(i=F.clean(i)||i,s=s||L.arch(),D.debug(`Caching tool ${r} ${i} ${s}`),D.debug("source file: "+e),!j.statSync(e).isFile())throw Error("sourceFile is not a file");let n=yield g(r,i,s),o=V.join(n,t);return D.debug("destination file "+o),yield M.cp(e,o),x(r,i,s),n;});}function p(e,t,r){if(!e)throw Error("toolName parameter is required");if(!t)throw Error("versionSpec parameter is required");if(r=r||L.arch(),!w(t)){let i=f(e,r),s=b(i,t);t=s;}let i="";if(t){t=F.clean(t)||"";let s=V.join(v(),e,t,r);D.debug("checking cache: "+s),j.existsSync(s)&&j.existsSync(`${s}.complete`)?(D.debug(`Found tool in cache ${e} ${t} ${r}`),i=s):D.debug("not found");}return i;}function f(e,t){let r=[];t=t||L.arch();let i=V.join(v(),e);if(j.existsSync(i)){let e=j.readdirSync(i);for(let s of e)if(w(s)){let e=V.join(i,s,t||"");j.existsSync(e)&&j.existsSync(`${e}.complete`)&&r.push(s);}}return r;}function d(e,t,r,i="master"){return I(this,void 0,void 0,function*(){let s=[],n=`https://api.github.com/repos/${e}/${t}/git/trees/${i}`,o=new k.HttpClient("tool-cache"),a={};r&&(D.debug("set auth"),a.authorization=r);let h=yield o.getJson(n,a);if(!h.result)return s;let l="";for(let e of h.result.tree)if("versions-manifest.json"===e.path){l=e.url;break;}a.accept="application/vnd.github.VERSION.raw";let c=yield(yield o.get(l,a)).readBody();if(c){c=c.replace(/^\uFEFF/,"");try{s=JSON.parse(c);}catch(e){D.debug("Invalid json");}}return s;});}function y(e,t,r,i=L.arch()){return I(this,void 0,void 0,function*(){let s=yield U._findMatch(e,t,r,i);return s;});}function m(e){return I(this,void 0,void 0,function*(){return e||(e=V.join(S(),W.default())),yield M.mkdirP(e),e;});}function g(e,t,r){return I(this,void 0,void 0,function*(){let i=V.join(v(),e,F.clean(t)||t,r||"");D.debug("destination "+i);let s=`${i}.complete`;return yield M.rmRF(i),yield M.rmRF(s),yield M.mkdirP(i),i;});}function x(e,t,r){let i=V.join(v(),e,F.clean(t)||t,r||""),s=`${i}.complete`;j.writeFileSync(s,""),D.debug("finished caching tool");}function w(e){let t=F.clean(e)||"";D.debug("isExplicit: "+t);let r=null!=F.valid(t);return D.debug("explicit? "+r),r;}function b(e,t){let r="";D.debug(`evaluating ${e.length} versions`),e=e.sort((e,t)=>F.gt(e,t)?1:-1);for(let i=e.length-1;i>=0;i--){let s=e[i],n=F.satisfies(s,t);if(n){r=s;break;}}return r?D.debug("matched: "+r):D.debug("match not found"),r;}function v(){let e=process.env.RUNNER_TOOL_CACHE||"";return $6DZae$assert.ok(e,"Expected RUNNER_TOOL_CACHE to be defined"),e;}function S(){let e=process.env.RUNNER_TEMP||"";return $6DZae$assert.ok(e,"Expected RUNNER_TEMP to be defined"),e;}function O(e,t){let r=$parcel$global[e];return void 0!==r?r:t;}function P(e){return Array.from(new Set(e));}var N,T,E,I,R,A,C,$=$6DZae$path.resolve(__dirname,"../../node_modules/.pnpm/@actions+tool-cache@1.7.2/node_modules/@actions/tool-cache/lib");N=e.exports&&e.exports.__createBinding||(Object.create?function(e,t,r,i){void 0===i&&(i=r),Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[r];}});}:function(e,t,r,i){void 0===i&&(i=r),e[i]=t[r];}),T=e.exports&&e.exports.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),E=e.exports&&e.exports.__importStar||function(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 T(t,e),t;},I=e.exports&&e.exports.__awaiter||function(e,t,r,i){function s(e){return e instanceof r?e:new r(function(t){t(e);});}return new(r||(r=Promise))(function(r,n){function o(e){try{h(i.next(e));}catch(e){n(e);}}function a(e){try{h(i.throw(e));}catch(e){n(e);}}function h(e){e.done?r(e.value):s(e.value).then(o,a);}h((i=i.apply(e,t||[])).next());});},R=e.exports&&e.exports.__importDefault||function(e){return e&&e.__esModule?e:{default:e};},Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.evaluateVersions=e.exports.isExplicitVersion=e.exports.findFromManifest=e.exports.getManifestFromRepo=e.exports.findAllVersions=e.exports.find=e.exports.cacheFile=e.exports.cacheDir=e.exports.extractZip=e.exports.extractXar=e.exports.extractTar=e.exports.extract7z=e.exports.downloadTool=e.exports.HTTPError=void 0;let D=E(parcelRequire("i5trn")),M=E(parcelRequire("jtqY0")),j=E($6DZae$fs),U=E(parcelRequire("2hRWF")),L=E($6DZae$os),V=E($6DZae$path),k=E(parcelRequire("6W2GO")),F=E(parcelRequire("8eiWl")),H=E($6DZae$stream),q=E($6DZae$util),W=R(parcelRequire("1NS6t"));A=parcelRequire("8hZvX"),C=parcelRequire("3R3Be");class B extends Error{constructor(e){super("Unexpected HTTP response: "+e),this.httpStatusCode=e,Object.setPrototypeOf(this,new.target.prototype);}}e.exports.HTTPError=B;let Z="win32"===process.platform,G="darwin"===process.platform,Y="actions/tool-cache";e.exports.downloadTool=r,e.exports.extract7z=s,e.exports.extractTar=n,e.exports.extractXar=o,e.exports.extractZip=a,e.exports.cacheDir=c,e.exports.cacheFile=u,e.exports.find=p,e.exports.findAllVersions=f,e.exports.getManifestFromRepo=d,e.exports.findFromManifest=y,e.exports.isExplicitVersion=w,e.exports.evaluateVersions=b;}),parcelRequire.register("2hRWF",function(e,t){var r,i,s,n,o;function a(t,r,i,s){return n(this,void 0,void 0,function*(){let n,a,h;let l=$6DZae$os.platform();for(let n of i){let i=n.version;if(o.debug(`check ${i} satisfies ${t}`),c.satisfies(i,t)&&(!r||n.stable===r)&&(h=n.files.find(t=>{o.debug(`${t.arch}===${s} && ${t.platform}===${l}`);let r=t.arch===s&&t.platform===l;if(r&&t.platform_version){let i=e.exports._getOsVersion();r=i===t.platform_version||c.satisfies(i,t.platform_version);}return r;}))){o.debug("matched "+n.version),a=n;break;}}return a&&h&&((n=Object.assign({},a)).files=[h]),n;});}function h(){let t=$6DZae$os.platform(),r="";if("darwin"===t)r=$6DZae$child_process.execSync("sw_vers -productVersion").toString();else if("linux"===t){let t=e.exports._readLinuxVersionFile();if(t){let e=t.split("\n");for(let t of e){let 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;}function l(){let e="/etc/lsb-release",t="/etc/os-release",r="";return $6DZae$fs.existsSync(e)?r=$6DZae$fs.readFileSync(e).toString():$6DZae$fs.existsSync(t)&&(r=$6DZae$fs.readFileSync(t).toString()),r;}r=e.exports&&e.exports.__createBinding||(Object.create?function(e,t,r,i){void 0===i&&(i=r),Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[r];}});}:function(e,t,r,i){void 0===i&&(i=r),e[i]=t[r];}),i=e.exports&&e.exports.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),s=e.exports&&e.exports.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var s in e)"default"!==s&&Object.hasOwnProperty.call(e,s)&&r(t,e,s);return i(t,e),t;},n=e.exports&&e.exports.__awaiter||function(e,t,r,i){function s(e){return e instanceof r?e:new r(function(t){t(e);});}return new(r||(r=Promise))(function(r,n){function o(e){try{h(i.next(e));}catch(e){n(e);}}function a(e){try{h(i.throw(e));}catch(e){n(e);}}function h(e){e.done?r(e.value):s(e.value).then(o,a);}h((i=i.apply(e,t||[])).next());});},Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports._readLinuxVersionFile=e.exports._getOsVersion=e.exports._findMatch=void 0;let c=s(parcelRequire("8eiWl"));o=parcelRequire("i5trn"),e.exports._findMatch=a,e.exports._getOsVersion=h,e.exports._readLinuxVersionFile=l;}),parcelRequire.register("6W2GO",function(e,t){var r,i,s,n;let o;function a(e){let t=r.getProxyUrl(new URL(e));return t?t.href:"";}function h(e){return"https:"===new URL(e).protocol;}Object.defineProperty(e.exports,"__esModule",{value:!0}),r=parcelRequire("5AZu6"),function(e){e[e.OK=200]="OK",e[e.MultipleChoices=300]="MultipleChoices",e[e.MovedPermanently=301]="MovedPermanently",e[e.ResourceMoved=302]="ResourceMoved",e[e.SeeOther=303]="SeeOther",e[e.NotModified=304]="NotModified",e[e.UseProxy=305]="UseProxy",e[e.SwitchProxy=306]="SwitchProxy",e[e.TemporaryRedirect=307]="TemporaryRedirect",e[e.PermanentRedirect=308]="PermanentRedirect",e[e.BadRequest=400]="BadRequest",e[e.Unauthorized=401]="Unauthorized",e[e.PaymentRequired=402]="PaymentRequired",e[e.Forbidden=403]="Forbidden",e[e.NotFound=404]="NotFound",e[e.MethodNotAllowed=405]="MethodNotAllowed",e[e.NotAcceptable=406]="NotAcceptable",e[e.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",e[e.RequestTimeout=408]="RequestTimeout",e[e.Conflict=409]="Conflict",e[e.Gone=410]="Gone",e[e.TooManyRequests=429]="TooManyRequests",e[e.InternalServerError=500]="InternalServerError",e[e.NotImplemented=501]="NotImplemented",e[e.BadGateway=502]="BadGateway",e[e.ServiceUnavailable=503]="ServiceUnavailable",e[e.GatewayTimeout=504]="GatewayTimeout";}(i=e.exports.HttpCodes||(e.exports.HttpCodes={})),function(e){e.Accept="accept",e.ContentType="content-type";}(s=e.exports.Headers||(e.exports.Headers={})),function(e){e.ApplicationJson="application/json";}(n=e.exports.MediaTypes||(e.exports.MediaTypes={})),e.exports.getProxyUrl=a;let l=[i.MovedPermanently,i.ResourceMoved,i.SeeOther,i.TemporaryRedirect,i.PermanentRedirect],c=[i.BadGateway,i.ServiceUnavailable,i.GatewayTimeout],u=["OPTIONS","GET","DELETE","HEAD"],p=10,f=5;class d extends Error{constructor(e,t){super(e),this.name="HttpClientError",this.statusCode=t,Object.setPrototypeOf(this,d.prototype);}}e.exports.HttpClientError=d;class y{constructor(e){this.message=e;}readBody(){return new Promise(async(e,t)=>{let r=Buffer.alloc(0);this.message.on("data",e=>{r=Buffer.concat([r,e]);}),this.message.on("end",()=>{e(r.toString());});});}}e.exports.HttpClientResponse=y,e.exports.isHttps=h;class m{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 this.request("OPTIONS",e,null,t||{});}get(e,t){return this.request("GET",e,null,t||{});}del(e,t){return this.request("DELETE",e,null,t||{});}post(e,t,r){return this.request("POST",e,t,r||{});}patch(e,t,r){return this.request("PATCH",e,t,r||{});}put(e,t,r){return this.request("PUT",e,t,r||{});}head(e,t){return this.request("HEAD",e,null,t||{});}sendStream(e,t,r,i){return this.request(e,t,r,i);}async getJson(e,t={}){t[s.Accept]=this._getExistingOrDefaultHeader(t,s.Accept,n.ApplicationJson);let r=await this.get(e,t);return this._processResponse(r,this.requestOptions);}async postJson(e,t,r={}){let i=JSON.stringify(t,null,2);r[s.Accept]=this._getExistingOrDefaultHeader(r,s.Accept,n.ApplicationJson),r[s.ContentType]=this._getExistingOrDefaultHeader(r,s.ContentType,n.ApplicationJson);let o=await this.post(e,i,r);return this._processResponse(o,this.requestOptions);}async putJson(e,t,r={}){let i=JSON.stringify(t,null,2);r[s.Accept]=this._getExistingOrDefaultHeader(r,s.Accept,n.ApplicationJson),r[s.ContentType]=this._getExistingOrDefaultHeader(r,s.ContentType,n.ApplicationJson);let o=await this.put(e,i,r);return this._processResponse(o,this.requestOptions);}async patchJson(e,t,r={}){let i=JSON.stringify(t,null,2);r[s.Accept]=this._getExistingOrDefaultHeader(r,s.Accept,n.ApplicationJson),r[s.ContentType]=this._getExistingOrDefaultHeader(r,s.ContentType,n.ApplicationJson);let o=await this.patch(e,i,r);return this._processResponse(o,this.requestOptions);}async request(e,t,r,s){let n;if(this._disposed)throw Error("Client has already been disposed.");let o=new URL(t),a=this._prepareRequest(e,o,s),h=this._allowRetries&&-1!=u.indexOf(e)?this._maxRetries+1:1,p=0;for(;p0;){let i=n.message.headers.location;if(!i)break;let h=new URL(i);if("https:"==o.protocol&&o.protocol!=h.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(await n.readBody(),h.hostname!==o.hostname)for(let e in s)"authorization"===e.toLowerCase()&&delete s[e];a=this._prepareRequest(e,h,s),n=await this.requestRaw(a,r),t--;}if(-1==c.indexOf(n.message.statusCode))break;(p+=1){let s=function(e,t){e&&i(e),r(t);};this.requestRawWithCallback(e,t,s);});}requestRawWithCallback(e,t,r){let i;"string"==typeof t&&(e.options.headers["Content-Length"]=Buffer.byteLength(t,"utf8"));let s=!1,n=(e,t)=>{s||(s=!0,r(e,t));},o=e.httpModule.request(e.options,e=>{n(null,new y(e));});o.on("socket",e=>{i=e;}),o.setTimeout(this._socketTimeout||18e4,()=>{i&&i.end(),n(Error("Request timeout: "+e.options.path),null);}),o.on("error",function(e){n(e,null);}),t&&"string"==typeof t&&o.write(t,"utf8"),t&&"string"!=typeof t?(t.on("close",function(){o.end();}),t.pipe(o)):o.end();}getAgent(e){let t=new URL(e);return this._getAgent(t);}_prepareRequest(e,t,r){let i={};i.parsedUrl=t;let s="https:"===i.parsedUrl.protocol;i.httpModule=s?$6DZae$https:$6DZae$http;let n=s?443:80;return i.options={},i.options.host=i.parsedUrl.hostname,i.options.port=i.parsedUrl.port?parseInt(i.parsedUrl.port):n,i.options.path=(i.parsedUrl.pathname||"")+(i.parsedUrl.search||""),i.options.method=e,i.options.headers=this._mergeHeaders(r),null!=this.userAgent&&(i.options.headers["user-agent"]=this.userAgent),i.options.agent=this._getAgent(i.parsedUrl),this.handlers&&this.handlers.forEach(e=>{e.prepareRequest(i.options);}),i;}_mergeHeaders(e){let t=e=>Object.keys(e).reduce((t,r)=>(t[r.toLowerCase()]=e[r],t),{});return this.requestOptions&&this.requestOptions.headers?Object.assign({},t(this.requestOptions.headers),t(e)):t(e||{});}_getExistingOrDefaultHeader(e,t,r){let i;let s=e=>Object.keys(e).reduce((t,r)=>(t[r.toLowerCase()]=e[r],t),{});return this.requestOptions&&this.requestOptions.headers&&(i=s(this.requestOptions.headers)[t]),e[t]||i||r;}_getAgent(e){let t;let i=r.getProxyUrl(e),s=i&&i.hostname;if(this._keepAlive&&s&&(t=this._proxyAgent),this._keepAlive&&!s&&(t=this._agent),t)return t;let n="https:"===e.protocol,a=100;if(this.requestOptions&&(a=this.requestOptions.maxSockets||$6DZae$http.globalAgent.maxSockets),s){let e;o||(o=parcelRequire("k1Uj2"));let r={maxSockets:a,keepAlive:this._keepAlive,proxy:{...((i.username||i.password)&&{proxyAuth:`${i.username}:${i.password}`}),host:i.hostname,port:i.port}},s="https:"===i.protocol;t=(e=n?s?o.httpsOverHttps:o.httpsOverHttp:s?o.httpOverHttps:o.httpOverHttp)(r),this._proxyAgent=t;}if(this._keepAlive&&!t){let e={keepAlive:this._keepAlive,maxSockets:a};t=n?new $6DZae$https.Agent(e):new $6DZae$http.Agent(e),this._agent=t;}return t||(t=n?$6DZae$https.globalAgent:$6DZae$http.globalAgent),n&&this._ignoreSslError&&(t.options=Object.assign(t.options||{},{rejectUnauthorized:!1})),t;}_performExponentialBackoff(e){e=Math.min(p,e);let t=f*Math.pow(2,e);return new Promise(e=>setTimeout(()=>e(),t));}static dateTimeDeserializer(e,t){if("string"==typeof t){let e=new Date(t);if(!isNaN(e.valueOf()))return e;}return t;}async _processResponse(e,t){return new Promise(async(r,s)=>{let n,o;let a=e.message.statusCode,h={statusCode:a,result:null,headers:{}};a==i.NotFound&&r(h);try{(o=await e.readBody())&&o.length>0&&(n=t&&t.deserializeDates?JSON.parse(o,m.dateTimeDeserializer):JSON.parse(o),h.result=n),h.headers=e.message.headers;}catch(e){}if(a>299){let e;e=n&&n.message?n.message:o&&o.length>0?o:"Failed request: ("+a+")";let t=new d(e,a);t.result=h.result,s(t);}else r(h);});}}e.exports.HttpClient=m;}),parcelRequire.register("5AZu6",function(e,t){function r(e){let t,r,s="https:"===e.protocol;return i(e)||(r=s?process.env.https_proxy||process.env.HTTPS_PROXY:process.env.http_proxy||process.env.HTTP_PROXY)&&(t=new URL(r)),t;}function i(e){let t;if(!e.hostname)return!1;let r=process.env.no_proxy||process.env.NO_PROXY||"";if(!r)return!1;e.port?t=+e.port:"http:"===e.protocol?t=80:"https:"===e.protocol&&(t=443);let i=[e.hostname.toUpperCase()];for(let e of("number"==typeof t&&i.push(`${i[0]}:${t}`),r.split(",").map(e=>e.trim().toUpperCase()).filter(e=>e)))if(i.some(t=>t===e))return!0;return!1;}Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.getProxyUrl=r,e.exports.checkBypass=i;}),parcelRequire.register("3R3Be",function(e,t){var r=e.exports&&e.exports.__createBinding||(Object.create?function(e,t,r,i){void 0===i&&(i=r),Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[r];}});}:function(e,t,r,i){void 0===i&&(i=r),e[i]=t[r];}),i=e.exports&&e.exports.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),s=e.exports&&e.exports.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var s in e)"default"!==s&&Object.hasOwnProperty.call(e,s)&&r(t,e,s);return i(t,e),t;},n=e.exports&&e.exports.__awaiter||function(e,t,r,i){function s(e){return e instanceof r?e:new r(function(t){t(e);});}return new(r||(r=Promise))(function(r,n){function o(e){try{h(i.next(e));}catch(e){n(e);}}function a(e){try{h(i.throw(e));}catch(e){n(e);}}function h(e){e.done?r(e.value):s(e.value).then(o,a);}h((i=i.apply(e,t||[])).next());});};Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.RetryHelper=void 0;let o=s(parcelRequire("i5trn"));class a{constructor(e,t,r){if(e<1)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 n(this,void 0,void 0,function*(){let r=1;for(;rsetTimeout(t,1e3*e));});}}e.exports.RetryHelper=a;}),parcelRequire.register("1xx2j",function(e,t){var r,i,s,n,o;async function a(e,t,s,o,a){let c,u,p="",f="",d=l(e);if(o&&(u=await r.getAvailablePyPyVersions())&&u.length>0){let e=r.findRelease(u,d.pythonVersion,d.pypyVersion,t,!1);e?(n.info(`Resolved as PyPy ${e.resolvedPyPyVersion} with Python (${e.resolvedPythonVersion})`),d.pythonVersion=e.resolvedPythonVersion,d.pypyVersion=e.resolvedPyPyVersion):n.info(`Failed to resolve PyPy ${d.pypyVersion} with Python (${d.pythonVersion}) from manifest`);}({installDir:c,resolvedPythonVersion:f,resolvedPyPyVersion:p}=h(d.pythonVersion,d.pypyVersion,t)),c||({installDir:c,resolvedPythonVersion:f,resolvedPyPyVersion:p}=await r.installPyPy(d.pypyVersion,d.pythonVersion,t,a,u));let y=i.IS_WINDOWS?"Scripts":"bin",m=$6DZae$path.join(c,y),g=i.IS_WINDOWS?".exe":"",x=$6DZae$path.join(i.IS_WINDOWS?c:m,"python"+g),w=r.getPyPyBinaryPath(c);return s&&(n.exportVariable("pythonLocation",c),n.exportVariable("Python_ROOT_DIR",c),n.exportVariable("Python2_ROOT_DIR",c),n.exportVariable("Python3_ROOT_DIR",c),n.exportVariable("PKG_CONFIG_PATH",w+"/lib/pkgconfig"),n.addPath(w),n.addPath(m)),n.setOutput("python-version","pypy"+p),n.setOutput("python-path",x),{resolvedPyPyVersion:p,resolvedPythonVersion:f};}function h(e,t,r){let a="",h="",l=i.IS_WINDOWS?c(e):o.find("PyPy",e,r);if(l){h=(0,i.getPyPyVersionFromPath)(l),a=(0,i.readExactPyPyVersionFile)(l);let e=s.satisfies(a,t);e||(l=null,a="",h="");}return l||n.info(`PyPy version ${e} (${t}) was not found in the local cache`),{installDir:l,resolvedPythonVersion:h,resolvedPyPyVersion:a};}function l(e){let t;let s=e.split("-").filter(e=>!!e);if(/^(pypy)(.+)/.test(s[0])){let e=s[0].replace("pypy","");s.splice(0,1,"pypy",e);}if(s.length<2||"pypy"!=s[0])throw Error("Invalid 'version' property for PyPy. PyPy version should be specified as 'pypy' or 'pypy-'. See README for examples and documentation.");let n=s[1];if(t=s.length>2?r.pypyVersionToSemantic(s[2]):"x",!(0,i.validateVersion)(n)||!(0,i.validateVersion)(t))throw Error("Invalid 'version' property for PyPy. Both Python version and PyPy versions should satisfy SemVer notation. See README for examples and documentation.");if(!(0,i.validatePythonVersionFormatForPyPy)(n))throw Error("Invalid format of Python version for PyPy. Python version should be specified in format 'x.y'. See README for examples and documentation.");return{pypyVersion:t,pythonVersion:n};}function c(e){let t="";return(0,i.WINDOWS_ARCHS).forEach(r=>t=t||o.find("PyPy",e,r)),t;}$parcel$export(e.exports,"findPyPyVersion",()=>a),r=parcelRequire("2S3n1"),i=parcelRequire("cg17v"),s=parcelRequire("e5sHV"),n=parcelRequire("i5trn"),o=parcelRequire("92IYk");}),parcelRequire.register("2S3n1",function(e,t){var r,i,s,n,o,a;async function h(e,t,s,n,o){let h;if(!(o=o??(await l()))||0===o.length)throw Error("No release was found in PyPy version.json");let d=p(o,t,e,s,!1);if(!n||d&&d.foundAsset||(r.info([`Stable PyPy version ${t} (${e}) with arch ${s} not found`,"Trying pre-release versions"].join($6DZae$os.EOL)),d=p(o,t,e,s,!0)),!d||!d.foundAsset)throw Error(`PyPy version ${t} (${e}) with arch ${s} not found`);let{foundAsset:y,resolvedPythonVersion:m,resolvedPyPyVersion:g}=d,x=""+y.download_url;r.info(`Downloading PyPy from "${x}" ...`);try{let e=await i.downloadTool(x);r.info("Extracting downloaded archive..."),h=a.IS_WINDOWS?await i.extractZip(e):await i.extractTar(e,void 0,"x");let t=$parcel$interopDefault($6DZae$fs).readdirSync(h)[0],n=$6DZae$path.join(h,t),o=n;(0,a.isNightlyKeyword)(g)||(o=await i.cacheDir(n,"PyPy",m,s)),(0,a.writeExactPyPyVersionFile)(o,g);let l=f(o);return await c(l,m),await u(l),{installDir:o,resolvedPythonVersion:m,resolvedPyPyVersion:g};}catch(e){throw e instanceof Error&&(e instanceof i.HTTPError&&(403===e.httpStatusCode||429===e.httpStatusCode)?r.info(`Received HTTP status code ${e.httpStatusCode}. This usually indicates the rate limit has been exceeded`):r.info(e.message),void 0!==e.stack&&r.debug(e.stack)),e;}}async function l(){let e="https://downloads.python.org/pypy/versions.json",t=new n.HttpClient("tool-cache"),r=await t.getJson(e);if(!r.result)throw Error(`Unable to retrieve the list of available PyPy versions from '${e}'`);return r.result;}async function c(e,t){let i=s.coerce(t),n=s.major(i),o=s.minor(i),h=2===n?"":"3",l=`${n}.${o}`,c=a.IS_WINDOWS?".exe":"";r.info("Creating symlinks..."),(0,a.createSymlinkInFolder)(e,`pypy${h}${c}`,`python${n}${c}`,!0),(0,a.createSymlinkInFolder)(e,`pypy${h}${c}`,"python"+c,!0),(0,a.createSymlinkInFolder)(e,`pypy${h}${c}`,`pypy${l}${c}`,!0);}async function u(e){r.info("Installing and updating pip");let t=$6DZae$path.join(e,"python");await o.exec(`${t} -m ensurepip`),await o.exec(`${e}/python -m pip install --ignore-installed pip`);}function p(e,t,r,i,n){let o={includePrerelease:n},h=e.filter(e=>{let n=s.satisfies(s.coerce(e.python_version),t),h=(0,a.isNightlyKeyword)(r)&&(0,a.isNightlyKeyword)(e.pypy_version),l=h||s.satisfies(d(e.pypy_version),r,o),c=e.files&&(a.IS_WINDOWS?y(e,i):m(e,i,process.platform));return n&&l&&c;});if(0===h.length)return null;let l=h.sort((e,t)=>s.compare(s.coerce(d(t.pypy_version)),s.coerce(d(e.pypy_version)))||s.compare(s.coerce(t.python_version),s.coerce(e.python_version))),c=l[0],u=a.IS_WINDOWS?g(c,i):x(c,i,process.platform);return{foundAsset:u,resolvedPythonVersion:c.python_version,resolvedPyPyVersion:c.pypy_version.trim()};}function f(e){let t=$6DZae$path.join(e,"bin");return a.IS_WINDOWS?e:t;}function d(e){let t=/(\d+\.\d+\.\d+)((?:a|b|rc))(\d*)/g;return e.replace(t,"$1-$2.$3");}function y(e,t){return t=w(t),e.files.some(e=>(0,a.WINDOWS_PLATFORMS).includes(e.platform)&&e.arch===t);}function m(e,t,r){return e.files.some(e=>e.arch===t&&e.platform===r);}function g(e,t){return t=w(t),e.files.find(e=>(0,a.WINDOWS_PLATFORMS).includes(e.platform)&&e.arch===t);}function x(e,t,r){return e.files.find(e=>e.arch===t&&e.platform===r);}function w(e){return"x32"===e&&(e="x86"),e;}$parcel$export(e.exports,"installPyPy",()=>h),$parcel$export(e.exports,"getAvailablePyPyVersions",()=>l),$parcel$export(e.exports,"findRelease",()=>p),$parcel$export(e.exports,"getPyPyBinaryPath",()=>f),$parcel$export(e.exports,"pypyVersionToSemantic",()=>d),r=parcelRequire("i5trn"),i=parcelRequire("92IYk"),s=parcelRequire("e5sHV"),n=parcelRequire("6W2GO"),o=parcelRequire("8hZvX"),a=parcelRequire("cg17v");}); -//# sourceMappingURL=actions_python.e4ef0efb.js.map \ No newline at end of file diff --git a/dist/actions/actions_python.e4ef0efb.js.map b/dist/actions/actions_python.e4ef0efb.js.map deleted file mode 100644 index 4c982f25..00000000 --- a/dist/actions/actions_python.e4ef0efb.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"actions_python.e4ef0efb.js","names":["u","e","startsWith","p","t","o","h","IS_MAC","process","env","AGENT_TOOLSDIRECTORY","l","trim","RUNNER_TOOL_CACHE","n","debug","r","i","findPyPyVersion","d","resolvedPyPyVersion","resolvedPythonVersion","s","info","useCpythonVersion","version","impl","a","GITHUB_ACTIONS","f","join","c","pathExists","warning","IS_WINDOWS","$6DZae$path","y","m","getManifest","findReleaseFromManifest","g","find","files","length","installCpythonFromRelease","getOSInfo","Error","osName","osVersion","MANIFEST_URL","$6DZae$os","EOL","x","w","b","exportVariable","IS_LINUX","LD_LIBRARY_PATH","split","includes","addPath","basename","dirname","major","minor","APPDATA","v","setOutput","replace","sep","findIndex","$parcel$interopDefault","$6DZae$fs","existsSync","symlinkSync","chmodSync","validRange","readFileSync","toString","writeFileSync","test","stdout","getExecOutput","silent","message","parcelRequire","platform","exports","async","stream","prettyError","$parcel$global","Buffer","isBuffer","parse","finish","_custom","isDigit","CHAR_0","CHAR_9","isHexit","CHAR_A","CHAR_F","CHAR_a","CHAR_f","isBit","CHAR_1","isOctit","CHAR_7","isAlphaNumQuoteHyphen","CHAR_Z","CHAR_z","CHAR_APOS","CHAR_QUOT","CHAR_LOWBAR","CHAR_HYPHEN","isAlphaNumHyphen","hasKey","hasOwnProperty","call","defineProperty","descriptor","InlineTable","Object","defineProperties","_type","value","INLINE_TABLE","isInlineTable","Table","TABLE","_declared","writable","isTable","InlineList","INLINE_LIST","_contentType","isInlineList","List","LIST","isList","Integer","is","BigInt","Number","isSafeInteger","BoxedBigInt","isNaN","INTEGER","_inspect","isInteger","Float","FLOAT","isFloat","tomlType","Date","makeParserClass","constructor","ctx","obj","atEndOfWord","char","CHAR_NUM","CTRL_I","CHAR_SP","atEndOfLine","END","CTRL_J","CTRL_M","parseStart","CHAR_LSQB","parseTableOrList","parseComment","callNow","parseAssignStatement","error","TomlError","parseWhitespaceToEOL","goto","return","parseAssign","recordAssignStatement","key","pop","valueOf","parseKeyword","recordAssignKeyword","state","resultTable","push","parseAssignKeywordPreDot","CHAR_PERIOD","next","parseAssignKeywordPostDot","parseAssignEqual","CHAR_EQUALS","parseAssignPreValue","parseValue","recordAssignValue","returnNow","nextChar","parseTable","parseList","parseTableNext","parseTableMore","CHAR_RSQB","parseListNext","parseListMore","parseListEnd","parseDoubleString","parseSingleString","CHAR_PLUS","parseNumberSign","CHAR_i","parseInf","CHAR_n","parseNan","parseNumberOrDateTime","CHAR_t","parseBoolean","parseInlineList","recordValue","CHAR_LCUB","parseInlineTable","parseInf2","buf","parseNan2","NaN","parseBasicString","parseLiteralString","parseBareKey","consume","parseLiteralMultiStringMaybe","CHAR_DEL","CTRL_CHAR_BOUNDARY","errorControlCharInString","parseLiteralMultiString","parseLiteralMultiStringContent","parseLiteralMultiEnd","parseLiteralMultiEnd2","parseMultiStringMaybe","CHAR_BSOL","parseEscape","recordEscapeReplacement","parseMultiString","parseMultiStringContent","parseMultiEscape","recordMultiEscapeReplacement","parseMultiEnd","parseMultiEnd2","parseMultiTrim","parsePreMultiTrim","escapes","CHAR_u","parseSmallUnicode","parseUnicodeReturn","CHAR_U","parseLargeUnicode","parseInt","SURROGATE_FIRST","SURROGATE_LAST","String","fromCodePoint","wrap","parseMaybeSignedInfOrNan","parseNoUnder","parseNumberIntegerStart","parseNumberIntegerExponentOrDecimal","parseNumberInteger","parseNumberFloat","CHAR_E","CHAR_e","parseNumberExponentSign","parseNoUnderHexOctBinLiteral","parseNumberExponent","parseNumberBaseOrDateTime","parseNumberOrDateTimeOnly","parseDateTime","CHAR_COLON","parseOnlyTimeHour","parseDateTimeOnly","CHAR_b","parseIntegerBin","CHAR_o","parseIntegerOct","CHAR_x","parseIntegerHex","result","parseDateMonth","parseDateDay","CHAR_T","parseStartTimeHour","$2i5e5","parseTimeHour","parseTimeMin","parseTimeSec","parseTimeZoneOrFraction","parseOnlyTimeMin","parseOnlyTimeSec","parseOnlyTimeFractionMaybe","$jFrWw","parseOnlyTimeFraction","parseDateTimeFraction","parseTimeZoneHour","$aISYe","$6Z4Nw","parseTimeZoneSep","parseTimeZoneMin","parseTrue_r","parseFalse_a","CHAR_r","parseTrue_u","parseTrue_e","parseFalse_l","CHAR_l","parseFalse_s","CHAR_s","parseFalse_e","resultArr","recordInlineListValue","parseInlineListNext","CHAR_COMMA","CHAR_RCUB","recordInlineTableValue","parseInlineTableNext","module","name","captureStackTrace","fromTOML","wrapped","code","Symbol","prototype","configurable","enumerable","utilInspect","eval","custom","_","asIntN","parser","returned","pos","col","line","stack","_buf","ii","runOne","codePointAt","haveBuffer","JSON","stringify","TypeError","isFloating","toISOString","getUTCFullYear","getUTCMonth","getUTCDate","getUTCHours","getUTCMinutes","getUTCSeconds","getUTCMilliseconds","isDate","isTime","Math","min","max","slice","setImmediate","blocksize","Promise","setEncoding","read","once","$6DZae$stream","Transform","objectMode","transform","emit","flush","toJSON","keys","filter","Array","isArray","forEach","I","map","S","T","E","O","P","every","N","R","A","findFromManifest","getManifestFromRepo","cwd","listeners","stderr","exec","download_url","downloadTool","extractZip","extractTar","HTTPError","httpStatusCode","getInput","V","W","default","M","mkdirP","D","C","RetryHelper","execute","B","j","k","HttpClient","Y","allowRetries","authorization","get","statusCode","statusMessage","q","promisify","H","pipeline","createWriteStream","rmRF","$6DZae$assert","ok","Z","chdir","isDebug","$","which","ignoreReturnCode","toUpperCase","G","unshift","F","clean","L","arch","statSync","isDirectory","readdirSync","cp","recursive","isFile","getJson","tree","path","url","accept","readBody","U","_findMatch","valid","sort","gt","satisfies","RUNNER_TEMP","from","Set","$6DZae$util","setPrototypeOf","new","target","extract7z","extractXar","cacheDir","cacheFile","findAllVersions","isExplicitVersion","evaluateVersions","stable","platform_version","_getOsVersion","assign","$6DZae$child_process","execSync","_readLinuxVersionFile","getProxyUrl","URL","href","protocol","OK","MultipleChoices","MovedPermanently","ResourceMoved","SeeOther","NotModified","UseProxy","SwitchProxy","TemporaryRedirect","PermanentRedirect","BadRequest","Unauthorized","PaymentRequired","Forbidden","NotFound","MethodNotAllowed","NotAcceptable","ProxyAuthenticationRequired","RequestTimeout","Conflict","Gone","TooManyRequests","InternalServerError","NotImplemented","BadGateway","ServiceUnavailable","GatewayTimeout","HttpCodes","Accept","ContentType","Headers","ApplicationJson","MediaTypes","HttpClientError","alloc","on","concat","HttpClientResponse","isHttps","_ignoreSslError","_allowRedirects","_allowRedirectDowngrade","_maxRedirects","_allowRetries","_maxRetries","_keepAlive","_disposed","userAgent","handlers","requestOptions","ignoreSslError","_socketTimeout","socketTimeout","allowRedirects","allowRedirectDowngrade","maxRedirects","keepAlive","maxRetries","options","request","del","post","patch","put","head","sendStream","_getExistingOrDefaultHeader","_processResponse","postJson","putJson","patchJson","_prepareRequest","indexOf","requestRaw","canHandleAuthentication","handleAuthentication","headers","location","hostname","toLowerCase","_performExponentialBackoff","dispose","_agent","destroy","requestRawWithCallback","byteLength","httpModule","setTimeout","end","write","pipe","getAgent","_getAgent","parsedUrl","$6DZae$https","$6DZae$http","host","port","pathname","search","method","_mergeHeaders","agent","prepareRequest","reduce","_proxyAgent","maxSockets","globalAgent","proxy","username","password","proxyAuth","httpsOverHttps","httpsOverHttp","httpOverHttps","httpOverHttp","Agent","rejectUnauthorized","pow","dateTimeDeserializer","deserializeDates","https_proxy","HTTPS_PROXY","http_proxy","HTTP_PROXY","no_proxy","NO_PROXY","some","checkBypass","maxAttempts","minSeconds","floor","maxSeconds","getSleepAmount","sleep","random","getAvailablePyPyVersions","findRelease","pythonVersion","pypyVersion","installDir","installPyPy","getPyPyBinaryPath","getPyPyVersionFromPath","readExactPyPyVersionFile","splice","pypyVersionToSemantic","validateVersion","validatePythonVersionFormatForPyPy","WINDOWS_ARCHS","foundAsset","isNightlyKeyword","writeExactPyPyVersionFile","coerce","createSymlinkInFolder","includePrerelease","python_version","pypy_version","compare","WINDOWS_PLATFORMS"],"sources":["../../","../../src/python/actions_python.ts","../../node_modules/.pnpm/github.com+aminya+setup-python@a783db655c6e40317e2c0c96f9d162d9c9f4a751/node_modules/setup-python/src/find-python.ts","../../node_modules/.pnpm/github.com+aminya+setup-python@a783db655c6e40317e2c0c96f9d162d9c9f4a751/node_modules/setup-python/src/utils.ts","../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/toml.js","../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/parse.js","../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/parse-string.js","../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/lib/toml-parser.js","../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/lib/parser.js","../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/lib/create-datetime.js","../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/lib/create-datetime-float.js","../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/lib/format-num.js","../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/lib/create-date.js","../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/lib/create-time.js","../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/parse-pretty-error.js","../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/parse-async.js","../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/parse-stream.js","../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/stringify.js","../../node_modules/.pnpm/github.com+aminya+setup-python@a783db655c6e40317e2c0c96f9d162d9c9f4a751/node_modules/setup-python/src/install-python.ts","../../node_modules/.pnpm/@actions+tool-cache@1.7.2/node_modules/@actions/tool-cache/lib/tool-cache.js","../../node_modules/.pnpm/@actions+tool-cache@1.7.2/node_modules/@actions/tool-cache/src/tool-cache.ts","../../node_modules/.pnpm/@actions+tool-cache@1.7.2/node_modules/@actions/tool-cache/lib/manifest.js","../../node_modules/.pnpm/@actions+tool-cache@1.7.2/node_modules/@actions/tool-cache/src/manifest.ts","../../node_modules/.pnpm/@actions+http-client@1.0.11/node_modules/@actions/http-client/index.js","../../node_modules/.pnpm/@actions+http-client@1.0.11/node_modules/@actions/http-client/proxy.js","../../node_modules/.pnpm/@actions+tool-cache@1.7.2/node_modules/@actions/tool-cache/lib/retry-helper.js","../../node_modules/.pnpm/@actions+tool-cache@1.7.2/node_modules/@actions/tool-cache/src/retry-helper.ts","../../node_modules/.pnpm/github.com+aminya+setup-python@a783db655c6e40317e2c0c96f9d162d9c9f4a751/node_modules/setup-python/src/find-pypy.ts","../../node_modules/.pnpm/github.com+aminya+setup-python@a783db655c6e40317e2c0c96f9d162d9c9f4a751/node_modules/setup-python/src/install-pypy.ts"],"sourcesContent":["var $6DZae$path = require(\"path\");\nvar $6DZae$os = require(\"os\");\nvar $6DZae$fs = require(\"fs\");\nvar $6DZae$stream = require(\"stream\");\nvar $6DZae$util = require(\"util\");\nvar $6DZae$assert = require(\"assert\");\nvar $6DZae$child_process = require(\"child_process\");\nvar $6DZae$http = require(\"http\");\nvar $6DZae$https = require(\"https\");\n\nfunction $parcel$export(e, n, v, s) {\n Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});\n}\nfunction $parcel$interopDefault(a) {\n return a && a.__esModule ? a.default : a;\n}\nvar $parcel$global =\ntypeof globalThis !== 'undefined'\n ? globalThis\n : typeof self !== 'undefined'\n ? self\n : typeof window !== 'undefined'\n ? window\n : typeof global !== 'undefined'\n ? global\n : {};\nvar parcelRequire = $parcel$global[\"parcelRequire810d\"];\nparcelRequire.register(\"8MXq9\", function(module, exports) {\n\n$parcel$export(module.exports, \"setupActionsPython\", () => $e56280cbf4490748$export$5655ebf4048b68d5);\n\nvar $8qig8 = parcelRequire(\"8qig8\");\n\nvar $1xx2j = parcelRequire(\"1xx2j\");\n\nvar $7Lz0k = parcelRequire(\"7Lz0k\");\n\nvar $i5trn = parcelRequire(\"i5trn\");\n\nvar $eq4yW = parcelRequire(\"eq4yW\");\n\nvar $2W4C2 = parcelRequire(\"2W4C2\");\n\nvar $cg17v = parcelRequire(\"cg17v\");\n\nvar $bOuKS = parcelRequire(\"bOuKS\");\n\nvar $e56280cbf4490748$var$$parcel$__dirname = $6DZae$path.resolve(__dirname, \"../../src/python\");\nfunction $e56280cbf4490748$var$isPyPyVersion(versionSpec) {\n return versionSpec.startsWith(\"pypy\");\n}\nconst $e56280cbf4490748$var$checkLatest = false;\nasync function $e56280cbf4490748$export$5655ebf4048b68d5(version, _setupDir, arch) {\n if (0, $cg17v.IS_MAC) process.env.AGENT_TOOLSDIRECTORY = \"/Users/runner/hostedtoolcache\";\n const agent_toolsdirectory = process.env.AGENT_TOOLSDIRECTORY?.trim();\n if (typeof agent_toolsdirectory === \"string\" && agent_toolsdirectory !== \"\") process.env.RUNNER_TOOL_CACHE = process.env.AGENT_TOOLSDIRECTORY;\n (0, $i5trn.debug)(`Python is expected to be installed into ${process.env.RUNNER_TOOL_CACHE}`);\n if (version) {\n let pythonVersion;\n if ($e56280cbf4490748$var$isPyPyVersion(version)) {\n const installed = await (0, $1xx2j.findPyPyVersion)(version, arch, true, $e56280cbf4490748$var$checkLatest, false);\n pythonVersion = `${installed.resolvedPyPyVersion}-${installed.resolvedPythonVersion}`;\n (0, $7Lz0k.info)(`Successfully set up PyPy ${installed.resolvedPyPyVersion} with Python (${installed.resolvedPythonVersion})`);\n } else {\n const installed = await (0, $8qig8.useCpythonVersion)(version, arch, true, $e56280cbf4490748$var$checkLatest, false);\n pythonVersion = installed.version;\n (0, $7Lz0k.info)(`Successfully set up ${installed.impl} (${pythonVersion})`);\n }\n // const cache = false\n // if (cache) {\n // const { cacheDependencies } = await import(\"setup-python/src/cache-dependencies\")\n // await cacheDependencies(\"pip\", pythonVersion)\n // }\n }\n if (0, $2W4C2.GITHUB_ACTIONS) await $e56280cbf4490748$var$addPythonLoggingMatcher();\n return undefined;\n}\nasync function $e56280cbf4490748$var$addPythonLoggingMatcher() {\n const matcherPath = (0, $eq4yW.join)($e56280cbf4490748$var$$parcel$__dirname, \"python_matcher.json\");\n if (!await (0, $bOuKS.pathExists)(matcherPath)) return (0, $7Lz0k.warning)(\"the python_matcher.json file does not exist in the same folder as setup-cpp.js\");\n (0, $7Lz0k.info)(`::add-matcher::${matcherPath}`);\n}\n\n});\nparcelRequire.register(\"8qig8\", function(module, exports) {\n\n$parcel$export(module.exports, \"useCpythonVersion\", () => $0e91f9f435f50a02$export$c90655100676e173);\n\n\n\nvar $cg17v = parcelRequire(\"cg17v\");\n\nvar $e5sHV = parcelRequire(\"e5sHV\");\n\nvar $4TiQE = parcelRequire(\"4TiQE\");\n\nvar $i5trn = parcelRequire(\"i5trn\");\n\nvar $92IYk = parcelRequire(\"92IYk\");\n// Python has \"scripts\" or \"bin\" directories where command-line tools that come with packages are installed.\n// This is where pip is, along with anything that pip installs.\n// There is a separate directory for `pip install --user`.\n//\n// For reference, these directories are as follows:\n// macOS / Linux:\n// /bin (by default /usr/local/bin, but not on hosted agents -- see the `else`)\n// (--user) ~/.local/bin\n// Windows:\n// \\Scripts\n// (--user) %APPDATA%\\Python\\PythonXY\\Scripts\n// See https://docs.python.org/3/library/sysconfig.html\nfunction $0e91f9f435f50a02$var$binDir(installDir) {\n if (0, $cg17v.IS_WINDOWS) return $6DZae$path.join(installDir, \"Scripts\");\n else return $6DZae$path.join(installDir, \"bin\");\n}\nasync function $0e91f9f435f50a02$export$c90655100676e173(version, architecture, updateEnvironment, checkLatest, allowPreReleases) {\n let manifest = null;\n const desugaredVersionSpec = $0e91f9f435f50a02$var$desugarDevVersion(version);\n let semanticVersionSpec = $0e91f9f435f50a02$export$2630b06843feee21(desugaredVersionSpec, allowPreReleases);\n $i5trn.debug(`Semantic version spec of ${version} is ${semanticVersionSpec}`);\n if (checkLatest) {\n manifest = await $4TiQE.getManifest();\n const resolvedVersion = (await $4TiQE.findReleaseFromManifest(semanticVersionSpec, architecture, manifest))?.version;\n if (resolvedVersion) {\n semanticVersionSpec = resolvedVersion;\n $i5trn.info(`Resolved as '${semanticVersionSpec}'`);\n } else $i5trn.info(`Failed to resolve version ${semanticVersionSpec} from manifest`);\n }\n let installDir = $92IYk.find(\"Python\", semanticVersionSpec, architecture);\n if (!installDir) {\n $i5trn.info(`Version ${semanticVersionSpec} was not found in the local cache`);\n const foundRelease = await $4TiQE.findReleaseFromManifest(semanticVersionSpec, architecture, manifest);\n if (foundRelease && foundRelease.files && foundRelease.files.length > 0) {\n $i5trn.info(`Version ${semanticVersionSpec} is available for downloading`);\n await $4TiQE.installCpythonFromRelease(foundRelease);\n installDir = $92IYk.find(\"Python\", semanticVersionSpec, architecture);\n }\n }\n if (!installDir) {\n const osInfo = await (0, $cg17v.getOSInfo)();\n throw new Error([\n `The version '${version}' with architecture '${architecture}' was not found for ${osInfo ? `${osInfo.osName} ${osInfo.osVersion}` : \"this operating system\"}.`,\n `The list of all available versions can be found here: ${$4TiQE.MANIFEST_URL}`\n ].join($6DZae$os.EOL));\n }\n const _binDir = $0e91f9f435f50a02$var$binDir(installDir);\n const binaryExtension = (0, $cg17v.IS_WINDOWS) ? \".exe\" : \"\";\n const pythonPath = $6DZae$path.join((0, $cg17v.IS_WINDOWS) ? installDir : _binDir, `python${binaryExtension}`);\n if (updateEnvironment) {\n $i5trn.exportVariable(\"pythonLocation\", installDir);\n $i5trn.exportVariable(\"PKG_CONFIG_PATH\", installDir + \"/lib/pkgconfig\");\n $i5trn.exportVariable(\"pythonLocation\", installDir);\n // https://cmake.org/cmake/help/latest/module/FindPython.html#module:FindPython\n $i5trn.exportVariable(\"Python_ROOT_DIR\", installDir);\n // https://cmake.org/cmake/help/latest/module/FindPython2.html#module:FindPython2\n $i5trn.exportVariable(\"Python2_ROOT_DIR\", installDir);\n // https://cmake.org/cmake/help/latest/module/FindPython3.html#module:FindPython3\n $i5trn.exportVariable(\"Python3_ROOT_DIR\", installDir);\n $i5trn.exportVariable(\"PKG_CONFIG_PATH\", installDir + \"/lib/pkgconfig\");\n if (0, $cg17v.IS_LINUX) {\n const libPath = process.env.LD_LIBRARY_PATH ? `:${process.env.LD_LIBRARY_PATH}` : \"\";\n const pyLibPath = $6DZae$path.join(installDir, \"lib\");\n if (!libPath.split(\":\").includes(pyLibPath)) $i5trn.exportVariable(\"LD_LIBRARY_PATH\", pyLibPath + libPath);\n }\n $i5trn.addPath(installDir);\n $i5trn.addPath(_binDir);\n if (0, $cg17v.IS_WINDOWS) {\n // Add --user directory\n // `installDir` from tool cache should look like $RUNNER_TOOL_CACHE/Python//x64/\n // So if `findLocalTool` succeeded above, we must have a conformant `installDir`\n const version = $6DZae$path.basename($6DZae$path.dirname(installDir));\n const major = $e5sHV.major(version);\n const minor = $e5sHV.minor(version);\n const userScriptsDir = $6DZae$path.join(process.env[\"APPDATA\"] || \"\", \"Python\", `Python${major}${minor}`, \"Scripts\");\n $i5trn.addPath(userScriptsDir);\n }\n // On Linux and macOS, pip will create the --user directory and add it to PATH as needed.\n }\n const installed = $0e91f9f435f50a02$var$versionFromPath(installDir);\n $i5trn.setOutput(\"python-version\", installed);\n $i5trn.setOutput(\"python-path\", pythonPath);\n return {\n impl: \"CPython\",\n version: installed\n };\n}\n/** Convert versions like `3.8-dev` to a version like `~3.8.0-0`. */ function $0e91f9f435f50a02$var$desugarDevVersion(versionSpec) {\n const devVersion = /^(\\d+)\\.(\\d+)-dev$/;\n return versionSpec.replace(devVersion, \"~$1.$2.0-0\");\n}\n/** Extracts python version from install path from hosted tool cache as described in README.md */ function $0e91f9f435f50a02$var$versionFromPath(installDir) {\n const parts = installDir.split($6DZae$path.sep);\n const idx = parts.findIndex((part)=>part === \"PyPy\" || part === \"Python\");\n return parts[idx + 1] || \"\";\n}\nfunction $0e91f9f435f50a02$export$2630b06843feee21(versionSpec, allowPreReleases) {\n const prereleaseVersion = /(\\d+\\.\\d+\\.\\d+)((?:a|b|rc)\\d*)/g;\n const majorMinor = /^(\\d+)\\.(\\d+)$/;\n let result = versionSpec.replace(prereleaseVersion, \"$1-$2\");\n if (allowPreReleases) result = result.replace(majorMinor, \"~$1.$2.0-0\");\n return result;\n}\n\n});\nparcelRequire.register(\"cg17v\", function(module, exports) {\n\n$parcel$export(module.exports, \"IS_WINDOWS\", () => $32902974df37e47d$export$82633ee808573685);\n$parcel$export(module.exports, \"IS_LINUX\", () => $32902974df37e47d$export$25e95d65b6faeb9a);\n$parcel$export(module.exports, \"IS_MAC\", () => $32902974df37e47d$export$ff23e6b4c4401383);\n$parcel$export(module.exports, \"WINDOWS_ARCHS\", () => $32902974df37e47d$export$175751bac16078cf);\n$parcel$export(module.exports, \"WINDOWS_PLATFORMS\", () => $32902974df37e47d$export$da6ba390a22488d5);\n$parcel$export(module.exports, \"createSymlinkInFolder\", () => $32902974df37e47d$export$b0a6cbd0a3e3c63a);\n$parcel$export(module.exports, \"validateVersion\", () => $32902974df37e47d$export$7880c8f0bb8a6afd);\n$parcel$export(module.exports, \"isNightlyKeyword\", () => $32902974df37e47d$export$ea46fc8abcf9f209);\n$parcel$export(module.exports, \"getPyPyVersionFromPath\", () => $32902974df37e47d$export$8a23ea91582cecbc);\n$parcel$export(module.exports, \"readExactPyPyVersionFile\", () => $32902974df37e47d$export$15e4ce4ad93c8c8a);\n$parcel$export(module.exports, \"writeExactPyPyVersionFile\", () => $32902974df37e47d$export$8fb7815f538587a8);\n$parcel$export(module.exports, \"validatePythonVersionFormatForPyPy\", () => $32902974df37e47d$export$3dc910628be7a364);\n$parcel$export(module.exports, \"getOSInfo\", () => $32902974df37e47d$export$471d7e4c229dedf);\n/* eslint no-unsafe-finally: \"off\" */ \nvar $i5trn = parcelRequire(\"i5trn\");\n\n\n\nvar $e5sHV = parcelRequire(\"e5sHV\");\n\nvar $h3fHe = parcelRequire(\"h3fHe\");\n\nvar $8hZvX = parcelRequire(\"8hZvX\");\nconst $32902974df37e47d$export$82633ee808573685 = process.platform === \"win32\";\nconst $32902974df37e47d$export$25e95d65b6faeb9a = process.platform === \"linux\";\nconst $32902974df37e47d$export$ff23e6b4c4401383 = process.platform === \"darwin\";\nconst $32902974df37e47d$export$175751bac16078cf = [\n \"x86\",\n \"x64\"\n];\nconst $32902974df37e47d$export$da6ba390a22488d5 = [\n \"win32\",\n \"win64\"\n];\nconst $32902974df37e47d$var$PYPY_VERSION_FILE = \"PYPY_VERSION\";\nfunction $32902974df37e47d$export$b0a6cbd0a3e3c63a(folderPath, sourceName, targetName, setExecutable = false) {\n const sourcePath = $6DZae$path.join(folderPath, sourceName);\n const targetPath = $6DZae$path.join(folderPath, targetName);\n if ((0, ($parcel$interopDefault($6DZae$fs))).existsSync(targetPath)) return;\n (0, ($parcel$interopDefault($6DZae$fs))).symlinkSync(sourcePath, targetPath);\n if (!$32902974df37e47d$export$82633ee808573685 && setExecutable) (0, ($parcel$interopDefault($6DZae$fs))).chmodSync(targetPath, \"755\");\n}\nfunction $32902974df37e47d$export$7880c8f0bb8a6afd(version) {\n return $32902974df37e47d$export$ea46fc8abcf9f209(version) || Boolean($e5sHV.validRange(version));\n}\nfunction $32902974df37e47d$export$ea46fc8abcf9f209(pypyVersion) {\n return pypyVersion === \"nightly\";\n}\nfunction $32902974df37e47d$export$8a23ea91582cecbc(installDir) {\n return $6DZae$path.basename($6DZae$path.dirname(installDir));\n}\nfunction $32902974df37e47d$export$15e4ce4ad93c8c8a(installDir) {\n let pypyVersion = \"\";\n const fileVersion = $6DZae$path.join(installDir, $32902974df37e47d$var$PYPY_VERSION_FILE);\n if ((0, ($parcel$interopDefault($6DZae$fs))).existsSync(fileVersion)) pypyVersion = (0, ($parcel$interopDefault($6DZae$fs))).readFileSync(fileVersion).toString().trim();\n return pypyVersion;\n}\nfunction $32902974df37e47d$export$8fb7815f538587a8(installDir, resolvedPyPyVersion) {\n const pypyFilePath = $6DZae$path.join(installDir, $32902974df37e47d$var$PYPY_VERSION_FILE);\n (0, ($parcel$interopDefault($6DZae$fs))).writeFileSync(pypyFilePath, resolvedPyPyVersion);\n}\nfunction $32902974df37e47d$export$3dc910628be7a364(version) {\n const re = /^\\d+\\.\\d+$/;\n return re.test(version);\n}\nfunction $32902974df37e47d$export$ebd6064652549ce9(message) {\n const warningPrefix = \"[warning]\";\n $i5trn.info(`${warningPrefix}${message}`);\n}\nasync function $32902974df37e47d$var$getWindowsInfo() {\n const { stdout: stdout } = await $8hZvX.getExecOutput('powershell -command \"(Get-CimInstance -ClassName Win32_OperatingSystem).Caption\"', undefined, {\n silent: true\n });\n const windowsVersion = stdout.trim().split(\" \")[3];\n return {\n osName: \"Windows\",\n osVersion: windowsVersion\n };\n}\nasync function $32902974df37e47d$var$getMacOSInfo() {\n const { stdout: stdout } = await $8hZvX.getExecOutput(\"sw_vers\", [\n \"-productVersion\"\n ], {\n silent: true\n });\n const macOSVersion = stdout.trim();\n return {\n osName: \"macOS\",\n osVersion: macOSVersion\n };\n}\nasync function $32902974df37e47d$export$734019fa9b4b8da() {\n const { stdout: stdout } = await $8hZvX.getExecOutput(\"lsb_release\", [\n \"-i\",\n \"-r\",\n \"-s\"\n ], {\n silent: true\n });\n const [osName, osVersion] = stdout.trim().split(\"\\n\");\n $i5trn.debug(`OS Name: ${osName}, Version: ${osVersion}`);\n return {\n osName: osName,\n osVersion: osVersion\n };\n}\nasync function $32902974df37e47d$export$471d7e4c229dedf() {\n let osInfo;\n try {\n if ($32902974df37e47d$export$82633ee808573685) osInfo = await $32902974df37e47d$var$getWindowsInfo();\n else if ($32902974df37e47d$export$25e95d65b6faeb9a) osInfo = await $32902974df37e47d$export$734019fa9b4b8da();\n else if ($32902974df37e47d$export$ff23e6b4c4401383) osInfo = await $32902974df37e47d$var$getMacOSInfo();\n } catch (err) {\n const error = err;\n $i5trn.debug(error.message);\n } finally{\n return osInfo;\n }\n}\n/**\n * Extract a value from an object by following the keys path provided.\n * If the value is present, it is returned. Otherwise undefined is returned.\n */ function $32902974df37e47d$var$extractValue(obj, keys) {\n if (keys.length > 0) {\n const value = obj[keys[0]];\n if (keys.length > 1 && value !== undefined) return $32902974df37e47d$var$extractValue(value, keys.slice(1));\n else return value;\n } else return;\n}\nfunction $32902974df37e47d$export$62b63db2b7d00b3a(versionFile) {\n $i5trn.debug(`Trying to resolve version form ${versionFile}`);\n const pyprojectFile = (0, ($parcel$interopDefault($6DZae$fs))).readFileSync(versionFile, \"utf8\");\n const pyprojectConfig = $h3fHe.parse(pyprojectFile);\n let keys = [];\n if (\"project\" in pyprojectConfig) // standard project metadata (PEP 621)\n keys = [\n \"project\",\n \"requires-python\"\n ];\n else // python poetry\n keys = [\n \"tool\",\n \"poetry\",\n \"dependencies\",\n \"python\"\n ];\n const versions = [];\n const version = $32902974df37e47d$var$extractValue(pyprojectConfig, keys);\n if (version !== undefined) versions.push(version);\n $i5trn.info(`Extracted ${versions} from ${versionFile}`);\n const rawVersions = Array.from(versions, (version)=>version.split(\",\").join(\" \"));\n const validatedVersions = rawVersions.map((item)=>$e5sHV.validRange(item, true)).filter((versionRange, index)=>{\n if (!versionRange) $i5trn.debug(`The version ${rawVersions[index]} is not valid SemVer range`);\n return !!versionRange;\n });\n return validatedVersions;\n}\nfunction $32902974df37e47d$export$6bdea68547837ebb(versionFile) {\n $i5trn.debug(`Trying to resolve version form ${versionFile}`);\n const version = (0, ($parcel$interopDefault($6DZae$fs))).readFileSync(versionFile, \"utf8\");\n $i5trn.info(`Resolved ${versionFile} as ${version}`);\n return [\n version\n ];\n}\nfunction $32902974df37e47d$export$7ffda0a4baa8880a(versionFile) {\n if (versionFile.endsWith(\".toml\")) return $32902974df37e47d$export$62b63db2b7d00b3a(versionFile);\n else return $32902974df37e47d$export$6bdea68547837ebb(versionFile);\n}\n\n});\nparcelRequire.register(\"h3fHe\", function(module, exports) {\n\n$parcel$export(module.exports, \"parse\", () => $c69ee469a98a2429$export$98e6a39c04603d36, (v) => $c69ee469a98a2429$export$98e6a39c04603d36 = v);\nvar $c69ee469a98a2429$export$98e6a39c04603d36;\nvar $c69ee469a98a2429$export$fac44ee5b035f737;\n\"use strict\";\n\n$c69ee469a98a2429$export$98e6a39c04603d36 = (parcelRequire(\"8Vcqi\"));\n\n$c69ee469a98a2429$export$fac44ee5b035f737 = (parcelRequire(\"1q8HD\"));\n\n});\nparcelRequire.register(\"8Vcqi\", function(module, exports) {\n\"use strict\";\n\nmodule.exports = (parcelRequire(\"vz7Em\"));\n\nmodule.exports.async = (parcelRequire(\"56LnL\"));\n\nmodule.exports.stream = (parcelRequire(\"4KfFr\"));\n\nmodule.exports.prettyError = (parcelRequire(\"2HCEc\"));\n\n});\nparcelRequire.register(\"vz7Em\", function(module, exports) {\n\"use strict\";\nmodule.exports = $05ee23f08feeed87$var$parseString;\n\nvar $ajYAH = parcelRequire(\"ajYAH\");\n\nvar $2HCEc = parcelRequire(\"2HCEc\");\nfunction $05ee23f08feeed87$var$parseString(str) {\n if ($parcel$global.Buffer && $parcel$global.Buffer.isBuffer(str)) str = str.toString(\"utf8\");\n const parser = new $ajYAH();\n try {\n parser.parse(str);\n return parser.finish();\n } catch (err) {\n throw $2HCEc(err, str);\n }\n}\n\n});\nparcelRequire.register(\"ajYAH\", function(module, exports) {\n\"use strict\";\n\n/* eslint-disable no-new-wrappers, no-eval, camelcase, operator-linebreak */ module.exports = makeParserClass((parcelRequire(\"4nZHU\")));\nmodule.exports.makeParserClass = makeParserClass;\nclass TomlError extends Error {\n constructor(msg11){\n super(msg11);\n this.name = \"TomlError\";\n /* istanbul ignore next */ if (Error.captureStackTrace) Error.captureStackTrace(this, TomlError);\n this.fromTOML = true;\n this.wrapped = null;\n }\n}\nTomlError.wrap = (err11)=>{\n const terr11 = new TomlError(err11.message);\n terr11.code = err11.code;\n terr11.wrapped = err11;\n return terr11;\n};\nmodule.exports.TomlError = TomlError;\n\nvar $aISYe = parcelRequire(\"aISYe\");\n\nvar $6Z4Nw = parcelRequire(\"6Z4Nw\");\n\nvar $2i5e5 = parcelRequire(\"2i5e5\");\n\nvar $jFrWw = parcelRequire(\"jFrWw\");\nconst CTRL_I = 0x09;\nconst CTRL_J = 0x0A;\nconst CTRL_M = 0x0D;\nconst CTRL_CHAR_BOUNDARY = 0x1F // the last non-character in the latin1 region of unicode, except DEL\n;\nconst CHAR_SP = 0x20;\nconst CHAR_QUOT = 0x22;\nconst CHAR_NUM = 0x23;\nconst CHAR_APOS = 0x27;\nconst CHAR_PLUS = 0x2B;\nconst CHAR_COMMA = 0x2C;\nconst CHAR_HYPHEN = 0x2D;\nconst CHAR_PERIOD = 0x2E;\nconst CHAR_0 = 0x30;\nconst CHAR_1 = 0x31;\nconst CHAR_7 = 0x37;\nconst CHAR_9 = 0x39;\nconst CHAR_COLON = 0x3A;\nconst CHAR_EQUALS = 0x3D;\nconst CHAR_A = 0x41;\nconst CHAR_E = 0x45;\nconst CHAR_F = 0x46;\nconst CHAR_T = 0x54;\nconst CHAR_U = 0x55;\nconst CHAR_Z = 0x5A;\nconst CHAR_LOWBAR = 0x5F;\nconst CHAR_a = 0x61;\nconst CHAR_b = 0x62;\nconst CHAR_e = 0x65;\nconst CHAR_f = 0x66;\nconst CHAR_i = 0x69;\nconst CHAR_l = 0x6C;\nconst CHAR_n = 0x6E;\nconst CHAR_o = 0x6F;\nconst CHAR_r = 0x72;\nconst CHAR_s = 0x73;\nconst CHAR_t = 0x74;\nconst CHAR_u = 0x75;\nconst CHAR_x = 0x78;\nconst CHAR_z = 0x7A;\nconst CHAR_LCUB = 0x7B;\nconst CHAR_RCUB = 0x7D;\nconst CHAR_LSQB = 0x5B;\nconst CHAR_BSOL = 0x5C;\nconst CHAR_RSQB = 0x5D;\nconst CHAR_DEL = 0x7F;\nconst SURROGATE_FIRST = 0xD800;\nconst SURROGATE_LAST = 0xDFFF;\nconst escapes = {\n [CHAR_b]: \"\\b\",\n [CHAR_t]: \"\t\",\n [CHAR_n]: \"\\n\",\n [CHAR_f]: \"\\f\",\n [CHAR_r]: \"\\r\",\n [CHAR_QUOT]: '\"',\n [CHAR_BSOL]: \"\\\\\"\n};\nfunction isDigit(cp11) {\n return cp11 >= CHAR_0 && cp11 <= CHAR_9;\n}\nfunction isHexit(cp11) {\n return cp11 >= CHAR_A && cp11 <= CHAR_F || cp11 >= CHAR_a && cp11 <= CHAR_f || cp11 >= CHAR_0 && cp11 <= CHAR_9;\n}\nfunction isBit(cp11) {\n return cp11 === CHAR_1 || cp11 === CHAR_0;\n}\nfunction isOctit(cp11) {\n return cp11 >= CHAR_0 && cp11 <= CHAR_7;\n}\nfunction isAlphaNumQuoteHyphen(cp11) {\n return cp11 >= CHAR_A && cp11 <= CHAR_Z || cp11 >= CHAR_a && cp11 <= CHAR_z || cp11 >= CHAR_0 && cp11 <= CHAR_9 || cp11 === CHAR_APOS || cp11 === CHAR_QUOT || cp11 === CHAR_LOWBAR || cp11 === CHAR_HYPHEN;\n}\nfunction isAlphaNumHyphen(cp11) {\n return cp11 >= CHAR_A && cp11 <= CHAR_Z || cp11 >= CHAR_a && cp11 <= CHAR_z || cp11 >= CHAR_0 && cp11 <= CHAR_9 || cp11 === CHAR_LOWBAR || cp11 === CHAR_HYPHEN;\n}\nconst _type = Symbol(\"type\");\nconst _declared = Symbol(\"declared\");\nconst hasOwnProperty = Object.prototype.hasOwnProperty;\nconst defineProperty = Object.defineProperty;\nconst descriptor = {\n configurable: true,\n enumerable: true,\n writable: true,\n value: undefined\n};\nfunction hasKey(obj11, key11) {\n if (hasOwnProperty.call(obj11, key11)) return true;\n if (key11 === \"__proto__\") defineProperty(obj11, \"__proto__\", descriptor);\n return false;\n}\nconst INLINE_TABLE = Symbol(\"inline-table\");\nfunction InlineTable() {\n return Object.defineProperties({}, {\n [_type]: {\n value: INLINE_TABLE\n }\n });\n}\nfunction isInlineTable(obj11) {\n if (obj11 === null || typeof obj11 !== \"object\") return false;\n return obj11[_type] === INLINE_TABLE;\n}\nconst TABLE = Symbol(\"table\");\nfunction Table() {\n return Object.defineProperties({}, {\n [_type]: {\n value: TABLE\n },\n [_declared]: {\n value: false,\n writable: true\n }\n });\n}\nfunction isTable(obj11) {\n if (obj11 === null || typeof obj11 !== \"object\") return false;\n return obj11[_type] === TABLE;\n}\nconst _contentType = Symbol(\"content-type\");\nconst INLINE_LIST = Symbol(\"inline-list\");\nfunction InlineList(type11) {\n return Object.defineProperties([], {\n [_type]: {\n value: INLINE_LIST\n },\n [_contentType]: {\n value: type11\n }\n });\n}\nfunction isInlineList(obj11) {\n if (obj11 === null || typeof obj11 !== \"object\") return false;\n return obj11[_type] === INLINE_LIST;\n}\nconst LIST = Symbol(\"list\");\nfunction List() {\n return Object.defineProperties([], {\n [_type]: {\n value: LIST\n }\n });\n}\nfunction isList(obj11) {\n if (obj11 === null || typeof obj11 !== \"object\") return false;\n return obj11[_type] === LIST;\n}\n// in an eval, to let bundlers not slurp in a util proxy\nlet _custom;\ntry {\n const utilInspect = eval(\"require('util').inspect\");\n _custom = utilInspect.custom;\n} catch (_) {\n/* eval require not available in transpiled bundle */ }\n/* istanbul ignore next */ const _inspect = _custom || \"inspect\";\nclass BoxedBigInt {\n constructor(value11){\n try {\n this.value = $parcel$global.BigInt.asIntN(64, value11);\n } catch (_11) {\n /* istanbul ignore next */ this.value = null;\n }\n Object.defineProperty(this, _type, {\n value: INTEGER\n });\n }\n isNaN() {\n return this.value === null;\n }\n /* istanbul ignore next */ toString() {\n return String(this.value);\n }\n /* istanbul ignore next */ [_inspect]() {\n return `[BigInt: ${this.toString()}]}`;\n }\n valueOf() {\n return this.value;\n }\n}\nconst INTEGER = Symbol(\"integer\");\nfunction Integer(value11) {\n let num11 = Number(value11);\n // -0 is a float thing, not an int thing\n if (Object.is(num11, -0)) num11 = 0;\n /* istanbul ignore else */ if ($parcel$global.BigInt && !Number.isSafeInteger(num11)) return new BoxedBigInt(value11);\n else /* istanbul ignore next */ return Object.defineProperties(new Number(num11), {\n isNaN: {\n value: function() {\n return isNaN(this);\n }\n },\n [_type]: {\n value: INTEGER\n },\n [_inspect]: {\n value: ()=>`[Integer: ${value11}]`\n }\n });\n}\nfunction isInteger(obj11) {\n if (obj11 === null || typeof obj11 !== \"object\") return false;\n return obj11[_type] === INTEGER;\n}\nconst FLOAT = Symbol(\"float\");\nfunction Float(value11) {\n /* istanbul ignore next */ return Object.defineProperties(new Number(value11), {\n [_type]: {\n value: FLOAT\n },\n [_inspect]: {\n value: ()=>`[Float: ${value11}]`\n }\n });\n}\nfunction isFloat(obj11) {\n if (obj11 === null || typeof obj11 !== \"object\") return false;\n return obj11[_type] === FLOAT;\n}\nfunction tomlType(value11) {\n const type11 = typeof value11;\n if (type11 === \"object\") {\n /* istanbul ignore if */ if (value11 === null) return \"null\";\n if (value11 instanceof Date) return \"datetime\";\n /* istanbul ignore else */ if (_type in value11) switch(value11[_type]){\n case INLINE_TABLE:\n return \"inline-table\";\n case INLINE_LIST:\n return \"inline-list\";\n /* istanbul ignore next */ case TABLE:\n return \"table\";\n /* istanbul ignore next */ case LIST:\n return \"list\";\n case FLOAT:\n return \"float\";\n case INTEGER:\n return \"integer\";\n }\n }\n return type11;\n}\nfunction makeParserClass(Parser11) {\n class TOMLParser11 extends Parser11 {\n constructor(){\n super();\n this.ctx = this.obj = Table();\n }\n /* MATCH HELPER */ atEndOfWord() {\n return this.char === CHAR_NUM || this.char === CTRL_I || this.char === CHAR_SP || this.atEndOfLine();\n }\n atEndOfLine() {\n return this.char === Parser11.END || this.char === CTRL_J || this.char === CTRL_M;\n }\n parseStart() {\n if (this.char === Parser11.END) return null;\n else if (this.char === CHAR_LSQB) return this.call(this.parseTableOrList);\n else if (this.char === CHAR_NUM) return this.call(this.parseComment);\n else if (this.char === CTRL_J || this.char === CHAR_SP || this.char === CTRL_I || this.char === CTRL_M) return null;\n else if (isAlphaNumQuoteHyphen(this.char)) return this.callNow(this.parseAssignStatement);\n else throw this.error(new TomlError(`Unknown character \"${this.char}\"`));\n }\n // HELPER, this strips any whitespace and comments to the end of the line\n // then RETURNS. Last state in a production.\n parseWhitespaceToEOL() {\n if (this.char === CHAR_SP || this.char === CTRL_I || this.char === CTRL_M) return null;\n else if (this.char === CHAR_NUM) return this.goto(this.parseComment);\n else if (this.char === Parser11.END || this.char === CTRL_J) return this.return();\n else throw this.error(new TomlError(\"Unexpected character, expected only whitespace or comments till end of line\"));\n }\n /* ASSIGNMENT: key = value */ parseAssignStatement() {\n return this.callNow(this.parseAssign, this.recordAssignStatement);\n }\n recordAssignStatement(kv11) {\n let target11 = this.ctx;\n let finalKey11 = kv11.key.pop();\n for (let kw11 of kv11.key){\n if (hasKey(target11, kw11) && (!isTable(target11[kw11]) || target11[kw11][_declared])) throw this.error(new TomlError(\"Can't redefine existing key\"));\n target11 = target11[kw11] = target11[kw11] || Table();\n }\n if (hasKey(target11, finalKey11)) throw this.error(new TomlError(\"Can't redefine existing key\"));\n // unbox our numbers\n if (isInteger(kv11.value) || isFloat(kv11.value)) target11[finalKey11] = kv11.value.valueOf();\n else target11[finalKey11] = kv11.value;\n return this.goto(this.parseWhitespaceToEOL);\n }\n /* ASSSIGNMENT expression, key = value possibly inside an inline table */ parseAssign() {\n return this.callNow(this.parseKeyword, this.recordAssignKeyword);\n }\n recordAssignKeyword(key11) {\n if (this.state.resultTable) this.state.resultTable.push(key11);\n else this.state.resultTable = [\n key11\n ];\n return this.goto(this.parseAssignKeywordPreDot);\n }\n parseAssignKeywordPreDot() {\n if (this.char === CHAR_PERIOD) return this.next(this.parseAssignKeywordPostDot);\n else if (this.char !== CHAR_SP && this.char !== CTRL_I) return this.goto(this.parseAssignEqual);\n }\n parseAssignKeywordPostDot() {\n if (this.char !== CHAR_SP && this.char !== CTRL_I) return this.callNow(this.parseKeyword, this.recordAssignKeyword);\n }\n parseAssignEqual() {\n if (this.char === CHAR_EQUALS) return this.next(this.parseAssignPreValue);\n else throw this.error(new TomlError('Invalid character, expected \"=\"'));\n }\n parseAssignPreValue() {\n if (this.char === CHAR_SP || this.char === CTRL_I) return null;\n else return this.callNow(this.parseValue, this.recordAssignValue);\n }\n recordAssignValue(value11) {\n return this.returnNow({\n key: this.state.resultTable,\n value: value11\n });\n }\n /* COMMENTS: #...eol */ parseComment() {\n do {\n if (this.char === Parser11.END || this.char === CTRL_J) return this.return();\n }while (this.nextChar());\n }\n /* TABLES AND LISTS, [foo] and [[foo]] */ parseTableOrList() {\n if (this.char === CHAR_LSQB) this.next(this.parseList);\n else return this.goto(this.parseTable);\n }\n /* TABLE [foo.bar.baz] */ parseTable() {\n this.ctx = this.obj;\n return this.goto(this.parseTableNext);\n }\n parseTableNext() {\n if (this.char === CHAR_SP || this.char === CTRL_I) return null;\n else return this.callNow(this.parseKeyword, this.parseTableMore);\n }\n parseTableMore(keyword11) {\n if (this.char === CHAR_SP || this.char === CTRL_I) return null;\n else if (this.char === CHAR_RSQB) {\n if (hasKey(this.ctx, keyword11) && (!isTable(this.ctx[keyword11]) || this.ctx[keyword11][_declared])) throw this.error(new TomlError(\"Can't redefine existing key\"));\n else {\n this.ctx = this.ctx[keyword11] = this.ctx[keyword11] || Table();\n this.ctx[_declared] = true;\n }\n return this.next(this.parseWhitespaceToEOL);\n } else if (this.char === CHAR_PERIOD) {\n if (!hasKey(this.ctx, keyword11)) this.ctx = this.ctx[keyword11] = Table();\n else if (isTable(this.ctx[keyword11])) this.ctx = this.ctx[keyword11];\n else if (isList(this.ctx[keyword11])) this.ctx = this.ctx[keyword11][this.ctx[keyword11].length - 1];\n else throw this.error(new TomlError(\"Can't redefine existing key\"));\n return this.next(this.parseTableNext);\n } else throw this.error(new TomlError(\"Unexpected character, expected whitespace, . or ]\"));\n }\n /* LIST [[a.b.c]] */ parseList() {\n this.ctx = this.obj;\n return this.goto(this.parseListNext);\n }\n parseListNext() {\n if (this.char === CHAR_SP || this.char === CTRL_I) return null;\n else return this.callNow(this.parseKeyword, this.parseListMore);\n }\n parseListMore(keyword11) {\n if (this.char === CHAR_SP || this.char === CTRL_I) return null;\n else if (this.char === CHAR_RSQB) {\n if (!hasKey(this.ctx, keyword11)) this.ctx[keyword11] = List();\n if (isInlineList(this.ctx[keyword11])) throw this.error(new TomlError(\"Can't extend an inline array\"));\n else if (isList(this.ctx[keyword11])) {\n const next11 = Table();\n this.ctx[keyword11].push(next11);\n this.ctx = next11;\n } else throw this.error(new TomlError(\"Can't redefine an existing key\"));\n return this.next(this.parseListEnd);\n } else if (this.char === CHAR_PERIOD) {\n if (!hasKey(this.ctx, keyword11)) this.ctx = this.ctx[keyword11] = Table();\n else if (isInlineList(this.ctx[keyword11])) throw this.error(new TomlError(\"Can't extend an inline array\"));\n else if (isInlineTable(this.ctx[keyword11])) throw this.error(new TomlError(\"Can't extend an inline table\"));\n else if (isList(this.ctx[keyword11])) this.ctx = this.ctx[keyword11][this.ctx[keyword11].length - 1];\n else if (isTable(this.ctx[keyword11])) this.ctx = this.ctx[keyword11];\n else throw this.error(new TomlError(\"Can't redefine an existing key\"));\n return this.next(this.parseListNext);\n } else throw this.error(new TomlError(\"Unexpected character, expected whitespace, . or ]\"));\n }\n parseListEnd(keyword11) {\n if (this.char === CHAR_RSQB) return this.next(this.parseWhitespaceToEOL);\n else throw this.error(new TomlError(\"Unexpected character, expected whitespace, . or ]\"));\n }\n /* VALUE string, number, boolean, inline list, inline object */ parseValue() {\n if (this.char === Parser11.END) throw this.error(new TomlError(\"Key without value\"));\n else if (this.char === CHAR_QUOT) return this.next(this.parseDoubleString);\n if (this.char === CHAR_APOS) return this.next(this.parseSingleString);\n else if (this.char === CHAR_HYPHEN || this.char === CHAR_PLUS) return this.goto(this.parseNumberSign);\n else if (this.char === CHAR_i) return this.next(this.parseInf);\n else if (this.char === CHAR_n) return this.next(this.parseNan);\n else if (isDigit(this.char)) return this.goto(this.parseNumberOrDateTime);\n else if (this.char === CHAR_t || this.char === CHAR_f) return this.goto(this.parseBoolean);\n else if (this.char === CHAR_LSQB) return this.call(this.parseInlineList, this.recordValue);\n else if (this.char === CHAR_LCUB) return this.call(this.parseInlineTable, this.recordValue);\n else throw this.error(new TomlError(\"Unexpected character, expecting string, number, datetime, boolean, inline array or inline table\"));\n }\n recordValue(value11) {\n return this.returnNow(value11);\n }\n parseInf() {\n if (this.char === CHAR_n) return this.next(this.parseInf2);\n else throw this.error(new TomlError('Unexpected character, expected \"inf\", \"+inf\" or \"-inf\"'));\n }\n parseInf2() {\n if (this.char === CHAR_f) {\n if (this.state.buf === \"-\") return this.return(-Infinity);\n else return this.return(Infinity);\n } else throw this.error(new TomlError('Unexpected character, expected \"inf\", \"+inf\" or \"-inf\"'));\n }\n parseNan() {\n if (this.char === CHAR_a) return this.next(this.parseNan2);\n else throw this.error(new TomlError('Unexpected character, expected \"nan\"'));\n }\n parseNan2() {\n if (this.char === CHAR_n) return this.return(NaN);\n else throw this.error(new TomlError('Unexpected character, expected \"nan\"'));\n }\n /* KEYS, barewords or basic, literal, or dotted */ parseKeyword() {\n if (this.char === CHAR_QUOT) return this.next(this.parseBasicString);\n else if (this.char === CHAR_APOS) return this.next(this.parseLiteralString);\n else return this.goto(this.parseBareKey);\n }\n /* KEYS: barewords */ parseBareKey() {\n do {\n if (this.char === Parser11.END) throw this.error(new TomlError(\"Key ended without value\"));\n else if (isAlphaNumHyphen(this.char)) this.consume();\n else if (this.state.buf.length === 0) throw this.error(new TomlError(\"Empty bare keys are not allowed\"));\n else return this.returnNow();\n }while (this.nextChar());\n }\n /* STRINGS, single quoted (literal) */ parseSingleString() {\n if (this.char === CHAR_APOS) return this.next(this.parseLiteralMultiStringMaybe);\n else return this.goto(this.parseLiteralString);\n }\n parseLiteralString() {\n do {\n if (this.char === CHAR_APOS) return this.return();\n else if (this.atEndOfLine()) throw this.error(new TomlError(\"Unterminated string\"));\n else if (this.char === CHAR_DEL || this.char <= CTRL_CHAR_BOUNDARY && this.char !== CTRL_I) throw this.errorControlCharInString();\n else this.consume();\n }while (this.nextChar());\n }\n parseLiteralMultiStringMaybe() {\n if (this.char === CHAR_APOS) return this.next(this.parseLiteralMultiString);\n else return this.returnNow();\n }\n parseLiteralMultiString() {\n if (this.char === CTRL_M) return null;\n else if (this.char === CTRL_J) return this.next(this.parseLiteralMultiStringContent);\n else return this.goto(this.parseLiteralMultiStringContent);\n }\n parseLiteralMultiStringContent() {\n do {\n if (this.char === CHAR_APOS) return this.next(this.parseLiteralMultiEnd);\n else if (this.char === Parser11.END) throw this.error(new TomlError(\"Unterminated multi-line string\"));\n else if (this.char === CHAR_DEL || this.char <= CTRL_CHAR_BOUNDARY && this.char !== CTRL_I && this.char !== CTRL_J && this.char !== CTRL_M) throw this.errorControlCharInString();\n else this.consume();\n }while (this.nextChar());\n }\n parseLiteralMultiEnd() {\n if (this.char === CHAR_APOS) return this.next(this.parseLiteralMultiEnd2);\n else {\n this.state.buf += \"'\";\n return this.goto(this.parseLiteralMultiStringContent);\n }\n }\n parseLiteralMultiEnd2() {\n if (this.char === CHAR_APOS) return this.return();\n else {\n this.state.buf += \"''\";\n return this.goto(this.parseLiteralMultiStringContent);\n }\n }\n /* STRINGS double quoted */ parseDoubleString() {\n if (this.char === CHAR_QUOT) return this.next(this.parseMultiStringMaybe);\n else return this.goto(this.parseBasicString);\n }\n parseBasicString() {\n do {\n if (this.char === CHAR_BSOL) return this.call(this.parseEscape, this.recordEscapeReplacement);\n else if (this.char === CHAR_QUOT) return this.return();\n else if (this.atEndOfLine()) throw this.error(new TomlError(\"Unterminated string\"));\n else if (this.char === CHAR_DEL || this.char <= CTRL_CHAR_BOUNDARY && this.char !== CTRL_I) throw this.errorControlCharInString();\n else this.consume();\n }while (this.nextChar());\n }\n recordEscapeReplacement(replacement11) {\n this.state.buf += replacement11;\n return this.goto(this.parseBasicString);\n }\n parseMultiStringMaybe() {\n if (this.char === CHAR_QUOT) return this.next(this.parseMultiString);\n else return this.returnNow();\n }\n parseMultiString() {\n if (this.char === CTRL_M) return null;\n else if (this.char === CTRL_J) return this.next(this.parseMultiStringContent);\n else return this.goto(this.parseMultiStringContent);\n }\n parseMultiStringContent() {\n do {\n if (this.char === CHAR_BSOL) return this.call(this.parseMultiEscape, this.recordMultiEscapeReplacement);\n else if (this.char === CHAR_QUOT) return this.next(this.parseMultiEnd);\n else if (this.char === Parser11.END) throw this.error(new TomlError(\"Unterminated multi-line string\"));\n else if (this.char === CHAR_DEL || this.char <= CTRL_CHAR_BOUNDARY && this.char !== CTRL_I && this.char !== CTRL_J && this.char !== CTRL_M) throw this.errorControlCharInString();\n else this.consume();\n }while (this.nextChar());\n }\n errorControlCharInString() {\n let displayCode11 = \"\\\\u00\";\n if (this.char < 16) displayCode11 += \"0\";\n displayCode11 += this.char.toString(16);\n return this.error(new TomlError(`Control characters (codes < 0x1f and 0x7f) are not allowed in strings, use ${displayCode11} instead`));\n }\n recordMultiEscapeReplacement(replacement11) {\n this.state.buf += replacement11;\n return this.goto(this.parseMultiStringContent);\n }\n parseMultiEnd() {\n if (this.char === CHAR_QUOT) return this.next(this.parseMultiEnd2);\n else {\n this.state.buf += '\"';\n return this.goto(this.parseMultiStringContent);\n }\n }\n parseMultiEnd2() {\n if (this.char === CHAR_QUOT) return this.return();\n else {\n this.state.buf += '\"\"';\n return this.goto(this.parseMultiStringContent);\n }\n }\n parseMultiEscape() {\n if (this.char === CTRL_M || this.char === CTRL_J) return this.next(this.parseMultiTrim);\n else if (this.char === CHAR_SP || this.char === CTRL_I) return this.next(this.parsePreMultiTrim);\n else return this.goto(this.parseEscape);\n }\n parsePreMultiTrim() {\n if (this.char === CHAR_SP || this.char === CTRL_I) return null;\n else if (this.char === CTRL_M || this.char === CTRL_J) return this.next(this.parseMultiTrim);\n else throw this.error(new TomlError(\"Can't escape whitespace\"));\n }\n parseMultiTrim() {\n // explicitly whitespace here, END should follow the same path as chars\n if (this.char === CTRL_J || this.char === CHAR_SP || this.char === CTRL_I || this.char === CTRL_M) return null;\n else return this.returnNow();\n }\n parseEscape() {\n if (this.char in escapes) return this.return(escapes[this.char]);\n else if (this.char === CHAR_u) return this.call(this.parseSmallUnicode, this.parseUnicodeReturn);\n else if (this.char === CHAR_U) return this.call(this.parseLargeUnicode, this.parseUnicodeReturn);\n else throw this.error(new TomlError(\"Unknown escape character: \" + this.char));\n }\n parseUnicodeReturn(char11) {\n try {\n const codePoint11 = parseInt(char11, 16);\n if (codePoint11 >= SURROGATE_FIRST && codePoint11 <= SURROGATE_LAST) throw this.error(new TomlError(\"Invalid unicode, character in range 0xD800 - 0xDFFF is reserved\"));\n return this.returnNow(String.fromCodePoint(codePoint11));\n } catch (err11) {\n throw this.error(TomlError.wrap(err11));\n }\n }\n parseSmallUnicode() {\n if (!isHexit(this.char)) throw this.error(new TomlError(\"Invalid character in unicode sequence, expected hex\"));\n else {\n this.consume();\n if (this.state.buf.length >= 4) return this.return();\n }\n }\n parseLargeUnicode() {\n if (!isHexit(this.char)) throw this.error(new TomlError(\"Invalid character in unicode sequence, expected hex\"));\n else {\n this.consume();\n if (this.state.buf.length >= 8) return this.return();\n }\n }\n /* NUMBERS */ parseNumberSign() {\n this.consume();\n return this.next(this.parseMaybeSignedInfOrNan);\n }\n parseMaybeSignedInfOrNan() {\n if (this.char === CHAR_i) return this.next(this.parseInf);\n else if (this.char === CHAR_n) return this.next(this.parseNan);\n else return this.callNow(this.parseNoUnder, this.parseNumberIntegerStart);\n }\n parseNumberIntegerStart() {\n if (this.char === CHAR_0) {\n this.consume();\n return this.next(this.parseNumberIntegerExponentOrDecimal);\n } else return this.goto(this.parseNumberInteger);\n }\n parseNumberIntegerExponentOrDecimal() {\n if (this.char === CHAR_PERIOD) {\n this.consume();\n return this.call(this.parseNoUnder, this.parseNumberFloat);\n } else if (this.char === CHAR_E || this.char === CHAR_e) {\n this.consume();\n return this.next(this.parseNumberExponentSign);\n } else return this.returnNow(Integer(this.state.buf));\n }\n parseNumberInteger() {\n if (isDigit(this.char)) this.consume();\n else if (this.char === CHAR_LOWBAR) return this.call(this.parseNoUnder);\n else if (this.char === CHAR_E || this.char === CHAR_e) {\n this.consume();\n return this.next(this.parseNumberExponentSign);\n } else if (this.char === CHAR_PERIOD) {\n this.consume();\n return this.call(this.parseNoUnder, this.parseNumberFloat);\n } else {\n const result11 = Integer(this.state.buf);\n /* istanbul ignore if */ if (result11.isNaN()) throw this.error(new TomlError(\"Invalid number\"));\n else return this.returnNow(result11);\n }\n }\n parseNoUnder() {\n if (this.char === CHAR_LOWBAR || this.char === CHAR_PERIOD || this.char === CHAR_E || this.char === CHAR_e) throw this.error(new TomlError(\"Unexpected character, expected digit\"));\n else if (this.atEndOfWord()) throw this.error(new TomlError(\"Incomplete number\"));\n return this.returnNow();\n }\n parseNoUnderHexOctBinLiteral() {\n if (this.char === CHAR_LOWBAR || this.char === CHAR_PERIOD) throw this.error(new TomlError(\"Unexpected character, expected digit\"));\n else if (this.atEndOfWord()) throw this.error(new TomlError(\"Incomplete number\"));\n return this.returnNow();\n }\n parseNumberFloat() {\n if (this.char === CHAR_LOWBAR) return this.call(this.parseNoUnder, this.parseNumberFloat);\n else if (isDigit(this.char)) this.consume();\n else if (this.char === CHAR_E || this.char === CHAR_e) {\n this.consume();\n return this.next(this.parseNumberExponentSign);\n } else return this.returnNow(Float(this.state.buf));\n }\n parseNumberExponentSign() {\n if (isDigit(this.char)) return this.goto(this.parseNumberExponent);\n else if (this.char === CHAR_HYPHEN || this.char === CHAR_PLUS) {\n this.consume();\n this.call(this.parseNoUnder, this.parseNumberExponent);\n } else throw this.error(new TomlError(\"Unexpected character, expected -, + or digit\"));\n }\n parseNumberExponent() {\n if (isDigit(this.char)) this.consume();\n else if (this.char === CHAR_LOWBAR) return this.call(this.parseNoUnder);\n else return this.returnNow(Float(this.state.buf));\n }\n /* NUMBERS or DATETIMES */ parseNumberOrDateTime() {\n if (this.char === CHAR_0) {\n this.consume();\n return this.next(this.parseNumberBaseOrDateTime);\n } else return this.goto(this.parseNumberOrDateTimeOnly);\n }\n parseNumberOrDateTimeOnly() {\n // note, if two zeros are in a row then it MUST be a date\n if (this.char === CHAR_LOWBAR) return this.call(this.parseNoUnder, this.parseNumberInteger);\n else if (isDigit(this.char)) {\n this.consume();\n if (this.state.buf.length > 4) this.next(this.parseNumberInteger);\n } else if (this.char === CHAR_E || this.char === CHAR_e) {\n this.consume();\n return this.next(this.parseNumberExponentSign);\n } else if (this.char === CHAR_PERIOD) {\n this.consume();\n return this.call(this.parseNoUnder, this.parseNumberFloat);\n } else if (this.char === CHAR_HYPHEN) return this.goto(this.parseDateTime);\n else if (this.char === CHAR_COLON) return this.goto(this.parseOnlyTimeHour);\n else return this.returnNow(Integer(this.state.buf));\n }\n parseDateTimeOnly() {\n if (this.state.buf.length < 4) {\n if (isDigit(this.char)) return this.consume();\n else if (this.char === CHAR_COLON) return this.goto(this.parseOnlyTimeHour);\n else throw this.error(new TomlError(\"Expected digit while parsing year part of a date\"));\n } else {\n if (this.char === CHAR_HYPHEN) return this.goto(this.parseDateTime);\n else throw this.error(new TomlError(\"Expected hyphen (-) while parsing year part of date\"));\n }\n }\n parseNumberBaseOrDateTime() {\n if (this.char === CHAR_b) {\n this.consume();\n return this.call(this.parseNoUnderHexOctBinLiteral, this.parseIntegerBin);\n } else if (this.char === CHAR_o) {\n this.consume();\n return this.call(this.parseNoUnderHexOctBinLiteral, this.parseIntegerOct);\n } else if (this.char === CHAR_x) {\n this.consume();\n return this.call(this.parseNoUnderHexOctBinLiteral, this.parseIntegerHex);\n } else if (this.char === CHAR_PERIOD) return this.goto(this.parseNumberInteger);\n else if (isDigit(this.char)) return this.goto(this.parseDateTimeOnly);\n else return this.returnNow(Integer(this.state.buf));\n }\n parseIntegerHex() {\n if (isHexit(this.char)) this.consume();\n else if (this.char === CHAR_LOWBAR) return this.call(this.parseNoUnderHexOctBinLiteral);\n else {\n const result11 = Integer(this.state.buf);\n /* istanbul ignore if */ if (result11.isNaN()) throw this.error(new TomlError(\"Invalid number\"));\n else return this.returnNow(result11);\n }\n }\n parseIntegerOct() {\n if (isOctit(this.char)) this.consume();\n else if (this.char === CHAR_LOWBAR) return this.call(this.parseNoUnderHexOctBinLiteral);\n else {\n const result11 = Integer(this.state.buf);\n /* istanbul ignore if */ if (result11.isNaN()) throw this.error(new TomlError(\"Invalid number\"));\n else return this.returnNow(result11);\n }\n }\n parseIntegerBin() {\n if (isBit(this.char)) this.consume();\n else if (this.char === CHAR_LOWBAR) return this.call(this.parseNoUnderHexOctBinLiteral);\n else {\n const result11 = Integer(this.state.buf);\n /* istanbul ignore if */ if (result11.isNaN()) throw this.error(new TomlError(\"Invalid number\"));\n else return this.returnNow(result11);\n }\n }\n /* DATETIME */ parseDateTime() {\n // we enter here having just consumed the year and about to consume the hyphen\n if (this.state.buf.length < 4) throw this.error(new TomlError(\"Years less than 1000 must be zero padded to four characters\"));\n this.state.result = this.state.buf;\n this.state.buf = \"\";\n return this.next(this.parseDateMonth);\n }\n parseDateMonth() {\n if (this.char === CHAR_HYPHEN) {\n if (this.state.buf.length < 2) throw this.error(new TomlError(\"Months less than 10 must be zero padded to two characters\"));\n this.state.result += \"-\" + this.state.buf;\n this.state.buf = \"\";\n return this.next(this.parseDateDay);\n } else if (isDigit(this.char)) this.consume();\n else throw this.error(new TomlError(\"Incomplete datetime\"));\n }\n parseDateDay() {\n if (this.char === CHAR_T || this.char === CHAR_SP) {\n if (this.state.buf.length < 2) throw this.error(new TomlError(\"Days less than 10 must be zero padded to two characters\"));\n this.state.result += \"-\" + this.state.buf;\n this.state.buf = \"\";\n return this.next(this.parseStartTimeHour);\n } else if (this.atEndOfWord()) return this.returnNow($2i5e5(this.state.result + \"-\" + this.state.buf));\n else if (isDigit(this.char)) this.consume();\n else throw this.error(new TomlError(\"Incomplete datetime\"));\n }\n parseStartTimeHour() {\n if (this.atEndOfWord()) return this.returnNow($2i5e5(this.state.result));\n else return this.goto(this.parseTimeHour);\n }\n parseTimeHour() {\n if (this.char === CHAR_COLON) {\n if (this.state.buf.length < 2) throw this.error(new TomlError(\"Hours less than 10 must be zero padded to two characters\"));\n this.state.result += \"T\" + this.state.buf;\n this.state.buf = \"\";\n return this.next(this.parseTimeMin);\n } else if (isDigit(this.char)) this.consume();\n else throw this.error(new TomlError(\"Incomplete datetime\"));\n }\n parseTimeMin() {\n if (this.state.buf.length < 2 && isDigit(this.char)) this.consume();\n else if (this.state.buf.length === 2 && this.char === CHAR_COLON) {\n this.state.result += \":\" + this.state.buf;\n this.state.buf = \"\";\n return this.next(this.parseTimeSec);\n } else throw this.error(new TomlError(\"Incomplete datetime\"));\n }\n parseTimeSec() {\n if (isDigit(this.char)) {\n this.consume();\n if (this.state.buf.length === 2) {\n this.state.result += \":\" + this.state.buf;\n this.state.buf = \"\";\n return this.next(this.parseTimeZoneOrFraction);\n }\n } else throw this.error(new TomlError(\"Incomplete datetime\"));\n }\n parseOnlyTimeHour() {\n /* istanbul ignore else */ if (this.char === CHAR_COLON) {\n if (this.state.buf.length < 2) throw this.error(new TomlError(\"Hours less than 10 must be zero padded to two characters\"));\n this.state.result = this.state.buf;\n this.state.buf = \"\";\n return this.next(this.parseOnlyTimeMin);\n } else throw this.error(new TomlError(\"Incomplete time\"));\n }\n parseOnlyTimeMin() {\n if (this.state.buf.length < 2 && isDigit(this.char)) this.consume();\n else if (this.state.buf.length === 2 && this.char === CHAR_COLON) {\n this.state.result += \":\" + this.state.buf;\n this.state.buf = \"\";\n return this.next(this.parseOnlyTimeSec);\n } else throw this.error(new TomlError(\"Incomplete time\"));\n }\n parseOnlyTimeSec() {\n if (isDigit(this.char)) {\n this.consume();\n if (this.state.buf.length === 2) return this.next(this.parseOnlyTimeFractionMaybe);\n } else throw this.error(new TomlError(\"Incomplete time\"));\n }\n parseOnlyTimeFractionMaybe() {\n this.state.result += \":\" + this.state.buf;\n if (this.char === CHAR_PERIOD) {\n this.state.buf = \"\";\n this.next(this.parseOnlyTimeFraction);\n } else return this.return($jFrWw(this.state.result));\n }\n parseOnlyTimeFraction() {\n if (isDigit(this.char)) this.consume();\n else if (this.atEndOfWord()) {\n if (this.state.buf.length === 0) throw this.error(new TomlError(\"Expected digit in milliseconds\"));\n return this.returnNow($jFrWw(this.state.result + \".\" + this.state.buf));\n } else throw this.error(new TomlError(\"Unexpected character in datetime, expected period (.), minus (-), plus (+) or Z\"));\n }\n parseTimeZoneOrFraction() {\n if (this.char === CHAR_PERIOD) {\n this.consume();\n this.next(this.parseDateTimeFraction);\n } else if (this.char === CHAR_HYPHEN || this.char === CHAR_PLUS) {\n this.consume();\n this.next(this.parseTimeZoneHour);\n } else if (this.char === CHAR_Z) {\n this.consume();\n return this.return($aISYe(this.state.result + this.state.buf));\n } else if (this.atEndOfWord()) return this.returnNow($6Z4Nw(this.state.result + this.state.buf));\n else throw this.error(new TomlError(\"Unexpected character in datetime, expected period (.), minus (-), plus (+) or Z\"));\n }\n parseDateTimeFraction() {\n if (isDigit(this.char)) this.consume();\n else if (this.state.buf.length === 1) throw this.error(new TomlError(\"Expected digit in milliseconds\"));\n else if (this.char === CHAR_HYPHEN || this.char === CHAR_PLUS) {\n this.consume();\n this.next(this.parseTimeZoneHour);\n } else if (this.char === CHAR_Z) {\n this.consume();\n return this.return($aISYe(this.state.result + this.state.buf));\n } else if (this.atEndOfWord()) return this.returnNow($6Z4Nw(this.state.result + this.state.buf));\n else throw this.error(new TomlError(\"Unexpected character in datetime, expected period (.), minus (-), plus (+) or Z\"));\n }\n parseTimeZoneHour() {\n if (isDigit(this.char)) {\n this.consume();\n // FIXME: No more regexps\n if (/\\d\\d$/.test(this.state.buf)) return this.next(this.parseTimeZoneSep);\n } else throw this.error(new TomlError(\"Unexpected character in datetime, expected digit\"));\n }\n parseTimeZoneSep() {\n if (this.char === CHAR_COLON) {\n this.consume();\n this.next(this.parseTimeZoneMin);\n } else throw this.error(new TomlError(\"Unexpected character in datetime, expected colon\"));\n }\n parseTimeZoneMin() {\n if (isDigit(this.char)) {\n this.consume();\n if (/\\d\\d$/.test(this.state.buf)) return this.return($aISYe(this.state.result + this.state.buf));\n } else throw this.error(new TomlError(\"Unexpected character in datetime, expected digit\"));\n }\n /* BOOLEAN */ parseBoolean() {\n /* istanbul ignore else */ if (this.char === CHAR_t) {\n this.consume();\n return this.next(this.parseTrue_r);\n } else if (this.char === CHAR_f) {\n this.consume();\n return this.next(this.parseFalse_a);\n }\n }\n parseTrue_r() {\n if (this.char === CHAR_r) {\n this.consume();\n return this.next(this.parseTrue_u);\n } else throw this.error(new TomlError(\"Invalid boolean, expected true or false\"));\n }\n parseTrue_u() {\n if (this.char === CHAR_u) {\n this.consume();\n return this.next(this.parseTrue_e);\n } else throw this.error(new TomlError(\"Invalid boolean, expected true or false\"));\n }\n parseTrue_e() {\n if (this.char === CHAR_e) return this.return(true);\n else throw this.error(new TomlError(\"Invalid boolean, expected true or false\"));\n }\n parseFalse_a() {\n if (this.char === CHAR_a) {\n this.consume();\n return this.next(this.parseFalse_l);\n } else throw this.error(new TomlError(\"Invalid boolean, expected true or false\"));\n }\n parseFalse_l() {\n if (this.char === CHAR_l) {\n this.consume();\n return this.next(this.parseFalse_s);\n } else throw this.error(new TomlError(\"Invalid boolean, expected true or false\"));\n }\n parseFalse_s() {\n if (this.char === CHAR_s) {\n this.consume();\n return this.next(this.parseFalse_e);\n } else throw this.error(new TomlError(\"Invalid boolean, expected true or false\"));\n }\n parseFalse_e() {\n if (this.char === CHAR_e) return this.return(false);\n else throw this.error(new TomlError(\"Invalid boolean, expected true or false\"));\n }\n /* INLINE LISTS */ parseInlineList() {\n if (this.char === CHAR_SP || this.char === CTRL_I || this.char === CTRL_M || this.char === CTRL_J) return null;\n else if (this.char === Parser11.END) throw this.error(new TomlError(\"Unterminated inline array\"));\n else if (this.char === CHAR_NUM) return this.call(this.parseComment);\n else if (this.char === CHAR_RSQB) return this.return(this.state.resultArr || InlineList());\n else return this.callNow(this.parseValue, this.recordInlineListValue);\n }\n recordInlineListValue(value11) {\n if (this.state.resultArr) {\n const listType11 = this.state.resultArr[_contentType];\n const valueType11 = tomlType(value11);\n if (listType11 !== valueType11) throw this.error(new TomlError(`Inline lists must be a single type, not a mix of ${listType11} and ${valueType11}`));\n } else this.state.resultArr = InlineList(tomlType(value11));\n if (isFloat(value11) || isInteger(value11)) // unbox now that we've verified they're ok\n this.state.resultArr.push(value11.valueOf());\n else this.state.resultArr.push(value11);\n return this.goto(this.parseInlineListNext);\n }\n parseInlineListNext() {\n if (this.char === CHAR_SP || this.char === CTRL_I || this.char === CTRL_M || this.char === CTRL_J) return null;\n else if (this.char === CHAR_NUM) return this.call(this.parseComment);\n else if (this.char === CHAR_COMMA) return this.next(this.parseInlineList);\n else if (this.char === CHAR_RSQB) return this.goto(this.parseInlineList);\n else throw this.error(new TomlError(\"Invalid character, expected whitespace, comma (,) or close bracket (])\"));\n }\n /* INLINE TABLE */ parseInlineTable() {\n if (this.char === CHAR_SP || this.char === CTRL_I) return null;\n else if (this.char === Parser11.END || this.char === CHAR_NUM || this.char === CTRL_J || this.char === CTRL_M) throw this.error(new TomlError(\"Unterminated inline array\"));\n else if (this.char === CHAR_RCUB) return this.return(this.state.resultTable || InlineTable());\n else {\n if (!this.state.resultTable) this.state.resultTable = InlineTable();\n return this.callNow(this.parseAssign, this.recordInlineTableValue);\n }\n }\n recordInlineTableValue(kv11) {\n let target11 = this.state.resultTable;\n let finalKey11 = kv11.key.pop();\n for (let kw11 of kv11.key){\n if (hasKey(target11, kw11) && (!isTable(target11[kw11]) || target11[kw11][_declared])) throw this.error(new TomlError(\"Can't redefine existing key\"));\n target11 = target11[kw11] = target11[kw11] || Table();\n }\n if (hasKey(target11, finalKey11)) throw this.error(new TomlError(\"Can't redefine existing key\"));\n if (isInteger(kv11.value) || isFloat(kv11.value)) target11[finalKey11] = kv11.value.valueOf();\n else target11[finalKey11] = kv11.value;\n return this.goto(this.parseInlineTableNext);\n }\n parseInlineTableNext() {\n if (this.char === CHAR_SP || this.char === CTRL_I) return null;\n else if (this.char === Parser11.END || this.char === CHAR_NUM || this.char === CTRL_J || this.char === CTRL_M) throw this.error(new TomlError(\"Unterminated inline array\"));\n else if (this.char === CHAR_COMMA) return this.next(this.parseInlineTable);\n else if (this.char === CHAR_RCUB) return this.goto(this.parseInlineTable);\n else throw this.error(new TomlError(\"Invalid character, expected whitespace, comma (,) or close bracket (])\"));\n }\n }\n return TOMLParser11;\n}\n\n});\nparcelRequire.register(\"4nZHU\", function(module, exports) {\n\"use strict\";\nconst $33192d2ffc483071$var$ParserEND = 0x110000;\nclass $33192d2ffc483071$var$ParserError extends Error {\n /* istanbul ignore next */ constructor(msg, filename, linenumber){\n super(\"[ParserError] \" + msg, filename, linenumber);\n this.name = \"ParserError\";\n this.code = \"ParserError\";\n if (Error.captureStackTrace) Error.captureStackTrace(this, $33192d2ffc483071$var$ParserError);\n }\n}\nclass $33192d2ffc483071$var$State {\n constructor(parser){\n this.parser = parser;\n this.buf = \"\";\n this.returned = null;\n this.result = null;\n this.resultTable = null;\n this.resultArr = null;\n }\n}\nclass $33192d2ffc483071$var$Parser {\n constructor(){\n this.pos = 0;\n this.col = 0;\n this.line = 0;\n this.obj = {};\n this.ctx = this.obj;\n this.stack = [];\n this._buf = \"\";\n this.char = null;\n this.ii = 0;\n this.state = new $33192d2ffc483071$var$State(this.parseStart);\n }\n parse(str) {\n /* istanbul ignore next */ if (str.length === 0 || str.length == null) return;\n this._buf = String(str);\n this.ii = -1;\n this.char = -1;\n let getNext;\n while(getNext === false || this.nextChar())getNext = this.runOne();\n this._buf = null;\n }\n nextChar() {\n if (this.char === 0x0A) {\n ++this.line;\n this.col = -1;\n }\n ++this.ii;\n this.char = this._buf.codePointAt(this.ii);\n ++this.pos;\n ++this.col;\n return this.haveBuffer();\n }\n haveBuffer() {\n return this.ii < this._buf.length;\n }\n runOne() {\n return this.state.parser.call(this, this.state.returned);\n }\n finish() {\n this.char = $33192d2ffc483071$var$ParserEND;\n let last;\n do {\n last = this.state.parser;\n this.runOne();\n }while (this.state.parser !== last);\n this.ctx = null;\n this.state = null;\n this._buf = null;\n return this.obj;\n }\n next(fn) {\n /* istanbul ignore next */ if (typeof fn !== \"function\") throw new $33192d2ffc483071$var$ParserError(\"Tried to set state to non-existent state: \" + JSON.stringify(fn));\n this.state.parser = fn;\n }\n goto(fn) {\n this.next(fn);\n return this.runOne();\n }\n call(fn, returnWith) {\n if (returnWith) this.next(returnWith);\n this.stack.push(this.state);\n this.state = new $33192d2ffc483071$var$State(fn);\n }\n callNow(fn, returnWith) {\n this.call(fn, returnWith);\n return this.runOne();\n }\n return(value) {\n /* istanbul ignore next */ if (this.stack.length === 0) throw this.error(new $33192d2ffc483071$var$ParserError(\"Stack underflow\"));\n if (value === undefined) value = this.state.buf;\n this.state = this.stack.pop();\n this.state.returned = value;\n }\n returnNow(value) {\n this.return(value);\n return this.runOne();\n }\n consume() {\n /* istanbul ignore next */ if (this.char === $33192d2ffc483071$var$ParserEND) throw this.error(new $33192d2ffc483071$var$ParserError(\"Unexpected end-of-buffer\"));\n this.state.buf += this._buf[this.ii];\n }\n error(err) {\n err.line = this.line;\n err.col = this.col;\n err.pos = this.pos;\n return err;\n }\n /* istanbul ignore next */ parseStart() {\n throw new $33192d2ffc483071$var$ParserError(\"Must declare a parseStart method\");\n }\n}\n$33192d2ffc483071$var$Parser.END = $33192d2ffc483071$var$ParserEND;\n$33192d2ffc483071$var$Parser.Error = $33192d2ffc483071$var$ParserError;\nmodule.exports = $33192d2ffc483071$var$Parser;\n\n});\n\nparcelRequire.register(\"aISYe\", function(module, exports) {\n\"use strict\";\nmodule.exports = (value)=>{\n const date = new Date(value);\n /* istanbul ignore if */ if (isNaN(date)) throw new TypeError(\"Invalid Datetime\");\n else return date;\n};\n\n});\n\nparcelRequire.register(\"6Z4Nw\", function(module, exports) {\n\"use strict\";\n\nvar $g3mqj = parcelRequire(\"g3mqj\");\nclass $515c29500726257a$var$FloatingDateTime extends Date {\n constructor(value){\n super(value + \"Z\");\n this.isFloating = true;\n }\n toISOString() {\n const date = `${this.getUTCFullYear()}-${$g3mqj(2, this.getUTCMonth() + 1)}-${$g3mqj(2, this.getUTCDate())}`;\n const time = `${$g3mqj(2, this.getUTCHours())}:${$g3mqj(2, this.getUTCMinutes())}:${$g3mqj(2, this.getUTCSeconds())}.${$g3mqj(3, this.getUTCMilliseconds())}`;\n return `${date}T${time}`;\n }\n}\nmodule.exports = (value)=>{\n const date = new $515c29500726257a$var$FloatingDateTime(value);\n /* istanbul ignore if */ if (isNaN(date)) throw new TypeError(\"Invalid Datetime\");\n else return date;\n};\n\n});\nparcelRequire.register(\"g3mqj\", function(module, exports) {\n\"use strict\";\nmodule.exports = (d, num)=>{\n num = String(num);\n while(num.length < d)num = \"0\" + num;\n return num;\n};\n\n});\n\n\nparcelRequire.register(\"2i5e5\", function(module, exports) {\n\"use strict\";\n\nvar $g3mqj = parcelRequire(\"g3mqj\");\nconst $1ab15102cf14c97e$var$DateTime = $parcel$global.Date;\nclass $1ab15102cf14c97e$var$Date extends $1ab15102cf14c97e$var$DateTime {\n constructor(value){\n super(value);\n this.isDate = true;\n }\n toISOString() {\n return `${this.getUTCFullYear()}-${$g3mqj(2, this.getUTCMonth() + 1)}-${$g3mqj(2, this.getUTCDate())}`;\n }\n}\nmodule.exports = (value)=>{\n const date = new $1ab15102cf14c97e$var$Date(value);\n /* istanbul ignore if */ if (isNaN(date)) throw new TypeError(\"Invalid Datetime\");\n else return date;\n};\n\n});\n\nparcelRequire.register(\"jFrWw\", function(module, exports) {\n\"use strict\";\n\nvar $g3mqj = parcelRequire(\"g3mqj\");\nclass $e51785861337f57f$var$Time extends Date {\n constructor(value){\n super(`0000-01-01T${value}Z`);\n this.isTime = true;\n }\n toISOString() {\n return `${$g3mqj(2, this.getUTCHours())}:${$g3mqj(2, this.getUTCMinutes())}:${$g3mqj(2, this.getUTCSeconds())}.${$g3mqj(3, this.getUTCMilliseconds())}`;\n }\n}\nmodule.exports = (value)=>{\n const date = new $e51785861337f57f$var$Time(value);\n /* istanbul ignore if */ if (isNaN(date)) throw new TypeError(\"Invalid Datetime\");\n else return date;\n};\n\n});\n\n\nparcelRequire.register(\"2HCEc\", function(module, exports) {\n\"use strict\";\nmodule.exports = $1f7d937def5526bb$var$prettyError;\nfunction $1f7d937def5526bb$var$prettyError(err, buf) {\n /* istanbul ignore if */ if (err.pos == null || err.line == null) return err;\n let msg = err.message;\n msg += ` at row ${err.line + 1}, col ${err.col + 1}, pos ${err.pos}:\\n`;\n /* istanbul ignore else */ if (buf && buf.split) {\n const lines = buf.split(/\\n/);\n const lineNumWidth = String(Math.min(lines.length, err.line + 3)).length;\n let linePadding = \" \";\n while(linePadding.length < lineNumWidth)linePadding += \" \";\n for(let ii = Math.max(0, err.line - 1); ii < Math.min(lines.length, err.line + 2); ++ii){\n let lineNum = String(ii + 1);\n if (lineNum.length < lineNumWidth) lineNum = \" \" + lineNum;\n if (err.line === ii) {\n msg += lineNum + \"> \" + lines[ii] + \"\\n\";\n msg += linePadding + \" \";\n for(let hh = 0; hh < err.col; ++hh)msg += \" \";\n msg += \"^\\n\";\n } else msg += lineNum + \": \" + lines[ii] + \"\\n\";\n }\n }\n err.message = msg + \"\\n\";\n return err;\n}\n\n});\n\n\nparcelRequire.register(\"56LnL\", function(module, exports) {\n\"use strict\";\nmodule.exports = $3b82446c31b77e3a$var$parseAsync;\n\nvar $ajYAH = parcelRequire(\"ajYAH\");\n\nvar $2HCEc = parcelRequire(\"2HCEc\");\nfunction $3b82446c31b77e3a$var$parseAsync(str, opts) {\n if (!opts) opts = {};\n const index = 0;\n const blocksize = opts.blocksize || 40960;\n const parser = new $ajYAH();\n return new Promise((resolve, reject)=>{\n setImmediate(parseAsyncNext, index, blocksize, resolve, reject);\n });\n function parseAsyncNext(index, blocksize, resolve, reject) {\n if (index >= str.length) try {\n return resolve(parser.finish());\n } catch (err) {\n return reject($2HCEc(err, str));\n }\n try {\n parser.parse(str.slice(index, index + blocksize));\n setImmediate(parseAsyncNext, index + blocksize, blocksize, resolve, reject);\n } catch (err) {\n reject($2HCEc(err, str));\n }\n }\n}\n\n});\n\nparcelRequire.register(\"4KfFr\", function(module, exports) {\n\"use strict\";\nmodule.exports = $37479c82f2fdee00$var$parseStream;\n\n\nvar $ajYAH = parcelRequire(\"ajYAH\");\nfunction $37479c82f2fdee00$var$parseStream(stm) {\n if (stm) return $37479c82f2fdee00$var$parseReadable(stm);\n else return $37479c82f2fdee00$var$parseTransform(stm);\n}\nfunction $37479c82f2fdee00$var$parseReadable(stm) {\n const parser = new $ajYAH();\n stm.setEncoding(\"utf8\");\n return new Promise((resolve, reject)=>{\n let readable;\n let ended = false;\n let errored = false;\n function finish() {\n ended = true;\n if (readable) return;\n try {\n resolve(parser.finish());\n } catch (err) {\n reject(err);\n }\n }\n function error(err) {\n errored = true;\n reject(err);\n }\n stm.once(\"end\", finish);\n stm.once(\"error\", error);\n readNext();\n function readNext() {\n readable = true;\n let data;\n while((data = stm.read()) !== null)try {\n parser.parse(data);\n } catch (err) {\n return error(err);\n }\n readable = false;\n /* istanbul ignore if */ if (ended) return finish();\n /* istanbul ignore if */ if (errored) return;\n stm.once(\"readable\", readNext);\n }\n });\n}\nfunction $37479c82f2fdee00$var$parseTransform() {\n const parser = new $ajYAH();\n return new $6DZae$stream.Transform({\n objectMode: true,\n transform (chunk, encoding, cb) {\n try {\n parser.parse(chunk.toString(encoding));\n } catch (err) {\n this.emit(\"error\", err);\n }\n cb();\n },\n flush (cb) {\n try {\n this.push(parser.finish());\n } catch (err) {\n this.emit(\"error\", err);\n }\n cb();\n }\n });\n}\n\n});\n\n\nparcelRequire.register(\"1q8HD\", function(module, exports) {\n\"use strict\";\nmodule.exports = $108ef85305652611$var$stringify;\nmodule.exports.value = $108ef85305652611$var$stringifyInline;\nfunction $108ef85305652611$var$stringify(obj) {\n if (obj === null) throw $108ef85305652611$var$typeError(\"null\");\n if (obj === void 0) throw $108ef85305652611$var$typeError(\"undefined\");\n if (typeof obj !== \"object\") throw $108ef85305652611$var$typeError(typeof obj);\n if (typeof obj.toJSON === \"function\") obj = obj.toJSON();\n if (obj == null) return null;\n const type = $108ef85305652611$var$tomlType(obj);\n if (type !== \"table\") throw $108ef85305652611$var$typeError(type);\n return $108ef85305652611$var$stringifyObject(\"\", \"\", obj);\n}\nfunction $108ef85305652611$var$typeError(type) {\n return new Error(\"Can only stringify objects, not \" + type);\n}\nfunction $108ef85305652611$var$arrayOneTypeError() {\n return new Error(\"Array values can't have mixed types\");\n}\nfunction $108ef85305652611$var$getInlineKeys(obj) {\n return Object.keys(obj).filter((key)=>$108ef85305652611$var$isInline(obj[key]));\n}\nfunction $108ef85305652611$var$getComplexKeys(obj) {\n return Object.keys(obj).filter((key)=>!$108ef85305652611$var$isInline(obj[key]));\n}\nfunction $108ef85305652611$var$toJSON(obj) {\n let nobj = Array.isArray(obj) ? [] : Object.prototype.hasOwnProperty.call(obj, \"__proto__\") ? {\n [\"__proto__\"]: undefined\n } : {};\n for (let prop of Object.keys(obj))if (obj[prop] && typeof obj[prop].toJSON === \"function\" && !(\"toISOString\" in obj[prop])) nobj[prop] = obj[prop].toJSON();\n else nobj[prop] = obj[prop];\n return nobj;\n}\nfunction $108ef85305652611$var$stringifyObject(prefix, indent, obj) {\n obj = $108ef85305652611$var$toJSON(obj);\n var inlineKeys;\n var complexKeys;\n inlineKeys = $108ef85305652611$var$getInlineKeys(obj);\n complexKeys = $108ef85305652611$var$getComplexKeys(obj);\n var result = [];\n var inlineIndent = indent || \"\";\n inlineKeys.forEach((key)=>{\n var type = $108ef85305652611$var$tomlType(obj[key]);\n if (type !== \"undefined\" && type !== \"null\") result.push(inlineIndent + $108ef85305652611$var$stringifyKey(key) + \" = \" + $108ef85305652611$var$stringifyAnyInline(obj[key], true));\n });\n if (result.length > 0) result.push(\"\");\n var complexIndent = prefix && inlineKeys.length > 0 ? indent + \" \" : \"\";\n complexKeys.forEach((key)=>{\n result.push($108ef85305652611$var$stringifyComplex(prefix, complexIndent, key, obj[key]));\n });\n return result.join(\"\\n\");\n}\nfunction $108ef85305652611$var$isInline(value) {\n switch($108ef85305652611$var$tomlType(value)){\n case \"undefined\":\n case \"null\":\n case \"integer\":\n case \"nan\":\n case \"float\":\n case \"boolean\":\n case \"string\":\n case \"datetime\":\n return true;\n case \"array\":\n return value.length === 0 || $108ef85305652611$var$tomlType(value[0]) !== \"table\";\n case \"table\":\n return Object.keys(value).length === 0;\n /* istanbul ignore next */ default:\n return false;\n }\n}\nfunction $108ef85305652611$var$tomlType(value) {\n if (value === undefined) return \"undefined\";\n else if (value === null) return \"null\";\n else if (typeof value === \"bigint\" || Number.isInteger(value) && !Object.is(value, -0)) return \"integer\";\n else if (typeof value === \"number\") return \"float\";\n else if (typeof value === \"boolean\") return \"boolean\";\n else if (typeof value === \"string\") return \"string\";\n else if (\"toISOString\" in value) return isNaN(value) ? \"undefined\" : \"datetime\";\n else if (Array.isArray(value)) return \"array\";\n else return \"table\";\n}\nfunction $108ef85305652611$var$stringifyKey(key) {\n var keyStr = String(key);\n if (/^[-A-Za-z0-9_]+$/.test(keyStr)) return keyStr;\n else return $108ef85305652611$var$stringifyBasicString(keyStr);\n}\nfunction $108ef85305652611$var$stringifyBasicString(str) {\n return '\"' + $108ef85305652611$var$escapeString(str).replace(/\"/g, '\\\\\"') + '\"';\n}\nfunction $108ef85305652611$var$stringifyLiteralString(str) {\n return \"'\" + str + \"'\";\n}\nfunction $108ef85305652611$var$numpad(num, str) {\n while(str.length < num)str = \"0\" + str;\n return str;\n}\nfunction $108ef85305652611$var$escapeString(str) {\n return str.replace(/\\\\/g, \"\\\\\\\\\").replace(/[\\b]/g, \"\\\\b\").replace(/\\t/g, \"\\\\t\").replace(/\\n/g, \"\\\\n\").replace(/\\f/g, \"\\\\f\").replace(/\\r/g, \"\\\\r\")/* eslint-disable no-control-regex */ .replace(/([\\u0000-\\u001f\\u007f])/, (c)=>\"\\\\u\" + $108ef85305652611$var$numpad(4, c.codePointAt(0).toString(16)));\n/* eslint-enable no-control-regex */ }\nfunction $108ef85305652611$var$stringifyMultilineString(str) {\n let escaped = str.split(/\\n/).map((str)=>{\n return $108ef85305652611$var$escapeString(str).replace(/\"(?=\"\")/g, '\\\\\"');\n }).join(\"\\n\");\n if (escaped.slice(-1) === '\"') escaped += \"\\\\\\n\";\n return '\"\"\"\\n' + escaped + '\"\"\"';\n}\nfunction $108ef85305652611$var$stringifyAnyInline(value, multilineOk) {\n let type = $108ef85305652611$var$tomlType(value);\n if (type === \"string\") {\n if (multilineOk && /\\n/.test(value)) type = \"string-multiline\";\n else if (!/[\\b\\t\\n\\f\\r']/.test(value) && /\"/.test(value)) type = \"string-literal\";\n }\n return $108ef85305652611$var$stringifyInline(value, type);\n}\nfunction $108ef85305652611$var$stringifyInline(value, type) {\n /* istanbul ignore if */ if (!type) type = $108ef85305652611$var$tomlType(value);\n switch(type){\n case \"string-multiline\":\n return $108ef85305652611$var$stringifyMultilineString(value);\n case \"string\":\n return $108ef85305652611$var$stringifyBasicString(value);\n case \"string-literal\":\n return $108ef85305652611$var$stringifyLiteralString(value);\n case \"integer\":\n return $108ef85305652611$var$stringifyInteger(value);\n case \"float\":\n return $108ef85305652611$var$stringifyFloat(value);\n case \"boolean\":\n return $108ef85305652611$var$stringifyBoolean(value);\n case \"datetime\":\n return $108ef85305652611$var$stringifyDatetime(value);\n case \"array\":\n return $108ef85305652611$var$stringifyInlineArray(value.filter((_)=>$108ef85305652611$var$tomlType(_) !== \"null\" && $108ef85305652611$var$tomlType(_) !== \"undefined\" && $108ef85305652611$var$tomlType(_) !== \"nan\"));\n case \"table\":\n return $108ef85305652611$var$stringifyInlineTable(value);\n /* istanbul ignore next */ default:\n throw $108ef85305652611$var$typeError(type);\n }\n}\nfunction $108ef85305652611$var$stringifyInteger(value) {\n /* eslint-disable security/detect-unsafe-regex */ return String(value).replace(/\\B(?=(\\d{3})+(?!\\d))/g, \"_\");\n}\nfunction $108ef85305652611$var$stringifyFloat(value) {\n if (value === Infinity) return \"inf\";\n else if (value === -Infinity) return \"-inf\";\n else if (Object.is(value, NaN)) return \"nan\";\n else if (Object.is(value, -0)) return \"-0.0\";\n var chunks = String(value).split(\".\");\n var int = chunks[0];\n var dec = chunks[1] || 0;\n return $108ef85305652611$var$stringifyInteger(int) + \".\" + dec;\n}\nfunction $108ef85305652611$var$stringifyBoolean(value) {\n return String(value);\n}\nfunction $108ef85305652611$var$stringifyDatetime(value) {\n return value.toISOString();\n}\nfunction $108ef85305652611$var$isNumber(type) {\n return type === \"float\" || type === \"integer\";\n}\nfunction $108ef85305652611$var$arrayType(values) {\n var contentType = $108ef85305652611$var$tomlType(values[0]);\n if (values.every((_)=>$108ef85305652611$var$tomlType(_) === contentType)) return contentType;\n // mixed integer/float, emit as floats\n if (values.every((_)=>$108ef85305652611$var$isNumber($108ef85305652611$var$tomlType(_)))) return \"float\";\n return \"mixed\";\n}\nfunction $108ef85305652611$var$validateArray(values) {\n const type = $108ef85305652611$var$arrayType(values);\n if (type === \"mixed\") throw $108ef85305652611$var$arrayOneTypeError();\n return type;\n}\nfunction $108ef85305652611$var$stringifyInlineArray(values) {\n values = $108ef85305652611$var$toJSON(values);\n const type = $108ef85305652611$var$validateArray(values);\n var result = \"[\";\n var stringified = values.map((_)=>$108ef85305652611$var$stringifyInline(_, type));\n if (stringified.join(\", \").length > 60 || /\\n/.test(stringified)) result += \"\\n \" + stringified.join(\",\\n \") + \"\\n\";\n else result += \" \" + stringified.join(\", \") + (stringified.length > 0 ? \" \" : \"\");\n return result + \"]\";\n}\nfunction $108ef85305652611$var$stringifyInlineTable(value) {\n value = $108ef85305652611$var$toJSON(value);\n var result = [];\n Object.keys(value).forEach((key)=>{\n result.push($108ef85305652611$var$stringifyKey(key) + \" = \" + $108ef85305652611$var$stringifyAnyInline(value[key], false));\n });\n return \"{ \" + result.join(\", \") + (result.length > 0 ? \" \" : \"\") + \"}\";\n}\nfunction $108ef85305652611$var$stringifyComplex(prefix, indent, key, value) {\n var valueType = $108ef85305652611$var$tomlType(value);\n /* istanbul ignore else */ if (valueType === \"array\") return $108ef85305652611$var$stringifyArrayOfTables(prefix, indent, key, value);\n else if (valueType === \"table\") return $108ef85305652611$var$stringifyComplexTable(prefix, indent, key, value);\n else throw $108ef85305652611$var$typeError(valueType);\n}\nfunction $108ef85305652611$var$stringifyArrayOfTables(prefix, indent, key, values) {\n values = $108ef85305652611$var$toJSON(values);\n $108ef85305652611$var$validateArray(values);\n var firstValueType = $108ef85305652611$var$tomlType(values[0]);\n /* istanbul ignore if */ if (firstValueType !== \"table\") throw $108ef85305652611$var$typeError(firstValueType);\n var fullKey = prefix + $108ef85305652611$var$stringifyKey(key);\n var result = \"\";\n values.forEach((table)=>{\n if (result.length > 0) result += \"\\n\";\n result += indent + \"[[\" + fullKey + \"]]\\n\";\n result += $108ef85305652611$var$stringifyObject(fullKey + \".\", indent, table);\n });\n return result;\n}\nfunction $108ef85305652611$var$stringifyComplexTable(prefix, indent, key, value) {\n var fullKey = prefix + $108ef85305652611$var$stringifyKey(key);\n var result = \"\";\n if ($108ef85305652611$var$getInlineKeys(value).length > 0) result += indent + \"[\" + fullKey + \"]\\n\";\n return result + $108ef85305652611$var$stringifyObject(fullKey + \".\", indent, value);\n}\n\n});\n\n\n\nparcelRequire.register(\"4TiQE\", function(module, exports) {\n\n$parcel$export(module.exports, \"MANIFEST_URL\", () => $25640f04dc2adbbb$export$f3182c5cb60bb857);\n$parcel$export(module.exports, \"findReleaseFromManifest\", () => $25640f04dc2adbbb$export$45bea79befbd9a23);\n$parcel$export(module.exports, \"getManifest\", () => $25640f04dc2adbbb$export$39e873de56f329d8);\n$parcel$export(module.exports, \"installCpythonFromRelease\", () => $25640f04dc2adbbb$export$e1ffa7cd53152881);\n\n\nvar $i5trn = parcelRequire(\"i5trn\");\n\nvar $92IYk = parcelRequire(\"92IYk\");\n\nvar $8hZvX = parcelRequire(\"8hZvX\");\n\nvar $cg17v = parcelRequire(\"cg17v\");\nconst $25640f04dc2adbbb$var$TOKEN = $i5trn.getInput(\"token\");\nconst $25640f04dc2adbbb$var$AUTH = !$25640f04dc2adbbb$var$TOKEN ? undefined : `token ${$25640f04dc2adbbb$var$TOKEN}`;\nconst $25640f04dc2adbbb$var$MANIFEST_REPO_OWNER = \"actions\";\nconst $25640f04dc2adbbb$var$MANIFEST_REPO_NAME = \"python-versions\";\nconst $25640f04dc2adbbb$var$MANIFEST_REPO_BRANCH = \"main\";\nconst $25640f04dc2adbbb$export$f3182c5cb60bb857 = `https://raw.githubusercontent.com/${$25640f04dc2adbbb$var$MANIFEST_REPO_OWNER}/${$25640f04dc2adbbb$var$MANIFEST_REPO_NAME}/${$25640f04dc2adbbb$var$MANIFEST_REPO_BRANCH}/versions-manifest.json`;\nasync function $25640f04dc2adbbb$export$45bea79befbd9a23(semanticVersionSpec, architecture, manifest) {\n if (!manifest) manifest = await $25640f04dc2adbbb$export$39e873de56f329d8();\n const foundRelease = await $92IYk.findFromManifest(semanticVersionSpec, false, manifest, architecture);\n return foundRelease;\n}\nfunction $25640f04dc2adbbb$export$39e873de56f329d8() {\n $i5trn.debug(`Getting manifest from ${$25640f04dc2adbbb$var$MANIFEST_REPO_OWNER}/${$25640f04dc2adbbb$var$MANIFEST_REPO_NAME}@${$25640f04dc2adbbb$var$MANIFEST_REPO_BRANCH}`);\n return $92IYk.getManifestFromRepo($25640f04dc2adbbb$var$MANIFEST_REPO_OWNER, $25640f04dc2adbbb$var$MANIFEST_REPO_NAME, $25640f04dc2adbbb$var$AUTH, $25640f04dc2adbbb$var$MANIFEST_REPO_BRANCH);\n}\nasync function $25640f04dc2adbbb$var$installPython(workingDirectory) {\n const options = {\n cwd: workingDirectory,\n env: {\n ...process.env,\n ...(0, $cg17v.IS_LINUX) && {\n LD_LIBRARY_PATH: $6DZae$path.join(workingDirectory, \"lib\")\n }\n },\n silent: true,\n listeners: {\n stdout: (data)=>{\n $i5trn.info(data.toString().trim());\n },\n stderr: (data)=>{\n $i5trn.error(data.toString().trim());\n }\n }\n };\n if (0, $cg17v.IS_WINDOWS) await $8hZvX.exec(\"powershell\", [\n \"./setup.ps1\"\n ], options);\n else await $8hZvX.exec(\"bash\", [\n \"./setup.sh\"\n ], options);\n}\nasync function $25640f04dc2adbbb$export$e1ffa7cd53152881(release) {\n const downloadUrl = release.files[0].download_url;\n $i5trn.info(`Download from \"${downloadUrl}\"`);\n let pythonPath = \"\";\n try {\n pythonPath = await $92IYk.downloadTool(downloadUrl, undefined, $25640f04dc2adbbb$var$AUTH);\n $i5trn.info(\"Extract downloaded archive\");\n let pythonExtractedFolder;\n if (0, $cg17v.IS_WINDOWS) pythonExtractedFolder = await $92IYk.extractZip(pythonPath);\n else pythonExtractedFolder = await $92IYk.extractTar(pythonPath);\n $i5trn.info(\"Execute installation script\");\n await $25640f04dc2adbbb$var$installPython(pythonExtractedFolder);\n } catch (err) {\n if (err instanceof $92IYk.HTTPError) {\n // Rate limit?\n if (err.httpStatusCode === 403 || err.httpStatusCode === 429) $i5trn.info(`Received HTTP status code ${err.httpStatusCode}. This usually indicates the rate limit has been exceeded`);\n else $i5trn.info(err.message);\n if (err.stack) $i5trn.debug(err.stack);\n }\n throw err;\n }\n}\n\n});\nparcelRequire.register(\"92IYk\", function(module, exports) {\n\nvar $69572f7f2b456fd8$var$$parcel$__dirname = $6DZae$path.resolve(__dirname, \"../../node_modules/.pnpm/@actions+tool-cache@1.7.2/node_modules/@actions/tool-cache/lib\");\n\"use strict\";\nvar $69572f7f2b456fd8$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $69572f7f2b456fd8$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $69572f7f2b456fd8$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $69572f7f2b456fd8$var$__createBinding(result, mod, k);\n }\n $69572f7f2b456fd8$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $69572f7f2b456fd8$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar $69572f7f2b456fd8$var$__importDefault = module.exports && module.exports.__importDefault || function(mod) {\n return mod && mod.__esModule ? mod : {\n \"default\": mod\n };\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.evaluateVersions = module.exports.isExplicitVersion = module.exports.findFromManifest = module.exports.getManifestFromRepo = module.exports.findAllVersions = module.exports.find = module.exports.cacheFile = module.exports.cacheDir = module.exports.extractZip = module.exports.extractXar = module.exports.extractTar = module.exports.extract7z = module.exports.downloadTool = module.exports.HTTPError = void 0;\n\nconst $69572f7f2b456fd8$var$core = $69572f7f2b456fd8$var$__importStar((parcelRequire(\"i5trn\")));\n\nconst $69572f7f2b456fd8$var$io = $69572f7f2b456fd8$var$__importStar((parcelRequire(\"jtqY0\")));\n\nconst $69572f7f2b456fd8$var$fs = $69572f7f2b456fd8$var$__importStar($6DZae$fs);\n\nconst $69572f7f2b456fd8$var$mm = $69572f7f2b456fd8$var$__importStar((parcelRequire(\"2hRWF\")));\n\nconst $69572f7f2b456fd8$var$os = $69572f7f2b456fd8$var$__importStar($6DZae$os);\n\nconst $69572f7f2b456fd8$var$path = $69572f7f2b456fd8$var$__importStar($6DZae$path);\n\nconst $69572f7f2b456fd8$var$httpm = $69572f7f2b456fd8$var$__importStar((parcelRequire(\"6W2GO\")));\n\nconst $69572f7f2b456fd8$var$semver = $69572f7f2b456fd8$var$__importStar((parcelRequire(\"8eiWl\")));\n\nconst $69572f7f2b456fd8$var$stream = $69572f7f2b456fd8$var$__importStar($6DZae$stream);\n\nconst $69572f7f2b456fd8$var$util = $69572f7f2b456fd8$var$__importStar($6DZae$util);\n\nconst $69572f7f2b456fd8$var$v4_1 = $69572f7f2b456fd8$var$__importDefault((parcelRequire(\"1NS6t\")));\n\nvar $8hZvX = parcelRequire(\"8hZvX\");\n\n\nvar $3R3Be = parcelRequire(\"3R3Be\");\nclass $69572f7f2b456fd8$var$HTTPError extends Error {\n constructor(httpStatusCode){\n super(`Unexpected HTTP response: ${httpStatusCode}`);\n this.httpStatusCode = httpStatusCode;\n Object.setPrototypeOf(this, new.target.prototype);\n }\n}\nmodule.exports.HTTPError = $69572f7f2b456fd8$var$HTTPError;\nconst $69572f7f2b456fd8$var$IS_WINDOWS = process.platform === \"win32\";\nconst $69572f7f2b456fd8$var$IS_MAC = process.platform === \"darwin\";\nconst $69572f7f2b456fd8$var$userAgent = \"actions/tool-cache\";\n/**\n * Download a tool from an url and stream it into a file\n *\n * @param url url of tool to download\n * @param dest path to download tool\n * @param auth authorization header\n * @param headers other headers\n * @returns path to downloaded tool\n */ function $69572f7f2b456fd8$var$downloadTool(url, dest, auth, headers) {\n return $69572f7f2b456fd8$var$__awaiter(this, void 0, void 0, function*() {\n dest = dest || $69572f7f2b456fd8$var$path.join($69572f7f2b456fd8$var$_getTempDirectory(), $69572f7f2b456fd8$var$v4_1.default());\n yield $69572f7f2b456fd8$var$io.mkdirP($69572f7f2b456fd8$var$path.dirname(dest));\n $69572f7f2b456fd8$var$core.debug(`Downloading ${url}`);\n $69572f7f2b456fd8$var$core.debug(`Destination ${dest}`);\n const maxAttempts = 3;\n const minSeconds = $69572f7f2b456fd8$var$_getGlobal(\"TEST_DOWNLOAD_TOOL_RETRY_MIN_SECONDS\", 10);\n const maxSeconds = $69572f7f2b456fd8$var$_getGlobal(\"TEST_DOWNLOAD_TOOL_RETRY_MAX_SECONDS\", 20);\n const retryHelper = new $3R3Be.RetryHelper(maxAttempts, minSeconds, maxSeconds);\n return yield retryHelper.execute(()=>$69572f7f2b456fd8$var$__awaiter(this, void 0, void 0, function*() {\n return yield $69572f7f2b456fd8$var$downloadToolAttempt(url, dest || \"\", auth, headers);\n }), (err)=>{\n if (err instanceof $69572f7f2b456fd8$var$HTTPError && err.httpStatusCode) {\n // Don't retry anything less than 500, except 408 Request Timeout and 429 Too Many Requests\n if (err.httpStatusCode < 500 && err.httpStatusCode !== 408 && err.httpStatusCode !== 429) return false;\n }\n // Otherwise retry\n return true;\n });\n });\n}\nmodule.exports.downloadTool = $69572f7f2b456fd8$var$downloadTool;\nfunction $69572f7f2b456fd8$var$downloadToolAttempt(url, dest, auth, headers) {\n return $69572f7f2b456fd8$var$__awaiter(this, void 0, void 0, function*() {\n if ($69572f7f2b456fd8$var$fs.existsSync(dest)) throw new Error(`Destination file path ${dest} already exists`);\n // Get the response headers\n const http = new $69572f7f2b456fd8$var$httpm.HttpClient($69572f7f2b456fd8$var$userAgent, [], {\n allowRetries: false\n });\n if (auth) {\n $69572f7f2b456fd8$var$core.debug(\"set auth\");\n if (headers === undefined) headers = {};\n headers.authorization = auth;\n }\n const response = yield http.get(url, headers);\n if (response.message.statusCode !== 200) {\n const err = new $69572f7f2b456fd8$var$HTTPError(response.message.statusCode);\n $69572f7f2b456fd8$var$core.debug(`Failed to download from \"${url}\". Code(${response.message.statusCode}) Message(${response.message.statusMessage})`);\n throw err;\n }\n // Download the response body\n const pipeline = $69572f7f2b456fd8$var$util.promisify($69572f7f2b456fd8$var$stream.pipeline);\n const responseMessageFactory = $69572f7f2b456fd8$var$_getGlobal(\"TEST_DOWNLOAD_TOOL_RESPONSE_MESSAGE_FACTORY\", ()=>response.message);\n const readStream = responseMessageFactory();\n let succeeded = false;\n try {\n yield pipeline(readStream, $69572f7f2b456fd8$var$fs.createWriteStream(dest));\n $69572f7f2b456fd8$var$core.debug(\"download complete\");\n succeeded = true;\n return dest;\n } finally{\n // Error, delete dest before retry\n if (!succeeded) {\n $69572f7f2b456fd8$var$core.debug(\"download failed\");\n try {\n yield $69572f7f2b456fd8$var$io.rmRF(dest);\n } catch (err) {\n $69572f7f2b456fd8$var$core.debug(`Failed to delete '${dest}'. ${err.message}`);\n }\n }\n }\n });\n}\n/**\n * Extract a .7z file\n *\n * @param file path to the .7z file\n * @param dest destination directory. Optional.\n * @param _7zPath path to 7zr.exe. Optional, for long path support. Most .7z archives do not have this\n * problem. If your .7z archive contains very long paths, you can pass the path to 7zr.exe which will\n * gracefully handle long paths. By default 7zdec.exe is used because it is a very small program and is\n * bundled with the tool lib. However it does not support long paths. 7zr.exe is the reduced command line\n * interface, it is smaller than the full command line interface, and it does support long paths. At the\n * time of this writing, it is freely available from the LZMA SDK that is available on the 7zip website.\n * Be sure to check the current license agreement. If 7zr.exe is bundled with your action, then the path\n * to 7zr.exe can be pass to this function.\n * @returns path to the destination directory\n */ function $69572f7f2b456fd8$var$extract7z(file, dest, _7zPath) {\n return $69572f7f2b456fd8$var$__awaiter(this, void 0, void 0, function*() {\n $6DZae$assert.ok($69572f7f2b456fd8$var$IS_WINDOWS, \"extract7z() not supported on current OS\");\n $6DZae$assert.ok(file, 'parameter \"file\" is required');\n dest = yield $69572f7f2b456fd8$var$_createExtractFolder(dest);\n const originalCwd = process.cwd();\n process.chdir(dest);\n if (_7zPath) try {\n const logLevel = $69572f7f2b456fd8$var$core.isDebug() ? \"-bb1\" : \"-bb0\";\n const args = [\n \"x\",\n logLevel,\n \"-bd\",\n \"-sccUTF-8\",\n file\n ];\n const options = {\n silent: true\n };\n yield $8hZvX.exec(`\"${_7zPath}\"`, args, options);\n } finally{\n process.chdir(originalCwd);\n }\n else {\n const escapedScript = $69572f7f2b456fd8$var$path.join($69572f7f2b456fd8$var$$parcel$__dirname, \"..\", \"scripts\", \"Invoke-7zdec.ps1\").replace(/'/g, \"''\").replace(/\"|\\n|\\r/g, \"\"); // double-up single quotes, remove double quotes and newlines\n const escapedFile = file.replace(/'/g, \"''\").replace(/\"|\\n|\\r/g, \"\");\n const escapedTarget = dest.replace(/'/g, \"''\").replace(/\"|\\n|\\r/g, \"\");\n const command = `& '${escapedScript}' -Source '${escapedFile}' -Target '${escapedTarget}'`;\n const args = [\n \"-NoLogo\",\n \"-Sta\",\n \"-NoProfile\",\n \"-NonInteractive\",\n \"-ExecutionPolicy\",\n \"Unrestricted\",\n \"-Command\",\n command\n ];\n const options = {\n silent: true\n };\n try {\n const powershellPath = yield $69572f7f2b456fd8$var$io.which(\"powershell\", true);\n yield $8hZvX.exec(`\"${powershellPath}\"`, args, options);\n } finally{\n process.chdir(originalCwd);\n }\n }\n return dest;\n });\n}\nmodule.exports.extract7z = $69572f7f2b456fd8$var$extract7z;\n/**\n * Extract a compressed tar archive\n *\n * @param file path to the tar\n * @param dest destination directory. Optional.\n * @param flags flags for the tar command to use for extraction. Defaults to 'xz' (extracting gzipped tars). Optional.\n * @returns path to the destination directory\n */ function $69572f7f2b456fd8$var$extractTar(file, dest, flags = \"xz\") {\n return $69572f7f2b456fd8$var$__awaiter(this, void 0, void 0, function*() {\n if (!file) throw new Error(\"parameter 'file' is required\");\n // Create dest\n dest = yield $69572f7f2b456fd8$var$_createExtractFolder(dest);\n // Determine whether GNU tar\n $69572f7f2b456fd8$var$core.debug(\"Checking tar --version\");\n let versionOutput = \"\";\n yield $8hZvX.exec(\"tar --version\", [], {\n ignoreReturnCode: true,\n silent: true,\n listeners: {\n stdout: (data)=>versionOutput += data.toString(),\n stderr: (data)=>versionOutput += data.toString()\n }\n });\n $69572f7f2b456fd8$var$core.debug(versionOutput.trim());\n const isGnuTar = versionOutput.toUpperCase().includes(\"GNU TAR\");\n // Initialize args\n let args;\n if (flags instanceof Array) args = flags;\n else args = [\n flags\n ];\n if ($69572f7f2b456fd8$var$core.isDebug() && !flags.includes(\"v\")) args.push(\"-v\");\n let destArg = dest;\n let fileArg = file;\n if ($69572f7f2b456fd8$var$IS_WINDOWS && isGnuTar) {\n args.push(\"--force-local\");\n destArg = dest.replace(/\\\\/g, \"/\");\n // Technically only the dest needs to have `/` but for aesthetic consistency\n // convert slashes in the file arg too.\n fileArg = file.replace(/\\\\/g, \"/\");\n }\n if (isGnuTar) {\n // Suppress warnings when using GNU tar to extract archives created by BSD tar\n args.push(\"--warning=no-unknown-keyword\");\n args.push(\"--overwrite\");\n }\n args.push(\"-C\", destArg, \"-f\", fileArg);\n yield $8hZvX.exec(`tar`, args);\n return dest;\n });\n}\nmodule.exports.extractTar = $69572f7f2b456fd8$var$extractTar;\n/**\n * Extract a xar compatible archive\n *\n * @param file path to the archive\n * @param dest destination directory. Optional.\n * @param flags flags for the xar. Optional.\n * @returns path to the destination directory\n */ function $69572f7f2b456fd8$var$extractXar(file, dest, flags = []) {\n return $69572f7f2b456fd8$var$__awaiter(this, void 0, void 0, function*() {\n $6DZae$assert.ok($69572f7f2b456fd8$var$IS_MAC, \"extractXar() not supported on current OS\");\n $6DZae$assert.ok(file, 'parameter \"file\" is required');\n dest = yield $69572f7f2b456fd8$var$_createExtractFolder(dest);\n let args;\n if (flags instanceof Array) args = flags;\n else args = [\n flags\n ];\n args.push(\"-x\", \"-C\", dest, \"-f\", file);\n if ($69572f7f2b456fd8$var$core.isDebug()) args.push(\"-v\");\n const xarPath = yield $69572f7f2b456fd8$var$io.which(\"xar\", true);\n yield $8hZvX.exec(`\"${xarPath}\"`, $69572f7f2b456fd8$var$_unique(args));\n return dest;\n });\n}\nmodule.exports.extractXar = $69572f7f2b456fd8$var$extractXar;\n/**\n * Extract a zip\n *\n * @param file path to the zip\n * @param dest destination directory. Optional.\n * @returns path to the destination directory\n */ function $69572f7f2b456fd8$var$extractZip(file, dest) {\n return $69572f7f2b456fd8$var$__awaiter(this, void 0, void 0, function*() {\n if (!file) throw new Error(\"parameter 'file' is required\");\n dest = yield $69572f7f2b456fd8$var$_createExtractFolder(dest);\n if ($69572f7f2b456fd8$var$IS_WINDOWS) yield $69572f7f2b456fd8$var$extractZipWin(file, dest);\n else yield $69572f7f2b456fd8$var$extractZipNix(file, dest);\n return dest;\n });\n}\nmodule.exports.extractZip = $69572f7f2b456fd8$var$extractZip;\nfunction $69572f7f2b456fd8$var$extractZipWin(file, dest) {\n return $69572f7f2b456fd8$var$__awaiter(this, void 0, void 0, function*() {\n // build the powershell command\n const escapedFile = file.replace(/'/g, \"''\").replace(/\"|\\n|\\r/g, \"\"); // double-up single quotes, remove double quotes and newlines\n const escapedDest = dest.replace(/'/g, \"''\").replace(/\"|\\n|\\r/g, \"\");\n const pwshPath = yield $69572f7f2b456fd8$var$io.which(\"pwsh\", false);\n //To match the file overwrite behavior on nix systems, we use the overwrite = true flag for ExtractToDirectory\n //and the -Force flag for Expand-Archive as a fallback\n if (pwshPath) {\n //attempt to use pwsh with ExtractToDirectory, if this fails attempt Expand-Archive\n const pwshCommand = [\n `$ErrorActionPreference = 'Stop' ;`,\n `try { Add-Type -AssemblyName System.IO.Compression.ZipFile } catch { } ;`,\n `try { [System.IO.Compression.ZipFile]::ExtractToDirectory('${escapedFile}', '${escapedDest}', $true) }`,\n `catch { if (($_.Exception.GetType().FullName -eq 'System.Management.Automation.MethodException') -or ($_.Exception.GetType().FullName -eq 'System.Management.Automation.RuntimeException') ){ Expand-Archive -LiteralPath '${escapedFile}' -DestinationPath '${escapedDest}' -Force } else { throw $_ } } ;`\n ].join(\" \");\n const args = [\n \"-NoLogo\",\n \"-NoProfile\",\n \"-NonInteractive\",\n \"-ExecutionPolicy\",\n \"Unrestricted\",\n \"-Command\",\n pwshCommand\n ];\n $69572f7f2b456fd8$var$core.debug(`Using pwsh at path: ${pwshPath}`);\n yield $8hZvX.exec(`\"${pwshPath}\"`, args);\n } else {\n const powershellCommand = [\n `$ErrorActionPreference = 'Stop' ;`,\n `try { Add-Type -AssemblyName System.IO.Compression.FileSystem } catch { } ;`,\n `if ((Get-Command -Name Expand-Archive -Module Microsoft.PowerShell.Archive -ErrorAction Ignore)) { Expand-Archive -LiteralPath '${escapedFile}' -DestinationPath '${escapedDest}' -Force }`,\n `else {[System.IO.Compression.ZipFile]::ExtractToDirectory('${escapedFile}', '${escapedDest}', $true) }`\n ].join(\" \");\n const args = [\n \"-NoLogo\",\n \"-Sta\",\n \"-NoProfile\",\n \"-NonInteractive\",\n \"-ExecutionPolicy\",\n \"Unrestricted\",\n \"-Command\",\n powershellCommand\n ];\n const powershellPath = yield $69572f7f2b456fd8$var$io.which(\"powershell\", true);\n $69572f7f2b456fd8$var$core.debug(`Using powershell at path: ${powershellPath}`);\n yield $8hZvX.exec(`\"${powershellPath}\"`, args);\n }\n });\n}\nfunction $69572f7f2b456fd8$var$extractZipNix(file, dest) {\n return $69572f7f2b456fd8$var$__awaiter(this, void 0, void 0, function*() {\n const unzipPath = yield $69572f7f2b456fd8$var$io.which(\"unzip\", true);\n const args = [\n file\n ];\n if (!$69572f7f2b456fd8$var$core.isDebug()) args.unshift(\"-q\");\n args.unshift(\"-o\"); //overwrite with -o, otherwise a prompt is shown which freezes the run\n yield $8hZvX.exec(`\"${unzipPath}\"`, args, {\n cwd: dest\n });\n });\n}\n/**\n * Caches a directory and installs it into the tool cacheDir\n *\n * @param sourceDir the directory to cache into tools\n * @param tool tool name\n * @param version version of the tool. semver format\n * @param arch architecture of the tool. Optional. Defaults to machine architecture\n */ function $69572f7f2b456fd8$var$cacheDir(sourceDir, tool, version, arch) {\n return $69572f7f2b456fd8$var$__awaiter(this, void 0, void 0, function*() {\n version = $69572f7f2b456fd8$var$semver.clean(version) || version;\n arch = arch || $69572f7f2b456fd8$var$os.arch();\n $69572f7f2b456fd8$var$core.debug(`Caching tool ${tool} ${version} ${arch}`);\n $69572f7f2b456fd8$var$core.debug(`source dir: ${sourceDir}`);\n if (!$69572f7f2b456fd8$var$fs.statSync(sourceDir).isDirectory()) throw new Error(\"sourceDir is not a directory\");\n // Create the tool dir\n const destPath = yield $69572f7f2b456fd8$var$_createToolPath(tool, version, arch);\n // copy each child item. do not move. move can fail on Windows\n // due to anti-virus software having an open handle on a file.\n for (const itemName of $69572f7f2b456fd8$var$fs.readdirSync(sourceDir)){\n const s = $69572f7f2b456fd8$var$path.join(sourceDir, itemName);\n yield $69572f7f2b456fd8$var$io.cp(s, destPath, {\n recursive: true\n });\n }\n // write .complete\n $69572f7f2b456fd8$var$_completeToolPath(tool, version, arch);\n return destPath;\n });\n}\nmodule.exports.cacheDir = $69572f7f2b456fd8$var$cacheDir;\n/**\n * Caches a downloaded file (GUID) and installs it\n * into the tool cache with a given targetName\n *\n * @param sourceFile the file to cache into tools. Typically a result of downloadTool which is a guid.\n * @param targetFile the name of the file name in the tools directory\n * @param tool tool name\n * @param version version of the tool. semver format\n * @param arch architecture of the tool. Optional. Defaults to machine architecture\n */ function $69572f7f2b456fd8$var$cacheFile(sourceFile, targetFile, tool, version, arch) {\n return $69572f7f2b456fd8$var$__awaiter(this, void 0, void 0, function*() {\n version = $69572f7f2b456fd8$var$semver.clean(version) || version;\n arch = arch || $69572f7f2b456fd8$var$os.arch();\n $69572f7f2b456fd8$var$core.debug(`Caching tool ${tool} ${version} ${arch}`);\n $69572f7f2b456fd8$var$core.debug(`source file: ${sourceFile}`);\n if (!$69572f7f2b456fd8$var$fs.statSync(sourceFile).isFile()) throw new Error(\"sourceFile is not a file\");\n // create the tool dir\n const destFolder = yield $69572f7f2b456fd8$var$_createToolPath(tool, version, arch);\n // copy instead of move. move can fail on Windows due to\n // anti-virus software having an open handle on a file.\n const destPath = $69572f7f2b456fd8$var$path.join(destFolder, targetFile);\n $69572f7f2b456fd8$var$core.debug(`destination file ${destPath}`);\n yield $69572f7f2b456fd8$var$io.cp(sourceFile, destPath);\n // write .complete\n $69572f7f2b456fd8$var$_completeToolPath(tool, version, arch);\n return destFolder;\n });\n}\nmodule.exports.cacheFile = $69572f7f2b456fd8$var$cacheFile;\n/**\n * Finds the path to a tool version in the local installed tool cache\n *\n * @param toolName name of the tool\n * @param versionSpec version of the tool\n * @param arch optional arch. defaults to arch of computer\n */ function $69572f7f2b456fd8$var$find(toolName, versionSpec, arch) {\n if (!toolName) throw new Error(\"toolName parameter is required\");\n if (!versionSpec) throw new Error(\"versionSpec parameter is required\");\n arch = arch || $69572f7f2b456fd8$var$os.arch();\n // attempt to resolve an explicit version\n if (!$69572f7f2b456fd8$var$isExplicitVersion(versionSpec)) {\n const localVersions = $69572f7f2b456fd8$var$findAllVersions(toolName, arch);\n const match = $69572f7f2b456fd8$var$evaluateVersions(localVersions, versionSpec);\n versionSpec = match;\n }\n // check for the explicit version in the cache\n let toolPath = \"\";\n if (versionSpec) {\n versionSpec = $69572f7f2b456fd8$var$semver.clean(versionSpec) || \"\";\n const cachePath = $69572f7f2b456fd8$var$path.join($69572f7f2b456fd8$var$_getCacheDirectory(), toolName, versionSpec, arch);\n $69572f7f2b456fd8$var$core.debug(`checking cache: ${cachePath}`);\n if ($69572f7f2b456fd8$var$fs.existsSync(cachePath) && $69572f7f2b456fd8$var$fs.existsSync(`${cachePath}.complete`)) {\n $69572f7f2b456fd8$var$core.debug(`Found tool in cache ${toolName} ${versionSpec} ${arch}`);\n toolPath = cachePath;\n } else $69572f7f2b456fd8$var$core.debug(\"not found\");\n }\n return toolPath;\n}\nmodule.exports.find = $69572f7f2b456fd8$var$find;\n/**\n * Finds the paths to all versions of a tool that are installed in the local tool cache\n *\n * @param toolName name of the tool\n * @param arch optional arch. defaults to arch of computer\n */ function $69572f7f2b456fd8$var$findAllVersions(toolName, arch) {\n const versions = [];\n arch = arch || $69572f7f2b456fd8$var$os.arch();\n const toolPath = $69572f7f2b456fd8$var$path.join($69572f7f2b456fd8$var$_getCacheDirectory(), toolName);\n if ($69572f7f2b456fd8$var$fs.existsSync(toolPath)) {\n const children = $69572f7f2b456fd8$var$fs.readdirSync(toolPath);\n for (const child of children)if ($69572f7f2b456fd8$var$isExplicitVersion(child)) {\n const fullPath = $69572f7f2b456fd8$var$path.join(toolPath, child, arch || \"\");\n if ($69572f7f2b456fd8$var$fs.existsSync(fullPath) && $69572f7f2b456fd8$var$fs.existsSync(`${fullPath}.complete`)) versions.push(child);\n }\n }\n return versions;\n}\nmodule.exports.findAllVersions = $69572f7f2b456fd8$var$findAllVersions;\nfunction $69572f7f2b456fd8$var$getManifestFromRepo(owner, repo, auth, branch = \"master\") {\n return $69572f7f2b456fd8$var$__awaiter(this, void 0, void 0, function*() {\n let releases = [];\n const treeUrl = `https://api.github.com/repos/${owner}/${repo}/git/trees/${branch}`;\n const http = new $69572f7f2b456fd8$var$httpm.HttpClient(\"tool-cache\");\n const headers = {};\n if (auth) {\n $69572f7f2b456fd8$var$core.debug(\"set auth\");\n headers.authorization = auth;\n }\n const response = yield http.getJson(treeUrl, headers);\n if (!response.result) return releases;\n let manifestUrl = \"\";\n for (const item of response.result.tree)if (item.path === \"versions-manifest.json\") {\n manifestUrl = item.url;\n break;\n }\n headers[\"accept\"] = \"application/vnd.github.VERSION.raw\";\n let versionsRaw = yield (yield http.get(manifestUrl, headers)).readBody();\n if (versionsRaw) {\n // shouldn't be needed but protects against invalid json saved with BOM\n versionsRaw = versionsRaw.replace(/^\\uFEFF/, \"\");\n try {\n releases = JSON.parse(versionsRaw);\n } catch (_a) {\n $69572f7f2b456fd8$var$core.debug(\"Invalid json\");\n }\n }\n return releases;\n });\n}\nmodule.exports.getManifestFromRepo = $69572f7f2b456fd8$var$getManifestFromRepo;\nfunction $69572f7f2b456fd8$var$findFromManifest(versionSpec, stable, manifest, archFilter = $69572f7f2b456fd8$var$os.arch()) {\n return $69572f7f2b456fd8$var$__awaiter(this, void 0, void 0, function*() {\n // wrap the internal impl\n const match = yield $69572f7f2b456fd8$var$mm._findMatch(versionSpec, stable, manifest, archFilter);\n return match;\n });\n}\nmodule.exports.findFromManifest = $69572f7f2b456fd8$var$findFromManifest;\nfunction $69572f7f2b456fd8$var$_createExtractFolder(dest) {\n return $69572f7f2b456fd8$var$__awaiter(this, void 0, void 0, function*() {\n if (!dest) // create a temp dir\n dest = $69572f7f2b456fd8$var$path.join($69572f7f2b456fd8$var$_getTempDirectory(), $69572f7f2b456fd8$var$v4_1.default());\n yield $69572f7f2b456fd8$var$io.mkdirP(dest);\n return dest;\n });\n}\nfunction $69572f7f2b456fd8$var$_createToolPath(tool, version, arch) {\n return $69572f7f2b456fd8$var$__awaiter(this, void 0, void 0, function*() {\n const folderPath = $69572f7f2b456fd8$var$path.join($69572f7f2b456fd8$var$_getCacheDirectory(), tool, $69572f7f2b456fd8$var$semver.clean(version) || version, arch || \"\");\n $69572f7f2b456fd8$var$core.debug(`destination ${folderPath}`);\n const markerPath = `${folderPath}.complete`;\n yield $69572f7f2b456fd8$var$io.rmRF(folderPath);\n yield $69572f7f2b456fd8$var$io.rmRF(markerPath);\n yield $69572f7f2b456fd8$var$io.mkdirP(folderPath);\n return folderPath;\n });\n}\nfunction $69572f7f2b456fd8$var$_completeToolPath(tool, version, arch) {\n const folderPath = $69572f7f2b456fd8$var$path.join($69572f7f2b456fd8$var$_getCacheDirectory(), tool, $69572f7f2b456fd8$var$semver.clean(version) || version, arch || \"\");\n const markerPath = `${folderPath}.complete`;\n $69572f7f2b456fd8$var$fs.writeFileSync(markerPath, \"\");\n $69572f7f2b456fd8$var$core.debug(\"finished caching tool\");\n}\n/**\n * Check if version string is explicit\n *\n * @param versionSpec version string to check\n */ function $69572f7f2b456fd8$var$isExplicitVersion(versionSpec) {\n const c = $69572f7f2b456fd8$var$semver.clean(versionSpec) || \"\";\n $69572f7f2b456fd8$var$core.debug(`isExplicit: ${c}`);\n const valid = $69572f7f2b456fd8$var$semver.valid(c) != null;\n $69572f7f2b456fd8$var$core.debug(`explicit? ${valid}`);\n return valid;\n}\nmodule.exports.isExplicitVersion = $69572f7f2b456fd8$var$isExplicitVersion;\n/**\n * Get the highest satisfiying semantic version in `versions` which satisfies `versionSpec`\n *\n * @param versions array of versions to evaluate\n * @param versionSpec semantic version spec to satisfy\n */ function $69572f7f2b456fd8$var$evaluateVersions(versions, versionSpec) {\n let version = \"\";\n $69572f7f2b456fd8$var$core.debug(`evaluating ${versions.length} versions`);\n versions = versions.sort((a, b)=>{\n if ($69572f7f2b456fd8$var$semver.gt(a, b)) return 1;\n return -1;\n });\n for(let i = versions.length - 1; i >= 0; i--){\n const potential = versions[i];\n const satisfied = $69572f7f2b456fd8$var$semver.satisfies(potential, versionSpec);\n if (satisfied) {\n version = potential;\n break;\n }\n }\n if (version) $69572f7f2b456fd8$var$core.debug(`matched: ${version}`);\n else $69572f7f2b456fd8$var$core.debug(\"match not found\");\n return version;\n}\nmodule.exports.evaluateVersions = $69572f7f2b456fd8$var$evaluateVersions;\n/**\n * Gets RUNNER_TOOL_CACHE\n */ function $69572f7f2b456fd8$var$_getCacheDirectory() {\n const cacheDirectory = process.env[\"RUNNER_TOOL_CACHE\"] || \"\";\n $6DZae$assert.ok(cacheDirectory, \"Expected RUNNER_TOOL_CACHE to be defined\");\n return cacheDirectory;\n}\n/**\n * Gets RUNNER_TEMP\n */ function $69572f7f2b456fd8$var$_getTempDirectory() {\n const tempDirectory = process.env[\"RUNNER_TEMP\"] || \"\";\n $6DZae$assert.ok(tempDirectory, \"Expected RUNNER_TEMP to be defined\");\n return tempDirectory;\n}\n/**\n * Gets a global variable\n */ function $69572f7f2b456fd8$var$_getGlobal(key, defaultValue) {\n /* eslint-disable @typescript-eslint/no-explicit-any */ const value = $parcel$global[key];\n /* eslint-enable @typescript-eslint/no-explicit-any */ return value !== undefined ? value : defaultValue;\n}\n/**\n * Returns an array of unique values.\n * @param values Values to make unique.\n */ function $69572f7f2b456fd8$var$_unique(values) {\n return Array.from(new Set(values));\n}\n\n});\nparcelRequire.register(\"2hRWF\", function(module, exports) {\n\"use strict\";\nvar $1aa703baf8d9e73f$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $1aa703baf8d9e73f$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $1aa703baf8d9e73f$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $1aa703baf8d9e73f$var$__createBinding(result, mod, k);\n }\n $1aa703baf8d9e73f$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $1aa703baf8d9e73f$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports._readLinuxVersionFile = module.exports._getOsVersion = module.exports._findMatch = void 0;\n\nconst $1aa703baf8d9e73f$var$semver = $1aa703baf8d9e73f$var$__importStar((parcelRequire(\"8eiWl\")));\n\nvar $i5trn = parcelRequire(\"i5trn\");\n\n\n\nfunction $1aa703baf8d9e73f$var$_findMatch(versionSpec, stable, candidates, archFilter) {\n return $1aa703baf8d9e73f$var$__awaiter(this, void 0, void 0, function*() {\n const platFilter = $6DZae$os.platform();\n let result;\n let match;\n let file;\n for (const candidate of candidates){\n const version = candidate.version;\n $i5trn.debug(`check ${version} satisfies ${versionSpec}`);\n if ($1aa703baf8d9e73f$var$semver.satisfies(version, versionSpec) && (!stable || candidate.stable === stable)) {\n file = candidate.files.find((item)=>{\n $i5trn.debug(`${item.arch}===${archFilter} && ${item.platform}===${platFilter}`);\n let chk = item.arch === archFilter && item.platform === platFilter;\n if (chk && item.platform_version) {\n const osVersion = module.exports._getOsVersion();\n if (osVersion === item.platform_version) chk = true;\n else chk = $1aa703baf8d9e73f$var$semver.satisfies(osVersion, item.platform_version);\n }\n return chk;\n });\n if (file) {\n $i5trn.debug(`matched ${candidate.version}`);\n match = candidate;\n break;\n }\n }\n }\n if (match && file) {\n // clone since we're mutating the file list to be only the file that matches\n result = Object.assign({}, match);\n result.files = [\n file\n ];\n }\n return result;\n });\n}\nmodule.exports._findMatch = $1aa703baf8d9e73f$var$_findMatch;\nfunction $1aa703baf8d9e73f$var$_getOsVersion() {\n // TODO: add windows and other linux, arm variants\n // right now filtering on version is only an ubuntu and macos scenario for tools we build for hosted (python)\n const plat = $6DZae$os.platform();\n let version = \"\";\n if (plat === \"darwin\") version = $6DZae$child_process.execSync(\"sw_vers -productVersion\").toString();\n else if (plat === \"linux\") {\n // lsb_release process not in some containers, readfile\n // Run cat /etc/lsb-release\n // DISTRIB_ID=Ubuntu\n // DISTRIB_RELEASE=18.04\n // DISTRIB_CODENAME=bionic\n // DISTRIB_DESCRIPTION=\"Ubuntu 18.04.4 LTS\"\n const lsbContents = module.exports._readLinuxVersionFile();\n if (lsbContents) {\n const lines = lsbContents.split(\"\\n\");\n for (const line of lines){\n const parts = line.split(\"=\");\n if (parts.length === 2 && (parts[0].trim() === \"VERSION_ID\" || parts[0].trim() === \"DISTRIB_RELEASE\")) {\n version = parts[1].trim().replace(/^\"/, \"\").replace(/\"$/, \"\");\n break;\n }\n }\n }\n }\n return version;\n}\nmodule.exports._getOsVersion = $1aa703baf8d9e73f$var$_getOsVersion;\nfunction $1aa703baf8d9e73f$var$_readLinuxVersionFile() {\n const lsbReleaseFile = \"/etc/lsb-release\";\n const osReleaseFile = \"/etc/os-release\";\n let contents = \"\";\n if ($6DZae$fs.existsSync(lsbReleaseFile)) contents = $6DZae$fs.readFileSync(lsbReleaseFile).toString();\n else if ($6DZae$fs.existsSync(osReleaseFile)) contents = $6DZae$fs.readFileSync(osReleaseFile).toString();\n return contents;\n}\nmodule.exports._readLinuxVersionFile = $1aa703baf8d9e73f$var$_readLinuxVersionFile;\n\n});\n\nparcelRequire.register(\"6W2GO\", function(module, exports) {\n\"use strict\";\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\n\n\n\nvar $5AZu6 = parcelRequire(\"5AZu6\");\nlet $50ca3eedf29bc966$var$tunnel;\nvar $50ca3eedf29bc966$var$HttpCodes;\n(function(HttpCodes) {\n HttpCodes[HttpCodes[\"OK\"] = 200] = \"OK\";\n HttpCodes[HttpCodes[\"MultipleChoices\"] = 300] = \"MultipleChoices\";\n HttpCodes[HttpCodes[\"MovedPermanently\"] = 301] = \"MovedPermanently\";\n HttpCodes[HttpCodes[\"ResourceMoved\"] = 302] = \"ResourceMoved\";\n HttpCodes[HttpCodes[\"SeeOther\"] = 303] = \"SeeOther\";\n HttpCodes[HttpCodes[\"NotModified\"] = 304] = \"NotModified\";\n HttpCodes[HttpCodes[\"UseProxy\"] = 305] = \"UseProxy\";\n HttpCodes[HttpCodes[\"SwitchProxy\"] = 306] = \"SwitchProxy\";\n HttpCodes[HttpCodes[\"TemporaryRedirect\"] = 307] = \"TemporaryRedirect\";\n HttpCodes[HttpCodes[\"PermanentRedirect\"] = 308] = \"PermanentRedirect\";\n HttpCodes[HttpCodes[\"BadRequest\"] = 400] = \"BadRequest\";\n HttpCodes[HttpCodes[\"Unauthorized\"] = 401] = \"Unauthorized\";\n HttpCodes[HttpCodes[\"PaymentRequired\"] = 402] = \"PaymentRequired\";\n HttpCodes[HttpCodes[\"Forbidden\"] = 403] = \"Forbidden\";\n HttpCodes[HttpCodes[\"NotFound\"] = 404] = \"NotFound\";\n HttpCodes[HttpCodes[\"MethodNotAllowed\"] = 405] = \"MethodNotAllowed\";\n HttpCodes[HttpCodes[\"NotAcceptable\"] = 406] = \"NotAcceptable\";\n HttpCodes[HttpCodes[\"ProxyAuthenticationRequired\"] = 407] = \"ProxyAuthenticationRequired\";\n HttpCodes[HttpCodes[\"RequestTimeout\"] = 408] = \"RequestTimeout\";\n HttpCodes[HttpCodes[\"Conflict\"] = 409] = \"Conflict\";\n HttpCodes[HttpCodes[\"Gone\"] = 410] = \"Gone\";\n HttpCodes[HttpCodes[\"TooManyRequests\"] = 429] = \"TooManyRequests\";\n HttpCodes[HttpCodes[\"InternalServerError\"] = 500] = \"InternalServerError\";\n HttpCodes[HttpCodes[\"NotImplemented\"] = 501] = \"NotImplemented\";\n HttpCodes[HttpCodes[\"BadGateway\"] = 502] = \"BadGateway\";\n HttpCodes[HttpCodes[\"ServiceUnavailable\"] = 503] = \"ServiceUnavailable\";\n HttpCodes[HttpCodes[\"GatewayTimeout\"] = 504] = \"GatewayTimeout\";\n})($50ca3eedf29bc966$var$HttpCodes = module.exports.HttpCodes || (module.exports.HttpCodes = {}));\nvar $50ca3eedf29bc966$var$Headers;\n(function(Headers) {\n Headers[\"Accept\"] = \"accept\";\n Headers[\"ContentType\"] = \"content-type\";\n})($50ca3eedf29bc966$var$Headers = module.exports.Headers || (module.exports.Headers = {}));\nvar $50ca3eedf29bc966$var$MediaTypes;\n(function(MediaTypes) {\n MediaTypes[\"ApplicationJson\"] = \"application/json\";\n})($50ca3eedf29bc966$var$MediaTypes = module.exports.MediaTypes || (module.exports.MediaTypes = {}));\n/**\n * Returns the proxy URL, depending upon the supplied url and proxy environment variables.\n * @param serverUrl The server URL where the request will be sent. For example, https://api.github.com\n */ function $50ca3eedf29bc966$var$getProxyUrl(serverUrl) {\n let proxyUrl = $5AZu6.getProxyUrl(new URL(serverUrl));\n return proxyUrl ? proxyUrl.href : \"\";\n}\nmodule.exports.getProxyUrl = $50ca3eedf29bc966$var$getProxyUrl;\nconst $50ca3eedf29bc966$var$HttpRedirectCodes = [\n $50ca3eedf29bc966$var$HttpCodes.MovedPermanently,\n $50ca3eedf29bc966$var$HttpCodes.ResourceMoved,\n $50ca3eedf29bc966$var$HttpCodes.SeeOther,\n $50ca3eedf29bc966$var$HttpCodes.TemporaryRedirect,\n $50ca3eedf29bc966$var$HttpCodes.PermanentRedirect\n];\nconst $50ca3eedf29bc966$var$HttpResponseRetryCodes = [\n $50ca3eedf29bc966$var$HttpCodes.BadGateway,\n $50ca3eedf29bc966$var$HttpCodes.ServiceUnavailable,\n $50ca3eedf29bc966$var$HttpCodes.GatewayTimeout\n];\nconst $50ca3eedf29bc966$var$RetryableHttpVerbs = [\n \"OPTIONS\",\n \"GET\",\n \"DELETE\",\n \"HEAD\"\n];\nconst $50ca3eedf29bc966$var$ExponentialBackoffCeiling = 10;\nconst $50ca3eedf29bc966$var$ExponentialBackoffTimeSlice = 5;\nclass $50ca3eedf29bc966$var$HttpClientError extends Error {\n constructor(message, statusCode){\n super(message);\n this.name = \"HttpClientError\";\n this.statusCode = statusCode;\n Object.setPrototypeOf(this, $50ca3eedf29bc966$var$HttpClientError.prototype);\n }\n}\nmodule.exports.HttpClientError = $50ca3eedf29bc966$var$HttpClientError;\nclass $50ca3eedf29bc966$var$HttpClientResponse {\n constructor(message){\n this.message = message;\n }\n readBody() {\n return new Promise(async (resolve, reject)=>{\n let output = Buffer.alloc(0);\n this.message.on(\"data\", (chunk)=>{\n output = Buffer.concat([\n output,\n chunk\n ]);\n });\n this.message.on(\"end\", ()=>{\n resolve(output.toString());\n });\n });\n }\n}\nmodule.exports.HttpClientResponse = $50ca3eedf29bc966$var$HttpClientResponse;\nfunction $50ca3eedf29bc966$var$isHttps(requestUrl) {\n let parsedUrl = new URL(requestUrl);\n return parsedUrl.protocol === \"https:\";\n}\nmodule.exports.isHttps = $50ca3eedf29bc966$var$isHttps;\n\nclass $50ca3eedf29bc966$var$HttpClient {\n constructor(userAgent, handlers, requestOptions){\n this._ignoreSslError = false;\n this._allowRedirects = true;\n this._allowRedirectDowngrade = false;\n this._maxRedirects = 50;\n this._allowRetries = false;\n this._maxRetries = 1;\n this._keepAlive = false;\n this._disposed = false;\n this.userAgent = userAgent;\n this.handlers = handlers || [];\n this.requestOptions = requestOptions;\n if (requestOptions) {\n if (requestOptions.ignoreSslError != null) this._ignoreSslError = requestOptions.ignoreSslError;\n this._socketTimeout = requestOptions.socketTimeout;\n if (requestOptions.allowRedirects != null) this._allowRedirects = requestOptions.allowRedirects;\n if (requestOptions.allowRedirectDowngrade != null) this._allowRedirectDowngrade = requestOptions.allowRedirectDowngrade;\n if (requestOptions.maxRedirects != null) this._maxRedirects = Math.max(requestOptions.maxRedirects, 0);\n if (requestOptions.keepAlive != null) this._keepAlive = requestOptions.keepAlive;\n if (requestOptions.allowRetries != null) this._allowRetries = requestOptions.allowRetries;\n if (requestOptions.maxRetries != null) this._maxRetries = requestOptions.maxRetries;\n }\n }\n options(requestUrl, additionalHeaders) {\n return this.request(\"OPTIONS\", requestUrl, null, additionalHeaders || {});\n }\n get(requestUrl, additionalHeaders) {\n return this.request(\"GET\", requestUrl, null, additionalHeaders || {});\n }\n del(requestUrl, additionalHeaders) {\n return this.request(\"DELETE\", requestUrl, null, additionalHeaders || {});\n }\n post(requestUrl, data, additionalHeaders) {\n return this.request(\"POST\", requestUrl, data, additionalHeaders || {});\n }\n patch(requestUrl, data, additionalHeaders) {\n return this.request(\"PATCH\", requestUrl, data, additionalHeaders || {});\n }\n put(requestUrl, data, additionalHeaders) {\n return this.request(\"PUT\", requestUrl, data, additionalHeaders || {});\n }\n head(requestUrl, additionalHeaders) {\n return this.request(\"HEAD\", requestUrl, null, additionalHeaders || {});\n }\n sendStream(verb, requestUrl, stream, additionalHeaders) {\n return this.request(verb, requestUrl, stream, additionalHeaders);\n }\n /**\n * Gets a typed object from an endpoint\n * Be aware that not found returns a null. Other errors (4xx, 5xx) reject the promise\n */ async getJson(requestUrl, additionalHeaders = {}) {\n additionalHeaders[$50ca3eedf29bc966$var$Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, $50ca3eedf29bc966$var$Headers.Accept, $50ca3eedf29bc966$var$MediaTypes.ApplicationJson);\n let res = await this.get(requestUrl, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n }\n async postJson(requestUrl, obj, additionalHeaders = {}) {\n let data = JSON.stringify(obj, null, 2);\n additionalHeaders[$50ca3eedf29bc966$var$Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, $50ca3eedf29bc966$var$Headers.Accept, $50ca3eedf29bc966$var$MediaTypes.ApplicationJson);\n additionalHeaders[$50ca3eedf29bc966$var$Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, $50ca3eedf29bc966$var$Headers.ContentType, $50ca3eedf29bc966$var$MediaTypes.ApplicationJson);\n let res = await this.post(requestUrl, data, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n }\n async putJson(requestUrl, obj, additionalHeaders = {}) {\n let data = JSON.stringify(obj, null, 2);\n additionalHeaders[$50ca3eedf29bc966$var$Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, $50ca3eedf29bc966$var$Headers.Accept, $50ca3eedf29bc966$var$MediaTypes.ApplicationJson);\n additionalHeaders[$50ca3eedf29bc966$var$Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, $50ca3eedf29bc966$var$Headers.ContentType, $50ca3eedf29bc966$var$MediaTypes.ApplicationJson);\n let res = await this.put(requestUrl, data, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n }\n async patchJson(requestUrl, obj, additionalHeaders = {}) {\n let data = JSON.stringify(obj, null, 2);\n additionalHeaders[$50ca3eedf29bc966$var$Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, $50ca3eedf29bc966$var$Headers.Accept, $50ca3eedf29bc966$var$MediaTypes.ApplicationJson);\n additionalHeaders[$50ca3eedf29bc966$var$Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, $50ca3eedf29bc966$var$Headers.ContentType, $50ca3eedf29bc966$var$MediaTypes.ApplicationJson);\n let res = await this.patch(requestUrl, data, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n }\n /**\n * Makes a raw http request.\n * All other methods such as get, post, patch, and request ultimately call this.\n * Prefer get, del, post and patch\n */ async request(verb, requestUrl, data, headers) {\n if (this._disposed) throw new Error(\"Client has already been disposed.\");\n let parsedUrl = new URL(requestUrl);\n let info = this._prepareRequest(verb, parsedUrl, headers);\n // Only perform retries on reads since writes may not be idempotent.\n let maxTries = this._allowRetries && $50ca3eedf29bc966$var$RetryableHttpVerbs.indexOf(verb) != -1 ? this._maxRetries + 1 : 1;\n let numTries = 0;\n let response;\n while(numTries < maxTries){\n response = await this.requestRaw(info, data);\n // Check if it's an authentication challenge\n if (response && response.message && response.message.statusCode === $50ca3eedf29bc966$var$HttpCodes.Unauthorized) {\n let authenticationHandler;\n for(let i = 0; i < this.handlers.length; i++)if (this.handlers[i].canHandleAuthentication(response)) {\n authenticationHandler = this.handlers[i];\n break;\n }\n if (authenticationHandler) return authenticationHandler.handleAuthentication(this, info, data);\n else // We have received an unauthorized response but have no handlers to handle it.\n // Let the response return to the caller.\n return response;\n }\n let redirectsRemaining = this._maxRedirects;\n while($50ca3eedf29bc966$var$HttpRedirectCodes.indexOf(response.message.statusCode) != -1 && this._allowRedirects && redirectsRemaining > 0){\n const redirectUrl = response.message.headers[\"location\"];\n if (!redirectUrl) break;\n let parsedRedirectUrl = new URL(redirectUrl);\n if (parsedUrl.protocol == \"https:\" && parsedUrl.protocol != parsedRedirectUrl.protocol && !this._allowRedirectDowngrade) throw new 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.\");\n // we need to finish reading the response before reassigning response\n // which will leak the open socket.\n await response.readBody();\n // strip authorization header if redirected to a different hostname\n if (parsedRedirectUrl.hostname !== parsedUrl.hostname) {\n for(let header in headers)// header names are case insensitive\n if (header.toLowerCase() === \"authorization\") delete headers[header];\n }\n // let's make the request with the new redirectUrl\n info = this._prepareRequest(verb, parsedRedirectUrl, headers);\n response = await this.requestRaw(info, data);\n redirectsRemaining--;\n }\n if ($50ca3eedf29bc966$var$HttpResponseRetryCodes.indexOf(response.message.statusCode) == -1) // If not a retry code, return immediately instead of retrying\n return response;\n numTries += 1;\n if (numTries < maxTries) {\n await response.readBody();\n await this._performExponentialBackoff(numTries);\n }\n }\n return response;\n }\n /**\n * Needs to be called if keepAlive is set to true in request options.\n */ dispose() {\n if (this._agent) this._agent.destroy();\n this._disposed = true;\n }\n /**\n * Raw request.\n * @param info\n * @param data\n */ requestRaw(info, data) {\n return new Promise((resolve, reject)=>{\n let callbackForResult = function(err, res) {\n if (err) reject(err);\n resolve(res);\n };\n this.requestRawWithCallback(info, data, callbackForResult);\n });\n }\n /**\n * Raw request with callback.\n * @param info\n * @param data\n * @param onResult\n */ requestRawWithCallback(info, data, onResult) {\n let socket;\n if (typeof data === \"string\") info.options.headers[\"Content-Length\"] = Buffer.byteLength(data, \"utf8\");\n let callbackCalled = false;\n let handleResult = (err, res)=>{\n if (!callbackCalled) {\n callbackCalled = true;\n onResult(err, res);\n }\n };\n let req = info.httpModule.request(info.options, (msg)=>{\n let res = new $50ca3eedf29bc966$var$HttpClientResponse(msg);\n handleResult(null, res);\n });\n req.on(\"socket\", (sock)=>{\n socket = sock;\n });\n // If we ever get disconnected, we want the socket to timeout eventually\n req.setTimeout(this._socketTimeout || 180000, ()=>{\n if (socket) socket.end();\n handleResult(new Error(\"Request timeout: \" + info.options.path), null);\n });\n req.on(\"error\", function(err) {\n // err has statusCode property\n // res should have headers\n handleResult(err, null);\n });\n if (data && typeof data === \"string\") req.write(data, \"utf8\");\n if (data && typeof data !== \"string\") {\n data.on(\"close\", function() {\n req.end();\n });\n data.pipe(req);\n } else req.end();\n }\n /**\n * Gets an http agent. This function is useful when you need an http agent that handles\n * routing through a proxy server - depending upon the url and proxy environment variables.\n * @param serverUrl The server URL where the request will be sent. For example, https://api.github.com\n */ getAgent(serverUrl) {\n let parsedUrl = new URL(serverUrl);\n return this._getAgent(parsedUrl);\n }\n _prepareRequest(method, requestUrl, headers) {\n const info = {};\n info.parsedUrl = requestUrl;\n const usingSsl = info.parsedUrl.protocol === \"https:\";\n info.httpModule = usingSsl ? $6DZae$https : $6DZae$http;\n const defaultPort = usingSsl ? 443 : 80;\n info.options = {};\n info.options.host = info.parsedUrl.hostname;\n info.options.port = info.parsedUrl.port ? parseInt(info.parsedUrl.port) : defaultPort;\n info.options.path = (info.parsedUrl.pathname || \"\") + (info.parsedUrl.search || \"\");\n info.options.method = method;\n info.options.headers = this._mergeHeaders(headers);\n if (this.userAgent != null) info.options.headers[\"user-agent\"] = this.userAgent;\n info.options.agent = this._getAgent(info.parsedUrl);\n // gives handlers an opportunity to participate\n if (this.handlers) this.handlers.forEach((handler)=>{\n handler.prepareRequest(info.options);\n });\n return info;\n }\n _mergeHeaders(headers) {\n const lowercaseKeys = (obj)=>Object.keys(obj).reduce((c, k)=>(c[k.toLowerCase()] = obj[k], c), {});\n if (this.requestOptions && this.requestOptions.headers) return Object.assign({}, lowercaseKeys(this.requestOptions.headers), lowercaseKeys(headers));\n return lowercaseKeys(headers || {});\n }\n _getExistingOrDefaultHeader(additionalHeaders, header, _default) {\n const lowercaseKeys = (obj)=>Object.keys(obj).reduce((c, k)=>(c[k.toLowerCase()] = obj[k], c), {});\n let clientHeader;\n if (this.requestOptions && this.requestOptions.headers) clientHeader = lowercaseKeys(this.requestOptions.headers)[header];\n return additionalHeaders[header] || clientHeader || _default;\n }\n _getAgent(parsedUrl) {\n let agent;\n let proxyUrl = $5AZu6.getProxyUrl(parsedUrl);\n let useProxy = proxyUrl && proxyUrl.hostname;\n if (this._keepAlive && useProxy) agent = this._proxyAgent;\n if (this._keepAlive && !useProxy) agent = this._agent;\n // if agent is already assigned use that agent.\n if (!!agent) return agent;\n const usingSsl = parsedUrl.protocol === \"https:\";\n let maxSockets = 100;\n if (!!this.requestOptions) maxSockets = this.requestOptions.maxSockets || $6DZae$http.globalAgent.maxSockets;\n if (useProxy) {\n // If using proxy, need tunnel\n if (!$50ca3eedf29bc966$var$tunnel) $50ca3eedf29bc966$var$tunnel = (parcelRequire(\"k1Uj2\"));\n const agentOptions = {\n maxSockets: maxSockets,\n keepAlive: this._keepAlive,\n proxy: {\n ...(proxyUrl.username || proxyUrl.password) && {\n proxyAuth: `${proxyUrl.username}:${proxyUrl.password}`\n },\n host: proxyUrl.hostname,\n port: proxyUrl.port\n }\n };\n let tunnelAgent;\n const overHttps = proxyUrl.protocol === \"https:\";\n if (usingSsl) tunnelAgent = overHttps ? $50ca3eedf29bc966$var$tunnel.httpsOverHttps : $50ca3eedf29bc966$var$tunnel.httpsOverHttp;\n else tunnelAgent = overHttps ? $50ca3eedf29bc966$var$tunnel.httpOverHttps : $50ca3eedf29bc966$var$tunnel.httpOverHttp;\n agent = tunnelAgent(agentOptions);\n this._proxyAgent = agent;\n }\n // if reusing agent across request and tunneling agent isn't assigned create a new agent\n if (this._keepAlive && !agent) {\n const options = {\n keepAlive: this._keepAlive,\n maxSockets: maxSockets\n };\n agent = usingSsl ? new $6DZae$https.Agent(options) : new $6DZae$http.Agent(options);\n this._agent = agent;\n }\n // if not using private agent and tunnel agent isn't setup then use global agent\n if (!agent) agent = usingSsl ? $6DZae$https.globalAgent : $6DZae$http.globalAgent;\n if (usingSsl && this._ignoreSslError) // we don't want to set NODE_TLS_REJECT_UNAUTHORIZED=0 since that will affect request for entire process\n // http.RequestOptions doesn't expose a way to modify RequestOptions.agent.options\n // we have to cast it to any and change it directly\n agent.options = Object.assign(agent.options || {}, {\n rejectUnauthorized: false\n });\n return agent;\n }\n _performExponentialBackoff(retryNumber) {\n retryNumber = Math.min($50ca3eedf29bc966$var$ExponentialBackoffCeiling, retryNumber);\n const ms = $50ca3eedf29bc966$var$ExponentialBackoffTimeSlice * Math.pow(2, retryNumber);\n return new Promise((resolve)=>setTimeout(()=>resolve(), ms));\n }\n static dateTimeDeserializer(key, value) {\n if (typeof value === \"string\") {\n let a = new Date(value);\n if (!isNaN(a.valueOf())) return a;\n }\n return value;\n }\n async _processResponse(res, options) {\n return new Promise(async (resolve, reject)=>{\n const statusCode = res.message.statusCode;\n const response = {\n statusCode: statusCode,\n result: null,\n headers: {}\n };\n // not found leads to null obj returned\n if (statusCode == $50ca3eedf29bc966$var$HttpCodes.NotFound) resolve(response);\n let obj;\n let contents;\n // get the result from the body\n try {\n contents = await res.readBody();\n if (contents && contents.length > 0) {\n if (options && options.deserializeDates) obj = JSON.parse(contents, $50ca3eedf29bc966$var$HttpClient.dateTimeDeserializer);\n else obj = JSON.parse(contents);\n response.result = obj;\n }\n response.headers = res.message.headers;\n } catch (err) {\n // Invalid resource (contents not json); leaving result obj null\n }\n // note that 3xx redirects are handled by the http layer.\n if (statusCode > 299) {\n let msg;\n // if exception/error in body, attempt to get better error\n if (obj && obj.message) msg = obj.message;\n else if (contents && contents.length > 0) // it may be the case that the exception is in the body message as string\n msg = contents;\n else msg = \"Failed request: (\" + statusCode + \")\";\n let err = new $50ca3eedf29bc966$var$HttpClientError(msg, statusCode);\n err.result = response.result;\n reject(err);\n } else resolve(response);\n });\n }\n}\nmodule.exports.HttpClient = $50ca3eedf29bc966$var$HttpClient;\n\n});\nparcelRequire.register(\"5AZu6\", function(module, exports) {\n\"use strict\";\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nfunction $4130021b1318f101$var$getProxyUrl(reqUrl) {\n let usingSsl = reqUrl.protocol === \"https:\";\n let proxyUrl;\n if ($4130021b1318f101$var$checkBypass(reqUrl)) return proxyUrl;\n let proxyVar;\n if (usingSsl) proxyVar = process.env[\"https_proxy\"] || process.env[\"HTTPS_PROXY\"];\n else proxyVar = process.env[\"http_proxy\"] || process.env[\"HTTP_PROXY\"];\n if (proxyVar) proxyUrl = new URL(proxyVar);\n return proxyUrl;\n}\nmodule.exports.getProxyUrl = $4130021b1318f101$var$getProxyUrl;\nfunction $4130021b1318f101$var$checkBypass(reqUrl) {\n if (!reqUrl.hostname) return false;\n let noProxy = process.env[\"no_proxy\"] || process.env[\"NO_PROXY\"] || \"\";\n if (!noProxy) return false;\n // Determine the request port\n let reqPort;\n if (reqUrl.port) reqPort = Number(reqUrl.port);\n else if (reqUrl.protocol === \"http:\") reqPort = 80;\n else if (reqUrl.protocol === \"https:\") reqPort = 443;\n // Format the request hostname and hostname with port\n let upperReqHosts = [\n reqUrl.hostname.toUpperCase()\n ];\n if (typeof reqPort === \"number\") upperReqHosts.push(`${upperReqHosts[0]}:${reqPort}`);\n // Compare request host against noproxy\n for (let upperNoProxyItem of noProxy.split(\",\").map((x)=>x.trim().toUpperCase()).filter((x)=>x)){\n if (upperReqHosts.some((x)=>x === upperNoProxyItem)) return true;\n }\n return false;\n}\nmodule.exports.checkBypass = $4130021b1318f101$var$checkBypass;\n\n});\n\n\nparcelRequire.register(\"3R3Be\", function(module, exports) {\n\"use strict\";\nvar $2ce91d1c0b0a21ec$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $2ce91d1c0b0a21ec$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $2ce91d1c0b0a21ec$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $2ce91d1c0b0a21ec$var$__createBinding(result, mod, k);\n }\n $2ce91d1c0b0a21ec$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $2ce91d1c0b0a21ec$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.RetryHelper = void 0;\n\nconst $2ce91d1c0b0a21ec$var$core = $2ce91d1c0b0a21ec$var$__importStar((parcelRequire(\"i5trn\")));\n/**\n * Internal class for retries\n */ class $2ce91d1c0b0a21ec$var$RetryHelper {\n constructor(maxAttempts, minSeconds, maxSeconds){\n if (maxAttempts < 1) throw new Error(\"max attempts should be greater than or equal to 1\");\n this.maxAttempts = maxAttempts;\n this.minSeconds = Math.floor(minSeconds);\n this.maxSeconds = Math.floor(maxSeconds);\n if (this.minSeconds > this.maxSeconds) throw new Error(\"min seconds should be less than or equal to max seconds\");\n }\n execute(action, isRetryable) {\n return $2ce91d1c0b0a21ec$var$__awaiter(this, void 0, void 0, function*() {\n let attempt = 1;\n while(attempt < this.maxAttempts){\n // Try\n try {\n return yield action();\n } catch (err) {\n if (isRetryable && !isRetryable(err)) throw err;\n $2ce91d1c0b0a21ec$var$core.info(err.message);\n }\n // Sleep\n const seconds = this.getSleepAmount();\n $2ce91d1c0b0a21ec$var$core.info(`Waiting ${seconds} seconds before trying again`);\n yield this.sleep(seconds);\n attempt++;\n }\n // Last attempt\n return yield action();\n });\n }\n getSleepAmount() {\n return Math.floor(Math.random() * (this.maxSeconds - this.minSeconds + 1)) + this.minSeconds;\n }\n sleep(seconds) {\n return $2ce91d1c0b0a21ec$var$__awaiter(this, void 0, void 0, function*() {\n return new Promise((resolve)=>setTimeout(resolve, seconds * 1000));\n });\n }\n}\nmodule.exports.RetryHelper = $2ce91d1c0b0a21ec$var$RetryHelper;\n\n});\n\n\n\n\nparcelRequire.register(\"1xx2j\", function(module, exports) {\n\n$parcel$export(module.exports, \"findPyPyVersion\", () => $ecf9b02cd98d67bc$export$43d689d19c89c31d);\n\n\nvar $2S3n1 = parcelRequire(\"2S3n1\");\n\nvar $cg17v = parcelRequire(\"cg17v\");\n\nvar $e5sHV = parcelRequire(\"e5sHV\");\n\nvar $i5trn = parcelRequire(\"i5trn\");\n\nvar $92IYk = parcelRequire(\"92IYk\");\nasync function $ecf9b02cd98d67bc$export$43d689d19c89c31d(versionSpec, architecture, updateEnvironment, checkLatest, allowPreReleases) {\n let resolvedPyPyVersion = \"\";\n let resolvedPythonVersion = \"\";\n let installDir;\n let releases;\n const pypyVersionSpec = $ecf9b02cd98d67bc$export$4182d5bdd18177a7(versionSpec);\n if (checkLatest) {\n releases = await $2S3n1.getAvailablePyPyVersions();\n if (releases && releases.length > 0) {\n const releaseData = $2S3n1.findRelease(releases, pypyVersionSpec.pythonVersion, pypyVersionSpec.pypyVersion, architecture, false);\n if (releaseData) {\n $i5trn.info(`Resolved as PyPy ${releaseData.resolvedPyPyVersion} with Python (${releaseData.resolvedPythonVersion})`);\n pypyVersionSpec.pythonVersion = releaseData.resolvedPythonVersion;\n pypyVersionSpec.pypyVersion = releaseData.resolvedPyPyVersion;\n } else $i5trn.info(`Failed to resolve PyPy ${pypyVersionSpec.pypyVersion} with Python (${pypyVersionSpec.pythonVersion}) from manifest`);\n }\n }\n ({ installDir: installDir, resolvedPythonVersion: resolvedPythonVersion, resolvedPyPyVersion: resolvedPyPyVersion } = $ecf9b02cd98d67bc$export$bba8aabb976a1d17(pypyVersionSpec.pythonVersion, pypyVersionSpec.pypyVersion, architecture));\n if (!installDir) ({ installDir: installDir, resolvedPythonVersion: resolvedPythonVersion, resolvedPyPyVersion: resolvedPyPyVersion } = await $2S3n1.installPyPy(pypyVersionSpec.pypyVersion, pypyVersionSpec.pythonVersion, architecture, allowPreReleases, releases));\n const pipDir = (0, $cg17v.IS_WINDOWS) ? \"Scripts\" : \"bin\";\n const _binDir = $6DZae$path.join(installDir, pipDir);\n const binaryExtension = (0, $cg17v.IS_WINDOWS) ? \".exe\" : \"\";\n const pythonPath = $6DZae$path.join((0, $cg17v.IS_WINDOWS) ? installDir : _binDir, `python${binaryExtension}`);\n const pythonLocation = $2S3n1.getPyPyBinaryPath(installDir);\n if (updateEnvironment) {\n $i5trn.exportVariable(\"pythonLocation\", installDir);\n // https://cmake.org/cmake/help/latest/module/FindPython.html#module:FindPython\n $i5trn.exportVariable(\"Python_ROOT_DIR\", installDir);\n // https://cmake.org/cmake/help/latest/module/FindPython2.html#module:FindPython2\n $i5trn.exportVariable(\"Python2_ROOT_DIR\", installDir);\n // https://cmake.org/cmake/help/latest/module/FindPython3.html#module:FindPython3\n $i5trn.exportVariable(\"Python3_ROOT_DIR\", installDir);\n $i5trn.exportVariable(\"PKG_CONFIG_PATH\", pythonLocation + \"/lib/pkgconfig\");\n $i5trn.addPath(pythonLocation);\n $i5trn.addPath(_binDir);\n }\n $i5trn.setOutput(\"python-version\", \"pypy\" + resolvedPyPyVersion);\n $i5trn.setOutput(\"python-path\", pythonPath);\n return {\n resolvedPyPyVersion: resolvedPyPyVersion,\n resolvedPythonVersion: resolvedPythonVersion\n };\n}\nfunction $ecf9b02cd98d67bc$export$bba8aabb976a1d17(pythonVersion, pypyVersion, architecture) {\n let resolvedPyPyVersion = \"\";\n let resolvedPythonVersion = \"\";\n let installDir = (0, $cg17v.IS_WINDOWS) ? $ecf9b02cd98d67bc$export$139298be7eb2bd(pythonVersion) : $92IYk.find(\"PyPy\", pythonVersion, architecture);\n if (installDir) {\n // 'tc.find' finds tool based on Python version but we also need to check\n // whether PyPy version satisfies requested version.\n resolvedPythonVersion = (0, $cg17v.getPyPyVersionFromPath)(installDir);\n resolvedPyPyVersion = (0, $cg17v.readExactPyPyVersionFile)(installDir);\n const isPyPyVersionSatisfies = $e5sHV.satisfies(resolvedPyPyVersion, pypyVersion);\n if (!isPyPyVersionSatisfies) {\n installDir = null;\n resolvedPyPyVersion = \"\";\n resolvedPythonVersion = \"\";\n }\n }\n if (!installDir) $i5trn.info(`PyPy version ${pythonVersion} (${pypyVersion}) was not found in the local cache`);\n return {\n installDir: installDir,\n resolvedPythonVersion: resolvedPythonVersion,\n resolvedPyPyVersion: resolvedPyPyVersion\n };\n}\nfunction $ecf9b02cd98d67bc$export$4182d5bdd18177a7(versionSpec) {\n const versions = versionSpec.split(\"-\").filter((item)=>!!item);\n if (/^(pypy)(.+)/.test(versions[0])) {\n const pythonVersion = versions[0].replace(\"pypy\", \"\");\n versions.splice(0, 1, \"pypy\", pythonVersion);\n }\n if (versions.length < 2 || versions[0] != \"pypy\") throw new Error(\"Invalid 'version' property for PyPy. PyPy version should be specified as 'pypy' or 'pypy-'. See README for examples and documentation.\");\n const pythonVersion = versions[1];\n let pypyVersion;\n if (versions.length > 2) pypyVersion = $2S3n1.pypyVersionToSemantic(versions[2]);\n else pypyVersion = \"x\";\n if (!(0, $cg17v.validateVersion)(pythonVersion) || !(0, $cg17v.validateVersion)(pypyVersion)) throw new Error(\"Invalid 'version' property for PyPy. Both Python version and PyPy versions should satisfy SemVer notation. See README for examples and documentation.\");\n if (!(0, $cg17v.validatePythonVersionFormatForPyPy)(pythonVersion)) throw new Error(\"Invalid format of Python version for PyPy. Python version should be specified in format 'x.y'. See README for examples and documentation.\");\n return {\n pypyVersion: pypyVersion,\n pythonVersion: pythonVersion\n };\n}\nfunction $ecf9b02cd98d67bc$export$139298be7eb2bd(pythonVersion) {\n let installDir = \"\";\n (0, $cg17v.WINDOWS_ARCHS).forEach((architecture)=>installDir = installDir || $92IYk.find(\"PyPy\", pythonVersion, architecture));\n return installDir;\n}\n\n});\nparcelRequire.register(\"2S3n1\", function(module, exports) {\n\n$parcel$export(module.exports, \"installPyPy\", () => $0e670a6f7d942188$export$3573149ec5684a1d);\n$parcel$export(module.exports, \"getAvailablePyPyVersions\", () => $0e670a6f7d942188$export$15e3ff21db62aa77);\n$parcel$export(module.exports, \"findRelease\", () => $0e670a6f7d942188$export$4272161ba9d7d3dd);\n$parcel$export(module.exports, \"getPyPyBinaryPath\", () => $0e670a6f7d942188$export$a053ce7a690fbb2e);\n$parcel$export(module.exports, \"pypyVersionToSemantic\", () => $0e670a6f7d942188$export$4e25ef8c836002b9);\n\n\n\nvar $i5trn = parcelRequire(\"i5trn\");\n\nvar $92IYk = parcelRequire(\"92IYk\");\n\nvar $e5sHV = parcelRequire(\"e5sHV\");\n\nvar $6W2GO = parcelRequire(\"6W2GO\");\n\nvar $8hZvX = parcelRequire(\"8hZvX\");\n\n\nvar $cg17v = parcelRequire(\"cg17v\");\nasync function $0e670a6f7d942188$export$3573149ec5684a1d(pypyVersion, pythonVersion, architecture, allowPreReleases, releases) {\n let downloadDir;\n releases = releases ?? await $0e670a6f7d942188$export$15e3ff21db62aa77();\n if (!releases || releases.length === 0) throw new Error(\"No release was found in PyPy version.json\");\n let releaseData = $0e670a6f7d942188$export$4272161ba9d7d3dd(releases, pythonVersion, pypyVersion, architecture, false);\n if (allowPreReleases && (!releaseData || !releaseData.foundAsset)) {\n // check for pre-release\n $i5trn.info([\n `Stable PyPy version ${pythonVersion} (${pypyVersion}) with arch ${architecture} not found`,\n `Trying pre-release versions`\n ].join($6DZae$os.EOL));\n releaseData = $0e670a6f7d942188$export$4272161ba9d7d3dd(releases, pythonVersion, pypyVersion, architecture, true);\n }\n if (!releaseData || !releaseData.foundAsset) throw new Error(`PyPy version ${pythonVersion} (${pypyVersion}) with arch ${architecture} not found`);\n const { foundAsset: foundAsset, resolvedPythonVersion: resolvedPythonVersion, resolvedPyPyVersion: resolvedPyPyVersion } = releaseData;\n const downloadUrl = `${foundAsset.download_url}`;\n $i5trn.info(`Downloading PyPy from \"${downloadUrl}\" ...`);\n try {\n const pypyPath = await $92IYk.downloadTool(downloadUrl);\n $i5trn.info(\"Extracting downloaded archive...\");\n if (0, $cg17v.IS_WINDOWS) downloadDir = await $92IYk.extractZip(pypyPath);\n else downloadDir = await $92IYk.extractTar(pypyPath, undefined, \"x\");\n // root folder in archive can have unpredictable name so just take the first folder\n // downloadDir is unique folder under TEMP and can't contain any other folders\n const archiveName = (0, ($parcel$interopDefault($6DZae$fs))).readdirSync(downloadDir)[0];\n const toolDir = $6DZae$path.join(downloadDir, archiveName);\n let installDir = toolDir;\n if (!(0, $cg17v.isNightlyKeyword)(resolvedPyPyVersion)) installDir = await $92IYk.cacheDir(toolDir, \"PyPy\", resolvedPythonVersion, architecture);\n (0, $cg17v.writeExactPyPyVersionFile)(installDir, resolvedPyPyVersion);\n const binaryPath = $0e670a6f7d942188$export$a053ce7a690fbb2e(installDir);\n await $0e670a6f7d942188$var$createPyPySymlink(binaryPath, resolvedPythonVersion);\n await $0e670a6f7d942188$var$installPip(binaryPath);\n return {\n installDir: installDir,\n resolvedPythonVersion: resolvedPythonVersion,\n resolvedPyPyVersion: resolvedPyPyVersion\n };\n } catch (err) {\n if (err instanceof Error) {\n // Rate limit?\n if (err instanceof $92IYk.HTTPError && (err.httpStatusCode === 403 || err.httpStatusCode === 429)) $i5trn.info(`Received HTTP status code ${err.httpStatusCode}. This usually indicates the rate limit has been exceeded`);\n else $i5trn.info(err.message);\n if (err.stack !== undefined) $i5trn.debug(err.stack);\n }\n throw err;\n }\n}\nasync function $0e670a6f7d942188$export$15e3ff21db62aa77() {\n const url = \"https://downloads.python.org/pypy/versions.json\";\n const http = new $6W2GO.HttpClient(\"tool-cache\");\n const response = await http.getJson(url);\n if (!response.result) throw new Error(`Unable to retrieve the list of available PyPy versions from '${url}'`);\n return response.result;\n}\nasync function $0e670a6f7d942188$var$createPyPySymlink(pypyBinaryPath, pythonVersion) {\n const version = $e5sHV.coerce(pythonVersion);\n const pythonBinaryPostfix = $e5sHV.major(version);\n const pythonMinor = $e5sHV.minor(version);\n const pypyBinaryPostfix = pythonBinaryPostfix === 2 ? \"\" : \"3\";\n const pypyMajorMinorBinaryPostfix = `${pythonBinaryPostfix}.${pythonMinor}`;\n const binaryExtension = (0, $cg17v.IS_WINDOWS) ? \".exe\" : \"\";\n $i5trn.info(\"Creating symlinks...\");\n (0, $cg17v.createSymlinkInFolder)(pypyBinaryPath, `pypy${pypyBinaryPostfix}${binaryExtension}`, `python${pythonBinaryPostfix}${binaryExtension}`, true);\n (0, $cg17v.createSymlinkInFolder)(pypyBinaryPath, `pypy${pypyBinaryPostfix}${binaryExtension}`, `python${binaryExtension}`, true);\n (0, $cg17v.createSymlinkInFolder)(pypyBinaryPath, `pypy${pypyBinaryPostfix}${binaryExtension}`, `pypy${pypyMajorMinorBinaryPostfix}${binaryExtension}`, true);\n}\nasync function $0e670a6f7d942188$var$installPip(pythonLocation) {\n $i5trn.info(\"Installing and updating pip\");\n const pythonBinary = $6DZae$path.join(pythonLocation, \"python\");\n await $8hZvX.exec(`${pythonBinary} -m ensurepip`);\n await $8hZvX.exec(`${pythonLocation}/python -m pip install --ignore-installed pip`);\n}\nfunction $0e670a6f7d942188$export$4272161ba9d7d3dd(releases, pythonVersion, pypyVersion, architecture, includePrerelease) {\n const options = {\n includePrerelease: includePrerelease\n };\n const filterReleases = releases.filter((item)=>{\n const isPythonVersionSatisfied = $e5sHV.satisfies($e5sHV.coerce(item.python_version), pythonVersion);\n const isPyPyNightly = (0, $cg17v.isNightlyKeyword)(pypyVersion) && (0, $cg17v.isNightlyKeyword)(item.pypy_version);\n const isPyPyVersionSatisfied = isPyPyNightly || $e5sHV.satisfies($0e670a6f7d942188$export$4e25ef8c836002b9(item.pypy_version), pypyVersion, options);\n const isArchPresent = item.files && ((0, $cg17v.IS_WINDOWS) ? $0e670a6f7d942188$export$652444ba12a0c7bb(item, architecture) : $0e670a6f7d942188$export$f1fafc67685dd0bf(item, architecture, process.platform));\n return isPythonVersionSatisfied && isPyPyVersionSatisfied && isArchPresent;\n });\n if (filterReleases.length === 0) return null;\n const sortedReleases = filterReleases.sort((previous, current)=>{\n return $e5sHV.compare($e5sHV.coerce($0e670a6f7d942188$export$4e25ef8c836002b9(current.pypy_version)), $e5sHV.coerce($0e670a6f7d942188$export$4e25ef8c836002b9(previous.pypy_version))) || $e5sHV.compare($e5sHV.coerce(current.python_version), $e5sHV.coerce(previous.python_version));\n });\n const foundRelease = sortedReleases[0];\n const foundAsset = (0, $cg17v.IS_WINDOWS) ? $0e670a6f7d942188$export$672a33957a3c888(foundRelease, architecture) : $0e670a6f7d942188$export$7e0be3a86d27fcd9(foundRelease, architecture, process.platform);\n return {\n foundAsset: foundAsset,\n resolvedPythonVersion: foundRelease.python_version,\n resolvedPyPyVersion: foundRelease.pypy_version.trim()\n };\n}\nfunction $0e670a6f7d942188$export$a053ce7a690fbb2e(installDir) {\n const _binDir = $6DZae$path.join(installDir, \"bin\");\n return (0, $cg17v.IS_WINDOWS) ? installDir : _binDir;\n}\nfunction $0e670a6f7d942188$export$4e25ef8c836002b9(versionSpec) {\n const prereleaseVersion = /(\\d+\\.\\d+\\.\\d+)((?:a|b|rc))(\\d*)/g;\n return versionSpec.replace(prereleaseVersion, \"$1-$2.$3\");\n}\nfunction $0e670a6f7d942188$export$652444ba12a0c7bb(item, architecture) {\n architecture = $0e670a6f7d942188$var$replaceX32toX86(architecture);\n return item.files.some((file)=>(0, $cg17v.WINDOWS_PLATFORMS).includes(file.platform) && file.arch === architecture);\n}\nfunction $0e670a6f7d942188$export$f1fafc67685dd0bf(item, architecture, platform) {\n return item.files.some((file)=>file.arch === architecture && file.platform === platform);\n}\nfunction $0e670a6f7d942188$export$672a33957a3c888(releases, architecture) {\n architecture = $0e670a6f7d942188$var$replaceX32toX86(architecture);\n return releases.files.find((item)=>(0, $cg17v.WINDOWS_PLATFORMS).includes(item.platform) && item.arch === architecture);\n}\nfunction $0e670a6f7d942188$export$7e0be3a86d27fcd9(releases, architecture, platform) {\n return releases.files.find((item)=>item.arch === architecture && item.platform === platform);\n}\nfunction $0e670a6f7d942188$var$replaceX32toX86(architecture) {\n // convert x32 to x86 because os.arch() returns x32 for 32-bit systems but PyPy releases json has x86 arch value.\n if (architecture === \"x32\") architecture = \"x86\";\n return architecture;\n}\n\n});\n\n\n\n\n//# sourceMappingURL=actions_python.e4ef0efb.js.map\n","import { useCpythonVersion } from \"setup-python/src/find-python\"\nimport { findPyPyVersion } from \"setup-python/src/find-pypy\"\n\nimport { info, warning } from \"ci-log\"\nimport { debug } from \"@actions/core\"\nimport { join } from \"patha\"\nimport { GITHUB_ACTIONS } from \"ci-info\"\nimport { IS_MAC } from \"setup-python/src/utils\"\nimport { pathExists } from \"path-exists\"\n\nfunction isPyPyVersion(versionSpec: string) {\n return versionSpec.startsWith(\"pypy\")\n}\n\nconst checkLatest = false\n\nexport async function setupActionsPython(version: string, _setupDir: string, arch: string) {\n if (IS_MAC) {\n process.env.AGENT_TOOLSDIRECTORY = \"/Users/runner/hostedtoolcache\"\n }\n\n const agent_toolsdirectory = process.env.AGENT_TOOLSDIRECTORY?.trim()\n if (typeof agent_toolsdirectory === \"string\" && agent_toolsdirectory !== \"\") {\n process.env.RUNNER_TOOL_CACHE = process.env.AGENT_TOOLSDIRECTORY\n }\n\n debug(`Python is expected to be installed into ${process.env.RUNNER_TOOL_CACHE}`)\n\n if (version) {\n let pythonVersion: string\n if (isPyPyVersion(version)) {\n const installed = await findPyPyVersion(version, arch, true, checkLatest, false)\n pythonVersion = `${installed.resolvedPyPyVersion}-${installed.resolvedPythonVersion}`\n info(`Successfully set up PyPy ${installed.resolvedPyPyVersion} with Python (${installed.resolvedPythonVersion})`)\n } else {\n const installed = await useCpythonVersion(version, arch, true, checkLatest, false)\n pythonVersion = installed.version\n info(`Successfully set up ${installed.impl} (${pythonVersion})`)\n }\n\n // const cache = false\n // if (cache) {\n // const { cacheDependencies } = await import(\"setup-python/src/cache-dependencies\")\n // await cacheDependencies(\"pip\", pythonVersion)\n // }\n }\n\n if (GITHUB_ACTIONS) {\n await addPythonLoggingMatcher()\n }\n\n return undefined\n}\n\nasync function addPythonLoggingMatcher() {\n const matcherPath = join(__dirname, \"python_matcher.json\")\n if (!(await pathExists(matcherPath))) {\n return warning(\"the python_matcher.json file does not exist in the same folder as setup-cpp.js\")\n }\n info(`::add-matcher::${matcherPath}`)\n}\n","import * as os from 'os';\nimport * as path from 'path';\nimport {IS_WINDOWS, IS_LINUX, getOSInfo} from './utils';\n\nimport * as semver from 'semver';\n\nimport * as installer from './install-python';\n\nimport * as core from '@actions/core';\nimport * as tc from '@actions/tool-cache';\n\n// Python has \"scripts\" or \"bin\" directories where command-line tools that come with packages are installed.\n// This is where pip is, along with anything that pip installs.\n// There is a separate directory for `pip install --user`.\n//\n// For reference, these directories are as follows:\n// macOS / Linux:\n// /bin (by default /usr/local/bin, but not on hosted agents -- see the `else`)\n// (--user) ~/.local/bin\n// Windows:\n// \\Scripts\n// (--user) %APPDATA%\\Python\\PythonXY\\Scripts\n// See https://docs.python.org/3/library/sysconfig.html\n\nfunction binDir(installDir: string): string {\n if (IS_WINDOWS) {\n return path.join(installDir, 'Scripts');\n } else {\n return path.join(installDir, 'bin');\n }\n}\n\nexport async function useCpythonVersion(\n version: string,\n architecture: string,\n updateEnvironment: boolean,\n checkLatest: boolean,\n allowPreReleases: boolean\n): Promise {\n let manifest: tc.IToolRelease[] | null = null;\n const desugaredVersionSpec = desugarDevVersion(version);\n let semanticVersionSpec = pythonVersionToSemantic(\n desugaredVersionSpec,\n allowPreReleases\n );\n core.debug(`Semantic version spec of ${version} is ${semanticVersionSpec}`);\n\n if (checkLatest) {\n manifest = await installer.getManifest();\n const resolvedVersion = (\n await installer.findReleaseFromManifest(\n semanticVersionSpec,\n architecture,\n manifest\n )\n )?.version;\n\n if (resolvedVersion) {\n semanticVersionSpec = resolvedVersion;\n core.info(`Resolved as '${semanticVersionSpec}'`);\n } else {\n core.info(\n `Failed to resolve version ${semanticVersionSpec} from manifest`\n );\n }\n }\n\n let installDir: string | null = tc.find(\n 'Python',\n semanticVersionSpec,\n architecture\n );\n if (!installDir) {\n core.info(\n `Version ${semanticVersionSpec} was not found in the local cache`\n );\n const foundRelease = await installer.findReleaseFromManifest(\n semanticVersionSpec,\n architecture,\n manifest\n );\n\n if (foundRelease && foundRelease.files && foundRelease.files.length > 0) {\n core.info(`Version ${semanticVersionSpec} is available for downloading`);\n await installer.installCpythonFromRelease(foundRelease);\n\n installDir = tc.find('Python', semanticVersionSpec, architecture);\n }\n }\n\n if (!installDir) {\n const osInfo = await getOSInfo();\n throw new Error(\n [\n `The version '${version}' with architecture '${architecture}' was not found for ${\n osInfo\n ? `${osInfo.osName} ${osInfo.osVersion}`\n : 'this operating system'\n }.`,\n `The list of all available versions can be found here: ${installer.MANIFEST_URL}`\n ].join(os.EOL)\n );\n }\n\n const _binDir = binDir(installDir);\n const binaryExtension = IS_WINDOWS ? '.exe' : '';\n const pythonPath = path.join(\n IS_WINDOWS ? installDir : _binDir,\n `python${binaryExtension}`\n );\n if (updateEnvironment) {\n core.exportVariable('pythonLocation', installDir);\n core.exportVariable('PKG_CONFIG_PATH', installDir + '/lib/pkgconfig');\n core.exportVariable('pythonLocation', installDir);\n // https://cmake.org/cmake/help/latest/module/FindPython.html#module:FindPython\n core.exportVariable('Python_ROOT_DIR', installDir);\n // https://cmake.org/cmake/help/latest/module/FindPython2.html#module:FindPython2\n core.exportVariable('Python2_ROOT_DIR', installDir);\n // https://cmake.org/cmake/help/latest/module/FindPython3.html#module:FindPython3\n core.exportVariable('Python3_ROOT_DIR', installDir);\n core.exportVariable('PKG_CONFIG_PATH', installDir + '/lib/pkgconfig');\n\n if (IS_LINUX) {\n const libPath = process.env.LD_LIBRARY_PATH\n ? `:${process.env.LD_LIBRARY_PATH}`\n : '';\n const pyLibPath = path.join(installDir, 'lib');\n\n if (!libPath.split(':').includes(pyLibPath)) {\n core.exportVariable('LD_LIBRARY_PATH', pyLibPath + libPath);\n }\n }\n core.addPath(installDir);\n core.addPath(_binDir);\n\n if (IS_WINDOWS) {\n // Add --user directory\n // `installDir` from tool cache should look like $RUNNER_TOOL_CACHE/Python//x64/\n // So if `findLocalTool` succeeded above, we must have a conformant `installDir`\n const version = path.basename(path.dirname(installDir));\n const major = semver.major(version);\n const minor = semver.minor(version);\n\n const userScriptsDir = path.join(\n process.env['APPDATA'] || '',\n 'Python',\n `Python${major}${minor}`,\n 'Scripts'\n );\n core.addPath(userScriptsDir);\n }\n // On Linux and macOS, pip will create the --user directory and add it to PATH as needed.\n }\n\n const installed = versionFromPath(installDir);\n core.setOutput('python-version', installed);\n core.setOutput('python-path', pythonPath);\n\n return {impl: 'CPython', version: installed};\n}\n\n/** Convert versions like `3.8-dev` to a version like `~3.8.0-0`. */\nfunction desugarDevVersion(versionSpec: string) {\n const devVersion = /^(\\d+)\\.(\\d+)-dev$/;\n return versionSpec.replace(devVersion, '~$1.$2.0-0');\n}\n\n/** Extracts python version from install path from hosted tool cache as described in README.md */\nfunction versionFromPath(installDir: string) {\n const parts = installDir.split(path.sep);\n const idx = parts.findIndex(part => part === 'PyPy' || part === 'Python');\n\n return parts[idx + 1] || '';\n}\n\ninterface InstalledVersion {\n impl: string;\n version: string;\n}\n\n/**\n * Python's prelease versions look like `3.7.0b2`.\n * This is the one part of Python versioning that does not look like semantic versioning, which specifies `3.7.0-b2`.\n * If the version spec contains prerelease versions, we need to convert them to the semantic version equivalent.\n *\n * For easier use of the action, we also map 'x.y' to allow pre-release before 'x.y.0' release if allowPreReleases is true\n */\nexport function pythonVersionToSemantic(\n versionSpec: string,\n allowPreReleases: boolean\n) {\n const prereleaseVersion = /(\\d+\\.\\d+\\.\\d+)((?:a|b|rc)\\d*)/g;\n const majorMinor = /^(\\d+)\\.(\\d+)$/;\n let result = versionSpec.replace(prereleaseVersion, '$1-$2');\n if (allowPreReleases) {\n result = result.replace(majorMinor, '~$1.$2.0-0');\n }\n return result;\n}\n","/* eslint no-unsafe-finally: \"off\" */\nimport * as core from '@actions/core';\nimport fs from 'fs';\nimport * as path from 'path';\nimport * as semver from 'semver';\nimport * as toml from '@iarna/toml';\nimport * as exec from '@actions/exec';\n\nexport const IS_WINDOWS = process.platform === 'win32';\nexport const IS_LINUX = process.platform === 'linux';\nexport const IS_MAC = process.platform === 'darwin';\nexport const WINDOWS_ARCHS = ['x86', 'x64'];\nexport const WINDOWS_PLATFORMS = ['win32', 'win64'];\nconst PYPY_VERSION_FILE = 'PYPY_VERSION';\n\nexport interface IPyPyManifestAsset {\n filename: string;\n arch: string;\n platform: string;\n download_url: string;\n}\n\nexport interface IPyPyManifestRelease {\n pypy_version: string;\n python_version: string;\n stable: boolean;\n latest_pypy: boolean;\n files: IPyPyManifestAsset[];\n}\n\n/** create Symlinks for downloaded PyPy\n * It should be executed only for downloaded versions in runtime, because\n * toolcache versions have this setup.\n */\nexport function createSymlinkInFolder(\n folderPath: string,\n sourceName: string,\n targetName: string,\n setExecutable = false\n) {\n const sourcePath = path.join(folderPath, sourceName);\n const targetPath = path.join(folderPath, targetName);\n if (fs.existsSync(targetPath)) {\n return;\n }\n\n fs.symlinkSync(sourcePath, targetPath);\n if (!IS_WINDOWS && setExecutable) {\n fs.chmodSync(targetPath, '755');\n }\n}\n\nexport function validateVersion(version: string) {\n return isNightlyKeyword(version) || Boolean(semver.validRange(version));\n}\n\nexport function isNightlyKeyword(pypyVersion: string) {\n return pypyVersion === 'nightly';\n}\n\nexport function getPyPyVersionFromPath(installDir: string) {\n return path.basename(path.dirname(installDir));\n}\n\n/**\n * In tool-cache, we put PyPy to '/PyPy//x64'\n * There is no easy way to determine what PyPy version is located in specific folder\n * 'pypy --version' is not reliable enough since it is not set properly for preview versions\n * \"7.3.3rc1\" is marked as '7.3.3' in 'pypy --version'\n * so we put PYPY_VERSION file to PyPy directory when install it to VM and read it when we need to know version\n * PYPY_VERSION contains exact version from 'versions.json'\n */\nexport function readExactPyPyVersionFile(installDir: string) {\n let pypyVersion = '';\n const fileVersion = path.join(installDir, PYPY_VERSION_FILE);\n if (fs.existsSync(fileVersion)) {\n pypyVersion = fs.readFileSync(fileVersion).toString().trim();\n }\n\n return pypyVersion;\n}\n\nexport function writeExactPyPyVersionFile(\n installDir: string,\n resolvedPyPyVersion: string\n) {\n const pypyFilePath = path.join(installDir, PYPY_VERSION_FILE);\n fs.writeFileSync(pypyFilePath, resolvedPyPyVersion);\n}\n\n/**\n * Python version should be specified explicitly like \"x.y\" (2.7, 3.6, 3.7)\n * \"3.x\" or \"3\" are not supported\n * because it could cause ambiguity when both PyPy version and Python version are not precise\n */\nexport function validatePythonVersionFormatForPyPy(version: string) {\n const re = /^\\d+\\.\\d+$/;\n return re.test(version);\n}\n\nexport function logWarning(message: string): void {\n const warningPrefix = '[warning]';\n core.info(`${warningPrefix}${message}`);\n}\n\nasync function getWindowsInfo() {\n const {stdout} = await exec.getExecOutput(\n 'powershell -command \"(Get-CimInstance -ClassName Win32_OperatingSystem).Caption\"',\n undefined,\n {\n silent: true\n }\n );\n\n const windowsVersion = stdout.trim().split(' ')[3];\n\n return {osName: 'Windows', osVersion: windowsVersion};\n}\n\nasync function getMacOSInfo() {\n const {stdout} = await exec.getExecOutput('sw_vers', ['-productVersion'], {\n silent: true\n });\n\n const macOSVersion = stdout.trim();\n\n return {osName: 'macOS', osVersion: macOSVersion};\n}\n\nexport async function getLinuxInfo() {\n const {stdout} = await exec.getExecOutput('lsb_release', ['-i', '-r', '-s'], {\n silent: true\n });\n\n const [osName, osVersion] = stdout.trim().split('\\n');\n\n core.debug(`OS Name: ${osName}, Version: ${osVersion}`);\n\n return {osName: osName, osVersion: osVersion};\n}\n\nexport async function getOSInfo() {\n let osInfo;\n try {\n if (IS_WINDOWS) {\n osInfo = await getWindowsInfo();\n } else if (IS_LINUX) {\n osInfo = await getLinuxInfo();\n } else if (IS_MAC) {\n osInfo = await getMacOSInfo();\n }\n } catch (err) {\n const error = err as Error;\n core.debug(error.message);\n } finally {\n return osInfo;\n }\n}\n\n/**\n * Extract a value from an object by following the keys path provided.\n * If the value is present, it is returned. Otherwise undefined is returned.\n */\nfunction extractValue(obj: any, keys: string[]): string | undefined {\n if (keys.length > 0) {\n const value = obj[keys[0]];\n if (keys.length > 1 && value !== undefined) {\n return extractValue(value, keys.slice(1));\n } else {\n return value;\n }\n } else {\n return;\n }\n}\n\n/**\n * Python version extracted from the TOML file.\n * If the `project` key is present at the root level, the version is assumed to\n * be specified according to PEP 621 in `project.requires-python`.\n * Otherwise, if the `tool` key is present at the root level, the version is\n * assumed to be specified using poetry under `tool.poetry.dependencies.python`.\n * If none is present, returns an empty list.\n */\nexport function getVersionInputFromTomlFile(versionFile: string): string[] {\n core.debug(`Trying to resolve version form ${versionFile}`);\n\n const pyprojectFile = fs.readFileSync(versionFile, 'utf8');\n const pyprojectConfig = toml.parse(pyprojectFile);\n let keys = [];\n\n if ('project' in pyprojectConfig) {\n // standard project metadata (PEP 621)\n keys = ['project', 'requires-python'];\n } else {\n // python poetry\n keys = ['tool', 'poetry', 'dependencies', 'python'];\n }\n const versions = [];\n const version = extractValue(pyprojectConfig, keys);\n if (version !== undefined) {\n versions.push(version);\n }\n\n core.info(`Extracted ${versions} from ${versionFile}`);\n const rawVersions = Array.from(versions, version =>\n version.split(',').join(' ')\n );\n const validatedVersions = rawVersions\n .map(item => semver.validRange(item, true))\n .filter((versionRange, index) => {\n if (!versionRange) {\n core.debug(\n `The version ${rawVersions[index]} is not valid SemVer range`\n );\n }\n\n return !!versionRange;\n }) as string[];\n return validatedVersions;\n}\n\n/**\n * Python version extracted from a plain text file.\n */\nexport function getVersionInputFromPlainFile(versionFile: string): string[] {\n core.debug(`Trying to resolve version form ${versionFile}`);\n const version = fs.readFileSync(versionFile, 'utf8');\n core.info(`Resolved ${versionFile} as ${version}`);\n return [version];\n}\n\n/**\n * Python version extracted from a plain or TOML file.\n */\nexport function getVersionInputFromFile(versionFile: string): string[] {\n if (versionFile.endsWith('.toml')) {\n return getVersionInputFromTomlFile(versionFile);\n } else {\n return getVersionInputFromPlainFile(versionFile);\n }\n}\n","'use strict'\nexports.parse = require('./parse.js')\nexports.stringify = require('./stringify.js')\n","'use strict'\nmodule.exports = require('./parse-string.js')\nmodule.exports.async = require('./parse-async.js')\nmodule.exports.stream = require('./parse-stream.js')\nmodule.exports.prettyError = require('./parse-pretty-error.js')\n","'use strict'\nmodule.exports = parseString\n\nconst TOMLParser = require('./lib/toml-parser.js')\nconst prettyError = require('./parse-pretty-error.js')\n\nfunction parseString (str) {\n if (global.Buffer && global.Buffer.isBuffer(str)) {\n str = str.toString('utf8')\n }\n const parser = new TOMLParser()\n try {\n parser.parse(str)\n return parser.finish()\n } catch (err) {\n throw prettyError(err, str)\n }\n}\n","'use strict'\n/* eslint-disable no-new-wrappers, no-eval, camelcase, operator-linebreak */\nmodule.exports = makeParserClass(require('./parser.js'))\nmodule.exports.makeParserClass = makeParserClass\n\nclass TomlError extends Error {\n constructor (msg) {\n super(msg)\n this.name = 'TomlError'\n /* istanbul ignore next */\n if (Error.captureStackTrace) Error.captureStackTrace(this, TomlError)\n this.fromTOML = true\n this.wrapped = null\n }\n}\nTomlError.wrap = err => {\n const terr = new TomlError(err.message)\n terr.code = err.code\n terr.wrapped = err\n return terr\n}\nmodule.exports.TomlError = TomlError\n\nconst createDateTime = require('./create-datetime.js')\nconst createDateTimeFloat = require('./create-datetime-float.js')\nconst createDate = require('./create-date.js')\nconst createTime = require('./create-time.js')\n\nconst CTRL_I = 0x09\nconst CTRL_J = 0x0A\nconst CTRL_M = 0x0D\nconst CTRL_CHAR_BOUNDARY = 0x1F // the last non-character in the latin1 region of unicode, except DEL\nconst CHAR_SP = 0x20\nconst CHAR_QUOT = 0x22\nconst CHAR_NUM = 0x23\nconst CHAR_APOS = 0x27\nconst CHAR_PLUS = 0x2B\nconst CHAR_COMMA = 0x2C\nconst CHAR_HYPHEN = 0x2D\nconst CHAR_PERIOD = 0x2E\nconst CHAR_0 = 0x30\nconst CHAR_1 = 0x31\nconst CHAR_7 = 0x37\nconst CHAR_9 = 0x39\nconst CHAR_COLON = 0x3A\nconst CHAR_EQUALS = 0x3D\nconst CHAR_A = 0x41\nconst CHAR_E = 0x45\nconst CHAR_F = 0x46\nconst CHAR_T = 0x54\nconst CHAR_U = 0x55\nconst CHAR_Z = 0x5A\nconst CHAR_LOWBAR = 0x5F\nconst CHAR_a = 0x61\nconst CHAR_b = 0x62\nconst CHAR_e = 0x65\nconst CHAR_f = 0x66\nconst CHAR_i = 0x69\nconst CHAR_l = 0x6C\nconst CHAR_n = 0x6E\nconst CHAR_o = 0x6F\nconst CHAR_r = 0x72\nconst CHAR_s = 0x73\nconst CHAR_t = 0x74\nconst CHAR_u = 0x75\nconst CHAR_x = 0x78\nconst CHAR_z = 0x7A\nconst CHAR_LCUB = 0x7B\nconst CHAR_RCUB = 0x7D\nconst CHAR_LSQB = 0x5B\nconst CHAR_BSOL = 0x5C\nconst CHAR_RSQB = 0x5D\nconst CHAR_DEL = 0x7F\nconst SURROGATE_FIRST = 0xD800\nconst SURROGATE_LAST = 0xDFFF\n\nconst escapes = {\n [CHAR_b]: '\\u0008',\n [CHAR_t]: '\\u0009',\n [CHAR_n]: '\\u000A',\n [CHAR_f]: '\\u000C',\n [CHAR_r]: '\\u000D',\n [CHAR_QUOT]: '\\u0022',\n [CHAR_BSOL]: '\\u005C'\n}\n\nfunction isDigit (cp) {\n return cp >= CHAR_0 && cp <= CHAR_9\n}\nfunction isHexit (cp) {\n return (cp >= CHAR_A && cp <= CHAR_F) || (cp >= CHAR_a && cp <= CHAR_f) || (cp >= CHAR_0 && cp <= CHAR_9)\n}\nfunction isBit (cp) {\n return cp === CHAR_1 || cp === CHAR_0\n}\nfunction isOctit (cp) {\n return (cp >= CHAR_0 && cp <= CHAR_7)\n}\nfunction isAlphaNumQuoteHyphen (cp) {\n return (cp >= CHAR_A && cp <= CHAR_Z)\n || (cp >= CHAR_a && cp <= CHAR_z)\n || (cp >= CHAR_0 && cp <= CHAR_9)\n || cp === CHAR_APOS\n || cp === CHAR_QUOT\n || cp === CHAR_LOWBAR\n || cp === CHAR_HYPHEN\n}\nfunction isAlphaNumHyphen (cp) {\n return (cp >= CHAR_A && cp <= CHAR_Z)\n || (cp >= CHAR_a && cp <= CHAR_z)\n || (cp >= CHAR_0 && cp <= CHAR_9)\n || cp === CHAR_LOWBAR\n || cp === CHAR_HYPHEN\n}\nconst _type = Symbol('type')\nconst _declared = Symbol('declared')\n\nconst hasOwnProperty = Object.prototype.hasOwnProperty\nconst defineProperty = Object.defineProperty\nconst descriptor = {configurable: true, enumerable: true, writable: true, value: undefined}\n\nfunction hasKey (obj, key) {\n if (hasOwnProperty.call(obj, key)) return true\n if (key === '__proto__') defineProperty(obj, '__proto__', descriptor)\n return false\n}\n\nconst INLINE_TABLE = Symbol('inline-table')\nfunction InlineTable () {\n return Object.defineProperties({}, {\n [_type]: {value: INLINE_TABLE}\n })\n}\nfunction isInlineTable (obj) {\n if (obj === null || typeof (obj) !== 'object') return false\n return obj[_type] === INLINE_TABLE\n}\n\nconst TABLE = Symbol('table')\nfunction Table () {\n return Object.defineProperties({}, {\n [_type]: {value: TABLE},\n [_declared]: {value: false, writable: true}\n })\n}\nfunction isTable (obj) {\n if (obj === null || typeof (obj) !== 'object') return false\n return obj[_type] === TABLE\n}\n\nconst _contentType = Symbol('content-type')\nconst INLINE_LIST = Symbol('inline-list')\nfunction InlineList (type) {\n return Object.defineProperties([], {\n [_type]: {value: INLINE_LIST},\n [_contentType]: {value: type}\n })\n}\nfunction isInlineList (obj) {\n if (obj === null || typeof (obj) !== 'object') return false\n return obj[_type] === INLINE_LIST\n}\n\nconst LIST = Symbol('list')\nfunction List () {\n return Object.defineProperties([], {\n [_type]: {value: LIST}\n })\n}\nfunction isList (obj) {\n if (obj === null || typeof (obj) !== 'object') return false\n return obj[_type] === LIST\n}\n\n// in an eval, to let bundlers not slurp in a util proxy\nlet _custom\ntry {\n const utilInspect = eval(\"require('util').inspect\")\n _custom = utilInspect.custom\n} catch (_) {\n /* eval require not available in transpiled bundle */\n}\n/* istanbul ignore next */\nconst _inspect = _custom || 'inspect'\n\nclass BoxedBigInt {\n constructor (value) {\n try {\n this.value = global.BigInt.asIntN(64, value)\n } catch (_) {\n /* istanbul ignore next */\n this.value = null\n }\n Object.defineProperty(this, _type, {value: INTEGER})\n }\n isNaN () {\n return this.value === null\n }\n /* istanbul ignore next */\n toString () {\n return String(this.value)\n }\n /* istanbul ignore next */\n [_inspect] () {\n return `[BigInt: ${this.toString()}]}`\n }\n valueOf () {\n return this.value\n }\n}\n\nconst INTEGER = Symbol('integer')\nfunction Integer (value) {\n let num = Number(value)\n // -0 is a float thing, not an int thing\n if (Object.is(num, -0)) num = 0\n /* istanbul ignore else */\n if (global.BigInt && !Number.isSafeInteger(num)) {\n return new BoxedBigInt(value)\n } else {\n /* istanbul ignore next */\n return Object.defineProperties(new Number(num), {\n isNaN: {value: function () { return isNaN(this) }},\n [_type]: {value: INTEGER},\n [_inspect]: {value: () => `[Integer: ${value}]`}\n })\n }\n}\nfunction isInteger (obj) {\n if (obj === null || typeof (obj) !== 'object') return false\n return obj[_type] === INTEGER\n}\n\nconst FLOAT = Symbol('float')\nfunction Float (value) {\n /* istanbul ignore next */\n return Object.defineProperties(new Number(value), {\n [_type]: {value: FLOAT},\n [_inspect]: {value: () => `[Float: ${value}]`}\n })\n}\nfunction isFloat (obj) {\n if (obj === null || typeof (obj) !== 'object') return false\n return obj[_type] === FLOAT\n}\n\nfunction tomlType (value) {\n const type = typeof value\n if (type === 'object') {\n /* istanbul ignore if */\n if (value === null) return 'null'\n if (value instanceof Date) return 'datetime'\n /* istanbul ignore else */\n if (_type in value) {\n switch (value[_type]) {\n case INLINE_TABLE: return 'inline-table'\n case INLINE_LIST: return 'inline-list'\n /* istanbul ignore next */\n case TABLE: return 'table'\n /* istanbul ignore next */\n case LIST: return 'list'\n case FLOAT: return 'float'\n case INTEGER: return 'integer'\n }\n }\n }\n return type\n}\n\nfunction makeParserClass (Parser) {\n class TOMLParser extends Parser {\n constructor () {\n super()\n this.ctx = this.obj = Table()\n }\n\n /* MATCH HELPER */\n atEndOfWord () {\n return this.char === CHAR_NUM || this.char === CTRL_I || this.char === CHAR_SP || this.atEndOfLine()\n }\n atEndOfLine () {\n return this.char === Parser.END || this.char === CTRL_J || this.char === CTRL_M\n }\n\n parseStart () {\n if (this.char === Parser.END) {\n return null\n } else if (this.char === CHAR_LSQB) {\n return this.call(this.parseTableOrList)\n } else if (this.char === CHAR_NUM) {\n return this.call(this.parseComment)\n } else if (this.char === CTRL_J || this.char === CHAR_SP || this.char === CTRL_I || this.char === CTRL_M) {\n return null\n } else if (isAlphaNumQuoteHyphen(this.char)) {\n return this.callNow(this.parseAssignStatement)\n } else {\n throw this.error(new TomlError(`Unknown character \"${this.char}\"`))\n }\n }\n\n // HELPER, this strips any whitespace and comments to the end of the line\n // then RETURNS. Last state in a production.\n parseWhitespaceToEOL () {\n if (this.char === CHAR_SP || this.char === CTRL_I || this.char === CTRL_M) {\n return null\n } else if (this.char === CHAR_NUM) {\n return this.goto(this.parseComment)\n } else if (this.char === Parser.END || this.char === CTRL_J) {\n return this.return()\n } else {\n throw this.error(new TomlError('Unexpected character, expected only whitespace or comments till end of line'))\n }\n }\n\n /* ASSIGNMENT: key = value */\n parseAssignStatement () {\n return this.callNow(this.parseAssign, this.recordAssignStatement)\n }\n recordAssignStatement (kv) {\n let target = this.ctx\n let finalKey = kv.key.pop()\n for (let kw of kv.key) {\n if (hasKey(target, kw) && (!isTable(target[kw]) || target[kw][_declared])) {\n throw this.error(new TomlError(\"Can't redefine existing key\"))\n }\n target = target[kw] = target[kw] || Table()\n }\n if (hasKey(target, finalKey)) {\n throw this.error(new TomlError(\"Can't redefine existing key\"))\n }\n // unbox our numbers\n if (isInteger(kv.value) || isFloat(kv.value)) {\n target[finalKey] = kv.value.valueOf()\n } else {\n target[finalKey] = kv.value\n }\n return this.goto(this.parseWhitespaceToEOL)\n }\n\n /* ASSSIGNMENT expression, key = value possibly inside an inline table */\n parseAssign () {\n return this.callNow(this.parseKeyword, this.recordAssignKeyword)\n }\n recordAssignKeyword (key) {\n if (this.state.resultTable) {\n this.state.resultTable.push(key)\n } else {\n this.state.resultTable = [key]\n }\n return this.goto(this.parseAssignKeywordPreDot)\n }\n parseAssignKeywordPreDot () {\n if (this.char === CHAR_PERIOD) {\n return this.next(this.parseAssignKeywordPostDot)\n } else if (this.char !== CHAR_SP && this.char !== CTRL_I) {\n return this.goto(this.parseAssignEqual)\n }\n }\n parseAssignKeywordPostDot () {\n if (this.char !== CHAR_SP && this.char !== CTRL_I) {\n return this.callNow(this.parseKeyword, this.recordAssignKeyword)\n }\n }\n\n parseAssignEqual () {\n if (this.char === CHAR_EQUALS) {\n return this.next(this.parseAssignPreValue)\n } else {\n throw this.error(new TomlError('Invalid character, expected \"=\"'))\n }\n }\n parseAssignPreValue () {\n if (this.char === CHAR_SP || this.char === CTRL_I) {\n return null\n } else {\n return this.callNow(this.parseValue, this.recordAssignValue)\n }\n }\n recordAssignValue (value) {\n return this.returnNow({key: this.state.resultTable, value: value})\n }\n\n /* COMMENTS: #...eol */\n parseComment () {\n do {\n if (this.char === Parser.END || this.char === CTRL_J) {\n return this.return()\n }\n } while (this.nextChar())\n }\n\n /* TABLES AND LISTS, [foo] and [[foo]] */\n parseTableOrList () {\n if (this.char === CHAR_LSQB) {\n this.next(this.parseList)\n } else {\n return this.goto(this.parseTable)\n }\n }\n\n /* TABLE [foo.bar.baz] */\n parseTable () {\n this.ctx = this.obj\n return this.goto(this.parseTableNext)\n }\n parseTableNext () {\n if (this.char === CHAR_SP || this.char === CTRL_I) {\n return null\n } else {\n return this.callNow(this.parseKeyword, this.parseTableMore)\n }\n }\n parseTableMore (keyword) {\n if (this.char === CHAR_SP || this.char === CTRL_I) {\n return null\n } else if (this.char === CHAR_RSQB) {\n if (hasKey(this.ctx, keyword) && (!isTable(this.ctx[keyword]) || this.ctx[keyword][_declared])) {\n throw this.error(new TomlError(\"Can't redefine existing key\"))\n } else {\n this.ctx = this.ctx[keyword] = this.ctx[keyword] || Table()\n this.ctx[_declared] = true\n }\n return this.next(this.parseWhitespaceToEOL)\n } else if (this.char === CHAR_PERIOD) {\n if (!hasKey(this.ctx, keyword)) {\n this.ctx = this.ctx[keyword] = Table()\n } else if (isTable(this.ctx[keyword])) {\n this.ctx = this.ctx[keyword]\n } else if (isList(this.ctx[keyword])) {\n this.ctx = this.ctx[keyword][this.ctx[keyword].length - 1]\n } else {\n throw this.error(new TomlError(\"Can't redefine existing key\"))\n }\n return this.next(this.parseTableNext)\n } else {\n throw this.error(new TomlError('Unexpected character, expected whitespace, . or ]'))\n }\n }\n\n /* LIST [[a.b.c]] */\n parseList () {\n this.ctx = this.obj\n return this.goto(this.parseListNext)\n }\n parseListNext () {\n if (this.char === CHAR_SP || this.char === CTRL_I) {\n return null\n } else {\n return this.callNow(this.parseKeyword, this.parseListMore)\n }\n }\n parseListMore (keyword) {\n if (this.char === CHAR_SP || this.char === CTRL_I) {\n return null\n } else if (this.char === CHAR_RSQB) {\n if (!hasKey(this.ctx, keyword)) {\n this.ctx[keyword] = List()\n }\n if (isInlineList(this.ctx[keyword])) {\n throw this.error(new TomlError(\"Can't extend an inline array\"))\n } else if (isList(this.ctx[keyword])) {\n const next = Table()\n this.ctx[keyword].push(next)\n this.ctx = next\n } else {\n throw this.error(new TomlError(\"Can't redefine an existing key\"))\n }\n return this.next(this.parseListEnd)\n } else if (this.char === CHAR_PERIOD) {\n if (!hasKey(this.ctx, keyword)) {\n this.ctx = this.ctx[keyword] = Table()\n } else if (isInlineList(this.ctx[keyword])) {\n throw this.error(new TomlError(\"Can't extend an inline array\"))\n } else if (isInlineTable(this.ctx[keyword])) {\n throw this.error(new TomlError(\"Can't extend an inline table\"))\n } else if (isList(this.ctx[keyword])) {\n this.ctx = this.ctx[keyword][this.ctx[keyword].length - 1]\n } else if (isTable(this.ctx[keyword])) {\n this.ctx = this.ctx[keyword]\n } else {\n throw this.error(new TomlError(\"Can't redefine an existing key\"))\n }\n return this.next(this.parseListNext)\n } else {\n throw this.error(new TomlError('Unexpected character, expected whitespace, . or ]'))\n }\n }\n parseListEnd (keyword) {\n if (this.char === CHAR_RSQB) {\n return this.next(this.parseWhitespaceToEOL)\n } else {\n throw this.error(new TomlError('Unexpected character, expected whitespace, . or ]'))\n }\n }\n\n /* VALUE string, number, boolean, inline list, inline object */\n parseValue () {\n if (this.char === Parser.END) {\n throw this.error(new TomlError('Key without value'))\n } else if (this.char === CHAR_QUOT) {\n return this.next(this.parseDoubleString)\n } if (this.char === CHAR_APOS) {\n return this.next(this.parseSingleString)\n } else if (this.char === CHAR_HYPHEN || this.char === CHAR_PLUS) {\n return this.goto(this.parseNumberSign)\n } else if (this.char === CHAR_i) {\n return this.next(this.parseInf)\n } else if (this.char === CHAR_n) {\n return this.next(this.parseNan)\n } else if (isDigit(this.char)) {\n return this.goto(this.parseNumberOrDateTime)\n } else if (this.char === CHAR_t || this.char === CHAR_f) {\n return this.goto(this.parseBoolean)\n } else if (this.char === CHAR_LSQB) {\n return this.call(this.parseInlineList, this.recordValue)\n } else if (this.char === CHAR_LCUB) {\n return this.call(this.parseInlineTable, this.recordValue)\n } else {\n throw this.error(new TomlError('Unexpected character, expecting string, number, datetime, boolean, inline array or inline table'))\n }\n }\n recordValue (value) {\n return this.returnNow(value)\n }\n\n parseInf () {\n if (this.char === CHAR_n) {\n return this.next(this.parseInf2)\n } else {\n throw this.error(new TomlError('Unexpected character, expected \"inf\", \"+inf\" or \"-inf\"'))\n }\n }\n parseInf2 () {\n if (this.char === CHAR_f) {\n if (this.state.buf === '-') {\n return this.return(-Infinity)\n } else {\n return this.return(Infinity)\n }\n } else {\n throw this.error(new TomlError('Unexpected character, expected \"inf\", \"+inf\" or \"-inf\"'))\n }\n }\n\n parseNan () {\n if (this.char === CHAR_a) {\n return this.next(this.parseNan2)\n } else {\n throw this.error(new TomlError('Unexpected character, expected \"nan\"'))\n }\n }\n parseNan2 () {\n if (this.char === CHAR_n) {\n return this.return(NaN)\n } else {\n throw this.error(new TomlError('Unexpected character, expected \"nan\"'))\n }\n }\n\n /* KEYS, barewords or basic, literal, or dotted */\n parseKeyword () {\n if (this.char === CHAR_QUOT) {\n return this.next(this.parseBasicString)\n } else if (this.char === CHAR_APOS) {\n return this.next(this.parseLiteralString)\n } else {\n return this.goto(this.parseBareKey)\n }\n }\n\n /* KEYS: barewords */\n parseBareKey () {\n do {\n if (this.char === Parser.END) {\n throw this.error(new TomlError('Key ended without value'))\n } else if (isAlphaNumHyphen(this.char)) {\n this.consume()\n } else if (this.state.buf.length === 0) {\n throw this.error(new TomlError('Empty bare keys are not allowed'))\n } else {\n return this.returnNow()\n }\n } while (this.nextChar())\n }\n\n /* STRINGS, single quoted (literal) */\n parseSingleString () {\n if (this.char === CHAR_APOS) {\n return this.next(this.parseLiteralMultiStringMaybe)\n } else {\n return this.goto(this.parseLiteralString)\n }\n }\n parseLiteralString () {\n do {\n if (this.char === CHAR_APOS) {\n return this.return()\n } else if (this.atEndOfLine()) {\n throw this.error(new TomlError('Unterminated string'))\n } else if (this.char === CHAR_DEL || (this.char <= CTRL_CHAR_BOUNDARY && this.char !== CTRL_I)) {\n throw this.errorControlCharInString()\n } else {\n this.consume()\n }\n } while (this.nextChar())\n }\n parseLiteralMultiStringMaybe () {\n if (this.char === CHAR_APOS) {\n return this.next(this.parseLiteralMultiString)\n } else {\n return this.returnNow()\n }\n }\n parseLiteralMultiString () {\n if (this.char === CTRL_M) {\n return null\n } else if (this.char === CTRL_J) {\n return this.next(this.parseLiteralMultiStringContent)\n } else {\n return this.goto(this.parseLiteralMultiStringContent)\n }\n }\n parseLiteralMultiStringContent () {\n do {\n if (this.char === CHAR_APOS) {\n return this.next(this.parseLiteralMultiEnd)\n } else if (this.char === Parser.END) {\n throw this.error(new TomlError('Unterminated multi-line string'))\n } else if (this.char === CHAR_DEL || (this.char <= CTRL_CHAR_BOUNDARY && this.char !== CTRL_I && this.char !== CTRL_J && this.char !== CTRL_M)) {\n throw this.errorControlCharInString()\n } else {\n this.consume()\n }\n } while (this.nextChar())\n }\n parseLiteralMultiEnd () {\n if (this.char === CHAR_APOS) {\n return this.next(this.parseLiteralMultiEnd2)\n } else {\n this.state.buf += \"'\"\n return this.goto(this.parseLiteralMultiStringContent)\n }\n }\n parseLiteralMultiEnd2 () {\n if (this.char === CHAR_APOS) {\n return this.return()\n } else {\n this.state.buf += \"''\"\n return this.goto(this.parseLiteralMultiStringContent)\n }\n }\n\n /* STRINGS double quoted */\n parseDoubleString () {\n if (this.char === CHAR_QUOT) {\n return this.next(this.parseMultiStringMaybe)\n } else {\n return this.goto(this.parseBasicString)\n }\n }\n parseBasicString () {\n do {\n if (this.char === CHAR_BSOL) {\n return this.call(this.parseEscape, this.recordEscapeReplacement)\n } else if (this.char === CHAR_QUOT) {\n return this.return()\n } else if (this.atEndOfLine()) {\n throw this.error(new TomlError('Unterminated string'))\n } else if (this.char === CHAR_DEL || (this.char <= CTRL_CHAR_BOUNDARY && this.char !== CTRL_I)) {\n throw this.errorControlCharInString()\n } else {\n this.consume()\n }\n } while (this.nextChar())\n }\n recordEscapeReplacement (replacement) {\n this.state.buf += replacement\n return this.goto(this.parseBasicString)\n }\n parseMultiStringMaybe () {\n if (this.char === CHAR_QUOT) {\n return this.next(this.parseMultiString)\n } else {\n return this.returnNow()\n }\n }\n parseMultiString () {\n if (this.char === CTRL_M) {\n return null\n } else if (this.char === CTRL_J) {\n return this.next(this.parseMultiStringContent)\n } else {\n return this.goto(this.parseMultiStringContent)\n }\n }\n parseMultiStringContent () {\n do {\n if (this.char === CHAR_BSOL) {\n return this.call(this.parseMultiEscape, this.recordMultiEscapeReplacement)\n } else if (this.char === CHAR_QUOT) {\n return this.next(this.parseMultiEnd)\n } else if (this.char === Parser.END) {\n throw this.error(new TomlError('Unterminated multi-line string'))\n } else if (this.char === CHAR_DEL || (this.char <= CTRL_CHAR_BOUNDARY && this.char !== CTRL_I && this.char !== CTRL_J && this.char !== CTRL_M)) {\n throw this.errorControlCharInString()\n } else {\n this.consume()\n }\n } while (this.nextChar())\n }\n errorControlCharInString () {\n let displayCode = '\\\\u00'\n if (this.char < 16) {\n displayCode += '0'\n }\n displayCode += this.char.toString(16)\n\n return this.error(new TomlError(`Control characters (codes < 0x1f and 0x7f) are not allowed in strings, use ${displayCode} instead`))\n }\n recordMultiEscapeReplacement (replacement) {\n this.state.buf += replacement\n return this.goto(this.parseMultiStringContent)\n }\n parseMultiEnd () {\n if (this.char === CHAR_QUOT) {\n return this.next(this.parseMultiEnd2)\n } else {\n this.state.buf += '\"'\n return this.goto(this.parseMultiStringContent)\n }\n }\n parseMultiEnd2 () {\n if (this.char === CHAR_QUOT) {\n return this.return()\n } else {\n this.state.buf += '\"\"'\n return this.goto(this.parseMultiStringContent)\n }\n }\n parseMultiEscape () {\n if (this.char === CTRL_M || this.char === CTRL_J) {\n return this.next(this.parseMultiTrim)\n } else if (this.char === CHAR_SP || this.char === CTRL_I) {\n return this.next(this.parsePreMultiTrim)\n } else {\n return this.goto(this.parseEscape)\n }\n }\n parsePreMultiTrim () {\n if (this.char === CHAR_SP || this.char === CTRL_I) {\n return null\n } else if (this.char === CTRL_M || this.char === CTRL_J) {\n return this.next(this.parseMultiTrim)\n } else {\n throw this.error(new TomlError(\"Can't escape whitespace\"))\n }\n }\n parseMultiTrim () {\n // explicitly whitespace here, END should follow the same path as chars\n if (this.char === CTRL_J || this.char === CHAR_SP || this.char === CTRL_I || this.char === CTRL_M) {\n return null\n } else {\n return this.returnNow()\n }\n }\n parseEscape () {\n if (this.char in escapes) {\n return this.return(escapes[this.char])\n } else if (this.char === CHAR_u) {\n return this.call(this.parseSmallUnicode, this.parseUnicodeReturn)\n } else if (this.char === CHAR_U) {\n return this.call(this.parseLargeUnicode, this.parseUnicodeReturn)\n } else {\n throw this.error(new TomlError('Unknown escape character: ' + this.char))\n }\n }\n parseUnicodeReturn (char) {\n try {\n const codePoint = parseInt(char, 16)\n if (codePoint >= SURROGATE_FIRST && codePoint <= SURROGATE_LAST) {\n throw this.error(new TomlError('Invalid unicode, character in range 0xD800 - 0xDFFF is reserved'))\n }\n return this.returnNow(String.fromCodePoint(codePoint))\n } catch (err) {\n throw this.error(TomlError.wrap(err))\n }\n }\n parseSmallUnicode () {\n if (!isHexit(this.char)) {\n throw this.error(new TomlError('Invalid character in unicode sequence, expected hex'))\n } else {\n this.consume()\n if (this.state.buf.length >= 4) return this.return()\n }\n }\n parseLargeUnicode () {\n if (!isHexit(this.char)) {\n throw this.error(new TomlError('Invalid character in unicode sequence, expected hex'))\n } else {\n this.consume()\n if (this.state.buf.length >= 8) return this.return()\n }\n }\n\n /* NUMBERS */\n parseNumberSign () {\n this.consume()\n return this.next(this.parseMaybeSignedInfOrNan)\n }\n parseMaybeSignedInfOrNan () {\n if (this.char === CHAR_i) {\n return this.next(this.parseInf)\n } else if (this.char === CHAR_n) {\n return this.next(this.parseNan)\n } else {\n return this.callNow(this.parseNoUnder, this.parseNumberIntegerStart)\n }\n }\n parseNumberIntegerStart () {\n if (this.char === CHAR_0) {\n this.consume()\n return this.next(this.parseNumberIntegerExponentOrDecimal)\n } else {\n return this.goto(this.parseNumberInteger)\n }\n }\n parseNumberIntegerExponentOrDecimal () {\n if (this.char === CHAR_PERIOD) {\n this.consume()\n return this.call(this.parseNoUnder, this.parseNumberFloat)\n } else if (this.char === CHAR_E || this.char === CHAR_e) {\n this.consume()\n return this.next(this.parseNumberExponentSign)\n } else {\n return this.returnNow(Integer(this.state.buf))\n }\n }\n parseNumberInteger () {\n if (isDigit(this.char)) {\n this.consume()\n } else if (this.char === CHAR_LOWBAR) {\n return this.call(this.parseNoUnder)\n } else if (this.char === CHAR_E || this.char === CHAR_e) {\n this.consume()\n return this.next(this.parseNumberExponentSign)\n } else if (this.char === CHAR_PERIOD) {\n this.consume()\n return this.call(this.parseNoUnder, this.parseNumberFloat)\n } else {\n const result = Integer(this.state.buf)\n /* istanbul ignore if */\n if (result.isNaN()) {\n throw this.error(new TomlError('Invalid number'))\n } else {\n return this.returnNow(result)\n }\n }\n }\n parseNoUnder () {\n if (this.char === CHAR_LOWBAR || this.char === CHAR_PERIOD || this.char === CHAR_E || this.char === CHAR_e) {\n throw this.error(new TomlError('Unexpected character, expected digit'))\n } else if (this.atEndOfWord()) {\n throw this.error(new TomlError('Incomplete number'))\n }\n return this.returnNow()\n }\n parseNoUnderHexOctBinLiteral () {\n if (this.char === CHAR_LOWBAR || this.char === CHAR_PERIOD) {\n throw this.error(new TomlError('Unexpected character, expected digit'))\n } else if (this.atEndOfWord()) {\n throw this.error(new TomlError('Incomplete number'))\n }\n return this.returnNow()\n }\n parseNumberFloat () {\n if (this.char === CHAR_LOWBAR) {\n return this.call(this.parseNoUnder, this.parseNumberFloat)\n } else if (isDigit(this.char)) {\n this.consume()\n } else if (this.char === CHAR_E || this.char === CHAR_e) {\n this.consume()\n return this.next(this.parseNumberExponentSign)\n } else {\n return this.returnNow(Float(this.state.buf))\n }\n }\n parseNumberExponentSign () {\n if (isDigit(this.char)) {\n return this.goto(this.parseNumberExponent)\n } else if (this.char === CHAR_HYPHEN || this.char === CHAR_PLUS) {\n this.consume()\n this.call(this.parseNoUnder, this.parseNumberExponent)\n } else {\n throw this.error(new TomlError('Unexpected character, expected -, + or digit'))\n }\n }\n parseNumberExponent () {\n if (isDigit(this.char)) {\n this.consume()\n } else if (this.char === CHAR_LOWBAR) {\n return this.call(this.parseNoUnder)\n } else {\n return this.returnNow(Float(this.state.buf))\n }\n }\n\n /* NUMBERS or DATETIMES */\n parseNumberOrDateTime () {\n if (this.char === CHAR_0) {\n this.consume()\n return this.next(this.parseNumberBaseOrDateTime)\n } else {\n return this.goto(this.parseNumberOrDateTimeOnly)\n }\n }\n parseNumberOrDateTimeOnly () {\n // note, if two zeros are in a row then it MUST be a date\n if (this.char === CHAR_LOWBAR) {\n return this.call(this.parseNoUnder, this.parseNumberInteger)\n } else if (isDigit(this.char)) {\n this.consume()\n if (this.state.buf.length > 4) this.next(this.parseNumberInteger)\n } else if (this.char === CHAR_E || this.char === CHAR_e) {\n this.consume()\n return this.next(this.parseNumberExponentSign)\n } else if (this.char === CHAR_PERIOD) {\n this.consume()\n return this.call(this.parseNoUnder, this.parseNumberFloat)\n } else if (this.char === CHAR_HYPHEN) {\n return this.goto(this.parseDateTime)\n } else if (this.char === CHAR_COLON) {\n return this.goto(this.parseOnlyTimeHour)\n } else {\n return this.returnNow(Integer(this.state.buf))\n }\n }\n parseDateTimeOnly () {\n if (this.state.buf.length < 4) {\n if (isDigit(this.char)) {\n return this.consume()\n } else if (this.char === CHAR_COLON) {\n return this.goto(this.parseOnlyTimeHour)\n } else {\n throw this.error(new TomlError('Expected digit while parsing year part of a date'))\n }\n } else {\n if (this.char === CHAR_HYPHEN) {\n return this.goto(this.parseDateTime)\n } else {\n throw this.error(new TomlError('Expected hyphen (-) while parsing year part of date'))\n }\n }\n }\n parseNumberBaseOrDateTime () {\n if (this.char === CHAR_b) {\n this.consume()\n return this.call(this.parseNoUnderHexOctBinLiteral, this.parseIntegerBin)\n } else if (this.char === CHAR_o) {\n this.consume()\n return this.call(this.parseNoUnderHexOctBinLiteral, this.parseIntegerOct)\n } else if (this.char === CHAR_x) {\n this.consume()\n return this.call(this.parseNoUnderHexOctBinLiteral, this.parseIntegerHex)\n } else if (this.char === CHAR_PERIOD) {\n return this.goto(this.parseNumberInteger)\n } else if (isDigit(this.char)) {\n return this.goto(this.parseDateTimeOnly)\n } else {\n return this.returnNow(Integer(this.state.buf))\n }\n }\n parseIntegerHex () {\n if (isHexit(this.char)) {\n this.consume()\n } else if (this.char === CHAR_LOWBAR) {\n return this.call(this.parseNoUnderHexOctBinLiteral)\n } else {\n const result = Integer(this.state.buf)\n /* istanbul ignore if */\n if (result.isNaN()) {\n throw this.error(new TomlError('Invalid number'))\n } else {\n return this.returnNow(result)\n }\n }\n }\n parseIntegerOct () {\n if (isOctit(this.char)) {\n this.consume()\n } else if (this.char === CHAR_LOWBAR) {\n return this.call(this.parseNoUnderHexOctBinLiteral)\n } else {\n const result = Integer(this.state.buf)\n /* istanbul ignore if */\n if (result.isNaN()) {\n throw this.error(new TomlError('Invalid number'))\n } else {\n return this.returnNow(result)\n }\n }\n }\n parseIntegerBin () {\n if (isBit(this.char)) {\n this.consume()\n } else if (this.char === CHAR_LOWBAR) {\n return this.call(this.parseNoUnderHexOctBinLiteral)\n } else {\n const result = Integer(this.state.buf)\n /* istanbul ignore if */\n if (result.isNaN()) {\n throw this.error(new TomlError('Invalid number'))\n } else {\n return this.returnNow(result)\n }\n }\n }\n\n /* DATETIME */\n parseDateTime () {\n // we enter here having just consumed the year and about to consume the hyphen\n if (this.state.buf.length < 4) {\n throw this.error(new TomlError('Years less than 1000 must be zero padded to four characters'))\n }\n this.state.result = this.state.buf\n this.state.buf = ''\n return this.next(this.parseDateMonth)\n }\n parseDateMonth () {\n if (this.char === CHAR_HYPHEN) {\n if (this.state.buf.length < 2) {\n throw this.error(new TomlError('Months less than 10 must be zero padded to two characters'))\n }\n this.state.result += '-' + this.state.buf\n this.state.buf = ''\n return this.next(this.parseDateDay)\n } else if (isDigit(this.char)) {\n this.consume()\n } else {\n throw this.error(new TomlError('Incomplete datetime'))\n }\n }\n parseDateDay () {\n if (this.char === CHAR_T || this.char === CHAR_SP) {\n if (this.state.buf.length < 2) {\n throw this.error(new TomlError('Days less than 10 must be zero padded to two characters'))\n }\n this.state.result += '-' + this.state.buf\n this.state.buf = ''\n return this.next(this.parseStartTimeHour)\n } else if (this.atEndOfWord()) {\n return this.returnNow(createDate(this.state.result + '-' + this.state.buf))\n } else if (isDigit(this.char)) {\n this.consume()\n } else {\n throw this.error(new TomlError('Incomplete datetime'))\n }\n }\n parseStartTimeHour () {\n if (this.atEndOfWord()) {\n return this.returnNow(createDate(this.state.result))\n } else {\n return this.goto(this.parseTimeHour)\n }\n }\n parseTimeHour () {\n if (this.char === CHAR_COLON) {\n if (this.state.buf.length < 2) {\n throw this.error(new TomlError('Hours less than 10 must be zero padded to two characters'))\n }\n this.state.result += 'T' + this.state.buf\n this.state.buf = ''\n return this.next(this.parseTimeMin)\n } else if (isDigit(this.char)) {\n this.consume()\n } else {\n throw this.error(new TomlError('Incomplete datetime'))\n }\n }\n parseTimeMin () {\n if (this.state.buf.length < 2 && isDigit(this.char)) {\n this.consume()\n } else if (this.state.buf.length === 2 && this.char === CHAR_COLON) {\n this.state.result += ':' + this.state.buf\n this.state.buf = ''\n return this.next(this.parseTimeSec)\n } else {\n throw this.error(new TomlError('Incomplete datetime'))\n }\n }\n parseTimeSec () {\n if (isDigit(this.char)) {\n this.consume()\n if (this.state.buf.length === 2) {\n this.state.result += ':' + this.state.buf\n this.state.buf = ''\n return this.next(this.parseTimeZoneOrFraction)\n }\n } else {\n throw this.error(new TomlError('Incomplete datetime'))\n }\n }\n\n parseOnlyTimeHour () {\n /* istanbul ignore else */\n if (this.char === CHAR_COLON) {\n if (this.state.buf.length < 2) {\n throw this.error(new TomlError('Hours less than 10 must be zero padded to two characters'))\n }\n this.state.result = this.state.buf\n this.state.buf = ''\n return this.next(this.parseOnlyTimeMin)\n } else {\n throw this.error(new TomlError('Incomplete time'))\n }\n }\n parseOnlyTimeMin () {\n if (this.state.buf.length < 2 && isDigit(this.char)) {\n this.consume()\n } else if (this.state.buf.length === 2 && this.char === CHAR_COLON) {\n this.state.result += ':' + this.state.buf\n this.state.buf = ''\n return this.next(this.parseOnlyTimeSec)\n } else {\n throw this.error(new TomlError('Incomplete time'))\n }\n }\n parseOnlyTimeSec () {\n if (isDigit(this.char)) {\n this.consume()\n if (this.state.buf.length === 2) {\n return this.next(this.parseOnlyTimeFractionMaybe)\n }\n } else {\n throw this.error(new TomlError('Incomplete time'))\n }\n }\n parseOnlyTimeFractionMaybe () {\n this.state.result += ':' + this.state.buf\n if (this.char === CHAR_PERIOD) {\n this.state.buf = ''\n this.next(this.parseOnlyTimeFraction)\n } else {\n return this.return(createTime(this.state.result))\n }\n }\n parseOnlyTimeFraction () {\n if (isDigit(this.char)) {\n this.consume()\n } else if (this.atEndOfWord()) {\n if (this.state.buf.length === 0) throw this.error(new TomlError('Expected digit in milliseconds'))\n return this.returnNow(createTime(this.state.result + '.' + this.state.buf))\n } else {\n throw this.error(new TomlError('Unexpected character in datetime, expected period (.), minus (-), plus (+) or Z'))\n }\n }\n\n parseTimeZoneOrFraction () {\n if (this.char === CHAR_PERIOD) {\n this.consume()\n this.next(this.parseDateTimeFraction)\n } else if (this.char === CHAR_HYPHEN || this.char === CHAR_PLUS) {\n this.consume()\n this.next(this.parseTimeZoneHour)\n } else if (this.char === CHAR_Z) {\n this.consume()\n return this.return(createDateTime(this.state.result + this.state.buf))\n } else if (this.atEndOfWord()) {\n return this.returnNow(createDateTimeFloat(this.state.result + this.state.buf))\n } else {\n throw this.error(new TomlError('Unexpected character in datetime, expected period (.), minus (-), plus (+) or Z'))\n }\n }\n parseDateTimeFraction () {\n if (isDigit(this.char)) {\n this.consume()\n } else if (this.state.buf.length === 1) {\n throw this.error(new TomlError('Expected digit in milliseconds'))\n } else if (this.char === CHAR_HYPHEN || this.char === CHAR_PLUS) {\n this.consume()\n this.next(this.parseTimeZoneHour)\n } else if (this.char === CHAR_Z) {\n this.consume()\n return this.return(createDateTime(this.state.result + this.state.buf))\n } else if (this.atEndOfWord()) {\n return this.returnNow(createDateTimeFloat(this.state.result + this.state.buf))\n } else {\n throw this.error(new TomlError('Unexpected character in datetime, expected period (.), minus (-), plus (+) or Z'))\n }\n }\n parseTimeZoneHour () {\n if (isDigit(this.char)) {\n this.consume()\n // FIXME: No more regexps\n if (/\\d\\d$/.test(this.state.buf)) return this.next(this.parseTimeZoneSep)\n } else {\n throw this.error(new TomlError('Unexpected character in datetime, expected digit'))\n }\n }\n parseTimeZoneSep () {\n if (this.char === CHAR_COLON) {\n this.consume()\n this.next(this.parseTimeZoneMin)\n } else {\n throw this.error(new TomlError('Unexpected character in datetime, expected colon'))\n }\n }\n parseTimeZoneMin () {\n if (isDigit(this.char)) {\n this.consume()\n if (/\\d\\d$/.test(this.state.buf)) return this.return(createDateTime(this.state.result + this.state.buf))\n } else {\n throw this.error(new TomlError('Unexpected character in datetime, expected digit'))\n }\n }\n\n /* BOOLEAN */\n parseBoolean () {\n /* istanbul ignore else */\n if (this.char === CHAR_t) {\n this.consume()\n return this.next(this.parseTrue_r)\n } else if (this.char === CHAR_f) {\n this.consume()\n return this.next(this.parseFalse_a)\n }\n }\n parseTrue_r () {\n if (this.char === CHAR_r) {\n this.consume()\n return this.next(this.parseTrue_u)\n } else {\n throw this.error(new TomlError('Invalid boolean, expected true or false'))\n }\n }\n parseTrue_u () {\n if (this.char === CHAR_u) {\n this.consume()\n return this.next(this.parseTrue_e)\n } else {\n throw this.error(new TomlError('Invalid boolean, expected true or false'))\n }\n }\n parseTrue_e () {\n if (this.char === CHAR_e) {\n return this.return(true)\n } else {\n throw this.error(new TomlError('Invalid boolean, expected true or false'))\n }\n }\n\n parseFalse_a () {\n if (this.char === CHAR_a) {\n this.consume()\n return this.next(this.parseFalse_l)\n } else {\n throw this.error(new TomlError('Invalid boolean, expected true or false'))\n }\n }\n\n parseFalse_l () {\n if (this.char === CHAR_l) {\n this.consume()\n return this.next(this.parseFalse_s)\n } else {\n throw this.error(new TomlError('Invalid boolean, expected true or false'))\n }\n }\n\n parseFalse_s () {\n if (this.char === CHAR_s) {\n this.consume()\n return this.next(this.parseFalse_e)\n } else {\n throw this.error(new TomlError('Invalid boolean, expected true or false'))\n }\n }\n\n parseFalse_e () {\n if (this.char === CHAR_e) {\n return this.return(false)\n } else {\n throw this.error(new TomlError('Invalid boolean, expected true or false'))\n }\n }\n\n /* INLINE LISTS */\n parseInlineList () {\n if (this.char === CHAR_SP || this.char === CTRL_I || this.char === CTRL_M || this.char === CTRL_J) {\n return null\n } else if (this.char === Parser.END) {\n throw this.error(new TomlError('Unterminated inline array'))\n } else if (this.char === CHAR_NUM) {\n return this.call(this.parseComment)\n } else if (this.char === CHAR_RSQB) {\n return this.return(this.state.resultArr || InlineList())\n } else {\n return this.callNow(this.parseValue, this.recordInlineListValue)\n }\n }\n recordInlineListValue (value) {\n if (this.state.resultArr) {\n const listType = this.state.resultArr[_contentType]\n const valueType = tomlType(value)\n if (listType !== valueType) {\n throw this.error(new TomlError(`Inline lists must be a single type, not a mix of ${listType} and ${valueType}`))\n }\n } else {\n this.state.resultArr = InlineList(tomlType(value))\n }\n if (isFloat(value) || isInteger(value)) {\n // unbox now that we've verified they're ok\n this.state.resultArr.push(value.valueOf())\n } else {\n this.state.resultArr.push(value)\n }\n return this.goto(this.parseInlineListNext)\n }\n parseInlineListNext () {\n if (this.char === CHAR_SP || this.char === CTRL_I || this.char === CTRL_M || this.char === CTRL_J) {\n return null\n } else if (this.char === CHAR_NUM) {\n return this.call(this.parseComment)\n } else if (this.char === CHAR_COMMA) {\n return this.next(this.parseInlineList)\n } else if (this.char === CHAR_RSQB) {\n return this.goto(this.parseInlineList)\n } else {\n throw this.error(new TomlError('Invalid character, expected whitespace, comma (,) or close bracket (])'))\n }\n }\n\n /* INLINE TABLE */\n parseInlineTable () {\n if (this.char === CHAR_SP || this.char === CTRL_I) {\n return null\n } else if (this.char === Parser.END || this.char === CHAR_NUM || this.char === CTRL_J || this.char === CTRL_M) {\n throw this.error(new TomlError('Unterminated inline array'))\n } else if (this.char === CHAR_RCUB) {\n return this.return(this.state.resultTable || InlineTable())\n } else {\n if (!this.state.resultTable) this.state.resultTable = InlineTable()\n return this.callNow(this.parseAssign, this.recordInlineTableValue)\n }\n }\n recordInlineTableValue (kv) {\n let target = this.state.resultTable\n let finalKey = kv.key.pop()\n for (let kw of kv.key) {\n if (hasKey(target, kw) && (!isTable(target[kw]) || target[kw][_declared])) {\n throw this.error(new TomlError(\"Can't redefine existing key\"))\n }\n target = target[kw] = target[kw] || Table()\n }\n if (hasKey(target, finalKey)) {\n throw this.error(new TomlError(\"Can't redefine existing key\"))\n }\n if (isInteger(kv.value) || isFloat(kv.value)) {\n target[finalKey] = kv.value.valueOf()\n } else {\n target[finalKey] = kv.value\n }\n return this.goto(this.parseInlineTableNext)\n }\n parseInlineTableNext () {\n if (this.char === CHAR_SP || this.char === CTRL_I) {\n return null\n } else if (this.char === Parser.END || this.char === CHAR_NUM || this.char === CTRL_J || this.char === CTRL_M) {\n throw this.error(new TomlError('Unterminated inline array'))\n } else if (this.char === CHAR_COMMA) {\n return this.next(this.parseInlineTable)\n } else if (this.char === CHAR_RCUB) {\n return this.goto(this.parseInlineTable)\n } else {\n throw this.error(new TomlError('Invalid character, expected whitespace, comma (,) or close bracket (])'))\n }\n }\n }\n return TOMLParser\n}\n","'use strict'\nconst ParserEND = 0x110000\nclass ParserError extends Error {\n /* istanbul ignore next */\n constructor (msg, filename, linenumber) {\n super('[ParserError] ' + msg, filename, linenumber)\n this.name = 'ParserError'\n this.code = 'ParserError'\n if (Error.captureStackTrace) Error.captureStackTrace(this, ParserError)\n }\n}\nclass State {\n constructor (parser) {\n this.parser = parser\n this.buf = ''\n this.returned = null\n this.result = null\n this.resultTable = null\n this.resultArr = null\n }\n}\nclass Parser {\n constructor () {\n this.pos = 0\n this.col = 0\n this.line = 0\n this.obj = {}\n this.ctx = this.obj\n this.stack = []\n this._buf = ''\n this.char = null\n this.ii = 0\n this.state = new State(this.parseStart)\n }\n\n parse (str) {\n /* istanbul ignore next */\n if (str.length === 0 || str.length == null) return\n\n this._buf = String(str)\n this.ii = -1\n this.char = -1\n let getNext\n while (getNext === false || this.nextChar()) {\n getNext = this.runOne()\n }\n this._buf = null\n }\n nextChar () {\n if (this.char === 0x0A) {\n ++this.line\n this.col = -1\n }\n ++this.ii\n this.char = this._buf.codePointAt(this.ii)\n ++this.pos\n ++this.col\n return this.haveBuffer()\n }\n haveBuffer () {\n return this.ii < this._buf.length\n }\n runOne () {\n return this.state.parser.call(this, this.state.returned)\n }\n finish () {\n this.char = ParserEND\n let last\n do {\n last = this.state.parser\n this.runOne()\n } while (this.state.parser !== last)\n\n this.ctx = null\n this.state = null\n this._buf = null\n\n return this.obj\n }\n next (fn) {\n /* istanbul ignore next */\n if (typeof fn !== 'function') throw new ParserError('Tried to set state to non-existent state: ' + JSON.stringify(fn))\n this.state.parser = fn\n }\n goto (fn) {\n this.next(fn)\n return this.runOne()\n }\n call (fn, returnWith) {\n if (returnWith) this.next(returnWith)\n this.stack.push(this.state)\n this.state = new State(fn)\n }\n callNow (fn, returnWith) {\n this.call(fn, returnWith)\n return this.runOne()\n }\n return (value) {\n /* istanbul ignore next */\n if (this.stack.length === 0) throw this.error(new ParserError('Stack underflow'))\n if (value === undefined) value = this.state.buf\n this.state = this.stack.pop()\n this.state.returned = value\n }\n returnNow (value) {\n this.return(value)\n return this.runOne()\n }\n consume () {\n /* istanbul ignore next */\n if (this.char === ParserEND) throw this.error(new ParserError('Unexpected end-of-buffer'))\n this.state.buf += this._buf[this.ii]\n }\n error (err) {\n err.line = this.line\n err.col = this.col\n err.pos = this.pos\n return err\n }\n /* istanbul ignore next */\n parseStart () {\n throw new ParserError('Must declare a parseStart method')\n }\n}\nParser.END = ParserEND\nParser.Error = ParserError\nmodule.exports = Parser\n","'use strict'\nmodule.exports = value => {\n const date = new Date(value)\n /* istanbul ignore if */\n if (isNaN(date)) {\n throw new TypeError('Invalid Datetime')\n } else {\n return date\n }\n}\n","'use strict'\nconst f = require('./format-num.js')\n\nclass FloatingDateTime extends Date {\n constructor (value) {\n super(value + 'Z')\n this.isFloating = true\n }\n toISOString () {\n const date = `${this.getUTCFullYear()}-${f(2, this.getUTCMonth() + 1)}-${f(2, this.getUTCDate())}`\n const time = `${f(2, this.getUTCHours())}:${f(2, this.getUTCMinutes())}:${f(2, this.getUTCSeconds())}.${f(3, this.getUTCMilliseconds())}`\n return `${date}T${time}`\n }\n}\n\nmodule.exports = value => {\n const date = new FloatingDateTime(value)\n /* istanbul ignore if */\n if (isNaN(date)) {\n throw new TypeError('Invalid Datetime')\n } else {\n return date\n }\n}\n","'use strict'\nmodule.exports = (d, num) => {\n num = String(num)\n while (num.length < d) num = '0' + num\n return num\n}\n","'use strict'\nconst f = require('./format-num.js')\nconst DateTime = global.Date\n\nclass Date extends DateTime {\n constructor (value) {\n super(value)\n this.isDate = true\n }\n toISOString () {\n return `${this.getUTCFullYear()}-${f(2, this.getUTCMonth() + 1)}-${f(2, this.getUTCDate())}`\n }\n}\n\nmodule.exports = value => {\n const date = new Date(value)\n /* istanbul ignore if */\n if (isNaN(date)) {\n throw new TypeError('Invalid Datetime')\n } else {\n return date\n }\n}\n","'use strict'\nconst f = require('./format-num.js')\n\nclass Time extends Date {\n constructor (value) {\n super(`0000-01-01T${value}Z`)\n this.isTime = true\n }\n toISOString () {\n return `${f(2, this.getUTCHours())}:${f(2, this.getUTCMinutes())}:${f(2, this.getUTCSeconds())}.${f(3, this.getUTCMilliseconds())}`\n }\n}\n\nmodule.exports = value => {\n const date = new Time(value)\n /* istanbul ignore if */\n if (isNaN(date)) {\n throw new TypeError('Invalid Datetime')\n } else {\n return date\n }\n}\n","'use strict'\nmodule.exports = prettyError\n\nfunction prettyError (err, buf) {\n /* istanbul ignore if */\n if (err.pos == null || err.line == null) return err\n let msg = err.message\n msg += ` at row ${err.line + 1}, col ${err.col + 1}, pos ${err.pos}:\\n`\n\n /* istanbul ignore else */\n if (buf && buf.split) {\n const lines = buf.split(/\\n/)\n const lineNumWidth = String(Math.min(lines.length, err.line + 3)).length\n let linePadding = ' '\n while (linePadding.length < lineNumWidth) linePadding += ' '\n for (let ii = Math.max(0, err.line - 1); ii < Math.min(lines.length, err.line + 2); ++ii) {\n let lineNum = String(ii + 1)\n if (lineNum.length < lineNumWidth) lineNum = ' ' + lineNum\n if (err.line === ii) {\n msg += lineNum + '> ' + lines[ii] + '\\n'\n msg += linePadding + ' '\n for (let hh = 0; hh < err.col; ++hh) {\n msg += ' '\n }\n msg += '^\\n'\n } else {\n msg += lineNum + ': ' + lines[ii] + '\\n'\n }\n }\n }\n err.message = msg + '\\n'\n return err\n}\n","'use strict'\nmodule.exports = parseAsync\n\nconst TOMLParser = require('./lib/toml-parser.js')\nconst prettyError = require('./parse-pretty-error.js')\n\nfunction parseAsync (str, opts) {\n if (!opts) opts = {}\n const index = 0\n const blocksize = opts.blocksize || 40960\n const parser = new TOMLParser()\n return new Promise((resolve, reject) => {\n setImmediate(parseAsyncNext, index, blocksize, resolve, reject)\n })\n function parseAsyncNext (index, blocksize, resolve, reject) {\n if (index >= str.length) {\n try {\n return resolve(parser.finish())\n } catch (err) {\n return reject(prettyError(err, str))\n }\n }\n try {\n parser.parse(str.slice(index, index + blocksize))\n setImmediate(parseAsyncNext, index + blocksize, blocksize, resolve, reject)\n } catch (err) {\n reject(prettyError(err, str))\n }\n }\n}\n","'use strict'\nmodule.exports = parseStream\n\nconst stream = require('stream')\nconst TOMLParser = require('./lib/toml-parser.js')\n\nfunction parseStream (stm) {\n if (stm) {\n return parseReadable(stm)\n } else {\n return parseTransform(stm)\n }\n}\n\nfunction parseReadable (stm) {\n const parser = new TOMLParser()\n stm.setEncoding('utf8')\n return new Promise((resolve, reject) => {\n let readable\n let ended = false\n let errored = false\n function finish () {\n ended = true\n if (readable) return\n try {\n resolve(parser.finish())\n } catch (err) {\n reject(err)\n }\n }\n function error (err) {\n errored = true\n reject(err)\n }\n stm.once('end', finish)\n stm.once('error', error)\n readNext()\n\n function readNext () {\n readable = true\n let data\n while ((data = stm.read()) !== null) {\n try {\n parser.parse(data)\n } catch (err) {\n return error(err)\n }\n }\n readable = false\n /* istanbul ignore if */\n if (ended) return finish()\n /* istanbul ignore if */\n if (errored) return\n stm.once('readable', readNext)\n }\n })\n}\n\nfunction parseTransform () {\n const parser = new TOMLParser()\n return new stream.Transform({\n objectMode: true,\n transform (chunk, encoding, cb) {\n try {\n parser.parse(chunk.toString(encoding))\n } catch (err) {\n this.emit('error', err)\n }\n cb()\n },\n flush (cb) {\n try {\n this.push(parser.finish())\n } catch (err) {\n this.emit('error', err)\n }\n cb()\n }\n })\n}\n","'use strict'\nmodule.exports = stringify\nmodule.exports.value = stringifyInline\n\nfunction stringify (obj) {\n if (obj === null) throw typeError('null')\n if (obj === void (0)) throw typeError('undefined')\n if (typeof obj !== 'object') throw typeError(typeof obj)\n\n if (typeof obj.toJSON === 'function') obj = obj.toJSON()\n if (obj == null) return null\n const type = tomlType(obj)\n if (type !== 'table') throw typeError(type)\n return stringifyObject('', '', obj)\n}\n\nfunction typeError (type) {\n return new Error('Can only stringify objects, not ' + type)\n}\n\nfunction arrayOneTypeError () {\n return new Error(\"Array values can't have mixed types\")\n}\n\nfunction getInlineKeys (obj) {\n return Object.keys(obj).filter(key => isInline(obj[key]))\n}\nfunction getComplexKeys (obj) {\n return Object.keys(obj).filter(key => !isInline(obj[key]))\n}\n\nfunction toJSON (obj) {\n let nobj = Array.isArray(obj) ? [] : Object.prototype.hasOwnProperty.call(obj, '__proto__') ? {['__proto__']: undefined} : {}\n for (let prop of Object.keys(obj)) {\n if (obj[prop] && typeof obj[prop].toJSON === 'function' && !('toISOString' in obj[prop])) {\n nobj[prop] = obj[prop].toJSON()\n } else {\n nobj[prop] = obj[prop]\n }\n }\n return nobj\n}\n\nfunction stringifyObject (prefix, indent, obj) {\n obj = toJSON(obj)\n var inlineKeys\n var complexKeys\n inlineKeys = getInlineKeys(obj)\n complexKeys = getComplexKeys(obj)\n var result = []\n var inlineIndent = indent || ''\n inlineKeys.forEach(key => {\n var type = tomlType(obj[key])\n if (type !== 'undefined' && type !== 'null') {\n result.push(inlineIndent + stringifyKey(key) + ' = ' + stringifyAnyInline(obj[key], true))\n }\n })\n if (result.length > 0) result.push('')\n var complexIndent = prefix && inlineKeys.length > 0 ? indent + ' ' : ''\n complexKeys.forEach(key => {\n result.push(stringifyComplex(prefix, complexIndent, key, obj[key]))\n })\n return result.join('\\n')\n}\n\nfunction isInline (value) {\n switch (tomlType(value)) {\n case 'undefined':\n case 'null':\n case 'integer':\n case 'nan':\n case 'float':\n case 'boolean':\n case 'string':\n case 'datetime':\n return true\n case 'array':\n return value.length === 0 || tomlType(value[0]) !== 'table'\n case 'table':\n return Object.keys(value).length === 0\n /* istanbul ignore next */\n default:\n return false\n }\n}\n\nfunction tomlType (value) {\n if (value === undefined) {\n return 'undefined'\n } else if (value === null) {\n return 'null'\n /* eslint-disable valid-typeof */\n } else if (typeof value === 'bigint' || (Number.isInteger(value) && !Object.is(value, -0))) {\n return 'integer'\n } else if (typeof value === 'number') {\n return 'float'\n } else if (typeof value === 'boolean') {\n return 'boolean'\n } else if (typeof value === 'string') {\n return 'string'\n } else if ('toISOString' in value) {\n return isNaN(value) ? 'undefined' : 'datetime'\n } else if (Array.isArray(value)) {\n return 'array'\n } else {\n return 'table'\n }\n}\n\nfunction stringifyKey (key) {\n var keyStr = String(key)\n if (/^[-A-Za-z0-9_]+$/.test(keyStr)) {\n return keyStr\n } else {\n return stringifyBasicString(keyStr)\n }\n}\n\nfunction stringifyBasicString (str) {\n return '\"' + escapeString(str).replace(/\"/g, '\\\\\"') + '\"'\n}\n\nfunction stringifyLiteralString (str) {\n return \"'\" + str + \"'\"\n}\n\nfunction numpad (num, str) {\n while (str.length < num) str = '0' + str\n return str\n}\n\nfunction escapeString (str) {\n return str.replace(/\\\\/g, '\\\\\\\\')\n .replace(/[\\b]/g, '\\\\b')\n .replace(/\\t/g, '\\\\t')\n .replace(/\\n/g, '\\\\n')\n .replace(/\\f/g, '\\\\f')\n .replace(/\\r/g, '\\\\r')\n /* eslint-disable no-control-regex */\n .replace(/([\\u0000-\\u001f\\u007f])/, c => '\\\\u' + numpad(4, c.codePointAt(0).toString(16)))\n /* eslint-enable no-control-regex */\n}\n\nfunction stringifyMultilineString (str) {\n let escaped = str.split(/\\n/).map(str => {\n return escapeString(str).replace(/\"(?=\"\")/g, '\\\\\"')\n }).join('\\n')\n if (escaped.slice(-1) === '\"') escaped += '\\\\\\n'\n return '\"\"\"\\n' + escaped + '\"\"\"'\n}\n\nfunction stringifyAnyInline (value, multilineOk) {\n let type = tomlType(value)\n if (type === 'string') {\n if (multilineOk && /\\n/.test(value)) {\n type = 'string-multiline'\n } else if (!/[\\b\\t\\n\\f\\r']/.test(value) && /\"/.test(value)) {\n type = 'string-literal'\n }\n }\n return stringifyInline(value, type)\n}\n\nfunction stringifyInline (value, type) {\n /* istanbul ignore if */\n if (!type) type = tomlType(value)\n switch (type) {\n case 'string-multiline':\n return stringifyMultilineString(value)\n case 'string':\n return stringifyBasicString(value)\n case 'string-literal':\n return stringifyLiteralString(value)\n case 'integer':\n return stringifyInteger(value)\n case 'float':\n return stringifyFloat(value)\n case 'boolean':\n return stringifyBoolean(value)\n case 'datetime':\n return stringifyDatetime(value)\n case 'array':\n return stringifyInlineArray(value.filter(_ => tomlType(_) !== 'null' && tomlType(_) !== 'undefined' && tomlType(_) !== 'nan'))\n case 'table':\n return stringifyInlineTable(value)\n /* istanbul ignore next */\n default:\n throw typeError(type)\n }\n}\n\nfunction stringifyInteger (value) {\n /* eslint-disable security/detect-unsafe-regex */\n return String(value).replace(/\\B(?=(\\d{3})+(?!\\d))/g, '_')\n}\n\nfunction stringifyFloat (value) {\n if (value === Infinity) {\n return 'inf'\n } else if (value === -Infinity) {\n return '-inf'\n } else if (Object.is(value, NaN)) {\n return 'nan'\n } else if (Object.is(value, -0)) {\n return '-0.0'\n }\n var chunks = String(value).split('.')\n var int = chunks[0]\n var dec = chunks[1] || 0\n return stringifyInteger(int) + '.' + dec\n}\n\nfunction stringifyBoolean (value) {\n return String(value)\n}\n\nfunction stringifyDatetime (value) {\n return value.toISOString()\n}\n\nfunction isNumber (type) {\n return type === 'float' || type === 'integer'\n}\nfunction arrayType (values) {\n var contentType = tomlType(values[0])\n if (values.every(_ => tomlType(_) === contentType)) return contentType\n // mixed integer/float, emit as floats\n if (values.every(_ => isNumber(tomlType(_)))) return 'float'\n return 'mixed'\n}\nfunction validateArray (values) {\n const type = arrayType(values)\n if (type === 'mixed') {\n throw arrayOneTypeError()\n }\n return type\n}\n\nfunction stringifyInlineArray (values) {\n values = toJSON(values)\n const type = validateArray(values)\n var result = '['\n var stringified = values.map(_ => stringifyInline(_, type))\n if (stringified.join(', ').length > 60 || /\\n/.test(stringified)) {\n result += '\\n ' + stringified.join(',\\n ') + '\\n'\n } else {\n result += ' ' + stringified.join(', ') + (stringified.length > 0 ? ' ' : '')\n }\n return result + ']'\n}\n\nfunction stringifyInlineTable (value) {\n value = toJSON(value)\n var result = []\n Object.keys(value).forEach(key => {\n result.push(stringifyKey(key) + ' = ' + stringifyAnyInline(value[key], false))\n })\n return '{ ' + result.join(', ') + (result.length > 0 ? ' ' : '') + '}'\n}\n\nfunction stringifyComplex (prefix, indent, key, value) {\n var valueType = tomlType(value)\n /* istanbul ignore else */\n if (valueType === 'array') {\n return stringifyArrayOfTables(prefix, indent, key, value)\n } else if (valueType === 'table') {\n return stringifyComplexTable(prefix, indent, key, value)\n } else {\n throw typeError(valueType)\n }\n}\n\nfunction stringifyArrayOfTables (prefix, indent, key, values) {\n values = toJSON(values)\n validateArray(values)\n var firstValueType = tomlType(values[0])\n /* istanbul ignore if */\n if (firstValueType !== 'table') throw typeError(firstValueType)\n var fullKey = prefix + stringifyKey(key)\n var result = ''\n values.forEach(table => {\n if (result.length > 0) result += '\\n'\n result += indent + '[[' + fullKey + ']]\\n'\n result += stringifyObject(fullKey + '.', indent, table)\n })\n return result\n}\n\nfunction stringifyComplexTable (prefix, indent, key, value) {\n var fullKey = prefix + stringifyKey(key)\n var result = ''\n if (getInlineKeys(value).length > 0) {\n result += indent + '[' + fullKey + ']\\n'\n }\n return result + stringifyObject(fullKey + '.', indent, value)\n}\n","import * as path from 'path';\nimport * as core from '@actions/core';\nimport * as tc from '@actions/tool-cache';\nimport * as exec from '@actions/exec';\nimport {ExecOptions} from '@actions/exec/lib/interfaces';\nimport {IS_WINDOWS, IS_LINUX} from './utils';\n\nconst TOKEN = core.getInput('token');\nconst AUTH = !TOKEN ? undefined : `token ${TOKEN}`;\nconst MANIFEST_REPO_OWNER = 'actions';\nconst MANIFEST_REPO_NAME = 'python-versions';\nconst MANIFEST_REPO_BRANCH = 'main';\nexport const MANIFEST_URL = `https://raw.githubusercontent.com/${MANIFEST_REPO_OWNER}/${MANIFEST_REPO_NAME}/${MANIFEST_REPO_BRANCH}/versions-manifest.json`;\n\nexport async function findReleaseFromManifest(\n semanticVersionSpec: string,\n architecture: string,\n manifest: tc.IToolRelease[] | null\n): Promise {\n if (!manifest) {\n manifest = await getManifest();\n }\n\n const foundRelease = await tc.findFromManifest(\n semanticVersionSpec,\n false,\n manifest,\n architecture\n );\n\n return foundRelease;\n}\n\nexport function getManifest(): Promise {\n core.debug(\n `Getting manifest from ${MANIFEST_REPO_OWNER}/${MANIFEST_REPO_NAME}@${MANIFEST_REPO_BRANCH}`\n );\n return tc.getManifestFromRepo(\n MANIFEST_REPO_OWNER,\n MANIFEST_REPO_NAME,\n AUTH,\n MANIFEST_REPO_BRANCH\n );\n}\n\nasync function installPython(workingDirectory: string) {\n const options: ExecOptions = {\n cwd: workingDirectory,\n env: {\n ...process.env,\n ...(IS_LINUX && {LD_LIBRARY_PATH: path.join(workingDirectory, 'lib')})\n },\n silent: true,\n listeners: {\n stdout: (data: Buffer) => {\n core.info(data.toString().trim());\n },\n stderr: (data: Buffer) => {\n core.error(data.toString().trim());\n }\n }\n };\n\n if (IS_WINDOWS) {\n await exec.exec('powershell', ['./setup.ps1'], options);\n } else {\n await exec.exec('bash', ['./setup.sh'], options);\n }\n}\n\nexport async function installCpythonFromRelease(release: tc.IToolRelease) {\n const downloadUrl = release.files[0].download_url;\n\n core.info(`Download from \"${downloadUrl}\"`);\n let pythonPath = '';\n try {\n pythonPath = await tc.downloadTool(downloadUrl, undefined, AUTH);\n core.info('Extract downloaded archive');\n let pythonExtractedFolder;\n if (IS_WINDOWS) {\n pythonExtractedFolder = await tc.extractZip(pythonPath);\n } else {\n pythonExtractedFolder = await tc.extractTar(pythonPath);\n }\n\n core.info('Execute installation script');\n await installPython(pythonExtractedFolder);\n } catch (err) {\n if (err instanceof tc.HTTPError) {\n // Rate limit?\n if (err.httpStatusCode === 403 || err.httpStatusCode === 429) {\n core.info(\n `Received HTTP status code ${err.httpStatusCode}. This usually indicates the rate limit has been exceeded`\n );\n } else {\n core.info(err.message);\n }\n if (err.stack) {\n core.debug(err.stack);\n }\n }\n throw err;\n }\n}\n",null,null,null,null,"\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst http = require(\"http\");\nconst https = require(\"https\");\nconst pm = require(\"./proxy\");\nlet tunnel;\nvar HttpCodes;\n(function (HttpCodes) {\n HttpCodes[HttpCodes[\"OK\"] = 200] = \"OK\";\n HttpCodes[HttpCodes[\"MultipleChoices\"] = 300] = \"MultipleChoices\";\n HttpCodes[HttpCodes[\"MovedPermanently\"] = 301] = \"MovedPermanently\";\n HttpCodes[HttpCodes[\"ResourceMoved\"] = 302] = \"ResourceMoved\";\n HttpCodes[HttpCodes[\"SeeOther\"] = 303] = \"SeeOther\";\n HttpCodes[HttpCodes[\"NotModified\"] = 304] = \"NotModified\";\n HttpCodes[HttpCodes[\"UseProxy\"] = 305] = \"UseProxy\";\n HttpCodes[HttpCodes[\"SwitchProxy\"] = 306] = \"SwitchProxy\";\n HttpCodes[HttpCodes[\"TemporaryRedirect\"] = 307] = \"TemporaryRedirect\";\n HttpCodes[HttpCodes[\"PermanentRedirect\"] = 308] = \"PermanentRedirect\";\n HttpCodes[HttpCodes[\"BadRequest\"] = 400] = \"BadRequest\";\n HttpCodes[HttpCodes[\"Unauthorized\"] = 401] = \"Unauthorized\";\n HttpCodes[HttpCodes[\"PaymentRequired\"] = 402] = \"PaymentRequired\";\n HttpCodes[HttpCodes[\"Forbidden\"] = 403] = \"Forbidden\";\n HttpCodes[HttpCodes[\"NotFound\"] = 404] = \"NotFound\";\n HttpCodes[HttpCodes[\"MethodNotAllowed\"] = 405] = \"MethodNotAllowed\";\n HttpCodes[HttpCodes[\"NotAcceptable\"] = 406] = \"NotAcceptable\";\n HttpCodes[HttpCodes[\"ProxyAuthenticationRequired\"] = 407] = \"ProxyAuthenticationRequired\";\n HttpCodes[HttpCodes[\"RequestTimeout\"] = 408] = \"RequestTimeout\";\n HttpCodes[HttpCodes[\"Conflict\"] = 409] = \"Conflict\";\n HttpCodes[HttpCodes[\"Gone\"] = 410] = \"Gone\";\n HttpCodes[HttpCodes[\"TooManyRequests\"] = 429] = \"TooManyRequests\";\n HttpCodes[HttpCodes[\"InternalServerError\"] = 500] = \"InternalServerError\";\n HttpCodes[HttpCodes[\"NotImplemented\"] = 501] = \"NotImplemented\";\n HttpCodes[HttpCodes[\"BadGateway\"] = 502] = \"BadGateway\";\n HttpCodes[HttpCodes[\"ServiceUnavailable\"] = 503] = \"ServiceUnavailable\";\n HttpCodes[HttpCodes[\"GatewayTimeout\"] = 504] = \"GatewayTimeout\";\n})(HttpCodes = exports.HttpCodes || (exports.HttpCodes = {}));\nvar Headers;\n(function (Headers) {\n Headers[\"Accept\"] = \"accept\";\n Headers[\"ContentType\"] = \"content-type\";\n})(Headers = exports.Headers || (exports.Headers = {}));\nvar MediaTypes;\n(function (MediaTypes) {\n MediaTypes[\"ApplicationJson\"] = \"application/json\";\n})(MediaTypes = exports.MediaTypes || (exports.MediaTypes = {}));\n/**\n * Returns the proxy URL, depending upon the supplied url and proxy environment variables.\n * @param serverUrl The server URL where the request will be sent. For example, https://api.github.com\n */\nfunction getProxyUrl(serverUrl) {\n let proxyUrl = pm.getProxyUrl(new URL(serverUrl));\n return proxyUrl ? proxyUrl.href : '';\n}\nexports.getProxyUrl = getProxyUrl;\nconst HttpRedirectCodes = [\n HttpCodes.MovedPermanently,\n HttpCodes.ResourceMoved,\n HttpCodes.SeeOther,\n HttpCodes.TemporaryRedirect,\n HttpCodes.PermanentRedirect\n];\nconst HttpResponseRetryCodes = [\n HttpCodes.BadGateway,\n HttpCodes.ServiceUnavailable,\n HttpCodes.GatewayTimeout\n];\nconst RetryableHttpVerbs = ['OPTIONS', 'GET', 'DELETE', 'HEAD'];\nconst ExponentialBackoffCeiling = 10;\nconst ExponentialBackoffTimeSlice = 5;\nclass HttpClientError extends Error {\n constructor(message, statusCode) {\n super(message);\n this.name = 'HttpClientError';\n this.statusCode = statusCode;\n Object.setPrototypeOf(this, HttpClientError.prototype);\n }\n}\nexports.HttpClientError = HttpClientError;\nclass HttpClientResponse {\n constructor(message) {\n this.message = message;\n }\n readBody() {\n return new Promise(async (resolve, reject) => {\n let output = Buffer.alloc(0);\n this.message.on('data', (chunk) => {\n output = Buffer.concat([output, chunk]);\n });\n this.message.on('end', () => {\n resolve(output.toString());\n });\n });\n }\n}\nexports.HttpClientResponse = HttpClientResponse;\nfunction isHttps(requestUrl) {\n let parsedUrl = new URL(requestUrl);\n return parsedUrl.protocol === 'https:';\n}\nexports.isHttps = isHttps;\nclass HttpClient {\n constructor(userAgent, handlers, requestOptions) {\n this._ignoreSslError = false;\n this._allowRedirects = true;\n this._allowRedirectDowngrade = false;\n this._maxRedirects = 50;\n this._allowRetries = false;\n this._maxRetries = 1;\n this._keepAlive = false;\n this._disposed = false;\n this.userAgent = userAgent;\n this.handlers = handlers || [];\n this.requestOptions = requestOptions;\n if (requestOptions) {\n if (requestOptions.ignoreSslError != null) {\n this._ignoreSslError = requestOptions.ignoreSslError;\n }\n this._socketTimeout = requestOptions.socketTimeout;\n if (requestOptions.allowRedirects != null) {\n this._allowRedirects = requestOptions.allowRedirects;\n }\n if (requestOptions.allowRedirectDowngrade != null) {\n this._allowRedirectDowngrade = requestOptions.allowRedirectDowngrade;\n }\n if (requestOptions.maxRedirects != null) {\n this._maxRedirects = Math.max(requestOptions.maxRedirects, 0);\n }\n if (requestOptions.keepAlive != null) {\n this._keepAlive = requestOptions.keepAlive;\n }\n if (requestOptions.allowRetries != null) {\n this._allowRetries = requestOptions.allowRetries;\n }\n if (requestOptions.maxRetries != null) {\n this._maxRetries = requestOptions.maxRetries;\n }\n }\n }\n options(requestUrl, additionalHeaders) {\n return this.request('OPTIONS', requestUrl, null, additionalHeaders || {});\n }\n get(requestUrl, additionalHeaders) {\n return this.request('GET', requestUrl, null, additionalHeaders || {});\n }\n del(requestUrl, additionalHeaders) {\n return this.request('DELETE', requestUrl, null, additionalHeaders || {});\n }\n post(requestUrl, data, additionalHeaders) {\n return this.request('POST', requestUrl, data, additionalHeaders || {});\n }\n patch(requestUrl, data, additionalHeaders) {\n return this.request('PATCH', requestUrl, data, additionalHeaders || {});\n }\n put(requestUrl, data, additionalHeaders) {\n return this.request('PUT', requestUrl, data, additionalHeaders || {});\n }\n head(requestUrl, additionalHeaders) {\n return this.request('HEAD', requestUrl, null, additionalHeaders || {});\n }\n sendStream(verb, requestUrl, stream, additionalHeaders) {\n return this.request(verb, requestUrl, stream, additionalHeaders);\n }\n /**\n * Gets a typed object from an endpoint\n * Be aware that not found returns a null. Other errors (4xx, 5xx) reject the promise\n */\n async getJson(requestUrl, additionalHeaders = {}) {\n additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson);\n let res = await this.get(requestUrl, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n }\n async postJson(requestUrl, obj, additionalHeaders = {}) {\n let data = JSON.stringify(obj, null, 2);\n additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson);\n additionalHeaders[Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.ContentType, MediaTypes.ApplicationJson);\n let res = await this.post(requestUrl, data, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n }\n async putJson(requestUrl, obj, additionalHeaders = {}) {\n let data = JSON.stringify(obj, null, 2);\n additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson);\n additionalHeaders[Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.ContentType, MediaTypes.ApplicationJson);\n let res = await this.put(requestUrl, data, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n }\n async patchJson(requestUrl, obj, additionalHeaders = {}) {\n let data = JSON.stringify(obj, null, 2);\n additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson);\n additionalHeaders[Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.ContentType, MediaTypes.ApplicationJson);\n let res = await this.patch(requestUrl, data, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n }\n /**\n * Makes a raw http request.\n * All other methods such as get, post, patch, and request ultimately call this.\n * Prefer get, del, post and patch\n */\n async request(verb, requestUrl, data, headers) {\n if (this._disposed) {\n throw new Error('Client has already been disposed.');\n }\n let parsedUrl = new URL(requestUrl);\n let info = this._prepareRequest(verb, parsedUrl, headers);\n // Only perform retries on reads since writes may not be idempotent.\n let maxTries = this._allowRetries && RetryableHttpVerbs.indexOf(verb) != -1\n ? this._maxRetries + 1\n : 1;\n let numTries = 0;\n let response;\n while (numTries < maxTries) {\n response = await this.requestRaw(info, data);\n // Check if it's an authentication challenge\n if (response &&\n response.message &&\n response.message.statusCode === HttpCodes.Unauthorized) {\n let authenticationHandler;\n for (let i = 0; i < this.handlers.length; i++) {\n if (this.handlers[i].canHandleAuthentication(response)) {\n authenticationHandler = this.handlers[i];\n break;\n }\n }\n if (authenticationHandler) {\n return authenticationHandler.handleAuthentication(this, info, data);\n }\n else {\n // We have received an unauthorized response but have no handlers to handle it.\n // Let the response return to the caller.\n return response;\n }\n }\n let redirectsRemaining = this._maxRedirects;\n while (HttpRedirectCodes.indexOf(response.message.statusCode) != -1 &&\n this._allowRedirects &&\n redirectsRemaining > 0) {\n const redirectUrl = response.message.headers['location'];\n if (!redirectUrl) {\n // if there's no location to redirect to, we won't\n break;\n }\n let parsedRedirectUrl = new URL(redirectUrl);\n if (parsedUrl.protocol == 'https:' &&\n parsedUrl.protocol != parsedRedirectUrl.protocol &&\n !this._allowRedirectDowngrade) {\n throw new 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.');\n }\n // we need to finish reading the response before reassigning response\n // which will leak the open socket.\n await response.readBody();\n // strip authorization header if redirected to a different hostname\n if (parsedRedirectUrl.hostname !== parsedUrl.hostname) {\n for (let header in headers) {\n // header names are case insensitive\n if (header.toLowerCase() === 'authorization') {\n delete headers[header];\n }\n }\n }\n // let's make the request with the new redirectUrl\n info = this._prepareRequest(verb, parsedRedirectUrl, headers);\n response = await this.requestRaw(info, data);\n redirectsRemaining--;\n }\n if (HttpResponseRetryCodes.indexOf(response.message.statusCode) == -1) {\n // If not a retry code, return immediately instead of retrying\n return response;\n }\n numTries += 1;\n if (numTries < maxTries) {\n await response.readBody();\n await this._performExponentialBackoff(numTries);\n }\n }\n return response;\n }\n /**\n * Needs to be called if keepAlive is set to true in request options.\n */\n dispose() {\n if (this._agent) {\n this._agent.destroy();\n }\n this._disposed = true;\n }\n /**\n * Raw request.\n * @param info\n * @param data\n */\n requestRaw(info, data) {\n return new Promise((resolve, reject) => {\n let callbackForResult = function (err, res) {\n if (err) {\n reject(err);\n }\n resolve(res);\n };\n this.requestRawWithCallback(info, data, callbackForResult);\n });\n }\n /**\n * Raw request with callback.\n * @param info\n * @param data\n * @param onResult\n */\n requestRawWithCallback(info, data, onResult) {\n let socket;\n if (typeof data === 'string') {\n info.options.headers['Content-Length'] = Buffer.byteLength(data, 'utf8');\n }\n let callbackCalled = false;\n let handleResult = (err, res) => {\n if (!callbackCalled) {\n callbackCalled = true;\n onResult(err, res);\n }\n };\n let req = info.httpModule.request(info.options, (msg) => {\n let res = new HttpClientResponse(msg);\n handleResult(null, res);\n });\n req.on('socket', sock => {\n socket = sock;\n });\n // If we ever get disconnected, we want the socket to timeout eventually\n req.setTimeout(this._socketTimeout || 3 * 60000, () => {\n if (socket) {\n socket.end();\n }\n handleResult(new Error('Request timeout: ' + info.options.path), null);\n });\n req.on('error', function (err) {\n // err has statusCode property\n // res should have headers\n handleResult(err, null);\n });\n if (data && typeof data === 'string') {\n req.write(data, 'utf8');\n }\n if (data && typeof data !== 'string') {\n data.on('close', function () {\n req.end();\n });\n data.pipe(req);\n }\n else {\n req.end();\n }\n }\n /**\n * Gets an http agent. This function is useful when you need an http agent that handles\n * routing through a proxy server - depending upon the url and proxy environment variables.\n * @param serverUrl The server URL where the request will be sent. For example, https://api.github.com\n */\n getAgent(serverUrl) {\n let parsedUrl = new URL(serverUrl);\n return this._getAgent(parsedUrl);\n }\n _prepareRequest(method, requestUrl, headers) {\n const info = {};\n info.parsedUrl = requestUrl;\n const usingSsl = info.parsedUrl.protocol === 'https:';\n info.httpModule = usingSsl ? https : http;\n const defaultPort = usingSsl ? 443 : 80;\n info.options = {};\n info.options.host = info.parsedUrl.hostname;\n info.options.port = info.parsedUrl.port\n ? parseInt(info.parsedUrl.port)\n : defaultPort;\n info.options.path =\n (info.parsedUrl.pathname || '') + (info.parsedUrl.search || '');\n info.options.method = method;\n info.options.headers = this._mergeHeaders(headers);\n if (this.userAgent != null) {\n info.options.headers['user-agent'] = this.userAgent;\n }\n info.options.agent = this._getAgent(info.parsedUrl);\n // gives handlers an opportunity to participate\n if (this.handlers) {\n this.handlers.forEach(handler => {\n handler.prepareRequest(info.options);\n });\n }\n return info;\n }\n _mergeHeaders(headers) {\n const lowercaseKeys = obj => Object.keys(obj).reduce((c, k) => ((c[k.toLowerCase()] = obj[k]), c), {});\n if (this.requestOptions && this.requestOptions.headers) {\n return Object.assign({}, lowercaseKeys(this.requestOptions.headers), lowercaseKeys(headers));\n }\n return lowercaseKeys(headers || {});\n }\n _getExistingOrDefaultHeader(additionalHeaders, header, _default) {\n const lowercaseKeys = obj => Object.keys(obj).reduce((c, k) => ((c[k.toLowerCase()] = obj[k]), c), {});\n let clientHeader;\n if (this.requestOptions && this.requestOptions.headers) {\n clientHeader = lowercaseKeys(this.requestOptions.headers)[header];\n }\n return additionalHeaders[header] || clientHeader || _default;\n }\n _getAgent(parsedUrl) {\n let agent;\n let proxyUrl = pm.getProxyUrl(parsedUrl);\n let useProxy = proxyUrl && proxyUrl.hostname;\n if (this._keepAlive && useProxy) {\n agent = this._proxyAgent;\n }\n if (this._keepAlive && !useProxy) {\n agent = this._agent;\n }\n // if agent is already assigned use that agent.\n if (!!agent) {\n return agent;\n }\n const usingSsl = parsedUrl.protocol === 'https:';\n let maxSockets = 100;\n if (!!this.requestOptions) {\n maxSockets = this.requestOptions.maxSockets || http.globalAgent.maxSockets;\n }\n if (useProxy) {\n // If using proxy, need tunnel\n if (!tunnel) {\n tunnel = require('tunnel');\n }\n const agentOptions = {\n maxSockets: maxSockets,\n keepAlive: this._keepAlive,\n proxy: {\n ...((proxyUrl.username || proxyUrl.password) && {\n proxyAuth: `${proxyUrl.username}:${proxyUrl.password}`\n }),\n host: proxyUrl.hostname,\n port: proxyUrl.port\n }\n };\n let tunnelAgent;\n const overHttps = proxyUrl.protocol === 'https:';\n if (usingSsl) {\n tunnelAgent = overHttps ? tunnel.httpsOverHttps : tunnel.httpsOverHttp;\n }\n else {\n tunnelAgent = overHttps ? tunnel.httpOverHttps : tunnel.httpOverHttp;\n }\n agent = tunnelAgent(agentOptions);\n this._proxyAgent = agent;\n }\n // if reusing agent across request and tunneling agent isn't assigned create a new agent\n if (this._keepAlive && !agent) {\n const options = { keepAlive: this._keepAlive, maxSockets: maxSockets };\n agent = usingSsl ? new https.Agent(options) : new http.Agent(options);\n this._agent = agent;\n }\n // if not using private agent and tunnel agent isn't setup then use global agent\n if (!agent) {\n agent = usingSsl ? https.globalAgent : http.globalAgent;\n }\n if (usingSsl && this._ignoreSslError) {\n // we don't want to set NODE_TLS_REJECT_UNAUTHORIZED=0 since that will affect request for entire process\n // http.RequestOptions doesn't expose a way to modify RequestOptions.agent.options\n // we have to cast it to any and change it directly\n agent.options = Object.assign(agent.options || {}, {\n rejectUnauthorized: false\n });\n }\n return agent;\n }\n _performExponentialBackoff(retryNumber) {\n retryNumber = Math.min(ExponentialBackoffCeiling, retryNumber);\n const ms = ExponentialBackoffTimeSlice * Math.pow(2, retryNumber);\n return new Promise(resolve => setTimeout(() => resolve(), ms));\n }\n static dateTimeDeserializer(key, value) {\n if (typeof value === 'string') {\n let a = new Date(value);\n if (!isNaN(a.valueOf())) {\n return a;\n }\n }\n return value;\n }\n async _processResponse(res, options) {\n return new Promise(async (resolve, reject) => {\n const statusCode = res.message.statusCode;\n const response = {\n statusCode: statusCode,\n result: null,\n headers: {}\n };\n // not found leads to null obj returned\n if (statusCode == HttpCodes.NotFound) {\n resolve(response);\n }\n let obj;\n let contents;\n // get the result from the body\n try {\n contents = await res.readBody();\n if (contents && contents.length > 0) {\n if (options && options.deserializeDates) {\n obj = JSON.parse(contents, HttpClient.dateTimeDeserializer);\n }\n else {\n obj = JSON.parse(contents);\n }\n response.result = obj;\n }\n response.headers = res.message.headers;\n }\n catch (err) {\n // Invalid resource (contents not json); leaving result obj null\n }\n // note that 3xx redirects are handled by the http layer.\n if (statusCode > 299) {\n let msg;\n // if exception/error in body, attempt to get better error\n if (obj && obj.message) {\n msg = obj.message;\n }\n else if (contents && contents.length > 0) {\n // it may be the case that the exception is in the body message as string\n msg = contents;\n }\n else {\n msg = 'Failed request: (' + statusCode + ')';\n }\n let err = new HttpClientError(msg, statusCode);\n err.result = response.result;\n reject(err);\n }\n else {\n resolve(response);\n }\n });\n }\n}\nexports.HttpClient = HttpClient;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nfunction getProxyUrl(reqUrl) {\n let usingSsl = reqUrl.protocol === 'https:';\n let proxyUrl;\n if (checkBypass(reqUrl)) {\n return proxyUrl;\n }\n let proxyVar;\n if (usingSsl) {\n proxyVar = process.env['https_proxy'] || process.env['HTTPS_PROXY'];\n }\n else {\n proxyVar = process.env['http_proxy'] || process.env['HTTP_PROXY'];\n }\n if (proxyVar) {\n proxyUrl = new URL(proxyVar);\n }\n return proxyUrl;\n}\nexports.getProxyUrl = getProxyUrl;\nfunction checkBypass(reqUrl) {\n if (!reqUrl.hostname) {\n return false;\n }\n let noProxy = process.env['no_proxy'] || process.env['NO_PROXY'] || '';\n if (!noProxy) {\n return false;\n }\n // Determine the request port\n let reqPort;\n if (reqUrl.port) {\n reqPort = Number(reqUrl.port);\n }\n else if (reqUrl.protocol === 'http:') {\n reqPort = 80;\n }\n else if (reqUrl.protocol === 'https:') {\n reqPort = 443;\n }\n // Format the request hostname and hostname with port\n let upperReqHosts = [reqUrl.hostname.toUpperCase()];\n if (typeof reqPort === 'number') {\n upperReqHosts.push(`${upperReqHosts[0]}:${reqPort}`);\n }\n // Compare request host against noproxy\n for (let upperNoProxyItem of noProxy\n .split(',')\n .map(x => x.trim().toUpperCase())\n .filter(x => x)) {\n if (upperReqHosts.some(x => x === upperNoProxyItem)) {\n return true;\n }\n }\n return false;\n}\nexports.checkBypass = checkBypass;\n",null,null,"import * as path from 'path';\nimport * as pypyInstall from './install-pypy';\nimport {\n IS_WINDOWS,\n WINDOWS_ARCHS,\n validateVersion,\n getPyPyVersionFromPath,\n readExactPyPyVersionFile,\n validatePythonVersionFormatForPyPy,\n IPyPyManifestRelease\n} from './utils';\n\nimport * as semver from 'semver';\nimport * as core from '@actions/core';\nimport * as tc from '@actions/tool-cache';\n\ninterface IPyPyVersionSpec {\n pypyVersion: string;\n pythonVersion: string;\n}\n\nexport async function findPyPyVersion(\n versionSpec: string,\n architecture: string,\n updateEnvironment: boolean,\n checkLatest: boolean,\n allowPreReleases: boolean\n): Promise<{resolvedPyPyVersion: string; resolvedPythonVersion: string}> {\n let resolvedPyPyVersion = '';\n let resolvedPythonVersion = '';\n let installDir: string | null;\n let releases: IPyPyManifestRelease[] | undefined;\n\n const pypyVersionSpec = parsePyPyVersion(versionSpec);\n\n if (checkLatest) {\n releases = await pypyInstall.getAvailablePyPyVersions();\n if (releases && releases.length > 0) {\n const releaseData = pypyInstall.findRelease(\n releases,\n pypyVersionSpec.pythonVersion,\n pypyVersionSpec.pypyVersion,\n architecture,\n false\n );\n\n if (releaseData) {\n core.info(\n `Resolved as PyPy ${releaseData.resolvedPyPyVersion} with Python (${releaseData.resolvedPythonVersion})`\n );\n pypyVersionSpec.pythonVersion = releaseData.resolvedPythonVersion;\n pypyVersionSpec.pypyVersion = releaseData.resolvedPyPyVersion;\n } else {\n core.info(\n `Failed to resolve PyPy ${pypyVersionSpec.pypyVersion} with Python (${pypyVersionSpec.pythonVersion}) from manifest`\n );\n }\n }\n }\n\n ({installDir, resolvedPythonVersion, resolvedPyPyVersion} = findPyPyToolCache(\n pypyVersionSpec.pythonVersion,\n pypyVersionSpec.pypyVersion,\n architecture\n ));\n\n if (!installDir) {\n ({installDir, resolvedPythonVersion, resolvedPyPyVersion} =\n await pypyInstall.installPyPy(\n pypyVersionSpec.pypyVersion,\n pypyVersionSpec.pythonVersion,\n architecture,\n allowPreReleases,\n releases\n ));\n }\n\n const pipDir = IS_WINDOWS ? 'Scripts' : 'bin';\n const _binDir = path.join(installDir, pipDir);\n const binaryExtension = IS_WINDOWS ? '.exe' : '';\n const pythonPath = path.join(\n IS_WINDOWS ? installDir : _binDir,\n `python${binaryExtension}`\n );\n const pythonLocation = pypyInstall.getPyPyBinaryPath(installDir);\n if (updateEnvironment) {\n core.exportVariable('pythonLocation', installDir);\n // https://cmake.org/cmake/help/latest/module/FindPython.html#module:FindPython\n core.exportVariable('Python_ROOT_DIR', installDir);\n // https://cmake.org/cmake/help/latest/module/FindPython2.html#module:FindPython2\n core.exportVariable('Python2_ROOT_DIR', installDir);\n // https://cmake.org/cmake/help/latest/module/FindPython3.html#module:FindPython3\n core.exportVariable('Python3_ROOT_DIR', installDir);\n core.exportVariable('PKG_CONFIG_PATH', pythonLocation + '/lib/pkgconfig');\n core.addPath(pythonLocation);\n core.addPath(_binDir);\n }\n core.setOutput('python-version', 'pypy' + resolvedPyPyVersion);\n core.setOutput('python-path', pythonPath);\n\n return {resolvedPyPyVersion, resolvedPythonVersion};\n}\n\nexport function findPyPyToolCache(\n pythonVersion: string,\n pypyVersion: string,\n architecture: string\n) {\n let resolvedPyPyVersion = '';\n let resolvedPythonVersion = '';\n let installDir: string | null = IS_WINDOWS\n ? findPyPyInstallDirForWindows(pythonVersion)\n : tc.find('PyPy', pythonVersion, architecture);\n\n if (installDir) {\n // 'tc.find' finds tool based on Python version but we also need to check\n // whether PyPy version satisfies requested version.\n resolvedPythonVersion = getPyPyVersionFromPath(installDir);\n resolvedPyPyVersion = readExactPyPyVersionFile(installDir);\n\n const isPyPyVersionSatisfies = semver.satisfies(\n resolvedPyPyVersion,\n pypyVersion\n );\n if (!isPyPyVersionSatisfies) {\n installDir = null;\n resolvedPyPyVersion = '';\n resolvedPythonVersion = '';\n }\n }\n\n if (!installDir) {\n core.info(\n `PyPy version ${pythonVersion} (${pypyVersion}) was not found in the local cache`\n );\n }\n\n return {installDir, resolvedPythonVersion, resolvedPyPyVersion};\n}\n\nexport function parsePyPyVersion(versionSpec: string): IPyPyVersionSpec {\n const versions = versionSpec.split('-').filter(item => !!item);\n\n if (/^(pypy)(.+)/.test(versions[0])) {\n const pythonVersion = versions[0].replace('pypy', '');\n versions.splice(0, 1, 'pypy', pythonVersion);\n }\n\n if (versions.length < 2 || versions[0] != 'pypy') {\n throw new Error(\n \"Invalid 'version' property for PyPy. PyPy version should be specified as 'pypy' or 'pypy-'. See README for examples and documentation.\"\n );\n }\n\n const pythonVersion = versions[1];\n let pypyVersion: string;\n if (versions.length > 2) {\n pypyVersion = pypyInstall.pypyVersionToSemantic(versions[2]);\n } else {\n pypyVersion = 'x';\n }\n\n if (!validateVersion(pythonVersion) || !validateVersion(pypyVersion)) {\n throw new Error(\n \"Invalid 'version' property for PyPy. Both Python version and PyPy versions should satisfy SemVer notation. See README for examples and documentation.\"\n );\n }\n\n if (!validatePythonVersionFormatForPyPy(pythonVersion)) {\n throw new Error(\n \"Invalid format of Python version for PyPy. Python version should be specified in format 'x.y'. See README for examples and documentation.\"\n );\n }\n\n return {\n pypyVersion: pypyVersion,\n pythonVersion: pythonVersion\n };\n}\n\nexport function findPyPyInstallDirForWindows(pythonVersion: string): string {\n let installDir = '';\n\n WINDOWS_ARCHS.forEach(\n architecture =>\n (installDir = installDir || tc.find('PyPy', pythonVersion, architecture))\n );\n\n return installDir;\n}\n","import * as os from 'os';\nimport * as path from 'path';\nimport * as core from '@actions/core';\nimport * as tc from '@actions/tool-cache';\nimport * as semver from 'semver';\nimport * as httpm from '@actions/http-client';\nimport * as exec from '@actions/exec';\nimport fs from 'fs';\n\nimport {\n IS_WINDOWS,\n WINDOWS_PLATFORMS,\n IPyPyManifestRelease,\n createSymlinkInFolder,\n isNightlyKeyword,\n writeExactPyPyVersionFile\n} from './utils';\n\nexport async function installPyPy(\n pypyVersion: string,\n pythonVersion: string,\n architecture: string,\n allowPreReleases: boolean,\n releases: IPyPyManifestRelease[] | undefined\n) {\n let downloadDir;\n\n releases = releases ?? (await getAvailablePyPyVersions());\n\n if (!releases || releases.length === 0) {\n throw new Error('No release was found in PyPy version.json');\n }\n\n let releaseData = findRelease(\n releases,\n pythonVersion,\n pypyVersion,\n architecture,\n false\n );\n\n if (allowPreReleases && (!releaseData || !releaseData.foundAsset)) {\n // check for pre-release\n core.info(\n [\n `Stable PyPy version ${pythonVersion} (${pypyVersion}) with arch ${architecture} not found`,\n `Trying pre-release versions`\n ].join(os.EOL)\n );\n releaseData = findRelease(\n releases,\n pythonVersion,\n pypyVersion,\n architecture,\n true\n );\n }\n\n if (!releaseData || !releaseData.foundAsset) {\n throw new Error(\n `PyPy version ${pythonVersion} (${pypyVersion}) with arch ${architecture} not found`\n );\n }\n\n const {foundAsset, resolvedPythonVersion, resolvedPyPyVersion} = releaseData;\n const downloadUrl = `${foundAsset.download_url}`;\n\n core.info(`Downloading PyPy from \"${downloadUrl}\" ...`);\n\n try {\n const pypyPath = await tc.downloadTool(downloadUrl);\n\n core.info('Extracting downloaded archive...');\n if (IS_WINDOWS) {\n downloadDir = await tc.extractZip(pypyPath);\n } else {\n downloadDir = await tc.extractTar(pypyPath, undefined, 'x');\n }\n\n // root folder in archive can have unpredictable name so just take the first folder\n // downloadDir is unique folder under TEMP and can't contain any other folders\n const archiveName = fs.readdirSync(downloadDir)[0];\n\n const toolDir = path.join(downloadDir, archiveName);\n let installDir = toolDir;\n if (!isNightlyKeyword(resolvedPyPyVersion)) {\n installDir = await tc.cacheDir(\n toolDir,\n 'PyPy',\n resolvedPythonVersion,\n architecture\n );\n }\n\n writeExactPyPyVersionFile(installDir, resolvedPyPyVersion);\n\n const binaryPath = getPyPyBinaryPath(installDir);\n await createPyPySymlink(binaryPath, resolvedPythonVersion);\n await installPip(binaryPath);\n\n return {installDir, resolvedPythonVersion, resolvedPyPyVersion};\n } catch (err) {\n if (err instanceof Error) {\n // Rate limit?\n if (\n err instanceof tc.HTTPError &&\n (err.httpStatusCode === 403 || err.httpStatusCode === 429)\n ) {\n core.info(\n `Received HTTP status code ${err.httpStatusCode}. This usually indicates the rate limit has been exceeded`\n );\n } else {\n core.info(err.message);\n }\n if (err.stack !== undefined) {\n core.debug(err.stack);\n }\n }\n throw err;\n }\n}\n\nexport async function getAvailablePyPyVersions() {\n const url = 'https://downloads.python.org/pypy/versions.json';\n const http: httpm.HttpClient = new httpm.HttpClient('tool-cache');\n\n const response = await http.getJson(url);\n if (!response.result) {\n throw new Error(\n `Unable to retrieve the list of available PyPy versions from '${url}'`\n );\n }\n\n return response.result;\n}\n\nasync function createPyPySymlink(\n pypyBinaryPath: string,\n pythonVersion: string\n) {\n const version = semver.coerce(pythonVersion)!;\n const pythonBinaryPostfix = semver.major(version);\n const pythonMinor = semver.minor(version);\n const pypyBinaryPostfix = pythonBinaryPostfix === 2 ? '' : '3';\n const pypyMajorMinorBinaryPostfix = `${pythonBinaryPostfix}.${pythonMinor}`;\n const binaryExtension = IS_WINDOWS ? '.exe' : '';\n\n core.info('Creating symlinks...');\n createSymlinkInFolder(\n pypyBinaryPath,\n `pypy${pypyBinaryPostfix}${binaryExtension}`,\n `python${pythonBinaryPostfix}${binaryExtension}`,\n true\n );\n\n createSymlinkInFolder(\n pypyBinaryPath,\n `pypy${pypyBinaryPostfix}${binaryExtension}`,\n `python${binaryExtension}`,\n true\n );\n\n createSymlinkInFolder(\n pypyBinaryPath,\n `pypy${pypyBinaryPostfix}${binaryExtension}`,\n `pypy${pypyMajorMinorBinaryPostfix}${binaryExtension}`,\n true\n );\n}\n\nasync function installPip(pythonLocation: string) {\n core.info('Installing and updating pip');\n const pythonBinary = path.join(pythonLocation, 'python');\n await exec.exec(`${pythonBinary} -m ensurepip`);\n\n await exec.exec(\n `${pythonLocation}/python -m pip install --ignore-installed pip`\n );\n}\n\nexport function findRelease(\n releases: IPyPyManifestRelease[],\n pythonVersion: string,\n pypyVersion: string,\n architecture: string,\n includePrerelease: boolean\n) {\n const options = {includePrerelease: includePrerelease};\n const filterReleases = releases.filter(item => {\n const isPythonVersionSatisfied = semver.satisfies(\n semver.coerce(item.python_version)!,\n pythonVersion\n );\n const isPyPyNightly =\n isNightlyKeyword(pypyVersion) && isNightlyKeyword(item.pypy_version);\n const isPyPyVersionSatisfied =\n isPyPyNightly ||\n semver.satisfies(\n pypyVersionToSemantic(item.pypy_version),\n pypyVersion,\n options\n );\n const isArchPresent =\n item.files &&\n (IS_WINDOWS\n ? isArchPresentForWindows(item, architecture)\n : isArchPresentForMacOrLinux(item, architecture, process.platform));\n return isPythonVersionSatisfied && isPyPyVersionSatisfied && isArchPresent;\n });\n\n if (filterReleases.length === 0) {\n return null;\n }\n\n const sortedReleases = filterReleases.sort((previous, current) => {\n return (\n semver.compare(\n semver.coerce(pypyVersionToSemantic(current.pypy_version))!,\n semver.coerce(pypyVersionToSemantic(previous.pypy_version))!\n ) ||\n semver.compare(\n semver.coerce(current.python_version)!,\n semver.coerce(previous.python_version)!\n )\n );\n });\n\n const foundRelease = sortedReleases[0];\n const foundAsset = IS_WINDOWS\n ? findAssetForWindows(foundRelease, architecture)\n : findAssetForMacOrLinux(foundRelease, architecture, process.platform);\n\n return {\n foundAsset,\n resolvedPythonVersion: foundRelease.python_version,\n resolvedPyPyVersion: foundRelease.pypy_version.trim()\n };\n}\n\n/** Get PyPy binary location from the tool of installation directory\n * - On Linux and macOS, the Python interpreter is in 'bin'.\n * - On Windows, it is in the installation root.\n */\nexport function getPyPyBinaryPath(installDir: string) {\n const _binDir = path.join(installDir, 'bin');\n return IS_WINDOWS ? installDir : _binDir;\n}\n\nexport function pypyVersionToSemantic(versionSpec: string) {\n const prereleaseVersion = /(\\d+\\.\\d+\\.\\d+)((?:a|b|rc))(\\d*)/g;\n return versionSpec.replace(prereleaseVersion, '$1-$2.$3');\n}\n\nexport function isArchPresentForWindows(item: any, architecture: string) {\n architecture = replaceX32toX86(architecture);\n return item.files.some(\n (file: any) =>\n WINDOWS_PLATFORMS.includes(file.platform) && file.arch === architecture\n );\n}\n\nexport function isArchPresentForMacOrLinux(\n item: any,\n architecture: string,\n platform: string\n) {\n return item.files.some(\n (file: any) => file.arch === architecture && file.platform === platform\n );\n}\n\nexport function findAssetForWindows(releases: any, architecture: string) {\n architecture = replaceX32toX86(architecture);\n return releases.files.find(\n (item: any) =>\n WINDOWS_PLATFORMS.includes(item.platform) && item.arch === architecture\n );\n}\n\nexport function findAssetForMacOrLinux(\n releases: any,\n architecture: string,\n platform: string\n) {\n return releases.files.find(\n (item: any) => item.arch === architecture && item.platform === platform\n );\n}\n\nfunction replaceX32toX86(architecture: string): string {\n // convert x32 to x86 because os.arch() returns x32 for 32-bit systems but PyPy releases json has x86 arch value.\n if (architecture === 'x32') {\n architecture = 'x86';\n }\n return architecture;\n}\n"],"mappings":"otBCUA,QAAS,CAAAA,EAAcC,CAAmB,EACxC,MAAO,CAAAA,CAAA,CAAYC,UAAA,CAAW,OAChC,EAIO,cAAe,CAAAC,EAAmBF,CAAe,CAAEG,CAAiB,CAAEC,CAAY,EACnFC,CAAA,CAAAC,MAAA,GACFC,OAAA,CAAQC,GAAA,CAAIC,oBAAA,CAAuB,+BADrC,EAIA,GAAM,CAAAC,CAAA,CAAuBH,OAAA,CAAQC,GAAA,CAAIC,oBAAA,EAAsBE,IAAA,GAO/D,GANoC,UAAhC,MAAO,CAAAD,CAAA,EAA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CAChB5mB,CAAC,EACC,GAAA0B,CAAA,CAAAknB,iBAAgB,EAAEllB,QAAA,CAAS1D,CAAA,CAAKqF,QAAA,GAAarF,CAAA,CAAKic,IAAA,GAAS9b,CAAA,CAEjE,EAEO,QAAS,CAAAiC,EACdpC,CAAS,CACTG,CAAoB,CACpBY,CAAgB,EAEhB,MAAO,CAAAf,CAAA,CAAKyC,KAAA,CAAMmkB,IAAA,CAChB5mB,CAAC,EAAcA,CAAA,CAAKic,IAAA,GAAS9b,CAAA,EAAgBH,CAAA,CAAKqF,QAAA,GAAatE,CAAA,CAEnE,EAEO,QAAS,CAAAwB,EAAoBvC,CAAa,CAAEG,CAAoB,EAErE,MADA,CAAAA,CAAA,CAAeiD,CAAA,CAAgBjD,CAAA,EACxBH,CAAA,CAASyC,KAAA,CAAMD,IAAA,CACpBxC,CAAC,EACC,GAAA0B,CAAA,CAAAknB,iBAAgB,EAAEllB,QAAA,CAAS1D,CAAA,CAAKqF,QAAA,GAAarF,CAAA,CAAKic,IAAA,GAAS9b,CAAA,CAEjE,EAEO,QAAS,CAAAgD,EACdnD,CAAa,CACbG,CAAoB,CACpBY,CAAgB,EAEhB,MAAO,CAAAf,CAAA,CAASyC,KAAA,CAAMD,IAAA,CACpBxC,CAAC,EAAcA,CAAA,CAAKic,IAAA,GAAS9b,CAAA,EAAgBH,CAAA,CAAKqF,QAAA,GAAatE,CAAA,CAEnE,EAEA,QAAS,CAAAqC,EAAgBpD,CAAoB,EAK3C,MAHqB,QAAjBA,CAAA,GACFA,CAAA,CAAe,KADjB,EAGOA,CACT,E"} \ No newline at end of file diff --git a/dist/actions/setup-cpp.js b/dist/actions/setup-cpp.js index 59577b6a..8e685b81 100644 --- a/dist/actions/setup-cpp.js +++ b/dist/actions/setup-cpp.js @@ -1,18 +1,18 @@ #!/usr/bin/env node -let e,t,r,n,i,o,s,a;function l(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0});}function c(e){return e&&e.__esModule?e.default:e;}function u(e,t,r){if("function"==typeof t&&(r=t,t={}),!r){if("function"!=typeof Promise)throw TypeError("callback not provided");return new Promise(function(r,n){u(e,t||{},function(e,t){e?n(e):r(t);});});}rI(e,t||{},function(e,n){e&&("EACCES"===e.code||t&&t.ignoreErrors)&&(e=null,n=!1),r(e,n);});}function p(e,t){let r;let n=e.options.env||process.env,i=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){}try{r=rb.sync(e.command,{path:n[r$({env:n})],pathExt:t?ip.delimiter:void 0});}catch(e){}finally{s&&process.chdir(i);}return r&&(r=ip.resolve(o?e.options.cwd:"",r)),r;}function d(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 f(e,t){return iR&&1===e&&!t.file?d(t.original,"spawn"):null;}function h(e,t,r){let n=rT(e,t,r),i=t5.spawn(n.command,n.args,n.options);return rN.hookChildProcess(i,n),i;}async function m(e,t){if(!e)throw Error("Expected a stream");t={maxBuffer:1/0,...t};let{maxBuffer:r}=t,n=r3(t);return await new Promise((t,i)=>{let o=e=>{e&&n.getBufferedLength()<=r2.MAX_LENGTH&&(e.bufferedData=n.getBufferedValue()),i(e);};(async()=>{try{await ot(e,n),t();}catch(e){o(e);}})(),n.on("data",()=>{n.getBufferedLength()>r&&o(new or());});}),n.getBufferedValue();}function g(){return(process.getuid?.()===0||!!process.env.CI)&&null!==c(rb).sync("sudo",{nothrow:!0});}function v(e,t=[],r=oh){return g()?rR.commandSync("sudo "+[e,...t].map(e=>`'${e}'`).join(" "),r):rR.sync(e,t,r);}function E(e,t=[],r=oh){return g()?rR.command("sudo "+[e,...t].map(e=>`'${e}'`).join(" "),r):c(rR)(e,t,r);}async function y(e){if(("linux"===c(rt).platform||"darwin"===c(rt).platform)&&g()&&void 0!==c(rt).env.SUDO_USER){let t=(0,id.statSync)(e).isDirectory();await E("chown",[...(t?["-R"]:[]),c(rt).env.SUDO_USER,e],oh);}}function w(e){return g()&&"string"==typeof process.env.SUDO_USER?"darwin"===process.platform?(0,ip.join)("/Users/",process.env.SUDO_USER,e):(0,ip.join)("/home/",process.env.SUDO_USER,e):c(rx)("~/"+e);}function x(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e));}catch(e){o(e);}}function a(e){try{l(n.throw(e));}catch(e){o(e);}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t);})).then(s,a);}l((n=n.apply(e,t||[])).next());});}function b(e,t){function r(r){return function(l){return function(r){if(n)throw TypeError("Generator is already executing.");for(;s&&(s=0,r[0]&&(a=0)),a;)try{if(n=1,i&&(o=2&r[0]?i.return:r[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,r[1])).done)return o;switch(i=0,o&&(r=[2&r[0],o.value]),r[0]){case 0:case 1:o=r;break;case 4:return a.label++,{value:r[1],done:!1};case 5:a.label++,i=r[1],r=[0];continue;case 7:r=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===r[0]||2===r[0])){a=0;continue;}if(3===r[0]&&(!o||r[1]>o[0]&&r[1]"PATH"===e.toUpperCase())||"Path";}function T({env:e=c(ro).env,...t}={}){e={...e};let r=O({env:e});return t.path=e[r],e[r]=function(e={}){let t;let{cwd:r=c(ro).cwd(),path:n=c(ro).env[O()],execPath:i=c(ro).execPath}=e,o=r instanceof URL?c(rs).fileURLToPath(r):r,s=c(rn).resolve(o),a=[];for(;t!==s;)a.push(c(rn).join(s,"node_modules/.bin")),t=s,s=c(rn).resolve(s,"..");return a.push(c(rn).resolve(o,i,"..")),[...a,n].join(c(rn).delimiter);}(t),e;}function C(e){return null!==e&&"object"==typeof e&&"function"==typeof e.pipe;}function $(e){return C(e)&&!1!==e.writable&&"function"==typeof e._write&&"object"==typeof e._writableState;}function A(e,t,r){let n;let i=sm(e,t,r),o=si(e,t),s=so(e,t);sf(s,i.options),oX(i.options);try{n=c(ri).spawn(i.file,i.args,i.options);}catch(r){let e=new(c(ri).ChildProcess)(),t=Promise.reject(oD({error:r,stdout:"",stderr:"",all:"",command:o,escapedCommand:s,parsed:i,timedOut:!1,isCanceled:!1,killed:!1}));return se(e,t),e;}let a=st(n),l=oz(n,i.options,a),u=oK(n,i.options,l),p={isCanceled:!1};n.kill=oF.bind(null,n.kill.bind(n)),n.cancel=oV.bind(null,n,p);let d=async()=>{let[{error:e,exitCode:t,signal:r,timedOut:a},l,c,d]=await o8(n,i.options,u),f=sg(i.options,l),h=sg(i.options,c),m=sg(i.options,d);if(e||0!==t||null!==r){let l=oD({error:e,exitCode:t,signal:r,stdout:f,stderr:h,all:m,command:o,escapedCommand:s,parsed:i,timedOut:a,isCanceled:p.isCanceled||!!i.options.signal&&i.options.signal.aborted,killed:n.killed});if(!i.options.reject)return l;throw l;}return{command:o,escapedCommand:s,exitCode:0,stdout:f,stderr:h,all:m,failed:!1,timedOut:!1,isCanceled:!1,killed:!1};},f=nT(d);return o4(n,i.options),n.all=o3(n,i.options),oQ(n),se(n,f),n;}function P(t,r=["-NoProfile","-NoLogo","-NonInteractive"],n={stdio:"inherit"}){return A(function(){if(void 0===e){let t=c(rb).sync("pwsh",{nothrow:!0});null!==t&&(e=t);let r=c(rb).sync("powershell",{nothrow:!0});null!==r&&(e=r);}if(void 0===e)throw Error("Could not find powershell");return e;}(),[...r,"-c",t],n);}async function _(e,t,r=sb){let n=function(e,t=!1){let r=t?c(nC)(e):e;return c(n$)(r,'"',"\\");}(t??"",r.shouldEscapeSpace);try{if(rm.GITHUB_ACTIONS)try{if(r.shouldAddOnlyIfNotDefined&&void 0!==process.env[e]){(0,nO.info)(`Environment variable ${e} is already defined. Skipping.`);return;}(0,nO.exportVariable)(e,n);}catch(t){(0,rg.error)(t),await L(e,n,r);}else await L(e,n,r);}catch(t){(0,rg.error)(t),(0,nO.setFailed)(`Failed to export environment variable ${e}=${n}. You should add it manually.`);}}async function N(e){if(!function(e){if(sS.some(t=>t.test(e))){let t=process.env.PATH?.split(ip.delimiter)??[];return t.includes(e);}return!1;}(e)){process.env.PATH=`${e}${ip.delimiter}${process.env.PATH}`;try{if(rm.GITHUB_ACTIONS)try{(0,nO.addPath)(e);}catch(t){(0,rg.error)(t),await k(e);}else await k(e);}catch(t){(0,rg.error)(t),(0,nO.setFailed)(`Failed to add ${e} to the percistent PATH. You should add it manually.`);}}}async function L(e,t,r){let n=t??"";switch(process.platform){case"win32":if(r.shouldAddOnlyIfNotDefined&&void 0!==process.env[e]){(0,nO.info)(`Environment variable ${e} is already defined. Skipping.`);return;}await P(`[Environment]::SetEnvironmentVariable('${e}', '${n}', "User")`),(0,nO.info)(`${e}='${n}' was set in the environment.`);return;case"linux":case"darwin":await D(),r.shouldAddOnlyIfNotDefined?((0,id.appendFileSync)(sI,` +let e,t,r,n,i,o,s,a;function l(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0});}function u(e){return e&&e.__esModule?e.default:e;}function c(e,t,r){if("function"==typeof t&&(r=t,t={}),!r){if("function"!=typeof Promise)throw TypeError("callback not provided");return new Promise(function(r,n){c(e,t||{},function(e,t){e?n(e):r(t);});});}rD(e,t||{},function(e,n){e&&("EACCES"===e.code||t&&t.ignoreErrors)&&(e=null,n=!1),r(e,n);});}function p(e,t){let r;let n=e.options.env||process.env,i=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){}try{r=rN.sync(e.command,{path:n[rU({env:n})],pathExt:t?nX.delimiter:void 0});}catch(e){}finally{s&&process.chdir(i);}return r&&(r=nX.resolve(o?e.options.cwd:"",r)),r;}function d(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 f(e,t){return iF&&1===e&&!t.file?d(t.original,"spawn"):null;}function h(e,t,r){let n=rP(e,t,r),i=t7.spawn(n.command,n.args,n.options);return rG.hookChildProcess(i,n),i;}function m(e){let t="string"==typeof e?"\n":"\n".charCodeAt(),r="string"==typeof e?"\r":"\r".charCodeAt();return e[e.length-1]===t&&(e=e.slice(0,-1)),e[e.length-1]===r&&(e=e.slice(0,-1)),e;}function v(e={}){let{env:t=process.env,platform:r=process.platform}=e;return"win32"!==r?"PATH":Object.keys(t).reverse().find(e=>"PATH"===e.toUpperCase())||"Path";}function g({env:e=u(ro).env,...t}={}){let r=v({env:e={...e}});return t.path=e[r],e[r]=function(e={}){let t;let{cwd:r=u(ro).cwd(),path:n=u(ro).env[v()],execPath:i=u(ro).execPath}=e,o=i instanceof URL?u(rs).fileURLToPath(i):i,s=r instanceof URL?u(rs).fileURLToPath(r):r,a=u(rn).resolve(s),l=[];for(;t!==a;)l.push(u(rn).join(a,"node_modules/.bin")),t=a,a=u(rn).resolve(a,"..");return l.push(u(rn).resolve(s,o,"..")),[...l,n].join(u(rn).delimiter);}(t),e;}function E(e){return null!==e&&"object"==typeof e&&"function"==typeof e.pipe;}function y(e){return E(e)&&!1!==e.writable&&"function"==typeof e._write&&"object"==typeof e._writableState;}async function w(e,t){if(!e)throw Error("Expected a stream");let{maxBuffer:r}=t={maxBuffer:1/0,...t},n=rW(t);return await new Promise((t,i)=>{let o=e=>{e&&n.getBufferedLength()<=rV.MAX_LENGTH&&(e.bufferedData=n.getBufferedValue()),i(e);};(async()=>{try{await o$(e,n),t();}catch(e){o(e);}})(),n.on("data",()=>{n.getBufferedLength()>r&&o(new oA());});}),n.getBufferedValue();}function x(e,t,r){let n;let i=o4(e,t,r),o=oV(e,t),s=oX(e,t);o2(s,i.options),oI(i.options);try{n=u(ri).spawn(i.file,i.args,i.options);}catch(t){let e=new(u(ri).ChildProcess)();return oB(e,Promise.reject(i5({error:t,stdout:"",stderr:"",all:"",command:o,escapedCommand:s,parsed:i,timedOut:!1,isCanceled:!1,killed:!1}))),e;}let a=oH(n),l=oR(n,i.options,a),c=oO(n,i.options,l),p={isCanceled:!1};n.kill=ov.bind(null,n.kill.bind(n)),n.cancel=ox.bind(null,n,p);let d=rB(async()=>{let[{error:e,exitCode:t,signal:r,timedOut:a},l,u,d]=await oM(n,i.options,c),f=o6(i.options,l),h=o6(i.options,u),m=o6(i.options,d);if(e||0!==t||null!==r){let l=i5({error:e,exitCode:t,signal:r,stdout:f,stderr:h,all:m,command:o,escapedCommand:s,parsed:i,timedOut:a,isCanceled:p.isCanceled||!!i.options.signal&&i.options.signal.aborted,killed:n.killed});if(!i.options.reject)return l;throw l;}return{command:o,escapedCommand:s,exitCode:0,stdout:f,stderr:h,all:m,failed:!1,timedOut:!1,isCanceled:!1,killed:!1};});return ok(n,i.options),n.all=oD(n,i.options),oC(n),oB(n,d),n;}function b(e,t,r){let n;let i=o4(e,t,r),o=oV(e,t),s=oX(e,t);o2(s,i.options);let a=oL(i.options);try{n=u(ri).spawnSync(i.file,i.args,{...i.options,input:a});}catch(e){throw i5({error:e,stdout:"",stderr:"",all:"",command:o,escapedCommand:s,parsed:i,timedOut:!1,isCanceled:!1,killed:!1});}let l=o6(i.options,n.stdout,n.error),c=o6(i.options,n.stderr,n.error);if(n.error||0!==n.status||null!==n.signal){let e=i5({stdout:l,stderr:c,error:n.error,signal:n.signal,exitCode:n.status,command:o,escapedCommand:s,parsed:i,timedOut:n.error&&"ETIMEDOUT"===n.error.code,isCanceled:!1,killed:null!==n.signal});if(!i.options.reject)return e;throw e;}return{command:o,escapedCommand:s,exitCode:0,stdout:l,stderr:c,failed:!1,timedOut:!1,isCanceled:!1,killed:!1};}function R(){return(process.getuid?.()===0||!!process.env.CI)&&null!==u(rI).sync("sudo",{nothrow:!0});}function I(e,t=[],r=o7){return R()?function(e,t){let[r,...n]=oW(e);return b(r,n,t);}(S(e,t),r):b(e,T(t),r);}function O(e,t=[],r=o7){return R()?function(e,t){let[r,...n]=oW(e);return x(r,n,t);}(S(e,t),r):x(e,T(t),r);}function S(e,t){return"sudo "+T([e,...t]).join(" ");}function T(e){return e.map(e=>`'${e}'`);}async function C(e){if(("linux"===process.platform||"darwin"===process.platform)&&R()&&void 0!==process.env.SUDO_USER){let t=u(nW).statSync(e).isDirectory();await O("chown",[...(t?["-R"]:[]),process.env.SUDO_USER,e],o7);}}function $(e){return R()&&"string"==typeof process.env.SUDO_USER?"darwin"===process.platform?(0,nX.join)("/Users/",process.env.SUDO_USER,e):(0,nX.join)("/home/",process.env.SUDO_USER,e):function(e){if("string"!=typeof e)throw TypeError("Expected a string, got "+typeof e);return nQ?e.replace(/^~(?=$|\/|\\)/,nQ):e;}("~/"+e);}function A(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e));}catch(e){o(e);}}function a(e){try{l(n.throw(e));}catch(e){o(e);}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t);})).then(s,a);}l((n=n.apply(e,t||[])).next());});}function _(e,t){function r(r){return function(l){return function(r){if(n)throw TypeError("Generator is already executing.");for(;s&&(s=0,r[0]&&(a=0)),a;)try{if(n=1,i&&(o=2&r[0]?i.return:r[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,r[1])).done)return o;switch(i=0,o&&(r=[2&r[0],o.value]),r[0]){case 0:case 1:o=r;break;case 4:return a.label++,{value:r[1],done:!1};case 5:a.label++,i=r[1],r=[0];continue;case 7:r=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===r[0]||2===r[0])){a=0;continue;}if(3===r[0]&&(!o||r[1]>o[0]&&r[1]{let[{error:e,exitCode:t,signal:r,timedOut:a},l,u,d]=await sO(n,i.options,c),f=sq(i.options,l),h=sq(i.options,u),m=sq(i.options,d);if(e||0!==t||null!==r){let l=se({error:e,exitCode:t,signal:r,stdout:f,stderr:h,all:m,command:o,escapedCommand:s,parsed:i,timedOut:a,isCanceled:p.isCanceled||!!i.options.signal&&i.options.signal.aborted,killed:n.killed});if(!i.options.reject)return l;throw l;}return{command:o,escapedCommand:s,exitCode:0,stdout:f,stderr:h,all:m,failed:!1,timedOut:!1,isCanceled:!1,killed:!1};});return sx(n,i.options),n.all=sb(n,i.options),sv(n),sC(n,d),n;}function k(t,r=["-NoProfile","-NoLogo","-NonInteractive"],n={stdio:"inherit"}){return N(function(){if(void 0===e){let t=u(rI).sync("pwsh",{nothrow:!0});null!==t&&(e=t);let r=u(rI).sync("powershell",{nothrow:!0});null!==r&&(e=r);}if(void 0===e)throw Error("Could not find powershell");return e;}(),[...r,"-c",t],n);}async function D(e,t,r=sK){let n=function(e,t=!1){let r=t?u(ns)(e):e;return u(na)(r,'"',"\\");}(t??"",r.shouldEscapeSpace);try{if(rE.GITHUB_ACTIONS)try{if(r.shouldAddOnlyIfNotDefined&&void 0!==process.env[e]){(0,no.info)(`Environment variable ${e} is already defined. Skipping.`);return;}(0,no.exportVariable)(e,n);}catch(t){(0,ry.error)(t),await j(e,n,r);}else await j(e,n,r);}catch(t){(0,ry.error)(t),(0,no.setFailed)(`Failed to export environment variable ${e}=${n}. You should add it manually.`);}}async function U(e){if(!(sJ.some(t=>t.test(e))&&(process.env.PATH?.split(nX.delimiter)??[]).includes(e))){process.env.PATH=`${e}${nX.delimiter}${process.env.PATH}`;try{if(rE.GITHUB_ACTIONS)try{(0,no.addPath)(e);}catch(t){(0,ry.error)(t),await M(e);}else await M(e);}catch(t){(0,ry.error)(t),(0,no.setFailed)(`Failed to add ${e} to the percistent PATH. You should add it manually.`);}}}async function j(e,t,r){let n=t??"";switch(process.platform){case"win32":if(r.shouldAddOnlyIfNotDefined&&void 0!==process.env[e]){(0,no.info)(`Environment variable ${e} is already defined. Skipping.`);return;}await k(`[Environment]::SetEnvironmentVariable('${e}', '${n}', "User")`),(0,no.info)(`${e}='${n}' was set in the environment.`);return;case"linux":case"darwin":await F(),r.shouldAddOnlyIfNotDefined?((0,nW.appendFileSync)(sQ,` if [ -z "\${${e}}" ]; then export ${e}="${n}"; fi -`),(0,nO.info)(`if not defined ${e} then ${e}="${n}" was added to "${sI}`)):((0,id.appendFileSync)(sI,` +`),(0,no.info)(`if not defined ${e} then ${e}="${n}" was added to "${sQ}`)):((0,nW.appendFileSync)(sQ,` export ${e}="${n}" -`),(0,nO.info)(`${e}="${n}" was added to "${sI}`));return;}process.env[e]=n;}async function k(e){switch(process.platform){case"win32":await P(`$USER_PATH=([Environment]::GetEnvironmentVariable("PATH", "User")); [Environment]::SetEnvironmentVariable("PATH", "${e};$USER_PATH", "User")`),(0,nO.info)(`"${e}" was added to the PATH.`);return;case"linux":case"darwin":await D(),(0,id.appendFileSync)(sI,` +`),(0,no.info)(`${e}="${n}" was added to "${sQ}`));return;}process.env[e]=n;}async function M(e){switch(process.platform){case"win32":await k(`$USER_PATH=([Environment]::GetEnvironmentVariable("PATH", "User")); [Environment]::SetEnvironmentVariable("PATH", "${e};$USER_PATH", "User")`),(0,no.info)(`"${e}" was added to the PATH.`);return;case"linux":case"darwin":await F(),(0,nW.appendFileSync)(sQ,` export PATH="${e}:$PATH" -`),(0,nO.info)(`"${e}" was added to "${sI}"`);return;default:return;}}async function D(){if(sR)return;let e="# Automatically Generated by setup-cpp\nexport SOURCE_CPPRC=0";if(await(0,nA.pathExists)(sI)){let t=(0,id.readFileSync)(sI,"utf8");if(t.includes(e))return;}(0,id.appendFileSync)(sI,` +`),(0,no.info)(`"${e}" was added to "${sQ}"`);return;default:return;}}async function F(){if(sZ)return;let e="# Automatically Generated by setup-cpp\nexport SOURCE_CPPRC=0";if((await(0,nl.pathExists)(sQ))&&(0,nW.readFileSync)(sQ,"utf8").includes(e))return;(0,nW.appendFileSync)(sQ,` ${e} -`),(0,nO.info)(`Added ${e} to ${sI}`);let t=` +`),(0,no.info)(`Added ${e} to ${sQ}`);let t=` # source .cpprc if SOURCE_CPPRC is not set to 0 -if [[ "$SOURCE_CPPRC" != 0 && -f "${sI}" ]]; then source "${sI}"; fi -`;try{let e=w(".profile");(0,id.appendFileSync)(e,t),(0,nO.info)(`${t} was added to ${e}`);let r=w(".bashrc");(0,id.appendFileSync)(r,t),(0,nO.info)(`${t} was added to ${r}`);}catch(e){(0,rg.warning)(`Failed to add ${t} to .profile or .bashrc. You should add it manually: ${e}`);}sR=!0;}async function U(){if(await(0,nA.pathExists)(sI)){let e=(0,id.readFileSync)(sI,"utf-8").split("\n"),t=[...new Set(e.reverse())].reverse();(0,id.writeFileSync)(sI,t.join("\n")),await y(sI);}}function j(e,t,r){let n;let i=as(e,t,r),o=s6(e,t),s=s5(e,t);ai(s,i.options),sM(i.options);try{n=c(ri).spawn(i.file,i.args,i.options);}catch(r){let e=new(c(ri).ChildProcess)(),t=Promise.reject(sT({error:r,stdout:"",stderr:"",all:"",command:o,escapedCommand:s,parsed:i,timedOut:!1,isCanceled:!1,killed:!1}));return s1(e,t),e;}let a=s2(n),l=sj(n,i.options,a),u=sF(n,i.options,l),p={isCanceled:!1};n.kill=sP.bind(null,n.kill.bind(n)),n.cancel=sD.bind(null,n,p);let d=async()=>{let[{error:e,exitCode:t,signal:r,timedOut:a},l,c,d]=await sQ(n,i.options,u),f=aa(i.options,l),h=aa(i.options,c),m=aa(i.options,d);if(e||0!==t||null!==r){let l=sT({error:e,exitCode:t,signal:r,stdout:f,stderr:h,all:m,command:o,escapedCommand:s,parsed:i,timedOut:a,isCanceled:p.isCanceled||!!i.options.signal&&i.options.signal.aborted,killed:n.killed});if(!i.options.reject)return l;throw l;}return{command:o,escapedCommand:s,exitCode:0,stdout:f,stderr:h,all:m,failed:!1,timedOut:!1,isCanceled:!1,killed:!1};},f=nT(d);return sX(n,i.options),n.all=sK(n,i.options),sH(n),s1(n,f),n;}function M(e,t,r){let n;let i=as(e,t,r),o=s6(e,t),s=s5(e,t);ai(s,i.options);let a=sW(i.options);try{n=c(ri).spawnSync(i.file,i.args,{...i.options,input:a});}catch(e){throw sT({error:e,stdout:"",stderr:"",all:"",command:o,escapedCommand:s,parsed:i,timedOut:!1,isCanceled:!1,killed:!1});}let l=aa(i.options,n.stdout,n.error),u=aa(i.options,n.stderr,n.error);if(n.error||0!==n.status||null!==n.signal){let e=sT({stdout:l,stderr:u,error:n.error,signal:n.signal,exitCode:n.status,command:o,escapedCommand:s,parsed:i,timedOut:n.error&&"ETIMEDOUT"===n.error.code,isCanceled:!1,killed:null!==n.signal});if(!i.options.reject)return e;throw e;}return{command:o,escapedCommand:s,exitCode:0,stdout:l,stderr:u,failed:!1,timedOut:!1,isCanceled:!1,killed:!1};}async function F(e,t=!1){let r;let n=H()?"nala":"apt-get";for(let{name:t,version:r}of e)(0,rg.info)(`Installing ${t} ${r??""} via ${n}`);process.env.DEBIAN_FRONTEND="noninteractive",(!aE||t)&&(q(n),aE=!0),ay||(await V(n),ay=!0);let i=[...new Set(e.flatMap(e=>e.repositories??[]))];if(0!==i.length){for(let e of i)v("add-apt-repository",["-y",e]);q(n);}let o=await Promise.all(e.map(e=>B(e.name,e.version)));try{v(n,["install","--fix-broken","-y",...o]);}catch(e){if("stderr"in e){let t=e.stderr;aw.some(e=>t.includes(e))&&((0,rg.warning)(`Failed to install packages ${o}. Retrying...`),v(n,["install","--fix-broken","-y",...o]));}else throw e;}return{binDir:"/usr/bin/"};}async function G(e,t){if(void 0!==t&&""!==t){let{stdout:r}=await j("apt-cache",["search","--names-only",`^${(0,nP.default)(e)}-${(0,nP.default)(t)}$`]);if(""!==r.trim())return nU.NameDashVersion;try{let{stdout:r}=await j("apt-cache",["show",`${e}=${t}`]);if(""===r.trim())return nU.NameEqualsVersion;}catch{}}try{let{stdout:t}=await j("apt-cache",["show",e]);if(""!==t.trim())return nU.Name;}catch{}return nU.None;}async function B(e,t){let r=await G(e,t);switch(r){case nU.NameDashVersion:return`${e}-${t}`;case nU.NameEqualsVersion:return`${e}=${t}`;case nU.Name:return e;case nU.None:default:throw Error(`Could not find package ${e} ${t??""}`);}}function H(){return null!==c(n_).sync("nala",{nothrow:!0});}function q(e){v(e,"nala"!==e?["update","-y"]:["update"]);}async function V(e){v(e,["install","--fix-broken","-y","software-properties-common","apt-utils","ca-certificates","gnupg"]);let t=[z(["3B4FE6ACC0B21F32","40976EAF437D05B5"],"setup-cpp-ubuntu-archive.gpg"),z(["1E9377A2BA9EF27F"],"launchpad-toolchain.gpg")];"nala"===e&&t.push(_("LANG","C.UTF-8",{shouldAddOnlyIfNotDefined:!0}),_("LC_ALL","C.UTF-8",{shouldAddOnlyIfNotDefined:!0})),await Promise.all(t);}function W(){v("gpg",["-k"]);}async function z(e,t,r="keyserver.ubuntu.com"){try{let n="/etc/apt/trusted.gpg.d/"+t;return(await(0,nA.pathExists)(n))||(W(),await Promise.all(e.map(async e=>{await E("gpg",["--no-default-keyring","--keyring","gnupg-ring:"+n,"--keyserver",r,"--recv-keys",e]),await E("chmod",["644",n]);}))),n;}catch(e){(0,rg.warning)(`Failed to add apt key via server ${r}: ${e}`);return;}}async function X(e,t){let r="/etc/apt/trusted.gpg.d/"+e;return(await(0,nA.pathExists)(r))||(W(),await F([{name:"curl"},{name:"ca-certificates"}],void 0),await j("curl",["-s",t,"-o","/tmp/"+e]),v("gpg",["--no-default-keyring","--keyring","gnupg-ring:"+r,"--import","/tmp/"+e]),v("chmod",["644",r])),r;}async function K(e,t){return rm.GITHUB_ACTIONS?E("update-alternatives",["--install","/usr/bin/"+e,e,t,"40"]):(await D(),av(sI,` -if [ $UID -eq 0 ]; then update-alternatives --install /usr/bin/${e} ${e} ${t} 40; fi -`));}async function Y(e){try{let{stdout:t}=await j("dpkg",["-l",e]),r=t.split("\n");return r.some(e=>e.startsWith("ii"));}catch{return!1;}}async function J(e,r,n){if(!["darwin","linux"].includes(process.platform))return;if("string"==typeof t)return{binDir:t};let i=c(n_).sync("brew",{nothrow:!0});if(null!==i)return{binDir:t=(0,nj.dirname)(i)};let o=c(ip).join((0,iu.tmpdir)(),"setup-cpp","brew");await(0,nM.mkdirP)(o),M("curl",["-LJO","https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh"],{cwd:o});let s=(0,ip.join)(o,"install.sh");if("linux"===process.platform){let e=(0,id.readFileSync)(s,"utf-8");e.replace("#!/bin/bash","");}return M("/bin/bash",[s],{stdio:"inherit",env:{NONINTERACTIVE:"1"}}),t=Q(),await N(t),{binDir:t};}function Q(){return"linux"===process.platform?"/home/linuxbrew/.linuxbrew/bin/":"/usr/local/bin/";}async function Z(e,t,r=[]){(0,nO.info)(`Installing ${e} ${t??""} via brew`),ax&&null!==c(n_).sync("brew",{nothrow:!0})||(await J("","",process.arch),ax=!0);let n=Q();return M((0,nj.join)(n,"brew"),["install",void 0!==t&&""!==t?`${e}@${t}`:e,...r],{stdio:"inherit"}),{binDir:n};}async function ee(e,t,n){if("win32"!==process.platform)return;if("string"==typeof r)return{binDir:r};let i=c(n_).sync("choco",{nothrow:!0});if(null!==i)return{binDir:r=(0,nj.dirname)(i)};let o="powershell.exe",s=c(n_).sync(`${process.env.SystemRoot}\\System32\\WindowsPowerShell\\v1.0\\powershell.exe`,{nothrow:!0});null!==s&&(o=s),M(o,["-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"});let a=`${process.env.ALLUSERSPROFILE}\\chocolatey\\bin`;await N(a);let l=c(n_).sync("choco",{nothrow:!0});if(r=null!==l?(0,nj.dirname)(l):`${process.env.ChocolateyInstall??"C:/ProgramData/chocolatey"}/bin`,await(0,nA.pathExists)(r))return{binDir:r};}async function et(e,t,r=[]){(0,rg.info)(`Installing ${e} ${t??""} via chocolatey`),ab&&null!==c(n_).sync("choco",{nothrow:!0})||(await ee("","",process.arch),ab=!0);let n=process.env.PATH,i={...process.env};if(delete i.TMP,delete i.TEMP,delete i.Path,i.PATH=n,void 0!==t&&""!==t)M("choco",["install","-y",e,"--version="+t,...r],{env:i,extendEnv:!1,stdio:"inherit"});else try{M("choco",["install","-y",e,...r],{env:i,extendEnv:!1,stdio:"inherit"});}catch(t){if(t.message.includes("exit code 3010"))(0,rg.info)(`${e} might require a reboot for the completion of the installation.`);else throw t;}let o=`${process.env.ChocolateyInstall??"C:/ProgramData/chocolatey"}/bin`;return await N(o),{binDir:o};}function er(){return"linux"===process.platform&&(void 0===o&&(o=null!==c(n_).sync("pacman",{nothrow:!0})),o);}function en(){return"linux"===process.platform&&(void 0===s&&(s=null!==c(n_).sync("dnf",{nothrow:!0})),s);}async function ei(e){for(let{name:t,version:r}of e)(0,rg.info)(`Installing ${t} ${r??""} via dnf`);let t=await Promise.all(e.map(e=>eo(e.name,e.version)));return v("dnf",["-y","install",...t]),{binDir:"/usr/bin/"};}async function eo(e,t){if(void 0!==t&&""!==t){let{stdout:r}=await j("dnf",["search","-q",`${e}-${t}`]);if(""!==r.trim())return`${e}-${t}`;{let{stdout:r}=await j("dnf",["search","-q",`${e}${t}`]);if(""!==r.trim())return`${e}${t}`;(0,rg.warning)(`Failed to install ${e} ${t} via dnf, trying without version`);}}return e;}function es(){return"linux"===process.platform&&(void 0===a&&(a=null!==c(n_).sync("apt-get",{nothrow:!0})),a);}async function ea(e,t,r){switch(process.platform){case"win32":return et("bazelisk",e);case"darwin":return Z("bazelisk",e);case"linux":if(er())throw Error("installing bazel on Arch linux is not supported yet");if(en())return await ei([{name:"dnf-plugins-core"}]),v("dnf",["copr","enable","vbatts/bazel"]),ei([{name:"bazel4"}]);if(es()){let t=await X("bazel-archive-keyring.gpg","https://bazel.build/bazel-release.pub.gpg");return v("bash",["-c",`echo "deb [arch=amd64 signed-by=${t}] https://storage.googleapis.com/bazel-apt stable jdk1.8" | tee /etc/apt/sources.list.d/bazel.list`]),F([{name:"bazel",version:e}],!0);}throw Error("Unsupported linux distribution");default:throw Error("Unsupported platform");}}async function el(e,t,r){(0,rg.info)(`Installing ${e} ${t??""} via pacman`);let n="pacman";if("yay"===r&&null===c(n_).sync("yay",{nothrow:!0}))throw Error(`yay is needed for ${e}, but it is not installed, please install it manually first`);aS||"yay"===r||(v(n,["-Sy","--noconfirm"]),aS=!0),aI||"yay"===r||(v(n,["-S","--noconfirm","base-devel"]),aI=!0);let i=e=>"yay"===r?M(r,["-S","--noconfirm",e]):v(r??n,["-S","--noconfirm",e]);if(void 0!==t&&""!==t){let r=await ec(n,e);if(r.includes(t))try{i(`${e}=${t}`);}catch{i(`${e}${t}`);}else(0,rg.info)(`Failed to install ${e} ${t} via pacman, trying without version`),i(e);}else i(e);return{binDir:"/usr/bin/"};}async function ec(e,t){let r=[];try{let{stdout:n}=await j(e,["-Si",t]);for(let e of n.matchAll(aR))r.push(e[1]);}catch(e){(0,rg.warning)(`Failed to get available versions for ${t}: ${e}`);}return r;}function eu(e,t){let r=[];t=t||aA.arch();let n=aP.join(eg(),e);if(aC.existsSync(n)){let e=aC.readdirSync(n);for(let i of e)if(eh(i)){let e=aP.join(n,i,t||"");aC.existsSync(e)&&aC.existsSync(`${e}.complete`)&&r.push(i);}}return r;}function ep(e){return nV(this,void 0,void 0,function*(){return e||(e=aP.join(ev(),aD.default())),yield aT.mkdirP(e),e;});}function ed(e,t,r){return nV(this,void 0,void 0,function*(){let n=aP.join(eg(),e,aN.clean(t)||t,r||"");aO.debug("destination "+n);let i=`${n}.complete`;return yield aT.rmRF(n),yield aT.rmRF(i),yield aT.mkdirP(n),n;});}function ef(e,t,r){let n=aP.join(eg(),e,aN.clean(t)||t,r||""),i=`${n}.complete`;aC.writeFileSync(i,""),aO.debug("finished caching tool");}function eh(e){let t=aN.clean(e)||"";aO.debug("isExplicit: "+t);let r=null!=aN.valid(t);return aO.debug("explicit? "+r),r;}function em(e,t){let r="";aO.debug(`evaluating ${e.length} versions`),e=e.sort((e,t)=>aN.gt(e,t)?1:-1);for(let n=e.length-1;n>=0;n--){let i=e[n],o=aN.satisfies(i,t);if(o){r=i;break;}}return r?aO.debug("matched: "+r):aO.debug("match not found"),r;}function eg(){let e=process.env.RUNNER_TOOL_CACHE||"";return t4.ok(e,"Expected RUNNER_TOOL_CACHE to be defined"),e;}function ev(){let e=process.env.RUNNER_TEMP||"";return t4.ok(e,"Expected RUNNER_TEMP to be defined"),e;}function eE(e,t){let r=rp[e];return void 0!==r?r:t;}function ey(e,t){if(!e||!t)throw Error("retry-as-promised must be passed a callback and a options set");t="number"==typeof t?{max:t}:t;let r={$current:"$current"in t?t.$current:1,max:t.max,timeout:t.timeout||void 0,match:t.match?Array.isArray(t.match)?t.match:[t.match]:[],backoffBase:void 0===t.backoffBase?100:t.backoffBase,backoffExponent:t.backoffExponent||1.1,report:t.report,name:t.name||e.name||"unknown"};return r.match&&!Array.isArray(r.match)&&(r.match=[r.match]),r.report&&r.report("Trying "+r.name+" #"+r.$current+" at "+new Date().toLocaleTimeString(),r),new Promise(function(t,n){let i,o,s;r.timeout&&(i=setTimeout(function(){o&&clearTimeout(o),n(new aG(r.name+" timed out",s));},r.timeout)),Promise.resolve(e({current:r.$current})).then(t).then(function(){i&&clearTimeout(i),o&&clearTimeout(o);}).catch(function(a){i&&clearTimeout(i),o&&clearTimeout(o),s=a,r.report&&r.report(a&&a.toString()||a,r,a);var l=r.$current(0,nF.downloadTool)(o),{name:o,max:4,backoffBase:2e3,report:e=>(0,rg.info)(e)});aB||((0,rg.info)("Installing extraction dependencies"),"linux"===process.platform&&(er()?await Promise.all([el("unzip"),el("tar"),el("xz")]):en()?await ei([{name:"unzip"},{name:"tar"},{name:"xz"}]):es()&&(await F([{name:"unzip"},{name:"tar"},{name:"xz-utils"}]))),aB=!0),(0,rg.info)(`Extracting ${r} to ${n}`),await u?.(r,n);}catch(r){throw Error(`Failed to download ${e} ${t} ${i} from ${o}: ${r}`);}return(0,rg.info)(`Add ${d} to PATH`),await N(d),rm.GITHUB_ACTIONS&&"string"==typeof process.env.RUNNER_TOOL_CACHE&&(await(0,nF.cacheDir)(n,e,t)),{installDir:p,binDir:d};}function ex(e,t,r){switch(process.platform){case"win32":return et("7zip",e);case"darwin":return Z("p7zip",e);case"linux":if(er())return el("p7zip",e);if(en())return ei([{name:"p7zip",version:e},{name:"p7zip-plugins",version:e}]);if(es())return F([{name:"p7zip-full",version:e}]);throw Error("Unsupported linux distribution");default:throw Error("Unsupported platform");}}async function eb(e,t){return await j(await eS(),["x",e,"-o"+t,"-y"],{stdio:"inherit"}),await y(t),t;}async function eS(){return void 0===n&&(null===c(n_).sync("7z",{nothrow:!0})&&(await ex("","",process.arch)),n="7z"),n;}function eI(e,t){return eb(e,t);}function eR(e,t){return eb(e,t);}async function eO(e,t,r=["--strip-components=0"]){try{await(0,nM.mkdirP)(t);}catch{}try{await j("tar",["xf",e,"-C",t,...r],{stdio:"inherit"});}catch(r){"win32"===process.platform&&r.message.includes("Can't create '\\\\?\\C:")&&(0,rg.warning)(`Failed to extract symlink ${e} to ${t}. Ignoring this symlink.`);}return y(t),t;}function eT(e,t,r){let n=c(n0)(e)??e;switch(t){case"win32":{let t;let i=c(nZ)(n,"v3.19.6");t=["ia32","x86","i386","x32"].includes(r)?i?"win32-x86":"windows-i386":i?"win64-x64":"windows-x86_64";let o=`cmake-${e}-${t}`;return{binRelativeDir:"bin/",binFileName:(0,nj.addExeExt)("cmake"),extractedFolderName:o,extractFunction:eR,url:`https://github.com/Kitware/CMake/releases/download/v${e}/${o}.zip`};}case"darwin":{let t=c(nZ)(n,"v3.19.1"),r=`cmake-${e}-${t?"Darwin-x86_64":"macos-universal"}`;return{binRelativeDir:"CMake.app/Contents/bin/",binFileName:(0,nj.addExeExt)("cmake"),extractedFolderName:r,extractFunction:nF.extractTar,url:`https://github.com/Kitware/CMake/releases/download/v${e}/${r}.tar.gz`};}case"linux":{let t;let i=c(nZ)(n,"v3.19.8");t=["aarch64"].includes(r)?i?"Linux-aarch64":"linux-aarch64":i?"Linux-x86_64":"linux-x86_64";let o=`cmake-${e}-${t}`;return{binRelativeDir:"bin/",binFileName:(0,nj.addExeExt)("cmake"),extractedFolderName:o,extractFunction:nF.extractTar,url:`https://github.com/Kitware/CMake/releases/download/v${e}/${o}.tar.gz`};}default:throw Error(`Unsupported platform '${t}'`);}}function eC(e,t,r){return ew("cmake",e,eT,t,r);}function e$(e){var t=e.length;return t?1===t?[e[0]]:2===t?[e[0],e[1]]:3===t?[e[0],e[1],e[2]]:n4.call(e,0):[];}function eA(e,t){return e===t||e!=e&&t!=t;}function eP(e,t){var r={};for(var n in e)r[n]=e[n];for(var n in t)r[n]=t[n];return r;}function e_(e,t){if(void 0===t&&(t={}),"function"==typeof e&&e.isMemoized)return e_(e.fn,eP(e.options,t));if("function"!=typeof e)throw TypeError("You must pass a function to `memoize`.");var r=t.isEqual,n=t.isMatchingKey,i=t.isPromise,o=void 0!==i&&i,s=t.maxSize,a=t.onCacheAdd,l=t.onCacheChange,c=t.onCacheHit,u=t.transformKey,p=eP({isEqual:void 0===r?eA:r,isMatchingKey:n,isPromise:o,maxSize:void 0===s?1:s,onCacheAdd:a,onCacheChange:l,onCacheHit:c,transformKey:u},function(e){var t={};for(var r in e)n2[r]||(t[r]=e[r]);return t;}(t)),d=new n3(p),f=d.keys,h=d.values,m=d.canTransformKey,g=d.shouldCloneArguments,v=d.shouldUpdateOnAdd,E=d.shouldUpdateOnChange,y=d.shouldUpdateOnHit,w=function(){var t=g?e$(arguments):arguments;m&&(t=u(t));var r=f.length?d.getKeyIndex(t):-1;if(-1!==r)y&&c(d,p,w),r&&(d.orderByLru(f[r],h[r],r),E&&l(d,p,w));else{var n=e.apply(this,arguments),i=g?t:e$(arguments);d.orderByLru(i,n,f.length),o&&d.updateAsyncCache(w),v&&a(d,p,w),E&&l(d,p,w);}return h[0];};return w.cache=d,w.fn=e,w.isMemoized=!0,w.options=p,w;}function eN(e,t){return new Promise(r=>{try{let n=(0,ig.request)(e,{method:t},e=>{r(void 0!==e.statusCode&&e.statusCode>=200&&e.statusCode<=399);});n.on("error",e=>{r(!1);}),n.end();}catch{r(!1);}});}function eL(e,t){return Array.from(e).filter(e=>/^\d+\.\d+\.\d+$/.test(e)&&e.startsWith(t)).sort((e,t)=>{try{return c(n8)(e,t);}catch(r){return e.localeCompare(t);}}).reverse();}async function ek(e,t,r,n){if("linux"===t&&r.includes("ubuntu")){let e=await n(t,r);if(null!==e&&(await n5(e)))return[r,e];}if(!e.has(r))throw Error(`Unsupported target! (platform='${t}', version='${r}'). Try one of the following: ${JSON.stringify(e)}`);let i=[];for(let o of eL(e,r)){let e=await n(t,o);if(null!==e){if(await n5(e))return[o,e];i.push(e);}}throw Error(`Unsupported target! (platform='${t}', version='${r}'). Try one of the following: ${JSON.stringify(e)}`);}async function eD(e,t=aH){try{let r=await(0,nz.getExecOutput)(e,["--version"]),n=r.stdout||r.stderr||"",i=n.trim().match(t)?.[1];return c(n0)(i)??void 0;}catch(e){console.error(e);return;}}async function eU(e,t,r=aH){let n=await eD(e,r);return void 0!==n&&""!==t&&-1!==c(n8)(n,t);}function ej(){switch(process.platform){case"win32":return"17.0.4";case"linux":return"17.0.5-ubuntu-22.04";case"darwin":return"15.0.3";default:return"17.0.5";}}async function eM(e,t,r){let n=await eB(e,t,r);c(t4)(void 0!==n.bin);let i=n.bin,o=await eW(i);if(void 0===o)throw Error("pip was not installed correctly");return await eF(i),await eG(i),n;}async function eF(e){try{(await e6(e))||(await e3(e,"pipx",void 0,{upgrade:!0,usePipx:!1})),await j(e,["-m","pipx","ensurepath"],{stdio:"inherit"}),await e3(e,"venv",void 0,{upgrade:!1,usePipx:!1});}catch(e){(0,rg.warning)(`Failed to install pipx: ${e.toString()}. Ignoring...`);}}async function eG(e){try{await e3(e,"setuptools",void 0,{upgrade:!0,isLibrary:!0,usePipx:!1}),await e3(e,"wheel",void 0,{upgrade:!0,isLibrary:!0,usePipx:!1});}catch(e){(0,rg.warning)(`Failed to install setuptools or wheel: ${e.toString()}. Ignoring...`);}}async function eB(e,t,r){let n;let i=await eq(t);if(void 0!==i){let e=(0,nj.dirname)(i);n={bin:i,installDir:e,binDir:e};}else{if(rm.GITHUB_ACTIONS)try{(0,rg.info)("Installing python in GitHub Actions");let{setupActionsPython:o}=await rh("7wakU");await o(e,t,r),i=await eq(t);let s=(0,nj.dirname)(i);n={bin:i,installDir:s,binDir:s};}catch(e){(0,rg.warning)(e.toString());}void 0===n&&(n=await eH(t,e));}return(void 0===i||void 0===n.bin)&&(i=await eq(t),n.bin=i),n;}async function eH(e,t){let r;switch(process.platform){case"win32":{e?await et("python3",t,["--params=/InstallDir:"+e]):await et("python3",t);let n=await eq(e),i=(0,nj.dirname)(n);await N(i),r={installDir:i,binDir:i,bin:n};break;}case"darwin":{r=await Z("python3",t);let e=await j("brew",["--prefix","python"],{stdio:"pipe"}),n=(0,nj.join)(e.stdout,"libexec","bin");await N(n);break;}case"linux":if(er())r=await el("python",t);else if(en())r=await ei([{name:"python3",version:t}]);else if(es())r=await F([{name:"python3",version:t},{name:"python-is-python3"}]);else throw Error("Unsupported linux distributions");break;default:throw Error("Unsupported platform");}return r;}async function eq(e){for(let t of["python3","python"]){let r=await eV(t,e);if(void 0!==r)return r;}}async function eV(e,t){try{if(void 0!==t){let r=(0,nj.join)(t,(0,nj.addExeExt)(e));if((await(0,nA.pathExists)(r))&&(await eU(r,aV.python)))return r;}let r=(await c(n_)(e,{nothrow:!0,all:!0}))??[];for(let e of r)if(await eU(e,aV.python))return e;}catch{}}async function eW(e){let t=await ez();return void 0===t?((0,rg.info)("pip was not found. Installing pip"),await eK(e),ez()):t;}async function ez(){for(let e of["pip3","pip"]){let t=await eX(e);if(void 0!==t)return t;}}async function eX(e){try{let t=(await c(n_)(e,{nothrow:!0,all:!0}))??[];for(let e of t)if(null!==e&&(await eU(e,aV.pip)))return e;}catch{}}async function eK(e){let t=await eY(e);t||(await e9("pip"),await eY(e));}async function eY(e){try{return await j(e,["-m","ensurepip","-U","--upgrade"],{stdio:"inherit"}),!0;}catch(t){(0,rg.info)(t?.toString?.());try{return await j(e,["-m","pip","install","--upgrade","pip"],{stdio:"inherit"}),!0;}catch(e){(0,rg.info)(e?.toString?.());}}return!1;}async function eJ(e){let t=[];"linux"===process.platform?t.push("/home/runner/.local/bin/"):"darwin"===process.platform&&t.push("/usr/local/bin/");let r=(await(0,nz.getExecOutput)(`${e} -c "import sys;print(sys.base_exec_prefix);"`)).stdout.trim();return t.push((0,nj.join)(r,"Scripts"),(0,nj.join)(r,"Scripts","bin"),(0,nj.join)(r,"bin")),[...new Set(t)];}function eQ(e,t,r=null){return eZ(t)&&"linux"===process.platform&&null!==r&&e in aW?function(e,t){let r=e[0],n=Object.keys(t).map(e=>parseInt(e,10)).sort((e,t)=>t-e).find(e=>r>=e);return void 0===n?"":t[n];}(r,aW[e]):eZ(t)&&e in aq?aq[e]:"true"===t?"":t??"";}function eZ(e){return"true"===e||void 0===e;}async function e0(){var e,t;if("linux"!==process.platform)return[];let r=await(e="lsb_release",t=["-a"],new Promise((r,n)=>{t5.execFile(e,t,{encoding:"utf8",shell:!1},(i,o,s)=>{if(i){if("errno"in i&&"ENOENT"===i.code){r(null);return;}n(Error(`Could not execute \`${e} ${t.join(" ")}\`: ${i} (stderr=${s})`));return;}r(o);});}));if(null===r)return[];let n=null,i=null,o=!1;for(let e of r.split("\n")){let t=e.match(/^Distributor ID:\s*(.+)$/);if(null!==t){let e=t[1];if("Ubuntu"!==e)return[];o=!0;}let r=e.match(/^Description:\s*Ubuntu\s+(\d+)\.(\d+)(?:\.(\d+))?/);r&&(n=r);let s=e.match(/^Release:\s*(\d+)\.(\d+)(?:\.(\d+))?$/);if(s&&(i=s),o&&n&&i)break;}if(!o)return[];for(let e of[n,i])if(e){let t=[e[1],e[2]];return e[3]&&t.push(e[3]),t.map(e=>parseInt(e,10));}return[];}async function e1(){try{if(!es())return null;{try{null===c(n_).sync("lsb_release",{nothrow:!0})&&(await F([{name:"lsb-release"}]));}catch{return e2();}let e=await(0,n9.getUbuntuVersion)();if(0===e.length)return e2();return e;}}catch(e){return(0,rg.warning)(e.toString()),null;}}function e2(){let e=c(iu).version(),t=e.split("."),r=parseInt(t[0].replace("#",""),10),n=parseInt(t[1].replace("~",""),10),i=parseInt(t[2].split("-")[0],10);return[r,n,i];}async function e4(e,t,r={}){return e3(await aK(),e,t,r);}async function e3(e,t,r,n={}){let{usePipx:i=!0,user:o=!0,upgrade:s=!1,isLibrary:a=!1}=n,l=i&&!a&&(await e6(e)),c=l?"pipx":"pip",u=await e8(e,t);if(u)try{(0,nO.info)(`Installing ${t} ${r??""} via ${c}`);let n=void 0!==r&&""!==r?`${t}==${r}`:t,i=!l&&o?["--user"]:[];M(e,["-m",c,...(s?l?["upgrade"]:["install","--upgrade"]:["install"]),...i,n],{stdio:"inherit"});}catch(e){if((0,nO.info)(`Failed to install ${t} via ${c}: ${e}.`),(await e9(t))===null)throw Error(`Failed to install ${t} via ${c}: ${e}.`);}else if((await e9(t))===null)throw Error(`Failed to install ${t} as it was not found via ${c} or the system package manager`);let p=await az(e),d=await e7(p,t);return await N(d),{binDir:d};}async function e6(e){return 0===(await j(e,["-m","pipx","--help"],{stdio:"ignore",reject:!1})).exitCode;}async function e5(){let e=(await eM(eQ("python",void 0,await aX()),"",process.arch)).bin;if(void 0===e)throw Error("Python binary was not found");return e;}async function e8(e,t){let r=await j(e,["-m","pip","-qq","index","versions",t],{stdio:"ignore",reject:!1});return 0===r.exitCode;}async function e7(e,t){let r=await Promise.all(e.map(e=>(0,nA.pathExists)((0,nj.join)(e,(0,nj.addExeExt)(t))))),n=r.findIndex(e=>e);if(-1!==n){let t=e[n];return t;}let i=c(n_).sync((0,nj.addExeExt)(t),{nothrow:!0});return null!==i?(0,nj.dirname)(i):e[e.length-1];}function e9(e){if("linux"===process.platform){if((0,nO.info)(`Installing ${e} via the system package manager`),er())return el("python-"+e);if(en())return ei([{name:"python3-"+e}]);if(es())return F([{name:"python3-"+e}]);}return null;}async function te(e,t,r){switch(process.platform){case"win32":{await et("cppcheck",e);let t=await tt();return{binDir:t};}case"darwin":return Z("cppcheck",e);case"linux":if(er())return el("cppcheck",e);if(en())return ei([{name:"ccache",version:e}]);if(es())return F([{name:"cppcheck",version:e}]);throw Error("Unsupported linux distribution");default:throw Error("Unsupported platform");}}async function tt(){let e="C:/Program Files/Cppcheck";return await N(e),e;}async function tr(e,t,r){switch(process.platform){case"win32":return await et("graphviz",e),tn();case"darwin":return Z("graphviz",e);case"linux":if(er())return el("graphviz",e);if(en())return ei([{name:"graphviz",version:e}]);if(es())return F([{name:"graphviz",version:e}]);throw Error("Unsupported linux distribution");default:throw Error("Unsupported platform");}}async function tn(){if("win32"===process.platform){let e="C:/Program Files/Graphviz/bin";return await N(e),{binDir:e};}throw Error("Unsupported platform");}function ti(e,t,r){switch(t){case"linux":{let t="doxygen-"+e;return{binRelativeDir:"bin/",binFileName:(0,nj.addExeExt)("doxygen"),extractedFolderName:t,extractFunction:nF.extractTar,url:`https://www.doxygen.nl/files/${t}.linux.bin.tar.gz`};}case"win32":{let t="doxygen-"+e;return{binRelativeDir:"",binFileName:(0,nj.addExeExt)("doxygen"),extractedFolderName:t,extractFunction:eR,url:`https://www.doxygen.nl/files/${t}.windows.x64.bin.zip`};}default:throw Error(`Unsupported platform '${t}'`);}}async function to(e,t,r){switch(process.platform){case"win32":{await c(n1)(()=>et("doxygen.install",e),{name:"doxygen.install",max:4,backoffBase:2e3,report:e=>(0,rg.info)(e)});let t=await ts();return await tr(eQ("graphviz",void 0),"",r),{binDir:t};}case"darwin":{let e=await Z("doxygen",void 0);return await tr(eQ("graphviz",void 0),"",r),e;}case"linux":{let n;if(""===e||er()||en()){if(er())n=await el("doxygen",e);else if(en())return ei([{name:"doxygen",version:e}]);else if(es())n=await F([{name:"doxygen",version:e}]);else throw Error("Unsupported linux distributions");}else if(es())try{n=await ew("doxygen",e,ti,t,r),await F([{name:"libclang-cpp9"}]);}catch(e){(0,rg.notice)(`Failed to download doxygen binary. ${e}. Falling back to apt-get.`),n=await F([{name:"doxygen"}]);}else throw Error("Unsupported linux distributions");return await tr(eQ("graphviz",void 0,await aX()),"",r),n;}default:throw Error("Unsupported platform");}}async function ts(){if("win32"===process.platform){for(let e of["C:/ProgramData/chocolatey/bin","C:/Program Files/doxygen/bin","C:/Program Files (x86)/doxygen"])if(await(0,nA.pathExists)((0,nj.join)(e,"doxygen.exe")))return await N(e),e;throw Error("Failed to find doxygen binary");}throw Error("Unsupported platform");}async function ta(){if("darwin"===process.platform)try{let e=await(0,nz.getExecOutput)("xcrun --sdk macosx --show-sdk-path"),t=e.stdout||e.stderr;t?await _("SDKROOT",t.trim()):(0,rg.error)("SDKROOT not set");}catch(e){(0,rg.error)(e);}}function tl(e,t,r){if("win32"===t){let t=aY[e];if(void 0===t)throw Error(`mingw version ${e} is not supported`);return{binRelativeDir:"bin/",binFileName:(0,nj.addExeExt)("g++"),extractedFolderName:"mingw64",extractFunction:eb,url:`https://github.com/brechtsanders/winlibs_mingw/releases/download/${t.releaseName}/winlibs-${"ia32"===r?"i686":"x86_64"}-posix-seh-gcc-${t.fileSuffix}.7z`};}throw Error(`Unsupported platform '${t}'`);}async function tc(e,t,r){let n;switch(process.platform){case"win32":("arm"===r||"arm64"===r)&&(await et("gcc-arm-embedded",e));try{n=await ew("g++",e,tl,t,r);}catch(t){(0,rg.info)(`Failed to download g++ binary. ${t}. Falling back to chocolatey.`),n=await tp(e,r);}break;case"darwin":n=await Z("gcc",e);break;case"linux":"x64"===r?er()?n=await el("gcc",e):en()?n=await ei([{name:"gcc",version:e},{name:"gcc-c++",version:e},{name:"libstdc++-devel"}]):es()&&(n=await F([{name:"gcc",version:e,repositories:["ppa:ubuntu-toolchain-r/test"]},{name:"g++",version:e,repositories:["ppa:ubuntu-toolchain-r/test"]}])):((0,rg.info)(`Install g++-multilib because gcc for ${r} was requested`),er()?await el("gcc-multilib",e):es()&&(await F([{name:"gcc-multilib",version:e,repositories:["ppa:ubuntu-toolchain-r/test"]}])));break;default:throw Error("Unsupported platform for "+r);}if(void 0!==n)return await td(e,n.binDir),n;}async function tu(e,t,r){let n;switch(process.platform){case"win32":case"darwin":return tc(e,t,r);case"linux":er()?n=await el("mingw-w64-gcc",e):en()?n=await ei([{name:"mingw64-gcc",version:e}]):es()&&(n=await F([{name:"mingw-w64",version:e,repositories:["ppa:ubuntu-toolchain-r/test"]}]));break;default:throw Error("Unsupported platform for "+r);}if(void 0!==n)return n;}async function tp(e,t){let r;if(await et("mingw",e),"x64"===t&&(await(0,nA.pathExists)("C:/tools/mingw64/bin"))?(r="C:/tools/mingw64/bin",await N(r)):"ia32"===t&&(await(0,nA.pathExists)("C:/tools/mingw32/bin"))?(r="C:/tools/mingw32/bin",await N(r)):(await(0,nA.pathExists)(`${process.env.ChocolateyInstall??"C:/ProgramData/chocolatey"}/bin/g++.exe`))&&(r=`${process.env.ChocolateyInstall??"C:/ProgramData/chocolatey"}/bin`),void 0!==r)return{binDir:r};}async function td(e,t){let r=[];if("win32"===process.platform)r.push(_("CC",(0,nj.addExeExt)(`${t}/gcc`)),_("CXX",(0,nj.addExeExt)(`${t}/g++`)));else{let n=c(ie)(c(n0)(e)??e);n>=5?(r.push(_("CC",`${t}/gcc-${n}`),_("CXX",`${t}/g++-${n}`)),es()&&r.push(K("cc",`${t}/gcc-${n}`),K("cxx",`${t}/g++-${n}`),K("gcc",`${t}/gcc-${n}`),K("g++",`${t}/g++-${n}`))):(r.push(_("CC",`${t}/gcc-${e}`),_("CXX",`${t}/g++-${e}`)),es()&&r.push(K("cc",`${t}/gcc-${e}`),K("cxx",`${t}/g++-${e}`),K("gcc",`${t}/gcc-${e}`),K("g++",`${t}/g++-${e}`)));}r.push(ta()),rm.GITHUB_ACTIONS&&(await tf()),await Promise.all(r);}async function tf(){let e=(0,nj.join)(it,"gcc_matcher.json");if(!(await(0,nA.pathExists)(e)))return(0,rg.warning)("the gcc_matcher.json file does not exist in the same folder as setup-cpp.js");(0,rg.info)("::add-matcher::"+e);}function th(e,t,r){let n=function(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,nj.addExeExt)("ninja"),extractedFolderName:"",extractFunction:eR,url:`https://github.com/ninja-build/ninja/releases/download/v${e}/ninja-${n}.zip`};}function tm(e,t,r){return ew("ninja",e,th,t,r);}function tg(e){return{url:`https://github.com/SimonKagstrom/kcov/releases/download/${e}/kcov-amd64.tar.gz`,extractedFolderName:"",binRelativeDir:"usr/local/bin",binFileName:(0,nj.addExeExt)("kcov"),extractFunction:eO};}function tv(e){return{url:`https://github.com/SimonKagstrom/kcov/archive/refs/tags/${e}.tar.gz`,extractedFolderName:"",binRelativeDir:"build/src",binFileName:(0,nj.addExeExt)("kcov"),extractFunction:tE};}async function tE(e,t){let r=await eO(e,t,["--strip-components=1"]),n=await ty();"linux"===process.platform&&(er()?await Promise.all([el("libdwarf"),el("libcurl-openssl")]):en()?await ei([{name:"libdwarf-devel"},{name:"libcurl-devel"}]):es()&&(await F([{name:"libdw-dev"},{name:"libcurl4-openssl-dev"}])));try{if(null!==c(n_).sync("patch",{nothrow:!0})){let e=(0,nj.join)(ir,"gcc13.patch");await j("patch",["-N","-p1","-i",e],{cwd:r,stdio:"inherit"});}else(0,rg.info)("`patch` not found, skipping gcc13.patch, kcov may not build on gcc 13");}catch{}let i=(0,nj.join)(r,"build");return await j(n,["-S",r,"-B",i,"-DCMAKE_BUILD_TYPE=Release","-G","Ninja"],{cwd:r,stdio:"inherit"}),await j(n,["--build",i,"--config","Release"],{cwd:r,stdio:"inherit"}),r;}async function ty(){let e=c(n_).sync("cmake",{nothrow:!0});if(null===e){let{binDir:t}=await eC(eQ("cmake",void 0,await aX()),(0,nj.join)(w(""),"cmake"),"");e=(0,nj.join)(t,"cmake");}let t=c(n_).sync("ninja",{nothrow:!0});return null===t&&(await tm(eQ("ninja",void 0,await aX()),(0,nj.join)(w(""),"ninja"),"")),e;}async function tw(e,t,r){var n;let i;if("linux"!==process.platform){(0,rg.info)("Kcov is not supported on non-linux");return;}let o=e.split("-"),s=(n=o[0]).match(/^v/)?n:"v"+n,a=o[1],l=parseInt(s.replace(/^v/,""),10);return 38===l&&(s="v38"),"binary"===a&&l>=39?(i=await ew("kcov",s,tg,t,r),er()?await el("binutils"):en()?await ei([{name:"binutils"}]):es()&&(await F([{name:"libbinutils"}]))):i=await ew("kcov",s,tv,t,r),i;}function tx(e){if(Object.values(a1).includes(e));else if(e in a1)return a1[e];return e;}function tb(e){let t;let r=tx(e);if(r){let e=r.split(".")[0]+".9";t=`-version "${r},${e}"`;}else t="-latest";let n=function(e,t){try{return t5.execSync(`vswhere -products * ${t} -prerelease -property installationPath`).toString().trim()+"\\"+e;}catch(e){nO.warning("vswhere failed: "+e);}return null;}("VC\\Auxiliary\\Build\\vcvarsall.bat",t);if(n&&id.existsSync(n))return nO.info("Found with vswhere: "+n),n;nO.info("Not found with vswhere");let i=e?[function(e){if(Object.keys(a1).includes(e));else for(let[t,r]of Object.entries(a1))if(r===e)return t;return e;}(e)]:a0;for(let e of aQ)for(let t of i)for(let r of aZ)if(n=`${e}\\Microsoft Visual Studio\\${t}\\${r}\\VC\\Auxiliary\\Build\\vcvarsall.bat`,nO.info("Trying standard location: "+n),id.existsSync(n))return nO.info("Found standard location: "+n),n;if(nO.info("Not found in standard locations"),n=`${aJ}\\Microsoft Visual C++ Build Tools\\vcbuildtools.bat`,id.existsSync(n))return nO.info("Found VS 2015: "+n),n;throw nO.info("Not found in VS 2015 location: "+n),Error("Microsoft Visual Studio not found");}async function tS(e,t,r,n,i,o,s){void 0!==t&&(await(0,nA.pathExists)(t))&&((0,rg.info)(`Adding ${t} to PATH`),await _("VCTargetsPath",t)),is(function(e){switch(e){case"x32":case"32":case"ia32":return"x86";case"64":return"x64";default:return e;}}(r),i,n,o,s,e);}async function tI(e,t,r,n,i,o,s,a=a8){(0,nO.startGroup)(`Installing ${e} ${t}`);let l=!1;try{l=await function(e,t){let r;let{milliseconds:n,fallback:i,message:o,customTimers:s={setTimeout:setTimeout,clearTimeout:clearTimeout}}=t,a=new Promise((a,l)=>{if("number"!=typeof n||1!==Math.sign(n))throw TypeError(`Expected \`milliseconds\` to be a positive number, got \`${n}\``);if(t.signal){let{signal:e}=t;e.aborted&&l(a5(e)),e.addEventListener("abort",()=>{l(a5(e));});}if(n===Number.POSITIVE_INFINITY){e.then(a,l);return;}let c=new a4();r=s.setTimeout.call(void 0,()=>{if(i){try{a(i());}catch(e){l(e);}return;}"function"==typeof e.cancel&&e.cancel(),!1===o?a():o instanceof Error?l(o):(c.message=o??`Promise timed out after ${n} milliseconds`,l(c));},n),(async()=>{try{a(await e);}catch(e){l(e);}})();}),l=a.finally(()=>{l.clear();});return l.clear=()=>{s.clearTimeout.call(void 0,r),r=void 0;},l;}(tR(e,t,r,n,l,i,o),{milliseconds:a,message:`Timeout while installing ${e} ${t}. You can increase the timeout from options`});}catch(t){(0,rg.error)(t),s.push(`${e} failed to install`);}return(0,nO.endGroup)(),l;}async function tR(e,t,r,n,i,o,s){let a;if("vcvarsall"===e)await tS(eQ(e,t,r),void 0,n,void 0,void 0,!1,!1);else{let s=lp[e];i=["llvm","clangformat","clangtidy"].includes(e);let l=(0,nj.join)(o,i?"llvm":e);a=await s(eQ(e,t,r),l,n);}return s.push(tY(e,a)),i;}async function tO(e,t=ia.All){let r="/usr/lib/llvm-"+e;await F([{name:"curl"}]),await j("curl",["-LJO","https://apt.llvm.org/llvm.sh"],{cwd:"/tmp"});let n=await tT("/tmp/llvm.sh","/tmp/llvm-setup-cpp.sh",e,t);return await F(n),await le("/tmp/llvm-setup-cpp.sh","755"),await E("bash",["/tmp/llvm-setup-cpp.sh",""+e,...(t===ia.All?["all"]:[])],{stdio:"inherit",shell:!0,timeout:a8}),await N(`${r}/bin`),{installDir:""+r,binDir:`${r}/bin`,bin:`${r}/bin/clang++`};}async function tT(e,t,r,n){var i,o,s,a,l;let c=await a7(e,"utf-8");return c=(i=c,c=process.env.NODE_DEBUG?i:i.replace(/set -eux/g,"set -eu")).replace(/add-apt-repository "\${REPO_NAME}"/g,'add-apt-repository -y "${REPO_NAME}"'),o=n,s=c,a=r,c=o===ia.ClangFormat?s.replace(/ -y \$PKG/g," -y clang-format-"+a):s,l=c=await tC(c),c=H()?l.replace(/apt-get/g,"nala"):l,await a9(t,c),[{name:"lsb-release"},{name:"wget"},{name:"software-properties-common"},{name:"gnupg"}];}async function tC(e){let t=e.replace(/apt-get install -y/g,'apt-get install -o Dpkg::Options::="--force-overwrite" -y --fix-broken');return await Promise.all(["libc++-$LLVM_VERSION-dev","libc++abi-$LLVM_VERSION-dev","libunwind-$LLVM_VERSION-dev"].map(async e=>{let r=e.replace("$LLVM_VERSION","*");(await Y(r))&&((0,ru.info)("Removing conflicting package "+r),t=t.replace(e,""));})),t;}function t$(e,t,r){let n=`${t}${e}${r}`;return`https://github.com/llvm/llvm-project/releases/download/llvmorg-${e}/${n}`;}function tA(e,t,r){let n=`${t}${e}${r}`;return`https://releases.llvm.org/${e}/${n}`;}async function tP(e){let t;if(lr.has(e))return null;let r="LLVM-",n=c(nZ)(e,"3.7.0")?"-win32.exe":"-win64.exe",i=c(nZ)(e,"9.0.1"),o=!1;return i&&(t=tA(e,r,n),(await n5(t))||(o=!0)),(o||!i)&&(t=t$(e,r,n)),t;}function t_(e,t){switch(e){case"darwin":return function(e){if(ln.has(e))return null;let t="9.0.0"===e?"-darwin-apple":"-apple-darwin",r="clang+llvm-",n=`-x86_64${t}.tar.xz`;return c(nZ)(e,"9.0.1")?tA(e,r,n):t$(e,r,n);}(t);case"linux":return function(e){let t,r,n=e,i=li.get(n);if(void 0!==i&&(n=i),n.includes("ubuntu")){let e=n.replace(/-ubuntu-.*/,"");if(!lt.has(e))throw Error("Unsupported Ubuntu version: "+e);t=n.replace(e,""),n=eL(lt,e)[0];}else""!==n&&n in lo?t=lo[n]:(t=lo[ls],(0,rg.warning)(`Falling back to LLVM version ${ls} ${t} for the Ubuntu.`));let o="clang+llvm-";return(r="5.0.0"===n?`-linux-x86_64${t}.tar.xz`:t.includes("-rhel86")?`-x86_64-unknown-linux-gnu${t}.tar.xz`:`-x86_64-linux-gnu${t}.tar.xz`,c(nZ)(n,"9.0.1"))?tA(n,o,r):t$(n,o,r);}(t);case"win32":return tP(t);default:return null;}}async function tN(e,t,r){let[n,i]=await ek(lt,t,e,t_);return(0,rg.info)("specific llvm version: "+n),{url:i,extractedFolderName:"",binRelativeDir:"bin",binFileName:(0,nj.addExeExt)("clang"),extractFunction:"win32"===t?eI:(e,t)=>eO(e,t,["--strip-components=1"])};}async function tL(e,t,r){let n=await la(e,t,r);return await tM(n.installDir??t),n;}async function tk(e,t,r){let[n,i,o]=await Promise.all([tD(e,t,r),lc(r),tF()]);return n;}async function tD(e,t,r,n=ia.All){let i=function(e){if(null===c(n7)(e))try{let t=c(n0)(e);if(null!==t)return(0,rg.info)(`Coerced version '${e}' to '${t}'`),t.version;}catch(e){}return e;}(e),o=parseInt(i.split(".")[0],10);try{if(es())return await tO(o,n);}catch(e){(0,rg.info)("Failed to install llvm via system package manager "+e);}let s=await ew("llvm",e,tN,t,r);return await ll(o),s;}async function tU(e){es()&&(e<=10?await F([{name:"libtinfo5"}]):await F([{name:"libtinfo-dev"}]));}async function tj(e){"linux"===process.platform&&(await tc(eQ("gcc",void 0,await aX()),"",e));}async function tM(e){let t=process.env.LD_LIBRARY_PATH??"",r=process.env.DYLD_LIBRARY_PATH??"",n=[_("LLVM_PATH",e),_("LD_LIBRARY_PATH",`${e}/lib${ip.delimiter}${t}`),_("DYLD_LIBRARY_PATH",`${e}/lib${ip.delimiter}${r}`),_("LDFLAGS",`-L"${e}/lib"`),_("CPPFLAGS",`-I"${e}/include"`),_("CC",(0,nj.addExeExt)(`${e}/bin/clang`)),_("CXX",(0,nj.addExeExt)(`${e}/bin/clang++`)),_("LIBRARY_PATH",`${e}/lib`),ta()];es()&&n.push(K("cc",`${e}/bin/clang`),K("cxx",`${e}/bin/clang++`),K("clang",`${e}/bin/clang`),K("clang++",`${e}/bin/clang++`),K("lld",`${e}/bin/lld`),K("ld.lld",`${e}/bin/ld.lld`),K("llvm-ar",`${e}/bin/llvm-ar`)),await Promise.all(n);}async function tF(){if(rm.GITHUB_ACTIONS){let e=(0,nj.join)(il,"llvm_matcher.json");if(!(await(0,nA.pathExists)(e)))return(0,rg.warning)("the llvm_matcher.json file does not exist in the same folder as setup-cpp.js");(0,rg.info)("::add-matcher::"+e);}}async function tG(e,t,r){switch(process.platform){case"win32":return et("make",e);case"darwin":return await Z("make",e),await N("/usr/local/opt/make/libexec/gnubin"),{binDir:"/usr/local/opt/make/libexec/gnubin"};case"linux":if(er())return el("make",e);if(en())return ei([{name:"make",version:e}]);if(es())return F([{name:"make",version:e}]);throw Error("Unsupported linux distribution");default:throw Error("Unsupported platform");}}async function tB(e,t,r,n,i,o){let s,a;if("win32"!==process.platform)return;let l=ii(e);(0,rg.info)(`Checking if MSVC ${l} is already installed`);let c=!1;try{let e=io(l);c=!0,(0,rg.info)("Found the pre-installed version of MSVC at "+e);}catch{}if(!c)try{"14.0"===l?(s="14.0",await et("visualcpp-build-tools","14.0.25420.1",["--ignore-dependencies"]),a="C:/Program Files (x86)/MSBuild/Microsoft.Cpp/v4.0/v140"):"15.0"===l?(s="14.16",await et("visualstudio2017buildtools","15.9.41.0",[]),a="C:/Program Files (x86)/Microsoft Visual Studio/2017/BuildTools/VC/Tools/MSVC/14.16"):"16.0"===l?(s="14.29",await et("visualstudio2019buildtools","16.11.7.0",[]),a="C:/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.29.30133"):"17.0"===l?(s=void 0,await et("visualstudio2022buildtools","117.0.5.0",[]),a=void 0):(0,rg.error)(`The given MSVC versions ${e} is not supported yet.`);}catch(e){(0,rg.error)(e);}await tS(l,a,r,s,n,i,o),rm.GITHUB_ACTIONS&&(await tH());}async function tH(){let e=(0,nj.join)(ic,"msvc_matcher.json");if(!(await(0,nA.pathExists)(e)))return(0,rg.warning)("the msvc_matcher.json file does not exist in the same folder as setup-cpp.js");(0,rg.info)("::add-matcher::"+e);}async function tq(e,t,r){if(!es())return;if("string"==typeof i)return{binDir:i};let n=c(n_).sync("nala",{nothrow:!0});if(null!==n)return{binDir:i=(0,nj.dirname)(n)};let o=await X("volian-archive-scar-unstable.gpg","https://deb.volian.org/volian/scar.key");v("/bin/bash",["-c",`echo "deb [signed-by=${o}] http://deb.volian.org/volian/ scar main" | tee /etc/apt/sources.list.d/volian-archive-scar-unstable.list`]);try{"legacy"!==e?await F([{name:"nala"}],!0):await F([{name:"nala-legacy"}],!0);}catch(e){await F([{name:"nala-legacy"}],!0);}return{binDir:i="/usr/bin"};}async function tV(e,t,r){if("win32"!==process.platform)return;await et("opencppcoverage",e);let n=await tW();return{binDir:n};}async function tW(){let e="C:/Program Files/OpenCppCoverage";return await N(e),e;}async function tz(e,t,r){switch(process.platform){case"win32":{await et("powershell-core",e);let t="C:/Program Files/PowerShell/7";return await N(t),{binDir:t};}case"darwin":return Z("powershell",e,["--cask"]);case"linux":if(er())return el("powershell-bin",e,"yay");if(en())return ei([{name:"curl"}]),v("/bin/bash",["-c","curl https://packages.microsoft.com/config/rhel/8/prod.repo | sudo tee /etc/yum.repos.d/microsoft.repo"]),ei([{name:"powershell",version:e}]);if(es()){await F([{name:"curl"}]);let t=await aX(),r=`${t[0]}.0${t[1]}`;return v("curl",["-LJO",`https://packages.microsoft.com/config/ubuntu/${r}/packages-microsoft-prod.deb`]),v("dpkg",["-i","packages-microsoft-prod.deb"]),F([{name:"powershell",version:e}],!0);}throw Error("Unsupported linux distribution");default:throw Error("Unsupported platform");}}function tX(e,t,r){var n;let i="win32"===(n=t)?"windows":n,o=function(e){switch(e){case"x64":return"amd64";case"ia32":case"x86":case"i386":case"x32":return"386";default:return e;}}(r),s="win32"===t;return{binRelativeDir:"",binFileName:(0,nj.addExeExt)("task"),extractedFolderName:"",extractFunction:s?eR:eO,url:`https://github.com/go-task/task/releases/download/v${e}/task_${i}_${o}.${s?"zip":"tar.gz"}`};}async function tK(e,t,r){return lu&&null!==c(n_).sync("vcpkg",{nothrow:!0})?{binDir:(0,nj.dirname)(c(n_).sync("vcpkg"))}:("linux"===process.platform&&(er()?await Promise.all([el("curl"),el("zip"),el("unzip"),el("tar"),el("git"),el("pkg-config")]):en()?await ei([{name:"curl"},{name:"zip"},{name:"unzip"},{name:"tar"},{name:"git"},{name:"pkg-config"}]):es()&&(await F([{name:"curl"},{name:"zip"},{name:"unzip"},{name:"tar"},{name:"git"},{name:"pkg-config"}]))),(await(0,nA.pathExists)((0,nj.join)(t,(0,nj.addShExt)("bootstrap-vcpkg",".bat"))))?(0,rg.notice)(`Vcpkg folder already exists at ${t}. This might mean that ~/vcpkg is restored from the cache.`):M("git",["clone","https://github.com/microsoft/vcpkg"],{cwd:(0,nj.dirname)(t),stdio:"inherit"}),M((0,nj.addShExt)((0,nj.addShRelativePrefix)("bootstrap-vcpkg"),".bat"),{cwd:t,shell:!0,stdio:"inherit"}),await y(t),await N(t),lu=!0,{binDir:t});}function tY(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;}async function tJ(e,t,r,n,i,o,s){try{let{compiler:a,version:l}=function(e){let t=e.split("-"),r=t[0];if(1 in t){let e=t[1];return null!==c(n7)(e)||(0,rg.info)(`Invalid semver version ${e} used for the compiler.`),{compiler:r,version:e};}return{compiler:r,version:void 0};}(e);switch((0,nO.startGroup)(`Installing ${a} ${l??""}`),a){case"llvm":case"clang":case"clang++":{let e=await tL(eQ("llvm",l,t),(0,ip.join)(r,"llvm"),n);await _("GCOV","llvm-cov gcov"),i.push(tY("llvm",e));break;}case"gcc":case"mingw":case"cygwin":case"msys":{let e="mingw"===a?eQ("mingw",l,t):eQ("gcc",l,t),s="mingw"===a?await tu(e,(0,ip.join)(r,"gcc"),n):await tc(e,(0,ip.join)(r,"gcc"),n);o&&(await _("CPPFLAGS","")),await function(e){let t=c(n7)(e),r=null!==t?c(ie)(t):e;return _("GCOV",""!==r?"gcov-"+r:"gcov");}(e),i.push(tY("gcc",s));break;}case"cl":case"msvc":case"msbuild":case"vs":case"visualstudio":case"visualcpp":case"visualc++":{let e=await tB(eQ("msvc",l,t),(0,ip.join)(r,"msvc"),n);o&&(await _("CPPFLAGS","")),i.push(tY("msvc",e));break;}case"appleclang":case"applellvm":(0,nO.notice)("Assuming apple-clang is already installed"),await Promise.all([_("CC","clang"),_("CXX","clang++")]),i.push(tY("apple-clang",void 0));break;default:s.push("Unsupported compiler "+a);}}catch(t){(0,rg.error)(t),s.push("Failed to install the "+e);}(0,nO.endGroup)();}async function tQ(e){let t,r,n=Promise.resolve();rm.GITHUB_ACTIONS||(n=S(),process.env.ACTIONS_ALLOW_UNSECURE_COMMANDS="true");let i=function(e,t){t=t||{};var r,n,i,o,s,a={_:[]},l=0,c=0,u=0,p=(e=e||[]).length;let d=void 0!==t.alias,f=void 0!==t.unknown,h=void 0!==t.default;if(t.alias=t.alias||{},t.string=I(t.string),t.boolean=I(t.boolean),d)for(r in t.alias)for(l=0,n=t.alias[r]=I(t.alias[r]);l0;)for(c=(n=t.alias[t.boolean[l]]||[]).length;c-->0;)t.boolean.push(n[c]);for(l=t.string.length;l-->0;)for(c=(n=t.alias[t.string[l]]||[]).length;c-->0;)t.string.push(n[c]);if(h){for(r in t.default)if(o=typeof t.default[r],n=t.alias[r]=t.alias[r]||[],void 0!==t[o])for(t[o].push(r),l=0;ll;l++){if("--"===(i=e[l])){a._=a._.concat(e.slice(++l));break;}for(c=0;c0;)a[n.shift()]=a[r];return a;}(e,{string:[...lf,"timeout"],default:Object.fromEntries(lf.map(e=>[e,function(e){let t=(0,nO.getInput)(e.toLowerCase());if("false"!==t&&""!==t)return t;}(e)])),alias:{h:"help"},boolean:"help"});i.help&&((0,rg.info)(` +if [[ "$SOURCE_CPPRC" != 0 && -f "${sQ}" ]]; then source "${sQ}"; fi +`;try{let e=$(".profile");(0,nW.appendFileSync)(e,t),(0,no.info)(`${t} was added to ${e}`);let r=$(".bashrc");(0,nW.appendFileSync)(r,t),(0,no.info)(`${t} was added to ${r}`);}catch(e){(0,ry.warning)(`Failed to add ${t} to .profile or .bashrc. You should add it manually: ${e}`);}sZ=!0;}async function G(){if(await(0,nl.pathExists)(sQ)){let e=(0,nW.readFileSync)(sQ,"utf-8").split("\n"),t=[...new Set(e.reverse())].reverse();(0,nW.writeFileSync)(sQ,t.join("\n")),await C(sQ);}}async function B(e,t=!1){let r;let n=z()?"nala":"apt-get";for(let{name:t,version:r}of e)(0,ry.info)(`Installing ${t} ${r??""} via ${n}`);process.env.DEBIAN_FRONTEND="noninteractive",(!s1||t)&&(V(n),s1=!0),s2||(await X(n),s2=!0);let i=[...new Set(e.flatMap(e=>e.repositories??[]))];if(0!==i.length){for(let e of i)I("add-apt-repository",["-y",e]);V(n);}let o=await Promise.all(e.map(e=>q(e.name,e.version)));try{I(n,["install","--fix-broken","-y",...o]);}catch(e){if("stderr"in e){let t=e.stderr;s3.some(e=>t.includes(e))&&((0,ry.warning)(`Failed to install packages ${o}. Retrying...`),I(n,["install","--fix-broken","-y",...o]));}else throw e;}return{binDir:"/usr/bin/"};}async function H(e,t){if(void 0!==t&&""!==t){let{stdout:r}=await x("apt-cache",["search","--names-only",`^${(0,nu.default)(e)}-${(0,nu.default)(t)}$`]);if(""!==r.trim())return 0;try{let{stdout:r}=await x("apt-cache",["show",`${e}=${t}`]);if(""===r.trim())return 1;}catch{}}try{let{stdout:t}=await x("apt-cache",["show",e]);if(""!==t.trim())return 2;}catch{}return 3;}async function q(e,t){switch(await H(e,t)){case 0:return`${e}-${t}`;case 1:return`${e}=${t}`;case 2:return e;default:throw Error(`Could not find package ${e} ${t??""}`);}}function z(){return null!==u(rI).sync("nala",{nothrow:!0});}function V(e){I(e,"nala"!==e?["update","-y"]:["update"]);}async function X(e){I(e,["install","--fix-broken","-y","software-properties-common","apt-utils","ca-certificates","gnupg"]);let t=[Y(["3B4FE6ACC0B21F32","40976EAF437D05B5"],"setup-cpp-ubuntu-archive.gpg"),Y(["1E9377A2BA9EF27F"],"launchpad-toolchain.gpg")];"nala"===e&&t.push(D("LANG","C.UTF-8",{shouldAddOnlyIfNotDefined:!0}),D("LC_ALL","C.UTF-8",{shouldAddOnlyIfNotDefined:!0})),await Promise.all(t);}function W(){I("gpg",["-k"]);}async function Y(e,t,r="keyserver.ubuntu.com"){try{let n="/etc/apt/trusted.gpg.d/"+t;return(await(0,nl.pathExists)(n))||(W(),await Promise.all(e.map(async e=>{await O("gpg",["--no-default-keyring","--keyring","gnupg-ring:"+n,"--keyserver",r,"--recv-keys",e]),await O("chmod",["644",n]);}))),n;}catch(e){(0,ry.warning)(`Failed to add apt key via server ${r}: ${e}`);return;}}async function K(e,t){let r="/etc/apt/trusted.gpg.d/"+e;return(await(0,nl.pathExists)(r))||(W(),await B([{name:"curl"},{name:"ca-certificates"}],void 0),await x("curl",["-s",t,"-o","/tmp/"+e]),I("gpg",["--no-default-keyring","--keyring","gnupg-ring:"+r,"--import","/tmp/"+e]),I("chmod",["644",r])),r;}async function J(e,t,r=40){return rE.GITHUB_ACTIONS?O("update-alternatives",["--install","/usr/bin/"+e,e,t,r.toString()]):(await F(),s0(sQ,` +if [ $UID -eq 0 ]; then update-alternatives --install /usr/bin/${e} ${e} ${t} ${r}; fi +`));}async function Q(e){try{let{stdout:t}=await x("dpkg",["-l",e]);return t.split("\n").some(e=>e.startsWith("ii"));}catch{return!1;}}async function Z(e,r,n){if(!["darwin","linux"].includes(process.platform))return;if("string"==typeof t)return{binDir:t};let i=u(rI).sync("brew",{nothrow:!0});if(null!==i)return{binDir:t=(0,np.dirname)(i)};let o=u(nX).join((0,nV.tmpdir)(),"setup-cpp","brew");await(0,nd.mkdirP)(o),b("curl",["-LJO","https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh"],{cwd:o});let s=(0,nX.join)(o,"install.sh");return"linux"===process.platform&&(0,nW.readFileSync)(s,"utf-8").replace("#!/bin/bash",""),b("/bin/bash",[s],{stdio:"inherit",env:{NONINTERACTIVE:"1"}}),t=ee(),await U(t),{binDir:t};}function ee(){return"linux"===process.platform?"/home/linuxbrew/.linuxbrew/bin/":"/usr/local/bin/";}async function et(e,t,r=[]){(0,no.info)(`Installing ${e} ${t??""} via brew`),s4&&null!==u(rI).sync("brew",{nothrow:!0})||(await Z("","",process.arch),s4=!0);let n=ee();return b((0,np.join)(n,"brew"),["install",void 0!==t&&""!==t?`${e}@${t}`:e,...r],{stdio:"inherit"}),{binDir:n};}async function er(e,t,n){if("win32"!==process.platform)return;if("string"==typeof r)return{binDir:r};let i=u(rI).sync("choco",{nothrow:!0});if(null!==i)return{binDir:r=(0,np.dirname)(i)};let o="powershell.exe",s=u(rI).sync(`${process.env.SystemRoot}\\System32\\WindowsPowerShell\\v1.0\\powershell.exe`,{nothrow:!0});null!==s&&(o=s),b(o,["-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"});let a=`${process.env.ALLUSERSPROFILE}\\chocolatey\\bin`;await U(a);let l=u(rI).sync("choco",{nothrow:!0});if(r=null!==l?(0,np.dirname)(l):`${process.env.ChocolateyInstall??"C:/ProgramData/chocolatey"}/bin`,await(0,nl.pathExists)(r))return{binDir:r};}async function en(e,t,r=[]){(0,ry.info)(`Installing ${e} ${t??""} via chocolatey`),s6&&null!==u(rI).sync("choco",{nothrow:!0})||(await er("","",process.arch),s6=!0);let n=process.env.PATH,i={...process.env};if(delete i.TMP,delete i.TEMP,delete i.Path,i.PATH=n,void 0!==t&&""!==t)b("choco",["install","-y",e,"--version="+t,...r],{env:i,extendEnv:!1,stdio:"inherit"});else try{b("choco",["install","-y",e,...r],{env:i,extendEnv:!1,stdio:"inherit"});}catch(t){if(t.message.includes("exit code 3010"))(0,ry.info)(`${e} might require a reboot for the completion of the installation.`);else throw t;}let o=`${process.env.ChocolateyInstall??"C:/ProgramData/chocolatey"}/bin`;return await U(o),{binDir:o};}function ei(){return"linux"===process.platform&&(void 0===o&&(o=null!==u(rI).sync("pacman",{nothrow:!0})),o);}function eo(){return"linux"===process.platform&&(void 0===s&&(s=null!==u(rI).sync("dnf",{nothrow:!0})),s);}async function es(e){for(let{name:t,version:r}of e)(0,ry.info)(`Installing ${t} ${r??""} via dnf`);return I("dnf",["-y","install",...(await Promise.all(e.map(e=>ea(e.name,e.version))))]),{binDir:"/usr/bin/"};}async function ea(e,t){if(void 0!==t&&""!==t){let{stdout:r}=await x("dnf",["search","-q",`${e}-${t}`]);if(""!==r.trim())return`${e}-${t}`;{let{stdout:r}=await x("dnf",["search","-q",`${e}${t}`]);if(""!==r.trim())return`${e}${t}`;(0,ry.warning)(`Failed to install ${e} ${t} via dnf, trying without version`);}}return e;}function el(){return"linux"===process.platform&&(void 0===a&&(a=null!==u(rI).sync("apt-get",{nothrow:!0})),a);}async function eu(e,t,r){switch(process.platform){case"win32":return en("bazelisk",e);case"darwin":return et("bazelisk",e);case"linux":if(ei())throw Error("installing bazel on Arch linux is not supported yet");if(eo())return await es([{name:"dnf-plugins-core"}]),I("dnf",["copr","enable","vbatts/bazel"]),es([{name:"bazel4"}]);if(el()){let t=await K("bazel-archive-keyring.gpg","https://bazel.build/bazel-release.pub.gpg");return I("bash",["-c",`echo "deb [arch=amd64 signed-by=${t}] https://storage.googleapis.com/bazel-apt stable jdk1.8" | tee /etc/apt/sources.list.d/bazel.list`]),B([{name:"bazel",version:e}],!0);}throw Error("Unsupported linux distribution");default:throw Error("Unsupported platform");}}async function ec(e,t,r){(0,ry.info)(`Installing ${e} ${t??""} via pacman`);let n="pacman";if("yay"===r&&null===u(rI).sync("yay",{nothrow:!0}))throw Error(`yay is needed for ${e}, but it is not installed, please install it manually first`);s8||"yay"===r||(I(n,["-Sy","--noconfirm"]),s8=!0),s5||"yay"===r||(I(n,["-S","--noconfirm","base-devel"]),s5=!0);let i=e=>"yay"===r?b(r,["-S","--noconfirm",e]):I(r??n,["-S","--noconfirm",e]);if(void 0!==t&&""!==t){if((await ep(n,e)).includes(t))try{i(`${e}=${t}`);}catch{i(`${e}${t}`);}else(0,ry.info)(`Failed to install ${e} ${t} via pacman, trying without version`),i(e);}else i(e);return{binDir:"/usr/bin/"};}async function ep(e,t){let r=[];try{let{stdout:n}=await x(e,["-Si",t]);for(let e of n.matchAll(s7))r.push(e[1]);}catch(e){(0,ry.warning)(`Failed to get available versions for ${t}: ${e}`);}return r;}function ed(e,t){let r=[];t=t||an.arch();let n=ai.join(eE(),e);if(at.existsSync(n)){for(let e of at.readdirSync(n))if(ev(e)){let i=ai.join(n,e,t||"");at.existsSync(i)&&at.existsSync(`${i}.complete`)&&r.push(e);}}return r;}function ef(e){return nE(this,void 0,void 0,function*(){return e||(e=ai.join(ey(),au.default())),yield ae.mkdirP(e),e;});}function eh(e,t,r){return nE(this,void 0,void 0,function*(){let n=ai.join(eE(),e,as.clean(t)||t,r||"");s9.debug("destination "+n);let i=`${n}.complete`;return yield ae.rmRF(n),yield ae.rmRF(i),yield ae.mkdirP(n),n;});}function em(e,t,r){let n=ai.join(eE(),e,as.clean(t)||t,r||""),i=`${n}.complete`;at.writeFileSync(i,""),s9.debug("finished caching tool");}function ev(e){let t=as.clean(e)||"";s9.debug("isExplicit: "+t);let r=null!=as.valid(t);return s9.debug("explicit? "+r),r;}function eg(e,t){let r="";s9.debug(`evaluating ${e.length} versions`),e=e.sort((e,t)=>as.gt(e,t)?1:-1);for(let n=e.length-1;n>=0;n--){let i=e[n];if(as.satisfies(i,t)){r=i;break;}}return r?s9.debug("matched: "+r):s9.debug("match not found"),r;}function eE(){let e=process.env.RUNNER_TOOL_CACHE||"";return t6.ok(e,"Expected RUNNER_TOOL_CACHE to be defined"),e;}function ey(){let e=process.env.RUNNER_TEMP||"";return t6.ok(e,"Expected RUNNER_TEMP to be defined"),e;}function ew(e,t){let r=rf[e];return void 0!==r?r:t;}function ex(e,t){if(!e||!t)throw Error("retry-as-promised must be passed a callback and a options set");let r={$current:"$current"in(t="number"==typeof t?{max:t}:t)?t.$current:1,max:t.max,timeout:t.timeout||void 0,match:t.match?Array.isArray(t.match)?t.match:[t.match]:[],backoffBase:void 0===t.backoffBase?100:t.backoffBase,backoffExponent:t.backoffExponent||1.1,report:t.report,name:t.name||e.name||"unknown"};return r.match&&!Array.isArray(r.match)&&(r.match=[r.match]),r.report&&r.report("Trying "+r.name+" #"+r.$current+" at "+new Date().toLocaleTimeString(),r),new Promise(function(t,n){let i,o,s;r.timeout&&(i=setTimeout(function(){o&&clearTimeout(o),n(new ah(r.name+" timed out",s));},r.timeout)),Promise.resolve(e({current:r.$current})).then(t).then(function(){i&&clearTimeout(i),o&&clearTimeout(o);}).catch(function(a){i&&clearTimeout(i),o&&clearTimeout(o),s=a,r.report&&r.report(a&&a.toString()||a,r,a);var l=r.$current(0,nf.downloadTool)(o),{name:o,max:4,backoffBase:2e3,report:e=>(0,ry.info)(e)});am||((0,ry.info)("Installing extraction dependencies"),"linux"===process.platform&&(ei()?await Promise.all([ec("unzip"),ec("tar"),ec("xz")]):eo()?await es([{name:"unzip"},{name:"tar"},{name:"xz"}]):el()&&(await B([{name:"unzip"},{name:"tar"},{name:"xz-utils"}]))),am=!0),(0,ry.info)(`Extracting ${r} to ${n}`),await c?.(r,n);}catch(r){throw Error(`Failed to download ${e} ${t} ${i} from ${o}: ${r}`);}return(0,ry.info)(`Add ${d} to PATH`),await U(d),rE.GITHUB_ACTIONS&&"string"==typeof process.env.RUNNER_TOOL_CACHE&&(await(0,nf.cacheDir)(n,e,t)),{installDir:p,binDir:d};}function eR(e,t,r){switch(process.platform){case"win32":return en("7zip",e);case"darwin":return et("p7zip",e);case"linux":if(ei())return ec("p7zip",e);if(eo())return es([{name:"p7zip",version:e},{name:"p7zip-plugins",version:e}]);if(el())return B([{name:"p7zip-full",version:e}]);throw Error("Unsupported linux distribution");default:throw Error("Unsupported platform");}}async function eI(e,t){return await x(await eO(),["x",e,"-o"+t,"-y"],{stdio:"inherit"}),await C(t),t;}async function eO(){return void 0===n&&(null===u(rI).sync("7z",{nothrow:!0})&&(await eR("","",process.arch)),n="7z"),n;}function eS(e,t){return eI(e,t);}function eT(e,t){return eI(e,t);}async function eC(e,t,r=["--strip-components=0"]){try{await(0,nd.mkdirP)(t);}catch{}try{await x("tar",["xf",e,"-C",t,...r],{stdio:"inherit"});}catch(r){"win32"===process.platform&&r.message.includes("Can't create '\\\\?\\C:")&&(0,ry.warning)(`Failed to extract symlink ${e} to ${t}. Ignoring this symlink.`);}return C(t),t;}function e$(e,t,r){let n=u(nT)(e)??e;switch(t){case"win32":{let t;let i=u(nS)(n,"v3.19.6");t=["ia32","x86","i386","x32"].includes(r)?i?"win32-x86":"windows-i386":i?"win64-x64":"windows-x86_64";let o=`cmake-${e}-${t}`;return{binRelativeDir:"bin/",binFileName:(0,np.addExeExt)("cmake"),extractedFolderName:o,extractFunction:eT,url:`https://github.com/Kitware/CMake/releases/download/v${e}/${o}.zip`};}case"darwin":{let t=u(nS)(n,"v3.19.1"),r=`cmake-${e}-${t?"Darwin-x86_64":"macos-universal"}`;return{binRelativeDir:"CMake.app/Contents/bin/",binFileName:(0,np.addExeExt)("cmake"),extractedFolderName:r,extractFunction:nf.extractTar,url:`https://github.com/Kitware/CMake/releases/download/v${e}/${r}.tar.gz`};}case"linux":{let t;let i=u(nS)(n,"v3.19.8");t=["aarch64"].includes(r)?i?"Linux-aarch64":"linux-aarch64":i?"Linux-x86_64":"linux-x86_64";let o=`cmake-${e}-${t}`;return{binRelativeDir:"bin/",binFileName:(0,np.addExeExt)("cmake"),extractedFolderName:o,extractFunction:nf.extractTar,url:`https://github.com/Kitware/CMake/releases/download/v${e}/${o}.tar.gz`};}default:throw Error(`Unsupported platform '${t}'`);}}function eA(e,t,r){return eb("cmake",e,e$,t,r);}function e_(e){var t=e.length;return t?1===t?[e[0]]:2===t?[e[0],e[1]]:3===t?[e[0],e[1],e[2]]:nA.call(e,0):[];}function eP(e,t){return e===t||e!=e&&t!=t;}function eL(e,t){var r={};for(var n in e)r[n]=e[n];for(var n in t)r[n]=t[n];return r;}function eN(e,t){if(void 0===t&&(t={}),"function"==typeof e&&e.isMemoized)return eN(e.fn,eL(e.options,t));if("function"!=typeof e)throw TypeError("You must pass a function to `memoize`.");var r=t.isEqual,n=t.isMatchingKey,i=t.isPromise,o=void 0!==i&&i,s=t.maxSize,a=t.onCacheAdd,l=t.onCacheChange,u=t.onCacheHit,c=t.transformKey,p=eL({isEqual:void 0===r?eP:r,isMatchingKey:n,isPromise:o,maxSize:void 0===s?1:s,onCacheAdd:a,onCacheChange:l,onCacheHit:u,transformKey:c},function(e){var t={};for(var r in e)n$[r]||(t[r]=e[r]);return t;}(t)),d=new n_(p),f=d.keys,h=d.values,m=d.canTransformKey,v=d.shouldCloneArguments,g=d.shouldUpdateOnAdd,E=d.shouldUpdateOnChange,y=d.shouldUpdateOnHit,w=function(){var t=v?e_(arguments):arguments;m&&(t=c(t));var r=f.length?d.getKeyIndex(t):-1;if(-1!==r)y&&u(d,p,w),r&&(d.orderByLru(f[r],h[r],r),E&&l(d,p,w));else{var n=e.apply(this,arguments),i=v?t:e_(arguments);d.orderByLru(i,n,f.length),o&&d.updateAsyncCache(w),g&&a(d,p,w),E&&l(d,p,w);}return h[0];};return w.cache=d,w.fn=e,w.isMemoized=!0,w.options=p,w;}function ek(e,t){return new Promise(r=>{try{let n=(0,nJ.request)(e,{method:t},e=>{r(void 0!==e.statusCode&&e.statusCode>=200&&e.statusCode<=399);});n.on("error",e=>{r(!1);}),n.end();}catch{r(!1);}});}function eD(e,t){return Array.from(e).filter(e=>/^\d+\.\d+\.\d+$/.test(e)&&e.startsWith(t)).sort((e,t)=>{try{return u(nN)(e,t);}catch(r){return e.localeCompare(t);}}).reverse();}async function eU(e,t,r,n){if("linux"===t&&r.includes("ubuntu")){let e=await n(t,r);if(null!==e&&(await nL(e)))return[r,e];}if(!e.has(r))throw Error(`Unsupported target! (platform='${t}', version='${r}'). Try one of the following: ${JSON.stringify(e)}`);let i=[];for(let o of eD(e,r)){let e=await n(t,o);if(null!==e){if(await nL(e))return[o,e];i.push(e);}}throw Error(`Unsupported target! (platform='${t}', version='${r}'). Try one of the following: ${JSON.stringify(e)}`);}async function ej(e,t=av){try{let r=await(0,nw.getExecOutput)(e,["--version"]),n=r.stdout||r.stderr||"",i=n.trim().match(t)?.[1];return u(nT)(i)??void 0;}catch(e){console.error(e);return;}}async function eM(e,t,r=av){let n=await ej(e,r);return void 0!==n&&""!==t&&-1!==u(nN)(n,t);}function eF(){switch(process.platform){case"win32":return"17.0.4";case"linux":return"17.0.5-ubuntu-22.04";case"darwin":return"15.0.3";default:return"17.0.5";}}async function eG(e,t,r){let n=await eq(e,t,r);u(t6)(void 0!==n.bin);let i=n.bin;if(void 0===(await eW(i)))throw Error("pip was not installed correctly");return await eB(i),await eH(i),n;}async function eB(e){try{(await e5(e))||(await e8(e,"pipx",void 0,{upgrade:!0,usePipx:!1})),await x(e,["-m","pipx","ensurepath"],{stdio:"inherit"}),await e8(e,"venv",void 0,{upgrade:!1,usePipx:!1});}catch(e){(0,ry.warning)(`Failed to install pipx: ${e.toString()}. Ignoring...`);}}async function eH(e){try{await e8(e,"setuptools",void 0,{upgrade:!0,isLibrary:!0,usePipx:!1}),await e8(e,"wheel",void 0,{upgrade:!0,isLibrary:!0,usePipx:!1});}catch(e){(0,ry.warning)(`Failed to install setuptools or wheel: ${e.toString()}. Ignoring...`);}}async function eq(e,t,r){let n;let i=await eV(t);if(void 0!==i){let e=(0,np.dirname)(i);n={bin:i,installDir:e,binDir:e};}else{if(rE.GITHUB_ACTIONS)try{(0,ry.info)("Installing python in GitHub Actions");let{setupActionsPython:o}=await rv("j1xhX");await o(e,t,r),i=await eV(t);let s=(0,np.dirname)(i);n={bin:i,installDir:s,binDir:s};}catch(e){(0,ry.warning)(e.toString());}void 0===n&&(n=await ez(t,e));}return(void 0===i||void 0===n.bin)&&(i=await eV(t),n.bin=i),n;}async function ez(e,t){let r;switch(process.platform){case"win32":{e?await en("python3",t,["--params=/InstallDir:"+e]):await en("python3",t);let n=await eV(e),i=(0,np.dirname)(n);await U(i),r={installDir:i,binDir:i,bin:n};break;}case"darwin":{r=await et("python3",t);let e=await x("brew",["--prefix","python"],{stdio:"pipe"}),n=(0,np.join)(e.stdout,"libexec","bin");await U(n);break;}case"linux":if(ei())r=await ec("python",t);else if(eo())r=await es([{name:"python3",version:t}]);else if(el())r=await B([{name:"python3",version:t},{name:"python-is-python3"}]);else throw Error("Unsupported linux distributions");break;default:throw Error("Unsupported platform");}return r;}async function eV(e){for(let t of["python3","python"]){let r=await eX(t,e);if(void 0!==r)return r;}}async function eX(e,t){try{if(void 0!==t){let r=(0,np.join)(t,(0,np.addExeExt)(e));if((await(0,nl.pathExists)(r))&&(await eM(r,aE.python)))return r;}for(let t of(await u(rI)(e,{nothrow:!0,all:!0}))??[])if(await eM(t,aE.python))return t;}catch{}}async function eW(e){let t=await eY();return void 0===t?((0,ry.info)("pip was not found. Installing pip"),await eJ(e),eY()):t;}async function eY(){for(let e of["pip3","pip"]){let t=await eK(e);if(void 0!==t)return t;}}async function eK(e){try{for(let t of(await u(rI)(e,{nothrow:!0,all:!0}))??[])if(null!==t&&(await eM(t,aE.pip)))return t;}catch{}}async function eJ(e){(await eQ(e))||(await tt("pip"),await eQ(e));}async function eQ(e){try{return await x(e,["-m","ensurepip","-U","--upgrade"],{stdio:"inherit"}),!0;}catch(t){(0,ry.info)(t?.toString?.());try{return await x(e,["-m","pip","install","--upgrade","pip"],{stdio:"inherit"}),!0;}catch(e){(0,ry.info)(e?.toString?.());}}return!1;}async function eZ(e){let t=[];"linux"===process.platform?t.push("/home/runner/.local/bin/"):"darwin"===process.platform&&t.push("/usr/local/bin/");let r=(await(0,nw.getExecOutput)(`${e} -c "import sys;print(sys.base_exec_prefix);"`)).stdout.trim();return t.push((0,np.join)(r,"Scripts"),(0,np.join)(r,"Scripts","bin"),(0,np.join)(r,"bin")),[...new Set(t)];}function e0(e,t,r=null){return e1(t)&&"linux"===process.platform&&null!==r&&e in ay?function(e,t){let r=e[0],n=Object.keys(t).map(e=>parseInt(e,10)).sort((e,t)=>t-e).find(e=>r>=e);return void 0===n?"":t[n];}(r,ay[e]):e1(t)&&e in ag?ag[e]:"true"===t?"":t??"";}function e1(e){return"true"===e||void 0===e;}async function e2(){var e,t;if("linux"!==process.platform)return[];let r=await(e="lsb_release",t=["-a"],new Promise((r,n)=>{t7.execFile(e,t,{encoding:"utf8",shell:!1},(i,o,s)=>{if(i){if("errno"in i&&"ENOENT"===i.code){r(null);return;}n(Error(`Could not execute \`${e} ${t.join(" ")}\`: ${i} (stderr=${s})`));return;}r(o);});}));if(null===r)return[];let n=null,i=null,o=!1;for(let e of r.split("\n")){let t=e.match(/^Distributor ID:\s*(.+)$/);if(null!==t){if("Ubuntu"!==t[1])return[];o=!0;}let r=e.match(/^Description:\s*Ubuntu\s+(\d+)\.(\d+)(?:\.(\d+))?/);r&&(n=r);let s=e.match(/^Release:\s*(\d+)\.(\d+)(?:\.(\d+))?$/);if(s&&(i=s),o&&n&&i)break;}if(!o)return[];for(let e of[n,i])if(e){let t=[e[1],e[2]];return e[3]&&t.push(e[3]),t.map(e=>parseInt(e,10));}return[];}async function e3(){try{if(!el())return null;{try{null===u(rI).sync("lsb_release",{nothrow:!0})&&(await B([{name:"lsb-release"}]));}catch{return e4();}let e=await(0,nD.getUbuntuVersion)();if(0===e.length)return e4();return e;}}catch(e){return(0,ry.warning)(e.toString()),null;}}function e4(){let e=u(nV).version().split("."),t=parseInt(e[0].replace("#",""),10);return[t,parseInt(e[1].replace("~",""),10),parseInt(e[2].split("-")[0],10)];}async function e6(e,t,r={}){return e8(await ab(),e,t,r);}async function e8(e,t,r,n={}){let{usePipx:i=!0,user:o=!0,upgrade:s=!1,isLibrary:a=!1}=n,l=i&&!a&&(await e5(e)),u=l?"pipx":"pip";if(await e9(e,t))try{(0,no.info)(`Installing ${t} ${r??""} via ${u}`);let n=void 0!==r&&""!==r?`${t}==${r}`:t;b(e,["-m",u,...(s?l?["upgrade"]:["install","--upgrade"]:["install"]),...(!l&&o?["--user"]:[]),n],{stdio:"inherit"});}catch(e){if((0,no.info)(`Failed to install ${t} via ${u}: ${e}.`),(await tt(t))===null)throw Error(`Failed to install ${t} via ${u}: ${e}.`);}else if((await tt(t))===null)throw Error(`Failed to install ${t} as it was not found via ${u} or the system package manager`);let c=await aw(e),p=await te(c,t);return await U(p),{binDir:p};}async function e5(e){return 0===(await x(e,["-m","pipx","--help"],{stdio:"ignore",reject:!1})).exitCode;}async function e7(){let e=(await eG(e0("python",void 0,await ax()),"",process.arch)).bin;if(void 0===e)throw Error("Python binary was not found");return e;}async function e9(e,t){return 0===(await x(e,["-m","pip","-qq","index","versions",t],{stdio:"ignore",reject:!1})).exitCode;}async function te(e,t){let r=(await Promise.all(e.map(e=>(0,nl.pathExists)((0,np.join)(e,(0,np.addExeExt)(t)))))).findIndex(e=>e);if(-1!==r)return e[r];let n=u(rI).sync((0,np.addExeExt)(t),{nothrow:!0});return null!==n?(0,np.dirname)(n):e[e.length-1];}function tt(e){if("linux"===process.platform){if((0,no.info)(`Installing ${e} via the system package manager`),ei())return ec("python-"+e);if(eo())return es([{name:"python3-"+e}]);if(el())return B([{name:"python3-"+e}]);}return null;}async function tr(e,t,r){switch(process.platform){case"win32":return await en("cppcheck",e),{binDir:await tn()};case"darwin":return et("cppcheck",e);case"linux":if(ei())return ec("cppcheck",e);if(eo())return es([{name:"ccache",version:e}]);if(el())return B([{name:"cppcheck",version:e}]);throw Error("Unsupported linux distribution");default:throw Error("Unsupported platform");}}async function tn(){let e="C:/Program Files/Cppcheck";return await U(e),e;}async function ti(e,t,r){switch(process.platform){case"win32":return await en("graphviz",e),to();case"darwin":return et("graphviz",e);case"linux":if(ei())return ec("graphviz",e);if(eo())return es([{name:"graphviz",version:e}]);if(el())return B([{name:"graphviz",version:e}]);throw Error("Unsupported linux distribution");default:throw Error("Unsupported platform");}}async function to(){if("win32"===process.platform){let e="C:/Program Files/Graphviz/bin";return await U(e),{binDir:e};}throw Error("Unsupported platform");}function ts(e,t,r){switch(t){case"linux":{let t="doxygen-"+e;return{binRelativeDir:"bin/",binFileName:(0,np.addExeExt)("doxygen"),extractedFolderName:t,extractFunction:nf.extractTar,url:`https://www.doxygen.nl/files/${t}.linux.bin.tar.gz`};}case"win32":{let t="doxygen-"+e;return{binRelativeDir:"",binFileName:(0,np.addExeExt)("doxygen"),extractedFolderName:t,extractFunction:eT,url:`https://www.doxygen.nl/files/${t}.windows.x64.bin.zip`};}default:throw Error(`Unsupported platform '${t}'`);}}async function ta(e,t,r){switch(process.platform){case"win32":{await u(nC)(()=>en("doxygen.install",e),{name:"doxygen.install",max:4,backoffBase:2e3,report:e=>(0,ry.info)(e)});let t=await tl();return await ti(e0("graphviz",void 0),"",r),{binDir:t};}case"darwin":{let e=await et("doxygen",void 0);return await ti(e0("graphviz",void 0),"",r),e;}case"linux":{let n;if(""===e||ei()||eo()){if(ei())n=await ec("doxygen",e);else if(eo())return es([{name:"doxygen",version:e}]);else if(el())n=await B([{name:"doxygen",version:e}]);else throw Error("Unsupported linux distributions");}else if(el())try{n=await eb("doxygen",e,ts,t,r),await B([{name:"libclang-cpp9"}]);}catch(e){(0,ry.notice)(`Failed to download doxygen binary. ${e}. Falling back to apt-get.`),n=await B([{name:"doxygen"}]);}else throw Error("Unsupported linux distributions");return await ti(e0("graphviz",void 0,await ax()),"",r),n;}default:throw Error("Unsupported platform");}}async function tl(){if("win32"===process.platform){for(let e of["C:/ProgramData/chocolatey/bin","C:/Program Files/doxygen/bin","C:/Program Files (x86)/doxygen"])if(await(0,nl.pathExists)((0,np.join)(e,"doxygen.exe")))return await U(e),e;throw Error("Failed to find doxygen binary");}throw Error("Unsupported platform");}async function tu(){if("darwin"===process.platform)try{let e=await(0,nw.getExecOutput)("xcrun --sdk macosx --show-sdk-path"),t=e.stdout||e.stderr;t?await D("SDKROOT",t.trim()):(0,ry.error)("SDKROOT not set");}catch(e){(0,ry.error)(e);}}function tc(e,t,r){if("win32"===t){let t=aR[e];if(void 0===t)throw Error(`mingw version ${e} is not supported`);return{binRelativeDir:"bin/",binFileName:(0,np.addExeExt)("g++"),extractedFolderName:"mingw64",extractFunction:eI,url:`https://github.com/brechtsanders/winlibs_mingw/releases/download/${t.releaseName}/winlibs-${"ia32"===r?"i686":"x86_64"}-posix-seh-gcc-${t.fileSuffix}.7z`};}throw Error(`Unsupported platform '${t}'`);}async function tp(e,t,r,n=40){let i;switch(process.platform){case"win32":("arm"===r||"arm64"===r)&&(await en("gcc-arm-embedded",e));try{i=await eb("g++",e,tc,t,r);}catch(t){(0,ry.info)(`Failed to download g++ binary. ${t}. Falling back to chocolatey.`),i=await tf(e,r);}break;case"darwin":i=await et("gcc",e);break;case"linux":"x64"===r?ei()?i=await ec("gcc",e):eo()?i=await es([{name:"gcc",version:e},{name:"gcc-c++",version:e},{name:"libstdc++-devel"}]):el()&&(i=await B([{name:"gcc",version:e,repositories:["ppa:ubuntu-toolchain-r/test"]},{name:"g++",version:e,repositories:["ppa:ubuntu-toolchain-r/test"]}])):((0,ry.info)(`Install g++-multilib because gcc for ${r} was requested`),ei()?await ec("gcc-multilib",e):el()&&(await B([{name:"gcc-multilib",version:e,repositories:["ppa:ubuntu-toolchain-r/test"]}])));break;default:throw Error("Unsupported platform for "+r);}if(void 0!==i)return await th(e,i.binDir,n),i;}async function td(e,t,r){let n;switch(process.platform){case"win32":case"darwin":return tp(e,t,r);case"linux":ei()?n=await ec("mingw-w64-gcc",e):eo()?n=await es([{name:"mingw64-gcc",version:e}]):el()&&(n=await B([{name:"mingw-w64",version:e,repositories:["ppa:ubuntu-toolchain-r/test"]}]));break;default:throw Error("Unsupported platform for "+r);}if(void 0!==n)return n;}async function tf(e,t){let r;if(await en("mingw",e),"x64"===t&&(await(0,nl.pathExists)("C:/tools/mingw64/bin"))?(r="C:/tools/mingw64/bin",await U(r)):"ia32"===t&&(await(0,nl.pathExists)("C:/tools/mingw32/bin"))?(r="C:/tools/mingw32/bin",await U(r)):(await(0,nl.pathExists)(`${process.env.ChocolateyInstall??"C:/ProgramData/chocolatey"}/bin/g++.exe`))&&(r=`${process.env.ChocolateyInstall??"C:/ProgramData/chocolatey"}/bin`),void 0!==r)return{binDir:r};}async function th(e,t,r=40){let n=[];if("win32"===process.platform)n.push(D("CC",(0,np.addExeExt)(`${t}/gcc`)),D("CXX",(0,np.addExeExt)(`${t}/g++`)));else{let i=u(nU)(u(nT)(e)??e);i>=5?(n.push(D("CC",`${t}/gcc-${i}`),D("CXX",`${t}/g++-${i}`)),el()&&n.push(J("cc",`${t}/gcc-${i}`,r),J("cxx",`${t}/g++-${i}`,r),J("gcc",`${t}/gcc-${i}`,r),J("g++",`${t}/g++-${i}`,r))):(n.push(D("CC",`${t}/gcc-${e}`),D("CXX",`${t}/g++-${e}`)),el()&&n.push(J("cc",`${t}/gcc-${e}`,r),J("cxx",`${t}/g++-${e}`,r),J("gcc",`${t}/gcc-${e}`,r),J("g++",`${t}/g++-${e}`,r)));}n.push(tu()),rE.GITHUB_ACTIONS&&(await tm()),await Promise.all(n);}async function tm(){let e=(0,np.join)(nj,"gcc_matcher.json");if(!(await(0,nl.pathExists)(e)))return(0,ry.warning)("the gcc_matcher.json file does not exist in the same folder as setup-cpp.js");(0,ry.info)("::add-matcher::"+e);}function tv(e,t,r){let n=function(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,np.addExeExt)("ninja"),extractedFolderName:"",extractFunction:eT,url:`https://github.com/ninja-build/ninja/releases/download/v${e}/ninja-${n}.zip`};}function tg(e,t,r){return eb("ninja",e,tv,t,r);}function tE(e){return{url:`https://github.com/SimonKagstrom/kcov/releases/download/${e}/kcov-amd64.tar.gz`,extractedFolderName:"",binRelativeDir:"usr/local/bin",binFileName:(0,np.addExeExt)("kcov"),extractFunction:eC};}function ty(e){return{url:`https://github.com/SimonKagstrom/kcov/archive/refs/tags/${e}.tar.gz`,extractedFolderName:"",binRelativeDir:"build/src",binFileName:(0,np.addExeExt)("kcov"),extractFunction:tw};}async function tw(e,t){let r=await eC(e,t,["--strip-components=1"]),n=await tx();"linux"===process.platform&&(ei()?await Promise.all([ec("libdwarf"),ec("libcurl-openssl")]):eo()?await es([{name:"libdwarf-devel"},{name:"libcurl-devel"}]):el()&&(await B([{name:"libdw-dev"},{name:"libcurl4-openssl-dev"}])));try{if(null!==u(rI).sync("patch",{nothrow:!0})){let e=(0,np.join)(nM,"gcc13.patch");await x("patch",["-N","-p1","-i",e],{cwd:r,stdio:"inherit"});}else(0,ry.info)("`patch` not found, skipping gcc13.patch, kcov may not build on gcc 13");}catch{}let i=(0,np.join)(r,"build");return await x(n,["-S",r,"-B",i,"-DCMAKE_BUILD_TYPE=Release","-G","Ninja"],{cwd:r,stdio:"inherit"}),await x(n,["--build",i,"--config","Release"],{cwd:r,stdio:"inherit"}),r;}async function tx(){let e=u(rI).sync("cmake",{nothrow:!0});if(null===e){let{binDir:t}=await eA(e0("cmake",void 0,await ax()),(0,np.join)($(""),"cmake"),"");e=(0,np.join)(t,"cmake");}return null===u(rI).sync("ninja",{nothrow:!0})&&(await tg(e0("ninja",void 0,await ax()),(0,np.join)($(""),"ninja"),"")),e;}async function tb(e,t,r){var n;let i;if("linux"!==process.platform){(0,ry.info)("Kcov is not supported on non-linux");return;}let o=e.split("-"),s=(n=o[0]).match(/^v/)?n:"v"+n,a=o[1],l=parseInt(s.replace(/^v/,""),10);return 38===l&&(s="v38"),"binary"===a&&l>=39?(i=await eb("kcov",s,tE,t,r),ei()?await ec("binutils"):eo()?await es([{name:"binutils"}]):el()&&(await B([{name:"libbinutils"}]))):i=await eb("kcov",s,ty,t,r),i;}function tR(e){if(Object.values(aC).includes(e));else if(e in aC)return aC[e];return e;}function tI(e){let t;let r=tR(e);if(r){let e=r.split(".")[0]+".9";t=`-version "${r},${e}"`;}else t="-latest";let n=function(e,t){try{return t7.execSync(`vswhere -products * ${t} -prerelease -property installationPath`).toString().trim()+"\\"+e;}catch(e){no.warning("vswhere failed: "+e);}return null;}("VC\\Auxiliary\\Build\\vcvarsall.bat",t);if(n&&nW.existsSync(n))return no.info("Found with vswhere: "+n),n;no.info("Not found with vswhere");let i=e?[function(e){if(Object.keys(aC).includes(e));else for(let[t,r]of Object.entries(aC))if(r===e)return t;return e;}(e)]:aT;for(let e of aO)for(let t of i)for(let r of aS)if(n=`${e}\\Microsoft Visual Studio\\${t}\\${r}\\VC\\Auxiliary\\Build\\vcvarsall.bat`,no.info("Trying standard location: "+n),nW.existsSync(n))return no.info("Found standard location: "+n),n;if(no.info("Not found in standard locations"),n=`${aI}\\Microsoft Visual C++ Build Tools\\vcbuildtools.bat`,nW.existsSync(n))return no.info("Found VS 2015: "+n),n;throw no.info("Not found in VS 2015 location: "+n),Error("Microsoft Visual Studio not found");}async function tO(e,t,r,n,i,o,s){void 0!==t&&(await(0,nl.pathExists)(t))&&((0,ry.info)(`Adding ${t} to PATH`),await D("VCTargetsPath",t)),nB(function(e){switch(e){case"x32":case"32":case"ia32":return"x86";case"64":return"x64";default:return e;}}(r),i,n,o,s,e);}async function tS(e,t,r,n,i,o,s,a=aN){(0,no.startGroup)(`Installing ${e} ${t}`);let l=!1;try{l=await function(e,t){let r;let{milliseconds:n,fallback:i,message:o,customTimers:s={setTimeout:setTimeout,clearTimeout:clearTimeout}}=t,a=new Promise((a,l)=>{if("number"!=typeof n||1!==Math.sign(n))throw TypeError(`Expected \`milliseconds\` to be a positive number, got \`${n}\``);if(t.signal){let{signal:e}=t;e.aborted&&l(aL(e)),e.addEventListener("abort",()=>{l(aL(e));});}if(n===Number.POSITIVE_INFINITY){e.then(a,l);return;}let u=new aA();r=s.setTimeout.call(void 0,()=>{if(i){try{a(i());}catch(e){l(e);}return;}"function"==typeof e.cancel&&e.cancel(),!1===o?a():o instanceof Error?l(o):(u.message=o??`Promise timed out after ${n} milliseconds`,l(u));},n),(async()=>{try{a(await e);}catch(e){l(e);}})();}).finally(()=>{a.clear();});return a.clear=()=>{s.clearTimeout.call(void 0,r),r=void 0;},a;}(tT(e,t,r,n,l,i,o),{milliseconds:a,message:`Timeout while installing ${e} ${t}. You can increase the timeout from options`});}catch(t){(0,ry.error)(t),s.push(`${e} failed to install`);}return(0,no.endGroup)(),l;}async function tT(e,t,r,n,i,o,s){let a;if("vcvarsall"===e)await tO(e0(e,t,r),void 0,n,void 0,void 0,!1,!1);else{let s=aW[e];i=["llvm","clangformat","clangtidy"].includes(e);let l=(0,np.join)(o,i?"llvm":e);a=await s(e0(e,t,r),l,n);}return s.push(tQ(e,a)),i;}async function tC(e,t=0){let r="/usr/lib/llvm-"+e;await B([{name:"curl"}]),await x("curl",["-LJO","https://apt.llvm.org/llvm.sh"],{cwd:"/tmp"});let n=await t$("/tmp/llvm.sh","/tmp/llvm-setup-cpp.sh",e,t);return await B(n),await aU("/tmp/llvm-setup-cpp.sh","755"),await O("bash",["/tmp/llvm-setup-cpp.sh",""+e,...(0===t?["all"]:[])],{stdio:"inherit",shell:!0,timeout:aN}),await U(`${r}/bin`),{installDir:""+r,binDir:`${r}/bin`,bin:`${r}/bin/clang++`};}async function t$(e,t,r,n){var i,o,s,a,l;let u=await ak(e,"utf-8");return o=n,s=u=(i=u,u=process.env.NODE_DEBUG?i:i.replace(/set -eux/g,"set -eu")).replace(/add-apt-repository "\${REPO_NAME}"/g,'add-apt-repository -y "${REPO_NAME}"'),a=r,u=1===o?s.replace(/ -y \$PKG/g," -y clang-format-"+a):s,l=u=await tA(u),u=z()?l.replace(/apt-get/g,"nala"):l,await aD(t,u),[{name:"lsb-release"},{name:"wget"},{name:"software-properties-common"},{name:"gnupg"}];}async function tA(e){let t=e.replace(/apt-get install -y/g,'apt-get install -o Dpkg::Options::="--force-overwrite" -y --fix-broken');return await Promise.all(["libc++-$LLVM_VERSION-dev","libc++abi-$LLVM_VERSION-dev","libunwind-$LLVM_VERSION-dev"].map(async e=>{let r=e.replace("$LLVM_VERSION","*");(await Q(r))&&((0,rd.info)("Removing conflicting package "+r),t=t.replace(e,""));})),t;}function t_(e,t,r){let n=`${t}${e}${r}`;return`https://github.com/llvm/llvm-project/releases/download/llvmorg-${e}/${n}`;}function tP(e,t,r){let n=`${t}${e}${r}`;return`https://releases.llvm.org/${e}/${n}`;}async function tL(e){let t;if(aM.has(e))return null;let r="LLVM-",n=u(nS)(e,"3.7.0")?"-win32.exe":"-win64.exe",i=u(nS)(e,"9.0.1"),o=!1;return i&&(t=tP(e,r,n),(await nL(t))||(o=!0)),(o||!i)&&(t=t_(e,r,n)),t;}function tN(e,t){switch(e){case"darwin":return function(e){if(aF.has(e))return null;let t="9.0.0"===e?"-darwin-apple":"-apple-darwin",r="clang+llvm-",n=`-x86_64${t}.tar.xz`;return u(nS)(e,"9.0.1")?tP(e,r,n):t_(e,r,n);}(t);case"linux":return function(e){let t,r,n=e,i=aG.get(n);if(void 0!==i&&(n=i),n.includes("ubuntu")){let e=n.replace(/-ubuntu-.*/,"");if(!aj.has(e))throw Error("Unsupported Ubuntu version: "+e);t=n.replace(e,""),n=eD(aj,e)[0];}else""!==n&&n in aB?t=aB[n]:(t=aB[aH],(0,ry.warning)(`Falling back to LLVM version ${aH} ${t} for the Ubuntu.`));let o="clang+llvm-";return(r="5.0.0"===n?`-linux-x86_64${t}.tar.xz`:t.includes("-rhel86")?`-x86_64-unknown-linux-gnu${t}.tar.xz`:`-x86_64-linux-gnu${t}.tar.xz`,u(nS)(n,"9.0.1"))?tP(n,o,r):t_(n,o,r);}(t);case"win32":return tL(t);default:return null;}}async function tk(e,t,r){let[n,i]=await eU(aj,t,e,tN);return(0,ry.info)("specific llvm version: "+n),{url:i,extractedFolderName:"",binRelativeDir:"bin",binFileName:(0,np.addExeExt)("clang"),extractFunction:"win32"===t?eS:(e,t)=>eC(e,t,["--strip-components=1"])};}async function tD(e,t,r){let n=await aq(e,t,r);return await tG(n.installDir??t),n;}async function tU(e,t,r){let[n,i,o]=await Promise.all([tj(e,t,r),aV(r),tB()]);return n;}async function tj(e,t,r,n=nH.All){let i=parseInt(function(e){if(null===u(nk)(e))try{let t=u(nT)(e);if(null!==t)return(0,ry.info)(`Coerced version '${e}' to '${t}'`),t.version;}catch(e){}return e;}(e).split(".")[0],10);try{if(el())return await tC(i,n);}catch(e){(0,ry.info)("Failed to install llvm via system package manager "+e);}let o=await eb("llvm",e,tk,t,r);return await az(i),o;}async function tM(e){el()&&(e<=10?await B([{name:"libtinfo5"}]):await B([{name:"libtinfo-dev"}]));}async function tF(e){"linux"===process.platform&&(await tp(e0("gcc",void 0,await ax()),"",e,40));}async function tG(e){let t=process.env.LD_LIBRARY_PATH??"",r=process.env.DYLD_LIBRARY_PATH??"",n=[D("LLVM_PATH",e),D("LD_LIBRARY_PATH",`${e}/lib${nX.delimiter}${t}`),D("DYLD_LIBRARY_PATH",`${e}/lib${nX.delimiter}${r}`),D("LDFLAGS",`-L"${e}/lib"`),D("CPPFLAGS",`-I"${e}/include"`),D("CC",(0,np.addExeExt)(`${e}/bin/clang`)),D("CXX",(0,np.addExeExt)(`${e}/bin/clang++`)),D("LIBRARY_PATH",`${e}/lib`),tu()];el()&&n.push(J("cc",`${e}/bin/clang`,60),J("cxx",`${e}/bin/clang++`,60),J("clang",`${e}/bin/clang`),J("clang++",`${e}/bin/clang++`),J("lld",`${e}/bin/lld`),J("ld.lld",`${e}/bin/ld.lld`),J("llvm-ar",`${e}/bin/llvm-ar`)),await Promise.all(n);}async function tB(){if(rE.GITHUB_ACTIONS){let e=(0,np.join)(nq,"llvm_matcher.json");if(!(await(0,nl.pathExists)(e)))return(0,ry.warning)("the llvm_matcher.json file does not exist in the same folder as setup-cpp.js");(0,ry.info)("::add-matcher::"+e);}}async function tH(e,t,r){switch(process.platform){case"win32":return en("make",e);case"darwin":return await et("make",e),await U("/usr/local/opt/make/libexec/gnubin"),{binDir:"/usr/local/opt/make/libexec/gnubin"};case"linux":if(ei())return ec("make",e);if(eo())return es([{name:"make",version:e}]);if(el())return B([{name:"make",version:e}]);throw Error("Unsupported linux distribution");default:throw Error("Unsupported platform");}}async function tq(e,t,r,n,i,o){let s,a;if("win32"!==process.platform)return;let l=nF(e);(0,ry.info)(`Checking if MSVC ${l} is already installed`);let u=!1;try{let e=nG(l);u=!0,(0,ry.info)("Found the pre-installed version of MSVC at "+e);}catch{}if(!u)try{"14.0"===l?(s="14.0",await en("visualcpp-build-tools","14.0.25420.1",["--ignore-dependencies"]),a="C:/Program Files (x86)/MSBuild/Microsoft.Cpp/v4.0/v140"):"15.0"===l?(s="14.16",await en("visualstudio2017buildtools","15.9.41.0",[]),a="C:/Program Files (x86)/Microsoft Visual Studio/2017/BuildTools/VC/Tools/MSVC/14.16"):"16.0"===l?(s="14.29",await en("visualstudio2019buildtools","16.11.7.0",[]),a="C:/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.29.30133"):"17.0"===l?(s=void 0,await en("visualstudio2022buildtools","117.0.5.0",[]),a=void 0):(0,ry.error)(`The given MSVC versions ${e} is not supported yet.`);}catch(e){(0,ry.error)(e);}await tO(l,a,r,s,n,i,o),rE.GITHUB_ACTIONS&&(await tz());}async function tz(){let e=(0,np.join)(nz,"msvc_matcher.json");if(!(await(0,nl.pathExists)(e)))return(0,ry.warning)("the msvc_matcher.json file does not exist in the same folder as setup-cpp.js");(0,ry.info)("::add-matcher::"+e);}async function tV(e,t,r){if(!el())return;if("string"==typeof i)return{binDir:i};let n=u(rI).sync("nala",{nothrow:!0});if(null!==n)return{binDir:i=(0,np.dirname)(n)};let o=await K("volian-archive-scar-unstable.gpg","https://deb.volian.org/volian/scar.key");I("/bin/bash",["-c",`echo "deb [signed-by=${o}] http://deb.volian.org/volian/ scar main" | tee /etc/apt/sources.list.d/volian-archive-scar-unstable.list`]);try{"legacy"!==e?await B([{name:"nala"}],!0):await B([{name:"nala-legacy"}],!0);}catch(e){await B([{name:"nala-legacy"}],!0);}return{binDir:i="/usr/bin"};}async function tX(e,t,r){if("win32"===process.platform)return await en("opencppcoverage",e),{binDir:await tW()};}async function tW(){let e="C:/Program Files/OpenCppCoverage";return await U(e),e;}async function tY(e,t,r){switch(process.platform){case"win32":{await en("powershell-core",e);let t="C:/Program Files/PowerShell/7";return await U(t),{binDir:t};}case"darwin":return et("powershell",e,["--cask"]);case"linux":if(ei())return ec("powershell-bin",e,"yay");if(eo())return es([{name:"curl"}]),I("/bin/bash",["-c","curl https://packages.microsoft.com/config/rhel/8/prod.repo | sudo tee /etc/yum.repos.d/microsoft.repo"]),es([{name:"powershell",version:e}]);if(el()){await B([{name:"curl"}]);let t=await ax(),r=`${t[0]}.0${t[1]}`;return I("curl",["-LJO",`https://packages.microsoft.com/config/ubuntu/${r}/packages-microsoft-prod.deb`]),I("dpkg",["-i","packages-microsoft-prod.deb"]),B([{name:"powershell",version:e}],!0);}throw Error("Unsupported linux distribution");default:throw Error("Unsupported platform");}}function tK(e,t,r){var n;let i="win32"===(n=t)?"windows":n,o=function(e){switch(e){case"x64":return"amd64";case"ia32":case"x86":case"i386":case"x32":return"386";default:return e;}}(r),s="win32"===t;return{binRelativeDir:"",binFileName:(0,np.addExeExt)("task"),extractedFolderName:"",extractFunction:s?eT:eC,url:`https://github.com/go-task/task/releases/download/v${e}/task_${i}_${o}.${s?"zip":"tar.gz"}`};}async function tJ(e,t,r){return aX&&null!==u(rI).sync("vcpkg",{nothrow:!0})?{binDir:(0,np.dirname)(u(rI).sync("vcpkg"))}:("linux"===process.platform&&(ei()?await Promise.all([ec("curl"),ec("zip"),ec("unzip"),ec("tar"),ec("git"),ec("pkg-config")]):eo()?await es([{name:"curl"},{name:"zip"},{name:"unzip"},{name:"tar"},{name:"git"},{name:"pkg-config"}]):el()&&(await B([{name:"curl"},{name:"zip"},{name:"unzip"},{name:"tar"},{name:"git"},{name:"pkg-config"}]))),(await(0,nl.pathExists)((0,np.join)(t,(0,np.addShExt)("bootstrap-vcpkg",".bat"))))?(0,ry.notice)(`Vcpkg folder already exists at ${t}. This might mean that ~/vcpkg is restored from the cache.`):b("git",["clone","https://github.com/microsoft/vcpkg"],{cwd:(0,np.dirname)(t),stdio:"inherit"}),b((0,np.addShExt)((0,np.addShRelativePrefix)("bootstrap-vcpkg"),".bat"),{cwd:t,shell:!0,stdio:"inherit"}),await C(t),await U(t),aX=!0,{binDir:t});}function tQ(e,t){let r=`\u{2705} ${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;}async function tZ(e,t,r,n,i,o,s){try{let{compiler:a,version:l}=function(e){let t=e.split("-"),r=t[0];if(1 in t){let e=t[1];return null!==u(nk)(e)||(0,ry.info)(`Invalid semver version ${e} used for the compiler.`),{compiler:r,version:e};}return{compiler:r,version:void 0};}(e);switch((0,no.startGroup)(`Installing ${a} ${l??""}`),a){case"llvm":case"clang":case"clang++":{let e=await tD(e0("llvm",l,t),(0,nX.join)(r,"llvm"),n);await D("GCOV","llvm-cov gcov"),i.push(tQ("llvm",e));break;}case"gcc":case"mingw":case"cygwin":case"msys":{let e="mingw"===a?e0("mingw",l,t):e0("gcc",l,t),s="mingw"===a?await td(e,(0,nX.join)(r,"gcc"),n):await tp(e,(0,nX.join)(r,"gcc"),n);o&&(await D("CPPFLAGS","")),await function(e){let t=u(nk)(e),r=null!==t?u(nU)(t):e;return D("GCOV",""!==r?"gcov-"+r:"gcov");}(e),i.push(tQ("gcc",s));break;}case"cl":case"msvc":case"msbuild":case"vs":case"visualstudio":case"visualcpp":case"visualc++":{let e=await tq(e0("msvc",l,t),(0,nX.join)(r,"msvc"),n);o&&(await D("CPPFLAGS","")),i.push(tQ("msvc",e));break;}case"appleclang":case"applellvm":(0,no.notice)("Assuming apple-clang is already installed"),await Promise.all([D("CC","clang"),D("CXX","clang++")]),i.push(tQ("apple-clang",void 0));break;default:s.push("Unsupported compiler "+a);}}catch(t){(0,ry.error)(t),s.push("Failed to install the "+e);}(0,no.endGroup)();}async function t0(e){let t,r,n=Promise.resolve();rE.GITHUB_ACTIONS||(n=P(),process.env.ACTIONS_ALLOW_UNSECURE_COMMANDS="true");let i=function(e,t){t=t||{};var r,n,i,o,s,a={_:[]},l=0,u=0,c=0,p=(e=e||[]).length;let d=void 0!==t.alias,f=void 0!==t.unknown,h=void 0!==t.default;if(t.alias=t.alias||{},t.string=L(t.string),t.boolean=L(t.boolean),d)for(r in t.alias)for(l=0,n=t.alias[r]=L(t.alias[r]);l0;)for(u=(n=t.alias[t.boolean[l]]||[]).length;u-->0;)t.boolean.push(n[u]);for(l=t.string.length;l-->0;)for(u=(n=t.alias[t.string[l]]||[]).length;u-->0;)t.string.push(n[u]);if(h){for(r in t.default)if(o=typeof t.default[r],n=t.alias[r]=t.alias[r]||[],void 0!==t[o])for(t[o].push(r),l=0;ll;l++){if("--"===(i=e[l])){a._=a._.concat(e.slice(++l));break;}for(u=0;u0;)a[n.shift()]=a[r];return a;}(e,{string:[...aK,"timeout"],default:Object.fromEntries(aK.map(e=>[e,function(e){let t=(0,no.getInput)(e.toLowerCase());if("false"!==t&&""!==t)return t;}(e)])),alias:{h:"help"},boolean:"help"});i.help&&((0,ry.info)(` setup-cpp [options] setup-cpp --compiler llvm --cmake true --ninja true --ccache true --vcpkg true @@ -25,16 +25,15 @@ Install all the tools required for building and testing C++/C projects. --$tool_name pass "true" or pass the you would like to install for this tool. e.g. --conan true or --conan "1.42.1" All the available tools: -`),console.table({"compiler and analyzer":{tools:"--llvm, --gcc, --msvc, --vcvarsall, --cppcheck, --clangtidy, --clangformat"},"build system":{tools:"--cmake, --ninja, --meson, --make, --task, --bazel"},"package manager":{tools:"--vcpkg, --conan, --choco, --brew, --nala"},cache:{tools:"--cppcache, --sccache"},documentation:{tools:"--doxygen, --graphviz"},coverage:{tools:"--gcovr, --opencppcoverage, --kcov"},other:{tools:"--python, --powershell, --sevenzip"}},["tools"]));let o=i.architecture??process.arch,s=process.env.SETUP_CPP_DIR??w(""),a=[],l=[],u=ry.create({autoloadLocales:!0});ry.addLocale(c(rw)),rv.addLocale(c(rE));let p=await aX();if(!function(e,t){let r=t.filter(t=>void 0!==e[t]),n=r.filter(t=>!eZ(e[t])),i=n.length>=1?e[n[0]]:"true";return!n.some(t=>e[t]!==i)&&(r.forEach(t=>{e[t]=i;}),!0);}(i,["llvm","clangtidy","clangformat"]))return(0,rg.error)("The same version must be used for llvm, clangformat and clangtidy"),1;er()&&"string"==typeof i.cppcheck&&"string"==typeof i.gcovr&&((0,rg.info)("installing python-pygments to avoid conflicts with cppcheck and gcovr on Arch linux"),await el("python-pygments"));let d=!1,f=!1;for(let e of ld){if(rm.isCI&&0!==l.length){f=!0;break;}let n=i[e];void 0!==n&&(t=Date.now(),d=await tI(e,n,p,o,s,a,l,6e4*parseFloat(i.timeout??"20")),r=Date.now(),(0,rg.info)("took "+(u.format(t,r)||"0 seconds")));}if(!f){let e=i.compiler;if(void 0!==e){let t=Date.now();await tJ(e,p,s,o,a,d,l);let r=Date.now();(0,rg.info)("took "+(u.format(t,r)||"0 seconds"));}}if(await U(),0===a.length&&0===l.length)return(0,rg.warning)("setup-cpp was called without any arguments. Nothing to do."),0;if(a.forEach(e=>(0,rg.success)(e)),l.forEach(e=>(0,rg.error)(e)),(0,rg.info)("setup-cpp finished"),!rm.GITHUB_ACTIONS)switch(process.platform){case"win32":(0,rg.warning)("Run `RefreshEnv.cmd` or restart your shell to update the environment.");break;case"linux":case"darwin":(0,rg.warning)("Run `source ~/.cpprc` or restart your shell to update the environment.");}return await n,0===l.length?0:1;}var tZ,t0,t1,t2,t4,t3,t6,t5,t8,t7,t9,re,rt,rr,rn,ri,ro,rs,ra,rl,rc,ru,rp,rd,rf,rh,rm,rg,rv,rE,ry,rw,rx,rb,rS,rI,rR,rO,rT,rC,r$,rA,rP,r_,rN,rL,rk,rD,rU,rj,rM,rF,rG,rB,rH,rq,rV,rW,rz,rX,rK,rY,rJ,rQ,rZ,r0,r1,r2,r4,r3,r6,r5,r8,r7,r9,ne,nt,nr,nn,ni,no,ns,na,nl,nc,nu,np,nd,nf,nh,nm,ng,nv,nE,ny,nw,nx,nb,nS,nI,nR,nO,nT,nC,n$,nA,nP,n_,nN,nL,nk,nD,nU,nj,nM,nF,nG,nB,nH,nq,nV,nW,nz,nX,nK,nY,nJ,nQ,nZ,n0,n1,n2,n4,n3,n6,n5,n8,n7,n9,ie,it,ir,ii,io,is,ia,il,ic,iu=require("os"),ip=require("path"),id=require("fs"),ih=require("crypto"),im=require("http"),ig=require("https");require("net"),t1=require("tls"),t2=require("events"),t4=require("assert"),t3=require("util"),t6=require("fs"),t5=require("child_process"),t8=require("string_decoder"),t7=require("timers"),t9=require("buffer"),re=require("stream"),rt=require("process"),rr=require("buffer"),rn=require("path"),ri=require("child_process"),ro=require("process"),rs=require("url"),ra=require("os"),rl=require("util"),rc=require("url"),ru=require("console"),rp="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{},rd={},rf={},null==(rh=rp.parcelRequire810d)&&((rh=function(e){if(e in rd)return rd[e].exports;if(e in rf){var t=rf[e];delete rf[e];var r={id:e,exports:{}};return rd[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=function(e,t){rf[e]=t;},rp.parcelRequire810d=rh),rh.register("2W4C2",function(e,t){var r;function n(e){return"string"==typeof e?!!i[e]:"env"in e?i[e.env]&&i[e.env].includes(e.includes):"any"in e?e.any.some(function(e){return!!i[e];}):Object.keys(e).every(function(t){return i[t]===e[t];});}r=rh("bIoxD");let i=process.env;Object.defineProperty(e.exports,"_vendors",{value:r.map(function(e){return e.constant;})}),e.exports.name=null,e.exports.isPR=null,r.forEach(function(t){let r=Array.isArray(t.env)?t.env:[t.env],o=r.every(function(e){return n(e);});if(e.exports[t.constant]=o,o)switch(e.exports.name=t.name,typeof t.pr){case"string":e.exports.isPR=!!i[t.pr];break;case"object":"env"in t.pr?e.exports.isPR=t.pr.env in i&&i[t.pr.env]!==t.pr.ne:"any"in t.pr?e.exports.isPR=t.pr.any.some(function(e){return!!i[e];}):e.exports.isPR=n(t.pr);break;default:e.exports.isPR=null;}}),e.exports.isCI=!!("false"!==i.CI&&(i.BUILD_ID||i.BUILD_NUMBER||i.CI||i.CI_APP_ID||i.CI_BUILD_ID||i.CI_BUILD_NUMBER||i.CI_NAME||i.CONTINUOUS_INTEGRATION||i.RUN_ID||e.exports.name));}),rh.register("bIoxD",function(e,t){e.exports=JSON.parse('[{"name":"Appcircle","constant":"APPCIRCLE","env":"AC_APPCIRCLE"},{"name":"AppVeyor","constant":"APPVEYOR","env":"APPVEYOR","pr":"APPVEYOR_PULL_REQUEST_NUMBER"},{"name":"AWS CodeBuild","constant":"CODEBUILD","env":"CODEBUILD_BUILD_ARN"},{"name":"Azure Pipelines","constant":"AZURE_PIPELINES","env":"SYSTEM_TEAMFOUNDATIONCOLLECTIONURI","pr":"SYSTEM_PULLREQUEST_PULLREQUESTID"},{"name":"Bamboo","constant":"BAMBOO","env":"bamboo_planKey"},{"name":"Bitbucket Pipelines","constant":"BITBUCKET","env":"BITBUCKET_COMMIT","pr":"BITBUCKET_PR_ID"},{"name":"Bitrise","constant":"BITRISE","env":"BITRISE_IO","pr":"BITRISE_PULL_REQUEST"},{"name":"Buddy","constant":"BUDDY","env":"BUDDY_WORKSPACE_ID","pr":"BUDDY_EXECUTION_PULL_REQUEST_ID"},{"name":"Buildkite","constant":"BUILDKITE","env":"BUILDKITE","pr":{"env":"BUILDKITE_PULL_REQUEST","ne":"false"}},{"name":"CircleCI","constant":"CIRCLE","env":"CIRCLECI","pr":"CIRCLE_PULL_REQUEST"},{"name":"Cirrus CI","constant":"CIRRUS","env":"CIRRUS_CI","pr":"CIRRUS_PR"},{"name":"Codefresh","constant":"CODEFRESH","env":"CF_BUILD_ID","pr":{"any":["CF_PULL_REQUEST_NUMBER","CF_PULL_REQUEST_ID"]}},{"name":"Codemagic","constant":"CODEMAGIC","env":"CM_BUILD_ID","pr":"CM_PULL_REQUEST"},{"name":"Codeship","constant":"CODESHIP","env":{"CI_NAME":"codeship"}},{"name":"Drone","constant":"DRONE","env":"DRONE","pr":{"DRONE_BUILD_EVENT":"pull_request"}},{"name":"dsari","constant":"DSARI","env":"DSARI"},{"name":"Expo Application Services","constant":"EAS","env":"EAS_BUILD"},{"name":"Gerrit","constant":"GERRIT","env":"GERRIT_PROJECT"},{"name":"GitHub Actions","constant":"GITHUB_ACTIONS","env":"GITHUB_ACTIONS","pr":{"GITHUB_EVENT_NAME":"pull_request"}},{"name":"GitLab CI","constant":"GITLAB","env":"GITLAB_CI","pr":"CI_MERGE_REQUEST_ID"},{"name":"GoCD","constant":"GOCD","env":"GO_PIPELINE_LABEL"},{"name":"Google Cloud Build","constant":"GOOGLE_CLOUD_BUILD","env":"BUILDER_OUTPUT"},{"name":"Harness CI","constant":"HARNESS","env":"HARNESS_BUILD_ID"},{"name":"Heroku","constant":"HEROKU","env":{"env":"NODE","includes":"/app/.heroku/node/bin/node"}},{"name":"Hudson","constant":"HUDSON","env":"HUDSON_URL"},{"name":"Jenkins","constant":"JENKINS","env":["JENKINS_URL","BUILD_ID"],"pr":{"any":["ghprbPullId","CHANGE_ID"]}},{"name":"LayerCI","constant":"LAYERCI","env":"LAYERCI","pr":"LAYERCI_PULL_REQUEST"},{"name":"Magnum CI","constant":"MAGNUM","env":"MAGNUM"},{"name":"Netlify CI","constant":"NETLIFY","env":"NETLIFY","pr":{"env":"PULL_REQUEST","ne":"false"}},{"name":"Nevercode","constant":"NEVERCODE","env":"NEVERCODE","pr":{"env":"NEVERCODE_PULL_REQUEST","ne":"false"}},{"name":"ReleaseHub","constant":"RELEASEHUB","env":"RELEASE_BUILD_ID"},{"name":"Render","constant":"RENDER","env":"RENDER","pr":{"IS_PULL_REQUEST":"true"}},{"name":"Sail CI","constant":"SAIL","env":"SAILCI","pr":"SAIL_PULL_REQUEST_NUMBER"},{"name":"Screwdriver","constant":"SCREWDRIVER","env":"SCREWDRIVER","pr":{"env":"SD_PULL_REQUEST","ne":"false"}},{"name":"Semaphore","constant":"SEMAPHORE","env":"SEMAPHORE","pr":"PULL_REQUEST_NUMBER"},{"name":"Shippable","constant":"SHIPPABLE","env":"SHIPPABLE","pr":{"IS_PULL_REQUEST":"true"}},{"name":"Solano CI","constant":"SOLANO","env":"TDDIUM","pr":"TDDIUM_PR_ID"},{"name":"Sourcehut","constant":"SOURCEHUT","env":{"CI_NAME":"sourcehut"}},{"name":"Strider CD","constant":"STRIDER","env":"STRIDER"},{"name":"TaskCluster","constant":"TASKCLUSTER","env":["TASK_ID","RUN_ID"]},{"name":"TeamCity","constant":"TEAMCITY","env":"TEAMCITY_VERSION"},{"name":"Travis CI","constant":"TRAVIS","env":"TRAVIS","pr":{"env":"TRAVIS_PULL_REQUEST","ne":"false"}},{"name":"Vercel","constant":"VERCEL","env":{"any":["NOW_BUILDER","VERCEL"]}},{"name":"Visual Studio App Center","constant":"APPCENTER","env":"APPCENTER_BUILD_ID"},{"name":"Woodpecker","constant":"WOODPECKER","env":{"CI":"woodpecker"},"pr":{"CI_BUILD_EVENT":"pull_request"}},{"name":"Xcode Cloud","constant":"XCODE_CLOUD","env":"CI_XCODE_PROJECT","pr":"CI_PULL_REQUEST_NUMBER"},{"name":"Xcode Server","constant":"XCODE_SERVER","env":"XCS"}]');}),rh.register("7Lz0k",function(e,t){var r,n;function i(e){return n.GITHUB_ACTIONS?r.error(e):console.log(`\x1b[31m${e}\x1b[0m`);}function o(e){return console.log(`\x1b[32m${e}\x1b[0m`);}function s(e){return n.GITHUB_ACTIONS?r.warning(e):console.log(`\x1b[33m${e}\x1b[0m`);}function a(e){return n.GITHUB_ACTIONS?r.notice(e):console.log(`\x1b[94m${e}\x1b[0m`);}function c(e){return n.GITHUB_ACTIONS?r.info(e):console.log(e);}l(e.exports,"error",()=>i),l(e.exports,"success",()=>o),l(e.exports,"warning",()=>s),l(e.exports,"notice",()=>a),l(e.exports,"info",()=>c),r=rh("i5trn"),n=rh("2W4C2");}),rh.register("i5trn",function(e,t){var r,n,i,o,s,a,l,c,u,p,d,f;function h(e,t){let 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 m(e,t={}){s.issueCommand("error",l.toCommandProperties(t),e instanceof Error?e.toString():e);}function g(e){s.issue("group",e);}function v(){s.issue("endgroup");}r=e.exports&&e.exports.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r];}});}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r];}),n=e.exports&&e.exports.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),i=e.exports&&e.exports.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&r(t,e,i);return n(t,e),t;},o=e.exports&&e.exports.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e));}catch(e){o(e);}}function a(e){try{l(n.throw(e));}catch(e){o(e);}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t);})).then(s,a);}l((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,s=rh("gMlpL"),a=rh("7kVRV"),l=rh("9tsrd");let E=i(iu),y=i(ip);c=rh("6dWjY"),(f=u=e.exports.ExitCode||(e.exports.ExitCode={}))[f.Success=0]="Success",f[f.Failure=1]="Failure",e.exports.exportVariable=function(e,t){let r=l.toCommandValue(t);process.env[e]=r;let n=process.env.GITHUB_ENV||"";if(n)return a.issueFileCommand("ENV",a.prepareKeyValueMessage(e,t));s.issueCommand("set-env",{name:e},r);},e.exports.setSecret=function(e){s.issueCommand("add-mask",{},e);},e.exports.addPath=function(e){let t=process.env.GITHUB_PATH||"";t?a.issueFileCommand("PATH",e):s.issueCommand("add-path",{},e),process.env.PATH=`${e}${y.delimiter}${process.env.PATH}`;},e.exports.getInput=h,e.exports.getMultilineInput=function(e,t){let r=h(e,t).split("\n").filter(e=>""!==e);return t&&!1===t.trimWhitespace?r:r.map(e=>e.trim());},e.exports.getBooleanInput=function(e,t){let r=h(e,t);if(["true","True","TRUE"].includes(r))return!0;if(["false","False","FALSE"].includes(r))return!1;throw TypeError(`Input does not meet YAML 1.2 "Core Schema" specification: ${e} -Support boolean input list: \`true | True | TRUE | false | False | FALSE\``);},e.exports.setOutput=function(e,t){let r=process.env.GITHUB_OUTPUT||"";if(r)return a.issueFileCommand("OUTPUT",a.prepareKeyValueMessage(e,t));process.stdout.write(E.EOL),s.issueCommand("set-output",{name:e},l.toCommandValue(t));},e.exports.setCommandEcho=function(e){s.issue("echo",e?"on":"off");},e.exports.setFailed=function(e){process.exitCode=u.Failure,m(e);},e.exports.isDebug=function(){return"1"===process.env.RUNNER_DEBUG;},e.exports.debug=function(e){s.issueCommand("debug",{},e);},e.exports.error=m,e.exports.warning=function(e,t={}){s.issueCommand("warning",l.toCommandProperties(t),e instanceof Error?e.toString():e);},e.exports.notice=function(e,t={}){s.issueCommand("notice",l.toCommandProperties(t),e instanceof Error?e.toString():e);},e.exports.info=function(e){process.stdout.write(e+E.EOL);},e.exports.startGroup=g,e.exports.endGroup=v,e.exports.group=function(e,t){return o(this,void 0,void 0,function*(){let r;g(e);try{r=yield t();}finally{v();}return r;});},e.exports.saveState=function(e,t){let r=process.env.GITHUB_STATE||"";if(r)return a.issueFileCommand("STATE",a.prepareKeyValueMessage(e,t));s.issueCommand("save-state",{name:e},l.toCommandValue(t));},e.exports.getState=function(e){return process.env["STATE_"+e]||"";},e.exports.getIDToken=function(e){return o(this,void 0,void 0,function*(){return yield c.OidcClient.getIDToken(e);});},p=rh("aYzS9"),Object.defineProperty(e.exports,"summary",{enumerable:!0,get:function(){return p.summary;}}),p=rh("aYzS9"),Object.defineProperty(e.exports,"markdownSummary",{enumerable:!0,get:function(){return p.markdownSummary;}}),d=rh("iGRwD"),Object.defineProperty(e.exports,"toPosixPath",{enumerable:!0,get:function(){return d.toPosixPath;}}),Object.defineProperty(e.exports,"toWin32Path",{enumerable:!0,get:function(){return d.toWin32Path;}}),Object.defineProperty(e.exports,"toPlatformPath",{enumerable:!0,get:function(){return d.toPlatformPath;}});}),rh.register("gMlpL",function(e,t){var r,n,i,o;function s(e,t,r){let n=new l(e,t,r);process.stdout.write(n.toString()+a.EOL);}r=e.exports&&e.exports.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r];}});}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r];}),n=e.exports&&e.exports.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),i=e.exports&&e.exports.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&r(t,e,i);return n(t,e),t;},Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.issue=e.exports.issueCommand=void 0;let a=i(iu);o=rh("9tsrd"),e.exports.issueCommand=s,e.exports.issue=function(e,t=""){s(e,{},t);};class l{constructor(e,t,r){e||(e="missing.command"),this.command=e,this.properties=t,this.message=r;}toString(){var e;let t="::"+this.command;if(this.properties&&Object.keys(this.properties).length>0){t+=" ";let e=!0;for(let r in this.properties)if(this.properties.hasOwnProperty(r)){let n=this.properties[r];n&&(e?e=!1:t+=",",t+=`${r}=${o.toCommandValue(n).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}`);}}return t+("::"+(e=this.message,o.toCommandValue(e).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")));}}}),rh.register("9tsrd",function(e,t){Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.toCommandProperties=e.exports.toCommandValue=void 0,e.exports.toCommandValue=function(e){return null==e?"":"string"==typeof e||e instanceof String?e:JSON.stringify(e);},e.exports.toCommandProperties=function(e){return Object.keys(e).length?{title:e.title,file:e.file,line:e.startLine,endLine:e.endLine,col:e.startColumn,endColumn:e.endColumn}:{};};}),rh.register("7kVRV",function(e,t){var r,n,i,o,s;r=e.exports&&e.exports.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r];}});}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r];}),n=e.exports&&e.exports.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),i=e.exports&&e.exports.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&r(t,e,i);return n(t,e),t;},Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.prepareKeyValueMessage=e.exports.issueFileCommand=void 0;let a=i(id),l=i(iu);o=rh("hZmcj"),s=rh("9tsrd"),e.exports.issueFileCommand=function(e,t){let r=process.env["GITHUB_"+e];if(!r)throw Error("Unable to find environment variable for file command "+e);if(!a.existsSync(r))throw Error("Missing file at path: "+r);a.appendFileSync(r,`${s.toCommandValue(t)}${l.EOL}`,{encoding:"utf8"});},e.exports.prepareKeyValueMessage=function(e,t){let r="ghadelimiter_"+o.default(),n=s.toCommandValue(t);if(e.includes(r))throw Error(`Unexpected input: name should not contain the delimiter "${r}"`);if(n.includes(r))throw Error(`Unexpected input: value should not contain the delimiter "${r}"`);return`${e}<<${r}${l.EOL}${n}${l.EOL}${r}`;};}),rh.register("hZmcj",function(e,t){var r,n,i;l(e.exports,"default",()=>i),r=rh("fL4R4"),n=rh("dfDnF"),i=function(e,t,i){e=e||{};let o=e.random||(e.rng||(0,r.default))();if(o[6]=15&o[6]|64,o[8]=63&o[8]|128,t){i=i||0;for(let e=0;e<16;++e)t[i+e]=o[e];return t;}return(0,n.default)(o);};}),rh.register("fL4R4",function(e,t){function r(){return i>n.length-16&&(c(ih).randomFillSync(n),i=0),n.slice(i,i+=16);}l(e.exports,"default",()=>r);let n=new Uint8Array(256),i=n.length;}),rh.register("dfDnF",function(e,t){var r,n;l(e.exports,"default",()=>n),r=rh("k6vAm");let i=[];for(let e=0;e<256;++e)i.push((e+256).toString(16).substr(1));n=function(e,t=0){let n=(i[e[t+0]]+i[e[t+1]]+i[e[t+2]]+i[e[t+3]]+"-"+i[e[t+4]]+i[e[t+5]]+"-"+i[e[t+6]]+i[e[t+7]]+"-"+i[e[t+8]]+i[e[t+9]]+"-"+i[e[t+10]]+i[e[t+11]]+i[e[t+12]]+i[e[t+13]]+i[e[t+14]]+i[e[t+15]]).toLowerCase();if(!(0,r.default)(n))throw TypeError("Stringified UUID is invalid");return n;};}),rh.register("k6vAm",function(e,t){var r,n;l(e.exports,"default",()=>n),r=rh("awO54"),n=function(e){return"string"==typeof e&&(0,r.default).test(e);};}),rh.register("awO54",function(e,t){l(e.exports,"default",()=>r);var r=/^(?:[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;}),rh.register("6dWjY",function(e,t){var r=e.exports&&e.exports.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e));}catch(e){o(e);}}function a(e){try{l(n.throw(e));}catch(e){o(e);}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t);})).then(s,a);}l((n=n.apply(e,t||[])).next());});};Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.OidcClient=void 0;var n=rh("6xPYX"),i=rh("gRdnl"),o=rh("i5trn");class s{static createHttpClient(e=!0,t=10){return new n.HttpClient("actions/oidc-client",[new i.BearerCredentialHandler(s.getRequestToken())],{allowRetries:e,maxRetries:t});}static getRequestToken(){let 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(){let 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*(){let r=s.createHttpClient(),n=yield r.getJson(e).catch(e=>{throw Error(`Failed to get ID Token. +`),console.table({"compiler and analyzer":{tools:"--llvm, --gcc, --msvc, --vcvarsall, --cppcheck, --clangtidy, --clangformat"},"build system":{tools:"--cmake, --ninja, --meson, --make, --task, --bazel"},"package manager":{tools:"--vcpkg, --conan, --choco, --brew, --nala"},cache:{tools:"--cppcache, --sccache"},documentation:{tools:"--doxygen, --graphviz"},coverage:{tools:"--gcovr, --opencppcoverage, --kcov"},other:{tools:"--python, --powershell, --sevenzip"}},["tools"]));let o=i.architecture??process.arch,s=process.env.SETUP_CPP_DIR??$(""),a=[],l=[],c=rb.create({autoloadLocales:!0});rb.addLocale(u(rR)),rw.addLocale(u(rx));let p=await ax();if(!function(e,t){let r=t.filter(t=>void 0!==e[t]),n=r.filter(t=>!e1(e[t])),i=n.length>=1?e[n[0]]:"true";return!n.some(t=>e[t]!==i)&&(r.forEach(t=>{e[t]=i;}),!0);}(i,["llvm","clangtidy","clangformat"]))return(0,ry.error)("The same version must be used for llvm, clangformat and clangtidy"),1;ei()&&"string"==typeof i.cppcheck&&"string"==typeof i.gcovr&&((0,ry.info)("installing python-pygments to avoid conflicts with cppcheck and gcovr on Arch linux"),await ec("python-pygments"));let d=!1,f=!1;for(let e of aY){if(rE.isCI&&0!==l.length){f=!0;break;}let n=i[e];void 0!==n&&(t=Date.now(),d=await tS(e,n,p,o,s,a,l,6e4*parseFloat(i.timeout??"20")),r=Date.now(),(0,ry.info)("took "+(c.format(t,r)||"0 seconds")));}if(!f){let e=i.compiler;if(void 0!==e){let t=Date.now();await tZ(e,p,s,o,a,d,l);let r=Date.now();(0,ry.info)("took "+(c.format(t,r)||"0 seconds"));}}if(await G(),0===a.length&&0===l.length)return(0,ry.warning)("setup-cpp was called without any arguments. Nothing to do."),0;if(a.forEach(e=>(0,ry.success)(e)),l.forEach(e=>(0,ry.error)(e)),(0,ry.info)("setup-cpp finished"),!rE.GITHUB_ACTIONS)switch(process.platform){case"win32":(0,ry.warning)("Run `RefreshEnv.cmd` or restart your shell to update the environment.");break;case"linux":case"darwin":(0,ry.warning)("Run `source ~/.cpprc` or restart your shell to update the environment.");}return await n,0===l.length?0:1;}var t1,t2,t3,t4,t6,t8,t5,t7,t9,re,rt,rr,rn,ri,ro,rs,ra,rl,ru,rc,rp,rd,rf,rh,rm,rv,rg,rE,ry,rw,rx,rb,rR,rI,rO,rS,rT,rC,r$,rA,r_,rP,rL,rN,rk,rD,rU,rj,rM,rF,rG,rB,rH,rq,rz,rV,rX,rW,rY,rK,rJ,rQ,rZ,r0,r1,r2,r3,r4,r6,r8,r5,r7,r9,ne,nt,nr,nn,ni,no,ns,na,nl,nu,nc,np,nd,nf,nh,nm,nv,ng,nE,ny,nw,nx,nb,nR,nI,nO,nS,nT,nC,n$,nA,n_,nP,nL,nN,nk,nD,nU,nj,nM,nF,nG,nB,nH,nq,nz,nV=require("os"),nX=require("path"),nW=require("fs"),nY=require("crypto"),nK=require("http"),nJ=require("https");require("net"),t3=require("tls"),t4=require("events"),t6=require("assert"),t8=require("util"),t5=require("fs"),t7=require("child_process"),t9=require("string_decoder"),re=require("timers"),rt=require("os"),rr=require("buffer"),rn=require("path"),ri=require("child_process"),ro=require("process"),rs=require("url"),ra=require("buffer"),rl=require("stream"),ru=require("util"),rc=require("process"),rp=require("url"),rd=require("console"),rh={},rm={},null==(rv=(rf=globalThis).parcelRequire810d)&&((rv=function(e){if(e in rh)return rh[e].exports;if(e in rm){var t=rm[e];delete rm[e];var r={id:e,exports:{}};return rh[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=function(e,t){rm[e]=t;},rf.parcelRequire810d=rv),(rg=rv.register)("l6WDk",function(e,t){var r;function n(e){return"string"==typeof e?!!i[e]:"env"in e?i[e.env]&&i[e.env].includes(e.includes):"any"in e?e.any.some(function(e){return!!i[e];}):Object.keys(e).every(function(t){return i[t]===e[t];});}r=rv("bboZj");let i=process.env;Object.defineProperty(e.exports,"_vendors",{value:r.map(function(e){return e.constant;})}),e.exports.name=null,e.exports.isPR=null,r.forEach(function(t){let r=(Array.isArray(t.env)?t.env:[t.env]).every(function(e){return n(e);});if(e.exports[t.constant]=r,r)switch(e.exports.name=t.name,typeof t.pr){case"string":e.exports.isPR=!!i[t.pr];break;case"object":"env"in t.pr?e.exports.isPR=t.pr.env in i&&i[t.pr.env]!==t.pr.ne:"any"in t.pr?e.exports.isPR=t.pr.any.some(function(e){return!!i[e];}):e.exports.isPR=n(t.pr);break;default:e.exports.isPR=null;}}),e.exports.isCI=!!("false"!==i.CI&&(i.BUILD_ID||i.BUILD_NUMBER||i.CI||i.CI_APP_ID||i.CI_BUILD_ID||i.CI_BUILD_NUMBER||i.CI_NAME||i.CONTINUOUS_INTEGRATION||i.RUN_ID||e.exports.name));}),rg("bboZj",function(e,t){e.exports=JSON.parse('[{"name":"Agola CI","constant":"AGOLA","env":"AGOLA_GIT_REF","pr":"AGOLA_PULL_REQUEST_ID"},{"name":"Appcircle","constant":"APPCIRCLE","env":"AC_APPCIRCLE"},{"name":"AppVeyor","constant":"APPVEYOR","env":"APPVEYOR","pr":"APPVEYOR_PULL_REQUEST_NUMBER"},{"name":"AWS CodeBuild","constant":"CODEBUILD","env":"CODEBUILD_BUILD_ARN"},{"name":"Azure Pipelines","constant":"AZURE_PIPELINES","env":"TF_BUILD","pr":{"BUILD_REASON":"PullRequest"}},{"name":"Bamboo","constant":"BAMBOO","env":"bamboo_planKey"},{"name":"Bitbucket Pipelines","constant":"BITBUCKET","env":"BITBUCKET_COMMIT","pr":"BITBUCKET_PR_ID"},{"name":"Bitrise","constant":"BITRISE","env":"BITRISE_IO","pr":"BITRISE_PULL_REQUEST"},{"name":"Buddy","constant":"BUDDY","env":"BUDDY_WORKSPACE_ID","pr":"BUDDY_EXECUTION_PULL_REQUEST_ID"},{"name":"Buildkite","constant":"BUILDKITE","env":"BUILDKITE","pr":{"env":"BUILDKITE_PULL_REQUEST","ne":"false"}},{"name":"CircleCI","constant":"CIRCLE","env":"CIRCLECI","pr":"CIRCLE_PULL_REQUEST"},{"name":"Cirrus CI","constant":"CIRRUS","env":"CIRRUS_CI","pr":"CIRRUS_PR"},{"name":"Codefresh","constant":"CODEFRESH","env":"CF_BUILD_ID","pr":{"any":["CF_PULL_REQUEST_NUMBER","CF_PULL_REQUEST_ID"]}},{"name":"Codemagic","constant":"CODEMAGIC","env":"CM_BUILD_ID","pr":"CM_PULL_REQUEST"},{"name":"Codeship","constant":"CODESHIP","env":{"CI_NAME":"codeship"}},{"name":"Drone","constant":"DRONE","env":"DRONE","pr":{"DRONE_BUILD_EVENT":"pull_request"}},{"name":"dsari","constant":"DSARI","env":"DSARI"},{"name":"Earthly","constant":"EARTHLY","env":"EARTHLY_CI"},{"name":"Expo Application Services","constant":"EAS","env":"EAS_BUILD"},{"name":"Gerrit","constant":"GERRIT","env":"GERRIT_PROJECT"},{"name":"Gitea Actions","constant":"GITEA_ACTIONS","env":"GITEA_ACTIONS"},{"name":"GitHub Actions","constant":"GITHUB_ACTIONS","env":"GITHUB_ACTIONS","pr":{"GITHUB_EVENT_NAME":"pull_request"}},{"name":"GitLab CI","constant":"GITLAB","env":"GITLAB_CI","pr":"CI_MERGE_REQUEST_ID"},{"name":"GoCD","constant":"GOCD","env":"GO_PIPELINE_LABEL"},{"name":"Google Cloud Build","constant":"GOOGLE_CLOUD_BUILD","env":"BUILDER_OUTPUT"},{"name":"Harness CI","constant":"HARNESS","env":"HARNESS_BUILD_ID"},{"name":"Heroku","constant":"HEROKU","env":{"env":"NODE","includes":"/app/.heroku/node/bin/node"}},{"name":"Hudson","constant":"HUDSON","env":"HUDSON_URL"},{"name":"Jenkins","constant":"JENKINS","env":["JENKINS_URL","BUILD_ID"],"pr":{"any":["ghprbPullId","CHANGE_ID"]}},{"name":"LayerCI","constant":"LAYERCI","env":"LAYERCI","pr":"LAYERCI_PULL_REQUEST"},{"name":"Magnum CI","constant":"MAGNUM","env":"MAGNUM"},{"name":"Netlify CI","constant":"NETLIFY","env":"NETLIFY","pr":{"env":"PULL_REQUEST","ne":"false"}},{"name":"Nevercode","constant":"NEVERCODE","env":"NEVERCODE","pr":{"env":"NEVERCODE_PULL_REQUEST","ne":"false"}},{"name":"Prow","constant":"PROW","env":"PROW_JOB_ID"},{"name":"ReleaseHub","constant":"RELEASEHUB","env":"RELEASE_BUILD_ID"},{"name":"Render","constant":"RENDER","env":"RENDER","pr":{"IS_PULL_REQUEST":"true"}},{"name":"Sail CI","constant":"SAIL","env":"SAILCI","pr":"SAIL_PULL_REQUEST_NUMBER"},{"name":"Screwdriver","constant":"SCREWDRIVER","env":"SCREWDRIVER","pr":{"env":"SD_PULL_REQUEST","ne":"false"}},{"name":"Semaphore","constant":"SEMAPHORE","env":"SEMAPHORE","pr":"PULL_REQUEST_NUMBER"},{"name":"Sourcehut","constant":"SOURCEHUT","env":{"CI_NAME":"sourcehut"}},{"name":"Strider CD","constant":"STRIDER","env":"STRIDER"},{"name":"TaskCluster","constant":"TASKCLUSTER","env":["TASK_ID","RUN_ID"]},{"name":"TeamCity","constant":"TEAMCITY","env":"TEAMCITY_VERSION"},{"name":"Travis CI","constant":"TRAVIS","env":"TRAVIS","pr":{"env":"TRAVIS_PULL_REQUEST","ne":"false"}},{"name":"Vela","constant":"VELA","env":"VELA","pr":{"VELA_PULL_REQUEST":"1"}},{"name":"Vercel","constant":"VERCEL","env":{"any":["NOW_BUILDER","VERCEL"]},"pr":"VERCEL_GIT_PULL_REQUEST_ID"},{"name":"Visual Studio App Center","constant":"APPCENTER","env":"APPCENTER_BUILD_ID"},{"name":"Woodpecker","constant":"WOODPECKER","env":{"CI":"woodpecker"},"pr":{"CI_BUILD_EVENT":"pull_request"}},{"name":"Xcode Cloud","constant":"XCODE_CLOUD","env":"CI_XCODE_PROJECT","pr":"CI_PULL_REQUEST_NUMBER"},{"name":"Xcode Server","constant":"XCODE_SERVER","env":"XCS"}]');}),rg("7Lz0k",function(e,t){var r,n;function i(e){return n.GITHUB_ACTIONS?r.error(e):console.log(`\x1b[31m${e}\x1b[0m`);}function o(e){return console.log(`\x1b[32m${e}\x1b[0m`);}function s(e){return n.GITHUB_ACTIONS?r.warning(e):console.log(`\x1b[33m${e}\x1b[0m`);}function a(e){return n.GITHUB_ACTIONS?r.notice(e):console.log(`\x1b[94m${e}\x1b[0m`);}function u(e){return n.GITHUB_ACTIONS?r.info(e):console.log(e);}l(e.exports,"error",()=>i),l(e.exports,"success",()=>o),l(e.exports,"warning",()=>s),l(e.exports,"notice",()=>a),l(e.exports,"info",()=>u),r=rv("kDRhL"),n=rv("l6WDk");}),rg("kDRhL",function(e,t){var r,n,i,o,s,a,l,u,c,p,d,f;function h(e,t){let 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 m(e,t={}){s.issueCommand("error",l.toCommandProperties(t),e instanceof Error?e.toString():e);}function v(e){s.issue("group",e);}function g(){s.issue("endgroup");}r=e.exports&&e.exports.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r];}});}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r];}),n=e.exports&&e.exports.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),i=e.exports&&e.exports.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&r(t,e,i);return n(t,e),t;},o=e.exports&&e.exports.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e));}catch(e){o(e);}}function a(e){try{l(n.throw(e));}catch(e){o(e);}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t);})).then(s,a);}l((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,s=rv("9OOmw"),a=rv("cddXb"),l=rv("golz2");let E=i(nV),y=i(nX);u=rv("9kRNQ"),(f=c=e.exports.ExitCode||(e.exports.ExitCode={}))[f.Success=0]="Success",f[f.Failure=1]="Failure",e.exports.exportVariable=function(e,t){let r=l.toCommandValue(t);if(process.env[e]=r,process.env.GITHUB_ENV)return a.issueFileCommand("ENV",a.prepareKeyValueMessage(e,t));s.issueCommand("set-env",{name:e},r);},e.exports.setSecret=function(e){s.issueCommand("add-mask",{},e);},e.exports.addPath=function(e){process.env.GITHUB_PATH?a.issueFileCommand("PATH",e):s.issueCommand("add-path",{},e),process.env.PATH=`${e}${y.delimiter}${process.env.PATH}`;},e.exports.getInput=h,e.exports.getMultilineInput=function(e,t){let r=h(e,t).split("\n").filter(e=>""!==e);return t&&!1===t.trimWhitespace?r:r.map(e=>e.trim());},e.exports.getBooleanInput=function(e,t){let r=h(e,t);if(["true","True","TRUE"].includes(r))return!0;if(["false","False","FALSE"].includes(r))return!1;throw TypeError(`Input does not meet YAML 1.2 "Core Schema" specification: ${e} +Support boolean input list: \`true | True | TRUE | false | False | FALSE\``);},e.exports.setOutput=function(e,t){if(process.env.GITHUB_OUTPUT)return a.issueFileCommand("OUTPUT",a.prepareKeyValueMessage(e,t));process.stdout.write(E.EOL),s.issueCommand("set-output",{name:e},l.toCommandValue(t));},e.exports.setCommandEcho=function(e){s.issue("echo",e?"on":"off");},e.exports.setFailed=function(e){process.exitCode=c.Failure,m(e);},e.exports.isDebug=function(){return"1"===process.env.RUNNER_DEBUG;},e.exports.debug=function(e){s.issueCommand("debug",{},e);},e.exports.error=m,e.exports.warning=function(e,t={}){s.issueCommand("warning",l.toCommandProperties(t),e instanceof Error?e.toString():e);},e.exports.notice=function(e,t={}){s.issueCommand("notice",l.toCommandProperties(t),e instanceof Error?e.toString():e);},e.exports.info=function(e){process.stdout.write(e+E.EOL);},e.exports.startGroup=v,e.exports.endGroup=g,e.exports.group=function(e,t){return o(this,void 0,void 0,function*(){let r;v(e);try{r=yield t();}finally{g();}return r;});},e.exports.saveState=function(e,t){if(process.env.GITHUB_STATE)return a.issueFileCommand("STATE",a.prepareKeyValueMessage(e,t));s.issueCommand("save-state",{name:e},l.toCommandValue(t));},e.exports.getState=function(e){return process.env["STATE_"+e]||"";},e.exports.getIDToken=function(e){return o(this,void 0,void 0,function*(){return yield u.OidcClient.getIDToken(e);});},p=rv("cZLUn"),Object.defineProperty(e.exports,"summary",{enumerable:!0,get:function(){return p.summary;}}),p=rv("cZLUn"),Object.defineProperty(e.exports,"markdownSummary",{enumerable:!0,get:function(){return p.markdownSummary;}}),d=rv("hA9PM"),Object.defineProperty(e.exports,"toPosixPath",{enumerable:!0,get:function(){return d.toPosixPath;}}),Object.defineProperty(e.exports,"toWin32Path",{enumerable:!0,get:function(){return d.toWin32Path;}}),Object.defineProperty(e.exports,"toPlatformPath",{enumerable:!0,get:function(){return d.toPlatformPath;}});}),rg("9OOmw",function(e,t){var r,n,i,o;function s(e,t,r){let n=new l(e,t,r);process.stdout.write(n.toString()+a.EOL);}r=e.exports&&e.exports.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r];}});}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r];}),n=e.exports&&e.exports.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),i=e.exports&&e.exports.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&r(t,e,i);return n(t,e),t;},Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.issue=e.exports.issueCommand=void 0;let a=i(nV);o=rv("golz2"),e.exports.issueCommand=s,e.exports.issue=function(e,t=""){s(e,{},t);};class l{constructor(e,t,r){e||(e="missing.command"),this.command=e,this.properties=t,this.message=r;}toString(){var e;let t="::"+this.command;if(this.properties&&Object.keys(this.properties).length>0){t+=" ";let e=!0;for(let r in this.properties)if(this.properties.hasOwnProperty(r)){let n=this.properties[r];n&&(e?e=!1:t+=",",t+=`${r}=${o.toCommandValue(n).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}`);}}return t+("::"+(e=this.message,o.toCommandValue(e).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")));}}}),rg("golz2",function(e,t){Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.toCommandProperties=e.exports.toCommandValue=void 0,e.exports.toCommandValue=function(e){return null==e?"":"string"==typeof e||e instanceof String?e:JSON.stringify(e);},e.exports.toCommandProperties=function(e){return Object.keys(e).length?{title:e.title,file:e.file,line:e.startLine,endLine:e.endLine,col:e.startColumn,endColumn:e.endColumn}:{};};}),rg("cddXb",function(e,t){var r,n,i,o,s;r=e.exports&&e.exports.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r];}});}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r];}),n=e.exports&&e.exports.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),i=e.exports&&e.exports.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&r(t,e,i);return n(t,e),t;},Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.prepareKeyValueMessage=e.exports.issueFileCommand=void 0;let a=i(nW),l=i(nV);o=rv("8HBRG"),s=rv("golz2"),e.exports.issueFileCommand=function(e,t){let r=process.env["GITHUB_"+e];if(!r)throw Error("Unable to find environment variable for file command "+e);if(!a.existsSync(r))throw Error("Missing file at path: "+r);a.appendFileSync(r,`${s.toCommandValue(t)}${l.EOL}`,{encoding:"utf8"});},e.exports.prepareKeyValueMessage=function(e,t){let r="ghadelimiter_"+o.default(),n=s.toCommandValue(t);if(e.includes(r))throw Error(`Unexpected input: name should not contain the delimiter "${r}"`);if(n.includes(r))throw Error(`Unexpected input: value should not contain the delimiter "${r}"`);return`${e}<<${r}${l.EOL}${n}${l.EOL}${r}`;};}),rg("8HBRG",function(e,t){var r,n,i;l(e.exports,"default",()=>i),r=rv("ip84z"),n=rv("6k4Hh"),i=function(e,t,i){let o=(e=e||{}).random||(e.rng||(0,r.default))();if(o[6]=15&o[6]|64,o[8]=63&o[8]|128,t){i=i||0;for(let e=0;e<16;++e)t[i+e]=o[e];return t;}return(0,n.default)(o);};}),rg("ip84z",function(e,t){function r(){return i>n.length-16&&(u(nY).randomFillSync(n),i=0),n.slice(i,i+=16);}l(e.exports,"default",()=>r);let n=new Uint8Array(256),i=n.length;}),rg("6k4Hh",function(e,t){var r,n;l(e.exports,"default",()=>n),r=rv("5y6Xz");let i=[];for(let e=0;e<256;++e)i.push((e+256).toString(16).substr(1));n=function(e,t=0){let n=(i[e[t+0]]+i[e[t+1]]+i[e[t+2]]+i[e[t+3]]+"-"+i[e[t+4]]+i[e[t+5]]+"-"+i[e[t+6]]+i[e[t+7]]+"-"+i[e[t+8]]+i[e[t+9]]+"-"+i[e[t+10]]+i[e[t+11]]+i[e[t+12]]+i[e[t+13]]+i[e[t+14]]+i[e[t+15]]).toLowerCase();if(!(0,r.default)(n))throw TypeError("Stringified UUID is invalid");return n;};}),rg("5y6Xz",function(e,t){var r,n;l(e.exports,"default",()=>n),r=rv("7oboB"),n=function(e){return"string"==typeof e&&(0,r.default).test(e);};}),rg("7oboB",function(e,t){l(e.exports,"default",()=>r);var r=/^(?:[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;}),rg("9kRNQ",function(e,t){var r=e.exports&&e.exports.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e));}catch(e){o(e);}}function a(e){try{l(n.throw(e));}catch(e){o(e);}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t);})).then(s,a);}l((n=n.apply(e,t||[])).next());});};Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.OidcClient=void 0;var n=rv("3BbEx"),i=rv("dhOti"),o=rv("kDRhL");class s{static createHttpClient(e=!0,t=10){return new n.HttpClient("actions/oidc-client",[new i.BearerCredentialHandler(s.getRequestToken())],{allowRetries:e,maxRetries:t});}static getRequestToken(){let 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(){let 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*(){let r=s.createHttpClient(),n=null===(t=(yield r.getJson(e).catch(e=>{throw Error(`Failed to get ID Token. Error Code : ${e.statusCode} - Error Message: ${e.result.message}`);}),i=null===(t=n.result)||void 0===t?void 0:t.value;if(!i)throw Error("Response json body do not have ID Token field");return i;});}static getIDToken(e){return r(this,void 0,void 0,function*(){try{let t=s.getIDTokenUrl();if(e){let r=encodeURIComponent(e);t=`${t}&audience=${r}`;}o.debug("ID token url is "+t);let r=yield s.getCall(t);return o.setSecret(r),r;}catch(e){throw Error("Error message: "+e.message);}});}}e.exports.OidcClient=s;}),rh.register("6xPYX",function(e,t){var r,n,i,o,s,a,l,c,u;r=e.exports&&e.exports.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r];}});}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r];}),n=e.exports&&e.exports.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),i=e.exports&&e.exports.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&r(t,e,i);return n(t,e),t;},o=e.exports&&e.exports.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e));}catch(e){o(e);}}function a(e){try{l(n.throw(e));}catch(e){o(e);}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t);})).then(s,a);}l((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;let p=i(im),d=i(ig),f=i(rh("1cTRj")),h=i(rh("k1Uj2"));(c=s=e.exports.HttpCodes||(e.exports.HttpCodes={}))[c.OK=200]="OK",c[c.MultipleChoices=300]="MultipleChoices",c[c.MovedPermanently=301]="MovedPermanently",c[c.ResourceMoved=302]="ResourceMoved",c[c.SeeOther=303]="SeeOther",c[c.NotModified=304]="NotModified",c[c.UseProxy=305]="UseProxy",c[c.SwitchProxy=306]="SwitchProxy",c[c.TemporaryRedirect=307]="TemporaryRedirect",c[c.PermanentRedirect=308]="PermanentRedirect",c[c.BadRequest=400]="BadRequest",c[c.Unauthorized=401]="Unauthorized",c[c.PaymentRequired=402]="PaymentRequired",c[c.Forbidden=403]="Forbidden",c[c.NotFound=404]="NotFound",c[c.MethodNotAllowed=405]="MethodNotAllowed",c[c.NotAcceptable=406]="NotAcceptable",c[c.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",c[c.RequestTimeout=408]="RequestTimeout",c[c.Conflict=409]="Conflict",c[c.Gone=410]="Gone",c[c.TooManyRequests=429]="TooManyRequests",c[c.InternalServerError=500]="InternalServerError",c[c.NotImplemented=501]="NotImplemented",c[c.BadGateway=502]="BadGateway",c[c.ServiceUnavailable=503]="ServiceUnavailable",c[c.GatewayTimeout=504]="GatewayTimeout",(u=a=e.exports.Headers||(e.exports.Headers={})).Accept="accept",u.ContentType="content-type",(l=e.exports.MediaTypes||(e.exports.MediaTypes={})).ApplicationJson="application/json",e.exports.getProxyUrl=function(e){let t=f.getProxyUrl(new URL(e));return t?t.href:"";};let m=[s.MovedPermanently,s.ResourceMoved,s.SeeOther,s.TemporaryRedirect,s.PermanentRedirect],g=[s.BadGateway,s.ServiceUnavailable,s.GatewayTimeout],v=["OPTIONS","GET","DELETE","HEAD"];class E extends Error{constructor(e,t){super(e),this.name="HttpClientError",this.statusCode=t,Object.setPrototypeOf(this,E.prototype);}}e.exports.HttpClientError=E;class y{constructor(e){this.message=e;}readBody(){return o(this,void 0,void 0,function*(){return new Promise(e=>o(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.toString());});}));});}}e.exports.HttpClientResponse=y,e.exports.isHttps=function(e){let t=new URL(e);return"https:"===t.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 o(this,void 0,void 0,function*(){return this.request("OPTIONS",e,null,t||{});});}get(e,t){return o(this,void 0,void 0,function*(){return this.request("GET",e,null,t||{});});}del(e,t){return o(this,void 0,void 0,function*(){return this.request("DELETE",e,null,t||{});});}post(e,t,r){return o(this,void 0,void 0,function*(){return this.request("POST",e,t,r||{});});}patch(e,t,r){return o(this,void 0,void 0,function*(){return this.request("PATCH",e,t,r||{});});}put(e,t,r){return o(this,void 0,void 0,function*(){return this.request("PUT",e,t,r||{});});}head(e,t){return o(this,void 0,void 0,function*(){return this.request("HEAD",e,null,t||{});});}sendStream(e,t,r,n){return o(this,void 0,void 0,function*(){return this.request(e,t,r,n);});}getJson(e,t={}){return o(this,void 0,void 0,function*(){t[a.Accept]=this._getExistingOrDefaultHeader(t,a.Accept,l.ApplicationJson);let r=yield this.get(e,t);return this._processResponse(r,this.requestOptions);});}postJson(e,t,r={}){return o(this,void 0,void 0,function*(){let n=JSON.stringify(t,null,2);r[a.Accept]=this._getExistingOrDefaultHeader(r,a.Accept,l.ApplicationJson),r[a.ContentType]=this._getExistingOrDefaultHeader(r,a.ContentType,l.ApplicationJson);let i=yield this.post(e,n,r);return this._processResponse(i,this.requestOptions);});}putJson(e,t,r={}){return o(this,void 0,void 0,function*(){let n=JSON.stringify(t,null,2);r[a.Accept]=this._getExistingOrDefaultHeader(r,a.Accept,l.ApplicationJson),r[a.ContentType]=this._getExistingOrDefaultHeader(r,a.ContentType,l.ApplicationJson);let i=yield this.put(e,n,r);return this._processResponse(i,this.requestOptions);});}patchJson(e,t,r={}){return o(this,void 0,void 0,function*(){let n=JSON.stringify(t,null,2);r[a.Accept]=this._getExistingOrDefaultHeader(r,a.Accept,l.ApplicationJson),r[a.ContentType]=this._getExistingOrDefaultHeader(r,a.ContentType,l.ApplicationJson);let i=yield this.patch(e,n,r);return this._processResponse(i,this.requestOptions);});}request(e,t,r,n){return o(this,void 0,void 0,function*(){let i;if(this._disposed)throw Error("Client has already been disposed.");let o=new URL(t),a=this._prepareRequest(e,o,n),l=this._allowRetries&&v.includes(e)?this._maxRetries+1:1,c=0;do{if((i=yield this.requestRaw(a,r))&&i.message&&i.message.statusCode===s.Unauthorized){let e;for(let t of this.handlers)if(t.canHandleAuthentication(i)){e=t;break;}if(e)return e.handleAuthentication(this,a,r);break;}let t=this._maxRedirects;for(;i.message.statusCode&&m.includes(i.message.statusCode)&&this._allowRedirects&&t>0;){let s=i.message.headers.location;if(!s)break;let l=new URL(s);if("https:"===o.protocol&&o.protocol!==l.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 i.readBody(),l.hostname!==o.hostname)for(let e in n)"authorization"===e.toLowerCase()&&delete n[e];a=this._prepareRequest(e,l,n),i=yield this.requestRaw(a,r),t--;}if(!i.message.statusCode||!g.includes(i.message.statusCode))break;(c+=1){this.requestRawWithCallback(e,t,function(e,t){e?n(e):t?r(t):n(Error("Unknown error"));});});});}requestRawWithCallback(e,t,r){let n;function i(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,s=e.httpModule.request(e.options,e=>{let t=new y(e);i(void 0,t);});s.on("socket",e=>{n=e;}),s.setTimeout(this._socketTimeout||18e4,()=>{n&&n.end(),i(Error("Request timeout: "+e.options.path));}),s.on("error",function(e){i(e);}),t&&"string"==typeof t&&s.write(t,"utf8"),t&&"string"!=typeof t?(t.on("close",function(){s.end();}),t.pipe(s)):s.end();}getAgent(e){let t=new URL(e);return this._getAgent(t);}_prepareRequest(e,t,r){let n={};n.parsedUrl=t;let i="https:"===n.parsedUrl.protocol;if(n.httpModule=i?d:p,n.options={},n.options.host=n.parsedUrl.hostname,n.options.port=n.parsedUrl.port?parseInt(n.parsedUrl.port):i?443:80,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(let e of this.handlers)e.prepareRequest(n.options);return n;}_mergeHeaders(e){return this.requestOptions&&this.requestOptions.headers?Object.assign({},w(this.requestOptions.headers),w(e||{})):w(e||{});}_getExistingOrDefaultHeader(e,t,r){let n;return this.requestOptions&&this.requestOptions.headers&&(n=w(this.requestOptions.headers)[t]),e[t]||n||r;}_getAgent(e){let t;let r=f.getProxyUrl(e),n=r&&r.hostname;if(this._keepAlive&&n&&(t=this._proxyAgent),this._keepAlive&&!n&&(t=this._agent),t)return t;let i="https:"===e.protocol,o=100;if(this.requestOptions&&(o=this.requestOptions.maxSockets||p.globalAgent.maxSockets),r&&r.hostname){let e;let n={maxSockets:o,keepAlive:this._keepAlive,proxy:Object.assign(Object.assign({},(r.username||r.password)&&{proxyAuth:`${r.username}:${r.password}`}),{host:r.hostname,port:r.port})},s="https:"===r.protocol;t=(i?s?h.httpsOverHttps:h.httpsOverHttp:s?h.httpOverHttps:h.httpOverHttp)(n),this._proxyAgent=t;}if(this._keepAlive&&!t){let e={keepAlive:this._keepAlive,maxSockets:o};t=i?new d.Agent(e):new p.Agent(e),this._agent=t;}return t||(t=i?d.globalAgent:p.globalAgent),i&&this._ignoreSslError&&(t.options=Object.assign(t.options||{},{rejectUnauthorized:!1})),t;}_performExponentialBackoff(e){return o(this,void 0,void 0,function*(){e=Math.min(10,e);let t=5*Math.pow(2,e);return new Promise(e=>setTimeout(()=>e(),t));});}_processResponse(e,t){return o(this,void 0,void 0,function*(){return new Promise((r,n)=>o(this,void 0,void 0,function*(){let i,o;let a=e.message.statusCode||0,l={statusCode:a,result:null,headers:{}};a===s.NotFound&&r(l);try{(o=yield e.readBody())&&o.length>0&&(i=t&&t.deserializeDates?JSON.parse(o,function(e,t){if("string"==typeof t){let e=new Date(t);if(!isNaN(e.valueOf()))return e;}return t;}):JSON.parse(o),l.result=i),l.headers=e.message.headers;}catch(e){}if(a>299){let e;e=i&&i.message?i.message:o&&o.length>0?o:`Failed request: (${a})`;let t=new E(e,a);t.result=l.result,n(t);}else r(l);}));});}};let w=e=>Object.keys(e).reduce((t,r)=>(t[r.toLowerCase()]=e[r],t),{});}),rh.register("1cTRj",function(e,t){function r(e){let t;if(!e.hostname)return!1;let r=e.hostname;if(function(e){let t=e.toLowerCase();return"localhost"===t||t.startsWith("127.")||t.startsWith("[::1]")||t.startsWith("[0:0:0:0:0:0:0:1]");}(r))return!0;let n=process.env.no_proxy||process.env.NO_PROXY||"";if(!n)return!1;e.port?t=+e.port:"http:"===e.protocol?t=80:"https:"===e.protocol&&(t=443);let i=[e.hostname.toUpperCase()];for(let e of("number"==typeof t&&i.push(`${i[0]}:${t}`),n.split(",").map(e=>e.trim().toUpperCase()).filter(e=>e)))if("*"===e||i.some(t=>t===e||t.endsWith("."+e)||e.startsWith(".")&&t.endsWith(""+e)))return!0;return!1;}Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.checkBypass=e.exports.getProxyUrl=void 0,e.exports.getProxyUrl=function(e){let t="https:"===e.protocol;if(r(e))return;let 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;}),rh.register("k1Uj2",function(e,t){e.exports=rh("jrbfx");}),rh.register("jrbfx",function(e,t){var r,n,i,o,s,a;function c(e){var t=this;t.options=e||{},t.proxyOptions=t.options.proxy||{},t.maxSockets=t.options.maxSockets||im.Agent.defaultMaxSockets,t.requests=[],t.sockets=[],t.on("free",function(e,r,n,i){for(var o=p(r,n,i),s=0,a=t.requests.length;a>s;++s){var l=t.requests[s];if(l.host===o.host&&l.port===o.port){t.requests.splice(s,1),l.request.onSocket(e);return;}}e.destroy(),t.removeSocket(e);});}function u(e,t){var r=this;c.prototype.createSocket.call(r,e,function(n){var i=e.request.getHeader("host"),o=d({},r.options,{socket:n,servername:i?i.replace(/:.*$/,""):e.host}),s=t1.connect(0,o);r.sockets[r.sockets.indexOf(n)]=s,t(s);});}function p(e,t,r){return"string"==typeof e?{host:e,port:t,localAddress:r}:e;}function d(e){for(var t=1,r=arguments.length;r>t;++t){var n=arguments[t];if("object"==typeof n)for(var i=Object.keys(n),o=0,s=i.length;s>o;++o){var a=i[o];void 0!==n[a]&&(e[a]=n[a]);}}return e;}l(e.exports,"httpOverHttp",()=>r,e=>r=e),l(e.exports,"httpsOverHttp",()=>n,e=>n=e),l(e.exports,"httpOverHttps",()=>i,e=>i=e),l(e.exports,"httpsOverHttps",()=>o,e=>o=e),l(e.exports,"debug",()=>s,e=>s=e),r=function(e){var t=new c(e);return t.request=im.request,t;},n=function(e){var t=new c(e);return t.request=im.request,t.createSocket=u,t.defaultPort=443,t;},i=function(e){var t=new c(e);return t.request=ig.request,t;},o=function(e){var t=new c(e);return t.request=ig.request,t.createSocket=u,t.defaultPort=443,t;},t3.inherits(c,t2.EventEmitter),c.prototype.addRequest=function(e,t,r,n){var i=this,o=d({request:e},i.options,p(t,r,n));if(i.sockets.length>=this.maxSockets){i.requests.push(o);return;}i.createSocket(o,function(t){function r(){i.emit("free",t,o);}function n(e){i.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);});},c.prototype.createSocket=function(e,t){function r(r,n,l){if(i.removeAllListeners(),n.removeAllListeners(),200!==r.statusCode){a("tunneling socket could not be established, statusCode=%d",r.statusCode),n.destroy();var c=Error("tunneling socket could not be established, statusCode="+r.statusCode);c.code="ECONNRESET",e.request.emit("error",c),o.removeSocket(s);return;}if(l.length>0){a("got illegal response body from proxy"),n.destroy();var c=Error("got illegal response body from proxy");c.code="ECONNRESET",e.request.emit("error",c),o.removeSocket(s);return;}return a("tunneling connection has established"),o.sockets[o.sockets.indexOf(s)]=n,t(n);}var n,i,o=this,s={};o.sockets.push(s),n=d({},o.proxyOptions,{method:"CONNECT",path:e.host+":"+e.port,agent:!1,headers:{host:e.host+":"+e.port}}),e.localAddress&&(n.localAddress=e.localAddress),n.proxyAuth&&(n.headers=n.headers||{},n.headers["Proxy-Authorization"]="Basic "+new Buffer(n.proxyAuth).toString("base64")),a("making CONNECT request"),(i=o.request(n)).useChunkedEncodingByDefault=!1,i.once("response",function(e){e.upgrade=!0;}),i.once("upgrade",function(e,t,n){process.nextTick(function(){r(e,t,n);});}),i.once("connect",r),i.once("error",function(t){i.removeAllListeners(),a("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),o.removeSocket(s);}),i.end();},c.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,function(e){r.request.onSocket(e);});}},s=a=process.env.NODE_DEBUG&&/\btunnel\b/.test(process.env.NODE_DEBUG)?function(){var e=Array.prototype.slice.call(arguments);"string"==typeof e[0]?e[0]="TUNNEL: "+e[0]:e.unshift("TUNNEL:"),console.error.apply(console,e);}:function(){};}),rh.register("gRdnl",function(e,t){var r=e.exports&&e.exports.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e));}catch(e){o(e);}}function a(e){try{l(n.throw(e));}catch(e){o(e);}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t);})).then(s,a);}l((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");});}};}),rh.register("aYzS9",function(e,t){var r=e.exports&&e.exports.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e));}catch(e){o(e);}}function a(e){try{l(n.throw(e));}catch(e){o(e);}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t);})).then(s,a);}l((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;let{access:n,appendFile:i,writeFile:o}=id.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";let s=new class{constructor(){this._buffer="";}filePath(){return r(this,void 0,void 0,function*(){if(this._filePath)return this._filePath;let 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,id.constants.R_OK|id.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={}){let 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*(){let t=!!(null==e?void 0:e.overwrite),r=yield this.filePath();return yield(t?o:i)(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(iu.EOL);}addCodeBlock(e,t){let r=Object.assign({},t&&{lang:t}),n=this.wrap("pre",this.wrap("code",e),r);return this.addRaw(n).addEOL();}addList(e,t=!1){let r=e.map(e=>this.wrap("li",e)).join(""),n=this.wrap(t?"ol":"ul",r);return this.addRaw(n).addEOL();}addTable(e){let t=e.map(e=>{let t=e.map(e=>{if("string"==typeof e)return this.wrap("td",e);let{header:t,data:r,colspan:n,rowspan:i}=e,o=Object.assign(Object.assign({},n&&{colspan:n}),i&&{rowspan:i});return this.wrap(t?"th":"td",r,o);}).join("");return this.wrap("tr",t);}).join(""),r=this.wrap("table",t);return this.addRaw(r).addEOL();}addDetails(e,t){let r=this.wrap("details",this.wrap("summary",e)+t);return this.addRaw(r).addEOL();}addImage(e,t,r){let{width:n,height:i}=r||{},o=Object.assign(Object.assign({},n&&{width:n}),i&&{height:i}),s=this.wrap("img",null,Object.assign({src:e,alt:t},o));return this.addRaw(s).addEOL();}addHeading(e,t){let r="h"+t,n=["h1","h2","h3","h4","h5","h6"].includes(r)?r:"h1",i=this.wrap(n,e);return this.addRaw(i).addEOL();}addSeparator(){let e=this.wrap("hr",null);return this.addRaw(e).addEOL();}addBreak(){let e=this.wrap("br",null);return this.addRaw(e).addEOL();}addQuote(e,t){let r=Object.assign({},t&&{cite:t}),n=this.wrap("blockquote",e,r);return this.addRaw(n).addEOL();}addLink(e,t){let r=this.wrap("a",e,{href:t});return this.addRaw(r).addEOL();}}();e.exports.markdownSummary=s,e.exports.summary=s;}),rh.register("iGRwD",function(e,t){var r,n,i;r=e.exports&&e.exports.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r];}});}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r];}),n=e.exports&&e.exports.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),i=e.exports&&e.exports.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&r(t,e,i);return n(t,e),t;},Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.toPlatformPath=e.exports.toWin32Path=e.exports.toPosixPath=void 0;let o=i(ip);e.exports.toPosixPath=function(e){return e.replace(/[\\]/g,"/");},e.exports.toWin32Path=function(e){return e.replace(/[/]/g,"\\");},e.exports.toPlatformPath=function(e){return e.replace(/[/\\]/g,o.sep);};}),rh.register("9tC1p",function(e,t){var r=ip.resolve(__dirname,"../../node_modules/.pnpm/numerous@1.0.3/node_modules/numerous/lib");(function(){var t,n;function i(e,r,n){if(o(e),"object"!=typeof n)throw Error("List of variants should be specified as an object");var i=t[e](r);return void 0!==n[i]?n[i]:null;}function o(e){!(void 0!==t[e])&&function(e){try{require(r+"/../locales/"+e+".js");}catch(t){throw Error("Failed to load the following locale: "+e);}}(e);}t={},n={create:function(e){return o(e),{pluralize:function(t,r){return i(e,t,r);}};},addLocale:function(e,r){t[e]=r;},pluralize:i},void 0!==e.exports?e.exports=n:this.numerous=n;}).call(e.exports);}),rh.register("5cIV4",function(e,t){function r(e){for(let t of(Array.isArray(e)||(e=[e]),e)){let{id:e,data:r}=t;a[e]=r;}}var n=rh("b9BRc"),i=rh("ld0VC");let o=[["years",290304e5],["months",24192e5],["weeks",6048e5],["days",864e5],["hours",36e5],["minutes",6e4],["seconds",1e3]],s={locale:"en",span:2,delimiter:", ",unitType:"long",unitTypeLookupOrder:["long","short","narrow"],autoloadLocales:!0},a={};e.exports={create:function(e){return e=Object.assign({},s,e||{}),{format:function(t,s,l){return function(e,t,s){if(function(e,t){let{autoload:n}=t;if(!a[e]){if(i&&n)(function(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);else throw Error(`Missing locale: ${e}, you must load it manually before using it`);}}(s.locale,{autoload:s.autoloadLocales}),!e)throw Error("Missing first date argument");if(!t)throw Error("Missing second date argument");let l=function(e,t){let r=t-e,n=[];return o.some(function(e){let t=e[0],i=e[1],o=Math.floor(r/i);if(r-=o*i,n.push([t,o]),r<=0)return!0;}),n;}(e,t),c=[];for(let e of l){let[t,r]=e;if(r>0&&c.push(function(e,t,r){let i=function(e){var t;let r=a[e.locale],n=e.unitTypeLookupOrder.slice();n.unshift(e.unitType),t=n;let i=null;if((n=Array.from(new Set(t))).some(function(e){if(void 0!==r[e])return i=r[e],!0;}),null===i)throw Error("Can not find any unit type data for locale: "+e.locale);return i;}(r),o=n.pluralize(r.locale,t,i[e]);return o.replace("{0}",t);}(t,r,s)),c.length>=s.span)break;}return c.join(s.delimiter);}(t,s,l=Object.assign({},e,l||{}));}};},addLocale:r,defaultConfig:s};}),rh.register("b9BRc",function(e,t){e.exports=rh("9tC1p");}),rh.register("ld0VC",function(e,t){e.exports=!!("undefined"!=typeof process&&process.versions&&process.versions.node);}),rh.register("cCOdx",function(e,t){function r(e,t,r){return!!(e.isSymbolicLink()||e.isFile())&&function(e,t){var r=void 0!==t.pathExt?t.pathExt:process.env.PATHEXT;if(!r||-1!==(r=r.split(";")).indexOf(""))return!0;for(var n=0;n{for(let[t,r]of f)e=e.split(`${t}*`).join(`${t}{0,${r}}`).split(`${t}+`).join(`${t}{1,${r}}`);return e;},m=(e,t,r)=>{let n=h(t),i=p++;s(e,i,t),u[e]=i,c[i]=t,a[i]=new RegExp(t,r?"g":void 0),l[i]=new RegExp(n,r?"g":void 0);};m("NUMERICIDENTIFIER","0|[1-9]\\d*"),m("NUMERICIDENTIFIERLOOSE","\\d+"),m("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${d}*`),m("MAINVERSION",`(${c[u.NUMERICIDENTIFIER]})\\.(${c[u.NUMERICIDENTIFIER]})\\.(${c[u.NUMERICIDENTIFIER]})`),m("MAINVERSIONLOOSE",`(${c[u.NUMERICIDENTIFIERLOOSE]})\\.(${c[u.NUMERICIDENTIFIERLOOSE]})\\.(${c[u.NUMERICIDENTIFIERLOOSE]})`),m("PRERELEASEIDENTIFIER",`(?:${c[u.NUMERICIDENTIFIER]}|${c[u.NONNUMERICIDENTIFIER]})`),m("PRERELEASEIDENTIFIERLOOSE",`(?:${c[u.NUMERICIDENTIFIERLOOSE]}|${c[u.NONNUMERICIDENTIFIER]})`),m("PRERELEASE",`(?:-(${c[u.PRERELEASEIDENTIFIER]}(?:\\.${c[u.PRERELEASEIDENTIFIER]})*))`),m("PRERELEASELOOSE",`(?:-?(${c[u.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${c[u.PRERELEASEIDENTIFIERLOOSE]})*))`),m("BUILDIDENTIFIER",`${d}+`),m("BUILD",`(?:\\+(${c[u.BUILDIDENTIFIER]}(?:\\.${c[u.BUILDIDENTIFIER]})*))`),m("FULLPLAIN",`v?${c[u.MAINVERSION]}${c[u.PRERELEASE]}?${c[u.BUILD]}?`),m("FULL",`^${c[u.FULLPLAIN]}$`),m("LOOSEPLAIN",`[v=\\s]*${c[u.MAINVERSIONLOOSE]}${c[u.PRERELEASELOOSE]}?${c[u.BUILD]}?`),m("LOOSE",`^${c[u.LOOSEPLAIN]}$`),m("GTLT","((?:<|>)?=?)"),m("XRANGEIDENTIFIERLOOSE",`${c[u.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),m("XRANGEIDENTIFIER",`${c[u.NUMERICIDENTIFIER]}|x|X|\\*`),m("XRANGEPLAIN",`[v=\\s]*(${c[u.XRANGEIDENTIFIER]})(?:\\.(${c[u.XRANGEIDENTIFIER]})(?:\\.(${c[u.XRANGEIDENTIFIER]})(?:${c[u.PRERELEASE]})?${c[u.BUILD]}?)?)?`),m("XRANGEPLAINLOOSE",`[v=\\s]*(${c[u.XRANGEIDENTIFIERLOOSE]})(?:\\.(${c[u.XRANGEIDENTIFIERLOOSE]})(?:\\.(${c[u.XRANGEIDENTIFIERLOOSE]})(?:${c[u.PRERELEASELOOSE]})?${c[u.BUILD]}?)?)?`),m("XRANGE",`^${c[u.GTLT]}\\s*${c[u.XRANGEPLAIN]}$`),m("XRANGELOOSE",`^${c[u.GTLT]}\\s*${c[u.XRANGEPLAINLOOSE]}$`),m("COERCE",`(^|[^\\d])(\\d{1,${n}})(?:\\.(\\d{1,${n}}))?(?:\\.(\\d{1,${n}}))?(?:$|[^\\d])`),m("COERCERTL",c[u.COERCE],!0),m("LONETILDE","(?:~>?)"),m("TILDETRIM",`(\\s*)${c[u.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",m("TILDE",`^${c[u.LONETILDE]}${c[u.XRANGEPLAIN]}$`),m("TILDELOOSE",`^${c[u.LONETILDE]}${c[u.XRANGEPLAINLOOSE]}$`),m("LONECARET","(?:\\^)"),m("CARETTRIM",`(\\s*)${c[u.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",m("CARET",`^${c[u.LONECARET]}${c[u.XRANGEPLAIN]}$`),m("CARETLOOSE",`^${c[u.LONECARET]}${c[u.XRANGEPLAINLOOSE]}$`),m("COMPARATORLOOSE",`^${c[u.GTLT]}\\s*(${c[u.LOOSEPLAIN]})$|^$`),m("COMPARATOR",`^${c[u.GTLT]}\\s*(${c[u.FULLPLAIN]})$|^$`),m("COMPARATORTRIM",`(\\s*)${c[u.GTLT]}\\s*(${c[u.LOOSEPLAIN]}|${c[u.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",m("HYPHENRANGE",`^\\s*(${c[u.XRANGEPLAIN]})\\s+-\\s+(${c[u.XRANGEPLAIN]})\\s*$`),m("HYPHENRANGELOOSE",`^\\s*(${c[u.XRANGEPLAINLOOSE]})\\s+-\\s+(${c[u.XRANGEPLAINLOOSE]})\\s*$`),m("STAR","(<|>)?=?\\s*\\*"),m("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),m("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$");}),rh.register("hOG3Y",function(e,t){let r=Number.MAX_SAFE_INTEGER||9007199254740991;e.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_BUILD_LENGTH:250,MAX_SAFE_INTEGER:r,RELEASE_TYPES:["major","premajor","minor","preminor","patch","prepatch","prerelease"],SEMVER_SPEC_VERSION:"2.0.0",FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2};}),rh.register("HHW4D",function(e,t){let r="object"==typeof process&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};e.exports=r;}),rh.register("5LYRo",function(e,t){var r=rh("HHW4D"),n=rh("hOG3Y"),i=n.MAX_LENGTH,o=n.MAX_SAFE_INTEGER,s=rh("12uZQ"),a=s.safeRe,l=s.t,c=rh("k6Ib4"),u=rh("cBP4E").compareIdentifiers;class p{constructor(e,t){if(t=c(t),e instanceof p){if(!!t.loose===e.loose&&!!t.includePrerelease===e.includePrerelease)return e;e=e.version;}else if("string"!=typeof e)throw TypeError(`Invalid version. Must be a string. Got type "${typeof e}".`);if(e.length>i)throw TypeError(`version is longer than ${i} characters`);r("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;let n=e.trim().match(t.loose?a[l.LOOSE]:a[l.FULL]);if(!n)throw TypeError("Invalid Version: "+e);if(this.raw=e,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>o||this.major<0)throw TypeError("Invalid major version");if(this.minor>o||this.minor<0)throw TypeError("Invalid minor version");if(this.patch>o||this.patch<0)throw TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map(e=>{if(/^[0-9]+$/.test(e)){let t=+e;if(t>=0&&t=0;)"number"==typeof this.prerelease[n]&&(this.prerelease[n]++,n=-2);if(-1===n){if(t===this.prerelease.join(".")&&!1===r)throw Error("invalid increment argument: identifier already exists");this.prerelease.push(e);}}if(t){let n=[t,e];!1===r&&(n=[t]),0===u(this.prerelease[0],t)?isNaN(this.prerelease[1])&&(this.prerelease=n):this.prerelease=n;}break;}default:throw Error("invalid increment argument: "+e);}return this.raw=this.format(),this.build.length&&(this.raw+="+"+this.build.join(".")),this;}}e.exports=p;}),rh.register("k6Ib4",function(e,t){let r=Object.freeze({loose:!0}),n=Object.freeze({});e.exports=e=>e?"object"!=typeof e?r:e:n;}),rh.register("cBP4E",function(e,t){let r=(e,t)=>{let r=/^[0-9]+$/.test(e),n=/^[0-9]+$/.test(t);return r&&n&&(e=+e,t=+t),e===t?0:r&&!n?-1:n&&!r?1:t>e?-1:1;};e.exports={compareIdentifiers:r,rcompareIdentifiers:(e,t)=>r(t,e)};}),rh.register("OZ7Ue",function(e,t){var r=rh("5LYRo");e.exports=(e,t,n=!1)=>{if(e instanceof r)return e;try{return new r(e,t);}catch(e){if(!n)return null;throw e;}};}),rh.register("bJWbp",function(e,t){var r=rh("OZ7Ue");e.exports=(e,t)=>{let n=r(e,t);return n?n.version:null;};}),rh.register("Qjft6",function(e,t){var r=rh("OZ7Ue");e.exports=(e,t)=>{let n=r(e.trim().replace(/^[=v]+/,""),t);return n?n.version:null;};}),rh.register("8bNKq",function(e,t){var r=rh("5LYRo");e.exports=(e,t,n,i,o)=>{"string"==typeof n&&(o=i,i=n,n=void 0);try{return new r(e instanceof r?e.version:e,n).inc(t,i,o).version;}catch(e){return null;}};}),rh.register("l5GHG",function(e,t){var r=rh("OZ7Ue");e.exports=(e,t)=>{let n=r(e,null,!0),i=r(t,null,!0),o=n.compare(i);if(0===o)return null;let s=o>0,a=s?n:i,l=s?i:n,c=!!a.prerelease.length,u=!!l.prerelease.length;if(u&&!c)return l.patch||l.minor?a.patch?"patch":a.minor?"minor":"major":"major";let p=c?"pre":"";return n.major!==i.major?p+"major":n.minor!==i.minor?p+"minor":n.patch!==i.patch?p+"patch":"prerelease";};}),rh.register("jsxzs",function(e,t){var r=rh("5LYRo");e.exports=(e,t)=>new r(e,t).major;}),rh.register("7JVSO",function(e,t){var r=rh("5LYRo");e.exports=(e,t)=>new r(e,t).minor;}),rh.register("8n3SB",function(e,t){var r=rh("5LYRo");e.exports=(e,t)=>new r(e,t).patch;}),rh.register("3oy0K",function(e,t){var r=rh("OZ7Ue");e.exports=(e,t)=>{let n=r(e,t);return n&&n.prerelease.length?n.prerelease:null;};}),rh.register("aWTSG",function(e,t){var r=rh("5LYRo");e.exports=(e,t,n)=>new r(e,n).compare(new r(t,n));}),rh.register("bnwiX",function(e,t){var r=rh("aWTSG");e.exports=(e,t,n)=>r(t,e,n);}),rh.register("8XJ3e",function(e,t){var r=rh("aWTSG");e.exports=(e,t)=>r(e,t,!0);}),rh.register("etbXA",function(e,t){var r=rh("5LYRo");e.exports=(e,t,n)=>{let i=new r(e,n),o=new r(t,n);return i.compare(o)||i.compareBuild(o);};}),rh.register("cUihJ",function(e,t){var r=rh("etbXA");e.exports=(e,t)=>e.sort((e,n)=>r(e,n,t));}),rh.register("ezLu1",function(e,t){var r=rh("etbXA");e.exports=(e,t)=>e.sort((e,n)=>r(n,e,t));}),rh.register("dFwZk",function(e,t){var r=rh("aWTSG");e.exports=(e,t,n)=>r(e,t,n)>0;}),rh.register("iVR3H",function(e,t){var r=rh("aWTSG");e.exports=(e,t,n)=>0>r(e,t,n);}),rh.register("hpjtH",function(e,t){var r=rh("aWTSG");e.exports=(e,t,n)=>0===r(e,t,n);}),rh.register("lNs9e",function(e,t){var r=rh("aWTSG");e.exports=(e,t,n)=>0!==r(e,t,n);}),rh.register("lHD2W",function(e,t){var r=rh("aWTSG");e.exports=(e,t,n)=>r(e,t,n)>=0;}),rh.register("ldLP8",function(e,t){var r=rh("aWTSG");e.exports=(e,t,n)=>0>=r(e,t,n);}),rh.register("1bhNL",function(e,t){var r=rh("hpjtH"),n=rh("lNs9e"),i=rh("dFwZk"),o=rh("lHD2W"),s=rh("iVR3H"),a=rh("ldLP8");e.exports=(e,t,l,c)=>{switch(t){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof l&&(l=l.version),e===l;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof l&&(l=l.version),e!==l;case"":case"=":case"==":return r(e,l,c);case"!=":return n(e,l,c);case">":return i(e,l,c);case">=":return o(e,l,c);case"<":return s(e,l,c);case"<=":return a(e,l,c);default:throw TypeError("Invalid operator: "+t);}};}),rh.register("brvh5",function(e,t){var r=rh("5LYRo"),n=rh("OZ7Ue"),i=rh("12uZQ"),o=i.safeRe,s=i.t;e.exports=(e,t)=>{if(e instanceof r)return e;if("number"==typeof e&&(e+=""),"string"!=typeof e)return null;let i=null;if((t=t||{}).rtl){let t;for(;(t=o[s.COERCERTL].exec(e))&&(!i||i.index+i[0].length!==e.length);)i&&t.index+t[0].length===i.index+i[0].length||(i=t),o[s.COERCERTL].lastIndex=t.index+t[1].length+t[2].length;o[s.COERCERTL].lastIndex=-1;}else i=e.match(o[s.COERCE]);return null===i?null:n(`${i[2]}.${i[3]||"0"}.${i[4]||"0"}`,t);};}),rh.register("9hQpH",function(e,t){let r=Symbol();class n{static get ANY(){return r;}constructor(e,t){if(t=i(t),e instanceof n){if(!!t.loose===e.loose)return e;e=e.value;}c("comparator",e=e.trim().split(/\s+/).join(" "),t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===r?this.value="":this.value=this.operator+this.semver.version,c("comp",this);}parse(e){let t=this.options.loose?s[a.COMPARATORLOOSE]:s[a.COMPARATOR],n=e.match(t);if(!n)throw TypeError("Invalid comparator: "+e);this.operator=void 0!==n[1]?n[1]:"","="===this.operator&&(this.operator=""),n[2]?this.semver=new u(n[2],this.options.loose):this.semver=r;}toString(){return this.value;}test(e){if(c("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 l(e,this.operator,this.semver,this.options);}intersects(e,t){if(!(e instanceof n))throw TypeError("a Comparator is required");return""===this.operator?""===this.value||new p(e.value,t).test(this.value):""===e.operator?""===e.value||new p(this.value,t).test(e.semver):!((t=i(t)).includePrerelease&&("<0.0.0-0"===this.value||"<0.0.0-0"===e.value)||!t.includePrerelease&&(this.value.startsWith("<0.0.0")||e.value.startsWith("<0.0.0")))&&!!(this.operator.startsWith(">")&&e.operator.startsWith(">")||this.operator.startsWith("<")&&e.operator.startsWith("<")||this.semver.version===e.semver.version&&this.operator.includes("=")&&e.operator.includes("=")||l(this.semver,"<",e.semver,t)&&this.operator.startsWith(">")&&e.operator.startsWith("<")||l(this.semver,">",e.semver,t)&&this.operator.startsWith("<")&&e.operator.startsWith(">"));}}e.exports=n;var i=rh("k6Ib4"),o=rh("12uZQ"),s=o.safeRe,a=o.t,l=rh("1bhNL"),c=rh("HHW4D"),u=rh("5LYRo"),p=rh("lKnWr");}),rh.register("lKnWr",function(e,t){class r{constructor(e,t){if(t=o(t),e instanceof r){if(!!t.loose===e.loose&&!!t.includePrerelease===e.includePrerelease)return e;return 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.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map(e=>this.parseRange(e.trim())).filter(e=>e.length),!this.set.length)throw TypeError("Invalid SemVer Range: "+this.raw);if(this.set.length>1){let e=this.set[0];if(this.set=this.set.filter(e=>!E(e[0])),0===this.set.length)this.set=[e];else if(this.set.length>1){for(let e of this.set)if(1===e.length&&y(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){let t=(this.options.includePrerelease&&g)|(this.options.loose&&v),r=t+":"+e,n=i.get(r);if(n)return n;let o=this.options.loose,l=o?u[p.HYPHENRANGELOOSE]:u[p.HYPHENRANGE];a("hyphen replace",e=e.replace(l,P(this.options.includePrerelease))),a("comparator trim",e=e.replace(u[p.COMPARATORTRIM],d)),a("tilde trim",e=e.replace(u[p.TILDETRIM],f)),a("caret trim",e=e.replace(u[p.CARETTRIM],h));let c=e.split(" ").map(e=>x(e,this.options)).join(" ").split(/\s+/).map(e=>A(e,this.options));o&&(c=c.filter(e=>(a("loose invalid filter",e,this.options),!!e.match(u[p.COMPARATORLOOSE])))),a("range list",c);let m=new Map(),y=c.map(e=>new s(e,this.options));for(let e of y){if(E(e))return[e];m.set(e.value,e);}m.size>1&&m.has("")&&m.delete("");let w=[...m.values()];return i.set(r,w),w;}intersects(e,t){if(!(e instanceof r))throw TypeError("a Range is required");return this.set.some(r=>w(r,t)&&e.set.some(e=>w(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 l(e,this.options);}catch(e){return!1;}for(let t=0;t"<0.0.0-0"===e.value,y=e=>""===e.value,w=(e,t)=>{let r=!0,n=e.slice(),i=n.pop();for(;r&&n.length;)r=n.every(e=>i.intersects(e,t)),i=n.pop();return r;},x=(e,t)=>(a("comp",e,t),e=R(e,t),a("caret",e),e=S(e,t),a("tildes",e),e=T(e,t),a("xrange",e),e=$(e,t),a("stars",e),e),b=e=>!e||"x"===e.toLowerCase()||"*"===e,S=(e,t)=>e.trim().split(/\s+/).map(e=>I(e,t)).join(" "),I=(e,t)=>{let r=t.loose?u[p.TILDELOOSE]:u[p.TILDE];return e.replace(r,(t,r,n,i,o)=>{let s;return a("tilde",e,t,r,n,i,o),b(r)?s="":b(n)?s=`>=${r}.0.0 <${+r+1}.0.0-0`:b(i)?s=`>=${r}.${n}.0 <${r}.${+n+1}.0-0`:o?(a("replaceTilde pr",o),s=`>=${r}.${n}.${i}-${o} <${r}.${+n+1}.0-0`):s=`>=${r}.${n}.${i} <${r}.${+n+1}.0-0`,a("tilde return",s),s;});},R=(e,t)=>e.trim().split(/\s+/).map(e=>O(e,t)).join(" "),O=(e,t)=>{a("caret",e,t);let r=t.loose?u[p.CARETLOOSE]:u[p.CARET],n=t.includePrerelease?"-0":"";return e.replace(r,(t,r,i,o,s)=>{let l;return a("caret",e,t,r,i,o,s),b(r)?l="":b(i)?l=`>=${r}.0.0${n} <${+r+1}.0.0-0`:b(o)?l="0"===r?`>=${r}.${i}.0${n} <${r}.${+i+1}.0-0`:`>=${r}.${i}.0${n} <${+r+1}.0.0-0`:s?(a("replaceCaret pr",s),l="0"===r?"0"===i?`>=${r}.${i}.${o}-${s} <${r}.${i}.${+o+1}-0`:`>=${r}.${i}.${o}-${s} <${r}.${+i+1}.0-0`:`>=${r}.${i}.${o}-${s} <${+r+1}.0.0-0`):(a("no pr"),l="0"===r?"0"===i?`>=${r}.${i}.${o}${n} <${r}.${i}.${+o+1}-0`:`>=${r}.${i}.${o}${n} <${r}.${+i+1}.0-0`:`>=${r}.${i}.${o} <${+r+1}.0.0-0`),a("caret return",l),l;});},T=(e,t)=>(a("replaceXRanges",e,t),e.split(/\s+/).map(e=>C(e,t)).join(" ")),C=(e,t)=>{e=e.trim();let r=t.loose?u[p.XRANGELOOSE]:u[p.XRANGE];return e.replace(r,(r,n,i,o,s,l)=>{a("xRange",e,r,n,i,o,s,l);let c=b(i),u=c||b(o),p=u||b(s);return"="===n&&p&&(n=""),l=t.includePrerelease?"-0":"",c?r=">"===n||"<"===n?"<0.0.0-0":"*":n&&p?(u&&(o=0),s=0,">"===n?(n=">=",u?(i=+i+1,o=0):o=+o+1,s=0):"<="===n&&(n="<",u?i=+i+1:o=+o+1),"<"===n&&(l="-0"),r=`${n+i}.${o}.${s}${l}`):u?r=`>=${i}.0.0${l} <${+i+1}.0.0-0`:p&&(r=`>=${i}.${o}.0${l} <${i}.${+o+1}.0-0`),a("xRange return",r),r;});},$=(e,t)=>(a("replaceStars",e,t),e.trim().replace(u[p.STAR],"")),A=(e,t)=>(a("replaceGTE0",e,t),e.trim().replace(u[t.includePrerelease?p.GTE0PRE:p.GTE0],"")),P=e=>(t,r,n,i,o,s,a,l,c,u,p,d,f)=>`${r=b(n)?"":b(i)?`>=${n}.0.0${e?"-0":""}`:b(o)?`>=${n}.${i}.0${e?"-0":""}`:s?">="+r:`>=${r}${e?"-0":""}`} ${l=b(c)?"":b(u)?`<${+c+1}.0.0-0`:b(p)?`<${c}.${+u+1}.0-0`:d?`<=${c}.${u}.${p}-${d}`:e?`<${c}.${u}.${+p+1}-0`:"<="+l}`.trim(),_=(e,t,r)=>{for(let r=0;r0){let n=e[r].semver;if(n.major===t.major&&n.minor===t.minor&&n.patch===t.patch)return!0;}return!1;}return!0;};}),rh.register("7re4a",function(e,t){var r=rh("c74VM");let n=Symbol(),i=Symbol(),o=Symbol(),s=Symbol(),a=Symbol(),l=Symbol(),c=Symbol(),u=Symbol(),p=Symbol(),d=Symbol(),f=()=>1,h=(e,t,r)=>{let n=e[p].get(t);if(n){let t=n.value;if(m(e,t)){if(v(e,n),!e[s])return;}else r&&(e[d]&&(n.value.now=Date.now()),e[u].unshiftNode(n));return t.value;}},m=(e,t)=>{if(!t||!t.maxAge&&!e[a])return!1;let r=Date.now()-t.now;return t.maxAge?r>t.maxAge:e[a]&&r>e[a];},g=e=>{if(e[i]>e[n])for(let t=e[u].tail;e[i]>e[n]&&null!==t;){let r=t.prev;v(e,t),t=r;}},v=(e,t)=>{if(t){let r=t.value;e[l]&&e[l](r.key,r.value),e[i]-=r.length,e[p].delete(r.key),e[u].removeNode(t);}};class E{constructor(e,t,r,n,i){this.key=e,this.value=t,this.length=r,this.now=n,this.maxAge=i||0;}}let y=(e,t,r,n)=>{let i=r.value;m(e,i)&&(v(e,r),e[s]||(i=void 0)),i&&t.call(n,i.value,i.key,e);};e.exports=class{constructor(e){if("number"==typeof e&&(e={max:e}),e||(e={}),e.max&&("number"!=typeof e.max||e.max<0))throw TypeError("max must be a non-negative number");this[n]=e.max||1/0;let t=e.length||f;if(this[o]="function"!=typeof t?f:t,this[s]=e.stale||!1,e.maxAge&&"number"!=typeof e.maxAge)throw TypeError("maxAge must be a number");this[a]=e.maxAge||0,this[l]=e.dispose,this[c]=e.noDisposeOnSet||!1,this[d]=e.updateAgeOnGet||!1,this.reset();}set max(e){if("number"!=typeof e||e<0)throw TypeError("max must be a non-negative number");this[n]=e||1/0,g(this);}get max(){return this[n];}set allowStale(e){this[s]=!!e;}get allowStale(){return this[s];}set maxAge(e){if("number"!=typeof e)throw TypeError("maxAge must be a non-negative number");this[a]=e,g(this);}get maxAge(){return this[a];}set lengthCalculator(e){"function"!=typeof e&&(e=f),e!==this[o]&&(this[o]=e,this[i]=0,this[u].forEach(e=>{e.length=this[o](e.value,e.key),this[i]+=e.length;})),g(this);}get lengthCalculator(){return this[o];}get length(){return this[i];}get itemCount(){return this[u].length;}rforEach(e,t){t=t||this;for(let r=this[u].tail;null!==r;){let n=r.prev;y(this,e,r,t),r=n;}}forEach(e,t){t=t||this;for(let r=this[u].head;null!==r;){let n=r.next;y(this,e,r,t),r=n;}}keys(){return this[u].toArray().map(e=>e.key);}values(){return this[u].toArray().map(e=>e.value);}reset(){this[l]&&this[u]&&this[u].length&&this[u].forEach(e=>this[l](e.key,e.value)),this[p]=new Map(),this[u]=new r(),this[i]=0;}dump(){return this[u].map(e=>!m(this,e)&&{k:e.key,v:e.value,e:e.now+(e.maxAge||0)}).toArray().filter(e=>e);}dumpLru(){return this[u];}set(e,t,r){if((r=r||this[a])&&"number"!=typeof r)throw TypeError("maxAge must be a number");let s=r?Date.now():0,d=this[o](t,e);if(this[p].has(e)){if(d>this[n])return v(this,this[p].get(e)),!1;let o=this[p].get(e),a=o.value;return this[l]&&!this[c]&&this[l](e,a.value),a.now=s,a.maxAge=r,a.value=t,this[i]+=d-a.length,a.length=d,this.get(e),g(this),!0;}let f=new E(e,t,d,s,r);return f.length>this[n]?(this[l]&&this[l](e,t),!1):(this[i]+=f.length,this[u].unshift(f),this[p].set(e,this[u].head),g(this),!0);}has(e){if(!this[p].has(e))return!1;let t=this[p].get(e).value;return!m(this,t);}get(e){return h(this,e,!0);}peek(e){return h(this,e,!1);}pop(){let e=this[u].tail;return e?(v(this,e),e.value):null;}del(e){v(this,this[p].get(e));}load(e){this.reset();let t=Date.now();for(let r=e.length-1;r>=0;r--){let n=e[r],i=n.e||0;if(0===i)this.set(n.k,n.v);else{let e=i-t;e>0&&this.set(n.k,n.v,e);}}}prune(){this[p].forEach((e,t)=>h(this,t,!1));}};}),rh.register("c74VM",function(e,t){function r(e){var t=this;if(t instanceof r||(t=new r()),t.tail=null,t.head=null,t.length=0,e&&"function"==typeof e.forEach)e.forEach(function(e){t.push(e);});else if(arguments.length>0)for(var n=0,i=arguments.length;i>n;n++)t.push(arguments[n]);return t;}function n(e,t,r,i){if(!(this instanceof n))return new n(e,t,r,i);this.list=i,this.value=e,t?(t.next=this,this.prev=t):this.prev=null,r?(r.prev=this,this.next=r):this.next=null;}e.exports=r,r.Node=n,r.create=r,r.prototype.removeNode=function(e){if(e.list!==this)throw Error("removing node which does not belong to this list");var t=e.next,r=e.prev;return t&&(t.prev=r),r&&(r.next=t),e===this.head&&(this.head=t),e===this.tail&&(this.tail=r),e.list.length--,e.next=null,e.prev=null,e.list=null,t;},r.prototype.unshiftNode=function(e){if(e!==this.head){e.list&&e.list.removeNode(e);var t=this.head;e.list=this,e.next=t,t&&(t.prev=e),this.head=e,this.tail||(this.tail=e),this.length++;}},r.prototype.pushNode=function(e){if(e!==this.tail){e.list&&e.list.removeNode(e);var t=this.tail;e.list=this,e.prev=t,t&&(t.next=e),this.tail=e,this.head||(this.head=e),this.length++;}},r.prototype.push=function(){for(var e,t=0,r=arguments.length;r>t;t++)e=arguments[t],this.tail=new n(e,this.tail,null,this),this.head||(this.head=this.tail),this.length++;return this.length;},r.prototype.unshift=function(){for(var e,t=0,r=arguments.length;r>t;t++)e=arguments[t],this.head=new n(e,null,this.head,this),this.tail||(this.tail=this.head),this.length++;return this.length;},r.prototype.pop=function(){if(this.tail){var e=this.tail.value;return this.tail=this.tail.prev,this.tail?this.tail.next=null:this.head=null,this.length--,e;}},r.prototype.shift=function(){if(this.head){var e=this.head.value;return this.head=this.head.next,this.head?this.head.prev=null:this.tail=null,this.length--,e;}},r.prototype.forEach=function(e,t){t=t||this;for(var r=this.head,n=0;null!==r;n++)e.call(t,r.value,n,this),r=r.next;},r.prototype.forEachReverse=function(e,t){t=t||this;for(var r=this.tail,n=this.length-1;null!==r;n--)e.call(t,r.value,n,this),r=r.prev;},r.prototype.get=function(e){for(var t=0,r=this.head;null!==r&&e>t;t++)r=r.next;if(t===e&&null!==r)return r.value;},r.prototype.getReverse=function(e){for(var t=0,r=this.tail;null!==r&&e>t;t++)r=r.prev;if(t===e&&null!==r)return r.value;},r.prototype.map=function(e,t){t=t||this;for(var n=new r(),i=this.head;null!==i;)n.push(e.call(t,i.value,this)),i=i.next;return n;},r.prototype.mapReverse=function(e,t){t=t||this;for(var n=new r(),i=this.tail;null!==i;)n.push(e.call(t,i.value,this)),i=i.prev;return n;},r.prototype.reduce=function(e,t){var r,n=this.head;if(arguments.length>1)r=t;else if(this.head)n=this.head.next,r=this.head.value;else throw TypeError("Reduce of empty list with no initial value");for(var i=0;null!==n;i++)r=e(r,n.value,i),n=n.next;return r;},r.prototype.reduceReverse=function(e,t){var r,n=this.tail;if(arguments.length>1)r=t;else if(this.tail)n=this.tail.prev,r=this.tail.value;else throw TypeError("Reduce of empty list with no initial value");for(var i=this.length-1;null!==n;i--)r=e(r,n.value,i),n=n.prev;return r;},r.prototype.toArray=function(){for(var e=Array(this.length),t=0,r=this.head;null!==r;t++)e[t]=r.value,r=r.next;return e;},r.prototype.toArrayReverse=function(){for(var e=Array(this.length),t=0,r=this.tail;null!==r;t++)e[t]=r.value,r=r.prev;return e;},r.prototype.slice=function(e,t){(t=t||this.length)<0&&(t+=this.length),(e=e||0)<0&&(e+=this.length);var n=new r();if(tthis.length&&(t=this.length);for(var i=0,o=this.head;null!==o&&ii;i++,o=o.next)n.push(o.value);return n;},r.prototype.sliceReverse=function(e,t){(t=t||this.length)<0&&(t+=this.length),(e=e||0)<0&&(e+=this.length);var n=new r();if(tthis.length&&(t=this.length);for(var i=this.length,o=this.tail;null!==o&&i>t;i--)o=o.prev;for(;null!==o&&i>e;i--,o=o.prev)n.push(o.value);return n;},r.prototype.splice=function(e,t,...r){e>this.length&&(e=this.length-1),e<0&&(e=this.length+e);for(var i=0,o=this.head;null!==o&&e>i;i++)o=o.next;for(var s=[],i=0;o&&i{try{t=new r(t,n);}catch(e){return!1;}return t.test(e);};}),rh.register("2JYAa",function(e,t){var r=rh("lKnWr");e.exports=(e,t)=>new r(e,t).set.map(e=>e.map(e=>e.value).join(" ").trim().split(" "));}),rh.register("hlGm0",function(e,t){var r=rh("5LYRo"),n=rh("lKnWr");e.exports=(e,t,i)=>{let o=null,s=null,a=null;try{a=new n(t,i);}catch(e){return null;}return e.forEach(e=>{a.test(e)&&(!o||-1===s.compare(e))&&(o=e,s=new r(o,i));}),o;};}),rh.register("iNSIN",function(e,t){var r=rh("5LYRo"),n=rh("lKnWr");e.exports=(e,t,i)=>{let o=null,s=null,a=null;try{a=new n(t,i);}catch(e){return null;}return e.forEach(e=>{a.test(e)&&(!o||1===s.compare(e))&&(o=e,s=new r(o,i));}),o;};}),rh.register("kkdJh",function(e,t){var r=rh("5LYRo"),n=rh("lKnWr"),i=rh("dFwZk");e.exports=(e,t)=>{e=new n(e,t);let o=new r("0.0.0");if(e.test(o)||(o=new r("0.0.0-0"),e.test(o)))return o;o=null;for(let t=0;t{let 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">=":(!s||i(t,s))&&(s=t);break;case"<":case"<=":break;default:throw Error("Unexpected operation: "+e.operator);}}),s&&(!o||i(o,s))&&(o=s);}return o&&e.test(o)?o:null;};}),rh.register("eMkjx",function(e,t){var r=rh("lKnWr");e.exports=(e,t)=>{try{return new r(e,t).range||"*";}catch(e){return null;}};}),rh.register("xFOFw",function(e,t){var r=rh("5LYRo"),n=rh("9hQpH");let{ANY:i}=n;var o=rh("lKnWr"),s=rh("iIMQc"),a=rh("dFwZk"),l=rh("iVR3H"),c=rh("ldLP8"),u=rh("lHD2W");e.exports=(e,t,p,d)=>{let f,h,m,g,v;switch(e=new r(e,d),t=new o(t,d),p){case">":f=a,h=c,m=l,g=">",v=">=";break;case"<":f=l,h=u,m=a,g="<",v="<=";break;default:throw TypeError('Must provide a hilo val of "<" or ">"');}if(s(e,t,d))return!1;for(let r=0;r{e.semver===i&&(e=new n(">=0.0.0")),s=s||e,a=a||e,f(e.semver,s.semver,d)?s=e:m(e.semver,a.semver,d)&&(a=e);}),s.operator===g||s.operator===v||(!a.operator||a.operator===g)&&h(e,a.semver)||a.operator===v&&m(e,a.semver))return!1;}return!0;};}),rh.register("9S1Z8",function(e,t){var r=rh("xFOFw");e.exports=(e,t,n)=>r(e,t,">",n);}),rh.register("jT4YP",function(e,t){var r=rh("xFOFw");e.exports=(e,t,n)=>r(e,t,"<",n);}),rh.register("ed76J",function(e,t){var r=rh("lKnWr");e.exports=(e,t,n)=>(e=new r(e,n),t=new r(t,n),e.intersects(t,n));}),rh.register("abIkC",function(e,t){var r=rh("iIMQc"),n=rh("aWTSG");e.exports=(e,t,i)=>{let o=[],s=null,a=null,l=e.sort((e,t)=>n(e,t,i));for(let e of l){let n=r(e,t,i);n?(a=e,s||(s=e)):(a&&o.push([s,a]),a=null,s=null);}s&&o.push([s,null]);let c=[];for(let[e,t]of o)e===t?c.push(e):t||e!==l[0]?t?e===l[0]?c.push("<="+t):c.push(`${e} - ${t}`):c.push(">="+e):c.push("*");let u=c.join(" || "),p="string"==typeof t.raw?t.raw:t+"";return u.length=0.0.0-0")],l=[new n(">=0.0.0")],c=(e,t,r)=>{let n,c,d,f,h,m,g;if(e===t)return!0;if(1===e.length&&e[0].semver===i){if(1===t.length&&t[0].semver===i)return!0;e=r.includePrerelease?a:l;}if(1===t.length&&t[0].semver===i){if(r.includePrerelease)return!0;t=l;}let v=new Set();for(let t of e)">"===t.operator||">="===t.operator?n=u(n,t,r):"<"===t.operator||"<="===t.operator?c=p(c,t,r):v.add(t.semver);if(v.size>1||n&&c&&((d=s(n.semver,c.semver,r))>0||0===d&&(">="!==n.operator||"<="!==c.operator)))return null;for(let e of v){if(n&&!o(e,n+"",r)||c&&!o(e,c+"",r))return null;for(let n of t)if(!o(e,n+"",r))return!1;return!0;}let E=!!c&&!r.includePrerelease&&!!c.semver.prerelease.length&&c.semver,y=!!n&&!r.includePrerelease&&!!n.semver.prerelease.length&&n.semver;for(let e of(E&&1===E.prerelease.length&&"<"===c.operator&&0===E.prerelease[0]&&(E=!1),t)){if(g=g||">"===e.operator||">="===e.operator,m=m||"<"===e.operator||"<="===e.operator,n){if(y&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===y.major&&e.semver.minor===y.minor&&e.semver.patch===y.patch&&(y=!1),">"===e.operator||">="===e.operator){if((f=u(n,e,r))===e&&f!==n)return!1;}else if(">="===n.operator&&!o(n.semver,e+"",r))return!1;}if(c){if(E&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===E.major&&e.semver.minor===E.minor&&e.semver.patch===E.patch&&(E=!1),"<"===e.operator||"<="===e.operator){if((h=p(c,e,r))===e&&h!==c)return!1;}else if("<="===c.operator&&!o(c.semver,e+"",r))return!1;}if(!e.operator&&(c||n)&&0!==d)return!1;}return(!n||!m||!!c||0===d)&&(!c||!g||!!n||0===d)&&!y&&!E;},u=(e,t,r)=>{if(!e)return t;let n=s(e.semver,t.semver,r);return n>0?e:n<0?t:">"===t.operator&&">="===e.operator?t:e;},p=(e,t,r)=>{if(!e)return t;let n=s(e.semver,t.semver,r);return n<0?e:n>0?t:"<"===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 i=!1;e:for(let r of e.set){for(let e of t.set){let t=c(r,e,n);if(i=i||null!==t,t)continue e;}if(i)return!1;}return!0;};}),rh.register("bmInQ",function(e,t){e.exports=function(e){if("string"!=typeof e)throw TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&");};}),rh.register("bOuKS",function(e,t){async function r(e){try{return await(0,t6.promises).access(e),!0;}catch{return!1;}}l(e.exports,"pathExists",()=>r);}),rh.register("eq4yW",function(e,t){var r,n,i,o,s,a,u,p,d,f,h,m,g;function v(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 E(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0});}function y(e,t=!0){return t?(0,ip.basename)(e):(0,ip.basename)(e,(0,ip.extname)(e));}function w(e){return(0,ip.normalize)(e).replace(RegExp((0,r.default)(ip.sep)+"$"),"");}function x(e,t=".exe",r=""){return"win32"===process.platform?`${e}${t}`:`${e}${r}`;}function b(e,t){let r=(0,ip.extname)(e),n=`${t}${(0,ip.basename)(e,r)}${r}`;return(0,ip.join)((0,ip.dirname)(e),n);}function S(e,t){let r=(0,ip.extname)(e),n=`${(0,ip.basename)(e,r)}${t}${r}`;return(0,ip.join)((0,ip.dirname)(e),n);}function I(e,t=".cmd",r=".sh"){return"win32"===process.platform?`${e}${t}`:`${e}${r}`;}function R(e){return"win32"===process.platform?e:"./"+e;}function O(e){let t=(0,ip.extname)(e).length;return e.slice(0,-t);}function T(e,t){return c(n)(e,t);}function C(e,t){let r=(0,ip.relative)(t,e);return!(!r||".."===r||r.startsWith(".."+ip.sep)||r===(0,ip.resolve)(e));}l(e.exports,"addExeExt",()=>x),l(e.exports,"addShExt",()=>I),l(e.exports,"addShRelativePrefix",()=>R),l(e.exports,"dirname",()=>ip.dirname),l(e.exports,"join",()=>ip.join),r=rh("3cGqJ"),n=rh("hf1mP"),i={},E(o={},"name",()=>y),E(s={},"normalizeTrim",()=>w),E(a={},"addExeExt",()=>x),E(u={},"addNamePrefix",()=>b),E(p={},"addNameSuffix",()=>S),E(d={},"addShExt",()=>I),E(f={},"addShRelativePrefix",()=>R),E(h={},"removeExt",()=>O),E(m={},"replaceExt",()=>T),E(g={},"isPathInside",()=>C),v(i,o),v(i,s),v(i,a),v(i,u),v(i,p),v(i,d),v(i,f),v(i,h),v(i,m),v(i,g);}),rh.register("3cGqJ",function(e,t){function r(e){if("string"!=typeof e)throw TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d");}l(e.exports,"default",()=>r);}),rh.register("hf1mP",function(e,t){e.exports=function(e,t){if("string"!=typeof e||0===e.length)return e;var r,n=ip.basename(e,ip.extname(e))+t,i=ip.join(ip.dirname(e),n);return(r=e.slice(0,2),r==="."+ip.sep||"./"===r)?"."+ip.sep+i:i;};}),rh.register("jtqY0",function(e,t){var r,n,i,o;function s(e){return o(this,void 0,void 0,function*(){if(p.IS_WINDOWS&&/[*"<>|]/.test(e))throw Error('File path must not contain `*`, `"`, `<`, `>` or `|` on Windows');try{yield p.rm(e,{force:!0,maxRetries:3,recursive:!0,retryDelay:300});}catch(e){throw Error("File was unable to be removed "+e);}});}function a(e){return o(this,void 0,void 0,function*(){t4.ok(e,"a path argument must be provided"),yield p.mkdir(e,{recursive:!0});});}function l(e){return o(this,void 0,void 0,function*(){if(!e)throw Error("parameter 'tool' is required");let t=[];if(p.IS_WINDOWS&&process.env.PATHEXT)for(let e of process.env.PATHEXT.split(u.delimiter))e&&t.push(e);if(p.isRooted(e)){let r=yield p.tryGetExecutablePath(e,t);return r?[r]:[];}if(e.includes(u.sep))return[];let r=[];if(process.env.PATH)for(let e of process.env.PATH.split(u.delimiter))e&&r.push(e);let n=[];for(let i of r){let r=yield p.tryGetExecutablePath(u.join(i,e),t);r&&n.push(r);}return n;});}function c(e,t,r){return o(this,void 0,void 0,function*(){if((yield p.lstat(e)).isSymbolicLink()){try{yield p.lstat(t),yield p.unlink(t);}catch(e){"EPERM"===e.code&&(yield p.chmod(t,"0666"),yield p.unlink(t));}let r=yield p.readlink(e);yield p.symlink(r,t,p.IS_WINDOWS?"junction":null);}else(!(yield p.exists(t))||r)&&(yield p.copyFile(e,t));});}r=e.exports&&e.exports.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r];}});}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r];}),n=e.exports&&e.exports.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),i=e.exports&&e.exports.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&r(t,e,i);return n(t,e),t;},o=e.exports&&e.exports.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e));}catch(e){o(e);}}function a(e){try{l(n.throw(e));}catch(e){o(e);}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t);})).then(s,a);}l((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;let u=i(ip),p=i(rh("cbIfL"));e.exports.cp=function(e,t,r={}){return o(this,void 0,void 0,function*(){let{force:n,recursive:i,copySourceDirectory:s}=function(e){let t=null==e.force||e.force,r=!!e.recursive,n=null==e.copySourceDirectory||!!e.copySourceDirectory;return{force:t,recursive:r,copySourceDirectory:n};}(r),l=(yield p.exists(t))?yield p.stat(t):null;if(l&&l.isFile()&&!n)return;let d=l&&l.isDirectory()&&s?u.join(t,u.basename(e)):t;if(!(yield p.exists(e)))throw Error("no such file or directory: "+e);let f=yield p.stat(e);if(f.isDirectory()){if(i)yield function e(t,r,n,i){return o(this,void 0,void 0,function*(){if(n>=255)return;n++,yield a(r);let o=yield p.readdir(t);for(let s of o){let o=`${t}/${s}`,a=`${r}/${s}`,l=yield p.lstat(o);l.isDirectory()?yield e(o,a,n,i):yield c(o,a,i);}yield p.chmod(r,(yield p.stat(t)).mode);});}(e,d,0,n);else throw Error(`Failed to copy. ${e} is a directory, but tried to copy without recursive flag.`);}else{if(""===u.relative(e,d))throw Error(`'${d}' and '${e}' are the same file`);yield c(e,d,n);}});},e.exports.mv=function(e,t,r={}){return o(this,void 0,void 0,function*(){if(yield p.exists(t)){let n=!0;if((yield p.isDirectory(t))&&(t=u.join(t,u.basename(e)),n=yield p.exists(t)),n){if(null==r.force||r.force)yield s(t);else throw Error("Destination already exists");}}yield a(u.dirname(t)),yield p.rename(e,t);});},e.exports.rmRF=s,e.exports.mkdirP=a,e.exports.which=function e(t,r){return o(this,void 0,void 0,function*(){if(!t)throw Error("parameter 'tool' is required");if(r){let r=yield e(t,!1);if(!r){if(p.IS_WINDOWS)throw Error(`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.`);throw Error(`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;}let n=yield l(t);return n&&n.length>0?n[0]:"";});},e.exports.findInPath=l;}),rh.register("cbIfL",function(e,t){var r,n,i,o,s;function a(e){return(1&e.mode)>0||(8&e.mode)>0&&e.gid===process.getgid()||(64&e.mode)>0&&e.uid===process.getuid();}r=e.exports&&e.exports.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r];}});}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r];}),n=e.exports&&e.exports.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),i=e.exports&&e.exports.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&r(t,e,i);return n(t,e),t;},o=e.exports&&e.exports.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e));}catch(e){o(e);}}function a(e){try{l(n.throw(e));}catch(e){o(e);}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t);})).then(s,a);}l((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.READONLY=e.exports.UV_FS_O_EXLOCK=e.exports.IS_WINDOWS=e.exports.unlink=e.exports.symlink=e.exports.stat=e.exports.rmdir=e.exports.rm=e.exports.rename=e.exports.readlink=e.exports.readdir=e.exports.open=e.exports.mkdir=e.exports.lstat=e.exports.copyFile=e.exports.chmod=void 0;let l=i(id),c=i(ip);s=l.promises,e.exports.chmod=s.chmod,e.exports.copyFile=s.copyFile,e.exports.lstat=s.lstat,e.exports.mkdir=s.mkdir,e.exports.open=s.open,e.exports.readdir=s.readdir,e.exports.readlink=s.readlink,e.exports.rename=s.rename,e.exports.rm=s.rm,e.exports.rmdir=s.rmdir,e.exports.stat=s.stat,e.exports.symlink=s.symlink,e.exports.unlink=s.unlink,e.exports.IS_WINDOWS="win32"===process.platform,e.exports.UV_FS_O_EXLOCK=268435456,e.exports.READONLY=l.constants.O_RDONLY,e.exports.exists=function(t){return o(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 o(this,void 0,void 0,function*(){let n=r?yield e.exports.stat(t):yield e.exports.lstat(t);return n.isDirectory();});},e.exports.isRooted=function(t){var r;if(r=(r=t)||"",!(t=e.exports.IS_WINDOWS?(r=r.replace(/\//g,"\\")).replace(/\\\\+/g,"\\"):r.replace(/\/\/+/g,"/")))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,r){return o(this,void 0,void 0,function*(){let n;try{n=yield e.exports.stat(t);}catch(e){"ENOENT"!==e.code&&console.log(`Unexpected error attempting to determine if executable file exists '${t}': ${e}`);}if(n&&n.isFile()){if(e.exports.IS_WINDOWS){let e=c.extname(t).toUpperCase();if(r.some(t=>t.toUpperCase()===e))return t;}else if(a(n))return t;}let i=t;for(let o of r){t=i+o,n=void 0;try{n=yield e.exports.stat(t);}catch(e){"ENOENT"!==e.code&&console.log(`Unexpected error attempting to determine if executable file exists '${t}': ${e}`);}if(n&&n.isFile()){if(e.exports.IS_WINDOWS){try{let r=c.dirname(t),n=c.basename(t).toUpperCase();for(let i of yield e.exports.readdir(r))if(n===i.toUpperCase()){t=c.join(r,i);break;}}catch(e){console.log(`Unexpected error attempting to determine the actual case of the file '${t}': ${e}`);}return t;}if(a(n))return t;}}return"";});},e.exports.getCmdPath=function(){var e;return null!==(e=process.env.COMSPEC)&&void 0!==e?e:"cmd.exe";};}),rh.register("d0IR9",function(e,t){var r,n,i,o,s;r=e.exports&&e.exports.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r];}});}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r];}),n=e.exports&&e.exports.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),i=e.exports&&e.exports.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&r(t,e,i);return n(t,e),t;},o=e.exports&&e.exports.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e));}catch(e){o(e);}}function a(e){try{l(n.throw(e));}catch(e){o(e);}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t);})).then(s,a);}l((n=n.apply(e,t||[])).next());});},Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports._readLinuxVersionFile=e.exports._getOsVersion=e.exports._findMatch=void 0;let a=i(rh("8eiWl"));s=rh("i5trn"),e.exports._findMatch=function(t,r,n,i){return o(this,void 0,void 0,function*(){let o,l,c;let u=iu.platform();for(let o of n){let n=o.version;if(s.debug(`check ${n} satisfies ${t}`),a.satisfies(n,t)&&(!r||o.stable===r)&&(c=o.files.find(t=>{s.debug(`${t.arch}===${i} && ${t.platform}===${u}`);let r=t.arch===i&&t.platform===u;if(r&&t.platform_version){let n=e.exports._getOsVersion();r=n===t.platform_version||a.satisfies(n,t.platform_version);}return r;}))){s.debug("matched "+o.version),l=o;break;}}return l&&c&&((o=Object.assign({},l)).files=[c]),o;});},e.exports._getOsVersion=function(){let t=iu.platform(),r="";if("darwin"===t)r=t5.execSync("sw_vers -productVersion").toString();else if("linux"===t){let t=e.exports._readLinuxVersionFile();if(t){let e=t.split("\n");for(let t of e){let 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=function(){let e="/etc/lsb-release",t="/etc/os-release",r="";return id.existsSync(e)?r=id.readFileSync(e).toString():id.existsSync(t)&&(r=id.readFileSync(t).toString()),r;};}),rh.register("8eiWl",function(e,t){function r(e){$[e]=A++;}function n(e){for(var t=0;t<_.length;t++){var r=_[t][0],n=_[t][1];e=e.split(r+"*").join(r+"{0,"+n+"}").split(r+"+").join(r+"{1,"+n+"}");}return e;}function i(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof o)return e;if("string"!=typeof e||e.length>S||!(t.loose?T[$.LOOSE]:T[$.FULL]).test(e))return null;try{return new o(e,t);}catch(e){return null;}}function o(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof o){if(e.loose===t.loose)return e;e=e.version;}else if("string"!=typeof e)throw TypeError("Invalid Version: "+e);if(e.length>S)throw TypeError("version is longer than "+S+" characters");if(!(this instanceof o))return new o(e,t);b("SemVer",e,t),this.options=t,this.loose=!!t.loose;var r=e.trim().match(t.loose?T[$.LOOSE]:T[$.FULL]);if(!r)throw TypeError("Invalid Version: "+e);if(this.raw=e,this.major=+r[1],this.minor=+r[2],this.patch=+r[3],this.major>I||this.major<0)throw TypeError("Invalid major version");if(this.minor>I||this.minor<0)throw TypeError("Invalid minor version");if(this.patch>I||this.patch<0)throw TypeError("Invalid patch version");r[4]?this.prerelease=r[4].split(".").map(function(e){if(/^[0-9]+$/.test(e)){var t=+e;if(t>=0&&te?-1:1;}function a(e,t,r){return new o(e,r).compare(new o(t,r));}function l(e,t,r){return a(e,t,r)>0;}function c(e,t,r){return 0>a(e,t,r);}function u(e,t,r){return 0===a(e,t,r);}function p(e,t,r){return 0!==a(e,t,r);}function d(e,t,r){return a(e,t,r)>=0;}function f(e,t,r){return 0>=a(e,t,r);}function h(e,t,r,n){switch(t){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof r&&(r=r.version),e===r;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof r&&(r=r.version),e!==r;case"":case"=":case"==":return u(e,r,n);case"!=":return p(e,r,n);case">":return l(e,r,n);case">=":return d(e,r,n);case"<":return c(e,r,n);case"<=":return f(e,r,n);default:throw TypeError("Invalid operator: "+t);}}function m(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof m){if(!!t.loose===e.loose)return e;e=e.value;}if(!(this instanceof m))return new m(e,t);b("comparator",e=e.trim().split(/\s+/).join(" "),t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===L?this.value="":this.value=this.operator+this.semver.version,b("comp",this);}function g(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof g)return!!t.loose===e.loose&&!!t.includePrerelease===e.includePrerelease?e:new g(e.raw,t);if(e instanceof m)return new g(e.value,t);if(!(this instanceof g))return new g(e,t);if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map(function(e){return this.parseRange(e.trim());},this).filter(function(e){return e.length;}),!this.set.length)throw TypeError("Invalid SemVer Range: "+this.raw);this.format();}function v(e,t){for(var r=!0,n=e.slice(),i=n.pop();r&&n.length;)r=n.every(function(e){return i.intersects(e,t);}),i=n.pop();return r;}function E(e){return!e||"x"===e.toLowerCase()||"*"===e;}function y(e,t,r,n,i,o,s,a,l,c,u,p,d){return((t=E(r)?"":E(n)?">="+r+".0.0":E(i)?">="+r+"."+n+".0":">="+t)+" "+(a=E(l)?"":E(c)?"<"+(+l+1)+".0.0":E(u)?"<"+l+"."+(+c+1)+".0":p?"<="+l+"."+c+"."+u+"-"+p:"<="+a)).trim();}function w(e,t,r){try{t=new g(t,r);}catch(e){return!1;}return t.test(e);}function x(e,t,r,n){switch(e=new o(e,n),t=new g(t,n),r){case">":i=l,s=f,a=c,u=">",p=">=";break;case"<":i=c,s=d,a=l,u="<",p="<=";break;default:throw TypeError('Must provide a hilo val of "<" or ">"');}if(w(e,t,n))return!1;for(var i,s,a,u,p,h=0;h=0.0.0")),E=E||e,y=y||e,i(e.semver,E.semver,n)?E=e:a(e.semver,y.semver,n)&&(y=e);}),E.operator===u||E.operator===p||(!y.operator||y.operator===u)&&s(e,y.semver)||y.operator===p&&a(e,y.semver))return!1;}return!0;}t=e.exports=o,b="object"==typeof process&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?function(){var e=Array.prototype.slice.call(arguments,0);e.unshift("SEMVER"),console.log.apply(console,e);}:function(){},t.SEMVER_SPEC_VERSION="2.0.0",S=256,I=Number.MAX_SAFE_INTEGER||9007199254740991,R=S-6,O=t.re=[],T=t.safeRe=[],C=t.src=[],$=t.tokens={},A=0,_=[["\\s",1],["\\d",S],[P="[a-zA-Z0-9-]",R]],r("NUMERICIDENTIFIER"),C[$.NUMERICIDENTIFIER]="0|[1-9]\\d*",r("NUMERICIDENTIFIERLOOSE"),C[$.NUMERICIDENTIFIERLOOSE]="\\d+",r("NONNUMERICIDENTIFIER"),C[$.NONNUMERICIDENTIFIER]="\\d*[a-zA-Z-]"+P+"*",r("MAINVERSION"),C[$.MAINVERSION]="("+C[$.NUMERICIDENTIFIER]+")\\.("+C[$.NUMERICIDENTIFIER]+")\\.("+C[$.NUMERICIDENTIFIER]+")",r("MAINVERSIONLOOSE"),C[$.MAINVERSIONLOOSE]="("+C[$.NUMERICIDENTIFIERLOOSE]+")\\.("+C[$.NUMERICIDENTIFIERLOOSE]+")\\.("+C[$.NUMERICIDENTIFIERLOOSE]+")",r("PRERELEASEIDENTIFIER"),C[$.PRERELEASEIDENTIFIER]="(?:"+C[$.NUMERICIDENTIFIER]+"|"+C[$.NONNUMERICIDENTIFIER]+")",r("PRERELEASEIDENTIFIERLOOSE"),C[$.PRERELEASEIDENTIFIERLOOSE]="(?:"+C[$.NUMERICIDENTIFIERLOOSE]+"|"+C[$.NONNUMERICIDENTIFIER]+")",r("PRERELEASE"),C[$.PRERELEASE]="(?:-("+C[$.PRERELEASEIDENTIFIER]+"(?:\\."+C[$.PRERELEASEIDENTIFIER]+")*))",r("PRERELEASELOOSE"),C[$.PRERELEASELOOSE]="(?:-?("+C[$.PRERELEASEIDENTIFIERLOOSE]+"(?:\\."+C[$.PRERELEASEIDENTIFIERLOOSE]+")*))",r("BUILDIDENTIFIER"),C[$.BUILDIDENTIFIER]=P+"+",r("BUILD"),C[$.BUILD]="(?:\\+("+C[$.BUILDIDENTIFIER]+"(?:\\."+C[$.BUILDIDENTIFIER]+")*))",r("FULL"),r("FULLPLAIN"),C[$.FULLPLAIN]="v?"+C[$.MAINVERSION]+C[$.PRERELEASE]+"?"+C[$.BUILD]+"?",C[$.FULL]="^"+C[$.FULLPLAIN]+"$",r("LOOSEPLAIN"),C[$.LOOSEPLAIN]="[v=\\s]*"+C[$.MAINVERSIONLOOSE]+C[$.PRERELEASELOOSE]+"?"+C[$.BUILD]+"?",r("LOOSE"),C[$.LOOSE]="^"+C[$.LOOSEPLAIN]+"$",r("GTLT"),C[$.GTLT]="((?:<|>)?=?)",r("XRANGEIDENTIFIERLOOSE"),C[$.XRANGEIDENTIFIERLOOSE]=C[$.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*",r("XRANGEIDENTIFIER"),C[$.XRANGEIDENTIFIER]=C[$.NUMERICIDENTIFIER]+"|x|X|\\*",r("XRANGEPLAIN"),C[$.XRANGEPLAIN]="[v=\\s]*("+C[$.XRANGEIDENTIFIER]+")(?:\\.("+C[$.XRANGEIDENTIFIER]+")(?:\\.("+C[$.XRANGEIDENTIFIER]+")(?:"+C[$.PRERELEASE]+")?"+C[$.BUILD]+"?)?)?",r("XRANGEPLAINLOOSE"),C[$.XRANGEPLAINLOOSE]="[v=\\s]*("+C[$.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+C[$.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+C[$.XRANGEIDENTIFIERLOOSE]+")(?:"+C[$.PRERELEASELOOSE]+")?"+C[$.BUILD]+"?)?)?",r("XRANGE"),C[$.XRANGE]="^"+C[$.GTLT]+"\\s*"+C[$.XRANGEPLAIN]+"$",r("XRANGELOOSE"),C[$.XRANGELOOSE]="^"+C[$.GTLT]+"\\s*"+C[$.XRANGEPLAINLOOSE]+"$",r("COERCE"),C[$.COERCE]="(^|[^\\d])(\\d{1,16})(?:\\.(\\d{1,16}))?(?:\\.(\\d{1,16}))?(?:$|[^\\d])",r("COERCERTL"),O[$.COERCERTL]=RegExp(C[$.COERCE],"g"),T[$.COERCERTL]=RegExp(n(C[$.COERCE]),"g"),r("LONETILDE"),C[$.LONETILDE]="(?:~>?)",r("TILDETRIM"),C[$.TILDETRIM]="(\\s*)"+C[$.LONETILDE]+"\\s+",O[$.TILDETRIM]=RegExp(C[$.TILDETRIM],"g"),T[$.TILDETRIM]=RegExp(n(C[$.TILDETRIM]),"g"),r("TILDE"),C[$.TILDE]="^"+C[$.LONETILDE]+C[$.XRANGEPLAIN]+"$",r("TILDELOOSE"),C[$.TILDELOOSE]="^"+C[$.LONETILDE]+C[$.XRANGEPLAINLOOSE]+"$",r("LONECARET"),C[$.LONECARET]="(?:\\^)",r("CARETTRIM"),C[$.CARETTRIM]="(\\s*)"+C[$.LONECARET]+"\\s+",O[$.CARETTRIM]=RegExp(C[$.CARETTRIM],"g"),T[$.CARETTRIM]=RegExp(n(C[$.CARETTRIM]),"g"),r("CARET"),C[$.CARET]="^"+C[$.LONECARET]+C[$.XRANGEPLAIN]+"$",r("CARETLOOSE"),C[$.CARETLOOSE]="^"+C[$.LONECARET]+C[$.XRANGEPLAINLOOSE]+"$",r("COMPARATORLOOSE"),C[$.COMPARATORLOOSE]="^"+C[$.GTLT]+"\\s*("+C[$.LOOSEPLAIN]+")$|^$",r("COMPARATOR"),C[$.COMPARATOR]="^"+C[$.GTLT]+"\\s*("+C[$.FULLPLAIN]+")$|^$",r("COMPARATORTRIM"),C[$.COMPARATORTRIM]="(\\s*)"+C[$.GTLT]+"\\s*("+C[$.LOOSEPLAIN]+"|"+C[$.XRANGEPLAIN]+")",O[$.COMPARATORTRIM]=RegExp(C[$.COMPARATORTRIM],"g"),T[$.COMPARATORTRIM]=RegExp(n(C[$.COMPARATORTRIM]),"g"),r("HYPHENRANGE"),C[$.HYPHENRANGE]="^\\s*("+C[$.XRANGEPLAIN]+")\\s+-\\s+("+C[$.XRANGEPLAIN]+")\\s*$",r("HYPHENRANGELOOSE"),C[$.HYPHENRANGELOOSE]="^\\s*("+C[$.XRANGEPLAINLOOSE]+")\\s+-\\s+("+C[$.XRANGEPLAINLOOSE]+")\\s*$",r("STAR"),C[$.STAR]="(<|>)?=?\\s*\\*";for(var b,S,I,R,O,T,C,$,A,P,_,N,L,k=0;k=0;)"number"==typeof this.prerelease[r]&&(this.prerelease[r]++,r=-2);-1===r&&this.prerelease.push(0);}t&&(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;},t.inc=function(e,t,r,n){"string"==typeof r&&(n=r,r=void 0);try{return new o(e,r).inc(t,n).version;}catch(e){return null;}},t.diff=function(e,t){if(u(e,t))return null;var r=i(e),n=i(t),o="";if(r.prerelease.length||n.prerelease.length){o="pre";var s="prerelease";}for(var a in r)if(("major"===a||"minor"===a||"patch"===a)&&r[a]!==n[a])return o+a;return s;},t.compareIdentifiers=s,N=/^[0-9]+$/,t.rcompareIdentifiers=function(e,t){return s(t,e);},t.major=function(e,t){return new o(e,t).major;},t.minor=function(e,t){return new o(e,t).minor;},t.patch=function(e,t){return new o(e,t).patch;},t.compare=a,t.compareLoose=function(e,t){return a(e,t,!0);},t.compareBuild=function(e,t,r){var n=new o(e,r),i=new o(t,r);return n.compare(i)||n.compareBuild(i);},t.rcompare=function(e,t,r){return a(t,e,r);},t.sort=function(e,r){return e.sort(function(e,n){return t.compareBuild(e,n,r);});},t.rsort=function(e,r){return e.sort(function(e,n){return t.compareBuild(n,e,r);});},t.gt=l,t.lt=c,t.eq=u,t.neq=p,t.gte=d,t.lte=f,t.cmp=h,t.Comparator=m,L={},m.prototype.parse=function(e){var t=this.options.loose?T[$.COMPARATORLOOSE]:T[$.COMPARATOR],r=e.match(t);if(!r)throw TypeError("Invalid comparator: "+e);this.operator=void 0!==r[1]?r[1]:"","="===this.operator&&(this.operator=""),r[2]?this.semver=new o(r[2],this.options.loose):this.semver=L;},m.prototype.toString=function(){return this.value;},m.prototype.test=function(e){if(b("Comparator.test",e,this.options.loose),this.semver===L||e===L)return!0;if("string"==typeof e)try{e=new o(e,this.options);}catch(e){return!1;}return h(e,this.operator,this.semver,this.options);},m.prototype.intersects=function(e,t){if(!(e instanceof m))throw TypeError("a Comparator is required");if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),""===this.operator)return""===this.value||(r=new g(e.value,t),w(this.value,r,t));if(""===e.operator)return""===e.value||(r=new g(this.value,t),w(e.semver,r,t));var r,n=(">="===this.operator||">"===this.operator)&&(">="===e.operator||">"===e.operator),i=("<="===this.operator||"<"===this.operator)&&("<="===e.operator||"<"===e.operator),o=this.semver.version===e.semver.version,s=(">="===this.operator||"<="===this.operator)&&(">="===e.operator||"<="===e.operator),a=h(this.semver,"<",e.semver,t)&&(">="===this.operator||">"===this.operator)&&("<="===e.operator||"<"===e.operator),l=h(this.semver,">",e.semver,t)&&("<="===this.operator||"<"===this.operator)&&(">="===e.operator||">"===e.operator);return n||i||o&&s||a||l;},t.Range=g,g.prototype.format=function(){return this.range=this.set.map(function(e){return e.join(" ").trim();}).join("||").trim(),this.range;},g.prototype.toString=function(){return this.range;},g.prototype.parseRange=function(e){var t=this.options.loose,r=t?T[$.HYPHENRANGELOOSE]:T[$.HYPHENRANGE];b("hyphen replace",e=e.replace(r,y)),b("comparator trim",e=e.replace(T[$.COMPARATORTRIM],"$1$2$3"),T[$.COMPARATORTRIM]),e=(e=(e=e.replace(T[$.TILDETRIM],"$1~")).replace(T[$.CARETTRIM],"$1^")).split(/\s+/).join(" ");var n=t?T[$.COMPARATORLOOSE]:T[$.COMPARATOR],i=e.split(" ").map(function(e){var t,r,n,i,o,s,a,l,c;return b("comp",t=e,r=this.options),b("caret",(n=t,i=r,t=n.trim().split(/\s+/).map(function(e){var t,r,n;return b("caret",t=e,r=i),n=r.loose?T[$.CARETLOOSE]:T[$.CARET],t.replace(n,function(e,r,n,i,o){var s;return b("caret",t,e,r,n,i,o),E(r)?s="":E(n)?s=">="+r+".0.0 <"+(+r+1)+".0.0":E(i)?s="0"===r?">="+r+"."+n+".0 <"+r+"."+(+n+1)+".0":">="+r+"."+n+".0 <"+(+r+1)+".0.0":o?(b("replaceCaret pr",o),s="0"===r?"0"===n?">="+r+"."+n+"."+i+"-"+o+" <"+r+"."+n+"."+(+i+1):">="+r+"."+n+"."+i+"-"+o+" <"+r+"."+(+n+1)+".0":">="+r+"."+n+"."+i+"-"+o+" <"+(+r+1)+".0.0"):(b("no pr"),s="0"===r?"0"===n?">="+r+"."+n+"."+i+" <"+r+"."+n+"."+(+i+1):">="+r+"."+n+"."+i+" <"+r+"."+(+n+1)+".0":">="+r+"."+n+"."+i+" <"+(+r+1)+".0.0"),b("caret return",s),s;});}).join(" "))),b("tildes",(o=t,s=r,t=o.trim().split(/\s+/).map(function(e){var t,r;return t=e,r=s.loose?T[$.TILDELOOSE]:T[$.TILDE],t.replace(r,function(e,r,n,i,o){var s;return b("tilde",t,e,r,n,i,o),E(r)?s="":E(n)?s=">="+r+".0.0 <"+(+r+1)+".0.0":E(i)?s=">="+r+"."+n+".0 <"+r+"."+(+n+1)+".0":o?(b("replaceTilde pr",o),s=">="+r+"."+n+"."+i+"-"+o+" <"+r+"."+(+n+1)+".0"):s=">="+r+"."+n+"."+i+" <"+r+"."+(+n+1)+".0",b("tilde return",s),s;});}).join(" "))),b("xrange",(b("replaceXRanges",a=t,l=r),t=a.split(/\s+/).map(function(e){var t,r,n;return t=e,r=l,t=t.trim(),n=r.loose?T[$.XRANGELOOSE]:T[$.XRANGE],t.replace(n,function(e,n,i,o,s,a){b("xRange",t,e,n,i,o,s,a);var l=E(i),c=l||E(o),u=c||E(s);return"="===n&&u&&(n=""),a=r.includePrerelease?"-0":"",l?e=">"===n||"<"===n?"<0.0.0-0":"*":n&&u?(c&&(o=0),s=0,">"===n?(n=">=",c?(i=+i+1,o=0):o=+o+1,s=0):"<="===n&&(n="<",c?i=+i+1:o=+o+1),e=n+i+"."+o+"."+s+a):c?e=">="+i+".0.0"+a+" <"+(+i+1)+".0.0"+a:u&&(e=">="+i+"."+o+".0"+a+" <"+i+"."+(+o+1)+".0"+a),b("xRange return",e),e;});}).join(" "))),b("stars",(b("replaceStars",c=t,r),t=c.trim().replace(T[$.STAR],""))),t;},this).join(" ").split(/\s+/);return this.options.loose&&(i=i.filter(function(e){return!!e.match(n);})),i=i.map(function(e){return new m(e,this.options);},this);},g.prototype.intersects=function(e,t){if(!(e instanceof g))throw TypeError("a Range is required");return this.set.some(function(r){return v(r,t)&&e.set.some(function(e){return v(e,t)&&r.every(function(r){return e.every(function(e){return r.intersects(e,t);});});});});},t.toComparators=function(e,t){return new g(e,t).set.map(function(e){return e.map(function(e){return e.value;}).join(" ").trim().split(" ");});},g.prototype.test=function(e){if(!e)return!1;if("string"==typeof e)try{e=new o(e,this.options);}catch(e){return!1;}for(var t=0;t0){var i=e[n].semver;if(i.major===t.major&&i.minor===t.minor&&i.patch===t.patch)return!0;}return!1;}return!0;}(this.set[t],e,this.options))return!0;return!1;},t.satisfies=w,t.maxSatisfying=function(e,t,r){var n=null,i=null;try{var s=new g(t,r);}catch(e){return null;}return e.forEach(function(e){s.test(e)&&(!n||-1===i.compare(e))&&(n=e,i=new o(n,r));}),n;},t.minSatisfying=function(e,t,r){var n=null,i=null;try{var s=new g(t,r);}catch(e){return null;}return e.forEach(function(e){s.test(e)&&(!n||1===i.compare(e))&&(n=e,i=new o(n,r));}),n;},t.minVersion=function(e,t){e=new g(e,t);var r=new o("0.0.0");if(e.test(r)||(r=new o("0.0.0-0"),e.test(r)))return r;r=null;for(var n=0;n":0===t.prerelease.length?t.patch++:t.prerelease.push(0),t.raw=t.format();case"":case">=":(!r||l(r,t))&&(r=t);break;case"<":case"<=":break;default:throw Error("Unexpected operation: "+e.operator);}});return r&&e.test(r)?r:null;},t.validRange=function(e,t){try{return new g(e,t).range||"*";}catch(e){return null;}},t.ltr=function(e,t,r){return x(e,t,"<",r);},t.gtr=function(e,t,r){return x(e,t,">",r);},t.outside=x,t.prerelease=function(e,t){var r=i(e,t);return r&&r.prerelease.length?r.prerelease:null;},t.intersects=function(e,t,r){return e=new g(e,r),t=new g(t,r),e.intersects(t);},t.coerce=function(e,t){if(e instanceof o)return e;if("number"==typeof e&&(e+=""),"string"!=typeof e)return null;var r,n=null;if((t=t||{}).rtl){for(;(r=T[$.COERCERTL].exec(e))&&(!n||n.index+n[0].length!==e.length);)n&&r.index+r[0].length===n.index+n[0].length||(n=r),T[$.COERCERTL].lastIndex=r.index+r[1].length+r[2].length;T[$.COERCERTL].lastIndex=-1;}else n=e.match(T[$.COERCE]);return null===n?null:i(n[2]+"."+(n[3]||"0")+"."+(n[4]||"0"),t);};}),rh.register("1NS6t",function(e,t){var r=rh("ghfRK"),n=rh("1EsMF");e.exports=function(e,t,i){var o=t&&i||0;"string"==typeof e&&(t="binary"===e?Array(16):null,e=null);var s=(e=e||{}).random||(e.rng||r)();if(s[6]=15&s[6]|64,s[8]=63&s[8]|128,t)for(var a=0;a<16;++a)t[o+a]=s[a];return t||n(s);};}),rh.register("ghfRK",function(e,t){e.exports=function(){return ih.randomBytes(16);};}),rh.register("1EsMF",function(e,t){for(var r=[],n=0;n<256;++n)r[n]=(n+256).toString(16).substr(1);e.exports=function(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++]]].join("");};}),rh.register("8hZvX",function(e,t){var r,n,i,o;function s(e,t,r){return o(this,void 0,void 0,function*(){let n=a.argStringToArray(e);if(0===n.length)throw Error("Parameter 'commandLine' cannot be null or empty.");let i=n[0];t=n.slice(1).concat(t||[]);let o=new a.ToolRunner(i,t,r);return o.exec();});}r=e.exports&&e.exports.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r];}});}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r];}),n=e.exports&&e.exports.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),i=e.exports&&e.exports.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&r(t,e,i);return n(t,e),t;},o=e.exports&&e.exports.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e));}catch(e){o(e);}}function a(e){try{l(n.throw(e));}catch(e){o(e);}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t);})).then(s,a);}l((n=n.apply(e,t||[])).next());});},Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.getExecOutput=e.exports.exec=void 0;let a=i(rh("7IKJC"));e.exports.exec=s,e.exports.getExecOutput=function(e,t,r){var n,i;return o(this,void 0,void 0,function*(){let o="",a="",l=new t8.StringDecoder("utf8"),c=new t8.StringDecoder("utf8"),u=null===(n=null==r?void 0:r.listeners)||void 0===n?void 0:n.stdout,p=null===(i=null==r?void 0:r.listeners)||void 0===i?void 0:i.stderr,d=Object.assign(Object.assign({},null==r?void 0:r.listeners),{stdout(e){o+=l.write(e),u&&u(e);},stderr(e){a+=c.write(e),p&&p(e);}}),f=yield s(e,t,Object.assign(Object.assign({},r),{listeners:d}));return{exitCode:f,stdout:o+=l.end(),stderr:a+=c.end()};});};}),rh.register("7IKJC",function(e,t){var r,n,i,o;r=e.exports&&e.exports.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r];}});}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r];}),n=e.exports&&e.exports.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),i=e.exports&&e.exports.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&r(t,e,i);return n(t,e),t;},o=e.exports&&e.exports.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e));}catch(e){o(e);}}function a(e){try{l(n.throw(e));}catch(e){o(e);}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t);})).then(s,a);}l((n=n.apply(e,t||[])).next());});},Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.argStringToArray=e.exports.ToolRunner=void 0;let s=i(iu),a=i(t2),l=i(t5),c=i(ip),u=i(rh("jtqY0")),p=i(rh("cbIfL")),d="win32"===process.platform;class f 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){let r=this._getSpawnFileName(),n=this._getSpawnArgs(e),i=t?"":"[command]";if(d){if(this._isCmdFile())for(let e of(i+=r,n))i+=" "+e;else if(e.windowsVerbatimArguments)for(let e of(i+=`"${r}"`,n))i+=" "+e;else for(let e of(i+=this._windowsQuoteCmdArg(r),n))i+=" "+this._windowsQuoteCmdArg(e);}else for(let e of(i+=r,n))i+=" "+e;return i;}_processLineBuffer(e,t,r){try{let n=t+e.toString(),i=n.indexOf(s.EOL);for(;i>-1;){let e=n.substring(0,i);r(e),i=(n=n.substring(i+s.EOL.length)).indexOf(s.EOL);}return n;}catch(e){return this._debug("error processing line. Failed with error "+e),"";}}_getSpawnFileName(){return d&&this._isCmdFile()?process.env.COMSPEC||"cmd.exe":this.toolPath;}_getSpawnArgs(e){if(d&&this._isCmdFile()){let t='/D /S /C "'+this._windowsQuoteCmdArg(this.toolPath);for(let r of this.args)t+=" "+(e.windowsVerbatimArguments?r:this._windowsQuoteCmdArg(r));return[t+='"'];}return this.args;}_endsWith(e,t){return e.endsWith(t);}_isCmdFile(){let 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'""';let t=[" "," ","&","(",")","[","]","{","}","^","=",";","!","'","+",",","`","~","|","<",">",'"'],r=!1;for(let n of e)if(t.some(e=>e===n)){r=!0;break;}if(!r)return e;let n='"',i=!0;for(let t=e.length;t>0;t--)n+=e[t-1],i&&"\\"===e[t-1]?n+="\\":'"'===e[t-1]?(i=!0,n+='"'):i=!1;return(n+='"').split("").reverse().join("");}_uvQuoteCmdArg(e){if(!e)return'""';if(!e.includes(" ")&&!e.includes(" ")&&!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+='"').split("").reverse().join("");}_cloneExecOptions(e){e=e||{};let t={cwd: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){e=e||{};let r={};return r.cwd=e.cwd,r.env=e.env,r.windowsVerbatimArguments=e.windowsVerbatimArguments||this._isCmdFile(),e.windowsVerbatimArguments&&(r.argv0=`"${t}"`),r;}exec(){return o(this,void 0,void 0,function*(){return!p.isRooted(this.toolPath)&&(this.toolPath.includes("/")||d&&this.toolPath.includes("\\"))&&(this.toolPath=c.resolve(process.cwd(),this.options.cwd||process.cwd(),this.toolPath)),this.toolPath=yield u.which(this.toolPath,!0),new Promise((e,t)=>o(this,void 0,void 0,function*(){for(let e of(this._debug("exec tool: "+this.toolPath),this._debug("arguments:"),this.args))this._debug(" "+e);let r=this._cloneExecOptions(this.options);!r.silent&&r.outStream&&r.outStream.write(this._getCommandString(r)+s.EOL);let n=new h(r,this.toolPath);if(n.on("debug",e=>{this._debug(e);}),this.options.cwd&&!(yield p.exists(this.options.cwd)))return t(Error(`The cwd: ${this.options.cwd} does not exist!`));let i=this._getSpawnFileName(),o=l.spawn(i,this._getSpawnArgs(r),this._getSpawnOptions(this.options,i)),a="";o.stdout&&o.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 c="";if(o.stderr&&o.stderr.on("data",e=>{if(n.processStderr=!0,this.options.listeners&&this.options.listeners.stderr&&this.options.listeners.stderr(e),!r.silent&&r.errStream&&r.outStream){let t=r.failOnStdErr?r.errStream:r.outStream;t.write(e);}c=this._processLineBuffer(e,c,e=>{this.options.listeners&&this.options.listeners.errline&&this.options.listeners.errline(e);});}),o.on("error",e=>{n.processError=e.message,n.processExited=!0,n.processClosed=!0,n.CheckComplete();}),o.on("exit",e=>{n.processExitCode=e,n.processExited=!0,this._debug(`Exit code ${e} received from tool '${this.toolPath}'`),n.CheckComplete();}),o.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),c.length>0&&this.emit("errline",c),o.removeAllListeners(),r?t(r):e(n);}),this.options.input){if(!o.stdin)throw Error("child process missing stdin");o.stdin.end(this.options.input);}}));});}}e.exports.ToolRunner=f,e.exports.argStringToArray=function(e){function t(e){i&&'"'!==e&&(o+="\\"),o+=e,i=!1;}let r=[],n=!1,i=!1,o="";for(let s=0;s0&&(r.push(o),o="");continue;}t(a);}return o.length>0&&r.push(o.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=t7.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){if(!e.done){if(!e.processClosed&&e.processExited){let t=`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._debug(t);}e._setResult();}}}}),rh.register("7wakU",function(e,t){e.exports=Promise.resolve(require("./actions_python.e4ef0efb.js")).then(()=>rh("8MXq9"));}),rm=rh("2W4C2"),rg=rh("7Lz0k"),rv=rh("b9BRc"),function(){rh("9tC1p").addLocale("en",function(e){var t=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return("string"==typeof e&&(e=parseInt(e,10)),1===t&&0===r)?"one":"other";});}.call(rE={}),ry={},ry=rh("5cIV4"),rw={},rw={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"}}}},rx={};const iv=iu.homedir();rx=e=>{if("string"!=typeof e)throw TypeError("Expected a string, got "+typeof e);return iv?e.replace(/^~(?=$|\/|\\)/,iv):e;},rb={};const iE="win32"===process.platform||"cygwin"===process.env.OSTYPE||"msys"===process.env.OSTYPE,iy=iE?";":":";rS={},rI="win32"===process.platform||rp.TESTING_WINDOWS?rh("cCOdx"):rh("fHi41"),rS=u,u.sync=function(e,t){try{return rI.sync(e,t||{});}catch(e){if(t&&t.ignoreErrors||"EACCES"===e.code)return!1;throw e;}};const iw=e=>Object.assign(Error("not found: "+e),{code:"ENOENT"}),ix=(e,t)=>{let r=t.colon||iy,n=e.match(/\//)||iE&&e.match(/\\/)?[""]:[...(iE?[process.cwd()]:[]),...(t.path||process.env.PATH||"").split(r)],i=iE?t.pathExt||process.env.PATHEXT||".EXE;.CMD;.BAT;.COM":"",o=iE?i.split(r):[""];return iE&&-1!==e.indexOf(".")&&""!==o[0]&&o.unshift(""),{pathEnv:n,pathExt:o,pathExtExe:i};},ib=(e,t,r)=>{"function"==typeof t&&(r=t,t={}),t||(t={});let{pathEnv:n,pathExt:i,pathExtExe:o}=ix(e,t),s=[],a=r=>new Promise((i,o)=>{if(r===n.length)return t.all&&s.length?i(s):o(iw(e));let a=n[r],c=/^".*"$/.test(a)?a.slice(1,-1):a,u=ip.join(c,e),p=!c&&/^\.[\\\/]/.test(e)?e.slice(0,2)+u:u;i(l(p,r,0));}),l=(e,r,n)=>new Promise((c,u)=>{if(n===i.length)return c(a(r+1));let p=i[n];rS(e+p,{pathExt:o},(i,o)=>{if(!i&&o){if(!t.all)return c(e+p);s.push(e+p);}return c(l(e,r,n+1));});});return r?a(0).then(e=>r(null,e),r):a(0);};rb=ib,ib.sync=(e,t)=>{t=t||{};let{pathEnv:r,pathExt:n,pathExtExe:i}=ix(e,t),o=[];for(let s=0;s{let t=e.env||process.env,r=e.platform||process.platform;return"win32"!==r?"PATH":Object.keys(t).reverse().find(e=>"PATH"===e.toUpperCase())||"Path";};(r$=iS).default=iS,rC=function(e){return p(e)||p(e,!0);};rA={},rP={},r_={},r_=/^#!(.*)/,rP=(e="")=>{let t=e.match(r_);if(!t)return null;let[r,n]=t[0].replace(/#! ?/,"").split(" "),i=r.split("/").pop();return"env"===i?n:n?`${i} ${n}`:i;},rA=function(e){let t;let r=Buffer.alloc(150);try{t=id.openSync(e,"r"),id.readSync(t,r,0,150,0),id.closeSync(t);}catch(e){}return rP(r.toString());};const iI="win32"===process.platform;rT=function(e,t,r){t&&!Array.isArray(t)&&(r=t,t=null),t=t?t.slice(0):[],r=Object.assign({},r);let n={command:e,args:t,options:r,file:void 0,original:{command:e,args:t}};return r.shell?n:function(e){if(!iI)return e;let t=function(e){e.file=rC(e);let t=e.file&&rA(e.file);return t?(e.args.unshift(e.file),e.command=t,rC(e)):e.file;}(e),r=!/\.(?:com|exe)$/i.test(t);if(e.options.forceShell||r){var n;let r=/node_modules[\\/].bin[\\/][^\\/]+\.cmd$/i.test(t);e.command=ip.normalize(e.command),e.command=n=(n=e.command).replace(/([()\][%!^"`<>&|;, *?])/g,"^$1"),e.args=e.args.map(e=>{var t,n;return t=e,n=r,t=(t=`"${t=(t=(t=""+t).replace(/(\\*)"/g,'$1$1\\"')).replace(/(\\*)$/,"$1$1")}"`).replace(/([()\][%!^"`<>&|;, *?])/g,"^$1"),n&&(t=t.replace(/([()\][%!^"`<>&|;, *?])/g,"^$1")),t;});let i=[e.command].concat(e.args).join(" ");e.args=["/d","/s","/c",`"${i}"`],e.command=process.env.comspec||"cmd.exe",e.options.windowsVerbatimArguments=!0;}return e;}(n);},rN={};const iR="win32"===process.platform;rN={hookChildProcess:function(e,t){if(!iR)return;let r=e.emit;e.emit=function(n,i){if("exit"===n){let n=f(i,t,"spawn");if(n)return r.call(e,"error",n);}return r.apply(e,arguments);};},verifyENOENT:f,verifyENOENTSync:function(e,t){return iR&&1===e&&!t.file?d(t.original,"spawnSync"):null;},notFoundError:d},(rO=h).spawn=h,rO.sync=function(e,t,r){let n=rT(e,t,r),i=t5.spawnSync(n.command,n.args,n.options);return i.error=i.error||rN.verifyENOENTSync(i.status,n),i;},rO._parse=rT,rO._enoent=rN,rL={},rL=e=>{let t="string"==typeof e?"\n":"\n".charCodeAt(),r="string"==typeof e?"\r":"\r".charCodeAt();return e[e.length-1]===t&&(e=e.slice(0,e.length-1)),e[e.length-1]===r&&(e=e.slice(0,e.length-1)),e;},rk={};const iO=e=>{let t;e={cwd:process.cwd(),path:process.env[r$()],execPath:process.execPath,...e};let r=ip.resolve(e.cwd),n=[];for(;t!==r;)n.push(ip.join(r,"node_modules/.bin")),t=r,r=ip.resolve(r,"..");let i=ip.resolve(e.cwd,e.execPath,"..");return n.push(i),n.concat(e.path).join(ip.delimiter);};(rk=iO).default=iO,rk.env=e=>{e={env:process.env,...e};let t={...e.env},r=r$({env:t});return e.path=t[r],t[r]=rk(e),t;},rD={},rU={};const iT=(e,t)=>{for(let r of Reflect.ownKeys(t))Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r));return e;};(rU=iT).default=iT;const iC=new WeakMap(),i$=(e,t={})=>{let r;if("function"!=typeof e)throw TypeError("Expected a function");let n=0,i=e.displayName||e.name||"",o=function(...s){if(iC.set(o,++n),1===n)r=e.apply(this,s),e=null;else if(!0===t.throw)throw Error(`Function \`${i}\` can only be called once`);return r;};return rU(o,e),iC.set(o,n),o;};(rD=i$).default=i$,rD.callCount=e=>{if(!iC.has(e))throw Error(`The given function \`${e.name}\` is not wrapped by the \`onetime\` package`);return iC.get(e);},rj={},Object.defineProperty(rM={},"__esModule",{value:!0}),rM.signalsByNumber=rM.signalsByName=void 0,Object.defineProperty(rF={},"__esModule",{value:!0}),rF.getSignals=void 0,Object.defineProperty(rG={},"__esModule",{value:!0}),rG.SIGNALS=void 0,rG.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"}],Object.defineProperty(rB={},"__esModule",{value:!0}),rB.SIGRTMAX=rB.getRealtimeSignals=void 0,rB.getRealtimeSignals=function(){return Array.from({length:i_-iP+1},iA);};const iA=function(e,t){return{name:"SIGRT"+(t+1),number:iP+t,action:"terminate",description:"Application-specific signal (realtime)",standard:"posix"};},iP=34,i_=64;rB.SIGRTMAX=i_,rF.getSignals=function(){let e=(0,rB.getRealtimeSignals)(),t=[...rG.SIGNALS,...e].map(iN);return t;};const iN=function({name:e,number:t,description:r,action:n,forced:i=!1,standard:o}){let{signals:{[e]:s}}=iu.constants,a=void 0!==s;return{name:e,number:a?s:t,description:r,supported:a,action:n,forced:i,standard:o};},iL=function(e,{name:t,number:r,description:n,supported:i,action:o,forced:s,standard:a}){return{...e,[t]:{name:t,number:r,description:n,supported:i,action:o,forced:s,standard:a}};},ik=function(){let e=(0,rF.getSignals)();return e.reduce(iL,{});}();rM.signalsByName=ik;const iD=function(e,t){let r=iU(e,t);if(void 0===r)return{};let{name:n,description:i,supported:o,action:s,forced:a,standard:l}=r;return{[e]:{name:n,number:e,description:i,supported:o,action:s,forced:a,standard:l}};},iU=function(e,t){let r=t.find(({name:t})=>iu.constants.signals[t]===e);return void 0!==r?r:t.find(t=>t.number===e);},ij=function(){let e=(0,rF.getSignals)(),t=rB.SIGRTMAX+1,r=Array.from({length:t},(t,r)=>iD(r,e));return Object.assign({},...r);}();rM.signalsByNumber=ij,rH=rM.signalsByName;const iM=({timedOut:e,timeout:t,errorCode:r,signal:n,signalDescription:i,exitCode:o,isCanceled:s})=>e?`timed out after ${t} milliseconds`:s?"was canceled":void 0!==r?"failed with "+r:void 0!==n?`was killed with ${n} (${i})`:void 0!==o?"failed with exit code "+o:"failed";rj=({stdout:e,stderr:t,all:r,error:n,signal:i,exitCode:o,command:s,escapedCommand:a,timedOut:l,isCanceled:c,killed:u,parsed:{options:{timeout:p}}})=>{o=null===o?void 0:o,i=null===i?void 0:i;let d=void 0===i?void 0:rH[i].description,f=n&&n.code,h=iM({timedOut:l,timeout:p,errorCode:f,signal:i,signalDescription:d,exitCode:o,isCanceled:c}),m=`Command ${h}: ${s}`,g="[object Error]"===Object.prototype.toString.call(n),v=g?`${m} -${n.message}`:m,E=[v,t,e].filter(Boolean).join("\n");return g?(n.originalMessage=n.message,n.message=E):n=Error(E),n.shortMessage=v,n.command=s,n.escapedCommand=a,n.exitCode=o,n.signal=i,n.signalDescription=d,n.stdout=e,n.stderr=t,void 0!==r&&(n.all=r),"bufferedData"in n&&delete n.bufferedData,n.failed=!0,n.timedOut=!!l,n.isCanceled=c,n.killed=u&&!l,n;},rq={};const iF=["stdin","stdout","stderr"],iG=e=>iF.some(t=>void 0!==e[t]),iB=e=>{if(!e)return;let{stdio:t}=e;if(void 0===t)return iF.map(t=>e[t]);if(iG(e))throw Error("It's not possible to provide `stdio` in combination with one of "+iF.map(e=>`\`${e}\``).join(", "));if("string"==typeof t)return t;if(!Array.isArray(t))throw TypeError(`Expected \`stdio\` to be of type \`string\` or \`Array\`, got \`${typeof t}\``);let r=Math.max(t.length,iF.length);return Array.from({length:r},(e,r)=>t[r]);};(rq=iB).node=e=>{let t=iB(e);return"ipc"===t?"ipc":void 0===t||"string"==typeof t?[t,t,t,"ipc"]:t.includes("ipc")?t:[...t,"ipc"];},rV={},rW={},rz=rp.process;const iH=function(e){return 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(iH(rz)){var iq,iV=t4,iW=rh("5AOH8"),iz=/^win/i.test(rz.platform),iX=t2;"function"!=typeof iX&&(iX=iX.EventEmitter),rz.__signal_exit_emitter__?iq=rz.__signal_exit_emitter__:((iq=rz.__signal_exit_emitter__=new iX()).count=0,iq.emitted={}),iq.infinite||(iq.setMaxListeners(1/0),iq.infinite=!0);var iK=function(){iQ&&iH(rp.process)&&(iQ=!1,iW.forEach(function(e){try{rz.removeListener(e,iJ[e]);}catch(e){}}),rz.emit=i2,rz.reallyExit=i0,iq.count-=1);};(rW=function(e,t){if(!iH(rp.process))return function(){};iV.equal(typeof e,"function","a callback must be provided for exit handler"),!1===iQ&&iZ();var r="exit";return t&&t.alwaysLast&&(r="afterexit"),iq.on(r,e),function(){iq.removeListener(r,e),0===iq.listeners("exit").length&&0===iq.listeners("afterexit").length&&iK();};}).unload=iK;var iY=function(e,t,r){iq.emitted[e]||(iq.emitted[e]=!0,iq.emit(e,t,r));},iJ={};iW.forEach(function(e){iJ[e]=function(){iH(rp.process)&&rz.listeners(e).length===iq.count&&(iK(),iY("exit",null,e),iY("afterexit",null,e),iz&&"SIGHUP"===e&&(e="SIGINT"),rz.kill(rz.pid,e));};}),rW.signals=function(){return iW;};var iQ=!1,iZ=function(){!iQ&&iH(rp.process)&&(iQ=!0,iq.count+=1,iW=iW.filter(function(e){try{return rz.on(e,iJ[e]),!0;}catch(e){return!1;}}),rz.emit=i4,rz.reallyExit=i1);};rW.load=iZ;var i0=rz.reallyExit,i1=function(e){iH(rp.process)&&(rz.exitCode=e||0,iY("exit",rz.exitCode,null),iY("afterexit",rz.exitCode,null),i0.call(rz,rz.exitCode));},i2=rz.emit,i4=function(e,t){if(!("exit"===e&&iH(rp.process)))return i2.apply(this,arguments);void 0!==t&&(rz.exitCode=t);var r=i2.apply(this,arguments);return iY("exit",rz.exitCode,null),iY("afterexit",rz.exitCode,null),r;};}else rW=function(){return function(){};};const i3=(e,t,r,n)=>{if(!i6(t,r,n))return;let i=i8(r),o=setTimeout(()=>{e("SIGKILL");},i);o.unref&&o.unref();},i6=(e,{forceKillAfterTimeout:t},r)=>i5(e)&&!1!==t&&r,i5=e=>e===iu.constants.signals.SIGTERM||"string"==typeof e&&"SIGTERM"===e.toUpperCase(),i8=({forceKillAfterTimeout:e=!0})=>{if(!0===e)return 5e3;if(!Number.isFinite(e)||e<0)throw TypeError(`Expected the \`forceKillAfterTimeout\` option to be a non-negative integer, got \`${e}\` (${typeof e})`);return e;},i7=(e,t,r)=>{e.kill(t),r(Object.assign(Error("Timed out"),{timedOut:!0,signal:t}));},i9=async(e,{cleanup:t,detached:r},n)=>{if(!t||r)return n;let i=rW(()=>{e.kill();});return n.finally(()=>{i();});};rX=(rV={spawnedKill(e,t="SIGTERM",r={}){let n=e(t);return i3(e,t,r,n),n;},spawnedCancel(e,t){let r=e.kill();r&&(t.isCanceled=!0);},setupTimeout(e,{timeout:t,killSignal:r="SIGTERM"},n){let i;if(0===t||void 0===t)return n;let o=new Promise((n,o)=>{i=setTimeout(()=>{i7(e,r,o);},t);}),s=n.finally(()=>{clearTimeout(i);});return Promise.race([o,s]);},validateTimeout({timeout:e}){if(void 0!==e&&(!Number.isFinite(e)||e<0))throw TypeError(`Expected the \`timeout\` option to be a non-negative integer, got \`${e}\` (${typeof e})`);},setExitHandler:i9}).spawnedKill,rK=rV.spawnedCancel,rY=rV.setupTimeout,rJ=rV.validateTimeout,rQ=rV.setExitHandler,rZ={},r0={};const oe=e=>null!==e&&"object"==typeof e&&"function"==typeof e.pipe;oe.writable=e=>oe(e)&&!1!==e.writable&&"function"==typeof e._write&&"object"==typeof e._writableState,oe.readable=e=>oe(e)&&!1!==e.readable&&"function"==typeof e._read&&"object"==typeof e._readableState,oe.duplex=e=>oe.writable(e)&&oe.readable(e),oe.transform=e=>oe.duplex(e)&&"function"==typeof e._transform,r0=oe,r1={},r2=t9.constants,r4=t3.promisify,r3={},r6=re.PassThrough,r3=e=>{e={...e};let{array:t}=e,{encoding:r}=e,n="buffer"===r,i=!1;t?i=!(r||n):r=r||"utf8",n&&(r=null);let o=new r6({objectMode:i});r&&o.setEncoding(r);let s=0,a=[];return o.on("data",e=>{a.push(e),i?s=a.length:s+=e.length;}),o.getBufferedValue=()=>t?a:n?Buffer.concat(a,s):a.join(""),o.getBufferedLength=()=>s,o;};const ot=r4(re.pipeline);class or extends Error{constructor(){super("maxBuffer exceeded"),this.name="MaxBufferError";}}(r1=m).buffer=(e,t)=>m(e,{...t,encoding:"buffer"}),r1.array=(e,t)=>m(e,{...t,array:!0}),r1.MaxBufferError=or,r5={},r8=re.PassThrough,r5=function(){function e(i){return Array.isArray(i)?i.forEach(e):(r.push(i),i.once("end",t.bind(null,i)),i.once("error",n.emit.bind(n,"error")),i.pipe(n,{end:!1})),this;}function t(e){!(r=r.filter(function(t){return t!==e;})).length&&n.readable&&n.end();}var r=[],n=new r8({objectMode:!0});return n.setMaxListeners(0),n.add=e,n.isEmpty=function(){return 0==r.length;},n.on("unpipe",t),Array.prototype.slice.call(arguments).forEach(e),n;};const on=async(e,t)=>{if(e){e.destroy();try{return await t;}catch(e){return e.bufferedData;}}},oi=(e,{encoding:t,buffer:r,maxBuffer:n})=>{if(e&&r)return t?r1(e,{encoding:t,maxBuffer:n}):r1.buffer(e,{maxBuffer:n});},oo=async({stdout:e,stderr:t,all:r},{encoding:n,buffer:i,maxBuffer:o},s)=>{let a=oi(e,{encoding:n,buffer:i,maxBuffer:o}),l=oi(t,{encoding:n,buffer:i,maxBuffer:o}),c=oi(r,{encoding:n,buffer:i,maxBuffer:2*o});try{return await Promise.all([s,a,l,c]);}catch(n){return Promise.all([{error:n,signal:n.signal,timedOut:n.timedOut},on(e,a),on(t,l),on(r,c)]);}};r7=(rZ={handleInput(e,t){void 0!==t&&void 0!==e.stdin&&(r0(t)?t.pipe(e.stdin):e.stdin.end(t));},makeAllStream(e,{all:t}){if(!t||!e.stdout&&!e.stderr)return;let r=r5();return e.stdout&&r.add(e.stdout),e.stderr&&r.add(e.stderr),r;},getSpawnedResult:oo,validateInputSync({input:e}){if(r0(e))throw TypeError("The `input` option cannot be a stream in sync mode");}}).handleInput,r9=rZ.getSpawnedResult,ne=rZ.makeAllStream,nt=rZ.validateInputSync,nr={};const os=(async()=>{})().constructor.prototype,oa=["then","catch","finally"].map(e=>[e,Reflect.getOwnPropertyDescriptor(os,e)]);nn=(nr={mergePromise(e,t){for(let[r,n]of oa){let i="function"==typeof t?(...e)=>Reflect.apply(n.value,t(),e):n.value.bind(t);Reflect.defineProperty(e,r,{...n,value:i});}return e;},getSpawnedPromise:e=>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,ni=nr.getSpawnedPromise,no={};const ol=(e,t=[])=>Array.isArray(t)?[e,...t]:[e],oc=e=>"string"!=typeof e||/^[\w.-]+$/.test(e)?e:`"${e.replace(/"/g,'\\"')}"`;ns=(no={joinCommand:(e,t)=>ol(e,t).join(" "),getEscapedCommand:(e,t)=>ol(e,t).map(e=>oc(e)).join(" "),parseCommand(e){let t=[];for(let r of e.trim().split(/ +/g)){let e=t[t.length-1];e&&e.endsWith("\\")?t[t.length-1]=`${e.slice(0,-1)} ${r}`:t.push(r);}return t;}}).joinCommand,na=no.parseCommand,nl=no.getEscapedCommand;const ou=({env:e,extendEnv:t,preferLocal:r,localDir:n,execPath:i})=>{let o=t?{...process.env,...e}:e;return r?rk.env({env:o,cwd:n,execPath:i}):o;},op=(e,t,r={})=>{let n=rO._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=ou(r),r.stdio=rq(r),"win32"===process.platform&&"cmd"===ip.basename(e,".exe")&&t.unshift("/q"),{file:e,args:t,options:r,parsed:n};},od=(e,t,r)=>"string"==typeof t||Buffer.isBuffer(t)?e.stripFinalNewline?rL(t):t:void 0===r?void 0:"",of=(e,t,r)=>{let n;let i=op(e,t,r),o=ns(e,t),s=nl(e,t);rJ(i.options);try{n=t5.spawn(i.file,i.args,i.options);}catch(r){let e=new t5.ChildProcess(),t=Promise.reject(rj({error:r,stdout:"",stderr:"",all:"",command:o,escapedCommand:s,parsed:i,timedOut:!1,isCanceled:!1,killed:!1}));return nn(e,t);}let a=ni(n),l=rY(n,i.options,a),c=rQ(n,i.options,l),u={isCanceled:!1};n.kill=rX.bind(null,n.kill.bind(n)),n.cancel=rK.bind(null,n,u);let p=async()=>{let[{error:e,exitCode:t,signal:r,timedOut:a},l,p,d]=await r9(n,i.options,c),f=od(i.options,l),h=od(i.options,p),m=od(i.options,d);if(e||0!==t||null!==r){let l=rj({error:e,exitCode:t,signal:r,stdout:f,stderr:h,all:m,command:o,escapedCommand:s,parsed:i,timedOut:a,isCanceled:u.isCanceled,killed:n.killed});if(!i.options.reject)return l;throw l;}return{command:o,escapedCommand:s,exitCode:0,stdout:f,stderr:h,all:m,failed:!1,timedOut:!1,isCanceled:!1,killed:!1};},d=rD(p);return r7(n,i.options.input),n.all=ne(n,i.options),nn(n,d);};(rR=of).sync=(e,t,r)=>{let n;let i=op(e,t,r),o=ns(e,t),s=nl(e,t);nt(i.options);try{n=t5.spawnSync(i.file,i.args,i.options);}catch(e){throw rj({error:e,stdout:"",stderr:"",all:"",command:o,escapedCommand:s,parsed:i,timedOut:!1,isCanceled:!1,killed:!1});}let a=od(i.options,n.stdout,n.error),l=od(i.options,n.stderr,n.error);if(n.error||0!==n.status||null!==n.signal){let e=rj({stdout:a,stderr:l,error:n.error,signal:n.signal,exitCode:n.status,command:o,escapedCommand:s,parsed:i,timedOut:n.error&&"ETIMEDOUT"===n.error.code,isCanceled:!1,killed:null!==n.signal});if(!i.options.reject)return e;throw e;}return{command:o,escapedCommand:s,exitCode:0,stdout:a,stderr:l,failed:!1,timedOut:!1,isCanceled:!1,killed:!1};},rR.command=(e,t)=>{let[r,...n]=na(e);return of(r,n,t);},rR.commandSync=(e,t)=>{let[r,...n]=na(e);return of.sync(r,n,t);},rR.node=(e,t,r={})=>{t&&!Array.isArray(t)&&"object"==typeof t&&(r=t,t=[]);let n=rq.node(r),i=process.execArgv.filter(e=>!e.startsWith("--inspect")),{nodePath:o=process.execPath,nodeOptions:s=i}=r;return of(o,[...s,e,...(Array.isArray(t)?t:[])],{...r,stdin:void 0,stdout:void 0,stderr:void 0,stdio:n,shell:!1});};const oh={stdio:"inherit",shell:!0};rg=rh("7Lz0k"),nc={},nu=rh("e5sHV"),np=rt.env.npm_package_json,nf=!!((nd=rt.env.npm_config_user_agent)&&nd.startsWith("npm")),nh=!!(np&&np.endsWith("package.json")),nm=!!(nd&&nd.startsWith("yarn")),ng=nf||nh||nm,nv=iu.homedir(),nE=process.env.XDG_CONFIG_HOME||ip.join(nv,".config","simple-update-notifier"),ny=function(e){return ip.join(nE,"".concat(e.replace("@","").replace("/","__"),".json"));},nw=function(){id.existsSync(nE)||id.mkdirSync(nE,{recursive:!0});},nx=function(e){var t=ny(e);try{if(!id.existsSync(t))return;return JSON.parse(id.readFileSync(t,"utf8")).lastUpdateCheck;}catch(e){return;}},nb=function(e){var t=ny(e);id.writeFileSync(t,JSON.stringify({lastUpdateCheck:new Date().getTime()}));},nS=function(e){var t=e.pkg,r=e.updateCheckInterval,n=void 0===r?864e5:r,i=e.distTag,o=void 0===i?"latest":i,s=e.alwaysRun,a=e.debug;return x(void 0,void 0,void 0,function(){var e,r;return b(this,function(i){switch(i.label){case 0:var l;if(nw(),e=nx(t.name),!(s||!e||e{if("length"===r||"prototype"===r||"arguments"===r||"caller"===r)return;let i=Object.getOwnPropertyDescriptor(e,r),o=Object.getOwnPropertyDescriptor(t,r);(og(i,o)||!n)&&Object.defineProperty(e,r,o);},og=function(e,t){return void 0===e||e.configurable||e.writable===t.writable&&e.enumerable===t.enumerable&&e.configurable===t.configurable&&(e.writable||e.value===t.value);},ov=(e,t)=>{let r=Object.getPrototypeOf(t);r!==Object.getPrototypeOf(e)&&Object.setPrototypeOf(e,r);},oE=(e,t)=>`/* Wrapped ${e}*/ -${t}`,oy=Object.getOwnPropertyDescriptor(Function.prototype,"toString"),ow=Object.getOwnPropertyDescriptor(Function.prototype.toString,"name"),ox=(e,t,r)=>{let n=""===r?"":`with ${r.trim()}() `,i=oE.bind(null,n,t.toString());Object.defineProperty(i,"name",ow),Object.defineProperty(e,"toString",{...oy,value:i});},ob=new WeakMap(),oS=(e,t={})=>{let r;if("function"!=typeof e)throw TypeError("Expected a function");let n=0,i=e.displayName||e.name||"",o=function(...s){if(ob.set(o,++n),1===n)r=e.apply(this,s),e=null;else if(!0===t.throw)throw Error(`Function \`${i}\` can only be called once`);return r;};return!function(e,t,{ignoreNonConfigurable:r=!1}={}){let{name:n}=e;for(let n of Reflect.ownKeys(t))om(e,t,n,r);ov(e,t),ox(e,t,n);}(o,e),ob.set(o,n),o;};oS.callCount=e=>{if(!ob.has(e))throw Error(`The given function \`${e.name}\` is not wrapped by the \`onetime\` package`);return ob.get(e);},nT=oS;const oI=()=>Array.from({length:oT-oO+1},oR),oR=(e,t)=>({name:"SIGRT"+(t+1),number:oO+t,action:"terminate",description:"Application-specific signal (realtime)",standard:"posix"}),oO=34,oT=64,oC=[{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"}],o$=()=>{let e=oI(),t=[...oC,...e].map(oA);return t;},oA=({name:e,number:t,description:r,action:n,forced:i=!1,standard:o})=>{let{signals:{[e]:s}}=ra.constants,a=void 0!==s;return{name:e,number:a?s:t,description:r,supported:a,action:n,forced:i,standard:o};},oP=({name:e,number:t,description:r,supported:n,action:i,forced:o,standard:s})=>[e,{name:e,number:t,description:r,supported:n,action:i,forced:o,standard:s}],o_=(()=>{let e=o$();return Object.fromEntries(e.map(oP));})(),oN=(e,t)=>{let r=oL(e,t);if(void 0===r)return{};let{name:n,description:i,supported:o,action:s,forced:a,standard:l}=r;return{[e]:{name:n,number:e,description:i,supported:o,action:s,forced:a,standard:l}};},oL=(e,t)=>{let r=t.find(({name:t})=>ra.constants.signals[t]===e);return void 0!==r?r:t.find(t=>t.number===e);};(()=>{let e=o$(),t=Array.from({length:oT+1},(t,r)=>oN(r,e));return Object.assign({},...t);})();const ok=({timedOut:e,timeout:t,errorCode:r,signal:n,signalDescription:i,exitCode:o,isCanceled:s})=>e?`timed out after ${t} milliseconds`:s?"was canceled":void 0!==r?"failed with "+r:void 0!==n?`was killed with ${n} (${i})`:void 0!==o?"failed with exit code "+o:"failed",oD=({stdout:e,stderr:t,all:r,error:n,signal:i,exitCode:o,command:s,escapedCommand:a,timedOut:l,isCanceled:c,killed:u,parsed:{options:{timeout:p}}})=>{o=null===o?void 0:o,i=null===i?void 0:i;let d=void 0===i?void 0:o_[i].description,f=n&&n.code,h=ok({timedOut:l,timeout:p,errorCode:f,signal:i,signalDescription:d,exitCode:o,isCanceled:c}),m=`Command ${h}: ${s}`,g="[object Error]"===Object.prototype.toString.call(n),v=g?`${m} -${n.message}`:m,E=[v,t,e].filter(Boolean).join("\n");return g?(n.originalMessage=n.message,n.message=E):n=Error(E),n.shortMessage=v,n.command=s,n.escapedCommand=a,n.exitCode=o,n.signal=i,n.signalDescription=d,n.stdout=e,n.stderr=t,void 0!==r&&(n.all=r),"bufferedData"in n&&delete n.bufferedData,n.failed=!0,n.timedOut=!!l,n.isCanceled=c,n.killed=u&&!l,n;},oU=["stdin","stdout","stderr"],oj=e=>oU.some(t=>void 0!==e[t]),oM=e=>{if(!e)return;let{stdio:t}=e;if(void 0===t)return oU.map(t=>e[t]);if(oj(e))throw Error("It's not possible to provide `stdio` in combination with one of "+oU.map(e=>`\`${e}\``).join(", "));if("string"==typeof t)return t;if(!Array.isArray(t))throw TypeError(`Expected \`stdio\` to be of type \`string\` or \`Array\`, got \`${typeof t}\``);let r=Math.max(t.length,oU.length);return Array.from({length:r},(e,r)=>t[r]);},oF=(e,t="SIGTERM",r={})=>{let n=e(t);return oG(e,t,r,n),n;},oG=(e,t,r,n)=>{if(!oB(t,r,n))return;let i=oq(r),o=setTimeout(()=>{e("SIGKILL");},i);o.unref&&o.unref();},oB=(e,{forceKillAfterTimeout:t},r)=>oH(e)&&!1!==t&&r,oH=e=>e===c(ra).constants.signals.SIGTERM||"string"==typeof e&&"SIGTERM"===e.toUpperCase(),oq=({forceKillAfterTimeout:e=!0})=>{if(!0===e)return 5e3;if(!Number.isFinite(e)||e<0)throw TypeError(`Expected the \`forceKillAfterTimeout\` option to be a non-negative integer, got \`${e}\` (${typeof e})`);return e;},oV=(e,t)=>{let r=e.kill();r&&(t.isCanceled=!0);},oW=(e,t,r)=>{e.kill(t),r(Object.assign(Error("Timed out"),{timedOut:!0,signal:t}));},oz=(e,{timeout:t,killSignal:r="SIGTERM"},n)=>{let i;if(0===t||void 0===t)return n;let o=new Promise((n,o)=>{i=setTimeout(()=>{oW(e,r,o);},t);}),s=n.finally(()=>{clearTimeout(i);});return Promise.race([o,s]);},oX=({timeout:e})=>{if(void 0!==e&&(!Number.isFinite(e)||e<0))throw TypeError(`Expected the \`timeout\` option to be a non-negative integer, got \`${e}\` (${typeof e})`);},oK=async(e,{cleanup:t,detached:r},n)=>{if(!t||r)return n;let i=c(rW)(()=>{e.kill();});return n.finally(()=>{i();});},oY=e=>e instanceof ri.ChildProcess&&"function"==typeof e.then,oJ=(e,t,r)=>{if("string"==typeof r)return e[t].pipe((0,t6.createWriteStream)(r)),e;if($(r))return e[t].pipe(r),e;if(!oY(r))throw TypeError("The second argument must be a string, a stream or an Execa child process.");if(!$(r.stdin))throw TypeError("The target child process's stdin must be available.");return e[t].pipe(r.stdin),r;},oQ=e=>{null!==e.stdout&&(e.pipeStdout=oJ.bind(void 0,e,"stdout")),null!==e.stderr&&(e.pipeStderr=oJ.bind(void 0,e,"stderr")),void 0!==e.all&&(e.pipeAll=oJ.bind(void 0,e,"all"));},oZ=e=>{if(void 0!==e)throw TypeError("The `input` and `inputFile` options cannot be both set.");},o0=({input:e,inputFile:t})=>"string"!=typeof t?e:(oZ(e),(0,t6.readFileSync)(t)),o1=e=>{let t=o0(e);if(C(t))throw TypeError("The `input` option cannot be a stream in sync mode");return t;},o2=({input:e,inputFile:t})=>"string"!=typeof t?e:(oZ(e),(0,t6.createReadStream)(t)),o4=(e,t)=>{let r=o2(t);void 0!==r&&(C(r)?r.pipe(e.stdin):e.stdin.end(r));},o3=(e,{all:t})=>{if(!t||!e.stdout&&!e.stderr)return;let r=c(r5)();return e.stdout&&r.add(e.stdout),e.stderr&&r.add(e.stderr),r;},o6=async(e,t)=>{if(e&&void 0!==t){e.destroy();try{return await t;}catch(e){return e.bufferedData;}}},o5=(e,{encoding:t,buffer:r,maxBuffer:n})=>{if(e&&r)return t?c(r1)(e,{encoding:t,maxBuffer:n}):c(r1).buffer(e,{maxBuffer:n});},o8=async({stdout:e,stderr:t,all:r},{encoding:n,buffer:i,maxBuffer:o},s)=>{let a=o5(e,{encoding:n,buffer:i,maxBuffer:o}),l=o5(t,{encoding:n,buffer:i,maxBuffer:o}),c=o5(r,{encoding:n,buffer:i,maxBuffer:2*o});try{return await Promise.all([s,a,l,c]);}catch(n){return Promise.all([{error:n,signal:n.signal,timedOut:n.timedOut},o6(e,a),o6(t,l),o6(r,c)]);}},o7=(async()=>{})().constructor.prototype,o9=["then","catch","finally"].map(e=>[e,Reflect.getOwnPropertyDescriptor(o7,e)]),se=(e,t)=>{for(let[r,n]of o9){let i="function"==typeof t?(...e)=>Reflect.apply(n.value,t(),e):n.value.bind(t);Reflect.defineProperty(e,r,{...n,value:i});}},st=e=>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);});}),sr=(e,t=[])=>Array.isArray(t)?[e,...t]:[e],sn=e=>"string"!=typeof e||/^[\w.-]+$/.test(e)?e:`"${e.replace(/"/g,'\\"')}"`,si=(e,t)=>sr(e,t).join(" "),so=(e,t)=>sr(e,t).map(e=>sn(e)).join(" "),ss=e=>{let t=typeof e;if("string"===t)return e;if("number"===t)return e+"";if("object"===t&&null!==e&&!(e instanceof ri.ChildProcess)&&"stdout"in e){let t=typeof e.stdout;if("string"===t)return e.stdout;if((0,rr.Buffer).isBuffer(e.stdout))return e.stdout.toString();throw TypeError(`Unexpected "${t}" stdout in template expression`);}throw TypeError(`Unexpected "${t}" in template expression`);},sa=(e,t,r)=>r||0===e.length||0===t.length?[...e,...t]:[...e.slice(0,-1),`${e[e.length-1]}${t[0]}`,...t.slice(1)],sl=({templates:e,expressions:t,tokens:r,index:n,template:i})=>{let o=i??e.raw[n],s=o.split(/ +/g).filter(Boolean),a=sa(r,s,o.startsWith(" "));if(n===t.length)return a;let l=t[n],c=Array.isArray(l)?l.map(e=>ss(e)):[ss(l)];return sa(a,c,o.endsWith(" "));},sc=(e,t)=>{let r=[];for(let[n,i]of e.entries())r=sl({templates:e,expressions:t,tokens:r,index:n,template:i});return r;},su=(0,rl.debuglog)("execa").enabled,sp=(e,t)=>(e+"").padStart(t,"0"),sd=()=>{let e=new Date();return`${sp(e.getHours(),2)}:${sp(e.getMinutes(),2)}:${sp(e.getSeconds(),2)}.${sp(e.getMilliseconds(),3)}`;},sf=(e,{verbose:t})=>{t&&c(ro).stderr.write(`[${sd()}] ${e} -`);},sh=({env:e,extendEnv:t,preferLocal:r,localDir:n,execPath:i})=>{let o=t?{...c(ro).env,...e}:e;return r?T({env:o,cwd:n,execPath:i}):o;},sm=(e,t,r={})=>{let n=c(rO)._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||c(ro).cwd(),execPath:c(ro).execPath,encoding:"utf8",reject:!0,cleanup:!0,all:!1,windowsHide:!0,verbose:su,...r}).env=sh(r),r.stdio=oM(r),"win32"===c(ro).platform&&"cmd"===c(rn).basename(e,".exe")&&t.unshift("/q"),{file:e,args:t,options:r,parsed:n};},sg=(e,t,r)=>"string"==typeof t||(0,rr.Buffer).isBuffer(t)?e.stripFinalNewline?R(t):t:void 0===r?void 0:"",sv=({input:e,inputFile:t,stdio:r})=>void 0===e&&void 0===t&&void 0===r?{stdin:"inherit"}:{},sE=(e={})=>({preferLocal:!0,...sv(e),...e});!function e(t){function r(n,...i){if(!Array.isArray(n))return e({...t,...n});let[o,...s]=sc(n,i);return A(o,s,sE(t));}return r.sync=(e,...r)=>{if(!Array.isArray(e))throw TypeError("Please use $(options).sync`command` instead of $.sync(options)`command`.");let[n,...i]=sc(e,r);return function(e,t,r){let n;let i=sm(e,t,r),o=si(e,t),s=so(e,t);sf(s,i.options);let a=o1(i.options);try{n=c(ri).spawnSync(i.file,i.args,{...i.options,input:a});}catch(e){throw oD({error:e,stdout:"",stderr:"",all:"",command:o,escapedCommand:s,parsed:i,timedOut:!1,isCanceled:!1,killed:!1});}let l=sg(i.options,n.stdout,n.error),u=sg(i.options,n.stderr,n.error);if(n.error||0!==n.status||null!==n.signal){let e=oD({stdout:l,stderr:u,error:n.error,signal:n.signal,exitCode:n.status,command:o,escapedCommand:s,parsed:i,timedOut:n.error&&"ETIMEDOUT"===n.error.code,isCanceled:!1,killed:null!==n.signal});if(!i.options.reject)return e;throw e;}return{command:o,escapedCommand:s,exitCode:0,stdout:l,stderr:u,failed:!1,timedOut:!1,isCanceled:!1,killed:!1};}(n,i,sE(t));},r;}(),nC={};const sy="win32"!==iu.platform(),sw=iu.release(),sx=(e="",t="")=>/1\d+\.\d+/.test(e)&&+t>=17134.1184;nC=function(e){return sy?e.replace(/(\s+)/g,"\\$1"):sx(.../(\d+\.\d+)\.(\d+)/.exec(sw).splice(1))?e:e.replace(/(\s+)/g,"%20");},function(){var e,t;e=rh("bmInQ"),t=function(e){return e.split("").reverse().join("");},n$=function(r,n,i){var o;return(null==n&&(n="'"),null==i&&(i="\\"),"string"!=typeof r)?r:(o=RegExp("(["+e(n)+"])(?!"+e(i)+")","g"),t(t(r).replace(o,"$1"+i)));};}.call(n$={}),nA=rh("bOuKS");const sb={shouldEscapeSpace:!1,shouldAddOnlyIfNotDefined:!1},sS=[/\/usr\/bin\/?/,/\/usr\/local\/bin\/?/],sI=w(".cpprc");let sR=!1;nA=rh("bOuKS");const sO=({timedOut:e,timeout:t,errorCode:r,signal:n,signalDescription:i,exitCode:o,isCanceled:s})=>e?`timed out after ${t} milliseconds`:s?"was canceled":void 0!==r?"failed with "+r:void 0!==n?`was killed with ${n} (${i})`:void 0!==o?"failed with exit code "+o:"failed",sT=({stdout:e,stderr:t,all:r,error:n,signal:i,exitCode:o,command:s,escapedCommand:a,timedOut:l,isCanceled:u,killed:p,parsed:{options:{timeout:d,cwd:f=c(ro).cwd()}}})=>{o=null===o?void 0:o,i=null===i?void 0:i;let h=void 0===i?void 0:o_[i].description,m=n&&n.code,g=sO({timedOut:l,timeout:d,errorCode:m,signal:i,signalDescription:h,exitCode:o,isCanceled:u}),v=`Command ${g}: ${s}`,E="[object Error]"===Object.prototype.toString.call(n),y=E?`${v} -${n.message}`:v,w=[y,t,e].filter(Boolean).join("\n");return E?(n.originalMessage=n.message,n.message=w):n=Error(w),n.shortMessage=y,n.command=s,n.escapedCommand=a,n.exitCode=o,n.signal=i,n.signalDescription=h,n.stdout=e,n.stderr=t,n.cwd=f,void 0!==r&&(n.all=r),"bufferedData"in n&&delete n.bufferedData,n.failed=!0,n.timedOut=!!l,n.isCanceled=u,n.killed=p&&!l,n;},sC=["stdin","stdout","stderr"],s$=e=>sC.some(t=>void 0!==e[t]),sA=e=>{if(!e)return;let{stdio:t}=e;if(void 0===t)return sC.map(t=>e[t]);if(s$(e))throw Error("It's not possible to provide `stdio` in combination with one of "+sC.map(e=>`\`${e}\``).join(", "));if("string"==typeof t)return t;if(!Array.isArray(t))throw TypeError(`Expected \`stdio\` to be of type \`string\` or \`Array\`, got \`${typeof t}\``);let r=Math.max(t.length,sC.length);return Array.from({length:r},(e,r)=>t[r]);},sP=(e,t="SIGTERM",r={})=>{let n=e(t);return s_(e,t,r,n),n;},s_=(e,t,r,n)=>{if(!sN(t,r,n))return;let i=sk(r),o=setTimeout(()=>{e("SIGKILL");},i);o.unref&&o.unref();},sN=(e,{forceKillAfterTimeout:t},r)=>sL(e)&&!1!==t&&r,sL=e=>e===c(ra).constants.signals.SIGTERM||"string"==typeof e&&"SIGTERM"===e.toUpperCase(),sk=({forceKillAfterTimeout:e=!0})=>{if(!0===e)return 5e3;if(!Number.isFinite(e)||e<0)throw TypeError(`Expected the \`forceKillAfterTimeout\` option to be a non-negative integer, got \`${e}\` (${typeof e})`);return e;},sD=(e,t)=>{let r=e.kill();r&&(t.isCanceled=!0);},sU=(e,t,r)=>{e.kill(t),r(Object.assign(Error("Timed out"),{timedOut:!0,signal:t}));},sj=(e,{timeout:t,killSignal:r="SIGTERM"},n)=>{let i;if(0===t||void 0===t)return n;let o=new Promise((n,o)=>{i=setTimeout(()=>{sU(e,r,o);},t);}),s=n.finally(()=>{clearTimeout(i);});return Promise.race([o,s]);},sM=({timeout:e})=>{if(void 0!==e&&(!Number.isFinite(e)||e<0))throw TypeError(`Expected the \`timeout\` option to be a non-negative integer, got \`${e}\` (${typeof e})`);},sF=async(e,{cleanup:t,detached:r},n)=>{if(!t||r)return n;let i=c(rW)(()=>{e.kill();});return n.finally(()=>{i();});},sG=e=>e instanceof ri.ChildProcess&&"function"==typeof e.then,sB=(e,t,r)=>{if("string"==typeof r)return e[t].pipe((0,t6.createWriteStream)(r)),e;if($(r))return e[t].pipe(r),e;if(!sG(r))throw TypeError("The second argument must be a string, a stream or an Execa child process.");if(!$(r.stdin))throw TypeError("The target child process's stdin must be available.");return e[t].pipe(r.stdin),r;},sH=e=>{null!==e.stdout&&(e.pipeStdout=sB.bind(void 0,e,"stdout")),null!==e.stderr&&(e.pipeStderr=sB.bind(void 0,e,"stderr")),void 0!==e.all&&(e.pipeAll=sB.bind(void 0,e,"all"));},sq=e=>{if(void 0!==e)throw TypeError("The `input` and `inputFile` options cannot be both set.");},sV=({input:e,inputFile:t})=>"string"!=typeof t?e:(sq(e),(0,t6.readFileSync)(t)),sW=e=>{let t=sV(e);if(C(t))throw TypeError("The `input` option cannot be a stream in sync mode");return t;},sz=({input:e,inputFile:t})=>"string"!=typeof t?e:(sq(e),(0,t6.createReadStream)(t)),sX=(e,t)=>{let r=sz(t);void 0!==r&&(C(r)?r.pipe(e.stdin):e.stdin.end(r));},sK=(e,{all:t})=>{if(!t||!e.stdout&&!e.stderr)return;let r=c(r5)();return e.stdout&&r.add(e.stdout),e.stderr&&r.add(e.stderr),r;},sY=async(e,t)=>{if(e&&void 0!==t){e.destroy();try{return await t;}catch(e){return e.bufferedData;}}},sJ=(e,{encoding:t,buffer:r,maxBuffer:n})=>{if(e&&r)return t?c(r1)(e,{encoding:t,maxBuffer:n}):c(r1).buffer(e,{maxBuffer:n});},sQ=async({stdout:e,stderr:t,all:r},{encoding:n,buffer:i,maxBuffer:o},s)=>{let a=sJ(e,{encoding:n,buffer:i,maxBuffer:o}),l=sJ(t,{encoding:n,buffer:i,maxBuffer:o}),c=sJ(r,{encoding:n,buffer:i,maxBuffer:2*o});try{return await Promise.all([s,a,l,c]);}catch(n){return Promise.all([{error:n,signal:n.signal,timedOut:n.timedOut},sY(e,a),sY(t,l),sY(r,c)]);}},sZ=(async()=>{})().constructor.prototype,s0=["then","catch","finally"].map(e=>[e,Reflect.getOwnPropertyDescriptor(sZ,e)]),s1=(e,t)=>{for(let[r,n]of s0){let i="function"==typeof t?(...e)=>Reflect.apply(n.value,t(),e):n.value.bind(t);Reflect.defineProperty(e,r,{...n,value:i});}},s2=e=>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);});}),s4=(e,t=[])=>Array.isArray(t)?[e,...t]:[e],s3=e=>"string"!=typeof e||/^[\w.-]+$/.test(e)?e:`"${e.replace(/"/g,'\\"')}"`,s6=(e,t)=>s4(e,t).join(" "),s5=(e,t)=>s4(e,t).map(e=>s3(e)).join(" "),s8=e=>{let t=typeof e;if("string"===t)return e;if("number"===t)return e+"";if("object"===t&&null!==e&&!(e instanceof ri.ChildProcess)&&"stdout"in e){let t=typeof e.stdout;if("string"===t)return e.stdout;if((0,rr.Buffer).isBuffer(e.stdout))return e.stdout.toString();throw TypeError(`Unexpected "${t}" stdout in template expression`);}throw TypeError(`Unexpected "${t}" in template expression`);},s7=(e,t,r)=>r||0===e.length||0===t.length?[...e,...t]:[...e.slice(0,-1),`${e[e.length-1]}${t[0]}`,...t.slice(1)],s9=({templates:e,expressions:t,tokens:r,index:n,template:i})=>{let o=i??e.raw[n],s=o.split(/ +/g).filter(Boolean),a=s7(r,s,o.startsWith(" "));if(n===t.length)return a;let l=t[n],c=Array.isArray(l)?l.map(e=>s8(e)):[s8(l)];return s7(a,c,o.endsWith(" "));},ae=(e,t)=>{let r=[];for(let[n,i]of e.entries())r=s9({templates:e,expressions:t,tokens:r,index:n,template:i});return r;},at=(0,rl.debuglog)("execa").enabled,ar=(e,t)=>(e+"").padStart(t,"0"),an=()=>{let e=new Date();return`${ar(e.getHours(),2)}:${ar(e.getMinutes(),2)}:${ar(e.getSeconds(),2)}.${ar(e.getMilliseconds(),3)}`;},ai=(e,{verbose:t})=>{t&&c(ro).stderr.write(`[${an()}] ${e} -`);},ao=({env:e,extendEnv:t,preferLocal:r,localDir:n,execPath:i})=>{let o=t?{...c(ro).env,...e}:e;return r?T({env:o,cwd:n,execPath:i}):o;},as=(e,t,r={})=>{let n=c(rO)._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||c(ro).cwd(),execPath:c(ro).execPath,encoding:"utf8",reject:!0,cleanup:!0,all:!1,windowsHide:!0,verbose:at,...r}).env=ao(r),r.stdio=sA(r),"win32"===c(ro).platform&&"cmd"===c(rn).basename(e,".exe")&&t.unshift("/q"),{file:e,args:t,options:r,parsed:n};},aa=(e,t,r)=>"string"==typeof t||(0,rr.Buffer).isBuffer(t)?e.stripFinalNewline?R(t):t:void 0===r?void 0:"",al=({input:e,inputFile:t,stdio:r})=>void 0===e&&void 0===t&&void 0===r?{stdin:"inherit"}:{},ac=(e={})=>({preferLocal:!0,...al(e),...e});!function e(t){function r(n,...i){if(!Array.isArray(n))return e({...t,...n});let[o,...s]=ae(n,i);return j(o,s,ac(t));}return r.sync=(e,...r)=>{if(!Array.isArray(e))throw TypeError("Please use $(options).sync`command` instead of $.sync(options)`command`.");let[n,...i]=ae(e,r);return M(n,i,ac(t));},r;}(),nP=rh("3cGqJ"),rg=rh("7Lz0k"),n_={},nN=ip.join,nL=ip.delimiter,nk=ip.sep,nD=ip.posix;const au="win32"===process.platform,ap=new RegExp(`[${nD.sep}${nk===nD.sep?"":nk}]`.replace(/(\\)/g,"\\$1")),ad=RegExp("^\\."+ap.source),af=e=>Object.assign(Error("not found: "+e),{code:"ENOENT"}),ah=(e,{path:t=process.env.PATH,pathExt:r=process.env.PATHEXT,delimiter:n=nL})=>{let i=e.match(ap)?[""]:[...(au?[process.cwd()]:[]),...(t||"").split(n)];if(au){let t=r||[".EXE",".CMD",".BAT",".COM"].join(n),o=t.split(n).reduce((e,t)=>(e.push(t),e.push(t.toLowerCase()),e),[]);return e.includes(".")&&""!==o[0]&&o.unshift(""),{pathEnv:i,pathExt:o,pathExtExe:t};}return{pathEnv:i,pathExt:[""]};},am=(e,t)=>{let r=/^".*"$/.test(e)?e.slice(1,-1):e,n=!r&&ad.test(t)?t.slice(0,2):"";return n+nN(r,t);},ag=async(e,t={})=>{let{pathEnv:r,pathExt:n,pathExtExe:i}=ah(e,t),o=[];for(let s of r){let r=am(s,e);for(let e of n){let n=r+e,s=await rS(n,{pathExt:i,ignoreErrors:!0});if(s){if(!t.all)return n;o.push(n);}}}if(t.all&&o.length)return o;if(t.nothrow)return null;throw af(e);};n_=ag,ag.sync=(e,t={})=>{let{pathEnv:r,pathExt:n,pathExtExe:i}=ah(e,t),o=[];for(let s of r){let r=am(s,e);for(let e of n){let n=r+e,s=rS.sync(n,{pathExt:i,ignoreErrors:!0});if(s){if(!t.all)return n;o.push(n);}}}if(t.all&&o.length)return o;if(t.nothrow)return null;throw af(e);};const{appendFile:av}=id.promises;let aE=!1,ay=!1;const aw=["E: Could not get lock","dpkg: error processing archive","dpkg: error: dpkg status database is locked by another process"];(tZ=nU||(nU={}))[tZ.NameDashVersion=0]="NameDashVersion",tZ[tZ.NameEqualsVersion=1]="NameEqualsVersion",tZ[tZ.Name=2]="Name",tZ[tZ.None=3]="None",nO=rh("i5trn"),nj=rh("eq4yW"),nj=rh("eq4yW"),nM=rh("jtqY0");let ax=!1;nA=rh("bOuKS"),nj=rh("eq4yW"),rg=rh("7Lz0k");let ab=!1;rg=rh("7Lz0k"),rg=rh("7Lz0k");let aS=!1,aI=!1;const aR=/Version\s*:\s*(.*)/g;nF={},nG=ip.resolve(__dirname,"../../node_modules/.pnpm/@actions+tool-cache@2.0.1/node_modules/@actions/tool-cache/lib"),nB=nF&&nF.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r];}});}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r];}),nH=nF&&nF.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),nq=nF&&nF.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.hasOwnProperty.call(e,r)&&nB(t,e,r);return nH(t,e),t;},nV=nF&&nF.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e));}catch(e){o(e);}}function a(e){try{l(n.throw(e));}catch(e){o(e);}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t);})).then(s,a);}l((n=n.apply(e,t||[])).next());});},nW=nF&&nF.__importDefault||function(e){return e&&e.__esModule?e:{default:e};},Object.defineProperty(nF,"__esModule",{value:!0}),nF.evaluateVersions=nF.isExplicitVersion=nF.findFromManifest=nF.getManifestFromRepo=nF.findAllVersions=nF.find=nF.cacheFile=nF.cacheDir=nF.extractZip=nF.extractXar=nF.extractTar=nF.extract7z=nF.downloadTool=nF.HTTPError=void 0;const aO=nq(rh("i5trn")),aT=nq(rh("jtqY0")),aC=nq(id),a$=nq(rh("d0IR9")),aA=nq(iu),aP=nq(ip),a_=nq(rh("6xPYX")),aN=nq(rh("8eiWl")),aL=nq(re),ak=nq(t3),aD=nW(rh("1NS6t"));nz=rh("8hZvX"),nK=(nX={},nX.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r];}});}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r];})),nY=nX&&nX.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),nJ=nX&&nX.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.hasOwnProperty.call(e,r)&&nK(t,e,r);return nY(t,e),t;},nQ=nX&&nX.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e));}catch(e){o(e);}}function a(e){try{l(n.throw(e));}catch(e){o(e);}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t);})).then(s,a);}l((n=n.apply(e,t||[])).next());});},Object.defineProperty(nX,"__esModule",{value:!0}),nX.RetryHelper=void 0;const aU=nJ(rh("i5trn"));nX.RetryHelper=class{constructor(e,t,r){if(e<1)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 nQ(this,void 0,void 0,function*(){let r=1;for(;rsetTimeout(t,1e3*e));});}};class aj extends Error{constructor(e){super("Unexpected HTTP response: "+e),this.httpStatusCode=e,Object.setPrototypeOf(this,new.target.prototype);}}nF.HTTPError=aj;const aM="win32"===process.platform,aF="darwin"===process.platform;nF.downloadTool=function(e,t,r,n){return nV(this,void 0,void 0,function*(){t=t||aP.join(ev(),aD.default()),yield aT.mkdirP(aP.dirname(t)),aO.debug("Downloading "+e),aO.debug("Destination "+t);let i=eE("TEST_DOWNLOAD_TOOL_RETRY_MIN_SECONDS",10),o=eE("TEST_DOWNLOAD_TOOL_RETRY_MAX_SECONDS",20),s=new nX.RetryHelper(3,i,o);return yield s.execute(()=>nV(this,void 0,void 0,function*(){return yield function(e,t,r,n){return nV(this,void 0,void 0,function*(){if(aC.existsSync(t))throw Error(`Destination file path ${t} already exists`);let i=new a_.HttpClient("actions/tool-cache",[],{allowRetries:!1});r&&(aO.debug("set auth"),void 0===n&&(n={}),n.authorization=r);let o=yield i.get(e,n);if(200!==o.message.statusCode){let t=new aj(o.message.statusCode);throw aO.debug(`Failed to download from "${e}". Code(${o.message.statusCode}) Message(${o.message.statusMessage})`),t;}let s=ak.promisify(aL.pipeline),a=eE("TEST_DOWNLOAD_TOOL_RESPONSE_MESSAGE_FACTORY",()=>o.message),l=a(),c=!1;try{return yield s(l,aC.createWriteStream(t)),aO.debug("download complete"),c=!0,t;}finally{if(!c){aO.debug("download failed");try{yield aT.rmRF(t);}catch(e){aO.debug(`Failed to delete '${t}'. ${e.message}`);}}}});}(e,t||"",r,n);}),e=>!(e instanceof aj)||!e.httpStatusCode||!(e.httpStatusCode<500)||408===e.httpStatusCode||429===e.httpStatusCode);});},nF.extract7z=function(e,t,r){return nV(this,void 0,void 0,function*(){t4.ok(aM,"extract7z() not supported on current OS"),t4.ok(e,'parameter "file" is required'),t=yield ep(t);let n=process.cwd();if(process.chdir(t),r)try{let t=aO.isDebug()?"-bb1":"-bb0",n=["x",t,"-bd","-sccUTF-8",e];yield nz.exec(`"${r}"`,n,{silent:!0});}finally{process.chdir(n);}else{let r=aP.join(nG,"..","scripts","Invoke-7zdec.ps1").replace(/'/g,"''").replace(/"|\n|\r/g,""),i=e.replace(/'/g,"''").replace(/"|\n|\r/g,""),o=t.replace(/'/g,"''").replace(/"|\n|\r/g,""),s=`& '${r}' -Source '${i}' -Target '${o}'`;try{let e=yield aT.which("powershell",!0);yield nz.exec(`"${e}"`,["-NoLogo","-Sta","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",s],{silent:!0});}finally{process.chdir(n);}}return t;});},nF.extractTar=function(e,t,r="xz"){return nV(this,void 0,void 0,function*(){let n;if(!e)throw Error("parameter 'file' is required");t=yield ep(t),aO.debug("Checking tar --version");let i="";yield nz.exec("tar --version",[],{ignoreReturnCode:!0,silent:!0,listeners:{stdout:e=>i+=e.toString(),stderr:e=>i+=e.toString()}}),aO.debug(i.trim());let o=i.toUpperCase().includes("GNU TAR");n=r instanceof Array?r:[r],aO.isDebug()&&!r.includes("v")&&n.push("-v");let s=t,a=e;return aM&&o&&(n.push("--force-local"),s=t.replace(/\\/g,"/"),a=e.replace(/\\/g,"/")),o&&(n.push("--warning=no-unknown-keyword"),n.push("--overwrite")),n.push("-C",s,"-f",a),yield nz.exec("tar",n),t;});},nF.extractXar=function(e,t,r=[]){return nV(this,void 0,void 0,function*(){var n;let i;t4.ok(aF,"extractXar() not supported on current OS"),t4.ok(e,'parameter "file" is required'),t=yield ep(t),(i=r instanceof Array?r:[r]).push("-x","-C",t,"-f",e),aO.isDebug()&&i.push("-v");let o=yield aT.which("xar",!0);return yield nz.exec(`"${o}"`,(n=i,Array.from(new Set(n)))),t;});},nF.extractZip=function(e,t){return nV(this,void 0,void 0,function*(){if(!e)throw Error("parameter 'file' is required");return t=yield ep(t),aM?yield function(e,t){return nV(this,void 0,void 0,function*(){let r=e.replace(/'/g,"''").replace(/"|\n|\r/g,""),n=t.replace(/'/g,"''").replace(/"|\n|\r/g,""),i=yield aT.which("pwsh",!1);if(i){let e=`$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 $_ } } ;`,t=["-NoLogo","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",e];aO.debug("Using pwsh at path: "+i),yield nz.exec(`"${i}"`,t);}else{let e=`$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) }`,t=["-NoLogo","-Sta","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",e],i=yield aT.which("powershell",!0);aO.debug("Using powershell at path: "+i),yield nz.exec(`"${i}"`,t);}});}(e,t):yield function(e,t){return nV(this,void 0,void 0,function*(){let r=yield aT.which("unzip",!0),n=[e];aO.isDebug()||n.unshift("-q"),n.unshift("-o"),yield nz.exec(`"${r}"`,n,{cwd:t});});}(e,t),t;});},nF.cacheDir=function(e,t,r,n){return nV(this,void 0,void 0,function*(){if(r=aN.clean(r)||r,n=n||aA.arch(),aO.debug(`Caching tool ${t} ${r} ${n}`),aO.debug("source dir: "+e),!aC.statSync(e).isDirectory())throw Error("sourceDir is not a directory");let i=yield ed(t,r,n);for(let t of aC.readdirSync(e)){let r=aP.join(e,t);yield aT.cp(r,i,{recursive:!0});}return ef(t,r,n),i;});},nF.cacheFile=function(e,t,r,n,i){return nV(this,void 0,void 0,function*(){if(n=aN.clean(n)||n,i=i||aA.arch(),aO.debug(`Caching tool ${r} ${n} ${i}`),aO.debug("source file: "+e),!aC.statSync(e).isFile())throw Error("sourceFile is not a file");let o=yield ed(r,n,i),s=aP.join(o,t);return aO.debug("destination file "+s),yield aT.cp(e,s),ef(r,n,i),o;});},nF.find=function(e,t,r){if(!e)throw Error("toolName parameter is required");if(!t)throw Error("versionSpec parameter is required");if(r=r||aA.arch(),!eh(t)){let n=eu(e,r),i=em(n,t);t=i;}let n="";if(t){t=aN.clean(t)||"";let i=aP.join(eg(),e,t,r);aO.debug("checking cache: "+i),aC.existsSync(i)&&aC.existsSync(`${i}.complete`)?(aO.debug(`Found tool in cache ${e} ${t} ${r}`),n=i):aO.debug("not found");}return n;},nF.findAllVersions=eu,nF.getManifestFromRepo=function(e,t,r,n="master"){return nV(this,void 0,void 0,function*(){let i=[],o=`https://api.github.com/repos/${e}/${t}/git/trees/${n}`,s=new a_.HttpClient("tool-cache"),a={};r&&(aO.debug("set auth"),a.authorization=r);let l=yield s.getJson(o,a);if(!l.result)return i;let c="";for(let e of l.result.tree)if("versions-manifest.json"===e.path){c=e.url;break;}a.accept="application/vnd.github.VERSION.raw";let u=yield(yield s.get(c,a)).readBody();if(u){u=u.replace(/^\uFEFF/,"");try{i=JSON.parse(u);}catch(e){aO.debug("Invalid json");}}return i;});},nF.findFromManifest=function(e,t,r,n=aA.arch()){return nV(this,void 0,void 0,function*(){let i=yield a$._findMatch(e,t,r,n);return i;});},nF.isExplicitVersion=eh,nF.evaluateVersions=em,nZ=rh("ldLP8"),n0=rh("brvh5"),nj=rh("eq4yW"),rg=rh("7Lz0k"),rm=rh("2W4C2"),nA=rh("bOuKS"),Object.defineProperty(n1={},"__esModule",{value:!0}),n1.retryAsPromised=n1.TimeoutError=void 0;class aG extends Error{constructor(e,t){super(e),this.name="TimeoutError",this.previous=t;}}n1.TimeoutError=aG,n1.retryAsPromised=ey,n1.default=ey;let aB=!1;nj=rh("eq4yW"),nM=rh("jtqY0"),rg=rh("7Lz0k"),nO=rh("i5trn"),nA=rh("bOuKS"),nj=rh("eq4yW"),nz=rh("8hZvX"),rm=rh("2W4C2"),rg=rh("7Lz0k"),n2={isEqual:!0,isMatchingKey:!0,isPromise:!0,maxSize:!0,onCacheAdd:!0,onCacheChange:!0,onCacheHit:!0,transformKey:!0},n4=Array.prototype.slice,n3=function(){function e(e){this.keys=[],this.values=[],this.options=e;var t="function"==typeof e.isMatchingKey;t?this.getKeyIndex=this._getKeyIndexFromMatchingKey:e.maxSize>1?this.getKeyIndex=this._getKeyIndexForMany:this.getKeyIndex=this._getKeyIndexForSingle,this.canTransformKey="function"==typeof e.transformKey,this.shouldCloneArguments=this.canTransformKey||t,this.shouldUpdateOnAdd="function"==typeof e.onCacheAdd,this.shouldUpdateOnChange="function"==typeof e.onCacheChange,this.shouldUpdateOnHit="function"==typeof e.onCacheHit;}return Object.defineProperty(e.prototype,"size",{get:function(){return this.keys.length;},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"snapshot",{get:function(){return{keys:e$(this.keys),size:this.size,values:e$(this.values)};},enumerable:!1,configurable:!0}),e.prototype._getKeyIndexFromMatchingKey=function(e){var t=this.options,r=t.isMatchingKey,n=t.maxSize,i=this.keys,o=i.length;if(!o)return-1;if(r(i[0],e))return 0;if(n>1){for(var s=1;o>s;s++)if(r(i[s],e))return s;}return-1;},e.prototype._getKeyIndexForMany=function(e){var t,r,n=this.options.isEqual,i=this.keys,o=i.length;if(!o)return-1;if(1===o)return this._getKeyIndexForSingle(e);var s=e.length;if(s>1){for(var a=0;o>a;a++)if((t=i[a]).length===s){for(r=0;s>r&&n(t[r],e[r]);r++);if(r===s)return a;}}else for(var a=0;o>a;a++)if((t=i[a]).length===s&&n(t[0],e[0]))return a;return-1;},e.prototype._getKeyIndexForSingle=function(e){var t=this.keys;if(!t.length)return-1;var r=t[0],n=r.length;if(e.length!==n)return-1;var i=this.options.isEqual;if(n>1){for(var o=0;n>o;o++)if(!i(r[o],e[o]))return-1;return 0;}return i(r[0],e[0])?0:-1;},e.prototype.orderByLru=function(e,t,r){for(var n=this.keys,i=this.values,o=n.length,s=r;s--;)n[s+1]=n[s],i[s+1]=i[s];n[0]=e,i[0]=t;var a=this.options.maxSize;o===a&&r===o?(n.pop(),i.pop()):r>=a&&(n.length=i.length=a);},e.prototype.updateAsyncCache=function(e){var t=this,r=this.options,n=r.onCacheChange,i=r.onCacheHit,o=this.keys[0],s=this.values[0];this.values[0]=s.then(function(r){return t.shouldUpdateOnHit&&i(t,t.options,e),t.shouldUpdateOnChange&&n(t,t.options,e),r;},function(e){var r=t.getKeyIndex(o);throw-1!==r&&(t.keys.splice(r,1),t.values.splice(r,1)),e;});},e;}(),nj=rh("eq4yW"),n6=e=>{if("string"!=typeof e)return!1;let t=e.trim();if(t.includes(" "))return!1;try{return new rc.URL(t),!0;}catch{return!1;}},n5=async e=>{let t=n6(e);if(!t)return!1;let r=await eN(e,"HEAD");return!!r||!!(r=await eN(e,"GET"));},n8=rh("aWTSG"),n0=rh("brvh5"),n7=rh("bJWbp"),nz=rh("8hZvX"),rg=rh("7Lz0k");const aH=/v?(\d\S*)/,aq={llvm:ej(),clangtidy:ej(),clangformat:ej(),ninja:"1.11.1",cmake:"3.27.4",gcovr:"6.0",conan:"1.62.0",meson:"1.2.3",kcov:"42",task:"3.31.0",doxygen:er()?"1.9.8-1":"1.9.8",gcc:er()?"13.2.1-3":"13"},aV={pip:"22.2.0",python:"3.7.9"},aW={gcc:{22:"13",20:"11",18:"11",16:"11",14:"11"},mingw:{22:"8.0.0-1",20:"7.0.0-2"},llvm:{22:"17.0.5-ubuntu-22.04",20:"17.0.5-ubuntu-22.04",18:"15.0.6-ubuntu-18.04",16:"15.0.6-ubuntu-18.04",14:"13.0.0-ubuntu-16.04"},clangtidy:{22:"17.0.2-ubuntu-22.04",20:"17.0.2-ubuntu-22.04",18:"15.0.6-ubuntu-18.04",16:"15.0.6-ubuntu-18.04",14:"13.0.0-ubuntu-16.04"},clangformat:{22:"17.0.2-ubuntu-22.04",20:"17.0.2-ubuntu-22.04",18:"15.0.6-ubuntu-18.04",16:"15.0.6-ubuntu-18.04",14:"13.0.0-ubuntu-16.04"},gcovr:{22:"6.0",20:"6.0",18:"5.0"},meson:{20:"1.0.0",18:"0.61.4"},nala:{22:"",21:"legacy",20:"legacy",18:"legacy",16:"legacy",14:"legacy"},kcov:{22:"42-binary",20:"40-binary",18:"40",16:"40",14:"40"}};nA=rh("bOuKS");const az=e_(eJ,{isPromise:!0});rg=rh("7Lz0k"),Object.defineProperty(n9={},"__esModule",{value:!0}),n9.getUbuntuVersion=void 0,n9.getUbuntuVersion=e0;const aX=e_(e1,{isPromise:!0}),aK=e_(e5,{isPromise:!0});nj=rh("eq4yW"),rg=rh("7Lz0k"),nA=rh("bOuKS"),ie=rh("jsxzs"),n0=rh("brvh5"),nz=rh("8hZvX"),rg=rh("7Lz0k"),nj=rh("eq4yW"),rg=rh("7Lz0k"),rm=rh("2W4C2"),nA=rh("bOuKS"),it=ip.resolve(__dirname,"../../src/gcc");const aY={13:{releaseName:"13.2.0-16.0.6-11.0.0-ucrt-r1",fileSuffix:"13.2.0-mingw-w64ucrt-11.0.0-r1"},"13.2-ucrt":{releaseName:"13.2.0-16.0.6-11.0.0-ucrt-r1",fileSuffix:"13.2.0-mingw-w64ucrt-11.0.0-r1"},"13.2-ucrt-mcf":{releaseName:"13.2.0mcf-16.0.6-11.0.1-ucrt-r2",fileSuffix:"13.2.0-mingw-w64ucrt-11.0.1-r2"},"13.2-msvcrt":{releaseName:"13.2.0-16.0.6-11.0.1-msvcrt-r1",fileSuffix:"13.2.0-mingw-w64msvcrt-11.0.1-r1"},"13.1-ucrt":{releaseName:"13.1.0posix-16.0.3-11.0.0-ucrt-r1",fileSuffix:"13.1.0-mingw-w64ucrt-11.0.0-r1"},"13.1-msvcrt":{releaseName:"13.1.0posix-16.0.3-11.0.0-msvcrt-r1",fileSuffix:"13.1.0-mingw-w64msvcrt-11.0.0-r1"},12:{releaseName:"12.3.0-16.0.4-11.0.0-ucrt-r1",fileSuffix:"12.3.0-mingw-w64ucrt-11.0.0-r1"},"12.3.0-ucrt":{releaseName:"12.3.0-16.0.4-11.0.0-ucrt-r1",fileSuffix:"12.3.0-mingw-w64ucrt-11.0.0-r1"},"12.3.0-msvcrt":{releaseName:"12.3.0-16.0.4-11.0.0-msvcrt-r1",fileSuffix:"12.3.0-mingw-w64msvcrt-11.0.0-r1"},"12.2.0-ucrt":{releaseName:"12.2.0-14.0.6-10.0.0-ucrt-r2",fileSuffix:"12.2.0-mingw-w64ucrt-10.0.0-r2"},"12.2.0-msvcrt":{releaseName:"12.2.0-14.0.6-10.0.0-msvcrt-r2",fileSuffix:"12.2.0-mingw-w64msvcrt-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.5.0-11.0.1-msvcrt-r1",fileSuffix:"10.5.0-mingw-w64msvcrt-11.0.1-r1"},"10.5.0-msvcrt":{releaseName:"10.5.0-11.0.1-msvcrt-r1",fileSuffix:"10.5.0-mingw-w64msvcrt-11.0.1-r1"},"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"}};n7=rh("bJWbp"),ie=rh("jsxzs"),nj=rh("eq4yW"),rg=rh("7Lz0k"),nj=rh("eq4yW"),ir=ip.resolve(__dirname,"../../src/kcov"),rm=rh("2W4C2"),rg=rh("7Lz0k"),nA=rh("bOuKS"),nj=rh("eq4yW"),nO=rh("i5trn"),rg=rh("7Lz0k"),nj=rh("eq4yW"),nO=rh("i5trn");const aJ=rt.env["ProgramFiles(x86)"],aQ=[rt.env["ProgramFiles(x86)"],rt.env.ProgramFiles],aZ=["Enterprise","Professional","Community","BuildTools"],a0=["2022","2019","2017"],a1={2022:"17.0",2019:"16.0",2017:"15.0",2015:"14.0",2013:"12.0"};ii=tx;const a2=`${aJ}\\Microsoft Visual Studio\\Installer`;io=tb,is=function(e,t,r,n,i,o){if("win32"!=rt.platform){nO.info("This is not a Windows virtual environment, bye!");return;}rt.env.PATH+=ip.delimiter+a2;let s={win32:"x86",win64:"x64",x86_64:"x64","x86-64":"x64"};e.toLowerCase()in s&&(e=s[e.toLowerCase()]);var a=[e];"true"==n&&a.push("uwp"),t&&a.push(t),r&&a.push("-vcvars_ver="+r),"true"==i&&a.push("-vcvars_spectre_libs=spectre");let l=`"${tb(o)}" ${a.join(" ")}`;nO.debug("vcvars command-line: "+l);let c=t5.execSync(`set && cls && ${l} && cls && set`,{shell:"cmd"}).toString(),u=c.split("\f"),p=u[0].split("\r\n"),d=u[1].split("\r\n"),f=u[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 m={};for(let e of p){let[t,r]=e.split("=");m[t]=r;}for(let e of(nO.startGroup("Environment variables"),f)){if(!e.includes("="))continue;let[t,r]=e.split("=");r!==m[t]&&(nO.info("Setting "+t),-1!=["PATH","INCLUDE","LIB","LIBPATH"].indexOf(t.toUpperCase())&&(r=r.split(";").filter(function(e,t,r){return r.indexOf(e)===t;}).join(";")),nO.exportVariable(t,r));}nO.endGroup(),nO.info("Configured Developer Command Prompt");},rg=rh("7Lz0k"),nA=rh("bOuKS");class a4 extends Error{constructor(e){super(e),this.name="TimeoutError";}}class a3 extends Error{constructor(e){super(),this.name="AbortError",this.message=e;}}const a6=e=>void 0===globalThis.DOMException?new a3(e):new DOMException(e),a5=e=>{let t=void 0===e.reason?a6("This operation was aborted."):e.reason;return t instanceof Error?t:a6(t);},a8=12e5,{readFile:a7,writeFile:a9,chmod:le}=id.promises;(t0=ia||(ia={}))[t0.All=0]="All",t0[t0.ClangFormat=1]="ClangFormat",t0[t0.Core=2]="Core",nZ=rh("ldLP8"),rg=rh("7Lz0k"),nj=rh("eq4yW");const lt=function(e){let t=new Set(e);for(let 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","15.0.0","15.0.1","15.0.2","15.0.3","15.0.4","15.0.5","15.0.6","15.0.7","16.0.0","16.0.1","16.0.2","16.0.3","16.0.4","16.0.5","16.0.6","17.0.1","17.0.2","17.0.3","17.0.4","17.0.5"]),lr=new Set(["10.0.1","15.0.5","15.0.6","17.0.5"]),ln=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","15.0.4","15.0.5","15.0.6","16.0.0","16.0.1","16.0.2","16.0.3","16.0.4","16.0.5","16.0.6","17.0.1","17.0.2","17.0.3","17.0.4","17.0.5"]),li=new Map(),lo={"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","15.0.2":"-rhel86","15.0.5":"-ubuntu-18.04","15.0.6":"-ubuntu-18.04","16.0.0":"-ubuntu-18.04","16.0.2":"-ubuntu-22.04","16.0.3":"-ubuntu-22.04","16.0.4":"-ubuntu-22.04","17.0.2":"-ubuntu-22.04","17.0.4":"-ubuntu-22.04","17.0.5":"-ubuntu-22.04"},ls="17.0.5";il=ip.resolve(__dirname,"../../src/llvm");const la=e_(tk,{isPromise:!0}),ll=e_(tU,{isPromise:!0}),lc=e_(tj,{isPromise:!0});rm=rh("2W4C2"),nj=rh("eq4yW"),rg=rh("7Lz0k"),nA=rh("bOuKS"),ic=ip.resolve(__dirname,"../../src/msvc"),nj=rh("eq4yW"),nj=rh("eq4yW"),rg=rh("7Lz0k"),nA=rh("bOuKS"),nj=rh("eq4yW");let lu=!1;const lp={nala:tq,cmake:eC,ninja:tm,python:eM,vcpkg:tK,bazel:ea,conan:function(e,t,r){return e4("conan",e);},meson:function(e,t,r){return e4("meson",e);},gcovr:function(e,t,r){return e4("gcovr",e);},opencppcoverage:tV,llvm:tL,gcc:tc,choco:ee,brew:J,powershell:tz,ccache:function(e,t,r){switch(process.platform){case"win32":return et("ccache",e);case"darwin":return Z("ccache",e);case"linux":if(er())return el("ccache",e);if(en())return ei([{name:"ccache",version:e}]);if(es())return F([{name:"ccache",version:e}]);throw Error("Unsupported linux distribution");default:throw Error("Unsupported platform");}},sccache:function(e,t,r){switch(process.platform){case"win32":return et("sccache",e);case"linux":case"darwin":return Z("sccache",e);default:throw Error("Unsupported platform");}},doxygen:to,graphviz:tr,cppcheck:te,clangtidy:function(e,t,r){return tD(e,t,r);},clangformat:function(e,t,r){return tD(e,t,r,ia.ClangFormat);},msvc:tB,vcvarsall:tS,kcov:tw,make:tG,task:function(e,t,r){return ew("task",e,tX,t,r);},sevenzip:ex},ld=Object.keys(lp),lf=["compiler","architecture","timeout",...ld];nO=rh("i5trn"),rg=rh("7Lz0k"),n7=rh("bJWbp"),tQ(process.argv).then(e=>{process.exitCode=e;}).catch(e=>{(0,rg.error)("main() panicked!"),(0,rg.error)(e),process.exitCode=1;}); + Error Message: ${e.message}`);})).result)||void 0===t?void 0:t.value;if(!n)throw Error("Response json body do not have ID Token field");return n;});}static getIDToken(e){return r(this,void 0,void 0,function*(){try{let t=s.getIDTokenUrl();if(e){let r=encodeURIComponent(e);t=`${t}&audience=${r}`;}o.debug("ID token url is "+t);let r=yield s.getCall(t);return o.setSecret(r),r;}catch(e){throw Error("Error message: "+e.message);}});}}e.exports.OidcClient=s;}),rg("3BbEx",function(e,t){var r,n,i,o,s,a,l,u,c;r=e.exports&&e.exports.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r];}});}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r];}),n=e.exports&&e.exports.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),i=e.exports&&e.exports.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&r(t,e,i);return n(t,e),t;},o=e.exports&&e.exports.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e));}catch(e){o(e);}}function a(e){try{l(n.throw(e));}catch(e){o(e);}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t);})).then(s,a);}l((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;let p=i(nK),d=i(nJ),f=i(rv("jmGvF")),h=i(rv("3i1sl"));(u=s=e.exports.HttpCodes||(e.exports.HttpCodes={}))[u.OK=200]="OK",u[u.MultipleChoices=300]="MultipleChoices",u[u.MovedPermanently=301]="MovedPermanently",u[u.ResourceMoved=302]="ResourceMoved",u[u.SeeOther=303]="SeeOther",u[u.NotModified=304]="NotModified",u[u.UseProxy=305]="UseProxy",u[u.SwitchProxy=306]="SwitchProxy",u[u.TemporaryRedirect=307]="TemporaryRedirect",u[u.PermanentRedirect=308]="PermanentRedirect",u[u.BadRequest=400]="BadRequest",u[u.Unauthorized=401]="Unauthorized",u[u.PaymentRequired=402]="PaymentRequired",u[u.Forbidden=403]="Forbidden",u[u.NotFound=404]="NotFound",u[u.MethodNotAllowed=405]="MethodNotAllowed",u[u.NotAcceptable=406]="NotAcceptable",u[u.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",u[u.RequestTimeout=408]="RequestTimeout",u[u.Conflict=409]="Conflict",u[u.Gone=410]="Gone",u[u.TooManyRequests=429]="TooManyRequests",u[u.InternalServerError=500]="InternalServerError",u[u.NotImplemented=501]="NotImplemented",u[u.BadGateway=502]="BadGateway",u[u.ServiceUnavailable=503]="ServiceUnavailable",u[u.GatewayTimeout=504]="GatewayTimeout",(c=a=e.exports.Headers||(e.exports.Headers={})).Accept="accept",c.ContentType="content-type",(l=e.exports.MediaTypes||(e.exports.MediaTypes={})).ApplicationJson="application/json",e.exports.getProxyUrl=function(e){let t=f.getProxyUrl(new URL(e));return t?t.href:"";};let m=[s.MovedPermanently,s.ResourceMoved,s.SeeOther,s.TemporaryRedirect,s.PermanentRedirect],v=[s.BadGateway,s.ServiceUnavailable,s.GatewayTimeout],g=["OPTIONS","GET","DELETE","HEAD"];class E extends Error{constructor(e,t){super(e),this.name="HttpClientError",this.statusCode=t,Object.setPrototypeOf(this,E.prototype);}}e.exports.HttpClientError=E;class y{constructor(e){this.message=e;}readBody(){return o(this,void 0,void 0,function*(){return new Promise(e=>o(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.toString());});}));});}}e.exports.HttpClientResponse=y,e.exports.isHttps=function(e){return"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 o(this,void 0,void 0,function*(){return this.request("OPTIONS",e,null,t||{});});}get(e,t){return o(this,void 0,void 0,function*(){return this.request("GET",e,null,t||{});});}del(e,t){return o(this,void 0,void 0,function*(){return this.request("DELETE",e,null,t||{});});}post(e,t,r){return o(this,void 0,void 0,function*(){return this.request("POST",e,t,r||{});});}patch(e,t,r){return o(this,void 0,void 0,function*(){return this.request("PATCH",e,t,r||{});});}put(e,t,r){return o(this,void 0,void 0,function*(){return this.request("PUT",e,t,r||{});});}head(e,t){return o(this,void 0,void 0,function*(){return this.request("HEAD",e,null,t||{});});}sendStream(e,t,r,n){return o(this,void 0,void 0,function*(){return this.request(e,t,r,n);});}getJson(e,t={}){return o(this,void 0,void 0,function*(){t[a.Accept]=this._getExistingOrDefaultHeader(t,a.Accept,l.ApplicationJson);let r=yield this.get(e,t);return this._processResponse(r,this.requestOptions);});}postJson(e,t,r={}){return o(this,void 0,void 0,function*(){let n=JSON.stringify(t,null,2);r[a.Accept]=this._getExistingOrDefaultHeader(r,a.Accept,l.ApplicationJson),r[a.ContentType]=this._getExistingOrDefaultHeader(r,a.ContentType,l.ApplicationJson);let i=yield this.post(e,n,r);return this._processResponse(i,this.requestOptions);});}putJson(e,t,r={}){return o(this,void 0,void 0,function*(){let n=JSON.stringify(t,null,2);r[a.Accept]=this._getExistingOrDefaultHeader(r,a.Accept,l.ApplicationJson),r[a.ContentType]=this._getExistingOrDefaultHeader(r,a.ContentType,l.ApplicationJson);let i=yield this.put(e,n,r);return this._processResponse(i,this.requestOptions);});}patchJson(e,t,r={}){return o(this,void 0,void 0,function*(){let n=JSON.stringify(t,null,2);r[a.Accept]=this._getExistingOrDefaultHeader(r,a.Accept,l.ApplicationJson),r[a.ContentType]=this._getExistingOrDefaultHeader(r,a.ContentType,l.ApplicationJson);let i=yield this.patch(e,n,r);return this._processResponse(i,this.requestOptions);});}request(e,t,r,n){return o(this,void 0,void 0,function*(){let i;if(this._disposed)throw Error("Client has already been disposed.");let o=new URL(t),a=this._prepareRequest(e,o,n),l=this._allowRetries&&g.includes(e)?this._maxRetries+1:1,u=0;do{if((i=yield this.requestRaw(a,r))&&i.message&&i.message.statusCode===s.Unauthorized){let e;for(let t of this.handlers)if(t.canHandleAuthentication(i)){e=t;break;}if(e)return e.handleAuthentication(this,a,r);break;}let t=this._maxRedirects;for(;i.message.statusCode&&m.includes(i.message.statusCode)&&this._allowRedirects&&t>0;){let s=i.message.headers.location;if(!s)break;let l=new URL(s);if("https:"===o.protocol&&o.protocol!==l.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 i.readBody(),l.hostname!==o.hostname)for(let e in n)"authorization"===e.toLowerCase()&&delete n[e];a=this._prepareRequest(e,l,n),i=yield this.requestRaw(a,r),t--;}if(!i.message.statusCode||!v.includes(i.message.statusCode))break;(u+=1){this.requestRawWithCallback(e,t,function(e,t){e?n(e):t?r(t):n(Error("Unknown error"));});});});}requestRawWithCallback(e,t,r){let n;function i(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,s=e.httpModule.request(e.options,e=>{i(void 0,new y(e));});s.on("socket",e=>{n=e;}),s.setTimeout(this._socketTimeout||18e4,()=>{n&&n.end(),i(Error("Request timeout: "+e.options.path));}),s.on("error",function(e){i(e);}),t&&"string"==typeof t&&s.write(t,"utf8"),t&&"string"!=typeof t?(t.on("close",function(){s.end();}),t.pipe(s)):s.end();}getAgent(e){let t=new URL(e);return this._getAgent(t);}_prepareRequest(e,t,r){let n={};n.parsedUrl=t;let i="https:"===n.parsedUrl.protocol;if(n.httpModule=i?d:p,n.options={},n.options.host=n.parsedUrl.hostname,n.options.port=n.parsedUrl.port?parseInt(n.parsedUrl.port):i?443:80,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(let e of this.handlers)e.prepareRequest(n.options);return n;}_mergeHeaders(e){return this.requestOptions&&this.requestOptions.headers?Object.assign({},w(this.requestOptions.headers),w(e||{})):w(e||{});}_getExistingOrDefaultHeader(e,t,r){let n;return this.requestOptions&&this.requestOptions.headers&&(n=w(this.requestOptions.headers)[t]),e[t]||n||r;}_getAgent(e){let t;let r=f.getProxyUrl(e),n=r&&r.hostname;if(this._keepAlive&&n&&(t=this._proxyAgent),this._keepAlive&&!n&&(t=this._agent),t)return t;let i="https:"===e.protocol,o=100;if(this.requestOptions&&(o=this.requestOptions.maxSockets||p.globalAgent.maxSockets),r&&r.hostname){let e;let n={maxSockets:o,keepAlive:this._keepAlive,proxy:Object.assign(Object.assign({},(r.username||r.password)&&{proxyAuth:`${r.username}:${r.password}`}),{host:r.hostname,port:r.port})},s="https:"===r.protocol;t=(i?s?h.httpsOverHttps:h.httpsOverHttp:s?h.httpOverHttps:h.httpOverHttp)(n),this._proxyAgent=t;}if(this._keepAlive&&!t){let e={keepAlive:this._keepAlive,maxSockets:o};t=i?new d.Agent(e):new p.Agent(e),this._agent=t;}return t||(t=i?d.globalAgent:p.globalAgent),i&&this._ignoreSslError&&(t.options=Object.assign(t.options||{},{rejectUnauthorized:!1})),t;}_performExponentialBackoff(e){return o(this,void 0,void 0,function*(){let t=5*Math.pow(2,e=Math.min(10,e));return new Promise(e=>setTimeout(()=>e(),t));});}_processResponse(e,t){return o(this,void 0,void 0,function*(){return new Promise((r,n)=>o(this,void 0,void 0,function*(){let i,o;let a=e.message.statusCode||0,l={statusCode:a,result:null,headers:{}};a===s.NotFound&&r(l);try{(o=yield e.readBody())&&o.length>0&&(i=t&&t.deserializeDates?JSON.parse(o,function(e,t){if("string"==typeof t){let e=new Date(t);if(!isNaN(e.valueOf()))return e;}return t;}):JSON.parse(o),l.result=i),l.headers=e.message.headers;}catch(e){}if(a>299){let e;let t=new E(i&&i.message?i.message:o&&o.length>0?o:`Failed request: (${a})`,a);t.result=l.result,n(t);}else r(l);}));});}};let w=e=>Object.keys(e).reduce((t,r)=>(t[r.toLowerCase()]=e[r],t),{});}),rg("jmGvF",function(e,t){function r(e){let t;if(!e.hostname)return!1;if(function(e){let t=e.toLowerCase();return"localhost"===t||t.startsWith("127.")||t.startsWith("[::1]")||t.startsWith("[0:0:0:0:0:0:0:1]");}(e.hostname))return!0;let r=process.env.no_proxy||process.env.NO_PROXY||"";if(!r)return!1;e.port?t=+e.port:"http:"===e.protocol?t=80:"https:"===e.protocol&&(t=443);let n=[e.hostname.toUpperCase()];for(let e of("number"==typeof t&&n.push(`${n[0]}:${t}`),r.split(",").map(e=>e.trim().toUpperCase()).filter(e=>e)))if("*"===e||n.some(t=>t===e||t.endsWith("."+e)||e.startsWith(".")&&t.endsWith(""+e)))return!0;return!1;}Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.checkBypass=e.exports.getProxyUrl=void 0,e.exports.getProxyUrl=function(e){let t="https:"===e.protocol;if(r(e))return;let 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;}),rg("3i1sl",function(e,t){e.exports=rv("35dml");}),rg("35dml",function(e,t){var r,n,i,o,s,a;function u(e){var t=this;t.options=e||{},t.proxyOptions=t.options.proxy||{},t.maxSockets=t.options.maxSockets||nK.Agent.defaultMaxSockets,t.requests=[],t.sockets=[],t.on("free",function(e,r,n,i){for(var o=p(r,n,i),s=0,a=t.requests.length;a>s;++s){var l=t.requests[s];if(l.host===o.host&&l.port===o.port){t.requests.splice(s,1),l.request.onSocket(e);return;}}e.destroy(),t.removeSocket(e);});}function c(e,t){var r=this;u.prototype.createSocket.call(r,e,function(n){var i=e.request.getHeader("host"),o=d({},r.options,{socket:n,servername:i?i.replace(/:.*$/,""):e.host}),s=t3.connect(0,o);r.sockets[r.sockets.indexOf(n)]=s,t(s);});}function p(e,t,r){return"string"==typeof e?{host:e,port:t,localAddress:r}:e;}function d(e){for(var t=1,r=arguments.length;r>t;++t){var n=arguments[t];if("object"==typeof n)for(var i=Object.keys(n),o=0,s=i.length;s>o;++o){var a=i[o];void 0!==n[a]&&(e[a]=n[a]);}}return e;}l(e.exports,"httpOverHttp",()=>r,e=>r=e),l(e.exports,"httpsOverHttp",()=>n,e=>n=e),l(e.exports,"httpOverHttps",()=>i,e=>i=e),l(e.exports,"httpsOverHttps",()=>o,e=>o=e),l(e.exports,"debug",()=>s,e=>s=e),r=function(e){var t=new u(e);return t.request=nK.request,t;},n=function(e){var t=new u(e);return t.request=nK.request,t.createSocket=c,t.defaultPort=443,t;},i=function(e){var t=new u(e);return t.request=nJ.request,t;},o=function(e){var t=new u(e);return t.request=nJ.request,t.createSocket=c,t.defaultPort=443,t;},t8.inherits(u,t4.EventEmitter),u.prototype.addRequest=function(e,t,r,n){var i=this,o=d({request:e},i.options,p(t,r,n));if(i.sockets.length>=this.maxSockets){i.requests.push(o);return;}i.createSocket(o,function(t){function r(){i.emit("free",t,o);}function n(e){i.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);});},u.prototype.createSocket=function(e,t){function r(r,n,l){if(i.removeAllListeners(),n.removeAllListeners(),200!==r.statusCode){a("tunneling socket could not be established, statusCode=%d",r.statusCode),n.destroy();var u=Error("tunneling socket could not be established, statusCode="+r.statusCode);u.code="ECONNRESET",e.request.emit("error",u),o.removeSocket(s);return;}if(l.length>0){a("got illegal response body from proxy"),n.destroy();var u=Error("got illegal response body from proxy");u.code="ECONNRESET",e.request.emit("error",u),o.removeSocket(s);return;}return a("tunneling connection has established"),o.sockets[o.sockets.indexOf(s)]=n,t(n);}var n,i,o=this,s={};o.sockets.push(s),n=d({},o.proxyOptions,{method:"CONNECT",path:e.host+":"+e.port,agent:!1,headers:{host:e.host+":"+e.port}}),e.localAddress&&(n.localAddress=e.localAddress),n.proxyAuth&&(n.headers=n.headers||{},n.headers["Proxy-Authorization"]="Basic "+new Buffer(n.proxyAuth).toString("base64")),a("making CONNECT request"),(i=o.request(n)).useChunkedEncodingByDefault=!1,i.once("response",function(e){e.upgrade=!0;}),i.once("upgrade",function(e,t,n){process.nextTick(function(){r(e,t,n);});}),i.once("connect",r),i.once("error",function(t){i.removeAllListeners(),a("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),o.removeSocket(s);}),i.end();},u.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,function(e){r.request.onSocket(e);});}},s=a=process.env.NODE_DEBUG&&/\btunnel\b/.test(process.env.NODE_DEBUG)?function(){var e=Array.prototype.slice.call(arguments);"string"==typeof e[0]?e[0]="TUNNEL: "+e[0]:e.unshift("TUNNEL:"),console.error.apply(console,e);}:function(){};}),rg("dhOti",function(e,t){var r=e.exports&&e.exports.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e));}catch(e){o(e);}}function a(e){try{l(n.throw(e));}catch(e){o(e);}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t);})).then(s,a);}l((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");});}};}),rg("cZLUn",function(e,t){var r=e.exports&&e.exports.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e));}catch(e){o(e);}}function a(e){try{l(n.throw(e));}catch(e){o(e);}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t);})).then(s,a);}l((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;let{access:n,appendFile:i,writeFile:o}=nW.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";let s=new class{constructor(){this._buffer="";}filePath(){return r(this,void 0,void 0,function*(){if(this._filePath)return this._filePath;let 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,nW.constants.R_OK|nW.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={}){let 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*(){let t=!!(null==e?void 0:e.overwrite),r=yield this.filePath();return yield(t?o:i)(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(nV.EOL);}addCodeBlock(e,t){let r=Object.assign({},t&&{lang:t}),n=this.wrap("pre",this.wrap("code",e),r);return this.addRaw(n).addEOL();}addList(e,t=!1){let r=e.map(e=>this.wrap("li",e)).join(""),n=this.wrap(t?"ol":"ul",r);return this.addRaw(n).addEOL();}addTable(e){let t=e.map(e=>{let t=e.map(e=>{if("string"==typeof e)return this.wrap("td",e);let{header:t,data:r,colspan:n,rowspan:i}=e,o=Object.assign(Object.assign({},n&&{colspan:n}),i&&{rowspan:i});return this.wrap(t?"th":"td",r,o);}).join("");return this.wrap("tr",t);}).join(""),r=this.wrap("table",t);return this.addRaw(r).addEOL();}addDetails(e,t){let r=this.wrap("details",this.wrap("summary",e)+t);return this.addRaw(r).addEOL();}addImage(e,t,r){let{width:n,height:i}=r||{},o=Object.assign(Object.assign({},n&&{width:n}),i&&{height:i}),s=this.wrap("img",null,Object.assign({src:e,alt:t},o));return this.addRaw(s).addEOL();}addHeading(e,t){let r="h"+t,n=["h1","h2","h3","h4","h5","h6"].includes(r)?r:"h1",i=this.wrap(n,e);return this.addRaw(i).addEOL();}addSeparator(){let e=this.wrap("hr",null);return this.addRaw(e).addEOL();}addBreak(){let e=this.wrap("br",null);return this.addRaw(e).addEOL();}addQuote(e,t){let r=Object.assign({},t&&{cite:t}),n=this.wrap("blockquote",e,r);return this.addRaw(n).addEOL();}addLink(e,t){let r=this.wrap("a",e,{href:t});return this.addRaw(r).addEOL();}}();e.exports.markdownSummary=s,e.exports.summary=s;}),rg("hA9PM",function(e,t){var r,n,i;r=e.exports&&e.exports.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r];}});}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r];}),n=e.exports&&e.exports.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),i=e.exports&&e.exports.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&r(t,e,i);return n(t,e),t;},Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.toPlatformPath=e.exports.toWin32Path=e.exports.toPosixPath=void 0;let o=i(nX);e.exports.toPosixPath=function(e){return e.replace(/[\\]/g,"/");},e.exports.toWin32Path=function(e){return e.replace(/[/]/g,"\\");},e.exports.toPlatformPath=function(e){return e.replace(/[/\\]/g,o.sep);};}),rg("nCzGD",function(e,t){var r=nX.resolve(__dirname,"../../node_modules/numerous/lib");(function(){var t,n;function i(e,r,n){if(o(e),"object"!=typeof n)throw Error("List of variants should be specified as an object");var i=t[e](r);return void 0!==n[i]?n[i]:null;}function o(e){!(void 0!==t[e])&&function(e){try{require(r+"/../locales/"+e+".js");}catch(t){throw Error("Failed to load the following locale: "+e);}}(e);}t={},n={create:function(e){return o(e),{pluralize:function(t,r){return i(e,t,r);}};},addLocale:function(e,r){t[e]=r;},pluralize:i},void 0!==e.exports?e.exports=n:this.numerous=n;}).call(e.exports);}),rg("cNw1h",function(e,t){function r(e){for(let t of(Array.isArray(e)||(e=[e]),e)){let{id:e,data:r}=t;a[e]=r;}}var n=rv("glkzm"),i=rv("jWCmm");let o=[["years",290304e5],["months",24192e5],["weeks",6048e5],["days",864e5],["hours",36e5],["minutes",6e4],["seconds",1e3]],s={locale:"en",span:2,delimiter:", ",unitType:"long",unitTypeLookupOrder:["long","short","narrow"],autoloadLocales:!0},a={};e.exports={create:function(e){return e=Object.assign({},s,e||{}),{format:function(t,s,l){return function(e,t,s){if(function(e,t){let{autoload:n}=t;if(!a[e]){if(i&&n)(function(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);else throw Error(`Missing locale: ${e}, you must load it manually before using it`);}}(s.locale,{autoload:s.autoloadLocales}),!e)throw Error("Missing first date argument");if(!t)throw Error("Missing second date argument");let l=function(e,t){let r=t-e,n=[];return o.some(function(e){let t=e[0],i=e[1],o=Math.floor(r/i);if(r-=o*i,n.push([t,o]),r<=0)return!0;}),n;}(e,t),u=[];for(let e of l){let[t,r]=e;if(r>0&&u.push(function(e,t,r){let i=function(e){var t;let r=a[e.locale],n=e.unitTypeLookupOrder.slice();n.unshift(e.unitType),t=n;let i=null;if((n=Array.from(new Set(t))).some(function(e){if(void 0!==r[e])return i=r[e],!0;}),null===i)throw Error("Can not find any unit type data for locale: "+e.locale);return i;}(r);return n.pluralize(r.locale,t,i[e]).replace("{0}",t);}(t,r,s)),u.length>=s.span)break;}return u.join(s.delimiter);}(t,s,l=Object.assign({},e,l||{}));}};},addLocale:r,defaultConfig:s};}),rg("glkzm",function(e,t){e.exports=rv("nCzGD");}),rg("jWCmm",function(e,t){e.exports=!!("undefined"!=typeof process&&process.versions&&process.versions.node);}),rg("kUWiH",function(e,t){function r(e,t,r){return!!(e.isSymbolicLink()||e.isFile())&&function(e,t){var r=void 0!==t.pathExt?t.pathExt:process.env.PATHEXT;if(!r||-1!==(r=r.split(";")).indexOf(""))return!0;for(var n=0;n{for(let[t,r]of f)e=e.split(`${t}*`).join(`${t}{0,${r}}`).split(`${t}+`).join(`${t}{1,${r}}`);return e;},m=(e,t,r)=>{let n=h(t),i=p++;s(e,i,t),c[e]=i,u[i]=t,a[i]=new RegExp(t,r?"g":void 0),l[i]=new RegExp(n,r?"g":void 0);};m("NUMERICIDENTIFIER","0|[1-9]\\d*"),m("NUMERICIDENTIFIERLOOSE","\\d+"),m("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${d}*`),m("MAINVERSION",`(${u[c.NUMERICIDENTIFIER]})\\.(${u[c.NUMERICIDENTIFIER]})\\.(${u[c.NUMERICIDENTIFIER]})`),m("MAINVERSIONLOOSE",`(${u[c.NUMERICIDENTIFIERLOOSE]})\\.(${u[c.NUMERICIDENTIFIERLOOSE]})\\.(${u[c.NUMERICIDENTIFIERLOOSE]})`),m("PRERELEASEIDENTIFIER",`(?:${u[c.NUMERICIDENTIFIER]}|${u[c.NONNUMERICIDENTIFIER]})`),m("PRERELEASEIDENTIFIERLOOSE",`(?:${u[c.NUMERICIDENTIFIERLOOSE]}|${u[c.NONNUMERICIDENTIFIER]})`),m("PRERELEASE",`(?:-(${u[c.PRERELEASEIDENTIFIER]}(?:\\.${u[c.PRERELEASEIDENTIFIER]})*))`),m("PRERELEASELOOSE",`(?:-?(${u[c.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${u[c.PRERELEASEIDENTIFIERLOOSE]})*))`),m("BUILDIDENTIFIER",`${d}+`),m("BUILD",`(?:\\+(${u[c.BUILDIDENTIFIER]}(?:\\.${u[c.BUILDIDENTIFIER]})*))`),m("FULLPLAIN",`v?${u[c.MAINVERSION]}${u[c.PRERELEASE]}?${u[c.BUILD]}?`),m("FULL",`^${u[c.FULLPLAIN]}$`),m("LOOSEPLAIN",`[v=\\s]*${u[c.MAINVERSIONLOOSE]}${u[c.PRERELEASELOOSE]}?${u[c.BUILD]}?`),m("LOOSE",`^${u[c.LOOSEPLAIN]}$`),m("GTLT","((?:<|>)?=?)"),m("XRANGEIDENTIFIERLOOSE",`${u[c.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),m("XRANGEIDENTIFIER",`${u[c.NUMERICIDENTIFIER]}|x|X|\\*`),m("XRANGEPLAIN",`[v=\\s]*(${u[c.XRANGEIDENTIFIER]})(?:\\.(${u[c.XRANGEIDENTIFIER]})(?:\\.(${u[c.XRANGEIDENTIFIER]})(?:${u[c.PRERELEASE]})?${u[c.BUILD]}?)?)?`),m("XRANGEPLAINLOOSE",`[v=\\s]*(${u[c.XRANGEIDENTIFIERLOOSE]})(?:\\.(${u[c.XRANGEIDENTIFIERLOOSE]})(?:\\.(${u[c.XRANGEIDENTIFIERLOOSE]})(?:${u[c.PRERELEASELOOSE]})?${u[c.BUILD]}?)?)?`),m("XRANGE",`^${u[c.GTLT]}\\s*${u[c.XRANGEPLAIN]}$`),m("XRANGELOOSE",`^${u[c.GTLT]}\\s*${u[c.XRANGEPLAINLOOSE]}$`),m("COERCE",`(^|[^\\d])(\\d{1,${n}})(?:\\.(\\d{1,${n}}))?(?:\\.(\\d{1,${n}}))?(?:$|[^\\d])`),m("COERCERTL",u[c.COERCE],!0),m("LONETILDE","(?:~>?)"),m("TILDETRIM",`(\\s*)${u[c.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",m("TILDE",`^${u[c.LONETILDE]}${u[c.XRANGEPLAIN]}$`),m("TILDELOOSE",`^${u[c.LONETILDE]}${u[c.XRANGEPLAINLOOSE]}$`),m("LONECARET","(?:\\^)"),m("CARETTRIM",`(\\s*)${u[c.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",m("CARET",`^${u[c.LONECARET]}${u[c.XRANGEPLAIN]}$`),m("CARETLOOSE",`^${u[c.LONECARET]}${u[c.XRANGEPLAINLOOSE]}$`),m("COMPARATORLOOSE",`^${u[c.GTLT]}\\s*(${u[c.LOOSEPLAIN]})$|^$`),m("COMPARATOR",`^${u[c.GTLT]}\\s*(${u[c.FULLPLAIN]})$|^$`),m("COMPARATORTRIM",`(\\s*)${u[c.GTLT]}\\s*(${u[c.LOOSEPLAIN]}|${u[c.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",m("HYPHENRANGE",`^\\s*(${u[c.XRANGEPLAIN]})\\s+-\\s+(${u[c.XRANGEPLAIN]})\\s*$`),m("HYPHENRANGELOOSE",`^\\s*(${u[c.XRANGEPLAINLOOSE]})\\s+-\\s+(${u[c.XRANGEPLAINLOOSE]})\\s*$`),m("STAR","(<|>)?=?\\s*\\*"),m("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),m("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$");}),rg("h0FDO",function(e,t){let r=Number.MAX_SAFE_INTEGER||9007199254740991;e.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_BUILD_LENGTH:250,MAX_SAFE_INTEGER:r,RELEASE_TYPES:["major","premajor","minor","preminor","patch","prepatch","prerelease"],SEMVER_SPEC_VERSION:"2.0.0",FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2};}),rg("iYRiQ",function(e,t){let r="object"==typeof process&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};e.exports=r;}),rg("9xt8b",function(e,t){var r=rv("iYRiQ"),n=rv("h0FDO"),i=n.MAX_LENGTH,o=n.MAX_SAFE_INTEGER,s=rv("jFuIJ"),a=s.safeRe,l=s.t,u=rv("fdyHv"),c=rv("kB8UR").compareIdentifiers;class p{constructor(e,t){if(t=u(t),e instanceof p){if(!!t.loose===e.loose&&!!t.includePrerelease===e.includePrerelease)return e;e=e.version;}else if("string"!=typeof e)throw TypeError(`Invalid version. Must be a string. Got type "${typeof e}".`);if(e.length>i)throw TypeError(`version is longer than ${i} characters`);r("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;let n=e.trim().match(t.loose?a[l.LOOSE]:a[l.FULL]);if(!n)throw TypeError("Invalid Version: "+e);if(this.raw=e,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>o||this.major<0)throw TypeError("Invalid major version");if(this.minor>o||this.minor<0)throw TypeError("Invalid minor version");if(this.patch>o||this.patch<0)throw TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map(e=>{if(/^[0-9]+$/.test(e)){let t=+e;if(t>=0&&t=0;)"number"==typeof this.prerelease[n]&&(this.prerelease[n]++,n=-2);if(-1===n){if(t===this.prerelease.join(".")&&!1===r)throw Error("invalid increment argument: identifier already exists");this.prerelease.push(e);}}if(t){let n=[t,e];!1===r&&(n=[t]),0===c(this.prerelease[0],t)?isNaN(this.prerelease[1])&&(this.prerelease=n):this.prerelease=n;}break;}default:throw Error("invalid increment argument: "+e);}return this.raw=this.format(),this.build.length&&(this.raw+="+"+this.build.join(".")),this;}}e.exports=p;}),rg("fdyHv",function(e,t){let r=Object.freeze({loose:!0}),n=Object.freeze({});e.exports=e=>e?"object"!=typeof e?r:e:n;}),rg("kB8UR",function(e,t){let r=(e,t)=>{let r=/^[0-9]+$/.test(e),n=/^[0-9]+$/.test(t);return r&&n&&(e=+e,t=+t),e===t?0:r&&!n?-1:n&&!r?1:t>e?-1:1;};e.exports={compareIdentifiers:r,rcompareIdentifiers:(e,t)=>r(t,e)};}),rg("f9eqA",function(e,t){var r=rv("9xt8b");e.exports=(e,t,n=!1)=>{if(e instanceof r)return e;try{return new r(e,t);}catch(e){if(!n)return null;throw e;}};}),rg("2P6Mr",function(e,t){var r=rv("f9eqA");e.exports=(e,t)=>{let n=r(e,t);return n?n.version:null;};}),rg("c1Zz2",function(e,t){var r=rv("f9eqA");e.exports=(e,t)=>{let n=r(e.trim().replace(/^[=v]+/,""),t);return n?n.version:null;};}),rg("7fHCw",function(e,t){var r=rv("9xt8b");e.exports=(e,t,n,i,o)=>{"string"==typeof n&&(o=i,i=n,n=void 0);try{return new r(e instanceof r?e.version:e,n).inc(t,i,o).version;}catch(e){return null;}};}),rg("cxLgj",function(e,t){var r=rv("f9eqA");e.exports=(e,t)=>{let n=r(e,null,!0),i=r(t,null,!0),o=n.compare(i);if(0===o)return null;let s=o>0,a=s?n:i,l=s?i:n,u=!!a.prerelease.length;if(l.prerelease.length&&!u)return l.patch||l.minor?a.patch?"patch":a.minor?"minor":"major":"major";let c=u?"pre":"";return n.major!==i.major?c+"major":n.minor!==i.minor?c+"minor":n.patch!==i.patch?c+"patch":"prerelease";};}),rg("5vY1y",function(e,t){var r=rv("9xt8b");e.exports=(e,t)=>new r(e,t).major;}),rg("i8KHz",function(e,t){var r=rv("9xt8b");e.exports=(e,t)=>new r(e,t).minor;}),rg("1ng3x",function(e,t){var r=rv("9xt8b");e.exports=(e,t)=>new r(e,t).patch;}),rg("5G2qo",function(e,t){var r=rv("f9eqA");e.exports=(e,t)=>{let n=r(e,t);return n&&n.prerelease.length?n.prerelease:null;};}),rg("lTlut",function(e,t){var r=rv("9xt8b");e.exports=(e,t,n)=>new r(e,n).compare(new r(t,n));}),rg("ljgZo",function(e,t){var r=rv("lTlut");e.exports=(e,t,n)=>r(t,e,n);}),rg("b3Lwg",function(e,t){var r=rv("lTlut");e.exports=(e,t)=>r(e,t,!0);}),rg("3IeBZ",function(e,t){var r=rv("9xt8b");e.exports=(e,t,n)=>{let i=new r(e,n),o=new r(t,n);return i.compare(o)||i.compareBuild(o);};}),rg("a0BIl",function(e,t){var r=rv("3IeBZ");e.exports=(e,t)=>e.sort((e,n)=>r(e,n,t));}),rg("3oiE6",function(e,t){var r=rv("3IeBZ");e.exports=(e,t)=>e.sort((e,n)=>r(n,e,t));}),rg("fnAFb",function(e,t){var r=rv("lTlut");e.exports=(e,t,n)=>r(e,t,n)>0;}),rg("l5VRF",function(e,t){var r=rv("lTlut");e.exports=(e,t,n)=>0>r(e,t,n);}),rg("iyupD",function(e,t){var r=rv("lTlut");e.exports=(e,t,n)=>0===r(e,t,n);}),rg("jpXGf",function(e,t){var r=rv("lTlut");e.exports=(e,t,n)=>0!==r(e,t,n);}),rg("j157J",function(e,t){var r=rv("lTlut");e.exports=(e,t,n)=>r(e,t,n)>=0;}),rg("dMdWX",function(e,t){var r=rv("lTlut");e.exports=(e,t,n)=>0>=r(e,t,n);}),rg("lLUnh",function(e,t){var r=rv("iyupD"),n=rv("jpXGf"),i=rv("fnAFb"),o=rv("j157J"),s=rv("l5VRF"),a=rv("dMdWX");e.exports=(e,t,l,u)=>{switch(t){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof l&&(l=l.version),e===l;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof l&&(l=l.version),e!==l;case"":case"=":case"==":return r(e,l,u);case"!=":return n(e,l,u);case">":return i(e,l,u);case">=":return o(e,l,u);case"<":return s(e,l,u);case"<=":return a(e,l,u);default:throw TypeError("Invalid operator: "+t);}};}),rg("e7Yt8",function(e,t){var r=rv("9xt8b"),n=rv("f9eqA"),i=rv("jFuIJ"),o=i.safeRe,s=i.t;e.exports=(e,t)=>{if(e instanceof r)return e;if("number"==typeof e&&(e+=""),"string"!=typeof e)return null;let i=null;if((t=t||{}).rtl){let t;for(;(t=o[s.COERCERTL].exec(e))&&(!i||i.index+i[0].length!==e.length);)i&&t.index+t[0].length===i.index+i[0].length||(i=t),o[s.COERCERTL].lastIndex=t.index+t[1].length+t[2].length;o[s.COERCERTL].lastIndex=-1;}else i=e.match(o[s.COERCE]);return null===i?null:n(`${i[2]}.${i[3]||"0"}.${i[4]||"0"}`,t);};}),rg("1SpzP",function(e,t){let r=Symbol();class n{static get ANY(){return r;}constructor(e,t){if(t=i(t),e instanceof n){if(!!t.loose===e.loose)return e;e=e.value;}u("comparator",e=e.trim().split(/\s+/).join(" "),t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===r?this.value="":this.value=this.operator+this.semver.version,u("comp",this);}parse(e){let t=this.options.loose?s[a.COMPARATORLOOSE]:s[a.COMPARATOR],n=e.match(t);if(!n)throw TypeError("Invalid comparator: "+e);this.operator=void 0!==n[1]?n[1]:"","="===this.operator&&(this.operator=""),n[2]?this.semver=new c(n[2],this.options.loose):this.semver=r;}toString(){return this.value;}test(e){if(u("Comparator.test",e,this.options.loose),this.semver===r||e===r)return!0;if("string"==typeof e)try{e=new c(e,this.options);}catch(e){return!1;}return l(e,this.operator,this.semver,this.options);}intersects(e,t){if(!(e instanceof n))throw TypeError("a Comparator is required");return""===this.operator?""===this.value||new p(e.value,t).test(this.value):""===e.operator?""===e.value||new p(this.value,t).test(e.semver):!((t=i(t)).includePrerelease&&("<0.0.0-0"===this.value||"<0.0.0-0"===e.value)||!t.includePrerelease&&(this.value.startsWith("<0.0.0")||e.value.startsWith("<0.0.0")))&&!!(this.operator.startsWith(">")&&e.operator.startsWith(">")||this.operator.startsWith("<")&&e.operator.startsWith("<")||this.semver.version===e.semver.version&&this.operator.includes("=")&&e.operator.includes("=")||l(this.semver,"<",e.semver,t)&&this.operator.startsWith(">")&&e.operator.startsWith("<")||l(this.semver,">",e.semver,t)&&this.operator.startsWith("<")&&e.operator.startsWith(">"));}}e.exports=n;var i=rv("fdyHv"),o=rv("jFuIJ"),s=o.safeRe,a=o.t,l=rv("lLUnh"),u=rv("iYRiQ"),c=rv("9xt8b"),p=rv("f3aPP");}),rg("f3aPP",function(e,t){class r{constructor(e,t){if(t=i(t),e instanceof r){if(!!t.loose===e.loose&&!!t.includePrerelease===e.includePrerelease)return e;return new r(e.raw,t);}if(e instanceof o)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.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map(e=>this.parseRange(e.trim())).filter(e=>e.length),!this.set.length)throw TypeError("Invalid SemVer Range: "+this.raw);if(this.set.length>1){let e=this.set[0];if(this.set=this.set.filter(e=>!g(e[0])),0===this.set.length)this.set=[e];else if(this.set.length>1){for(let e of this.set)if(1===e.length&&E(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){let t=((this.options.includePrerelease&&m)|(this.options.loose&&v))+":"+e,r=n.get(t);if(r)return r;let i=this.options.loose,a=i?u[c.HYPHENRANGELOOSE]:u[c.HYPHENRANGE];s("hyphen replace",e=e.replace(a,A(this.options.includePrerelease))),s("comparator trim",e=e.replace(u[c.COMPARATORTRIM],p)),s("tilde trim",e=e.replace(u[c.TILDETRIM],d)),s("caret trim",e=e.replace(u[c.CARETTRIM],f));let l=e.split(" ").map(e=>w(e,this.options)).join(" ").split(/\s+/).map(e=>$(e,this.options));i&&(l=l.filter(e=>(s("loose invalid filter",e,this.options),!!e.match(u[c.COMPARATORLOOSE])))),s("range list",l);let h=new Map();for(let e of l.map(e=>new o(e,this.options))){if(g(e))return[e];h.set(e.value,e);}h.size>1&&h.has("")&&h.delete("");let E=[...h.values()];return n.set(t,E),E;}intersects(e,t){if(!(e instanceof r))throw TypeError("a Range is required");return this.set.some(r=>y(r,t)&&e.set.some(e=>y(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;t"<0.0.0-0"===e.value,E=e=>""===e.value,y=(e,t)=>{let r=!0,n=e.slice(),i=n.pop();for(;r&&n.length;)r=n.every(e=>i.intersects(e,t)),i=n.pop();return r;},w=(e,t)=>(s("comp",e,t),s("caret",e=I(e,t)),s("tildes",e=b(e,t)),s("xrange",e=S(e,t)),s("stars",e=C(e,t)),e),x=e=>!e||"x"===e.toLowerCase()||"*"===e,b=(e,t)=>e.trim().split(/\s+/).map(e=>R(e,t)).join(" "),R=(e,t)=>{let r=t.loose?u[c.TILDELOOSE]:u[c.TILDE];return e.replace(r,(t,r,n,i,o)=>{let a;return s("tilde",e,t,r,n,i,o),x(r)?a="":x(n)?a=`>=${r}.0.0 <${+r+1}.0.0-0`:x(i)?a=`>=${r}.${n}.0 <${r}.${+n+1}.0-0`:o?(s("replaceTilde pr",o),a=`>=${r}.${n}.${i}-${o} <${r}.${+n+1}.0-0`):a=`>=${r}.${n}.${i} <${r}.${+n+1}.0-0`,s("tilde return",a),a;});},I=(e,t)=>e.trim().split(/\s+/).map(e=>O(e,t)).join(" "),O=(e,t)=>{s("caret",e,t);let r=t.loose?u[c.CARETLOOSE]:u[c.CARET],n=t.includePrerelease?"-0":"";return e.replace(r,(t,r,i,o,a)=>{let l;return s("caret",e,t,r,i,o,a),x(r)?l="":x(i)?l=`>=${r}.0.0${n} <${+r+1}.0.0-0`:x(o)?l="0"===r?`>=${r}.${i}.0${n} <${r}.${+i+1}.0-0`:`>=${r}.${i}.0${n} <${+r+1}.0.0-0`:a?(s("replaceCaret pr",a),l="0"===r?"0"===i?`>=${r}.${i}.${o}-${a} <${r}.${i}.${+o+1}-0`:`>=${r}.${i}.${o}-${a} <${r}.${+i+1}.0-0`:`>=${r}.${i}.${o}-${a} <${+r+1}.0.0-0`):(s("no pr"),l="0"===r?"0"===i?`>=${r}.${i}.${o}${n} <${r}.${i}.${+o+1}-0`:`>=${r}.${i}.${o}${n} <${r}.${+i+1}.0-0`:`>=${r}.${i}.${o} <${+r+1}.0.0-0`),s("caret return",l),l;});},S=(e,t)=>(s("replaceXRanges",e,t),e.split(/\s+/).map(e=>T(e,t)).join(" ")),T=(e,t)=>{e=e.trim();let r=t.loose?u[c.XRANGELOOSE]:u[c.XRANGE];return e.replace(r,(r,n,i,o,a,l)=>{s("xRange",e,r,n,i,o,a,l);let u=x(i),c=u||x(o),p=c||x(a);return"="===n&&p&&(n=""),l=t.includePrerelease?"-0":"",u?r=">"===n||"<"===n?"<0.0.0-0":"*":n&&p?(c&&(o=0),a=0,">"===n?(n=">=",c?(i=+i+1,o=0):o=+o+1,a=0):"<="===n&&(n="<",c?i=+i+1:o=+o+1),"<"===n&&(l="-0"),r=`${n+i}.${o}.${a}${l}`):c?r=`>=${i}.0.0${l} <${+i+1}.0.0-0`:p&&(r=`>=${i}.${o}.0${l} <${i}.${+o+1}.0-0`),s("xRange return",r),r;});},C=(e,t)=>(s("replaceStars",e,t),e.trim().replace(u[c.STAR],"")),$=(e,t)=>(s("replaceGTE0",e,t),e.trim().replace(u[t.includePrerelease?c.GTE0PRE:c.GTE0],"")),A=e=>(t,r,n,i,o,s,a,l,u,c,p,d,f)=>(r=x(n)?"":x(i)?`>=${n}.0.0${e?"-0":""}`:x(o)?`>=${n}.${i}.0${e?"-0":""}`:s?">="+r:`>=${r}${e?"-0":""}`,l=x(u)?"":x(c)?`<${+u+1}.0.0-0`:x(p)?`<${u}.${+c+1}.0-0`:d?`<=${u}.${c}.${p}-${d}`:e?`<${u}.${c}.${+p+1}-0`:"<="+l,`${r} ${l}`.trim()),_=(e,t,r)=>{for(let r=0;r0){let n=e[r].semver;if(n.major===t.major&&n.minor===t.minor&&n.patch===t.patch)return!0;}return!1;}return!0;};}),rg("kGtOU",function(e,t){var r=rv("ezUiL");let n=Symbol(),i=Symbol(),o=Symbol(),s=Symbol(),a=Symbol(),l=Symbol(),u=Symbol(),c=Symbol(),p=Symbol(),d=Symbol(),f=()=>1,h=(e,t,r)=>{let n=e[p].get(t);if(n){let t=n.value;if(m(e,t)){if(g(e,n),!e[s])return;}else r&&(e[d]&&(n.value.now=Date.now()),e[c].unshiftNode(n));return t.value;}},m=(e,t)=>{if(!t||!t.maxAge&&!e[a])return!1;let r=Date.now()-t.now;return t.maxAge?r>t.maxAge:e[a]&&r>e[a];},v=e=>{if(e[i]>e[n])for(let t=e[c].tail;e[i]>e[n]&&null!==t;){let r=t.prev;g(e,t),t=r;}},g=(e,t)=>{if(t){let r=t.value;e[l]&&e[l](r.key,r.value),e[i]-=r.length,e[p].delete(r.key),e[c].removeNode(t);}};class E{constructor(e,t,r,n,i){this.key=e,this.value=t,this.length=r,this.now=n,this.maxAge=i||0;}}let y=(e,t,r,n)=>{let i=r.value;m(e,i)&&(g(e,r),e[s]||(i=void 0)),i&&t.call(n,i.value,i.key,e);};e.exports=class{constructor(e){if("number"==typeof e&&(e={max:e}),e||(e={}),e.max&&("number"!=typeof e.max||e.max<0))throw TypeError("max must be a non-negative number");this[n]=e.max||1/0;let t=e.length||f;if(this[o]="function"!=typeof t?f:t,this[s]=e.stale||!1,e.maxAge&&"number"!=typeof e.maxAge)throw TypeError("maxAge must be a number");this[a]=e.maxAge||0,this[l]=e.dispose,this[u]=e.noDisposeOnSet||!1,this[d]=e.updateAgeOnGet||!1,this.reset();}set max(e){if("number"!=typeof e||e<0)throw TypeError("max must be a non-negative number");this[n]=e||1/0,v(this);}get max(){return this[n];}set allowStale(e){this[s]=!!e;}get allowStale(){return this[s];}set maxAge(e){if("number"!=typeof e)throw TypeError("maxAge must be a non-negative number");this[a]=e,v(this);}get maxAge(){return this[a];}set lengthCalculator(e){"function"!=typeof e&&(e=f),e!==this[o]&&(this[o]=e,this[i]=0,this[c].forEach(e=>{e.length=this[o](e.value,e.key),this[i]+=e.length;})),v(this);}get lengthCalculator(){return this[o];}get length(){return this[i];}get itemCount(){return this[c].length;}rforEach(e,t){t=t||this;for(let r=this[c].tail;null!==r;){let n=r.prev;y(this,e,r,t),r=n;}}forEach(e,t){t=t||this;for(let r=this[c].head;null!==r;){let n=r.next;y(this,e,r,t),r=n;}}keys(){return this[c].toArray().map(e=>e.key);}values(){return this[c].toArray().map(e=>e.value);}reset(){this[l]&&this[c]&&this[c].length&&this[c].forEach(e=>this[l](e.key,e.value)),this[p]=new Map(),this[c]=new r(),this[i]=0;}dump(){return this[c].map(e=>!m(this,e)&&{k:e.key,v:e.value,e:e.now+(e.maxAge||0)}).toArray().filter(e=>e);}dumpLru(){return this[c];}set(e,t,r){if((r=r||this[a])&&"number"!=typeof r)throw TypeError("maxAge must be a number");let s=r?Date.now():0,d=this[o](t,e);if(this[p].has(e)){if(d>this[n])return g(this,this[p].get(e)),!1;let o=this[p].get(e).value;return this[l]&&!this[u]&&this[l](e,o.value),o.now=s,o.maxAge=r,o.value=t,this[i]+=d-o.length,o.length=d,this.get(e),v(this),!0;}let f=new E(e,t,d,s,r);return f.length>this[n]?(this[l]&&this[l](e,t),!1):(this[i]+=f.length,this[c].unshift(f),this[p].set(e,this[c].head),v(this),!0);}has(e){return!!this[p].has(e)&&!m(this,this[p].get(e).value);}get(e){return h(this,e,!0);}peek(e){return h(this,e,!1);}pop(){let e=this[c].tail;return e?(g(this,e),e.value):null;}del(e){g(this,this[p].get(e));}load(e){this.reset();let t=Date.now();for(let r=e.length-1;r>=0;r--){let n=e[r],i=n.e||0;if(0===i)this.set(n.k,n.v);else{let e=i-t;e>0&&this.set(n.k,n.v,e);}}}prune(){this[p].forEach((e,t)=>h(this,t,!1));}};}),rg("ezUiL",function(e,t){function r(e){var t=this;if(t instanceof r||(t=new r()),t.tail=null,t.head=null,t.length=0,e&&"function"==typeof e.forEach)e.forEach(function(e){t.push(e);});else if(arguments.length>0)for(var n=0,i=arguments.length;i>n;n++)t.push(arguments[n]);return t;}function n(e,t,r,i){if(!(this instanceof n))return new n(e,t,r,i);this.list=i,this.value=e,t?(t.next=this,this.prev=t):this.prev=null,r?(r.prev=this,this.next=r):this.next=null;}e.exports=r,r.Node=n,r.create=r,r.prototype.removeNode=function(e){if(e.list!==this)throw Error("removing node which does not belong to this list");var t=e.next,r=e.prev;return t&&(t.prev=r),r&&(r.next=t),e===this.head&&(this.head=t),e===this.tail&&(this.tail=r),e.list.length--,e.next=null,e.prev=null,e.list=null,t;},r.prototype.unshiftNode=function(e){if(e!==this.head){e.list&&e.list.removeNode(e);var t=this.head;e.list=this,e.next=t,t&&(t.prev=e),this.head=e,this.tail||(this.tail=e),this.length++;}},r.prototype.pushNode=function(e){if(e!==this.tail){e.list&&e.list.removeNode(e);var t=this.tail;e.list=this,e.prev=t,t&&(t.next=e),this.tail=e,this.head||(this.head=e),this.length++;}},r.prototype.push=function(){for(var e,t=0,r=arguments.length;r>t;t++)e=arguments[t],this.tail=new n(e,this.tail,null,this),this.head||(this.head=this.tail),this.length++;return this.length;},r.prototype.unshift=function(){for(var e,t=0,r=arguments.length;r>t;t++)e=arguments[t],this.head=new n(e,null,this.head,this),this.tail||(this.tail=this.head),this.length++;return this.length;},r.prototype.pop=function(){if(this.tail){var e=this.tail.value;return this.tail=this.tail.prev,this.tail?this.tail.next=null:this.head=null,this.length--,e;}},r.prototype.shift=function(){if(this.head){var e=this.head.value;return this.head=this.head.next,this.head?this.head.prev=null:this.tail=null,this.length--,e;}},r.prototype.forEach=function(e,t){t=t||this;for(var r=this.head,n=0;null!==r;n++)e.call(t,r.value,n,this),r=r.next;},r.prototype.forEachReverse=function(e,t){t=t||this;for(var r=this.tail,n=this.length-1;null!==r;n--)e.call(t,r.value,n,this),r=r.prev;},r.prototype.get=function(e){for(var t=0,r=this.head;null!==r&&e>t;t++)r=r.next;if(t===e&&null!==r)return r.value;},r.prototype.getReverse=function(e){for(var t=0,r=this.tail;null!==r&&e>t;t++)r=r.prev;if(t===e&&null!==r)return r.value;},r.prototype.map=function(e,t){t=t||this;for(var n=new r(),i=this.head;null!==i;)n.push(e.call(t,i.value,this)),i=i.next;return n;},r.prototype.mapReverse=function(e,t){t=t||this;for(var n=new r(),i=this.tail;null!==i;)n.push(e.call(t,i.value,this)),i=i.prev;return n;},r.prototype.reduce=function(e,t){var r,n=this.head;if(arguments.length>1)r=t;else if(this.head)n=this.head.next,r=this.head.value;else throw TypeError("Reduce of empty list with no initial value");for(var i=0;null!==n;i++)r=e(r,n.value,i),n=n.next;return r;},r.prototype.reduceReverse=function(e,t){var r,n=this.tail;if(arguments.length>1)r=t;else if(this.tail)n=this.tail.prev,r=this.tail.value;else throw TypeError("Reduce of empty list with no initial value");for(var i=this.length-1;null!==n;i--)r=e(r,n.value,i),n=n.prev;return r;},r.prototype.toArray=function(){for(var e=Array(this.length),t=0,r=this.head;null!==r;t++)e[t]=r.value,r=r.next;return e;},r.prototype.toArrayReverse=function(){for(var e=Array(this.length),t=0,r=this.tail;null!==r;t++)e[t]=r.value,r=r.prev;return e;},r.prototype.slice=function(e,t){(t=t||this.length)<0&&(t+=this.length),(e=e||0)<0&&(e+=this.length);var n=new r();if(tthis.length&&(t=this.length);for(var i=0,o=this.head;null!==o&&ii;i++,o=o.next)n.push(o.value);return n;},r.prototype.sliceReverse=function(e,t){(t=t||this.length)<0&&(t+=this.length),(e=e||0)<0&&(e+=this.length);var n=new r();if(tthis.length&&(t=this.length);for(var i=this.length,o=this.tail;null!==o&&i>t;i--)o=o.prev;for(;null!==o&&i>e;i--,o=o.prev)n.push(o.value);return n;},r.prototype.splice=function(e,t,...r){e>this.length&&(e=this.length-1),e<0&&(e=this.length+e);for(var i=0,o=this.head;null!==o&&e>i;i++)o=o.next;for(var s=[],i=0;o&&i{try{t=new r(t,n);}catch(e){return!1;}return t.test(e);};}),rg("b3OLy",function(e,t){var r=rv("f3aPP");e.exports=(e,t)=>new r(e,t).set.map(e=>e.map(e=>e.value).join(" ").trim().split(" "));}),rg("drXzZ",function(e,t){var r=rv("9xt8b"),n=rv("f3aPP");e.exports=(e,t,i)=>{let o=null,s=null,a=null;try{a=new n(t,i);}catch(e){return null;}return e.forEach(e=>{a.test(e)&&(!o||-1===s.compare(e))&&(s=new r(o=e,i));}),o;};}),rg("gs3vr",function(e,t){var r=rv("9xt8b"),n=rv("f3aPP");e.exports=(e,t,i)=>{let o=null,s=null,a=null;try{a=new n(t,i);}catch(e){return null;}return e.forEach(e=>{a.test(e)&&(!o||1===s.compare(e))&&(s=new r(o=e,i));}),o;};}),rg("X9vdQ",function(e,t){var r=rv("9xt8b"),n=rv("f3aPP"),i=rv("fnAFb");e.exports=(e,t)=>{e=new n(e,t);let o=new r("0.0.0");if(e.test(o)||(o=new r("0.0.0-0"),e.test(o)))return o;o=null;for(let t=0;t{let 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">=":(!s||i(t,s))&&(s=t);break;case"<":case"<=":break;default:throw Error("Unexpected operation: "+e.operator);}}),s&&(!o||i(o,s))&&(o=s);}return o&&e.test(o)?o:null;};}),rg("fsTYi",function(e,t){var r=rv("f3aPP");e.exports=(e,t)=>{try{return new r(e,t).range||"*";}catch(e){return null;}};}),rg("g9Ul8",function(e,t){var r=rv("9xt8b"),n=rv("1SpzP");let{ANY:i}=n;var o=rv("f3aPP"),s=rv("khJSG"),a=rv("fnAFb"),l=rv("l5VRF"),u=rv("dMdWX"),c=rv("j157J");e.exports=(e,t,p,d)=>{let f,h,m,v,g;switch(e=new r(e,d),t=new o(t,d),p){case">":f=a,h=u,m=l,v=">",g=">=";break;case"<":f=l,h=c,m=a,v="<",g="<=";break;default:throw TypeError('Must provide a hilo val of "<" or ">"');}if(s(e,t,d))return!1;for(let r=0;r{e.semver===i&&(e=new n(">=0.0.0")),s=s||e,a=a||e,f(e.semver,s.semver,d)?s=e:m(e.semver,a.semver,d)&&(a=e);}),s.operator===v||s.operator===g||(!a.operator||a.operator===v)&&h(e,a.semver)||a.operator===g&&m(e,a.semver))return!1;}return!0;};}),rg("8n8H2",function(e,t){var r=rv("g9Ul8");e.exports=(e,t,n)=>r(e,t,">",n);}),rg("2Xx21",function(e,t){var r=rv("g9Ul8");e.exports=(e,t,n)=>r(e,t,"<",n);}),rg("kWuuM",function(e,t){var r=rv("f3aPP");e.exports=(e,t,n)=>(e=new r(e,n),t=new r(t,n),e.intersects(t,n));}),rg("7zMty",function(e,t){var r=rv("khJSG"),n=rv("lTlut");e.exports=(e,t,i)=>{let o=[],s=null,a=null,l=e.sort((e,t)=>n(e,t,i));for(let e of l)r(e,t,i)?(a=e,s||(s=e)):(a&&o.push([s,a]),a=null,s=null);s&&o.push([s,null]);let u=[];for(let[e,t]of o)e===t?u.push(e):t||e!==l[0]?t?e===l[0]?u.push("<="+t):u.push(`${e} - ${t}`):u.push(">="+e):u.push("*");let c=u.join(" || "),p="string"==typeof t.raw?t.raw:t+"";return c.length=0.0.0-0")],l=[new n(">=0.0.0")],u=(e,t,r)=>{let n,u,d,f,h,m,v;if(e===t)return!0;if(1===e.length&&e[0].semver===i){if(1===t.length&&t[0].semver===i)return!0;e=r.includePrerelease?a:l;}if(1===t.length&&t[0].semver===i){if(r.includePrerelease)return!0;t=l;}let g=new Set();for(let t of e)">"===t.operator||">="===t.operator?n=c(n,t,r):"<"===t.operator||"<="===t.operator?u=p(u,t,r):g.add(t.semver);if(g.size>1||n&&u&&((d=s(n.semver,u.semver,r))>0||0===d&&(">="!==n.operator||"<="!==u.operator)))return null;for(let e of g){if(n&&!o(e,n+"",r)||u&&!o(e,u+"",r))return null;for(let n of t)if(!o(e,n+"",r))return!1;return!0;}let E=!!u&&!r.includePrerelease&&!!u.semver.prerelease.length&&u.semver,y=!!n&&!r.includePrerelease&&!!n.semver.prerelease.length&&n.semver;for(let e of(E&&1===E.prerelease.length&&"<"===u.operator&&0===E.prerelease[0]&&(E=!1),t)){if(v=v||">"===e.operator||">="===e.operator,m=m||"<"===e.operator||"<="===e.operator,n){if(y&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===y.major&&e.semver.minor===y.minor&&e.semver.patch===y.patch&&(y=!1),">"===e.operator||">="===e.operator){if((f=c(n,e,r))===e&&f!==n)return!1;}else if(">="===n.operator&&!o(n.semver,e+"",r))return!1;}if(u){if(E&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===E.major&&e.semver.minor===E.minor&&e.semver.patch===E.patch&&(E=!1),"<"===e.operator||"<="===e.operator){if((h=p(u,e,r))===e&&h!==u)return!1;}else if("<="===u.operator&&!o(u.semver,e+"",r))return!1;}if(!e.operator&&(u||n)&&0!==d)return!1;}return(!n||!m||!!u||0===d)&&(!u||!v||!!n||0===d)&&!y&&!E;},c=(e,t,r)=>{if(!e)return t;let n=s(e.semver,t.semver,r);return n>0?e:n<0?t:">"===t.operator&&">="===e.operator?t:e;},p=(e,t,r)=>{if(!e)return t;let n=s(e.semver,t.semver,r);return n<0?e:n>0?t:"<"===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 i=!1;e:for(let r of e.set){for(let e of t.set){let t=u(r,e,n);if(i=i||null!==t,t)continue e;}if(i)return!1;}return!0;};}),rg("kOEfP",function(e,t){e.exports=function(e){if("string"!=typeof e)throw TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&");};}),rg("6MdIz",function(e,t){async function r(e){try{return await(0,t5.promises).access(e),!0;}catch{return!1;}}l(e.exports,"pathExists",()=>r);}),rg("bLa2q",function(e,t){var r,n,i,o,s,a,c,p,d,f,h,m,v;function g(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 E(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0});}function y(e,t=!0){return t?(0,nX.basename)(e):(0,nX.basename)(e,(0,nX.extname)(e));}function w(e){return(0,nX.normalize)(e).replace(RegExp((0,r.default)(nX.sep)+"$"),"");}function x(e,t=".exe",r=""){return"win32"===process.platform?`${e}${t}`:`${e}${r}`;}function b(e,t){let r=(0,nX.extname)(e),n=`${t}${(0,nX.basename)(e,r)}${r}`;return(0,nX.join)((0,nX.dirname)(e),n);}function R(e,t){let r=(0,nX.extname)(e),n=`${(0,nX.basename)(e,r)}${t}${r}`;return(0,nX.join)((0,nX.dirname)(e),n);}function I(e,t=".cmd",r=".sh"){return"win32"===process.platform?`${e}${t}`:`${e}${r}`;}function O(e){return"win32"===process.platform?e:"./"+e;}function S(e){let t=(0,nX.extname)(e).length;return e.slice(0,-t);}function T(e,t){return u(n)(e,t);}function C(e,t){let r=(0,nX.relative)(t,e);return!(!r||".."===r||r.startsWith(".."+nX.sep)||r===(0,nX.resolve)(e));}l(e.exports,"addExeExt",()=>x),l(e.exports,"addShExt",()=>I),l(e.exports,"addShRelativePrefix",()=>O),l(e.exports,"dirname",()=>nX.dirname),l(e.exports,"join",()=>nX.join),r=rv("lt3fY"),n=rv("epNWu"),i={},E(o={},"name",()=>y),E(s={},"normalizeTrim",()=>w),E(a={},"addExeExt",()=>x),E(c={},"addNamePrefix",()=>b),E(p={},"addNameSuffix",()=>R),E(d={},"addShExt",()=>I),E(f={},"addShRelativePrefix",()=>O),E(h={},"removeExt",()=>S),E(m={},"replaceExt",()=>T),E(v={},"isPathInside",()=>C),g(i,o),g(i,s),g(i,a),g(i,c),g(i,p),g(i,d),g(i,f),g(i,h),g(i,m),g(i,v);}),rg("lt3fY",function(e,t){function r(e){if("string"!=typeof e)throw TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d");}l(e.exports,"default",()=>r);}),rg("epNWu",function(e,t){e.exports=function(e,t){if("string"!=typeof e||0===e.length)return e;var r,n=nX.basename(e,nX.extname(e))+t,i=nX.join(nX.dirname(e),n);return(r=e.slice(0,2))==="."+nX.sep||"./"===r?"."+nX.sep+i:i;};}),rg("alxPC",function(e,t){var r,n,i,o;function s(e){return o(this,void 0,void 0,function*(){if(p.IS_WINDOWS&&/[*"<>|]/.test(e))throw Error('File path must not contain `*`, `"`, `<`, `>` or `|` on Windows');try{yield p.rm(e,{force:!0,maxRetries:3,recursive:!0,retryDelay:300});}catch(e){throw Error("File was unable to be removed "+e);}});}function a(e){return o(this,void 0,void 0,function*(){t6.ok(e,"a path argument must be provided"),yield p.mkdir(e,{recursive:!0});});}function l(e){return o(this,void 0,void 0,function*(){if(!e)throw Error("parameter 'tool' is required");let t=[];if(p.IS_WINDOWS&&process.env.PATHEXT)for(let e of process.env.PATHEXT.split(c.delimiter))e&&t.push(e);if(p.isRooted(e)){let r=yield p.tryGetExecutablePath(e,t);return r?[r]:[];}if(e.includes(c.sep))return[];let r=[];if(process.env.PATH)for(let e of process.env.PATH.split(c.delimiter))e&&r.push(e);let n=[];for(let i of r){let r=yield p.tryGetExecutablePath(c.join(i,e),t);r&&n.push(r);}return n;});}function u(e,t,r){return o(this,void 0,void 0,function*(){if((yield p.lstat(e)).isSymbolicLink()){try{yield p.lstat(t),yield p.unlink(t);}catch(e){"EPERM"===e.code&&(yield p.chmod(t,"0666"),yield p.unlink(t));}let r=yield p.readlink(e);yield p.symlink(r,t,p.IS_WINDOWS?"junction":null);}else(!(yield p.exists(t))||r)&&(yield p.copyFile(e,t));});}r=e.exports&&e.exports.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r];}});}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r];}),n=e.exports&&e.exports.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),i=e.exports&&e.exports.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&r(t,e,i);return n(t,e),t;},o=e.exports&&e.exports.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e));}catch(e){o(e);}}function a(e){try{l(n.throw(e));}catch(e){o(e);}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t);})).then(s,a);}l((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;let c=i(nX),p=i(rv("hL0ST"));e.exports.cp=function(e,t,r={}){return o(this,void 0,void 0,function*(){let{force:n,recursive:i,copySourceDirectory:s}=function(e){let t=null==e.force||e.force;return{force:t,recursive:!!e.recursive,copySourceDirectory:null==e.copySourceDirectory||!!e.copySourceDirectory};}(r),l=(yield p.exists(t))?yield p.stat(t):null;if(l&&l.isFile()&&!n)return;let d=l&&l.isDirectory()&&s?c.join(t,c.basename(e)):t;if(!(yield p.exists(e)))throw Error("no such file or directory: "+e);if((yield p.stat(e)).isDirectory()){if(i)yield function e(t,r,n,i){return o(this,void 0,void 0,function*(){if(!(n>=255)){for(let o of(n++,yield a(r),yield p.readdir(t))){let s=`${t}/${o}`,a=`${r}/${o}`;(yield p.lstat(s)).isDirectory()?yield e(s,a,n,i):yield u(s,a,i);}yield p.chmod(r,(yield p.stat(t)).mode);}});}(e,d,0,n);else throw Error(`Failed to copy. ${e} is a directory, but tried to copy without recursive flag.`);}else{if(""===c.relative(e,d))throw Error(`'${d}' and '${e}' are the same file`);yield u(e,d,n);}});},e.exports.mv=function(e,t,r={}){return o(this,void 0,void 0,function*(){if(yield p.exists(t)){let n=!0;if((yield p.isDirectory(t))&&(t=c.join(t,c.basename(e)),n=yield p.exists(t)),n){if(null==r.force||r.force)yield s(t);else throw Error("Destination already exists");}}yield a(c.dirname(t)),yield p.rename(e,t);});},e.exports.rmRF=s,e.exports.mkdirP=a,e.exports.which=function e(t,r){return o(this,void 0,void 0,function*(){if(!t)throw Error("parameter 'tool' is required");if(r){let r=yield e(t,!1);if(!r){if(p.IS_WINDOWS)throw Error(`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.`);throw Error(`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;}let n=yield l(t);return n&&n.length>0?n[0]:"";});},e.exports.findInPath=l;}),rg("hL0ST",function(e,t){var r,n,i,o,s;function a(e){return(1&e.mode)>0||(8&e.mode)>0&&e.gid===process.getgid()||(64&e.mode)>0&&e.uid===process.getuid();}r=e.exports&&e.exports.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r];}});}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r];}),n=e.exports&&e.exports.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),i=e.exports&&e.exports.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&r(t,e,i);return n(t,e),t;},o=e.exports&&e.exports.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e));}catch(e){o(e);}}function a(e){try{l(n.throw(e));}catch(e){o(e);}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t);})).then(s,a);}l((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.READONLY=e.exports.UV_FS_O_EXLOCK=e.exports.IS_WINDOWS=e.exports.unlink=e.exports.symlink=e.exports.stat=e.exports.rmdir=e.exports.rm=e.exports.rename=e.exports.readlink=e.exports.readdir=e.exports.open=e.exports.mkdir=e.exports.lstat=e.exports.copyFile=e.exports.chmod=void 0;let l=i(nW),u=i(nX);s=l.promises,e.exports.chmod=s.chmod,e.exports.copyFile=s.copyFile,e.exports.lstat=s.lstat,e.exports.mkdir=s.mkdir,e.exports.open=s.open,e.exports.readdir=s.readdir,e.exports.readlink=s.readlink,e.exports.rename=s.rename,e.exports.rm=s.rm,e.exports.rmdir=s.rmdir,e.exports.stat=s.stat,e.exports.symlink=s.symlink,e.exports.unlink=s.unlink,e.exports.IS_WINDOWS="win32"===process.platform,e.exports.UV_FS_O_EXLOCK=268435456,e.exports.READONLY=l.constants.O_RDONLY,e.exports.exists=function(t){return o(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 o(this,void 0,void 0,function*(){return(r?yield e.exports.stat(t):yield e.exports.lstat(t)).isDirectory();});},e.exports.isRooted=function(t){var r;if(r=(r=t)||"",!(t=e.exports.IS_WINDOWS?(r=r.replace(/\//g,"\\")).replace(/\\\\+/g,"\\"):r.replace(/\/\/+/g,"/")))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,r){return o(this,void 0,void 0,function*(){let n;try{n=yield e.exports.stat(t);}catch(e){"ENOENT"!==e.code&&console.log(`Unexpected error attempting to determine if executable file exists '${t}': ${e}`);}if(n&&n.isFile()){if(e.exports.IS_WINDOWS){let e=u.extname(t).toUpperCase();if(r.some(t=>t.toUpperCase()===e))return t;}else if(a(n))return t;}let i=t;for(let o of r){t=i+o,n=void 0;try{n=yield e.exports.stat(t);}catch(e){"ENOENT"!==e.code&&console.log(`Unexpected error attempting to determine if executable file exists '${t}': ${e}`);}if(n&&n.isFile()){if(e.exports.IS_WINDOWS){try{let r=u.dirname(t),n=u.basename(t).toUpperCase();for(let i of yield e.exports.readdir(r))if(n===i.toUpperCase()){t=u.join(r,i);break;}}catch(e){console.log(`Unexpected error attempting to determine the actual case of the file '${t}': ${e}`);}return t;}if(a(n))return t;}}return"";});},e.exports.getCmdPath=function(){var e;return null!==(e=process.env.COMSPEC)&&void 0!==e?e:"cmd.exe";};}),rg("hNLZB",function(e,t){var r,n,i,o,s;r=e.exports&&e.exports.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r];}});}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r];}),n=e.exports&&e.exports.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),i=e.exports&&e.exports.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&r(t,e,i);return n(t,e),t;},o=e.exports&&e.exports.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e));}catch(e){o(e);}}function a(e){try{l(n.throw(e));}catch(e){o(e);}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t);})).then(s,a);}l((n=n.apply(e,t||[])).next());});},Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports._readLinuxVersionFile=e.exports._getOsVersion=e.exports._findMatch=void 0;let a=i(rv("7t9v9"));s=rv("kDRhL"),e.exports._findMatch=function(t,r,n,i){return o(this,void 0,void 0,function*(){let o,l,u;let c=nV.platform();for(let o of n){let n=o.version;if(s.debug(`check ${n} satisfies ${t}`),a.satisfies(n,t)&&(!r||o.stable===r)&&(u=o.files.find(t=>{s.debug(`${t.arch}===${i} && ${t.platform}===${c}`);let r=t.arch===i&&t.platform===c;if(r&&t.platform_version){let n=e.exports._getOsVersion();r=n===t.platform_version||a.satisfies(n,t.platform_version);}return r;}))){s.debug("matched "+o.version),l=o;break;}}return l&&u&&((o=Object.assign({},l)).files=[u]),o;});},e.exports._getOsVersion=function(){let t=nV.platform(),r="";if("darwin"===t)r=t7.execSync("sw_vers -productVersion").toString();else if("linux"===t){let t=e.exports._readLinuxVersionFile();if(t)for(let e of t.split("\n")){let t=e.split("=");if(2===t.length&&("VERSION_ID"===t[0].trim()||"DISTRIB_RELEASE"===t[0].trim())){r=t[1].trim().replace(/^"/,"").replace(/"$/,"");break;}}}return r;},e.exports._readLinuxVersionFile=function(){let e="/etc/lsb-release",t="/etc/os-release",r="";return nW.existsSync(e)?r=nW.readFileSync(e).toString():nW.existsSync(t)&&(r=nW.readFileSync(t).toString()),r;};}),rg("7t9v9",function(e,t){function r(e){$[e]=A++;}function n(e){for(var t=0;tR||!(t.loose?T[$.LOOSE]:T[$.FULL]).test(e))return null;try{return new o(e,t);}catch(e){return null;}}function o(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof o){if(e.loose===t.loose)return e;e=e.version;}else if("string"!=typeof e)throw TypeError("Invalid Version: "+e);if(e.length>R)throw TypeError("version is longer than "+R+" characters");if(!(this instanceof o))return new o(e,t);b("SemVer",e,t),this.options=t,this.loose=!!t.loose;var r=e.trim().match(t.loose?T[$.LOOSE]:T[$.FULL]);if(!r)throw TypeError("Invalid Version: "+e);if(this.raw=e,this.major=+r[1],this.minor=+r[2],this.patch=+r[3],this.major>I||this.major<0)throw TypeError("Invalid major version");if(this.minor>I||this.minor<0)throw TypeError("Invalid minor version");if(this.patch>I||this.patch<0)throw TypeError("Invalid patch version");r[4]?this.prerelease=r[4].split(".").map(function(e){if(/^[0-9]+$/.test(e)){var t=+e;if(t>=0&&te?-1:1;}function a(e,t,r){return new o(e,r).compare(new o(t,r));}function l(e,t,r){return a(e,t,r)>0;}function u(e,t,r){return 0>a(e,t,r);}function c(e,t,r){return 0===a(e,t,r);}function p(e,t,r){return 0!==a(e,t,r);}function d(e,t,r){return a(e,t,r)>=0;}function f(e,t,r){return 0>=a(e,t,r);}function h(e,t,r,n){switch(t){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof r&&(r=r.version),e===r;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof r&&(r=r.version),e!==r;case"":case"=":case"==":return c(e,r,n);case"!=":return p(e,r,n);case">":return l(e,r,n);case">=":return d(e,r,n);case"<":return u(e,r,n);case"<=":return f(e,r,n);default:throw TypeError("Invalid operator: "+t);}}function m(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof m){if(!!t.loose===e.loose)return e;e=e.value;}if(!(this instanceof m))return new m(e,t);e=e.trim().split(/\s+/).join(" "),b("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===N?this.value="":this.value=this.operator+this.semver.version,b("comp",this);}function v(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof v)return!!t.loose===e.loose&&!!t.includePrerelease===e.includePrerelease?e:new v(e.raw,t);if(e instanceof m)return new v(e.value,t);if(!(this instanceof v))return new v(e,t);if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map(function(e){return this.parseRange(e.trim());},this).filter(function(e){return e.length;}),!this.set.length)throw TypeError("Invalid SemVer Range: "+this.raw);this.format();}function g(e,t){for(var r=!0,n=e.slice(),i=n.pop();r&&n.length;)r=n.every(function(e){return i.intersects(e,t);}),i=n.pop();return r;}function E(e){return!e||"x"===e.toLowerCase()||"*"===e;}function y(e,t,r,n,i,o,s,a,l,u,c,p,d){return((t=E(r)?"":E(n)?">="+r+".0.0":E(i)?">="+r+"."+n+".0":">="+t)+" "+(a=E(l)?"":E(u)?"<"+(+l+1)+".0.0":E(c)?"<"+l+"."+(+u+1)+".0":p?"<="+l+"."+u+"."+c+"-"+p:"<="+a)).trim();}function w(e,t,r){try{t=new v(t,r);}catch(e){return!1;}return t.test(e);}function x(e,t,r,n){switch(e=new o(e,n),t=new v(t,n),r){case">":i=l,s=f,a=u,c=">",p=">=";break;case"<":i=u,s=d,a=l,c="<",p="<=";break;default:throw TypeError('Must provide a hilo val of "<" or ">"');}if(w(e,t,n))return!1;for(var i,s,a,c,p,h=0;h=0.0.0")),E=E||e,y=y||e,i(e.semver,E.semver,n)?E=e:a(e.semver,y.semver,n)&&(y=e);}),E.operator===c||E.operator===p||(!y.operator||y.operator===c)&&s(e,y.semver)||y.operator===p&&a(e,y.semver))return!1;}return!0;}t=e.exports=o,b="object"==typeof process&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?function(){var e=Array.prototype.slice.call(arguments,0);e.unshift("SEMVER"),console.log.apply(console,e);}:function(){},t.SEMVER_SPEC_VERSION="2.0.0",R=256,I=Number.MAX_SAFE_INTEGER||9007199254740991,O=R-6,S=t.re=[],T=t.safeRe=[],C=t.src=[],$=t.tokens={},A=0,P=[["\\s",1],["\\d",R],[_="[a-zA-Z0-9-]",O]],r("NUMERICIDENTIFIER"),C[$.NUMERICIDENTIFIER]="0|[1-9]\\d*",r("NUMERICIDENTIFIERLOOSE"),C[$.NUMERICIDENTIFIERLOOSE]="\\d+",r("NONNUMERICIDENTIFIER"),C[$.NONNUMERICIDENTIFIER]="\\d*[a-zA-Z-]"+_+"*",r("MAINVERSION"),C[$.MAINVERSION]="("+C[$.NUMERICIDENTIFIER]+")\\.("+C[$.NUMERICIDENTIFIER]+")\\.("+C[$.NUMERICIDENTIFIER]+")",r("MAINVERSIONLOOSE"),C[$.MAINVERSIONLOOSE]="("+C[$.NUMERICIDENTIFIERLOOSE]+")\\.("+C[$.NUMERICIDENTIFIERLOOSE]+")\\.("+C[$.NUMERICIDENTIFIERLOOSE]+")",r("PRERELEASEIDENTIFIER"),C[$.PRERELEASEIDENTIFIER]="(?:"+C[$.NUMERICIDENTIFIER]+"|"+C[$.NONNUMERICIDENTIFIER]+")",r("PRERELEASEIDENTIFIERLOOSE"),C[$.PRERELEASEIDENTIFIERLOOSE]="(?:"+C[$.NUMERICIDENTIFIERLOOSE]+"|"+C[$.NONNUMERICIDENTIFIER]+")",r("PRERELEASE"),C[$.PRERELEASE]="(?:-("+C[$.PRERELEASEIDENTIFIER]+"(?:\\."+C[$.PRERELEASEIDENTIFIER]+")*))",r("PRERELEASELOOSE"),C[$.PRERELEASELOOSE]="(?:-?("+C[$.PRERELEASEIDENTIFIERLOOSE]+"(?:\\."+C[$.PRERELEASEIDENTIFIERLOOSE]+")*))",r("BUILDIDENTIFIER"),C[$.BUILDIDENTIFIER]=_+"+",r("BUILD"),C[$.BUILD]="(?:\\+("+C[$.BUILDIDENTIFIER]+"(?:\\."+C[$.BUILDIDENTIFIER]+")*))",r("FULL"),r("FULLPLAIN"),C[$.FULLPLAIN]="v?"+C[$.MAINVERSION]+C[$.PRERELEASE]+"?"+C[$.BUILD]+"?",C[$.FULL]="^"+C[$.FULLPLAIN]+"$",r("LOOSEPLAIN"),C[$.LOOSEPLAIN]="[v=\\s]*"+C[$.MAINVERSIONLOOSE]+C[$.PRERELEASELOOSE]+"?"+C[$.BUILD]+"?",r("LOOSE"),C[$.LOOSE]="^"+C[$.LOOSEPLAIN]+"$",r("GTLT"),C[$.GTLT]="((?:<|>)?=?)",r("XRANGEIDENTIFIERLOOSE"),C[$.XRANGEIDENTIFIERLOOSE]=C[$.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*",r("XRANGEIDENTIFIER"),C[$.XRANGEIDENTIFIER]=C[$.NUMERICIDENTIFIER]+"|x|X|\\*",r("XRANGEPLAIN"),C[$.XRANGEPLAIN]="[v=\\s]*("+C[$.XRANGEIDENTIFIER]+")(?:\\.("+C[$.XRANGEIDENTIFIER]+")(?:\\.("+C[$.XRANGEIDENTIFIER]+")(?:"+C[$.PRERELEASE]+")?"+C[$.BUILD]+"?)?)?",r("XRANGEPLAINLOOSE"),C[$.XRANGEPLAINLOOSE]="[v=\\s]*("+C[$.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+C[$.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+C[$.XRANGEIDENTIFIERLOOSE]+")(?:"+C[$.PRERELEASELOOSE]+")?"+C[$.BUILD]+"?)?)?",r("XRANGE"),C[$.XRANGE]="^"+C[$.GTLT]+"\\s*"+C[$.XRANGEPLAIN]+"$",r("XRANGELOOSE"),C[$.XRANGELOOSE]="^"+C[$.GTLT]+"\\s*"+C[$.XRANGEPLAINLOOSE]+"$",r("COERCE"),C[$.COERCE]="(^|[^\\d])(\\d{1,16})(?:\\.(\\d{1,16}))?(?:\\.(\\d{1,16}))?(?:$|[^\\d])",r("COERCERTL"),S[$.COERCERTL]=RegExp(C[$.COERCE],"g"),T[$.COERCERTL]=RegExp(n(C[$.COERCE]),"g"),r("LONETILDE"),C[$.LONETILDE]="(?:~>?)",r("TILDETRIM"),C[$.TILDETRIM]="(\\s*)"+C[$.LONETILDE]+"\\s+",S[$.TILDETRIM]=RegExp(C[$.TILDETRIM],"g"),T[$.TILDETRIM]=RegExp(n(C[$.TILDETRIM]),"g"),r("TILDE"),C[$.TILDE]="^"+C[$.LONETILDE]+C[$.XRANGEPLAIN]+"$",r("TILDELOOSE"),C[$.TILDELOOSE]="^"+C[$.LONETILDE]+C[$.XRANGEPLAINLOOSE]+"$",r("LONECARET"),C[$.LONECARET]="(?:\\^)",r("CARETTRIM"),C[$.CARETTRIM]="(\\s*)"+C[$.LONECARET]+"\\s+",S[$.CARETTRIM]=RegExp(C[$.CARETTRIM],"g"),T[$.CARETTRIM]=RegExp(n(C[$.CARETTRIM]),"g"),r("CARET"),C[$.CARET]="^"+C[$.LONECARET]+C[$.XRANGEPLAIN]+"$",r("CARETLOOSE"),C[$.CARETLOOSE]="^"+C[$.LONECARET]+C[$.XRANGEPLAINLOOSE]+"$",r("COMPARATORLOOSE"),C[$.COMPARATORLOOSE]="^"+C[$.GTLT]+"\\s*("+C[$.LOOSEPLAIN]+")$|^$",r("COMPARATOR"),C[$.COMPARATOR]="^"+C[$.GTLT]+"\\s*("+C[$.FULLPLAIN]+")$|^$",r("COMPARATORTRIM"),C[$.COMPARATORTRIM]="(\\s*)"+C[$.GTLT]+"\\s*("+C[$.LOOSEPLAIN]+"|"+C[$.XRANGEPLAIN]+")",S[$.COMPARATORTRIM]=RegExp(C[$.COMPARATORTRIM],"g"),T[$.COMPARATORTRIM]=RegExp(n(C[$.COMPARATORTRIM]),"g"),r("HYPHENRANGE"),C[$.HYPHENRANGE]="^\\s*("+C[$.XRANGEPLAIN]+")\\s+-\\s+("+C[$.XRANGEPLAIN]+")\\s*$",r("HYPHENRANGELOOSE"),C[$.HYPHENRANGELOOSE]="^\\s*("+C[$.XRANGEPLAINLOOSE]+")\\s+-\\s+("+C[$.XRANGEPLAINLOOSE]+")\\s*$",r("STAR"),C[$.STAR]="(<|>)?=?\\s*\\*";for(var b,R,I,O,S,T,C,$,A,_,P,L,N,k=0;k=0;)"number"==typeof this.prerelease[r]&&(this.prerelease[r]++,r=-2);-1===r&&this.prerelease.push(0);}t&&(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;},t.inc=function(e,t,r,n){"string"==typeof r&&(n=r,r=void 0);try{return new o(e,r).inc(t,n).version;}catch(e){return null;}},t.diff=function(e,t){if(c(e,t))return null;var r=i(e),n=i(t),o="";if(r.prerelease.length||n.prerelease.length){o="pre";var s="prerelease";}for(var a in r)if(("major"===a||"minor"===a||"patch"===a)&&r[a]!==n[a])return o+a;return s;},t.compareIdentifiers=s,L=/^[0-9]+$/,t.rcompareIdentifiers=function(e,t){return s(t,e);},t.major=function(e,t){return new o(e,t).major;},t.minor=function(e,t){return new o(e,t).minor;},t.patch=function(e,t){return new o(e,t).patch;},t.compare=a,t.compareLoose=function(e,t){return a(e,t,!0);},t.compareBuild=function(e,t,r){var n=new o(e,r),i=new o(t,r);return n.compare(i)||n.compareBuild(i);},t.rcompare=function(e,t,r){return a(t,e,r);},t.sort=function(e,r){return e.sort(function(e,n){return t.compareBuild(e,n,r);});},t.rsort=function(e,r){return e.sort(function(e,n){return t.compareBuild(n,e,r);});},t.gt=l,t.lt=u,t.eq=c,t.neq=p,t.gte=d,t.lte=f,t.cmp=h,t.Comparator=m,N={},m.prototype.parse=function(e){var t=this.options.loose?T[$.COMPARATORLOOSE]:T[$.COMPARATOR],r=e.match(t);if(!r)throw TypeError("Invalid comparator: "+e);this.operator=void 0!==r[1]?r[1]:"","="===this.operator&&(this.operator=""),r[2]?this.semver=new o(r[2],this.options.loose):this.semver=N;},m.prototype.toString=function(){return this.value;},m.prototype.test=function(e){if(b("Comparator.test",e,this.options.loose),this.semver===N||e===N)return!0;if("string"==typeof e)try{e=new o(e,this.options);}catch(e){return!1;}return h(e,this.operator,this.semver,this.options);},m.prototype.intersects=function(e,t){if(!(e instanceof m))throw TypeError("a Comparator is required");if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),""===this.operator)return""===this.value||(r=new v(e.value,t),w(this.value,r,t));if(""===e.operator)return""===e.value||(r=new v(this.value,t),w(e.semver,r,t));var r,n=(">="===this.operator||">"===this.operator)&&(">="===e.operator||">"===e.operator),i=("<="===this.operator||"<"===this.operator)&&("<="===e.operator||"<"===e.operator),o=this.semver.version===e.semver.version,s=(">="===this.operator||"<="===this.operator)&&(">="===e.operator||"<="===e.operator),a=h(this.semver,"<",e.semver,t)&&(">="===this.operator||">"===this.operator)&&("<="===e.operator||"<"===e.operator),l=h(this.semver,">",e.semver,t)&&("<="===this.operator||"<"===this.operator)&&(">="===e.operator||">"===e.operator);return n||i||o&&s||a||l;},t.Range=v,v.prototype.format=function(){return this.range=this.set.map(function(e){return e.join(" ").trim();}).join("||").trim(),this.range;},v.prototype.toString=function(){return this.range;},v.prototype.parseRange=function(e){var t=this.options.loose,r=t?T[$.HYPHENRANGELOOSE]:T[$.HYPHENRANGE];e=e.replace(r,y),b("hyphen replace",e),e=e.replace(T[$.COMPARATORTRIM],"$1$2$3"),b("comparator trim",e,T[$.COMPARATORTRIM]),e=(e=(e=e.replace(T[$.TILDETRIM],"$1~")).replace(T[$.CARETTRIM],"$1^")).split(/\s+/).join(" ");var n=t?T[$.COMPARATORLOOSE]:T[$.COMPARATOR],i=e.split(" ").map(function(e){var t,r,n,i,o,s,a,l,u;return t=e,r=this.options,b("comp",t,r),n=t,i=r,t=n.trim().split(/\s+/).map(function(e){var t,r,n;return b("caret",t=e,r=i),n=r.loose?T[$.CARETLOOSE]:T[$.CARET],t.replace(n,function(e,r,n,i,o){var s;return b("caret",t,e,r,n,i,o),E(r)?s="":E(n)?s=">="+r+".0.0 <"+(+r+1)+".0.0":E(i)?s="0"===r?">="+r+"."+n+".0 <"+r+"."+(+n+1)+".0":">="+r+"."+n+".0 <"+(+r+1)+".0.0":o?(b("replaceCaret pr",o),s="0"===r?"0"===n?">="+r+"."+n+"."+i+"-"+o+" <"+r+"."+n+"."+(+i+1):">="+r+"."+n+"."+i+"-"+o+" <"+r+"."+(+n+1)+".0":">="+r+"."+n+"."+i+"-"+o+" <"+(+r+1)+".0.0"):(b("no pr"),s="0"===r?"0"===n?">="+r+"."+n+"."+i+" <"+r+"."+n+"."+(+i+1):">="+r+"."+n+"."+i+" <"+r+"."+(+n+1)+".0":">="+r+"."+n+"."+i+" <"+(+r+1)+".0.0"),b("caret return",s),s;});}).join(" "),b("caret",t),o=t,s=r,t=o.trim().split(/\s+/).map(function(e){var t,r;return t=e,r=s.loose?T[$.TILDELOOSE]:T[$.TILDE],t.replace(r,function(e,r,n,i,o){var s;return b("tilde",t,e,r,n,i,o),E(r)?s="":E(n)?s=">="+r+".0.0 <"+(+r+1)+".0.0":E(i)?s=">="+r+"."+n+".0 <"+r+"."+(+n+1)+".0":o?(b("replaceTilde pr",o),s=">="+r+"."+n+"."+i+"-"+o+" <"+r+"."+(+n+1)+".0"):s=">="+r+"."+n+"."+i+" <"+r+"."+(+n+1)+".0",b("tilde return",s),s;});}).join(" "),b("tildes",t),b("replaceXRanges",a=t,l=r),t=a.split(/\s+/).map(function(e){var t,r,n;return t=e,r=l,t=t.trim(),n=r.loose?T[$.XRANGELOOSE]:T[$.XRANGE],t.replace(n,function(e,n,i,o,s,a){b("xRange",t,e,n,i,o,s,a);var l=E(i),u=l||E(o),c=u||E(s);return"="===n&&c&&(n=""),a=r.includePrerelease?"-0":"",l?e=">"===n||"<"===n?"<0.0.0-0":"*":n&&c?(u&&(o=0),s=0,">"===n?(n=">=",u?(i=+i+1,o=0):o=+o+1,s=0):"<="===n&&(n="<",u?i=+i+1:o=+o+1),e=n+i+"."+o+"."+s+a):u?e=">="+i+".0.0"+a+" <"+(+i+1)+".0.0"+a:c&&(e=">="+i+"."+o+".0"+a+" <"+i+"."+(+o+1)+".0"+a),b("xRange return",e),e;});}).join(" "),b("xrange",t),b("replaceStars",u=t,r),t=u.trim().replace(T[$.STAR],""),b("stars",t),t;},this).join(" ").split(/\s+/);return this.options.loose&&(i=i.filter(function(e){return!!e.match(n);})),i=i.map(function(e){return new m(e,this.options);},this);},v.prototype.intersects=function(e,t){if(!(e instanceof v))throw TypeError("a Range is required");return this.set.some(function(r){return g(r,t)&&e.set.some(function(e){return g(e,t)&&r.every(function(r){return e.every(function(e){return r.intersects(e,t);});});});});},t.toComparators=function(e,t){return new v(e,t).set.map(function(e){return e.map(function(e){return e.value;}).join(" ").trim().split(" ");});},v.prototype.test=function(e){if(!e)return!1;if("string"==typeof e)try{e=new o(e,this.options);}catch(e){return!1;}for(var t=0;t0){var i=e[n].semver;if(i.major===t.major&&i.minor===t.minor&&i.patch===t.patch)return!0;}return!1;}return!0;}(this.set[t],e,this.options))return!0;return!1;},t.satisfies=w,t.maxSatisfying=function(e,t,r){var n=null,i=null;try{var s=new v(t,r);}catch(e){return null;}return e.forEach(function(e){s.test(e)&&(!n||-1===i.compare(e))&&(i=new o(n=e,r));}),n;},t.minSatisfying=function(e,t,r){var n=null,i=null;try{var s=new v(t,r);}catch(e){return null;}return e.forEach(function(e){s.test(e)&&(!n||1===i.compare(e))&&(i=new o(n=e,r));}),n;},t.minVersion=function(e,t){e=new v(e,t);var r=new o("0.0.0");if(e.test(r)||(r=new o("0.0.0-0"),e.test(r)))return r;r=null;for(var n=0;n":0===t.prerelease.length?t.patch++:t.prerelease.push(0),t.raw=t.format();case"":case">=":(!r||l(r,t))&&(r=t);break;case"<":case"<=":break;default:throw Error("Unexpected operation: "+e.operator);}});return r&&e.test(r)?r:null;},t.validRange=function(e,t){try{return new v(e,t).range||"*";}catch(e){return null;}},t.ltr=function(e,t,r){return x(e,t,"<",r);},t.gtr=function(e,t,r){return x(e,t,">",r);},t.outside=x,t.prerelease=function(e,t){var r=i(e,t);return r&&r.prerelease.length?r.prerelease:null;},t.intersects=function(e,t,r){return e=new v(e,r),t=new v(t,r),e.intersects(t);},t.coerce=function(e,t){if(e instanceof o)return e;if("number"==typeof e&&(e+=""),"string"!=typeof e)return null;var r,n=null;if((t=t||{}).rtl){for(;(r=T[$.COERCERTL].exec(e))&&(!n||n.index+n[0].length!==e.length);)n&&r.index+r[0].length===n.index+n[0].length||(n=r),T[$.COERCERTL].lastIndex=r.index+r[1].length+r[2].length;T[$.COERCERTL].lastIndex=-1;}else n=e.match(T[$.COERCE]);return null===n?null:i(n[2]+"."+(n[3]||"0")+"."+(n[4]||"0"),t);};}),rg("6M6mp",function(e,t){var r=rv("h6Ytr"),n=rv("fJp7c");e.exports=function(e,t,i){var o=t&&i||0;"string"==typeof e&&(t="binary"===e?Array(16):null,e=null);var s=(e=e||{}).random||(e.rng||r)();if(s[6]=15&s[6]|64,s[8]=63&s[8]|128,t)for(var a=0;a<16;++a)t[o+a]=s[a];return t||n(s);};}),rg("h6Ytr",function(e,t){e.exports=function(){return nY.randomBytes(16);};}),rg("fJp7c",function(e,t){for(var r=[],n=0;n<256;++n)r[n]=(n+256).toString(16).substr(1);e.exports=function(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++]]].join("");};}),rg("7J8UA",function(e,t){var r,n,i,o;function s(e,t,r){return o(this,void 0,void 0,function*(){let n=a.argStringToArray(e);if(0===n.length)throw Error("Parameter 'commandLine' cannot be null or empty.");let i=n[0];return t=n.slice(1).concat(t||[]),new a.ToolRunner(i,t,r).exec();});}r=e.exports&&e.exports.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r];}});}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r];}),n=e.exports&&e.exports.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),i=e.exports&&e.exports.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&r(t,e,i);return n(t,e),t;},o=e.exports&&e.exports.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e));}catch(e){o(e);}}function a(e){try{l(n.throw(e));}catch(e){o(e);}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t);})).then(s,a);}l((n=n.apply(e,t||[])).next());});},Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.getExecOutput=e.exports.exec=void 0;let a=i(rv("eIh8d"));e.exports.exec=s,e.exports.getExecOutput=function(e,t,r){var n,i;return o(this,void 0,void 0,function*(){let o="",a="",l=new t9.StringDecoder("utf8"),u=new t9.StringDecoder("utf8"),c=null===(n=null==r?void 0:r.listeners)||void 0===n?void 0:n.stdout,p=null===(i=null==r?void 0:r.listeners)||void 0===i?void 0:i.stderr,d=Object.assign(Object.assign({},null==r?void 0:r.listeners),{stdout(e){o+=l.write(e),c&&c(e);},stderr(e){a+=u.write(e),p&&p(e);}}),f=yield s(e,t,Object.assign(Object.assign({},r),{listeners:d}));return o+=l.end(),a+=u.end(),{exitCode:f,stdout:o,stderr:a};});};}),rg("eIh8d",function(e,t){var r,n,i,o;r=e.exports&&e.exports.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r];}});}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r];}),n=e.exports&&e.exports.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),i=e.exports&&e.exports.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&r(t,e,i);return n(t,e),t;},o=e.exports&&e.exports.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e));}catch(e){o(e);}}function a(e){try{l(n.throw(e));}catch(e){o(e);}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t);})).then(s,a);}l((n=n.apply(e,t||[])).next());});},Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.argStringToArray=e.exports.ToolRunner=void 0;let s=i(nV),a=i(t4),l=i(t7),u=i(nX),c=i(rv("alxPC")),p=i(rv("hL0ST")),d="win32"===process.platform;class f 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){let r=this._getSpawnFileName(),n=this._getSpawnArgs(e),i=t?"":"[command]";if(d){if(this._isCmdFile())for(let e of(i+=r,n))i+=" "+e;else if(e.windowsVerbatimArguments)for(let e of(i+=`"${r}"`,n))i+=" "+e;else for(let e of(i+=this._windowsQuoteCmdArg(r),n))i+=" "+this._windowsQuoteCmdArg(e);}else for(let e of(i+=r,n))i+=" "+e;return i;}_processLineBuffer(e,t,r){try{let n=t+e.toString(),i=n.indexOf(s.EOL);for(;i>-1;){let e=n.substring(0,i);r(e),i=(n=n.substring(i+s.EOL.length)).indexOf(s.EOL);}return n;}catch(e){return this._debug("error processing line. Failed with error "+e),"";}}_getSpawnFileName(){return d&&this._isCmdFile()?process.env.COMSPEC||"cmd.exe":this.toolPath;}_getSpawnArgs(e){if(d&&this._isCmdFile()){let t='/D /S /C "'+this._windowsQuoteCmdArg(this.toolPath);for(let r of this.args)t+=" "+(e.windowsVerbatimArguments?r:this._windowsQuoteCmdArg(r));return[t+='"'];}return this.args;}_endsWith(e,t){return e.endsWith(t);}_isCmdFile(){let 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'""';let t=[" "," ","&","(",")","[","]","{","}","^","=",";","!","'","+",",","`","~","|","<",">",'"'],r=!1;for(let n of e)if(t.some(e=>e===n)){r=!0;break;}if(!r)return e;let n='"',i=!0;for(let t=e.length;t>0;t--)n+=e[t-1],i&&"\\"===e[t-1]?n+="\\":'"'===e[t-1]?(i=!0,n+='"'):i=!1;return(n+='"').split("").reverse().join("");}_uvQuoteCmdArg(e){if(!e)return'""';if(!e.includes(" ")&&!e.includes(" ")&&!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+='"').split("").reverse().join("");}_cloneExecOptions(e){let 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){e=e||{};let r={};return r.cwd=e.cwd,r.env=e.env,r.windowsVerbatimArguments=e.windowsVerbatimArguments||this._isCmdFile(),e.windowsVerbatimArguments&&(r.argv0=`"${t}"`),r;}exec(){return o(this,void 0,void 0,function*(){return!p.isRooted(this.toolPath)&&(this.toolPath.includes("/")||d&&this.toolPath.includes("\\"))&&(this.toolPath=u.resolve(process.cwd(),this.options.cwd||process.cwd(),this.toolPath)),this.toolPath=yield c.which(this.toolPath,!0),new Promise((e,t)=>o(this,void 0,void 0,function*(){for(let e of(this._debug("exec tool: "+this.toolPath),this._debug("arguments:"),this.args))this._debug(" "+e);let r=this._cloneExecOptions(this.options);!r.silent&&r.outStream&&r.outStream.write(this._getCommandString(r)+s.EOL);let n=new h(r,this.toolPath);if(n.on("debug",e=>{this._debug(e);}),this.options.cwd&&!(yield p.exists(this.options.cwd)))return t(Error(`The cwd: ${this.options.cwd} does not exist!`));let i=this._getSpawnFileName(),o=l.spawn(i,this._getSpawnArgs(r),this._getSpawnOptions(this.options,i)),a="";o.stdout&&o.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 u="";if(o.stderr&&o.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),u=this._processLineBuffer(e,u,e=>{this.options.listeners&&this.options.listeners.errline&&this.options.listeners.errline(e);});}),o.on("error",e=>{n.processError=e.message,n.processExited=!0,n.processClosed=!0,n.CheckComplete();}),o.on("exit",e=>{n.processExitCode=e,n.processExited=!0,this._debug(`Exit code ${e} received from tool '${this.toolPath}'`),n.CheckComplete();}),o.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),u.length>0&&this.emit("errline",u),o.removeAllListeners(),r?t(r):e(n);}),this.options.input){if(!o.stdin)throw Error("child process missing stdin");o.stdin.end(this.options.input);}}));});}}e.exports.ToolRunner=f,e.exports.argStringToArray=function(e){function t(e){i&&'"'!==e&&(o+="\\"),o+=e,i=!1;}let r=[],n=!1,i=!1,o="";for(let s=0;s0&&(r.push(o),o="");continue;}t(a);}return o.length>0&&r.push(o.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=re.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){if(!e.done){if(!e.processClosed&&e.processExited){let t=`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._debug(t);}e._setResult();}}}}),rg("j1xhX",function(e,t){e.exports=Promise.resolve(require("./actions_python.bfd29453.js")).then(()=>rv("8MXq9"));}),rE=rv("l6WDk"),ry=rv("7Lz0k"),rw=rv("glkzm"),function(){rv("nCzGD").addLocale("en",function(e){var t=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return("string"==typeof e&&(e=parseInt(e,10)),1===t&&0===r)?"one":"other";});}.call(rx={}),rb={},rb=rv("cNw1h"),rR={},rR={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"}}}};const nQ=u(rt).homedir();rI={},l(rO={},"isexe",()=>im),l(rO,"sync",()=>iv),nW.promises;const{access:nZ,appendFile:n0,chmod:n1,chown:n2,copyFile:n3,lchmod:n4,lchown:n6,link:n8,lstat:n5,mkdir:n7,mkdtemp:n9,open:ie,readdir:it,readFile:ir,readlink:ii,realpath:io,rename:is,rmdir:ia,stat:il,symlink:iu,truncate:ic,unlink:ip,utimes:id,writeFile:ih}=nW.promises,im=async(e,t={})=>{let{ignoreErrors:r=!1}=t;try{return ig(await il(e),t);}catch(e){if(r||"EACCES"===e.code)return!1;throw e;}},iv=(e,t={})=>{let{ignoreErrors:r=!1}=t;try{return ig((0,nW.statSync)(e),t);}catch(e){if(r||"EACCES"===e.code)return!1;throw e;}},ig=(e,t)=>e.isFile()&&iE(e,t),iE=(e,t)=>{let r=t.uid??process.getuid?.(),n=t.groups??process.getgroups?.()??[],i=t.gid??process.getgid?.()??n[0];if(void 0===r||void 0===i)throw Error("cannot get uid or gid");let o=new Set([i,...n]),s=e.mode,a=e.uid,l=e.gid,u=parseInt("100",8),c=parseInt("010",8);return!!(s&parseInt("001",8)||s&c&&o.has(l)||s&u&&a===r||s&(u|c)&&0===r);};l(rS={},"isexe",()=>iy),l(rS,"sync",()=>iw);const iy=async(e,t={})=>{let{ignoreErrors:r=!1}=t;try{return ib(await il(e),e,t);}catch(e){if(r||"EACCES"===e.code)return!1;throw e;}},iw=(e,t={})=>{let{ignoreErrors:r=!1}=t;try{return ib((0,nW.statSync)(e),e,t);}catch(e){if(r||"EACCES"===e.code)return!1;throw e;}},ix=(e,t)=>{let{pathExt:r=process.env.PATHEXT||""}=t,n=r.split(";");if(-1!==n.indexOf(""))return!0;for(let t=0;te.isFile()&&ix(t,r),iR="win32"===(process.env._ISEXE_TEST_PLATFORM_||process.platform)?rS:rO,iI=iR.isexe,iO=iR.sync;rT=nX.join,rC=nX.delimiter,r$=nX.sep,rA=nX.posix;const iS="win32"===process.platform,iT=new RegExp(`[${rA.sep}${r$===rA.sep?"":r$}]`.replace(/(\\)/g,"\\$1")),iC=RegExp("^\\."+iT.source),i$=e=>Object.assign(Error("not found: "+e),{code:"ENOENT"}),iA=(e,{path:t=process.env.PATH,pathExt:r=process.env.PATHEXT,delimiter:n=rC})=>{let i=e.match(iT)?[""]:[...(iS?[process.cwd()]:[]),...(t||"").split(n)];if(iS){let t=r||[".EXE",".CMD",".BAT",".COM"].join(n),o=t.split(n).flatMap(e=>[e,e.toLowerCase()]);return e.includes(".")&&""!==o[0]&&o.unshift(""),{pathEnv:i,pathExt:o,pathExtExe:t};}return{pathEnv:i,pathExt:[""]};},i_=(e,t)=>{let r=/^".*"$/.test(e)?e.slice(1,-1):e;return(!r&&iC.test(t)?t.slice(0,2):"")+rT(r,t);},iP=async(e,t={})=>{let{pathEnv:r,pathExt:n,pathExtExe:i}=iA(e,t),o=[];for(let s of r){let r=i_(s,e);for(let e of n){let n=r+e;if(await iI(n,{pathExt:i,ignoreErrors:!0})){if(!t.all)return n;o.push(n);}}}if(t.all&&o.length)return o;if(t.nothrow)return null;throw i$(e);};rI=iP,iP.sync=(e,t={})=>{let{pathEnv:r,pathExt:n,pathExtExe:i}=iA(e,t),o=[];for(let s of r){let r=i_(s,e);for(let e of n){let n=r+e;if(iO(n,{pathExt:i,ignoreErrors:!0})){if(!t.all)return n;o.push(n);}}}if(t.all&&o.length)return o;if(t.nothrow)return null;throw i$(e);},r_={},rP={},rL={},rN={};const iL="win32"===process.platform||"cygwin"===process.env.OSTYPE||"msys"===process.env.OSTYPE,iN=iL?";":":";rk={},rD="win32"===process.platform||rf.TESTING_WINDOWS?rv("kUWiH"):rv("39qb4"),rk=c,c.sync=function(e,t){try{return rD.sync(e,t||{});}catch(e){if(t&&t.ignoreErrors||"EACCES"===e.code)return!1;throw e;}};const ik=e=>Object.assign(Error("not found: "+e),{code:"ENOENT"}),iD=(e,t)=>{let r=t.colon||iN,n=e.match(/\//)||iL&&e.match(/\\/)?[""]:[...(iL?[process.cwd()]:[]),...(t.path||process.env.PATH||"").split(r)],i=iL?t.pathExt||process.env.PATHEXT||".EXE;.CMD;.BAT;.COM":"",o=iL?i.split(r):[""];return iL&&-1!==e.indexOf(".")&&""!==o[0]&&o.unshift(""),{pathEnv:n,pathExt:o,pathExtExe:i};},iU=(e,t,r)=>{"function"==typeof t&&(r=t,t={}),t||(t={});let{pathEnv:n,pathExt:i,pathExtExe:o}=iD(e,t),s=[],a=r=>new Promise((i,o)=>{if(r===n.length)return t.all&&s.length?i(s):o(ik(e));let a=n[r],u=/^".*"$/.test(a)?a.slice(1,-1):a,c=nX.join(u,e);i(l(!u&&/^\.[\\\/]/.test(e)?e.slice(0,2)+c:c,r,0));}),l=(e,r,n)=>new Promise((u,c)=>{if(n===i.length)return u(a(r+1));let p=i[n];rk(e+p,{pathExt:o},(i,o)=>{if(!i&&o){if(!t.all)return u(e+p);s.push(e+p);}return u(l(e,r,n+1));});});return r?a(0).then(e=>r(null,e),r):a(0);};rN=iU,iU.sync=(e,t)=>{let{pathEnv:r,pathExt:n,pathExtExe:i}=iD(e,t=t||{}),o=[];for(let s=0;s{let t=e.env||process.env;return"win32"!==(e.platform||process.platform)?"PATH":Object.keys(t).reverse().find(e=>"PATH"===e.toUpperCase())||"Path";};(rU=ij).default=ij,rL=function(e){return p(e)||p(e,!0);};rj={},rM={},rF={},rF=/^#!(.*)/,rM=(e="")=>{let t=e.match(rF);if(!t)return null;let[r,n]=t[0].replace(/#! ?/,"").split(" "),i=r.split("/").pop();return"env"===i?n:n?`${i} ${n}`:i;},rj=function(e){let t;let r=Buffer.alloc(150);try{t=nW.openSync(e,"r"),nW.readSync(t,r,0,150,0),nW.closeSync(t);}catch(e){}return rM(r.toString());};const iM="win32"===process.platform;rP=function(e,t,r){t&&!Array.isArray(t)&&(r=t,t=null);let 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:function(e){if(!iM)return e;let t=function(e){e.file=rL(e);let t=e.file&&rj(e.file);return t?(e.args.unshift(e.file),e.command=t,rL(e)):e.file;}(e),r=!/\.(?:com|exe)$/i.test(t);if(e.options.forceShell||r){var n;let r=/node_modules[\\/].bin[\\/][^\\/]+\.cmd$/i.test(t);e.command=nX.normalize(e.command),e.command=n=(n=e.command).replace(/([()\][%!^"`<>&|;, *?])/g,"^$1"),e.args=e.args.map(e=>{var t,n;return t=e,n=r,t=(t=(t=""+t).replace(/(\\*)"/g,'$1$1\\"')).replace(/(\\*)$/,"$1$1"),t=(t=`"${t}"`).replace(/([()\][%!^"`<>&|;, *?])/g,"^$1"),n&&(t=t.replace(/([()\][%!^"`<>&|;, *?])/g,"^$1")),t;});let i=[e.command].concat(e.args).join(" ");e.args=["/d","/s","/c",`"${i}"`],e.command=process.env.comspec||"cmd.exe",e.options.windowsVerbatimArguments=!0;}return e;}(n);},rG={};const iF="win32"===process.platform;rG={hookChildProcess:function(e,t){if(!iF)return;let r=e.emit;e.emit=function(n,i){if("exit"===n){let n=f(i,t,"spawn");if(n)return r.call(e,"error",n);}return r.apply(e,arguments);};},verifyENOENT:f,verifyENOENTSync:function(e,t){return iF&&1===e&&!t.file?d(t.original,"spawnSync"):null;},notFoundError:d},(r_=h).spawn=h,r_.sync=function(e,t,r){let n=rP(e,t,r),i=t7.spawnSync(n.command,n.args,n.options);return i.error=i.error||rG.verifyENOENTSync(i.status,n),i;},r_._parse=rP,r_._enoent=rG;const iG=(e,t,r,n)=>{if("length"===r||"prototype"===r||"arguments"===r||"caller"===r)return;let i=Object.getOwnPropertyDescriptor(e,r),o=Object.getOwnPropertyDescriptor(t,r);(iB(i,o)||!n)&&Object.defineProperty(e,r,o);},iB=function(e,t){return void 0===e||e.configurable||e.writable===t.writable&&e.enumerable===t.enumerable&&e.configurable===t.configurable&&(e.writable||e.value===t.value);},iH=(e,t)=>{let r=Object.getPrototypeOf(t);r!==Object.getPrototypeOf(e)&&Object.setPrototypeOf(e,r);},iq=(e,t)=>`/* Wrapped ${e}*/ +${t}`,iz=Object.getOwnPropertyDescriptor(Function.prototype,"toString"),iV=Object.getOwnPropertyDescriptor(Function.prototype.toString,"name"),iX=(e,t,r)=>{let n=""===r?"":`with ${r.trim()}() `,i=iq.bind(null,n,t.toString());Object.defineProperty(i,"name",iV),Object.defineProperty(e,"toString",{...iz,value:i});},iW=new WeakMap(),iY=(e,t={})=>{let r;if("function"!=typeof e)throw TypeError("Expected a function");let n=0,i=e.displayName||e.name||"",o=function(...s){if(iW.set(o,++n),1===n)r=e.apply(this,s),e=null;else if(!0===t.throw)throw Error(`Function \`${i}\` can only be called once`);return r;};return!function(e,t,{ignoreNonConfigurable:r=!1}={}){let{name:n}=e;for(let n of Reflect.ownKeys(t))iG(e,t,n,r);iH(e,t),iX(e,t,n);}(o,e),iW.set(o,n),o;};iY.callCount=e=>{if(!iW.has(e))throw Error(`The given function \`${e.name}\` is not wrapped by the \`onetime\` package`);return iW.get(e);},rB=iY;const iK=()=>Array.from({length:iZ-iQ+1},iJ),iJ=(e,t)=>({name:"SIGRT"+(t+1),number:iQ+t,action:"terminate",description:"Application-specific signal (realtime)",standard:"posix"}),iQ=34,iZ=64,i0=[{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"}],i1=()=>[...i0,...iK()].map(i2),i2=({name:e,number:t,description:r,action:n,forced:i=!1,standard:o})=>{let{signals:{[e]:s}}=rt.constants,a=void 0!==s;return{name:e,number:a?s:t,description:r,supported:a,action:n,forced:i,standard:o};},i3=Object.fromEntries(i1().map(({name:e,number:t,description:r,supported:n,action:i,forced:o,standard:s})=>[e,{name:e,number:t,description:r,supported:n,action:i,forced:o,standard:s}])),i4=(e,t)=>{let r=i6(e,t);if(void 0===r)return{};let{name:n,description:i,supported:o,action:s,forced:a,standard:l}=r;return{[e]:{name:n,number:e,description:i,supported:o,action:s,forced:a,standard:l}};},i6=(e,t)=>{let r=t.find(({name:t})=>rt.constants.signals[t]===e);return void 0!==r?r:t.find(t=>t.number===e);};(()=>{let e=i1();return Object.assign({},...Array.from({length:iZ+1},(t,r)=>i4(r,e)));})();const i8=({timedOut:e,timeout:t,errorCode:r,signal:n,signalDescription:i,exitCode:o,isCanceled:s})=>e?`timed out after ${t} milliseconds`:s?"was canceled":void 0!==r?"failed with "+r:void 0!==n?`was killed with ${n} (${i})`:void 0!==o?"failed with exit code "+o:"failed",i5=({stdout:e,stderr:t,all:r,error:n,signal:i,exitCode:o,command:s,escapedCommand:a,timedOut:l,isCanceled:c,killed:p,parsed:{options:{timeout:d,cwd:f=u(ro).cwd()}}})=>{o=null===o?void 0:o;let h=void 0===(i=null===i?void 0:i)?void 0:i3[i].description,m=i8({timedOut:l,timeout:d,errorCode:n&&n.code,signal:i,signalDescription:h,exitCode:o,isCanceled:c}),v=`Command ${m}: ${s}`,g="[object Error]"===Object.prototype.toString.call(n),E=g?`${v} +${n.message}`:v,y=[E,t,e].filter(Boolean).join("\n");return g?(n.originalMessage=n.message,n.message=y):n=Error(y),n.shortMessage=E,n.command=s,n.escapedCommand=a,n.exitCode=o,n.signal=i,n.signalDescription=h,n.stdout=e,n.stderr=t,n.cwd=f,void 0!==r&&(n.all=r),"bufferedData"in n&&delete n.bufferedData,n.failed=!0,n.timedOut=!!l,n.isCanceled=c,n.killed=p&&!l,n;},i7=["stdin","stdout","stderr"],i9=e=>i7.some(t=>void 0!==e[t]),oe=e=>{if(!e)return;let{stdio:t}=e;if(void 0===t)return i7.map(t=>e[t]);if(i9(e))throw Error("It's not possible to provide `stdio` in combination with one of "+i7.map(e=>`\`${e}\``).join(", "));if("string"==typeof t)return t;if(!Array.isArray(t))throw TypeError(`Expected \`stdio\` to be of type \`string\` or \`Array\`, got \`${typeof t}\``);return Array.from({length:Math.max(t.length,i7.length)},(e,r)=>t[r]);};rH={};const ot=function(e){return 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(ot(rq=rf.process)){var or,on=t6,oi=rv("i3ASI"),oo=/^win/i.test(rq.platform),os=t4;"function"!=typeof os&&(os=os.EventEmitter),rq.__signal_exit_emitter__?or=rq.__signal_exit_emitter__:((or=rq.__signal_exit_emitter__=new os()).count=0,or.emitted={}),or.infinite||(or.setMaxListeners(1/0),or.infinite=!0);var oa=function(){oc&&ot(rf.process)&&(oc=!1,oi.forEach(function(e){try{rq.removeListener(e,ou[e]);}catch(e){}}),rq.emit=oh,rq.reallyExit=od,or.count-=1);};(rH=function(e,t){if(!ot(rf.process))return function(){};on.equal(typeof e,"function","a callback must be provided for exit handler"),!1===oc&&op();var r="exit";return t&&t.alwaysLast&&(r="afterexit"),or.on(r,e),function(){or.removeListener(r,e),0===or.listeners("exit").length&&0===or.listeners("afterexit").length&&oa();};}).unload=oa;var ol=function(e,t,r){or.emitted[e]||(or.emitted[e]=!0,or.emit(e,t,r));},ou={};oi.forEach(function(e){ou[e]=function(){ot(rf.process)&&rq.listeners(e).length===or.count&&(oa(),ol("exit",null,e),ol("afterexit",null,e),oo&&"SIGHUP"===e&&(e="SIGINT"),rq.kill(rq.pid,e));};}),rH.signals=function(){return oi;};var oc=!1,op=function(){!oc&&ot(rf.process)&&(oc=!0,or.count+=1,oi=oi.filter(function(e){try{return rq.on(e,ou[e]),!0;}catch(e){return!1;}}),rq.emit=om,rq.reallyExit=of);};rH.load=op;var od=rq.reallyExit,of=function(e){ot(rf.process)&&(rq.exitCode=e||0,ol("exit",rq.exitCode,null),ol("afterexit",rq.exitCode,null),od.call(rq,rq.exitCode));},oh=rq.emit,om=function(e,t){if(!("exit"===e&&ot(rf.process)))return oh.apply(this,arguments);void 0!==t&&(rq.exitCode=t);var r=oh.apply(this,arguments);return ol("exit",rq.exitCode,null),ol("afterexit",rq.exitCode,null),r;};}else rH=function(){return function(){};};const ov=(e,t="SIGTERM",r={})=>{let n=e(t);return og(e,t,r,n),n;},og=(e,t,r,n)=>{if(!oE(t,r,n))return;let i=setTimeout(()=>{e("SIGKILL");},ow(r));i.unref&&i.unref();},oE=(e,{forceKillAfterTimeout:t},r)=>oy(e)&&!1!==t&&r,oy=e=>e===u(rt).constants.signals.SIGTERM||"string"==typeof e&&"SIGTERM"===e.toUpperCase(),ow=({forceKillAfterTimeout:e=!0})=>{if(!0===e)return 5e3;if(!Number.isFinite(e)||e<0)throw TypeError(`Expected the \`forceKillAfterTimeout\` option to be a non-negative integer, got \`${e}\` (${typeof e})`);return e;},ox=(e,t)=>{e.kill()&&(t.isCanceled=!0);},ob=(e,t,r)=>{e.kill(t),r(Object.assign(Error("Timed out"),{timedOut:!0,signal:t}));},oR=(e,{timeout:t,killSignal:r="SIGTERM"},n)=>{let i;return 0===t||void 0===t?n:Promise.race([new Promise((n,o)=>{i=setTimeout(()=>{ob(e,r,o);},t);}),n.finally(()=>{clearTimeout(i);})]);},oI=({timeout:e})=>{if(void 0!==e&&(!Number.isFinite(e)||e<0))throw TypeError(`Expected the \`timeout\` option to be a non-negative integer, got \`${e}\` (${typeof e})`);},oO=async(e,{cleanup:t,detached:r},n)=>{if(!t||r)return n;let i=u(rH)(()=>{e.kill();});return n.finally(()=>{i();});},oS=e=>e instanceof ri.ChildProcess&&"function"==typeof e.then,oT=(e,t,r)=>{if("string"==typeof r)return e[t].pipe((0,t5.createWriteStream)(r)),e;if(y(r))return e[t].pipe(r),e;if(!oS(r))throw TypeError("The second argument must be a string, a stream or an Execa child process.");if(!y(r.stdin))throw TypeError("The target child process's stdin must be available.");return e[t].pipe(r.stdin),r;},oC=e=>{null!==e.stdout&&(e.pipeStdout=oT.bind(void 0,e,"stdout")),null!==e.stderr&&(e.pipeStderr=oT.bind(void 0,e,"stderr")),void 0!==e.all&&(e.pipeAll=oT.bind(void 0,e,"all"));};rz={},rV=ra.constants,rX=t8.promisify,rW={},rY=rl.PassThrough,rW=e=>{let{array:t}=e={...e},{encoding:r}=e,n="buffer"===r,i=!1;t?i=!(r||n):r=r||"utf8",n&&(r=null);let o=new rY({objectMode:i});r&&o.setEncoding(r);let s=0,a=[];return o.on("data",e=>{a.push(e),i?s=a.length:s+=e.length;}),o.getBufferedValue=()=>t?a:n?Buffer.concat(a,s):a.join(""),o.getBufferedLength=()=>s,o;};const o$=rX(rl.pipeline);class oA extends Error{constructor(){super("maxBuffer exceeded"),this.name="MaxBufferError";}}(rz=w).buffer=(e,t)=>w(e,{...t,encoding:"buffer"}),rz.array=(e,t)=>w(e,{...t,array:!0}),rz.MaxBufferError=oA,rK={},rJ=rl.PassThrough,rK=function(){function e(i){return Array.isArray(i)?i.forEach(e):(r.push(i),i.once("end",t.bind(null,i)),i.once("error",n.emit.bind(n,"error")),i.pipe(n,{end:!1})),this;}function t(e){!(r=r.filter(function(t){return t!==e;})).length&&n.readable&&n.end();}var r=[],n=new rJ({objectMode:!0});return n.setMaxListeners(0),n.add=e,n.isEmpty=function(){return 0==r.length;},n.on("unpipe",t),Array.prototype.slice.call(arguments).forEach(e),n;};const o_=e=>{if(void 0!==e)throw TypeError("The `input` and `inputFile` options cannot be both set.");},oP=({input:e,inputFile:t})=>"string"!=typeof t?e:(o_(e),(0,t5.readFileSync)(t)),oL=e=>{let t=oP(e);if(E(t))throw TypeError("The `input` option cannot be a stream in sync mode");return t;},oN=({input:e,inputFile:t})=>"string"!=typeof t?e:(o_(e),(0,t5.createReadStream)(t)),ok=(e,t)=>{let r=oN(t);void 0!==r&&(E(r)?r.pipe(e.stdin):e.stdin.end(r));},oD=(e,{all:t})=>{if(!t||!e.stdout&&!e.stderr)return;let r=u(rK)();return e.stdout&&r.add(e.stdout),e.stderr&&r.add(e.stderr),r;},oU=async(e,t)=>{if(e&&void 0!==t){e.destroy();try{return await t;}catch(e){return e.bufferedData;}}},oj=(e,{encoding:t,buffer:r,maxBuffer:n})=>{if(e&&r)return t?u(rz)(e,{encoding:t,maxBuffer:n}):u(rz).buffer(e,{maxBuffer:n});},oM=async({stdout:e,stderr:t,all:r},{encoding:n,buffer:i,maxBuffer:o},s)=>{let a=oj(e,{encoding:n,buffer:i,maxBuffer:o}),l=oj(t,{encoding:n,buffer:i,maxBuffer:o}),u=oj(r,{encoding:n,buffer:i,maxBuffer:2*o});try{return await Promise.all([s,a,l,u]);}catch(n){return Promise.all([{error:n,signal:n.signal,timedOut:n.timedOut},oU(e,a),oU(t,l),oU(r,u)]);}},oF=(async()=>{})().constructor.prototype,oG=["then","catch","finally"].map(e=>[e,Reflect.getOwnPropertyDescriptor(oF,e)]),oB=(e,t)=>{for(let[r,n]of oG){let i="function"==typeof t?(...e)=>Reflect.apply(n.value,t(),e):n.value.bind(t);Reflect.defineProperty(e,r,{...n,value:i});}},oH=e=>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);});}),oq=(e,t=[])=>Array.isArray(t)?[e,...t]:[e],oz=e=>"string"!=typeof e||/^[\w.-]+$/.test(e)?e:`"${e.replace(/"/g,'\\"')}"`,oV=(e,t)=>oq(e,t).join(" "),oX=(e,t)=>oq(e,t).map(e=>oz(e)).join(" "),oW=e=>{let t=[];for(let r of e.trim().split(/ +/g)){let e=t[t.length-1];e&&e.endsWith("\\")?t[t.length-1]=`${e.slice(0,-1)} ${r}`:t.push(r);}return t;},oY=e=>{let t=typeof e;if("string"===t)return e;if("number"===t)return e+"";if("object"===t&&null!==e&&!(e instanceof ri.ChildProcess)&&"stdout"in e){let t=typeof e.stdout;if("string"===t)return e.stdout;if((0,rr.Buffer).isBuffer(e.stdout))return e.stdout.toString();throw TypeError(`Unexpected "${t}" stdout in template expression`);}throw TypeError(`Unexpected "${t}" in template expression`);},oK=(e,t,r)=>r||0===e.length||0===t.length?[...e,...t]:[...e.slice(0,-1),`${e[e.length-1]}${t[0]}`,...t.slice(1)],oJ=({templates:e,expressions:t,tokens:r,index:n,template:i})=>{let o=i??e.raw[n],s=oK(r,o.split(/ +/g).filter(Boolean),o.startsWith(" "));if(n===t.length)return s;let a=t[n];return oK(s,Array.isArray(a)?a.map(e=>oY(e)):[oY(a)],o.endsWith(" "));},oQ=(e,t)=>{let r=[];for(let[n,i]of e.entries())r=oJ({templates:e,expressions:t,tokens:r,index:n,template:i});return r;},oZ=(0,ru.debuglog)("execa").enabled,o0=(e,t)=>(e+"").padStart(t,"0"),o1=()=>{let e=new Date();return`${o0(e.getHours(),2)}:${o0(e.getMinutes(),2)}:${o0(e.getSeconds(),2)}.${o0(e.getMilliseconds(),3)}`;},o2=(e,{verbose:t})=>{t&&u(ro).stderr.write(`[${o1()}] ${e} +`);},o3=({env:e,extendEnv:t,preferLocal:r,localDir:n,execPath:i})=>{let o=t?{...u(ro).env,...e}:e;return r?g({env:o,cwd:n,execPath:i}):o;},o4=(e,t,r={})=>{let n=u(r_)._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||u(ro).cwd(),execPath:u(ro).execPath,encoding:"utf8",reject:!0,cleanup:!0,all:!1,windowsHide:!0,verbose:oZ,...r}).env=o3(r),r.stdio=oe(r),"win32"===u(ro).platform&&"cmd"===u(rn).basename(e,".exe")&&t.unshift("/q"),{file:e,args:t,options:r,parsed:n};},o6=(e,t,r)=>"string"==typeof t||(0,rr.Buffer).isBuffer(t)?e.stripFinalNewline?m(t):t:void 0===r?void 0:"",o8=({input:e,inputFile:t,stdio:r})=>void 0===e&&void 0===t&&void 0===r?{stdin:"inherit"}:{},o5=(e={})=>({preferLocal:!0,...o8(e),...e});!function e(t){function r(n,...i){if(!Array.isArray(n))return e({...t,...n});let[o,...s]=oQ(n,i);return x(o,s,o5(t));}return r.sync=(e,...r)=>{if(!Array.isArray(e))throw TypeError("Please use $(options).sync`command` instead of $.sync(options)`command`.");let[n,...i]=oQ(e,r);return b(n,i,o5(t));},r;}();const o7={stdio:"inherit",shell:!0};ry=rv("7Lz0k"),rQ={},rZ=rv("bLhaJ"),r0=rc.env.npm_package_json,r2=!!((r1=rc.env.npm_config_user_agent)&&r1.startsWith("npm")),r3=!!(r0&&r0.endsWith("package.json")),r4=!!(r1&&r1.startsWith("yarn")),r6=r2||r3||r4,r8=nV.homedir(),r5=process.env.XDG_CONFIG_HOME||nX.join(r8,".config","simple-update-notifier"),r7=function(e){return nX.join(r5,"".concat(e.replace("@","").replace("/","__"),".json"));},r9=function(){nW.existsSync(r5)||nW.mkdirSync(r5,{recursive:!0});},ne=function(e){var t=r7(e);try{if(!nW.existsSync(t))return;return JSON.parse(nW.readFileSync(t,"utf8")).lastUpdateCheck;}catch(e){return;}},nt=function(e){var t=r7(e);nW.writeFileSync(t,JSON.stringify({lastUpdateCheck:new Date().getTime()}));},nr=function(e){var t=e.pkg,r=e.updateCheckInterval,n=void 0===r?864e5:r,i=e.distTag,o=void 0===i?"latest":i,s=e.alwaysRun,a=e.debug;return A(void 0,void 0,void 0,function(){var e,r;return _(this,function(i){switch(i.label){case 0:var l;if(r9(),e=ne(t.name),!(s||!e||ee?`timed out after ${t} milliseconds`:s?"was canceled":void 0!==r?"failed with "+r:void 0!==n?`was killed with ${n} (${i})`:void 0!==o?"failed with exit code "+o:"failed",se=({stdout:e,stderr:t,all:r,error:n,signal:i,exitCode:o,command:s,escapedCommand:a,timedOut:l,isCanceled:u,killed:c,parsed:{options:{timeout:p}}})=>{o=null===o?void 0:o;let d=void 0===(i=null===i?void 0:i)?void 0:i3[i].description,f=o9({timedOut:l,timeout:p,errorCode:n&&n.code,signal:i,signalDescription:d,exitCode:o,isCanceled:u}),h=`Command ${f}: ${s}`,m="[object Error]"===Object.prototype.toString.call(n),v=m?`${h} +${n.message}`:h,g=[v,t,e].filter(Boolean).join("\n");return m?(n.originalMessage=n.message,n.message=g):n=Error(g),n.shortMessage=v,n.command=s,n.escapedCommand=a,n.exitCode=o,n.signal=i,n.signalDescription=d,n.stdout=e,n.stderr=t,void 0!==r&&(n.all=r),"bufferedData"in n&&delete n.bufferedData,n.failed=!0,n.timedOut=!!l,n.isCanceled=u,n.killed=c&&!l,n;},st=["stdin","stdout","stderr"],sr=e=>st.some(t=>void 0!==e[t]),sn=e=>{if(!e)return;let{stdio:t}=e;if(void 0===t)return st.map(t=>e[t]);if(sr(e))throw Error("It's not possible to provide `stdio` in combination with one of "+st.map(e=>`\`${e}\``).join(", "));if("string"==typeof t)return t;if(!Array.isArray(t))throw TypeError(`Expected \`stdio\` to be of type \`string\` or \`Array\`, got \`${typeof t}\``);return Array.from({length:Math.max(t.length,st.length)},(e,r)=>t[r]);},si=(e,t="SIGTERM",r={})=>{let n=e(t);return so(e,t,r,n),n;},so=(e,t,r,n)=>{if(!ss(t,r,n))return;let i=setTimeout(()=>{e("SIGKILL");},sl(r));i.unref&&i.unref();},ss=(e,{forceKillAfterTimeout:t},r)=>sa(e)&&!1!==t&&r,sa=e=>e===u(rt).constants.signals.SIGTERM||"string"==typeof e&&"SIGTERM"===e.toUpperCase(),sl=({forceKillAfterTimeout:e=!0})=>{if(!0===e)return 5e3;if(!Number.isFinite(e)||e<0)throw TypeError(`Expected the \`forceKillAfterTimeout\` option to be a non-negative integer, got \`${e}\` (${typeof e})`);return e;},su=(e,t)=>{e.kill()&&(t.isCanceled=!0);},sc=(e,t,r)=>{e.kill(t),r(Object.assign(Error("Timed out"),{timedOut:!0,signal:t}));},sp=(e,{timeout:t,killSignal:r="SIGTERM"},n)=>{let i;return 0===t||void 0===t?n:Promise.race([new Promise((n,o)=>{i=setTimeout(()=>{sc(e,r,o);},t);}),n.finally(()=>{clearTimeout(i);})]);},sd=({timeout:e})=>{if(void 0!==e&&(!Number.isFinite(e)||e<0))throw TypeError(`Expected the \`timeout\` option to be a non-negative integer, got \`${e}\` (${typeof e})`);},sf=async(e,{cleanup:t,detached:r},n)=>{if(!t||r)return n;let i=u(rH)(()=>{e.kill();});return n.finally(()=>{i();});},sh=e=>e instanceof ri.ChildProcess&&"function"==typeof e.then,sm=(e,t,r)=>{if("string"==typeof r)return e[t].pipe((0,t5.createWriteStream)(r)),e;if(y(r))return e[t].pipe(r),e;if(!sh(r))throw TypeError("The second argument must be a string, a stream or an Execa child process.");if(!y(r.stdin))throw TypeError("The target child process's stdin must be available.");return e[t].pipe(r.stdin),r;},sv=e=>{null!==e.stdout&&(e.pipeStdout=sm.bind(void 0,e,"stdout")),null!==e.stderr&&(e.pipeStderr=sm.bind(void 0,e,"stderr")),void 0!==e.all&&(e.pipeAll=sm.bind(void 0,e,"all"));},sg=e=>{if(void 0!==e)throw TypeError("The `input` and `inputFile` options cannot be both set.");},sE=({input:e,inputFile:t})=>"string"!=typeof t?e:(sg(e),(0,t5.readFileSync)(t)),sy=e=>{let t=sE(e);if(E(t))throw TypeError("The `input` option cannot be a stream in sync mode");return t;},sw=({input:e,inputFile:t})=>"string"!=typeof t?e:(sg(e),(0,t5.createReadStream)(t)),sx=(e,t)=>{let r=sw(t);void 0!==r&&(E(r)?r.pipe(e.stdin):e.stdin.end(r));},sb=(e,{all:t})=>{if(!t||!e.stdout&&!e.stderr)return;let r=u(rK)();return e.stdout&&r.add(e.stdout),e.stderr&&r.add(e.stderr),r;},sR=async(e,t)=>{if(e&&void 0!==t){e.destroy();try{return await t;}catch(e){return e.bufferedData;}}},sI=(e,{encoding:t,buffer:r,maxBuffer:n})=>{if(e&&r)return t?u(rz)(e,{encoding:t,maxBuffer:n}):u(rz).buffer(e,{maxBuffer:n});},sO=async({stdout:e,stderr:t,all:r},{encoding:n,buffer:i,maxBuffer:o},s)=>{let a=sI(e,{encoding:n,buffer:i,maxBuffer:o}),l=sI(t,{encoding:n,buffer:i,maxBuffer:o}),u=sI(r,{encoding:n,buffer:i,maxBuffer:2*o});try{return await Promise.all([s,a,l,u]);}catch(n){return Promise.all([{error:n,signal:n.signal,timedOut:n.timedOut},sR(e,a),sR(t,l),sR(r,u)]);}},sS=(async()=>{})().constructor.prototype,sT=["then","catch","finally"].map(e=>[e,Reflect.getOwnPropertyDescriptor(sS,e)]),sC=(e,t)=>{for(let[r,n]of sT){let i="function"==typeof t?(...e)=>Reflect.apply(n.value,t(),e):n.value.bind(t);Reflect.defineProperty(e,r,{...n,value:i});}},s$=e=>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);});}),sA=(e,t=[])=>Array.isArray(t)?[e,...t]:[e],s_=e=>"string"!=typeof e||/^[\w.-]+$/.test(e)?e:`"${e.replace(/"/g,'\\"')}"`,sP=(e,t)=>sA(e,t).join(" "),sL=(e,t)=>sA(e,t).map(e=>s_(e)).join(" "),sN=e=>{let t=typeof e;if("string"===t)return e;if("number"===t)return e+"";if("object"===t&&null!==e&&!(e instanceof ri.ChildProcess)&&"stdout"in e){let t=typeof e.stdout;if("string"===t)return e.stdout;if((0,rr.Buffer).isBuffer(e.stdout))return e.stdout.toString();throw TypeError(`Unexpected "${t}" stdout in template expression`);}throw TypeError(`Unexpected "${t}" in template expression`);},sk=(e,t,r)=>r||0===e.length||0===t.length?[...e,...t]:[...e.slice(0,-1),`${e[e.length-1]}${t[0]}`,...t.slice(1)],sD=({templates:e,expressions:t,tokens:r,index:n,template:i})=>{let o=i??e.raw[n],s=sk(r,o.split(/ +/g).filter(Boolean),o.startsWith(" "));if(n===t.length)return s;let a=t[n];return sk(s,Array.isArray(a)?a.map(e=>sN(e)):[sN(a)],o.endsWith(" "));},sU=(e,t)=>{let r=[];for(let[n,i]of e.entries())r=sD({templates:e,expressions:t,tokens:r,index:n,template:i});return r;},sj=(0,ru.debuglog)("execa").enabled,sM=(e,t)=>(e+"").padStart(t,"0"),sF=()=>{let e=new Date();return`${sM(e.getHours(),2)}:${sM(e.getMinutes(),2)}:${sM(e.getSeconds(),2)}.${sM(e.getMilliseconds(),3)}`;},sG=(e,{verbose:t})=>{t&&u(ro).stderr.write(`[${sF()}] ${e} +`);},sB=({env:e,extendEnv:t,preferLocal:r,localDir:n,execPath:i})=>{let o=t?{...u(ro).env,...e}:e;return r?g({env:o,cwd:n,execPath:i}):o;},sH=(e,t,r={})=>{let n=u(r_)._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||u(ro).cwd(),execPath:u(ro).execPath,encoding:"utf8",reject:!0,cleanup:!0,all:!1,windowsHide:!0,verbose:sj,...r}).env=sB(r),r.stdio=sn(r),"win32"===u(ro).platform&&"cmd"===u(rn).basename(e,".exe")&&t.unshift("/q"),{file:e,args:t,options:r,parsed:n};},sq=(e,t,r)=>"string"==typeof t||(0,rr.Buffer).isBuffer(t)?e.stripFinalNewline?m(t):t:void 0===r?void 0:"",sz=({input:e,inputFile:t,stdio:r})=>void 0===e&&void 0===t&&void 0===r?{stdin:"inherit"}:{},sV=(e={})=>({preferLocal:!0,...sz(e),...e});!function e(t){function r(n,...i){if(!Array.isArray(n))return e({...t,...n});let[o,...s]=sU(n,i);return N(o,s,sV(t));}return r.sync=(e,...r)=>{if(!Array.isArray(e))throw TypeError("Please use $(options).sync`command` instead of $.sync(options)`command`.");let[n,...i]=sU(e,r);return function(e,t,r){let n;let i=sH(e,t,r),o=sP(e,t),s=sL(e,t);sG(s,i.options);let a=sy(i.options);try{n=u(ri).spawnSync(i.file,i.args,{...i.options,input:a});}catch(e){throw se({error:e,stdout:"",stderr:"",all:"",command:o,escapedCommand:s,parsed:i,timedOut:!1,isCanceled:!1,killed:!1});}let l=sq(i.options,n.stdout,n.error),c=sq(i.options,n.stderr,n.error);if(n.error||0!==n.status||null!==n.signal){let e=se({stdout:l,stderr:c,error:n.error,signal:n.signal,exitCode:n.status,command:o,escapedCommand:s,parsed:i,timedOut:n.error&&"ETIMEDOUT"===n.error.code,isCanceled:!1,killed:null!==n.signal});if(!i.options.reject)return e;throw e;}return{command:o,escapedCommand:s,exitCode:0,stdout:l,stderr:c,failed:!1,timedOut:!1,isCanceled:!1,killed:!1};}(n,i,sV(t));},r;}(),ns={};const sX="win32"!==nV.platform(),sW=nV.release(),sY=(e="",t="")=>/1\d+\.\d+/.test(e)&&+t>=17134.1184;ns=function(e){return sX?e.replace(/(\s+)/g,"\\$1"):sY(.../(\d+\.\d+)\.(\d+)/.exec(sW).splice(1))?e:e.replace(/(\s+)/g,"%20");},function(){var e,t;e=rv("kOEfP"),t=function(e){return e.split("").reverse().join("");},na=function(r,n,i){var o;return(null==n&&(n="'"),null==i&&(i="\\"),"string"!=typeof r)?r:(o=RegExp("(["+e(n)+"])(?!"+e(i)+")","g"),t(t(r).replace(o,"$1"+i)));};}.call(na={}),nl=rv("6MdIz");const sK={shouldEscapeSpace:!1,shouldAddOnlyIfNotDefined:!1},sJ=[/\/usr\/bin\/?/,/\/usr\/local\/bin\/?/],sQ=$(".cpprc");let sZ=!1;nl=rv("6MdIz"),nu=rv("lt3fY"),ry=rv("7Lz0k");const{appendFile:s0}=nW.promises;let s1=!1,s2=!1;const s3=["E: Could not get lock","dpkg: error processing archive","dpkg: error: dpkg status database is locked by another process"];(t1=nc||(nc={}))[t1.NameDashVersion=0]="NameDashVersion",t1[t1.NameEqualsVersion=1]="NameEqualsVersion",t1[t1.Name=2]="Name",t1[t1.None=3]="None",no=rv("kDRhL"),np=rv("bLa2q"),np=rv("bLa2q"),nd=rv("alxPC");let s4=!1;nl=rv("6MdIz"),np=rv("bLa2q"),ry=rv("7Lz0k");let s6=!1;ry=rv("7Lz0k"),ry=rv("7Lz0k");let s8=!1,s5=!1;const s7=/Version\s*:\s*(.*)/g;nf={},nh=nX.resolve(__dirname,"../../node_modules/@actions/tool-cache/lib"),nm=nf&&nf.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r];}});}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r];}),nv=nf&&nf.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),ng=nf&&nf.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.hasOwnProperty.call(e,r)&&nm(t,e,r);return nv(t,e),t;},nE=nf&&nf.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e));}catch(e){o(e);}}function a(e){try{l(n.throw(e));}catch(e){o(e);}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t);})).then(s,a);}l((n=n.apply(e,t||[])).next());});},ny=nf&&nf.__importDefault||function(e){return e&&e.__esModule?e:{default:e};},Object.defineProperty(nf,"__esModule",{value:!0}),nf.evaluateVersions=nf.isExplicitVersion=nf.findFromManifest=nf.getManifestFromRepo=nf.findAllVersions=nf.find=nf.cacheFile=nf.cacheDir=nf.extractZip=nf.extractXar=nf.extractTar=nf.extract7z=nf.downloadTool=nf.HTTPError=void 0;const s9=ng(rv("kDRhL")),ae=ng(rv("alxPC")),at=ng(nW),ar=ng(rv("hNLZB")),an=ng(nV),ai=ng(nX),ao=ng(rv("3BbEx")),as=ng(rv("7t9v9")),aa=ng(rl),al=ng(t8),au=ny(rv("6M6mp"));nw=rv("7J8UA"),nb=(nx={},nx.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r];}});}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r];})),nR=nx&&nx.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),nI=nx&&nx.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.hasOwnProperty.call(e,r)&&nb(t,e,r);return nR(t,e),t;},nO=nx&&nx.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e));}catch(e){o(e);}}function a(e){try{l(n.throw(e));}catch(e){o(e);}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t);})).then(s,a);}l((n=n.apply(e,t||[])).next());});},Object.defineProperty(nx,"__esModule",{value:!0}),nx.RetryHelper=void 0;const ac=nI(rv("kDRhL"));nx.RetryHelper=class{constructor(e,t,r){if(e<1)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 nO(this,void 0,void 0,function*(){let r=1;for(;rsetTimeout(t,1e3*e));});}};class ap extends Error{constructor(e){super("Unexpected HTTP response: "+e),this.httpStatusCode=e,Object.setPrototypeOf(this,new.target.prototype);}}nf.HTTPError=ap;const ad="win32"===process.platform,af="darwin"===process.platform;nf.downloadTool=function(e,t,r,n){return nE(this,void 0,void 0,function*(){t=t||ai.join(ey(),au.default()),yield ae.mkdirP(ai.dirname(t)),s9.debug("Downloading "+e),s9.debug("Destination "+t);let i=ew("TEST_DOWNLOAD_TOOL_RETRY_MIN_SECONDS",10),o=ew("TEST_DOWNLOAD_TOOL_RETRY_MAX_SECONDS",20),s=new nx.RetryHelper(3,i,o);return yield s.execute(()=>nE(this,void 0,void 0,function*(){return yield function(e,t,r,n){return nE(this,void 0,void 0,function*(){if(at.existsSync(t))throw Error(`Destination file path ${t} already exists`);let i=new ao.HttpClient("actions/tool-cache",[],{allowRetries:!1});r&&(s9.debug("set auth"),void 0===n&&(n={}),n.authorization=r);let o=yield i.get(e,n);if(200!==o.message.statusCode){let t=new ap(o.message.statusCode);throw s9.debug(`Failed to download from "${e}". Code(${o.message.statusCode}) Message(${o.message.statusMessage})`),t;}let s=al.promisify(aa.pipeline),a=ew("TEST_DOWNLOAD_TOOL_RESPONSE_MESSAGE_FACTORY",()=>o.message)(),l=!1;try{return yield s(a,at.createWriteStream(t)),s9.debug("download complete"),l=!0,t;}finally{if(!l){s9.debug("download failed");try{yield ae.rmRF(t);}catch(e){s9.debug(`Failed to delete '${t}'. ${e.message}`);}}}});}(e,t||"",r,n);}),e=>!(e instanceof ap)||!e.httpStatusCode||!(e.httpStatusCode<500)||408===e.httpStatusCode||429===e.httpStatusCode);});},nf.extract7z=function(e,t,r){return nE(this,void 0,void 0,function*(){t6.ok(ad,"extract7z() not supported on current OS"),t6.ok(e,'parameter "file" is required'),t=yield ef(t);let n=process.cwd();if(process.chdir(t),r)try{let t=s9.isDebug()?"-bb1":"-bb0";yield nw.exec(`"${r}"`,["x",t,"-bd","-sccUTF-8",e],{silent:!0});}finally{process.chdir(n);}else{let r=ai.join(nh,"..","scripts","Invoke-7zdec.ps1").replace(/'/g,"''").replace(/"|\n|\r/g,""),i=e.replace(/'/g,"''").replace(/"|\n|\r/g,""),o=t.replace(/'/g,"''").replace(/"|\n|\r/g,""),s=`& '${r}' -Source '${i}' -Target '${o}'`;try{let e=yield ae.which("powershell",!0);yield nw.exec(`"${e}"`,["-NoLogo","-Sta","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",s],{silent:!0});}finally{process.chdir(n);}}return t;});},nf.extractTar=function(e,t,r="xz"){return nE(this,void 0,void 0,function*(){let n;if(!e)throw Error("parameter 'file' is required");t=yield ef(t),s9.debug("Checking tar --version");let i="";yield nw.exec("tar --version",[],{ignoreReturnCode:!0,silent:!0,listeners:{stdout:e=>i+=e.toString(),stderr:e=>i+=e.toString()}}),s9.debug(i.trim());let o=i.toUpperCase().includes("GNU TAR");n=r instanceof Array?r:[r],s9.isDebug()&&!r.includes("v")&&n.push("-v");let s=t,a=e;return ad&&o&&(n.push("--force-local"),s=t.replace(/\\/g,"/"),a=e.replace(/\\/g,"/")),o&&(n.push("--warning=no-unknown-keyword"),n.push("--overwrite")),n.push("-C",s,"-f",a),yield nw.exec("tar",n),t;});},nf.extractXar=function(e,t,r=[]){return nE(this,void 0,void 0,function*(){var n;let i;t6.ok(af,"extractXar() not supported on current OS"),t6.ok(e,'parameter "file" is required'),t=yield ef(t),(i=r instanceof Array?r:[r]).push("-x","-C",t,"-f",e),s9.isDebug()&&i.push("-v");let o=yield ae.which("xar",!0);return yield nw.exec(`"${o}"`,(n=i,Array.from(new Set(n)))),t;});},nf.extractZip=function(e,t){return nE(this,void 0,void 0,function*(){if(!e)throw Error("parameter 'file' is required");return t=yield ef(t),ad?yield function(e,t){return nE(this,void 0,void 0,function*(){let r=e.replace(/'/g,"''").replace(/"|\n|\r/g,""),n=t.replace(/'/g,"''").replace(/"|\n|\r/g,""),i=yield ae.which("pwsh",!1);if(i){let e=`$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 $_ } } ;`;s9.debug("Using pwsh at path: "+i),yield nw.exec(`"${i}"`,["-NoLogo","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",e]);}else{let e=`$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) }`,t=yield ae.which("powershell",!0);s9.debug("Using powershell at path: "+t),yield nw.exec(`"${t}"`,["-NoLogo","-Sta","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",e]);}});}(e,t):yield function(e,t){return nE(this,void 0,void 0,function*(){let r=yield ae.which("unzip",!0),n=[e];s9.isDebug()||n.unshift("-q"),n.unshift("-o"),yield nw.exec(`"${r}"`,n,{cwd:t});});}(e,t),t;});},nf.cacheDir=function(e,t,r,n){return nE(this,void 0,void 0,function*(){if(r=as.clean(r)||r,n=n||an.arch(),s9.debug(`Caching tool ${t} ${r} ${n}`),s9.debug("source dir: "+e),!at.statSync(e).isDirectory())throw Error("sourceDir is not a directory");let i=yield eh(t,r,n);for(let t of at.readdirSync(e)){let r=ai.join(e,t);yield ae.cp(r,i,{recursive:!0});}return em(t,r,n),i;});},nf.cacheFile=function(e,t,r,n,i){return nE(this,void 0,void 0,function*(){if(n=as.clean(n)||n,i=i||an.arch(),s9.debug(`Caching tool ${r} ${n} ${i}`),s9.debug("source file: "+e),!at.statSync(e).isFile())throw Error("sourceFile is not a file");let o=yield eh(r,n,i),s=ai.join(o,t);return s9.debug("destination file "+s),yield ae.cp(e,s),em(r,n,i),o;});},nf.find=function(e,t,r){if(!e)throw Error("toolName parameter is required");if(!t)throw Error("versionSpec parameter is required");r=r||an.arch(),ev(t)||(t=eg(ed(e,r),t));let n="";if(t){t=as.clean(t)||"";let i=ai.join(eE(),e,t,r);s9.debug("checking cache: "+i),at.existsSync(i)&&at.existsSync(`${i}.complete`)?(s9.debug(`Found tool in cache ${e} ${t} ${r}`),n=i):s9.debug("not found");}return n;},nf.findAllVersions=ed,nf.getManifestFromRepo=function(e,t,r,n="master"){return nE(this,void 0,void 0,function*(){let i=[],o=`https://api.github.com/repos/${e}/${t}/git/trees/${n}`,s=new ao.HttpClient("tool-cache"),a={};r&&(s9.debug("set auth"),a.authorization=r);let l=yield s.getJson(o,a);if(!l.result)return i;let u="";for(let e of l.result.tree)if("versions-manifest.json"===e.path){u=e.url;break;}a.accept="application/vnd.github.VERSION.raw";let c=yield(yield s.get(u,a)).readBody();if(c){c=c.replace(/^\uFEFF/,"");try{i=JSON.parse(c);}catch(e){s9.debug("Invalid json");}}return i;});},nf.findFromManifest=function(e,t,r,n=an.arch()){return nE(this,void 0,void 0,function*(){return yield ar._findMatch(e,t,r,n);});},nf.isExplicitVersion=ev,nf.evaluateVersions=eg,nS=rv("dMdWX"),nT=rv("e7Yt8"),np=rv("bLa2q"),ry=rv("7Lz0k"),rE=rv("l6WDk"),nl=rv("6MdIz"),Object.defineProperty(nC={},"__esModule",{value:!0}),nC.retryAsPromised=nC.TimeoutError=void 0;class ah extends Error{constructor(e,t){super(e),this.name="TimeoutError",this.previous=t;}}nC.TimeoutError=ah,nC.retryAsPromised=ex,nC.default=ex;let am=!1;np=rv("bLa2q"),nd=rv("alxPC"),ry=rv("7Lz0k"),no=rv("kDRhL"),nl=rv("6MdIz"),np=rv("bLa2q"),nw=rv("7J8UA"),rE=rv("l6WDk"),ry=rv("7Lz0k"),n$={isEqual:!0,isMatchingKey:!0,isPromise:!0,maxSize:!0,onCacheAdd:!0,onCacheChange:!0,onCacheHit:!0,transformKey:!0},nA=Array.prototype.slice,n_=function(){function e(e){this.keys=[],this.values=[],this.options=e;var t="function"==typeof e.isMatchingKey;t?this.getKeyIndex=this._getKeyIndexFromMatchingKey:e.maxSize>1?this.getKeyIndex=this._getKeyIndexForMany:this.getKeyIndex=this._getKeyIndexForSingle,this.canTransformKey="function"==typeof e.transformKey,this.shouldCloneArguments=this.canTransformKey||t,this.shouldUpdateOnAdd="function"==typeof e.onCacheAdd,this.shouldUpdateOnChange="function"==typeof e.onCacheChange,this.shouldUpdateOnHit="function"==typeof e.onCacheHit;}return Object.defineProperty(e.prototype,"size",{get:function(){return this.keys.length;},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"snapshot",{get:function(){return{keys:e_(this.keys),size:this.size,values:e_(this.values)};},enumerable:!1,configurable:!0}),e.prototype._getKeyIndexFromMatchingKey=function(e){var t=this.options,r=t.isMatchingKey,n=t.maxSize,i=this.keys,o=i.length;if(!o)return-1;if(r(i[0],e))return 0;if(n>1){for(var s=1;o>s;s++)if(r(i[s],e))return s;}return-1;},e.prototype._getKeyIndexForMany=function(e){var t,r,n=this.options.isEqual,i=this.keys,o=i.length;if(!o)return-1;if(1===o)return this._getKeyIndexForSingle(e);var s=e.length;if(s>1){for(var a=0;o>a;a++)if((t=i[a]).length===s){for(r=0;s>r&&n(t[r],e[r]);r++);if(r===s)return a;}}else for(var a=0;o>a;a++)if((t=i[a]).length===s&&n(t[0],e[0]))return a;return-1;},e.prototype._getKeyIndexForSingle=function(e){var t=this.keys;if(!t.length)return-1;var r=t[0],n=r.length;if(e.length!==n)return-1;var i=this.options.isEqual;if(n>1){for(var o=0;n>o;o++)if(!i(r[o],e[o]))return-1;return 0;}return i(r[0],e[0])?0:-1;},e.prototype.orderByLru=function(e,t,r){for(var n=this.keys,i=this.values,o=n.length,s=r;s--;)n[s+1]=n[s],i[s+1]=i[s];n[0]=e,i[0]=t;var a=this.options.maxSize;o===a&&r===o?(n.pop(),i.pop()):r>=a&&(n.length=i.length=a);},e.prototype.updateAsyncCache=function(e){var t=this,r=this.options,n=r.onCacheChange,i=r.onCacheHit,o=this.keys[0],s=this.values[0];this.values[0]=s.then(function(r){return t.shouldUpdateOnHit&&i(t,t.options,e),t.shouldUpdateOnChange&&n(t,t.options,e),r;},function(e){var r=t.getKeyIndex(o);throw-1!==r&&(t.keys.splice(r,1),t.values.splice(r,1)),e;});},e;}(),np=rv("bLa2q"),nP=e=>{if("string"!=typeof e)return!1;let t=e.trim();if(t.includes(" "))return!1;try{return new rp.URL(t),!0;}catch{return!1;}},nL=async e=>{if(!nP(e))return!1;let t=await ek(e,"HEAD");return!!t||!!(t=await ek(e,"GET"));},nN=rv("lTlut"),nT=rv("e7Yt8"),nk=rv("2P6Mr"),nw=rv("7J8UA"),ry=rv("7Lz0k");const av=/v?(\d\S*)/,ag={llvm:eF(),clangtidy:eF(),clangformat:eF(),ninja:"1.11.1",cmake:"3.27.4",gcovr:"6.0",conan:"1.62.0",meson:"1.2.3",kcov:"42",task:"3.31.0",doxygen:ei()?"1.9.8-1":"1.9.8",gcc:ei()?"13.2.1-3":"13"},aE={pip:"22.2.0",python:"3.7.9"},ay={gcc:{22:"13",20:"11",18:"11",16:"11",14:"11"},mingw:{22:"8.0.0-1",20:"7.0.0-2"},llvm:{22:"17.0.5-ubuntu-22.04",20:"17.0.5-ubuntu-22.04",18:"15.0.6-ubuntu-18.04",16:"15.0.6-ubuntu-18.04",14:"13.0.0-ubuntu-16.04"},clangtidy:{22:"17.0.2-ubuntu-22.04",20:"17.0.2-ubuntu-22.04",18:"15.0.6-ubuntu-18.04",16:"15.0.6-ubuntu-18.04",14:"13.0.0-ubuntu-16.04"},clangformat:{22:"17.0.2-ubuntu-22.04",20:"17.0.2-ubuntu-22.04",18:"15.0.6-ubuntu-18.04",16:"15.0.6-ubuntu-18.04",14:"13.0.0-ubuntu-16.04"},gcovr:{22:"6.0",20:"6.0",18:"5.0"},meson:{20:"1.0.0",18:"0.61.4"},nala:{22:"",21:"legacy",20:"legacy",18:"legacy",16:"legacy",14:"legacy"},kcov:{22:"42-binary",20:"40-binary",18:"40",16:"40",14:"40"}};nl=rv("6MdIz");const aw=eN(eZ,{isPromise:!0});ry=rv("7Lz0k"),Object.defineProperty(nD={},"__esModule",{value:!0}),nD.getUbuntuVersion=void 0,nD.getUbuntuVersion=e2;const ax=eN(e3,{isPromise:!0}),ab=eN(e7,{isPromise:!0});np=rv("bLa2q"),ry=rv("7Lz0k"),nl=rv("6MdIz"),nU=rv("5vY1y"),nT=rv("e7Yt8"),nw=rv("7J8UA"),ry=rv("7Lz0k"),np=rv("bLa2q"),ry=rv("7Lz0k"),rE=rv("l6WDk"),nl=rv("6MdIz"),nj=nX.resolve(__dirname,"../../src/gcc");const aR={13:{releaseName:"13.2.0-16.0.6-11.0.0-ucrt-r1",fileSuffix:"13.2.0-mingw-w64ucrt-11.0.0-r1"},"13.2-ucrt":{releaseName:"13.2.0-16.0.6-11.0.0-ucrt-r1",fileSuffix:"13.2.0-mingw-w64ucrt-11.0.0-r1"},"13.2-ucrt-mcf":{releaseName:"13.2.0mcf-16.0.6-11.0.1-ucrt-r2",fileSuffix:"13.2.0-mingw-w64ucrt-11.0.1-r2"},"13.2-msvcrt":{releaseName:"13.2.0-16.0.6-11.0.1-msvcrt-r1",fileSuffix:"13.2.0-mingw-w64msvcrt-11.0.1-r1"},"13.1-ucrt":{releaseName:"13.1.0posix-16.0.3-11.0.0-ucrt-r1",fileSuffix:"13.1.0-mingw-w64ucrt-11.0.0-r1"},"13.1-msvcrt":{releaseName:"13.1.0posix-16.0.3-11.0.0-msvcrt-r1",fileSuffix:"13.1.0-mingw-w64msvcrt-11.0.0-r1"},12:{releaseName:"12.3.0-16.0.4-11.0.0-ucrt-r1",fileSuffix:"12.3.0-mingw-w64ucrt-11.0.0-r1"},"12.3.0-ucrt":{releaseName:"12.3.0-16.0.4-11.0.0-ucrt-r1",fileSuffix:"12.3.0-mingw-w64ucrt-11.0.0-r1"},"12.3.0-msvcrt":{releaseName:"12.3.0-16.0.4-11.0.0-msvcrt-r1",fileSuffix:"12.3.0-mingw-w64msvcrt-11.0.0-r1"},"12.2.0-ucrt":{releaseName:"12.2.0-14.0.6-10.0.0-ucrt-r2",fileSuffix:"12.2.0-mingw-w64ucrt-10.0.0-r2"},"12.2.0-msvcrt":{releaseName:"12.2.0-14.0.6-10.0.0-msvcrt-r2",fileSuffix:"12.2.0-mingw-w64msvcrt-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.5.0-11.0.1-msvcrt-r1",fileSuffix:"10.5.0-mingw-w64msvcrt-11.0.1-r1"},"10.5.0-msvcrt":{releaseName:"10.5.0-11.0.1-msvcrt-r1",fileSuffix:"10.5.0-mingw-w64msvcrt-11.0.1-r1"},"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"}};nk=rv("2P6Mr"),nU=rv("5vY1y"),np=rv("bLa2q"),ry=rv("7Lz0k"),np=rv("bLa2q"),nM=nX.resolve(__dirname,"../../src/kcov"),rE=rv("l6WDk"),ry=rv("7Lz0k"),nl=rv("6MdIz"),np=rv("bLa2q"),no=rv("kDRhL"),ry=rv("7Lz0k"),np=rv("bLa2q"),no=rv("kDRhL");const aI=rc.env["ProgramFiles(x86)"],aO=[rc.env["ProgramFiles(x86)"],rc.env.ProgramFiles],aS=["Enterprise","Professional","Community","BuildTools"],aT=["2022","2019","2017"],aC={2022:"17.0",2019:"16.0",2017:"15.0",2015:"14.0",2013:"12.0"};nF=tR;const a$=`${aI}\\Microsoft Visual Studio\\Installer`;nG=tI,nB=function(e,t,r,n,i,o){if("win32"!=rc.platform){no.info("This is not a Windows virtual environment, bye!");return;}rc.env.PATH+=nX.delimiter+a$;let s={win32:"x86",win64:"x64",x86_64:"x64","x86-64":"x64"};e.toLowerCase()in s&&(e=s[e.toLowerCase()]);var a=[e];"true"==n&&a.push("uwp"),t&&a.push(t),r&&a.push("-vcvars_ver="+r),"true"==i&&a.push("-vcvars_spectre_libs=spectre");let l=`"${tI(o)}" ${a.join(" ")}`;no.debug("vcvars command-line: "+l);let u=t7.execSync(`set && cls && ${l} && cls && set`,{shell:"cmd"}).toString().split("\f"),c=u[0].split("\r\n"),p=u[1].split("\r\n"),d=u[2].split("\r\n"),f=p.filter(e=>!!e.match(/^\[ERROR.*\]/)&&!e.match(/Error in script usage. The correct usage is:$/));if(f.length>0)throw Error("invalid parameters\r\n"+f.join("\r\n"));let h={};for(let e of c){let[t,r]=e.split("=");h[t]=r;}for(let e of(no.startGroup("Environment variables"),d)){if(!e.includes("="))continue;let[t,r]=e.split("=");r!==h[t]&&(no.info("Setting "+t),-1!=["PATH","INCLUDE","LIB","LIBPATH"].indexOf(t.toUpperCase())&&(r=r.split(";").filter(function(e,t,r){return r.indexOf(e)===t;}).join(";")),no.exportVariable(t,r));}no.endGroup(),no.info("Configured Developer Command Prompt");},ry=rv("7Lz0k"),nl=rv("6MdIz");class aA extends Error{constructor(e){super(e),this.name="TimeoutError";}}class a_ extends Error{constructor(e){super(),this.name="AbortError",this.message=e;}}const aP=e=>void 0===globalThis.DOMException?new a_(e):new DOMException(e),aL=e=>{let t=void 0===e.reason?aP("This operation was aborted."):e.reason;return t instanceof Error?t:aP(t);},aN=12e5,{readFile:ak,writeFile:aD,chmod:aU}=nW.promises;(t2=nH||(nH={}))[t2.All=0]="All",t2[t2.ClangFormat=1]="ClangFormat",t2[t2.Core=2]="Core",nS=rv("dMdWX"),ry=rv("7Lz0k"),np=rv("bLa2q");const aj=function(e){let t=new Set(e);for(let 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","15.0.0","15.0.1","15.0.2","15.0.3","15.0.4","15.0.5","15.0.6","15.0.7","16.0.0","16.0.1","16.0.2","16.0.3","16.0.4","16.0.5","16.0.6","17.0.1","17.0.2","17.0.3","17.0.4","17.0.5"]),aM=new Set(["10.0.1","15.0.5","15.0.6","17.0.5"]),aF=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","15.0.4","15.0.5","15.0.6","16.0.0","16.0.1","16.0.2","16.0.3","16.0.4","16.0.5","16.0.6","17.0.1","17.0.2","17.0.3","17.0.4","17.0.5"]),aG=new Map(),aB={"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","15.0.2":"-rhel86","15.0.5":"-ubuntu-18.04","15.0.6":"-ubuntu-18.04","16.0.0":"-ubuntu-18.04","16.0.2":"-ubuntu-22.04","16.0.3":"-ubuntu-22.04","16.0.4":"-ubuntu-22.04","17.0.2":"-ubuntu-22.04","17.0.4":"-ubuntu-22.04","17.0.5":"-ubuntu-22.04"},aH="17.0.5";nq=nX.resolve(__dirname,"../../src/llvm");const aq=eN(tU,{isPromise:!0}),az=eN(tM,{isPromise:!0}),aV=eN(tF,{isPromise:!0});rE=rv("l6WDk"),np=rv("bLa2q"),ry=rv("7Lz0k"),nl=rv("6MdIz"),nz=nX.resolve(__dirname,"../../src/msvc"),np=rv("bLa2q"),np=rv("bLa2q"),ry=rv("7Lz0k"),nl=rv("6MdIz"),np=rv("bLa2q");let aX=!1;const aW={nala:tV,cmake:eA,ninja:tg,python:eG,vcpkg:tJ,bazel:eu,conan:function(e,t,r){return e6("conan",e);},meson:function(e,t,r){return e6("meson",e);},gcovr:function(e,t,r){return e6("gcovr",e);},opencppcoverage:tX,llvm:tD,gcc:tp,choco:er,brew:Z,powershell:tY,ccache:function(e,t,r){switch(process.platform){case"win32":return en("ccache",e);case"darwin":return et("ccache",e);case"linux":if(ei())return ec("ccache",e);if(eo())return es([{name:"ccache",version:e}]);if(el())return B([{name:"ccache",version:e}]);throw Error("Unsupported linux distribution");default:throw Error("Unsupported platform");}},sccache:function(e,t,r){switch(process.platform){case"win32":return en("sccache",e);case"linux":case"darwin":return et("sccache",e);default:throw Error("Unsupported platform");}},doxygen:ta,graphviz:ti,cppcheck:tr,clangtidy:function(e,t,r){return tj(e,t,r);},clangformat:function(e,t,r){return tj(e,t,r,nH.ClangFormat);},msvc:tq,vcvarsall:tO,kcov:tb,make:tH,task:function(e,t,r){return eb("task",e,tK,t,r);},sevenzip:eR},aY=Object.keys(aW),aK=["compiler","architecture","timeout",...aY];no=rv("kDRhL"),ry=rv("7Lz0k"),nk=rv("2P6Mr"),t0(process.argv).then(e=>{process.exitCode=e;}).catch(e=>{(0,ry.error)("main() panicked!"),(0,ry.error)(e),process.exitCode=1;}); //# sourceMappingURL=setup-cpp.js.map \ No newline at end of file diff --git a/dist/actions/setup-cpp.js.map b/dist/actions/setup-cpp.js.map index 21dad65c..d0eb96c4 100644 --- a/dist/actions/setup-cpp.js.map +++ b/dist/actions/setup-cpp.js.map @@ -1 +1 @@ -{"version":3,"file":"setup-cpp.js","names":["e","t","r","n","i","o","s","a","u","Promise","TypeError","rI","code","ignoreErrors","p","options","env","process","cwd","chdir","disabled","rb","sync","command","path","r$","pathExt","ip","delimiter","resolve","d","Object","assign","Error","errno","syscall","spawnargs","args","f","iR","file","original","h","rT","t5","spawn","rN","hookChildProcess","m","maxBuffer","r3","getBufferedLength","r2","MAX_LENGTH","bufferedData","getBufferedValue","ot","on","or","g","getuid","CI","c","nothrow","v","oh","rR","commandSync","map","join","E","y","rt","platform","SUDO_USER","id","statSync","isDirectory","w","rx","x","l","next","throw","done","value","then","apply","b","return","call","label","ops","pop","trys","length","push","sent","Symbol","iterator","S","nc","pkg","nR","rg","warning","message","stack","I","Array","isArray","R","charCodeAt","slice","O","keys","reverse","find","toUpperCase","T","ro","execPath","URL","rs","fileURLToPath","rn","C","pipe","$","writable","_write","_writableState","A","sm","si","so","sf","oX","ri","ChildProcess","reject","oD","error","stdout","stderr","all","escapedCommand","parsed","timedOut","isCanceled","killed","se","st","oz","oK","kill","oF","bind","cancel","oV","exitCode","signal","o8","sg","aborted","failed","nT","o4","o3","oQ","P","stdio","_","sb","nC","n$","shouldEscapeSpace","rm","GITHUB_ACTIONS","shouldAddOnlyIfNotDefined","nO","info","exportVariable","L","setFailed","N","sS","some","test","PATH","split","includes","addPath","k","D","appendFileSync","sI","sR","nA","pathExists","readFileSync","U","Set","writeFileSync","j","as","s6","s5","ai","sM","sT","s1","s2","sj","sF","sP","sD","sQ","aa","sX","sK","sH","M","sW","spawnSync","input","status","F","H","name","version","DEBIAN_FRONTEND","aE","q","ay","V","flatMap","repositories","B","aw","binDir","G","nP","default","trim","nU","NameDashVersion","NameEqualsVersion","Name","None","n_","z","W","X","K","av","Y","startsWith","J","nj","dirname","iu","tmpdir","nM","mkdirP","replace","NONINTERACTIVE","Q","Z","ax","arch","ee","SystemRoot","ALLUSERSPROFILE","ChocolateyInstall","et","ab","TMP","TEMP","Path","extendEnv","er","en","ei","eo","es","ea","el","aS","aI","ec","matchAll","aR","eu","aA","aP","eg","aC","existsSync","readdirSync","eh","ep","ev","aD","aT","ed","aN","clean","aO","debug","rmRF","ef","valid","em","sort","gt","satisfies","RUNNER_TOOL_CACHE","t4","ok","RUNNER_TEMP","eE","rp","ey","max","$current","timeout","match","backoffBase","backoffExponent","report","Date","toLocaleTimeString","setTimeout","clearTimeout","aG","current","catch","toString","RegExp","Math","pow","ew","url","binRelativeDir","binFileName","extractedFolderName","extractFunction","nF","installDir","n1","downloadTool","aB","cacheDir","ex","eb","eS","eI","eR","eO","eT","n0","nZ","addExeExt","extractTar","eC","e$","n4","eA","eP","e_","isMemoized","fn","isEqual","isMatchingKey","isPromise","maxSize","onCacheAdd","onCacheChange","onCacheHit","transformKey","n2","n3","values","canTransformKey","shouldCloneArguments","shouldUpdateOnAdd","shouldUpdateOnChange","shouldUpdateOnHit","arguments","getKeyIndex","orderByLru","updateAsyncCache","cache","eN","ig","request","method","statusCode","end","eL","from","filter","n8","localeCompare","ek","n5","has","JSON","stringify","eD","aH","nz","getExecOutput","console","eU","ej","eM","eB","bin","eW","eF","eG","e6","e3","upgrade","usePipx","isLibrary","eq","setupActionsPython","rh","eH","eV","aV","python","ez","eK","eX","pip","eY","e9","eJ","eQ","eZ","aW","parseInt","aq","e0","execFile","encoding","shell","e1","e2","n9","getUbuntuVersion","e4","aK","user","e8","az","e7","e5","aX","findIndex","te","tt","tr","tn","ti","to","ts","notice","ta","tl","aY","releaseName","fileSuffix","tc","tp","td","tu","ie","tf","it","th","tm","tg","tv","tE","ty","ir","tw","tx","a1","tb","execSync","entries","a0","aQ","aZ","aJ","tS","is","tI","a8","startGroup","milliseconds","fallback","customTimers","sign","a5","addEventListener","Number","POSITIVE_INFINITY","a4","finally","clear","tR","endGroup","lp","tY","tO","ia","All","tT","le","a7","NODE_DEBUG","ClangFormat","tC","a9","ru","t$","tA","tP","lr","t_","ln","li","get","lt","lo","ls","tN","tL","la","tM","tk","tD","lc","tF","n7","ll","tU","tj","LD_LIBRARY_PATH","DYLD_LIBRARY_PATH","il","tG","tB","ii","io","tH","ic","tq","tV","tW","tz","tX","tK","lu","addShExt","addShRelativePrefix","tJ","compiler","tQ","ACTIONS_ALLOW_UNSECURE_COMMANDS","alias","unknown","string","boolean","concat","splice","substring","indexOf","repeat","shift","lf","fromEntries","getInput","toLowerCase","help","table","tools","documentation","coverage","other","architecture","SETUP_CPP_DIR","ry","create","autoloadLocales","addLocale","rw","rv","rE","forEach","cppcheck","gcovr","ld","isCI","now","parseFloat","format","success","tZ","t0","rH","rz","rX","rK","rY","rJ","rQ","r4","r6","r8","r7","r9","ne","nt","nn","ni","ns","na","nl","np","nd","nf","nh","nm","ng","nv","nE","ny","nw","nx","nb","nS","nI","nN","nL","nk","nD","n6","any","every","defineProperty","exports","constant","isPR","pr","BUILD_ID","BUILD_NUMBER","CI_APP_ID","CI_BUILD_ID","CI_BUILD_NUMBER","CI_NAME","CONTINUOUS_INTEGRATION","RUN_ID","parse","log","required","trimWhitespace","issueCommand","toCommandProperties","issue","ExitCode","Success","Failure","toCommandValue","GITHUB_ENV","issueFileCommand","prepareKeyValueMessage","setSecret","GITHUB_PATH","getMultilineInput","getBooleanInput","setOutput","GITHUB_OUTPUT","write","EOL","setCommandEcho","isDebug","RUNNER_DEBUG","group","saveState","GITHUB_STATE","getState","getIDToken","OidcClient","enumerable","summary","markdownSummary","toPosixPath","toWin32Path","toPlatformPath","constructor","properties","hasOwnProperty","String","title","line","startLine","endLine","col","startColumn","endColumn","random","rng","ih","randomFillSync","Uint8Array","substr","createHttpClient","HttpClient","BearerCredentialHandler","getRequestToken","allowRetries","maxRetries","ACTIONS_ID_TOKEN_REQUEST_TOKEN","getIDTokenUrl","ACTIONS_ID_TOKEN_REQUEST_URL","getCall","getJson","result","encodeURIComponent","im","HttpCodes","OK","MultipleChoices","MovedPermanently","ResourceMoved","SeeOther","NotModified","UseProxy","SwitchProxy","TemporaryRedirect","PermanentRedirect","BadRequest","Unauthorized","PaymentRequired","Forbidden","NotFound","MethodNotAllowed","NotAcceptable","ProxyAuthenticationRequired","RequestTimeout","Conflict","Gone","TooManyRequests","InternalServerError","NotImplemented","BadGateway","ServiceUnavailable","GatewayTimeout","Headers","Accept","ContentType","MediaTypes","ApplicationJson","getProxyUrl","href","setPrototypeOf","prototype","HttpClientError","readBody","Buffer","alloc","HttpClientResponse","isHttps","protocol","_ignoreSslError","_allowRedirects","_allowRedirectDowngrade","_maxRedirects","_allowRetries","_maxRetries","_keepAlive","_disposed","userAgent","handlers","requestOptions","ignoreSslError","_socketTimeout","socketTimeout","allowRedirects","allowRedirectDowngrade","maxRedirects","keepAlive","del","post","patch","put","head","sendStream","_getExistingOrDefaultHeader","_processResponse","postJson","putJson","patchJson","_prepareRequest","requestRaw","canHandleAuthentication","handleAuthentication","headers","location","hostname","_performExponentialBackoff","dispose","_agent","destroy","requestRawWithCallback","byteLength","httpModule","getAgent","_getAgent","parsedUrl","host","port","pathname","search","_mergeHeaders","agent","prepareRequest","_proxyAgent","maxSockets","globalAgent","proxy","username","password","proxyAuth","httpsOverHttps","httpsOverHttp","httpOverHttps","httpOverHttp","Agent","rejectUnauthorized","min","deserializeDates","isNaN","valueOf","reduce","no_proxy","NO_PROXY","endsWith","https_proxy","HTTPS_PROXY","http_proxy","HTTP_PROXY","checkBypass","proxyOptions","defaultMaxSockets","requests","sockets","onSocket","removeSocket","createSocket","getHeader","socket","servername","t1","connect","localAddress","defaultPort","t3","inherits","t2","EventEmitter","addRequest","emit","removeListener","removeAllListeners","useChunkedEncodingByDefault","once","nextTick","unshift","BasicCredentialHandler","Authorization","token","PersonalAccessTokenCredentialHandler","access","appendFile","writeFile","promises","SUMMARY_ENV_VAR","SUMMARY_DOCS_URL","_buffer","filePath","_filePath","constants","R_OK","W_OK","wrap","overwrite","emptyBuffer","isEmptyBuffer","addRaw","addEOL","addCodeBlock","lang","addList","addTable","header","data","colspan","rowspan","addDetails","addImage","width","height","src","alt","addHeading","addSeparator","addBreak","addQuote","cite","addLink","sep","require","pluralize","numerous","locale","span","unitType","unitTypeLookupOrder","autoload","floor","defaultConfig","versions","node","isSymbolicLink","isFile","PATHEXT","stat","mode","uid","gid","getgid","inc","diff","major","minor","prerelease","compare","rcompare","compareLoose","compareBuild","rsort","neq","gte","lte","cmp","coerce","Comparator","Range","toComparators","maxSatisfying","minSatisfying","minVersion","validRange","outside","gtr","ltr","intersects","simplifyRange","subset","SemVer","re","tokens","SEMVER_SPEC_VERSION","RELEASE_TYPES","compareIdentifiers","rcompareIdentifiers","MAX_SAFE_COMPONENT_LENGTH","MAX_SAFE_BUILD_LENGTH","safeRe","NUMERICIDENTIFIER","NUMERICIDENTIFIERLOOSE","NONNUMERICIDENTIFIER","PRERELEASEIDENTIFIER","PRERELEASEIDENTIFIERLOOSE","BUILDIDENTIFIER","MAINVERSION","PRERELEASE","BUILD","FULLPLAIN","MAINVERSIONLOOSE","PRERELEASELOOSE","LOOSEPLAIN","XRANGEIDENTIFIER","XRANGEIDENTIFIERLOOSE","GTLT","XRANGEPLAIN","XRANGEPLAINLOOSE","COERCE","LONETILDE","tildeTrimReplace","LONECARET","caretTrimReplace","comparatorTrimReplace","MAX_SAFE_INTEGER","FLAG_INCLUDE_PRERELEASE","FLAG_LOOSE","loose","includePrerelease","LOOSE","FULL","raw","build","compareMain","comparePre","freeze","rtl","COERCERTL","exec","index","lastIndex","ANY","semver","operator","COMPARATORLOOSE","COMPARATOR","set","parseRange","range","HYPHENRANGELOOSE","HYPHENRANGE","COMPARATORTRIM","TILDETRIM","CARETTRIM","Map","size","delete","TILDELOOSE","TILDE","CARETLOOSE","CARET","XRANGELOOSE","XRANGE","STAR","GTE0PRE","GTE0","unshiftNode","maxAge","tail","prev","key","removeNode","stale","noDisposeOnSet","updateAgeOnGet","reset","allowStale","lengthCalculator","itemCount","rforEach","toArray","dump","dumpLru","peek","load","prune","list","Node","pushNode","forEachReverse","getReverse","mapReverse","reduceReverse","toArrayReverse","sliceReverse","add","t6","configurable","basename","extname","normalize","relative","IS_WINDOWS","force","recursive","retryDelay","mkdir","isRooted","tryGetExecutablePath","lstat","unlink","chmod","readlink","symlink","exists","copyFile","cp","copySourceDirectory","readdir","mv","rename","which","findInPath","open","rmdir","UV_FS_O_EXLOCK","READONLY","O_RDONLY","getCmdPath","COMSPEC","_findMatch","stable","files","platform_version","_getOsVersion","_readLinuxVersionFile","randomBytes","argStringToArray","ToolRunner","t8","StringDecoder","listeners","toolPath","_debug","_getCommandString","_getSpawnFileName","_getSpawnArgs","_isCmdFile","windowsVerbatimArguments","_windowsQuoteCmdArg","_processLineBuffer","_endsWith","_uvQuoteCmdArg","_cloneExecOptions","silent","failOnStdErr","ignoreReturnCode","delay","outStream","errStream","_getSpawnOptions","argv0","stdline","processStderr","errline","processError","processExited","processClosed","CheckComplete","processExitCode","stdin","charAt","_setResult","t7","HandleTimeout","abs","long","years","one","months","weeks","days","hours","minutes","seconds","narrow","short","iv","iE","OSTYPE","iy","rS","TESTING_WINDOWS","iw","ix","colon","pathEnv","pathExtExe","ib","rO","iS","rC","rA","rP","r_","openSync","readSync","closeSync","iI","forceShell","comspec","verifyENOENT","verifyENOENTSync","notFoundError","_parse","_enoent","rL","rk","iO","rD","rU","Reflect","ownKeys","getOwnPropertyDescriptor","iT","iC","WeakMap","i$","displayName","callCount","rj","rM","signalsByNumber","signalsByName","rF","getSignals","number","action","description","standard","forced","i_","iP","iA","SIGRTMIN","rB","SIGRTMAX","getRealtimeSignals","rG","SIGNALS","iN","normalizeSignal","signals","supported","iL","ik","iD","iU","ij","iM","errorCode","signalDescription","Boolean","originalMessage","shortMessage","iF","iG","iB","rq","iH","reallyExit","pid","iq","iV","iW","iz","iX","__signal_exit_emitter__","count","emitted","infinite","setMaxListeners","iK","iQ","iJ","i2","i0","rW","equal","iZ","alwaysLast","unload","iY","i4","i1","i3","i6","i8","unref","forceKillAfterTimeout","i5","SIGTERM","isFinite","i7","i9","cleanup","detached","rV","spawnedKill","spawnedCancel","setupTimeout","killSignal","race","validateTimeout","setExitHandler","oe","readable","_read","_readableState","duplex","transform","_transform","r0","t9","promisify","PassThrough","array","objectMode","setEncoding","pipeline","r1","buffer","MaxBufferError","r5","isEmpty","oi","oo","rZ","handleInput","makeAllStream","getSpawnedResult","validateInputSync","os","oa","nr","mergePromise","getSpawnedPromise","ol","oc","no","joinCommand","getEscapedCommand","parseCommand","ou","preferLocal","localDir","op","stripFinalNewline","windowsHide","od","isBuffer","of","execArgv","nodePath","nodeOptions","npm_package_json","npm_config_user_agent","homedir","XDG_CONFIG_HOME","mkdirSync","lastUpdateCheck","getTime","updateCheckInterval","distTag","alwaysRun","nu","padEnd","isTTY","shouldNotifyInNpmScript","om","og","ov","getPrototypeOf","oE","oy","Function","ow","ox","ob","oS","ignoreNonConfigurable","oI","oT","oO","oR","oC","o$","oA","ra","oP","o_","oN","oL","oU","oj","oM","oG","oB","oq","oH","oW","oY","oJ","createWriteStream","pipeStdout","pipeStderr","pipeAll","oZ","o0","inputFile","o1","o2","createReadStream","o6","o5","o7","o9","sr","sn","ss","rr","sa","sl","templates","expressions","template","sc","su","rl","debuglog","enabled","sp","padStart","sd","getHours","getMinutes","getSeconds","getMilliseconds","verbose","sh","sv","sE","sy","sw","release","sx","sO","sC","s$","sA","s_","sN","sk","sL","sU","sG","sB","sq","sV","sz","sY","sJ","sZ","s0","s4","s3","s8","s7","s9","ae","at","ar","an","ao","al","ac","posix","au","ap","ad","source","af","ah","am","ag","nq","a$","a_","aL","ak","nW","aU","nJ","nX","RetryHelper","maxAttempts","minSeconds","maxSeconds","execute","getSleepAmount","sleep","aj","httpStatusCode","new","target","HTTPError","aM","aF","nV","authorization","statusMessage","extract7z","nG","extractXar","extractZip","cacheFile","findAllVersions","getManifestFromRepo","tree","accept","findFromManifest","isExplicitVersion","evaluateVersions","retryAsPromised","TimeoutError","previous","_getKeyIndexFromMatchingKey","_getKeyIndexForMany","_getKeyIndexForSingle","rc","llvm","clangtidy","clangformat","ninja","cmake","conan","meson","kcov","task","doxygen","gcc","mingw","nala","ProgramFiles","a2","win32","win64","x86_64","a3","a6","globalThis","DOMException","reason","readFile","Core","vcpkg","bazel","opencppcoverage","choco","brew","powershell","ccache","sccache","graphviz","msvc","vcvarsall","make","sevenzip","argv"],"sources":["../../","../../node_modules/.pnpm/ci-info@3.8.0/node_modules/ci-info/index.js","../../node_modules/.pnpm/ci-info@3.8.0/node_modules/ci-info/vendors.json","../../packages/ci-log/src/index.ts","../../node_modules/.pnpm/@actions+core@1.10.0/node_modules/@actions/core/lib/core.js","../../node_modules/.pnpm/@actions+core@1.10.0/node_modules/@actions/core/src/core.ts","../../node_modules/.pnpm/@actions+core@1.10.0/node_modules/@actions/core/lib/command.js","../../node_modules/.pnpm/@actions+core@1.10.0/node_modules/@actions/core/src/command.ts","../../node_modules/.pnpm/@actions+core@1.10.0/node_modules/@actions/core/lib/utils.js","../../node_modules/.pnpm/@actions+core@1.10.0/node_modules/@actions/core/src/utils.ts","../../node_modules/.pnpm/@actions+core@1.10.0/node_modules/@actions/core/lib/file-command.js","../../node_modules/.pnpm/@actions+core@1.10.0/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.10.0/node_modules/@actions/core/lib/oidc-utils.js","../../node_modules/.pnpm/@actions+core@1.10.0/node_modules/@actions/core/src/oidc-utils.ts","../../node_modules/.pnpm/@actions+http-client@2.1.0/node_modules/@actions/http-client/lib/index.js","../../node_modules/.pnpm/@actions+http-client@2.1.0/node_modules/@actions/http-client/src/index.ts","../../node_modules/.pnpm/@actions+http-client@2.1.0/node_modules/@actions/http-client/lib/proxy.js","../../node_modules/.pnpm/@actions+http-client@2.1.0/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.1.0/node_modules/@actions/http-client/lib/auth.js","../../node_modules/.pnpm/@actions+http-client@2.1.0/node_modules/@actions/http-client/src/auth.ts","../../node_modules/.pnpm/@actions+core@1.10.0/node_modules/@actions/core/lib/summary.js","../../node_modules/.pnpm/@actions+core@1.10.0/node_modules/@actions/core/src/summary.ts","../../node_modules/.pnpm/@actions+core@1.10.0/node_modules/@actions/core/lib/path-utils.js","../../node_modules/.pnpm/@actions+core@1.10.0/node_modules/@actions/core/src/path-utils.ts","../../node_modules/.pnpm/numerous@1.0.3/node_modules/numerous/lib/numerous.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/is-node@1.0.2/node_modules/is-node/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/semver@7.5.4/node_modules/semver/index.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/internal/re.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/internal/constants.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/internal/debug.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/classes/semver.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/internal/parse-options.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/internal/identifiers.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/parse.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/valid.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/clean.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/inc.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/diff.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/major.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/minor.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/patch.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/prerelease.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/compare.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/rcompare.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/compare-loose.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/compare-build.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/sort.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/rsort.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/gt.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/lt.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/eq.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/neq.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/gte.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/lte.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/cmp.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/coerce.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/classes/comparator.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/classes/range.js","../../node_modules/.pnpm/lru-cache@6.0.0/node_modules/lru-cache/index.js","../../node_modules/.pnpm/yallist@4.0.0/node_modules/yallist/yallist.js","../../node_modules/.pnpm/yallist@4.0.0/node_modules/yallist/iterator.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/satisfies.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/ranges/to-comparators.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/ranges/max-satisfying.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/ranges/min-satisfying.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/ranges/min-version.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/ranges/valid.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/ranges/outside.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/ranges/gtr.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/ranges/ltr.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/ranges/intersects.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/ranges/simplify.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/ranges/subset.js","../../node_modules/.pnpm/escape-string-regexp@1.0.5/node_modules/escape-string-regexp/index.js","../../node_modules/.pnpm/path-exists@5.0.0/node_modules/path-exists/index.js","../../node_modules/.pnpm/patha@0.4.1/node_modules/patha/dist/index.node.mjs","../../node_modules/.pnpm/patha@0.4.1/node_modules/patha/src/name.ts","../../node_modules/.pnpm/patha@0.4.1/node_modules/patha/src/normalize-trim.ts","../../node_modules/.pnpm/patha@0.4.1/node_modules/patha/src/add-exe-ext.ts","../../node_modules/.pnpm/patha@0.4.1/node_modules/patha/src/add-name-prefix.ts","../../node_modules/.pnpm/patha@0.4.1/node_modules/patha/src/add-name-suffix.ts","../../node_modules/.pnpm/patha@0.4.1/node_modules/patha/src/add-sh-ext.ts","../../node_modules/.pnpm/patha@0.4.1/node_modules/patha/src/add-sh-relative-prefix.ts","../../node_modules/.pnpm/patha@0.4.1/node_modules/patha/src/remove-ext.ts","../../node_modules/.pnpm/patha@0.4.1/node_modules/patha/src/replace-ext.ts","../../node_modules/.pnpm/patha@0.4.1/node_modules/patha/src/is-path-inside.ts","../../node_modules/.pnpm/escape-string-regexp@5.0.0/node_modules/escape-string-regexp/index.js","../../node_modules/.pnpm/replace-ext@2.0.0/node_modules/replace-ext/index.js","../../node_modules/.pnpm/@actions+io@1.1.3/node_modules/@actions/io/lib/io.js","../../node_modules/.pnpm/@actions+io@1.1.3/node_modules/@actions/io/src/io.ts","../../node_modules/.pnpm/@actions+io@1.1.3/node_modules/@actions/io/lib/io-util.js","../../node_modules/.pnpm/@actions+io@1.1.3/node_modules/@actions/io/src/io-util.ts","../../node_modules/.pnpm/@actions+tool-cache@2.0.1/node_modules/@actions/tool-cache/lib/manifest.js","../../node_modules/.pnpm/@actions+tool-cache@2.0.1/node_modules/@actions/tool-cache/src/manifest.ts","../../node_modules/.pnpm/semver@6.3.1/node_modules/semver/semver.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/lib/exec.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/lib/toolrunner.js","../../node_modules/.pnpm/@actions+exec@1.1.1/node_modules/@actions/exec/src/toolrunner.ts","../../node_modules/.pnpm/@parcel+runtime-js@2.9.3_@parcel+core@2.9.3/node_modules/@parcel/runtime-js/lib/runtime-e2bdeaf18235cc8f.js","../../src/main.ts","../../node_modules/.pnpm/numerous@1.0.3/node_modules/numerous/locales/en.js","../../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","../../packages/untildify-user/src/index.ts","../../node_modules/.pnpm/untildify@4.0.0/node_modules/untildify/index.js","../../node_modules/.pnpm/admina@0.2.2/node_modules/admina/src/index.ts","../../node_modules/.pnpm/admina@0.2.2/node_modules/admina/dist/root.mjs","../../node_modules/.pnpm/admina@0.2.2/node_modules/admina/src/root.ts","../../node_modules/.pnpm/which@2.0.2/node_modules/which/which.js","../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/index.js","../../node_modules/.pnpm/execa@5.1.1/node_modules/execa/index.js","../../node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/index.js","../../node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/parse.js","../../node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/util/resolveCommand.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/cross-spawn@7.0.3/node_modules/cross-spawn/lib/util/readShebang.js","../../node_modules/.pnpm/shebang-command@2.0.0/node_modules/shebang-command/index.js","../../node_modules/.pnpm/shebang-regex@3.0.0/node_modules/shebang-regex/index.js","../../node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/enoent.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/onetime@5.1.2/node_modules/onetime/index.js","../../node_modules/.pnpm/mimic-fn@2.1.0/node_modules/mimic-fn/index.js","../../node_modules/.pnpm/execa@5.1.1/node_modules/execa/lib/error.js","../../node_modules/.pnpm/human-signals@2.1.0/node_modules/human-signals/build/src/main.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/build/src/signals.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/build/src/core.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/build/src/realtime.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/stdio.js","../../node_modules/.pnpm/execa@5.1.1/node_modules/execa/lib/kill.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/stream.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/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/promise.js","../../node_modules/.pnpm/execa@5.1.1/node_modules/execa/lib/command.js","../../node_modules/.pnpm/admina@0.2.2/node_modules/admina/dist/admin.mjs","../../node_modules/.pnpm/admina@0.2.2/node_modules/admina/src/admin.ts","../../node_modules/.pnpm/admina@0.2.2/node_modules/admina/dist/is-admin.mjs","../../node_modules/.pnpm/admina@0.2.2/node_modules/admina/src/is-admin.ts","../../node_modules/.pnpm/admina@0.2.2/node_modules/admina/dist/user-access.mjs","../../node_modules/.pnpm/admina@0.2.2/node_modules/admina/src/user-access.ts","../../src/check-updates.ts","../../node_modules/.pnpm/simple-update-notifier@2.0.0/node_modules/simple-update-notifier/build/index.js","../../package-version.json","../../src/cli-options.ts","../../node_modules/.pnpm/mri@1.2.0/node_modules/mri/lib/index.mjs","../../src/tool.ts","../../src/bazel/bazel.ts","../../src/utils/setup/setupAptPack.ts","../../src/utils/env/addEnv.ts","../../packages/exec-powershell/src/index.ts","../../node_modules/.pnpm/execa@7.1.1/node_modules/execa/index.js","../../node_modules/.pnpm/strip-final-newline@3.0.0/node_modules/strip-final-newline/index.js","../../node_modules/.pnpm/npm-run-path@5.1.0/node_modules/npm-run-path/index.js","../../node_modules/.pnpm/path-key@4.0.0/node_modules/path-key/index.js","../../node_modules/.pnpm/onetime@6.0.0/node_modules/onetime/index.js","../../node_modules/.pnpm/mimic-fn@4.0.0/node_modules/mimic-fn/index.js","../../node_modules/.pnpm/execa@7.1.1/node_modules/execa/lib/error.js","../../node_modules/.pnpm/human-signals@4.3.1/node_modules/human-signals/build/src/main.js","../../node_modules/.pnpm/human-signals@4.3.1/node_modules/human-signals/build/src/realtime.js","../../node_modules/.pnpm/human-signals@4.3.1/node_modules/human-signals/build/src/signals.js","../../node_modules/.pnpm/human-signals@4.3.1/node_modules/human-signals/build/src/core.js","../../node_modules/.pnpm/execa@7.1.1/node_modules/execa/lib/stdio.js","../../node_modules/.pnpm/execa@7.1.1/node_modules/execa/lib/kill.js","../../node_modules/.pnpm/execa@7.1.1/node_modules/execa/lib/pipe.js","../../node_modules/.pnpm/is-stream@3.0.0/node_modules/is-stream/index.js","../../node_modules/.pnpm/execa@7.1.1/node_modules/execa/lib/stream.js","../../node_modules/.pnpm/execa@7.1.1/node_modules/execa/lib/promise.js","../../node_modules/.pnpm/execa@7.1.1/node_modules/execa/lib/command.js","../../node_modules/.pnpm/execa@7.1.1/node_modules/execa/lib/verbose.js","../../node_modules/.pnpm/escape-path-with-spaces@1.0.2/node_modules/escape-path-with-spaces/index.js","../../node_modules/.pnpm/escape-quotes@1.0.2/node_modules/escape-quotes/lib/escape-quotes.js","../../node_modules/.pnpm/execa@7.2.0/node_modules/execa/index.js","../../node_modules/.pnpm/execa@7.2.0/node_modules/execa/lib/error.js","../../node_modules/.pnpm/execa@7.2.0/node_modules/execa/lib/stdio.js","../../node_modules/.pnpm/execa@7.2.0/node_modules/execa/lib/kill.js","../../node_modules/.pnpm/execa@7.2.0/node_modules/execa/lib/pipe.js","../../node_modules/.pnpm/execa@7.2.0/node_modules/execa/lib/stream.js","../../node_modules/.pnpm/execa@7.2.0/node_modules/execa/lib/promise.js","../../node_modules/.pnpm/execa@7.2.0/node_modules/execa/lib/command.js","../../node_modules/.pnpm/execa@7.2.0/node_modules/execa/lib/verbose.js","../../node_modules/.pnpm/which@3.0.1/node_modules/which/lib/index.js","../../src/utils/setup/setupBrewPack.ts","../../src/brew/brew.ts","../../src/utils/setup/setupChocoPack.ts","../../src/chocolatey/chocolatey.ts","../../src/utils/env/isArch.ts","../../src/utils/env/hasDnf.ts","../../src/utils/setup/setupDnfPack.ts","../../src/utils/env/isUbuntu.ts","../../src/ccache/ccache.ts","../../src/utils/setup/setupPacmanPack.ts","../../src/cmake/cmake.ts","../../node_modules/.pnpm/@actions+tool-cache@2.0.1/node_modules/@actions/tool-cache/lib/tool-cache.js","../../node_modules/.pnpm/@actions+tool-cache@2.0.1/node_modules/@actions/tool-cache/src/tool-cache.ts","../../node_modules/.pnpm/@actions+tool-cache@2.0.1/node_modules/@actions/tool-cache/lib/retry-helper.js","../../node_modules/.pnpm/@actions+tool-cache@2.0.1/node_modules/@actions/tool-cache/src/retry-helper.ts","../../src/utils/setup/setupBin.ts","../../node_modules/.pnpm/retry-as-promised@7.0.4/node_modules/retry-as-promised/dist/index.js","../../src/utils/setup/extract.ts","../../src/sevenzip/sevenzip.ts","../../src/conan/conan.ts","../../src/utils/setup/setupPipPack.ts","../../src/python/python.ts","../../node_modules/.pnpm/micro-memoize@4.1.2/node_modules/micro-memoize/dist/micro-memoize.esm.js","../../node_modules/.pnpm/micro-memoize@4.1.2/node_modules/micro-memoize/src/utils.ts","../../node_modules/.pnpm/micro-memoize@4.1.2/node_modules/micro-memoize/src/Cache.ts","../../node_modules/.pnpm/micro-memoize@4.1.2/node_modules/micro-memoize/src/index.ts","../../src/utils/setup/version.ts","../../node_modules/.pnpm/is-url-online@1.5.0/node_modules/is-url-online/dist/index.mjs","../../src/utils/std/index.ts","../../src/versions/default_versions.ts","../../src/versions/versions.ts","../../src/utils/env/ubuntu_version.ts","../../node_modules/.pnpm/ubuntu-version@2.0.0/node_modules/ubuntu-version/index.js","../../src/cppcheck/cppcheck.ts","../../src/doxygen/doxygen.ts","../../src/graphviz/graphviz.ts","../../src/gcc/gcc.ts","../../src/macos-sdk/macos-sdk.ts","../../src/gcovr/gcovr.ts","../../src/kcov/kcov.ts","../../src/ninja/ninja.ts","../../src/llvm/llvm.ts","../../src/llvm/llvm_installer.ts","../../src/installTool.ts","../../src/vcvarsall/vcvarsall.ts","../../node_modules/.pnpm/github.com+aminya+msvc-dev-cmd@97843d525947e3f3776ee359b597316909754c4d/node_modules/msvc-dev-cmd/lib.js","../../node_modules/.pnpm/p-timeout@6.1.2/node_modules/p-timeout/index.js","../../src/llvm/llvm_url.ts","../../src/make/make.ts","../../src/meson/meson.ts","../../src/msvc/msvc.ts","../../src/nala/nala.ts","../../src/opencppcoverage/opencppcoverage.ts","../../src/powershell/powershell.ts","../../src/sccache/sccache.ts","../../src/task/task.ts","../../src/vcpkg/vcpkg.ts","../../src/compilers.ts"],"sourcesContent":["#!/usr/bin/env node\nvar $aEsRD$os = require(\"os\");\nvar $aEsRD$path = require(\"path\");\nvar $aEsRD$fs = require(\"fs\");\nvar $aEsRD$crypto = require(\"crypto\");\nvar $aEsRD$http = require(\"http\");\nvar $aEsRD$https = require(\"https\");\nrequire(\"net\");\nvar $aEsRD$tls = require(\"tls\");\nvar $aEsRD$events = require(\"events\");\nvar $aEsRD$assert = require(\"assert\");\nvar $aEsRD$util = require(\"util\");\nvar $aEsRD$nodefs = require(\"node:fs\");\nvar $aEsRD$child_process = require(\"child_process\");\nvar $aEsRD$string_decoder = require(\"string_decoder\");\nvar $aEsRD$timers = require(\"timers\");\nvar $aEsRD$buffer = require(\"buffer\");\nvar $aEsRD$stream = require(\"stream\");\nvar $aEsRD$process = require(\"process\");\nvar $aEsRD$nodebuffer = require(\"node:buffer\");\nvar $aEsRD$nodepath = require(\"node:path\");\nvar $aEsRD$nodechild_process = require(\"node:child_process\");\nvar $aEsRD$nodeprocess = require(\"node:process\");\nvar $aEsRD$nodeurl = require(\"node:url\");\nvar $aEsRD$nodeos = require(\"node:os\");\nvar $aEsRD$nodeutil = require(\"node:util\");\nvar $aEsRD$url = require(\"url\");\nvar $aEsRD$console = require(\"console\");\n\nfunction $parcel$export(e, n, v, s) {\n Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});\n}\nfunction $parcel$interopDefault(a) {\n return a && a.__esModule ? a.default : a;\n}\nvar $parcel$global =\ntypeof globalThis !== 'undefined'\n ? globalThis\n : typeof self !== 'undefined'\n ? self\n : typeof window !== 'undefined'\n ? window\n : typeof global !== 'undefined'\n ? global\n : {};\nvar $parcel$modules = {};\nvar $parcel$inits = {};\n\nvar parcelRequire = $parcel$global[\"parcelRequire810d\"];\nif (parcelRequire == null) {\n parcelRequire = function(id) {\n if (id in $parcel$modules) {\n return $parcel$modules[id].exports;\n }\n if (id in $parcel$inits) {\n var init = $parcel$inits[id];\n delete $parcel$inits[id];\n var module = {id: id, exports: {}};\n $parcel$modules[id] = module;\n init.call(module.exports, module, module.exports);\n return module.exports;\n }\n var err = new Error(\"Cannot find module '\" + id + \"'\");\n err.code = 'MODULE_NOT_FOUND';\n throw err;\n };\n\n parcelRequire.register = function register(id, init) {\n $parcel$inits[id] = init;\n };\n\n $parcel$global[\"parcelRequire810d\"] = parcelRequire;\n}\nparcelRequire.register(\"2W4C2\", function(module, exports) {\n\"use strict\";\n\nvar $bIoxD = parcelRequire(\"bIoxD\");\nconst $2234937ab3398e07$var$env = process.env;\n// Used for testing only\nObject.defineProperty(module.exports, \"_vendors\", {\n value: $bIoxD.map(function(v) {\n return v.constant;\n })\n});\nmodule.exports.name = null;\nmodule.exports.isPR = null;\n$bIoxD.forEach(function(vendor) {\n const envs = Array.isArray(vendor.env) ? vendor.env : [\n vendor.env\n ];\n const isCI = envs.every(function(obj) {\n return $2234937ab3398e07$var$checkEnv(obj);\n });\n module.exports[vendor.constant] = isCI;\n if (!isCI) return;\n module.exports.name = vendor.name;\n switch(typeof vendor.pr){\n case \"string\":\n // \"pr\": \"CIRRUS_PR\"\n module.exports.isPR = !!$2234937ab3398e07$var$env[vendor.pr];\n break;\n case \"object\":\n if (\"env\" in vendor.pr) // \"pr\": { \"env\": \"BUILDKITE_PULL_REQUEST\", \"ne\": \"false\" }\n module.exports.isPR = vendor.pr.env in $2234937ab3398e07$var$env && $2234937ab3398e07$var$env[vendor.pr.env] !== vendor.pr.ne;\n else if (\"any\" in vendor.pr) // \"pr\": { \"any\": [\"ghprbPullId\", \"CHANGE_ID\"] }\n module.exports.isPR = vendor.pr.any.some(function(key) {\n return !!$2234937ab3398e07$var$env[key];\n });\n else // \"pr\": { \"DRONE_BUILD_EVENT\": \"pull_request\" }\n module.exports.isPR = $2234937ab3398e07$var$checkEnv(vendor.pr);\n break;\n default:\n // PR detection not supported for this vendor\n module.exports.isPR = null;\n }\n});\nmodule.exports.isCI = !!($2234937ab3398e07$var$env.CI !== \"false\" && // Bypass all checks if CI env is explicitly set to 'false'\n($2234937ab3398e07$var$env.BUILD_ID || // Jenkins, Cloudbees\n$2234937ab3398e07$var$env.BUILD_NUMBER || // Jenkins, TeamCity\n$2234937ab3398e07$var$env.CI || // Travis CI, CircleCI, Cirrus CI, Gitlab CI, Appveyor, CodeShip, dsari\n$2234937ab3398e07$var$env.CI_APP_ID || // Appflow\n$2234937ab3398e07$var$env.CI_BUILD_ID || // Appflow\n$2234937ab3398e07$var$env.CI_BUILD_NUMBER || // Appflow\n$2234937ab3398e07$var$env.CI_NAME || // Codeship and others\n$2234937ab3398e07$var$env.CONTINUOUS_INTEGRATION || // Travis CI, Cirrus CI\n$2234937ab3398e07$var$env.RUN_ID || // TaskCluster, dsari\nmodule.exports.name || false));\nfunction $2234937ab3398e07$var$checkEnv(obj) {\n // \"env\": \"CIRRUS\"\n if (typeof obj === \"string\") return !!$2234937ab3398e07$var$env[obj];\n // \"env\": { \"env\": \"NODE\", \"includes\": \"/app/.heroku/node/bin/node\" }\n if (\"env\" in obj) // Currently there are no other types, uncomment when there are\n // if ('includes' in obj) {\n return $2234937ab3398e07$var$env[obj.env] && $2234937ab3398e07$var$env[obj.env].includes(obj.includes);\n if (\"any\" in obj) return obj.any.some(function(k) {\n return !!$2234937ab3398e07$var$env[k];\n });\n return Object.keys(obj).every(function(k) {\n return $2234937ab3398e07$var$env[k] === obj[k];\n });\n}\n\n});\nparcelRequire.register(\"bIoxD\", function(module, exports) {\nmodule.exports = JSON.parse('[{\"name\":\"Appcircle\",\"constant\":\"APPCIRCLE\",\"env\":\"AC_APPCIRCLE\"},{\"name\":\"AppVeyor\",\"constant\":\"APPVEYOR\",\"env\":\"APPVEYOR\",\"pr\":\"APPVEYOR_PULL_REQUEST_NUMBER\"},{\"name\":\"AWS CodeBuild\",\"constant\":\"CODEBUILD\",\"env\":\"CODEBUILD_BUILD_ARN\"},{\"name\":\"Azure Pipelines\",\"constant\":\"AZURE_PIPELINES\",\"env\":\"SYSTEM_TEAMFOUNDATIONCOLLECTIONURI\",\"pr\":\"SYSTEM_PULLREQUEST_PULLREQUESTID\"},{\"name\":\"Bamboo\",\"constant\":\"BAMBOO\",\"env\":\"bamboo_planKey\"},{\"name\":\"Bitbucket Pipelines\",\"constant\":\"BITBUCKET\",\"env\":\"BITBUCKET_COMMIT\",\"pr\":\"BITBUCKET_PR_ID\"},{\"name\":\"Bitrise\",\"constant\":\"BITRISE\",\"env\":\"BITRISE_IO\",\"pr\":\"BITRISE_PULL_REQUEST\"},{\"name\":\"Buddy\",\"constant\":\"BUDDY\",\"env\":\"BUDDY_WORKSPACE_ID\",\"pr\":\"BUDDY_EXECUTION_PULL_REQUEST_ID\"},{\"name\":\"Buildkite\",\"constant\":\"BUILDKITE\",\"env\":\"BUILDKITE\",\"pr\":{\"env\":\"BUILDKITE_PULL_REQUEST\",\"ne\":\"false\"}},{\"name\":\"CircleCI\",\"constant\":\"CIRCLE\",\"env\":\"CIRCLECI\",\"pr\":\"CIRCLE_PULL_REQUEST\"},{\"name\":\"Cirrus CI\",\"constant\":\"CIRRUS\",\"env\":\"CIRRUS_CI\",\"pr\":\"CIRRUS_PR\"},{\"name\":\"Codefresh\",\"constant\":\"CODEFRESH\",\"env\":\"CF_BUILD_ID\",\"pr\":{\"any\":[\"CF_PULL_REQUEST_NUMBER\",\"CF_PULL_REQUEST_ID\"]}},{\"name\":\"Codemagic\",\"constant\":\"CODEMAGIC\",\"env\":\"CM_BUILD_ID\",\"pr\":\"CM_PULL_REQUEST\"},{\"name\":\"Codeship\",\"constant\":\"CODESHIP\",\"env\":{\"CI_NAME\":\"codeship\"}},{\"name\":\"Drone\",\"constant\":\"DRONE\",\"env\":\"DRONE\",\"pr\":{\"DRONE_BUILD_EVENT\":\"pull_request\"}},{\"name\":\"dsari\",\"constant\":\"DSARI\",\"env\":\"DSARI\"},{\"name\":\"Expo Application Services\",\"constant\":\"EAS\",\"env\":\"EAS_BUILD\"},{\"name\":\"Gerrit\",\"constant\":\"GERRIT\",\"env\":\"GERRIT_PROJECT\"},{\"name\":\"GitHub Actions\",\"constant\":\"GITHUB_ACTIONS\",\"env\":\"GITHUB_ACTIONS\",\"pr\":{\"GITHUB_EVENT_NAME\":\"pull_request\"}},{\"name\":\"GitLab CI\",\"constant\":\"GITLAB\",\"env\":\"GITLAB_CI\",\"pr\":\"CI_MERGE_REQUEST_ID\"},{\"name\":\"GoCD\",\"constant\":\"GOCD\",\"env\":\"GO_PIPELINE_LABEL\"},{\"name\":\"Google Cloud Build\",\"constant\":\"GOOGLE_CLOUD_BUILD\",\"env\":\"BUILDER_OUTPUT\"},{\"name\":\"Harness CI\",\"constant\":\"HARNESS\",\"env\":\"HARNESS_BUILD_ID\"},{\"name\":\"Heroku\",\"constant\":\"HEROKU\",\"env\":{\"env\":\"NODE\",\"includes\":\"/app/.heroku/node/bin/node\"}},{\"name\":\"Hudson\",\"constant\":\"HUDSON\",\"env\":\"HUDSON_URL\"},{\"name\":\"Jenkins\",\"constant\":\"JENKINS\",\"env\":[\"JENKINS_URL\",\"BUILD_ID\"],\"pr\":{\"any\":[\"ghprbPullId\",\"CHANGE_ID\"]}},{\"name\":\"LayerCI\",\"constant\":\"LAYERCI\",\"env\":\"LAYERCI\",\"pr\":\"LAYERCI_PULL_REQUEST\"},{\"name\":\"Magnum CI\",\"constant\":\"MAGNUM\",\"env\":\"MAGNUM\"},{\"name\":\"Netlify CI\",\"constant\":\"NETLIFY\",\"env\":\"NETLIFY\",\"pr\":{\"env\":\"PULL_REQUEST\",\"ne\":\"false\"}},{\"name\":\"Nevercode\",\"constant\":\"NEVERCODE\",\"env\":\"NEVERCODE\",\"pr\":{\"env\":\"NEVERCODE_PULL_REQUEST\",\"ne\":\"false\"}},{\"name\":\"ReleaseHub\",\"constant\":\"RELEASEHUB\",\"env\":\"RELEASE_BUILD_ID\"},{\"name\":\"Render\",\"constant\":\"RENDER\",\"env\":\"RENDER\",\"pr\":{\"IS_PULL_REQUEST\":\"true\"}},{\"name\":\"Sail CI\",\"constant\":\"SAIL\",\"env\":\"SAILCI\",\"pr\":\"SAIL_PULL_REQUEST_NUMBER\"},{\"name\":\"Screwdriver\",\"constant\":\"SCREWDRIVER\",\"env\":\"SCREWDRIVER\",\"pr\":{\"env\":\"SD_PULL_REQUEST\",\"ne\":\"false\"}},{\"name\":\"Semaphore\",\"constant\":\"SEMAPHORE\",\"env\":\"SEMAPHORE\",\"pr\":\"PULL_REQUEST_NUMBER\"},{\"name\":\"Shippable\",\"constant\":\"SHIPPABLE\",\"env\":\"SHIPPABLE\",\"pr\":{\"IS_PULL_REQUEST\":\"true\"}},{\"name\":\"Solano CI\",\"constant\":\"SOLANO\",\"env\":\"TDDIUM\",\"pr\":\"TDDIUM_PR_ID\"},{\"name\":\"Sourcehut\",\"constant\":\"SOURCEHUT\",\"env\":{\"CI_NAME\":\"sourcehut\"}},{\"name\":\"Strider CD\",\"constant\":\"STRIDER\",\"env\":\"STRIDER\"},{\"name\":\"TaskCluster\",\"constant\":\"TASKCLUSTER\",\"env\":[\"TASK_ID\",\"RUN_ID\"]},{\"name\":\"TeamCity\",\"constant\":\"TEAMCITY\",\"env\":\"TEAMCITY_VERSION\"},{\"name\":\"Travis CI\",\"constant\":\"TRAVIS\",\"env\":\"TRAVIS\",\"pr\":{\"env\":\"TRAVIS_PULL_REQUEST\",\"ne\":\"false\"}},{\"name\":\"Vercel\",\"constant\":\"VERCEL\",\"env\":{\"any\":[\"NOW_BUILDER\",\"VERCEL\"]}},{\"name\":\"Visual Studio App Center\",\"constant\":\"APPCENTER\",\"env\":\"APPCENTER_BUILD_ID\"},{\"name\":\"Woodpecker\",\"constant\":\"WOODPECKER\",\"env\":{\"CI\":\"woodpecker\"},\"pr\":{\"CI_BUILD_EVENT\":\"pull_request\"}},{\"name\":\"Xcode Cloud\",\"constant\":\"XCODE_CLOUD\",\"env\":\"CI_XCODE_PROJECT\",\"pr\":\"CI_PULL_REQUEST_NUMBER\"},{\"name\":\"Xcode Server\",\"constant\":\"XCODE_SERVER\",\"env\":\"XCS\"}]');\n\n});\n\n\nparcelRequire.register(\"7Lz0k\", function(module, exports) {\n\n$parcel$export(module.exports, \"error\", () => $435ca2a9418fec8e$export$a3bc9b8ed74fc);\n$parcel$export(module.exports, \"success\", () => $435ca2a9418fec8e$export$fe7c49d056ea1d88);\n$parcel$export(module.exports, \"warning\", () => $435ca2a9418fec8e$export$491112666e282270);\n$parcel$export(module.exports, \"notice\", () => $435ca2a9418fec8e$export$b31f6ae88848cf15);\n$parcel$export(module.exports, \"info\", () => $435ca2a9418fec8e$export$a80b3bd66acc52ff);\n\nvar $i5trn = parcelRequire(\"i5trn\");\n\nvar $2W4C2 = parcelRequire(\"2W4C2\");\nfunction $435ca2a9418fec8e$export$a3bc9b8ed74fc(err) {\n return (0, $2W4C2.GITHUB_ACTIONS) ? $i5trn.error(err) : console.log(`\\x1b[31m${err}\\x1b[0m`);\n}\nfunction $435ca2a9418fec8e$export$fe7c49d056ea1d88(msg) {\n return console.log(`\\x1b[32m${msg}\\x1b[0m`);\n}\nfunction $435ca2a9418fec8e$export$491112666e282270(msg) {\n return (0, $2W4C2.GITHUB_ACTIONS) ? $i5trn.warning(msg) : console.log(`\\x1b[33m${msg}\\x1b[0m`);\n}\nfunction $435ca2a9418fec8e$export$b31f6ae88848cf15(msg) {\n return (0, $2W4C2.GITHUB_ACTIONS) ? $i5trn.notice(msg) : console.log(`\\x1b[94m${msg}\\x1b[0m`);\n}\nfunction $435ca2a9418fec8e$export$a80b3bd66acc52ff(msg) {\n return (0, $2W4C2.GITHUB_ACTIONS) ? $i5trn.info(msg) : console.log(msg);\n}\n\n});\nparcelRequire.register(\"i5trn\", function(module, exports) {\n\"use strict\";\nvar $d2af87e6e8d06ed8$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $d2af87e6e8d06ed8$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $d2af87e6e8d06ed8$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $d2af87e6e8d06ed8$var$__createBinding(result, mod, k);\n }\n $d2af87e6e8d06ed8$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $d2af87e6e8d06ed8$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.getIDToken = module.exports.getState = module.exports.saveState = module.exports.group = module.exports.endGroup = module.exports.startGroup = module.exports.info = module.exports.notice = module.exports.warning = module.exports.error = module.exports.debug = module.exports.isDebug = module.exports.setFailed = module.exports.setCommandEcho = module.exports.setOutput = module.exports.getBooleanInput = module.exports.getMultilineInput = module.exports.getInput = module.exports.addPath = module.exports.setSecret = module.exports.exportVariable = module.exports.ExitCode = void 0;\n\nvar $gMlpL = parcelRequire(\"gMlpL\");\n\nvar $7kVRV = parcelRequire(\"7kVRV\");\n\nvar $9tsrd = parcelRequire(\"9tsrd\");\n\nconst $d2af87e6e8d06ed8$var$os = $d2af87e6e8d06ed8$var$__importStar($aEsRD$os);\n\nconst $d2af87e6e8d06ed8$var$path = $d2af87e6e8d06ed8$var$__importStar($aEsRD$path);\n\nvar $6dWjY = parcelRequire(\"6dWjY\");\n/**\n * The code to exit an action\n */ var $d2af87e6e8d06ed8$var$ExitCode;\n(function(ExitCode) {\n /**\n * A code indicating that the action was successful\n */ ExitCode[ExitCode[\"Success\"] = 0] = \"Success\";\n /**\n * A code indicating that the action was a failure\n */ ExitCode[ExitCode[\"Failure\"] = 1] = \"Failure\";\n})($d2af87e6e8d06ed8$var$ExitCode = module.exports.ExitCode || (module.exports.ExitCode = {}));\n//-----------------------------------------------------------------------\n// Variables\n//-----------------------------------------------------------------------\n/**\n * Sets env variable for this action and future actions in the job\n * @param name the name of the variable to set\n * @param val the value of the variable. Non-string values will be converted to a string via JSON.stringify\n */ // eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction $d2af87e6e8d06ed8$var$exportVariable(name, val) {\n const convertedVal = $9tsrd.toCommandValue(val);\n process.env[name] = convertedVal;\n const filePath = process.env[\"GITHUB_ENV\"] || \"\";\n if (filePath) return $7kVRV.issueFileCommand(\"ENV\", $7kVRV.prepareKeyValueMessage(name, val));\n $gMlpL.issueCommand(\"set-env\", {\n name: name\n }, convertedVal);\n}\nmodule.exports.exportVariable = $d2af87e6e8d06ed8$var$exportVariable;\n/**\n * Registers a secret which will get masked from logs\n * @param secret value of the secret\n */ function $d2af87e6e8d06ed8$var$setSecret(secret) {\n $gMlpL.issueCommand(\"add-mask\", {}, secret);\n}\nmodule.exports.setSecret = $d2af87e6e8d06ed8$var$setSecret;\n/**\n * Prepends inputPath to the PATH (for this action and future actions)\n * @param inputPath\n */ function $d2af87e6e8d06ed8$var$addPath(inputPath) {\n const filePath = process.env[\"GITHUB_PATH\"] || \"\";\n if (filePath) $7kVRV.issueFileCommand(\"PATH\", inputPath);\n else $gMlpL.issueCommand(\"add-path\", {}, inputPath);\n process.env[\"PATH\"] = `${inputPath}${$d2af87e6e8d06ed8$var$path.delimiter}${process.env[\"PATH\"]}`;\n}\nmodule.exports.addPath = $d2af87e6e8d06ed8$var$addPath;\n/**\n * Gets the value of an input.\n * Unless trimWhitespace is set to false in InputOptions, the value is also trimmed.\n * Returns an empty string if the value is not defined.\n *\n * @param name name of the input to get\n * @param options optional. See InputOptions.\n * @returns string\n */ function $d2af87e6e8d06ed8$var$getInput(name, options) {\n const val = process.env[`INPUT_${name.replace(/ /g, \"_\").toUpperCase()}`] || \"\";\n if (options && options.required && !val) throw new Error(`Input required and not supplied: ${name}`);\n if (options && options.trimWhitespace === false) return val;\n return val.trim();\n}\nmodule.exports.getInput = $d2af87e6e8d06ed8$var$getInput;\n/**\n * Gets the values of an multiline input. Each value is also trimmed.\n *\n * @param name name of the input to get\n * @param options optional. See InputOptions.\n * @returns string[]\n *\n */ function $d2af87e6e8d06ed8$var$getMultilineInput(name, options) {\n const inputs = $d2af87e6e8d06ed8$var$getInput(name, options).split(\"\\n\").filter((x)=>x !== \"\");\n if (options && options.trimWhitespace === false) return inputs;\n return inputs.map((input)=>input.trim());\n}\nmodule.exports.getMultilineInput = $d2af87e6e8d06ed8$var$getMultilineInput;\n/**\n * Gets the input value of the boolean type in the YAML 1.2 \"core schema\" specification.\n * Support boolean input list: `true | True | TRUE | false | False | FALSE` .\n * The return value is also in boolean type.\n * ref: https://yaml.org/spec/1.2/spec.html#id2804923\n *\n * @param name name of the input to get\n * @param options optional. See InputOptions.\n * @returns boolean\n */ function $d2af87e6e8d06ed8$var$getBooleanInput(name, options) {\n const trueValue = [\n \"true\",\n \"True\",\n \"TRUE\"\n ];\n const falseValue = [\n \"false\",\n \"False\",\n \"FALSE\"\n ];\n const val = $d2af87e6e8d06ed8$var$getInput(name, options);\n if (trueValue.includes(val)) return true;\n if (falseValue.includes(val)) return false;\n throw new TypeError(`Input does not meet YAML 1.2 \"Core Schema\" specification: ${name}\\n` + `Support boolean input list: \\`true | True | TRUE | false | False | FALSE\\``);\n}\nmodule.exports.getBooleanInput = $d2af87e6e8d06ed8$var$getBooleanInput;\n/**\n * Sets the value of an output.\n *\n * @param name name of the output to set\n * @param value value to store. Non-string values will be converted to a string via JSON.stringify\n */ // eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction $d2af87e6e8d06ed8$var$setOutput(name, value) {\n const filePath = process.env[\"GITHUB_OUTPUT\"] || \"\";\n if (filePath) return $7kVRV.issueFileCommand(\"OUTPUT\", $7kVRV.prepareKeyValueMessage(name, value));\n process.stdout.write($d2af87e6e8d06ed8$var$os.EOL);\n $gMlpL.issueCommand(\"set-output\", {\n name: name\n }, $9tsrd.toCommandValue(value));\n}\nmodule.exports.setOutput = $d2af87e6e8d06ed8$var$setOutput;\n/**\n * Enables or disables the echoing of commands into stdout for the rest of the step.\n * Echoing is disabled by default if ACTIONS_STEP_DEBUG is not set.\n *\n */ function $d2af87e6e8d06ed8$var$setCommandEcho(enabled) {\n $gMlpL.issue(\"echo\", enabled ? \"on\" : \"off\");\n}\nmodule.exports.setCommandEcho = $d2af87e6e8d06ed8$var$setCommandEcho;\n//-----------------------------------------------------------------------\n// Results\n//-----------------------------------------------------------------------\n/**\n * Sets the action status to failed.\n * When the action exits it will be with an exit code of 1\n * @param message add error issue message\n */ function $d2af87e6e8d06ed8$var$setFailed(message) {\n process.exitCode = $d2af87e6e8d06ed8$var$ExitCode.Failure;\n $d2af87e6e8d06ed8$var$error(message);\n}\nmodule.exports.setFailed = $d2af87e6e8d06ed8$var$setFailed;\n//-----------------------------------------------------------------------\n// Logging Commands\n//-----------------------------------------------------------------------\n/**\n * Gets whether Actions Step Debug is on or not\n */ function $d2af87e6e8d06ed8$var$isDebug() {\n return process.env[\"RUNNER_DEBUG\"] === \"1\";\n}\nmodule.exports.isDebug = $d2af87e6e8d06ed8$var$isDebug;\n/**\n * Writes debug message to user log\n * @param message debug message\n */ function $d2af87e6e8d06ed8$var$debug(message) {\n $gMlpL.issueCommand(\"debug\", {}, message);\n}\nmodule.exports.debug = $d2af87e6e8d06ed8$var$debug;\n/**\n * Adds an error issue\n * @param message error issue message. Errors will be converted to string via toString()\n * @param properties optional properties to add to the annotation.\n */ function $d2af87e6e8d06ed8$var$error(message, properties = {}) {\n $gMlpL.issueCommand(\"error\", $9tsrd.toCommandProperties(properties), message instanceof Error ? message.toString() : message);\n}\nmodule.exports.error = $d2af87e6e8d06ed8$var$error;\n/**\n * Adds a warning issue\n * @param message warning issue message. Errors will be converted to string via toString()\n * @param properties optional properties to add to the annotation.\n */ function $d2af87e6e8d06ed8$var$warning(message, properties = {}) {\n $gMlpL.issueCommand(\"warning\", $9tsrd.toCommandProperties(properties), message instanceof Error ? message.toString() : message);\n}\nmodule.exports.warning = $d2af87e6e8d06ed8$var$warning;\n/**\n * Adds a notice issue\n * @param message notice issue message. Errors will be converted to string via toString()\n * @param properties optional properties to add to the annotation.\n */ function $d2af87e6e8d06ed8$var$notice(message, properties = {}) {\n $gMlpL.issueCommand(\"notice\", $9tsrd.toCommandProperties(properties), message instanceof Error ? message.toString() : message);\n}\nmodule.exports.notice = $d2af87e6e8d06ed8$var$notice;\n/**\n * Writes info to log with console.log.\n * @param message info message\n */ function $d2af87e6e8d06ed8$var$info(message) {\n process.stdout.write(message + $d2af87e6e8d06ed8$var$os.EOL);\n}\nmodule.exports.info = $d2af87e6e8d06ed8$var$info;\n/**\n * Begin an output group.\n *\n * Output until the next `groupEnd` will be foldable in this group\n *\n * @param name The name of the output group\n */ function $d2af87e6e8d06ed8$var$startGroup(name) {\n $gMlpL.issue(\"group\", name);\n}\nmodule.exports.startGroup = $d2af87e6e8d06ed8$var$startGroup;\n/**\n * End an output group.\n */ function $d2af87e6e8d06ed8$var$endGroup() {\n $gMlpL.issue(\"endgroup\");\n}\nmodule.exports.endGroup = $d2af87e6e8d06ed8$var$endGroup;\n/**\n * Wrap an asynchronous function call in a group.\n *\n * Returns the same type as the function itself.\n *\n * @param name The name of the group\n * @param fn The function to wrap in the group\n */ function $d2af87e6e8d06ed8$var$group(name, fn) {\n return $d2af87e6e8d06ed8$var$__awaiter(this, void 0, void 0, function*() {\n $d2af87e6e8d06ed8$var$startGroup(name);\n let result;\n try {\n result = yield fn();\n } finally{\n $d2af87e6e8d06ed8$var$endGroup();\n }\n return result;\n });\n}\nmodule.exports.group = $d2af87e6e8d06ed8$var$group;\n//-----------------------------------------------------------------------\n// Wrapper action state\n//-----------------------------------------------------------------------\n/**\n * Saves state for current action, the state can only be retrieved by this action's post job execution.\n *\n * @param name name of the state to store\n * @param value value to store. Non-string values will be converted to a string via JSON.stringify\n */ // eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction $d2af87e6e8d06ed8$var$saveState(name, value) {\n const filePath = process.env[\"GITHUB_STATE\"] || \"\";\n if (filePath) return $7kVRV.issueFileCommand(\"STATE\", $7kVRV.prepareKeyValueMessage(name, value));\n $gMlpL.issueCommand(\"save-state\", {\n name: name\n }, $9tsrd.toCommandValue(value));\n}\nmodule.exports.saveState = $d2af87e6e8d06ed8$var$saveState;\n/**\n * Gets the value of an state set by this action's main execution.\n *\n * @param name name of the state to get\n * @returns string\n */ function $d2af87e6e8d06ed8$var$getState(name) {\n return process.env[`STATE_${name}`] || \"\";\n}\nmodule.exports.getState = $d2af87e6e8d06ed8$var$getState;\nfunction $d2af87e6e8d06ed8$var$getIDToken(aud) {\n return $d2af87e6e8d06ed8$var$__awaiter(this, void 0, void 0, function*() {\n return yield $6dWjY.OidcClient.getIDToken(aud);\n });\n}\nmodule.exports.getIDToken = $d2af87e6e8d06ed8$var$getIDToken;\n\nvar $aYzS9 = parcelRequire(\"aYzS9\");\nObject.defineProperty(module.exports, \"summary\", {\n enumerable: true,\n get: function() {\n return $aYzS9.summary;\n }\n});\n\nvar $aYzS9 = parcelRequire(\"aYzS9\");\nObject.defineProperty(module.exports, \"markdownSummary\", {\n enumerable: true,\n get: function() {\n return $aYzS9.markdownSummary;\n }\n});\n\nvar $iGRwD = parcelRequire(\"iGRwD\");\nObject.defineProperty(module.exports, \"toPosixPath\", {\n enumerable: true,\n get: function() {\n return $iGRwD.toPosixPath;\n }\n});\nObject.defineProperty(module.exports, \"toWin32Path\", {\n enumerable: true,\n get: function() {\n return $iGRwD.toWin32Path;\n }\n});\nObject.defineProperty(module.exports, \"toPlatformPath\", {\n enumerable: true,\n get: function() {\n return $iGRwD.toPlatformPath;\n }\n});\n\n});\nparcelRequire.register(\"gMlpL\", function(module, exports) {\n\"use strict\";\nvar $c371bd861ccfd3f1$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $c371bd861ccfd3f1$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $c371bd861ccfd3f1$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $c371bd861ccfd3f1$var$__createBinding(result, mod, k);\n }\n $c371bd861ccfd3f1$var$__setModuleDefault(result, mod);\n return result;\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.issue = module.exports.issueCommand = void 0;\n\nconst $c371bd861ccfd3f1$var$os = $c371bd861ccfd3f1$var$__importStar($aEsRD$os);\n\nvar $9tsrd = parcelRequire(\"9tsrd\");\n/**\n * Commands\n *\n * Command Format:\n * ::name key=value,key=value::message\n *\n * Examples:\n * ::warning::This is the message\n * ::set-env name=MY_VAR::some value\n */ function $c371bd861ccfd3f1$var$issueCommand(command, properties, message) {\n const cmd = new $c371bd861ccfd3f1$var$Command(command, properties, message);\n process.stdout.write(cmd.toString() + $c371bd861ccfd3f1$var$os.EOL);\n}\nmodule.exports.issueCommand = $c371bd861ccfd3f1$var$issueCommand;\nfunction $c371bd861ccfd3f1$var$issue(name, message = \"\") {\n $c371bd861ccfd3f1$var$issueCommand(name, {}, message);\n}\nmodule.exports.issue = $c371bd861ccfd3f1$var$issue;\nconst $c371bd861ccfd3f1$var$CMD_STRING = \"::\";\nclass $c371bd861ccfd3f1$var$Command {\n constructor(command, properties, message){\n if (!command) command = \"missing.command\";\n this.command = command;\n this.properties = properties;\n this.message = message;\n }\n toString() {\n let cmdStr = $c371bd861ccfd3f1$var$CMD_STRING + this.command;\n if (this.properties && Object.keys(this.properties).length > 0) {\n cmdStr += \" \";\n let first = true;\n for(const key in this.properties)if (this.properties.hasOwnProperty(key)) {\n const val = this.properties[key];\n if (val) {\n if (first) first = false;\n else cmdStr += \",\";\n cmdStr += `${key}=${$c371bd861ccfd3f1$var$escapeProperty(val)}`;\n }\n }\n }\n cmdStr += `${$c371bd861ccfd3f1$var$CMD_STRING}${$c371bd861ccfd3f1$var$escapeData(this.message)}`;\n return cmdStr;\n }\n}\nfunction $c371bd861ccfd3f1$var$escapeData(s) {\n return $9tsrd.toCommandValue(s).replace(/%/g, \"%25\").replace(/\\r/g, \"%0D\").replace(/\\n/g, \"%0A\");\n}\nfunction $c371bd861ccfd3f1$var$escapeProperty(s) {\n return $9tsrd.toCommandValue(s).replace(/%/g, \"%25\").replace(/\\r/g, \"%0D\").replace(/\\n/g, \"%0A\").replace(/:/g, \"%3A\").replace(/,/g, \"%2C\");\n}\n\n});\nparcelRequire.register(\"9tsrd\", function(module, exports) {\n\"use strict\";\n// We use any as a valid input type\n/* eslint-disable @typescript-eslint/no-explicit-any */ Object.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.toCommandProperties = module.exports.toCommandValue = void 0;\n/**\n * Sanitizes an input into a string so it can be passed into issueCommand safely\n * @param input input to sanitize into a string\n */ function $6e5ce1a8c2d57f8c$var$toCommandValue(input) {\n if (input === null || input === undefined) return \"\";\n else if (typeof input === \"string\" || input instanceof String) return input;\n return JSON.stringify(input);\n}\nmodule.exports.toCommandValue = $6e5ce1a8c2d57f8c$var$toCommandValue;\n/**\n *\n * @param annotationProperties\n * @returns The command properties to send with the actual annotation command\n * See IssueCommandProperties: https://github.com/actions/runner/blob/main/src/Runner.Worker/ActionCommandManager.cs#L646\n */ function $6e5ce1a8c2d57f8c$var$toCommandProperties(annotationProperties) {\n if (!Object.keys(annotationProperties).length) return {};\n return {\n title: annotationProperties.title,\n file: annotationProperties.file,\n line: annotationProperties.startLine,\n endLine: annotationProperties.endLine,\n col: annotationProperties.startColumn,\n endColumn: annotationProperties.endColumn\n };\n}\nmodule.exports.toCommandProperties = $6e5ce1a8c2d57f8c$var$toCommandProperties;\n\n});\n\n\nparcelRequire.register(\"7kVRV\", function(module, exports) {\n\"use strict\";\n// For internal use, subject to change.\nvar $55774a31bf7e3d67$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $55774a31bf7e3d67$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $55774a31bf7e3d67$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $55774a31bf7e3d67$var$__createBinding(result, mod, k);\n }\n $55774a31bf7e3d67$var$__setModuleDefault(result, mod);\n return result;\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.prepareKeyValueMessage = module.exports.issueFileCommand = void 0;\n\n// We use any as a valid input type\n/* eslint-disable @typescript-eslint/no-explicit-any */ const $55774a31bf7e3d67$var$fs = $55774a31bf7e3d67$var$__importStar($aEsRD$fs);\n\nconst $55774a31bf7e3d67$var$os = $55774a31bf7e3d67$var$__importStar($aEsRD$os);\n\nvar $hZmcj = parcelRequire(\"hZmcj\");\n\nvar $9tsrd = parcelRequire(\"9tsrd\");\nfunction $55774a31bf7e3d67$var$issueFileCommand(command, message) {\n const filePath = process.env[`GITHUB_${command}`];\n if (!filePath) throw new Error(`Unable to find environment variable for file command ${command}`);\n if (!$55774a31bf7e3d67$var$fs.existsSync(filePath)) throw new Error(`Missing file at path: ${filePath}`);\n $55774a31bf7e3d67$var$fs.appendFileSync(filePath, `${$9tsrd.toCommandValue(message)}${$55774a31bf7e3d67$var$os.EOL}`, {\n encoding: \"utf8\"\n });\n}\nmodule.exports.issueFileCommand = $55774a31bf7e3d67$var$issueFileCommand;\nfunction $55774a31bf7e3d67$var$prepareKeyValueMessage(key, value) {\n const delimiter = `ghadelimiter_${$hZmcj.default()}`;\n const convertedValue = $9tsrd.toCommandValue(value);\n // These should realistically never happen, but just in case someone finds a\n // way to exploit uuid generation let's not allow keys or values that contain\n // the delimiter.\n if (key.includes(delimiter)) throw new Error(`Unexpected input: name should not contain the delimiter \"${delimiter}\"`);\n if (convertedValue.includes(delimiter)) throw new Error(`Unexpected input: value should not contain the delimiter \"${delimiter}\"`);\n return `${key}<<${delimiter}${$55774a31bf7e3d67$var$os.EOL}${convertedValue}${$55774a31bf7e3d67$var$os.EOL}${delimiter}`;\n}\nmodule.exports.prepareKeyValueMessage = $55774a31bf7e3d67$var$prepareKeyValueMessage;\n\n});\nparcelRequire.register(\"hZmcj\", function(module, exports) {\n\n$parcel$export(module.exports, \"default\", () => $d1895a237436f759$export$2e2bcd8739ae039);\n\nvar $fL4R4 = parcelRequire(\"fL4R4\");\n\nvar $dfDnF = parcelRequire(\"dfDnF\");\nfunction $d1895a237436f759$var$v4(options, buf, offset) {\n options = options || {};\n const rnds = options.random || (options.rng || (0, $fL4R4.default))(); // 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; // Copy bytes to buffer, if provided\n if (buf) {\n offset = offset || 0;\n for(let i = 0; i < 16; ++i)buf[offset + i] = rnds[i];\n return buf;\n }\n return (0, $dfDnF.default)(rnds);\n}\nvar $d1895a237436f759$export$2e2bcd8739ae039 = $d1895a237436f759$var$v4;\n\n});\nparcelRequire.register(\"fL4R4\", function(module, exports) {\n\n$parcel$export(module.exports, \"default\", () => $b78f02e5de982783$export$2e2bcd8739ae039);\n\nconst $b78f02e5de982783$var$rnds8Pool = new Uint8Array(256); // # of random values to pre-allocate\nlet $b78f02e5de982783$var$poolPtr = $b78f02e5de982783$var$rnds8Pool.length;\nfunction $b78f02e5de982783$export$2e2bcd8739ae039() {\n if ($b78f02e5de982783$var$poolPtr > $b78f02e5de982783$var$rnds8Pool.length - 16) {\n (0, ($parcel$interopDefault($aEsRD$crypto))).randomFillSync($b78f02e5de982783$var$rnds8Pool);\n $b78f02e5de982783$var$poolPtr = 0;\n }\n return $b78f02e5de982783$var$rnds8Pool.slice($b78f02e5de982783$var$poolPtr, $b78f02e5de982783$var$poolPtr += 16);\n}\n\n});\n\nparcelRequire.register(\"dfDnF\", function(module, exports) {\n\n$parcel$export(module.exports, \"default\", () => $9a5b393ed47b0e5c$export$2e2bcd8739ae039);\n\nvar $k6vAm = parcelRequire(\"k6vAm\");\n/**\n * Convert array of 16 byte values to UUID string format of the form:\n * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\n */ const $9a5b393ed47b0e5c$var$byteToHex = [];\nfor(let i = 0; i < 256; ++i)$9a5b393ed47b0e5c$var$byteToHex.push((i + 0x100).toString(16).substr(1));\nfunction $9a5b393ed47b0e5c$var$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 = ($9a5b393ed47b0e5c$var$byteToHex[arr[offset + 0]] + $9a5b393ed47b0e5c$var$byteToHex[arr[offset + 1]] + $9a5b393ed47b0e5c$var$byteToHex[arr[offset + 2]] + $9a5b393ed47b0e5c$var$byteToHex[arr[offset + 3]] + \"-\" + $9a5b393ed47b0e5c$var$byteToHex[arr[offset + 4]] + $9a5b393ed47b0e5c$var$byteToHex[arr[offset + 5]] + \"-\" + $9a5b393ed47b0e5c$var$byteToHex[arr[offset + 6]] + $9a5b393ed47b0e5c$var$byteToHex[arr[offset + 7]] + \"-\" + $9a5b393ed47b0e5c$var$byteToHex[arr[offset + 8]] + $9a5b393ed47b0e5c$var$byteToHex[arr[offset + 9]] + \"-\" + $9a5b393ed47b0e5c$var$byteToHex[arr[offset + 10]] + $9a5b393ed47b0e5c$var$byteToHex[arr[offset + 11]] + $9a5b393ed47b0e5c$var$byteToHex[arr[offset + 12]] + $9a5b393ed47b0e5c$var$byteToHex[arr[offset + 13]] + $9a5b393ed47b0e5c$var$byteToHex[arr[offset + 14]] + $9a5b393ed47b0e5c$var$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 if (!(0, $k6vAm.default)(uuid)) throw TypeError(\"Stringified UUID is invalid\");\n return uuid;\n}\nvar $9a5b393ed47b0e5c$export$2e2bcd8739ae039 = $9a5b393ed47b0e5c$var$stringify;\n\n});\nparcelRequire.register(\"k6vAm\", function(module, exports) {\n\n$parcel$export(module.exports, \"default\", () => $ea2cde650ba59bd3$export$2e2bcd8739ae039);\n\nvar $awO54 = parcelRequire(\"awO54\");\nfunction $ea2cde650ba59bd3$var$validate(uuid) {\n return typeof uuid === \"string\" && (0, $awO54.default).test(uuid);\n}\nvar $ea2cde650ba59bd3$export$2e2bcd8739ae039 = $ea2cde650ba59bd3$var$validate;\n\n});\nparcelRequire.register(\"awO54\", function(module, exports) {\n\n$parcel$export(module.exports, \"default\", () => $7aa3bd89421916a3$export$2e2bcd8739ae039);\nvar $7aa3bd89421916a3$export$2e2bcd8739ae039 = /^(?:[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;\n\n});\n\n\n\n\n\nparcelRequire.register(\"6dWjY\", function(module, exports) {\n\"use strict\";\nvar $48813258c02a96b7$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.OidcClient = void 0;\n\nvar $6xPYX = parcelRequire(\"6xPYX\");\n\nvar $gRdnl = parcelRequire(\"gRdnl\");\n\nvar $i5trn = parcelRequire(\"i5trn\");\nclass $48813258c02a96b7$var$OidcClient {\n static createHttpClient(allowRetry = true, maxRetry = 10) {\n const requestOptions = {\n allowRetries: allowRetry,\n maxRetries: maxRetry\n };\n return new $6xPYX.HttpClient(\"actions/oidc-client\", [\n new $gRdnl.BearerCredentialHandler($48813258c02a96b7$var$OidcClient.getRequestToken())\n ], requestOptions);\n }\n static getRequestToken() {\n const token = process.env[\"ACTIONS_ID_TOKEN_REQUEST_TOKEN\"];\n if (!token) throw new Error(\"Unable to get ACTIONS_ID_TOKEN_REQUEST_TOKEN env variable\");\n return token;\n }\n static getIDTokenUrl() {\n const runtimeUrl = process.env[\"ACTIONS_ID_TOKEN_REQUEST_URL\"];\n if (!runtimeUrl) throw new Error(\"Unable to get ACTIONS_ID_TOKEN_REQUEST_URL env variable\");\n return runtimeUrl;\n }\n static getCall(id_token_url) {\n var _a;\n return $48813258c02a96b7$var$__awaiter(this, void 0, void 0, function*() {\n const httpclient = $48813258c02a96b7$var$OidcClient.createHttpClient();\n const res = yield httpclient.getJson(id_token_url).catch((error)=>{\n throw new Error(`Failed to get ID Token. \\n \n Error Code : ${error.statusCode}\\n \n Error Message: ${error.result.message}`);\n });\n const id_token = (_a = res.result) === null || _a === void 0 ? void 0 : _a.value;\n if (!id_token) throw new Error(\"Response json body do not have ID Token field\");\n return id_token;\n });\n }\n static getIDToken(audience) {\n return $48813258c02a96b7$var$__awaiter(this, void 0, void 0, function*() {\n try {\n // New ID Token is requested from action service\n let id_token_url = $48813258c02a96b7$var$OidcClient.getIDTokenUrl();\n if (audience) {\n const encodedAudience = encodeURIComponent(audience);\n id_token_url = `${id_token_url}&audience=${encodedAudience}`;\n }\n $i5trn.debug(`ID token url is ${id_token_url}`);\n const id_token = yield $48813258c02a96b7$var$OidcClient.getCall(id_token_url);\n $i5trn.setSecret(id_token);\n return id_token;\n } catch (error) {\n throw new Error(`Error message: ${error.message}`);\n }\n });\n }\n}\nmodule.exports.OidcClient = $48813258c02a96b7$var$OidcClient;\n\n});\nparcelRequire.register(\"6xPYX\", function(module, exports) {\n\"use strict\";\n/* eslint-disable @typescript-eslint/no-explicit-any */ var $4c3e25bf723c404d$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $4c3e25bf723c404d$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $4c3e25bf723c404d$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $4c3e25bf723c404d$var$__createBinding(result, mod, k);\n }\n $4c3e25bf723c404d$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $4c3e25bf723c404d$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.HttpClient = module.exports.isHttps = module.exports.HttpClientResponse = module.exports.HttpClientError = module.exports.getProxyUrl = module.exports.MediaTypes = module.exports.Headers = module.exports.HttpCodes = void 0;\n\nconst $4c3e25bf723c404d$var$http = $4c3e25bf723c404d$var$__importStar($aEsRD$http);\n\nconst $4c3e25bf723c404d$var$https = $4c3e25bf723c404d$var$__importStar($aEsRD$https);\n\nconst $4c3e25bf723c404d$var$pm = $4c3e25bf723c404d$var$__importStar((parcelRequire(\"1cTRj\")));\n\nconst $4c3e25bf723c404d$var$tunnel = $4c3e25bf723c404d$var$__importStar((parcelRequire(\"k1Uj2\")));\nvar $4c3e25bf723c404d$var$HttpCodes;\n(function(HttpCodes) {\n HttpCodes[HttpCodes[\"OK\"] = 200] = \"OK\";\n HttpCodes[HttpCodes[\"MultipleChoices\"] = 300] = \"MultipleChoices\";\n HttpCodes[HttpCodes[\"MovedPermanently\"] = 301] = \"MovedPermanently\";\n HttpCodes[HttpCodes[\"ResourceMoved\"] = 302] = \"ResourceMoved\";\n HttpCodes[HttpCodes[\"SeeOther\"] = 303] = \"SeeOther\";\n HttpCodes[HttpCodes[\"NotModified\"] = 304] = \"NotModified\";\n HttpCodes[HttpCodes[\"UseProxy\"] = 305] = \"UseProxy\";\n HttpCodes[HttpCodes[\"SwitchProxy\"] = 306] = \"SwitchProxy\";\n HttpCodes[HttpCodes[\"TemporaryRedirect\"] = 307] = \"TemporaryRedirect\";\n HttpCodes[HttpCodes[\"PermanentRedirect\"] = 308] = \"PermanentRedirect\";\n HttpCodes[HttpCodes[\"BadRequest\"] = 400] = \"BadRequest\";\n HttpCodes[HttpCodes[\"Unauthorized\"] = 401] = \"Unauthorized\";\n HttpCodes[HttpCodes[\"PaymentRequired\"] = 402] = \"PaymentRequired\";\n HttpCodes[HttpCodes[\"Forbidden\"] = 403] = \"Forbidden\";\n HttpCodes[HttpCodes[\"NotFound\"] = 404] = \"NotFound\";\n HttpCodes[HttpCodes[\"MethodNotAllowed\"] = 405] = \"MethodNotAllowed\";\n HttpCodes[HttpCodes[\"NotAcceptable\"] = 406] = \"NotAcceptable\";\n HttpCodes[HttpCodes[\"ProxyAuthenticationRequired\"] = 407] = \"ProxyAuthenticationRequired\";\n HttpCodes[HttpCodes[\"RequestTimeout\"] = 408] = \"RequestTimeout\";\n HttpCodes[HttpCodes[\"Conflict\"] = 409] = \"Conflict\";\n HttpCodes[HttpCodes[\"Gone\"] = 410] = \"Gone\";\n HttpCodes[HttpCodes[\"TooManyRequests\"] = 429] = \"TooManyRequests\";\n HttpCodes[HttpCodes[\"InternalServerError\"] = 500] = \"InternalServerError\";\n HttpCodes[HttpCodes[\"NotImplemented\"] = 501] = \"NotImplemented\";\n HttpCodes[HttpCodes[\"BadGateway\"] = 502] = \"BadGateway\";\n HttpCodes[HttpCodes[\"ServiceUnavailable\"] = 503] = \"ServiceUnavailable\";\n HttpCodes[HttpCodes[\"GatewayTimeout\"] = 504] = \"GatewayTimeout\";\n})($4c3e25bf723c404d$var$HttpCodes = module.exports.HttpCodes || (module.exports.HttpCodes = {}));\nvar $4c3e25bf723c404d$var$Headers;\n(function(Headers) {\n Headers[\"Accept\"] = \"accept\";\n Headers[\"ContentType\"] = \"content-type\";\n})($4c3e25bf723c404d$var$Headers = module.exports.Headers || (module.exports.Headers = {}));\nvar $4c3e25bf723c404d$var$MediaTypes;\n(function(MediaTypes) {\n MediaTypes[\"ApplicationJson\"] = \"application/json\";\n})($4c3e25bf723c404d$var$MediaTypes = module.exports.MediaTypes || (module.exports.MediaTypes = {}));\n/**\n * Returns the proxy URL, depending upon the supplied url and proxy environment variables.\n * @param serverUrl The server URL where the request will be sent. For example, https://api.github.com\n */ function $4c3e25bf723c404d$var$getProxyUrl(serverUrl) {\n const proxyUrl = $4c3e25bf723c404d$var$pm.getProxyUrl(new URL(serverUrl));\n return proxyUrl ? proxyUrl.href : \"\";\n}\nmodule.exports.getProxyUrl = $4c3e25bf723c404d$var$getProxyUrl;\nconst $4c3e25bf723c404d$var$HttpRedirectCodes = [\n $4c3e25bf723c404d$var$HttpCodes.MovedPermanently,\n $4c3e25bf723c404d$var$HttpCodes.ResourceMoved,\n $4c3e25bf723c404d$var$HttpCodes.SeeOther,\n $4c3e25bf723c404d$var$HttpCodes.TemporaryRedirect,\n $4c3e25bf723c404d$var$HttpCodes.PermanentRedirect\n];\nconst $4c3e25bf723c404d$var$HttpResponseRetryCodes = [\n $4c3e25bf723c404d$var$HttpCodes.BadGateway,\n $4c3e25bf723c404d$var$HttpCodes.ServiceUnavailable,\n $4c3e25bf723c404d$var$HttpCodes.GatewayTimeout\n];\nconst $4c3e25bf723c404d$var$RetryableHttpVerbs = [\n \"OPTIONS\",\n \"GET\",\n \"DELETE\",\n \"HEAD\"\n];\nconst $4c3e25bf723c404d$var$ExponentialBackoffCeiling = 10;\nconst $4c3e25bf723c404d$var$ExponentialBackoffTimeSlice = 5;\nclass $4c3e25bf723c404d$var$HttpClientError extends Error {\n constructor(message, statusCode){\n super(message);\n this.name = \"HttpClientError\";\n this.statusCode = statusCode;\n Object.setPrototypeOf(this, $4c3e25bf723c404d$var$HttpClientError.prototype);\n }\n}\nmodule.exports.HttpClientError = $4c3e25bf723c404d$var$HttpClientError;\nclass $4c3e25bf723c404d$var$HttpClientResponse {\n constructor(message){\n this.message = message;\n }\n readBody() {\n return $4c3e25bf723c404d$var$__awaiter(this, void 0, void 0, function*() {\n return new Promise((resolve)=>$4c3e25bf723c404d$var$__awaiter(this, void 0, void 0, function*() {\n let output = Buffer.alloc(0);\n this.message.on(\"data\", (chunk)=>{\n output = Buffer.concat([\n output,\n chunk\n ]);\n });\n this.message.on(\"end\", ()=>{\n resolve(output.toString());\n });\n }));\n });\n }\n}\nmodule.exports.HttpClientResponse = $4c3e25bf723c404d$var$HttpClientResponse;\nfunction $4c3e25bf723c404d$var$isHttps(requestUrl) {\n const parsedUrl = new URL(requestUrl);\n return parsedUrl.protocol === \"https:\";\n}\nmodule.exports.isHttps = $4c3e25bf723c404d$var$isHttps;\nclass $4c3e25bf723c404d$var$HttpClient {\n constructor(userAgent, handlers, requestOptions){\n this._ignoreSslError = false;\n this._allowRedirects = true;\n this._allowRedirectDowngrade = false;\n this._maxRedirects = 50;\n this._allowRetries = false;\n this._maxRetries = 1;\n this._keepAlive = false;\n this._disposed = false;\n this.userAgent = userAgent;\n this.handlers = handlers || [];\n this.requestOptions = requestOptions;\n if (requestOptions) {\n if (requestOptions.ignoreSslError != null) this._ignoreSslError = requestOptions.ignoreSslError;\n this._socketTimeout = requestOptions.socketTimeout;\n if (requestOptions.allowRedirects != null) this._allowRedirects = requestOptions.allowRedirects;\n if (requestOptions.allowRedirectDowngrade != null) this._allowRedirectDowngrade = requestOptions.allowRedirectDowngrade;\n if (requestOptions.maxRedirects != null) this._maxRedirects = Math.max(requestOptions.maxRedirects, 0);\n if (requestOptions.keepAlive != null) this._keepAlive = requestOptions.keepAlive;\n if (requestOptions.allowRetries != null) this._allowRetries = requestOptions.allowRetries;\n if (requestOptions.maxRetries != null) this._maxRetries = requestOptions.maxRetries;\n }\n }\n options(requestUrl, additionalHeaders) {\n return $4c3e25bf723c404d$var$__awaiter(this, void 0, void 0, function*() {\n return this.request(\"OPTIONS\", requestUrl, null, additionalHeaders || {});\n });\n }\n get(requestUrl, additionalHeaders) {\n return $4c3e25bf723c404d$var$__awaiter(this, void 0, void 0, function*() {\n return this.request(\"GET\", requestUrl, null, additionalHeaders || {});\n });\n }\n del(requestUrl, additionalHeaders) {\n return $4c3e25bf723c404d$var$__awaiter(this, void 0, void 0, function*() {\n return this.request(\"DELETE\", requestUrl, null, additionalHeaders || {});\n });\n }\n post(requestUrl, data, additionalHeaders) {\n return $4c3e25bf723c404d$var$__awaiter(this, void 0, void 0, function*() {\n return this.request(\"POST\", requestUrl, data, additionalHeaders || {});\n });\n }\n patch(requestUrl, data, additionalHeaders) {\n return $4c3e25bf723c404d$var$__awaiter(this, void 0, void 0, function*() {\n return this.request(\"PATCH\", requestUrl, data, additionalHeaders || {});\n });\n }\n put(requestUrl, data, additionalHeaders) {\n return $4c3e25bf723c404d$var$__awaiter(this, void 0, void 0, function*() {\n return this.request(\"PUT\", requestUrl, data, additionalHeaders || {});\n });\n }\n head(requestUrl, additionalHeaders) {\n return $4c3e25bf723c404d$var$__awaiter(this, void 0, void 0, function*() {\n return this.request(\"HEAD\", requestUrl, null, additionalHeaders || {});\n });\n }\n sendStream(verb, requestUrl, stream, additionalHeaders) {\n return $4c3e25bf723c404d$var$__awaiter(this, void 0, void 0, function*() {\n return this.request(verb, requestUrl, stream, additionalHeaders);\n });\n }\n /**\n * Gets a typed object from an endpoint\n * Be aware that not found returns a null. Other errors (4xx, 5xx) reject the promise\n */ getJson(requestUrl, additionalHeaders = {}) {\n return $4c3e25bf723c404d$var$__awaiter(this, void 0, void 0, function*() {\n additionalHeaders[$4c3e25bf723c404d$var$Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, $4c3e25bf723c404d$var$Headers.Accept, $4c3e25bf723c404d$var$MediaTypes.ApplicationJson);\n const res = yield this.get(requestUrl, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n });\n }\n postJson(requestUrl, obj, additionalHeaders = {}) {\n return $4c3e25bf723c404d$var$__awaiter(this, void 0, void 0, function*() {\n const data = JSON.stringify(obj, null, 2);\n additionalHeaders[$4c3e25bf723c404d$var$Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, $4c3e25bf723c404d$var$Headers.Accept, $4c3e25bf723c404d$var$MediaTypes.ApplicationJson);\n additionalHeaders[$4c3e25bf723c404d$var$Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, $4c3e25bf723c404d$var$Headers.ContentType, $4c3e25bf723c404d$var$MediaTypes.ApplicationJson);\n const res = yield this.post(requestUrl, data, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n });\n }\n putJson(requestUrl, obj, additionalHeaders = {}) {\n return $4c3e25bf723c404d$var$__awaiter(this, void 0, void 0, function*() {\n const data = JSON.stringify(obj, null, 2);\n additionalHeaders[$4c3e25bf723c404d$var$Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, $4c3e25bf723c404d$var$Headers.Accept, $4c3e25bf723c404d$var$MediaTypes.ApplicationJson);\n additionalHeaders[$4c3e25bf723c404d$var$Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, $4c3e25bf723c404d$var$Headers.ContentType, $4c3e25bf723c404d$var$MediaTypes.ApplicationJson);\n const res = yield this.put(requestUrl, data, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n });\n }\n patchJson(requestUrl, obj, additionalHeaders = {}) {\n return $4c3e25bf723c404d$var$__awaiter(this, void 0, void 0, function*() {\n const data = JSON.stringify(obj, null, 2);\n additionalHeaders[$4c3e25bf723c404d$var$Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, $4c3e25bf723c404d$var$Headers.Accept, $4c3e25bf723c404d$var$MediaTypes.ApplicationJson);\n additionalHeaders[$4c3e25bf723c404d$var$Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, $4c3e25bf723c404d$var$Headers.ContentType, $4c3e25bf723c404d$var$MediaTypes.ApplicationJson);\n const res = yield this.patch(requestUrl, data, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n });\n }\n /**\n * Makes a raw http request.\n * All other methods such as get, post, patch, and request ultimately call this.\n * Prefer get, del, post and patch\n */ request(verb, requestUrl, data, headers) {\n return $4c3e25bf723c404d$var$__awaiter(this, void 0, void 0, function*() {\n if (this._disposed) throw new Error(\"Client has already been disposed.\");\n const parsedUrl = new URL(requestUrl);\n let info = this._prepareRequest(verb, parsedUrl, headers);\n // Only perform retries on reads since writes may not be idempotent.\n const maxTries = this._allowRetries && $4c3e25bf723c404d$var$RetryableHttpVerbs.includes(verb) ? this._maxRetries + 1 : 1;\n let numTries = 0;\n let response;\n do {\n response = yield this.requestRaw(info, data);\n // Check if it's an authentication challenge\n if (response && response.message && response.message.statusCode === $4c3e25bf723c404d$var$HttpCodes.Unauthorized) {\n let authenticationHandler;\n for (const handler of this.handlers)if (handler.canHandleAuthentication(response)) {\n authenticationHandler = handler;\n break;\n }\n if (authenticationHandler) return authenticationHandler.handleAuthentication(this, info, data);\n else // We have received an unauthorized response but have no handlers to handle it.\n // Let the response return to the caller.\n return response;\n }\n let redirectsRemaining = this._maxRedirects;\n while(response.message.statusCode && $4c3e25bf723c404d$var$HttpRedirectCodes.includes(response.message.statusCode) && this._allowRedirects && redirectsRemaining > 0){\n const redirectUrl = response.message.headers[\"location\"];\n if (!redirectUrl) break;\n const parsedRedirectUrl = new URL(redirectUrl);\n if (parsedUrl.protocol === \"https:\" && parsedUrl.protocol !== parsedRedirectUrl.protocol && !this._allowRedirectDowngrade) throw new 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.\");\n // we need to finish reading the response before reassigning response\n // which will leak the open socket.\n yield response.readBody();\n // strip authorization header if redirected to a different hostname\n if (parsedRedirectUrl.hostname !== parsedUrl.hostname) {\n for(const header in headers)// header names are case insensitive\n if (header.toLowerCase() === \"authorization\") delete headers[header];\n }\n // let's make the request with the new redirectUrl\n info = this._prepareRequest(verb, parsedRedirectUrl, headers);\n response = yield this.requestRaw(info, data);\n redirectsRemaining--;\n }\n if (!response.message.statusCode || !$4c3e25bf723c404d$var$HttpResponseRetryCodes.includes(response.message.statusCode)) // If not a retry code, return immediately instead of retrying\n return response;\n numTries += 1;\n if (numTries < maxTries) {\n yield response.readBody();\n yield this._performExponentialBackoff(numTries);\n }\n }while (numTries < maxTries);\n return response;\n });\n }\n /**\n * Needs to be called if keepAlive is set to true in request options.\n */ dispose() {\n if (this._agent) this._agent.destroy();\n this._disposed = true;\n }\n /**\n * Raw request.\n * @param info\n * @param data\n */ requestRaw(info, data) {\n return $4c3e25bf723c404d$var$__awaiter(this, void 0, void 0, function*() {\n return new Promise((resolve, reject)=>{\n function callbackForResult(err, res) {\n if (err) reject(err);\n else if (!res) // If `err` is not passed, then `res` must be passed.\n reject(new Error(\"Unknown error\"));\n else resolve(res);\n }\n this.requestRawWithCallback(info, data, callbackForResult);\n });\n });\n }\n /**\n * Raw request with callback.\n * @param info\n * @param data\n * @param onResult\n */ requestRawWithCallback(info, data, onResult) {\n if (typeof data === \"string\") {\n if (!info.options.headers) info.options.headers = {};\n info.options.headers[\"Content-Length\"] = Buffer.byteLength(data, \"utf8\");\n }\n let callbackCalled = false;\n function handleResult(err, res) {\n if (!callbackCalled) {\n callbackCalled = true;\n onResult(err, res);\n }\n }\n const req = info.httpModule.request(info.options, (msg)=>{\n const res = new $4c3e25bf723c404d$var$HttpClientResponse(msg);\n handleResult(undefined, res);\n });\n let socket;\n req.on(\"socket\", (sock)=>{\n socket = sock;\n });\n // If we ever get disconnected, we want the socket to timeout eventually\n req.setTimeout(this._socketTimeout || 180000, ()=>{\n if (socket) socket.end();\n handleResult(new Error(`Request timeout: ${info.options.path}`));\n });\n req.on(\"error\", function(err) {\n // err has statusCode property\n // res should have headers\n handleResult(err);\n });\n if (data && typeof data === \"string\") req.write(data, \"utf8\");\n if (data && typeof data !== \"string\") {\n data.on(\"close\", function() {\n req.end();\n });\n data.pipe(req);\n } else req.end();\n }\n /**\n * Gets an http agent. This function is useful when you need an http agent that handles\n * routing through a proxy server - depending upon the url and proxy environment variables.\n * @param serverUrl The server URL where the request will be sent. For example, https://api.github.com\n */ getAgent(serverUrl) {\n const parsedUrl = new URL(serverUrl);\n return this._getAgent(parsedUrl);\n }\n _prepareRequest(method, requestUrl, headers) {\n const info = {};\n info.parsedUrl = requestUrl;\n const usingSsl = info.parsedUrl.protocol === \"https:\";\n info.httpModule = usingSsl ? $4c3e25bf723c404d$var$https : $4c3e25bf723c404d$var$http;\n const defaultPort = usingSsl ? 443 : 80;\n info.options = {};\n info.options.host = info.parsedUrl.hostname;\n info.options.port = info.parsedUrl.port ? parseInt(info.parsedUrl.port) : defaultPort;\n info.options.path = (info.parsedUrl.pathname || \"\") + (info.parsedUrl.search || \"\");\n info.options.method = method;\n info.options.headers = this._mergeHeaders(headers);\n if (this.userAgent != null) info.options.headers[\"user-agent\"] = this.userAgent;\n info.options.agent = this._getAgent(info.parsedUrl);\n // gives handlers an opportunity to participate\n if (this.handlers) for (const handler of this.handlers)handler.prepareRequest(info.options);\n return info;\n }\n _mergeHeaders(headers) {\n if (this.requestOptions && this.requestOptions.headers) return Object.assign({}, $4c3e25bf723c404d$var$lowercaseKeys(this.requestOptions.headers), $4c3e25bf723c404d$var$lowercaseKeys(headers || {}));\n return $4c3e25bf723c404d$var$lowercaseKeys(headers || {});\n }\n _getExistingOrDefaultHeader(additionalHeaders, header, _default) {\n let clientHeader;\n if (this.requestOptions && this.requestOptions.headers) clientHeader = $4c3e25bf723c404d$var$lowercaseKeys(this.requestOptions.headers)[header];\n return additionalHeaders[header] || clientHeader || _default;\n }\n _getAgent(parsedUrl) {\n let agent;\n const proxyUrl = $4c3e25bf723c404d$var$pm.getProxyUrl(parsedUrl);\n const useProxy = proxyUrl && proxyUrl.hostname;\n if (this._keepAlive && useProxy) agent = this._proxyAgent;\n if (this._keepAlive && !useProxy) agent = this._agent;\n // if agent is already assigned use that agent.\n if (agent) return agent;\n const usingSsl = parsedUrl.protocol === \"https:\";\n let maxSockets = 100;\n if (this.requestOptions) maxSockets = this.requestOptions.maxSockets || $4c3e25bf723c404d$var$http.globalAgent.maxSockets;\n // This is `useProxy` again, but we need to check `proxyURl` directly for TypeScripts's flow analysis.\n if (proxyUrl && proxyUrl.hostname) {\n const agentOptions = {\n maxSockets: maxSockets,\n keepAlive: this._keepAlive,\n proxy: Object.assign(Object.assign({}, (proxyUrl.username || proxyUrl.password) && {\n proxyAuth: `${proxyUrl.username}:${proxyUrl.password}`\n }), {\n host: proxyUrl.hostname,\n port: proxyUrl.port\n })\n };\n let tunnelAgent;\n const overHttps = proxyUrl.protocol === \"https:\";\n if (usingSsl) tunnelAgent = overHttps ? $4c3e25bf723c404d$var$tunnel.httpsOverHttps : $4c3e25bf723c404d$var$tunnel.httpsOverHttp;\n else tunnelAgent = overHttps ? $4c3e25bf723c404d$var$tunnel.httpOverHttps : $4c3e25bf723c404d$var$tunnel.httpOverHttp;\n agent = tunnelAgent(agentOptions);\n this._proxyAgent = agent;\n }\n // if reusing agent across request and tunneling agent isn't assigned create a new agent\n if (this._keepAlive && !agent) {\n const options = {\n keepAlive: this._keepAlive,\n maxSockets: maxSockets\n };\n agent = usingSsl ? new $4c3e25bf723c404d$var$https.Agent(options) : new $4c3e25bf723c404d$var$http.Agent(options);\n this._agent = agent;\n }\n // if not using private agent and tunnel agent isn't setup then use global agent\n if (!agent) agent = usingSsl ? $4c3e25bf723c404d$var$https.globalAgent : $4c3e25bf723c404d$var$http.globalAgent;\n if (usingSsl && this._ignoreSslError) // we don't want to set NODE_TLS_REJECT_UNAUTHORIZED=0 since that will affect request for entire process\n // http.RequestOptions doesn't expose a way to modify RequestOptions.agent.options\n // we have to cast it to any and change it directly\n agent.options = Object.assign(agent.options || {}, {\n rejectUnauthorized: false\n });\n return agent;\n }\n _performExponentialBackoff(retryNumber) {\n return $4c3e25bf723c404d$var$__awaiter(this, void 0, void 0, function*() {\n retryNumber = Math.min($4c3e25bf723c404d$var$ExponentialBackoffCeiling, retryNumber);\n const ms = $4c3e25bf723c404d$var$ExponentialBackoffTimeSlice * Math.pow(2, retryNumber);\n return new Promise((resolve)=>setTimeout(()=>resolve(), ms));\n });\n }\n _processResponse(res, options) {\n return $4c3e25bf723c404d$var$__awaiter(this, void 0, void 0, function*() {\n return new Promise((resolve, reject)=>$4c3e25bf723c404d$var$__awaiter(this, void 0, void 0, function*() {\n const statusCode = res.message.statusCode || 0;\n const response = {\n statusCode: statusCode,\n result: null,\n headers: {}\n };\n // not found leads to null obj returned\n if (statusCode === $4c3e25bf723c404d$var$HttpCodes.NotFound) resolve(response);\n // get the result from the body\n function dateTimeDeserializer(key, value) {\n if (typeof value === \"string\") {\n const a = new Date(value);\n if (!isNaN(a.valueOf())) return a;\n }\n return value;\n }\n let obj;\n let contents;\n try {\n contents = yield res.readBody();\n if (contents && contents.length > 0) {\n if (options && options.deserializeDates) obj = JSON.parse(contents, dateTimeDeserializer);\n else obj = JSON.parse(contents);\n response.result = obj;\n }\n response.headers = res.message.headers;\n } catch (err) {\n // Invalid resource (contents not json); leaving result obj null\n }\n // note that 3xx redirects are handled by the http layer.\n if (statusCode > 299) {\n let msg;\n // if exception/error in body, attempt to get better error\n if (obj && obj.message) msg = obj.message;\n else if (contents && contents.length > 0) // it may be the case that the exception is in the body message as string\n msg = contents;\n else msg = `Failed request: (${statusCode})`;\n const err = new $4c3e25bf723c404d$var$HttpClientError(msg, statusCode);\n err.result = response.result;\n reject(err);\n } else resolve(response);\n }));\n });\n }\n}\nmodule.exports.HttpClient = $4c3e25bf723c404d$var$HttpClient;\nconst $4c3e25bf723c404d$var$lowercaseKeys = (obj)=>Object.keys(obj).reduce((c, k)=>(c[k.toLowerCase()] = obj[k], c), {});\n\n});\nparcelRequire.register(\"1cTRj\", function(module, exports) {\n\"use strict\";\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.checkBypass = module.exports.getProxyUrl = void 0;\nfunction $0e123dd858e86df5$var$getProxyUrl(reqUrl) {\n const usingSsl = reqUrl.protocol === \"https:\";\n if ($0e123dd858e86df5$var$checkBypass(reqUrl)) return undefined;\n const proxyVar = (()=>{\n if (usingSsl) return process.env[\"https_proxy\"] || process.env[\"HTTPS_PROXY\"];\n else return process.env[\"http_proxy\"] || process.env[\"HTTP_PROXY\"];\n })();\n if (proxyVar) return new URL(proxyVar);\n else return undefined;\n}\nmodule.exports.getProxyUrl = $0e123dd858e86df5$var$getProxyUrl;\nfunction $0e123dd858e86df5$var$checkBypass(reqUrl) {\n if (!reqUrl.hostname) return false;\n const reqHost = reqUrl.hostname;\n if ($0e123dd858e86df5$var$isLoopbackAddress(reqHost)) return true;\n const noProxy = process.env[\"no_proxy\"] || process.env[\"NO_PROXY\"] || \"\";\n if (!noProxy) return false;\n // Determine the request port\n let reqPort;\n if (reqUrl.port) reqPort = Number(reqUrl.port);\n else if (reqUrl.protocol === \"http:\") reqPort = 80;\n else if (reqUrl.protocol === \"https:\") reqPort = 443;\n // Format the request hostname and hostname with port\n const upperReqHosts = [\n reqUrl.hostname.toUpperCase()\n ];\n if (typeof reqPort === \"number\") upperReqHosts.push(`${upperReqHosts[0]}:${reqPort}`);\n // Compare request host against noproxy\n for (const upperNoProxyItem of noProxy.split(\",\").map((x)=>x.trim().toUpperCase()).filter((x)=>x)){\n if (upperNoProxyItem === \"*\" || upperReqHosts.some((x)=>x === upperNoProxyItem || x.endsWith(`.${upperNoProxyItem}`) || upperNoProxyItem.startsWith(\".\") && x.endsWith(`${upperNoProxyItem}`))) return true;\n }\n return false;\n}\nmodule.exports.checkBypass = $0e123dd858e86df5$var$checkBypass;\nfunction $0e123dd858e86df5$var$isLoopbackAddress(host) {\n const hostLower = host.toLowerCase();\n return hostLower === \"localhost\" || hostLower.startsWith(\"127.\") || hostLower.startsWith(\"[::1]\") || hostLower.startsWith(\"[0:0:0:0:0:0:0:1]\");\n}\n\n});\n\nparcelRequire.register(\"k1Uj2\", function(module, exports) {\n\nmodule.exports = (parcelRequire(\"jrbfx\"));\n\n});\nparcelRequire.register(\"jrbfx\", function(module, exports) {\n\n$parcel$export(module.exports, \"httpOverHttp\", () => $e26943dc429c359c$export$25cbd437c61a3835, (v) => $e26943dc429c359c$export$25cbd437c61a3835 = v);\n$parcel$export(module.exports, \"httpsOverHttp\", () => $e26943dc429c359c$export$c06e3df7111bae43, (v) => $e26943dc429c359c$export$c06e3df7111bae43 = v);\n$parcel$export(module.exports, \"httpOverHttps\", () => $e26943dc429c359c$export$5d50e36ef656139f, (v) => $e26943dc429c359c$export$5d50e36ef656139f = v);\n$parcel$export(module.exports, \"httpsOverHttps\", () => $e26943dc429c359c$export$212d6605025321cc, (v) => $e26943dc429c359c$export$212d6605025321cc = v);\n$parcel$export(module.exports, \"debug\", () => $e26943dc429c359c$export$1c9f709888824e05, (v) => $e26943dc429c359c$export$1c9f709888824e05 = v);\nvar $e26943dc429c359c$export$25cbd437c61a3835;\nvar $e26943dc429c359c$export$c06e3df7111bae43;\nvar $e26943dc429c359c$export$5d50e36ef656139f;\nvar $e26943dc429c359c$export$212d6605025321cc;\nvar $e26943dc429c359c$export$1c9f709888824e05;\n\"use strict\";\n\n\n\n\n\n\n\n$e26943dc429c359c$export$25cbd437c61a3835 = $e26943dc429c359c$var$httpOverHttp;\n$e26943dc429c359c$export$c06e3df7111bae43 = $e26943dc429c359c$var$httpsOverHttp;\n$e26943dc429c359c$export$5d50e36ef656139f = $e26943dc429c359c$var$httpOverHttps;\n$e26943dc429c359c$export$212d6605025321cc = $e26943dc429c359c$var$httpsOverHttps;\nfunction $e26943dc429c359c$var$httpOverHttp(options) {\n var agent = new $e26943dc429c359c$var$TunnelingAgent(options);\n agent.request = $aEsRD$http.request;\n return agent;\n}\nfunction $e26943dc429c359c$var$httpsOverHttp(options) {\n var agent = new $e26943dc429c359c$var$TunnelingAgent(options);\n agent.request = $aEsRD$http.request;\n agent.createSocket = $e26943dc429c359c$var$createSecureSocket;\n agent.defaultPort = 443;\n return agent;\n}\nfunction $e26943dc429c359c$var$httpOverHttps(options) {\n var agent = new $e26943dc429c359c$var$TunnelingAgent(options);\n agent.request = $aEsRD$https.request;\n return agent;\n}\nfunction $e26943dc429c359c$var$httpsOverHttps(options) {\n var agent = new $e26943dc429c359c$var$TunnelingAgent(options);\n agent.request = $aEsRD$https.request;\n agent.createSocket = $e26943dc429c359c$var$createSecureSocket;\n agent.defaultPort = 443;\n return agent;\n}\nfunction $e26943dc429c359c$var$TunnelingAgent(options) {\n var self = this;\n self.options = options || {};\n self.proxyOptions = self.options.proxy || {};\n self.maxSockets = self.options.maxSockets || $aEsRD$http.Agent.defaultMaxSockets;\n self.requests = [];\n self.sockets = [];\n self.on(\"free\", function onFree(socket, host, port, localAddress) {\n var options = $e26943dc429c359c$var$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}\n$aEsRD$util.inherits($e26943dc429c359c$var$TunnelingAgent, $aEsRD$events.EventEmitter);\n$e26943dc429c359c$var$TunnelingAgent.prototype.addRequest = function addRequest(req, host, port, localAddress) {\n var self = this;\n var options = $e26943dc429c359c$var$mergeOptions({\n request: req\n }, self.options, $e26943dc429c359c$var$toOptions(host, port, localAddress));\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 // 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 function onFree() {\n self.emit(\"free\", socket, options);\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$e26943dc429c359c$var$TunnelingAgent.prototype.createSocket = function createSocket(options, cb) {\n var self = this;\n var placeholder = {};\n self.sockets.push(placeholder);\n var connectOptions = $e26943dc429c359c$var$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) connectOptions.localAddress = options.localAddress;\n if (connectOptions.proxyAuth) {\n connectOptions.headers = connectOptions.headers || {};\n connectOptions.headers[\"Proxy-Authorization\"] = \"Basic \" + new Buffer(connectOptions.proxyAuth).toString(\"base64\");\n }\n $e26943dc429c359c$var$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 function onResponse(res) {\n // Very hacky. This is necessary to avoid http-parser leaks.\n res.upgrade = true;\n }\n function onUpgrade(res, socket, head) {\n // Hacky.\n process.nextTick(function() {\n onConnect(res, socket, head);\n });\n }\n function onConnect(res, socket, head) {\n connectReq.removeAllListeners();\n socket.removeAllListeners();\n if (res.statusCode !== 200) {\n $e26943dc429c359c$var$debug(\"tunneling socket could not be established, statusCode=%d\", res.statusCode);\n socket.destroy();\n var error = new Error(\"tunneling socket could not be established, 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 $e26943dc429c359c$var$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 $e26943dc429c359c$var$debug(\"tunneling connection has established\");\n self.sockets[self.sockets.indexOf(placeholder)] = socket;\n return cb(socket);\n }\n function onError(cause) {\n connectReq.removeAllListeners();\n $e26943dc429c359c$var$debug(\"tunneling socket could not be established, cause=%s\\n\", cause.message, cause.stack);\n var error = new Error(\"tunneling socket could not be established, cause=\" + cause.message);\n error.code = \"ECONNRESET\";\n options.request.emit(\"error\", error);\n self.removeSocket(placeholder);\n }\n};\n$e26943dc429c359c$var$TunnelingAgent.prototype.removeSocket = function removeSocket(socket) {\n var pos = this.sockets.indexOf(socket);\n if (pos === -1) return;\n this.sockets.splice(pos, 1);\n var pending = this.requests.shift();\n if (pending) // 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};\nfunction $e26943dc429c359c$var$createSecureSocket(options, cb) {\n var self = this;\n $e26943dc429c359c$var$TunnelingAgent.prototype.createSocket.call(self, options, function(socket) {\n var hostHeader = options.request.getHeader(\"host\");\n var tlsOptions = $e26943dc429c359c$var$mergeOptions({}, self.options, {\n socket: socket,\n servername: hostHeader ? hostHeader.replace(/:.*$/, \"\") : options.host\n });\n // 0 is dummy port for v0.6\n var secureSocket = $aEsRD$tls.connect(0, tlsOptions);\n self.sockets[self.sockets.indexOf(socket)] = secureSocket;\n cb(secureSocket);\n });\n}\nfunction $e26943dc429c359c$var$toOptions(host, port, localAddress) {\n if (typeof host === \"string\") return {\n host: host,\n port: port,\n localAddress: localAddress\n };\n return host; // for v0.11 or later\n}\nfunction $e26943dc429c359c$var$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) target[k] = overrides[k];\n }\n }\n }\n return target;\n}\nvar $e26943dc429c359c$var$debug;\nif (process.env.NODE_DEBUG && /\\btunnel\\b/.test(process.env.NODE_DEBUG)) $e26943dc429c359c$var$debug = function() {\n var args = Array.prototype.slice.call(arguments);\n if (typeof args[0] === \"string\") args[0] = \"TUNNEL: \" + args[0];\n else args.unshift(\"TUNNEL:\");\n console.error.apply(console, args);\n};\nelse $e26943dc429c359c$var$debug = function() {};\n$e26943dc429c359c$export$1c9f709888824e05 = $e26943dc429c359c$var$debug; // for test\n\n});\n\n\n\nparcelRequire.register(\"gRdnl\", function(module, exports) {\n\"use strict\";\nvar $c45bf8a936b75500$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.PersonalAccessTokenCredentialHandler = module.exports.BearerCredentialHandler = module.exports.BasicCredentialHandler = void 0;\nclass $c45bf8a936b75500$var$BasicCredentialHandler {\n constructor(username, password){\n this.username = username;\n this.password = password;\n }\n prepareRequest(options) {\n if (!options.headers) throw Error(\"The request has no headers\");\n options.headers[\"Authorization\"] = `Basic ${Buffer.from(`${this.username}:${this.password}`).toString(\"base64\")}`;\n }\n // This handler cannot handle 401\n canHandleAuthentication() {\n return false;\n }\n handleAuthentication() {\n return $c45bf8a936b75500$var$__awaiter(this, void 0, void 0, function*() {\n throw new Error(\"not implemented\");\n });\n }\n}\nmodule.exports.BasicCredentialHandler = $c45bf8a936b75500$var$BasicCredentialHandler;\nclass $c45bf8a936b75500$var$BearerCredentialHandler {\n constructor(token){\n this.token = token;\n }\n // currently implements pre-authorization\n // TODO: support preAuth = false where it hooks on 401\n prepareRequest(options) {\n if (!options.headers) throw Error(\"The request has no headers\");\n options.headers[\"Authorization\"] = `Bearer ${this.token}`;\n }\n // This handler cannot handle 401\n canHandleAuthentication() {\n return false;\n }\n handleAuthentication() {\n return $c45bf8a936b75500$var$__awaiter(this, void 0, void 0, function*() {\n throw new Error(\"not implemented\");\n });\n }\n}\nmodule.exports.BearerCredentialHandler = $c45bf8a936b75500$var$BearerCredentialHandler;\nclass $c45bf8a936b75500$var$PersonalAccessTokenCredentialHandler {\n constructor(token){\n this.token = token;\n }\n // currently implements pre-authorization\n // TODO: support preAuth = false where it hooks on 401\n prepareRequest(options) {\n if (!options.headers) throw Error(\"The request has no headers\");\n options.headers[\"Authorization\"] = `Basic ${Buffer.from(`PAT:${this.token}`).toString(\"base64\")}`;\n }\n // This handler cannot handle 401\n canHandleAuthentication() {\n return false;\n }\n handleAuthentication() {\n return $c45bf8a936b75500$var$__awaiter(this, void 0, void 0, function*() {\n throw new Error(\"not implemented\");\n });\n }\n}\nmodule.exports.PersonalAccessTokenCredentialHandler = $c45bf8a936b75500$var$PersonalAccessTokenCredentialHandler;\n\n});\n\n\nparcelRequire.register(\"aYzS9\", function(module, exports) {\n\"use strict\";\nvar $7fdb557960f509b1$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.summary = module.exports.markdownSummary = module.exports.SUMMARY_DOCS_URL = module.exports.SUMMARY_ENV_VAR = void 0;\n\n\nconst { access: $7fdb557960f509b1$var$access, appendFile: $7fdb557960f509b1$var$appendFile, writeFile: $7fdb557960f509b1$var$writeFile } = $aEsRD$fs.promises;\nmodule.exports.SUMMARY_ENV_VAR = \"GITHUB_STEP_SUMMARY\";\nmodule.exports.SUMMARY_DOCS_URL = \"https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions#adding-a-job-summary\";\nclass $7fdb557960f509b1$var$Summary {\n constructor(){\n this._buffer = \"\";\n }\n /**\n * Finds the summary file path from the environment, rejects if env var is not found or file does not exist\n * Also checks r/w permissions.\n *\n * @returns step summary file path\n */ filePath() {\n return $7fdb557960f509b1$var$__awaiter(this, void 0, void 0, function*() {\n if (this._filePath) return this._filePath;\n const pathFromEnv = process.env[module.exports.SUMMARY_ENV_VAR];\n if (!pathFromEnv) throw new Error(`Unable to find environment variable for $${module.exports.SUMMARY_ENV_VAR}. Check if your runtime environment supports job summaries.`);\n try {\n yield $7fdb557960f509b1$var$access(pathFromEnv, $aEsRD$fs.constants.R_OK | $aEsRD$fs.constants.W_OK);\n } catch (_a) {\n throw new Error(`Unable to access summary file: '${pathFromEnv}'. Check if the file has correct read/write permissions.`);\n }\n this._filePath = pathFromEnv;\n return this._filePath;\n });\n }\n /**\n * Wraps content in an HTML tag, adding any HTML attributes\n *\n * @param {string} tag HTML tag to wrap\n * @param {string | null} content content within the tag\n * @param {[attribute: string]: string} attrs key-value list of HTML attributes to add\n *\n * @returns {string} content wrapped in HTML element\n */ wrap(tag, content, attrs = {}) {\n const htmlAttrs = Object.entries(attrs).map(([key, value])=>` ${key}=\"${value}\"`).join(\"\");\n if (!content) return `<${tag}${htmlAttrs}>`;\n return `<${tag}${htmlAttrs}>${content}`;\n }\n /**\n * Writes text in the buffer to the summary buffer file and empties buffer. Will append by default.\n *\n * @param {SummaryWriteOptions} [options] (optional) options for write operation\n *\n * @returns {Promise} summary instance\n */ write(options) {\n return $7fdb557960f509b1$var$__awaiter(this, void 0, void 0, function*() {\n const overwrite = !!(options === null || options === void 0 ? void 0 : options.overwrite);\n const filePath = yield this.filePath();\n const writeFunc = overwrite ? $7fdb557960f509b1$var$writeFile : $7fdb557960f509b1$var$appendFile;\n yield writeFunc(filePath, this._buffer, {\n encoding: \"utf8\"\n });\n return this.emptyBuffer();\n });\n }\n /**\n * Clears the summary buffer and wipes the summary file\n *\n * @returns {Summary} summary instance\n */ clear() {\n return $7fdb557960f509b1$var$__awaiter(this, void 0, void 0, function*() {\n return this.emptyBuffer().write({\n overwrite: true\n });\n });\n }\n /**\n * Returns the current summary buffer as a string\n *\n * @returns {string} string of summary buffer\n */ stringify() {\n return this._buffer;\n }\n /**\n * If the summary buffer is empty\n *\n * @returns {boolen} true if the buffer is empty\n */ isEmptyBuffer() {\n return this._buffer.length === 0;\n }\n /**\n * Resets the summary buffer without writing to summary file\n *\n * @returns {Summary} summary instance\n */ emptyBuffer() {\n this._buffer = \"\";\n return this;\n }\n /**\n * Adds raw text to the summary buffer\n *\n * @param {string} text content to add\n * @param {boolean} [addEOL=false] (optional) append an EOL to the raw text (default: false)\n *\n * @returns {Summary} summary instance\n */ addRaw(text, addEOL = false) {\n this._buffer += text;\n return addEOL ? this.addEOL() : this;\n }\n /**\n * Adds the operating system-specific end-of-line marker to the buffer\n *\n * @returns {Summary} summary instance\n */ addEOL() {\n return this.addRaw($aEsRD$os.EOL);\n }\n /**\n * Adds an HTML codeblock to the summary buffer\n *\n * @param {string} code content to render within fenced code block\n * @param {string} lang (optional) language to syntax highlight code\n *\n * @returns {Summary} summary instance\n */ addCodeBlock(code, lang) {\n const attrs = Object.assign({}, lang && {\n lang: lang\n });\n const element = this.wrap(\"pre\", this.wrap(\"code\", code), attrs);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML list to the summary buffer\n *\n * @param {string[]} items list of items to render\n * @param {boolean} [ordered=false] (optional) if the rendered list should be ordered or not (default: false)\n *\n * @returns {Summary} summary instance\n */ addList(items, ordered = false) {\n const tag = ordered ? \"ol\" : \"ul\";\n const listItems = items.map((item)=>this.wrap(\"li\", item)).join(\"\");\n const element = this.wrap(tag, listItems);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML table to the summary buffer\n *\n * @param {SummaryTableCell[]} rows table rows\n *\n * @returns {Summary} summary instance\n */ addTable(rows) {\n const tableBody = rows.map((row)=>{\n const cells = row.map((cell)=>{\n if (typeof cell === \"string\") return this.wrap(\"td\", cell);\n const { header: header, data: data, colspan: colspan, rowspan: rowspan } = cell;\n const tag = header ? \"th\" : \"td\";\n const attrs = Object.assign(Object.assign({}, colspan && {\n colspan: colspan\n }), rowspan && {\n rowspan: rowspan\n });\n return this.wrap(tag, data, attrs);\n }).join(\"\");\n return this.wrap(\"tr\", cells);\n }).join(\"\");\n const element = this.wrap(\"table\", tableBody);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds a collapsable HTML details element to the summary buffer\n *\n * @param {string} label text for the closed state\n * @param {string} content collapsable content\n *\n * @returns {Summary} summary instance\n */ addDetails(label, content) {\n const element = this.wrap(\"details\", this.wrap(\"summary\", label) + content);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML image tag to the summary buffer\n *\n * @param {string} src path to the image you to embed\n * @param {string} alt text description of the image\n * @param {SummaryImageOptions} options (optional) addition image attributes\n *\n * @returns {Summary} summary instance\n */ addImage(src, alt, options) {\n const { width: width, height: height } = options || {};\n const attrs = Object.assign(Object.assign({}, width && {\n width: width\n }), height && {\n height: height\n });\n const element = this.wrap(\"img\", null, Object.assign({\n src: src,\n alt: alt\n }, attrs));\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML section heading element\n *\n * @param {string} text heading text\n * @param {number | string} [level=1] (optional) the heading level, default: 1\n *\n * @returns {Summary} summary instance\n */ addHeading(text, level) {\n const tag = `h${level}`;\n const allowedTag = [\n \"h1\",\n \"h2\",\n \"h3\",\n \"h4\",\n \"h5\",\n \"h6\"\n ].includes(tag) ? tag : \"h1\";\n const element = this.wrap(allowedTag, text);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML thematic break (
) to the summary buffer\n *\n * @returns {Summary} summary instance\n */ addSeparator() {\n const element = this.wrap(\"hr\", null);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML line break (
) to the summary buffer\n *\n * @returns {Summary} summary instance\n */ addBreak() {\n const element = this.wrap(\"br\", null);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML blockquote to the summary buffer\n *\n * @param {string} text quote text\n * @param {string} cite (optional) citation url\n *\n * @returns {Summary} summary instance\n */ addQuote(text, cite) {\n const attrs = Object.assign({}, cite && {\n cite: cite\n });\n const element = this.wrap(\"blockquote\", text, attrs);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML anchor tag to the summary buffer\n *\n * @param {string} text link text/content\n * @param {string} href hyperlink\n *\n * @returns {Summary} summary instance\n */ addLink(text, href) {\n const element = this.wrap(\"a\", text, {\n href: href\n });\n return this.addRaw(element).addEOL();\n }\n}\nconst $7fdb557960f509b1$var$_summary = new $7fdb557960f509b1$var$Summary();\n/**\n * @deprecated use `core.summary`\n */ module.exports.markdownSummary = $7fdb557960f509b1$var$_summary;\nmodule.exports.summary = $7fdb557960f509b1$var$_summary;\n\n});\n\nparcelRequire.register(\"iGRwD\", function(module, exports) {\n\"use strict\";\nvar $d9b5ab3cfca72500$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $d9b5ab3cfca72500$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $d9b5ab3cfca72500$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $d9b5ab3cfca72500$var$__createBinding(result, mod, k);\n }\n $d9b5ab3cfca72500$var$__setModuleDefault(result, mod);\n return result;\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.toPlatformPath = module.exports.toWin32Path = module.exports.toPosixPath = void 0;\n\nconst $d9b5ab3cfca72500$var$path = $d9b5ab3cfca72500$var$__importStar($aEsRD$path);\n/**\n * toPosixPath converts the given path to the posix form. On Windows, \\\\ will be\n * replaced with /.\n *\n * @param pth. Path to transform.\n * @return string Posix path.\n */ function $d9b5ab3cfca72500$var$toPosixPath(pth) {\n return pth.replace(/[\\\\]/g, \"/\");\n}\nmodule.exports.toPosixPath = $d9b5ab3cfca72500$var$toPosixPath;\n/**\n * toWin32Path converts the given path to the win32 form. On Linux, / will be\n * replaced with \\\\.\n *\n * @param pth. Path to transform.\n * @return string Win32 path.\n */ function $d9b5ab3cfca72500$var$toWin32Path(pth) {\n return pth.replace(/[/]/g, \"\\\\\");\n}\nmodule.exports.toWin32Path = $d9b5ab3cfca72500$var$toWin32Path;\n/**\n * toPlatformPath converts the given path to a platform-specific path. It does\n * this by replacing instances of / and \\ with the platform-specific path\n * separator.\n *\n * @param pth The path to platformize.\n * @return string The platform-specific path.\n */ function $d9b5ab3cfca72500$var$toPlatformPath(pth) {\n return pth.replace(/[/\\\\]/g, $d9b5ab3cfca72500$var$path.sep);\n}\nmodule.exports.toPlatformPath = $d9b5ab3cfca72500$var$toPlatformPath;\n\n});\n\n\n\nparcelRequire.register(\"9tC1p\", function(module, exports) {\n\nvar $6e6450cbaf4ae339$var$$parcel$__dirname = $aEsRD$path.resolve(__dirname, \"../../node_modules/.pnpm/numerous@1.0.3/node_modules/numerous/lib\");\n(function() {\n \"use strict\";\n var root = this;\n //=========//\n // GLOBALS //\n //=========//\n var locales = {};\n //==========//\n // EXPOSING //\n //==========//\n var moduleDefinition = {\n create: factory,\n addLocale: addLocale,\n pluralize: pluralize\n };\n if (\"undefined\" !== typeof module.exports) module.exports = moduleDefinition;\n else root.numerous = moduleDefinition;\n //==================//\n // PUBLIC FUNCTIONS //\n //==================//\n /**\n * Creates new instance of numerous.\n *\n * @param {string} locale\n * @returns {object}\n */ function factory(locale) {\n checkLocale(locale);\n return {\n pluralize: function(value, variants) {\n return pluralize(locale, value, variants);\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 */ function addLocale(locale, callable) {\n locales[locale] = callable;\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 */ function pluralize(locale, value, variants) {\n checkLocale(locale);\n if (\"object\" !== typeof variants) throw new Error(\"List of variants should be specified as an object\");\n var key = locales[locale](value);\n return \"undefined\" !== typeof variants[key] ? variants[key] : null;\n }\n //===================//\n // PRIVATE FUNCTIONS //\n //===================//\n /**\n * Returns true if specified locale is loaded, false otherwise.\n *\n * @param {string} locale\n *\n * @returns {boolean}\n */ function hasLocale(locale) {\n return \"undefined\" !== typeof locales[locale];\n }\n /**\n * Checks if locale is loaded. If not, tries to load it.\n *\n * @param {string} locale\n */ function checkLocale(locale) {\n if (!hasLocale(locale)) requireLocale(locale);\n }\n /**\n * Tries to load the specified locale.\n *\n * @param {string} locale\n */ function requireLocale(locale) {\n try {\n require($6e6450cbaf4ae339$var$$parcel$__dirname + \"/../locales/\" + locale + \".js\");\n } catch (error) {\n throw Error(\"Failed to load the following locale: \" + locale);\n }\n }\n}).call(module.exports);\n\n});\n\nparcelRequire.register(\"5cIV4\", function(module, exports) {\n//==============//\n// DEPENDENCIES //\n//==============//\n\nvar $b9BRc = parcelRequire(\"b9BRc\");\n\nvar $ld0VC = parcelRequire(\"ld0VC\");\n//================//\n// MODULE GLOBALS //\n//================//\n/**\n * Pre-calculating millisecond values for each time unit.\n */ const $3ca0ead1ec065943$var$timeUnits = [\n [\n \"years\",\n 29030400000\n ],\n [\n \"months\",\n 2419200000\n ],\n [\n \"weeks\",\n 604800000\n ],\n [\n \"days\",\n 86400000\n ],\n [\n \"hours\",\n 3600000\n ],\n [\n \"minutes\",\n 60000\n ],\n [\n \"seconds\",\n 1000\n ]\n];\nconst $3ca0ead1ec065943$var$defaultConfig = {\n locale: \"en\",\n span: 2,\n delimiter: \", \",\n unitType: \"long\",\n unitTypeLookupOrder: [\n \"long\",\n \"short\",\n \"narrow\"\n ],\n autoloadLocales: true\n};\n/**\n * Contains data of loaded locales.\n * @type {Object}\n */ const $3ca0ead1ec065943$var$locales = {};\n//=========//\n// EXPORTS //\n//=========//\nmodule.exports = {\n create: $3ca0ead1ec065943$var$timeDeltaFactory,\n addLocale: $3ca0ead1ec065943$var$addLocale,\n defaultConfig: $3ca0ead1ec065943$var$defaultConfig\n};\n//===========//\n// FUNCTIONS //\n//===========//\n/**\n * Adds pluralization data for the specified locale.\n * Should be called in browser.\n *\n * @param {Object|Object[]} localeData\n */ function $3ca0ead1ec065943$var$addLocale(localeData) {\n // Normalizing input\n if (!Array.isArray(localeData)) localeData = [\n localeData\n ];\n for (const item of localeData){\n const { id: id, data: data } = item;\n $3ca0ead1ec065943$var$locales[id] = data;\n }\n}\n/**\n * Creates new instance.\n *\n * @param {object?} config\n *\n * @returns {object}\n */ function $3ca0ead1ec065943$var$timeDeltaFactory(config) {\n // Initializing config by extending the default one\n config = Object.assign({}, $3ca0ead1ec065943$var$defaultConfig, config || {});\n return {\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 */ format: function(firstDate, secondDate, options) {\n // Allowing to override config with each individual call\n options = Object.assign({}, config, options || {});\n return $3ca0ead1ec065943$var$format(firstDate, secondDate, options);\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 */ function $3ca0ead1ec065943$var$format(firstDate, secondDate, config) {\n $3ca0ead1ec065943$var$ensureLocaleLoadedOrThrow(config.locale, {\n autoload: config.autoloadLocales\n });\n // Handling input arguments\n // -----\n if (!firstDate) throw new Error(\"Missing first date argument\");\n if (!secondDate) throw new Error(\"Missing second date argument\");\n // Calculating\n // -----\n const difference = $3ca0ead1ec065943$var$getDifference(firstDate, secondDate);\n const parts = [];\n for (const unit of difference){\n const [name, value] = unit;\n if (value > 0) parts.push($3ca0ead1ec065943$var$pluralize(name, value, config));\n if (parts.length >= config.span) break;\n }\n // Returning the string value\n return parts.join(config.delimiter);\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 */ function $3ca0ead1ec065943$var$ensureLocaleLoadedOrThrow(locale, options) {\n const { autoload: autoload } = options;\n if ($3ca0ead1ec065943$var$hasLocale(locale)) return;\n if ($ld0VC && autoload) $3ca0ead1ec065943$var$requireLocale(locale);\n else throw new Error(`Missing locale: ${locale}, you must load it manually before using it`);\n}\n/**\n * Returns true if specified locale is loaded, false otherwise.\n *\n * @param {string} localeId\n *\n * @returns {boolean}\n */ function $3ca0ead1ec065943$var$hasLocale(localeId) {\n return Boolean($3ca0ead1ec065943$var$locales[localeId]);\n}\n/**\n * Tries to load the specified locale.\n *\n * @param {string} localeId\n */ function $3ca0ead1ec065943$var$requireLocale(localeId) {\n try {\n $3ca0ead1ec065943$var$addLocale(require(`../locales/${localeId}.js`));\n } catch (error) {\n throw Error(`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 * Returns difference as separate time units.\n *\n * @param {Date} firstDate\n * @param {Date} secondDate\n *\n * @returns {Array}\n */ function $3ca0ead1ec065943$var$getDifference(firstDate, secondDate) {\n let difference = secondDate - firstDate;\n const results = [];\n $3ca0ead1ec065943$var$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([\n name,\n value\n ]);\n if (difference <= 0) // Breaking the loop.\n return true;\n });\n return results;\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 */ function $3ca0ead1ec065943$var$pluralize(unit, value, config) {\n const unitTypeData = $3ca0ead1ec065943$var$getLocaleDataForUnitType(config);\n const unitString = $b9BRc.pluralize(config.locale, value, unitTypeData[unit]);\n return unitString.replace(\"{0}\", value);\n}\n/**\n * Returns locale data for preferred unit type.\n *\n * @param {object} config\n *\n * @returns {Array}\n */ function $3ca0ead1ec065943$var$getLocaleDataForUnitType(config) {\n const localeData = $3ca0ead1ec065943$var$locales[config.locale];\n // Making a copy of array from config.\n let lookupOrder = config.unitTypeLookupOrder.slice();\n // Adding interested type to the top.\n lookupOrder.unshift(config.unitType);\n // Making sure only unique items are present.\n lookupOrder = $3ca0ead1ec065943$var$arrayUnique(lookupOrder);\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 if (null === unitTypeData) throw new Error(\"Can not find any unit type data for locale: \" + config.locale);\n return unitTypeData;\n}\n/**\n * Returns array with only unique items.\n *\n * @param {Array} array\n *\n * @returns {Array}\n */ function $3ca0ead1ec065943$var$arrayUnique(array) {\n return Array.from(new Set(array));\n}\n\n});\nparcelRequire.register(\"b9BRc\", function(module, exports) {\n\nmodule.exports = (parcelRequire(\"9tC1p\"));\n\n});\n\nparcelRequire.register(\"ld0VC\", function(module, exports) {\n// Coding standard for this project defined @ https://github.com/MatthewSH/standards/blob/master/JavaScript.md\n\"use strict\";\nexports = module.exports = !!(typeof process !== \"undefined\" && process.versions && process.versions.node);\n\n});\n\n\nparcelRequire.register(\"cCOdx\", function(module, exports) {\nmodule.exports = $930ffcc7b0b4091c$var$isexe;\n$930ffcc7b0b4091c$var$isexe.sync = $930ffcc7b0b4091c$var$sync;\n\nfunction $930ffcc7b0b4091c$var$checkPathExt(path, options) {\n var pathext = options.pathExt !== undefined ? options.pathExt : process.env.PATHEXT;\n if (!pathext) return true;\n pathext = pathext.split(\";\");\n if (pathext.indexOf(\"\") !== -1) return true;\n for(var i = 0; i < pathext.length; i++){\n var p = pathext[i].toLowerCase();\n if (p && path.substr(-p.length).toLowerCase() === p) return true;\n }\n return false;\n}\nfunction $930ffcc7b0b4091c$var$checkStat(stat, path, options) {\n if (!stat.isSymbolicLink() && !stat.isFile()) return false;\n return $930ffcc7b0b4091c$var$checkPathExt(path, options);\n}\nfunction $930ffcc7b0b4091c$var$isexe(path, options, cb) {\n $aEsRD$fs.stat(path, function(er, stat) {\n cb(er, er ? false : $930ffcc7b0b4091c$var$checkStat(stat, path, options));\n });\n}\nfunction $930ffcc7b0b4091c$var$sync(path, options) {\n return $930ffcc7b0b4091c$var$checkStat($aEsRD$fs.statSync(path), path, options);\n}\n\n});\n\nparcelRequire.register(\"fHi41\", function(module, exports) {\nmodule.exports = $b6d8e24c35257dea$var$isexe;\n$b6d8e24c35257dea$var$isexe.sync = $b6d8e24c35257dea$var$sync;\n\nfunction $b6d8e24c35257dea$var$isexe(path, options, cb) {\n $aEsRD$fs.stat(path, function(er, stat) {\n cb(er, er ? false : $b6d8e24c35257dea$var$checkStat(stat, options));\n });\n}\nfunction $b6d8e24c35257dea$var$sync(path, options) {\n return $b6d8e24c35257dea$var$checkStat($aEsRD$fs.statSync(path), options);\n}\nfunction $b6d8e24c35257dea$var$checkStat(stat, options) {\n return stat.isFile() && $b6d8e24c35257dea$var$checkMode(stat, options);\n}\nfunction $b6d8e24c35257dea$var$checkMode(stat, options) {\n var mod = stat.mode;\n var uid = stat.uid;\n var gid = stat.gid;\n var myUid = options.uid !== undefined ? options.uid : process.getuid && process.getuid();\n var myGid = options.gid !== undefined ? options.gid : process.getgid && process.getgid();\n var u = parseInt(\"100\", 8);\n var g = parseInt(\"010\", 8);\n var o = parseInt(\"001\", 8);\n var ug = u | g;\n var ret = mod & o || mod & g && gid === myGid || mod & u && uid === myUid || mod & ug && myUid === 0;\n return ret;\n}\n\n});\n\nparcelRequire.register(\"5AOH8\", function(module, exports) {\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];\nif (process.platform !== \"win32\") module.exports.push(\"SIGVTALRM\", \"SIGXCPU\", \"SIGXFSZ\", \"SIGUSR2\", \"SIGTRAP\", \"SIGSYS\", \"SIGQUIT\", \"SIGIOT\");\nif (process.platform === \"linux\") module.exports.push(\"SIGIO\", \"SIGPOLL\", \"SIGPWR\", \"SIGSTKFLT\", \"SIGUNUSED\");\n\n});\n\nparcelRequire.register(\"e5sHV\", function(module, exports) {\n// just pre-load all the stuff that index.js lazily exports\n\nvar $12uZQ = parcelRequire(\"12uZQ\");\n\nvar $hOG3Y = parcelRequire(\"hOG3Y\");\n\nvar $5LYRo = parcelRequire(\"5LYRo\");\n\nvar $cBP4E = parcelRequire(\"cBP4E\");\n\nvar $OZ7Ue = parcelRequire(\"OZ7Ue\");\n\nvar $bJWbp = parcelRequire(\"bJWbp\");\n\nvar $Qjft6 = parcelRequire(\"Qjft6\");\n\nvar $8bNKq = parcelRequire(\"8bNKq\");\n\nvar $l5GHG = parcelRequire(\"l5GHG\");\n\nvar $jsxzs = parcelRequire(\"jsxzs\");\n\nvar $7JVSO = parcelRequire(\"7JVSO\");\n\nvar $8n3SB = parcelRequire(\"8n3SB\");\n\nvar $3oy0K = parcelRequire(\"3oy0K\");\n\nvar $aWTSG = parcelRequire(\"aWTSG\");\n\nvar $bnwiX = parcelRequire(\"bnwiX\");\n\nvar $8XJ3e = parcelRequire(\"8XJ3e\");\n\nvar $etbXA = parcelRequire(\"etbXA\");\n\nvar $cUihJ = parcelRequire(\"cUihJ\");\n\nvar $ezLu1 = parcelRequire(\"ezLu1\");\n\nvar $dFwZk = parcelRequire(\"dFwZk\");\n\nvar $iVR3H = parcelRequire(\"iVR3H\");\n\nvar $hpjtH = parcelRequire(\"hpjtH\");\n\nvar $lNs9e = parcelRequire(\"lNs9e\");\n\nvar $lHD2W = parcelRequire(\"lHD2W\");\n\nvar $ldLP8 = parcelRequire(\"ldLP8\");\n\nvar $1bhNL = parcelRequire(\"1bhNL\");\n\nvar $brvh5 = parcelRequire(\"brvh5\");\n\nvar $9hQpH = parcelRequire(\"9hQpH\");\n\nvar $lKnWr = parcelRequire(\"lKnWr\");\n\nvar $iIMQc = parcelRequire(\"iIMQc\");\n\nvar $2JYAa = parcelRequire(\"2JYAa\");\n\nvar $hlGm0 = parcelRequire(\"hlGm0\");\n\nvar $iNSIN = parcelRequire(\"iNSIN\");\n\nvar $kkdJh = parcelRequire(\"kkdJh\");\n\nvar $eMkjx = parcelRequire(\"eMkjx\");\n\nvar $xFOFw = parcelRequire(\"xFOFw\");\n\nvar $9S1Z8 = parcelRequire(\"9S1Z8\");\n\nvar $jT4YP = parcelRequire(\"jT4YP\");\n\nvar $ed76J = parcelRequire(\"ed76J\");\n\nvar $abIkC = parcelRequire(\"abIkC\");\n\nvar $b6uaQ = parcelRequire(\"b6uaQ\");\nmodule.exports = {\n parse: $OZ7Ue,\n valid: $bJWbp,\n clean: $Qjft6,\n inc: $8bNKq,\n diff: $l5GHG,\n major: $jsxzs,\n minor: $7JVSO,\n patch: $8n3SB,\n prerelease: $3oy0K,\n compare: $aWTSG,\n rcompare: $bnwiX,\n compareLoose: $8XJ3e,\n compareBuild: $etbXA,\n sort: $cUihJ,\n rsort: $ezLu1,\n gt: $dFwZk,\n lt: $iVR3H,\n eq: $hpjtH,\n neq: $lNs9e,\n gte: $lHD2W,\n lte: $ldLP8,\n cmp: $1bhNL,\n coerce: $brvh5,\n Comparator: $9hQpH,\n Range: $lKnWr,\n satisfies: $iIMQc,\n toComparators: $2JYAa,\n maxSatisfying: $hlGm0,\n minSatisfying: $iNSIN,\n minVersion: $kkdJh,\n validRange: $eMkjx,\n outside: $xFOFw,\n gtr: $9S1Z8,\n ltr: $jT4YP,\n intersects: $ed76J,\n simplifyRange: $abIkC,\n subset: $b6uaQ,\n SemVer: $5LYRo,\n re: $12uZQ.re,\n src: $12uZQ.src,\n tokens: $12uZQ.t,\n SEMVER_SPEC_VERSION: $hOG3Y.SEMVER_SPEC_VERSION,\n RELEASE_TYPES: $hOG3Y.RELEASE_TYPES,\n compareIdentifiers: $cBP4E.compareIdentifiers,\n rcompareIdentifiers: $cBP4E.rcompareIdentifiers\n};\n\n});\nparcelRequire.register(\"12uZQ\", function(module, exports) {\n\nvar $hOG3Y = parcelRequire(\"hOG3Y\");\nvar $0c1e059b84c70dd2$require$MAX_SAFE_COMPONENT_LENGTH = $hOG3Y.MAX_SAFE_COMPONENT_LENGTH;\nvar $0c1e059b84c70dd2$require$MAX_SAFE_BUILD_LENGTH = $hOG3Y.MAX_SAFE_BUILD_LENGTH;\nvar $0c1e059b84c70dd2$require$MAX_LENGTH = $hOG3Y.MAX_LENGTH;\n\nvar $HHW4D = parcelRequire(\"HHW4D\");\nexports = module.exports = {};\n// The actual regexps go on exports.re\nconst re = exports.re = [];\nconst safeRe = exports.safeRe = [];\nconst src = exports.src = [];\nconst t = exports.t = {};\nlet R = 0;\nconst LETTERDASHNUMBER = \"[a-zA-Z0-9-]\";\n// Replace some greedy regex tokens to prevent regex dos issues. These regex are\n// used internally via the safeRe object since all inputs in this library get\n// normalized first to trim and collapse all extra whitespace. The original\n// regexes are exported for userland consumption and lower level usage. A\n// future breaking change could export the safer regex only with a note that\n// all input should have extra whitespace removed.\nconst safeRegexReplacements = [\n [\n \"\\\\s\",\n 1\n ],\n [\n \"\\\\d\",\n $0c1e059b84c70dd2$require$MAX_LENGTH\n ],\n [\n LETTERDASHNUMBER,\n $0c1e059b84c70dd2$require$MAX_SAFE_BUILD_LENGTH\n ]\n];\nconst makeSafeRegex = (value)=>{\n for (const [token, max] of safeRegexReplacements)value = value.split(`${token}*`).join(`${token}{0,${max}}`).split(`${token}+`).join(`${token}{1,${max}}`);\n return value;\n};\nconst createToken = (name, value, isGlobal)=>{\n const safe = makeSafeRegex(value);\n const index = R++;\n $HHW4D(name, index, value);\n t[name] = index;\n src[index] = value;\n re[index] = new RegExp(value, isGlobal ? \"g\" : undefined);\n safeRe[index] = new RegExp(safe, isGlobal ? \"g\" : undefined);\n};\n// The following Regular Expressions can be used for tokenizing,\n// validating, and parsing SemVer version strings.\n// ## Numeric Identifier\n// A single `0`, or a non-zero digit followed by zero or more digits.\ncreateToken(\"NUMERICIDENTIFIER\", \"0|[1-9]\\\\d*\");\ncreateToken(\"NUMERICIDENTIFIERLOOSE\", \"\\\\d+\");\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.\ncreateToken(\"NONNUMERICIDENTIFIER\", `\\\\d*[a-zA-Z-]${LETTERDASHNUMBER}*`);\n// ## Main Version\n// Three dot-separated numeric identifiers.\ncreateToken(\"MAINVERSION\", `(${src[t.NUMERICIDENTIFIER]})\\\\.` + `(${src[t.NUMERICIDENTIFIER]})\\\\.` + `(${src[t.NUMERICIDENTIFIER]})`);\ncreateToken(\"MAINVERSIONLOOSE\", `(${src[t.NUMERICIDENTIFIERLOOSE]})\\\\.` + `(${src[t.NUMERICIDENTIFIERLOOSE]})\\\\.` + `(${src[t.NUMERICIDENTIFIERLOOSE]})`);\n// ## Pre-release Version Identifier\n// A numeric identifier, or a non-numeric identifier.\ncreateToken(\"PRERELEASEIDENTIFIER\", `(?:${src[t.NUMERICIDENTIFIER]}|${src[t.NONNUMERICIDENTIFIER]})`);\ncreateToken(\"PRERELEASEIDENTIFIERLOOSE\", `(?:${src[t.NUMERICIDENTIFIERLOOSE]}|${src[t.NONNUMERICIDENTIFIER]})`);\n// ## Pre-release Version\n// Hyphen, followed by one or more dot-separated pre-release version\n// identifiers.\ncreateToken(\"PRERELEASE\", `(?:-(${src[t.PRERELEASEIDENTIFIER]}(?:\\\\.${src[t.PRERELEASEIDENTIFIER]})*))`);\ncreateToken(\"PRERELEASELOOSE\", `(?:-?(${src[t.PRERELEASEIDENTIFIERLOOSE]}(?:\\\\.${src[t.PRERELEASEIDENTIFIERLOOSE]})*))`);\n// ## Build Metadata Identifier\n// Any combination of digits, letters, or hyphens.\ncreateToken(\"BUILDIDENTIFIER\", `${LETTERDASHNUMBER}+`);\n// ## Build Metadata\n// Plus sign, followed by one or more period-separated build metadata\n// identifiers.\ncreateToken(\"BUILD\", `(?:\\\\+(${src[t.BUILDIDENTIFIER]}(?:\\\\.${src[t.BUILDIDENTIFIER]})*))`);\n// ## Full Version String\n// A main version, followed optionally by a pre-release version and\n// build metadata.\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.\ncreateToken(\"FULLPLAIN\", `v?${src[t.MAINVERSION]}${src[t.PRERELEASE]}?${src[t.BUILD]}?`);\ncreateToken(\"FULL\", `^${src[t.FULLPLAIN]}$`);\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]}${src[t.PRERELEASELOOSE]}?${src[t.BUILD]}?`);\ncreateToken(\"LOOSE\", `^${src[t.LOOSEPLAIN]}$`);\ncreateToken(\"GTLT\", \"((?:<|>)?=?)\");\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|\\\\*`);\ncreateToken(\"XRANGEPLAIN\", `[v=\\\\s]*(${src[t.XRANGEIDENTIFIER]})` + `(?:\\\\.(${src[t.XRANGEIDENTIFIER]})` + `(?:\\\\.(${src[t.XRANGEIDENTIFIER]})` + `(?:${src[t.PRERELEASE]})?${src[t.BUILD]}?` + `)?)?`);\ncreateToken(\"XRANGEPLAINLOOSE\", `[v=\\\\s]*(${src[t.XRANGEIDENTIFIERLOOSE]})` + `(?:\\\\.(${src[t.XRANGEIDENTIFIERLOOSE]})` + `(?:\\\\.(${src[t.XRANGEIDENTIFIERLOOSE]})` + `(?:${src[t.PRERELEASELOOSE]})?${src[t.BUILD]}?` + `)?)?`);\ncreateToken(\"XRANGE\", `^${src[t.GTLT]}\\\\s*${src[t.XRANGEPLAIN]}$`);\ncreateToken(\"XRANGELOOSE\", `^${src[t.GTLT]}\\\\s*${src[t.XRANGEPLAINLOOSE]}$`);\n// Coercion.\n// Extract anything that could conceivably be a part of a valid semver\ncreateToken(\"COERCE\", `${\"(^|[^\\\\d])(\\\\d{1,\"}${$0c1e059b84c70dd2$require$MAX_SAFE_COMPONENT_LENGTH}})` + `(?:\\\\.(\\\\d{1,${$0c1e059b84c70dd2$require$MAX_SAFE_COMPONENT_LENGTH}}))?` + `(?:\\\\.(\\\\d{1,${$0c1e059b84c70dd2$require$MAX_SAFE_COMPONENT_LENGTH}}))?` + `(?:$|[^\\\\d])`);\ncreateToken(\"COERCERTL\", src[t.COERCE], true);\n// Tilde ranges.\n// Meaning is \"reasonably at or greater than\"\ncreateToken(\"LONETILDE\", \"(?:~>?)\");\ncreateToken(\"TILDETRIM\", `(\\\\s*)${src[t.LONETILDE]}\\\\s+`, true);\nexports.tildeTrimReplace = \"$1~\";\ncreateToken(\"TILDE\", `^${src[t.LONETILDE]}${src[t.XRANGEPLAIN]}$`);\ncreateToken(\"TILDELOOSE\", `^${src[t.LONETILDE]}${src[t.XRANGEPLAINLOOSE]}$`);\n// Caret ranges.\n// Meaning is \"at least and backwards compatible with\"\ncreateToken(\"LONECARET\", \"(?:\\\\^)\");\ncreateToken(\"CARETTRIM\", `(\\\\s*)${src[t.LONECARET]}\\\\s+`, true);\nexports.caretTrimReplace = \"$1^\";\ncreateToken(\"CARET\", `^${src[t.LONECARET]}${src[t.XRANGEPLAIN]}$`);\ncreateToken(\"CARETLOOSE\", `^${src[t.LONECARET]}${src[t.XRANGEPLAINLOOSE]}$`);\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// 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]}\\\\s*(${src[t.LOOSEPLAIN]}|${src[t.XRANGEPLAIN]})`, true);\nexports.comparatorTrimReplace = \"$1$2$3\";\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]})` + `\\\\s+-\\\\s+` + `(${src[t.XRANGEPLAIN]})` + `\\\\s*$`);\ncreateToken(\"HYPHENRANGELOOSE\", `^\\\\s*(${src[t.XRANGEPLAINLOOSE]})` + `\\\\s+-\\\\s+` + `(${src[t.XRANGEPLAINLOOSE]})` + `\\\\s*$`);\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\n});\nparcelRequire.register(\"hOG3Y\", function(module, exports) {\n// Note: this is the semver.org version of the spec that it implements\n// Not necessarily the package version of this code.\nconst $cf87bc03ab268f2d$var$SEMVER_SPEC_VERSION = \"2.0.0\";\nconst $cf87bc03ab268f2d$var$MAX_LENGTH = 256;\nconst $cf87bc03ab268f2d$var$MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER || /* istanbul ignore next */ 9007199254740991;\n// Max safe segment length for coercion.\nconst $cf87bc03ab268f2d$var$MAX_SAFE_COMPONENT_LENGTH = 16;\n// Max safe length for a build identifier. The max length minus 6 characters for\n// the shortest version with a build 0.0.0+BUILD.\nconst $cf87bc03ab268f2d$var$MAX_SAFE_BUILD_LENGTH = $cf87bc03ab268f2d$var$MAX_LENGTH - 6;\nconst $cf87bc03ab268f2d$var$RELEASE_TYPES = [\n \"major\",\n \"premajor\",\n \"minor\",\n \"preminor\",\n \"patch\",\n \"prepatch\",\n \"prerelease\"\n];\nmodule.exports = {\n MAX_LENGTH: $cf87bc03ab268f2d$var$MAX_LENGTH,\n MAX_SAFE_COMPONENT_LENGTH: $cf87bc03ab268f2d$var$MAX_SAFE_COMPONENT_LENGTH,\n MAX_SAFE_BUILD_LENGTH: $cf87bc03ab268f2d$var$MAX_SAFE_BUILD_LENGTH,\n MAX_SAFE_INTEGER: $cf87bc03ab268f2d$var$MAX_SAFE_INTEGER,\n RELEASE_TYPES: $cf87bc03ab268f2d$var$RELEASE_TYPES,\n SEMVER_SPEC_VERSION: $cf87bc03ab268f2d$var$SEMVER_SPEC_VERSION,\n FLAG_INCLUDE_PRERELEASE: 1,\n FLAG_LOOSE: 2\n};\n\n});\n\nparcelRequire.register(\"HHW4D\", function(module, exports) {\nconst $083618f9e5b18091$var$debug = typeof process === \"object\" && process.env && process.env.NODE_DEBUG && /\\bsemver\\b/i.test(process.env.NODE_DEBUG) ? (...args)=>console.error(\"SEMVER\", ...args) : ()=>{};\nmodule.exports = $083618f9e5b18091$var$debug;\n\n});\n\n\nparcelRequire.register(\"5LYRo\", function(module, exports) {\n\nvar $HHW4D = parcelRequire(\"HHW4D\");\n\nvar $hOG3Y = parcelRequire(\"hOG3Y\");\nvar $43408d1a2b3a5a7b$require$MAX_LENGTH = $hOG3Y.MAX_LENGTH;\nvar $43408d1a2b3a5a7b$require$MAX_SAFE_INTEGER = $hOG3Y.MAX_SAFE_INTEGER;\n\nvar $12uZQ = parcelRequire(\"12uZQ\");\nvar $43408d1a2b3a5a7b$require$re = $12uZQ.safeRe;\nvar $43408d1a2b3a5a7b$require$t = $12uZQ.t;\n\nvar $k6Ib4 = parcelRequire(\"k6Ib4\");\n\nvar $cBP4E = parcelRequire(\"cBP4E\");\nvar $43408d1a2b3a5a7b$require$compareIdentifiers = $cBP4E.compareIdentifiers;\nclass $43408d1a2b3a5a7b$var$SemVer {\n constructor(version, options){\n options = $k6Ib4(options);\n if (version instanceof $43408d1a2b3a5a7b$var$SemVer) {\n if (version.loose === !!options.loose && version.includePrerelease === !!options.includePrerelease) return version;\n else version = version.version;\n } else if (typeof version !== \"string\") throw new TypeError(`Invalid version. Must be a string. Got type \"${typeof version}\".`);\n if (version.length > $43408d1a2b3a5a7b$require$MAX_LENGTH) throw new TypeError(`version is longer than ${$43408d1a2b3a5a7b$require$MAX_LENGTH} characters`);\n $HHW4D(\"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 const m = version.trim().match(options.loose ? $43408d1a2b3a5a7b$require$re[$43408d1a2b3a5a7b$require$t.LOOSE] : $43408d1a2b3a5a7b$require$re[$43408d1a2b3a5a7b$require$t.FULL]);\n if (!m) throw new TypeError(`Invalid Version: ${version}`);\n this.raw = version;\n // these are actually numbers\n this.major = +m[1];\n this.minor = +m[2];\n this.patch = +m[3];\n if (this.major > $43408d1a2b3a5a7b$require$MAX_SAFE_INTEGER || this.major < 0) throw new TypeError(\"Invalid major version\");\n if (this.minor > $43408d1a2b3a5a7b$require$MAX_SAFE_INTEGER || this.minor < 0) throw new TypeError(\"Invalid minor version\");\n if (this.patch > $43408d1a2b3a5a7b$require$MAX_SAFE_INTEGER || this.patch < 0) throw new TypeError(\"Invalid patch version\");\n // numberify any prerelease numeric ids\n if (!m[4]) this.prerelease = [];\n else this.prerelease = m[4].split(\".\").map((id)=>{\n if (/^[0-9]+$/.test(id)) {\n const num = +id;\n if (num >= 0 && num < $43408d1a2b3a5a7b$require$MAX_SAFE_INTEGER) return num;\n }\n return id;\n });\n this.build = m[5] ? m[5].split(\".\") : [];\n this.format();\n }\n format() {\n this.version = `${this.major}.${this.minor}.${this.patch}`;\n if (this.prerelease.length) this.version += `-${this.prerelease.join(\".\")}`;\n return this.version;\n }\n toString() {\n return this.version;\n }\n compare(other) {\n $HHW4D(\"SemVer.compare\", this.version, this.options, other);\n if (!(other instanceof $43408d1a2b3a5a7b$var$SemVer)) {\n if (typeof other === \"string\" && other === this.version) return 0;\n other = new $43408d1a2b3a5a7b$var$SemVer(other, this.options);\n }\n if (other.version === this.version) return 0;\n return this.compareMain(other) || this.comparePre(other);\n }\n compareMain(other) {\n if (!(other instanceof $43408d1a2b3a5a7b$var$SemVer)) other = new $43408d1a2b3a5a7b$var$SemVer(other, this.options);\n return $43408d1a2b3a5a7b$require$compareIdentifiers(this.major, other.major) || $43408d1a2b3a5a7b$require$compareIdentifiers(this.minor, other.minor) || $43408d1a2b3a5a7b$require$compareIdentifiers(this.patch, other.patch);\n }\n comparePre(other) {\n if (!(other instanceof $43408d1a2b3a5a7b$var$SemVer)) other = new $43408d1a2b3a5a7b$var$SemVer(other, this.options);\n // NOT having a prerelease is > having one\n if (this.prerelease.length && !other.prerelease.length) return -1;\n else if (!this.prerelease.length && other.prerelease.length) return 1;\n else if (!this.prerelease.length && !other.prerelease.length) return 0;\n let i = 0;\n do {\n const a = this.prerelease[i];\n const b = other.prerelease[i];\n $HHW4D(\"prerelease compare\", i, a, b);\n if (a === undefined && b === undefined) return 0;\n else if (b === undefined) return 1;\n else if (a === undefined) return -1;\n else if (a === b) continue;\n else return $43408d1a2b3a5a7b$require$compareIdentifiers(a, b);\n }while (++i);\n }\n compareBuild(other) {\n if (!(other instanceof $43408d1a2b3a5a7b$var$SemVer)) other = new $43408d1a2b3a5a7b$var$SemVer(other, this.options);\n let i = 0;\n do {\n const a = this.build[i];\n const b = other.build[i];\n $HHW4D(\"prerelease compare\", i, a, b);\n if (a === undefined && b === undefined) return 0;\n else if (b === undefined) return 1;\n else if (a === undefined) return -1;\n else if (a === b) continue;\n else return $43408d1a2b3a5a7b$require$compareIdentifiers(a, b);\n }while (++i);\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, identifierBase) {\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, identifierBase);\n break;\n case \"preminor\":\n this.prerelease.length = 0;\n this.patch = 0;\n this.minor++;\n this.inc(\"pre\", identifier, identifierBase);\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, identifierBase);\n this.inc(\"pre\", identifier, identifierBase);\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) this.inc(\"patch\", identifier, identifierBase);\n this.inc(\"pre\", identifier, identifierBase);\n break;\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 (this.minor !== 0 || this.patch !== 0 || this.prerelease.length === 0) this.major++;\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) this.minor++;\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) this.patch++;\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 {\n const base = Number(identifierBase) ? 1 : 0;\n if (!identifier && identifierBase === false) throw new Error(\"invalid increment argument: identifier is empty\");\n if (this.prerelease.length === 0) this.prerelease = [\n base\n ];\n else {\n let i = this.prerelease.length;\n while(--i >= 0)if (typeof this.prerelease[i] === \"number\") {\n this.prerelease[i]++;\n i = -2;\n }\n if (i === -1) {\n // didn't increment anything\n if (identifier === this.prerelease.join(\".\") && identifierBase === false) throw new Error(\"invalid increment argument: identifier already exists\");\n this.prerelease.push(base);\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 let prerelease = [\n identifier,\n base\n ];\n if (identifierBase === false) prerelease = [\n identifier\n ];\n if ($43408d1a2b3a5a7b$require$compareIdentifiers(this.prerelease[0], identifier) === 0) {\n if (isNaN(this.prerelease[1])) this.prerelease = prerelease;\n } else this.prerelease = prerelease;\n }\n break;\n }\n default:\n throw new Error(`invalid increment argument: ${release}`);\n }\n this.raw = this.format();\n if (this.build.length) this.raw += `+${this.build.join(\".\")}`;\n return this;\n }\n}\nmodule.exports = $43408d1a2b3a5a7b$var$SemVer;\n\n});\nparcelRequire.register(\"k6Ib4\", function(module, exports) {\n// parse out just the options we care about\nconst $ea36a2e7fd474258$var$looseOption = Object.freeze({\n loose: true\n});\nconst $ea36a2e7fd474258$var$emptyOpts = Object.freeze({});\nconst $ea36a2e7fd474258$var$parseOptions = (options)=>{\n if (!options) return $ea36a2e7fd474258$var$emptyOpts;\n if (typeof options !== \"object\") return $ea36a2e7fd474258$var$looseOption;\n return options;\n};\nmodule.exports = $ea36a2e7fd474258$var$parseOptions;\n\n});\n\nparcelRequire.register(\"cBP4E\", function(module, exports) {\nconst $92e08ef89f03f809$var$numeric = /^[0-9]+$/;\nconst $92e08ef89f03f809$var$compareIdentifiers = (a, b)=>{\n const anum = $92e08ef89f03f809$var$numeric.test(a);\n const bnum = $92e08ef89f03f809$var$numeric.test(b);\n if (anum && bnum) {\n a = +a;\n b = +b;\n }\n return a === b ? 0 : anum && !bnum ? -1 : bnum && !anum ? 1 : a < b ? -1 : 1;\n};\nconst $92e08ef89f03f809$var$rcompareIdentifiers = (a, b)=>$92e08ef89f03f809$var$compareIdentifiers(b, a);\nmodule.exports = {\n compareIdentifiers: $92e08ef89f03f809$var$compareIdentifiers,\n rcompareIdentifiers: $92e08ef89f03f809$var$rcompareIdentifiers\n};\n\n});\n\n\nparcelRequire.register(\"OZ7Ue\", function(module, exports) {\n\nvar $5LYRo = parcelRequire(\"5LYRo\");\nconst $099416143c6ba14e$var$parse = (version, options, throwErrors = false)=>{\n if (version instanceof $5LYRo) return version;\n try {\n return new $5LYRo(version, options);\n } catch (er) {\n if (!throwErrors) return null;\n throw er;\n }\n};\nmodule.exports = $099416143c6ba14e$var$parse;\n\n});\n\nparcelRequire.register(\"bJWbp\", function(module, exports) {\n\nvar $OZ7Ue = parcelRequire(\"OZ7Ue\");\nconst $88c107995c60ae38$var$valid = (version, options)=>{\n const v = $OZ7Ue(version, options);\n return v ? v.version : null;\n};\nmodule.exports = $88c107995c60ae38$var$valid;\n\n});\n\nparcelRequire.register(\"Qjft6\", function(module, exports) {\n\nvar $OZ7Ue = parcelRequire(\"OZ7Ue\");\nconst $09d3c9cb02dd67ac$var$clean = (version, options)=>{\n const s = $OZ7Ue(version.trim().replace(/^[=v]+/, \"\"), options);\n return s ? s.version : null;\n};\nmodule.exports = $09d3c9cb02dd67ac$var$clean;\n\n});\n\nparcelRequire.register(\"8bNKq\", function(module, exports) {\n\nvar $5LYRo = parcelRequire(\"5LYRo\");\nconst $5f65f0a9cf1790f1$var$inc = (version, release, options, identifier, identifierBase)=>{\n if (typeof options === \"string\") {\n identifierBase = identifier;\n identifier = options;\n options = undefined;\n }\n try {\n return new $5LYRo(version instanceof $5LYRo ? version.version : version, options).inc(release, identifier, identifierBase).version;\n } catch (er) {\n return null;\n }\n};\nmodule.exports = $5f65f0a9cf1790f1$var$inc;\n\n});\n\nparcelRequire.register(\"l5GHG\", function(module, exports) {\n\nvar $OZ7Ue = parcelRequire(\"OZ7Ue\");\nconst $f5ab30a10683c1d7$var$diff = (version1, version2)=>{\n const v1 = $OZ7Ue(version1, null, true);\n const v2 = $OZ7Ue(version2, null, true);\n const comparison = v1.compare(v2);\n if (comparison === 0) return null;\n const v1Higher = comparison > 0;\n const highVersion = v1Higher ? v1 : v2;\n const lowVersion = v1Higher ? v2 : v1;\n const highHasPre = !!highVersion.prerelease.length;\n const lowHasPre = !!lowVersion.prerelease.length;\n if (lowHasPre && !highHasPre) {\n // Going from prerelease -> no prerelease requires some special casing\n // If the low version has only a major, then it will always be a major\n // Some examples:\n // 1.0.0-1 -> 1.0.0\n // 1.0.0-1 -> 1.1.1\n // 1.0.0-1 -> 2.0.0\n if (!lowVersion.patch && !lowVersion.minor) return \"major\";\n // Otherwise it can be determined by checking the high version\n if (highVersion.patch) // anything higher than a patch bump would result in the wrong version\n return \"patch\";\n if (highVersion.minor) // anything higher than a minor bump would result in the wrong version\n return \"minor\";\n // bumping major/minor/patch all have same result\n return \"major\";\n }\n // add the `pre` prefix if we are going to a prerelease version\n const prefix = highHasPre ? \"pre\" : \"\";\n if (v1.major !== v2.major) return prefix + \"major\";\n if (v1.minor !== v2.minor) return prefix + \"minor\";\n if (v1.patch !== v2.patch) return prefix + \"patch\";\n // high and low are preleases\n return \"prerelease\";\n};\nmodule.exports = $f5ab30a10683c1d7$var$diff;\n\n});\n\nparcelRequire.register(\"jsxzs\", function(module, exports) {\n\nvar $5LYRo = parcelRequire(\"5LYRo\");\nconst $e2aaac4f44920a07$var$major = (a, loose)=>new $5LYRo(a, loose).major;\nmodule.exports = $e2aaac4f44920a07$var$major;\n\n});\n\nparcelRequire.register(\"7JVSO\", function(module, exports) {\n\nvar $5LYRo = parcelRequire(\"5LYRo\");\nconst $5a29a2b9a339feaa$var$minor = (a, loose)=>new $5LYRo(a, loose).minor;\nmodule.exports = $5a29a2b9a339feaa$var$minor;\n\n});\n\nparcelRequire.register(\"8n3SB\", function(module, exports) {\n\nvar $5LYRo = parcelRequire(\"5LYRo\");\nconst $61837b287cc82c7b$var$patch = (a, loose)=>new $5LYRo(a, loose).patch;\nmodule.exports = $61837b287cc82c7b$var$patch;\n\n});\n\nparcelRequire.register(\"3oy0K\", function(module, exports) {\n\nvar $OZ7Ue = parcelRequire(\"OZ7Ue\");\nconst $278dfee3f6e70ff9$var$prerelease = (version, options)=>{\n const parsed = $OZ7Ue(version, options);\n return parsed && parsed.prerelease.length ? parsed.prerelease : null;\n};\nmodule.exports = $278dfee3f6e70ff9$var$prerelease;\n\n});\n\nparcelRequire.register(\"aWTSG\", function(module, exports) {\n\nvar $5LYRo = parcelRequire(\"5LYRo\");\nconst $7f8aaaf995e0c3bf$var$compare = (a, b, loose)=>new $5LYRo(a, loose).compare(new $5LYRo(b, loose));\nmodule.exports = $7f8aaaf995e0c3bf$var$compare;\n\n});\n\nparcelRequire.register(\"bnwiX\", function(module, exports) {\n\nvar $aWTSG = parcelRequire(\"aWTSG\");\nconst $848ae6c25544fc79$var$rcompare = (a, b, loose)=>$aWTSG(b, a, loose);\nmodule.exports = $848ae6c25544fc79$var$rcompare;\n\n});\n\nparcelRequire.register(\"8XJ3e\", function(module, exports) {\n\nvar $aWTSG = parcelRequire(\"aWTSG\");\nconst $6866c79d18a33800$var$compareLoose = (a, b)=>$aWTSG(a, b, true);\nmodule.exports = $6866c79d18a33800$var$compareLoose;\n\n});\n\nparcelRequire.register(\"etbXA\", function(module, exports) {\n\nvar $5LYRo = parcelRequire(\"5LYRo\");\nconst $a88d0d24118094bd$var$compareBuild = (a, b, loose)=>{\n const versionA = new $5LYRo(a, loose);\n const versionB = new $5LYRo(b, loose);\n return versionA.compare(versionB) || versionA.compareBuild(versionB);\n};\nmodule.exports = $a88d0d24118094bd$var$compareBuild;\n\n});\n\nparcelRequire.register(\"cUihJ\", function(module, exports) {\n\nvar $etbXA = parcelRequire(\"etbXA\");\nconst $9658e60a40eeaf98$var$sort = (list, loose)=>list.sort((a, b)=>$etbXA(a, b, loose));\nmodule.exports = $9658e60a40eeaf98$var$sort;\n\n});\n\nparcelRequire.register(\"ezLu1\", function(module, exports) {\n\nvar $etbXA = parcelRequire(\"etbXA\");\nconst $a9c92ac25bae03aa$var$rsort = (list, loose)=>list.sort((a, b)=>$etbXA(b, a, loose));\nmodule.exports = $a9c92ac25bae03aa$var$rsort;\n\n});\n\nparcelRequire.register(\"dFwZk\", function(module, exports) {\n\nvar $aWTSG = parcelRequire(\"aWTSG\");\nconst $9f38b1729ef195d5$var$gt = (a, b, loose)=>$aWTSG(a, b, loose) > 0;\nmodule.exports = $9f38b1729ef195d5$var$gt;\n\n});\n\nparcelRequire.register(\"iVR3H\", function(module, exports) {\n\nvar $aWTSG = parcelRequire(\"aWTSG\");\nconst $dc86b53c664d7a42$var$lt = (a, b, loose)=>$aWTSG(a, b, loose) < 0;\nmodule.exports = $dc86b53c664d7a42$var$lt;\n\n});\n\nparcelRequire.register(\"hpjtH\", function(module, exports) {\n\nvar $aWTSG = parcelRequire(\"aWTSG\");\nconst $cac3e165d45aae42$var$eq = (a, b, loose)=>$aWTSG(a, b, loose) === 0;\nmodule.exports = $cac3e165d45aae42$var$eq;\n\n});\n\nparcelRequire.register(\"lNs9e\", function(module, exports) {\n\nvar $aWTSG = parcelRequire(\"aWTSG\");\nconst $fde4022956a9228f$var$neq = (a, b, loose)=>$aWTSG(a, b, loose) !== 0;\nmodule.exports = $fde4022956a9228f$var$neq;\n\n});\n\nparcelRequire.register(\"lHD2W\", function(module, exports) {\n\nvar $aWTSG = parcelRequire(\"aWTSG\");\nconst $fccbe6ed92425a73$var$gte = (a, b, loose)=>$aWTSG(a, b, loose) >= 0;\nmodule.exports = $fccbe6ed92425a73$var$gte;\n\n});\n\nparcelRequire.register(\"ldLP8\", function(module, exports) {\n\nvar $aWTSG = parcelRequire(\"aWTSG\");\nconst $f72fe8aea2703f52$var$lte = (a, b, loose)=>$aWTSG(a, b, loose) <= 0;\nmodule.exports = $f72fe8aea2703f52$var$lte;\n\n});\n\nparcelRequire.register(\"1bhNL\", function(module, exports) {\n\nvar $hpjtH = parcelRequire(\"hpjtH\");\n\nvar $lNs9e = parcelRequire(\"lNs9e\");\n\nvar $dFwZk = parcelRequire(\"dFwZk\");\n\nvar $lHD2W = parcelRequire(\"lHD2W\");\n\nvar $iVR3H = parcelRequire(\"iVR3H\");\n\nvar $ldLP8 = parcelRequire(\"ldLP8\");\nconst $0dc4a092f6412814$var$cmp = (a, op, b, loose)=>{\n switch(op){\n case \"===\":\n if (typeof a === \"object\") a = a.version;\n if (typeof b === \"object\") b = b.version;\n return a === b;\n case \"!==\":\n if (typeof a === \"object\") a = a.version;\n if (typeof b === \"object\") b = b.version;\n return a !== b;\n case \"\":\n case \"=\":\n case \"==\":\n return $hpjtH(a, b, loose);\n case \"!=\":\n return $lNs9e(a, b, loose);\n case \">\":\n return $dFwZk(a, b, loose);\n case \">=\":\n return $lHD2W(a, b, loose);\n case \"<\":\n return $iVR3H(a, b, loose);\n case \"<=\":\n return $ldLP8(a, b, loose);\n default:\n throw new TypeError(`Invalid operator: ${op}`);\n }\n};\nmodule.exports = $0dc4a092f6412814$var$cmp;\n\n});\n\nparcelRequire.register(\"brvh5\", function(module, exports) {\n\nvar $5LYRo = parcelRequire(\"5LYRo\");\n\nvar $OZ7Ue = parcelRequire(\"OZ7Ue\");\n\nvar $12uZQ = parcelRequire(\"12uZQ\");\nvar $854a79d0bfa02788$require$re = $12uZQ.safeRe;\nvar $854a79d0bfa02788$require$t = $12uZQ.t;\nconst $854a79d0bfa02788$var$coerce = (version, options)=>{\n if (version instanceof $5LYRo) return version;\n if (typeof version === \"number\") version = String(version);\n if (typeof version !== \"string\") return null;\n options = options || {};\n let match = null;\n if (!options.rtl) match = version.match($854a79d0bfa02788$require$re[$854a79d0bfa02788$require$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 = $854a79d0bfa02788$require$re[$854a79d0bfa02788$require$t.COERCERTL].exec(version)) && (!match || match.index + match[0].length !== version.length)){\n if (!match || next.index + next[0].length !== match.index + match[0].length) match = next;\n $854a79d0bfa02788$require$re[$854a79d0bfa02788$require$t.COERCERTL].lastIndex = next.index + next[1].length + next[2].length;\n }\n // leave it in a clean state\n $854a79d0bfa02788$require$re[$854a79d0bfa02788$require$t.COERCERTL].lastIndex = -1;\n }\n if (match === null) return null;\n return $OZ7Ue(`${match[2]}.${match[3] || \"0\"}.${match[4] || \"0\"}`, options);\n};\nmodule.exports = $854a79d0bfa02788$var$coerce;\n\n});\n\nparcelRequire.register(\"9hQpH\", function(module, exports) {\nconst $6c2e5bd4a12c08ea$var$ANY = Symbol(\"SemVer ANY\");\n// hoisted class for cyclic dependency\nclass $6c2e5bd4a12c08ea$var$Comparator {\n static get ANY() {\n return $6c2e5bd4a12c08ea$var$ANY;\n }\n constructor(comp, options){\n options = $k6Ib4(options);\n if (comp instanceof $6c2e5bd4a12c08ea$var$Comparator) {\n if (comp.loose === !!options.loose) return comp;\n else comp = comp.value;\n }\n comp = comp.trim().split(/\\s+/).join(\" \");\n $HHW4D(\"comparator\", comp, options);\n this.options = options;\n this.loose = !!options.loose;\n this.parse(comp);\n if (this.semver === $6c2e5bd4a12c08ea$var$ANY) this.value = \"\";\n else this.value = this.operator + this.semver.version;\n $HHW4D(\"comp\", this);\n }\n parse(comp) {\n const r = this.options.loose ? $6c2e5bd4a12c08ea$require$re[$6c2e5bd4a12c08ea$require$t.COMPARATORLOOSE] : $6c2e5bd4a12c08ea$require$re[$6c2e5bd4a12c08ea$require$t.COMPARATOR];\n const m = comp.match(r);\n if (!m) throw new TypeError(`Invalid comparator: ${comp}`);\n this.operator = m[1] !== undefined ? m[1] : \"\";\n if (this.operator === \"=\") this.operator = \"\";\n // if it literally is just '>' or '' then allow anything.\n if (!m[2]) this.semver = $6c2e5bd4a12c08ea$var$ANY;\n else this.semver = new $5LYRo(m[2], this.options.loose);\n }\n toString() {\n return this.value;\n }\n test(version) {\n $HHW4D(\"Comparator.test\", version, this.options.loose);\n if (this.semver === $6c2e5bd4a12c08ea$var$ANY || version === $6c2e5bd4a12c08ea$var$ANY) return true;\n if (typeof version === \"string\") try {\n version = new $5LYRo(version, this.options);\n } catch (er) {\n return false;\n }\n return $1bhNL(version, this.operator, this.semver, this.options);\n }\n intersects(comp, options) {\n if (!(comp instanceof $6c2e5bd4a12c08ea$var$Comparator)) throw new TypeError(\"a Comparator is required\");\n if (this.operator === \"\") {\n if (this.value === \"\") return true;\n return new $lKnWr(comp.value, options).test(this.value);\n } else if (comp.operator === \"\") {\n if (comp.value === \"\") return true;\n return new $lKnWr(this.value, options).test(comp.semver);\n }\n options = $k6Ib4(options);\n // Special cases where nothing can possibly be lower\n if (options.includePrerelease && (this.value === \"<0.0.0-0\" || comp.value === \"<0.0.0-0\")) return false;\n if (!options.includePrerelease && (this.value.startsWith(\"<0.0.0\") || comp.value.startsWith(\"<0.0.0\"))) return false;\n // Same direction increasing (> or >=)\n if (this.operator.startsWith(\">\") && comp.operator.startsWith(\">\")) return true;\n // Same direction decreasing (< or <=)\n if (this.operator.startsWith(\"<\") && comp.operator.startsWith(\"<\")) return true;\n // same SemVer and both sides are inclusive (<= or >=)\n if (this.semver.version === comp.semver.version && this.operator.includes(\"=\") && comp.operator.includes(\"=\")) return true;\n // opposite directions less than\n if ($1bhNL(this.semver, \"<\", comp.semver, options) && this.operator.startsWith(\">\") && comp.operator.startsWith(\"<\")) return true;\n // opposite directions greater than\n if ($1bhNL(this.semver, \">\", comp.semver, options) && this.operator.startsWith(\"<\") && comp.operator.startsWith(\">\")) return true;\n return false;\n }\n}\nmodule.exports = $6c2e5bd4a12c08ea$var$Comparator;\n\nvar $k6Ib4 = parcelRequire(\"k6Ib4\");\n\nvar $12uZQ = parcelRequire(\"12uZQ\");\nvar $6c2e5bd4a12c08ea$require$re = $12uZQ.safeRe;\nvar $6c2e5bd4a12c08ea$require$t = $12uZQ.t;\n\nvar $1bhNL = parcelRequire(\"1bhNL\");\n\nvar $HHW4D = parcelRequire(\"HHW4D\");\n\nvar $5LYRo = parcelRequire(\"5LYRo\");\n\nvar $lKnWr = parcelRequire(\"lKnWr\");\n\n});\nparcelRequire.register(\"lKnWr\", function(module, exports) {\n// hoisted class for cyclic dependency\nclass $fd507728d9636d97$var$Range {\n constructor(range, options){\n options = $k6Ib4(options);\n if (range instanceof $fd507728d9636d97$var$Range) {\n if (range.loose === !!options.loose && range.includePrerelease === !!options.includePrerelease) return range;\n else return new $fd507728d9636d97$var$Range(range.raw, options);\n }\n if (range instanceof $9hQpH) {\n // just put it in the set and return\n this.raw = range.value;\n this.set = [\n [\n range\n ]\n ];\n this.format();\n return this;\n }\n this.options = options;\n this.loose = !!options.loose;\n this.includePrerelease = !!options.includePrerelease;\n // First reduce all whitespace as much as possible so we do not have to rely\n // on potentially slow regexes like \\s*. This is then stored and used for\n // future error messages as well.\n this.raw = range.trim().split(/\\s+/).join(\" \");\n // First, split on ||\n this.set = this.raw.split(\"||\")// map the range to a 2d array of comparators\n .map((r)=>this.parseRange(r.trim()))// 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 if (!this.set.length) throw new TypeError(`Invalid SemVer Range: ${this.raw}`);\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)=>!$fd507728d9636d97$var$isNullSet(c[0]));\n if (this.set.length === 0) this.set = [\n first\n ];\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)if (c.length === 1 && $fd507728d9636d97$var$isAny(c[0])) {\n this.set = [\n c\n ];\n break;\n }\n }\n }\n this.format();\n }\n format() {\n this.range = this.set.map((comps)=>comps.join(\" \").trim()).join(\"||\").trim();\n return this.range;\n }\n toString() {\n return this.range;\n }\n parseRange(range) {\n // memoize range parsing for performance.\n // this is a very hot path, and fully deterministic.\n const memoOpts = (this.options.includePrerelease && $fd507728d9636d97$require$FLAG_INCLUDE_PRERELEASE) | (this.options.loose && $fd507728d9636d97$require$FLAG_LOOSE);\n const memoKey = memoOpts + \":\" + range;\n const cached = $fd507728d9636d97$var$cache.get(memoKey);\n if (cached) return cached;\n const loose = this.options.loose;\n // `1.2.3 - 1.2.4` => `>=1.2.3 <=1.2.4`\n const hr = loose ? $fd507728d9636d97$require$re[$fd507728d9636d97$require$t.HYPHENRANGELOOSE] : $fd507728d9636d97$require$re[$fd507728d9636d97$require$t.HYPHENRANGE];\n range = range.replace(hr, $fd507728d9636d97$var$hyphenReplace(this.options.includePrerelease));\n $HHW4D(\"hyphen replace\", range);\n // `> 1.2.3 < 1.2.5` => `>1.2.3 <1.2.5`\n range = range.replace($fd507728d9636d97$require$re[$fd507728d9636d97$require$t.COMPARATORTRIM], $fd507728d9636d97$require$comparatorTrimReplace);\n $HHW4D(\"comparator trim\", range);\n // `~ 1.2.3` => `~1.2.3`\n range = range.replace($fd507728d9636d97$require$re[$fd507728d9636d97$require$t.TILDETRIM], $fd507728d9636d97$require$tildeTrimReplace);\n $HHW4D(\"tilde trim\", range);\n // `^ 1.2.3` => `^1.2.3`\n range = range.replace($fd507728d9636d97$require$re[$fd507728d9636d97$require$t.CARETTRIM], $fd507728d9636d97$require$caretTrimReplace);\n $HHW4D(\"caret trim\", range);\n // At this point, the range is completely trimmed and\n // ready to be split into comparators.\n let rangeList = range.split(\" \").map((comp)=>$fd507728d9636d97$var$parseComparator(comp, this.options)).join(\" \").split(/\\s+/)// >=0.0.0 is equivalent to *\n .map((comp)=>$fd507728d9636d97$var$replaceGTE0(comp, this.options));\n if (loose) // in loose mode, throw out any that are not valid comparators\n rangeList = rangeList.filter((comp)=>{\n $HHW4D(\"loose invalid filter\", comp, this.options);\n return !!comp.match($fd507728d9636d97$require$re[$fd507728d9636d97$require$t.COMPARATORLOOSE]);\n });\n $HHW4D(\"range list\", rangeList);\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 $9hQpH(comp, this.options));\n for (const comp of comparators){\n if ($fd507728d9636d97$var$isNullSet(comp)) return [\n comp\n ];\n rangeMap.set(comp.value, comp);\n }\n if (rangeMap.size > 1 && rangeMap.has(\"\")) rangeMap.delete(\"\");\n const result = [\n ...rangeMap.values()\n ];\n $fd507728d9636d97$var$cache.set(memoKey, result);\n return result;\n }\n intersects(range, options) {\n if (!(range instanceof $fd507728d9636d97$var$Range)) throw new TypeError(\"a Range is required\");\n return this.set.some((thisComparators)=>{\n return $fd507728d9636d97$var$isSatisfiable(thisComparators, options) && range.set.some((rangeComparators)=>{\n return $fd507728d9636d97$var$isSatisfiable(rangeComparators, options) && thisComparators.every((thisComparator)=>{\n return rangeComparators.every((rangeComparator)=>{\n return thisComparator.intersects(rangeComparator, options);\n });\n });\n });\n });\n }\n // if ANY of the sets match ALL of its comparators, then pass\n test(version) {\n if (!version) return false;\n if (typeof version === \"string\") try {\n version = new $5LYRo(version, this.options);\n } catch (er) {\n return false;\n }\n for(let i = 0; i < this.set.length; i++){\n if ($fd507728d9636d97$var$testSet(this.set[i], version, this.options)) return true;\n }\n return false;\n }\n}\nmodule.exports = $fd507728d9636d97$var$Range;\n\nvar $7re4a = parcelRequire(\"7re4a\");\nconst $fd507728d9636d97$var$cache = new $7re4a({\n max: 1000\n});\n\nvar $k6Ib4 = parcelRequire(\"k6Ib4\");\n\nvar $9hQpH = parcelRequire(\"9hQpH\");\n\nvar $HHW4D = parcelRequire(\"HHW4D\");\n\nvar $5LYRo = parcelRequire(\"5LYRo\");\n\nvar $12uZQ = parcelRequire(\"12uZQ\");\nvar $fd507728d9636d97$require$re = $12uZQ.safeRe;\nvar $fd507728d9636d97$require$t = $12uZQ.t;\nvar $fd507728d9636d97$require$comparatorTrimReplace = $12uZQ.comparatorTrimReplace;\nvar $fd507728d9636d97$require$tildeTrimReplace = $12uZQ.tildeTrimReplace;\nvar $fd507728d9636d97$require$caretTrimReplace = $12uZQ.caretTrimReplace;\n\nvar $hOG3Y = parcelRequire(\"hOG3Y\");\nvar $fd507728d9636d97$require$FLAG_INCLUDE_PRERELEASE = $hOG3Y.FLAG_INCLUDE_PRERELEASE;\nvar $fd507728d9636d97$require$FLAG_LOOSE = $hOG3Y.FLAG_LOOSE;\nconst $fd507728d9636d97$var$isNullSet = (c)=>c.value === \"<0.0.0-0\";\nconst $fd507728d9636d97$var$isAny = (c)=>c.value === \"\";\n// take a set of comparators and determine whether there\n// exists a version which can satisfy it\nconst $fd507728d9636d97$var$isSatisfiable = (comparators, options)=>{\n let result = true;\n const remainingComparators = comparators.slice();\n let testComparator = remainingComparators.pop();\n while(result && remainingComparators.length){\n result = remainingComparators.every((otherComparator)=>{\n return testComparator.intersects(otherComparator, options);\n });\n testComparator = remainingComparators.pop();\n }\n return result;\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 $fd507728d9636d97$var$parseComparator = (comp, options)=>{\n $HHW4D(\"comp\", comp, options);\n comp = $fd507728d9636d97$var$replaceCarets(comp, options);\n $HHW4D(\"caret\", comp);\n comp = $fd507728d9636d97$var$replaceTildes(comp, options);\n $HHW4D(\"tildes\", comp);\n comp = $fd507728d9636d97$var$replaceXRanges(comp, options);\n $HHW4D(\"xrange\", comp);\n comp = $fd507728d9636d97$var$replaceStars(comp, options);\n $HHW4D(\"stars\", comp);\n return comp;\n};\nconst $fd507728d9636d97$var$isX = (id)=>!id || id.toLowerCase() === \"x\" || id === \"*\";\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\n// ~0.0.1 --> >=0.0.1 <0.1.0-0\nconst $fd507728d9636d97$var$replaceTildes = (comp, options)=>{\n return comp.trim().split(/\\s+/).map((c)=>$fd507728d9636d97$var$replaceTilde(c, options)).join(\" \");\n};\nconst $fd507728d9636d97$var$replaceTilde = (comp, options)=>{\n const r = options.loose ? $fd507728d9636d97$require$re[$fd507728d9636d97$require$t.TILDELOOSE] : $fd507728d9636d97$require$re[$fd507728d9636d97$require$t.TILDE];\n return comp.replace(r, (_, M, m, p, pr)=>{\n $HHW4D(\"tilde\", comp, _, M, m, p, pr);\n let ret;\n if ($fd507728d9636d97$var$isX(M)) ret = \"\";\n else if ($fd507728d9636d97$var$isX(m)) ret = `>=${M}.0.0 <${+M + 1}.0.0-0`;\n else if ($fd507728d9636d97$var$isX(p)) // ~1.2 == >=1.2.0 <1.3.0-0\n ret = `>=${M}.${m}.0 <${M}.${+m + 1}.0-0`;\n else if (pr) {\n $HHW4D(\"replaceTilde pr\", pr);\n ret = `>=${M}.${m}.${p}-${pr} <${M}.${+m + 1}.0-0`;\n } else // ~1.2.3 == >=1.2.3 <1.3.0-0\n ret = `>=${M}.${m}.${p} <${M}.${+m + 1}.0-0`;\n $HHW4D(\"tilde return\", ret);\n return ret;\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\n// ^0.0.1 --> >=0.0.1 <0.0.2-0\n// ^0.1.0 --> >=0.1.0 <0.2.0-0\nconst $fd507728d9636d97$var$replaceCarets = (comp, options)=>{\n return comp.trim().split(/\\s+/).map((c)=>$fd507728d9636d97$var$replaceCaret(c, options)).join(\" \");\n};\nconst $fd507728d9636d97$var$replaceCaret = (comp, options)=>{\n $HHW4D(\"caret\", comp, options);\n const r = options.loose ? $fd507728d9636d97$require$re[$fd507728d9636d97$require$t.CARETLOOSE] : $fd507728d9636d97$require$re[$fd507728d9636d97$require$t.CARET];\n const z = options.includePrerelease ? \"-0\" : \"\";\n return comp.replace(r, (_, M, m, p, pr)=>{\n $HHW4D(\"caret\", comp, _, M, m, p, pr);\n let ret;\n if ($fd507728d9636d97$var$isX(M)) ret = \"\";\n else if ($fd507728d9636d97$var$isX(m)) ret = `>=${M}.0.0${z} <${+M + 1}.0.0-0`;\n else if ($fd507728d9636d97$var$isX(p)) {\n if (M === \"0\") ret = `>=${M}.${m}.0${z} <${M}.${+m + 1}.0-0`;\n else ret = `>=${M}.${m}.0${z} <${+M + 1}.0.0-0`;\n } else if (pr) {\n $HHW4D(\"replaceCaret pr\", pr);\n if (M === \"0\") {\n if (m === \"0\") ret = `>=${M}.${m}.${p}-${pr} <${M}.${m}.${+p + 1}-0`;\n else ret = `>=${M}.${m}.${p}-${pr} <${M}.${+m + 1}.0-0`;\n } else ret = `>=${M}.${m}.${p}-${pr} <${+M + 1}.0.0-0`;\n } else {\n $HHW4D(\"no pr\");\n if (M === \"0\") {\n if (m === \"0\") ret = `>=${M}.${m}.${p}${z} <${M}.${m}.${+p + 1}-0`;\n else ret = `>=${M}.${m}.${p}${z} <${M}.${+m + 1}.0-0`;\n } else ret = `>=${M}.${m}.${p} <${+M + 1}.0.0-0`;\n }\n $HHW4D(\"caret return\", ret);\n return ret;\n });\n};\nconst $fd507728d9636d97$var$replaceXRanges = (comp, options)=>{\n $HHW4D(\"replaceXRanges\", comp, options);\n return comp.split(/\\s+/).map((c)=>$fd507728d9636d97$var$replaceXRange(c, options)).join(\" \");\n};\nconst $fd507728d9636d97$var$replaceXRange = (comp, options)=>{\n comp = comp.trim();\n const r = options.loose ? $fd507728d9636d97$require$re[$fd507728d9636d97$require$t.XRANGELOOSE] : $fd507728d9636d97$require$re[$fd507728d9636d97$require$t.XRANGE];\n return comp.replace(r, (ret, gtlt, M, m, p, pr)=>{\n $HHW4D(\"xRange\", comp, ret, gtlt, M, m, p, pr);\n const xM = $fd507728d9636d97$var$isX(M);\n const xm = xM || $fd507728d9636d97$var$isX(m);\n const xp = xm || $fd507728d9636d97$var$isX(p);\n const anyX = xp;\n if (gtlt === \"=\" && anyX) gtlt = \"\";\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 if (xM) {\n if (gtlt === \">\" || gtlt === \"<\") // nothing is allowed\n ret = \"<0.0.0-0\";\n else // nothing is forbidden\n ret = \"*\";\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) m = 0;\n p = 0;\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) M = +M + 1;\n else m = +m + 1;\n }\n if (gtlt === \"<\") pr = \"-0\";\n ret = `${gtlt + M}.${m}.${p}${pr}`;\n } else if (xm) ret = `>=${M}.0.0${pr} <${+M + 1}.0.0-0`;\n else if (xp) ret = `>=${M}.${m}.0${pr} <${M}.${+m + 1}.0-0`;\n $HHW4D(\"xRange return\", ret);\n return ret;\n });\n};\n// Because * is AND-ed with everything else in the comparator,\n// and '' means \"any version\", just remove the *s entirely.\nconst $fd507728d9636d97$var$replaceStars = (comp, options)=>{\n $HHW4D(\"replaceStars\", comp, options);\n // Looseness is ignored here. star is always as loose as it gets!\n return comp.trim().replace($fd507728d9636d97$require$re[$fd507728d9636d97$require$t.STAR], \"\");\n};\nconst $fd507728d9636d97$var$replaceGTE0 = (comp, options)=>{\n $HHW4D(\"replaceGTE0\", comp, options);\n return comp.trim().replace($fd507728d9636d97$require$re[options.includePrerelease ? $fd507728d9636d97$require$t.GTE0PRE : $fd507728d9636d97$require$t.GTE0], \"\");\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 $fd507728d9636d97$var$hyphenReplace = (incPr)=>($0, from, fM, fm, fp, fpr, fb, to, tM, tm, tp, tpr, tb)=>{\n if ($fd507728d9636d97$var$isX(fM)) from = \"\";\n else if ($fd507728d9636d97$var$isX(fm)) from = `>=${fM}.0.0${incPr ? \"-0\" : \"\"}`;\n else if ($fd507728d9636d97$var$isX(fp)) from = `>=${fM}.${fm}.0${incPr ? \"-0\" : \"\"}`;\n else if (fpr) from = `>=${from}`;\n else from = `>=${from}${incPr ? \"-0\" : \"\"}`;\n if ($fd507728d9636d97$var$isX(tM)) to = \"\";\n else if ($fd507728d9636d97$var$isX(tm)) to = `<${+tM + 1}.0.0-0`;\n else if ($fd507728d9636d97$var$isX(tp)) to = `<${tM}.${+tm + 1}.0-0`;\n else if (tpr) to = `<=${tM}.${tm}.${tp}-${tpr}`;\n else if (incPr) to = `<${tM}.${tm}.${+tp + 1}-0`;\n else to = `<=${to}`;\n return `${from} ${to}`.trim();\n };\nconst $fd507728d9636d97$var$testSet = (set, version, options)=>{\n for(let i = 0; i < set.length; i++){\n if (!set[i].test(version)) return false;\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 $HHW4D(set[i].semver);\n if (set[i].semver === $9hQpH.ANY) continue;\n if (set[i].semver.prerelease.length > 0) {\n const allowed = set[i].semver;\n if (allowed.major === version.major && allowed.minor === version.minor && allowed.patch === version.patch) return true;\n }\n }\n // Version has a -pre, but it's not one of the ones we like.\n return false;\n }\n return true;\n};\n\n});\nparcelRequire.register(\"7re4a\", function(module, exports) {\n\"use strict\";\n\nvar $c74VM = parcelRequire(\"c74VM\");\nconst $56a5f749c36676f0$var$MAX = Symbol(\"max\");\nconst $56a5f749c36676f0$var$LENGTH = Symbol(\"length\");\nconst $56a5f749c36676f0$var$LENGTH_CALCULATOR = Symbol(\"lengthCalculator\");\nconst $56a5f749c36676f0$var$ALLOW_STALE = Symbol(\"allowStale\");\nconst $56a5f749c36676f0$var$MAX_AGE = Symbol(\"maxAge\");\nconst $56a5f749c36676f0$var$DISPOSE = Symbol(\"dispose\");\nconst $56a5f749c36676f0$var$NO_DISPOSE_ON_SET = Symbol(\"noDisposeOnSet\");\nconst $56a5f749c36676f0$var$LRU_LIST = Symbol(\"lruList\");\nconst $56a5f749c36676f0$var$CACHE = Symbol(\"cache\");\nconst $56a5f749c36676f0$var$UPDATE_AGE_ON_GET = Symbol(\"updateAgeOnGet\");\nconst $56a5f749c36676f0$var$naiveLength = ()=>1;\n// lruList is a yallist where the head is the youngest\n// item, and the tail is the oldest. the list contains the Hit\n// objects as the entries.\n// Each Hit object has a reference to its Yallist.Node. This\n// never changes.\n//\n// cache is a Map (or PseudoMap) that matches the keys to\n// the Yallist.Node object.\nclass $56a5f749c36676f0$var$LRUCache {\n constructor(options){\n if (typeof options === \"number\") options = {\n max: options\n };\n if (!options) options = {};\n if (options.max && (typeof options.max !== \"number\" || options.max < 0)) throw new TypeError(\"max must be a non-negative number\");\n // Kind of weird to have a default max of Infinity, but oh well.\n const max = this[$56a5f749c36676f0$var$MAX] = options.max || Infinity;\n const lc = options.length || $56a5f749c36676f0$var$naiveLength;\n this[$56a5f749c36676f0$var$LENGTH_CALCULATOR] = typeof lc !== \"function\" ? $56a5f749c36676f0$var$naiveLength : lc;\n this[$56a5f749c36676f0$var$ALLOW_STALE] = options.stale || false;\n if (options.maxAge && typeof options.maxAge !== \"number\") throw new TypeError(\"maxAge must be a number\");\n this[$56a5f749c36676f0$var$MAX_AGE] = options.maxAge || 0;\n this[$56a5f749c36676f0$var$DISPOSE] = options.dispose;\n this[$56a5f749c36676f0$var$NO_DISPOSE_ON_SET] = options.noDisposeOnSet || false;\n this[$56a5f749c36676f0$var$UPDATE_AGE_ON_GET] = options.updateAgeOnGet || false;\n this.reset();\n }\n // resize the cache when the max changes.\n set max(mL) {\n if (typeof mL !== \"number\" || mL < 0) throw new TypeError(\"max must be a non-negative number\");\n this[$56a5f749c36676f0$var$MAX] = mL || Infinity;\n $56a5f749c36676f0$var$trim(this);\n }\n get max() {\n return this[$56a5f749c36676f0$var$MAX];\n }\n set allowStale(allowStale) {\n this[$56a5f749c36676f0$var$ALLOW_STALE] = !!allowStale;\n }\n get allowStale() {\n return this[$56a5f749c36676f0$var$ALLOW_STALE];\n }\n set maxAge(mA) {\n if (typeof mA !== \"number\") throw new TypeError(\"maxAge must be a non-negative number\");\n this[$56a5f749c36676f0$var$MAX_AGE] = mA;\n $56a5f749c36676f0$var$trim(this);\n }\n get maxAge() {\n return this[$56a5f749c36676f0$var$MAX_AGE];\n }\n // resize the cache when the lengthCalculator changes.\n set lengthCalculator(lC) {\n if (typeof lC !== \"function\") lC = $56a5f749c36676f0$var$naiveLength;\n if (lC !== this[$56a5f749c36676f0$var$LENGTH_CALCULATOR]) {\n this[$56a5f749c36676f0$var$LENGTH_CALCULATOR] = lC;\n this[$56a5f749c36676f0$var$LENGTH] = 0;\n this[$56a5f749c36676f0$var$LRU_LIST].forEach((hit)=>{\n hit.length = this[$56a5f749c36676f0$var$LENGTH_CALCULATOR](hit.value, hit.key);\n this[$56a5f749c36676f0$var$LENGTH] += hit.length;\n });\n }\n $56a5f749c36676f0$var$trim(this);\n }\n get lengthCalculator() {\n return this[$56a5f749c36676f0$var$LENGTH_CALCULATOR];\n }\n get length() {\n return this[$56a5f749c36676f0$var$LENGTH];\n }\n get itemCount() {\n return this[$56a5f749c36676f0$var$LRU_LIST].length;\n }\n rforEach(fn, thisp) {\n thisp = thisp || this;\n for(let walker = this[$56a5f749c36676f0$var$LRU_LIST].tail; walker !== null;){\n const prev = walker.prev;\n $56a5f749c36676f0$var$forEachStep(this, fn, walker, thisp);\n walker = prev;\n }\n }\n forEach(fn, thisp) {\n thisp = thisp || this;\n for(let walker = this[$56a5f749c36676f0$var$LRU_LIST].head; walker !== null;){\n const next = walker.next;\n $56a5f749c36676f0$var$forEachStep(this, fn, walker, thisp);\n walker = next;\n }\n }\n keys() {\n return this[$56a5f749c36676f0$var$LRU_LIST].toArray().map((k)=>k.key);\n }\n values() {\n return this[$56a5f749c36676f0$var$LRU_LIST].toArray().map((k)=>k.value);\n }\n reset() {\n if (this[$56a5f749c36676f0$var$DISPOSE] && this[$56a5f749c36676f0$var$LRU_LIST] && this[$56a5f749c36676f0$var$LRU_LIST].length) this[$56a5f749c36676f0$var$LRU_LIST].forEach((hit)=>this[$56a5f749c36676f0$var$DISPOSE](hit.key, hit.value));\n this[$56a5f749c36676f0$var$CACHE] = new Map() // hash of items by key\n ;\n this[$56a5f749c36676f0$var$LRU_LIST] = new $c74VM() // list of items in order of use recency\n ;\n this[$56a5f749c36676f0$var$LENGTH] = 0 // length of items in the list\n ;\n }\n dump() {\n return this[$56a5f749c36676f0$var$LRU_LIST].map((hit)=>$56a5f749c36676f0$var$isStale(this, hit) ? false : {\n k: hit.key,\n v: hit.value,\n e: hit.now + (hit.maxAge || 0)\n }).toArray().filter((h)=>h);\n }\n dumpLru() {\n return this[$56a5f749c36676f0$var$LRU_LIST];\n }\n set(key, value, maxAge) {\n maxAge = maxAge || this[$56a5f749c36676f0$var$MAX_AGE];\n if (maxAge && typeof maxAge !== \"number\") throw new TypeError(\"maxAge must be a number\");\n const now = maxAge ? Date.now() : 0;\n const len = this[$56a5f749c36676f0$var$LENGTH_CALCULATOR](value, key);\n if (this[$56a5f749c36676f0$var$CACHE].has(key)) {\n if (len > this[$56a5f749c36676f0$var$MAX]) {\n $56a5f749c36676f0$var$del(this, this[$56a5f749c36676f0$var$CACHE].get(key));\n return false;\n }\n const node = this[$56a5f749c36676f0$var$CACHE].get(key);\n const item = node.value;\n // dispose of the old one before overwriting\n // split out into 2 ifs for better coverage tracking\n if (this[$56a5f749c36676f0$var$DISPOSE]) {\n if (!this[$56a5f749c36676f0$var$NO_DISPOSE_ON_SET]) this[$56a5f749c36676f0$var$DISPOSE](key, item.value);\n }\n item.now = now;\n item.maxAge = maxAge;\n item.value = value;\n this[$56a5f749c36676f0$var$LENGTH] += len - item.length;\n item.length = len;\n this.get(key);\n $56a5f749c36676f0$var$trim(this);\n return true;\n }\n const hit = new $56a5f749c36676f0$var$Entry(key, value, len, now, maxAge);\n // oversized objects fall out of cache automatically.\n if (hit.length > this[$56a5f749c36676f0$var$MAX]) {\n if (this[$56a5f749c36676f0$var$DISPOSE]) this[$56a5f749c36676f0$var$DISPOSE](key, value);\n return false;\n }\n this[$56a5f749c36676f0$var$LENGTH] += hit.length;\n this[$56a5f749c36676f0$var$LRU_LIST].unshift(hit);\n this[$56a5f749c36676f0$var$CACHE].set(key, this[$56a5f749c36676f0$var$LRU_LIST].head);\n $56a5f749c36676f0$var$trim(this);\n return true;\n }\n has(key) {\n if (!this[$56a5f749c36676f0$var$CACHE].has(key)) return false;\n const hit = this[$56a5f749c36676f0$var$CACHE].get(key).value;\n return !$56a5f749c36676f0$var$isStale(this, hit);\n }\n get(key) {\n return $56a5f749c36676f0$var$get(this, key, true);\n }\n peek(key) {\n return $56a5f749c36676f0$var$get(this, key, false);\n }\n pop() {\n const node = this[$56a5f749c36676f0$var$LRU_LIST].tail;\n if (!node) return null;\n $56a5f749c36676f0$var$del(this, node);\n return node.value;\n }\n del(key) {\n $56a5f749c36676f0$var$del(this, this[$56a5f749c36676f0$var$CACHE].get(key));\n }\n load(arr) {\n // reset the cache\n this.reset();\n const now = Date.now();\n // A previous serialized cache has the most recent items first\n for(let l = arr.length - 1; l >= 0; l--){\n const hit = arr[l];\n const expiresAt = hit.e || 0;\n if (expiresAt === 0) // the item was created without expiration in a non aged cache\n this.set(hit.k, hit.v);\n else {\n const maxAge = expiresAt - now;\n // dont add already expired items\n if (maxAge > 0) this.set(hit.k, hit.v, maxAge);\n }\n }\n }\n prune() {\n this[$56a5f749c36676f0$var$CACHE].forEach((value, key)=>$56a5f749c36676f0$var$get(this, key, false));\n }\n}\nconst $56a5f749c36676f0$var$get = (self, key, doUse)=>{\n const node = self[$56a5f749c36676f0$var$CACHE].get(key);\n if (node) {\n const hit = node.value;\n if ($56a5f749c36676f0$var$isStale(self, hit)) {\n $56a5f749c36676f0$var$del(self, node);\n if (!self[$56a5f749c36676f0$var$ALLOW_STALE]) return undefined;\n } else if (doUse) {\n if (self[$56a5f749c36676f0$var$UPDATE_AGE_ON_GET]) node.value.now = Date.now();\n self[$56a5f749c36676f0$var$LRU_LIST].unshiftNode(node);\n }\n return hit.value;\n }\n};\nconst $56a5f749c36676f0$var$isStale = (self, hit)=>{\n if (!hit || !hit.maxAge && !self[$56a5f749c36676f0$var$MAX_AGE]) return false;\n const diff = Date.now() - hit.now;\n return hit.maxAge ? diff > hit.maxAge : self[$56a5f749c36676f0$var$MAX_AGE] && diff > self[$56a5f749c36676f0$var$MAX_AGE];\n};\nconst $56a5f749c36676f0$var$trim = (self)=>{\n if (self[$56a5f749c36676f0$var$LENGTH] > self[$56a5f749c36676f0$var$MAX]) for(let walker = self[$56a5f749c36676f0$var$LRU_LIST].tail; self[$56a5f749c36676f0$var$LENGTH] > self[$56a5f749c36676f0$var$MAX] && walker !== null;){\n // We know that we're about to delete this one, and also\n // what the next least recently used key will be, so just\n // go ahead and set it now.\n const prev = walker.prev;\n $56a5f749c36676f0$var$del(self, walker);\n walker = prev;\n }\n};\nconst $56a5f749c36676f0$var$del = (self, node)=>{\n if (node) {\n const hit = node.value;\n if (self[$56a5f749c36676f0$var$DISPOSE]) self[$56a5f749c36676f0$var$DISPOSE](hit.key, hit.value);\n self[$56a5f749c36676f0$var$LENGTH] -= hit.length;\n self[$56a5f749c36676f0$var$CACHE].delete(hit.key);\n self[$56a5f749c36676f0$var$LRU_LIST].removeNode(node);\n }\n};\nclass $56a5f749c36676f0$var$Entry {\n constructor(key, value, length, now, maxAge){\n this.key = key;\n this.value = value;\n this.length = length;\n this.now = now;\n this.maxAge = maxAge || 0;\n }\n}\nconst $56a5f749c36676f0$var$forEachStep = (self, fn, node, thisp)=>{\n let hit = node.value;\n if ($56a5f749c36676f0$var$isStale(self, hit)) {\n $56a5f749c36676f0$var$del(self, node);\n if (!self[$56a5f749c36676f0$var$ALLOW_STALE]) hit = undefined;\n }\n if (hit) fn.call(thisp, hit.value, hit.key, self);\n};\nmodule.exports = $56a5f749c36676f0$var$LRUCache;\n\n});\nparcelRequire.register(\"c74VM\", function(module, exports) {\n\"use strict\";\nmodule.exports = $8d19f6ac3d5912f1$var$Yallist;\n$8d19f6ac3d5912f1$var$Yallist.Node = $8d19f6ac3d5912f1$var$Node;\n$8d19f6ac3d5912f1$var$Yallist.create = $8d19f6ac3d5912f1$var$Yallist;\nfunction $8d19f6ac3d5912f1$var$Yallist(list) {\n var self = this;\n if (!(self instanceof $8d19f6ac3d5912f1$var$Yallist)) self = new $8d19f6ac3d5912f1$var$Yallist();\n self.tail = null;\n self.head = null;\n self.length = 0;\n if (list && typeof list.forEach === \"function\") list.forEach(function(item) {\n self.push(item);\n });\n else if (arguments.length > 0) for(var i = 0, l = arguments.length; i < l; i++)self.push(arguments[i]);\n return self;\n}\n$8d19f6ac3d5912f1$var$Yallist.prototype.removeNode = function(node) {\n if (node.list !== this) throw new Error(\"removing node which does not belong to this list\");\n var next = node.next;\n var prev = node.prev;\n if (next) next.prev = prev;\n if (prev) prev.next = next;\n if (node === this.head) this.head = next;\n if (node === this.tail) this.tail = prev;\n node.list.length--;\n node.next = null;\n node.prev = null;\n node.list = null;\n return next;\n};\n$8d19f6ac3d5912f1$var$Yallist.prototype.unshiftNode = function(node) {\n if (node === this.head) return;\n if (node.list) node.list.removeNode(node);\n var head = this.head;\n node.list = this;\n node.next = head;\n if (head) head.prev = node;\n this.head = node;\n if (!this.tail) this.tail = node;\n this.length++;\n};\n$8d19f6ac3d5912f1$var$Yallist.prototype.pushNode = function(node) {\n if (node === this.tail) return;\n if (node.list) node.list.removeNode(node);\n var tail = this.tail;\n node.list = this;\n node.prev = tail;\n if (tail) tail.next = node;\n this.tail = node;\n if (!this.head) this.head = node;\n this.length++;\n};\n$8d19f6ac3d5912f1$var$Yallist.prototype.push = function() {\n for(var i = 0, l = arguments.length; i < l; i++)$8d19f6ac3d5912f1$var$push(this, arguments[i]);\n return this.length;\n};\n$8d19f6ac3d5912f1$var$Yallist.prototype.unshift = function() {\n for(var i = 0, l = arguments.length; i < l; i++)$8d19f6ac3d5912f1$var$unshift(this, arguments[i]);\n return this.length;\n};\n$8d19f6ac3d5912f1$var$Yallist.prototype.pop = function() {\n if (!this.tail) return undefined;\n var res = this.tail.value;\n this.tail = this.tail.prev;\n if (this.tail) this.tail.next = null;\n else this.head = null;\n this.length--;\n return res;\n};\n$8d19f6ac3d5912f1$var$Yallist.prototype.shift = function() {\n if (!this.head) return undefined;\n var res = this.head.value;\n this.head = this.head.next;\n if (this.head) this.head.prev = null;\n else this.tail = null;\n this.length--;\n return res;\n};\n$8d19f6ac3d5912f1$var$Yallist.prototype.forEach = function(fn, thisp) {\n thisp = thisp || this;\n for(var walker = this.head, i = 0; walker !== null; i++){\n fn.call(thisp, walker.value, i, this);\n walker = walker.next;\n }\n};\n$8d19f6ac3d5912f1$var$Yallist.prototype.forEachReverse = function(fn, thisp) {\n thisp = thisp || this;\n for(var walker = this.tail, i = this.length - 1; walker !== null; i--){\n fn.call(thisp, walker.value, i, this);\n walker = walker.prev;\n }\n};\n$8d19f6ac3d5912f1$var$Yallist.prototype.get = function(n) {\n for(var i = 0, walker = this.head; walker !== null && i < n; i++)// abort out of the list early if we hit a cycle\n walker = walker.next;\n if (i === n && walker !== null) return walker.value;\n};\n$8d19f6ac3d5912f1$var$Yallist.prototype.getReverse = function(n) {\n for(var i = 0, walker = this.tail; walker !== null && i < n; i++)// abort out of the list early if we hit a cycle\n walker = walker.prev;\n if (i === n && walker !== null) return walker.value;\n};\n$8d19f6ac3d5912f1$var$Yallist.prototype.map = function(fn, thisp) {\n thisp = thisp || this;\n var res = new $8d19f6ac3d5912f1$var$Yallist();\n for(var walker = this.head; walker !== null;){\n res.push(fn.call(thisp, walker.value, this));\n walker = walker.next;\n }\n return res;\n};\n$8d19f6ac3d5912f1$var$Yallist.prototype.mapReverse = function(fn, thisp) {\n thisp = thisp || this;\n var res = new $8d19f6ac3d5912f1$var$Yallist();\n for(var walker = this.tail; walker !== null;){\n res.push(fn.call(thisp, walker.value, this));\n walker = walker.prev;\n }\n return res;\n};\n$8d19f6ac3d5912f1$var$Yallist.prototype.reduce = function(fn, initial) {\n var acc;\n var walker = this.head;\n if (arguments.length > 1) acc = initial;\n else if (this.head) {\n walker = this.head.next;\n acc = this.head.value;\n } else throw new TypeError(\"Reduce of empty list with no initial value\");\n for(var i = 0; walker !== null; i++){\n acc = fn(acc, walker.value, i);\n walker = walker.next;\n }\n return acc;\n};\n$8d19f6ac3d5912f1$var$Yallist.prototype.reduceReverse = function(fn, initial) {\n var acc;\n var walker = this.tail;\n if (arguments.length > 1) acc = initial;\n else if (this.tail) {\n walker = this.tail.prev;\n acc = this.tail.value;\n } else throw new TypeError(\"Reduce of empty list with no initial value\");\n for(var i = this.length - 1; walker !== null; i--){\n acc = fn(acc, walker.value, i);\n walker = walker.prev;\n }\n return acc;\n};\n$8d19f6ac3d5912f1$var$Yallist.prototype.toArray = function() {\n var arr = new Array(this.length);\n for(var i = 0, walker = this.head; walker !== null; i++){\n arr[i] = walker.value;\n walker = walker.next;\n }\n return arr;\n};\n$8d19f6ac3d5912f1$var$Yallist.prototype.toArrayReverse = function() {\n var arr = new Array(this.length);\n for(var i = 0, walker = this.tail; walker !== null; i++){\n arr[i] = walker.value;\n walker = walker.prev;\n }\n return arr;\n};\n$8d19f6ac3d5912f1$var$Yallist.prototype.slice = function(from, to) {\n to = to || this.length;\n if (to < 0) to += this.length;\n from = from || 0;\n if (from < 0) from += this.length;\n var ret = new $8d19f6ac3d5912f1$var$Yallist();\n if (to < from || to < 0) return ret;\n if (from < 0) from = 0;\n if (to > this.length) to = this.length;\n for(var i = 0, walker = this.head; walker !== null && i < from; i++)walker = walker.next;\n for(; walker !== null && i < to; i++, walker = walker.next)ret.push(walker.value);\n return ret;\n};\n$8d19f6ac3d5912f1$var$Yallist.prototype.sliceReverse = function(from, to) {\n to = to || this.length;\n if (to < 0) to += this.length;\n from = from || 0;\n if (from < 0) from += this.length;\n var ret = new $8d19f6ac3d5912f1$var$Yallist();\n if (to < from || to < 0) return ret;\n if (from < 0) from = 0;\n if (to > this.length) to = this.length;\n for(var i = this.length, walker = this.tail; walker !== null && i > to; i--)walker = walker.prev;\n for(; walker !== null && i > from; i--, walker = walker.prev)ret.push(walker.value);\n return ret;\n};\n$8d19f6ac3d5912f1$var$Yallist.prototype.splice = function(start, deleteCount, ...nodes) {\n if (start > this.length) start = this.length - 1;\n if (start < 0) start = this.length + start;\n for(var i = 0, walker = this.head; walker !== null && i < start; i++)walker = walker.next;\n var ret = [];\n for(var i = 0; walker && i < deleteCount; i++){\n ret.push(walker.value);\n walker = this.removeNode(walker);\n }\n if (walker === null) walker = this.tail;\n if (walker !== this.head && walker !== this.tail) walker = walker.prev;\n for(var i = 0; i < nodes.length; i++)walker = $8d19f6ac3d5912f1$var$insert(this, walker, nodes[i]);\n return ret;\n};\n$8d19f6ac3d5912f1$var$Yallist.prototype.reverse = function() {\n var head = this.head;\n var tail = this.tail;\n for(var walker = head; walker !== null; walker = walker.prev){\n var p = walker.prev;\n walker.prev = walker.next;\n walker.next = p;\n }\n this.head = tail;\n this.tail = head;\n return this;\n};\nfunction $8d19f6ac3d5912f1$var$insert(self, node, value) {\n var inserted = node === self.head ? new $8d19f6ac3d5912f1$var$Node(value, null, node, self) : new $8d19f6ac3d5912f1$var$Node(value, node, node.next, self);\n if (inserted.next === null) self.tail = inserted;\n if (inserted.prev === null) self.head = inserted;\n self.length++;\n return inserted;\n}\nfunction $8d19f6ac3d5912f1$var$push(self, item) {\n self.tail = new $8d19f6ac3d5912f1$var$Node(item, self.tail, null, self);\n if (!self.head) self.head = self.tail;\n self.length++;\n}\nfunction $8d19f6ac3d5912f1$var$unshift(self, item) {\n self.head = new $8d19f6ac3d5912f1$var$Node(item, null, self.head, self);\n if (!self.tail) self.tail = self.head;\n self.length++;\n}\nfunction $8d19f6ac3d5912f1$var$Node(value, prev, next, list) {\n if (!(this instanceof $8d19f6ac3d5912f1$var$Node)) return new $8d19f6ac3d5912f1$var$Node(value, prev, next, list);\n this.list = list;\n this.value = value;\n if (prev) {\n prev.next = this;\n this.prev = prev;\n } else this.prev = null;\n if (next) {\n next.prev = this;\n this.next = next;\n } else this.next = null;\n}\n\ntry {\n // add if support for Symbol.iterator is present\n (parcelRequire(\"eKYkK\"))($8d19f6ac3d5912f1$var$Yallist);\n} catch (er) {}\n\n});\nparcelRequire.register(\"eKYkK\", function(module, exports) {\n\"use strict\";\nmodule.exports = function(Yallist) {\n Yallist.prototype[Symbol.iterator] = function*() {\n for(let walker = this.head; walker; walker = walker.next)yield walker.value;\n };\n};\n\n});\n\n\n\n\n\nparcelRequire.register(\"iIMQc\", function(module, exports) {\n\nvar $lKnWr = parcelRequire(\"lKnWr\");\nconst $da1238d373713818$var$satisfies = (version, range, options)=>{\n try {\n range = new $lKnWr(range, options);\n } catch (er) {\n return false;\n }\n return range.test(version);\n};\nmodule.exports = $da1238d373713818$var$satisfies;\n\n});\n\nparcelRequire.register(\"2JYAa\", function(module, exports) {\n\nvar $lKnWr = parcelRequire(\"lKnWr\");\n// Mostly just for testing and legacy API reasons\nconst $1feec71ed0961fd7$var$toComparators = (range, options)=>new $lKnWr(range, options).set.map((comp)=>comp.map((c)=>c.value).join(\" \").trim().split(\" \"));\nmodule.exports = $1feec71ed0961fd7$var$toComparators;\n\n});\n\nparcelRequire.register(\"hlGm0\", function(module, exports) {\n\nvar $5LYRo = parcelRequire(\"5LYRo\");\n\nvar $lKnWr = parcelRequire(\"lKnWr\");\nconst $ca1540761e71a4f0$var$maxSatisfying = (versions, range, options)=>{\n let max = null;\n let maxSV = null;\n let rangeObj = null;\n try {\n rangeObj = new $lKnWr(range, options);\n } catch (er) {\n return null;\n }\n versions.forEach((v)=>{\n if (rangeObj.test(v)) // satisfies(v, range, options)\n {\n if (!max || maxSV.compare(v) === -1) {\n // compare(max, v, true)\n max = v;\n maxSV = new $5LYRo(max, options);\n }\n }\n });\n return max;\n};\nmodule.exports = $ca1540761e71a4f0$var$maxSatisfying;\n\n});\n\nparcelRequire.register(\"iNSIN\", function(module, exports) {\n\nvar $5LYRo = parcelRequire(\"5LYRo\");\n\nvar $lKnWr = parcelRequire(\"lKnWr\");\nconst $db074029fb520d57$var$minSatisfying = (versions, range, options)=>{\n let min = null;\n let minSV = null;\n let rangeObj = null;\n try {\n rangeObj = new $lKnWr(range, options);\n } catch (er) {\n return null;\n }\n versions.forEach((v)=>{\n if (rangeObj.test(v)) // satisfies(v, range, options)\n {\n if (!min || minSV.compare(v) === 1) {\n // compare(min, v, true)\n min = v;\n minSV = new $5LYRo(min, options);\n }\n }\n });\n return min;\n};\nmodule.exports = $db074029fb520d57$var$minSatisfying;\n\n});\n\nparcelRequire.register(\"kkdJh\", function(module, exports) {\n\nvar $5LYRo = parcelRequire(\"5LYRo\");\n\nvar $lKnWr = parcelRequire(\"lKnWr\");\n\nvar $dFwZk = parcelRequire(\"dFwZk\");\nconst $ecc0533f65d48d39$var$minVersion = (range, loose)=>{\n range = new $lKnWr(range, loose);\n let minver = new $5LYRo(\"0.0.0\");\n if (range.test(minver)) return minver;\n minver = new $5LYRo(\"0.0.0-0\");\n if (range.test(minver)) return minver;\n minver = null;\n for(let i = 0; i < range.set.length; ++i){\n const comparators = range.set[i];\n let setMin = null;\n comparators.forEach((comparator)=>{\n // Clone to avoid manipulating the comparator's semver object.\n const compver = new $5LYRo(comparator.semver.version);\n switch(comparator.operator){\n case \">\":\n if (compver.prerelease.length === 0) compver.patch++;\n else compver.prerelease.push(0);\n compver.raw = compver.format();\n /* fallthrough */ case \"\":\n case \">=\":\n if (!setMin || $dFwZk(compver, setMin)) setMin = compver;\n break;\n case \"<\":\n case \"<=\":\n break;\n /* istanbul ignore next */ default:\n throw new Error(`Unexpected operation: ${comparator.operator}`);\n }\n });\n if (setMin && (!minver || $dFwZk(minver, setMin))) minver = setMin;\n }\n if (minver && range.test(minver)) return minver;\n return null;\n};\nmodule.exports = $ecc0533f65d48d39$var$minVersion;\n\n});\n\nparcelRequire.register(\"eMkjx\", function(module, exports) {\n\nvar $lKnWr = parcelRequire(\"lKnWr\");\nconst $ac254e5ae6fc819b$var$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 $lKnWr(range, options).range || \"*\";\n } catch (er) {\n return null;\n }\n};\nmodule.exports = $ac254e5ae6fc819b$var$validRange;\n\n});\n\nparcelRequire.register(\"xFOFw\", function(module, exports) {\n\nvar $5LYRo = parcelRequire(\"5LYRo\");\n\nvar $9hQpH = parcelRequire(\"9hQpH\");\nconst { ANY: $0653850420fbfc89$var$ANY } = $9hQpH;\n\nvar $lKnWr = parcelRequire(\"lKnWr\");\n\nvar $iIMQc = parcelRequire(\"iIMQc\");\n\nvar $dFwZk = parcelRequire(\"dFwZk\");\n\nvar $iVR3H = parcelRequire(\"iVR3H\");\n\nvar $ldLP8 = parcelRequire(\"ldLP8\");\n\nvar $lHD2W = parcelRequire(\"lHD2W\");\nconst $0653850420fbfc89$var$outside = (version, range, hilo, options)=>{\n version = new $5LYRo(version, options);\n range = new $lKnWr(range, options);\n let gtfn, ltefn, ltfn, comp, ecomp;\n switch(hilo){\n case \">\":\n gtfn = $dFwZk;\n ltefn = $ldLP8;\n ltfn = $iVR3H;\n comp = \">\";\n ecomp = \">=\";\n break;\n case \"<\":\n gtfn = $iVR3H;\n ltefn = $lHD2W;\n ltfn = $dFwZk;\n comp = \"<\";\n ecomp = \"<=\";\n break;\n default:\n throw new TypeError('Must provide a hilo val of \"<\" or \">\"');\n }\n // If it satisfies the range it is not outside\n if ($iIMQc(version, range, options)) return false;\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 for(let i = 0; i < range.set.length; ++i){\n const comparators = range.set[i];\n let high = null;\n let low = null;\n comparators.forEach((comparator)=>{\n if (comparator.semver === $0653850420fbfc89$var$ANY) comparator = new $9hQpH(\">=0.0.0\");\n high = high || comparator;\n low = low || comparator;\n if (gtfn(comparator.semver, high.semver, options)) high = comparator;\n else if (ltfn(comparator.semver, low.semver, options)) low = comparator;\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) return false;\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) && ltefn(version, low.semver)) return false;\n else if (low.operator === ecomp && ltfn(version, low.semver)) return false;\n }\n return true;\n};\nmodule.exports = $0653850420fbfc89$var$outside;\n\n});\n\nparcelRequire.register(\"9S1Z8\", function(module, exports) {\n// Determine if version is greater than all the versions possible in the range.\n\nvar $xFOFw = parcelRequire(\"xFOFw\");\nconst $72fab261894eadd4$var$gtr = (version, range, options)=>$xFOFw(version, range, \">\", options);\nmodule.exports = $72fab261894eadd4$var$gtr;\n\n});\n\nparcelRequire.register(\"jT4YP\", function(module, exports) {\n\nvar $xFOFw = parcelRequire(\"xFOFw\");\n// Determine if version is less than all the versions possible in the range\nconst $e7a70454912a9eec$var$ltr = (version, range, options)=>$xFOFw(version, range, \"<\", options);\nmodule.exports = $e7a70454912a9eec$var$ltr;\n\n});\n\nparcelRequire.register(\"ed76J\", function(module, exports) {\n\nvar $lKnWr = parcelRequire(\"lKnWr\");\nconst $a587cb00dc094ff7$var$intersects = (r1, r2, options)=>{\n r1 = new $lKnWr(r1, options);\n r2 = new $lKnWr(r2, options);\n return r1.intersects(r2, options);\n};\nmodule.exports = $a587cb00dc094ff7$var$intersects;\n\n});\n\nparcelRequire.register(\"abIkC\", function(module, exports) {\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.\n\nvar $iIMQc = parcelRequire(\"iIMQc\");\n\nvar $aWTSG = parcelRequire(\"aWTSG\");\nmodule.exports = (versions, range, options)=>{\n const set = [];\n let first = null;\n let prev = null;\n const v = versions.sort((a, b)=>$aWTSG(a, b, options));\n for (const version of v){\n const included = $iIMQc(version, range, options);\n if (included) {\n prev = version;\n if (!first) first = version;\n } else {\n if (prev) set.push([\n first,\n prev\n ]);\n prev = null;\n first = null;\n }\n }\n if (first) set.push([\n first,\n null\n ]);\n const ranges = [];\n for (const [min, max] of set){\n if (min === max) ranges.push(min);\n else if (!max && min === v[0]) ranges.push(\"*\");\n else if (!max) ranges.push(`>=${min}`);\n else if (min === v[0]) ranges.push(`<=${max}`);\n else ranges.push(`${min} - ${max}`);\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\n});\n\nparcelRequire.register(\"b6uaQ\", function(module, exports) {\n\nvar $lKnWr = parcelRequire(\"lKnWr\");\n\nvar $9hQpH = parcelRequire(\"9hQpH\");\nconst { ANY: $8157a92aa7d8f878$var$ANY } = $9hQpH;\n\nvar $iIMQc = parcelRequire(\"iIMQc\");\n\nvar $aWTSG = parcelRequire(\"aWTSG\");\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\nconst $8157a92aa7d8f878$var$subset = (sub, dom, options = {})=>{\n if (sub === dom) return true;\n sub = new $lKnWr(sub, options);\n dom = new $lKnWr(dom, options);\n let sawNonNull = false;\n OUTER: for (const simpleSub of sub.set){\n for (const simpleDom of dom.set){\n const isSub = $8157a92aa7d8f878$var$simpleSubset(simpleSub, simpleDom, options);\n sawNonNull = sawNonNull || isSub !== null;\n if (isSub) continue OUTER;\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) return false;\n }\n return true;\n};\nconst $8157a92aa7d8f878$var$minimumVersionWithPreRelease = [\n new $9hQpH(\">=0.0.0-0\")\n];\nconst $8157a92aa7d8f878$var$minimumVersion = [\n new $9hQpH(\">=0.0.0\")\n];\nconst $8157a92aa7d8f878$var$simpleSubset = (sub, dom, options)=>{\n if (sub === dom) return true;\n if (sub.length === 1 && sub[0].semver === $8157a92aa7d8f878$var$ANY) {\n if (dom.length === 1 && dom[0].semver === $8157a92aa7d8f878$var$ANY) return true;\n else if (options.includePrerelease) sub = $8157a92aa7d8f878$var$minimumVersionWithPreRelease;\n else sub = $8157a92aa7d8f878$var$minimumVersion;\n }\n if (dom.length === 1 && dom[0].semver === $8157a92aa7d8f878$var$ANY) {\n if (options.includePrerelease) return true;\n else dom = $8157a92aa7d8f878$var$minimumVersion;\n }\n const eqSet = new Set();\n let gt, lt;\n for (const c of sub){\n if (c.operator === \">\" || c.operator === \">=\") gt = $8157a92aa7d8f878$var$higherGT(gt, c, options);\n else if (c.operator === \"<\" || c.operator === \"<=\") lt = $8157a92aa7d8f878$var$lowerLT(lt, c, options);\n else eqSet.add(c.semver);\n }\n if (eqSet.size > 1) return null;\n let gtltComp;\n if (gt && lt) {\n gtltComp = $aWTSG(gt.semver, lt.semver, options);\n if (gtltComp > 0) return null;\n else if (gtltComp === 0 && (gt.operator !== \">=\" || lt.operator !== \"<=\")) return null;\n }\n // will iterate one or zero times\n for (const eq of eqSet){\n if (gt && !$iIMQc(eq, String(gt), options)) return null;\n if (lt && !$iIMQc(eq, String(lt), options)) return null;\n for (const c of dom){\n if (!$iIMQc(eq, String(c), options)) return false;\n }\n return true;\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 && !options.includePrerelease && lt.semver.prerelease.length ? lt.semver : false;\n let needDomGTPre = gt && !options.includePrerelease && 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 && lt.operator === \"<\" && needDomLTPre.prerelease[0] === 0) needDomLTPre = false;\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 && c.semver.major === needDomGTPre.major && c.semver.minor === needDomGTPre.minor && c.semver.patch === needDomGTPre.patch) needDomGTPre = false;\n }\n if (c.operator === \">\" || c.operator === \">=\") {\n higher = $8157a92aa7d8f878$var$higherGT(gt, c, options);\n if (higher === c && higher !== gt) return false;\n } else if (gt.operator === \">=\" && !$iIMQc(gt.semver, String(c), options)) return false;\n }\n if (lt) {\n if (needDomLTPre) {\n if (c.semver.prerelease && c.semver.prerelease.length && c.semver.major === needDomLTPre.major && c.semver.minor === needDomLTPre.minor && c.semver.patch === needDomLTPre.patch) needDomLTPre = false;\n }\n if (c.operator === \"<\" || c.operator === \"<=\") {\n lower = $8157a92aa7d8f878$var$lowerLT(lt, c, options);\n if (lower === c && lower !== lt) return false;\n } else if (lt.operator === \"<=\" && !$iIMQc(lt.semver, String(c), options)) return false;\n }\n if (!c.operator && (lt || gt) && gtltComp !== 0) return false;\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) return false;\n if (lt && hasDomGT && !gt && gtltComp !== 0) return false;\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) return false;\n return true;\n};\n// >=1.2.3 is lower than >1.2.3\nconst $8157a92aa7d8f878$var$higherGT = (a, b, options)=>{\n if (!a) return b;\n const comp = $aWTSG(a.semver, b.semver, options);\n return comp > 0 ? a : comp < 0 ? b : b.operator === \">\" && a.operator === \">=\" ? b : a;\n};\n// <=1.2.3 is higher than <1.2.3\nconst $8157a92aa7d8f878$var$lowerLT = (a, b, options)=>{\n if (!a) return b;\n const comp = $aWTSG(a.semver, b.semver, options);\n return comp < 0 ? a : comp > 0 ? b : b.operator === \"<\" && a.operator === \"<=\" ? b : a;\n};\nmodule.exports = $8157a92aa7d8f878$var$subset;\n\n});\n\n\nparcelRequire.register(\"bmInQ\", function(module, exports) {\n\"use strict\";\nvar $84642d6a8df502e6$var$matchOperatorsRe = /[|\\\\{}()[\\]^$+*?.]/g;\nmodule.exports = function(str) {\n if (typeof str !== \"string\") throw new TypeError(\"Expected a string\");\n return str.replace($84642d6a8df502e6$var$matchOperatorsRe, \"\\\\$&\");\n};\n\n});\n\nparcelRequire.register(\"bOuKS\", function(module, exports) {\n\n$parcel$export(module.exports, \"pathExists\", () => $899c388f9a33e752$export$f8b9fb4db095815b);\n\nasync function $899c388f9a33e752$export$f8b9fb4db095815b(path) {\n try {\n await (0, $aEsRD$nodefs.promises).access(path);\n return true;\n } catch {\n return false;\n }\n}\nfunction $899c388f9a33e752$export$d878061e34fd0f5a(path) {\n try {\n (0, ($parcel$interopDefault($aEsRD$nodefs))).accessSync(path);\n return true;\n } catch {\n return false;\n }\n}\n\n});\n\nparcelRequire.register(\"eq4yW\", function(module, exports) {\n\n$parcel$export(module.exports, \"addExeExt\", () => $80ef4f9dec652fe5$export$2d20c564cade3c93);\n$parcel$export(module.exports, \"addShExt\", () => $80ef4f9dec652fe5$export$609be29b80b555e1);\n$parcel$export(module.exports, \"addShRelativePrefix\", () => $80ef4f9dec652fe5$export$e1f23f8d3e53fe6);\n$parcel$export(module.exports, \"dirname\", () => $aEsRD$path.dirname);\n$parcel$export(module.exports, \"join\", () => $aEsRD$path.join);\n\n\nvar $3cGqJ = parcelRequire(\"3cGqJ\");\n\nvar $hf1mP = parcelRequire(\"hf1mP\");\nfunction $80ef4f9dec652fe5$var$e(e, a) {\n return Object.keys(a).forEach((r)=>{\n \"default\" === r || \"__esModule\" === r || e.hasOwnProperty(r) || Object.defineProperty(e, r, {\n enumerable: !0,\n get () {\n return a[r];\n }\n });\n }), e;\n}\nfunction $80ef4f9dec652fe5$var$a(e, a, r, s) {\n Object.defineProperty(e, a, {\n get: r,\n set: s,\n enumerable: !0,\n configurable: !0\n });\n}\nfunction $80ef4f9dec652fe5$export$a8ff84c12d48cfa6(e, a = !0) {\n return a ? (0, $aEsRD$path.basename)(e) : (0, $aEsRD$path.basename)(e, (0, $aEsRD$path.extname)(e));\n}\nfunction $80ef4f9dec652fe5$export$873fead74fe2f1ff(e) {\n return (0, $aEsRD$path.normalize)(e).replace(RegExp((0, $3cGqJ.default)((0, $aEsRD$path.sep)) + \"$\"), \"\");\n}\nfunction $80ef4f9dec652fe5$export$2d20c564cade3c93(e, a = \".exe\", r = \"\") {\n return \"win32\" === process.platform ? `${e}${a}` : `${e}${r}`;\n}\nfunction $80ef4f9dec652fe5$export$3e333f8cb13439c(e, a) {\n const r = (0, $aEsRD$path.extname)(e), s = `${a}${(0, $aEsRD$path.basename)(e, r)}${r}`;\n return (0, $aEsRD$path.join)((0, $aEsRD$path.dirname)(e), s);\n}\nfunction $80ef4f9dec652fe5$export$3b60a3e9bd1aef9d(e, a) {\n const r = (0, $aEsRD$path.extname)(e), s = `${(0, $aEsRD$path.basename)(e, r)}${a}${r}`;\n return (0, $aEsRD$path.join)((0, $aEsRD$path.dirname)(e), s);\n}\nfunction $80ef4f9dec652fe5$export$609be29b80b555e1(e, a = \".cmd\", r = \".sh\") {\n return \"win32\" === process.platform ? `${e}${a}` : `${e}${r}`;\n}\nfunction $80ef4f9dec652fe5$export$e1f23f8d3e53fe6(e) {\n return \"win32\" === process.platform ? e : \"./\" + e;\n}\nfunction $80ef4f9dec652fe5$export$19c5468f88f6e968(e) {\n const a = (0, $aEsRD$path.extname)(e).length;\n return e.slice(0, -a);\n}\nfunction $80ef4f9dec652fe5$export$e9c34737ac8e53d2(e, a) {\n return (0, (/*@__PURE__*/$parcel$interopDefault($hf1mP)))(e, a);\n}\nfunction $80ef4f9dec652fe5$export$7d0573375890d05c(e, a) {\n const r = (0, $aEsRD$path.relative)(a, e);\n return !(!r || \"..\" === r || r.startsWith(\"..\" + (0, $aEsRD$path.sep)) || r === (0, $aEsRD$path.resolve)(e));\n}\nvar $80ef4f9dec652fe5$var$O = {}, $80ef4f9dec652fe5$var$R = {};\n$80ef4f9dec652fe5$var$a($80ef4f9dec652fe5$var$R, \"name\", ()=>$80ef4f9dec652fe5$export$a8ff84c12d48cfa6);\nvar $80ef4f9dec652fe5$var$A = {};\n$80ef4f9dec652fe5$var$a($80ef4f9dec652fe5$var$A, \"normalizeTrim\", ()=>$80ef4f9dec652fe5$export$873fead74fe2f1ff);\nvar $80ef4f9dec652fe5$var$I = {};\n$80ef4f9dec652fe5$var$a($80ef4f9dec652fe5$var$I, \"addExeExt\", ()=>$80ef4f9dec652fe5$export$2d20c564cade3c93);\nvar $80ef4f9dec652fe5$var$T = {};\n$80ef4f9dec652fe5$var$a($80ef4f9dec652fe5$var$T, \"addNamePrefix\", ()=>$80ef4f9dec652fe5$export$3e333f8cb13439c);\nvar $80ef4f9dec652fe5$var$_ = {};\n$80ef4f9dec652fe5$var$a($80ef4f9dec652fe5$var$_, \"addNameSuffix\", ()=>$80ef4f9dec652fe5$export$3b60a3e9bd1aef9d);\nvar $80ef4f9dec652fe5$var$k = {};\n$80ef4f9dec652fe5$var$a($80ef4f9dec652fe5$var$k, \"addShExt\", ()=>$80ef4f9dec652fe5$export$609be29b80b555e1);\nvar $80ef4f9dec652fe5$var$M = {};\n$80ef4f9dec652fe5$var$a($80ef4f9dec652fe5$var$M, \"addShRelativePrefix\", ()=>$80ef4f9dec652fe5$export$e1f23f8d3e53fe6);\nvar $80ef4f9dec652fe5$var$W = {};\n$80ef4f9dec652fe5$var$a($80ef4f9dec652fe5$var$W, \"removeExt\", ()=>$80ef4f9dec652fe5$export$19c5468f88f6e968);\nvar $80ef4f9dec652fe5$var$q = {};\n$80ef4f9dec652fe5$var$a($80ef4f9dec652fe5$var$q, \"replaceExt\", ()=>$80ef4f9dec652fe5$export$e9c34737ac8e53d2);\nvar $80ef4f9dec652fe5$var$B = {};\n$80ef4f9dec652fe5$var$a($80ef4f9dec652fe5$var$B, \"isPathInside\", ()=>$80ef4f9dec652fe5$export$7d0573375890d05c), $80ef4f9dec652fe5$var$e($80ef4f9dec652fe5$var$O, $80ef4f9dec652fe5$var$R), $80ef4f9dec652fe5$var$e($80ef4f9dec652fe5$var$O, $80ef4f9dec652fe5$var$A), $80ef4f9dec652fe5$var$e($80ef4f9dec652fe5$var$O, $80ef4f9dec652fe5$var$I), $80ef4f9dec652fe5$var$e($80ef4f9dec652fe5$var$O, $80ef4f9dec652fe5$var$T), $80ef4f9dec652fe5$var$e($80ef4f9dec652fe5$var$O, $80ef4f9dec652fe5$var$_), $80ef4f9dec652fe5$var$e($80ef4f9dec652fe5$var$O, $80ef4f9dec652fe5$var$k), $80ef4f9dec652fe5$var$e($80ef4f9dec652fe5$var$O, $80ef4f9dec652fe5$var$M), $80ef4f9dec652fe5$var$e($80ef4f9dec652fe5$var$O, $80ef4f9dec652fe5$var$W), $80ef4f9dec652fe5$var$e($80ef4f9dec652fe5$var$O, $80ef4f9dec652fe5$var$q), $80ef4f9dec652fe5$var$e($80ef4f9dec652fe5$var$O, $80ef4f9dec652fe5$var$B);\n\n});\nparcelRequire.register(\"3cGqJ\", function(module, exports) {\n\n$parcel$export(module.exports, \"default\", () => $255367cefa7c9949$export$2e2bcd8739ae039);\nfunction $255367cefa7c9949$export$2e2bcd8739ae039(string) {\n if (typeof string !== \"string\") throw new TypeError(\"Expected a string\");\n // Escape characters with special meaning either inside or outside character sets.\n // 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 return string.replace(/[|\\\\{}()[\\]^$+*?.]/g, \"\\\\$&\").replace(/-/g, \"\\\\x2d\");\n}\n\n});\n\nparcelRequire.register(\"hf1mP\", function(module, exports) {\n\"use strict\";\n\nfunction $c8d4e5e53808513d$var$replaceExt(npath, ext) {\n if (typeof npath !== \"string\") return npath;\n if (npath.length === 0) return npath;\n var nFileName = $aEsRD$path.basename(npath, $aEsRD$path.extname(npath)) + ext;\n var nFilepath = $aEsRD$path.join($aEsRD$path.dirname(npath), nFileName);\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 ($c8d4e5e53808513d$var$startsWithSingleDot(npath)) return \".\" + $aEsRD$path.sep + nFilepath;\n return nFilepath;\n}\nfunction $c8d4e5e53808513d$var$startsWithSingleDot(fpath) {\n var first2chars = fpath.slice(0, 2);\n return first2chars === \".\" + $aEsRD$path.sep || first2chars === \"./\";\n}\nmodule.exports = $c8d4e5e53808513d$var$replaceExt;\n\n});\n\n\nparcelRequire.register(\"jtqY0\", function(module, exports) {\n\"use strict\";\nvar $e2d5a4c8e218cc13$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $e2d5a4c8e218cc13$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $e2d5a4c8e218cc13$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $e2d5a4c8e218cc13$var$__createBinding(result, mod, k);\n }\n $e2d5a4c8e218cc13$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $e2d5a4c8e218cc13$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.findInPath = module.exports.which = module.exports.mkdirP = module.exports.rmRF = module.exports.mv = module.exports.cp = void 0;\n\n\nconst $e2d5a4c8e218cc13$var$path = $e2d5a4c8e218cc13$var$__importStar($aEsRD$path);\n\nconst $e2d5a4c8e218cc13$var$ioUtil = $e2d5a4c8e218cc13$var$__importStar((parcelRequire(\"cbIfL\")));\n/**\n * Copies a file or folder.\n * Based off of shelljs - https://github.com/shelljs/shelljs/blob/9237f66c52e5daa40458f94f9565e18e8132f5a6/src/cp.js\n *\n * @param source source path\n * @param dest destination path\n * @param options optional. See CopyOptions.\n */ function $e2d5a4c8e218cc13$var$cp(source, dest, options = {}) {\n return $e2d5a4c8e218cc13$var$__awaiter(this, void 0, void 0, function*() {\n const { force: force, recursive: recursive, copySourceDirectory: copySourceDirectory } = $e2d5a4c8e218cc13$var$readCopyOptions(options);\n const destStat = (yield $e2d5a4c8e218cc13$var$ioUtil.exists(dest)) ? yield $e2d5a4c8e218cc13$var$ioUtil.stat(dest) : null;\n // Dest is an existing file, but not forcing\n if (destStat && destStat.isFile() && !force) return;\n // If dest is an existing directory, should copy inside.\n const newDest = destStat && destStat.isDirectory() && copySourceDirectory ? $e2d5a4c8e218cc13$var$path.join(dest, $e2d5a4c8e218cc13$var$path.basename(source)) : dest;\n if (!(yield $e2d5a4c8e218cc13$var$ioUtil.exists(source))) throw new Error(`no such file or directory: ${source}`);\n const sourceStat = yield $e2d5a4c8e218cc13$var$ioUtil.stat(source);\n if (sourceStat.isDirectory()) {\n if (!recursive) throw new Error(`Failed to copy. ${source} is a directory, but tried to copy without recursive flag.`);\n else yield $e2d5a4c8e218cc13$var$cpDirRecursive(source, newDest, 0, force);\n } else {\n if ($e2d5a4c8e218cc13$var$path.relative(source, newDest) === \"\") // a file cannot be copied to itself\n throw new Error(`'${newDest}' and '${source}' are the same file`);\n yield $e2d5a4c8e218cc13$var$copyFile(source, newDest, force);\n }\n });\n}\nmodule.exports.cp = $e2d5a4c8e218cc13$var$cp;\n/**\n * Moves a path.\n *\n * @param source source path\n * @param dest destination path\n * @param options optional. See MoveOptions.\n */ function $e2d5a4c8e218cc13$var$mv(source, dest, options = {}) {\n return $e2d5a4c8e218cc13$var$__awaiter(this, void 0, void 0, function*() {\n if (yield $e2d5a4c8e218cc13$var$ioUtil.exists(dest)) {\n let destExists = true;\n if (yield $e2d5a4c8e218cc13$var$ioUtil.isDirectory(dest)) {\n // If dest is directory copy src into dest\n dest = $e2d5a4c8e218cc13$var$path.join(dest, $e2d5a4c8e218cc13$var$path.basename(source));\n destExists = yield $e2d5a4c8e218cc13$var$ioUtil.exists(dest);\n }\n if (destExists) {\n if (options.force == null || options.force) yield $e2d5a4c8e218cc13$var$rmRF(dest);\n else throw new Error(\"Destination already exists\");\n }\n }\n yield $e2d5a4c8e218cc13$var$mkdirP($e2d5a4c8e218cc13$var$path.dirname(dest));\n yield $e2d5a4c8e218cc13$var$ioUtil.rename(source, dest);\n });\n}\nmodule.exports.mv = $e2d5a4c8e218cc13$var$mv;\n/**\n * Remove a path recursively with force\n *\n * @param inputPath path to remove\n */ function $e2d5a4c8e218cc13$var$rmRF(inputPath) {\n return $e2d5a4c8e218cc13$var$__awaiter(this, void 0, void 0, function*() {\n if ($e2d5a4c8e218cc13$var$ioUtil.IS_WINDOWS) {\n // Check for invalid characters\n // https://docs.microsoft.com/en-us/windows/win32/fileio/naming-a-file\n if (/[*\"<>|]/.test(inputPath)) throw new Error('File path must not contain `*`, `\"`, `<`, `>` or `|` on Windows');\n }\n try {\n // note if path does not exist, error is silent\n yield $e2d5a4c8e218cc13$var$ioUtil.rm(inputPath, {\n force: true,\n maxRetries: 3,\n recursive: true,\n retryDelay: 300\n });\n } catch (err) {\n throw new Error(`File was unable to be removed ${err}`);\n }\n });\n}\nmodule.exports.rmRF = $e2d5a4c8e218cc13$var$rmRF;\n/**\n * Make a directory. Creates the full path with folders in between\n * Will throw if it fails\n *\n * @param fsPath path to create\n * @returns Promise\n */ function $e2d5a4c8e218cc13$var$mkdirP(fsPath) {\n return $e2d5a4c8e218cc13$var$__awaiter(this, void 0, void 0, function*() {\n $aEsRD$assert.ok(fsPath, \"a path argument must be provided\");\n yield $e2d5a4c8e218cc13$var$ioUtil.mkdir(fsPath, {\n recursive: true\n });\n });\n}\nmodule.exports.mkdirP = $e2d5a4c8e218cc13$var$mkdirP;\n/**\n * Returns path of a tool had the tool actually been invoked. Resolves via paths.\n * If you check and the tool does not exist, it will throw.\n *\n * @param tool name of the tool\n * @param check whether to check if tool exists\n * @returns Promise path to tool\n */ function $e2d5a4c8e218cc13$var$which(tool, check) {\n return $e2d5a4c8e218cc13$var$__awaiter(this, void 0, void 0, function*() {\n if (!tool) throw new Error(\"parameter 'tool' is required\");\n // recursive when check=true\n if (check) {\n const result = yield $e2d5a4c8e218cc13$var$which(tool, false);\n if (!result) {\n if ($e2d5a4c8e218cc13$var$ioUtil.IS_WINDOWS) throw new Error(`Unable to locate executable file: ${tool}. 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.`);\n else throw new Error(`Unable to locate executable file: ${tool}. 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.`);\n }\n return result;\n }\n const matches = yield $e2d5a4c8e218cc13$var$findInPath(tool);\n if (matches && matches.length > 0) return matches[0];\n return \"\";\n });\n}\nmodule.exports.which = $e2d5a4c8e218cc13$var$which;\n/**\n * Returns a list of all occurrences of the given tool on the system path.\n *\n * @returns Promise the paths of the tool\n */ function $e2d5a4c8e218cc13$var$findInPath(tool) {\n return $e2d5a4c8e218cc13$var$__awaiter(this, void 0, void 0, function*() {\n if (!tool) throw new Error(\"parameter 'tool' is required\");\n // build the list of extensions to try\n const extensions = [];\n if ($e2d5a4c8e218cc13$var$ioUtil.IS_WINDOWS && process.env[\"PATHEXT\"]) {\n for (const extension of process.env[\"PATHEXT\"].split($e2d5a4c8e218cc13$var$path.delimiter))if (extension) extensions.push(extension);\n }\n // if it's rooted, return it if exists. otherwise return empty.\n if ($e2d5a4c8e218cc13$var$ioUtil.isRooted(tool)) {\n const filePath = yield $e2d5a4c8e218cc13$var$ioUtil.tryGetExecutablePath(tool, extensions);\n if (filePath) return [\n filePath\n ];\n return [];\n }\n // if any path separators, return empty\n if (tool.includes($e2d5a4c8e218cc13$var$path.sep)) return [];\n // build the list of directories\n //\n // Note, technically \"where\" checks the current directory on Windows. From a toolkit perspective,\n // it feels like we should not do this. Checking the current directory seems like more of a use\n // case of a shell, and the which() function exposed by the toolkit should strive for consistency\n // across platforms.\n const directories = [];\n if (process.env.PATH) {\n for (const p of process.env.PATH.split($e2d5a4c8e218cc13$var$path.delimiter))if (p) directories.push(p);\n }\n // find all matches\n const matches = [];\n for (const directory of directories){\n const filePath = yield $e2d5a4c8e218cc13$var$ioUtil.tryGetExecutablePath($e2d5a4c8e218cc13$var$path.join(directory, tool), extensions);\n if (filePath) matches.push(filePath);\n }\n return matches;\n });\n}\nmodule.exports.findInPath = $e2d5a4c8e218cc13$var$findInPath;\nfunction $e2d5a4c8e218cc13$var$readCopyOptions(options) {\n const force = options.force == null ? true : options.force;\n const recursive = Boolean(options.recursive);\n const copySourceDirectory = options.copySourceDirectory == null ? true : Boolean(options.copySourceDirectory);\n return {\n force: force,\n recursive: recursive,\n copySourceDirectory: copySourceDirectory\n };\n}\nfunction $e2d5a4c8e218cc13$var$cpDirRecursive(sourceDir, destDir, currentDepth, force) {\n return $e2d5a4c8e218cc13$var$__awaiter(this, void 0, void 0, function*() {\n // Ensure there is not a run away recursive copy\n if (currentDepth >= 255) return;\n currentDepth++;\n yield $e2d5a4c8e218cc13$var$mkdirP(destDir);\n const files = yield $e2d5a4c8e218cc13$var$ioUtil.readdir(sourceDir);\n for (const fileName of files){\n const srcFile = `${sourceDir}/${fileName}`;\n const destFile = `${destDir}/${fileName}`;\n const srcFileStat = yield $e2d5a4c8e218cc13$var$ioUtil.lstat(srcFile);\n if (srcFileStat.isDirectory()) // Recurse\n yield $e2d5a4c8e218cc13$var$cpDirRecursive(srcFile, destFile, currentDepth, force);\n else yield $e2d5a4c8e218cc13$var$copyFile(srcFile, destFile, force);\n }\n // Change the mode for the newly created directory\n yield $e2d5a4c8e218cc13$var$ioUtil.chmod(destDir, (yield $e2d5a4c8e218cc13$var$ioUtil.stat(sourceDir)).mode);\n });\n}\n// Buffered file copy\nfunction $e2d5a4c8e218cc13$var$copyFile(srcFile, destFile, force) {\n return $e2d5a4c8e218cc13$var$__awaiter(this, void 0, void 0, function*() {\n if ((yield $e2d5a4c8e218cc13$var$ioUtil.lstat(srcFile)).isSymbolicLink()) {\n // unlink/re-link it\n try {\n yield $e2d5a4c8e218cc13$var$ioUtil.lstat(destFile);\n yield $e2d5a4c8e218cc13$var$ioUtil.unlink(destFile);\n } catch (e) {\n // Try to override file permission\n if (e.code === \"EPERM\") {\n yield $e2d5a4c8e218cc13$var$ioUtil.chmod(destFile, \"0666\");\n yield $e2d5a4c8e218cc13$var$ioUtil.unlink(destFile);\n }\n // other errors = it doesn't exist, no work to do\n }\n // Copy over symlink\n const symlinkFull = yield $e2d5a4c8e218cc13$var$ioUtil.readlink(srcFile);\n yield $e2d5a4c8e218cc13$var$ioUtil.symlink(symlinkFull, destFile, $e2d5a4c8e218cc13$var$ioUtil.IS_WINDOWS ? \"junction\" : null);\n } else if (!(yield $e2d5a4c8e218cc13$var$ioUtil.exists(destFile)) || force) yield $e2d5a4c8e218cc13$var$ioUtil.copyFile(srcFile, destFile);\n });\n}\n\n});\nparcelRequire.register(\"cbIfL\", function(module, exports) {\n\"use strict\";\nvar $8df8d6e1c0d055f9$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $8df8d6e1c0d055f9$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $8df8d6e1c0d055f9$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $8df8d6e1c0d055f9$var$__createBinding(result, mod, k);\n }\n $8df8d6e1c0d055f9$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $8df8d6e1c0d055f9$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar $8df8d6e1c0d055f9$var$_a;\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.getCmdPath = module.exports.tryGetExecutablePath = module.exports.isRooted = module.exports.isDirectory = module.exports.exists = module.exports.READONLY = module.exports.UV_FS_O_EXLOCK = module.exports.IS_WINDOWS = module.exports.unlink = module.exports.symlink = module.exports.stat = module.exports.rmdir = module.exports.rm = module.exports.rename = module.exports.readlink = module.exports.readdir = module.exports.open = module.exports.mkdir = module.exports.lstat = module.exports.copyFile = module.exports.chmod = void 0;\n\nconst $8df8d6e1c0d055f9$var$fs = $8df8d6e1c0d055f9$var$__importStar($aEsRD$fs);\n\nconst $8df8d6e1c0d055f9$var$path = $8df8d6e1c0d055f9$var$__importStar($aEsRD$path);\n$8df8d6e1c0d055f9$var$_a = $8df8d6e1c0d055f9$var$fs.promises, module.exports.chmod = $8df8d6e1c0d055f9$var$_a.chmod, module.exports.copyFile = $8df8d6e1c0d055f9$var$_a.copyFile, module.exports.lstat = $8df8d6e1c0d055f9$var$_a.lstat, module.exports.mkdir = $8df8d6e1c0d055f9$var$_a.mkdir, module.exports.open = $8df8d6e1c0d055f9$var$_a.open, module.exports.readdir = $8df8d6e1c0d055f9$var$_a.readdir, module.exports.readlink = $8df8d6e1c0d055f9$var$_a.readlink, module.exports.rename = $8df8d6e1c0d055f9$var$_a.rename, module.exports.rm = $8df8d6e1c0d055f9$var$_a.rm, module.exports.rmdir = $8df8d6e1c0d055f9$var$_a.rmdir, module.exports.stat = $8df8d6e1c0d055f9$var$_a.stat, module.exports.symlink = $8df8d6e1c0d055f9$var$_a.symlink, module.exports.unlink = $8df8d6e1c0d055f9$var$_a.unlink;\n// export const {open} = 'fs'\nmodule.exports.IS_WINDOWS = process.platform === \"win32\";\n// See https://github.com/nodejs/node/blob/d0153aee367422d0858105abec186da4dff0a0c5/deps/uv/include/uv/win.h#L691\nmodule.exports.UV_FS_O_EXLOCK = 0x10000000;\nmodule.exports.READONLY = $8df8d6e1c0d055f9$var$fs.constants.O_RDONLY;\nfunction $8df8d6e1c0d055f9$var$exists(fsPath) {\n return $8df8d6e1c0d055f9$var$__awaiter(this, void 0, void 0, function*() {\n try {\n yield module.exports.stat(fsPath);\n } catch (err) {\n if (err.code === \"ENOENT\") return false;\n throw err;\n }\n return true;\n });\n}\nmodule.exports.exists = $8df8d6e1c0d055f9$var$exists;\nfunction $8df8d6e1c0d055f9$var$isDirectory(fsPath, useStat = false) {\n return $8df8d6e1c0d055f9$var$__awaiter(this, void 0, void 0, function*() {\n const stats = useStat ? yield module.exports.stat(fsPath) : yield module.exports.lstat(fsPath);\n return stats.isDirectory();\n });\n}\nmodule.exports.isDirectory = $8df8d6e1c0d055f9$var$isDirectory;\n/**\n * On OSX/Linux, true if path starts with '/'. On Windows, true for paths like:\n * \\, \\hello, \\\\hello\\share, C:, and C:\\hello (and corresponding alternate separator cases).\n */ function $8df8d6e1c0d055f9$var$isRooted(p) {\n p = $8df8d6e1c0d055f9$var$normalizeSeparators(p);\n if (!p) throw new Error('isRooted() parameter \"p\" cannot be empty');\n if (module.exports.IS_WINDOWS) return p.startsWith(\"\\\\\") || /^[A-Z]:/i.test(p) // e.g. \\ or \\hello or \\\\hello\n ; // e.g. C: or C:\\hello\n return p.startsWith(\"/\");\n}\nmodule.exports.isRooted = $8df8d6e1c0d055f9$var$isRooted;\n/**\n * Best effort attempt to determine whether a file exists and is executable.\n * @param filePath file path to check\n * @param extensions additional file extensions to try\n * @return if file exists and is executable, returns the file path. otherwise empty string.\n */ function $8df8d6e1c0d055f9$var$tryGetExecutablePath(filePath, extensions) {\n return $8df8d6e1c0d055f9$var$__awaiter(this, void 0, void 0, function*() {\n let stats = undefined;\n try {\n // test file exists\n stats = yield module.exports.stat(filePath);\n } catch (err) {\n if (err.code !== \"ENOENT\") // eslint-disable-next-line no-console\n console.log(`Unexpected error attempting to determine if executable file exists '${filePath}': ${err}`);\n }\n if (stats && stats.isFile()) {\n if (module.exports.IS_WINDOWS) {\n // on Windows, test for valid extension\n const upperExt = $8df8d6e1c0d055f9$var$path.extname(filePath).toUpperCase();\n if (extensions.some((validExt)=>validExt.toUpperCase() === upperExt)) return filePath;\n } else {\n if ($8df8d6e1c0d055f9$var$isUnixExecutable(stats)) return filePath;\n }\n }\n // try each extension\n const originalFilePath = filePath;\n for (const extension of extensions){\n filePath = originalFilePath + extension;\n stats = undefined;\n try {\n stats = yield module.exports.stat(filePath);\n } catch (err) {\n if (err.code !== \"ENOENT\") // eslint-disable-next-line no-console\n console.log(`Unexpected error attempting to determine if executable file exists '${filePath}': ${err}`);\n }\n if (stats && stats.isFile()) {\n if (module.exports.IS_WINDOWS) {\n // preserve the case of the actual file (since an extension was appended)\n try {\n const directory = $8df8d6e1c0d055f9$var$path.dirname(filePath);\n const upperName = $8df8d6e1c0d055f9$var$path.basename(filePath).toUpperCase();\n for (const actualName of yield module.exports.readdir(directory))if (upperName === actualName.toUpperCase()) {\n filePath = $8df8d6e1c0d055f9$var$path.join(directory, actualName);\n break;\n }\n } catch (err) {\n // eslint-disable-next-line no-console\n console.log(`Unexpected error attempting to determine the actual case of the file '${filePath}': ${err}`);\n }\n return filePath;\n } else {\n if ($8df8d6e1c0d055f9$var$isUnixExecutable(stats)) return filePath;\n }\n }\n }\n return \"\";\n });\n}\nmodule.exports.tryGetExecutablePath = $8df8d6e1c0d055f9$var$tryGetExecutablePath;\nfunction $8df8d6e1c0d055f9$var$normalizeSeparators(p) {\n p = p || \"\";\n if (module.exports.IS_WINDOWS) {\n // convert slashes on Windows\n p = p.replace(/\\//g, \"\\\\\");\n // remove redundant slashes\n return p.replace(/\\\\\\\\+/g, \"\\\\\");\n }\n // remove redundant slashes\n return p.replace(/\\/\\/+/g, \"/\");\n}\n// on Mac/Linux, test the execute bit\n// R W X R W X R W X\n// 256 128 64 32 16 8 4 2 1\nfunction $8df8d6e1c0d055f9$var$isUnixExecutable(stats) {\n return (stats.mode & 1) > 0 || (stats.mode & 8) > 0 && stats.gid === process.getgid() || (stats.mode & 64) > 0 && stats.uid === process.getuid();\n}\n// Get the path of cmd.exe in windows\nfunction $8df8d6e1c0d055f9$var$getCmdPath() {\n var _a;\n return (_a = process.env[\"COMSPEC\"]) !== null && _a !== void 0 ? _a : `cmd.exe`;\n}\nmodule.exports.getCmdPath = $8df8d6e1c0d055f9$var$getCmdPath;\n\n});\n\n\nparcelRequire.register(\"d0IR9\", function(module, exports) {\n\"use strict\";\nvar $978e11fbaaeeeb1a$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $978e11fbaaeeeb1a$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $978e11fbaaeeeb1a$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $978e11fbaaeeeb1a$var$__createBinding(result, mod, k);\n }\n $978e11fbaaeeeb1a$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $978e11fbaaeeeb1a$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports._readLinuxVersionFile = module.exports._getOsVersion = module.exports._findMatch = void 0;\n\nconst $978e11fbaaeeeb1a$var$semver = $978e11fbaaeeeb1a$var$__importStar((parcelRequire(\"8eiWl\")));\n\nvar $i5trn = parcelRequire(\"i5trn\");\n\n\n\nfunction $978e11fbaaeeeb1a$var$_findMatch(versionSpec, stable, candidates, archFilter) {\n return $978e11fbaaeeeb1a$var$__awaiter(this, void 0, void 0, function*() {\n const platFilter = $aEsRD$os.platform();\n let result;\n let match;\n let file;\n for (const candidate of candidates){\n const version = candidate.version;\n $i5trn.debug(`check ${version} satisfies ${versionSpec}`);\n if ($978e11fbaaeeeb1a$var$semver.satisfies(version, versionSpec) && (!stable || candidate.stable === stable)) {\n file = candidate.files.find((item)=>{\n $i5trn.debug(`${item.arch}===${archFilter} && ${item.platform}===${platFilter}`);\n let chk = item.arch === archFilter && item.platform === platFilter;\n if (chk && item.platform_version) {\n const osVersion = module.exports._getOsVersion();\n if (osVersion === item.platform_version) chk = true;\n else chk = $978e11fbaaeeeb1a$var$semver.satisfies(osVersion, item.platform_version);\n }\n return chk;\n });\n if (file) {\n $i5trn.debug(`matched ${candidate.version}`);\n match = candidate;\n break;\n }\n }\n }\n if (match && file) {\n // clone since we're mutating the file list to be only the file that matches\n result = Object.assign({}, match);\n result.files = [\n file\n ];\n }\n return result;\n });\n}\nmodule.exports._findMatch = $978e11fbaaeeeb1a$var$_findMatch;\nfunction $978e11fbaaeeeb1a$var$_getOsVersion() {\n // TODO: add windows and other linux, arm variants\n // right now filtering on version is only an ubuntu and macos scenario for tools we build for hosted (python)\n const plat = $aEsRD$os.platform();\n let version = \"\";\n if (plat === \"darwin\") version = $aEsRD$child_process.execSync(\"sw_vers -productVersion\").toString();\n else if (plat === \"linux\") {\n // lsb_release process not in some containers, readfile\n // Run cat /etc/lsb-release\n // DISTRIB_ID=Ubuntu\n // DISTRIB_RELEASE=18.04\n // DISTRIB_CODENAME=bionic\n // DISTRIB_DESCRIPTION=\"Ubuntu 18.04.4 LTS\"\n const lsbContents = module.exports._readLinuxVersionFile();\n if (lsbContents) {\n const lines = lsbContents.split(\"\\n\");\n for (const line of lines){\n const parts = line.split(\"=\");\n if (parts.length === 2 && (parts[0].trim() === \"VERSION_ID\" || parts[0].trim() === \"DISTRIB_RELEASE\")) {\n version = parts[1].trim().replace(/^\"/, \"\").replace(/\"$/, \"\");\n break;\n }\n }\n }\n }\n return version;\n}\nmodule.exports._getOsVersion = $978e11fbaaeeeb1a$var$_getOsVersion;\nfunction $978e11fbaaeeeb1a$var$_readLinuxVersionFile() {\n const lsbReleaseFile = \"/etc/lsb-release\";\n const osReleaseFile = \"/etc/os-release\";\n let contents = \"\";\n if ($aEsRD$fs.existsSync(lsbReleaseFile)) contents = $aEsRD$fs.readFileSync(lsbReleaseFile).toString();\n else if ($aEsRD$fs.existsSync(osReleaseFile)) contents = $aEsRD$fs.readFileSync(osReleaseFile).toString();\n return contents;\n}\nmodule.exports._readLinuxVersionFile = $978e11fbaaeeeb1a$var$_readLinuxVersionFile;\n\n});\nparcelRequire.register(\"8eiWl\", function(module, exports) {\nexports = module.exports = SemVer;\nvar debug;\n/* istanbul ignore next */ if (typeof process === \"object\" && process.env && process.env.NODE_DEBUG && /\\bsemver\\b/i.test(process.env.NODE_DEBUG)) debug = function() {\n var args = Array.prototype.slice.call(arguments, 0);\n args.unshift(\"SEMVER\");\n console.log.apply(console, args);\n};\nelse debug = function() {};\n// Note: this is the semver.org version of the spec that it implements\n// Not necessarily the package version of this code.\nexports.SEMVER_SPEC_VERSION = \"2.0.0\";\nvar MAX_LENGTH = 256;\nvar MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER || /* istanbul ignore next */ 9007199254740991;\n// Max safe segment length for coercion.\nvar MAX_SAFE_COMPONENT_LENGTH = 16;\nvar MAX_SAFE_BUILD_LENGTH = MAX_LENGTH - 6;\n// The actual regexps go on exports.re\nvar re = exports.re = [];\nvar safeRe = exports.safeRe = [];\nvar src = exports.src = [];\nvar t = exports.tokens = {};\nvar R = 0;\nfunction tok(n) {\n t[n] = R++;\n}\nvar LETTERDASHNUMBER = \"[a-zA-Z0-9-]\";\n// Replace some greedy regex tokens to prevent regex dos issues. These regex are\n// used internally via the safeRe object since all inputs in this library get\n// normalized first to trim and collapse all extra whitespace. The original\n// regexes are exported for userland consumption and lower level usage. A\n// future breaking change could export the safer regex only with a note that\n// all input should have extra whitespace removed.\nvar safeRegexReplacements = [\n [\n \"\\\\s\",\n 1\n ],\n [\n \"\\\\d\",\n MAX_LENGTH\n ],\n [\n LETTERDASHNUMBER,\n MAX_SAFE_BUILD_LENGTH\n ]\n];\nfunction makeSafeRe(value) {\n for(var i = 0; i < safeRegexReplacements.length; i++){\n var token = safeRegexReplacements[i][0];\n var max = safeRegexReplacements[i][1];\n value = value.split(token + \"*\").join(token + \"{0,\" + max + \"}\").split(token + \"+\").join(token + \"{1,\" + max + \"}\");\n }\n return value;\n}\n// The following Regular Expressions can be used for tokenizing,\n// validating, and parsing SemVer version strings.\n// ## Numeric Identifier\n// A single `0`, or a non-zero digit followed by zero or more digits.\ntok(\"NUMERICIDENTIFIER\");\nsrc[t.NUMERICIDENTIFIER] = \"0|[1-9]\\\\d*\";\ntok(\"NUMERICIDENTIFIERLOOSE\");\nsrc[t.NUMERICIDENTIFIERLOOSE] = \"\\\\d+\";\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.\ntok(\"NONNUMERICIDENTIFIER\");\nsrc[t.NONNUMERICIDENTIFIER] = \"\\\\d*[a-zA-Z-]\" + LETTERDASHNUMBER + \"*\";\n// ## Main Version\n// Three dot-separated numeric identifiers.\ntok(\"MAINVERSION\");\nsrc[t.MAINVERSION] = \"(\" + src[t.NUMERICIDENTIFIER] + \")\\\\.\" + \"(\" + src[t.NUMERICIDENTIFIER] + \")\\\\.\" + \"(\" + src[t.NUMERICIDENTIFIER] + \")\";\ntok(\"MAINVERSIONLOOSE\");\nsrc[t.MAINVERSIONLOOSE] = \"(\" + src[t.NUMERICIDENTIFIERLOOSE] + \")\\\\.\" + \"(\" + src[t.NUMERICIDENTIFIERLOOSE] + \")\\\\.\" + \"(\" + src[t.NUMERICIDENTIFIERLOOSE] + \")\";\n// ## Pre-release Version Identifier\n// A numeric identifier, or a non-numeric identifier.\ntok(\"PRERELEASEIDENTIFIER\");\nsrc[t.PRERELEASEIDENTIFIER] = \"(?:\" + src[t.NUMERICIDENTIFIER] + \"|\" + src[t.NONNUMERICIDENTIFIER] + \")\";\ntok(\"PRERELEASEIDENTIFIERLOOSE\");\nsrc[t.PRERELEASEIDENTIFIERLOOSE] = \"(?:\" + src[t.NUMERICIDENTIFIERLOOSE] + \"|\" + src[t.NONNUMERICIDENTIFIER] + \")\";\n// ## Pre-release Version\n// Hyphen, followed by one or more dot-separated pre-release version\n// identifiers.\ntok(\"PRERELEASE\");\nsrc[t.PRERELEASE] = \"(?:-(\" + src[t.PRERELEASEIDENTIFIER] + \"(?:\\\\.\" + src[t.PRERELEASEIDENTIFIER] + \")*))\";\ntok(\"PRERELEASELOOSE\");\nsrc[t.PRERELEASELOOSE] = \"(?:-?(\" + src[t.PRERELEASEIDENTIFIERLOOSE] + \"(?:\\\\.\" + src[t.PRERELEASEIDENTIFIERLOOSE] + \")*))\";\n// ## Build Metadata Identifier\n// Any combination of digits, letters, or hyphens.\ntok(\"BUILDIDENTIFIER\");\nsrc[t.BUILDIDENTIFIER] = LETTERDASHNUMBER + \"+\";\n// ## Build Metadata\n// Plus sign, followed by one or more period-separated build metadata\n// identifiers.\ntok(\"BUILD\");\nsrc[t.BUILD] = \"(?:\\\\+(\" + src[t.BUILDIDENTIFIER] + \"(?:\\\\.\" + src[t.BUILDIDENTIFIER] + \")*))\";\n// ## Full Version String\n// A main version, followed optionally by a pre-release version and\n// build metadata.\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.\ntok(\"FULL\");\ntok(\"FULLPLAIN\");\nsrc[t.FULLPLAIN] = \"v?\" + src[t.MAINVERSION] + src[t.PRERELEASE] + \"?\" + src[t.BUILD] + \"?\";\nsrc[t.FULL] = \"^\" + src[t.FULLPLAIN] + \"$\";\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.\ntok(\"LOOSEPLAIN\");\nsrc[t.LOOSEPLAIN] = \"[v=\\\\s]*\" + src[t.MAINVERSIONLOOSE] + src[t.PRERELEASELOOSE] + \"?\" + src[t.BUILD] + \"?\";\ntok(\"LOOSE\");\nsrc[t.LOOSE] = \"^\" + src[t.LOOSEPLAIN] + \"$\";\ntok(\"GTLT\");\nsrc[t.GTLT] = \"((?:<|>)?=?)\";\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.\ntok(\"XRANGEIDENTIFIERLOOSE\");\nsrc[t.XRANGEIDENTIFIERLOOSE] = src[t.NUMERICIDENTIFIERLOOSE] + \"|x|X|\\\\*\";\ntok(\"XRANGEIDENTIFIER\");\nsrc[t.XRANGEIDENTIFIER] = src[t.NUMERICIDENTIFIER] + \"|x|X|\\\\*\";\ntok(\"XRANGEPLAIN\");\nsrc[t.XRANGEPLAIN] = \"[v=\\\\s]*(\" + src[t.XRANGEIDENTIFIER] + \")\" + \"(?:\\\\.(\" + src[t.XRANGEIDENTIFIER] + \")\" + \"(?:\\\\.(\" + src[t.XRANGEIDENTIFIER] + \")\" + \"(?:\" + src[t.PRERELEASE] + \")?\" + src[t.BUILD] + \"?\" + \")?)?\";\ntok(\"XRANGEPLAINLOOSE\");\nsrc[t.XRANGEPLAINLOOSE] = \"[v=\\\\s]*(\" + src[t.XRANGEIDENTIFIERLOOSE] + \")\" + \"(?:\\\\.(\" + src[t.XRANGEIDENTIFIERLOOSE] + \")\" + \"(?:\\\\.(\" + src[t.XRANGEIDENTIFIERLOOSE] + \")\" + \"(?:\" + src[t.PRERELEASELOOSE] + \")?\" + src[t.BUILD] + \"?\" + \")?)?\";\ntok(\"XRANGE\");\nsrc[t.XRANGE] = \"^\" + src[t.GTLT] + \"\\\\s*\" + src[t.XRANGEPLAIN] + \"$\";\ntok(\"XRANGELOOSE\");\nsrc[t.XRANGELOOSE] = \"^\" + src[t.GTLT] + \"\\\\s*\" + src[t.XRANGEPLAINLOOSE] + \"$\";\n// Coercion.\n// Extract anything that could conceivably be a part of a valid semver\ntok(\"COERCE\");\nsrc[t.COERCE] = \"(^|[^\\\\d])(\\\\d{1,\" + MAX_SAFE_COMPONENT_LENGTH + \"})\" + \"(?:\\\\.(\\\\d{1,\" + MAX_SAFE_COMPONENT_LENGTH + \"}))?\" + \"(?:\\\\.(\\\\d{1,\" + MAX_SAFE_COMPONENT_LENGTH + \"}))?\" + \"(?:$|[^\\\\d])\";\ntok(\"COERCERTL\");\nre[t.COERCERTL] = new RegExp(src[t.COERCE], \"g\");\nsafeRe[t.COERCERTL] = new RegExp(makeSafeRe(src[t.COERCE]), \"g\");\n// Tilde ranges.\n// Meaning is \"reasonably at or greater than\"\ntok(\"LONETILDE\");\nsrc[t.LONETILDE] = \"(?:~>?)\";\ntok(\"TILDETRIM\");\nsrc[t.TILDETRIM] = \"(\\\\s*)\" + src[t.LONETILDE] + \"\\\\s+\";\nre[t.TILDETRIM] = new RegExp(src[t.TILDETRIM], \"g\");\nsafeRe[t.TILDETRIM] = new RegExp(makeSafeRe(src[t.TILDETRIM]), \"g\");\nvar tildeTrimReplace = \"$1~\";\ntok(\"TILDE\");\nsrc[t.TILDE] = \"^\" + src[t.LONETILDE] + src[t.XRANGEPLAIN] + \"$\";\ntok(\"TILDELOOSE\");\nsrc[t.TILDELOOSE] = \"^\" + src[t.LONETILDE] + src[t.XRANGEPLAINLOOSE] + \"$\";\n// Caret ranges.\n// Meaning is \"at least and backwards compatible with\"\ntok(\"LONECARET\");\nsrc[t.LONECARET] = \"(?:\\\\^)\";\ntok(\"CARETTRIM\");\nsrc[t.CARETTRIM] = \"(\\\\s*)\" + src[t.LONECARET] + \"\\\\s+\";\nre[t.CARETTRIM] = new RegExp(src[t.CARETTRIM], \"g\");\nsafeRe[t.CARETTRIM] = new RegExp(makeSafeRe(src[t.CARETTRIM]), \"g\");\nvar caretTrimReplace = \"$1^\";\ntok(\"CARET\");\nsrc[t.CARET] = \"^\" + src[t.LONECARET] + src[t.XRANGEPLAIN] + \"$\";\ntok(\"CARETLOOSE\");\nsrc[t.CARETLOOSE] = \"^\" + src[t.LONECARET] + src[t.XRANGEPLAINLOOSE] + \"$\";\n// A simple gt/lt/eq thing, or just \"\" to indicate \"any version\"\ntok(\"COMPARATORLOOSE\");\nsrc[t.COMPARATORLOOSE] = \"^\" + src[t.GTLT] + \"\\\\s*(\" + src[t.LOOSEPLAIN] + \")$|^$\";\ntok(\"COMPARATOR\");\nsrc[t.COMPARATOR] = \"^\" + src[t.GTLT] + \"\\\\s*(\" + src[t.FULLPLAIN] + \")$|^$\";\n// An expression to strip any whitespace between the gtlt and the thing\n// it modifies, so that `> 1.2.3` ==> `>1.2.3`\ntok(\"COMPARATORTRIM\");\nsrc[t.COMPARATORTRIM] = \"(\\\\s*)\" + src[t.GTLT] + \"\\\\s*(\" + src[t.LOOSEPLAIN] + \"|\" + src[t.XRANGEPLAIN] + \")\";\n// this one has to use the /g flag\nre[t.COMPARATORTRIM] = new RegExp(src[t.COMPARATORTRIM], \"g\");\nsafeRe[t.COMPARATORTRIM] = new RegExp(makeSafeRe(src[t.COMPARATORTRIM]), \"g\");\nvar comparatorTrimReplace = \"$1$2$3\";\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.\ntok(\"HYPHENRANGE\");\nsrc[t.HYPHENRANGE] = \"^\\\\s*(\" + src[t.XRANGEPLAIN] + \")\" + \"\\\\s+-\\\\s+\" + \"(\" + src[t.XRANGEPLAIN] + \")\" + \"\\\\s*$\";\ntok(\"HYPHENRANGELOOSE\");\nsrc[t.HYPHENRANGELOOSE] = \"^\\\\s*(\" + src[t.XRANGEPLAINLOOSE] + \")\" + \"\\\\s+-\\\\s+\" + \"(\" + src[t.XRANGEPLAINLOOSE] + \")\" + \"\\\\s*$\";\n// Star ranges basically just allow anything at all.\ntok(\"STAR\");\nsrc[t.STAR] = \"(<|>)?=?\\\\s*\\\\*\";\n// Compile to actual regexp objects.\n// All are flag-free, unless they were created above with a flag.\nfor(var i = 0; i < R; i++){\n debug(i, src[i]);\n if (!re[i]) {\n re[i] = new RegExp(src[i]);\n // Replace all greedy whitespace to prevent regex dos issues. These regex are\n // used internally via the safeRe object since all inputs in this library get\n // normalized first to trim and collapse all extra whitespace. The original\n // regexes are exported for userland consumption and lower level usage. A\n // future breaking change could export the safer regex only with a note that\n // all input should have extra whitespace removed.\n safeRe[i] = new RegExp(makeSafeRe(src[i]));\n }\n}\nexports.parse = parse;\nfunction parse(version, options) {\n if (!options || typeof options !== \"object\") options = {\n loose: !!options,\n includePrerelease: false\n };\n if (version instanceof SemVer) return version;\n if (typeof version !== \"string\") return null;\n if (version.length > MAX_LENGTH) return null;\n var r = options.loose ? safeRe[t.LOOSE] : safeRe[t.FULL];\n if (!r.test(version)) return null;\n try {\n return new SemVer(version, options);\n } catch (er) {\n return null;\n }\n}\nexports.valid = valid;\nfunction valid(version, options) {\n var v = parse(version, options);\n return v ? v.version : null;\n}\nexports.clean = clean;\nfunction clean(version, options) {\n var s = parse(version.trim().replace(/^[=v]+/, \"\"), options);\n return s ? s.version : null;\n}\nexports.SemVer = SemVer;\nfunction SemVer(version, options) {\n if (!options || typeof options !== \"object\") options = {\n loose: !!options,\n includePrerelease: false\n };\n if (version instanceof SemVer) {\n if (version.loose === options.loose) return version;\n else version = version.version;\n } else if (typeof version !== \"string\") throw new TypeError(\"Invalid Version: \" + version);\n if (version.length > MAX_LENGTH) throw new TypeError(\"version is longer than \" + MAX_LENGTH + \" characters\");\n if (!(this instanceof SemVer)) return new SemVer(version, options);\n debug(\"SemVer\", version, options);\n this.options = options;\n this.loose = !!options.loose;\n var m = version.trim().match(options.loose ? safeRe[t.LOOSE] : safeRe[t.FULL]);\n if (!m) throw new TypeError(\"Invalid Version: \" + version);\n this.raw = version;\n // these are actually numbers\n this.major = +m[1];\n this.minor = +m[2];\n this.patch = +m[3];\n if (this.major > MAX_SAFE_INTEGER || this.major < 0) throw new TypeError(\"Invalid major version\");\n if (this.minor > MAX_SAFE_INTEGER || this.minor < 0) throw new TypeError(\"Invalid minor version\");\n if (this.patch > MAX_SAFE_INTEGER || this.patch < 0) throw new TypeError(\"Invalid patch version\");\n // numberify any prerelease numeric ids\n if (!m[4]) this.prerelease = [];\n else this.prerelease = m[4].split(\".\").map(function(id) {\n if (/^[0-9]+$/.test(id)) {\n var num = +id;\n if (num >= 0 && num < MAX_SAFE_INTEGER) return num;\n }\n return id;\n });\n this.build = m[5] ? m[5].split(\".\") : [];\n this.format();\n}\nSemVer.prototype.format = function() {\n this.version = this.major + \".\" + this.minor + \".\" + this.patch;\n if (this.prerelease.length) this.version += \"-\" + this.prerelease.join(\".\");\n return this.version;\n};\nSemVer.prototype.toString = function() {\n return this.version;\n};\nSemVer.prototype.compare = function(other) {\n debug(\"SemVer.compare\", this.version, this.options, other);\n if (!(other instanceof SemVer)) other = new SemVer(other, this.options);\n return this.compareMain(other) || this.comparePre(other);\n};\nSemVer.prototype.compareMain = function(other) {\n if (!(other instanceof SemVer)) other = new SemVer(other, this.options);\n return compareIdentifiers(this.major, other.major) || compareIdentifiers(this.minor, other.minor) || compareIdentifiers(this.patch, other.patch);\n};\nSemVer.prototype.comparePre = function(other) {\n if (!(other instanceof SemVer)) other = new SemVer(other, this.options);\n // NOT having a prerelease is > having one\n if (this.prerelease.length && !other.prerelease.length) return -1;\n else if (!this.prerelease.length && other.prerelease.length) return 1;\n else if (!this.prerelease.length && !other.prerelease.length) return 0;\n var i = 0;\n do {\n var a = this.prerelease[i];\n var b = other.prerelease[i];\n debug(\"prerelease compare\", i, a, b);\n if (a === undefined && b === undefined) return 0;\n else if (b === undefined) return 1;\n else if (a === undefined) return -1;\n else if (a === b) continue;\n else return compareIdentifiers(a, b);\n }while (++i);\n};\nSemVer.prototype.compareBuild = function(other) {\n if (!(other instanceof SemVer)) other = new SemVer(other, this.options);\n var i = 0;\n do {\n var a = this.build[i];\n var b = other.build[i];\n debug(\"prerelease compare\", i, a, b);\n if (a === undefined && b === undefined) return 0;\n else if (b === undefined) return 1;\n else if (a === undefined) return -1;\n else if (a === b) continue;\n else return compareIdentifiers(a, b);\n }while (++i);\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.\nSemVer.prototype.inc = function(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) this.inc(\"patch\", identifier);\n this.inc(\"pre\", identifier);\n break;\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 (this.minor !== 0 || this.patch !== 0 || this.prerelease.length === 0) this.major++;\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) this.minor++;\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) this.patch++;\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) this.prerelease = [\n 0\n ];\n else {\n var i = this.prerelease.length;\n while(--i >= 0)if (typeof this.prerelease[i] === \"number\") {\n this.prerelease[i]++;\n i = -2;\n }\n if (i === -1) // didn't increment anything\n this.prerelease.push(0);\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 (this.prerelease[0] === identifier) {\n if (isNaN(this.prerelease[1])) this.prerelease = [\n identifier,\n 0\n ];\n } else this.prerelease = [\n identifier,\n 0\n ];\n }\n break;\n default:\n throw new Error(\"invalid increment argument: \" + release);\n }\n this.format();\n this.raw = this.version;\n return this;\n};\nexports.inc = inc;\nfunction inc(version, release, loose, identifier) {\n if (typeof loose === \"string\") {\n identifier = loose;\n loose = undefined;\n }\n try {\n return new SemVer(version, loose).inc(release, identifier).version;\n } catch (er) {\n return null;\n }\n}\nexports.diff = diff;\nfunction diff(version1, version2) {\n if (eq(version1, version2)) return null;\n else {\n var v1 = parse(version1);\n var v2 = parse(version2);\n var prefix = \"\";\n if (v1.prerelease.length || v2.prerelease.length) {\n prefix = \"pre\";\n var defaultResult = \"prerelease\";\n }\n for(var key in v1)if (key === \"major\" || key === \"minor\" || key === \"patch\") {\n if (v1[key] !== v2[key]) return prefix + key;\n }\n return defaultResult // may be undefined\n ;\n }\n}\nexports.compareIdentifiers = compareIdentifiers;\nvar numeric = /^[0-9]+$/;\nfunction compareIdentifiers(a, b) {\n var anum = numeric.test(a);\n var bnum = numeric.test(b);\n if (anum && bnum) {\n a = +a;\n b = +b;\n }\n return a === b ? 0 : anum && !bnum ? -1 : bnum && !anum ? 1 : a < b ? -1 : 1;\n}\nexports.rcompareIdentifiers = rcompareIdentifiers;\nfunction rcompareIdentifiers(a, b) {\n return compareIdentifiers(b, a);\n}\nexports.major = major;\nfunction major(a, loose) {\n return new SemVer(a, loose).major;\n}\nexports.minor = minor;\nfunction minor(a, loose) {\n return new SemVer(a, loose).minor;\n}\nexports.patch = patch;\nfunction patch(a, loose) {\n return new SemVer(a, loose).patch;\n}\nexports.compare = compare;\nfunction compare(a, b, loose) {\n return new SemVer(a, loose).compare(new SemVer(b, loose));\n}\nexports.compareLoose = compareLoose;\nfunction compareLoose(a, b) {\n return compare(a, b, true);\n}\nexports.compareBuild = compareBuild;\nfunction compareBuild(a, b, loose) {\n var versionA = new SemVer(a, loose);\n var versionB = new SemVer(b, loose);\n return versionA.compare(versionB) || versionA.compareBuild(versionB);\n}\nexports.rcompare = rcompare;\nfunction rcompare(a, b, loose) {\n return compare(b, a, loose);\n}\nexports.sort = sort;\nfunction sort(list, loose) {\n return list.sort(function(a, b) {\n return exports.compareBuild(a, b, loose);\n });\n}\nexports.rsort = rsort;\nfunction rsort(list, loose) {\n return list.sort(function(a, b) {\n return exports.compareBuild(b, a, loose);\n });\n}\nexports.gt = gt;\nfunction gt(a, b, loose) {\n return compare(a, b, loose) > 0;\n}\nexports.lt = lt;\nfunction lt(a, b, loose) {\n return compare(a, b, loose) < 0;\n}\nexports.eq = eq;\nfunction eq(a, b, loose) {\n return compare(a, b, loose) === 0;\n}\nexports.neq = neq;\nfunction neq(a, b, loose) {\n return compare(a, b, loose) !== 0;\n}\nexports.gte = gte;\nfunction gte(a, b, loose) {\n return compare(a, b, loose) >= 0;\n}\nexports.lte = lte;\nfunction lte(a, b, loose) {\n return compare(a, b, loose) <= 0;\n}\nexports.cmp = cmp;\nfunction cmp(a, op, b, loose) {\n switch(op){\n case \"===\":\n if (typeof a === \"object\") a = a.version;\n if (typeof b === \"object\") b = b.version;\n return a === b;\n case \"!==\":\n if (typeof a === \"object\") a = a.version;\n if (typeof b === \"object\") b = b.version;\n return a !== b;\n case \"\":\n case \"=\":\n case \"==\":\n return eq(a, b, loose);\n case \"!=\":\n return neq(a, b, loose);\n case \">\":\n return gt(a, b, loose);\n case \">=\":\n return gte(a, b, loose);\n case \"<\":\n return lt(a, b, loose);\n case \"<=\":\n return lte(a, b, loose);\n default:\n throw new TypeError(\"Invalid operator: \" + op);\n }\n}\nexports.Comparator = Comparator;\nfunction Comparator(comp, options) {\n if (!options || typeof options !== \"object\") options = {\n loose: !!options,\n includePrerelease: false\n };\n if (comp instanceof Comparator) {\n if (comp.loose === !!options.loose) return comp;\n else comp = comp.value;\n }\n if (!(this instanceof Comparator)) return new Comparator(comp, options);\n comp = comp.trim().split(/\\s+/).join(\" \");\n debug(\"comparator\", comp, options);\n this.options = options;\n this.loose = !!options.loose;\n this.parse(comp);\n if (this.semver === ANY) this.value = \"\";\n else this.value = this.operator + this.semver.version;\n debug(\"comp\", this);\n}\nvar ANY = {};\nComparator.prototype.parse = function(comp) {\n var r = this.options.loose ? safeRe[t.COMPARATORLOOSE] : safeRe[t.COMPARATOR];\n var m = comp.match(r);\n if (!m) throw new TypeError(\"Invalid comparator: \" + comp);\n this.operator = m[1] !== undefined ? m[1] : \"\";\n if (this.operator === \"=\") this.operator = \"\";\n // if it literally is just '>' or '' then allow anything.\n if (!m[2]) this.semver = ANY;\n else this.semver = new SemVer(m[2], this.options.loose);\n};\nComparator.prototype.toString = function() {\n return this.value;\n};\nComparator.prototype.test = function(version) {\n debug(\"Comparator.test\", version, this.options.loose);\n if (this.semver === ANY || version === ANY) return true;\n if (typeof version === \"string\") try {\n version = new SemVer(version, this.options);\n } catch (er) {\n return false;\n }\n return cmp(version, this.operator, this.semver, this.options);\n};\nComparator.prototype.intersects = function(comp, options) {\n if (!(comp instanceof Comparator)) throw new TypeError(\"a Comparator is required\");\n if (!options || typeof options !== \"object\") options = {\n loose: !!options,\n includePrerelease: false\n };\n var rangeTmp;\n if (this.operator === \"\") {\n if (this.value === \"\") return true;\n rangeTmp = new Range(comp.value, options);\n return satisfies(this.value, rangeTmp, options);\n } else if (comp.operator === \"\") {\n if (comp.value === \"\") return true;\n rangeTmp = new Range(this.value, options);\n return satisfies(comp.semver, rangeTmp, options);\n }\n var sameDirectionIncreasing = (this.operator === \">=\" || this.operator === \">\") && (comp.operator === \">=\" || comp.operator === \">\");\n var sameDirectionDecreasing = (this.operator === \"<=\" || this.operator === \"<\") && (comp.operator === \"<=\" || comp.operator === \"<\");\n var sameSemVer = this.semver.version === comp.semver.version;\n var differentDirectionsInclusive = (this.operator === \">=\" || this.operator === \"<=\") && (comp.operator === \">=\" || comp.operator === \"<=\");\n var oppositeDirectionsLessThan = cmp(this.semver, \"<\", comp.semver, options) && (this.operator === \">=\" || this.operator === \">\") && (comp.operator === \"<=\" || comp.operator === \"<\");\n var oppositeDirectionsGreaterThan = cmp(this.semver, \">\", comp.semver, options) && (this.operator === \"<=\" || this.operator === \"<\") && (comp.operator === \">=\" || comp.operator === \">\");\n return sameDirectionIncreasing || sameDirectionDecreasing || sameSemVer && differentDirectionsInclusive || oppositeDirectionsLessThan || oppositeDirectionsGreaterThan;\n};\nexports.Range = Range;\nfunction Range(range, options) {\n if (!options || typeof options !== \"object\") options = {\n loose: !!options,\n includePrerelease: false\n };\n if (range instanceof Range) {\n if (range.loose === !!options.loose && range.includePrerelease === !!options.includePrerelease) return range;\n else return new Range(range.raw, options);\n }\n if (range instanceof Comparator) return new Range(range.value, options);\n if (!(this instanceof Range)) return new Range(range, options);\n this.options = options;\n this.loose = !!options.loose;\n this.includePrerelease = !!options.includePrerelease;\n // First reduce all whitespace as much as possible so we do not have to rely\n // on potentially slow regexes like \\s*. This is then stored and used for\n // future error messages as well.\n this.raw = range.trim().split(/\\s+/).join(\" \");\n // First, split based on boolean or ||\n this.set = this.raw.split(\"||\").map(function(range) {\n return this.parseRange(range.trim());\n }, this).filter(function(c) {\n // throw out any that are not relevant for whatever reason\n return c.length;\n });\n if (!this.set.length) throw new TypeError(\"Invalid SemVer Range: \" + this.raw);\n this.format();\n}\nRange.prototype.format = function() {\n this.range = this.set.map(function(comps) {\n return comps.join(\" \").trim();\n }).join(\"||\").trim();\n return this.range;\n};\nRange.prototype.toString = function() {\n return this.range;\n};\nRange.prototype.parseRange = function(range) {\n var loose = this.options.loose;\n // `1.2.3 - 1.2.4` => `>=1.2.3 <=1.2.4`\n var hr = loose ? safeRe[t.HYPHENRANGELOOSE] : safeRe[t.HYPHENRANGE];\n range = range.replace(hr, hyphenReplace);\n debug(\"hyphen replace\", range);\n // `> 1.2.3 < 1.2.5` => `>1.2.3 <1.2.5`\n range = range.replace(safeRe[t.COMPARATORTRIM], comparatorTrimReplace);\n debug(\"comparator trim\", range, safeRe[t.COMPARATORTRIM]);\n // `~ 1.2.3` => `~1.2.3`\n range = range.replace(safeRe[t.TILDETRIM], tildeTrimReplace);\n // `^ 1.2.3` => `^1.2.3`\n range = range.replace(safeRe[t.CARETTRIM], caretTrimReplace);\n // normalize spaces\n range = range.split(/\\s+/).join(\" \");\n // At this point, the range is completely trimmed and\n // ready to be split into comparators.\n var compRe = loose ? safeRe[t.COMPARATORLOOSE] : safeRe[t.COMPARATOR];\n var set = range.split(\" \").map(function(comp) {\n return parseComparator(comp, this.options);\n }, this).join(\" \").split(/\\s+/);\n if (this.options.loose) // in loose mode, throw out any that are not valid comparators\n set = set.filter(function(comp) {\n return !!comp.match(compRe);\n });\n set = set.map(function(comp) {\n return new Comparator(comp, this.options);\n }, this);\n return set;\n};\nRange.prototype.intersects = function(range, options) {\n if (!(range instanceof Range)) throw new TypeError(\"a Range is required\");\n return this.set.some(function(thisComparators) {\n return isSatisfiable(thisComparators, options) && range.set.some(function(rangeComparators) {\n return isSatisfiable(rangeComparators, options) && thisComparators.every(function(thisComparator) {\n return rangeComparators.every(function(rangeComparator) {\n return thisComparator.intersects(rangeComparator, options);\n });\n });\n });\n });\n};\n// take a set of comparators and determine whether there\n// exists a version which can satisfy it\nfunction isSatisfiable(comparators, options) {\n var result = true;\n var remainingComparators = comparators.slice();\n var testComparator = remainingComparators.pop();\n while(result && remainingComparators.length){\n result = remainingComparators.every(function(otherComparator) {\n return testComparator.intersects(otherComparator, options);\n });\n testComparator = remainingComparators.pop();\n }\n return result;\n}\n// Mostly just for testing and legacy API reasons\nexports.toComparators = toComparators;\nfunction toComparators(range, options) {\n return new Range(range, options).set.map(function(comp) {\n return comp.map(function(c) {\n return c.value;\n }).join(\" \").trim().split(\" \");\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.\nfunction 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}\nfunction isX(id) {\n return !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\n// ~2.0, ~2.0.x, ~>2.0, ~>2.0.x --> >=2.0.0 <2.1.0\n// ~1.2, ~1.2.x, ~>1.2, ~>1.2.x --> >=1.2.0 <1.3.0\n// ~1.2.3, ~>1.2.3 --> >=1.2.3 <1.3.0\n// ~1.2.0, ~>1.2.0 --> >=1.2.0 <1.3.0\nfunction replaceTildes(comp, options) {\n return comp.trim().split(/\\s+/).map(function(comp) {\n return replaceTilde(comp, options);\n }).join(\" \");\n}\nfunction replaceTilde(comp, options) {\n var r = options.loose ? safeRe[t.TILDELOOSE] : safeRe[t.TILDE];\n return comp.replace(r, function(_, M, m, p, pr) {\n debug(\"tilde\", comp, _, M, m, p, pr);\n var ret;\n if (isX(M)) ret = \"\";\n else if (isX(m)) ret = \">=\" + M + \".0.0 <\" + (+M + 1) + \".0.0\";\n else if (isX(p)) // ~1.2 == >=1.2.0 <1.3.0\n ret = \">=\" + M + \".\" + m + \".0 <\" + M + \".\" + (+m + 1) + \".0\";\n else if (pr) {\n debug(\"replaceTilde pr\", pr);\n ret = \">=\" + M + \".\" + m + \".\" + p + \"-\" + pr + \" <\" + M + \".\" + (+m + 1) + \".0\";\n } else // ~1.2.3 == >=1.2.3 <1.3.0\n ret = \">=\" + M + \".\" + m + \".\" + p + \" <\" + M + \".\" + (+m + 1) + \".0\";\n debug(\"tilde return\", ret);\n return ret;\n });\n}\n// ^ --> * (any, kinda silly)\n// ^2, ^2.x, ^2.x.x --> >=2.0.0 <3.0.0\n// ^2.0, ^2.0.x --> >=2.0.0 <3.0.0\n// ^1.2, ^1.2.x --> >=1.2.0 <2.0.0\n// ^1.2.3 --> >=1.2.3 <2.0.0\n// ^1.2.0 --> >=1.2.0 <2.0.0\nfunction replaceCarets(comp, options) {\n return comp.trim().split(/\\s+/).map(function(comp) {\n return replaceCaret(comp, options);\n }).join(\" \");\n}\nfunction replaceCaret(comp, options) {\n debug(\"caret\", comp, options);\n var r = options.loose ? safeRe[t.CARETLOOSE] : safeRe[t.CARET];\n return comp.replace(r, function(_, M, m, p, pr) {\n debug(\"caret\", comp, _, M, m, p, pr);\n var ret;\n if (isX(M)) ret = \"\";\n else if (isX(m)) ret = \">=\" + M + \".0.0 <\" + (+M + 1) + \".0.0\";\n else if (isX(p)) {\n if (M === \"0\") ret = \">=\" + M + \".\" + m + \".0 <\" + M + \".\" + (+m + 1) + \".0\";\n else ret = \">=\" + M + \".\" + m + \".0 <\" + (+M + 1) + \".0.0\";\n } else if (pr) {\n debug(\"replaceCaret pr\", pr);\n if (M === \"0\") {\n if (m === \"0\") ret = \">=\" + M + \".\" + m + \".\" + p + \"-\" + pr + \" <\" + M + \".\" + m + \".\" + (+p + 1);\n else ret = \">=\" + M + \".\" + m + \".\" + p + \"-\" + pr + \" <\" + M + \".\" + (+m + 1) + \".0\";\n } else ret = \">=\" + M + \".\" + m + \".\" + p + \"-\" + pr + \" <\" + (+M + 1) + \".0.0\";\n } else {\n debug(\"no pr\");\n if (M === \"0\") {\n if (m === \"0\") ret = \">=\" + M + \".\" + m + \".\" + p + \" <\" + M + \".\" + m + \".\" + (+p + 1);\n else ret = \">=\" + M + \".\" + m + \".\" + p + \" <\" + M + \".\" + (+m + 1) + \".0\";\n } else ret = \">=\" + M + \".\" + m + \".\" + p + \" <\" + (+M + 1) + \".0.0\";\n }\n debug(\"caret return\", ret);\n return ret;\n });\n}\nfunction replaceXRanges(comp, options) {\n debug(\"replaceXRanges\", comp, options);\n return comp.split(/\\s+/).map(function(comp) {\n return replaceXRange(comp, options);\n }).join(\" \");\n}\nfunction replaceXRange(comp, options) {\n comp = comp.trim();\n var r = options.loose ? safeRe[t.XRANGELOOSE] : safeRe[t.XRANGE];\n return comp.replace(r, function(ret, gtlt, M, m, p, pr) {\n debug(\"xRange\", comp, ret, gtlt, M, m, p, pr);\n var xM = isX(M);\n var xm = xM || isX(m);\n var xp = xm || isX(p);\n var anyX = xp;\n if (gtlt === \"=\" && anyX) gtlt = \"\";\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 if (xM) {\n if (gtlt === \">\" || gtlt === \"<\") // nothing is allowed\n ret = \"<0.0.0-0\";\n else // nothing is forbidden\n ret = \"*\";\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) m = 0;\n p = 0;\n if (gtlt === \">\") {\n // >1 => >=2.0.0\n // >1.2 => >=1.3.0\n // >1.2.3 => >= 1.2.4\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) M = +M + 1;\n else m = +m + 1;\n }\n ret = gtlt + M + \".\" + m + \".\" + p + pr;\n } else if (xm) ret = \">=\" + M + \".0.0\" + pr + \" <\" + (+M + 1) + \".0.0\" + pr;\n else if (xp) ret = \">=\" + M + \".\" + m + \".0\" + pr + \" <\" + M + \".\" + (+m + 1) + \".0\" + pr;\n debug(\"xRange return\", ret);\n return ret;\n });\n}\n// Because * is AND-ed with everything else in the comparator,\n// and '' means \"any version\", just remove the *s entirely.\nfunction 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(safeRe[t.STAR], \"\");\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 Any 3.4.x will do\n// 1.2 - 3.4 => >=1.2.0 <3.5.0\nfunction hyphenReplace($0, from, fM, fm, fp, fpr, fb, to, tM, tm, tp, tpr, tb) {\n if (isX(fM)) from = \"\";\n else if (isX(fm)) from = \">=\" + fM + \".0.0\";\n else if (isX(fp)) from = \">=\" + fM + \".\" + fm + \".0\";\n else from = \">=\" + from;\n if (isX(tM)) to = \"\";\n else if (isX(tm)) to = \"<\" + (+tM + 1) + \".0.0\";\n else if (isX(tp)) to = \"<\" + tM + \".\" + (+tm + 1) + \".0\";\n else if (tpr) to = \"<=\" + tM + \".\" + tm + \".\" + tp + \"-\" + tpr;\n else to = \"<=\" + to;\n return (from + \" \" + to).trim();\n}\n// if ANY of the sets match ALL of its comparators, then pass\nRange.prototype.test = function(version) {\n if (!version) return false;\n if (typeof version === \"string\") try {\n version = new SemVer(version, this.options);\n } catch (er) {\n return false;\n }\n for(var i = 0; i < this.set.length; i++){\n if (testSet(this.set[i], version, this.options)) return true;\n }\n return false;\n};\nfunction testSet(set, version, options) {\n for(var i = 0; i < set.length; i++){\n if (!set[i].test(version)) return false;\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(i = 0; i < set.length; i++){\n debug(set[i].semver);\n if (set[i].semver === ANY) continue;\n if (set[i].semver.prerelease.length > 0) {\n var allowed = set[i].semver;\n if (allowed.major === version.major && allowed.minor === version.minor && allowed.patch === version.patch) return true;\n }\n }\n // Version has a -pre, but it's not one of the ones we like.\n return false;\n }\n return true;\n}\nexports.satisfies = satisfies;\nfunction 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}\nexports.maxSatisfying = maxSatisfying;\nfunction maxSatisfying(versions, range, options) {\n var max = null;\n var maxSV = null;\n try {\n var rangeObj = new Range(range, options);\n } catch (er) {\n return null;\n }\n versions.forEach(function(v) {\n if (rangeObj.test(v)) // satisfies(v, range, options)\n {\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}\nexports.minSatisfying = minSatisfying;\nfunction minSatisfying(versions, range, options) {\n var min = null;\n var minSV = null;\n try {\n var rangeObj = new Range(range, options);\n } catch (er) {\n return null;\n }\n versions.forEach(function(v) {\n if (rangeObj.test(v)) // satisfies(v, range, options)\n {\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}\nexports.minVersion = minVersion;\nfunction minVersion(range, loose) {\n range = new Range(range, loose);\n var minver = new SemVer(\"0.0.0\");\n if (range.test(minver)) return minver;\n minver = new SemVer(\"0.0.0-0\");\n if (range.test(minver)) return minver;\n minver = null;\n for(var i = 0; i < range.set.length; ++i){\n var comparators = range.set[i];\n comparators.forEach(function(comparator) {\n // Clone to avoid manipulating the comparator's semver object.\n var compver = new SemVer(comparator.semver.version);\n switch(comparator.operator){\n case \">\":\n if (compver.prerelease.length === 0) compver.patch++;\n else compver.prerelease.push(0);\n compver.raw = compver.format();\n /* fallthrough */ case \"\":\n case \">=\":\n if (!minver || gt(minver, compver)) minver = compver;\n break;\n case \"<\":\n case \"<=\":\n break;\n /* istanbul ignore next */ default:\n throw new Error(\"Unexpected operation: \" + comparator.operator);\n }\n });\n }\n if (minver && range.test(minver)) return minver;\n return null;\n}\nexports.validRange = validRange;\nfunction 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}\n// Determine if version is less than all the versions possible in the range\nexports.ltr = ltr;\nfunction ltr(version, range, options) {\n return outside(version, range, \"<\", options);\n}\n// Determine if version is greater than all the versions possible in the range.\nexports.gtr = gtr;\nfunction gtr(version, range, options) {\n return outside(version, range, \">\", options);\n}\nexports.outside = outside;\nfunction outside(version, range, hilo, options) {\n version = new SemVer(version, options);\n range = new Range(range, options);\n var 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 // If it satisifes the range it is not outside\n if (satisfies(version, range, options)) return false;\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 for(var i = 0; i < range.set.length; ++i){\n var comparators = range.set[i];\n var high = null;\n var low = null;\n comparators.forEach(function(comparator) {\n if (comparator.semver === ANY) comparator = new Comparator(\">=0.0.0\");\n high = high || comparator;\n low = low || comparator;\n if (gtfn(comparator.semver, high.semver, options)) high = comparator;\n else if (ltfn(comparator.semver, low.semver, options)) low = comparator;\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) return false;\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) && ltefn(version, low.semver)) return false;\n else if (low.operator === ecomp && ltfn(version, low.semver)) return false;\n }\n return true;\n}\nexports.prerelease = prerelease;\nfunction prerelease(version, options) {\n var parsed = parse(version, options);\n return parsed && parsed.prerelease.length ? parsed.prerelease : null;\n}\nexports.intersects = intersects;\nfunction intersects(r1, r2, options) {\n r1 = new Range(r1, options);\n r2 = new Range(r2, options);\n return r1.intersects(r2);\n}\nexports.coerce = coerce;\nfunction coerce(version, options) {\n if (version instanceof SemVer) return version;\n if (typeof version === \"number\") version = String(version);\n if (typeof version !== \"string\") return null;\n options = options || {};\n var match = null;\n if (!options.rtl) match = version.match(safeRe[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 var next;\n while((next = safeRe[t.COERCERTL].exec(version)) && (!match || match.index + match[0].length !== version.length)){\n if (!match || next.index + next[0].length !== match.index + match[0].length) match = next;\n safeRe[t.COERCERTL].lastIndex = next.index + next[1].length + next[2].length;\n }\n // leave it in a clean state\n safeRe[t.COERCERTL].lastIndex = -1;\n }\n if (match === null) return null;\n return parse(match[2] + \".\" + (match[3] || \"0\") + \".\" + (match[4] || \"0\"), options);\n}\n\n});\n\n\nparcelRequire.register(\"1NS6t\", function(module, exports) {\n\nvar $ghfRK = parcelRequire(\"ghfRK\");\n\nvar $1EsMF = parcelRequire(\"1EsMF\");\nfunction $150455dad8bf32ff$var$v4(options, buf, offset) {\n var i = buf && offset || 0;\n if (typeof options == \"string\") {\n buf = options === \"binary\" ? new Array(16) : null;\n options = null;\n }\n options = options || {};\n var rnds = options.random || (options.rng || $ghfRK)();\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 // Copy bytes to buffer, if provided\n if (buf) for(var ii = 0; ii < 16; ++ii)buf[i + ii] = rnds[ii];\n return buf || $1EsMF(rnds);\n}\nmodule.exports = $150455dad8bf32ff$var$v4;\n\n});\nparcelRequire.register(\"ghfRK\", function(module, exports) {\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\nmodule.exports = function nodeRNG() {\n return $aEsRD$crypto.randomBytes(16);\n};\n\n});\n\nparcelRequire.register(\"1EsMF\", function(module, exports) {\n/**\n * Convert array of 16 byte values to UUID string format of the form:\n * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\n */ var $133fdac428963179$var$byteToHex = [];\nfor(var $133fdac428963179$var$i = 0; $133fdac428963179$var$i < 256; ++$133fdac428963179$var$i)$133fdac428963179$var$byteToHex[$133fdac428963179$var$i] = ($133fdac428963179$var$i + 0x100).toString(16).substr(1);\nfunction $133fdac428963179$var$bytesToUuid(buf, offset) {\n var i = offset || 0;\n var bth = $133fdac428963179$var$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++]],\n bth[buf[i++]],\n bth[buf[i++]],\n bth[buf[i++]],\n \"-\",\n bth[buf[i++]],\n bth[buf[i++]],\n \"-\",\n bth[buf[i++]],\n bth[buf[i++]],\n \"-\",\n bth[buf[i++]],\n bth[buf[i++]],\n \"-\",\n bth[buf[i++]],\n bth[buf[i++]],\n bth[buf[i++]],\n bth[buf[i++]],\n bth[buf[i++]],\n bth[buf[i++]]\n ].join(\"\");\n}\nmodule.exports = $133fdac428963179$var$bytesToUuid;\n\n});\n\n\nparcelRequire.register(\"8hZvX\", function(module, exports) {\n\"use strict\";\nvar $608fa0c3ad4da96b$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $608fa0c3ad4da96b$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $608fa0c3ad4da96b$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $608fa0c3ad4da96b$var$__createBinding(result, mod, k);\n }\n $608fa0c3ad4da96b$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $608fa0c3ad4da96b$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.getExecOutput = module.exports.exec = void 0;\n\n\nconst $608fa0c3ad4da96b$var$tr = $608fa0c3ad4da96b$var$__importStar((parcelRequire(\"7IKJC\")));\n/**\n * Exec a command.\n * Output will be streamed to the live console.\n * Returns promise with return code\n *\n * @param commandLine command to execute (can include additional args). Must be correctly escaped.\n * @param args optional arguments for tool. Escaping is handled by the lib.\n * @param options optional exec options. See ExecOptions\n * @returns Promise exit code\n */ function $608fa0c3ad4da96b$var$exec(commandLine, args, options) {\n return $608fa0c3ad4da96b$var$__awaiter(this, void 0, void 0, function*() {\n const commandArgs = $608fa0c3ad4da96b$var$tr.argStringToArray(commandLine);\n if (commandArgs.length === 0) throw new Error(`Parameter 'commandLine' cannot be null or empty.`);\n // Path to tool to execute should be first arg\n const toolPath = commandArgs[0];\n args = commandArgs.slice(1).concat(args || []);\n const runner = new $608fa0c3ad4da96b$var$tr.ToolRunner(toolPath, args, options);\n return runner.exec();\n });\n}\nmodule.exports.exec = $608fa0c3ad4da96b$var$exec;\n/**\n * Exec a command and get the output.\n * Output will be streamed to the live console.\n * Returns promise with the exit code and collected stdout and stderr\n *\n * @param commandLine command to execute (can include additional args). Must be correctly escaped.\n * @param args optional arguments for tool. Escaping is handled by the lib.\n * @param options optional exec options. See ExecOptions\n * @returns Promise exit code, stdout, and stderr\n */ function $608fa0c3ad4da96b$var$getExecOutput(commandLine, args, options) {\n var _a, _b;\n return $608fa0c3ad4da96b$var$__awaiter(this, void 0, void 0, function*() {\n let stdout = \"\";\n let stderr = \"\";\n //Using string decoder covers the case where a mult-byte character is split\n const stdoutDecoder = new $aEsRD$string_decoder.StringDecoder(\"utf8\");\n const stderrDecoder = new $aEsRD$string_decoder.StringDecoder(\"utf8\");\n const originalStdoutListener = (_a = options === null || options === void 0 ? void 0 : options.listeners) === null || _a === void 0 ? void 0 : _a.stdout;\n const originalStdErrListener = (_b = options === null || options === void 0 ? void 0 : options.listeners) === null || _b === void 0 ? void 0 : _b.stderr;\n const stdErrListener = (data)=>{\n stderr += stderrDecoder.write(data);\n if (originalStdErrListener) originalStdErrListener(data);\n };\n const stdOutListener = (data)=>{\n stdout += stdoutDecoder.write(data);\n if (originalStdoutListener) originalStdoutListener(data);\n };\n const listeners = Object.assign(Object.assign({}, options === null || options === void 0 ? void 0 : options.listeners), {\n stdout: stdOutListener,\n stderr: stdErrListener\n });\n const exitCode = yield $608fa0c3ad4da96b$var$exec(commandLine, args, Object.assign(Object.assign({}, options), {\n listeners: listeners\n }));\n //flush any remaining characters\n stdout += stdoutDecoder.end();\n stderr += stderrDecoder.end();\n return {\n exitCode: exitCode,\n stdout: stdout,\n stderr: stderr\n };\n });\n}\nmodule.exports.getExecOutput = $608fa0c3ad4da96b$var$getExecOutput;\n\n});\nparcelRequire.register(\"7IKJC\", function(module, exports) {\n\"use strict\";\nvar $59f0e5025811f073$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $59f0e5025811f073$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $59f0e5025811f073$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $59f0e5025811f073$var$__createBinding(result, mod, k);\n }\n $59f0e5025811f073$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $59f0e5025811f073$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.argStringToArray = module.exports.ToolRunner = void 0;\n\nconst $59f0e5025811f073$var$os = $59f0e5025811f073$var$__importStar($aEsRD$os);\n\nconst $59f0e5025811f073$var$events = $59f0e5025811f073$var$__importStar($aEsRD$events);\n\nconst $59f0e5025811f073$var$child = $59f0e5025811f073$var$__importStar($aEsRD$child_process);\n\nconst $59f0e5025811f073$var$path = $59f0e5025811f073$var$__importStar($aEsRD$path);\n\nconst $59f0e5025811f073$var$io = $59f0e5025811f073$var$__importStar((parcelRequire(\"jtqY0\")));\n\nconst $59f0e5025811f073$var$ioUtil = $59f0e5025811f073$var$__importStar((parcelRequire(\"cbIfL\")));\n\n/* eslint-disable @typescript-eslint/unbound-method */ const $59f0e5025811f073$var$IS_WINDOWS = process.platform === \"win32\";\n/*\n * Class for running command line tools. Handles quoting and arg parsing in a platform agnostic way.\n */ class $59f0e5025811f073$var$ToolRunner extends $59f0e5025811f073$var$events.EventEmitter {\n constructor(toolPath, args, options){\n super();\n if (!toolPath) throw new Error(\"Parameter 'toolPath' cannot be null or empty.\");\n this.toolPath = toolPath;\n this.args = args || [];\n this.options = options || {};\n }\n _debug(message) {\n if (this.options.listeners && this.options.listeners.debug) this.options.listeners.debug(message);\n }\n _getCommandString(options, noPrefix) {\n const toolPath = this._getSpawnFileName();\n const args = this._getSpawnArgs(options);\n let cmd = noPrefix ? \"\" : \"[command]\"; // omit prefix when piped to a second tool\n if ($59f0e5025811f073$var$IS_WINDOWS) {\n // Windows + cmd file\n if (this._isCmdFile()) {\n cmd += toolPath;\n for (const a of args)cmd += ` ${a}`;\n } else if (options.windowsVerbatimArguments) {\n cmd += `\"${toolPath}\"`;\n for (const a of args)cmd += ` ${a}`;\n } else {\n cmd += this._windowsQuoteCmdArg(toolPath);\n for (const a of args)cmd += ` ${this._windowsQuoteCmdArg(a)}`;\n }\n } else {\n // OSX/Linux - this can likely be improved with some form of quoting.\n // creating processes on Unix is fundamentally different than Windows.\n // on Unix, execvp() takes an arg array.\n cmd += toolPath;\n for (const a of args)cmd += ` ${a}`;\n }\n return cmd;\n }\n _processLineBuffer(data, strBuffer, onLine) {\n try {\n let s = strBuffer + data.toString();\n let n = s.indexOf($59f0e5025811f073$var$os.EOL);\n while(n > -1){\n const line = s.substring(0, n);\n onLine(line);\n // the rest of the string ...\n s = s.substring(n + $59f0e5025811f073$var$os.EOL.length);\n n = s.indexOf($59f0e5025811f073$var$os.EOL);\n }\n return s;\n } catch (err) {\n // streaming lines to console is best effort. Don't fail a build.\n this._debug(`error processing line. Failed with error ${err}`);\n return \"\";\n }\n }\n _getSpawnFileName() {\n if ($59f0e5025811f073$var$IS_WINDOWS) {\n if (this._isCmdFile()) return process.env[\"COMSPEC\"] || \"cmd.exe\";\n }\n return this.toolPath;\n }\n _getSpawnArgs(options) {\n if ($59f0e5025811f073$var$IS_WINDOWS) {\n if (this._isCmdFile()) {\n let argline = `/D /S /C \"${this._windowsQuoteCmdArg(this.toolPath)}`;\n for (const a of this.args){\n argline += \" \";\n argline += options.windowsVerbatimArguments ? a : this._windowsQuoteCmdArg(a);\n }\n argline += '\"';\n return [\n argline\n ];\n }\n }\n return this.args;\n }\n _endsWith(str, end) {\n return str.endsWith(end);\n }\n _isCmdFile() {\n const upperToolPath = this.toolPath.toUpperCase();\n return this._endsWith(upperToolPath, \".CMD\") || this._endsWith(upperToolPath, \".BAT\");\n }\n _windowsQuoteCmdArg(arg) {\n // for .exe, apply the normal quoting rules that libuv applies\n if (!this._isCmdFile()) return this._uvQuoteCmdArg(arg);\n // otherwise apply quoting rules specific to the cmd.exe command line parser.\n // the libuv rules are generic and are not designed specifically for cmd.exe\n // command line parser.\n //\n // for a detailed description of the cmd.exe command line parser, refer to\n // http://stackoverflow.com/questions/4094699/how-does-the-windows-command-interpreter-cmd-exe-parse-scripts/7970912#7970912\n // need quotes for empty arg\n if (!arg) return '\"\"';\n // determine whether the arg needs to be quoted\n const cmdSpecialChars = [\n \" \",\n \"\t\",\n \"&\",\n \"(\",\n \")\",\n \"[\",\n \"]\",\n \"{\",\n \"}\",\n \"^\",\n \"=\",\n \";\",\n \"!\",\n \"'\",\n \"+\",\n \",\",\n \"`\",\n \"~\",\n \"|\",\n \"<\",\n \">\",\n '\"'\n ];\n let needsQuotes = false;\n for (const char of arg)if (cmdSpecialChars.some((x)=>x === char)) {\n needsQuotes = true;\n break;\n }\n // short-circuit if quotes not needed\n if (!needsQuotes) return arg;\n // the following quoting rules are very similar to the rules that by libuv applies.\n //\n // 1) wrap the string in quotes\n //\n // 2) double-up quotes - i.e. \" => \"\"\n //\n // this is different from the libuv quoting rules. libuv replaces \" with \\\", which unfortunately\n // doesn't work well with a cmd.exe command line.\n //\n // note, replacing \" with \"\" also works well if the arg is passed to a downstream .NET console app.\n // for example, the command line:\n // foo.exe \"myarg:\"\"my val\"\"\"\n // is parsed by a .NET console app into an arg array:\n // [ \"myarg:\\\"my val\\\"\" ]\n // which is the same end result when applying libuv quoting rules. although the actual\n // command line from libuv quoting rules would look like:\n // foo.exe \"myarg:\\\"my val\\\"\"\n //\n // 3) double-up slashes that precede a quote,\n // e.g. hello \\world => \"hello \\world\"\n // hello\\\"world => \"hello\\\\\"\"world\"\n // hello\\\\\"world => \"hello\\\\\\\\\"\"world\"\n // hello world\\ => \"hello world\\\\\"\n //\n // technically this is not required for a cmd.exe command line, or the batch argument parser.\n // the reasons for including this as a .cmd quoting rule are:\n //\n // a) this is optimized for the scenario where the argument is passed from the .cmd file to an\n // external program. many programs (e.g. .NET console apps) rely on the slash-doubling rule.\n //\n // b) it's what we've been doing previously (by deferring to node default behavior) and we\n // haven't heard any complaints about that aspect.\n //\n // note, a weakness of the quoting rules chosen here, is that % is not escaped. in fact, % cannot be\n // escaped when used on the command line directly - even though within a .cmd file % can be escaped\n // by using %%.\n //\n // the saving grace is, on the command line, %var% is left as-is if var is not defined. this contrasts\n // the line parsing rules within a .cmd file, where if var is not defined it is replaced with nothing.\n //\n // one option that was explored was replacing % with ^% - i.e. %var% => ^%var^%. this hack would\n // often work, since it is unlikely that var^ would exist, and the ^ character is removed when the\n // variable is used. the problem, however, is that ^ is not removed when %* is used to pass the args\n // to an external program.\n //\n // an unexplored potential solution for the % escaping problem, is to create a wrapper .cmd file.\n // % can be escaped within a .cmd file.\n let reverse = '\"';\n let quoteHit = true;\n for(let i = arg.length; i > 0; i--){\n // walk the string in reverse\n reverse += arg[i - 1];\n if (quoteHit && arg[i - 1] === \"\\\\\") reverse += \"\\\\\"; // double the slash\n else if (arg[i - 1] === '\"') {\n quoteHit = true;\n reverse += '\"'; // double the quote\n } else quoteHit = false;\n }\n reverse += '\"';\n return reverse.split(\"\").reverse().join(\"\");\n }\n _uvQuoteCmdArg(arg) {\n // Tool runner wraps child_process.spawn() and needs to apply the same quoting as\n // Node in certain cases where the undocumented spawn option windowsVerbatimArguments\n // is used.\n //\n // Since this function is a port of quote_cmd_arg from Node 4.x (technically, lib UV,\n // see https://github.com/nodejs/node/blob/v4.x/deps/uv/src/win/process.c for details),\n // pasting copyright notice from Node within this function:\n //\n // Copyright Joyent, Inc. and other Node contributors. All rights reserved.\n //\n // Permission is hereby granted, free of charge, to any person obtaining a copy\n // of this software and associated documentation files (the \"Software\"), to\n // deal in the Software without restriction, including without limitation the\n // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or\n // sell copies of the Software, and to permit persons to whom the Software is\n // furnished to do so, subject to the following conditions:\n //\n // The above copyright notice and this permission notice shall be included in\n // all copies or substantial portions of the Software.\n //\n // THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\n // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS\n // IN THE SOFTWARE.\n if (!arg) // Need double quotation for empty argument\n return '\"\"';\n if (!arg.includes(\" \") && !arg.includes(\"\t\") && !arg.includes('\"')) // No quotation needed\n return arg;\n if (!arg.includes('\"') && !arg.includes(\"\\\\\")) // No embedded double quotes or backslashes, so I can just wrap\n // quote marks around the whole thing.\n return `\"${arg}\"`;\n // Expected input/output:\n // input : hello\"world\n // output: \"hello\\\"world\"\n // input : hello\"\"world\n // output: \"hello\\\"\\\"world\"\n // input : hello\\world\n // output: hello\\world\n // input : hello\\\\world\n // output: hello\\\\world\n // input : hello\\\"world\n // output: \"hello\\\\\\\"world\"\n // input : hello\\\\\"world\n // output: \"hello\\\\\\\\\\\"world\"\n // input : hello world\\\n // output: \"hello world\\\\\" - note the comment in libuv actually reads \"hello world\\\"\n // but it appears the comment is wrong, it should be \"hello world\\\\\"\n let reverse = '\"';\n let quoteHit = true;\n for(let i = arg.length; i > 0; i--){\n // walk the string in reverse\n reverse += arg[i - 1];\n if (quoteHit && arg[i - 1] === \"\\\\\") reverse += \"\\\\\";\n else if (arg[i - 1] === '\"') {\n quoteHit = true;\n reverse += \"\\\\\";\n } else quoteHit = false;\n }\n reverse += '\"';\n return reverse.split(\"\").reverse().join(\"\");\n }\n _cloneExecOptions(options) {\n options = options || {};\n const result = {\n cwd: options.cwd || process.cwd(),\n env: options.env || process.env,\n silent: options.silent || false,\n windowsVerbatimArguments: options.windowsVerbatimArguments || false,\n failOnStdErr: options.failOnStdErr || false,\n ignoreReturnCode: options.ignoreReturnCode || false,\n delay: options.delay || 10000\n };\n result.outStream = options.outStream || process.stdout;\n result.errStream = options.errStream || process.stderr;\n return result;\n }\n _getSpawnOptions(options, toolPath) {\n options = options || {};\n const result = {};\n result.cwd = options.cwd;\n result.env = options.env;\n result[\"windowsVerbatimArguments\"] = options.windowsVerbatimArguments || this._isCmdFile();\n if (options.windowsVerbatimArguments) result.argv0 = `\"${toolPath}\"`;\n return result;\n }\n /**\n * Exec a tool.\n * Output will be streamed to the live console.\n * Returns promise with return code\n *\n * @param tool path to tool to exec\n * @param options optional exec options. See ExecOptions\n * @returns number\n */ exec() {\n return $59f0e5025811f073$var$__awaiter(this, void 0, void 0, function*() {\n // root the tool path if it is unrooted and contains relative pathing\n if (!$59f0e5025811f073$var$ioUtil.isRooted(this.toolPath) && (this.toolPath.includes(\"/\") || $59f0e5025811f073$var$IS_WINDOWS && this.toolPath.includes(\"\\\\\"))) // prefer options.cwd if it is specified, however options.cwd may also need to be rooted\n this.toolPath = $59f0e5025811f073$var$path.resolve(process.cwd(), this.options.cwd || process.cwd(), this.toolPath);\n // if the tool is only a file name, then resolve it from the PATH\n // otherwise verify it exists (add extension on Windows if necessary)\n this.toolPath = yield $59f0e5025811f073$var$io.which(this.toolPath, true);\n return new Promise((resolve, reject)=>$59f0e5025811f073$var$__awaiter(this, void 0, void 0, function*() {\n this._debug(`exec tool: ${this.toolPath}`);\n this._debug(\"arguments:\");\n for (const arg of this.args)this._debug(` ${arg}`);\n const optionsNonNull = this._cloneExecOptions(this.options);\n if (!optionsNonNull.silent && optionsNonNull.outStream) optionsNonNull.outStream.write(this._getCommandString(optionsNonNull) + $59f0e5025811f073$var$os.EOL);\n const state = new $59f0e5025811f073$var$ExecState(optionsNonNull, this.toolPath);\n state.on(\"debug\", (message)=>{\n this._debug(message);\n });\n if (this.options.cwd && !(yield $59f0e5025811f073$var$ioUtil.exists(this.options.cwd))) return reject(new Error(`The cwd: ${this.options.cwd} does not exist!`));\n const fileName = this._getSpawnFileName();\n const cp = $59f0e5025811f073$var$child.spawn(fileName, this._getSpawnArgs(optionsNonNull), this._getSpawnOptions(this.options, fileName));\n let stdbuffer = \"\";\n if (cp.stdout) cp.stdout.on(\"data\", (data)=>{\n if (this.options.listeners && this.options.listeners.stdout) this.options.listeners.stdout(data);\n if (!optionsNonNull.silent && optionsNonNull.outStream) optionsNonNull.outStream.write(data);\n stdbuffer = this._processLineBuffer(data, stdbuffer, (line)=>{\n if (this.options.listeners && this.options.listeners.stdline) this.options.listeners.stdline(line);\n });\n });\n let errbuffer = \"\";\n if (cp.stderr) cp.stderr.on(\"data\", (data)=>{\n state.processStderr = true;\n if (this.options.listeners && this.options.listeners.stderr) this.options.listeners.stderr(data);\n if (!optionsNonNull.silent && optionsNonNull.errStream && optionsNonNull.outStream) {\n const s = optionsNonNull.failOnStdErr ? optionsNonNull.errStream : optionsNonNull.outStream;\n s.write(data);\n }\n errbuffer = this._processLineBuffer(data, errbuffer, (line)=>{\n if (this.options.listeners && this.options.listeners.errline) this.options.listeners.errline(line);\n });\n });\n cp.on(\"error\", (err)=>{\n state.processError = err.message;\n state.processExited = true;\n state.processClosed = true;\n state.CheckComplete();\n });\n cp.on(\"exit\", (code)=>{\n state.processExitCode = code;\n state.processExited = true;\n this._debug(`Exit code ${code} received from tool '${this.toolPath}'`);\n state.CheckComplete();\n });\n cp.on(\"close\", (code)=>{\n state.processExitCode = code;\n state.processExited = true;\n state.processClosed = true;\n this._debug(`STDIO streams have closed for tool '${this.toolPath}'`);\n state.CheckComplete();\n });\n state.on(\"done\", (error, exitCode)=>{\n if (stdbuffer.length > 0) this.emit(\"stdline\", stdbuffer);\n if (errbuffer.length > 0) this.emit(\"errline\", errbuffer);\n cp.removeAllListeners();\n if (error) reject(error);\n else resolve(exitCode);\n });\n if (this.options.input) {\n if (!cp.stdin) throw new Error(\"child process missing stdin\");\n cp.stdin.end(this.options.input);\n }\n }));\n });\n }\n}\nmodule.exports.ToolRunner = $59f0e5025811f073$var$ToolRunner;\n/**\n * Convert an arg string to an array of args. Handles escaping\n *\n * @param argString string of arguments\n * @returns string[] array of arguments\n */ function $59f0e5025811f073$var$argStringToArray(argString) {\n const args = [];\n let inQuotes = false;\n let escaped = false;\n let arg = \"\";\n function append(c) {\n // we only escape double quotes.\n if (escaped && c !== '\"') arg += \"\\\\\";\n arg += c;\n escaped = false;\n }\n for(let i = 0; i < argString.length; i++){\n const c = argString.charAt(i);\n if (c === '\"') {\n if (!escaped) inQuotes = !inQuotes;\n else append(c);\n continue;\n }\n if (c === \"\\\\\" && escaped) {\n append(c);\n continue;\n }\n if (c === \"\\\\\" && inQuotes) {\n escaped = true;\n continue;\n }\n if (c === \" \" && !inQuotes) {\n if (arg.length > 0) {\n args.push(arg);\n arg = \"\";\n }\n continue;\n }\n append(c);\n }\n if (arg.length > 0) args.push(arg.trim());\n return args;\n}\nmodule.exports.argStringToArray = $59f0e5025811f073$var$argStringToArray;\nclass $59f0e5025811f073$var$ExecState extends $59f0e5025811f073$var$events.EventEmitter {\n constructor(options, toolPath){\n super();\n this.processClosed = false; // tracks whether the process has exited and stdio is closed\n this.processError = \"\";\n this.processExitCode = 0;\n this.processExited = false; // tracks whether the process has exited\n this.processStderr = false; // tracks whether stderr was written to\n this.delay = 10000; // 10 seconds\n this.done = false;\n this.timeout = null;\n if (!toolPath) throw new Error(\"toolPath must not be empty\");\n this.options = options;\n this.toolPath = toolPath;\n if (options.delay) this.delay = options.delay;\n }\n CheckComplete() {\n if (this.done) return;\n if (this.processClosed) this._setResult();\n else if (this.processExited) this.timeout = $aEsRD$timers.setTimeout($59f0e5025811f073$var$ExecState.HandleTimeout, this.delay, this);\n }\n _debug(message) {\n this.emit(\"debug\", message);\n }\n _setResult() {\n // determine whether there is an error\n let error;\n if (this.processExited) {\n if (this.processError) error = new Error(`There was an error when attempting to execute the process '${this.toolPath}'. This may indicate the process failed to start. Error: ${this.processError}`);\n else if (this.processExitCode !== 0 && !this.options.ignoreReturnCode) error = new Error(`The process '${this.toolPath}' failed with exit code ${this.processExitCode}`);\n else if (this.processStderr && this.options.failOnStdErr) error = new Error(`The process '${this.toolPath}' failed because one or more lines were written to the STDERR stream`);\n }\n // clear the timeout\n if (this.timeout) {\n clearTimeout(this.timeout);\n this.timeout = null;\n }\n this.done = true;\n this.emit(\"done\", error, this.processExitCode);\n }\n static HandleTimeout(state) {\n if (state.done) return;\n if (!state.processClosed && state.processExited) {\n const message = `The STDIO streams did not close within ${state.delay / 1000} seconds of the exit event from process '${state.toolPath}'. This may indicate a child process inherited the STDIO streams and has not yet exited.`;\n state._debug(message);\n }\n state._setResult();\n }\n}\n\n});\n\n\nparcelRequire.register(\"7wakU\", function(module, exports) {\nmodule.exports = Promise.resolve(require(\"./actions_python.e4ef0efb.js\")).then(()=>parcelRequire(\"8MXq9\"));\n\n});\n\n\nvar $2W4C2 = parcelRequire(\"2W4C2\");\n\nvar $7Lz0k = parcelRequire(\"7Lz0k\");\n\nvar $b9BRc = parcelRequire(\"b9BRc\");\nvar $121280b2d8e92425$exports = {};\n\n(function() {\n var root = this;\n var numerous;\n numerous = (parcelRequire(\"9tC1p\"));\n numerous.addLocale(\"en\", function pluralize_en(n /*``*/ ) {\n var i = Math.floor(Math.abs(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($121280b2d8e92425$exports);\n\n\nvar $971ea907f1c0ad0f$exports = {};\n\n$971ea907f1c0ad0f$exports = (parcelRequire(\"5cIV4\"));\n\n\nvar $4e91dcc66796d8e4$exports = {};\n$4e91dcc66796d8e4$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\n\n\nvar $adc9e3ad423b7cee$exports = {};\n\"use strict\";\n\nconst $adc9e3ad423b7cee$var$homeDirectory = $aEsRD$os.homedir();\n$adc9e3ad423b7cee$exports = (pathWithTilde)=>{\n if (typeof pathWithTilde !== \"string\") throw new TypeError(`Expected a string, got ${typeof pathWithTilde}`);\n return $adc9e3ad423b7cee$var$homeDirectory ? pathWithTilde.replace(/^~(?=$|\\/|\\\\)/, $adc9e3ad423b7cee$var$homeDirectory) : pathWithTilde;\n};\n\n\nvar $25a091d756ba0cd8$exports = {};\nconst $25a091d756ba0cd8$var$isWindows = process.platform === \"win32\" || process.env.OSTYPE === \"cygwin\" || process.env.OSTYPE === \"msys\";\n\nconst $25a091d756ba0cd8$var$COLON = $25a091d756ba0cd8$var$isWindows ? \";\" : \":\";\nvar $bf8a7dcae1f165c2$exports = {};\n\nvar $bf8a7dcae1f165c2$var$core;\n\n\nif (process.platform === \"win32\" || $parcel$global.TESTING_WINDOWS) $bf8a7dcae1f165c2$var$core = (parcelRequire(\"cCOdx\"));\nelse $bf8a7dcae1f165c2$var$core = (parcelRequire(\"fHi41\"));\n$bf8a7dcae1f165c2$exports = $bf8a7dcae1f165c2$var$isexe;\n$bf8a7dcae1f165c2$var$isexe.sync = $bf8a7dcae1f165c2$var$sync;\nfunction $bf8a7dcae1f165c2$var$isexe(path, options, cb) {\n if (typeof options === \"function\") {\n cb = options;\n options = {};\n }\n if (!cb) {\n if (typeof Promise !== \"function\") throw new TypeError(\"callback not provided\");\n return new Promise(function(resolve, reject) {\n $bf8a7dcae1f165c2$var$isexe(path, options || {}, function(er, is) {\n if (er) reject(er);\n else resolve(is);\n });\n });\n }\n $bf8a7dcae1f165c2$var$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}\nfunction $bf8a7dcae1f165c2$var$sync(path, options) {\n // my kingdom for a filtered catch\n try {\n return $bf8a7dcae1f165c2$var$core.sync(path, options || {});\n } catch (er) {\n if (options && options.ignoreErrors || er.code === \"EACCES\") return false;\n else throw er;\n }\n}\n\n\nconst $25a091d756ba0cd8$var$getNotFoundError = (cmd)=>Object.assign(new Error(`not found: ${cmd}`), {\n code: \"ENOENT\"\n });\nconst $25a091d756ba0cd8$var$getPathInfo = (cmd, opt)=>{\n const colon = opt.colon || $25a091d756ba0cd8$var$COLON;\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(/\\//) || $25a091d756ba0cd8$var$isWindows && cmd.match(/\\\\/) ? [\n \"\"\n ] : [\n // windows always checks the cwd first\n ...$25a091d756ba0cd8$var$isWindows ? [\n process.cwd()\n ] : [],\n ...(opt.path || process.env.PATH || /* istanbul ignore next: very unusual */ \"\").split(colon)\n ];\n const pathExtExe = $25a091d756ba0cd8$var$isWindows ? opt.pathExt || process.env.PATHEXT || \".EXE;.CMD;.BAT;.COM\" : \"\";\n const pathExt = $25a091d756ba0cd8$var$isWindows ? pathExtExe.split(colon) : [\n \"\"\n ];\n if ($25a091d756ba0cd8$var$isWindows) {\n if (cmd.indexOf(\".\") !== -1 && pathExt[0] !== \"\") pathExt.unshift(\"\");\n }\n return {\n pathEnv: pathEnv,\n pathExt: pathExt,\n pathExtExe: pathExtExe\n };\n};\nconst $25a091d756ba0cd8$var$which = (cmd, opt, cb)=>{\n if (typeof opt === \"function\") {\n cb = opt;\n opt = {};\n }\n if (!opt) opt = {};\n const { pathEnv: pathEnv, pathExt: pathExt, pathExtExe: pathExtExe } = $25a091d756ba0cd8$var$getPathInfo(cmd, opt);\n const found = [];\n const step = (i)=>new Promise((resolve, reject)=>{\n if (i === pathEnv.length) return opt.all && found.length ? resolve(found) : reject($25a091d756ba0cd8$var$getNotFoundError(cmd));\n const ppRaw = pathEnv[i];\n const pathPart = /^\".*\"$/.test(ppRaw) ? ppRaw.slice(1, -1) : ppRaw;\n const pCmd = $aEsRD$path.join(pathPart, cmd);\n const p = !pathPart && /^\\.[\\\\\\/]/.test(cmd) ? cmd.slice(0, 2) + pCmd : pCmd;\n resolve(subStep(p, i, 0));\n });\n const subStep = (p, i, ii)=>new Promise((resolve, reject)=>{\n if (ii === pathExt.length) return resolve(step(i + 1));\n const ext = pathExt[ii];\n $bf8a7dcae1f165c2$exports(p + ext, {\n pathExt: pathExtExe\n }, (er, is)=>{\n if (!er && is) {\n if (opt.all) found.push(p + ext);\n else return resolve(p + ext);\n }\n return resolve(subStep(p, i, ii + 1));\n });\n });\n return cb ? step(0).then((res)=>cb(null, res), cb) : step(0);\n};\nconst $25a091d756ba0cd8$var$whichSync = (cmd, opt)=>{\n opt = opt || {};\n const { pathEnv: pathEnv, pathExt: pathExt, pathExtExe: pathExtExe } = $25a091d756ba0cd8$var$getPathInfo(cmd, opt);\n const found = [];\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 const pCmd = $aEsRD$path.join(pathPart, cmd);\n const p = !pathPart && /^\\.[\\\\\\/]/.test(cmd) ? cmd.slice(0, 2) + pCmd : pCmd;\n for(let j = 0; j < pathExt.length; j++){\n const cur = p + pathExt[j];\n try {\n const is = $bf8a7dcae1f165c2$exports.sync(cur, {\n pathExt: pathExtExe\n });\n if (is) {\n if (opt.all) found.push(cur);\n else return cur;\n }\n } catch (ex) {}\n }\n }\n if (opt.all && found.length) return found;\n if (opt.nothrow) return null;\n throw $25a091d756ba0cd8$var$getNotFoundError(cmd);\n};\n$25a091d756ba0cd8$exports = $25a091d756ba0cd8$var$which;\n$25a091d756ba0cd8$var$which.sync = $25a091d756ba0cd8$var$whichSync;\n\n\nvar $70a83b2e1b96a64d$exports = {};\n\"use strict\";\n\n\nvar $35037cbcf60d645b$exports = {};\n\"use strict\";\n\nvar $0af1e65fb12a0d59$exports = {};\n\"use strict\";\n\nvar $f7aab8bf40bed33c$exports = {};\n\"use strict\";\n\n\nvar $b89c78a43b5ba1e0$exports = {};\n\"use strict\";\nconst $b89c78a43b5ba1e0$var$pathKey = (options = {})=>{\n const environment = options.env || process.env;\n const platform = options.platform || process.platform;\n if (platform !== \"win32\") return \"PATH\";\n return Object.keys(environment).reverse().find((key)=>key.toUpperCase() === \"PATH\") || \"Path\";\n};\n$b89c78a43b5ba1e0$exports = $b89c78a43b5ba1e0$var$pathKey;\n// TODO: Remove this for the next major release\n$b89c78a43b5ba1e0$exports.default = $b89c78a43b5ba1e0$var$pathKey;\n\n\nfunction $f7aab8bf40bed33c$var$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 // 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) try {\n process.chdir(parsed.options.cwd);\n } catch (err) {\n /* Empty */ }\n let resolved;\n try {\n resolved = $25a091d756ba0cd8$exports.sync(parsed.command, {\n path: env[$b89c78a43b5ba1e0$exports({\n env: env\n })],\n pathExt: withoutPathExt ? $aEsRD$path.delimiter : undefined\n });\n } catch (e) {\n /* Empty */ } finally{\n if (shouldSwitchCwd) process.chdir(cwd);\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) resolved = $aEsRD$path.resolve(hasCustomCwd ? parsed.options.cwd : \"\", resolved);\n return resolved;\n}\nfunction $f7aab8bf40bed33c$var$resolveCommand(parsed) {\n return $f7aab8bf40bed33c$var$resolveCommandAttempt(parsed) || $f7aab8bf40bed33c$var$resolveCommandAttempt(parsed, true);\n}\n$f7aab8bf40bed33c$exports = $f7aab8bf40bed33c$var$resolveCommand;\n\n\nvar $ce98266385a3f925$export$ae50443ffc990749;\nvar $ce98266385a3f925$export$6ea29ee575e3f5ff;\n\"use strict\";\n// See http://www.robvanderwoude.com/escapechars.php\nconst $ce98266385a3f925$var$metaCharsRegExp = /([()\\][%!^\"`<>&|;, *?])/g;\nfunction $ce98266385a3f925$var$escapeCommand(arg) {\n // Escape meta chars\n arg = arg.replace($ce98266385a3f925$var$metaCharsRegExp, \"^$1\");\n return arg;\n}\nfunction $ce98266385a3f925$var$escapeArgument(arg, doubleEscapeMetaChars) {\n // Convert to string\n arg = `${arg}`;\n // Algorithm below is based on https://qntm.org/cmd\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 // 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 // All other backslashes occur literally\n // Quote the whole thing:\n arg = `\"${arg}\"`;\n // Escape meta chars\n arg = arg.replace($ce98266385a3f925$var$metaCharsRegExp, \"^$1\");\n // Double escape meta chars if necessary\n if (doubleEscapeMetaChars) arg = arg.replace($ce98266385a3f925$var$metaCharsRegExp, \"^$1\");\n return arg;\n}\n$ce98266385a3f925$export$ae50443ffc990749 = $ce98266385a3f925$var$escapeCommand;\n$ce98266385a3f925$export$6ea29ee575e3f5ff = $ce98266385a3f925$var$escapeArgument;\n\n\nvar $7097fd39c059c8a0$exports = {};\n\"use strict\";\n\nvar $766d07f82bb79efe$exports = {};\n\"use strict\";\nvar $ab23f4a8e507b817$exports = {};\n\"use strict\";\n$ab23f4a8e507b817$exports = /^#!(.*)/;\n\n\n$766d07f82bb79efe$exports = (string = \"\")=>{\n const match = string.match($ab23f4a8e507b817$exports);\n if (!match) return null;\n const [path, argument] = match[0].replace(/#! ?/, \"\").split(\" \");\n const binary = path.split(\"/\").pop();\n if (binary === \"env\") return argument;\n return argument ? `${binary} ${argument}` : binary;\n};\n\n\nfunction $7097fd39c059c8a0$var$readShebang(command) {\n // Read the first 150 bytes from the file\n const size = 150;\n const buffer = Buffer.alloc(size);\n let fd;\n try {\n fd = $aEsRD$fs.openSync(command, \"r\");\n $aEsRD$fs.readSync(fd, buffer, 0, size, 0);\n $aEsRD$fs.closeSync(fd);\n } catch (e) {}\n // Attempt to extract shebang (null is returned if not a shebang)\n return $766d07f82bb79efe$exports(buffer.toString());\n}\n$7097fd39c059c8a0$exports = $7097fd39c059c8a0$var$readShebang;\n\n\nconst $0af1e65fb12a0d59$var$isWin = process.platform === \"win32\";\nconst $0af1e65fb12a0d59$var$isExecutableRegExp = /\\.(?:com|exe)$/i;\nconst $0af1e65fb12a0d59$var$isCmdShimRegExp = /node_modules[\\\\/].bin[\\\\/][^\\\\/]+\\.cmd$/i;\nfunction $0af1e65fb12a0d59$var$detectShebang(parsed) {\n parsed.file = $f7aab8bf40bed33c$exports(parsed);\n const shebang = parsed.file && $7097fd39c059c8a0$exports(parsed.file);\n if (shebang) {\n parsed.args.unshift(parsed.file);\n parsed.command = shebang;\n return $f7aab8bf40bed33c$exports(parsed);\n }\n return parsed.file;\n}\nfunction $0af1e65fb12a0d59$var$parseNonShell(parsed) {\n if (!$0af1e65fb12a0d59$var$isWin) return parsed;\n // Detect & add support for shebangs\n const commandFile = $0af1e65fb12a0d59$var$detectShebang(parsed);\n // We don't need a shell if the command filename is an executable\n const needsShell = !$0af1e65fb12a0d59$var$isExecutableRegExp.test(commandFile);\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 = $0af1e65fb12a0d59$var$isCmdShimRegExp.test(commandFile);\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 = $aEsRD$path.normalize(parsed.command);\n // Escape command & arguments\n parsed.command = $ce98266385a3f925$export$ae50443ffc990749(parsed.command);\n parsed.args = parsed.args.map((arg)=>$ce98266385a3f925$export$6ea29ee575e3f5ff(arg, needsDoubleEscapeMetaChars));\n const shellCommand = [\n parsed.command\n ].concat(parsed.args).join(\" \");\n parsed.args = [\n \"/d\",\n \"/s\",\n \"/c\",\n `\"${shellCommand}\"`\n ];\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 return parsed;\n}\nfunction $0af1e65fb12a0d59$var$parse(command, args, options) {\n // Normalize arguments, similar to nodejs\n if (args && !Array.isArray(args)) {\n options = args;\n args = null;\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 // Build our parsed object\n const parsed = {\n command: command,\n args: args,\n options: options,\n file: undefined,\n original: {\n command: command,\n args: args\n }\n };\n // Delegate further parsing to shell or non-shell\n return options.shell ? parsed : $0af1e65fb12a0d59$var$parseNonShell(parsed);\n}\n$0af1e65fb12a0d59$exports = $0af1e65fb12a0d59$var$parse;\n\n\nvar $b98496eebfc2bee4$exports = {};\n\"use strict\";\nconst $b98496eebfc2bee4$var$isWin = process.platform === \"win32\";\nfunction $b98496eebfc2bee4$var$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}\nfunction $b98496eebfc2bee4$var$hookChildProcess(cp, parsed) {\n if (!$b98496eebfc2bee4$var$isWin) return;\n const originalEmit = cp.emit;\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 = $b98496eebfc2bee4$var$verifyENOENT(arg1, parsed, \"spawn\");\n if (err) return originalEmit.call(cp, \"error\", err);\n }\n return originalEmit.apply(cp, arguments); // eslint-disable-line prefer-rest-params\n };\n}\nfunction $b98496eebfc2bee4$var$verifyENOENT(status, parsed) {\n if ($b98496eebfc2bee4$var$isWin && status === 1 && !parsed.file) return $b98496eebfc2bee4$var$notFoundError(parsed.original, \"spawn\");\n return null;\n}\nfunction $b98496eebfc2bee4$var$verifyENOENTSync(status, parsed) {\n if ($b98496eebfc2bee4$var$isWin && status === 1 && !parsed.file) return $b98496eebfc2bee4$var$notFoundError(parsed.original, \"spawnSync\");\n return null;\n}\n$b98496eebfc2bee4$exports = {\n hookChildProcess: $b98496eebfc2bee4$var$hookChildProcess,\n verifyENOENT: $b98496eebfc2bee4$var$verifyENOENT,\n verifyENOENTSync: $b98496eebfc2bee4$var$verifyENOENTSync,\n notFoundError: $b98496eebfc2bee4$var$notFoundError\n};\n\n\nfunction $35037cbcf60d645b$var$spawn(command, args, options) {\n // Parse the arguments\n const parsed = $0af1e65fb12a0d59$exports(command, args, options);\n // Spawn the child process\n const spawned = $aEsRD$child_process.spawn(parsed.command, parsed.args, parsed.options);\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 $b98496eebfc2bee4$exports.hookChildProcess(spawned, parsed);\n return spawned;\n}\nfunction $35037cbcf60d645b$var$spawnSync(command, args, options) {\n // Parse the arguments\n const parsed = $0af1e65fb12a0d59$exports(command, args, options);\n // Spawn the child process\n const result = $aEsRD$child_process.spawnSync(parsed.command, parsed.args, parsed.options);\n // Analyze if the command does not exist, see: https://github.com/IndigoUnited/node-cross-spawn/issues/16\n result.error = result.error || $b98496eebfc2bee4$exports.verifyENOENTSync(result.status, parsed);\n return result;\n}\n$35037cbcf60d645b$exports = $35037cbcf60d645b$var$spawn;\n$35037cbcf60d645b$exports.spawn = $35037cbcf60d645b$var$spawn;\n$35037cbcf60d645b$exports.sync = $35037cbcf60d645b$var$spawnSync;\n$35037cbcf60d645b$exports._parse = $0af1e65fb12a0d59$exports;\n$35037cbcf60d645b$exports._enoent = $b98496eebfc2bee4$exports;\n\n\nvar $de805666b9630fd4$exports = {};\n\"use strict\";\n$de805666b9630fd4$exports = (input)=>{\n const LF = typeof input === \"string\" ? \"\\n\" : \"\\n\".charCodeAt();\n const CR = typeof input === \"string\" ? \"\\r\" : \"\\r\".charCodeAt();\n if (input[input.length - 1] === LF) input = input.slice(0, input.length - 1);\n if (input[input.length - 1] === CR) input = input.slice(0, input.length - 1);\n return input;\n};\n\n\nvar $a57f1e593a90c533$exports = {};\n\"use strict\";\n\n\nconst $a57f1e593a90c533$var$npmRunPath = (options)=>{\n options = {\n cwd: process.cwd(),\n path: process.env[$b89c78a43b5ba1e0$exports()],\n execPath: process.execPath,\n ...options\n };\n let previous;\n let cwdPath = $aEsRD$path.resolve(options.cwd);\n const result = [];\n while(previous !== cwdPath){\n result.push($aEsRD$path.join(cwdPath, \"node_modules/.bin\"));\n previous = cwdPath;\n cwdPath = $aEsRD$path.resolve(cwdPath, \"..\");\n }\n // Ensure the running `node` binary is used\n const execPathDir = $aEsRD$path.resolve(options.cwd, options.execPath, \"..\");\n result.push(execPathDir);\n return result.concat(options.path).join($aEsRD$path.delimiter);\n};\n$a57f1e593a90c533$exports = $a57f1e593a90c533$var$npmRunPath;\n// TODO: Remove this for the next major release\n$a57f1e593a90c533$exports.default = $a57f1e593a90c533$var$npmRunPath;\n$a57f1e593a90c533$exports.env = (options)=>{\n options = {\n env: process.env,\n ...options\n };\n const env = {\n ...options.env\n };\n const path = $b89c78a43b5ba1e0$exports({\n env: env\n });\n options.path = env[path];\n env[path] = $a57f1e593a90c533$exports(options);\n return env;\n};\n\n\nvar $08f783521984119f$exports = {};\n\"use strict\";\nvar $c95ca8475c863658$exports = {};\n\"use strict\";\nconst $c95ca8475c863658$var$mimicFn = (to, from)=>{\n for (const prop of Reflect.ownKeys(from))Object.defineProperty(to, prop, Object.getOwnPropertyDescriptor(from, prop));\n return to;\n};\n$c95ca8475c863658$exports = $c95ca8475c863658$var$mimicFn;\n// TODO: Remove this for the next major release\n$c95ca8475c863658$exports.default = $c95ca8475c863658$var$mimicFn;\n\n\nconst $08f783521984119f$var$calledFunctions = new WeakMap();\nconst $08f783521984119f$var$onetime = (function_, options = {})=>{\n if (typeof function_ !== \"function\") throw new TypeError(\"Expected a function\");\n let returnValue;\n let callCount = 0;\n const functionName = function_.displayName || function_.name || \"\";\n const onetime = function(...arguments_) {\n $08f783521984119f$var$calledFunctions.set(onetime, ++callCount);\n if (callCount === 1) {\n returnValue = function_.apply(this, arguments_);\n function_ = null;\n } else if (options.throw === true) throw new Error(`Function \\`${functionName}\\` can only be called once`);\n return returnValue;\n };\n $c95ca8475c863658$exports(onetime, function_);\n $08f783521984119f$var$calledFunctions.set(onetime, callCount);\n return onetime;\n};\n$08f783521984119f$exports = $08f783521984119f$var$onetime;\n// TODO: Remove this for the next major release\n$08f783521984119f$exports.default = $08f783521984119f$var$onetime;\n$08f783521984119f$exports.callCount = (function_)=>{\n if (!$08f783521984119f$var$calledFunctions.has(function_)) throw new Error(`The given function \\`${function_.name}\\` is not wrapped by the \\`onetime\\` package`);\n return $08f783521984119f$var$calledFunctions.get(function_);\n};\n\n\nvar $c5b2da1a08da1975$exports = {};\n\"use strict\";\nvar $bf71d47a3e230256$exports = {};\n\"use strict\";\nObject.defineProperty($bf71d47a3e230256$exports, \"__esModule\", {\n value: true\n});\n$bf71d47a3e230256$exports.signalsByNumber = $bf71d47a3e230256$exports.signalsByName = void 0;\n\nvar $8afd6e269afd20eb$exports = {};\n\"use strict\";\nObject.defineProperty($8afd6e269afd20eb$exports, \"__esModule\", {\n value: true\n});\n$8afd6e269afd20eb$exports.getSignals = void 0;\n\nvar $ad9615450c98a10e$exports = {};\n\"use strict\";\nObject.defineProperty($ad9615450c98a10e$exports, \"__esModule\", {\n value: true\n});\n$ad9615450c98a10e$exports.SIGNALS = void 0;\nconst $ad9615450c98a10e$var$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: \"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$ad9615450c98a10e$exports.SIGNALS = $ad9615450c98a10e$var$SIGNALS;\n\n\nvar $6858c417a9ad7f6c$exports = {};\n\"use strict\";\nObject.defineProperty($6858c417a9ad7f6c$exports, \"__esModule\", {\n value: true\n});\n$6858c417a9ad7f6c$exports.SIGRTMAX = $6858c417a9ad7f6c$exports.getRealtimeSignals = void 0;\nconst $6858c417a9ad7f6c$var$getRealtimeSignals = function() {\n const length = $6858c417a9ad7f6c$var$SIGRTMAX - $6858c417a9ad7f6c$var$SIGRTMIN + 1;\n return Array.from({\n length: length\n }, $6858c417a9ad7f6c$var$getRealtimeSignal);\n};\n$6858c417a9ad7f6c$exports.getRealtimeSignals = $6858c417a9ad7f6c$var$getRealtimeSignals;\nconst $6858c417a9ad7f6c$var$getRealtimeSignal = function(value, index) {\n return {\n name: `SIGRT${index + 1}`,\n number: $6858c417a9ad7f6c$var$SIGRTMIN + index,\n action: \"terminate\",\n description: \"Application-specific signal (realtime)\",\n standard: \"posix\"\n };\n};\nconst $6858c417a9ad7f6c$var$SIGRTMIN = 34;\nconst $6858c417a9ad7f6c$var$SIGRTMAX = 64;\n$6858c417a9ad7f6c$exports.SIGRTMAX = $6858c417a9ad7f6c$var$SIGRTMAX;\n\n\nconst $8afd6e269afd20eb$var$getSignals = function() {\n const realtimeSignals = (0, $6858c417a9ad7f6c$exports.getRealtimeSignals)();\n const signals = [\n ...$ad9615450c98a10e$exports.SIGNALS,\n ...realtimeSignals\n ].map($8afd6e269afd20eb$var$normalizeSignal);\n return signals;\n};\n$8afd6e269afd20eb$exports.getSignals = $8afd6e269afd20eb$var$getSignals;\nconst $8afd6e269afd20eb$var$normalizeSignal = function({ name: name, number: defaultNumber, description: description, action: action, forced: forced = false, standard: standard }) {\n const { signals: { [name]: constantSignal } } = $aEsRD$os.constants;\n const supported = constantSignal !== undefined;\n const number = supported ? constantSignal : defaultNumber;\n return {\n name: name,\n number: number,\n description: description,\n supported: supported,\n action: action,\n forced: forced,\n standard: standard\n };\n};\n\n\n\nconst $bf71d47a3e230256$var$getSignalsByName = function() {\n const signals = (0, $8afd6e269afd20eb$exports.getSignals)();\n return signals.reduce($bf71d47a3e230256$var$getSignalByName, {});\n};\nconst $bf71d47a3e230256$var$getSignalByName = function(signalByNameMemo, { name: name, number: number, description: description, supported: supported, action: action, forced: forced, standard: standard }) {\n return {\n ...signalByNameMemo,\n [name]: {\n name: name,\n number: number,\n description: description,\n supported: supported,\n action: action,\n forced: forced,\n standard: standard\n }\n };\n};\nconst $bf71d47a3e230256$var$signalsByName = $bf71d47a3e230256$var$getSignalsByName();\n$bf71d47a3e230256$exports.signalsByName = $bf71d47a3e230256$var$signalsByName;\nconst $bf71d47a3e230256$var$getSignalsByNumber = function() {\n const signals = (0, $8afd6e269afd20eb$exports.getSignals)();\n const length = $6858c417a9ad7f6c$exports.SIGRTMAX + 1;\n const signalsA = Array.from({\n length: length\n }, (value, number)=>$bf71d47a3e230256$var$getSignalByNumber(number, signals));\n return Object.assign({}, ...signalsA);\n};\nconst $bf71d47a3e230256$var$getSignalByNumber = function(number, signals) {\n const signal = $bf71d47a3e230256$var$findSignalByNumber(number, signals);\n if (signal === undefined) return {};\n const { name: name, description: description, supported: supported, action: action, forced: forced, standard: standard } = signal;\n return {\n [number]: {\n name: name,\n number: number,\n description: description,\n supported: supported,\n action: action,\n forced: forced,\n standard: standard\n }\n };\n};\nconst $bf71d47a3e230256$var$findSignalByNumber = function(number, signals) {\n const signal = signals.find(({ name: name })=>$aEsRD$os.constants.signals[name] === number);\n if (signal !== undefined) return signal;\n return signals.find((signalA)=>signalA.number === number);\n};\nconst $bf71d47a3e230256$var$signalsByNumber = $bf71d47a3e230256$var$getSignalsByNumber();\n$bf71d47a3e230256$exports.signalsByNumber = $bf71d47a3e230256$var$signalsByNumber;\n\n\nvar $c5b2da1a08da1975$require$signalsByName = $bf71d47a3e230256$exports.signalsByName;\nconst $c5b2da1a08da1975$var$getErrorPrefix = ({ timedOut: timedOut, timeout: timeout, errorCode: errorCode, signal: signal, signalDescription: signalDescription, exitCode: exitCode, isCanceled: isCanceled })=>{\n if (timedOut) return `timed out after ${timeout} milliseconds`;\n if (isCanceled) return \"was canceled\";\n if (errorCode !== undefined) return `failed with ${errorCode}`;\n if (signal !== undefined) return `was killed with ${signal} (${signalDescription})`;\n if (exitCode !== undefined) return `failed with exit code ${exitCode}`;\n return \"failed\";\n};\nconst $c5b2da1a08da1975$var$makeError = ({ stdout: stdout, stderr: stderr, all: all, error: error, signal: signal, exitCode: exitCode, command: command, escapedCommand: escapedCommand, timedOut: timedOut, isCanceled: isCanceled, killed: killed, parsed: { options: { timeout: timeout } } })=>{\n // `signal` and `exitCode` emitted on `spawned.on('exit')` event can be `null`.\n // We normalize them to `undefined`\n exitCode = exitCode === null ? undefined : exitCode;\n signal = signal === null ? undefined : signal;\n const signalDescription = signal === undefined ? undefined : $c5b2da1a08da1975$require$signalsByName[signal].description;\n const errorCode = error && error.code;\n const prefix = $c5b2da1a08da1975$var$getErrorPrefix({\n timedOut: timedOut,\n timeout: timeout,\n errorCode: errorCode,\n signal: signal,\n signalDescription: signalDescription,\n exitCode: exitCode,\n isCanceled: isCanceled\n });\n const execaMessage = `Command ${prefix}: ${command}`;\n const isError = Object.prototype.toString.call(error) === \"[object Error]\";\n const shortMessage = isError ? `${execaMessage}\\n${error.message}` : execaMessage;\n const message = [\n shortMessage,\n stderr,\n stdout\n ].filter(Boolean).join(\"\\n\");\n if (isError) {\n error.originalMessage = error.message;\n error.message = message;\n } else error = new Error(message);\n error.shortMessage = shortMessage;\n error.command = command;\n error.escapedCommand = escapedCommand;\n error.exitCode = exitCode;\n error.signal = signal;\n error.signalDescription = signalDescription;\n error.stdout = stdout;\n error.stderr = stderr;\n if (all !== undefined) error.all = all;\n if (\"bufferedData\" in error) delete error.bufferedData;\n error.failed = true;\n error.timedOut = Boolean(timedOut);\n error.isCanceled = isCanceled;\n error.killed = killed && !timedOut;\n return error;\n};\n$c5b2da1a08da1975$exports = $c5b2da1a08da1975$var$makeError;\n\n\nvar $34684d08d10177ab$exports = {};\n\"use strict\";\nconst $34684d08d10177ab$var$aliases = [\n \"stdin\",\n \"stdout\",\n \"stderr\"\n];\nconst $34684d08d10177ab$var$hasAlias = (options)=>$34684d08d10177ab$var$aliases.some((alias)=>options[alias] !== undefined);\nconst $34684d08d10177ab$var$normalizeStdio = (options)=>{\n if (!options) return;\n const { stdio: stdio } = options;\n if (stdio === undefined) return $34684d08d10177ab$var$aliases.map((alias)=>options[alias]);\n if ($34684d08d10177ab$var$hasAlias(options)) throw new Error(`It's not possible to provide \\`stdio\\` in combination with one of ${$34684d08d10177ab$var$aliases.map((alias)=>`\\`${alias}\\``).join(\", \")}`);\n if (typeof stdio === \"string\") return stdio;\n if (!Array.isArray(stdio)) throw new TypeError(`Expected \\`stdio\\` to be of type \\`string\\` or \\`Array\\`, got \\`${typeof stdio}\\``);\n const length = Math.max(stdio.length, $34684d08d10177ab$var$aliases.length);\n return Array.from({\n length: length\n }, (value, index)=>stdio[index]);\n};\n$34684d08d10177ab$exports = $34684d08d10177ab$var$normalizeStdio;\n// `ipc` is pushed unless it is already present\n$34684d08d10177ab$exports.node = (options)=>{\n const stdio = $34684d08d10177ab$var$normalizeStdio(options);\n if (stdio === \"ipc\") return \"ipc\";\n if (stdio === undefined || typeof stdio === \"string\") return [\n stdio,\n stdio,\n stdio,\n \"ipc\"\n ];\n if (stdio.includes(\"ipc\")) return stdio;\n return [\n ...stdio,\n \"ipc\"\n ];\n};\n\n\nvar $769a574c3a976f01$exports = {};\n\"use strict\";\n\nvar $7274790eb12a7292$exports = {};\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 $7274790eb12a7292$var$process = $parcel$global.process;\nconst $7274790eb12a7292$var$processOk = function(process) {\n return process && typeof process === \"object\" && typeof process.removeListener === \"function\" && typeof process.emit === \"function\" && typeof process.reallyExit === \"function\" && typeof process.listeners === \"function\" && typeof process.kill === \"function\" && typeof process.pid === \"number\" && typeof process.on === \"function\";\n};\n\n\n\n// some kind of non-node environment, just no-op\n/* istanbul ignore if */ if (!$7274790eb12a7292$var$processOk($7274790eb12a7292$var$process)) $7274790eb12a7292$exports = function() {\n return function() {};\n};\nelse {\n var $7274790eb12a7292$var$assert = $aEsRD$assert;\n var $7274790eb12a7292$var$signals = (parcelRequire(\"5AOH8\"));\n var $7274790eb12a7292$var$isWin = /^win/i.test($7274790eb12a7292$var$process.platform);\n var $7274790eb12a7292$var$EE = $aEsRD$events;\n /* istanbul ignore if */ if (typeof $7274790eb12a7292$var$EE !== \"function\") $7274790eb12a7292$var$EE = $7274790eb12a7292$var$EE.EventEmitter;\n var $7274790eb12a7292$var$emitter;\n if ($7274790eb12a7292$var$process.__signal_exit_emitter__) $7274790eb12a7292$var$emitter = $7274790eb12a7292$var$process.__signal_exit_emitter__;\n else {\n $7274790eb12a7292$var$emitter = $7274790eb12a7292$var$process.__signal_exit_emitter__ = new $7274790eb12a7292$var$EE();\n $7274790eb12a7292$var$emitter.count = 0;\n $7274790eb12a7292$var$emitter.emitted = {};\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 (!$7274790eb12a7292$var$emitter.infinite) {\n $7274790eb12a7292$var$emitter.setMaxListeners(Infinity);\n $7274790eb12a7292$var$emitter.infinite = true;\n }\n $7274790eb12a7292$exports = function(cb, opts) {\n /* istanbul ignore if */ if (!$7274790eb12a7292$var$processOk($parcel$global.process)) return function() {};\n $7274790eb12a7292$var$assert.equal(typeof cb, \"function\", \"a callback must be provided for exit handler\");\n if ($7274790eb12a7292$var$loaded === false) $7274790eb12a7292$var$load();\n var ev = \"exit\";\n if (opts && opts.alwaysLast) ev = \"afterexit\";\n var remove = function() {\n $7274790eb12a7292$var$emitter.removeListener(ev, cb);\n if ($7274790eb12a7292$var$emitter.listeners(\"exit\").length === 0 && $7274790eb12a7292$var$emitter.listeners(\"afterexit\").length === 0) $7274790eb12a7292$var$unload();\n };\n $7274790eb12a7292$var$emitter.on(ev, cb);\n return remove;\n };\n var $7274790eb12a7292$var$unload = function unload() {\n if (!$7274790eb12a7292$var$loaded || !$7274790eb12a7292$var$processOk($parcel$global.process)) return;\n $7274790eb12a7292$var$loaded = false;\n $7274790eb12a7292$var$signals.forEach(function(sig) {\n try {\n $7274790eb12a7292$var$process.removeListener(sig, $7274790eb12a7292$var$sigListeners[sig]);\n } catch (er) {}\n });\n $7274790eb12a7292$var$process.emit = $7274790eb12a7292$var$originalProcessEmit;\n $7274790eb12a7292$var$process.reallyExit = $7274790eb12a7292$var$originalProcessReallyExit;\n $7274790eb12a7292$var$emitter.count -= 1;\n };\n $7274790eb12a7292$exports.unload = $7274790eb12a7292$var$unload;\n var $7274790eb12a7292$var$emit = function emit(event, code, signal) {\n /* istanbul ignore if */ if ($7274790eb12a7292$var$emitter.emitted[event]) return;\n $7274790eb12a7292$var$emitter.emitted[event] = true;\n $7274790eb12a7292$var$emitter.emit(event, code, signal);\n };\n // { : , ... }\n var $7274790eb12a7292$var$sigListeners = {};\n $7274790eb12a7292$var$signals.forEach(function(sig) {\n $7274790eb12a7292$var$sigListeners[sig] = function listener() {\n /* istanbul ignore if */ if (!$7274790eb12a7292$var$processOk($parcel$global.process)) return;\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 = $7274790eb12a7292$var$process.listeners(sig);\n if (listeners.length === $7274790eb12a7292$var$emitter.count) {\n $7274790eb12a7292$var$unload();\n $7274790eb12a7292$var$emit(\"exit\", null, sig);\n /* istanbul ignore next */ $7274790eb12a7292$var$emit(\"afterexit\", null, sig);\n /* istanbul ignore next */ if ($7274790eb12a7292$var$isWin && sig === \"SIGHUP\") // \"SIGHUP\" throws an `ENOSYS` error on Windows,\n // so use a supported signal instead\n sig = \"SIGINT\";\n /* istanbul ignore next */ $7274790eb12a7292$var$process.kill($7274790eb12a7292$var$process.pid, sig);\n }\n };\n });\n $7274790eb12a7292$exports.signals = function() {\n return $7274790eb12a7292$var$signals;\n };\n var $7274790eb12a7292$var$loaded = false;\n var $7274790eb12a7292$var$load = function load() {\n if ($7274790eb12a7292$var$loaded || !$7274790eb12a7292$var$processOk($parcel$global.process)) return;\n $7274790eb12a7292$var$loaded = true;\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 $7274790eb12a7292$var$emitter.count += 1;\n $7274790eb12a7292$var$signals = $7274790eb12a7292$var$signals.filter(function(sig) {\n try {\n $7274790eb12a7292$var$process.on(sig, $7274790eb12a7292$var$sigListeners[sig]);\n return true;\n } catch (er) {\n return false;\n }\n });\n $7274790eb12a7292$var$process.emit = $7274790eb12a7292$var$processEmit;\n $7274790eb12a7292$var$process.reallyExit = $7274790eb12a7292$var$processReallyExit;\n };\n $7274790eb12a7292$exports.load = $7274790eb12a7292$var$load;\n var $7274790eb12a7292$var$originalProcessReallyExit = $7274790eb12a7292$var$process.reallyExit;\n var $7274790eb12a7292$var$processReallyExit = function processReallyExit(code) {\n /* istanbul ignore if */ if (!$7274790eb12a7292$var$processOk($parcel$global.process)) return;\n $7274790eb12a7292$var$process.exitCode = code || /* istanbul ignore next */ 0;\n $7274790eb12a7292$var$emit(\"exit\", $7274790eb12a7292$var$process.exitCode, null);\n /* istanbul ignore next */ $7274790eb12a7292$var$emit(\"afterexit\", $7274790eb12a7292$var$process.exitCode, null);\n /* istanbul ignore next */ $7274790eb12a7292$var$originalProcessReallyExit.call($7274790eb12a7292$var$process, $7274790eb12a7292$var$process.exitCode);\n };\n var $7274790eb12a7292$var$originalProcessEmit = $7274790eb12a7292$var$process.emit;\n var $7274790eb12a7292$var$processEmit = function processEmit(ev, arg) {\n if (ev === \"exit\" && $7274790eb12a7292$var$processOk($parcel$global.process)) {\n /* istanbul ignore else */ if (arg !== undefined) $7274790eb12a7292$var$process.exitCode = arg;\n var ret = $7274790eb12a7292$var$originalProcessEmit.apply(this, arguments);\n /* istanbul ignore next */ $7274790eb12a7292$var$emit(\"exit\", $7274790eb12a7292$var$process.exitCode, null);\n /* istanbul ignore next */ $7274790eb12a7292$var$emit(\"afterexit\", $7274790eb12a7292$var$process.exitCode, null);\n /* istanbul ignore next */ return ret;\n } else return $7274790eb12a7292$var$originalProcessEmit.apply(this, arguments);\n };\n}\n\n\nconst $769a574c3a976f01$var$DEFAULT_FORCE_KILL_TIMEOUT = 5000;\n// Monkey-patches `childProcess.kill()` to add `forceKillAfterTimeout` behavior\nconst $769a574c3a976f01$var$spawnedKill = (kill, signal = \"SIGTERM\", options = {})=>{\n const killResult = kill(signal);\n $769a574c3a976f01$var$setKillTimeout(kill, signal, options, killResult);\n return killResult;\n};\nconst $769a574c3a976f01$var$setKillTimeout = (kill, signal, options, killResult)=>{\n if (!$769a574c3a976f01$var$shouldForceKill(signal, options, killResult)) return;\n const timeout = $769a574c3a976f01$var$getForceKillAfterTimeout(options);\n const t = setTimeout(()=>{\n kill(\"SIGKILL\");\n }, timeout);\n // Guarded because there's no `.unref()` when `execa` is used in the renderer\n // process in Electron. This cannot be tested since we don't run tests in\n // Electron.\n // istanbul ignore else\n if (t.unref) t.unref();\n};\nconst $769a574c3a976f01$var$shouldForceKill = (signal, { forceKillAfterTimeout: forceKillAfterTimeout }, killResult)=>{\n return $769a574c3a976f01$var$isSigterm(signal) && forceKillAfterTimeout !== false && killResult;\n};\nconst $769a574c3a976f01$var$isSigterm = (signal)=>{\n return signal === $aEsRD$os.constants.signals.SIGTERM || typeof signal === \"string\" && signal.toUpperCase() === \"SIGTERM\";\n};\nconst $769a574c3a976f01$var$getForceKillAfterTimeout = ({ forceKillAfterTimeout: forceKillAfterTimeout = true })=>{\n if (forceKillAfterTimeout === true) return $769a574c3a976f01$var$DEFAULT_FORCE_KILL_TIMEOUT;\n if (!Number.isFinite(forceKillAfterTimeout) || forceKillAfterTimeout < 0) throw new TypeError(`Expected the \\`forceKillAfterTimeout\\` option to be a non-negative integer, got \\`${forceKillAfterTimeout}\\` (${typeof forceKillAfterTimeout})`);\n return forceKillAfterTimeout;\n};\n// `childProcess.cancel()`\nconst $769a574c3a976f01$var$spawnedCancel = (spawned, context)=>{\n const killResult = spawned.kill();\n if (killResult) context.isCanceled = true;\n};\nconst $769a574c3a976f01$var$timeoutKill = (spawned, signal, reject)=>{\n spawned.kill(signal);\n reject(Object.assign(new Error(\"Timed out\"), {\n timedOut: true,\n signal: signal\n }));\n};\n// `timeout` option handling\nconst $769a574c3a976f01$var$setupTimeout = (spawned, { timeout: timeout, killSignal: killSignal = \"SIGTERM\" }, spawnedPromise)=>{\n if (timeout === 0 || timeout === undefined) return spawnedPromise;\n let timeoutId;\n const timeoutPromise = new Promise((resolve, reject)=>{\n timeoutId = setTimeout(()=>{\n $769a574c3a976f01$var$timeoutKill(spawned, killSignal, reject);\n }, timeout);\n });\n const safeSpawnedPromise = spawnedPromise.finally(()=>{\n clearTimeout(timeoutId);\n });\n return Promise.race([\n timeoutPromise,\n safeSpawnedPromise\n ]);\n};\nconst $769a574c3a976f01$var$validateTimeout = ({ timeout: timeout })=>{\n if (timeout !== undefined && (!Number.isFinite(timeout) || timeout < 0)) throw new TypeError(`Expected the \\`timeout\\` option to be a non-negative integer, got \\`${timeout}\\` (${typeof timeout})`);\n};\n// `cleanup` option handling\nconst $769a574c3a976f01$var$setExitHandler = async (spawned, { cleanup: cleanup, detached: detached }, timedPromise)=>{\n if (!cleanup || detached) return timedPromise;\n const removeExitHandler = $7274790eb12a7292$exports(()=>{\n spawned.kill();\n });\n return timedPromise.finally(()=>{\n removeExitHandler();\n });\n};\n$769a574c3a976f01$exports = {\n spawnedKill: $769a574c3a976f01$var$spawnedKill,\n spawnedCancel: $769a574c3a976f01$var$spawnedCancel,\n setupTimeout: $769a574c3a976f01$var$setupTimeout,\n validateTimeout: $769a574c3a976f01$var$validateTimeout,\n setExitHandler: $769a574c3a976f01$var$setExitHandler\n};\n\n\nvar $70a83b2e1b96a64d$require$spawnedKill = $769a574c3a976f01$exports.spawnedKill;\nvar $70a83b2e1b96a64d$require$spawnedCancel = $769a574c3a976f01$exports.spawnedCancel;\nvar $70a83b2e1b96a64d$require$setupTimeout = $769a574c3a976f01$exports.setupTimeout;\nvar $70a83b2e1b96a64d$require$validateTimeout = $769a574c3a976f01$exports.validateTimeout;\nvar $70a83b2e1b96a64d$require$setExitHandler = $769a574c3a976f01$exports.setExitHandler;\nvar $b0d5e2746bb5c96a$exports = {};\n\"use strict\";\nvar $ed67b9639b1dec43$exports = {};\n\"use strict\";\nconst $ed67b9639b1dec43$var$isStream = (stream)=>stream !== null && typeof stream === \"object\" && typeof stream.pipe === \"function\";\n$ed67b9639b1dec43$var$isStream.writable = (stream)=>$ed67b9639b1dec43$var$isStream(stream) && stream.writable !== false && typeof stream._write === \"function\" && typeof stream._writableState === \"object\";\n$ed67b9639b1dec43$var$isStream.readable = (stream)=>$ed67b9639b1dec43$var$isStream(stream) && stream.readable !== false && typeof stream._read === \"function\" && typeof stream._readableState === \"object\";\n$ed67b9639b1dec43$var$isStream.duplex = (stream)=>$ed67b9639b1dec43$var$isStream.writable(stream) && $ed67b9639b1dec43$var$isStream.readable(stream);\n$ed67b9639b1dec43$var$isStream.transform = (stream)=>$ed67b9639b1dec43$var$isStream.duplex(stream) && typeof stream._transform === \"function\";\n$ed67b9639b1dec43$exports = $ed67b9639b1dec43$var$isStream;\n\n\nvar $ae9d312d43a643b6$exports = {};\n\"use strict\";\n\nvar $ae9d312d43a643b6$require$BufferConstants = $aEsRD$buffer.constants;\n\n\nvar $ae9d312d43a643b6$require$promisify = $aEsRD$util.promisify;\nvar $3b66031bb5fa944b$exports = {};\n\"use strict\";\n\nvar $3b66031bb5fa944b$require$PassThroughStream = $aEsRD$stream.PassThrough;\n$3b66031bb5fa944b$exports = (options)=>{\n options = {\n ...options\n };\n const { array: array } = options;\n let { encoding: encoding } = options;\n const isBuffer = encoding === \"buffer\";\n let objectMode = false;\n if (array) objectMode = !(encoding || isBuffer);\n else encoding = encoding || \"utf8\";\n if (isBuffer) encoding = null;\n const stream = new $3b66031bb5fa944b$require$PassThroughStream({\n objectMode: objectMode\n });\n if (encoding) stream.setEncoding(encoding);\n let length = 0;\n const chunks = [];\n stream.on(\"data\", (chunk)=>{\n chunks.push(chunk);\n if (objectMode) length = chunks.length;\n else length += chunk.length;\n });\n stream.getBufferedValue = ()=>{\n if (array) return chunks;\n return isBuffer ? Buffer.concat(chunks, length) : chunks.join(\"\");\n };\n stream.getBufferedLength = ()=>length;\n return stream;\n};\n\n\nconst $ae9d312d43a643b6$var$streamPipelinePromisified = $ae9d312d43a643b6$require$promisify($aEsRD$stream.pipeline);\nclass $ae9d312d43a643b6$var$MaxBufferError extends Error {\n constructor(){\n super(\"maxBuffer exceeded\");\n this.name = \"MaxBufferError\";\n }\n}\nasync function $ae9d312d43a643b6$var$getStream(inputStream, options) {\n if (!inputStream) throw new Error(\"Expected a stream\");\n options = {\n maxBuffer: Infinity,\n ...options\n };\n const { maxBuffer: maxBuffer } = options;\n const stream = $3b66031bb5fa944b$exports(options);\n await new Promise((resolve, reject)=>{\n const rejectPromise = (error)=>{\n // Don't retrieve an oversized buffer.\n if (error && stream.getBufferedLength() <= $ae9d312d43a643b6$require$BufferConstants.MAX_LENGTH) error.bufferedData = stream.getBufferedValue();\n reject(error);\n };\n (async ()=>{\n try {\n await $ae9d312d43a643b6$var$streamPipelinePromisified(inputStream, stream);\n resolve();\n } catch (error) {\n rejectPromise(error);\n }\n })();\n stream.on(\"data\", ()=>{\n if (stream.getBufferedLength() > maxBuffer) rejectPromise(new $ae9d312d43a643b6$var$MaxBufferError());\n });\n });\n return stream.getBufferedValue();\n}\n$ae9d312d43a643b6$exports = $ae9d312d43a643b6$var$getStream;\n$ae9d312d43a643b6$exports.buffer = (stream, options)=>$ae9d312d43a643b6$var$getStream(stream, {\n ...options,\n encoding: \"buffer\"\n });\n$ae9d312d43a643b6$exports.array = (stream, options)=>$ae9d312d43a643b6$var$getStream(stream, {\n ...options,\n array: true\n });\n$ae9d312d43a643b6$exports.MaxBufferError = $ae9d312d43a643b6$var$MaxBufferError;\n\n\nvar $45f2e6c6711de6aa$exports = {};\n\"use strict\";\n\nvar $45f2e6c6711de6aa$require$PassThrough = $aEsRD$stream.PassThrough;\n$45f2e6c6711de6aa$exports = function() {\n var sources = [];\n var output = new $45f2e6c6711de6aa$require$PassThrough({\n objectMode: true\n });\n output.setMaxListeners(0);\n output.add = add;\n output.isEmpty = isEmpty;\n output.on(\"unpipe\", remove);\n Array.prototype.slice.call(arguments).forEach(add);\n return output;\n function add(source) {\n if (Array.isArray(source)) {\n source.forEach(add);\n return this;\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, {\n end: false\n });\n return this;\n }\n function isEmpty() {\n return sources.length == 0;\n }\n function remove(source) {\n sources = sources.filter(function(it) {\n return it !== source;\n });\n if (!sources.length && output.readable) output.end();\n }\n};\n\n\n// `input` option\nconst $b0d5e2746bb5c96a$var$handleInput = (spawned, input)=>{\n // Checking for stdin is workaround for https://github.com/nodejs/node/issues/26852\n // @todo remove `|| spawned.stdin === undefined` once we drop support for Node.js <=12.2.0\n if (input === undefined || spawned.stdin === undefined) return;\n if ($ed67b9639b1dec43$exports(input)) input.pipe(spawned.stdin);\n else spawned.stdin.end(input);\n};\n// `all` interleaves `stdout` and `stderr`\nconst $b0d5e2746bb5c96a$var$makeAllStream = (spawned, { all: all })=>{\n if (!all || !spawned.stdout && !spawned.stderr) return;\n const mixed = $45f2e6c6711de6aa$exports();\n if (spawned.stdout) mixed.add(spawned.stdout);\n if (spawned.stderr) mixed.add(spawned.stderr);\n return mixed;\n};\n// On failure, `result.stdout|stderr|all` should contain the currently buffered stream\nconst $b0d5e2746bb5c96a$var$getBufferedData = async (stream, streamPromise)=>{\n if (!stream) return;\n stream.destroy();\n try {\n return await streamPromise;\n } catch (error) {\n return error.bufferedData;\n }\n};\nconst $b0d5e2746bb5c96a$var$getStreamPromise = (stream, { encoding: encoding, buffer: buffer, maxBuffer: maxBuffer })=>{\n if (!stream || !buffer) return;\n if (encoding) return $ae9d312d43a643b6$exports(stream, {\n encoding: encoding,\n maxBuffer: maxBuffer\n });\n return $ae9d312d43a643b6$exports.buffer(stream, {\n maxBuffer: maxBuffer\n });\n};\n// Retrieve result of child process: exit code, signal, error, streams (stdout/stderr/all)\nconst $b0d5e2746bb5c96a$var$getSpawnedResult = async ({ stdout: stdout, stderr: stderr, all: all }, { encoding: encoding, buffer: buffer, maxBuffer: maxBuffer }, processDone)=>{\n const stdoutPromise = $b0d5e2746bb5c96a$var$getStreamPromise(stdout, {\n encoding: encoding,\n buffer: buffer,\n maxBuffer: maxBuffer\n });\n const stderrPromise = $b0d5e2746bb5c96a$var$getStreamPromise(stderr, {\n encoding: encoding,\n buffer: buffer,\n maxBuffer: maxBuffer\n });\n const allPromise = $b0d5e2746bb5c96a$var$getStreamPromise(all, {\n encoding: encoding,\n buffer: buffer,\n maxBuffer: maxBuffer * 2\n });\n try {\n return await Promise.all([\n processDone,\n stdoutPromise,\n stderrPromise,\n allPromise\n ]);\n } catch (error) {\n return Promise.all([\n {\n error: error,\n signal: error.signal,\n timedOut: error.timedOut\n },\n $b0d5e2746bb5c96a$var$getBufferedData(stdout, stdoutPromise),\n $b0d5e2746bb5c96a$var$getBufferedData(stderr, stderrPromise),\n $b0d5e2746bb5c96a$var$getBufferedData(all, allPromise)\n ]);\n }\n};\nconst $b0d5e2746bb5c96a$var$validateInputSync = ({ input: input })=>{\n if ($ed67b9639b1dec43$exports(input)) throw new TypeError(\"The `input` option cannot be a stream in sync mode\");\n};\n$b0d5e2746bb5c96a$exports = {\n handleInput: $b0d5e2746bb5c96a$var$handleInput,\n makeAllStream: $b0d5e2746bb5c96a$var$makeAllStream,\n getSpawnedResult: $b0d5e2746bb5c96a$var$getSpawnedResult,\n validateInputSync: $b0d5e2746bb5c96a$var$validateInputSync\n};\n\n\nvar $70a83b2e1b96a64d$require$handleInput = $b0d5e2746bb5c96a$exports.handleInput;\nvar $70a83b2e1b96a64d$require$getSpawnedResult = $b0d5e2746bb5c96a$exports.getSpawnedResult;\nvar $70a83b2e1b96a64d$require$makeAllStream = $b0d5e2746bb5c96a$exports.makeAllStream;\nvar $70a83b2e1b96a64d$require$validateInputSync = $b0d5e2746bb5c96a$exports.validateInputSync;\nvar $e78d87ef19026490$exports = {};\n\"use strict\";\nconst $e78d87ef19026490$var$nativePromisePrototype = (async ()=>{})().constructor.prototype;\nconst $e78d87ef19026490$var$descriptors = [\n \"then\",\n \"catch\",\n \"finally\"\n].map((property)=>[\n property,\n Reflect.getOwnPropertyDescriptor($e78d87ef19026490$var$nativePromisePrototype, property)\n ]);\n// The return value is a mixin of `childProcess` and `Promise`\nconst $e78d87ef19026490$var$mergePromise = (spawned, promise)=>{\n for (const [property, descriptor] of $e78d87ef19026490$var$descriptors){\n // Starting the main `promise` is deferred to avoid consuming streams\n const value = typeof promise === \"function\" ? (...args)=>Reflect.apply(descriptor.value, promise(), args) : descriptor.value.bind(promise);\n Reflect.defineProperty(spawned, property, {\n ...descriptor,\n value: value\n });\n }\n return spawned;\n};\n// Use promises instead of `child_process` events\nconst $e78d87ef19026490$var$getSpawnedPromise = (spawned)=>{\n return new Promise((resolve, reject)=>{\n spawned.on(\"exit\", (exitCode, signal)=>{\n resolve({\n exitCode: exitCode,\n signal: signal\n });\n });\n spawned.on(\"error\", (error)=>{\n reject(error);\n });\n if (spawned.stdin) spawned.stdin.on(\"error\", (error)=>{\n reject(error);\n });\n });\n};\n$e78d87ef19026490$exports = {\n mergePromise: $e78d87ef19026490$var$mergePromise,\n getSpawnedPromise: $e78d87ef19026490$var$getSpawnedPromise\n};\n\n\nvar $70a83b2e1b96a64d$require$mergePromise = $e78d87ef19026490$exports.mergePromise;\nvar $70a83b2e1b96a64d$require$getSpawnedPromise = $e78d87ef19026490$exports.getSpawnedPromise;\nvar $d43d60b4cb78c7f7$exports = {};\n\"use strict\";\nconst $d43d60b4cb78c7f7$var$normalizeArgs = (file, args = [])=>{\n if (!Array.isArray(args)) return [\n file\n ];\n return [\n file,\n ...args\n ];\n};\nconst $d43d60b4cb78c7f7$var$NO_ESCAPE_REGEXP = /^[\\w.-]+$/;\nconst $d43d60b4cb78c7f7$var$DOUBLE_QUOTES_REGEXP = /\"/g;\nconst $d43d60b4cb78c7f7$var$escapeArg = (arg)=>{\n if (typeof arg !== \"string\" || $d43d60b4cb78c7f7$var$NO_ESCAPE_REGEXP.test(arg)) return arg;\n return `\"${arg.replace($d43d60b4cb78c7f7$var$DOUBLE_QUOTES_REGEXP, '\\\\\"')}\"`;\n};\nconst $d43d60b4cb78c7f7$var$joinCommand = (file, args)=>{\n return $d43d60b4cb78c7f7$var$normalizeArgs(file, args).join(\" \");\n};\nconst $d43d60b4cb78c7f7$var$getEscapedCommand = (file, args)=>{\n return $d43d60b4cb78c7f7$var$normalizeArgs(file, args).map((arg)=>$d43d60b4cb78c7f7$var$escapeArg(arg)).join(\" \");\n};\nconst $d43d60b4cb78c7f7$var$SPACES_REGEXP = / +/g;\n// Handle `execa.command()`\nconst $d43d60b4cb78c7f7$var$parseCommand = (command)=>{\n const tokens = [];\n for (const token of command.trim().split($d43d60b4cb78c7f7$var$SPACES_REGEXP)){\n // Allow spaces to be escaped by a backslash if not meant as a delimiter\n const previousToken = tokens[tokens.length - 1];\n if (previousToken && previousToken.endsWith(\"\\\\\")) // Merge previous token with current one\n tokens[tokens.length - 1] = `${previousToken.slice(0, -1)} ${token}`;\n else tokens.push(token);\n }\n return tokens;\n};\n$d43d60b4cb78c7f7$exports = {\n joinCommand: $d43d60b4cb78c7f7$var$joinCommand,\n getEscapedCommand: $d43d60b4cb78c7f7$var$getEscapedCommand,\n parseCommand: $d43d60b4cb78c7f7$var$parseCommand\n};\n\n\nvar $70a83b2e1b96a64d$require$joinCommand = $d43d60b4cb78c7f7$exports.joinCommand;\nvar $70a83b2e1b96a64d$require$parseCommand = $d43d60b4cb78c7f7$exports.parseCommand;\nvar $70a83b2e1b96a64d$require$getEscapedCommand = $d43d60b4cb78c7f7$exports.getEscapedCommand;\nconst $70a83b2e1b96a64d$var$DEFAULT_MAX_BUFFER = 100000000;\nconst $70a83b2e1b96a64d$var$getEnv = ({ env: envOption, extendEnv: extendEnv, preferLocal: preferLocal, localDir: localDir, execPath: execPath })=>{\n const env = extendEnv ? {\n ...process.env,\n ...envOption\n } : envOption;\n if (preferLocal) return $a57f1e593a90c533$exports.env({\n env: env,\n cwd: localDir,\n execPath: execPath\n });\n return env;\n};\nconst $70a83b2e1b96a64d$var$handleArguments = (file, args, options = {})=>{\n const parsed = $35037cbcf60d645b$exports._parse(file, args, options);\n file = parsed.command;\n args = parsed.args;\n options = parsed.options;\n options = {\n maxBuffer: $70a83b2e1b96a64d$var$DEFAULT_MAX_BUFFER,\n buffer: true,\n stripFinalNewline: true,\n extendEnv: true,\n preferLocal: false,\n localDir: options.cwd || process.cwd(),\n execPath: process.execPath,\n encoding: \"utf8\",\n reject: true,\n cleanup: true,\n all: false,\n windowsHide: true,\n ...options\n };\n options.env = $70a83b2e1b96a64d$var$getEnv(options);\n options.stdio = $34684d08d10177ab$exports(options);\n if (process.platform === \"win32\" && $aEsRD$path.basename(file, \".exe\") === \"cmd\") // #116\n args.unshift(\"/q\");\n return {\n file: file,\n args: args,\n options: options,\n parsed: parsed\n };\n};\nconst $70a83b2e1b96a64d$var$handleOutput = (options, value, error)=>{\n if (typeof value !== \"string\" && !Buffer.isBuffer(value)) // When `execa.sync()` errors, we normalize it to '' to mimic `execa()`\n return error === undefined ? undefined : \"\";\n if (options.stripFinalNewline) return $de805666b9630fd4$exports(value);\n return value;\n};\nconst $70a83b2e1b96a64d$var$execa = (file, args, options)=>{\n const parsed = $70a83b2e1b96a64d$var$handleArguments(file, args, options);\n const command = $70a83b2e1b96a64d$require$joinCommand(file, args);\n const escapedCommand = $70a83b2e1b96a64d$require$getEscapedCommand(file, args);\n $70a83b2e1b96a64d$require$validateTimeout(parsed.options);\n let spawned;\n try {\n spawned = $aEsRD$child_process.spawn(parsed.file, parsed.args, parsed.options);\n } catch (error) {\n // Ensure the returned error is always both a promise and a child process\n const dummySpawned = new $aEsRD$child_process.ChildProcess();\n const errorPromise = Promise.reject($c5b2da1a08da1975$exports({\n error: error,\n stdout: \"\",\n stderr: \"\",\n all: \"\",\n command: command,\n escapedCommand: escapedCommand,\n parsed: parsed,\n timedOut: false,\n isCanceled: false,\n killed: false\n }));\n return $70a83b2e1b96a64d$require$mergePromise(dummySpawned, errorPromise);\n }\n const spawnedPromise = $70a83b2e1b96a64d$require$getSpawnedPromise(spawned);\n const timedPromise = $70a83b2e1b96a64d$require$setupTimeout(spawned, parsed.options, spawnedPromise);\n const processDone = $70a83b2e1b96a64d$require$setExitHandler(spawned, parsed.options, timedPromise);\n const context = {\n isCanceled: false\n };\n spawned.kill = $70a83b2e1b96a64d$require$spawnedKill.bind(null, spawned.kill.bind(spawned));\n spawned.cancel = $70a83b2e1b96a64d$require$spawnedCancel.bind(null, spawned, context);\n const handlePromise = async ()=>{\n const [{ error: error, exitCode: exitCode, signal: signal, timedOut: timedOut }, stdoutResult, stderrResult, allResult] = await $70a83b2e1b96a64d$require$getSpawnedResult(spawned, parsed.options, processDone);\n const stdout = $70a83b2e1b96a64d$var$handleOutput(parsed.options, stdoutResult);\n const stderr = $70a83b2e1b96a64d$var$handleOutput(parsed.options, stderrResult);\n const all = $70a83b2e1b96a64d$var$handleOutput(parsed.options, allResult);\n if (error || exitCode !== 0 || signal !== null) {\n const returnedError = $c5b2da1a08da1975$exports({\n error: error,\n exitCode: exitCode,\n signal: signal,\n stdout: stdout,\n stderr: stderr,\n all: all,\n command: command,\n escapedCommand: escapedCommand,\n parsed: parsed,\n timedOut: timedOut,\n isCanceled: context.isCanceled,\n killed: spawned.killed\n });\n if (!parsed.options.reject) return returnedError;\n throw returnedError;\n }\n return {\n command: command,\n escapedCommand: escapedCommand,\n exitCode: 0,\n stdout: stdout,\n stderr: stderr,\n all: all,\n failed: false,\n timedOut: false,\n isCanceled: false,\n killed: false\n };\n };\n const handlePromiseOnce = $08f783521984119f$exports(handlePromise);\n $70a83b2e1b96a64d$require$handleInput(spawned, parsed.options.input);\n spawned.all = $70a83b2e1b96a64d$require$makeAllStream(spawned, parsed.options);\n return $70a83b2e1b96a64d$require$mergePromise(spawned, handlePromiseOnce);\n};\n$70a83b2e1b96a64d$exports = $70a83b2e1b96a64d$var$execa;\n$70a83b2e1b96a64d$exports.sync = (file, args, options)=>{\n const parsed = $70a83b2e1b96a64d$var$handleArguments(file, args, options);\n const command = $70a83b2e1b96a64d$require$joinCommand(file, args);\n const escapedCommand = $70a83b2e1b96a64d$require$getEscapedCommand(file, args);\n $70a83b2e1b96a64d$require$validateInputSync(parsed.options);\n let result;\n try {\n result = $aEsRD$child_process.spawnSync(parsed.file, parsed.args, parsed.options);\n } catch (error) {\n throw $c5b2da1a08da1975$exports({\n error: error,\n stdout: \"\",\n stderr: \"\",\n all: \"\",\n command: command,\n escapedCommand: escapedCommand,\n parsed: parsed,\n timedOut: false,\n isCanceled: false,\n killed: false\n });\n }\n const stdout = $70a83b2e1b96a64d$var$handleOutput(parsed.options, result.stdout, result.error);\n const stderr = $70a83b2e1b96a64d$var$handleOutput(parsed.options, result.stderr, result.error);\n if (result.error || result.status !== 0 || result.signal !== null) {\n const error = $c5b2da1a08da1975$exports({\n stdout: stdout,\n stderr: stderr,\n error: result.error,\n signal: result.signal,\n exitCode: result.status,\n command: command,\n escapedCommand: escapedCommand,\n parsed: parsed,\n timedOut: result.error && result.error.code === \"ETIMEDOUT\",\n isCanceled: false,\n killed: result.signal !== null\n });\n if (!parsed.options.reject) return error;\n throw error;\n }\n return {\n command: command,\n escapedCommand: escapedCommand,\n exitCode: 0,\n stdout: stdout,\n stderr: stderr,\n failed: false,\n timedOut: false,\n isCanceled: false,\n killed: false\n };\n};\n$70a83b2e1b96a64d$exports.command = (command, options)=>{\n const [file, ...args] = $70a83b2e1b96a64d$require$parseCommand(command);\n return $70a83b2e1b96a64d$var$execa(file, args, options);\n};\n$70a83b2e1b96a64d$exports.commandSync = (command, options)=>{\n const [file, ...args] = $70a83b2e1b96a64d$require$parseCommand(command);\n return $70a83b2e1b96a64d$var$execa.sync(file, args, options);\n};\n$70a83b2e1b96a64d$exports.node = (scriptPath, args, options = {})=>{\n if (args && !Array.isArray(args) && typeof args === \"object\") {\n options = args;\n args = [];\n }\n const stdio = $34684d08d10177ab$exports.node(options);\n const defaultExecArgv = process.execArgv.filter((arg)=>!arg.startsWith(\"--inspect\"));\n const { nodePath: nodePath = process.execPath, nodeOptions: nodeOptions = defaultExecArgv } = options;\n return $70a83b2e1b96a64d$var$execa(nodePath, [\n ...nodeOptions,\n scriptPath,\n ...Array.isArray(args) ? args : []\n ], {\n ...options,\n stdin: undefined,\n stdout: undefined,\n stderr: undefined,\n stdio: stdio,\n shell: false\n });\n};\n\n\nfunction $041b20e97bdb3b21$export$7683bf1311d8252() {\n return (0, (/*@__PURE__*/$parcel$interopDefault($25a091d756ba0cd8$exports))).sync(\"sudo\", {\n nothrow: true\n }) !== null;\n}\nfunction $041b20e97bdb3b21$export$e3140dc7d0c35e48() {\n // TODO not all CI systems are root\n return process.getuid?.() === 0 || Boolean(process.env.CI);\n}\nfunction $041b20e97bdb3b21$export$316200228f28b8ce() {\n return $041b20e97bdb3b21$export$e3140dc7d0c35e48() && $041b20e97bdb3b21$export$7683bf1311d8252();\n}\nfunction $041b20e97bdb3b21$export$d976d47922ae9667(command) {\n if ($041b20e97bdb3b21$export$316200228f28b8ce()) return `sudo ${command}`;\n return command;\n}\nconst $041b20e97bdb3b21$export$151aeb0ade3989e1 = {\n stdio: \"inherit\",\n shell: true\n};\nfunction $041b20e97bdb3b21$export$58f152936f209932(program, args = [], execOptions = $041b20e97bdb3b21$export$151aeb0ade3989e1) {\n if ($041b20e97bdb3b21$export$316200228f28b8ce()) return $70a83b2e1b96a64d$exports.commandSync(`sudo ${[\n program,\n ...args\n ].map((arg)=>`'${arg}'`).join(\" \")}`, execOptions);\n else return $70a83b2e1b96a64d$exports.sync(program, args, execOptions);\n}\nfunction $041b20e97bdb3b21$export$351270479e2eef26(program, args = [], execOptions = $041b20e97bdb3b21$export$151aeb0ade3989e1) {\n if ($041b20e97bdb3b21$export$316200228f28b8ce()) return $70a83b2e1b96a64d$exports.command(`sudo ${[\n program,\n ...args\n ].map((arg)=>`'${arg}'`).join(\" \")}`, execOptions);\n else return (/*@__PURE__*/$parcel$interopDefault($70a83b2e1b96a64d$exports))(program, args, execOptions);\n}\n\n\n// From `is-admin`: removed `node:proces` so that the code works on Deno and Node 12\n// cspell:disable\n\n// https://stackoverflow.com/a/28268802\nasync function $d12ba61957480349$var$testFltmc() {\n try {\n await (0, (/*@__PURE__*/$parcel$interopDefault($70a83b2e1b96a64d$exports)))(\"fltmc\");\n return true;\n } catch {\n return false;\n }\n}\nasync function $d12ba61957480349$export$2e2bcd8739ae039() {\n if (process.platform !== \"win32\") return false;\n try {\n // https://stackoverflow.com/a/21295806/1641422\n await (0, (/*@__PURE__*/$parcel$interopDefault($70a83b2e1b96a64d$exports)))(\"fsutil\", [\n \"dirty\",\n \"query\",\n process.env.systemdrive ?? \"\"\n ]);\n return true;\n } catch (error) {\n if (error.code === \"ENOENT\") return $d12ba61957480349$var$testFltmc();\n return false;\n }\n}\n\n\n\nconst $37b930b9b990d503$export$36ad181701cee597 = (0, $d12ba61957480349$export$2e2bcd8739ae039);\nconst $37b930b9b990d503$export$2ebf12717e6b5bb8 = (0, $041b20e97bdb3b21$export$e3140dc7d0c35e48);\nfunction $37b930b9b990d503$export$fc970ed23da99565() {\n if (process.platform === \"win32\") return $37b930b9b990d503$export$36ad181701cee597();\n else return (0, $041b20e97bdb3b21$export$e3140dc7d0c35e48)();\n}\n\n\n\n\n\nasync function $7fee9a3419973cea$export$4718e061a205eab(path) {\n if (((0, ($parcel$interopDefault($aEsRD$process))).platform === \"linux\" || (0, ($parcel$interopDefault($aEsRD$process))).platform === \"darwin\") && (0, $041b20e97bdb3b21$export$316200228f28b8ce)() && (0, ($parcel$interopDefault($aEsRD$process))).env.SUDO_USER !== undefined) {\n const isDirectory = (0, $aEsRD$fs.statSync)(path).isDirectory();\n await (0, $041b20e97bdb3b21$export$351270479e2eef26)(\"chown\", [\n ...isDirectory ? [\n \"-R\"\n ] : [],\n (0, ($parcel$interopDefault($aEsRD$process))).env.SUDO_USER,\n path\n ], (0, $041b20e97bdb3b21$export$151aeb0ade3989e1));\n }\n}\n\n\n\n\nfunction $9affb3cfb96595a9$export$8312d9eeba321950(path) {\n if ((0, $041b20e97bdb3b21$export$316200228f28b8ce)() && typeof process.env.SUDO_USER === \"string\") {\n // use the user profile even if root\n if (process.platform === \"darwin\") return (0, $aEsRD$path.join)(\"/Users/\", process.env.SUDO_USER, path);\n else return (0, $aEsRD$path.join)(\"/home/\", process.env.SUDO_USER, path);\n } else return (0, (/*@__PURE__*/$parcel$interopDefault($adc9e3ad423b7cee$exports)))(`~/${path}`);\n}\n\n\n\nvar $7Lz0k = parcelRequire(\"7Lz0k\");\nvar $d113d4980aed7e26$exports = {};\n\"use strict\";\n\n\nvar $e5sHV = parcelRequire(\"e5sHV\");\n\n\n\n\n/******************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */ /* global Reflect, Promise */ function $d113d4980aed7e26$var$__awaiter(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n}\nfunction $d113d4980aed7e26$var$__generator(thisArg, body) {\n var _ = {\n label: 0,\n sent: function() {\n if (t[0] & 1) throw t[1];\n return t[1];\n },\n trys: [],\n ops: []\n }, f, y, t, g;\n return g = {\n next: verb(0),\n \"throw\": verb(1),\n \"return\": verb(2)\n }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() {\n return this;\n }), g;\n function verb(n) {\n return function(v) {\n return step([\n n,\n v\n ]);\n };\n }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while(g && (g = 0, op[0] && (_ = 0)), _)try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [\n op[0] & 2,\n t.value\n ];\n switch(op[0]){\n case 0:\n case 1:\n t = op;\n break;\n case 4:\n _.label++;\n return {\n value: op[1],\n done: false\n };\n case 5:\n _.label++;\n y = op[1];\n op = [\n 0\n ];\n continue;\n case 7:\n op = _.ops.pop();\n _.trys.pop();\n continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {\n _ = 0;\n continue;\n }\n if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {\n _.label = op[1];\n break;\n }\n if (op[0] === 6 && _.label < t[1]) {\n _.label = t[1];\n t = op;\n break;\n }\n if (t && _.label < t[2]) {\n _.label = t[2];\n _.ops.push(op);\n break;\n }\n if (t[2]) _.ops.pop();\n _.trys.pop();\n continue;\n }\n op = body.call(thisArg, _);\n } catch (e) {\n op = [\n 6,\n e\n ];\n y = 0;\n } finally{\n f = t = 0;\n }\n if (op[0] & 5) throw op[1];\n return {\n value: op[0] ? op[1] : void 0,\n done: true\n };\n }\n}\nvar $d113d4980aed7e26$var$packageJson = $aEsRD$process.env.npm_package_json;\nvar $d113d4980aed7e26$var$userAgent = $aEsRD$process.env.npm_config_user_agent;\nvar $d113d4980aed7e26$var$isNpm6 = Boolean($d113d4980aed7e26$var$userAgent && $d113d4980aed7e26$var$userAgent.startsWith(\"npm\"));\nvar $d113d4980aed7e26$var$isNpm7 = Boolean($d113d4980aed7e26$var$packageJson && $d113d4980aed7e26$var$packageJson.endsWith(\"package.json\"));\nvar $d113d4980aed7e26$var$isNpm = $d113d4980aed7e26$var$isNpm6 || $d113d4980aed7e26$var$isNpm7;\nvar $d113d4980aed7e26$var$isYarn = Boolean($d113d4980aed7e26$var$userAgent && $d113d4980aed7e26$var$userAgent.startsWith(\"yarn\"));\nvar $d113d4980aed7e26$var$isNpmOrYarn = $d113d4980aed7e26$var$isNpm || $d113d4980aed7e26$var$isYarn;\nvar $d113d4980aed7e26$var$homeDirectory = $aEsRD$os.homedir();\nvar $d113d4980aed7e26$var$configDir = process.env.XDG_CONFIG_HOME || $aEsRD$path.join($d113d4980aed7e26$var$homeDirectory, \".config\", \"simple-update-notifier\");\nvar $d113d4980aed7e26$var$getConfigFile = function(packageName) {\n return $aEsRD$path.join($d113d4980aed7e26$var$configDir, \"\".concat(packageName.replace(\"@\", \"\").replace(\"/\", \"__\"), \".json\"));\n};\nvar $d113d4980aed7e26$var$createConfigDir = function() {\n if (!$aEsRD$fs.existsSync($d113d4980aed7e26$var$configDir)) $aEsRD$fs.mkdirSync($d113d4980aed7e26$var$configDir, {\n recursive: true\n });\n};\nvar $d113d4980aed7e26$var$getLastUpdate = function(packageName) {\n var configFile = $d113d4980aed7e26$var$getConfigFile(packageName);\n try {\n if (!$aEsRD$fs.existsSync(configFile)) return undefined;\n var file = JSON.parse($aEsRD$fs.readFileSync(configFile, \"utf8\"));\n return file.lastUpdateCheck;\n } catch (_a) {\n return undefined;\n }\n};\nvar $d113d4980aed7e26$var$saveLastUpdate = function(packageName) {\n var configFile = $d113d4980aed7e26$var$getConfigFile(packageName);\n $aEsRD$fs.writeFileSync(configFile, JSON.stringify({\n lastUpdateCheck: new Date().getTime()\n }));\n};\nvar $d113d4980aed7e26$var$getDistVersion = function(packageName, distTag) {\n return $d113d4980aed7e26$var$__awaiter(void 0, void 0, void 0, function() {\n var url;\n return $d113d4980aed7e26$var$__generator(this, function(_a) {\n url = \"https://registry.npmjs.org/-/package/\".concat(packageName, \"/dist-tags\");\n return [\n 2 /*return*/ ,\n new Promise(function(resolve, reject) {\n $aEsRD$https.get(url, function(res) {\n var body = \"\";\n res.on(\"data\", function(chunk) {\n return body += chunk;\n });\n res.on(\"end\", function() {\n try {\n var json = JSON.parse(body);\n var version = json[distTag];\n if (!version) reject(new Error(\"Error getting version\"));\n resolve(version);\n } catch (_a) {\n reject(new Error(\"Could not parse version response\"));\n }\n });\n }).on(\"error\", function(err) {\n return reject(err);\n });\n })\n ];\n });\n });\n};\nvar $d113d4980aed7e26$var$hasNewVersion = function(_a) {\n var pkg = _a.pkg, _b = _a.updateCheckInterval, updateCheckInterval = _b === void 0 ? 86400000 : _b, _c = _a.distTag, distTag = _c === void 0 ? \"latest\" : _c, alwaysRun = _a.alwaysRun, debug = _a.debug;\n return $d113d4980aed7e26$var$__awaiter(void 0, void 0, void 0, function() {\n var lastUpdateCheck, latestVersion;\n return $d113d4980aed7e26$var$__generator(this, function(_d) {\n switch(_d.label){\n case 0:\n $d113d4980aed7e26$var$createConfigDir();\n lastUpdateCheck = $d113d4980aed7e26$var$getLastUpdate(pkg.name);\n if (!(alwaysRun || !lastUpdateCheck || lastUpdateCheck < new Date().getTime() - updateCheckInterval)) return [\n 3 /*break*/ ,\n 2\n ];\n return [\n 4 /*yield*/ ,\n $d113d4980aed7e26$var$getDistVersion(pkg.name, distTag)\n ];\n case 1:\n latestVersion = _d.sent();\n $d113d4980aed7e26$var$saveLastUpdate(pkg.name);\n if ($e5sHV.gt(latestVersion, pkg.version)) return [\n 2 /*return*/ ,\n latestVersion\n ];\n else if (debug) console.error(\"Latest version (\".concat(latestVersion, \") not newer than current version (\").concat(pkg.version, \")\"));\n return [\n 3 /*break*/ ,\n 3\n ];\n case 2:\n if (debug) console.error(\"Too recent to check for a new update. simpleUpdateNotifier() interval set to \".concat(updateCheckInterval, \"ms but only \").concat(new Date().getTime() - lastUpdateCheck, \"ms since last check.\"));\n _d.label = 3;\n case 3:\n return [\n 2 /*return*/ ,\n false\n ];\n }\n });\n });\n};\nvar $d113d4980aed7e26$var$borderedText = function(text) {\n var lines = text.split(\"\\n\");\n var width = Math.max.apply(Math, lines.map(function(l) {\n return l.length;\n }));\n var res = [\n \"┌\".concat(\"─\".repeat(width + 2), \"┐\")\n ];\n for(var _i = 0, lines_1 = lines; _i < lines_1.length; _i++){\n var line = lines_1[_i];\n res.push(\"│ \".concat(line.padEnd(width), \" │\"));\n }\n res.push(\"└\".concat(\"─\".repeat(width + 2), \"┘\"));\n return res.join(\"\\n\");\n};\nvar $d113d4980aed7e26$var$simpleUpdateNotifier = function(args) {\n return $d113d4980aed7e26$var$__awaiter(void 0, void 0, void 0, function() {\n var latestVersion, err_1;\n return $d113d4980aed7e26$var$__generator(this, function(_a) {\n switch(_a.label){\n case 0:\n if (!args.alwaysRun && (!process.stdout.isTTY || $d113d4980aed7e26$var$isNpmOrYarn && !args.shouldNotifyInNpmScript)) {\n if (args.debug) console.error(\"Opting out of running simpleUpdateNotifier()\");\n return [\n 2 /*return*/ \n ];\n }\n _a.label = 1;\n case 1:\n _a.trys.push([\n 1,\n 3,\n ,\n 4\n ]);\n return [\n 4 /*yield*/ ,\n $d113d4980aed7e26$var$hasNewVersion(args)\n ];\n case 2:\n latestVersion = _a.sent();\n if (latestVersion) console.error($d113d4980aed7e26$var$borderedText(\"New version of \".concat(args.pkg.name, \" available!\\nCurrent Version: \").concat(args.pkg.version, \"\\nLatest Version: \").concat(latestVersion)));\n return [\n 3 /*break*/ ,\n 4\n ];\n case 3:\n err_1 = _a.sent();\n // Catch any network errors or cache writing errors so module doesn't cause a crash\n if (args.debug && err_1 instanceof Error) console.error(\"Unexpected error in simpleUpdateNotifier():\", err_1);\n return [\n 3 /*break*/ ,\n 4\n ];\n case 4:\n return [\n 2 /*return*/ \n ];\n }\n });\n });\n};\n$d113d4980aed7e26$exports = $d113d4980aed7e26$var$simpleUpdateNotifier;\n\n\nvar $f0b84108a873516c$exports = {};\n$f0b84108a873516c$exports = JSON.parse('{\"name\":\"setup-cpp\",\"version\":\"0.36.1\"}');\n\n\nasync function $657b8b52854b1b18$export$31c6d94eb20a8ca7() {\n try {\n await (0, (/*@__PURE__*/$parcel$interopDefault($d113d4980aed7e26$exports)))({\n pkg: (0, (/*@__PURE__*/$parcel$interopDefault($f0b84108a873516c$exports)))\n });\n } catch (err) {\n (0, $7Lz0k.warning)(`Failed to check for updates: ${err instanceof Error ? err.message + err.stack : err}`);\n }\n}\n\n\n\nvar $i5trn = parcelRequire(\"i5trn\");\n\nvar $7Lz0k = parcelRequire(\"7Lz0k\");\nfunction $63fe5c2be456b1fb$var$toArr(any) {\n return any == null ? [] : Array.isArray(any) ? any : [\n any\n ];\n}\nfunction $63fe5c2be456b1fb$var$toVal(out, key, val, opts) {\n var x, old = out[key], nxt = !!~opts.string.indexOf(key) ? val == null || val === true ? \"\" : String(val) : typeof val === \"boolean\" ? val : !!~opts.boolean.indexOf(key) ? val === \"false\" ? false : val === \"true\" || (out._.push((x = +val, x * 0 === 0) ? x : val), !!val) : (x = +val, x * 0 === 0) ? x : val;\n out[key] = old == null ? nxt : Array.isArray(old) ? old.concat(nxt) : [\n old,\n nxt\n ];\n}\nfunction $63fe5c2be456b1fb$export$2e2bcd8739ae039(args, opts) {\n args = args || [];\n opts = opts || {};\n var k, arr, arg, name, val, out = {\n _: []\n };\n var i = 0, j = 0, idx = 0, len = args.length;\n const alibi = opts.alias !== void 0;\n const strict = opts.unknown !== void 0;\n const defaults = opts.default !== void 0;\n opts.alias = opts.alias || {};\n opts.string = $63fe5c2be456b1fb$var$toArr(opts.string);\n opts.boolean = $63fe5c2be456b1fb$var$toArr(opts.boolean);\n if (alibi) for(k in opts.alias){\n arr = opts.alias[k] = $63fe5c2be456b1fb$var$toArr(opts.alias[k]);\n for(i = 0; i < arr.length; i++)(opts.alias[arr[i]] = arr.concat(k)).splice(i, 1);\n }\n for(i = opts.boolean.length; i-- > 0;){\n arr = opts.alias[opts.boolean[i]] || [];\n for(j = arr.length; j-- > 0;)opts.boolean.push(arr[j]);\n }\n for(i = opts.string.length; i-- > 0;){\n arr = opts.alias[opts.string[i]] || [];\n for(j = arr.length; j-- > 0;)opts.string.push(arr[j]);\n }\n if (defaults) for(k in opts.default){\n name = typeof opts.default[k];\n arr = opts.alias[k] = opts.alias[k] || [];\n if (opts[name] !== void 0) {\n opts[name].push(k);\n for(i = 0; i < arr.length; i++)opts[name].push(arr[i]);\n }\n }\n const keys = strict ? Object.keys(opts.alias) : [];\n for(i = 0; i < len; i++){\n arg = args[i];\n if (arg === \"--\") {\n out._ = out._.concat(args.slice(++i));\n break;\n }\n for(j = 0; j < arg.length; j++){\n if (arg.charCodeAt(j) !== 45) break; // \"-\"\n }\n if (j === 0) out._.push(arg);\n else if (arg.substring(j, j + 3) === \"no-\") {\n name = arg.substring(j + 3);\n if (strict && !~keys.indexOf(name)) return opts.unknown(arg);\n out[name] = false;\n } else {\n for(idx = j + 1; idx < arg.length; idx++){\n if (arg.charCodeAt(idx) === 61) break; // \"=\"\n }\n name = arg.substring(j, idx);\n val = arg.substring(++idx) || i + 1 === len || (\"\" + args[i + 1]).charCodeAt(0) === 45 || args[++i];\n arr = j === 2 ? [\n name\n ] : name;\n for(idx = 0; idx < arr.length; idx++){\n name = arr[idx];\n if (strict && !~keys.indexOf(name)) return opts.unknown(\"-\".repeat(j) + name);\n $63fe5c2be456b1fb$var$toVal(out, name, idx + 1 < arr.length || val, opts);\n }\n }\n }\n if (defaults) {\n for(k in opts.default)if (out[k] === void 0) out[k] = opts.default[k];\n }\n if (alibi) for(k in out){\n arr = opts.alias[k] || [];\n while(arr.length > 0)out[arr.shift()] = out[k];\n }\n return out;\n}\n\n\n\n\nvar $2W4C2 = parcelRequire(\"2W4C2\");\n\nvar $i5trn = parcelRequire(\"i5trn\");\n\nvar $2W4C2 = parcelRequire(\"2W4C2\");\n\n\n\nvar $7Lz0k = parcelRequire(\"7Lz0k\");\n\n\n\n\n\nfunction $c7392f41763a188d$export$2e2bcd8739ae039(input) {\n const LF = typeof input === \"string\" ? \"\\n\" : \"\\n\".charCodeAt();\n const CR = typeof input === \"string\" ? \"\\r\" : \"\\r\".charCodeAt();\n if (input[input.length - 1] === LF) input = input.slice(0, -1);\n if (input[input.length - 1] === CR) input = input.slice(0, -1);\n return input;\n}\n\n\n\n\n\nfunction $950ce51339d67d58$export$2e2bcd8739ae039(options = {}) {\n const { env: env = process.env, platform: platform = process.platform } = options;\n if (platform !== \"win32\") return \"PATH\";\n return Object.keys(env).reverse().find((key)=>key.toUpperCase() === \"PATH\") || \"Path\";\n}\n\n\nfunction $913e7d2d6f0db996$export$62a298cbef08d65c(options = {}) {\n const { cwd: cwd = (0, ($parcel$interopDefault($aEsRD$nodeprocess))).cwd(), path: path_ = (0, ($parcel$interopDefault($aEsRD$nodeprocess))).env[(0, $950ce51339d67d58$export$2e2bcd8739ae039)()], execPath: execPath = (0, ($parcel$interopDefault($aEsRD$nodeprocess))).execPath } = options;\n let previous;\n const cwdString = cwd instanceof URL ? (0, ($parcel$interopDefault($aEsRD$nodeurl))).fileURLToPath(cwd) : cwd;\n let cwdPath = (0, ($parcel$interopDefault($aEsRD$nodepath))).resolve(cwdString);\n const result = [];\n while(previous !== cwdPath){\n result.push((0, ($parcel$interopDefault($aEsRD$nodepath))).join(cwdPath, \"node_modules/.bin\"));\n previous = cwdPath;\n cwdPath = (0, ($parcel$interopDefault($aEsRD$nodepath))).resolve(cwdPath, \"..\");\n }\n // Ensure the running `node` binary is used.\n result.push((0, ($parcel$interopDefault($aEsRD$nodepath))).resolve(cwdString, execPath, \"..\"));\n return [\n ...result,\n path_\n ].join((0, ($parcel$interopDefault($aEsRD$nodepath))).delimiter);\n}\nfunction $913e7d2d6f0db996$export$340e1fbaac04248b({ env: env = (0, ($parcel$interopDefault($aEsRD$nodeprocess))).env, ...options } = {}) {\n env = {\n ...env\n };\n const path = (0, $950ce51339d67d58$export$2e2bcd8739ae039)({\n env: env\n });\n options.path = env[path];\n env[path] = $913e7d2d6f0db996$export$62a298cbef08d65c(options);\n return env;\n}\n\n\nconst $0fd4ab3c05c9b7a8$var$copyProperty = (to, from, property, ignoreNonConfigurable)=>{\n // `Function#length` should reflect the parameters of `to` not `from` since we keep its body.\n // `Function#prototype` is non-writable and non-configurable so can never be modified.\n if (property === \"length\" || property === \"prototype\") return;\n // `Function#arguments` and `Function#caller` should not be copied. They were reported to be present in `Reflect.ownKeys` for some devices in React Native (#41), so we explicitly ignore them here.\n if (property === \"arguments\" || property === \"caller\") return;\n const toDescriptor = Object.getOwnPropertyDescriptor(to, property);\n const fromDescriptor = Object.getOwnPropertyDescriptor(from, property);\n if (!$0fd4ab3c05c9b7a8$var$canCopyProperty(toDescriptor, fromDescriptor) && ignoreNonConfigurable) return;\n Object.defineProperty(to, property, fromDescriptor);\n};\n// `Object.defineProperty()` throws if the property exists, is not configurable and either:\n// - one its descriptors is changed\n// - it is non-writable and its value is changed\nconst $0fd4ab3c05c9b7a8$var$canCopyProperty = function(toDescriptor, fromDescriptor) {\n return toDescriptor === undefined || toDescriptor.configurable || toDescriptor.writable === fromDescriptor.writable && toDescriptor.enumerable === fromDescriptor.enumerable && toDescriptor.configurable === fromDescriptor.configurable && (toDescriptor.writable || toDescriptor.value === fromDescriptor.value);\n};\nconst $0fd4ab3c05c9b7a8$var$changePrototype = (to, from)=>{\n const fromPrototype = Object.getPrototypeOf(from);\n if (fromPrototype === Object.getPrototypeOf(to)) return;\n Object.setPrototypeOf(to, fromPrototype);\n};\nconst $0fd4ab3c05c9b7a8$var$wrappedToString = (withName, fromBody)=>`/* Wrapped ${withName}*/\\n${fromBody}`;\nconst $0fd4ab3c05c9b7a8$var$toStringDescriptor = Object.getOwnPropertyDescriptor(Function.prototype, \"toString\");\nconst $0fd4ab3c05c9b7a8$var$toStringName = Object.getOwnPropertyDescriptor(Function.prototype.toString, \"name\");\n// We call `from.toString()` early (not lazily) to ensure `from` can be garbage collected.\n// We use `bind()` instead of a closure for the same reason.\n// Calling `from.toString()` early also allows caching it in case `to.toString()` is called several times.\nconst $0fd4ab3c05c9b7a8$var$changeToString = (to, from, name)=>{\n const withName = name === \"\" ? \"\" : `with ${name.trim()}() `;\n const newToString = $0fd4ab3c05c9b7a8$var$wrappedToString.bind(null, withName, from.toString());\n // Ensure `to.toString.toString` is non-enumerable and has the same `same`\n Object.defineProperty(newToString, \"name\", $0fd4ab3c05c9b7a8$var$toStringName);\n Object.defineProperty(to, \"toString\", {\n ...$0fd4ab3c05c9b7a8$var$toStringDescriptor,\n value: newToString\n });\n};\nfunction $0fd4ab3c05c9b7a8$export$2e2bcd8739ae039(to, from, { ignoreNonConfigurable: ignoreNonConfigurable = false } = {}) {\n const { name: name } = to;\n for (const property of Reflect.ownKeys(from))$0fd4ab3c05c9b7a8$var$copyProperty(to, from, property, ignoreNonConfigurable);\n $0fd4ab3c05c9b7a8$var$changePrototype(to, from);\n $0fd4ab3c05c9b7a8$var$changeToString(to, from, name);\n return to;\n}\n\n\nconst $907d562b73b0848f$var$calledFunctions = new WeakMap();\nconst $907d562b73b0848f$var$onetime = (function_, options = {})=>{\n if (typeof function_ !== \"function\") throw new TypeError(\"Expected a function\");\n let returnValue;\n let callCount = 0;\n const functionName = function_.displayName || function_.name || \"\";\n const onetime = function(...arguments_) {\n $907d562b73b0848f$var$calledFunctions.set(onetime, ++callCount);\n if (callCount === 1) {\n returnValue = function_.apply(this, arguments_);\n function_ = null;\n } else if (options.throw === true) throw new Error(`Function \\`${functionName}\\` can only be called once`);\n return returnValue;\n };\n (0, $0fd4ab3c05c9b7a8$export$2e2bcd8739ae039)(onetime, function_);\n $907d562b73b0848f$var$calledFunctions.set(onetime, callCount);\n return onetime;\n};\n$907d562b73b0848f$var$onetime.callCount = (function_)=>{\n if (!$907d562b73b0848f$var$calledFunctions.has(function_)) throw new Error(`The given function \\`${function_.name}\\` is not wrapped by the \\`onetime\\` package`);\n return $907d562b73b0848f$var$calledFunctions.get(function_);\n};\nvar $907d562b73b0848f$export$2e2bcd8739ae039 = $907d562b73b0848f$var$onetime;\n\n\n\nconst $7488a5b407c67a2c$export$e221a98f4fd84d36 = ()=>{\n const length = $7488a5b407c67a2c$export$dc8812f2f8882ff4 - $7488a5b407c67a2c$var$SIGRTMIN + 1;\n return Array.from({\n length: length\n }, $7488a5b407c67a2c$var$getRealtimeSignal);\n};\nconst $7488a5b407c67a2c$var$getRealtimeSignal = (value, index)=>({\n name: `SIGRT${index + 1}`,\n number: $7488a5b407c67a2c$var$SIGRTMIN + index,\n action: \"terminate\",\n description: \"Application-specific signal (realtime)\",\n standard: \"posix\"\n });\nconst $7488a5b407c67a2c$var$SIGRTMIN = 34;\nconst $7488a5b407c67a2c$export$dc8812f2f8882ff4 = 64;\n\n\n\nconst $7890a39df8f2e461$export$a43bf6822cc694af = [\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: \"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\n\n\nconst $9f93231339bd7ff3$export$c50078d4faa171f0 = ()=>{\n const realtimeSignals = (0, $7488a5b407c67a2c$export$e221a98f4fd84d36)();\n const signals = [\n ...(0, $7890a39df8f2e461$export$a43bf6822cc694af),\n ...realtimeSignals\n ].map($9f93231339bd7ff3$var$normalizeSignal);\n return signals;\n};\nconst $9f93231339bd7ff3$var$normalizeSignal = ({ name: name, number: defaultNumber, description: description, action: action, forced: forced = false, standard: standard })=>{\n const { signals: { [name]: constantSignal } } = (0, $aEsRD$nodeos.constants);\n const supported = constantSignal !== undefined;\n const number = supported ? constantSignal : defaultNumber;\n return {\n name: name,\n number: number,\n description: description,\n supported: supported,\n action: action,\n forced: forced,\n standard: standard\n };\n};\n\n\nconst $96cfbc3dd322c62c$var$getSignalsByName = ()=>{\n const signals = (0, $9f93231339bd7ff3$export$c50078d4faa171f0)();\n return Object.fromEntries(signals.map($96cfbc3dd322c62c$var$getSignalByName));\n};\nconst $96cfbc3dd322c62c$var$getSignalByName = ({ name: name, number: number, description: description, supported: supported, action: action, forced: forced, standard: standard })=>[\n name,\n {\n name: name,\n number: number,\n description: description,\n supported: supported,\n action: action,\n forced: forced,\n standard: standard\n }\n ];\nconst $96cfbc3dd322c62c$export$c3fcb39d6848c78d = $96cfbc3dd322c62c$var$getSignalsByName();\nconst $96cfbc3dd322c62c$var$getSignalsByNumber = ()=>{\n const signals = (0, $9f93231339bd7ff3$export$c50078d4faa171f0)();\n const length = (0, $7488a5b407c67a2c$export$dc8812f2f8882ff4) + 1;\n const signalsA = Array.from({\n length: length\n }, (value, number)=>$96cfbc3dd322c62c$var$getSignalByNumber(number, signals));\n return Object.assign({}, ...signalsA);\n};\nconst $96cfbc3dd322c62c$var$getSignalByNumber = (number, signals)=>{\n const signal = $96cfbc3dd322c62c$var$findSignalByNumber(number, signals);\n if (signal === undefined) return {};\n const { name: name, description: description, supported: supported, action: action, forced: forced, standard: standard } = signal;\n return {\n [number]: {\n name: name,\n number: number,\n description: description,\n supported: supported,\n action: action,\n forced: forced,\n standard: standard\n }\n };\n};\nconst $96cfbc3dd322c62c$var$findSignalByNumber = (number, signals)=>{\n const signal = signals.find(({ name: name })=>(0, $aEsRD$nodeos.constants).signals[name] === number);\n if (signal !== undefined) return signal;\n return signals.find((signalA)=>signalA.number === number);\n};\nconst $96cfbc3dd322c62c$export$12f57f97a08d2468 = $96cfbc3dd322c62c$var$getSignalsByNumber();\n\n\nconst $1030b36c9e57d9d7$var$getErrorPrefix = ({ timedOut: timedOut, timeout: timeout, errorCode: errorCode, signal: signal, signalDescription: signalDescription, exitCode: exitCode, isCanceled: isCanceled })=>{\n if (timedOut) return `timed out after ${timeout} milliseconds`;\n if (isCanceled) return \"was canceled\";\n if (errorCode !== undefined) return `failed with ${errorCode}`;\n if (signal !== undefined) return `was killed with ${signal} (${signalDescription})`;\n if (exitCode !== undefined) return `failed with exit code ${exitCode}`;\n return \"failed\";\n};\nconst $1030b36c9e57d9d7$export$5a4bb2b1c89bdce7 = ({ stdout: stdout, stderr: stderr, all: all, error: error, signal: signal, exitCode: exitCode, command: command, escapedCommand: escapedCommand, timedOut: timedOut, isCanceled: isCanceled, killed: killed, parsed: { options: { timeout: timeout } } })=>{\n // `signal` and `exitCode` emitted on `spawned.on('exit')` event can be `null`.\n // We normalize them to `undefined`\n exitCode = exitCode === null ? undefined : exitCode;\n signal = signal === null ? undefined : signal;\n const signalDescription = signal === undefined ? undefined : (0, $96cfbc3dd322c62c$export$c3fcb39d6848c78d)[signal].description;\n const errorCode = error && error.code;\n const prefix = $1030b36c9e57d9d7$var$getErrorPrefix({\n timedOut: timedOut,\n timeout: timeout,\n errorCode: errorCode,\n signal: signal,\n signalDescription: signalDescription,\n exitCode: exitCode,\n isCanceled: isCanceled\n });\n const execaMessage = `Command ${prefix}: ${command}`;\n const isError = Object.prototype.toString.call(error) === \"[object Error]\";\n const shortMessage = isError ? `${execaMessage}\\n${error.message}` : execaMessage;\n const message = [\n shortMessage,\n stderr,\n stdout\n ].filter(Boolean).join(\"\\n\");\n if (isError) {\n error.originalMessage = error.message;\n error.message = message;\n } else error = new Error(message);\n error.shortMessage = shortMessage;\n error.command = command;\n error.escapedCommand = escapedCommand;\n error.exitCode = exitCode;\n error.signal = signal;\n error.signalDescription = signalDescription;\n error.stdout = stdout;\n error.stderr = stderr;\n if (all !== undefined) error.all = all;\n if (\"bufferedData\" in error) delete error.bufferedData;\n error.failed = true;\n error.timedOut = Boolean(timedOut);\n error.isCanceled = isCanceled;\n error.killed = killed && !timedOut;\n return error;\n};\n\n\nconst $8eeb4d839e984fef$var$aliases = [\n \"stdin\",\n \"stdout\",\n \"stderr\"\n];\nconst $8eeb4d839e984fef$var$hasAlias = (options)=>$8eeb4d839e984fef$var$aliases.some((alias)=>options[alias] !== undefined);\nconst $8eeb4d839e984fef$export$a581401a57fac02e = (options)=>{\n if (!options) return;\n const { stdio: stdio } = options;\n if (stdio === undefined) return $8eeb4d839e984fef$var$aliases.map((alias)=>options[alias]);\n if ($8eeb4d839e984fef$var$hasAlias(options)) throw new Error(`It's not possible to provide \\`stdio\\` in combination with one of ${$8eeb4d839e984fef$var$aliases.map((alias)=>`\\`${alias}\\``).join(\", \")}`);\n if (typeof stdio === \"string\") return stdio;\n if (!Array.isArray(stdio)) throw new TypeError(`Expected \\`stdio\\` to be of type \\`string\\` or \\`Array\\`, got \\`${typeof stdio}\\``);\n const length = Math.max(stdio.length, $8eeb4d839e984fef$var$aliases.length);\n return Array.from({\n length: length\n }, (value, index)=>stdio[index]);\n};\nconst $8eeb4d839e984fef$export$889423b478ae2ba = (options)=>{\n const stdio = $8eeb4d839e984fef$export$a581401a57fac02e(options);\n if (stdio === \"ipc\") return \"ipc\";\n if (stdio === undefined || typeof stdio === \"string\") return [\n stdio,\n stdio,\n stdio,\n \"ipc\"\n ];\n if (stdio.includes(\"ipc\")) return stdio;\n return [\n ...stdio,\n \"ipc\"\n ];\n};\n\n\n\n\nconst $39506ca9f5cd4d8d$var$DEFAULT_FORCE_KILL_TIMEOUT = 5000;\nconst $39506ca9f5cd4d8d$export$971fa1b57c7f00b = (kill, signal = \"SIGTERM\", options = {})=>{\n const killResult = kill(signal);\n $39506ca9f5cd4d8d$var$setKillTimeout(kill, signal, options, killResult);\n return killResult;\n};\nconst $39506ca9f5cd4d8d$var$setKillTimeout = (kill, signal, options, killResult)=>{\n if (!$39506ca9f5cd4d8d$var$shouldForceKill(signal, options, killResult)) return;\n const timeout = $39506ca9f5cd4d8d$var$getForceKillAfterTimeout(options);\n const t = setTimeout(()=>{\n kill(\"SIGKILL\");\n }, timeout);\n // Guarded because there's no `.unref()` when `execa` is used in the renderer\n // process in Electron. This cannot be tested since we don't run tests in\n // Electron.\n // istanbul ignore else\n if (t.unref) t.unref();\n};\nconst $39506ca9f5cd4d8d$var$shouldForceKill = (signal, { forceKillAfterTimeout: forceKillAfterTimeout }, killResult)=>$39506ca9f5cd4d8d$var$isSigterm(signal) && forceKillAfterTimeout !== false && killResult;\nconst $39506ca9f5cd4d8d$var$isSigterm = (signal)=>signal === (0, ($parcel$interopDefault($aEsRD$nodeos))).constants.signals.SIGTERM || typeof signal === \"string\" && signal.toUpperCase() === \"SIGTERM\";\nconst $39506ca9f5cd4d8d$var$getForceKillAfterTimeout = ({ forceKillAfterTimeout: forceKillAfterTimeout = true })=>{\n if (forceKillAfterTimeout === true) return $39506ca9f5cd4d8d$var$DEFAULT_FORCE_KILL_TIMEOUT;\n if (!Number.isFinite(forceKillAfterTimeout) || forceKillAfterTimeout < 0) throw new TypeError(`Expected the \\`forceKillAfterTimeout\\` option to be a non-negative integer, got \\`${forceKillAfterTimeout}\\` (${typeof forceKillAfterTimeout})`);\n return forceKillAfterTimeout;\n};\nconst $39506ca9f5cd4d8d$export$667e13cd9b70ca17 = (spawned, context)=>{\n const killResult = spawned.kill();\n if (killResult) context.isCanceled = true;\n};\nconst $39506ca9f5cd4d8d$var$timeoutKill = (spawned, signal, reject)=>{\n spawned.kill(signal);\n reject(Object.assign(new Error(\"Timed out\"), {\n timedOut: true,\n signal: signal\n }));\n};\nconst $39506ca9f5cd4d8d$export$6bcc98999eb82896 = (spawned, { timeout: timeout, killSignal: killSignal = \"SIGTERM\" }, spawnedPromise)=>{\n if (timeout === 0 || timeout === undefined) return spawnedPromise;\n let timeoutId;\n const timeoutPromise = new Promise((resolve, reject)=>{\n timeoutId = setTimeout(()=>{\n $39506ca9f5cd4d8d$var$timeoutKill(spawned, killSignal, reject);\n }, timeout);\n });\n const safeSpawnedPromise = spawnedPromise.finally(()=>{\n clearTimeout(timeoutId);\n });\n return Promise.race([\n timeoutPromise,\n safeSpawnedPromise\n ]);\n};\nconst $39506ca9f5cd4d8d$export$3186f8866f616f9f = ({ timeout: timeout })=>{\n if (timeout !== undefined && (!Number.isFinite(timeout) || timeout < 0)) throw new TypeError(`Expected the \\`timeout\\` option to be a non-negative integer, got \\`${timeout}\\` (${typeof timeout})`);\n};\nconst $39506ca9f5cd4d8d$export$79fc3056c9ca4ada = async (spawned, { cleanup: cleanup, detached: detached }, timedPromise)=>{\n if (!cleanup || detached) return timedPromise;\n const removeExitHandler = (0, (/*@__PURE__*/$parcel$interopDefault($7274790eb12a7292$exports)))(()=>{\n spawned.kill();\n });\n return timedPromise.finally(()=>{\n removeExitHandler();\n });\n};\n\n\n\n\nfunction $9c62e0616ba21007$export$294a92d8f7b3979(stream) {\n return stream !== null && typeof stream === \"object\" && typeof stream.pipe === \"function\";\n}\nfunction $9c62e0616ba21007$export$b58a61c52edb4f66(stream) {\n return $9c62e0616ba21007$export$294a92d8f7b3979(stream) && stream.writable !== false && typeof stream._write === \"function\" && typeof stream._writableState === \"object\";\n}\nfunction $9c62e0616ba21007$export$ac613ff475b69d05(stream) {\n return $9c62e0616ba21007$export$294a92d8f7b3979(stream) && stream.readable !== false && typeof stream._read === \"function\" && typeof stream._readableState === \"object\";\n}\nfunction $9c62e0616ba21007$export$f92d8ccfaec172d4(stream) {\n return $9c62e0616ba21007$export$b58a61c52edb4f66(stream) && $9c62e0616ba21007$export$ac613ff475b69d05(stream);\n}\nfunction $9c62e0616ba21007$export$3053cdc6f2e088fd(stream) {\n return $9c62e0616ba21007$export$f92d8ccfaec172d4(stream) && typeof stream._transform === \"function\";\n}\n\n\nconst $796bb105c0d126a8$var$isExecaChildProcess = (target)=>target instanceof (0, $aEsRD$nodechild_process.ChildProcess) && typeof target.then === \"function\";\nconst $796bb105c0d126a8$var$pipeToTarget = (spawned, streamName, target)=>{\n if (typeof target === \"string\") {\n spawned[streamName].pipe((0, $aEsRD$nodefs.createWriteStream)(target));\n return spawned;\n }\n if ((0, $9c62e0616ba21007$export$b58a61c52edb4f66)(target)) {\n spawned[streamName].pipe(target);\n return spawned;\n }\n if (!$796bb105c0d126a8$var$isExecaChildProcess(target)) throw new TypeError(\"The second argument must be a string, a stream or an Execa child process.\");\n if (!(0, $9c62e0616ba21007$export$b58a61c52edb4f66)(target.stdin)) throw new TypeError(\"The target child process's stdin must be available.\");\n spawned[streamName].pipe(target.stdin);\n return target;\n};\nconst $796bb105c0d126a8$export$14becf8d91886424 = (spawned)=>{\n if (spawned.stdout !== null) spawned.pipeStdout = $796bb105c0d126a8$var$pipeToTarget.bind(undefined, spawned, \"stdout\");\n if (spawned.stderr !== null) spawned.pipeStderr = $796bb105c0d126a8$var$pipeToTarget.bind(undefined, spawned, \"stderr\");\n if (spawned.all !== undefined) spawned.pipeAll = $796bb105c0d126a8$var$pipeToTarget.bind(undefined, spawned, \"all\");\n};\n\n\n\n\n\n\nconst $6d719b9b9aa83558$var$validateInputOptions = (input)=>{\n if (input !== undefined) throw new TypeError(\"The `input` and `inputFile` options cannot be both set.\");\n};\nconst $6d719b9b9aa83558$var$getInputSync = ({ input: input, inputFile: inputFile })=>{\n if (typeof inputFile !== \"string\") return input;\n $6d719b9b9aa83558$var$validateInputOptions(input);\n return (0, $aEsRD$nodefs.readFileSync)(inputFile);\n};\nconst $6d719b9b9aa83558$export$7f2f9b6457412b41 = (options)=>{\n const input = $6d719b9b9aa83558$var$getInputSync(options);\n if ((0, $9c62e0616ba21007$export$294a92d8f7b3979)(input)) throw new TypeError(\"The `input` option cannot be a stream in sync mode\");\n return input;\n};\nconst $6d719b9b9aa83558$var$getInput = ({ input: input, inputFile: inputFile })=>{\n if (typeof inputFile !== \"string\") return input;\n $6d719b9b9aa83558$var$validateInputOptions(input);\n return (0, $aEsRD$nodefs.createReadStream)(inputFile);\n};\nconst $6d719b9b9aa83558$export$412508d679148d5c = (spawned, options)=>{\n const input = $6d719b9b9aa83558$var$getInput(options);\n if (input === undefined) return;\n if ((0, $9c62e0616ba21007$export$294a92d8f7b3979)(input)) input.pipe(spawned.stdin);\n else spawned.stdin.end(input);\n};\nconst $6d719b9b9aa83558$export$41f5c0c12dadd6ae = (spawned, { all: all })=>{\n if (!all || !spawned.stdout && !spawned.stderr) return;\n const mixed = (0, (/*@__PURE__*/$parcel$interopDefault($45f2e6c6711de6aa$exports)))();\n if (spawned.stdout) mixed.add(spawned.stdout);\n if (spawned.stderr) mixed.add(spawned.stderr);\n return mixed;\n};\n// On failure, `result.stdout|stderr|all` should contain the currently buffered stream\nconst $6d719b9b9aa83558$var$getBufferedData = async (stream, streamPromise)=>{\n // When `buffer` is `false`, `streamPromise` is `undefined` and there is no buffered data to retrieve\n if (!stream || streamPromise === undefined) return;\n stream.destroy();\n try {\n return await streamPromise;\n } catch (error) {\n return error.bufferedData;\n }\n};\nconst $6d719b9b9aa83558$var$getStreamPromise = (stream, { encoding: encoding, buffer: buffer, maxBuffer: maxBuffer })=>{\n if (!stream || !buffer) return;\n if (encoding) return (0, (/*@__PURE__*/$parcel$interopDefault($ae9d312d43a643b6$exports)))(stream, {\n encoding: encoding,\n maxBuffer: maxBuffer\n });\n return (0, (/*@__PURE__*/$parcel$interopDefault($ae9d312d43a643b6$exports))).buffer(stream, {\n maxBuffer: maxBuffer\n });\n};\nconst $6d719b9b9aa83558$export$67b768ac9e1c70fa = async ({ stdout: stdout, stderr: stderr, all: all }, { encoding: encoding, buffer: buffer, maxBuffer: maxBuffer }, processDone)=>{\n const stdoutPromise = $6d719b9b9aa83558$var$getStreamPromise(stdout, {\n encoding: encoding,\n buffer: buffer,\n maxBuffer: maxBuffer\n });\n const stderrPromise = $6d719b9b9aa83558$var$getStreamPromise(stderr, {\n encoding: encoding,\n buffer: buffer,\n maxBuffer: maxBuffer\n });\n const allPromise = $6d719b9b9aa83558$var$getStreamPromise(all, {\n encoding: encoding,\n buffer: buffer,\n maxBuffer: maxBuffer * 2\n });\n try {\n return await Promise.all([\n processDone,\n stdoutPromise,\n stderrPromise,\n allPromise\n ]);\n } catch (error) {\n return Promise.all([\n {\n error: error,\n signal: error.signal,\n timedOut: error.timedOut\n },\n $6d719b9b9aa83558$var$getBufferedData(stdout, stdoutPromise),\n $6d719b9b9aa83558$var$getBufferedData(stderr, stderrPromise),\n $6d719b9b9aa83558$var$getBufferedData(all, allPromise)\n ]);\n }\n};\n\n\n// eslint-disable-next-line unicorn/prefer-top-level-await\nconst $b8f354b73d7dc4bc$var$nativePromisePrototype = (async ()=>{})().constructor.prototype;\nconst $b8f354b73d7dc4bc$var$descriptors = [\n \"then\",\n \"catch\",\n \"finally\"\n].map((property)=>[\n property,\n Reflect.getOwnPropertyDescriptor($b8f354b73d7dc4bc$var$nativePromisePrototype, property)\n ]);\nconst $b8f354b73d7dc4bc$export$e6eb0007fd542aba = (spawned, promise)=>{\n for (const [property, descriptor] of $b8f354b73d7dc4bc$var$descriptors){\n // Starting the main `promise` is deferred to avoid consuming streams\n const value = typeof promise === \"function\" ? (...args)=>Reflect.apply(descriptor.value, promise(), args) : descriptor.value.bind(promise);\n Reflect.defineProperty(spawned, property, {\n ...descriptor,\n value: value\n });\n }\n};\nconst $b8f354b73d7dc4bc$export$6e3a9b5342d42997 = (spawned)=>new Promise((resolve, reject)=>{\n spawned.on(\"exit\", (exitCode, signal)=>{\n resolve({\n exitCode: exitCode,\n signal: signal\n });\n });\n spawned.on(\"error\", (error)=>{\n reject(error);\n });\n if (spawned.stdin) spawned.stdin.on(\"error\", (error)=>{\n reject(error);\n });\n });\n\n\n\n\nconst $b715f882a790bd9d$var$normalizeArgs = (file, args = [])=>{\n if (!Array.isArray(args)) return [\n file\n ];\n return [\n file,\n ...args\n ];\n};\nconst $b715f882a790bd9d$var$NO_ESCAPE_REGEXP = /^[\\w.-]+$/;\nconst $b715f882a790bd9d$var$DOUBLE_QUOTES_REGEXP = /\"/g;\nconst $b715f882a790bd9d$var$escapeArg = (arg)=>{\n if (typeof arg !== \"string\" || $b715f882a790bd9d$var$NO_ESCAPE_REGEXP.test(arg)) return arg;\n return `\"${arg.replace($b715f882a790bd9d$var$DOUBLE_QUOTES_REGEXP, '\\\\\"')}\"`;\n};\nconst $b715f882a790bd9d$export$ab3db8fe5ebf3a1 = (file, args)=>$b715f882a790bd9d$var$normalizeArgs(file, args).join(\" \");\nconst $b715f882a790bd9d$export$9d3099014bd914f8 = (file, args)=>$b715f882a790bd9d$var$normalizeArgs(file, args).map((arg)=>$b715f882a790bd9d$var$escapeArg(arg)).join(\" \");\nconst $b715f882a790bd9d$var$SPACES_REGEXP = / +/g;\nconst $b715f882a790bd9d$export$78bcee23e0849f6a = (command)=>{\n const tokens = [];\n for (const token of command.trim().split($b715f882a790bd9d$var$SPACES_REGEXP)){\n // Allow spaces to be escaped by a backslash if not meant as a delimiter\n const previousToken = tokens[tokens.length - 1];\n if (previousToken && previousToken.endsWith(\"\\\\\")) // Merge previous token with current one\n tokens[tokens.length - 1] = `${previousToken.slice(0, -1)} ${token}`;\n else tokens.push(token);\n }\n return tokens;\n};\nconst $b715f882a790bd9d$var$parseExpression = (expression)=>{\n const typeOfExpression = typeof expression;\n if (typeOfExpression === \"string\") return expression;\n if (typeOfExpression === \"number\") return String(expression);\n if (typeOfExpression === \"object\" && expression !== null && !(expression instanceof (0, $aEsRD$nodechild_process.ChildProcess)) && \"stdout\" in expression) {\n const typeOfStdout = typeof expression.stdout;\n if (typeOfStdout === \"string\") return expression.stdout;\n if ((0, $aEsRD$nodebuffer.Buffer).isBuffer(expression.stdout)) return expression.stdout.toString();\n throw new TypeError(`Unexpected \"${typeOfStdout}\" stdout in template expression`);\n }\n throw new TypeError(`Unexpected \"${typeOfExpression}\" in template expression`);\n};\nconst $b715f882a790bd9d$var$concatTokens = (tokens, nextTokens, isNew)=>isNew || tokens.length === 0 || nextTokens.length === 0 ? [\n ...tokens,\n ...nextTokens\n ] : [\n ...tokens.slice(0, -1),\n `${tokens[tokens.length - 1]}${nextTokens[0]}`,\n ...nextTokens.slice(1)\n ];\nconst $b715f882a790bd9d$var$parseTemplate = ({ templates: templates, expressions: expressions, tokens: tokens, index: index, template: template })=>{\n const templateString = template ?? templates.raw[index];\n const templateTokens = templateString.split($b715f882a790bd9d$var$SPACES_REGEXP).filter(Boolean);\n const newTokens = $b715f882a790bd9d$var$concatTokens(tokens, templateTokens, templateString.startsWith(\" \"));\n if (index === expressions.length) return newTokens;\n const expression = expressions[index];\n const expressionTokens = Array.isArray(expression) ? expression.map((expression)=>$b715f882a790bd9d$var$parseExpression(expression)) : [\n $b715f882a790bd9d$var$parseExpression(expression)\n ];\n return $b715f882a790bd9d$var$concatTokens(newTokens, expressionTokens, templateString.endsWith(\" \"));\n};\nconst $b715f882a790bd9d$export$4a6ee54de9b0f25d = (templates, expressions)=>{\n let tokens = [];\n for (const [index, template] of templates.entries())tokens = $b715f882a790bd9d$var$parseTemplate({\n templates: templates,\n expressions: expressions,\n tokens: tokens,\n index: index,\n template: template\n });\n return tokens;\n};\n\n\n\n\nconst $0760d4b63133e0c0$export$38bb3c1fbaa0bdcf = (0, $aEsRD$nodeutil.debuglog)(\"execa\").enabled;\nconst $0760d4b63133e0c0$var$padField = (field, padding)=>String(field).padStart(padding, \"0\");\nconst $0760d4b63133e0c0$var$getTimestamp = ()=>{\n const date = new Date();\n return `${$0760d4b63133e0c0$var$padField(date.getHours(), 2)}:${$0760d4b63133e0c0$var$padField(date.getMinutes(), 2)}:${$0760d4b63133e0c0$var$padField(date.getSeconds(), 2)}.${$0760d4b63133e0c0$var$padField(date.getMilliseconds(), 3)}`;\n};\nconst $0760d4b63133e0c0$export$3bb886c4c1352118 = (escapedCommand, { verbose: verbose })=>{\n if (!verbose) return;\n (0, ($parcel$interopDefault($aEsRD$nodeprocess))).stderr.write(`[${$0760d4b63133e0c0$var$getTimestamp()}] ${escapedCommand}\\n`);\n};\n\n\nconst $3842d3f8db9a4507$var$DEFAULT_MAX_BUFFER = 100000000;\nconst $3842d3f8db9a4507$var$getEnv = ({ env: envOption, extendEnv: extendEnv, preferLocal: preferLocal, localDir: localDir, execPath: execPath })=>{\n const env = extendEnv ? {\n ...(0, ($parcel$interopDefault($aEsRD$nodeprocess))).env,\n ...envOption\n } : envOption;\n if (preferLocal) return (0, $913e7d2d6f0db996$export$340e1fbaac04248b)({\n env: env,\n cwd: localDir,\n execPath: execPath\n });\n return env;\n};\nconst $3842d3f8db9a4507$var$handleArguments = (file, args, options = {})=>{\n const parsed = (0, (/*@__PURE__*/$parcel$interopDefault($35037cbcf60d645b$exports)))._parse(file, args, options);\n file = parsed.command;\n args = parsed.args;\n options = parsed.options;\n options = {\n maxBuffer: $3842d3f8db9a4507$var$DEFAULT_MAX_BUFFER,\n buffer: true,\n stripFinalNewline: true,\n extendEnv: true,\n preferLocal: false,\n localDir: options.cwd || (0, ($parcel$interopDefault($aEsRD$nodeprocess))).cwd(),\n execPath: (0, ($parcel$interopDefault($aEsRD$nodeprocess))).execPath,\n encoding: \"utf8\",\n reject: true,\n cleanup: true,\n all: false,\n windowsHide: true,\n verbose: (0, $0760d4b63133e0c0$export$38bb3c1fbaa0bdcf),\n ...options\n };\n options.env = $3842d3f8db9a4507$var$getEnv(options);\n options.stdio = (0, $8eeb4d839e984fef$export$a581401a57fac02e)(options);\n if ((0, ($parcel$interopDefault($aEsRD$nodeprocess))).platform === \"win32\" && (0, ($parcel$interopDefault($aEsRD$nodepath))).basename(file, \".exe\") === \"cmd\") // #116\n args.unshift(\"/q\");\n return {\n file: file,\n args: args,\n options: options,\n parsed: parsed\n };\n};\nconst $3842d3f8db9a4507$var$handleOutput = (options, value, error)=>{\n if (typeof value !== \"string\" && !(0, $aEsRD$nodebuffer.Buffer).isBuffer(value)) // When `execaSync()` errors, we normalize it to '' to mimic `execa()`\n return error === undefined ? undefined : \"\";\n if (options.stripFinalNewline) return (0, $c7392f41763a188d$export$2e2bcd8739ae039)(value);\n return value;\n};\nfunction $3842d3f8db9a4507$export$db6b1668e3758717(file, args, options) {\n const parsed = $3842d3f8db9a4507$var$handleArguments(file, args, options);\n const command = (0, $b715f882a790bd9d$export$ab3db8fe5ebf3a1)(file, args);\n const escapedCommand = (0, $b715f882a790bd9d$export$9d3099014bd914f8)(file, args);\n (0, $0760d4b63133e0c0$export$3bb886c4c1352118)(escapedCommand, parsed.options);\n (0, $39506ca9f5cd4d8d$export$3186f8866f616f9f)(parsed.options);\n let spawned;\n try {\n spawned = (0, ($parcel$interopDefault($aEsRD$nodechild_process))).spawn(parsed.file, parsed.args, parsed.options);\n } catch (error) {\n // Ensure the returned error is always both a promise and a child process\n const dummySpawned = new (0, ($parcel$interopDefault($aEsRD$nodechild_process))).ChildProcess();\n const errorPromise = Promise.reject((0, $1030b36c9e57d9d7$export$5a4bb2b1c89bdce7)({\n error: error,\n stdout: \"\",\n stderr: \"\",\n all: \"\",\n command: command,\n escapedCommand: escapedCommand,\n parsed: parsed,\n timedOut: false,\n isCanceled: false,\n killed: false\n }));\n (0, $b8f354b73d7dc4bc$export$e6eb0007fd542aba)(dummySpawned, errorPromise);\n return dummySpawned;\n }\n const spawnedPromise = (0, $b8f354b73d7dc4bc$export$6e3a9b5342d42997)(spawned);\n const timedPromise = (0, $39506ca9f5cd4d8d$export$6bcc98999eb82896)(spawned, parsed.options, spawnedPromise);\n const processDone = (0, $39506ca9f5cd4d8d$export$79fc3056c9ca4ada)(spawned, parsed.options, timedPromise);\n const context = {\n isCanceled: false\n };\n spawned.kill = (0, $39506ca9f5cd4d8d$export$971fa1b57c7f00b).bind(null, spawned.kill.bind(spawned));\n spawned.cancel = (0, $39506ca9f5cd4d8d$export$667e13cd9b70ca17).bind(null, spawned, context);\n const handlePromise = async ()=>{\n const [{ error: error, exitCode: exitCode, signal: signal, timedOut: timedOut }, stdoutResult, stderrResult, allResult] = await (0, $6d719b9b9aa83558$export$67b768ac9e1c70fa)(spawned, parsed.options, processDone);\n const stdout = $3842d3f8db9a4507$var$handleOutput(parsed.options, stdoutResult);\n const stderr = $3842d3f8db9a4507$var$handleOutput(parsed.options, stderrResult);\n const all = $3842d3f8db9a4507$var$handleOutput(parsed.options, allResult);\n if (error || exitCode !== 0 || signal !== null) {\n const returnedError = (0, $1030b36c9e57d9d7$export$5a4bb2b1c89bdce7)({\n error: error,\n exitCode: exitCode,\n signal: signal,\n stdout: stdout,\n stderr: stderr,\n all: all,\n command: command,\n escapedCommand: escapedCommand,\n parsed: parsed,\n timedOut: timedOut,\n isCanceled: context.isCanceled || (parsed.options.signal ? parsed.options.signal.aborted : false),\n killed: spawned.killed\n });\n if (!parsed.options.reject) return returnedError;\n throw returnedError;\n }\n return {\n command: command,\n escapedCommand: escapedCommand,\n exitCode: 0,\n stdout: stdout,\n stderr: stderr,\n all: all,\n failed: false,\n timedOut: false,\n isCanceled: false,\n killed: false\n };\n };\n const handlePromiseOnce = (0, $907d562b73b0848f$export$2e2bcd8739ae039)(handlePromise);\n (0, $6d719b9b9aa83558$export$412508d679148d5c)(spawned, parsed.options);\n spawned.all = (0, $6d719b9b9aa83558$export$41f5c0c12dadd6ae)(spawned, parsed.options);\n (0, $796bb105c0d126a8$export$14becf8d91886424)(spawned);\n (0, $b8f354b73d7dc4bc$export$e6eb0007fd542aba)(spawned, handlePromiseOnce);\n return spawned;\n}\nfunction $3842d3f8db9a4507$export$28823a701bb5a12d(file, args, options) {\n const parsed = $3842d3f8db9a4507$var$handleArguments(file, args, options);\n const command = (0, $b715f882a790bd9d$export$ab3db8fe5ebf3a1)(file, args);\n const escapedCommand = (0, $b715f882a790bd9d$export$9d3099014bd914f8)(file, args);\n (0, $0760d4b63133e0c0$export$3bb886c4c1352118)(escapedCommand, parsed.options);\n const input = (0, $6d719b9b9aa83558$export$7f2f9b6457412b41)(parsed.options);\n let result;\n try {\n result = (0, ($parcel$interopDefault($aEsRD$nodechild_process))).spawnSync(parsed.file, parsed.args, {\n ...parsed.options,\n input: input\n });\n } catch (error) {\n throw (0, $1030b36c9e57d9d7$export$5a4bb2b1c89bdce7)({\n error: error,\n stdout: \"\",\n stderr: \"\",\n all: \"\",\n command: command,\n escapedCommand: escapedCommand,\n parsed: parsed,\n timedOut: false,\n isCanceled: false,\n killed: false\n });\n }\n const stdout = $3842d3f8db9a4507$var$handleOutput(parsed.options, result.stdout, result.error);\n const stderr = $3842d3f8db9a4507$var$handleOutput(parsed.options, result.stderr, result.error);\n if (result.error || result.status !== 0 || result.signal !== null) {\n const error = (0, $1030b36c9e57d9d7$export$5a4bb2b1c89bdce7)({\n stdout: stdout,\n stderr: stderr,\n error: result.error,\n signal: result.signal,\n exitCode: result.status,\n command: command,\n escapedCommand: escapedCommand,\n parsed: parsed,\n timedOut: result.error && result.error.code === \"ETIMEDOUT\",\n isCanceled: false,\n killed: result.signal !== null\n });\n if (!parsed.options.reject) return error;\n throw error;\n }\n return {\n command: command,\n escapedCommand: escapedCommand,\n exitCode: 0,\n stdout: stdout,\n stderr: stderr,\n failed: false,\n timedOut: false,\n isCanceled: false,\n killed: false\n };\n}\nconst $3842d3f8db9a4507$var$normalizeScriptStdin = ({ input: input, inputFile: inputFile, stdio: stdio })=>input === undefined && inputFile === undefined && stdio === undefined ? {\n stdin: \"inherit\"\n } : {};\nconst $3842d3f8db9a4507$var$normalizeScriptOptions = (options = {})=>({\n preferLocal: true,\n ...$3842d3f8db9a4507$var$normalizeScriptStdin(options),\n ...options\n });\nfunction $3842d3f8db9a4507$var$create$(options) {\n function $(templatesOrOptions, ...expressions) {\n if (!Array.isArray(templatesOrOptions)) return $3842d3f8db9a4507$var$create$({\n ...options,\n ...templatesOrOptions\n });\n const [file, ...args] = (0, $b715f882a790bd9d$export$4a6ee54de9b0f25d)(templatesOrOptions, expressions);\n return $3842d3f8db9a4507$export$db6b1668e3758717(file, args, $3842d3f8db9a4507$var$normalizeScriptOptions(options));\n }\n $.sync = (templates, ...expressions)=>{\n if (!Array.isArray(templates)) throw new TypeError(\"Please use $(options).sync`command` instead of $.sync(options)`command`.\");\n const [file, ...args] = (0, $b715f882a790bd9d$export$4a6ee54de9b0f25d)(templates, expressions);\n return $3842d3f8db9a4507$export$28823a701bb5a12d(file, args, $3842d3f8db9a4507$var$normalizeScriptOptions(options));\n };\n return $;\n}\nconst $3842d3f8db9a4507$export$3d8c2f653ac9d0b9 = $3842d3f8db9a4507$var$create$();\nfunction $3842d3f8db9a4507$export$eb9ed1222071f2f6(command, options) {\n const [file, ...args] = (0, $b715f882a790bd9d$export$78bcee23e0849f6a)(command);\n return $3842d3f8db9a4507$export$db6b1668e3758717(file, args, options);\n}\nfunction $3842d3f8db9a4507$export$5c60dbe76a54db4(command, options) {\n const [file, ...args] = (0, $b715f882a790bd9d$export$78bcee23e0849f6a)(command);\n return $3842d3f8db9a4507$export$28823a701bb5a12d(file, args, options);\n}\nfunction $3842d3f8db9a4507$export$c004ac68fdb98119(scriptPath, args, options = {}) {\n if (args && !Array.isArray(args) && typeof args === \"object\") {\n options = args;\n args = [];\n }\n const stdio = (0, $8eeb4d839e984fef$export$889423b478ae2ba)(options);\n const defaultExecArgv = (0, ($parcel$interopDefault($aEsRD$nodeprocess))).execArgv.filter((arg)=>!arg.startsWith(\"--inspect\"));\n const { nodePath: nodePath = (0, ($parcel$interopDefault($aEsRD$nodeprocess))).execPath, nodeOptions: nodeOptions = defaultExecArgv } = options;\n return $3842d3f8db9a4507$export$db6b1668e3758717(nodePath, [\n ...nodeOptions,\n scriptPath,\n ...Array.isArray(args) ? args : []\n ], {\n ...options,\n stdin: undefined,\n stdout: undefined,\n stderr: undefined,\n stdio: stdio,\n shell: false\n });\n}\n\n\n\n/** The cached powershell path */ let $af61b3bdb9d49c0e$var$powershell;\nfunction $af61b3bdb9d49c0e$export$43324456a02f71b0(command, startupFlags = [\n \"-NoProfile\",\n \"-NoLogo\",\n \"-NonInteractive\"\n], execOptions = {\n stdio: \"inherit\"\n}) {\n return $3842d3f8db9a4507$export$db6b1668e3758717($af61b3bdb9d49c0e$export$4dfdd3964d242d20(), [\n ...startupFlags,\n \"-c\",\n command\n ], execOptions);\n}\nfunction $af61b3bdb9d49c0e$export$395ec453f890f6a3(command, startupFlags = [\n \"-NoProfile\",\n \"-NoLogo\",\n \"-NonInteractive\"\n], execOptions = {\n stdio: \"inherit\"\n}) {\n return $3842d3f8db9a4507$export$28823a701bb5a12d($af61b3bdb9d49c0e$export$4dfdd3964d242d20(), [\n ...startupFlags,\n \"-c\",\n command\n ], execOptions);\n}\nfunction $af61b3bdb9d49c0e$export$4dfdd3964d242d20() {\n if ($af61b3bdb9d49c0e$var$powershell === undefined) {\n const maybePwsh = (0, (/*@__PURE__*/$parcel$interopDefault($25a091d756ba0cd8$exports))).sync(\"pwsh\", {\n nothrow: true\n });\n if (maybePwsh !== null) $af61b3bdb9d49c0e$var$powershell = maybePwsh;\n const maybePowerShell = (0, (/*@__PURE__*/$parcel$interopDefault($25a091d756ba0cd8$exports))).sync(\"powershell\", {\n nothrow: true\n });\n if (maybePowerShell !== null) $af61b3bdb9d49c0e$var$powershell = maybePowerShell;\n }\n if ($af61b3bdb9d49c0e$var$powershell === undefined) throw new Error(\"Could not find powershell\");\n return $af61b3bdb9d49c0e$var$powershell;\n}\n\n\n\nvar $a882d96569d48244$exports = {};\n\n// to detect on with os user had used path.resolve(...)\nconst $a882d96569d48244$var$is_posix_os = $aEsRD$os.platform() !== \"win32\";\nconst $a882d96569d48244$var$version = $aEsRD$os.release();\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 $a882d96569d48244$var$windows_version_regex = /(\\d+\\.\\d+)\\.(\\d+)/;\nconst $a882d96569d48244$var$should_not_escape = (major_release = \"\", os_build = \"\")=>/1\\d+\\.\\d+/.test(major_release) && Number(os_build) >= 17134.1184;\n$a882d96569d48244$exports = function(given_path) {\n return $a882d96569d48244$var$is_posix_os ? given_path.replace(/(\\s+)/g, \"\\\\$1\") : $a882d96569d48244$var$should_not_escape(...$a882d96569d48244$var$windows_version_regex.exec($a882d96569d48244$var$version).splice(1)) ? given_path : given_path.replace(/(\\s+)/g, \"%20\");\n};\n\n\n\nvar $a2a617d992255ec5$exports = {};\n\n// Generated by CoffeeScript 1.10.0\n(function() {\n var regexEscape, reverse;\n regexEscape = (parcelRequire(\"bmInQ\"));\n reverse = function(s) {\n return s.split(\"\").reverse().join(\"\");\n };\n $a2a617d992255ec5$exports = function(s, chars, escapeChar) {\n var regex;\n if (chars == null) chars = \"'\";\n if (escapeChar == null) escapeChar = \"\\\\\";\n if (typeof s !== \"string\") return s;\n regex = new RegExp(\"([\" + regexEscape(chars) + \"])(?!\" + regexEscape(escapeChar) + \")\", \"g\");\n return reverse(reverse(s).replace(regex, \"$1\" + escapeChar));\n };\n}).call($a2a617d992255ec5$exports);\n\n\n\nvar $bOuKS = parcelRequire(\"bOuKS\");\nconst $2f24a8df2529dc1c$var$defaultAddEnvOptions = {\n shouldEscapeSpace: false,\n shouldAddOnlyIfNotDefined: false\n};\nasync function $2f24a8df2529dc1c$export$f63d3080ce25e0fd(name, valGiven, options = $2f24a8df2529dc1c$var$defaultAddEnvOptions) {\n const val = $2f24a8df2529dc1c$var$escapeString(valGiven ?? \"\", options.shouldEscapeSpace);\n try {\n if (0, $2W4C2.GITHUB_ACTIONS) try {\n if (options.shouldAddOnlyIfNotDefined) {\n if (process.env[name] !== undefined) {\n (0, $i5trn.info)(`Environment variable ${name} is already defined. Skipping.`);\n return;\n }\n }\n (0, $i5trn.exportVariable)(name, val);\n } catch (err) {\n (0, $7Lz0k.error)(err);\n await $2f24a8df2529dc1c$var$addEnvSystem(name, val, options);\n }\n else await $2f24a8df2529dc1c$var$addEnvSystem(name, val, options);\n } catch (err) {\n (0, $7Lz0k.error)(err);\n (0, $i5trn.setFailed)(`Failed to export environment variable ${name}=${val}. You should add it manually.`);\n }\n}\nfunction $2f24a8df2529dc1c$var$escapeString(valGiven, shouldEscapeSpace = false) {\n const spaceEscaped = shouldEscapeSpace ? (0, (/*@__PURE__*/$parcel$interopDefault($a882d96569d48244$exports)))(valGiven) : valGiven;\n return (0, (/*@__PURE__*/$parcel$interopDefault($a2a617d992255ec5$exports)))(spaceEscaped, '\"', \"\\\\\");\n}\nconst $2f24a8df2529dc1c$var$ignoredPaths = [\n /\\/usr\\/bin\\/?/,\n /\\/usr\\/local\\/bin\\/?/\n];\n/** Skip adding /usr/bin to PATH if it is already there */ function $2f24a8df2529dc1c$var$isIgnoredPath(path) {\n if ($2f24a8df2529dc1c$var$ignoredPaths.some((checkedPath)=>checkedPath.test(path))) {\n const paths = process.env.PATH?.split((0, $aEsRD$path.delimiter)) ?? [];\n return paths.includes(path);\n }\n return false;\n}\nasync function $2f24a8df2529dc1c$export$4c25481b843feb0b(path) {\n if ($2f24a8df2529dc1c$var$isIgnoredPath(path)) return;\n process.env.PATH = `${path}${0, $aEsRD$path.delimiter}${process.env.PATH}`;\n try {\n if (0, $2W4C2.GITHUB_ACTIONS) try {\n (0, $i5trn.addPath)(path);\n } catch (err) {\n (0, $7Lz0k.error)(err);\n await $2f24a8df2529dc1c$var$addPathSystem(path);\n }\n else await $2f24a8df2529dc1c$var$addPathSystem(path);\n } catch (err) {\n (0, $7Lz0k.error)(err);\n (0, $i5trn.setFailed)(`Failed to add ${path} to the percistent PATH. You should add it manually.`);\n }\n}\nconst $2f24a8df2529dc1c$export$1bbbc3a810c5799d = (0, $9affb3cfb96595a9$export$8312d9eeba321950)(\".cpprc\");\nasync function $2f24a8df2529dc1c$var$addEnvSystem(name, valGiven, options) {\n const val = valGiven ?? \"\";\n switch(process.platform){\n case \"win32\":\n if (options.shouldAddOnlyIfNotDefined) {\n if (process.env[name] !== undefined) {\n (0, $i5trn.info)(`Environment variable ${name} is already defined. Skipping.`);\n return;\n }\n }\n // We do not use `execaSync(`setx PATH \"${path};%PATH%\"`)` because of its character limit\n await (0, $af61b3bdb9d49c0e$export$43324456a02f71b0)(`[Environment]::SetEnvironmentVariable('${name}', '${val}', \"User\")`);\n (0, $i5trn.info)(`${name}='${val}' was set in the environment.`);\n return;\n case \"linux\":\n case \"darwin\":\n await $2f24a8df2529dc1c$export$bd1dffd792f43c41();\n if (options.shouldAddOnlyIfNotDefined) {\n (0, $aEsRD$fs.appendFileSync)($2f24a8df2529dc1c$export$1bbbc3a810c5799d, `\\nif [ -z \"\\${${name}}\" ]; then export ${name}=\"${val}\"; fi\\n`);\n (0, $i5trn.info)(`if not defined ${name} then ${name}=\"${val}\" was added to \"${$2f24a8df2529dc1c$export$1bbbc3a810c5799d}`);\n } else {\n (0, $aEsRD$fs.appendFileSync)($2f24a8df2529dc1c$export$1bbbc3a810c5799d, `\\nexport ${name}=\"${val}\"\\n`);\n (0, $i5trn.info)(`${name}=\"${val}\" was added to \"${$2f24a8df2529dc1c$export$1bbbc3a810c5799d}`);\n }\n return;\n default:\n }\n process.env[name] = val;\n}\nasync function $2f24a8df2529dc1c$var$addPathSystem(path) {\n switch(process.platform){\n case \"win32\":\n // We do not use `execaSync(`setx PATH \"${path};%PATH%\"`)` because of its character limit and also because %PATH% is different for user and system\n await (0, $af61b3bdb9d49c0e$export$43324456a02f71b0)(`$USER_PATH=([Environment]::GetEnvironmentVariable(\"PATH\", \"User\")); [Environment]::SetEnvironmentVariable(\"PATH\", \"${path};$USER_PATH\", \"User\")`);\n (0, $i5trn.info)(`\"${path}\" was added to the PATH.`);\n return;\n case \"linux\":\n case \"darwin\":\n await $2f24a8df2529dc1c$export$bd1dffd792f43c41();\n (0, $aEsRD$fs.appendFileSync)($2f24a8df2529dc1c$export$1bbbc3a810c5799d, `\\nexport PATH=\"${path}:$PATH\"\\n`);\n (0, $i5trn.info)(`\"${path}\" was added to \"${$2f24a8df2529dc1c$export$1bbbc3a810c5799d}\"`);\n return;\n default:\n return;\n }\n}\n/* eslint-disable require-atomic-updates */ let $2f24a8df2529dc1c$var$setupCppInProfile_called = false;\nasync function $2f24a8df2529dc1c$export$bd1dffd792f43c41() {\n if ($2f24a8df2529dc1c$var$setupCppInProfile_called) return;\n // a variable that prevents source_cpprc from being called from .bashrc and .profile\n const source_cpprc_str = \"# Automatically Generated by setup-cpp\\nexport SOURCE_CPPRC=0\";\n if (await (0, $bOuKS.pathExists)($2f24a8df2529dc1c$export$1bbbc3a810c5799d)) {\n const cpprc_content = (0, $aEsRD$fs.readFileSync)($2f24a8df2529dc1c$export$1bbbc3a810c5799d, \"utf8\");\n if (cpprc_content.includes(source_cpprc_str)) // already executed setupCppInProfile\n return;\n }\n (0, $aEsRD$fs.appendFileSync)($2f24a8df2529dc1c$export$1bbbc3a810c5799d, `\\n${source_cpprc_str}\\n`);\n (0, $i5trn.info)(`Added ${source_cpprc_str} to ${$2f24a8df2529dc1c$export$1bbbc3a810c5799d}`);\n // source cpprc in bashrc/profile\n const source_cpprc_string = `\\n# source .cpprc if SOURCE_CPPRC is not set to 0\\nif [[ \"$SOURCE_CPPRC\" != 0 && -f \"${$2f24a8df2529dc1c$export$1bbbc3a810c5799d}\" ]]; then source \"${$2f24a8df2529dc1c$export$1bbbc3a810c5799d}\"; fi\\n`;\n try {\n // source cpprc in .profile\n const profile_path = (0, $9affb3cfb96595a9$export$8312d9eeba321950)(\".profile\");\n (0, $aEsRD$fs.appendFileSync)(profile_path, source_cpprc_string);\n (0, $i5trn.info)(`${source_cpprc_string} was added to ${profile_path}`);\n // source cpprc in .bashrc too\n const bashrc_path = (0, $9affb3cfb96595a9$export$8312d9eeba321950)(\".bashrc\");\n (0, $aEsRD$fs.appendFileSync)(bashrc_path, source_cpprc_string);\n (0, $i5trn.info)(`${source_cpprc_string} was added to ${bashrc_path}`);\n } catch (err) {\n (0, $7Lz0k.warning)(`Failed to add ${source_cpprc_string} to .profile or .bashrc. You should add it manually: ${err}`);\n }\n $2f24a8df2529dc1c$var$setupCppInProfile_called = true;\n}\nasync function $2f24a8df2529dc1c$export$ca46151966bee7ba() {\n if (await (0, $bOuKS.pathExists)($2f24a8df2529dc1c$export$1bbbc3a810c5799d)) {\n const entries = (0, $aEsRD$fs.readFileSync)($2f24a8df2529dc1c$export$1bbbc3a810c5799d, \"utf-8\").split(\"\\n\");\n const unique_entries = [\n ...new Set(entries.reverse())\n ].reverse() // remove duplicates, keeping the latest entry\n ;\n (0, $aEsRD$fs.writeFileSync)($2f24a8df2529dc1c$export$1bbbc3a810c5799d, unique_entries.join(\"\\n\"));\n await (0, $7fee9a3419973cea$export$4718e061a205eab)($2f24a8df2529dc1c$export$1bbbc3a810c5799d);\n }\n}\n\n\n\nvar $bOuKS = parcelRequire(\"bOuKS\");\n\n\n\n\n\n\n\n\n\n\n\nconst $0194e9acb29be769$var$getErrorPrefix = ({ timedOut: timedOut, timeout: timeout, errorCode: errorCode, signal: signal, signalDescription: signalDescription, exitCode: exitCode, isCanceled: isCanceled })=>{\n if (timedOut) return `timed out after ${timeout} milliseconds`;\n if (isCanceled) return \"was canceled\";\n if (errorCode !== undefined) return `failed with ${errorCode}`;\n if (signal !== undefined) return `was killed with ${signal} (${signalDescription})`;\n if (exitCode !== undefined) return `failed with exit code ${exitCode}`;\n return \"failed\";\n};\nconst $0194e9acb29be769$export$5a4bb2b1c89bdce7 = ({ stdout: stdout, stderr: stderr, all: all, error: error, signal: signal, exitCode: exitCode, command: command, escapedCommand: escapedCommand, timedOut: timedOut, isCanceled: isCanceled, killed: killed, parsed: { options: { timeout: timeout, cwd: cwd = (0, ($parcel$interopDefault($aEsRD$nodeprocess))).cwd() } } })=>{\n // `signal` and `exitCode` emitted on `spawned.on('exit')` event can be `null`.\n // We normalize them to `undefined`\n exitCode = exitCode === null ? undefined : exitCode;\n signal = signal === null ? undefined : signal;\n const signalDescription = signal === undefined ? undefined : (0, $96cfbc3dd322c62c$export$c3fcb39d6848c78d)[signal].description;\n const errorCode = error && error.code;\n const prefix = $0194e9acb29be769$var$getErrorPrefix({\n timedOut: timedOut,\n timeout: timeout,\n errorCode: errorCode,\n signal: signal,\n signalDescription: signalDescription,\n exitCode: exitCode,\n isCanceled: isCanceled\n });\n const execaMessage = `Command ${prefix}: ${command}`;\n const isError = Object.prototype.toString.call(error) === \"[object Error]\";\n const shortMessage = isError ? `${execaMessage}\\n${error.message}` : execaMessage;\n const message = [\n shortMessage,\n stderr,\n stdout\n ].filter(Boolean).join(\"\\n\");\n if (isError) {\n error.originalMessage = error.message;\n error.message = message;\n } else error = new Error(message);\n error.shortMessage = shortMessage;\n error.command = command;\n error.escapedCommand = escapedCommand;\n error.exitCode = exitCode;\n error.signal = signal;\n error.signalDescription = signalDescription;\n error.stdout = stdout;\n error.stderr = stderr;\n error.cwd = cwd;\n if (all !== undefined) error.all = all;\n if (\"bufferedData\" in error) delete error.bufferedData;\n error.failed = true;\n error.timedOut = Boolean(timedOut);\n error.isCanceled = isCanceled;\n error.killed = killed && !timedOut;\n return error;\n};\n\n\nconst $f99ec21f977d167a$var$aliases = [\n \"stdin\",\n \"stdout\",\n \"stderr\"\n];\nconst $f99ec21f977d167a$var$hasAlias = (options)=>$f99ec21f977d167a$var$aliases.some((alias)=>options[alias] !== undefined);\nconst $f99ec21f977d167a$export$a581401a57fac02e = (options)=>{\n if (!options) return;\n const { stdio: stdio } = options;\n if (stdio === undefined) return $f99ec21f977d167a$var$aliases.map((alias)=>options[alias]);\n if ($f99ec21f977d167a$var$hasAlias(options)) throw new Error(`It's not possible to provide \\`stdio\\` in combination with one of ${$f99ec21f977d167a$var$aliases.map((alias)=>`\\`${alias}\\``).join(\", \")}`);\n if (typeof stdio === \"string\") return stdio;\n if (!Array.isArray(stdio)) throw new TypeError(`Expected \\`stdio\\` to be of type \\`string\\` or \\`Array\\`, got \\`${typeof stdio}\\``);\n const length = Math.max(stdio.length, $f99ec21f977d167a$var$aliases.length);\n return Array.from({\n length: length\n }, (value, index)=>stdio[index]);\n};\nconst $f99ec21f977d167a$export$889423b478ae2ba = (options)=>{\n const stdio = $f99ec21f977d167a$export$a581401a57fac02e(options);\n if (stdio === \"ipc\") return \"ipc\";\n if (stdio === undefined || typeof stdio === \"string\") return [\n stdio,\n stdio,\n stdio,\n \"ipc\"\n ];\n if (stdio.includes(\"ipc\")) return stdio;\n return [\n ...stdio,\n \"ipc\"\n ];\n};\n\n\n\n\nconst $6e5a045f43e52dac$var$DEFAULT_FORCE_KILL_TIMEOUT = 5000;\nconst $6e5a045f43e52dac$export$971fa1b57c7f00b = (kill, signal = \"SIGTERM\", options = {})=>{\n const killResult = kill(signal);\n $6e5a045f43e52dac$var$setKillTimeout(kill, signal, options, killResult);\n return killResult;\n};\nconst $6e5a045f43e52dac$var$setKillTimeout = (kill, signal, options, killResult)=>{\n if (!$6e5a045f43e52dac$var$shouldForceKill(signal, options, killResult)) return;\n const timeout = $6e5a045f43e52dac$var$getForceKillAfterTimeout(options);\n const t = setTimeout(()=>{\n kill(\"SIGKILL\");\n }, timeout);\n // Guarded because there's no `.unref()` when `execa` is used in the renderer\n // process in Electron. This cannot be tested since we don't run tests in\n // Electron.\n // istanbul ignore else\n if (t.unref) t.unref();\n};\nconst $6e5a045f43e52dac$var$shouldForceKill = (signal, { forceKillAfterTimeout: forceKillAfterTimeout }, killResult)=>$6e5a045f43e52dac$var$isSigterm(signal) && forceKillAfterTimeout !== false && killResult;\nconst $6e5a045f43e52dac$var$isSigterm = (signal)=>signal === (0, ($parcel$interopDefault($aEsRD$nodeos))).constants.signals.SIGTERM || typeof signal === \"string\" && signal.toUpperCase() === \"SIGTERM\";\nconst $6e5a045f43e52dac$var$getForceKillAfterTimeout = ({ forceKillAfterTimeout: forceKillAfterTimeout = true })=>{\n if (forceKillAfterTimeout === true) return $6e5a045f43e52dac$var$DEFAULT_FORCE_KILL_TIMEOUT;\n if (!Number.isFinite(forceKillAfterTimeout) || forceKillAfterTimeout < 0) throw new TypeError(`Expected the \\`forceKillAfterTimeout\\` option to be a non-negative integer, got \\`${forceKillAfterTimeout}\\` (${typeof forceKillAfterTimeout})`);\n return forceKillAfterTimeout;\n};\nconst $6e5a045f43e52dac$export$667e13cd9b70ca17 = (spawned, context)=>{\n const killResult = spawned.kill();\n if (killResult) context.isCanceled = true;\n};\nconst $6e5a045f43e52dac$var$timeoutKill = (spawned, signal, reject)=>{\n spawned.kill(signal);\n reject(Object.assign(new Error(\"Timed out\"), {\n timedOut: true,\n signal: signal\n }));\n};\nconst $6e5a045f43e52dac$export$6bcc98999eb82896 = (spawned, { timeout: timeout, killSignal: killSignal = \"SIGTERM\" }, spawnedPromise)=>{\n if (timeout === 0 || timeout === undefined) return spawnedPromise;\n let timeoutId;\n const timeoutPromise = new Promise((resolve, reject)=>{\n timeoutId = setTimeout(()=>{\n $6e5a045f43e52dac$var$timeoutKill(spawned, killSignal, reject);\n }, timeout);\n });\n const safeSpawnedPromise = spawnedPromise.finally(()=>{\n clearTimeout(timeoutId);\n });\n return Promise.race([\n timeoutPromise,\n safeSpawnedPromise\n ]);\n};\nconst $6e5a045f43e52dac$export$3186f8866f616f9f = ({ timeout: timeout })=>{\n if (timeout !== undefined && (!Number.isFinite(timeout) || timeout < 0)) throw new TypeError(`Expected the \\`timeout\\` option to be a non-negative integer, got \\`${timeout}\\` (${typeof timeout})`);\n};\nconst $6e5a045f43e52dac$export$79fc3056c9ca4ada = async (spawned, { cleanup: cleanup, detached: detached }, timedPromise)=>{\n if (!cleanup || detached) return timedPromise;\n const removeExitHandler = (0, (/*@__PURE__*/$parcel$interopDefault($7274790eb12a7292$exports)))(()=>{\n spawned.kill();\n });\n return timedPromise.finally(()=>{\n removeExitHandler();\n });\n};\n\n\n\n\n\nconst $c09ff890541934bb$var$isExecaChildProcess = (target)=>target instanceof (0, $aEsRD$nodechild_process.ChildProcess) && typeof target.then === \"function\";\nconst $c09ff890541934bb$var$pipeToTarget = (spawned, streamName, target)=>{\n if (typeof target === \"string\") {\n spawned[streamName].pipe((0, $aEsRD$nodefs.createWriteStream)(target));\n return spawned;\n }\n if ((0, $9c62e0616ba21007$export$b58a61c52edb4f66)(target)) {\n spawned[streamName].pipe(target);\n return spawned;\n }\n if (!$c09ff890541934bb$var$isExecaChildProcess(target)) throw new TypeError(\"The second argument must be a string, a stream or an Execa child process.\");\n if (!(0, $9c62e0616ba21007$export$b58a61c52edb4f66)(target.stdin)) throw new TypeError(\"The target child process's stdin must be available.\");\n spawned[streamName].pipe(target.stdin);\n return target;\n};\nconst $c09ff890541934bb$export$14becf8d91886424 = (spawned)=>{\n if (spawned.stdout !== null) spawned.pipeStdout = $c09ff890541934bb$var$pipeToTarget.bind(undefined, spawned, \"stdout\");\n if (spawned.stderr !== null) spawned.pipeStderr = $c09ff890541934bb$var$pipeToTarget.bind(undefined, spawned, \"stderr\");\n if (spawned.all !== undefined) spawned.pipeAll = $c09ff890541934bb$var$pipeToTarget.bind(undefined, spawned, \"all\");\n};\n\n\n\n\n\n\nconst $69521df720095587$var$validateInputOptions = (input)=>{\n if (input !== undefined) throw new TypeError(\"The `input` and `inputFile` options cannot be both set.\");\n};\nconst $69521df720095587$var$getInputSync = ({ input: input, inputFile: inputFile })=>{\n if (typeof inputFile !== \"string\") return input;\n $69521df720095587$var$validateInputOptions(input);\n return (0, $aEsRD$nodefs.readFileSync)(inputFile);\n};\nconst $69521df720095587$export$7f2f9b6457412b41 = (options)=>{\n const input = $69521df720095587$var$getInputSync(options);\n if ((0, $9c62e0616ba21007$export$294a92d8f7b3979)(input)) throw new TypeError(\"The `input` option cannot be a stream in sync mode\");\n return input;\n};\nconst $69521df720095587$var$getInput = ({ input: input, inputFile: inputFile })=>{\n if (typeof inputFile !== \"string\") return input;\n $69521df720095587$var$validateInputOptions(input);\n return (0, $aEsRD$nodefs.createReadStream)(inputFile);\n};\nconst $69521df720095587$export$412508d679148d5c = (spawned, options)=>{\n const input = $69521df720095587$var$getInput(options);\n if (input === undefined) return;\n if ((0, $9c62e0616ba21007$export$294a92d8f7b3979)(input)) input.pipe(spawned.stdin);\n else spawned.stdin.end(input);\n};\nconst $69521df720095587$export$41f5c0c12dadd6ae = (spawned, { all: all })=>{\n if (!all || !spawned.stdout && !spawned.stderr) return;\n const mixed = (0, (/*@__PURE__*/$parcel$interopDefault($45f2e6c6711de6aa$exports)))();\n if (spawned.stdout) mixed.add(spawned.stdout);\n if (spawned.stderr) mixed.add(spawned.stderr);\n return mixed;\n};\n// On failure, `result.stdout|stderr|all` should contain the currently buffered stream\nconst $69521df720095587$var$getBufferedData = async (stream, streamPromise)=>{\n // When `buffer` is `false`, `streamPromise` is `undefined` and there is no buffered data to retrieve\n if (!stream || streamPromise === undefined) return;\n stream.destroy();\n try {\n return await streamPromise;\n } catch (error) {\n return error.bufferedData;\n }\n};\nconst $69521df720095587$var$getStreamPromise = (stream, { encoding: encoding, buffer: buffer, maxBuffer: maxBuffer })=>{\n if (!stream || !buffer) return;\n if (encoding) return (0, (/*@__PURE__*/$parcel$interopDefault($ae9d312d43a643b6$exports)))(stream, {\n encoding: encoding,\n maxBuffer: maxBuffer\n });\n return (0, (/*@__PURE__*/$parcel$interopDefault($ae9d312d43a643b6$exports))).buffer(stream, {\n maxBuffer: maxBuffer\n });\n};\nconst $69521df720095587$export$67b768ac9e1c70fa = async ({ stdout: stdout, stderr: stderr, all: all }, { encoding: encoding, buffer: buffer, maxBuffer: maxBuffer }, processDone)=>{\n const stdoutPromise = $69521df720095587$var$getStreamPromise(stdout, {\n encoding: encoding,\n buffer: buffer,\n maxBuffer: maxBuffer\n });\n const stderrPromise = $69521df720095587$var$getStreamPromise(stderr, {\n encoding: encoding,\n buffer: buffer,\n maxBuffer: maxBuffer\n });\n const allPromise = $69521df720095587$var$getStreamPromise(all, {\n encoding: encoding,\n buffer: buffer,\n maxBuffer: maxBuffer * 2\n });\n try {\n return await Promise.all([\n processDone,\n stdoutPromise,\n stderrPromise,\n allPromise\n ]);\n } catch (error) {\n return Promise.all([\n {\n error: error,\n signal: error.signal,\n timedOut: error.timedOut\n },\n $69521df720095587$var$getBufferedData(stdout, stdoutPromise),\n $69521df720095587$var$getBufferedData(stderr, stderrPromise),\n $69521df720095587$var$getBufferedData(all, allPromise)\n ]);\n }\n};\n\n\n// eslint-disable-next-line unicorn/prefer-top-level-await\nconst $08e5049c17546f69$var$nativePromisePrototype = (async ()=>{})().constructor.prototype;\nconst $08e5049c17546f69$var$descriptors = [\n \"then\",\n \"catch\",\n \"finally\"\n].map((property)=>[\n property,\n Reflect.getOwnPropertyDescriptor($08e5049c17546f69$var$nativePromisePrototype, property)\n ]);\nconst $08e5049c17546f69$export$e6eb0007fd542aba = (spawned, promise)=>{\n for (const [property, descriptor] of $08e5049c17546f69$var$descriptors){\n // Starting the main `promise` is deferred to avoid consuming streams\n const value = typeof promise === \"function\" ? (...args)=>Reflect.apply(descriptor.value, promise(), args) : descriptor.value.bind(promise);\n Reflect.defineProperty(spawned, property, {\n ...descriptor,\n value: value\n });\n }\n};\nconst $08e5049c17546f69$export$6e3a9b5342d42997 = (spawned)=>new Promise((resolve, reject)=>{\n spawned.on(\"exit\", (exitCode, signal)=>{\n resolve({\n exitCode: exitCode,\n signal: signal\n });\n });\n spawned.on(\"error\", (error)=>{\n reject(error);\n });\n if (spawned.stdin) spawned.stdin.on(\"error\", (error)=>{\n reject(error);\n });\n });\n\n\n\n\nconst $1fc05f8efc02f533$var$normalizeArgs = (file, args = [])=>{\n if (!Array.isArray(args)) return [\n file\n ];\n return [\n file,\n ...args\n ];\n};\nconst $1fc05f8efc02f533$var$NO_ESCAPE_REGEXP = /^[\\w.-]+$/;\nconst $1fc05f8efc02f533$var$DOUBLE_QUOTES_REGEXP = /\"/g;\nconst $1fc05f8efc02f533$var$escapeArg = (arg)=>{\n if (typeof arg !== \"string\" || $1fc05f8efc02f533$var$NO_ESCAPE_REGEXP.test(arg)) return arg;\n return `\"${arg.replace($1fc05f8efc02f533$var$DOUBLE_QUOTES_REGEXP, '\\\\\"')}\"`;\n};\nconst $1fc05f8efc02f533$export$ab3db8fe5ebf3a1 = (file, args)=>$1fc05f8efc02f533$var$normalizeArgs(file, args).join(\" \");\nconst $1fc05f8efc02f533$export$9d3099014bd914f8 = (file, args)=>$1fc05f8efc02f533$var$normalizeArgs(file, args).map((arg)=>$1fc05f8efc02f533$var$escapeArg(arg)).join(\" \");\nconst $1fc05f8efc02f533$var$SPACES_REGEXP = / +/g;\nconst $1fc05f8efc02f533$export$78bcee23e0849f6a = (command)=>{\n const tokens = [];\n for (const token of command.trim().split($1fc05f8efc02f533$var$SPACES_REGEXP)){\n // Allow spaces to be escaped by a backslash if not meant as a delimiter\n const previousToken = tokens[tokens.length - 1];\n if (previousToken && previousToken.endsWith(\"\\\\\")) // Merge previous token with current one\n tokens[tokens.length - 1] = `${previousToken.slice(0, -1)} ${token}`;\n else tokens.push(token);\n }\n return tokens;\n};\nconst $1fc05f8efc02f533$var$parseExpression = (expression)=>{\n const typeOfExpression = typeof expression;\n if (typeOfExpression === \"string\") return expression;\n if (typeOfExpression === \"number\") return String(expression);\n if (typeOfExpression === \"object\" && expression !== null && !(expression instanceof (0, $aEsRD$nodechild_process.ChildProcess)) && \"stdout\" in expression) {\n const typeOfStdout = typeof expression.stdout;\n if (typeOfStdout === \"string\") return expression.stdout;\n if ((0, $aEsRD$nodebuffer.Buffer).isBuffer(expression.stdout)) return expression.stdout.toString();\n throw new TypeError(`Unexpected \"${typeOfStdout}\" stdout in template expression`);\n }\n throw new TypeError(`Unexpected \"${typeOfExpression}\" in template expression`);\n};\nconst $1fc05f8efc02f533$var$concatTokens = (tokens, nextTokens, isNew)=>isNew || tokens.length === 0 || nextTokens.length === 0 ? [\n ...tokens,\n ...nextTokens\n ] : [\n ...tokens.slice(0, -1),\n `${tokens[tokens.length - 1]}${nextTokens[0]}`,\n ...nextTokens.slice(1)\n ];\nconst $1fc05f8efc02f533$var$parseTemplate = ({ templates: templates, expressions: expressions, tokens: tokens, index: index, template: template })=>{\n const templateString = template ?? templates.raw[index];\n const templateTokens = templateString.split($1fc05f8efc02f533$var$SPACES_REGEXP).filter(Boolean);\n const newTokens = $1fc05f8efc02f533$var$concatTokens(tokens, templateTokens, templateString.startsWith(\" \"));\n if (index === expressions.length) return newTokens;\n const expression = expressions[index];\n const expressionTokens = Array.isArray(expression) ? expression.map((expression)=>$1fc05f8efc02f533$var$parseExpression(expression)) : [\n $1fc05f8efc02f533$var$parseExpression(expression)\n ];\n return $1fc05f8efc02f533$var$concatTokens(newTokens, expressionTokens, templateString.endsWith(\" \"));\n};\nconst $1fc05f8efc02f533$export$4a6ee54de9b0f25d = (templates, expressions)=>{\n let tokens = [];\n for (const [index, template] of templates.entries())tokens = $1fc05f8efc02f533$var$parseTemplate({\n templates: templates,\n expressions: expressions,\n tokens: tokens,\n index: index,\n template: template\n });\n return tokens;\n};\n\n\n\n\nconst $dcab819e401eb718$export$38bb3c1fbaa0bdcf = (0, $aEsRD$nodeutil.debuglog)(\"execa\").enabled;\nconst $dcab819e401eb718$var$padField = (field, padding)=>String(field).padStart(padding, \"0\");\nconst $dcab819e401eb718$var$getTimestamp = ()=>{\n const date = new Date();\n return `${$dcab819e401eb718$var$padField(date.getHours(), 2)}:${$dcab819e401eb718$var$padField(date.getMinutes(), 2)}:${$dcab819e401eb718$var$padField(date.getSeconds(), 2)}.${$dcab819e401eb718$var$padField(date.getMilliseconds(), 3)}`;\n};\nconst $dcab819e401eb718$export$3bb886c4c1352118 = (escapedCommand, { verbose: verbose })=>{\n if (!verbose) return;\n (0, ($parcel$interopDefault($aEsRD$nodeprocess))).stderr.write(`[${$dcab819e401eb718$var$getTimestamp()}] ${escapedCommand}\\n`);\n};\n\n\nconst $fdbe8517affbdc0a$var$DEFAULT_MAX_BUFFER = 100000000;\nconst $fdbe8517affbdc0a$var$getEnv = ({ env: envOption, extendEnv: extendEnv, preferLocal: preferLocal, localDir: localDir, execPath: execPath })=>{\n const env = extendEnv ? {\n ...(0, ($parcel$interopDefault($aEsRD$nodeprocess))).env,\n ...envOption\n } : envOption;\n if (preferLocal) return (0, $913e7d2d6f0db996$export$340e1fbaac04248b)({\n env: env,\n cwd: localDir,\n execPath: execPath\n });\n return env;\n};\nconst $fdbe8517affbdc0a$var$handleArguments = (file, args, options = {})=>{\n const parsed = (0, (/*@__PURE__*/$parcel$interopDefault($35037cbcf60d645b$exports)))._parse(file, args, options);\n file = parsed.command;\n args = parsed.args;\n options = parsed.options;\n options = {\n maxBuffer: $fdbe8517affbdc0a$var$DEFAULT_MAX_BUFFER,\n buffer: true,\n stripFinalNewline: true,\n extendEnv: true,\n preferLocal: false,\n localDir: options.cwd || (0, ($parcel$interopDefault($aEsRD$nodeprocess))).cwd(),\n execPath: (0, ($parcel$interopDefault($aEsRD$nodeprocess))).execPath,\n encoding: \"utf8\",\n reject: true,\n cleanup: true,\n all: false,\n windowsHide: true,\n verbose: (0, $dcab819e401eb718$export$38bb3c1fbaa0bdcf),\n ...options\n };\n options.env = $fdbe8517affbdc0a$var$getEnv(options);\n options.stdio = (0, $f99ec21f977d167a$export$a581401a57fac02e)(options);\n if ((0, ($parcel$interopDefault($aEsRD$nodeprocess))).platform === \"win32\" && (0, ($parcel$interopDefault($aEsRD$nodepath))).basename(file, \".exe\") === \"cmd\") // #116\n args.unshift(\"/q\");\n return {\n file: file,\n args: args,\n options: options,\n parsed: parsed\n };\n};\nconst $fdbe8517affbdc0a$var$handleOutput = (options, value, error)=>{\n if (typeof value !== \"string\" && !(0, $aEsRD$nodebuffer.Buffer).isBuffer(value)) // When `execaSync()` errors, we normalize it to '' to mimic `execa()`\n return error === undefined ? undefined : \"\";\n if (options.stripFinalNewline) return (0, $c7392f41763a188d$export$2e2bcd8739ae039)(value);\n return value;\n};\nfunction $fdbe8517affbdc0a$export$db6b1668e3758717(file, args, options) {\n const parsed = $fdbe8517affbdc0a$var$handleArguments(file, args, options);\n const command = (0, $1fc05f8efc02f533$export$ab3db8fe5ebf3a1)(file, args);\n const escapedCommand = (0, $1fc05f8efc02f533$export$9d3099014bd914f8)(file, args);\n (0, $dcab819e401eb718$export$3bb886c4c1352118)(escapedCommand, parsed.options);\n (0, $6e5a045f43e52dac$export$3186f8866f616f9f)(parsed.options);\n let spawned;\n try {\n spawned = (0, ($parcel$interopDefault($aEsRD$nodechild_process))).spawn(parsed.file, parsed.args, parsed.options);\n } catch (error) {\n // Ensure the returned error is always both a promise and a child process\n const dummySpawned = new (0, ($parcel$interopDefault($aEsRD$nodechild_process))).ChildProcess();\n const errorPromise = Promise.reject((0, $0194e9acb29be769$export$5a4bb2b1c89bdce7)({\n error: error,\n stdout: \"\",\n stderr: \"\",\n all: \"\",\n command: command,\n escapedCommand: escapedCommand,\n parsed: parsed,\n timedOut: false,\n isCanceled: false,\n killed: false\n }));\n (0, $08e5049c17546f69$export$e6eb0007fd542aba)(dummySpawned, errorPromise);\n return dummySpawned;\n }\n const spawnedPromise = (0, $08e5049c17546f69$export$6e3a9b5342d42997)(spawned);\n const timedPromise = (0, $6e5a045f43e52dac$export$6bcc98999eb82896)(spawned, parsed.options, spawnedPromise);\n const processDone = (0, $6e5a045f43e52dac$export$79fc3056c9ca4ada)(spawned, parsed.options, timedPromise);\n const context = {\n isCanceled: false\n };\n spawned.kill = (0, $6e5a045f43e52dac$export$971fa1b57c7f00b).bind(null, spawned.kill.bind(spawned));\n spawned.cancel = (0, $6e5a045f43e52dac$export$667e13cd9b70ca17).bind(null, spawned, context);\n const handlePromise = async ()=>{\n const [{ error: error, exitCode: exitCode, signal: signal, timedOut: timedOut }, stdoutResult, stderrResult, allResult] = await (0, $69521df720095587$export$67b768ac9e1c70fa)(spawned, parsed.options, processDone);\n const stdout = $fdbe8517affbdc0a$var$handleOutput(parsed.options, stdoutResult);\n const stderr = $fdbe8517affbdc0a$var$handleOutput(parsed.options, stderrResult);\n const all = $fdbe8517affbdc0a$var$handleOutput(parsed.options, allResult);\n if (error || exitCode !== 0 || signal !== null) {\n const returnedError = (0, $0194e9acb29be769$export$5a4bb2b1c89bdce7)({\n error: error,\n exitCode: exitCode,\n signal: signal,\n stdout: stdout,\n stderr: stderr,\n all: all,\n command: command,\n escapedCommand: escapedCommand,\n parsed: parsed,\n timedOut: timedOut,\n isCanceled: context.isCanceled || (parsed.options.signal ? parsed.options.signal.aborted : false),\n killed: spawned.killed\n });\n if (!parsed.options.reject) return returnedError;\n throw returnedError;\n }\n return {\n command: command,\n escapedCommand: escapedCommand,\n exitCode: 0,\n stdout: stdout,\n stderr: stderr,\n all: all,\n failed: false,\n timedOut: false,\n isCanceled: false,\n killed: false\n };\n };\n const handlePromiseOnce = (0, $907d562b73b0848f$export$2e2bcd8739ae039)(handlePromise);\n (0, $69521df720095587$export$412508d679148d5c)(spawned, parsed.options);\n spawned.all = (0, $69521df720095587$export$41f5c0c12dadd6ae)(spawned, parsed.options);\n (0, $c09ff890541934bb$export$14becf8d91886424)(spawned);\n (0, $08e5049c17546f69$export$e6eb0007fd542aba)(spawned, handlePromiseOnce);\n return spawned;\n}\nfunction $fdbe8517affbdc0a$export$28823a701bb5a12d(file, args, options) {\n const parsed = $fdbe8517affbdc0a$var$handleArguments(file, args, options);\n const command = (0, $1fc05f8efc02f533$export$ab3db8fe5ebf3a1)(file, args);\n const escapedCommand = (0, $1fc05f8efc02f533$export$9d3099014bd914f8)(file, args);\n (0, $dcab819e401eb718$export$3bb886c4c1352118)(escapedCommand, parsed.options);\n const input = (0, $69521df720095587$export$7f2f9b6457412b41)(parsed.options);\n let result;\n try {\n result = (0, ($parcel$interopDefault($aEsRD$nodechild_process))).spawnSync(parsed.file, parsed.args, {\n ...parsed.options,\n input: input\n });\n } catch (error) {\n throw (0, $0194e9acb29be769$export$5a4bb2b1c89bdce7)({\n error: error,\n stdout: \"\",\n stderr: \"\",\n all: \"\",\n command: command,\n escapedCommand: escapedCommand,\n parsed: parsed,\n timedOut: false,\n isCanceled: false,\n killed: false\n });\n }\n const stdout = $fdbe8517affbdc0a$var$handleOutput(parsed.options, result.stdout, result.error);\n const stderr = $fdbe8517affbdc0a$var$handleOutput(parsed.options, result.stderr, result.error);\n if (result.error || result.status !== 0 || result.signal !== null) {\n const error = (0, $0194e9acb29be769$export$5a4bb2b1c89bdce7)({\n stdout: stdout,\n stderr: stderr,\n error: result.error,\n signal: result.signal,\n exitCode: result.status,\n command: command,\n escapedCommand: escapedCommand,\n parsed: parsed,\n timedOut: result.error && result.error.code === \"ETIMEDOUT\",\n isCanceled: false,\n killed: result.signal !== null\n });\n if (!parsed.options.reject) return error;\n throw error;\n }\n return {\n command: command,\n escapedCommand: escapedCommand,\n exitCode: 0,\n stdout: stdout,\n stderr: stderr,\n failed: false,\n timedOut: false,\n isCanceled: false,\n killed: false\n };\n}\nconst $fdbe8517affbdc0a$var$normalizeScriptStdin = ({ input: input, inputFile: inputFile, stdio: stdio })=>input === undefined && inputFile === undefined && stdio === undefined ? {\n stdin: \"inherit\"\n } : {};\nconst $fdbe8517affbdc0a$var$normalizeScriptOptions = (options = {})=>({\n preferLocal: true,\n ...$fdbe8517affbdc0a$var$normalizeScriptStdin(options),\n ...options\n });\nfunction $fdbe8517affbdc0a$var$create$(options) {\n function $(templatesOrOptions, ...expressions) {\n if (!Array.isArray(templatesOrOptions)) return $fdbe8517affbdc0a$var$create$({\n ...options,\n ...templatesOrOptions\n });\n const [file, ...args] = (0, $1fc05f8efc02f533$export$4a6ee54de9b0f25d)(templatesOrOptions, expressions);\n return $fdbe8517affbdc0a$export$db6b1668e3758717(file, args, $fdbe8517affbdc0a$var$normalizeScriptOptions(options));\n }\n $.sync = (templates, ...expressions)=>{\n if (!Array.isArray(templates)) throw new TypeError(\"Please use $(options).sync`command` instead of $.sync(options)`command`.\");\n const [file, ...args] = (0, $1fc05f8efc02f533$export$4a6ee54de9b0f25d)(templates, expressions);\n return $fdbe8517affbdc0a$export$28823a701bb5a12d(file, args, $fdbe8517affbdc0a$var$normalizeScriptOptions(options));\n };\n return $;\n}\nconst $fdbe8517affbdc0a$export$3d8c2f653ac9d0b9 = $fdbe8517affbdc0a$var$create$();\nfunction $fdbe8517affbdc0a$export$eb9ed1222071f2f6(command, options) {\n const [file, ...args] = (0, $1fc05f8efc02f533$export$78bcee23e0849f6a)(command);\n return $fdbe8517affbdc0a$export$db6b1668e3758717(file, args, options);\n}\nfunction $fdbe8517affbdc0a$export$5c60dbe76a54db4(command, options) {\n const [file, ...args] = (0, $1fc05f8efc02f533$export$78bcee23e0849f6a)(command);\n return $fdbe8517affbdc0a$export$28823a701bb5a12d(file, args, options);\n}\nfunction $fdbe8517affbdc0a$export$c004ac68fdb98119(scriptPath, args, options = {}) {\n if (args && !Array.isArray(args) && typeof args === \"object\") {\n options = args;\n args = [];\n }\n const stdio = (0, $f99ec21f977d167a$export$889423b478ae2ba)(options);\n const defaultExecArgv = (0, ($parcel$interopDefault($aEsRD$nodeprocess))).execArgv.filter((arg)=>!arg.startsWith(\"--inspect\"));\n const { nodePath: nodePath = (0, ($parcel$interopDefault($aEsRD$nodeprocess))).execPath, nodeOptions: nodeOptions = defaultExecArgv } = options;\n return $fdbe8517affbdc0a$export$db6b1668e3758717(nodePath, [\n ...nodeOptions,\n scriptPath,\n ...Array.isArray(args) ? args : []\n ], {\n ...options,\n stdin: undefined,\n stdout: undefined,\n stderr: undefined,\n stdio: stdio,\n shell: false\n });\n}\n\n\n\nvar $3cGqJ = parcelRequire(\"3cGqJ\");\n\nvar $7Lz0k = parcelRequire(\"7Lz0k\");\nvar $69f9660769b2c54f$exports = {};\n\n\nvar $69f9660769b2c54f$require$join = $aEsRD$path.join;\nvar $69f9660769b2c54f$require$delimiter = $aEsRD$path.delimiter;\nvar $69f9660769b2c54f$require$sep = $aEsRD$path.sep;\nvar $69f9660769b2c54f$require$posix = $aEsRD$path.posix;\nconst $69f9660769b2c54f$var$isWindows = process.platform === \"win32\";\n// used to check for slashed in commands passed in. always checks for the posix\n// seperator on all platforms, and checks for the current separator when not on\n// a posix platform. don't use the isWindows check for this since that is mocked\n// in tests but we still need the code to actually work when called. that is also\n// why it is ignored from coverage.\n/* istanbul ignore next */ const $69f9660769b2c54f$var$rSlash = new RegExp(`[${$69f9660769b2c54f$require$posix.sep}${$69f9660769b2c54f$require$sep === $69f9660769b2c54f$require$posix.sep ? \"\" : $69f9660769b2c54f$require$sep}]`.replace(/(\\\\)/g, \"\\\\$1\"));\nconst $69f9660769b2c54f$var$rRel = new RegExp(`^\\\\.${$69f9660769b2c54f$var$rSlash.source}`);\nconst $69f9660769b2c54f$var$getNotFoundError = (cmd)=>Object.assign(new Error(`not found: ${cmd}`), {\n code: \"ENOENT\"\n });\nconst $69f9660769b2c54f$var$getPathInfo = (cmd, { path: optPath = process.env.PATH, pathExt: optPathExt = process.env.PATHEXT, delimiter: optDelimiter = $69f9660769b2c54f$require$delimiter })=>{\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($69f9660769b2c54f$var$rSlash) ? [\n \"\"\n ] : [\n // windows always checks the cwd first\n ...$69f9660769b2c54f$var$isWindows ? [\n process.cwd()\n ] : [],\n ...(optPath || /* istanbul ignore next: very unusual */ \"\").split(optDelimiter)\n ];\n if ($69f9660769b2c54f$var$isWindows) {\n const pathExtExe = optPathExt || [\n \".EXE\",\n \".CMD\",\n \".BAT\",\n \".COM\"\n ].join(optDelimiter);\n const pathExt = pathExtExe.split(optDelimiter).reduce((acc, item)=>{\n acc.push(item);\n acc.push(item.toLowerCase());\n return acc;\n }, []);\n if (cmd.includes(\".\") && pathExt[0] !== \"\") pathExt.unshift(\"\");\n return {\n pathEnv: pathEnv,\n pathExt: pathExt,\n pathExtExe: pathExtExe\n };\n }\n return {\n pathEnv: pathEnv,\n pathExt: [\n \"\"\n ]\n };\n};\nconst $69f9660769b2c54f$var$getPathPart = (raw, cmd)=>{\n const pathPart = /^\".*\"$/.test(raw) ? raw.slice(1, -1) : raw;\n const prefix = !pathPart && $69f9660769b2c54f$var$rRel.test(cmd) ? cmd.slice(0, 2) : \"\";\n return prefix + $69f9660769b2c54f$require$join(pathPart, cmd);\n};\nconst $69f9660769b2c54f$var$which = async (cmd, opt = {})=>{\n const { pathEnv: pathEnv, pathExt: pathExt, pathExtExe: pathExtExe } = $69f9660769b2c54f$var$getPathInfo(cmd, opt);\n const found = [];\n for (const envPart of pathEnv){\n const p = $69f9660769b2c54f$var$getPathPart(envPart, cmd);\n for (const ext of pathExt){\n const withExt = p + ext;\n const is = await $bf8a7dcae1f165c2$exports(withExt, {\n pathExt: pathExtExe,\n ignoreErrors: true\n });\n if (is) {\n if (!opt.all) return withExt;\n found.push(withExt);\n }\n }\n }\n if (opt.all && found.length) return found;\n if (opt.nothrow) return null;\n throw $69f9660769b2c54f$var$getNotFoundError(cmd);\n};\nconst $69f9660769b2c54f$var$whichSync = (cmd, opt = {})=>{\n const { pathEnv: pathEnv, pathExt: pathExt, pathExtExe: pathExtExe } = $69f9660769b2c54f$var$getPathInfo(cmd, opt);\n const found = [];\n for (const pathEnvPart of pathEnv){\n const p = $69f9660769b2c54f$var$getPathPart(pathEnvPart, cmd);\n for (const ext of pathExt){\n const withExt = p + ext;\n const is = $bf8a7dcae1f165c2$exports.sync(withExt, {\n pathExt: pathExtExe,\n ignoreErrors: true\n });\n if (is) {\n if (!opt.all) return withExt;\n found.push(withExt);\n }\n }\n }\n if (opt.all && found.length) return found;\n if (opt.nothrow) return null;\n throw $69f9660769b2c54f$var$getNotFoundError(cmd);\n};\n$69f9660769b2c54f$exports = $69f9660769b2c54f$var$which;\n$69f9660769b2c54f$var$which.sync = $69f9660769b2c54f$var$whichSync;\n\n\nconst { appendFile: $c28d8ebe1e034757$var$appendFile } = (0, $aEsRD$fs.promises);\n/* eslint-disable require-atomic-updates */ let $c28d8ebe1e034757$var$didUpdate = false;\nlet $c28d8ebe1e034757$var$didInit = false;\nconst $c28d8ebe1e034757$var$retryErrors = [\n \"E: Could not get lock\",\n \"dpkg: error processing archive\",\n \"dpkg: error: dpkg status database is locked by another process\"\n];\nasync function $c28d8ebe1e034757$export$d73dc343f5abf26(packages, update = false) {\n const apt = $c28d8ebe1e034757$var$getApt();\n for (const { name: name, version: version } of packages)(0, $7Lz0k.info)(`Installing ${name} ${version ?? \"\"} via ${apt}`);\n process.env.DEBIAN_FRONTEND = \"noninteractive\";\n if (!$c28d8ebe1e034757$var$didUpdate || update) {\n $c28d8ebe1e034757$var$updateRepos(apt);\n $c28d8ebe1e034757$var$didUpdate = true;\n }\n if (!$c28d8ebe1e034757$var$didInit) {\n await $c28d8ebe1e034757$var$initApt(apt);\n $c28d8ebe1e034757$var$didInit = true;\n }\n const allRepositories = [\n ...new Set(packages.flatMap((pack)=>pack.repositories ?? []))\n ];\n if (allRepositories.length !== 0) {\n for (const repo of allRepositories)// eslint-disable-next-line no-await-in-loop\n (0, $041b20e97bdb3b21$export$58f152936f209932)(\"add-apt-repository\", [\n \"-y\",\n repo\n ]);\n $c28d8ebe1e034757$var$updateRepos(apt);\n }\n const aptArgs = await Promise.all(packages.map((pack)=>$c28d8ebe1e034757$var$getAptArg(pack.name, pack.version)));\n try {\n (0, $041b20e97bdb3b21$export$58f152936f209932)(apt, [\n \"install\",\n \"--fix-broken\",\n \"-y\",\n ...aptArgs\n ]);\n } catch (err) {\n if (\"stderr\" in err) {\n const stderr = err.stderr;\n if ($c28d8ebe1e034757$var$retryErrors.some((error)=>stderr.includes(error))) {\n (0, $7Lz0k.warning)(`Failed to install packages ${aptArgs}. Retrying...`);\n (0, $041b20e97bdb3b21$export$58f152936f209932)(apt, [\n \"install\",\n \"--fix-broken\",\n \"-y\",\n ...aptArgs\n ]);\n }\n } else throw err;\n }\n return {\n binDir: \"/usr/bin/\"\n };\n}\nvar $c28d8ebe1e034757$export$e6e2160a140a491e;\n(function(AptPackageType) {\n AptPackageType[AptPackageType[\"NameDashVersion\"] = 0] = \"NameDashVersion\";\n AptPackageType[AptPackageType[\"NameEqualsVersion\"] = 1] = \"NameEqualsVersion\";\n AptPackageType[AptPackageType[\"Name\"] = 2] = \"Name\";\n AptPackageType[AptPackageType[\"None\"] = 3] = \"None\";\n})($c28d8ebe1e034757$export$e6e2160a140a491e || ($c28d8ebe1e034757$export$e6e2160a140a491e = {}));\nasync function $c28d8ebe1e034757$export$41cba414fa0bee03(name, version) {\n if (version !== undefined && version !== \"\") {\n const { stdout: stdout } = await (0, $fdbe8517affbdc0a$export$db6b1668e3758717)(\"apt-cache\", [\n \"search\",\n \"--names-only\",\n `^${(0, $3cGqJ.default)(name)}-${(0, $3cGqJ.default)(version)}$`\n ]);\n if (stdout.trim() !== \"\") return $c28d8ebe1e034757$export$e6e2160a140a491e.NameDashVersion;\n try {\n // check if apt-get show can find the version\n // eslint-disable-next-line @typescript-eslint/no-shadow\n const { stdout: stdout } = await (0, $fdbe8517affbdc0a$export$db6b1668e3758717)(\"apt-cache\", [\n \"show\",\n `${name}=${version}`\n ]);\n if (stdout.trim() === \"\") return $c28d8ebe1e034757$export$e6e2160a140a491e.NameEqualsVersion;\n } catch {\n // ignore\n }\n }\n try {\n const { stdout: showStdout } = await (0, $fdbe8517affbdc0a$export$db6b1668e3758717)(\"apt-cache\", [\n \"show\",\n name\n ]);\n if (showStdout.trim() !== \"\") return $c28d8ebe1e034757$export$e6e2160a140a491e.Name;\n } catch {\n // ignore\n }\n return $c28d8ebe1e034757$export$e6e2160a140a491e.None;\n}\nasync function $c28d8ebe1e034757$var$getAptArg(name, version) {\n const package_type = await $c28d8ebe1e034757$export$41cba414fa0bee03(name, version);\n switch(package_type){\n case $c28d8ebe1e034757$export$e6e2160a140a491e.NameDashVersion:\n return `${name}-${version}`;\n case $c28d8ebe1e034757$export$e6e2160a140a491e.NameEqualsVersion:\n return `${name}=${version}`;\n case $c28d8ebe1e034757$export$e6e2160a140a491e.Name:\n return name;\n case $c28d8ebe1e034757$export$e6e2160a140a491e.None:\n default:\n throw new Error(`Could not find package ${name} ${version ?? \"\"}`);\n }\n}\nfunction $c28d8ebe1e034757$export$89548d91e84ae1a1() {\n return (0, (/*@__PURE__*/$parcel$interopDefault($69f9660769b2c54f$exports))).sync(\"nala\", {\n nothrow: true\n }) !== null;\n}\nfunction $c28d8ebe1e034757$var$getApt() {\n let apt;\n if ($c28d8ebe1e034757$export$89548d91e84ae1a1()) apt = \"nala\";\n else apt = \"apt-get\";\n return apt;\n}\nfunction $c28d8ebe1e034757$var$updateRepos(apt) {\n (0, $041b20e97bdb3b21$export$58f152936f209932)(apt, apt !== \"nala\" ? [\n \"update\",\n \"-y\"\n ] : [\n \"update\"\n ]);\n}\n/** Install apt utils and certificates (usually missing from docker containers) */ async function $c28d8ebe1e034757$var$initApt(apt) {\n (0, $041b20e97bdb3b21$export$58f152936f209932)(apt, [\n \"install\",\n \"--fix-broken\",\n \"-y\",\n \"software-properties-common\",\n \"apt-utils\",\n \"ca-certificates\",\n \"gnupg\"\n ]);\n const promises = [\n $c28d8ebe1e034757$export$11aa10c05ada0934([\n \"3B4FE6ACC0B21F32\",\n \"40976EAF437D05B5\"\n ], \"setup-cpp-ubuntu-archive.gpg\"),\n $c28d8ebe1e034757$export$11aa10c05ada0934([\n \"1E9377A2BA9EF27F\"\n ], \"launchpad-toolchain.gpg\")\n ];\n if (apt === \"nala\") // enable utf8 otherwise it fails because of the usage of ASCII encoding\n promises.push((0, $2f24a8df2529dc1c$export$f63d3080ce25e0fd)(\"LANG\", \"C.UTF-8\", {\n shouldAddOnlyIfNotDefined: true\n }), (0, $2f24a8df2529dc1c$export$f63d3080ce25e0fd)(\"LC_ALL\", \"C.UTF-8\", {\n shouldAddOnlyIfNotDefined: true\n }));\n await Promise.all(promises);\n}\nfunction $c28d8ebe1e034757$var$initGpg() {\n (0, $041b20e97bdb3b21$export$58f152936f209932)(\"gpg\", [\n \"-k\"\n ]);\n}\nasync function $c28d8ebe1e034757$export$11aa10c05ada0934(keys, name, server = \"keyserver.ubuntu.com\") {\n try {\n const fileName = `/etc/apt/trusted.gpg.d/${name}`;\n if (!await (0, $bOuKS.pathExists)(fileName)) {\n $c28d8ebe1e034757$var$initGpg();\n await Promise.all(keys.map(async (key)=>{\n await (0, $041b20e97bdb3b21$export$351270479e2eef26)(\"gpg\", [\n \"--no-default-keyring\",\n \"--keyring\",\n `gnupg-ring:${fileName}`,\n \"--keyserver\",\n server,\n \"--recv-keys\",\n key\n ]);\n await (0, $041b20e97bdb3b21$export$351270479e2eef26)(\"chmod\", [\n \"644\",\n fileName\n ]);\n }));\n }\n return fileName;\n } catch (err) {\n (0, $7Lz0k.warning)(`Failed to add apt key via server ${server}: ${err}`);\n return undefined;\n }\n}\nasync function $c28d8ebe1e034757$export$7fb1a688af1305f0(name, url) {\n const fileName = `/etc/apt/trusted.gpg.d/${name}`;\n if (!await (0, $bOuKS.pathExists)(fileName)) {\n $c28d8ebe1e034757$var$initGpg();\n await $c28d8ebe1e034757$export$d73dc343f5abf26([\n {\n name: \"curl\"\n },\n {\n name: \"ca-certificates\"\n }\n ], undefined);\n await (0, $fdbe8517affbdc0a$export$db6b1668e3758717)(\"curl\", [\n \"-s\",\n url,\n \"-o\",\n `/tmp/${name}`\n ]);\n (0, $041b20e97bdb3b21$export$58f152936f209932)(\"gpg\", [\n \"--no-default-keyring\",\n \"--keyring\",\n `gnupg-ring:${fileName}`,\n \"--import\",\n `/tmp/${name}`\n ]);\n (0, $041b20e97bdb3b21$export$58f152936f209932)(\"chmod\", [\n \"644\",\n fileName\n ]);\n }\n return fileName;\n}\nasync function $c28d8ebe1e034757$export$6fe6436bd9f53d02(name, path) {\n if (0, $2W4C2.GITHUB_ACTIONS) return (0, $041b20e97bdb3b21$export$351270479e2eef26)(\"update-alternatives\", [\n \"--install\",\n `/usr/bin/${name}`,\n name,\n path,\n \"40\"\n ]);\n else {\n await (0, $2f24a8df2529dc1c$export$bd1dffd792f43c41)();\n return $c28d8ebe1e034757$var$appendFile((0, $2f24a8df2529dc1c$export$1bbbc3a810c5799d), `\\nif [ $UID -eq 0 ]; then update-alternatives --install /usr/bin/${name} ${name} ${path} 40; fi\\n`);\n }\n}\nasync function $c28d8ebe1e034757$export$ec2e4deaa1231ecf(regexp) {\n try {\n // check if a package matching the regexp is installed\n const { stdout: stdout } = await (0, $fdbe8517affbdc0a$export$db6b1668e3758717)(\"dpkg\", [\n \"-l\",\n regexp\n ]);\n const lines = stdout.split(\"\\n\");\n // check if the output contains any lines that start with \"ii\"\n return lines.some((line)=>line.startsWith(\"ii\"));\n } catch {\n return false;\n }\n}\n\n\n/* eslint-disable require-atomic-updates */ \nvar $i5trn = parcelRequire(\"i5trn\");\n\n\nvar $eq4yW = parcelRequire(\"eq4yW\");\n\n\n\nvar $eq4yW = parcelRequire(\"eq4yW\");\n\n\n\n\nvar $jtqY0 = parcelRequire(\"jtqY0\");\n\n\n/* eslint-disable require-atomic-updates */ let $7eeef95f58db9236$var$binDir;\nasync function $7eeef95f58db9236$export$c5eeb9c87a610a0e(_version, _setupDir, _arch) {\n if (![\n \"darwin\",\n \"linux\"\n ].includes(process.platform)) return undefined;\n if (typeof $7eeef95f58db9236$var$binDir === \"string\") return {\n binDir: $7eeef95f58db9236$var$binDir\n };\n const maybeBinDir = (0, (/*@__PURE__*/$parcel$interopDefault($69f9660769b2c54f$exports))).sync(\"brew\", {\n nothrow: true\n });\n if (maybeBinDir !== null) {\n $7eeef95f58db9236$var$binDir = (0, $eq4yW.dirname)(maybeBinDir);\n return {\n binDir: $7eeef95f58db9236$var$binDir\n };\n }\n // brew is not thread-safe\n const brewTempDirectory = (0, ($parcel$interopDefault($aEsRD$path))).join((0, $aEsRD$os.tmpdir)(), \"setup-cpp\", \"brew\");\n await (0, $jtqY0.mkdirP)(brewTempDirectory);\n (0, $fdbe8517affbdc0a$export$28823a701bb5a12d)(\"curl\", [\n \"-LJO\",\n \"https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh\"\n ], {\n cwd: brewTempDirectory\n });\n const installSh = (0, $aEsRD$path.join)(brewTempDirectory, \"install.sh\");\n if (process.platform === \"linux\") {\n const installShContent = (0, $aEsRD$fs.readFileSync)(installSh, \"utf-8\");\n installShContent.replace(\"#!/bin/bash\", \"\");\n }\n (0, $fdbe8517affbdc0a$export$28823a701bb5a12d)(\"/bin/bash\", [\n installSh\n ], {\n stdio: \"inherit\",\n env: {\n NONINTERACTIVE: \"1\"\n }\n });\n $7eeef95f58db9236$var$binDir = $7eeef95f58db9236$export$cba19b0564b654bf();\n await (0, $2f24a8df2529dc1c$export$4c25481b843feb0b)($7eeef95f58db9236$var$binDir);\n return {\n binDir: $7eeef95f58db9236$var$binDir\n };\n}\nfunction $7eeef95f58db9236$export$cba19b0564b654bf() {\n if (process.platform === \"linux\") return \"/home/linuxbrew/.linuxbrew/bin/\";\n else return \"/usr/local/bin/\";\n}\n\n\nlet $d04dcbafc5bebef1$var$hasBrew = false;\nasync function $d04dcbafc5bebef1$export$ce5d13d8a85cb784(name, version, extraArgs = []) {\n (0, $i5trn.info)(`Installing ${name} ${version ?? \"\"} via brew`);\n if (!$d04dcbafc5bebef1$var$hasBrew || (0, (/*@__PURE__*/$parcel$interopDefault($69f9660769b2c54f$exports))).sync(\"brew\", {\n nothrow: true\n }) === null) {\n await (0, $7eeef95f58db9236$export$c5eeb9c87a610a0e)(\"\", \"\", process.arch);\n $d04dcbafc5bebef1$var$hasBrew = true;\n }\n const binDir = (0, $7eeef95f58db9236$export$cba19b0564b654bf)();\n // brew is not thread-safe\n (0, $fdbe8517affbdc0a$export$28823a701bb5a12d)((0, $eq4yW.join)(binDir, \"brew\"), [\n \"install\",\n version !== undefined && version !== \"\" ? `${name}@${version}` : name,\n ...extraArgs\n ], {\n stdio: \"inherit\"\n });\n return {\n binDir: binDir\n };\n}\n\n\n/* eslint-disable require-atomic-updates */ \n\n/* eslint-disable require-atomic-updates */ \n\nvar $bOuKS = parcelRequire(\"bOuKS\");\n\nvar $eq4yW = parcelRequire(\"eq4yW\");\n\n\nlet $9ccbddfd63a1d0a8$var$binDir;\nasync function $9ccbddfd63a1d0a8$export$b804d731cdad7ef9(// eslint-disable-next-line @typescript-eslint/no-unused-vars\n_version, // eslint-disable-next-line @typescript-eslint/no-unused-vars\n_setupDir, // eslint-disable-next-line @typescript-eslint/no-unused-vars\n_arch) {\n if (process.platform !== \"win32\") return undefined;\n if (typeof $9ccbddfd63a1d0a8$var$binDir === \"string\") return {\n binDir: $9ccbddfd63a1d0a8$var$binDir\n };\n const maybeBinDir = (0, (/*@__PURE__*/$parcel$interopDefault($69f9660769b2c54f$exports))).sync(\"choco\", {\n nothrow: true\n });\n if (maybeBinDir !== null) {\n $9ccbddfd63a1d0a8$var$binDir = (0, $eq4yW.dirname)(maybeBinDir);\n return {\n binDir: $9ccbddfd63a1d0a8$var$binDir\n };\n }\n let powershell = \"powershell.exe\";\n const maybePowerShell = (0, (/*@__PURE__*/$parcel$interopDefault($69f9660769b2c54f$exports))).sync(`${process.env.SystemRoot}\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\powershell.exe`, {\n nothrow: true\n });\n if (maybePowerShell !== null) powershell = maybePowerShell;\n // https://docs.chocolatey.org/en-us/choco/setup#install-with-cmd.exe\n (0, $fdbe8517affbdc0a$export$28823a701bb5a12d)(powershell, [\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 const chocoPath = `${process.env.ALLUSERSPROFILE}\\\\chocolatey\\\\bin`;\n await (0, $2f24a8df2529dc1c$export$4c25481b843feb0b)(chocoPath);\n const maybeChoco = (0, (/*@__PURE__*/$parcel$interopDefault($69f9660769b2c54f$exports))).sync(\"choco\", {\n nothrow: true\n });\n if (maybeChoco !== null) $9ccbddfd63a1d0a8$var$binDir = (0, $eq4yW.dirname)(maybeChoco);\n else $9ccbddfd63a1d0a8$var$binDir = `${process.env.ChocolateyInstall ?? \"C:/ProgramData/chocolatey\"}/bin`;\n if (await (0, $bOuKS.pathExists)($9ccbddfd63a1d0a8$var$binDir)) return {\n binDir: $9ccbddfd63a1d0a8$var$binDir\n };\n return undefined;\n}\n\n\n\n\nvar $7Lz0k = parcelRequire(\"7Lz0k\");\nlet $953ade167c7bc14a$var$hasChoco = false;\nasync function $953ade167c7bc14a$export$9f6912bc890040b2(name, version, args = []) {\n (0, $7Lz0k.info)(`Installing ${name} ${version ?? \"\"} via chocolatey`);\n if (!$953ade167c7bc14a$var$hasChoco || (0, (/*@__PURE__*/$parcel$interopDefault($69f9660769b2c54f$exports))).sync(\"choco\", {\n nothrow: true\n }) === null) {\n await (0, $9ccbddfd63a1d0a8$export$b804d731cdad7ef9)(\"\", \"\", process.arch);\n $953ade167c7bc14a$var$hasChoco = true;\n }\n // https://github.com/jberezanski/ChocolateyPackages/issues/97#issuecomment-986825694\n const PATH = process.env.PATH;\n const env = {\n ...process.env\n };\n delete env.TMP;\n delete env.TEMP;\n delete env.Path;\n env.PATH = PATH;\n if (version !== undefined && version !== \"\") (0, $fdbe8517affbdc0a$export$28823a701bb5a12d)(\"choco\", [\n \"install\",\n \"-y\",\n name,\n `--version=${version}`,\n ...args\n ], {\n env: env,\n extendEnv: false,\n stdio: \"inherit\"\n });\n else try {\n (0, $fdbe8517affbdc0a$export$28823a701bb5a12d)(\"choco\", [\n \"install\",\n \"-y\",\n name,\n ...args\n ], {\n env: env,\n extendEnv: false,\n stdio: \"inherit\"\n });\n } catch (err) {\n // if the package requires a reboot, downgrade the error to a notice\n if (err.message.includes(\"exit code 3010\")) (0, $7Lz0k.info)(`${name} might require a reboot for the completion of the installation.`);\n else throw err;\n }\n const binDir = `${process.env.ChocolateyInstall ?? \"C:/ProgramData/chocolatey\"}/bin`;\n await (0, $2f24a8df2529dc1c$export$4c25481b843feb0b)(binDir);\n return {\n binDir: binDir\n };\n}\n\n\n\nlet $9aeb5896658945db$var$isArchCache = undefined;\nfunction $9aeb5896658945db$export$d415ddb6702ec3a2() {\n if (process.platform !== \"linux\") return false;\n if ($9aeb5896658945db$var$isArchCache === undefined) // detect arch by checking if pacman exists\n $9aeb5896658945db$var$isArchCache = (0, (/*@__PURE__*/$parcel$interopDefault($69f9660769b2c54f$exports))).sync(\"pacman\", {\n nothrow: true\n }) !== null;\n return $9aeb5896658945db$var$isArchCache;\n}\n\n\n\nlet $3886c66546fd08fe$var$hasDnfCache = undefined;\nfunction $3886c66546fd08fe$export$8ce8b4b22331a8c7() {\n if (process.platform !== \"linux\") return false;\n if ($3886c66546fd08fe$var$hasDnfCache === undefined) $3886c66546fd08fe$var$hasDnfCache = (0, (/*@__PURE__*/$parcel$interopDefault($69f9660769b2c54f$exports))).sync(\"dnf\", {\n nothrow: true\n }) !== null;\n return $3886c66546fd08fe$var$hasDnfCache;\n}\n\n\n\n\nvar $7Lz0k = parcelRequire(\"7Lz0k\");\n\nasync function $c19966177a67898f$export$49d4f9ba8e0dd34f(packages) {\n for (const { name: name, version: version } of packages)(0, $7Lz0k.info)(`Installing ${name} ${version ?? \"\"} via dnf`);\n const dnfArgs = await Promise.all(packages.map((pack)=>$c19966177a67898f$var$getDnfArg(pack.name, pack.version)));\n (0, $041b20e97bdb3b21$export$58f152936f209932)(\"dnf\", [\n \"-y\",\n \"install\",\n ...dnfArgs\n ]);\n return {\n binDir: \"/usr/bin/\"\n };\n}\nasync function $c19966177a67898f$var$getDnfArg(name, version) {\n if (version !== undefined && version !== \"\") {\n // check if name-version is available\n const { stdout: stdout } = await (0, $fdbe8517affbdc0a$export$db6b1668e3758717)(\"dnf\", [\n \"search\",\n \"-q\",\n `${name}-${version}`\n ]);\n if (stdout.trim() !== \"\") return `${name}-${version}`;\n else {\n // try with ${name}${version}\n // eslint-disable-next-line @typescript-eslint/no-shadow\n const { stdout: stdout } = await (0, $fdbe8517affbdc0a$export$db6b1668e3758717)(\"dnf\", [\n \"search\",\n \"-q\",\n `${name}${version}`\n ]);\n if (stdout.trim() !== \"\") return `${name}${version}`;\n (0, $7Lz0k.warning)(`Failed to install ${name} ${version} via dnf, trying without version`);\n }\n }\n return name;\n}\n\n\n\nlet $20fc1212ead529fb$var$isUbuntuCache = undefined;\nfunction $20fc1212ead529fb$export$da8baf1d6c6802b6() {\n if (process.platform !== \"linux\") return false;\n if ($20fc1212ead529fb$var$isUbuntuCache === undefined) {\n const apt = \"apt-get\";\n $20fc1212ead529fb$var$isUbuntuCache = (0, (/*@__PURE__*/$parcel$interopDefault($69f9660769b2c54f$exports))).sync(apt, {\n nothrow: true\n }) !== null;\n }\n return $20fc1212ead529fb$var$isUbuntuCache;\n}\n\n\n\nasync function $a40e1fc0f7d6a0ef$export$a66bc93580b0a849(version, _setupDir, _arch) {\n switch(process.platform){\n case \"win32\":\n // install bazelisk because it contains both\n return (0, $953ade167c7bc14a$export$9f6912bc890040b2)(\"bazelisk\", version);\n case \"darwin\":\n // install bazelisk because it contains both\n return (0, $d04dcbafc5bebef1$export$ce5d13d8a85cb784)(\"bazelisk\", version);\n case \"linux\":\n if ((0, $9aeb5896658945db$export$d415ddb6702ec3a2)()) throw new Error(\"installing bazel on Arch linux is not supported yet\");\n else if ((0, $3886c66546fd08fe$export$8ce8b4b22331a8c7)()) {\n // https://bazel.build/install/redhat\n await (0, $c19966177a67898f$export$49d4f9ba8e0dd34f)([\n {\n name: \"dnf-plugins-core\"\n }\n ]);\n (0, $041b20e97bdb3b21$export$58f152936f209932)(\"dnf\", [\n \"copr\",\n \"enable\",\n \"vbatts/bazel\"\n ]);\n return (0, $c19966177a67898f$export$49d4f9ba8e0dd34f)([\n {\n name: \"bazel4\"\n }\n ]);\n } else if ((0, $20fc1212ead529fb$export$da8baf1d6c6802b6)()) {\n // https://bazel.build/install/ubuntu\n const keyFileName = await (0, $c28d8ebe1e034757$export$7fb1a688af1305f0)(\"bazel-archive-keyring.gpg\", \"https://bazel.build/bazel-release.pub.gpg\");\n (0, $041b20e97bdb3b21$export$58f152936f209932)(\"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 (0, $c28d8ebe1e034757$export$d73dc343f5abf26)([\n {\n name: \"bazel\",\n version: version\n }\n ], true);\n }\n throw new Error(`Unsupported linux distribution`);\n default:\n throw new Error(`Unsupported platform`);\n }\n}\n\n\n\n\n\n\nvar $7Lz0k = parcelRequire(\"7Lz0k\");\n\n\n/* eslint-disable require-atomic-updates */ let $8310f4b4d4fddda5$var$didUpdate = false;\nlet $8310f4b4d4fddda5$var$didInit = false;\nasync function $8310f4b4d4fddda5$export$cfa75578ee2d6e6c(name, version, aur) {\n (0, $7Lz0k.info)(`Installing ${name} ${version ?? \"\"} via pacman`);\n const pacman = \"pacman\";\n if (aur === \"yay\" && (0, (/*@__PURE__*/$parcel$interopDefault($69f9660769b2c54f$exports))).sync(\"yay\", {\n nothrow: true\n }) === null) // TODO: install yay automatically\n throw new Error(`yay is needed for ${name}, but it is not installed, please install it manually first`);\n // yay can't run as root, so skip update\n if (!$8310f4b4d4fddda5$var$didUpdate && aur !== \"yay\") {\n (0, $041b20e97bdb3b21$export$58f152936f209932)(pacman, [\n \"-Sy\",\n \"--noconfirm\"\n ]);\n $8310f4b4d4fddda5$var$didUpdate = true;\n }\n // install base-devel\n if (!$8310f4b4d4fddda5$var$didInit && aur !== \"yay\") {\n (0, $041b20e97bdb3b21$export$58f152936f209932)(pacman, [\n \"-S\",\n \"--noconfirm\",\n \"base-devel\"\n ]);\n $8310f4b4d4fddda5$var$didInit = true;\n }\n const runInstall = (arg)=>{\n if (aur === \"yay\") // run yay as non-root, ERROR: Running makepkg as root is not allowed as it can cause permanent, catastrophic damage to your system.\n return (0, $fdbe8517affbdc0a$export$28823a701bb5a12d)(aur, [\n \"-S\",\n \"--noconfirm\",\n arg\n ]);\n return (0, $041b20e97bdb3b21$export$58f152936f209932)(aur ?? pacman, [\n \"-S\",\n \"--noconfirm\",\n arg\n ]);\n };\n if (version !== undefined && version !== \"\") {\n // check if version is available\n const availableVersions = await $8310f4b4d4fddda5$var$availablePacmanVersions(pacman, name);\n if (availableVersions.includes(version)) // try different version formats\n try {\n runInstall(`${name}=${version}`);\n } catch {\n runInstall(`${name}${version}`);\n }\n else {\n // try without version\n (0, $7Lz0k.info)(`Failed to install ${name} ${version} via pacman, trying without version`);\n runInstall(name);\n }\n } else // version not specified, install latest\n runInstall(name);\n return {\n binDir: \"/usr/bin/\"\n };\n}\nconst $8310f4b4d4fddda5$var$pacmanSiVersionRegex = /Version\\s*:\\s*(.*)/g;\n/** Query pacman for available versions */ async function $8310f4b4d4fddda5$var$availablePacmanVersions(pacman, name) {\n const availableVersions = [];\n try {\n const { stdout: stdout } = await (0, $fdbe8517affbdc0a$export$db6b1668e3758717)(pacman, [\n \"-Si\",\n name\n ]);\n for (const match of stdout.matchAll($8310f4b4d4fddda5$var$pacmanSiVersionRegex))availableVersions.push(match[1]);\n } catch (err) {\n (0, $7Lz0k.warning)(`Failed to get available versions for ${name}: ${err}`);\n }\n return availableVersions;\n}\n\n\n\n\n\n\n\n\nfunction $4e9e6c219ffcdbbf$export$111263621bbb0768(version, _setupDir, _arch) {\n switch(process.platform){\n case \"win32\":\n return (0, $953ade167c7bc14a$export$9f6912bc890040b2)(\"ccache\", version);\n case \"darwin\":\n return (0, $d04dcbafc5bebef1$export$ce5d13d8a85cb784)(\"ccache\", version);\n case \"linux\":\n if ((0, $9aeb5896658945db$export$d415ddb6702ec3a2)()) return (0, $8310f4b4d4fddda5$export$cfa75578ee2d6e6c)(\"ccache\", version);\n else if ((0, $3886c66546fd08fe$export$8ce8b4b22331a8c7)()) return (0, $c19966177a67898f$export$49d4f9ba8e0dd34f)([\n {\n name: \"ccache\",\n version: version\n }\n ]);\n else if ((0, $20fc1212ead529fb$export$da8baf1d6c6802b6)()) return (0, $c28d8ebe1e034757$export$d73dc343f5abf26)([\n {\n name: \"ccache\",\n version: version\n }\n ]);\n throw new Error(`Unsupported linux distribution`);\n default:\n throw new Error(`Unsupported platform`);\n }\n}\n\n\n\nvar $041d45f5b9f47c6d$exports = {};\n\nvar $041d45f5b9f47c6d$var$$parcel$__dirname = $aEsRD$path.resolve(__dirname, \"../../node_modules/.pnpm/@actions+tool-cache@2.0.1/node_modules/@actions/tool-cache/lib\");\n\"use strict\";\nvar $041d45f5b9f47c6d$var$__createBinding = $041d45f5b9f47c6d$exports && $041d45f5b9f47c6d$exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $041d45f5b9f47c6d$var$__setModuleDefault = $041d45f5b9f47c6d$exports && $041d45f5b9f47c6d$exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $041d45f5b9f47c6d$var$__importStar = $041d45f5b9f47c6d$exports && $041d45f5b9f47c6d$exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $041d45f5b9f47c6d$var$__createBinding(result, mod, k);\n }\n $041d45f5b9f47c6d$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $041d45f5b9f47c6d$var$__awaiter = $041d45f5b9f47c6d$exports && $041d45f5b9f47c6d$exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar $041d45f5b9f47c6d$var$__importDefault = $041d45f5b9f47c6d$exports && $041d45f5b9f47c6d$exports.__importDefault || function(mod) {\n return mod && mod.__esModule ? mod : {\n \"default\": mod\n };\n};\nObject.defineProperty($041d45f5b9f47c6d$exports, \"__esModule\", {\n value: true\n});\n$041d45f5b9f47c6d$exports.evaluateVersions = $041d45f5b9f47c6d$exports.isExplicitVersion = $041d45f5b9f47c6d$exports.findFromManifest = $041d45f5b9f47c6d$exports.getManifestFromRepo = $041d45f5b9f47c6d$exports.findAllVersions = $041d45f5b9f47c6d$exports.find = $041d45f5b9f47c6d$exports.cacheFile = $041d45f5b9f47c6d$exports.cacheDir = $041d45f5b9f47c6d$exports.extractZip = $041d45f5b9f47c6d$exports.extractXar = $041d45f5b9f47c6d$exports.extractTar = $041d45f5b9f47c6d$exports.extract7z = $041d45f5b9f47c6d$exports.downloadTool = $041d45f5b9f47c6d$exports.HTTPError = void 0;\n\nconst $041d45f5b9f47c6d$var$core = $041d45f5b9f47c6d$var$__importStar((parcelRequire(\"i5trn\")));\n\nconst $041d45f5b9f47c6d$var$io = $041d45f5b9f47c6d$var$__importStar((parcelRequire(\"jtqY0\")));\n\nconst $041d45f5b9f47c6d$var$fs = $041d45f5b9f47c6d$var$__importStar($aEsRD$fs);\n\nconst $041d45f5b9f47c6d$var$mm = $041d45f5b9f47c6d$var$__importStar((parcelRequire(\"d0IR9\")));\n\nconst $041d45f5b9f47c6d$var$os = $041d45f5b9f47c6d$var$__importStar($aEsRD$os);\n\nconst $041d45f5b9f47c6d$var$path = $041d45f5b9f47c6d$var$__importStar($aEsRD$path);\n\nconst $041d45f5b9f47c6d$var$httpm = $041d45f5b9f47c6d$var$__importStar((parcelRequire(\"6xPYX\")));\n\nconst $041d45f5b9f47c6d$var$semver = $041d45f5b9f47c6d$var$__importStar((parcelRequire(\"8eiWl\")));\n\nconst $041d45f5b9f47c6d$var$stream = $041d45f5b9f47c6d$var$__importStar($aEsRD$stream);\n\nconst $041d45f5b9f47c6d$var$util = $041d45f5b9f47c6d$var$__importStar($aEsRD$util);\n\n\nconst $041d45f5b9f47c6d$var$v4_1 = $041d45f5b9f47c6d$var$__importDefault((parcelRequire(\"1NS6t\")));\n\nvar $8hZvX = parcelRequire(\"8hZvX\");\nvar $116b96d3a48694b9$exports = {};\n\"use strict\";\nvar $116b96d3a48694b9$var$__createBinding = $116b96d3a48694b9$exports && $116b96d3a48694b9$exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $116b96d3a48694b9$var$__setModuleDefault = $116b96d3a48694b9$exports && $116b96d3a48694b9$exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $116b96d3a48694b9$var$__importStar = $116b96d3a48694b9$exports && $116b96d3a48694b9$exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $116b96d3a48694b9$var$__createBinding(result, mod, k);\n }\n $116b96d3a48694b9$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $116b96d3a48694b9$var$__awaiter = $116b96d3a48694b9$exports && $116b96d3a48694b9$exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty($116b96d3a48694b9$exports, \"__esModule\", {\n value: true\n});\n$116b96d3a48694b9$exports.RetryHelper = void 0;\n\nconst $116b96d3a48694b9$var$core = $116b96d3a48694b9$var$__importStar((parcelRequire(\"i5trn\")));\n/**\n * Internal class for retries\n */ class $116b96d3a48694b9$var$RetryHelper {\n constructor(maxAttempts, minSeconds, maxSeconds){\n if (maxAttempts < 1) throw new Error(\"max attempts should be greater than or equal to 1\");\n this.maxAttempts = maxAttempts;\n this.minSeconds = Math.floor(minSeconds);\n this.maxSeconds = Math.floor(maxSeconds);\n if (this.minSeconds > this.maxSeconds) throw new Error(\"min seconds should be less than or equal to max seconds\");\n }\n execute(action, isRetryable) {\n return $116b96d3a48694b9$var$__awaiter(this, void 0, void 0, function*() {\n let attempt = 1;\n while(attempt < this.maxAttempts){\n // Try\n try {\n return yield action();\n } catch (err) {\n if (isRetryable && !isRetryable(err)) throw err;\n $116b96d3a48694b9$var$core.info(err.message);\n }\n // Sleep\n const seconds = this.getSleepAmount();\n $116b96d3a48694b9$var$core.info(`Waiting ${seconds} seconds before trying again`);\n yield this.sleep(seconds);\n attempt++;\n }\n // Last attempt\n return yield action();\n });\n }\n getSleepAmount() {\n return Math.floor(Math.random() * (this.maxSeconds - this.minSeconds + 1)) + this.minSeconds;\n }\n sleep(seconds) {\n return $116b96d3a48694b9$var$__awaiter(this, void 0, void 0, function*() {\n return new Promise((resolve)=>setTimeout(resolve, seconds * 1000));\n });\n }\n}\n$116b96d3a48694b9$exports.RetryHelper = $116b96d3a48694b9$var$RetryHelper;\n\n\nclass $041d45f5b9f47c6d$var$HTTPError extends Error {\n constructor(httpStatusCode){\n super(`Unexpected HTTP response: ${httpStatusCode}`);\n this.httpStatusCode = httpStatusCode;\n Object.setPrototypeOf(this, new.target.prototype);\n }\n}\n$041d45f5b9f47c6d$exports.HTTPError = $041d45f5b9f47c6d$var$HTTPError;\nconst $041d45f5b9f47c6d$var$IS_WINDOWS = process.platform === \"win32\";\nconst $041d45f5b9f47c6d$var$IS_MAC = process.platform === \"darwin\";\nconst $041d45f5b9f47c6d$var$userAgent = \"actions/tool-cache\";\n/**\n * Download a tool from an url and stream it into a file\n *\n * @param url url of tool to download\n * @param dest path to download tool\n * @param auth authorization header\n * @param headers other headers\n * @returns path to downloaded tool\n */ function $041d45f5b9f47c6d$var$downloadTool(url, dest, auth, headers) {\n return $041d45f5b9f47c6d$var$__awaiter(this, void 0, void 0, function*() {\n dest = dest || $041d45f5b9f47c6d$var$path.join($041d45f5b9f47c6d$var$_getTempDirectory(), $041d45f5b9f47c6d$var$v4_1.default());\n yield $041d45f5b9f47c6d$var$io.mkdirP($041d45f5b9f47c6d$var$path.dirname(dest));\n $041d45f5b9f47c6d$var$core.debug(`Downloading ${url}`);\n $041d45f5b9f47c6d$var$core.debug(`Destination ${dest}`);\n const maxAttempts = 3;\n const minSeconds = $041d45f5b9f47c6d$var$_getGlobal(\"TEST_DOWNLOAD_TOOL_RETRY_MIN_SECONDS\", 10);\n const maxSeconds = $041d45f5b9f47c6d$var$_getGlobal(\"TEST_DOWNLOAD_TOOL_RETRY_MAX_SECONDS\", 20);\n const retryHelper = new $116b96d3a48694b9$exports.RetryHelper(maxAttempts, minSeconds, maxSeconds);\n return yield retryHelper.execute(()=>$041d45f5b9f47c6d$var$__awaiter(this, void 0, void 0, function*() {\n return yield $041d45f5b9f47c6d$var$downloadToolAttempt(url, dest || \"\", auth, headers);\n }), (err)=>{\n if (err instanceof $041d45f5b9f47c6d$var$HTTPError && err.httpStatusCode) {\n // Don't retry anything less than 500, except 408 Request Timeout and 429 Too Many Requests\n if (err.httpStatusCode < 500 && err.httpStatusCode !== 408 && err.httpStatusCode !== 429) return false;\n }\n // Otherwise retry\n return true;\n });\n });\n}\n$041d45f5b9f47c6d$exports.downloadTool = $041d45f5b9f47c6d$var$downloadTool;\nfunction $041d45f5b9f47c6d$var$downloadToolAttempt(url, dest, auth, headers) {\n return $041d45f5b9f47c6d$var$__awaiter(this, void 0, void 0, function*() {\n if ($041d45f5b9f47c6d$var$fs.existsSync(dest)) throw new Error(`Destination file path ${dest} already exists`);\n // Get the response headers\n const http = new $041d45f5b9f47c6d$var$httpm.HttpClient($041d45f5b9f47c6d$var$userAgent, [], {\n allowRetries: false\n });\n if (auth) {\n $041d45f5b9f47c6d$var$core.debug(\"set auth\");\n if (headers === undefined) headers = {};\n headers.authorization = auth;\n }\n const response = yield http.get(url, headers);\n if (response.message.statusCode !== 200) {\n const err = new $041d45f5b9f47c6d$var$HTTPError(response.message.statusCode);\n $041d45f5b9f47c6d$var$core.debug(`Failed to download from \"${url}\". Code(${response.message.statusCode}) Message(${response.message.statusMessage})`);\n throw err;\n }\n // Download the response body\n const pipeline = $041d45f5b9f47c6d$var$util.promisify($041d45f5b9f47c6d$var$stream.pipeline);\n const responseMessageFactory = $041d45f5b9f47c6d$var$_getGlobal(\"TEST_DOWNLOAD_TOOL_RESPONSE_MESSAGE_FACTORY\", ()=>response.message);\n const readStream = responseMessageFactory();\n let succeeded = false;\n try {\n yield pipeline(readStream, $041d45f5b9f47c6d$var$fs.createWriteStream(dest));\n $041d45f5b9f47c6d$var$core.debug(\"download complete\");\n succeeded = true;\n return dest;\n } finally{\n // Error, delete dest before retry\n if (!succeeded) {\n $041d45f5b9f47c6d$var$core.debug(\"download failed\");\n try {\n yield $041d45f5b9f47c6d$var$io.rmRF(dest);\n } catch (err) {\n $041d45f5b9f47c6d$var$core.debug(`Failed to delete '${dest}'. ${err.message}`);\n }\n }\n }\n });\n}\n/**\n * Extract a .7z file\n *\n * @param file path to the .7z file\n * @param dest destination directory. Optional.\n * @param _7zPath path to 7zr.exe. Optional, for long path support. Most .7z archives do not have this\n * problem. If your .7z archive contains very long paths, you can pass the path to 7zr.exe which will\n * gracefully handle long paths. By default 7zdec.exe is used because it is a very small program and is\n * bundled with the tool lib. However it does not support long paths. 7zr.exe is the reduced command line\n * interface, it is smaller than the full command line interface, and it does support long paths. At the\n * time of this writing, it is freely available from the LZMA SDK that is available on the 7zip website.\n * Be sure to check the current license agreement. If 7zr.exe is bundled with your action, then the path\n * to 7zr.exe can be pass to this function.\n * @returns path to the destination directory\n */ function $041d45f5b9f47c6d$var$extract7z(file, dest, _7zPath) {\n return $041d45f5b9f47c6d$var$__awaiter(this, void 0, void 0, function*() {\n $aEsRD$assert.ok($041d45f5b9f47c6d$var$IS_WINDOWS, \"extract7z() not supported on current OS\");\n $aEsRD$assert.ok(file, 'parameter \"file\" is required');\n dest = yield $041d45f5b9f47c6d$var$_createExtractFolder(dest);\n const originalCwd = process.cwd();\n process.chdir(dest);\n if (_7zPath) try {\n const logLevel = $041d45f5b9f47c6d$var$core.isDebug() ? \"-bb1\" : \"-bb0\";\n const args = [\n \"x\",\n logLevel,\n \"-bd\",\n \"-sccUTF-8\",\n file\n ];\n const options = {\n silent: true\n };\n yield $8hZvX.exec(`\"${_7zPath}\"`, args, options);\n } finally{\n process.chdir(originalCwd);\n }\n else {\n const escapedScript = $041d45f5b9f47c6d$var$path.join($041d45f5b9f47c6d$var$$parcel$__dirname, \"..\", \"scripts\", \"Invoke-7zdec.ps1\").replace(/'/g, \"''\").replace(/\"|\\n|\\r/g, \"\"); // double-up single quotes, remove double quotes and newlines\n const escapedFile = file.replace(/'/g, \"''\").replace(/\"|\\n|\\r/g, \"\");\n const escapedTarget = dest.replace(/'/g, \"''\").replace(/\"|\\n|\\r/g, \"\");\n const command = `& '${escapedScript}' -Source '${escapedFile}' -Target '${escapedTarget}'`;\n const args = [\n \"-NoLogo\",\n \"-Sta\",\n \"-NoProfile\",\n \"-NonInteractive\",\n \"-ExecutionPolicy\",\n \"Unrestricted\",\n \"-Command\",\n command\n ];\n const options = {\n silent: true\n };\n try {\n const powershellPath = yield $041d45f5b9f47c6d$var$io.which(\"powershell\", true);\n yield $8hZvX.exec(`\"${powershellPath}\"`, args, options);\n } finally{\n process.chdir(originalCwd);\n }\n }\n return dest;\n });\n}\n$041d45f5b9f47c6d$exports.extract7z = $041d45f5b9f47c6d$var$extract7z;\n/**\n * Extract a compressed tar archive\n *\n * @param file path to the tar\n * @param dest destination directory. Optional.\n * @param flags flags for the tar command to use for extraction. Defaults to 'xz' (extracting gzipped tars). Optional.\n * @returns path to the destination directory\n */ function $041d45f5b9f47c6d$var$extractTar(file, dest, flags = \"xz\") {\n return $041d45f5b9f47c6d$var$__awaiter(this, void 0, void 0, function*() {\n if (!file) throw new Error(\"parameter 'file' is required\");\n // Create dest\n dest = yield $041d45f5b9f47c6d$var$_createExtractFolder(dest);\n // Determine whether GNU tar\n $041d45f5b9f47c6d$var$core.debug(\"Checking tar --version\");\n let versionOutput = \"\";\n yield $8hZvX.exec(\"tar --version\", [], {\n ignoreReturnCode: true,\n silent: true,\n listeners: {\n stdout: (data)=>versionOutput += data.toString(),\n stderr: (data)=>versionOutput += data.toString()\n }\n });\n $041d45f5b9f47c6d$var$core.debug(versionOutput.trim());\n const isGnuTar = versionOutput.toUpperCase().includes(\"GNU TAR\");\n // Initialize args\n let args;\n if (flags instanceof Array) args = flags;\n else args = [\n flags\n ];\n if ($041d45f5b9f47c6d$var$core.isDebug() && !flags.includes(\"v\")) args.push(\"-v\");\n let destArg = dest;\n let fileArg = file;\n if ($041d45f5b9f47c6d$var$IS_WINDOWS && isGnuTar) {\n args.push(\"--force-local\");\n destArg = dest.replace(/\\\\/g, \"/\");\n // Technically only the dest needs to have `/` but for aesthetic consistency\n // convert slashes in the file arg too.\n fileArg = file.replace(/\\\\/g, \"/\");\n }\n if (isGnuTar) {\n // Suppress warnings when using GNU tar to extract archives created by BSD tar\n args.push(\"--warning=no-unknown-keyword\");\n args.push(\"--overwrite\");\n }\n args.push(\"-C\", destArg, \"-f\", fileArg);\n yield $8hZvX.exec(`tar`, args);\n return dest;\n });\n}\n$041d45f5b9f47c6d$exports.extractTar = $041d45f5b9f47c6d$var$extractTar;\n/**\n * Extract a xar compatible archive\n *\n * @param file path to the archive\n * @param dest destination directory. Optional.\n * @param flags flags for the xar. Optional.\n * @returns path to the destination directory\n */ function $041d45f5b9f47c6d$var$extractXar(file, dest, flags = []) {\n return $041d45f5b9f47c6d$var$__awaiter(this, void 0, void 0, function*() {\n $aEsRD$assert.ok($041d45f5b9f47c6d$var$IS_MAC, \"extractXar() not supported on current OS\");\n $aEsRD$assert.ok(file, 'parameter \"file\" is required');\n dest = yield $041d45f5b9f47c6d$var$_createExtractFolder(dest);\n let args;\n if (flags instanceof Array) args = flags;\n else args = [\n flags\n ];\n args.push(\"-x\", \"-C\", dest, \"-f\", file);\n if ($041d45f5b9f47c6d$var$core.isDebug()) args.push(\"-v\");\n const xarPath = yield $041d45f5b9f47c6d$var$io.which(\"xar\", true);\n yield $8hZvX.exec(`\"${xarPath}\"`, $041d45f5b9f47c6d$var$_unique(args));\n return dest;\n });\n}\n$041d45f5b9f47c6d$exports.extractXar = $041d45f5b9f47c6d$var$extractXar;\n/**\n * Extract a zip\n *\n * @param file path to the zip\n * @param dest destination directory. Optional.\n * @returns path to the destination directory\n */ function $041d45f5b9f47c6d$var$extractZip(file, dest) {\n return $041d45f5b9f47c6d$var$__awaiter(this, void 0, void 0, function*() {\n if (!file) throw new Error(\"parameter 'file' is required\");\n dest = yield $041d45f5b9f47c6d$var$_createExtractFolder(dest);\n if ($041d45f5b9f47c6d$var$IS_WINDOWS) yield $041d45f5b9f47c6d$var$extractZipWin(file, dest);\n else yield $041d45f5b9f47c6d$var$extractZipNix(file, dest);\n return dest;\n });\n}\n$041d45f5b9f47c6d$exports.extractZip = $041d45f5b9f47c6d$var$extractZip;\nfunction $041d45f5b9f47c6d$var$extractZipWin(file, dest) {\n return $041d45f5b9f47c6d$var$__awaiter(this, void 0, void 0, function*() {\n // build the powershell command\n const escapedFile = file.replace(/'/g, \"''\").replace(/\"|\\n|\\r/g, \"\"); // double-up single quotes, remove double quotes and newlines\n const escapedDest = dest.replace(/'/g, \"''\").replace(/\"|\\n|\\r/g, \"\");\n const pwshPath = yield $041d45f5b9f47c6d$var$io.which(\"pwsh\", false);\n //To match the file overwrite behavior on nix systems, we use the overwrite = true flag for ExtractToDirectory\n //and the -Force flag for Expand-Archive as a fallback\n if (pwshPath) {\n //attempt to use pwsh with ExtractToDirectory, if this fails attempt Expand-Archive\n const pwshCommand = [\n `$ErrorActionPreference = 'Stop' ;`,\n `try { Add-Type -AssemblyName System.IO.Compression.ZipFile } catch { } ;`,\n `try { [System.IO.Compression.ZipFile]::ExtractToDirectory('${escapedFile}', '${escapedDest}', $true) }`,\n `catch { if (($_.Exception.GetType().FullName -eq 'System.Management.Automation.MethodException') -or ($_.Exception.GetType().FullName -eq 'System.Management.Automation.RuntimeException') ){ Expand-Archive -LiteralPath '${escapedFile}' -DestinationPath '${escapedDest}' -Force } else { throw $_ } } ;`\n ].join(\" \");\n const args = [\n \"-NoLogo\",\n \"-NoProfile\",\n \"-NonInteractive\",\n \"-ExecutionPolicy\",\n \"Unrestricted\",\n \"-Command\",\n pwshCommand\n ];\n $041d45f5b9f47c6d$var$core.debug(`Using pwsh at path: ${pwshPath}`);\n yield $8hZvX.exec(`\"${pwshPath}\"`, args);\n } else {\n const powershellCommand = [\n `$ErrorActionPreference = 'Stop' ;`,\n `try { Add-Type -AssemblyName System.IO.Compression.FileSystem } catch { } ;`,\n `if ((Get-Command -Name Expand-Archive -Module Microsoft.PowerShell.Archive -ErrorAction Ignore)) { Expand-Archive -LiteralPath '${escapedFile}' -DestinationPath '${escapedDest}' -Force }`,\n `else {[System.IO.Compression.ZipFile]::ExtractToDirectory('${escapedFile}', '${escapedDest}', $true) }`\n ].join(\" \");\n const args = [\n \"-NoLogo\",\n \"-Sta\",\n \"-NoProfile\",\n \"-NonInteractive\",\n \"-ExecutionPolicy\",\n \"Unrestricted\",\n \"-Command\",\n powershellCommand\n ];\n const powershellPath = yield $041d45f5b9f47c6d$var$io.which(\"powershell\", true);\n $041d45f5b9f47c6d$var$core.debug(`Using powershell at path: ${powershellPath}`);\n yield $8hZvX.exec(`\"${powershellPath}\"`, args);\n }\n });\n}\nfunction $041d45f5b9f47c6d$var$extractZipNix(file, dest) {\n return $041d45f5b9f47c6d$var$__awaiter(this, void 0, void 0, function*() {\n const unzipPath = yield $041d45f5b9f47c6d$var$io.which(\"unzip\", true);\n const args = [\n file\n ];\n if (!$041d45f5b9f47c6d$var$core.isDebug()) args.unshift(\"-q\");\n args.unshift(\"-o\"); //overwrite with -o, otherwise a prompt is shown which freezes the run\n yield $8hZvX.exec(`\"${unzipPath}\"`, args, {\n cwd: dest\n });\n });\n}\n/**\n * Caches a directory and installs it into the tool cacheDir\n *\n * @param sourceDir the directory to cache into tools\n * @param tool tool name\n * @param version version of the tool. semver format\n * @param arch architecture of the tool. Optional. Defaults to machine architecture\n */ function $041d45f5b9f47c6d$var$cacheDir(sourceDir, tool, version, arch) {\n return $041d45f5b9f47c6d$var$__awaiter(this, void 0, void 0, function*() {\n version = $041d45f5b9f47c6d$var$semver.clean(version) || version;\n arch = arch || $041d45f5b9f47c6d$var$os.arch();\n $041d45f5b9f47c6d$var$core.debug(`Caching tool ${tool} ${version} ${arch}`);\n $041d45f5b9f47c6d$var$core.debug(`source dir: ${sourceDir}`);\n if (!$041d45f5b9f47c6d$var$fs.statSync(sourceDir).isDirectory()) throw new Error(\"sourceDir is not a directory\");\n // Create the tool dir\n const destPath = yield $041d45f5b9f47c6d$var$_createToolPath(tool, version, arch);\n // copy each child item. do not move. move can fail on Windows\n // due to anti-virus software having an open handle on a file.\n for (const itemName of $041d45f5b9f47c6d$var$fs.readdirSync(sourceDir)){\n const s = $041d45f5b9f47c6d$var$path.join(sourceDir, itemName);\n yield $041d45f5b9f47c6d$var$io.cp(s, destPath, {\n recursive: true\n });\n }\n // write .complete\n $041d45f5b9f47c6d$var$_completeToolPath(tool, version, arch);\n return destPath;\n });\n}\n$041d45f5b9f47c6d$exports.cacheDir = $041d45f5b9f47c6d$var$cacheDir;\n/**\n * Caches a downloaded file (GUID) and installs it\n * into the tool cache with a given targetName\n *\n * @param sourceFile the file to cache into tools. Typically a result of downloadTool which is a guid.\n * @param targetFile the name of the file name in the tools directory\n * @param tool tool name\n * @param version version of the tool. semver format\n * @param arch architecture of the tool. Optional. Defaults to machine architecture\n */ function $041d45f5b9f47c6d$var$cacheFile(sourceFile, targetFile, tool, version, arch) {\n return $041d45f5b9f47c6d$var$__awaiter(this, void 0, void 0, function*() {\n version = $041d45f5b9f47c6d$var$semver.clean(version) || version;\n arch = arch || $041d45f5b9f47c6d$var$os.arch();\n $041d45f5b9f47c6d$var$core.debug(`Caching tool ${tool} ${version} ${arch}`);\n $041d45f5b9f47c6d$var$core.debug(`source file: ${sourceFile}`);\n if (!$041d45f5b9f47c6d$var$fs.statSync(sourceFile).isFile()) throw new Error(\"sourceFile is not a file\");\n // create the tool dir\n const destFolder = yield $041d45f5b9f47c6d$var$_createToolPath(tool, version, arch);\n // copy instead of move. move can fail on Windows due to\n // anti-virus software having an open handle on a file.\n const destPath = $041d45f5b9f47c6d$var$path.join(destFolder, targetFile);\n $041d45f5b9f47c6d$var$core.debug(`destination file ${destPath}`);\n yield $041d45f5b9f47c6d$var$io.cp(sourceFile, destPath);\n // write .complete\n $041d45f5b9f47c6d$var$_completeToolPath(tool, version, arch);\n return destFolder;\n });\n}\n$041d45f5b9f47c6d$exports.cacheFile = $041d45f5b9f47c6d$var$cacheFile;\n/**\n * Finds the path to a tool version in the local installed tool cache\n *\n * @param toolName name of the tool\n * @param versionSpec version of the tool\n * @param arch optional arch. defaults to arch of computer\n */ function $041d45f5b9f47c6d$var$find(toolName, versionSpec, arch) {\n if (!toolName) throw new Error(\"toolName parameter is required\");\n if (!versionSpec) throw new Error(\"versionSpec parameter is required\");\n arch = arch || $041d45f5b9f47c6d$var$os.arch();\n // attempt to resolve an explicit version\n if (!$041d45f5b9f47c6d$var$isExplicitVersion(versionSpec)) {\n const localVersions = $041d45f5b9f47c6d$var$findAllVersions(toolName, arch);\n const match = $041d45f5b9f47c6d$var$evaluateVersions(localVersions, versionSpec);\n versionSpec = match;\n }\n // check for the explicit version in the cache\n let toolPath = \"\";\n if (versionSpec) {\n versionSpec = $041d45f5b9f47c6d$var$semver.clean(versionSpec) || \"\";\n const cachePath = $041d45f5b9f47c6d$var$path.join($041d45f5b9f47c6d$var$_getCacheDirectory(), toolName, versionSpec, arch);\n $041d45f5b9f47c6d$var$core.debug(`checking cache: ${cachePath}`);\n if ($041d45f5b9f47c6d$var$fs.existsSync(cachePath) && $041d45f5b9f47c6d$var$fs.existsSync(`${cachePath}.complete`)) {\n $041d45f5b9f47c6d$var$core.debug(`Found tool in cache ${toolName} ${versionSpec} ${arch}`);\n toolPath = cachePath;\n } else $041d45f5b9f47c6d$var$core.debug(\"not found\");\n }\n return toolPath;\n}\n$041d45f5b9f47c6d$exports.find = $041d45f5b9f47c6d$var$find;\n/**\n * Finds the paths to all versions of a tool that are installed in the local tool cache\n *\n * @param toolName name of the tool\n * @param arch optional arch. defaults to arch of computer\n */ function $041d45f5b9f47c6d$var$findAllVersions(toolName, arch) {\n const versions = [];\n arch = arch || $041d45f5b9f47c6d$var$os.arch();\n const toolPath = $041d45f5b9f47c6d$var$path.join($041d45f5b9f47c6d$var$_getCacheDirectory(), toolName);\n if ($041d45f5b9f47c6d$var$fs.existsSync(toolPath)) {\n const children = $041d45f5b9f47c6d$var$fs.readdirSync(toolPath);\n for (const child of children)if ($041d45f5b9f47c6d$var$isExplicitVersion(child)) {\n const fullPath = $041d45f5b9f47c6d$var$path.join(toolPath, child, arch || \"\");\n if ($041d45f5b9f47c6d$var$fs.existsSync(fullPath) && $041d45f5b9f47c6d$var$fs.existsSync(`${fullPath}.complete`)) versions.push(child);\n }\n }\n return versions;\n}\n$041d45f5b9f47c6d$exports.findAllVersions = $041d45f5b9f47c6d$var$findAllVersions;\nfunction $041d45f5b9f47c6d$var$getManifestFromRepo(owner, repo, auth, branch = \"master\") {\n return $041d45f5b9f47c6d$var$__awaiter(this, void 0, void 0, function*() {\n let releases = [];\n const treeUrl = `https://api.github.com/repos/${owner}/${repo}/git/trees/${branch}`;\n const http = new $041d45f5b9f47c6d$var$httpm.HttpClient(\"tool-cache\");\n const headers = {};\n if (auth) {\n $041d45f5b9f47c6d$var$core.debug(\"set auth\");\n headers.authorization = auth;\n }\n const response = yield http.getJson(treeUrl, headers);\n if (!response.result) return releases;\n let manifestUrl = \"\";\n for (const item of response.result.tree)if (item.path === \"versions-manifest.json\") {\n manifestUrl = item.url;\n break;\n }\n headers[\"accept\"] = \"application/vnd.github.VERSION.raw\";\n let versionsRaw = yield (yield http.get(manifestUrl, headers)).readBody();\n if (versionsRaw) {\n // shouldn't be needed but protects against invalid json saved with BOM\n versionsRaw = versionsRaw.replace(/^\\uFEFF/, \"\");\n try {\n releases = JSON.parse(versionsRaw);\n } catch (_a) {\n $041d45f5b9f47c6d$var$core.debug(\"Invalid json\");\n }\n }\n return releases;\n });\n}\n$041d45f5b9f47c6d$exports.getManifestFromRepo = $041d45f5b9f47c6d$var$getManifestFromRepo;\nfunction $041d45f5b9f47c6d$var$findFromManifest(versionSpec, stable, manifest, archFilter = $041d45f5b9f47c6d$var$os.arch()) {\n return $041d45f5b9f47c6d$var$__awaiter(this, void 0, void 0, function*() {\n // wrap the internal impl\n const match = yield $041d45f5b9f47c6d$var$mm._findMatch(versionSpec, stable, manifest, archFilter);\n return match;\n });\n}\n$041d45f5b9f47c6d$exports.findFromManifest = $041d45f5b9f47c6d$var$findFromManifest;\nfunction $041d45f5b9f47c6d$var$_createExtractFolder(dest) {\n return $041d45f5b9f47c6d$var$__awaiter(this, void 0, void 0, function*() {\n if (!dest) // create a temp dir\n dest = $041d45f5b9f47c6d$var$path.join($041d45f5b9f47c6d$var$_getTempDirectory(), $041d45f5b9f47c6d$var$v4_1.default());\n yield $041d45f5b9f47c6d$var$io.mkdirP(dest);\n return dest;\n });\n}\nfunction $041d45f5b9f47c6d$var$_createToolPath(tool, version, arch) {\n return $041d45f5b9f47c6d$var$__awaiter(this, void 0, void 0, function*() {\n const folderPath = $041d45f5b9f47c6d$var$path.join($041d45f5b9f47c6d$var$_getCacheDirectory(), tool, $041d45f5b9f47c6d$var$semver.clean(version) || version, arch || \"\");\n $041d45f5b9f47c6d$var$core.debug(`destination ${folderPath}`);\n const markerPath = `${folderPath}.complete`;\n yield $041d45f5b9f47c6d$var$io.rmRF(folderPath);\n yield $041d45f5b9f47c6d$var$io.rmRF(markerPath);\n yield $041d45f5b9f47c6d$var$io.mkdirP(folderPath);\n return folderPath;\n });\n}\nfunction $041d45f5b9f47c6d$var$_completeToolPath(tool, version, arch) {\n const folderPath = $041d45f5b9f47c6d$var$path.join($041d45f5b9f47c6d$var$_getCacheDirectory(), tool, $041d45f5b9f47c6d$var$semver.clean(version) || version, arch || \"\");\n const markerPath = `${folderPath}.complete`;\n $041d45f5b9f47c6d$var$fs.writeFileSync(markerPath, \"\");\n $041d45f5b9f47c6d$var$core.debug(\"finished caching tool\");\n}\n/**\n * Check if version string is explicit\n *\n * @param versionSpec version string to check\n */ function $041d45f5b9f47c6d$var$isExplicitVersion(versionSpec) {\n const c = $041d45f5b9f47c6d$var$semver.clean(versionSpec) || \"\";\n $041d45f5b9f47c6d$var$core.debug(`isExplicit: ${c}`);\n const valid = $041d45f5b9f47c6d$var$semver.valid(c) != null;\n $041d45f5b9f47c6d$var$core.debug(`explicit? ${valid}`);\n return valid;\n}\n$041d45f5b9f47c6d$exports.isExplicitVersion = $041d45f5b9f47c6d$var$isExplicitVersion;\n/**\n * Get the highest satisfiying semantic version in `versions` which satisfies `versionSpec`\n *\n * @param versions array of versions to evaluate\n * @param versionSpec semantic version spec to satisfy\n */ function $041d45f5b9f47c6d$var$evaluateVersions(versions, versionSpec) {\n let version = \"\";\n $041d45f5b9f47c6d$var$core.debug(`evaluating ${versions.length} versions`);\n versions = versions.sort((a, b)=>{\n if ($041d45f5b9f47c6d$var$semver.gt(a, b)) return 1;\n return -1;\n });\n for(let i = versions.length - 1; i >= 0; i--){\n const potential = versions[i];\n const satisfied = $041d45f5b9f47c6d$var$semver.satisfies(potential, versionSpec);\n if (satisfied) {\n version = potential;\n break;\n }\n }\n if (version) $041d45f5b9f47c6d$var$core.debug(`matched: ${version}`);\n else $041d45f5b9f47c6d$var$core.debug(\"match not found\");\n return version;\n}\n$041d45f5b9f47c6d$exports.evaluateVersions = $041d45f5b9f47c6d$var$evaluateVersions;\n/**\n * Gets RUNNER_TOOL_CACHE\n */ function $041d45f5b9f47c6d$var$_getCacheDirectory() {\n const cacheDirectory = process.env[\"RUNNER_TOOL_CACHE\"] || \"\";\n $aEsRD$assert.ok(cacheDirectory, \"Expected RUNNER_TOOL_CACHE to be defined\");\n return cacheDirectory;\n}\n/**\n * Gets RUNNER_TEMP\n */ function $041d45f5b9f47c6d$var$_getTempDirectory() {\n const tempDirectory = process.env[\"RUNNER_TEMP\"] || \"\";\n $aEsRD$assert.ok(tempDirectory, \"Expected RUNNER_TEMP to be defined\");\n return tempDirectory;\n}\n/**\n * Gets a global variable\n */ function $041d45f5b9f47c6d$var$_getGlobal(key, defaultValue) {\n /* eslint-disable @typescript-eslint/no-explicit-any */ const value = $parcel$global[key];\n /* eslint-enable @typescript-eslint/no-explicit-any */ return value !== undefined ? value : defaultValue;\n}\n/**\n * Returns an array of unique values.\n * @param values Values to make unique.\n */ function $041d45f5b9f47c6d$var$_unique(values) {\n return Array.from(new Set(values));\n}\n\n\n\nvar $ldLP8 = parcelRequire(\"ldLP8\");\n\nvar $brvh5 = parcelRequire(\"brvh5\");\n\n\n\nvar $eq4yW = parcelRequire(\"eq4yW\");\n\nvar $7Lz0k = parcelRequire(\"7Lz0k\");\n\n\nvar $2W4C2 = parcelRequire(\"2W4C2\");\n\n\n\n\n\n\n\nvar $bOuKS = parcelRequire(\"bOuKS\");\nvar $ee5dd4b3889f5211$exports = {};\n\"use strict\";\nObject.defineProperty($ee5dd4b3889f5211$exports, \"__esModule\", {\n value: true\n});\n$ee5dd4b3889f5211$exports.retryAsPromised = $ee5dd4b3889f5211$exports.TimeoutError = void 0;\nclass $ee5dd4b3889f5211$var$TimeoutError extends Error {\n constructor(message, previousError){\n super(message);\n this.name = \"TimeoutError\";\n this.previous = previousError;\n }\n}\n$ee5dd4b3889f5211$exports.TimeoutError = $ee5dd4b3889f5211$var$TimeoutError;\nfunction $ee5dd4b3889f5211$var$matches(match, err) {\n if (typeof match === \"function\") try {\n if (err instanceof match) return true;\n } catch (_) {\n return !!match(err);\n }\n if (match === err.toString()) return true;\n if (match === err.message) return true;\n return match instanceof RegExp && (match.test(err.message) || match.test(err.toString()));\n}\nfunction $ee5dd4b3889f5211$var$retryAsPromised(callback, optionsInput) {\n if (!callback || !optionsInput) throw new Error(\"retry-as-promised must be passed a callback and a options set\");\n optionsInput = typeof optionsInput === \"number\" ? {\n max: optionsInput\n } : optionsInput;\n const options = {\n $current: \"$current\" in optionsInput ? optionsInput.$current : 1,\n max: optionsInput.max,\n timeout: optionsInput.timeout || undefined,\n match: optionsInput.match ? Array.isArray(optionsInput.match) ? optionsInput.match : [\n optionsInput.match\n ] : [],\n backoffBase: optionsInput.backoffBase === undefined ? 100 : optionsInput.backoffBase,\n backoffExponent: optionsInput.backoffExponent || 1.1,\n report: optionsInput.report,\n name: optionsInput.name || callback.name || \"unknown\"\n };\n if (options.match && !Array.isArray(options.match)) options.match = [\n options.match\n ];\n if (options.report) options.report(\"Trying \" + options.name + \" #\" + options.$current + \" at \" + new Date().toLocaleTimeString(), options);\n return new Promise(function(resolve, reject) {\n let timeout;\n let backoffTimeout;\n let lastError;\n if (options.timeout) timeout = setTimeout(function() {\n if (backoffTimeout) clearTimeout(backoffTimeout);\n reject(new $ee5dd4b3889f5211$var$TimeoutError(options.name + \" timed out\", lastError));\n }, options.timeout);\n Promise.resolve(callback({\n current: options.$current\n })).then(resolve).then(function() {\n if (timeout) clearTimeout(timeout);\n if (backoffTimeout) clearTimeout(backoffTimeout);\n }).catch(function(err) {\n if (timeout) clearTimeout(timeout);\n if (backoffTimeout) clearTimeout(backoffTimeout);\n lastError = err;\n if (options.report) options.report(err && err.toString() || err, options, err);\n // Should not retry if max has been reached\n var shouldRetry = options.$current < options.max;\n if (!shouldRetry) return reject(err);\n shouldRetry = options.match.length === 0 || options.match.some(function(match) {\n return $ee5dd4b3889f5211$var$matches(match, err);\n });\n if (!shouldRetry) return reject(err);\n var retryDelay = options.backoffBase * Math.pow(options.backoffExponent, options.$current - 1);\n // Do some accounting\n options.$current++;\n if (options.report) options.report(`Retrying ${options.name} (${options.$current})`, options);\n if (retryDelay) {\n // Use backoff function to ease retry rate\n if (options.report) options.report(`Delaying retry of ${options.name} by ${retryDelay}`, options);\n backoffTimeout = setTimeout(function() {\n $ee5dd4b3889f5211$var$retryAsPromised(callback, options).then(resolve).catch(reject);\n }, retryDelay);\n } else $ee5dd4b3889f5211$var$retryAsPromised(callback, options).then(resolve).catch(reject);\n });\n });\n}\n$ee5dd4b3889f5211$exports.retryAsPromised = $ee5dd4b3889f5211$var$retryAsPromised;\n$ee5dd4b3889f5211$exports.default = $ee5dd4b3889f5211$var$retryAsPromised;\n\n\nlet $7dbd062890ddcaab$var$didInit = false;\nasync function $7dbd062890ddcaab$export$334f77c9844c21f6(name, version, getPackageInfo, setupDir, arch) {\n (0, $7Lz0k.info)(`Installing ${name} ${version} ${arch} via direct downloading`);\n process.env.RUNNER_TEMP = process.env.RUNNER_TEMP ?? (0, $aEsRD$os.tmpdir)();\n process.env.RUNNER_TOOL_CACHE = process.env.RUNNER_TOOL_CACHE ?? (0, $eq4yW.join)((0, $aEsRD$os.tmpdir)(), \"setup-cpp\", \"hostedtoolcache\");\n const { url: url, binRelativeDir: binRelativeDir, binFileName: binFileName, extractedFolderName: extractedFolderName, extractFunction: extractFunction } = await getPackageInfo(version, process.platform, arch);\n // Restore from cache (if found).\n if (0, $2W4C2.GITHUB_ACTIONS) try {\n const dir = (0, $041d45f5b9f47c6d$exports.find)(name, version);\n if (dir) {\n const installDir = (0, $eq4yW.join)(dir, extractedFolderName);\n const binDir = (0, $eq4yW.join)(installDir, binRelativeDir);\n if (await (0, $bOuKS.pathExists)((0, $eq4yW.join)(binDir, binFileName))) {\n (0, $7Lz0k.info)(`${name} ${version} was found in the cache at ${binDir}.`);\n await (0, $2f24a8df2529dc1c$export$4c25481b843feb0b)(binDir);\n return {\n installDir: installDir,\n binDir: binDir\n };\n }\n }\n } catch {\n // fails on a local machine?\n }\n const installDir = (0, $eq4yW.join)(setupDir, extractedFolderName);\n const binDir = (0, $eq4yW.join)(installDir, binRelativeDir);\n const binFile = (0, $eq4yW.join)(binDir, binFileName);\n // download ane extract the package into the installation directory.\n if ((await Promise.all([\n (0, $bOuKS.pathExists)(binDir),\n (0, $bOuKS.pathExists)(binFile)\n ])).includes(false)) try {\n (0, $7Lz0k.info)(`Download ${name} ${version}`);\n // try to download the package 4 times with 2 seconds delay\n const downloaded = await (0, (/*@__PURE__*/$parcel$interopDefault($ee5dd4b3889f5211$exports)))(()=>{\n return (0, $041d45f5b9f47c6d$exports.downloadTool)(url);\n }, {\n name: url,\n max: 4,\n backoffBase: 2000,\n report: (err)=>(0, $7Lz0k.info)(err)\n });\n if (!$7dbd062890ddcaab$var$didInit) {\n (0, $7Lz0k.info)(`Installing extraction dependencies`);\n if (process.platform === \"linux\") {\n if ((0, $9aeb5896658945db$export$d415ddb6702ec3a2)()) await Promise.all([\n (0, $8310f4b4d4fddda5$export$cfa75578ee2d6e6c)(\"unzip\"),\n (0, $8310f4b4d4fddda5$export$cfa75578ee2d6e6c)(\"tar\"),\n (0, $8310f4b4d4fddda5$export$cfa75578ee2d6e6c)(\"xz\")\n ]);\n else if ((0, $3886c66546fd08fe$export$8ce8b4b22331a8c7)()) await (0, $c19966177a67898f$export$49d4f9ba8e0dd34f)([\n {\n name: \"unzip\"\n },\n {\n name: \"tar\"\n },\n {\n name: \"xz\"\n }\n ]);\n else if ((0, $20fc1212ead529fb$export$da8baf1d6c6802b6)()) await (0, $c28d8ebe1e034757$export$d73dc343f5abf26)([\n {\n name: \"unzip\"\n },\n {\n name: \"tar\"\n },\n {\n name: \"xz-utils\"\n }\n ]);\n }\n // eslint-disable-next-line require-atomic-updates\n $7dbd062890ddcaab$var$didInit = true;\n }\n (0, $7Lz0k.info)(`Extracting ${downloaded} to ${setupDir}`);\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 // Adding the bin dir to the path\n /** The directory which the tool is installed to */ (0, $7Lz0k.info)(`Add ${binDir} to PATH`);\n await (0, $2f24a8df2529dc1c$export$4c25481b843feb0b)(binDir);\n // check if inside Github Actions. If so, cache the installation\n if ((0, $2W4C2.GITHUB_ACTIONS) && typeof process.env.RUNNER_TOOL_CACHE === \"string\") await (0, $041d45f5b9f47c6d$exports.cacheDir)(setupDir, name, version);\n return {\n installDir: installDir,\n binDir: binDir\n };\n}\n\n\n\nvar $eq4yW = parcelRequire(\"eq4yW\");\n\n\nvar $jtqY0 = parcelRequire(\"jtqY0\");\n\n\n\n\n\n\n\n\n\nfunction $cbfc9bdff29968e3$export$5fc39629e14c8173(version, _setupDir, _arch) {\n switch(process.platform){\n case \"win32\":\n return (0, $953ade167c7bc14a$export$9f6912bc890040b2)(\"7zip\", version);\n case \"darwin\":\n return (0, $d04dcbafc5bebef1$export$ce5d13d8a85cb784)(\"p7zip\", version);\n case \"linux\":\n if ((0, $9aeb5896658945db$export$d415ddb6702ec3a2)()) return (0, $8310f4b4d4fddda5$export$cfa75578ee2d6e6c)(\"p7zip\", version);\n else if ((0, $3886c66546fd08fe$export$8ce8b4b22331a8c7)()) return (0, $c19966177a67898f$export$49d4f9ba8e0dd34f)([\n {\n name: \"p7zip\",\n version: version\n },\n {\n name: \"p7zip-plugins\",\n version: version\n }\n ]);\n else if ((0, $20fc1212ead529fb$export$da8baf1d6c6802b6)()) return (0, $c28d8ebe1e034757$export$d73dc343f5abf26)([\n {\n name: \"p7zip-full\",\n version: version\n }\n ]);\n throw new Error(`Unsupported linux distribution`);\n default:\n throw new Error(`Unsupported platform`);\n }\n}\n\n\n\nvar $7Lz0k = parcelRequire(\"7Lz0k\");\n\n\nlet $334bd34d50e00f0e$var$sevenZip;\nasync function $334bd34d50e00f0e$export$eecfe186811d4a20(file, dest) {\n await (0, $fdbe8517affbdc0a$export$db6b1668e3758717)(await $334bd34d50e00f0e$var$getSevenZip(), [\n \"x\",\n file,\n `-o${dest}`,\n \"-y\"\n ], {\n stdio: \"inherit\"\n });\n await (0, $7fee9a3419973cea$export$4718e061a205eab)(dest);\n return dest;\n}\n/// install 7z if needed\nasync function $334bd34d50e00f0e$var$getSevenZip() {\n if ($334bd34d50e00f0e$var$sevenZip === undefined) {\n if ((0, (/*@__PURE__*/$parcel$interopDefault($69f9660769b2c54f$exports))).sync(\"7z\", {\n nothrow: true\n }) === null) await (0, $cbfc9bdff29968e3$export$5fc39629e14c8173)(\"\", \"\", process.arch);\n // eslint-disable-next-line require-atomic-updates\n $334bd34d50e00f0e$var$sevenZip = \"7z\";\n }\n return $334bd34d50e00f0e$var$sevenZip;\n}\nfunction $334bd34d50e00f0e$export$7949938b2681a4f0(file, dest) {\n return $334bd34d50e00f0e$export$eecfe186811d4a20(file, dest);\n}\nfunction $334bd34d50e00f0e$export$6411c5cbab21135b(file, dest) {\n return $334bd34d50e00f0e$export$eecfe186811d4a20(file, dest);\n}\nasync function $334bd34d50e00f0e$export$2ab07ac150064014(file, dest, flags = [\n \"--strip-components=0\"\n]) {\n try {\n await (0, $jtqY0.mkdirP)(dest);\n } catch {\n // ignore\n }\n // TODO windows fails to create symlinks\n // https://github.com/heroku/heroku-slugs/issues/3\n try {\n await (0, $fdbe8517affbdc0a$export$db6b1668e3758717)(\"tar\", [\n \"xf\",\n file,\n \"-C\",\n dest,\n ...flags\n ], {\n stdio: \"inherit\"\n });\n } catch (e) {\n if (process.platform === \"win32\" && e.message.includes(\"Can't create '\\\\\\\\?\\\\C:\")) (0, $7Lz0k.warning)(`Failed to extract symlink ${file} to ${dest}. Ignoring this symlink.`);\n }\n (0, $7fee9a3419973cea$export$4718e061a205eab)(dest);\n return dest;\n}\n\n\n/** Get the platform data for cmake */ function $24ae2ed334e3fc9e$var$getCmakePackageInfo(version, platform, arch) {\n const semVersion = (0, (/*@__PURE__*/$parcel$interopDefault($brvh5)))(version) ?? version;\n switch(platform){\n case \"win32\":\n {\n const isOld = (0, (/*@__PURE__*/$parcel$interopDefault($ldLP8)))(semVersion, \"v3.19.6\");\n let osArchStr;\n if ([\n \"ia32\",\n \"x86\",\n \"i386\",\n \"x32\"\n ].includes(arch)) osArchStr = isOld ? \"win32-x86\" : \"windows-i386\";\n else osArchStr = isOld ? \"win64-x64\" : \"windows-x86_64\";\n const folderName = `cmake-${version}-${osArchStr}`;\n return {\n binRelativeDir: \"bin/\",\n binFileName: (0, $eq4yW.addExeExt)(\"cmake\"),\n extractedFolderName: folderName,\n extractFunction: (0, $334bd34d50e00f0e$export$6411c5cbab21135b),\n url: `https://github.com/Kitware/CMake/releases/download/v${version}/${folderName}.zip`\n };\n }\n case \"darwin\":\n {\n const isOld = (0, (/*@__PURE__*/$parcel$interopDefault($ldLP8)))(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: (0, $eq4yW.addExeExt)(\"cmake\"),\n extractedFolderName: folderName,\n extractFunction: (0, $041d45f5b9f47c6d$exports.extractTar),\n url: `https://github.com/Kitware/CMake/releases/download/v${version}/${folderName}.tar.gz`\n };\n }\n case \"linux\":\n {\n const isOld = (0, (/*@__PURE__*/$parcel$interopDefault($ldLP8)))(semVersion, \"v3.19.8\");\n let osArchStr;\n if ([\n \"aarch64\"\n ].includes(arch)) osArchStr = isOld ? \"Linux-aarch64\" : \"linux-aarch64\";\n else osArchStr = isOld ? \"Linux-x86_64\" : \"linux-x86_64\";\n const folderName = `cmake-${version}-${osArchStr}`;\n return {\n binRelativeDir: \"bin/\",\n binFileName: (0, $eq4yW.addExeExt)(\"cmake\"),\n extractedFolderName: folderName,\n extractFunction: (0, $041d45f5b9f47c6d$exports.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}\nfunction $24ae2ed334e3fc9e$export$c28663a621f418ce(version, setupDir, arch) {\n return (0, $7dbd062890ddcaab$export$334f77c9844c21f6)(\"cmake\", version, $24ae2ed334e3fc9e$var$getCmakePackageInfo, setupDir, arch);\n}\n\n\n\nvar $i5trn = parcelRequire(\"i5trn\");\n\n\nvar $bOuKS = parcelRequire(\"bOuKS\");\n\nvar $eq4yW = parcelRequire(\"eq4yW\");\n\n/* eslint-disable require-atomic-updates */ \nvar $8hZvX = parcelRequire(\"8hZvX\");\n\n\nvar $2W4C2 = parcelRequire(\"2W4C2\");\n\nvar $7Lz0k = parcelRequire(\"7Lz0k\");\n\n/**\n * @constant DEFAULT_OPTIONS_KEYS the default options keys\n */ var $66020ee02fe926ff$var$DEFAULT_OPTIONS_KEYS = {\n isEqual: true,\n isMatchingKey: true,\n isPromise: true,\n maxSize: true,\n onCacheAdd: true,\n onCacheChange: true,\n onCacheHit: true,\n transformKey: true\n};\n/**\n * @function slice\n *\n * @description\n * slice.call() pre-bound\n */ var $66020ee02fe926ff$var$slice = Array.prototype.slice;\n/**\n * @function cloneArray\n *\n * @description\n * clone the array-like object and return the new array\n *\n * @param arrayLike the array-like object to clone\n * @returns the clone as an array\n */ function $66020ee02fe926ff$var$cloneArray(arrayLike) {\n var length = arrayLike.length;\n if (!length) return [];\n if (length === 1) return [\n arrayLike[0]\n ];\n if (length === 2) return [\n arrayLike[0],\n arrayLike[1]\n ];\n if (length === 3) return [\n arrayLike[0],\n arrayLike[1],\n arrayLike[2]\n ];\n return $66020ee02fe926ff$var$slice.call(arrayLike, 0);\n}\n/**\n * @function getCustomOptions\n *\n * @description\n * get the custom options on the object passed\n *\n * @param options the memoization options passed\n * @returns the custom options passed\n */ function $66020ee02fe926ff$var$getCustomOptions(options) {\n var customOptions = {};\n /* eslint-disable no-restricted-syntax */ for(var key in options)if (!$66020ee02fe926ff$var$DEFAULT_OPTIONS_KEYS[key]) customOptions[key] = options[key];\n /* eslint-enable */ return customOptions;\n}\n/**\n * @function isMemoized\n *\n * @description\n * is the function passed already memoized\n *\n * @param fn the function to test\n * @returns is the function already memoized\n */ function $66020ee02fe926ff$var$isMemoized(fn) {\n return typeof fn === \"function\" && fn.isMemoized;\n}\n/**\n * @function isSameValueZero\n *\n * @description\n * are the objects equal based on SameValueZero equality\n *\n * @param object1 the first object to compare\n * @param object2 the second object to compare\n * @returns are the two objects equal\n */ function $66020ee02fe926ff$var$isSameValueZero(object1, object2) {\n // eslint-disable-next-line no-self-compare\n return object1 === object2 || object1 !== object1 && object2 !== object2;\n}\n/**\n * @function mergeOptions\n *\n * @description\n * merge the options into the target\n *\n * @param existingOptions the options provided\n * @param newOptions the options to include\n * @returns the merged options\n */ function $66020ee02fe926ff$var$mergeOptions(existingOptions, newOptions) {\n var target = {};\n /* eslint-disable no-restricted-syntax */ for(var key in existingOptions)target[key] = existingOptions[key];\n for(var key in newOptions)target[key] = newOptions[key];\n /* eslint-enable */ return target;\n}\n// utils\nvar $66020ee02fe926ff$var$Cache = /** @class */ function() {\n function Cache(options) {\n this.keys = [];\n this.values = [];\n this.options = options;\n var isMatchingKeyFunction = typeof options.isMatchingKey === \"function\";\n if (isMatchingKeyFunction) this.getKeyIndex = this._getKeyIndexFromMatchingKey;\n else if (options.maxSize > 1) this.getKeyIndex = this._getKeyIndexForMany;\n else this.getKeyIndex = this._getKeyIndexForSingle;\n this.canTransformKey = typeof options.transformKey === \"function\";\n this.shouldCloneArguments = this.canTransformKey || isMatchingKeyFunction;\n this.shouldUpdateOnAdd = typeof options.onCacheAdd === \"function\";\n this.shouldUpdateOnChange = typeof options.onCacheChange === \"function\";\n this.shouldUpdateOnHit = typeof options.onCacheHit === \"function\";\n }\n Object.defineProperty(Cache.prototype, \"size\", {\n /**\n * The number of cached [key,value] results.\n */ get: function() {\n return this.keys.length;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(Cache.prototype, \"snapshot\", {\n /**\n * A copy of the cache at a moment in time. This is useful\n * to compare changes over time, since the cache mutates\n * internally for performance reasons.\n */ get: function() {\n return {\n keys: $66020ee02fe926ff$var$cloneArray(this.keys),\n size: this.size,\n values: $66020ee02fe926ff$var$cloneArray(this.values)\n };\n },\n enumerable: false,\n configurable: true\n });\n /**\n * Gets the matching key index when a custom key matcher is used.\n */ Cache.prototype._getKeyIndexFromMatchingKey = function(keyToMatch) {\n var _a = this.options, isMatchingKey = _a.isMatchingKey, maxSize = _a.maxSize;\n var keys = this.keys;\n var keysLength = keys.length;\n if (!keysLength) return -1;\n if (isMatchingKey(keys[0], keyToMatch)) return 0;\n if (maxSize > 1) for(var index = 1; index < keysLength; index++){\n if (isMatchingKey(keys[index], keyToMatch)) return index;\n }\n return -1;\n };\n /**\n * Gets the matching key index when multiple keys are used.\n */ Cache.prototype._getKeyIndexForMany = function(keyToMatch) {\n var isEqual = this.options.isEqual;\n var keys = this.keys;\n var keysLength = keys.length;\n if (!keysLength) return -1;\n if (keysLength === 1) return this._getKeyIndexForSingle(keyToMatch);\n var keyLength = keyToMatch.length;\n var existingKey;\n var argIndex;\n if (keyLength > 1) for(var index = 0; index < keysLength; index++){\n existingKey = keys[index];\n if (existingKey.length === keyLength) {\n argIndex = 0;\n for(; argIndex < keyLength; argIndex++){\n if (!isEqual(existingKey[argIndex], keyToMatch[argIndex])) break;\n }\n if (argIndex === keyLength) return index;\n }\n }\n else for(var index = 0; index < keysLength; index++){\n existingKey = keys[index];\n if (existingKey.length === keyLength && isEqual(existingKey[0], keyToMatch[0])) return index;\n }\n return -1;\n };\n /**\n * Gets the matching key index when a single key is used.\n */ Cache.prototype._getKeyIndexForSingle = function(keyToMatch) {\n var keys = this.keys;\n if (!keys.length) return -1;\n var existingKey = keys[0];\n var length = existingKey.length;\n if (keyToMatch.length !== length) return -1;\n var isEqual = this.options.isEqual;\n if (length > 1) {\n for(var index = 0; index < length; index++){\n if (!isEqual(existingKey[index], keyToMatch[index])) return -1;\n }\n return 0;\n }\n return isEqual(existingKey[0], keyToMatch[0]) ? 0 : -1;\n };\n /**\n * Order the array based on a Least-Recently-Used basis.\n */ Cache.prototype.orderByLru = function(key, value, startingIndex) {\n var keys = this.keys;\n var values = this.values;\n var currentLength = keys.length;\n var index = startingIndex;\n while(index--){\n keys[index + 1] = keys[index];\n values[index + 1] = values[index];\n }\n keys[0] = key;\n values[0] = value;\n var maxSize = this.options.maxSize;\n if (currentLength === maxSize && startingIndex === currentLength) {\n keys.pop();\n values.pop();\n } else if (startingIndex >= maxSize) // eslint-disable-next-line no-multi-assign\n keys.length = values.length = maxSize;\n };\n /**\n * Update the promise method to auto-remove from cache if rejected, and\n * if resolved then fire cache hit / changed.\n */ Cache.prototype.updateAsyncCache = function(memoized) {\n var _this = this;\n var _a = this.options, onCacheChange = _a.onCacheChange, onCacheHit = _a.onCacheHit;\n var firstKey = this.keys[0];\n var firstValue = this.values[0];\n this.values[0] = firstValue.then(function(value) {\n if (_this.shouldUpdateOnHit) onCacheHit(_this, _this.options, memoized);\n if (_this.shouldUpdateOnChange) onCacheChange(_this, _this.options, memoized);\n return value;\n }, function(error) {\n var keyIndex = _this.getKeyIndex(firstKey);\n if (keyIndex !== -1) {\n _this.keys.splice(keyIndex, 1);\n _this.values.splice(keyIndex, 1);\n }\n throw error;\n });\n };\n return Cache;\n}();\nfunction $66020ee02fe926ff$export$2e2bcd8739ae039(fn, options) {\n if (options === void 0) options = {};\n if ($66020ee02fe926ff$var$isMemoized(fn)) return $66020ee02fe926ff$export$2e2bcd8739ae039(fn.fn, $66020ee02fe926ff$var$mergeOptions(fn.options, options));\n if (typeof fn !== \"function\") throw new TypeError(\"You must pass a function to `memoize`.\");\n var _a = options.isEqual, isEqual = _a === void 0 ? $66020ee02fe926ff$var$isSameValueZero : _a, isMatchingKey = options.isMatchingKey, _b = options.isPromise, isPromise = _b === void 0 ? false : _b, _c = options.maxSize, maxSize = _c === void 0 ? 1 : _c, onCacheAdd = options.onCacheAdd, onCacheChange = options.onCacheChange, onCacheHit = options.onCacheHit, transformKey = options.transformKey;\n var normalizedOptions = $66020ee02fe926ff$var$mergeOptions({\n isEqual: isEqual,\n isMatchingKey: isMatchingKey,\n isPromise: isPromise,\n maxSize: maxSize,\n onCacheAdd: onCacheAdd,\n onCacheChange: onCacheChange,\n onCacheHit: onCacheHit,\n transformKey: transformKey\n }, $66020ee02fe926ff$var$getCustomOptions(options));\n var cache = new $66020ee02fe926ff$var$Cache(normalizedOptions);\n var keys = cache.keys, values = cache.values, canTransformKey = cache.canTransformKey, shouldCloneArguments = cache.shouldCloneArguments, shouldUpdateOnAdd = cache.shouldUpdateOnAdd, shouldUpdateOnChange = cache.shouldUpdateOnChange, shouldUpdateOnHit = cache.shouldUpdateOnHit;\n var memoized = function() {\n var key = shouldCloneArguments ? $66020ee02fe926ff$var$cloneArray(arguments) : arguments;\n if (canTransformKey) key = transformKey(key);\n var keyIndex = keys.length ? cache.getKeyIndex(key) : -1;\n if (keyIndex !== -1) {\n if (shouldUpdateOnHit) onCacheHit(cache, normalizedOptions, memoized);\n if (keyIndex) {\n cache.orderByLru(keys[keyIndex], values[keyIndex], keyIndex);\n if (shouldUpdateOnChange) onCacheChange(cache, normalizedOptions, memoized);\n }\n } else {\n var newValue = fn.apply(this, arguments);\n var newKey = shouldCloneArguments ? key : $66020ee02fe926ff$var$cloneArray(arguments);\n cache.orderByLru(newKey, newValue, keys.length);\n if (isPromise) cache.updateAsyncCache(memoized);\n if (shouldUpdateOnAdd) onCacheAdd(cache, normalizedOptions, memoized);\n if (shouldUpdateOnChange) onCacheChange(cache, normalizedOptions, memoized);\n }\n return values[0];\n };\n memoized.cache = cache;\n memoized.fn = fn;\n memoized.isMemoized = true;\n memoized.options = normalizedOptions;\n return memoized;\n}\n\n\n\nvar $eq4yW = parcelRequire(\"eq4yW\");\n\n\n\n\n\n\n\n\n\n\n// src/modules/https-utils.ts\n\n\nfunction $6f58ee7b2466571f$var$isStatusOK(result) {\n return result.statusCode !== void 0 && result.statusCode >= 200 && result.statusCode <= 399;\n}\nfunction $6f58ee7b2466571f$var$requestWorks(url, method) {\n return new Promise((resolve)=>{\n try {\n const req = (0, $aEsRD$https.request)(url, {\n method: method\n }, (result)=>{\n resolve($6f58ee7b2466571f$var$isStatusOK(result));\n });\n req.on(\"error\", (_error)=>{\n resolve(false);\n });\n req.end();\n } catch {\n resolve(false);\n }\n });\n}\nvar $6f58ee7b2466571f$export$8092cb61b2731942 = (url)=>{\n if (typeof url !== \"string\") return false;\n const trimmedUrl = url.trim();\n if (trimmedUrl.includes(\" \")) return false;\n try {\n new (0, $aEsRD$url.URL)(trimmedUrl);\n return true;\n } catch {\n return false;\n }\n};\n// src/modules/isUrlOnline.ts\nvar $6f58ee7b2466571f$export$61e6a71eee2b02f9 = async (url)=>{\n const isUrl = $6f58ee7b2466571f$export$8092cb61b2731942(url);\n if (!isUrl) return false;\n let response = await $6f58ee7b2466571f$var$requestWorks(url, \"HEAD\");\n if (response) return true;\n response = await $6f58ee7b2466571f$var$requestWorks(url, \"GET\");\n return !!response;\n};\n// src/modules/prependHttp.ts\nvar $6f58ee7b2466571f$export$b9a79b9e9f921305 = ({ url: url, https: https = true })=>{\n const trimmedUrl = url.trim();\n if (/^\\.*\\/|^(?!localhost)\\w+:/u.test(trimmedUrl)) return url;\n return trimmedUrl.replace(/^(?!(?:\\w+:)?\\/\\/)/u, https ? \"https://\" : \"http://\");\n};\n\n\n\nvar $aWTSG = parcelRequire(\"aWTSG\");\n\nvar $brvh5 = parcelRequire(\"brvh5\");\n\nvar $bJWbp = parcelRequire(\"bJWbp\");\n\nvar $8hZvX = parcelRequire(\"8hZvX\");\n\nvar $7Lz0k = parcelRequire(\"7Lz0k\");\nfunction $9ae3c26b3cc5ff2a$export$deb1064c8260c54c(versions, semversion) {\n return Array.from(versions).filter((v)=>/^\\d+\\.\\d+\\.\\d+$/.test(v) && v.startsWith(semversion)).sort((a, b)=>{\n try {\n return (0, (/*@__PURE__*/$parcel$interopDefault($aWTSG)))(a, b);\n } catch (err) {\n return a.localeCompare(b);\n }\n }).reverse();\n}\nfunction $9ae3c26b3cc5ff2a$export$cbd9528a83fbffa1(specific) {\n const versions = new Set(specific);\n for (const version of specific){\n versions.add(/^\\d+/.exec(version)[0]);\n versions.add(/^\\d+\\.\\d+/.exec(version)[0]);\n }\n return versions;\n}\nasync function $9ae3c26b3cc5ff2a$export$4e4d3581f69a6d71(versions, platform, version, getUrl) {\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 (0, $6f58ee7b2466571f$export$61e6a71eee2b02f9)(url)) return [\n version,\n url\n ];\n }\n // if the given set doesn't include the version, throw an error\n if (!versions.has(version)) throw new Error(`Unsupported target! (platform='${platform}', version='${version}'). Try one of the following: ${JSON.stringify(versions)}`);\n const offlineUrls = [];\n // TODO use Promise.any\n for (const specificVersion of $9ae3c26b3cc5ff2a$export$deb1064c8260c54c(versions, version)){\n // eslint-disable-next-line no-await-in-loop\n const url = await getUrl(platform, specificVersion);\n if (url !== null) {\n // eslint-disable-next-line no-await-in-loop\n if (await (0, $6f58ee7b2466571f$export$61e6a71eee2b02f9)(url)) return [\n specificVersion,\n url\n ];\n else offlineUrls.push(url);\n }\n }\n throw new Error(`Unsupported target! (platform='${platform}', version='${version}'). Try one of the following: ${JSON.stringify(versions)}`);\n}\nconst $9ae3c26b3cc5ff2a$export$d7ab5e2d33b06cd5 = /v?(\\d\\S*)/;\nasync function $9ae3c26b3cc5ff2a$export$5b54ecc7386538f(file, versionRegex = $9ae3c26b3cc5ff2a$export$d7ab5e2d33b06cd5) {\n try {\n const execout = await (0, $8hZvX.getExecOutput)(file, [\n \"--version\"\n ]);\n const version_output = execout.stdout || execout.stderr || \"\";\n const version = version_output.trim().match(versionRegex)?.[1];\n return (0, (/*@__PURE__*/$parcel$interopDefault($brvh5)))(version) ?? undefined;\n } catch (e) {\n console.error(e);\n return undefined;\n }\n}\nasync function $9ae3c26b3cc5ff2a$export$d1f0d32b896ba08(givenFile, targetVersion, versionRegex = $9ae3c26b3cc5ff2a$export$d7ab5e2d33b06cd5) {\n const givenVersion = await $9ae3c26b3cc5ff2a$export$5b54ecc7386538f(givenFile, versionRegex);\n if (givenVersion !== undefined && targetVersion !== \"\") return (0, (/*@__PURE__*/$parcel$interopDefault($aWTSG)))(givenVersion, targetVersion) !== -1;\n else // assume given version is old\n return false;\n}\nfunction $9ae3c26b3cc5ff2a$export$afd7401db249098f(version) {\n if ((0, (/*@__PURE__*/$parcel$interopDefault($bJWbp)))(version) === null) // version coercion\n try {\n // find the semver version of an integer\n const coercedVersion = (0, (/*@__PURE__*/$parcel$interopDefault($brvh5)))(version);\n if (coercedVersion !== null) {\n (0, $7Lz0k.info)(`Coerced version '${version}' to '${coercedVersion}'`);\n return coercedVersion.version;\n }\n } catch (err) {\n // handled below\n }\n return version;\n}\nfunction $9ae3c26b3cc5ff2a$export$b19007c0050a2fcc(version) {\n return parseInt(version.replace(/^v/, \"\"), 10);\n}\nfunction $9ae3c26b3cc5ff2a$export$6863a97504984656(version) {\n if (!version.match(/^v/)) return `v${version}`;\n return version;\n}\n\n\nfunction $08fd6d4df420d4d5$export$7a5d5c156e7dc406(dirs) {\n return [\n ...new Set(dirs)\n ];\n}\n\n\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).\nfunction $3d5441a36817773c$var$getLLVMDefault() {\n switch(process.platform){\n case \"win32\":\n return \"17.0.4\";\n case \"linux\":\n // used for non-ubuntu (Fedora, Arch)\n return \"17.0.5-ubuntu-22.04\";\n case \"darwin\":\n return \"15.0.3\";\n default:\n return \"17.0.5\";\n }\n}\nconst $3d5441a36817773c$export$5fb1985a02d8f66f = {\n llvm: $3d5441a36817773c$var$getLLVMDefault(),\n clangtidy: $3d5441a36817773c$var$getLLVMDefault(),\n clangformat: $3d5441a36817773c$var$getLLVMDefault(),\n ninja: \"1.11.1\",\n cmake: \"3.27.4\",\n gcovr: \"6.0\",\n conan: \"1.62.0\",\n meson: \"1.2.3\",\n kcov: \"42\",\n task: \"3.31.0\",\n doxygen: (0, $9aeb5896658945db$export$d415ddb6702ec3a2)() ? \"1.9.8-1\" : \"1.9.8\",\n gcc: (0, $9aeb5896658945db$export$d415ddb6702ec3a2)() ? \"13.2.1-3\" : \"13\"\n};\nconst $3d5441a36817773c$export$b0fc8ac572b39938 = {\n pip: \"22.2.0\",\n python: \"3.7.9\"\n};\nconst $3d5441a36817773c$export$1bb63c984aa6e760 = {\n gcc: {\n 22: \"13\",\n 20: \"11\",\n 18: \"11\",\n 16: \"11\",\n 14: \"11\"\n },\n mingw: {\n 22: \"8.0.0-1\",\n 20: \"7.0.0-2\"\n },\n llvm: {\n 22: \"17.0.5-ubuntu-22.04\",\n 20: \"17.0.5-ubuntu-22.04\",\n 18: \"15.0.6-ubuntu-18.04\",\n 16: \"15.0.6-ubuntu-18.04\",\n 14: \"13.0.0-ubuntu-16.04\"\n },\n clangtidy: {\n 22: \"17.0.2-ubuntu-22.04\",\n 20: \"17.0.2-ubuntu-22.04\",\n 18: \"15.0.6-ubuntu-18.04\",\n 16: \"15.0.6-ubuntu-18.04\",\n 14: \"13.0.0-ubuntu-16.04\"\n },\n clangformat: {\n 22: \"17.0.2-ubuntu-22.04\",\n 20: \"17.0.2-ubuntu-22.04\",\n 18: \"15.0.6-ubuntu-18.04\",\n 16: \"15.0.6-ubuntu-18.04\",\n 14: \"13.0.0-ubuntu-16.04\"\n },\n gcovr: {\n 22: \"6.0\",\n 20: \"6.0\",\n 18: \"5.0\"\n },\n meson: {\n 20: \"1.0.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: \"42-binary\",\n 20: \"40-binary\",\n 18: \"40\",\n 16: \"40\",\n 14: \"40\"\n }\n};\n\n\n\nvar $bOuKS = parcelRequire(\"bOuKS\");\n\nasync function $29e5d8652dc51d70$export$2b0b68e9df3d4a02(version, setupDir, arch) {\n const installInfo = await $29e5d8652dc51d70$var$findOrSetupPython(version, setupDir, arch);\n (0, ($parcel$interopDefault($aEsRD$assert)))(installInfo.bin !== undefined);\n const foundPython = installInfo.bin;\n // setup pip\n const foundPip = await $29e5d8652dc51d70$var$findOrSetupPip(foundPython);\n if (foundPip === undefined) throw new Error(\"pip was not installed correctly\");\n await $29e5d8652dc51d70$var$setupPipx(foundPython);\n await $29e5d8652dc51d70$var$setupWheel(foundPython);\n return installInfo;\n}\nasync function $29e5d8652dc51d70$var$setupPipx(foundPython) {\n try {\n if (!await (0, $5d78454eba2028c3$export$ffe24b8e86dbc863)(foundPython)) await (0, $5d78454eba2028c3$export$7c60aea099ad1c1d)(foundPython, \"pipx\", undefined, {\n upgrade: true,\n usePipx: false\n });\n await (0, $fdbe8517affbdc0a$export$db6b1668e3758717)(foundPython, [\n \"-m\",\n \"pipx\",\n \"ensurepath\"\n ], {\n stdio: \"inherit\"\n });\n await (0, $5d78454eba2028c3$export$7c60aea099ad1c1d)(foundPython, \"venv\", undefined, {\n upgrade: false,\n usePipx: false\n });\n } catch (err) {\n (0, $7Lz0k.warning)(`Failed to install pipx: ${err.toString()}. Ignoring...`);\n }\n}\n/** Setup wheel and setuptools */ async function $29e5d8652dc51d70$var$setupWheel(foundPython) {\n try {\n await (0, $5d78454eba2028c3$export$7c60aea099ad1c1d)(foundPython, \"setuptools\", undefined, {\n upgrade: true,\n isLibrary: true,\n usePipx: false\n });\n await (0, $5d78454eba2028c3$export$7c60aea099ad1c1d)(foundPython, \"wheel\", undefined, {\n upgrade: true,\n isLibrary: true,\n usePipx: false\n });\n } catch (err) {\n (0, $7Lz0k.warning)(`Failed to install setuptools or wheel: ${err.toString()}. Ignoring...`);\n }\n}\n\nasync function $29e5d8652dc51d70$var$findOrSetupPython(version, setupDir, arch) {\n let installInfo;\n let foundPython = await $29e5d8652dc51d70$var$findPython(setupDir);\n if (foundPython !== undefined) {\n const binDir = (0, $eq4yW.dirname)(foundPython);\n installInfo = {\n bin: foundPython,\n installDir: binDir,\n binDir: binDir\n };\n } else {\n // if python is not found, try to install it\n if (0, $2W4C2.GITHUB_ACTIONS) // install python in GitHub Actions\n try {\n (0, $7Lz0k.info)(\"Installing python in GitHub Actions\");\n const { setupActionsPython: setupActionsPython } = await (parcelRequire(\"7wakU\"));\n await setupActionsPython(version, setupDir, arch);\n foundPython = await $29e5d8652dc51d70$var$findPython(setupDir);\n const binDir = (0, $eq4yW.dirname)(foundPython);\n installInfo = {\n bin: foundPython,\n installDir: binDir,\n binDir: binDir\n };\n } catch (err) {\n (0, $7Lz0k.warning)(err.toString());\n }\n if (installInfo === undefined) // install python via system package manager\n installInfo = await $29e5d8652dc51d70$var$setupPythonSystem(setupDir, version);\n }\n if (foundPython === undefined || installInfo.bin === undefined) {\n foundPython = await $29e5d8652dc51d70$var$findPython(setupDir);\n installInfo.bin = foundPython;\n }\n return installInfo;\n}\nasync function $29e5d8652dc51d70$var$setupPythonSystem(setupDir, version) {\n let installInfo;\n switch(process.platform){\n case \"win32\":\n {\n if (setupDir) await (0, $953ade167c7bc14a$export$9f6912bc890040b2)(\"python3\", version, [\n `--params=/InstallDir:${setupDir}`\n ]);\n else await (0, $953ade167c7bc14a$export$9f6912bc890040b2)(\"python3\", version);\n // Adding the bin dir to the path\n const bin = await $29e5d8652dc51d70$var$findPython(setupDir);\n const binDir = (0, $eq4yW.dirname)(bin);\n /** The directory which the tool is installed to */ await (0, $2f24a8df2529dc1c$export$4c25481b843feb0b)(binDir);\n installInfo = {\n installDir: binDir,\n binDir: binDir,\n bin: bin\n };\n break;\n }\n case \"darwin\":\n {\n installInfo = await (0, $d04dcbafc5bebef1$export$ce5d13d8a85cb784)(\"python3\", version);\n // add the python and pip binaries to the path\n const brewPythonPrefix = await (0, $fdbe8517affbdc0a$export$db6b1668e3758717)(\"brew\", [\n \"--prefix\",\n \"python\"\n ], {\n stdio: \"pipe\"\n });\n const brewPythonBin = (0, $eq4yW.join)(brewPythonPrefix.stdout, \"libexec\", \"bin\");\n await (0, $2f24a8df2529dc1c$export$4c25481b843feb0b)(brewPythonBin);\n break;\n }\n case \"linux\":\n if ((0, $9aeb5896658945db$export$d415ddb6702ec3a2)()) installInfo = await (0, $8310f4b4d4fddda5$export$cfa75578ee2d6e6c)(\"python\", version);\n else if ((0, $3886c66546fd08fe$export$8ce8b4b22331a8c7)()) installInfo = await (0, $c19966177a67898f$export$49d4f9ba8e0dd34f)([\n {\n name: \"python3\",\n version: version\n }\n ]);\n else if ((0, $20fc1212ead529fb$export$da8baf1d6c6802b6)()) installInfo = await (0, $c28d8ebe1e034757$export$d73dc343f5abf26)([\n {\n name: \"python3\",\n version: version\n },\n {\n name: \"python-is-python3\"\n }\n ]);\n else throw new Error(\"Unsupported linux distributions\");\n break;\n default:\n throw new Error(\"Unsupported platform\");\n }\n return installInfo;\n}\nasync function $29e5d8652dc51d70$var$findPython(binDir) {\n for (const pythonBin of [\n \"python3\",\n \"python\"\n ]){\n // eslint-disable-next-line no-await-in-loop\n const foundPython = await $29e5d8652dc51d70$var$isPythonUpToDate(pythonBin, binDir);\n if (foundPython !== undefined) return foundPython;\n }\n return undefined;\n}\nasync function $29e5d8652dc51d70$var$isPythonUpToDate(candidate, binDir) {\n try {\n if (binDir !== undefined) {\n const pythonBinPath = (0, $eq4yW.join)(binDir, (0, $eq4yW.addExeExt)(candidate));\n if (await (0, $bOuKS.pathExists)(pythonBinPath)) {\n if (await (0, $9ae3c26b3cc5ff2a$export$d1f0d32b896ba08)(pythonBinPath, (0, $3d5441a36817773c$export$b0fc8ac572b39938).python)) return pythonBinPath;\n }\n }\n const pythonBinPaths = await (0, (/*@__PURE__*/$parcel$interopDefault($69f9660769b2c54f$exports)))(candidate, {\n nothrow: true,\n all: true\n }) ?? [];\n for (const pythonBinPath of pythonBinPaths){\n // eslint-disable-next-line no-await-in-loop\n if (await (0, $9ae3c26b3cc5ff2a$export$d1f0d32b896ba08)(pythonBinPath, (0, $3d5441a36817773c$export$b0fc8ac572b39938).python)) return pythonBinPath;\n }\n } catch {\n // fall through\n }\n return undefined;\n}\nasync function $29e5d8652dc51d70$var$findOrSetupPip(foundPython) {\n const maybePip = await $29e5d8652dc51d70$var$findPip();\n if (maybePip === undefined) {\n // install pip if not installed\n (0, $7Lz0k.info)(\"pip was not found. Installing pip\");\n await $29e5d8652dc51d70$var$setupPip(foundPython);\n return $29e5d8652dc51d70$var$findPip() // recurse to check if pip is on PATH and up-to-date\n ;\n }\n return maybePip;\n}\nasync function $29e5d8652dc51d70$var$findPip() {\n for (const pipCandidate of [\n \"pip3\",\n \"pip\"\n ]){\n // eslint-disable-next-line no-await-in-loop\n const maybePip = await $29e5d8652dc51d70$var$isPipUptoDate(pipCandidate);\n if (maybePip !== undefined) return maybePip;\n }\n return undefined;\n}\nasync function $29e5d8652dc51d70$var$isPipUptoDate(pip) {\n try {\n const pipPaths = await (0, (/*@__PURE__*/$parcel$interopDefault($69f9660769b2c54f$exports)))(pip, {\n nothrow: true,\n all: true\n }) ?? [];\n for (const pipPath of pipPaths){\n // eslint-disable-next-line no-await-in-loop\n if (pipPath !== null && await (0, $9ae3c26b3cc5ff2a$export$d1f0d32b896ba08)(pipPath, (0, $3d5441a36817773c$export$b0fc8ac572b39938).pip)) return pipPath;\n }\n } catch {\n // fall through\n }\n return undefined;\n}\nasync function $29e5d8652dc51d70$var$setupPip(foundPython) {\n const upgraded = await $29e5d8652dc51d70$var$ensurePipUpgrade(foundPython);\n if (!upgraded) {\n // ensure that pip is installed on Linux (happens when python is found but pip not installed)\n await (0, $5d78454eba2028c3$export$6de3fef38027e326)(\"pip\");\n // upgrade pip\n await $29e5d8652dc51d70$var$ensurePipUpgrade(foundPython);\n }\n}\nasync function $29e5d8652dc51d70$var$ensurePipUpgrade(foundPython) {\n try {\n await (0, $fdbe8517affbdc0a$export$db6b1668e3758717)(foundPython, [\n \"-m\",\n \"ensurepip\",\n \"-U\",\n \"--upgrade\"\n ], {\n stdio: \"inherit\"\n });\n return true;\n } catch (err1) {\n (0, $7Lz0k.info)(err1?.toString?.());\n try {\n // ensure pip is disabled on Ubuntu\n await (0, $fdbe8517affbdc0a$export$db6b1668e3758717)(foundPython, [\n \"-m\",\n \"pip\",\n \"install\",\n \"--upgrade\",\n \"pip\"\n ], {\n stdio: \"inherit\"\n });\n return true;\n } catch (err2) {\n (0, $7Lz0k.info)(err2?.toString?.());\n // pip module not found\n }\n }\n // all methods failed\n return false;\n}\nasync function $29e5d8652dc51d70$var$addPythonBaseExecPrefix_raw(python) {\n const dirs = [];\n // detection based on the platform\n if (process.platform === \"linux\") dirs.push(\"/home/runner/.local/bin/\");\n else if (process.platform === \"darwin\") dirs.push(\"/usr/local/bin/\");\n // detection using python.sys\n const base_exec_prefix = (await (0, $8hZvX.getExecOutput)(`${python} -c \"import sys;print(sys.base_exec_prefix);\"`)).stdout.trim();\n // any of these are possible depending on the operating system!\n dirs.push((0, $eq4yW.join)(base_exec_prefix, \"Scripts\"), (0, $eq4yW.join)(base_exec_prefix, \"Scripts\", \"bin\"), (0, $eq4yW.join)(base_exec_prefix, \"bin\"));\n // remove duplicates\n return (0, $08fd6d4df420d4d5$export$7a5d5c156e7dc406)(dirs);\n}\nconst $29e5d8652dc51d70$export$4bf645347c3b7001 = (0, $66020ee02fe926ff$export$2e2bcd8739ae039)($29e5d8652dc51d70$var$addPythonBaseExecPrefix_raw, {\n isPromise: true\n});\n\n\n\n\nfunction $83fde521434ac405$export$c506eb22e615ba4a(name, version, osVersion = null) {\n if ($83fde521434ac405$var$isVersionDefault(version) && process.platform === \"linux\" && osVersion !== null && name in (0, $3d5441a36817773c$export$1bb63c984aa6e760)) return $83fde521434ac405$var$getDefaultLinuxVersion(osVersion, (0, $3d5441a36817773c$export$1bb63c984aa6e760)[name]);\n else if ($83fde521434ac405$var$isVersionDefault(version) && name in (0, $3d5441a36817773c$export$5fb1985a02d8f66f)) return (0, $3d5441a36817773c$export$5fb1985a02d8f66f)[name];\n else if (version === \"true\") return \"\";\n return version ?? \"\";\n}\nfunction $83fde521434ac405$var$isVersionDefault(version) {\n return version === \"true\" || version === undefined;\n}\n/// choose the default linux version based on ubuntu version\nfunction $83fde521434ac405$var$getDefaultLinuxVersion(osVersion, toolLinuxVersions) {\n const osVersionMaj = osVersion[0];\n // find which version block the os version is in\n const satisfyingVersion = Object.keys(toolLinuxVersions).map((v)=>parseInt(v, 10)).sort((a, b)=>b - a) // sort in descending order\n .find((v)=>osVersionMaj >= v);\n return satisfyingVersion === undefined ? \"\" : toolLinuxVersions[satisfyingVersion];\n}\nfunction $83fde521434ac405$export$dd13a1e418f5a5fe(opts, tools) {\n const toolsInUse = tools.filter((tool)=>opts[tool] !== undefined);\n const toolsNonDefaultVersion = toolsInUse.filter((tool)=>!$83fde521434ac405$var$isVersionDefault(opts[tool]));\n const targetVersion = toolsNonDefaultVersion.length >= 1 ? opts[toolsNonDefaultVersion[0]] : \"true\";\n if (toolsNonDefaultVersion.some((tool)=>opts[tool] !== targetVersion)) // error if any explicit versions don't match the target version\n return false;\n toolsInUse.forEach((tool)=>{\n opts[tool] = targetVersion;\n });\n return true;\n}\n\n\n\nvar $7Lz0k = parcelRequire(\"7Lz0k\");\nvar $0f9c36911484576c$exports = {};\n\"use strict\";\nObject.defineProperty($0f9c36911484576c$exports, \"__esModule\", {\n value: true\n});\n$0f9c36911484576c$exports.getUbuntuVersion = void 0;\n\nfunction $0f9c36911484576c$var$isSystemError(e) {\n return \"errno\" in e;\n}\nfunction $0f9c36911484576c$var$command(exe, args) {\n return new Promise((resolve, reject)=>{\n $aEsRD$child_process.execFile(exe, args, {\n encoding: \"utf8\",\n shell: false\n }, (error, stdout, stderr)=>{\n if (error) {\n if ($0f9c36911484576c$var$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 $0f9c36911484576c$var$getUbuntuVersion() {\n if (process.platform !== \"linux\") return [];\n const stdout = await $0f9c36911484576c$var$command(\"lsb_release\", [\n \"-a\"\n ]);\n if (stdout === null) return [];\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\") return [];\n distributorFound = true;\n }\n const desc = line.match(reDescription);\n if (desc) description = desc;\n const rel = line.match(reRelease);\n if (rel) release = rel;\n if (distributorFound && description && release) break;\n }\n if (!distributorFound) return [];\n for (const m of [\n description,\n release\n ])if (m) {\n const ss = [\n m[1],\n m[2]\n ];\n if (m[3]) ss.push(m[3]);\n return ss.map((s)=>parseInt(s, 10));\n }\n return [];\n}\n$0f9c36911484576c$exports.getUbuntuVersion = $0f9c36911484576c$var$getUbuntuVersion; //# sourceMappingURL=index.js.map\n\n\n\n\n\n\n\nasync function $7407b79f302e7dfb$var$ubuntuVersion_raw() {\n try {\n if ((0, $20fc1212ead529fb$export$da8baf1d6c6802b6)()) {\n try {\n if ((0, (/*@__PURE__*/$parcel$interopDefault($69f9660769b2c54f$exports))).sync(\"lsb_release\", {\n nothrow: true\n }) === null) await (0, $c28d8ebe1e034757$export$d73dc343f5abf26)([\n {\n name: \"lsb-release\"\n }\n ]);\n } catch {\n return $7407b79f302e7dfb$var$detectUsingOsVersion();\n }\n const versionSplitted = await (0, $0f9c36911484576c$exports.getUbuntuVersion)();\n if (versionSplitted.length === 0) return $7407b79f302e7dfb$var$detectUsingOsVersion();\n return versionSplitted;\n } else return null;\n } catch (err) {\n (0, $7Lz0k.warning)(err.toString());\n return null;\n }\n}\nconst $7407b79f302e7dfb$export$49c9cf1111dfa0ee = (0, $66020ee02fe926ff$export$2e2bcd8739ae039)($7407b79f302e7dfb$var$ubuntuVersion_raw, {\n isPromise: true\n});\n/** Detect Ubuntu version using os.version() for Ubuntu based distros */ function $7407b79f302e7dfb$var$detectUsingOsVersion() {\n // #46~22.04.1-Ubuntu SMP ...\n const osVersion = (0, ($parcel$interopDefault($aEsRD$os))).version();\n const versionSplitted = osVersion.split(\".\");\n const majorVersion = parseInt(versionSplitted[0].replace(\"#\", \"\"), 10);\n const minorVersion = parseInt(versionSplitted[1].replace(\"~\", \"\"), 10);\n const patchVersion = parseInt(versionSplitted[2].split(\"-\")[0], 10);\n return [\n majorVersion,\n minorVersion,\n patchVersion\n ];\n}\n\n\n\n\n\n\n\n\n\nasync function $5d78454eba2028c3$export$4020cb77ffa3ffac(name, version, options = {}) {\n return $5d78454eba2028c3$export$7c60aea099ad1c1d(await $5d78454eba2028c3$var$getPython(), name, version, options);\n}\nasync function $5d78454eba2028c3$export$7c60aea099ad1c1d(givenPython, name, version, options = {}) {\n const { usePipx: usePipx = true, user: user = true, upgrade: upgrade = false, isLibrary: isLibrary = false } = options;\n const isPipx = usePipx && !isLibrary && await $5d78454eba2028c3$export$ffe24b8e86dbc863(givenPython);\n const pip = isPipx ? \"pipx\" : \"pip\";\n const hasPackage = await $5d78454eba2028c3$var$pipHasPackage(givenPython, name);\n if (hasPackage) try {\n (0, $i5trn.info)(`Installing ${name} ${version ?? \"\"} via ${pip}`);\n const nameAndVersion = version !== undefined && version !== \"\" ? `${name}==${version}` : name;\n const upgradeFlag = upgrade ? isPipx ? [\n \"upgrade\"\n ] : [\n \"install\",\n \"--upgrade\"\n ] : [\n \"install\"\n ];\n const userFlag = !isPipx && user ? [\n \"--user\"\n ] : [];\n (0, $fdbe8517affbdc0a$export$28823a701bb5a12d)(givenPython, [\n \"-m\",\n pip,\n ...upgradeFlag,\n ...userFlag,\n nameAndVersion\n ], {\n stdio: \"inherit\"\n });\n } catch (err) {\n (0, $i5trn.info)(`Failed to install ${name} via ${pip}: ${err}.`);\n if (await $5d78454eba2028c3$export$6de3fef38027e326(name) === null) throw new Error(`Failed to install ${name} via ${pip}: ${err}.`);\n }\n else {\n if (await $5d78454eba2028c3$export$6de3fef38027e326(name) === null) throw new Error(`Failed to install ${name} as it was not found via ${pip} or the system package manager`);\n }\n const execPaths = await (0, $29e5d8652dc51d70$export$4bf645347c3b7001)(givenPython);\n const binDir = await $5d78454eba2028c3$var$findBinDir(execPaths, name);\n await (0, $2f24a8df2529dc1c$export$4c25481b843feb0b)(binDir);\n return {\n binDir: binDir\n };\n}\nasync function $5d78454eba2028c3$export$ffe24b8e86dbc863(givenPython) {\n return (await (0, $fdbe8517affbdc0a$export$db6b1668e3758717)(givenPython, [\n \"-m\",\n \"pipx\",\n \"--help\"\n ], {\n stdio: \"ignore\",\n reject: false\n })).exitCode === 0;\n}\nasync function $5d78454eba2028c3$var$getPython_raw() {\n const pythonBin = (await (0, $29e5d8652dc51d70$export$2b0b68e9df3d4a02)((0, $83fde521434ac405$export$c506eb22e615ba4a)(\"python\", undefined, await (0, $7407b79f302e7dfb$export$49c9cf1111dfa0ee)()), \"\", process.arch)).bin;\n if (pythonBin === undefined) throw new Error(\"Python binary was not found\");\n return pythonBin;\n}\nconst $5d78454eba2028c3$var$getPython = (0, $66020ee02fe926ff$export$2e2bcd8739ae039)($5d78454eba2028c3$var$getPython_raw, {\n isPromise: true\n});\nasync function $5d78454eba2028c3$var$pipHasPackage(python, name) {\n const result = await (0, $fdbe8517affbdc0a$export$db6b1668e3758717)(python, [\n \"-m\",\n \"pip\",\n \"-qq\",\n \"index\",\n \"versions\",\n name\n ], {\n stdio: \"ignore\",\n reject: false\n });\n return result.exitCode === 0;\n}\nasync function $5d78454eba2028c3$var$findBinDir(dirs, name) {\n const exists = await Promise.all(dirs.map((dir)=>(0, $bOuKS.pathExists)((0, $eq4yW.join)(dir, (0, $eq4yW.addExeExt)(name)))));\n const dirIndex = exists.findIndex((exist)=>exist);\n if (dirIndex !== -1) {\n const foundDir = dirs[dirIndex];\n return foundDir;\n }\n const whichDir = (0, (/*@__PURE__*/$parcel$interopDefault($69f9660769b2c54f$exports))).sync((0, $eq4yW.addExeExt)(name), {\n nothrow: true\n });\n if (whichDir !== null) return (0, $eq4yW.dirname)(whichDir);\n return dirs[dirs.length - 1];\n}\nfunction $5d78454eba2028c3$export$6de3fef38027e326(name) {\n if (process.platform === \"linux\") {\n (0, $i5trn.info)(`Installing ${name} via the system package manager`);\n if ((0, $9aeb5896658945db$export$d415ddb6702ec3a2)()) return (0, $8310f4b4d4fddda5$export$cfa75578ee2d6e6c)(`python-${name}`);\n else if ((0, $3886c66546fd08fe$export$8ce8b4b22331a8c7)()) return (0, $c19966177a67898f$export$49d4f9ba8e0dd34f)([\n {\n name: `python3-${name}`\n }\n ]);\n else if ((0, $20fc1212ead529fb$export$da8baf1d6c6802b6)()) return (0, $c28d8ebe1e034757$export$d73dc343f5abf26)([\n {\n name: `python3-${name}`\n }\n ]);\n }\n return null;\n}\n\n\nfunction $ae75412612fe2e3e$export$249d0c7d779d362f(version, _setupDir, _arch) {\n return (0, $5d78454eba2028c3$export$4020cb77ffa3ffac)(\"conan\", version);\n}\n\n\n\n\n\n\n\n\n\n\n\nasync function $e662e72f87137a41$export$13d77464c548b5d3(version, _setupDir, _arch) {\n switch(process.platform){\n case \"win32\":\n {\n await (0, $953ade167c7bc14a$export$9f6912bc890040b2)(\"cppcheck\", version);\n const binDir = await $e662e72f87137a41$var$activateWinCppcheck();\n return {\n binDir: binDir\n };\n }\n case \"darwin\":\n return (0, $d04dcbafc5bebef1$export$ce5d13d8a85cb784)(\"cppcheck\", version);\n case \"linux\":\n if ((0, $9aeb5896658945db$export$d415ddb6702ec3a2)()) return (0, $8310f4b4d4fddda5$export$cfa75578ee2d6e6c)(\"cppcheck\", version);\n else if ((0, $3886c66546fd08fe$export$8ce8b4b22331a8c7)()) return (0, $c19966177a67898f$export$49d4f9ba8e0dd34f)([\n {\n name: \"ccache\",\n version: version\n }\n ]);\n else if ((0, $20fc1212ead529fb$export$da8baf1d6c6802b6)()) return (0, $c28d8ebe1e034757$export$d73dc343f5abf26)([\n {\n name: \"cppcheck\",\n version: version\n }\n ]);\n throw new Error(`Unsupported linux distribution`);\n default:\n throw new Error(`Unsupported platform`);\n }\n}\nasync function $e662e72f87137a41$var$activateWinCppcheck() {\n const binDir = \"C:/Program Files/Cppcheck\";\n await (0, $2f24a8df2529dc1c$export$4c25481b843feb0b)(binDir);\n return binDir;\n}\n\n\n\n\n\n\n\n\n\nvar $eq4yW = parcelRequire(\"eq4yW\");\n\n\nvar $7Lz0k = parcelRequire(\"7Lz0k\");\n\n\n\n\n\n\n\n\n\nasync function $77fafcb29b09e6e7$export$b885bd977caaafb9(version, _setupDir, _arch) {\n switch(process.platform){\n case \"win32\":\n await (0, $953ade167c7bc14a$export$9f6912bc890040b2)(\"graphviz\", version);\n return $77fafcb29b09e6e7$var$activateGraphviz();\n case \"darwin\":\n return (0, $d04dcbafc5bebef1$export$ce5d13d8a85cb784)(\"graphviz\", version);\n case \"linux\":\n if ((0, $9aeb5896658945db$export$d415ddb6702ec3a2)()) return (0, $8310f4b4d4fddda5$export$cfa75578ee2d6e6c)(\"graphviz\", version);\n else if ((0, $3886c66546fd08fe$export$8ce8b4b22331a8c7)()) return (0, $c19966177a67898f$export$49d4f9ba8e0dd34f)([\n {\n name: \"graphviz\",\n version: version\n }\n ]);\n else if ((0, $20fc1212ead529fb$export$da8baf1d6c6802b6)()) return (0, $c28d8ebe1e034757$export$d73dc343f5abf26)([\n {\n name: \"graphviz\",\n version: version\n }\n ]);\n throw new Error(`Unsupported linux distribution`);\n default:\n throw new Error(`Unsupported platform`);\n }\n}\nasync function $77fafcb29b09e6e7$var$activateGraphviz() {\n switch(process.platform){\n case \"win32\":\n {\n const binDir = \"C:/Program Files/Graphviz/bin\";\n await (0, $2f24a8df2529dc1c$export$4c25481b843feb0b)(binDir);\n return {\n binDir: binDir\n };\n }\n default:\n throw new Error(`Unsupported platform`);\n }\n}\n\n\n\n\n\n\n\n\nvar $bOuKS = parcelRequire(\"bOuKS\");\n\n\n/** Get the platform data for cmake */ // eslint-disable-next-line @typescript-eslint/no-unused-vars\nfunction $c3138813a2f84b86$var$getDoxygenPackageInfo(version, platform, _arch) {\n switch(platform){\n case \"linux\":\n {\n const folderName = `doxygen-${version}`;\n return {\n binRelativeDir: \"bin/\",\n binFileName: (0, $eq4yW.addExeExt)(\"doxygen\"),\n extractedFolderName: folderName,\n extractFunction: (0, $041d45f5b9f47c6d$exports.extractTar),\n url: `https://www.doxygen.nl/files/${folderName}.linux.bin.tar.gz`\n };\n }\n case \"win32\":\n {\n const folderName = `doxygen-${version}`;\n return {\n binRelativeDir: \"\",\n binFileName: (0, $eq4yW.addExeExt)(\"doxygen\"),\n extractedFolderName: folderName,\n extractFunction: (0, $334bd34d50e00f0e$export$6411c5cbab21135b),\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}\nasync function $c3138813a2f84b86$export$b6e6613a954051ee(version, setupDir, arch) {\n switch(process.platform){\n case \"win32\":\n {\n // try to download the package 4 times with 2 seconds delay\n await (0, (/*@__PURE__*/$parcel$interopDefault($ee5dd4b3889f5211$exports)))(()=>{\n return (0, $953ade167c7bc14a$export$9f6912bc890040b2)(\"doxygen.install\", version);\n }, {\n name: \"doxygen.install\",\n max: 4,\n backoffBase: 2000,\n report: (err)=>(0, $7Lz0k.info)(err)\n });\n const binDir = await $c3138813a2f84b86$var$activateWinDoxygen();\n const installationInfo = {\n binDir: binDir\n };\n await (0, $77fafcb29b09e6e7$export$b885bd977caaafb9)((0, $83fde521434ac405$export$c506eb22e615ba4a)(\"graphviz\", undefined), \"\", arch);\n return installationInfo;\n }\n case \"darwin\":\n {\n const installationInfo = await (0, $d04dcbafc5bebef1$export$ce5d13d8a85cb784)(\"doxygen\", undefined);\n await (0, $77fafcb29b09e6e7$export$b885bd977caaafb9)((0, $83fde521434ac405$export$c506eb22e615ba4a)(\"graphviz\", undefined), \"\", arch);\n return installationInfo;\n }\n case \"linux\":\n {\n let installationInfo;\n if (version === \"\" || (0, $9aeb5896658945db$export$d415ddb6702ec3a2)() || (0, $3886c66546fd08fe$export$8ce8b4b22331a8c7)()) {\n if ((0, $9aeb5896658945db$export$d415ddb6702ec3a2)()) installationInfo = await (0, $8310f4b4d4fddda5$export$cfa75578ee2d6e6c)(\"doxygen\", version);\n else if ((0, $3886c66546fd08fe$export$8ce8b4b22331a8c7)()) return (0, $c19966177a67898f$export$49d4f9ba8e0dd34f)([\n {\n name: \"doxygen\",\n version: version\n }\n ]);\n else if ((0, $20fc1212ead529fb$export$da8baf1d6c6802b6)()) installationInfo = await (0, $c28d8ebe1e034757$export$d73dc343f5abf26)([\n {\n name: \"doxygen\",\n version: version\n }\n ]);\n else throw new Error(`Unsupported linux distributions`);\n } else if ((0, $20fc1212ead529fb$export$da8baf1d6c6802b6)()) try {\n // doxygen on stable Ubuntu repositories is very old. So, we use get the binary from the website itself\n installationInfo = await (0, $7dbd062890ddcaab$export$334f77c9844c21f6)(\"doxygen\", version, $c3138813a2f84b86$var$getDoxygenPackageInfo, setupDir, arch);\n await (0, $c28d8ebe1e034757$export$d73dc343f5abf26)([\n {\n name: \"libclang-cpp9\"\n }\n ]);\n } catch (err) {\n (0, $7Lz0k.notice)(`Failed to download doxygen binary. ${err}. Falling back to apt-get.`);\n installationInfo = await (0, $c28d8ebe1e034757$export$d73dc343f5abf26)([\n {\n name: \"doxygen\"\n }\n ]);\n }\n else throw new Error(`Unsupported linux distributions`);\n await (0, $77fafcb29b09e6e7$export$b885bd977caaafb9)((0, $83fde521434ac405$export$c506eb22e615ba4a)(\"graphviz\", undefined, await (0, $7407b79f302e7dfb$export$49c9cf1111dfa0ee)()), \"\", arch);\n return installationInfo;\n }\n default:\n throw new Error(`Unsupported platform`);\n }\n}\nasync function $c3138813a2f84b86$var$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 ])// eslint-disable-next-line no-await-in-loop\n if (await (0, $bOuKS.pathExists)((0, $eq4yW.join)(binDir, \"doxygen.exe\"))) {\n // eslint-disable-next-line no-await-in-loop\n await (0, $2f24a8df2529dc1c$export$4c25481b843feb0b)(binDir);\n return binDir;\n }\n throw new Error(\"Failed to find doxygen binary\");\n default:\n throw new Error(`Unsupported platform`);\n }\n}\n\n\n\n\n\n\n\n\nvar $jsxzs = parcelRequire(\"jsxzs\");\n\nvar $brvh5 = parcelRequire(\"brvh5\");\n\nvar $8hZvX = parcelRequire(\"8hZvX\");\n\n\nvar $7Lz0k = parcelRequire(\"7Lz0k\");\nasync function $ce4a769f1296c7b8$export$28f5fd35e3005b7a() {\n if (process.platform === \"darwin\") try {\n const xcrun = await (0, $8hZvX.getExecOutput)(\"xcrun --sdk macosx --show-sdk-path\");\n const sdkroot = xcrun.stdout || xcrun.stderr;\n if (sdkroot) await (0, $2f24a8df2529dc1c$export$f63d3080ce25e0fd)(\"SDKROOT\", sdkroot.trim());\n else (0, $7Lz0k.error)(`SDKROOT not set`);\n } catch (e) {\n (0, $7Lz0k.error)(e);\n }\n}\n\n\n\nvar $eq4yW = parcelRequire(\"eq4yW\");\n\nvar $7Lz0k = parcelRequire(\"7Lz0k\");\n\nvar $2W4C2 = parcelRequire(\"2W4C2\");\n\n\n\n\n\n\n\nvar $bOuKS = parcelRequire(\"bOuKS\");\n\nvar $c5bcc6df675a953c$var$$parcel$__dirname = $aEsRD$path.resolve(__dirname, \"../../src/gcc\");\n// https://github.com/brechtsanders/winlibs_mingw/releases\nconst $c5bcc6df675a953c$var$GccToMingwInfo = {\n \"13\": {\n releaseName: \"13.2.0-16.0.6-11.0.0-ucrt-r1\",\n fileSuffix: \"13.2.0-mingw-w64ucrt-11.0.0-r1\"\n },\n \"13.2-ucrt\": {\n releaseName: \"13.2.0-16.0.6-11.0.0-ucrt-r1\",\n fileSuffix: \"13.2.0-mingw-w64ucrt-11.0.0-r1\"\n },\n \"13.2-ucrt-mcf\": {\n releaseName: \"13.2.0mcf-16.0.6-11.0.1-ucrt-r2\",\n fileSuffix: \"13.2.0-mingw-w64ucrt-11.0.1-r2\"\n },\n \"13.2-msvcrt\": {\n releaseName: \"13.2.0-16.0.6-11.0.1-msvcrt-r1\",\n fileSuffix: \"13.2.0-mingw-w64msvcrt-11.0.1-r1\"\n },\n \"13.1-ucrt\": {\n releaseName: \"13.1.0posix-16.0.3-11.0.0-ucrt-r1\",\n fileSuffix: \"13.1.0-mingw-w64ucrt-11.0.0-r1\"\n },\n \"13.1-msvcrt\": {\n releaseName: \"13.1.0posix-16.0.3-11.0.0-msvcrt-r1\",\n fileSuffix: \"13.1.0-mingw-w64msvcrt-11.0.0-r1\"\n },\n \"12\": {\n releaseName: \"12.3.0-16.0.4-11.0.0-ucrt-r1\",\n fileSuffix: \"12.3.0-mingw-w64ucrt-11.0.0-r1\"\n },\n \"12.3.0-ucrt\": {\n releaseName: \"12.3.0-16.0.4-11.0.0-ucrt-r1\",\n fileSuffix: \"12.3.0-mingw-w64ucrt-11.0.0-r1\"\n },\n \"12.3.0-msvcrt\": {\n releaseName: \"12.3.0-16.0.4-11.0.0-msvcrt-r1\",\n fileSuffix: \"12.3.0-mingw-w64msvcrt-11.0.0-r1\"\n },\n \"12.2.0-ucrt\": {\n releaseName: \"12.2.0-14.0.6-10.0.0-ucrt-r2\",\n fileSuffix: \"12.2.0-mingw-w64ucrt-10.0.0-r2\"\n },\n \"12.2.0-msvcrt\": {\n releaseName: \"12.2.0-14.0.6-10.0.0-msvcrt-r2\",\n fileSuffix: \"12.2.0-mingw-w64msvcrt-10.0.0-r2\"\n },\n \"12.1.0-ucrt\": {\n releaseName: \"12.1.0-14.0.4-10.0.0-ucrt-r2\",\n fileSuffix: \"12.1.0-mingw-w64ucrt-10.0.0-r2\"\n },\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\": {\n releaseName: \"11.3.0-14.0.3-10.0.0-ucrt-r3\",\n fileSuffix: \"11.3.0-mingw-w64ucrt-10.0.0-r3\"\n },\n \"11.3.0-ucrt\": {\n releaseName: \"11.3.0-14.0.3-10.0.0-ucrt-r3\",\n fileSuffix: \"11.3.0-mingw-w64ucrt-10.0.0-r3\"\n },\n \"11.3.0-msvcrt\": {\n releaseName: \"11.3.0-14.0.3-10.0.0-msvcrt-r3\",\n fileSuffix: \"11.3.0-mingw-w64msvcrt-10.0.0-r3\"\n },\n \"11.2.0-ucrt\": {\n releaseName: \"11.2.0-9.0.0-ucrt-r5\",\n fileSuffix: \"11.2.0-mingw-w64ucrt-9.0.0-r5\"\n },\n \"11.2.0-msvcrt\": {\n releaseName: \"11.2.0-9.0.0-msvcrt-r5\",\n fileSuffix: \"11.2.0-mingw-w64msvcrt-9.0.0-r5\"\n },\n \"10\": {\n releaseName: \"10.5.0-11.0.1-msvcrt-r1\",\n fileSuffix: \"10.5.0-mingw-w64msvcrt-11.0.1-r1\"\n },\n \"10.5.0-msvcrt\": {\n releaseName: \"10.5.0-11.0.1-msvcrt-r1\",\n fileSuffix: \"10.5.0-mingw-w64msvcrt-11.0.1-r1\"\n },\n \"10.3.0\": {\n releaseName: \"10.3.0-12.0.0-9.0.0-r2\",\n fileSuffix: \"10.3.0-llvm-12.0.0-mingw-w64-9.0.0-r2\"\n },\n \"10.2.0\": {\n releaseName: \"10.2.0-7.0.0-r4\",\n fileSuffix: \"10.2.0-llvm-10.0.1-mingw-w64-7.0.0-r4\"\n },\n \"9\": {\n releaseName: \"9.4.0-9.0.0-r1\",\n fileSuffix: \"9.4.0-mingw-w64-9.0.0-r1\"\n },\n \"9.4.0\": {\n releaseName: \"9.4.0-9.0.0-r1\",\n fileSuffix: \"9.4.0-mingw-w64-9.0.0-r1\"\n }\n};\nfunction $c5bcc6df675a953c$var$getGccPackageInfo(version, platform, arch) {\n switch(platform){\n case \"win32\":\n {\n const mingwInfo = $c5bcc6df675a953c$var$GccToMingwInfo[version];\n if (mingwInfo === undefined) throw new Error(`mingw version ${version} is not supported`);\n const mingwArch = arch === \"ia32\" ? \"i686\" : \"x86_64\";\n const exceptionModel = \"seh\" // SEH is native windows exception model https://github.com/brechtsanders/winlibs_mingw/issues/4#issuecomment-599296483\n ;\n return {\n binRelativeDir: \"bin/\",\n binFileName: (0, $eq4yW.addExeExt)(\"g++\"),\n extractedFolderName: \"mingw64\",\n extractFunction: (0, $334bd34d50e00f0e$export$eecfe186811d4a20),\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}\nasync function $c5bcc6df675a953c$export$405fab3de79b77b(version, setupDir, arch) {\n let installationInfo;\n switch(process.platform){\n case \"win32\":\n if (arch === \"arm\" || arch === \"arm64\") await (0, $953ade167c7bc14a$export$9f6912bc890040b2)(\"gcc-arm-embedded\", version);\n try {\n installationInfo = await (0, $7dbd062890ddcaab$export$334f77c9844c21f6)(\"g++\", version, $c5bcc6df675a953c$var$getGccPackageInfo, setupDir, arch);\n } catch (err) {\n (0, $7Lz0k.info)(`Failed to download g++ binary. ${err}. Falling back to chocolatey.`);\n installationInfo = await $c5bcc6df675a953c$var$setupChocoMingw(version, arch);\n }\n break;\n case \"darwin\":\n installationInfo = await (0, $d04dcbafc5bebef1$export$ce5d13d8a85cb784)(\"gcc\", version);\n break;\n case \"linux\":\n if (arch === \"x64\") {\n if ((0, $9aeb5896658945db$export$d415ddb6702ec3a2)()) installationInfo = await (0, $8310f4b4d4fddda5$export$cfa75578ee2d6e6c)(\"gcc\", version);\n else if ((0, $3886c66546fd08fe$export$8ce8b4b22331a8c7)()) installationInfo = await (0, $c19966177a67898f$export$49d4f9ba8e0dd34f)([\n {\n name: \"gcc\",\n version: version\n },\n {\n name: \"gcc-c++\",\n version: version\n },\n {\n name: \"libstdc++-devel\"\n }\n ]);\n else if ((0, $20fc1212ead529fb$export$da8baf1d6c6802b6)()) installationInfo = await (0, $c28d8ebe1e034757$export$d73dc343f5abf26)([\n {\n name: \"gcc\",\n version: version,\n repositories: [\n \"ppa:ubuntu-toolchain-r/test\"\n ]\n },\n {\n name: \"g++\",\n version: version,\n repositories: [\n \"ppa:ubuntu-toolchain-r/test\"\n ]\n }\n ]);\n } else {\n (0, $7Lz0k.info)(`Install g++-multilib because gcc for ${arch} was requested`);\n if ((0, $9aeb5896658945db$export$d415ddb6702ec3a2)()) await (0, $8310f4b4d4fddda5$export$cfa75578ee2d6e6c)(\"gcc-multilib\", version);\n else if ((0, $20fc1212ead529fb$export$da8baf1d6c6802b6)()) await (0, $c28d8ebe1e034757$export$d73dc343f5abf26)([\n {\n name: \"gcc-multilib\",\n version: version,\n repositories: [\n \"ppa:ubuntu-toolchain-r/test\"\n ]\n }\n ]);\n }\n break;\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 if (installationInfo !== undefined) {\n await $c5bcc6df675a953c$var$activateGcc(version, installationInfo.binDir);\n return installationInfo;\n }\n return undefined;\n}\nasync function $c5bcc6df675a953c$export$f115c01d224b9e9a(version, setupDir, arch) {\n let installationInfo;\n switch(process.platform){\n case \"win32\":\n case \"darwin\":\n return $c5bcc6df675a953c$export$405fab3de79b77b(version, setupDir, arch);\n case \"linux\":\n if ((0, $9aeb5896658945db$export$d415ddb6702ec3a2)()) installationInfo = await (0, $8310f4b4d4fddda5$export$cfa75578ee2d6e6c)(\"mingw-w64-gcc\", version);\n else if ((0, $3886c66546fd08fe$export$8ce8b4b22331a8c7)()) installationInfo = await (0, $c19966177a67898f$export$49d4f9ba8e0dd34f)([\n {\n name: \"mingw64-gcc\",\n version: version\n }\n ]);\n else if ((0, $20fc1212ead529fb$export$da8baf1d6c6802b6)()) installationInfo = await (0, $c28d8ebe1e034757$export$d73dc343f5abf26)([\n {\n name: \"mingw-w64\",\n version: version,\n repositories: [\n \"ppa:ubuntu-toolchain-r/test\"\n ]\n }\n ]);\n break;\n default:\n throw new Error(`Unsupported platform for ${arch}`);\n }\n if (installationInfo !== undefined) // TODO: setup alternatives and update CC/CXX env. ?\n //Setting up g++-mingw-w64-i686-win32 (10.3.0-14ubuntu1+24.3) ...\n // update-alternatives: using /usr/bin/i686-w64-mingw32-g++-win32 to provide /usr/bin/i686-w64-mingw32-g++ (i686-w64-mingw32-g++) in auto mode\n //Setting up g++-mingw-w64-x86-64-win32 (10.3.0-14ubuntu1+24.3) ...\n // update-alternatives: using /usr/bin/x86_64-w64-mingw32-g++-win32 to provide /usr/bin/x86_64-w64-mingw32-g++ (x86_64-w64-mingw32-g++) in auto mode\n //await activateGcc(version, installationInfo.binDir)\n return installationInfo;\n return undefined;\n}\nasync function $c5bcc6df675a953c$var$setupChocoMingw(version, arch) {\n await (0, $953ade167c7bc14a$export$9f6912bc890040b2)(\"mingw\", version);\n let binDir;\n if (arch === \"x64\" && await (0, $bOuKS.pathExists)(\"C:/tools/mingw64/bin\")) {\n binDir = \"C:/tools/mingw64/bin\";\n await (0, $2f24a8df2529dc1c$export$4c25481b843feb0b)(binDir);\n } else if (arch === \"ia32\" && await (0, $bOuKS.pathExists)(\"C:/tools/mingw32/bin\")) {\n binDir = \"C:/tools/mingw32/bin\";\n await (0, $2f24a8df2529dc1c$export$4c25481b843feb0b)(binDir);\n } else if (await (0, $bOuKS.pathExists)(`${process.env.ChocolateyInstall ?? \"C:/ProgramData/chocolatey\"}/bin/g++.exe`)) binDir = `${process.env.ChocolateyInstall ?? \"C:/ProgramData/chocolatey\"}/bin`;\n if (binDir !== undefined) return {\n binDir: binDir\n };\n return undefined;\n}\nasync function $c5bcc6df675a953c$var$activateGcc(version, binDir) {\n const promises = [];\n // Setup gcc as the compiler\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 if (process.platform === \"win32\") promises.push((0, $2f24a8df2529dc1c$export$f63d3080ce25e0fd)(\"CC\", (0, $eq4yW.addExeExt)(`${binDir}/gcc`)), (0, $2f24a8df2529dc1c$export$f63d3080ce25e0fd)(\"CXX\", (0, $eq4yW.addExeExt)(`${binDir}/g++`)));\n else {\n const majorVersion = (0, (/*@__PURE__*/$parcel$interopDefault($jsxzs)))((0, (/*@__PURE__*/$parcel$interopDefault($brvh5)))(version) ?? version);\n if (majorVersion >= 5) {\n promises.push((0, $2f24a8df2529dc1c$export$f63d3080ce25e0fd)(\"CC\", `${binDir}/gcc-${majorVersion}`), (0, $2f24a8df2529dc1c$export$f63d3080ce25e0fd)(\"CXX\", `${binDir}/g++-${majorVersion}`));\n if ((0, $20fc1212ead529fb$export$da8baf1d6c6802b6)()) promises.push((0, $c28d8ebe1e034757$export$6fe6436bd9f53d02)(\"cc\", `${binDir}/gcc-${majorVersion}`), (0, $c28d8ebe1e034757$export$6fe6436bd9f53d02)(\"cxx\", `${binDir}/g++-${majorVersion}`), (0, $c28d8ebe1e034757$export$6fe6436bd9f53d02)(\"gcc\", `${binDir}/gcc-${majorVersion}`), (0, $c28d8ebe1e034757$export$6fe6436bd9f53d02)(\"g++\", `${binDir}/g++-${majorVersion}`));\n } else {\n promises.push((0, $2f24a8df2529dc1c$export$f63d3080ce25e0fd)(\"CC\", `${binDir}/gcc-${version}`), (0, $2f24a8df2529dc1c$export$f63d3080ce25e0fd)(\"CXX\", `${binDir}/g++-${version}`));\n if ((0, $20fc1212ead529fb$export$da8baf1d6c6802b6)()) promises.push((0, $c28d8ebe1e034757$export$6fe6436bd9f53d02)(\"cc\", `${binDir}/gcc-${version}`), (0, $c28d8ebe1e034757$export$6fe6436bd9f53d02)(\"cxx\", `${binDir}/g++-${version}`), (0, $c28d8ebe1e034757$export$6fe6436bd9f53d02)(\"gcc\", `${binDir}/gcc-${version}`), (0, $c28d8ebe1e034757$export$6fe6436bd9f53d02)(\"g++\", `${binDir}/g++-${version}`));\n }\n }\n promises.push((0, $ce4a769f1296c7b8$export$28f5fd35e3005b7a)());\n if (0, $2W4C2.GITHUB_ACTIONS) await $c5bcc6df675a953c$var$addGccLoggingMatcher();\n await Promise.all(promises);\n}\nasync function $c5bcc6df675a953c$var$addGccLoggingMatcher() {\n const matcherPath = (0, $eq4yW.join)($c5bcc6df675a953c$var$$parcel$__dirname, \"gcc_matcher.json\");\n if (!await (0, $bOuKS.pathExists)(matcherPath)) return (0, $7Lz0k.warning)(\"the gcc_matcher.json file does not exist in the same folder as setup-cpp.js\");\n (0, $7Lz0k.info)(`::add-matcher::${matcherPath}`);\n}\n\n\n\n\n\nvar $bJWbp = parcelRequire(\"bJWbp\");\n\nvar $jsxzs = parcelRequire(\"jsxzs\");\nfunction $719e7985de30e2f2$export$b98d69f362caf61f(version, _setupDir, _arch) {\n return (0, $5d78454eba2028c3$export$4020cb77ffa3ffac)(\"gcovr\", version);\n}\nfunction $719e7985de30e2f2$export$2a0488baf2a20c0f() {\n return (0, $2f24a8df2529dc1c$export$f63d3080ce25e0fd)(\"GCOV\", \"llvm-cov gcov\");\n}\nfunction $719e7985de30e2f2$export$41dabde4775ee2aa(gccVersion) {\n const gccSemver = (0, (/*@__PURE__*/$parcel$interopDefault($bJWbp)))(gccVersion);\n const gccMajor = gccSemver !== null ? (0, (/*@__PURE__*/$parcel$interopDefault($jsxzs)))(gccSemver) : gccVersion;\n const gcov = gccMajor !== \"\" ? `gcov-${gccMajor}` : \"gcov\";\n return (0, $2f24a8df2529dc1c$export$f63d3080ce25e0fd)(\"GCOV\", gcov);\n}\n\n\n\n\n\nvar $eq4yW = parcelRequire(\"eq4yW\");\n\n\n\n\n\n\n\n\n\n\n\n\n\nvar $7Lz0k = parcelRequire(\"7Lz0k\");\n\n\nvar $eq4yW = parcelRequire(\"eq4yW\");\n\n\n/** Get the platform name Ninja uses in their download links */ function $b31f931d02d7e6cb$var$getNinjaPlatform(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/** Get the platform data for ninja */ // eslint-disable-next-line @typescript-eslint/no-unused-vars\nfunction $b31f931d02d7e6cb$var$getNinjaPackageInfo(version, platform, _arch) {\n const ninjaPlatform = $b31f931d02d7e6cb$var$getNinjaPlatform(platform);\n return {\n binRelativeDir: \"\",\n binFileName: (0, $eq4yW.addExeExt)(\"ninja\"),\n extractedFolderName: \"\",\n extractFunction: (0, $334bd34d50e00f0e$export$6411c5cbab21135b),\n url: `https://github.com/ninja-build/ninja/releases/download/v${version}/ninja-${ninjaPlatform}.zip`\n };\n}\nfunction $b31f931d02d7e6cb$export$e6190f4bfe2ef71(version, setupDir, arch) {\n return (0, $7dbd062890ddcaab$export$334f77c9844c21f6)(\"ninja\", version, $b31f931d02d7e6cb$var$getNinjaPackageInfo, setupDir, arch);\n}\n\n\n\n\nvar $a36cf804c947131a$var$$parcel$__dirname = $aEsRD$path.resolve(__dirname, \"../../src/kcov\");\nfunction $a36cf804c947131a$var$getDownloadKcovPackageInfo(version) {\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: (0, $eq4yW.addExeExt)(\"kcov\"),\n extractFunction: (0, $334bd34d50e00f0e$export$2ab07ac150064014)\n };\n}\nfunction $a36cf804c947131a$var$getBuildKcovPackageInfo(version) {\n return {\n url: `https://github.com/SimonKagstrom/kcov/archive/refs/tags/${version}.tar.gz`,\n extractedFolderName: \"\",\n binRelativeDir: \"build/src\",\n binFileName: (0, $eq4yW.addExeExt)(\"kcov\"),\n extractFunction: $a36cf804c947131a$var$buildKcov\n };\n}\nasync function $a36cf804c947131a$var$buildKcov(file, dest) {\n const out = await (0, $334bd34d50e00f0e$export$2ab07ac150064014)(file, dest, [\n \"--strip-components=1\"\n ]);\n // build after extraction using CMake\n const cmake = await $a36cf804c947131a$var$getCmake();\n if (process.platform === \"linux\") {\n if ((0, $9aeb5896658945db$export$d415ddb6702ec3a2)()) await Promise.all([\n (0, $8310f4b4d4fddda5$export$cfa75578ee2d6e6c)(\"libdwarf\"),\n (0, $8310f4b4d4fddda5$export$cfa75578ee2d6e6c)(\"libcurl-openssl\")\n ]);\n else if ((0, $3886c66546fd08fe$export$8ce8b4b22331a8c7)()) await (0, $c19966177a67898f$export$49d4f9ba8e0dd34f)([\n {\n name: \"libdwarf-devel\"\n },\n {\n name: \"libcurl-devel\"\n }\n ]);\n else if ((0, $20fc1212ead529fb$export$da8baf1d6c6802b6)()) await (0, $c28d8ebe1e034757$export$d73dc343f5abf26)([\n {\n name: \"libdw-dev\"\n },\n {\n name: \"libcurl4-openssl-dev\"\n }\n ]);\n }\n // apply gcc13.patch\n try {\n if ((0, (/*@__PURE__*/$parcel$interopDefault($69f9660769b2c54f$exports))).sync(\"patch\", {\n nothrow: true\n }) !== null) {\n const patch = (0, $eq4yW.join)($a36cf804c947131a$var$$parcel$__dirname, \"gcc13.patch\");\n await (0, $fdbe8517affbdc0a$export$db6b1668e3758717)(\"patch\", [\n \"-N\",\n \"-p1\",\n \"-i\",\n patch\n ], {\n cwd: out,\n stdio: \"inherit\"\n });\n } else (0, $7Lz0k.info)(\"`patch` not found, skipping gcc13.patch, kcov may not build on gcc 13\");\n } catch {\n // ignore\n }\n const buildDir = (0, $eq4yW.join)(out, \"build\");\n await (0, $fdbe8517affbdc0a$export$db6b1668e3758717)(cmake, [\n \"-S\",\n out,\n \"-B\",\n buildDir,\n \"-DCMAKE_BUILD_TYPE=Release\",\n \"-G\",\n \"Ninja\"\n ], {\n cwd: out,\n stdio: \"inherit\"\n });\n await (0, $fdbe8517affbdc0a$export$db6b1668e3758717)(cmake, [\n \"--build\",\n buildDir,\n \"--config\",\n \"Release\"\n ], {\n cwd: out,\n stdio: \"inherit\"\n });\n // execRootSync(cmake, [\"--install\", buildDir], out)\n // return \"user/local/bin\" // the cmake install prefix\n return out;\n}\nasync function $a36cf804c947131a$var$getCmake() {\n let cmake = (0, (/*@__PURE__*/$parcel$interopDefault($69f9660769b2c54f$exports))).sync(\"cmake\", {\n nothrow: true\n });\n if (cmake === null) {\n const { binDir: binDir } = await (0, $24ae2ed334e3fc9e$export$c28663a621f418ce)((0, $83fde521434ac405$export$c506eb22e615ba4a)(\"cmake\", undefined, await (0, $7407b79f302e7dfb$export$49c9cf1111dfa0ee)()), (0, $eq4yW.join)((0, $9affb3cfb96595a9$export$8312d9eeba321950)(\"\"), \"cmake\"), \"\");\n cmake = (0, $eq4yW.join)(binDir, \"cmake\");\n }\n const ninja = (0, (/*@__PURE__*/$parcel$interopDefault($69f9660769b2c54f$exports))).sync(\"ninja\", {\n nothrow: true\n });\n if (ninja === null) await (0, $b31f931d02d7e6cb$export$e6190f4bfe2ef71)((0, $83fde521434ac405$export$c506eb22e615ba4a)(\"ninja\", undefined, await (0, $7407b79f302e7dfb$export$49c9cf1111dfa0ee)()), (0, $eq4yW.join)((0, $9affb3cfb96595a9$export$8312d9eeba321950)(\"\"), \"ninja\"), \"\");\n return cmake;\n}\nasync function $a36cf804c947131a$export$abb7c2ff987b1f6b(versionGiven, setupDir, arch) {\n if (process.platform !== \"linux\") {\n (0, $7Lz0k.info)(\"Kcov is not supported on non-linux\");\n return;\n }\n // parse version\n const versionSplit = versionGiven.split(\"-\");\n let version = (0, $9ae3c26b3cc5ff2a$export$6863a97504984656)(versionSplit[0]);\n const installMethod = versionSplit[1];\n const version_number = (0, $9ae3c26b3cc5ff2a$export$b19007c0050a2fcc)(version);\n // fix inconsistency in tagging\n if (version_number === 38) version = \"v38\";\n let installationInfo;\n if (installMethod === \"binary\" && version_number >= 39) {\n installationInfo = await (0, $7dbd062890ddcaab$export$334f77c9844c21f6)(\"kcov\", version, $a36cf804c947131a$var$getDownloadKcovPackageInfo, setupDir, arch);\n if ((0, $9aeb5896658945db$export$d415ddb6702ec3a2)()) await (0, $8310f4b4d4fddda5$export$cfa75578ee2d6e6c)(\"binutils\");\n else if ((0, $3886c66546fd08fe$export$8ce8b4b22331a8c7)()) await (0, $c19966177a67898f$export$49d4f9ba8e0dd34f)([\n {\n name: \"binutils\"\n }\n ]);\n else if ((0, $20fc1212ead529fb$export$da8baf1d6c6802b6)()) await (0, $c28d8ebe1e034757$export$d73dc343f5abf26)([\n {\n name: \"libbinutils\"\n }\n ]);\n return installationInfo;\n } else installationInfo = await (0, $7dbd062890ddcaab$export$334f77c9844c21f6)(\"kcov\", version, $a36cf804c947131a$var$getBuildKcovPackageInfo, setupDir, arch);\n return installationInfo;\n}\n\n\n\nvar $2W4C2 = parcelRequire(\"2W4C2\");\n\nvar $7Lz0k = parcelRequire(\"7Lz0k\");\n\n\n\nvar $bOuKS = parcelRequire(\"bOuKS\");\n\nvar $eq4yW = parcelRequire(\"eq4yW\");\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nvar $i5trn = parcelRequire(\"i5trn\");\n\nvar $7Lz0k = parcelRequire(\"7Lz0k\");\n\nvar $eq4yW = parcelRequire(\"eq4yW\");\n\n// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n// @ts-ignore\nvar $e9b1520ffb6c601b$export$3c7cae5a162b1458;\nvar $e9b1520ffb6c601b$export$704f0be24425353b;\nvar $e9b1520ffb6c601b$export$f49c12d2898d28cb;\nvar $e9b1520ffb6c601b$export$a6a3bfb882356813;\nvar $e9b1520ffb6c601b$export$443b8bb890f5027e;\n\nvar $i5trn = parcelRequire(\"i5trn\");\n\n\n\n\nconst $e9b1520ffb6c601b$var$PROGRAM_FILES_X86 = $aEsRD$process.env[\"ProgramFiles(x86)\"];\nconst $e9b1520ffb6c601b$var$PROGRAM_FILES = [\n $aEsRD$process.env[\"ProgramFiles(x86)\"],\n $aEsRD$process.env[\"ProgramFiles\"]\n];\nconst $e9b1520ffb6c601b$var$EDITIONS = [\n \"Enterprise\",\n \"Professional\",\n \"Community\",\n \"BuildTools\"\n];\nconst $e9b1520ffb6c601b$var$YEARS = [\n \"2022\",\n \"2019\",\n \"2017\"\n];\nconst $e9b1520ffb6c601b$var$VsYearVersion = {\n \"2022\": \"17.0\",\n \"2019\": \"16.0\",\n \"2017\": \"15.0\",\n \"2015\": \"14.0\",\n \"2013\": \"12.0\"\n};\nfunction $e9b1520ffb6c601b$var$vsversion_to_versionnumber(vsversion) {\n if (Object.values($e9b1520ffb6c601b$var$VsYearVersion).includes(vsversion)) return vsversion;\n else {\n if (vsversion in $e9b1520ffb6c601b$var$VsYearVersion) return $e9b1520ffb6c601b$var$VsYearVersion[vsversion];\n }\n return vsversion;\n}\n$e9b1520ffb6c601b$export$3c7cae5a162b1458 = $e9b1520ffb6c601b$var$vsversion_to_versionnumber;\nfunction $e9b1520ffb6c601b$var$vsversion_to_year(vsversion) {\n if (Object.keys($e9b1520ffb6c601b$var$VsYearVersion).includes(vsversion)) return vsversion;\n else for (const [year, ver] of Object.entries($e9b1520ffb6c601b$var$VsYearVersion)){\n if (ver === vsversion) return year;\n }\n return vsversion;\n}\n$e9b1520ffb6c601b$export$704f0be24425353b = $e9b1520ffb6c601b$var$vsversion_to_year;\nconst $e9b1520ffb6c601b$var$VSWHERE_PATH = `${$e9b1520ffb6c601b$var$PROGRAM_FILES_X86}\\\\Microsoft Visual Studio\\\\Installer`;\nfunction $e9b1520ffb6c601b$var$findWithVswhere(pattern, version_pattern) {\n try {\n let installationPath = $aEsRD$child_process.execSync(`vswhere -products * ${version_pattern} -prerelease -property installationPath`).toString().trim();\n return installationPath + \"\\\\\" + pattern;\n } catch (e) {\n $i5trn.warning(`vswhere failed: ${e}`);\n }\n return null;\n}\n$e9b1520ffb6c601b$export$f49c12d2898d28cb = $e9b1520ffb6c601b$var$findWithVswhere;\nfunction $e9b1520ffb6c601b$var$findVcvarsall(vsversion) {\n const vsversion_number = $e9b1520ffb6c601b$var$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 version_pattern = \"-latest\";\n // If vswhere is available, ask it about the location of the latest Visual Studio.\n let path = $e9b1520ffb6c601b$var$findWithVswhere(\"VC\\\\Auxiliary\\\\Build\\\\vcvarsall.bat\", version_pattern);\n if (path && $aEsRD$fs.existsSync(path)) {\n $i5trn.info(`Found with vswhere: ${path}`);\n return path;\n }\n $i5trn.info(\"Not found with vswhere\");\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 ? [\n $e9b1520ffb6c601b$var$vsversion_to_year(vsversion)\n ] : $e9b1520ffb6c601b$var$YEARS;\n for (const prog_files of $e9b1520ffb6c601b$var$PROGRAM_FILES){\n for (const ver of years)for (const ed of $e9b1520ffb6c601b$var$EDITIONS){\n path = `${prog_files}\\\\Microsoft Visual Studio\\\\${ver}\\\\${ed}\\\\VC\\\\Auxiliary\\\\Build\\\\vcvarsall.bat`;\n $i5trn.info(`Trying standard location: ${path}`);\n if ($aEsRD$fs.existsSync(path)) {\n $i5trn.info(`Found standard location: ${path}`);\n return path;\n }\n }\n }\n $i5trn.info(\"Not found in standard locations\");\n // Special case for Visual Studio 2015 (and maybe earlier), try it out too.\n path = `${$e9b1520ffb6c601b$var$PROGRAM_FILES_X86}\\\\Microsoft Visual C++ Build Tools\\\\vcbuildtools.bat`;\n if ($aEsRD$fs.existsSync(path)) {\n $i5trn.info(`Found VS 2015: ${path}`);\n return path;\n }\n $i5trn.info(`Not found in VS 2015 location: ${path}`);\n throw new Error(\"Microsoft Visual Studio not found\");\n}\n$e9b1520ffb6c601b$export$a6a3bfb882356813 = $e9b1520ffb6c601b$var$findVcvarsall;\nfunction $e9b1520ffb6c601b$var$isPathVariable(name) {\n const pathLikeVariables = [\n \"PATH\",\n \"INCLUDE\",\n \"LIB\",\n \"LIBPATH\"\n ];\n return pathLikeVariables.indexOf(name.toUpperCase()) != -1;\n}\nfunction $e9b1520ffb6c601b$var$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/** See https://github.com/ilammy/msvc-dev-cmd#inputs */ function $e9b1520ffb6c601b$var$setupMSVCDevCmd(arch, sdk, toolset, uwp, spectre, vsversion) {\n if ($aEsRD$process.platform != \"win32\") {\n $i5trn.info(\"This is not a Windows virtual environment, bye!\");\n return;\n }\n // Add standard location of \"vswhere\" to PATH, in case it's not there.\n $aEsRD$process.env.PATH += $aEsRD$path.delimiter + $e9b1520ffb6c601b$var$VSWHERE_PATH;\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) arch = arch_aliases[arch.toLowerCase()];\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 var args = [\n arch\n ];\n if (uwp == \"true\") args.push(\"uwp\");\n if (sdk) args.push(sdk);\n if (toolset) args.push(`-vcvars_ver=${toolset}`);\n if (spectre == \"true\") args.push(\"-vcvars_spectre_libs=spectre\");\n const vcvars = `\"${$e9b1520ffb6c601b$var$findVcvarsall(vsversion)}\" ${args.join(\" \")}`;\n $i5trn.debug(`vcvars command-line: ${vcvars}`);\n const cmd_output_string = $aEsRD$child_process.execSync(`set && cls && ${vcvars} && cls && set`, {\n shell: \"cmd\"\n }).toString();\n const cmd_output_parts = cmd_output_string.split(\"\\f\");\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 // 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:$/)) return true;\n }\n return false;\n });\n if (error_messages.length > 0) throw new Error(\"invalid parameters\\r\\n\" + error_messages.join(\"\\r\\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 // 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 $i5trn.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(\"=\")) continue;\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 $i5trn.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 ($e9b1520ffb6c601b$var$isPathVariable(name)) new_value = $e9b1520ffb6c601b$var$filterPathValue(new_value);\n $i5trn.exportVariable(name, new_value);\n }\n }\n $i5trn.endGroup();\n $i5trn.info(`Configured Developer Command Prompt`);\n}\n$e9b1520ffb6c601b$export$443b8bb890f5027e = $e9b1520ffb6c601b$var$setupMSVCDevCmd;\n\n\n\n\nvar $7Lz0k = parcelRequire(\"7Lz0k\");\n\nvar $bOuKS = parcelRequire(\"bOuKS\");\nfunction $763bab32b32a381b$var$getArch(arch) {\n switch(arch){\n case \"x32\":\n case \"32\":\n case \"ia32\":\n return \"x86\";\n case \"64\":\n return \"x64\";\n default:\n return arch;\n }\n}\nasync function $763bab32b32a381b$export$5dcf571c91fc8369(vsversion, VCTargetsPath, arch, toolset, sdk, uwp, spectre) {\n if (VCTargetsPath !== undefined && await (0, $bOuKS.pathExists)(VCTargetsPath)) {\n (0, $7Lz0k.info)(`Adding ${VCTargetsPath} to PATH`);\n await (0, $2f24a8df2529dc1c$export$f63d3080ce25e0fd)(\"VCTargetsPath\", VCTargetsPath);\n }\n (0, $e9b1520ffb6c601b$export$443b8bb890f5027e)($763bab32b32a381b$var$getArch(arch), sdk, toolset, uwp, spectre, vsversion);\n}\n\n\n\nclass $6d2b87e757397ac2$export$66d311bf29d5c89c extends Error {\n constructor(message){\n super(message);\n this.name = \"TimeoutError\";\n }\n}\nclass $6d2b87e757397ac2$export$18b052ffd8c84d7 extends Error {\n constructor(message){\n super();\n this.name = \"AbortError\";\n this.message = message;\n }\n}\n/**\nTODO: Remove AbortError and just throw DOMException when targeting Node 18.\n*/ const $6d2b87e757397ac2$var$getDOMException = (errorMessage)=>globalThis.DOMException === undefined ? new $6d2b87e757397ac2$export$18b052ffd8c84d7(errorMessage) : new DOMException(errorMessage);\n/**\nTODO: Remove below function and just 'reject(signal.reason)' when targeting Node 18.\n*/ const $6d2b87e757397ac2$var$getAbortedReason = (signal)=>{\n const reason = signal.reason === undefined ? $6d2b87e757397ac2$var$getDOMException(\"This operation was aborted.\") : signal.reason;\n return reason instanceof Error ? reason : $6d2b87e757397ac2$var$getDOMException(reason);\n};\nfunction $6d2b87e757397ac2$export$2e2bcd8739ae039(promise, options) {\n const { milliseconds: milliseconds, fallback: fallback, message: message, customTimers: customTimers = {\n setTimeout: setTimeout,\n clearTimeout: clearTimeout\n } } = options;\n let timer;\n const wrappedPromise = new Promise((resolve, reject)=>{\n if (typeof milliseconds !== \"number\" || Math.sign(milliseconds) !== 1) throw new TypeError(`Expected \\`milliseconds\\` to be a positive number, got \\`${milliseconds}\\``);\n if (options.signal) {\n const { signal: signal } = options;\n if (signal.aborted) reject($6d2b87e757397ac2$var$getAbortedReason(signal));\n signal.addEventListener(\"abort\", ()=>{\n reject($6d2b87e757397ac2$var$getAbortedReason(signal));\n });\n }\n if (milliseconds === Number.POSITIVE_INFINITY) {\n promise.then(resolve, reject);\n return;\n }\n // We create the error outside of `setTimeout` to preserve the stack trace.\n const timeoutError = new $6d2b87e757397ac2$export$66d311bf29d5c89c();\n timer = customTimers.setTimeout.call(undefined, ()=>{\n if (fallback) {\n try {\n resolve(fallback());\n } catch (error) {\n reject(error);\n }\n return;\n }\n if (typeof promise.cancel === \"function\") promise.cancel();\n if (message === false) resolve();\n else if (message instanceof Error) reject(message);\n else {\n timeoutError.message = message ?? `Promise timed out after ${milliseconds} milliseconds`;\n reject(timeoutError);\n }\n }, milliseconds);\n (async ()=>{\n try {\n resolve(await promise);\n } catch (error) {\n reject(error);\n }\n })();\n });\n const cancelablePromise = wrappedPromise.finally(()=>{\n cancelablePromise.clear();\n });\n cancelablePromise.clear = ()=>{\n customTimers.clearTimeout.call(undefined, timer);\n timer = undefined;\n };\n return cancelablePromise;\n}\n\n\n\nconst $90e51034c89314f8$export$7bd623b29ec8e1eb = 1200000 // 20 minutes\n;\nasync function $90e51034c89314f8$export$ddb4b945c8581272(tool, version, osVersion, arch, setupCppDir, successMessages, errorMessages, timeout = $90e51034c89314f8$export$7bd623b29ec8e1eb) {\n (0, $i5trn.startGroup)(`Installing ${tool} ${version}`);\n let hasLLVM = false;\n try {\n hasLLVM = await (0, $6d2b87e757397ac2$export$2e2bcd8739ae039)($90e51034c89314f8$var$installToolImpl(tool, version, osVersion, arch, hasLLVM, setupCppDir, successMessages), {\n milliseconds: timeout,\n message: `Timeout while installing ${tool} ${version}. You can increase the timeout from options`\n });\n } catch (e) {\n // push error message to the logger\n (0, $7Lz0k.error)(e);\n errorMessages.push(`${tool} failed to install`);\n }\n (0, $i5trn.endGroup)();\n return hasLLVM;\n}\nasync function $90e51034c89314f8$var$installToolImpl(tool, version, osVersion, arch, hasLLVM, setupCppDir, successMessages) {\n let installationInfo;\n if (tool === \"vcvarsall\") // eslint-disable-next-line no-await-in-loop\n await (0, $763bab32b32a381b$export$5dcf571c91fc8369)((0, $83fde521434ac405$export$c506eb22e615ba4a)(tool, version, osVersion), undefined, arch, undefined, undefined, false, false);\n else {\n // get the setup function\n const setupFunction = (0, $890def45768c5f86$export$18a3521ac7306af4)[tool];\n // eslint-disable-next-line no-param-reassign\n hasLLVM = [\n \"llvm\",\n \"clangformat\",\n \"clangtidy\"\n ].includes(tool);\n // the tool installation directory (for the functions that ue it)\n const setupDir = (0, $eq4yW.join)(setupCppDir, hasLLVM ? \"llvm\" : tool);\n // eslint-disable-next-line no-await-in-loop\n installationInfo = await setupFunction((0, $83fde521434ac405$export$c506eb22e615ba4a)(tool, version, osVersion), setupDir, arch);\n }\n // preparing a report string\n successMessages.push((0, $3b3c42f0437fd719$export$ad22d805bb3bfaf5)(tool, installationInfo));\n return hasLLVM;\n}\n\n\nconst { readFile: $6ba3e652eb9fc0b2$var$readFile, writeFile: $6ba3e652eb9fc0b2$var$writeFile, chmod: $6ba3e652eb9fc0b2$var$chmod } = (0, $aEsRD$fs.promises);\nvar $6ba3e652eb9fc0b2$export$35fa309210df3df6;\n(function(LLVMPackages) {\n LLVMPackages[LLVMPackages[\"All\"] = 0] = \"All\";\n LLVMPackages[LLVMPackages[\"ClangFormat\"] = 1] = \"ClangFormat\";\n LLVMPackages[LLVMPackages[\"Core\"] = 2] = \"Core\";\n})($6ba3e652eb9fc0b2$export$35fa309210df3df6 || ($6ba3e652eb9fc0b2$export$35fa309210df3df6 = {}));\nasync function $6ba3e652eb9fc0b2$export$a86791c88ded7e54(majorVersion, packages = $6ba3e652eb9fc0b2$export$35fa309210df3df6.All) {\n // TODO for older versions, this also includes the minor version\n const installationFolder = `/usr/lib/llvm-${majorVersion}`;\n await (0, $c28d8ebe1e034757$export$d73dc343f5abf26)([\n {\n name: \"curl\"\n }\n ]);\n await (0, $fdbe8517affbdc0a$export$db6b1668e3758717)(\"curl\", [\n \"-LJO\",\n \"https://apt.llvm.org/llvm.sh\"\n ], {\n cwd: \"/tmp\"\n });\n const neededPackages = await $6ba3e652eb9fc0b2$var$patchAptLLVMScript(\"/tmp/llvm.sh\", \"/tmp/llvm-setup-cpp.sh\", majorVersion, packages);\n await (0, $c28d8ebe1e034757$export$d73dc343f5abf26)(neededPackages);\n await $6ba3e652eb9fc0b2$var$chmod(\"/tmp/llvm-setup-cpp.sh\", \"755\");\n await (0, $041b20e97bdb3b21$export$351270479e2eef26)(\"bash\", [\n \"/tmp/llvm-setup-cpp.sh\",\n `${majorVersion}`,\n ...packages === $6ba3e652eb9fc0b2$export$35fa309210df3df6.All ? [\n \"all\"\n ] : []\n ], {\n stdio: \"inherit\",\n shell: true,\n timeout: (0, $90e51034c89314f8$export$7bd623b29ec8e1eb)\n });\n await (0, $2f24a8df2529dc1c$export$4c25481b843feb0b)(`${installationFolder}/bin`);\n return {\n installDir: `${installationFolder}`,\n binDir: `${installationFolder}/bin`,\n bin: `${installationFolder}/bin/clang++`\n };\n}\nasync function $6ba3e652eb9fc0b2$var$patchAptLLVMScript(path, target_path, majorVersion, packages) {\n let script = await $6ba3e652eb9fc0b2$var$readFile(path, \"utf-8\");\n script = $6ba3e652eb9fc0b2$var$debugScript(script);\n script = $6ba3e652eb9fc0b2$var$nonInteractiveScript(script);\n script = $6ba3e652eb9fc0b2$var$choosePackages(packages, script, majorVersion);\n script = await $6ba3e652eb9fc0b2$var$removeConflictingPackages(script);\n script = $6ba3e652eb9fc0b2$var$useNalaScript(script);\n await $6ba3e652eb9fc0b2$var$writeFile(target_path, script);\n // the packages needed by the script\n return [\n {\n name: \"lsb-release\"\n },\n {\n name: \"wget\"\n },\n {\n name: \"software-properties-common\"\n },\n {\n name: \"gnupg\"\n }\n ];\n}\nfunction $6ba3e652eb9fc0b2$var$debugScript(script) {\n if (!process.env.NODE_DEBUG) return script.replace(/set -eux/g, \"set -eu\");\n return script;\n}\nfunction $6ba3e652eb9fc0b2$var$nonInteractiveScript(script) {\n // make the scirpt non-interactive and fix broken packages\n return script.replace(/add-apt-repository \"\\${REPO_NAME}\"/g, // eslint-disable-next-line no-template-curly-in-string\n 'add-apt-repository -y \"${REPO_NAME}\"');\n}\nasync function $6ba3e652eb9fc0b2$var$removeConflictingPackages(givenScript) {\n // fix conflicts between libclang-rt and libclang\n let script = givenScript.replace(/apt-get install -y/g, 'apt-get install -o Dpkg::Options::=\"--force-overwrite\" -y --fix-broken');\n // check if these are installed and if so, remove them from the script as they conflict\n const conflictingPackages = [\n \"libc++-$LLVM_VERSION-dev\",\n \"libc++abi-$LLVM_VERSION-dev\",\n \"libunwind-$LLVM_VERSION-dev\"\n ];\n await Promise.all(conflictingPackages.map(async (pack)=>{\n const installingPack = pack.replace(\"$LLVM_VERSION\", \"*\");\n if (await (0, $c28d8ebe1e034757$export$ec2e4deaa1231ecf)(installingPack)) {\n (0, $aEsRD$console.info)(`Removing conflicting package ${installingPack}`);\n script = script.replace(pack, \"\");\n }\n }));\n return script;\n}\nfunction $6ba3e652eb9fc0b2$var$useNalaScript(script) {\n // use nala if it is available\n if ((0, $c28d8ebe1e034757$export$89548d91e84ae1a1)()) return script.replace(/apt-get/g, \"nala\");\n return script;\n}\nfunction $6ba3e652eb9fc0b2$var$choosePackages(packages, script, majorVersion) {\n if (packages === $6ba3e652eb9fc0b2$export$35fa309210df3df6.ClangFormat) return script.replace(/ -y \\$PKG/g, ` -y clang-format-${majorVersion}`);\n return script;\n}\n\n\n\nvar $ldLP8 = parcelRequire(\"ldLP8\");\n\n\n\nvar $7Lz0k = parcelRequire(\"7Lz0k\");\n\nvar $eq4yW = parcelRequire(\"eq4yW\");\n\nconst $d306204283819841$export$aa5307f1aca77413 = (0, $9ae3c26b3cc5ff2a$export$cbd9528a83fbffa1)([\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 \"15.0.0\",\n \"15.0.1\",\n \"15.0.2\",\n \"15.0.3\",\n \"15.0.4\",\n \"15.0.5\",\n \"15.0.6\",\n \"15.0.7\",\n \"16.0.0\",\n \"16.0.1\",\n \"16.0.2\",\n \"16.0.3\",\n \"16.0.4\",\n \"16.0.5\",\n \"16.0.6\",\n \"17.0.1\",\n \"17.0.2\",\n \"17.0.3\",\n \"17.0.4\",\n \"17.0.5\"\n]);\n/** The LLVM versions that were never released for the Windows platform. */ const $d306204283819841$var$WIN32_MISSING = new Set([\n \"10.0.1\",\n \"15.0.5\",\n \"15.0.6\",\n \"17.0.5\"\n]);\n/** The LLVM versions that were never released for the Darwin platform. */ const $d306204283819841$var$DARWIN_MISSING = 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 // missing x86_64\n // TODO add arm64 support\n \"15.0.4\",\n \"15.0.5\",\n \"15.0.6\",\n \"16.0.0\",\n \"16.0.1\",\n \"16.0.2\",\n \"16.0.3\",\n \"16.0.4\",\n \"16.0.5\",\n \"16.0.6\",\n \"17.0.1\",\n \"17.0.2\",\n \"17.0.3\",\n \"17.0.4\",\n \"17.0.5\"\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 */ const $d306204283819841$var$UBUNTU_RC = new Map();\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 */ // TODO change based on ubuntu version\nconst $d306204283819841$var$UBUNTU_SUFFIX_MAP = {\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 \"15.0.2\": \"-rhel86\",\n \"15.0.5\": \"-ubuntu-18.04\",\n \"15.0.6\": \"-ubuntu-18.04\",\n \"16.0.0\": \"-ubuntu-18.04\",\n \"16.0.2\": \"-ubuntu-22.04\",\n \"16.0.3\": \"-ubuntu-22.04\",\n \"16.0.4\": \"-ubuntu-22.04\",\n \"17.0.2\": \"-ubuntu-22.04\",\n \"17.0.4\": \"-ubuntu-22.04\",\n \"17.0.5\": \"-ubuntu-22.04\"\n};\n/** The latest supported LLVM version for the Linux (Ubuntu) platform. */ const $d306204283819841$var$MAX_UBUNTU = \"17.0.5\";\n//================================================\n// URL\n//================================================\n/** Gets a LLVM download URL for GitHub. */ function $d306204283819841$var$getGitHubUrl(version, prefix, suffix) {\n const file = `${prefix}${version}${suffix}`;\n return `https://github.com/llvm/llvm-project/releases/download/llvmorg-${version}/${file}`;\n}\n/** Gets a LLVM download URL for https://releases.llvm.org. */ function $d306204283819841$var$getReleaseUrl(version, prefix, suffix) {\n const file = `${prefix}${version}${suffix}`;\n return `https://releases.llvm.org/${version}/${file}`;\n}\n/** Gets an LLVM download URL for the Darwin platform. */ function $d306204283819841$var$getDarwinUrl(version) {\n if ($d306204283819841$var$DARWIN_MISSING.has(version)) return null;\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 ((0, (/*@__PURE__*/$parcel$interopDefault($ldLP8)))(version, \"9.0.1\")) return $d306204283819841$var$getReleaseUrl(version, prefix, suffix);\n else return $d306204283819841$var$getGitHubUrl(version, prefix, suffix);\n}\nfunction $d306204283819841$export$ae24f9682a44836b(versionGiven) {\n let version = versionGiven;\n const rc = $d306204283819841$var$UBUNTU_RC.get(version);\n if (rc !== undefined) version = rc;\n let linuxVersion;\n // ubuntu-version is specified\n if (version.includes(\"ubuntu\")) {\n const givenUbuntuVersion = version.replace(/-ubuntu-.*/, \"\");\n if (!$d306204283819841$export$aa5307f1aca77413.has(givenUbuntuVersion)) throw new Error(`Unsupported Ubuntu version: ${givenUbuntuVersion}`);\n linuxVersion = version.replace(givenUbuntuVersion, \"\");\n version = (0, $9ae3c26b3cc5ff2a$export$deb1064c8260c54c)($d306204283819841$export$aa5307f1aca77413, givenUbuntuVersion)[0];\n } else if (version !== \"\" && version in $d306204283819841$var$UBUNTU_SUFFIX_MAP) linuxVersion = $d306204283819841$var$UBUNTU_SUFFIX_MAP[version];\n else {\n // default to the maximum version\n linuxVersion = $d306204283819841$var$UBUNTU_SUFFIX_MAP[$d306204283819841$var$MAX_UBUNTU];\n (0, $7Lz0k.warning)(`Falling back to LLVM version ${$d306204283819841$var$MAX_UBUNTU} ${linuxVersion} for the Ubuntu.`);\n }\n const prefix = \"clang+llvm-\";\n let suffix;\n if (version === \"5.0.0\") suffix = `-linux-x86_64${linuxVersion}.tar.xz`;\n else if (linuxVersion.includes(\"-rhel86\")) suffix = `-x86_64-unknown-linux-gnu${linuxVersion}.tar.xz`;\n else suffix = `-x86_64-linux-gnu${linuxVersion}.tar.xz`;\n if ((0, (/*@__PURE__*/$parcel$interopDefault($ldLP8)))(version, \"9.0.1\")) return $d306204283819841$var$getReleaseUrl(version, prefix, suffix);\n else return $d306204283819841$var$getGitHubUrl(version, prefix, suffix);\n}\n/** Gets an LLVM download URL for the Windows platform. */ async function $d306204283819841$var$getWin32Url(version) {\n if ($d306204283819841$var$WIN32_MISSING.has(version)) return null;\n const prefix = \"LLVM-\";\n const suffix = (0, (/*@__PURE__*/$parcel$interopDefault($ldLP8)))(version, \"3.7.0\") ? \"-win32.exe\" : \"-win64.exe\";\n const olderThan9_1 = (0, (/*@__PURE__*/$parcel$interopDefault($ldLP8)))(version, \"9.0.1\");\n let url;\n let fallback = false;\n if (olderThan9_1) {\n url = $d306204283819841$var$getReleaseUrl(version, prefix, suffix);\n if (!await (0, $6f58ee7b2466571f$export$61e6a71eee2b02f9)(url)) fallback = true // fallback to github\n ;\n }\n if (fallback || !olderThan9_1) url = $d306204283819841$var$getGitHubUrl(version, prefix, suffix);\n return url;\n}\nfunction $d306204283819841$export$94df0e59ebebf4a7(platform, version) {\n switch(platform){\n case \"darwin\":\n return $d306204283819841$var$getDarwinUrl(version);\n case \"linux\":\n return $d306204283819841$export$ae24f9682a44836b(version);\n case \"win32\":\n return $d306204283819841$var$getWin32Url(version);\n default:\n return null;\n }\n}\nasync function $d306204283819841$export$f203993d12226a27(version, platform, // eslint-disable-next-line @typescript-eslint/no-unused-vars\n_arch) {\n const [specificVersion, url] = await (0, $9ae3c26b3cc5ff2a$export$4e4d3581f69a6d71)($d306204283819841$export$aa5307f1aca77413, platform, version, $d306204283819841$export$94df0e59ebebf4a7);\n (0, $7Lz0k.info)(`specific llvm version: ${specificVersion}`);\n return {\n url: url,\n extractedFolderName: \"\",\n binRelativeDir: \"bin\",\n binFileName: (0, $eq4yW.addExeExt)(\"clang\"),\n extractFunction: platform === \"win32\" ? (0, $334bd34d50e00f0e$export$7949938b2681a4f0) : (file, dest)=>{\n return (0, $334bd34d50e00f0e$export$2ab07ac150064014)(file, dest, [\n \"--strip-components=1\"\n ]);\n }\n };\n}\n\n\n\nvar $8f0f3adb296a989f$var$$parcel$__dirname = $aEsRD$path.resolve(__dirname, \"../../src/llvm\");\nasync function $8f0f3adb296a989f$export$3016de7ae9d14988(version, setupDir, arch) {\n const installationInfo = await $8f0f3adb296a989f$var$setupLLVMWithoutActivation(version, setupDir, arch);\n await $8f0f3adb296a989f$export$6238b5ebfd6640e7(installationInfo.installDir ?? setupDir);\n return installationInfo;\n}\nasync function $8f0f3adb296a989f$var$setupLLVMWithoutActivation_raw(version, setupDir, arch) {\n // install LLVM and its dependencies in parallel\n const [installationInfo, _1, _2] = await Promise.all([\n $8f0f3adb296a989f$var$setupLLVMOnly(version, setupDir, arch),\n $8f0f3adb296a989f$var$setupLLVMDeps(arch),\n $8f0f3adb296a989f$var$addLLVMLoggingMatcher()\n ]);\n return installationInfo;\n}\nconst $8f0f3adb296a989f$var$setupLLVMWithoutActivation = (0, $66020ee02fe926ff$export$2e2bcd8739ae039)($8f0f3adb296a989f$var$setupLLVMWithoutActivation_raw, {\n isPromise: true\n});\nfunction $8f0f3adb296a989f$export$1cf2d186cecf1f54(version, setupDir, arch) {\n return $8f0f3adb296a989f$var$setupLLVMOnly(version, setupDir, arch, (0, $6ba3e652eb9fc0b2$export$35fa309210df3df6).ClangFormat);\n}\nfunction $8f0f3adb296a989f$export$814ccfc953503728(version, setupDir, arch) {\n return $8f0f3adb296a989f$var$setupLLVMOnly(version, setupDir, arch);\n}\nasync function $8f0f3adb296a989f$var$setupLLVMOnly(version, setupDir, arch, packages = (0, $6ba3e652eb9fc0b2$export$35fa309210df3df6).All) {\n const coeredVersion = (0, $9ae3c26b3cc5ff2a$export$afd7401db249098f)(version);\n const majorVersion = parseInt(coeredVersion.split(\".\")[0], 10);\n try {\n if ((0, $20fc1212ead529fb$export$da8baf1d6c6802b6)()) return await (0, $6ba3e652eb9fc0b2$export$a86791c88ded7e54)(majorVersion, packages);\n } catch (err) {\n (0, $7Lz0k.info)(`Failed to install llvm via system package manager ${err}`);\n }\n const installationInfo = await (0, $7dbd062890ddcaab$export$334f77c9844c21f6)(\"llvm\", version, (0, $d306204283819841$export$f203993d12226a27), setupDir, arch);\n await $8f0f3adb296a989f$var$llvmBinaryDeps(majorVersion);\n return installationInfo;\n}\nasync function $8f0f3adb296a989f$var$llvmBinaryDeps_raw(majorVersion) {\n if ((0, $20fc1212ead529fb$export$da8baf1d6c6802b6)()) {\n if (majorVersion <= 10) await (0, $c28d8ebe1e034757$export$d73dc343f5abf26)([\n {\n name: \"libtinfo5\"\n }\n ]);\n else await (0, $c28d8ebe1e034757$export$d73dc343f5abf26)([\n {\n name: \"libtinfo-dev\"\n }\n ]);\n }\n}\nconst $8f0f3adb296a989f$var$llvmBinaryDeps = (0, $66020ee02fe926ff$export$2e2bcd8739ae039)($8f0f3adb296a989f$var$llvmBinaryDeps_raw, {\n isPromise: true\n});\nasync function $8f0f3adb296a989f$var$setupLLVMDeps_raw(arch) {\n if (process.platform === \"linux\") // using llvm requires ld, an up to date libstdc++, etc. So, install gcc first\n await (0, $c5bcc6df675a953c$export$405fab3de79b77b)((0, $83fde521434ac405$export$c506eb22e615ba4a)(\"gcc\", undefined, await (0, $7407b79f302e7dfb$export$49c9cf1111dfa0ee)()), \"\", arch);\n}\nconst $8f0f3adb296a989f$var$setupLLVMDeps = (0, $66020ee02fe926ff$export$2e2bcd8739ae039)($8f0f3adb296a989f$var$setupLLVMDeps_raw, {\n isPromise: true\n});\nasync function $8f0f3adb296a989f$export$6238b5ebfd6640e7(directory) {\n const ld = process.env.LD_LIBRARY_PATH ?? \"\";\n const dyld = process.env.DYLD_LIBRARY_PATH ?? \"\";\n const actPromises = [\n // the output of this action\n (0, $2f24a8df2529dc1c$export$f63d3080ce25e0fd)(\"LLVM_PATH\", directory),\n // Setup LLVM as the compiler\n (0, $2f24a8df2529dc1c$export$f63d3080ce25e0fd)(\"LD_LIBRARY_PATH\", `${directory}/lib${(0, $aEsRD$path.delimiter)}${ld}`),\n (0, $2f24a8df2529dc1c$export$f63d3080ce25e0fd)(\"DYLD_LIBRARY_PATH\", `${directory}/lib${(0, $aEsRD$path.delimiter)}${dyld}`),\n // compiler flags\n (0, $2f24a8df2529dc1c$export$f63d3080ce25e0fd)(\"LDFLAGS\", `-L\"${directory}/lib\"`),\n (0, $2f24a8df2529dc1c$export$f63d3080ce25e0fd)(\"CPPFLAGS\", `-I\"${directory}/include\"`),\n // compiler paths\n (0, $2f24a8df2529dc1c$export$f63d3080ce25e0fd)(\"CC\", (0, $eq4yW.addExeExt)(`${directory}/bin/clang`)),\n (0, $2f24a8df2529dc1c$export$f63d3080ce25e0fd)(\"CXX\", (0, $eq4yW.addExeExt)(`${directory}/bin/clang++`)),\n (0, $2f24a8df2529dc1c$export$f63d3080ce25e0fd)(\"LIBRARY_PATH\", `${directory}/lib`),\n // os sdks\n (0, $ce4a769f1296c7b8$export$28f5fd35e3005b7a)()\n ];\n // TODO Causes issues with clangd\n // TODO Windows builds fail with llvm's CPATH\n // if (process.platform !== \"win32\") {\n // if (await pathExists(`${directory}/lib/clang/${version}/include`)) {\n // promises.push(addEnv(\"CPATH\", `${directory}/lib/clang/${version}/include`))\n // } else if (await pathExists(`${directory}/lib/clang/${llvmMajor}/include`)) {\n // promises.push(addEnv(\"CPATH\", `${directory}/lib/clang/${llvmMajor}/include`))\n // }\n // }\n if ((0, $20fc1212ead529fb$export$da8baf1d6c6802b6)()) actPromises.push((0, $c28d8ebe1e034757$export$6fe6436bd9f53d02)(\"cc\", `${directory}/bin/clang`), (0, $c28d8ebe1e034757$export$6fe6436bd9f53d02)(\"cxx\", `${directory}/bin/clang++`), (0, $c28d8ebe1e034757$export$6fe6436bd9f53d02)(\"clang\", `${directory}/bin/clang`), (0, $c28d8ebe1e034757$export$6fe6436bd9f53d02)(\"clang++\", `${directory}/bin/clang++`), (0, $c28d8ebe1e034757$export$6fe6436bd9f53d02)(\"lld\", `${directory}/bin/lld`), (0, $c28d8ebe1e034757$export$6fe6436bd9f53d02)(\"ld.lld\", `${directory}/bin/ld.lld`), (0, $c28d8ebe1e034757$export$6fe6436bd9f53d02)(\"llvm-ar\", `${directory}/bin/llvm-ar`));\n await Promise.all(actPromises);\n}\nasync function $8f0f3adb296a989f$var$addLLVMLoggingMatcher() {\n if (0, $2W4C2.GITHUB_ACTIONS) {\n const matcherPath = (0, $eq4yW.join)($8f0f3adb296a989f$var$$parcel$__dirname, \"llvm_matcher.json\");\n if (!await (0, $bOuKS.pathExists)(matcherPath)) return (0, $7Lz0k.warning)(\"the llvm_matcher.json file does not exist in the same folder as setup-cpp.js\");\n (0, $7Lz0k.info)(`::add-matcher::${matcherPath}`);\n }\n}\n\n\n\n\n\n\n\n\n\n\n\nasync function $4834294045c34ca1$export$b0a9411329e2916(version, _setupDir, _arch) {\n switch(process.platform){\n case \"win32\":\n return (0, $953ade167c7bc14a$export$9f6912bc890040b2)(\"make\", version);\n case \"darwin\":\n await (0, $d04dcbafc5bebef1$export$ce5d13d8a85cb784)(\"make\", version);\n await (0, $2f24a8df2529dc1c$export$4c25481b843feb0b)(\"/usr/local/opt/make/libexec/gnubin\");\n return {\n binDir: \"/usr/local/opt/make/libexec/gnubin\"\n };\n case \"linux\":\n if ((0, $9aeb5896658945db$export$d415ddb6702ec3a2)()) return (0, $8310f4b4d4fddda5$export$cfa75578ee2d6e6c)(\"make\", version);\n else if ((0, $3886c66546fd08fe$export$8ce8b4b22331a8c7)()) return (0, $c19966177a67898f$export$49d4f9ba8e0dd34f)([\n {\n name: \"make\",\n version: version\n }\n ]);\n else if ((0, $20fc1212ead529fb$export$da8baf1d6c6802b6)()) return (0, $c28d8ebe1e034757$export$d73dc343f5abf26)([\n {\n name: \"make\",\n version: version\n }\n ]);\n throw new Error(`Unsupported linux distribution`);\n default:\n throw new Error(`Unsupported platform`);\n }\n}\n\n\n\nfunction $c8bc36ae575cf199$export$f73905553f087748(version, _setupDir, _arch) {\n return (0, $5d78454eba2028c3$export$4020cb77ffa3ffac)(\"meson\", version);\n}\n\n\n\n\n\n\nvar $2W4C2 = parcelRequire(\"2W4C2\");\n\nvar $eq4yW = parcelRequire(\"eq4yW\");\n\nvar $7Lz0k = parcelRequire(\"7Lz0k\");\n\nvar $bOuKS = parcelRequire(\"bOuKS\");\n\nvar $f1e9ac818bcfac2d$var$$parcel$__dirname = $aEsRD$path.resolve(__dirname, \"../../src/msvc\");\nasync function $f1e9ac818bcfac2d$export$a91ef0362c1a7298(versionGiven, _setupDir, arch, sdk, uwp, spectre) {\n if (process.platform !== \"win32\") return;\n const version = (0, $e9b1520ffb6c601b$export$3c7cae5a162b1458)(versionGiven);\n // check if the given version is already installed\n (0, $7Lz0k.info)(`Checking if MSVC ${version} is already installed`);\n let installed = false;\n try {\n const vcvarsall_path = (0, $e9b1520ffb6c601b$export$a6a3bfb882356813)(version);\n installed = true;\n (0, $7Lz0k.info)(`Found the pre-installed version of MSVC at ${vcvarsall_path}`);\n } catch {\n // not installed, try installing\n }\n let toolset;\n let VCTargetsPath;\n // https://github.com/aminya/setup-cpp/issues/1\n if (!installed) try {\n if (version === \"14.0\") {\n toolset = \"14.0\";\n await (0, $953ade167c7bc14a$export$9f6912bc890040b2)(\"visualcpp-build-tools\", \"14.0.25420.1\", [\n \"--ignore-dependencies\"\n ]);\n VCTargetsPath = \"C:/Program Files (x86)/MSBuild/Microsoft.Cpp/v4.0/v140\";\n } else if (version === \"15.0\") {\n toolset = \"14.16\";\n await (0, $953ade167c7bc14a$export$9f6912bc890040b2)(\"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 ;\n } else if (version === \"16.0\") {\n toolset = \"14.29\";\n await (0, $953ade167c7bc14a$export$9f6912bc890040b2)(\"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 (0, $953ade167c7bc14a$export$9f6912bc890040b2)(\"visualstudio2022buildtools\", \"117.0.5.0\", []);\n VCTargetsPath = undefined;\n } else (0, $7Lz0k.error)(`The given MSVC versions ${versionGiven} is not supported yet.`);\n } catch (e) {\n (0, $7Lz0k.error)(e);\n }\n // run vcvarsall.bat environment variables\n await (0, $763bab32b32a381b$export$5dcf571c91fc8369)(version, VCTargetsPath, arch, toolset, sdk, uwp, spectre);\n if (0, $2W4C2.GITHUB_ACTIONS) await $f1e9ac818bcfac2d$var$addMSVCLoggingMatcher();\n}\nasync function $f1e9ac818bcfac2d$var$addMSVCLoggingMatcher() {\n const matcherPath = (0, $eq4yW.join)($f1e9ac818bcfac2d$var$$parcel$__dirname, \"msvc_matcher.json\");\n if (!await (0, $bOuKS.pathExists)(matcherPath)) return (0, $7Lz0k.warning)(\"the msvc_matcher.json file does not exist in the same folder as setup-cpp.js\");\n (0, $7Lz0k.info)(`::add-matcher::${matcherPath}`);\n}\n\n\n\nvar $eq4yW = parcelRequire(\"eq4yW\");\n\n\n\n\nlet $47b09d5394f60110$var$binDir;\nasync function $47b09d5394f60110$export$d73cbe8caeff03c5(version, _setupDir, _arch) {\n if (!(0, $20fc1212ead529fb$export$da8baf1d6c6802b6)()) return undefined;\n if (typeof $47b09d5394f60110$var$binDir === \"string\") return {\n binDir: $47b09d5394f60110$var$binDir\n };\n const maybeBinDir = (0, (/*@__PURE__*/$parcel$interopDefault($69f9660769b2c54f$exports))).sync(\"nala\", {\n nothrow: true\n });\n if (maybeBinDir !== null) {\n $47b09d5394f60110$var$binDir = (0, $eq4yW.dirname)(maybeBinDir);\n return {\n binDir: $47b09d5394f60110$var$binDir\n };\n }\n // https://github.com/volitank/nala#-installation\n const keyFileName = await (0, $c28d8ebe1e034757$export$7fb1a688af1305f0)(\"volian-archive-scar-unstable.gpg\", \"https://deb.volian.org/volian/scar.key\");\n (0, $041b20e97bdb3b21$export$58f152936f209932)(\"/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 try {\n if (version !== \"legacy\") await (0, $c28d8ebe1e034757$export$d73dc343f5abf26)([\n {\n name: \"nala\"\n }\n ], true);\n else await (0, $c28d8ebe1e034757$export$d73dc343f5abf26)([\n {\n name: \"nala-legacy\"\n }\n ], true);\n } catch (err) {\n await (0, $c28d8ebe1e034757$export$d73dc343f5abf26)([\n {\n name: \"nala-legacy\"\n }\n ], true);\n }\n $47b09d5394f60110$var$binDir = \"/usr/bin\" // eslint-disable-line require-atomic-updates\n ;\n return {\n binDir: $47b09d5394f60110$var$binDir\n };\n}\nfunction $47b09d5394f60110$export$2747aa8ef20f818d(script) {\n if ((0, $c28d8ebe1e034757$export$89548d91e84ae1a1)()) return `apt-get() { nala $@; }; export -f apt-get; ${script}; unset -f apt-get`;\n return script;\n}\n\n\n\n\n\nasync function $e745c5614c81a652$export$6aa28a97600a8ae3(version, _setupDir, _arch) {\n if (process.platform !== \"win32\") return;\n await (0, $953ade167c7bc14a$export$9f6912bc890040b2)(\"opencppcoverage\", version);\n const binDir = await $e745c5614c81a652$var$activateOpencppcoverage();\n return {\n binDir: binDir\n };\n}\nasync function $e745c5614c81a652$var$activateOpencppcoverage() {\n const binDir = \"C:/Program Files/OpenCppCoverage\";\n await (0, $2f24a8df2529dc1c$export$4c25481b843feb0b)(binDir);\n return binDir;\n}\n\n\n\n\n\n\n\n\n\n\n\n\n\nasync function $f1a805d41b18128f$export$1ff6ad96ee130aba(version, _setupDir, _arch) {\n switch(process.platform){\n case \"win32\":\n {\n await (0, $953ade167c7bc14a$export$9f6912bc890040b2)(\"powershell-core\", version);\n const binDir = \"C:/Program Files/PowerShell/7\";\n await (0, $2f24a8df2529dc1c$export$4c25481b843feb0b)(binDir);\n return {\n binDir: binDir\n };\n }\n case \"darwin\":\n return (0, $d04dcbafc5bebef1$export$ce5d13d8a85cb784)(\"powershell\", version, [\n \"--cask\"\n ]);\n case \"linux\":\n if ((0, $9aeb5896658945db$export$d415ddb6702ec3a2)()) return (0, $8310f4b4d4fddda5$export$cfa75578ee2d6e6c)(\"powershell-bin\", version, \"yay\");\n else if ((0, $3886c66546fd08fe$export$8ce8b4b22331a8c7)()) {\n (0, $c19966177a67898f$export$49d4f9ba8e0dd34f)([\n {\n name: \"curl\"\n }\n ]);\n (0, $041b20e97bdb3b21$export$58f152936f209932)(\"/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 (0, $c19966177a67898f$export$49d4f9ba8e0dd34f)([\n {\n name: \"powershell\",\n version: version\n }\n ]);\n } else if ((0, $20fc1212ead529fb$export$da8baf1d6c6802b6)()) {\n await (0, $c28d8ebe1e034757$export$d73dc343f5abf26)([\n {\n name: \"curl\"\n }\n ]);\n const ubuntuVerSplitted = await (0, $7407b79f302e7dfb$export$49c9cf1111dfa0ee)();\n const ubuntuVersionString = `${ubuntuVerSplitted[0]}.0${ubuntuVerSplitted[1]}`;\n (0, $041b20e97bdb3b21$export$58f152936f209932)(\"curl\", [\n \"-LJO\",\n `https://packages.microsoft.com/config/ubuntu/${ubuntuVersionString}/packages-microsoft-prod.deb`\n ]);\n (0, $041b20e97bdb3b21$export$58f152936f209932)(\"dpkg\", [\n \"-i\",\n \"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 return (0, $c28d8ebe1e034757$export$d73dc343f5abf26)([\n {\n name: \"powershell\",\n version: version\n }\n ], true);\n }\n throw new Error(`Unsupported linux distribution`);\n default:\n throw new Error(`Unsupported platform`);\n }\n}\n\n\n\n\n\nfunction $ba1fb1dd270764ec$export$b963b67cda80fdc(version, _setupDir, _arch) {\n switch(process.platform){\n case \"win32\":\n return (0, $953ade167c7bc14a$export$9f6912bc890040b2)(\"sccache\", version);\n case \"linux\":\n case \"darwin\":\n return (0, $d04dcbafc5bebef1$export$ce5d13d8a85cb784)(\"sccache\", version);\n default:\n throw new Error(`Unsupported platform`);\n }\n}\n\n\n\n\nvar $eq4yW = parcelRequire(\"eq4yW\");\n\n\n/** Get the platform name task uses in their download links */ function $8f33b7bb6ec530f2$var$getTaskPlatform(platform) {\n switch(platform){\n case \"win32\":\n return \"windows\";\n default:\n return platform;\n }\n}\n/** Get the arch name task uses in their download links */ function $8f33b7bb6ec530f2$var$getTaskArch(arch) {\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/** Get the platform data for task */ function $8f33b7bb6ec530f2$var$getTaskPackageInfo(version, platform, arch) {\n const taskPlatform = $8f33b7bb6ec530f2$var$getTaskPlatform(platform);\n const taskArch = $8f33b7bb6ec530f2$var$getTaskArch(arch);\n const isZip = platform === \"win32\";\n const extension = isZip ? \"zip\" : \"tar.gz\";\n return {\n binRelativeDir: \"\",\n binFileName: (0, $eq4yW.addExeExt)(\"task\"),\n extractedFolderName: \"\",\n extractFunction: isZip ? (0, $334bd34d50e00f0e$export$6411c5cbab21135b) : (0, $334bd34d50e00f0e$export$2ab07ac150064014),\n url: `https://github.com/go-task/task/releases/download/v${version}/task_${taskPlatform}_${taskArch}.${extension}`\n };\n}\nfunction $8f33b7bb6ec530f2$export$4456b3a3d3540077(version, setupDir, arch) {\n return (0, $7dbd062890ddcaab$export$334f77c9844c21f6)(\"task\", version, $8f33b7bb6ec530f2$var$getTaskPackageInfo, setupDir, arch);\n}\n\n\n\n\nvar $7Lz0k = parcelRequire(\"7Lz0k\");\n\nvar $bOuKS = parcelRequire(\"bOuKS\");\n\nvar $eq4yW = parcelRequire(\"eq4yW\");\n\n\n\n\n\n\n\n\n\nlet $e224676da2c495f0$var$hasVCPKG = false;\nasync function $e224676da2c495f0$export$490bdba4ef3e3f82(_version, setupDir, _arch) {\n if (!$e224676da2c495f0$var$hasVCPKG || (0, (/*@__PURE__*/$parcel$interopDefault($69f9660769b2c54f$exports))).sync(\"vcpkg\", {\n nothrow: true\n }) === null) {\n if (process.platform === \"linux\") {\n // vcpkg download and extraction dependencies\n if ((0, $9aeb5896658945db$export$d415ddb6702ec3a2)()) await Promise.all([\n (0, $8310f4b4d4fddda5$export$cfa75578ee2d6e6c)(\"curl\"),\n (0, $8310f4b4d4fddda5$export$cfa75578ee2d6e6c)(\"zip\"),\n (0, $8310f4b4d4fddda5$export$cfa75578ee2d6e6c)(\"unzip\"),\n (0, $8310f4b4d4fddda5$export$cfa75578ee2d6e6c)(\"tar\"),\n (0, $8310f4b4d4fddda5$export$cfa75578ee2d6e6c)(\"git\"),\n (0, $8310f4b4d4fddda5$export$cfa75578ee2d6e6c)(\"pkg-config\")\n ]);\n else if ((0, $3886c66546fd08fe$export$8ce8b4b22331a8c7)()) await (0, $c19966177a67898f$export$49d4f9ba8e0dd34f)([\n {\n name: \"curl\"\n },\n {\n name: \"zip\"\n },\n {\n name: \"unzip\"\n },\n {\n name: \"tar\"\n },\n {\n name: \"git\"\n },\n {\n name: \"pkg-config\"\n }\n ]);\n else if ((0, $20fc1212ead529fb$export$da8baf1d6c6802b6)()) await (0, $c28d8ebe1e034757$export$d73dc343f5abf26)([\n {\n name: \"curl\"\n },\n {\n name: \"zip\"\n },\n {\n name: \"unzip\"\n },\n {\n name: \"tar\"\n },\n {\n name: \"git\"\n },\n {\n name: \"pkg-config\"\n }\n ]);\n }\n if (!await (0, $bOuKS.pathExists)((0, $eq4yW.join)(setupDir, (0, $eq4yW.addShExt)(\"bootstrap-vcpkg\", \".bat\")))) (0, $fdbe8517affbdc0a$export$28823a701bb5a12d)(\"git\", [\n \"clone\",\n \"https://github.com/microsoft/vcpkg\"\n ], {\n cwd: (0, $eq4yW.dirname)(setupDir),\n stdio: \"inherit\"\n });\n else (0, $7Lz0k.notice)(`Vcpkg folder already exists at ${setupDir}. This might mean that ~/vcpkg is restored from the cache.`);\n (0, $fdbe8517affbdc0a$export$28823a701bb5a12d)((0, $eq4yW.addShExt)((0, $eq4yW.addShRelativePrefix)(\"bootstrap-vcpkg\"), \".bat\"), {\n cwd: setupDir,\n shell: true,\n stdio: \"inherit\"\n });\n await (0, $7fee9a3419973cea$export$4718e061a205eab)(setupDir);\n await (0, $2f24a8df2529dc1c$export$4c25481b843feb0b)(setupDir);\n // eslint-disable-next-line require-atomic-updates\n $e224676da2c495f0$var$hasVCPKG = true;\n return {\n binDir: setupDir\n };\n }\n return {\n binDir: (0, $eq4yW.dirname)((0, (/*@__PURE__*/$parcel$interopDefault($69f9660769b2c54f$exports))).sync(\"vcpkg\"))\n };\n}\n\n\n\nconst $890def45768c5f86$export$18a3521ac7306af4 = {\n nala: (0, $47b09d5394f60110$export$d73cbe8caeff03c5),\n cmake: (0, $24ae2ed334e3fc9e$export$c28663a621f418ce),\n ninja: (0, $b31f931d02d7e6cb$export$e6190f4bfe2ef71),\n python: (0, $29e5d8652dc51d70$export$2b0b68e9df3d4a02),\n vcpkg: (0, $e224676da2c495f0$export$490bdba4ef3e3f82),\n bazel: (0, $a40e1fc0f7d6a0ef$export$a66bc93580b0a849),\n conan: (0, $ae75412612fe2e3e$export$249d0c7d779d362f),\n meson: (0, $c8bc36ae575cf199$export$f73905553f087748),\n gcovr: (0, $719e7985de30e2f2$export$b98d69f362caf61f),\n opencppcoverage: (0, $e745c5614c81a652$export$6aa28a97600a8ae3),\n llvm: (0, $8f0f3adb296a989f$export$3016de7ae9d14988),\n gcc: (0, $c5bcc6df675a953c$export$405fab3de79b77b),\n choco: (0, $9ccbddfd63a1d0a8$export$b804d731cdad7ef9),\n brew: (0, $7eeef95f58db9236$export$c5eeb9c87a610a0e),\n powershell: (0, $f1a805d41b18128f$export$1ff6ad96ee130aba),\n ccache: (0, $4e9e6c219ffcdbbf$export$111263621bbb0768),\n sccache: (0, $ba1fb1dd270764ec$export$b963b67cda80fdc),\n doxygen: (0, $c3138813a2f84b86$export$b6e6613a954051ee),\n graphviz: (0, $77fafcb29b09e6e7$export$b885bd977caaafb9),\n cppcheck: (0, $e662e72f87137a41$export$13d77464c548b5d3),\n clangtidy: (0, $8f0f3adb296a989f$export$814ccfc953503728),\n clangformat: (0, $8f0f3adb296a989f$export$1cf2d186cecf1f54),\n msvc: (0, $f1e9ac818bcfac2d$export$a91ef0362c1a7298),\n vcvarsall: (0, $763bab32b32a381b$export$5dcf571c91fc8369),\n kcov: (0, $a36cf804c947131a$export$abb7c2ff987b1f6b),\n make: (0, $4834294045c34ca1$export$b0a9411329e2916),\n task: (0, $8f33b7bb6ec530f2$export$4456b3a3d3540077),\n sevenzip: (0, $cbfc9bdff29968e3$export$5fc39629e14c8173)\n};\nconst $890def45768c5f86$export$904054328df186b = Object.keys($890def45768c5f86$export$18a3521ac7306af4);\nconst $890def45768c5f86$export$7b388ca536128c6d = [\n \"compiler\",\n \"architecture\",\n \"timeout\",\n ...$890def45768c5f86$export$904054328df186b\n];\n\n\nfunction $3b3c42f0437fd719$export$7300a92932ee17a3(args) {\n return (0, $63fe5c2be456b1fb$export$2e2bcd8739ae039)(args, {\n string: [\n ...(0, $890def45768c5f86$export$7b388ca536128c6d),\n \"timeout\"\n ],\n default: Object.fromEntries((0, $890def45768c5f86$export$7b388ca536128c6d).map((inp)=>[\n inp,\n $3b3c42f0437fd719$export$fc4ce4d885cb1082(inp)\n ])),\n alias: {\n h: \"help\"\n },\n boolean: \"help\"\n });\n}\nfunction $3b3c42f0437fd719$export$f57ebcae4da846e4() {\n (0, $7Lz0k.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--timeout\\t the timeout for the installation of each tool in minutes. By default it is 10 minutes.\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--$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`);\n console.table({\n \"compiler and analyzer\": {\n tools: `--llvm, --gcc, --msvc, --vcvarsall, --cppcheck, --clangtidy, --clangformat`\n },\n \"build system\": {\n tools: `--cmake, --ninja, --meson, --make, --task, --bazel`\n },\n \"package manager\": {\n tools: `--vcpkg, --conan, --choco, --brew, --nala`\n },\n cache: {\n tools: `--cppcache, --sccache`\n },\n documentation: {\n tools: `--doxygen, --graphviz`\n },\n coverage: {\n tools: `--gcovr, --opencppcoverage, --kcov`\n },\n other: {\n tools: `--python, --powershell, --sevenzip`\n }\n }, [\n \"tools\"\n ]);\n}\nfunction $3b3c42f0437fd719$export$fc4ce4d885cb1082(key) {\n const value = (0, $i5trn.getInput)(key.toLowerCase());\n if (value !== \"false\" && value !== \"\") return value;\n return undefined // skip installation\n ;\n}\nfunction $3b3c42f0437fd719$export$ad22d805bb3bfaf5(tool, installationInfo) {\n let msg = `✅ ${tool} was installed successfully:`;\n if (installationInfo === undefined) return msg;\n if (\"installDir\" in installationInfo) msg += `\\n- The installation directory is ${installationInfo.installDir}`;\n if (installationInfo.binDir !== \"\") msg += `\\n- The binary directory is ${installationInfo.binDir}`;\n return msg;\n}\n\n\n\nvar $i5trn = parcelRequire(\"i5trn\");\n\nvar $7Lz0k = parcelRequire(\"7Lz0k\");\n\n\nvar $bJWbp = parcelRequire(\"bJWbp\");\n\n\n\n\n\n\n\nfunction $bae5373454ac0a67$export$588248dee5258836(compilerAndVersion) {\n const compilerAndMaybeVersion = compilerAndVersion.split(\"-\");\n const compiler = compilerAndMaybeVersion[0];\n if (1 in compilerAndMaybeVersion) {\n const maybeVersion = compilerAndMaybeVersion[1];\n if ((0, (/*@__PURE__*/$parcel$interopDefault($bJWbp)))(maybeVersion) !== null) return {\n compiler: compiler,\n version: maybeVersion\n };\n else {\n (0, $7Lz0k.info)(`Invalid semver version ${maybeVersion} used for the compiler.`);\n return {\n compiler: compiler,\n version: maybeVersion\n };\n }\n }\n return {\n compiler: compiler,\n version: undefined\n };\n}\nasync function $bae5373454ac0a67$export$4dabf89bf6376d2b(compilerAndVersion, osVersion, setupCppDir, arch, successMessages, hasLLVM, errorMessages) {\n try {\n const { compiler: compiler, version: version } = $bae5373454ac0a67$export$588248dee5258836(compilerAndVersion);\n // install the compiler. We allow some aliases for the compiler name\n (0, $i5trn.startGroup)(`Installing ${compiler} ${version ?? \"\"}`);\n switch(compiler){\n case \"llvm\":\n case \"clang\":\n case \"clang++\":\n {\n const installationInfo = await (0, $8f0f3adb296a989f$export$3016de7ae9d14988)((0, $83fde521434ac405$export$c506eb22e615ba4a)(\"llvm\", version, osVersion), (0, $aEsRD$path.join)(setupCppDir, \"llvm\"), arch);\n await (0, $719e7985de30e2f2$export$2a0488baf2a20c0f)();\n successMessages.push((0, $3b3c42f0437fd719$export$ad22d805bb3bfaf5)(\"llvm\", installationInfo));\n break;\n }\n case \"gcc\":\n case \"mingw\":\n case \"cygwin\":\n case \"msys\":\n {\n const gccVersion = compiler === \"mingw\" ? (0, $83fde521434ac405$export$c506eb22e615ba4a)(\"mingw\", version, osVersion) : (0, $83fde521434ac405$export$c506eb22e615ba4a)(\"gcc\", version, osVersion);\n const installationInfo = compiler === \"mingw\" ? await (0, $c5bcc6df675a953c$export$f115c01d224b9e9a)(gccVersion, (0, $aEsRD$path.join)(setupCppDir, \"gcc\"), arch) : await (0, $c5bcc6df675a953c$export$405fab3de79b77b)(gccVersion, (0, $aEsRD$path.join)(setupCppDir, \"gcc\"), arch);\n if (hasLLVM) // remove back the added CPPFLAGS of LLVM that include the LLVM headers\n await (0, $2f24a8df2529dc1c$export$f63d3080ce25e0fd)(\"CPPFLAGS\", \"\");\n await (0, $719e7985de30e2f2$export$41dabde4775ee2aa)(gccVersion);\n successMessages.push((0, $3b3c42f0437fd719$export$ad22d805bb3bfaf5)(\"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 {\n const installationInfo = await (0, $f1e9ac818bcfac2d$export$a91ef0362c1a7298)((0, $83fde521434ac405$export$c506eb22e615ba4a)(\"msvc\", version, osVersion), (0, $aEsRD$path.join)(setupCppDir, \"msvc\"), arch);\n if (hasLLVM) // remove the CPPFLAGS of LLVM that include the LLVM headers\n await (0, $2f24a8df2529dc1c$export$f63d3080ce25e0fd)(\"CPPFLAGS\", \"\");\n successMessages.push((0, $3b3c42f0437fd719$export$ad22d805bb3bfaf5)(\"msvc\", installationInfo));\n break;\n }\n case \"appleclang\":\n case \"applellvm\":\n (0, $i5trn.notice)(\"Assuming apple-clang is already installed\");\n await Promise.all([\n (0, $2f24a8df2529dc1c$export$f63d3080ce25e0fd)(\"CC\", \"clang\"),\n (0, $2f24a8df2529dc1c$export$f63d3080ce25e0fd)(\"CXX\", \"clang++\")\n ]);\n successMessages.push((0, $3b3c42f0437fd719$export$ad22d805bb3bfaf5)(\"apple-clang\", undefined));\n break;\n default:\n errorMessages.push(`Unsupported compiler ${compiler}`);\n }\n } catch (err) {\n (0, $7Lz0k.error)(err);\n errorMessages.push(`Failed to install the ${compilerAndVersion}`);\n }\n (0, $i5trn.endGroup)();\n}\n\n\n\n\n\n\n\n\n\n/** The main entry function */ async function $d7f2dd685904cea0$var$main(args) {\n let checkUpdatePromise = Promise.resolve();\n if (!(0, $2W4C2.GITHUB_ACTIONS)) {\n checkUpdatePromise = (0, $657b8b52854b1b18$export$31c6d94eb20a8ca7)();\n process.env.ACTIONS_ALLOW_UNSECURE_COMMANDS = \"true\";\n }\n // parse options using mri or github actions\n const opts = (0, $3b3c42f0437fd719$export$7300a92932ee17a3)(args);\n // print help\n if (opts.help) (0, $3b3c42f0437fd719$export$f57ebcae4da846e4)();\n // cpu architecture\n const arch = opts.architecture ?? process.arch;\n // the installation dir for the tools that are downloaded directly\n const setupCppDir = process.env.SETUP_CPP_DIR ?? (0, $9affb3cfb96595a9$export$8312d9eeba321950)(\"\");\n // report messages\n const successMessages = [];\n const errorMessages = [];\n const timeFormatter = $971ea907f1c0ad0f$exports.create({\n autoloadLocales: true\n });\n $971ea907f1c0ad0f$exports.addLocale((0, (/*@__PURE__*/$parcel$interopDefault($4e91dcc66796d8e4$exports))));\n $b9BRc.addLocale((0, (/*@__PURE__*/$parcel$interopDefault($121280b2d8e92425$exports))));\n let time1;\n let time2;\n // installing the specified tools\n const osVersion = await (0, $7407b79f302e7dfb$export$49c9cf1111dfa0ee)();\n // sync the version for the llvm tools\n if (!(0, $83fde521434ac405$export$dd13a1e418f5a5fe)(opts, [\n \"llvm\",\n \"clangtidy\",\n \"clangformat\"\n ])) {\n (0, $7Lz0k.error)(\"The same version must be used for llvm, clangformat and clangtidy\");\n return 1;\n }\n if ((0, $9aeb5896658945db$export$d415ddb6702ec3a2)() && typeof opts.cppcheck === \"string\" && typeof opts.gcovr === \"string\") {\n (0, $7Lz0k.info)(\"installing python-pygments to avoid conflicts with cppcheck and gcovr on Arch linux\");\n await (0, $8310f4b4d4fddda5$export$cfa75578ee2d6e6c)(\"python-pygments\");\n }\n /** Used to unset CPPFLAGS of LLVM when other compilers are used as the main compiler */ let hasLLVM = false;\n // loop over the tools and run their setup function\n let failedFast = false;\n for (const tool of (0, $890def45768c5f86$export$904054328df186b)){\n // fail fast inside CI when any tool fails\n if (0, $2W4C2.isCI) {\n if (errorMessages.length !== 0) {\n failedFast = true;\n break;\n }\n }\n // get the version or \"true\" or undefined for this tool from the options\n const version = opts[tool];\n // skip if undefined\n if (version !== undefined) {\n // running the setup function for this tool\n time1 = Date.now();\n // eslint-disable-next-line no-await-in-loop\n hasLLVM = await (0, $90e51034c89314f8$export$ddb4b945c8581272)(tool, version, osVersion, arch, setupCppDir, successMessages, errorMessages, parseFloat(opts.timeout ?? \"20\") * 60000);\n time2 = Date.now();\n (0, $7Lz0k.info)(`took ${timeFormatter.format(time1, time2) || \"0 seconds\"}`);\n }\n }\n if (!failedFast) {\n // installing the specified compiler\n const maybeCompiler = opts.compiler;\n if (maybeCompiler !== undefined) {\n const time1Compiler = Date.now();\n await (0, $bae5373454ac0a67$export$4dabf89bf6376d2b)(maybeCompiler, osVersion, setupCppDir, arch, successMessages, hasLLVM, errorMessages);\n const time2Compiler = Date.now();\n (0, $7Lz0k.info)(`took ${timeFormatter.format(time1Compiler, time2Compiler) || \"0 seconds\"}`);\n }\n }\n await (0, $2f24a8df2529dc1c$export$ca46151966bee7ba)();\n if (successMessages.length === 0 && errorMessages.length === 0) {\n (0, $7Lz0k.warning)(\"setup-cpp was called without any arguments. Nothing to do.\");\n return 0;\n }\n // report the messages in the end\n successMessages.forEach((tool)=>(0, $7Lz0k.success)(tool));\n errorMessages.forEach((tool)=>(0, $7Lz0k.error)(tool));\n (0, $7Lz0k.info)(\"setup-cpp finished\");\n if (!(0, $2W4C2.GITHUB_ACTIONS)) switch(process.platform){\n case \"win32\":\n (0, $7Lz0k.warning)(\"Run `RefreshEnv.cmd` or restart your shell to update the environment.\");\n break;\n case \"linux\":\n case \"darwin\":\n (0, $7Lz0k.warning)(\"Run `source ~/.cpprc` or restart your shell to update the environment.\");\n break;\n default:\n }\n await checkUpdatePromise;\n return errorMessages.length === 0 ? 0 : 1 // exit with non-zero if any error message\n ;\n}\n// Run main\n$d7f2dd685904cea0$var$main(process.argv).then((ret)=>{\n process.exitCode = ret;\n}).catch((err)=>{\n (0, $7Lz0k.error)(\"main() panicked!\");\n (0, $7Lz0k.error)(err);\n process.exitCode = 1;\n});\n\n\n//# sourceMappingURL=setup-cpp.js.map\n","'use strict'\n\nconst vendors = require('./vendors.json')\n\nconst env = process.env\n\n// Used for testing only\nObject.defineProperty(exports, '_vendors', {\n value: vendors.map(function (v) {\n return v.constant\n })\n})\n\nexports.name = null\nexports.isPR = null\n\nvendors.forEach(function (vendor) {\n const envs = Array.isArray(vendor.env) ? vendor.env : [vendor.env]\n const isCI = envs.every(function (obj) {\n return checkEnv(obj)\n })\n\n exports[vendor.constant] = isCI\n\n if (!isCI) {\n return\n }\n\n exports.name = vendor.name\n\n switch (typeof vendor.pr) {\n case 'string':\n // \"pr\": \"CIRRUS_PR\"\n exports.isPR = !!env[vendor.pr]\n break\n case 'object':\n if ('env' in vendor.pr) {\n // \"pr\": { \"env\": \"BUILDKITE_PULL_REQUEST\", \"ne\": \"false\" }\n exports.isPR = vendor.pr.env in env && env[vendor.pr.env] !== vendor.pr.ne\n } else if ('any' in vendor.pr) {\n // \"pr\": { \"any\": [\"ghprbPullId\", \"CHANGE_ID\"] }\n exports.isPR = vendor.pr.any.some(function (key) {\n return !!env[key]\n })\n } else {\n // \"pr\": { \"DRONE_BUILD_EVENT\": \"pull_request\" }\n exports.isPR = checkEnv(vendor.pr)\n }\n break\n default:\n // PR detection not supported for this vendor\n exports.isPR = null\n }\n})\n\nexports.isCI = !!(\n env.CI !== 'false' && // Bypass all checks if CI env is explicitly set to 'false'\n (env.BUILD_ID || // Jenkins, Cloudbees\n env.BUILD_NUMBER || // Jenkins, TeamCity\n env.CI || // Travis CI, CircleCI, Cirrus CI, Gitlab CI, Appveyor, CodeShip, dsari\n env.CI_APP_ID || // Appflow\n env.CI_BUILD_ID || // Appflow\n env.CI_BUILD_NUMBER || // Appflow\n env.CI_NAME || // Codeship and others\n env.CONTINUOUS_INTEGRATION || // Travis CI, Cirrus CI\n env.RUN_ID || // TaskCluster, dsari\n exports.name ||\n false)\n)\n\nfunction checkEnv (obj) {\n // \"env\": \"CIRRUS\"\n if (typeof obj === 'string') return !!env[obj]\n\n // \"env\": { \"env\": \"NODE\", \"includes\": \"/app/.heroku/node/bin/node\" }\n if ('env' in obj) {\n // Currently there are no other types, uncomment when there are\n // if ('includes' in obj) {\n return env[obj.env] && env[obj.env].includes(obj.includes)\n // }\n }\n if ('any' in obj) {\n return obj.any.some(function (k) {\n return !!env[k]\n })\n }\n return Object.keys(obj).every(function (k) {\n return env[k] === obj[k]\n })\n}\n","[\n {\n \"name\": \"Appcircle\",\n \"constant\": \"APPCIRCLE\",\n \"env\": \"AC_APPCIRCLE\"\n },\n {\n \"name\": \"AppVeyor\",\n \"constant\": \"APPVEYOR\",\n \"env\": \"APPVEYOR\",\n \"pr\": \"APPVEYOR_PULL_REQUEST_NUMBER\"\n },\n {\n \"name\": \"AWS CodeBuild\",\n \"constant\": \"CODEBUILD\",\n \"env\": \"CODEBUILD_BUILD_ARN\"\n },\n {\n \"name\": \"Azure Pipelines\",\n \"constant\": \"AZURE_PIPELINES\",\n \"env\": \"SYSTEM_TEAMFOUNDATIONCOLLECTIONURI\",\n \"pr\": \"SYSTEM_PULLREQUEST_PULLREQUESTID\"\n },\n {\n \"name\": \"Bamboo\",\n \"constant\": \"BAMBOO\",\n \"env\": \"bamboo_planKey\"\n },\n {\n \"name\": \"Bitbucket Pipelines\",\n \"constant\": \"BITBUCKET\",\n \"env\": \"BITBUCKET_COMMIT\",\n \"pr\": \"BITBUCKET_PR_ID\"\n },\n {\n \"name\": \"Bitrise\",\n \"constant\": \"BITRISE\",\n \"env\": \"BITRISE_IO\",\n \"pr\": \"BITRISE_PULL_REQUEST\"\n },\n {\n \"name\": \"Buddy\",\n \"constant\": \"BUDDY\",\n \"env\": \"BUDDY_WORKSPACE_ID\",\n \"pr\": \"BUDDY_EXECUTION_PULL_REQUEST_ID\"\n },\n {\n \"name\": \"Buildkite\",\n \"constant\": \"BUILDKITE\",\n \"env\": \"BUILDKITE\",\n \"pr\": {\n \"env\": \"BUILDKITE_PULL_REQUEST\",\n \"ne\": \"false\"\n }\n },\n {\n \"name\": \"CircleCI\",\n \"constant\": \"CIRCLE\",\n \"env\": \"CIRCLECI\",\n \"pr\": \"CIRCLE_PULL_REQUEST\"\n },\n {\n \"name\": \"Cirrus CI\",\n \"constant\": \"CIRRUS\",\n \"env\": \"CIRRUS_CI\",\n \"pr\": \"CIRRUS_PR\"\n },\n {\n \"name\": \"Codefresh\",\n \"constant\": \"CODEFRESH\",\n \"env\": \"CF_BUILD_ID\",\n \"pr\": {\n \"any\": [\n \"CF_PULL_REQUEST_NUMBER\",\n \"CF_PULL_REQUEST_ID\"\n ]\n }\n },\n {\n \"name\": \"Codemagic\",\n \"constant\": \"CODEMAGIC\",\n \"env\": \"CM_BUILD_ID\",\n \"pr\": \"CM_PULL_REQUEST\"\n },\n {\n \"name\": \"Codeship\",\n \"constant\": \"CODESHIP\",\n \"env\": {\n \"CI_NAME\": \"codeship\"\n }\n },\n {\n \"name\": \"Drone\",\n \"constant\": \"DRONE\",\n \"env\": \"DRONE\",\n \"pr\": {\n \"DRONE_BUILD_EVENT\": \"pull_request\"\n }\n },\n {\n \"name\": \"dsari\",\n \"constant\": \"DSARI\",\n \"env\": \"DSARI\"\n },\n {\n \"name\": \"Expo Application Services\",\n \"constant\": \"EAS\",\n \"env\": \"EAS_BUILD\"\n },\n {\n \"name\": \"Gerrit\",\n \"constant\": \"GERRIT\",\n \"env\": \"GERRIT_PROJECT\"\n },\n {\n \"name\": \"GitHub Actions\",\n \"constant\": \"GITHUB_ACTIONS\",\n \"env\": \"GITHUB_ACTIONS\",\n \"pr\": {\n \"GITHUB_EVENT_NAME\": \"pull_request\"\n }\n },\n {\n \"name\": \"GitLab CI\",\n \"constant\": \"GITLAB\",\n \"env\": \"GITLAB_CI\",\n \"pr\": \"CI_MERGE_REQUEST_ID\"\n },\n {\n \"name\": \"GoCD\",\n \"constant\": \"GOCD\",\n \"env\": \"GO_PIPELINE_LABEL\"\n },\n {\n \"name\": \"Google Cloud Build\",\n \"constant\": \"GOOGLE_CLOUD_BUILD\",\n \"env\": \"BUILDER_OUTPUT\"\n },\n {\n \"name\": \"Harness CI\",\n \"constant\": \"HARNESS\",\n \"env\": \"HARNESS_BUILD_ID\"\n },\n {\n \"name\": \"Heroku\",\n \"constant\": \"HEROKU\",\n \"env\": {\n \"env\": \"NODE\",\n \"includes\": \"/app/.heroku/node/bin/node\"\n }\n },\n {\n \"name\": \"Hudson\",\n \"constant\": \"HUDSON\",\n \"env\": \"HUDSON_URL\"\n },\n {\n \"name\": \"Jenkins\",\n \"constant\": \"JENKINS\",\n \"env\": [\n \"JENKINS_URL\",\n \"BUILD_ID\"\n ],\n \"pr\": {\n \"any\": [\n \"ghprbPullId\",\n \"CHANGE_ID\"\n ]\n }\n },\n {\n \"name\": \"LayerCI\",\n \"constant\": \"LAYERCI\",\n \"env\": \"LAYERCI\",\n \"pr\": \"LAYERCI_PULL_REQUEST\"\n },\n {\n \"name\": \"Magnum CI\",\n \"constant\": \"MAGNUM\",\n \"env\": \"MAGNUM\"\n },\n {\n \"name\": \"Netlify CI\",\n \"constant\": \"NETLIFY\",\n \"env\": \"NETLIFY\",\n \"pr\": {\n \"env\": \"PULL_REQUEST\",\n \"ne\": \"false\"\n }\n },\n {\n \"name\": \"Nevercode\",\n \"constant\": \"NEVERCODE\",\n \"env\": \"NEVERCODE\",\n \"pr\": {\n \"env\": \"NEVERCODE_PULL_REQUEST\",\n \"ne\": \"false\"\n }\n },\n {\n \"name\": \"ReleaseHub\",\n \"constant\": \"RELEASEHUB\",\n \"env\": \"RELEASE_BUILD_ID\"\n },\n {\n \"name\": \"Render\",\n \"constant\": \"RENDER\",\n \"env\": \"RENDER\",\n \"pr\": {\n \"IS_PULL_REQUEST\": \"true\"\n }\n },\n {\n \"name\": \"Sail CI\",\n \"constant\": \"SAIL\",\n \"env\": \"SAILCI\",\n \"pr\": \"SAIL_PULL_REQUEST_NUMBER\"\n },\n {\n \"name\": \"Screwdriver\",\n \"constant\": \"SCREWDRIVER\",\n \"env\": \"SCREWDRIVER\",\n \"pr\": {\n \"env\": \"SD_PULL_REQUEST\",\n \"ne\": \"false\"\n }\n },\n {\n \"name\": \"Semaphore\",\n \"constant\": \"SEMAPHORE\",\n \"env\": \"SEMAPHORE\",\n \"pr\": \"PULL_REQUEST_NUMBER\"\n },\n {\n \"name\": \"Shippable\",\n \"constant\": \"SHIPPABLE\",\n \"env\": \"SHIPPABLE\",\n \"pr\": {\n \"IS_PULL_REQUEST\": \"true\"\n }\n },\n {\n \"name\": \"Solano CI\",\n \"constant\": \"SOLANO\",\n \"env\": \"TDDIUM\",\n \"pr\": \"TDDIUM_PR_ID\"\n },\n {\n \"name\": \"Sourcehut\",\n \"constant\": \"SOURCEHUT\",\n \"env\": {\n \"CI_NAME\": \"sourcehut\"\n }\n },\n {\n \"name\": \"Strider CD\",\n \"constant\": \"STRIDER\",\n \"env\": \"STRIDER\"\n },\n {\n \"name\": \"TaskCluster\",\n \"constant\": \"TASKCLUSTER\",\n \"env\": [\n \"TASK_ID\",\n \"RUN_ID\"\n ]\n },\n {\n \"name\": \"TeamCity\",\n \"constant\": \"TEAMCITY\",\n \"env\": \"TEAMCITY_VERSION\"\n },\n {\n \"name\": \"Travis CI\",\n \"constant\": \"TRAVIS\",\n \"env\": \"TRAVIS\",\n \"pr\": {\n \"env\": \"TRAVIS_PULL_REQUEST\",\n \"ne\": \"false\"\n }\n },\n {\n \"name\": \"Vercel\",\n \"constant\": \"VERCEL\",\n \"env\": {\n \"any\": [\n \"NOW_BUILDER\",\n \"VERCEL\"\n ]\n }\n },\n {\n \"name\": \"Visual Studio App Center\",\n \"constant\": \"APPCENTER\",\n \"env\": \"APPCENTER_BUILD_ID\"\n },\n {\n \"name\": \"Woodpecker\",\n \"constant\": \"WOODPECKER\",\n \"env\": {\n \"CI\": \"woodpecker\"\n },\n \"pr\": {\n \"CI_BUILD_EVENT\": \"pull_request\"\n }\n },\n {\n \"name\": \"Xcode Cloud\",\n \"constant\": \"XCODE_CLOUD\",\n \"env\": \"CI_XCODE_PROJECT\",\n \"pr\": \"CI_PULL_REQUEST_NUMBER\"\n },\n {\n \"name\": \"Xcode Server\",\n \"constant\": \"XCODE_SERVER\",\n \"env\": \"XCS\"\n }\n]\n","import * as core from \"@actions/core\"\nimport { GITHUB_ACTIONS } from \"ci-info\"\n\nexport function error(err: string | Error) {\n return 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 GITHUB_ACTIONS ? core.warning(msg) : console.log(`\\x1b[33m${msg}\\x1b[0m`)\n}\n\nexport function notice(msg: string) {\n return GITHUB_ACTIONS ? core.notice(msg) : console.log(`\\x1b[94m${msg}\\x1b[0m`)\n}\n\nexport function info(msg: string) {\n return GITHUB_ACTIONS ? core.info(msg) : console.log(msg)\n}\n",null,null,null,null,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,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,null,null,null,"(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","\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","// 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","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","// just pre-load all the stuff that index.js lazily exports\nconst internalRe = require('./internal/re')\nconst constants = require('./internal/constants')\nconst SemVer = require('./classes/semver')\nconst identifiers = require('./internal/identifiers')\nconst parse = require('./functions/parse')\nconst valid = require('./functions/valid')\nconst clean = require('./functions/clean')\nconst inc = require('./functions/inc')\nconst diff = require('./functions/diff')\nconst major = require('./functions/major')\nconst minor = require('./functions/minor')\nconst patch = require('./functions/patch')\nconst prerelease = require('./functions/prerelease')\nconst compare = require('./functions/compare')\nconst rcompare = require('./functions/rcompare')\nconst compareLoose = require('./functions/compare-loose')\nconst compareBuild = require('./functions/compare-build')\nconst sort = require('./functions/sort')\nconst rsort = require('./functions/rsort')\nconst gt = require('./functions/gt')\nconst lt = require('./functions/lt')\nconst eq = require('./functions/eq')\nconst neq = require('./functions/neq')\nconst gte = require('./functions/gte')\nconst lte = require('./functions/lte')\nconst cmp = require('./functions/cmp')\nconst coerce = require('./functions/coerce')\nconst Comparator = require('./classes/comparator')\nconst Range = require('./classes/range')\nconst satisfies = require('./functions/satisfies')\nconst toComparators = require('./ranges/to-comparators')\nconst maxSatisfying = require('./ranges/max-satisfying')\nconst minSatisfying = require('./ranges/min-satisfying')\nconst minVersion = require('./ranges/min-version')\nconst validRange = require('./ranges/valid')\nconst outside = require('./ranges/outside')\nconst gtr = require('./ranges/gtr')\nconst ltr = require('./ranges/ltr')\nconst intersects = require('./ranges/intersects')\nconst simplifyRange = require('./ranges/simplify')\nconst subset = require('./ranges/subset')\nmodule.exports = {\n parse,\n valid,\n clean,\n inc,\n diff,\n major,\n minor,\n patch,\n prerelease,\n compare,\n rcompare,\n compareLoose,\n compareBuild,\n sort,\n rsort,\n gt,\n lt,\n eq,\n neq,\n gte,\n lte,\n cmp,\n coerce,\n Comparator,\n Range,\n satisfies,\n toComparators,\n maxSatisfying,\n minSatisfying,\n minVersion,\n validRange,\n outside,\n gtr,\n ltr,\n intersects,\n simplifyRange,\n subset,\n SemVer,\n re: internalRe.re,\n src: internalRe.src,\n tokens: internalRe.t,\n SEMVER_SPEC_VERSION: constants.SEMVER_SPEC_VERSION,\n RELEASE_TYPES: constants.RELEASE_TYPES,\n compareIdentifiers: identifiers.compareIdentifiers,\n rcompareIdentifiers: identifiers.rcompareIdentifiers,\n}\n","const {\n MAX_SAFE_COMPONENT_LENGTH,\n MAX_SAFE_BUILD_LENGTH,\n MAX_LENGTH,\n} = require('./constants')\nconst debug = require('./debug')\nexports = module.exports = {}\n\n// The actual regexps go on exports.re\nconst re = exports.re = []\nconst safeRe = exports.safeRe = []\nconst src = exports.src = []\nconst t = exports.t = {}\nlet R = 0\n\nconst LETTERDASHNUMBER = '[a-zA-Z0-9-]'\n\n// Replace some greedy regex tokens to prevent regex dos issues. These regex are\n// used internally via the safeRe object since all inputs in this library get\n// normalized first to trim and collapse all extra whitespace. The original\n// regexes are exported for userland consumption and lower level usage. A\n// future breaking change could export the safer regex only with a note that\n// all input should have extra whitespace removed.\nconst safeRegexReplacements = [\n ['\\\\s', 1],\n ['\\\\d', MAX_LENGTH],\n [LETTERDASHNUMBER, MAX_SAFE_BUILD_LENGTH],\n]\n\nconst makeSafeRegex = (value) => {\n for (const [token, max] of safeRegexReplacements) {\n value = value\n .split(`${token}*`).join(`${token}{0,${max}}`)\n .split(`${token}+`).join(`${token}{1,${max}}`)\n }\n return value\n}\n\nconst createToken = (name, value, isGlobal) => {\n const safe = makeSafeRegex(value)\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 safeRe[index] = new RegExp(safe, 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', '\\\\d+')\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-]${LETTERDASHNUMBER}*`)\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', `${LETTERDASHNUMBER}+`)\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\n// Max safe length for a build identifier. The max length minus 6 characters for\n// the shortest version with a build 0.0.0+BUILD.\nconst MAX_SAFE_BUILD_LENGTH = MAX_LENGTH - 6\n\nconst RELEASE_TYPES = [\n 'major',\n 'premajor',\n 'minor',\n 'preminor',\n 'patch',\n 'prepatch',\n 'prerelease',\n]\n\nmodule.exports = {\n MAX_LENGTH,\n MAX_SAFE_COMPONENT_LENGTH,\n MAX_SAFE_BUILD_LENGTH,\n MAX_SAFE_INTEGER,\n RELEASE_TYPES,\n SEMVER_SPEC_VERSION,\n FLAG_INCLUDE_PRERELEASE: 0b001,\n FLAG_LOOSE: 0b010,\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 { safeRe: 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. Must be a string. Got type \"${typeof 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, identifierBase) {\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, identifierBase)\n break\n case 'preminor':\n this.prerelease.length = 0\n this.patch = 0\n this.minor++\n this.inc('pre', identifier, identifierBase)\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, identifierBase)\n this.inc('pre', identifier, identifierBase)\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, identifierBase)\n }\n this.inc('pre', identifier, identifierBase)\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 const base = Number(identifierBase) ? 1 : 0\n\n if (!identifier && identifierBase === false) {\n throw new Error('invalid increment argument: identifier is empty')\n }\n\n if (this.prerelease.length === 0) {\n this.prerelease = [base]\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 if (identifier === this.prerelease.join('.') && identifierBase === false) {\n throw new Error('invalid increment argument: identifier already exists')\n }\n this.prerelease.push(base)\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 let prerelease = [identifier, base]\n if (identifierBase === false) {\n prerelease = [identifier]\n }\n if (compareIdentifiers(this.prerelease[0], identifier) === 0) {\n if (isNaN(this.prerelease[1])) {\n this.prerelease = prerelease\n }\n } else {\n this.prerelease = prerelease\n }\n }\n break\n }\n default:\n throw new Error(`invalid increment argument: ${release}`)\n }\n this.raw = this.format()\n if (this.build.length) {\n this.raw += `+${this.build.join('.')}`\n }\n return this\n }\n}\n\nmodule.exports = SemVer\n","// parse out just the options we care about\nconst looseOption = Object.freeze({ loose: true })\nconst emptyOpts = Object.freeze({ })\nconst parseOptions = options => {\n if (!options) {\n return emptyOpts\n }\n\n if (typeof options !== 'object') {\n return looseOption\n }\n\n return options\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 SemVer = require('../classes/semver')\nconst parse = (version, options, throwErrors = false) => {\n if (version instanceof SemVer) {\n return version\n }\n try {\n return new SemVer(version, options)\n } catch (er) {\n if (!throwErrors) {\n return null\n }\n throw er\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, identifierBase) => {\n if (typeof (options) === 'string') {\n identifierBase = identifier\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, identifierBase).version\n } catch (er) {\n return null\n }\n}\nmodule.exports = inc\n","const parse = require('./parse.js')\n\nconst diff = (version1, version2) => {\n const v1 = parse(version1, null, true)\n const v2 = parse(version2, null, true)\n const comparison = v1.compare(v2)\n\n if (comparison === 0) {\n return null\n }\n\n const v1Higher = comparison > 0\n const highVersion = v1Higher ? v1 : v2\n const lowVersion = v1Higher ? v2 : v1\n const highHasPre = !!highVersion.prerelease.length\n const lowHasPre = !!lowVersion.prerelease.length\n\n if (lowHasPre && !highHasPre) {\n // Going from prerelease -> no prerelease requires some special casing\n\n // If the low version has only a major, then it will always be a major\n // Some examples:\n // 1.0.0-1 -> 1.0.0\n // 1.0.0-1 -> 1.1.1\n // 1.0.0-1 -> 2.0.0\n if (!lowVersion.patch && !lowVersion.minor) {\n return 'major'\n }\n\n // Otherwise it can be determined by checking the high version\n\n if (highVersion.patch) {\n // anything higher than a patch bump would result in the wrong version\n return 'patch'\n }\n\n if (highVersion.minor) {\n // anything higher than a minor bump would result in the wrong version\n return 'minor'\n }\n\n // bumping major/minor/patch all have same result\n return 'major'\n }\n\n // add the `pre` prefix if we are going to a prerelease version\n const prefix = highHasPre ? 'pre' : ''\n\n if (v1.major !== v2.major) {\n return prefix + 'major'\n }\n\n if (v1.minor !== v2.minor) {\n return prefix + 'minor'\n }\n\n if (v1.patch !== v2.patch) {\n return prefix + 'patch'\n }\n\n // high and low are preleases\n return 'prerelease'\n}\n\nmodule.exports = diff\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 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 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 eq = (a, b, loose) => compare(a, b, loose) === 0\nmodule.exports = eq\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 { safeRe: 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 comp = comp.trim().split(/\\s+/).join(' ')\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 (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 options = parseOptions(options)\n\n // Special cases where nothing can possibly be lower\n if (options.includePrerelease &&\n (this.value === '<0.0.0-0' || comp.value === '<0.0.0-0')) {\n return false\n }\n if (!options.includePrerelease &&\n (this.value.startsWith('<0.0.0') || comp.value.startsWith('<0.0.0'))) {\n return false\n }\n\n // Same direction increasing (> or >=)\n if (this.operator.startsWith('>') && comp.operator.startsWith('>')) {\n return true\n }\n // Same direction decreasing (< or <=)\n if (this.operator.startsWith('<') && comp.operator.startsWith('<')) {\n return true\n }\n // same SemVer and both sides are inclusive (<= or >=)\n if (\n (this.semver.version === comp.semver.version) &&\n this.operator.includes('=') && comp.operator.includes('=')) {\n return true\n }\n // opposite directions less than\n if (cmp(this.semver, '<', comp.semver, options) &&\n this.operator.startsWith('>') && comp.operator.startsWith('<')) {\n return true\n }\n // opposite directions greater than\n if (cmp(this.semver, '>', comp.semver, options) &&\n this.operator.startsWith('<') && comp.operator.startsWith('>')) {\n return true\n }\n return false\n }\n}\n\nmodule.exports = Comparator\n\nconst parseOptions = require('../internal/parse-options')\nconst { safeRe: 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 reduce all whitespace as much as possible so we do not have to rely\n // on potentially slow regexes like \\s*. This is then stored and used for\n // future error messages as well.\n this.raw = range\n .trim()\n .split(/\\s+/)\n .join(' ')\n\n // First, split on ||\n this.set = this.raw\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: ${this.raw}`)\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) => comps.join(' ').trim())\n .join('||')\n .trim()\n return this.range\n }\n\n toString () {\n return this.range\n }\n\n parseRange (range) {\n // memoize range parsing for performance.\n // this is a very hot path, and fully deterministic.\n const memoOpts =\n (this.options.includePrerelease && FLAG_INCLUDE_PRERELEASE) |\n (this.options.loose && FLAG_LOOSE)\n const memoKey = 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\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 debug('tilde trim', range)\n\n // `^ 1.2.3` => `^1.2.3`\n range = range.replace(re[t.CARETTRIM], caretTrimReplace)\n debug('caret trim', range)\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}\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 safeRe: re,\n t,\n comparatorTrimReplace,\n tildeTrimReplace,\n caretTrimReplace,\n} = require('../internal/re')\nconst { FLAG_INCLUDE_PRERELEASE, FLAG_LOOSE } = require('../internal/constants')\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\n// ~0.0.1 --> >=0.0.1 <0.1.0-0\nconst replaceTildes = (comp, options) => {\n return comp\n .trim()\n .split(/\\s+/)\n .map((c) => replaceTilde(c, options))\n .join(' ')\n}\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\n// ^0.0.1 --> >=0.0.1 <0.0.2-0\n// ^0.1.0 --> >=0.1.0 <0.2.0-0\nconst replaceCarets = (comp, options) => {\n return comp\n .trim()\n .split(/\\s+/)\n .map((c) => replaceCaret(c, options))\n .join(' ')\n}\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\n .split(/\\s+/)\n .map((c) => 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\n .trim()\n .replace(re[t.STAR], '')\n}\n\nconst replaceGTE0 = (comp, options) => {\n debug('replaceGTE0', comp, options)\n return comp\n .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","'use strict'\n\n// A linked list to keep track of recently-used-ness\nconst Yallist = require('yallist')\n\nconst MAX = Symbol('max')\nconst LENGTH = Symbol('length')\nconst LENGTH_CALCULATOR = Symbol('lengthCalculator')\nconst ALLOW_STALE = Symbol('allowStale')\nconst MAX_AGE = Symbol('maxAge')\nconst DISPOSE = Symbol('dispose')\nconst NO_DISPOSE_ON_SET = Symbol('noDisposeOnSet')\nconst LRU_LIST = Symbol('lruList')\nconst CACHE = Symbol('cache')\nconst UPDATE_AGE_ON_GET = Symbol('updateAgeOnGet')\n\nconst naiveLength = () => 1\n\n// lruList is a yallist where the head is the youngest\n// item, and the tail is the oldest. the list contains the Hit\n// objects as the entries.\n// Each Hit object has a reference to its Yallist.Node. This\n// never changes.\n//\n// cache is a Map (or PseudoMap) that matches the keys to\n// the Yallist.Node object.\nclass LRUCache {\n constructor (options) {\n if (typeof options === 'number')\n options = { max: options }\n\n if (!options)\n options = {}\n\n if (options.max && (typeof options.max !== 'number' || options.max < 0))\n throw new TypeError('max must be a non-negative number')\n // Kind of weird to have a default max of Infinity, but oh well.\n const max = this[MAX] = options.max || Infinity\n\n const lc = options.length || naiveLength\n this[LENGTH_CALCULATOR] = (typeof lc !== 'function') ? naiveLength : lc\n this[ALLOW_STALE] = options.stale || false\n if (options.maxAge && typeof options.maxAge !== 'number')\n throw new TypeError('maxAge must be a number')\n this[MAX_AGE] = options.maxAge || 0\n this[DISPOSE] = options.dispose\n this[NO_DISPOSE_ON_SET] = options.noDisposeOnSet || false\n this[UPDATE_AGE_ON_GET] = options.updateAgeOnGet || false\n this.reset()\n }\n\n // resize the cache when the max changes.\n set max (mL) {\n if (typeof mL !== 'number' || mL < 0)\n throw new TypeError('max must be a non-negative number')\n\n this[MAX] = mL || Infinity\n trim(this)\n }\n get max () {\n return this[MAX]\n }\n\n set allowStale (allowStale) {\n this[ALLOW_STALE] = !!allowStale\n }\n get allowStale () {\n return this[ALLOW_STALE]\n }\n\n set maxAge (mA) {\n if (typeof mA !== 'number')\n throw new TypeError('maxAge must be a non-negative number')\n\n this[MAX_AGE] = mA\n trim(this)\n }\n get maxAge () {\n return this[MAX_AGE]\n }\n\n // resize the cache when the lengthCalculator changes.\n set lengthCalculator (lC) {\n if (typeof lC !== 'function')\n lC = naiveLength\n\n if (lC !== this[LENGTH_CALCULATOR]) {\n this[LENGTH_CALCULATOR] = lC\n this[LENGTH] = 0\n this[LRU_LIST].forEach(hit => {\n hit.length = this[LENGTH_CALCULATOR](hit.value, hit.key)\n this[LENGTH] += hit.length\n })\n }\n trim(this)\n }\n get lengthCalculator () { return this[LENGTH_CALCULATOR] }\n\n get length () { return this[LENGTH] }\n get itemCount () { return this[LRU_LIST].length }\n\n rforEach (fn, thisp) {\n thisp = thisp || this\n for (let walker = this[LRU_LIST].tail; walker !== null;) {\n const prev = walker.prev\n forEachStep(this, fn, walker, thisp)\n walker = prev\n }\n }\n\n forEach (fn, thisp) {\n thisp = thisp || this\n for (let walker = this[LRU_LIST].head; walker !== null;) {\n const next = walker.next\n forEachStep(this, fn, walker, thisp)\n walker = next\n }\n }\n\n keys () {\n return this[LRU_LIST].toArray().map(k => k.key)\n }\n\n values () {\n return this[LRU_LIST].toArray().map(k => k.value)\n }\n\n reset () {\n if (this[DISPOSE] &&\n this[LRU_LIST] &&\n this[LRU_LIST].length) {\n this[LRU_LIST].forEach(hit => this[DISPOSE](hit.key, hit.value))\n }\n\n this[CACHE] = new Map() // hash of items by key\n this[LRU_LIST] = new Yallist() // list of items in order of use recency\n this[LENGTH] = 0 // length of items in the list\n }\n\n dump () {\n return this[LRU_LIST].map(hit =>\n isStale(this, hit) ? false : {\n k: hit.key,\n v: hit.value,\n e: hit.now + (hit.maxAge || 0)\n }).toArray().filter(h => h)\n }\n\n dumpLru () {\n return this[LRU_LIST]\n }\n\n set (key, value, maxAge) {\n maxAge = maxAge || this[MAX_AGE]\n\n if (maxAge && typeof maxAge !== 'number')\n throw new TypeError('maxAge must be a number')\n\n const now = maxAge ? Date.now() : 0\n const len = this[LENGTH_CALCULATOR](value, key)\n\n if (this[CACHE].has(key)) {\n if (len > this[MAX]) {\n del(this, this[CACHE].get(key))\n return false\n }\n\n const node = this[CACHE].get(key)\n const item = node.value\n\n // dispose of the old one before overwriting\n // split out into 2 ifs for better coverage tracking\n if (this[DISPOSE]) {\n if (!this[NO_DISPOSE_ON_SET])\n this[DISPOSE](key, item.value)\n }\n\n item.now = now\n item.maxAge = maxAge\n item.value = value\n this[LENGTH] += len - item.length\n item.length = len\n this.get(key)\n trim(this)\n return true\n }\n\n const hit = new Entry(key, value, len, now, maxAge)\n\n // oversized objects fall out of cache automatically.\n if (hit.length > this[MAX]) {\n if (this[DISPOSE])\n this[DISPOSE](key, value)\n\n return false\n }\n\n this[LENGTH] += hit.length\n this[LRU_LIST].unshift(hit)\n this[CACHE].set(key, this[LRU_LIST].head)\n trim(this)\n return true\n }\n\n has (key) {\n if (!this[CACHE].has(key)) return false\n const hit = this[CACHE].get(key).value\n return !isStale(this, hit)\n }\n\n get (key) {\n return get(this, key, true)\n }\n\n peek (key) {\n return get(this, key, false)\n }\n\n pop () {\n const node = this[LRU_LIST].tail\n if (!node)\n return null\n\n del(this, node)\n return node.value\n }\n\n del (key) {\n del(this, this[CACHE].get(key))\n }\n\n load (arr) {\n // reset the cache\n this.reset()\n\n const now = Date.now()\n // A previous serialized cache has the most recent items first\n for (let l = arr.length - 1; l >= 0; l--) {\n const hit = arr[l]\n const expiresAt = hit.e || 0\n if (expiresAt === 0)\n // the item was created without expiration in a non aged cache\n this.set(hit.k, hit.v)\n else {\n const maxAge = expiresAt - now\n // dont add already expired items\n if (maxAge > 0) {\n this.set(hit.k, hit.v, maxAge)\n }\n }\n }\n }\n\n prune () {\n this[CACHE].forEach((value, key) => get(this, key, false))\n }\n}\n\nconst get = (self, key, doUse) => {\n const node = self[CACHE].get(key)\n if (node) {\n const hit = node.value\n if (isStale(self, hit)) {\n del(self, node)\n if (!self[ALLOW_STALE])\n return undefined\n } else {\n if (doUse) {\n if (self[UPDATE_AGE_ON_GET])\n node.value.now = Date.now()\n self[LRU_LIST].unshiftNode(node)\n }\n }\n return hit.value\n }\n}\n\nconst isStale = (self, hit) => {\n if (!hit || (!hit.maxAge && !self[MAX_AGE]))\n return false\n\n const diff = Date.now() - hit.now\n return hit.maxAge ? diff > hit.maxAge\n : self[MAX_AGE] && (diff > self[MAX_AGE])\n}\n\nconst trim = self => {\n if (self[LENGTH] > self[MAX]) {\n for (let walker = self[LRU_LIST].tail;\n self[LENGTH] > self[MAX] && walker !== null;) {\n // We know that we're about to delete this one, and also\n // what the next least recently used key will be, so just\n // go ahead and set it now.\n const prev = walker.prev\n del(self, walker)\n walker = prev\n }\n }\n}\n\nconst del = (self, node) => {\n if (node) {\n const hit = node.value\n if (self[DISPOSE])\n self[DISPOSE](hit.key, hit.value)\n\n self[LENGTH] -= hit.length\n self[CACHE].delete(hit.key)\n self[LRU_LIST].removeNode(node)\n }\n}\n\nclass Entry {\n constructor (key, value, length, now, maxAge) {\n this.key = key\n this.value = value\n this.length = length\n this.now = now\n this.maxAge = maxAge || 0\n }\n}\n\nconst forEachStep = (self, fn, node, thisp) => {\n let hit = node.value\n if (isStale(self, hit)) {\n del(self, node)\n if (!self[ALLOW_STALE])\n hit = undefined\n }\n if (hit)\n fn.call(thisp, hit.value, hit.key, self)\n}\n\nmodule.exports = LRUCache\n","'use strict'\nmodule.exports = Yallist\n\nYallist.Node = Node\nYallist.create = Yallist\n\nfunction Yallist (list) {\n var self = this\n if (!(self instanceof Yallist)) {\n self = new Yallist()\n }\n\n self.tail = null\n self.head = null\n self.length = 0\n\n if (list && typeof list.forEach === 'function') {\n list.forEach(function (item) {\n self.push(item)\n })\n } else if (arguments.length > 0) {\n for (var i = 0, l = arguments.length; i < l; i++) {\n self.push(arguments[i])\n }\n }\n\n return self\n}\n\nYallist.prototype.removeNode = function (node) {\n if (node.list !== this) {\n throw new Error('removing node which does not belong to this list')\n }\n\n var next = node.next\n var prev = node.prev\n\n if (next) {\n next.prev = prev\n }\n\n if (prev) {\n prev.next = next\n }\n\n if (node === this.head) {\n this.head = next\n }\n if (node === this.tail) {\n this.tail = prev\n }\n\n node.list.length--\n node.next = null\n node.prev = null\n node.list = null\n\n return next\n}\n\nYallist.prototype.unshiftNode = function (node) {\n if (node === this.head) {\n return\n }\n\n if (node.list) {\n node.list.removeNode(node)\n }\n\n var head = this.head\n node.list = this\n node.next = head\n if (head) {\n head.prev = node\n }\n\n this.head = node\n if (!this.tail) {\n this.tail = node\n }\n this.length++\n}\n\nYallist.prototype.pushNode = function (node) {\n if (node === this.tail) {\n return\n }\n\n if (node.list) {\n node.list.removeNode(node)\n }\n\n var tail = this.tail\n node.list = this\n node.prev = tail\n if (tail) {\n tail.next = node\n }\n\n this.tail = node\n if (!this.head) {\n this.head = node\n }\n this.length++\n}\n\nYallist.prototype.push = function () {\n for (var i = 0, l = arguments.length; i < l; i++) {\n push(this, arguments[i])\n }\n return this.length\n}\n\nYallist.prototype.unshift = function () {\n for (var i = 0, l = arguments.length; i < l; i++) {\n unshift(this, arguments[i])\n }\n return this.length\n}\n\nYallist.prototype.pop = function () {\n if (!this.tail) {\n return undefined\n }\n\n var res = this.tail.value\n this.tail = this.tail.prev\n if (this.tail) {\n this.tail.next = null\n } else {\n this.head = null\n }\n this.length--\n return res\n}\n\nYallist.prototype.shift = function () {\n if (!this.head) {\n return undefined\n }\n\n var res = this.head.value\n this.head = this.head.next\n if (this.head) {\n this.head.prev = null\n } else {\n this.tail = null\n }\n this.length--\n return res\n}\n\nYallist.prototype.forEach = function (fn, thisp) {\n thisp = thisp || this\n for (var walker = this.head, i = 0; walker !== null; i++) {\n fn.call(thisp, walker.value, i, this)\n walker = walker.next\n }\n}\n\nYallist.prototype.forEachReverse = function (fn, thisp) {\n thisp = thisp || this\n for (var walker = this.tail, i = this.length - 1; walker !== null; i--) {\n fn.call(thisp, walker.value, i, this)\n walker = walker.prev\n }\n}\n\nYallist.prototype.get = function (n) {\n for (var i = 0, walker = this.head; walker !== null && i < n; i++) {\n // abort out of the list early if we hit a cycle\n walker = walker.next\n }\n if (i === n && walker !== null) {\n return walker.value\n }\n}\n\nYallist.prototype.getReverse = function (n) {\n for (var i = 0, walker = this.tail; walker !== null && i < n; i++) {\n // abort out of the list early if we hit a cycle\n walker = walker.prev\n }\n if (i === n && walker !== null) {\n return walker.value\n }\n}\n\nYallist.prototype.map = function (fn, thisp) {\n thisp = thisp || this\n var res = new Yallist()\n for (var walker = this.head; walker !== null;) {\n res.push(fn.call(thisp, walker.value, this))\n walker = walker.next\n }\n return res\n}\n\nYallist.prototype.mapReverse = function (fn, thisp) {\n thisp = thisp || this\n var res = new Yallist()\n for (var walker = this.tail; walker !== null;) {\n res.push(fn.call(thisp, walker.value, this))\n walker = walker.prev\n }\n return res\n}\n\nYallist.prototype.reduce = function (fn, initial) {\n var acc\n var walker = this.head\n if (arguments.length > 1) {\n acc = initial\n } else if (this.head) {\n walker = this.head.next\n acc = this.head.value\n } else {\n throw new TypeError('Reduce of empty list with no initial value')\n }\n\n for (var i = 0; walker !== null; i++) {\n acc = fn(acc, walker.value, i)\n walker = walker.next\n }\n\n return acc\n}\n\nYallist.prototype.reduceReverse = function (fn, initial) {\n var acc\n var walker = this.tail\n if (arguments.length > 1) {\n acc = initial\n } else if (this.tail) {\n walker = this.tail.prev\n acc = this.tail.value\n } else {\n throw new TypeError('Reduce of empty list with no initial value')\n }\n\n for (var i = this.length - 1; walker !== null; i--) {\n acc = fn(acc, walker.value, i)\n walker = walker.prev\n }\n\n return acc\n}\n\nYallist.prototype.toArray = function () {\n var arr = new Array(this.length)\n for (var i = 0, walker = this.head; walker !== null; i++) {\n arr[i] = walker.value\n walker = walker.next\n }\n return arr\n}\n\nYallist.prototype.toArrayReverse = function () {\n var arr = new Array(this.length)\n for (var i = 0, walker = this.tail; walker !== null; i++) {\n arr[i] = walker.value\n walker = walker.prev\n }\n return arr\n}\n\nYallist.prototype.slice = function (from, to) {\n to = to || this.length\n if (to < 0) {\n to += this.length\n }\n from = from || 0\n if (from < 0) {\n from += this.length\n }\n var ret = new Yallist()\n if (to < from || to < 0) {\n return ret\n }\n if (from < 0) {\n from = 0\n }\n if (to > this.length) {\n to = this.length\n }\n for (var i = 0, walker = this.head; walker !== null && i < from; i++) {\n walker = walker.next\n }\n for (; walker !== null && i < to; i++, walker = walker.next) {\n ret.push(walker.value)\n }\n return ret\n}\n\nYallist.prototype.sliceReverse = function (from, to) {\n to = to || this.length\n if (to < 0) {\n to += this.length\n }\n from = from || 0\n if (from < 0) {\n from += this.length\n }\n var ret = new Yallist()\n if (to < from || to < 0) {\n return ret\n }\n if (from < 0) {\n from = 0\n }\n if (to > this.length) {\n to = this.length\n }\n for (var i = this.length, walker = this.tail; walker !== null && i > to; i--) {\n walker = walker.prev\n }\n for (; walker !== null && i > from; i--, walker = walker.prev) {\n ret.push(walker.value)\n }\n return ret\n}\n\nYallist.prototype.splice = function (start, deleteCount, ...nodes) {\n if (start > this.length) {\n start = this.length - 1\n }\n if (start < 0) {\n start = this.length + start;\n }\n\n for (var i = 0, walker = this.head; walker !== null && i < start; i++) {\n walker = walker.next\n }\n\n var ret = []\n for (var i = 0; walker && i < deleteCount; i++) {\n ret.push(walker.value)\n walker = this.removeNode(walker)\n }\n if (walker === null) {\n walker = this.tail\n }\n\n if (walker !== this.head && walker !== this.tail) {\n walker = walker.prev\n }\n\n for (var i = 0; i < nodes.length; i++) {\n walker = insert(this, walker, nodes[i])\n }\n return ret;\n}\n\nYallist.prototype.reverse = function () {\n var head = this.head\n var tail = this.tail\n for (var walker = head; walker !== null; walker = walker.prev) {\n var p = walker.prev\n walker.prev = walker.next\n walker.next = p\n }\n this.head = tail\n this.tail = head\n return this\n}\n\nfunction insert (self, node, value) {\n var inserted = node === self.head ?\n new Node(value, null, node, self) :\n new Node(value, node, node.next, self)\n\n if (inserted.next === null) {\n self.tail = inserted\n }\n if (inserted.prev === null) {\n self.head = inserted\n }\n\n self.length++\n\n return inserted\n}\n\nfunction push (self, item) {\n self.tail = new Node(item, self.tail, null, self)\n if (!self.head) {\n self.head = self.tail\n }\n self.length++\n}\n\nfunction unshift (self, item) {\n self.head = new Node(item, null, self.head, self)\n if (!self.tail) {\n self.tail = self.head\n }\n self.length++\n}\n\nfunction Node (value, prev, next, list) {\n if (!(this instanceof Node)) {\n return new Node(value, prev, next, list)\n }\n\n this.list = list\n this.value = value\n\n if (prev) {\n prev.next = this\n this.prev = prev\n } else {\n this.prev = null\n }\n\n if (next) {\n next.prev = this\n this.next = next\n } else {\n this.next = null\n }\n}\n\ntry {\n // add if support for Symbol.iterator is present\n require('./iterator.js')(Yallist)\n} catch (er) {}\n","'use strict'\nmodule.exports = function (Yallist) {\n Yallist.prototype[Symbol.iterator] = function* () {\n for (let walker = this.head; walker; walker = walker.next) {\n yield walker.value\n }\n }\n}\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, options)\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 minimumVersionWithPreRelease = [new Comparator('>=0.0.0-0')]\nconst minimumVersion = [new Comparator('>=0.0.0')]\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 = minimumVersionWithPreRelease\n } else {\n sub = minimumVersion\n }\n }\n\n if (dom.length === 1 && dom[0].semver === ANY) {\n if (options.includePrerelease) {\n return true\n } else {\n dom = minimumVersion\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","'use strict';\n\nvar matchOperatorsRe = /[|\\\\{}()[\\]^$+*?.]/g;\n\nmodule.exports = function (str) {\n\tif (typeof str !== 'string') {\n\t\tthrow new TypeError('Expected a string');\n\t}\n\n\treturn str.replace(matchOperatorsRe, '\\\\$&');\n};\n","import fs, {promises as fsPromises} from 'node:fs';\n\nexport async function pathExists(path) {\n\ttry {\n\t\tawait fsPromises.access(path);\n\t\treturn true;\n\t} catch {\n\t\treturn false;\n\t}\n}\n\nexport function pathExistsSync(path) {\n\ttry {\n\t\tfs.accessSync(path);\n\t\treturn true;\n\t} catch {\n\t\treturn false;\n\t}\n}\n",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","/**\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","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","'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",null,null,null,null,null,null,"exports = module.exports = SemVer\n\nvar debug\n/* istanbul ignore next */\nif (typeof process === 'object' &&\n process.env &&\n process.env.NODE_DEBUG &&\n /\\bsemver\\b/i.test(process.env.NODE_DEBUG)) {\n debug = function () {\n var args = Array.prototype.slice.call(arguments, 0)\n args.unshift('SEMVER')\n console.log.apply(console, args)\n }\n} else {\n debug = function () {}\n}\n\n// Note: this is the semver.org version of the spec that it implements\n// Not necessarily the package version of this code.\nexports.SEMVER_SPEC_VERSION = '2.0.0'\n\nvar MAX_LENGTH = 256\nvar MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER ||\n /* istanbul ignore next */ 9007199254740991\n\n// Max safe segment length for coercion.\nvar MAX_SAFE_COMPONENT_LENGTH = 16\n\nvar MAX_SAFE_BUILD_LENGTH = MAX_LENGTH - 6\n\n// The actual regexps go on exports.re\nvar re = exports.re = []\nvar safeRe = exports.safeRe = []\nvar src = exports.src = []\nvar t = exports.tokens = {}\nvar R = 0\n\nfunction tok (n) {\n t[n] = R++\n}\n\nvar LETTERDASHNUMBER = '[a-zA-Z0-9-]'\n\n// Replace some greedy regex tokens to prevent regex dos issues. These regex are\n// used internally via the safeRe object since all inputs in this library get\n// normalized first to trim and collapse all extra whitespace. The original\n// regexes are exported for userland consumption and lower level usage. A\n// future breaking change could export the safer regex only with a note that\n// all input should have extra whitespace removed.\nvar safeRegexReplacements = [\n ['\\\\s', 1],\n ['\\\\d', MAX_LENGTH],\n [LETTERDASHNUMBER, MAX_SAFE_BUILD_LENGTH],\n]\n\nfunction makeSafeRe (value) {\n for (var i = 0; i < safeRegexReplacements.length; i++) {\n var token = safeRegexReplacements[i][0]\n var max = safeRegexReplacements[i][1]\n value = value\n .split(token + '*').join(token + '{0,' + max + '}')\n .split(token + '+').join(token + '{1,' + max + '}')\n }\n return value\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\ntok('NUMERICIDENTIFIER')\nsrc[t.NUMERICIDENTIFIER] = '0|[1-9]\\\\d*'\ntok('NUMERICIDENTIFIERLOOSE')\nsrc[t.NUMERICIDENTIFIERLOOSE] = '\\\\d+'\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\ntok('NONNUMERICIDENTIFIER')\nsrc[t.NONNUMERICIDENTIFIER] = '\\\\d*[a-zA-Z-]' + LETTERDASHNUMBER + '*'\n\n// ## Main Version\n// Three dot-separated numeric identifiers.\n\ntok('MAINVERSION')\nsrc[t.MAINVERSION] = '(' + src[t.NUMERICIDENTIFIER] + ')\\\\.' +\n '(' + src[t.NUMERICIDENTIFIER] + ')\\\\.' +\n '(' + src[t.NUMERICIDENTIFIER] + ')'\n\ntok('MAINVERSIONLOOSE')\nsrc[t.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\ntok('PRERELEASEIDENTIFIER')\nsrc[t.PRERELEASEIDENTIFIER] = '(?:' + src[t.NUMERICIDENTIFIER] +\n '|' + src[t.NONNUMERICIDENTIFIER] + ')'\n\ntok('PRERELEASEIDENTIFIERLOOSE')\nsrc[t.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\ntok('PRERELEASE')\nsrc[t.PRERELEASE] = '(?:-(' + src[t.PRERELEASEIDENTIFIER] +\n '(?:\\\\.' + src[t.PRERELEASEIDENTIFIER] + ')*))'\n\ntok('PRERELEASELOOSE')\nsrc[t.PRERELEASELOOSE] = '(?:-?(' + src[t.PRERELEASEIDENTIFIERLOOSE] +\n '(?:\\\\.' + src[t.PRERELEASEIDENTIFIERLOOSE] + ')*))'\n\n// ## Build Metadata Identifier\n// Any combination of digits, letters, or hyphens.\n\ntok('BUILDIDENTIFIER')\nsrc[t.BUILDIDENTIFIER] = LETTERDASHNUMBER + '+'\n\n// ## Build Metadata\n// Plus sign, followed by one or more period-separated build metadata\n// identifiers.\n\ntok('BUILD')\nsrc[t.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\ntok('FULL')\ntok('FULLPLAIN')\nsrc[t.FULLPLAIN] = 'v?' + src[t.MAINVERSION] +\n src[t.PRERELEASE] + '?' +\n src[t.BUILD] + '?'\n\nsrc[t.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.\ntok('LOOSEPLAIN')\nsrc[t.LOOSEPLAIN] = '[v=\\\\s]*' + src[t.MAINVERSIONLOOSE] +\n src[t.PRERELEASELOOSE] + '?' +\n src[t.BUILD] + '?'\n\ntok('LOOSE')\nsrc[t.LOOSE] = '^' + src[t.LOOSEPLAIN] + '$'\n\ntok('GTLT')\nsrc[t.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.\ntok('XRANGEIDENTIFIERLOOSE')\nsrc[t.XRANGEIDENTIFIERLOOSE] = src[t.NUMERICIDENTIFIERLOOSE] + '|x|X|\\\\*'\ntok('XRANGEIDENTIFIER')\nsrc[t.XRANGEIDENTIFIER] = src[t.NUMERICIDENTIFIER] + '|x|X|\\\\*'\n\ntok('XRANGEPLAIN')\nsrc[t.XRANGEPLAIN] = '[v=\\\\s]*(' + src[t.XRANGEIDENTIFIER] + ')' +\n '(?:\\\\.(' + src[t.XRANGEIDENTIFIER] + ')' +\n '(?:\\\\.(' + src[t.XRANGEIDENTIFIER] + ')' +\n '(?:' + src[t.PRERELEASE] + ')?' +\n src[t.BUILD] + '?' +\n ')?)?'\n\ntok('XRANGEPLAINLOOSE')\nsrc[t.XRANGEPLAINLOOSE] = '[v=\\\\s]*(' + src[t.XRANGEIDENTIFIERLOOSE] + ')' +\n '(?:\\\\.(' + src[t.XRANGEIDENTIFIERLOOSE] + ')' +\n '(?:\\\\.(' + src[t.XRANGEIDENTIFIERLOOSE] + ')' +\n '(?:' + src[t.PRERELEASELOOSE] + ')?' +\n src[t.BUILD] + '?' +\n ')?)?'\n\ntok('XRANGE')\nsrc[t.XRANGE] = '^' + src[t.GTLT] + '\\\\s*' + src[t.XRANGEPLAIN] + '$'\ntok('XRANGELOOSE')\nsrc[t.XRANGELOOSE] = '^' + src[t.GTLT] + '\\\\s*' + src[t.XRANGEPLAINLOOSE] + '$'\n\n// Coercion.\n// Extract anything that could conceivably be a part of a valid semver\ntok('COERCE')\nsrc[t.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])'\ntok('COERCERTL')\nre[t.COERCERTL] = new RegExp(src[t.COERCE], 'g')\nsafeRe[t.COERCERTL] = new RegExp(makeSafeRe(src[t.COERCE]), 'g')\n\n// Tilde ranges.\n// Meaning is \"reasonably at or greater than\"\ntok('LONETILDE')\nsrc[t.LONETILDE] = '(?:~>?)'\n\ntok('TILDETRIM')\nsrc[t.TILDETRIM] = '(\\\\s*)' + src[t.LONETILDE] + '\\\\s+'\nre[t.TILDETRIM] = new RegExp(src[t.TILDETRIM], 'g')\nsafeRe[t.TILDETRIM] = new RegExp(makeSafeRe(src[t.TILDETRIM]), 'g')\nvar tildeTrimReplace = '$1~'\n\ntok('TILDE')\nsrc[t.TILDE] = '^' + src[t.LONETILDE] + src[t.XRANGEPLAIN] + '$'\ntok('TILDELOOSE')\nsrc[t.TILDELOOSE] = '^' + src[t.LONETILDE] + src[t.XRANGEPLAINLOOSE] + '$'\n\n// Caret ranges.\n// Meaning is \"at least and backwards compatible with\"\ntok('LONECARET')\nsrc[t.LONECARET] = '(?:\\\\^)'\n\ntok('CARETTRIM')\nsrc[t.CARETTRIM] = '(\\\\s*)' + src[t.LONECARET] + '\\\\s+'\nre[t.CARETTRIM] = new RegExp(src[t.CARETTRIM], 'g')\nsafeRe[t.CARETTRIM] = new RegExp(makeSafeRe(src[t.CARETTRIM]), 'g')\nvar caretTrimReplace = '$1^'\n\ntok('CARET')\nsrc[t.CARET] = '^' + src[t.LONECARET] + src[t.XRANGEPLAIN] + '$'\ntok('CARETLOOSE')\nsrc[t.CARETLOOSE] = '^' + src[t.LONECARET] + src[t.XRANGEPLAINLOOSE] + '$'\n\n// A simple gt/lt/eq thing, or just \"\" to indicate \"any version\"\ntok('COMPARATORLOOSE')\nsrc[t.COMPARATORLOOSE] = '^' + src[t.GTLT] + '\\\\s*(' + src[t.LOOSEPLAIN] + ')$|^$'\ntok('COMPARATOR')\nsrc[t.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`\ntok('COMPARATORTRIM')\nsrc[t.COMPARATORTRIM] = '(\\\\s*)' + src[t.GTLT] +\n '\\\\s*(' + src[t.LOOSEPLAIN] + '|' + src[t.XRANGEPLAIN] + ')'\n\n// this one has to use the /g flag\nre[t.COMPARATORTRIM] = new RegExp(src[t.COMPARATORTRIM], 'g')\nsafeRe[t.COMPARATORTRIM] = new RegExp(makeSafeRe(src[t.COMPARATORTRIM]), 'g')\nvar 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.\ntok('HYPHENRANGE')\nsrc[t.HYPHENRANGE] = '^\\\\s*(' + src[t.XRANGEPLAIN] + ')' +\n '\\\\s+-\\\\s+' +\n '(' + src[t.XRANGEPLAIN] + ')' +\n '\\\\s*$'\n\ntok('HYPHENRANGELOOSE')\nsrc[t.HYPHENRANGELOOSE] = '^\\\\s*(' + src[t.XRANGEPLAINLOOSE] + ')' +\n '\\\\s+-\\\\s+' +\n '(' + src[t.XRANGEPLAINLOOSE] + ')' +\n '\\\\s*$'\n\n// Star ranges basically just allow anything at all.\ntok('STAR')\nsrc[t.STAR] = '(<|>)?=?\\\\s*\\\\*'\n\n// Compile to actual regexp objects.\n// All are flag-free, unless they were created above with a flag.\nfor (var i = 0; i < R; i++) {\n debug(i, src[i])\n if (!re[i]) {\n re[i] = new RegExp(src[i])\n\n // Replace all greedy whitespace to prevent regex dos issues. These regex are\n // used internally via the safeRe object since all inputs in this library get\n // normalized first to trim and collapse all extra whitespace. The original\n // regexes are exported for userland consumption and lower level usage. A\n // future breaking change could export the safer regex only with a note that\n // all input should have extra whitespace removed.\n safeRe[i] = new RegExp(makeSafeRe(src[i]))\n }\n}\n\nexports.parse = parse\nfunction parse (version, options) {\n if (!options || typeof options !== 'object') {\n options = {\n loose: !!options,\n includePrerelease: false\n }\n }\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 var r = options.loose ? safeRe[t.LOOSE] : safeRe[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\nexports.valid = valid\nfunction valid (version, options) {\n var v = parse(version, options)\n return v ? v.version : null\n}\n\nexports.clean = clean\nfunction clean (version, options) {\n var s = parse(version.trim().replace(/^[=v]+/, ''), options)\n return s ? s.version : null\n}\n\nexports.SemVer = SemVer\n\nfunction SemVer (version, options) {\n if (!options || typeof options !== 'object') {\n options = {\n loose: !!options,\n includePrerelease: false\n }\n }\n if (version instanceof SemVer) {\n if (version.loose === options.loose) {\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('version is longer than ' + MAX_LENGTH + ' characters')\n }\n\n if (!(this instanceof SemVer)) {\n return new SemVer(version, options)\n }\n\n debug('SemVer', version, options)\n this.options = options\n this.loose = !!options.loose\n\n var m = version.trim().match(options.loose ? safeRe[t.LOOSE] : safeRe[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(function (id) {\n if (/^[0-9]+$/.test(id)) {\n var 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\nSemVer.prototype.format = function () {\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\nSemVer.prototype.toString = function () {\n return this.version\n}\n\nSemVer.prototype.compare = function (other) {\n debug('SemVer.compare', this.version, this.options, other)\n if (!(other instanceof SemVer)) {\n other = new SemVer(other, this.options)\n }\n\n return this.compareMain(other) || this.comparePre(other)\n}\n\nSemVer.prototype.compareMain = function (other) {\n if (!(other instanceof SemVer)) {\n other = new SemVer(other, this.options)\n }\n\n return compareIdentifiers(this.major, other.major) ||\n compareIdentifiers(this.minor, other.minor) ||\n compareIdentifiers(this.patch, other.patch)\n}\n\nSemVer.prototype.comparePre = function (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 var i = 0\n do {\n var a = this.prerelease[i]\n var 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\nSemVer.prototype.compareBuild = function (other) {\n if (!(other instanceof SemVer)) {\n other = new SemVer(other, this.options)\n }\n\n var i = 0\n do {\n var a = this.build[i]\n var 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.\nSemVer.prototype.inc = function (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 (this.minor !== 0 ||\n this.patch !== 0 ||\n this.prerelease.length === 0) {\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 var 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 (this.prerelease[0] === identifier) {\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\nexports.inc = inc\nfunction inc (version, release, loose, identifier) {\n if (typeof (loose) === 'string') {\n identifier = loose\n loose = undefined\n }\n\n try {\n return new SemVer(version, loose).inc(release, identifier).version\n } catch (er) {\n return null\n }\n}\n\nexports.diff = diff\nfunction diff (version1, version2) {\n if (eq(version1, version2)) {\n return null\n } else {\n var v1 = parse(version1)\n var v2 = parse(version2)\n var prefix = ''\n if (v1.prerelease.length || v2.prerelease.length) {\n prefix = 'pre'\n var defaultResult = 'prerelease'\n }\n for (var 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}\n\nexports.compareIdentifiers = compareIdentifiers\n\nvar numeric = /^[0-9]+$/\nfunction compareIdentifiers (a, b) {\n var anum = numeric.test(a)\n var 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\nexports.rcompareIdentifiers = rcompareIdentifiers\nfunction rcompareIdentifiers (a, b) {\n return compareIdentifiers(b, a)\n}\n\nexports.major = major\nfunction major (a, loose) {\n return new SemVer(a, loose).major\n}\n\nexports.minor = minor\nfunction minor (a, loose) {\n return new SemVer(a, loose).minor\n}\n\nexports.patch = patch\nfunction patch (a, loose) {\n return new SemVer(a, loose).patch\n}\n\nexports.compare = compare\nfunction compare (a, b, loose) {\n return new SemVer(a, loose).compare(new SemVer(b, loose))\n}\n\nexports.compareLoose = compareLoose\nfunction compareLoose (a, b) {\n return compare(a, b, true)\n}\n\nexports.compareBuild = compareBuild\nfunction compareBuild (a, b, loose) {\n var versionA = new SemVer(a, loose)\n var versionB = new SemVer(b, loose)\n return versionA.compare(versionB) || versionA.compareBuild(versionB)\n}\n\nexports.rcompare = rcompare\nfunction rcompare (a, b, loose) {\n return compare(b, a, loose)\n}\n\nexports.sort = sort\nfunction sort (list, loose) {\n return list.sort(function (a, b) {\n return exports.compareBuild(a, b, loose)\n })\n}\n\nexports.rsort = rsort\nfunction rsort (list, loose) {\n return list.sort(function (a, b) {\n return exports.compareBuild(b, a, loose)\n })\n}\n\nexports.gt = gt\nfunction gt (a, b, loose) {\n return compare(a, b, loose) > 0\n}\n\nexports.lt = lt\nfunction lt (a, b, loose) {\n return compare(a, b, loose) < 0\n}\n\nexports.eq = eq\nfunction eq (a, b, loose) {\n return compare(a, b, loose) === 0\n}\n\nexports.neq = neq\nfunction neq (a, b, loose) {\n return compare(a, b, loose) !== 0\n}\n\nexports.gte = gte\nfunction gte (a, b, loose) {\n return compare(a, b, loose) >= 0\n}\n\nexports.lte = lte\nfunction lte (a, b, loose) {\n return compare(a, b, loose) <= 0\n}\n\nexports.cmp = cmp\nfunction cmp (a, op, b, loose) {\n switch (op) {\n case '===':\n if (typeof a === 'object')\n a = a.version\n if (typeof b === 'object')\n b = b.version\n return a === b\n\n case '!==':\n if (typeof a === 'object')\n a = a.version\n if (typeof b === 'object')\n b = b.version\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}\n\nexports.Comparator = Comparator\nfunction Comparator (comp, options) {\n if (!options || typeof options !== 'object') {\n options = {\n loose: !!options,\n includePrerelease: false\n }\n }\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 if (!(this instanceof Comparator)) {\n return new Comparator(comp, options)\n }\n\n comp = comp.trim().split(/\\s+/).join(' ')\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\nvar ANY = {}\nComparator.prototype.parse = function (comp) {\n var r = this.options.loose ? safeRe[t.COMPARATORLOOSE] : safeRe[t.COMPARATOR]\n var 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\nComparator.prototype.toString = function () {\n return this.value\n}\n\nComparator.prototype.test = function (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\nComparator.prototype.intersects = function (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 var rangeTmp\n\n if (this.operator === '') {\n if (this.value === '') {\n return true\n }\n rangeTmp = new Range(comp.value, options)\n return satisfies(this.value, rangeTmp, options)\n } else if (comp.operator === '') {\n if (comp.value === '') {\n return true\n }\n rangeTmp = new Range(this.value, options)\n return satisfies(comp.semver, rangeTmp, options)\n }\n\n var sameDirectionIncreasing =\n (this.operator === '>=' || this.operator === '>') &&\n (comp.operator === '>=' || comp.operator === '>')\n var sameDirectionDecreasing =\n (this.operator === '<=' || this.operator === '<') &&\n (comp.operator === '<=' || comp.operator === '<')\n var sameSemVer = this.semver.version === comp.semver.version\n var differentDirectionsInclusive =\n (this.operator === '>=' || this.operator === '<=') &&\n (comp.operator === '>=' || comp.operator === '<=')\n var oppositeDirectionsLessThan =\n cmp(this.semver, '<', comp.semver, options) &&\n ((this.operator === '>=' || this.operator === '>') &&\n (comp.operator === '<=' || comp.operator === '<'))\n var oppositeDirectionsGreaterThan =\n cmp(this.semver, '>', comp.semver, options) &&\n ((this.operator === '<=' || this.operator === '<') &&\n (comp.operator === '>=' || comp.operator === '>'))\n\n return sameDirectionIncreasing || sameDirectionDecreasing ||\n (sameSemVer && differentDirectionsInclusive) ||\n oppositeDirectionsLessThan || oppositeDirectionsGreaterThan\n}\n\nexports.Range = Range\nfunction Range (range, options) {\n if (!options || typeof options !== 'object') {\n options = {\n loose: !!options,\n includePrerelease: false\n }\n }\n\n if (range instanceof Range) {\n if (range.loose === !!options.loose &&\n range.includePrerelease === !!options.includePrerelease) {\n return range\n } else {\n return new Range(range.raw, options)\n }\n }\n\n if (range instanceof Comparator) {\n return new Range(range.value, options)\n }\n\n if (!(this instanceof Range)) {\n return new Range(range, options)\n }\n\n this.options = options\n this.loose = !!options.loose\n this.includePrerelease = !!options.includePrerelease\n\n // First reduce all whitespace as much as possible so we do not have to rely\n // on potentially slow regexes like \\s*. This is then stored and used for\n // future error messages as well.\n this.raw = range\n .trim()\n .split(/\\s+/)\n .join(' ')\n\n // First, split based on boolean or ||\n this.set = this.raw.split('||').map(function (range) {\n return this.parseRange(range.trim())\n }, this).filter(function (c) {\n // throw out any that are not relevant for whatever reason\n return c.length\n })\n\n if (!this.set.length) {\n throw new TypeError('Invalid SemVer Range: ' + this.raw)\n }\n\n this.format()\n}\n\nRange.prototype.format = function () {\n this.range = this.set.map(function (comps) {\n return comps.join(' ').trim()\n }).join('||').trim()\n return this.range\n}\n\nRange.prototype.toString = function () {\n return this.range\n}\n\nRange.prototype.parseRange = function (range) {\n var loose = this.options.loose\n // `1.2.3 - 1.2.4` => `>=1.2.3 <=1.2.4`\n var hr = loose ? safeRe[t.HYPHENRANGELOOSE] : safeRe[t.HYPHENRANGE]\n range = range.replace(hr, hyphenReplace)\n debug('hyphen replace', range)\n // `> 1.2.3 < 1.2.5` => `>1.2.3 <1.2.5`\n range = range.replace(safeRe[t.COMPARATORTRIM], comparatorTrimReplace)\n debug('comparator trim', range, safeRe[t.COMPARATORTRIM])\n\n // `~ 1.2.3` => `~1.2.3`\n range = range.replace(safeRe[t.TILDETRIM], tildeTrimReplace)\n\n // `^ 1.2.3` => `^1.2.3`\n range = range.replace(safeRe[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 var compRe = loose ? safeRe[t.COMPARATORLOOSE] : safeRe[t.COMPARATOR]\n var set = range.split(' ').map(function (comp) {\n return parseComparator(comp, this.options)\n }, this).join(' ').split(/\\s+/)\n if (this.options.loose) {\n // in loose mode, throw out any that are not valid comparators\n set = set.filter(function (comp) {\n return !!comp.match(compRe)\n })\n }\n set = set.map(function (comp) {\n return new Comparator(comp, this.options)\n }, this)\n\n return set\n}\n\nRange.prototype.intersects = function (range, options) {\n if (!(range instanceof Range)) {\n throw new TypeError('a Range is required')\n }\n\n return this.set.some(function (thisComparators) {\n return (\n isSatisfiable(thisComparators, options) &&\n range.set.some(function (rangeComparators) {\n return (\n isSatisfiable(rangeComparators, options) &&\n thisComparators.every(function (thisComparator) {\n return rangeComparators.every(function (rangeComparator) {\n return thisComparator.intersects(rangeComparator, options)\n })\n })\n )\n })\n )\n })\n}\n\n// take a set of comparators and determine whether there\n// exists a version which can satisfy it\nfunction isSatisfiable (comparators, options) {\n var result = true\n var remainingComparators = comparators.slice()\n var testComparator = remainingComparators.pop()\n\n while (result && remainingComparators.length) {\n result = remainingComparators.every(function (otherComparator) {\n return testComparator.intersects(otherComparator, options)\n })\n\n testComparator = remainingComparators.pop()\n }\n\n return result\n}\n\n// Mostly just for testing and legacy API reasons\nexports.toComparators = toComparators\nfunction toComparators (range, options) {\n return new Range(range, options).set.map(function (comp) {\n return comp.map(function (c) {\n return c.value\n }).join(' ').trim().split(' ')\n })\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.\nfunction 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\nfunction isX (id) {\n return !id || id.toLowerCase() === 'x' || id === '*'\n}\n\n// ~, ~> --> * (any, kinda silly)\n// ~2, ~2.x, ~2.x.x, ~>2, ~>2.x ~>2.x.x --> >=2.0.0 <3.0.0\n// ~2.0, ~2.0.x, ~>2.0, ~>2.0.x --> >=2.0.0 <2.1.0\n// ~1.2, ~1.2.x, ~>1.2, ~>1.2.x --> >=1.2.0 <1.3.0\n// ~1.2.3, ~>1.2.3 --> >=1.2.3 <1.3.0\n// ~1.2.0, ~>1.2.0 --> >=1.2.0 <1.3.0\nfunction replaceTildes (comp, options) {\n return comp.trim().split(/\\s+/).map(function (comp) {\n return replaceTilde(comp, options)\n }).join(' ')\n}\n\nfunction replaceTilde (comp, options) {\n var r = options.loose ? safeRe[t.TILDELOOSE] : safeRe[t.TILDE]\n return comp.replace(r, function (_, M, m, p, pr) {\n debug('tilde', comp, _, M, m, p, pr)\n var ret\n\n if (isX(M)) {\n ret = ''\n } else if (isX(m)) {\n ret = '>=' + M + '.0.0 <' + (+M + 1) + '.0.0'\n } else if (isX(p)) {\n // ~1.2 == >=1.2.0 <1.3.0\n ret = '>=' + M + '.' + m + '.0 <' + M + '.' + (+m + 1) + '.0'\n } else if (pr) {\n debug('replaceTilde pr', pr)\n ret = '>=' + M + '.' + m + '.' + p + '-' + pr +\n ' <' + M + '.' + (+m + 1) + '.0'\n } else {\n // ~1.2.3 == >=1.2.3 <1.3.0\n ret = '>=' + M + '.' + m + '.' + p +\n ' <' + M + '.' + (+m + 1) + '.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\n// ^2.0, ^2.0.x --> >=2.0.0 <3.0.0\n// ^1.2, ^1.2.x --> >=1.2.0 <2.0.0\n// ^1.2.3 --> >=1.2.3 <2.0.0\n// ^1.2.0 --> >=1.2.0 <2.0.0\nfunction replaceCarets (comp, options) {\n return comp.trim().split(/\\s+/).map(function (comp) {\n return replaceCaret(comp, options)\n }).join(' ')\n}\n\nfunction replaceCaret (comp, options) {\n debug('caret', comp, options)\n var r = options.loose ? safeRe[t.CARETLOOSE] : safeRe[t.CARET]\n return comp.replace(r, function (_, M, m, p, pr) {\n debug('caret', comp, _, M, m, p, pr)\n var ret\n\n if (isX(M)) {\n ret = ''\n } else if (isX(m)) {\n ret = '>=' + M + '.0.0 <' + (+M + 1) + '.0.0'\n } else if (isX(p)) {\n if (M === '0') {\n ret = '>=' + M + '.' + m + '.0 <' + M + '.' + (+m + 1) + '.0'\n } else {\n ret = '>=' + M + '.' + m + '.0 <' + (+M + 1) + '.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)\n } else {\n ret = '>=' + M + '.' + m + '.' + p + '-' + pr +\n ' <' + M + '.' + (+m + 1) + '.0'\n }\n } else {\n ret = '>=' + M + '.' + m + '.' + p + '-' + pr +\n ' <' + (+M + 1) + '.0.0'\n }\n } else {\n debug('no pr')\n if (M === '0') {\n if (m === '0') {\n ret = '>=' + M + '.' + m + '.' + p +\n ' <' + M + '.' + m + '.' + (+p + 1)\n } else {\n ret = '>=' + M + '.' + m + '.' + p +\n ' <' + M + '.' + (+m + 1) + '.0'\n }\n } else {\n ret = '>=' + M + '.' + m + '.' + p +\n ' <' + (+M + 1) + '.0.0'\n }\n }\n\n debug('caret return', ret)\n return ret\n })\n}\n\nfunction replaceXRanges (comp, options) {\n debug('replaceXRanges', comp, options)\n return comp.split(/\\s+/).map(function (comp) {\n return replaceXRange(comp, options)\n }).join(' ')\n}\n\nfunction replaceXRange (comp, options) {\n comp = comp.trim()\n var r = options.loose ? safeRe[t.XRANGELOOSE] : safeRe[t.XRANGE]\n return comp.replace(r, function (ret, gtlt, M, m, p, pr) {\n debug('xRange', comp, ret, gtlt, M, m, p, pr)\n var xM = isX(M)\n var xm = xM || isX(m)\n var xp = xm || isX(p)\n var 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 // >1.2.3 => >= 1.2.4\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 ret = gtlt + M + '.' + m + '.' + p + pr\n } else if (xm) {\n ret = '>=' + M + '.0.0' + pr + ' <' + (+M + 1) + '.0.0' + pr\n } else if (xp) {\n ret = '>=' + M + '.' + m + '.0' + pr +\n ' <' + M + '.' + (+m + 1) + '.0' + pr\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.\nfunction 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(safeRe[t.STAR], '')\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 Any 3.4.x will do\n// 1.2 - 3.4 => >=1.2.0 <3.5.0\nfunction hyphenReplace ($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'\n } else if (isX(fp)) {\n from = '>=' + fM + '.' + fm + '.0'\n } else {\n from = '>=' + from\n }\n\n if (isX(tM)) {\n to = ''\n } else if (isX(tm)) {\n to = '<' + (+tM + 1) + '.0.0'\n } else if (isX(tp)) {\n to = '<' + tM + '.' + (+tm + 1) + '.0'\n } else if (tpr) {\n to = '<=' + tM + '.' + tm + '.' + tp + '-' + tpr\n } else {\n to = '<=' + to\n }\n\n return (from + ' ' + to).trim()\n}\n\n// if ANY of the sets match ALL of its comparators, then pass\nRange.prototype.test = function (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 (var 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\nfunction testSet (set, version, options) {\n for (var 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 (i = 0; i < set.length; i++) {\n debug(set[i].semver)\n if (set[i].semver === ANY) {\n continue\n }\n\n if (set[i].semver.prerelease.length > 0) {\n var 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\nexports.satisfies = satisfies\nfunction 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}\n\nexports.maxSatisfying = maxSatisfying\nfunction maxSatisfying (versions, range, options) {\n var max = null\n var maxSV = null\n try {\n var rangeObj = new Range(range, options)\n } catch (er) {\n return null\n }\n versions.forEach(function (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}\n\nexports.minSatisfying = minSatisfying\nfunction minSatisfying (versions, range, options) {\n var min = null\n var minSV = null\n try {\n var rangeObj = new Range(range, options)\n } catch (er) {\n return null\n }\n versions.forEach(function (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}\n\nexports.minVersion = minVersion\nfunction minVersion (range, loose) {\n range = new Range(range, loose)\n\n var 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 (var i = 0; i < range.set.length; ++i) {\n var comparators = range.set[i]\n\n comparators.forEach(function (comparator) {\n // Clone to avoid manipulating the comparator's semver object.\n var 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 (!minver || gt(minver, compver)) {\n minver = 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 }\n\n if (minver && range.test(minver)) {\n return minver\n }\n\n return null\n}\n\nexports.validRange = validRange\nfunction 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}\n\n// Determine if version is less than all the versions possible in the range\nexports.ltr = ltr\nfunction ltr (version, range, options) {\n return outside(version, range, '<', options)\n}\n\n// Determine if version is greater than all the versions possible in the range.\nexports.gtr = gtr\nfunction gtr (version, range, options) {\n return outside(version, range, '>', options)\n}\n\nexports.outside = outside\nfunction outside (version, range, hilo, options) {\n version = new SemVer(version, options)\n range = new Range(range, options)\n\n var 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 satisifes 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 (var i = 0; i < range.set.length; ++i) {\n var comparators = range.set[i]\n\n var high = null\n var low = null\n\n comparators.forEach(function (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\nexports.prerelease = prerelease\nfunction prerelease (version, options) {\n var parsed = parse(version, options)\n return (parsed && parsed.prerelease.length) ? parsed.prerelease : null\n}\n\nexports.intersects = intersects\nfunction intersects (r1, r2, options) {\n r1 = new Range(r1, options)\n r2 = new Range(r2, options)\n return r1.intersects(r2)\n}\n\nexports.coerce = coerce\nfunction 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 var match = null\n if (!options.rtl) {\n match = version.match(safeRe[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 var next\n while ((next = safeRe[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 safeRe[t.COERCERTL].lastIndex = next.index + next[1].length + next[2].length\n }\n // leave it in a clean state\n safeRe[t.COERCERTL].lastIndex = -1\n }\n\n if (match === null) {\n return null\n }\n\n return parse(match[2] +\n '.' + (match[3] || '0') +\n '.' + (match[4] || '0'), options)\n}\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,null,null,"module.exports = (Promise.resolve(__parcel__require__(\"./\" + \"actions_python.e4ef0efb.js\"))).then(() => parcelRequire('8MXq9'));","#!/usr/bin/env node\n/* eslint-disable node/shebang */\n\nimport { GITHUB_ACTIONS, isCI } from \"ci-info\"\nimport { error, info, success, warning } from \"ci-log\"\nimport * as numerous from \"numerous\"\nimport numerousLocale from \"numerous/locales/en.js\"\nimport * as timeDelta from \"time-delta\"\nimport timeDeltaLocale from \"time-delta/locales/en.js\"\nimport { untildifyUser } from \"untildify-user\"\nimport { checkUpdates } from \"./check-updates\"\nimport { parseArgs, printHelp } from \"./cli-options\"\nimport { installCompiler } from \"./compilers\"\nimport { finalizeCpprc } from \"./utils/env/addEnv\"\nimport { isArch } from \"./utils/env/isArch\"\nimport { ubuntuVersion } from \"./utils/env/ubuntu_version\"\nimport { setupPacmanPack } from \"./utils/setup/setupPacmanPack\"\nimport { syncVersions } from \"./versions/versions\"\nimport { installTool } from \"./installTool\"\nimport { tools } from \"./tool\"\n\n/** The main entry function */\nasync function main(args: string[]): Promise {\n let checkUpdatePromise = Promise.resolve()\n if (!GITHUB_ACTIONS) {\n checkUpdatePromise = checkUpdates()\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 as numerous.Locale)\n let time1: number\n let time2: number\n\n // installing the specified tools\n\n const osVersion = await ubuntuVersion()\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 if (isArch() && typeof opts.cppcheck === \"string\" && typeof opts.gcovr === \"string\") {\n info(\"installing python-pygments to avoid conflicts with cppcheck and gcovr on Arch linux\")\n await setupPacmanPack(\"python-pygments\")\n }\n\n /** Used to unset CPPFLAGS of LLVM when other compilers are used as the main compiler */\n let hasLLVM = false\n\n // loop over the tools and run their setup function\n\n let failedFast = false\n for (const tool of tools) {\n // fail fast inside CI when any tool fails\n if (isCI) {\n if (errorMessages.length !== 0) {\n failedFast = true\n break\n }\n }\n\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 // eslint-disable-next-line no-await-in-loop\n hasLLVM = await installTool(\n tool,\n version,\n osVersion,\n arch,\n setupCppDir,\n successMessages,\n errorMessages,\n parseFloat(opts.timeout ?? \"20\") * 60 * 1000,\n )\n time2 = Date.now()\n info(`took ${timeFormatter.format(time1, time2) || \"0 seconds\"}`)\n }\n }\n\n if (!failedFast) {\n // installing the specified compiler\n const maybeCompiler = opts.compiler\n if (maybeCompiler !== undefined) {\n const time1Compiler = Date.now()\n await installCompiler(maybeCompiler, osVersion, setupCppDir, arch, successMessages, hasLLVM, errorMessages)\n const time2Compiler = Date.now()\n info(`took ${timeFormatter.format(time1Compiler, time2Compiler) || \"0 seconds\"}`)\n }\n }\n\n await finalizeCpprc()\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 (!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 await checkUpdatePromise\n\n return errorMessages.length === 0 ? 0 : 1 // exit with non-zero if any error message\n}\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","(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);","\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","import { join } from \"path\"\nimport untildify from \"untildify\"\nimport { isSudo } from \"admina\"\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","'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","export * from \"./root\"\nexport * from \"./admin\"\nexport * from \"./user-access\"\n",null,"import which from \"which\"\nimport * as execa from \"execa\"\n\n/** Detect if sudo is available */\nexport function hasSudo(): boolean {\n return which.sync(\"sudo\", { nothrow: true }) !== null\n}\n\n/**\n * Detect if the process has root privilege on Posix.\n *\n * @example\n *\n * ```js\n * import { isRoot } from \"admina\"\n *\n * console.log(isRoot())\n * //=> false\n * ```\n *\n * @returns Whether the process is running as root.\n */\nexport function isRoot(): boolean {\n // TODO not all CI systems are root\n return process.getuid?.() === 0 || Boolean(process.env.CI)\n}\n\n/** Detect if sudo is available and the user has root privileges */\nexport function isSudo(): boolean {\n return isRoot() && hasSudo()\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/** Default exec options `{ stdio: \"inherit\", shell: true }` */\nexport const defaultExecOptions: execa.SyncOptions = { stdio: \"inherit\", shell: true }\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 = defaultExecOptions\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 = defaultExecOptions\n): execa.ExecaChildProcess {\n if (isSudo()) {\n return execa.command(`sudo ${[program, ...args].map((arg) => `'${arg}'`).join(\" \")}`, execOptions)\n } else {\n return execa.default(program, args, execOptions)\n }\n}\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","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","'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 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';\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\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 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';\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';\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';\nmodule.exports = /^#!(.*)/;\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\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';\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","'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 {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",null,"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",null,"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",null,"/* 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",null,"// 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 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","'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","// 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 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 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 {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","'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';\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",null,"import { default as isAdminWindowsOrig } from \"./is-admin\"\nimport { isRoot } from \"./root\"\n\n/**\n * Check if the process is running as administrator on Windows.\n *\n * @example\n *\n * ```js\n * import { isAdminWindows } from \"admina\"\n *\n * console.log(await isAdminWindows())\n * //=> false\n * ```\n *\n * @returns Whether the process is running as administrator.\n */\nexport const isAdminWindows = isAdminWindowsOrig\n\n/**\n * Detect if the process has root privilege on Posix.\n *\n * @example\n *\n * ```js\n * import { isAdminPosix } from \"admina\"\n *\n * console.log(isAdminPosix())\n * //=> false\n * ```\n *\n * @returns Whether the process is running as root.\n */\nexport const isAdminPosix = isRoot\n\n/**\n * Detect if the code is running as admin/root\n *\n * On Windows, it checks for admin access, and on Posix, it checks for root access\n *\n * @example\n *\n * ```js\n * import { isAdmin } from \"admina\"\n *\n * console.log(isAdmin())\n * //=> false\n * ```\n *\n * @returns Whether the process is running as root or admin.\n */\nexport function isAdmin() {\n if (process.platform === \"win32\") {\n return isAdminWindows()\n } else {\n return isRoot()\n }\n}\n",null,"// From `is-admin`: removed `node:proces` so that the code works on Deno and Node 12\n\n// cspell:disable\n\nimport execa from \"execa\"\n\n// https://stackoverflow.com/a/28268802\nasync function testFltmc() {\n try {\n await execa(\"fltmc\")\n return true\n } catch {\n return false\n }\n}\n\nexport default async function isAdmin() {\n if (process.platform !== \"win32\") {\n return false\n }\n\n try {\n // https://stackoverflow.com/a/21295806/1641422\n await execa(\"fsutil\", [\"dirty\", \"query\", process.env.systemdrive ?? \"\"])\n return true\n } catch (error) {\n if ((error as { code?: string }).code === \"ENOENT\") {\n return testFltmc()\n }\n\n return false\n }\n}\n",null,"import { isSudo, execRoot, defaultExecOptions } from \"./root\"\nimport { statSync } from \"fs\"\nimport process from \"process\"\n\n/**\n * Give the user access to the given path (and its sub-directories if a directory). It changes the owner to the\n * SUDO_USER. This allows the user to use the folder without sudo\n *\n * @param path The path to give the user access to\n */\nexport async function grantUserWriteAccess(path: string) {\n if (\n (process.platform === \"linux\" || process.platform === \"darwin\") &&\n isSudo() &&\n process.env.SUDO_USER !== undefined\n ) {\n const isDirectory = statSync(path).isDirectory()\n await execRoot(\"chown\", [...(isDirectory ? [\"-R\"] : []), process.env.SUDO_USER, path], defaultExecOptions)\n }\n}\n","import { warning } from \"ci-log\"\nimport updateNotifier from \"simple-update-notifier\"\nimport packageJson from \"../package-version.json\"\n\n// auto self update notifier\nexport async function checkUpdates() {\n try {\n await updateNotifier({ pkg: packageJson })\n } catch (err) {\n warning(`Failed to check for updates: ${err instanceof Error ? err.message + err.stack : err}`)\n }\n}\n","'use strict';\n\nvar process$1 = require('process');\nvar semver = require('semver');\nvar os = require('os');\nvar path = require('path');\nvar fs = require('fs');\nvar https = require('https');\n\n/******************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\n\r\nfunction __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nfunction __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\n\nvar packageJson = process$1.env.npm_package_json;\nvar userAgent = process$1.env.npm_config_user_agent;\nvar isNpm6 = Boolean(userAgent && userAgent.startsWith('npm'));\nvar isNpm7 = Boolean(packageJson && packageJson.endsWith('package.json'));\nvar isNpm = isNpm6 || isNpm7;\nvar isYarn = Boolean(userAgent && userAgent.startsWith('yarn'));\nvar isNpmOrYarn = isNpm || isYarn;\n\nvar homeDirectory = os.homedir();\nvar configDir = process.env.XDG_CONFIG_HOME ||\n path.join(homeDirectory, '.config', 'simple-update-notifier');\nvar getConfigFile = function (packageName) {\n return path.join(configDir, \"\".concat(packageName.replace('@', '').replace('/', '__'), \".json\"));\n};\nvar createConfigDir = function () {\n if (!fs.existsSync(configDir)) {\n fs.mkdirSync(configDir, { recursive: true });\n }\n};\nvar getLastUpdate = function (packageName) {\n var configFile = getConfigFile(packageName);\n try {\n if (!fs.existsSync(configFile)) {\n return undefined;\n }\n var file = JSON.parse(fs.readFileSync(configFile, 'utf8'));\n return file.lastUpdateCheck;\n }\n catch (_a) {\n return undefined;\n }\n};\nvar saveLastUpdate = function (packageName) {\n var configFile = getConfigFile(packageName);\n fs.writeFileSync(configFile, JSON.stringify({ lastUpdateCheck: new Date().getTime() }));\n};\n\nvar getDistVersion = function (packageName, distTag) { return __awaiter(void 0, void 0, void 0, function () {\n var url;\n return __generator(this, function (_a) {\n url = \"https://registry.npmjs.org/-/package/\".concat(packageName, \"/dist-tags\");\n return [2 /*return*/, new Promise(function (resolve, reject) {\n https\n .get(url, function (res) {\n var body = '';\n res.on('data', function (chunk) { return (body += chunk); });\n res.on('end', function () {\n try {\n var json = JSON.parse(body);\n var version = json[distTag];\n if (!version) {\n reject(new Error('Error getting version'));\n }\n resolve(version);\n }\n catch (_a) {\n reject(new Error('Could not parse version response'));\n }\n });\n })\n .on('error', function (err) { return reject(err); });\n })];\n });\n}); };\n\nvar hasNewVersion = function (_a) {\n var pkg = _a.pkg, _b = _a.updateCheckInterval, updateCheckInterval = _b === void 0 ? 1000 * 60 * 60 * 24 : _b, _c = _a.distTag, distTag = _c === void 0 ? 'latest' : _c, alwaysRun = _a.alwaysRun, debug = _a.debug;\n return __awaiter(void 0, void 0, void 0, function () {\n var lastUpdateCheck, latestVersion;\n return __generator(this, function (_d) {\n switch (_d.label) {\n case 0:\n createConfigDir();\n lastUpdateCheck = getLastUpdate(pkg.name);\n if (!(alwaysRun ||\n !lastUpdateCheck ||\n lastUpdateCheck < new Date().getTime() - updateCheckInterval)) return [3 /*break*/, 2];\n return [4 /*yield*/, getDistVersion(pkg.name, distTag)];\n case 1:\n latestVersion = _d.sent();\n saveLastUpdate(pkg.name);\n if (semver.gt(latestVersion, pkg.version)) {\n return [2 /*return*/, latestVersion];\n }\n else if (debug) {\n console.error(\"Latest version (\".concat(latestVersion, \") not newer than current version (\").concat(pkg.version, \")\"));\n }\n return [3 /*break*/, 3];\n case 2:\n if (debug) {\n console.error(\"Too recent to check for a new update. simpleUpdateNotifier() interval set to \".concat(updateCheckInterval, \"ms but only \").concat(new Date().getTime() - lastUpdateCheck, \"ms since last check.\"));\n }\n _d.label = 3;\n case 3: return [2 /*return*/, false];\n }\n });\n });\n};\n\nvar borderedText = function (text) {\n var lines = text.split('\\n');\n var width = Math.max.apply(Math, lines.map(function (l) { return l.length; }));\n var res = [\"\\u250C\".concat('─'.repeat(width + 2), \"\\u2510\")];\n for (var _i = 0, lines_1 = lines; _i < lines_1.length; _i++) {\n var line = lines_1[_i];\n res.push(\"\\u2502 \".concat(line.padEnd(width), \" \\u2502\"));\n }\n res.push(\"\\u2514\".concat('─'.repeat(width + 2), \"\\u2518\"));\n return res.join('\\n');\n};\n\nvar simpleUpdateNotifier = function (args) { return __awaiter(void 0, void 0, void 0, function () {\n var latestVersion, err_1;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n if (!args.alwaysRun &&\n (!process.stdout.isTTY || (isNpmOrYarn && !args.shouldNotifyInNpmScript))) {\n if (args.debug) {\n console.error('Opting out of running simpleUpdateNotifier()');\n }\n return [2 /*return*/];\n }\n _a.label = 1;\n case 1:\n _a.trys.push([1, 3, , 4]);\n return [4 /*yield*/, hasNewVersion(args)];\n case 2:\n latestVersion = _a.sent();\n if (latestVersion) {\n console.error(borderedText(\"New version of \".concat(args.pkg.name, \" available!\\nCurrent Version: \").concat(args.pkg.version, \"\\nLatest Version: \").concat(latestVersion)));\n }\n return [3 /*break*/, 4];\n case 3:\n err_1 = _a.sent();\n // Catch any network errors or cache writing errors so module doesn't cause a crash\n if (args.debug && err_1 instanceof Error) {\n console.error('Unexpected error in simpleUpdateNotifier():', err_1);\n }\n return [3 /*break*/, 4];\n case 4: return [2 /*return*/];\n }\n });\n}); };\n\nmodule.exports = simpleUpdateNotifier;\n","{\n \"name\": \"setup-cpp\",\n \"version\": \"0.36.1\"\n}\n","import { getInput } from \"@actions/core\"\nimport { info } from \"ci-log\"\nimport mri from \"mri\"\nimport { InstallationInfo } from \"./utils/setup/setupBin\"\nimport { Inputs, inputs } from \"./tool\"\n\nexport function parseArgs(args: string[]): Opts {\n return mri & { help: boolean }>(args, {\n string: [...inputs, \"timeout\"],\n default: Object.fromEntries(inputs.map((inp) => [inp, maybeGetInput(inp)])),\n alias: { h: \"help\" },\n boolean: \"help\",\n })\n}\n\nexport function 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--timeout\\t the timeout for the installation of each tool in minutes. By default it is 10 minutes.\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--$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`)\n\n console.table(\n {\n \"compiler and analyzer\": { tools: `--llvm, --gcc, --msvc, --vcvarsall, --cppcheck, --clangtidy, --clangformat` },\n \"build system\": { tools: `--cmake, --ninja, --meson, --make, --task, --bazel` },\n \"package manager\": { tools: `--vcpkg, --conan, --choco, --brew, --nala` },\n cache: { tools: `--cppcache, --sccache` },\n documentation: { tools: `--doxygen, --graphviz` },\n coverage: { tools: `--gcovr, --opencppcoverage, --kcov` },\n other: { tools: `--python, --powershell, --sevenzip` },\n },\n [\"tools\"],\n )\n}\n/** Get an object from github actions */\n\nexport function maybeGetInput(key: string) {\n const value = getInput(key.toLowerCase())\n if (value !== \"false\" && value !== \"\") {\n return value\n }\n return undefined // skip installation\n}\nexport type Opts = mri.Argv<\n Record & {\n help: boolean\n timeout?: string\n }\n>\n\nexport function 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","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 { setupBazel } from \"./bazel/bazel\"\nimport { setupBrew } from \"./brew/brew\"\nimport { setupCcache } from \"./ccache/ccache\"\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 { setupGcc } from \"./gcc/gcc\"\nimport { setupGcovr } from \"./gcovr/gcovr\"\nimport { setupGraphviz } from \"./graphviz/graphviz\"\nimport { setupKcov } from \"./kcov/kcov\"\nimport { setupClangTools, setupLLVM, setupClangFormat } from \"./llvm/llvm\"\nimport { setupMake } from \"./make/make\"\nimport { setupMeson } from \"./meson/meson\"\nimport { setupMSVC } from \"./msvc/msvc\"\nimport { setupNala } from \"./nala/nala\"\nimport { setupNinja } from \"./ninja/ninja\"\nimport { setupOpencppcoverage } from \"./opencppcoverage/opencppcoverage\"\nimport { setupPowershell } from \"./powershell/powershell\"\nimport { setupPython } from \"./python/python\"\nimport { setupSccache } from \"./sccache/sccache\"\nimport { setupSevenZip } from \"./sevenzip/sevenzip\"\nimport { setupTask } from \"./task/task\"\nimport { setupVcpkg } from \"./vcpkg/vcpkg\"\nimport { setupVCVarsall } from \"./vcvarsall/vcvarsall\"\n\n/** The setup functions */\nexport const 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 sccache: setupSccache,\n doxygen: setupDoxygen,\n graphviz: setupGraphviz,\n cppcheck: setupCppcheck,\n clangtidy: setupClangTools,\n clangformat: setupClangFormat,\n msvc: setupMSVC,\n vcvarsall: setupVCVarsall,\n kcov: setupKcov,\n make: setupMake,\n task: setupTask,\n sevenzip: setupSevenZip,\n}\n\nexport type ToolName = keyof typeof setups\n\n/** The tools that can be installed */\nexport const tools = Object.keys(setups) as Array\n\n/** The possible inputs to the program */\nexport type Inputs = keyof typeof setups | \"compiler\" | \"architecture\" | \"timeout\"\n\n/** ‌ an array of possible inputs */\nexport const inputs: Array = [\"compiler\", \"architecture\", \"timeout\", ...tools]\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 \"admina\"\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 await setupDnfPack([{ name: \"dnf-plugins-core\" }])\n execRootSync(\"dnf\", [\"copr\", \"enable\", \"vbatts/bazel\"])\n return setupDnfPack([{ name: \"bazel4\" }])\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([{ name: \"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 { InstallationInfo } from \"./setupBin\"\nimport { execRoot, execRootSync } from \"admina\"\nimport { GITHUB_ACTIONS } from \"ci-info\"\nimport { addEnv, cpprc_path, setupCppInProfile } from \"../env/addEnv\"\nimport { pathExists } from \"path-exists\"\nimport { promises as fsPromises } from \"fs\"\nconst { appendFile } = fsPromises\nimport { execa, ExecaError } from \"execa\"\nimport escapeRegex from \"escape-string-regexp\"\nimport { warning, info } from \"ci-log\"\nimport which from \"which\"\n\n/* eslint-disable require-atomic-updates */\nlet didUpdate: boolean = false\nlet didInit: boolean = false\n\nexport type AptPackage = {\n name: string\n version?: string\n repositories?: string[]\n}\n\nconst retryErrors = [\n \"E: Could not get lock\",\n \"dpkg: error processing archive\",\n \"dpkg: error: dpkg status database is locked by another process\",\n]\n\n/** A function that installs a package using apt */\nexport async function setupAptPack(packages: AptPackage[], update = false): Promise {\n const apt: string = getApt()\n\n for (const { name, version } of packages) {\n info(`Installing ${name} ${version ?? \"\"} via ${apt}`)\n }\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 const allRepositories = [...new Set(packages.flatMap((pack) => pack.repositories ?? []))]\n\n if (allRepositories.length !== 0) {\n for (const repo of allRepositories) {\n // eslint-disable-next-line no-await-in-loop\n execRootSync(\"add-apt-repository\", [\"-y\", repo])\n }\n\n updateRepos(apt)\n }\n\n const aptArgs = await Promise.all(packages.map((pack) => getAptArg(pack.name, pack.version)))\n try {\n execRootSync(apt, [\"install\", \"--fix-broken\", \"-y\", ...aptArgs])\n } catch (err) {\n if (\"stderr\" in (err as ExecaError)) {\n const stderr = (err as ExecaError).stderr\n if (retryErrors.some((error) => stderr.includes(error))) {\n warning(`Failed to install packages ${aptArgs}. Retrying...`)\n execRootSync(apt, [\"install\", \"--fix-broken\", \"-y\", ...aptArgs])\n }\n } else {\n throw err\n }\n }\n\n return { binDir: \"/usr/bin/\" }\n}\n\nexport enum AptPackageType {\n NameDashVersion,\n NameEqualsVersion,\n Name,\n None,\n}\n\nexport async function aptPackageType(name: string, version: string | undefined): Promise {\n if (version !== undefined && version !== \"\") {\n const { stdout } = await execa(\"apt-cache\", [\n \"search\",\n \"--names-only\",\n `^${escapeRegex(name)}-${escapeRegex(version)}$`,\n ])\n if (stdout.trim() !== \"\") {\n return AptPackageType.NameDashVersion\n }\n\n try {\n // check if apt-get show can find the version\n // eslint-disable-next-line @typescript-eslint/no-shadow\n const { stdout } = await execa(\"apt-cache\", [\"show\", `${name}=${version}`])\n if (stdout.trim() === \"\") {\n return AptPackageType.NameEqualsVersion\n }\n } catch {\n // ignore\n }\n }\n\n try {\n const { stdout: showStdout } = await execa(\"apt-cache\", [\"show\", name])\n if (showStdout.trim() !== \"\") {\n return AptPackageType.Name\n }\n } catch {\n // ignore\n }\n\n return AptPackageType.None\n}\n\nasync function getAptArg(name: string, version: string | undefined) {\n const package_type = await aptPackageType(name, version)\n switch (package_type) {\n case AptPackageType.NameDashVersion:\n return `${name}-${version}`\n case AptPackageType.NameEqualsVersion:\n return `${name}=${version}`\n case AptPackageType.Name:\n return name\n case AptPackageType.None:\n default:\n throw new Error(`Could not find package ${name} ${version ?? \"\"}`)\n }\n}\n\nexport function hasNala() {\n return which.sync(\"nala\", { nothrow: true }) !== null\n}\n\nfunction getApt() {\n let apt: string\n if (hasNala()) {\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 const promises: Promise[] = [\n addAptKeyViaServer([\"3B4FE6ACC0B21F32\", \"40976EAF437D05B5\"], \"setup-cpp-ubuntu-archive.gpg\"),\n addAptKeyViaServer([\"1E9377A2BA9EF27F\"], \"launchpad-toolchain.gpg\"),\n ]\n if (apt === \"nala\") {\n // enable utf8 otherwise it fails because of the usage of ASCII encoding\n promises.push(\n addEnv(\"LANG\", \"C.UTF-8\", { shouldAddOnlyIfNotDefined: true }),\n addEnv(\"LC_ALL\", \"C.UTF-8\", { shouldAddOnlyIfNotDefined: true }),\n )\n }\n await Promise.all(promises)\n}\n\nfunction initGpg() {\n execRootSync(\"gpg\", [\"-k\"])\n}\n\nexport async function addAptKeyViaServer(keys: string[], name: string, server = \"keyserver.ubuntu.com\") {\n try {\n const fileName = `/etc/apt/trusted.gpg.d/${name}`\n if (!(await pathExists(fileName))) {\n initGpg()\n\n await Promise.all(\n keys.map(async (key) => {\n await execRoot(\"gpg\", [\n \"--no-default-keyring\",\n \"--keyring\",\n `gnupg-ring:${fileName}`,\n \"--keyserver\",\n server,\n \"--recv-keys\",\n key,\n ])\n await execRoot(\"chmod\", [\"644\", fileName])\n }),\n )\n }\n return fileName\n } catch (err) {\n warning(`Failed to add apt key via server ${server}: ${err}`)\n return undefined\n }\n}\n\nexport async function addAptKeyViaDownload(name: string, url: string) {\n const fileName = `/etc/apt/trusted.gpg.d/${name}`\n if (!(await pathExists(fileName))) {\n initGpg()\n await setupAptPack([{ name: \"curl\" }, { name: \"ca-certificates\" }], undefined)\n await execa(\"curl\", [\"-s\", url, \"-o\", `/tmp/${name}`])\n execRootSync(\"gpg\", [\"--no-default-keyring\", \"--keyring\", `gnupg-ring:${fileName}`, \"--import\", `/tmp/${name}`])\n execRootSync(\"chmod\", [\"644\", fileName])\n }\n return fileName\n}\n\nexport async function updateAptAlternatives(name: string, path: string) {\n if (GITHUB_ACTIONS) {\n return execRoot(\"update-alternatives\", [\"--install\", `/usr/bin/${name}`, name, path, \"40\"])\n } else {\n await setupCppInProfile()\n return appendFile(\n cpprc_path,\n `\\nif [ $UID -eq 0 ]; then update-alternatives --install /usr/bin/${name} ${name} ${path} 40; fi\\n`,\n )\n }\n}\n\nexport async function isPackageInstalled(regexp: string) {\n try {\n // check if a package matching the regexp is installed\n const { stdout } = await execa(\"dpkg\", [\"-l\", regexp])\n const lines = stdout.split(\"\\n\")\n // check if the output contains any lines that start with \"ii\"\n return lines.some((line) => line.startsWith(\"ii\"))\n } catch {\n return false\n }\n}\n","import { exportVariable, addPath as ghAddPath, info, setFailed } from \"@actions/core\"\nimport { GITHUB_ACTIONS } from \"ci-info\"\nimport { untildifyUser } from \"untildify-user\"\nimport { appendFileSync, readFileSync, writeFileSync } from \"fs\"\nimport { error, warning } from \"ci-log\"\nimport { execPowershell } from \"exec-powershell\"\nimport { delimiter } from \"path\"\nimport escapeSpace from \"escape-path-with-spaces\"\nimport { grantUserWriteAccess } from \"admina\"\nimport escapeQuote from \"escape-quotes\"\nimport { pathExists } from \"path-exists\"\n\ntype AddEnvOptions = {\n /** If true, the value will be escaped with quotes and spaces will be escaped with backslash */\n shouldEscapeSpace?: boolean\n /** If true, the variable will be only added if it is not defined */\n shouldAddOnlyIfNotDefined?: boolean\n}\n\nconst defaultAddEnvOptions: AddEnvOptions = {\n shouldEscapeSpace: false,\n shouldAddOnlyIfNotDefined: false,\n}\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(\n name: string,\n valGiven: string | undefined,\n options: AddEnvOptions = defaultAddEnvOptions,\n) {\n const val = escapeString(valGiven ?? \"\", options.shouldEscapeSpace)\n try {\n if (GITHUB_ACTIONS) {\n try {\n if (options.shouldAddOnlyIfNotDefined) {\n if (process.env[name] !== undefined) {\n info(`Environment variable ${name} is already defined. Skipping.`)\n return\n }\n }\n exportVariable(name, val)\n } catch (err) {\n error(err as Error)\n await addEnvSystem(name, val, options)\n }\n } else {\n await addEnvSystem(name, val, options)\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\nfunction escapeString(valGiven: string, shouldEscapeSpace: boolean = false) {\n const spaceEscaped = shouldEscapeSpace ? escapeSpace(valGiven) : valGiven\n return escapeQuote(spaceEscaped, '\"', \"\\\\\")\n}\n\nconst ignoredPaths = [/\\/usr\\/bin\\/?/, /\\/usr\\/local\\/bin\\/?/]\n\n/** Skip adding /usr/bin to PATH if it is already there */\nfunction isIgnoredPath(path: string) {\n if (ignoredPaths.some((checkedPath) => checkedPath.test(path))) {\n const paths = process.env.PATH?.split(delimiter) ?? []\n return paths.includes(path)\n }\n return false\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 if (isIgnoredPath(path)) {\n return\n }\n\n process.env.PATH = `${path}${delimiter}${process.env.PATH}`\n try {\n if (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, options: AddEnvOptions) {\n const val = valGiven ?? \"\"\n switch (process.platform) {\n case \"win32\": {\n if (options.shouldAddOnlyIfNotDefined) {\n if (process.env[name] !== undefined) {\n info(`Environment variable ${name} is already defined. Skipping.`)\n return\n }\n }\n // We do not use `execaSync(`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 await setupCppInProfile()\n if (options.shouldAddOnlyIfNotDefined) {\n appendFileSync(cpprc_path, `\\nif [ -z \"\\${${name}}\" ]; then export ${name}=\"${val}\"; fi\\n`)\n info(`if not defined ${name} then ${name}=\"${val}\" was added to \"${cpprc_path}`)\n } else {\n appendFileSync(cpprc_path, `\\nexport ${name}=\"${val}\"\\n`)\n info(`${name}=\"${val}\" was added to \"${cpprc_path}`)\n }\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 `execaSync(`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(\"PATH\", \"User\")); [Environment]::SetEnvironmentVariable(\"PATH\", \"${path};$USER_PATH\", \"User\")`,\n )\n info(`\"${path}\" was added to the PATH.`)\n return\n }\n case \"linux\":\n case \"darwin\": {\n await 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\n/* eslint-disable require-atomic-updates */\nlet setupCppInProfile_called = false\n\n/// handles adding conditions to source .cpprc file from .bashrc and .profile\nexport async 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 = \"# Automatically Generated by setup-cpp\\nexport SOURCE_CPPRC=0\"\n\n if (await pathExists(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 // source cpprc in bashrc/profile\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\nexport async function finalizeCpprc() {\n if (await pathExists(cpprc_path)) {\n const entries = readFileSync(cpprc_path, \"utf-8\").split(\"\\n\")\n\n const unique_entries = [...new Set(entries.reverse())].reverse() // remove duplicates, keeping the latest entry\n\n writeFileSync(cpprc_path, unique_entries.join(\"\\n\"))\n\n await grantUserWriteAccess(cpprc_path)\n }\n}\n","import * as 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.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.execaSync(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 {Buffer} from 'node:buffer';\nimport path from 'node:path';\nimport childProcess from 'node:child_process';\nimport process from 'node:process';\nimport crossSpawn from 'cross-spawn';\nimport stripFinalNewline from 'strip-final-newline';\nimport {npmRunPathEnv} from 'npm-run-path';\nimport onetime from 'onetime';\nimport {makeError} from './lib/error.js';\nimport {normalizeStdio, normalizeStdioNode} from './lib/stdio.js';\nimport {spawnedKill, spawnedCancel, setupTimeout, validateTimeout, setExitHandler} from './lib/kill.js';\nimport {addPipeMethods} from './lib/pipe.js';\nimport {handleInput, getSpawnedResult, makeAllStream, handleInputSync} from './lib/stream.js';\nimport {mergePromise, getSpawnedPromise} from './lib/promise.js';\nimport {joinCommand, parseCommand, parseTemplates, getEscapedCommand} from './lib/command.js';\nimport {logCommand, verboseDefault} from './lib/verbose.js';\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 npmRunPathEnv({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\tverbose: verboseDefault,\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 `execaSync()` 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\nexport function execa(file, args, options) {\n\tconst parsed = handleArguments(file, args, options);\n\tconst command = joinCommand(file, args);\n\tconst escapedCommand = getEscapedCommand(file, args);\n\tlogCommand(escapedCommand, parsed.options);\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\tmergePromise(dummySpawned, errorPromise);\n\t\treturn dummySpawned;\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 || (parsed.options.signal ? parsed.options.signal.aborted : false),\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);\n\n\tspawned.all = makeAllStream(spawned, parsed.options);\n\n\taddPipeMethods(spawned);\n\tmergePromise(spawned, handlePromiseOnce);\n\treturn spawned;\n}\n\nexport function execaSync(file, args, options) {\n\tconst parsed = handleArguments(file, args, options);\n\tconst command = joinCommand(file, args);\n\tconst escapedCommand = getEscapedCommand(file, args);\n\tlogCommand(escapedCommand, parsed.options);\n\n\tconst input = handleInputSync(parsed.options);\n\n\tlet result;\n\ttry {\n\t\tresult = childProcess.spawnSync(parsed.file, parsed.args, {...parsed.options, input});\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\nconst normalizeScriptStdin = ({input, inputFile, stdio}) => input === undefined && inputFile === undefined && stdio === undefined\n\t? {stdin: 'inherit'}\n\t: {};\n\nconst normalizeScriptOptions = (options = {}) => ({\n\tpreferLocal: true,\n\t...normalizeScriptStdin(options),\n\t...options,\n});\n\nfunction create$(options) {\n\tfunction $(templatesOrOptions, ...expressions) {\n\t\tif (!Array.isArray(templatesOrOptions)) {\n\t\t\treturn create$({...options, ...templatesOrOptions});\n\t\t}\n\n\t\tconst [file, ...args] = parseTemplates(templatesOrOptions, expressions);\n\t\treturn execa(file, args, normalizeScriptOptions(options));\n\t}\n\n\t$.sync = (templates, ...expressions) => {\n\t\tif (!Array.isArray(templates)) {\n\t\t\tthrow new TypeError('Please use $(options).sync`command` instead of $.sync(options)`command`.');\n\t\t}\n\n\t\tconst [file, ...args] = parseTemplates(templates, expressions);\n\t\treturn execaSync(file, args, normalizeScriptOptions(options));\n\t};\n\n\treturn $;\n}\n\nexport const $ = create$();\n\nexport function execaCommand(command, options) {\n\tconst [file, ...args] = parseCommand(command);\n\treturn execa(file, args, options);\n}\n\nexport function execaCommandSync(command, options) {\n\tconst [file, ...args] = parseCommand(command);\n\treturn execaSync(file, args, options);\n}\n\nexport function execaNode(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 = normalizeStdioNode(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","export default function stripFinalNewline(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, -1);\n\t}\n\n\tif (input[input.length - 1] === CR) {\n\t\tinput = input.slice(0, -1);\n\t}\n\n\treturn input;\n}\n","import process from 'node:process';\nimport path from 'node:path';\nimport url from 'node:url';\nimport pathKey from 'path-key';\n\nexport function npmRunPath(options = {}) {\n\tconst {\n\t\tcwd = process.cwd(),\n\t\tpath: path_ = process.env[pathKey()],\n\t\texecPath = process.execPath,\n\t} = options;\n\n\tlet previous;\n\tconst cwdString = cwd instanceof URL ? url.fileURLToPath(cwd) : cwd;\n\tlet cwdPath = path.resolve(cwdString);\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\tresult.push(path.resolve(cwdString, execPath, '..'));\n\n\treturn [...result, path_].join(path.delimiter);\n}\n\nexport function npmRunPathEnv({env = process.env, ...options} = {}) {\n\tenv = {...env};\n\n\tconst path = pathKey({env});\n\toptions.path = env[path];\n\tenv[path] = npmRunPath(options);\n\n\treturn env;\n}\n","export default function pathKey(options = {}) {\n\tconst {\n\t\tenv = process.env,\n\t\tplatform = process.platform\n\t} = options;\n\n\tif (platform !== 'win32') {\n\t\treturn 'PATH';\n\t}\n\n\treturn Object.keys(env).reverse().find(key => key.toUpperCase() === 'PATH') || 'Path';\n}\n","import mimicFunction from '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\tmimicFunction(onetime, function_);\n\tcalledFunctions.set(onetime, callCount);\n\n\treturn onetime;\n};\n\nonetime.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\nexport default onetime;\n","const copyProperty = (to, from, property, ignoreNonConfigurable) => {\n\t// `Function#length` should reflect the parameters of `to` not `from` since we keep its body.\n\t// `Function#prototype` is non-writable and non-configurable so can never be modified.\n\tif (property === 'length' || property === 'prototype') {\n\t\treturn;\n\t}\n\n\t// `Function#arguments` and `Function#caller` should not be copied. They were reported to be present in `Reflect.ownKeys` for some devices in React Native (#41), so we explicitly ignore them here.\n\tif (property === 'arguments' || property === 'caller') {\n\t\treturn;\n\t}\n\n\tconst toDescriptor = Object.getOwnPropertyDescriptor(to, property);\n\tconst fromDescriptor = Object.getOwnPropertyDescriptor(from, property);\n\n\tif (!canCopyProperty(toDescriptor, fromDescriptor) && ignoreNonConfigurable) {\n\t\treturn;\n\t}\n\n\tObject.defineProperty(to, property, fromDescriptor);\n};\n\n// `Object.defineProperty()` throws if the property exists, is not configurable and either:\n// - one its descriptors is changed\n// - it is non-writable and its value is changed\nconst canCopyProperty = function (toDescriptor, fromDescriptor) {\n\treturn toDescriptor === undefined || toDescriptor.configurable || (\n\t\ttoDescriptor.writable === fromDescriptor.writable &&\n\t\ttoDescriptor.enumerable === fromDescriptor.enumerable &&\n\t\ttoDescriptor.configurable === fromDescriptor.configurable &&\n\t\t(toDescriptor.writable || toDescriptor.value === fromDescriptor.value)\n\t);\n};\n\nconst changePrototype = (to, from) => {\n\tconst fromPrototype = Object.getPrototypeOf(from);\n\tif (fromPrototype === Object.getPrototypeOf(to)) {\n\t\treturn;\n\t}\n\n\tObject.setPrototypeOf(to, fromPrototype);\n};\n\nconst wrappedToString = (withName, fromBody) => `/* Wrapped ${withName}*/\\n${fromBody}`;\n\nconst toStringDescriptor = Object.getOwnPropertyDescriptor(Function.prototype, 'toString');\nconst toStringName = Object.getOwnPropertyDescriptor(Function.prototype.toString, 'name');\n\n// We call `from.toString()` early (not lazily) to ensure `from` can be garbage collected.\n// We use `bind()` instead of a closure for the same reason.\n// Calling `from.toString()` early also allows caching it in case `to.toString()` is called several times.\nconst changeToString = (to, from, name) => {\n\tconst withName = name === '' ? '' : `with ${name.trim()}() `;\n\tconst newToString = wrappedToString.bind(null, withName, from.toString());\n\t// Ensure `to.toString.toString` is non-enumerable and has the same `same`\n\tObject.defineProperty(newToString, 'name', toStringName);\n\tObject.defineProperty(to, 'toString', {...toStringDescriptor, value: newToString});\n};\n\nexport default function mimicFunction(to, from, {ignoreNonConfigurable = false} = {}) {\n\tconst {name} = to;\n\n\tfor (const property of Reflect.ownKeys(from)) {\n\t\tcopyProperty(to, from, property, ignoreNonConfigurable);\n\t}\n\n\tchangePrototype(to, from);\n\tchangeToString(to, from, name);\n\n\treturn to;\n}\n","import {signalsByName} from '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\nexport const 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","import{constants}from\"node:os\";\n\nimport{SIGRTMAX}from\"./realtime.js\";\nimport{getSignals}from\"./signals.js\";\n\n\n\nconst getSignalsByName=()=>{\nconst signals=getSignals();\nreturn Object.fromEntries(signals.map(getSignalByName));\n};\n\nconst getSignalByName=({\nname,\nnumber,\ndescription,\nsupported,\naction,\nforced,\nstandard\n})=>[name,{name,number,description,supported,action,forced,standard}];\n\nexport const signalsByName=getSignalsByName();\n\n\n\n\nconst getSignalsByNumber=()=>{\nconst signals=getSignals();\nconst length=SIGRTMAX+1;\nconst signalsA=Array.from({length},(value,number)=>\ngetSignalByNumber(number,signals));\n\nreturn Object.assign({},...signalsA);\n};\n\nconst getSignalByNumber=(number,signals)=>{\nconst signal=findSignalByNumber(number,signals);\n\nif(signal===undefined){\nreturn{};\n}\n\nconst{name,description,supported,action,forced,standard}=signal;\nreturn{\n[number]:{\nname,\nnumber,\ndescription,\nsupported,\naction,\nforced,\nstandard\n}\n};\n};\n\n\n\nconst findSignalByNumber=(number,signals)=>{\nconst signal=signals.find(({name})=>constants.signals[name]===number);\n\nif(signal!==undefined){\nreturn signal;\n}\n\nreturn signals.find((signalA)=>signalA.number===number);\n};\n\nexport const signalsByNumber=getSignalsByNumber();","\nexport const getRealtimeSignals=()=>{\nconst length=SIGRTMAX-SIGRTMIN+1;\nreturn Array.from({length},getRealtimeSignal);\n};\n\nconst getRealtimeSignal=(value,index)=>({\nname:`SIGRT${index+1}`,\nnumber:SIGRTMIN+index,\naction:\"terminate\",\ndescription:\"Application-specific signal (realtime)\",\nstandard:\"posix\"\n});\n\nconst SIGRTMIN=34;\nexport const SIGRTMAX=64;","import{constants}from\"node:os\";\n\nimport{SIGNALS}from\"./core.js\";\nimport{getRealtimeSignals}from\"./realtime.js\";\n\n\n\nexport const getSignals=()=>{\nconst realtimeSignals=getRealtimeSignals();\nconst signals=[...SIGNALS,...realtimeSignals].map(normalizeSignal);\nreturn signals;\n};\n\n\n\n\n\n\n\nconst normalizeSignal=({\nname,\nnumber:defaultNumber,\ndescription,\naction,\nforced=false,\nstandard\n})=>{\nconst{\nsignals:{[name]:constantSignal}\n}=constants;\nconst supported=constantSignal!==undefined;\nconst number=supported?constantSignal:defaultNumber;\nreturn{name,number,description,supported,action,forced,standard};\n};","\n\nexport const SIGNALS=[\n{\nname:\"SIGHUP\",\nnumber:1,\naction:\"terminate\",\ndescription:\"Terminal closed\",\nstandard:\"posix\"\n},\n{\nname:\"SIGINT\",\nnumber:2,\naction:\"terminate\",\ndescription:\"User interruption with CTRL-C\",\nstandard:\"ansi\"\n},\n{\nname:\"SIGQUIT\",\nnumber:3,\naction:\"core\",\ndescription:\"User interruption with CTRL-\\\\\",\nstandard:\"posix\"\n},\n{\nname:\"SIGILL\",\nnumber:4,\naction:\"core\",\ndescription:\"Invalid machine instruction\",\nstandard:\"ansi\"\n},\n{\nname:\"SIGTRAP\",\nnumber:5,\naction:\"core\",\ndescription:\"Debugger breakpoint\",\nstandard:\"posix\"\n},\n{\nname:\"SIGABRT\",\nnumber:6,\naction:\"core\",\ndescription:\"Aborted\",\nstandard:\"ansi\"\n},\n{\nname:\"SIGIOT\",\nnumber:6,\naction:\"core\",\ndescription:\"Aborted\",\nstandard:\"bsd\"\n},\n{\nname:\"SIGBUS\",\nnumber:7,\naction:\"core\",\ndescription:\n\"Bus error due to misaligned, non-existing address or paging error\",\nstandard:\"bsd\"\n},\n{\nname:\"SIGEMT\",\nnumber:7,\naction:\"terminate\",\ndescription:\"Command should be emulated but is not implemented\",\nstandard:\"other\"\n},\n{\nname:\"SIGFPE\",\nnumber:8,\naction:\"core\",\ndescription:\"Floating point arithmetic error\",\nstandard:\"ansi\"\n},\n{\nname:\"SIGKILL\",\nnumber:9,\naction:\"terminate\",\ndescription:\"Forced termination\",\nstandard:\"posix\",\nforced:true\n},\n{\nname:\"SIGUSR1\",\nnumber:10,\naction:\"terminate\",\ndescription:\"Application-specific signal\",\nstandard:\"posix\"\n},\n{\nname:\"SIGSEGV\",\nnumber:11,\naction:\"core\",\ndescription:\"Segmentation fault\",\nstandard:\"ansi\"\n},\n{\nname:\"SIGUSR2\",\nnumber:12,\naction:\"terminate\",\ndescription:\"Application-specific signal\",\nstandard:\"posix\"\n},\n{\nname:\"SIGPIPE\",\nnumber:13,\naction:\"terminate\",\ndescription:\"Broken pipe or socket\",\nstandard:\"posix\"\n},\n{\nname:\"SIGALRM\",\nnumber:14,\naction:\"terminate\",\ndescription:\"Timeout or timer\",\nstandard:\"posix\"\n},\n{\nname:\"SIGTERM\",\nnumber:15,\naction:\"terminate\",\ndescription:\"Termination\",\nstandard:\"ansi\"\n},\n{\nname:\"SIGSTKFLT\",\nnumber:16,\naction:\"terminate\",\ndescription:\"Stack is empty or overflowed\",\nstandard:\"other\"\n},\n{\nname:\"SIGCHLD\",\nnumber:17,\naction:\"ignore\",\ndescription:\"Child process terminated, paused or unpaused\",\nstandard:\"posix\"\n},\n{\nname:\"SIGCLD\",\nnumber:17,\naction:\"ignore\",\ndescription:\"Child process terminated, paused or unpaused\",\nstandard:\"other\"\n},\n{\nname:\"SIGCONT\",\nnumber:18,\naction:\"unpause\",\ndescription:\"Unpaused\",\nstandard:\"posix\",\nforced:true\n},\n{\nname:\"SIGSTOP\",\nnumber:19,\naction:\"pause\",\ndescription:\"Paused\",\nstandard:\"posix\",\nforced:true\n},\n{\nname:\"SIGTSTP\",\nnumber:20,\naction:\"pause\",\ndescription:\"Paused using CTRL-Z or \\\"suspend\\\"\",\nstandard:\"posix\"\n},\n{\nname:\"SIGTTIN\",\nnumber:21,\naction:\"pause\",\ndescription:\"Background process cannot read terminal input\",\nstandard:\"posix\"\n},\n{\nname:\"SIGBREAK\",\nnumber:21,\naction:\"terminate\",\ndescription:\"User interruption with CTRL-BREAK\",\nstandard:\"other\"\n},\n{\nname:\"SIGTTOU\",\nnumber:22,\naction:\"pause\",\ndescription:\"Background process cannot write to terminal output\",\nstandard:\"posix\"\n},\n{\nname:\"SIGURG\",\nnumber:23,\naction:\"ignore\",\ndescription:\"Socket received out-of-band data\",\nstandard:\"bsd\"\n},\n{\nname:\"SIGXCPU\",\nnumber:24,\naction:\"core\",\ndescription:\"Process timed out\",\nstandard:\"bsd\"\n},\n{\nname:\"SIGXFSZ\",\nnumber:25,\naction:\"core\",\ndescription:\"File too big\",\nstandard:\"bsd\"\n},\n{\nname:\"SIGVTALRM\",\nnumber:26,\naction:\"terminate\",\ndescription:\"Timeout or timer\",\nstandard:\"bsd\"\n},\n{\nname:\"SIGPROF\",\nnumber:27,\naction:\"terminate\",\ndescription:\"Timeout or timer\",\nstandard:\"bsd\"\n},\n{\nname:\"SIGWINCH\",\nnumber:28,\naction:\"ignore\",\ndescription:\"Terminal window size changed\",\nstandard:\"bsd\"\n},\n{\nname:\"SIGIO\",\nnumber:29,\naction:\"terminate\",\ndescription:\"I/O is available\",\nstandard:\"other\"\n},\n{\nname:\"SIGPOLL\",\nnumber:29,\naction:\"terminate\",\ndescription:\"Watched event\",\nstandard:\"other\"\n},\n{\nname:\"SIGINFO\",\nnumber:29,\naction:\"ignore\",\ndescription:\"Request for process information\",\nstandard:\"other\"\n},\n{\nname:\"SIGPWR\",\nnumber:30,\naction:\"terminate\",\ndescription:\"Device running out of power\",\nstandard:\"systemv\"\n},\n{\nname:\"SIGSYS\",\nnumber:31,\naction:\"core\",\ndescription:\"Invalid system call\",\nstandard:\"other\"\n},\n{\nname:\"SIGUNUSED\",\nnumber:31,\naction:\"terminate\",\ndescription:\"Invalid system call\",\nstandard:\"other\"\n}];","const aliases = ['stdin', 'stdout', 'stderr'];\n\nconst hasAlias = options => aliases.some(alias => options[alias] !== undefined);\n\nexport const 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\n// `ipc` is pushed unless it is already present\nexport const normalizeStdioNode = 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","import os from 'node:os';\nimport onExit from 'signal-exit';\n\nconst DEFAULT_FORCE_KILL_TIMEOUT = 1000 * 5;\n\n// Monkey-patches `childProcess.kill()` to add `forceKillAfterTimeout` behavior\nexport const 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) => isSigterm(signal) && forceKillAfterTimeout !== false && killResult;\n\nconst isSigterm = signal => signal === os.constants.signals.SIGTERM\n\t\t|| (typeof signal === 'string' && signal.toUpperCase() === 'SIGTERM');\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()`\nexport const 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\nexport const 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\nexport const 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\nexport const 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","import {createWriteStream} from 'node:fs';\nimport {ChildProcess} from 'node:child_process';\nimport {isWritableStream} from 'is-stream';\n\nconst isExecaChildProcess = target => target instanceof ChildProcess && typeof target.then === 'function';\n\nconst pipeToTarget = (spawned, streamName, target) => {\n\tif (typeof target === 'string') {\n\t\tspawned[streamName].pipe(createWriteStream(target));\n\t\treturn spawned;\n\t}\n\n\tif (isWritableStream(target)) {\n\t\tspawned[streamName].pipe(target);\n\t\treturn spawned;\n\t}\n\n\tif (!isExecaChildProcess(target)) {\n\t\tthrow new TypeError('The second argument must be a string, a stream or an Execa child process.');\n\t}\n\n\tif (!isWritableStream(target.stdin)) {\n\t\tthrow new TypeError('The target child process\\'s stdin must be available.');\n\t}\n\n\tspawned[streamName].pipe(target.stdin);\n\treturn target;\n};\n\nexport const addPipeMethods = spawned => {\n\tif (spawned.stdout !== null) {\n\t\tspawned.pipeStdout = pipeToTarget.bind(undefined, spawned, 'stdout');\n\t}\n\n\tif (spawned.stderr !== null) {\n\t\tspawned.pipeStderr = pipeToTarget.bind(undefined, spawned, 'stderr');\n\t}\n\n\tif (spawned.all !== undefined) {\n\t\tspawned.pipeAll = pipeToTarget.bind(undefined, spawned, 'all');\n\t}\n};\n","export function isStream(stream) {\n\treturn stream !== null\n\t\t&& typeof stream === 'object'\n\t\t&& typeof stream.pipe === 'function';\n}\n\nexport function isWritableStream(stream) {\n\treturn isStream(stream)\n\t\t&& stream.writable !== false\n\t\t&& typeof stream._write === 'function'\n\t\t&& typeof stream._writableState === 'object';\n}\n\nexport function isReadableStream(stream) {\n\treturn isStream(stream)\n\t\t&& stream.readable !== false\n\t\t&& typeof stream._read === 'function'\n\t\t&& typeof stream._readableState === 'object';\n}\n\nexport function isDuplexStream(stream) {\n\treturn isWritableStream(stream)\n\t\t&& isReadableStream(stream);\n}\n\nexport function isTransformStream(stream) {\n\treturn isDuplexStream(stream)\n\t\t&& typeof stream._transform === 'function';\n}\n","import {createReadStream, readFileSync} from 'node:fs';\nimport {isStream} from 'is-stream';\nimport getStream from 'get-stream';\nimport mergeStream from 'merge-stream';\n\nconst validateInputOptions = input => {\n\tif (input !== undefined) {\n\t\tthrow new TypeError('The `input` and `inputFile` options cannot be both set.');\n\t}\n};\n\nconst getInputSync = ({input, inputFile}) => {\n\tif (typeof inputFile !== 'string') {\n\t\treturn input;\n\t}\n\n\tvalidateInputOptions(input);\n\treturn readFileSync(inputFile);\n};\n\n// `input` and `inputFile` option in sync mode\nexport const handleInputSync = options => {\n\tconst input = getInputSync(options);\n\n\tif (isStream(input)) {\n\t\tthrow new TypeError('The `input` option cannot be a stream in sync mode');\n\t}\n\n\treturn input;\n};\n\nconst getInput = ({input, inputFile}) => {\n\tif (typeof inputFile !== 'string') {\n\t\treturn input;\n\t}\n\n\tvalidateInputOptions(input);\n\treturn createReadStream(inputFile);\n};\n\n// `input` and `inputFile` option in async mode\nexport const handleInput = (spawned, options) => {\n\tconst input = getInput(options);\n\n\tif (input === 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`\nexport const 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\t// When `buffer` is `false`, `streamPromise` is `undefined` and there is no buffered data to retrieve\n\tif (!stream || streamPromise === undefined) {\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)\nexport const 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","// eslint-disable-next-line unicorn/prefer-top-level-await\nconst nativePromisePrototype = (async () => {})().constructor.prototype;\n\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`\nexport const 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\t: descriptor.value.bind(promise);\n\n\t\tReflect.defineProperty(spawned, property, {...descriptor, value});\n\t}\n};\n\n// Use promises instead of `child_process` events\nexport const getSpawnedPromise = spawned => new Promise((resolve, reject) => {\n\tspawned.on('exit', (exitCode, signal) => {\n\t\tresolve({exitCode, signal});\n\t});\n\n\tspawned.on('error', error => {\n\t\treject(error);\n\t});\n\n\tif (spawned.stdin) {\n\t\tspawned.stdin.on('error', error => {\n\t\t\treject(error);\n\t\t});\n\t}\n});\n","import {Buffer} from 'node:buffer';\nimport {ChildProcess} from 'node:child_process';\n\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\nexport const joinCommand = (file, args) => normalizeArgs(file, args).join(' ');\n\nexport const getEscapedCommand = (file, args) => normalizeArgs(file, args).map(arg => escapeArg(arg)).join(' ');\n\nconst SPACES_REGEXP = / +/g;\n\n// Handle `execaCommand()`\nexport const 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\nconst parseExpression = expression => {\n\tconst typeOfExpression = typeof expression;\n\n\tif (typeOfExpression === 'string') {\n\t\treturn expression;\n\t}\n\n\tif (typeOfExpression === 'number') {\n\t\treturn String(expression);\n\t}\n\n\tif (\n\t\ttypeOfExpression === 'object'\n\t\t&& expression !== null\n\t\t&& !(expression instanceof ChildProcess)\n\t\t&& 'stdout' in expression\n\t) {\n\t\tconst typeOfStdout = typeof expression.stdout;\n\n\t\tif (typeOfStdout === 'string') {\n\t\t\treturn expression.stdout;\n\t\t}\n\n\t\tif (Buffer.isBuffer(expression.stdout)) {\n\t\t\treturn expression.stdout.toString();\n\t\t}\n\n\t\tthrow new TypeError(`Unexpected \"${typeOfStdout}\" stdout in template expression`);\n\t}\n\n\tthrow new TypeError(`Unexpected \"${typeOfExpression}\" in template expression`);\n};\n\nconst concatTokens = (tokens, nextTokens, isNew) => isNew || tokens.length === 0 || nextTokens.length === 0\n\t? [...tokens, ...nextTokens]\n\t: [\n\t\t...tokens.slice(0, -1),\n\t\t`${tokens[tokens.length - 1]}${nextTokens[0]}`,\n\t\t...nextTokens.slice(1),\n\t];\n\nconst parseTemplate = ({templates, expressions, tokens, index, template}) => {\n\tconst templateString = template ?? templates.raw[index];\n\tconst templateTokens = templateString.split(SPACES_REGEXP).filter(Boolean);\n\tconst newTokens = concatTokens(\n\t\ttokens,\n\t\ttemplateTokens,\n\t\ttemplateString.startsWith(' '),\n\t);\n\n\tif (index === expressions.length) {\n\t\treturn newTokens;\n\t}\n\n\tconst expression = expressions[index];\n\tconst expressionTokens = Array.isArray(expression)\n\t\t? expression.map(expression => parseExpression(expression))\n\t\t: [parseExpression(expression)];\n\treturn concatTokens(\n\t\tnewTokens,\n\t\texpressionTokens,\n\t\ttemplateString.endsWith(' '),\n\t);\n};\n\nexport const parseTemplates = (templates, expressions) => {\n\tlet tokens = [];\n\n\tfor (const [index, template] of templates.entries()) {\n\t\ttokens = parseTemplate({templates, expressions, tokens, index, template});\n\t}\n\n\treturn tokens;\n};\n\n","import {debuglog} from 'node:util';\nimport process from 'node:process';\n\nexport const verboseDefault = debuglog('execa').enabled;\n\nconst padField = (field, padding) => String(field).padStart(padding, '0');\n\nconst getTimestamp = () => {\n\tconst date = new Date();\n\treturn `${padField(date.getHours(), 2)}:${padField(date.getMinutes(), 2)}:${padField(date.getSeconds(), 2)}.${padField(date.getMilliseconds(), 3)}`;\n};\n\nexport const logCommand = (escapedCommand, {verbose}) => {\n\tif (!verbose) {\n\t\treturn;\n\t}\n\n\tprocess.stderr.write(`[${getTimestamp()}] ${escapedCommand}\\n`);\n};\n","const os = require(\"os\");\r\n\r\n// to detect on with os user had used path.resolve(...)\r\nconst is_posix_os = (os.platform() !== \"win32\");\r\nconst version = os.release();\r\n\r\n// For some windows version (Windows 10 v1803), it is not useful to escape spaces in path\r\n// https://docs.microsoft.com/en-us/windows/release-information/\r\nconst windows_version_regex = /(\\d+\\.\\d+)\\.(\\d+)/;\r\nconst should_not_escape = (major_release = \"\", os_build = \"\") =>\r\n /1\\d+\\.\\d+/.test(major_release) && Number(os_build) >= 17134.1184;\r\n\r\nmodule.exports = function (given_path) {\r\n return (is_posix_os)\r\n // for posix path, escape is simple\r\n ? given_path.replace(/(\\s+)/g, '\\\\$1')\r\n // for windows, it depend of the build\r\n : (should_not_escape(...windows_version_regex.exec(version).splice(1)))\r\n // on major version, no need to escape anymore\r\n // https://support.microsoft.com/en-us/help/4467268/url-encoded-unc-paths-not-url-decoded-in-windows-10-version-1803-later\r\n ? given_path\r\n // on older version, replace space with symbol %20\r\n : given_path.replace(/(\\s+)/g, '%20');\r\n};","// Generated by CoffeeScript 1.10.0\n(function() {\n var regexEscape, reverse;\n\n regexEscape = require('escape-string-regexp');\n\n reverse = function(s) {\n return s.split('').reverse().join('');\n };\n\n module.exports = function(s, chars, escapeChar) {\n var regex;\n if (chars == null) {\n chars = '\\'';\n }\n if (escapeChar == null) {\n escapeChar = '\\\\';\n }\n if (typeof s !== 'string') {\n return s;\n }\n regex = new RegExp(\"([\" + (regexEscape(chars)) + \"])(?!\" + (regexEscape(escapeChar)) + \")\", 'g');\n return reverse(reverse(s).replace(regex, \"$1\" + escapeChar));\n };\n\n}).call(this);\n","import {Buffer} from 'node:buffer';\nimport path from 'node:path';\nimport childProcess from 'node:child_process';\nimport process from 'node:process';\nimport crossSpawn from 'cross-spawn';\nimport stripFinalNewline from 'strip-final-newline';\nimport {npmRunPathEnv} from 'npm-run-path';\nimport onetime from 'onetime';\nimport {makeError} from './lib/error.js';\nimport {normalizeStdio, normalizeStdioNode} from './lib/stdio.js';\nimport {spawnedKill, spawnedCancel, setupTimeout, validateTimeout, setExitHandler} from './lib/kill.js';\nimport {addPipeMethods} from './lib/pipe.js';\nimport {handleInput, getSpawnedResult, makeAllStream, handleInputSync} from './lib/stream.js';\nimport {mergePromise, getSpawnedPromise} from './lib/promise.js';\nimport {joinCommand, parseCommand, parseTemplates, getEscapedCommand} from './lib/command.js';\nimport {logCommand, verboseDefault} from './lib/verbose.js';\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 npmRunPathEnv({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\tverbose: verboseDefault,\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 `execaSync()` 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\nexport function execa(file, args, options) {\n\tconst parsed = handleArguments(file, args, options);\n\tconst command = joinCommand(file, args);\n\tconst escapedCommand = getEscapedCommand(file, args);\n\tlogCommand(escapedCommand, parsed.options);\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\tmergePromise(dummySpawned, errorPromise);\n\t\treturn dummySpawned;\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 || (parsed.options.signal ? parsed.options.signal.aborted : false),\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);\n\n\tspawned.all = makeAllStream(spawned, parsed.options);\n\n\taddPipeMethods(spawned);\n\tmergePromise(spawned, handlePromiseOnce);\n\treturn spawned;\n}\n\nexport function execaSync(file, args, options) {\n\tconst parsed = handleArguments(file, args, options);\n\tconst command = joinCommand(file, args);\n\tconst escapedCommand = getEscapedCommand(file, args);\n\tlogCommand(escapedCommand, parsed.options);\n\n\tconst input = handleInputSync(parsed.options);\n\n\tlet result;\n\ttry {\n\t\tresult = childProcess.spawnSync(parsed.file, parsed.args, {...parsed.options, input});\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\nconst normalizeScriptStdin = ({input, inputFile, stdio}) => input === undefined && inputFile === undefined && stdio === undefined\n\t? {stdin: 'inherit'}\n\t: {};\n\nconst normalizeScriptOptions = (options = {}) => ({\n\tpreferLocal: true,\n\t...normalizeScriptStdin(options),\n\t...options,\n});\n\nfunction create$(options) {\n\tfunction $(templatesOrOptions, ...expressions) {\n\t\tif (!Array.isArray(templatesOrOptions)) {\n\t\t\treturn create$({...options, ...templatesOrOptions});\n\t\t}\n\n\t\tconst [file, ...args] = parseTemplates(templatesOrOptions, expressions);\n\t\treturn execa(file, args, normalizeScriptOptions(options));\n\t}\n\n\t$.sync = (templates, ...expressions) => {\n\t\tif (!Array.isArray(templates)) {\n\t\t\tthrow new TypeError('Please use $(options).sync`command` instead of $.sync(options)`command`.');\n\t\t}\n\n\t\tconst [file, ...args] = parseTemplates(templates, expressions);\n\t\treturn execaSync(file, args, normalizeScriptOptions(options));\n\t};\n\n\treturn $;\n}\n\nexport const $ = create$();\n\nexport function execaCommand(command, options) {\n\tconst [file, ...args] = parseCommand(command);\n\treturn execa(file, args, options);\n}\n\nexport function execaCommandSync(command, options) {\n\tconst [file, ...args] = parseCommand(command);\n\treturn execaSync(file, args, options);\n}\n\nexport function execaNode(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 = normalizeStdioNode(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","import process from 'node:process';\nimport {signalsByName} from '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\nexport const 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, cwd = process.cwd()}},\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\terror.cwd = cwd;\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","const aliases = ['stdin', 'stdout', 'stderr'];\n\nconst hasAlias = options => aliases.some(alias => options[alias] !== undefined);\n\nexport const 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\n// `ipc` is pushed unless it is already present\nexport const normalizeStdioNode = 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","import os from 'node:os';\nimport onExit from 'signal-exit';\n\nconst DEFAULT_FORCE_KILL_TIMEOUT = 1000 * 5;\n\n// Monkey-patches `childProcess.kill()` to add `forceKillAfterTimeout` behavior\nexport const 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) => isSigterm(signal) && forceKillAfterTimeout !== false && killResult;\n\nconst isSigterm = signal => signal === os.constants.signals.SIGTERM\n\t\t|| (typeof signal === 'string' && signal.toUpperCase() === 'SIGTERM');\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()`\nexport const 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\nexport const 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\nexport const 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\nexport const 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","import {createWriteStream} from 'node:fs';\nimport {ChildProcess} from 'node:child_process';\nimport {isWritableStream} from 'is-stream';\n\nconst isExecaChildProcess = target => target instanceof ChildProcess && typeof target.then === 'function';\n\nconst pipeToTarget = (spawned, streamName, target) => {\n\tif (typeof target === 'string') {\n\t\tspawned[streamName].pipe(createWriteStream(target));\n\t\treturn spawned;\n\t}\n\n\tif (isWritableStream(target)) {\n\t\tspawned[streamName].pipe(target);\n\t\treturn spawned;\n\t}\n\n\tif (!isExecaChildProcess(target)) {\n\t\tthrow new TypeError('The second argument must be a string, a stream or an Execa child process.');\n\t}\n\n\tif (!isWritableStream(target.stdin)) {\n\t\tthrow new TypeError('The target child process\\'s stdin must be available.');\n\t}\n\n\tspawned[streamName].pipe(target.stdin);\n\treturn target;\n};\n\nexport const addPipeMethods = spawned => {\n\tif (spawned.stdout !== null) {\n\t\tspawned.pipeStdout = pipeToTarget.bind(undefined, spawned, 'stdout');\n\t}\n\n\tif (spawned.stderr !== null) {\n\t\tspawned.pipeStderr = pipeToTarget.bind(undefined, spawned, 'stderr');\n\t}\n\n\tif (spawned.all !== undefined) {\n\t\tspawned.pipeAll = pipeToTarget.bind(undefined, spawned, 'all');\n\t}\n};\n","import {createReadStream, readFileSync} from 'node:fs';\nimport {isStream} from 'is-stream';\nimport getStream from 'get-stream';\nimport mergeStream from 'merge-stream';\n\nconst validateInputOptions = input => {\n\tif (input !== undefined) {\n\t\tthrow new TypeError('The `input` and `inputFile` options cannot be both set.');\n\t}\n};\n\nconst getInputSync = ({input, inputFile}) => {\n\tif (typeof inputFile !== 'string') {\n\t\treturn input;\n\t}\n\n\tvalidateInputOptions(input);\n\treturn readFileSync(inputFile);\n};\n\n// `input` and `inputFile` option in sync mode\nexport const handleInputSync = options => {\n\tconst input = getInputSync(options);\n\n\tif (isStream(input)) {\n\t\tthrow new TypeError('The `input` option cannot be a stream in sync mode');\n\t}\n\n\treturn input;\n};\n\nconst getInput = ({input, inputFile}) => {\n\tif (typeof inputFile !== 'string') {\n\t\treturn input;\n\t}\n\n\tvalidateInputOptions(input);\n\treturn createReadStream(inputFile);\n};\n\n// `input` and `inputFile` option in async mode\nexport const handleInput = (spawned, options) => {\n\tconst input = getInput(options);\n\n\tif (input === 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`\nexport const 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\t// When `buffer` is `false`, `streamPromise` is `undefined` and there is no buffered data to retrieve\n\tif (!stream || streamPromise === undefined) {\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)\nexport const 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","// eslint-disable-next-line unicorn/prefer-top-level-await\nconst nativePromisePrototype = (async () => {})().constructor.prototype;\n\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`\nexport const 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\t: descriptor.value.bind(promise);\n\n\t\tReflect.defineProperty(spawned, property, {...descriptor, value});\n\t}\n};\n\n// Use promises instead of `child_process` events\nexport const getSpawnedPromise = spawned => new Promise((resolve, reject) => {\n\tspawned.on('exit', (exitCode, signal) => {\n\t\tresolve({exitCode, signal});\n\t});\n\n\tspawned.on('error', error => {\n\t\treject(error);\n\t});\n\n\tif (spawned.stdin) {\n\t\tspawned.stdin.on('error', error => {\n\t\t\treject(error);\n\t\t});\n\t}\n});\n","import {Buffer} from 'node:buffer';\nimport {ChildProcess} from 'node:child_process';\n\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\nexport const joinCommand = (file, args) => normalizeArgs(file, args).join(' ');\n\nexport const getEscapedCommand = (file, args) => normalizeArgs(file, args).map(arg => escapeArg(arg)).join(' ');\n\nconst SPACES_REGEXP = / +/g;\n\n// Handle `execaCommand()`\nexport const 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\nconst parseExpression = expression => {\n\tconst typeOfExpression = typeof expression;\n\n\tif (typeOfExpression === 'string') {\n\t\treturn expression;\n\t}\n\n\tif (typeOfExpression === 'number') {\n\t\treturn String(expression);\n\t}\n\n\tif (\n\t\ttypeOfExpression === 'object'\n\t\t&& expression !== null\n\t\t&& !(expression instanceof ChildProcess)\n\t\t&& 'stdout' in expression\n\t) {\n\t\tconst typeOfStdout = typeof expression.stdout;\n\n\t\tif (typeOfStdout === 'string') {\n\t\t\treturn expression.stdout;\n\t\t}\n\n\t\tif (Buffer.isBuffer(expression.stdout)) {\n\t\t\treturn expression.stdout.toString();\n\t\t}\n\n\t\tthrow new TypeError(`Unexpected \"${typeOfStdout}\" stdout in template expression`);\n\t}\n\n\tthrow new TypeError(`Unexpected \"${typeOfExpression}\" in template expression`);\n};\n\nconst concatTokens = (tokens, nextTokens, isNew) => isNew || tokens.length === 0 || nextTokens.length === 0\n\t? [...tokens, ...nextTokens]\n\t: [\n\t\t...tokens.slice(0, -1),\n\t\t`${tokens[tokens.length - 1]}${nextTokens[0]}`,\n\t\t...nextTokens.slice(1),\n\t];\n\nconst parseTemplate = ({templates, expressions, tokens, index, template}) => {\n\tconst templateString = template ?? templates.raw[index];\n\tconst templateTokens = templateString.split(SPACES_REGEXP).filter(Boolean);\n\tconst newTokens = concatTokens(\n\t\ttokens,\n\t\ttemplateTokens,\n\t\ttemplateString.startsWith(' '),\n\t);\n\n\tif (index === expressions.length) {\n\t\treturn newTokens;\n\t}\n\n\tconst expression = expressions[index];\n\tconst expressionTokens = Array.isArray(expression)\n\t\t? expression.map(expression => parseExpression(expression))\n\t\t: [parseExpression(expression)];\n\treturn concatTokens(\n\t\tnewTokens,\n\t\texpressionTokens,\n\t\ttemplateString.endsWith(' '),\n\t);\n};\n\nexport const parseTemplates = (templates, expressions) => {\n\tlet tokens = [];\n\n\tfor (const [index, template] of templates.entries()) {\n\t\ttokens = parseTemplate({templates, expressions, tokens, index, template});\n\t}\n\n\treturn tokens;\n};\n\n","import {debuglog} from 'node:util';\nimport process from 'node:process';\n\nexport const verboseDefault = debuglog('execa').enabled;\n\nconst padField = (field, padding) => String(field).padStart(padding, '0');\n\nconst getTimestamp = () => {\n\tconst date = new Date();\n\treturn `${padField(date.getHours(), 2)}:${padField(date.getMinutes(), 2)}:${padField(date.getSeconds(), 2)}.${padField(date.getMilliseconds(), 3)}`;\n};\n\nexport const logCommand = (escapedCommand, {verbose}) => {\n\tif (!verbose) {\n\t\treturn;\n\t}\n\n\tprocess.stderr.write(`[${getTimestamp()}] ${escapedCommand}\\n`);\n};\n","const isexe = require('isexe')\nconst { join, delimiter, sep, posix } = require('path')\n\nconst isWindows = process.platform === 'win32'\n\n// used to check for slashed in commands passed in. always checks for the posix\n// seperator on all platforms, and checks for the current separator when not on\n// a posix platform. don't use the isWindows check for this since that is mocked\n// in tests but we still need the code to actually work when called. that is also\n// why it is ignored from coverage.\n/* istanbul ignore next */\nconst rSlash = new RegExp(`[${posix.sep}${sep === posix.sep ? '' : sep}]`.replace(/(\\\\)/g, '\\\\$1'))\nconst rRel = new RegExp(`^\\\\.${rSlash.source}`)\n\nconst getNotFoundError = (cmd) =>\n Object.assign(new Error(`not found: ${cmd}`), { code: 'ENOENT' })\n\nconst getPathInfo = (cmd, {\n path: optPath = process.env.PATH,\n pathExt: optPathExt = process.env.PATHEXT,\n delimiter: optDelimiter = delimiter,\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(rSlash) ? [''] : [\n // windows always checks the cwd first\n ...(isWindows ? [process.cwd()] : []),\n ...(optPath || /* istanbul ignore next: very unusual */ '').split(optDelimiter),\n ]\n\n if (isWindows) {\n const pathExtExe = optPathExt ||\n ['.EXE', '.CMD', '.BAT', '.COM'].join(optDelimiter)\n const pathExt = pathExtExe.split(optDelimiter).reduce((acc, item) => {\n acc.push(item)\n acc.push(item.toLowerCase())\n return acc\n }, [])\n if (cmd.includes('.') && pathExt[0] !== '') {\n pathExt.unshift('')\n }\n return { pathEnv, pathExt, pathExtExe }\n }\n\n return { pathEnv, pathExt: [''] }\n}\n\nconst getPathPart = (raw, cmd) => {\n const pathPart = /^\".*\"$/.test(raw) ? raw.slice(1, -1) : raw\n const prefix = !pathPart && rRel.test(cmd) ? cmd.slice(0, 2) : ''\n return prefix + join(pathPart, cmd)\n}\n\nconst which = async (cmd, opt = {}) => {\n const { pathEnv, pathExt, pathExtExe } = getPathInfo(cmd, opt)\n const found = []\n\n for (const envPart of pathEnv) {\n const p = getPathPart(envPart, cmd)\n\n for (const ext of pathExt) {\n const withExt = p + ext\n const is = await isexe(withExt, { pathExt: pathExtExe, ignoreErrors: true })\n if (is) {\n if (!opt.all) {\n return withExt\n }\n found.push(withExt)\n }\n }\n }\n\n if (opt.all && found.length) {\n return found\n }\n\n if (opt.nothrow) {\n return null\n }\n\n throw getNotFoundError(cmd)\n}\n\nconst whichSync = (cmd, opt = {}) => {\n const { pathEnv, pathExt, pathExtExe } = getPathInfo(cmd, opt)\n const found = []\n\n for (const pathEnvPart of pathEnv) {\n const p = getPathPart(pathEnvPart, cmd)\n\n for (const ext of pathExt) {\n const withExt = p + ext\n const is = isexe.sync(withExt, { pathExt: pathExtExe, ignoreErrors: true })\n if (is) {\n if (!opt.all) {\n return withExt\n }\n found.push(withExt)\n }\n }\n }\n\n if (opt.all && found.length) {\n return found\n }\n\n if (opt.nothrow) {\n return null\n }\n\n throw getNotFoundError(cmd)\n}\n\nmodule.exports = which\nwhich.sync = whichSync\n","/* eslint-disable require-atomic-updates */\nimport { info } from \"@actions/core\"\nimport { execaSync } from \"execa\"\nimport { join } from \"patha\"\nimport which from \"which\"\nimport { getBrewPath, setupBrew } from \"../../brew/brew\"\nimport { InstallationInfo } from \"./setupBin\"\n\nlet hasBrew = false\n\n/** A function that installs a package using brew */\nexport async function setupBrewPack(\n name: string,\n version?: string,\n extraArgs: string[] = [],\n): Promise {\n info(`Installing ${name} ${version ?? \"\"} via brew`)\n\n if (!hasBrew || which.sync(\"brew\", { nothrow: true }) === null) {\n await setupBrew(\"\", \"\", process.arch)\n hasBrew = true\n }\n\n const binDir = getBrewPath()\n\n // brew is not thread-safe\n execaSync(\n join(binDir, \"brew\"),\n [\"install\", version !== undefined && version !== \"\" ? `${name}@${version}` : name, ...extraArgs],\n {\n stdio: \"inherit\",\n },\n )\n\n return { binDir }\n}\n","import { execaSync } from \"execa\"\nimport { dirname } from \"patha\"\nimport which from \"which\"\nimport { tmpdir } from \"os\"\nimport path, { join } from \"path\"\nimport { mkdirP } from \"@actions/io\"\nimport { readFileSync } from \"fs\"\nimport { addPath } from \"../utils/env/addEnv\"\n\n/* eslint-disable require-atomic-updates */\nlet binDir: string | undefined\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async 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 const brewTempDirectory = path.join(tmpdir(), \"setup-cpp\", \"brew\")\n await mkdirP(brewTempDirectory)\n\n execaSync(\"curl\", [\"-LJO\", \"https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh\"], {\n cwd: brewTempDirectory,\n })\n const installSh = join(brewTempDirectory, \"install.sh\")\n\n if (process.platform === \"linux\") {\n const installShContent = readFileSync(installSh, \"utf-8\")\n\n installShContent.replace(\"#!/bin/bash\", \"\")\n }\n\n execaSync(\"/bin/bash\", [installSh], {\n stdio: \"inherit\",\n env: {\n NONINTERACTIVE: \"1\",\n },\n })\n\n binDir = getBrewPath()\n await addPath(binDir)\n\n return { binDir }\n}\n\nexport function getBrewPath() {\n if (process.platform === \"linux\") {\n return \"/home/linuxbrew/.linuxbrew/bin/\"\n } else {\n return \"/usr/local/bin/\"\n }\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 { execaSync } from \"execa\"\nimport { info } 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 execaSync(\"choco\", [\"install\", \"-y\", name, `--version=${version}`, ...args], {\n env,\n extendEnv: false,\n stdio: \"inherit\",\n })\n } else {\n try {\n execaSync(\"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 info(`${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","/* eslint-disable require-atomic-updates */\nimport { execaSync } from \"execa\"\nimport { pathExists } from \"path-exists\"\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 execaSync(\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 (await pathExists(binDir)) {\n return { binDir }\n }\n return undefined\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","import { InstallationInfo } from \"./setupBin\"\nimport { execRootSync } from \"admina\"\nimport { info, warning } from \"ci-log\"\nimport { execa } from \"execa\"\n\ntype DnfPackage = {\n name: string\n version?: string\n}\n\n/** A function that installs a package using dnf */\nexport async function setupDnfPack(packages: DnfPackage[]): Promise {\n for (const { name, version } of packages) {\n info(`Installing ${name} ${version ?? \"\"} via dnf`)\n }\n\n const dnfArgs = await Promise.all(packages.map((pack) => getDnfArg(pack.name, pack.version)))\n execRootSync(\"dnf\", [\"-y\", \"install\", ...dnfArgs])\n\n return { binDir: \"/usr/bin/\" }\n}\n\nasync function getDnfArg(name: string, version: string | undefined) {\n if (version !== undefined && version !== \"\") {\n // check if name-version is available\n const { stdout } = await execa(\"dnf\", [\"search\", \"-q\", `${name}-${version}`])\n\n if (stdout.trim() !== \"\") {\n return `${name}-${version}`\n } else {\n // try with ${name}${version}\n // eslint-disable-next-line @typescript-eslint/no-shadow\n const { stdout } = await execa(\"dnf\", [\"search\", \"-q\", `${name}${version}`])\n if (stdout.trim() !== \"\") {\n return `${name}${version}`\n }\n\n warning(`Failed to install ${name} ${version} via dnf, trying without version`)\n }\n }\n return name\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 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([{ name: \"ccache\", version }])\n } else if (isUbuntu()) {\n return setupAptPack([{ name: \"ccache\", version }])\n }\n throw new Error(`Unsupported linux distribution`)\n }\n default: {\n throw new Error(`Unsupported platform`)\n }\n }\n}\n","import { InstallationInfo } from \"./setupBin\"\nimport { execRootSync } from \"admina\"\nimport { info, warning } from \"ci-log\"\nimport { execa, execaSync } from \"execa\"\nimport which from \"which\"\n\n/* eslint-disable require-atomic-updates */\nlet didUpdate: boolean = false\nlet didInit: boolean = false\n\n/** A function that installs a package using pacman */\nexport async function setupPacmanPack(name: string, version?: string, aur?: string): Promise {\n info(`Installing ${name} ${version ?? \"\"} via pacman`)\n\n const pacman = \"pacman\"\n\n if (aur === \"yay\" && which.sync(\"yay\", { nothrow: true }) === null) {\n // TODO: install yay automatically\n throw new Error(`yay is needed for ${name}, but it is not installed, please install it manually first`)\n }\n\n // yay can't run as root, so skip update\n if (!didUpdate && aur !== \"yay\") {\n execRootSync(pacman, [\"-Sy\", \"--noconfirm\"])\n didUpdate = true\n }\n\n // install base-devel\n if (!didInit && aur !== \"yay\") {\n execRootSync(pacman, [\"-S\", \"--noconfirm\", \"base-devel\"])\n didInit = true\n }\n\n const runInstall = (arg: string) => {\n if (aur === \"yay\") {\n // run yay as non-root, ERROR: Running makepkg as root is not allowed as it can cause permanent, catastrophic damage to your system.\n return execaSync(aur, [\"-S\", \"--noconfirm\", arg])\n }\n return execRootSync(aur ?? pacman, [\"-S\", \"--noconfirm\", arg])\n }\n\n if (version !== undefined && version !== \"\") {\n // check if version is available\n const availableVersions = await availablePacmanVersions(pacman, name)\n if (availableVersions.includes(version)) {\n // try different version formats\n try {\n runInstall(`${name}=${version}`)\n } catch {\n runInstall(`${name}${version}`)\n }\n } else {\n // try without version\n info(`Failed to install ${name} ${version} via pacman, trying without version`)\n runInstall(name)\n }\n } else {\n // version not specified, install latest\n runInstall(name)\n }\n\n return { binDir: \"/usr/bin/\" }\n}\n\nconst pacmanSiVersionRegex = /Version\\s*:\\s*(.*)/g\n\n/** Query pacman for available versions */\nasync function availablePacmanVersions(pacman: string, name: string) {\n const availableVersions = []\n try {\n const { stdout } = await execa(pacman, [\"-Si\", name])\n\n for (const match of stdout.matchAll(pacmanSiVersionRegex)) {\n availableVersions.push(match[1])\n }\n } catch (err) {\n warning(`Failed to get available versions for ${name}: ${err}`)\n }\n return availableVersions\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",null,null,null,null,"import { find, downloadTool, cacheDir } from \"@actions/tool-cache\"\nimport { addPath } from \"../env/addEnv\"\nimport { join } from \"patha\"\nimport { info } from \"ci-log\"\n\nimport { tmpdir } from \"os\"\nimport { GITHUB_ACTIONS } from \"ci-info\"\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\"\nimport { pathExists } from \"path-exists\"\nimport retry from \"retry-as-promised\"\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 bin?: 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 (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 (await pathExists(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 ((await Promise.all([pathExists(binDir), pathExists(binFile)])).includes(false)) {\n try {\n info(`Download ${name} ${version}`)\n // try to download the package 4 times with 2 seconds delay\n const downloaded = await retry(\n () => {\n return downloadTool(url)\n },\n { name: url, max: 4, backoffBase: 2000, report: (err) => info(err) },\n )\n\n if (!didInit) {\n info(`Installing extraction dependencies`)\n if (process.platform === \"linux\") {\n if (isArch()) {\n await Promise.all([setupPacmanPack(\"unzip\"), setupPacmanPack(\"tar\"), setupPacmanPack(\"xz\")])\n } else if (hasDnf()) {\n await setupDnfPack([{ name: \"unzip\" }, { name: \"tar\" }, { name: \"xz\" }])\n } else if (isUbuntu()) {\n await setupAptPack([{ name: \"unzip\" }, { name: \"tar\" }, { name: \"xz-utils\" }])\n }\n }\n // eslint-disable-next-line require-atomic-updates\n didInit = true\n }\n\n info(`Extracting ${downloaded} to ${setupDir}`)\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 (GITHUB_ACTIONS && typeof process.env.RUNNER_TOOL_CACHE === \"string\") {\n await cacheDir(setupDir, name, version)\n }\n\n return { installDir, binDir }\n}\n","'use strict';\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.retryAsPromised = exports.TimeoutError = void 0;\nclass TimeoutError extends Error {\n constructor(message, previousError) {\n super(message);\n this.name = \"TimeoutError\";\n this.previous = previousError;\n }\n}\nexports.TimeoutError = TimeoutError;\nfunction matches(match, err) {\n if (typeof match === 'function') {\n try {\n if (err instanceof match)\n return true;\n }\n catch (_) {\n return !!match(err);\n }\n }\n if (match === err.toString())\n return true;\n if (match === err.message)\n return true;\n return match instanceof RegExp\n && (match.test(err.message) || match.test(err.toString()));\n}\nfunction retryAsPromised(callback, optionsInput) {\n if (!callback || !optionsInput) {\n throw new Error('retry-as-promised must be passed a callback and a options set');\n }\n optionsInput = (typeof optionsInput === \"number\" ? { max: optionsInput } : optionsInput);\n const options = {\n $current: \"$current\" in optionsInput ? optionsInput.$current : 1,\n max: optionsInput.max,\n timeout: optionsInput.timeout || undefined,\n match: optionsInput.match ? Array.isArray(optionsInput.match) ? optionsInput.match : [optionsInput.match] : [],\n backoffBase: optionsInput.backoffBase === undefined ? 100 : optionsInput.backoffBase,\n backoffExponent: optionsInput.backoffExponent || 1.1,\n report: optionsInput.report,\n name: optionsInput.name || callback.name || 'unknown'\n };\n if (options.match && !Array.isArray(options.match))\n options.match = [options.match];\n if (options.report)\n options.report('Trying ' + options.name + ' #' + options.$current + ' at ' + new Date().toLocaleTimeString(), options);\n return new Promise(function (resolve, reject) {\n let timeout;\n let backoffTimeout;\n let lastError;\n if (options.timeout) {\n timeout = setTimeout(function () {\n if (backoffTimeout)\n clearTimeout(backoffTimeout);\n reject(new TimeoutError(options.name + ' timed out', lastError));\n }, options.timeout);\n }\n Promise.resolve(callback({ current: options.$current }))\n .then(resolve)\n .then(function () {\n if (timeout)\n clearTimeout(timeout);\n if (backoffTimeout)\n clearTimeout(backoffTimeout);\n })\n .catch(function (err) {\n if (timeout)\n clearTimeout(timeout);\n if (backoffTimeout)\n clearTimeout(backoffTimeout);\n lastError = err;\n if (options.report)\n options.report((err && err.toString()) || err, options, err);\n // Should not retry if max has been reached\n var shouldRetry = options.$current < options.max;\n if (!shouldRetry)\n return reject(err);\n shouldRetry = options.match.length === 0 || options.match.some(function (match) {\n return matches(match, err);\n });\n if (!shouldRetry)\n return reject(err);\n var retryDelay = options.backoffBase * Math.pow(options.backoffExponent, options.$current - 1);\n // Do some accounting\n options.$current++;\n if (options.report)\n options.report(`Retrying ${options.name} (${options.$current})`, options);\n if (retryDelay) {\n // Use backoff function to ease retry rate\n if (options.report)\n options.report(`Delaying retry of ${options.name} by ${retryDelay}`, options);\n backoffTimeout = setTimeout(function () {\n retryAsPromised(callback, options)\n .then(resolve)\n .catch(reject);\n }, retryDelay);\n }\n else {\n retryAsPromised(callback, options)\n .then(resolve)\n .catch(reject);\n }\n });\n });\n}\nexports.retryAsPromised = retryAsPromised;\n;\nexports.default = retryAsPromised;\n","import { execa } from \"execa\"\nimport { mkdirP } from \"@actions/io\"\nimport which from \"which\"\nimport { setupSevenZip } from \"../../sevenzip/sevenzip\"\nimport { warning } from \"ci-log\"\nimport { grantUserWriteAccess } from \"admina\"\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 await grantUserWriteAccess(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 grantUserWriteAccess(dest)\n return dest\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 return setupDnfPack([\n { name: \"p7zip\", version },\n { name: \"p7zip-plugins\", version },\n ])\n } else if (isUbuntu()) {\n return setupAptPack([{ name: \"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 { setupPipPack } from \"../utils/setup/setupPipPack\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport function setupConan(version: string | undefined, _setupDir: string, _arch: string) {\n return setupPipPack(\"conan\", version)\n}\n","import { info } from \"@actions/core\"\nimport { execa, execaSync } from \"execa\"\nimport { pathExists } from \"path-exists\"\nimport { addExeExt, dirname, join } from \"patha\"\nimport which from \"which\"\nimport { addPythonBaseExecPrefix, setupPython } from \"../../python/python\"\nimport { addPath } from \"../env/addEnv\"\nimport { InstallationInfo } from \"./setupBin\"\nimport { getVersion } from \"../../versions/versions\"\nimport { ubuntuVersion } from \"../env/ubuntu_version\"\nimport memoize from \"micro-memoize\"\nimport { isArch } from \"../env/isArch\"\nimport { setupPacmanPack } from \"./setupPacmanPack\"\nimport { hasDnf } from \"../env/hasDnf\"\nimport { setupDnfPack } from \"./setupDnfPack\"\nimport { isUbuntu } from \"../env/isUbuntu\"\nimport { setupAptPack } from \"./setupAptPack\"\n\nexport type SetupPipPackOptions = {\n /** Whether to use pipx instead of pip */\n usePipx?: boolean\n /** Whether to install the package as a user */\n user?: boolean\n /** Whether to upgrade the package */\n upgrade?: boolean\n /** Whether the package is a library */\n isLibrary?: boolean\n}\n\n/** A function that installs a package using pip */\nexport async function setupPipPack(\n name: string,\n version?: string,\n options: SetupPipPackOptions = {},\n): Promise {\n return setupPipPackWithPython(await getPython(), name, version, options)\n}\n\nexport async function setupPipPackWithPython(\n givenPython: string,\n name: string,\n version?: string,\n options: SetupPipPackOptions = {},\n): Promise {\n const { usePipx = true, user = true, upgrade = false, isLibrary = false } = options\n\n const isPipx = usePipx && !isLibrary && (await hasPipx(givenPython))\n const pip = isPipx ? \"pipx\" : \"pip\"\n\n const hasPackage = await pipHasPackage(givenPython, name)\n if (hasPackage) {\n try {\n info(`Installing ${name} ${version ?? \"\"} via ${pip}`)\n\n const nameAndVersion = version !== undefined && version !== \"\" ? `${name}==${version}` : name\n const upgradeFlag = upgrade ? (isPipx ? [\"upgrade\"] : [\"install\", \"--upgrade\"]) : [\"install\"]\n const userFlag = !isPipx && user ? [\"--user\"] : []\n\n execaSync(givenPython, [\"-m\", pip, ...upgradeFlag, ...userFlag, nameAndVersion], {\n stdio: \"inherit\",\n })\n } catch (err) {\n info(`Failed to install ${name} via ${pip}: ${err}.`)\n if ((await setupPipPackSystem(name)) === null) {\n throw new Error(`Failed to install ${name} via ${pip}: ${err}.`)\n }\n }\n } else {\n if ((await setupPipPackSystem(name)) === null) {\n throw new Error(`Failed to install ${name} as it was not found via ${pip} or the system package manager`)\n }\n }\n\n const execPaths = await addPythonBaseExecPrefix(givenPython)\n const binDir = await findBinDir(execPaths, name)\n\n await addPath(binDir)\n\n return { binDir }\n}\n\nexport async function hasPipx(givenPython: string) {\n return (await execa(givenPython, [\"-m\", \"pipx\", \"--help\"], { stdio: \"ignore\", reject: false })).exitCode === 0\n}\n\nasync function getPython_raw(): Promise {\n const pythonBin = (await setupPython(getVersion(\"python\", undefined, await ubuntuVersion()), \"\", process.arch)).bin\n if (pythonBin === undefined) {\n throw new Error(\"Python binary was not found\")\n }\n return pythonBin\n}\nconst getPython = memoize(getPython_raw, { isPromise: true })\n\nasync function pipHasPackage(python: string, name: string) {\n const result = await execa(python, [\"-m\", \"pip\", \"-qq\", \"index\", \"versions\", name], {\n stdio: \"ignore\",\n reject: false,\n })\n return result.exitCode === 0\n}\n\nasync function findBinDir(dirs: string[], name: string) {\n const exists = await Promise.all(dirs.map((dir) => pathExists(join(dir, addExeExt(name)))))\n const dirIndex = exists.findIndex((exist) => exist)\n if (dirIndex !== -1) {\n const foundDir = dirs[dirIndex]\n return foundDir\n }\n\n const whichDir = which.sync(addExeExt(name), { nothrow: true })\n if (whichDir !== null) {\n return dirname(whichDir)\n }\n\n return dirs[dirs.length - 1]\n}\n\nexport function setupPipPackSystem(name: string) {\n if (process.platform === \"linux\") {\n info(`Installing ${name} via the system package manager`)\n if (isArch()) {\n return setupPacmanPack(`python-${name}`)\n } else if (hasDnf()) {\n return setupDnfPack([{ name: `python3-${name}` }])\n } else if (isUbuntu()) {\n return setupAptPack([{ name: `python3-${name}` }])\n }\n }\n return null\n}\n","/* eslint-disable require-atomic-updates */\nimport { getExecOutput } from \"@actions/exec\"\nimport assert from \"assert\"\nimport { GITHUB_ACTIONS } from \"ci-info\"\nimport { info, warning } from \"ci-log\"\nimport { execa } from \"execa\"\nimport memoize from \"micro-memoize\"\nimport { addExeExt, dirname, join } from \"patha\"\nimport which from \"which\"\nimport { addPath } from \"../utils/env/addEnv\"\nimport { hasDnf } from \"../utils/env/hasDnf\"\nimport { isArch } from \"../utils/env/isArch\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\nimport { setupAptPack } from \"../utils/setup/setupAptPack\"\nimport { InstallationInfo } from \"../utils/setup/setupBin\"\nimport { setupBrewPack } from \"../utils/setup/setupBrewPack\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack\"\nimport { isBinUptoDate } from \"../utils/setup/version\"\nimport { unique } from \"../utils/std\"\nimport { MinVersions } from \"../versions/default_versions\"\nimport { pathExists } from \"path-exists\"\nimport { hasPipx, setupPipPackSystem, setupPipPackWithPython } from \"../utils/setup/setupPipPack\"\n\nexport async function setupPython(version: string, setupDir: string, arch: string): Promise {\n const installInfo = await findOrSetupPython(version, setupDir, arch)\n assert(installInfo.bin !== undefined)\n const foundPython = installInfo.bin\n\n // setup pip\n const foundPip = await findOrSetupPip(foundPython)\n if (foundPip === undefined) {\n throw new Error(\"pip was not installed correctly\")\n }\n\n await setupPipx(foundPython)\n\n await setupWheel(foundPython)\n\n return installInfo\n}\n\nasync function setupPipx(foundPython: string) {\n try {\n if (!(await hasPipx(foundPython))) {\n await setupPipPackWithPython(foundPython, \"pipx\", undefined, { upgrade: true, usePipx: false })\n }\n await execa(foundPython, [\"-m\", \"pipx\", \"ensurepath\"], { stdio: \"inherit\" })\n await setupPipPackWithPython(foundPython, \"venv\", undefined, { upgrade: false, usePipx: false })\n } catch (err) {\n warning(`Failed to install pipx: ${(err as Error).toString()}. Ignoring...`)\n }\n}\n\n/** Setup wheel and setuptools */\nasync function setupWheel(foundPython: string) {\n try {\n await setupPipPackWithPython(foundPython, \"setuptools\", undefined, {\n upgrade: true,\n isLibrary: true,\n usePipx: false,\n })\n await setupPipPackWithPython(foundPython, \"wheel\", undefined, { upgrade: true, isLibrary: true, usePipx: false })\n } catch (err) {\n warning(`Failed to install setuptools or wheel: ${(err as Error).toString()}. Ignoring...`)\n }\n}\n\nasync function findOrSetupPython(version: string, setupDir: string, arch: string) {\n let installInfo: InstallationInfo | undefined\n let foundPython = await findPython(setupDir)\n\n if (foundPython !== undefined) {\n const binDir = dirname(foundPython)\n installInfo = { bin: foundPython, installDir: binDir, binDir }\n } else {\n // if python is not found, try to install it\n if (GITHUB_ACTIONS) {\n // install python in GitHub Actions\n try {\n info(\"Installing python in GitHub Actions\")\n const { setupActionsPython } = await import(\"./actions_python\")\n await setupActionsPython(version, setupDir, arch)\n\n foundPython = (await findPython(setupDir))!\n const binDir = dirname(foundPython)\n installInfo = { bin: foundPython, installDir: binDir, binDir }\n } catch (err) {\n warning((err as Error).toString())\n }\n }\n if (installInfo === undefined) {\n // install python via system package manager\n installInfo = await setupPythonSystem(setupDir, version)\n }\n }\n\n if (foundPython === undefined || installInfo.bin === undefined) {\n foundPython = (await findPython(setupDir))!\n installInfo.bin = foundPython\n }\n\n return installInfo\n}\n\nasync function setupPythonSystem(setupDir: string, version: string) {\n let installInfo: InstallationInfo | undefined\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 bin = (await findPython(setupDir))!\n const binDir = dirname(bin)\n /** The directory which the tool is installed to */\n await addPath(binDir)\n installInfo = { installDir: binDir, binDir, bin }\n break\n }\n case \"darwin\": {\n installInfo = await setupBrewPack(\"python3\", version)\n // add the python and pip binaries to the path\n const brewPythonPrefix = await execa(\"brew\", [\"--prefix\", \"python\"], { stdio: \"pipe\" })\n const brewPythonBin = join(brewPythonPrefix.stdout, \"libexec\", \"bin\")\n await addPath(brewPythonBin)\n\n break\n }\n case \"linux\": {\n if (isArch()) {\n installInfo = await setupPacmanPack(\"python\", version)\n } else if (hasDnf()) {\n installInfo = await setupDnfPack([{ name: \"python3\", version }])\n } else if (isUbuntu()) {\n installInfo = await setupAptPack([{ name: \"python3\", version }, { name: \"python-is-python3\" }])\n } else {\n throw new Error(\"Unsupported linux distributions\")\n }\n break\n }\n default: {\n throw new Error(\"Unsupported platform\")\n }\n }\n return installInfo\n}\n\nasync function findPython(binDir?: string) {\n for (const pythonBin of [\"python3\", \"python\"]) {\n // eslint-disable-next-line no-await-in-loop\n const foundPython = await isPythonUpToDate(pythonBin, binDir)\n if (foundPython !== undefined) {\n return foundPython\n }\n }\n return undefined\n}\n\nasync function isPythonUpToDate(candidate: string, binDir?: string) {\n try {\n if (binDir !== undefined) {\n const pythonBinPath = join(binDir, addExeExt(candidate))\n if (await pathExists(pythonBinPath)) {\n if (await isBinUptoDate(pythonBinPath, MinVersions.python!)) {\n return pythonBinPath\n }\n }\n }\n const pythonBinPaths = (await which(candidate, { nothrow: true, all: true })) ?? []\n for (const pythonBinPath of pythonBinPaths) {\n // eslint-disable-next-line no-await-in-loop\n if (await isBinUptoDate(pythonBinPath, MinVersions.python!)) {\n return pythonBinPath\n }\n }\n } catch {\n // fall through\n }\n return undefined\n}\n\nasync function findOrSetupPip(foundPython: string) {\n const maybePip = await findPip()\n\n if (maybePip === undefined) {\n // install pip if not installed\n info(\"pip was not found. Installing pip\")\n await setupPip(foundPython)\n return findPip() // recurse to check if pip is on PATH and up-to-date\n }\n\n return maybePip\n}\n\nasync function findPip() {\n for (const pipCandidate of [\"pip3\", \"pip\"]) {\n // eslint-disable-next-line no-await-in-loop\n const maybePip = await isPipUptoDate(pipCandidate)\n if (maybePip !== undefined) {\n return maybePip\n }\n }\n return undefined\n}\n\nasync function isPipUptoDate(pip: string) {\n try {\n const pipPaths = (await which(pip, { nothrow: true, all: true })) ?? []\n for (const pipPath of pipPaths) {\n // eslint-disable-next-line no-await-in-loop\n if (pipPath !== null && (await isBinUptoDate(pipPath, MinVersions.pip!))) {\n return pipPath\n }\n }\n } catch {\n // fall through\n }\n return undefined\n}\n\nasync function setupPip(foundPython: string) {\n const upgraded = await ensurePipUpgrade(foundPython)\n if (!upgraded) {\n // ensure that pip is installed on Linux (happens when python is found but pip not installed)\n await setupPipPackSystem(\"pip\")\n\n // upgrade pip\n await ensurePipUpgrade(foundPython)\n }\n}\n\nasync function ensurePipUpgrade(foundPython: string) {\n try {\n await execa(foundPython, [\"-m\", \"ensurepip\", \"-U\", \"--upgrade\"], { stdio: \"inherit\" })\n return true\n } catch (err1) {\n info((err1 as Error)?.toString?.())\n try {\n // ensure pip is disabled on Ubuntu\n await execa(foundPython, [\"-m\", \"pip\", \"install\", \"--upgrade\", \"pip\"], { stdio: \"inherit\" })\n return true\n } catch (err2) {\n info((err2 as Error)?.toString?.())\n // pip module not found\n }\n }\n // all methods failed\n return false\n}\n\nasync function addPythonBaseExecPrefix_raw(python: string) {\n const dirs: string[] = []\n\n // detection based on the platform\n if (process.platform === \"linux\") {\n dirs.push(\"/home/runner/.local/bin/\")\n } else if (process.platform === \"darwin\") {\n dirs.push(\"/usr/local/bin/\")\n }\n\n // detection using python.sys\n const base_exec_prefix = (await getExecOutput(`${python} -c \"import sys;print(sys.base_exec_prefix);\"`)).stdout.trim()\n // any of these are possible depending on the operating system!\n dirs.push(join(base_exec_prefix, \"Scripts\"), join(base_exec_prefix, \"Scripts\", \"bin\"), join(base_exec_prefix, \"bin\"))\n\n // remove duplicates\n return unique(dirs)\n}\n\n/**\n * Add the base exec prefix to the PATH. This is required for Conan, Meson, etc. to work properly.\n *\n * The answer is cached for subsequent calls\n */\nexport const addPythonBaseExecPrefix = memoize(addPythonBaseExecPrefix_raw, { isPromise: true })\n",null,null,null,null,"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((a, b) => {\n try {\n return semverCompare(a, b)\n } catch (err) {\n return a.localeCompare(b)\n }\n })\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 the given set doesn't include the version, throw an error\n if (!versions.has(version)) {\n throw new Error(\n `Unsupported target! (platform='${platform}', version='${version}'). Try one of the following: ${JSON.stringify(\n versions,\n )}`,\n )\n }\n\n const offlineUrls: string[] = []\n\n // TODO use Promise.any\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 if (url !== null) {\n // eslint-disable-next-line no-await-in-loop\n if (await isUrlOnline(url)) {\n return [specificVersion, url]\n } else {\n offlineUrls.push(url)\n }\n }\n }\n\n throw new Error(\n `Unsupported target! (platform='${platform}', version='${version}'). Try one of the following: ${JSON.stringify(\n versions,\n )}`,\n )\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 semverCoerce(version) ?? undefined\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 (givenVersion !== undefined && targetVersion !== \"\") {\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","// 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","export function unique(dirs: string[]) {\n return [...new Set(dirs)]\n}\n","import { 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\nfunction getLLVMDefault() {\n switch (process.platform) {\n case \"win32\":\n return \"17.0.4\"\n case \"linux\":\n // used for non-ubuntu (Fedora, Arch)\n return \"17.0.5-ubuntu-22.04\"\n case \"darwin\":\n return \"15.0.3\"\n default:\n return \"17.0.5\"\n }\n}\n\nexport const DefaultVersions: Record = {\n llvm: getLLVMDefault(), // https://github.com/llvm/llvm-project/releases\n clangtidy: getLLVMDefault(),\n clangformat: getLLVMDefault(),\n ninja: \"1.11.1\", // https://github.com/ninja-build/ninja/releases\n cmake: \"3.27.4\", // https://github.com/Kitware/CMake/releases\n gcovr: \"6.0\", // https://pypi.org/project/gcovr/\n conan: \"1.62.0\", // https://github.com/conan-io/conan/releases\n meson: \"1.2.3\", // https://github.com/mesonbuild/meson/releases\n kcov: \"42\", // https://github.com/SimonKagstrom/kcov/releases\n task: \"3.31.0\", // https://github.com/go-task/task/releases\n doxygen: isArch() ? \"1.9.8-1\" : \"1.9.8\", // 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: isArch() ? \"13.2.1-3\" : \"13\", // https://github.com/brechtsanders/winlibs_mingw/releases and // https://packages.ubuntu.com/search?suite=all&arch=any&searchon=names&keywords=gcc\n //mingw: isArch() ? \"12.2.0-1\" : \"8\", // https://packages.ubuntu.com/search?suite=all&arch=any&searchon=names&keywords=mingw-w64 // https://archlinux.org/packages/extra/x86_64/mingw-w64-gcc/\n}\n\nexport const MinVersions: Record = {\n pip: \"22.2.0\",\n python: \"3.7.9\",\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 \"\"\nexport const DefaultLinuxVersion: Record | undefined> = {\n gcc: {\n 22: \"13\",\n 20: \"11\",\n 18: \"11\",\n 16: \"11\",\n 14: \"11\",\n },\n mingw: {\n 22: \"8.0.0-1\",\n 20: \"7.0.0-2\",\n },\n llvm: {\n 22: \"17.0.5-ubuntu-22.04\",\n 20: \"17.0.5-ubuntu-22.04\",\n 18: \"15.0.6-ubuntu-18.04\",\n 16: \"15.0.6-ubuntu-18.04\",\n 14: \"13.0.0-ubuntu-16.04\",\n },\n clangtidy: {\n 22: \"17.0.2-ubuntu-22.04\",\n 20: \"17.0.2-ubuntu-22.04\",\n 18: \"15.0.6-ubuntu-18.04\",\n 16: \"15.0.6-ubuntu-18.04\",\n 14: \"13.0.0-ubuntu-16.04\",\n },\n clangformat: {\n 22: \"17.0.2-ubuntu-22.04\",\n 20: \"17.0.2-ubuntu-22.04\",\n 18: \"15.0.6-ubuntu-18.04\",\n 16: \"15.0.6-ubuntu-18.04\",\n 14: \"13.0.0-ubuntu-16.04\",\n },\n gcovr: {\n 22: \"6.0\",\n 20: \"6.0\",\n 18: \"5.0\",\n },\n meson: {\n 20: \"1.0.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: \"42-binary\",\n 20: \"40-binary\", // https://github.com/SimonKagstrom/kcov/releases\n 18: \"40\",\n 16: \"40\",\n 14: \"40\",\n },\n}\n","import { Opts } from \"../cli-options\"\nimport { Inputs } from \"../tool\"\nimport { DefaultLinuxVersion, DefaultVersions } from \"./default_versions\"\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 (isVersionDefault(version) && process.platform === \"linux\" && osVersion !== null && name in DefaultLinuxVersion) {\n return getDefaultLinuxVersion(osVersion, DefaultLinuxVersion[name]!)\n } else if (isVersionDefault(version) && name in DefaultVersions) {\n return DefaultVersions[name]!\n } else if (version === \"true\") {\n return \"\"\n }\n return version ?? \"\"\n}\n\nfunction isVersionDefault(version: string | undefined) {\n return version === \"true\" || version === undefined\n}\n\n/// choose the default linux version based on ubuntu version\nfunction getDefaultLinuxVersion(osVersion: number[], toolLinuxVersions: Record) {\n const osVersionMaj = osVersion[0]\n\n // find which version block the os version is in\n const satisfyingVersion = Object.keys(toolLinuxVersions)\n .map((v) => parseInt(v, 10))\n .sort((a, b) => b - a) // sort in descending order\n .find((v) => osVersionMaj >= v)\n\n return satisfyingVersion === undefined ? \"\" : toolLinuxVersions[satisfyingVersion]\n}\n\n/**\n * Sync the versions for the given inputs\n *\n * If the return is false, it means that versions don't match the target version\n */\nexport function syncVersions(opts: Opts, tools: Inputs[]): boolean {\n const toolsInUse = tools.filter((tool) => opts[tool] !== undefined)\n const toolsNonDefaultVersion = toolsInUse.filter((tool) => !isVersionDefault(opts[tool]))\n\n const targetVersion = toolsNonDefaultVersion.length >= 1 ? opts[toolsNonDefaultVersion[0]] : \"true\"\n\n if (toolsNonDefaultVersion.some((tool) => opts[tool] !== targetVersion)) {\n // error if any explicit versions don't match the target version\n return false\n }\n\n toolsInUse.forEach((tool) => {\n opts[tool] = targetVersion\n })\n\n return true\n}\n","import { warning } from \"ci-log\"\nimport { getUbuntuVersion } from \"ubuntu-version\"\nimport which from \"which\"\nimport { setupAptPack } from \"../setup/setupAptPack\"\nimport { isUbuntu } from \"./isUbuntu\"\nimport os from \"os\"\nimport memoize from \"micro-memoize\"\n\nasync function ubuntuVersion_raw(): Promise {\n try {\n if (isUbuntu()) {\n try {\n if (which.sync(\"lsb_release\", { nothrow: true }) === null) {\n await setupAptPack([{ name: \"lsb-release\" }])\n }\n } catch {\n return detectUsingOsVersion()\n }\n\n const versionSplitted = await getUbuntuVersion()\n\n if (versionSplitted.length === 0) {\n return detectUsingOsVersion()\n }\n\n return versionSplitted\n } else {\n return null\n }\n } catch (err) {\n warning((err as Error).toString())\n return null\n }\n}\n\n/** Detect Ubuntu version */\nexport const ubuntuVersion = memoize(ubuntuVersion_raw, { isPromise: true })\n\n/** Detect Ubuntu version using os.version() for Ubuntu based distros */\nfunction detectUsingOsVersion() {\n // #46~22.04.1-Ubuntu SMP ...\n const osVersion = os.version()\n const versionSplitted = osVersion.split(\".\")\n const majorVersion = parseInt(versionSplitted[0].replace(\"#\", \"\"), 10)\n const minorVersion = parseInt(versionSplitted[1].replace(\"~\", \"\"), 10)\n const patchVersion = parseInt(versionSplitted[2].split(\"-\")[0], 10)\n\n return [majorVersion, minorVersion, patchVersion]\n}\n","\"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\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([{ name: \"ccache\", version }])\n } else if (isUbuntu()) {\n return setupAptPack([{ name: \"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 { 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 { info, notice } from \"ci-log\"\nimport { setupGraphviz } from \"../graphviz/graphviz\"\nimport { getVersion } from \"../versions/versions\"\n\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 { pathExists } from \"path-exists\"\nimport retry from \"retry-as-promised\"\nimport { ubuntuVersion } from \"../utils/env/ubuntu_version\"\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 // try to download the package 4 times with 2 seconds delay\n await retry(\n () => {\n return setupChocoPack(\"doxygen.install\", version)\n },\n { name: \"doxygen.install\", max: 4, backoffBase: 2000, report: (err) => info(err) },\n )\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 = await setupBrewPack(\"doxygen\", undefined)\n await setupGraphviz(getVersion(\"graphviz\", undefined), \"\", arch)\n return installationInfo\n }\n case \"linux\": {\n let installationInfo: InstallationInfo\n if (version === \"\" || isArch() || hasDnf()) {\n if (isArch()) {\n installationInfo = await setupPacmanPack(\"doxygen\", version)\n } else if (hasDnf()) {\n return setupDnfPack([{ name: \"doxygen\", version }])\n } else if (isUbuntu()) {\n installationInfo = await setupAptPack([{ name: \"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([{ name: \"libclang-cpp9\" }])\n } catch (err) {\n notice(`Failed to download doxygen binary. ${err}. Falling back to apt-get.`)\n installationInfo = await setupAptPack([{ name: \"doxygen\" }])\n }\n } else {\n throw new Error(`Unsupported linux distributions`)\n }\n await setupGraphviz(getVersion(\"graphviz\", undefined, await ubuntuVersion()), \"\", 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 // eslint-disable-next-line no-await-in-loop\n if (await pathExists(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 { 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([{ name: \"graphviz\", version }])\n } else if (isUbuntu()) {\n return setupAptPack([{ name: \"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, addEnv } from \"../utils/env/addEnv\"\n\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 { GITHUB_ACTIONS } from \"ci-info\"\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\"\nimport { pathExists } from \"path-exists\"\nimport { ExecaReturnValue } from \"execa\"\n\ninterface MingwInfo {\n releaseName: string\n fileSuffix: string\n}\n\n// https://github.com/brechtsanders/winlibs_mingw/releases\nconst GccToMingwInfo = {\n \"13\": { releaseName: \"13.2.0-16.0.6-11.0.0-ucrt-r1\", fileSuffix: \"13.2.0-mingw-w64ucrt-11.0.0-r1\" },\n \"13.2-ucrt\": { releaseName: \"13.2.0-16.0.6-11.0.0-ucrt-r1\", fileSuffix: \"13.2.0-mingw-w64ucrt-11.0.0-r1\" },\n \"13.2-ucrt-mcf\": { releaseName: \"13.2.0mcf-16.0.6-11.0.1-ucrt-r2\", fileSuffix: \"13.2.0-mingw-w64ucrt-11.0.1-r2\" },\n \"13.2-msvcrt\": { releaseName: \"13.2.0-16.0.6-11.0.1-msvcrt-r1\", fileSuffix: \"13.2.0-mingw-w64msvcrt-11.0.1-r1\" },\n \"13.1-ucrt\": { releaseName: \"13.1.0posix-16.0.3-11.0.0-ucrt-r1\", fileSuffix: \"13.1.0-mingw-w64ucrt-11.0.0-r1\" },\n \"13.1-msvcrt\": { releaseName: \"13.1.0posix-16.0.3-11.0.0-msvcrt-r1\", fileSuffix: \"13.1.0-mingw-w64msvcrt-11.0.0-r1\" },\n \"12\": { releaseName: \"12.3.0-16.0.4-11.0.0-ucrt-r1\", fileSuffix: \"12.3.0-mingw-w64ucrt-11.0.0-r1\" },\n \"12.3.0-ucrt\": { releaseName: \"12.3.0-16.0.4-11.0.0-ucrt-r1\", fileSuffix: \"12.3.0-mingw-w64ucrt-11.0.0-r1\" },\n \"12.3.0-msvcrt\": { releaseName: \"12.3.0-16.0.4-11.0.0-msvcrt-r1\", fileSuffix: \"12.3.0-mingw-w64msvcrt-11.0.0-r1\" },\n \"12.2.0-ucrt\": { releaseName: \"12.2.0-14.0.6-10.0.0-ucrt-r2\", fileSuffix: \"12.2.0-mingw-w64ucrt-10.0.0-r2\" },\n \"12.2.0-msvcrt\": { releaseName: \"12.2.0-14.0.6-10.0.0-msvcrt-r2\", fileSuffix: \"12.2.0-mingw-w64msvcrt-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.5.0-11.0.1-msvcrt-r1\", fileSuffix: \"10.5.0-mingw-w64msvcrt-11.0.1-r1\" },\n \"10.5.0-msvcrt\": { releaseName: \"10.5.0-11.0.1-msvcrt-r1\", fileSuffix: \"10.5.0-mingw-w64msvcrt-11.0.1-r1\" },\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 = await setupBrewPack(\"gcc\", version)\n break\n }\n case \"linux\": {\n if (arch === \"x64\") {\n if (isArch()) {\n installationInfo = await setupPacmanPack(\"gcc\", version)\n } else if (hasDnf()) {\n installationInfo = await setupDnfPack([\n { name: \"gcc\", version },\n { name: \"gcc-c++\", version },\n { name: \"libstdc++-devel\" },\n ])\n } else if (isUbuntu()) {\n installationInfo = await setupAptPack([\n { name: \"gcc\", version, repositories: [\"ppa:ubuntu-toolchain-r/test\"] },\n { name: \"g++\", version, repositories: [\"ppa:ubuntu-toolchain-r/test\"] },\n ])\n }\n } else {\n info(`Install g++-multilib because gcc for ${arch} was requested`)\n if (isArch()) {\n await setupPacmanPack(\"gcc-multilib\", version)\n } else if (isUbuntu()) {\n await setupAptPack([{ name: \"gcc-multilib\", version, repositories: [\"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\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupMingw(version: string, setupDir: string, arch: string) {\n let installationInfo: InstallationInfo | undefined\n switch (process.platform) {\n case \"win32\":\n case \"darwin\": {\n return setupGcc(version, setupDir, arch)\n }\n case \"linux\": {\n if (isArch()) {\n installationInfo = await setupPacmanPack(\"mingw-w64-gcc\", version)\n } else if (hasDnf()) {\n installationInfo = await setupDnfPack([{ name: \"mingw64-gcc\", version }])\n } else if (isUbuntu()) {\n installationInfo = await setupAptPack([\n { name: \"mingw-w64\", version, repositories: [\"ppa:ubuntu-toolchain-r/test\"] },\n ])\n }\n break\n }\n default: {\n throw new Error(`Unsupported platform for ${arch}`)\n }\n }\n if (installationInfo !== undefined) {\n // TODO: setup alternatives and update CC/CXX env. ?\n //Setting up g++-mingw-w64-i686-win32 (10.3.0-14ubuntu1+24.3) ...\n // update-alternatives: using /usr/bin/i686-w64-mingw32-g++-win32 to provide /usr/bin/i686-w64-mingw32-g++ (i686-w64-mingw32-g++) in auto mode\n //Setting up g++-mingw-w64-x86-64-win32 (10.3.0-14ubuntu1+24.3) ...\n // update-alternatives: using /usr/bin/x86_64-w64-mingw32-g++-win32 to provide /usr/bin/x86_64-w64-mingw32-g++ (x86_64-w64-mingw32-g++) in auto mode\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\" && (await pathExists(\"C:/tools/mingw64/bin\"))) {\n binDir = \"C:/tools/mingw64/bin\"\n await addPath(binDir)\n } else if (arch === \"ia32\" && (await pathExists(\"C:/tools/mingw32/bin\"))) {\n binDir = \"C:/tools/mingw32/bin\"\n await addPath(binDir)\n } else if (await pathExists(`${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 promises.push(\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 }\n } else {\n promises.push(addEnv(\"CC\", `${binDir}/gcc-${version}`), addEnv(\"CXX\", `${binDir}/g++-${version}`))\n\n if (isUbuntu()) {\n promises.push(\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\n promises.push(setupMacOSSDK())\n\n if (GITHUB_ACTIONS) {\n await addGccLoggingMatcher()\n }\n\n await Promise.all(promises)\n}\n\nasync function addGccLoggingMatcher() {\n const matcherPath = join(__dirname, \"gcc_matcher.json\")\n if (!(await pathExists(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 { 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 { addEnv } from \"../utils/env/addEnv\"\nimport { setupPipPack } from \"../utils/setup/setupPipPack\"\nimport semverValid from \"semver/functions/valid\"\nimport semverMajor from \"semver/functions/major\"\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\nexport function activateGcovLLVM() {\n return addEnv(\"GCOV\", \"llvm-cov gcov\")\n}\n\nexport function activateGcovGCC(gccVersion: string) {\n const gccSemver = semverValid(gccVersion)\n const gccMajor = gccSemver !== null ? semverMajor(gccSemver) : gccVersion\n const gcov = gccMajor !== \"\" ? `gcov-${gccMajor}` : \"gcov\"\n\n return addEnv(\"GCOV\", gcov)\n}\n","import { execa } from \"execa\"\nimport { join, addExeExt } from \"patha\"\nimport which from \"which\"\nimport { setupCmake } from \"../cmake/cmake\"\nimport { getVersion } from \"../versions/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\"\nimport { ubuntuVersion } from \"../utils/env/ubuntu_version\"\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 await Promise.all([setupPacmanPack(\"libdwarf\"), setupPacmanPack(\"libcurl-openssl\")])\n } else if (hasDnf()) {\n await setupDnfPack([{ name: \"libdwarf-devel\" }, { name: \"libcurl-devel\" }])\n } else if (isUbuntu()) {\n await setupAptPack([{ name: \"libdw-dev\" }, { name: \"libcurl4-openssl-dev\" }])\n }\n }\n\n // apply gcc13.patch\n try {\n if (which.sync(\"patch\", { nothrow: true }) !== null) {\n const patch = join(__dirname, \"gcc13.patch\")\n await execa(\"patch\", [\"-N\", \"-p1\", \"-i\", patch], { cwd: out, stdio: \"inherit\" })\n } else {\n info(\"`patch` not found, skipping gcc13.patch, kcov may not build on gcc 13\")\n }\n } catch {\n // ignore\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(\n getVersion(\"cmake\", undefined, await ubuntuVersion()),\n join(untildifyUser(\"\"), \"cmake\"),\n \"\",\n )\n cmake = join(binDir, \"cmake\")\n }\n const ninja = which.sync(\"ninja\", { nothrow: true })\n if (ninja === null) {\n await setupNinja(getVersion(\"ninja\", undefined, await ubuntuVersion()), 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 await setupPacmanPack(\"binutils\")\n } else if (hasDnf()) {\n await setupDnfPack([{ name: \"binutils\" }])\n } else if (isUbuntu()) {\n await setupAptPack([{ name: \"libbinutils\" }])\n }\n return installationInfo\n } else {\n installationInfo = await setupBin(\"kcov\", version, getBuildKcovPackageInfo, setupDir, arch)\n }\n return installationInfo\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","import { GITHUB_ACTIONS } from \"ci-info\"\nimport { info, warning } from \"ci-log\"\nimport memoize from \"micro-memoize\"\nimport { delimiter } from \"path\"\nimport { pathExists } from \"path-exists\"\nimport { addExeExt, join } from \"patha\"\nimport { setupGcc } from \"../gcc/gcc\"\nimport { setupMacOSSDK } from \"../macos-sdk/macos-sdk\"\nimport { addEnv } from \"../utils/env/addEnv\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\nimport { ubuntuVersion } from \"../utils/env/ubuntu_version\"\nimport { setupAptPack, updateAptAlternatives } from \"../utils/setup/setupAptPack\"\nimport { InstallationInfo, setupBin } from \"../utils/setup/setupBin\"\nimport { semverCoerceIfInvalid } from \"../utils/setup/version\"\nimport { getVersion } from \"../versions/versions\"\nimport { LLVMPackages, setupLLVMApt } from \"./llvm_installer\"\nimport { getLLVMPackageInfo } from \"./llvm_url\"\n\nexport async function setupLLVM(version: string, setupDir: string, arch: string): Promise {\n const installationInfo = await setupLLVMWithoutActivation(version, setupDir, arch)\n await activateLLVM(installationInfo.installDir ?? setupDir)\n return installationInfo\n}\n\nasync function setupLLVMWithoutActivation_raw(version: string, setupDir: string, arch: string) {\n // install LLVM and its dependencies in parallel\n const [installationInfo, _1, _2] = await Promise.all([\n setupLLVMOnly(version, setupDir, arch),\n setupLLVMDeps(arch),\n addLLVMLoggingMatcher(),\n ])\n\n return installationInfo\n}\nconst setupLLVMWithoutActivation = memoize(setupLLVMWithoutActivation_raw, { isPromise: true })\n\n/**\n * Setup clang-format\n *\n * This uses the LLVM installer on Ubuntu, and the LLVM binaries on other platforms\n */\nexport function setupClangFormat(version: string, setupDir: string, arch: string) {\n return setupLLVMOnly(version, setupDir, arch, LLVMPackages.ClangFormat)\n}\n\n/** Setup llvm tools (clang tidy, etc.) without activating llvm and using it as the compiler */\nexport function setupClangTools(version: string, setupDir: string, arch: string) {\n return setupLLVMOnly(version, setupDir, arch)\n}\n\nasync function setupLLVMOnly(\n version: string,\n setupDir: string,\n arch: string,\n packages: LLVMPackages = LLVMPackages.All,\n) {\n const coeredVersion = semverCoerceIfInvalid(version)\n const majorVersion = parseInt(coeredVersion.split(\".\")[0], 10)\n try {\n if (isUbuntu()) {\n return await setupLLVMApt(majorVersion, packages)\n }\n } catch (err) {\n info(`Failed to install llvm via system package manager ${err}`)\n }\n\n const installationInfo = await setupBin(\"llvm\", version, getLLVMPackageInfo, setupDir, arch)\n await llvmBinaryDeps(majorVersion)\n return installationInfo\n}\n\nasync function llvmBinaryDeps_raw(majorVersion: number) {\n if (isUbuntu()) {\n if (majorVersion <= 10) {\n await setupAptPack([{ name: \"libtinfo5\" }])\n } else {\n await setupAptPack([{ name: \"libtinfo-dev\" }])\n }\n }\n}\nconst llvmBinaryDeps = memoize(llvmBinaryDeps_raw, { isPromise: true })\n\nasync function setupLLVMDeps_raw(arch: string) {\n if (process.platform === \"linux\") {\n // using llvm requires ld, an up to date libstdc++, etc. So, install gcc first\n await setupGcc(getVersion(\"gcc\", undefined, await ubuntuVersion()), \"\", arch)\n }\n}\nconst setupLLVMDeps = memoize(setupLLVMDeps_raw, { isPromise: true })\n\nexport async function activateLLVM(directory: string) {\n const ld = process.env.LD_LIBRARY_PATH ?? \"\"\n const dyld = process.env.DYLD_LIBRARY_PATH ?? \"\"\n\n const actPromises: Promise[] = [\n // the output of this action\n addEnv(\"LLVM_PATH\", directory),\n\n // Setup LLVM as the compiler\n addEnv(\"LD_LIBRARY_PATH\", `${directory}/lib${delimiter}${ld}`),\n addEnv(\"DYLD_LIBRARY_PATH\", `${directory}/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 // TODO Causes issues with clangd\n // TODO Windows builds fail with llvm's CPATH\n // if (process.platform !== \"win32\") {\n // if (await pathExists(`${directory}/lib/clang/${version}/include`)) {\n // promises.push(addEnv(\"CPATH\", `${directory}/lib/clang/${version}/include`))\n // } else if (await pathExists(`${directory}/lib/clang/${llvmMajor}/include`)) {\n // promises.push(addEnv(\"CPATH\", `${directory}/lib/clang/${llvmMajor}/include`))\n // }\n // }\n\n if (isUbuntu()) {\n actPromises.push(\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\n await Promise.all(actPromises)\n}\n\nasync function addLLVMLoggingMatcher() {\n if (GITHUB_ACTIONS) {\n const matcherPath = join(__dirname, \"llvm_matcher.json\")\n if (!(await pathExists(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}\n","import { execRoot } from \"admina\"\nimport { execa } from \"execa\"\nimport { addPath } from \"../utils/env/addEnv\"\nimport { hasNala, isPackageInstalled, setupAptPack } from \"../utils/setup/setupAptPack\"\nimport { InstallationInfo } from \"../utils/setup/setupBin\"\nimport { promises } from \"fs\"\nimport { info } from \"console\"\nimport { DEFAULT_TIMEOUT } from \"../installTool\"\nconst { readFile, writeFile, chmod } = promises\n\nexport enum LLVMPackages {\n All,\n ClangFormat,\n Core,\n}\n\nexport async function setupLLVMApt(\n majorVersion: number,\n packages: LLVMPackages = LLVMPackages.All,\n): Promise {\n // TODO for older versions, this also includes the minor version\n const installationFolder = `/usr/lib/llvm-${majorVersion}`\n\n await setupAptPack([{ name: \"curl\" }])\n await execa(\"curl\", [\"-LJO\", \"https://apt.llvm.org/llvm.sh\"], { cwd: \"/tmp\" })\n const neededPackages = await patchAptLLVMScript(\"/tmp/llvm.sh\", \"/tmp/llvm-setup-cpp.sh\", majorVersion, packages)\n await setupAptPack(neededPackages)\n await chmod(\"/tmp/llvm-setup-cpp.sh\", \"755\")\n await execRoot(\n \"bash\",\n [\"/tmp/llvm-setup-cpp.sh\", `${majorVersion}`, ...(packages === LLVMPackages.All ? [\"all\"] : [])],\n {\n stdio: \"inherit\",\n shell: true,\n timeout: DEFAULT_TIMEOUT,\n },\n )\n\n await addPath(`${installationFolder}/bin`)\n\n return {\n installDir: `${installationFolder}`,\n binDir: `${installationFolder}/bin`,\n bin: `${installationFolder}/bin/clang++`,\n }\n}\n\nasync function patchAptLLVMScript(path: string, target_path: string, majorVersion: number, packages: LLVMPackages) {\n let script = await readFile(path, \"utf-8\")\n\n script = debugScript(script)\n script = nonInteractiveScript(script)\n script = choosePackages(packages, script, majorVersion)\n script = await removeConflictingPackages(script)\n script = useNalaScript(script)\n\n await writeFile(target_path, script)\n\n // the packages needed by the script\n return [{ name: \"lsb-release\" }, { name: \"wget\" }, { name: \"software-properties-common\" }, { name: \"gnupg\" }]\n}\n\nfunction debugScript(script: string) {\n if (!process.env.NODE_DEBUG) {\n return script.replace(/set -eux/g, \"set -eu\")\n }\n return script\n}\n\nfunction nonInteractiveScript(script: string) {\n // make the scirpt non-interactive and fix broken packages\n return script.replace(\n /add-apt-repository \"\\${REPO_NAME}\"/g,\n // eslint-disable-next-line no-template-curly-in-string\n 'add-apt-repository -y \"${REPO_NAME}\"',\n )\n}\n\nasync function removeConflictingPackages(givenScript: string) {\n // fix conflicts between libclang-rt and libclang\n let script = givenScript.replace(\n /apt-get install -y/g,\n 'apt-get install -o Dpkg::Options::=\"--force-overwrite\" -y --fix-broken',\n )\n\n // check if these are installed and if so, remove them from the script as they conflict\n const conflictingPackages = [\"libc++-$LLVM_VERSION-dev\", \"libc++abi-$LLVM_VERSION-dev\", \"libunwind-$LLVM_VERSION-dev\"]\n await Promise.all(\n conflictingPackages.map(async (pack) => {\n const installingPack = pack.replace(\"$LLVM_VERSION\", \"*\")\n if (await isPackageInstalled(installingPack)) {\n info(`Removing conflicting package ${installingPack}`)\n script = script.replace(pack, \"\")\n }\n }),\n )\n return script\n}\n\nfunction useNalaScript(script: string) {\n // use nala if it is available\n if (hasNala()) {\n return script.replace(/apt-get/g, \"nala\")\n }\n return script\n}\n\nfunction choosePackages(packages: LLVMPackages, script: string, majorVersion: number) {\n if (packages === LLVMPackages.ClangFormat) {\n return script.replace(/ -y \\$PKG/g, ` -y clang-format-${majorVersion}`)\n }\n return script\n}\n","import { endGroup, startGroup } from \"@actions/core\"\nimport { error } from \"ci-log\"\nimport { join } from \"patha\"\nimport { getSuccessMessage } from \"./cli-options\"\nimport { InstallationInfo } from \"./utils/setup/setupBin\"\nimport { setupVCVarsall } from \"./vcvarsall/vcvarsall\"\nimport { getVersion } from \"./versions/versions\"\nimport pTimeout from \"p-timeout\"\nimport { ToolName, setups } from \"./tool\"\n\nexport const DEFAULT_TIMEOUT = 20 * 60 * 1000 // 20 minutes\n\nexport async function installTool(\n tool: ToolName,\n version: string,\n osVersion: number[] | null,\n arch: string,\n setupCppDir: string,\n successMessages: string[],\n errorMessages: string[],\n timeout: number = DEFAULT_TIMEOUT,\n) {\n startGroup(`Installing ${tool} ${version}`)\n let hasLLVM = false\n try {\n hasLLVM = await pTimeout(installToolImpl(tool, version, osVersion, arch, hasLLVM, setupCppDir, successMessages), {\n milliseconds: timeout,\n message: `Timeout while installing ${tool} ${version}. You can increase the timeout from options`,\n })\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 return hasLLVM\n}\n\nasync function installToolImpl(\n tool: ToolName,\n version: string,\n osVersion: number[] | null,\n arch: string,\n hasLLVM: boolean,\n setupCppDir: string,\n successMessages: string[],\n) {\n let installationInfo: InstallationInfo | undefined | void\n if (tool === \"vcvarsall\") {\n // eslint-disable-next-line no-await-in-loop\n await setupVCVarsall(getVersion(tool, version, osVersion), undefined, arch, undefined, undefined, false, false)\n } else {\n // get the setup function\n const setupFunction = setups[tool]\n\n // eslint-disable-next-line no-param-reassign\n hasLLVM = [\"llvm\", \"clangformat\", \"clangtidy\"].includes(tool)\n\n // the tool installation directory (for the functions that ue it)\n const setupDir = join(setupCppDir, hasLLVM ? \"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 return hasLLVM\n}\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\"\nimport { pathExists } from \"path-exists\"\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 && (await pathExists(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","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', 'BuildTools']\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\n","export class TimeoutError extends Error {\n\tconstructor(message) {\n\t\tsuper(message);\n\t\tthis.name = 'TimeoutError';\n\t}\n}\n\n/**\nAn error to be thrown when the request is aborted by AbortController.\nDOMException is thrown instead of this Error when DOMException is available.\n*/\nexport class AbortError extends Error {\n\tconstructor(message) {\n\t\tsuper();\n\t\tthis.name = 'AbortError';\n\t\tthis.message = message;\n\t}\n}\n\n/**\nTODO: Remove AbortError and just throw DOMException when targeting Node 18.\n*/\nconst getDOMException = errorMessage => globalThis.DOMException === undefined\n\t? new AbortError(errorMessage)\n\t: new DOMException(errorMessage);\n\n/**\nTODO: Remove below function and just 'reject(signal.reason)' when targeting Node 18.\n*/\nconst getAbortedReason = signal => {\n\tconst reason = signal.reason === undefined\n\t\t? getDOMException('This operation was aborted.')\n\t\t: signal.reason;\n\n\treturn reason instanceof Error ? reason : getDOMException(reason);\n};\n\nexport default function pTimeout(promise, options) {\n\tconst {\n\t\tmilliseconds,\n\t\tfallback,\n\t\tmessage,\n\t\tcustomTimers = {setTimeout, clearTimeout},\n\t} = options;\n\n\tlet timer;\n\n\tconst wrappedPromise = new Promise((resolve, reject) => {\n\t\tif (typeof milliseconds !== 'number' || Math.sign(milliseconds) !== 1) {\n\t\t\tthrow new TypeError(`Expected \\`milliseconds\\` to be a positive number, got \\`${milliseconds}\\``);\n\t\t}\n\n\t\tif (options.signal) {\n\t\t\tconst {signal} = options;\n\t\t\tif (signal.aborted) {\n\t\t\t\treject(getAbortedReason(signal));\n\t\t\t}\n\n\t\t\tsignal.addEventListener('abort', () => {\n\t\t\t\treject(getAbortedReason(signal));\n\t\t\t});\n\t\t}\n\n\t\tif (milliseconds === Number.POSITIVE_INFINITY) {\n\t\t\tpromise.then(resolve, reject);\n\t\t\treturn;\n\t\t}\n\n\t\t// We create the error outside of `setTimeout` to preserve the stack trace.\n\t\tconst timeoutError = new TimeoutError();\n\n\t\ttimer = customTimers.setTimeout.call(undefined, () => {\n\t\t\tif (fallback) {\n\t\t\t\ttry {\n\t\t\t\t\tresolve(fallback());\n\t\t\t\t} catch (error) {\n\t\t\t\t\treject(error);\n\t\t\t\t}\n\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tif (typeof promise.cancel === 'function') {\n\t\t\t\tpromise.cancel();\n\t\t\t}\n\n\t\t\tif (message === false) {\n\t\t\t\tresolve();\n\t\t\t} else if (message instanceof Error) {\n\t\t\t\treject(message);\n\t\t\t} else {\n\t\t\t\ttimeoutError.message = message ?? `Promise timed out after ${milliseconds} milliseconds`;\n\t\t\t\treject(timeoutError);\n\t\t\t}\n\t\t}, milliseconds);\n\n\t\t(async () => {\n\t\t\ttry {\n\t\t\t\tresolve(await promise);\n\t\t\t} catch (error) {\n\t\t\t\treject(error);\n\t\t\t}\n\t\t})();\n\t});\n\n\tconst cancelablePromise = wrappedPromise.finally(() => {\n\t\tcancelablePromise.clear();\n\t});\n\n\tcancelablePromise.clear = () => {\n\t\tcustomTimers.clearTimeout.call(undefined, timer);\n\t\ttimer = undefined;\n\t};\n\n\treturn cancelablePromise;\n}\n","import semverLte from \"semver/functions/lte\"\nimport { isUrlOnline } from \"is-url-online\"\nimport { getSpecificVersionAndUrl, getSpecificVersions, getVersions } from \"../utils/setup/version\"\nimport { info, warning } from \"ci-log\"\nimport { PackageInfo } from \"../utils/setup/setupBin\"\nimport { addExeExt } from \"patha\"\nimport { extractExe, extractTarByExe } from \"../utils/setup/extract\"\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 \"15.0.0\",\n \"15.0.1\",\n \"15.0.2\",\n \"15.0.3\",\n \"15.0.4\",\n \"15.0.5\",\n \"15.0.6\",\n \"15.0.7\",\n \"16.0.0\",\n \"16.0.1\",\n \"16.0.2\",\n \"16.0.3\",\n \"16.0.4\",\n \"16.0.5\",\n \"16.0.6\",\n \"17.0.1\",\n \"17.0.2\",\n \"17.0.3\",\n \"17.0.4\",\n \"17.0.5\",\n])\n\n/** The LLVM versions that were never released for the Windows platform. */\nconst WIN32_MISSING: Set = new Set([\"10.0.1\", \"15.0.5\", \"15.0.6\", \"17.0.5\"])\n\n/** The LLVM versions that were never released for the Darwin platform. */\nconst DARWIN_MISSING = 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 // missing x86_64\n // TODO add arm64 support\n \"15.0.4\",\n \"15.0.5\",\n \"15.0.6\",\n \"16.0.0\",\n \"16.0.1\",\n \"16.0.2\",\n \"16.0.3\",\n \"16.0.4\",\n \"16.0.5\",\n \"16.0.6\",\n \"17.0.1\",\n \"17.0.2\",\n \"17.0.3\",\n \"17.0.4\",\n \"17.0.5\",\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 \"15.0.2\": \"-rhel86\",\n \"15.0.5\": \"-ubuntu-18.04\",\n \"15.0.6\": \"-ubuntu-18.04\",\n \"16.0.0\": \"-ubuntu-18.04\",\n \"16.0.2\": \"-ubuntu-22.04\",\n \"16.0.3\": \"-ubuntu-22.04\",\n \"16.0.4\": \"-ubuntu-22.04\",\n \"17.0.2\": \"-ubuntu-22.04\",\n \"17.0.4\": \"-ubuntu-22.04\",\n \"17.0.5\": \"-ubuntu-22.04\",\n}\n\n/** The latest supported LLVM version for the Linux (Ubuntu) platform. */\nconst MAX_UBUNTU: string = \"17.0.5\"\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/** 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/** 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 linuxVersion: 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 linuxVersion = version.replace(givenUbuntuVersion, \"\")\n version = getSpecificVersions(VERSIONS, givenUbuntuVersion)[0]\n } else if (version !== \"\" && version in UBUNTU_SUFFIX_MAP) {\n linuxVersion = UBUNTU_SUFFIX_MAP[version]\n } else {\n // default to the maximum version\n linuxVersion = UBUNTU_SUFFIX_MAP[MAX_UBUNTU]\n warning(`Falling back to LLVM version ${MAX_UBUNTU} ${linuxVersion} for the Ubuntu.`)\n }\n\n const prefix = \"clang+llvm-\"\n\n let suffix: string\n if (version === \"5.0.0\") {\n suffix = `-linux-x86_64${linuxVersion}.tar.xz`\n } else if (linuxVersion.includes(\"-rhel86\")) {\n suffix = `-x86_64-unknown-linux-gnu${linuxVersion}.tar.xz`\n } else {\n suffix = `-x86_64-linux-gnu${linuxVersion}.tar.xz`\n }\n\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/** 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\nexport async function getLLVMPackageInfo(\n version: string,\n platform: NodeJS.Platform,\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n _arch: string,\n): Promise {\n const [specificVersion, url] = await getSpecificVersionAndUrl(VERSIONS, platform, version, getUrl)\n info(`specific llvm 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","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 await 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([{ name: \"make\", version }])\n } else if (isUbuntu()) {\n return setupAptPack([{ name: \"make\", version }])\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 function setupMeson(version: string | undefined, _setupDir: string, _arch: string) {\n return setupPipPack(\"meson\", version)\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 { GITHUB_ACTIONS } from \"ci-info\"\nimport { join } from \"patha\"\n\nimport { error, info, warning } from \"ci-log\"\nimport { pathExists } from \"path-exists\"\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 (GITHUB_ACTIONS) {\n await addMSVCLoggingMatcher()\n }\n}\n\nasync function addMSVCLoggingMatcher() {\n const matcherPath = join(__dirname, \"msvc_matcher.json\")\n if (!(await pathExists(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 { dirname } from \"patha\"\nimport which from \"which\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\nimport { execRootSync } from \"admina\"\nimport { addAptKeyViaDownload, hasNala, 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([{ name: \"nala\" }], true)\n } else {\n await setupAptPack([{ name: \"nala-legacy\" }], true)\n }\n } catch (err) {\n await setupAptPack([{ name: \"nala-legacy\" }], true)\n }\n\n binDir = \"/usr/bin\" // eslint-disable-line require-atomic-updates\n\n return { binDir }\n}\n\nexport function bashWithNala(script: string) {\n if (hasNala()) {\n return `apt-get() { nala $@; }; export -f apt-get; ${script}; unset -f apt-get`\n }\n return script\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 \"admina\"\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([{ name: \"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([{ name: \"powershell\", version }])\n } else if (isUbuntu()) {\n await setupAptPack([{ name: \"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([{ name: \"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 { setupBrewPack } from \"../utils/setup/setupBrewPack\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport function setupSccache(version: string, _setupDir: string, _arch: string) {\n switch (process.platform) {\n case \"win32\": {\n return setupChocoPack(\"sccache\", version)\n }\n case \"linux\":\n case \"darwin\": {\n return setupBrewPack(\"sccache\", version)\n }\n default: {\n throw new Error(`Unsupported platform`)\n }\n }\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 { execaSync } from \"execa\"\nimport { notice } from \"ci-log\"\nimport { pathExists } from \"path-exists\"\nimport { addShExt, addShRelativePrefix, dirname, join } from \"patha\"\nimport { grantUserWriteAccess } from \"admina\"\nimport which from \"which\"\nimport { addPath } from \"../utils/env/addEnv\"\nimport { hasDnf } from \"../utils/env/hasDnf\"\nimport { isArch } from \"../utils/env/isArch\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\nimport { setupAptPack } from \"../utils/setup/setupAptPack\"\nimport { InstallationInfo } from \"../utils/setup/setupBin\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack\"\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 await Promise.all([\n setupPacmanPack(\"curl\"),\n setupPacmanPack(\"zip\"),\n setupPacmanPack(\"unzip\"),\n setupPacmanPack(\"tar\"),\n setupPacmanPack(\"git\"),\n setupPacmanPack(\"pkg-config\"),\n ])\n } else if (hasDnf()) {\n await setupDnfPack([\n { name: \"curl\" },\n { name: \"zip\" },\n { name: \"unzip\" },\n { name: \"tar\" },\n { name: \"git\" },\n { name: \"pkg-config\" },\n ])\n } else if (isUbuntu()) {\n await setupAptPack([\n { name: \"curl\" },\n { name: \"zip\" },\n { name: \"unzip\" },\n { name: \"tar\" },\n { name: \"git\" },\n { name: \"pkg-config\" },\n ])\n }\n }\n\n if (!(await pathExists(join(setupDir, addShExt(\"bootstrap-vcpkg\", \".bat\"))))) {\n execaSync(\"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 execaSync(addShExt(addShRelativePrefix(\"bootstrap-vcpkg\"), \".bat\"), {\n cwd: setupDir,\n shell: true,\n stdio: \"inherit\",\n })\n\n await grantUserWriteAccess(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 { endGroup, notice, startGroup } from \"@actions/core\"\nimport { error, info } from \"ci-log\"\nimport { join } from \"path\"\nimport semverValid from \"semver/functions/valid\"\nimport { getSuccessMessage } from \"./cli-options\"\nimport { setupGcc, setupMingw } from \"./gcc/gcc\"\nimport { activateGcovGCC, activateGcovLLVM } from \"./gcovr/gcovr\"\nimport { setupLLVM } from \"./llvm/llvm\"\nimport { setupMSVC } from \"./msvc/msvc\"\nimport { addEnv } from \"./utils/env/addEnv\"\nimport { getVersion } from \"./versions/versions\"\n\n/** Detecting the compiler version. Divide the given string by `-` and use the second element as the version */\nexport function getCompilerInfo(compilerAndVersion: string) {\n const compilerAndMaybeVersion = compilerAndVersion.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\n/** Installing the specified compiler */\nexport async function installCompiler(\n compilerAndVersion: string,\n osVersion: number[] | null,\n setupCppDir: string,\n arch: string,\n successMessages: string[],\n hasLLVM: boolean,\n errorMessages: string[],\n) {\n try {\n const { compiler, version } = getCompilerInfo(compilerAndVersion)\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\n await activateGcovLLVM()\n\n successMessages.push(getSuccessMessage(\"llvm\", installationInfo))\n break\n }\n case \"gcc\":\n case \"mingw\":\n case \"cygwin\":\n case \"msys\": {\n const gccVersion =\n compiler === \"mingw\" ? getVersion(\"mingw\", version, osVersion) : getVersion(\"gcc\", version, osVersion)\n const installationInfo =\n compiler === \"mingw\"\n ? await setupMingw(gccVersion, join(setupCppDir, \"gcc\"), arch)\n : await setupGcc(gccVersion, join(setupCppDir, \"gcc\"), arch)\n\n if (hasLLVM) {\n // remove back the added CPPFLAGS of LLVM that include the LLVM headers\n await addEnv(\"CPPFLAGS\", \"\")\n }\n\n await activateGcovGCC(gccVersion)\n\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\n if (hasLLVM) {\n // remove the CPPFLAGS of LLVM that include the LLVM headers\n await addEnv(\"CPPFLAGS\", \"\")\n }\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 } catch (err) {\n error(err as string | Error)\n errorMessages.push(`Failed to install the ${compilerAndVersion}`)\n }\n\n endGroup()\n}\n"],"mappings":";G8KII,CAAAA,CAAA,CiCMAC,CAAA,CEFAC,CAAA,CcAAC,CAAA,CkCFAC,CAAA,C/CJAC,CAAA,CCAAC,CAAA,CEAAC,CAAA,C,8IxFSJ,QAAS,CAAAC,EAAOR,CAAI,CAAEC,CAAO,CAAEC,CAAE,EAM/B,GALuB,YAAnB,MAAO,CAAAD,CAAA,GACTC,CAAA,CAAKD,CAAA,CACLA,CAAA,CAAU,CAAC,GAGT,CAACC,CAAA,CAAI,CACP,GAAI,UAAmB,EAAnB,MAAO,CAAAO,OAAA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AAAsC,KAAI,EAAE9I,CAAA,EACNiB,OAAA,CAAQ+I,QAAA,CAAW,CACrB"} \ No newline at end of file +{"version":3,"file":"setup-cpp.js","names":["e","t","r","n","i","o","s","a","c","Promise","TypeError","rD","code","ignoreErrors","p","options","env","process","cwd","chdir","disabled","rN","sync","command","path","rU","pathExt","nX","delimiter","resolve","d","Object","assign","Error","errno","syscall","spawnargs","args","f","iF","file","original","h","rP","t7","spawn","rG","hookChildProcess","m","charCodeAt","length","slice","v","platform","keys","reverse","find","toUpperCase","g","u","ro","execPath","URL","rs","fileURLToPath","rn","l","push","join","E","pipe","y","writable","_write","_writableState","w","maxBuffer","rW","getBufferedLength","rV","MAX_LENGTH","bufferedData","getBufferedValue","o$","on","oA","x","o4","oV","oX","o2","oI","ri","ChildProcess","oB","reject","i5","error","stdout","stderr","all","escapedCommand","parsed","timedOut","isCanceled","killed","oH","oR","oO","kill","ov","bind","cancel","ox","rB","exitCode","signal","oM","o6","aborted","failed","ok","oD","oC","b","oL","spawnSync","input","status","R","getuid","CI","rI","nothrow","I","o7","oW","S","T","O","map","C","SUDO_USER","nW","statSync","isDirectory","$","nQ","replace","A","next","throw","done","value","then","apply","_","return","call","label","ops","pop","trys","sent","Symbol","iterator","P","rQ","pkg","ni","ry","warning","message","stack","L","Array","isArray","N","sH","sP","sL","sG","sd","sC","se","s$","sp","sf","si","su","sO","sq","sx","sb","sv","k","stdio","D","sK","ns","na","shouldEscapeSpace","rE","GITHUB_ACTIONS","shouldAddOnlyIfNotDefined","no","info","exportVariable","j","setFailed","U","sJ","some","test","PATH","split","includes","addPath","M","F","appendFileSync","sQ","sZ","nl","pathExists","readFileSync","G","Set","writeFileSync","B","z","name","version","DEBIAN_FRONTEND","s1","V","s2","X","flatMap","repositories","q","s3","binDir","H","nu","default","trim","Y","W","K","J","toString","s0","Q","startsWith","Z","np","dirname","nV","tmpdir","nd","mkdirP","NONINTERACTIVE","ee","et","s4","arch","er","SystemRoot","ALLUSERSPROFILE","ChocolateyInstall","en","s6","TMP","TEMP","Path","extendEnv","ei","eo","es","ea","el","eu","ec","s8","s5","ep","matchAll","s7","ed","an","ai","eE","at","existsSync","readdirSync","ev","ef","ey","au","ae","eh","as","clean","s9","debug","rmRF","em","valid","eg","sort","gt","satisfies","RUNNER_TOOL_CACHE","t6","RUNNER_TEMP","ew","rf","ex","$current","max","timeout","match","backoffBase","backoffExponent","report","Date","toLocaleTimeString","setTimeout","clearTimeout","ah","current","catch","RegExp","Math","pow","eb","url","binRelativeDir","binFileName","extractedFolderName","extractFunction","nf","installDir","nC","downloadTool","am","cacheDir","eR","eI","eO","eS","eT","eC","e$","nT","nS","addExeExt","extractTar","eA","e_","nA","eP","eL","eN","isMemoized","fn","isEqual","isMatchingKey","isPromise","maxSize","onCacheAdd","onCacheChange","onCacheHit","transformKey","n$","n_","values","canTransformKey","shouldCloneArguments","shouldUpdateOnAdd","shouldUpdateOnChange","shouldUpdateOnHit","arguments","getKeyIndex","orderByLru","updateAsyncCache","cache","ek","nJ","request","method","statusCode","end","eD","from","filter","nN","localeCompare","eU","nL","has","JSON","stringify","ej","av","nw","getExecOutput","console","eM","eF","eG","eq","bin","eW","eB","eH","e5","e8","upgrade","usePipx","isLibrary","eV","setupActionsPython","rv","ez","eX","aE","python","eY","eJ","eK","pip","eQ","tt","eZ","e0","e1","ay","parseInt","ag","e2","execFile","encoding","shell","e3","e4","nD","getUbuntuVersion","e6","ab","user","e9","aw","te","e7","ax","findIndex","tr","tn","ti","to","ts","ta","tl","notice","tu","tc","aR","releaseName","fileSuffix","tp","tf","th","td","nU","tm","nj","tv","tg","tE","ty","tw","tx","nM","tb","tR","aC","tI","execSync","entries","aT","aO","aS","aI","tO","nB","tS","aN","startGroup","milliseconds","fallback","customTimers","sign","aL","addEventListener","Number","POSITIVE_INFINITY","aA","finally","clear","tT","endGroup","aW","tQ","tC","t$","aU","ak","NODE_DEBUG","tA","aD","rd","t_","tP","tL","aM","tN","aF","aG","get","aj","aB","aH","tk","tD","aq","tG","tU","tj","aV","tB","nH","All","nk","az","tM","tF","LD_LIBRARY_PATH","DYLD_LIBRARY_PATH","nq","tH","tq","nF","nG","tz","nz","tV","tX","tW","tY","tK","tJ","aX","addShExt","addShRelativePrefix","tZ","compiler","t0","ACTIONS_ALLOW_UNSECURE_COMMANDS","alias","unknown","string","boolean","concat","splice","substring","indexOf","repeat","shift","aK","fromEntries","getInput","toLowerCase","help","table","tools","documentation","coverage","other","architecture","SETUP_CPP_DIR","rb","create","autoloadLocales","addLocale","rR","rw","rx","forEach","cppcheck","gcovr","aY","isCI","now","parseFloat","format","success","t1","t2","rT","rC","r$","rA","rq","rX","rY","rJ","r0","r1","r2","r3","r4","r6","r8","r5","r7","r9","ne","nt","nr","nn","nP","any","every","defineProperty","exports","constant","isPR","pr","BUILD_ID","BUILD_NUMBER","CI_APP_ID","CI_BUILD_ID","CI_BUILD_NUMBER","CI_NAME","CONTINUOUS_INTEGRATION","RUN_ID","parse","log","required","trimWhitespace","issueCommand","toCommandProperties","issue","ExitCode","Success","Failure","toCommandValue","GITHUB_ENV","issueFileCommand","prepareKeyValueMessage","setSecret","GITHUB_PATH","getMultilineInput","getBooleanInput","setOutput","GITHUB_OUTPUT","write","EOL","setCommandEcho","isDebug","RUNNER_DEBUG","group","saveState","GITHUB_STATE","getState","getIDToken","OidcClient","enumerable","summary","markdownSummary","toPosixPath","toWin32Path","toPlatformPath","constructor","properties","hasOwnProperty","String","title","line","startLine","endLine","col","startColumn","endColumn","random","rng","nY","randomFillSync","Uint8Array","substr","createHttpClient","HttpClient","BearerCredentialHandler","getRequestToken","allowRetries","maxRetries","ACTIONS_ID_TOKEN_REQUEST_TOKEN","getIDTokenUrl","ACTIONS_ID_TOKEN_REQUEST_URL","getCall","getJson","result","encodeURIComponent","nK","HttpCodes","OK","MultipleChoices","MovedPermanently","ResourceMoved","SeeOther","NotModified","UseProxy","SwitchProxy","TemporaryRedirect","PermanentRedirect","BadRequest","Unauthorized","PaymentRequired","Forbidden","NotFound","MethodNotAllowed","NotAcceptable","ProxyAuthenticationRequired","RequestTimeout","Conflict","Gone","TooManyRequests","InternalServerError","NotImplemented","BadGateway","ServiceUnavailable","GatewayTimeout","Headers","Accept","ContentType","MediaTypes","ApplicationJson","getProxyUrl","href","setPrototypeOf","prototype","HttpClientError","readBody","Buffer","alloc","HttpClientResponse","isHttps","protocol","_ignoreSslError","_allowRedirects","_allowRedirectDowngrade","_maxRedirects","_allowRetries","_maxRetries","_keepAlive","_disposed","userAgent","handlers","requestOptions","ignoreSslError","_socketTimeout","socketTimeout","allowRedirects","allowRedirectDowngrade","maxRedirects","keepAlive","del","post","patch","put","head","sendStream","_getExistingOrDefaultHeader","_processResponse","postJson","putJson","patchJson","_prepareRequest","requestRaw","canHandleAuthentication","handleAuthentication","headers","location","hostname","_performExponentialBackoff","dispose","_agent","destroy","requestRawWithCallback","byteLength","httpModule","getAgent","_getAgent","parsedUrl","host","port","pathname","search","_mergeHeaders","agent","prepareRequest","_proxyAgent","maxSockets","globalAgent","proxy","username","password","proxyAuth","httpsOverHttps","httpsOverHttp","httpOverHttps","httpOverHttp","Agent","rejectUnauthorized","min","deserializeDates","isNaN","valueOf","reduce","no_proxy","NO_PROXY","endsWith","https_proxy","HTTPS_PROXY","http_proxy","HTTP_PROXY","checkBypass","proxyOptions","defaultMaxSockets","requests","sockets","onSocket","removeSocket","createSocket","getHeader","socket","servername","t3","connect","localAddress","defaultPort","t8","inherits","t4","EventEmitter","addRequest","emit","removeListener","removeAllListeners","useChunkedEncodingByDefault","once","nextTick","unshift","BasicCredentialHandler","Authorization","token","PersonalAccessTokenCredentialHandler","access","appendFile","writeFile","promises","SUMMARY_ENV_VAR","SUMMARY_DOCS_URL","_buffer","filePath","_filePath","constants","R_OK","W_OK","wrap","overwrite","emptyBuffer","isEmptyBuffer","addRaw","addEOL","addCodeBlock","lang","addList","addTable","header","data","colspan","rowspan","addDetails","addImage","width","height","src","alt","addHeading","addSeparator","addBreak","addQuote","cite","addLink","sep","require","pluralize","numerous","id","locale","span","unitType","unitTypeLookupOrder","autoload","floor","defaultConfig","versions","node","isSymbolicLink","isFile","PATHEXT","stat","mode","uid","gid","getgid","inc","diff","major","minor","prerelease","compare","rcompare","compareLoose","compareBuild","rsort","lt","neq","gte","lte","cmp","coerce","Comparator","Range","toComparators","maxSatisfying","minSatisfying","minVersion","validRange","outside","gtr","ltr","intersects","simplifyRange","subset","SemVer","re","tokens","SEMVER_SPEC_VERSION","RELEASE_TYPES","compareIdentifiers","rcompareIdentifiers","MAX_SAFE_COMPONENT_LENGTH","MAX_SAFE_BUILD_LENGTH","safeRe","NUMERICIDENTIFIER","NUMERICIDENTIFIERLOOSE","NONNUMERICIDENTIFIER","PRERELEASEIDENTIFIER","PRERELEASEIDENTIFIERLOOSE","BUILDIDENTIFIER","MAINVERSION","PRERELEASE","BUILD","FULLPLAIN","MAINVERSIONLOOSE","PRERELEASELOOSE","LOOSEPLAIN","XRANGEIDENTIFIER","XRANGEIDENTIFIERLOOSE","GTLT","XRANGEPLAIN","XRANGEPLAINLOOSE","COERCE","LONETILDE","tildeTrimReplace","LONECARET","caretTrimReplace","comparatorTrimReplace","MAX_SAFE_INTEGER","FLAG_INCLUDE_PRERELEASE","FLAG_LOOSE","loose","includePrerelease","LOOSE","FULL","raw","build","compareMain","comparePre","freeze","rtl","COERCERTL","exec","index","lastIndex","ANY","semver","operator","COMPARATORLOOSE","COMPARATOR","set","parseRange","range","HYPHENRANGELOOSE","HYPHENRANGE","COMPARATORTRIM","TILDETRIM","CARETTRIM","Map","size","delete","TILDELOOSE","TILDE","CARETLOOSE","CARET","XRANGELOOSE","XRANGE","STAR","GTE0PRE","GTE0","unshiftNode","maxAge","tail","prev","key","removeNode","stale","noDisposeOnSet","updateAgeOnGet","reset","allowStale","lengthCalculator","itemCount","rforEach","toArray","dump","dumpLru","peek","load","prune","list","Node","pushNode","forEachReverse","getReverse","mapReverse","reduceReverse","toArrayReverse","sliceReverse","add","t5","configurable","basename","extname","normalize","relative","IS_WINDOWS","rm","force","recursive","retryDelay","mkdir","isRooted","tryGetExecutablePath","lstat","unlink","chmod","readlink","symlink","exists","copyFile","cp","copySourceDirectory","readdir","mv","rename","which","findInPath","open","rmdir","UV_FS_O_EXLOCK","READONLY","O_RDONLY","getCmdPath","COMSPEC","_findMatch","stable","files","platform_version","_getOsVersion","_readLinuxVersionFile","randomBytes","argStringToArray","ToolRunner","t9","StringDecoder","listeners","toolPath","_debug","_getCommandString","_getSpawnFileName","_getSpawnArgs","_isCmdFile","windowsVerbatimArguments","_windowsQuoteCmdArg","_processLineBuffer","_endsWith","_uvQuoteCmdArg","_cloneExecOptions","silent","failOnStdErr","ignoreReturnCode","delay","outStream","errStream","_getSpawnOptions","argv0","stdline","processStderr","errline","processError","processExited","processClosed","CheckComplete","processExitCode","stdin","charAt","_setResult","HandleTimeout","abs","long","years","one","months","weeks","days","hours","minutes","seconds","narrow","short","rt","homedir","rO","nZ","n0","n1","chown","n2","n3","lchmod","n4","lchown","n6","link","n8","n5","n7","mkdtemp","n9","ie","it","readFile","ir","ii","realpath","io","is","ia","il","iu","truncate","ic","ip","utimes","ih","im","ig","iv","iE","groups","getgroups","rS","ib","iw","ix","iR","_ISEXE_TEST_PLATFORM_","iI","isexe","iO","posix","iS","iT","iC","source","i$","iA","pathEnv","pathExtExe","i_","iP","r_","rL","OSTYPE","iN","iL","rk","TESTING_WINDOWS","ik","iD","colon","iU","ij","rj","rM","rF","openSync","readSync","closeSync","iM","forceShell","comspec","verifyENOENT","verifyENOENTSync","notFoundError","_parse","_enoent","iG","getOwnPropertyDescriptor","iB","iH","getPrototypeOf","iq","iz","Function","iV","iX","iW","WeakMap","iY","displayName","ignoreNonConfigurable","Reflect","ownKeys","callCount","iK","iZ","iQ","iJ","number","action","description","standard","i0","forced","i1","i2","signals","supported","i3","i4","i6","i8","errorCode","signalDescription","Boolean","originalMessage","shortMessage","i7","i9","oe","ot","reallyExit","pid","or","oi","oo","os","__signal_exit_emitter__","count","emitted","infinite","setMaxListeners","oa","oc","ou","oh","od","rH","equal","op","alwaysLast","unload","ol","om","of","og","oE","ow","unref","forceKillAfterTimeout","oy","SIGTERM","isFinite","ob","killSignal","race","cleanup","detached","oS","oT","createWriteStream","pipeStdout","pipeStderr","pipeAll","ra","promisify","rl","PassThrough","array","objectMode","setEncoding","pipeline","rz","buffer","MaxBufferError","rK","readable","isEmpty","o_","oP","inputFile","oN","createReadStream","oU","oj","oF","oG","oq","oz","oY","rr","isBuffer","oK","oJ","templates","expressions","template","oQ","oZ","ru","debuglog","enabled","o0","padStart","o1","getHours","getMinutes","getSeconds","getMilliseconds","verbose","o3","preferLocal","localDir","stripFinalNewline","windowsHide","o8","o5","rc","npm_package_json","npm_config_user_agent","XDG_CONFIG_HOME","mkdirSync","lastUpdateCheck","getTime","updateCheckInterval","distTag","alwaysRun","rZ","padEnd","isTTY","shouldNotifyInNpmScript","o9","st","sr","sn","so","ss","sl","sa","sc","sh","sm","sg","sE","sy","sw","sR","sI","sS","sT","sA","s_","sN","sk","sD","sU","sj","sM","sF","sB","sz","sV","sX","sW","release","sY","nc","ng","ar","ao","aa","al","ny","ac","nI","nx","RetryHelper","maxAttempts","minSeconds","maxSeconds","execute","getSleepAmount","sleep","ap","httpStatusCode","new","target","HTTPError","ad","af","nE","authorization","statusMessage","extract7z","nh","extractXar","extractZip","cacheFile","findAllVersions","getManifestFromRepo","tree","accept","findFromManifest","isExplicitVersion","evaluateVersions","retryAsPromised","TimeoutError","previous","_getKeyIndexFromMatchingKey","_getKeyIndexForMany","_getKeyIndexForSingle","rp","llvm","clangtidy","clangformat","ninja","cmake","conan","meson","kcov","task","doxygen","gcc","mingw","nala","ProgramFiles","a$","win32","win64","x86_64","a_","aP","globalThis","DOMException","reason","vcpkg","bazel","opencppcoverage","choco","brew","powershell","ccache","sccache","graphviz","ClangFormat","msvc","vcvarsall","make","sevenzip","argv"],"sources":["../../","../../node_modules/ci-info/index.js","../../node_modules/ci-info/vendors.json","../../packages/ci-log/src/index.ts","../../node_modules/@actions/core/lib/core.js","../../node_modules/@actions/core/src/core.ts","../../node_modules/@actions/core/lib/command.js","../../node_modules/@actions/core/src/command.ts","../../node_modules/@actions/core/lib/utils.js","../../node_modules/@actions/core/src/utils.ts","../../node_modules/@actions/core/lib/file-command.js","../../node_modules/@actions/core/src/file-command.ts","../../node_modules/uuid/dist/esm-node/v4.js","../../node_modules/uuid/dist/esm-node/rng.js","../../node_modules/uuid/dist/esm-node/stringify.js","../../node_modules/uuid/dist/esm-node/validate.js","../../node_modules/uuid/dist/esm-node/regex.js","../../node_modules/@actions/core/lib/oidc-utils.js","../../node_modules/@actions/core/src/oidc-utils.ts","../../node_modules/@actions/http-client/lib/index.js","../../node_modules/@actions/http-client/src/index.ts","../../node_modules/@actions/http-client/lib/proxy.js","../../node_modules/@actions/http-client/src/proxy.ts","../../node_modules/tunnel/index.js","../../node_modules/tunnel/lib/tunnel.js","../../node_modules/@actions/http-client/lib/auth.js","../../node_modules/@actions/http-client/src/auth.ts","../../node_modules/@actions/core/lib/summary.js","../../node_modules/@actions/core/src/summary.ts","../../node_modules/@actions/core/lib/path-utils.js","../../node_modules/@actions/core/src/path-utils.ts","../../node_modules/numerous/lib/numerous.js","../../node_modules/time-delta/lib/time-delta.js","../../node_modules/numerous/index.js","../../node_modules/is-node/index.js","../../node_modules/isexe/windows.js","../../node_modules/isexe/mode.js","../../node_modules/signal-exit/signals.js","../../node_modules/semver/index.js","../../node_modules/semver/internal/re.js","../../node_modules/semver/internal/constants.js","../../node_modules/semver/internal/debug.js","../../node_modules/semver/classes/semver.js","../../node_modules/semver/internal/parse-options.js","../../node_modules/semver/internal/identifiers.js","../../node_modules/semver/functions/parse.js","../../node_modules/semver/functions/valid.js","../../node_modules/semver/functions/clean.js","../../node_modules/semver/functions/inc.js","../../node_modules/semver/functions/diff.js","../../node_modules/semver/functions/major.js","../../node_modules/semver/functions/minor.js","../../node_modules/semver/functions/patch.js","../../node_modules/semver/functions/prerelease.js","../../node_modules/semver/functions/compare.js","../../node_modules/semver/functions/rcompare.js","../../node_modules/semver/functions/compare-loose.js","../../node_modules/semver/functions/compare-build.js","../../node_modules/semver/functions/sort.js","../../node_modules/semver/functions/rsort.js","../../node_modules/semver/functions/gt.js","../../node_modules/semver/functions/lt.js","../../node_modules/semver/functions/eq.js","../../node_modules/semver/functions/neq.js","../../node_modules/semver/functions/gte.js","../../node_modules/semver/functions/lte.js","../../node_modules/semver/functions/cmp.js","../../node_modules/semver/functions/coerce.js","../../node_modules/semver/classes/comparator.js","../../node_modules/semver/classes/range.js","../../node_modules/semver/node_modules/lru-cache/index.js","../../node_modules/yallist/yallist.js","../../node_modules/yallist/iterator.js","../../node_modules/semver/functions/satisfies.js","../../node_modules/semver/ranges/to-comparators.js","../../node_modules/semver/ranges/max-satisfying.js","../../node_modules/semver/ranges/min-satisfying.js","../../node_modules/semver/ranges/min-version.js","../../node_modules/semver/ranges/valid.js","../../node_modules/semver/ranges/outside.js","../../node_modules/semver/ranges/gtr.js","../../node_modules/semver/ranges/ltr.js","../../node_modules/semver/ranges/intersects.js","../../node_modules/semver/ranges/simplify.js","../../node_modules/semver/ranges/subset.js","../../node_modules/escape-quotes/node_modules/escape-string-regexp/index.js","../../node_modules/path-exists/index.js","../../node_modules/patha/dist/index.node.mjs","../../node_modules/patha/src/name.ts","../../node_modules/patha/src/normalize-trim.ts","../../node_modules/patha/src/add-exe-ext.ts","../../node_modules/patha/src/add-name-prefix.ts","../../node_modules/patha/src/add-name-suffix.ts","../../node_modules/patha/src/add-sh-ext.ts","../../node_modules/patha/src/add-sh-relative-prefix.ts","../../node_modules/patha/src/remove-ext.ts","../../node_modules/patha/src/replace-ext.ts","../../node_modules/patha/src/is-path-inside.ts","../../node_modules/escape-string-regexp/index.js","../../node_modules/replace-ext/index.js","../../node_modules/@actions/io/lib/io.js","../../node_modules/@actions/io/src/io.ts","../../node_modules/@actions/io/lib/io-util.js","../../node_modules/@actions/io/src/io-util.ts","../../node_modules/@actions/tool-cache/lib/manifest.js","../../node_modules/@actions/tool-cache/src/manifest.ts","../../node_modules/@actions/tool-cache/node_modules/semver/semver.js","../../node_modules/@actions/tool-cache/node_modules/uuid/v4.js","../../node_modules/@actions/tool-cache/node_modules/uuid/lib/rng.js","../../node_modules/@actions/tool-cache/node_modules/uuid/lib/bytesToUuid.js","../../node_modules/@actions/exec/lib/exec.js","../../node_modules/@actions/exec/src/exec.ts","../../node_modules/@actions/exec/lib/toolrunner.js","../../node_modules/@actions/exec/src/toolrunner.ts","../../node_modules/@parcel/runtime-js/lib/runtime-e2bdeaf18235cc8f.js","../../src/main.ts","../../node_modules/numerous/locales/en.js","../../node_modules/time-delta/index.js","../../node_modules/time-delta/locales/en.js","../../packages/untildify-user/src/index.ts","../../packages/untildify-user/node_modules/untildify/index.js","../../node_modules/admina/src/index.mts","../../node_modules/admina/dist/root.mjs","../../node_modules/admina/src/root.mts","../../node_modules/which/lib/index.js","../../node_modules/which/node_modules/isexe/dist/mjs/index.js","../../node_modules/which/node_modules/isexe/src/index.ts","../../node_modules/which/node_modules/isexe/dist/mjs/posix.js","../../node_modules/which/node_modules/isexe/src/posix.ts","../../src/utils/compat/fs/promises.ts","../../node_modules/which/node_modules/isexe/dist/mjs/win32.js","../../node_modules/which/node_modules/isexe/src/win32.ts","../../node_modules/which/node_modules/isexe/src/options.ts","../../node_modules/execa/index.js","../../node_modules/cross-spawn/index.js","../../node_modules/cross-spawn/lib/parse.js","../../node_modules/cross-spawn/lib/util/resolveCommand.js","../../node_modules/cross-spawn/node_modules/which/which.js","../../node_modules/isexe/index.js","../../node_modules/path-key/index.js","../../node_modules/cross-spawn/lib/util/escape.js","../../node_modules/cross-spawn/lib/util/readShebang.js","../../node_modules/shebang-command/index.js","../../node_modules/shebang-regex/index.js","../../node_modules/cross-spawn/lib/enoent.js","../../node_modules/strip-final-newline/index.js","../../node_modules/npm-run-path/index.js","../../node_modules/npm-run-path/node_modules/path-key/index.js","../../node_modules/onetime/index.js","../../node_modules/mimic-fn/index.js","../../node_modules/execa/lib/error.js","../../node_modules/human-signals/build/src/main.js","../../node_modules/human-signals/build/src/realtime.js","../../node_modules/human-signals/build/src/signals.js","../../node_modules/human-signals/build/src/core.js","../../node_modules/execa/lib/stdio.js","../../node_modules/execa/lib/kill.js","../../node_modules/signal-exit/index.js","../../node_modules/execa/lib/pipe.js","../../node_modules/is-stream/index.js","../../node_modules/execa/lib/stream.js","../../node_modules/get-stream/index.js","../../node_modules/get-stream/buffer-stream.js","../../node_modules/merge-stream/index.js","../../node_modules/execa/lib/promise.js","../../node_modules/execa/lib/command.js","../../node_modules/execa/lib/verbose.js","../../node_modules/admina/dist/admin.mjs","../../node_modules/admina/src/admin.mts","../../node_modules/admina/dist/is-admin.mjs","../../node_modules/admina/src/is-admin.mts","../../node_modules/admina/dist/user-access.mjs","../../node_modules/admina/src/user-access.mts","../../src/check-updates.ts","../../node_modules/simple-update-notifier/build/index.js","../../package-version.json","../../src/cli-options.ts","../../node_modules/mri/lib/index.mjs","../../src/tool.ts","../../src/bazel/bazel.ts","../../src/utils/setup/setupAptPack.ts","../../src/utils/env/addEnv.ts","../../packages/exec-powershell/src/index.ts","../../packages/exec-powershell/node_modules/execa/index.js","../../packages/exec-powershell/node_modules/execa/lib/error.js","../../packages/exec-powershell/node_modules/execa/lib/stdio.js","../../packages/exec-powershell/node_modules/execa/lib/kill.js","../../packages/exec-powershell/node_modules/execa/lib/pipe.js","../../packages/exec-powershell/node_modules/execa/lib/stream.js","../../packages/exec-powershell/node_modules/execa/lib/promise.js","../../packages/exec-powershell/node_modules/execa/lib/command.js","../../packages/exec-powershell/node_modules/execa/lib/verbose.js","../../node_modules/escape-path-with-spaces/index.js","../../node_modules/escape-quotes/lib/escape-quotes.js","../../src/utils/setup/setupBrewPack.ts","../../src/brew/brew.ts","../../src/utils/setup/setupChocoPack.ts","../../src/chocolatey/chocolatey.ts","../../src/utils/env/isArch.ts","../../src/utils/env/hasDnf.ts","../../src/utils/setup/setupDnfPack.ts","../../src/utils/env/isUbuntu.ts","../../src/ccache/ccache.ts","../../src/utils/setup/setupPacmanPack.ts","../../src/cmake/cmake.ts","../../node_modules/@actions/tool-cache/lib/tool-cache.js","../../node_modules/@actions/tool-cache/src/tool-cache.ts","../../node_modules/@actions/tool-cache/lib/retry-helper.js","../../node_modules/@actions/tool-cache/src/retry-helper.ts","../../src/utils/setup/setupBin.ts","../../node_modules/retry-as-promised/dist/index.js","../../src/utils/setup/extract.ts","../../src/sevenzip/sevenzip.ts","../../src/conan/conan.ts","../../src/utils/setup/setupPipPack.ts","../../src/python/python.ts","../../node_modules/micro-memoize/dist/micro-memoize.esm.js","../../node_modules/micro-memoize/src/utils.ts","../../node_modules/micro-memoize/src/Cache.ts","../../node_modules/micro-memoize/src/index.ts","../../src/utils/setup/version.ts","../../node_modules/is-url-online/dist/index.mjs","../../src/utils/std/index.ts","../../src/versions/default_versions.ts","../../src/versions/versions.ts","../../src/utils/env/ubuntu_version.ts","../../node_modules/ubuntu-version/index.js","../../src/cppcheck/cppcheck.ts","../../src/doxygen/doxygen.ts","../../src/graphviz/graphviz.ts","../../src/gcc/gcc.ts","../../src/macos-sdk/macos-sdk.ts","../../src/gcovr/gcovr.ts","../../src/kcov/kcov.ts","../../src/ninja/ninja.ts","../../src/llvm/llvm.ts","../../src/llvm/llvm_installer.ts","../../src/installTool.ts","../../src/vcvarsall/vcvarsall.ts","../../node_modules/msvc-dev-cmd/lib.js","../../node_modules/p-timeout/index.js","../../src/llvm/llvm_url.ts","../../src/make/make.ts","../../src/meson/meson.ts","../../src/msvc/msvc.ts","../../src/nala/nala.ts","../../src/opencppcoverage/opencppcoverage.ts","../../src/powershell/powershell.ts","../../src/sccache/sccache.ts","../../src/task/task.ts","../../src/vcpkg/vcpkg.ts","../../src/compilers.ts"],"sourcesContent":["#!/usr/bin/env node\nvar $aEsRD$os = require(\"os\");\nvar $aEsRD$path = require(\"path\");\nvar $aEsRD$fs = require(\"fs\");\nvar $aEsRD$crypto = require(\"crypto\");\nvar $aEsRD$http = require(\"http\");\nvar $aEsRD$https = require(\"https\");\nrequire(\"net\");\nvar $aEsRD$tls = require(\"tls\");\nvar $aEsRD$events = require(\"events\");\nvar $aEsRD$assert = require(\"assert\");\nvar $aEsRD$util = require(\"util\");\nvar $aEsRD$nodefs = require(\"node:fs\");\nvar $aEsRD$child_process = require(\"child_process\");\nvar $aEsRD$string_decoder = require(\"string_decoder\");\nvar $aEsRD$timers = require(\"timers\");\nvar $aEsRD$nodeos = require(\"node:os\");\nvar $aEsRD$nodebuffer = require(\"node:buffer\");\nvar $aEsRD$nodepath = require(\"node:path\");\nvar $aEsRD$nodechild_process = require(\"node:child_process\");\nvar $aEsRD$nodeprocess = require(\"node:process\");\nvar $aEsRD$nodeurl = require(\"node:url\");\nvar $aEsRD$buffer = require(\"buffer\");\nvar $aEsRD$stream = require(\"stream\");\nvar $aEsRD$nodeutil = require(\"node:util\");\nvar $aEsRD$process = require(\"process\");\nvar $aEsRD$url = require(\"url\");\nvar $aEsRD$console = require(\"console\");\n\n\nfunction $parcel$export(e, n, v, s) {\n Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});\n}\n\nfunction $parcel$interopDefault(a) {\n return a && a.__esModule ? a.default : a;\n}\n\n var $parcel$global = globalThis;\n \nvar $parcel$modules = {};\nvar $parcel$inits = {};\n\nvar parcelRequire = $parcel$global[\"parcelRequire810d\"];\n\nif (parcelRequire == null) {\n parcelRequire = function(id) {\n if (id in $parcel$modules) {\n return $parcel$modules[id].exports;\n }\n if (id in $parcel$inits) {\n var init = $parcel$inits[id];\n delete $parcel$inits[id];\n var module = {id: id, exports: {}};\n $parcel$modules[id] = module;\n init.call(module.exports, module, module.exports);\n return module.exports;\n }\n var err = new Error(\"Cannot find module '\" + id + \"'\");\n err.code = 'MODULE_NOT_FOUND';\n throw err;\n };\n\n parcelRequire.register = function register(id, init) {\n $parcel$inits[id] = init;\n };\n\n $parcel$global[\"parcelRequire810d\"] = parcelRequire;\n}\n\nvar parcelRegister = parcelRequire.register;\nparcelRegister(\"l6WDk\", function(module, exports) {\n\"use strict\";\n\nvar $bboZj = parcelRequire(\"bboZj\");\nconst $f5e7a3dac586baf1$var$env = process.env;\n// Used for testing only\nObject.defineProperty(module.exports, \"_vendors\", {\n value: $bboZj.map(function(v) {\n return v.constant;\n })\n});\nmodule.exports.name = null;\nmodule.exports.isPR = null;\n$bboZj.forEach(function(vendor) {\n const envs = Array.isArray(vendor.env) ? vendor.env : [\n vendor.env\n ];\n const isCI = envs.every(function(obj) {\n return $f5e7a3dac586baf1$var$checkEnv(obj);\n });\n module.exports[vendor.constant] = isCI;\n if (!isCI) return;\n module.exports.name = vendor.name;\n switch(typeof vendor.pr){\n case \"string\":\n // \"pr\": \"CIRRUS_PR\"\n module.exports.isPR = !!$f5e7a3dac586baf1$var$env[vendor.pr];\n break;\n case \"object\":\n if (\"env\" in vendor.pr) // \"pr\": { \"env\": \"BUILDKITE_PULL_REQUEST\", \"ne\": \"false\" }\n module.exports.isPR = vendor.pr.env in $f5e7a3dac586baf1$var$env && $f5e7a3dac586baf1$var$env[vendor.pr.env] !== vendor.pr.ne;\n else if (\"any\" in vendor.pr) // \"pr\": { \"any\": [\"ghprbPullId\", \"CHANGE_ID\"] }\n module.exports.isPR = vendor.pr.any.some(function(key) {\n return !!$f5e7a3dac586baf1$var$env[key];\n });\n else // \"pr\": { \"DRONE_BUILD_EVENT\": \"pull_request\" }\n module.exports.isPR = $f5e7a3dac586baf1$var$checkEnv(vendor.pr);\n break;\n default:\n // PR detection not supported for this vendor\n module.exports.isPR = null;\n }\n});\nmodule.exports.isCI = !!($f5e7a3dac586baf1$var$env.CI !== \"false\" && // Bypass all checks if CI env is explicitly set to 'false'\n($f5e7a3dac586baf1$var$env.BUILD_ID || // Jenkins, Cloudbees\n$f5e7a3dac586baf1$var$env.BUILD_NUMBER || // Jenkins, TeamCity\n$f5e7a3dac586baf1$var$env.CI || // Travis CI, CircleCI, Cirrus CI, Gitlab CI, Appveyor, CodeShip, dsari\n$f5e7a3dac586baf1$var$env.CI_APP_ID || // Appflow\n$f5e7a3dac586baf1$var$env.CI_BUILD_ID || // Appflow\n$f5e7a3dac586baf1$var$env.CI_BUILD_NUMBER || // Appflow\n$f5e7a3dac586baf1$var$env.CI_NAME || // Codeship and others\n$f5e7a3dac586baf1$var$env.CONTINUOUS_INTEGRATION || // Travis CI, Cirrus CI\n$f5e7a3dac586baf1$var$env.RUN_ID || // TaskCluster, dsari\nmodule.exports.name || false));\nfunction $f5e7a3dac586baf1$var$checkEnv(obj) {\n // \"env\": \"CIRRUS\"\n if (typeof obj === \"string\") return !!$f5e7a3dac586baf1$var$env[obj];\n // \"env\": { \"env\": \"NODE\", \"includes\": \"/app/.heroku/node/bin/node\" }\n if (\"env\" in obj) // Currently there are no other types, uncomment when there are\n // if ('includes' in obj) {\n return $f5e7a3dac586baf1$var$env[obj.env] && $f5e7a3dac586baf1$var$env[obj.env].includes(obj.includes);\n if (\"any\" in obj) return obj.any.some(function(k) {\n return !!$f5e7a3dac586baf1$var$env[k];\n });\n return Object.keys(obj).every(function(k) {\n return $f5e7a3dac586baf1$var$env[k] === obj[k];\n });\n}\n\n});\nparcelRegister(\"bboZj\", function(module, exports) {\nmodule.exports = JSON.parse('[{\"name\":\"Agola CI\",\"constant\":\"AGOLA\",\"env\":\"AGOLA_GIT_REF\",\"pr\":\"AGOLA_PULL_REQUEST_ID\"},{\"name\":\"Appcircle\",\"constant\":\"APPCIRCLE\",\"env\":\"AC_APPCIRCLE\"},{\"name\":\"AppVeyor\",\"constant\":\"APPVEYOR\",\"env\":\"APPVEYOR\",\"pr\":\"APPVEYOR_PULL_REQUEST_NUMBER\"},{\"name\":\"AWS CodeBuild\",\"constant\":\"CODEBUILD\",\"env\":\"CODEBUILD_BUILD_ARN\"},{\"name\":\"Azure Pipelines\",\"constant\":\"AZURE_PIPELINES\",\"env\":\"TF_BUILD\",\"pr\":{\"BUILD_REASON\":\"PullRequest\"}},{\"name\":\"Bamboo\",\"constant\":\"BAMBOO\",\"env\":\"bamboo_planKey\"},{\"name\":\"Bitbucket Pipelines\",\"constant\":\"BITBUCKET\",\"env\":\"BITBUCKET_COMMIT\",\"pr\":\"BITBUCKET_PR_ID\"},{\"name\":\"Bitrise\",\"constant\":\"BITRISE\",\"env\":\"BITRISE_IO\",\"pr\":\"BITRISE_PULL_REQUEST\"},{\"name\":\"Buddy\",\"constant\":\"BUDDY\",\"env\":\"BUDDY_WORKSPACE_ID\",\"pr\":\"BUDDY_EXECUTION_PULL_REQUEST_ID\"},{\"name\":\"Buildkite\",\"constant\":\"BUILDKITE\",\"env\":\"BUILDKITE\",\"pr\":{\"env\":\"BUILDKITE_PULL_REQUEST\",\"ne\":\"false\"}},{\"name\":\"CircleCI\",\"constant\":\"CIRCLE\",\"env\":\"CIRCLECI\",\"pr\":\"CIRCLE_PULL_REQUEST\"},{\"name\":\"Cirrus CI\",\"constant\":\"CIRRUS\",\"env\":\"CIRRUS_CI\",\"pr\":\"CIRRUS_PR\"},{\"name\":\"Codefresh\",\"constant\":\"CODEFRESH\",\"env\":\"CF_BUILD_ID\",\"pr\":{\"any\":[\"CF_PULL_REQUEST_NUMBER\",\"CF_PULL_REQUEST_ID\"]}},{\"name\":\"Codemagic\",\"constant\":\"CODEMAGIC\",\"env\":\"CM_BUILD_ID\",\"pr\":\"CM_PULL_REQUEST\"},{\"name\":\"Codeship\",\"constant\":\"CODESHIP\",\"env\":{\"CI_NAME\":\"codeship\"}},{\"name\":\"Drone\",\"constant\":\"DRONE\",\"env\":\"DRONE\",\"pr\":{\"DRONE_BUILD_EVENT\":\"pull_request\"}},{\"name\":\"dsari\",\"constant\":\"DSARI\",\"env\":\"DSARI\"},{\"name\":\"Earthly\",\"constant\":\"EARTHLY\",\"env\":\"EARTHLY_CI\"},{\"name\":\"Expo Application Services\",\"constant\":\"EAS\",\"env\":\"EAS_BUILD\"},{\"name\":\"Gerrit\",\"constant\":\"GERRIT\",\"env\":\"GERRIT_PROJECT\"},{\"name\":\"Gitea Actions\",\"constant\":\"GITEA_ACTIONS\",\"env\":\"GITEA_ACTIONS\"},{\"name\":\"GitHub Actions\",\"constant\":\"GITHUB_ACTIONS\",\"env\":\"GITHUB_ACTIONS\",\"pr\":{\"GITHUB_EVENT_NAME\":\"pull_request\"}},{\"name\":\"GitLab CI\",\"constant\":\"GITLAB\",\"env\":\"GITLAB_CI\",\"pr\":\"CI_MERGE_REQUEST_ID\"},{\"name\":\"GoCD\",\"constant\":\"GOCD\",\"env\":\"GO_PIPELINE_LABEL\"},{\"name\":\"Google Cloud Build\",\"constant\":\"GOOGLE_CLOUD_BUILD\",\"env\":\"BUILDER_OUTPUT\"},{\"name\":\"Harness CI\",\"constant\":\"HARNESS\",\"env\":\"HARNESS_BUILD_ID\"},{\"name\":\"Heroku\",\"constant\":\"HEROKU\",\"env\":{\"env\":\"NODE\",\"includes\":\"/app/.heroku/node/bin/node\"}},{\"name\":\"Hudson\",\"constant\":\"HUDSON\",\"env\":\"HUDSON_URL\"},{\"name\":\"Jenkins\",\"constant\":\"JENKINS\",\"env\":[\"JENKINS_URL\",\"BUILD_ID\"],\"pr\":{\"any\":[\"ghprbPullId\",\"CHANGE_ID\"]}},{\"name\":\"LayerCI\",\"constant\":\"LAYERCI\",\"env\":\"LAYERCI\",\"pr\":\"LAYERCI_PULL_REQUEST\"},{\"name\":\"Magnum CI\",\"constant\":\"MAGNUM\",\"env\":\"MAGNUM\"},{\"name\":\"Netlify CI\",\"constant\":\"NETLIFY\",\"env\":\"NETLIFY\",\"pr\":{\"env\":\"PULL_REQUEST\",\"ne\":\"false\"}},{\"name\":\"Nevercode\",\"constant\":\"NEVERCODE\",\"env\":\"NEVERCODE\",\"pr\":{\"env\":\"NEVERCODE_PULL_REQUEST\",\"ne\":\"false\"}},{\"name\":\"Prow\",\"constant\":\"PROW\",\"env\":\"PROW_JOB_ID\"},{\"name\":\"ReleaseHub\",\"constant\":\"RELEASEHUB\",\"env\":\"RELEASE_BUILD_ID\"},{\"name\":\"Render\",\"constant\":\"RENDER\",\"env\":\"RENDER\",\"pr\":{\"IS_PULL_REQUEST\":\"true\"}},{\"name\":\"Sail CI\",\"constant\":\"SAIL\",\"env\":\"SAILCI\",\"pr\":\"SAIL_PULL_REQUEST_NUMBER\"},{\"name\":\"Screwdriver\",\"constant\":\"SCREWDRIVER\",\"env\":\"SCREWDRIVER\",\"pr\":{\"env\":\"SD_PULL_REQUEST\",\"ne\":\"false\"}},{\"name\":\"Semaphore\",\"constant\":\"SEMAPHORE\",\"env\":\"SEMAPHORE\",\"pr\":\"PULL_REQUEST_NUMBER\"},{\"name\":\"Sourcehut\",\"constant\":\"SOURCEHUT\",\"env\":{\"CI_NAME\":\"sourcehut\"}},{\"name\":\"Strider CD\",\"constant\":\"STRIDER\",\"env\":\"STRIDER\"},{\"name\":\"TaskCluster\",\"constant\":\"TASKCLUSTER\",\"env\":[\"TASK_ID\",\"RUN_ID\"]},{\"name\":\"TeamCity\",\"constant\":\"TEAMCITY\",\"env\":\"TEAMCITY_VERSION\"},{\"name\":\"Travis CI\",\"constant\":\"TRAVIS\",\"env\":\"TRAVIS\",\"pr\":{\"env\":\"TRAVIS_PULL_REQUEST\",\"ne\":\"false\"}},{\"name\":\"Vela\",\"constant\":\"VELA\",\"env\":\"VELA\",\"pr\":{\"VELA_PULL_REQUEST\":\"1\"}},{\"name\":\"Vercel\",\"constant\":\"VERCEL\",\"env\":{\"any\":[\"NOW_BUILDER\",\"VERCEL\"]},\"pr\":\"VERCEL_GIT_PULL_REQUEST_ID\"},{\"name\":\"Visual Studio App Center\",\"constant\":\"APPCENTER\",\"env\":\"APPCENTER_BUILD_ID\"},{\"name\":\"Woodpecker\",\"constant\":\"WOODPECKER\",\"env\":{\"CI\":\"woodpecker\"},\"pr\":{\"CI_BUILD_EVENT\":\"pull_request\"}},{\"name\":\"Xcode Cloud\",\"constant\":\"XCODE_CLOUD\",\"env\":\"CI_XCODE_PROJECT\",\"pr\":\"CI_PULL_REQUEST_NUMBER\"},{\"name\":\"Xcode Server\",\"constant\":\"XCODE_SERVER\",\"env\":\"XCS\"}]');\n\n});\n\n\nparcelRegister(\"7Lz0k\", function(module, exports) {\n\n$parcel$export(module.exports, \"error\", () => $435ca2a9418fec8e$export$a3bc9b8ed74fc);\n$parcel$export(module.exports, \"success\", () => $435ca2a9418fec8e$export$fe7c49d056ea1d88);\n$parcel$export(module.exports, \"warning\", () => $435ca2a9418fec8e$export$491112666e282270);\n$parcel$export(module.exports, \"notice\", () => $435ca2a9418fec8e$export$b31f6ae88848cf15);\n$parcel$export(module.exports, \"info\", () => $435ca2a9418fec8e$export$a80b3bd66acc52ff);\n\nvar $kDRhL = parcelRequire(\"kDRhL\");\n\nvar $l6WDk = parcelRequire(\"l6WDk\");\nfunction $435ca2a9418fec8e$export$a3bc9b8ed74fc(err) {\n return (0, $l6WDk.GITHUB_ACTIONS) ? $kDRhL.error(err) : console.log(`\\x1b[31m${err}\\x1b[0m`);\n}\nfunction $435ca2a9418fec8e$export$fe7c49d056ea1d88(msg) {\n return console.log(`\\x1b[32m${msg}\\x1b[0m`);\n}\nfunction $435ca2a9418fec8e$export$491112666e282270(msg) {\n return (0, $l6WDk.GITHUB_ACTIONS) ? $kDRhL.warning(msg) : console.log(`\\x1b[33m${msg}\\x1b[0m`);\n}\nfunction $435ca2a9418fec8e$export$b31f6ae88848cf15(msg) {\n return (0, $l6WDk.GITHUB_ACTIONS) ? $kDRhL.notice(msg) : console.log(`\\x1b[94m${msg}\\x1b[0m`);\n}\nfunction $435ca2a9418fec8e$export$a80b3bd66acc52ff(msg) {\n return (0, $l6WDk.GITHUB_ACTIONS) ? $kDRhL.info(msg) : console.log(msg);\n}\n\n});\nparcelRegister(\"kDRhL\", function(module, exports) {\n\"use strict\";\nvar $f070c8932368681b$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $f070c8932368681b$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $f070c8932368681b$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $f070c8932368681b$var$__createBinding(result, mod, k);\n }\n $f070c8932368681b$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $f070c8932368681b$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.getIDToken = module.exports.getState = module.exports.saveState = module.exports.group = module.exports.endGroup = module.exports.startGroup = module.exports.info = module.exports.notice = module.exports.warning = module.exports.error = module.exports.debug = module.exports.isDebug = module.exports.setFailed = module.exports.setCommandEcho = module.exports.setOutput = module.exports.getBooleanInput = module.exports.getMultilineInput = module.exports.getInput = module.exports.addPath = module.exports.setSecret = module.exports.exportVariable = module.exports.ExitCode = void 0;\n\nvar $9OOmw = parcelRequire(\"9OOmw\");\n\nvar $cddXb = parcelRequire(\"cddXb\");\n\nvar $golz2 = parcelRequire(\"golz2\");\n\nconst $f070c8932368681b$var$os = $f070c8932368681b$var$__importStar($aEsRD$os);\n\nconst $f070c8932368681b$var$path = $f070c8932368681b$var$__importStar($aEsRD$path);\n\nvar $9kRNQ = parcelRequire(\"9kRNQ\");\n/**\n * The code to exit an action\n */ var $f070c8932368681b$var$ExitCode;\n(function(ExitCode) {\n /**\n * A code indicating that the action was successful\n */ ExitCode[ExitCode[\"Success\"] = 0] = \"Success\";\n /**\n * A code indicating that the action was a failure\n */ ExitCode[ExitCode[\"Failure\"] = 1] = \"Failure\";\n})($f070c8932368681b$var$ExitCode = module.exports.ExitCode || (module.exports.ExitCode = {}));\n//-----------------------------------------------------------------------\n// Variables\n//-----------------------------------------------------------------------\n/**\n * Sets env variable for this action and future actions in the job\n * @param name the name of the variable to set\n * @param val the value of the variable. Non-string values will be converted to a string via JSON.stringify\n */ // eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction $f070c8932368681b$var$exportVariable(name, val) {\n const convertedVal = $golz2.toCommandValue(val);\n process.env[name] = convertedVal;\n const filePath = process.env[\"GITHUB_ENV\"] || \"\";\n if (filePath) return $cddXb.issueFileCommand(\"ENV\", $cddXb.prepareKeyValueMessage(name, val));\n $9OOmw.issueCommand(\"set-env\", {\n name: name\n }, convertedVal);\n}\nmodule.exports.exportVariable = $f070c8932368681b$var$exportVariable;\n/**\n * Registers a secret which will get masked from logs\n * @param secret value of the secret\n */ function $f070c8932368681b$var$setSecret(secret) {\n $9OOmw.issueCommand(\"add-mask\", {}, secret);\n}\nmodule.exports.setSecret = $f070c8932368681b$var$setSecret;\n/**\n * Prepends inputPath to the PATH (for this action and future actions)\n * @param inputPath\n */ function $f070c8932368681b$var$addPath(inputPath) {\n const filePath = process.env[\"GITHUB_PATH\"] || \"\";\n if (filePath) $cddXb.issueFileCommand(\"PATH\", inputPath);\n else $9OOmw.issueCommand(\"add-path\", {}, inputPath);\n process.env[\"PATH\"] = `${inputPath}${$f070c8932368681b$var$path.delimiter}${process.env[\"PATH\"]}`;\n}\nmodule.exports.addPath = $f070c8932368681b$var$addPath;\n/**\n * Gets the value of an input.\n * Unless trimWhitespace is set to false in InputOptions, the value is also trimmed.\n * Returns an empty string if the value is not defined.\n *\n * @param name name of the input to get\n * @param options optional. See InputOptions.\n * @returns string\n */ function $f070c8932368681b$var$getInput(name, options) {\n const val = process.env[`INPUT_${name.replace(/ /g, \"_\").toUpperCase()}`] || \"\";\n if (options && options.required && !val) throw new Error(`Input required and not supplied: ${name}`);\n if (options && options.trimWhitespace === false) return val;\n return val.trim();\n}\nmodule.exports.getInput = $f070c8932368681b$var$getInput;\n/**\n * Gets the values of an multiline input. Each value is also trimmed.\n *\n * @param name name of the input to get\n * @param options optional. See InputOptions.\n * @returns string[]\n *\n */ function $f070c8932368681b$var$getMultilineInput(name, options) {\n const inputs = $f070c8932368681b$var$getInput(name, options).split(\"\\n\").filter((x)=>x !== \"\");\n if (options && options.trimWhitespace === false) return inputs;\n return inputs.map((input)=>input.trim());\n}\nmodule.exports.getMultilineInput = $f070c8932368681b$var$getMultilineInput;\n/**\n * Gets the input value of the boolean type in the YAML 1.2 \"core schema\" specification.\n * Support boolean input list: `true | True | TRUE | false | False | FALSE` .\n * The return value is also in boolean type.\n * ref: https://yaml.org/spec/1.2/spec.html#id2804923\n *\n * @param name name of the input to get\n * @param options optional. See InputOptions.\n * @returns boolean\n */ function $f070c8932368681b$var$getBooleanInput(name, options) {\n const trueValue = [\n \"true\",\n \"True\",\n \"TRUE\"\n ];\n const falseValue = [\n \"false\",\n \"False\",\n \"FALSE\"\n ];\n const val = $f070c8932368681b$var$getInput(name, options);\n if (trueValue.includes(val)) return true;\n if (falseValue.includes(val)) return false;\n throw new TypeError(`Input does not meet YAML 1.2 \"Core Schema\" specification: ${name}\\n` + `Support boolean input list: \\`true | True | TRUE | false | False | FALSE\\``);\n}\nmodule.exports.getBooleanInput = $f070c8932368681b$var$getBooleanInput;\n/**\n * Sets the value of an output.\n *\n * @param name name of the output to set\n * @param value value to store. Non-string values will be converted to a string via JSON.stringify\n */ // eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction $f070c8932368681b$var$setOutput(name, value) {\n const filePath = process.env[\"GITHUB_OUTPUT\"] || \"\";\n if (filePath) return $cddXb.issueFileCommand(\"OUTPUT\", $cddXb.prepareKeyValueMessage(name, value));\n process.stdout.write($f070c8932368681b$var$os.EOL);\n $9OOmw.issueCommand(\"set-output\", {\n name: name\n }, $golz2.toCommandValue(value));\n}\nmodule.exports.setOutput = $f070c8932368681b$var$setOutput;\n/**\n * Enables or disables the echoing of commands into stdout for the rest of the step.\n * Echoing is disabled by default if ACTIONS_STEP_DEBUG is not set.\n *\n */ function $f070c8932368681b$var$setCommandEcho(enabled) {\n $9OOmw.issue(\"echo\", enabled ? \"on\" : \"off\");\n}\nmodule.exports.setCommandEcho = $f070c8932368681b$var$setCommandEcho;\n//-----------------------------------------------------------------------\n// Results\n//-----------------------------------------------------------------------\n/**\n * Sets the action status to failed.\n * When the action exits it will be with an exit code of 1\n * @param message add error issue message\n */ function $f070c8932368681b$var$setFailed(message) {\n process.exitCode = $f070c8932368681b$var$ExitCode.Failure;\n $f070c8932368681b$var$error(message);\n}\nmodule.exports.setFailed = $f070c8932368681b$var$setFailed;\n//-----------------------------------------------------------------------\n// Logging Commands\n//-----------------------------------------------------------------------\n/**\n * Gets whether Actions Step Debug is on or not\n */ function $f070c8932368681b$var$isDebug() {\n return process.env[\"RUNNER_DEBUG\"] === \"1\";\n}\nmodule.exports.isDebug = $f070c8932368681b$var$isDebug;\n/**\n * Writes debug message to user log\n * @param message debug message\n */ function $f070c8932368681b$var$debug(message) {\n $9OOmw.issueCommand(\"debug\", {}, message);\n}\nmodule.exports.debug = $f070c8932368681b$var$debug;\n/**\n * Adds an error issue\n * @param message error issue message. Errors will be converted to string via toString()\n * @param properties optional properties to add to the annotation.\n */ function $f070c8932368681b$var$error(message, properties = {}) {\n $9OOmw.issueCommand(\"error\", $golz2.toCommandProperties(properties), message instanceof Error ? message.toString() : message);\n}\nmodule.exports.error = $f070c8932368681b$var$error;\n/**\n * Adds a warning issue\n * @param message warning issue message. Errors will be converted to string via toString()\n * @param properties optional properties to add to the annotation.\n */ function $f070c8932368681b$var$warning(message, properties = {}) {\n $9OOmw.issueCommand(\"warning\", $golz2.toCommandProperties(properties), message instanceof Error ? message.toString() : message);\n}\nmodule.exports.warning = $f070c8932368681b$var$warning;\n/**\n * Adds a notice issue\n * @param message notice issue message. Errors will be converted to string via toString()\n * @param properties optional properties to add to the annotation.\n */ function $f070c8932368681b$var$notice(message, properties = {}) {\n $9OOmw.issueCommand(\"notice\", $golz2.toCommandProperties(properties), message instanceof Error ? message.toString() : message);\n}\nmodule.exports.notice = $f070c8932368681b$var$notice;\n/**\n * Writes info to log with console.log.\n * @param message info message\n */ function $f070c8932368681b$var$info(message) {\n process.stdout.write(message + $f070c8932368681b$var$os.EOL);\n}\nmodule.exports.info = $f070c8932368681b$var$info;\n/**\n * Begin an output group.\n *\n * Output until the next `groupEnd` will be foldable in this group\n *\n * @param name The name of the output group\n */ function $f070c8932368681b$var$startGroup(name) {\n $9OOmw.issue(\"group\", name);\n}\nmodule.exports.startGroup = $f070c8932368681b$var$startGroup;\n/**\n * End an output group.\n */ function $f070c8932368681b$var$endGroup() {\n $9OOmw.issue(\"endgroup\");\n}\nmodule.exports.endGroup = $f070c8932368681b$var$endGroup;\n/**\n * Wrap an asynchronous function call in a group.\n *\n * Returns the same type as the function itself.\n *\n * @param name The name of the group\n * @param fn The function to wrap in the group\n */ function $f070c8932368681b$var$group(name, fn) {\n return $f070c8932368681b$var$__awaiter(this, void 0, void 0, function*() {\n $f070c8932368681b$var$startGroup(name);\n let result;\n try {\n result = yield fn();\n } finally{\n $f070c8932368681b$var$endGroup();\n }\n return result;\n });\n}\nmodule.exports.group = $f070c8932368681b$var$group;\n//-----------------------------------------------------------------------\n// Wrapper action state\n//-----------------------------------------------------------------------\n/**\n * Saves state for current action, the state can only be retrieved by this action's post job execution.\n *\n * @param name name of the state to store\n * @param value value to store. Non-string values will be converted to a string via JSON.stringify\n */ // eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction $f070c8932368681b$var$saveState(name, value) {\n const filePath = process.env[\"GITHUB_STATE\"] || \"\";\n if (filePath) return $cddXb.issueFileCommand(\"STATE\", $cddXb.prepareKeyValueMessage(name, value));\n $9OOmw.issueCommand(\"save-state\", {\n name: name\n }, $golz2.toCommandValue(value));\n}\nmodule.exports.saveState = $f070c8932368681b$var$saveState;\n/**\n * Gets the value of an state set by this action's main execution.\n *\n * @param name name of the state to get\n * @returns string\n */ function $f070c8932368681b$var$getState(name) {\n return process.env[`STATE_${name}`] || \"\";\n}\nmodule.exports.getState = $f070c8932368681b$var$getState;\nfunction $f070c8932368681b$var$getIDToken(aud) {\n return $f070c8932368681b$var$__awaiter(this, void 0, void 0, function*() {\n return yield $9kRNQ.OidcClient.getIDToken(aud);\n });\n}\nmodule.exports.getIDToken = $f070c8932368681b$var$getIDToken;\n\nvar $cZLUn = parcelRequire(\"cZLUn\");\nObject.defineProperty(module.exports, \"summary\", {\n enumerable: true,\n get: function() {\n return $cZLUn.summary;\n }\n});\n\nvar $cZLUn = parcelRequire(\"cZLUn\");\nObject.defineProperty(module.exports, \"markdownSummary\", {\n enumerable: true,\n get: function() {\n return $cZLUn.markdownSummary;\n }\n});\n\nvar $hA9PM = parcelRequire(\"hA9PM\");\nObject.defineProperty(module.exports, \"toPosixPath\", {\n enumerable: true,\n get: function() {\n return $hA9PM.toPosixPath;\n }\n});\nObject.defineProperty(module.exports, \"toWin32Path\", {\n enumerable: true,\n get: function() {\n return $hA9PM.toWin32Path;\n }\n});\nObject.defineProperty(module.exports, \"toPlatformPath\", {\n enumerable: true,\n get: function() {\n return $hA9PM.toPlatformPath;\n }\n});\n\n});\nparcelRegister(\"9OOmw\", function(module, exports) {\n\"use strict\";\nvar $725fd97a1a5ac7a7$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $725fd97a1a5ac7a7$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $725fd97a1a5ac7a7$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $725fd97a1a5ac7a7$var$__createBinding(result, mod, k);\n }\n $725fd97a1a5ac7a7$var$__setModuleDefault(result, mod);\n return result;\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.issue = module.exports.issueCommand = void 0;\n\nconst $725fd97a1a5ac7a7$var$os = $725fd97a1a5ac7a7$var$__importStar($aEsRD$os);\n\nvar $golz2 = parcelRequire(\"golz2\");\n/**\n * Commands\n *\n * Command Format:\n * ::name key=value,key=value::message\n *\n * Examples:\n * ::warning::This is the message\n * ::set-env name=MY_VAR::some value\n */ function $725fd97a1a5ac7a7$var$issueCommand(command, properties, message) {\n const cmd = new $725fd97a1a5ac7a7$var$Command(command, properties, message);\n process.stdout.write(cmd.toString() + $725fd97a1a5ac7a7$var$os.EOL);\n}\nmodule.exports.issueCommand = $725fd97a1a5ac7a7$var$issueCommand;\nfunction $725fd97a1a5ac7a7$var$issue(name, message = \"\") {\n $725fd97a1a5ac7a7$var$issueCommand(name, {}, message);\n}\nmodule.exports.issue = $725fd97a1a5ac7a7$var$issue;\nconst $725fd97a1a5ac7a7$var$CMD_STRING = \"::\";\nclass $725fd97a1a5ac7a7$var$Command {\n constructor(command, properties, message){\n if (!command) command = \"missing.command\";\n this.command = command;\n this.properties = properties;\n this.message = message;\n }\n toString() {\n let cmdStr = $725fd97a1a5ac7a7$var$CMD_STRING + this.command;\n if (this.properties && Object.keys(this.properties).length > 0) {\n cmdStr += \" \";\n let first = true;\n for(const key in this.properties)if (this.properties.hasOwnProperty(key)) {\n const val = this.properties[key];\n if (val) {\n if (first) first = false;\n else cmdStr += \",\";\n cmdStr += `${key}=${$725fd97a1a5ac7a7$var$escapeProperty(val)}`;\n }\n }\n }\n cmdStr += `${$725fd97a1a5ac7a7$var$CMD_STRING}${$725fd97a1a5ac7a7$var$escapeData(this.message)}`;\n return cmdStr;\n }\n}\nfunction $725fd97a1a5ac7a7$var$escapeData(s) {\n return $golz2.toCommandValue(s).replace(/%/g, \"%25\").replace(/\\r/g, \"%0D\").replace(/\\n/g, \"%0A\");\n}\nfunction $725fd97a1a5ac7a7$var$escapeProperty(s) {\n return $golz2.toCommandValue(s).replace(/%/g, \"%25\").replace(/\\r/g, \"%0D\").replace(/\\n/g, \"%0A\").replace(/:/g, \"%3A\").replace(/,/g, \"%2C\");\n}\n\n});\nparcelRegister(\"golz2\", function(module, exports) {\n\"use strict\";\n// We use any as a valid input type\n/* eslint-disable @typescript-eslint/no-explicit-any */ Object.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.toCommandProperties = module.exports.toCommandValue = void 0;\n/**\n * Sanitizes an input into a string so it can be passed into issueCommand safely\n * @param input input to sanitize into a string\n */ function $beef9d6cac2a07a4$var$toCommandValue(input) {\n if (input === null || input === undefined) return \"\";\n else if (typeof input === \"string\" || input instanceof String) return input;\n return JSON.stringify(input);\n}\nmodule.exports.toCommandValue = $beef9d6cac2a07a4$var$toCommandValue;\n/**\n *\n * @param annotationProperties\n * @returns The command properties to send with the actual annotation command\n * See IssueCommandProperties: https://github.com/actions/runner/blob/main/src/Runner.Worker/ActionCommandManager.cs#L646\n */ function $beef9d6cac2a07a4$var$toCommandProperties(annotationProperties) {\n if (!Object.keys(annotationProperties).length) return {};\n return {\n title: annotationProperties.title,\n file: annotationProperties.file,\n line: annotationProperties.startLine,\n endLine: annotationProperties.endLine,\n col: annotationProperties.startColumn,\n endColumn: annotationProperties.endColumn\n };\n}\nmodule.exports.toCommandProperties = $beef9d6cac2a07a4$var$toCommandProperties;\n\n});\n\n\nparcelRegister(\"cddXb\", function(module, exports) {\n\"use strict\";\n// For internal use, subject to change.\nvar $8e4185d5a70da0d6$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $8e4185d5a70da0d6$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $8e4185d5a70da0d6$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $8e4185d5a70da0d6$var$__createBinding(result, mod, k);\n }\n $8e4185d5a70da0d6$var$__setModuleDefault(result, mod);\n return result;\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.prepareKeyValueMessage = module.exports.issueFileCommand = void 0;\n\n// We use any as a valid input type\n/* eslint-disable @typescript-eslint/no-explicit-any */ const $8e4185d5a70da0d6$var$fs = $8e4185d5a70da0d6$var$__importStar($aEsRD$fs);\n\nconst $8e4185d5a70da0d6$var$os = $8e4185d5a70da0d6$var$__importStar($aEsRD$os);\n\nvar $8HBRG = parcelRequire(\"8HBRG\");\n\nvar $golz2 = parcelRequire(\"golz2\");\nfunction $8e4185d5a70da0d6$var$issueFileCommand(command, message) {\n const filePath = process.env[`GITHUB_${command}`];\n if (!filePath) throw new Error(`Unable to find environment variable for file command ${command}`);\n if (!$8e4185d5a70da0d6$var$fs.existsSync(filePath)) throw new Error(`Missing file at path: ${filePath}`);\n $8e4185d5a70da0d6$var$fs.appendFileSync(filePath, `${$golz2.toCommandValue(message)}${$8e4185d5a70da0d6$var$os.EOL}`, {\n encoding: \"utf8\"\n });\n}\nmodule.exports.issueFileCommand = $8e4185d5a70da0d6$var$issueFileCommand;\nfunction $8e4185d5a70da0d6$var$prepareKeyValueMessage(key, value) {\n const delimiter = `ghadelimiter_${$8HBRG.default()}`;\n const convertedValue = $golz2.toCommandValue(value);\n // These should realistically never happen, but just in case someone finds a\n // way to exploit uuid generation let's not allow keys or values that contain\n // the delimiter.\n if (key.includes(delimiter)) throw new Error(`Unexpected input: name should not contain the delimiter \"${delimiter}\"`);\n if (convertedValue.includes(delimiter)) throw new Error(`Unexpected input: value should not contain the delimiter \"${delimiter}\"`);\n return `${key}<<${delimiter}${$8e4185d5a70da0d6$var$os.EOL}${convertedValue}${$8e4185d5a70da0d6$var$os.EOL}${delimiter}`;\n}\nmodule.exports.prepareKeyValueMessage = $8e4185d5a70da0d6$var$prepareKeyValueMessage;\n\n});\nparcelRegister(\"8HBRG\", function(module, exports) {\n\n$parcel$export(module.exports, \"default\", () => $655fb60b4a31d1c9$export$2e2bcd8739ae039);\n\nvar $ip84z = parcelRequire(\"ip84z\");\n\nvar $6k4Hh = parcelRequire(\"6k4Hh\");\nfunction $655fb60b4a31d1c9$var$v4(options, buf, offset) {\n options = options || {};\n const rnds = options.random || (options.rng || (0, $ip84z.default))(); // 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; // Copy bytes to buffer, if provided\n if (buf) {\n offset = offset || 0;\n for(let i = 0; i < 16; ++i)buf[offset + i] = rnds[i];\n return buf;\n }\n return (0, $6k4Hh.default)(rnds);\n}\nvar $655fb60b4a31d1c9$export$2e2bcd8739ae039 = $655fb60b4a31d1c9$var$v4;\n\n});\nparcelRegister(\"ip84z\", function(module, exports) {\n\n$parcel$export(module.exports, \"default\", () => $d660d2d83bbe560d$export$2e2bcd8739ae039);\n\nconst $d660d2d83bbe560d$var$rnds8Pool = new Uint8Array(256); // # of random values to pre-allocate\nlet $d660d2d83bbe560d$var$poolPtr = $d660d2d83bbe560d$var$rnds8Pool.length;\nfunction $d660d2d83bbe560d$export$2e2bcd8739ae039() {\n if ($d660d2d83bbe560d$var$poolPtr > $d660d2d83bbe560d$var$rnds8Pool.length - 16) {\n (0, ($parcel$interopDefault($aEsRD$crypto))).randomFillSync($d660d2d83bbe560d$var$rnds8Pool);\n $d660d2d83bbe560d$var$poolPtr = 0;\n }\n return $d660d2d83bbe560d$var$rnds8Pool.slice($d660d2d83bbe560d$var$poolPtr, $d660d2d83bbe560d$var$poolPtr += 16);\n}\n\n});\n\nparcelRegister(\"6k4Hh\", function(module, exports) {\n\n$parcel$export(module.exports, \"default\", () => $49a8410efd32e3bf$export$2e2bcd8739ae039);\n\nvar $5y6Xz = parcelRequire(\"5y6Xz\");\n/**\n * Convert array of 16 byte values to UUID string format of the form:\n * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\n */ const $49a8410efd32e3bf$var$byteToHex = [];\nfor(let i = 0; i < 256; ++i)$49a8410efd32e3bf$var$byteToHex.push((i + 0x100).toString(16).substr(1));\nfunction $49a8410efd32e3bf$var$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 = ($49a8410efd32e3bf$var$byteToHex[arr[offset + 0]] + $49a8410efd32e3bf$var$byteToHex[arr[offset + 1]] + $49a8410efd32e3bf$var$byteToHex[arr[offset + 2]] + $49a8410efd32e3bf$var$byteToHex[arr[offset + 3]] + \"-\" + $49a8410efd32e3bf$var$byteToHex[arr[offset + 4]] + $49a8410efd32e3bf$var$byteToHex[arr[offset + 5]] + \"-\" + $49a8410efd32e3bf$var$byteToHex[arr[offset + 6]] + $49a8410efd32e3bf$var$byteToHex[arr[offset + 7]] + \"-\" + $49a8410efd32e3bf$var$byteToHex[arr[offset + 8]] + $49a8410efd32e3bf$var$byteToHex[arr[offset + 9]] + \"-\" + $49a8410efd32e3bf$var$byteToHex[arr[offset + 10]] + $49a8410efd32e3bf$var$byteToHex[arr[offset + 11]] + $49a8410efd32e3bf$var$byteToHex[arr[offset + 12]] + $49a8410efd32e3bf$var$byteToHex[arr[offset + 13]] + $49a8410efd32e3bf$var$byteToHex[arr[offset + 14]] + $49a8410efd32e3bf$var$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 if (!(0, $5y6Xz.default)(uuid)) throw TypeError(\"Stringified UUID is invalid\");\n return uuid;\n}\nvar $49a8410efd32e3bf$export$2e2bcd8739ae039 = $49a8410efd32e3bf$var$stringify;\n\n});\nparcelRegister(\"5y6Xz\", function(module, exports) {\n\n$parcel$export(module.exports, \"default\", () => $40a586ce59c5cf2f$export$2e2bcd8739ae039);\n\nvar $7oboB = parcelRequire(\"7oboB\");\nfunction $40a586ce59c5cf2f$var$validate(uuid) {\n return typeof uuid === \"string\" && (0, $7oboB.default).test(uuid);\n}\nvar $40a586ce59c5cf2f$export$2e2bcd8739ae039 = $40a586ce59c5cf2f$var$validate;\n\n});\nparcelRegister(\"7oboB\", function(module, exports) {\n\n$parcel$export(module.exports, \"default\", () => $56139d41135faec8$export$2e2bcd8739ae039);\nvar $56139d41135faec8$export$2e2bcd8739ae039 = /^(?:[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;\n\n});\n\n\n\n\n\nparcelRegister(\"9kRNQ\", function(module, exports) {\n\"use strict\";\nvar $6cbfb7706e6f9a93$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.OidcClient = void 0;\n\nvar $3BbEx = parcelRequire(\"3BbEx\");\n\nvar $dhOti = parcelRequire(\"dhOti\");\n\nvar $kDRhL = parcelRequire(\"kDRhL\");\nclass $6cbfb7706e6f9a93$var$OidcClient {\n static createHttpClient(allowRetry = true, maxRetry = 10) {\n const requestOptions = {\n allowRetries: allowRetry,\n maxRetries: maxRetry\n };\n return new $3BbEx.HttpClient(\"actions/oidc-client\", [\n new $dhOti.BearerCredentialHandler($6cbfb7706e6f9a93$var$OidcClient.getRequestToken())\n ], requestOptions);\n }\n static getRequestToken() {\n const token = process.env[\"ACTIONS_ID_TOKEN_REQUEST_TOKEN\"];\n if (!token) throw new Error(\"Unable to get ACTIONS_ID_TOKEN_REQUEST_TOKEN env variable\");\n return token;\n }\n static getIDTokenUrl() {\n const runtimeUrl = process.env[\"ACTIONS_ID_TOKEN_REQUEST_URL\"];\n if (!runtimeUrl) throw new Error(\"Unable to get ACTIONS_ID_TOKEN_REQUEST_URL env variable\");\n return runtimeUrl;\n }\n static getCall(id_token_url) {\n var _a;\n return $6cbfb7706e6f9a93$var$__awaiter(this, void 0, void 0, function*() {\n const httpclient = $6cbfb7706e6f9a93$var$OidcClient.createHttpClient();\n const res = yield httpclient.getJson(id_token_url).catch((error)=>{\n throw new Error(`Failed to get ID Token. \\n \n Error Code : ${error.statusCode}\\n \n Error Message: ${error.message}`);\n });\n const id_token = (_a = res.result) === null || _a === void 0 ? void 0 : _a.value;\n if (!id_token) throw new Error(\"Response json body do not have ID Token field\");\n return id_token;\n });\n }\n static getIDToken(audience) {\n return $6cbfb7706e6f9a93$var$__awaiter(this, void 0, void 0, function*() {\n try {\n // New ID Token is requested from action service\n let id_token_url = $6cbfb7706e6f9a93$var$OidcClient.getIDTokenUrl();\n if (audience) {\n const encodedAudience = encodeURIComponent(audience);\n id_token_url = `${id_token_url}&audience=${encodedAudience}`;\n }\n $kDRhL.debug(`ID token url is ${id_token_url}`);\n const id_token = yield $6cbfb7706e6f9a93$var$OidcClient.getCall(id_token_url);\n $kDRhL.setSecret(id_token);\n return id_token;\n } catch (error) {\n throw new Error(`Error message: ${error.message}`);\n }\n });\n }\n}\nmodule.exports.OidcClient = $6cbfb7706e6f9a93$var$OidcClient;\n\n});\nparcelRegister(\"3BbEx\", function(module, exports) {\n\"use strict\";\n/* eslint-disable @typescript-eslint/no-explicit-any */ var $29edddcd12778bb3$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $29edddcd12778bb3$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $29edddcd12778bb3$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $29edddcd12778bb3$var$__createBinding(result, mod, k);\n }\n $29edddcd12778bb3$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $29edddcd12778bb3$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.HttpClient = module.exports.isHttps = module.exports.HttpClientResponse = module.exports.HttpClientError = module.exports.getProxyUrl = module.exports.MediaTypes = module.exports.Headers = module.exports.HttpCodes = void 0;\n\nconst $29edddcd12778bb3$var$http = $29edddcd12778bb3$var$__importStar($aEsRD$http);\n\nconst $29edddcd12778bb3$var$https = $29edddcd12778bb3$var$__importStar($aEsRD$https);\n\nconst $29edddcd12778bb3$var$pm = $29edddcd12778bb3$var$__importStar((parcelRequire(\"jmGvF\")));\n\nconst $29edddcd12778bb3$var$tunnel = $29edddcd12778bb3$var$__importStar((parcelRequire(\"3i1sl\")));\nvar $29edddcd12778bb3$var$HttpCodes;\n(function(HttpCodes) {\n HttpCodes[HttpCodes[\"OK\"] = 200] = \"OK\";\n HttpCodes[HttpCodes[\"MultipleChoices\"] = 300] = \"MultipleChoices\";\n HttpCodes[HttpCodes[\"MovedPermanently\"] = 301] = \"MovedPermanently\";\n HttpCodes[HttpCodes[\"ResourceMoved\"] = 302] = \"ResourceMoved\";\n HttpCodes[HttpCodes[\"SeeOther\"] = 303] = \"SeeOther\";\n HttpCodes[HttpCodes[\"NotModified\"] = 304] = \"NotModified\";\n HttpCodes[HttpCodes[\"UseProxy\"] = 305] = \"UseProxy\";\n HttpCodes[HttpCodes[\"SwitchProxy\"] = 306] = \"SwitchProxy\";\n HttpCodes[HttpCodes[\"TemporaryRedirect\"] = 307] = \"TemporaryRedirect\";\n HttpCodes[HttpCodes[\"PermanentRedirect\"] = 308] = \"PermanentRedirect\";\n HttpCodes[HttpCodes[\"BadRequest\"] = 400] = \"BadRequest\";\n HttpCodes[HttpCodes[\"Unauthorized\"] = 401] = \"Unauthorized\";\n HttpCodes[HttpCodes[\"PaymentRequired\"] = 402] = \"PaymentRequired\";\n HttpCodes[HttpCodes[\"Forbidden\"] = 403] = \"Forbidden\";\n HttpCodes[HttpCodes[\"NotFound\"] = 404] = \"NotFound\";\n HttpCodes[HttpCodes[\"MethodNotAllowed\"] = 405] = \"MethodNotAllowed\";\n HttpCodes[HttpCodes[\"NotAcceptable\"] = 406] = \"NotAcceptable\";\n HttpCodes[HttpCodes[\"ProxyAuthenticationRequired\"] = 407] = \"ProxyAuthenticationRequired\";\n HttpCodes[HttpCodes[\"RequestTimeout\"] = 408] = \"RequestTimeout\";\n HttpCodes[HttpCodes[\"Conflict\"] = 409] = \"Conflict\";\n HttpCodes[HttpCodes[\"Gone\"] = 410] = \"Gone\";\n HttpCodes[HttpCodes[\"TooManyRequests\"] = 429] = \"TooManyRequests\";\n HttpCodes[HttpCodes[\"InternalServerError\"] = 500] = \"InternalServerError\";\n HttpCodes[HttpCodes[\"NotImplemented\"] = 501] = \"NotImplemented\";\n HttpCodes[HttpCodes[\"BadGateway\"] = 502] = \"BadGateway\";\n HttpCodes[HttpCodes[\"ServiceUnavailable\"] = 503] = \"ServiceUnavailable\";\n HttpCodes[HttpCodes[\"GatewayTimeout\"] = 504] = \"GatewayTimeout\";\n})($29edddcd12778bb3$var$HttpCodes = module.exports.HttpCodes || (module.exports.HttpCodes = {}));\nvar $29edddcd12778bb3$var$Headers;\n(function(Headers) {\n Headers[\"Accept\"] = \"accept\";\n Headers[\"ContentType\"] = \"content-type\";\n})($29edddcd12778bb3$var$Headers = module.exports.Headers || (module.exports.Headers = {}));\nvar $29edddcd12778bb3$var$MediaTypes;\n(function(MediaTypes) {\n MediaTypes[\"ApplicationJson\"] = \"application/json\";\n})($29edddcd12778bb3$var$MediaTypes = module.exports.MediaTypes || (module.exports.MediaTypes = {}));\n/**\n * Returns the proxy URL, depending upon the supplied url and proxy environment variables.\n * @param serverUrl The server URL where the request will be sent. For example, https://api.github.com\n */ function $29edddcd12778bb3$var$getProxyUrl(serverUrl) {\n const proxyUrl = $29edddcd12778bb3$var$pm.getProxyUrl(new URL(serverUrl));\n return proxyUrl ? proxyUrl.href : \"\";\n}\nmodule.exports.getProxyUrl = $29edddcd12778bb3$var$getProxyUrl;\nconst $29edddcd12778bb3$var$HttpRedirectCodes = [\n $29edddcd12778bb3$var$HttpCodes.MovedPermanently,\n $29edddcd12778bb3$var$HttpCodes.ResourceMoved,\n $29edddcd12778bb3$var$HttpCodes.SeeOther,\n $29edddcd12778bb3$var$HttpCodes.TemporaryRedirect,\n $29edddcd12778bb3$var$HttpCodes.PermanentRedirect\n];\nconst $29edddcd12778bb3$var$HttpResponseRetryCodes = [\n $29edddcd12778bb3$var$HttpCodes.BadGateway,\n $29edddcd12778bb3$var$HttpCodes.ServiceUnavailable,\n $29edddcd12778bb3$var$HttpCodes.GatewayTimeout\n];\nconst $29edddcd12778bb3$var$RetryableHttpVerbs = [\n \"OPTIONS\",\n \"GET\",\n \"DELETE\",\n \"HEAD\"\n];\nconst $29edddcd12778bb3$var$ExponentialBackoffCeiling = 10;\nconst $29edddcd12778bb3$var$ExponentialBackoffTimeSlice = 5;\nclass $29edddcd12778bb3$var$HttpClientError extends Error {\n constructor(message, statusCode){\n super(message);\n this.name = \"HttpClientError\";\n this.statusCode = statusCode;\n Object.setPrototypeOf(this, $29edddcd12778bb3$var$HttpClientError.prototype);\n }\n}\nmodule.exports.HttpClientError = $29edddcd12778bb3$var$HttpClientError;\nclass $29edddcd12778bb3$var$HttpClientResponse {\n constructor(message){\n this.message = message;\n }\n readBody() {\n return $29edddcd12778bb3$var$__awaiter(this, void 0, void 0, function*() {\n return new Promise((resolve)=>$29edddcd12778bb3$var$__awaiter(this, void 0, void 0, function*() {\n let output = Buffer.alloc(0);\n this.message.on(\"data\", (chunk)=>{\n output = Buffer.concat([\n output,\n chunk\n ]);\n });\n this.message.on(\"end\", ()=>{\n resolve(output.toString());\n });\n }));\n });\n }\n}\nmodule.exports.HttpClientResponse = $29edddcd12778bb3$var$HttpClientResponse;\nfunction $29edddcd12778bb3$var$isHttps(requestUrl) {\n const parsedUrl = new URL(requestUrl);\n return parsedUrl.protocol === \"https:\";\n}\nmodule.exports.isHttps = $29edddcd12778bb3$var$isHttps;\nclass $29edddcd12778bb3$var$HttpClient {\n constructor(userAgent, handlers, requestOptions){\n this._ignoreSslError = false;\n this._allowRedirects = true;\n this._allowRedirectDowngrade = false;\n this._maxRedirects = 50;\n this._allowRetries = false;\n this._maxRetries = 1;\n this._keepAlive = false;\n this._disposed = false;\n this.userAgent = userAgent;\n this.handlers = handlers || [];\n this.requestOptions = requestOptions;\n if (requestOptions) {\n if (requestOptions.ignoreSslError != null) this._ignoreSslError = requestOptions.ignoreSslError;\n this._socketTimeout = requestOptions.socketTimeout;\n if (requestOptions.allowRedirects != null) this._allowRedirects = requestOptions.allowRedirects;\n if (requestOptions.allowRedirectDowngrade != null) this._allowRedirectDowngrade = requestOptions.allowRedirectDowngrade;\n if (requestOptions.maxRedirects != null) this._maxRedirects = Math.max(requestOptions.maxRedirects, 0);\n if (requestOptions.keepAlive != null) this._keepAlive = requestOptions.keepAlive;\n if (requestOptions.allowRetries != null) this._allowRetries = requestOptions.allowRetries;\n if (requestOptions.maxRetries != null) this._maxRetries = requestOptions.maxRetries;\n }\n }\n options(requestUrl, additionalHeaders) {\n return $29edddcd12778bb3$var$__awaiter(this, void 0, void 0, function*() {\n return this.request(\"OPTIONS\", requestUrl, null, additionalHeaders || {});\n });\n }\n get(requestUrl, additionalHeaders) {\n return $29edddcd12778bb3$var$__awaiter(this, void 0, void 0, function*() {\n return this.request(\"GET\", requestUrl, null, additionalHeaders || {});\n });\n }\n del(requestUrl, additionalHeaders) {\n return $29edddcd12778bb3$var$__awaiter(this, void 0, void 0, function*() {\n return this.request(\"DELETE\", requestUrl, null, additionalHeaders || {});\n });\n }\n post(requestUrl, data, additionalHeaders) {\n return $29edddcd12778bb3$var$__awaiter(this, void 0, void 0, function*() {\n return this.request(\"POST\", requestUrl, data, additionalHeaders || {});\n });\n }\n patch(requestUrl, data, additionalHeaders) {\n return $29edddcd12778bb3$var$__awaiter(this, void 0, void 0, function*() {\n return this.request(\"PATCH\", requestUrl, data, additionalHeaders || {});\n });\n }\n put(requestUrl, data, additionalHeaders) {\n return $29edddcd12778bb3$var$__awaiter(this, void 0, void 0, function*() {\n return this.request(\"PUT\", requestUrl, data, additionalHeaders || {});\n });\n }\n head(requestUrl, additionalHeaders) {\n return $29edddcd12778bb3$var$__awaiter(this, void 0, void 0, function*() {\n return this.request(\"HEAD\", requestUrl, null, additionalHeaders || {});\n });\n }\n sendStream(verb, requestUrl, stream, additionalHeaders) {\n return $29edddcd12778bb3$var$__awaiter(this, void 0, void 0, function*() {\n return this.request(verb, requestUrl, stream, additionalHeaders);\n });\n }\n /**\n * Gets a typed object from an endpoint\n * Be aware that not found returns a null. Other errors (4xx, 5xx) reject the promise\n */ getJson(requestUrl, additionalHeaders = {}) {\n return $29edddcd12778bb3$var$__awaiter(this, void 0, void 0, function*() {\n additionalHeaders[$29edddcd12778bb3$var$Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, $29edddcd12778bb3$var$Headers.Accept, $29edddcd12778bb3$var$MediaTypes.ApplicationJson);\n const res = yield this.get(requestUrl, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n });\n }\n postJson(requestUrl, obj, additionalHeaders = {}) {\n return $29edddcd12778bb3$var$__awaiter(this, void 0, void 0, function*() {\n const data = JSON.stringify(obj, null, 2);\n additionalHeaders[$29edddcd12778bb3$var$Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, $29edddcd12778bb3$var$Headers.Accept, $29edddcd12778bb3$var$MediaTypes.ApplicationJson);\n additionalHeaders[$29edddcd12778bb3$var$Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, $29edddcd12778bb3$var$Headers.ContentType, $29edddcd12778bb3$var$MediaTypes.ApplicationJson);\n const res = yield this.post(requestUrl, data, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n });\n }\n putJson(requestUrl, obj, additionalHeaders = {}) {\n return $29edddcd12778bb3$var$__awaiter(this, void 0, void 0, function*() {\n const data = JSON.stringify(obj, null, 2);\n additionalHeaders[$29edddcd12778bb3$var$Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, $29edddcd12778bb3$var$Headers.Accept, $29edddcd12778bb3$var$MediaTypes.ApplicationJson);\n additionalHeaders[$29edddcd12778bb3$var$Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, $29edddcd12778bb3$var$Headers.ContentType, $29edddcd12778bb3$var$MediaTypes.ApplicationJson);\n const res = yield this.put(requestUrl, data, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n });\n }\n patchJson(requestUrl, obj, additionalHeaders = {}) {\n return $29edddcd12778bb3$var$__awaiter(this, void 0, void 0, function*() {\n const data = JSON.stringify(obj, null, 2);\n additionalHeaders[$29edddcd12778bb3$var$Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, $29edddcd12778bb3$var$Headers.Accept, $29edddcd12778bb3$var$MediaTypes.ApplicationJson);\n additionalHeaders[$29edddcd12778bb3$var$Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, $29edddcd12778bb3$var$Headers.ContentType, $29edddcd12778bb3$var$MediaTypes.ApplicationJson);\n const res = yield this.patch(requestUrl, data, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n });\n }\n /**\n * Makes a raw http request.\n * All other methods such as get, post, patch, and request ultimately call this.\n * Prefer get, del, post and patch\n */ request(verb, requestUrl, data, headers) {\n return $29edddcd12778bb3$var$__awaiter(this, void 0, void 0, function*() {\n if (this._disposed) throw new Error(\"Client has already been disposed.\");\n const parsedUrl = new URL(requestUrl);\n let info = this._prepareRequest(verb, parsedUrl, headers);\n // Only perform retries on reads since writes may not be idempotent.\n const maxTries = this._allowRetries && $29edddcd12778bb3$var$RetryableHttpVerbs.includes(verb) ? this._maxRetries + 1 : 1;\n let numTries = 0;\n let response;\n do {\n response = yield this.requestRaw(info, data);\n // Check if it's an authentication challenge\n if (response && response.message && response.message.statusCode === $29edddcd12778bb3$var$HttpCodes.Unauthorized) {\n let authenticationHandler;\n for (const handler of this.handlers)if (handler.canHandleAuthentication(response)) {\n authenticationHandler = handler;\n break;\n }\n if (authenticationHandler) return authenticationHandler.handleAuthentication(this, info, data);\n else // We have received an unauthorized response but have no handlers to handle it.\n // Let the response return to the caller.\n return response;\n }\n let redirectsRemaining = this._maxRedirects;\n while(response.message.statusCode && $29edddcd12778bb3$var$HttpRedirectCodes.includes(response.message.statusCode) && this._allowRedirects && redirectsRemaining > 0){\n const redirectUrl = response.message.headers[\"location\"];\n if (!redirectUrl) break;\n const parsedRedirectUrl = new URL(redirectUrl);\n if (parsedUrl.protocol === \"https:\" && parsedUrl.protocol !== parsedRedirectUrl.protocol && !this._allowRedirectDowngrade) throw new 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.\");\n // we need to finish reading the response before reassigning response\n // which will leak the open socket.\n yield response.readBody();\n // strip authorization header if redirected to a different hostname\n if (parsedRedirectUrl.hostname !== parsedUrl.hostname) {\n for(const header in headers)// header names are case insensitive\n if (header.toLowerCase() === \"authorization\") delete headers[header];\n }\n // let's make the request with the new redirectUrl\n info = this._prepareRequest(verb, parsedRedirectUrl, headers);\n response = yield this.requestRaw(info, data);\n redirectsRemaining--;\n }\n if (!response.message.statusCode || !$29edddcd12778bb3$var$HttpResponseRetryCodes.includes(response.message.statusCode)) // If not a retry code, return immediately instead of retrying\n return response;\n numTries += 1;\n if (numTries < maxTries) {\n yield response.readBody();\n yield this._performExponentialBackoff(numTries);\n }\n }while (numTries < maxTries);\n return response;\n });\n }\n /**\n * Needs to be called if keepAlive is set to true in request options.\n */ dispose() {\n if (this._agent) this._agent.destroy();\n this._disposed = true;\n }\n /**\n * Raw request.\n * @param info\n * @param data\n */ requestRaw(info, data) {\n return $29edddcd12778bb3$var$__awaiter(this, void 0, void 0, function*() {\n return new Promise((resolve, reject)=>{\n function callbackForResult(err, res) {\n if (err) reject(err);\n else if (!res) // If `err` is not passed, then `res` must be passed.\n reject(new Error(\"Unknown error\"));\n else resolve(res);\n }\n this.requestRawWithCallback(info, data, callbackForResult);\n });\n });\n }\n /**\n * Raw request with callback.\n * @param info\n * @param data\n * @param onResult\n */ requestRawWithCallback(info, data, onResult) {\n if (typeof data === \"string\") {\n if (!info.options.headers) info.options.headers = {};\n info.options.headers[\"Content-Length\"] = Buffer.byteLength(data, \"utf8\");\n }\n let callbackCalled = false;\n function handleResult(err, res) {\n if (!callbackCalled) {\n callbackCalled = true;\n onResult(err, res);\n }\n }\n const req = info.httpModule.request(info.options, (msg)=>{\n const res = new $29edddcd12778bb3$var$HttpClientResponse(msg);\n handleResult(undefined, res);\n });\n let socket;\n req.on(\"socket\", (sock)=>{\n socket = sock;\n });\n // If we ever get disconnected, we want the socket to timeout eventually\n req.setTimeout(this._socketTimeout || 180000, ()=>{\n if (socket) socket.end();\n handleResult(new Error(`Request timeout: ${info.options.path}`));\n });\n req.on(\"error\", function(err) {\n // err has statusCode property\n // res should have headers\n handleResult(err);\n });\n if (data && typeof data === \"string\") req.write(data, \"utf8\");\n if (data && typeof data !== \"string\") {\n data.on(\"close\", function() {\n req.end();\n });\n data.pipe(req);\n } else req.end();\n }\n /**\n * Gets an http agent. This function is useful when you need an http agent that handles\n * routing through a proxy server - depending upon the url and proxy environment variables.\n * @param serverUrl The server URL where the request will be sent. For example, https://api.github.com\n */ getAgent(serverUrl) {\n const parsedUrl = new URL(serverUrl);\n return this._getAgent(parsedUrl);\n }\n _prepareRequest(method, requestUrl, headers) {\n const info = {};\n info.parsedUrl = requestUrl;\n const usingSsl = info.parsedUrl.protocol === \"https:\";\n info.httpModule = usingSsl ? $29edddcd12778bb3$var$https : $29edddcd12778bb3$var$http;\n const defaultPort = usingSsl ? 443 : 80;\n info.options = {};\n info.options.host = info.parsedUrl.hostname;\n info.options.port = info.parsedUrl.port ? parseInt(info.parsedUrl.port) : defaultPort;\n info.options.path = (info.parsedUrl.pathname || \"\") + (info.parsedUrl.search || \"\");\n info.options.method = method;\n info.options.headers = this._mergeHeaders(headers);\n if (this.userAgent != null) info.options.headers[\"user-agent\"] = this.userAgent;\n info.options.agent = this._getAgent(info.parsedUrl);\n // gives handlers an opportunity to participate\n if (this.handlers) for (const handler of this.handlers)handler.prepareRequest(info.options);\n return info;\n }\n _mergeHeaders(headers) {\n if (this.requestOptions && this.requestOptions.headers) return Object.assign({}, $29edddcd12778bb3$var$lowercaseKeys(this.requestOptions.headers), $29edddcd12778bb3$var$lowercaseKeys(headers || {}));\n return $29edddcd12778bb3$var$lowercaseKeys(headers || {});\n }\n _getExistingOrDefaultHeader(additionalHeaders, header, _default) {\n let clientHeader;\n if (this.requestOptions && this.requestOptions.headers) clientHeader = $29edddcd12778bb3$var$lowercaseKeys(this.requestOptions.headers)[header];\n return additionalHeaders[header] || clientHeader || _default;\n }\n _getAgent(parsedUrl) {\n let agent;\n const proxyUrl = $29edddcd12778bb3$var$pm.getProxyUrl(parsedUrl);\n const useProxy = proxyUrl && proxyUrl.hostname;\n if (this._keepAlive && useProxy) agent = this._proxyAgent;\n if (this._keepAlive && !useProxy) agent = this._agent;\n // if agent is already assigned use that agent.\n if (agent) return agent;\n const usingSsl = parsedUrl.protocol === \"https:\";\n let maxSockets = 100;\n if (this.requestOptions) maxSockets = this.requestOptions.maxSockets || $29edddcd12778bb3$var$http.globalAgent.maxSockets;\n // This is `useProxy` again, but we need to check `proxyURl` directly for TypeScripts's flow analysis.\n if (proxyUrl && proxyUrl.hostname) {\n const agentOptions = {\n maxSockets: maxSockets,\n keepAlive: this._keepAlive,\n proxy: Object.assign(Object.assign({}, (proxyUrl.username || proxyUrl.password) && {\n proxyAuth: `${proxyUrl.username}:${proxyUrl.password}`\n }), {\n host: proxyUrl.hostname,\n port: proxyUrl.port\n })\n };\n let tunnelAgent;\n const overHttps = proxyUrl.protocol === \"https:\";\n if (usingSsl) tunnelAgent = overHttps ? $29edddcd12778bb3$var$tunnel.httpsOverHttps : $29edddcd12778bb3$var$tunnel.httpsOverHttp;\n else tunnelAgent = overHttps ? $29edddcd12778bb3$var$tunnel.httpOverHttps : $29edddcd12778bb3$var$tunnel.httpOverHttp;\n agent = tunnelAgent(agentOptions);\n this._proxyAgent = agent;\n }\n // if reusing agent across request and tunneling agent isn't assigned create a new agent\n if (this._keepAlive && !agent) {\n const options = {\n keepAlive: this._keepAlive,\n maxSockets: maxSockets\n };\n agent = usingSsl ? new $29edddcd12778bb3$var$https.Agent(options) : new $29edddcd12778bb3$var$http.Agent(options);\n this._agent = agent;\n }\n // if not using private agent and tunnel agent isn't setup then use global agent\n if (!agent) agent = usingSsl ? $29edddcd12778bb3$var$https.globalAgent : $29edddcd12778bb3$var$http.globalAgent;\n if (usingSsl && this._ignoreSslError) // we don't want to set NODE_TLS_REJECT_UNAUTHORIZED=0 since that will affect request for entire process\n // http.RequestOptions doesn't expose a way to modify RequestOptions.agent.options\n // we have to cast it to any and change it directly\n agent.options = Object.assign(agent.options || {}, {\n rejectUnauthorized: false\n });\n return agent;\n }\n _performExponentialBackoff(retryNumber) {\n return $29edddcd12778bb3$var$__awaiter(this, void 0, void 0, function*() {\n retryNumber = Math.min($29edddcd12778bb3$var$ExponentialBackoffCeiling, retryNumber);\n const ms = $29edddcd12778bb3$var$ExponentialBackoffTimeSlice * Math.pow(2, retryNumber);\n return new Promise((resolve)=>setTimeout(()=>resolve(), ms));\n });\n }\n _processResponse(res, options) {\n return $29edddcd12778bb3$var$__awaiter(this, void 0, void 0, function*() {\n return new Promise((resolve, reject)=>$29edddcd12778bb3$var$__awaiter(this, void 0, void 0, function*() {\n const statusCode = res.message.statusCode || 0;\n const response = {\n statusCode: statusCode,\n result: null,\n headers: {}\n };\n // not found leads to null obj returned\n if (statusCode === $29edddcd12778bb3$var$HttpCodes.NotFound) resolve(response);\n // get the result from the body\n function dateTimeDeserializer(key, value) {\n if (typeof value === \"string\") {\n const a = new Date(value);\n if (!isNaN(a.valueOf())) return a;\n }\n return value;\n }\n let obj;\n let contents;\n try {\n contents = yield res.readBody();\n if (contents && contents.length > 0) {\n if (options && options.deserializeDates) obj = JSON.parse(contents, dateTimeDeserializer);\n else obj = JSON.parse(contents);\n response.result = obj;\n }\n response.headers = res.message.headers;\n } catch (err) {\n // Invalid resource (contents not json); leaving result obj null\n }\n // note that 3xx redirects are handled by the http layer.\n if (statusCode > 299) {\n let msg;\n // if exception/error in body, attempt to get better error\n if (obj && obj.message) msg = obj.message;\n else if (contents && contents.length > 0) // it may be the case that the exception is in the body message as string\n msg = contents;\n else msg = `Failed request: (${statusCode})`;\n const err = new $29edddcd12778bb3$var$HttpClientError(msg, statusCode);\n err.result = response.result;\n reject(err);\n } else resolve(response);\n }));\n });\n }\n}\nmodule.exports.HttpClient = $29edddcd12778bb3$var$HttpClient;\nconst $29edddcd12778bb3$var$lowercaseKeys = (obj)=>Object.keys(obj).reduce((c, k)=>(c[k.toLowerCase()] = obj[k], c), {});\n\n});\nparcelRegister(\"jmGvF\", function(module, exports) {\n\"use strict\";\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.checkBypass = module.exports.getProxyUrl = void 0;\nfunction $e1910bf64c935cea$var$getProxyUrl(reqUrl) {\n const usingSsl = reqUrl.protocol === \"https:\";\n if ($e1910bf64c935cea$var$checkBypass(reqUrl)) return undefined;\n const proxyVar = (()=>{\n if (usingSsl) return process.env[\"https_proxy\"] || process.env[\"HTTPS_PROXY\"];\n else return process.env[\"http_proxy\"] || process.env[\"HTTP_PROXY\"];\n })();\n if (proxyVar) return new URL(proxyVar);\n else return undefined;\n}\nmodule.exports.getProxyUrl = $e1910bf64c935cea$var$getProxyUrl;\nfunction $e1910bf64c935cea$var$checkBypass(reqUrl) {\n if (!reqUrl.hostname) return false;\n const reqHost = reqUrl.hostname;\n if ($e1910bf64c935cea$var$isLoopbackAddress(reqHost)) return true;\n const noProxy = process.env[\"no_proxy\"] || process.env[\"NO_PROXY\"] || \"\";\n if (!noProxy) return false;\n // Determine the request port\n let reqPort;\n if (reqUrl.port) reqPort = Number(reqUrl.port);\n else if (reqUrl.protocol === \"http:\") reqPort = 80;\n else if (reqUrl.protocol === \"https:\") reqPort = 443;\n // Format the request hostname and hostname with port\n const upperReqHosts = [\n reqUrl.hostname.toUpperCase()\n ];\n if (typeof reqPort === \"number\") upperReqHosts.push(`${upperReqHosts[0]}:${reqPort}`);\n // Compare request host against noproxy\n for (const upperNoProxyItem of noProxy.split(\",\").map((x)=>x.trim().toUpperCase()).filter((x)=>x)){\n if (upperNoProxyItem === \"*\" || upperReqHosts.some((x)=>x === upperNoProxyItem || x.endsWith(`.${upperNoProxyItem}`) || upperNoProxyItem.startsWith(\".\") && x.endsWith(`${upperNoProxyItem}`))) return true;\n }\n return false;\n}\nmodule.exports.checkBypass = $e1910bf64c935cea$var$checkBypass;\nfunction $e1910bf64c935cea$var$isLoopbackAddress(host) {\n const hostLower = host.toLowerCase();\n return hostLower === \"localhost\" || hostLower.startsWith(\"127.\") || hostLower.startsWith(\"[::1]\") || hostLower.startsWith(\"[0:0:0:0:0:0:0:1]\");\n}\n\n});\n\nparcelRegister(\"3i1sl\", function(module, exports) {\n\nmodule.exports = (parcelRequire(\"35dml\"));\n\n});\nparcelRegister(\"35dml\", function(module, exports) {\n\n$parcel$export(module.exports, \"httpOverHttp\", () => $23ec339f023050ce$export$25cbd437c61a3835, (v) => $23ec339f023050ce$export$25cbd437c61a3835 = v);\n$parcel$export(module.exports, \"httpsOverHttp\", () => $23ec339f023050ce$export$c06e3df7111bae43, (v) => $23ec339f023050ce$export$c06e3df7111bae43 = v);\n$parcel$export(module.exports, \"httpOverHttps\", () => $23ec339f023050ce$export$5d50e36ef656139f, (v) => $23ec339f023050ce$export$5d50e36ef656139f = v);\n$parcel$export(module.exports, \"httpsOverHttps\", () => $23ec339f023050ce$export$212d6605025321cc, (v) => $23ec339f023050ce$export$212d6605025321cc = v);\n$parcel$export(module.exports, \"debug\", () => $23ec339f023050ce$export$1c9f709888824e05, (v) => $23ec339f023050ce$export$1c9f709888824e05 = v);\nvar $23ec339f023050ce$export$25cbd437c61a3835;\nvar $23ec339f023050ce$export$c06e3df7111bae43;\nvar $23ec339f023050ce$export$5d50e36ef656139f;\nvar $23ec339f023050ce$export$212d6605025321cc;\nvar $23ec339f023050ce$export$1c9f709888824e05;\n\"use strict\";\n\n\n\n\n\n\n\n$23ec339f023050ce$export$25cbd437c61a3835 = $23ec339f023050ce$var$httpOverHttp;\n$23ec339f023050ce$export$c06e3df7111bae43 = $23ec339f023050ce$var$httpsOverHttp;\n$23ec339f023050ce$export$5d50e36ef656139f = $23ec339f023050ce$var$httpOverHttps;\n$23ec339f023050ce$export$212d6605025321cc = $23ec339f023050ce$var$httpsOverHttps;\nfunction $23ec339f023050ce$var$httpOverHttp(options) {\n var agent = new $23ec339f023050ce$var$TunnelingAgent(options);\n agent.request = $aEsRD$http.request;\n return agent;\n}\nfunction $23ec339f023050ce$var$httpsOverHttp(options) {\n var agent = new $23ec339f023050ce$var$TunnelingAgent(options);\n agent.request = $aEsRD$http.request;\n agent.createSocket = $23ec339f023050ce$var$createSecureSocket;\n agent.defaultPort = 443;\n return agent;\n}\nfunction $23ec339f023050ce$var$httpOverHttps(options) {\n var agent = new $23ec339f023050ce$var$TunnelingAgent(options);\n agent.request = $aEsRD$https.request;\n return agent;\n}\nfunction $23ec339f023050ce$var$httpsOverHttps(options) {\n var agent = new $23ec339f023050ce$var$TunnelingAgent(options);\n agent.request = $aEsRD$https.request;\n agent.createSocket = $23ec339f023050ce$var$createSecureSocket;\n agent.defaultPort = 443;\n return agent;\n}\nfunction $23ec339f023050ce$var$TunnelingAgent(options) {\n var self = this;\n self.options = options || {};\n self.proxyOptions = self.options.proxy || {};\n self.maxSockets = self.options.maxSockets || $aEsRD$http.Agent.defaultMaxSockets;\n self.requests = [];\n self.sockets = [];\n self.on(\"free\", function onFree(socket, host, port, localAddress) {\n var options = $23ec339f023050ce$var$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}\n$aEsRD$util.inherits($23ec339f023050ce$var$TunnelingAgent, $aEsRD$events.EventEmitter);\n$23ec339f023050ce$var$TunnelingAgent.prototype.addRequest = function addRequest(req, host, port, localAddress) {\n var self = this;\n var options = $23ec339f023050ce$var$mergeOptions({\n request: req\n }, self.options, $23ec339f023050ce$var$toOptions(host, port, localAddress));\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 // 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 function onFree() {\n self.emit(\"free\", socket, options);\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$23ec339f023050ce$var$TunnelingAgent.prototype.createSocket = function createSocket(options, cb) {\n var self = this;\n var placeholder = {};\n self.sockets.push(placeholder);\n var connectOptions = $23ec339f023050ce$var$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) connectOptions.localAddress = options.localAddress;\n if (connectOptions.proxyAuth) {\n connectOptions.headers = connectOptions.headers || {};\n connectOptions.headers[\"Proxy-Authorization\"] = \"Basic \" + new Buffer(connectOptions.proxyAuth).toString(\"base64\");\n }\n $23ec339f023050ce$var$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 function onResponse(res) {\n // Very hacky. This is necessary to avoid http-parser leaks.\n res.upgrade = true;\n }\n function onUpgrade(res, socket, head) {\n // Hacky.\n process.nextTick(function() {\n onConnect(res, socket, head);\n });\n }\n function onConnect(res, socket, head) {\n connectReq.removeAllListeners();\n socket.removeAllListeners();\n if (res.statusCode !== 200) {\n $23ec339f023050ce$var$debug(\"tunneling socket could not be established, statusCode=%d\", res.statusCode);\n socket.destroy();\n var error = new Error(\"tunneling socket could not be established, 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 $23ec339f023050ce$var$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 $23ec339f023050ce$var$debug(\"tunneling connection has established\");\n self.sockets[self.sockets.indexOf(placeholder)] = socket;\n return cb(socket);\n }\n function onError(cause) {\n connectReq.removeAllListeners();\n $23ec339f023050ce$var$debug(\"tunneling socket could not be established, cause=%s\\n\", cause.message, cause.stack);\n var error = new Error(\"tunneling socket could not be established, cause=\" + cause.message);\n error.code = \"ECONNRESET\";\n options.request.emit(\"error\", error);\n self.removeSocket(placeholder);\n }\n};\n$23ec339f023050ce$var$TunnelingAgent.prototype.removeSocket = function removeSocket(socket) {\n var pos = this.sockets.indexOf(socket);\n if (pos === -1) return;\n this.sockets.splice(pos, 1);\n var pending = this.requests.shift();\n if (pending) // 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};\nfunction $23ec339f023050ce$var$createSecureSocket(options, cb) {\n var self = this;\n $23ec339f023050ce$var$TunnelingAgent.prototype.createSocket.call(self, options, function(socket) {\n var hostHeader = options.request.getHeader(\"host\");\n var tlsOptions = $23ec339f023050ce$var$mergeOptions({}, self.options, {\n socket: socket,\n servername: hostHeader ? hostHeader.replace(/:.*$/, \"\") : options.host\n });\n // 0 is dummy port for v0.6\n var secureSocket = $aEsRD$tls.connect(0, tlsOptions);\n self.sockets[self.sockets.indexOf(socket)] = secureSocket;\n cb(secureSocket);\n });\n}\nfunction $23ec339f023050ce$var$toOptions(host, port, localAddress) {\n if (typeof host === \"string\") return {\n host: host,\n port: port,\n localAddress: localAddress\n };\n return host; // for v0.11 or later\n}\nfunction $23ec339f023050ce$var$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) target[k] = overrides[k];\n }\n }\n }\n return target;\n}\nvar $23ec339f023050ce$var$debug;\nif (process.env.NODE_DEBUG && /\\btunnel\\b/.test(process.env.NODE_DEBUG)) $23ec339f023050ce$var$debug = function() {\n var args = Array.prototype.slice.call(arguments);\n if (typeof args[0] === \"string\") args[0] = \"TUNNEL: \" + args[0];\n else args.unshift(\"TUNNEL:\");\n console.error.apply(console, args);\n};\nelse $23ec339f023050ce$var$debug = function() {};\n$23ec339f023050ce$export$1c9f709888824e05 = $23ec339f023050ce$var$debug; // for test\n\n});\n\n\n\nparcelRegister(\"dhOti\", function(module, exports) {\n\"use strict\";\nvar $9ac4037b2f74e83e$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.PersonalAccessTokenCredentialHandler = module.exports.BearerCredentialHandler = module.exports.BasicCredentialHandler = void 0;\nclass $9ac4037b2f74e83e$var$BasicCredentialHandler {\n constructor(username, password){\n this.username = username;\n this.password = password;\n }\n prepareRequest(options) {\n if (!options.headers) throw Error(\"The request has no headers\");\n options.headers[\"Authorization\"] = `Basic ${Buffer.from(`${this.username}:${this.password}`).toString(\"base64\")}`;\n }\n // This handler cannot handle 401\n canHandleAuthentication() {\n return false;\n }\n handleAuthentication() {\n return $9ac4037b2f74e83e$var$__awaiter(this, void 0, void 0, function*() {\n throw new Error(\"not implemented\");\n });\n }\n}\nmodule.exports.BasicCredentialHandler = $9ac4037b2f74e83e$var$BasicCredentialHandler;\nclass $9ac4037b2f74e83e$var$BearerCredentialHandler {\n constructor(token){\n this.token = token;\n }\n // currently implements pre-authorization\n // TODO: support preAuth = false where it hooks on 401\n prepareRequest(options) {\n if (!options.headers) throw Error(\"The request has no headers\");\n options.headers[\"Authorization\"] = `Bearer ${this.token}`;\n }\n // This handler cannot handle 401\n canHandleAuthentication() {\n return false;\n }\n handleAuthentication() {\n return $9ac4037b2f74e83e$var$__awaiter(this, void 0, void 0, function*() {\n throw new Error(\"not implemented\");\n });\n }\n}\nmodule.exports.BearerCredentialHandler = $9ac4037b2f74e83e$var$BearerCredentialHandler;\nclass $9ac4037b2f74e83e$var$PersonalAccessTokenCredentialHandler {\n constructor(token){\n this.token = token;\n }\n // currently implements pre-authorization\n // TODO: support preAuth = false where it hooks on 401\n prepareRequest(options) {\n if (!options.headers) throw Error(\"The request has no headers\");\n options.headers[\"Authorization\"] = `Basic ${Buffer.from(`PAT:${this.token}`).toString(\"base64\")}`;\n }\n // This handler cannot handle 401\n canHandleAuthentication() {\n return false;\n }\n handleAuthentication() {\n return $9ac4037b2f74e83e$var$__awaiter(this, void 0, void 0, function*() {\n throw new Error(\"not implemented\");\n });\n }\n}\nmodule.exports.PersonalAccessTokenCredentialHandler = $9ac4037b2f74e83e$var$PersonalAccessTokenCredentialHandler;\n\n});\n\n\nparcelRegister(\"cZLUn\", function(module, exports) {\n\"use strict\";\nvar $976058244a2d9258$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.summary = module.exports.markdownSummary = module.exports.SUMMARY_DOCS_URL = module.exports.SUMMARY_ENV_VAR = void 0;\n\n\nconst { access: $976058244a2d9258$var$access, appendFile: $976058244a2d9258$var$appendFile, writeFile: $976058244a2d9258$var$writeFile } = $aEsRD$fs.promises;\nmodule.exports.SUMMARY_ENV_VAR = \"GITHUB_STEP_SUMMARY\";\nmodule.exports.SUMMARY_DOCS_URL = \"https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions#adding-a-job-summary\";\nclass $976058244a2d9258$var$Summary {\n constructor(){\n this._buffer = \"\";\n }\n /**\n * Finds the summary file path from the environment, rejects if env var is not found or file does not exist\n * Also checks r/w permissions.\n *\n * @returns step summary file path\n */ filePath() {\n return $976058244a2d9258$var$__awaiter(this, void 0, void 0, function*() {\n if (this._filePath) return this._filePath;\n const pathFromEnv = process.env[module.exports.SUMMARY_ENV_VAR];\n if (!pathFromEnv) throw new Error(`Unable to find environment variable for $${module.exports.SUMMARY_ENV_VAR}. Check if your runtime environment supports job summaries.`);\n try {\n yield $976058244a2d9258$var$access(pathFromEnv, $aEsRD$fs.constants.R_OK | $aEsRD$fs.constants.W_OK);\n } catch (_a) {\n throw new Error(`Unable to access summary file: '${pathFromEnv}'. Check if the file has correct read/write permissions.`);\n }\n this._filePath = pathFromEnv;\n return this._filePath;\n });\n }\n /**\n * Wraps content in an HTML tag, adding any HTML attributes\n *\n * @param {string} tag HTML tag to wrap\n * @param {string | null} content content within the tag\n * @param {[attribute: string]: string} attrs key-value list of HTML attributes to add\n *\n * @returns {string} content wrapped in HTML element\n */ wrap(tag, content, attrs = {}) {\n const htmlAttrs = Object.entries(attrs).map(([key, value])=>` ${key}=\"${value}\"`).join(\"\");\n if (!content) return `<${tag}${htmlAttrs}>`;\n return `<${tag}${htmlAttrs}>${content}`;\n }\n /**\n * Writes text in the buffer to the summary buffer file and empties buffer. Will append by default.\n *\n * @param {SummaryWriteOptions} [options] (optional) options for write operation\n *\n * @returns {Promise} summary instance\n */ write(options) {\n return $976058244a2d9258$var$__awaiter(this, void 0, void 0, function*() {\n const overwrite = !!(options === null || options === void 0 ? void 0 : options.overwrite);\n const filePath = yield this.filePath();\n const writeFunc = overwrite ? $976058244a2d9258$var$writeFile : $976058244a2d9258$var$appendFile;\n yield writeFunc(filePath, this._buffer, {\n encoding: \"utf8\"\n });\n return this.emptyBuffer();\n });\n }\n /**\n * Clears the summary buffer and wipes the summary file\n *\n * @returns {Summary} summary instance\n */ clear() {\n return $976058244a2d9258$var$__awaiter(this, void 0, void 0, function*() {\n return this.emptyBuffer().write({\n overwrite: true\n });\n });\n }\n /**\n * Returns the current summary buffer as a string\n *\n * @returns {string} string of summary buffer\n */ stringify() {\n return this._buffer;\n }\n /**\n * If the summary buffer is empty\n *\n * @returns {boolen} true if the buffer is empty\n */ isEmptyBuffer() {\n return this._buffer.length === 0;\n }\n /**\n * Resets the summary buffer without writing to summary file\n *\n * @returns {Summary} summary instance\n */ emptyBuffer() {\n this._buffer = \"\";\n return this;\n }\n /**\n * Adds raw text to the summary buffer\n *\n * @param {string} text content to add\n * @param {boolean} [addEOL=false] (optional) append an EOL to the raw text (default: false)\n *\n * @returns {Summary} summary instance\n */ addRaw(text, addEOL = false) {\n this._buffer += text;\n return addEOL ? this.addEOL() : this;\n }\n /**\n * Adds the operating system-specific end-of-line marker to the buffer\n *\n * @returns {Summary} summary instance\n */ addEOL() {\n return this.addRaw($aEsRD$os.EOL);\n }\n /**\n * Adds an HTML codeblock to the summary buffer\n *\n * @param {string} code content to render within fenced code block\n * @param {string} lang (optional) language to syntax highlight code\n *\n * @returns {Summary} summary instance\n */ addCodeBlock(code, lang) {\n const attrs = Object.assign({}, lang && {\n lang: lang\n });\n const element = this.wrap(\"pre\", this.wrap(\"code\", code), attrs);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML list to the summary buffer\n *\n * @param {string[]} items list of items to render\n * @param {boolean} [ordered=false] (optional) if the rendered list should be ordered or not (default: false)\n *\n * @returns {Summary} summary instance\n */ addList(items, ordered = false) {\n const tag = ordered ? \"ol\" : \"ul\";\n const listItems = items.map((item)=>this.wrap(\"li\", item)).join(\"\");\n const element = this.wrap(tag, listItems);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML table to the summary buffer\n *\n * @param {SummaryTableCell[]} rows table rows\n *\n * @returns {Summary} summary instance\n */ addTable(rows) {\n const tableBody = rows.map((row)=>{\n const cells = row.map((cell)=>{\n if (typeof cell === \"string\") return this.wrap(\"td\", cell);\n const { header: header, data: data, colspan: colspan, rowspan: rowspan } = cell;\n const tag = header ? \"th\" : \"td\";\n const attrs = Object.assign(Object.assign({}, colspan && {\n colspan: colspan\n }), rowspan && {\n rowspan: rowspan\n });\n return this.wrap(tag, data, attrs);\n }).join(\"\");\n return this.wrap(\"tr\", cells);\n }).join(\"\");\n const element = this.wrap(\"table\", tableBody);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds a collapsable HTML details element to the summary buffer\n *\n * @param {string} label text for the closed state\n * @param {string} content collapsable content\n *\n * @returns {Summary} summary instance\n */ addDetails(label, content) {\n const element = this.wrap(\"details\", this.wrap(\"summary\", label) + content);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML image tag to the summary buffer\n *\n * @param {string} src path to the image you to embed\n * @param {string} alt text description of the image\n * @param {SummaryImageOptions} options (optional) addition image attributes\n *\n * @returns {Summary} summary instance\n */ addImage(src, alt, options) {\n const { width: width, height: height } = options || {};\n const attrs = Object.assign(Object.assign({}, width && {\n width: width\n }), height && {\n height: height\n });\n const element = this.wrap(\"img\", null, Object.assign({\n src: src,\n alt: alt\n }, attrs));\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML section heading element\n *\n * @param {string} text heading text\n * @param {number | string} [level=1] (optional) the heading level, default: 1\n *\n * @returns {Summary} summary instance\n */ addHeading(text, level) {\n const tag = `h${level}`;\n const allowedTag = [\n \"h1\",\n \"h2\",\n \"h3\",\n \"h4\",\n \"h5\",\n \"h6\"\n ].includes(tag) ? tag : \"h1\";\n const element = this.wrap(allowedTag, text);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML thematic break (
) to the summary buffer\n *\n * @returns {Summary} summary instance\n */ addSeparator() {\n const element = this.wrap(\"hr\", null);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML line break (
) to the summary buffer\n *\n * @returns {Summary} summary instance\n */ addBreak() {\n const element = this.wrap(\"br\", null);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML blockquote to the summary buffer\n *\n * @param {string} text quote text\n * @param {string} cite (optional) citation url\n *\n * @returns {Summary} summary instance\n */ addQuote(text, cite) {\n const attrs = Object.assign({}, cite && {\n cite: cite\n });\n const element = this.wrap(\"blockquote\", text, attrs);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML anchor tag to the summary buffer\n *\n * @param {string} text link text/content\n * @param {string} href hyperlink\n *\n * @returns {Summary} summary instance\n */ addLink(text, href) {\n const element = this.wrap(\"a\", text, {\n href: href\n });\n return this.addRaw(element).addEOL();\n }\n}\nconst $976058244a2d9258$var$_summary = new $976058244a2d9258$var$Summary();\n/**\n * @deprecated use `core.summary`\n */ module.exports.markdownSummary = $976058244a2d9258$var$_summary;\nmodule.exports.summary = $976058244a2d9258$var$_summary;\n\n});\n\nparcelRegister(\"hA9PM\", function(module, exports) {\n\"use strict\";\nvar $cccd6d5594c7187a$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $cccd6d5594c7187a$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $cccd6d5594c7187a$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $cccd6d5594c7187a$var$__createBinding(result, mod, k);\n }\n $cccd6d5594c7187a$var$__setModuleDefault(result, mod);\n return result;\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.toPlatformPath = module.exports.toWin32Path = module.exports.toPosixPath = void 0;\n\nconst $cccd6d5594c7187a$var$path = $cccd6d5594c7187a$var$__importStar($aEsRD$path);\n/**\n * toPosixPath converts the given path to the posix form. On Windows, \\\\ will be\n * replaced with /.\n *\n * @param pth. Path to transform.\n * @return string Posix path.\n */ function $cccd6d5594c7187a$var$toPosixPath(pth) {\n return pth.replace(/[\\\\]/g, \"/\");\n}\nmodule.exports.toPosixPath = $cccd6d5594c7187a$var$toPosixPath;\n/**\n * toWin32Path converts the given path to the win32 form. On Linux, / will be\n * replaced with \\\\.\n *\n * @param pth. Path to transform.\n * @return string Win32 path.\n */ function $cccd6d5594c7187a$var$toWin32Path(pth) {\n return pth.replace(/[/]/g, \"\\\\\");\n}\nmodule.exports.toWin32Path = $cccd6d5594c7187a$var$toWin32Path;\n/**\n * toPlatformPath converts the given path to a platform-specific path. It does\n * this by replacing instances of / and \\ with the platform-specific path\n * separator.\n *\n * @param pth The path to platformize.\n * @return string The platform-specific path.\n */ function $cccd6d5594c7187a$var$toPlatformPath(pth) {\n return pth.replace(/[/\\\\]/g, $cccd6d5594c7187a$var$path.sep);\n}\nmodule.exports.toPlatformPath = $cccd6d5594c7187a$var$toPlatformPath;\n\n});\n\n\n\nparcelRegister(\"nCzGD\", function(module, exports) {\n\nvar $047012351b04ecb6$var$$parcel$__dirname = $aEsRD$path.resolve(__dirname, \"../../node_modules/numerous/lib\");\n(function() {\n \"use strict\";\n var root = this;\n //=========//\n // GLOBALS //\n //=========//\n var locales = {};\n //==========//\n // EXPOSING //\n //==========//\n var moduleDefinition = {\n create: factory,\n addLocale: addLocale,\n pluralize: pluralize\n };\n if (\"undefined\" !== typeof module.exports) module.exports = moduleDefinition;\n else root.numerous = moduleDefinition;\n //==================//\n // PUBLIC FUNCTIONS //\n //==================//\n /**\n * Creates new instance of numerous.\n *\n * @param {string} locale\n * @returns {object}\n */ function factory(locale) {\n checkLocale(locale);\n return {\n pluralize: function(value, variants) {\n return pluralize(locale, value, variants);\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 */ function addLocale(locale, callable) {\n locales[locale] = callable;\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 */ function pluralize(locale, value, variants) {\n checkLocale(locale);\n if (\"object\" !== typeof variants) throw new Error(\"List of variants should be specified as an object\");\n var key = locales[locale](value);\n return \"undefined\" !== typeof variants[key] ? variants[key] : null;\n }\n //===================//\n // PRIVATE FUNCTIONS //\n //===================//\n /**\n * Returns true if specified locale is loaded, false otherwise.\n *\n * @param {string} locale\n *\n * @returns {boolean}\n */ function hasLocale(locale) {\n return \"undefined\" !== typeof locales[locale];\n }\n /**\n * Checks if locale is loaded. If not, tries to load it.\n *\n * @param {string} locale\n */ function checkLocale(locale) {\n if (!hasLocale(locale)) requireLocale(locale);\n }\n /**\n * Tries to load the specified locale.\n *\n * @param {string} locale\n */ function requireLocale(locale) {\n try {\n require($047012351b04ecb6$var$$parcel$__dirname + \"/../locales/\" + locale + \".js\");\n } catch (error) {\n throw Error(\"Failed to load the following locale: \" + locale);\n }\n }\n}).call(module.exports);\n\n});\n\nparcelRegister(\"cNw1h\", function(module, exports) {\n//==============//\n// DEPENDENCIES //\n//==============//\n\nvar $glkzm = parcelRequire(\"glkzm\");\n\nvar $jWCmm = parcelRequire(\"jWCmm\");\n//================//\n// MODULE GLOBALS //\n//================//\n/**\n * Pre-calculating millisecond values for each time unit.\n */ const $9512e6182f3c4a22$var$timeUnits = [\n [\n \"years\",\n 29030400000\n ],\n [\n \"months\",\n 2419200000\n ],\n [\n \"weeks\",\n 604800000\n ],\n [\n \"days\",\n 86400000\n ],\n [\n \"hours\",\n 3600000\n ],\n [\n \"minutes\",\n 60000\n ],\n [\n \"seconds\",\n 1000\n ]\n];\nconst $9512e6182f3c4a22$var$defaultConfig = {\n locale: \"en\",\n span: 2,\n delimiter: \", \",\n unitType: \"long\",\n unitTypeLookupOrder: [\n \"long\",\n \"short\",\n \"narrow\"\n ],\n autoloadLocales: true\n};\n/**\n * Contains data of loaded locales.\n * @type {Object}\n */ const $9512e6182f3c4a22$var$locales = {};\n//=========//\n// EXPORTS //\n//=========//\nmodule.exports = {\n create: $9512e6182f3c4a22$var$timeDeltaFactory,\n addLocale: $9512e6182f3c4a22$var$addLocale,\n defaultConfig: $9512e6182f3c4a22$var$defaultConfig\n};\n//===========//\n// FUNCTIONS //\n//===========//\n/**\n * Adds pluralization data for the specified locale.\n * Should be called in browser.\n *\n * @param {Object|Object[]} localeData\n */ function $9512e6182f3c4a22$var$addLocale(localeData) {\n // Normalizing input\n if (!Array.isArray(localeData)) localeData = [\n localeData\n ];\n for (const item of localeData){\n const { id: id, data: data } = item;\n $9512e6182f3c4a22$var$locales[id] = data;\n }\n}\n/**\n * Creates new instance.\n *\n * @param {object?} config\n *\n * @returns {object}\n */ function $9512e6182f3c4a22$var$timeDeltaFactory(config) {\n // Initializing config by extending the default one\n config = Object.assign({}, $9512e6182f3c4a22$var$defaultConfig, config || {});\n return {\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 */ format: function(firstDate, secondDate, options) {\n // Allowing to override config with each individual call\n options = Object.assign({}, config, options || {});\n return $9512e6182f3c4a22$var$format(firstDate, secondDate, options);\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 */ function $9512e6182f3c4a22$var$format(firstDate, secondDate, config) {\n $9512e6182f3c4a22$var$ensureLocaleLoadedOrThrow(config.locale, {\n autoload: config.autoloadLocales\n });\n // Handling input arguments\n // -----\n if (!firstDate) throw new Error(\"Missing first date argument\");\n if (!secondDate) throw new Error(\"Missing second date argument\");\n // Calculating\n // -----\n const difference = $9512e6182f3c4a22$var$getDifference(firstDate, secondDate);\n const parts = [];\n for (const unit of difference){\n const [name, value] = unit;\n if (value > 0) parts.push($9512e6182f3c4a22$var$pluralize(name, value, config));\n if (parts.length >= config.span) break;\n }\n // Returning the string value\n return parts.join(config.delimiter);\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 */ function $9512e6182f3c4a22$var$ensureLocaleLoadedOrThrow(locale, options) {\n const { autoload: autoload } = options;\n if ($9512e6182f3c4a22$var$hasLocale(locale)) return;\n if ($jWCmm && autoload) $9512e6182f3c4a22$var$requireLocale(locale);\n else throw new Error(`Missing locale: ${locale}, you must load it manually before using it`);\n}\n/**\n * Returns true if specified locale is loaded, false otherwise.\n *\n * @param {string} localeId\n *\n * @returns {boolean}\n */ function $9512e6182f3c4a22$var$hasLocale(localeId) {\n return Boolean($9512e6182f3c4a22$var$locales[localeId]);\n}\n/**\n * Tries to load the specified locale.\n *\n * @param {string} localeId\n */ function $9512e6182f3c4a22$var$requireLocale(localeId) {\n try {\n $9512e6182f3c4a22$var$addLocale(require(`../locales/${localeId}.js`));\n } catch (error) {\n throw Error(`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 * Returns difference as separate time units.\n *\n * @param {Date} firstDate\n * @param {Date} secondDate\n *\n * @returns {Array}\n */ function $9512e6182f3c4a22$var$getDifference(firstDate, secondDate) {\n let difference = secondDate - firstDate;\n const results = [];\n $9512e6182f3c4a22$var$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([\n name,\n value\n ]);\n if (difference <= 0) // Breaking the loop.\n return true;\n });\n return results;\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 */ function $9512e6182f3c4a22$var$pluralize(unit, value, config) {\n const unitTypeData = $9512e6182f3c4a22$var$getLocaleDataForUnitType(config);\n const unitString = $glkzm.pluralize(config.locale, value, unitTypeData[unit]);\n return unitString.replace(\"{0}\", value);\n}\n/**\n * Returns locale data for preferred unit type.\n *\n * @param {object} config\n *\n * @returns {Array}\n */ function $9512e6182f3c4a22$var$getLocaleDataForUnitType(config) {\n const localeData = $9512e6182f3c4a22$var$locales[config.locale];\n // Making a copy of array from config.\n let lookupOrder = config.unitTypeLookupOrder.slice();\n // Adding interested type to the top.\n lookupOrder.unshift(config.unitType);\n // Making sure only unique items are present.\n lookupOrder = $9512e6182f3c4a22$var$arrayUnique(lookupOrder);\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 if (null === unitTypeData) throw new Error(\"Can not find any unit type data for locale: \" + config.locale);\n return unitTypeData;\n}\n/**\n * Returns array with only unique items.\n *\n * @param {Array} array\n *\n * @returns {Array}\n */ function $9512e6182f3c4a22$var$arrayUnique(array) {\n return Array.from(new Set(array));\n}\n\n});\nparcelRegister(\"glkzm\", function(module, exports) {\n\nmodule.exports = (parcelRequire(\"nCzGD\"));\n\n});\n\nparcelRegister(\"jWCmm\", function(module, exports) {\n// Coding standard for this project defined @ https://github.com/MatthewSH/standards/blob/master/JavaScript.md\n\"use strict\";\nexports = module.exports = !!(typeof process !== \"undefined\" && process.versions && process.versions.node);\n\n});\n\n\nparcelRegister(\"kUWiH\", function(module, exports) {\nmodule.exports = $f3a642eb1bd69394$var$isexe;\n$f3a642eb1bd69394$var$isexe.sync = $f3a642eb1bd69394$var$sync;\n\nfunction $f3a642eb1bd69394$var$checkPathExt(path, options) {\n var pathext = options.pathExt !== undefined ? options.pathExt : process.env.PATHEXT;\n if (!pathext) return true;\n pathext = pathext.split(\";\");\n if (pathext.indexOf(\"\") !== -1) return true;\n for(var i = 0; i < pathext.length; i++){\n var p = pathext[i].toLowerCase();\n if (p && path.substr(-p.length).toLowerCase() === p) return true;\n }\n return false;\n}\nfunction $f3a642eb1bd69394$var$checkStat(stat, path, options) {\n if (!stat.isSymbolicLink() && !stat.isFile()) return false;\n return $f3a642eb1bd69394$var$checkPathExt(path, options);\n}\nfunction $f3a642eb1bd69394$var$isexe(path, options, cb) {\n $aEsRD$fs.stat(path, function(er, stat) {\n cb(er, er ? false : $f3a642eb1bd69394$var$checkStat(stat, path, options));\n });\n}\nfunction $f3a642eb1bd69394$var$sync(path, options) {\n return $f3a642eb1bd69394$var$checkStat($aEsRD$fs.statSync(path), path, options);\n}\n\n});\n\nparcelRegister(\"39qb4\", function(module, exports) {\nmodule.exports = $24b684aea7f3e704$var$isexe;\n$24b684aea7f3e704$var$isexe.sync = $24b684aea7f3e704$var$sync;\n\nfunction $24b684aea7f3e704$var$isexe(path, options, cb) {\n $aEsRD$fs.stat(path, function(er, stat) {\n cb(er, er ? false : $24b684aea7f3e704$var$checkStat(stat, options));\n });\n}\nfunction $24b684aea7f3e704$var$sync(path, options) {\n return $24b684aea7f3e704$var$checkStat($aEsRD$fs.statSync(path), options);\n}\nfunction $24b684aea7f3e704$var$checkStat(stat, options) {\n return stat.isFile() && $24b684aea7f3e704$var$checkMode(stat, options);\n}\nfunction $24b684aea7f3e704$var$checkMode(stat, options) {\n var mod = stat.mode;\n var uid = stat.uid;\n var gid = stat.gid;\n var myUid = options.uid !== undefined ? options.uid : process.getuid && process.getuid();\n var myGid = options.gid !== undefined ? options.gid : process.getgid && process.getgid();\n var u = parseInt(\"100\", 8);\n var g = parseInt(\"010\", 8);\n var o = parseInt(\"001\", 8);\n var ug = u | g;\n var ret = mod & o || mod & g && gid === myGid || mod & u && uid === myUid || mod & ug && myUid === 0;\n return ret;\n}\n\n});\n\nparcelRegister(\"i3ASI\", function(module, exports) {\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];\nif (process.platform !== \"win32\") module.exports.push(\"SIGVTALRM\", \"SIGXCPU\", \"SIGXFSZ\", \"SIGUSR2\", \"SIGTRAP\", \"SIGSYS\", \"SIGQUIT\", \"SIGIOT\");\nif (process.platform === \"linux\") module.exports.push(\"SIGIO\", \"SIGPOLL\", \"SIGPWR\", \"SIGSTKFLT\", \"SIGUNUSED\");\n\n});\n\nparcelRegister(\"bLhaJ\", function(module, exports) {\n// just pre-load all the stuff that index.js lazily exports\n\nvar $jFuIJ = parcelRequire(\"jFuIJ\");\n\nvar $h0FDO = parcelRequire(\"h0FDO\");\n\nvar $9xt8b = parcelRequire(\"9xt8b\");\n\nvar $kB8UR = parcelRequire(\"kB8UR\");\n\nvar $f9eqA = parcelRequire(\"f9eqA\");\n\nvar $2P6Mr = parcelRequire(\"2P6Mr\");\n\nvar $c1Zz2 = parcelRequire(\"c1Zz2\");\n\nvar $7fHCw = parcelRequire(\"7fHCw\");\n\nvar $cxLgj = parcelRequire(\"cxLgj\");\n\nvar $5vY1y = parcelRequire(\"5vY1y\");\n\nvar $i8KHz = parcelRequire(\"i8KHz\");\n\nvar $1ng3x = parcelRequire(\"1ng3x\");\n\nvar $5G2qo = parcelRequire(\"5G2qo\");\n\nvar $lTlut = parcelRequire(\"lTlut\");\n\nvar $ljgZo = parcelRequire(\"ljgZo\");\n\nvar $b3Lwg = parcelRequire(\"b3Lwg\");\n\nvar $3IeBZ = parcelRequire(\"3IeBZ\");\n\nvar $a0BIl = parcelRequire(\"a0BIl\");\n\nvar $3oiE6 = parcelRequire(\"3oiE6\");\n\nvar $fnAFb = parcelRequire(\"fnAFb\");\n\nvar $l5VRF = parcelRequire(\"l5VRF\");\n\nvar $iyupD = parcelRequire(\"iyupD\");\n\nvar $jpXGf = parcelRequire(\"jpXGf\");\n\nvar $j157J = parcelRequire(\"j157J\");\n\nvar $dMdWX = parcelRequire(\"dMdWX\");\n\nvar $lLUnh = parcelRequire(\"lLUnh\");\n\nvar $e7Yt8 = parcelRequire(\"e7Yt8\");\n\nvar $1SpzP = parcelRequire(\"1SpzP\");\n\nvar $f3aPP = parcelRequire(\"f3aPP\");\n\nvar $khJSG = parcelRequire(\"khJSG\");\n\nvar $b3OLy = parcelRequire(\"b3OLy\");\n\nvar $drXzZ = parcelRequire(\"drXzZ\");\n\nvar $gs3vr = parcelRequire(\"gs3vr\");\n\nvar $X9vdQ = parcelRequire(\"X9vdQ\");\n\nvar $fsTYi = parcelRequire(\"fsTYi\");\n\nvar $g9Ul8 = parcelRequire(\"g9Ul8\");\n\nvar $8n8H2 = parcelRequire(\"8n8H2\");\n\nvar $2Xx21 = parcelRequire(\"2Xx21\");\n\nvar $kWuuM = parcelRequire(\"kWuuM\");\n\nvar $7zMty = parcelRequire(\"7zMty\");\n\nvar $7r2UW = parcelRequire(\"7r2UW\");\nmodule.exports = {\n parse: $f9eqA,\n valid: $2P6Mr,\n clean: $c1Zz2,\n inc: $7fHCw,\n diff: $cxLgj,\n major: $5vY1y,\n minor: $i8KHz,\n patch: $1ng3x,\n prerelease: $5G2qo,\n compare: $lTlut,\n rcompare: $ljgZo,\n compareLoose: $b3Lwg,\n compareBuild: $3IeBZ,\n sort: $a0BIl,\n rsort: $3oiE6,\n gt: $fnAFb,\n lt: $l5VRF,\n eq: $iyupD,\n neq: $jpXGf,\n gte: $j157J,\n lte: $dMdWX,\n cmp: $lLUnh,\n coerce: $e7Yt8,\n Comparator: $1SpzP,\n Range: $f3aPP,\n satisfies: $khJSG,\n toComparators: $b3OLy,\n maxSatisfying: $drXzZ,\n minSatisfying: $gs3vr,\n minVersion: $X9vdQ,\n validRange: $fsTYi,\n outside: $g9Ul8,\n gtr: $8n8H2,\n ltr: $2Xx21,\n intersects: $kWuuM,\n simplifyRange: $7zMty,\n subset: $7r2UW,\n SemVer: $9xt8b,\n re: $jFuIJ.re,\n src: $jFuIJ.src,\n tokens: $jFuIJ.t,\n SEMVER_SPEC_VERSION: $h0FDO.SEMVER_SPEC_VERSION,\n RELEASE_TYPES: $h0FDO.RELEASE_TYPES,\n compareIdentifiers: $kB8UR.compareIdentifiers,\n rcompareIdentifiers: $kB8UR.rcompareIdentifiers\n};\n\n});\nparcelRegister(\"jFuIJ\", function(module, exports) {\n\nvar $h0FDO = parcelRequire(\"h0FDO\");\nvar $e519ad188fd8230b$require$MAX_SAFE_COMPONENT_LENGTH = $h0FDO.MAX_SAFE_COMPONENT_LENGTH;\nvar $e519ad188fd8230b$require$MAX_SAFE_BUILD_LENGTH = $h0FDO.MAX_SAFE_BUILD_LENGTH;\nvar $e519ad188fd8230b$require$MAX_LENGTH = $h0FDO.MAX_LENGTH;\n\nvar $iYRiQ = parcelRequire(\"iYRiQ\");\nexports = module.exports = {};\n// The actual regexps go on exports.re\nconst re = exports.re = [];\nconst safeRe = exports.safeRe = [];\nconst src = exports.src = [];\nconst t = exports.t = {};\nlet R = 0;\nconst LETTERDASHNUMBER = \"[a-zA-Z0-9-]\";\n// Replace some greedy regex tokens to prevent regex dos issues. These regex are\n// used internally via the safeRe object since all inputs in this library get\n// normalized first to trim and collapse all extra whitespace. The original\n// regexes are exported for userland consumption and lower level usage. A\n// future breaking change could export the safer regex only with a note that\n// all input should have extra whitespace removed.\nconst safeRegexReplacements = [\n [\n \"\\\\s\",\n 1\n ],\n [\n \"\\\\d\",\n $e519ad188fd8230b$require$MAX_LENGTH\n ],\n [\n LETTERDASHNUMBER,\n $e519ad188fd8230b$require$MAX_SAFE_BUILD_LENGTH\n ]\n];\nconst makeSafeRegex = (value)=>{\n for (const [token, max] of safeRegexReplacements)value = value.split(`${token}*`).join(`${token}{0,${max}}`).split(`${token}+`).join(`${token}{1,${max}}`);\n return value;\n};\nconst createToken = (name, value, isGlobal)=>{\n const safe = makeSafeRegex(value);\n const index = R++;\n $iYRiQ(name, index, value);\n t[name] = index;\n src[index] = value;\n re[index] = new RegExp(value, isGlobal ? \"g\" : undefined);\n safeRe[index] = new RegExp(safe, isGlobal ? \"g\" : undefined);\n};\n// The following Regular Expressions can be used for tokenizing,\n// validating, and parsing SemVer version strings.\n// ## Numeric Identifier\n// A single `0`, or a non-zero digit followed by zero or more digits.\ncreateToken(\"NUMERICIDENTIFIER\", \"0|[1-9]\\\\d*\");\ncreateToken(\"NUMERICIDENTIFIERLOOSE\", \"\\\\d+\");\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.\ncreateToken(\"NONNUMERICIDENTIFIER\", `\\\\d*[a-zA-Z-]${LETTERDASHNUMBER}*`);\n// ## Main Version\n// Three dot-separated numeric identifiers.\ncreateToken(\"MAINVERSION\", `(${src[t.NUMERICIDENTIFIER]})\\\\.` + `(${src[t.NUMERICIDENTIFIER]})\\\\.` + `(${src[t.NUMERICIDENTIFIER]})`);\ncreateToken(\"MAINVERSIONLOOSE\", `(${src[t.NUMERICIDENTIFIERLOOSE]})\\\\.` + `(${src[t.NUMERICIDENTIFIERLOOSE]})\\\\.` + `(${src[t.NUMERICIDENTIFIERLOOSE]})`);\n// ## Pre-release Version Identifier\n// A numeric identifier, or a non-numeric identifier.\ncreateToken(\"PRERELEASEIDENTIFIER\", `(?:${src[t.NUMERICIDENTIFIER]}|${src[t.NONNUMERICIDENTIFIER]})`);\ncreateToken(\"PRERELEASEIDENTIFIERLOOSE\", `(?:${src[t.NUMERICIDENTIFIERLOOSE]}|${src[t.NONNUMERICIDENTIFIER]})`);\n// ## Pre-release Version\n// Hyphen, followed by one or more dot-separated pre-release version\n// identifiers.\ncreateToken(\"PRERELEASE\", `(?:-(${src[t.PRERELEASEIDENTIFIER]}(?:\\\\.${src[t.PRERELEASEIDENTIFIER]})*))`);\ncreateToken(\"PRERELEASELOOSE\", `(?:-?(${src[t.PRERELEASEIDENTIFIERLOOSE]}(?:\\\\.${src[t.PRERELEASEIDENTIFIERLOOSE]})*))`);\n// ## Build Metadata Identifier\n// Any combination of digits, letters, or hyphens.\ncreateToken(\"BUILDIDENTIFIER\", `${LETTERDASHNUMBER}+`);\n// ## Build Metadata\n// Plus sign, followed by one or more period-separated build metadata\n// identifiers.\ncreateToken(\"BUILD\", `(?:\\\\+(${src[t.BUILDIDENTIFIER]}(?:\\\\.${src[t.BUILDIDENTIFIER]})*))`);\n// ## Full Version String\n// A main version, followed optionally by a pre-release version and\n// build metadata.\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.\ncreateToken(\"FULLPLAIN\", `v?${src[t.MAINVERSION]}${src[t.PRERELEASE]}?${src[t.BUILD]}?`);\ncreateToken(\"FULL\", `^${src[t.FULLPLAIN]}$`);\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]}${src[t.PRERELEASELOOSE]}?${src[t.BUILD]}?`);\ncreateToken(\"LOOSE\", `^${src[t.LOOSEPLAIN]}$`);\ncreateToken(\"GTLT\", \"((?:<|>)?=?)\");\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|\\\\*`);\ncreateToken(\"XRANGEPLAIN\", `[v=\\\\s]*(${src[t.XRANGEIDENTIFIER]})` + `(?:\\\\.(${src[t.XRANGEIDENTIFIER]})` + `(?:\\\\.(${src[t.XRANGEIDENTIFIER]})` + `(?:${src[t.PRERELEASE]})?${src[t.BUILD]}?` + `)?)?`);\ncreateToken(\"XRANGEPLAINLOOSE\", `[v=\\\\s]*(${src[t.XRANGEIDENTIFIERLOOSE]})` + `(?:\\\\.(${src[t.XRANGEIDENTIFIERLOOSE]})` + `(?:\\\\.(${src[t.XRANGEIDENTIFIERLOOSE]})` + `(?:${src[t.PRERELEASELOOSE]})?${src[t.BUILD]}?` + `)?)?`);\ncreateToken(\"XRANGE\", `^${src[t.GTLT]}\\\\s*${src[t.XRANGEPLAIN]}$`);\ncreateToken(\"XRANGELOOSE\", `^${src[t.GTLT]}\\\\s*${src[t.XRANGEPLAINLOOSE]}$`);\n// Coercion.\n// Extract anything that could conceivably be a part of a valid semver\ncreateToken(\"COERCE\", `${\"(^|[^\\\\d])(\\\\d{1,\"}${$e519ad188fd8230b$require$MAX_SAFE_COMPONENT_LENGTH}})` + `(?:\\\\.(\\\\d{1,${$e519ad188fd8230b$require$MAX_SAFE_COMPONENT_LENGTH}}))?` + `(?:\\\\.(\\\\d{1,${$e519ad188fd8230b$require$MAX_SAFE_COMPONENT_LENGTH}}))?` + `(?:$|[^\\\\d])`);\ncreateToken(\"COERCERTL\", src[t.COERCE], true);\n// Tilde ranges.\n// Meaning is \"reasonably at or greater than\"\ncreateToken(\"LONETILDE\", \"(?:~>?)\");\ncreateToken(\"TILDETRIM\", `(\\\\s*)${src[t.LONETILDE]}\\\\s+`, true);\nexports.tildeTrimReplace = \"$1~\";\ncreateToken(\"TILDE\", `^${src[t.LONETILDE]}${src[t.XRANGEPLAIN]}$`);\ncreateToken(\"TILDELOOSE\", `^${src[t.LONETILDE]}${src[t.XRANGEPLAINLOOSE]}$`);\n// Caret ranges.\n// Meaning is \"at least and backwards compatible with\"\ncreateToken(\"LONECARET\", \"(?:\\\\^)\");\ncreateToken(\"CARETTRIM\", `(\\\\s*)${src[t.LONECARET]}\\\\s+`, true);\nexports.caretTrimReplace = \"$1^\";\ncreateToken(\"CARET\", `^${src[t.LONECARET]}${src[t.XRANGEPLAIN]}$`);\ncreateToken(\"CARETLOOSE\", `^${src[t.LONECARET]}${src[t.XRANGEPLAINLOOSE]}$`);\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// 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]}\\\\s*(${src[t.LOOSEPLAIN]}|${src[t.XRANGEPLAIN]})`, true);\nexports.comparatorTrimReplace = \"$1$2$3\";\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]})` + `\\\\s+-\\\\s+` + `(${src[t.XRANGEPLAIN]})` + `\\\\s*$`);\ncreateToken(\"HYPHENRANGELOOSE\", `^\\\\s*(${src[t.XRANGEPLAINLOOSE]})` + `\\\\s+-\\\\s+` + `(${src[t.XRANGEPLAINLOOSE]})` + `\\\\s*$`);\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\n});\nparcelRegister(\"h0FDO\", function(module, exports) {\n// Note: this is the semver.org version of the spec that it implements\n// Not necessarily the package version of this code.\nconst $c622bcd09a5573a5$var$SEMVER_SPEC_VERSION = \"2.0.0\";\nconst $c622bcd09a5573a5$var$MAX_LENGTH = 256;\nconst $c622bcd09a5573a5$var$MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER || /* istanbul ignore next */ 9007199254740991;\n// Max safe segment length for coercion.\nconst $c622bcd09a5573a5$var$MAX_SAFE_COMPONENT_LENGTH = 16;\n// Max safe length for a build identifier. The max length minus 6 characters for\n// the shortest version with a build 0.0.0+BUILD.\nconst $c622bcd09a5573a5$var$MAX_SAFE_BUILD_LENGTH = $c622bcd09a5573a5$var$MAX_LENGTH - 6;\nconst $c622bcd09a5573a5$var$RELEASE_TYPES = [\n \"major\",\n \"premajor\",\n \"minor\",\n \"preminor\",\n \"patch\",\n \"prepatch\",\n \"prerelease\"\n];\nmodule.exports = {\n MAX_LENGTH: $c622bcd09a5573a5$var$MAX_LENGTH,\n MAX_SAFE_COMPONENT_LENGTH: $c622bcd09a5573a5$var$MAX_SAFE_COMPONENT_LENGTH,\n MAX_SAFE_BUILD_LENGTH: $c622bcd09a5573a5$var$MAX_SAFE_BUILD_LENGTH,\n MAX_SAFE_INTEGER: $c622bcd09a5573a5$var$MAX_SAFE_INTEGER,\n RELEASE_TYPES: $c622bcd09a5573a5$var$RELEASE_TYPES,\n SEMVER_SPEC_VERSION: $c622bcd09a5573a5$var$SEMVER_SPEC_VERSION,\n FLAG_INCLUDE_PRERELEASE: 1,\n FLAG_LOOSE: 2\n};\n\n});\n\nparcelRegister(\"iYRiQ\", function(module, exports) {\nconst $dd172d7583088bc7$var$debug = typeof process === \"object\" && process.env && process.env.NODE_DEBUG && /\\bsemver\\b/i.test(process.env.NODE_DEBUG) ? (...args)=>console.error(\"SEMVER\", ...args) : ()=>{};\nmodule.exports = $dd172d7583088bc7$var$debug;\n\n});\n\n\nparcelRegister(\"9xt8b\", function(module, exports) {\n\nvar $iYRiQ = parcelRequire(\"iYRiQ\");\n\nvar $h0FDO = parcelRequire(\"h0FDO\");\nvar $6f1dcaf464d0c189$require$MAX_LENGTH = $h0FDO.MAX_LENGTH;\nvar $6f1dcaf464d0c189$require$MAX_SAFE_INTEGER = $h0FDO.MAX_SAFE_INTEGER;\n\nvar $jFuIJ = parcelRequire(\"jFuIJ\");\nvar $6f1dcaf464d0c189$require$re = $jFuIJ.safeRe;\nvar $6f1dcaf464d0c189$require$t = $jFuIJ.t;\n\nvar $fdyHv = parcelRequire(\"fdyHv\");\n\nvar $kB8UR = parcelRequire(\"kB8UR\");\nvar $6f1dcaf464d0c189$require$compareIdentifiers = $kB8UR.compareIdentifiers;\nclass $6f1dcaf464d0c189$var$SemVer {\n constructor(version, options){\n options = $fdyHv(options);\n if (version instanceof $6f1dcaf464d0c189$var$SemVer) {\n if (version.loose === !!options.loose && version.includePrerelease === !!options.includePrerelease) return version;\n else version = version.version;\n } else if (typeof version !== \"string\") throw new TypeError(`Invalid version. Must be a string. Got type \"${typeof version}\".`);\n if (version.length > $6f1dcaf464d0c189$require$MAX_LENGTH) throw new TypeError(`version is longer than ${$6f1dcaf464d0c189$require$MAX_LENGTH} characters`);\n $iYRiQ(\"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 const m = version.trim().match(options.loose ? $6f1dcaf464d0c189$require$re[$6f1dcaf464d0c189$require$t.LOOSE] : $6f1dcaf464d0c189$require$re[$6f1dcaf464d0c189$require$t.FULL]);\n if (!m) throw new TypeError(`Invalid Version: ${version}`);\n this.raw = version;\n // these are actually numbers\n this.major = +m[1];\n this.minor = +m[2];\n this.patch = +m[3];\n if (this.major > $6f1dcaf464d0c189$require$MAX_SAFE_INTEGER || this.major < 0) throw new TypeError(\"Invalid major version\");\n if (this.minor > $6f1dcaf464d0c189$require$MAX_SAFE_INTEGER || this.minor < 0) throw new TypeError(\"Invalid minor version\");\n if (this.patch > $6f1dcaf464d0c189$require$MAX_SAFE_INTEGER || this.patch < 0) throw new TypeError(\"Invalid patch version\");\n // numberify any prerelease numeric ids\n if (!m[4]) this.prerelease = [];\n else this.prerelease = m[4].split(\".\").map((id)=>{\n if (/^[0-9]+$/.test(id)) {\n const num = +id;\n if (num >= 0 && num < $6f1dcaf464d0c189$require$MAX_SAFE_INTEGER) return num;\n }\n return id;\n });\n this.build = m[5] ? m[5].split(\".\") : [];\n this.format();\n }\n format() {\n this.version = `${this.major}.${this.minor}.${this.patch}`;\n if (this.prerelease.length) this.version += `-${this.prerelease.join(\".\")}`;\n return this.version;\n }\n toString() {\n return this.version;\n }\n compare(other) {\n $iYRiQ(\"SemVer.compare\", this.version, this.options, other);\n if (!(other instanceof $6f1dcaf464d0c189$var$SemVer)) {\n if (typeof other === \"string\" && other === this.version) return 0;\n other = new $6f1dcaf464d0c189$var$SemVer(other, this.options);\n }\n if (other.version === this.version) return 0;\n return this.compareMain(other) || this.comparePre(other);\n }\n compareMain(other) {\n if (!(other instanceof $6f1dcaf464d0c189$var$SemVer)) other = new $6f1dcaf464d0c189$var$SemVer(other, this.options);\n return $6f1dcaf464d0c189$require$compareIdentifiers(this.major, other.major) || $6f1dcaf464d0c189$require$compareIdentifiers(this.minor, other.minor) || $6f1dcaf464d0c189$require$compareIdentifiers(this.patch, other.patch);\n }\n comparePre(other) {\n if (!(other instanceof $6f1dcaf464d0c189$var$SemVer)) other = new $6f1dcaf464d0c189$var$SemVer(other, this.options);\n // NOT having a prerelease is > having one\n if (this.prerelease.length && !other.prerelease.length) return -1;\n else if (!this.prerelease.length && other.prerelease.length) return 1;\n else if (!this.prerelease.length && !other.prerelease.length) return 0;\n let i = 0;\n do {\n const a = this.prerelease[i];\n const b = other.prerelease[i];\n $iYRiQ(\"prerelease compare\", i, a, b);\n if (a === undefined && b === undefined) return 0;\n else if (b === undefined) return 1;\n else if (a === undefined) return -1;\n else if (a === b) continue;\n else return $6f1dcaf464d0c189$require$compareIdentifiers(a, b);\n }while (++i);\n }\n compareBuild(other) {\n if (!(other instanceof $6f1dcaf464d0c189$var$SemVer)) other = new $6f1dcaf464d0c189$var$SemVer(other, this.options);\n let i = 0;\n do {\n const a = this.build[i];\n const b = other.build[i];\n $iYRiQ(\"prerelease compare\", i, a, b);\n if (a === undefined && b === undefined) return 0;\n else if (b === undefined) return 1;\n else if (a === undefined) return -1;\n else if (a === b) continue;\n else return $6f1dcaf464d0c189$require$compareIdentifiers(a, b);\n }while (++i);\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, identifierBase) {\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, identifierBase);\n break;\n case \"preminor\":\n this.prerelease.length = 0;\n this.patch = 0;\n this.minor++;\n this.inc(\"pre\", identifier, identifierBase);\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, identifierBase);\n this.inc(\"pre\", identifier, identifierBase);\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) this.inc(\"patch\", identifier, identifierBase);\n this.inc(\"pre\", identifier, identifierBase);\n break;\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 (this.minor !== 0 || this.patch !== 0 || this.prerelease.length === 0) this.major++;\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) this.minor++;\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) this.patch++;\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 {\n const base = Number(identifierBase) ? 1 : 0;\n if (!identifier && identifierBase === false) throw new Error(\"invalid increment argument: identifier is empty\");\n if (this.prerelease.length === 0) this.prerelease = [\n base\n ];\n else {\n let i = this.prerelease.length;\n while(--i >= 0)if (typeof this.prerelease[i] === \"number\") {\n this.prerelease[i]++;\n i = -2;\n }\n if (i === -1) {\n // didn't increment anything\n if (identifier === this.prerelease.join(\".\") && identifierBase === false) throw new Error(\"invalid increment argument: identifier already exists\");\n this.prerelease.push(base);\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 let prerelease = [\n identifier,\n base\n ];\n if (identifierBase === false) prerelease = [\n identifier\n ];\n if ($6f1dcaf464d0c189$require$compareIdentifiers(this.prerelease[0], identifier) === 0) {\n if (isNaN(this.prerelease[1])) this.prerelease = prerelease;\n } else this.prerelease = prerelease;\n }\n break;\n }\n default:\n throw new Error(`invalid increment argument: ${release}`);\n }\n this.raw = this.format();\n if (this.build.length) this.raw += `+${this.build.join(\".\")}`;\n return this;\n }\n}\nmodule.exports = $6f1dcaf464d0c189$var$SemVer;\n\n});\nparcelRegister(\"fdyHv\", function(module, exports) {\n// parse out just the options we care about\nconst $b142fcbd232c0f56$var$looseOption = Object.freeze({\n loose: true\n});\nconst $b142fcbd232c0f56$var$emptyOpts = Object.freeze({});\nconst $b142fcbd232c0f56$var$parseOptions = (options)=>{\n if (!options) return $b142fcbd232c0f56$var$emptyOpts;\n if (typeof options !== \"object\") return $b142fcbd232c0f56$var$looseOption;\n return options;\n};\nmodule.exports = $b142fcbd232c0f56$var$parseOptions;\n\n});\n\nparcelRegister(\"kB8UR\", function(module, exports) {\nconst $efee2de4d6b3e0fd$var$numeric = /^[0-9]+$/;\nconst $efee2de4d6b3e0fd$var$compareIdentifiers = (a, b)=>{\n const anum = $efee2de4d6b3e0fd$var$numeric.test(a);\n const bnum = $efee2de4d6b3e0fd$var$numeric.test(b);\n if (anum && bnum) {\n a = +a;\n b = +b;\n }\n return a === b ? 0 : anum && !bnum ? -1 : bnum && !anum ? 1 : a < b ? -1 : 1;\n};\nconst $efee2de4d6b3e0fd$var$rcompareIdentifiers = (a, b)=>$efee2de4d6b3e0fd$var$compareIdentifiers(b, a);\nmodule.exports = {\n compareIdentifiers: $efee2de4d6b3e0fd$var$compareIdentifiers,\n rcompareIdentifiers: $efee2de4d6b3e0fd$var$rcompareIdentifiers\n};\n\n});\n\n\nparcelRegister(\"f9eqA\", function(module, exports) {\n\nvar $9xt8b = parcelRequire(\"9xt8b\");\nconst $b072e35be13c49ef$var$parse = (version, options, throwErrors = false)=>{\n if (version instanceof $9xt8b) return version;\n try {\n return new $9xt8b(version, options);\n } catch (er) {\n if (!throwErrors) return null;\n throw er;\n }\n};\nmodule.exports = $b072e35be13c49ef$var$parse;\n\n});\n\nparcelRegister(\"2P6Mr\", function(module, exports) {\n\nvar $f9eqA = parcelRequire(\"f9eqA\");\nconst $20e59aa455f6555d$var$valid = (version, options)=>{\n const v = $f9eqA(version, options);\n return v ? v.version : null;\n};\nmodule.exports = $20e59aa455f6555d$var$valid;\n\n});\n\nparcelRegister(\"c1Zz2\", function(module, exports) {\n\nvar $f9eqA = parcelRequire(\"f9eqA\");\nconst $8c255564514dbed9$var$clean = (version, options)=>{\n const s = $f9eqA(version.trim().replace(/^[=v]+/, \"\"), options);\n return s ? s.version : null;\n};\nmodule.exports = $8c255564514dbed9$var$clean;\n\n});\n\nparcelRegister(\"7fHCw\", function(module, exports) {\n\nvar $9xt8b = parcelRequire(\"9xt8b\");\nconst $547bc53253e1b140$var$inc = (version, release, options, identifier, identifierBase)=>{\n if (typeof options === \"string\") {\n identifierBase = identifier;\n identifier = options;\n options = undefined;\n }\n try {\n return new $9xt8b(version instanceof $9xt8b ? version.version : version, options).inc(release, identifier, identifierBase).version;\n } catch (er) {\n return null;\n }\n};\nmodule.exports = $547bc53253e1b140$var$inc;\n\n});\n\nparcelRegister(\"cxLgj\", function(module, exports) {\n\nvar $f9eqA = parcelRequire(\"f9eqA\");\nconst $921d3a5901154393$var$diff = (version1, version2)=>{\n const v1 = $f9eqA(version1, null, true);\n const v2 = $f9eqA(version2, null, true);\n const comparison = v1.compare(v2);\n if (comparison === 0) return null;\n const v1Higher = comparison > 0;\n const highVersion = v1Higher ? v1 : v2;\n const lowVersion = v1Higher ? v2 : v1;\n const highHasPre = !!highVersion.prerelease.length;\n const lowHasPre = !!lowVersion.prerelease.length;\n if (lowHasPre && !highHasPre) {\n // Going from prerelease -> no prerelease requires some special casing\n // If the low version has only a major, then it will always be a major\n // Some examples:\n // 1.0.0-1 -> 1.0.0\n // 1.0.0-1 -> 1.1.1\n // 1.0.0-1 -> 2.0.0\n if (!lowVersion.patch && !lowVersion.minor) return \"major\";\n // Otherwise it can be determined by checking the high version\n if (highVersion.patch) // anything higher than a patch bump would result in the wrong version\n return \"patch\";\n if (highVersion.minor) // anything higher than a minor bump would result in the wrong version\n return \"minor\";\n // bumping major/minor/patch all have same result\n return \"major\";\n }\n // add the `pre` prefix if we are going to a prerelease version\n const prefix = highHasPre ? \"pre\" : \"\";\n if (v1.major !== v2.major) return prefix + \"major\";\n if (v1.minor !== v2.minor) return prefix + \"minor\";\n if (v1.patch !== v2.patch) return prefix + \"patch\";\n // high and low are preleases\n return \"prerelease\";\n};\nmodule.exports = $921d3a5901154393$var$diff;\n\n});\n\nparcelRegister(\"5vY1y\", function(module, exports) {\n\nvar $9xt8b = parcelRequire(\"9xt8b\");\nconst $403e688bb3d47d22$var$major = (a, loose)=>new $9xt8b(a, loose).major;\nmodule.exports = $403e688bb3d47d22$var$major;\n\n});\n\nparcelRegister(\"i8KHz\", function(module, exports) {\n\nvar $9xt8b = parcelRequire(\"9xt8b\");\nconst $d34d335c81cc80c4$var$minor = (a, loose)=>new $9xt8b(a, loose).minor;\nmodule.exports = $d34d335c81cc80c4$var$minor;\n\n});\n\nparcelRegister(\"1ng3x\", function(module, exports) {\n\nvar $9xt8b = parcelRequire(\"9xt8b\");\nconst $100464d05832c9e2$var$patch = (a, loose)=>new $9xt8b(a, loose).patch;\nmodule.exports = $100464d05832c9e2$var$patch;\n\n});\n\nparcelRegister(\"5G2qo\", function(module, exports) {\n\nvar $f9eqA = parcelRequire(\"f9eqA\");\nconst $4222c18192526798$var$prerelease = (version, options)=>{\n const parsed = $f9eqA(version, options);\n return parsed && parsed.prerelease.length ? parsed.prerelease : null;\n};\nmodule.exports = $4222c18192526798$var$prerelease;\n\n});\n\nparcelRegister(\"lTlut\", function(module, exports) {\n\nvar $9xt8b = parcelRequire(\"9xt8b\");\nconst $feff679b415988e9$var$compare = (a, b, loose)=>new $9xt8b(a, loose).compare(new $9xt8b(b, loose));\nmodule.exports = $feff679b415988e9$var$compare;\n\n});\n\nparcelRegister(\"ljgZo\", function(module, exports) {\n\nvar $lTlut = parcelRequire(\"lTlut\");\nconst $f8388d029db4f4be$var$rcompare = (a, b, loose)=>$lTlut(b, a, loose);\nmodule.exports = $f8388d029db4f4be$var$rcompare;\n\n});\n\nparcelRegister(\"b3Lwg\", function(module, exports) {\n\nvar $lTlut = parcelRequire(\"lTlut\");\nconst $80d4d5ddadb81c86$var$compareLoose = (a, b)=>$lTlut(a, b, true);\nmodule.exports = $80d4d5ddadb81c86$var$compareLoose;\n\n});\n\nparcelRegister(\"3IeBZ\", function(module, exports) {\n\nvar $9xt8b = parcelRequire(\"9xt8b\");\nconst $2b40d0bac8ecbb5d$var$compareBuild = (a, b, loose)=>{\n const versionA = new $9xt8b(a, loose);\n const versionB = new $9xt8b(b, loose);\n return versionA.compare(versionB) || versionA.compareBuild(versionB);\n};\nmodule.exports = $2b40d0bac8ecbb5d$var$compareBuild;\n\n});\n\nparcelRegister(\"a0BIl\", function(module, exports) {\n\nvar $3IeBZ = parcelRequire(\"3IeBZ\");\nconst $749728bd60fb8688$var$sort = (list, loose)=>list.sort((a, b)=>$3IeBZ(a, b, loose));\nmodule.exports = $749728bd60fb8688$var$sort;\n\n});\n\nparcelRegister(\"3oiE6\", function(module, exports) {\n\nvar $3IeBZ = parcelRequire(\"3IeBZ\");\nconst $278213aa9bd6e76a$var$rsort = (list, loose)=>list.sort((a, b)=>$3IeBZ(b, a, loose));\nmodule.exports = $278213aa9bd6e76a$var$rsort;\n\n});\n\nparcelRegister(\"fnAFb\", function(module, exports) {\n\nvar $lTlut = parcelRequire(\"lTlut\");\nconst $b3257190c944ace8$var$gt = (a, b, loose)=>$lTlut(a, b, loose) > 0;\nmodule.exports = $b3257190c944ace8$var$gt;\n\n});\n\nparcelRegister(\"l5VRF\", function(module, exports) {\n\nvar $lTlut = parcelRequire(\"lTlut\");\nconst $f5b6f34e3edec07e$var$lt = (a, b, loose)=>$lTlut(a, b, loose) < 0;\nmodule.exports = $f5b6f34e3edec07e$var$lt;\n\n});\n\nparcelRegister(\"iyupD\", function(module, exports) {\n\nvar $lTlut = parcelRequire(\"lTlut\");\nconst $d822fe46e1c5012c$var$eq = (a, b, loose)=>$lTlut(a, b, loose) === 0;\nmodule.exports = $d822fe46e1c5012c$var$eq;\n\n});\n\nparcelRegister(\"jpXGf\", function(module, exports) {\n\nvar $lTlut = parcelRequire(\"lTlut\");\nconst $e22ea56998d3bfd3$var$neq = (a, b, loose)=>$lTlut(a, b, loose) !== 0;\nmodule.exports = $e22ea56998d3bfd3$var$neq;\n\n});\n\nparcelRegister(\"j157J\", function(module, exports) {\n\nvar $lTlut = parcelRequire(\"lTlut\");\nconst $dd8215c2a1b6c0e9$var$gte = (a, b, loose)=>$lTlut(a, b, loose) >= 0;\nmodule.exports = $dd8215c2a1b6c0e9$var$gte;\n\n});\n\nparcelRegister(\"dMdWX\", function(module, exports) {\n\nvar $lTlut = parcelRequire(\"lTlut\");\nconst $a07a943d93718c7d$var$lte = (a, b, loose)=>$lTlut(a, b, loose) <= 0;\nmodule.exports = $a07a943d93718c7d$var$lte;\n\n});\n\nparcelRegister(\"lLUnh\", function(module, exports) {\n\nvar $iyupD = parcelRequire(\"iyupD\");\n\nvar $jpXGf = parcelRequire(\"jpXGf\");\n\nvar $fnAFb = parcelRequire(\"fnAFb\");\n\nvar $j157J = parcelRequire(\"j157J\");\n\nvar $l5VRF = parcelRequire(\"l5VRF\");\n\nvar $dMdWX = parcelRequire(\"dMdWX\");\nconst $fd99b795001406f6$var$cmp = (a, op, b, loose)=>{\n switch(op){\n case \"===\":\n if (typeof a === \"object\") a = a.version;\n if (typeof b === \"object\") b = b.version;\n return a === b;\n case \"!==\":\n if (typeof a === \"object\") a = a.version;\n if (typeof b === \"object\") b = b.version;\n return a !== b;\n case \"\":\n case \"=\":\n case \"==\":\n return $iyupD(a, b, loose);\n case \"!=\":\n return $jpXGf(a, b, loose);\n case \">\":\n return $fnAFb(a, b, loose);\n case \">=\":\n return $j157J(a, b, loose);\n case \"<\":\n return $l5VRF(a, b, loose);\n case \"<=\":\n return $dMdWX(a, b, loose);\n default:\n throw new TypeError(`Invalid operator: ${op}`);\n }\n};\nmodule.exports = $fd99b795001406f6$var$cmp;\n\n});\n\nparcelRegister(\"e7Yt8\", function(module, exports) {\n\nvar $9xt8b = parcelRequire(\"9xt8b\");\n\nvar $f9eqA = parcelRequire(\"f9eqA\");\n\nvar $jFuIJ = parcelRequire(\"jFuIJ\");\nvar $a490a00159cae644$require$re = $jFuIJ.safeRe;\nvar $a490a00159cae644$require$t = $jFuIJ.t;\nconst $a490a00159cae644$var$coerce = (version, options)=>{\n if (version instanceof $9xt8b) return version;\n if (typeof version === \"number\") version = String(version);\n if (typeof version !== \"string\") return null;\n options = options || {};\n let match = null;\n if (!options.rtl) match = version.match($a490a00159cae644$require$re[$a490a00159cae644$require$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 = $a490a00159cae644$require$re[$a490a00159cae644$require$t.COERCERTL].exec(version)) && (!match || match.index + match[0].length !== version.length)){\n if (!match || next.index + next[0].length !== match.index + match[0].length) match = next;\n $a490a00159cae644$require$re[$a490a00159cae644$require$t.COERCERTL].lastIndex = next.index + next[1].length + next[2].length;\n }\n // leave it in a clean state\n $a490a00159cae644$require$re[$a490a00159cae644$require$t.COERCERTL].lastIndex = -1;\n }\n if (match === null) return null;\n return $f9eqA(`${match[2]}.${match[3] || \"0\"}.${match[4] || \"0\"}`, options);\n};\nmodule.exports = $a490a00159cae644$var$coerce;\n\n});\n\nparcelRegister(\"1SpzP\", function(module, exports) {\nconst $15deaca6846836af$var$ANY = Symbol(\"SemVer ANY\");\n// hoisted class for cyclic dependency\nclass $15deaca6846836af$var$Comparator {\n static get ANY() {\n return $15deaca6846836af$var$ANY;\n }\n constructor(comp, options){\n options = $fdyHv(options);\n if (comp instanceof $15deaca6846836af$var$Comparator) {\n if (comp.loose === !!options.loose) return comp;\n else comp = comp.value;\n }\n comp = comp.trim().split(/\\s+/).join(\" \");\n $iYRiQ(\"comparator\", comp, options);\n this.options = options;\n this.loose = !!options.loose;\n this.parse(comp);\n if (this.semver === $15deaca6846836af$var$ANY) this.value = \"\";\n else this.value = this.operator + this.semver.version;\n $iYRiQ(\"comp\", this);\n }\n parse(comp) {\n const r = this.options.loose ? $15deaca6846836af$require$re[$15deaca6846836af$require$t.COMPARATORLOOSE] : $15deaca6846836af$require$re[$15deaca6846836af$require$t.COMPARATOR];\n const m = comp.match(r);\n if (!m) throw new TypeError(`Invalid comparator: ${comp}`);\n this.operator = m[1] !== undefined ? m[1] : \"\";\n if (this.operator === \"=\") this.operator = \"\";\n // if it literally is just '>' or '' then allow anything.\n if (!m[2]) this.semver = $15deaca6846836af$var$ANY;\n else this.semver = new $9xt8b(m[2], this.options.loose);\n }\n toString() {\n return this.value;\n }\n test(version) {\n $iYRiQ(\"Comparator.test\", version, this.options.loose);\n if (this.semver === $15deaca6846836af$var$ANY || version === $15deaca6846836af$var$ANY) return true;\n if (typeof version === \"string\") try {\n version = new $9xt8b(version, this.options);\n } catch (er) {\n return false;\n }\n return $lLUnh(version, this.operator, this.semver, this.options);\n }\n intersects(comp, options) {\n if (!(comp instanceof $15deaca6846836af$var$Comparator)) throw new TypeError(\"a Comparator is required\");\n if (this.operator === \"\") {\n if (this.value === \"\") return true;\n return new $f3aPP(comp.value, options).test(this.value);\n } else if (comp.operator === \"\") {\n if (comp.value === \"\") return true;\n return new $f3aPP(this.value, options).test(comp.semver);\n }\n options = $fdyHv(options);\n // Special cases where nothing can possibly be lower\n if (options.includePrerelease && (this.value === \"<0.0.0-0\" || comp.value === \"<0.0.0-0\")) return false;\n if (!options.includePrerelease && (this.value.startsWith(\"<0.0.0\") || comp.value.startsWith(\"<0.0.0\"))) return false;\n // Same direction increasing (> or >=)\n if (this.operator.startsWith(\">\") && comp.operator.startsWith(\">\")) return true;\n // Same direction decreasing (< or <=)\n if (this.operator.startsWith(\"<\") && comp.operator.startsWith(\"<\")) return true;\n // same SemVer and both sides are inclusive (<= or >=)\n if (this.semver.version === comp.semver.version && this.operator.includes(\"=\") && comp.operator.includes(\"=\")) return true;\n // opposite directions less than\n if ($lLUnh(this.semver, \"<\", comp.semver, options) && this.operator.startsWith(\">\") && comp.operator.startsWith(\"<\")) return true;\n // opposite directions greater than\n if ($lLUnh(this.semver, \">\", comp.semver, options) && this.operator.startsWith(\"<\") && comp.operator.startsWith(\">\")) return true;\n return false;\n }\n}\nmodule.exports = $15deaca6846836af$var$Comparator;\n\nvar $fdyHv = parcelRequire(\"fdyHv\");\n\nvar $jFuIJ = parcelRequire(\"jFuIJ\");\nvar $15deaca6846836af$require$re = $jFuIJ.safeRe;\nvar $15deaca6846836af$require$t = $jFuIJ.t;\n\nvar $lLUnh = parcelRequire(\"lLUnh\");\n\nvar $iYRiQ = parcelRequire(\"iYRiQ\");\n\nvar $9xt8b = parcelRequire(\"9xt8b\");\n\nvar $f3aPP = parcelRequire(\"f3aPP\");\n\n});\nparcelRegister(\"f3aPP\", function(module, exports) {\n// hoisted class for cyclic dependency\nclass $af4f8a698b5d32bc$var$Range {\n constructor(range, options){\n options = $fdyHv(options);\n if (range instanceof $af4f8a698b5d32bc$var$Range) {\n if (range.loose === !!options.loose && range.includePrerelease === !!options.includePrerelease) return range;\n else return new $af4f8a698b5d32bc$var$Range(range.raw, options);\n }\n if (range instanceof $1SpzP) {\n // just put it in the set and return\n this.raw = range.value;\n this.set = [\n [\n range\n ]\n ];\n this.format();\n return this;\n }\n this.options = options;\n this.loose = !!options.loose;\n this.includePrerelease = !!options.includePrerelease;\n // First reduce all whitespace as much as possible so we do not have to rely\n // on potentially slow regexes like \\s*. This is then stored and used for\n // future error messages as well.\n this.raw = range.trim().split(/\\s+/).join(\" \");\n // First, split on ||\n this.set = this.raw.split(\"||\")// map the range to a 2d array of comparators\n .map((r)=>this.parseRange(r.trim()))// 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 if (!this.set.length) throw new TypeError(`Invalid SemVer Range: ${this.raw}`);\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)=>!$af4f8a698b5d32bc$var$isNullSet(c[0]));\n if (this.set.length === 0) this.set = [\n first\n ];\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)if (c.length === 1 && $af4f8a698b5d32bc$var$isAny(c[0])) {\n this.set = [\n c\n ];\n break;\n }\n }\n }\n this.format();\n }\n format() {\n this.range = this.set.map((comps)=>comps.join(\" \").trim()).join(\"||\").trim();\n return this.range;\n }\n toString() {\n return this.range;\n }\n parseRange(range) {\n // memoize range parsing for performance.\n // this is a very hot path, and fully deterministic.\n const memoOpts = (this.options.includePrerelease && $af4f8a698b5d32bc$require$FLAG_INCLUDE_PRERELEASE) | (this.options.loose && $af4f8a698b5d32bc$require$FLAG_LOOSE);\n const memoKey = memoOpts + \":\" + range;\n const cached = $af4f8a698b5d32bc$var$cache.get(memoKey);\n if (cached) return cached;\n const loose = this.options.loose;\n // `1.2.3 - 1.2.4` => `>=1.2.3 <=1.2.4`\n const hr = loose ? $af4f8a698b5d32bc$require$re[$af4f8a698b5d32bc$require$t.HYPHENRANGELOOSE] : $af4f8a698b5d32bc$require$re[$af4f8a698b5d32bc$require$t.HYPHENRANGE];\n range = range.replace(hr, $af4f8a698b5d32bc$var$hyphenReplace(this.options.includePrerelease));\n $iYRiQ(\"hyphen replace\", range);\n // `> 1.2.3 < 1.2.5` => `>1.2.3 <1.2.5`\n range = range.replace($af4f8a698b5d32bc$require$re[$af4f8a698b5d32bc$require$t.COMPARATORTRIM], $af4f8a698b5d32bc$require$comparatorTrimReplace);\n $iYRiQ(\"comparator trim\", range);\n // `~ 1.2.3` => `~1.2.3`\n range = range.replace($af4f8a698b5d32bc$require$re[$af4f8a698b5d32bc$require$t.TILDETRIM], $af4f8a698b5d32bc$require$tildeTrimReplace);\n $iYRiQ(\"tilde trim\", range);\n // `^ 1.2.3` => `^1.2.3`\n range = range.replace($af4f8a698b5d32bc$require$re[$af4f8a698b5d32bc$require$t.CARETTRIM], $af4f8a698b5d32bc$require$caretTrimReplace);\n $iYRiQ(\"caret trim\", range);\n // At this point, the range is completely trimmed and\n // ready to be split into comparators.\n let rangeList = range.split(\" \").map((comp)=>$af4f8a698b5d32bc$var$parseComparator(comp, this.options)).join(\" \").split(/\\s+/)// >=0.0.0 is equivalent to *\n .map((comp)=>$af4f8a698b5d32bc$var$replaceGTE0(comp, this.options));\n if (loose) // in loose mode, throw out any that are not valid comparators\n rangeList = rangeList.filter((comp)=>{\n $iYRiQ(\"loose invalid filter\", comp, this.options);\n return !!comp.match($af4f8a698b5d32bc$require$re[$af4f8a698b5d32bc$require$t.COMPARATORLOOSE]);\n });\n $iYRiQ(\"range list\", rangeList);\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 $1SpzP(comp, this.options));\n for (const comp of comparators){\n if ($af4f8a698b5d32bc$var$isNullSet(comp)) return [\n comp\n ];\n rangeMap.set(comp.value, comp);\n }\n if (rangeMap.size > 1 && rangeMap.has(\"\")) rangeMap.delete(\"\");\n const result = [\n ...rangeMap.values()\n ];\n $af4f8a698b5d32bc$var$cache.set(memoKey, result);\n return result;\n }\n intersects(range, options) {\n if (!(range instanceof $af4f8a698b5d32bc$var$Range)) throw new TypeError(\"a Range is required\");\n return this.set.some((thisComparators)=>{\n return $af4f8a698b5d32bc$var$isSatisfiable(thisComparators, options) && range.set.some((rangeComparators)=>{\n return $af4f8a698b5d32bc$var$isSatisfiable(rangeComparators, options) && thisComparators.every((thisComparator)=>{\n return rangeComparators.every((rangeComparator)=>{\n return thisComparator.intersects(rangeComparator, options);\n });\n });\n });\n });\n }\n // if ANY of the sets match ALL of its comparators, then pass\n test(version) {\n if (!version) return false;\n if (typeof version === \"string\") try {\n version = new $9xt8b(version, this.options);\n } catch (er) {\n return false;\n }\n for(let i = 0; i < this.set.length; i++){\n if ($af4f8a698b5d32bc$var$testSet(this.set[i], version, this.options)) return true;\n }\n return false;\n }\n}\nmodule.exports = $af4f8a698b5d32bc$var$Range;\n\nvar $kGtOU = parcelRequire(\"kGtOU\");\nconst $af4f8a698b5d32bc$var$cache = new $kGtOU({\n max: 1000\n});\n\nvar $fdyHv = parcelRequire(\"fdyHv\");\n\nvar $1SpzP = parcelRequire(\"1SpzP\");\n\nvar $iYRiQ = parcelRequire(\"iYRiQ\");\n\nvar $9xt8b = parcelRequire(\"9xt8b\");\n\nvar $jFuIJ = parcelRequire(\"jFuIJ\");\nvar $af4f8a698b5d32bc$require$re = $jFuIJ.safeRe;\nvar $af4f8a698b5d32bc$require$t = $jFuIJ.t;\nvar $af4f8a698b5d32bc$require$comparatorTrimReplace = $jFuIJ.comparatorTrimReplace;\nvar $af4f8a698b5d32bc$require$tildeTrimReplace = $jFuIJ.tildeTrimReplace;\nvar $af4f8a698b5d32bc$require$caretTrimReplace = $jFuIJ.caretTrimReplace;\n\nvar $h0FDO = parcelRequire(\"h0FDO\");\nvar $af4f8a698b5d32bc$require$FLAG_INCLUDE_PRERELEASE = $h0FDO.FLAG_INCLUDE_PRERELEASE;\nvar $af4f8a698b5d32bc$require$FLAG_LOOSE = $h0FDO.FLAG_LOOSE;\nconst $af4f8a698b5d32bc$var$isNullSet = (c)=>c.value === \"<0.0.0-0\";\nconst $af4f8a698b5d32bc$var$isAny = (c)=>c.value === \"\";\n// take a set of comparators and determine whether there\n// exists a version which can satisfy it\nconst $af4f8a698b5d32bc$var$isSatisfiable = (comparators, options)=>{\n let result = true;\n const remainingComparators = comparators.slice();\n let testComparator = remainingComparators.pop();\n while(result && remainingComparators.length){\n result = remainingComparators.every((otherComparator)=>{\n return testComparator.intersects(otherComparator, options);\n });\n testComparator = remainingComparators.pop();\n }\n return result;\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 $af4f8a698b5d32bc$var$parseComparator = (comp, options)=>{\n $iYRiQ(\"comp\", comp, options);\n comp = $af4f8a698b5d32bc$var$replaceCarets(comp, options);\n $iYRiQ(\"caret\", comp);\n comp = $af4f8a698b5d32bc$var$replaceTildes(comp, options);\n $iYRiQ(\"tildes\", comp);\n comp = $af4f8a698b5d32bc$var$replaceXRanges(comp, options);\n $iYRiQ(\"xrange\", comp);\n comp = $af4f8a698b5d32bc$var$replaceStars(comp, options);\n $iYRiQ(\"stars\", comp);\n return comp;\n};\nconst $af4f8a698b5d32bc$var$isX = (id)=>!id || id.toLowerCase() === \"x\" || id === \"*\";\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\n// ~0.0.1 --> >=0.0.1 <0.1.0-0\nconst $af4f8a698b5d32bc$var$replaceTildes = (comp, options)=>{\n return comp.trim().split(/\\s+/).map((c)=>$af4f8a698b5d32bc$var$replaceTilde(c, options)).join(\" \");\n};\nconst $af4f8a698b5d32bc$var$replaceTilde = (comp, options)=>{\n const r = options.loose ? $af4f8a698b5d32bc$require$re[$af4f8a698b5d32bc$require$t.TILDELOOSE] : $af4f8a698b5d32bc$require$re[$af4f8a698b5d32bc$require$t.TILDE];\n return comp.replace(r, (_, M, m, p, pr)=>{\n $iYRiQ(\"tilde\", comp, _, M, m, p, pr);\n let ret;\n if ($af4f8a698b5d32bc$var$isX(M)) ret = \"\";\n else if ($af4f8a698b5d32bc$var$isX(m)) ret = `>=${M}.0.0 <${+M + 1}.0.0-0`;\n else if ($af4f8a698b5d32bc$var$isX(p)) // ~1.2 == >=1.2.0 <1.3.0-0\n ret = `>=${M}.${m}.0 <${M}.${+m + 1}.0-0`;\n else if (pr) {\n $iYRiQ(\"replaceTilde pr\", pr);\n ret = `>=${M}.${m}.${p}-${pr} <${M}.${+m + 1}.0-0`;\n } else // ~1.2.3 == >=1.2.3 <1.3.0-0\n ret = `>=${M}.${m}.${p} <${M}.${+m + 1}.0-0`;\n $iYRiQ(\"tilde return\", ret);\n return ret;\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\n// ^0.0.1 --> >=0.0.1 <0.0.2-0\n// ^0.1.0 --> >=0.1.0 <0.2.0-0\nconst $af4f8a698b5d32bc$var$replaceCarets = (comp, options)=>{\n return comp.trim().split(/\\s+/).map((c)=>$af4f8a698b5d32bc$var$replaceCaret(c, options)).join(\" \");\n};\nconst $af4f8a698b5d32bc$var$replaceCaret = (comp, options)=>{\n $iYRiQ(\"caret\", comp, options);\n const r = options.loose ? $af4f8a698b5d32bc$require$re[$af4f8a698b5d32bc$require$t.CARETLOOSE] : $af4f8a698b5d32bc$require$re[$af4f8a698b5d32bc$require$t.CARET];\n const z = options.includePrerelease ? \"-0\" : \"\";\n return comp.replace(r, (_, M, m, p, pr)=>{\n $iYRiQ(\"caret\", comp, _, M, m, p, pr);\n let ret;\n if ($af4f8a698b5d32bc$var$isX(M)) ret = \"\";\n else if ($af4f8a698b5d32bc$var$isX(m)) ret = `>=${M}.0.0${z} <${+M + 1}.0.0-0`;\n else if ($af4f8a698b5d32bc$var$isX(p)) {\n if (M === \"0\") ret = `>=${M}.${m}.0${z} <${M}.${+m + 1}.0-0`;\n else ret = `>=${M}.${m}.0${z} <${+M + 1}.0.0-0`;\n } else if (pr) {\n $iYRiQ(\"replaceCaret pr\", pr);\n if (M === \"0\") {\n if (m === \"0\") ret = `>=${M}.${m}.${p}-${pr} <${M}.${m}.${+p + 1}-0`;\n else ret = `>=${M}.${m}.${p}-${pr} <${M}.${+m + 1}.0-0`;\n } else ret = `>=${M}.${m}.${p}-${pr} <${+M + 1}.0.0-0`;\n } else {\n $iYRiQ(\"no pr\");\n if (M === \"0\") {\n if (m === \"0\") ret = `>=${M}.${m}.${p}${z} <${M}.${m}.${+p + 1}-0`;\n else ret = `>=${M}.${m}.${p}${z} <${M}.${+m + 1}.0-0`;\n } else ret = `>=${M}.${m}.${p} <${+M + 1}.0.0-0`;\n }\n $iYRiQ(\"caret return\", ret);\n return ret;\n });\n};\nconst $af4f8a698b5d32bc$var$replaceXRanges = (comp, options)=>{\n $iYRiQ(\"replaceXRanges\", comp, options);\n return comp.split(/\\s+/).map((c)=>$af4f8a698b5d32bc$var$replaceXRange(c, options)).join(\" \");\n};\nconst $af4f8a698b5d32bc$var$replaceXRange = (comp, options)=>{\n comp = comp.trim();\n const r = options.loose ? $af4f8a698b5d32bc$require$re[$af4f8a698b5d32bc$require$t.XRANGELOOSE] : $af4f8a698b5d32bc$require$re[$af4f8a698b5d32bc$require$t.XRANGE];\n return comp.replace(r, (ret, gtlt, M, m, p, pr)=>{\n $iYRiQ(\"xRange\", comp, ret, gtlt, M, m, p, pr);\n const xM = $af4f8a698b5d32bc$var$isX(M);\n const xm = xM || $af4f8a698b5d32bc$var$isX(m);\n const xp = xm || $af4f8a698b5d32bc$var$isX(p);\n const anyX = xp;\n if (gtlt === \"=\" && anyX) gtlt = \"\";\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 if (xM) {\n if (gtlt === \">\" || gtlt === \"<\") // nothing is allowed\n ret = \"<0.0.0-0\";\n else // nothing is forbidden\n ret = \"*\";\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) m = 0;\n p = 0;\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) M = +M + 1;\n else m = +m + 1;\n }\n if (gtlt === \"<\") pr = \"-0\";\n ret = `${gtlt + M}.${m}.${p}${pr}`;\n } else if (xm) ret = `>=${M}.0.0${pr} <${+M + 1}.0.0-0`;\n else if (xp) ret = `>=${M}.${m}.0${pr} <${M}.${+m + 1}.0-0`;\n $iYRiQ(\"xRange return\", ret);\n return ret;\n });\n};\n// Because * is AND-ed with everything else in the comparator,\n// and '' means \"any version\", just remove the *s entirely.\nconst $af4f8a698b5d32bc$var$replaceStars = (comp, options)=>{\n $iYRiQ(\"replaceStars\", comp, options);\n // Looseness is ignored here. star is always as loose as it gets!\n return comp.trim().replace($af4f8a698b5d32bc$require$re[$af4f8a698b5d32bc$require$t.STAR], \"\");\n};\nconst $af4f8a698b5d32bc$var$replaceGTE0 = (comp, options)=>{\n $iYRiQ(\"replaceGTE0\", comp, options);\n return comp.trim().replace($af4f8a698b5d32bc$require$re[options.includePrerelease ? $af4f8a698b5d32bc$require$t.GTE0PRE : $af4f8a698b5d32bc$require$t.GTE0], \"\");\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 $af4f8a698b5d32bc$var$hyphenReplace = (incPr)=>($0, from, fM, fm, fp, fpr, fb, to, tM, tm, tp, tpr, tb)=>{\n if ($af4f8a698b5d32bc$var$isX(fM)) from = \"\";\n else if ($af4f8a698b5d32bc$var$isX(fm)) from = `>=${fM}.0.0${incPr ? \"-0\" : \"\"}`;\n else if ($af4f8a698b5d32bc$var$isX(fp)) from = `>=${fM}.${fm}.0${incPr ? \"-0\" : \"\"}`;\n else if (fpr) from = `>=${from}`;\n else from = `>=${from}${incPr ? \"-0\" : \"\"}`;\n if ($af4f8a698b5d32bc$var$isX(tM)) to = \"\";\n else if ($af4f8a698b5d32bc$var$isX(tm)) to = `<${+tM + 1}.0.0-0`;\n else if ($af4f8a698b5d32bc$var$isX(tp)) to = `<${tM}.${+tm + 1}.0-0`;\n else if (tpr) to = `<=${tM}.${tm}.${tp}-${tpr}`;\n else if (incPr) to = `<${tM}.${tm}.${+tp + 1}-0`;\n else to = `<=${to}`;\n return `${from} ${to}`.trim();\n };\nconst $af4f8a698b5d32bc$var$testSet = (set, version, options)=>{\n for(let i = 0; i < set.length; i++){\n if (!set[i].test(version)) return false;\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 $iYRiQ(set[i].semver);\n if (set[i].semver === $1SpzP.ANY) continue;\n if (set[i].semver.prerelease.length > 0) {\n const allowed = set[i].semver;\n if (allowed.major === version.major && allowed.minor === version.minor && allowed.patch === version.patch) return true;\n }\n }\n // Version has a -pre, but it's not one of the ones we like.\n return false;\n }\n return true;\n};\n\n});\nparcelRegister(\"kGtOU\", function(module, exports) {\n\"use strict\";\n\nvar $ezUiL = parcelRequire(\"ezUiL\");\nconst $f0eedc89c1a085cf$var$MAX = Symbol(\"max\");\nconst $f0eedc89c1a085cf$var$LENGTH = Symbol(\"length\");\nconst $f0eedc89c1a085cf$var$LENGTH_CALCULATOR = Symbol(\"lengthCalculator\");\nconst $f0eedc89c1a085cf$var$ALLOW_STALE = Symbol(\"allowStale\");\nconst $f0eedc89c1a085cf$var$MAX_AGE = Symbol(\"maxAge\");\nconst $f0eedc89c1a085cf$var$DISPOSE = Symbol(\"dispose\");\nconst $f0eedc89c1a085cf$var$NO_DISPOSE_ON_SET = Symbol(\"noDisposeOnSet\");\nconst $f0eedc89c1a085cf$var$LRU_LIST = Symbol(\"lruList\");\nconst $f0eedc89c1a085cf$var$CACHE = Symbol(\"cache\");\nconst $f0eedc89c1a085cf$var$UPDATE_AGE_ON_GET = Symbol(\"updateAgeOnGet\");\nconst $f0eedc89c1a085cf$var$naiveLength = ()=>1;\n// lruList is a yallist where the head is the youngest\n// item, and the tail is the oldest. the list contains the Hit\n// objects as the entries.\n// Each Hit object has a reference to its Yallist.Node. This\n// never changes.\n//\n// cache is a Map (or PseudoMap) that matches the keys to\n// the Yallist.Node object.\nclass $f0eedc89c1a085cf$var$LRUCache {\n constructor(options){\n if (typeof options === \"number\") options = {\n max: options\n };\n if (!options) options = {};\n if (options.max && (typeof options.max !== \"number\" || options.max < 0)) throw new TypeError(\"max must be a non-negative number\");\n // Kind of weird to have a default max of Infinity, but oh well.\n const max = this[$f0eedc89c1a085cf$var$MAX] = options.max || Infinity;\n const lc = options.length || $f0eedc89c1a085cf$var$naiveLength;\n this[$f0eedc89c1a085cf$var$LENGTH_CALCULATOR] = typeof lc !== \"function\" ? $f0eedc89c1a085cf$var$naiveLength : lc;\n this[$f0eedc89c1a085cf$var$ALLOW_STALE] = options.stale || false;\n if (options.maxAge && typeof options.maxAge !== \"number\") throw new TypeError(\"maxAge must be a number\");\n this[$f0eedc89c1a085cf$var$MAX_AGE] = options.maxAge || 0;\n this[$f0eedc89c1a085cf$var$DISPOSE] = options.dispose;\n this[$f0eedc89c1a085cf$var$NO_DISPOSE_ON_SET] = options.noDisposeOnSet || false;\n this[$f0eedc89c1a085cf$var$UPDATE_AGE_ON_GET] = options.updateAgeOnGet || false;\n this.reset();\n }\n // resize the cache when the max changes.\n set max(mL) {\n if (typeof mL !== \"number\" || mL < 0) throw new TypeError(\"max must be a non-negative number\");\n this[$f0eedc89c1a085cf$var$MAX] = mL || Infinity;\n $f0eedc89c1a085cf$var$trim(this);\n }\n get max() {\n return this[$f0eedc89c1a085cf$var$MAX];\n }\n set allowStale(allowStale) {\n this[$f0eedc89c1a085cf$var$ALLOW_STALE] = !!allowStale;\n }\n get allowStale() {\n return this[$f0eedc89c1a085cf$var$ALLOW_STALE];\n }\n set maxAge(mA) {\n if (typeof mA !== \"number\") throw new TypeError(\"maxAge must be a non-negative number\");\n this[$f0eedc89c1a085cf$var$MAX_AGE] = mA;\n $f0eedc89c1a085cf$var$trim(this);\n }\n get maxAge() {\n return this[$f0eedc89c1a085cf$var$MAX_AGE];\n }\n // resize the cache when the lengthCalculator changes.\n set lengthCalculator(lC) {\n if (typeof lC !== \"function\") lC = $f0eedc89c1a085cf$var$naiveLength;\n if (lC !== this[$f0eedc89c1a085cf$var$LENGTH_CALCULATOR]) {\n this[$f0eedc89c1a085cf$var$LENGTH_CALCULATOR] = lC;\n this[$f0eedc89c1a085cf$var$LENGTH] = 0;\n this[$f0eedc89c1a085cf$var$LRU_LIST].forEach((hit)=>{\n hit.length = this[$f0eedc89c1a085cf$var$LENGTH_CALCULATOR](hit.value, hit.key);\n this[$f0eedc89c1a085cf$var$LENGTH] += hit.length;\n });\n }\n $f0eedc89c1a085cf$var$trim(this);\n }\n get lengthCalculator() {\n return this[$f0eedc89c1a085cf$var$LENGTH_CALCULATOR];\n }\n get length() {\n return this[$f0eedc89c1a085cf$var$LENGTH];\n }\n get itemCount() {\n return this[$f0eedc89c1a085cf$var$LRU_LIST].length;\n }\n rforEach(fn, thisp) {\n thisp = thisp || this;\n for(let walker = this[$f0eedc89c1a085cf$var$LRU_LIST].tail; walker !== null;){\n const prev = walker.prev;\n $f0eedc89c1a085cf$var$forEachStep(this, fn, walker, thisp);\n walker = prev;\n }\n }\n forEach(fn, thisp) {\n thisp = thisp || this;\n for(let walker = this[$f0eedc89c1a085cf$var$LRU_LIST].head; walker !== null;){\n const next = walker.next;\n $f0eedc89c1a085cf$var$forEachStep(this, fn, walker, thisp);\n walker = next;\n }\n }\n keys() {\n return this[$f0eedc89c1a085cf$var$LRU_LIST].toArray().map((k)=>k.key);\n }\n values() {\n return this[$f0eedc89c1a085cf$var$LRU_LIST].toArray().map((k)=>k.value);\n }\n reset() {\n if (this[$f0eedc89c1a085cf$var$DISPOSE] && this[$f0eedc89c1a085cf$var$LRU_LIST] && this[$f0eedc89c1a085cf$var$LRU_LIST].length) this[$f0eedc89c1a085cf$var$LRU_LIST].forEach((hit)=>this[$f0eedc89c1a085cf$var$DISPOSE](hit.key, hit.value));\n this[$f0eedc89c1a085cf$var$CACHE] = new Map() // hash of items by key\n ;\n this[$f0eedc89c1a085cf$var$LRU_LIST] = new $ezUiL() // list of items in order of use recency\n ;\n this[$f0eedc89c1a085cf$var$LENGTH] = 0 // length of items in the list\n ;\n }\n dump() {\n return this[$f0eedc89c1a085cf$var$LRU_LIST].map((hit)=>$f0eedc89c1a085cf$var$isStale(this, hit) ? false : {\n k: hit.key,\n v: hit.value,\n e: hit.now + (hit.maxAge || 0)\n }).toArray().filter((h)=>h);\n }\n dumpLru() {\n return this[$f0eedc89c1a085cf$var$LRU_LIST];\n }\n set(key, value, maxAge) {\n maxAge = maxAge || this[$f0eedc89c1a085cf$var$MAX_AGE];\n if (maxAge && typeof maxAge !== \"number\") throw new TypeError(\"maxAge must be a number\");\n const now = maxAge ? Date.now() : 0;\n const len = this[$f0eedc89c1a085cf$var$LENGTH_CALCULATOR](value, key);\n if (this[$f0eedc89c1a085cf$var$CACHE].has(key)) {\n if (len > this[$f0eedc89c1a085cf$var$MAX]) {\n $f0eedc89c1a085cf$var$del(this, this[$f0eedc89c1a085cf$var$CACHE].get(key));\n return false;\n }\n const node = this[$f0eedc89c1a085cf$var$CACHE].get(key);\n const item = node.value;\n // dispose of the old one before overwriting\n // split out into 2 ifs for better coverage tracking\n if (this[$f0eedc89c1a085cf$var$DISPOSE]) {\n if (!this[$f0eedc89c1a085cf$var$NO_DISPOSE_ON_SET]) this[$f0eedc89c1a085cf$var$DISPOSE](key, item.value);\n }\n item.now = now;\n item.maxAge = maxAge;\n item.value = value;\n this[$f0eedc89c1a085cf$var$LENGTH] += len - item.length;\n item.length = len;\n this.get(key);\n $f0eedc89c1a085cf$var$trim(this);\n return true;\n }\n const hit = new $f0eedc89c1a085cf$var$Entry(key, value, len, now, maxAge);\n // oversized objects fall out of cache automatically.\n if (hit.length > this[$f0eedc89c1a085cf$var$MAX]) {\n if (this[$f0eedc89c1a085cf$var$DISPOSE]) this[$f0eedc89c1a085cf$var$DISPOSE](key, value);\n return false;\n }\n this[$f0eedc89c1a085cf$var$LENGTH] += hit.length;\n this[$f0eedc89c1a085cf$var$LRU_LIST].unshift(hit);\n this[$f0eedc89c1a085cf$var$CACHE].set(key, this[$f0eedc89c1a085cf$var$LRU_LIST].head);\n $f0eedc89c1a085cf$var$trim(this);\n return true;\n }\n has(key) {\n if (!this[$f0eedc89c1a085cf$var$CACHE].has(key)) return false;\n const hit = this[$f0eedc89c1a085cf$var$CACHE].get(key).value;\n return !$f0eedc89c1a085cf$var$isStale(this, hit);\n }\n get(key) {\n return $f0eedc89c1a085cf$var$get(this, key, true);\n }\n peek(key) {\n return $f0eedc89c1a085cf$var$get(this, key, false);\n }\n pop() {\n const node = this[$f0eedc89c1a085cf$var$LRU_LIST].tail;\n if (!node) return null;\n $f0eedc89c1a085cf$var$del(this, node);\n return node.value;\n }\n del(key) {\n $f0eedc89c1a085cf$var$del(this, this[$f0eedc89c1a085cf$var$CACHE].get(key));\n }\n load(arr) {\n // reset the cache\n this.reset();\n const now = Date.now();\n // A previous serialized cache has the most recent items first\n for(let l = arr.length - 1; l >= 0; l--){\n const hit = arr[l];\n const expiresAt = hit.e || 0;\n if (expiresAt === 0) // the item was created without expiration in a non aged cache\n this.set(hit.k, hit.v);\n else {\n const maxAge = expiresAt - now;\n // dont add already expired items\n if (maxAge > 0) this.set(hit.k, hit.v, maxAge);\n }\n }\n }\n prune() {\n this[$f0eedc89c1a085cf$var$CACHE].forEach((value, key)=>$f0eedc89c1a085cf$var$get(this, key, false));\n }\n}\nconst $f0eedc89c1a085cf$var$get = (self, key, doUse)=>{\n const node = self[$f0eedc89c1a085cf$var$CACHE].get(key);\n if (node) {\n const hit = node.value;\n if ($f0eedc89c1a085cf$var$isStale(self, hit)) {\n $f0eedc89c1a085cf$var$del(self, node);\n if (!self[$f0eedc89c1a085cf$var$ALLOW_STALE]) return undefined;\n } else if (doUse) {\n if (self[$f0eedc89c1a085cf$var$UPDATE_AGE_ON_GET]) node.value.now = Date.now();\n self[$f0eedc89c1a085cf$var$LRU_LIST].unshiftNode(node);\n }\n return hit.value;\n }\n};\nconst $f0eedc89c1a085cf$var$isStale = (self, hit)=>{\n if (!hit || !hit.maxAge && !self[$f0eedc89c1a085cf$var$MAX_AGE]) return false;\n const diff = Date.now() - hit.now;\n return hit.maxAge ? diff > hit.maxAge : self[$f0eedc89c1a085cf$var$MAX_AGE] && diff > self[$f0eedc89c1a085cf$var$MAX_AGE];\n};\nconst $f0eedc89c1a085cf$var$trim = (self)=>{\n if (self[$f0eedc89c1a085cf$var$LENGTH] > self[$f0eedc89c1a085cf$var$MAX]) for(let walker = self[$f0eedc89c1a085cf$var$LRU_LIST].tail; self[$f0eedc89c1a085cf$var$LENGTH] > self[$f0eedc89c1a085cf$var$MAX] && walker !== null;){\n // We know that we're about to delete this one, and also\n // what the next least recently used key will be, so just\n // go ahead and set it now.\n const prev = walker.prev;\n $f0eedc89c1a085cf$var$del(self, walker);\n walker = prev;\n }\n};\nconst $f0eedc89c1a085cf$var$del = (self, node)=>{\n if (node) {\n const hit = node.value;\n if (self[$f0eedc89c1a085cf$var$DISPOSE]) self[$f0eedc89c1a085cf$var$DISPOSE](hit.key, hit.value);\n self[$f0eedc89c1a085cf$var$LENGTH] -= hit.length;\n self[$f0eedc89c1a085cf$var$CACHE].delete(hit.key);\n self[$f0eedc89c1a085cf$var$LRU_LIST].removeNode(node);\n }\n};\nclass $f0eedc89c1a085cf$var$Entry {\n constructor(key, value, length, now, maxAge){\n this.key = key;\n this.value = value;\n this.length = length;\n this.now = now;\n this.maxAge = maxAge || 0;\n }\n}\nconst $f0eedc89c1a085cf$var$forEachStep = (self, fn, node, thisp)=>{\n let hit = node.value;\n if ($f0eedc89c1a085cf$var$isStale(self, hit)) {\n $f0eedc89c1a085cf$var$del(self, node);\n if (!self[$f0eedc89c1a085cf$var$ALLOW_STALE]) hit = undefined;\n }\n if (hit) fn.call(thisp, hit.value, hit.key, self);\n};\nmodule.exports = $f0eedc89c1a085cf$var$LRUCache;\n\n});\nparcelRegister(\"ezUiL\", function(module, exports) {\n\"use strict\";\nmodule.exports = $a9d001e33f7b996c$var$Yallist;\n$a9d001e33f7b996c$var$Yallist.Node = $a9d001e33f7b996c$var$Node;\n$a9d001e33f7b996c$var$Yallist.create = $a9d001e33f7b996c$var$Yallist;\nfunction $a9d001e33f7b996c$var$Yallist(list) {\n var self = this;\n if (!(self instanceof $a9d001e33f7b996c$var$Yallist)) self = new $a9d001e33f7b996c$var$Yallist();\n self.tail = null;\n self.head = null;\n self.length = 0;\n if (list && typeof list.forEach === \"function\") list.forEach(function(item) {\n self.push(item);\n });\n else if (arguments.length > 0) for(var i = 0, l = arguments.length; i < l; i++)self.push(arguments[i]);\n return self;\n}\n$a9d001e33f7b996c$var$Yallist.prototype.removeNode = function(node) {\n if (node.list !== this) throw new Error(\"removing node which does not belong to this list\");\n var next = node.next;\n var prev = node.prev;\n if (next) next.prev = prev;\n if (prev) prev.next = next;\n if (node === this.head) this.head = next;\n if (node === this.tail) this.tail = prev;\n node.list.length--;\n node.next = null;\n node.prev = null;\n node.list = null;\n return next;\n};\n$a9d001e33f7b996c$var$Yallist.prototype.unshiftNode = function(node) {\n if (node === this.head) return;\n if (node.list) node.list.removeNode(node);\n var head = this.head;\n node.list = this;\n node.next = head;\n if (head) head.prev = node;\n this.head = node;\n if (!this.tail) this.tail = node;\n this.length++;\n};\n$a9d001e33f7b996c$var$Yallist.prototype.pushNode = function(node) {\n if (node === this.tail) return;\n if (node.list) node.list.removeNode(node);\n var tail = this.tail;\n node.list = this;\n node.prev = tail;\n if (tail) tail.next = node;\n this.tail = node;\n if (!this.head) this.head = node;\n this.length++;\n};\n$a9d001e33f7b996c$var$Yallist.prototype.push = function() {\n for(var i = 0, l = arguments.length; i < l; i++)$a9d001e33f7b996c$var$push(this, arguments[i]);\n return this.length;\n};\n$a9d001e33f7b996c$var$Yallist.prototype.unshift = function() {\n for(var i = 0, l = arguments.length; i < l; i++)$a9d001e33f7b996c$var$unshift(this, arguments[i]);\n return this.length;\n};\n$a9d001e33f7b996c$var$Yallist.prototype.pop = function() {\n if (!this.tail) return undefined;\n var res = this.tail.value;\n this.tail = this.tail.prev;\n if (this.tail) this.tail.next = null;\n else this.head = null;\n this.length--;\n return res;\n};\n$a9d001e33f7b996c$var$Yallist.prototype.shift = function() {\n if (!this.head) return undefined;\n var res = this.head.value;\n this.head = this.head.next;\n if (this.head) this.head.prev = null;\n else this.tail = null;\n this.length--;\n return res;\n};\n$a9d001e33f7b996c$var$Yallist.prototype.forEach = function(fn, thisp) {\n thisp = thisp || this;\n for(var walker = this.head, i = 0; walker !== null; i++){\n fn.call(thisp, walker.value, i, this);\n walker = walker.next;\n }\n};\n$a9d001e33f7b996c$var$Yallist.prototype.forEachReverse = function(fn, thisp) {\n thisp = thisp || this;\n for(var walker = this.tail, i = this.length - 1; walker !== null; i--){\n fn.call(thisp, walker.value, i, this);\n walker = walker.prev;\n }\n};\n$a9d001e33f7b996c$var$Yallist.prototype.get = function(n) {\n for(var i = 0, walker = this.head; walker !== null && i < n; i++)// abort out of the list early if we hit a cycle\n walker = walker.next;\n if (i === n && walker !== null) return walker.value;\n};\n$a9d001e33f7b996c$var$Yallist.prototype.getReverse = function(n) {\n for(var i = 0, walker = this.tail; walker !== null && i < n; i++)// abort out of the list early if we hit a cycle\n walker = walker.prev;\n if (i === n && walker !== null) return walker.value;\n};\n$a9d001e33f7b996c$var$Yallist.prototype.map = function(fn, thisp) {\n thisp = thisp || this;\n var res = new $a9d001e33f7b996c$var$Yallist();\n for(var walker = this.head; walker !== null;){\n res.push(fn.call(thisp, walker.value, this));\n walker = walker.next;\n }\n return res;\n};\n$a9d001e33f7b996c$var$Yallist.prototype.mapReverse = function(fn, thisp) {\n thisp = thisp || this;\n var res = new $a9d001e33f7b996c$var$Yallist();\n for(var walker = this.tail; walker !== null;){\n res.push(fn.call(thisp, walker.value, this));\n walker = walker.prev;\n }\n return res;\n};\n$a9d001e33f7b996c$var$Yallist.prototype.reduce = function(fn, initial) {\n var acc;\n var walker = this.head;\n if (arguments.length > 1) acc = initial;\n else if (this.head) {\n walker = this.head.next;\n acc = this.head.value;\n } else throw new TypeError(\"Reduce of empty list with no initial value\");\n for(var i = 0; walker !== null; i++){\n acc = fn(acc, walker.value, i);\n walker = walker.next;\n }\n return acc;\n};\n$a9d001e33f7b996c$var$Yallist.prototype.reduceReverse = function(fn, initial) {\n var acc;\n var walker = this.tail;\n if (arguments.length > 1) acc = initial;\n else if (this.tail) {\n walker = this.tail.prev;\n acc = this.tail.value;\n } else throw new TypeError(\"Reduce of empty list with no initial value\");\n for(var i = this.length - 1; walker !== null; i--){\n acc = fn(acc, walker.value, i);\n walker = walker.prev;\n }\n return acc;\n};\n$a9d001e33f7b996c$var$Yallist.prototype.toArray = function() {\n var arr = new Array(this.length);\n for(var i = 0, walker = this.head; walker !== null; i++){\n arr[i] = walker.value;\n walker = walker.next;\n }\n return arr;\n};\n$a9d001e33f7b996c$var$Yallist.prototype.toArrayReverse = function() {\n var arr = new Array(this.length);\n for(var i = 0, walker = this.tail; walker !== null; i++){\n arr[i] = walker.value;\n walker = walker.prev;\n }\n return arr;\n};\n$a9d001e33f7b996c$var$Yallist.prototype.slice = function(from, to) {\n to = to || this.length;\n if (to < 0) to += this.length;\n from = from || 0;\n if (from < 0) from += this.length;\n var ret = new $a9d001e33f7b996c$var$Yallist();\n if (to < from || to < 0) return ret;\n if (from < 0) from = 0;\n if (to > this.length) to = this.length;\n for(var i = 0, walker = this.head; walker !== null && i < from; i++)walker = walker.next;\n for(; walker !== null && i < to; i++, walker = walker.next)ret.push(walker.value);\n return ret;\n};\n$a9d001e33f7b996c$var$Yallist.prototype.sliceReverse = function(from, to) {\n to = to || this.length;\n if (to < 0) to += this.length;\n from = from || 0;\n if (from < 0) from += this.length;\n var ret = new $a9d001e33f7b996c$var$Yallist();\n if (to < from || to < 0) return ret;\n if (from < 0) from = 0;\n if (to > this.length) to = this.length;\n for(var i = this.length, walker = this.tail; walker !== null && i > to; i--)walker = walker.prev;\n for(; walker !== null && i > from; i--, walker = walker.prev)ret.push(walker.value);\n return ret;\n};\n$a9d001e33f7b996c$var$Yallist.prototype.splice = function(start, deleteCount, ...nodes) {\n if (start > this.length) start = this.length - 1;\n if (start < 0) start = this.length + start;\n for(var i = 0, walker = this.head; walker !== null && i < start; i++)walker = walker.next;\n var ret = [];\n for(var i = 0; walker && i < deleteCount; i++){\n ret.push(walker.value);\n walker = this.removeNode(walker);\n }\n if (walker === null) walker = this.tail;\n if (walker !== this.head && walker !== this.tail) walker = walker.prev;\n for(var i = 0; i < nodes.length; i++)walker = $a9d001e33f7b996c$var$insert(this, walker, nodes[i]);\n return ret;\n};\n$a9d001e33f7b996c$var$Yallist.prototype.reverse = function() {\n var head = this.head;\n var tail = this.tail;\n for(var walker = head; walker !== null; walker = walker.prev){\n var p = walker.prev;\n walker.prev = walker.next;\n walker.next = p;\n }\n this.head = tail;\n this.tail = head;\n return this;\n};\nfunction $a9d001e33f7b996c$var$insert(self, node, value) {\n var inserted = node === self.head ? new $a9d001e33f7b996c$var$Node(value, null, node, self) : new $a9d001e33f7b996c$var$Node(value, node, node.next, self);\n if (inserted.next === null) self.tail = inserted;\n if (inserted.prev === null) self.head = inserted;\n self.length++;\n return inserted;\n}\nfunction $a9d001e33f7b996c$var$push(self, item) {\n self.tail = new $a9d001e33f7b996c$var$Node(item, self.tail, null, self);\n if (!self.head) self.head = self.tail;\n self.length++;\n}\nfunction $a9d001e33f7b996c$var$unshift(self, item) {\n self.head = new $a9d001e33f7b996c$var$Node(item, null, self.head, self);\n if (!self.tail) self.tail = self.head;\n self.length++;\n}\nfunction $a9d001e33f7b996c$var$Node(value, prev, next, list) {\n if (!(this instanceof $a9d001e33f7b996c$var$Node)) return new $a9d001e33f7b996c$var$Node(value, prev, next, list);\n this.list = list;\n this.value = value;\n if (prev) {\n prev.next = this;\n this.prev = prev;\n } else this.prev = null;\n if (next) {\n next.prev = this;\n this.next = next;\n } else this.next = null;\n}\n\ntry {\n // add if support for Symbol.iterator is present\n (parcelRequire(\"3H5CM\"))($a9d001e33f7b996c$var$Yallist);\n} catch (er) {}\n\n});\nparcelRegister(\"3H5CM\", function(module, exports) {\n\"use strict\";\nmodule.exports = function(Yallist) {\n Yallist.prototype[Symbol.iterator] = function*() {\n for(let walker = this.head; walker; walker = walker.next)yield walker.value;\n };\n};\n\n});\n\n\n\n\n\nparcelRegister(\"khJSG\", function(module, exports) {\n\nvar $f3aPP = parcelRequire(\"f3aPP\");\nconst $ec48fc29ac88e7ba$var$satisfies = (version, range, options)=>{\n try {\n range = new $f3aPP(range, options);\n } catch (er) {\n return false;\n }\n return range.test(version);\n};\nmodule.exports = $ec48fc29ac88e7ba$var$satisfies;\n\n});\n\nparcelRegister(\"b3OLy\", function(module, exports) {\n\nvar $f3aPP = parcelRequire(\"f3aPP\");\n// Mostly just for testing and legacy API reasons\nconst $80d75a9319e89b5c$var$toComparators = (range, options)=>new $f3aPP(range, options).set.map((comp)=>comp.map((c)=>c.value).join(\" \").trim().split(\" \"));\nmodule.exports = $80d75a9319e89b5c$var$toComparators;\n\n});\n\nparcelRegister(\"drXzZ\", function(module, exports) {\n\nvar $9xt8b = parcelRequire(\"9xt8b\");\n\nvar $f3aPP = parcelRequire(\"f3aPP\");\nconst $9cac0335764a7fd0$var$maxSatisfying = (versions, range, options)=>{\n let max = null;\n let maxSV = null;\n let rangeObj = null;\n try {\n rangeObj = new $f3aPP(range, options);\n } catch (er) {\n return null;\n }\n versions.forEach((v)=>{\n if (rangeObj.test(v)) // satisfies(v, range, options)\n {\n if (!max || maxSV.compare(v) === -1) {\n // compare(max, v, true)\n max = v;\n maxSV = new $9xt8b(max, options);\n }\n }\n });\n return max;\n};\nmodule.exports = $9cac0335764a7fd0$var$maxSatisfying;\n\n});\n\nparcelRegister(\"gs3vr\", function(module, exports) {\n\nvar $9xt8b = parcelRequire(\"9xt8b\");\n\nvar $f3aPP = parcelRequire(\"f3aPP\");\nconst $bfa1fb2084c73667$var$minSatisfying = (versions, range, options)=>{\n let min = null;\n let minSV = null;\n let rangeObj = null;\n try {\n rangeObj = new $f3aPP(range, options);\n } catch (er) {\n return null;\n }\n versions.forEach((v)=>{\n if (rangeObj.test(v)) // satisfies(v, range, options)\n {\n if (!min || minSV.compare(v) === 1) {\n // compare(min, v, true)\n min = v;\n minSV = new $9xt8b(min, options);\n }\n }\n });\n return min;\n};\nmodule.exports = $bfa1fb2084c73667$var$minSatisfying;\n\n});\n\nparcelRegister(\"X9vdQ\", function(module, exports) {\n\nvar $9xt8b = parcelRequire(\"9xt8b\");\n\nvar $f3aPP = parcelRequire(\"f3aPP\");\n\nvar $fnAFb = parcelRequire(\"fnAFb\");\nconst $0b1ce1d193431ac2$var$minVersion = (range, loose)=>{\n range = new $f3aPP(range, loose);\n let minver = new $9xt8b(\"0.0.0\");\n if (range.test(minver)) return minver;\n minver = new $9xt8b(\"0.0.0-0\");\n if (range.test(minver)) return minver;\n minver = null;\n for(let i = 0; i < range.set.length; ++i){\n const comparators = range.set[i];\n let setMin = null;\n comparators.forEach((comparator)=>{\n // Clone to avoid manipulating the comparator's semver object.\n const compver = new $9xt8b(comparator.semver.version);\n switch(comparator.operator){\n case \">\":\n if (compver.prerelease.length === 0) compver.patch++;\n else compver.prerelease.push(0);\n compver.raw = compver.format();\n /* fallthrough */ case \"\":\n case \">=\":\n if (!setMin || $fnAFb(compver, setMin)) setMin = compver;\n break;\n case \"<\":\n case \"<=\":\n break;\n /* istanbul ignore next */ default:\n throw new Error(`Unexpected operation: ${comparator.operator}`);\n }\n });\n if (setMin && (!minver || $fnAFb(minver, setMin))) minver = setMin;\n }\n if (minver && range.test(minver)) return minver;\n return null;\n};\nmodule.exports = $0b1ce1d193431ac2$var$minVersion;\n\n});\n\nparcelRegister(\"fsTYi\", function(module, exports) {\n\nvar $f3aPP = parcelRequire(\"f3aPP\");\nconst $b424e35202b07e8a$var$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 $f3aPP(range, options).range || \"*\";\n } catch (er) {\n return null;\n }\n};\nmodule.exports = $b424e35202b07e8a$var$validRange;\n\n});\n\nparcelRegister(\"g9Ul8\", function(module, exports) {\n\nvar $9xt8b = parcelRequire(\"9xt8b\");\n\nvar $1SpzP = parcelRequire(\"1SpzP\");\nconst { ANY: $bc3930842ae88c74$var$ANY } = $1SpzP;\n\nvar $f3aPP = parcelRequire(\"f3aPP\");\n\nvar $khJSG = parcelRequire(\"khJSG\");\n\nvar $fnAFb = parcelRequire(\"fnAFb\");\n\nvar $l5VRF = parcelRequire(\"l5VRF\");\n\nvar $dMdWX = parcelRequire(\"dMdWX\");\n\nvar $j157J = parcelRequire(\"j157J\");\nconst $bc3930842ae88c74$var$outside = (version, range, hilo, options)=>{\n version = new $9xt8b(version, options);\n range = new $f3aPP(range, options);\n let gtfn, ltefn, ltfn, comp, ecomp;\n switch(hilo){\n case \">\":\n gtfn = $fnAFb;\n ltefn = $dMdWX;\n ltfn = $l5VRF;\n comp = \">\";\n ecomp = \">=\";\n break;\n case \"<\":\n gtfn = $l5VRF;\n ltefn = $j157J;\n ltfn = $fnAFb;\n comp = \"<\";\n ecomp = \"<=\";\n break;\n default:\n throw new TypeError('Must provide a hilo val of \"<\" or \">\"');\n }\n // If it satisfies the range it is not outside\n if ($khJSG(version, range, options)) return false;\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 for(let i = 0; i < range.set.length; ++i){\n const comparators = range.set[i];\n let high = null;\n let low = null;\n comparators.forEach((comparator)=>{\n if (comparator.semver === $bc3930842ae88c74$var$ANY) comparator = new $1SpzP(\">=0.0.0\");\n high = high || comparator;\n low = low || comparator;\n if (gtfn(comparator.semver, high.semver, options)) high = comparator;\n else if (ltfn(comparator.semver, low.semver, options)) low = comparator;\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) return false;\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) && ltefn(version, low.semver)) return false;\n else if (low.operator === ecomp && ltfn(version, low.semver)) return false;\n }\n return true;\n};\nmodule.exports = $bc3930842ae88c74$var$outside;\n\n});\n\nparcelRegister(\"8n8H2\", function(module, exports) {\n// Determine if version is greater than all the versions possible in the range.\n\nvar $g9Ul8 = parcelRequire(\"g9Ul8\");\nconst $618736f868ca6854$var$gtr = (version, range, options)=>$g9Ul8(version, range, \">\", options);\nmodule.exports = $618736f868ca6854$var$gtr;\n\n});\n\nparcelRegister(\"2Xx21\", function(module, exports) {\n\nvar $g9Ul8 = parcelRequire(\"g9Ul8\");\n// Determine if version is less than all the versions possible in the range\nconst $227ab6dd41155f7c$var$ltr = (version, range, options)=>$g9Ul8(version, range, \"<\", options);\nmodule.exports = $227ab6dd41155f7c$var$ltr;\n\n});\n\nparcelRegister(\"kWuuM\", function(module, exports) {\n\nvar $f3aPP = parcelRequire(\"f3aPP\");\nconst $f3f0e130b71ff4f3$var$intersects = (r1, r2, options)=>{\n r1 = new $f3aPP(r1, options);\n r2 = new $f3aPP(r2, options);\n return r1.intersects(r2, options);\n};\nmodule.exports = $f3f0e130b71ff4f3$var$intersects;\n\n});\n\nparcelRegister(\"7zMty\", function(module, exports) {\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.\n\nvar $khJSG = parcelRequire(\"khJSG\");\n\nvar $lTlut = parcelRequire(\"lTlut\");\nmodule.exports = (versions, range, options)=>{\n const set = [];\n let first = null;\n let prev = null;\n const v = versions.sort((a, b)=>$lTlut(a, b, options));\n for (const version of v){\n const included = $khJSG(version, range, options);\n if (included) {\n prev = version;\n if (!first) first = version;\n } else {\n if (prev) set.push([\n first,\n prev\n ]);\n prev = null;\n first = null;\n }\n }\n if (first) set.push([\n first,\n null\n ]);\n const ranges = [];\n for (const [min, max] of set){\n if (min === max) ranges.push(min);\n else if (!max && min === v[0]) ranges.push(\"*\");\n else if (!max) ranges.push(`>=${min}`);\n else if (min === v[0]) ranges.push(`<=${max}`);\n else ranges.push(`${min} - ${max}`);\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\n});\n\nparcelRegister(\"7r2UW\", function(module, exports) {\n\nvar $f3aPP = parcelRequire(\"f3aPP\");\n\nvar $1SpzP = parcelRequire(\"1SpzP\");\nconst { ANY: $569d5160dd3d2de9$var$ANY } = $1SpzP;\n\nvar $khJSG = parcelRequire(\"khJSG\");\n\nvar $lTlut = parcelRequire(\"lTlut\");\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\nconst $569d5160dd3d2de9$var$subset = (sub, dom, options = {})=>{\n if (sub === dom) return true;\n sub = new $f3aPP(sub, options);\n dom = new $f3aPP(dom, options);\n let sawNonNull = false;\n OUTER: for (const simpleSub of sub.set){\n for (const simpleDom of dom.set){\n const isSub = $569d5160dd3d2de9$var$simpleSubset(simpleSub, simpleDom, options);\n sawNonNull = sawNonNull || isSub !== null;\n if (isSub) continue OUTER;\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) return false;\n }\n return true;\n};\nconst $569d5160dd3d2de9$var$minimumVersionWithPreRelease = [\n new $1SpzP(\">=0.0.0-0\")\n];\nconst $569d5160dd3d2de9$var$minimumVersion = [\n new $1SpzP(\">=0.0.0\")\n];\nconst $569d5160dd3d2de9$var$simpleSubset = (sub, dom, options)=>{\n if (sub === dom) return true;\n if (sub.length === 1 && sub[0].semver === $569d5160dd3d2de9$var$ANY) {\n if (dom.length === 1 && dom[0].semver === $569d5160dd3d2de9$var$ANY) return true;\n else if (options.includePrerelease) sub = $569d5160dd3d2de9$var$minimumVersionWithPreRelease;\n else sub = $569d5160dd3d2de9$var$minimumVersion;\n }\n if (dom.length === 1 && dom[0].semver === $569d5160dd3d2de9$var$ANY) {\n if (options.includePrerelease) return true;\n else dom = $569d5160dd3d2de9$var$minimumVersion;\n }\n const eqSet = new Set();\n let gt, lt;\n for (const c of sub){\n if (c.operator === \">\" || c.operator === \">=\") gt = $569d5160dd3d2de9$var$higherGT(gt, c, options);\n else if (c.operator === \"<\" || c.operator === \"<=\") lt = $569d5160dd3d2de9$var$lowerLT(lt, c, options);\n else eqSet.add(c.semver);\n }\n if (eqSet.size > 1) return null;\n let gtltComp;\n if (gt && lt) {\n gtltComp = $lTlut(gt.semver, lt.semver, options);\n if (gtltComp > 0) return null;\n else if (gtltComp === 0 && (gt.operator !== \">=\" || lt.operator !== \"<=\")) return null;\n }\n // will iterate one or zero times\n for (const eq of eqSet){\n if (gt && !$khJSG(eq, String(gt), options)) return null;\n if (lt && !$khJSG(eq, String(lt), options)) return null;\n for (const c of dom){\n if (!$khJSG(eq, String(c), options)) return false;\n }\n return true;\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 && !options.includePrerelease && lt.semver.prerelease.length ? lt.semver : false;\n let needDomGTPre = gt && !options.includePrerelease && 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 && lt.operator === \"<\" && needDomLTPre.prerelease[0] === 0) needDomLTPre = false;\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 && c.semver.major === needDomGTPre.major && c.semver.minor === needDomGTPre.minor && c.semver.patch === needDomGTPre.patch) needDomGTPre = false;\n }\n if (c.operator === \">\" || c.operator === \">=\") {\n higher = $569d5160dd3d2de9$var$higherGT(gt, c, options);\n if (higher === c && higher !== gt) return false;\n } else if (gt.operator === \">=\" && !$khJSG(gt.semver, String(c), options)) return false;\n }\n if (lt) {\n if (needDomLTPre) {\n if (c.semver.prerelease && c.semver.prerelease.length && c.semver.major === needDomLTPre.major && c.semver.minor === needDomLTPre.minor && c.semver.patch === needDomLTPre.patch) needDomLTPre = false;\n }\n if (c.operator === \"<\" || c.operator === \"<=\") {\n lower = $569d5160dd3d2de9$var$lowerLT(lt, c, options);\n if (lower === c && lower !== lt) return false;\n } else if (lt.operator === \"<=\" && !$khJSG(lt.semver, String(c), options)) return false;\n }\n if (!c.operator && (lt || gt) && gtltComp !== 0) return false;\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) return false;\n if (lt && hasDomGT && !gt && gtltComp !== 0) return false;\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) return false;\n return true;\n};\n// >=1.2.3 is lower than >1.2.3\nconst $569d5160dd3d2de9$var$higherGT = (a, b, options)=>{\n if (!a) return b;\n const comp = $lTlut(a.semver, b.semver, options);\n return comp > 0 ? a : comp < 0 ? b : b.operator === \">\" && a.operator === \">=\" ? b : a;\n};\n// <=1.2.3 is higher than <1.2.3\nconst $569d5160dd3d2de9$var$lowerLT = (a, b, options)=>{\n if (!a) return b;\n const comp = $lTlut(a.semver, b.semver, options);\n return comp < 0 ? a : comp > 0 ? b : b.operator === \"<\" && a.operator === \"<=\" ? b : a;\n};\nmodule.exports = $569d5160dd3d2de9$var$subset;\n\n});\n\n\nparcelRegister(\"kOEfP\", function(module, exports) {\n\"use strict\";\nvar $f277b3d1b7e3e3b2$var$matchOperatorsRe = /[|\\\\{}()[\\]^$+*?.]/g;\nmodule.exports = function(str) {\n if (typeof str !== \"string\") throw new TypeError(\"Expected a string\");\n return str.replace($f277b3d1b7e3e3b2$var$matchOperatorsRe, \"\\\\$&\");\n};\n\n});\n\nparcelRegister(\"6MdIz\", function(module, exports) {\n\n$parcel$export(module.exports, \"pathExists\", () => $4ef1dddd1b16c0f2$export$f8b9fb4db095815b);\n\nasync function $4ef1dddd1b16c0f2$export$f8b9fb4db095815b(path) {\n try {\n await (0, $aEsRD$nodefs.promises).access(path);\n return true;\n } catch {\n return false;\n }\n}\nfunction $4ef1dddd1b16c0f2$export$d878061e34fd0f5a(path) {\n try {\n (0, ($parcel$interopDefault($aEsRD$nodefs))).accessSync(path);\n return true;\n } catch {\n return false;\n }\n}\n\n});\n\nparcelRegister(\"bLa2q\", function(module, exports) {\n\n$parcel$export(module.exports, \"addExeExt\", () => $f91df45e75a96974$export$2d20c564cade3c93);\n$parcel$export(module.exports, \"addShExt\", () => $f91df45e75a96974$export$609be29b80b555e1);\n$parcel$export(module.exports, \"addShRelativePrefix\", () => $f91df45e75a96974$export$e1f23f8d3e53fe6);\n$parcel$export(module.exports, \"dirname\", () => $aEsRD$path.dirname);\n$parcel$export(module.exports, \"join\", () => $aEsRD$path.join);\n\n\nvar $lt3fY = parcelRequire(\"lt3fY\");\n\nvar $epNWu = parcelRequire(\"epNWu\");\nfunction $f91df45e75a96974$var$e(e, a) {\n return Object.keys(a).forEach((r)=>{\n \"default\" === r || \"__esModule\" === r || e.hasOwnProperty(r) || Object.defineProperty(e, r, {\n enumerable: !0,\n get () {\n return a[r];\n }\n });\n }), e;\n}\nfunction $f91df45e75a96974$var$a(e, a, r, s) {\n Object.defineProperty(e, a, {\n get: r,\n set: s,\n enumerable: !0,\n configurable: !0\n });\n}\nfunction $f91df45e75a96974$export$a8ff84c12d48cfa6(e, a = !0) {\n return a ? (0, $aEsRD$path.basename)(e) : (0, $aEsRD$path.basename)(e, (0, $aEsRD$path.extname)(e));\n}\nfunction $f91df45e75a96974$export$873fead74fe2f1ff(e) {\n return (0, $aEsRD$path.normalize)(e).replace(RegExp((0, $lt3fY.default)((0, $aEsRD$path.sep)) + \"$\"), \"\");\n}\nfunction $f91df45e75a96974$export$2d20c564cade3c93(e, a = \".exe\", r = \"\") {\n return \"win32\" === process.platform ? `${e}${a}` : `${e}${r}`;\n}\nfunction $f91df45e75a96974$export$3e333f8cb13439c(e, a) {\n const r = (0, $aEsRD$path.extname)(e), s = `${a}${(0, $aEsRD$path.basename)(e, r)}${r}`;\n return (0, $aEsRD$path.join)((0, $aEsRD$path.dirname)(e), s);\n}\nfunction $f91df45e75a96974$export$3b60a3e9bd1aef9d(e, a) {\n const r = (0, $aEsRD$path.extname)(e), s = `${(0, $aEsRD$path.basename)(e, r)}${a}${r}`;\n return (0, $aEsRD$path.join)((0, $aEsRD$path.dirname)(e), s);\n}\nfunction $f91df45e75a96974$export$609be29b80b555e1(e, a = \".cmd\", r = \".sh\") {\n return \"win32\" === process.platform ? `${e}${a}` : `${e}${r}`;\n}\nfunction $f91df45e75a96974$export$e1f23f8d3e53fe6(e) {\n return \"win32\" === process.platform ? e : \"./\" + e;\n}\nfunction $f91df45e75a96974$export$19c5468f88f6e968(e) {\n const a = (0, $aEsRD$path.extname)(e).length;\n return e.slice(0, -a);\n}\nfunction $f91df45e75a96974$export$e9c34737ac8e53d2(e, a) {\n return (0, (/*@__PURE__*/$parcel$interopDefault($epNWu)))(e, a);\n}\nfunction $f91df45e75a96974$export$7d0573375890d05c(e, a) {\n const r = (0, $aEsRD$path.relative)(a, e);\n return !(!r || \"..\" === r || r.startsWith(\"..\" + (0, $aEsRD$path.sep)) || r === (0, $aEsRD$path.resolve)(e));\n}\nvar $f91df45e75a96974$var$O = {}, $f91df45e75a96974$var$R = {};\n$f91df45e75a96974$var$a($f91df45e75a96974$var$R, \"name\", ()=>$f91df45e75a96974$export$a8ff84c12d48cfa6);\nvar $f91df45e75a96974$var$A = {};\n$f91df45e75a96974$var$a($f91df45e75a96974$var$A, \"normalizeTrim\", ()=>$f91df45e75a96974$export$873fead74fe2f1ff);\nvar $f91df45e75a96974$var$I = {};\n$f91df45e75a96974$var$a($f91df45e75a96974$var$I, \"addExeExt\", ()=>$f91df45e75a96974$export$2d20c564cade3c93);\nvar $f91df45e75a96974$var$T = {};\n$f91df45e75a96974$var$a($f91df45e75a96974$var$T, \"addNamePrefix\", ()=>$f91df45e75a96974$export$3e333f8cb13439c);\nvar $f91df45e75a96974$var$_ = {};\n$f91df45e75a96974$var$a($f91df45e75a96974$var$_, \"addNameSuffix\", ()=>$f91df45e75a96974$export$3b60a3e9bd1aef9d);\nvar $f91df45e75a96974$var$k = {};\n$f91df45e75a96974$var$a($f91df45e75a96974$var$k, \"addShExt\", ()=>$f91df45e75a96974$export$609be29b80b555e1);\nvar $f91df45e75a96974$var$M = {};\n$f91df45e75a96974$var$a($f91df45e75a96974$var$M, \"addShRelativePrefix\", ()=>$f91df45e75a96974$export$e1f23f8d3e53fe6);\nvar $f91df45e75a96974$var$W = {};\n$f91df45e75a96974$var$a($f91df45e75a96974$var$W, \"removeExt\", ()=>$f91df45e75a96974$export$19c5468f88f6e968);\nvar $f91df45e75a96974$var$q = {};\n$f91df45e75a96974$var$a($f91df45e75a96974$var$q, \"replaceExt\", ()=>$f91df45e75a96974$export$e9c34737ac8e53d2);\nvar $f91df45e75a96974$var$B = {};\n$f91df45e75a96974$var$a($f91df45e75a96974$var$B, \"isPathInside\", ()=>$f91df45e75a96974$export$7d0573375890d05c), $f91df45e75a96974$var$e($f91df45e75a96974$var$O, $f91df45e75a96974$var$R), $f91df45e75a96974$var$e($f91df45e75a96974$var$O, $f91df45e75a96974$var$A), $f91df45e75a96974$var$e($f91df45e75a96974$var$O, $f91df45e75a96974$var$I), $f91df45e75a96974$var$e($f91df45e75a96974$var$O, $f91df45e75a96974$var$T), $f91df45e75a96974$var$e($f91df45e75a96974$var$O, $f91df45e75a96974$var$_), $f91df45e75a96974$var$e($f91df45e75a96974$var$O, $f91df45e75a96974$var$k), $f91df45e75a96974$var$e($f91df45e75a96974$var$O, $f91df45e75a96974$var$M), $f91df45e75a96974$var$e($f91df45e75a96974$var$O, $f91df45e75a96974$var$W), $f91df45e75a96974$var$e($f91df45e75a96974$var$O, $f91df45e75a96974$var$q), $f91df45e75a96974$var$e($f91df45e75a96974$var$O, $f91df45e75a96974$var$B);\n\n});\nparcelRegister(\"lt3fY\", function(module, exports) {\n\n$parcel$export(module.exports, \"default\", () => $fa0ed51ceb696381$export$2e2bcd8739ae039);\nfunction $fa0ed51ceb696381$export$2e2bcd8739ae039(string) {\n if (typeof string !== \"string\") throw new TypeError(\"Expected a string\");\n // Escape characters with special meaning either inside or outside character sets.\n // 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 return string.replace(/[|\\\\{}()[\\]^$+*?.]/g, \"\\\\$&\").replace(/-/g, \"\\\\x2d\");\n}\n\n});\n\nparcelRegister(\"epNWu\", function(module, exports) {\n\"use strict\";\n\nfunction $a7ea2401fe383c45$var$replaceExt(npath, ext) {\n if (typeof npath !== \"string\") return npath;\n if (npath.length === 0) return npath;\n var nFileName = $aEsRD$path.basename(npath, $aEsRD$path.extname(npath)) + ext;\n var nFilepath = $aEsRD$path.join($aEsRD$path.dirname(npath), nFileName);\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 ($a7ea2401fe383c45$var$startsWithSingleDot(npath)) return \".\" + $aEsRD$path.sep + nFilepath;\n return nFilepath;\n}\nfunction $a7ea2401fe383c45$var$startsWithSingleDot(fpath) {\n var first2chars = fpath.slice(0, 2);\n return first2chars === \".\" + $aEsRD$path.sep || first2chars === \"./\";\n}\nmodule.exports = $a7ea2401fe383c45$var$replaceExt;\n\n});\n\n\nparcelRegister(\"alxPC\", function(module, exports) {\n\"use strict\";\nvar $78861bc6dfbc9cce$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $78861bc6dfbc9cce$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $78861bc6dfbc9cce$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $78861bc6dfbc9cce$var$__createBinding(result, mod, k);\n }\n $78861bc6dfbc9cce$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $78861bc6dfbc9cce$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.findInPath = module.exports.which = module.exports.mkdirP = module.exports.rmRF = module.exports.mv = module.exports.cp = void 0;\n\n\nconst $78861bc6dfbc9cce$var$path = $78861bc6dfbc9cce$var$__importStar($aEsRD$path);\n\nconst $78861bc6dfbc9cce$var$ioUtil = $78861bc6dfbc9cce$var$__importStar((parcelRequire(\"hL0ST\")));\n/**\n * Copies a file or folder.\n * Based off of shelljs - https://github.com/shelljs/shelljs/blob/9237f66c52e5daa40458f94f9565e18e8132f5a6/src/cp.js\n *\n * @param source source path\n * @param dest destination path\n * @param options optional. See CopyOptions.\n */ function $78861bc6dfbc9cce$var$cp(source, dest, options = {}) {\n return $78861bc6dfbc9cce$var$__awaiter(this, void 0, void 0, function*() {\n const { force: force, recursive: recursive, copySourceDirectory: copySourceDirectory } = $78861bc6dfbc9cce$var$readCopyOptions(options);\n const destStat = (yield $78861bc6dfbc9cce$var$ioUtil.exists(dest)) ? yield $78861bc6dfbc9cce$var$ioUtil.stat(dest) : null;\n // Dest is an existing file, but not forcing\n if (destStat && destStat.isFile() && !force) return;\n // If dest is an existing directory, should copy inside.\n const newDest = destStat && destStat.isDirectory() && copySourceDirectory ? $78861bc6dfbc9cce$var$path.join(dest, $78861bc6dfbc9cce$var$path.basename(source)) : dest;\n if (!(yield $78861bc6dfbc9cce$var$ioUtil.exists(source))) throw new Error(`no such file or directory: ${source}`);\n const sourceStat = yield $78861bc6dfbc9cce$var$ioUtil.stat(source);\n if (sourceStat.isDirectory()) {\n if (!recursive) throw new Error(`Failed to copy. ${source} is a directory, but tried to copy without recursive flag.`);\n else yield $78861bc6dfbc9cce$var$cpDirRecursive(source, newDest, 0, force);\n } else {\n if ($78861bc6dfbc9cce$var$path.relative(source, newDest) === \"\") // a file cannot be copied to itself\n throw new Error(`'${newDest}' and '${source}' are the same file`);\n yield $78861bc6dfbc9cce$var$copyFile(source, newDest, force);\n }\n });\n}\nmodule.exports.cp = $78861bc6dfbc9cce$var$cp;\n/**\n * Moves a path.\n *\n * @param source source path\n * @param dest destination path\n * @param options optional. See MoveOptions.\n */ function $78861bc6dfbc9cce$var$mv(source, dest, options = {}) {\n return $78861bc6dfbc9cce$var$__awaiter(this, void 0, void 0, function*() {\n if (yield $78861bc6dfbc9cce$var$ioUtil.exists(dest)) {\n let destExists = true;\n if (yield $78861bc6dfbc9cce$var$ioUtil.isDirectory(dest)) {\n // If dest is directory copy src into dest\n dest = $78861bc6dfbc9cce$var$path.join(dest, $78861bc6dfbc9cce$var$path.basename(source));\n destExists = yield $78861bc6dfbc9cce$var$ioUtil.exists(dest);\n }\n if (destExists) {\n if (options.force == null || options.force) yield $78861bc6dfbc9cce$var$rmRF(dest);\n else throw new Error(\"Destination already exists\");\n }\n }\n yield $78861bc6dfbc9cce$var$mkdirP($78861bc6dfbc9cce$var$path.dirname(dest));\n yield $78861bc6dfbc9cce$var$ioUtil.rename(source, dest);\n });\n}\nmodule.exports.mv = $78861bc6dfbc9cce$var$mv;\n/**\n * Remove a path recursively with force\n *\n * @param inputPath path to remove\n */ function $78861bc6dfbc9cce$var$rmRF(inputPath) {\n return $78861bc6dfbc9cce$var$__awaiter(this, void 0, void 0, function*() {\n if ($78861bc6dfbc9cce$var$ioUtil.IS_WINDOWS) {\n // Check for invalid characters\n // https://docs.microsoft.com/en-us/windows/win32/fileio/naming-a-file\n if (/[*\"<>|]/.test(inputPath)) throw new Error('File path must not contain `*`, `\"`, `<`, `>` or `|` on Windows');\n }\n try {\n // note if path does not exist, error is silent\n yield $78861bc6dfbc9cce$var$ioUtil.rm(inputPath, {\n force: true,\n maxRetries: 3,\n recursive: true,\n retryDelay: 300\n });\n } catch (err) {\n throw new Error(`File was unable to be removed ${err}`);\n }\n });\n}\nmodule.exports.rmRF = $78861bc6dfbc9cce$var$rmRF;\n/**\n * Make a directory. Creates the full path with folders in between\n * Will throw if it fails\n *\n * @param fsPath path to create\n * @returns Promise\n */ function $78861bc6dfbc9cce$var$mkdirP(fsPath) {\n return $78861bc6dfbc9cce$var$__awaiter(this, void 0, void 0, function*() {\n $aEsRD$assert.ok(fsPath, \"a path argument must be provided\");\n yield $78861bc6dfbc9cce$var$ioUtil.mkdir(fsPath, {\n recursive: true\n });\n });\n}\nmodule.exports.mkdirP = $78861bc6dfbc9cce$var$mkdirP;\n/**\n * Returns path of a tool had the tool actually been invoked. Resolves via paths.\n * If you check and the tool does not exist, it will throw.\n *\n * @param tool name of the tool\n * @param check whether to check if tool exists\n * @returns Promise path to tool\n */ function $78861bc6dfbc9cce$var$which(tool, check) {\n return $78861bc6dfbc9cce$var$__awaiter(this, void 0, void 0, function*() {\n if (!tool) throw new Error(\"parameter 'tool' is required\");\n // recursive when check=true\n if (check) {\n const result = yield $78861bc6dfbc9cce$var$which(tool, false);\n if (!result) {\n if ($78861bc6dfbc9cce$var$ioUtil.IS_WINDOWS) throw new Error(`Unable to locate executable file: ${tool}. 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.`);\n else throw new Error(`Unable to locate executable file: ${tool}. 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.`);\n }\n return result;\n }\n const matches = yield $78861bc6dfbc9cce$var$findInPath(tool);\n if (matches && matches.length > 0) return matches[0];\n return \"\";\n });\n}\nmodule.exports.which = $78861bc6dfbc9cce$var$which;\n/**\n * Returns a list of all occurrences of the given tool on the system path.\n *\n * @returns Promise the paths of the tool\n */ function $78861bc6dfbc9cce$var$findInPath(tool) {\n return $78861bc6dfbc9cce$var$__awaiter(this, void 0, void 0, function*() {\n if (!tool) throw new Error(\"parameter 'tool' is required\");\n // build the list of extensions to try\n const extensions = [];\n if ($78861bc6dfbc9cce$var$ioUtil.IS_WINDOWS && process.env[\"PATHEXT\"]) {\n for (const extension of process.env[\"PATHEXT\"].split($78861bc6dfbc9cce$var$path.delimiter))if (extension) extensions.push(extension);\n }\n // if it's rooted, return it if exists. otherwise return empty.\n if ($78861bc6dfbc9cce$var$ioUtil.isRooted(tool)) {\n const filePath = yield $78861bc6dfbc9cce$var$ioUtil.tryGetExecutablePath(tool, extensions);\n if (filePath) return [\n filePath\n ];\n return [];\n }\n // if any path separators, return empty\n if (tool.includes($78861bc6dfbc9cce$var$path.sep)) return [];\n // build the list of directories\n //\n // Note, technically \"where\" checks the current directory on Windows. From a toolkit perspective,\n // it feels like we should not do this. Checking the current directory seems like more of a use\n // case of a shell, and the which() function exposed by the toolkit should strive for consistency\n // across platforms.\n const directories = [];\n if (process.env.PATH) {\n for (const p of process.env.PATH.split($78861bc6dfbc9cce$var$path.delimiter))if (p) directories.push(p);\n }\n // find all matches\n const matches = [];\n for (const directory of directories){\n const filePath = yield $78861bc6dfbc9cce$var$ioUtil.tryGetExecutablePath($78861bc6dfbc9cce$var$path.join(directory, tool), extensions);\n if (filePath) matches.push(filePath);\n }\n return matches;\n });\n}\nmodule.exports.findInPath = $78861bc6dfbc9cce$var$findInPath;\nfunction $78861bc6dfbc9cce$var$readCopyOptions(options) {\n const force = options.force == null ? true : options.force;\n const recursive = Boolean(options.recursive);\n const copySourceDirectory = options.copySourceDirectory == null ? true : Boolean(options.copySourceDirectory);\n return {\n force: force,\n recursive: recursive,\n copySourceDirectory: copySourceDirectory\n };\n}\nfunction $78861bc6dfbc9cce$var$cpDirRecursive(sourceDir, destDir, currentDepth, force) {\n return $78861bc6dfbc9cce$var$__awaiter(this, void 0, void 0, function*() {\n // Ensure there is not a run away recursive copy\n if (currentDepth >= 255) return;\n currentDepth++;\n yield $78861bc6dfbc9cce$var$mkdirP(destDir);\n const files = yield $78861bc6dfbc9cce$var$ioUtil.readdir(sourceDir);\n for (const fileName of files){\n const srcFile = `${sourceDir}/${fileName}`;\n const destFile = `${destDir}/${fileName}`;\n const srcFileStat = yield $78861bc6dfbc9cce$var$ioUtil.lstat(srcFile);\n if (srcFileStat.isDirectory()) // Recurse\n yield $78861bc6dfbc9cce$var$cpDirRecursive(srcFile, destFile, currentDepth, force);\n else yield $78861bc6dfbc9cce$var$copyFile(srcFile, destFile, force);\n }\n // Change the mode for the newly created directory\n yield $78861bc6dfbc9cce$var$ioUtil.chmod(destDir, (yield $78861bc6dfbc9cce$var$ioUtil.stat(sourceDir)).mode);\n });\n}\n// Buffered file copy\nfunction $78861bc6dfbc9cce$var$copyFile(srcFile, destFile, force) {\n return $78861bc6dfbc9cce$var$__awaiter(this, void 0, void 0, function*() {\n if ((yield $78861bc6dfbc9cce$var$ioUtil.lstat(srcFile)).isSymbolicLink()) {\n // unlink/re-link it\n try {\n yield $78861bc6dfbc9cce$var$ioUtil.lstat(destFile);\n yield $78861bc6dfbc9cce$var$ioUtil.unlink(destFile);\n } catch (e) {\n // Try to override file permission\n if (e.code === \"EPERM\") {\n yield $78861bc6dfbc9cce$var$ioUtil.chmod(destFile, \"0666\");\n yield $78861bc6dfbc9cce$var$ioUtil.unlink(destFile);\n }\n // other errors = it doesn't exist, no work to do\n }\n // Copy over symlink\n const symlinkFull = yield $78861bc6dfbc9cce$var$ioUtil.readlink(srcFile);\n yield $78861bc6dfbc9cce$var$ioUtil.symlink(symlinkFull, destFile, $78861bc6dfbc9cce$var$ioUtil.IS_WINDOWS ? \"junction\" : null);\n } else if (!(yield $78861bc6dfbc9cce$var$ioUtil.exists(destFile)) || force) yield $78861bc6dfbc9cce$var$ioUtil.copyFile(srcFile, destFile);\n });\n}\n\n});\nparcelRegister(\"hL0ST\", function(module, exports) {\n\"use strict\";\nvar $ced78313b220fcb6$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $ced78313b220fcb6$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $ced78313b220fcb6$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $ced78313b220fcb6$var$__createBinding(result, mod, k);\n }\n $ced78313b220fcb6$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $ced78313b220fcb6$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar $ced78313b220fcb6$var$_a;\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.getCmdPath = module.exports.tryGetExecutablePath = module.exports.isRooted = module.exports.isDirectory = module.exports.exists = module.exports.READONLY = module.exports.UV_FS_O_EXLOCK = module.exports.IS_WINDOWS = module.exports.unlink = module.exports.symlink = module.exports.stat = module.exports.rmdir = module.exports.rm = module.exports.rename = module.exports.readlink = module.exports.readdir = module.exports.open = module.exports.mkdir = module.exports.lstat = module.exports.copyFile = module.exports.chmod = void 0;\n\nconst $ced78313b220fcb6$var$fs = $ced78313b220fcb6$var$__importStar($aEsRD$fs);\n\nconst $ced78313b220fcb6$var$path = $ced78313b220fcb6$var$__importStar($aEsRD$path);\n$ced78313b220fcb6$var$_a = $ced78313b220fcb6$var$fs.promises, module.exports.chmod = $ced78313b220fcb6$var$_a.chmod, module.exports.copyFile = $ced78313b220fcb6$var$_a.copyFile, module.exports.lstat = $ced78313b220fcb6$var$_a.lstat, module.exports.mkdir = $ced78313b220fcb6$var$_a.mkdir, module.exports.open = $ced78313b220fcb6$var$_a.open, module.exports.readdir = $ced78313b220fcb6$var$_a.readdir, module.exports.readlink = $ced78313b220fcb6$var$_a.readlink, module.exports.rename = $ced78313b220fcb6$var$_a.rename, module.exports.rm = $ced78313b220fcb6$var$_a.rm, module.exports.rmdir = $ced78313b220fcb6$var$_a.rmdir, module.exports.stat = $ced78313b220fcb6$var$_a.stat, module.exports.symlink = $ced78313b220fcb6$var$_a.symlink, module.exports.unlink = $ced78313b220fcb6$var$_a.unlink;\n// export const {open} = 'fs'\nmodule.exports.IS_WINDOWS = process.platform === \"win32\";\n// See https://github.com/nodejs/node/blob/d0153aee367422d0858105abec186da4dff0a0c5/deps/uv/include/uv/win.h#L691\nmodule.exports.UV_FS_O_EXLOCK = 0x10000000;\nmodule.exports.READONLY = $ced78313b220fcb6$var$fs.constants.O_RDONLY;\nfunction $ced78313b220fcb6$var$exists(fsPath) {\n return $ced78313b220fcb6$var$__awaiter(this, void 0, void 0, function*() {\n try {\n yield module.exports.stat(fsPath);\n } catch (err) {\n if (err.code === \"ENOENT\") return false;\n throw err;\n }\n return true;\n });\n}\nmodule.exports.exists = $ced78313b220fcb6$var$exists;\nfunction $ced78313b220fcb6$var$isDirectory(fsPath, useStat = false) {\n return $ced78313b220fcb6$var$__awaiter(this, void 0, void 0, function*() {\n const stats = useStat ? yield module.exports.stat(fsPath) : yield module.exports.lstat(fsPath);\n return stats.isDirectory();\n });\n}\nmodule.exports.isDirectory = $ced78313b220fcb6$var$isDirectory;\n/**\n * On OSX/Linux, true if path starts with '/'. On Windows, true for paths like:\n * \\, \\hello, \\\\hello\\share, C:, and C:\\hello (and corresponding alternate separator cases).\n */ function $ced78313b220fcb6$var$isRooted(p) {\n p = $ced78313b220fcb6$var$normalizeSeparators(p);\n if (!p) throw new Error('isRooted() parameter \"p\" cannot be empty');\n if (module.exports.IS_WINDOWS) return p.startsWith(\"\\\\\") || /^[A-Z]:/i.test(p) // e.g. \\ or \\hello or \\\\hello\n ; // e.g. C: or C:\\hello\n return p.startsWith(\"/\");\n}\nmodule.exports.isRooted = $ced78313b220fcb6$var$isRooted;\n/**\n * Best effort attempt to determine whether a file exists and is executable.\n * @param filePath file path to check\n * @param extensions additional file extensions to try\n * @return if file exists and is executable, returns the file path. otherwise empty string.\n */ function $ced78313b220fcb6$var$tryGetExecutablePath(filePath, extensions) {\n return $ced78313b220fcb6$var$__awaiter(this, void 0, void 0, function*() {\n let stats = undefined;\n try {\n // test file exists\n stats = yield module.exports.stat(filePath);\n } catch (err) {\n if (err.code !== \"ENOENT\") // eslint-disable-next-line no-console\n console.log(`Unexpected error attempting to determine if executable file exists '${filePath}': ${err}`);\n }\n if (stats && stats.isFile()) {\n if (module.exports.IS_WINDOWS) {\n // on Windows, test for valid extension\n const upperExt = $ced78313b220fcb6$var$path.extname(filePath).toUpperCase();\n if (extensions.some((validExt)=>validExt.toUpperCase() === upperExt)) return filePath;\n } else {\n if ($ced78313b220fcb6$var$isUnixExecutable(stats)) return filePath;\n }\n }\n // try each extension\n const originalFilePath = filePath;\n for (const extension of extensions){\n filePath = originalFilePath + extension;\n stats = undefined;\n try {\n stats = yield module.exports.stat(filePath);\n } catch (err) {\n if (err.code !== \"ENOENT\") // eslint-disable-next-line no-console\n console.log(`Unexpected error attempting to determine if executable file exists '${filePath}': ${err}`);\n }\n if (stats && stats.isFile()) {\n if (module.exports.IS_WINDOWS) {\n // preserve the case of the actual file (since an extension was appended)\n try {\n const directory = $ced78313b220fcb6$var$path.dirname(filePath);\n const upperName = $ced78313b220fcb6$var$path.basename(filePath).toUpperCase();\n for (const actualName of yield module.exports.readdir(directory))if (upperName === actualName.toUpperCase()) {\n filePath = $ced78313b220fcb6$var$path.join(directory, actualName);\n break;\n }\n } catch (err) {\n // eslint-disable-next-line no-console\n console.log(`Unexpected error attempting to determine the actual case of the file '${filePath}': ${err}`);\n }\n return filePath;\n } else {\n if ($ced78313b220fcb6$var$isUnixExecutable(stats)) return filePath;\n }\n }\n }\n return \"\";\n });\n}\nmodule.exports.tryGetExecutablePath = $ced78313b220fcb6$var$tryGetExecutablePath;\nfunction $ced78313b220fcb6$var$normalizeSeparators(p) {\n p = p || \"\";\n if (module.exports.IS_WINDOWS) {\n // convert slashes on Windows\n p = p.replace(/\\//g, \"\\\\\");\n // remove redundant slashes\n return p.replace(/\\\\\\\\+/g, \"\\\\\");\n }\n // remove redundant slashes\n return p.replace(/\\/\\/+/g, \"/\");\n}\n// on Mac/Linux, test the execute bit\n// R W X R W X R W X\n// 256 128 64 32 16 8 4 2 1\nfunction $ced78313b220fcb6$var$isUnixExecutable(stats) {\n return (stats.mode & 1) > 0 || (stats.mode & 8) > 0 && stats.gid === process.getgid() || (stats.mode & 64) > 0 && stats.uid === process.getuid();\n}\n// Get the path of cmd.exe in windows\nfunction $ced78313b220fcb6$var$getCmdPath() {\n var _a;\n return (_a = process.env[\"COMSPEC\"]) !== null && _a !== void 0 ? _a : `cmd.exe`;\n}\nmodule.exports.getCmdPath = $ced78313b220fcb6$var$getCmdPath;\n\n});\n\n\nparcelRegister(\"hNLZB\", function(module, exports) {\n\"use strict\";\nvar $cf5c3d9c3a1defa0$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $cf5c3d9c3a1defa0$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $cf5c3d9c3a1defa0$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $cf5c3d9c3a1defa0$var$__createBinding(result, mod, k);\n }\n $cf5c3d9c3a1defa0$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $cf5c3d9c3a1defa0$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports._readLinuxVersionFile = module.exports._getOsVersion = module.exports._findMatch = void 0;\n\nconst $cf5c3d9c3a1defa0$var$semver = $cf5c3d9c3a1defa0$var$__importStar((parcelRequire(\"7t9v9\")));\n\nvar $kDRhL = parcelRequire(\"kDRhL\");\n\n\n\nfunction $cf5c3d9c3a1defa0$var$_findMatch(versionSpec, stable, candidates, archFilter) {\n return $cf5c3d9c3a1defa0$var$__awaiter(this, void 0, void 0, function*() {\n const platFilter = $aEsRD$os.platform();\n let result;\n let match;\n let file;\n for (const candidate of candidates){\n const version = candidate.version;\n $kDRhL.debug(`check ${version} satisfies ${versionSpec}`);\n if ($cf5c3d9c3a1defa0$var$semver.satisfies(version, versionSpec) && (!stable || candidate.stable === stable)) {\n file = candidate.files.find((item)=>{\n $kDRhL.debug(`${item.arch}===${archFilter} && ${item.platform}===${platFilter}`);\n let chk = item.arch === archFilter && item.platform === platFilter;\n if (chk && item.platform_version) {\n const osVersion = module.exports._getOsVersion();\n if (osVersion === item.platform_version) chk = true;\n else chk = $cf5c3d9c3a1defa0$var$semver.satisfies(osVersion, item.platform_version);\n }\n return chk;\n });\n if (file) {\n $kDRhL.debug(`matched ${candidate.version}`);\n match = candidate;\n break;\n }\n }\n }\n if (match && file) {\n // clone since we're mutating the file list to be only the file that matches\n result = Object.assign({}, match);\n result.files = [\n file\n ];\n }\n return result;\n });\n}\nmodule.exports._findMatch = $cf5c3d9c3a1defa0$var$_findMatch;\nfunction $cf5c3d9c3a1defa0$var$_getOsVersion() {\n // TODO: add windows and other linux, arm variants\n // right now filtering on version is only an ubuntu and macos scenario for tools we build for hosted (python)\n const plat = $aEsRD$os.platform();\n let version = \"\";\n if (plat === \"darwin\") version = $aEsRD$child_process.execSync(\"sw_vers -productVersion\").toString();\n else if (plat === \"linux\") {\n // lsb_release process not in some containers, readfile\n // Run cat /etc/lsb-release\n // DISTRIB_ID=Ubuntu\n // DISTRIB_RELEASE=18.04\n // DISTRIB_CODENAME=bionic\n // DISTRIB_DESCRIPTION=\"Ubuntu 18.04.4 LTS\"\n const lsbContents = module.exports._readLinuxVersionFile();\n if (lsbContents) {\n const lines = lsbContents.split(\"\\n\");\n for (const line of lines){\n const parts = line.split(\"=\");\n if (parts.length === 2 && (parts[0].trim() === \"VERSION_ID\" || parts[0].trim() === \"DISTRIB_RELEASE\")) {\n version = parts[1].trim().replace(/^\"/, \"\").replace(/\"$/, \"\");\n break;\n }\n }\n }\n }\n return version;\n}\nmodule.exports._getOsVersion = $cf5c3d9c3a1defa0$var$_getOsVersion;\nfunction $cf5c3d9c3a1defa0$var$_readLinuxVersionFile() {\n const lsbReleaseFile = \"/etc/lsb-release\";\n const osReleaseFile = \"/etc/os-release\";\n let contents = \"\";\n if ($aEsRD$fs.existsSync(lsbReleaseFile)) contents = $aEsRD$fs.readFileSync(lsbReleaseFile).toString();\n else if ($aEsRD$fs.existsSync(osReleaseFile)) contents = $aEsRD$fs.readFileSync(osReleaseFile).toString();\n return contents;\n}\nmodule.exports._readLinuxVersionFile = $cf5c3d9c3a1defa0$var$_readLinuxVersionFile;\n\n});\nparcelRegister(\"7t9v9\", function(module, exports) {\nexports = module.exports = SemVer;\nvar debug;\n/* istanbul ignore next */ if (typeof process === \"object\" && process.env && process.env.NODE_DEBUG && /\\bsemver\\b/i.test(process.env.NODE_DEBUG)) debug = function() {\n var args = Array.prototype.slice.call(arguments, 0);\n args.unshift(\"SEMVER\");\n console.log.apply(console, args);\n};\nelse debug = function() {};\n// Note: this is the semver.org version of the spec that it implements\n// Not necessarily the package version of this code.\nexports.SEMVER_SPEC_VERSION = \"2.0.0\";\nvar MAX_LENGTH = 256;\nvar MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER || /* istanbul ignore next */ 9007199254740991;\n// Max safe segment length for coercion.\nvar MAX_SAFE_COMPONENT_LENGTH = 16;\nvar MAX_SAFE_BUILD_LENGTH = MAX_LENGTH - 6;\n// The actual regexps go on exports.re\nvar re = exports.re = [];\nvar safeRe = exports.safeRe = [];\nvar src = exports.src = [];\nvar t = exports.tokens = {};\nvar R = 0;\nfunction tok(n) {\n t[n] = R++;\n}\nvar LETTERDASHNUMBER = \"[a-zA-Z0-9-]\";\n// Replace some greedy regex tokens to prevent regex dos issues. These regex are\n// used internally via the safeRe object since all inputs in this library get\n// normalized first to trim and collapse all extra whitespace. The original\n// regexes are exported for userland consumption and lower level usage. A\n// future breaking change could export the safer regex only with a note that\n// all input should have extra whitespace removed.\nvar safeRegexReplacements = [\n [\n \"\\\\s\",\n 1\n ],\n [\n \"\\\\d\",\n MAX_LENGTH\n ],\n [\n LETTERDASHNUMBER,\n MAX_SAFE_BUILD_LENGTH\n ]\n];\nfunction makeSafeRe(value) {\n for(var i = 0; i < safeRegexReplacements.length; i++){\n var token = safeRegexReplacements[i][0];\n var max = safeRegexReplacements[i][1];\n value = value.split(token + \"*\").join(token + \"{0,\" + max + \"}\").split(token + \"+\").join(token + \"{1,\" + max + \"}\");\n }\n return value;\n}\n// The following Regular Expressions can be used for tokenizing,\n// validating, and parsing SemVer version strings.\n// ## Numeric Identifier\n// A single `0`, or a non-zero digit followed by zero or more digits.\ntok(\"NUMERICIDENTIFIER\");\nsrc[t.NUMERICIDENTIFIER] = \"0|[1-9]\\\\d*\";\ntok(\"NUMERICIDENTIFIERLOOSE\");\nsrc[t.NUMERICIDENTIFIERLOOSE] = \"\\\\d+\";\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.\ntok(\"NONNUMERICIDENTIFIER\");\nsrc[t.NONNUMERICIDENTIFIER] = \"\\\\d*[a-zA-Z-]\" + LETTERDASHNUMBER + \"*\";\n// ## Main Version\n// Three dot-separated numeric identifiers.\ntok(\"MAINVERSION\");\nsrc[t.MAINVERSION] = \"(\" + src[t.NUMERICIDENTIFIER] + \")\\\\.\" + \"(\" + src[t.NUMERICIDENTIFIER] + \")\\\\.\" + \"(\" + src[t.NUMERICIDENTIFIER] + \")\";\ntok(\"MAINVERSIONLOOSE\");\nsrc[t.MAINVERSIONLOOSE] = \"(\" + src[t.NUMERICIDENTIFIERLOOSE] + \")\\\\.\" + \"(\" + src[t.NUMERICIDENTIFIERLOOSE] + \")\\\\.\" + \"(\" + src[t.NUMERICIDENTIFIERLOOSE] + \")\";\n// ## Pre-release Version Identifier\n// A numeric identifier, or a non-numeric identifier.\ntok(\"PRERELEASEIDENTIFIER\");\nsrc[t.PRERELEASEIDENTIFIER] = \"(?:\" + src[t.NUMERICIDENTIFIER] + \"|\" + src[t.NONNUMERICIDENTIFIER] + \")\";\ntok(\"PRERELEASEIDENTIFIERLOOSE\");\nsrc[t.PRERELEASEIDENTIFIERLOOSE] = \"(?:\" + src[t.NUMERICIDENTIFIERLOOSE] + \"|\" + src[t.NONNUMERICIDENTIFIER] + \")\";\n// ## Pre-release Version\n// Hyphen, followed by one or more dot-separated pre-release version\n// identifiers.\ntok(\"PRERELEASE\");\nsrc[t.PRERELEASE] = \"(?:-(\" + src[t.PRERELEASEIDENTIFIER] + \"(?:\\\\.\" + src[t.PRERELEASEIDENTIFIER] + \")*))\";\ntok(\"PRERELEASELOOSE\");\nsrc[t.PRERELEASELOOSE] = \"(?:-?(\" + src[t.PRERELEASEIDENTIFIERLOOSE] + \"(?:\\\\.\" + src[t.PRERELEASEIDENTIFIERLOOSE] + \")*))\";\n// ## Build Metadata Identifier\n// Any combination of digits, letters, or hyphens.\ntok(\"BUILDIDENTIFIER\");\nsrc[t.BUILDIDENTIFIER] = LETTERDASHNUMBER + \"+\";\n// ## Build Metadata\n// Plus sign, followed by one or more period-separated build metadata\n// identifiers.\ntok(\"BUILD\");\nsrc[t.BUILD] = \"(?:\\\\+(\" + src[t.BUILDIDENTIFIER] + \"(?:\\\\.\" + src[t.BUILDIDENTIFIER] + \")*))\";\n// ## Full Version String\n// A main version, followed optionally by a pre-release version and\n// build metadata.\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.\ntok(\"FULL\");\ntok(\"FULLPLAIN\");\nsrc[t.FULLPLAIN] = \"v?\" + src[t.MAINVERSION] + src[t.PRERELEASE] + \"?\" + src[t.BUILD] + \"?\";\nsrc[t.FULL] = \"^\" + src[t.FULLPLAIN] + \"$\";\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.\ntok(\"LOOSEPLAIN\");\nsrc[t.LOOSEPLAIN] = \"[v=\\\\s]*\" + src[t.MAINVERSIONLOOSE] + src[t.PRERELEASELOOSE] + \"?\" + src[t.BUILD] + \"?\";\ntok(\"LOOSE\");\nsrc[t.LOOSE] = \"^\" + src[t.LOOSEPLAIN] + \"$\";\ntok(\"GTLT\");\nsrc[t.GTLT] = \"((?:<|>)?=?)\";\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.\ntok(\"XRANGEIDENTIFIERLOOSE\");\nsrc[t.XRANGEIDENTIFIERLOOSE] = src[t.NUMERICIDENTIFIERLOOSE] + \"|x|X|\\\\*\";\ntok(\"XRANGEIDENTIFIER\");\nsrc[t.XRANGEIDENTIFIER] = src[t.NUMERICIDENTIFIER] + \"|x|X|\\\\*\";\ntok(\"XRANGEPLAIN\");\nsrc[t.XRANGEPLAIN] = \"[v=\\\\s]*(\" + src[t.XRANGEIDENTIFIER] + \")\" + \"(?:\\\\.(\" + src[t.XRANGEIDENTIFIER] + \")\" + \"(?:\\\\.(\" + src[t.XRANGEIDENTIFIER] + \")\" + \"(?:\" + src[t.PRERELEASE] + \")?\" + src[t.BUILD] + \"?\" + \")?)?\";\ntok(\"XRANGEPLAINLOOSE\");\nsrc[t.XRANGEPLAINLOOSE] = \"[v=\\\\s]*(\" + src[t.XRANGEIDENTIFIERLOOSE] + \")\" + \"(?:\\\\.(\" + src[t.XRANGEIDENTIFIERLOOSE] + \")\" + \"(?:\\\\.(\" + src[t.XRANGEIDENTIFIERLOOSE] + \")\" + \"(?:\" + src[t.PRERELEASELOOSE] + \")?\" + src[t.BUILD] + \"?\" + \")?)?\";\ntok(\"XRANGE\");\nsrc[t.XRANGE] = \"^\" + src[t.GTLT] + \"\\\\s*\" + src[t.XRANGEPLAIN] + \"$\";\ntok(\"XRANGELOOSE\");\nsrc[t.XRANGELOOSE] = \"^\" + src[t.GTLT] + \"\\\\s*\" + src[t.XRANGEPLAINLOOSE] + \"$\";\n// Coercion.\n// Extract anything that could conceivably be a part of a valid semver\ntok(\"COERCE\");\nsrc[t.COERCE] = \"(^|[^\\\\d])(\\\\d{1,\" + MAX_SAFE_COMPONENT_LENGTH + \"})\" + \"(?:\\\\.(\\\\d{1,\" + MAX_SAFE_COMPONENT_LENGTH + \"}))?\" + \"(?:\\\\.(\\\\d{1,\" + MAX_SAFE_COMPONENT_LENGTH + \"}))?\" + \"(?:$|[^\\\\d])\";\ntok(\"COERCERTL\");\nre[t.COERCERTL] = new RegExp(src[t.COERCE], \"g\");\nsafeRe[t.COERCERTL] = new RegExp(makeSafeRe(src[t.COERCE]), \"g\");\n// Tilde ranges.\n// Meaning is \"reasonably at or greater than\"\ntok(\"LONETILDE\");\nsrc[t.LONETILDE] = \"(?:~>?)\";\ntok(\"TILDETRIM\");\nsrc[t.TILDETRIM] = \"(\\\\s*)\" + src[t.LONETILDE] + \"\\\\s+\";\nre[t.TILDETRIM] = new RegExp(src[t.TILDETRIM], \"g\");\nsafeRe[t.TILDETRIM] = new RegExp(makeSafeRe(src[t.TILDETRIM]), \"g\");\nvar tildeTrimReplace = \"$1~\";\ntok(\"TILDE\");\nsrc[t.TILDE] = \"^\" + src[t.LONETILDE] + src[t.XRANGEPLAIN] + \"$\";\ntok(\"TILDELOOSE\");\nsrc[t.TILDELOOSE] = \"^\" + src[t.LONETILDE] + src[t.XRANGEPLAINLOOSE] + \"$\";\n// Caret ranges.\n// Meaning is \"at least and backwards compatible with\"\ntok(\"LONECARET\");\nsrc[t.LONECARET] = \"(?:\\\\^)\";\ntok(\"CARETTRIM\");\nsrc[t.CARETTRIM] = \"(\\\\s*)\" + src[t.LONECARET] + \"\\\\s+\";\nre[t.CARETTRIM] = new RegExp(src[t.CARETTRIM], \"g\");\nsafeRe[t.CARETTRIM] = new RegExp(makeSafeRe(src[t.CARETTRIM]), \"g\");\nvar caretTrimReplace = \"$1^\";\ntok(\"CARET\");\nsrc[t.CARET] = \"^\" + src[t.LONECARET] + src[t.XRANGEPLAIN] + \"$\";\ntok(\"CARETLOOSE\");\nsrc[t.CARETLOOSE] = \"^\" + src[t.LONECARET] + src[t.XRANGEPLAINLOOSE] + \"$\";\n// A simple gt/lt/eq thing, or just \"\" to indicate \"any version\"\ntok(\"COMPARATORLOOSE\");\nsrc[t.COMPARATORLOOSE] = \"^\" + src[t.GTLT] + \"\\\\s*(\" + src[t.LOOSEPLAIN] + \")$|^$\";\ntok(\"COMPARATOR\");\nsrc[t.COMPARATOR] = \"^\" + src[t.GTLT] + \"\\\\s*(\" + src[t.FULLPLAIN] + \")$|^$\";\n// An expression to strip any whitespace between the gtlt and the thing\n// it modifies, so that `> 1.2.3` ==> `>1.2.3`\ntok(\"COMPARATORTRIM\");\nsrc[t.COMPARATORTRIM] = \"(\\\\s*)\" + src[t.GTLT] + \"\\\\s*(\" + src[t.LOOSEPLAIN] + \"|\" + src[t.XRANGEPLAIN] + \")\";\n// this one has to use the /g flag\nre[t.COMPARATORTRIM] = new RegExp(src[t.COMPARATORTRIM], \"g\");\nsafeRe[t.COMPARATORTRIM] = new RegExp(makeSafeRe(src[t.COMPARATORTRIM]), \"g\");\nvar comparatorTrimReplace = \"$1$2$3\";\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.\ntok(\"HYPHENRANGE\");\nsrc[t.HYPHENRANGE] = \"^\\\\s*(\" + src[t.XRANGEPLAIN] + \")\" + \"\\\\s+-\\\\s+\" + \"(\" + src[t.XRANGEPLAIN] + \")\" + \"\\\\s*$\";\ntok(\"HYPHENRANGELOOSE\");\nsrc[t.HYPHENRANGELOOSE] = \"^\\\\s*(\" + src[t.XRANGEPLAINLOOSE] + \")\" + \"\\\\s+-\\\\s+\" + \"(\" + src[t.XRANGEPLAINLOOSE] + \")\" + \"\\\\s*$\";\n// Star ranges basically just allow anything at all.\ntok(\"STAR\");\nsrc[t.STAR] = \"(<|>)?=?\\\\s*\\\\*\";\n// Compile to actual regexp objects.\n// All are flag-free, unless they were created above with a flag.\nfor(var i = 0; i < R; i++){\n debug(i, src[i]);\n if (!re[i]) {\n re[i] = new RegExp(src[i]);\n // Replace all greedy whitespace to prevent regex dos issues. These regex are\n // used internally via the safeRe object since all inputs in this library get\n // normalized first to trim and collapse all extra whitespace. The original\n // regexes are exported for userland consumption and lower level usage. A\n // future breaking change could export the safer regex only with a note that\n // all input should have extra whitespace removed.\n safeRe[i] = new RegExp(makeSafeRe(src[i]));\n }\n}\nexports.parse = parse;\nfunction parse(version, options) {\n if (!options || typeof options !== \"object\") options = {\n loose: !!options,\n includePrerelease: false\n };\n if (version instanceof SemVer) return version;\n if (typeof version !== \"string\") return null;\n if (version.length > MAX_LENGTH) return null;\n var r = options.loose ? safeRe[t.LOOSE] : safeRe[t.FULL];\n if (!r.test(version)) return null;\n try {\n return new SemVer(version, options);\n } catch (er) {\n return null;\n }\n}\nexports.valid = valid;\nfunction valid(version, options) {\n var v = parse(version, options);\n return v ? v.version : null;\n}\nexports.clean = clean;\nfunction clean(version, options) {\n var s = parse(version.trim().replace(/^[=v]+/, \"\"), options);\n return s ? s.version : null;\n}\nexports.SemVer = SemVer;\nfunction SemVer(version, options) {\n if (!options || typeof options !== \"object\") options = {\n loose: !!options,\n includePrerelease: false\n };\n if (version instanceof SemVer) {\n if (version.loose === options.loose) return version;\n else version = version.version;\n } else if (typeof version !== \"string\") throw new TypeError(\"Invalid Version: \" + version);\n if (version.length > MAX_LENGTH) throw new TypeError(\"version is longer than \" + MAX_LENGTH + \" characters\");\n if (!(this instanceof SemVer)) return new SemVer(version, options);\n debug(\"SemVer\", version, options);\n this.options = options;\n this.loose = !!options.loose;\n var m = version.trim().match(options.loose ? safeRe[t.LOOSE] : safeRe[t.FULL]);\n if (!m) throw new TypeError(\"Invalid Version: \" + version);\n this.raw = version;\n // these are actually numbers\n this.major = +m[1];\n this.minor = +m[2];\n this.patch = +m[3];\n if (this.major > MAX_SAFE_INTEGER || this.major < 0) throw new TypeError(\"Invalid major version\");\n if (this.minor > MAX_SAFE_INTEGER || this.minor < 0) throw new TypeError(\"Invalid minor version\");\n if (this.patch > MAX_SAFE_INTEGER || this.patch < 0) throw new TypeError(\"Invalid patch version\");\n // numberify any prerelease numeric ids\n if (!m[4]) this.prerelease = [];\n else this.prerelease = m[4].split(\".\").map(function(id) {\n if (/^[0-9]+$/.test(id)) {\n var num = +id;\n if (num >= 0 && num < MAX_SAFE_INTEGER) return num;\n }\n return id;\n });\n this.build = m[5] ? m[5].split(\".\") : [];\n this.format();\n}\nSemVer.prototype.format = function() {\n this.version = this.major + \".\" + this.minor + \".\" + this.patch;\n if (this.prerelease.length) this.version += \"-\" + this.prerelease.join(\".\");\n return this.version;\n};\nSemVer.prototype.toString = function() {\n return this.version;\n};\nSemVer.prototype.compare = function(other) {\n debug(\"SemVer.compare\", this.version, this.options, other);\n if (!(other instanceof SemVer)) other = new SemVer(other, this.options);\n return this.compareMain(other) || this.comparePre(other);\n};\nSemVer.prototype.compareMain = function(other) {\n if (!(other instanceof SemVer)) other = new SemVer(other, this.options);\n return compareIdentifiers(this.major, other.major) || compareIdentifiers(this.minor, other.minor) || compareIdentifiers(this.patch, other.patch);\n};\nSemVer.prototype.comparePre = function(other) {\n if (!(other instanceof SemVer)) other = new SemVer(other, this.options);\n // NOT having a prerelease is > having one\n if (this.prerelease.length && !other.prerelease.length) return -1;\n else if (!this.prerelease.length && other.prerelease.length) return 1;\n else if (!this.prerelease.length && !other.prerelease.length) return 0;\n var i = 0;\n do {\n var a = this.prerelease[i];\n var b = other.prerelease[i];\n debug(\"prerelease compare\", i, a, b);\n if (a === undefined && b === undefined) return 0;\n else if (b === undefined) return 1;\n else if (a === undefined) return -1;\n else if (a === b) continue;\n else return compareIdentifiers(a, b);\n }while (++i);\n};\nSemVer.prototype.compareBuild = function(other) {\n if (!(other instanceof SemVer)) other = new SemVer(other, this.options);\n var i = 0;\n do {\n var a = this.build[i];\n var b = other.build[i];\n debug(\"prerelease compare\", i, a, b);\n if (a === undefined && b === undefined) return 0;\n else if (b === undefined) return 1;\n else if (a === undefined) return -1;\n else if (a === b) continue;\n else return compareIdentifiers(a, b);\n }while (++i);\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.\nSemVer.prototype.inc = function(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) this.inc(\"patch\", identifier);\n this.inc(\"pre\", identifier);\n break;\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 (this.minor !== 0 || this.patch !== 0 || this.prerelease.length === 0) this.major++;\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) this.minor++;\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) this.patch++;\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) this.prerelease = [\n 0\n ];\n else {\n var i = this.prerelease.length;\n while(--i >= 0)if (typeof this.prerelease[i] === \"number\") {\n this.prerelease[i]++;\n i = -2;\n }\n if (i === -1) // didn't increment anything\n this.prerelease.push(0);\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 (this.prerelease[0] === identifier) {\n if (isNaN(this.prerelease[1])) this.prerelease = [\n identifier,\n 0\n ];\n } else this.prerelease = [\n identifier,\n 0\n ];\n }\n break;\n default:\n throw new Error(\"invalid increment argument: \" + release);\n }\n this.format();\n this.raw = this.version;\n return this;\n};\nexports.inc = inc;\nfunction inc(version, release, loose, identifier) {\n if (typeof loose === \"string\") {\n identifier = loose;\n loose = undefined;\n }\n try {\n return new SemVer(version, loose).inc(release, identifier).version;\n } catch (er) {\n return null;\n }\n}\nexports.diff = diff;\nfunction diff(version1, version2) {\n if (eq(version1, version2)) return null;\n else {\n var v1 = parse(version1);\n var v2 = parse(version2);\n var prefix = \"\";\n if (v1.prerelease.length || v2.prerelease.length) {\n prefix = \"pre\";\n var defaultResult = \"prerelease\";\n }\n for(var key in v1)if (key === \"major\" || key === \"minor\" || key === \"patch\") {\n if (v1[key] !== v2[key]) return prefix + key;\n }\n return defaultResult // may be undefined\n ;\n }\n}\nexports.compareIdentifiers = compareIdentifiers;\nvar numeric = /^[0-9]+$/;\nfunction compareIdentifiers(a, b) {\n var anum = numeric.test(a);\n var bnum = numeric.test(b);\n if (anum && bnum) {\n a = +a;\n b = +b;\n }\n return a === b ? 0 : anum && !bnum ? -1 : bnum && !anum ? 1 : a < b ? -1 : 1;\n}\nexports.rcompareIdentifiers = rcompareIdentifiers;\nfunction rcompareIdentifiers(a, b) {\n return compareIdentifiers(b, a);\n}\nexports.major = major;\nfunction major(a, loose) {\n return new SemVer(a, loose).major;\n}\nexports.minor = minor;\nfunction minor(a, loose) {\n return new SemVer(a, loose).minor;\n}\nexports.patch = patch;\nfunction patch(a, loose) {\n return new SemVer(a, loose).patch;\n}\nexports.compare = compare;\nfunction compare(a, b, loose) {\n return new SemVer(a, loose).compare(new SemVer(b, loose));\n}\nexports.compareLoose = compareLoose;\nfunction compareLoose(a, b) {\n return compare(a, b, true);\n}\nexports.compareBuild = compareBuild;\nfunction compareBuild(a, b, loose) {\n var versionA = new SemVer(a, loose);\n var versionB = new SemVer(b, loose);\n return versionA.compare(versionB) || versionA.compareBuild(versionB);\n}\nexports.rcompare = rcompare;\nfunction rcompare(a, b, loose) {\n return compare(b, a, loose);\n}\nexports.sort = sort;\nfunction sort(list, loose) {\n return list.sort(function(a, b) {\n return exports.compareBuild(a, b, loose);\n });\n}\nexports.rsort = rsort;\nfunction rsort(list, loose) {\n return list.sort(function(a, b) {\n return exports.compareBuild(b, a, loose);\n });\n}\nexports.gt = gt;\nfunction gt(a, b, loose) {\n return compare(a, b, loose) > 0;\n}\nexports.lt = lt;\nfunction lt(a, b, loose) {\n return compare(a, b, loose) < 0;\n}\nexports.eq = eq;\nfunction eq(a, b, loose) {\n return compare(a, b, loose) === 0;\n}\nexports.neq = neq;\nfunction neq(a, b, loose) {\n return compare(a, b, loose) !== 0;\n}\nexports.gte = gte;\nfunction gte(a, b, loose) {\n return compare(a, b, loose) >= 0;\n}\nexports.lte = lte;\nfunction lte(a, b, loose) {\n return compare(a, b, loose) <= 0;\n}\nexports.cmp = cmp;\nfunction cmp(a, op, b, loose) {\n switch(op){\n case \"===\":\n if (typeof a === \"object\") a = a.version;\n if (typeof b === \"object\") b = b.version;\n return a === b;\n case \"!==\":\n if (typeof a === \"object\") a = a.version;\n if (typeof b === \"object\") b = b.version;\n return a !== b;\n case \"\":\n case \"=\":\n case \"==\":\n return eq(a, b, loose);\n case \"!=\":\n return neq(a, b, loose);\n case \">\":\n return gt(a, b, loose);\n case \">=\":\n return gte(a, b, loose);\n case \"<\":\n return lt(a, b, loose);\n case \"<=\":\n return lte(a, b, loose);\n default:\n throw new TypeError(\"Invalid operator: \" + op);\n }\n}\nexports.Comparator = Comparator;\nfunction Comparator(comp, options) {\n if (!options || typeof options !== \"object\") options = {\n loose: !!options,\n includePrerelease: false\n };\n if (comp instanceof Comparator) {\n if (comp.loose === !!options.loose) return comp;\n else comp = comp.value;\n }\n if (!(this instanceof Comparator)) return new Comparator(comp, options);\n comp = comp.trim().split(/\\s+/).join(\" \");\n debug(\"comparator\", comp, options);\n this.options = options;\n this.loose = !!options.loose;\n this.parse(comp);\n if (this.semver === ANY) this.value = \"\";\n else this.value = this.operator + this.semver.version;\n debug(\"comp\", this);\n}\nvar ANY = {};\nComparator.prototype.parse = function(comp) {\n var r = this.options.loose ? safeRe[t.COMPARATORLOOSE] : safeRe[t.COMPARATOR];\n var m = comp.match(r);\n if (!m) throw new TypeError(\"Invalid comparator: \" + comp);\n this.operator = m[1] !== undefined ? m[1] : \"\";\n if (this.operator === \"=\") this.operator = \"\";\n // if it literally is just '>' or '' then allow anything.\n if (!m[2]) this.semver = ANY;\n else this.semver = new SemVer(m[2], this.options.loose);\n};\nComparator.prototype.toString = function() {\n return this.value;\n};\nComparator.prototype.test = function(version) {\n debug(\"Comparator.test\", version, this.options.loose);\n if (this.semver === ANY || version === ANY) return true;\n if (typeof version === \"string\") try {\n version = new SemVer(version, this.options);\n } catch (er) {\n return false;\n }\n return cmp(version, this.operator, this.semver, this.options);\n};\nComparator.prototype.intersects = function(comp, options) {\n if (!(comp instanceof Comparator)) throw new TypeError(\"a Comparator is required\");\n if (!options || typeof options !== \"object\") options = {\n loose: !!options,\n includePrerelease: false\n };\n var rangeTmp;\n if (this.operator === \"\") {\n if (this.value === \"\") return true;\n rangeTmp = new Range(comp.value, options);\n return satisfies(this.value, rangeTmp, options);\n } else if (comp.operator === \"\") {\n if (comp.value === \"\") return true;\n rangeTmp = new Range(this.value, options);\n return satisfies(comp.semver, rangeTmp, options);\n }\n var sameDirectionIncreasing = (this.operator === \">=\" || this.operator === \">\") && (comp.operator === \">=\" || comp.operator === \">\");\n var sameDirectionDecreasing = (this.operator === \"<=\" || this.operator === \"<\") && (comp.operator === \"<=\" || comp.operator === \"<\");\n var sameSemVer = this.semver.version === comp.semver.version;\n var differentDirectionsInclusive = (this.operator === \">=\" || this.operator === \"<=\") && (comp.operator === \">=\" || comp.operator === \"<=\");\n var oppositeDirectionsLessThan = cmp(this.semver, \"<\", comp.semver, options) && (this.operator === \">=\" || this.operator === \">\") && (comp.operator === \"<=\" || comp.operator === \"<\");\n var oppositeDirectionsGreaterThan = cmp(this.semver, \">\", comp.semver, options) && (this.operator === \"<=\" || this.operator === \"<\") && (comp.operator === \">=\" || comp.operator === \">\");\n return sameDirectionIncreasing || sameDirectionDecreasing || sameSemVer && differentDirectionsInclusive || oppositeDirectionsLessThan || oppositeDirectionsGreaterThan;\n};\nexports.Range = Range;\nfunction Range(range, options) {\n if (!options || typeof options !== \"object\") options = {\n loose: !!options,\n includePrerelease: false\n };\n if (range instanceof Range) {\n if (range.loose === !!options.loose && range.includePrerelease === !!options.includePrerelease) return range;\n else return new Range(range.raw, options);\n }\n if (range instanceof Comparator) return new Range(range.value, options);\n if (!(this instanceof Range)) return new Range(range, options);\n this.options = options;\n this.loose = !!options.loose;\n this.includePrerelease = !!options.includePrerelease;\n // First reduce all whitespace as much as possible so we do not have to rely\n // on potentially slow regexes like \\s*. This is then stored and used for\n // future error messages as well.\n this.raw = range.trim().split(/\\s+/).join(\" \");\n // First, split based on boolean or ||\n this.set = this.raw.split(\"||\").map(function(range) {\n return this.parseRange(range.trim());\n }, this).filter(function(c) {\n // throw out any that are not relevant for whatever reason\n return c.length;\n });\n if (!this.set.length) throw new TypeError(\"Invalid SemVer Range: \" + this.raw);\n this.format();\n}\nRange.prototype.format = function() {\n this.range = this.set.map(function(comps) {\n return comps.join(\" \").trim();\n }).join(\"||\").trim();\n return this.range;\n};\nRange.prototype.toString = function() {\n return this.range;\n};\nRange.prototype.parseRange = function(range) {\n var loose = this.options.loose;\n // `1.2.3 - 1.2.4` => `>=1.2.3 <=1.2.4`\n var hr = loose ? safeRe[t.HYPHENRANGELOOSE] : safeRe[t.HYPHENRANGE];\n range = range.replace(hr, hyphenReplace);\n debug(\"hyphen replace\", range);\n // `> 1.2.3 < 1.2.5` => `>1.2.3 <1.2.5`\n range = range.replace(safeRe[t.COMPARATORTRIM], comparatorTrimReplace);\n debug(\"comparator trim\", range, safeRe[t.COMPARATORTRIM]);\n // `~ 1.2.3` => `~1.2.3`\n range = range.replace(safeRe[t.TILDETRIM], tildeTrimReplace);\n // `^ 1.2.3` => `^1.2.3`\n range = range.replace(safeRe[t.CARETTRIM], caretTrimReplace);\n // normalize spaces\n range = range.split(/\\s+/).join(\" \");\n // At this point, the range is completely trimmed and\n // ready to be split into comparators.\n var compRe = loose ? safeRe[t.COMPARATORLOOSE] : safeRe[t.COMPARATOR];\n var set = range.split(\" \").map(function(comp) {\n return parseComparator(comp, this.options);\n }, this).join(\" \").split(/\\s+/);\n if (this.options.loose) // in loose mode, throw out any that are not valid comparators\n set = set.filter(function(comp) {\n return !!comp.match(compRe);\n });\n set = set.map(function(comp) {\n return new Comparator(comp, this.options);\n }, this);\n return set;\n};\nRange.prototype.intersects = function(range, options) {\n if (!(range instanceof Range)) throw new TypeError(\"a Range is required\");\n return this.set.some(function(thisComparators) {\n return isSatisfiable(thisComparators, options) && range.set.some(function(rangeComparators) {\n return isSatisfiable(rangeComparators, options) && thisComparators.every(function(thisComparator) {\n return rangeComparators.every(function(rangeComparator) {\n return thisComparator.intersects(rangeComparator, options);\n });\n });\n });\n });\n};\n// take a set of comparators and determine whether there\n// exists a version which can satisfy it\nfunction isSatisfiable(comparators, options) {\n var result = true;\n var remainingComparators = comparators.slice();\n var testComparator = remainingComparators.pop();\n while(result && remainingComparators.length){\n result = remainingComparators.every(function(otherComparator) {\n return testComparator.intersects(otherComparator, options);\n });\n testComparator = remainingComparators.pop();\n }\n return result;\n}\n// Mostly just for testing and legacy API reasons\nexports.toComparators = toComparators;\nfunction toComparators(range, options) {\n return new Range(range, options).set.map(function(comp) {\n return comp.map(function(c) {\n return c.value;\n }).join(\" \").trim().split(\" \");\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.\nfunction 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}\nfunction isX(id) {\n return !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\n// ~2.0, ~2.0.x, ~>2.0, ~>2.0.x --> >=2.0.0 <2.1.0\n// ~1.2, ~1.2.x, ~>1.2, ~>1.2.x --> >=1.2.0 <1.3.0\n// ~1.2.3, ~>1.2.3 --> >=1.2.3 <1.3.0\n// ~1.2.0, ~>1.2.0 --> >=1.2.0 <1.3.0\nfunction replaceTildes(comp, options) {\n return comp.trim().split(/\\s+/).map(function(comp) {\n return replaceTilde(comp, options);\n }).join(\" \");\n}\nfunction replaceTilde(comp, options) {\n var r = options.loose ? safeRe[t.TILDELOOSE] : safeRe[t.TILDE];\n return comp.replace(r, function(_, M, m, p, pr) {\n debug(\"tilde\", comp, _, M, m, p, pr);\n var ret;\n if (isX(M)) ret = \"\";\n else if (isX(m)) ret = \">=\" + M + \".0.0 <\" + (+M + 1) + \".0.0\";\n else if (isX(p)) // ~1.2 == >=1.2.0 <1.3.0\n ret = \">=\" + M + \".\" + m + \".0 <\" + M + \".\" + (+m + 1) + \".0\";\n else if (pr) {\n debug(\"replaceTilde pr\", pr);\n ret = \">=\" + M + \".\" + m + \".\" + p + \"-\" + pr + \" <\" + M + \".\" + (+m + 1) + \".0\";\n } else // ~1.2.3 == >=1.2.3 <1.3.0\n ret = \">=\" + M + \".\" + m + \".\" + p + \" <\" + M + \".\" + (+m + 1) + \".0\";\n debug(\"tilde return\", ret);\n return ret;\n });\n}\n// ^ --> * (any, kinda silly)\n// ^2, ^2.x, ^2.x.x --> >=2.0.0 <3.0.0\n// ^2.0, ^2.0.x --> >=2.0.0 <3.0.0\n// ^1.2, ^1.2.x --> >=1.2.0 <2.0.0\n// ^1.2.3 --> >=1.2.3 <2.0.0\n// ^1.2.0 --> >=1.2.0 <2.0.0\nfunction replaceCarets(comp, options) {\n return comp.trim().split(/\\s+/).map(function(comp) {\n return replaceCaret(comp, options);\n }).join(\" \");\n}\nfunction replaceCaret(comp, options) {\n debug(\"caret\", comp, options);\n var r = options.loose ? safeRe[t.CARETLOOSE] : safeRe[t.CARET];\n return comp.replace(r, function(_, M, m, p, pr) {\n debug(\"caret\", comp, _, M, m, p, pr);\n var ret;\n if (isX(M)) ret = \"\";\n else if (isX(m)) ret = \">=\" + M + \".0.0 <\" + (+M + 1) + \".0.0\";\n else if (isX(p)) {\n if (M === \"0\") ret = \">=\" + M + \".\" + m + \".0 <\" + M + \".\" + (+m + 1) + \".0\";\n else ret = \">=\" + M + \".\" + m + \".0 <\" + (+M + 1) + \".0.0\";\n } else if (pr) {\n debug(\"replaceCaret pr\", pr);\n if (M === \"0\") {\n if (m === \"0\") ret = \">=\" + M + \".\" + m + \".\" + p + \"-\" + pr + \" <\" + M + \".\" + m + \".\" + (+p + 1);\n else ret = \">=\" + M + \".\" + m + \".\" + p + \"-\" + pr + \" <\" + M + \".\" + (+m + 1) + \".0\";\n } else ret = \">=\" + M + \".\" + m + \".\" + p + \"-\" + pr + \" <\" + (+M + 1) + \".0.0\";\n } else {\n debug(\"no pr\");\n if (M === \"0\") {\n if (m === \"0\") ret = \">=\" + M + \".\" + m + \".\" + p + \" <\" + M + \".\" + m + \".\" + (+p + 1);\n else ret = \">=\" + M + \".\" + m + \".\" + p + \" <\" + M + \".\" + (+m + 1) + \".0\";\n } else ret = \">=\" + M + \".\" + m + \".\" + p + \" <\" + (+M + 1) + \".0.0\";\n }\n debug(\"caret return\", ret);\n return ret;\n });\n}\nfunction replaceXRanges(comp, options) {\n debug(\"replaceXRanges\", comp, options);\n return comp.split(/\\s+/).map(function(comp) {\n return replaceXRange(comp, options);\n }).join(\" \");\n}\nfunction replaceXRange(comp, options) {\n comp = comp.trim();\n var r = options.loose ? safeRe[t.XRANGELOOSE] : safeRe[t.XRANGE];\n return comp.replace(r, function(ret, gtlt, M, m, p, pr) {\n debug(\"xRange\", comp, ret, gtlt, M, m, p, pr);\n var xM = isX(M);\n var xm = xM || isX(m);\n var xp = xm || isX(p);\n var anyX = xp;\n if (gtlt === \"=\" && anyX) gtlt = \"\";\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 if (xM) {\n if (gtlt === \">\" || gtlt === \"<\") // nothing is allowed\n ret = \"<0.0.0-0\";\n else // nothing is forbidden\n ret = \"*\";\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) m = 0;\n p = 0;\n if (gtlt === \">\") {\n // >1 => >=2.0.0\n // >1.2 => >=1.3.0\n // >1.2.3 => >= 1.2.4\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) M = +M + 1;\n else m = +m + 1;\n }\n ret = gtlt + M + \".\" + m + \".\" + p + pr;\n } else if (xm) ret = \">=\" + M + \".0.0\" + pr + \" <\" + (+M + 1) + \".0.0\" + pr;\n else if (xp) ret = \">=\" + M + \".\" + m + \".0\" + pr + \" <\" + M + \".\" + (+m + 1) + \".0\" + pr;\n debug(\"xRange return\", ret);\n return ret;\n });\n}\n// Because * is AND-ed with everything else in the comparator,\n// and '' means \"any version\", just remove the *s entirely.\nfunction 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(safeRe[t.STAR], \"\");\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 Any 3.4.x will do\n// 1.2 - 3.4 => >=1.2.0 <3.5.0\nfunction hyphenReplace($0, from, fM, fm, fp, fpr, fb, to, tM, tm, tp, tpr, tb) {\n if (isX(fM)) from = \"\";\n else if (isX(fm)) from = \">=\" + fM + \".0.0\";\n else if (isX(fp)) from = \">=\" + fM + \".\" + fm + \".0\";\n else from = \">=\" + from;\n if (isX(tM)) to = \"\";\n else if (isX(tm)) to = \"<\" + (+tM + 1) + \".0.0\";\n else if (isX(tp)) to = \"<\" + tM + \".\" + (+tm + 1) + \".0\";\n else if (tpr) to = \"<=\" + tM + \".\" + tm + \".\" + tp + \"-\" + tpr;\n else to = \"<=\" + to;\n return (from + \" \" + to).trim();\n}\n// if ANY of the sets match ALL of its comparators, then pass\nRange.prototype.test = function(version) {\n if (!version) return false;\n if (typeof version === \"string\") try {\n version = new SemVer(version, this.options);\n } catch (er) {\n return false;\n }\n for(var i = 0; i < this.set.length; i++){\n if (testSet(this.set[i], version, this.options)) return true;\n }\n return false;\n};\nfunction testSet(set, version, options) {\n for(var i = 0; i < set.length; i++){\n if (!set[i].test(version)) return false;\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(i = 0; i < set.length; i++){\n debug(set[i].semver);\n if (set[i].semver === ANY) continue;\n if (set[i].semver.prerelease.length > 0) {\n var allowed = set[i].semver;\n if (allowed.major === version.major && allowed.minor === version.minor && allowed.patch === version.patch) return true;\n }\n }\n // Version has a -pre, but it's not one of the ones we like.\n return false;\n }\n return true;\n}\nexports.satisfies = satisfies;\nfunction 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}\nexports.maxSatisfying = maxSatisfying;\nfunction maxSatisfying(versions, range, options) {\n var max = null;\n var maxSV = null;\n try {\n var rangeObj = new Range(range, options);\n } catch (er) {\n return null;\n }\n versions.forEach(function(v) {\n if (rangeObj.test(v)) // satisfies(v, range, options)\n {\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}\nexports.minSatisfying = minSatisfying;\nfunction minSatisfying(versions, range, options) {\n var min = null;\n var minSV = null;\n try {\n var rangeObj = new Range(range, options);\n } catch (er) {\n return null;\n }\n versions.forEach(function(v) {\n if (rangeObj.test(v)) // satisfies(v, range, options)\n {\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}\nexports.minVersion = minVersion;\nfunction minVersion(range, loose) {\n range = new Range(range, loose);\n var minver = new SemVer(\"0.0.0\");\n if (range.test(minver)) return minver;\n minver = new SemVer(\"0.0.0-0\");\n if (range.test(minver)) return minver;\n minver = null;\n for(var i = 0; i < range.set.length; ++i){\n var comparators = range.set[i];\n comparators.forEach(function(comparator) {\n // Clone to avoid manipulating the comparator's semver object.\n var compver = new SemVer(comparator.semver.version);\n switch(comparator.operator){\n case \">\":\n if (compver.prerelease.length === 0) compver.patch++;\n else compver.prerelease.push(0);\n compver.raw = compver.format();\n /* fallthrough */ case \"\":\n case \">=\":\n if (!minver || gt(minver, compver)) minver = compver;\n break;\n case \"<\":\n case \"<=\":\n break;\n /* istanbul ignore next */ default:\n throw new Error(\"Unexpected operation: \" + comparator.operator);\n }\n });\n }\n if (minver && range.test(minver)) return minver;\n return null;\n}\nexports.validRange = validRange;\nfunction 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}\n// Determine if version is less than all the versions possible in the range\nexports.ltr = ltr;\nfunction ltr(version, range, options) {\n return outside(version, range, \"<\", options);\n}\n// Determine if version is greater than all the versions possible in the range.\nexports.gtr = gtr;\nfunction gtr(version, range, options) {\n return outside(version, range, \">\", options);\n}\nexports.outside = outside;\nfunction outside(version, range, hilo, options) {\n version = new SemVer(version, options);\n range = new Range(range, options);\n var 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 // If it satisifes the range it is not outside\n if (satisfies(version, range, options)) return false;\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 for(var i = 0; i < range.set.length; ++i){\n var comparators = range.set[i];\n var high = null;\n var low = null;\n comparators.forEach(function(comparator) {\n if (comparator.semver === ANY) comparator = new Comparator(\">=0.0.0\");\n high = high || comparator;\n low = low || comparator;\n if (gtfn(comparator.semver, high.semver, options)) high = comparator;\n else if (ltfn(comparator.semver, low.semver, options)) low = comparator;\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) return false;\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) && ltefn(version, low.semver)) return false;\n else if (low.operator === ecomp && ltfn(version, low.semver)) return false;\n }\n return true;\n}\nexports.prerelease = prerelease;\nfunction prerelease(version, options) {\n var parsed = parse(version, options);\n return parsed && parsed.prerelease.length ? parsed.prerelease : null;\n}\nexports.intersects = intersects;\nfunction intersects(r1, r2, options) {\n r1 = new Range(r1, options);\n r2 = new Range(r2, options);\n return r1.intersects(r2);\n}\nexports.coerce = coerce;\nfunction coerce(version, options) {\n if (version instanceof SemVer) return version;\n if (typeof version === \"number\") version = String(version);\n if (typeof version !== \"string\") return null;\n options = options || {};\n var match = null;\n if (!options.rtl) match = version.match(safeRe[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 var next;\n while((next = safeRe[t.COERCERTL].exec(version)) && (!match || match.index + match[0].length !== version.length)){\n if (!match || next.index + next[0].length !== match.index + match[0].length) match = next;\n safeRe[t.COERCERTL].lastIndex = next.index + next[1].length + next[2].length;\n }\n // leave it in a clean state\n safeRe[t.COERCERTL].lastIndex = -1;\n }\n if (match === null) return null;\n return parse(match[2] + \".\" + (match[3] || \"0\") + \".\" + (match[4] || \"0\"), options);\n}\n\n});\n\n\nparcelRegister(\"6M6mp\", function(module, exports) {\n\nvar $h6Ytr = parcelRequire(\"h6Ytr\");\n\nvar $fJp7c = parcelRequire(\"fJp7c\");\nfunction $4eec28ce8082ab75$var$v4(options, buf, offset) {\n var i = buf && offset || 0;\n if (typeof options == \"string\") {\n buf = options === \"binary\" ? new Array(16) : null;\n options = null;\n }\n options = options || {};\n var rnds = options.random || (options.rng || $h6Ytr)();\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 // Copy bytes to buffer, if provided\n if (buf) for(var ii = 0; ii < 16; ++ii)buf[i + ii] = rnds[ii];\n return buf || $fJp7c(rnds);\n}\nmodule.exports = $4eec28ce8082ab75$var$v4;\n\n});\nparcelRegister(\"h6Ytr\", function(module, exports) {\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\nmodule.exports = function nodeRNG() {\n return $aEsRD$crypto.randomBytes(16);\n};\n\n});\n\nparcelRegister(\"fJp7c\", function(module, exports) {\n/**\n * Convert array of 16 byte values to UUID string format of the form:\n * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\n */ var $b73e8a531564763c$var$byteToHex = [];\nfor(var $b73e8a531564763c$var$i = 0; $b73e8a531564763c$var$i < 256; ++$b73e8a531564763c$var$i)$b73e8a531564763c$var$byteToHex[$b73e8a531564763c$var$i] = ($b73e8a531564763c$var$i + 0x100).toString(16).substr(1);\nfunction $b73e8a531564763c$var$bytesToUuid(buf, offset) {\n var i = offset || 0;\n var bth = $b73e8a531564763c$var$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++]],\n bth[buf[i++]],\n bth[buf[i++]],\n bth[buf[i++]],\n \"-\",\n bth[buf[i++]],\n bth[buf[i++]],\n \"-\",\n bth[buf[i++]],\n bth[buf[i++]],\n \"-\",\n bth[buf[i++]],\n bth[buf[i++]],\n \"-\",\n bth[buf[i++]],\n bth[buf[i++]],\n bth[buf[i++]],\n bth[buf[i++]],\n bth[buf[i++]],\n bth[buf[i++]]\n ].join(\"\");\n}\nmodule.exports = $b73e8a531564763c$var$bytesToUuid;\n\n});\n\n\nparcelRegister(\"7J8UA\", function(module, exports) {\n\"use strict\";\nvar $5a03a60ce363b780$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $5a03a60ce363b780$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $5a03a60ce363b780$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $5a03a60ce363b780$var$__createBinding(result, mod, k);\n }\n $5a03a60ce363b780$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $5a03a60ce363b780$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.getExecOutput = module.exports.exec = void 0;\n\n\nconst $5a03a60ce363b780$var$tr = $5a03a60ce363b780$var$__importStar((parcelRequire(\"eIh8d\")));\n/**\n * Exec a command.\n * Output will be streamed to the live console.\n * Returns promise with return code\n *\n * @param commandLine command to execute (can include additional args). Must be correctly escaped.\n * @param args optional arguments for tool. Escaping is handled by the lib.\n * @param options optional exec options. See ExecOptions\n * @returns Promise exit code\n */ function $5a03a60ce363b780$var$exec(commandLine, args, options) {\n return $5a03a60ce363b780$var$__awaiter(this, void 0, void 0, function*() {\n const commandArgs = $5a03a60ce363b780$var$tr.argStringToArray(commandLine);\n if (commandArgs.length === 0) throw new Error(`Parameter 'commandLine' cannot be null or empty.`);\n // Path to tool to execute should be first arg\n const toolPath = commandArgs[0];\n args = commandArgs.slice(1).concat(args || []);\n const runner = new $5a03a60ce363b780$var$tr.ToolRunner(toolPath, args, options);\n return runner.exec();\n });\n}\nmodule.exports.exec = $5a03a60ce363b780$var$exec;\n/**\n * Exec a command and get the output.\n * Output will be streamed to the live console.\n * Returns promise with the exit code and collected stdout and stderr\n *\n * @param commandLine command to execute (can include additional args). Must be correctly escaped.\n * @param args optional arguments for tool. Escaping is handled by the lib.\n * @param options optional exec options. See ExecOptions\n * @returns Promise exit code, stdout, and stderr\n */ function $5a03a60ce363b780$var$getExecOutput(commandLine, args, options) {\n var _a, _b;\n return $5a03a60ce363b780$var$__awaiter(this, void 0, void 0, function*() {\n let stdout = \"\";\n let stderr = \"\";\n //Using string decoder covers the case where a mult-byte character is split\n const stdoutDecoder = new $aEsRD$string_decoder.StringDecoder(\"utf8\");\n const stderrDecoder = new $aEsRD$string_decoder.StringDecoder(\"utf8\");\n const originalStdoutListener = (_a = options === null || options === void 0 ? void 0 : options.listeners) === null || _a === void 0 ? void 0 : _a.stdout;\n const originalStdErrListener = (_b = options === null || options === void 0 ? void 0 : options.listeners) === null || _b === void 0 ? void 0 : _b.stderr;\n const stdErrListener = (data)=>{\n stderr += stderrDecoder.write(data);\n if (originalStdErrListener) originalStdErrListener(data);\n };\n const stdOutListener = (data)=>{\n stdout += stdoutDecoder.write(data);\n if (originalStdoutListener) originalStdoutListener(data);\n };\n const listeners = Object.assign(Object.assign({}, options === null || options === void 0 ? void 0 : options.listeners), {\n stdout: stdOutListener,\n stderr: stdErrListener\n });\n const exitCode = yield $5a03a60ce363b780$var$exec(commandLine, args, Object.assign(Object.assign({}, options), {\n listeners: listeners\n }));\n //flush any remaining characters\n stdout += stdoutDecoder.end();\n stderr += stderrDecoder.end();\n return {\n exitCode: exitCode,\n stdout: stdout,\n stderr: stderr\n };\n });\n}\nmodule.exports.getExecOutput = $5a03a60ce363b780$var$getExecOutput;\n\n});\nparcelRegister(\"eIh8d\", function(module, exports) {\n\"use strict\";\nvar $ab6276b1673f63a2$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $ab6276b1673f63a2$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $ab6276b1673f63a2$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $ab6276b1673f63a2$var$__createBinding(result, mod, k);\n }\n $ab6276b1673f63a2$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $ab6276b1673f63a2$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.argStringToArray = module.exports.ToolRunner = void 0;\n\nconst $ab6276b1673f63a2$var$os = $ab6276b1673f63a2$var$__importStar($aEsRD$os);\n\nconst $ab6276b1673f63a2$var$events = $ab6276b1673f63a2$var$__importStar($aEsRD$events);\n\nconst $ab6276b1673f63a2$var$child = $ab6276b1673f63a2$var$__importStar($aEsRD$child_process);\n\nconst $ab6276b1673f63a2$var$path = $ab6276b1673f63a2$var$__importStar($aEsRD$path);\n\nconst $ab6276b1673f63a2$var$io = $ab6276b1673f63a2$var$__importStar((parcelRequire(\"alxPC\")));\n\nconst $ab6276b1673f63a2$var$ioUtil = $ab6276b1673f63a2$var$__importStar((parcelRequire(\"hL0ST\")));\n\n/* eslint-disable @typescript-eslint/unbound-method */ const $ab6276b1673f63a2$var$IS_WINDOWS = process.platform === \"win32\";\n/*\n * Class for running command line tools. Handles quoting and arg parsing in a platform agnostic way.\n */ class $ab6276b1673f63a2$var$ToolRunner extends $ab6276b1673f63a2$var$events.EventEmitter {\n constructor(toolPath, args, options){\n super();\n if (!toolPath) throw new Error(\"Parameter 'toolPath' cannot be null or empty.\");\n this.toolPath = toolPath;\n this.args = args || [];\n this.options = options || {};\n }\n _debug(message) {\n if (this.options.listeners && this.options.listeners.debug) this.options.listeners.debug(message);\n }\n _getCommandString(options, noPrefix) {\n const toolPath = this._getSpawnFileName();\n const args = this._getSpawnArgs(options);\n let cmd = noPrefix ? \"\" : \"[command]\"; // omit prefix when piped to a second tool\n if ($ab6276b1673f63a2$var$IS_WINDOWS) {\n // Windows + cmd file\n if (this._isCmdFile()) {\n cmd += toolPath;\n for (const a of args)cmd += ` ${a}`;\n } else if (options.windowsVerbatimArguments) {\n cmd += `\"${toolPath}\"`;\n for (const a of args)cmd += ` ${a}`;\n } else {\n cmd += this._windowsQuoteCmdArg(toolPath);\n for (const a of args)cmd += ` ${this._windowsQuoteCmdArg(a)}`;\n }\n } else {\n // OSX/Linux - this can likely be improved with some form of quoting.\n // creating processes on Unix is fundamentally different than Windows.\n // on Unix, execvp() takes an arg array.\n cmd += toolPath;\n for (const a of args)cmd += ` ${a}`;\n }\n return cmd;\n }\n _processLineBuffer(data, strBuffer, onLine) {\n try {\n let s = strBuffer + data.toString();\n let n = s.indexOf($ab6276b1673f63a2$var$os.EOL);\n while(n > -1){\n const line = s.substring(0, n);\n onLine(line);\n // the rest of the string ...\n s = s.substring(n + $ab6276b1673f63a2$var$os.EOL.length);\n n = s.indexOf($ab6276b1673f63a2$var$os.EOL);\n }\n return s;\n } catch (err) {\n // streaming lines to console is best effort. Don't fail a build.\n this._debug(`error processing line. Failed with error ${err}`);\n return \"\";\n }\n }\n _getSpawnFileName() {\n if ($ab6276b1673f63a2$var$IS_WINDOWS) {\n if (this._isCmdFile()) return process.env[\"COMSPEC\"] || \"cmd.exe\";\n }\n return this.toolPath;\n }\n _getSpawnArgs(options) {\n if ($ab6276b1673f63a2$var$IS_WINDOWS) {\n if (this._isCmdFile()) {\n let argline = `/D /S /C \"${this._windowsQuoteCmdArg(this.toolPath)}`;\n for (const a of this.args){\n argline += \" \";\n argline += options.windowsVerbatimArguments ? a : this._windowsQuoteCmdArg(a);\n }\n argline += '\"';\n return [\n argline\n ];\n }\n }\n return this.args;\n }\n _endsWith(str, end) {\n return str.endsWith(end);\n }\n _isCmdFile() {\n const upperToolPath = this.toolPath.toUpperCase();\n return this._endsWith(upperToolPath, \".CMD\") || this._endsWith(upperToolPath, \".BAT\");\n }\n _windowsQuoteCmdArg(arg) {\n // for .exe, apply the normal quoting rules that libuv applies\n if (!this._isCmdFile()) return this._uvQuoteCmdArg(arg);\n // otherwise apply quoting rules specific to the cmd.exe command line parser.\n // the libuv rules are generic and are not designed specifically for cmd.exe\n // command line parser.\n //\n // for a detailed description of the cmd.exe command line parser, refer to\n // http://stackoverflow.com/questions/4094699/how-does-the-windows-command-interpreter-cmd-exe-parse-scripts/7970912#7970912\n // need quotes for empty arg\n if (!arg) return '\"\"';\n // determine whether the arg needs to be quoted\n const cmdSpecialChars = [\n \" \",\n \"\t\",\n \"&\",\n \"(\",\n \")\",\n \"[\",\n \"]\",\n \"{\",\n \"}\",\n \"^\",\n \"=\",\n \";\",\n \"!\",\n \"'\",\n \"+\",\n \",\",\n \"`\",\n \"~\",\n \"|\",\n \"<\",\n \">\",\n '\"'\n ];\n let needsQuotes = false;\n for (const char of arg)if (cmdSpecialChars.some((x)=>x === char)) {\n needsQuotes = true;\n break;\n }\n // short-circuit if quotes not needed\n if (!needsQuotes) return arg;\n // the following quoting rules are very similar to the rules that by libuv applies.\n //\n // 1) wrap the string in quotes\n //\n // 2) double-up quotes - i.e. \" => \"\"\n //\n // this is different from the libuv quoting rules. libuv replaces \" with \\\", which unfortunately\n // doesn't work well with a cmd.exe command line.\n //\n // note, replacing \" with \"\" also works well if the arg is passed to a downstream .NET console app.\n // for example, the command line:\n // foo.exe \"myarg:\"\"my val\"\"\"\n // is parsed by a .NET console app into an arg array:\n // [ \"myarg:\\\"my val\\\"\" ]\n // which is the same end result when applying libuv quoting rules. although the actual\n // command line from libuv quoting rules would look like:\n // foo.exe \"myarg:\\\"my val\\\"\"\n //\n // 3) double-up slashes that precede a quote,\n // e.g. hello \\world => \"hello \\world\"\n // hello\\\"world => \"hello\\\\\"\"world\"\n // hello\\\\\"world => \"hello\\\\\\\\\"\"world\"\n // hello world\\ => \"hello world\\\\\"\n //\n // technically this is not required for a cmd.exe command line, or the batch argument parser.\n // the reasons for including this as a .cmd quoting rule are:\n //\n // a) this is optimized for the scenario where the argument is passed from the .cmd file to an\n // external program. many programs (e.g. .NET console apps) rely on the slash-doubling rule.\n //\n // b) it's what we've been doing previously (by deferring to node default behavior) and we\n // haven't heard any complaints about that aspect.\n //\n // note, a weakness of the quoting rules chosen here, is that % is not escaped. in fact, % cannot be\n // escaped when used on the command line directly - even though within a .cmd file % can be escaped\n // by using %%.\n //\n // the saving grace is, on the command line, %var% is left as-is if var is not defined. this contrasts\n // the line parsing rules within a .cmd file, where if var is not defined it is replaced with nothing.\n //\n // one option that was explored was replacing % with ^% - i.e. %var% => ^%var^%. this hack would\n // often work, since it is unlikely that var^ would exist, and the ^ character is removed when the\n // variable is used. the problem, however, is that ^ is not removed when %* is used to pass the args\n // to an external program.\n //\n // an unexplored potential solution for the % escaping problem, is to create a wrapper .cmd file.\n // % can be escaped within a .cmd file.\n let reverse = '\"';\n let quoteHit = true;\n for(let i = arg.length; i > 0; i--){\n // walk the string in reverse\n reverse += arg[i - 1];\n if (quoteHit && arg[i - 1] === \"\\\\\") reverse += \"\\\\\"; // double the slash\n else if (arg[i - 1] === '\"') {\n quoteHit = true;\n reverse += '\"'; // double the quote\n } else quoteHit = false;\n }\n reverse += '\"';\n return reverse.split(\"\").reverse().join(\"\");\n }\n _uvQuoteCmdArg(arg) {\n // Tool runner wraps child_process.spawn() and needs to apply the same quoting as\n // Node in certain cases where the undocumented spawn option windowsVerbatimArguments\n // is used.\n //\n // Since this function is a port of quote_cmd_arg from Node 4.x (technically, lib UV,\n // see https://github.com/nodejs/node/blob/v4.x/deps/uv/src/win/process.c for details),\n // pasting copyright notice from Node within this function:\n //\n // Copyright Joyent, Inc. and other Node contributors. All rights reserved.\n //\n // Permission is hereby granted, free of charge, to any person obtaining a copy\n // of this software and associated documentation files (the \"Software\"), to\n // deal in the Software without restriction, including without limitation the\n // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or\n // sell copies of the Software, and to permit persons to whom the Software is\n // furnished to do so, subject to the following conditions:\n //\n // The above copyright notice and this permission notice shall be included in\n // all copies or substantial portions of the Software.\n //\n // THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\n // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS\n // IN THE SOFTWARE.\n if (!arg) // Need double quotation for empty argument\n return '\"\"';\n if (!arg.includes(\" \") && !arg.includes(\"\t\") && !arg.includes('\"')) // No quotation needed\n return arg;\n if (!arg.includes('\"') && !arg.includes(\"\\\\\")) // No embedded double quotes or backslashes, so I can just wrap\n // quote marks around the whole thing.\n return `\"${arg}\"`;\n // Expected input/output:\n // input : hello\"world\n // output: \"hello\\\"world\"\n // input : hello\"\"world\n // output: \"hello\\\"\\\"world\"\n // input : hello\\world\n // output: hello\\world\n // input : hello\\\\world\n // output: hello\\\\world\n // input : hello\\\"world\n // output: \"hello\\\\\\\"world\"\n // input : hello\\\\\"world\n // output: \"hello\\\\\\\\\\\"world\"\n // input : hello world\\\n // output: \"hello world\\\\\" - note the comment in libuv actually reads \"hello world\\\"\n // but it appears the comment is wrong, it should be \"hello world\\\\\"\n let reverse = '\"';\n let quoteHit = true;\n for(let i = arg.length; i > 0; i--){\n // walk the string in reverse\n reverse += arg[i - 1];\n if (quoteHit && arg[i - 1] === \"\\\\\") reverse += \"\\\\\";\n else if (arg[i - 1] === '\"') {\n quoteHit = true;\n reverse += \"\\\\\";\n } else quoteHit = false;\n }\n reverse += '\"';\n return reverse.split(\"\").reverse().join(\"\");\n }\n _cloneExecOptions(options) {\n options = options || {};\n const result = {\n cwd: options.cwd || process.cwd(),\n env: options.env || process.env,\n silent: options.silent || false,\n windowsVerbatimArguments: options.windowsVerbatimArguments || false,\n failOnStdErr: options.failOnStdErr || false,\n ignoreReturnCode: options.ignoreReturnCode || false,\n delay: options.delay || 10000\n };\n result.outStream = options.outStream || process.stdout;\n result.errStream = options.errStream || process.stderr;\n return result;\n }\n _getSpawnOptions(options, toolPath) {\n options = options || {};\n const result = {};\n result.cwd = options.cwd;\n result.env = options.env;\n result[\"windowsVerbatimArguments\"] = options.windowsVerbatimArguments || this._isCmdFile();\n if (options.windowsVerbatimArguments) result.argv0 = `\"${toolPath}\"`;\n return result;\n }\n /**\n * Exec a tool.\n * Output will be streamed to the live console.\n * Returns promise with return code\n *\n * @param tool path to tool to exec\n * @param options optional exec options. See ExecOptions\n * @returns number\n */ exec() {\n return $ab6276b1673f63a2$var$__awaiter(this, void 0, void 0, function*() {\n // root the tool path if it is unrooted and contains relative pathing\n if (!$ab6276b1673f63a2$var$ioUtil.isRooted(this.toolPath) && (this.toolPath.includes(\"/\") || $ab6276b1673f63a2$var$IS_WINDOWS && this.toolPath.includes(\"\\\\\"))) // prefer options.cwd if it is specified, however options.cwd may also need to be rooted\n this.toolPath = $ab6276b1673f63a2$var$path.resolve(process.cwd(), this.options.cwd || process.cwd(), this.toolPath);\n // if the tool is only a file name, then resolve it from the PATH\n // otherwise verify it exists (add extension on Windows if necessary)\n this.toolPath = yield $ab6276b1673f63a2$var$io.which(this.toolPath, true);\n return new Promise((resolve, reject)=>$ab6276b1673f63a2$var$__awaiter(this, void 0, void 0, function*() {\n this._debug(`exec tool: ${this.toolPath}`);\n this._debug(\"arguments:\");\n for (const arg of this.args)this._debug(` ${arg}`);\n const optionsNonNull = this._cloneExecOptions(this.options);\n if (!optionsNonNull.silent && optionsNonNull.outStream) optionsNonNull.outStream.write(this._getCommandString(optionsNonNull) + $ab6276b1673f63a2$var$os.EOL);\n const state = new $ab6276b1673f63a2$var$ExecState(optionsNonNull, this.toolPath);\n state.on(\"debug\", (message)=>{\n this._debug(message);\n });\n if (this.options.cwd && !(yield $ab6276b1673f63a2$var$ioUtil.exists(this.options.cwd))) return reject(new Error(`The cwd: ${this.options.cwd} does not exist!`));\n const fileName = this._getSpawnFileName();\n const cp = $ab6276b1673f63a2$var$child.spawn(fileName, this._getSpawnArgs(optionsNonNull), this._getSpawnOptions(this.options, fileName));\n let stdbuffer = \"\";\n if (cp.stdout) cp.stdout.on(\"data\", (data)=>{\n if (this.options.listeners && this.options.listeners.stdout) this.options.listeners.stdout(data);\n if (!optionsNonNull.silent && optionsNonNull.outStream) optionsNonNull.outStream.write(data);\n stdbuffer = this._processLineBuffer(data, stdbuffer, (line)=>{\n if (this.options.listeners && this.options.listeners.stdline) this.options.listeners.stdline(line);\n });\n });\n let errbuffer = \"\";\n if (cp.stderr) cp.stderr.on(\"data\", (data)=>{\n state.processStderr = true;\n if (this.options.listeners && this.options.listeners.stderr) this.options.listeners.stderr(data);\n if (!optionsNonNull.silent && optionsNonNull.errStream && optionsNonNull.outStream) {\n const s = optionsNonNull.failOnStdErr ? optionsNonNull.errStream : optionsNonNull.outStream;\n s.write(data);\n }\n errbuffer = this._processLineBuffer(data, errbuffer, (line)=>{\n if (this.options.listeners && this.options.listeners.errline) this.options.listeners.errline(line);\n });\n });\n cp.on(\"error\", (err)=>{\n state.processError = err.message;\n state.processExited = true;\n state.processClosed = true;\n state.CheckComplete();\n });\n cp.on(\"exit\", (code)=>{\n state.processExitCode = code;\n state.processExited = true;\n this._debug(`Exit code ${code} received from tool '${this.toolPath}'`);\n state.CheckComplete();\n });\n cp.on(\"close\", (code)=>{\n state.processExitCode = code;\n state.processExited = true;\n state.processClosed = true;\n this._debug(`STDIO streams have closed for tool '${this.toolPath}'`);\n state.CheckComplete();\n });\n state.on(\"done\", (error, exitCode)=>{\n if (stdbuffer.length > 0) this.emit(\"stdline\", stdbuffer);\n if (errbuffer.length > 0) this.emit(\"errline\", errbuffer);\n cp.removeAllListeners();\n if (error) reject(error);\n else resolve(exitCode);\n });\n if (this.options.input) {\n if (!cp.stdin) throw new Error(\"child process missing stdin\");\n cp.stdin.end(this.options.input);\n }\n }));\n });\n }\n}\nmodule.exports.ToolRunner = $ab6276b1673f63a2$var$ToolRunner;\n/**\n * Convert an arg string to an array of args. Handles escaping\n *\n * @param argString string of arguments\n * @returns string[] array of arguments\n */ function $ab6276b1673f63a2$var$argStringToArray(argString) {\n const args = [];\n let inQuotes = false;\n let escaped = false;\n let arg = \"\";\n function append(c) {\n // we only escape double quotes.\n if (escaped && c !== '\"') arg += \"\\\\\";\n arg += c;\n escaped = false;\n }\n for(let i = 0; i < argString.length; i++){\n const c = argString.charAt(i);\n if (c === '\"') {\n if (!escaped) inQuotes = !inQuotes;\n else append(c);\n continue;\n }\n if (c === \"\\\\\" && escaped) {\n append(c);\n continue;\n }\n if (c === \"\\\\\" && inQuotes) {\n escaped = true;\n continue;\n }\n if (c === \" \" && !inQuotes) {\n if (arg.length > 0) {\n args.push(arg);\n arg = \"\";\n }\n continue;\n }\n append(c);\n }\n if (arg.length > 0) args.push(arg.trim());\n return args;\n}\nmodule.exports.argStringToArray = $ab6276b1673f63a2$var$argStringToArray;\nclass $ab6276b1673f63a2$var$ExecState extends $ab6276b1673f63a2$var$events.EventEmitter {\n constructor(options, toolPath){\n super();\n this.processClosed = false; // tracks whether the process has exited and stdio is closed\n this.processError = \"\";\n this.processExitCode = 0;\n this.processExited = false; // tracks whether the process has exited\n this.processStderr = false; // tracks whether stderr was written to\n this.delay = 10000; // 10 seconds\n this.done = false;\n this.timeout = null;\n if (!toolPath) throw new Error(\"toolPath must not be empty\");\n this.options = options;\n this.toolPath = toolPath;\n if (options.delay) this.delay = options.delay;\n }\n CheckComplete() {\n if (this.done) return;\n if (this.processClosed) this._setResult();\n else if (this.processExited) this.timeout = $aEsRD$timers.setTimeout($ab6276b1673f63a2$var$ExecState.HandleTimeout, this.delay, this);\n }\n _debug(message) {\n this.emit(\"debug\", message);\n }\n _setResult() {\n // determine whether there is an error\n let error;\n if (this.processExited) {\n if (this.processError) error = new Error(`There was an error when attempting to execute the process '${this.toolPath}'. This may indicate the process failed to start. Error: ${this.processError}`);\n else if (this.processExitCode !== 0 && !this.options.ignoreReturnCode) error = new Error(`The process '${this.toolPath}' failed with exit code ${this.processExitCode}`);\n else if (this.processStderr && this.options.failOnStdErr) error = new Error(`The process '${this.toolPath}' failed because one or more lines were written to the STDERR stream`);\n }\n // clear the timeout\n if (this.timeout) {\n clearTimeout(this.timeout);\n this.timeout = null;\n }\n this.done = true;\n this.emit(\"done\", error, this.processExitCode);\n }\n static HandleTimeout(state) {\n if (state.done) return;\n if (!state.processClosed && state.processExited) {\n const message = `The STDIO streams did not close within ${state.delay / 1000} seconds of the exit event from process '${state.toolPath}'. This may indicate a child process inherited the STDIO streams and has not yet exited.`;\n state._debug(message);\n }\n state._setResult();\n }\n}\n\n});\n\n\nparcelRegister(\"j1xhX\", function(module, exports) {\nmodule.exports = Promise.resolve(require(\"./actions_python.bfd29453.js\")).then(()=>parcelRequire(\"8MXq9\"));\n\n});\n\n\nvar $l6WDk = parcelRequire(\"l6WDk\");\n\nvar $7Lz0k = parcelRequire(\"7Lz0k\");\n\nvar $glkzm = parcelRequire(\"glkzm\");\nvar $e96e45bfed3e8b25$exports = {};\n\n(function() {\n var root = this;\n var numerous;\n numerous = (parcelRequire(\"nCzGD\"));\n numerous.addLocale(\"en\", function pluralize_en(n /*``*/ ) {\n var i = Math.floor(Math.abs(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($e96e45bfed3e8b25$exports);\n\n\nvar $c92624a4cab9c1d0$exports = {};\n\n$c92624a4cab9c1d0$exports = (parcelRequire(\"cNw1h\"));\n\n\nvar $4a8124c6e4d223d0$exports = {};\n$4a8124c6e4d223d0$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\n\n\n\nconst $ceca9af5f11121ad$var$homeDirectory = (0, ($parcel$interopDefault($aEsRD$nodeos))).homedir();\nfunction $ceca9af5f11121ad$export$2e2bcd8739ae039(pathWithTilde) {\n if (typeof pathWithTilde !== \"string\") throw new TypeError(`Expected a string, got ${typeof pathWithTilde}`);\n return $ceca9af5f11121ad$var$homeDirectory ? pathWithTilde.replace(/^~(?=$|\\/|\\\\)/, $ceca9af5f11121ad$var$homeDirectory) : pathWithTilde;\n}\n\n\nvar $213a898fd02ffa77$exports = {};\nvar $1b2df0d0505eddce$exports = {};\n\n$parcel$export($1b2df0d0505eddce$exports, \"isexe\", () => $1b2df0d0505eddce$export$35888d6059c232d4);\n$parcel$export($1b2df0d0505eddce$exports, \"sync\", () => $1b2df0d0505eddce$export$92d6409d68f0739a);\n/**\n * This is the Posix implementation of isexe, which uses the file\n * mode and uid/gid values.\n *\n * @module\n */ \n\nvar $7d87ede4c48e199b$export$2e2bcd8739ae039 = (0, $aEsRD$fs.promises);\nconst { access: $7d87ede4c48e199b$export$9bb0e144ba4929ca, appendFile: $7d87ede4c48e199b$export$31f54b44f813a103, chmod: $7d87ede4c48e199b$export$fe07cae62e774a05, chown: $7d87ede4c48e199b$export$86560bc0b866a003, copyFile: $7d87ede4c48e199b$export$c763efb2c06e223f, lchmod: $7d87ede4c48e199b$export$4d4374c7ea08c49f, lchown: $7d87ede4c48e199b$export$b34a65c440b523a2, link: $7d87ede4c48e199b$export$9c30223ca0a664fb, lstat: $7d87ede4c48e199b$export$c29f07eab13966a4, mkdir: $7d87ede4c48e199b$export$d9fa9670717a639d, mkdtemp: $7d87ede4c48e199b$export$bb440dc863a3b46a, open: $7d87ede4c48e199b$export$3ce6949f20cea765, readdir: $7d87ede4c48e199b$export$b1e07c405f785337, readFile: $7d87ede4c48e199b$export$72c04af63de9061a, readlink: $7d87ede4c48e199b$export$3d3ca76659ee9f39, realpath: $7d87ede4c48e199b$export$9f2c45015a422c45, rename: $7d87ede4c48e199b$export$7ac989ec0c9c279, rmdir: $7d87ede4c48e199b$export$3f660f6332b9a01d, stat: $7d87ede4c48e199b$export$f82f04a91eb6144a, symlink: $7d87ede4c48e199b$export$ed42c6f39f07f97, truncate: $7d87ede4c48e199b$export$6a506b36fdea397d, unlink: $7d87ede4c48e199b$export$5e0808041271ce04, utimes: $7d87ede4c48e199b$export$d85d919a687a608f, writeFile: $7d87ede4c48e199b$export$552bfb764b5cd2b4 } = (0, $aEsRD$fs.promises);\n\n\nconst $1b2df0d0505eddce$export$35888d6059c232d4 = async (path, options = {})=>{\n const { ignoreErrors: ignoreErrors = false } = options;\n try {\n return $1b2df0d0505eddce$var$checkStat(await (0, $7d87ede4c48e199b$export$f82f04a91eb6144a)(path), options);\n } catch (e) {\n const er = e;\n if (ignoreErrors || er.code === \"EACCES\") return false;\n throw er;\n }\n};\nconst $1b2df0d0505eddce$export$92d6409d68f0739a = (path, options = {})=>{\n const { ignoreErrors: ignoreErrors = false } = options;\n try {\n return $1b2df0d0505eddce$var$checkStat((0, $aEsRD$fs.statSync)(path), options);\n } catch (e) {\n const er = e;\n if (ignoreErrors || er.code === \"EACCES\") return false;\n throw er;\n }\n};\nconst $1b2df0d0505eddce$var$checkStat = (stat, options)=>stat.isFile() && $1b2df0d0505eddce$var$checkMode(stat, options);\nconst $1b2df0d0505eddce$var$checkMode = (stat, options)=>{\n const myUid = options.uid ?? process.getuid?.();\n const myGroups = options.groups ?? process.getgroups?.() ?? [];\n const myGid = options.gid ?? process.getgid?.() ?? myGroups[0];\n if (myUid === undefined || myGid === undefined) throw new Error(\"cannot get uid or gid\");\n const groups = new Set([\n myGid,\n ...myGroups\n ]);\n const mod = stat.mode;\n const uid = stat.uid;\n const gid = stat.gid;\n const u = parseInt(\"100\", 8);\n const g = parseInt(\"010\", 8);\n const o = parseInt(\"001\", 8);\n const ug = u | g;\n return !!(mod & o || mod & g && groups.has(gid) || mod & u && uid === myUid || mod & ug && myUid === 0);\n};\n\n\nvar $f23f0474c15e1f6e$exports = {};\n\n$parcel$export($f23f0474c15e1f6e$exports, \"isexe\", () => $f23f0474c15e1f6e$export$35888d6059c232d4);\n$parcel$export($f23f0474c15e1f6e$exports, \"sync\", () => $f23f0474c15e1f6e$export$92d6409d68f0739a);\n/**\n * This is the Windows implementation of isexe, which uses the file\n * extension and PATHEXT setting.\n *\n * @module\n */ \n\nconst $f23f0474c15e1f6e$export$35888d6059c232d4 = async (path, options = {})=>{\n const { ignoreErrors: ignoreErrors = false } = options;\n try {\n return $f23f0474c15e1f6e$var$checkStat(await (0, $7d87ede4c48e199b$export$f82f04a91eb6144a)(path), path, options);\n } catch (e) {\n const er = e;\n if (ignoreErrors || er.code === \"EACCES\") return false;\n throw er;\n }\n};\nconst $f23f0474c15e1f6e$export$92d6409d68f0739a = (path, options = {})=>{\n const { ignoreErrors: ignoreErrors = false } = options;\n try {\n return $f23f0474c15e1f6e$var$checkStat((0, $aEsRD$fs.statSync)(path), path, options);\n } catch (e) {\n const er = e;\n if (ignoreErrors || er.code === \"EACCES\") return false;\n throw er;\n }\n};\nconst $f23f0474c15e1f6e$var$checkPathExt = (path, options)=>{\n const { pathExt: pathExt = process.env.PATHEXT || \"\" } = options;\n const peSplit = pathExt.split(\";\");\n if (peSplit.indexOf(\"\") !== -1) return true;\n for(let i = 0; i < peSplit.length; i++){\n const p = peSplit[i].toLowerCase();\n const ext = path.substring(path.length - p.length).toLowerCase();\n if (p && ext === p) return true;\n }\n return false;\n};\nconst $f23f0474c15e1f6e$var$checkStat = (stat, path, options)=>stat.isFile() && $f23f0474c15e1f6e$var$checkPathExt(path, options);\n\n\n\n\nconst $f9c2703ffe5f495e$var$platform = process.env._ISEXE_TEST_PLATFORM_ || process.platform;\nconst $f9c2703ffe5f495e$var$impl = $f9c2703ffe5f495e$var$platform === \"win32\" ? $f23f0474c15e1f6e$exports : $1b2df0d0505eddce$exports;\nconst $f9c2703ffe5f495e$export$35888d6059c232d4 = $f9c2703ffe5f495e$var$impl.isexe;\nconst $f9c2703ffe5f495e$export$92d6409d68f0739a = $f9c2703ffe5f495e$var$impl.sync;\n\n\nvar $213a898fd02ffa77$require$isexe = $f9c2703ffe5f495e$export$35888d6059c232d4;\nvar $213a898fd02ffa77$require$isexeSync = $f9c2703ffe5f495e$export$92d6409d68f0739a;\n\nvar $213a898fd02ffa77$require$join = $aEsRD$path.join;\nvar $213a898fd02ffa77$require$delimiter = $aEsRD$path.delimiter;\nvar $213a898fd02ffa77$require$sep = $aEsRD$path.sep;\nvar $213a898fd02ffa77$require$posix = $aEsRD$path.posix;\nconst $213a898fd02ffa77$var$isWindows = process.platform === \"win32\";\n// used to check for slashed in commands passed in. always checks for the posix\n// seperator on all platforms, and checks for the current separator when not on\n// a posix platform. don't use the isWindows check for this since that is mocked\n// in tests but we still need the code to actually work when called. that is also\n// why it is ignored from coverage.\n/* istanbul ignore next */ const $213a898fd02ffa77$var$rSlash = new RegExp(`[${$213a898fd02ffa77$require$posix.sep}${$213a898fd02ffa77$require$sep === $213a898fd02ffa77$require$posix.sep ? \"\" : $213a898fd02ffa77$require$sep}]`.replace(/(\\\\)/g, \"\\\\$1\"));\nconst $213a898fd02ffa77$var$rRel = new RegExp(`^\\\\.${$213a898fd02ffa77$var$rSlash.source}`);\nconst $213a898fd02ffa77$var$getNotFoundError = (cmd)=>Object.assign(new Error(`not found: ${cmd}`), {\n code: \"ENOENT\"\n });\nconst $213a898fd02ffa77$var$getPathInfo = (cmd, { path: optPath = process.env.PATH, pathExt: optPathExt = process.env.PATHEXT, delimiter: optDelimiter = $213a898fd02ffa77$require$delimiter })=>{\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($213a898fd02ffa77$var$rSlash) ? [\n \"\"\n ] : [\n // windows always checks the cwd first\n ...$213a898fd02ffa77$var$isWindows ? [\n process.cwd()\n ] : [],\n ...(optPath || /* istanbul ignore next: very unusual */ \"\").split(optDelimiter)\n ];\n if ($213a898fd02ffa77$var$isWindows) {\n const pathExtExe = optPathExt || [\n \".EXE\",\n \".CMD\",\n \".BAT\",\n \".COM\"\n ].join(optDelimiter);\n const pathExt = pathExtExe.split(optDelimiter).flatMap((item)=>[\n item,\n item.toLowerCase()\n ]);\n if (cmd.includes(\".\") && pathExt[0] !== \"\") pathExt.unshift(\"\");\n return {\n pathEnv: pathEnv,\n pathExt: pathExt,\n pathExtExe: pathExtExe\n };\n }\n return {\n pathEnv: pathEnv,\n pathExt: [\n \"\"\n ]\n };\n};\nconst $213a898fd02ffa77$var$getPathPart = (raw, cmd)=>{\n const pathPart = /^\".*\"$/.test(raw) ? raw.slice(1, -1) : raw;\n const prefix = !pathPart && $213a898fd02ffa77$var$rRel.test(cmd) ? cmd.slice(0, 2) : \"\";\n return prefix + $213a898fd02ffa77$require$join(pathPart, cmd);\n};\nconst $213a898fd02ffa77$var$which = async (cmd, opt = {})=>{\n const { pathEnv: pathEnv, pathExt: pathExt, pathExtExe: pathExtExe } = $213a898fd02ffa77$var$getPathInfo(cmd, opt);\n const found = [];\n for (const envPart of pathEnv){\n const p = $213a898fd02ffa77$var$getPathPart(envPart, cmd);\n for (const ext of pathExt){\n const withExt = p + ext;\n const is = await $213a898fd02ffa77$require$isexe(withExt, {\n pathExt: pathExtExe,\n ignoreErrors: true\n });\n if (is) {\n if (!opt.all) return withExt;\n found.push(withExt);\n }\n }\n }\n if (opt.all && found.length) return found;\n if (opt.nothrow) return null;\n throw $213a898fd02ffa77$var$getNotFoundError(cmd);\n};\nconst $213a898fd02ffa77$var$whichSync = (cmd, opt = {})=>{\n const { pathEnv: pathEnv, pathExt: pathExt, pathExtExe: pathExtExe } = $213a898fd02ffa77$var$getPathInfo(cmd, opt);\n const found = [];\n for (const pathEnvPart of pathEnv){\n const p = $213a898fd02ffa77$var$getPathPart(pathEnvPart, cmd);\n for (const ext of pathExt){\n const withExt = p + ext;\n const is = $213a898fd02ffa77$require$isexeSync(withExt, {\n pathExt: pathExtExe,\n ignoreErrors: true\n });\n if (is) {\n if (!opt.all) return withExt;\n found.push(withExt);\n }\n }\n }\n if (opt.all && found.length) return found;\n if (opt.nothrow) return null;\n throw $213a898fd02ffa77$var$getNotFoundError(cmd);\n};\n$213a898fd02ffa77$exports = $213a898fd02ffa77$var$which;\n$213a898fd02ffa77$var$which.sync = $213a898fd02ffa77$var$whichSync;\n\n\n\n\n\n\nvar $d4dcc91dc79b210f$exports = {};\n\"use strict\";\n\nvar $787961e9b6126f41$exports = {};\n\"use strict\";\n\nvar $f84873c402ce8be0$exports = {};\n\"use strict\";\n\nvar $76977ac0323a57f2$exports = {};\nconst $76977ac0323a57f2$var$isWindows = process.platform === \"win32\" || process.env.OSTYPE === \"cygwin\" || process.env.OSTYPE === \"msys\";\n\nconst $76977ac0323a57f2$var$COLON = $76977ac0323a57f2$var$isWindows ? \";\" : \":\";\nvar $1a3ee49f66da61dc$exports = {};\n\nvar $1a3ee49f66da61dc$var$core;\n\n\nif (process.platform === \"win32\" || $parcel$global.TESTING_WINDOWS) $1a3ee49f66da61dc$var$core = (parcelRequire(\"kUWiH\"));\nelse $1a3ee49f66da61dc$var$core = (parcelRequire(\"39qb4\"));\n$1a3ee49f66da61dc$exports = $1a3ee49f66da61dc$var$isexe;\n$1a3ee49f66da61dc$var$isexe.sync = $1a3ee49f66da61dc$var$sync;\nfunction $1a3ee49f66da61dc$var$isexe(path, options, cb) {\n if (typeof options === \"function\") {\n cb = options;\n options = {};\n }\n if (!cb) {\n if (typeof Promise !== \"function\") throw new TypeError(\"callback not provided\");\n return new Promise(function(resolve, reject) {\n $1a3ee49f66da61dc$var$isexe(path, options || {}, function(er, is) {\n if (er) reject(er);\n else resolve(is);\n });\n });\n }\n $1a3ee49f66da61dc$var$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}\nfunction $1a3ee49f66da61dc$var$sync(path, options) {\n // my kingdom for a filtered catch\n try {\n return $1a3ee49f66da61dc$var$core.sync(path, options || {});\n } catch (er) {\n if (options && options.ignoreErrors || er.code === \"EACCES\") return false;\n else throw er;\n }\n}\n\n\nconst $76977ac0323a57f2$var$getNotFoundError = (cmd)=>Object.assign(new Error(`not found: ${cmd}`), {\n code: \"ENOENT\"\n });\nconst $76977ac0323a57f2$var$getPathInfo = (cmd, opt)=>{\n const colon = opt.colon || $76977ac0323a57f2$var$COLON;\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(/\\//) || $76977ac0323a57f2$var$isWindows && cmd.match(/\\\\/) ? [\n \"\"\n ] : [\n // windows always checks the cwd first\n ...$76977ac0323a57f2$var$isWindows ? [\n process.cwd()\n ] : [],\n ...(opt.path || process.env.PATH || /* istanbul ignore next: very unusual */ \"\").split(colon)\n ];\n const pathExtExe = $76977ac0323a57f2$var$isWindows ? opt.pathExt || process.env.PATHEXT || \".EXE;.CMD;.BAT;.COM\" : \"\";\n const pathExt = $76977ac0323a57f2$var$isWindows ? pathExtExe.split(colon) : [\n \"\"\n ];\n if ($76977ac0323a57f2$var$isWindows) {\n if (cmd.indexOf(\".\") !== -1 && pathExt[0] !== \"\") pathExt.unshift(\"\");\n }\n return {\n pathEnv: pathEnv,\n pathExt: pathExt,\n pathExtExe: pathExtExe\n };\n};\nconst $76977ac0323a57f2$var$which = (cmd, opt, cb)=>{\n if (typeof opt === \"function\") {\n cb = opt;\n opt = {};\n }\n if (!opt) opt = {};\n const { pathEnv: pathEnv, pathExt: pathExt, pathExtExe: pathExtExe } = $76977ac0323a57f2$var$getPathInfo(cmd, opt);\n const found = [];\n const step = (i)=>new Promise((resolve, reject)=>{\n if (i === pathEnv.length) return opt.all && found.length ? resolve(found) : reject($76977ac0323a57f2$var$getNotFoundError(cmd));\n const ppRaw = pathEnv[i];\n const pathPart = /^\".*\"$/.test(ppRaw) ? ppRaw.slice(1, -1) : ppRaw;\n const pCmd = $aEsRD$path.join(pathPart, cmd);\n const p = !pathPart && /^\\.[\\\\\\/]/.test(cmd) ? cmd.slice(0, 2) + pCmd : pCmd;\n resolve(subStep(p, i, 0));\n });\n const subStep = (p, i, ii)=>new Promise((resolve, reject)=>{\n if (ii === pathExt.length) return resolve(step(i + 1));\n const ext = pathExt[ii];\n $1a3ee49f66da61dc$exports(p + ext, {\n pathExt: pathExtExe\n }, (er, is)=>{\n if (!er && is) {\n if (opt.all) found.push(p + ext);\n else return resolve(p + ext);\n }\n return resolve(subStep(p, i, ii + 1));\n });\n });\n return cb ? step(0).then((res)=>cb(null, res), cb) : step(0);\n};\nconst $76977ac0323a57f2$var$whichSync = (cmd, opt)=>{\n opt = opt || {};\n const { pathEnv: pathEnv, pathExt: pathExt, pathExtExe: pathExtExe } = $76977ac0323a57f2$var$getPathInfo(cmd, opt);\n const found = [];\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 const pCmd = $aEsRD$path.join(pathPart, cmd);\n const p = !pathPart && /^\\.[\\\\\\/]/.test(cmd) ? cmd.slice(0, 2) + pCmd : pCmd;\n for(let j = 0; j < pathExt.length; j++){\n const cur = p + pathExt[j];\n try {\n const is = $1a3ee49f66da61dc$exports.sync(cur, {\n pathExt: pathExtExe\n });\n if (is) {\n if (opt.all) found.push(cur);\n else return cur;\n }\n } catch (ex) {}\n }\n }\n if (opt.all && found.length) return found;\n if (opt.nothrow) return null;\n throw $76977ac0323a57f2$var$getNotFoundError(cmd);\n};\n$76977ac0323a57f2$exports = $76977ac0323a57f2$var$which;\n$76977ac0323a57f2$var$which.sync = $76977ac0323a57f2$var$whichSync;\n\n\nvar $382dca0d713ab3f3$exports = {};\n\"use strict\";\nconst $382dca0d713ab3f3$var$pathKey = (options = {})=>{\n const environment = options.env || process.env;\n const platform = options.platform || process.platform;\n if (platform !== \"win32\") return \"PATH\";\n return Object.keys(environment).reverse().find((key)=>key.toUpperCase() === \"PATH\") || \"Path\";\n};\n$382dca0d713ab3f3$exports = $382dca0d713ab3f3$var$pathKey;\n// TODO: Remove this for the next major release\n$382dca0d713ab3f3$exports.default = $382dca0d713ab3f3$var$pathKey;\n\n\nfunction $f84873c402ce8be0$var$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 // 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) try {\n process.chdir(parsed.options.cwd);\n } catch (err) {\n /* Empty */ }\n let resolved;\n try {\n resolved = $76977ac0323a57f2$exports.sync(parsed.command, {\n path: env[$382dca0d713ab3f3$exports({\n env: env\n })],\n pathExt: withoutPathExt ? $aEsRD$path.delimiter : undefined\n });\n } catch (e) {\n /* Empty */ } finally{\n if (shouldSwitchCwd) process.chdir(cwd);\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) resolved = $aEsRD$path.resolve(hasCustomCwd ? parsed.options.cwd : \"\", resolved);\n return resolved;\n}\nfunction $f84873c402ce8be0$var$resolveCommand(parsed) {\n return $f84873c402ce8be0$var$resolveCommandAttempt(parsed) || $f84873c402ce8be0$var$resolveCommandAttempt(parsed, true);\n}\n$f84873c402ce8be0$exports = $f84873c402ce8be0$var$resolveCommand;\n\n\nvar $af0a88143e4f4edb$export$ae50443ffc990749;\nvar $af0a88143e4f4edb$export$6ea29ee575e3f5ff;\n\"use strict\";\n// See http://www.robvanderwoude.com/escapechars.php\nconst $af0a88143e4f4edb$var$metaCharsRegExp = /([()\\][%!^\"`<>&|;, *?])/g;\nfunction $af0a88143e4f4edb$var$escapeCommand(arg) {\n // Escape meta chars\n arg = arg.replace($af0a88143e4f4edb$var$metaCharsRegExp, \"^$1\");\n return arg;\n}\nfunction $af0a88143e4f4edb$var$escapeArgument(arg, doubleEscapeMetaChars) {\n // Convert to string\n arg = `${arg}`;\n // Algorithm below is based on https://qntm.org/cmd\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 // 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 // All other backslashes occur literally\n // Quote the whole thing:\n arg = `\"${arg}\"`;\n // Escape meta chars\n arg = arg.replace($af0a88143e4f4edb$var$metaCharsRegExp, \"^$1\");\n // Double escape meta chars if necessary\n if (doubleEscapeMetaChars) arg = arg.replace($af0a88143e4f4edb$var$metaCharsRegExp, \"^$1\");\n return arg;\n}\n$af0a88143e4f4edb$export$ae50443ffc990749 = $af0a88143e4f4edb$var$escapeCommand;\n$af0a88143e4f4edb$export$6ea29ee575e3f5ff = $af0a88143e4f4edb$var$escapeArgument;\n\n\nvar $efcfa6be00486ff9$exports = {};\n\"use strict\";\n\nvar $b7135bf43b29d3ca$exports = {};\n\"use strict\";\nvar $51b64f978fd250d3$exports = {};\n\"use strict\";\n$51b64f978fd250d3$exports = /^#!(.*)/;\n\n\n$b7135bf43b29d3ca$exports = (string = \"\")=>{\n const match = string.match($51b64f978fd250d3$exports);\n if (!match) return null;\n const [path, argument] = match[0].replace(/#! ?/, \"\").split(\" \");\n const binary = path.split(\"/\").pop();\n if (binary === \"env\") return argument;\n return argument ? `${binary} ${argument}` : binary;\n};\n\n\nfunction $efcfa6be00486ff9$var$readShebang(command) {\n // Read the first 150 bytes from the file\n const size = 150;\n const buffer = Buffer.alloc(size);\n let fd;\n try {\n fd = $aEsRD$fs.openSync(command, \"r\");\n $aEsRD$fs.readSync(fd, buffer, 0, size, 0);\n $aEsRD$fs.closeSync(fd);\n } catch (e) {}\n // Attempt to extract shebang (null is returned if not a shebang)\n return $b7135bf43b29d3ca$exports(buffer.toString());\n}\n$efcfa6be00486ff9$exports = $efcfa6be00486ff9$var$readShebang;\n\n\nconst $787961e9b6126f41$var$isWin = process.platform === \"win32\";\nconst $787961e9b6126f41$var$isExecutableRegExp = /\\.(?:com|exe)$/i;\nconst $787961e9b6126f41$var$isCmdShimRegExp = /node_modules[\\\\/].bin[\\\\/][^\\\\/]+\\.cmd$/i;\nfunction $787961e9b6126f41$var$detectShebang(parsed) {\n parsed.file = $f84873c402ce8be0$exports(parsed);\n const shebang = parsed.file && $efcfa6be00486ff9$exports(parsed.file);\n if (shebang) {\n parsed.args.unshift(parsed.file);\n parsed.command = shebang;\n return $f84873c402ce8be0$exports(parsed);\n }\n return parsed.file;\n}\nfunction $787961e9b6126f41$var$parseNonShell(parsed) {\n if (!$787961e9b6126f41$var$isWin) return parsed;\n // Detect & add support for shebangs\n const commandFile = $787961e9b6126f41$var$detectShebang(parsed);\n // We don't need a shell if the command filename is an executable\n const needsShell = !$787961e9b6126f41$var$isExecutableRegExp.test(commandFile);\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 = $787961e9b6126f41$var$isCmdShimRegExp.test(commandFile);\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 = $aEsRD$path.normalize(parsed.command);\n // Escape command & arguments\n parsed.command = $af0a88143e4f4edb$export$ae50443ffc990749(parsed.command);\n parsed.args = parsed.args.map((arg)=>$af0a88143e4f4edb$export$6ea29ee575e3f5ff(arg, needsDoubleEscapeMetaChars));\n const shellCommand = [\n parsed.command\n ].concat(parsed.args).join(\" \");\n parsed.args = [\n \"/d\",\n \"/s\",\n \"/c\",\n `\"${shellCommand}\"`\n ];\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 return parsed;\n}\nfunction $787961e9b6126f41$var$parse(command, args, options) {\n // Normalize arguments, similar to nodejs\n if (args && !Array.isArray(args)) {\n options = args;\n args = null;\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 // Build our parsed object\n const parsed = {\n command: command,\n args: args,\n options: options,\n file: undefined,\n original: {\n command: command,\n args: args\n }\n };\n // Delegate further parsing to shell or non-shell\n return options.shell ? parsed : $787961e9b6126f41$var$parseNonShell(parsed);\n}\n$787961e9b6126f41$exports = $787961e9b6126f41$var$parse;\n\n\nvar $51086b21272f0ae4$exports = {};\n\"use strict\";\nconst $51086b21272f0ae4$var$isWin = process.platform === \"win32\";\nfunction $51086b21272f0ae4$var$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}\nfunction $51086b21272f0ae4$var$hookChildProcess(cp, parsed) {\n if (!$51086b21272f0ae4$var$isWin) return;\n const originalEmit = cp.emit;\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 = $51086b21272f0ae4$var$verifyENOENT(arg1, parsed, \"spawn\");\n if (err) return originalEmit.call(cp, \"error\", err);\n }\n return originalEmit.apply(cp, arguments); // eslint-disable-line prefer-rest-params\n };\n}\nfunction $51086b21272f0ae4$var$verifyENOENT(status, parsed) {\n if ($51086b21272f0ae4$var$isWin && status === 1 && !parsed.file) return $51086b21272f0ae4$var$notFoundError(parsed.original, \"spawn\");\n return null;\n}\nfunction $51086b21272f0ae4$var$verifyENOENTSync(status, parsed) {\n if ($51086b21272f0ae4$var$isWin && status === 1 && !parsed.file) return $51086b21272f0ae4$var$notFoundError(parsed.original, \"spawnSync\");\n return null;\n}\n$51086b21272f0ae4$exports = {\n hookChildProcess: $51086b21272f0ae4$var$hookChildProcess,\n verifyENOENT: $51086b21272f0ae4$var$verifyENOENT,\n verifyENOENTSync: $51086b21272f0ae4$var$verifyENOENTSync,\n notFoundError: $51086b21272f0ae4$var$notFoundError\n};\n\n\nfunction $d4dcc91dc79b210f$var$spawn(command, args, options) {\n // Parse the arguments\n const parsed = $787961e9b6126f41$exports(command, args, options);\n // Spawn the child process\n const spawned = $aEsRD$child_process.spawn(parsed.command, parsed.args, parsed.options);\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 $51086b21272f0ae4$exports.hookChildProcess(spawned, parsed);\n return spawned;\n}\nfunction $d4dcc91dc79b210f$var$spawnSync(command, args, options) {\n // Parse the arguments\n const parsed = $787961e9b6126f41$exports(command, args, options);\n // Spawn the child process\n const result = $aEsRD$child_process.spawnSync(parsed.command, parsed.args, parsed.options);\n // Analyze if the command does not exist, see: https://github.com/IndigoUnited/node-cross-spawn/issues/16\n result.error = result.error || $51086b21272f0ae4$exports.verifyENOENTSync(result.status, parsed);\n return result;\n}\n$d4dcc91dc79b210f$exports = $d4dcc91dc79b210f$var$spawn;\n$d4dcc91dc79b210f$exports.spawn = $d4dcc91dc79b210f$var$spawn;\n$d4dcc91dc79b210f$exports.sync = $d4dcc91dc79b210f$var$spawnSync;\n$d4dcc91dc79b210f$exports._parse = $787961e9b6126f41$exports;\n$d4dcc91dc79b210f$exports._enoent = $51086b21272f0ae4$exports;\n\n\nfunction $e3b09b96533b1421$export$2e2bcd8739ae039(input) {\n const LF = typeof input === \"string\" ? \"\\n\" : \"\\n\".charCodeAt();\n const CR = typeof input === \"string\" ? \"\\r\" : \"\\r\".charCodeAt();\n if (input[input.length - 1] === LF) input = input.slice(0, -1);\n if (input[input.length - 1] === CR) input = input.slice(0, -1);\n return input;\n}\n\n\n\n\n\nfunction $8ea3e64d7cac3b1d$export$2e2bcd8739ae039(options = {}) {\n const { env: env = process.env, platform: platform = process.platform } = options;\n if (platform !== \"win32\") return \"PATH\";\n return Object.keys(env).reverse().find((key)=>key.toUpperCase() === \"PATH\") || \"Path\";\n}\n\n\nfunction $a797d4ec3d6a57cc$export$62a298cbef08d65c(options = {}) {\n const { cwd: cwd = (0, ($parcel$interopDefault($aEsRD$nodeprocess))).cwd(), path: path_ = (0, ($parcel$interopDefault($aEsRD$nodeprocess))).env[(0, $8ea3e64d7cac3b1d$export$2e2bcd8739ae039)()], execPath: execPath = (0, ($parcel$interopDefault($aEsRD$nodeprocess))).execPath } = options;\n let previous;\n const execPathString = execPath instanceof URL ? (0, ($parcel$interopDefault($aEsRD$nodeurl))).fileURLToPath(execPath) : execPath;\n const cwdString = cwd instanceof URL ? (0, ($parcel$interopDefault($aEsRD$nodeurl))).fileURLToPath(cwd) : cwd;\n let cwdPath = (0, ($parcel$interopDefault($aEsRD$nodepath))).resolve(cwdString);\n const result = [];\n while(previous !== cwdPath){\n result.push((0, ($parcel$interopDefault($aEsRD$nodepath))).join(cwdPath, \"node_modules/.bin\"));\n previous = cwdPath;\n cwdPath = (0, ($parcel$interopDefault($aEsRD$nodepath))).resolve(cwdPath, \"..\");\n }\n // Ensure the running `node` binary is used.\n result.push((0, ($parcel$interopDefault($aEsRD$nodepath))).resolve(cwdString, execPathString, \"..\"));\n return [\n ...result,\n path_\n ].join((0, ($parcel$interopDefault($aEsRD$nodepath))).delimiter);\n}\nfunction $a797d4ec3d6a57cc$export$340e1fbaac04248b({ env: env = (0, ($parcel$interopDefault($aEsRD$nodeprocess))).env, ...options } = {}) {\n env = {\n ...env\n };\n const path = (0, $8ea3e64d7cac3b1d$export$2e2bcd8739ae039)({\n env: env\n });\n options.path = env[path];\n env[path] = $a797d4ec3d6a57cc$export$62a298cbef08d65c(options);\n return env;\n}\n\n\nconst $b21d180c763c1f29$var$copyProperty = (to, from, property, ignoreNonConfigurable)=>{\n // `Function#length` should reflect the parameters of `to` not `from` since we keep its body.\n // `Function#prototype` is non-writable and non-configurable so can never be modified.\n if (property === \"length\" || property === \"prototype\") return;\n // `Function#arguments` and `Function#caller` should not be copied. They were reported to be present in `Reflect.ownKeys` for some devices in React Native (#41), so we explicitly ignore them here.\n if (property === \"arguments\" || property === \"caller\") return;\n const toDescriptor = Object.getOwnPropertyDescriptor(to, property);\n const fromDescriptor = Object.getOwnPropertyDescriptor(from, property);\n if (!$b21d180c763c1f29$var$canCopyProperty(toDescriptor, fromDescriptor) && ignoreNonConfigurable) return;\n Object.defineProperty(to, property, fromDescriptor);\n};\n// `Object.defineProperty()` throws if the property exists, is not configurable and either:\n// - one its descriptors is changed\n// - it is non-writable and its value is changed\nconst $b21d180c763c1f29$var$canCopyProperty = function(toDescriptor, fromDescriptor) {\n return toDescriptor === undefined || toDescriptor.configurable || toDescriptor.writable === fromDescriptor.writable && toDescriptor.enumerable === fromDescriptor.enumerable && toDescriptor.configurable === fromDescriptor.configurable && (toDescriptor.writable || toDescriptor.value === fromDescriptor.value);\n};\nconst $b21d180c763c1f29$var$changePrototype = (to, from)=>{\n const fromPrototype = Object.getPrototypeOf(from);\n if (fromPrototype === Object.getPrototypeOf(to)) return;\n Object.setPrototypeOf(to, fromPrototype);\n};\nconst $b21d180c763c1f29$var$wrappedToString = (withName, fromBody)=>`/* Wrapped ${withName}*/\\n${fromBody}`;\nconst $b21d180c763c1f29$var$toStringDescriptor = Object.getOwnPropertyDescriptor(Function.prototype, \"toString\");\nconst $b21d180c763c1f29$var$toStringName = Object.getOwnPropertyDescriptor(Function.prototype.toString, \"name\");\n// We call `from.toString()` early (not lazily) to ensure `from` can be garbage collected.\n// We use `bind()` instead of a closure for the same reason.\n// Calling `from.toString()` early also allows caching it in case `to.toString()` is called several times.\nconst $b21d180c763c1f29$var$changeToString = (to, from, name)=>{\n const withName = name === \"\" ? \"\" : `with ${name.trim()}() `;\n const newToString = $b21d180c763c1f29$var$wrappedToString.bind(null, withName, from.toString());\n // Ensure `to.toString.toString` is non-enumerable and has the same `same`\n Object.defineProperty(newToString, \"name\", $b21d180c763c1f29$var$toStringName);\n Object.defineProperty(to, \"toString\", {\n ...$b21d180c763c1f29$var$toStringDescriptor,\n value: newToString\n });\n};\nfunction $b21d180c763c1f29$export$2e2bcd8739ae039(to, from, { ignoreNonConfigurable: ignoreNonConfigurable = false } = {}) {\n const { name: name } = to;\n for (const property of Reflect.ownKeys(from))$b21d180c763c1f29$var$copyProperty(to, from, property, ignoreNonConfigurable);\n $b21d180c763c1f29$var$changePrototype(to, from);\n $b21d180c763c1f29$var$changeToString(to, from, name);\n return to;\n}\n\n\nconst $a0eb8fc88e2c8055$var$calledFunctions = new WeakMap();\nconst $a0eb8fc88e2c8055$var$onetime = (function_, options = {})=>{\n if (typeof function_ !== \"function\") throw new TypeError(\"Expected a function\");\n let returnValue;\n let callCount = 0;\n const functionName = function_.displayName || function_.name || \"\";\n const onetime = function(...arguments_) {\n $a0eb8fc88e2c8055$var$calledFunctions.set(onetime, ++callCount);\n if (callCount === 1) {\n returnValue = function_.apply(this, arguments_);\n function_ = null;\n } else if (options.throw === true) throw new Error(`Function \\`${functionName}\\` can only be called once`);\n return returnValue;\n };\n (0, $b21d180c763c1f29$export$2e2bcd8739ae039)(onetime, function_);\n $a0eb8fc88e2c8055$var$calledFunctions.set(onetime, callCount);\n return onetime;\n};\n$a0eb8fc88e2c8055$var$onetime.callCount = (function_)=>{\n if (!$a0eb8fc88e2c8055$var$calledFunctions.has(function_)) throw new Error(`The given function \\`${function_.name}\\` is not wrapped by the \\`onetime\\` package`);\n return $a0eb8fc88e2c8055$var$calledFunctions.get(function_);\n};\nvar $a0eb8fc88e2c8055$export$2e2bcd8739ae039 = $a0eb8fc88e2c8055$var$onetime;\n\n\n\n\nconst $e97995fd16ab48fb$export$e221a98f4fd84d36 = ()=>{\n const length = $e97995fd16ab48fb$export$dc8812f2f8882ff4 - $e97995fd16ab48fb$var$SIGRTMIN + 1;\n return Array.from({\n length: length\n }, $e97995fd16ab48fb$var$getRealtimeSignal);\n};\nconst $e97995fd16ab48fb$var$getRealtimeSignal = (value, index)=>({\n name: `SIGRT${index + 1}`,\n number: $e97995fd16ab48fb$var$SIGRTMIN + index,\n action: \"terminate\",\n description: \"Application-specific signal (realtime)\",\n standard: \"posix\"\n });\nconst $e97995fd16ab48fb$var$SIGRTMIN = 34;\nconst $e97995fd16ab48fb$export$dc8812f2f8882ff4 = 64;\n\n\n\nconst $701c4258d8321cce$export$a43bf6822cc694af = [\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: \"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\n\n\nconst $730e646c6b601e8d$export$c50078d4faa171f0 = ()=>{\n const realtimeSignals = (0, $e97995fd16ab48fb$export$e221a98f4fd84d36)();\n const signals = [\n ...(0, $701c4258d8321cce$export$a43bf6822cc694af),\n ...realtimeSignals\n ].map($730e646c6b601e8d$var$normalizeSignal);\n return signals;\n};\nconst $730e646c6b601e8d$var$normalizeSignal = ({ name: name, number: defaultNumber, description: description, action: action, forced: forced = false, standard: standard })=>{\n const { signals: { [name]: constantSignal } } = (0, $aEsRD$nodeos.constants);\n const supported = constantSignal !== undefined;\n const number = supported ? constantSignal : defaultNumber;\n return {\n name: name,\n number: number,\n description: description,\n supported: supported,\n action: action,\n forced: forced,\n standard: standard\n };\n};\n\n\nconst $ae402b5dab1cbf25$var$getSignalsByName = ()=>{\n const signals = (0, $730e646c6b601e8d$export$c50078d4faa171f0)();\n return Object.fromEntries(signals.map($ae402b5dab1cbf25$var$getSignalByName));\n};\nconst $ae402b5dab1cbf25$var$getSignalByName = ({ name: name, number: number, description: description, supported: supported, action: action, forced: forced, standard: standard })=>[\n name,\n {\n name: name,\n number: number,\n description: description,\n supported: supported,\n action: action,\n forced: forced,\n standard: standard\n }\n ];\nconst $ae402b5dab1cbf25$export$c3fcb39d6848c78d = $ae402b5dab1cbf25$var$getSignalsByName();\nconst $ae402b5dab1cbf25$var$getSignalsByNumber = ()=>{\n const signals = (0, $730e646c6b601e8d$export$c50078d4faa171f0)();\n const length = (0, $e97995fd16ab48fb$export$dc8812f2f8882ff4) + 1;\n const signalsA = Array.from({\n length: length\n }, (value, number)=>$ae402b5dab1cbf25$var$getSignalByNumber(number, signals));\n return Object.assign({}, ...signalsA);\n};\nconst $ae402b5dab1cbf25$var$getSignalByNumber = (number, signals)=>{\n const signal = $ae402b5dab1cbf25$var$findSignalByNumber(number, signals);\n if (signal === undefined) return {};\n const { name: name, description: description, supported: supported, action: action, forced: forced, standard: standard } = signal;\n return {\n [number]: {\n name: name,\n number: number,\n description: description,\n supported: supported,\n action: action,\n forced: forced,\n standard: standard\n }\n };\n};\nconst $ae402b5dab1cbf25$var$findSignalByNumber = (number, signals)=>{\n const signal = signals.find(({ name: name })=>(0, $aEsRD$nodeos.constants).signals[name] === number);\n if (signal !== undefined) return signal;\n return signals.find((signalA)=>signalA.number === number);\n};\nconst $ae402b5dab1cbf25$export$12f57f97a08d2468 = $ae402b5dab1cbf25$var$getSignalsByNumber();\n\n\nconst $6431d07a8f5e5288$var$getErrorPrefix = ({ timedOut: timedOut, timeout: timeout, errorCode: errorCode, signal: signal, signalDescription: signalDescription, exitCode: exitCode, isCanceled: isCanceled })=>{\n if (timedOut) return `timed out after ${timeout} milliseconds`;\n if (isCanceled) return \"was canceled\";\n if (errorCode !== undefined) return `failed with ${errorCode}`;\n if (signal !== undefined) return `was killed with ${signal} (${signalDescription})`;\n if (exitCode !== undefined) return `failed with exit code ${exitCode}`;\n return \"failed\";\n};\nconst $6431d07a8f5e5288$export$5a4bb2b1c89bdce7 = ({ stdout: stdout, stderr: stderr, all: all, error: error, signal: signal, exitCode: exitCode, command: command, escapedCommand: escapedCommand, timedOut: timedOut, isCanceled: isCanceled, killed: killed, parsed: { options: { timeout: timeout, cwd: cwd = (0, ($parcel$interopDefault($aEsRD$nodeprocess))).cwd() } } })=>{\n // `signal` and `exitCode` emitted on `spawned.on('exit')` event can be `null`.\n // We normalize them to `undefined`\n exitCode = exitCode === null ? undefined : exitCode;\n signal = signal === null ? undefined : signal;\n const signalDescription = signal === undefined ? undefined : (0, $ae402b5dab1cbf25$export$c3fcb39d6848c78d)[signal].description;\n const errorCode = error && error.code;\n const prefix = $6431d07a8f5e5288$var$getErrorPrefix({\n timedOut: timedOut,\n timeout: timeout,\n errorCode: errorCode,\n signal: signal,\n signalDescription: signalDescription,\n exitCode: exitCode,\n isCanceled: isCanceled\n });\n const execaMessage = `Command ${prefix}: ${command}`;\n const isError = Object.prototype.toString.call(error) === \"[object Error]\";\n const shortMessage = isError ? `${execaMessage}\\n${error.message}` : execaMessage;\n const message = [\n shortMessage,\n stderr,\n stdout\n ].filter(Boolean).join(\"\\n\");\n if (isError) {\n error.originalMessage = error.message;\n error.message = message;\n } else error = new Error(message);\n error.shortMessage = shortMessage;\n error.command = command;\n error.escapedCommand = escapedCommand;\n error.exitCode = exitCode;\n error.signal = signal;\n error.signalDescription = signalDescription;\n error.stdout = stdout;\n error.stderr = stderr;\n error.cwd = cwd;\n if (all !== undefined) error.all = all;\n if (\"bufferedData\" in error) delete error.bufferedData;\n error.failed = true;\n error.timedOut = Boolean(timedOut);\n error.isCanceled = isCanceled;\n error.killed = killed && !timedOut;\n return error;\n};\n\n\nconst $e658e3208d3ccfb8$var$aliases = [\n \"stdin\",\n \"stdout\",\n \"stderr\"\n];\nconst $e658e3208d3ccfb8$var$hasAlias = (options)=>$e658e3208d3ccfb8$var$aliases.some((alias)=>options[alias] !== undefined);\nconst $e658e3208d3ccfb8$export$a581401a57fac02e = (options)=>{\n if (!options) return;\n const { stdio: stdio } = options;\n if (stdio === undefined) return $e658e3208d3ccfb8$var$aliases.map((alias)=>options[alias]);\n if ($e658e3208d3ccfb8$var$hasAlias(options)) throw new Error(`It's not possible to provide \\`stdio\\` in combination with one of ${$e658e3208d3ccfb8$var$aliases.map((alias)=>`\\`${alias}\\``).join(\", \")}`);\n if (typeof stdio === \"string\") return stdio;\n if (!Array.isArray(stdio)) throw new TypeError(`Expected \\`stdio\\` to be of type \\`string\\` or \\`Array\\`, got \\`${typeof stdio}\\``);\n const length = Math.max(stdio.length, $e658e3208d3ccfb8$var$aliases.length);\n return Array.from({\n length: length\n }, (value, index)=>stdio[index]);\n};\nconst $e658e3208d3ccfb8$export$889423b478ae2ba = (options)=>{\n const stdio = $e658e3208d3ccfb8$export$a581401a57fac02e(options);\n if (stdio === \"ipc\") return \"ipc\";\n if (stdio === undefined || typeof stdio === \"string\") return [\n stdio,\n stdio,\n stdio,\n \"ipc\"\n ];\n if (stdio.includes(\"ipc\")) return stdio;\n return [\n ...stdio,\n \"ipc\"\n ];\n};\n\n\n\nvar $c029a8913336b4fd$exports = {};\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 $c029a8913336b4fd$var$process = $parcel$global.process;\nconst $c029a8913336b4fd$var$processOk = function(process) {\n return process && typeof process === \"object\" && typeof process.removeListener === \"function\" && typeof process.emit === \"function\" && typeof process.reallyExit === \"function\" && typeof process.listeners === \"function\" && typeof process.kill === \"function\" && typeof process.pid === \"number\" && typeof process.on === \"function\";\n};\n\n\n\n// some kind of non-node environment, just no-op\n/* istanbul ignore if */ if (!$c029a8913336b4fd$var$processOk($c029a8913336b4fd$var$process)) $c029a8913336b4fd$exports = function() {\n return function() {};\n};\nelse {\n var $c029a8913336b4fd$var$assert = $aEsRD$assert;\n var $c029a8913336b4fd$var$signals = (parcelRequire(\"i3ASI\"));\n var $c029a8913336b4fd$var$isWin = /^win/i.test($c029a8913336b4fd$var$process.platform);\n var $c029a8913336b4fd$var$EE = $aEsRD$events;\n /* istanbul ignore if */ if (typeof $c029a8913336b4fd$var$EE !== \"function\") $c029a8913336b4fd$var$EE = $c029a8913336b4fd$var$EE.EventEmitter;\n var $c029a8913336b4fd$var$emitter;\n if ($c029a8913336b4fd$var$process.__signal_exit_emitter__) $c029a8913336b4fd$var$emitter = $c029a8913336b4fd$var$process.__signal_exit_emitter__;\n else {\n $c029a8913336b4fd$var$emitter = $c029a8913336b4fd$var$process.__signal_exit_emitter__ = new $c029a8913336b4fd$var$EE();\n $c029a8913336b4fd$var$emitter.count = 0;\n $c029a8913336b4fd$var$emitter.emitted = {};\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 (!$c029a8913336b4fd$var$emitter.infinite) {\n $c029a8913336b4fd$var$emitter.setMaxListeners(Infinity);\n $c029a8913336b4fd$var$emitter.infinite = true;\n }\n $c029a8913336b4fd$exports = function(cb, opts) {\n /* istanbul ignore if */ if (!$c029a8913336b4fd$var$processOk($parcel$global.process)) return function() {};\n $c029a8913336b4fd$var$assert.equal(typeof cb, \"function\", \"a callback must be provided for exit handler\");\n if ($c029a8913336b4fd$var$loaded === false) $c029a8913336b4fd$var$load();\n var ev = \"exit\";\n if (opts && opts.alwaysLast) ev = \"afterexit\";\n var remove = function() {\n $c029a8913336b4fd$var$emitter.removeListener(ev, cb);\n if ($c029a8913336b4fd$var$emitter.listeners(\"exit\").length === 0 && $c029a8913336b4fd$var$emitter.listeners(\"afterexit\").length === 0) $c029a8913336b4fd$var$unload();\n };\n $c029a8913336b4fd$var$emitter.on(ev, cb);\n return remove;\n };\n var $c029a8913336b4fd$var$unload = function unload() {\n if (!$c029a8913336b4fd$var$loaded || !$c029a8913336b4fd$var$processOk($parcel$global.process)) return;\n $c029a8913336b4fd$var$loaded = false;\n $c029a8913336b4fd$var$signals.forEach(function(sig) {\n try {\n $c029a8913336b4fd$var$process.removeListener(sig, $c029a8913336b4fd$var$sigListeners[sig]);\n } catch (er) {}\n });\n $c029a8913336b4fd$var$process.emit = $c029a8913336b4fd$var$originalProcessEmit;\n $c029a8913336b4fd$var$process.reallyExit = $c029a8913336b4fd$var$originalProcessReallyExit;\n $c029a8913336b4fd$var$emitter.count -= 1;\n };\n $c029a8913336b4fd$exports.unload = $c029a8913336b4fd$var$unload;\n var $c029a8913336b4fd$var$emit = function emit(event, code, signal) {\n /* istanbul ignore if */ if ($c029a8913336b4fd$var$emitter.emitted[event]) return;\n $c029a8913336b4fd$var$emitter.emitted[event] = true;\n $c029a8913336b4fd$var$emitter.emit(event, code, signal);\n };\n // { : , ... }\n var $c029a8913336b4fd$var$sigListeners = {};\n $c029a8913336b4fd$var$signals.forEach(function(sig) {\n $c029a8913336b4fd$var$sigListeners[sig] = function listener() {\n /* istanbul ignore if */ if (!$c029a8913336b4fd$var$processOk($parcel$global.process)) return;\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 = $c029a8913336b4fd$var$process.listeners(sig);\n if (listeners.length === $c029a8913336b4fd$var$emitter.count) {\n $c029a8913336b4fd$var$unload();\n $c029a8913336b4fd$var$emit(\"exit\", null, sig);\n /* istanbul ignore next */ $c029a8913336b4fd$var$emit(\"afterexit\", null, sig);\n /* istanbul ignore next */ if ($c029a8913336b4fd$var$isWin && sig === \"SIGHUP\") // \"SIGHUP\" throws an `ENOSYS` error on Windows,\n // so use a supported signal instead\n sig = \"SIGINT\";\n /* istanbul ignore next */ $c029a8913336b4fd$var$process.kill($c029a8913336b4fd$var$process.pid, sig);\n }\n };\n });\n $c029a8913336b4fd$exports.signals = function() {\n return $c029a8913336b4fd$var$signals;\n };\n var $c029a8913336b4fd$var$loaded = false;\n var $c029a8913336b4fd$var$load = function load() {\n if ($c029a8913336b4fd$var$loaded || !$c029a8913336b4fd$var$processOk($parcel$global.process)) return;\n $c029a8913336b4fd$var$loaded = true;\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 $c029a8913336b4fd$var$emitter.count += 1;\n $c029a8913336b4fd$var$signals = $c029a8913336b4fd$var$signals.filter(function(sig) {\n try {\n $c029a8913336b4fd$var$process.on(sig, $c029a8913336b4fd$var$sigListeners[sig]);\n return true;\n } catch (er) {\n return false;\n }\n });\n $c029a8913336b4fd$var$process.emit = $c029a8913336b4fd$var$processEmit;\n $c029a8913336b4fd$var$process.reallyExit = $c029a8913336b4fd$var$processReallyExit;\n };\n $c029a8913336b4fd$exports.load = $c029a8913336b4fd$var$load;\n var $c029a8913336b4fd$var$originalProcessReallyExit = $c029a8913336b4fd$var$process.reallyExit;\n var $c029a8913336b4fd$var$processReallyExit = function processReallyExit(code) {\n /* istanbul ignore if */ if (!$c029a8913336b4fd$var$processOk($parcel$global.process)) return;\n $c029a8913336b4fd$var$process.exitCode = code || /* istanbul ignore next */ 0;\n $c029a8913336b4fd$var$emit(\"exit\", $c029a8913336b4fd$var$process.exitCode, null);\n /* istanbul ignore next */ $c029a8913336b4fd$var$emit(\"afterexit\", $c029a8913336b4fd$var$process.exitCode, null);\n /* istanbul ignore next */ $c029a8913336b4fd$var$originalProcessReallyExit.call($c029a8913336b4fd$var$process, $c029a8913336b4fd$var$process.exitCode);\n };\n var $c029a8913336b4fd$var$originalProcessEmit = $c029a8913336b4fd$var$process.emit;\n var $c029a8913336b4fd$var$processEmit = function processEmit(ev, arg) {\n if (ev === \"exit\" && $c029a8913336b4fd$var$processOk($parcel$global.process)) {\n /* istanbul ignore else */ if (arg !== undefined) $c029a8913336b4fd$var$process.exitCode = arg;\n var ret = $c029a8913336b4fd$var$originalProcessEmit.apply(this, arguments);\n /* istanbul ignore next */ $c029a8913336b4fd$var$emit(\"exit\", $c029a8913336b4fd$var$process.exitCode, null);\n /* istanbul ignore next */ $c029a8913336b4fd$var$emit(\"afterexit\", $c029a8913336b4fd$var$process.exitCode, null);\n /* istanbul ignore next */ return ret;\n } else return $c029a8913336b4fd$var$originalProcessEmit.apply(this, arguments);\n };\n}\n\n\nconst $6660f23652c33977$var$DEFAULT_FORCE_KILL_TIMEOUT = 5000;\nconst $6660f23652c33977$export$971fa1b57c7f00b = (kill, signal = \"SIGTERM\", options = {})=>{\n const killResult = kill(signal);\n $6660f23652c33977$var$setKillTimeout(kill, signal, options, killResult);\n return killResult;\n};\nconst $6660f23652c33977$var$setKillTimeout = (kill, signal, options, killResult)=>{\n if (!$6660f23652c33977$var$shouldForceKill(signal, options, killResult)) return;\n const timeout = $6660f23652c33977$var$getForceKillAfterTimeout(options);\n const t = setTimeout(()=>{\n kill(\"SIGKILL\");\n }, timeout);\n // Guarded because there's no `.unref()` when `execa` is used in the renderer\n // process in Electron. This cannot be tested since we don't run tests in\n // Electron.\n // istanbul ignore else\n if (t.unref) t.unref();\n};\nconst $6660f23652c33977$var$shouldForceKill = (signal, { forceKillAfterTimeout: forceKillAfterTimeout }, killResult)=>$6660f23652c33977$var$isSigterm(signal) && forceKillAfterTimeout !== false && killResult;\nconst $6660f23652c33977$var$isSigterm = (signal)=>signal === (0, ($parcel$interopDefault($aEsRD$nodeos))).constants.signals.SIGTERM || typeof signal === \"string\" && signal.toUpperCase() === \"SIGTERM\";\nconst $6660f23652c33977$var$getForceKillAfterTimeout = ({ forceKillAfterTimeout: forceKillAfterTimeout = true })=>{\n if (forceKillAfterTimeout === true) return $6660f23652c33977$var$DEFAULT_FORCE_KILL_TIMEOUT;\n if (!Number.isFinite(forceKillAfterTimeout) || forceKillAfterTimeout < 0) throw new TypeError(`Expected the \\`forceKillAfterTimeout\\` option to be a non-negative integer, got \\`${forceKillAfterTimeout}\\` (${typeof forceKillAfterTimeout})`);\n return forceKillAfterTimeout;\n};\nconst $6660f23652c33977$export$667e13cd9b70ca17 = (spawned, context)=>{\n const killResult = spawned.kill();\n if (killResult) context.isCanceled = true;\n};\nconst $6660f23652c33977$var$timeoutKill = (spawned, signal, reject)=>{\n spawned.kill(signal);\n reject(Object.assign(new Error(\"Timed out\"), {\n timedOut: true,\n signal: signal\n }));\n};\nconst $6660f23652c33977$export$6bcc98999eb82896 = (spawned, { timeout: timeout, killSignal: killSignal = \"SIGTERM\" }, spawnedPromise)=>{\n if (timeout === 0 || timeout === undefined) return spawnedPromise;\n let timeoutId;\n const timeoutPromise = new Promise((resolve, reject)=>{\n timeoutId = setTimeout(()=>{\n $6660f23652c33977$var$timeoutKill(spawned, killSignal, reject);\n }, timeout);\n });\n const safeSpawnedPromise = spawnedPromise.finally(()=>{\n clearTimeout(timeoutId);\n });\n return Promise.race([\n timeoutPromise,\n safeSpawnedPromise\n ]);\n};\nconst $6660f23652c33977$export$3186f8866f616f9f = ({ timeout: timeout })=>{\n if (timeout !== undefined && (!Number.isFinite(timeout) || timeout < 0)) throw new TypeError(`Expected the \\`timeout\\` option to be a non-negative integer, got \\`${timeout}\\` (${typeof timeout})`);\n};\nconst $6660f23652c33977$export$79fc3056c9ca4ada = async (spawned, { cleanup: cleanup, detached: detached }, timedPromise)=>{\n if (!cleanup || detached) return timedPromise;\n const removeExitHandler = (0, (/*@__PURE__*/$parcel$interopDefault($c029a8913336b4fd$exports)))(()=>{\n spawned.kill();\n });\n return timedPromise.finally(()=>{\n removeExitHandler();\n });\n};\n\n\n\n\nfunction $f6b7488345b50296$export$294a92d8f7b3979(stream) {\n return stream !== null && typeof stream === \"object\" && typeof stream.pipe === \"function\";\n}\nfunction $f6b7488345b50296$export$b58a61c52edb4f66(stream) {\n return $f6b7488345b50296$export$294a92d8f7b3979(stream) && stream.writable !== false && typeof stream._write === \"function\" && typeof stream._writableState === \"object\";\n}\nfunction $f6b7488345b50296$export$ac613ff475b69d05(stream) {\n return $f6b7488345b50296$export$294a92d8f7b3979(stream) && stream.readable !== false && typeof stream._read === \"function\" && typeof stream._readableState === \"object\";\n}\nfunction $f6b7488345b50296$export$f92d8ccfaec172d4(stream) {\n return $f6b7488345b50296$export$b58a61c52edb4f66(stream) && $f6b7488345b50296$export$ac613ff475b69d05(stream);\n}\nfunction $f6b7488345b50296$export$3053cdc6f2e088fd(stream) {\n return $f6b7488345b50296$export$f92d8ccfaec172d4(stream) && typeof stream._transform === \"function\";\n}\n\n\nconst $01caaa67600840c5$var$isExecaChildProcess = (target)=>target instanceof (0, $aEsRD$nodechild_process.ChildProcess) && typeof target.then === \"function\";\nconst $01caaa67600840c5$var$pipeToTarget = (spawned, streamName, target)=>{\n if (typeof target === \"string\") {\n spawned[streamName].pipe((0, $aEsRD$nodefs.createWriteStream)(target));\n return spawned;\n }\n if ((0, $f6b7488345b50296$export$b58a61c52edb4f66)(target)) {\n spawned[streamName].pipe(target);\n return spawned;\n }\n if (!$01caaa67600840c5$var$isExecaChildProcess(target)) throw new TypeError(\"The second argument must be a string, a stream or an Execa child process.\");\n if (!(0, $f6b7488345b50296$export$b58a61c52edb4f66)(target.stdin)) throw new TypeError(\"The target child process's stdin must be available.\");\n spawned[streamName].pipe(target.stdin);\n return target;\n};\nconst $01caaa67600840c5$export$14becf8d91886424 = (spawned)=>{\n if (spawned.stdout !== null) spawned.pipeStdout = $01caaa67600840c5$var$pipeToTarget.bind(undefined, spawned, \"stdout\");\n if (spawned.stderr !== null) spawned.pipeStderr = $01caaa67600840c5$var$pipeToTarget.bind(undefined, spawned, \"stderr\");\n if (spawned.all !== undefined) spawned.pipeAll = $01caaa67600840c5$var$pipeToTarget.bind(undefined, spawned, \"all\");\n};\n\n\n\n\nvar $ae5766111a749fef$exports = {};\n\"use strict\";\n\nvar $ae5766111a749fef$require$BufferConstants = $aEsRD$buffer.constants;\n\n\nvar $ae5766111a749fef$require$promisify = $aEsRD$util.promisify;\nvar $c18fb25e35f99929$exports = {};\n\"use strict\";\n\nvar $c18fb25e35f99929$require$PassThroughStream = $aEsRD$stream.PassThrough;\n$c18fb25e35f99929$exports = (options)=>{\n options = {\n ...options\n };\n const { array: array } = options;\n let { encoding: encoding } = options;\n const isBuffer = encoding === \"buffer\";\n let objectMode = false;\n if (array) objectMode = !(encoding || isBuffer);\n else encoding = encoding || \"utf8\";\n if (isBuffer) encoding = null;\n const stream = new $c18fb25e35f99929$require$PassThroughStream({\n objectMode: objectMode\n });\n if (encoding) stream.setEncoding(encoding);\n let length = 0;\n const chunks = [];\n stream.on(\"data\", (chunk)=>{\n chunks.push(chunk);\n if (objectMode) length = chunks.length;\n else length += chunk.length;\n });\n stream.getBufferedValue = ()=>{\n if (array) return chunks;\n return isBuffer ? Buffer.concat(chunks, length) : chunks.join(\"\");\n };\n stream.getBufferedLength = ()=>length;\n return stream;\n};\n\n\nconst $ae5766111a749fef$var$streamPipelinePromisified = $ae5766111a749fef$require$promisify($aEsRD$stream.pipeline);\nclass $ae5766111a749fef$var$MaxBufferError extends Error {\n constructor(){\n super(\"maxBuffer exceeded\");\n this.name = \"MaxBufferError\";\n }\n}\nasync function $ae5766111a749fef$var$getStream(inputStream, options) {\n if (!inputStream) throw new Error(\"Expected a stream\");\n options = {\n maxBuffer: Infinity,\n ...options\n };\n const { maxBuffer: maxBuffer } = options;\n const stream = $c18fb25e35f99929$exports(options);\n await new Promise((resolve, reject)=>{\n const rejectPromise = (error)=>{\n // Don't retrieve an oversized buffer.\n if (error && stream.getBufferedLength() <= $ae5766111a749fef$require$BufferConstants.MAX_LENGTH) error.bufferedData = stream.getBufferedValue();\n reject(error);\n };\n (async ()=>{\n try {\n await $ae5766111a749fef$var$streamPipelinePromisified(inputStream, stream);\n resolve();\n } catch (error) {\n rejectPromise(error);\n }\n })();\n stream.on(\"data\", ()=>{\n if (stream.getBufferedLength() > maxBuffer) rejectPromise(new $ae5766111a749fef$var$MaxBufferError());\n });\n });\n return stream.getBufferedValue();\n}\n$ae5766111a749fef$exports = $ae5766111a749fef$var$getStream;\n$ae5766111a749fef$exports.buffer = (stream, options)=>$ae5766111a749fef$var$getStream(stream, {\n ...options,\n encoding: \"buffer\"\n });\n$ae5766111a749fef$exports.array = (stream, options)=>$ae5766111a749fef$var$getStream(stream, {\n ...options,\n array: true\n });\n$ae5766111a749fef$exports.MaxBufferError = $ae5766111a749fef$var$MaxBufferError;\n\n\nvar $936368d15dd2abe2$exports = {};\n\"use strict\";\n\nvar $936368d15dd2abe2$require$PassThrough = $aEsRD$stream.PassThrough;\n$936368d15dd2abe2$exports = function() {\n var sources = [];\n var output = new $936368d15dd2abe2$require$PassThrough({\n objectMode: true\n });\n output.setMaxListeners(0);\n output.add = add;\n output.isEmpty = isEmpty;\n output.on(\"unpipe\", remove);\n Array.prototype.slice.call(arguments).forEach(add);\n return output;\n function add(source) {\n if (Array.isArray(source)) {\n source.forEach(add);\n return this;\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, {\n end: false\n });\n return this;\n }\n function isEmpty() {\n return sources.length == 0;\n }\n function remove(source) {\n sources = sources.filter(function(it) {\n return it !== source;\n });\n if (!sources.length && output.readable) output.end();\n }\n};\n\n\nconst $253ed793a0121f50$var$validateInputOptions = (input)=>{\n if (input !== undefined) throw new TypeError(\"The `input` and `inputFile` options cannot be both set.\");\n};\nconst $253ed793a0121f50$var$getInputSync = ({ input: input, inputFile: inputFile })=>{\n if (typeof inputFile !== \"string\") return input;\n $253ed793a0121f50$var$validateInputOptions(input);\n return (0, $aEsRD$nodefs.readFileSync)(inputFile);\n};\nconst $253ed793a0121f50$export$7f2f9b6457412b41 = (options)=>{\n const input = $253ed793a0121f50$var$getInputSync(options);\n if ((0, $f6b7488345b50296$export$294a92d8f7b3979)(input)) throw new TypeError(\"The `input` option cannot be a stream in sync mode\");\n return input;\n};\nconst $253ed793a0121f50$var$getInput = ({ input: input, inputFile: inputFile })=>{\n if (typeof inputFile !== \"string\") return input;\n $253ed793a0121f50$var$validateInputOptions(input);\n return (0, $aEsRD$nodefs.createReadStream)(inputFile);\n};\nconst $253ed793a0121f50$export$412508d679148d5c = (spawned, options)=>{\n const input = $253ed793a0121f50$var$getInput(options);\n if (input === undefined) return;\n if ((0, $f6b7488345b50296$export$294a92d8f7b3979)(input)) input.pipe(spawned.stdin);\n else spawned.stdin.end(input);\n};\nconst $253ed793a0121f50$export$41f5c0c12dadd6ae = (spawned, { all: all })=>{\n if (!all || !spawned.stdout && !spawned.stderr) return;\n const mixed = (0, (/*@__PURE__*/$parcel$interopDefault($936368d15dd2abe2$exports)))();\n if (spawned.stdout) mixed.add(spawned.stdout);\n if (spawned.stderr) mixed.add(spawned.stderr);\n return mixed;\n};\n// On failure, `result.stdout|stderr|all` should contain the currently buffered stream\nconst $253ed793a0121f50$var$getBufferedData = async (stream, streamPromise)=>{\n // When `buffer` is `false`, `streamPromise` is `undefined` and there is no buffered data to retrieve\n if (!stream || streamPromise === undefined) return;\n stream.destroy();\n try {\n return await streamPromise;\n } catch (error) {\n return error.bufferedData;\n }\n};\nconst $253ed793a0121f50$var$getStreamPromise = (stream, { encoding: encoding, buffer: buffer, maxBuffer: maxBuffer })=>{\n if (!stream || !buffer) return;\n if (encoding) return (0, (/*@__PURE__*/$parcel$interopDefault($ae5766111a749fef$exports)))(stream, {\n encoding: encoding,\n maxBuffer: maxBuffer\n });\n return (0, (/*@__PURE__*/$parcel$interopDefault($ae5766111a749fef$exports))).buffer(stream, {\n maxBuffer: maxBuffer\n });\n};\nconst $253ed793a0121f50$export$67b768ac9e1c70fa = async ({ stdout: stdout, stderr: stderr, all: all }, { encoding: encoding, buffer: buffer, maxBuffer: maxBuffer }, processDone)=>{\n const stdoutPromise = $253ed793a0121f50$var$getStreamPromise(stdout, {\n encoding: encoding,\n buffer: buffer,\n maxBuffer: maxBuffer\n });\n const stderrPromise = $253ed793a0121f50$var$getStreamPromise(stderr, {\n encoding: encoding,\n buffer: buffer,\n maxBuffer: maxBuffer\n });\n const allPromise = $253ed793a0121f50$var$getStreamPromise(all, {\n encoding: encoding,\n buffer: buffer,\n maxBuffer: maxBuffer * 2\n });\n try {\n return await Promise.all([\n processDone,\n stdoutPromise,\n stderrPromise,\n allPromise\n ]);\n } catch (error) {\n return Promise.all([\n {\n error: error,\n signal: error.signal,\n timedOut: error.timedOut\n },\n $253ed793a0121f50$var$getBufferedData(stdout, stdoutPromise),\n $253ed793a0121f50$var$getBufferedData(stderr, stderrPromise),\n $253ed793a0121f50$var$getBufferedData(all, allPromise)\n ]);\n }\n};\n\n\n// eslint-disable-next-line unicorn/prefer-top-level-await\nconst $c58b70f4b02ed92b$var$nativePromisePrototype = (async ()=>{})().constructor.prototype;\nconst $c58b70f4b02ed92b$var$descriptors = [\n \"then\",\n \"catch\",\n \"finally\"\n].map((property)=>[\n property,\n Reflect.getOwnPropertyDescriptor($c58b70f4b02ed92b$var$nativePromisePrototype, property)\n ]);\nconst $c58b70f4b02ed92b$export$e6eb0007fd542aba = (spawned, promise)=>{\n for (const [property, descriptor] of $c58b70f4b02ed92b$var$descriptors){\n // Starting the main `promise` is deferred to avoid consuming streams\n const value = typeof promise === \"function\" ? (...args)=>Reflect.apply(descriptor.value, promise(), args) : descriptor.value.bind(promise);\n Reflect.defineProperty(spawned, property, {\n ...descriptor,\n value: value\n });\n }\n};\nconst $c58b70f4b02ed92b$export$6e3a9b5342d42997 = (spawned)=>new Promise((resolve, reject)=>{\n spawned.on(\"exit\", (exitCode, signal)=>{\n resolve({\n exitCode: exitCode,\n signal: signal\n });\n });\n spawned.on(\"error\", (error)=>{\n reject(error);\n });\n if (spawned.stdin) spawned.stdin.on(\"error\", (error)=>{\n reject(error);\n });\n });\n\n\n\n\nconst $a2ddfc71e0cf589b$var$normalizeArgs = (file, args = [])=>{\n if (!Array.isArray(args)) return [\n file\n ];\n return [\n file,\n ...args\n ];\n};\nconst $a2ddfc71e0cf589b$var$NO_ESCAPE_REGEXP = /^[\\w.-]+$/;\nconst $a2ddfc71e0cf589b$var$DOUBLE_QUOTES_REGEXP = /\"/g;\nconst $a2ddfc71e0cf589b$var$escapeArg = (arg)=>{\n if (typeof arg !== \"string\" || $a2ddfc71e0cf589b$var$NO_ESCAPE_REGEXP.test(arg)) return arg;\n return `\"${arg.replace($a2ddfc71e0cf589b$var$DOUBLE_QUOTES_REGEXP, '\\\\\"')}\"`;\n};\nconst $a2ddfc71e0cf589b$export$ab3db8fe5ebf3a1 = (file, args)=>$a2ddfc71e0cf589b$var$normalizeArgs(file, args).join(\" \");\nconst $a2ddfc71e0cf589b$export$9d3099014bd914f8 = (file, args)=>$a2ddfc71e0cf589b$var$normalizeArgs(file, args).map((arg)=>$a2ddfc71e0cf589b$var$escapeArg(arg)).join(\" \");\nconst $a2ddfc71e0cf589b$var$SPACES_REGEXP = / +/g;\nconst $a2ddfc71e0cf589b$export$78bcee23e0849f6a = (command)=>{\n const tokens = [];\n for (const token of command.trim().split($a2ddfc71e0cf589b$var$SPACES_REGEXP)){\n // Allow spaces to be escaped by a backslash if not meant as a delimiter\n const previousToken = tokens[tokens.length - 1];\n if (previousToken && previousToken.endsWith(\"\\\\\")) // Merge previous token with current one\n tokens[tokens.length - 1] = `${previousToken.slice(0, -1)} ${token}`;\n else tokens.push(token);\n }\n return tokens;\n};\nconst $a2ddfc71e0cf589b$var$parseExpression = (expression)=>{\n const typeOfExpression = typeof expression;\n if (typeOfExpression === \"string\") return expression;\n if (typeOfExpression === \"number\") return String(expression);\n if (typeOfExpression === \"object\" && expression !== null && !(expression instanceof (0, $aEsRD$nodechild_process.ChildProcess)) && \"stdout\" in expression) {\n const typeOfStdout = typeof expression.stdout;\n if (typeOfStdout === \"string\") return expression.stdout;\n if ((0, $aEsRD$nodebuffer.Buffer).isBuffer(expression.stdout)) return expression.stdout.toString();\n throw new TypeError(`Unexpected \"${typeOfStdout}\" stdout in template expression`);\n }\n throw new TypeError(`Unexpected \"${typeOfExpression}\" in template expression`);\n};\nconst $a2ddfc71e0cf589b$var$concatTokens = (tokens, nextTokens, isNew)=>isNew || tokens.length === 0 || nextTokens.length === 0 ? [\n ...tokens,\n ...nextTokens\n ] : [\n ...tokens.slice(0, -1),\n `${tokens[tokens.length - 1]}${nextTokens[0]}`,\n ...nextTokens.slice(1)\n ];\nconst $a2ddfc71e0cf589b$var$parseTemplate = ({ templates: templates, expressions: expressions, tokens: tokens, index: index, template: template })=>{\n const templateString = template ?? templates.raw[index];\n const templateTokens = templateString.split($a2ddfc71e0cf589b$var$SPACES_REGEXP).filter(Boolean);\n const newTokens = $a2ddfc71e0cf589b$var$concatTokens(tokens, templateTokens, templateString.startsWith(\" \"));\n if (index === expressions.length) return newTokens;\n const expression = expressions[index];\n const expressionTokens = Array.isArray(expression) ? expression.map((expression)=>$a2ddfc71e0cf589b$var$parseExpression(expression)) : [\n $a2ddfc71e0cf589b$var$parseExpression(expression)\n ];\n return $a2ddfc71e0cf589b$var$concatTokens(newTokens, expressionTokens, templateString.endsWith(\" \"));\n};\nconst $a2ddfc71e0cf589b$export$4a6ee54de9b0f25d = (templates, expressions)=>{\n let tokens = [];\n for (const [index, template] of templates.entries())tokens = $a2ddfc71e0cf589b$var$parseTemplate({\n templates: templates,\n expressions: expressions,\n tokens: tokens,\n index: index,\n template: template\n });\n return tokens;\n};\n\n\n\n\nconst $95dafb93944a0ed8$export$38bb3c1fbaa0bdcf = (0, $aEsRD$nodeutil.debuglog)(\"execa\").enabled;\nconst $95dafb93944a0ed8$var$padField = (field, padding)=>String(field).padStart(padding, \"0\");\nconst $95dafb93944a0ed8$var$getTimestamp = ()=>{\n const date = new Date();\n return `${$95dafb93944a0ed8$var$padField(date.getHours(), 2)}:${$95dafb93944a0ed8$var$padField(date.getMinutes(), 2)}:${$95dafb93944a0ed8$var$padField(date.getSeconds(), 2)}.${$95dafb93944a0ed8$var$padField(date.getMilliseconds(), 3)}`;\n};\nconst $95dafb93944a0ed8$export$3bb886c4c1352118 = (escapedCommand, { verbose: verbose })=>{\n if (!verbose) return;\n (0, ($parcel$interopDefault($aEsRD$nodeprocess))).stderr.write(`[${$95dafb93944a0ed8$var$getTimestamp()}] ${escapedCommand}\\n`);\n};\n\n\nconst $d883609dd3eb5a67$var$DEFAULT_MAX_BUFFER = 100000000;\nconst $d883609dd3eb5a67$var$getEnv = ({ env: envOption, extendEnv: extendEnv, preferLocal: preferLocal, localDir: localDir, execPath: execPath })=>{\n const env = extendEnv ? {\n ...(0, ($parcel$interopDefault($aEsRD$nodeprocess))).env,\n ...envOption\n } : envOption;\n if (preferLocal) return (0, $a797d4ec3d6a57cc$export$340e1fbaac04248b)({\n env: env,\n cwd: localDir,\n execPath: execPath\n });\n return env;\n};\nconst $d883609dd3eb5a67$var$handleArguments = (file, args, options = {})=>{\n const parsed = (0, (/*@__PURE__*/$parcel$interopDefault($d4dcc91dc79b210f$exports)))._parse(file, args, options);\n file = parsed.command;\n args = parsed.args;\n options = parsed.options;\n options = {\n maxBuffer: $d883609dd3eb5a67$var$DEFAULT_MAX_BUFFER,\n buffer: true,\n stripFinalNewline: true,\n extendEnv: true,\n preferLocal: false,\n localDir: options.cwd || (0, ($parcel$interopDefault($aEsRD$nodeprocess))).cwd(),\n execPath: (0, ($parcel$interopDefault($aEsRD$nodeprocess))).execPath,\n encoding: \"utf8\",\n reject: true,\n cleanup: true,\n all: false,\n windowsHide: true,\n verbose: (0, $95dafb93944a0ed8$export$38bb3c1fbaa0bdcf),\n ...options\n };\n options.env = $d883609dd3eb5a67$var$getEnv(options);\n options.stdio = (0, $e658e3208d3ccfb8$export$a581401a57fac02e)(options);\n if ((0, ($parcel$interopDefault($aEsRD$nodeprocess))).platform === \"win32\" && (0, ($parcel$interopDefault($aEsRD$nodepath))).basename(file, \".exe\") === \"cmd\") // #116\n args.unshift(\"/q\");\n return {\n file: file,\n args: args,\n options: options,\n parsed: parsed\n };\n};\nconst $d883609dd3eb5a67$var$handleOutput = (options, value, error)=>{\n if (typeof value !== \"string\" && !(0, $aEsRD$nodebuffer.Buffer).isBuffer(value)) // When `execaSync()` errors, we normalize it to '' to mimic `execa()`\n return error === undefined ? undefined : \"\";\n if (options.stripFinalNewline) return (0, $e3b09b96533b1421$export$2e2bcd8739ae039)(value);\n return value;\n};\nfunction $d883609dd3eb5a67$export$db6b1668e3758717(file, args, options) {\n const parsed = $d883609dd3eb5a67$var$handleArguments(file, args, options);\n const command = (0, $a2ddfc71e0cf589b$export$ab3db8fe5ebf3a1)(file, args);\n const escapedCommand = (0, $a2ddfc71e0cf589b$export$9d3099014bd914f8)(file, args);\n (0, $95dafb93944a0ed8$export$3bb886c4c1352118)(escapedCommand, parsed.options);\n (0, $6660f23652c33977$export$3186f8866f616f9f)(parsed.options);\n let spawned;\n try {\n spawned = (0, ($parcel$interopDefault($aEsRD$nodechild_process))).spawn(parsed.file, parsed.args, parsed.options);\n } catch (error) {\n // Ensure the returned error is always both a promise and a child process\n const dummySpawned = new (0, ($parcel$interopDefault($aEsRD$nodechild_process))).ChildProcess();\n const errorPromise = Promise.reject((0, $6431d07a8f5e5288$export$5a4bb2b1c89bdce7)({\n error: error,\n stdout: \"\",\n stderr: \"\",\n all: \"\",\n command: command,\n escapedCommand: escapedCommand,\n parsed: parsed,\n timedOut: false,\n isCanceled: false,\n killed: false\n }));\n (0, $c58b70f4b02ed92b$export$e6eb0007fd542aba)(dummySpawned, errorPromise);\n return dummySpawned;\n }\n const spawnedPromise = (0, $c58b70f4b02ed92b$export$6e3a9b5342d42997)(spawned);\n const timedPromise = (0, $6660f23652c33977$export$6bcc98999eb82896)(spawned, parsed.options, spawnedPromise);\n const processDone = (0, $6660f23652c33977$export$79fc3056c9ca4ada)(spawned, parsed.options, timedPromise);\n const context = {\n isCanceled: false\n };\n spawned.kill = (0, $6660f23652c33977$export$971fa1b57c7f00b).bind(null, spawned.kill.bind(spawned));\n spawned.cancel = (0, $6660f23652c33977$export$667e13cd9b70ca17).bind(null, spawned, context);\n const handlePromise = async ()=>{\n const [{ error: error, exitCode: exitCode, signal: signal, timedOut: timedOut }, stdoutResult, stderrResult, allResult] = await (0, $253ed793a0121f50$export$67b768ac9e1c70fa)(spawned, parsed.options, processDone);\n const stdout = $d883609dd3eb5a67$var$handleOutput(parsed.options, stdoutResult);\n const stderr = $d883609dd3eb5a67$var$handleOutput(parsed.options, stderrResult);\n const all = $d883609dd3eb5a67$var$handleOutput(parsed.options, allResult);\n if (error || exitCode !== 0 || signal !== null) {\n const returnedError = (0, $6431d07a8f5e5288$export$5a4bb2b1c89bdce7)({\n error: error,\n exitCode: exitCode,\n signal: signal,\n stdout: stdout,\n stderr: stderr,\n all: all,\n command: command,\n escapedCommand: escapedCommand,\n parsed: parsed,\n timedOut: timedOut,\n isCanceled: context.isCanceled || (parsed.options.signal ? parsed.options.signal.aborted : false),\n killed: spawned.killed\n });\n if (!parsed.options.reject) return returnedError;\n throw returnedError;\n }\n return {\n command: command,\n escapedCommand: escapedCommand,\n exitCode: 0,\n stdout: stdout,\n stderr: stderr,\n all: all,\n failed: false,\n timedOut: false,\n isCanceled: false,\n killed: false\n };\n };\n const handlePromiseOnce = (0, $a0eb8fc88e2c8055$export$2e2bcd8739ae039)(handlePromise);\n (0, $253ed793a0121f50$export$412508d679148d5c)(spawned, parsed.options);\n spawned.all = (0, $253ed793a0121f50$export$41f5c0c12dadd6ae)(spawned, parsed.options);\n (0, $01caaa67600840c5$export$14becf8d91886424)(spawned);\n (0, $c58b70f4b02ed92b$export$e6eb0007fd542aba)(spawned, handlePromiseOnce);\n return spawned;\n}\nfunction $d883609dd3eb5a67$export$28823a701bb5a12d(file, args, options) {\n const parsed = $d883609dd3eb5a67$var$handleArguments(file, args, options);\n const command = (0, $a2ddfc71e0cf589b$export$ab3db8fe5ebf3a1)(file, args);\n const escapedCommand = (0, $a2ddfc71e0cf589b$export$9d3099014bd914f8)(file, args);\n (0, $95dafb93944a0ed8$export$3bb886c4c1352118)(escapedCommand, parsed.options);\n const input = (0, $253ed793a0121f50$export$7f2f9b6457412b41)(parsed.options);\n let result;\n try {\n result = (0, ($parcel$interopDefault($aEsRD$nodechild_process))).spawnSync(parsed.file, parsed.args, {\n ...parsed.options,\n input: input\n });\n } catch (error) {\n throw (0, $6431d07a8f5e5288$export$5a4bb2b1c89bdce7)({\n error: error,\n stdout: \"\",\n stderr: \"\",\n all: \"\",\n command: command,\n escapedCommand: escapedCommand,\n parsed: parsed,\n timedOut: false,\n isCanceled: false,\n killed: false\n });\n }\n const stdout = $d883609dd3eb5a67$var$handleOutput(parsed.options, result.stdout, result.error);\n const stderr = $d883609dd3eb5a67$var$handleOutput(parsed.options, result.stderr, result.error);\n if (result.error || result.status !== 0 || result.signal !== null) {\n const error = (0, $6431d07a8f5e5288$export$5a4bb2b1c89bdce7)({\n stdout: stdout,\n stderr: stderr,\n error: result.error,\n signal: result.signal,\n exitCode: result.status,\n command: command,\n escapedCommand: escapedCommand,\n parsed: parsed,\n timedOut: result.error && result.error.code === \"ETIMEDOUT\",\n isCanceled: false,\n killed: result.signal !== null\n });\n if (!parsed.options.reject) return error;\n throw error;\n }\n return {\n command: command,\n escapedCommand: escapedCommand,\n exitCode: 0,\n stdout: stdout,\n stderr: stderr,\n failed: false,\n timedOut: false,\n isCanceled: false,\n killed: false\n };\n}\nconst $d883609dd3eb5a67$var$normalizeScriptStdin = ({ input: input, inputFile: inputFile, stdio: stdio })=>input === undefined && inputFile === undefined && stdio === undefined ? {\n stdin: \"inherit\"\n } : {};\nconst $d883609dd3eb5a67$var$normalizeScriptOptions = (options = {})=>({\n preferLocal: true,\n ...$d883609dd3eb5a67$var$normalizeScriptStdin(options),\n ...options\n });\nfunction $d883609dd3eb5a67$var$create$(options) {\n function $(templatesOrOptions, ...expressions) {\n if (!Array.isArray(templatesOrOptions)) return $d883609dd3eb5a67$var$create$({\n ...options,\n ...templatesOrOptions\n });\n const [file, ...args] = (0, $a2ddfc71e0cf589b$export$4a6ee54de9b0f25d)(templatesOrOptions, expressions);\n return $d883609dd3eb5a67$export$db6b1668e3758717(file, args, $d883609dd3eb5a67$var$normalizeScriptOptions(options));\n }\n $.sync = (templates, ...expressions)=>{\n if (!Array.isArray(templates)) throw new TypeError(\"Please use $(options).sync`command` instead of $.sync(options)`command`.\");\n const [file, ...args] = (0, $a2ddfc71e0cf589b$export$4a6ee54de9b0f25d)(templates, expressions);\n return $d883609dd3eb5a67$export$28823a701bb5a12d(file, args, $d883609dd3eb5a67$var$normalizeScriptOptions(options));\n };\n return $;\n}\nconst $d883609dd3eb5a67$export$3d8c2f653ac9d0b9 = $d883609dd3eb5a67$var$create$();\nfunction $d883609dd3eb5a67$export$eb9ed1222071f2f6(command, options) {\n const [file, ...args] = (0, $a2ddfc71e0cf589b$export$78bcee23e0849f6a)(command);\n return $d883609dd3eb5a67$export$db6b1668e3758717(file, args, options);\n}\nfunction $d883609dd3eb5a67$export$5c60dbe76a54db4(command, options) {\n const [file, ...args] = (0, $a2ddfc71e0cf589b$export$78bcee23e0849f6a)(command);\n return $d883609dd3eb5a67$export$28823a701bb5a12d(file, args, options);\n}\nfunction $d883609dd3eb5a67$export$c004ac68fdb98119(scriptPath, args, options = {}) {\n if (args && !Array.isArray(args) && typeof args === \"object\") {\n options = args;\n args = [];\n }\n const stdio = (0, $e658e3208d3ccfb8$export$889423b478ae2ba)(options);\n const defaultExecArgv = (0, ($parcel$interopDefault($aEsRD$nodeprocess))).execArgv.filter((arg)=>!arg.startsWith(\"--inspect\"));\n const { nodePath: nodePath = (0, ($parcel$interopDefault($aEsRD$nodeprocess))).execPath, nodeOptions: nodeOptions = defaultExecArgv } = options;\n return $d883609dd3eb5a67$export$db6b1668e3758717(nodePath, [\n ...nodeOptions,\n scriptPath,\n ...Array.isArray(args) ? args : []\n ], {\n ...options,\n stdin: undefined,\n stdout: undefined,\n stderr: undefined,\n stdio: stdio,\n shell: false\n });\n}\n\n\nfunction $a41cd8ed4acfdead$export$7683bf1311d8252() {\n return (0, (/*@__PURE__*/$parcel$interopDefault($213a898fd02ffa77$exports))).sync(\"sudo\", {\n nothrow: true\n }) !== null;\n}\nfunction $a41cd8ed4acfdead$export$e3140dc7d0c35e48() {\n // TODO not all CI systems are root\n return process.getuid?.() === 0 || Boolean(process.env.CI);\n}\nfunction $a41cd8ed4acfdead$export$316200228f28b8ce() {\n return $a41cd8ed4acfdead$export$e3140dc7d0c35e48() && $a41cd8ed4acfdead$export$7683bf1311d8252();\n}\nfunction $a41cd8ed4acfdead$export$d976d47922ae9667(command) {\n if ($a41cd8ed4acfdead$export$316200228f28b8ce()) return `sudo ${command}`;\n return command;\n}\nconst $a41cd8ed4acfdead$export$151aeb0ade3989e1 = {\n stdio: \"inherit\",\n shell: true\n};\nfunction $a41cd8ed4acfdead$export$58f152936f209932(program, args = [], execOptions = $a41cd8ed4acfdead$export$151aeb0ade3989e1) {\n if ($a41cd8ed4acfdead$export$316200228f28b8ce()) {\n const command = $a41cd8ed4acfdead$var$getSudoCommand(program, args);\n return (0, $d883609dd3eb5a67$export$5c60dbe76a54db4)(command, execOptions);\n } else return (0, $d883609dd3eb5a67$export$28823a701bb5a12d)(program, $a41cd8ed4acfdead$var$quote(args), execOptions);\n}\nfunction $a41cd8ed4acfdead$export$351270479e2eef26(program, args = [], execOptions = $a41cd8ed4acfdead$export$151aeb0ade3989e1) {\n if ($a41cd8ed4acfdead$export$316200228f28b8ce()) {\n const command = $a41cd8ed4acfdead$var$getSudoCommand(program, args);\n return (0, $d883609dd3eb5a67$export$eb9ed1222071f2f6)(command, execOptions);\n } else return (0, $d883609dd3eb5a67$export$db6b1668e3758717)(program, $a41cd8ed4acfdead$var$quote(args), execOptions);\n}\nfunction $a41cd8ed4acfdead$var$getSudoCommand(program, args) {\n return `sudo ${$a41cd8ed4acfdead$var$quote([\n program,\n ...args\n ]).join(\" \")}`;\n}\nfunction $a41cd8ed4acfdead$var$quote(strings) {\n return strings.map((str)=>`'${str}'`);\n}\n\n\n// From `is-admin`: updated execa\n\n// https://stackoverflow.com/a/28268802\nasync function $dac61d567ef72132$var$testFltmc() {\n try {\n await (0, $d883609dd3eb5a67$export$db6b1668e3758717)(\"fltmc\");\n return true;\n } catch {\n return false;\n }\n}\nasync function $dac61d567ef72132$export$2e2bcd8739ae039() {\n if (process.platform !== \"win32\") return false;\n try {\n // https://stackoverflow.com/a/21295806/1641422\n await (0, $d883609dd3eb5a67$export$db6b1668e3758717)(\"fsutil\", [\n \"dirty\",\n \"query\",\n process.env.systemdrive ?? \"\"\n ]);\n return true;\n } catch (error) {\n if (error.code === \"ENOENT\") return $dac61d567ef72132$var$testFltmc();\n return false;\n }\n}\n\n\n\nconst $31dd5c0e175106bb$export$36ad181701cee597 = (0, $dac61d567ef72132$export$2e2bcd8739ae039);\nconst $31dd5c0e175106bb$export$2ebf12717e6b5bb8 = (0, $a41cd8ed4acfdead$export$e3140dc7d0c35e48);\nfunction $31dd5c0e175106bb$export$fc970ed23da99565() {\n if (process.platform === \"win32\") return $31dd5c0e175106bb$export$36ad181701cee597();\n else return (0, $a41cd8ed4acfdead$export$e3140dc7d0c35e48)();\n}\n\n\n\n\nasync function $8877f7db54427893$export$4718e061a205eab(path) {\n if ((process.platform === \"linux\" || process.platform === \"darwin\") && (0, $a41cd8ed4acfdead$export$316200228f28b8ce)() && process.env.SUDO_USER !== undefined) {\n const isDirectory = (0, ($parcel$interopDefault($aEsRD$fs))).statSync(path).isDirectory();\n await (0, $a41cd8ed4acfdead$export$351270479e2eef26)(\"chown\", [\n ...isDirectory ? [\n \"-R\"\n ] : [],\n process.env.SUDO_USER,\n path\n ], (0, $a41cd8ed4acfdead$export$151aeb0ade3989e1));\n }\n}\n\n\n\n\nfunction $9affb3cfb96595a9$export$8312d9eeba321950(path) {\n if ((0, $a41cd8ed4acfdead$export$316200228f28b8ce)() && typeof process.env.SUDO_USER === \"string\") {\n // use the user profile even if root\n if (process.platform === \"darwin\") return (0, $aEsRD$path.join)(\"/Users/\", process.env.SUDO_USER, path);\n else return (0, $aEsRD$path.join)(\"/home/\", process.env.SUDO_USER, path);\n } else return (0, $ceca9af5f11121ad$export$2e2bcd8739ae039)(`~/${path}`);\n}\n\n\n\nvar $7Lz0k = parcelRequire(\"7Lz0k\");\nvar $31fcf2933131bf36$exports = {};\n\"use strict\";\n\n\nvar $bLhaJ = parcelRequire(\"bLhaJ\");\n\n\n\n\n/******************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */ /* global Reflect, Promise */ function $31fcf2933131bf36$var$__awaiter(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n}\nfunction $31fcf2933131bf36$var$__generator(thisArg, body) {\n var _ = {\n label: 0,\n sent: function() {\n if (t[0] & 1) throw t[1];\n return t[1];\n },\n trys: [],\n ops: []\n }, f, y, t, g;\n return g = {\n next: verb(0),\n \"throw\": verb(1),\n \"return\": verb(2)\n }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() {\n return this;\n }), g;\n function verb(n) {\n return function(v) {\n return step([\n n,\n v\n ]);\n };\n }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while(g && (g = 0, op[0] && (_ = 0)), _)try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [\n op[0] & 2,\n t.value\n ];\n switch(op[0]){\n case 0:\n case 1:\n t = op;\n break;\n case 4:\n _.label++;\n return {\n value: op[1],\n done: false\n };\n case 5:\n _.label++;\n y = op[1];\n op = [\n 0\n ];\n continue;\n case 7:\n op = _.ops.pop();\n _.trys.pop();\n continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {\n _ = 0;\n continue;\n }\n if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {\n _.label = op[1];\n break;\n }\n if (op[0] === 6 && _.label < t[1]) {\n _.label = t[1];\n t = op;\n break;\n }\n if (t && _.label < t[2]) {\n _.label = t[2];\n _.ops.push(op);\n break;\n }\n if (t[2]) _.ops.pop();\n _.trys.pop();\n continue;\n }\n op = body.call(thisArg, _);\n } catch (e) {\n op = [\n 6,\n e\n ];\n y = 0;\n } finally{\n f = t = 0;\n }\n if (op[0] & 5) throw op[1];\n return {\n value: op[0] ? op[1] : void 0,\n done: true\n };\n }\n}\nvar $31fcf2933131bf36$var$packageJson = $aEsRD$process.env.npm_package_json;\nvar $31fcf2933131bf36$var$userAgent = $aEsRD$process.env.npm_config_user_agent;\nvar $31fcf2933131bf36$var$isNpm6 = Boolean($31fcf2933131bf36$var$userAgent && $31fcf2933131bf36$var$userAgent.startsWith(\"npm\"));\nvar $31fcf2933131bf36$var$isNpm7 = Boolean($31fcf2933131bf36$var$packageJson && $31fcf2933131bf36$var$packageJson.endsWith(\"package.json\"));\nvar $31fcf2933131bf36$var$isNpm = $31fcf2933131bf36$var$isNpm6 || $31fcf2933131bf36$var$isNpm7;\nvar $31fcf2933131bf36$var$isYarn = Boolean($31fcf2933131bf36$var$userAgent && $31fcf2933131bf36$var$userAgent.startsWith(\"yarn\"));\nvar $31fcf2933131bf36$var$isNpmOrYarn = $31fcf2933131bf36$var$isNpm || $31fcf2933131bf36$var$isYarn;\nvar $31fcf2933131bf36$var$homeDirectory = $aEsRD$os.homedir();\nvar $31fcf2933131bf36$var$configDir = process.env.XDG_CONFIG_HOME || $aEsRD$path.join($31fcf2933131bf36$var$homeDirectory, \".config\", \"simple-update-notifier\");\nvar $31fcf2933131bf36$var$getConfigFile = function(packageName) {\n return $aEsRD$path.join($31fcf2933131bf36$var$configDir, \"\".concat(packageName.replace(\"@\", \"\").replace(\"/\", \"__\"), \".json\"));\n};\nvar $31fcf2933131bf36$var$createConfigDir = function() {\n if (!$aEsRD$fs.existsSync($31fcf2933131bf36$var$configDir)) $aEsRD$fs.mkdirSync($31fcf2933131bf36$var$configDir, {\n recursive: true\n });\n};\nvar $31fcf2933131bf36$var$getLastUpdate = function(packageName) {\n var configFile = $31fcf2933131bf36$var$getConfigFile(packageName);\n try {\n if (!$aEsRD$fs.existsSync(configFile)) return undefined;\n var file = JSON.parse($aEsRD$fs.readFileSync(configFile, \"utf8\"));\n return file.lastUpdateCheck;\n } catch (_a) {\n return undefined;\n }\n};\nvar $31fcf2933131bf36$var$saveLastUpdate = function(packageName) {\n var configFile = $31fcf2933131bf36$var$getConfigFile(packageName);\n $aEsRD$fs.writeFileSync(configFile, JSON.stringify({\n lastUpdateCheck: new Date().getTime()\n }));\n};\nvar $31fcf2933131bf36$var$getDistVersion = function(packageName, distTag) {\n return $31fcf2933131bf36$var$__awaiter(void 0, void 0, void 0, function() {\n var url;\n return $31fcf2933131bf36$var$__generator(this, function(_a) {\n url = \"https://registry.npmjs.org/-/package/\".concat(packageName, \"/dist-tags\");\n return [\n 2 /*return*/ ,\n new Promise(function(resolve, reject) {\n $aEsRD$https.get(url, function(res) {\n var body = \"\";\n res.on(\"data\", function(chunk) {\n return body += chunk;\n });\n res.on(\"end\", function() {\n try {\n var json = JSON.parse(body);\n var version = json[distTag];\n if (!version) reject(new Error(\"Error getting version\"));\n resolve(version);\n } catch (_a) {\n reject(new Error(\"Could not parse version response\"));\n }\n });\n }).on(\"error\", function(err) {\n return reject(err);\n });\n })\n ];\n });\n });\n};\nvar $31fcf2933131bf36$var$hasNewVersion = function(_a) {\n var pkg = _a.pkg, _b = _a.updateCheckInterval, updateCheckInterval = _b === void 0 ? 86400000 : _b, _c = _a.distTag, distTag = _c === void 0 ? \"latest\" : _c, alwaysRun = _a.alwaysRun, debug = _a.debug;\n return $31fcf2933131bf36$var$__awaiter(void 0, void 0, void 0, function() {\n var lastUpdateCheck, latestVersion;\n return $31fcf2933131bf36$var$__generator(this, function(_d) {\n switch(_d.label){\n case 0:\n $31fcf2933131bf36$var$createConfigDir();\n lastUpdateCheck = $31fcf2933131bf36$var$getLastUpdate(pkg.name);\n if (!(alwaysRun || !lastUpdateCheck || lastUpdateCheck < new Date().getTime() - updateCheckInterval)) return [\n 3 /*break*/ ,\n 2\n ];\n return [\n 4 /*yield*/ ,\n $31fcf2933131bf36$var$getDistVersion(pkg.name, distTag)\n ];\n case 1:\n latestVersion = _d.sent();\n $31fcf2933131bf36$var$saveLastUpdate(pkg.name);\n if ($bLhaJ.gt(latestVersion, pkg.version)) return [\n 2 /*return*/ ,\n latestVersion\n ];\n else if (debug) console.error(\"Latest version (\".concat(latestVersion, \") not newer than current version (\").concat(pkg.version, \")\"));\n return [\n 3 /*break*/ ,\n 3\n ];\n case 2:\n if (debug) console.error(\"Too recent to check for a new update. simpleUpdateNotifier() interval set to \".concat(updateCheckInterval, \"ms but only \").concat(new Date().getTime() - lastUpdateCheck, \"ms since last check.\"));\n _d.label = 3;\n case 3:\n return [\n 2 /*return*/ ,\n false\n ];\n }\n });\n });\n};\nvar $31fcf2933131bf36$var$borderedText = function(text) {\n var lines = text.split(\"\\n\");\n var width = Math.max.apply(Math, lines.map(function(l) {\n return l.length;\n }));\n var res = [\n \"\\u250C\".concat(\"\\u2500\".repeat(width + 2), \"\\u2510\")\n ];\n for(var _i = 0, lines_1 = lines; _i < lines_1.length; _i++){\n var line = lines_1[_i];\n res.push(\"\\u2502 \".concat(line.padEnd(width), \" \\u2502\"));\n }\n res.push(\"\\u2514\".concat(\"\\u2500\".repeat(width + 2), \"\\u2518\"));\n return res.join(\"\\n\");\n};\nvar $31fcf2933131bf36$var$simpleUpdateNotifier = function(args) {\n return $31fcf2933131bf36$var$__awaiter(void 0, void 0, void 0, function() {\n var latestVersion, err_1;\n return $31fcf2933131bf36$var$__generator(this, function(_a) {\n switch(_a.label){\n case 0:\n if (!args.alwaysRun && (!process.stdout.isTTY || $31fcf2933131bf36$var$isNpmOrYarn && !args.shouldNotifyInNpmScript)) {\n if (args.debug) console.error(\"Opting out of running simpleUpdateNotifier()\");\n return [\n 2 /*return*/ \n ];\n }\n _a.label = 1;\n case 1:\n _a.trys.push([\n 1,\n 3,\n ,\n 4\n ]);\n return [\n 4 /*yield*/ ,\n $31fcf2933131bf36$var$hasNewVersion(args)\n ];\n case 2:\n latestVersion = _a.sent();\n if (latestVersion) console.error($31fcf2933131bf36$var$borderedText(\"New version of \".concat(args.pkg.name, \" available!\\nCurrent Version: \").concat(args.pkg.version, \"\\nLatest Version: \").concat(latestVersion)));\n return [\n 3 /*break*/ ,\n 4\n ];\n case 3:\n err_1 = _a.sent();\n // Catch any network errors or cache writing errors so module doesn't cause a crash\n if (args.debug && err_1 instanceof Error) console.error(\"Unexpected error in simpleUpdateNotifier():\", err_1);\n return [\n 3 /*break*/ ,\n 4\n ];\n case 4:\n return [\n 2 /*return*/ \n ];\n }\n });\n });\n};\n$31fcf2933131bf36$exports = $31fcf2933131bf36$var$simpleUpdateNotifier;\n\n\nvar $f0b84108a873516c$exports = {};\n$f0b84108a873516c$exports = JSON.parse('{\"name\":\"setup-cpp\",\"version\":\"0.36.1\"}');\n\n\nasync function $657b8b52854b1b18$export$31c6d94eb20a8ca7() {\n try {\n await (0, (/*@__PURE__*/$parcel$interopDefault($31fcf2933131bf36$exports)))({\n pkg: (0, (/*@__PURE__*/$parcel$interopDefault($f0b84108a873516c$exports)))\n });\n } catch (err) {\n (0, $7Lz0k.warning)(`Failed to check for updates: ${err instanceof Error ? err.message + err.stack : err}`);\n }\n}\n\n\n\nvar $kDRhL = parcelRequire(\"kDRhL\");\n\nvar $7Lz0k = parcelRequire(\"7Lz0k\");\nfunction $a21c3318012b72ae$var$toArr(any) {\n return any == null ? [] : Array.isArray(any) ? any : [\n any\n ];\n}\nfunction $a21c3318012b72ae$var$toVal(out, key, val, opts) {\n var x, old = out[key], nxt = !!~opts.string.indexOf(key) ? val == null || val === true ? \"\" : String(val) : typeof val === \"boolean\" ? val : !!~opts.boolean.indexOf(key) ? val === \"false\" ? false : val === \"true\" || (out._.push((x = +val, x * 0 === 0) ? x : val), !!val) : (x = +val, x * 0 === 0) ? x : val;\n out[key] = old == null ? nxt : Array.isArray(old) ? old.concat(nxt) : [\n old,\n nxt\n ];\n}\nfunction $a21c3318012b72ae$export$2e2bcd8739ae039(args, opts) {\n args = args || [];\n opts = opts || {};\n var k, arr, arg, name, val, out = {\n _: []\n };\n var i = 0, j = 0, idx = 0, len = args.length;\n const alibi = opts.alias !== void 0;\n const strict = opts.unknown !== void 0;\n const defaults = opts.default !== void 0;\n opts.alias = opts.alias || {};\n opts.string = $a21c3318012b72ae$var$toArr(opts.string);\n opts.boolean = $a21c3318012b72ae$var$toArr(opts.boolean);\n if (alibi) for(k in opts.alias){\n arr = opts.alias[k] = $a21c3318012b72ae$var$toArr(opts.alias[k]);\n for(i = 0; i < arr.length; i++)(opts.alias[arr[i]] = arr.concat(k)).splice(i, 1);\n }\n for(i = opts.boolean.length; i-- > 0;){\n arr = opts.alias[opts.boolean[i]] || [];\n for(j = arr.length; j-- > 0;)opts.boolean.push(arr[j]);\n }\n for(i = opts.string.length; i-- > 0;){\n arr = opts.alias[opts.string[i]] || [];\n for(j = arr.length; j-- > 0;)opts.string.push(arr[j]);\n }\n if (defaults) for(k in opts.default){\n name = typeof opts.default[k];\n arr = opts.alias[k] = opts.alias[k] || [];\n if (opts[name] !== void 0) {\n opts[name].push(k);\n for(i = 0; i < arr.length; i++)opts[name].push(arr[i]);\n }\n }\n const keys = strict ? Object.keys(opts.alias) : [];\n for(i = 0; i < len; i++){\n arg = args[i];\n if (arg === \"--\") {\n out._ = out._.concat(args.slice(++i));\n break;\n }\n for(j = 0; j < arg.length; j++){\n if (arg.charCodeAt(j) !== 45) break; // \"-\"\n }\n if (j === 0) out._.push(arg);\n else if (arg.substring(j, j + 3) === \"no-\") {\n name = arg.substring(j + 3);\n if (strict && !~keys.indexOf(name)) return opts.unknown(arg);\n out[name] = false;\n } else {\n for(idx = j + 1; idx < arg.length; idx++){\n if (arg.charCodeAt(idx) === 61) break; // \"=\"\n }\n name = arg.substring(j, idx);\n val = arg.substring(++idx) || i + 1 === len || (\"\" + args[i + 1]).charCodeAt(0) === 45 || args[++i];\n arr = j === 2 ? [\n name\n ] : name;\n for(idx = 0; idx < arr.length; idx++){\n name = arr[idx];\n if (strict && !~keys.indexOf(name)) return opts.unknown(\"-\".repeat(j) + name);\n $a21c3318012b72ae$var$toVal(out, name, idx + 1 < arr.length || val, opts);\n }\n }\n }\n if (defaults) {\n for(k in opts.default)if (out[k] === void 0) out[k] = opts.default[k];\n }\n if (alibi) for(k in out){\n arr = opts.alias[k] || [];\n while(arr.length > 0)out[arr.shift()] = out[k];\n }\n return out;\n}\n\n\n\n\nvar $l6WDk = parcelRequire(\"l6WDk\");\n\nvar $kDRhL = parcelRequire(\"kDRhL\");\n\nvar $l6WDk = parcelRequire(\"l6WDk\");\n\n\n\nvar $7Lz0k = parcelRequire(\"7Lz0k\");\n\n\n\n\n\n\n\n\n\nconst $d46a5999167eb053$var$getErrorPrefix = ({ timedOut: timedOut, timeout: timeout, errorCode: errorCode, signal: signal, signalDescription: signalDescription, exitCode: exitCode, isCanceled: isCanceled })=>{\n if (timedOut) return `timed out after ${timeout} milliseconds`;\n if (isCanceled) return \"was canceled\";\n if (errorCode !== undefined) return `failed with ${errorCode}`;\n if (signal !== undefined) return `was killed with ${signal} (${signalDescription})`;\n if (exitCode !== undefined) return `failed with exit code ${exitCode}`;\n return \"failed\";\n};\nconst $d46a5999167eb053$export$5a4bb2b1c89bdce7 = ({ stdout: stdout, stderr: stderr, all: all, error: error, signal: signal, exitCode: exitCode, command: command, escapedCommand: escapedCommand, timedOut: timedOut, isCanceled: isCanceled, killed: killed, parsed: { options: { timeout: timeout } } })=>{\n // `signal` and `exitCode` emitted on `spawned.on('exit')` event can be `null`.\n // We normalize them to `undefined`\n exitCode = exitCode === null ? undefined : exitCode;\n signal = signal === null ? undefined : signal;\n const signalDescription = signal === undefined ? undefined : (0, $ae402b5dab1cbf25$export$c3fcb39d6848c78d)[signal].description;\n const errorCode = error && error.code;\n const prefix = $d46a5999167eb053$var$getErrorPrefix({\n timedOut: timedOut,\n timeout: timeout,\n errorCode: errorCode,\n signal: signal,\n signalDescription: signalDescription,\n exitCode: exitCode,\n isCanceled: isCanceled\n });\n const execaMessage = `Command ${prefix}: ${command}`;\n const isError = Object.prototype.toString.call(error) === \"[object Error]\";\n const shortMessage = isError ? `${execaMessage}\\n${error.message}` : execaMessage;\n const message = [\n shortMessage,\n stderr,\n stdout\n ].filter(Boolean).join(\"\\n\");\n if (isError) {\n error.originalMessage = error.message;\n error.message = message;\n } else error = new Error(message);\n error.shortMessage = shortMessage;\n error.command = command;\n error.escapedCommand = escapedCommand;\n error.exitCode = exitCode;\n error.signal = signal;\n error.signalDescription = signalDescription;\n error.stdout = stdout;\n error.stderr = stderr;\n if (all !== undefined) error.all = all;\n if (\"bufferedData\" in error) delete error.bufferedData;\n error.failed = true;\n error.timedOut = Boolean(timedOut);\n error.isCanceled = isCanceled;\n error.killed = killed && !timedOut;\n return error;\n};\n\n\nconst $bd23b7c5b7c23c62$var$aliases = [\n \"stdin\",\n \"stdout\",\n \"stderr\"\n];\nconst $bd23b7c5b7c23c62$var$hasAlias = (options)=>$bd23b7c5b7c23c62$var$aliases.some((alias)=>options[alias] !== undefined);\nconst $bd23b7c5b7c23c62$export$a581401a57fac02e = (options)=>{\n if (!options) return;\n const { stdio: stdio } = options;\n if (stdio === undefined) return $bd23b7c5b7c23c62$var$aliases.map((alias)=>options[alias]);\n if ($bd23b7c5b7c23c62$var$hasAlias(options)) throw new Error(`It's not possible to provide \\`stdio\\` in combination with one of ${$bd23b7c5b7c23c62$var$aliases.map((alias)=>`\\`${alias}\\``).join(\", \")}`);\n if (typeof stdio === \"string\") return stdio;\n if (!Array.isArray(stdio)) throw new TypeError(`Expected \\`stdio\\` to be of type \\`string\\` or \\`Array\\`, got \\`${typeof stdio}\\``);\n const length = Math.max(stdio.length, $bd23b7c5b7c23c62$var$aliases.length);\n return Array.from({\n length: length\n }, (value, index)=>stdio[index]);\n};\nconst $bd23b7c5b7c23c62$export$889423b478ae2ba = (options)=>{\n const stdio = $bd23b7c5b7c23c62$export$a581401a57fac02e(options);\n if (stdio === \"ipc\") return \"ipc\";\n if (stdio === undefined || typeof stdio === \"string\") return [\n stdio,\n stdio,\n stdio,\n \"ipc\"\n ];\n if (stdio.includes(\"ipc\")) return stdio;\n return [\n ...stdio,\n \"ipc\"\n ];\n};\n\n\n\n\nconst $c5d7497aea17a397$var$DEFAULT_FORCE_KILL_TIMEOUT = 5000;\nconst $c5d7497aea17a397$export$971fa1b57c7f00b = (kill, signal = \"SIGTERM\", options = {})=>{\n const killResult = kill(signal);\n $c5d7497aea17a397$var$setKillTimeout(kill, signal, options, killResult);\n return killResult;\n};\nconst $c5d7497aea17a397$var$setKillTimeout = (kill, signal, options, killResult)=>{\n if (!$c5d7497aea17a397$var$shouldForceKill(signal, options, killResult)) return;\n const timeout = $c5d7497aea17a397$var$getForceKillAfterTimeout(options);\n const t = setTimeout(()=>{\n kill(\"SIGKILL\");\n }, timeout);\n // Guarded because there's no `.unref()` when `execa` is used in the renderer\n // process in Electron. This cannot be tested since we don't run tests in\n // Electron.\n // istanbul ignore else\n if (t.unref) t.unref();\n};\nconst $c5d7497aea17a397$var$shouldForceKill = (signal, { forceKillAfterTimeout: forceKillAfterTimeout }, killResult)=>$c5d7497aea17a397$var$isSigterm(signal) && forceKillAfterTimeout !== false && killResult;\nconst $c5d7497aea17a397$var$isSigterm = (signal)=>signal === (0, ($parcel$interopDefault($aEsRD$nodeos))).constants.signals.SIGTERM || typeof signal === \"string\" && signal.toUpperCase() === \"SIGTERM\";\nconst $c5d7497aea17a397$var$getForceKillAfterTimeout = ({ forceKillAfterTimeout: forceKillAfterTimeout = true })=>{\n if (forceKillAfterTimeout === true) return $c5d7497aea17a397$var$DEFAULT_FORCE_KILL_TIMEOUT;\n if (!Number.isFinite(forceKillAfterTimeout) || forceKillAfterTimeout < 0) throw new TypeError(`Expected the \\`forceKillAfterTimeout\\` option to be a non-negative integer, got \\`${forceKillAfterTimeout}\\` (${typeof forceKillAfterTimeout})`);\n return forceKillAfterTimeout;\n};\nconst $c5d7497aea17a397$export$667e13cd9b70ca17 = (spawned, context)=>{\n const killResult = spawned.kill();\n if (killResult) context.isCanceled = true;\n};\nconst $c5d7497aea17a397$var$timeoutKill = (spawned, signal, reject)=>{\n spawned.kill(signal);\n reject(Object.assign(new Error(\"Timed out\"), {\n timedOut: true,\n signal: signal\n }));\n};\nconst $c5d7497aea17a397$export$6bcc98999eb82896 = (spawned, { timeout: timeout, killSignal: killSignal = \"SIGTERM\" }, spawnedPromise)=>{\n if (timeout === 0 || timeout === undefined) return spawnedPromise;\n let timeoutId;\n const timeoutPromise = new Promise((resolve, reject)=>{\n timeoutId = setTimeout(()=>{\n $c5d7497aea17a397$var$timeoutKill(spawned, killSignal, reject);\n }, timeout);\n });\n const safeSpawnedPromise = spawnedPromise.finally(()=>{\n clearTimeout(timeoutId);\n });\n return Promise.race([\n timeoutPromise,\n safeSpawnedPromise\n ]);\n};\nconst $c5d7497aea17a397$export$3186f8866f616f9f = ({ timeout: timeout })=>{\n if (timeout !== undefined && (!Number.isFinite(timeout) || timeout < 0)) throw new TypeError(`Expected the \\`timeout\\` option to be a non-negative integer, got \\`${timeout}\\` (${typeof timeout})`);\n};\nconst $c5d7497aea17a397$export$79fc3056c9ca4ada = async (spawned, { cleanup: cleanup, detached: detached }, timedPromise)=>{\n if (!cleanup || detached) return timedPromise;\n const removeExitHandler = (0, (/*@__PURE__*/$parcel$interopDefault($c029a8913336b4fd$exports)))(()=>{\n spawned.kill();\n });\n return timedPromise.finally(()=>{\n removeExitHandler();\n });\n};\n\n\n\n\n\nconst $227600a6fcb79c9b$var$isExecaChildProcess = (target)=>target instanceof (0, $aEsRD$nodechild_process.ChildProcess) && typeof target.then === \"function\";\nconst $227600a6fcb79c9b$var$pipeToTarget = (spawned, streamName, target)=>{\n if (typeof target === \"string\") {\n spawned[streamName].pipe((0, $aEsRD$nodefs.createWriteStream)(target));\n return spawned;\n }\n if ((0, $f6b7488345b50296$export$b58a61c52edb4f66)(target)) {\n spawned[streamName].pipe(target);\n return spawned;\n }\n if (!$227600a6fcb79c9b$var$isExecaChildProcess(target)) throw new TypeError(\"The second argument must be a string, a stream or an Execa child process.\");\n if (!(0, $f6b7488345b50296$export$b58a61c52edb4f66)(target.stdin)) throw new TypeError(\"The target child process's stdin must be available.\");\n spawned[streamName].pipe(target.stdin);\n return target;\n};\nconst $227600a6fcb79c9b$export$14becf8d91886424 = (spawned)=>{\n if (spawned.stdout !== null) spawned.pipeStdout = $227600a6fcb79c9b$var$pipeToTarget.bind(undefined, spawned, \"stdout\");\n if (spawned.stderr !== null) spawned.pipeStderr = $227600a6fcb79c9b$var$pipeToTarget.bind(undefined, spawned, \"stderr\");\n if (spawned.all !== undefined) spawned.pipeAll = $227600a6fcb79c9b$var$pipeToTarget.bind(undefined, spawned, \"all\");\n};\n\n\n\n\n\n\nconst $9fde298427f08e94$var$validateInputOptions = (input)=>{\n if (input !== undefined) throw new TypeError(\"The `input` and `inputFile` options cannot be both set.\");\n};\nconst $9fde298427f08e94$var$getInputSync = ({ input: input, inputFile: inputFile })=>{\n if (typeof inputFile !== \"string\") return input;\n $9fde298427f08e94$var$validateInputOptions(input);\n return (0, $aEsRD$nodefs.readFileSync)(inputFile);\n};\nconst $9fde298427f08e94$export$7f2f9b6457412b41 = (options)=>{\n const input = $9fde298427f08e94$var$getInputSync(options);\n if ((0, $f6b7488345b50296$export$294a92d8f7b3979)(input)) throw new TypeError(\"The `input` option cannot be a stream in sync mode\");\n return input;\n};\nconst $9fde298427f08e94$var$getInput = ({ input: input, inputFile: inputFile })=>{\n if (typeof inputFile !== \"string\") return input;\n $9fde298427f08e94$var$validateInputOptions(input);\n return (0, $aEsRD$nodefs.createReadStream)(inputFile);\n};\nconst $9fde298427f08e94$export$412508d679148d5c = (spawned, options)=>{\n const input = $9fde298427f08e94$var$getInput(options);\n if (input === undefined) return;\n if ((0, $f6b7488345b50296$export$294a92d8f7b3979)(input)) input.pipe(spawned.stdin);\n else spawned.stdin.end(input);\n};\nconst $9fde298427f08e94$export$41f5c0c12dadd6ae = (spawned, { all: all })=>{\n if (!all || !spawned.stdout && !spawned.stderr) return;\n const mixed = (0, (/*@__PURE__*/$parcel$interopDefault($936368d15dd2abe2$exports)))();\n if (spawned.stdout) mixed.add(spawned.stdout);\n if (spawned.stderr) mixed.add(spawned.stderr);\n return mixed;\n};\n// On failure, `result.stdout|stderr|all` should contain the currently buffered stream\nconst $9fde298427f08e94$var$getBufferedData = async (stream, streamPromise)=>{\n // When `buffer` is `false`, `streamPromise` is `undefined` and there is no buffered data to retrieve\n if (!stream || streamPromise === undefined) return;\n stream.destroy();\n try {\n return await streamPromise;\n } catch (error) {\n return error.bufferedData;\n }\n};\nconst $9fde298427f08e94$var$getStreamPromise = (stream, { encoding: encoding, buffer: buffer, maxBuffer: maxBuffer })=>{\n if (!stream || !buffer) return;\n if (encoding) return (0, (/*@__PURE__*/$parcel$interopDefault($ae5766111a749fef$exports)))(stream, {\n encoding: encoding,\n maxBuffer: maxBuffer\n });\n return (0, (/*@__PURE__*/$parcel$interopDefault($ae5766111a749fef$exports))).buffer(stream, {\n maxBuffer: maxBuffer\n });\n};\nconst $9fde298427f08e94$export$67b768ac9e1c70fa = async ({ stdout: stdout, stderr: stderr, all: all }, { encoding: encoding, buffer: buffer, maxBuffer: maxBuffer }, processDone)=>{\n const stdoutPromise = $9fde298427f08e94$var$getStreamPromise(stdout, {\n encoding: encoding,\n buffer: buffer,\n maxBuffer: maxBuffer\n });\n const stderrPromise = $9fde298427f08e94$var$getStreamPromise(stderr, {\n encoding: encoding,\n buffer: buffer,\n maxBuffer: maxBuffer\n });\n const allPromise = $9fde298427f08e94$var$getStreamPromise(all, {\n encoding: encoding,\n buffer: buffer,\n maxBuffer: maxBuffer * 2\n });\n try {\n return await Promise.all([\n processDone,\n stdoutPromise,\n stderrPromise,\n allPromise\n ]);\n } catch (error) {\n return Promise.all([\n {\n error: error,\n signal: error.signal,\n timedOut: error.timedOut\n },\n $9fde298427f08e94$var$getBufferedData(stdout, stdoutPromise),\n $9fde298427f08e94$var$getBufferedData(stderr, stderrPromise),\n $9fde298427f08e94$var$getBufferedData(all, allPromise)\n ]);\n }\n};\n\n\n// eslint-disable-next-line unicorn/prefer-top-level-await\nconst $4c93c3ac5c387fdf$var$nativePromisePrototype = (async ()=>{})().constructor.prototype;\nconst $4c93c3ac5c387fdf$var$descriptors = [\n \"then\",\n \"catch\",\n \"finally\"\n].map((property)=>[\n property,\n Reflect.getOwnPropertyDescriptor($4c93c3ac5c387fdf$var$nativePromisePrototype, property)\n ]);\nconst $4c93c3ac5c387fdf$export$e6eb0007fd542aba = (spawned, promise)=>{\n for (const [property, descriptor] of $4c93c3ac5c387fdf$var$descriptors){\n // Starting the main `promise` is deferred to avoid consuming streams\n const value = typeof promise === \"function\" ? (...args)=>Reflect.apply(descriptor.value, promise(), args) : descriptor.value.bind(promise);\n Reflect.defineProperty(spawned, property, {\n ...descriptor,\n value: value\n });\n }\n};\nconst $4c93c3ac5c387fdf$export$6e3a9b5342d42997 = (spawned)=>new Promise((resolve, reject)=>{\n spawned.on(\"exit\", (exitCode, signal)=>{\n resolve({\n exitCode: exitCode,\n signal: signal\n });\n });\n spawned.on(\"error\", (error)=>{\n reject(error);\n });\n if (spawned.stdin) spawned.stdin.on(\"error\", (error)=>{\n reject(error);\n });\n });\n\n\n\n\nconst $3bcbaadc37699213$var$normalizeArgs = (file, args = [])=>{\n if (!Array.isArray(args)) return [\n file\n ];\n return [\n file,\n ...args\n ];\n};\nconst $3bcbaadc37699213$var$NO_ESCAPE_REGEXP = /^[\\w.-]+$/;\nconst $3bcbaadc37699213$var$DOUBLE_QUOTES_REGEXP = /\"/g;\nconst $3bcbaadc37699213$var$escapeArg = (arg)=>{\n if (typeof arg !== \"string\" || $3bcbaadc37699213$var$NO_ESCAPE_REGEXP.test(arg)) return arg;\n return `\"${arg.replace($3bcbaadc37699213$var$DOUBLE_QUOTES_REGEXP, '\\\\\"')}\"`;\n};\nconst $3bcbaadc37699213$export$ab3db8fe5ebf3a1 = (file, args)=>$3bcbaadc37699213$var$normalizeArgs(file, args).join(\" \");\nconst $3bcbaadc37699213$export$9d3099014bd914f8 = (file, args)=>$3bcbaadc37699213$var$normalizeArgs(file, args).map((arg)=>$3bcbaadc37699213$var$escapeArg(arg)).join(\" \");\nconst $3bcbaadc37699213$var$SPACES_REGEXP = / +/g;\nconst $3bcbaadc37699213$export$78bcee23e0849f6a = (command)=>{\n const tokens = [];\n for (const token of command.trim().split($3bcbaadc37699213$var$SPACES_REGEXP)){\n // Allow spaces to be escaped by a backslash if not meant as a delimiter\n const previousToken = tokens[tokens.length - 1];\n if (previousToken && previousToken.endsWith(\"\\\\\")) // Merge previous token with current one\n tokens[tokens.length - 1] = `${previousToken.slice(0, -1)} ${token}`;\n else tokens.push(token);\n }\n return tokens;\n};\nconst $3bcbaadc37699213$var$parseExpression = (expression)=>{\n const typeOfExpression = typeof expression;\n if (typeOfExpression === \"string\") return expression;\n if (typeOfExpression === \"number\") return String(expression);\n if (typeOfExpression === \"object\" && expression !== null && !(expression instanceof (0, $aEsRD$nodechild_process.ChildProcess)) && \"stdout\" in expression) {\n const typeOfStdout = typeof expression.stdout;\n if (typeOfStdout === \"string\") return expression.stdout;\n if ((0, $aEsRD$nodebuffer.Buffer).isBuffer(expression.stdout)) return expression.stdout.toString();\n throw new TypeError(`Unexpected \"${typeOfStdout}\" stdout in template expression`);\n }\n throw new TypeError(`Unexpected \"${typeOfExpression}\" in template expression`);\n};\nconst $3bcbaadc37699213$var$concatTokens = (tokens, nextTokens, isNew)=>isNew || tokens.length === 0 || nextTokens.length === 0 ? [\n ...tokens,\n ...nextTokens\n ] : [\n ...tokens.slice(0, -1),\n `${tokens[tokens.length - 1]}${nextTokens[0]}`,\n ...nextTokens.slice(1)\n ];\nconst $3bcbaadc37699213$var$parseTemplate = ({ templates: templates, expressions: expressions, tokens: tokens, index: index, template: template })=>{\n const templateString = template ?? templates.raw[index];\n const templateTokens = templateString.split($3bcbaadc37699213$var$SPACES_REGEXP).filter(Boolean);\n const newTokens = $3bcbaadc37699213$var$concatTokens(tokens, templateTokens, templateString.startsWith(\" \"));\n if (index === expressions.length) return newTokens;\n const expression = expressions[index];\n const expressionTokens = Array.isArray(expression) ? expression.map((expression)=>$3bcbaadc37699213$var$parseExpression(expression)) : [\n $3bcbaadc37699213$var$parseExpression(expression)\n ];\n return $3bcbaadc37699213$var$concatTokens(newTokens, expressionTokens, templateString.endsWith(\" \"));\n};\nconst $3bcbaadc37699213$export$4a6ee54de9b0f25d = (templates, expressions)=>{\n let tokens = [];\n for (const [index, template] of templates.entries())tokens = $3bcbaadc37699213$var$parseTemplate({\n templates: templates,\n expressions: expressions,\n tokens: tokens,\n index: index,\n template: template\n });\n return tokens;\n};\n\n\n\n\nconst $f99f6015a0e8be8a$export$38bb3c1fbaa0bdcf = (0, $aEsRD$nodeutil.debuglog)(\"execa\").enabled;\nconst $f99f6015a0e8be8a$var$padField = (field, padding)=>String(field).padStart(padding, \"0\");\nconst $f99f6015a0e8be8a$var$getTimestamp = ()=>{\n const date = new Date();\n return `${$f99f6015a0e8be8a$var$padField(date.getHours(), 2)}:${$f99f6015a0e8be8a$var$padField(date.getMinutes(), 2)}:${$f99f6015a0e8be8a$var$padField(date.getSeconds(), 2)}.${$f99f6015a0e8be8a$var$padField(date.getMilliseconds(), 3)}`;\n};\nconst $f99f6015a0e8be8a$export$3bb886c4c1352118 = (escapedCommand, { verbose: verbose })=>{\n if (!verbose) return;\n (0, ($parcel$interopDefault($aEsRD$nodeprocess))).stderr.write(`[${$f99f6015a0e8be8a$var$getTimestamp()}] ${escapedCommand}\\n`);\n};\n\n\nconst $cc0579289cf0357d$var$DEFAULT_MAX_BUFFER = 100000000;\nconst $cc0579289cf0357d$var$getEnv = ({ env: envOption, extendEnv: extendEnv, preferLocal: preferLocal, localDir: localDir, execPath: execPath })=>{\n const env = extendEnv ? {\n ...(0, ($parcel$interopDefault($aEsRD$nodeprocess))).env,\n ...envOption\n } : envOption;\n if (preferLocal) return (0, $a797d4ec3d6a57cc$export$340e1fbaac04248b)({\n env: env,\n cwd: localDir,\n execPath: execPath\n });\n return env;\n};\nconst $cc0579289cf0357d$var$handleArguments = (file, args, options = {})=>{\n const parsed = (0, (/*@__PURE__*/$parcel$interopDefault($d4dcc91dc79b210f$exports)))._parse(file, args, options);\n file = parsed.command;\n args = parsed.args;\n options = parsed.options;\n options = {\n maxBuffer: $cc0579289cf0357d$var$DEFAULT_MAX_BUFFER,\n buffer: true,\n stripFinalNewline: true,\n extendEnv: true,\n preferLocal: false,\n localDir: options.cwd || (0, ($parcel$interopDefault($aEsRD$nodeprocess))).cwd(),\n execPath: (0, ($parcel$interopDefault($aEsRD$nodeprocess))).execPath,\n encoding: \"utf8\",\n reject: true,\n cleanup: true,\n all: false,\n windowsHide: true,\n verbose: (0, $f99f6015a0e8be8a$export$38bb3c1fbaa0bdcf),\n ...options\n };\n options.env = $cc0579289cf0357d$var$getEnv(options);\n options.stdio = (0, $bd23b7c5b7c23c62$export$a581401a57fac02e)(options);\n if ((0, ($parcel$interopDefault($aEsRD$nodeprocess))).platform === \"win32\" && (0, ($parcel$interopDefault($aEsRD$nodepath))).basename(file, \".exe\") === \"cmd\") // #116\n args.unshift(\"/q\");\n return {\n file: file,\n args: args,\n options: options,\n parsed: parsed\n };\n};\nconst $cc0579289cf0357d$var$handleOutput = (options, value, error)=>{\n if (typeof value !== \"string\" && !(0, $aEsRD$nodebuffer.Buffer).isBuffer(value)) // When `execaSync()` errors, we normalize it to '' to mimic `execa()`\n return error === undefined ? undefined : \"\";\n if (options.stripFinalNewline) return (0, $e3b09b96533b1421$export$2e2bcd8739ae039)(value);\n return value;\n};\nfunction $cc0579289cf0357d$export$db6b1668e3758717(file, args, options) {\n const parsed = $cc0579289cf0357d$var$handleArguments(file, args, options);\n const command = (0, $3bcbaadc37699213$export$ab3db8fe5ebf3a1)(file, args);\n const escapedCommand = (0, $3bcbaadc37699213$export$9d3099014bd914f8)(file, args);\n (0, $f99f6015a0e8be8a$export$3bb886c4c1352118)(escapedCommand, parsed.options);\n (0, $c5d7497aea17a397$export$3186f8866f616f9f)(parsed.options);\n let spawned;\n try {\n spawned = (0, ($parcel$interopDefault($aEsRD$nodechild_process))).spawn(parsed.file, parsed.args, parsed.options);\n } catch (error) {\n // Ensure the returned error is always both a promise and a child process\n const dummySpawned = new (0, ($parcel$interopDefault($aEsRD$nodechild_process))).ChildProcess();\n const errorPromise = Promise.reject((0, $d46a5999167eb053$export$5a4bb2b1c89bdce7)({\n error: error,\n stdout: \"\",\n stderr: \"\",\n all: \"\",\n command: command,\n escapedCommand: escapedCommand,\n parsed: parsed,\n timedOut: false,\n isCanceled: false,\n killed: false\n }));\n (0, $4c93c3ac5c387fdf$export$e6eb0007fd542aba)(dummySpawned, errorPromise);\n return dummySpawned;\n }\n const spawnedPromise = (0, $4c93c3ac5c387fdf$export$6e3a9b5342d42997)(spawned);\n const timedPromise = (0, $c5d7497aea17a397$export$6bcc98999eb82896)(spawned, parsed.options, spawnedPromise);\n const processDone = (0, $c5d7497aea17a397$export$79fc3056c9ca4ada)(spawned, parsed.options, timedPromise);\n const context = {\n isCanceled: false\n };\n spawned.kill = (0, $c5d7497aea17a397$export$971fa1b57c7f00b).bind(null, spawned.kill.bind(spawned));\n spawned.cancel = (0, $c5d7497aea17a397$export$667e13cd9b70ca17).bind(null, spawned, context);\n const handlePromise = async ()=>{\n const [{ error: error, exitCode: exitCode, signal: signal, timedOut: timedOut }, stdoutResult, stderrResult, allResult] = await (0, $9fde298427f08e94$export$67b768ac9e1c70fa)(spawned, parsed.options, processDone);\n const stdout = $cc0579289cf0357d$var$handleOutput(parsed.options, stdoutResult);\n const stderr = $cc0579289cf0357d$var$handleOutput(parsed.options, stderrResult);\n const all = $cc0579289cf0357d$var$handleOutput(parsed.options, allResult);\n if (error || exitCode !== 0 || signal !== null) {\n const returnedError = (0, $d46a5999167eb053$export$5a4bb2b1c89bdce7)({\n error: error,\n exitCode: exitCode,\n signal: signal,\n stdout: stdout,\n stderr: stderr,\n all: all,\n command: command,\n escapedCommand: escapedCommand,\n parsed: parsed,\n timedOut: timedOut,\n isCanceled: context.isCanceled || (parsed.options.signal ? parsed.options.signal.aborted : false),\n killed: spawned.killed\n });\n if (!parsed.options.reject) return returnedError;\n throw returnedError;\n }\n return {\n command: command,\n escapedCommand: escapedCommand,\n exitCode: 0,\n stdout: stdout,\n stderr: stderr,\n all: all,\n failed: false,\n timedOut: false,\n isCanceled: false,\n killed: false\n };\n };\n const handlePromiseOnce = (0, $a0eb8fc88e2c8055$export$2e2bcd8739ae039)(handlePromise);\n (0, $9fde298427f08e94$export$412508d679148d5c)(spawned, parsed.options);\n spawned.all = (0, $9fde298427f08e94$export$41f5c0c12dadd6ae)(spawned, parsed.options);\n (0, $227600a6fcb79c9b$export$14becf8d91886424)(spawned);\n (0, $4c93c3ac5c387fdf$export$e6eb0007fd542aba)(spawned, handlePromiseOnce);\n return spawned;\n}\nfunction $cc0579289cf0357d$export$28823a701bb5a12d(file, args, options) {\n const parsed = $cc0579289cf0357d$var$handleArguments(file, args, options);\n const command = (0, $3bcbaadc37699213$export$ab3db8fe5ebf3a1)(file, args);\n const escapedCommand = (0, $3bcbaadc37699213$export$9d3099014bd914f8)(file, args);\n (0, $f99f6015a0e8be8a$export$3bb886c4c1352118)(escapedCommand, parsed.options);\n const input = (0, $9fde298427f08e94$export$7f2f9b6457412b41)(parsed.options);\n let result;\n try {\n result = (0, ($parcel$interopDefault($aEsRD$nodechild_process))).spawnSync(parsed.file, parsed.args, {\n ...parsed.options,\n input: input\n });\n } catch (error) {\n throw (0, $d46a5999167eb053$export$5a4bb2b1c89bdce7)({\n error: error,\n stdout: \"\",\n stderr: \"\",\n all: \"\",\n command: command,\n escapedCommand: escapedCommand,\n parsed: parsed,\n timedOut: false,\n isCanceled: false,\n killed: false\n });\n }\n const stdout = $cc0579289cf0357d$var$handleOutput(parsed.options, result.stdout, result.error);\n const stderr = $cc0579289cf0357d$var$handleOutput(parsed.options, result.stderr, result.error);\n if (result.error || result.status !== 0 || result.signal !== null) {\n const error = (0, $d46a5999167eb053$export$5a4bb2b1c89bdce7)({\n stdout: stdout,\n stderr: stderr,\n error: result.error,\n signal: result.signal,\n exitCode: result.status,\n command: command,\n escapedCommand: escapedCommand,\n parsed: parsed,\n timedOut: result.error && result.error.code === \"ETIMEDOUT\",\n isCanceled: false,\n killed: result.signal !== null\n });\n if (!parsed.options.reject) return error;\n throw error;\n }\n return {\n command: command,\n escapedCommand: escapedCommand,\n exitCode: 0,\n stdout: stdout,\n stderr: stderr,\n failed: false,\n timedOut: false,\n isCanceled: false,\n killed: false\n };\n}\nconst $cc0579289cf0357d$var$normalizeScriptStdin = ({ input: input, inputFile: inputFile, stdio: stdio })=>input === undefined && inputFile === undefined && stdio === undefined ? {\n stdin: \"inherit\"\n } : {};\nconst $cc0579289cf0357d$var$normalizeScriptOptions = (options = {})=>({\n preferLocal: true,\n ...$cc0579289cf0357d$var$normalizeScriptStdin(options),\n ...options\n });\nfunction $cc0579289cf0357d$var$create$(options) {\n function $(templatesOrOptions, ...expressions) {\n if (!Array.isArray(templatesOrOptions)) return $cc0579289cf0357d$var$create$({\n ...options,\n ...templatesOrOptions\n });\n const [file, ...args] = (0, $3bcbaadc37699213$export$4a6ee54de9b0f25d)(templatesOrOptions, expressions);\n return $cc0579289cf0357d$export$db6b1668e3758717(file, args, $cc0579289cf0357d$var$normalizeScriptOptions(options));\n }\n $.sync = (templates, ...expressions)=>{\n if (!Array.isArray(templates)) throw new TypeError(\"Please use $(options).sync`command` instead of $.sync(options)`command`.\");\n const [file, ...args] = (0, $3bcbaadc37699213$export$4a6ee54de9b0f25d)(templates, expressions);\n return $cc0579289cf0357d$export$28823a701bb5a12d(file, args, $cc0579289cf0357d$var$normalizeScriptOptions(options));\n };\n return $;\n}\nconst $cc0579289cf0357d$export$3d8c2f653ac9d0b9 = $cc0579289cf0357d$var$create$();\nfunction $cc0579289cf0357d$export$eb9ed1222071f2f6(command, options) {\n const [file, ...args] = (0, $3bcbaadc37699213$export$78bcee23e0849f6a)(command);\n return $cc0579289cf0357d$export$db6b1668e3758717(file, args, options);\n}\nfunction $cc0579289cf0357d$export$5c60dbe76a54db4(command, options) {\n const [file, ...args] = (0, $3bcbaadc37699213$export$78bcee23e0849f6a)(command);\n return $cc0579289cf0357d$export$28823a701bb5a12d(file, args, options);\n}\nfunction $cc0579289cf0357d$export$c004ac68fdb98119(scriptPath, args, options = {}) {\n if (args && !Array.isArray(args) && typeof args === \"object\") {\n options = args;\n args = [];\n }\n const stdio = (0, $bd23b7c5b7c23c62$export$889423b478ae2ba)(options);\n const defaultExecArgv = (0, ($parcel$interopDefault($aEsRD$nodeprocess))).execArgv.filter((arg)=>!arg.startsWith(\"--inspect\"));\n const { nodePath: nodePath = (0, ($parcel$interopDefault($aEsRD$nodeprocess))).execPath, nodeOptions: nodeOptions = defaultExecArgv } = options;\n return $cc0579289cf0357d$export$db6b1668e3758717(nodePath, [\n ...nodeOptions,\n scriptPath,\n ...Array.isArray(args) ? args : []\n ], {\n ...options,\n stdin: undefined,\n stdout: undefined,\n stderr: undefined,\n stdio: stdio,\n shell: false\n });\n}\n\n\n\n/** The cached powershell path */ let $af61b3bdb9d49c0e$var$powershell;\nfunction $af61b3bdb9d49c0e$export$43324456a02f71b0(command, startupFlags = [\n \"-NoProfile\",\n \"-NoLogo\",\n \"-NonInteractive\"\n], execOptions = {\n stdio: \"inherit\"\n}) {\n return $cc0579289cf0357d$export$db6b1668e3758717($af61b3bdb9d49c0e$export$4dfdd3964d242d20(), [\n ...startupFlags,\n \"-c\",\n command\n ], execOptions);\n}\nfunction $af61b3bdb9d49c0e$export$395ec453f890f6a3(command, startupFlags = [\n \"-NoProfile\",\n \"-NoLogo\",\n \"-NonInteractive\"\n], execOptions = {\n stdio: \"inherit\"\n}) {\n return $cc0579289cf0357d$export$28823a701bb5a12d($af61b3bdb9d49c0e$export$4dfdd3964d242d20(), [\n ...startupFlags,\n \"-c\",\n command\n ], execOptions);\n}\nfunction $af61b3bdb9d49c0e$export$4dfdd3964d242d20() {\n if ($af61b3bdb9d49c0e$var$powershell === undefined) {\n const maybePwsh = (0, (/*@__PURE__*/$parcel$interopDefault($213a898fd02ffa77$exports))).sync(\"pwsh\", {\n nothrow: true\n });\n if (maybePwsh !== null) $af61b3bdb9d49c0e$var$powershell = maybePwsh;\n const maybePowerShell = (0, (/*@__PURE__*/$parcel$interopDefault($213a898fd02ffa77$exports))).sync(\"powershell\", {\n nothrow: true\n });\n if (maybePowerShell !== null) $af61b3bdb9d49c0e$var$powershell = maybePowerShell;\n }\n if ($af61b3bdb9d49c0e$var$powershell === undefined) throw new Error(\"Could not find powershell\");\n return $af61b3bdb9d49c0e$var$powershell;\n}\n\n\n\nvar $61c68f71cd8c0868$exports = {};\n\n// to detect on with os user had used path.resolve(...)\nconst $61c68f71cd8c0868$var$is_posix_os = $aEsRD$os.platform() !== \"win32\";\nconst $61c68f71cd8c0868$var$version = $aEsRD$os.release();\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 $61c68f71cd8c0868$var$windows_version_regex = /(\\d+\\.\\d+)\\.(\\d+)/;\nconst $61c68f71cd8c0868$var$should_not_escape = (major_release = \"\", os_build = \"\")=>/1\\d+\\.\\d+/.test(major_release) && Number(os_build) >= 17134.1184;\n$61c68f71cd8c0868$exports = function(given_path) {\n return $61c68f71cd8c0868$var$is_posix_os ? given_path.replace(/(\\s+)/g, \"\\\\$1\") : $61c68f71cd8c0868$var$should_not_escape(...$61c68f71cd8c0868$var$windows_version_regex.exec($61c68f71cd8c0868$var$version).splice(1)) ? given_path : given_path.replace(/(\\s+)/g, \"%20\");\n};\n\n\n\nvar $ce507682d493826e$exports = {};\n\n// Generated by CoffeeScript 1.10.0\n(function() {\n var regexEscape, reverse;\n regexEscape = (parcelRequire(\"kOEfP\"));\n reverse = function(s) {\n return s.split(\"\").reverse().join(\"\");\n };\n $ce507682d493826e$exports = function(s, chars, escapeChar) {\n var regex;\n if (chars == null) chars = \"'\";\n if (escapeChar == null) escapeChar = \"\\\\\";\n if (typeof s !== \"string\") return s;\n regex = new RegExp(\"([\" + regexEscape(chars) + \"])(?!\" + regexEscape(escapeChar) + \")\", \"g\");\n return reverse(reverse(s).replace(regex, \"$1\" + escapeChar));\n };\n}).call($ce507682d493826e$exports);\n\n\n\nvar $6MdIz = parcelRequire(\"6MdIz\");\nconst $2f24a8df2529dc1c$var$defaultAddEnvOptions = {\n shouldEscapeSpace: false,\n shouldAddOnlyIfNotDefined: false\n};\nasync function $2f24a8df2529dc1c$export$f63d3080ce25e0fd(name, valGiven, options = $2f24a8df2529dc1c$var$defaultAddEnvOptions) {\n const val = $2f24a8df2529dc1c$var$escapeString(valGiven ?? \"\", options.shouldEscapeSpace);\n try {\n if (0, $l6WDk.GITHUB_ACTIONS) try {\n if (options.shouldAddOnlyIfNotDefined) {\n if (process.env[name] !== undefined) {\n (0, $kDRhL.info)(`Environment variable ${name} is already defined. Skipping.`);\n return;\n }\n }\n (0, $kDRhL.exportVariable)(name, val);\n } catch (err) {\n (0, $7Lz0k.error)(err);\n await $2f24a8df2529dc1c$var$addEnvSystem(name, val, options);\n }\n else await $2f24a8df2529dc1c$var$addEnvSystem(name, val, options);\n } catch (err) {\n (0, $7Lz0k.error)(err);\n (0, $kDRhL.setFailed)(`Failed to export environment variable ${name}=${val}. You should add it manually.`);\n }\n}\nfunction $2f24a8df2529dc1c$var$escapeString(valGiven, shouldEscapeSpace = false) {\n const spaceEscaped = shouldEscapeSpace ? (0, (/*@__PURE__*/$parcel$interopDefault($61c68f71cd8c0868$exports)))(valGiven) : valGiven;\n return (0, (/*@__PURE__*/$parcel$interopDefault($ce507682d493826e$exports)))(spaceEscaped, '\"', \"\\\\\");\n}\nconst $2f24a8df2529dc1c$var$ignoredPaths = [\n /\\/usr\\/bin\\/?/,\n /\\/usr\\/local\\/bin\\/?/\n];\n/** Skip adding /usr/bin to PATH if it is already there */ function $2f24a8df2529dc1c$var$isIgnoredPath(path) {\n if ($2f24a8df2529dc1c$var$ignoredPaths.some((checkedPath)=>checkedPath.test(path))) {\n const paths = process.env.PATH?.split((0, $aEsRD$path.delimiter)) ?? [];\n return paths.includes(path);\n }\n return false;\n}\nasync function $2f24a8df2529dc1c$export$4c25481b843feb0b(path) {\n if ($2f24a8df2529dc1c$var$isIgnoredPath(path)) return;\n process.env.PATH = `${path}${0, $aEsRD$path.delimiter}${process.env.PATH}`;\n try {\n if (0, $l6WDk.GITHUB_ACTIONS) try {\n (0, $kDRhL.addPath)(path);\n } catch (err) {\n (0, $7Lz0k.error)(err);\n await $2f24a8df2529dc1c$var$addPathSystem(path);\n }\n else await $2f24a8df2529dc1c$var$addPathSystem(path);\n } catch (err) {\n (0, $7Lz0k.error)(err);\n (0, $kDRhL.setFailed)(`Failed to add ${path} to the percistent PATH. You should add it manually.`);\n }\n}\nconst $2f24a8df2529dc1c$export$1bbbc3a810c5799d = (0, $9affb3cfb96595a9$export$8312d9eeba321950)(\".cpprc\");\nasync function $2f24a8df2529dc1c$var$addEnvSystem(name, valGiven, options) {\n const val = valGiven ?? \"\";\n switch(process.platform){\n case \"win32\":\n if (options.shouldAddOnlyIfNotDefined) {\n if (process.env[name] !== undefined) {\n (0, $kDRhL.info)(`Environment variable ${name} is already defined. Skipping.`);\n return;\n }\n }\n // We do not use `execaSync(`setx PATH \"${path};%PATH%\"`)` because of its character limit\n await (0, $af61b3bdb9d49c0e$export$43324456a02f71b0)(`[Environment]::SetEnvironmentVariable('${name}', '${val}', \"User\")`);\n (0, $kDRhL.info)(`${name}='${val}' was set in the environment.`);\n return;\n case \"linux\":\n case \"darwin\":\n await $2f24a8df2529dc1c$export$bd1dffd792f43c41();\n if (options.shouldAddOnlyIfNotDefined) {\n (0, $aEsRD$fs.appendFileSync)($2f24a8df2529dc1c$export$1bbbc3a810c5799d, `\\nif [ -z \"\\${${name}}\" ]; then export ${name}=\"${val}\"; fi\\n`);\n (0, $kDRhL.info)(`if not defined ${name} then ${name}=\"${val}\" was added to \"${$2f24a8df2529dc1c$export$1bbbc3a810c5799d}`);\n } else {\n (0, $aEsRD$fs.appendFileSync)($2f24a8df2529dc1c$export$1bbbc3a810c5799d, `\\nexport ${name}=\"${val}\"\\n`);\n (0, $kDRhL.info)(`${name}=\"${val}\" was added to \"${$2f24a8df2529dc1c$export$1bbbc3a810c5799d}`);\n }\n return;\n default:\n }\n process.env[name] = val;\n}\nasync function $2f24a8df2529dc1c$var$addPathSystem(path) {\n switch(process.platform){\n case \"win32\":\n // We do not use `execaSync(`setx PATH \"${path};%PATH%\"`)` because of its character limit and also because %PATH% is different for user and system\n await (0, $af61b3bdb9d49c0e$export$43324456a02f71b0)(`$USER_PATH=([Environment]::GetEnvironmentVariable(\"PATH\", \"User\")); [Environment]::SetEnvironmentVariable(\"PATH\", \"${path};$USER_PATH\", \"User\")`);\n (0, $kDRhL.info)(`\"${path}\" was added to the PATH.`);\n return;\n case \"linux\":\n case \"darwin\":\n await $2f24a8df2529dc1c$export$bd1dffd792f43c41();\n (0, $aEsRD$fs.appendFileSync)($2f24a8df2529dc1c$export$1bbbc3a810c5799d, `\\nexport PATH=\"${path}:$PATH\"\\n`);\n (0, $kDRhL.info)(`\"${path}\" was added to \"${$2f24a8df2529dc1c$export$1bbbc3a810c5799d}\"`);\n return;\n default:\n return;\n }\n}\n/* eslint-disable require-atomic-updates */ let $2f24a8df2529dc1c$var$setupCppInProfile_called = false;\nasync function $2f24a8df2529dc1c$export$bd1dffd792f43c41() {\n if ($2f24a8df2529dc1c$var$setupCppInProfile_called) return;\n // a variable that prevents source_cpprc from being called from .bashrc and .profile\n const source_cpprc_str = \"# Automatically Generated by setup-cpp\\nexport SOURCE_CPPRC=0\";\n if (await (0, $6MdIz.pathExists)($2f24a8df2529dc1c$export$1bbbc3a810c5799d)) {\n const cpprc_content = (0, $aEsRD$fs.readFileSync)($2f24a8df2529dc1c$export$1bbbc3a810c5799d, \"utf8\");\n if (cpprc_content.includes(source_cpprc_str)) // already executed setupCppInProfile\n return;\n }\n (0, $aEsRD$fs.appendFileSync)($2f24a8df2529dc1c$export$1bbbc3a810c5799d, `\\n${source_cpprc_str}\\n`);\n (0, $kDRhL.info)(`Added ${source_cpprc_str} to ${$2f24a8df2529dc1c$export$1bbbc3a810c5799d}`);\n // source cpprc in bashrc/profile\n const source_cpprc_string = `\\n# source .cpprc if SOURCE_CPPRC is not set to 0\\nif [[ \"$SOURCE_CPPRC\" != 0 && -f \"${$2f24a8df2529dc1c$export$1bbbc3a810c5799d}\" ]]; then source \"${$2f24a8df2529dc1c$export$1bbbc3a810c5799d}\"; fi\\n`;\n try {\n // source cpprc in .profile\n const profile_path = (0, $9affb3cfb96595a9$export$8312d9eeba321950)(\".profile\");\n (0, $aEsRD$fs.appendFileSync)(profile_path, source_cpprc_string);\n (0, $kDRhL.info)(`${source_cpprc_string} was added to ${profile_path}`);\n // source cpprc in .bashrc too\n const bashrc_path = (0, $9affb3cfb96595a9$export$8312d9eeba321950)(\".bashrc\");\n (0, $aEsRD$fs.appendFileSync)(bashrc_path, source_cpprc_string);\n (0, $kDRhL.info)(`${source_cpprc_string} was added to ${bashrc_path}`);\n } catch (err) {\n (0, $7Lz0k.warning)(`Failed to add ${source_cpprc_string} to .profile or .bashrc. You should add it manually: ${err}`);\n }\n $2f24a8df2529dc1c$var$setupCppInProfile_called = true;\n}\nasync function $2f24a8df2529dc1c$export$ca46151966bee7ba() {\n if (await (0, $6MdIz.pathExists)($2f24a8df2529dc1c$export$1bbbc3a810c5799d)) {\n const entries = (0, $aEsRD$fs.readFileSync)($2f24a8df2529dc1c$export$1bbbc3a810c5799d, \"utf-8\").split(\"\\n\");\n const unique_entries = [\n ...new Set(entries.reverse())\n ].reverse() // remove duplicates, keeping the latest entry\n ;\n (0, $aEsRD$fs.writeFileSync)($2f24a8df2529dc1c$export$1bbbc3a810c5799d, unique_entries.join(\"\\n\"));\n await (0, $8877f7db54427893$export$4718e061a205eab)($2f24a8df2529dc1c$export$1bbbc3a810c5799d);\n }\n}\n\n\n\nvar $6MdIz = parcelRequire(\"6MdIz\");\n\n\n\nvar $lt3fY = parcelRequire(\"lt3fY\");\n\nvar $7Lz0k = parcelRequire(\"7Lz0k\");\n\nconst { appendFile: $c28d8ebe1e034757$var$appendFile } = (0, $aEsRD$fs.promises);\n/* eslint-disable require-atomic-updates */ let $c28d8ebe1e034757$var$didUpdate = false;\nlet $c28d8ebe1e034757$var$didInit = false;\nconst $c28d8ebe1e034757$var$retryErrors = [\n \"E: Could not get lock\",\n \"dpkg: error processing archive\",\n \"dpkg: error: dpkg status database is locked by another process\"\n];\nasync function $c28d8ebe1e034757$export$d73dc343f5abf26(packages, update = false) {\n const apt = $c28d8ebe1e034757$var$getApt();\n for (const { name: name, version: version } of packages)(0, $7Lz0k.info)(`Installing ${name} ${version ?? \"\"} via ${apt}`);\n process.env.DEBIAN_FRONTEND = \"noninteractive\";\n if (!$c28d8ebe1e034757$var$didUpdate || update) {\n $c28d8ebe1e034757$var$updateRepos(apt);\n $c28d8ebe1e034757$var$didUpdate = true;\n }\n if (!$c28d8ebe1e034757$var$didInit) {\n await $c28d8ebe1e034757$var$initApt(apt);\n $c28d8ebe1e034757$var$didInit = true;\n }\n const allRepositories = [\n ...new Set(packages.flatMap((pack)=>pack.repositories ?? []))\n ];\n if (allRepositories.length !== 0) {\n for (const repo of allRepositories)// eslint-disable-next-line no-await-in-loop\n (0, $a41cd8ed4acfdead$export$58f152936f209932)(\"add-apt-repository\", [\n \"-y\",\n repo\n ]);\n $c28d8ebe1e034757$var$updateRepos(apt);\n }\n const aptArgs = await Promise.all(packages.map((pack)=>$c28d8ebe1e034757$var$getAptArg(pack.name, pack.version)));\n try {\n (0, $a41cd8ed4acfdead$export$58f152936f209932)(apt, [\n \"install\",\n \"--fix-broken\",\n \"-y\",\n ...aptArgs\n ]);\n } catch (err) {\n if (\"stderr\" in err) {\n const stderr = err.stderr;\n if ($c28d8ebe1e034757$var$retryErrors.some((error)=>stderr.includes(error))) {\n (0, $7Lz0k.warning)(`Failed to install packages ${aptArgs}. Retrying...`);\n (0, $a41cd8ed4acfdead$export$58f152936f209932)(apt, [\n \"install\",\n \"--fix-broken\",\n \"-y\",\n ...aptArgs\n ]);\n }\n } else throw err;\n }\n return {\n binDir: \"/usr/bin/\"\n };\n}\nvar $c28d8ebe1e034757$export$e6e2160a140a491e;\n(function(AptPackageType) {\n AptPackageType[AptPackageType[\"NameDashVersion\"] = 0] = \"NameDashVersion\";\n AptPackageType[AptPackageType[\"NameEqualsVersion\"] = 1] = \"NameEqualsVersion\";\n AptPackageType[AptPackageType[\"Name\"] = 2] = \"Name\";\n AptPackageType[AptPackageType[\"None\"] = 3] = \"None\";\n})($c28d8ebe1e034757$export$e6e2160a140a491e || ($c28d8ebe1e034757$export$e6e2160a140a491e = {}));\nasync function $c28d8ebe1e034757$export$41cba414fa0bee03(name, version) {\n if (version !== undefined && version !== \"\") {\n const { stdout: stdout } = await (0, $d883609dd3eb5a67$export$db6b1668e3758717)(\"apt-cache\", [\n \"search\",\n \"--names-only\",\n `^${(0, $lt3fY.default)(name)}-${(0, $lt3fY.default)(version)}$`\n ]);\n if (stdout.trim() !== \"\") return 0;\n try {\n // check if apt-get show can find the version\n // eslint-disable-next-line @typescript-eslint/no-shadow\n const { stdout: stdout } = await (0, $d883609dd3eb5a67$export$db6b1668e3758717)(\"apt-cache\", [\n \"show\",\n `${name}=${version}`\n ]);\n if (stdout.trim() === \"\") return 1;\n } catch {\n // ignore\n }\n }\n try {\n const { stdout: showStdout } = await (0, $d883609dd3eb5a67$export$db6b1668e3758717)(\"apt-cache\", [\n \"show\",\n name\n ]);\n if (showStdout.trim() !== \"\") return 2;\n } catch {\n // ignore\n }\n return 3;\n}\nasync function $c28d8ebe1e034757$var$getAptArg(name, version) {\n const package_type = await $c28d8ebe1e034757$export$41cba414fa0bee03(name, version);\n switch(package_type){\n case 0:\n return `${name}-${version}`;\n case 1:\n return `${name}=${version}`;\n case 2:\n return name;\n case 3:\n default:\n throw new Error(`Could not find package ${name} ${version ?? \"\"}`);\n }\n}\nfunction $c28d8ebe1e034757$export$89548d91e84ae1a1() {\n return (0, (/*@__PURE__*/$parcel$interopDefault($213a898fd02ffa77$exports))).sync(\"nala\", {\n nothrow: true\n }) !== null;\n}\nfunction $c28d8ebe1e034757$var$getApt() {\n let apt;\n if ($c28d8ebe1e034757$export$89548d91e84ae1a1()) apt = \"nala\";\n else apt = \"apt-get\";\n return apt;\n}\nfunction $c28d8ebe1e034757$var$updateRepos(apt) {\n (0, $a41cd8ed4acfdead$export$58f152936f209932)(apt, apt !== \"nala\" ? [\n \"update\",\n \"-y\"\n ] : [\n \"update\"\n ]);\n}\n/** Install apt utils and certificates (usually missing from docker containers) */ async function $c28d8ebe1e034757$var$initApt(apt) {\n (0, $a41cd8ed4acfdead$export$58f152936f209932)(apt, [\n \"install\",\n \"--fix-broken\",\n \"-y\",\n \"software-properties-common\",\n \"apt-utils\",\n \"ca-certificates\",\n \"gnupg\"\n ]);\n const promises = [\n $c28d8ebe1e034757$export$11aa10c05ada0934([\n \"3B4FE6ACC0B21F32\",\n \"40976EAF437D05B5\"\n ], \"setup-cpp-ubuntu-archive.gpg\"),\n $c28d8ebe1e034757$export$11aa10c05ada0934([\n \"1E9377A2BA9EF27F\"\n ], \"launchpad-toolchain.gpg\")\n ];\n if (apt === \"nala\") // enable utf8 otherwise it fails because of the usage of ASCII encoding\n promises.push((0, $2f24a8df2529dc1c$export$f63d3080ce25e0fd)(\"LANG\", \"C.UTF-8\", {\n shouldAddOnlyIfNotDefined: true\n }), (0, $2f24a8df2529dc1c$export$f63d3080ce25e0fd)(\"LC_ALL\", \"C.UTF-8\", {\n shouldAddOnlyIfNotDefined: true\n }));\n await Promise.all(promises);\n}\nfunction $c28d8ebe1e034757$var$initGpg() {\n (0, $a41cd8ed4acfdead$export$58f152936f209932)(\"gpg\", [\n \"-k\"\n ]);\n}\nasync function $c28d8ebe1e034757$export$11aa10c05ada0934(keys, name, server = \"keyserver.ubuntu.com\") {\n try {\n const fileName = `/etc/apt/trusted.gpg.d/${name}`;\n if (!await (0, $6MdIz.pathExists)(fileName)) {\n $c28d8ebe1e034757$var$initGpg();\n await Promise.all(keys.map(async (key)=>{\n await (0, $a41cd8ed4acfdead$export$351270479e2eef26)(\"gpg\", [\n \"--no-default-keyring\",\n \"--keyring\",\n `gnupg-ring:${fileName}`,\n \"--keyserver\",\n server,\n \"--recv-keys\",\n key\n ]);\n await (0, $a41cd8ed4acfdead$export$351270479e2eef26)(\"chmod\", [\n \"644\",\n fileName\n ]);\n }));\n }\n return fileName;\n } catch (err) {\n (0, $7Lz0k.warning)(`Failed to add apt key via server ${server}: ${err}`);\n return undefined;\n }\n}\nasync function $c28d8ebe1e034757$export$7fb1a688af1305f0(name, url) {\n const fileName = `/etc/apt/trusted.gpg.d/${name}`;\n if (!await (0, $6MdIz.pathExists)(fileName)) {\n $c28d8ebe1e034757$var$initGpg();\n await $c28d8ebe1e034757$export$d73dc343f5abf26([\n {\n name: \"curl\"\n },\n {\n name: \"ca-certificates\"\n }\n ], undefined);\n await (0, $d883609dd3eb5a67$export$db6b1668e3758717)(\"curl\", [\n \"-s\",\n url,\n \"-o\",\n `/tmp/${name}`\n ]);\n (0, $a41cd8ed4acfdead$export$58f152936f209932)(\"gpg\", [\n \"--no-default-keyring\",\n \"--keyring\",\n `gnupg-ring:${fileName}`,\n \"--import\",\n `/tmp/${name}`\n ]);\n (0, $a41cd8ed4acfdead$export$58f152936f209932)(\"chmod\", [\n \"644\",\n fileName\n ]);\n }\n return fileName;\n}\nasync function $c28d8ebe1e034757$export$6fe6436bd9f53d02(name, path, priority = 40) {\n if (0, $l6WDk.GITHUB_ACTIONS) return (0, $a41cd8ed4acfdead$export$351270479e2eef26)(\"update-alternatives\", [\n \"--install\",\n `/usr/bin/${name}`,\n name,\n path,\n priority.toString()\n ]);\n else {\n await (0, $2f24a8df2529dc1c$export$bd1dffd792f43c41)();\n return $c28d8ebe1e034757$var$appendFile((0, $2f24a8df2529dc1c$export$1bbbc3a810c5799d), `\\nif [ $UID -eq 0 ]; then update-alternatives --install /usr/bin/${name} ${name} ${path} ${priority}; fi\\n`);\n }\n}\nasync function $c28d8ebe1e034757$export$ec2e4deaa1231ecf(regexp) {\n try {\n // check if a package matching the regexp is installed\n const { stdout: stdout } = await (0, $d883609dd3eb5a67$export$db6b1668e3758717)(\"dpkg\", [\n \"-l\",\n regexp\n ]);\n const lines = stdout.split(\"\\n\");\n // check if the output contains any lines that start with \"ii\"\n return lines.some((line)=>line.startsWith(\"ii\"));\n } catch {\n return false;\n }\n}\n\n\n/* eslint-disable require-atomic-updates */ \nvar $kDRhL = parcelRequire(\"kDRhL\");\n\n\nvar $bLa2q = parcelRequire(\"bLa2q\");\n\n\n\nvar $bLa2q = parcelRequire(\"bLa2q\");\n\n\n\n\nvar $alxPC = parcelRequire(\"alxPC\");\n\n\n/* eslint-disable require-atomic-updates */ let $7eeef95f58db9236$var$binDir;\nasync function $7eeef95f58db9236$export$c5eeb9c87a610a0e(_version, _setupDir, _arch) {\n if (![\n \"darwin\",\n \"linux\"\n ].includes(process.platform)) return undefined;\n if (typeof $7eeef95f58db9236$var$binDir === \"string\") return {\n binDir: $7eeef95f58db9236$var$binDir\n };\n const maybeBinDir = (0, (/*@__PURE__*/$parcel$interopDefault($213a898fd02ffa77$exports))).sync(\"brew\", {\n nothrow: true\n });\n if (maybeBinDir !== null) {\n $7eeef95f58db9236$var$binDir = (0, $bLa2q.dirname)(maybeBinDir);\n return {\n binDir: $7eeef95f58db9236$var$binDir\n };\n }\n // brew is not thread-safe\n const brewTempDirectory = (0, ($parcel$interopDefault($aEsRD$path))).join((0, $aEsRD$os.tmpdir)(), \"setup-cpp\", \"brew\");\n await (0, $alxPC.mkdirP)(brewTempDirectory);\n (0, $d883609dd3eb5a67$export$28823a701bb5a12d)(\"curl\", [\n \"-LJO\",\n \"https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh\"\n ], {\n cwd: brewTempDirectory\n });\n const installSh = (0, $aEsRD$path.join)(brewTempDirectory, \"install.sh\");\n if (process.platform === \"linux\") {\n const installShContent = (0, $aEsRD$fs.readFileSync)(installSh, \"utf-8\");\n installShContent.replace(\"#!/bin/bash\", \"\");\n }\n (0, $d883609dd3eb5a67$export$28823a701bb5a12d)(\"/bin/bash\", [\n installSh\n ], {\n stdio: \"inherit\",\n env: {\n NONINTERACTIVE: \"1\"\n }\n });\n $7eeef95f58db9236$var$binDir = $7eeef95f58db9236$export$cba19b0564b654bf();\n await (0, $2f24a8df2529dc1c$export$4c25481b843feb0b)($7eeef95f58db9236$var$binDir);\n return {\n binDir: $7eeef95f58db9236$var$binDir\n };\n}\nfunction $7eeef95f58db9236$export$cba19b0564b654bf() {\n if (process.platform === \"linux\") return \"/home/linuxbrew/.linuxbrew/bin/\";\n else return \"/usr/local/bin/\";\n}\n\n\nlet $d04dcbafc5bebef1$var$hasBrew = false;\nasync function $d04dcbafc5bebef1$export$ce5d13d8a85cb784(name, version, extraArgs = []) {\n (0, $kDRhL.info)(`Installing ${name} ${version ?? \"\"} via brew`);\n if (!$d04dcbafc5bebef1$var$hasBrew || (0, (/*@__PURE__*/$parcel$interopDefault($213a898fd02ffa77$exports))).sync(\"brew\", {\n nothrow: true\n }) === null) {\n await (0, $7eeef95f58db9236$export$c5eeb9c87a610a0e)(\"\", \"\", process.arch);\n $d04dcbafc5bebef1$var$hasBrew = true;\n }\n const binDir = (0, $7eeef95f58db9236$export$cba19b0564b654bf)();\n // brew is not thread-safe\n (0, $d883609dd3eb5a67$export$28823a701bb5a12d)((0, $bLa2q.join)(binDir, \"brew\"), [\n \"install\",\n version !== undefined && version !== \"\" ? `${name}@${version}` : name,\n ...extraArgs\n ], {\n stdio: \"inherit\"\n });\n return {\n binDir: binDir\n };\n}\n\n\n/* eslint-disable require-atomic-updates */ \n\n/* eslint-disable require-atomic-updates */ \n\nvar $6MdIz = parcelRequire(\"6MdIz\");\n\nvar $bLa2q = parcelRequire(\"bLa2q\");\n\n\nlet $9ccbddfd63a1d0a8$var$binDir;\nasync function $9ccbddfd63a1d0a8$export$b804d731cdad7ef9(// eslint-disable-next-line @typescript-eslint/no-unused-vars\n_version, // eslint-disable-next-line @typescript-eslint/no-unused-vars\n_setupDir, // eslint-disable-next-line @typescript-eslint/no-unused-vars\n_arch) {\n if (process.platform !== \"win32\") return undefined;\n if (typeof $9ccbddfd63a1d0a8$var$binDir === \"string\") return {\n binDir: $9ccbddfd63a1d0a8$var$binDir\n };\n const maybeBinDir = (0, (/*@__PURE__*/$parcel$interopDefault($213a898fd02ffa77$exports))).sync(\"choco\", {\n nothrow: true\n });\n if (maybeBinDir !== null) {\n $9ccbddfd63a1d0a8$var$binDir = (0, $bLa2q.dirname)(maybeBinDir);\n return {\n binDir: $9ccbddfd63a1d0a8$var$binDir\n };\n }\n let powershell = \"powershell.exe\";\n const maybePowerShell = (0, (/*@__PURE__*/$parcel$interopDefault($213a898fd02ffa77$exports))).sync(`${process.env.SystemRoot}\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\powershell.exe`, {\n nothrow: true\n });\n if (maybePowerShell !== null) powershell = maybePowerShell;\n // https://docs.chocolatey.org/en-us/choco/setup#install-with-cmd.exe\n (0, $d883609dd3eb5a67$export$28823a701bb5a12d)(powershell, [\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 const chocoPath = `${process.env.ALLUSERSPROFILE}\\\\chocolatey\\\\bin`;\n await (0, $2f24a8df2529dc1c$export$4c25481b843feb0b)(chocoPath);\n const maybeChoco = (0, (/*@__PURE__*/$parcel$interopDefault($213a898fd02ffa77$exports))).sync(\"choco\", {\n nothrow: true\n });\n if (maybeChoco !== null) $9ccbddfd63a1d0a8$var$binDir = (0, $bLa2q.dirname)(maybeChoco);\n else $9ccbddfd63a1d0a8$var$binDir = `${process.env.ChocolateyInstall ?? \"C:/ProgramData/chocolatey\"}/bin`;\n if (await (0, $6MdIz.pathExists)($9ccbddfd63a1d0a8$var$binDir)) return {\n binDir: $9ccbddfd63a1d0a8$var$binDir\n };\n return undefined;\n}\n\n\n\n\nvar $7Lz0k = parcelRequire(\"7Lz0k\");\nlet $953ade167c7bc14a$var$hasChoco = false;\nasync function $953ade167c7bc14a$export$9f6912bc890040b2(name, version, args = []) {\n (0, $7Lz0k.info)(`Installing ${name} ${version ?? \"\"} via chocolatey`);\n if (!$953ade167c7bc14a$var$hasChoco || (0, (/*@__PURE__*/$parcel$interopDefault($213a898fd02ffa77$exports))).sync(\"choco\", {\n nothrow: true\n }) === null) {\n await (0, $9ccbddfd63a1d0a8$export$b804d731cdad7ef9)(\"\", \"\", process.arch);\n $953ade167c7bc14a$var$hasChoco = true;\n }\n // https://github.com/jberezanski/ChocolateyPackages/issues/97#issuecomment-986825694\n const PATH = process.env.PATH;\n const env = {\n ...process.env\n };\n delete env.TMP;\n delete env.TEMP;\n delete env.Path;\n env.PATH = PATH;\n if (version !== undefined && version !== \"\") (0, $d883609dd3eb5a67$export$28823a701bb5a12d)(\"choco\", [\n \"install\",\n \"-y\",\n name,\n `--version=${version}`,\n ...args\n ], {\n env: env,\n extendEnv: false,\n stdio: \"inherit\"\n });\n else try {\n (0, $d883609dd3eb5a67$export$28823a701bb5a12d)(\"choco\", [\n \"install\",\n \"-y\",\n name,\n ...args\n ], {\n env: env,\n extendEnv: false,\n stdio: \"inherit\"\n });\n } catch (err) {\n // if the package requires a reboot, downgrade the error to a notice\n if (err.message.includes(\"exit code 3010\")) (0, $7Lz0k.info)(`${name} might require a reboot for the completion of the installation.`);\n else throw err;\n }\n const binDir = `${process.env.ChocolateyInstall ?? \"C:/ProgramData/chocolatey\"}/bin`;\n await (0, $2f24a8df2529dc1c$export$4c25481b843feb0b)(binDir);\n return {\n binDir: binDir\n };\n}\n\n\n\nlet $9aeb5896658945db$var$isArchCache = undefined;\nfunction $9aeb5896658945db$export$d415ddb6702ec3a2() {\n if (process.platform !== \"linux\") return false;\n if ($9aeb5896658945db$var$isArchCache === undefined) // detect arch by checking if pacman exists\n $9aeb5896658945db$var$isArchCache = (0, (/*@__PURE__*/$parcel$interopDefault($213a898fd02ffa77$exports))).sync(\"pacman\", {\n nothrow: true\n }) !== null;\n return $9aeb5896658945db$var$isArchCache;\n}\n\n\n\nlet $3886c66546fd08fe$var$hasDnfCache = undefined;\nfunction $3886c66546fd08fe$export$8ce8b4b22331a8c7() {\n if (process.platform !== \"linux\") return false;\n if ($3886c66546fd08fe$var$hasDnfCache === undefined) $3886c66546fd08fe$var$hasDnfCache = (0, (/*@__PURE__*/$parcel$interopDefault($213a898fd02ffa77$exports))).sync(\"dnf\", {\n nothrow: true\n }) !== null;\n return $3886c66546fd08fe$var$hasDnfCache;\n}\n\n\n\n\nvar $7Lz0k = parcelRequire(\"7Lz0k\");\n\nasync function $c19966177a67898f$export$49d4f9ba8e0dd34f(packages) {\n for (const { name: name, version: version } of packages)(0, $7Lz0k.info)(`Installing ${name} ${version ?? \"\"} via dnf`);\n const dnfArgs = await Promise.all(packages.map((pack)=>$c19966177a67898f$var$getDnfArg(pack.name, pack.version)));\n (0, $a41cd8ed4acfdead$export$58f152936f209932)(\"dnf\", [\n \"-y\",\n \"install\",\n ...dnfArgs\n ]);\n return {\n binDir: \"/usr/bin/\"\n };\n}\nasync function $c19966177a67898f$var$getDnfArg(name, version) {\n if (version !== undefined && version !== \"\") {\n // check if name-version is available\n const { stdout: stdout } = await (0, $d883609dd3eb5a67$export$db6b1668e3758717)(\"dnf\", [\n \"search\",\n \"-q\",\n `${name}-${version}`\n ]);\n if (stdout.trim() !== \"\") return `${name}-${version}`;\n else {\n // try with ${name}${version}\n // eslint-disable-next-line @typescript-eslint/no-shadow\n const { stdout: stdout } = await (0, $d883609dd3eb5a67$export$db6b1668e3758717)(\"dnf\", [\n \"search\",\n \"-q\",\n `${name}${version}`\n ]);\n if (stdout.trim() !== \"\") return `${name}${version}`;\n (0, $7Lz0k.warning)(`Failed to install ${name} ${version} via dnf, trying without version`);\n }\n }\n return name;\n}\n\n\n\nlet $20fc1212ead529fb$var$isUbuntuCache = undefined;\nfunction $20fc1212ead529fb$export$da8baf1d6c6802b6() {\n if (process.platform !== \"linux\") return false;\n if ($20fc1212ead529fb$var$isUbuntuCache === undefined) {\n const apt = \"apt-get\";\n $20fc1212ead529fb$var$isUbuntuCache = (0, (/*@__PURE__*/$parcel$interopDefault($213a898fd02ffa77$exports))).sync(apt, {\n nothrow: true\n }) !== null;\n }\n return $20fc1212ead529fb$var$isUbuntuCache;\n}\n\n\n\nasync function $a40e1fc0f7d6a0ef$export$a66bc93580b0a849(version, _setupDir, _arch) {\n switch(process.platform){\n case \"win32\":\n // install bazelisk because it contains both\n return (0, $953ade167c7bc14a$export$9f6912bc890040b2)(\"bazelisk\", version);\n case \"darwin\":\n // install bazelisk because it contains both\n return (0, $d04dcbafc5bebef1$export$ce5d13d8a85cb784)(\"bazelisk\", version);\n case \"linux\":\n if ((0, $9aeb5896658945db$export$d415ddb6702ec3a2)()) throw new Error(\"installing bazel on Arch linux is not supported yet\");\n else if ((0, $3886c66546fd08fe$export$8ce8b4b22331a8c7)()) {\n // https://bazel.build/install/redhat\n await (0, $c19966177a67898f$export$49d4f9ba8e0dd34f)([\n {\n name: \"dnf-plugins-core\"\n }\n ]);\n (0, $a41cd8ed4acfdead$export$58f152936f209932)(\"dnf\", [\n \"copr\",\n \"enable\",\n \"vbatts/bazel\"\n ]);\n return (0, $c19966177a67898f$export$49d4f9ba8e0dd34f)([\n {\n name: \"bazel4\"\n }\n ]);\n } else if ((0, $20fc1212ead529fb$export$da8baf1d6c6802b6)()) {\n // https://bazel.build/install/ubuntu\n const keyFileName = await (0, $c28d8ebe1e034757$export$7fb1a688af1305f0)(\"bazel-archive-keyring.gpg\", \"https://bazel.build/bazel-release.pub.gpg\");\n (0, $a41cd8ed4acfdead$export$58f152936f209932)(\"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 (0, $c28d8ebe1e034757$export$d73dc343f5abf26)([\n {\n name: \"bazel\",\n version: version\n }\n ], true);\n }\n throw new Error(`Unsupported linux distribution`);\n default:\n throw new Error(`Unsupported platform`);\n }\n}\n\n\n\n\n\n\nvar $7Lz0k = parcelRequire(\"7Lz0k\");\n\n\n/* eslint-disable require-atomic-updates */ let $8310f4b4d4fddda5$var$didUpdate = false;\nlet $8310f4b4d4fddda5$var$didInit = false;\nasync function $8310f4b4d4fddda5$export$cfa75578ee2d6e6c(name, version, aur) {\n (0, $7Lz0k.info)(`Installing ${name} ${version ?? \"\"} via pacman`);\n const pacman = \"pacman\";\n if (aur === \"yay\" && (0, (/*@__PURE__*/$parcel$interopDefault($213a898fd02ffa77$exports))).sync(\"yay\", {\n nothrow: true\n }) === null) // TODO: install yay automatically\n throw new Error(`yay is needed for ${name}, but it is not installed, please install it manually first`);\n // yay can't run as root, so skip update\n if (!$8310f4b4d4fddda5$var$didUpdate && aur !== \"yay\") {\n (0, $a41cd8ed4acfdead$export$58f152936f209932)(pacman, [\n \"-Sy\",\n \"--noconfirm\"\n ]);\n $8310f4b4d4fddda5$var$didUpdate = true;\n }\n // install base-devel\n if (!$8310f4b4d4fddda5$var$didInit && aur !== \"yay\") {\n (0, $a41cd8ed4acfdead$export$58f152936f209932)(pacman, [\n \"-S\",\n \"--noconfirm\",\n \"base-devel\"\n ]);\n $8310f4b4d4fddda5$var$didInit = true;\n }\n const runInstall = (arg)=>{\n if (aur === \"yay\") // run yay as non-root, ERROR: Running makepkg as root is not allowed as it can cause permanent, catastrophic damage to your system.\n return (0, $d883609dd3eb5a67$export$28823a701bb5a12d)(aur, [\n \"-S\",\n \"--noconfirm\",\n arg\n ]);\n return (0, $a41cd8ed4acfdead$export$58f152936f209932)(aur ?? pacman, [\n \"-S\",\n \"--noconfirm\",\n arg\n ]);\n };\n if (version !== undefined && version !== \"\") {\n // check if version is available\n const availableVersions = await $8310f4b4d4fddda5$var$availablePacmanVersions(pacman, name);\n if (availableVersions.includes(version)) // try different version formats\n try {\n runInstall(`${name}=${version}`);\n } catch {\n runInstall(`${name}${version}`);\n }\n else {\n // try without version\n (0, $7Lz0k.info)(`Failed to install ${name} ${version} via pacman, trying without version`);\n runInstall(name);\n }\n } else // version not specified, install latest\n runInstall(name);\n return {\n binDir: \"/usr/bin/\"\n };\n}\nconst $8310f4b4d4fddda5$var$pacmanSiVersionRegex = /Version\\s*:\\s*(.*)/g;\n/** Query pacman for available versions */ async function $8310f4b4d4fddda5$var$availablePacmanVersions(pacman, name) {\n const availableVersions = [];\n try {\n const { stdout: stdout } = await (0, $d883609dd3eb5a67$export$db6b1668e3758717)(pacman, [\n \"-Si\",\n name\n ]);\n for (const match of stdout.matchAll($8310f4b4d4fddda5$var$pacmanSiVersionRegex))availableVersions.push(match[1]);\n } catch (err) {\n (0, $7Lz0k.warning)(`Failed to get available versions for ${name}: ${err}`);\n }\n return availableVersions;\n}\n\n\n\n\n\n\n\n\nfunction $4e9e6c219ffcdbbf$export$111263621bbb0768(version, _setupDir, _arch) {\n switch(process.platform){\n case \"win32\":\n return (0, $953ade167c7bc14a$export$9f6912bc890040b2)(\"ccache\", version);\n case \"darwin\":\n return (0, $d04dcbafc5bebef1$export$ce5d13d8a85cb784)(\"ccache\", version);\n case \"linux\":\n if ((0, $9aeb5896658945db$export$d415ddb6702ec3a2)()) return (0, $8310f4b4d4fddda5$export$cfa75578ee2d6e6c)(\"ccache\", version);\n else if ((0, $3886c66546fd08fe$export$8ce8b4b22331a8c7)()) return (0, $c19966177a67898f$export$49d4f9ba8e0dd34f)([\n {\n name: \"ccache\",\n version: version\n }\n ]);\n else if ((0, $20fc1212ead529fb$export$da8baf1d6c6802b6)()) return (0, $c28d8ebe1e034757$export$d73dc343f5abf26)([\n {\n name: \"ccache\",\n version: version\n }\n ]);\n throw new Error(`Unsupported linux distribution`);\n default:\n throw new Error(`Unsupported platform`);\n }\n}\n\n\n\nvar $c4f66d9b8b1c5822$exports = {};\n\nvar $c4f66d9b8b1c5822$var$$parcel$__dirname = $aEsRD$path.resolve(__dirname, \"../../node_modules/@actions/tool-cache/lib\");\n\"use strict\";\nvar $c4f66d9b8b1c5822$var$__createBinding = $c4f66d9b8b1c5822$exports && $c4f66d9b8b1c5822$exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $c4f66d9b8b1c5822$var$__setModuleDefault = $c4f66d9b8b1c5822$exports && $c4f66d9b8b1c5822$exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $c4f66d9b8b1c5822$var$__importStar = $c4f66d9b8b1c5822$exports && $c4f66d9b8b1c5822$exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $c4f66d9b8b1c5822$var$__createBinding(result, mod, k);\n }\n $c4f66d9b8b1c5822$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $c4f66d9b8b1c5822$var$__awaiter = $c4f66d9b8b1c5822$exports && $c4f66d9b8b1c5822$exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar $c4f66d9b8b1c5822$var$__importDefault = $c4f66d9b8b1c5822$exports && $c4f66d9b8b1c5822$exports.__importDefault || function(mod) {\n return mod && mod.__esModule ? mod : {\n \"default\": mod\n };\n};\nObject.defineProperty($c4f66d9b8b1c5822$exports, \"__esModule\", {\n value: true\n});\n$c4f66d9b8b1c5822$exports.evaluateVersions = $c4f66d9b8b1c5822$exports.isExplicitVersion = $c4f66d9b8b1c5822$exports.findFromManifest = $c4f66d9b8b1c5822$exports.getManifestFromRepo = $c4f66d9b8b1c5822$exports.findAllVersions = $c4f66d9b8b1c5822$exports.find = $c4f66d9b8b1c5822$exports.cacheFile = $c4f66d9b8b1c5822$exports.cacheDir = $c4f66d9b8b1c5822$exports.extractZip = $c4f66d9b8b1c5822$exports.extractXar = $c4f66d9b8b1c5822$exports.extractTar = $c4f66d9b8b1c5822$exports.extract7z = $c4f66d9b8b1c5822$exports.downloadTool = $c4f66d9b8b1c5822$exports.HTTPError = void 0;\n\nconst $c4f66d9b8b1c5822$var$core = $c4f66d9b8b1c5822$var$__importStar((parcelRequire(\"kDRhL\")));\n\nconst $c4f66d9b8b1c5822$var$io = $c4f66d9b8b1c5822$var$__importStar((parcelRequire(\"alxPC\")));\n\nconst $c4f66d9b8b1c5822$var$fs = $c4f66d9b8b1c5822$var$__importStar($aEsRD$fs);\n\nconst $c4f66d9b8b1c5822$var$mm = $c4f66d9b8b1c5822$var$__importStar((parcelRequire(\"hNLZB\")));\n\nconst $c4f66d9b8b1c5822$var$os = $c4f66d9b8b1c5822$var$__importStar($aEsRD$os);\n\nconst $c4f66d9b8b1c5822$var$path = $c4f66d9b8b1c5822$var$__importStar($aEsRD$path);\n\nconst $c4f66d9b8b1c5822$var$httpm = $c4f66d9b8b1c5822$var$__importStar((parcelRequire(\"3BbEx\")));\n\nconst $c4f66d9b8b1c5822$var$semver = $c4f66d9b8b1c5822$var$__importStar((parcelRequire(\"7t9v9\")));\n\nconst $c4f66d9b8b1c5822$var$stream = $c4f66d9b8b1c5822$var$__importStar($aEsRD$stream);\n\nconst $c4f66d9b8b1c5822$var$util = $c4f66d9b8b1c5822$var$__importStar($aEsRD$util);\n\n\nconst $c4f66d9b8b1c5822$var$v4_1 = $c4f66d9b8b1c5822$var$__importDefault((parcelRequire(\"6M6mp\")));\n\nvar $7J8UA = parcelRequire(\"7J8UA\");\nvar $80ae31fe3850d9e9$exports = {};\n\"use strict\";\nvar $80ae31fe3850d9e9$var$__createBinding = $80ae31fe3850d9e9$exports && $80ae31fe3850d9e9$exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $80ae31fe3850d9e9$var$__setModuleDefault = $80ae31fe3850d9e9$exports && $80ae31fe3850d9e9$exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $80ae31fe3850d9e9$var$__importStar = $80ae31fe3850d9e9$exports && $80ae31fe3850d9e9$exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $80ae31fe3850d9e9$var$__createBinding(result, mod, k);\n }\n $80ae31fe3850d9e9$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $80ae31fe3850d9e9$var$__awaiter = $80ae31fe3850d9e9$exports && $80ae31fe3850d9e9$exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty($80ae31fe3850d9e9$exports, \"__esModule\", {\n value: true\n});\n$80ae31fe3850d9e9$exports.RetryHelper = void 0;\n\nconst $80ae31fe3850d9e9$var$core = $80ae31fe3850d9e9$var$__importStar((parcelRequire(\"kDRhL\")));\n/**\n * Internal class for retries\n */ class $80ae31fe3850d9e9$var$RetryHelper {\n constructor(maxAttempts, minSeconds, maxSeconds){\n if (maxAttempts < 1) throw new Error(\"max attempts should be greater than or equal to 1\");\n this.maxAttempts = maxAttempts;\n this.minSeconds = Math.floor(minSeconds);\n this.maxSeconds = Math.floor(maxSeconds);\n if (this.minSeconds > this.maxSeconds) throw new Error(\"min seconds should be less than or equal to max seconds\");\n }\n execute(action, isRetryable) {\n return $80ae31fe3850d9e9$var$__awaiter(this, void 0, void 0, function*() {\n let attempt = 1;\n while(attempt < this.maxAttempts){\n // Try\n try {\n return yield action();\n } catch (err) {\n if (isRetryable && !isRetryable(err)) throw err;\n $80ae31fe3850d9e9$var$core.info(err.message);\n }\n // Sleep\n const seconds = this.getSleepAmount();\n $80ae31fe3850d9e9$var$core.info(`Waiting ${seconds} seconds before trying again`);\n yield this.sleep(seconds);\n attempt++;\n }\n // Last attempt\n return yield action();\n });\n }\n getSleepAmount() {\n return Math.floor(Math.random() * (this.maxSeconds - this.minSeconds + 1)) + this.minSeconds;\n }\n sleep(seconds) {\n return $80ae31fe3850d9e9$var$__awaiter(this, void 0, void 0, function*() {\n return new Promise((resolve)=>setTimeout(resolve, seconds * 1000));\n });\n }\n}\n$80ae31fe3850d9e9$exports.RetryHelper = $80ae31fe3850d9e9$var$RetryHelper;\n\n\nclass $c4f66d9b8b1c5822$var$HTTPError extends Error {\n constructor(httpStatusCode){\n super(`Unexpected HTTP response: ${httpStatusCode}`);\n this.httpStatusCode = httpStatusCode;\n Object.setPrototypeOf(this, new.target.prototype);\n }\n}\n$c4f66d9b8b1c5822$exports.HTTPError = $c4f66d9b8b1c5822$var$HTTPError;\nconst $c4f66d9b8b1c5822$var$IS_WINDOWS = process.platform === \"win32\";\nconst $c4f66d9b8b1c5822$var$IS_MAC = process.platform === \"darwin\";\nconst $c4f66d9b8b1c5822$var$userAgent = \"actions/tool-cache\";\n/**\n * Download a tool from an url and stream it into a file\n *\n * @param url url of tool to download\n * @param dest path to download tool\n * @param auth authorization header\n * @param headers other headers\n * @returns path to downloaded tool\n */ function $c4f66d9b8b1c5822$var$downloadTool(url, dest, auth, headers) {\n return $c4f66d9b8b1c5822$var$__awaiter(this, void 0, void 0, function*() {\n dest = dest || $c4f66d9b8b1c5822$var$path.join($c4f66d9b8b1c5822$var$_getTempDirectory(), $c4f66d9b8b1c5822$var$v4_1.default());\n yield $c4f66d9b8b1c5822$var$io.mkdirP($c4f66d9b8b1c5822$var$path.dirname(dest));\n $c4f66d9b8b1c5822$var$core.debug(`Downloading ${url}`);\n $c4f66d9b8b1c5822$var$core.debug(`Destination ${dest}`);\n const maxAttempts = 3;\n const minSeconds = $c4f66d9b8b1c5822$var$_getGlobal(\"TEST_DOWNLOAD_TOOL_RETRY_MIN_SECONDS\", 10);\n const maxSeconds = $c4f66d9b8b1c5822$var$_getGlobal(\"TEST_DOWNLOAD_TOOL_RETRY_MAX_SECONDS\", 20);\n const retryHelper = new $80ae31fe3850d9e9$exports.RetryHelper(maxAttempts, minSeconds, maxSeconds);\n return yield retryHelper.execute(()=>$c4f66d9b8b1c5822$var$__awaiter(this, void 0, void 0, function*() {\n return yield $c4f66d9b8b1c5822$var$downloadToolAttempt(url, dest || \"\", auth, headers);\n }), (err)=>{\n if (err instanceof $c4f66d9b8b1c5822$var$HTTPError && err.httpStatusCode) {\n // Don't retry anything less than 500, except 408 Request Timeout and 429 Too Many Requests\n if (err.httpStatusCode < 500 && err.httpStatusCode !== 408 && err.httpStatusCode !== 429) return false;\n }\n // Otherwise retry\n return true;\n });\n });\n}\n$c4f66d9b8b1c5822$exports.downloadTool = $c4f66d9b8b1c5822$var$downloadTool;\nfunction $c4f66d9b8b1c5822$var$downloadToolAttempt(url, dest, auth, headers) {\n return $c4f66d9b8b1c5822$var$__awaiter(this, void 0, void 0, function*() {\n if ($c4f66d9b8b1c5822$var$fs.existsSync(dest)) throw new Error(`Destination file path ${dest} already exists`);\n // Get the response headers\n const http = new $c4f66d9b8b1c5822$var$httpm.HttpClient($c4f66d9b8b1c5822$var$userAgent, [], {\n allowRetries: false\n });\n if (auth) {\n $c4f66d9b8b1c5822$var$core.debug(\"set auth\");\n if (headers === undefined) headers = {};\n headers.authorization = auth;\n }\n const response = yield http.get(url, headers);\n if (response.message.statusCode !== 200) {\n const err = new $c4f66d9b8b1c5822$var$HTTPError(response.message.statusCode);\n $c4f66d9b8b1c5822$var$core.debug(`Failed to download from \"${url}\". Code(${response.message.statusCode}) Message(${response.message.statusMessage})`);\n throw err;\n }\n // Download the response body\n const pipeline = $c4f66d9b8b1c5822$var$util.promisify($c4f66d9b8b1c5822$var$stream.pipeline);\n const responseMessageFactory = $c4f66d9b8b1c5822$var$_getGlobal(\"TEST_DOWNLOAD_TOOL_RESPONSE_MESSAGE_FACTORY\", ()=>response.message);\n const readStream = responseMessageFactory();\n let succeeded = false;\n try {\n yield pipeline(readStream, $c4f66d9b8b1c5822$var$fs.createWriteStream(dest));\n $c4f66d9b8b1c5822$var$core.debug(\"download complete\");\n succeeded = true;\n return dest;\n } finally{\n // Error, delete dest before retry\n if (!succeeded) {\n $c4f66d9b8b1c5822$var$core.debug(\"download failed\");\n try {\n yield $c4f66d9b8b1c5822$var$io.rmRF(dest);\n } catch (err) {\n $c4f66d9b8b1c5822$var$core.debug(`Failed to delete '${dest}'. ${err.message}`);\n }\n }\n }\n });\n}\n/**\n * Extract a .7z file\n *\n * @param file path to the .7z file\n * @param dest destination directory. Optional.\n * @param _7zPath path to 7zr.exe. Optional, for long path support. Most .7z archives do not have this\n * problem. If your .7z archive contains very long paths, you can pass the path to 7zr.exe which will\n * gracefully handle long paths. By default 7zdec.exe is used because it is a very small program and is\n * bundled with the tool lib. However it does not support long paths. 7zr.exe is the reduced command line\n * interface, it is smaller than the full command line interface, and it does support long paths. At the\n * time of this writing, it is freely available from the LZMA SDK that is available on the 7zip website.\n * Be sure to check the current license agreement. If 7zr.exe is bundled with your action, then the path\n * to 7zr.exe can be pass to this function.\n * @returns path to the destination directory\n */ function $c4f66d9b8b1c5822$var$extract7z(file, dest, _7zPath) {\n return $c4f66d9b8b1c5822$var$__awaiter(this, void 0, void 0, function*() {\n $aEsRD$assert.ok($c4f66d9b8b1c5822$var$IS_WINDOWS, \"extract7z() not supported on current OS\");\n $aEsRD$assert.ok(file, 'parameter \"file\" is required');\n dest = yield $c4f66d9b8b1c5822$var$_createExtractFolder(dest);\n const originalCwd = process.cwd();\n process.chdir(dest);\n if (_7zPath) try {\n const logLevel = $c4f66d9b8b1c5822$var$core.isDebug() ? \"-bb1\" : \"-bb0\";\n const args = [\n \"x\",\n logLevel,\n \"-bd\",\n \"-sccUTF-8\",\n file\n ];\n const options = {\n silent: true\n };\n yield $7J8UA.exec(`\"${_7zPath}\"`, args, options);\n } finally{\n process.chdir(originalCwd);\n }\n else {\n const escapedScript = $c4f66d9b8b1c5822$var$path.join($c4f66d9b8b1c5822$var$$parcel$__dirname, \"..\", \"scripts\", \"Invoke-7zdec.ps1\").replace(/'/g, \"''\").replace(/\"|\\n|\\r/g, \"\"); // double-up single quotes, remove double quotes and newlines\n const escapedFile = file.replace(/'/g, \"''\").replace(/\"|\\n|\\r/g, \"\");\n const escapedTarget = dest.replace(/'/g, \"''\").replace(/\"|\\n|\\r/g, \"\");\n const command = `& '${escapedScript}' -Source '${escapedFile}' -Target '${escapedTarget}'`;\n const args = [\n \"-NoLogo\",\n \"-Sta\",\n \"-NoProfile\",\n \"-NonInteractive\",\n \"-ExecutionPolicy\",\n \"Unrestricted\",\n \"-Command\",\n command\n ];\n const options = {\n silent: true\n };\n try {\n const powershellPath = yield $c4f66d9b8b1c5822$var$io.which(\"powershell\", true);\n yield $7J8UA.exec(`\"${powershellPath}\"`, args, options);\n } finally{\n process.chdir(originalCwd);\n }\n }\n return dest;\n });\n}\n$c4f66d9b8b1c5822$exports.extract7z = $c4f66d9b8b1c5822$var$extract7z;\n/**\n * Extract a compressed tar archive\n *\n * @param file path to the tar\n * @param dest destination directory. Optional.\n * @param flags flags for the tar command to use for extraction. Defaults to 'xz' (extracting gzipped tars). Optional.\n * @returns path to the destination directory\n */ function $c4f66d9b8b1c5822$var$extractTar(file, dest, flags = \"xz\") {\n return $c4f66d9b8b1c5822$var$__awaiter(this, void 0, void 0, function*() {\n if (!file) throw new Error(\"parameter 'file' is required\");\n // Create dest\n dest = yield $c4f66d9b8b1c5822$var$_createExtractFolder(dest);\n // Determine whether GNU tar\n $c4f66d9b8b1c5822$var$core.debug(\"Checking tar --version\");\n let versionOutput = \"\";\n yield $7J8UA.exec(\"tar --version\", [], {\n ignoreReturnCode: true,\n silent: true,\n listeners: {\n stdout: (data)=>versionOutput += data.toString(),\n stderr: (data)=>versionOutput += data.toString()\n }\n });\n $c4f66d9b8b1c5822$var$core.debug(versionOutput.trim());\n const isGnuTar = versionOutput.toUpperCase().includes(\"GNU TAR\");\n // Initialize args\n let args;\n if (flags instanceof Array) args = flags;\n else args = [\n flags\n ];\n if ($c4f66d9b8b1c5822$var$core.isDebug() && !flags.includes(\"v\")) args.push(\"-v\");\n let destArg = dest;\n let fileArg = file;\n if ($c4f66d9b8b1c5822$var$IS_WINDOWS && isGnuTar) {\n args.push(\"--force-local\");\n destArg = dest.replace(/\\\\/g, \"/\");\n // Technically only the dest needs to have `/` but for aesthetic consistency\n // convert slashes in the file arg too.\n fileArg = file.replace(/\\\\/g, \"/\");\n }\n if (isGnuTar) {\n // Suppress warnings when using GNU tar to extract archives created by BSD tar\n args.push(\"--warning=no-unknown-keyword\");\n args.push(\"--overwrite\");\n }\n args.push(\"-C\", destArg, \"-f\", fileArg);\n yield $7J8UA.exec(`tar`, args);\n return dest;\n });\n}\n$c4f66d9b8b1c5822$exports.extractTar = $c4f66d9b8b1c5822$var$extractTar;\n/**\n * Extract a xar compatible archive\n *\n * @param file path to the archive\n * @param dest destination directory. Optional.\n * @param flags flags for the xar. Optional.\n * @returns path to the destination directory\n */ function $c4f66d9b8b1c5822$var$extractXar(file, dest, flags = []) {\n return $c4f66d9b8b1c5822$var$__awaiter(this, void 0, void 0, function*() {\n $aEsRD$assert.ok($c4f66d9b8b1c5822$var$IS_MAC, \"extractXar() not supported on current OS\");\n $aEsRD$assert.ok(file, 'parameter \"file\" is required');\n dest = yield $c4f66d9b8b1c5822$var$_createExtractFolder(dest);\n let args;\n if (flags instanceof Array) args = flags;\n else args = [\n flags\n ];\n args.push(\"-x\", \"-C\", dest, \"-f\", file);\n if ($c4f66d9b8b1c5822$var$core.isDebug()) args.push(\"-v\");\n const xarPath = yield $c4f66d9b8b1c5822$var$io.which(\"xar\", true);\n yield $7J8UA.exec(`\"${xarPath}\"`, $c4f66d9b8b1c5822$var$_unique(args));\n return dest;\n });\n}\n$c4f66d9b8b1c5822$exports.extractXar = $c4f66d9b8b1c5822$var$extractXar;\n/**\n * Extract a zip\n *\n * @param file path to the zip\n * @param dest destination directory. Optional.\n * @returns path to the destination directory\n */ function $c4f66d9b8b1c5822$var$extractZip(file, dest) {\n return $c4f66d9b8b1c5822$var$__awaiter(this, void 0, void 0, function*() {\n if (!file) throw new Error(\"parameter 'file' is required\");\n dest = yield $c4f66d9b8b1c5822$var$_createExtractFolder(dest);\n if ($c4f66d9b8b1c5822$var$IS_WINDOWS) yield $c4f66d9b8b1c5822$var$extractZipWin(file, dest);\n else yield $c4f66d9b8b1c5822$var$extractZipNix(file, dest);\n return dest;\n });\n}\n$c4f66d9b8b1c5822$exports.extractZip = $c4f66d9b8b1c5822$var$extractZip;\nfunction $c4f66d9b8b1c5822$var$extractZipWin(file, dest) {\n return $c4f66d9b8b1c5822$var$__awaiter(this, void 0, void 0, function*() {\n // build the powershell command\n const escapedFile = file.replace(/'/g, \"''\").replace(/\"|\\n|\\r/g, \"\"); // double-up single quotes, remove double quotes and newlines\n const escapedDest = dest.replace(/'/g, \"''\").replace(/\"|\\n|\\r/g, \"\");\n const pwshPath = yield $c4f66d9b8b1c5822$var$io.which(\"pwsh\", false);\n //To match the file overwrite behavior on nix systems, we use the overwrite = true flag for ExtractToDirectory\n //and the -Force flag for Expand-Archive as a fallback\n if (pwshPath) {\n //attempt to use pwsh with ExtractToDirectory, if this fails attempt Expand-Archive\n const pwshCommand = [\n `$ErrorActionPreference = 'Stop' ;`,\n `try { Add-Type -AssemblyName System.IO.Compression.ZipFile } catch { } ;`,\n `try { [System.IO.Compression.ZipFile]::ExtractToDirectory('${escapedFile}', '${escapedDest}', $true) }`,\n `catch { if (($_.Exception.GetType().FullName -eq 'System.Management.Automation.MethodException') -or ($_.Exception.GetType().FullName -eq 'System.Management.Automation.RuntimeException') ){ Expand-Archive -LiteralPath '${escapedFile}' -DestinationPath '${escapedDest}' -Force } else { throw $_ } } ;`\n ].join(\" \");\n const args = [\n \"-NoLogo\",\n \"-NoProfile\",\n \"-NonInteractive\",\n \"-ExecutionPolicy\",\n \"Unrestricted\",\n \"-Command\",\n pwshCommand\n ];\n $c4f66d9b8b1c5822$var$core.debug(`Using pwsh at path: ${pwshPath}`);\n yield $7J8UA.exec(`\"${pwshPath}\"`, args);\n } else {\n const powershellCommand = [\n `$ErrorActionPreference = 'Stop' ;`,\n `try { Add-Type -AssemblyName System.IO.Compression.FileSystem } catch { } ;`,\n `if ((Get-Command -Name Expand-Archive -Module Microsoft.PowerShell.Archive -ErrorAction Ignore)) { Expand-Archive -LiteralPath '${escapedFile}' -DestinationPath '${escapedDest}' -Force }`,\n `else {[System.IO.Compression.ZipFile]::ExtractToDirectory('${escapedFile}', '${escapedDest}', $true) }`\n ].join(\" \");\n const args = [\n \"-NoLogo\",\n \"-Sta\",\n \"-NoProfile\",\n \"-NonInteractive\",\n \"-ExecutionPolicy\",\n \"Unrestricted\",\n \"-Command\",\n powershellCommand\n ];\n const powershellPath = yield $c4f66d9b8b1c5822$var$io.which(\"powershell\", true);\n $c4f66d9b8b1c5822$var$core.debug(`Using powershell at path: ${powershellPath}`);\n yield $7J8UA.exec(`\"${powershellPath}\"`, args);\n }\n });\n}\nfunction $c4f66d9b8b1c5822$var$extractZipNix(file, dest) {\n return $c4f66d9b8b1c5822$var$__awaiter(this, void 0, void 0, function*() {\n const unzipPath = yield $c4f66d9b8b1c5822$var$io.which(\"unzip\", true);\n const args = [\n file\n ];\n if (!$c4f66d9b8b1c5822$var$core.isDebug()) args.unshift(\"-q\");\n args.unshift(\"-o\"); //overwrite with -o, otherwise a prompt is shown which freezes the run\n yield $7J8UA.exec(`\"${unzipPath}\"`, args, {\n cwd: dest\n });\n });\n}\n/**\n * Caches a directory and installs it into the tool cacheDir\n *\n * @param sourceDir the directory to cache into tools\n * @param tool tool name\n * @param version version of the tool. semver format\n * @param arch architecture of the tool. Optional. Defaults to machine architecture\n */ function $c4f66d9b8b1c5822$var$cacheDir(sourceDir, tool, version, arch) {\n return $c4f66d9b8b1c5822$var$__awaiter(this, void 0, void 0, function*() {\n version = $c4f66d9b8b1c5822$var$semver.clean(version) || version;\n arch = arch || $c4f66d9b8b1c5822$var$os.arch();\n $c4f66d9b8b1c5822$var$core.debug(`Caching tool ${tool} ${version} ${arch}`);\n $c4f66d9b8b1c5822$var$core.debug(`source dir: ${sourceDir}`);\n if (!$c4f66d9b8b1c5822$var$fs.statSync(sourceDir).isDirectory()) throw new Error(\"sourceDir is not a directory\");\n // Create the tool dir\n const destPath = yield $c4f66d9b8b1c5822$var$_createToolPath(tool, version, arch);\n // copy each child item. do not move. move can fail on Windows\n // due to anti-virus software having an open handle on a file.\n for (const itemName of $c4f66d9b8b1c5822$var$fs.readdirSync(sourceDir)){\n const s = $c4f66d9b8b1c5822$var$path.join(sourceDir, itemName);\n yield $c4f66d9b8b1c5822$var$io.cp(s, destPath, {\n recursive: true\n });\n }\n // write .complete\n $c4f66d9b8b1c5822$var$_completeToolPath(tool, version, arch);\n return destPath;\n });\n}\n$c4f66d9b8b1c5822$exports.cacheDir = $c4f66d9b8b1c5822$var$cacheDir;\n/**\n * Caches a downloaded file (GUID) and installs it\n * into the tool cache with a given targetName\n *\n * @param sourceFile the file to cache into tools. Typically a result of downloadTool which is a guid.\n * @param targetFile the name of the file name in the tools directory\n * @param tool tool name\n * @param version version of the tool. semver format\n * @param arch architecture of the tool. Optional. Defaults to machine architecture\n */ function $c4f66d9b8b1c5822$var$cacheFile(sourceFile, targetFile, tool, version, arch) {\n return $c4f66d9b8b1c5822$var$__awaiter(this, void 0, void 0, function*() {\n version = $c4f66d9b8b1c5822$var$semver.clean(version) || version;\n arch = arch || $c4f66d9b8b1c5822$var$os.arch();\n $c4f66d9b8b1c5822$var$core.debug(`Caching tool ${tool} ${version} ${arch}`);\n $c4f66d9b8b1c5822$var$core.debug(`source file: ${sourceFile}`);\n if (!$c4f66d9b8b1c5822$var$fs.statSync(sourceFile).isFile()) throw new Error(\"sourceFile is not a file\");\n // create the tool dir\n const destFolder = yield $c4f66d9b8b1c5822$var$_createToolPath(tool, version, arch);\n // copy instead of move. move can fail on Windows due to\n // anti-virus software having an open handle on a file.\n const destPath = $c4f66d9b8b1c5822$var$path.join(destFolder, targetFile);\n $c4f66d9b8b1c5822$var$core.debug(`destination file ${destPath}`);\n yield $c4f66d9b8b1c5822$var$io.cp(sourceFile, destPath);\n // write .complete\n $c4f66d9b8b1c5822$var$_completeToolPath(tool, version, arch);\n return destFolder;\n });\n}\n$c4f66d9b8b1c5822$exports.cacheFile = $c4f66d9b8b1c5822$var$cacheFile;\n/**\n * Finds the path to a tool version in the local installed tool cache\n *\n * @param toolName name of the tool\n * @param versionSpec version of the tool\n * @param arch optional arch. defaults to arch of computer\n */ function $c4f66d9b8b1c5822$var$find(toolName, versionSpec, arch) {\n if (!toolName) throw new Error(\"toolName parameter is required\");\n if (!versionSpec) throw new Error(\"versionSpec parameter is required\");\n arch = arch || $c4f66d9b8b1c5822$var$os.arch();\n // attempt to resolve an explicit version\n if (!$c4f66d9b8b1c5822$var$isExplicitVersion(versionSpec)) {\n const localVersions = $c4f66d9b8b1c5822$var$findAllVersions(toolName, arch);\n const match = $c4f66d9b8b1c5822$var$evaluateVersions(localVersions, versionSpec);\n versionSpec = match;\n }\n // check for the explicit version in the cache\n let toolPath = \"\";\n if (versionSpec) {\n versionSpec = $c4f66d9b8b1c5822$var$semver.clean(versionSpec) || \"\";\n const cachePath = $c4f66d9b8b1c5822$var$path.join($c4f66d9b8b1c5822$var$_getCacheDirectory(), toolName, versionSpec, arch);\n $c4f66d9b8b1c5822$var$core.debug(`checking cache: ${cachePath}`);\n if ($c4f66d9b8b1c5822$var$fs.existsSync(cachePath) && $c4f66d9b8b1c5822$var$fs.existsSync(`${cachePath}.complete`)) {\n $c4f66d9b8b1c5822$var$core.debug(`Found tool in cache ${toolName} ${versionSpec} ${arch}`);\n toolPath = cachePath;\n } else $c4f66d9b8b1c5822$var$core.debug(\"not found\");\n }\n return toolPath;\n}\n$c4f66d9b8b1c5822$exports.find = $c4f66d9b8b1c5822$var$find;\n/**\n * Finds the paths to all versions of a tool that are installed in the local tool cache\n *\n * @param toolName name of the tool\n * @param arch optional arch. defaults to arch of computer\n */ function $c4f66d9b8b1c5822$var$findAllVersions(toolName, arch) {\n const versions = [];\n arch = arch || $c4f66d9b8b1c5822$var$os.arch();\n const toolPath = $c4f66d9b8b1c5822$var$path.join($c4f66d9b8b1c5822$var$_getCacheDirectory(), toolName);\n if ($c4f66d9b8b1c5822$var$fs.existsSync(toolPath)) {\n const children = $c4f66d9b8b1c5822$var$fs.readdirSync(toolPath);\n for (const child of children)if ($c4f66d9b8b1c5822$var$isExplicitVersion(child)) {\n const fullPath = $c4f66d9b8b1c5822$var$path.join(toolPath, child, arch || \"\");\n if ($c4f66d9b8b1c5822$var$fs.existsSync(fullPath) && $c4f66d9b8b1c5822$var$fs.existsSync(`${fullPath}.complete`)) versions.push(child);\n }\n }\n return versions;\n}\n$c4f66d9b8b1c5822$exports.findAllVersions = $c4f66d9b8b1c5822$var$findAllVersions;\nfunction $c4f66d9b8b1c5822$var$getManifestFromRepo(owner, repo, auth, branch = \"master\") {\n return $c4f66d9b8b1c5822$var$__awaiter(this, void 0, void 0, function*() {\n let releases = [];\n const treeUrl = `https://api.github.com/repos/${owner}/${repo}/git/trees/${branch}`;\n const http = new $c4f66d9b8b1c5822$var$httpm.HttpClient(\"tool-cache\");\n const headers = {};\n if (auth) {\n $c4f66d9b8b1c5822$var$core.debug(\"set auth\");\n headers.authorization = auth;\n }\n const response = yield http.getJson(treeUrl, headers);\n if (!response.result) return releases;\n let manifestUrl = \"\";\n for (const item of response.result.tree)if (item.path === \"versions-manifest.json\") {\n manifestUrl = item.url;\n break;\n }\n headers[\"accept\"] = \"application/vnd.github.VERSION.raw\";\n let versionsRaw = yield (yield http.get(manifestUrl, headers)).readBody();\n if (versionsRaw) {\n // shouldn't be needed but protects against invalid json saved with BOM\n versionsRaw = versionsRaw.replace(/^\\uFEFF/, \"\");\n try {\n releases = JSON.parse(versionsRaw);\n } catch (_a) {\n $c4f66d9b8b1c5822$var$core.debug(\"Invalid json\");\n }\n }\n return releases;\n });\n}\n$c4f66d9b8b1c5822$exports.getManifestFromRepo = $c4f66d9b8b1c5822$var$getManifestFromRepo;\nfunction $c4f66d9b8b1c5822$var$findFromManifest(versionSpec, stable, manifest, archFilter = $c4f66d9b8b1c5822$var$os.arch()) {\n return $c4f66d9b8b1c5822$var$__awaiter(this, void 0, void 0, function*() {\n // wrap the internal impl\n const match = yield $c4f66d9b8b1c5822$var$mm._findMatch(versionSpec, stable, manifest, archFilter);\n return match;\n });\n}\n$c4f66d9b8b1c5822$exports.findFromManifest = $c4f66d9b8b1c5822$var$findFromManifest;\nfunction $c4f66d9b8b1c5822$var$_createExtractFolder(dest) {\n return $c4f66d9b8b1c5822$var$__awaiter(this, void 0, void 0, function*() {\n if (!dest) // create a temp dir\n dest = $c4f66d9b8b1c5822$var$path.join($c4f66d9b8b1c5822$var$_getTempDirectory(), $c4f66d9b8b1c5822$var$v4_1.default());\n yield $c4f66d9b8b1c5822$var$io.mkdirP(dest);\n return dest;\n });\n}\nfunction $c4f66d9b8b1c5822$var$_createToolPath(tool, version, arch) {\n return $c4f66d9b8b1c5822$var$__awaiter(this, void 0, void 0, function*() {\n const folderPath = $c4f66d9b8b1c5822$var$path.join($c4f66d9b8b1c5822$var$_getCacheDirectory(), tool, $c4f66d9b8b1c5822$var$semver.clean(version) || version, arch || \"\");\n $c4f66d9b8b1c5822$var$core.debug(`destination ${folderPath}`);\n const markerPath = `${folderPath}.complete`;\n yield $c4f66d9b8b1c5822$var$io.rmRF(folderPath);\n yield $c4f66d9b8b1c5822$var$io.rmRF(markerPath);\n yield $c4f66d9b8b1c5822$var$io.mkdirP(folderPath);\n return folderPath;\n });\n}\nfunction $c4f66d9b8b1c5822$var$_completeToolPath(tool, version, arch) {\n const folderPath = $c4f66d9b8b1c5822$var$path.join($c4f66d9b8b1c5822$var$_getCacheDirectory(), tool, $c4f66d9b8b1c5822$var$semver.clean(version) || version, arch || \"\");\n const markerPath = `${folderPath}.complete`;\n $c4f66d9b8b1c5822$var$fs.writeFileSync(markerPath, \"\");\n $c4f66d9b8b1c5822$var$core.debug(\"finished caching tool\");\n}\n/**\n * Check if version string is explicit\n *\n * @param versionSpec version string to check\n */ function $c4f66d9b8b1c5822$var$isExplicitVersion(versionSpec) {\n const c = $c4f66d9b8b1c5822$var$semver.clean(versionSpec) || \"\";\n $c4f66d9b8b1c5822$var$core.debug(`isExplicit: ${c}`);\n const valid = $c4f66d9b8b1c5822$var$semver.valid(c) != null;\n $c4f66d9b8b1c5822$var$core.debug(`explicit? ${valid}`);\n return valid;\n}\n$c4f66d9b8b1c5822$exports.isExplicitVersion = $c4f66d9b8b1c5822$var$isExplicitVersion;\n/**\n * Get the highest satisfiying semantic version in `versions` which satisfies `versionSpec`\n *\n * @param versions array of versions to evaluate\n * @param versionSpec semantic version spec to satisfy\n */ function $c4f66d9b8b1c5822$var$evaluateVersions(versions, versionSpec) {\n let version = \"\";\n $c4f66d9b8b1c5822$var$core.debug(`evaluating ${versions.length} versions`);\n versions = versions.sort((a, b)=>{\n if ($c4f66d9b8b1c5822$var$semver.gt(a, b)) return 1;\n return -1;\n });\n for(let i = versions.length - 1; i >= 0; i--){\n const potential = versions[i];\n const satisfied = $c4f66d9b8b1c5822$var$semver.satisfies(potential, versionSpec);\n if (satisfied) {\n version = potential;\n break;\n }\n }\n if (version) $c4f66d9b8b1c5822$var$core.debug(`matched: ${version}`);\n else $c4f66d9b8b1c5822$var$core.debug(\"match not found\");\n return version;\n}\n$c4f66d9b8b1c5822$exports.evaluateVersions = $c4f66d9b8b1c5822$var$evaluateVersions;\n/**\n * Gets RUNNER_TOOL_CACHE\n */ function $c4f66d9b8b1c5822$var$_getCacheDirectory() {\n const cacheDirectory = process.env[\"RUNNER_TOOL_CACHE\"] || \"\";\n $aEsRD$assert.ok(cacheDirectory, \"Expected RUNNER_TOOL_CACHE to be defined\");\n return cacheDirectory;\n}\n/**\n * Gets RUNNER_TEMP\n */ function $c4f66d9b8b1c5822$var$_getTempDirectory() {\n const tempDirectory = process.env[\"RUNNER_TEMP\"] || \"\";\n $aEsRD$assert.ok(tempDirectory, \"Expected RUNNER_TEMP to be defined\");\n return tempDirectory;\n}\n/**\n * Gets a global variable\n */ function $c4f66d9b8b1c5822$var$_getGlobal(key, defaultValue) {\n /* eslint-disable @typescript-eslint/no-explicit-any */ const value = $parcel$global[key];\n /* eslint-enable @typescript-eslint/no-explicit-any */ return value !== undefined ? value : defaultValue;\n}\n/**\n * Returns an array of unique values.\n * @param values Values to make unique.\n */ function $c4f66d9b8b1c5822$var$_unique(values) {\n return Array.from(new Set(values));\n}\n\n\n\nvar $dMdWX = parcelRequire(\"dMdWX\");\n\nvar $e7Yt8 = parcelRequire(\"e7Yt8\");\n\n\n\nvar $bLa2q = parcelRequire(\"bLa2q\");\n\nvar $7Lz0k = parcelRequire(\"7Lz0k\");\n\n\nvar $l6WDk = parcelRequire(\"l6WDk\");\n\n\n\n\n\n\n\nvar $6MdIz = parcelRequire(\"6MdIz\");\nvar $19485db8e1d7177e$exports = {};\n\"use strict\";\nObject.defineProperty($19485db8e1d7177e$exports, \"__esModule\", {\n value: true\n});\n$19485db8e1d7177e$exports.retryAsPromised = $19485db8e1d7177e$exports.TimeoutError = void 0;\nclass $19485db8e1d7177e$var$TimeoutError extends Error {\n constructor(message, previousError){\n super(message);\n this.name = \"TimeoutError\";\n this.previous = previousError;\n }\n}\n$19485db8e1d7177e$exports.TimeoutError = $19485db8e1d7177e$var$TimeoutError;\nfunction $19485db8e1d7177e$var$matches(match, err) {\n if (typeof match === \"function\") try {\n if (err instanceof match) return true;\n } catch (_) {\n return !!match(err);\n }\n if (match === err.toString()) return true;\n if (match === err.message) return true;\n return match instanceof RegExp && (match.test(err.message) || match.test(err.toString()));\n}\nfunction $19485db8e1d7177e$var$retryAsPromised(callback, optionsInput) {\n if (!callback || !optionsInput) throw new Error(\"retry-as-promised must be passed a callback and a options set\");\n optionsInput = typeof optionsInput === \"number\" ? {\n max: optionsInput\n } : optionsInput;\n const options = {\n $current: \"$current\" in optionsInput ? optionsInput.$current : 1,\n max: optionsInput.max,\n timeout: optionsInput.timeout || undefined,\n match: optionsInput.match ? Array.isArray(optionsInput.match) ? optionsInput.match : [\n optionsInput.match\n ] : [],\n backoffBase: optionsInput.backoffBase === undefined ? 100 : optionsInput.backoffBase,\n backoffExponent: optionsInput.backoffExponent || 1.1,\n report: optionsInput.report,\n name: optionsInput.name || callback.name || \"unknown\"\n };\n if (options.match && !Array.isArray(options.match)) options.match = [\n options.match\n ];\n if (options.report) options.report(\"Trying \" + options.name + \" #\" + options.$current + \" at \" + new Date().toLocaleTimeString(), options);\n return new Promise(function(resolve, reject) {\n let timeout;\n let backoffTimeout;\n let lastError;\n if (options.timeout) timeout = setTimeout(function() {\n if (backoffTimeout) clearTimeout(backoffTimeout);\n reject(new $19485db8e1d7177e$var$TimeoutError(options.name + \" timed out\", lastError));\n }, options.timeout);\n Promise.resolve(callback({\n current: options.$current\n })).then(resolve).then(function() {\n if (timeout) clearTimeout(timeout);\n if (backoffTimeout) clearTimeout(backoffTimeout);\n }).catch(function(err) {\n if (timeout) clearTimeout(timeout);\n if (backoffTimeout) clearTimeout(backoffTimeout);\n lastError = err;\n if (options.report) options.report(err && err.toString() || err, options, err);\n // Should not retry if max has been reached\n var shouldRetry = options.$current < options.max;\n if (!shouldRetry) return reject(err);\n shouldRetry = options.match.length === 0 || options.match.some(function(match) {\n return $19485db8e1d7177e$var$matches(match, err);\n });\n if (!shouldRetry) return reject(err);\n var retryDelay = options.backoffBase * Math.pow(options.backoffExponent, options.$current - 1);\n // Do some accounting\n options.$current++;\n if (options.report) options.report(`Retrying ${options.name} (${options.$current})`, options);\n if (retryDelay) {\n // Use backoff function to ease retry rate\n if (options.report) options.report(`Delaying retry of ${options.name} by ${retryDelay}`, options);\n backoffTimeout = setTimeout(function() {\n $19485db8e1d7177e$var$retryAsPromised(callback, options).then(resolve).catch(reject);\n }, retryDelay);\n } else $19485db8e1d7177e$var$retryAsPromised(callback, options).then(resolve).catch(reject);\n });\n });\n}\n$19485db8e1d7177e$exports.retryAsPromised = $19485db8e1d7177e$var$retryAsPromised;\n$19485db8e1d7177e$exports.default = $19485db8e1d7177e$var$retryAsPromised;\n\n\nlet $7dbd062890ddcaab$var$didInit = false;\nasync function $7dbd062890ddcaab$export$334f77c9844c21f6(name, version, getPackageInfo, setupDir, arch) {\n (0, $7Lz0k.info)(`Installing ${name} ${version} ${arch} via direct downloading`);\n process.env.RUNNER_TEMP = process.env.RUNNER_TEMP ?? (0, $aEsRD$os.tmpdir)();\n process.env.RUNNER_TOOL_CACHE = process.env.RUNNER_TOOL_CACHE ?? (0, $bLa2q.join)((0, $aEsRD$os.tmpdir)(), \"setup-cpp\", \"hostedtoolcache\");\n const { url: url, binRelativeDir: binRelativeDir, binFileName: binFileName, extractedFolderName: extractedFolderName, extractFunction: extractFunction } = await getPackageInfo(version, process.platform, arch);\n // Restore from cache (if found).\n if (0, $l6WDk.GITHUB_ACTIONS) try {\n const dir = (0, $c4f66d9b8b1c5822$exports.find)(name, version);\n if (dir) {\n const installDir = (0, $bLa2q.join)(dir, extractedFolderName);\n const binDir = (0, $bLa2q.join)(installDir, binRelativeDir);\n if (await (0, $6MdIz.pathExists)((0, $bLa2q.join)(binDir, binFileName))) {\n (0, $7Lz0k.info)(`${name} ${version} was found in the cache at ${binDir}.`);\n await (0, $2f24a8df2529dc1c$export$4c25481b843feb0b)(binDir);\n return {\n installDir: installDir,\n binDir: binDir\n };\n }\n }\n } catch {\n // fails on a local machine?\n }\n const installDir = (0, $bLa2q.join)(setupDir, extractedFolderName);\n const binDir = (0, $bLa2q.join)(installDir, binRelativeDir);\n const binFile = (0, $bLa2q.join)(binDir, binFileName);\n // download ane extract the package into the installation directory.\n if ((await Promise.all([\n (0, $6MdIz.pathExists)(binDir),\n (0, $6MdIz.pathExists)(binFile)\n ])).includes(false)) try {\n (0, $7Lz0k.info)(`Download ${name} ${version}`);\n // try to download the package 4 times with 2 seconds delay\n const downloaded = await (0, (/*@__PURE__*/$parcel$interopDefault($19485db8e1d7177e$exports)))(()=>{\n return (0, $c4f66d9b8b1c5822$exports.downloadTool)(url);\n }, {\n name: url,\n max: 4,\n backoffBase: 2000,\n report: (err)=>(0, $7Lz0k.info)(err)\n });\n if (!$7dbd062890ddcaab$var$didInit) {\n (0, $7Lz0k.info)(`Installing extraction dependencies`);\n if (process.platform === \"linux\") {\n if ((0, $9aeb5896658945db$export$d415ddb6702ec3a2)()) await Promise.all([\n (0, $8310f4b4d4fddda5$export$cfa75578ee2d6e6c)(\"unzip\"),\n (0, $8310f4b4d4fddda5$export$cfa75578ee2d6e6c)(\"tar\"),\n (0, $8310f4b4d4fddda5$export$cfa75578ee2d6e6c)(\"xz\")\n ]);\n else if ((0, $3886c66546fd08fe$export$8ce8b4b22331a8c7)()) await (0, $c19966177a67898f$export$49d4f9ba8e0dd34f)([\n {\n name: \"unzip\"\n },\n {\n name: \"tar\"\n },\n {\n name: \"xz\"\n }\n ]);\n else if ((0, $20fc1212ead529fb$export$da8baf1d6c6802b6)()) await (0, $c28d8ebe1e034757$export$d73dc343f5abf26)([\n {\n name: \"unzip\"\n },\n {\n name: \"tar\"\n },\n {\n name: \"xz-utils\"\n }\n ]);\n }\n // eslint-disable-next-line require-atomic-updates\n $7dbd062890ddcaab$var$didInit = true;\n }\n (0, $7Lz0k.info)(`Extracting ${downloaded} to ${setupDir}`);\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 // Adding the bin dir to the path\n /** The directory which the tool is installed to */ (0, $7Lz0k.info)(`Add ${binDir} to PATH`);\n await (0, $2f24a8df2529dc1c$export$4c25481b843feb0b)(binDir);\n // check if inside Github Actions. If so, cache the installation\n if ((0, $l6WDk.GITHUB_ACTIONS) && typeof process.env.RUNNER_TOOL_CACHE === \"string\") await (0, $c4f66d9b8b1c5822$exports.cacheDir)(setupDir, name, version);\n return {\n installDir: installDir,\n binDir: binDir\n };\n}\n\n\n\nvar $bLa2q = parcelRequire(\"bLa2q\");\n\n\nvar $alxPC = parcelRequire(\"alxPC\");\n\n\n\n\n\n\n\n\n\nfunction $cbfc9bdff29968e3$export$5fc39629e14c8173(version, _setupDir, _arch) {\n switch(process.platform){\n case \"win32\":\n return (0, $953ade167c7bc14a$export$9f6912bc890040b2)(\"7zip\", version);\n case \"darwin\":\n return (0, $d04dcbafc5bebef1$export$ce5d13d8a85cb784)(\"p7zip\", version);\n case \"linux\":\n if ((0, $9aeb5896658945db$export$d415ddb6702ec3a2)()) return (0, $8310f4b4d4fddda5$export$cfa75578ee2d6e6c)(\"p7zip\", version);\n else if ((0, $3886c66546fd08fe$export$8ce8b4b22331a8c7)()) return (0, $c19966177a67898f$export$49d4f9ba8e0dd34f)([\n {\n name: \"p7zip\",\n version: version\n },\n {\n name: \"p7zip-plugins\",\n version: version\n }\n ]);\n else if ((0, $20fc1212ead529fb$export$da8baf1d6c6802b6)()) return (0, $c28d8ebe1e034757$export$d73dc343f5abf26)([\n {\n name: \"p7zip-full\",\n version: version\n }\n ]);\n throw new Error(`Unsupported linux distribution`);\n default:\n throw new Error(`Unsupported platform`);\n }\n}\n\n\n\nvar $7Lz0k = parcelRequire(\"7Lz0k\");\n\n\nlet $334bd34d50e00f0e$var$sevenZip;\nasync function $334bd34d50e00f0e$export$eecfe186811d4a20(file, dest) {\n await (0, $d883609dd3eb5a67$export$db6b1668e3758717)(await $334bd34d50e00f0e$var$getSevenZip(), [\n \"x\",\n file,\n `-o${dest}`,\n \"-y\"\n ], {\n stdio: \"inherit\"\n });\n await (0, $8877f7db54427893$export$4718e061a205eab)(dest);\n return dest;\n}\n/// install 7z if needed\nasync function $334bd34d50e00f0e$var$getSevenZip() {\n if ($334bd34d50e00f0e$var$sevenZip === undefined) {\n if ((0, (/*@__PURE__*/$parcel$interopDefault($213a898fd02ffa77$exports))).sync(\"7z\", {\n nothrow: true\n }) === null) await (0, $cbfc9bdff29968e3$export$5fc39629e14c8173)(\"\", \"\", process.arch);\n // eslint-disable-next-line require-atomic-updates\n $334bd34d50e00f0e$var$sevenZip = \"7z\";\n }\n return $334bd34d50e00f0e$var$sevenZip;\n}\nfunction $334bd34d50e00f0e$export$7949938b2681a4f0(file, dest) {\n return $334bd34d50e00f0e$export$eecfe186811d4a20(file, dest);\n}\nfunction $334bd34d50e00f0e$export$6411c5cbab21135b(file, dest) {\n return $334bd34d50e00f0e$export$eecfe186811d4a20(file, dest);\n}\nasync function $334bd34d50e00f0e$export$2ab07ac150064014(file, dest, flags = [\n \"--strip-components=0\"\n]) {\n try {\n await (0, $alxPC.mkdirP)(dest);\n } catch {\n // ignore\n }\n // TODO windows fails to create symlinks\n // https://github.com/heroku/heroku-slugs/issues/3\n try {\n await (0, $d883609dd3eb5a67$export$db6b1668e3758717)(\"tar\", [\n \"xf\",\n file,\n \"-C\",\n dest,\n ...flags\n ], {\n stdio: \"inherit\"\n });\n } catch (e) {\n if (process.platform === \"win32\" && e.message.includes(\"Can't create '\\\\\\\\?\\\\C:\")) (0, $7Lz0k.warning)(`Failed to extract symlink ${file} to ${dest}. Ignoring this symlink.`);\n }\n (0, $8877f7db54427893$export$4718e061a205eab)(dest);\n return dest;\n}\n\n\n/** Get the platform data for cmake */ function $24ae2ed334e3fc9e$var$getCmakePackageInfo(version, platform, arch) {\n const semVersion = (0, (/*@__PURE__*/$parcel$interopDefault($e7Yt8)))(version) ?? version;\n switch(platform){\n case \"win32\":\n {\n const isOld = (0, (/*@__PURE__*/$parcel$interopDefault($dMdWX)))(semVersion, \"v3.19.6\");\n let osArchStr;\n if ([\n \"ia32\",\n \"x86\",\n \"i386\",\n \"x32\"\n ].includes(arch)) osArchStr = isOld ? \"win32-x86\" : \"windows-i386\";\n else osArchStr = isOld ? \"win64-x64\" : \"windows-x86_64\";\n const folderName = `cmake-${version}-${osArchStr}`;\n return {\n binRelativeDir: \"bin/\",\n binFileName: (0, $bLa2q.addExeExt)(\"cmake\"),\n extractedFolderName: folderName,\n extractFunction: (0, $334bd34d50e00f0e$export$6411c5cbab21135b),\n url: `https://github.com/Kitware/CMake/releases/download/v${version}/${folderName}.zip`\n };\n }\n case \"darwin\":\n {\n const isOld = (0, (/*@__PURE__*/$parcel$interopDefault($dMdWX)))(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: (0, $bLa2q.addExeExt)(\"cmake\"),\n extractedFolderName: folderName,\n extractFunction: (0, $c4f66d9b8b1c5822$exports.extractTar),\n url: `https://github.com/Kitware/CMake/releases/download/v${version}/${folderName}.tar.gz`\n };\n }\n case \"linux\":\n {\n const isOld = (0, (/*@__PURE__*/$parcel$interopDefault($dMdWX)))(semVersion, \"v3.19.8\");\n let osArchStr;\n if ([\n \"aarch64\"\n ].includes(arch)) osArchStr = isOld ? \"Linux-aarch64\" : \"linux-aarch64\";\n else osArchStr = isOld ? \"Linux-x86_64\" : \"linux-x86_64\";\n const folderName = `cmake-${version}-${osArchStr}`;\n return {\n binRelativeDir: \"bin/\",\n binFileName: (0, $bLa2q.addExeExt)(\"cmake\"),\n extractedFolderName: folderName,\n extractFunction: (0, $c4f66d9b8b1c5822$exports.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}\nfunction $24ae2ed334e3fc9e$export$c28663a621f418ce(version, setupDir, arch) {\n return (0, $7dbd062890ddcaab$export$334f77c9844c21f6)(\"cmake\", version, $24ae2ed334e3fc9e$var$getCmakePackageInfo, setupDir, arch);\n}\n\n\n\nvar $kDRhL = parcelRequire(\"kDRhL\");\n\n\nvar $6MdIz = parcelRequire(\"6MdIz\");\n\nvar $bLa2q = parcelRequire(\"bLa2q\");\n\n/* eslint-disable require-atomic-updates */ \nvar $7J8UA = parcelRequire(\"7J8UA\");\n\n\nvar $l6WDk = parcelRequire(\"l6WDk\");\n\nvar $7Lz0k = parcelRequire(\"7Lz0k\");\n\n/**\n * @constant DEFAULT_OPTIONS_KEYS the default options keys\n */ var $e64ad6d4e4d5b46a$var$DEFAULT_OPTIONS_KEYS = {\n isEqual: true,\n isMatchingKey: true,\n isPromise: true,\n maxSize: true,\n onCacheAdd: true,\n onCacheChange: true,\n onCacheHit: true,\n transformKey: true\n};\n/**\n * @function slice\n *\n * @description\n * slice.call() pre-bound\n */ var $e64ad6d4e4d5b46a$var$slice = Array.prototype.slice;\n/**\n * @function cloneArray\n *\n * @description\n * clone the array-like object and return the new array\n *\n * @param arrayLike the array-like object to clone\n * @returns the clone as an array\n */ function $e64ad6d4e4d5b46a$var$cloneArray(arrayLike) {\n var length = arrayLike.length;\n if (!length) return [];\n if (length === 1) return [\n arrayLike[0]\n ];\n if (length === 2) return [\n arrayLike[0],\n arrayLike[1]\n ];\n if (length === 3) return [\n arrayLike[0],\n arrayLike[1],\n arrayLike[2]\n ];\n return $e64ad6d4e4d5b46a$var$slice.call(arrayLike, 0);\n}\n/**\n * @function getCustomOptions\n *\n * @description\n * get the custom options on the object passed\n *\n * @param options the memoization options passed\n * @returns the custom options passed\n */ function $e64ad6d4e4d5b46a$var$getCustomOptions(options) {\n var customOptions = {};\n /* eslint-disable no-restricted-syntax */ for(var key in options)if (!$e64ad6d4e4d5b46a$var$DEFAULT_OPTIONS_KEYS[key]) customOptions[key] = options[key];\n /* eslint-enable */ return customOptions;\n}\n/**\n * @function isMemoized\n *\n * @description\n * is the function passed already memoized\n *\n * @param fn the function to test\n * @returns is the function already memoized\n */ function $e64ad6d4e4d5b46a$var$isMemoized(fn) {\n return typeof fn === \"function\" && fn.isMemoized;\n}\n/**\n * @function isSameValueZero\n *\n * @description\n * are the objects equal based on SameValueZero equality\n *\n * @param object1 the first object to compare\n * @param object2 the second object to compare\n * @returns are the two objects equal\n */ function $e64ad6d4e4d5b46a$var$isSameValueZero(object1, object2) {\n // eslint-disable-next-line no-self-compare\n return object1 === object2 || object1 !== object1 && object2 !== object2;\n}\n/**\n * @function mergeOptions\n *\n * @description\n * merge the options into the target\n *\n * @param existingOptions the options provided\n * @param newOptions the options to include\n * @returns the merged options\n */ function $e64ad6d4e4d5b46a$var$mergeOptions(existingOptions, newOptions) {\n var target = {};\n /* eslint-disable no-restricted-syntax */ for(var key in existingOptions)target[key] = existingOptions[key];\n for(var key in newOptions)target[key] = newOptions[key];\n /* eslint-enable */ return target;\n}\n// utils\nvar $e64ad6d4e4d5b46a$var$Cache = /** @class */ function() {\n function Cache(options) {\n this.keys = [];\n this.values = [];\n this.options = options;\n var isMatchingKeyFunction = typeof options.isMatchingKey === \"function\";\n if (isMatchingKeyFunction) this.getKeyIndex = this._getKeyIndexFromMatchingKey;\n else if (options.maxSize > 1) this.getKeyIndex = this._getKeyIndexForMany;\n else this.getKeyIndex = this._getKeyIndexForSingle;\n this.canTransformKey = typeof options.transformKey === \"function\";\n this.shouldCloneArguments = this.canTransformKey || isMatchingKeyFunction;\n this.shouldUpdateOnAdd = typeof options.onCacheAdd === \"function\";\n this.shouldUpdateOnChange = typeof options.onCacheChange === \"function\";\n this.shouldUpdateOnHit = typeof options.onCacheHit === \"function\";\n }\n Object.defineProperty(Cache.prototype, \"size\", {\n /**\n * The number of cached [key,value] results.\n */ get: function() {\n return this.keys.length;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(Cache.prototype, \"snapshot\", {\n /**\n * A copy of the cache at a moment in time. This is useful\n * to compare changes over time, since the cache mutates\n * internally for performance reasons.\n */ get: function() {\n return {\n keys: $e64ad6d4e4d5b46a$var$cloneArray(this.keys),\n size: this.size,\n values: $e64ad6d4e4d5b46a$var$cloneArray(this.values)\n };\n },\n enumerable: false,\n configurable: true\n });\n /**\n * Gets the matching key index when a custom key matcher is used.\n */ Cache.prototype._getKeyIndexFromMatchingKey = function(keyToMatch) {\n var _a = this.options, isMatchingKey = _a.isMatchingKey, maxSize = _a.maxSize;\n var keys = this.keys;\n var keysLength = keys.length;\n if (!keysLength) return -1;\n if (isMatchingKey(keys[0], keyToMatch)) return 0;\n if (maxSize > 1) for(var index = 1; index < keysLength; index++){\n if (isMatchingKey(keys[index], keyToMatch)) return index;\n }\n return -1;\n };\n /**\n * Gets the matching key index when multiple keys are used.\n */ Cache.prototype._getKeyIndexForMany = function(keyToMatch) {\n var isEqual = this.options.isEqual;\n var keys = this.keys;\n var keysLength = keys.length;\n if (!keysLength) return -1;\n if (keysLength === 1) return this._getKeyIndexForSingle(keyToMatch);\n var keyLength = keyToMatch.length;\n var existingKey;\n var argIndex;\n if (keyLength > 1) for(var index = 0; index < keysLength; index++){\n existingKey = keys[index];\n if (existingKey.length === keyLength) {\n argIndex = 0;\n for(; argIndex < keyLength; argIndex++){\n if (!isEqual(existingKey[argIndex], keyToMatch[argIndex])) break;\n }\n if (argIndex === keyLength) return index;\n }\n }\n else for(var index = 0; index < keysLength; index++){\n existingKey = keys[index];\n if (existingKey.length === keyLength && isEqual(existingKey[0], keyToMatch[0])) return index;\n }\n return -1;\n };\n /**\n * Gets the matching key index when a single key is used.\n */ Cache.prototype._getKeyIndexForSingle = function(keyToMatch) {\n var keys = this.keys;\n if (!keys.length) return -1;\n var existingKey = keys[0];\n var length = existingKey.length;\n if (keyToMatch.length !== length) return -1;\n var isEqual = this.options.isEqual;\n if (length > 1) {\n for(var index = 0; index < length; index++){\n if (!isEqual(existingKey[index], keyToMatch[index])) return -1;\n }\n return 0;\n }\n return isEqual(existingKey[0], keyToMatch[0]) ? 0 : -1;\n };\n /**\n * Order the array based on a Least-Recently-Used basis.\n */ Cache.prototype.orderByLru = function(key, value, startingIndex) {\n var keys = this.keys;\n var values = this.values;\n var currentLength = keys.length;\n var index = startingIndex;\n while(index--){\n keys[index + 1] = keys[index];\n values[index + 1] = values[index];\n }\n keys[0] = key;\n values[0] = value;\n var maxSize = this.options.maxSize;\n if (currentLength === maxSize && startingIndex === currentLength) {\n keys.pop();\n values.pop();\n } else if (startingIndex >= maxSize) // eslint-disable-next-line no-multi-assign\n keys.length = values.length = maxSize;\n };\n /**\n * Update the promise method to auto-remove from cache if rejected, and\n * if resolved then fire cache hit / changed.\n */ Cache.prototype.updateAsyncCache = function(memoized) {\n var _this = this;\n var _a = this.options, onCacheChange = _a.onCacheChange, onCacheHit = _a.onCacheHit;\n var firstKey = this.keys[0];\n var firstValue = this.values[0];\n this.values[0] = firstValue.then(function(value) {\n if (_this.shouldUpdateOnHit) onCacheHit(_this, _this.options, memoized);\n if (_this.shouldUpdateOnChange) onCacheChange(_this, _this.options, memoized);\n return value;\n }, function(error) {\n var keyIndex = _this.getKeyIndex(firstKey);\n if (keyIndex !== -1) {\n _this.keys.splice(keyIndex, 1);\n _this.values.splice(keyIndex, 1);\n }\n throw error;\n });\n };\n return Cache;\n}();\nfunction $e64ad6d4e4d5b46a$export$2e2bcd8739ae039(fn, options) {\n if (options === void 0) options = {};\n if ($e64ad6d4e4d5b46a$var$isMemoized(fn)) return $e64ad6d4e4d5b46a$export$2e2bcd8739ae039(fn.fn, $e64ad6d4e4d5b46a$var$mergeOptions(fn.options, options));\n if (typeof fn !== \"function\") throw new TypeError(\"You must pass a function to `memoize`.\");\n var _a = options.isEqual, isEqual = _a === void 0 ? $e64ad6d4e4d5b46a$var$isSameValueZero : _a, isMatchingKey = options.isMatchingKey, _b = options.isPromise, isPromise = _b === void 0 ? false : _b, _c = options.maxSize, maxSize = _c === void 0 ? 1 : _c, onCacheAdd = options.onCacheAdd, onCacheChange = options.onCacheChange, onCacheHit = options.onCacheHit, transformKey = options.transformKey;\n var normalizedOptions = $e64ad6d4e4d5b46a$var$mergeOptions({\n isEqual: isEqual,\n isMatchingKey: isMatchingKey,\n isPromise: isPromise,\n maxSize: maxSize,\n onCacheAdd: onCacheAdd,\n onCacheChange: onCacheChange,\n onCacheHit: onCacheHit,\n transformKey: transformKey\n }, $e64ad6d4e4d5b46a$var$getCustomOptions(options));\n var cache = new $e64ad6d4e4d5b46a$var$Cache(normalizedOptions);\n var keys = cache.keys, values = cache.values, canTransformKey = cache.canTransformKey, shouldCloneArguments = cache.shouldCloneArguments, shouldUpdateOnAdd = cache.shouldUpdateOnAdd, shouldUpdateOnChange = cache.shouldUpdateOnChange, shouldUpdateOnHit = cache.shouldUpdateOnHit;\n var memoized = function() {\n var key = shouldCloneArguments ? $e64ad6d4e4d5b46a$var$cloneArray(arguments) : arguments;\n if (canTransformKey) key = transformKey(key);\n var keyIndex = keys.length ? cache.getKeyIndex(key) : -1;\n if (keyIndex !== -1) {\n if (shouldUpdateOnHit) onCacheHit(cache, normalizedOptions, memoized);\n if (keyIndex) {\n cache.orderByLru(keys[keyIndex], values[keyIndex], keyIndex);\n if (shouldUpdateOnChange) onCacheChange(cache, normalizedOptions, memoized);\n }\n } else {\n var newValue = fn.apply(this, arguments);\n var newKey = shouldCloneArguments ? key : $e64ad6d4e4d5b46a$var$cloneArray(arguments);\n cache.orderByLru(newKey, newValue, keys.length);\n if (isPromise) cache.updateAsyncCache(memoized);\n if (shouldUpdateOnAdd) onCacheAdd(cache, normalizedOptions, memoized);\n if (shouldUpdateOnChange) onCacheChange(cache, normalizedOptions, memoized);\n }\n return values[0];\n };\n memoized.cache = cache;\n memoized.fn = fn;\n memoized.isMemoized = true;\n memoized.options = normalizedOptions;\n return memoized;\n}\n\n\n\nvar $bLa2q = parcelRequire(\"bLa2q\");\n\n\n\n\n\n\n\n\n\n\n// src/modules/https-utils.ts\n\n\nfunction $a4aa372328f33847$var$isStatusOK(result) {\n return result.statusCode !== void 0 && result.statusCode >= 200 && result.statusCode <= 399;\n}\nfunction $a4aa372328f33847$var$requestWorks(url, method) {\n return new Promise((resolve)=>{\n try {\n const req = (0, $aEsRD$https.request)(url, {\n method: method\n }, (result)=>{\n resolve($a4aa372328f33847$var$isStatusOK(result));\n });\n req.on(\"error\", (_error)=>{\n resolve(false);\n });\n req.end();\n } catch {\n resolve(false);\n }\n });\n}\nvar $a4aa372328f33847$export$8092cb61b2731942 = (url)=>{\n if (typeof url !== \"string\") return false;\n const trimmedUrl = url.trim();\n if (trimmedUrl.includes(\" \")) return false;\n try {\n new (0, $aEsRD$url.URL)(trimmedUrl);\n return true;\n } catch {\n return false;\n }\n};\n// src/modules/isUrlOnline.ts\nvar $a4aa372328f33847$export$61e6a71eee2b02f9 = async (url)=>{\n const isUrl = $a4aa372328f33847$export$8092cb61b2731942(url);\n if (!isUrl) return false;\n let response = await $a4aa372328f33847$var$requestWorks(url, \"HEAD\");\n if (response) return true;\n response = await $a4aa372328f33847$var$requestWorks(url, \"GET\");\n return !!response;\n};\n// src/modules/prependHttp.ts\nvar $a4aa372328f33847$export$b9a79b9e9f921305 = ({ url: url, https: https = true })=>{\n const trimmedUrl = url.trim();\n if (/^\\.*\\/|^(?!localhost)\\w+:/u.test(trimmedUrl)) return url;\n return trimmedUrl.replace(/^(?!(?:\\w+:)?\\/\\/)/u, https ? \"https://\" : \"http://\");\n};\n\n\n\nvar $lTlut = parcelRequire(\"lTlut\");\n\nvar $e7Yt8 = parcelRequire(\"e7Yt8\");\n\nvar $2P6Mr = parcelRequire(\"2P6Mr\");\n\nvar $7J8UA = parcelRequire(\"7J8UA\");\n\nvar $7Lz0k = parcelRequire(\"7Lz0k\");\nfunction $9ae3c26b3cc5ff2a$export$deb1064c8260c54c(versions, semversion) {\n return Array.from(versions).filter((v)=>/^\\d+\\.\\d+\\.\\d+$/.test(v) && v.startsWith(semversion)).sort((a, b)=>{\n try {\n return (0, (/*@__PURE__*/$parcel$interopDefault($lTlut)))(a, b);\n } catch (err) {\n return a.localeCompare(b);\n }\n }).reverse();\n}\nfunction $9ae3c26b3cc5ff2a$export$cbd9528a83fbffa1(specific) {\n const versions = new Set(specific);\n for (const version of specific){\n versions.add(/^\\d+/.exec(version)[0]);\n versions.add(/^\\d+\\.\\d+/.exec(version)[0]);\n }\n return versions;\n}\nasync function $9ae3c26b3cc5ff2a$export$4e4d3581f69a6d71(versions, platform, version, getUrl) {\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 (0, $a4aa372328f33847$export$61e6a71eee2b02f9)(url)) return [\n version,\n url\n ];\n }\n // if the given set doesn't include the version, throw an error\n if (!versions.has(version)) throw new Error(`Unsupported target! (platform='${platform}', version='${version}'). Try one of the following: ${JSON.stringify(versions)}`);\n const offlineUrls = [];\n // TODO use Promise.any\n for (const specificVersion of $9ae3c26b3cc5ff2a$export$deb1064c8260c54c(versions, version)){\n // eslint-disable-next-line no-await-in-loop\n const url = await getUrl(platform, specificVersion);\n if (url !== null) {\n // eslint-disable-next-line no-await-in-loop\n if (await (0, $a4aa372328f33847$export$61e6a71eee2b02f9)(url)) return [\n specificVersion,\n url\n ];\n else offlineUrls.push(url);\n }\n }\n throw new Error(`Unsupported target! (platform='${platform}', version='${version}'). Try one of the following: ${JSON.stringify(versions)}`);\n}\nconst $9ae3c26b3cc5ff2a$export$d7ab5e2d33b06cd5 = /v?(\\d\\S*)/;\nasync function $9ae3c26b3cc5ff2a$export$5b54ecc7386538f(file, versionRegex = $9ae3c26b3cc5ff2a$export$d7ab5e2d33b06cd5) {\n try {\n const execout = await (0, $7J8UA.getExecOutput)(file, [\n \"--version\"\n ]);\n const version_output = execout.stdout || execout.stderr || \"\";\n const version = version_output.trim().match(versionRegex)?.[1];\n return (0, (/*@__PURE__*/$parcel$interopDefault($e7Yt8)))(version) ?? undefined;\n } catch (e) {\n console.error(e);\n return undefined;\n }\n}\nasync function $9ae3c26b3cc5ff2a$export$d1f0d32b896ba08(givenFile, targetVersion, versionRegex = $9ae3c26b3cc5ff2a$export$d7ab5e2d33b06cd5) {\n const givenVersion = await $9ae3c26b3cc5ff2a$export$5b54ecc7386538f(givenFile, versionRegex);\n if (givenVersion !== undefined && targetVersion !== \"\") return (0, (/*@__PURE__*/$parcel$interopDefault($lTlut)))(givenVersion, targetVersion) !== -1;\n else // assume given version is old\n return false;\n}\nfunction $9ae3c26b3cc5ff2a$export$afd7401db249098f(version) {\n if ((0, (/*@__PURE__*/$parcel$interopDefault($2P6Mr)))(version) === null) // version coercion\n try {\n // find the semver version of an integer\n const coercedVersion = (0, (/*@__PURE__*/$parcel$interopDefault($e7Yt8)))(version);\n if (coercedVersion !== null) {\n (0, $7Lz0k.info)(`Coerced version '${version}' to '${coercedVersion}'`);\n return coercedVersion.version;\n }\n } catch (err) {\n // handled below\n }\n return version;\n}\nfunction $9ae3c26b3cc5ff2a$export$b19007c0050a2fcc(version) {\n return parseInt(version.replace(/^v/, \"\"), 10);\n}\nfunction $9ae3c26b3cc5ff2a$export$6863a97504984656(version) {\n if (!version.match(/^v/)) return `v${version}`;\n return version;\n}\n\n\nfunction $08fd6d4df420d4d5$export$7a5d5c156e7dc406(dirs) {\n return [\n ...new Set(dirs)\n ];\n}\n\n\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).\nfunction $3d5441a36817773c$var$getLLVMDefault() {\n switch(process.platform){\n case \"win32\":\n return \"17.0.4\";\n case \"linux\":\n // used for non-ubuntu (Fedora, Arch)\n return \"17.0.5-ubuntu-22.04\";\n case \"darwin\":\n return \"15.0.3\";\n default:\n return \"17.0.5\";\n }\n}\nconst $3d5441a36817773c$export$5fb1985a02d8f66f = {\n llvm: $3d5441a36817773c$var$getLLVMDefault(),\n clangtidy: $3d5441a36817773c$var$getLLVMDefault(),\n clangformat: $3d5441a36817773c$var$getLLVMDefault(),\n ninja: \"1.11.1\",\n cmake: \"3.27.4\",\n gcovr: \"6.0\",\n conan: \"1.62.0\",\n meson: \"1.2.3\",\n kcov: \"42\",\n task: \"3.31.0\",\n doxygen: (0, $9aeb5896658945db$export$d415ddb6702ec3a2)() ? \"1.9.8-1\" : \"1.9.8\",\n gcc: (0, $9aeb5896658945db$export$d415ddb6702ec3a2)() ? \"13.2.1-3\" : \"13\"\n};\nconst $3d5441a36817773c$export$b0fc8ac572b39938 = {\n pip: \"22.2.0\",\n python: \"3.7.9\"\n};\nconst $3d5441a36817773c$export$1bb63c984aa6e760 = {\n gcc: {\n 22: \"13\",\n 20: \"11\",\n 18: \"11\",\n 16: \"11\",\n 14: \"11\"\n },\n mingw: {\n 22: \"8.0.0-1\",\n 20: \"7.0.0-2\"\n },\n llvm: {\n 22: \"17.0.5-ubuntu-22.04\",\n 20: \"17.0.5-ubuntu-22.04\",\n 18: \"15.0.6-ubuntu-18.04\",\n 16: \"15.0.6-ubuntu-18.04\",\n 14: \"13.0.0-ubuntu-16.04\"\n },\n clangtidy: {\n 22: \"17.0.2-ubuntu-22.04\",\n 20: \"17.0.2-ubuntu-22.04\",\n 18: \"15.0.6-ubuntu-18.04\",\n 16: \"15.0.6-ubuntu-18.04\",\n 14: \"13.0.0-ubuntu-16.04\"\n },\n clangformat: {\n 22: \"17.0.2-ubuntu-22.04\",\n 20: \"17.0.2-ubuntu-22.04\",\n 18: \"15.0.6-ubuntu-18.04\",\n 16: \"15.0.6-ubuntu-18.04\",\n 14: \"13.0.0-ubuntu-16.04\"\n },\n gcovr: {\n 22: \"6.0\",\n 20: \"6.0\",\n 18: \"5.0\"\n },\n meson: {\n 20: \"1.0.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: \"42-binary\",\n 20: \"40-binary\",\n 18: \"40\",\n 16: \"40\",\n 14: \"40\"\n }\n};\n\n\n\nvar $6MdIz = parcelRequire(\"6MdIz\");\n\nasync function $29e5d8652dc51d70$export$2b0b68e9df3d4a02(version, setupDir, arch) {\n const installInfo = await $29e5d8652dc51d70$var$findOrSetupPython(version, setupDir, arch);\n (0, ($parcel$interopDefault($aEsRD$assert)))(installInfo.bin !== undefined);\n const foundPython = installInfo.bin;\n // setup pip\n const foundPip = await $29e5d8652dc51d70$var$findOrSetupPip(foundPython);\n if (foundPip === undefined) throw new Error(\"pip was not installed correctly\");\n await $29e5d8652dc51d70$var$setupPipx(foundPython);\n await $29e5d8652dc51d70$var$setupWheel(foundPython);\n return installInfo;\n}\nasync function $29e5d8652dc51d70$var$setupPipx(foundPython) {\n try {\n if (!await (0, $5d78454eba2028c3$export$ffe24b8e86dbc863)(foundPython)) await (0, $5d78454eba2028c3$export$7c60aea099ad1c1d)(foundPython, \"pipx\", undefined, {\n upgrade: true,\n usePipx: false\n });\n await (0, $d883609dd3eb5a67$export$db6b1668e3758717)(foundPython, [\n \"-m\",\n \"pipx\",\n \"ensurepath\"\n ], {\n stdio: \"inherit\"\n });\n await (0, $5d78454eba2028c3$export$7c60aea099ad1c1d)(foundPython, \"venv\", undefined, {\n upgrade: false,\n usePipx: false\n });\n } catch (err) {\n (0, $7Lz0k.warning)(`Failed to install pipx: ${err.toString()}. Ignoring...`);\n }\n}\n/** Setup wheel and setuptools */ async function $29e5d8652dc51d70$var$setupWheel(foundPython) {\n try {\n await (0, $5d78454eba2028c3$export$7c60aea099ad1c1d)(foundPython, \"setuptools\", undefined, {\n upgrade: true,\n isLibrary: true,\n usePipx: false\n });\n await (0, $5d78454eba2028c3$export$7c60aea099ad1c1d)(foundPython, \"wheel\", undefined, {\n upgrade: true,\n isLibrary: true,\n usePipx: false\n });\n } catch (err) {\n (0, $7Lz0k.warning)(`Failed to install setuptools or wheel: ${err.toString()}. Ignoring...`);\n }\n}\n\nasync function $29e5d8652dc51d70$var$findOrSetupPython(version, setupDir, arch) {\n let installInfo;\n let foundPython = await $29e5d8652dc51d70$var$findPython(setupDir);\n if (foundPython !== undefined) {\n const binDir = (0, $bLa2q.dirname)(foundPython);\n installInfo = {\n bin: foundPython,\n installDir: binDir,\n binDir: binDir\n };\n } else {\n // if python is not found, try to install it\n if (0, $l6WDk.GITHUB_ACTIONS) // install python in GitHub Actions\n try {\n (0, $7Lz0k.info)(\"Installing python in GitHub Actions\");\n const { setupActionsPython: setupActionsPython } = await (parcelRequire(\"j1xhX\"));\n await setupActionsPython(version, setupDir, arch);\n foundPython = await $29e5d8652dc51d70$var$findPython(setupDir);\n const binDir = (0, $bLa2q.dirname)(foundPython);\n installInfo = {\n bin: foundPython,\n installDir: binDir,\n binDir: binDir\n };\n } catch (err) {\n (0, $7Lz0k.warning)(err.toString());\n }\n if (installInfo === undefined) // install python via system package manager\n installInfo = await $29e5d8652dc51d70$var$setupPythonSystem(setupDir, version);\n }\n if (foundPython === undefined || installInfo.bin === undefined) {\n foundPython = await $29e5d8652dc51d70$var$findPython(setupDir);\n installInfo.bin = foundPython;\n }\n return installInfo;\n}\nasync function $29e5d8652dc51d70$var$setupPythonSystem(setupDir, version) {\n let installInfo;\n switch(process.platform){\n case \"win32\":\n {\n if (setupDir) await (0, $953ade167c7bc14a$export$9f6912bc890040b2)(\"python3\", version, [\n `--params=/InstallDir:${setupDir}`\n ]);\n else await (0, $953ade167c7bc14a$export$9f6912bc890040b2)(\"python3\", version);\n // Adding the bin dir to the path\n const bin = await $29e5d8652dc51d70$var$findPython(setupDir);\n const binDir = (0, $bLa2q.dirname)(bin);\n /** The directory which the tool is installed to */ await (0, $2f24a8df2529dc1c$export$4c25481b843feb0b)(binDir);\n installInfo = {\n installDir: binDir,\n binDir: binDir,\n bin: bin\n };\n break;\n }\n case \"darwin\":\n {\n installInfo = await (0, $d04dcbafc5bebef1$export$ce5d13d8a85cb784)(\"python3\", version);\n // add the python and pip binaries to the path\n const brewPythonPrefix = await (0, $d883609dd3eb5a67$export$db6b1668e3758717)(\"brew\", [\n \"--prefix\",\n \"python\"\n ], {\n stdio: \"pipe\"\n });\n const brewPythonBin = (0, $bLa2q.join)(brewPythonPrefix.stdout, \"libexec\", \"bin\");\n await (0, $2f24a8df2529dc1c$export$4c25481b843feb0b)(brewPythonBin);\n break;\n }\n case \"linux\":\n if ((0, $9aeb5896658945db$export$d415ddb6702ec3a2)()) installInfo = await (0, $8310f4b4d4fddda5$export$cfa75578ee2d6e6c)(\"python\", version);\n else if ((0, $3886c66546fd08fe$export$8ce8b4b22331a8c7)()) installInfo = await (0, $c19966177a67898f$export$49d4f9ba8e0dd34f)([\n {\n name: \"python3\",\n version: version\n }\n ]);\n else if ((0, $20fc1212ead529fb$export$da8baf1d6c6802b6)()) installInfo = await (0, $c28d8ebe1e034757$export$d73dc343f5abf26)([\n {\n name: \"python3\",\n version: version\n },\n {\n name: \"python-is-python3\"\n }\n ]);\n else throw new Error(\"Unsupported linux distributions\");\n break;\n default:\n throw new Error(\"Unsupported platform\");\n }\n return installInfo;\n}\nasync function $29e5d8652dc51d70$var$findPython(binDir) {\n for (const pythonBin of [\n \"python3\",\n \"python\"\n ]){\n // eslint-disable-next-line no-await-in-loop\n const foundPython = await $29e5d8652dc51d70$var$isPythonUpToDate(pythonBin, binDir);\n if (foundPython !== undefined) return foundPython;\n }\n return undefined;\n}\nasync function $29e5d8652dc51d70$var$isPythonUpToDate(candidate, binDir) {\n try {\n if (binDir !== undefined) {\n const pythonBinPath = (0, $bLa2q.join)(binDir, (0, $bLa2q.addExeExt)(candidate));\n if (await (0, $6MdIz.pathExists)(pythonBinPath)) {\n if (await (0, $9ae3c26b3cc5ff2a$export$d1f0d32b896ba08)(pythonBinPath, (0, $3d5441a36817773c$export$b0fc8ac572b39938).python)) return pythonBinPath;\n }\n }\n const pythonBinPaths = await (0, (/*@__PURE__*/$parcel$interopDefault($213a898fd02ffa77$exports)))(candidate, {\n nothrow: true,\n all: true\n }) ?? [];\n for (const pythonBinPath of pythonBinPaths){\n // eslint-disable-next-line no-await-in-loop\n if (await (0, $9ae3c26b3cc5ff2a$export$d1f0d32b896ba08)(pythonBinPath, (0, $3d5441a36817773c$export$b0fc8ac572b39938).python)) return pythonBinPath;\n }\n } catch {\n // fall through\n }\n return undefined;\n}\nasync function $29e5d8652dc51d70$var$findOrSetupPip(foundPython) {\n const maybePip = await $29e5d8652dc51d70$var$findPip();\n if (maybePip === undefined) {\n // install pip if not installed\n (0, $7Lz0k.info)(\"pip was not found. Installing pip\");\n await $29e5d8652dc51d70$var$setupPip(foundPython);\n return $29e5d8652dc51d70$var$findPip() // recurse to check if pip is on PATH and up-to-date\n ;\n }\n return maybePip;\n}\nasync function $29e5d8652dc51d70$var$findPip() {\n for (const pipCandidate of [\n \"pip3\",\n \"pip\"\n ]){\n // eslint-disable-next-line no-await-in-loop\n const maybePip = await $29e5d8652dc51d70$var$isPipUptoDate(pipCandidate);\n if (maybePip !== undefined) return maybePip;\n }\n return undefined;\n}\nasync function $29e5d8652dc51d70$var$isPipUptoDate(pip) {\n try {\n const pipPaths = await (0, (/*@__PURE__*/$parcel$interopDefault($213a898fd02ffa77$exports)))(pip, {\n nothrow: true,\n all: true\n }) ?? [];\n for (const pipPath of pipPaths){\n // eslint-disable-next-line no-await-in-loop\n if (pipPath !== null && await (0, $9ae3c26b3cc5ff2a$export$d1f0d32b896ba08)(pipPath, (0, $3d5441a36817773c$export$b0fc8ac572b39938).pip)) return pipPath;\n }\n } catch {\n // fall through\n }\n return undefined;\n}\nasync function $29e5d8652dc51d70$var$setupPip(foundPython) {\n const upgraded = await $29e5d8652dc51d70$var$ensurePipUpgrade(foundPython);\n if (!upgraded) {\n // ensure that pip is installed on Linux (happens when python is found but pip not installed)\n await (0, $5d78454eba2028c3$export$6de3fef38027e326)(\"pip\");\n // upgrade pip\n await $29e5d8652dc51d70$var$ensurePipUpgrade(foundPython);\n }\n}\nasync function $29e5d8652dc51d70$var$ensurePipUpgrade(foundPython) {\n try {\n await (0, $d883609dd3eb5a67$export$db6b1668e3758717)(foundPython, [\n \"-m\",\n \"ensurepip\",\n \"-U\",\n \"--upgrade\"\n ], {\n stdio: \"inherit\"\n });\n return true;\n } catch (err1) {\n (0, $7Lz0k.info)(err1?.toString?.());\n try {\n // ensure pip is disabled on Ubuntu\n await (0, $d883609dd3eb5a67$export$db6b1668e3758717)(foundPython, [\n \"-m\",\n \"pip\",\n \"install\",\n \"--upgrade\",\n \"pip\"\n ], {\n stdio: \"inherit\"\n });\n return true;\n } catch (err2) {\n (0, $7Lz0k.info)(err2?.toString?.());\n // pip module not found\n }\n }\n // all methods failed\n return false;\n}\nasync function $29e5d8652dc51d70$var$addPythonBaseExecPrefix_raw(python) {\n const dirs = [];\n // detection based on the platform\n if (process.platform === \"linux\") dirs.push(\"/home/runner/.local/bin/\");\n else if (process.platform === \"darwin\") dirs.push(\"/usr/local/bin/\");\n // detection using python.sys\n const base_exec_prefix = (await (0, $7J8UA.getExecOutput)(`${python} -c \"import sys;print(sys.base_exec_prefix);\"`)).stdout.trim();\n // any of these are possible depending on the operating system!\n dirs.push((0, $bLa2q.join)(base_exec_prefix, \"Scripts\"), (0, $bLa2q.join)(base_exec_prefix, \"Scripts\", \"bin\"), (0, $bLa2q.join)(base_exec_prefix, \"bin\"));\n // remove duplicates\n return (0, $08fd6d4df420d4d5$export$7a5d5c156e7dc406)(dirs);\n}\nconst $29e5d8652dc51d70$export$4bf645347c3b7001 = (0, $e64ad6d4e4d5b46a$export$2e2bcd8739ae039)($29e5d8652dc51d70$var$addPythonBaseExecPrefix_raw, {\n isPromise: true\n});\n\n\n\n\nfunction $83fde521434ac405$export$c506eb22e615ba4a(name, version, osVersion = null) {\n if ($83fde521434ac405$var$isVersionDefault(version) && process.platform === \"linux\" && osVersion !== null && name in (0, $3d5441a36817773c$export$1bb63c984aa6e760)) return $83fde521434ac405$var$getDefaultLinuxVersion(osVersion, (0, $3d5441a36817773c$export$1bb63c984aa6e760)[name]);\n else if ($83fde521434ac405$var$isVersionDefault(version) && name in (0, $3d5441a36817773c$export$5fb1985a02d8f66f)) return (0, $3d5441a36817773c$export$5fb1985a02d8f66f)[name];\n else if (version === \"true\") return \"\";\n return version ?? \"\";\n}\nfunction $83fde521434ac405$var$isVersionDefault(version) {\n return version === \"true\" || version === undefined;\n}\n/// choose the default linux version based on ubuntu version\nfunction $83fde521434ac405$var$getDefaultLinuxVersion(osVersion, toolLinuxVersions) {\n const osVersionMaj = osVersion[0];\n // find which version block the os version is in\n const satisfyingVersion = Object.keys(toolLinuxVersions).map((v)=>parseInt(v, 10)).sort((a, b)=>b - a) // sort in descending order\n .find((v)=>osVersionMaj >= v);\n return satisfyingVersion === undefined ? \"\" : toolLinuxVersions[satisfyingVersion];\n}\nfunction $83fde521434ac405$export$dd13a1e418f5a5fe(opts, tools) {\n const toolsInUse = tools.filter((tool)=>opts[tool] !== undefined);\n const toolsNonDefaultVersion = toolsInUse.filter((tool)=>!$83fde521434ac405$var$isVersionDefault(opts[tool]));\n const targetVersion = toolsNonDefaultVersion.length >= 1 ? opts[toolsNonDefaultVersion[0]] : \"true\";\n if (toolsNonDefaultVersion.some((tool)=>opts[tool] !== targetVersion)) // error if any explicit versions don't match the target version\n return false;\n toolsInUse.forEach((tool)=>{\n opts[tool] = targetVersion;\n });\n return true;\n}\n\n\n\nvar $7Lz0k = parcelRequire(\"7Lz0k\");\nvar $1c433545548dc9fa$exports = {};\n\"use strict\";\nObject.defineProperty($1c433545548dc9fa$exports, \"__esModule\", {\n value: true\n});\n$1c433545548dc9fa$exports.getUbuntuVersion = void 0;\n\nfunction $1c433545548dc9fa$var$isSystemError(e) {\n return \"errno\" in e;\n}\nfunction $1c433545548dc9fa$var$command(exe, args) {\n return new Promise((resolve, reject)=>{\n $aEsRD$child_process.execFile(exe, args, {\n encoding: \"utf8\",\n shell: false\n }, (error, stdout, stderr)=>{\n if (error) {\n if ($1c433545548dc9fa$var$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 $1c433545548dc9fa$var$getUbuntuVersion() {\n if (process.platform !== \"linux\") return [];\n const stdout = await $1c433545548dc9fa$var$command(\"lsb_release\", [\n \"-a\"\n ]);\n if (stdout === null) return [];\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\") return [];\n distributorFound = true;\n }\n const desc = line.match(reDescription);\n if (desc) description = desc;\n const rel = line.match(reRelease);\n if (rel) release = rel;\n if (distributorFound && description && release) break;\n }\n if (!distributorFound) return [];\n for (const m of [\n description,\n release\n ])if (m) {\n const ss = [\n m[1],\n m[2]\n ];\n if (m[3]) ss.push(m[3]);\n return ss.map((s)=>parseInt(s, 10));\n }\n return [];\n}\n$1c433545548dc9fa$exports.getUbuntuVersion = $1c433545548dc9fa$var$getUbuntuVersion; //# sourceMappingURL=index.js.map\n\n\n\n\n\n\n\nasync function $7407b79f302e7dfb$var$ubuntuVersion_raw() {\n try {\n if ((0, $20fc1212ead529fb$export$da8baf1d6c6802b6)()) {\n try {\n if ((0, (/*@__PURE__*/$parcel$interopDefault($213a898fd02ffa77$exports))).sync(\"lsb_release\", {\n nothrow: true\n }) === null) await (0, $c28d8ebe1e034757$export$d73dc343f5abf26)([\n {\n name: \"lsb-release\"\n }\n ]);\n } catch {\n return $7407b79f302e7dfb$var$detectUsingOsVersion();\n }\n const versionSplitted = await (0, $1c433545548dc9fa$exports.getUbuntuVersion)();\n if (versionSplitted.length === 0) return $7407b79f302e7dfb$var$detectUsingOsVersion();\n return versionSplitted;\n } else return null;\n } catch (err) {\n (0, $7Lz0k.warning)(err.toString());\n return null;\n }\n}\nconst $7407b79f302e7dfb$export$49c9cf1111dfa0ee = (0, $e64ad6d4e4d5b46a$export$2e2bcd8739ae039)($7407b79f302e7dfb$var$ubuntuVersion_raw, {\n isPromise: true\n});\n/** Detect Ubuntu version using os.version() for Ubuntu based distros */ function $7407b79f302e7dfb$var$detectUsingOsVersion() {\n // #46~22.04.1-Ubuntu SMP ...\n const osVersion = (0, ($parcel$interopDefault($aEsRD$os))).version();\n const versionSplitted = osVersion.split(\".\");\n const majorVersion = parseInt(versionSplitted[0].replace(\"#\", \"\"), 10);\n const minorVersion = parseInt(versionSplitted[1].replace(\"~\", \"\"), 10);\n const patchVersion = parseInt(versionSplitted[2].split(\"-\")[0], 10);\n return [\n majorVersion,\n minorVersion,\n patchVersion\n ];\n}\n\n\n\n\n\n\n\n\n\nasync function $5d78454eba2028c3$export$4020cb77ffa3ffac(name, version, options = {}) {\n return $5d78454eba2028c3$export$7c60aea099ad1c1d(await $5d78454eba2028c3$var$getPython(), name, version, options);\n}\nasync function $5d78454eba2028c3$export$7c60aea099ad1c1d(givenPython, name, version, options = {}) {\n const { usePipx: usePipx = true, user: user = true, upgrade: upgrade = false, isLibrary: isLibrary = false } = options;\n const isPipx = usePipx && !isLibrary && await $5d78454eba2028c3$export$ffe24b8e86dbc863(givenPython);\n const pip = isPipx ? \"pipx\" : \"pip\";\n const hasPackage = await $5d78454eba2028c3$var$pipHasPackage(givenPython, name);\n if (hasPackage) try {\n (0, $kDRhL.info)(`Installing ${name} ${version ?? \"\"} via ${pip}`);\n const nameAndVersion = version !== undefined && version !== \"\" ? `${name}==${version}` : name;\n const upgradeFlag = upgrade ? isPipx ? [\n \"upgrade\"\n ] : [\n \"install\",\n \"--upgrade\"\n ] : [\n \"install\"\n ];\n const userFlag = !isPipx && user ? [\n \"--user\"\n ] : [];\n (0, $d883609dd3eb5a67$export$28823a701bb5a12d)(givenPython, [\n \"-m\",\n pip,\n ...upgradeFlag,\n ...userFlag,\n nameAndVersion\n ], {\n stdio: \"inherit\"\n });\n } catch (err) {\n (0, $kDRhL.info)(`Failed to install ${name} via ${pip}: ${err}.`);\n if (await $5d78454eba2028c3$export$6de3fef38027e326(name) === null) throw new Error(`Failed to install ${name} via ${pip}: ${err}.`);\n }\n else {\n if (await $5d78454eba2028c3$export$6de3fef38027e326(name) === null) throw new Error(`Failed to install ${name} as it was not found via ${pip} or the system package manager`);\n }\n const execPaths = await (0, $29e5d8652dc51d70$export$4bf645347c3b7001)(givenPython);\n const binDir = await $5d78454eba2028c3$var$findBinDir(execPaths, name);\n await (0, $2f24a8df2529dc1c$export$4c25481b843feb0b)(binDir);\n return {\n binDir: binDir\n };\n}\nasync function $5d78454eba2028c3$export$ffe24b8e86dbc863(givenPython) {\n return (await (0, $d883609dd3eb5a67$export$db6b1668e3758717)(givenPython, [\n \"-m\",\n \"pipx\",\n \"--help\"\n ], {\n stdio: \"ignore\",\n reject: false\n })).exitCode === 0;\n}\nasync function $5d78454eba2028c3$var$getPython_raw() {\n const pythonBin = (await (0, $29e5d8652dc51d70$export$2b0b68e9df3d4a02)((0, $83fde521434ac405$export$c506eb22e615ba4a)(\"python\", undefined, await (0, $7407b79f302e7dfb$export$49c9cf1111dfa0ee)()), \"\", process.arch)).bin;\n if (pythonBin === undefined) throw new Error(\"Python binary was not found\");\n return pythonBin;\n}\nconst $5d78454eba2028c3$var$getPython = (0, $e64ad6d4e4d5b46a$export$2e2bcd8739ae039)($5d78454eba2028c3$var$getPython_raw, {\n isPromise: true\n});\nasync function $5d78454eba2028c3$var$pipHasPackage(python, name) {\n const result = await (0, $d883609dd3eb5a67$export$db6b1668e3758717)(python, [\n \"-m\",\n \"pip\",\n \"-qq\",\n \"index\",\n \"versions\",\n name\n ], {\n stdio: \"ignore\",\n reject: false\n });\n return result.exitCode === 0;\n}\nasync function $5d78454eba2028c3$var$findBinDir(dirs, name) {\n const exists = await Promise.all(dirs.map((dir)=>(0, $6MdIz.pathExists)((0, $bLa2q.join)(dir, (0, $bLa2q.addExeExt)(name)))));\n const dirIndex = exists.findIndex((exist)=>exist);\n if (dirIndex !== -1) {\n const foundDir = dirs[dirIndex];\n return foundDir;\n }\n const whichDir = (0, (/*@__PURE__*/$parcel$interopDefault($213a898fd02ffa77$exports))).sync((0, $bLa2q.addExeExt)(name), {\n nothrow: true\n });\n if (whichDir !== null) return (0, $bLa2q.dirname)(whichDir);\n return dirs[dirs.length - 1];\n}\nfunction $5d78454eba2028c3$export$6de3fef38027e326(name) {\n if (process.platform === \"linux\") {\n (0, $kDRhL.info)(`Installing ${name} via the system package manager`);\n if ((0, $9aeb5896658945db$export$d415ddb6702ec3a2)()) return (0, $8310f4b4d4fddda5$export$cfa75578ee2d6e6c)(`python-${name}`);\n else if ((0, $3886c66546fd08fe$export$8ce8b4b22331a8c7)()) return (0, $c19966177a67898f$export$49d4f9ba8e0dd34f)([\n {\n name: `python3-${name}`\n }\n ]);\n else if ((0, $20fc1212ead529fb$export$da8baf1d6c6802b6)()) return (0, $c28d8ebe1e034757$export$d73dc343f5abf26)([\n {\n name: `python3-${name}`\n }\n ]);\n }\n return null;\n}\n\n\nfunction $ae75412612fe2e3e$export$249d0c7d779d362f(version, _setupDir, _arch) {\n return (0, $5d78454eba2028c3$export$4020cb77ffa3ffac)(\"conan\", version);\n}\n\n\n\n\n\n\n\n\n\n\n\nasync function $e662e72f87137a41$export$13d77464c548b5d3(version, _setupDir, _arch) {\n switch(process.platform){\n case \"win32\":\n {\n await (0, $953ade167c7bc14a$export$9f6912bc890040b2)(\"cppcheck\", version);\n const binDir = await $e662e72f87137a41$var$activateWinCppcheck();\n return {\n binDir: binDir\n };\n }\n case \"darwin\":\n return (0, $d04dcbafc5bebef1$export$ce5d13d8a85cb784)(\"cppcheck\", version);\n case \"linux\":\n if ((0, $9aeb5896658945db$export$d415ddb6702ec3a2)()) return (0, $8310f4b4d4fddda5$export$cfa75578ee2d6e6c)(\"cppcheck\", version);\n else if ((0, $3886c66546fd08fe$export$8ce8b4b22331a8c7)()) return (0, $c19966177a67898f$export$49d4f9ba8e0dd34f)([\n {\n name: \"ccache\",\n version: version\n }\n ]);\n else if ((0, $20fc1212ead529fb$export$da8baf1d6c6802b6)()) return (0, $c28d8ebe1e034757$export$d73dc343f5abf26)([\n {\n name: \"cppcheck\",\n version: version\n }\n ]);\n throw new Error(`Unsupported linux distribution`);\n default:\n throw new Error(`Unsupported platform`);\n }\n}\nasync function $e662e72f87137a41$var$activateWinCppcheck() {\n const binDir = \"C:/Program Files/Cppcheck\";\n await (0, $2f24a8df2529dc1c$export$4c25481b843feb0b)(binDir);\n return binDir;\n}\n\n\n\n\n\n\n\n\n\nvar $bLa2q = parcelRequire(\"bLa2q\");\n\n\nvar $7Lz0k = parcelRequire(\"7Lz0k\");\n\n\n\n\n\n\n\n\n\nasync function $77fafcb29b09e6e7$export$b885bd977caaafb9(version, _setupDir, _arch) {\n switch(process.platform){\n case \"win32\":\n await (0, $953ade167c7bc14a$export$9f6912bc890040b2)(\"graphviz\", version);\n return $77fafcb29b09e6e7$var$activateGraphviz();\n case \"darwin\":\n return (0, $d04dcbafc5bebef1$export$ce5d13d8a85cb784)(\"graphviz\", version);\n case \"linux\":\n if ((0, $9aeb5896658945db$export$d415ddb6702ec3a2)()) return (0, $8310f4b4d4fddda5$export$cfa75578ee2d6e6c)(\"graphviz\", version);\n else if ((0, $3886c66546fd08fe$export$8ce8b4b22331a8c7)()) return (0, $c19966177a67898f$export$49d4f9ba8e0dd34f)([\n {\n name: \"graphviz\",\n version: version\n }\n ]);\n else if ((0, $20fc1212ead529fb$export$da8baf1d6c6802b6)()) return (0, $c28d8ebe1e034757$export$d73dc343f5abf26)([\n {\n name: \"graphviz\",\n version: version\n }\n ]);\n throw new Error(`Unsupported linux distribution`);\n default:\n throw new Error(`Unsupported platform`);\n }\n}\nasync function $77fafcb29b09e6e7$var$activateGraphviz() {\n switch(process.platform){\n case \"win32\":\n {\n const binDir = \"C:/Program Files/Graphviz/bin\";\n await (0, $2f24a8df2529dc1c$export$4c25481b843feb0b)(binDir);\n return {\n binDir: binDir\n };\n }\n default:\n throw new Error(`Unsupported platform`);\n }\n}\n\n\n\n\n\n\n\n\nvar $6MdIz = parcelRequire(\"6MdIz\");\n\n\n/** Get the platform data for cmake */ // eslint-disable-next-line @typescript-eslint/no-unused-vars\nfunction $c3138813a2f84b86$var$getDoxygenPackageInfo(version, platform, _arch) {\n switch(platform){\n case \"linux\":\n {\n const folderName = `doxygen-${version}`;\n return {\n binRelativeDir: \"bin/\",\n binFileName: (0, $bLa2q.addExeExt)(\"doxygen\"),\n extractedFolderName: folderName,\n extractFunction: (0, $c4f66d9b8b1c5822$exports.extractTar),\n url: `https://www.doxygen.nl/files/${folderName}.linux.bin.tar.gz`\n };\n }\n case \"win32\":\n {\n const folderName = `doxygen-${version}`;\n return {\n binRelativeDir: \"\",\n binFileName: (0, $bLa2q.addExeExt)(\"doxygen\"),\n extractedFolderName: folderName,\n extractFunction: (0, $334bd34d50e00f0e$export$6411c5cbab21135b),\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}\nasync function $c3138813a2f84b86$export$b6e6613a954051ee(version, setupDir, arch) {\n switch(process.platform){\n case \"win32\":\n {\n // try to download the package 4 times with 2 seconds delay\n await (0, (/*@__PURE__*/$parcel$interopDefault($19485db8e1d7177e$exports)))(()=>{\n return (0, $953ade167c7bc14a$export$9f6912bc890040b2)(\"doxygen.install\", version);\n }, {\n name: \"doxygen.install\",\n max: 4,\n backoffBase: 2000,\n report: (err)=>(0, $7Lz0k.info)(err)\n });\n const binDir = await $c3138813a2f84b86$var$activateWinDoxygen();\n const installationInfo = {\n binDir: binDir\n };\n await (0, $77fafcb29b09e6e7$export$b885bd977caaafb9)((0, $83fde521434ac405$export$c506eb22e615ba4a)(\"graphviz\", undefined), \"\", arch);\n return installationInfo;\n }\n case \"darwin\":\n {\n const installationInfo = await (0, $d04dcbafc5bebef1$export$ce5d13d8a85cb784)(\"doxygen\", undefined);\n await (0, $77fafcb29b09e6e7$export$b885bd977caaafb9)((0, $83fde521434ac405$export$c506eb22e615ba4a)(\"graphviz\", undefined), \"\", arch);\n return installationInfo;\n }\n case \"linux\":\n {\n let installationInfo;\n if (version === \"\" || (0, $9aeb5896658945db$export$d415ddb6702ec3a2)() || (0, $3886c66546fd08fe$export$8ce8b4b22331a8c7)()) {\n if ((0, $9aeb5896658945db$export$d415ddb6702ec3a2)()) installationInfo = await (0, $8310f4b4d4fddda5$export$cfa75578ee2d6e6c)(\"doxygen\", version);\n else if ((0, $3886c66546fd08fe$export$8ce8b4b22331a8c7)()) return (0, $c19966177a67898f$export$49d4f9ba8e0dd34f)([\n {\n name: \"doxygen\",\n version: version\n }\n ]);\n else if ((0, $20fc1212ead529fb$export$da8baf1d6c6802b6)()) installationInfo = await (0, $c28d8ebe1e034757$export$d73dc343f5abf26)([\n {\n name: \"doxygen\",\n version: version\n }\n ]);\n else throw new Error(`Unsupported linux distributions`);\n } else if ((0, $20fc1212ead529fb$export$da8baf1d6c6802b6)()) try {\n // doxygen on stable Ubuntu repositories is very old. So, we use get the binary from the website itself\n installationInfo = await (0, $7dbd062890ddcaab$export$334f77c9844c21f6)(\"doxygen\", version, $c3138813a2f84b86$var$getDoxygenPackageInfo, setupDir, arch);\n await (0, $c28d8ebe1e034757$export$d73dc343f5abf26)([\n {\n name: \"libclang-cpp9\"\n }\n ]);\n } catch (err) {\n (0, $7Lz0k.notice)(`Failed to download doxygen binary. ${err}. Falling back to apt-get.`);\n installationInfo = await (0, $c28d8ebe1e034757$export$d73dc343f5abf26)([\n {\n name: \"doxygen\"\n }\n ]);\n }\n else throw new Error(`Unsupported linux distributions`);\n await (0, $77fafcb29b09e6e7$export$b885bd977caaafb9)((0, $83fde521434ac405$export$c506eb22e615ba4a)(\"graphviz\", undefined, await (0, $7407b79f302e7dfb$export$49c9cf1111dfa0ee)()), \"\", arch);\n return installationInfo;\n }\n default:\n throw new Error(`Unsupported platform`);\n }\n}\nasync function $c3138813a2f84b86$var$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 ])// eslint-disable-next-line no-await-in-loop\n if (await (0, $6MdIz.pathExists)((0, $bLa2q.join)(binDir, \"doxygen.exe\"))) {\n // eslint-disable-next-line no-await-in-loop\n await (0, $2f24a8df2529dc1c$export$4c25481b843feb0b)(binDir);\n return binDir;\n }\n throw new Error(\"Failed to find doxygen binary\");\n default:\n throw new Error(`Unsupported platform`);\n }\n}\n\n\n\n\n\n\n\n\nvar $5vY1y = parcelRequire(\"5vY1y\");\n\nvar $e7Yt8 = parcelRequire(\"e7Yt8\");\n\nvar $7J8UA = parcelRequire(\"7J8UA\");\n\n\nvar $7Lz0k = parcelRequire(\"7Lz0k\");\nasync function $ce4a769f1296c7b8$export$28f5fd35e3005b7a() {\n if (process.platform === \"darwin\") try {\n const xcrun = await (0, $7J8UA.getExecOutput)(\"xcrun --sdk macosx --show-sdk-path\");\n const sdkroot = xcrun.stdout || xcrun.stderr;\n if (sdkroot) await (0, $2f24a8df2529dc1c$export$f63d3080ce25e0fd)(\"SDKROOT\", sdkroot.trim());\n else (0, $7Lz0k.error)(`SDKROOT not set`);\n } catch (e) {\n (0, $7Lz0k.error)(e);\n }\n}\n\n\n\nvar $bLa2q = parcelRequire(\"bLa2q\");\n\nvar $7Lz0k = parcelRequire(\"7Lz0k\");\n\nvar $l6WDk = parcelRequire(\"l6WDk\");\n\n\n\n\n\n\n\nvar $6MdIz = parcelRequire(\"6MdIz\");\n\nvar $c5bcc6df675a953c$var$$parcel$__dirname = $aEsRD$path.resolve(__dirname, \"../../src/gcc\");\n// https://github.com/brechtsanders/winlibs_mingw/releases\nconst $c5bcc6df675a953c$var$GccToMingwInfo = {\n \"13\": {\n releaseName: \"13.2.0-16.0.6-11.0.0-ucrt-r1\",\n fileSuffix: \"13.2.0-mingw-w64ucrt-11.0.0-r1\"\n },\n \"13.2-ucrt\": {\n releaseName: \"13.2.0-16.0.6-11.0.0-ucrt-r1\",\n fileSuffix: \"13.2.0-mingw-w64ucrt-11.0.0-r1\"\n },\n \"13.2-ucrt-mcf\": {\n releaseName: \"13.2.0mcf-16.0.6-11.0.1-ucrt-r2\",\n fileSuffix: \"13.2.0-mingw-w64ucrt-11.0.1-r2\"\n },\n \"13.2-msvcrt\": {\n releaseName: \"13.2.0-16.0.6-11.0.1-msvcrt-r1\",\n fileSuffix: \"13.2.0-mingw-w64msvcrt-11.0.1-r1\"\n },\n \"13.1-ucrt\": {\n releaseName: \"13.1.0posix-16.0.3-11.0.0-ucrt-r1\",\n fileSuffix: \"13.1.0-mingw-w64ucrt-11.0.0-r1\"\n },\n \"13.1-msvcrt\": {\n releaseName: \"13.1.0posix-16.0.3-11.0.0-msvcrt-r1\",\n fileSuffix: \"13.1.0-mingw-w64msvcrt-11.0.0-r1\"\n },\n \"12\": {\n releaseName: \"12.3.0-16.0.4-11.0.0-ucrt-r1\",\n fileSuffix: \"12.3.0-mingw-w64ucrt-11.0.0-r1\"\n },\n \"12.3.0-ucrt\": {\n releaseName: \"12.3.0-16.0.4-11.0.0-ucrt-r1\",\n fileSuffix: \"12.3.0-mingw-w64ucrt-11.0.0-r1\"\n },\n \"12.3.0-msvcrt\": {\n releaseName: \"12.3.0-16.0.4-11.0.0-msvcrt-r1\",\n fileSuffix: \"12.3.0-mingw-w64msvcrt-11.0.0-r1\"\n },\n \"12.2.0-ucrt\": {\n releaseName: \"12.2.0-14.0.6-10.0.0-ucrt-r2\",\n fileSuffix: \"12.2.0-mingw-w64ucrt-10.0.0-r2\"\n },\n \"12.2.0-msvcrt\": {\n releaseName: \"12.2.0-14.0.6-10.0.0-msvcrt-r2\",\n fileSuffix: \"12.2.0-mingw-w64msvcrt-10.0.0-r2\"\n },\n \"12.1.0-ucrt\": {\n releaseName: \"12.1.0-14.0.4-10.0.0-ucrt-r2\",\n fileSuffix: \"12.1.0-mingw-w64ucrt-10.0.0-r2\"\n },\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\": {\n releaseName: \"11.3.0-14.0.3-10.0.0-ucrt-r3\",\n fileSuffix: \"11.3.0-mingw-w64ucrt-10.0.0-r3\"\n },\n \"11.3.0-ucrt\": {\n releaseName: \"11.3.0-14.0.3-10.0.0-ucrt-r3\",\n fileSuffix: \"11.3.0-mingw-w64ucrt-10.0.0-r3\"\n },\n \"11.3.0-msvcrt\": {\n releaseName: \"11.3.0-14.0.3-10.0.0-msvcrt-r3\",\n fileSuffix: \"11.3.0-mingw-w64msvcrt-10.0.0-r3\"\n },\n \"11.2.0-ucrt\": {\n releaseName: \"11.2.0-9.0.0-ucrt-r5\",\n fileSuffix: \"11.2.0-mingw-w64ucrt-9.0.0-r5\"\n },\n \"11.2.0-msvcrt\": {\n releaseName: \"11.2.0-9.0.0-msvcrt-r5\",\n fileSuffix: \"11.2.0-mingw-w64msvcrt-9.0.0-r5\"\n },\n \"10\": {\n releaseName: \"10.5.0-11.0.1-msvcrt-r1\",\n fileSuffix: \"10.5.0-mingw-w64msvcrt-11.0.1-r1\"\n },\n \"10.5.0-msvcrt\": {\n releaseName: \"10.5.0-11.0.1-msvcrt-r1\",\n fileSuffix: \"10.5.0-mingw-w64msvcrt-11.0.1-r1\"\n },\n \"10.3.0\": {\n releaseName: \"10.3.0-12.0.0-9.0.0-r2\",\n fileSuffix: \"10.3.0-llvm-12.0.0-mingw-w64-9.0.0-r2\"\n },\n \"10.2.0\": {\n releaseName: \"10.2.0-7.0.0-r4\",\n fileSuffix: \"10.2.0-llvm-10.0.1-mingw-w64-7.0.0-r4\"\n },\n \"9\": {\n releaseName: \"9.4.0-9.0.0-r1\",\n fileSuffix: \"9.4.0-mingw-w64-9.0.0-r1\"\n },\n \"9.4.0\": {\n releaseName: \"9.4.0-9.0.0-r1\",\n fileSuffix: \"9.4.0-mingw-w64-9.0.0-r1\"\n }\n};\nfunction $c5bcc6df675a953c$var$getGccPackageInfo(version, platform, arch) {\n switch(platform){\n case \"win32\":\n {\n const mingwInfo = $c5bcc6df675a953c$var$GccToMingwInfo[version];\n if (mingwInfo === undefined) throw new Error(`mingw version ${version} is not supported`);\n const mingwArch = arch === \"ia32\" ? \"i686\" : \"x86_64\";\n const exceptionModel = \"seh\" // SEH is native windows exception model https://github.com/brechtsanders/winlibs_mingw/issues/4#issuecomment-599296483\n ;\n return {\n binRelativeDir: \"bin/\",\n binFileName: (0, $bLa2q.addExeExt)(\"g++\"),\n extractedFolderName: \"mingw64\",\n extractFunction: (0, $334bd34d50e00f0e$export$eecfe186811d4a20),\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}\nasync function $c5bcc6df675a953c$export$405fab3de79b77b(version, setupDir, arch, priority = 40) {\n let installationInfo;\n switch(process.platform){\n case \"win32\":\n if (arch === \"arm\" || arch === \"arm64\") await (0, $953ade167c7bc14a$export$9f6912bc890040b2)(\"gcc-arm-embedded\", version);\n try {\n installationInfo = await (0, $7dbd062890ddcaab$export$334f77c9844c21f6)(\"g++\", version, $c5bcc6df675a953c$var$getGccPackageInfo, setupDir, arch);\n } catch (err) {\n (0, $7Lz0k.info)(`Failed to download g++ binary. ${err}. Falling back to chocolatey.`);\n installationInfo = await $c5bcc6df675a953c$var$setupChocoMingw(version, arch);\n }\n break;\n case \"darwin\":\n installationInfo = await (0, $d04dcbafc5bebef1$export$ce5d13d8a85cb784)(\"gcc\", version);\n break;\n case \"linux\":\n if (arch === \"x64\") {\n if ((0, $9aeb5896658945db$export$d415ddb6702ec3a2)()) installationInfo = await (0, $8310f4b4d4fddda5$export$cfa75578ee2d6e6c)(\"gcc\", version);\n else if ((0, $3886c66546fd08fe$export$8ce8b4b22331a8c7)()) installationInfo = await (0, $c19966177a67898f$export$49d4f9ba8e0dd34f)([\n {\n name: \"gcc\",\n version: version\n },\n {\n name: \"gcc-c++\",\n version: version\n },\n {\n name: \"libstdc++-devel\"\n }\n ]);\n else if ((0, $20fc1212ead529fb$export$da8baf1d6c6802b6)()) installationInfo = await (0, $c28d8ebe1e034757$export$d73dc343f5abf26)([\n {\n name: \"gcc\",\n version: version,\n repositories: [\n \"ppa:ubuntu-toolchain-r/test\"\n ]\n },\n {\n name: \"g++\",\n version: version,\n repositories: [\n \"ppa:ubuntu-toolchain-r/test\"\n ]\n }\n ]);\n } else {\n (0, $7Lz0k.info)(`Install g++-multilib because gcc for ${arch} was requested`);\n if ((0, $9aeb5896658945db$export$d415ddb6702ec3a2)()) await (0, $8310f4b4d4fddda5$export$cfa75578ee2d6e6c)(\"gcc-multilib\", version);\n else if ((0, $20fc1212ead529fb$export$da8baf1d6c6802b6)()) await (0, $c28d8ebe1e034757$export$d73dc343f5abf26)([\n {\n name: \"gcc-multilib\",\n version: version,\n repositories: [\n \"ppa:ubuntu-toolchain-r/test\"\n ]\n }\n ]);\n }\n break;\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 if (installationInfo !== undefined) {\n await $c5bcc6df675a953c$var$activateGcc(version, installationInfo.binDir, priority);\n return installationInfo;\n }\n return undefined;\n}\nasync function $c5bcc6df675a953c$export$f115c01d224b9e9a(version, setupDir, arch) {\n let installationInfo;\n switch(process.platform){\n case \"win32\":\n case \"darwin\":\n return $c5bcc6df675a953c$export$405fab3de79b77b(version, setupDir, arch);\n case \"linux\":\n if ((0, $9aeb5896658945db$export$d415ddb6702ec3a2)()) installationInfo = await (0, $8310f4b4d4fddda5$export$cfa75578ee2d6e6c)(\"mingw-w64-gcc\", version);\n else if ((0, $3886c66546fd08fe$export$8ce8b4b22331a8c7)()) installationInfo = await (0, $c19966177a67898f$export$49d4f9ba8e0dd34f)([\n {\n name: \"mingw64-gcc\",\n version: version\n }\n ]);\n else if ((0, $20fc1212ead529fb$export$da8baf1d6c6802b6)()) installationInfo = await (0, $c28d8ebe1e034757$export$d73dc343f5abf26)([\n {\n name: \"mingw-w64\",\n version: version,\n repositories: [\n \"ppa:ubuntu-toolchain-r/test\"\n ]\n }\n ]);\n break;\n default:\n throw new Error(`Unsupported platform for ${arch}`);\n }\n if (installationInfo !== undefined) // TODO: setup alternatives and update CC/CXX env. ?\n //Setting up g++-mingw-w64-i686-win32 (10.3.0-14ubuntu1+24.3) ...\n // update-alternatives: using /usr/bin/i686-w64-mingw32-g++-win32 to provide /usr/bin/i686-w64-mingw32-g++ (i686-w64-mingw32-g++) in auto mode\n //Setting up g++-mingw-w64-x86-64-win32 (10.3.0-14ubuntu1+24.3) ...\n // update-alternatives: using /usr/bin/x86_64-w64-mingw32-g++-win32 to provide /usr/bin/x86_64-w64-mingw32-g++ (x86_64-w64-mingw32-g++) in auto mode\n //await activateGcc(version, installationInfo.binDir)\n return installationInfo;\n return undefined;\n}\nasync function $c5bcc6df675a953c$var$setupChocoMingw(version, arch) {\n await (0, $953ade167c7bc14a$export$9f6912bc890040b2)(\"mingw\", version);\n let binDir;\n if (arch === \"x64\" && await (0, $6MdIz.pathExists)(\"C:/tools/mingw64/bin\")) {\n binDir = \"C:/tools/mingw64/bin\";\n await (0, $2f24a8df2529dc1c$export$4c25481b843feb0b)(binDir);\n } else if (arch === \"ia32\" && await (0, $6MdIz.pathExists)(\"C:/tools/mingw32/bin\")) {\n binDir = \"C:/tools/mingw32/bin\";\n await (0, $2f24a8df2529dc1c$export$4c25481b843feb0b)(binDir);\n } else if (await (0, $6MdIz.pathExists)(`${process.env.ChocolateyInstall ?? \"C:/ProgramData/chocolatey\"}/bin/g++.exe`)) binDir = `${process.env.ChocolateyInstall ?? \"C:/ProgramData/chocolatey\"}/bin`;\n if (binDir !== undefined) return {\n binDir: binDir\n };\n return undefined;\n}\nasync function $c5bcc6df675a953c$var$activateGcc(version, binDir, priority = 40) {\n const promises = [];\n // Setup gcc as the compiler\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 if (process.platform === \"win32\") promises.push((0, $2f24a8df2529dc1c$export$f63d3080ce25e0fd)(\"CC\", (0, $bLa2q.addExeExt)(`${binDir}/gcc`)), (0, $2f24a8df2529dc1c$export$f63d3080ce25e0fd)(\"CXX\", (0, $bLa2q.addExeExt)(`${binDir}/g++`)));\n else {\n const majorVersion = (0, (/*@__PURE__*/$parcel$interopDefault($5vY1y)))((0, (/*@__PURE__*/$parcel$interopDefault($e7Yt8)))(version) ?? version);\n if (majorVersion >= 5) {\n promises.push((0, $2f24a8df2529dc1c$export$f63d3080ce25e0fd)(\"CC\", `${binDir}/gcc-${majorVersion}`), (0, $2f24a8df2529dc1c$export$f63d3080ce25e0fd)(\"CXX\", `${binDir}/g++-${majorVersion}`));\n if ((0, $20fc1212ead529fb$export$da8baf1d6c6802b6)()) promises.push((0, $c28d8ebe1e034757$export$6fe6436bd9f53d02)(\"cc\", `${binDir}/gcc-${majorVersion}`, priority), (0, $c28d8ebe1e034757$export$6fe6436bd9f53d02)(\"cxx\", `${binDir}/g++-${majorVersion}`, priority), (0, $c28d8ebe1e034757$export$6fe6436bd9f53d02)(\"gcc\", `${binDir}/gcc-${majorVersion}`, priority), (0, $c28d8ebe1e034757$export$6fe6436bd9f53d02)(\"g++\", `${binDir}/g++-${majorVersion}`, priority));\n } else {\n promises.push((0, $2f24a8df2529dc1c$export$f63d3080ce25e0fd)(\"CC\", `${binDir}/gcc-${version}`), (0, $2f24a8df2529dc1c$export$f63d3080ce25e0fd)(\"CXX\", `${binDir}/g++-${version}`));\n if ((0, $20fc1212ead529fb$export$da8baf1d6c6802b6)()) promises.push((0, $c28d8ebe1e034757$export$6fe6436bd9f53d02)(\"cc\", `${binDir}/gcc-${version}`, priority), (0, $c28d8ebe1e034757$export$6fe6436bd9f53d02)(\"cxx\", `${binDir}/g++-${version}`, priority), (0, $c28d8ebe1e034757$export$6fe6436bd9f53d02)(\"gcc\", `${binDir}/gcc-${version}`, priority), (0, $c28d8ebe1e034757$export$6fe6436bd9f53d02)(\"g++\", `${binDir}/g++-${version}`, priority));\n }\n }\n promises.push((0, $ce4a769f1296c7b8$export$28f5fd35e3005b7a)());\n if (0, $l6WDk.GITHUB_ACTIONS) await $c5bcc6df675a953c$var$addGccLoggingMatcher();\n await Promise.all(promises);\n}\nasync function $c5bcc6df675a953c$var$addGccLoggingMatcher() {\n const matcherPath = (0, $bLa2q.join)($c5bcc6df675a953c$var$$parcel$__dirname, \"gcc_matcher.json\");\n if (!await (0, $6MdIz.pathExists)(matcherPath)) return (0, $7Lz0k.warning)(\"the gcc_matcher.json file does not exist in the same folder as setup-cpp.js\");\n (0, $7Lz0k.info)(`::add-matcher::${matcherPath}`);\n}\n\n\n\n\n\nvar $2P6Mr = parcelRequire(\"2P6Mr\");\n\nvar $5vY1y = parcelRequire(\"5vY1y\");\nfunction $719e7985de30e2f2$export$b98d69f362caf61f(version, _setupDir, _arch) {\n return (0, $5d78454eba2028c3$export$4020cb77ffa3ffac)(\"gcovr\", version);\n}\nfunction $719e7985de30e2f2$export$2a0488baf2a20c0f() {\n return (0, $2f24a8df2529dc1c$export$f63d3080ce25e0fd)(\"GCOV\", \"llvm-cov gcov\");\n}\nfunction $719e7985de30e2f2$export$41dabde4775ee2aa(gccVersion) {\n const gccSemver = (0, (/*@__PURE__*/$parcel$interopDefault($2P6Mr)))(gccVersion);\n const gccMajor = gccSemver !== null ? (0, (/*@__PURE__*/$parcel$interopDefault($5vY1y)))(gccSemver) : gccVersion;\n const gcov = gccMajor !== \"\" ? `gcov-${gccMajor}` : \"gcov\";\n return (0, $2f24a8df2529dc1c$export$f63d3080ce25e0fd)(\"GCOV\", gcov);\n}\n\n\n\n\n\nvar $bLa2q = parcelRequire(\"bLa2q\");\n\n\n\n\n\n\n\n\n\n\n\n\n\nvar $7Lz0k = parcelRequire(\"7Lz0k\");\n\n\nvar $bLa2q = parcelRequire(\"bLa2q\");\n\n\n/** Get the platform name Ninja uses in their download links */ function $b31f931d02d7e6cb$var$getNinjaPlatform(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/** Get the platform data for ninja */ // eslint-disable-next-line @typescript-eslint/no-unused-vars\nfunction $b31f931d02d7e6cb$var$getNinjaPackageInfo(version, platform, _arch) {\n const ninjaPlatform = $b31f931d02d7e6cb$var$getNinjaPlatform(platform);\n return {\n binRelativeDir: \"\",\n binFileName: (0, $bLa2q.addExeExt)(\"ninja\"),\n extractedFolderName: \"\",\n extractFunction: (0, $334bd34d50e00f0e$export$6411c5cbab21135b),\n url: `https://github.com/ninja-build/ninja/releases/download/v${version}/ninja-${ninjaPlatform}.zip`\n };\n}\nfunction $b31f931d02d7e6cb$export$e6190f4bfe2ef71(version, setupDir, arch) {\n return (0, $7dbd062890ddcaab$export$334f77c9844c21f6)(\"ninja\", version, $b31f931d02d7e6cb$var$getNinjaPackageInfo, setupDir, arch);\n}\n\n\n\n\nvar $a36cf804c947131a$var$$parcel$__dirname = $aEsRD$path.resolve(__dirname, \"../../src/kcov\");\nfunction $a36cf804c947131a$var$getDownloadKcovPackageInfo(version) {\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: (0, $bLa2q.addExeExt)(\"kcov\"),\n extractFunction: (0, $334bd34d50e00f0e$export$2ab07ac150064014)\n };\n}\nfunction $a36cf804c947131a$var$getBuildKcovPackageInfo(version) {\n return {\n url: `https://github.com/SimonKagstrom/kcov/archive/refs/tags/${version}.tar.gz`,\n extractedFolderName: \"\",\n binRelativeDir: \"build/src\",\n binFileName: (0, $bLa2q.addExeExt)(\"kcov\"),\n extractFunction: $a36cf804c947131a$var$buildKcov\n };\n}\nasync function $a36cf804c947131a$var$buildKcov(file, dest) {\n const out = await (0, $334bd34d50e00f0e$export$2ab07ac150064014)(file, dest, [\n \"--strip-components=1\"\n ]);\n // build after extraction using CMake\n const cmake = await $a36cf804c947131a$var$getCmake();\n if (process.platform === \"linux\") {\n if ((0, $9aeb5896658945db$export$d415ddb6702ec3a2)()) await Promise.all([\n (0, $8310f4b4d4fddda5$export$cfa75578ee2d6e6c)(\"libdwarf\"),\n (0, $8310f4b4d4fddda5$export$cfa75578ee2d6e6c)(\"libcurl-openssl\")\n ]);\n else if ((0, $3886c66546fd08fe$export$8ce8b4b22331a8c7)()) await (0, $c19966177a67898f$export$49d4f9ba8e0dd34f)([\n {\n name: \"libdwarf-devel\"\n },\n {\n name: \"libcurl-devel\"\n }\n ]);\n else if ((0, $20fc1212ead529fb$export$da8baf1d6c6802b6)()) await (0, $c28d8ebe1e034757$export$d73dc343f5abf26)([\n {\n name: \"libdw-dev\"\n },\n {\n name: \"libcurl4-openssl-dev\"\n }\n ]);\n }\n // apply gcc13.patch\n try {\n if ((0, (/*@__PURE__*/$parcel$interopDefault($213a898fd02ffa77$exports))).sync(\"patch\", {\n nothrow: true\n }) !== null) {\n const patch = (0, $bLa2q.join)($a36cf804c947131a$var$$parcel$__dirname, \"gcc13.patch\");\n await (0, $d883609dd3eb5a67$export$db6b1668e3758717)(\"patch\", [\n \"-N\",\n \"-p1\",\n \"-i\",\n patch\n ], {\n cwd: out,\n stdio: \"inherit\"\n });\n } else (0, $7Lz0k.info)(\"`patch` not found, skipping gcc13.patch, kcov may not build on gcc 13\");\n } catch {\n // ignore\n }\n const buildDir = (0, $bLa2q.join)(out, \"build\");\n await (0, $d883609dd3eb5a67$export$db6b1668e3758717)(cmake, [\n \"-S\",\n out,\n \"-B\",\n buildDir,\n \"-DCMAKE_BUILD_TYPE=Release\",\n \"-G\",\n \"Ninja\"\n ], {\n cwd: out,\n stdio: \"inherit\"\n });\n await (0, $d883609dd3eb5a67$export$db6b1668e3758717)(cmake, [\n \"--build\",\n buildDir,\n \"--config\",\n \"Release\"\n ], {\n cwd: out,\n stdio: \"inherit\"\n });\n // execRootSync(cmake, [\"--install\", buildDir], out)\n // return \"user/local/bin\" // the cmake install prefix\n return out;\n}\nasync function $a36cf804c947131a$var$getCmake() {\n let cmake = (0, (/*@__PURE__*/$parcel$interopDefault($213a898fd02ffa77$exports))).sync(\"cmake\", {\n nothrow: true\n });\n if (cmake === null) {\n const { binDir: binDir } = await (0, $24ae2ed334e3fc9e$export$c28663a621f418ce)((0, $83fde521434ac405$export$c506eb22e615ba4a)(\"cmake\", undefined, await (0, $7407b79f302e7dfb$export$49c9cf1111dfa0ee)()), (0, $bLa2q.join)((0, $9affb3cfb96595a9$export$8312d9eeba321950)(\"\"), \"cmake\"), \"\");\n cmake = (0, $bLa2q.join)(binDir, \"cmake\");\n }\n const ninja = (0, (/*@__PURE__*/$parcel$interopDefault($213a898fd02ffa77$exports))).sync(\"ninja\", {\n nothrow: true\n });\n if (ninja === null) await (0, $b31f931d02d7e6cb$export$e6190f4bfe2ef71)((0, $83fde521434ac405$export$c506eb22e615ba4a)(\"ninja\", undefined, await (0, $7407b79f302e7dfb$export$49c9cf1111dfa0ee)()), (0, $bLa2q.join)((0, $9affb3cfb96595a9$export$8312d9eeba321950)(\"\"), \"ninja\"), \"\");\n return cmake;\n}\nasync function $a36cf804c947131a$export$abb7c2ff987b1f6b(versionGiven, setupDir, arch) {\n if (process.platform !== \"linux\") {\n (0, $7Lz0k.info)(\"Kcov is not supported on non-linux\");\n return;\n }\n // parse version\n const versionSplit = versionGiven.split(\"-\");\n let version = (0, $9ae3c26b3cc5ff2a$export$6863a97504984656)(versionSplit[0]);\n const installMethod = versionSplit[1];\n const version_number = (0, $9ae3c26b3cc5ff2a$export$b19007c0050a2fcc)(version);\n // fix inconsistency in tagging\n if (version_number === 38) version = \"v38\";\n let installationInfo;\n if (installMethod === \"binary\" && version_number >= 39) {\n installationInfo = await (0, $7dbd062890ddcaab$export$334f77c9844c21f6)(\"kcov\", version, $a36cf804c947131a$var$getDownloadKcovPackageInfo, setupDir, arch);\n if ((0, $9aeb5896658945db$export$d415ddb6702ec3a2)()) await (0, $8310f4b4d4fddda5$export$cfa75578ee2d6e6c)(\"binutils\");\n else if ((0, $3886c66546fd08fe$export$8ce8b4b22331a8c7)()) await (0, $c19966177a67898f$export$49d4f9ba8e0dd34f)([\n {\n name: \"binutils\"\n }\n ]);\n else if ((0, $20fc1212ead529fb$export$da8baf1d6c6802b6)()) await (0, $c28d8ebe1e034757$export$d73dc343f5abf26)([\n {\n name: \"libbinutils\"\n }\n ]);\n return installationInfo;\n } else installationInfo = await (0, $7dbd062890ddcaab$export$334f77c9844c21f6)(\"kcov\", version, $a36cf804c947131a$var$getBuildKcovPackageInfo, setupDir, arch);\n return installationInfo;\n}\n\n\n\nvar $l6WDk = parcelRequire(\"l6WDk\");\n\nvar $7Lz0k = parcelRequire(\"7Lz0k\");\n\n\n\nvar $6MdIz = parcelRequire(\"6MdIz\");\n\nvar $bLa2q = parcelRequire(\"bLa2q\");\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nvar $kDRhL = parcelRequire(\"kDRhL\");\n\nvar $7Lz0k = parcelRequire(\"7Lz0k\");\n\nvar $bLa2q = parcelRequire(\"bLa2q\");\n\n// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n// @ts-ignore\nvar $18451300975dbfcc$export$3c7cae5a162b1458;\nvar $18451300975dbfcc$export$704f0be24425353b;\nvar $18451300975dbfcc$export$f49c12d2898d28cb;\nvar $18451300975dbfcc$export$a6a3bfb882356813;\nvar $18451300975dbfcc$export$443b8bb890f5027e;\n\nvar $kDRhL = parcelRequire(\"kDRhL\");\n\n\n\n\nconst $18451300975dbfcc$var$PROGRAM_FILES_X86 = $aEsRD$process.env[\"ProgramFiles(x86)\"];\nconst $18451300975dbfcc$var$PROGRAM_FILES = [\n $aEsRD$process.env[\"ProgramFiles(x86)\"],\n $aEsRD$process.env[\"ProgramFiles\"]\n];\nconst $18451300975dbfcc$var$EDITIONS = [\n \"Enterprise\",\n \"Professional\",\n \"Community\",\n \"BuildTools\"\n];\nconst $18451300975dbfcc$var$YEARS = [\n \"2022\",\n \"2019\",\n \"2017\"\n];\nconst $18451300975dbfcc$var$VsYearVersion = {\n \"2022\": \"17.0\",\n \"2019\": \"16.0\",\n \"2017\": \"15.0\",\n \"2015\": \"14.0\",\n \"2013\": \"12.0\"\n};\nfunction $18451300975dbfcc$var$vsversion_to_versionnumber(vsversion) {\n if (Object.values($18451300975dbfcc$var$VsYearVersion).includes(vsversion)) return vsversion;\n else {\n if (vsversion in $18451300975dbfcc$var$VsYearVersion) return $18451300975dbfcc$var$VsYearVersion[vsversion];\n }\n return vsversion;\n}\n$18451300975dbfcc$export$3c7cae5a162b1458 = $18451300975dbfcc$var$vsversion_to_versionnumber;\nfunction $18451300975dbfcc$var$vsversion_to_year(vsversion) {\n if (Object.keys($18451300975dbfcc$var$VsYearVersion).includes(vsversion)) return vsversion;\n else for (const [year, ver] of Object.entries($18451300975dbfcc$var$VsYearVersion)){\n if (ver === vsversion) return year;\n }\n return vsversion;\n}\n$18451300975dbfcc$export$704f0be24425353b = $18451300975dbfcc$var$vsversion_to_year;\nconst $18451300975dbfcc$var$VSWHERE_PATH = `${$18451300975dbfcc$var$PROGRAM_FILES_X86}\\\\Microsoft Visual Studio\\\\Installer`;\nfunction $18451300975dbfcc$var$findWithVswhere(pattern, version_pattern) {\n try {\n let installationPath = $aEsRD$child_process.execSync(`vswhere -products * ${version_pattern} -prerelease -property installationPath`).toString().trim();\n return installationPath + \"\\\\\" + pattern;\n } catch (e) {\n $kDRhL.warning(`vswhere failed: ${e}`);\n }\n return null;\n}\n$18451300975dbfcc$export$f49c12d2898d28cb = $18451300975dbfcc$var$findWithVswhere;\nfunction $18451300975dbfcc$var$findVcvarsall(vsversion) {\n const vsversion_number = $18451300975dbfcc$var$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 version_pattern = \"-latest\";\n // If vswhere is available, ask it about the location of the latest Visual Studio.\n let path = $18451300975dbfcc$var$findWithVswhere(\"VC\\\\Auxiliary\\\\Build\\\\vcvarsall.bat\", version_pattern);\n if (path && $aEsRD$fs.existsSync(path)) {\n $kDRhL.info(`Found with vswhere: ${path}`);\n return path;\n }\n $kDRhL.info(\"Not found with vswhere\");\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 ? [\n $18451300975dbfcc$var$vsversion_to_year(vsversion)\n ] : $18451300975dbfcc$var$YEARS;\n for (const prog_files of $18451300975dbfcc$var$PROGRAM_FILES){\n for (const ver of years)for (const ed of $18451300975dbfcc$var$EDITIONS){\n path = `${prog_files}\\\\Microsoft Visual Studio\\\\${ver}\\\\${ed}\\\\VC\\\\Auxiliary\\\\Build\\\\vcvarsall.bat`;\n $kDRhL.info(`Trying standard location: ${path}`);\n if ($aEsRD$fs.existsSync(path)) {\n $kDRhL.info(`Found standard location: ${path}`);\n return path;\n }\n }\n }\n $kDRhL.info(\"Not found in standard locations\");\n // Special case for Visual Studio 2015 (and maybe earlier), try it out too.\n path = `${$18451300975dbfcc$var$PROGRAM_FILES_X86}\\\\Microsoft Visual C++ Build Tools\\\\vcbuildtools.bat`;\n if ($aEsRD$fs.existsSync(path)) {\n $kDRhL.info(`Found VS 2015: ${path}`);\n return path;\n }\n $kDRhL.info(`Not found in VS 2015 location: ${path}`);\n throw new Error(\"Microsoft Visual Studio not found\");\n}\n$18451300975dbfcc$export$a6a3bfb882356813 = $18451300975dbfcc$var$findVcvarsall;\nfunction $18451300975dbfcc$var$isPathVariable(name) {\n const pathLikeVariables = [\n \"PATH\",\n \"INCLUDE\",\n \"LIB\",\n \"LIBPATH\"\n ];\n return pathLikeVariables.indexOf(name.toUpperCase()) != -1;\n}\nfunction $18451300975dbfcc$var$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/** See https://github.com/ilammy/msvc-dev-cmd#inputs */ function $18451300975dbfcc$var$setupMSVCDevCmd(arch, sdk, toolset, uwp, spectre, vsversion) {\n if ($aEsRD$process.platform != \"win32\") {\n $kDRhL.info(\"This is not a Windows virtual environment, bye!\");\n return;\n }\n // Add standard location of \"vswhere\" to PATH, in case it's not there.\n $aEsRD$process.env.PATH += $aEsRD$path.delimiter + $18451300975dbfcc$var$VSWHERE_PATH;\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) arch = arch_aliases[arch.toLowerCase()];\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 var args = [\n arch\n ];\n if (uwp == \"true\") args.push(\"uwp\");\n if (sdk) args.push(sdk);\n if (toolset) args.push(`-vcvars_ver=${toolset}`);\n if (spectre == \"true\") args.push(\"-vcvars_spectre_libs=spectre\");\n const vcvars = `\"${$18451300975dbfcc$var$findVcvarsall(vsversion)}\" ${args.join(\" \")}`;\n $kDRhL.debug(`vcvars command-line: ${vcvars}`);\n const cmd_output_string = $aEsRD$child_process.execSync(`set && cls && ${vcvars} && cls && set`, {\n shell: \"cmd\"\n }).toString();\n const cmd_output_parts = cmd_output_string.split(\"\\f\");\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 // 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:$/)) return true;\n }\n return false;\n });\n if (error_messages.length > 0) throw new Error(\"invalid parameters\\r\\n\" + error_messages.join(\"\\r\\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 // 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 $kDRhL.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(\"=\")) continue;\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 $kDRhL.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 ($18451300975dbfcc$var$isPathVariable(name)) new_value = $18451300975dbfcc$var$filterPathValue(new_value);\n $kDRhL.exportVariable(name, new_value);\n }\n }\n $kDRhL.endGroup();\n $kDRhL.info(`Configured Developer Command Prompt`);\n}\n$18451300975dbfcc$export$443b8bb890f5027e = $18451300975dbfcc$var$setupMSVCDevCmd;\n\n\n\n\nvar $7Lz0k = parcelRequire(\"7Lz0k\");\n\nvar $6MdIz = parcelRequire(\"6MdIz\");\nfunction $763bab32b32a381b$var$getArch(arch) {\n switch(arch){\n case \"x32\":\n case \"32\":\n case \"ia32\":\n return \"x86\";\n case \"64\":\n return \"x64\";\n default:\n return arch;\n }\n}\nasync function $763bab32b32a381b$export$5dcf571c91fc8369(vsversion, VCTargetsPath, arch, toolset, sdk, uwp, spectre) {\n if (VCTargetsPath !== undefined && await (0, $6MdIz.pathExists)(VCTargetsPath)) {\n (0, $7Lz0k.info)(`Adding ${VCTargetsPath} to PATH`);\n await (0, $2f24a8df2529dc1c$export$f63d3080ce25e0fd)(\"VCTargetsPath\", VCTargetsPath);\n }\n (0, $18451300975dbfcc$export$443b8bb890f5027e)($763bab32b32a381b$var$getArch(arch), sdk, toolset, uwp, spectre, vsversion);\n}\n\n\n\nclass $29ab686733841a12$export$66d311bf29d5c89c extends Error {\n constructor(message){\n super(message);\n this.name = \"TimeoutError\";\n }\n}\nclass $29ab686733841a12$export$18b052ffd8c84d7 extends Error {\n constructor(message){\n super();\n this.name = \"AbortError\";\n this.message = message;\n }\n}\n/**\nTODO: Remove AbortError and just throw DOMException when targeting Node 18.\n*/ const $29ab686733841a12$var$getDOMException = (errorMessage)=>globalThis.DOMException === undefined ? new $29ab686733841a12$export$18b052ffd8c84d7(errorMessage) : new DOMException(errorMessage);\n/**\nTODO: Remove below function and just 'reject(signal.reason)' when targeting Node 18.\n*/ const $29ab686733841a12$var$getAbortedReason = (signal)=>{\n const reason = signal.reason === undefined ? $29ab686733841a12$var$getDOMException(\"This operation was aborted.\") : signal.reason;\n return reason instanceof Error ? reason : $29ab686733841a12$var$getDOMException(reason);\n};\nfunction $29ab686733841a12$export$2e2bcd8739ae039(promise, options) {\n const { milliseconds: milliseconds, fallback: fallback, message: message, customTimers: customTimers = {\n setTimeout: setTimeout,\n clearTimeout: clearTimeout\n } } = options;\n let timer;\n const wrappedPromise = new Promise((resolve, reject)=>{\n if (typeof milliseconds !== \"number\" || Math.sign(milliseconds) !== 1) throw new TypeError(`Expected \\`milliseconds\\` to be a positive number, got \\`${milliseconds}\\``);\n if (options.signal) {\n const { signal: signal } = options;\n if (signal.aborted) reject($29ab686733841a12$var$getAbortedReason(signal));\n signal.addEventListener(\"abort\", ()=>{\n reject($29ab686733841a12$var$getAbortedReason(signal));\n });\n }\n if (milliseconds === Number.POSITIVE_INFINITY) {\n promise.then(resolve, reject);\n return;\n }\n // We create the error outside of `setTimeout` to preserve the stack trace.\n const timeoutError = new $29ab686733841a12$export$66d311bf29d5c89c();\n timer = customTimers.setTimeout.call(undefined, ()=>{\n if (fallback) {\n try {\n resolve(fallback());\n } catch (error) {\n reject(error);\n }\n return;\n }\n if (typeof promise.cancel === \"function\") promise.cancel();\n if (message === false) resolve();\n else if (message instanceof Error) reject(message);\n else {\n timeoutError.message = message ?? `Promise timed out after ${milliseconds} milliseconds`;\n reject(timeoutError);\n }\n }, milliseconds);\n (async ()=>{\n try {\n resolve(await promise);\n } catch (error) {\n reject(error);\n }\n })();\n });\n const cancelablePromise = wrappedPromise.finally(()=>{\n cancelablePromise.clear();\n });\n cancelablePromise.clear = ()=>{\n customTimers.clearTimeout.call(undefined, timer);\n timer = undefined;\n };\n return cancelablePromise;\n}\n\n\n\nconst $90e51034c89314f8$export$7bd623b29ec8e1eb = 1200000 // 20 minutes\n;\nasync function $90e51034c89314f8$export$ddb4b945c8581272(tool, version, osVersion, arch, setupCppDir, successMessages, errorMessages, timeout = $90e51034c89314f8$export$7bd623b29ec8e1eb) {\n (0, $kDRhL.startGroup)(`Installing ${tool} ${version}`);\n let hasLLVM = false;\n try {\n hasLLVM = await (0, $29ab686733841a12$export$2e2bcd8739ae039)($90e51034c89314f8$var$installToolImpl(tool, version, osVersion, arch, hasLLVM, setupCppDir, successMessages), {\n milliseconds: timeout,\n message: `Timeout while installing ${tool} ${version}. You can increase the timeout from options`\n });\n } catch (e) {\n // push error message to the logger\n (0, $7Lz0k.error)(e);\n errorMessages.push(`${tool} failed to install`);\n }\n (0, $kDRhL.endGroup)();\n return hasLLVM;\n}\nasync function $90e51034c89314f8$var$installToolImpl(tool, version, osVersion, arch, hasLLVM, setupCppDir, successMessages) {\n let installationInfo;\n if (tool === \"vcvarsall\") // eslint-disable-next-line no-await-in-loop\n await (0, $763bab32b32a381b$export$5dcf571c91fc8369)((0, $83fde521434ac405$export$c506eb22e615ba4a)(tool, version, osVersion), undefined, arch, undefined, undefined, false, false);\n else {\n // get the setup function\n const setupFunction = (0, $890def45768c5f86$export$18a3521ac7306af4)[tool];\n // eslint-disable-next-line no-param-reassign\n hasLLVM = [\n \"llvm\",\n \"clangformat\",\n \"clangtidy\"\n ].includes(tool);\n // the tool installation directory (for the functions that ue it)\n const setupDir = (0, $bLa2q.join)(setupCppDir, hasLLVM ? \"llvm\" : tool);\n // eslint-disable-next-line no-await-in-loop\n installationInfo = await setupFunction((0, $83fde521434ac405$export$c506eb22e615ba4a)(tool, version, osVersion), setupDir, arch);\n }\n // preparing a report string\n successMessages.push((0, $3b3c42f0437fd719$export$ad22d805bb3bfaf5)(tool, installationInfo));\n return hasLLVM;\n}\n\n\nconst { readFile: $6ba3e652eb9fc0b2$var$readFile, writeFile: $6ba3e652eb9fc0b2$var$writeFile, chmod: $6ba3e652eb9fc0b2$var$chmod } = (0, $aEsRD$fs.promises);\nvar $6ba3e652eb9fc0b2$export$35fa309210df3df6;\n(function(LLVMPackages) {\n LLVMPackages[LLVMPackages[\"All\"] = 0] = \"All\";\n LLVMPackages[LLVMPackages[\"ClangFormat\"] = 1] = \"ClangFormat\";\n LLVMPackages[LLVMPackages[\"Core\"] = 2] = \"Core\";\n})($6ba3e652eb9fc0b2$export$35fa309210df3df6 || ($6ba3e652eb9fc0b2$export$35fa309210df3df6 = {}));\nasync function $6ba3e652eb9fc0b2$export$a86791c88ded7e54(majorVersion, packages = 0) {\n // TODO for older versions, this also includes the minor version\n const installationFolder = `/usr/lib/llvm-${majorVersion}`;\n await (0, $c28d8ebe1e034757$export$d73dc343f5abf26)([\n {\n name: \"curl\"\n }\n ]);\n await (0, $d883609dd3eb5a67$export$db6b1668e3758717)(\"curl\", [\n \"-LJO\",\n \"https://apt.llvm.org/llvm.sh\"\n ], {\n cwd: \"/tmp\"\n });\n const neededPackages = await $6ba3e652eb9fc0b2$var$patchAptLLVMScript(\"/tmp/llvm.sh\", \"/tmp/llvm-setup-cpp.sh\", majorVersion, packages);\n await (0, $c28d8ebe1e034757$export$d73dc343f5abf26)(neededPackages);\n await $6ba3e652eb9fc0b2$var$chmod(\"/tmp/llvm-setup-cpp.sh\", \"755\");\n await (0, $a41cd8ed4acfdead$export$351270479e2eef26)(\"bash\", [\n \"/tmp/llvm-setup-cpp.sh\",\n `${majorVersion}`,\n ...packages === 0 ? [\n \"all\"\n ] : []\n ], {\n stdio: \"inherit\",\n shell: true,\n timeout: (0, $90e51034c89314f8$export$7bd623b29ec8e1eb)\n });\n await (0, $2f24a8df2529dc1c$export$4c25481b843feb0b)(`${installationFolder}/bin`);\n return {\n installDir: `${installationFolder}`,\n binDir: `${installationFolder}/bin`,\n bin: `${installationFolder}/bin/clang++`\n };\n}\nasync function $6ba3e652eb9fc0b2$var$patchAptLLVMScript(path, target_path, majorVersion, packages) {\n let script = await $6ba3e652eb9fc0b2$var$readFile(path, \"utf-8\");\n script = $6ba3e652eb9fc0b2$var$debugScript(script);\n script = $6ba3e652eb9fc0b2$var$nonInteractiveScript(script);\n script = $6ba3e652eb9fc0b2$var$choosePackages(packages, script, majorVersion);\n script = await $6ba3e652eb9fc0b2$var$removeConflictingPackages(script);\n script = $6ba3e652eb9fc0b2$var$useNalaScript(script);\n await $6ba3e652eb9fc0b2$var$writeFile(target_path, script);\n // the packages needed by the script\n return [\n {\n name: \"lsb-release\"\n },\n {\n name: \"wget\"\n },\n {\n name: \"software-properties-common\"\n },\n {\n name: \"gnupg\"\n }\n ];\n}\nfunction $6ba3e652eb9fc0b2$var$debugScript(script) {\n if (!process.env.NODE_DEBUG) return script.replace(/set -eux/g, \"set -eu\");\n return script;\n}\nfunction $6ba3e652eb9fc0b2$var$nonInteractiveScript(script) {\n // make the scirpt non-interactive and fix broken packages\n return script.replace(/add-apt-repository \"\\${REPO_NAME}\"/g, // eslint-disable-next-line no-template-curly-in-string\n 'add-apt-repository -y \"${REPO_NAME}\"');\n}\nasync function $6ba3e652eb9fc0b2$var$removeConflictingPackages(givenScript) {\n // fix conflicts between libclang-rt and libclang\n let script = givenScript.replace(/apt-get install -y/g, 'apt-get install -o Dpkg::Options::=\"--force-overwrite\" -y --fix-broken');\n // check if these are installed and if so, remove them from the script as they conflict\n const conflictingPackages = [\n \"libc++-$LLVM_VERSION-dev\",\n \"libc++abi-$LLVM_VERSION-dev\",\n \"libunwind-$LLVM_VERSION-dev\"\n ];\n await Promise.all(conflictingPackages.map(async (pack)=>{\n const installingPack = pack.replace(\"$LLVM_VERSION\", \"*\");\n if (await (0, $c28d8ebe1e034757$export$ec2e4deaa1231ecf)(installingPack)) {\n (0, $aEsRD$console.info)(`Removing conflicting package ${installingPack}`);\n script = script.replace(pack, \"\");\n }\n }));\n return script;\n}\nfunction $6ba3e652eb9fc0b2$var$useNalaScript(script) {\n // use nala if it is available\n if ((0, $c28d8ebe1e034757$export$89548d91e84ae1a1)()) return script.replace(/apt-get/g, \"nala\");\n return script;\n}\nfunction $6ba3e652eb9fc0b2$var$choosePackages(packages, script, majorVersion) {\n if (packages === 1) return script.replace(/ -y \\$PKG/g, ` -y clang-format-${majorVersion}`);\n return script;\n}\n\n\n\nvar $dMdWX = parcelRequire(\"dMdWX\");\n\n\n\nvar $7Lz0k = parcelRequire(\"7Lz0k\");\n\nvar $bLa2q = parcelRequire(\"bLa2q\");\n\nconst $d306204283819841$export$aa5307f1aca77413 = (0, $9ae3c26b3cc5ff2a$export$cbd9528a83fbffa1)([\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 \"15.0.0\",\n \"15.0.1\",\n \"15.0.2\",\n \"15.0.3\",\n \"15.0.4\",\n \"15.0.5\",\n \"15.0.6\",\n \"15.0.7\",\n \"16.0.0\",\n \"16.0.1\",\n \"16.0.2\",\n \"16.0.3\",\n \"16.0.4\",\n \"16.0.5\",\n \"16.0.6\",\n \"17.0.1\",\n \"17.0.2\",\n \"17.0.3\",\n \"17.0.4\",\n \"17.0.5\"\n]);\n/** The LLVM versions that were never released for the Windows platform. */ const $d306204283819841$var$WIN32_MISSING = new Set([\n \"10.0.1\",\n \"15.0.5\",\n \"15.0.6\",\n \"17.0.5\"\n]);\n/** The LLVM versions that were never released for the Darwin platform. */ const $d306204283819841$var$DARWIN_MISSING = 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 // missing x86_64\n // TODO add arm64 support\n \"15.0.4\",\n \"15.0.5\",\n \"15.0.6\",\n \"16.0.0\",\n \"16.0.1\",\n \"16.0.2\",\n \"16.0.3\",\n \"16.0.4\",\n \"16.0.5\",\n \"16.0.6\",\n \"17.0.1\",\n \"17.0.2\",\n \"17.0.3\",\n \"17.0.4\",\n \"17.0.5\"\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 */ const $d306204283819841$var$UBUNTU_RC = new Map();\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 */ // TODO change based on ubuntu version\nconst $d306204283819841$var$UBUNTU_SUFFIX_MAP = {\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 \"15.0.2\": \"-rhel86\",\n \"15.0.5\": \"-ubuntu-18.04\",\n \"15.0.6\": \"-ubuntu-18.04\",\n \"16.0.0\": \"-ubuntu-18.04\",\n \"16.0.2\": \"-ubuntu-22.04\",\n \"16.0.3\": \"-ubuntu-22.04\",\n \"16.0.4\": \"-ubuntu-22.04\",\n \"17.0.2\": \"-ubuntu-22.04\",\n \"17.0.4\": \"-ubuntu-22.04\",\n \"17.0.5\": \"-ubuntu-22.04\"\n};\n/** The latest supported LLVM version for the Linux (Ubuntu) platform. */ const $d306204283819841$var$MAX_UBUNTU = \"17.0.5\";\n//================================================\n// URL\n//================================================\n/** Gets a LLVM download URL for GitHub. */ function $d306204283819841$var$getGitHubUrl(version, prefix, suffix) {\n const file = `${prefix}${version}${suffix}`;\n return `https://github.com/llvm/llvm-project/releases/download/llvmorg-${version}/${file}`;\n}\n/** Gets a LLVM download URL for https://releases.llvm.org. */ function $d306204283819841$var$getReleaseUrl(version, prefix, suffix) {\n const file = `${prefix}${version}${suffix}`;\n return `https://releases.llvm.org/${version}/${file}`;\n}\n/** Gets an LLVM download URL for the Darwin platform. */ function $d306204283819841$var$getDarwinUrl(version) {\n if ($d306204283819841$var$DARWIN_MISSING.has(version)) return null;\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 ((0, (/*@__PURE__*/$parcel$interopDefault($dMdWX)))(version, \"9.0.1\")) return $d306204283819841$var$getReleaseUrl(version, prefix, suffix);\n else return $d306204283819841$var$getGitHubUrl(version, prefix, suffix);\n}\nfunction $d306204283819841$export$ae24f9682a44836b(versionGiven) {\n let version = versionGiven;\n const rc = $d306204283819841$var$UBUNTU_RC.get(version);\n if (rc !== undefined) version = rc;\n let linuxVersion;\n // ubuntu-version is specified\n if (version.includes(\"ubuntu\")) {\n const givenUbuntuVersion = version.replace(/-ubuntu-.*/, \"\");\n if (!$d306204283819841$export$aa5307f1aca77413.has(givenUbuntuVersion)) throw new Error(`Unsupported Ubuntu version: ${givenUbuntuVersion}`);\n linuxVersion = version.replace(givenUbuntuVersion, \"\");\n version = (0, $9ae3c26b3cc5ff2a$export$deb1064c8260c54c)($d306204283819841$export$aa5307f1aca77413, givenUbuntuVersion)[0];\n } else if (version !== \"\" && version in $d306204283819841$var$UBUNTU_SUFFIX_MAP) linuxVersion = $d306204283819841$var$UBUNTU_SUFFIX_MAP[version];\n else {\n // default to the maximum version\n linuxVersion = $d306204283819841$var$UBUNTU_SUFFIX_MAP[$d306204283819841$var$MAX_UBUNTU];\n (0, $7Lz0k.warning)(`Falling back to LLVM version ${$d306204283819841$var$MAX_UBUNTU} ${linuxVersion} for the Ubuntu.`);\n }\n const prefix = \"clang+llvm-\";\n let suffix;\n if (version === \"5.0.0\") suffix = `-linux-x86_64${linuxVersion}.tar.xz`;\n else if (linuxVersion.includes(\"-rhel86\")) suffix = `-x86_64-unknown-linux-gnu${linuxVersion}.tar.xz`;\n else suffix = `-x86_64-linux-gnu${linuxVersion}.tar.xz`;\n if ((0, (/*@__PURE__*/$parcel$interopDefault($dMdWX)))(version, \"9.0.1\")) return $d306204283819841$var$getReleaseUrl(version, prefix, suffix);\n else return $d306204283819841$var$getGitHubUrl(version, prefix, suffix);\n}\n/** Gets an LLVM download URL for the Windows platform. */ async function $d306204283819841$var$getWin32Url(version) {\n if ($d306204283819841$var$WIN32_MISSING.has(version)) return null;\n const prefix = \"LLVM-\";\n const suffix = (0, (/*@__PURE__*/$parcel$interopDefault($dMdWX)))(version, \"3.7.0\") ? \"-win32.exe\" : \"-win64.exe\";\n const olderThan9_1 = (0, (/*@__PURE__*/$parcel$interopDefault($dMdWX)))(version, \"9.0.1\");\n let url;\n let fallback = false;\n if (olderThan9_1) {\n url = $d306204283819841$var$getReleaseUrl(version, prefix, suffix);\n if (!await (0, $a4aa372328f33847$export$61e6a71eee2b02f9)(url)) fallback = true // fallback to github\n ;\n }\n if (fallback || !olderThan9_1) url = $d306204283819841$var$getGitHubUrl(version, prefix, suffix);\n return url;\n}\nfunction $d306204283819841$export$94df0e59ebebf4a7(platform, version) {\n switch(platform){\n case \"darwin\":\n return $d306204283819841$var$getDarwinUrl(version);\n case \"linux\":\n return $d306204283819841$export$ae24f9682a44836b(version);\n case \"win32\":\n return $d306204283819841$var$getWin32Url(version);\n default:\n return null;\n }\n}\nasync function $d306204283819841$export$f203993d12226a27(version, platform, // eslint-disable-next-line @typescript-eslint/no-unused-vars\n_arch) {\n const [specificVersion, url] = await (0, $9ae3c26b3cc5ff2a$export$4e4d3581f69a6d71)($d306204283819841$export$aa5307f1aca77413, platform, version, $d306204283819841$export$94df0e59ebebf4a7);\n (0, $7Lz0k.info)(`specific llvm version: ${specificVersion}`);\n return {\n url: url,\n extractedFolderName: \"\",\n binRelativeDir: \"bin\",\n binFileName: (0, $bLa2q.addExeExt)(\"clang\"),\n extractFunction: platform === \"win32\" ? (0, $334bd34d50e00f0e$export$7949938b2681a4f0) : (file, dest)=>{\n return (0, $334bd34d50e00f0e$export$2ab07ac150064014)(file, dest, [\n \"--strip-components=1\"\n ]);\n }\n };\n}\n\n\n\nvar $8f0f3adb296a989f$var$$parcel$__dirname = $aEsRD$path.resolve(__dirname, \"../../src/llvm\");\nasync function $8f0f3adb296a989f$export$3016de7ae9d14988(version, setupDir, arch) {\n const installationInfo = await $8f0f3adb296a989f$var$setupLLVMWithoutActivation(version, setupDir, arch);\n await $8f0f3adb296a989f$export$6238b5ebfd6640e7(installationInfo.installDir ?? setupDir);\n return installationInfo;\n}\nasync function $8f0f3adb296a989f$var$setupLLVMWithoutActivation_raw(version, setupDir, arch) {\n // install LLVM and its dependencies in parallel\n const [installationInfo, _1, _2] = await Promise.all([\n $8f0f3adb296a989f$var$setupLLVMOnly(version, setupDir, arch),\n $8f0f3adb296a989f$var$setupLLVMDeps(arch),\n $8f0f3adb296a989f$var$addLLVMLoggingMatcher()\n ]);\n return installationInfo;\n}\nconst $8f0f3adb296a989f$var$setupLLVMWithoutActivation = (0, $e64ad6d4e4d5b46a$export$2e2bcd8739ae039)($8f0f3adb296a989f$var$setupLLVMWithoutActivation_raw, {\n isPromise: true\n});\nfunction $8f0f3adb296a989f$export$1cf2d186cecf1f54(version, setupDir, arch) {\n return $8f0f3adb296a989f$var$setupLLVMOnly(version, setupDir, arch, (0, $6ba3e652eb9fc0b2$export$35fa309210df3df6).ClangFormat);\n}\nfunction $8f0f3adb296a989f$export$814ccfc953503728(version, setupDir, arch) {\n return $8f0f3adb296a989f$var$setupLLVMOnly(version, setupDir, arch);\n}\nasync function $8f0f3adb296a989f$var$setupLLVMOnly(version, setupDir, arch, packages = (0, $6ba3e652eb9fc0b2$export$35fa309210df3df6).All) {\n const coeredVersion = (0, $9ae3c26b3cc5ff2a$export$afd7401db249098f)(version);\n const majorVersion = parseInt(coeredVersion.split(\".\")[0], 10);\n try {\n if ((0, $20fc1212ead529fb$export$da8baf1d6c6802b6)()) return await (0, $6ba3e652eb9fc0b2$export$a86791c88ded7e54)(majorVersion, packages);\n } catch (err) {\n (0, $7Lz0k.info)(`Failed to install llvm via system package manager ${err}`);\n }\n const installationInfo = await (0, $7dbd062890ddcaab$export$334f77c9844c21f6)(\"llvm\", version, (0, $d306204283819841$export$f203993d12226a27), setupDir, arch);\n await $8f0f3adb296a989f$var$llvmBinaryDeps(majorVersion);\n return installationInfo;\n}\nasync function $8f0f3adb296a989f$var$llvmBinaryDeps_raw(majorVersion) {\n if ((0, $20fc1212ead529fb$export$da8baf1d6c6802b6)()) {\n if (majorVersion <= 10) await (0, $c28d8ebe1e034757$export$d73dc343f5abf26)([\n {\n name: \"libtinfo5\"\n }\n ]);\n else await (0, $c28d8ebe1e034757$export$d73dc343f5abf26)([\n {\n name: \"libtinfo-dev\"\n }\n ]);\n }\n}\nconst $8f0f3adb296a989f$var$llvmBinaryDeps = (0, $e64ad6d4e4d5b46a$export$2e2bcd8739ae039)($8f0f3adb296a989f$var$llvmBinaryDeps_raw, {\n isPromise: true\n});\nasync function $8f0f3adb296a989f$var$setupLLVMDeps_raw(arch) {\n if (process.platform === \"linux\") // using llvm requires ld, an up to date libstdc++, etc. So, install gcc first,\n // but with a lower priority than the one used by activateLLVM()\n await (0, $c5bcc6df675a953c$export$405fab3de79b77b)((0, $83fde521434ac405$export$c506eb22e615ba4a)(\"gcc\", undefined, await (0, $7407b79f302e7dfb$export$49c9cf1111dfa0ee)()), \"\", arch, 40);\n}\nconst $8f0f3adb296a989f$var$setupLLVMDeps = (0, $e64ad6d4e4d5b46a$export$2e2bcd8739ae039)($8f0f3adb296a989f$var$setupLLVMDeps_raw, {\n isPromise: true\n});\nasync function $8f0f3adb296a989f$export$6238b5ebfd6640e7(directory) {\n const ld = process.env.LD_LIBRARY_PATH ?? \"\";\n const dyld = process.env.DYLD_LIBRARY_PATH ?? \"\";\n const actPromises = [\n // the output of this action\n (0, $2f24a8df2529dc1c$export$f63d3080ce25e0fd)(\"LLVM_PATH\", directory),\n // Setup LLVM as the compiler\n (0, $2f24a8df2529dc1c$export$f63d3080ce25e0fd)(\"LD_LIBRARY_PATH\", `${directory}/lib${(0, $aEsRD$path.delimiter)}${ld}`),\n (0, $2f24a8df2529dc1c$export$f63d3080ce25e0fd)(\"DYLD_LIBRARY_PATH\", `${directory}/lib${(0, $aEsRD$path.delimiter)}${dyld}`),\n // compiler flags\n (0, $2f24a8df2529dc1c$export$f63d3080ce25e0fd)(\"LDFLAGS\", `-L\"${directory}/lib\"`),\n (0, $2f24a8df2529dc1c$export$f63d3080ce25e0fd)(\"CPPFLAGS\", `-I\"${directory}/include\"`),\n // compiler paths\n (0, $2f24a8df2529dc1c$export$f63d3080ce25e0fd)(\"CC\", (0, $bLa2q.addExeExt)(`${directory}/bin/clang`)),\n (0, $2f24a8df2529dc1c$export$f63d3080ce25e0fd)(\"CXX\", (0, $bLa2q.addExeExt)(`${directory}/bin/clang++`)),\n (0, $2f24a8df2529dc1c$export$f63d3080ce25e0fd)(\"LIBRARY_PATH\", `${directory}/lib`),\n // os sdks\n (0, $ce4a769f1296c7b8$export$28f5fd35e3005b7a)()\n ];\n // TODO Causes issues with clangd\n // TODO Windows builds fail with llvm's CPATH\n // if (process.platform !== \"win32\") {\n // if (await pathExists(`${directory}/lib/clang/${version}/include`)) {\n // promises.push(addEnv(\"CPATH\", `${directory}/lib/clang/${version}/include`))\n // } else if (await pathExists(`${directory}/lib/clang/${llvmMajor}/include`)) {\n // promises.push(addEnv(\"CPATH\", `${directory}/lib/clang/${llvmMajor}/include`))\n // }\n // }\n if ((0, $20fc1212ead529fb$export$da8baf1d6c6802b6)()) {\n const priority = 60;\n actPromises.push((0, $c28d8ebe1e034757$export$6fe6436bd9f53d02)(\"cc\", `${directory}/bin/clang`, priority), (0, $c28d8ebe1e034757$export$6fe6436bd9f53d02)(\"cxx\", `${directory}/bin/clang++`, priority), (0, $c28d8ebe1e034757$export$6fe6436bd9f53d02)(\"clang\", `${directory}/bin/clang`), (0, $c28d8ebe1e034757$export$6fe6436bd9f53d02)(\"clang++\", `${directory}/bin/clang++`), (0, $c28d8ebe1e034757$export$6fe6436bd9f53d02)(\"lld\", `${directory}/bin/lld`), (0, $c28d8ebe1e034757$export$6fe6436bd9f53d02)(\"ld.lld\", `${directory}/bin/ld.lld`), (0, $c28d8ebe1e034757$export$6fe6436bd9f53d02)(\"llvm-ar\", `${directory}/bin/llvm-ar`));\n }\n await Promise.all(actPromises);\n}\nasync function $8f0f3adb296a989f$var$addLLVMLoggingMatcher() {\n if (0, $l6WDk.GITHUB_ACTIONS) {\n const matcherPath = (0, $bLa2q.join)($8f0f3adb296a989f$var$$parcel$__dirname, \"llvm_matcher.json\");\n if (!await (0, $6MdIz.pathExists)(matcherPath)) return (0, $7Lz0k.warning)(\"the llvm_matcher.json file does not exist in the same folder as setup-cpp.js\");\n (0, $7Lz0k.info)(`::add-matcher::${matcherPath}`);\n }\n}\n\n\n\n\n\n\n\n\n\n\n\nasync function $4834294045c34ca1$export$b0a9411329e2916(version, _setupDir, _arch) {\n switch(process.platform){\n case \"win32\":\n return (0, $953ade167c7bc14a$export$9f6912bc890040b2)(\"make\", version);\n case \"darwin\":\n await (0, $d04dcbafc5bebef1$export$ce5d13d8a85cb784)(\"make\", version);\n await (0, $2f24a8df2529dc1c$export$4c25481b843feb0b)(\"/usr/local/opt/make/libexec/gnubin\");\n return {\n binDir: \"/usr/local/opt/make/libexec/gnubin\"\n };\n case \"linux\":\n if ((0, $9aeb5896658945db$export$d415ddb6702ec3a2)()) return (0, $8310f4b4d4fddda5$export$cfa75578ee2d6e6c)(\"make\", version);\n else if ((0, $3886c66546fd08fe$export$8ce8b4b22331a8c7)()) return (0, $c19966177a67898f$export$49d4f9ba8e0dd34f)([\n {\n name: \"make\",\n version: version\n }\n ]);\n else if ((0, $20fc1212ead529fb$export$da8baf1d6c6802b6)()) return (0, $c28d8ebe1e034757$export$d73dc343f5abf26)([\n {\n name: \"make\",\n version: version\n }\n ]);\n throw new Error(`Unsupported linux distribution`);\n default:\n throw new Error(`Unsupported platform`);\n }\n}\n\n\n\nfunction $c8bc36ae575cf199$export$f73905553f087748(version, _setupDir, _arch) {\n return (0, $5d78454eba2028c3$export$4020cb77ffa3ffac)(\"meson\", version);\n}\n\n\n\n\n\n\nvar $l6WDk = parcelRequire(\"l6WDk\");\n\nvar $bLa2q = parcelRequire(\"bLa2q\");\n\nvar $7Lz0k = parcelRequire(\"7Lz0k\");\n\nvar $6MdIz = parcelRequire(\"6MdIz\");\n\nvar $f1e9ac818bcfac2d$var$$parcel$__dirname = $aEsRD$path.resolve(__dirname, \"../../src/msvc\");\nasync function $f1e9ac818bcfac2d$export$a91ef0362c1a7298(versionGiven, _setupDir, arch, sdk, uwp, spectre) {\n if (process.platform !== \"win32\") return;\n const version = (0, $18451300975dbfcc$export$3c7cae5a162b1458)(versionGiven);\n // check if the given version is already installed\n (0, $7Lz0k.info)(`Checking if MSVC ${version} is already installed`);\n let installed = false;\n try {\n const vcvarsall_path = (0, $18451300975dbfcc$export$a6a3bfb882356813)(version);\n installed = true;\n (0, $7Lz0k.info)(`Found the pre-installed version of MSVC at ${vcvarsall_path}`);\n } catch {\n // not installed, try installing\n }\n let toolset;\n let VCTargetsPath;\n // https://github.com/aminya/setup-cpp/issues/1\n if (!installed) try {\n if (version === \"14.0\") {\n toolset = \"14.0\";\n await (0, $953ade167c7bc14a$export$9f6912bc890040b2)(\"visualcpp-build-tools\", \"14.0.25420.1\", [\n \"--ignore-dependencies\"\n ]);\n VCTargetsPath = \"C:/Program Files (x86)/MSBuild/Microsoft.Cpp/v4.0/v140\";\n } else if (version === \"15.0\") {\n toolset = \"14.16\";\n await (0, $953ade167c7bc14a$export$9f6912bc890040b2)(\"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 ;\n } else if (version === \"16.0\") {\n toolset = \"14.29\";\n await (0, $953ade167c7bc14a$export$9f6912bc890040b2)(\"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 (0, $953ade167c7bc14a$export$9f6912bc890040b2)(\"visualstudio2022buildtools\", \"117.0.5.0\", []);\n VCTargetsPath = undefined;\n } else (0, $7Lz0k.error)(`The given MSVC versions ${versionGiven} is not supported yet.`);\n } catch (e) {\n (0, $7Lz0k.error)(e);\n }\n // run vcvarsall.bat environment variables\n await (0, $763bab32b32a381b$export$5dcf571c91fc8369)(version, VCTargetsPath, arch, toolset, sdk, uwp, spectre);\n if (0, $l6WDk.GITHUB_ACTIONS) await $f1e9ac818bcfac2d$var$addMSVCLoggingMatcher();\n}\nasync function $f1e9ac818bcfac2d$var$addMSVCLoggingMatcher() {\n const matcherPath = (0, $bLa2q.join)($f1e9ac818bcfac2d$var$$parcel$__dirname, \"msvc_matcher.json\");\n if (!await (0, $6MdIz.pathExists)(matcherPath)) return (0, $7Lz0k.warning)(\"the msvc_matcher.json file does not exist in the same folder as setup-cpp.js\");\n (0, $7Lz0k.info)(`::add-matcher::${matcherPath}`);\n}\n\n\n\nvar $bLa2q = parcelRequire(\"bLa2q\");\n\n\n\n\nlet $47b09d5394f60110$var$binDir;\nasync function $47b09d5394f60110$export$d73cbe8caeff03c5(version, _setupDir, _arch) {\n if (!(0, $20fc1212ead529fb$export$da8baf1d6c6802b6)()) return undefined;\n if (typeof $47b09d5394f60110$var$binDir === \"string\") return {\n binDir: $47b09d5394f60110$var$binDir\n };\n const maybeBinDir = (0, (/*@__PURE__*/$parcel$interopDefault($213a898fd02ffa77$exports))).sync(\"nala\", {\n nothrow: true\n });\n if (maybeBinDir !== null) {\n $47b09d5394f60110$var$binDir = (0, $bLa2q.dirname)(maybeBinDir);\n return {\n binDir: $47b09d5394f60110$var$binDir\n };\n }\n // https://github.com/volitank/nala#-installation\n const keyFileName = await (0, $c28d8ebe1e034757$export$7fb1a688af1305f0)(\"volian-archive-scar-unstable.gpg\", \"https://deb.volian.org/volian/scar.key\");\n (0, $a41cd8ed4acfdead$export$58f152936f209932)(\"/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 try {\n if (version !== \"legacy\") await (0, $c28d8ebe1e034757$export$d73dc343f5abf26)([\n {\n name: \"nala\"\n }\n ], true);\n else await (0, $c28d8ebe1e034757$export$d73dc343f5abf26)([\n {\n name: \"nala-legacy\"\n }\n ], true);\n } catch (err) {\n await (0, $c28d8ebe1e034757$export$d73dc343f5abf26)([\n {\n name: \"nala-legacy\"\n }\n ], true);\n }\n $47b09d5394f60110$var$binDir = \"/usr/bin\" // eslint-disable-line require-atomic-updates\n ;\n return {\n binDir: $47b09d5394f60110$var$binDir\n };\n}\nfunction $47b09d5394f60110$export$2747aa8ef20f818d(script) {\n if ((0, $c28d8ebe1e034757$export$89548d91e84ae1a1)()) return `apt-get() { nala $@; }; export -f apt-get; ${script}; unset -f apt-get`;\n return script;\n}\n\n\n\n\n\nasync function $e745c5614c81a652$export$6aa28a97600a8ae3(version, _setupDir, _arch) {\n if (process.platform !== \"win32\") return;\n await (0, $953ade167c7bc14a$export$9f6912bc890040b2)(\"opencppcoverage\", version);\n const binDir = await $e745c5614c81a652$var$activateOpencppcoverage();\n return {\n binDir: binDir\n };\n}\nasync function $e745c5614c81a652$var$activateOpencppcoverage() {\n const binDir = \"C:/Program Files/OpenCppCoverage\";\n await (0, $2f24a8df2529dc1c$export$4c25481b843feb0b)(binDir);\n return binDir;\n}\n\n\n\n\n\n\n\n\n\n\n\n\n\nasync function $f1a805d41b18128f$export$1ff6ad96ee130aba(version, _setupDir, _arch) {\n switch(process.platform){\n case \"win32\":\n {\n await (0, $953ade167c7bc14a$export$9f6912bc890040b2)(\"powershell-core\", version);\n const binDir = \"C:/Program Files/PowerShell/7\";\n await (0, $2f24a8df2529dc1c$export$4c25481b843feb0b)(binDir);\n return {\n binDir: binDir\n };\n }\n case \"darwin\":\n return (0, $d04dcbafc5bebef1$export$ce5d13d8a85cb784)(\"powershell\", version, [\n \"--cask\"\n ]);\n case \"linux\":\n if ((0, $9aeb5896658945db$export$d415ddb6702ec3a2)()) return (0, $8310f4b4d4fddda5$export$cfa75578ee2d6e6c)(\"powershell-bin\", version, \"yay\");\n else if ((0, $3886c66546fd08fe$export$8ce8b4b22331a8c7)()) {\n (0, $c19966177a67898f$export$49d4f9ba8e0dd34f)([\n {\n name: \"curl\"\n }\n ]);\n (0, $a41cd8ed4acfdead$export$58f152936f209932)(\"/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 (0, $c19966177a67898f$export$49d4f9ba8e0dd34f)([\n {\n name: \"powershell\",\n version: version\n }\n ]);\n } else if ((0, $20fc1212ead529fb$export$da8baf1d6c6802b6)()) {\n await (0, $c28d8ebe1e034757$export$d73dc343f5abf26)([\n {\n name: \"curl\"\n }\n ]);\n const ubuntuVerSplitted = await (0, $7407b79f302e7dfb$export$49c9cf1111dfa0ee)();\n const ubuntuVersionString = `${ubuntuVerSplitted[0]}.0${ubuntuVerSplitted[1]}`;\n (0, $a41cd8ed4acfdead$export$58f152936f209932)(\"curl\", [\n \"-LJO\",\n `https://packages.microsoft.com/config/ubuntu/${ubuntuVersionString}/packages-microsoft-prod.deb`\n ]);\n (0, $a41cd8ed4acfdead$export$58f152936f209932)(\"dpkg\", [\n \"-i\",\n \"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 return (0, $c28d8ebe1e034757$export$d73dc343f5abf26)([\n {\n name: \"powershell\",\n version: version\n }\n ], true);\n }\n throw new Error(`Unsupported linux distribution`);\n default:\n throw new Error(`Unsupported platform`);\n }\n}\n\n\n\n\n\nfunction $ba1fb1dd270764ec$export$b963b67cda80fdc(version, _setupDir, _arch) {\n switch(process.platform){\n case \"win32\":\n return (0, $953ade167c7bc14a$export$9f6912bc890040b2)(\"sccache\", version);\n case \"linux\":\n case \"darwin\":\n return (0, $d04dcbafc5bebef1$export$ce5d13d8a85cb784)(\"sccache\", version);\n default:\n throw new Error(`Unsupported platform`);\n }\n}\n\n\n\n\nvar $bLa2q = parcelRequire(\"bLa2q\");\n\n\n/** Get the platform name task uses in their download links */ function $8f33b7bb6ec530f2$var$getTaskPlatform(platform) {\n switch(platform){\n case \"win32\":\n return \"windows\";\n default:\n return platform;\n }\n}\n/** Get the arch name task uses in their download links */ function $8f33b7bb6ec530f2$var$getTaskArch(arch) {\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/** Get the platform data for task */ function $8f33b7bb6ec530f2$var$getTaskPackageInfo(version, platform, arch) {\n const taskPlatform = $8f33b7bb6ec530f2$var$getTaskPlatform(platform);\n const taskArch = $8f33b7bb6ec530f2$var$getTaskArch(arch);\n const isZip = platform === \"win32\";\n const extension = isZip ? \"zip\" : \"tar.gz\";\n return {\n binRelativeDir: \"\",\n binFileName: (0, $bLa2q.addExeExt)(\"task\"),\n extractedFolderName: \"\",\n extractFunction: isZip ? (0, $334bd34d50e00f0e$export$6411c5cbab21135b) : (0, $334bd34d50e00f0e$export$2ab07ac150064014),\n url: `https://github.com/go-task/task/releases/download/v${version}/task_${taskPlatform}_${taskArch}.${extension}`\n };\n}\nfunction $8f33b7bb6ec530f2$export$4456b3a3d3540077(version, setupDir, arch) {\n return (0, $7dbd062890ddcaab$export$334f77c9844c21f6)(\"task\", version, $8f33b7bb6ec530f2$var$getTaskPackageInfo, setupDir, arch);\n}\n\n\n\n\nvar $7Lz0k = parcelRequire(\"7Lz0k\");\n\nvar $6MdIz = parcelRequire(\"6MdIz\");\n\nvar $bLa2q = parcelRequire(\"bLa2q\");\n\n\n\n\n\n\n\n\n\nlet $e224676da2c495f0$var$hasVCPKG = false;\nasync function $e224676da2c495f0$export$490bdba4ef3e3f82(_version, setupDir, _arch) {\n if (!$e224676da2c495f0$var$hasVCPKG || (0, (/*@__PURE__*/$parcel$interopDefault($213a898fd02ffa77$exports))).sync(\"vcpkg\", {\n nothrow: true\n }) === null) {\n if (process.platform === \"linux\") {\n // vcpkg download and extraction dependencies\n if ((0, $9aeb5896658945db$export$d415ddb6702ec3a2)()) await Promise.all([\n (0, $8310f4b4d4fddda5$export$cfa75578ee2d6e6c)(\"curl\"),\n (0, $8310f4b4d4fddda5$export$cfa75578ee2d6e6c)(\"zip\"),\n (0, $8310f4b4d4fddda5$export$cfa75578ee2d6e6c)(\"unzip\"),\n (0, $8310f4b4d4fddda5$export$cfa75578ee2d6e6c)(\"tar\"),\n (0, $8310f4b4d4fddda5$export$cfa75578ee2d6e6c)(\"git\"),\n (0, $8310f4b4d4fddda5$export$cfa75578ee2d6e6c)(\"pkg-config\")\n ]);\n else if ((0, $3886c66546fd08fe$export$8ce8b4b22331a8c7)()) await (0, $c19966177a67898f$export$49d4f9ba8e0dd34f)([\n {\n name: \"curl\"\n },\n {\n name: \"zip\"\n },\n {\n name: \"unzip\"\n },\n {\n name: \"tar\"\n },\n {\n name: \"git\"\n },\n {\n name: \"pkg-config\"\n }\n ]);\n else if ((0, $20fc1212ead529fb$export$da8baf1d6c6802b6)()) await (0, $c28d8ebe1e034757$export$d73dc343f5abf26)([\n {\n name: \"curl\"\n },\n {\n name: \"zip\"\n },\n {\n name: \"unzip\"\n },\n {\n name: \"tar\"\n },\n {\n name: \"git\"\n },\n {\n name: \"pkg-config\"\n }\n ]);\n }\n if (!await (0, $6MdIz.pathExists)((0, $bLa2q.join)(setupDir, (0, $bLa2q.addShExt)(\"bootstrap-vcpkg\", \".bat\")))) (0, $d883609dd3eb5a67$export$28823a701bb5a12d)(\"git\", [\n \"clone\",\n \"https://github.com/microsoft/vcpkg\"\n ], {\n cwd: (0, $bLa2q.dirname)(setupDir),\n stdio: \"inherit\"\n });\n else (0, $7Lz0k.notice)(`Vcpkg folder already exists at ${setupDir}. This might mean that ~/vcpkg is restored from the cache.`);\n (0, $d883609dd3eb5a67$export$28823a701bb5a12d)((0, $bLa2q.addShExt)((0, $bLa2q.addShRelativePrefix)(\"bootstrap-vcpkg\"), \".bat\"), {\n cwd: setupDir,\n shell: true,\n stdio: \"inherit\"\n });\n await (0, $8877f7db54427893$export$4718e061a205eab)(setupDir);\n await (0, $2f24a8df2529dc1c$export$4c25481b843feb0b)(setupDir);\n // eslint-disable-next-line require-atomic-updates\n $e224676da2c495f0$var$hasVCPKG = true;\n return {\n binDir: setupDir\n };\n }\n return {\n binDir: (0, $bLa2q.dirname)((0, (/*@__PURE__*/$parcel$interopDefault($213a898fd02ffa77$exports))).sync(\"vcpkg\"))\n };\n}\n\n\n\nconst $890def45768c5f86$export$18a3521ac7306af4 = {\n nala: (0, $47b09d5394f60110$export$d73cbe8caeff03c5),\n cmake: (0, $24ae2ed334e3fc9e$export$c28663a621f418ce),\n ninja: (0, $b31f931d02d7e6cb$export$e6190f4bfe2ef71),\n python: (0, $29e5d8652dc51d70$export$2b0b68e9df3d4a02),\n vcpkg: (0, $e224676da2c495f0$export$490bdba4ef3e3f82),\n bazel: (0, $a40e1fc0f7d6a0ef$export$a66bc93580b0a849),\n conan: (0, $ae75412612fe2e3e$export$249d0c7d779d362f),\n meson: (0, $c8bc36ae575cf199$export$f73905553f087748),\n gcovr: (0, $719e7985de30e2f2$export$b98d69f362caf61f),\n opencppcoverage: (0, $e745c5614c81a652$export$6aa28a97600a8ae3),\n llvm: (0, $8f0f3adb296a989f$export$3016de7ae9d14988),\n gcc: (0, $c5bcc6df675a953c$export$405fab3de79b77b),\n choco: (0, $9ccbddfd63a1d0a8$export$b804d731cdad7ef9),\n brew: (0, $7eeef95f58db9236$export$c5eeb9c87a610a0e),\n powershell: (0, $f1a805d41b18128f$export$1ff6ad96ee130aba),\n ccache: (0, $4e9e6c219ffcdbbf$export$111263621bbb0768),\n sccache: (0, $ba1fb1dd270764ec$export$b963b67cda80fdc),\n doxygen: (0, $c3138813a2f84b86$export$b6e6613a954051ee),\n graphviz: (0, $77fafcb29b09e6e7$export$b885bd977caaafb9),\n cppcheck: (0, $e662e72f87137a41$export$13d77464c548b5d3),\n clangtidy: (0, $8f0f3adb296a989f$export$814ccfc953503728),\n clangformat: (0, $8f0f3adb296a989f$export$1cf2d186cecf1f54),\n msvc: (0, $f1e9ac818bcfac2d$export$a91ef0362c1a7298),\n vcvarsall: (0, $763bab32b32a381b$export$5dcf571c91fc8369),\n kcov: (0, $a36cf804c947131a$export$abb7c2ff987b1f6b),\n make: (0, $4834294045c34ca1$export$b0a9411329e2916),\n task: (0, $8f33b7bb6ec530f2$export$4456b3a3d3540077),\n sevenzip: (0, $cbfc9bdff29968e3$export$5fc39629e14c8173)\n};\nconst $890def45768c5f86$export$904054328df186b = Object.keys($890def45768c5f86$export$18a3521ac7306af4);\nconst $890def45768c5f86$export$7b388ca536128c6d = [\n \"compiler\",\n \"architecture\",\n \"timeout\",\n ...$890def45768c5f86$export$904054328df186b\n];\n\n\nfunction $3b3c42f0437fd719$export$7300a92932ee17a3(args) {\n return (0, $a21c3318012b72ae$export$2e2bcd8739ae039)(args, {\n string: [\n ...(0, $890def45768c5f86$export$7b388ca536128c6d),\n \"timeout\"\n ],\n default: Object.fromEntries((0, $890def45768c5f86$export$7b388ca536128c6d).map((inp)=>[\n inp,\n $3b3c42f0437fd719$export$fc4ce4d885cb1082(inp)\n ])),\n alias: {\n h: \"help\"\n },\n boolean: \"help\"\n });\n}\nfunction $3b3c42f0437fd719$export$f57ebcae4da846e4() {\n (0, $7Lz0k.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--timeout\\t the timeout for the installation of each tool in minutes. By default it is 10 minutes.\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--$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`);\n console.table({\n \"compiler and analyzer\": {\n tools: `--llvm, --gcc, --msvc, --vcvarsall, --cppcheck, --clangtidy, --clangformat`\n },\n \"build system\": {\n tools: `--cmake, --ninja, --meson, --make, --task, --bazel`\n },\n \"package manager\": {\n tools: `--vcpkg, --conan, --choco, --brew, --nala`\n },\n cache: {\n tools: `--cppcache, --sccache`\n },\n documentation: {\n tools: `--doxygen, --graphviz`\n },\n coverage: {\n tools: `--gcovr, --opencppcoverage, --kcov`\n },\n other: {\n tools: `--python, --powershell, --sevenzip`\n }\n }, [\n \"tools\"\n ]);\n}\nfunction $3b3c42f0437fd719$export$fc4ce4d885cb1082(key) {\n const value = (0, $kDRhL.getInput)(key.toLowerCase());\n if (value !== \"false\" && value !== \"\") return value;\n return undefined // skip installation\n ;\n}\nfunction $3b3c42f0437fd719$export$ad22d805bb3bfaf5(tool, installationInfo) {\n let msg = `\\u{2705} ${tool} was installed successfully:`;\n if (installationInfo === undefined) return msg;\n if (\"installDir\" in installationInfo) msg += `\\n- The installation directory is ${installationInfo.installDir}`;\n if (installationInfo.binDir !== \"\") msg += `\\n- The binary directory is ${installationInfo.binDir}`;\n return msg;\n}\n\n\n\nvar $kDRhL = parcelRequire(\"kDRhL\");\n\nvar $7Lz0k = parcelRequire(\"7Lz0k\");\n\n\nvar $2P6Mr = parcelRequire(\"2P6Mr\");\n\n\n\n\n\n\n\nfunction $bae5373454ac0a67$export$588248dee5258836(compilerAndVersion) {\n const compilerAndMaybeVersion = compilerAndVersion.split(\"-\");\n const compiler = compilerAndMaybeVersion[0];\n if (1 in compilerAndMaybeVersion) {\n const maybeVersion = compilerAndMaybeVersion[1];\n if ((0, (/*@__PURE__*/$parcel$interopDefault($2P6Mr)))(maybeVersion) !== null) return {\n compiler: compiler,\n version: maybeVersion\n };\n else {\n (0, $7Lz0k.info)(`Invalid semver version ${maybeVersion} used for the compiler.`);\n return {\n compiler: compiler,\n version: maybeVersion\n };\n }\n }\n return {\n compiler: compiler,\n version: undefined\n };\n}\nasync function $bae5373454ac0a67$export$4dabf89bf6376d2b(compilerAndVersion, osVersion, setupCppDir, arch, successMessages, hasLLVM, errorMessages) {\n try {\n const { compiler: compiler, version: version } = $bae5373454ac0a67$export$588248dee5258836(compilerAndVersion);\n // install the compiler. We allow some aliases for the compiler name\n (0, $kDRhL.startGroup)(`Installing ${compiler} ${version ?? \"\"}`);\n switch(compiler){\n case \"llvm\":\n case \"clang\":\n case \"clang++\":\n {\n const installationInfo = await (0, $8f0f3adb296a989f$export$3016de7ae9d14988)((0, $83fde521434ac405$export$c506eb22e615ba4a)(\"llvm\", version, osVersion), (0, $aEsRD$path.join)(setupCppDir, \"llvm\"), arch);\n await (0, $719e7985de30e2f2$export$2a0488baf2a20c0f)();\n successMessages.push((0, $3b3c42f0437fd719$export$ad22d805bb3bfaf5)(\"llvm\", installationInfo));\n break;\n }\n case \"gcc\":\n case \"mingw\":\n case \"cygwin\":\n case \"msys\":\n {\n const gccVersion = compiler === \"mingw\" ? (0, $83fde521434ac405$export$c506eb22e615ba4a)(\"mingw\", version, osVersion) : (0, $83fde521434ac405$export$c506eb22e615ba4a)(\"gcc\", version, osVersion);\n const installationInfo = compiler === \"mingw\" ? await (0, $c5bcc6df675a953c$export$f115c01d224b9e9a)(gccVersion, (0, $aEsRD$path.join)(setupCppDir, \"gcc\"), arch) : await (0, $c5bcc6df675a953c$export$405fab3de79b77b)(gccVersion, (0, $aEsRD$path.join)(setupCppDir, \"gcc\"), arch);\n if (hasLLVM) // remove back the added CPPFLAGS of LLVM that include the LLVM headers\n await (0, $2f24a8df2529dc1c$export$f63d3080ce25e0fd)(\"CPPFLAGS\", \"\");\n await (0, $719e7985de30e2f2$export$41dabde4775ee2aa)(gccVersion);\n successMessages.push((0, $3b3c42f0437fd719$export$ad22d805bb3bfaf5)(\"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 {\n const installationInfo = await (0, $f1e9ac818bcfac2d$export$a91ef0362c1a7298)((0, $83fde521434ac405$export$c506eb22e615ba4a)(\"msvc\", version, osVersion), (0, $aEsRD$path.join)(setupCppDir, \"msvc\"), arch);\n if (hasLLVM) // remove the CPPFLAGS of LLVM that include the LLVM headers\n await (0, $2f24a8df2529dc1c$export$f63d3080ce25e0fd)(\"CPPFLAGS\", \"\");\n successMessages.push((0, $3b3c42f0437fd719$export$ad22d805bb3bfaf5)(\"msvc\", installationInfo));\n break;\n }\n case \"appleclang\":\n case \"applellvm\":\n (0, $kDRhL.notice)(\"Assuming apple-clang is already installed\");\n await Promise.all([\n (0, $2f24a8df2529dc1c$export$f63d3080ce25e0fd)(\"CC\", \"clang\"),\n (0, $2f24a8df2529dc1c$export$f63d3080ce25e0fd)(\"CXX\", \"clang++\")\n ]);\n successMessages.push((0, $3b3c42f0437fd719$export$ad22d805bb3bfaf5)(\"apple-clang\", undefined));\n break;\n default:\n errorMessages.push(`Unsupported compiler ${compiler}`);\n }\n } catch (err) {\n (0, $7Lz0k.error)(err);\n errorMessages.push(`Failed to install the ${compilerAndVersion}`);\n }\n (0, $kDRhL.endGroup)();\n}\n\n\n\n\n\n\n\n\n\n/** The main entry function */ async function $d7f2dd685904cea0$var$main(args) {\n let checkUpdatePromise = Promise.resolve();\n if (!(0, $l6WDk.GITHUB_ACTIONS)) {\n checkUpdatePromise = (0, $657b8b52854b1b18$export$31c6d94eb20a8ca7)();\n process.env.ACTIONS_ALLOW_UNSECURE_COMMANDS = \"true\";\n }\n // parse options using mri or github actions\n const opts = (0, $3b3c42f0437fd719$export$7300a92932ee17a3)(args);\n // print help\n if (opts.help) (0, $3b3c42f0437fd719$export$f57ebcae4da846e4)();\n // cpu architecture\n const arch = opts.architecture ?? process.arch;\n // the installation dir for the tools that are downloaded directly\n const setupCppDir = process.env.SETUP_CPP_DIR ?? (0, $9affb3cfb96595a9$export$8312d9eeba321950)(\"\");\n // report messages\n const successMessages = [];\n const errorMessages = [];\n const timeFormatter = $c92624a4cab9c1d0$exports.create({\n autoloadLocales: true\n });\n $c92624a4cab9c1d0$exports.addLocale((0, (/*@__PURE__*/$parcel$interopDefault($4a8124c6e4d223d0$exports))));\n $glkzm.addLocale((0, (/*@__PURE__*/$parcel$interopDefault($e96e45bfed3e8b25$exports))));\n let time1;\n let time2;\n // installing the specified tools\n const osVersion = await (0, $7407b79f302e7dfb$export$49c9cf1111dfa0ee)();\n // sync the version for the llvm tools\n if (!(0, $83fde521434ac405$export$dd13a1e418f5a5fe)(opts, [\n \"llvm\",\n \"clangtidy\",\n \"clangformat\"\n ])) {\n (0, $7Lz0k.error)(\"The same version must be used for llvm, clangformat and clangtidy\");\n return 1;\n }\n if ((0, $9aeb5896658945db$export$d415ddb6702ec3a2)() && typeof opts.cppcheck === \"string\" && typeof opts.gcovr === \"string\") {\n (0, $7Lz0k.info)(\"installing python-pygments to avoid conflicts with cppcheck and gcovr on Arch linux\");\n await (0, $8310f4b4d4fddda5$export$cfa75578ee2d6e6c)(\"python-pygments\");\n }\n /** Used to unset CPPFLAGS of LLVM when other compilers are used as the main compiler */ let hasLLVM = false;\n // loop over the tools and run their setup function\n let failedFast = false;\n for (const tool of (0, $890def45768c5f86$export$904054328df186b)){\n // fail fast inside CI when any tool fails\n if (0, $l6WDk.isCI) {\n if (errorMessages.length !== 0) {\n failedFast = true;\n break;\n }\n }\n // get the version or \"true\" or undefined for this tool from the options\n const version = opts[tool];\n // skip if undefined\n if (version !== undefined) {\n // running the setup function for this tool\n time1 = Date.now();\n // eslint-disable-next-line no-await-in-loop\n hasLLVM = await (0, $90e51034c89314f8$export$ddb4b945c8581272)(tool, version, osVersion, arch, setupCppDir, successMessages, errorMessages, parseFloat(opts.timeout ?? \"20\") * 60000);\n time2 = Date.now();\n (0, $7Lz0k.info)(`took ${timeFormatter.format(time1, time2) || \"0 seconds\"}`);\n }\n }\n if (!failedFast) {\n // installing the specified compiler\n const maybeCompiler = opts.compiler;\n if (maybeCompiler !== undefined) {\n const time1Compiler = Date.now();\n await (0, $bae5373454ac0a67$export$4dabf89bf6376d2b)(maybeCompiler, osVersion, setupCppDir, arch, successMessages, hasLLVM, errorMessages);\n const time2Compiler = Date.now();\n (0, $7Lz0k.info)(`took ${timeFormatter.format(time1Compiler, time2Compiler) || \"0 seconds\"}`);\n }\n }\n await (0, $2f24a8df2529dc1c$export$ca46151966bee7ba)();\n if (successMessages.length === 0 && errorMessages.length === 0) {\n (0, $7Lz0k.warning)(\"setup-cpp was called without any arguments. Nothing to do.\");\n return 0;\n }\n // report the messages in the end\n successMessages.forEach((tool)=>(0, $7Lz0k.success)(tool));\n errorMessages.forEach((tool)=>(0, $7Lz0k.error)(tool));\n (0, $7Lz0k.info)(\"setup-cpp finished\");\n if (!(0, $l6WDk.GITHUB_ACTIONS)) switch(process.platform){\n case \"win32\":\n (0, $7Lz0k.warning)(\"Run `RefreshEnv.cmd` or restart your shell to update the environment.\");\n break;\n case \"linux\":\n case \"darwin\":\n (0, $7Lz0k.warning)(\"Run `source ~/.cpprc` or restart your shell to update the environment.\");\n break;\n default:\n }\n await checkUpdatePromise;\n return errorMessages.length === 0 ? 0 : 1 // exit with non-zero if any error message\n ;\n}\n// Run main\n$d7f2dd685904cea0$var$main(process.argv).then((ret)=>{\n process.exitCode = ret;\n}).catch((err)=>{\n (0, $7Lz0k.error)(\"main() panicked!\");\n (0, $7Lz0k.error)(err);\n process.exitCode = 1;\n});\n\n\n//# sourceMappingURL=setup-cpp.js.map\n","'use strict'\n\nconst vendors = require('./vendors.json')\n\nconst env = process.env\n\n// Used for testing only\nObject.defineProperty(exports, '_vendors', {\n value: vendors.map(function (v) {\n return v.constant\n })\n})\n\nexports.name = null\nexports.isPR = null\n\nvendors.forEach(function (vendor) {\n const envs = Array.isArray(vendor.env) ? vendor.env : [vendor.env]\n const isCI = envs.every(function (obj) {\n return checkEnv(obj)\n })\n\n exports[vendor.constant] = isCI\n\n if (!isCI) {\n return\n }\n\n exports.name = vendor.name\n\n switch (typeof vendor.pr) {\n case 'string':\n // \"pr\": \"CIRRUS_PR\"\n exports.isPR = !!env[vendor.pr]\n break\n case 'object':\n if ('env' in vendor.pr) {\n // \"pr\": { \"env\": \"BUILDKITE_PULL_REQUEST\", \"ne\": \"false\" }\n exports.isPR = vendor.pr.env in env && env[vendor.pr.env] !== vendor.pr.ne\n } else if ('any' in vendor.pr) {\n // \"pr\": { \"any\": [\"ghprbPullId\", \"CHANGE_ID\"] }\n exports.isPR = vendor.pr.any.some(function (key) {\n return !!env[key]\n })\n } else {\n // \"pr\": { \"DRONE_BUILD_EVENT\": \"pull_request\" }\n exports.isPR = checkEnv(vendor.pr)\n }\n break\n default:\n // PR detection not supported for this vendor\n exports.isPR = null\n }\n})\n\nexports.isCI = !!(\n env.CI !== 'false' && // Bypass all checks if CI env is explicitly set to 'false'\n (env.BUILD_ID || // Jenkins, Cloudbees\n env.BUILD_NUMBER || // Jenkins, TeamCity\n env.CI || // Travis CI, CircleCI, Cirrus CI, Gitlab CI, Appveyor, CodeShip, dsari\n env.CI_APP_ID || // Appflow\n env.CI_BUILD_ID || // Appflow\n env.CI_BUILD_NUMBER || // Appflow\n env.CI_NAME || // Codeship and others\n env.CONTINUOUS_INTEGRATION || // Travis CI, Cirrus CI\n env.RUN_ID || // TaskCluster, dsari\n exports.name ||\n false)\n)\n\nfunction checkEnv (obj) {\n // \"env\": \"CIRRUS\"\n if (typeof obj === 'string') return !!env[obj]\n\n // \"env\": { \"env\": \"NODE\", \"includes\": \"/app/.heroku/node/bin/node\" }\n if ('env' in obj) {\n // Currently there are no other types, uncomment when there are\n // if ('includes' in obj) {\n return env[obj.env] && env[obj.env].includes(obj.includes)\n // }\n }\n if ('any' in obj) {\n return obj.any.some(function (k) {\n return !!env[k]\n })\n }\n return Object.keys(obj).every(function (k) {\n return env[k] === obj[k]\n })\n}\n","[\n {\n \"name\": \"Agola CI\",\n \"constant\": \"AGOLA\",\n \"env\": \"AGOLA_GIT_REF\",\n \"pr\": \"AGOLA_PULL_REQUEST_ID\"\n },\n {\n \"name\": \"Appcircle\",\n \"constant\": \"APPCIRCLE\",\n \"env\": \"AC_APPCIRCLE\"\n },\n {\n \"name\": \"AppVeyor\",\n \"constant\": \"APPVEYOR\",\n \"env\": \"APPVEYOR\",\n \"pr\": \"APPVEYOR_PULL_REQUEST_NUMBER\"\n },\n {\n \"name\": \"AWS CodeBuild\",\n \"constant\": \"CODEBUILD\",\n \"env\": \"CODEBUILD_BUILD_ARN\"\n },\n {\n \"name\": \"Azure Pipelines\",\n \"constant\": \"AZURE_PIPELINES\",\n \"env\": \"TF_BUILD\",\n \"pr\": {\n \"BUILD_REASON\": \"PullRequest\"\n }\n },\n {\n \"name\": \"Bamboo\",\n \"constant\": \"BAMBOO\",\n \"env\": \"bamboo_planKey\"\n },\n {\n \"name\": \"Bitbucket Pipelines\",\n \"constant\": \"BITBUCKET\",\n \"env\": \"BITBUCKET_COMMIT\",\n \"pr\": \"BITBUCKET_PR_ID\"\n },\n {\n \"name\": \"Bitrise\",\n \"constant\": \"BITRISE\",\n \"env\": \"BITRISE_IO\",\n \"pr\": \"BITRISE_PULL_REQUEST\"\n },\n {\n \"name\": \"Buddy\",\n \"constant\": \"BUDDY\",\n \"env\": \"BUDDY_WORKSPACE_ID\",\n \"pr\": \"BUDDY_EXECUTION_PULL_REQUEST_ID\"\n },\n {\n \"name\": \"Buildkite\",\n \"constant\": \"BUILDKITE\",\n \"env\": \"BUILDKITE\",\n \"pr\": {\n \"env\": \"BUILDKITE_PULL_REQUEST\",\n \"ne\": \"false\"\n }\n },\n {\n \"name\": \"CircleCI\",\n \"constant\": \"CIRCLE\",\n \"env\": \"CIRCLECI\",\n \"pr\": \"CIRCLE_PULL_REQUEST\"\n },\n {\n \"name\": \"Cirrus CI\",\n \"constant\": \"CIRRUS\",\n \"env\": \"CIRRUS_CI\",\n \"pr\": \"CIRRUS_PR\"\n },\n {\n \"name\": \"Codefresh\",\n \"constant\": \"CODEFRESH\",\n \"env\": \"CF_BUILD_ID\",\n \"pr\": {\n \"any\": [\n \"CF_PULL_REQUEST_NUMBER\",\n \"CF_PULL_REQUEST_ID\"\n ]\n }\n },\n {\n \"name\": \"Codemagic\",\n \"constant\": \"CODEMAGIC\",\n \"env\": \"CM_BUILD_ID\",\n \"pr\": \"CM_PULL_REQUEST\"\n },\n {\n \"name\": \"Codeship\",\n \"constant\": \"CODESHIP\",\n \"env\": {\n \"CI_NAME\": \"codeship\"\n }\n },\n {\n \"name\": \"Drone\",\n \"constant\": \"DRONE\",\n \"env\": \"DRONE\",\n \"pr\": {\n \"DRONE_BUILD_EVENT\": \"pull_request\"\n }\n },\n {\n \"name\": \"dsari\",\n \"constant\": \"DSARI\",\n \"env\": \"DSARI\"\n },\n {\n \"name\": \"Earthly\",\n \"constant\": \"EARTHLY\",\n \"env\": \"EARTHLY_CI\"\n },\n {\n \"name\": \"Expo Application Services\",\n \"constant\": \"EAS\",\n \"env\": \"EAS_BUILD\"\n },\n {\n \"name\": \"Gerrit\",\n \"constant\": \"GERRIT\",\n \"env\": \"GERRIT_PROJECT\"\n },\n {\n \"name\": \"Gitea Actions\",\n \"constant\": \"GITEA_ACTIONS\",\n \"env\": \"GITEA_ACTIONS\"\n },\n {\n \"name\": \"GitHub Actions\",\n \"constant\": \"GITHUB_ACTIONS\",\n \"env\": \"GITHUB_ACTIONS\",\n \"pr\": {\n \"GITHUB_EVENT_NAME\": \"pull_request\"\n }\n },\n {\n \"name\": \"GitLab CI\",\n \"constant\": \"GITLAB\",\n \"env\": \"GITLAB_CI\",\n \"pr\": \"CI_MERGE_REQUEST_ID\"\n },\n {\n \"name\": \"GoCD\",\n \"constant\": \"GOCD\",\n \"env\": \"GO_PIPELINE_LABEL\"\n },\n {\n \"name\": \"Google Cloud Build\",\n \"constant\": \"GOOGLE_CLOUD_BUILD\",\n \"env\": \"BUILDER_OUTPUT\"\n },\n {\n \"name\": \"Harness CI\",\n \"constant\": \"HARNESS\",\n \"env\": \"HARNESS_BUILD_ID\"\n },\n {\n \"name\": \"Heroku\",\n \"constant\": \"HEROKU\",\n \"env\": {\n \"env\": \"NODE\",\n \"includes\": \"/app/.heroku/node/bin/node\"\n }\n },\n {\n \"name\": \"Hudson\",\n \"constant\": \"HUDSON\",\n \"env\": \"HUDSON_URL\"\n },\n {\n \"name\": \"Jenkins\",\n \"constant\": \"JENKINS\",\n \"env\": [\n \"JENKINS_URL\",\n \"BUILD_ID\"\n ],\n \"pr\": {\n \"any\": [\n \"ghprbPullId\",\n \"CHANGE_ID\"\n ]\n }\n },\n {\n \"name\": \"LayerCI\",\n \"constant\": \"LAYERCI\",\n \"env\": \"LAYERCI\",\n \"pr\": \"LAYERCI_PULL_REQUEST\"\n },\n {\n \"name\": \"Magnum CI\",\n \"constant\": \"MAGNUM\",\n \"env\": \"MAGNUM\"\n },\n {\n \"name\": \"Netlify CI\",\n \"constant\": \"NETLIFY\",\n \"env\": \"NETLIFY\",\n \"pr\": {\n \"env\": \"PULL_REQUEST\",\n \"ne\": \"false\"\n }\n },\n {\n \"name\": \"Nevercode\",\n \"constant\": \"NEVERCODE\",\n \"env\": \"NEVERCODE\",\n \"pr\": {\n \"env\": \"NEVERCODE_PULL_REQUEST\",\n \"ne\": \"false\"\n }\n },\n {\n \"name\": \"Prow\",\n \"constant\": \"PROW\",\n \"env\": \"PROW_JOB_ID\"\n },\n {\n \"name\": \"ReleaseHub\",\n \"constant\": \"RELEASEHUB\",\n \"env\": \"RELEASE_BUILD_ID\"\n },\n {\n \"name\": \"Render\",\n \"constant\": \"RENDER\",\n \"env\": \"RENDER\",\n \"pr\": {\n \"IS_PULL_REQUEST\": \"true\"\n }\n },\n {\n \"name\": \"Sail CI\",\n \"constant\": \"SAIL\",\n \"env\": \"SAILCI\",\n \"pr\": \"SAIL_PULL_REQUEST_NUMBER\"\n },\n {\n \"name\": \"Screwdriver\",\n \"constant\": \"SCREWDRIVER\",\n \"env\": \"SCREWDRIVER\",\n \"pr\": {\n \"env\": \"SD_PULL_REQUEST\",\n \"ne\": \"false\"\n }\n },\n {\n \"name\": \"Semaphore\",\n \"constant\": \"SEMAPHORE\",\n \"env\": \"SEMAPHORE\",\n \"pr\": \"PULL_REQUEST_NUMBER\"\n },\n {\n \"name\": \"Sourcehut\",\n \"constant\": \"SOURCEHUT\",\n \"env\": {\n \"CI_NAME\": \"sourcehut\"\n }\n },\n {\n \"name\": \"Strider CD\",\n \"constant\": \"STRIDER\",\n \"env\": \"STRIDER\"\n },\n {\n \"name\": \"TaskCluster\",\n \"constant\": \"TASKCLUSTER\",\n \"env\": [\n \"TASK_ID\",\n \"RUN_ID\"\n ]\n },\n {\n \"name\": \"TeamCity\",\n \"constant\": \"TEAMCITY\",\n \"env\": \"TEAMCITY_VERSION\"\n },\n {\n \"name\": \"Travis CI\",\n \"constant\": \"TRAVIS\",\n \"env\": \"TRAVIS\",\n \"pr\": {\n \"env\": \"TRAVIS_PULL_REQUEST\",\n \"ne\": \"false\"\n }\n },\n {\n \"name\": \"Vela\",\n \"constant\": \"VELA\",\n \"env\": \"VELA\",\n \"pr\": {\n \"VELA_PULL_REQUEST\": \"1\"\n }\n },\n {\n \"name\": \"Vercel\",\n \"constant\": \"VERCEL\",\n \"env\": {\n \"any\": [\n \"NOW_BUILDER\",\n \"VERCEL\"\n ]\n },\n \"pr\": \"VERCEL_GIT_PULL_REQUEST_ID\"\n },\n {\n \"name\": \"Visual Studio App Center\",\n \"constant\": \"APPCENTER\",\n \"env\": \"APPCENTER_BUILD_ID\"\n },\n {\n \"name\": \"Woodpecker\",\n \"constant\": \"WOODPECKER\",\n \"env\": {\n \"CI\": \"woodpecker\"\n },\n \"pr\": {\n \"CI_BUILD_EVENT\": \"pull_request\"\n }\n },\n {\n \"name\": \"Xcode Cloud\",\n \"constant\": \"XCODE_CLOUD\",\n \"env\": \"CI_XCODE_PROJECT\",\n \"pr\": \"CI_PULL_REQUEST_NUMBER\"\n },\n {\n \"name\": \"Xcode Server\",\n \"constant\": \"XCODE_SERVER\",\n \"env\": \"XCS\"\n }\n]\n","import * as core from \"@actions/core\"\nimport { GITHUB_ACTIONS } from \"ci-info\"\n\nexport function error(err: string | Error) {\n return 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 GITHUB_ACTIONS ? core.warning(msg) : console.log(`\\x1b[33m${msg}\\x1b[0m`)\n}\n\nexport function notice(msg: string) {\n return GITHUB_ACTIONS ? core.notice(msg) : console.log(`\\x1b[94m${msg}\\x1b[0m`)\n}\n\nexport function info(msg: string) {\n return GITHUB_ACTIONS ? core.info(msg) : console.log(msg)\n}\n",null,null,null,null,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,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,null,null,null,"(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","\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","// 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","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","// just pre-load all the stuff that index.js lazily exports\nconst internalRe = require('./internal/re')\nconst constants = require('./internal/constants')\nconst SemVer = require('./classes/semver')\nconst identifiers = require('./internal/identifiers')\nconst parse = require('./functions/parse')\nconst valid = require('./functions/valid')\nconst clean = require('./functions/clean')\nconst inc = require('./functions/inc')\nconst diff = require('./functions/diff')\nconst major = require('./functions/major')\nconst minor = require('./functions/minor')\nconst patch = require('./functions/patch')\nconst prerelease = require('./functions/prerelease')\nconst compare = require('./functions/compare')\nconst rcompare = require('./functions/rcompare')\nconst compareLoose = require('./functions/compare-loose')\nconst compareBuild = require('./functions/compare-build')\nconst sort = require('./functions/sort')\nconst rsort = require('./functions/rsort')\nconst gt = require('./functions/gt')\nconst lt = require('./functions/lt')\nconst eq = require('./functions/eq')\nconst neq = require('./functions/neq')\nconst gte = require('./functions/gte')\nconst lte = require('./functions/lte')\nconst cmp = require('./functions/cmp')\nconst coerce = require('./functions/coerce')\nconst Comparator = require('./classes/comparator')\nconst Range = require('./classes/range')\nconst satisfies = require('./functions/satisfies')\nconst toComparators = require('./ranges/to-comparators')\nconst maxSatisfying = require('./ranges/max-satisfying')\nconst minSatisfying = require('./ranges/min-satisfying')\nconst minVersion = require('./ranges/min-version')\nconst validRange = require('./ranges/valid')\nconst outside = require('./ranges/outside')\nconst gtr = require('./ranges/gtr')\nconst ltr = require('./ranges/ltr')\nconst intersects = require('./ranges/intersects')\nconst simplifyRange = require('./ranges/simplify')\nconst subset = require('./ranges/subset')\nmodule.exports = {\n parse,\n valid,\n clean,\n inc,\n diff,\n major,\n minor,\n patch,\n prerelease,\n compare,\n rcompare,\n compareLoose,\n compareBuild,\n sort,\n rsort,\n gt,\n lt,\n eq,\n neq,\n gte,\n lte,\n cmp,\n coerce,\n Comparator,\n Range,\n satisfies,\n toComparators,\n maxSatisfying,\n minSatisfying,\n minVersion,\n validRange,\n outside,\n gtr,\n ltr,\n intersects,\n simplifyRange,\n subset,\n SemVer,\n re: internalRe.re,\n src: internalRe.src,\n tokens: internalRe.t,\n SEMVER_SPEC_VERSION: constants.SEMVER_SPEC_VERSION,\n RELEASE_TYPES: constants.RELEASE_TYPES,\n compareIdentifiers: identifiers.compareIdentifiers,\n rcompareIdentifiers: identifiers.rcompareIdentifiers,\n}\n","const {\n MAX_SAFE_COMPONENT_LENGTH,\n MAX_SAFE_BUILD_LENGTH,\n MAX_LENGTH,\n} = require('./constants')\nconst debug = require('./debug')\nexports = module.exports = {}\n\n// The actual regexps go on exports.re\nconst re = exports.re = []\nconst safeRe = exports.safeRe = []\nconst src = exports.src = []\nconst t = exports.t = {}\nlet R = 0\n\nconst LETTERDASHNUMBER = '[a-zA-Z0-9-]'\n\n// Replace some greedy regex tokens to prevent regex dos issues. These regex are\n// used internally via the safeRe object since all inputs in this library get\n// normalized first to trim and collapse all extra whitespace. The original\n// regexes are exported for userland consumption and lower level usage. A\n// future breaking change could export the safer regex only with a note that\n// all input should have extra whitespace removed.\nconst safeRegexReplacements = [\n ['\\\\s', 1],\n ['\\\\d', MAX_LENGTH],\n [LETTERDASHNUMBER, MAX_SAFE_BUILD_LENGTH],\n]\n\nconst makeSafeRegex = (value) => {\n for (const [token, max] of safeRegexReplacements) {\n value = value\n .split(`${token}*`).join(`${token}{0,${max}}`)\n .split(`${token}+`).join(`${token}{1,${max}}`)\n }\n return value\n}\n\nconst createToken = (name, value, isGlobal) => {\n const safe = makeSafeRegex(value)\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 safeRe[index] = new RegExp(safe, 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', '\\\\d+')\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-]${LETTERDASHNUMBER}*`)\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', `${LETTERDASHNUMBER}+`)\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\n// Max safe length for a build identifier. The max length minus 6 characters for\n// the shortest version with a build 0.0.0+BUILD.\nconst MAX_SAFE_BUILD_LENGTH = MAX_LENGTH - 6\n\nconst RELEASE_TYPES = [\n 'major',\n 'premajor',\n 'minor',\n 'preminor',\n 'patch',\n 'prepatch',\n 'prerelease',\n]\n\nmodule.exports = {\n MAX_LENGTH,\n MAX_SAFE_COMPONENT_LENGTH,\n MAX_SAFE_BUILD_LENGTH,\n MAX_SAFE_INTEGER,\n RELEASE_TYPES,\n SEMVER_SPEC_VERSION,\n FLAG_INCLUDE_PRERELEASE: 0b001,\n FLAG_LOOSE: 0b010,\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 { safeRe: 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. Must be a string. Got type \"${typeof 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, identifierBase) {\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, identifierBase)\n break\n case 'preminor':\n this.prerelease.length = 0\n this.patch = 0\n this.minor++\n this.inc('pre', identifier, identifierBase)\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, identifierBase)\n this.inc('pre', identifier, identifierBase)\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, identifierBase)\n }\n this.inc('pre', identifier, identifierBase)\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 const base = Number(identifierBase) ? 1 : 0\n\n if (!identifier && identifierBase === false) {\n throw new Error('invalid increment argument: identifier is empty')\n }\n\n if (this.prerelease.length === 0) {\n this.prerelease = [base]\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 if (identifier === this.prerelease.join('.') && identifierBase === false) {\n throw new Error('invalid increment argument: identifier already exists')\n }\n this.prerelease.push(base)\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 let prerelease = [identifier, base]\n if (identifierBase === false) {\n prerelease = [identifier]\n }\n if (compareIdentifiers(this.prerelease[0], identifier) === 0) {\n if (isNaN(this.prerelease[1])) {\n this.prerelease = prerelease\n }\n } else {\n this.prerelease = prerelease\n }\n }\n break\n }\n default:\n throw new Error(`invalid increment argument: ${release}`)\n }\n this.raw = this.format()\n if (this.build.length) {\n this.raw += `+${this.build.join('.')}`\n }\n return this\n }\n}\n\nmodule.exports = SemVer\n","// parse out just the options we care about\nconst looseOption = Object.freeze({ loose: true })\nconst emptyOpts = Object.freeze({ })\nconst parseOptions = options => {\n if (!options) {\n return emptyOpts\n }\n\n if (typeof options !== 'object') {\n return looseOption\n }\n\n return options\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 SemVer = require('../classes/semver')\nconst parse = (version, options, throwErrors = false) => {\n if (version instanceof SemVer) {\n return version\n }\n try {\n return new SemVer(version, options)\n } catch (er) {\n if (!throwErrors) {\n return null\n }\n throw er\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, identifierBase) => {\n if (typeof (options) === 'string') {\n identifierBase = identifier\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, identifierBase).version\n } catch (er) {\n return null\n }\n}\nmodule.exports = inc\n","const parse = require('./parse.js')\n\nconst diff = (version1, version2) => {\n const v1 = parse(version1, null, true)\n const v2 = parse(version2, null, true)\n const comparison = v1.compare(v2)\n\n if (comparison === 0) {\n return null\n }\n\n const v1Higher = comparison > 0\n const highVersion = v1Higher ? v1 : v2\n const lowVersion = v1Higher ? v2 : v1\n const highHasPre = !!highVersion.prerelease.length\n const lowHasPre = !!lowVersion.prerelease.length\n\n if (lowHasPre && !highHasPre) {\n // Going from prerelease -> no prerelease requires some special casing\n\n // If the low version has only a major, then it will always be a major\n // Some examples:\n // 1.0.0-1 -> 1.0.0\n // 1.0.0-1 -> 1.1.1\n // 1.0.0-1 -> 2.0.0\n if (!lowVersion.patch && !lowVersion.minor) {\n return 'major'\n }\n\n // Otherwise it can be determined by checking the high version\n\n if (highVersion.patch) {\n // anything higher than a patch bump would result in the wrong version\n return 'patch'\n }\n\n if (highVersion.minor) {\n // anything higher than a minor bump would result in the wrong version\n return 'minor'\n }\n\n // bumping major/minor/patch all have same result\n return 'major'\n }\n\n // add the `pre` prefix if we are going to a prerelease version\n const prefix = highHasPre ? 'pre' : ''\n\n if (v1.major !== v2.major) {\n return prefix + 'major'\n }\n\n if (v1.minor !== v2.minor) {\n return prefix + 'minor'\n }\n\n if (v1.patch !== v2.patch) {\n return prefix + 'patch'\n }\n\n // high and low are preleases\n return 'prerelease'\n}\n\nmodule.exports = diff\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 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 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 eq = (a, b, loose) => compare(a, b, loose) === 0\nmodule.exports = eq\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 { safeRe: 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 comp = comp.trim().split(/\\s+/).join(' ')\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 (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 options = parseOptions(options)\n\n // Special cases where nothing can possibly be lower\n if (options.includePrerelease &&\n (this.value === '<0.0.0-0' || comp.value === '<0.0.0-0')) {\n return false\n }\n if (!options.includePrerelease &&\n (this.value.startsWith('<0.0.0') || comp.value.startsWith('<0.0.0'))) {\n return false\n }\n\n // Same direction increasing (> or >=)\n if (this.operator.startsWith('>') && comp.operator.startsWith('>')) {\n return true\n }\n // Same direction decreasing (< or <=)\n if (this.operator.startsWith('<') && comp.operator.startsWith('<')) {\n return true\n }\n // same SemVer and both sides are inclusive (<= or >=)\n if (\n (this.semver.version === comp.semver.version) &&\n this.operator.includes('=') && comp.operator.includes('=')) {\n return true\n }\n // opposite directions less than\n if (cmp(this.semver, '<', comp.semver, options) &&\n this.operator.startsWith('>') && comp.operator.startsWith('<')) {\n return true\n }\n // opposite directions greater than\n if (cmp(this.semver, '>', comp.semver, options) &&\n this.operator.startsWith('<') && comp.operator.startsWith('>')) {\n return true\n }\n return false\n }\n}\n\nmodule.exports = Comparator\n\nconst parseOptions = require('../internal/parse-options')\nconst { safeRe: 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 reduce all whitespace as much as possible so we do not have to rely\n // on potentially slow regexes like \\s*. This is then stored and used for\n // future error messages as well.\n this.raw = range\n .trim()\n .split(/\\s+/)\n .join(' ')\n\n // First, split on ||\n this.set = this.raw\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: ${this.raw}`)\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) => comps.join(' ').trim())\n .join('||')\n .trim()\n return this.range\n }\n\n toString () {\n return this.range\n }\n\n parseRange (range) {\n // memoize range parsing for performance.\n // this is a very hot path, and fully deterministic.\n const memoOpts =\n (this.options.includePrerelease && FLAG_INCLUDE_PRERELEASE) |\n (this.options.loose && FLAG_LOOSE)\n const memoKey = 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\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 debug('tilde trim', range)\n\n // `^ 1.2.3` => `^1.2.3`\n range = range.replace(re[t.CARETTRIM], caretTrimReplace)\n debug('caret trim', range)\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}\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 safeRe: re,\n t,\n comparatorTrimReplace,\n tildeTrimReplace,\n caretTrimReplace,\n} = require('../internal/re')\nconst { FLAG_INCLUDE_PRERELEASE, FLAG_LOOSE } = require('../internal/constants')\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\n// ~0.0.1 --> >=0.0.1 <0.1.0-0\nconst replaceTildes = (comp, options) => {\n return comp\n .trim()\n .split(/\\s+/)\n .map((c) => replaceTilde(c, options))\n .join(' ')\n}\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\n// ^0.0.1 --> >=0.0.1 <0.0.2-0\n// ^0.1.0 --> >=0.1.0 <0.2.0-0\nconst replaceCarets = (comp, options) => {\n return comp\n .trim()\n .split(/\\s+/)\n .map((c) => replaceCaret(c, options))\n .join(' ')\n}\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\n .split(/\\s+/)\n .map((c) => 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\n .trim()\n .replace(re[t.STAR], '')\n}\n\nconst replaceGTE0 = (comp, options) => {\n debug('replaceGTE0', comp, options)\n return comp\n .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","'use strict'\n\n// A linked list to keep track of recently-used-ness\nconst Yallist = require('yallist')\n\nconst MAX = Symbol('max')\nconst LENGTH = Symbol('length')\nconst LENGTH_CALCULATOR = Symbol('lengthCalculator')\nconst ALLOW_STALE = Symbol('allowStale')\nconst MAX_AGE = Symbol('maxAge')\nconst DISPOSE = Symbol('dispose')\nconst NO_DISPOSE_ON_SET = Symbol('noDisposeOnSet')\nconst LRU_LIST = Symbol('lruList')\nconst CACHE = Symbol('cache')\nconst UPDATE_AGE_ON_GET = Symbol('updateAgeOnGet')\n\nconst naiveLength = () => 1\n\n// lruList is a yallist where the head is the youngest\n// item, and the tail is the oldest. the list contains the Hit\n// objects as the entries.\n// Each Hit object has a reference to its Yallist.Node. This\n// never changes.\n//\n// cache is a Map (or PseudoMap) that matches the keys to\n// the Yallist.Node object.\nclass LRUCache {\n constructor (options) {\n if (typeof options === 'number')\n options = { max: options }\n\n if (!options)\n options = {}\n\n if (options.max && (typeof options.max !== 'number' || options.max < 0))\n throw new TypeError('max must be a non-negative number')\n // Kind of weird to have a default max of Infinity, but oh well.\n const max = this[MAX] = options.max || Infinity\n\n const lc = options.length || naiveLength\n this[LENGTH_CALCULATOR] = (typeof lc !== 'function') ? naiveLength : lc\n this[ALLOW_STALE] = options.stale || false\n if (options.maxAge && typeof options.maxAge !== 'number')\n throw new TypeError('maxAge must be a number')\n this[MAX_AGE] = options.maxAge || 0\n this[DISPOSE] = options.dispose\n this[NO_DISPOSE_ON_SET] = options.noDisposeOnSet || false\n this[UPDATE_AGE_ON_GET] = options.updateAgeOnGet || false\n this.reset()\n }\n\n // resize the cache when the max changes.\n set max (mL) {\n if (typeof mL !== 'number' || mL < 0)\n throw new TypeError('max must be a non-negative number')\n\n this[MAX] = mL || Infinity\n trim(this)\n }\n get max () {\n return this[MAX]\n }\n\n set allowStale (allowStale) {\n this[ALLOW_STALE] = !!allowStale\n }\n get allowStale () {\n return this[ALLOW_STALE]\n }\n\n set maxAge (mA) {\n if (typeof mA !== 'number')\n throw new TypeError('maxAge must be a non-negative number')\n\n this[MAX_AGE] = mA\n trim(this)\n }\n get maxAge () {\n return this[MAX_AGE]\n }\n\n // resize the cache when the lengthCalculator changes.\n set lengthCalculator (lC) {\n if (typeof lC !== 'function')\n lC = naiveLength\n\n if (lC !== this[LENGTH_CALCULATOR]) {\n this[LENGTH_CALCULATOR] = lC\n this[LENGTH] = 0\n this[LRU_LIST].forEach(hit => {\n hit.length = this[LENGTH_CALCULATOR](hit.value, hit.key)\n this[LENGTH] += hit.length\n })\n }\n trim(this)\n }\n get lengthCalculator () { return this[LENGTH_CALCULATOR] }\n\n get length () { return this[LENGTH] }\n get itemCount () { return this[LRU_LIST].length }\n\n rforEach (fn, thisp) {\n thisp = thisp || this\n for (let walker = this[LRU_LIST].tail; walker !== null;) {\n const prev = walker.prev\n forEachStep(this, fn, walker, thisp)\n walker = prev\n }\n }\n\n forEach (fn, thisp) {\n thisp = thisp || this\n for (let walker = this[LRU_LIST].head; walker !== null;) {\n const next = walker.next\n forEachStep(this, fn, walker, thisp)\n walker = next\n }\n }\n\n keys () {\n return this[LRU_LIST].toArray().map(k => k.key)\n }\n\n values () {\n return this[LRU_LIST].toArray().map(k => k.value)\n }\n\n reset () {\n if (this[DISPOSE] &&\n this[LRU_LIST] &&\n this[LRU_LIST].length) {\n this[LRU_LIST].forEach(hit => this[DISPOSE](hit.key, hit.value))\n }\n\n this[CACHE] = new Map() // hash of items by key\n this[LRU_LIST] = new Yallist() // list of items in order of use recency\n this[LENGTH] = 0 // length of items in the list\n }\n\n dump () {\n return this[LRU_LIST].map(hit =>\n isStale(this, hit) ? false : {\n k: hit.key,\n v: hit.value,\n e: hit.now + (hit.maxAge || 0)\n }).toArray().filter(h => h)\n }\n\n dumpLru () {\n return this[LRU_LIST]\n }\n\n set (key, value, maxAge) {\n maxAge = maxAge || this[MAX_AGE]\n\n if (maxAge && typeof maxAge !== 'number')\n throw new TypeError('maxAge must be a number')\n\n const now = maxAge ? Date.now() : 0\n const len = this[LENGTH_CALCULATOR](value, key)\n\n if (this[CACHE].has(key)) {\n if (len > this[MAX]) {\n del(this, this[CACHE].get(key))\n return false\n }\n\n const node = this[CACHE].get(key)\n const item = node.value\n\n // dispose of the old one before overwriting\n // split out into 2 ifs for better coverage tracking\n if (this[DISPOSE]) {\n if (!this[NO_DISPOSE_ON_SET])\n this[DISPOSE](key, item.value)\n }\n\n item.now = now\n item.maxAge = maxAge\n item.value = value\n this[LENGTH] += len - item.length\n item.length = len\n this.get(key)\n trim(this)\n return true\n }\n\n const hit = new Entry(key, value, len, now, maxAge)\n\n // oversized objects fall out of cache automatically.\n if (hit.length > this[MAX]) {\n if (this[DISPOSE])\n this[DISPOSE](key, value)\n\n return false\n }\n\n this[LENGTH] += hit.length\n this[LRU_LIST].unshift(hit)\n this[CACHE].set(key, this[LRU_LIST].head)\n trim(this)\n return true\n }\n\n has (key) {\n if (!this[CACHE].has(key)) return false\n const hit = this[CACHE].get(key).value\n return !isStale(this, hit)\n }\n\n get (key) {\n return get(this, key, true)\n }\n\n peek (key) {\n return get(this, key, false)\n }\n\n pop () {\n const node = this[LRU_LIST].tail\n if (!node)\n return null\n\n del(this, node)\n return node.value\n }\n\n del (key) {\n del(this, this[CACHE].get(key))\n }\n\n load (arr) {\n // reset the cache\n this.reset()\n\n const now = Date.now()\n // A previous serialized cache has the most recent items first\n for (let l = arr.length - 1; l >= 0; l--) {\n const hit = arr[l]\n const expiresAt = hit.e || 0\n if (expiresAt === 0)\n // the item was created without expiration in a non aged cache\n this.set(hit.k, hit.v)\n else {\n const maxAge = expiresAt - now\n // dont add already expired items\n if (maxAge > 0) {\n this.set(hit.k, hit.v, maxAge)\n }\n }\n }\n }\n\n prune () {\n this[CACHE].forEach((value, key) => get(this, key, false))\n }\n}\n\nconst get = (self, key, doUse) => {\n const node = self[CACHE].get(key)\n if (node) {\n const hit = node.value\n if (isStale(self, hit)) {\n del(self, node)\n if (!self[ALLOW_STALE])\n return undefined\n } else {\n if (doUse) {\n if (self[UPDATE_AGE_ON_GET])\n node.value.now = Date.now()\n self[LRU_LIST].unshiftNode(node)\n }\n }\n return hit.value\n }\n}\n\nconst isStale = (self, hit) => {\n if (!hit || (!hit.maxAge && !self[MAX_AGE]))\n return false\n\n const diff = Date.now() - hit.now\n return hit.maxAge ? diff > hit.maxAge\n : self[MAX_AGE] && (diff > self[MAX_AGE])\n}\n\nconst trim = self => {\n if (self[LENGTH] > self[MAX]) {\n for (let walker = self[LRU_LIST].tail;\n self[LENGTH] > self[MAX] && walker !== null;) {\n // We know that we're about to delete this one, and also\n // what the next least recently used key will be, so just\n // go ahead and set it now.\n const prev = walker.prev\n del(self, walker)\n walker = prev\n }\n }\n}\n\nconst del = (self, node) => {\n if (node) {\n const hit = node.value\n if (self[DISPOSE])\n self[DISPOSE](hit.key, hit.value)\n\n self[LENGTH] -= hit.length\n self[CACHE].delete(hit.key)\n self[LRU_LIST].removeNode(node)\n }\n}\n\nclass Entry {\n constructor (key, value, length, now, maxAge) {\n this.key = key\n this.value = value\n this.length = length\n this.now = now\n this.maxAge = maxAge || 0\n }\n}\n\nconst forEachStep = (self, fn, node, thisp) => {\n let hit = node.value\n if (isStale(self, hit)) {\n del(self, node)\n if (!self[ALLOW_STALE])\n hit = undefined\n }\n if (hit)\n fn.call(thisp, hit.value, hit.key, self)\n}\n\nmodule.exports = LRUCache\n","'use strict'\nmodule.exports = Yallist\n\nYallist.Node = Node\nYallist.create = Yallist\n\nfunction Yallist (list) {\n var self = this\n if (!(self instanceof Yallist)) {\n self = new Yallist()\n }\n\n self.tail = null\n self.head = null\n self.length = 0\n\n if (list && typeof list.forEach === 'function') {\n list.forEach(function (item) {\n self.push(item)\n })\n } else if (arguments.length > 0) {\n for (var i = 0, l = arguments.length; i < l; i++) {\n self.push(arguments[i])\n }\n }\n\n return self\n}\n\nYallist.prototype.removeNode = function (node) {\n if (node.list !== this) {\n throw new Error('removing node which does not belong to this list')\n }\n\n var next = node.next\n var prev = node.prev\n\n if (next) {\n next.prev = prev\n }\n\n if (prev) {\n prev.next = next\n }\n\n if (node === this.head) {\n this.head = next\n }\n if (node === this.tail) {\n this.tail = prev\n }\n\n node.list.length--\n node.next = null\n node.prev = null\n node.list = null\n\n return next\n}\n\nYallist.prototype.unshiftNode = function (node) {\n if (node === this.head) {\n return\n }\n\n if (node.list) {\n node.list.removeNode(node)\n }\n\n var head = this.head\n node.list = this\n node.next = head\n if (head) {\n head.prev = node\n }\n\n this.head = node\n if (!this.tail) {\n this.tail = node\n }\n this.length++\n}\n\nYallist.prototype.pushNode = function (node) {\n if (node === this.tail) {\n return\n }\n\n if (node.list) {\n node.list.removeNode(node)\n }\n\n var tail = this.tail\n node.list = this\n node.prev = tail\n if (tail) {\n tail.next = node\n }\n\n this.tail = node\n if (!this.head) {\n this.head = node\n }\n this.length++\n}\n\nYallist.prototype.push = function () {\n for (var i = 0, l = arguments.length; i < l; i++) {\n push(this, arguments[i])\n }\n return this.length\n}\n\nYallist.prototype.unshift = function () {\n for (var i = 0, l = arguments.length; i < l; i++) {\n unshift(this, arguments[i])\n }\n return this.length\n}\n\nYallist.prototype.pop = function () {\n if (!this.tail) {\n return undefined\n }\n\n var res = this.tail.value\n this.tail = this.tail.prev\n if (this.tail) {\n this.tail.next = null\n } else {\n this.head = null\n }\n this.length--\n return res\n}\n\nYallist.prototype.shift = function () {\n if (!this.head) {\n return undefined\n }\n\n var res = this.head.value\n this.head = this.head.next\n if (this.head) {\n this.head.prev = null\n } else {\n this.tail = null\n }\n this.length--\n return res\n}\n\nYallist.prototype.forEach = function (fn, thisp) {\n thisp = thisp || this\n for (var walker = this.head, i = 0; walker !== null; i++) {\n fn.call(thisp, walker.value, i, this)\n walker = walker.next\n }\n}\n\nYallist.prototype.forEachReverse = function (fn, thisp) {\n thisp = thisp || this\n for (var walker = this.tail, i = this.length - 1; walker !== null; i--) {\n fn.call(thisp, walker.value, i, this)\n walker = walker.prev\n }\n}\n\nYallist.prototype.get = function (n) {\n for (var i = 0, walker = this.head; walker !== null && i < n; i++) {\n // abort out of the list early if we hit a cycle\n walker = walker.next\n }\n if (i === n && walker !== null) {\n return walker.value\n }\n}\n\nYallist.prototype.getReverse = function (n) {\n for (var i = 0, walker = this.tail; walker !== null && i < n; i++) {\n // abort out of the list early if we hit a cycle\n walker = walker.prev\n }\n if (i === n && walker !== null) {\n return walker.value\n }\n}\n\nYallist.prototype.map = function (fn, thisp) {\n thisp = thisp || this\n var res = new Yallist()\n for (var walker = this.head; walker !== null;) {\n res.push(fn.call(thisp, walker.value, this))\n walker = walker.next\n }\n return res\n}\n\nYallist.prototype.mapReverse = function (fn, thisp) {\n thisp = thisp || this\n var res = new Yallist()\n for (var walker = this.tail; walker !== null;) {\n res.push(fn.call(thisp, walker.value, this))\n walker = walker.prev\n }\n return res\n}\n\nYallist.prototype.reduce = function (fn, initial) {\n var acc\n var walker = this.head\n if (arguments.length > 1) {\n acc = initial\n } else if (this.head) {\n walker = this.head.next\n acc = this.head.value\n } else {\n throw new TypeError('Reduce of empty list with no initial value')\n }\n\n for (var i = 0; walker !== null; i++) {\n acc = fn(acc, walker.value, i)\n walker = walker.next\n }\n\n return acc\n}\n\nYallist.prototype.reduceReverse = function (fn, initial) {\n var acc\n var walker = this.tail\n if (arguments.length > 1) {\n acc = initial\n } else if (this.tail) {\n walker = this.tail.prev\n acc = this.tail.value\n } else {\n throw new TypeError('Reduce of empty list with no initial value')\n }\n\n for (var i = this.length - 1; walker !== null; i--) {\n acc = fn(acc, walker.value, i)\n walker = walker.prev\n }\n\n return acc\n}\n\nYallist.prototype.toArray = function () {\n var arr = new Array(this.length)\n for (var i = 0, walker = this.head; walker !== null; i++) {\n arr[i] = walker.value\n walker = walker.next\n }\n return arr\n}\n\nYallist.prototype.toArrayReverse = function () {\n var arr = new Array(this.length)\n for (var i = 0, walker = this.tail; walker !== null; i++) {\n arr[i] = walker.value\n walker = walker.prev\n }\n return arr\n}\n\nYallist.prototype.slice = function (from, to) {\n to = to || this.length\n if (to < 0) {\n to += this.length\n }\n from = from || 0\n if (from < 0) {\n from += this.length\n }\n var ret = new Yallist()\n if (to < from || to < 0) {\n return ret\n }\n if (from < 0) {\n from = 0\n }\n if (to > this.length) {\n to = this.length\n }\n for (var i = 0, walker = this.head; walker !== null && i < from; i++) {\n walker = walker.next\n }\n for (; walker !== null && i < to; i++, walker = walker.next) {\n ret.push(walker.value)\n }\n return ret\n}\n\nYallist.prototype.sliceReverse = function (from, to) {\n to = to || this.length\n if (to < 0) {\n to += this.length\n }\n from = from || 0\n if (from < 0) {\n from += this.length\n }\n var ret = new Yallist()\n if (to < from || to < 0) {\n return ret\n }\n if (from < 0) {\n from = 0\n }\n if (to > this.length) {\n to = this.length\n }\n for (var i = this.length, walker = this.tail; walker !== null && i > to; i--) {\n walker = walker.prev\n }\n for (; walker !== null && i > from; i--, walker = walker.prev) {\n ret.push(walker.value)\n }\n return ret\n}\n\nYallist.prototype.splice = function (start, deleteCount, ...nodes) {\n if (start > this.length) {\n start = this.length - 1\n }\n if (start < 0) {\n start = this.length + start;\n }\n\n for (var i = 0, walker = this.head; walker !== null && i < start; i++) {\n walker = walker.next\n }\n\n var ret = []\n for (var i = 0; walker && i < deleteCount; i++) {\n ret.push(walker.value)\n walker = this.removeNode(walker)\n }\n if (walker === null) {\n walker = this.tail\n }\n\n if (walker !== this.head && walker !== this.tail) {\n walker = walker.prev\n }\n\n for (var i = 0; i < nodes.length; i++) {\n walker = insert(this, walker, nodes[i])\n }\n return ret;\n}\n\nYallist.prototype.reverse = function () {\n var head = this.head\n var tail = this.tail\n for (var walker = head; walker !== null; walker = walker.prev) {\n var p = walker.prev\n walker.prev = walker.next\n walker.next = p\n }\n this.head = tail\n this.tail = head\n return this\n}\n\nfunction insert (self, node, value) {\n var inserted = node === self.head ?\n new Node(value, null, node, self) :\n new Node(value, node, node.next, self)\n\n if (inserted.next === null) {\n self.tail = inserted\n }\n if (inserted.prev === null) {\n self.head = inserted\n }\n\n self.length++\n\n return inserted\n}\n\nfunction push (self, item) {\n self.tail = new Node(item, self.tail, null, self)\n if (!self.head) {\n self.head = self.tail\n }\n self.length++\n}\n\nfunction unshift (self, item) {\n self.head = new Node(item, null, self.head, self)\n if (!self.tail) {\n self.tail = self.head\n }\n self.length++\n}\n\nfunction Node (value, prev, next, list) {\n if (!(this instanceof Node)) {\n return new Node(value, prev, next, list)\n }\n\n this.list = list\n this.value = value\n\n if (prev) {\n prev.next = this\n this.prev = prev\n } else {\n this.prev = null\n }\n\n if (next) {\n next.prev = this\n this.next = next\n } else {\n this.next = null\n }\n}\n\ntry {\n // add if support for Symbol.iterator is present\n require('./iterator.js')(Yallist)\n} catch (er) {}\n","'use strict'\nmodule.exports = function (Yallist) {\n Yallist.prototype[Symbol.iterator] = function* () {\n for (let walker = this.head; walker; walker = walker.next) {\n yield walker.value\n }\n }\n}\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, options)\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 minimumVersionWithPreRelease = [new Comparator('>=0.0.0-0')]\nconst minimumVersion = [new Comparator('>=0.0.0')]\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 = minimumVersionWithPreRelease\n } else {\n sub = minimumVersion\n }\n }\n\n if (dom.length === 1 && dom[0].semver === ANY) {\n if (options.includePrerelease) {\n return true\n } else {\n dom = minimumVersion\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","'use strict';\n\nvar matchOperatorsRe = /[|\\\\{}()[\\]^$+*?.]/g;\n\nmodule.exports = function (str) {\n\tif (typeof str !== 'string') {\n\t\tthrow new TypeError('Expected a string');\n\t}\n\n\treturn str.replace(matchOperatorsRe, '\\\\$&');\n};\n","import fs, {promises as fsPromises} from 'node:fs';\n\nexport async function pathExists(path) {\n\ttry {\n\t\tawait fsPromises.access(path);\n\t\treturn true;\n\t} catch {\n\t\treturn false;\n\t}\n}\n\nexport function pathExistsSync(path) {\n\ttry {\n\t\tfs.accessSync(path);\n\t\treturn true;\n\t} catch {\n\t\treturn false;\n\t}\n}\n",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","/**\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","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","'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",null,null,null,null,null,null,"exports = module.exports = SemVer\n\nvar debug\n/* istanbul ignore next */\nif (typeof process === 'object' &&\n process.env &&\n process.env.NODE_DEBUG &&\n /\\bsemver\\b/i.test(process.env.NODE_DEBUG)) {\n debug = function () {\n var args = Array.prototype.slice.call(arguments, 0)\n args.unshift('SEMVER')\n console.log.apply(console, args)\n }\n} else {\n debug = function () {}\n}\n\n// Note: this is the semver.org version of the spec that it implements\n// Not necessarily the package version of this code.\nexports.SEMVER_SPEC_VERSION = '2.0.0'\n\nvar MAX_LENGTH = 256\nvar MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER ||\n /* istanbul ignore next */ 9007199254740991\n\n// Max safe segment length for coercion.\nvar MAX_SAFE_COMPONENT_LENGTH = 16\n\nvar MAX_SAFE_BUILD_LENGTH = MAX_LENGTH - 6\n\n// The actual regexps go on exports.re\nvar re = exports.re = []\nvar safeRe = exports.safeRe = []\nvar src = exports.src = []\nvar t = exports.tokens = {}\nvar R = 0\n\nfunction tok (n) {\n t[n] = R++\n}\n\nvar LETTERDASHNUMBER = '[a-zA-Z0-9-]'\n\n// Replace some greedy regex tokens to prevent regex dos issues. These regex are\n// used internally via the safeRe object since all inputs in this library get\n// normalized first to trim and collapse all extra whitespace. The original\n// regexes are exported for userland consumption and lower level usage. A\n// future breaking change could export the safer regex only with a note that\n// all input should have extra whitespace removed.\nvar safeRegexReplacements = [\n ['\\\\s', 1],\n ['\\\\d', MAX_LENGTH],\n [LETTERDASHNUMBER, MAX_SAFE_BUILD_LENGTH],\n]\n\nfunction makeSafeRe (value) {\n for (var i = 0; i < safeRegexReplacements.length; i++) {\n var token = safeRegexReplacements[i][0]\n var max = safeRegexReplacements[i][1]\n value = value\n .split(token + '*').join(token + '{0,' + max + '}')\n .split(token + '+').join(token + '{1,' + max + '}')\n }\n return value\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\ntok('NUMERICIDENTIFIER')\nsrc[t.NUMERICIDENTIFIER] = '0|[1-9]\\\\d*'\ntok('NUMERICIDENTIFIERLOOSE')\nsrc[t.NUMERICIDENTIFIERLOOSE] = '\\\\d+'\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\ntok('NONNUMERICIDENTIFIER')\nsrc[t.NONNUMERICIDENTIFIER] = '\\\\d*[a-zA-Z-]' + LETTERDASHNUMBER + '*'\n\n// ## Main Version\n// Three dot-separated numeric identifiers.\n\ntok('MAINVERSION')\nsrc[t.MAINVERSION] = '(' + src[t.NUMERICIDENTIFIER] + ')\\\\.' +\n '(' + src[t.NUMERICIDENTIFIER] + ')\\\\.' +\n '(' + src[t.NUMERICIDENTIFIER] + ')'\n\ntok('MAINVERSIONLOOSE')\nsrc[t.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\ntok('PRERELEASEIDENTIFIER')\nsrc[t.PRERELEASEIDENTIFIER] = '(?:' + src[t.NUMERICIDENTIFIER] +\n '|' + src[t.NONNUMERICIDENTIFIER] + ')'\n\ntok('PRERELEASEIDENTIFIERLOOSE')\nsrc[t.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\ntok('PRERELEASE')\nsrc[t.PRERELEASE] = '(?:-(' + src[t.PRERELEASEIDENTIFIER] +\n '(?:\\\\.' + src[t.PRERELEASEIDENTIFIER] + ')*))'\n\ntok('PRERELEASELOOSE')\nsrc[t.PRERELEASELOOSE] = '(?:-?(' + src[t.PRERELEASEIDENTIFIERLOOSE] +\n '(?:\\\\.' + src[t.PRERELEASEIDENTIFIERLOOSE] + ')*))'\n\n// ## Build Metadata Identifier\n// Any combination of digits, letters, or hyphens.\n\ntok('BUILDIDENTIFIER')\nsrc[t.BUILDIDENTIFIER] = LETTERDASHNUMBER + '+'\n\n// ## Build Metadata\n// Plus sign, followed by one or more period-separated build metadata\n// identifiers.\n\ntok('BUILD')\nsrc[t.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\ntok('FULL')\ntok('FULLPLAIN')\nsrc[t.FULLPLAIN] = 'v?' + src[t.MAINVERSION] +\n src[t.PRERELEASE] + '?' +\n src[t.BUILD] + '?'\n\nsrc[t.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.\ntok('LOOSEPLAIN')\nsrc[t.LOOSEPLAIN] = '[v=\\\\s]*' + src[t.MAINVERSIONLOOSE] +\n src[t.PRERELEASELOOSE] + '?' +\n src[t.BUILD] + '?'\n\ntok('LOOSE')\nsrc[t.LOOSE] = '^' + src[t.LOOSEPLAIN] + '$'\n\ntok('GTLT')\nsrc[t.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.\ntok('XRANGEIDENTIFIERLOOSE')\nsrc[t.XRANGEIDENTIFIERLOOSE] = src[t.NUMERICIDENTIFIERLOOSE] + '|x|X|\\\\*'\ntok('XRANGEIDENTIFIER')\nsrc[t.XRANGEIDENTIFIER] = src[t.NUMERICIDENTIFIER] + '|x|X|\\\\*'\n\ntok('XRANGEPLAIN')\nsrc[t.XRANGEPLAIN] = '[v=\\\\s]*(' + src[t.XRANGEIDENTIFIER] + ')' +\n '(?:\\\\.(' + src[t.XRANGEIDENTIFIER] + ')' +\n '(?:\\\\.(' + src[t.XRANGEIDENTIFIER] + ')' +\n '(?:' + src[t.PRERELEASE] + ')?' +\n src[t.BUILD] + '?' +\n ')?)?'\n\ntok('XRANGEPLAINLOOSE')\nsrc[t.XRANGEPLAINLOOSE] = '[v=\\\\s]*(' + src[t.XRANGEIDENTIFIERLOOSE] + ')' +\n '(?:\\\\.(' + src[t.XRANGEIDENTIFIERLOOSE] + ')' +\n '(?:\\\\.(' + src[t.XRANGEIDENTIFIERLOOSE] + ')' +\n '(?:' + src[t.PRERELEASELOOSE] + ')?' +\n src[t.BUILD] + '?' +\n ')?)?'\n\ntok('XRANGE')\nsrc[t.XRANGE] = '^' + src[t.GTLT] + '\\\\s*' + src[t.XRANGEPLAIN] + '$'\ntok('XRANGELOOSE')\nsrc[t.XRANGELOOSE] = '^' + src[t.GTLT] + '\\\\s*' + src[t.XRANGEPLAINLOOSE] + '$'\n\n// Coercion.\n// Extract anything that could conceivably be a part of a valid semver\ntok('COERCE')\nsrc[t.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])'\ntok('COERCERTL')\nre[t.COERCERTL] = new RegExp(src[t.COERCE], 'g')\nsafeRe[t.COERCERTL] = new RegExp(makeSafeRe(src[t.COERCE]), 'g')\n\n// Tilde ranges.\n// Meaning is \"reasonably at or greater than\"\ntok('LONETILDE')\nsrc[t.LONETILDE] = '(?:~>?)'\n\ntok('TILDETRIM')\nsrc[t.TILDETRIM] = '(\\\\s*)' + src[t.LONETILDE] + '\\\\s+'\nre[t.TILDETRIM] = new RegExp(src[t.TILDETRIM], 'g')\nsafeRe[t.TILDETRIM] = new RegExp(makeSafeRe(src[t.TILDETRIM]), 'g')\nvar tildeTrimReplace = '$1~'\n\ntok('TILDE')\nsrc[t.TILDE] = '^' + src[t.LONETILDE] + src[t.XRANGEPLAIN] + '$'\ntok('TILDELOOSE')\nsrc[t.TILDELOOSE] = '^' + src[t.LONETILDE] + src[t.XRANGEPLAINLOOSE] + '$'\n\n// Caret ranges.\n// Meaning is \"at least and backwards compatible with\"\ntok('LONECARET')\nsrc[t.LONECARET] = '(?:\\\\^)'\n\ntok('CARETTRIM')\nsrc[t.CARETTRIM] = '(\\\\s*)' + src[t.LONECARET] + '\\\\s+'\nre[t.CARETTRIM] = new RegExp(src[t.CARETTRIM], 'g')\nsafeRe[t.CARETTRIM] = new RegExp(makeSafeRe(src[t.CARETTRIM]), 'g')\nvar caretTrimReplace = '$1^'\n\ntok('CARET')\nsrc[t.CARET] = '^' + src[t.LONECARET] + src[t.XRANGEPLAIN] + '$'\ntok('CARETLOOSE')\nsrc[t.CARETLOOSE] = '^' + src[t.LONECARET] + src[t.XRANGEPLAINLOOSE] + '$'\n\n// A simple gt/lt/eq thing, or just \"\" to indicate \"any version\"\ntok('COMPARATORLOOSE')\nsrc[t.COMPARATORLOOSE] = '^' + src[t.GTLT] + '\\\\s*(' + src[t.LOOSEPLAIN] + ')$|^$'\ntok('COMPARATOR')\nsrc[t.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`\ntok('COMPARATORTRIM')\nsrc[t.COMPARATORTRIM] = '(\\\\s*)' + src[t.GTLT] +\n '\\\\s*(' + src[t.LOOSEPLAIN] + '|' + src[t.XRANGEPLAIN] + ')'\n\n// this one has to use the /g flag\nre[t.COMPARATORTRIM] = new RegExp(src[t.COMPARATORTRIM], 'g')\nsafeRe[t.COMPARATORTRIM] = new RegExp(makeSafeRe(src[t.COMPARATORTRIM]), 'g')\nvar 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.\ntok('HYPHENRANGE')\nsrc[t.HYPHENRANGE] = '^\\\\s*(' + src[t.XRANGEPLAIN] + ')' +\n '\\\\s+-\\\\s+' +\n '(' + src[t.XRANGEPLAIN] + ')' +\n '\\\\s*$'\n\ntok('HYPHENRANGELOOSE')\nsrc[t.HYPHENRANGELOOSE] = '^\\\\s*(' + src[t.XRANGEPLAINLOOSE] + ')' +\n '\\\\s+-\\\\s+' +\n '(' + src[t.XRANGEPLAINLOOSE] + ')' +\n '\\\\s*$'\n\n// Star ranges basically just allow anything at all.\ntok('STAR')\nsrc[t.STAR] = '(<|>)?=?\\\\s*\\\\*'\n\n// Compile to actual regexp objects.\n// All are flag-free, unless they were created above with a flag.\nfor (var i = 0; i < R; i++) {\n debug(i, src[i])\n if (!re[i]) {\n re[i] = new RegExp(src[i])\n\n // Replace all greedy whitespace to prevent regex dos issues. These regex are\n // used internally via the safeRe object since all inputs in this library get\n // normalized first to trim and collapse all extra whitespace. The original\n // regexes are exported for userland consumption and lower level usage. A\n // future breaking change could export the safer regex only with a note that\n // all input should have extra whitespace removed.\n safeRe[i] = new RegExp(makeSafeRe(src[i]))\n }\n}\n\nexports.parse = parse\nfunction parse (version, options) {\n if (!options || typeof options !== 'object') {\n options = {\n loose: !!options,\n includePrerelease: false\n }\n }\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 var r = options.loose ? safeRe[t.LOOSE] : safeRe[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\nexports.valid = valid\nfunction valid (version, options) {\n var v = parse(version, options)\n return v ? v.version : null\n}\n\nexports.clean = clean\nfunction clean (version, options) {\n var s = parse(version.trim().replace(/^[=v]+/, ''), options)\n return s ? s.version : null\n}\n\nexports.SemVer = SemVer\n\nfunction SemVer (version, options) {\n if (!options || typeof options !== 'object') {\n options = {\n loose: !!options,\n includePrerelease: false\n }\n }\n if (version instanceof SemVer) {\n if (version.loose === options.loose) {\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('version is longer than ' + MAX_LENGTH + ' characters')\n }\n\n if (!(this instanceof SemVer)) {\n return new SemVer(version, options)\n }\n\n debug('SemVer', version, options)\n this.options = options\n this.loose = !!options.loose\n\n var m = version.trim().match(options.loose ? safeRe[t.LOOSE] : safeRe[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(function (id) {\n if (/^[0-9]+$/.test(id)) {\n var 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\nSemVer.prototype.format = function () {\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\nSemVer.prototype.toString = function () {\n return this.version\n}\n\nSemVer.prototype.compare = function (other) {\n debug('SemVer.compare', this.version, this.options, other)\n if (!(other instanceof SemVer)) {\n other = new SemVer(other, this.options)\n }\n\n return this.compareMain(other) || this.comparePre(other)\n}\n\nSemVer.prototype.compareMain = function (other) {\n if (!(other instanceof SemVer)) {\n other = new SemVer(other, this.options)\n }\n\n return compareIdentifiers(this.major, other.major) ||\n compareIdentifiers(this.minor, other.minor) ||\n compareIdentifiers(this.patch, other.patch)\n}\n\nSemVer.prototype.comparePre = function (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 var i = 0\n do {\n var a = this.prerelease[i]\n var 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\nSemVer.prototype.compareBuild = function (other) {\n if (!(other instanceof SemVer)) {\n other = new SemVer(other, this.options)\n }\n\n var i = 0\n do {\n var a = this.build[i]\n var 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.\nSemVer.prototype.inc = function (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 (this.minor !== 0 ||\n this.patch !== 0 ||\n this.prerelease.length === 0) {\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 var 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 (this.prerelease[0] === identifier) {\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\nexports.inc = inc\nfunction inc (version, release, loose, identifier) {\n if (typeof (loose) === 'string') {\n identifier = loose\n loose = undefined\n }\n\n try {\n return new SemVer(version, loose).inc(release, identifier).version\n } catch (er) {\n return null\n }\n}\n\nexports.diff = diff\nfunction diff (version1, version2) {\n if (eq(version1, version2)) {\n return null\n } else {\n var v1 = parse(version1)\n var v2 = parse(version2)\n var prefix = ''\n if (v1.prerelease.length || v2.prerelease.length) {\n prefix = 'pre'\n var defaultResult = 'prerelease'\n }\n for (var 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}\n\nexports.compareIdentifiers = compareIdentifiers\n\nvar numeric = /^[0-9]+$/\nfunction compareIdentifiers (a, b) {\n var anum = numeric.test(a)\n var 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\nexports.rcompareIdentifiers = rcompareIdentifiers\nfunction rcompareIdentifiers (a, b) {\n return compareIdentifiers(b, a)\n}\n\nexports.major = major\nfunction major (a, loose) {\n return new SemVer(a, loose).major\n}\n\nexports.minor = minor\nfunction minor (a, loose) {\n return new SemVer(a, loose).minor\n}\n\nexports.patch = patch\nfunction patch (a, loose) {\n return new SemVer(a, loose).patch\n}\n\nexports.compare = compare\nfunction compare (a, b, loose) {\n return new SemVer(a, loose).compare(new SemVer(b, loose))\n}\n\nexports.compareLoose = compareLoose\nfunction compareLoose (a, b) {\n return compare(a, b, true)\n}\n\nexports.compareBuild = compareBuild\nfunction compareBuild (a, b, loose) {\n var versionA = new SemVer(a, loose)\n var versionB = new SemVer(b, loose)\n return versionA.compare(versionB) || versionA.compareBuild(versionB)\n}\n\nexports.rcompare = rcompare\nfunction rcompare (a, b, loose) {\n return compare(b, a, loose)\n}\n\nexports.sort = sort\nfunction sort (list, loose) {\n return list.sort(function (a, b) {\n return exports.compareBuild(a, b, loose)\n })\n}\n\nexports.rsort = rsort\nfunction rsort (list, loose) {\n return list.sort(function (a, b) {\n return exports.compareBuild(b, a, loose)\n })\n}\n\nexports.gt = gt\nfunction gt (a, b, loose) {\n return compare(a, b, loose) > 0\n}\n\nexports.lt = lt\nfunction lt (a, b, loose) {\n return compare(a, b, loose) < 0\n}\n\nexports.eq = eq\nfunction eq (a, b, loose) {\n return compare(a, b, loose) === 0\n}\n\nexports.neq = neq\nfunction neq (a, b, loose) {\n return compare(a, b, loose) !== 0\n}\n\nexports.gte = gte\nfunction gte (a, b, loose) {\n return compare(a, b, loose) >= 0\n}\n\nexports.lte = lte\nfunction lte (a, b, loose) {\n return compare(a, b, loose) <= 0\n}\n\nexports.cmp = cmp\nfunction cmp (a, op, b, loose) {\n switch (op) {\n case '===':\n if (typeof a === 'object')\n a = a.version\n if (typeof b === 'object')\n b = b.version\n return a === b\n\n case '!==':\n if (typeof a === 'object')\n a = a.version\n if (typeof b === 'object')\n b = b.version\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}\n\nexports.Comparator = Comparator\nfunction Comparator (comp, options) {\n if (!options || typeof options !== 'object') {\n options = {\n loose: !!options,\n includePrerelease: false\n }\n }\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 if (!(this instanceof Comparator)) {\n return new Comparator(comp, options)\n }\n\n comp = comp.trim().split(/\\s+/).join(' ')\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\nvar ANY = {}\nComparator.prototype.parse = function (comp) {\n var r = this.options.loose ? safeRe[t.COMPARATORLOOSE] : safeRe[t.COMPARATOR]\n var 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\nComparator.prototype.toString = function () {\n return this.value\n}\n\nComparator.prototype.test = function (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\nComparator.prototype.intersects = function (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 var rangeTmp\n\n if (this.operator === '') {\n if (this.value === '') {\n return true\n }\n rangeTmp = new Range(comp.value, options)\n return satisfies(this.value, rangeTmp, options)\n } else if (comp.operator === '') {\n if (comp.value === '') {\n return true\n }\n rangeTmp = new Range(this.value, options)\n return satisfies(comp.semver, rangeTmp, options)\n }\n\n var sameDirectionIncreasing =\n (this.operator === '>=' || this.operator === '>') &&\n (comp.operator === '>=' || comp.operator === '>')\n var sameDirectionDecreasing =\n (this.operator === '<=' || this.operator === '<') &&\n (comp.operator === '<=' || comp.operator === '<')\n var sameSemVer = this.semver.version === comp.semver.version\n var differentDirectionsInclusive =\n (this.operator === '>=' || this.operator === '<=') &&\n (comp.operator === '>=' || comp.operator === '<=')\n var oppositeDirectionsLessThan =\n cmp(this.semver, '<', comp.semver, options) &&\n ((this.operator === '>=' || this.operator === '>') &&\n (comp.operator === '<=' || comp.operator === '<'))\n var oppositeDirectionsGreaterThan =\n cmp(this.semver, '>', comp.semver, options) &&\n ((this.operator === '<=' || this.operator === '<') &&\n (comp.operator === '>=' || comp.operator === '>'))\n\n return sameDirectionIncreasing || sameDirectionDecreasing ||\n (sameSemVer && differentDirectionsInclusive) ||\n oppositeDirectionsLessThan || oppositeDirectionsGreaterThan\n}\n\nexports.Range = Range\nfunction Range (range, options) {\n if (!options || typeof options !== 'object') {\n options = {\n loose: !!options,\n includePrerelease: false\n }\n }\n\n if (range instanceof Range) {\n if (range.loose === !!options.loose &&\n range.includePrerelease === !!options.includePrerelease) {\n return range\n } else {\n return new Range(range.raw, options)\n }\n }\n\n if (range instanceof Comparator) {\n return new Range(range.value, options)\n }\n\n if (!(this instanceof Range)) {\n return new Range(range, options)\n }\n\n this.options = options\n this.loose = !!options.loose\n this.includePrerelease = !!options.includePrerelease\n\n // First reduce all whitespace as much as possible so we do not have to rely\n // on potentially slow regexes like \\s*. This is then stored and used for\n // future error messages as well.\n this.raw = range\n .trim()\n .split(/\\s+/)\n .join(' ')\n\n // First, split based on boolean or ||\n this.set = this.raw.split('||').map(function (range) {\n return this.parseRange(range.trim())\n }, this).filter(function (c) {\n // throw out any that are not relevant for whatever reason\n return c.length\n })\n\n if (!this.set.length) {\n throw new TypeError('Invalid SemVer Range: ' + this.raw)\n }\n\n this.format()\n}\n\nRange.prototype.format = function () {\n this.range = this.set.map(function (comps) {\n return comps.join(' ').trim()\n }).join('||').trim()\n return this.range\n}\n\nRange.prototype.toString = function () {\n return this.range\n}\n\nRange.prototype.parseRange = function (range) {\n var loose = this.options.loose\n // `1.2.3 - 1.2.4` => `>=1.2.3 <=1.2.4`\n var hr = loose ? safeRe[t.HYPHENRANGELOOSE] : safeRe[t.HYPHENRANGE]\n range = range.replace(hr, hyphenReplace)\n debug('hyphen replace', range)\n // `> 1.2.3 < 1.2.5` => `>1.2.3 <1.2.5`\n range = range.replace(safeRe[t.COMPARATORTRIM], comparatorTrimReplace)\n debug('comparator trim', range, safeRe[t.COMPARATORTRIM])\n\n // `~ 1.2.3` => `~1.2.3`\n range = range.replace(safeRe[t.TILDETRIM], tildeTrimReplace)\n\n // `^ 1.2.3` => `^1.2.3`\n range = range.replace(safeRe[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 var compRe = loose ? safeRe[t.COMPARATORLOOSE] : safeRe[t.COMPARATOR]\n var set = range.split(' ').map(function (comp) {\n return parseComparator(comp, this.options)\n }, this).join(' ').split(/\\s+/)\n if (this.options.loose) {\n // in loose mode, throw out any that are not valid comparators\n set = set.filter(function (comp) {\n return !!comp.match(compRe)\n })\n }\n set = set.map(function (comp) {\n return new Comparator(comp, this.options)\n }, this)\n\n return set\n}\n\nRange.prototype.intersects = function (range, options) {\n if (!(range instanceof Range)) {\n throw new TypeError('a Range is required')\n }\n\n return this.set.some(function (thisComparators) {\n return (\n isSatisfiable(thisComparators, options) &&\n range.set.some(function (rangeComparators) {\n return (\n isSatisfiable(rangeComparators, options) &&\n thisComparators.every(function (thisComparator) {\n return rangeComparators.every(function (rangeComparator) {\n return thisComparator.intersects(rangeComparator, options)\n })\n })\n )\n })\n )\n })\n}\n\n// take a set of comparators and determine whether there\n// exists a version which can satisfy it\nfunction isSatisfiable (comparators, options) {\n var result = true\n var remainingComparators = comparators.slice()\n var testComparator = remainingComparators.pop()\n\n while (result && remainingComparators.length) {\n result = remainingComparators.every(function (otherComparator) {\n return testComparator.intersects(otherComparator, options)\n })\n\n testComparator = remainingComparators.pop()\n }\n\n return result\n}\n\n// Mostly just for testing and legacy API reasons\nexports.toComparators = toComparators\nfunction toComparators (range, options) {\n return new Range(range, options).set.map(function (comp) {\n return comp.map(function (c) {\n return c.value\n }).join(' ').trim().split(' ')\n })\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.\nfunction 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\nfunction isX (id) {\n return !id || id.toLowerCase() === 'x' || id === '*'\n}\n\n// ~, ~> --> * (any, kinda silly)\n// ~2, ~2.x, ~2.x.x, ~>2, ~>2.x ~>2.x.x --> >=2.0.0 <3.0.0\n// ~2.0, ~2.0.x, ~>2.0, ~>2.0.x --> >=2.0.0 <2.1.0\n// ~1.2, ~1.2.x, ~>1.2, ~>1.2.x --> >=1.2.0 <1.3.0\n// ~1.2.3, ~>1.2.3 --> >=1.2.3 <1.3.0\n// ~1.2.0, ~>1.2.0 --> >=1.2.0 <1.3.0\nfunction replaceTildes (comp, options) {\n return comp.trim().split(/\\s+/).map(function (comp) {\n return replaceTilde(comp, options)\n }).join(' ')\n}\n\nfunction replaceTilde (comp, options) {\n var r = options.loose ? safeRe[t.TILDELOOSE] : safeRe[t.TILDE]\n return comp.replace(r, function (_, M, m, p, pr) {\n debug('tilde', comp, _, M, m, p, pr)\n var ret\n\n if (isX(M)) {\n ret = ''\n } else if (isX(m)) {\n ret = '>=' + M + '.0.0 <' + (+M + 1) + '.0.0'\n } else if (isX(p)) {\n // ~1.2 == >=1.2.0 <1.3.0\n ret = '>=' + M + '.' + m + '.0 <' + M + '.' + (+m + 1) + '.0'\n } else if (pr) {\n debug('replaceTilde pr', pr)\n ret = '>=' + M + '.' + m + '.' + p + '-' + pr +\n ' <' + M + '.' + (+m + 1) + '.0'\n } else {\n // ~1.2.3 == >=1.2.3 <1.3.0\n ret = '>=' + M + '.' + m + '.' + p +\n ' <' + M + '.' + (+m + 1) + '.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\n// ^2.0, ^2.0.x --> >=2.0.0 <3.0.0\n// ^1.2, ^1.2.x --> >=1.2.0 <2.0.0\n// ^1.2.3 --> >=1.2.3 <2.0.0\n// ^1.2.0 --> >=1.2.0 <2.0.0\nfunction replaceCarets (comp, options) {\n return comp.trim().split(/\\s+/).map(function (comp) {\n return replaceCaret(comp, options)\n }).join(' ')\n}\n\nfunction replaceCaret (comp, options) {\n debug('caret', comp, options)\n var r = options.loose ? safeRe[t.CARETLOOSE] : safeRe[t.CARET]\n return comp.replace(r, function (_, M, m, p, pr) {\n debug('caret', comp, _, M, m, p, pr)\n var ret\n\n if (isX(M)) {\n ret = ''\n } else if (isX(m)) {\n ret = '>=' + M + '.0.0 <' + (+M + 1) + '.0.0'\n } else if (isX(p)) {\n if (M === '0') {\n ret = '>=' + M + '.' + m + '.0 <' + M + '.' + (+m + 1) + '.0'\n } else {\n ret = '>=' + M + '.' + m + '.0 <' + (+M + 1) + '.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)\n } else {\n ret = '>=' + M + '.' + m + '.' + p + '-' + pr +\n ' <' + M + '.' + (+m + 1) + '.0'\n }\n } else {\n ret = '>=' + M + '.' + m + '.' + p + '-' + pr +\n ' <' + (+M + 1) + '.0.0'\n }\n } else {\n debug('no pr')\n if (M === '0') {\n if (m === '0') {\n ret = '>=' + M + '.' + m + '.' + p +\n ' <' + M + '.' + m + '.' + (+p + 1)\n } else {\n ret = '>=' + M + '.' + m + '.' + p +\n ' <' + M + '.' + (+m + 1) + '.0'\n }\n } else {\n ret = '>=' + M + '.' + m + '.' + p +\n ' <' + (+M + 1) + '.0.0'\n }\n }\n\n debug('caret return', ret)\n return ret\n })\n}\n\nfunction replaceXRanges (comp, options) {\n debug('replaceXRanges', comp, options)\n return comp.split(/\\s+/).map(function (comp) {\n return replaceXRange(comp, options)\n }).join(' ')\n}\n\nfunction replaceXRange (comp, options) {\n comp = comp.trim()\n var r = options.loose ? safeRe[t.XRANGELOOSE] : safeRe[t.XRANGE]\n return comp.replace(r, function (ret, gtlt, M, m, p, pr) {\n debug('xRange', comp, ret, gtlt, M, m, p, pr)\n var xM = isX(M)\n var xm = xM || isX(m)\n var xp = xm || isX(p)\n var 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 // >1.2.3 => >= 1.2.4\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 ret = gtlt + M + '.' + m + '.' + p + pr\n } else if (xm) {\n ret = '>=' + M + '.0.0' + pr + ' <' + (+M + 1) + '.0.0' + pr\n } else if (xp) {\n ret = '>=' + M + '.' + m + '.0' + pr +\n ' <' + M + '.' + (+m + 1) + '.0' + pr\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.\nfunction 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(safeRe[t.STAR], '')\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 Any 3.4.x will do\n// 1.2 - 3.4 => >=1.2.0 <3.5.0\nfunction hyphenReplace ($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'\n } else if (isX(fp)) {\n from = '>=' + fM + '.' + fm + '.0'\n } else {\n from = '>=' + from\n }\n\n if (isX(tM)) {\n to = ''\n } else if (isX(tm)) {\n to = '<' + (+tM + 1) + '.0.0'\n } else if (isX(tp)) {\n to = '<' + tM + '.' + (+tm + 1) + '.0'\n } else if (tpr) {\n to = '<=' + tM + '.' + tm + '.' + tp + '-' + tpr\n } else {\n to = '<=' + to\n }\n\n return (from + ' ' + to).trim()\n}\n\n// if ANY of the sets match ALL of its comparators, then pass\nRange.prototype.test = function (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 (var 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\nfunction testSet (set, version, options) {\n for (var 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 (i = 0; i < set.length; i++) {\n debug(set[i].semver)\n if (set[i].semver === ANY) {\n continue\n }\n\n if (set[i].semver.prerelease.length > 0) {\n var 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\nexports.satisfies = satisfies\nfunction 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}\n\nexports.maxSatisfying = maxSatisfying\nfunction maxSatisfying (versions, range, options) {\n var max = null\n var maxSV = null\n try {\n var rangeObj = new Range(range, options)\n } catch (er) {\n return null\n }\n versions.forEach(function (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}\n\nexports.minSatisfying = minSatisfying\nfunction minSatisfying (versions, range, options) {\n var min = null\n var minSV = null\n try {\n var rangeObj = new Range(range, options)\n } catch (er) {\n return null\n }\n versions.forEach(function (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}\n\nexports.minVersion = minVersion\nfunction minVersion (range, loose) {\n range = new Range(range, loose)\n\n var 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 (var i = 0; i < range.set.length; ++i) {\n var comparators = range.set[i]\n\n comparators.forEach(function (comparator) {\n // Clone to avoid manipulating the comparator's semver object.\n var 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 (!minver || gt(minver, compver)) {\n minver = 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 }\n\n if (minver && range.test(minver)) {\n return minver\n }\n\n return null\n}\n\nexports.validRange = validRange\nfunction 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}\n\n// Determine if version is less than all the versions possible in the range\nexports.ltr = ltr\nfunction ltr (version, range, options) {\n return outside(version, range, '<', options)\n}\n\n// Determine if version is greater than all the versions possible in the range.\nexports.gtr = gtr\nfunction gtr (version, range, options) {\n return outside(version, range, '>', options)\n}\n\nexports.outside = outside\nfunction outside (version, range, hilo, options) {\n version = new SemVer(version, options)\n range = new Range(range, options)\n\n var 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 satisifes 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 (var i = 0; i < range.set.length; ++i) {\n var comparators = range.set[i]\n\n var high = null\n var low = null\n\n comparators.forEach(function (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\nexports.prerelease = prerelease\nfunction prerelease (version, options) {\n var parsed = parse(version, options)\n return (parsed && parsed.prerelease.length) ? parsed.prerelease : null\n}\n\nexports.intersects = intersects\nfunction intersects (r1, r2, options) {\n r1 = new Range(r1, options)\n r2 = new Range(r2, options)\n return r1.intersects(r2)\n}\n\nexports.coerce = coerce\nfunction 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 var match = null\n if (!options.rtl) {\n match = version.match(safeRe[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 var next\n while ((next = safeRe[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 safeRe[t.COERCERTL].lastIndex = next.index + next[1].length + next[2].length\n }\n // leave it in a clean state\n safeRe[t.COERCERTL].lastIndex = -1\n }\n\n if (match === null) {\n return null\n }\n\n return parse(match[2] +\n '.' + (match[3] || '0') +\n '.' + (match[4] || '0'), options)\n}\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,null,null,"module.exports = (Promise.resolve(__parcel__require__(\"./\" + \"actions_python.bfd29453.js\"))).then(() => parcelRequire('8MXq9'));","#!/usr/bin/env node\n/* eslint-disable node/shebang */\n\nimport { GITHUB_ACTIONS, isCI } from \"ci-info\"\nimport { error, info, success, warning } from \"ci-log\"\nimport * as numerous from \"numerous\"\nimport numerousLocale from \"numerous/locales/en.js\"\nimport * as timeDelta from \"time-delta\"\nimport timeDeltaLocale from \"time-delta/locales/en.js\"\nimport { untildifyUser } from \"untildify-user\"\nimport { checkUpdates } from \"./check-updates\"\nimport { parseArgs, printHelp } from \"./cli-options\"\nimport { installCompiler } from \"./compilers\"\nimport { finalizeCpprc } from \"./utils/env/addEnv\"\nimport { isArch } from \"./utils/env/isArch\"\nimport { ubuntuVersion } from \"./utils/env/ubuntu_version\"\nimport { setupPacmanPack } from \"./utils/setup/setupPacmanPack\"\nimport { syncVersions } from \"./versions/versions\"\nimport { installTool } from \"./installTool\"\nimport { tools } from \"./tool\"\n\n/** The main entry function */\nasync function main(args: string[]): Promise {\n let checkUpdatePromise = Promise.resolve()\n if (!GITHUB_ACTIONS) {\n checkUpdatePromise = checkUpdates()\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 as numerous.Locale)\n let time1: number\n let time2: number\n\n // installing the specified tools\n\n const osVersion = await ubuntuVersion()\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 if (isArch() && typeof opts.cppcheck === \"string\" && typeof opts.gcovr === \"string\") {\n info(\"installing python-pygments to avoid conflicts with cppcheck and gcovr on Arch linux\")\n await setupPacmanPack(\"python-pygments\")\n }\n\n /** Used to unset CPPFLAGS of LLVM when other compilers are used as the main compiler */\n let hasLLVM = false\n\n // loop over the tools and run their setup function\n\n let failedFast = false\n for (const tool of tools) {\n // fail fast inside CI when any tool fails\n if (isCI) {\n if (errorMessages.length !== 0) {\n failedFast = true\n break\n }\n }\n\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 // eslint-disable-next-line no-await-in-loop\n hasLLVM = await installTool(\n tool,\n version,\n osVersion,\n arch,\n setupCppDir,\n successMessages,\n errorMessages,\n parseFloat(opts.timeout ?? \"20\") * 60 * 1000,\n )\n time2 = Date.now()\n info(`took ${timeFormatter.format(time1, time2) || \"0 seconds\"}`)\n }\n }\n\n if (!failedFast) {\n // installing the specified compiler\n const maybeCompiler = opts.compiler\n if (maybeCompiler !== undefined) {\n const time1Compiler = Date.now()\n await installCompiler(maybeCompiler, osVersion, setupCppDir, arch, successMessages, hasLLVM, errorMessages)\n const time2Compiler = Date.now()\n info(`took ${timeFormatter.format(time1Compiler, time2Compiler) || \"0 seconds\"}`)\n }\n }\n\n await finalizeCpprc()\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 (!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 await checkUpdatePromise\n\n return errorMessages.length === 0 ? 0 : 1 // exit with non-zero if any error message\n}\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","(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);","\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","import { join } from \"path\"\nimport untildify from \"untildify\"\nimport { isSudo } from \"admina\"\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 os from 'node:os';\n\nconst homeDirectory = os.homedir();\n\nexport default function untildify(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","export * from \"./root.mjs\"\nexport * from \"./admin.mjs\"\nexport * from \"./user-access.mjs\"\n",null,"import which from \"which\"\nimport {\n execa,\n execaCommand,\n execaCommandSync,\n execaSync,\n SyncOptions as ExecaSyncOptions,\n ExecaSyncReturnValue,\n Options as ExecaOptions,\n ExecaChildProcess,\n} from \"execa\"\n\n/** Detect if sudo is available */\nexport function hasSudo(): boolean {\n return which.sync(\"sudo\", { nothrow: true }) !== null\n}\n\n/**\n * Detect if the process has root privilege on Posix.\n *\n * @example\n *\n * ```js\n * import { isRoot } from \"admina\"\n *\n * console.log(isRoot())\n * //=> false\n * ```\n *\n * @returns Whether the process is running as root.\n */\nexport function isRoot(): boolean {\n // TODO not all CI systems are root\n return process.getuid?.() === 0 || Boolean(process.env.CI)\n}\n\n/** Detect if sudo is available and the user has root privileges */\nexport function isSudo(): boolean {\n return isRoot() && hasSudo()\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/** Default exec options `{ stdio: \"inherit\", shell: true }` */\nexport const defaultExecOptions: ExecaSyncOptions = { stdio: \"inherit\", shell: true }\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: ExecaSyncOptions = defaultExecOptions,\n): ExecaSyncReturnValue {\n if (isSudo()) {\n const command = getSudoCommand(program, args)\n return execaCommandSync(command, execOptions)\n } else {\n return execaSync(program, quote(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: ExecaOptions = defaultExecOptions,\n): ExecaChildProcess {\n if (isSudo()) {\n const command = getSudoCommand(program, args)\n return execaCommand(command, execOptions)\n } else {\n return execa(program, quote(args), execOptions)\n }\n}\n\nfunction getSudoCommand(program: string, args: string[]) {\n return `sudo ${quote([program, ...args]).join(\" \")}`\n}\n\nfunction quote(strings: string[]) {\n return strings.map((str) => `'${str}'`)\n}\n","const { isexe, sync: isexeSync } = require('isexe')\nconst { join, delimiter, sep, posix } = require('path')\n\nconst isWindows = process.platform === 'win32'\n\n// used to check for slashed in commands passed in. always checks for the posix\n// seperator on all platforms, and checks for the current separator when not on\n// a posix platform. don't use the isWindows check for this since that is mocked\n// in tests but we still need the code to actually work when called. that is also\n// why it is ignored from coverage.\n/* istanbul ignore next */\nconst rSlash = new RegExp(`[${posix.sep}${sep === posix.sep ? '' : sep}]`.replace(/(\\\\)/g, '\\\\$1'))\nconst rRel = new RegExp(`^\\\\.${rSlash.source}`)\n\nconst getNotFoundError = (cmd) =>\n Object.assign(new Error(`not found: ${cmd}`), { code: 'ENOENT' })\n\nconst getPathInfo = (cmd, {\n path: optPath = process.env.PATH,\n pathExt: optPathExt = process.env.PATHEXT,\n delimiter: optDelimiter = delimiter,\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(rSlash) ? [''] : [\n // windows always checks the cwd first\n ...(isWindows ? [process.cwd()] : []),\n ...(optPath || /* istanbul ignore next: very unusual */ '').split(optDelimiter),\n ]\n\n if (isWindows) {\n const pathExtExe = optPathExt ||\n ['.EXE', '.CMD', '.BAT', '.COM'].join(optDelimiter)\n const pathExt = pathExtExe.split(optDelimiter).flatMap((item) => [item, item.toLowerCase()])\n if (cmd.includes('.') && pathExt[0] !== '') {\n pathExt.unshift('')\n }\n return { pathEnv, pathExt, pathExtExe }\n }\n\n return { pathEnv, pathExt: [''] }\n}\n\nconst getPathPart = (raw, cmd) => {\n const pathPart = /^\".*\"$/.test(raw) ? raw.slice(1, -1) : raw\n const prefix = !pathPart && rRel.test(cmd) ? cmd.slice(0, 2) : ''\n return prefix + join(pathPart, cmd)\n}\n\nconst which = async (cmd, opt = {}) => {\n const { pathEnv, pathExt, pathExtExe } = getPathInfo(cmd, opt)\n const found = []\n\n for (const envPart of pathEnv) {\n const p = getPathPart(envPart, cmd)\n\n for (const ext of pathExt) {\n const withExt = p + ext\n const is = await isexe(withExt, { pathExt: pathExtExe, ignoreErrors: true })\n if (is) {\n if (!opt.all) {\n return withExt\n }\n found.push(withExt)\n }\n }\n }\n\n if (opt.all && found.length) {\n return found\n }\n\n if (opt.nothrow) {\n return null\n }\n\n throw getNotFoundError(cmd)\n}\n\nconst whichSync = (cmd, opt = {}) => {\n const { pathEnv, pathExt, pathExtExe } = getPathInfo(cmd, opt)\n const found = []\n\n for (const pathEnvPart of pathEnv) {\n const p = getPathPart(pathEnvPart, cmd)\n\n for (const ext of pathExt) {\n const withExt = p + ext\n const is = isexeSync(withExt, { pathExt: pathExtExe, ignoreErrors: true })\n if (is) {\n if (!opt.all) {\n return withExt\n }\n found.push(withExt)\n }\n }\n }\n\n if (opt.all && found.length) {\n return found\n }\n\n if (opt.nothrow) {\n return null\n }\n\n throw getNotFoundError(cmd)\n}\n\nmodule.exports = which\nwhich.sync = whichSync\n",null,"import * as posix from './posix.js'\nimport * as win32 from './win32.js'\nexport * from './options.js'\nexport { win32, posix }\n\nconst platform = process.env._ISEXE_TEST_PLATFORM_ || process.platform\nconst impl = platform === 'win32' ? win32 : posix\n\n/**\n * Determine whether a path is executable on the current platform.\n */\nexport const isexe = impl.isexe\n/**\n * Synchronously determine whether a path is executable on the\n * current platform.\n */\nexport const sync = impl.sync\n",null,"/**\n * This is the Posix implementation of isexe, which uses the file\n * mode and uid/gid values.\n *\n * @module\n */\n\nimport { Stats, statSync } from 'fs'\nimport { stat } from 'fs/promises'\nimport { IsexeOptions } from './options'\n\n/**\n * Determine whether a path is executable according to the mode and\n * current (or specified) user and group IDs.\n */\nexport const isexe = async (\n path: string,\n options: IsexeOptions = {}\n): Promise => {\n const { ignoreErrors = false } = options\n try {\n return checkStat(await stat(path), options)\n } catch (e) {\n const er = e as NodeJS.ErrnoException\n if (ignoreErrors || er.code === 'EACCES') return false\n throw er\n }\n}\n\n/**\n * Synchronously determine whether a path is executable according to\n * the mode and current (or specified) user and group IDs.\n */\nexport const sync = (\n path: string,\n options: IsexeOptions = {}\n): boolean => {\n const { ignoreErrors = false } = options\n try {\n return checkStat(statSync(path), options)\n } catch (e) {\n const er = e as NodeJS.ErrnoException\n if (ignoreErrors || er.code === 'EACCES') return false\n throw er\n }\n}\n\nconst checkStat = (stat: Stats, options: IsexeOptions) =>\n stat.isFile() && checkMode(stat, options)\n\nconst checkMode = (stat: Stats, options: IsexeOptions) => {\n const myUid = options.uid ?? process.getuid?.()\n const myGroups = options.groups ?? process.getgroups?.() ?? []\n const myGid = options.gid ?? process.getgid?.() ?? myGroups[0]\n if (myUid === undefined || myGid === undefined) {\n throw new Error('cannot get uid or gid')\n }\n\n const groups = new Set([myGid, ...myGroups])\n\n const mod = stat.mode\n const uid = stat.uid\n const gid = stat.gid\n\n const u = parseInt('100', 8)\n const g = parseInt('010', 8)\n const o = parseInt('001', 8)\n const ug = u | g\n\n return !!(\n mod & o ||\n (mod & g && groups.has(gid)) ||\n (mod & u && uid === myUid) ||\n (mod & ug && myUid === 0)\n )\n}\n","import { promises } from \"fs\"\nexport default promises\n\nexport const {\n access,\n appendFile,\n chmod,\n chown,\n copyFile,\n lchmod,\n lchown,\n link,\n lstat,\n mkdir,\n mkdtemp,\n open,\n readdir,\n readFile,\n readlink,\n realpath,\n rename,\n rmdir,\n stat,\n symlink,\n truncate,\n unlink,\n utimes,\n writeFile,\n} = promises\n",null,"/**\n * This is the Windows implementation of isexe, which uses the file\n * extension and PATHEXT setting.\n *\n * @module\n */\n\nimport { Stats, statSync } from 'fs'\nimport { stat } from 'fs/promises'\nimport { IsexeOptions } from './options'\n\n/**\n * Determine whether a path is executable based on the file extension\n * and PATHEXT environment variable (or specified pathExt option)\n */\nexport const isexe = async (\n path: string,\n options: IsexeOptions = {}\n): Promise => {\n const { ignoreErrors = false } = options\n try {\n return checkStat(await stat(path), path, options)\n } catch (e) {\n const er = e as NodeJS.ErrnoException\n if (ignoreErrors || er.code === 'EACCES') return false\n throw er\n }\n}\n\n/**\n * Synchronously determine whether a path is executable based on the file\n * extension and PATHEXT environment variable (or specified pathExt option)\n */\nexport const sync = (\n path: string,\n options: IsexeOptions = {}\n): boolean => {\n const { ignoreErrors = false } = options\n try {\n return checkStat(statSync(path), path, options)\n } catch (e) {\n const er = e as NodeJS.ErrnoException\n if (ignoreErrors || er.code === 'EACCES') return false\n throw er\n }\n}\n\nconst checkPathExt = (path: string, options: IsexeOptions) => {\n const { pathExt = process.env.PATHEXT || '' } = options\n const peSplit = pathExt.split(';')\n if (peSplit.indexOf('') !== -1) {\n return true\n }\n\n for (let i = 0; i < peSplit.length; i++) {\n const p = peSplit[i].toLowerCase()\n const ext = path.substring(path.length - p.length).toLowerCase()\n\n if (p && ext === p) {\n return true\n }\n }\n return false\n}\n\nconst checkStat = (stat: Stats, path: string, options: IsexeOptions) =>\n stat.isFile() && checkPathExt(path, options)\n","export interface IsexeOptions {\n /**\n * Ignore errors arising from attempting to get file access status\n * Note that EACCES is always ignored, because that just means\n * it's not executable. If this is not set, then attempting to check\n * the executable-ness of a nonexistent file will raise ENOENT, for\n * example.\n */\n ignoreErrors?: boolean\n\n /**\n * effective uid when checking executable mode flags on posix\n * Defaults to process.getuid()\n */\n uid?: number\n\n /**\n * effective gid when checking executable mode flags on posix\n * Defaults to process.getgid()\n */\n gid?: number\n\n /**\n * effective group ID list to use when checking executable mode flags\n * on posix\n * Defaults to process.getgroups()\n */\n groups?: number[]\n\n /**\n * The ;-delimited path extension list for win32 implementation.\n * Defaults to process.env.PATHEXT\n */\n pathExt?: string\n}\n","import {Buffer} from 'node:buffer';\nimport path from 'node:path';\nimport childProcess from 'node:child_process';\nimport process from 'node:process';\nimport crossSpawn from 'cross-spawn';\nimport stripFinalNewline from 'strip-final-newline';\nimport {npmRunPathEnv} from 'npm-run-path';\nimport onetime from 'onetime';\nimport {makeError} from './lib/error.js';\nimport {normalizeStdio, normalizeStdioNode} from './lib/stdio.js';\nimport {spawnedKill, spawnedCancel, setupTimeout, validateTimeout, setExitHandler} from './lib/kill.js';\nimport {addPipeMethods} from './lib/pipe.js';\nimport {handleInput, getSpawnedResult, makeAllStream, handleInputSync} from './lib/stream.js';\nimport {mergePromise, getSpawnedPromise} from './lib/promise.js';\nimport {joinCommand, parseCommand, parseTemplates, getEscapedCommand} from './lib/command.js';\nimport {logCommand, verboseDefault} from './lib/verbose.js';\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 npmRunPathEnv({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\tverbose: verboseDefault,\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 `execaSync()` 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\nexport function execa(file, args, options) {\n\tconst parsed = handleArguments(file, args, options);\n\tconst command = joinCommand(file, args);\n\tconst escapedCommand = getEscapedCommand(file, args);\n\tlogCommand(escapedCommand, parsed.options);\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\tmergePromise(dummySpawned, errorPromise);\n\t\treturn dummySpawned;\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 || (parsed.options.signal ? parsed.options.signal.aborted : false),\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);\n\n\tspawned.all = makeAllStream(spawned, parsed.options);\n\n\taddPipeMethods(spawned);\n\tmergePromise(spawned, handlePromiseOnce);\n\treturn spawned;\n}\n\nexport function execaSync(file, args, options) {\n\tconst parsed = handleArguments(file, args, options);\n\tconst command = joinCommand(file, args);\n\tconst escapedCommand = getEscapedCommand(file, args);\n\tlogCommand(escapedCommand, parsed.options);\n\n\tconst input = handleInputSync(parsed.options);\n\n\tlet result;\n\ttry {\n\t\tresult = childProcess.spawnSync(parsed.file, parsed.args, {...parsed.options, input});\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\nconst normalizeScriptStdin = ({input, inputFile, stdio}) => input === undefined && inputFile === undefined && stdio === undefined\n\t? {stdin: 'inherit'}\n\t: {};\n\nconst normalizeScriptOptions = (options = {}) => ({\n\tpreferLocal: true,\n\t...normalizeScriptStdin(options),\n\t...options,\n});\n\nfunction create$(options) {\n\tfunction $(templatesOrOptions, ...expressions) {\n\t\tif (!Array.isArray(templatesOrOptions)) {\n\t\t\treturn create$({...options, ...templatesOrOptions});\n\t\t}\n\n\t\tconst [file, ...args] = parseTemplates(templatesOrOptions, expressions);\n\t\treturn execa(file, args, normalizeScriptOptions(options));\n\t}\n\n\t$.sync = (templates, ...expressions) => {\n\t\tif (!Array.isArray(templates)) {\n\t\t\tthrow new TypeError('Please use $(options).sync`command` instead of $.sync(options)`command`.');\n\t\t}\n\n\t\tconst [file, ...args] = parseTemplates(templates, expressions);\n\t\treturn execaSync(file, args, normalizeScriptOptions(options));\n\t};\n\n\treturn $;\n}\n\nexport const $ = create$();\n\nexport function execaCommand(command, options) {\n\tconst [file, ...args] = parseCommand(command);\n\treturn execa(file, args, options);\n}\n\nexport function execaCommandSync(command, options) {\n\tconst [file, ...args] = parseCommand(command);\n\treturn execaSync(file, args, options);\n}\n\nexport function execaNode(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 = normalizeStdioNode(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 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';\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\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","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","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","'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';\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';\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';\nmodule.exports = /^#!(.*)/;\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","export default function stripFinalNewline(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, -1);\n\t}\n\n\tif (input[input.length - 1] === CR) {\n\t\tinput = input.slice(0, -1);\n\t}\n\n\treturn input;\n}\n","import process from 'node:process';\nimport path from 'node:path';\nimport url from 'node:url';\nimport pathKey from 'path-key';\n\nexport function npmRunPath(options = {}) {\n\tconst {\n\t\tcwd = process.cwd(),\n\t\tpath: path_ = process.env[pathKey()],\n\t\texecPath = process.execPath,\n\t} = options;\n\n\tlet previous;\n\tconst execPathString = execPath instanceof URL ? url.fileURLToPath(execPath) : execPath;\n\tconst cwdString = cwd instanceof URL ? url.fileURLToPath(cwd) : cwd;\n\tlet cwdPath = path.resolve(cwdString);\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\tresult.push(path.resolve(cwdString, execPathString, '..'));\n\n\treturn [...result, path_].join(path.delimiter);\n}\n\nexport function npmRunPathEnv({env = process.env, ...options} = {}) {\n\tenv = {...env};\n\n\tconst path = pathKey({env});\n\toptions.path = env[path];\n\tenv[path] = npmRunPath(options);\n\n\treturn env;\n}\n","export default function pathKey(options = {}) {\n\tconst {\n\t\tenv = process.env,\n\t\tplatform = process.platform\n\t} = options;\n\n\tif (platform !== 'win32') {\n\t\treturn 'PATH';\n\t}\n\n\treturn Object.keys(env).reverse().find(key => key.toUpperCase() === 'PATH') || 'Path';\n}\n","import mimicFunction from '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\tmimicFunction(onetime, function_);\n\tcalledFunctions.set(onetime, callCount);\n\n\treturn onetime;\n};\n\nonetime.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\nexport default onetime;\n","const copyProperty = (to, from, property, ignoreNonConfigurable) => {\n\t// `Function#length` should reflect the parameters of `to` not `from` since we keep its body.\n\t// `Function#prototype` is non-writable and non-configurable so can never be modified.\n\tif (property === 'length' || property === 'prototype') {\n\t\treturn;\n\t}\n\n\t// `Function#arguments` and `Function#caller` should not be copied. They were reported to be present in `Reflect.ownKeys` for some devices in React Native (#41), so we explicitly ignore them here.\n\tif (property === 'arguments' || property === 'caller') {\n\t\treturn;\n\t}\n\n\tconst toDescriptor = Object.getOwnPropertyDescriptor(to, property);\n\tconst fromDescriptor = Object.getOwnPropertyDescriptor(from, property);\n\n\tif (!canCopyProperty(toDescriptor, fromDescriptor) && ignoreNonConfigurable) {\n\t\treturn;\n\t}\n\n\tObject.defineProperty(to, property, fromDescriptor);\n};\n\n// `Object.defineProperty()` throws if the property exists, is not configurable and either:\n// - one its descriptors is changed\n// - it is non-writable and its value is changed\nconst canCopyProperty = function (toDescriptor, fromDescriptor) {\n\treturn toDescriptor === undefined || toDescriptor.configurable || (\n\t\ttoDescriptor.writable === fromDescriptor.writable &&\n\t\ttoDescriptor.enumerable === fromDescriptor.enumerable &&\n\t\ttoDescriptor.configurable === fromDescriptor.configurable &&\n\t\t(toDescriptor.writable || toDescriptor.value === fromDescriptor.value)\n\t);\n};\n\nconst changePrototype = (to, from) => {\n\tconst fromPrototype = Object.getPrototypeOf(from);\n\tif (fromPrototype === Object.getPrototypeOf(to)) {\n\t\treturn;\n\t}\n\n\tObject.setPrototypeOf(to, fromPrototype);\n};\n\nconst wrappedToString = (withName, fromBody) => `/* Wrapped ${withName}*/\\n${fromBody}`;\n\nconst toStringDescriptor = Object.getOwnPropertyDescriptor(Function.prototype, 'toString');\nconst toStringName = Object.getOwnPropertyDescriptor(Function.prototype.toString, 'name');\n\n// We call `from.toString()` early (not lazily) to ensure `from` can be garbage collected.\n// We use `bind()` instead of a closure for the same reason.\n// Calling `from.toString()` early also allows caching it in case `to.toString()` is called several times.\nconst changeToString = (to, from, name) => {\n\tconst withName = name === '' ? '' : `with ${name.trim()}() `;\n\tconst newToString = wrappedToString.bind(null, withName, from.toString());\n\t// Ensure `to.toString.toString` is non-enumerable and has the same `same`\n\tObject.defineProperty(newToString, 'name', toStringName);\n\tObject.defineProperty(to, 'toString', {...toStringDescriptor, value: newToString});\n};\n\nexport default function mimicFunction(to, from, {ignoreNonConfigurable = false} = {}) {\n\tconst {name} = to;\n\n\tfor (const property of Reflect.ownKeys(from)) {\n\t\tcopyProperty(to, from, property, ignoreNonConfigurable);\n\t}\n\n\tchangePrototype(to, from);\n\tchangeToString(to, from, name);\n\n\treturn to;\n}\n","import process from 'node:process';\nimport {signalsByName} from '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\nexport const 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, cwd = process.cwd()}},\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\terror.cwd = cwd;\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","import{constants}from\"node:os\";\n\nimport{SIGRTMAX}from\"./realtime.js\";\nimport{getSignals}from\"./signals.js\";\n\n\n\nconst getSignalsByName=()=>{\nconst signals=getSignals();\nreturn Object.fromEntries(signals.map(getSignalByName));\n};\n\nconst getSignalByName=({\nname,\nnumber,\ndescription,\nsupported,\naction,\nforced,\nstandard\n})=>[name,{name,number,description,supported,action,forced,standard}];\n\nexport const signalsByName=getSignalsByName();\n\n\n\n\nconst getSignalsByNumber=()=>{\nconst signals=getSignals();\nconst length=SIGRTMAX+1;\nconst signalsA=Array.from({length},(value,number)=>\ngetSignalByNumber(number,signals));\n\nreturn Object.assign({},...signalsA);\n};\n\nconst getSignalByNumber=(number,signals)=>{\nconst signal=findSignalByNumber(number,signals);\n\nif(signal===undefined){\nreturn{};\n}\n\nconst{name,description,supported,action,forced,standard}=signal;\nreturn{\n[number]:{\nname,\nnumber,\ndescription,\nsupported,\naction,\nforced,\nstandard\n}\n};\n};\n\n\n\nconst findSignalByNumber=(number,signals)=>{\nconst signal=signals.find(({name})=>constants.signals[name]===number);\n\nif(signal!==undefined){\nreturn signal;\n}\n\nreturn signals.find((signalA)=>signalA.number===number);\n};\n\nexport const signalsByNumber=getSignalsByNumber();","\nexport const getRealtimeSignals=()=>{\nconst length=SIGRTMAX-SIGRTMIN+1;\nreturn Array.from({length},getRealtimeSignal);\n};\n\nconst getRealtimeSignal=(value,index)=>({\nname:`SIGRT${index+1}`,\nnumber:SIGRTMIN+index,\naction:\"terminate\",\ndescription:\"Application-specific signal (realtime)\",\nstandard:\"posix\"\n});\n\nconst SIGRTMIN=34;\nexport const SIGRTMAX=64;","import{constants}from\"node:os\";\n\nimport{SIGNALS}from\"./core.js\";\nimport{getRealtimeSignals}from\"./realtime.js\";\n\n\n\nexport const getSignals=()=>{\nconst realtimeSignals=getRealtimeSignals();\nconst signals=[...SIGNALS,...realtimeSignals].map(normalizeSignal);\nreturn signals;\n};\n\n\n\n\n\n\n\nconst normalizeSignal=({\nname,\nnumber:defaultNumber,\ndescription,\naction,\nforced=false,\nstandard\n})=>{\nconst{\nsignals:{[name]:constantSignal}\n}=constants;\nconst supported=constantSignal!==undefined;\nconst number=supported?constantSignal:defaultNumber;\nreturn{name,number,description,supported,action,forced,standard};\n};","\n\nexport const SIGNALS=[\n{\nname:\"SIGHUP\",\nnumber:1,\naction:\"terminate\",\ndescription:\"Terminal closed\",\nstandard:\"posix\"\n},\n{\nname:\"SIGINT\",\nnumber:2,\naction:\"terminate\",\ndescription:\"User interruption with CTRL-C\",\nstandard:\"ansi\"\n},\n{\nname:\"SIGQUIT\",\nnumber:3,\naction:\"core\",\ndescription:\"User interruption with CTRL-\\\\\",\nstandard:\"posix\"\n},\n{\nname:\"SIGILL\",\nnumber:4,\naction:\"core\",\ndescription:\"Invalid machine instruction\",\nstandard:\"ansi\"\n},\n{\nname:\"SIGTRAP\",\nnumber:5,\naction:\"core\",\ndescription:\"Debugger breakpoint\",\nstandard:\"posix\"\n},\n{\nname:\"SIGABRT\",\nnumber:6,\naction:\"core\",\ndescription:\"Aborted\",\nstandard:\"ansi\"\n},\n{\nname:\"SIGIOT\",\nnumber:6,\naction:\"core\",\ndescription:\"Aborted\",\nstandard:\"bsd\"\n},\n{\nname:\"SIGBUS\",\nnumber:7,\naction:\"core\",\ndescription:\n\"Bus error due to misaligned, non-existing address or paging error\",\nstandard:\"bsd\"\n},\n{\nname:\"SIGEMT\",\nnumber:7,\naction:\"terminate\",\ndescription:\"Command should be emulated but is not implemented\",\nstandard:\"other\"\n},\n{\nname:\"SIGFPE\",\nnumber:8,\naction:\"core\",\ndescription:\"Floating point arithmetic error\",\nstandard:\"ansi\"\n},\n{\nname:\"SIGKILL\",\nnumber:9,\naction:\"terminate\",\ndescription:\"Forced termination\",\nstandard:\"posix\",\nforced:true\n},\n{\nname:\"SIGUSR1\",\nnumber:10,\naction:\"terminate\",\ndescription:\"Application-specific signal\",\nstandard:\"posix\"\n},\n{\nname:\"SIGSEGV\",\nnumber:11,\naction:\"core\",\ndescription:\"Segmentation fault\",\nstandard:\"ansi\"\n},\n{\nname:\"SIGUSR2\",\nnumber:12,\naction:\"terminate\",\ndescription:\"Application-specific signal\",\nstandard:\"posix\"\n},\n{\nname:\"SIGPIPE\",\nnumber:13,\naction:\"terminate\",\ndescription:\"Broken pipe or socket\",\nstandard:\"posix\"\n},\n{\nname:\"SIGALRM\",\nnumber:14,\naction:\"terminate\",\ndescription:\"Timeout or timer\",\nstandard:\"posix\"\n},\n{\nname:\"SIGTERM\",\nnumber:15,\naction:\"terminate\",\ndescription:\"Termination\",\nstandard:\"ansi\"\n},\n{\nname:\"SIGSTKFLT\",\nnumber:16,\naction:\"terminate\",\ndescription:\"Stack is empty or overflowed\",\nstandard:\"other\"\n},\n{\nname:\"SIGCHLD\",\nnumber:17,\naction:\"ignore\",\ndescription:\"Child process terminated, paused or unpaused\",\nstandard:\"posix\"\n},\n{\nname:\"SIGCLD\",\nnumber:17,\naction:\"ignore\",\ndescription:\"Child process terminated, paused or unpaused\",\nstandard:\"other\"\n},\n{\nname:\"SIGCONT\",\nnumber:18,\naction:\"unpause\",\ndescription:\"Unpaused\",\nstandard:\"posix\",\nforced:true\n},\n{\nname:\"SIGSTOP\",\nnumber:19,\naction:\"pause\",\ndescription:\"Paused\",\nstandard:\"posix\",\nforced:true\n},\n{\nname:\"SIGTSTP\",\nnumber:20,\naction:\"pause\",\ndescription:\"Paused using CTRL-Z or \\\"suspend\\\"\",\nstandard:\"posix\"\n},\n{\nname:\"SIGTTIN\",\nnumber:21,\naction:\"pause\",\ndescription:\"Background process cannot read terminal input\",\nstandard:\"posix\"\n},\n{\nname:\"SIGBREAK\",\nnumber:21,\naction:\"terminate\",\ndescription:\"User interruption with CTRL-BREAK\",\nstandard:\"other\"\n},\n{\nname:\"SIGTTOU\",\nnumber:22,\naction:\"pause\",\ndescription:\"Background process cannot write to terminal output\",\nstandard:\"posix\"\n},\n{\nname:\"SIGURG\",\nnumber:23,\naction:\"ignore\",\ndescription:\"Socket received out-of-band data\",\nstandard:\"bsd\"\n},\n{\nname:\"SIGXCPU\",\nnumber:24,\naction:\"core\",\ndescription:\"Process timed out\",\nstandard:\"bsd\"\n},\n{\nname:\"SIGXFSZ\",\nnumber:25,\naction:\"core\",\ndescription:\"File too big\",\nstandard:\"bsd\"\n},\n{\nname:\"SIGVTALRM\",\nnumber:26,\naction:\"terminate\",\ndescription:\"Timeout or timer\",\nstandard:\"bsd\"\n},\n{\nname:\"SIGPROF\",\nnumber:27,\naction:\"terminate\",\ndescription:\"Timeout or timer\",\nstandard:\"bsd\"\n},\n{\nname:\"SIGWINCH\",\nnumber:28,\naction:\"ignore\",\ndescription:\"Terminal window size changed\",\nstandard:\"bsd\"\n},\n{\nname:\"SIGIO\",\nnumber:29,\naction:\"terminate\",\ndescription:\"I/O is available\",\nstandard:\"other\"\n},\n{\nname:\"SIGPOLL\",\nnumber:29,\naction:\"terminate\",\ndescription:\"Watched event\",\nstandard:\"other\"\n},\n{\nname:\"SIGINFO\",\nnumber:29,\naction:\"ignore\",\ndescription:\"Request for process information\",\nstandard:\"other\"\n},\n{\nname:\"SIGPWR\",\nnumber:30,\naction:\"terminate\",\ndescription:\"Device running out of power\",\nstandard:\"systemv\"\n},\n{\nname:\"SIGSYS\",\nnumber:31,\naction:\"core\",\ndescription:\"Invalid system call\",\nstandard:\"other\"\n},\n{\nname:\"SIGUNUSED\",\nnumber:31,\naction:\"terminate\",\ndescription:\"Invalid system call\",\nstandard:\"other\"\n}];","const aliases = ['stdin', 'stdout', 'stderr'];\n\nconst hasAlias = options => aliases.some(alias => options[alias] !== undefined);\n\nexport const 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\n// `ipc` is pushed unless it is already present\nexport const normalizeStdioNode = 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","import os from 'node:os';\nimport onExit from 'signal-exit';\n\nconst DEFAULT_FORCE_KILL_TIMEOUT = 1000 * 5;\n\n// Monkey-patches `childProcess.kill()` to add `forceKillAfterTimeout` behavior\nexport const 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) => isSigterm(signal) && forceKillAfterTimeout !== false && killResult;\n\nconst isSigterm = signal => signal === os.constants.signals.SIGTERM\n\t\t|| (typeof signal === 'string' && signal.toUpperCase() === 'SIGTERM');\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()`\nexport const 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\nexport const 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\nexport const 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\nexport const 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","// 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","import {createWriteStream} from 'node:fs';\nimport {ChildProcess} from 'node:child_process';\nimport {isWritableStream} from 'is-stream';\n\nconst isExecaChildProcess = target => target instanceof ChildProcess && typeof target.then === 'function';\n\nconst pipeToTarget = (spawned, streamName, target) => {\n\tif (typeof target === 'string') {\n\t\tspawned[streamName].pipe(createWriteStream(target));\n\t\treturn spawned;\n\t}\n\n\tif (isWritableStream(target)) {\n\t\tspawned[streamName].pipe(target);\n\t\treturn spawned;\n\t}\n\n\tif (!isExecaChildProcess(target)) {\n\t\tthrow new TypeError('The second argument must be a string, a stream or an Execa child process.');\n\t}\n\n\tif (!isWritableStream(target.stdin)) {\n\t\tthrow new TypeError('The target child process\\'s stdin must be available.');\n\t}\n\n\tspawned[streamName].pipe(target.stdin);\n\treturn target;\n};\n\nexport const addPipeMethods = spawned => {\n\tif (spawned.stdout !== null) {\n\t\tspawned.pipeStdout = pipeToTarget.bind(undefined, spawned, 'stdout');\n\t}\n\n\tif (spawned.stderr !== null) {\n\t\tspawned.pipeStderr = pipeToTarget.bind(undefined, spawned, 'stderr');\n\t}\n\n\tif (spawned.all !== undefined) {\n\t\tspawned.pipeAll = pipeToTarget.bind(undefined, spawned, 'all');\n\t}\n};\n","export function isStream(stream) {\n\treturn stream !== null\n\t\t&& typeof stream === 'object'\n\t\t&& typeof stream.pipe === 'function';\n}\n\nexport function isWritableStream(stream) {\n\treturn isStream(stream)\n\t\t&& stream.writable !== false\n\t\t&& typeof stream._write === 'function'\n\t\t&& typeof stream._writableState === 'object';\n}\n\nexport function isReadableStream(stream) {\n\treturn isStream(stream)\n\t\t&& stream.readable !== false\n\t\t&& typeof stream._read === 'function'\n\t\t&& typeof stream._readableState === 'object';\n}\n\nexport function isDuplexStream(stream) {\n\treturn isWritableStream(stream)\n\t\t&& isReadableStream(stream);\n}\n\nexport function isTransformStream(stream) {\n\treturn isDuplexStream(stream)\n\t\t&& typeof stream._transform === 'function';\n}\n","import {createReadStream, readFileSync} from 'node:fs';\nimport {isStream} from 'is-stream';\nimport getStream from 'get-stream';\nimport mergeStream from 'merge-stream';\n\nconst validateInputOptions = input => {\n\tif (input !== undefined) {\n\t\tthrow new TypeError('The `input` and `inputFile` options cannot be both set.');\n\t}\n};\n\nconst getInputSync = ({input, inputFile}) => {\n\tif (typeof inputFile !== 'string') {\n\t\treturn input;\n\t}\n\n\tvalidateInputOptions(input);\n\treturn readFileSync(inputFile);\n};\n\n// `input` and `inputFile` option in sync mode\nexport const handleInputSync = options => {\n\tconst input = getInputSync(options);\n\n\tif (isStream(input)) {\n\t\tthrow new TypeError('The `input` option cannot be a stream in sync mode');\n\t}\n\n\treturn input;\n};\n\nconst getInput = ({input, inputFile}) => {\n\tif (typeof inputFile !== 'string') {\n\t\treturn input;\n\t}\n\n\tvalidateInputOptions(input);\n\treturn createReadStream(inputFile);\n};\n\n// `input` and `inputFile` option in async mode\nexport const handleInput = (spawned, options) => {\n\tconst input = getInput(options);\n\n\tif (input === 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`\nexport const 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\t// When `buffer` is `false`, `streamPromise` is `undefined` and there is no buffered data to retrieve\n\tif (!stream || streamPromise === undefined) {\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)\nexport const 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","'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","'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","// eslint-disable-next-line unicorn/prefer-top-level-await\nconst nativePromisePrototype = (async () => {})().constructor.prototype;\n\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`\nexport const 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\t: descriptor.value.bind(promise);\n\n\t\tReflect.defineProperty(spawned, property, {...descriptor, value});\n\t}\n};\n\n// Use promises instead of `child_process` events\nexport const getSpawnedPromise = spawned => new Promise((resolve, reject) => {\n\tspawned.on('exit', (exitCode, signal) => {\n\t\tresolve({exitCode, signal});\n\t});\n\n\tspawned.on('error', error => {\n\t\treject(error);\n\t});\n\n\tif (spawned.stdin) {\n\t\tspawned.stdin.on('error', error => {\n\t\t\treject(error);\n\t\t});\n\t}\n});\n","import {Buffer} from 'node:buffer';\nimport {ChildProcess} from 'node:child_process';\n\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\nexport const joinCommand = (file, args) => normalizeArgs(file, args).join(' ');\n\nexport const getEscapedCommand = (file, args) => normalizeArgs(file, args).map(arg => escapeArg(arg)).join(' ');\n\nconst SPACES_REGEXP = / +/g;\n\n// Handle `execaCommand()`\nexport const 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\nconst parseExpression = expression => {\n\tconst typeOfExpression = typeof expression;\n\n\tif (typeOfExpression === 'string') {\n\t\treturn expression;\n\t}\n\n\tif (typeOfExpression === 'number') {\n\t\treturn String(expression);\n\t}\n\n\tif (\n\t\ttypeOfExpression === 'object'\n\t\t&& expression !== null\n\t\t&& !(expression instanceof ChildProcess)\n\t\t&& 'stdout' in expression\n\t) {\n\t\tconst typeOfStdout = typeof expression.stdout;\n\n\t\tif (typeOfStdout === 'string') {\n\t\t\treturn expression.stdout;\n\t\t}\n\n\t\tif (Buffer.isBuffer(expression.stdout)) {\n\t\t\treturn expression.stdout.toString();\n\t\t}\n\n\t\tthrow new TypeError(`Unexpected \"${typeOfStdout}\" stdout in template expression`);\n\t}\n\n\tthrow new TypeError(`Unexpected \"${typeOfExpression}\" in template expression`);\n};\n\nconst concatTokens = (tokens, nextTokens, isNew) => isNew || tokens.length === 0 || nextTokens.length === 0\n\t? [...tokens, ...nextTokens]\n\t: [\n\t\t...tokens.slice(0, -1),\n\t\t`${tokens[tokens.length - 1]}${nextTokens[0]}`,\n\t\t...nextTokens.slice(1),\n\t];\n\nconst parseTemplate = ({templates, expressions, tokens, index, template}) => {\n\tconst templateString = template ?? templates.raw[index];\n\tconst templateTokens = templateString.split(SPACES_REGEXP).filter(Boolean);\n\tconst newTokens = concatTokens(\n\t\ttokens,\n\t\ttemplateTokens,\n\t\ttemplateString.startsWith(' '),\n\t);\n\n\tif (index === expressions.length) {\n\t\treturn newTokens;\n\t}\n\n\tconst expression = expressions[index];\n\tconst expressionTokens = Array.isArray(expression)\n\t\t? expression.map(expression => parseExpression(expression))\n\t\t: [parseExpression(expression)];\n\treturn concatTokens(\n\t\tnewTokens,\n\t\texpressionTokens,\n\t\ttemplateString.endsWith(' '),\n\t);\n};\n\nexport const parseTemplates = (templates, expressions) => {\n\tlet tokens = [];\n\n\tfor (const [index, template] of templates.entries()) {\n\t\ttokens = parseTemplate({templates, expressions, tokens, index, template});\n\t}\n\n\treturn tokens;\n};\n\n","import {debuglog} from 'node:util';\nimport process from 'node:process';\n\nexport const verboseDefault = debuglog('execa').enabled;\n\nconst padField = (field, padding) => String(field).padStart(padding, '0');\n\nconst getTimestamp = () => {\n\tconst date = new Date();\n\treturn `${padField(date.getHours(), 2)}:${padField(date.getMinutes(), 2)}:${padField(date.getSeconds(), 2)}.${padField(date.getMilliseconds(), 3)}`;\n};\n\nexport const logCommand = (escapedCommand, {verbose}) => {\n\tif (!verbose) {\n\t\treturn;\n\t}\n\n\tprocess.stderr.write(`[${getTimestamp()}] ${escapedCommand}\\n`);\n};\n",null,"import { default as isAdminWindowsOrig } from \"./is-admin.mjs\"\nimport { isRoot } from \"./root.mjs\"\n\n/**\n * Check if the process is running as administrator on Windows.\n *\n * @example\n *\n * ```js\n * import { isAdminWindows } from \"admina\"\n *\n * console.log(await isAdminWindows())\n * //=> false\n * ```\n *\n * @returns Whether the process is running as administrator.\n */\nexport const isAdminWindows = isAdminWindowsOrig\n\n/**\n * Detect if the process has root privilege on Posix.\n *\n * @example\n *\n * ```js\n * import { isAdminPosix } from \"admina\"\n *\n * console.log(isAdminPosix())\n * //=> false\n * ```\n *\n * @returns Whether the process is running as root.\n */\nexport const isAdminPosix = isRoot\n\n/**\n * Detect if the code is running as admin/root\n *\n * On Windows, it checks for admin access, and on Posix, it checks for root access\n *\n * @example\n *\n * ```js\n * import { isAdmin } from \"admina\"\n *\n * console.log(isAdmin())\n * //=> false\n * ```\n *\n * @returns Whether the process is running as root or admin.\n */\nexport function isAdmin() {\n if (process.platform === \"win32\") {\n return isAdminWindows()\n } else {\n return isRoot()\n }\n}\n",null,"// From `is-admin`: updated execa\n\nimport { execa } from \"execa\"\n\n// https://stackoverflow.com/a/28268802\nasync function testFltmc() {\n try {\n await execa(\"fltmc\")\n return true\n } catch {\n return false\n }\n}\n\nexport default async function isAdmin() {\n if (process.platform !== \"win32\") {\n return false\n }\n\n try {\n // https://stackoverflow.com/a/21295806/1641422\n await execa(\"fsutil\", [\"dirty\", \"query\", process.env.systemdrive ?? \"\"])\n return true\n } catch (error) {\n if ((error as { code?: string }).code === \"ENOENT\") {\n return testFltmc()\n }\n\n return false\n }\n}\n",null,"import { isSudo, execRoot, defaultExecOptions } from \"./root.mjs\"\nimport fs from \"fs\"\n\n/**\n * Give the user access to the given path (and its sub-directories if a directory). It changes the owner to the\n * SUDO_USER. This allows the user to use the folder without sudo\n *\n * @param path The path to give the user access to\n */\nexport async function grantUserWriteAccess(path: string) {\n if (\n (process.platform === \"linux\" || process.platform === \"darwin\") &&\n isSudo() &&\n process.env.SUDO_USER !== undefined\n ) {\n const isDirectory = fs.statSync(path).isDirectory()\n await execRoot(\"chown\", [...(isDirectory ? [\"-R\"] : []), process.env.SUDO_USER, path], defaultExecOptions)\n }\n}\n","import { warning } from \"ci-log\"\nimport updateNotifier from \"simple-update-notifier\"\nimport packageJson from \"../package-version.json\"\n\n// auto self update notifier\nexport async function checkUpdates() {\n try {\n await updateNotifier({ pkg: packageJson })\n } catch (err) {\n warning(`Failed to check for updates: ${err instanceof Error ? err.message + err.stack : err}`)\n }\n}\n","'use strict';\n\nvar process$1 = require('process');\nvar semver = require('semver');\nvar os = require('os');\nvar path = require('path');\nvar fs = require('fs');\nvar https = require('https');\n\n/******************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\n\r\nfunction __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nfunction __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\n\nvar packageJson = process$1.env.npm_package_json;\nvar userAgent = process$1.env.npm_config_user_agent;\nvar isNpm6 = Boolean(userAgent && userAgent.startsWith('npm'));\nvar isNpm7 = Boolean(packageJson && packageJson.endsWith('package.json'));\nvar isNpm = isNpm6 || isNpm7;\nvar isYarn = Boolean(userAgent && userAgent.startsWith('yarn'));\nvar isNpmOrYarn = isNpm || isYarn;\n\nvar homeDirectory = os.homedir();\nvar configDir = process.env.XDG_CONFIG_HOME ||\n path.join(homeDirectory, '.config', 'simple-update-notifier');\nvar getConfigFile = function (packageName) {\n return path.join(configDir, \"\".concat(packageName.replace('@', '').replace('/', '__'), \".json\"));\n};\nvar createConfigDir = function () {\n if (!fs.existsSync(configDir)) {\n fs.mkdirSync(configDir, { recursive: true });\n }\n};\nvar getLastUpdate = function (packageName) {\n var configFile = getConfigFile(packageName);\n try {\n if (!fs.existsSync(configFile)) {\n return undefined;\n }\n var file = JSON.parse(fs.readFileSync(configFile, 'utf8'));\n return file.lastUpdateCheck;\n }\n catch (_a) {\n return undefined;\n }\n};\nvar saveLastUpdate = function (packageName) {\n var configFile = getConfigFile(packageName);\n fs.writeFileSync(configFile, JSON.stringify({ lastUpdateCheck: new Date().getTime() }));\n};\n\nvar getDistVersion = function (packageName, distTag) { return __awaiter(void 0, void 0, void 0, function () {\n var url;\n return __generator(this, function (_a) {\n url = \"https://registry.npmjs.org/-/package/\".concat(packageName, \"/dist-tags\");\n return [2 /*return*/, new Promise(function (resolve, reject) {\n https\n .get(url, function (res) {\n var body = '';\n res.on('data', function (chunk) { return (body += chunk); });\n res.on('end', function () {\n try {\n var json = JSON.parse(body);\n var version = json[distTag];\n if (!version) {\n reject(new Error('Error getting version'));\n }\n resolve(version);\n }\n catch (_a) {\n reject(new Error('Could not parse version response'));\n }\n });\n })\n .on('error', function (err) { return reject(err); });\n })];\n });\n}); };\n\nvar hasNewVersion = function (_a) {\n var pkg = _a.pkg, _b = _a.updateCheckInterval, updateCheckInterval = _b === void 0 ? 1000 * 60 * 60 * 24 : _b, _c = _a.distTag, distTag = _c === void 0 ? 'latest' : _c, alwaysRun = _a.alwaysRun, debug = _a.debug;\n return __awaiter(void 0, void 0, void 0, function () {\n var lastUpdateCheck, latestVersion;\n return __generator(this, function (_d) {\n switch (_d.label) {\n case 0:\n createConfigDir();\n lastUpdateCheck = getLastUpdate(pkg.name);\n if (!(alwaysRun ||\n !lastUpdateCheck ||\n lastUpdateCheck < new Date().getTime() - updateCheckInterval)) return [3 /*break*/, 2];\n return [4 /*yield*/, getDistVersion(pkg.name, distTag)];\n case 1:\n latestVersion = _d.sent();\n saveLastUpdate(pkg.name);\n if (semver.gt(latestVersion, pkg.version)) {\n return [2 /*return*/, latestVersion];\n }\n else if (debug) {\n console.error(\"Latest version (\".concat(latestVersion, \") not newer than current version (\").concat(pkg.version, \")\"));\n }\n return [3 /*break*/, 3];\n case 2:\n if (debug) {\n console.error(\"Too recent to check for a new update. simpleUpdateNotifier() interval set to \".concat(updateCheckInterval, \"ms but only \").concat(new Date().getTime() - lastUpdateCheck, \"ms since last check.\"));\n }\n _d.label = 3;\n case 3: return [2 /*return*/, false];\n }\n });\n });\n};\n\nvar borderedText = function (text) {\n var lines = text.split('\\n');\n var width = Math.max.apply(Math, lines.map(function (l) { return l.length; }));\n var res = [\"\\u250C\".concat('─'.repeat(width + 2), \"\\u2510\")];\n for (var _i = 0, lines_1 = lines; _i < lines_1.length; _i++) {\n var line = lines_1[_i];\n res.push(\"\\u2502 \".concat(line.padEnd(width), \" \\u2502\"));\n }\n res.push(\"\\u2514\".concat('─'.repeat(width + 2), \"\\u2518\"));\n return res.join('\\n');\n};\n\nvar simpleUpdateNotifier = function (args) { return __awaiter(void 0, void 0, void 0, function () {\n var latestVersion, err_1;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n if (!args.alwaysRun &&\n (!process.stdout.isTTY || (isNpmOrYarn && !args.shouldNotifyInNpmScript))) {\n if (args.debug) {\n console.error('Opting out of running simpleUpdateNotifier()');\n }\n return [2 /*return*/];\n }\n _a.label = 1;\n case 1:\n _a.trys.push([1, 3, , 4]);\n return [4 /*yield*/, hasNewVersion(args)];\n case 2:\n latestVersion = _a.sent();\n if (latestVersion) {\n console.error(borderedText(\"New version of \".concat(args.pkg.name, \" available!\\nCurrent Version: \").concat(args.pkg.version, \"\\nLatest Version: \").concat(latestVersion)));\n }\n return [3 /*break*/, 4];\n case 3:\n err_1 = _a.sent();\n // Catch any network errors or cache writing errors so module doesn't cause a crash\n if (args.debug && err_1 instanceof Error) {\n console.error('Unexpected error in simpleUpdateNotifier():', err_1);\n }\n return [3 /*break*/, 4];\n case 4: return [2 /*return*/];\n }\n });\n}); };\n\nmodule.exports = simpleUpdateNotifier;\n","{\n \"name\": \"setup-cpp\",\n \"version\": \"0.36.1\"\n}\n","import { getInput } from \"@actions/core\"\nimport { info } from \"ci-log\"\nimport mri from \"mri\"\nimport { InstallationInfo } from \"./utils/setup/setupBin\"\nimport { Inputs, inputs } from \"./tool\"\n\nexport function parseArgs(args: string[]): Opts {\n return mri & { help: boolean }>(args, {\n string: [...inputs, \"timeout\"],\n default: Object.fromEntries(inputs.map((inp) => [inp, maybeGetInput(inp)])),\n alias: { h: \"help\" },\n boolean: \"help\",\n })\n}\n\nexport function 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--timeout\\t the timeout for the installation of each tool in minutes. By default it is 10 minutes.\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--$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`)\n\n console.table(\n {\n \"compiler and analyzer\": { tools: `--llvm, --gcc, --msvc, --vcvarsall, --cppcheck, --clangtidy, --clangformat` },\n \"build system\": { tools: `--cmake, --ninja, --meson, --make, --task, --bazel` },\n \"package manager\": { tools: `--vcpkg, --conan, --choco, --brew, --nala` },\n cache: { tools: `--cppcache, --sccache` },\n documentation: { tools: `--doxygen, --graphviz` },\n coverage: { tools: `--gcovr, --opencppcoverage, --kcov` },\n other: { tools: `--python, --powershell, --sevenzip` },\n },\n [\"tools\"],\n )\n}\n/** Get an object from github actions */\n\nexport function maybeGetInput(key: string) {\n const value = getInput(key.toLowerCase())\n if (value !== \"false\" && value !== \"\") {\n return value\n }\n return undefined // skip installation\n}\nexport type Opts = mri.Argv<\n Record & {\n help: boolean\n timeout?: string\n }\n>\n\nexport function 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","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 { setupBazel } from \"./bazel/bazel\"\nimport { setupBrew } from \"./brew/brew\"\nimport { setupCcache } from \"./ccache/ccache\"\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 { setupGcc } from \"./gcc/gcc\"\nimport { setupGcovr } from \"./gcovr/gcovr\"\nimport { setupGraphviz } from \"./graphviz/graphviz\"\nimport { setupKcov } from \"./kcov/kcov\"\nimport { setupClangTools, setupLLVM, setupClangFormat } from \"./llvm/llvm\"\nimport { setupMake } from \"./make/make\"\nimport { setupMeson } from \"./meson/meson\"\nimport { setupMSVC } from \"./msvc/msvc\"\nimport { setupNala } from \"./nala/nala\"\nimport { setupNinja } from \"./ninja/ninja\"\nimport { setupOpencppcoverage } from \"./opencppcoverage/opencppcoverage\"\nimport { setupPowershell } from \"./powershell/powershell\"\nimport { setupPython } from \"./python/python\"\nimport { setupSccache } from \"./sccache/sccache\"\nimport { setupSevenZip } from \"./sevenzip/sevenzip\"\nimport { setupTask } from \"./task/task\"\nimport { setupVcpkg } from \"./vcpkg/vcpkg\"\nimport { setupVCVarsall } from \"./vcvarsall/vcvarsall\"\n\n/** The setup functions */\nexport const 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 sccache: setupSccache,\n doxygen: setupDoxygen,\n graphviz: setupGraphviz,\n cppcheck: setupCppcheck,\n clangtidy: setupClangTools,\n clangformat: setupClangFormat,\n msvc: setupMSVC,\n vcvarsall: setupVCVarsall,\n kcov: setupKcov,\n make: setupMake,\n task: setupTask,\n sevenzip: setupSevenZip,\n}\n\nexport type ToolName = keyof typeof setups\n\n/** The tools that can be installed */\nexport const tools = Object.keys(setups) as Array\n\n/** The possible inputs to the program */\nexport type Inputs = keyof typeof setups | \"compiler\" | \"architecture\" | \"timeout\"\n\n/** ‌ an array of possible inputs */\nexport const inputs: Array = [\"compiler\", \"architecture\", \"timeout\", ...tools]\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 \"admina\"\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 await setupDnfPack([{ name: \"dnf-plugins-core\" }])\n execRootSync(\"dnf\", [\"copr\", \"enable\", \"vbatts/bazel\"])\n return setupDnfPack([{ name: \"bazel4\" }])\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([{ name: \"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 { InstallationInfo } from \"./setupBin\"\nimport { execRoot, execRootSync } from \"admina\"\nimport { GITHUB_ACTIONS } from \"ci-info\"\nimport { addEnv, cpprc_path, setupCppInProfile } from \"../env/addEnv\"\nimport { pathExists } from \"path-exists\"\nimport { promises as fsPromises } from \"fs\"\nconst { appendFile } = fsPromises\nimport { execa, ExecaError } from \"execa\"\nimport escapeRegex from \"escape-string-regexp\"\nimport { warning, info } from \"ci-log\"\nimport which from \"which\"\n\n/* eslint-disable require-atomic-updates */\nlet didUpdate: boolean = false\nlet didInit: boolean = false\n\nexport type AptPackage = {\n name: string\n version?: string\n repositories?: string[]\n}\n\nconst retryErrors = [\n \"E: Could not get lock\",\n \"dpkg: error processing archive\",\n \"dpkg: error: dpkg status database is locked by another process\",\n]\n\n/** A function that installs a package using apt */\nexport async function setupAptPack(packages: AptPackage[], update = false): Promise {\n const apt: string = getApt()\n\n for (const { name, version } of packages) {\n info(`Installing ${name} ${version ?? \"\"} via ${apt}`)\n }\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 const allRepositories = [...new Set(packages.flatMap((pack) => pack.repositories ?? []))]\n\n if (allRepositories.length !== 0) {\n for (const repo of allRepositories) {\n // eslint-disable-next-line no-await-in-loop\n execRootSync(\"add-apt-repository\", [\"-y\", repo])\n }\n\n updateRepos(apt)\n }\n\n const aptArgs = await Promise.all(packages.map((pack) => getAptArg(pack.name, pack.version)))\n try {\n execRootSync(apt, [\"install\", \"--fix-broken\", \"-y\", ...aptArgs])\n } catch (err) {\n if (\"stderr\" in (err as ExecaError)) {\n const stderr = (err as ExecaError).stderr\n if (retryErrors.some((error) => stderr.includes(error))) {\n warning(`Failed to install packages ${aptArgs}. Retrying...`)\n execRootSync(apt, [\"install\", \"--fix-broken\", \"-y\", ...aptArgs])\n }\n } else {\n throw err\n }\n }\n\n return { binDir: \"/usr/bin/\" }\n}\n\nexport enum AptPackageType {\n NameDashVersion,\n NameEqualsVersion,\n Name,\n None,\n}\n\nexport async function aptPackageType(name: string, version: string | undefined): Promise {\n if (version !== undefined && version !== \"\") {\n const { stdout } = await execa(\"apt-cache\", [\n \"search\",\n \"--names-only\",\n `^${escapeRegex(name)}-${escapeRegex(version)}$`,\n ])\n if (stdout.trim() !== \"\") {\n return AptPackageType.NameDashVersion\n }\n\n try {\n // check if apt-get show can find the version\n // eslint-disable-next-line @typescript-eslint/no-shadow\n const { stdout } = await execa(\"apt-cache\", [\"show\", `${name}=${version}`])\n if (stdout.trim() === \"\") {\n return AptPackageType.NameEqualsVersion\n }\n } catch {\n // ignore\n }\n }\n\n try {\n const { stdout: showStdout } = await execa(\"apt-cache\", [\"show\", name])\n if (showStdout.trim() !== \"\") {\n return AptPackageType.Name\n }\n } catch {\n // ignore\n }\n\n return AptPackageType.None\n}\n\nasync function getAptArg(name: string, version: string | undefined) {\n const package_type = await aptPackageType(name, version)\n switch (package_type) {\n case AptPackageType.NameDashVersion:\n return `${name}-${version}`\n case AptPackageType.NameEqualsVersion:\n return `${name}=${version}`\n case AptPackageType.Name:\n return name\n case AptPackageType.None:\n default:\n throw new Error(`Could not find package ${name} ${version ?? \"\"}`)\n }\n}\n\nexport function hasNala() {\n return which.sync(\"nala\", { nothrow: true }) !== null\n}\n\nfunction getApt() {\n let apt: string\n if (hasNala()) {\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 const promises: Promise[] = [\n addAptKeyViaServer([\"3B4FE6ACC0B21F32\", \"40976EAF437D05B5\"], \"setup-cpp-ubuntu-archive.gpg\"),\n addAptKeyViaServer([\"1E9377A2BA9EF27F\"], \"launchpad-toolchain.gpg\"),\n ]\n if (apt === \"nala\") {\n // enable utf8 otherwise it fails because of the usage of ASCII encoding\n promises.push(\n addEnv(\"LANG\", \"C.UTF-8\", { shouldAddOnlyIfNotDefined: true }),\n addEnv(\"LC_ALL\", \"C.UTF-8\", { shouldAddOnlyIfNotDefined: true }),\n )\n }\n await Promise.all(promises)\n}\n\nfunction initGpg() {\n execRootSync(\"gpg\", [\"-k\"])\n}\n\nexport async function addAptKeyViaServer(keys: string[], name: string, server = \"keyserver.ubuntu.com\") {\n try {\n const fileName = `/etc/apt/trusted.gpg.d/${name}`\n if (!(await pathExists(fileName))) {\n initGpg()\n\n await Promise.all(\n keys.map(async (key) => {\n await execRoot(\"gpg\", [\n \"--no-default-keyring\",\n \"--keyring\",\n `gnupg-ring:${fileName}`,\n \"--keyserver\",\n server,\n \"--recv-keys\",\n key,\n ])\n await execRoot(\"chmod\", [\"644\", fileName])\n }),\n )\n }\n return fileName\n } catch (err) {\n warning(`Failed to add apt key via server ${server}: ${err}`)\n return undefined\n }\n}\n\nexport async function addAptKeyViaDownload(name: string, url: string) {\n const fileName = `/etc/apt/trusted.gpg.d/${name}`\n if (!(await pathExists(fileName))) {\n initGpg()\n await setupAptPack([{ name: \"curl\" }, { name: \"ca-certificates\" }], undefined)\n await execa(\"curl\", [\"-s\", url, \"-o\", `/tmp/${name}`])\n execRootSync(\"gpg\", [\"--no-default-keyring\", \"--keyring\", `gnupg-ring:${fileName}`, \"--import\", `/tmp/${name}`])\n execRootSync(\"chmod\", [\"644\", fileName])\n }\n return fileName\n}\n\nexport async function updateAptAlternatives(name: string, path: string, priority: number = 40) {\n if (GITHUB_ACTIONS) {\n return execRoot(\"update-alternatives\", [\"--install\", `/usr/bin/${name}`, name, path, priority.toString()])\n } else {\n await setupCppInProfile()\n return appendFile(\n cpprc_path,\n `\\nif [ $UID -eq 0 ]; then update-alternatives --install /usr/bin/${name} ${name} ${path} ${priority}; fi\\n`,\n )\n }\n}\n\nexport async function isPackageInstalled(regexp: string) {\n try {\n // check if a package matching the regexp is installed\n const { stdout } = await execa(\"dpkg\", [\"-l\", regexp])\n const lines = stdout.split(\"\\n\")\n // check if the output contains any lines that start with \"ii\"\n return lines.some((line) => line.startsWith(\"ii\"))\n } catch {\n return false\n }\n}\n","import { exportVariable, addPath as ghAddPath, info, setFailed } from \"@actions/core\"\nimport { GITHUB_ACTIONS } from \"ci-info\"\nimport { untildifyUser } from \"untildify-user\"\nimport { appendFileSync, readFileSync, writeFileSync } from \"fs\"\nimport { error, warning } from \"ci-log\"\nimport { execPowershell } from \"exec-powershell\"\nimport { delimiter } from \"path\"\nimport escapeSpace from \"escape-path-with-spaces\"\nimport { grantUserWriteAccess } from \"admina\"\nimport escapeQuote from \"escape-quotes\"\nimport { pathExists } from \"path-exists\"\n\ntype AddEnvOptions = {\n /** If true, the value will be escaped with quotes and spaces will be escaped with backslash */\n shouldEscapeSpace?: boolean\n /** If true, the variable will be only added if it is not defined */\n shouldAddOnlyIfNotDefined?: boolean\n}\n\nconst defaultAddEnvOptions: AddEnvOptions = {\n shouldEscapeSpace: false,\n shouldAddOnlyIfNotDefined: false,\n}\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(\n name: string,\n valGiven: string | undefined,\n options: AddEnvOptions = defaultAddEnvOptions,\n) {\n const val = escapeString(valGiven ?? \"\", options.shouldEscapeSpace)\n try {\n if (GITHUB_ACTIONS) {\n try {\n if (options.shouldAddOnlyIfNotDefined) {\n if (process.env[name] !== undefined) {\n info(`Environment variable ${name} is already defined. Skipping.`)\n return\n }\n }\n exportVariable(name, val)\n } catch (err) {\n error(err as Error)\n await addEnvSystem(name, val, options)\n }\n } else {\n await addEnvSystem(name, val, options)\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\nfunction escapeString(valGiven: string, shouldEscapeSpace: boolean = false) {\n const spaceEscaped = shouldEscapeSpace ? escapeSpace(valGiven) : valGiven\n return escapeQuote(spaceEscaped, '\"', \"\\\\\")\n}\n\nconst ignoredPaths = [/\\/usr\\/bin\\/?/, /\\/usr\\/local\\/bin\\/?/]\n\n/** Skip adding /usr/bin to PATH if it is already there */\nfunction isIgnoredPath(path: string) {\n if (ignoredPaths.some((checkedPath) => checkedPath.test(path))) {\n const paths = process.env.PATH?.split(delimiter) ?? []\n return paths.includes(path)\n }\n return false\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 if (isIgnoredPath(path)) {\n return\n }\n\n process.env.PATH = `${path}${delimiter}${process.env.PATH}`\n try {\n if (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, options: AddEnvOptions) {\n const val = valGiven ?? \"\"\n switch (process.platform) {\n case \"win32\": {\n if (options.shouldAddOnlyIfNotDefined) {\n if (process.env[name] !== undefined) {\n info(`Environment variable ${name} is already defined. Skipping.`)\n return\n }\n }\n // We do not use `execaSync(`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 await setupCppInProfile()\n if (options.shouldAddOnlyIfNotDefined) {\n appendFileSync(cpprc_path, `\\nif [ -z \"\\${${name}}\" ]; then export ${name}=\"${val}\"; fi\\n`)\n info(`if not defined ${name} then ${name}=\"${val}\" was added to \"${cpprc_path}`)\n } else {\n appendFileSync(cpprc_path, `\\nexport ${name}=\"${val}\"\\n`)\n info(`${name}=\"${val}\" was added to \"${cpprc_path}`)\n }\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 `execaSync(`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(\"PATH\", \"User\")); [Environment]::SetEnvironmentVariable(\"PATH\", \"${path};$USER_PATH\", \"User\")`,\n )\n info(`\"${path}\" was added to the PATH.`)\n return\n }\n case \"linux\":\n case \"darwin\": {\n await 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\n/* eslint-disable require-atomic-updates */\nlet setupCppInProfile_called = false\n\n/// handles adding conditions to source .cpprc file from .bashrc and .profile\nexport async 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 = \"# Automatically Generated by setup-cpp\\nexport SOURCE_CPPRC=0\"\n\n if (await pathExists(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 // source cpprc in bashrc/profile\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\nexport async function finalizeCpprc() {\n if (await pathExists(cpprc_path)) {\n const entries = readFileSync(cpprc_path, \"utf-8\").split(\"\\n\")\n\n const unique_entries = [...new Set(entries.reverse())].reverse() // remove duplicates, keeping the latest entry\n\n writeFileSync(cpprc_path, unique_entries.join(\"\\n\"))\n\n await grantUserWriteAccess(cpprc_path)\n }\n}\n","import * as 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.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.execaSync(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 {Buffer} from 'node:buffer';\nimport path from 'node:path';\nimport childProcess from 'node:child_process';\nimport process from 'node:process';\nimport crossSpawn from 'cross-spawn';\nimport stripFinalNewline from 'strip-final-newline';\nimport {npmRunPathEnv} from 'npm-run-path';\nimport onetime from 'onetime';\nimport {makeError} from './lib/error.js';\nimport {normalizeStdio, normalizeStdioNode} from './lib/stdio.js';\nimport {spawnedKill, spawnedCancel, setupTimeout, validateTimeout, setExitHandler} from './lib/kill.js';\nimport {addPipeMethods} from './lib/pipe.js';\nimport {handleInput, getSpawnedResult, makeAllStream, handleInputSync} from './lib/stream.js';\nimport {mergePromise, getSpawnedPromise} from './lib/promise.js';\nimport {joinCommand, parseCommand, parseTemplates, getEscapedCommand} from './lib/command.js';\nimport {logCommand, verboseDefault} from './lib/verbose.js';\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 npmRunPathEnv({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\tverbose: verboseDefault,\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 `execaSync()` 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\nexport function execa(file, args, options) {\n\tconst parsed = handleArguments(file, args, options);\n\tconst command = joinCommand(file, args);\n\tconst escapedCommand = getEscapedCommand(file, args);\n\tlogCommand(escapedCommand, parsed.options);\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\tmergePromise(dummySpawned, errorPromise);\n\t\treturn dummySpawned;\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 || (parsed.options.signal ? parsed.options.signal.aborted : false),\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);\n\n\tspawned.all = makeAllStream(spawned, parsed.options);\n\n\taddPipeMethods(spawned);\n\tmergePromise(spawned, handlePromiseOnce);\n\treturn spawned;\n}\n\nexport function execaSync(file, args, options) {\n\tconst parsed = handleArguments(file, args, options);\n\tconst command = joinCommand(file, args);\n\tconst escapedCommand = getEscapedCommand(file, args);\n\tlogCommand(escapedCommand, parsed.options);\n\n\tconst input = handleInputSync(parsed.options);\n\n\tlet result;\n\ttry {\n\t\tresult = childProcess.spawnSync(parsed.file, parsed.args, {...parsed.options, input});\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\nconst normalizeScriptStdin = ({input, inputFile, stdio}) => input === undefined && inputFile === undefined && stdio === undefined\n\t? {stdin: 'inherit'}\n\t: {};\n\nconst normalizeScriptOptions = (options = {}) => ({\n\tpreferLocal: true,\n\t...normalizeScriptStdin(options),\n\t...options,\n});\n\nfunction create$(options) {\n\tfunction $(templatesOrOptions, ...expressions) {\n\t\tif (!Array.isArray(templatesOrOptions)) {\n\t\t\treturn create$({...options, ...templatesOrOptions});\n\t\t}\n\n\t\tconst [file, ...args] = parseTemplates(templatesOrOptions, expressions);\n\t\treturn execa(file, args, normalizeScriptOptions(options));\n\t}\n\n\t$.sync = (templates, ...expressions) => {\n\t\tif (!Array.isArray(templates)) {\n\t\t\tthrow new TypeError('Please use $(options).sync`command` instead of $.sync(options)`command`.');\n\t\t}\n\n\t\tconst [file, ...args] = parseTemplates(templates, expressions);\n\t\treturn execaSync(file, args, normalizeScriptOptions(options));\n\t};\n\n\treturn $;\n}\n\nexport const $ = create$();\n\nexport function execaCommand(command, options) {\n\tconst [file, ...args] = parseCommand(command);\n\treturn execa(file, args, options);\n}\n\nexport function execaCommandSync(command, options) {\n\tconst [file, ...args] = parseCommand(command);\n\treturn execaSync(file, args, options);\n}\n\nexport function execaNode(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 = normalizeStdioNode(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","import {signalsByName} from '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\nexport const 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","const aliases = ['stdin', 'stdout', 'stderr'];\n\nconst hasAlias = options => aliases.some(alias => options[alias] !== undefined);\n\nexport const 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\n// `ipc` is pushed unless it is already present\nexport const normalizeStdioNode = 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","import os from 'node:os';\nimport onExit from 'signal-exit';\n\nconst DEFAULT_FORCE_KILL_TIMEOUT = 1000 * 5;\n\n// Monkey-patches `childProcess.kill()` to add `forceKillAfterTimeout` behavior\nexport const 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) => isSigterm(signal) && forceKillAfterTimeout !== false && killResult;\n\nconst isSigterm = signal => signal === os.constants.signals.SIGTERM\n\t\t|| (typeof signal === 'string' && signal.toUpperCase() === 'SIGTERM');\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()`\nexport const 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\nexport const 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\nexport const 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\nexport const 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","import {createWriteStream} from 'node:fs';\nimport {ChildProcess} from 'node:child_process';\nimport {isWritableStream} from 'is-stream';\n\nconst isExecaChildProcess = target => target instanceof ChildProcess && typeof target.then === 'function';\n\nconst pipeToTarget = (spawned, streamName, target) => {\n\tif (typeof target === 'string') {\n\t\tspawned[streamName].pipe(createWriteStream(target));\n\t\treturn spawned;\n\t}\n\n\tif (isWritableStream(target)) {\n\t\tspawned[streamName].pipe(target);\n\t\treturn spawned;\n\t}\n\n\tif (!isExecaChildProcess(target)) {\n\t\tthrow new TypeError('The second argument must be a string, a stream or an Execa child process.');\n\t}\n\n\tif (!isWritableStream(target.stdin)) {\n\t\tthrow new TypeError('The target child process\\'s stdin must be available.');\n\t}\n\n\tspawned[streamName].pipe(target.stdin);\n\treturn target;\n};\n\nexport const addPipeMethods = spawned => {\n\tif (spawned.stdout !== null) {\n\t\tspawned.pipeStdout = pipeToTarget.bind(undefined, spawned, 'stdout');\n\t}\n\n\tif (spawned.stderr !== null) {\n\t\tspawned.pipeStderr = pipeToTarget.bind(undefined, spawned, 'stderr');\n\t}\n\n\tif (spawned.all !== undefined) {\n\t\tspawned.pipeAll = pipeToTarget.bind(undefined, spawned, 'all');\n\t}\n};\n","import {createReadStream, readFileSync} from 'node:fs';\nimport {isStream} from 'is-stream';\nimport getStream from 'get-stream';\nimport mergeStream from 'merge-stream';\n\nconst validateInputOptions = input => {\n\tif (input !== undefined) {\n\t\tthrow new TypeError('The `input` and `inputFile` options cannot be both set.');\n\t}\n};\n\nconst getInputSync = ({input, inputFile}) => {\n\tif (typeof inputFile !== 'string') {\n\t\treturn input;\n\t}\n\n\tvalidateInputOptions(input);\n\treturn readFileSync(inputFile);\n};\n\n// `input` and `inputFile` option in sync mode\nexport const handleInputSync = options => {\n\tconst input = getInputSync(options);\n\n\tif (isStream(input)) {\n\t\tthrow new TypeError('The `input` option cannot be a stream in sync mode');\n\t}\n\n\treturn input;\n};\n\nconst getInput = ({input, inputFile}) => {\n\tif (typeof inputFile !== 'string') {\n\t\treturn input;\n\t}\n\n\tvalidateInputOptions(input);\n\treturn createReadStream(inputFile);\n};\n\n// `input` and `inputFile` option in async mode\nexport const handleInput = (spawned, options) => {\n\tconst input = getInput(options);\n\n\tif (input === 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`\nexport const 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\t// When `buffer` is `false`, `streamPromise` is `undefined` and there is no buffered data to retrieve\n\tif (!stream || streamPromise === undefined) {\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)\nexport const 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","// eslint-disable-next-line unicorn/prefer-top-level-await\nconst nativePromisePrototype = (async () => {})().constructor.prototype;\n\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`\nexport const 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\t: descriptor.value.bind(promise);\n\n\t\tReflect.defineProperty(spawned, property, {...descriptor, value});\n\t}\n};\n\n// Use promises instead of `child_process` events\nexport const getSpawnedPromise = spawned => new Promise((resolve, reject) => {\n\tspawned.on('exit', (exitCode, signal) => {\n\t\tresolve({exitCode, signal});\n\t});\n\n\tspawned.on('error', error => {\n\t\treject(error);\n\t});\n\n\tif (spawned.stdin) {\n\t\tspawned.stdin.on('error', error => {\n\t\t\treject(error);\n\t\t});\n\t}\n});\n","import {Buffer} from 'node:buffer';\nimport {ChildProcess} from 'node:child_process';\n\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\nexport const joinCommand = (file, args) => normalizeArgs(file, args).join(' ');\n\nexport const getEscapedCommand = (file, args) => normalizeArgs(file, args).map(arg => escapeArg(arg)).join(' ');\n\nconst SPACES_REGEXP = / +/g;\n\n// Handle `execaCommand()`\nexport const 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\nconst parseExpression = expression => {\n\tconst typeOfExpression = typeof expression;\n\n\tif (typeOfExpression === 'string') {\n\t\treturn expression;\n\t}\n\n\tif (typeOfExpression === 'number') {\n\t\treturn String(expression);\n\t}\n\n\tif (\n\t\ttypeOfExpression === 'object'\n\t\t&& expression !== null\n\t\t&& !(expression instanceof ChildProcess)\n\t\t&& 'stdout' in expression\n\t) {\n\t\tconst typeOfStdout = typeof expression.stdout;\n\n\t\tif (typeOfStdout === 'string') {\n\t\t\treturn expression.stdout;\n\t\t}\n\n\t\tif (Buffer.isBuffer(expression.stdout)) {\n\t\t\treturn expression.stdout.toString();\n\t\t}\n\n\t\tthrow new TypeError(`Unexpected \"${typeOfStdout}\" stdout in template expression`);\n\t}\n\n\tthrow new TypeError(`Unexpected \"${typeOfExpression}\" in template expression`);\n};\n\nconst concatTokens = (tokens, nextTokens, isNew) => isNew || tokens.length === 0 || nextTokens.length === 0\n\t? [...tokens, ...nextTokens]\n\t: [\n\t\t...tokens.slice(0, -1),\n\t\t`${tokens[tokens.length - 1]}${nextTokens[0]}`,\n\t\t...nextTokens.slice(1),\n\t];\n\nconst parseTemplate = ({templates, expressions, tokens, index, template}) => {\n\tconst templateString = template ?? templates.raw[index];\n\tconst templateTokens = templateString.split(SPACES_REGEXP).filter(Boolean);\n\tconst newTokens = concatTokens(\n\t\ttokens,\n\t\ttemplateTokens,\n\t\ttemplateString.startsWith(' '),\n\t);\n\n\tif (index === expressions.length) {\n\t\treturn newTokens;\n\t}\n\n\tconst expression = expressions[index];\n\tconst expressionTokens = Array.isArray(expression)\n\t\t? expression.map(expression => parseExpression(expression))\n\t\t: [parseExpression(expression)];\n\treturn concatTokens(\n\t\tnewTokens,\n\t\texpressionTokens,\n\t\ttemplateString.endsWith(' '),\n\t);\n};\n\nexport const parseTemplates = (templates, expressions) => {\n\tlet tokens = [];\n\n\tfor (const [index, template] of templates.entries()) {\n\t\ttokens = parseTemplate({templates, expressions, tokens, index, template});\n\t}\n\n\treturn tokens;\n};\n\n","import {debuglog} from 'node:util';\nimport process from 'node:process';\n\nexport const verboseDefault = debuglog('execa').enabled;\n\nconst padField = (field, padding) => String(field).padStart(padding, '0');\n\nconst getTimestamp = () => {\n\tconst date = new Date();\n\treturn `${padField(date.getHours(), 2)}:${padField(date.getMinutes(), 2)}:${padField(date.getSeconds(), 2)}.${padField(date.getMilliseconds(), 3)}`;\n};\n\nexport const logCommand = (escapedCommand, {verbose}) => {\n\tif (!verbose) {\n\t\treturn;\n\t}\n\n\tprocess.stderr.write(`[${getTimestamp()}] ${escapedCommand}\\n`);\n};\n","const os = require(\"os\");\r\n\r\n// to detect on with os user had used path.resolve(...)\r\nconst is_posix_os = (os.platform() !== \"win32\");\r\nconst version = os.release();\r\n\r\n// For some windows version (Windows 10 v1803), it is not useful to escape spaces in path\r\n// https://docs.microsoft.com/en-us/windows/release-information/\r\nconst windows_version_regex = /(\\d+\\.\\d+)\\.(\\d+)/;\r\nconst should_not_escape = (major_release = \"\", os_build = \"\") =>\r\n /1\\d+\\.\\d+/.test(major_release) && Number(os_build) >= 17134.1184;\r\n\r\nmodule.exports = function (given_path) {\r\n return (is_posix_os)\r\n // for posix path, escape is simple\r\n ? given_path.replace(/(\\s+)/g, '\\\\$1')\r\n // for windows, it depend of the build\r\n : (should_not_escape(...windows_version_regex.exec(version).splice(1)))\r\n // on major version, no need to escape anymore\r\n // https://support.microsoft.com/en-us/help/4467268/url-encoded-unc-paths-not-url-decoded-in-windows-10-version-1803-later\r\n ? given_path\r\n // on older version, replace space with symbol %20\r\n : given_path.replace(/(\\s+)/g, '%20');\r\n};","// Generated by CoffeeScript 1.10.0\n(function() {\n var regexEscape, reverse;\n\n regexEscape = require('escape-string-regexp');\n\n reverse = function(s) {\n return s.split('').reverse().join('');\n };\n\n module.exports = function(s, chars, escapeChar) {\n var regex;\n if (chars == null) {\n chars = '\\'';\n }\n if (escapeChar == null) {\n escapeChar = '\\\\';\n }\n if (typeof s !== 'string') {\n return s;\n }\n regex = new RegExp(\"([\" + (regexEscape(chars)) + \"])(?!\" + (regexEscape(escapeChar)) + \")\", 'g');\n return reverse(reverse(s).replace(regex, \"$1\" + escapeChar));\n };\n\n}).call(this);\n","/* eslint-disable require-atomic-updates */\nimport { info } from \"@actions/core\"\nimport { execaSync } from \"execa\"\nimport { join } from \"patha\"\nimport which from \"which\"\nimport { getBrewPath, setupBrew } from \"../../brew/brew\"\nimport { InstallationInfo } from \"./setupBin\"\n\nlet hasBrew = false\n\n/** A function that installs a package using brew */\nexport async function setupBrewPack(\n name: string,\n version?: string,\n extraArgs: string[] = [],\n): Promise {\n info(`Installing ${name} ${version ?? \"\"} via brew`)\n\n if (!hasBrew || which.sync(\"brew\", { nothrow: true }) === null) {\n await setupBrew(\"\", \"\", process.arch)\n hasBrew = true\n }\n\n const binDir = getBrewPath()\n\n // brew is not thread-safe\n execaSync(\n join(binDir, \"brew\"),\n [\"install\", version !== undefined && version !== \"\" ? `${name}@${version}` : name, ...extraArgs],\n {\n stdio: \"inherit\",\n },\n )\n\n return { binDir }\n}\n","import { execaSync } from \"execa\"\nimport { dirname } from \"patha\"\nimport which from \"which\"\nimport { tmpdir } from \"os\"\nimport path, { join } from \"path\"\nimport { mkdirP } from \"@actions/io\"\nimport { readFileSync } from \"fs\"\nimport { addPath } from \"../utils/env/addEnv\"\n\n/* eslint-disable require-atomic-updates */\nlet binDir: string | undefined\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async 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 const brewTempDirectory = path.join(tmpdir(), \"setup-cpp\", \"brew\")\n await mkdirP(brewTempDirectory)\n\n execaSync(\"curl\", [\"-LJO\", \"https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh\"], {\n cwd: brewTempDirectory,\n })\n const installSh = join(brewTempDirectory, \"install.sh\")\n\n if (process.platform === \"linux\") {\n const installShContent = readFileSync(installSh, \"utf-8\")\n\n installShContent.replace(\"#!/bin/bash\", \"\")\n }\n\n execaSync(\"/bin/bash\", [installSh], {\n stdio: \"inherit\",\n env: {\n NONINTERACTIVE: \"1\",\n },\n })\n\n binDir = getBrewPath()\n await addPath(binDir)\n\n return { binDir }\n}\n\nexport function getBrewPath() {\n if (process.platform === \"linux\") {\n return \"/home/linuxbrew/.linuxbrew/bin/\"\n } else {\n return \"/usr/local/bin/\"\n }\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 { execaSync } from \"execa\"\nimport { info } 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 execaSync(\"choco\", [\"install\", \"-y\", name, `--version=${version}`, ...args], {\n env,\n extendEnv: false,\n stdio: \"inherit\",\n })\n } else {\n try {\n execaSync(\"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 info(`${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","/* eslint-disable require-atomic-updates */\nimport { execaSync } from \"execa\"\nimport { pathExists } from \"path-exists\"\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 execaSync(\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 (await pathExists(binDir)) {\n return { binDir }\n }\n return undefined\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","import { InstallationInfo } from \"./setupBin\"\nimport { execRootSync } from \"admina\"\nimport { info, warning } from \"ci-log\"\nimport { execa } from \"execa\"\n\ntype DnfPackage = {\n name: string\n version?: string\n}\n\n/** A function that installs a package using dnf */\nexport async function setupDnfPack(packages: DnfPackage[]): Promise {\n for (const { name, version } of packages) {\n info(`Installing ${name} ${version ?? \"\"} via dnf`)\n }\n\n const dnfArgs = await Promise.all(packages.map((pack) => getDnfArg(pack.name, pack.version)))\n execRootSync(\"dnf\", [\"-y\", \"install\", ...dnfArgs])\n\n return { binDir: \"/usr/bin/\" }\n}\n\nasync function getDnfArg(name: string, version: string | undefined) {\n if (version !== undefined && version !== \"\") {\n // check if name-version is available\n const { stdout } = await execa(\"dnf\", [\"search\", \"-q\", `${name}-${version}`])\n\n if (stdout.trim() !== \"\") {\n return `${name}-${version}`\n } else {\n // try with ${name}${version}\n // eslint-disable-next-line @typescript-eslint/no-shadow\n const { stdout } = await execa(\"dnf\", [\"search\", \"-q\", `${name}${version}`])\n if (stdout.trim() !== \"\") {\n return `${name}${version}`\n }\n\n warning(`Failed to install ${name} ${version} via dnf, trying without version`)\n }\n }\n return name\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 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([{ name: \"ccache\", version }])\n } else if (isUbuntu()) {\n return setupAptPack([{ name: \"ccache\", version }])\n }\n throw new Error(`Unsupported linux distribution`)\n }\n default: {\n throw new Error(`Unsupported platform`)\n }\n }\n}\n","import { InstallationInfo } from \"./setupBin\"\nimport { execRootSync } from \"admina\"\nimport { info, warning } from \"ci-log\"\nimport { execa, execaSync } from \"execa\"\nimport which from \"which\"\n\n/* eslint-disable require-atomic-updates */\nlet didUpdate: boolean = false\nlet didInit: boolean = false\n\n/** A function that installs a package using pacman */\nexport async function setupPacmanPack(name: string, version?: string, aur?: string): Promise {\n info(`Installing ${name} ${version ?? \"\"} via pacman`)\n\n const pacman = \"pacman\"\n\n if (aur === \"yay\" && which.sync(\"yay\", { nothrow: true }) === null) {\n // TODO: install yay automatically\n throw new Error(`yay is needed for ${name}, but it is not installed, please install it manually first`)\n }\n\n // yay can't run as root, so skip update\n if (!didUpdate && aur !== \"yay\") {\n execRootSync(pacman, [\"-Sy\", \"--noconfirm\"])\n didUpdate = true\n }\n\n // install base-devel\n if (!didInit && aur !== \"yay\") {\n execRootSync(pacman, [\"-S\", \"--noconfirm\", \"base-devel\"])\n didInit = true\n }\n\n const runInstall = (arg: string) => {\n if (aur === \"yay\") {\n // run yay as non-root, ERROR: Running makepkg as root is not allowed as it can cause permanent, catastrophic damage to your system.\n return execaSync(aur, [\"-S\", \"--noconfirm\", arg])\n }\n return execRootSync(aur ?? pacman, [\"-S\", \"--noconfirm\", arg])\n }\n\n if (version !== undefined && version !== \"\") {\n // check if version is available\n const availableVersions = await availablePacmanVersions(pacman, name)\n if (availableVersions.includes(version)) {\n // try different version formats\n try {\n runInstall(`${name}=${version}`)\n } catch {\n runInstall(`${name}${version}`)\n }\n } else {\n // try without version\n info(`Failed to install ${name} ${version} via pacman, trying without version`)\n runInstall(name)\n }\n } else {\n // version not specified, install latest\n runInstall(name)\n }\n\n return { binDir: \"/usr/bin/\" }\n}\n\nconst pacmanSiVersionRegex = /Version\\s*:\\s*(.*)/g\n\n/** Query pacman for available versions */\nasync function availablePacmanVersions(pacman: string, name: string) {\n const availableVersions = []\n try {\n const { stdout } = await execa(pacman, [\"-Si\", name])\n\n for (const match of stdout.matchAll(pacmanSiVersionRegex)) {\n availableVersions.push(match[1])\n }\n } catch (err) {\n warning(`Failed to get available versions for ${name}: ${err}`)\n }\n return availableVersions\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",null,null,null,null,"import { find, downloadTool, cacheDir } from \"@actions/tool-cache\"\nimport { addPath } from \"../env/addEnv\"\nimport { join } from \"patha\"\nimport { info } from \"ci-log\"\n\nimport { tmpdir } from \"os\"\nimport { GITHUB_ACTIONS } from \"ci-info\"\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\"\nimport { pathExists } from \"path-exists\"\nimport retry from \"retry-as-promised\"\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 bin?: 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 (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 (await pathExists(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 ((await Promise.all([pathExists(binDir), pathExists(binFile)])).includes(false)) {\n try {\n info(`Download ${name} ${version}`)\n // try to download the package 4 times with 2 seconds delay\n const downloaded = await retry(\n () => {\n return downloadTool(url)\n },\n { name: url, max: 4, backoffBase: 2000, report: (err) => info(err) },\n )\n\n if (!didInit) {\n info(`Installing extraction dependencies`)\n if (process.platform === \"linux\") {\n if (isArch()) {\n await Promise.all([setupPacmanPack(\"unzip\"), setupPacmanPack(\"tar\"), setupPacmanPack(\"xz\")])\n } else if (hasDnf()) {\n await setupDnfPack([{ name: \"unzip\" }, { name: \"tar\" }, { name: \"xz\" }])\n } else if (isUbuntu()) {\n await setupAptPack([{ name: \"unzip\" }, { name: \"tar\" }, { name: \"xz-utils\" }])\n }\n }\n // eslint-disable-next-line require-atomic-updates\n didInit = true\n }\n\n info(`Extracting ${downloaded} to ${setupDir}`)\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 (GITHUB_ACTIONS && typeof process.env.RUNNER_TOOL_CACHE === \"string\") {\n await cacheDir(setupDir, name, version)\n }\n\n return { installDir, binDir }\n}\n","'use strict';\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.retryAsPromised = exports.TimeoutError = void 0;\nclass TimeoutError extends Error {\n constructor(message, previousError) {\n super(message);\n this.name = \"TimeoutError\";\n this.previous = previousError;\n }\n}\nexports.TimeoutError = TimeoutError;\nfunction matches(match, err) {\n if (typeof match === 'function') {\n try {\n if (err instanceof match)\n return true;\n }\n catch (_) {\n return !!match(err);\n }\n }\n if (match === err.toString())\n return true;\n if (match === err.message)\n return true;\n return match instanceof RegExp\n && (match.test(err.message) || match.test(err.toString()));\n}\nfunction retryAsPromised(callback, optionsInput) {\n if (!callback || !optionsInput) {\n throw new Error('retry-as-promised must be passed a callback and a options set');\n }\n optionsInput = (typeof optionsInput === \"number\" ? { max: optionsInput } : optionsInput);\n const options = {\n $current: \"$current\" in optionsInput ? optionsInput.$current : 1,\n max: optionsInput.max,\n timeout: optionsInput.timeout || undefined,\n match: optionsInput.match ? Array.isArray(optionsInput.match) ? optionsInput.match : [optionsInput.match] : [],\n backoffBase: optionsInput.backoffBase === undefined ? 100 : optionsInput.backoffBase,\n backoffExponent: optionsInput.backoffExponent || 1.1,\n report: optionsInput.report,\n name: optionsInput.name || callback.name || 'unknown'\n };\n if (options.match && !Array.isArray(options.match))\n options.match = [options.match];\n if (options.report)\n options.report('Trying ' + options.name + ' #' + options.$current + ' at ' + new Date().toLocaleTimeString(), options);\n return new Promise(function (resolve, reject) {\n let timeout;\n let backoffTimeout;\n let lastError;\n if (options.timeout) {\n timeout = setTimeout(function () {\n if (backoffTimeout)\n clearTimeout(backoffTimeout);\n reject(new TimeoutError(options.name + ' timed out', lastError));\n }, options.timeout);\n }\n Promise.resolve(callback({ current: options.$current }))\n .then(resolve)\n .then(function () {\n if (timeout)\n clearTimeout(timeout);\n if (backoffTimeout)\n clearTimeout(backoffTimeout);\n })\n .catch(function (err) {\n if (timeout)\n clearTimeout(timeout);\n if (backoffTimeout)\n clearTimeout(backoffTimeout);\n lastError = err;\n if (options.report)\n options.report((err && err.toString()) || err, options, err);\n // Should not retry if max has been reached\n var shouldRetry = options.$current < options.max;\n if (!shouldRetry)\n return reject(err);\n shouldRetry = options.match.length === 0 || options.match.some(function (match) {\n return matches(match, err);\n });\n if (!shouldRetry)\n return reject(err);\n var retryDelay = options.backoffBase * Math.pow(options.backoffExponent, options.$current - 1);\n // Do some accounting\n options.$current++;\n if (options.report)\n options.report(`Retrying ${options.name} (${options.$current})`, options);\n if (retryDelay) {\n // Use backoff function to ease retry rate\n if (options.report)\n options.report(`Delaying retry of ${options.name} by ${retryDelay}`, options);\n backoffTimeout = setTimeout(function () {\n retryAsPromised(callback, options)\n .then(resolve)\n .catch(reject);\n }, retryDelay);\n }\n else {\n retryAsPromised(callback, options)\n .then(resolve)\n .catch(reject);\n }\n });\n });\n}\nexports.retryAsPromised = retryAsPromised;\n;\nexports.default = retryAsPromised;\n","import { execa } from \"execa\"\nimport { mkdirP } from \"@actions/io\"\nimport which from \"which\"\nimport { setupSevenZip } from \"../../sevenzip/sevenzip\"\nimport { warning } from \"ci-log\"\nimport { grantUserWriteAccess } from \"admina\"\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 await grantUserWriteAccess(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 grantUserWriteAccess(dest)\n return dest\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 return setupDnfPack([\n { name: \"p7zip\", version },\n { name: \"p7zip-plugins\", version },\n ])\n } else if (isUbuntu()) {\n return setupAptPack([{ name: \"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 { setupPipPack } from \"../utils/setup/setupPipPack\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport function setupConan(version: string | undefined, _setupDir: string, _arch: string) {\n return setupPipPack(\"conan\", version)\n}\n","import { info } from \"@actions/core\"\nimport { execa, execaSync } from \"execa\"\nimport { pathExists } from \"path-exists\"\nimport { addExeExt, dirname, join } from \"patha\"\nimport which from \"which\"\nimport { addPythonBaseExecPrefix, setupPython } from \"../../python/python\"\nimport { addPath } from \"../env/addEnv\"\nimport { InstallationInfo } from \"./setupBin\"\nimport { getVersion } from \"../../versions/versions\"\nimport { ubuntuVersion } from \"../env/ubuntu_version\"\nimport memoize from \"micro-memoize\"\nimport { isArch } from \"../env/isArch\"\nimport { setupPacmanPack } from \"./setupPacmanPack\"\nimport { hasDnf } from \"../env/hasDnf\"\nimport { setupDnfPack } from \"./setupDnfPack\"\nimport { isUbuntu } from \"../env/isUbuntu\"\nimport { setupAptPack } from \"./setupAptPack\"\n\nexport type SetupPipPackOptions = {\n /** Whether to use pipx instead of pip */\n usePipx?: boolean\n /** Whether to install the package as a user */\n user?: boolean\n /** Whether to upgrade the package */\n upgrade?: boolean\n /** Whether the package is a library */\n isLibrary?: boolean\n}\n\n/** A function that installs a package using pip */\nexport async function setupPipPack(\n name: string,\n version?: string,\n options: SetupPipPackOptions = {},\n): Promise {\n return setupPipPackWithPython(await getPython(), name, version, options)\n}\n\nexport async function setupPipPackWithPython(\n givenPython: string,\n name: string,\n version?: string,\n options: SetupPipPackOptions = {},\n): Promise {\n const { usePipx = true, user = true, upgrade = false, isLibrary = false } = options\n\n const isPipx = usePipx && !isLibrary && (await hasPipx(givenPython))\n const pip = isPipx ? \"pipx\" : \"pip\"\n\n const hasPackage = await pipHasPackage(givenPython, name)\n if (hasPackage) {\n try {\n info(`Installing ${name} ${version ?? \"\"} via ${pip}`)\n\n const nameAndVersion = version !== undefined && version !== \"\" ? `${name}==${version}` : name\n const upgradeFlag = upgrade ? (isPipx ? [\"upgrade\"] : [\"install\", \"--upgrade\"]) : [\"install\"]\n const userFlag = !isPipx && user ? [\"--user\"] : []\n\n execaSync(givenPython, [\"-m\", pip, ...upgradeFlag, ...userFlag, nameAndVersion], {\n stdio: \"inherit\",\n })\n } catch (err) {\n info(`Failed to install ${name} via ${pip}: ${err}.`)\n if ((await setupPipPackSystem(name)) === null) {\n throw new Error(`Failed to install ${name} via ${pip}: ${err}.`)\n }\n }\n } else {\n if ((await setupPipPackSystem(name)) === null) {\n throw new Error(`Failed to install ${name} as it was not found via ${pip} or the system package manager`)\n }\n }\n\n const execPaths = await addPythonBaseExecPrefix(givenPython)\n const binDir = await findBinDir(execPaths, name)\n\n await addPath(binDir)\n\n return { binDir }\n}\n\nexport async function hasPipx(givenPython: string) {\n return (await execa(givenPython, [\"-m\", \"pipx\", \"--help\"], { stdio: \"ignore\", reject: false })).exitCode === 0\n}\n\nasync function getPython_raw(): Promise {\n const pythonBin = (await setupPython(getVersion(\"python\", undefined, await ubuntuVersion()), \"\", process.arch)).bin\n if (pythonBin === undefined) {\n throw new Error(\"Python binary was not found\")\n }\n return pythonBin\n}\nconst getPython = memoize(getPython_raw, { isPromise: true })\n\nasync function pipHasPackage(python: string, name: string) {\n const result = await execa(python, [\"-m\", \"pip\", \"-qq\", \"index\", \"versions\", name], {\n stdio: \"ignore\",\n reject: false,\n })\n return result.exitCode === 0\n}\n\nasync function findBinDir(dirs: string[], name: string) {\n const exists = await Promise.all(dirs.map((dir) => pathExists(join(dir, addExeExt(name)))))\n const dirIndex = exists.findIndex((exist) => exist)\n if (dirIndex !== -1) {\n const foundDir = dirs[dirIndex]\n return foundDir\n }\n\n const whichDir = which.sync(addExeExt(name), { nothrow: true })\n if (whichDir !== null) {\n return dirname(whichDir)\n }\n\n return dirs[dirs.length - 1]\n}\n\nexport function setupPipPackSystem(name: string) {\n if (process.platform === \"linux\") {\n info(`Installing ${name} via the system package manager`)\n if (isArch()) {\n return setupPacmanPack(`python-${name}`)\n } else if (hasDnf()) {\n return setupDnfPack([{ name: `python3-${name}` }])\n } else if (isUbuntu()) {\n return setupAptPack([{ name: `python3-${name}` }])\n }\n }\n return null\n}\n","/* eslint-disable require-atomic-updates */\nimport { getExecOutput } from \"@actions/exec\"\nimport assert from \"assert\"\nimport { GITHUB_ACTIONS } from \"ci-info\"\nimport { info, warning } from \"ci-log\"\nimport { execa } from \"execa\"\nimport memoize from \"micro-memoize\"\nimport { addExeExt, dirname, join } from \"patha\"\nimport which from \"which\"\nimport { addPath } from \"../utils/env/addEnv\"\nimport { hasDnf } from \"../utils/env/hasDnf\"\nimport { isArch } from \"../utils/env/isArch\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\nimport { setupAptPack } from \"../utils/setup/setupAptPack\"\nimport { InstallationInfo } from \"../utils/setup/setupBin\"\nimport { setupBrewPack } from \"../utils/setup/setupBrewPack\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack\"\nimport { isBinUptoDate } from \"../utils/setup/version\"\nimport { unique } from \"../utils/std\"\nimport { MinVersions } from \"../versions/default_versions\"\nimport { pathExists } from \"path-exists\"\nimport { hasPipx, setupPipPackSystem, setupPipPackWithPython } from \"../utils/setup/setupPipPack\"\n\nexport async function setupPython(version: string, setupDir: string, arch: string): Promise {\n const installInfo = await findOrSetupPython(version, setupDir, arch)\n assert(installInfo.bin !== undefined)\n const foundPython = installInfo.bin\n\n // setup pip\n const foundPip = await findOrSetupPip(foundPython)\n if (foundPip === undefined) {\n throw new Error(\"pip was not installed correctly\")\n }\n\n await setupPipx(foundPython)\n\n await setupWheel(foundPython)\n\n return installInfo\n}\n\nasync function setupPipx(foundPython: string) {\n try {\n if (!(await hasPipx(foundPython))) {\n await setupPipPackWithPython(foundPython, \"pipx\", undefined, { upgrade: true, usePipx: false })\n }\n await execa(foundPython, [\"-m\", \"pipx\", \"ensurepath\"], { stdio: \"inherit\" })\n await setupPipPackWithPython(foundPython, \"venv\", undefined, { upgrade: false, usePipx: false })\n } catch (err) {\n warning(`Failed to install pipx: ${(err as Error).toString()}. Ignoring...`)\n }\n}\n\n/** Setup wheel and setuptools */\nasync function setupWheel(foundPython: string) {\n try {\n await setupPipPackWithPython(foundPython, \"setuptools\", undefined, {\n upgrade: true,\n isLibrary: true,\n usePipx: false,\n })\n await setupPipPackWithPython(foundPython, \"wheel\", undefined, { upgrade: true, isLibrary: true, usePipx: false })\n } catch (err) {\n warning(`Failed to install setuptools or wheel: ${(err as Error).toString()}. Ignoring...`)\n }\n}\n\nasync function findOrSetupPython(version: string, setupDir: string, arch: string) {\n let installInfo: InstallationInfo | undefined\n let foundPython = await findPython(setupDir)\n\n if (foundPython !== undefined) {\n const binDir = dirname(foundPython)\n installInfo = { bin: foundPython, installDir: binDir, binDir }\n } else {\n // if python is not found, try to install it\n if (GITHUB_ACTIONS) {\n // install python in GitHub Actions\n try {\n info(\"Installing python in GitHub Actions\")\n const { setupActionsPython } = await import(\"./actions_python\")\n await setupActionsPython(version, setupDir, arch)\n\n foundPython = (await findPython(setupDir))!\n const binDir = dirname(foundPython)\n installInfo = { bin: foundPython, installDir: binDir, binDir }\n } catch (err) {\n warning((err as Error).toString())\n }\n }\n if (installInfo === undefined) {\n // install python via system package manager\n installInfo = await setupPythonSystem(setupDir, version)\n }\n }\n\n if (foundPython === undefined || installInfo.bin === undefined) {\n foundPython = (await findPython(setupDir))!\n installInfo.bin = foundPython\n }\n\n return installInfo\n}\n\nasync function setupPythonSystem(setupDir: string, version: string) {\n let installInfo: InstallationInfo | undefined\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 bin = (await findPython(setupDir))!\n const binDir = dirname(bin)\n /** The directory which the tool is installed to */\n await addPath(binDir)\n installInfo = { installDir: binDir, binDir, bin }\n break\n }\n case \"darwin\": {\n installInfo = await setupBrewPack(\"python3\", version)\n // add the python and pip binaries to the path\n const brewPythonPrefix = await execa(\"brew\", [\"--prefix\", \"python\"], { stdio: \"pipe\" })\n const brewPythonBin = join(brewPythonPrefix.stdout, \"libexec\", \"bin\")\n await addPath(brewPythonBin)\n\n break\n }\n case \"linux\": {\n if (isArch()) {\n installInfo = await setupPacmanPack(\"python\", version)\n } else if (hasDnf()) {\n installInfo = await setupDnfPack([{ name: \"python3\", version }])\n } else if (isUbuntu()) {\n installInfo = await setupAptPack([{ name: \"python3\", version }, { name: \"python-is-python3\" }])\n } else {\n throw new Error(\"Unsupported linux distributions\")\n }\n break\n }\n default: {\n throw new Error(\"Unsupported platform\")\n }\n }\n return installInfo\n}\n\nasync function findPython(binDir?: string) {\n for (const pythonBin of [\"python3\", \"python\"]) {\n // eslint-disable-next-line no-await-in-loop\n const foundPython = await isPythonUpToDate(pythonBin, binDir)\n if (foundPython !== undefined) {\n return foundPython\n }\n }\n return undefined\n}\n\nasync function isPythonUpToDate(candidate: string, binDir?: string) {\n try {\n if (binDir !== undefined) {\n const pythonBinPath = join(binDir, addExeExt(candidate))\n if (await pathExists(pythonBinPath)) {\n if (await isBinUptoDate(pythonBinPath, MinVersions.python!)) {\n return pythonBinPath\n }\n }\n }\n const pythonBinPaths = (await which(candidate, { nothrow: true, all: true })) ?? []\n for (const pythonBinPath of pythonBinPaths) {\n // eslint-disable-next-line no-await-in-loop\n if (await isBinUptoDate(pythonBinPath, MinVersions.python!)) {\n return pythonBinPath\n }\n }\n } catch {\n // fall through\n }\n return undefined\n}\n\nasync function findOrSetupPip(foundPython: string) {\n const maybePip = await findPip()\n\n if (maybePip === undefined) {\n // install pip if not installed\n info(\"pip was not found. Installing pip\")\n await setupPip(foundPython)\n return findPip() // recurse to check if pip is on PATH and up-to-date\n }\n\n return maybePip\n}\n\nasync function findPip() {\n for (const pipCandidate of [\"pip3\", \"pip\"]) {\n // eslint-disable-next-line no-await-in-loop\n const maybePip = await isPipUptoDate(pipCandidate)\n if (maybePip !== undefined) {\n return maybePip\n }\n }\n return undefined\n}\n\nasync function isPipUptoDate(pip: string) {\n try {\n const pipPaths = (await which(pip, { nothrow: true, all: true })) ?? []\n for (const pipPath of pipPaths) {\n // eslint-disable-next-line no-await-in-loop\n if (pipPath !== null && (await isBinUptoDate(pipPath, MinVersions.pip!))) {\n return pipPath\n }\n }\n } catch {\n // fall through\n }\n return undefined\n}\n\nasync function setupPip(foundPython: string) {\n const upgraded = await ensurePipUpgrade(foundPython)\n if (!upgraded) {\n // ensure that pip is installed on Linux (happens when python is found but pip not installed)\n await setupPipPackSystem(\"pip\")\n\n // upgrade pip\n await ensurePipUpgrade(foundPython)\n }\n}\n\nasync function ensurePipUpgrade(foundPython: string) {\n try {\n await execa(foundPython, [\"-m\", \"ensurepip\", \"-U\", \"--upgrade\"], { stdio: \"inherit\" })\n return true\n } catch (err1) {\n info((err1 as Error)?.toString?.())\n try {\n // ensure pip is disabled on Ubuntu\n await execa(foundPython, [\"-m\", \"pip\", \"install\", \"--upgrade\", \"pip\"], { stdio: \"inherit\" })\n return true\n } catch (err2) {\n info((err2 as Error)?.toString?.())\n // pip module not found\n }\n }\n // all methods failed\n return false\n}\n\nasync function addPythonBaseExecPrefix_raw(python: string) {\n const dirs: string[] = []\n\n // detection based on the platform\n if (process.platform === \"linux\") {\n dirs.push(\"/home/runner/.local/bin/\")\n } else if (process.platform === \"darwin\") {\n dirs.push(\"/usr/local/bin/\")\n }\n\n // detection using python.sys\n const base_exec_prefix = (await getExecOutput(`${python} -c \"import sys;print(sys.base_exec_prefix);\"`)).stdout.trim()\n // any of these are possible depending on the operating system!\n dirs.push(join(base_exec_prefix, \"Scripts\"), join(base_exec_prefix, \"Scripts\", \"bin\"), join(base_exec_prefix, \"bin\"))\n\n // remove duplicates\n return unique(dirs)\n}\n\n/**\n * Add the base exec prefix to the PATH. This is required for Conan, Meson, etc. to work properly.\n *\n * The answer is cached for subsequent calls\n */\nexport const addPythonBaseExecPrefix = memoize(addPythonBaseExecPrefix_raw, { isPromise: true })\n",null,null,null,null,"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((a, b) => {\n try {\n return semverCompare(a, b)\n } catch (err) {\n return a.localeCompare(b)\n }\n })\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 the given set doesn't include the version, throw an error\n if (!versions.has(version)) {\n throw new Error(\n `Unsupported target! (platform='${platform}', version='${version}'). Try one of the following: ${JSON.stringify(\n versions,\n )}`,\n )\n }\n\n const offlineUrls: string[] = []\n\n // TODO use Promise.any\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 if (url !== null) {\n // eslint-disable-next-line no-await-in-loop\n if (await isUrlOnline(url)) {\n return [specificVersion, url]\n } else {\n offlineUrls.push(url)\n }\n }\n }\n\n throw new Error(\n `Unsupported target! (platform='${platform}', version='${version}'). Try one of the following: ${JSON.stringify(\n versions,\n )}`,\n )\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 semverCoerce(version) ?? undefined\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 (givenVersion !== undefined && targetVersion !== \"\") {\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","// 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","export function unique(dirs: string[]) {\n return [...new Set(dirs)]\n}\n","import { 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\nfunction getLLVMDefault() {\n switch (process.platform) {\n case \"win32\":\n return \"17.0.4\"\n case \"linux\":\n // used for non-ubuntu (Fedora, Arch)\n return \"17.0.5-ubuntu-22.04\"\n case \"darwin\":\n return \"15.0.3\"\n default:\n return \"17.0.5\"\n }\n}\n\nexport const DefaultVersions: Record = {\n llvm: getLLVMDefault(), // https://github.com/llvm/llvm-project/releases\n clangtidy: getLLVMDefault(),\n clangformat: getLLVMDefault(),\n ninja: \"1.11.1\", // https://github.com/ninja-build/ninja/releases\n cmake: \"3.27.4\", // https://github.com/Kitware/CMake/releases\n gcovr: \"6.0\", // https://pypi.org/project/gcovr/\n conan: \"1.62.0\", // https://github.com/conan-io/conan/releases\n meson: \"1.2.3\", // https://github.com/mesonbuild/meson/releases\n kcov: \"42\", // https://github.com/SimonKagstrom/kcov/releases\n task: \"3.31.0\", // https://github.com/go-task/task/releases\n doxygen: isArch() ? \"1.9.8-1\" : \"1.9.8\", // 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: isArch() ? \"13.2.1-3\" : \"13\", // https://github.com/brechtsanders/winlibs_mingw/releases and // https://packages.ubuntu.com/search?suite=all&arch=any&searchon=names&keywords=gcc\n //mingw: isArch() ? \"12.2.0-1\" : \"8\", // https://packages.ubuntu.com/search?suite=all&arch=any&searchon=names&keywords=mingw-w64 // https://archlinux.org/packages/extra/x86_64/mingw-w64-gcc/\n}\n\nexport const MinVersions: Record = {\n pip: \"22.2.0\",\n python: \"3.7.9\",\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 \"\"\nexport const DefaultLinuxVersion: Record | undefined> = {\n gcc: {\n 22: \"13\",\n 20: \"11\",\n 18: \"11\",\n 16: \"11\",\n 14: \"11\",\n },\n mingw: {\n 22: \"8.0.0-1\",\n 20: \"7.0.0-2\",\n },\n llvm: {\n 22: \"17.0.5-ubuntu-22.04\",\n 20: \"17.0.5-ubuntu-22.04\",\n 18: \"15.0.6-ubuntu-18.04\",\n 16: \"15.0.6-ubuntu-18.04\",\n 14: \"13.0.0-ubuntu-16.04\",\n },\n clangtidy: {\n 22: \"17.0.2-ubuntu-22.04\",\n 20: \"17.0.2-ubuntu-22.04\",\n 18: \"15.0.6-ubuntu-18.04\",\n 16: \"15.0.6-ubuntu-18.04\",\n 14: \"13.0.0-ubuntu-16.04\",\n },\n clangformat: {\n 22: \"17.0.2-ubuntu-22.04\",\n 20: \"17.0.2-ubuntu-22.04\",\n 18: \"15.0.6-ubuntu-18.04\",\n 16: \"15.0.6-ubuntu-18.04\",\n 14: \"13.0.0-ubuntu-16.04\",\n },\n gcovr: {\n 22: \"6.0\",\n 20: \"6.0\",\n 18: \"5.0\",\n },\n meson: {\n 20: \"1.0.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: \"42-binary\",\n 20: \"40-binary\", // https://github.com/SimonKagstrom/kcov/releases\n 18: \"40\",\n 16: \"40\",\n 14: \"40\",\n },\n}\n","import { Opts } from \"../cli-options\"\nimport { Inputs } from \"../tool\"\nimport { DefaultLinuxVersion, DefaultVersions } from \"./default_versions\"\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 (isVersionDefault(version) && process.platform === \"linux\" && osVersion !== null && name in DefaultLinuxVersion) {\n return getDefaultLinuxVersion(osVersion, DefaultLinuxVersion[name]!)\n } else if (isVersionDefault(version) && name in DefaultVersions) {\n return DefaultVersions[name]!\n } else if (version === \"true\") {\n return \"\"\n }\n return version ?? \"\"\n}\n\nfunction isVersionDefault(version: string | undefined) {\n return version === \"true\" || version === undefined\n}\n\n/// choose the default linux version based on ubuntu version\nfunction getDefaultLinuxVersion(osVersion: number[], toolLinuxVersions: Record) {\n const osVersionMaj = osVersion[0]\n\n // find which version block the os version is in\n const satisfyingVersion = Object.keys(toolLinuxVersions)\n .map((v) => parseInt(v, 10))\n .sort((a, b) => b - a) // sort in descending order\n .find((v) => osVersionMaj >= v)\n\n return satisfyingVersion === undefined ? \"\" : toolLinuxVersions[satisfyingVersion]\n}\n\n/**\n * Sync the versions for the given inputs\n *\n * If the return is false, it means that versions don't match the target version\n */\nexport function syncVersions(opts: Opts, tools: Inputs[]): boolean {\n const toolsInUse = tools.filter((tool) => opts[tool] !== undefined)\n const toolsNonDefaultVersion = toolsInUse.filter((tool) => !isVersionDefault(opts[tool]))\n\n const targetVersion = toolsNonDefaultVersion.length >= 1 ? opts[toolsNonDefaultVersion[0]] : \"true\"\n\n if (toolsNonDefaultVersion.some((tool) => opts[tool] !== targetVersion)) {\n // error if any explicit versions don't match the target version\n return false\n }\n\n toolsInUse.forEach((tool) => {\n opts[tool] = targetVersion\n })\n\n return true\n}\n","import { warning } from \"ci-log\"\nimport { getUbuntuVersion } from \"ubuntu-version\"\nimport which from \"which\"\nimport { setupAptPack } from \"../setup/setupAptPack\"\nimport { isUbuntu } from \"./isUbuntu\"\nimport os from \"os\"\nimport memoize from \"micro-memoize\"\n\nasync function ubuntuVersion_raw(): Promise {\n try {\n if (isUbuntu()) {\n try {\n if (which.sync(\"lsb_release\", { nothrow: true }) === null) {\n await setupAptPack([{ name: \"lsb-release\" }])\n }\n } catch {\n return detectUsingOsVersion()\n }\n\n const versionSplitted = await getUbuntuVersion()\n\n if (versionSplitted.length === 0) {\n return detectUsingOsVersion()\n }\n\n return versionSplitted\n } else {\n return null\n }\n } catch (err) {\n warning((err as Error).toString())\n return null\n }\n}\n\n/** Detect Ubuntu version */\nexport const ubuntuVersion = memoize(ubuntuVersion_raw, { isPromise: true })\n\n/** Detect Ubuntu version using os.version() for Ubuntu based distros */\nfunction detectUsingOsVersion() {\n // #46~22.04.1-Ubuntu SMP ...\n const osVersion = os.version()\n const versionSplitted = osVersion.split(\".\")\n const majorVersion = parseInt(versionSplitted[0].replace(\"#\", \"\"), 10)\n const minorVersion = parseInt(versionSplitted[1].replace(\"~\", \"\"), 10)\n const patchVersion = parseInt(versionSplitted[2].split(\"-\")[0], 10)\n\n return [majorVersion, minorVersion, patchVersion]\n}\n","\"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 { 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([{ name: \"ccache\", version }])\n } else if (isUbuntu()) {\n return setupAptPack([{ name: \"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 { 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 { info, notice } from \"ci-log\"\nimport { setupGraphviz } from \"../graphviz/graphviz\"\nimport { getVersion } from \"../versions/versions\"\n\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 { pathExists } from \"path-exists\"\nimport retry from \"retry-as-promised\"\nimport { ubuntuVersion } from \"../utils/env/ubuntu_version\"\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 // try to download the package 4 times with 2 seconds delay\n await retry(\n () => {\n return setupChocoPack(\"doxygen.install\", version)\n },\n { name: \"doxygen.install\", max: 4, backoffBase: 2000, report: (err) => info(err) },\n )\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 = await setupBrewPack(\"doxygen\", undefined)\n await setupGraphviz(getVersion(\"graphviz\", undefined), \"\", arch)\n return installationInfo\n }\n case \"linux\": {\n let installationInfo: InstallationInfo\n if (version === \"\" || isArch() || hasDnf()) {\n if (isArch()) {\n installationInfo = await setupPacmanPack(\"doxygen\", version)\n } else if (hasDnf()) {\n return setupDnfPack([{ name: \"doxygen\", version }])\n } else if (isUbuntu()) {\n installationInfo = await setupAptPack([{ name: \"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([{ name: \"libclang-cpp9\" }])\n } catch (err) {\n notice(`Failed to download doxygen binary. ${err}. Falling back to apt-get.`)\n installationInfo = await setupAptPack([{ name: \"doxygen\" }])\n }\n } else {\n throw new Error(`Unsupported linux distributions`)\n }\n await setupGraphviz(getVersion(\"graphviz\", undefined, await ubuntuVersion()), \"\", 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 // eslint-disable-next-line no-await-in-loop\n if (await pathExists(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 { 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([{ name: \"graphviz\", version }])\n } else if (isUbuntu()) {\n return setupAptPack([{ name: \"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, addEnv } from \"../utils/env/addEnv\"\n\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 { GITHUB_ACTIONS } from \"ci-info\"\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\"\nimport { pathExists } from \"path-exists\"\nimport { ExecaReturnValue } from \"execa\"\n\ninterface MingwInfo {\n releaseName: string\n fileSuffix: string\n}\n\n// https://github.com/brechtsanders/winlibs_mingw/releases\nconst GccToMingwInfo = {\n \"13\": { releaseName: \"13.2.0-16.0.6-11.0.0-ucrt-r1\", fileSuffix: \"13.2.0-mingw-w64ucrt-11.0.0-r1\" },\n \"13.2-ucrt\": { releaseName: \"13.2.0-16.0.6-11.0.0-ucrt-r1\", fileSuffix: \"13.2.0-mingw-w64ucrt-11.0.0-r1\" },\n \"13.2-ucrt-mcf\": { releaseName: \"13.2.0mcf-16.0.6-11.0.1-ucrt-r2\", fileSuffix: \"13.2.0-mingw-w64ucrt-11.0.1-r2\" },\n \"13.2-msvcrt\": { releaseName: \"13.2.0-16.0.6-11.0.1-msvcrt-r1\", fileSuffix: \"13.2.0-mingw-w64msvcrt-11.0.1-r1\" },\n \"13.1-ucrt\": { releaseName: \"13.1.0posix-16.0.3-11.0.0-ucrt-r1\", fileSuffix: \"13.1.0-mingw-w64ucrt-11.0.0-r1\" },\n \"13.1-msvcrt\": { releaseName: \"13.1.0posix-16.0.3-11.0.0-msvcrt-r1\", fileSuffix: \"13.1.0-mingw-w64msvcrt-11.0.0-r1\" },\n \"12\": { releaseName: \"12.3.0-16.0.4-11.0.0-ucrt-r1\", fileSuffix: \"12.3.0-mingw-w64ucrt-11.0.0-r1\" },\n \"12.3.0-ucrt\": { releaseName: \"12.3.0-16.0.4-11.0.0-ucrt-r1\", fileSuffix: \"12.3.0-mingw-w64ucrt-11.0.0-r1\" },\n \"12.3.0-msvcrt\": { releaseName: \"12.3.0-16.0.4-11.0.0-msvcrt-r1\", fileSuffix: \"12.3.0-mingw-w64msvcrt-11.0.0-r1\" },\n \"12.2.0-ucrt\": { releaseName: \"12.2.0-14.0.6-10.0.0-ucrt-r2\", fileSuffix: \"12.2.0-mingw-w64ucrt-10.0.0-r2\" },\n \"12.2.0-msvcrt\": { releaseName: \"12.2.0-14.0.6-10.0.0-msvcrt-r2\", fileSuffix: \"12.2.0-mingw-w64msvcrt-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.5.0-11.0.1-msvcrt-r1\", fileSuffix: \"10.5.0-mingw-w64msvcrt-11.0.1-r1\" },\n \"10.5.0-msvcrt\": { releaseName: \"10.5.0-11.0.1-msvcrt-r1\", fileSuffix: \"10.5.0-mingw-w64msvcrt-11.0.1-r1\" },\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, priority: number = 40) {\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 = await setupBrewPack(\"gcc\", version)\n break\n }\n case \"linux\": {\n if (arch === \"x64\") {\n if (isArch()) {\n installationInfo = await setupPacmanPack(\"gcc\", version)\n } else if (hasDnf()) {\n installationInfo = await setupDnfPack([\n { name: \"gcc\", version },\n { name: \"gcc-c++\", version },\n { name: \"libstdc++-devel\" },\n ])\n } else if (isUbuntu()) {\n installationInfo = await setupAptPack([\n { name: \"gcc\", version, repositories: [\"ppa:ubuntu-toolchain-r/test\"] },\n { name: \"g++\", version, repositories: [\"ppa:ubuntu-toolchain-r/test\"] },\n ])\n }\n } else {\n info(`Install g++-multilib because gcc for ${arch} was requested`)\n if (isArch()) {\n await setupPacmanPack(\"gcc-multilib\", version)\n } else if (isUbuntu()) {\n await setupAptPack([{ name: \"gcc-multilib\", version, repositories: [\"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, priority)\n return installationInfo\n }\n return undefined\n}\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupMingw(version: string, setupDir: string, arch: string) {\n let installationInfo: InstallationInfo | undefined\n switch (process.platform) {\n case \"win32\":\n case \"darwin\": {\n return setupGcc(version, setupDir, arch)\n }\n case \"linux\": {\n if (isArch()) {\n installationInfo = await setupPacmanPack(\"mingw-w64-gcc\", version)\n } else if (hasDnf()) {\n installationInfo = await setupDnfPack([{ name: \"mingw64-gcc\", version }])\n } else if (isUbuntu()) {\n installationInfo = await setupAptPack([\n { name: \"mingw-w64\", version, repositories: [\"ppa:ubuntu-toolchain-r/test\"] },\n ])\n }\n break\n }\n default: {\n throw new Error(`Unsupported platform for ${arch}`)\n }\n }\n if (installationInfo !== undefined) {\n // TODO: setup alternatives and update CC/CXX env. ?\n //Setting up g++-mingw-w64-i686-win32 (10.3.0-14ubuntu1+24.3) ...\n // update-alternatives: using /usr/bin/i686-w64-mingw32-g++-win32 to provide /usr/bin/i686-w64-mingw32-g++ (i686-w64-mingw32-g++) in auto mode\n //Setting up g++-mingw-w64-x86-64-win32 (10.3.0-14ubuntu1+24.3) ...\n // update-alternatives: using /usr/bin/x86_64-w64-mingw32-g++-win32 to provide /usr/bin/x86_64-w64-mingw32-g++ (x86_64-w64-mingw32-g++) in auto mode\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\" && (await pathExists(\"C:/tools/mingw64/bin\"))) {\n binDir = \"C:/tools/mingw64/bin\"\n await addPath(binDir)\n } else if (arch === \"ia32\" && (await pathExists(\"C:/tools/mingw32/bin\"))) {\n binDir = \"C:/tools/mingw32/bin\"\n await addPath(binDir)\n } else if (await pathExists(`${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, priority: number = 40) {\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 promises.push(\n updateAptAlternatives(\"cc\", `${binDir}/gcc-${majorVersion}`, priority),\n updateAptAlternatives(\"cxx\", `${binDir}/g++-${majorVersion}`, priority),\n updateAptAlternatives(\"gcc\", `${binDir}/gcc-${majorVersion}`, priority),\n updateAptAlternatives(\"g++\", `${binDir}/g++-${majorVersion}`, priority),\n )\n }\n } else {\n promises.push(addEnv(\"CC\", `${binDir}/gcc-${version}`), addEnv(\"CXX\", `${binDir}/g++-${version}`))\n\n if (isUbuntu()) {\n promises.push(\n updateAptAlternatives(\"cc\", `${binDir}/gcc-${version}`, priority),\n updateAptAlternatives(\"cxx\", `${binDir}/g++-${version}`, priority),\n updateAptAlternatives(\"gcc\", `${binDir}/gcc-${version}`, priority),\n updateAptAlternatives(\"g++\", `${binDir}/g++-${version}`, priority),\n )\n }\n }\n }\n\n promises.push(setupMacOSSDK())\n\n if (GITHUB_ACTIONS) {\n await addGccLoggingMatcher()\n }\n\n await Promise.all(promises)\n}\n\nasync function addGccLoggingMatcher() {\n const matcherPath = join(__dirname, \"gcc_matcher.json\")\n if (!(await pathExists(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 { 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 { addEnv } from \"../utils/env/addEnv\"\nimport { setupPipPack } from \"../utils/setup/setupPipPack\"\nimport semverValid from \"semver/functions/valid\"\nimport semverMajor from \"semver/functions/major\"\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\nexport function activateGcovLLVM() {\n return addEnv(\"GCOV\", \"llvm-cov gcov\")\n}\n\nexport function activateGcovGCC(gccVersion: string) {\n const gccSemver = semverValid(gccVersion)\n const gccMajor = gccSemver !== null ? semverMajor(gccSemver) : gccVersion\n const gcov = gccMajor !== \"\" ? `gcov-${gccMajor}` : \"gcov\"\n\n return addEnv(\"GCOV\", gcov)\n}\n","import { execa } from \"execa\"\nimport { join, addExeExt } from \"patha\"\nimport which from \"which\"\nimport { setupCmake } from \"../cmake/cmake\"\nimport { getVersion } from \"../versions/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\"\nimport { ubuntuVersion } from \"../utils/env/ubuntu_version\"\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 await Promise.all([setupPacmanPack(\"libdwarf\"), setupPacmanPack(\"libcurl-openssl\")])\n } else if (hasDnf()) {\n await setupDnfPack([{ name: \"libdwarf-devel\" }, { name: \"libcurl-devel\" }])\n } else if (isUbuntu()) {\n await setupAptPack([{ name: \"libdw-dev\" }, { name: \"libcurl4-openssl-dev\" }])\n }\n }\n\n // apply gcc13.patch\n try {\n if (which.sync(\"patch\", { nothrow: true }) !== null) {\n const patch = join(__dirname, \"gcc13.patch\")\n await execa(\"patch\", [\"-N\", \"-p1\", \"-i\", patch], { cwd: out, stdio: \"inherit\" })\n } else {\n info(\"`patch` not found, skipping gcc13.patch, kcov may not build on gcc 13\")\n }\n } catch {\n // ignore\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(\n getVersion(\"cmake\", undefined, await ubuntuVersion()),\n join(untildifyUser(\"\"), \"cmake\"),\n \"\",\n )\n cmake = join(binDir, \"cmake\")\n }\n const ninja = which.sync(\"ninja\", { nothrow: true })\n if (ninja === null) {\n await setupNinja(getVersion(\"ninja\", undefined, await ubuntuVersion()), 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 await setupPacmanPack(\"binutils\")\n } else if (hasDnf()) {\n await setupDnfPack([{ name: \"binutils\" }])\n } else if (isUbuntu()) {\n await setupAptPack([{ name: \"libbinutils\" }])\n }\n return installationInfo\n } else {\n installationInfo = await setupBin(\"kcov\", version, getBuildKcovPackageInfo, setupDir, arch)\n }\n return installationInfo\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","import { GITHUB_ACTIONS } from \"ci-info\"\nimport { info, warning } from \"ci-log\"\nimport memoize from \"micro-memoize\"\nimport { delimiter } from \"path\"\nimport { pathExists } from \"path-exists\"\nimport { addExeExt, join } from \"patha\"\nimport { setupGcc } from \"../gcc/gcc\"\nimport { setupMacOSSDK } from \"../macos-sdk/macos-sdk\"\nimport { addEnv } from \"../utils/env/addEnv\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\nimport { ubuntuVersion } from \"../utils/env/ubuntu_version\"\nimport { setupAptPack, updateAptAlternatives } from \"../utils/setup/setupAptPack\"\nimport { InstallationInfo, setupBin } from \"../utils/setup/setupBin\"\nimport { semverCoerceIfInvalid } from \"../utils/setup/version\"\nimport { getVersion } from \"../versions/versions\"\nimport { LLVMPackages, setupLLVMApt } from \"./llvm_installer\"\nimport { getLLVMPackageInfo } from \"./llvm_url\"\n\nexport async function setupLLVM(version: string, setupDir: string, arch: string): Promise {\n const installationInfo = await setupLLVMWithoutActivation(version, setupDir, arch)\n await activateLLVM(installationInfo.installDir ?? setupDir)\n return installationInfo\n}\n\nasync function setupLLVMWithoutActivation_raw(version: string, setupDir: string, arch: string) {\n // install LLVM and its dependencies in parallel\n const [installationInfo, _1, _2] = await Promise.all([\n setupLLVMOnly(version, setupDir, arch),\n setupLLVMDeps(arch),\n addLLVMLoggingMatcher(),\n ])\n\n return installationInfo\n}\nconst setupLLVMWithoutActivation = memoize(setupLLVMWithoutActivation_raw, { isPromise: true })\n\n/**\n * Setup clang-format\n *\n * This uses the LLVM installer on Ubuntu, and the LLVM binaries on other platforms\n */\nexport function setupClangFormat(version: string, setupDir: string, arch: string) {\n return setupLLVMOnly(version, setupDir, arch, LLVMPackages.ClangFormat)\n}\n\n/** Setup llvm tools (clang tidy, etc.) without activating llvm and using it as the compiler */\nexport function setupClangTools(version: string, setupDir: string, arch: string) {\n return setupLLVMOnly(version, setupDir, arch)\n}\n\nasync function setupLLVMOnly(\n version: string,\n setupDir: string,\n arch: string,\n packages: LLVMPackages = LLVMPackages.All,\n) {\n const coeredVersion = semverCoerceIfInvalid(version)\n const majorVersion = parseInt(coeredVersion.split(\".\")[0], 10)\n try {\n if (isUbuntu()) {\n return await setupLLVMApt(majorVersion, packages)\n }\n } catch (err) {\n info(`Failed to install llvm via system package manager ${err}`)\n }\n\n const installationInfo = await setupBin(\"llvm\", version, getLLVMPackageInfo, setupDir, arch)\n await llvmBinaryDeps(majorVersion)\n return installationInfo\n}\n\nasync function llvmBinaryDeps_raw(majorVersion: number) {\n if (isUbuntu()) {\n if (majorVersion <= 10) {\n await setupAptPack([{ name: \"libtinfo5\" }])\n } else {\n await setupAptPack([{ name: \"libtinfo-dev\" }])\n }\n }\n}\nconst llvmBinaryDeps = memoize(llvmBinaryDeps_raw, { isPromise: true })\n\nasync function setupLLVMDeps_raw(arch: string) {\n if (process.platform === \"linux\") {\n // using llvm requires ld, an up to date libstdc++, etc. So, install gcc first,\n // but with a lower priority than the one used by activateLLVM()\n await setupGcc(getVersion(\"gcc\", undefined, await ubuntuVersion()), \"\", arch, 40)\n }\n}\nconst setupLLVMDeps = memoize(setupLLVMDeps_raw, { isPromise: true })\n\nexport async function activateLLVM(directory: string) {\n const ld = process.env.LD_LIBRARY_PATH ?? \"\"\n const dyld = process.env.DYLD_LIBRARY_PATH ?? \"\"\n\n const actPromises: Promise[] = [\n // the output of this action\n addEnv(\"LLVM_PATH\", directory),\n\n // Setup LLVM as the compiler\n addEnv(\"LD_LIBRARY_PATH\", `${directory}/lib${delimiter}${ld}`),\n addEnv(\"DYLD_LIBRARY_PATH\", `${directory}/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 // TODO Causes issues with clangd\n // TODO Windows builds fail with llvm's CPATH\n // if (process.platform !== \"win32\") {\n // if (await pathExists(`${directory}/lib/clang/${version}/include`)) {\n // promises.push(addEnv(\"CPATH\", `${directory}/lib/clang/${version}/include`))\n // } else if (await pathExists(`${directory}/lib/clang/${llvmMajor}/include`)) {\n // promises.push(addEnv(\"CPATH\", `${directory}/lib/clang/${llvmMajor}/include`))\n // }\n // }\n\n if (isUbuntu()) {\n const priority = 60\n actPromises.push(\n updateAptAlternatives(\"cc\", `${directory}/bin/clang`, priority),\n updateAptAlternatives(\"cxx\", `${directory}/bin/clang++`, priority),\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\n await Promise.all(actPromises)\n}\n\nasync function addLLVMLoggingMatcher() {\n if (GITHUB_ACTIONS) {\n const matcherPath = join(__dirname, \"llvm_matcher.json\")\n if (!(await pathExists(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}\n","import { execRoot } from \"admina\"\nimport { execa } from \"execa\"\nimport { addPath } from \"../utils/env/addEnv\"\nimport { hasNala, isPackageInstalled, setupAptPack } from \"../utils/setup/setupAptPack\"\nimport { InstallationInfo } from \"../utils/setup/setupBin\"\nimport { promises } from \"fs\"\nimport { info } from \"console\"\nimport { DEFAULT_TIMEOUT } from \"../installTool\"\nconst { readFile, writeFile, chmod } = promises\n\nexport enum LLVMPackages {\n All,\n ClangFormat,\n Core,\n}\n\nexport async function setupLLVMApt(\n majorVersion: number,\n packages: LLVMPackages = LLVMPackages.All,\n): Promise {\n // TODO for older versions, this also includes the minor version\n const installationFolder = `/usr/lib/llvm-${majorVersion}`\n\n await setupAptPack([{ name: \"curl\" }])\n await execa(\"curl\", [\"-LJO\", \"https://apt.llvm.org/llvm.sh\"], { cwd: \"/tmp\" })\n const neededPackages = await patchAptLLVMScript(\"/tmp/llvm.sh\", \"/tmp/llvm-setup-cpp.sh\", majorVersion, packages)\n await setupAptPack(neededPackages)\n await chmod(\"/tmp/llvm-setup-cpp.sh\", \"755\")\n await execRoot(\n \"bash\",\n [\"/tmp/llvm-setup-cpp.sh\", `${majorVersion}`, ...(packages === LLVMPackages.All ? [\"all\"] : [])],\n {\n stdio: \"inherit\",\n shell: true,\n timeout: DEFAULT_TIMEOUT,\n },\n )\n\n await addPath(`${installationFolder}/bin`)\n\n return {\n installDir: `${installationFolder}`,\n binDir: `${installationFolder}/bin`,\n bin: `${installationFolder}/bin/clang++`,\n }\n}\n\nasync function patchAptLLVMScript(path: string, target_path: string, majorVersion: number, packages: LLVMPackages) {\n let script = await readFile(path, \"utf-8\")\n\n script = debugScript(script)\n script = nonInteractiveScript(script)\n script = choosePackages(packages, script, majorVersion)\n script = await removeConflictingPackages(script)\n script = useNalaScript(script)\n\n await writeFile(target_path, script)\n\n // the packages needed by the script\n return [{ name: \"lsb-release\" }, { name: \"wget\" }, { name: \"software-properties-common\" }, { name: \"gnupg\" }]\n}\n\nfunction debugScript(script: string) {\n if (!process.env.NODE_DEBUG) {\n return script.replace(/set -eux/g, \"set -eu\")\n }\n return script\n}\n\nfunction nonInteractiveScript(script: string) {\n // make the scirpt non-interactive and fix broken packages\n return script.replace(\n /add-apt-repository \"\\${REPO_NAME}\"/g,\n // eslint-disable-next-line no-template-curly-in-string\n 'add-apt-repository -y \"${REPO_NAME}\"',\n )\n}\n\nasync function removeConflictingPackages(givenScript: string) {\n // fix conflicts between libclang-rt and libclang\n let script = givenScript.replace(\n /apt-get install -y/g,\n 'apt-get install -o Dpkg::Options::=\"--force-overwrite\" -y --fix-broken',\n )\n\n // check if these are installed and if so, remove them from the script as they conflict\n const conflictingPackages = [\"libc++-$LLVM_VERSION-dev\", \"libc++abi-$LLVM_VERSION-dev\", \"libunwind-$LLVM_VERSION-dev\"]\n await Promise.all(\n conflictingPackages.map(async (pack) => {\n const installingPack = pack.replace(\"$LLVM_VERSION\", \"*\")\n if (await isPackageInstalled(installingPack)) {\n info(`Removing conflicting package ${installingPack}`)\n script = script.replace(pack, \"\")\n }\n }),\n )\n return script\n}\n\nfunction useNalaScript(script: string) {\n // use nala if it is available\n if (hasNala()) {\n return script.replace(/apt-get/g, \"nala\")\n }\n return script\n}\n\nfunction choosePackages(packages: LLVMPackages, script: string, majorVersion: number) {\n if (packages === LLVMPackages.ClangFormat) {\n return script.replace(/ -y \\$PKG/g, ` -y clang-format-${majorVersion}`)\n }\n return script\n}\n","import { endGroup, startGroup } from \"@actions/core\"\nimport { error } from \"ci-log\"\nimport { join } from \"patha\"\nimport { getSuccessMessage } from \"./cli-options\"\nimport { InstallationInfo } from \"./utils/setup/setupBin\"\nimport { setupVCVarsall } from \"./vcvarsall/vcvarsall\"\nimport { getVersion } from \"./versions/versions\"\nimport pTimeout from \"p-timeout\"\nimport { ToolName, setups } from \"./tool\"\n\nexport const DEFAULT_TIMEOUT = 20 * 60 * 1000 // 20 minutes\n\nexport async function installTool(\n tool: ToolName,\n version: string,\n osVersion: number[] | null,\n arch: string,\n setupCppDir: string,\n successMessages: string[],\n errorMessages: string[],\n timeout: number = DEFAULT_TIMEOUT,\n) {\n startGroup(`Installing ${tool} ${version}`)\n let hasLLVM = false\n try {\n hasLLVM = await pTimeout(installToolImpl(tool, version, osVersion, arch, hasLLVM, setupCppDir, successMessages), {\n milliseconds: timeout,\n message: `Timeout while installing ${tool} ${version}. You can increase the timeout from options`,\n })\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 return hasLLVM\n}\n\nasync function installToolImpl(\n tool: ToolName,\n version: string,\n osVersion: number[] | null,\n arch: string,\n hasLLVM: boolean,\n setupCppDir: string,\n successMessages: string[],\n) {\n let installationInfo: InstallationInfo | undefined | void\n if (tool === \"vcvarsall\") {\n // eslint-disable-next-line no-await-in-loop\n await setupVCVarsall(getVersion(tool, version, osVersion), undefined, arch, undefined, undefined, false, false)\n } else {\n // get the setup function\n const setupFunction = setups[tool]\n\n // eslint-disable-next-line no-param-reassign\n hasLLVM = [\"llvm\", \"clangformat\", \"clangtidy\"].includes(tool)\n\n // the tool installation directory (for the functions that ue it)\n const setupDir = join(setupCppDir, hasLLVM ? \"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 return hasLLVM\n}\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\"\nimport { pathExists } from \"path-exists\"\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 && (await pathExists(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","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', 'BuildTools']\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\n","export class TimeoutError extends Error {\n\tconstructor(message) {\n\t\tsuper(message);\n\t\tthis.name = 'TimeoutError';\n\t}\n}\n\n/**\nAn error to be thrown when the request is aborted by AbortController.\nDOMException is thrown instead of this Error when DOMException is available.\n*/\nexport class AbortError extends Error {\n\tconstructor(message) {\n\t\tsuper();\n\t\tthis.name = 'AbortError';\n\t\tthis.message = message;\n\t}\n}\n\n/**\nTODO: Remove AbortError and just throw DOMException when targeting Node 18.\n*/\nconst getDOMException = errorMessage => globalThis.DOMException === undefined\n\t? new AbortError(errorMessage)\n\t: new DOMException(errorMessage);\n\n/**\nTODO: Remove below function and just 'reject(signal.reason)' when targeting Node 18.\n*/\nconst getAbortedReason = signal => {\n\tconst reason = signal.reason === undefined\n\t\t? getDOMException('This operation was aborted.')\n\t\t: signal.reason;\n\n\treturn reason instanceof Error ? reason : getDOMException(reason);\n};\n\nexport default function pTimeout(promise, options) {\n\tconst {\n\t\tmilliseconds,\n\t\tfallback,\n\t\tmessage,\n\t\tcustomTimers = {setTimeout, clearTimeout},\n\t} = options;\n\n\tlet timer;\n\n\tconst wrappedPromise = new Promise((resolve, reject) => {\n\t\tif (typeof milliseconds !== 'number' || Math.sign(milliseconds) !== 1) {\n\t\t\tthrow new TypeError(`Expected \\`milliseconds\\` to be a positive number, got \\`${milliseconds}\\``);\n\t\t}\n\n\t\tif (options.signal) {\n\t\t\tconst {signal} = options;\n\t\t\tif (signal.aborted) {\n\t\t\t\treject(getAbortedReason(signal));\n\t\t\t}\n\n\t\t\tsignal.addEventListener('abort', () => {\n\t\t\t\treject(getAbortedReason(signal));\n\t\t\t});\n\t\t}\n\n\t\tif (milliseconds === Number.POSITIVE_INFINITY) {\n\t\t\tpromise.then(resolve, reject);\n\t\t\treturn;\n\t\t}\n\n\t\t// We create the error outside of `setTimeout` to preserve the stack trace.\n\t\tconst timeoutError = new TimeoutError();\n\n\t\ttimer = customTimers.setTimeout.call(undefined, () => {\n\t\t\tif (fallback) {\n\t\t\t\ttry {\n\t\t\t\t\tresolve(fallback());\n\t\t\t\t} catch (error) {\n\t\t\t\t\treject(error);\n\t\t\t\t}\n\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tif (typeof promise.cancel === 'function') {\n\t\t\t\tpromise.cancel();\n\t\t\t}\n\n\t\t\tif (message === false) {\n\t\t\t\tresolve();\n\t\t\t} else if (message instanceof Error) {\n\t\t\t\treject(message);\n\t\t\t} else {\n\t\t\t\ttimeoutError.message = message ?? `Promise timed out after ${milliseconds} milliseconds`;\n\t\t\t\treject(timeoutError);\n\t\t\t}\n\t\t}, milliseconds);\n\n\t\t(async () => {\n\t\t\ttry {\n\t\t\t\tresolve(await promise);\n\t\t\t} catch (error) {\n\t\t\t\treject(error);\n\t\t\t}\n\t\t})();\n\t});\n\n\tconst cancelablePromise = wrappedPromise.finally(() => {\n\t\tcancelablePromise.clear();\n\t});\n\n\tcancelablePromise.clear = () => {\n\t\tcustomTimers.clearTimeout.call(undefined, timer);\n\t\ttimer = undefined;\n\t};\n\n\treturn cancelablePromise;\n}\n","import semverLte from \"semver/functions/lte\"\nimport { isUrlOnline } from \"is-url-online\"\nimport { getSpecificVersionAndUrl, getSpecificVersions, getVersions } from \"../utils/setup/version\"\nimport { info, warning } from \"ci-log\"\nimport { PackageInfo } from \"../utils/setup/setupBin\"\nimport { addExeExt } from \"patha\"\nimport { extractExe, extractTarByExe } from \"../utils/setup/extract\"\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 \"15.0.0\",\n \"15.0.1\",\n \"15.0.2\",\n \"15.0.3\",\n \"15.0.4\",\n \"15.0.5\",\n \"15.0.6\",\n \"15.0.7\",\n \"16.0.0\",\n \"16.0.1\",\n \"16.0.2\",\n \"16.0.3\",\n \"16.0.4\",\n \"16.0.5\",\n \"16.0.6\",\n \"17.0.1\",\n \"17.0.2\",\n \"17.0.3\",\n \"17.0.4\",\n \"17.0.5\",\n])\n\n/** The LLVM versions that were never released for the Windows platform. */\nconst WIN32_MISSING: Set = new Set([\"10.0.1\", \"15.0.5\", \"15.0.6\", \"17.0.5\"])\n\n/** The LLVM versions that were never released for the Darwin platform. */\nconst DARWIN_MISSING = 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 // missing x86_64\n // TODO add arm64 support\n \"15.0.4\",\n \"15.0.5\",\n \"15.0.6\",\n \"16.0.0\",\n \"16.0.1\",\n \"16.0.2\",\n \"16.0.3\",\n \"16.0.4\",\n \"16.0.5\",\n \"16.0.6\",\n \"17.0.1\",\n \"17.0.2\",\n \"17.0.3\",\n \"17.0.4\",\n \"17.0.5\",\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 \"15.0.2\": \"-rhel86\",\n \"15.0.5\": \"-ubuntu-18.04\",\n \"15.0.6\": \"-ubuntu-18.04\",\n \"16.0.0\": \"-ubuntu-18.04\",\n \"16.0.2\": \"-ubuntu-22.04\",\n \"16.0.3\": \"-ubuntu-22.04\",\n \"16.0.4\": \"-ubuntu-22.04\",\n \"17.0.2\": \"-ubuntu-22.04\",\n \"17.0.4\": \"-ubuntu-22.04\",\n \"17.0.5\": \"-ubuntu-22.04\",\n}\n\n/** The latest supported LLVM version for the Linux (Ubuntu) platform. */\nconst MAX_UBUNTU: string = \"17.0.5\"\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/** 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/** 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 linuxVersion: 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 linuxVersion = version.replace(givenUbuntuVersion, \"\")\n version = getSpecificVersions(VERSIONS, givenUbuntuVersion)[0]\n } else if (version !== \"\" && version in UBUNTU_SUFFIX_MAP) {\n linuxVersion = UBUNTU_SUFFIX_MAP[version]\n } else {\n // default to the maximum version\n linuxVersion = UBUNTU_SUFFIX_MAP[MAX_UBUNTU]\n warning(`Falling back to LLVM version ${MAX_UBUNTU} ${linuxVersion} for the Ubuntu.`)\n }\n\n const prefix = \"clang+llvm-\"\n\n let suffix: string\n if (version === \"5.0.0\") {\n suffix = `-linux-x86_64${linuxVersion}.tar.xz`\n } else if (linuxVersion.includes(\"-rhel86\")) {\n suffix = `-x86_64-unknown-linux-gnu${linuxVersion}.tar.xz`\n } else {\n suffix = `-x86_64-linux-gnu${linuxVersion}.tar.xz`\n }\n\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/** 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\nexport async function getLLVMPackageInfo(\n version: string,\n platform: NodeJS.Platform,\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n _arch: string,\n): Promise {\n const [specificVersion, url] = await getSpecificVersionAndUrl(VERSIONS, platform, version, getUrl)\n info(`specific llvm 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","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 await 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([{ name: \"make\", version }])\n } else if (isUbuntu()) {\n return setupAptPack([{ name: \"make\", version }])\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 function setupMeson(version: string | undefined, _setupDir: string, _arch: string) {\n return setupPipPack(\"meson\", version)\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 { GITHUB_ACTIONS } from \"ci-info\"\nimport { join } from \"patha\"\n\nimport { error, info, warning } from \"ci-log\"\nimport { pathExists } from \"path-exists\"\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 (GITHUB_ACTIONS) {\n await addMSVCLoggingMatcher()\n }\n}\n\nasync function addMSVCLoggingMatcher() {\n const matcherPath = join(__dirname, \"msvc_matcher.json\")\n if (!(await pathExists(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 { dirname } from \"patha\"\nimport which from \"which\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\nimport { execRootSync } from \"admina\"\nimport { addAptKeyViaDownload, hasNala, 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([{ name: \"nala\" }], true)\n } else {\n await setupAptPack([{ name: \"nala-legacy\" }], true)\n }\n } catch (err) {\n await setupAptPack([{ name: \"nala-legacy\" }], true)\n }\n\n binDir = \"/usr/bin\" // eslint-disable-line require-atomic-updates\n\n return { binDir }\n}\n\nexport function bashWithNala(script: string) {\n if (hasNala()) {\n return `apt-get() { nala $@; }; export -f apt-get; ${script}; unset -f apt-get`\n }\n return script\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 \"admina\"\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([{ name: \"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([{ name: \"powershell\", version }])\n } else if (isUbuntu()) {\n await setupAptPack([{ name: \"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([{ name: \"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 { setupBrewPack } from \"../utils/setup/setupBrewPack\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport function setupSccache(version: string, _setupDir: string, _arch: string) {\n switch (process.platform) {\n case \"win32\": {\n return setupChocoPack(\"sccache\", version)\n }\n case \"linux\":\n case \"darwin\": {\n return setupBrewPack(\"sccache\", version)\n }\n default: {\n throw new Error(`Unsupported platform`)\n }\n }\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 { execaSync } from \"execa\"\nimport { notice } from \"ci-log\"\nimport { pathExists } from \"path-exists\"\nimport { addShExt, addShRelativePrefix, dirname, join } from \"patha\"\nimport { grantUserWriteAccess } from \"admina\"\nimport which from \"which\"\nimport { addPath } from \"../utils/env/addEnv\"\nimport { hasDnf } from \"../utils/env/hasDnf\"\nimport { isArch } from \"../utils/env/isArch\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\nimport { setupAptPack } from \"../utils/setup/setupAptPack\"\nimport { InstallationInfo } from \"../utils/setup/setupBin\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack\"\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 await Promise.all([\n setupPacmanPack(\"curl\"),\n setupPacmanPack(\"zip\"),\n setupPacmanPack(\"unzip\"),\n setupPacmanPack(\"tar\"),\n setupPacmanPack(\"git\"),\n setupPacmanPack(\"pkg-config\"),\n ])\n } else if (hasDnf()) {\n await setupDnfPack([\n { name: \"curl\" },\n { name: \"zip\" },\n { name: \"unzip\" },\n { name: \"tar\" },\n { name: \"git\" },\n { name: \"pkg-config\" },\n ])\n } else if (isUbuntu()) {\n await setupAptPack([\n { name: \"curl\" },\n { name: \"zip\" },\n { name: \"unzip\" },\n { name: \"tar\" },\n { name: \"git\" },\n { name: \"pkg-config\" },\n ])\n }\n }\n\n if (!(await pathExists(join(setupDir, addShExt(\"bootstrap-vcpkg\", \".bat\"))))) {\n execaSync(\"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 execaSync(addShExt(addShRelativePrefix(\"bootstrap-vcpkg\"), \".bat\"), {\n cwd: setupDir,\n shell: true,\n stdio: \"inherit\",\n })\n\n await grantUserWriteAccess(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 { endGroup, notice, startGroup } from \"@actions/core\"\nimport { error, info } from \"ci-log\"\nimport { join } from \"path\"\nimport semverValid from \"semver/functions/valid\"\nimport { getSuccessMessage } from \"./cli-options\"\nimport { setupGcc, setupMingw } from \"./gcc/gcc\"\nimport { activateGcovGCC, activateGcovLLVM } from \"./gcovr/gcovr\"\nimport { setupLLVM } from \"./llvm/llvm\"\nimport { setupMSVC } from \"./msvc/msvc\"\nimport { addEnv } from \"./utils/env/addEnv\"\nimport { getVersion } from \"./versions/versions\"\n\n/** Detecting the compiler version. Divide the given string by `-` and use the second element as the version */\nexport function getCompilerInfo(compilerAndVersion: string) {\n const compilerAndMaybeVersion = compilerAndVersion.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\n/** Installing the specified compiler */\nexport async function installCompiler(\n compilerAndVersion: string,\n osVersion: number[] | null,\n setupCppDir: string,\n arch: string,\n successMessages: string[],\n hasLLVM: boolean,\n errorMessages: string[],\n) {\n try {\n const { compiler, version } = getCompilerInfo(compilerAndVersion)\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\n await activateGcovLLVM()\n\n successMessages.push(getSuccessMessage(\"llvm\", installationInfo))\n break\n }\n case \"gcc\":\n case \"mingw\":\n case \"cygwin\":\n case \"msys\": {\n const gccVersion =\n compiler === \"mingw\" ? getVersion(\"mingw\", version, osVersion) : getVersion(\"gcc\", version, osVersion)\n const installationInfo =\n compiler === \"mingw\"\n ? await setupMingw(gccVersion, join(setupCppDir, \"gcc\"), arch)\n : await setupGcc(gccVersion, join(setupCppDir, \"gcc\"), arch)\n\n if (hasLLVM) {\n // remove back the added CPPFLAGS of LLVM that include the LLVM headers\n await addEnv(\"CPPFLAGS\", \"\")\n }\n\n await activateGcovGCC(gccVersion)\n\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\n if (hasLLVM) {\n // remove the CPPFLAGS of LLVM that include the LLVM headers\n await addEnv(\"CPPFLAGS\", \"\")\n }\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 } catch (err) {\n error(err as string | Error)\n errorMessages.push(`Failed to install the ${compilerAndVersion}`)\n }\n\n endGroup()\n}\n"],"mappings":";GsLII,CAAAA,CAAA,CaMAC,CAAA,CEFAC,CAAA,CcAAC,CAAA,CkCFAC,CAAA,C/CJAC,CAAA,CCAAC,CAAA,CEAAC,CAAA,C,8I/DSJ,QAAS,CAAAC,EAAOR,CAAI,CAAEC,CAAO,CAAEC,CAAE,EAM/B,GALuB,YAAnB,MAAO,CAAAD,CAAA,GACTC,CAAA,CAAKD,CAAA,CACLA,CAAA,CAAU,CAAC,GAGT,CAACC,CAAA,CAAI,CACP,GAAI,UAAmB,EAAnB,MAAO,CAAAO,OAAA,CACT,KAAM,CAAAC,SAAI,CAAU,yBAGtB,MAAO,IAAI,CAAAD,OAAA,CAAQ,SAAUP,CAAO,CAAEC,CAAM,EAC1CK,CAAA,CAAMR,CAAA,CAAMC,CAAA,EAAW,CAAC,EAAG,SAAUD,CAAE,CAAEC,CAAE,EACrCD,CAAA,CACFG,CAAA,CAAOH,CAAA,EAEPE,CAAA,CAAQD,CAAA,CAEZ,GACF,GACF,EAEAU,EAAA,CAAKX,CAAA,CAAMC,CAAA,EAAW,CAAC,EAAG,SAAUD,CAAE,CAAEG,CAAE,EAEpCH,CAAA,GACE,QAAY,GAAZA,CAAA,CAAGY,IAAI,EAAiBX,CAAA,EAAWA,CAAA,CAAQY,YAAY,CAAZ,GAC7Cb,CAAA,CAAK,KACLG,CAAA,CAAK,IAGTD,CAAA,CAAGF,CAAA,CAAIG,CAAA,CACT,GACF,EFrCA,QAAS,CAAAW,EAAsBd,CAAM,CAAEC,CAAc,KAiB7C,CAAAC,CAAA,CAhBJ,GAAM,CAAAC,CAAA,CAAMH,CAAA,CAAOe,OAAO,CAACC,GAAG,EAAIC,OAAA,CAAQD,GAAG,CACvCZ,CAAA,CAAMa,OAAA,CAAQC,GAAG,GACjBb,CAAA,CAAe,IAAsB,EAAtBL,CAAA,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AAC,GACN,GAAA0K,EAAA,CAAAzE,KAAI,EAAE,oBACN,GAAAyE,EAAA,CAAAzE,KAAI,EAAEjG,CAAA,EACNiB,OAAA,CAAQkG,QAAQ,CAAG,CACrB"} \ No newline at end of file diff --git a/dist/legacy/actions_python.92140582.js b/dist/legacy/actions_python.92140582.js deleted file mode 100644 index a5e0a7bf..00000000 --- a/dist/legacy/actions_python.92140582.js +++ /dev/null @@ -1,3 +0,0 @@ -function $parcel$export(e,t,r,i){Object.defineProperty(e,t,{get:r,set:i,enumerable:!0,configurable:!0});}function $parcel$interopDefault(e){return e&&e.__esModule?e.default:e;}var $kC5q1$path=require("path"),$kC5q1$os=require("os"),$kC5q1$fs=require("fs"),$kC5q1$stream=require("stream"),$kC5q1$util=require("util"),$kC5q1$assert=require("assert"),$kC5q1$child_process=require("child_process"),$kC5q1$http=require("http"),$kC5q1$https=require("https"),$parcel$global="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{},parcelRequire=$parcel$global.parcelRequire810d;parcelRequire.register("8L9T2",function(e,t){var r,i,s,n,o,a,h,l,c;function u(e){return e.startsWith("pypy");}async function p(e,t,o){var l;h.IS_MAC&&(process.env.AGENT_TOOLSDIRECTORY="/Users/runner/hostedtoolcache");let c=null===(l=process.env.AGENT_TOOLSDIRECTORY)||void 0===l?void 0:l.trim();if("string"==typeof c&&""!==c&&(process.env.RUNNER_TOOL_CACHE=process.env.AGENT_TOOLSDIRECTORY),(0,n.debug)("Python is expected to be installed into "+process.env.RUNNER_TOOL_CACHE),e){let t;if(u(e)){let r=await(0,i.findPyPyVersion)(e,o,!0,d,!1);t=`${r.resolvedPyPyVersion}-${r.resolvedPythonVersion}`,(0,s.info)(`Successfully set up PyPy ${r.resolvedPyPyVersion} with Python (${r.resolvedPythonVersion})`);}else{let i=await(0,r.useCpythonVersion)(e,o,!0,d,!1);t=i.version,(0,s.info)(`Successfully set up ${i.impl} (${t})`);}}a.GITHUB_ACTIONS&&(await f());}async function f(){let e=(0,o.join)(c,"python_matcher.json");if(!(await(0,l.pathExists)(e)))return(0,s.warning)("the python_matcher.json file does not exist in the same folder as setup-cpp.js");(0,s.info)("::add-matcher::"+e);}$parcel$export(e.exports,"setupActionsPython",()=>p),r=parcelRequire("g8XlV"),i=parcelRequire("49ncA"),s=parcelRequire("hHq4F"),n=parcelRequire("2heqc"),o=parcelRequire("A8hFE"),a=parcelRequire("cLprm"),h=parcelRequire("42Mcf"),l=parcelRequire("3WkGD"),c=$kC5q1$path.resolve(__dirname,"../../src/python");let d=!1;}),parcelRequire.register("g8XlV",function(e,t){var r,i,s,n,o;function a(e){return r.IS_WINDOWS?$kC5q1$path.join(e,"Scripts"):$kC5q1$path.join(e,"bin");}async function h(e,t,h,p,f){let d=null,y=l(e),m=u(y,f);if(n.debug(`Semantic version spec of ${e} is ${m}`),p){var g;d=await s.getManifest();let e=null===(g=await s.findReleaseFromManifest(m,t,d))||void 0===g?void 0:g.version;e?(m=e,n.info(`Resolved as '${m}'`)):n.info(`Failed to resolve version ${m} from manifest`);}let w=o.find("Python",m,t);if(!w){n.info(`Version ${m} was not found in the local cache`);let e=await s.findReleaseFromManifest(m,t,d);e&&e.files&&e.files.length>0&&(n.info(`Version ${m} is available for downloading`),await s.installCpythonFromRelease(e),w=o.find("Python",m,t));}if(!w){let i=await(0,r.getOSInfo)();throw Error([`The version '${e}' with architecture '${t}' was not found for ${i?`${i.osName} ${i.osVersion}`:"this operating system"}.`,"The list of all available versions can be found here: "+s.MANIFEST_URL].join($kC5q1$os.EOL));}let x=a(w),b=r.IS_WINDOWS?".exe":"",v=$kC5q1$path.join(r.IS_WINDOWS?w:x,"python"+b);if(h){if(n.exportVariable("pythonLocation",w),n.exportVariable("PKG_CONFIG_PATH",w+"/lib/pkgconfig"),n.exportVariable("pythonLocation",w),n.exportVariable("Python_ROOT_DIR",w),n.exportVariable("Python2_ROOT_DIR",w),n.exportVariable("Python3_ROOT_DIR",w),n.exportVariable("PKG_CONFIG_PATH",w+"/lib/pkgconfig"),r.IS_LINUX){let e=process.env.LD_LIBRARY_PATH?":"+process.env.LD_LIBRARY_PATH:"",t=$kC5q1$path.join(w,"lib");e.split(":").includes(t)||n.exportVariable("LD_LIBRARY_PATH",t+e);}if(n.addPath(w),n.addPath(x),r.IS_WINDOWS){let e=$kC5q1$path.basename($kC5q1$path.dirname(w)),t=i.major(e),r=i.minor(e),s=$kC5q1$path.join(process.env.APPDATA||"","Python",`Python${t}${r}`,"Scripts");n.addPath(s);}}let S=c(w);return n.setOutput("python-version",S),n.setOutput("python-path",v),{impl:"CPython",version:S};}function l(e){let t=/^(\d+)\.(\d+)-dev$/;return e.replace(t,"~$1.$2.0-0");}function c(e){let t=e.split($kC5q1$path.sep),r=t.findIndex(e=>"PyPy"===e||"Python"===e);return t[r+1]||"";}function u(e,t){let r=/(\d+\.\d+\.\d+)((?:a|b|rc)\d*)/g,i=/^(\d+)\.(\d+)$/,s=e.replace(r,"$1-$2");return t&&(s=s.replace(i,"~$1.$2.0-0")),s;}$parcel$export(e.exports,"useCpythonVersion",()=>h),r=parcelRequire("42Mcf"),i=parcelRequire("lqN0l"),s=parcelRequire("xjYT4"),n=parcelRequire("2heqc"),o=parcelRequire("9aCWy");}),parcelRequire.register("42Mcf",function(e,t){var r,i,s;function n(e,t,r,i=!1){let s=$kC5q1$path.join(e,t),n=$kC5q1$path.join(e,r);$parcel$interopDefault($kC5q1$fs).existsSync(n)||($parcel$interopDefault($kC5q1$fs).symlinkSync(s,n),!m&&i&&$parcel$interopDefault($kC5q1$fs).chmodSync(n,"755"));}function o(e){return a(e)||!!i.validRange(e);}function a(e){return"nightly"===e;}function h(e){return $kC5q1$path.basename($kC5q1$path.dirname(e));}function l(e){let t="",r=$kC5q1$path.join(e,v);return $parcel$interopDefault($kC5q1$fs).existsSync(r)&&(t=$parcel$interopDefault($kC5q1$fs).readFileSync(r).toString().trim()),t;}function c(e,t){let r=$kC5q1$path.join(e,v);$parcel$interopDefault($kC5q1$fs).writeFileSync(r,t);}function u(e){let t=/^\d+\.\d+$/;return t.test(e);}async function p(){let{stdout:e}=await s.getExecOutput('powershell -command "(Get-CimInstance -ClassName Win32_OperatingSystem).Caption"',void 0,{silent:!0}),t=e.trim().split(" ")[3];return{osName:"Windows",osVersion:t};}async function f(){let{stdout:e}=await s.getExecOutput("sw_vers",["-productVersion"],{silent:!0}),t=e.trim();return{osName:"macOS",osVersion:t};}async function d(){let{stdout:e}=await s.getExecOutput("lsb_release",["-i","-r","-s"],{silent:!0}),[t,i]=e.trim().split("\n");return r.debug(`OS Name: ${t}, Version: ${i}`),{osName:t,osVersion:i};}async function y(){let e;try{m?e=await p():g?e=await d():w&&(e=await f());}catch(t){let e=t;r.debug(e.message);}finally{return e;}}$parcel$export(e.exports,"IS_WINDOWS",()=>m),$parcel$export(e.exports,"IS_LINUX",()=>g),$parcel$export(e.exports,"IS_MAC",()=>w),$parcel$export(e.exports,"WINDOWS_ARCHS",()=>x),$parcel$export(e.exports,"WINDOWS_PLATFORMS",()=>b),$parcel$export(e.exports,"createSymlinkInFolder",()=>n),$parcel$export(e.exports,"validateVersion",()=>o),$parcel$export(e.exports,"isNightlyKeyword",()=>a),$parcel$export(e.exports,"getPyPyVersionFromPath",()=>h),$parcel$export(e.exports,"readExactPyPyVersionFile",()=>l),$parcel$export(e.exports,"writeExactPyPyVersionFile",()=>c),$parcel$export(e.exports,"validatePythonVersionFormatForPyPy",()=>u),$parcel$export(e.exports,"getOSInfo",()=>y),r=parcelRequire("2heqc"),i=parcelRequire("lqN0l"),parcelRequire("gQjQu"),s=parcelRequire("2mVwa");let m="win32"===process.platform,g="linux"===process.platform,w="darwin"===process.platform,x=["x86","x64"],b=["win32","win64"],v="PYPY_VERSION";}),parcelRequire.register("gQjQu",function(e,t){var r;$parcel$export(e.exports,"parse",()=>r,e=>r=e),r=parcelRequire("8eMJt"),parcelRequire("bhUE6");}),parcelRequire.register("8eMJt",function(e,t){e.exports=parcelRequire("e1aDm"),e.exports.async=parcelRequire("2S5Eu"),e.exports.stream=parcelRequire("9JW1y"),e.exports.prettyError=parcelRequire("gBYD8");}),parcelRequire.register("e1aDm",function(e,t){var r,i;function s(e){$parcel$global.Buffer&&$parcel$global.Buffer.isBuffer(e)&&(e=e.toString("utf8"));let t=new r();try{return t.parse(e),t.finish();}catch(t){throw i(t,e);}}e.exports=s,r=parcelRequire("3XGwc"),i=parcelRequire("gBYD8");}),parcelRequire.register("3XGwc",function(module,exports){var $4HTEH,$biA0C,$51zGI,$8bnbQ;let _custom;function isDigit(e){return e>=CHAR_0&&e<=CHAR_9;}function isHexit(e){return e>=CHAR_A&&e<=CHAR_F||e>=CHAR_a&&e<=CHAR_f||e>=CHAR_0&&e<=CHAR_9;}function isBit(e){return e===CHAR_1||e===CHAR_0;}function isOctit(e){return e>=CHAR_0&&e<=CHAR_7;}function isAlphaNumQuoteHyphen(e){return e>=CHAR_A&&e<=CHAR_Z||e>=CHAR_a&&e<=CHAR_z||e>=CHAR_0&&e<=CHAR_9||e===CHAR_APOS||e===CHAR_QUOT||e===CHAR_LOWBAR||e===CHAR_HYPHEN;}function isAlphaNumHyphen(e){return e>=CHAR_A&&e<=CHAR_Z||e>=CHAR_a&&e<=CHAR_z||e>=CHAR_0&&e<=CHAR_9||e===CHAR_LOWBAR||e===CHAR_HYPHEN;}function hasKey(e,t){return!!hasOwnProperty.call(e,t)||("__proto__"===t&&defineProperty(e,"__proto__",descriptor),!1);}function InlineTable(){return Object.defineProperties({},{[_type]:{value:INLINE_TABLE}});}function isInlineTable(e){return null!==e&&"object"==typeof e&&e[_type]===INLINE_TABLE;}function Table(){return Object.defineProperties({},{[_type]:{value:TABLE},[_declared]:{value:!1,writable:!0}});}function isTable(e){return null!==e&&"object"==typeof e&&e[_type]===TABLE;}function InlineList(e){return Object.defineProperties([],{[_type]:{value:INLINE_LIST},[_contentType]:{value:e}});}function isInlineList(e){return null!==e&&"object"==typeof e&&e[_type]===INLINE_LIST;}function List(){return Object.defineProperties([],{[_type]:{value:LIST}});}function isList(e){return null!==e&&"object"==typeof e&&e[_type]===LIST;}function Integer(e){let t=+e;return(Object.is(t,-0)&&(t=0),$parcel$global.BigInt&&!Number.isSafeInteger(t))?new BoxedBigInt(e):Object.defineProperties(new Number(t),{isNaN:{value:function(){return isNaN(this);}},[_type]:{value:INTEGER},[_inspect]:{value:()=>`[Integer: ${e}]`}});}function isInteger(e){return null!==e&&"object"==typeof e&&e[_type]===INTEGER;}function Float(e){return Object.defineProperties(new Number(e),{[_type]:{value:FLOAT},[_inspect]:{value:()=>`[Float: ${e}]`}});}function isFloat(e){return null!==e&&"object"==typeof e&&e[_type]===FLOAT;}function tomlType(e){let t=typeof e;if("object"===t){if(null===e)return"null";if(e instanceof Date)return"datetime";if(_type in e)switch(e[_type]){case INLINE_TABLE:return"inline-table";case INLINE_LIST:return"inline-list";case TABLE:return"table";case LIST:return"list";case FLOAT:return"float";case INTEGER:return"integer";}}return t;}function makeParserClass(e){class t extends e{constructor(){super(),this.ctx=this.obj=Table();}atEndOfWord(){return this.char===CHAR_NUM||this.char===CTRL_I||this.char===CHAR_SP||this.atEndOfLine();}atEndOfLine(){return this.char===e.END||this.char===CTRL_J||this.char===CTRL_M;}parseStart(){if(this.char===e.END)return null;if(this.char===CHAR_LSQB)return this.call(this.parseTableOrList);if(this.char===CHAR_NUM)return this.call(this.parseComment);if(this.char===CTRL_J||this.char===CHAR_SP||this.char===CTRL_I||this.char===CTRL_M)return null;if(isAlphaNumQuoteHyphen(this.char))return this.callNow(this.parseAssignStatement);else throw this.error(new TomlError(`Unknown character "${this.char}"`));}parseWhitespaceToEOL(){if(this.char===CHAR_SP||this.char===CTRL_I||this.char===CTRL_M)return null;if(this.char===CHAR_NUM)return this.goto(this.parseComment);if(this.char===e.END||this.char===CTRL_J)return this.return();throw this.error(new TomlError("Unexpected character, expected only whitespace or comments till end of line"));}parseAssignStatement(){return this.callNow(this.parseAssign,this.recordAssignStatement);}recordAssignStatement(e){let t=this.ctx,r=e.key.pop();for(let r of e.key){if(hasKey(t,r)&&(!isTable(t[r])||t[r][_declared]))throw this.error(new TomlError("Can't redefine existing key"));t=t[r]=t[r]||Table();}if(hasKey(t,r))throw this.error(new TomlError("Can't redefine existing key"));return isInteger(e.value)||isFloat(e.value)?t[r]=e.value.valueOf():t[r]=e.value,this.goto(this.parseWhitespaceToEOL);}parseAssign(){return this.callNow(this.parseKeyword,this.recordAssignKeyword);}recordAssignKeyword(e){return this.state.resultTable?this.state.resultTable.push(e):this.state.resultTable=[e],this.goto(this.parseAssignKeywordPreDot);}parseAssignKeywordPreDot(){return this.char===CHAR_PERIOD?this.next(this.parseAssignKeywordPostDot):this.char!==CHAR_SP&&this.char!==CTRL_I?this.goto(this.parseAssignEqual):void 0;}parseAssignKeywordPostDot(){if(this.char!==CHAR_SP&&this.char!==CTRL_I)return this.callNow(this.parseKeyword,this.recordAssignKeyword);}parseAssignEqual(){if(this.char===CHAR_EQUALS)return this.next(this.parseAssignPreValue);throw this.error(new TomlError('Invalid character, expected "="'));}parseAssignPreValue(){return this.char===CHAR_SP||this.char===CTRL_I?null:this.callNow(this.parseValue,this.recordAssignValue);}recordAssignValue(e){return this.returnNow({key:this.state.resultTable,value:e});}parseComment(){do if(this.char===e.END||this.char===CTRL_J)return this.return();while(this.nextChar());}parseTableOrList(){if(this.char!==CHAR_LSQB)return this.goto(this.parseTable);this.next(this.parseList);}parseTable(){return this.ctx=this.obj,this.goto(this.parseTableNext);}parseTableNext(){return this.char===CHAR_SP||this.char===CTRL_I?null:this.callNow(this.parseKeyword,this.parseTableMore);}parseTableMore(e){if(this.char===CHAR_SP||this.char===CTRL_I)return null;if(this.char===CHAR_RSQB){if(hasKey(this.ctx,e)&&(!isTable(this.ctx[e])||this.ctx[e][_declared]))throw this.error(new TomlError("Can't redefine existing key"));return this.ctx=this.ctx[e]=this.ctx[e]||Table(),this.ctx[_declared]=!0,this.next(this.parseWhitespaceToEOL);}if(this.char===CHAR_PERIOD){if(hasKey(this.ctx,e)){if(isTable(this.ctx[e]))this.ctx=this.ctx[e];else if(isList(this.ctx[e]))this.ctx=this.ctx[e][this.ctx[e].length-1];else throw this.error(new TomlError("Can't redefine existing key"));}else this.ctx=this.ctx[e]=Table();return this.next(this.parseTableNext);}throw this.error(new TomlError("Unexpected character, expected whitespace, . or ]"));}parseList(){return this.ctx=this.obj,this.goto(this.parseListNext);}parseListNext(){return this.char===CHAR_SP||this.char===CTRL_I?null:this.callNow(this.parseKeyword,this.parseListMore);}parseListMore(e){if(this.char===CHAR_SP||this.char===CTRL_I)return null;if(this.char===CHAR_RSQB){if(hasKey(this.ctx,e)||(this.ctx[e]=List()),isInlineList(this.ctx[e]))throw this.error(new TomlError("Can't extend an inline array"));if(isList(this.ctx[e])){let t=Table();this.ctx[e].push(t),this.ctx=t;}else throw this.error(new TomlError("Can't redefine an existing key"));return this.next(this.parseListEnd);}if(this.char===CHAR_PERIOD){if(hasKey(this.ctx,e)){if(isInlineList(this.ctx[e]))throw this.error(new TomlError("Can't extend an inline array"));if(isInlineTable(this.ctx[e]))throw this.error(new TomlError("Can't extend an inline table"));else if(isList(this.ctx[e]))this.ctx=this.ctx[e][this.ctx[e].length-1];else if(isTable(this.ctx[e]))this.ctx=this.ctx[e];else throw this.error(new TomlError("Can't redefine an existing key"));}else this.ctx=this.ctx[e]=Table();return this.next(this.parseListNext);}throw this.error(new TomlError("Unexpected character, expected whitespace, . or ]"));}parseListEnd(e){if(this.char===CHAR_RSQB)return this.next(this.parseWhitespaceToEOL);throw this.error(new TomlError("Unexpected character, expected whitespace, . or ]"));}parseValue(){if(this.char===e.END)throw this.error(new TomlError("Key without value"));if(this.char===CHAR_QUOT)return this.next(this.parseDoubleString);if(this.char===CHAR_APOS)return this.next(this.parseSingleString);if(this.char===CHAR_HYPHEN||this.char===CHAR_PLUS)return this.goto(this.parseNumberSign);if(this.char===CHAR_i)return this.next(this.parseInf);if(this.char===CHAR_n)return this.next(this.parseNan);if(isDigit(this.char))return this.goto(this.parseNumberOrDateTime);else if(this.char===CHAR_t||this.char===CHAR_f)return this.goto(this.parseBoolean);else if(this.char===CHAR_LSQB)return this.call(this.parseInlineList,this.recordValue);else if(this.char===CHAR_LCUB)return this.call(this.parseInlineTable,this.recordValue);else throw this.error(new TomlError("Unexpected character, expecting string, number, datetime, boolean, inline array or inline table"));}recordValue(e){return this.returnNow(e);}parseInf(){if(this.char===CHAR_n)return this.next(this.parseInf2);throw this.error(new TomlError('Unexpected character, expected "inf", "+inf" or "-inf"'));}parseInf2(){if(this.char===CHAR_f)return"-"===this.state.buf?this.return(-1/0):this.return(1/0);throw this.error(new TomlError('Unexpected character, expected "inf", "+inf" or "-inf"'));}parseNan(){if(this.char===CHAR_a)return this.next(this.parseNan2);throw this.error(new TomlError('Unexpected character, expected "nan"'));}parseNan2(){if(this.char===CHAR_n)return this.return(NaN);throw this.error(new TomlError('Unexpected character, expected "nan"'));}parseKeyword(){return this.char===CHAR_QUOT?this.next(this.parseBasicString):this.char===CHAR_APOS?this.next(this.parseLiteralString):this.goto(this.parseBareKey);}parseBareKey(){do{if(this.char===e.END)throw this.error(new TomlError("Key ended without value"));if(isAlphaNumHyphen(this.char))this.consume();else if(0!==this.state.buf.length)return this.returnNow();else throw this.error(new TomlError("Empty bare keys are not allowed"));}while(this.nextChar());}parseSingleString(){return this.char===CHAR_APOS?this.next(this.parseLiteralMultiStringMaybe):this.goto(this.parseLiteralString);}parseLiteralString(){do{if(this.char===CHAR_APOS)return this.return();if(this.atEndOfLine())throw this.error(new TomlError("Unterminated string"));if(this.char===CHAR_DEL||this.char<=CTRL_CHAR_BOUNDARY&&this.char!==CTRL_I)throw this.errorControlCharInString();else this.consume();}while(this.nextChar());}parseLiteralMultiStringMaybe(){return this.char===CHAR_APOS?this.next(this.parseLiteralMultiString):this.returnNow();}parseLiteralMultiString(){return this.char===CTRL_M?null:this.char===CTRL_J?this.next(this.parseLiteralMultiStringContent):this.goto(this.parseLiteralMultiStringContent);}parseLiteralMultiStringContent(){do{if(this.char===CHAR_APOS)return this.next(this.parseLiteralMultiEnd);if(this.char===e.END)throw this.error(new TomlError("Unterminated multi-line string"));if(this.char===CHAR_DEL||this.char<=CTRL_CHAR_BOUNDARY&&this.char!==CTRL_I&&this.char!==CTRL_J&&this.char!==CTRL_M)throw this.errorControlCharInString();else this.consume();}while(this.nextChar());}parseLiteralMultiEnd(){return this.char===CHAR_APOS?this.next(this.parseLiteralMultiEnd2):(this.state.buf+="'",this.goto(this.parseLiteralMultiStringContent));}parseLiteralMultiEnd2(){return this.char===CHAR_APOS?this.return():(this.state.buf+="''",this.goto(this.parseLiteralMultiStringContent));}parseDoubleString(){return this.char===CHAR_QUOT?this.next(this.parseMultiStringMaybe):this.goto(this.parseBasicString);}parseBasicString(){do{if(this.char===CHAR_BSOL)return this.call(this.parseEscape,this.recordEscapeReplacement);if(this.char===CHAR_QUOT)return this.return();if(this.atEndOfLine())throw this.error(new TomlError("Unterminated string"));else if(this.char===CHAR_DEL||this.char<=CTRL_CHAR_BOUNDARY&&this.char!==CTRL_I)throw this.errorControlCharInString();else this.consume();}while(this.nextChar());}recordEscapeReplacement(e){return this.state.buf+=e,this.goto(this.parseBasicString);}parseMultiStringMaybe(){return this.char===CHAR_QUOT?this.next(this.parseMultiString):this.returnNow();}parseMultiString(){return this.char===CTRL_M?null:this.char===CTRL_J?this.next(this.parseMultiStringContent):this.goto(this.parseMultiStringContent);}parseMultiStringContent(){do{if(this.char===CHAR_BSOL)return this.call(this.parseMultiEscape,this.recordMultiEscapeReplacement);if(this.char===CHAR_QUOT)return this.next(this.parseMultiEnd);if(this.char===e.END)throw this.error(new TomlError("Unterminated multi-line string"));else if(this.char===CHAR_DEL||this.char<=CTRL_CHAR_BOUNDARY&&this.char!==CTRL_I&&this.char!==CTRL_J&&this.char!==CTRL_M)throw this.errorControlCharInString();else this.consume();}while(this.nextChar());}errorControlCharInString(){let e="\\u00";return this.char<16&&(e+="0"),e+=this.char.toString(16),this.error(new TomlError(`Control characters (codes < 0x1f and 0x7f) are not allowed in strings, use ${e} instead`));}recordMultiEscapeReplacement(e){return this.state.buf+=e,this.goto(this.parseMultiStringContent);}parseMultiEnd(){return this.char===CHAR_QUOT?this.next(this.parseMultiEnd2):(this.state.buf+='"',this.goto(this.parseMultiStringContent));}parseMultiEnd2(){return this.char===CHAR_QUOT?this.return():(this.state.buf+='""',this.goto(this.parseMultiStringContent));}parseMultiEscape(){return this.char===CTRL_M||this.char===CTRL_J?this.next(this.parseMultiTrim):this.char===CHAR_SP||this.char===CTRL_I?this.next(this.parsePreMultiTrim):this.goto(this.parseEscape);}parsePreMultiTrim(){if(this.char===CHAR_SP||this.char===CTRL_I)return null;if(this.char===CTRL_M||this.char===CTRL_J)return this.next(this.parseMultiTrim);throw this.error(new TomlError("Can't escape whitespace"));}parseMultiTrim(){return this.char===CTRL_J||this.char===CHAR_SP||this.char===CTRL_I||this.char===CTRL_M?null:this.returnNow();}parseEscape(){if(this.char in escapes)return this.return(escapes[this.char]);if(this.char===CHAR_u)return this.call(this.parseSmallUnicode,this.parseUnicodeReturn);if(this.char===CHAR_U)return this.call(this.parseLargeUnicode,this.parseUnicodeReturn);throw this.error(new TomlError("Unknown escape character: "+this.char));}parseUnicodeReturn(e){try{let t=parseInt(e,16);if(t>=SURROGATE_FIRST&&t<=SURROGATE_LAST)throw this.error(new TomlError("Invalid unicode, character in range 0xD800 - 0xDFFF is reserved"));return this.returnNow(String.fromCodePoint(t));}catch(e){throw this.error(TomlError.wrap(e));}}parseSmallUnicode(){if(isHexit(this.char)){if(this.consume(),this.state.buf.length>=4)return this.return();}else throw this.error(new TomlError("Invalid character in unicode sequence, expected hex"));}parseLargeUnicode(){if(isHexit(this.char)){if(this.consume(),this.state.buf.length>=8)return this.return();}else throw this.error(new TomlError("Invalid character in unicode sequence, expected hex"));}parseNumberSign(){return this.consume(),this.next(this.parseMaybeSignedInfOrNan);}parseMaybeSignedInfOrNan(){return this.char===CHAR_i?this.next(this.parseInf):this.char===CHAR_n?this.next(this.parseNan):this.callNow(this.parseNoUnder,this.parseNumberIntegerStart);}parseNumberIntegerStart(){return this.char===CHAR_0?(this.consume(),this.next(this.parseNumberIntegerExponentOrDecimal)):this.goto(this.parseNumberInteger);}parseNumberIntegerExponentOrDecimal(){return this.char===CHAR_PERIOD?(this.consume(),this.call(this.parseNoUnder,this.parseNumberFloat)):this.char===CHAR_E||this.char===CHAR_e?(this.consume(),this.next(this.parseNumberExponentSign)):this.returnNow(Integer(this.state.buf));}parseNumberInteger(){if(isDigit(this.char))this.consume();else{if(this.char===CHAR_LOWBAR)return this.call(this.parseNoUnder);if(this.char===CHAR_E||this.char===CHAR_e)return this.consume(),this.next(this.parseNumberExponentSign);if(this.char===CHAR_PERIOD)return this.consume(),this.call(this.parseNoUnder,this.parseNumberFloat);let e=Integer(this.state.buf);if(!e.isNaN())return this.returnNow(e);throw this.error(new TomlError("Invalid number"));}}parseNoUnder(){if(this.char===CHAR_LOWBAR||this.char===CHAR_PERIOD||this.char===CHAR_E||this.char===CHAR_e)throw this.error(new TomlError("Unexpected character, expected digit"));if(this.atEndOfWord())throw this.error(new TomlError("Incomplete number"));return this.returnNow();}parseNoUnderHexOctBinLiteral(){if(this.char===CHAR_LOWBAR||this.char===CHAR_PERIOD)throw this.error(new TomlError("Unexpected character, expected digit"));if(this.atEndOfWord())throw this.error(new TomlError("Incomplete number"));return this.returnNow();}parseNumberFloat(){if(this.char===CHAR_LOWBAR)return this.call(this.parseNoUnder,this.parseNumberFloat);if(isDigit(this.char))this.consume();else if(this.char===CHAR_E||this.char===CHAR_e)return this.consume(),this.next(this.parseNumberExponentSign);else return this.returnNow(Float(this.state.buf));}parseNumberExponentSign(){if(isDigit(this.char))return this.goto(this.parseNumberExponent);if(this.char===CHAR_HYPHEN||this.char===CHAR_PLUS)this.consume(),this.call(this.parseNoUnder,this.parseNumberExponent);else throw this.error(new TomlError("Unexpected character, expected -, + or digit"));}parseNumberExponent(){if(isDigit(this.char))this.consume();else if(this.char===CHAR_LOWBAR)return this.call(this.parseNoUnder);else return this.returnNow(Float(this.state.buf));}parseNumberOrDateTime(){return this.char===CHAR_0?(this.consume(),this.next(this.parseNumberBaseOrDateTime)):this.goto(this.parseNumberOrDateTimeOnly);}parseNumberOrDateTimeOnly(){if(this.char===CHAR_LOWBAR)return this.call(this.parseNoUnder,this.parseNumberInteger);if(isDigit(this.char))this.consume(),this.state.buf.length>4&&this.next(this.parseNumberInteger);else if(this.char===CHAR_E||this.char===CHAR_e)return this.consume(),this.next(this.parseNumberExponentSign);else if(this.char===CHAR_PERIOD)return this.consume(),this.call(this.parseNoUnder,this.parseNumberFloat);else if(this.char===CHAR_HYPHEN)return this.goto(this.parseDateTime);else if(this.char===CHAR_COLON)return this.goto(this.parseOnlyTimeHour);else return this.returnNow(Integer(this.state.buf));}parseDateTimeOnly(){if(this.state.buf.length<4){if(isDigit(this.char))return this.consume();if(this.char===CHAR_COLON)return this.goto(this.parseOnlyTimeHour);throw this.error(new TomlError("Expected digit while parsing year part of a date"));}if(this.char===CHAR_HYPHEN)return this.goto(this.parseDateTime);throw this.error(new TomlError("Expected hyphen (-) while parsing year part of date"));}parseNumberBaseOrDateTime(){if(this.char===CHAR_b)return this.consume(),this.call(this.parseNoUnderHexOctBinLiteral,this.parseIntegerBin);if(this.char===CHAR_o)return this.consume(),this.call(this.parseNoUnderHexOctBinLiteral,this.parseIntegerOct);if(this.char===CHAR_x)return this.consume(),this.call(this.parseNoUnderHexOctBinLiteral,this.parseIntegerHex);if(this.char===CHAR_PERIOD)return this.goto(this.parseNumberInteger);if(isDigit(this.char))return this.goto(this.parseDateTimeOnly);else return this.returnNow(Integer(this.state.buf));}parseIntegerHex(){if(isHexit(this.char))this.consume();else{if(this.char===CHAR_LOWBAR)return this.call(this.parseNoUnderHexOctBinLiteral);let e=Integer(this.state.buf);if(!e.isNaN())return this.returnNow(e);throw this.error(new TomlError("Invalid number"));}}parseIntegerOct(){if(isOctit(this.char))this.consume();else{if(this.char===CHAR_LOWBAR)return this.call(this.parseNoUnderHexOctBinLiteral);let e=Integer(this.state.buf);if(!e.isNaN())return this.returnNow(e);throw this.error(new TomlError("Invalid number"));}}parseIntegerBin(){if(isBit(this.char))this.consume();else{if(this.char===CHAR_LOWBAR)return this.call(this.parseNoUnderHexOctBinLiteral);let e=Integer(this.state.buf);if(!e.isNaN())return this.returnNow(e);throw this.error(new TomlError("Invalid number"));}}parseDateTime(){if(this.state.buf.length<4)throw this.error(new TomlError("Years less than 1000 must be zero padded to four characters"));return this.state.result=this.state.buf,this.state.buf="",this.next(this.parseDateMonth);}parseDateMonth(){if(this.char===CHAR_HYPHEN){if(this.state.buf.length<2)throw this.error(new TomlError("Months less than 10 must be zero padded to two characters"));return this.state.result+="-"+this.state.buf,this.state.buf="",this.next(this.parseDateDay);}if(isDigit(this.char))this.consume();else throw this.error(new TomlError("Incomplete datetime"));}parseDateDay(){if(this.char===CHAR_T||this.char===CHAR_SP){if(this.state.buf.length<2)throw this.error(new TomlError("Days less than 10 must be zero padded to two characters"));return this.state.result+="-"+this.state.buf,this.state.buf="",this.next(this.parseStartTimeHour);}if(this.atEndOfWord())return this.returnNow($51zGI(this.state.result+"-"+this.state.buf));if(isDigit(this.char))this.consume();else throw this.error(new TomlError("Incomplete datetime"));}parseStartTimeHour(){return this.atEndOfWord()?this.returnNow($51zGI(this.state.result)):this.goto(this.parseTimeHour);}parseTimeHour(){if(this.char===CHAR_COLON){if(this.state.buf.length<2)throw this.error(new TomlError("Hours less than 10 must be zero padded to two characters"));return this.state.result+="T"+this.state.buf,this.state.buf="",this.next(this.parseTimeMin);}if(isDigit(this.char))this.consume();else throw this.error(new TomlError("Incomplete datetime"));}parseTimeMin(){if(this.state.buf.length<2&&isDigit(this.char))this.consume();else if(2===this.state.buf.length&&this.char===CHAR_COLON)return this.state.result+=":"+this.state.buf,this.state.buf="",this.next(this.parseTimeSec);else throw this.error(new TomlError("Incomplete datetime"));}parseTimeSec(){if(isDigit(this.char)){if(this.consume(),2===this.state.buf.length)return this.state.result+=":"+this.state.buf,this.state.buf="",this.next(this.parseTimeZoneOrFraction);}else throw this.error(new TomlError("Incomplete datetime"));}parseOnlyTimeHour(){if(this.char===CHAR_COLON){if(this.state.buf.length<2)throw this.error(new TomlError("Hours less than 10 must be zero padded to two characters"));return this.state.result=this.state.buf,this.state.buf="",this.next(this.parseOnlyTimeMin);}throw this.error(new TomlError("Incomplete time"));}parseOnlyTimeMin(){if(this.state.buf.length<2&&isDigit(this.char))this.consume();else if(2===this.state.buf.length&&this.char===CHAR_COLON)return this.state.result+=":"+this.state.buf,this.state.buf="",this.next(this.parseOnlyTimeSec);else throw this.error(new TomlError("Incomplete time"));}parseOnlyTimeSec(){if(isDigit(this.char)){if(this.consume(),2===this.state.buf.length)return this.next(this.parseOnlyTimeFractionMaybe);}else throw this.error(new TomlError("Incomplete time"));}parseOnlyTimeFractionMaybe(){if(this.state.result+=":"+this.state.buf,this.char!==CHAR_PERIOD)return this.return($8bnbQ(this.state.result));this.state.buf="",this.next(this.parseOnlyTimeFraction);}parseOnlyTimeFraction(){if(isDigit(this.char))this.consume();else if(this.atEndOfWord()){if(0===this.state.buf.length)throw this.error(new TomlError("Expected digit in milliseconds"));return this.returnNow($8bnbQ(this.state.result+"."+this.state.buf));}else throw this.error(new TomlError("Unexpected character in datetime, expected period (.), minus (-), plus (+) or Z"));}parseTimeZoneOrFraction(){if(this.char===CHAR_PERIOD)this.consume(),this.next(this.parseDateTimeFraction);else if(this.char===CHAR_HYPHEN||this.char===CHAR_PLUS)this.consume(),this.next(this.parseTimeZoneHour);else if(this.char===CHAR_Z)return this.consume(),this.return($4HTEH(this.state.result+this.state.buf));else if(this.atEndOfWord())return this.returnNow($biA0C(this.state.result+this.state.buf));else throw this.error(new TomlError("Unexpected character in datetime, expected period (.), minus (-), plus (+) or Z"));}parseDateTimeFraction(){if(isDigit(this.char))this.consume();else if(1===this.state.buf.length)throw this.error(new TomlError("Expected digit in milliseconds"));else if(this.char===CHAR_HYPHEN||this.char===CHAR_PLUS)this.consume(),this.next(this.parseTimeZoneHour);else if(this.char===CHAR_Z)return this.consume(),this.return($4HTEH(this.state.result+this.state.buf));else if(this.atEndOfWord())return this.returnNow($biA0C(this.state.result+this.state.buf));else throw this.error(new TomlError("Unexpected character in datetime, expected period (.), minus (-), plus (+) or Z"));}parseTimeZoneHour(){if(isDigit(this.char)){if(this.consume(),/\d\d$/.test(this.state.buf))return this.next(this.parseTimeZoneSep);}else throw this.error(new TomlError("Unexpected character in datetime, expected digit"));}parseTimeZoneSep(){if(this.char===CHAR_COLON)this.consume(),this.next(this.parseTimeZoneMin);else throw this.error(new TomlError("Unexpected character in datetime, expected colon"));}parseTimeZoneMin(){if(isDigit(this.char)){if(this.consume(),/\d\d$/.test(this.state.buf))return this.return($4HTEH(this.state.result+this.state.buf));}else throw this.error(new TomlError("Unexpected character in datetime, expected digit"));}parseBoolean(){return this.char===CHAR_t?(this.consume(),this.next(this.parseTrue_r)):this.char===CHAR_f?(this.consume(),this.next(this.parseFalse_a)):void 0;}parseTrue_r(){if(this.char===CHAR_r)return this.consume(),this.next(this.parseTrue_u);throw this.error(new TomlError("Invalid boolean, expected true or false"));}parseTrue_u(){if(this.char===CHAR_u)return this.consume(),this.next(this.parseTrue_e);throw this.error(new TomlError("Invalid boolean, expected true or false"));}parseTrue_e(){if(this.char===CHAR_e)return this.return(!0);throw this.error(new TomlError("Invalid boolean, expected true or false"));}parseFalse_a(){if(this.char===CHAR_a)return this.consume(),this.next(this.parseFalse_l);throw this.error(new TomlError("Invalid boolean, expected true or false"));}parseFalse_l(){if(this.char===CHAR_l)return this.consume(),this.next(this.parseFalse_s);throw this.error(new TomlError("Invalid boolean, expected true or false"));}parseFalse_s(){if(this.char===CHAR_s)return this.consume(),this.next(this.parseFalse_e);throw this.error(new TomlError("Invalid boolean, expected true or false"));}parseFalse_e(){if(this.char===CHAR_e)return this.return(!1);throw this.error(new TomlError("Invalid boolean, expected true or false"));}parseInlineList(){if(this.char===CHAR_SP||this.char===CTRL_I||this.char===CTRL_M||this.char===CTRL_J)return null;if(this.char===e.END)throw this.error(new TomlError("Unterminated inline array"));return this.char===CHAR_NUM?this.call(this.parseComment):this.char===CHAR_RSQB?this.return(this.state.resultArr||InlineList()):this.callNow(this.parseValue,this.recordInlineListValue);}recordInlineListValue(e){if(this.state.resultArr){let t=this.state.resultArr[_contentType],r=tomlType(e);if(t!==r)throw this.error(new TomlError(`Inline lists must be a single type, not a mix of ${t} and ${r}`));}else this.state.resultArr=InlineList(tomlType(e));return isFloat(e)||isInteger(e)?this.state.resultArr.push(e.valueOf()):this.state.resultArr.push(e),this.goto(this.parseInlineListNext);}parseInlineListNext(){if(this.char===CHAR_SP||this.char===CTRL_I||this.char===CTRL_M||this.char===CTRL_J)return null;if(this.char===CHAR_NUM)return this.call(this.parseComment);if(this.char===CHAR_COMMA)return this.next(this.parseInlineList);if(this.char===CHAR_RSQB)return this.goto(this.parseInlineList);throw this.error(new TomlError("Invalid character, expected whitespace, comma (,) or close bracket (])"));}parseInlineTable(){if(this.char===CHAR_SP||this.char===CTRL_I)return null;if(this.char===e.END||this.char===CHAR_NUM||this.char===CTRL_J||this.char===CTRL_M)throw this.error(new TomlError("Unterminated inline array"));return this.char===CHAR_RCUB?this.return(this.state.resultTable||InlineTable()):(this.state.resultTable||(this.state.resultTable=InlineTable()),this.callNow(this.parseAssign,this.recordInlineTableValue));}recordInlineTableValue(e){let t=this.state.resultTable,r=e.key.pop();for(let r of e.key){if(hasKey(t,r)&&(!isTable(t[r])||t[r][_declared]))throw this.error(new TomlError("Can't redefine existing key"));t=t[r]=t[r]||Table();}if(hasKey(t,r))throw this.error(new TomlError("Can't redefine existing key"));return isInteger(e.value)||isFloat(e.value)?t[r]=e.value.valueOf():t[r]=e.value,this.goto(this.parseInlineTableNext);}parseInlineTableNext(){if(this.char===CHAR_SP||this.char===CTRL_I)return null;if(this.char===e.END||this.char===CHAR_NUM||this.char===CTRL_J||this.char===CTRL_M)throw this.error(new TomlError("Unterminated inline array"));if(this.char===CHAR_COMMA)return this.next(this.parseInlineTable);if(this.char===CHAR_RCUB)return this.goto(this.parseInlineTable);throw this.error(new TomlError("Invalid character, expected whitespace, comma (,) or close bracket (])"));}}return t;}module.exports=makeParserClass(parcelRequire("fd397")),module.exports.makeParserClass=makeParserClass;class TomlError extends Error{constructor(e){super(e),this.name="TomlError",Error.captureStackTrace&&Error.captureStackTrace(this,TomlError),this.fromTOML=!0,this.wrapped=null;}}TomlError.wrap=e=>{let t=new TomlError(e.message);return t.code=e.code,t.wrapped=e,t;},module.exports.TomlError=TomlError,$4HTEH=parcelRequire("4HTEH"),$biA0C=parcelRequire("biA0C"),$51zGI=parcelRequire("51zGI"),$8bnbQ=parcelRequire("8bnbQ");let CTRL_I=9,CTRL_J=10,CTRL_M=13,CTRL_CHAR_BOUNDARY=31,CHAR_SP=32,CHAR_QUOT=34,CHAR_NUM=35,CHAR_APOS=39,CHAR_PLUS=43,CHAR_COMMA=44,CHAR_HYPHEN=45,CHAR_PERIOD=46,CHAR_0=48,CHAR_1=49,CHAR_7=55,CHAR_9=57,CHAR_COLON=58,CHAR_EQUALS=61,CHAR_A=65,CHAR_E=69,CHAR_F=70,CHAR_T=84,CHAR_U=85,CHAR_Z=90,CHAR_LOWBAR=95,CHAR_a=97,CHAR_b=98,CHAR_e=101,CHAR_f=102,CHAR_i=105,CHAR_l=108,CHAR_n=110,CHAR_o=111,CHAR_r=114,CHAR_s=115,CHAR_t=116,CHAR_u=117,CHAR_x=120,CHAR_z=122,CHAR_LCUB=123,CHAR_RCUB=125,CHAR_LSQB=91,CHAR_BSOL=92,CHAR_RSQB=93,CHAR_DEL=127,SURROGATE_FIRST=55296,SURROGATE_LAST=57343,escapes={[CHAR_b]:"\b",[CHAR_t]:" ",[CHAR_n]:"\n",[CHAR_f]:"\f",[CHAR_r]:"\r",[CHAR_QUOT]:'"',[CHAR_BSOL]:"\\"},_type=Symbol(),_declared=Symbol(),hasOwnProperty=Object.prototype.hasOwnProperty,defineProperty=Object.defineProperty,descriptor={configurable:!0,enumerable:!0,writable:!0,value:void 0},INLINE_TABLE=Symbol(),TABLE=Symbol(),_contentType=Symbol(),INLINE_LIST=Symbol(),LIST=Symbol();try{let utilInspect=eval("require('util').inspect");_custom=utilInspect.custom;}catch(_){}let _inspect=_custom||"inspect";class BoxedBigInt{constructor(e){try{this.value=$parcel$global.BigInt.asIntN(64,e);}catch(e){this.value=null;}Object.defineProperty(this,_type,{value:INTEGER});}isNaN(){return null===this.value;}toString(){return this.value+"";}[_inspect](){return`[BigInt: ${this.toString()}]}`;}valueOf(){return this.value;}}let INTEGER=Symbol(),FLOAT=Symbol();}),parcelRequire.register("fd397",function(e,t){let r=1114112;class i extends Error{constructor(e,t,r){super("[ParserError] "+e,t,r),this.name="ParserError",this.code="ParserError",Error.captureStackTrace&&Error.captureStackTrace(this,i);}}class s{constructor(e){this.parser=e,this.buf="",this.returned=null,this.result=null,this.resultTable=null,this.resultArr=null;}}class n{constructor(){this.pos=0,this.col=0,this.line=0,this.obj={},this.ctx=this.obj,this.stack=[],this._buf="",this.char=null,this.ii=0,this.state=new s(this.parseStart);}parse(e){let t;if(0!==e.length&&null!=e.length){for(this._buf=e+"",this.ii=-1,this.char=-1;!1===t||this.nextChar();)t=this.runOne();this._buf=null;}}nextChar(){return 10===this.char&&(++this.line,this.col=-1),++this.ii,this.char=this._buf.codePointAt(this.ii),++this.pos,++this.col,this.haveBuffer();}haveBuffer(){return this.ii{let t=new Date(e);if(!isNaN(t))return t;throw TypeError("Invalid Datetime");};}),parcelRequire.register("biA0C",function(e,t){var r=parcelRequire("1fZYw");class i extends Date{constructor(e){super(e+"Z"),this.isFloating=!0;}toISOString(){let e=`${this.getUTCFullYear()}-${r(2,this.getUTCMonth()+1)}-${r(2,this.getUTCDate())}`,t=`${r(2,this.getUTCHours())}:${r(2,this.getUTCMinutes())}:${r(2,this.getUTCSeconds())}.${r(3,this.getUTCMilliseconds())}`;return`${e}T${t}`;}}e.exports=e=>{let t=new i(e);if(!isNaN(t))return t;throw TypeError("Invalid Datetime");};}),parcelRequire.register("1fZYw",function(e,t){e.exports=(e,t)=>{for(t+="";t.length{let t=new s(e);if(!isNaN(t))return t;throw TypeError("Invalid Datetime");};}),parcelRequire.register("8bnbQ",function(e,t){var r=parcelRequire("1fZYw");class i extends Date{constructor(e){super(`0000-01-01T${e}Z`),this.isTime=!0;}toISOString(){return`${r(2,this.getUTCHours())}:${r(2,this.getUTCMinutes())}:${r(2,this.getUTCSeconds())}.${r(3,this.getUTCMilliseconds())}`;}}e.exports=e=>{let t=new i(e);if(!isNaN(t))return t;throw TypeError("Invalid Datetime");};}),parcelRequire.register("gBYD8",function(e,t){function r(e,t){if(null==e.pos||null==e.line)return e;let r=e.message;if(r+=` at row ${e.line+1}, col ${e.col+1}, pos ${e.pos}: -`,t&&t.split){let i=t.split(/\n/),s=(Math.min(i.length,e.line+3)+"").length,n=" ";for(;n.length "+i[t]+"\n"+n+" ";for(let t=0;t=e.length)try{return n(a.finish());}catch(t){return o(i(t,e));}try{a.parse(e.slice(t,t+r)),setImmediate(s,t+r,r,n,o);}catch(t){o(i(t,e));}}t||(t={});let n=0,o=t.blocksize||40960,a=new r();return new Promise((e,t)=>{setImmediate(s,n,o,e,t);});}e.exports=s,r=parcelRequire("3XGwc"),i=parcelRequire("gBYD8");}),parcelRequire.register("9JW1y",function(e,t){var r;function i(e){return e?s(e):n(e);}function s(e){let t=new r();return e.setEncoding("utf8"),new Promise((r,i)=>{let s;function n(){if(h=!0,!s)try{r(t.finish());}catch(e){i(e);}}function o(e){l=!0,i(e);}function a(){let r;for(s=!0;null!==(r=e.read());)try{t.parse(r);}catch(e){return o(e);}if(s=!1,h)return n();l||e.once("readable",a);}let h=!1,l=!1;e.once("end",n),e.once("error",o),a();});}function n(){let e=new r();return new $kC5q1$stream.Transform({objectMode:!0,transform(t,r,i){try{e.parse(t.toString(r));}catch(e){this.emit("error",e);}i();},flush(t){try{this.push(e.finish());}catch(e){this.emit("error",e);}t();}});}e.exports=i,r=parcelRequire("3XGwc");}),parcelRequire.register("bhUE6",function(e,t){function r(e){if(null===e)throw i("null");if(void 0===e)throw i("undefined");if("object"!=typeof e)throw i(typeof e);if("function"==typeof e.toJSON&&(e=e.toJSON()),null==e)return null;let t=c(e);if("table"!==t)throw i(t);return h("","",e);}function i(e){return Error("Can only stringify objects, not "+e);}function s(){return Error("Array values can't have mixed types");}function n(e){return Object.keys(e).filter(t=>l(e[t]));}function o(e){return Object.keys(e).filter(t=>!l(e[t]));}function a(e){let t=Array.isArray(e)?[]:Object.prototype.hasOwnProperty.call(e,"__proto__")?{["__proto__"]:void 0}:{};for(let r of Object.keys(e))!e[r]||"function"!=typeof e[r].toJSON||"toISOString"in e[r]?t[r]=e[r]:t[r]=e[r].toJSON();return t;}function h(e,t,r){i=n(r=a(r)),s=o(r);var i,s,h=[],l=t||"";i.forEach(e=>{var t=c(r[e]);"undefined"!==t&&"null"!==t&&h.push(l+u(e)+" = "+g(r[e],!0));}),h.length>0&&h.push("");var p=e&&i.length>0?t+" ":"";return s.forEach(t=>{h.push(I(e,p,t,r[t]));}),h.join("\n");}function l(e){switch(c(e)){case"undefined":case"null":case"integer":case"nan":case"float":case"boolean":case"string":case"datetime":return!0;case"array":return 0===e.length||"table"!==c(e[0]);case"table":return 0===Object.keys(e).length;default:return!1;}}function c(e){if(void 0===e)return"undefined";if(null===e)return"null";if("bigint"==typeof e||Number.isInteger(e)&&!Object.is(e,-0))return"integer";if("number"==typeof e)return"float";if("boolean"==typeof e)return"boolean";else if("string"==typeof e)return"string";else if("toISOString"in e)return isNaN(e)?"undefined":"datetime";else if(Array.isArray(e))return"array";else return"table";}function u(e){var t=e+"";return /^[-A-Za-z0-9_]+$/.test(t)?t:p(t);}function p(e){return'"'+y(e).replace(/"/g,'\\"')+'"';}function f(e){return"'"+e+"'";}function d(e,t){for(;t.length"\\u"+d(4,e.codePointAt(0).toString(16)));}function m(e){let t=e.split(/\n/).map(e=>y(e).replace(/"(?="")/g,'\\"')).join("\n");return'"'===t.slice(-1)&&(t+="\\\n"),'"""\n'+t+'"""';}function g(e,t){let r=c(e);return"string"===r&&(t&&/\n/.test(e)?r="string-multiline":!/[\b\t\n\f\r']/.test(e)&&/"/.test(e)&&(r="string-literal")),w(e,r);}function w(e,t){switch(t||(t=c(e)),t){case"string-multiline":return m(e);case"string":return p(e);case"string-literal":return f(e);case"integer":return x(e);case"float":return b(e);case"boolean":return v(e);case"datetime":return S(e);case"array":return T(e.filter(e=>"null"!==c(e)&&"undefined"!==c(e)&&"nan"!==c(e)));case"table":return E(e);default:throw i(t);}}function x(e){return(e+"").replace(/\B(?=(\d{3})+(?!\d))/g,"_");}function b(e){if(e===1/0)return"inf";if(e===-1/0)return"-inf";if(Object.is(e,NaN))return"nan";if(Object.is(e,-0))return"-0.0";var t=(e+"").split("."),r=t[0],i=t[1]||0;return x(r)+"."+i;}function v(e){return e+"";}function S(e){return e.toISOString();}function O(e){return"float"===e||"integer"===e;}function P(e){var t=c(e[0]);return e.every(e=>c(e)===t)?t:e.every(e=>O(c(e)))?"float":"mixed";}function N(e){let t=P(e);if("mixed"===t)throw s();return t;}function T(e){e=a(e);let t=N(e);var r="[",i=e.map(e=>w(e,t));return i.join(", ").length>60||/\n/.test(i)?r+="\n "+i.join(",\n ")+"\n":r+=" "+i.join(", ")+(i.length>0?" ":""),r+"]";}function E(e){e=a(e);var t=[];return Object.keys(e).forEach(r=>{t.push(u(r)+" = "+g(e[r],!1));}),"{ "+t.join(", ")+(t.length>0?" ":"")+"}";}function I(e,t,r,s){var n=c(s);if("array"===n)return A(e,t,r,s);if("table"===n)return C(e,t,r,s);throw i(n);}function A(e,t,r,s){N(s=a(s));var n=c(s[0]);if("table"!==n)throw i(n);var o=e+u(r),l="";return s.forEach(e=>{l.length>0&&(l+="\n"),l+=t+"[["+o+"]]\n"+h(o+".",t,e);}),l;}function C(e,t,r,i){var s=e+u(r),o="";return n(i).length>0&&(o+=t+"["+s+"]\n"),o+h(s+".",t,i);}e.exports=r,e.exports.value=w;}),parcelRequire.register("xjYT4",function(e,t){var r,i,s,n;async function o(e,t,r){r||(r=await a());let s=await i.findFromManifest(e,!1,r,t);return s;}function a(){return r.debug(`Getting manifest from ${p}/${f}@${d}`),i.getManifestFromRepo(p,f,u,d);}async function h(e){let t={cwd:e,env:{...process.env,...(n.IS_LINUX&&{LD_LIBRARY_PATH:$kC5q1$path.join(e,"lib")})},silent:!0,listeners:{stdout(e){r.info(e.toString().trim());},stderr(e){r.error(e.toString().trim());}}};n.IS_WINDOWS?await s.exec("powershell",["./setup.ps1"],t):await s.exec("bash",["./setup.sh"],t);}async function l(e){let t=e.files[0].download_url;r.info(`Download from "${t}"`);let s="";try{let e;s=await i.downloadTool(t,void 0,u),r.info("Extract downloaded archive"),e=n.IS_WINDOWS?await i.extractZip(s):await i.extractTar(s),r.info("Execute installation script"),await h(e);}catch(e){throw e instanceof i.HTTPError&&(403===e.httpStatusCode||429===e.httpStatusCode?r.info(`Received HTTP status code ${e.httpStatusCode}. This usually indicates the rate limit has been exceeded`):r.info(e.message),e.stack&&r.debug(e.stack)),e;}}$parcel$export(e.exports,"MANIFEST_URL",()=>y),$parcel$export(e.exports,"findReleaseFromManifest",()=>o),$parcel$export(e.exports,"getManifest",()=>a),$parcel$export(e.exports,"installCpythonFromRelease",()=>l),r=parcelRequire("2heqc"),i=parcelRequire("9aCWy"),s=parcelRequire("2mVwa"),n=parcelRequire("42Mcf");let c=r.getInput("token"),u=c?"token "+c:void 0,p="actions",f="python-versions",d="main",y=`https://raw.githubusercontent.com/${p}/${f}/${d}/versions-manifest.json`;}),parcelRequire.register("9aCWy",function(e,t){function r(e,t,r,s){return I(this,void 0,void 0,function*(){t=t||L.join(S(),W.default()),yield M.mkdirP(L.dirname(t)),$.debug("Downloading "+e),$.debug("Destination "+t);let n=3,o=O("TEST_DOWNLOAD_TOOL_RETRY_MIN_SECONDS",10),a=O("TEST_DOWNLOAD_TOOL_RETRY_MAX_SECONDS",20),h=new R.RetryHelper(n,o,a);return yield h.execute(()=>I(this,void 0,void 0,function*(){return yield i(e,t||"",r,s);}),e=>!(e instanceof B)||!e.httpStatusCode||!(e.httpStatusCode<500)||408===e.httpStatusCode||429===e.httpStatusCode);});}function i(e,t,r,i){return I(this,void 0,void 0,function*(){if(U.existsSync(t))throw Error(`Destination file path ${t} already exists`);let s=new F.HttpClient(J,[],{allowRetries:!1});r&&($.debug("set auth"),void 0===i&&(i={}),i.authorization=r);let n=yield s.get(e,i);if(200!==n.message.statusCode){let t=new B(n.message.statusCode);throw $.debug(`Failed to download from "${e}". Code(${n.message.statusCode}) Message(${n.message.statusMessage})`),t;}let o=q.promisify(H.pipeline),a=O("TEST_DOWNLOAD_TOOL_RESPONSE_MESSAGE_FACTORY",()=>n.message),h=a(),l=!1;try{return yield o(h,U.createWriteStream(t)),$.debug("download complete"),l=!0,t;}finally{if(!l){$.debug("download failed");try{yield M.rmRF(t);}catch(e){$.debug(`Failed to delete '${t}'. ${e.message}`);}}}});}function s(e,t,r){return I(this,void 0,void 0,function*(){$kC5q1$assert.ok(G,"extract7z() not supported on current OS"),$kC5q1$assert.ok(e,'parameter "file" is required'),t=yield m(t);let i=process.cwd();if(process.chdir(t),r)try{let t=$.isDebug()?"-bb1":"-bb0",i=["x",t,"-bd","-sccUTF-8",e],s={silent:!0};yield C.exec(`"${r}"`,i,s);}finally{process.chdir(i);}else{let r=L.join(D,"..","scripts","Invoke-7zdec.ps1").replace(/'/g,"''").replace(/"|\n|\r/g,""),s=e.replace(/'/g,"''").replace(/"|\n|\r/g,""),n=t.replace(/'/g,"''").replace(/"|\n|\r/g,""),o=`& '${r}' -Source '${s}' -Target '${n}'`,a=["-NoLogo","-Sta","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",o],h={silent:!0};try{let e=yield M.which("powershell",!0);yield C.exec(`"${e}"`,a,h);}finally{process.chdir(i);}}return t;});}function n(e,t,r="xz"){return I(this,void 0,void 0,function*(){let i;if(!e)throw Error("parameter 'file' is required");t=yield m(t),$.debug("Checking tar --version");let s="";yield C.exec("tar --version",[],{ignoreReturnCode:!0,silent:!0,listeners:{stdout:e=>s+=e.toString(),stderr:e=>s+=e.toString()}}),$.debug(s.trim());let n=s.toUpperCase().includes("GNU TAR");i=r instanceof Array?r:[r],$.isDebug()&&!r.includes("v")&&i.push("-v");let o=t,a=e;return G&&n&&(i.push("--force-local"),o=t.replace(/\\/g,"/"),a=e.replace(/\\/g,"/")),n&&(i.push("--warning=no-unknown-keyword"),i.push("--overwrite")),i.push("-C",o,"-f",a),yield C.exec("tar",i),t;});}function o(e,t,r=[]){return I(this,void 0,void 0,function*(){let i;$kC5q1$assert.ok(Z,"extractXar() not supported on current OS"),$kC5q1$assert.ok(e,'parameter "file" is required'),t=yield m(t),(i=r instanceof Array?r:[r]).push("-x","-C",t,"-f",e),$.isDebug()&&i.push("-v");let s=yield M.which("xar",!0);return yield C.exec(`"${s}"`,P(i)),t;});}function a(e,t){return I(this,void 0,void 0,function*(){if(!e)throw Error("parameter 'file' is required");return t=yield m(t),G?yield h(e,t):yield l(e,t),t;});}function h(e,t){return I(this,void 0,void 0,function*(){let r=e.replace(/'/g,"''").replace(/"|\n|\r/g,""),i=t.replace(/'/g,"''").replace(/"|\n|\r/g,""),s=yield M.which("pwsh",!1);if(s){let e=`$ErrorActionPreference = 'Stop' ; try { Add-Type -AssemblyName System.IO.Compression.ZipFile } catch { } ; try { [System.IO.Compression.ZipFile]::ExtractToDirectory('${r}', '${i}', $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 '${i}' -Force } else { throw $_ } } ;`,t=["-NoLogo","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",e];$.debug("Using pwsh at path: "+s),yield C.exec(`"${s}"`,t);}else{let e=`$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 '${i}' -Force } else {[System.IO.Compression.ZipFile]::ExtractToDirectory('${r}', '${i}', $true) }`,t=["-NoLogo","-Sta","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",e],s=yield M.which("powershell",!0);$.debug("Using powershell at path: "+s),yield C.exec(`"${s}"`,t);}});}function l(e,t){return I(this,void 0,void 0,function*(){let r=yield M.which("unzip",!0),i=[e];$.isDebug()||i.unshift("-q"),i.unshift("-o"),yield C.exec(`"${r}"`,i,{cwd:t});});}function c(e,t,r,i){return I(this,void 0,void 0,function*(){if(r=k.clean(r)||r,i=i||V.arch(),$.debug(`Caching tool ${t} ${r} ${i}`),$.debug("source dir: "+e),!U.statSync(e).isDirectory())throw Error("sourceDir is not a directory");let s=yield g(t,r,i);for(let t of U.readdirSync(e)){let r=L.join(e,t);yield M.cp(r,s,{recursive:!0});}return w(t,r,i),s;});}function u(e,t,r,i,s){return I(this,void 0,void 0,function*(){if(i=k.clean(i)||i,s=s||V.arch(),$.debug(`Caching tool ${r} ${i} ${s}`),$.debug("source file: "+e),!U.statSync(e).isFile())throw Error("sourceFile is not a file");let n=yield g(r,i,s),o=L.join(n,t);return $.debug("destination file "+o),yield M.cp(e,o),w(r,i,s),n;});}function p(e,t,r){if(!e)throw Error("toolName parameter is required");if(!t)throw Error("versionSpec parameter is required");if(r=r||V.arch(),!x(t)){let i=f(e,r),s=b(i,t);t=s;}let i="";if(t){t=k.clean(t)||"";let s=L.join(v(),e,t,r);$.debug("checking cache: "+s),U.existsSync(s)&&U.existsSync(`${s}.complete`)?($.debug(`Found tool in cache ${e} ${t} ${r}`),i=s):$.debug("not found");}return i;}function f(e,t){let r=[];t=t||V.arch();let i=L.join(v(),e);if(U.existsSync(i)){let e=U.readdirSync(i);for(let s of e)if(x(s)){let e=L.join(i,s,t||"");U.existsSync(e)&&U.existsSync(`${e}.complete`)&&r.push(s);}}return r;}function d(e,t,r,i="master"){return I(this,void 0,void 0,function*(){let s=[],n=`https://api.github.com/repos/${e}/${t}/git/trees/${i}`,o=new F.HttpClient("tool-cache"),a={};r&&($.debug("set auth"),a.authorization=r);let h=yield o.getJson(n,a);if(!h.result)return s;let l="";for(let e of h.result.tree)if("versions-manifest.json"===e.path){l=e.url;break;}a.accept="application/vnd.github.VERSION.raw";let c=yield(yield o.get(l,a)).readBody();if(c){c=c.replace(/^\uFEFF/,"");try{s=JSON.parse(c);}catch(e){$.debug("Invalid json");}}return s;});}function y(e,t,r,i=V.arch()){return I(this,void 0,void 0,function*(){let s=yield j._findMatch(e,t,r,i);return s;});}function m(e){return I(this,void 0,void 0,function*(){return e||(e=L.join(S(),W.default())),yield M.mkdirP(e),e;});}function g(e,t,r){return I(this,void 0,void 0,function*(){let i=L.join(v(),e,k.clean(t)||t,r||"");$.debug("destination "+i);let s=`${i}.complete`;return yield M.rmRF(i),yield M.rmRF(s),yield M.mkdirP(i),i;});}function w(e,t,r){let i=L.join(v(),e,k.clean(t)||t,r||""),s=`${i}.complete`;U.writeFileSync(s,""),$.debug("finished caching tool");}function x(e){let t=k.clean(e)||"";$.debug("isExplicit: "+t);let r=null!=k.valid(t);return $.debug("explicit? "+r),r;}function b(e,t){let r="";$.debug(`evaluating ${e.length} versions`),e=e.sort((e,t)=>k.gt(e,t)?1:-1);for(let i=e.length-1;i>=0;i--){let s=e[i],n=k.satisfies(s,t);if(n){r=s;break;}}return r?$.debug("matched: "+r):$.debug("match not found"),r;}function v(){let e=process.env.RUNNER_TOOL_CACHE||"";return $kC5q1$assert.ok(e,"Expected RUNNER_TOOL_CACHE to be defined"),e;}function S(){let e=process.env.RUNNER_TEMP||"";return $kC5q1$assert.ok(e,"Expected RUNNER_TEMP to be defined"),e;}function O(e,t){let r=$parcel$global[e];return void 0!==r?r:t;}function P(e){return Array.from(new Set(e));}var N,T,E,I,A,C,R,D=$kC5q1$path.resolve(__dirname,"../../node_modules/.pnpm/@actions+tool-cache@1.7.2/node_modules/@actions/tool-cache/lib");N=e.exports&&e.exports.__createBinding||(Object.create?function(e,t,r,i){void 0===i&&(i=r),Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[r];}});}:function(e,t,r,i){void 0===i&&(i=r),e[i]=t[r];}),T=e.exports&&e.exports.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),E=e.exports&&e.exports.__importStar||function(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 T(t,e),t;},I=e.exports&&e.exports.__awaiter||function(e,t,r,i){function s(e){return e instanceof r?e:new r(function(t){t(e);});}return new(r||(r=Promise))(function(r,n){function o(e){try{h(i.next(e));}catch(e){n(e);}}function a(e){try{h(i.throw(e));}catch(e){n(e);}}function h(e){e.done?r(e.value):s(e.value).then(o,a);}h((i=i.apply(e,t||[])).next());});},A=e.exports&&e.exports.__importDefault||function(e){return e&&e.__esModule?e:{default:e};},Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.evaluateVersions=e.exports.isExplicitVersion=e.exports.findFromManifest=e.exports.getManifestFromRepo=e.exports.findAllVersions=e.exports.find=e.exports.cacheFile=e.exports.cacheDir=e.exports.extractZip=e.exports.extractXar=e.exports.extractTar=e.exports.extract7z=e.exports.downloadTool=e.exports.HTTPError=void 0;let $=E(parcelRequire("2heqc")),M=E(parcelRequire("kSdX3")),U=E($kC5q1$fs),j=E(parcelRequire("1Zp5D")),V=E($kC5q1$os),L=E($kC5q1$path),F=E(parcelRequire("7FuP1")),k=E(parcelRequire("3BvyU")),H=E($kC5q1$stream),q=E($kC5q1$util),W=A(parcelRequire("bxsAi"));C=parcelRequire("2mVwa"),R=parcelRequire("2yfZv");class B extends Error{constructor(e){super("Unexpected HTTP response: "+e),this.httpStatusCode=e,Object.setPrototypeOf(this,new.target.prototype);}}e.exports.HTTPError=B;let G="win32"===process.platform,Z="darwin"===process.platform,J="actions/tool-cache";e.exports.downloadTool=r,e.exports.extract7z=s,e.exports.extractTar=n,e.exports.extractXar=o,e.exports.extractZip=a,e.exports.cacheDir=c,e.exports.cacheFile=u,e.exports.find=p,e.exports.findAllVersions=f,e.exports.getManifestFromRepo=d,e.exports.findFromManifest=y,e.exports.isExplicitVersion=x,e.exports.evaluateVersions=b;}),parcelRequire.register("1Zp5D",function(e,t){var r,i,s,n,o;function a(t,r,i,s){return n(this,void 0,void 0,function*(){let n,a,h;let l=$kC5q1$os.platform();for(let n of i){let i=n.version;if(o.debug(`check ${i} satisfies ${t}`),c.satisfies(i,t)&&(!r||n.stable===r)&&(h=n.files.find(t=>{o.debug(`${t.arch}===${s} && ${t.platform}===${l}`);let r=t.arch===s&&t.platform===l;if(r&&t.platform_version){let i=e.exports._getOsVersion();r=i===t.platform_version||c.satisfies(i,t.platform_version);}return r;}))){o.debug("matched "+n.version),a=n;break;}}return a&&h&&((n=Object.assign({},a)).files=[h]),n;});}function h(){let t=$kC5q1$os.platform(),r="";if("darwin"===t)r=$kC5q1$child_process.execSync("sw_vers -productVersion").toString();else if("linux"===t){let t=e.exports._readLinuxVersionFile();if(t){let e=t.split("\n");for(let t of e){let 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;}function l(){let e="/etc/lsb-release",t="/etc/os-release",r="";return $kC5q1$fs.existsSync(e)?r=$kC5q1$fs.readFileSync(e).toString():$kC5q1$fs.existsSync(t)&&(r=$kC5q1$fs.readFileSync(t).toString()),r;}r=e.exports&&e.exports.__createBinding||(Object.create?function(e,t,r,i){void 0===i&&(i=r),Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[r];}});}:function(e,t,r,i){void 0===i&&(i=r),e[i]=t[r];}),i=e.exports&&e.exports.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),s=e.exports&&e.exports.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var s in e)"default"!==s&&Object.hasOwnProperty.call(e,s)&&r(t,e,s);return i(t,e),t;},n=e.exports&&e.exports.__awaiter||function(e,t,r,i){function s(e){return e instanceof r?e:new r(function(t){t(e);});}return new(r||(r=Promise))(function(r,n){function o(e){try{h(i.next(e));}catch(e){n(e);}}function a(e){try{h(i.throw(e));}catch(e){n(e);}}function h(e){e.done?r(e.value):s(e.value).then(o,a);}h((i=i.apply(e,t||[])).next());});},Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports._readLinuxVersionFile=e.exports._getOsVersion=e.exports._findMatch=void 0;let c=s(parcelRequire("3BvyU"));o=parcelRequire("2heqc"),e.exports._findMatch=a,e.exports._getOsVersion=h,e.exports._readLinuxVersionFile=l;}),parcelRequire.register("7FuP1",function(e,t){var r,i,s,n;let o;function a(e){let t=r.getProxyUrl(new URL(e));return t?t.href:"";}function h(e){return"https:"===new URL(e).protocol;}Object.defineProperty(e.exports,"__esModule",{value:!0}),r=parcelRequire("kG5AI"),function(e){e[e.OK=200]="OK",e[e.MultipleChoices=300]="MultipleChoices",e[e.MovedPermanently=301]="MovedPermanently",e[e.ResourceMoved=302]="ResourceMoved",e[e.SeeOther=303]="SeeOther",e[e.NotModified=304]="NotModified",e[e.UseProxy=305]="UseProxy",e[e.SwitchProxy=306]="SwitchProxy",e[e.TemporaryRedirect=307]="TemporaryRedirect",e[e.PermanentRedirect=308]="PermanentRedirect",e[e.BadRequest=400]="BadRequest",e[e.Unauthorized=401]="Unauthorized",e[e.PaymentRequired=402]="PaymentRequired",e[e.Forbidden=403]="Forbidden",e[e.NotFound=404]="NotFound",e[e.MethodNotAllowed=405]="MethodNotAllowed",e[e.NotAcceptable=406]="NotAcceptable",e[e.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",e[e.RequestTimeout=408]="RequestTimeout",e[e.Conflict=409]="Conflict",e[e.Gone=410]="Gone",e[e.TooManyRequests=429]="TooManyRequests",e[e.InternalServerError=500]="InternalServerError",e[e.NotImplemented=501]="NotImplemented",e[e.BadGateway=502]="BadGateway",e[e.ServiceUnavailable=503]="ServiceUnavailable",e[e.GatewayTimeout=504]="GatewayTimeout";}(i=e.exports.HttpCodes||(e.exports.HttpCodes={})),function(e){e.Accept="accept",e.ContentType="content-type";}(s=e.exports.Headers||(e.exports.Headers={})),function(e){e.ApplicationJson="application/json";}(n=e.exports.MediaTypes||(e.exports.MediaTypes={})),e.exports.getProxyUrl=a;let l=[i.MovedPermanently,i.ResourceMoved,i.SeeOther,i.TemporaryRedirect,i.PermanentRedirect],c=[i.BadGateway,i.ServiceUnavailable,i.GatewayTimeout],u=["OPTIONS","GET","DELETE","HEAD"],p=10,f=5;class d extends Error{constructor(e,t){super(e),this.name="HttpClientError",this.statusCode=t,Object.setPrototypeOf(this,d.prototype);}}e.exports.HttpClientError=d;class y{constructor(e){this.message=e;}readBody(){return new Promise(async(e,t)=>{let r=Buffer.alloc(0);this.message.on("data",e=>{r=Buffer.concat([r,e]);}),this.message.on("end",()=>{e(r.toString());});});}}e.exports.HttpClientResponse=y,e.exports.isHttps=h;class m{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 this.request("OPTIONS",e,null,t||{});}get(e,t){return this.request("GET",e,null,t||{});}del(e,t){return this.request("DELETE",e,null,t||{});}post(e,t,r){return this.request("POST",e,t,r||{});}patch(e,t,r){return this.request("PATCH",e,t,r||{});}put(e,t,r){return this.request("PUT",e,t,r||{});}head(e,t){return this.request("HEAD",e,null,t||{});}sendStream(e,t,r,i){return this.request(e,t,r,i);}async getJson(e,t={}){t[s.Accept]=this._getExistingOrDefaultHeader(t,s.Accept,n.ApplicationJson);let r=await this.get(e,t);return this._processResponse(r,this.requestOptions);}async postJson(e,t,r={}){let i=JSON.stringify(t,null,2);r[s.Accept]=this._getExistingOrDefaultHeader(r,s.Accept,n.ApplicationJson),r[s.ContentType]=this._getExistingOrDefaultHeader(r,s.ContentType,n.ApplicationJson);let o=await this.post(e,i,r);return this._processResponse(o,this.requestOptions);}async putJson(e,t,r={}){let i=JSON.stringify(t,null,2);r[s.Accept]=this._getExistingOrDefaultHeader(r,s.Accept,n.ApplicationJson),r[s.ContentType]=this._getExistingOrDefaultHeader(r,s.ContentType,n.ApplicationJson);let o=await this.put(e,i,r);return this._processResponse(o,this.requestOptions);}async patchJson(e,t,r={}){let i=JSON.stringify(t,null,2);r[s.Accept]=this._getExistingOrDefaultHeader(r,s.Accept,n.ApplicationJson),r[s.ContentType]=this._getExistingOrDefaultHeader(r,s.ContentType,n.ApplicationJson);let o=await this.patch(e,i,r);return this._processResponse(o,this.requestOptions);}async request(e,t,r,s){let n;if(this._disposed)throw Error("Client has already been disposed.");let o=new URL(t),a=this._prepareRequest(e,o,s),h=this._allowRetries&&-1!=u.indexOf(e)?this._maxRetries+1:1,p=0;for(;p0;){let i=n.message.headers.location;if(!i)break;let h=new URL(i);if("https:"==o.protocol&&o.protocol!=h.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(await n.readBody(),h.hostname!==o.hostname)for(let e in s)"authorization"===e.toLowerCase()&&delete s[e];a=this._prepareRequest(e,h,s),n=await this.requestRaw(a,r),t--;}if(-1==c.indexOf(n.message.statusCode))break;(p+=1){let s=function(e,t){e&&i(e),r(t);};this.requestRawWithCallback(e,t,s);});}requestRawWithCallback(e,t,r){let i;"string"==typeof t&&(e.options.headers["Content-Length"]=Buffer.byteLength(t,"utf8"));let s=!1,n=(e,t)=>{s||(s=!0,r(e,t));},o=e.httpModule.request(e.options,e=>{n(null,new y(e));});o.on("socket",e=>{i=e;}),o.setTimeout(this._socketTimeout||18e4,()=>{i&&i.end(),n(Error("Request timeout: "+e.options.path),null);}),o.on("error",function(e){n(e,null);}),t&&"string"==typeof t&&o.write(t,"utf8"),t&&"string"!=typeof t?(t.on("close",function(){o.end();}),t.pipe(o)):o.end();}getAgent(e){let t=new URL(e);return this._getAgent(t);}_prepareRequest(e,t,r){let i={};i.parsedUrl=t;let s="https:"===i.parsedUrl.protocol;i.httpModule=s?$kC5q1$https:$kC5q1$http;let n=s?443:80;return i.options={},i.options.host=i.parsedUrl.hostname,i.options.port=i.parsedUrl.port?parseInt(i.parsedUrl.port):n,i.options.path=(i.parsedUrl.pathname||"")+(i.parsedUrl.search||""),i.options.method=e,i.options.headers=this._mergeHeaders(r),null!=this.userAgent&&(i.options.headers["user-agent"]=this.userAgent),i.options.agent=this._getAgent(i.parsedUrl),this.handlers&&this.handlers.forEach(e=>{e.prepareRequest(i.options);}),i;}_mergeHeaders(e){let t=e=>Object.keys(e).reduce((t,r)=>(t[r.toLowerCase()]=e[r],t),{});return this.requestOptions&&this.requestOptions.headers?Object.assign({},t(this.requestOptions.headers),t(e)):t(e||{});}_getExistingOrDefaultHeader(e,t,r){let i;let s=e=>Object.keys(e).reduce((t,r)=>(t[r.toLowerCase()]=e[r],t),{});return this.requestOptions&&this.requestOptions.headers&&(i=s(this.requestOptions.headers)[t]),e[t]||i||r;}_getAgent(e){let t;let i=r.getProxyUrl(e),s=i&&i.hostname;if(this._keepAlive&&s&&(t=this._proxyAgent),this._keepAlive&&!s&&(t=this._agent),t)return t;let n="https:"===e.protocol,a=100;if(this.requestOptions&&(a=this.requestOptions.maxSockets||$kC5q1$http.globalAgent.maxSockets),s){let e;o||(o=parcelRequire("j6C2A"));let r={maxSockets:a,keepAlive:this._keepAlive,proxy:{...((i.username||i.password)&&{proxyAuth:`${i.username}:${i.password}`}),host:i.hostname,port:i.port}},s="https:"===i.protocol;t=(e=n?s?o.httpsOverHttps:o.httpsOverHttp:s?o.httpOverHttps:o.httpOverHttp)(r),this._proxyAgent=t;}if(this._keepAlive&&!t){let e={keepAlive:this._keepAlive,maxSockets:a};t=n?new $kC5q1$https.Agent(e):new $kC5q1$http.Agent(e),this._agent=t;}return t||(t=n?$kC5q1$https.globalAgent:$kC5q1$http.globalAgent),n&&this._ignoreSslError&&(t.options=Object.assign(t.options||{},{rejectUnauthorized:!1})),t;}_performExponentialBackoff(e){e=Math.min(p,e);let t=f*Math.pow(2,e);return new Promise(e=>setTimeout(()=>e(),t));}static dateTimeDeserializer(e,t){if("string"==typeof t){let e=new Date(t);if(!isNaN(e.valueOf()))return e;}return t;}async _processResponse(e,t){return new Promise(async(r,s)=>{let n,o;let a=e.message.statusCode,h={statusCode:a,result:null,headers:{}};a==i.NotFound&&r(h);try{(o=await e.readBody())&&o.length>0&&(n=t&&t.deserializeDates?JSON.parse(o,m.dateTimeDeserializer):JSON.parse(o),h.result=n),h.headers=e.message.headers;}catch(e){}if(a>299){let e;e=n&&n.message?n.message:o&&o.length>0?o:"Failed request: ("+a+")";let t=new d(e,a);t.result=h.result,s(t);}else r(h);});}}e.exports.HttpClient=m;}),parcelRequire.register("kG5AI",function(e,t){function r(e){let t,r,s="https:"===e.protocol;return i(e)||(r=s?process.env.https_proxy||process.env.HTTPS_PROXY:process.env.http_proxy||process.env.HTTP_PROXY)&&(t=new URL(r)),t;}function i(e){let t;if(!e.hostname)return!1;let r=process.env.no_proxy||process.env.NO_PROXY||"";if(!r)return!1;e.port?t=+e.port:"http:"===e.protocol?t=80:"https:"===e.protocol&&(t=443);let i=[e.hostname.toUpperCase()];for(let e of("number"==typeof t&&i.push(`${i[0]}:${t}`),r.split(",").map(e=>e.trim().toUpperCase()).filter(e=>e)))if(i.some(t=>t===e))return!0;return!1;}Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.getProxyUrl=r,e.exports.checkBypass=i;}),parcelRequire.register("2yfZv",function(e,t){var r=e.exports&&e.exports.__createBinding||(Object.create?function(e,t,r,i){void 0===i&&(i=r),Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[r];}});}:function(e,t,r,i){void 0===i&&(i=r),e[i]=t[r];}),i=e.exports&&e.exports.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),s=e.exports&&e.exports.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var s in e)"default"!==s&&Object.hasOwnProperty.call(e,s)&&r(t,e,s);return i(t,e),t;},n=e.exports&&e.exports.__awaiter||function(e,t,r,i){function s(e){return e instanceof r?e:new r(function(t){t(e);});}return new(r||(r=Promise))(function(r,n){function o(e){try{h(i.next(e));}catch(e){n(e);}}function a(e){try{h(i.throw(e));}catch(e){n(e);}}function h(e){e.done?r(e.value):s(e.value).then(o,a);}h((i=i.apply(e,t||[])).next());});};Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.RetryHelper=void 0;let o=s(parcelRequire("2heqc"));class a{constructor(e,t,r){if(e<1)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 n(this,void 0,void 0,function*(){let r=1;for(;rsetTimeout(t,1e3*e));});}}e.exports.RetryHelper=a;}),parcelRequire.register("49ncA",function(e,t){var r,i,s,n,o;async function a(e,t,s,o,a){let c,u,p="",f="",d=l(e);if(o&&(u=await r.getAvailablePyPyVersions())&&u.length>0){let e=r.findRelease(u,d.pythonVersion,d.pypyVersion,t,!1);e?(n.info(`Resolved as PyPy ${e.resolvedPyPyVersion} with Python (${e.resolvedPythonVersion})`),d.pythonVersion=e.resolvedPythonVersion,d.pypyVersion=e.resolvedPyPyVersion):n.info(`Failed to resolve PyPy ${d.pypyVersion} with Python (${d.pythonVersion}) from manifest`);}({installDir:c,resolvedPythonVersion:f,resolvedPyPyVersion:p}=h(d.pythonVersion,d.pypyVersion,t)),c||({installDir:c,resolvedPythonVersion:f,resolvedPyPyVersion:p}=await r.installPyPy(d.pypyVersion,d.pythonVersion,t,a,u));let y=i.IS_WINDOWS?"Scripts":"bin",m=$kC5q1$path.join(c,y),g=i.IS_WINDOWS?".exe":"",w=$kC5q1$path.join(i.IS_WINDOWS?c:m,"python"+g),x=r.getPyPyBinaryPath(c);return s&&(n.exportVariable("pythonLocation",c),n.exportVariable("Python_ROOT_DIR",c),n.exportVariable("Python2_ROOT_DIR",c),n.exportVariable("Python3_ROOT_DIR",c),n.exportVariable("PKG_CONFIG_PATH",x+"/lib/pkgconfig"),n.addPath(x),n.addPath(m)),n.setOutput("python-version","pypy"+p),n.setOutput("python-path",w),{resolvedPyPyVersion:p,resolvedPythonVersion:f};}function h(e,t,r){let a="",h="",l=i.IS_WINDOWS?c(e):o.find("PyPy",e,r);if(l){h=(0,i.getPyPyVersionFromPath)(l),a=(0,i.readExactPyPyVersionFile)(l);let e=s.satisfies(a,t);e||(l=null,a="",h="");}return l||n.info(`PyPy version ${e} (${t}) was not found in the local cache`),{installDir:l,resolvedPythonVersion:h,resolvedPyPyVersion:a};}function l(e){let t;let s=e.split("-").filter(e=>!!e);if(/^(pypy)(.+)/.test(s[0])){let e=s[0].replace("pypy","");s.splice(0,1,"pypy",e);}if(s.length<2||"pypy"!=s[0])throw Error("Invalid 'version' property for PyPy. PyPy version should be specified as 'pypy' or 'pypy-'. See README for examples and documentation.");let n=s[1];if(t=s.length>2?r.pypyVersionToSemantic(s[2]):"x",!(0,i.validateVersion)(n)||!(0,i.validateVersion)(t))throw Error("Invalid 'version' property for PyPy. Both Python version and PyPy versions should satisfy SemVer notation. See README for examples and documentation.");if(!(0,i.validatePythonVersionFormatForPyPy)(n))throw Error("Invalid format of Python version for PyPy. Python version should be specified in format 'x.y'. See README for examples and documentation.");return{pypyVersion:t,pythonVersion:n};}function c(e){let t="";return(0,i.WINDOWS_ARCHS).forEach(r=>t=t||o.find("PyPy",e,r)),t;}$parcel$export(e.exports,"findPyPyVersion",()=>a),r=parcelRequire("dDV6t"),i=parcelRequire("42Mcf"),s=parcelRequire("lqN0l"),n=parcelRequire("2heqc"),o=parcelRequire("9aCWy");}),parcelRequire.register("dDV6t",function(e,t){var r,i,s,n,o,a;async function h(e,t,s,n,o){let h;if(!(o=null!=o?o:await l())||0===o.length)throw Error("No release was found in PyPy version.json");let d=p(o,t,e,s,!1);if(!n||d&&d.foundAsset||(r.info([`Stable PyPy version ${t} (${e}) with arch ${s} not found`,"Trying pre-release versions"].join($kC5q1$os.EOL)),d=p(o,t,e,s,!0)),!d||!d.foundAsset)throw Error(`PyPy version ${t} (${e}) with arch ${s} not found`);let{foundAsset:y,resolvedPythonVersion:m,resolvedPyPyVersion:g}=d,w=""+y.download_url;r.info(`Downloading PyPy from "${w}" ...`);try{let e=await i.downloadTool(w);r.info("Extracting downloaded archive..."),h=a.IS_WINDOWS?await i.extractZip(e):await i.extractTar(e,void 0,"x");let t=$parcel$interopDefault($kC5q1$fs).readdirSync(h)[0],n=$kC5q1$path.join(h,t),o=n;(0,a.isNightlyKeyword)(g)||(o=await i.cacheDir(n,"PyPy",m,s)),(0,a.writeExactPyPyVersionFile)(o,g);let l=f(o);return await c(l,m),await u(l),{installDir:o,resolvedPythonVersion:m,resolvedPyPyVersion:g};}catch(e){throw e instanceof Error&&(e instanceof i.HTTPError&&(403===e.httpStatusCode||429===e.httpStatusCode)?r.info(`Received HTTP status code ${e.httpStatusCode}. This usually indicates the rate limit has been exceeded`):r.info(e.message),void 0!==e.stack&&r.debug(e.stack)),e;}}async function l(){let e="https://downloads.python.org/pypy/versions.json",t=new n.HttpClient("tool-cache"),r=await t.getJson(e);if(!r.result)throw Error(`Unable to retrieve the list of available PyPy versions from '${e}'`);return r.result;}async function c(e,t){let i=s.coerce(t),n=s.major(i),o=s.minor(i),h=2===n?"":"3",l=`${n}.${o}`,c=a.IS_WINDOWS?".exe":"";r.info("Creating symlinks..."),(0,a.createSymlinkInFolder)(e,`pypy${h}${c}`,`python${n}${c}`,!0),(0,a.createSymlinkInFolder)(e,`pypy${h}${c}`,"python"+c,!0),(0,a.createSymlinkInFolder)(e,`pypy${h}${c}`,`pypy${l}${c}`,!0);}async function u(e){r.info("Installing and updating pip");let t=$kC5q1$path.join(e,"python");await o.exec(`${t} -m ensurepip`),await o.exec(`${e}/python -m pip install --ignore-installed pip`);}function p(e,t,r,i,n){let o={includePrerelease:n},h=e.filter(e=>{let n=s.satisfies(s.coerce(e.python_version),t),h=(0,a.isNightlyKeyword)(r)&&(0,a.isNightlyKeyword)(e.pypy_version),l=h||s.satisfies(d(e.pypy_version),r,o),c=e.files&&(a.IS_WINDOWS?y(e,i):m(e,i,process.platform));return n&&l&&c;});if(0===h.length)return null;let l=h.sort((e,t)=>s.compare(s.coerce(d(t.pypy_version)),s.coerce(d(e.pypy_version)))||s.compare(s.coerce(t.python_version),s.coerce(e.python_version))),c=l[0],u=a.IS_WINDOWS?g(c,i):w(c,i,process.platform);return{foundAsset:u,resolvedPythonVersion:c.python_version,resolvedPyPyVersion:c.pypy_version.trim()};}function f(e){let t=$kC5q1$path.join(e,"bin");return a.IS_WINDOWS?e:t;}function d(e){let t=/(\d+\.\d+\.\d+)((?:a|b|rc))(\d*)/g;return e.replace(t,"$1-$2.$3");}function y(e,t){return t=x(t),e.files.some(e=>(0,a.WINDOWS_PLATFORMS).includes(e.platform)&&e.arch===t);}function m(e,t,r){return e.files.some(e=>e.arch===t&&e.platform===r);}function g(e,t){return t=x(t),e.files.find(e=>(0,a.WINDOWS_PLATFORMS).includes(e.platform)&&e.arch===t);}function w(e,t,r){return e.files.find(e=>e.arch===t&&e.platform===r);}function x(e){return"x32"===e&&(e="x86"),e;}$parcel$export(e.exports,"installPyPy",()=>h),$parcel$export(e.exports,"getAvailablePyPyVersions",()=>l),$parcel$export(e.exports,"findRelease",()=>p),$parcel$export(e.exports,"getPyPyBinaryPath",()=>f),$parcel$export(e.exports,"pypyVersionToSemantic",()=>d),r=parcelRequire("2heqc"),i=parcelRequire("9aCWy"),s=parcelRequire("lqN0l"),n=parcelRequire("7FuP1"),o=parcelRequire("2mVwa"),a=parcelRequire("42Mcf");}); -//# sourceMappingURL=actions_python.92140582.js.map \ No newline at end of file diff --git a/dist/legacy/actions_python.92140582.js.map b/dist/legacy/actions_python.92140582.js.map deleted file mode 100644 index dd4c3b67..00000000 --- a/dist/legacy/actions_python.92140582.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"actions_python.92140582.js","names":["u","e","startsWith","p","t","o","l","h","IS_MAC","process","env","AGENT_TOOLSDIRECTORY","c","trim","RUNNER_TOOL_CACHE","n","debug","r","i","findPyPyVersion","d","resolvedPyPyVersion","resolvedPythonVersion","s","info","useCpythonVersion","version","impl","a","GITHUB_ACTIONS","f","join","pathExists","warning","IS_WINDOWS","$kC5q1$path","y","m","g","getManifest","findReleaseFromManifest","w","find","files","length","installCpythonFromRelease","getOSInfo","Error","osName","osVersion","MANIFEST_URL","$kC5q1$os","EOL","x","b","v","exportVariable","IS_LINUX","LD_LIBRARY_PATH","split","includes","addPath","basename","dirname","major","minor","APPDATA","S","setOutput","replace","sep","findIndex","$parcel$interopDefault","$kC5q1$fs","existsSync","symlinkSync","chmodSync","validRange","readFileSync","toString","writeFileSync","test","stdout","getExecOutput","silent","message","parcelRequire","platform","exports","async","stream","prettyError","$parcel$global","Buffer","isBuffer","parse","finish","_custom","isDigit","CHAR_0","CHAR_9","isHexit","CHAR_A","CHAR_F","CHAR_a","CHAR_f","isBit","CHAR_1","isOctit","CHAR_7","isAlphaNumQuoteHyphen","CHAR_Z","CHAR_z","CHAR_APOS","CHAR_QUOT","CHAR_LOWBAR","CHAR_HYPHEN","isAlphaNumHyphen","hasKey","hasOwnProperty","call","defineProperty","descriptor","InlineTable","Object","defineProperties","_type","value","INLINE_TABLE","isInlineTable","Table","TABLE","_declared","writable","isTable","InlineList","INLINE_LIST","_contentType","isInlineList","List","LIST","isList","Integer","is","BigInt","Number","isSafeInteger","BoxedBigInt","isNaN","INTEGER","_inspect","isInteger","Float","FLOAT","isFloat","tomlType","Date","makeParserClass","constructor","ctx","obj","atEndOfWord","char","CHAR_NUM","CTRL_I","CHAR_SP","atEndOfLine","END","CTRL_J","CTRL_M","parseStart","CHAR_LSQB","parseTableOrList","parseComment","callNow","parseAssignStatement","error","TomlError","parseWhitespaceToEOL","goto","return","parseAssign","recordAssignStatement","key","pop","valueOf","parseKeyword","recordAssignKeyword","state","resultTable","push","parseAssignKeywordPreDot","CHAR_PERIOD","next","parseAssignKeywordPostDot","parseAssignEqual","CHAR_EQUALS","parseAssignPreValue","parseValue","recordAssignValue","returnNow","nextChar","parseTable","parseList","parseTableNext","parseTableMore","CHAR_RSQB","parseListNext","parseListMore","parseListEnd","parseDoubleString","parseSingleString","CHAR_PLUS","parseNumberSign","CHAR_i","parseInf","CHAR_n","parseNan","parseNumberOrDateTime","CHAR_t","parseBoolean","parseInlineList","recordValue","CHAR_LCUB","parseInlineTable","parseInf2","buf","parseNan2","NaN","parseBasicString","parseLiteralString","parseBareKey","consume","parseLiteralMultiStringMaybe","CHAR_DEL","CTRL_CHAR_BOUNDARY","errorControlCharInString","parseLiteralMultiString","parseLiteralMultiStringContent","parseLiteralMultiEnd","parseLiteralMultiEnd2","parseMultiStringMaybe","CHAR_BSOL","parseEscape","recordEscapeReplacement","parseMultiString","parseMultiStringContent","parseMultiEscape","recordMultiEscapeReplacement","parseMultiEnd","parseMultiEnd2","parseMultiTrim","parsePreMultiTrim","escapes","CHAR_u","parseSmallUnicode","parseUnicodeReturn","CHAR_U","parseLargeUnicode","parseInt","SURROGATE_FIRST","SURROGATE_LAST","String","fromCodePoint","wrap","parseMaybeSignedInfOrNan","parseNoUnder","parseNumberIntegerStart","parseNumberIntegerExponentOrDecimal","parseNumberInteger","parseNumberFloat","CHAR_E","CHAR_e","parseNumberExponentSign","parseNoUnderHexOctBinLiteral","parseNumberExponent","parseNumberBaseOrDateTime","parseNumberOrDateTimeOnly","parseDateTime","CHAR_COLON","parseOnlyTimeHour","parseDateTimeOnly","CHAR_b","parseIntegerBin","CHAR_o","parseIntegerOct","CHAR_x","parseIntegerHex","result","parseDateMonth","parseDateDay","CHAR_T","parseStartTimeHour","$51zGI","parseTimeHour","parseTimeMin","parseTimeSec","parseTimeZoneOrFraction","parseOnlyTimeMin","parseOnlyTimeSec","parseOnlyTimeFractionMaybe","$8bnbQ","parseOnlyTimeFraction","parseDateTimeFraction","parseTimeZoneHour","$4HTEH","$biA0C","parseTimeZoneSep","parseTimeZoneMin","parseTrue_r","parseFalse_a","CHAR_r","parseTrue_u","parseTrue_e","parseFalse_l","CHAR_l","parseFalse_s","CHAR_s","parseFalse_e","resultArr","recordInlineListValue","parseInlineListNext","CHAR_COMMA","CHAR_RCUB","recordInlineTableValue","parseInlineTableNext","module","name","captureStackTrace","fromTOML","wrapped","code","Symbol","prototype","configurable","enumerable","utilInspect","eval","custom","_","asIntN","parser","returned","pos","col","line","stack","_buf","ii","runOne","codePointAt","haveBuffer","JSON","stringify","TypeError","isFloating","toISOString","getUTCFullYear","getUTCMonth","getUTCDate","getUTCHours","getUTCMinutes","getUTCSeconds","getUTCMilliseconds","isDate","isTime","Math","min","max","slice","setImmediate","blocksize","Promise","setEncoding","read","once","$kC5q1$stream","Transform","objectMode","transform","emit","flush","toJSON","keys","filter","Array","isArray","forEach","I","map","T","E","O","P","every","N","A","C","findFromManifest","getManifestFromRepo","cwd","listeners","stderr","exec","download_url","downloadTool","extractZip","extractTar","HTTPError","httpStatusCode","getInput","L","W","default","M","mkdirP","$","R","RetryHelper","execute","B","U","F","HttpClient","J","allowRetries","authorization","get","statusCode","statusMessage","q","promisify","H","pipeline","createWriteStream","rmRF","$kC5q1$assert","ok","G","chdir","isDebug","D","which","ignoreReturnCode","toUpperCase","Z","unshift","k","clean","V","arch","statSync","isDirectory","readdirSync","cp","recursive","isFile","getJson","tree","path","url","accept","readBody","j","_findMatch","valid","sort","gt","satisfies","RUNNER_TEMP","from","Set","$kC5q1$util","setPrototypeOf","new","target","extract7z","extractXar","cacheDir","cacheFile","findAllVersions","isExplicitVersion","evaluateVersions","stable","platform_version","_getOsVersion","assign","$kC5q1$child_process","execSync","_readLinuxVersionFile","getProxyUrl","URL","href","protocol","OK","MultipleChoices","MovedPermanently","ResourceMoved","SeeOther","NotModified","UseProxy","SwitchProxy","TemporaryRedirect","PermanentRedirect","BadRequest","Unauthorized","PaymentRequired","Forbidden","NotFound","MethodNotAllowed","NotAcceptable","ProxyAuthenticationRequired","RequestTimeout","Conflict","Gone","TooManyRequests","InternalServerError","NotImplemented","BadGateway","ServiceUnavailable","GatewayTimeout","HttpCodes","Accept","ContentType","Headers","ApplicationJson","MediaTypes","HttpClientError","alloc","on","concat","HttpClientResponse","isHttps","_ignoreSslError","_allowRedirects","_allowRedirectDowngrade","_maxRedirects","_allowRetries","_maxRetries","_keepAlive","_disposed","userAgent","handlers","requestOptions","ignoreSslError","_socketTimeout","socketTimeout","allowRedirects","allowRedirectDowngrade","maxRedirects","keepAlive","maxRetries","options","request","del","post","patch","put","head","sendStream","_getExistingOrDefaultHeader","_processResponse","postJson","putJson","patchJson","_prepareRequest","indexOf","requestRaw","canHandleAuthentication","handleAuthentication","headers","location","hostname","toLowerCase","_performExponentialBackoff","dispose","_agent","destroy","requestRawWithCallback","byteLength","httpModule","setTimeout","end","write","pipe","getAgent","_getAgent","parsedUrl","$kC5q1$https","$kC5q1$http","host","port","pathname","search","method","_mergeHeaders","agent","prepareRequest","reduce","_proxyAgent","maxSockets","globalAgent","proxy","username","password","proxyAuth","httpsOverHttps","httpsOverHttp","httpOverHttps","httpOverHttp","Agent","rejectUnauthorized","pow","dateTimeDeserializer","deserializeDates","https_proxy","HTTPS_PROXY","http_proxy","HTTP_PROXY","no_proxy","NO_PROXY","some","checkBypass","maxAttempts","minSeconds","floor","maxSeconds","getSleepAmount","sleep","random","getAvailablePyPyVersions","findRelease","pythonVersion","pypyVersion","installDir","installPyPy","getPyPyBinaryPath","getPyPyVersionFromPath","readExactPyPyVersionFile","splice","pypyVersionToSemantic","validateVersion","validatePythonVersionFormatForPyPy","WINDOWS_ARCHS","foundAsset","isNightlyKeyword","writeExactPyPyVersionFile","coerce","createSymlinkInFolder","includePrerelease","python_version","pypy_version","compare","WINDOWS_PLATFORMS"],"sources":["../../","../../src/python/actions_python.ts","../../node_modules/.pnpm/github.com+aminya+setup-python@a783db655c6e40317e2c0c96f9d162d9c9f4a751/node_modules/setup-python/src/find-python.ts","../../node_modules/.pnpm/github.com+aminya+setup-python@a783db655c6e40317e2c0c96f9d162d9c9f4a751/node_modules/setup-python/src/utils.ts","../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/toml.js","../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/parse.js","../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/parse-string.js","../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/lib/toml-parser.js","../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/lib/parser.js","../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/lib/create-datetime.js","../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/lib/create-datetime-float.js","../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/lib/format-num.js","../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/lib/create-date.js","../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/lib/create-time.js","../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/parse-pretty-error.js","../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/parse-async.js","../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/parse-stream.js","../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/stringify.js","../../node_modules/.pnpm/github.com+aminya+setup-python@a783db655c6e40317e2c0c96f9d162d9c9f4a751/node_modules/setup-python/src/install-python.ts","../../node_modules/.pnpm/@actions+tool-cache@1.7.2/node_modules/@actions/tool-cache/lib/tool-cache.js","../../node_modules/.pnpm/@actions+tool-cache@1.7.2/node_modules/@actions/tool-cache/src/tool-cache.ts","../../node_modules/.pnpm/@actions+tool-cache@1.7.2/node_modules/@actions/tool-cache/lib/manifest.js","../../node_modules/.pnpm/@actions+tool-cache@1.7.2/node_modules/@actions/tool-cache/src/manifest.ts","../../node_modules/.pnpm/@actions+http-client@1.0.11/node_modules/@actions/http-client/index.js","../../node_modules/.pnpm/@actions+http-client@1.0.11/node_modules/@actions/http-client/proxy.js","../../node_modules/.pnpm/@actions+tool-cache@1.7.2/node_modules/@actions/tool-cache/lib/retry-helper.js","../../node_modules/.pnpm/@actions+tool-cache@1.7.2/node_modules/@actions/tool-cache/src/retry-helper.ts","../../node_modules/.pnpm/github.com+aminya+setup-python@a783db655c6e40317e2c0c96f9d162d9c9f4a751/node_modules/setup-python/src/find-pypy.ts","../../node_modules/.pnpm/github.com+aminya+setup-python@a783db655c6e40317e2c0c96f9d162d9c9f4a751/node_modules/setup-python/src/install-pypy.ts"],"sourcesContent":["var $kC5q1$path = require(\"path\");\nvar $kC5q1$os = require(\"os\");\nvar $kC5q1$fs = require(\"fs\");\nvar $kC5q1$stream = require(\"stream\");\nvar $kC5q1$util = require(\"util\");\nvar $kC5q1$assert = require(\"assert\");\nvar $kC5q1$child_process = require(\"child_process\");\nvar $kC5q1$http = require(\"http\");\nvar $kC5q1$https = require(\"https\");\n\nfunction $parcel$export(e, n, v, s) {\n Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});\n}\nfunction $parcel$interopDefault(a) {\n return a && a.__esModule ? a.default : a;\n}\nvar $parcel$global =\ntypeof globalThis !== 'undefined'\n ? globalThis\n : typeof self !== 'undefined'\n ? self\n : typeof window !== 'undefined'\n ? window\n : typeof global !== 'undefined'\n ? global\n : {};\nvar parcelRequire = $parcel$global[\"parcelRequire810d\"];\nparcelRequire.register(\"8L9T2\", function(module, exports) {\n\n$parcel$export(module.exports, \"setupActionsPython\", () => $00d4fba27c89d70b$export$5655ebf4048b68d5);\n\nvar $g8XlV = parcelRequire(\"g8XlV\");\n\nvar $49ncA = parcelRequire(\"49ncA\");\n\nvar $hHq4F = parcelRequire(\"hHq4F\");\n\nvar $2heqc = parcelRequire(\"2heqc\");\n\nvar $A8hFE = parcelRequire(\"A8hFE\");\n\nvar $cLprm = parcelRequire(\"cLprm\");\n\nvar $42Mcf = parcelRequire(\"42Mcf\");\n\nvar $3WkGD = parcelRequire(\"3WkGD\");\n\nvar $00d4fba27c89d70b$var$$parcel$__dirname = $kC5q1$path.resolve(__dirname, \"../../src/python\");\nfunction $00d4fba27c89d70b$var$isPyPyVersion(versionSpec) {\n return versionSpec.startsWith(\"pypy\");\n}\nconst $00d4fba27c89d70b$var$checkLatest = false;\nasync function $00d4fba27c89d70b$export$5655ebf4048b68d5(version, _setupDir, arch) {\n var _process_env_AGENT_TOOLSDIRECTORY;\n if (0, $42Mcf.IS_MAC) process.env.AGENT_TOOLSDIRECTORY = \"/Users/runner/hostedtoolcache\";\n const agent_toolsdirectory = (_process_env_AGENT_TOOLSDIRECTORY = process.env.AGENT_TOOLSDIRECTORY) === null || _process_env_AGENT_TOOLSDIRECTORY === void 0 ? void 0 : _process_env_AGENT_TOOLSDIRECTORY.trim();\n if (typeof agent_toolsdirectory === \"string\" && agent_toolsdirectory !== \"\") process.env.RUNNER_TOOL_CACHE = process.env.AGENT_TOOLSDIRECTORY;\n (0, $2heqc.debug)(`Python is expected to be installed into ${process.env.RUNNER_TOOL_CACHE}`);\n if (version) {\n let pythonVersion;\n if ($00d4fba27c89d70b$var$isPyPyVersion(version)) {\n const installed = await (0, $49ncA.findPyPyVersion)(version, arch, true, $00d4fba27c89d70b$var$checkLatest, false);\n pythonVersion = `${installed.resolvedPyPyVersion}-${installed.resolvedPythonVersion}`;\n (0, $hHq4F.info)(`Successfully set up PyPy ${installed.resolvedPyPyVersion} with Python (${installed.resolvedPythonVersion})`);\n } else {\n const installed = await (0, $g8XlV.useCpythonVersion)(version, arch, true, $00d4fba27c89d70b$var$checkLatest, false);\n pythonVersion = installed.version;\n (0, $hHq4F.info)(`Successfully set up ${installed.impl} (${pythonVersion})`);\n }\n // const cache = false\n // if (cache) {\n // const { cacheDependencies } = await import(\"setup-python/src/cache-dependencies\")\n // await cacheDependencies(\"pip\", pythonVersion)\n // }\n }\n if (0, $cLprm.GITHUB_ACTIONS) await $00d4fba27c89d70b$var$addPythonLoggingMatcher();\n return undefined;\n}\nasync function $00d4fba27c89d70b$var$addPythonLoggingMatcher() {\n const matcherPath = (0, $A8hFE.join)($00d4fba27c89d70b$var$$parcel$__dirname, \"python_matcher.json\");\n if (!await (0, $3WkGD.pathExists)(matcherPath)) return (0, $hHq4F.warning)(\"the python_matcher.json file does not exist in the same folder as setup-cpp.js\");\n (0, $hHq4F.info)(`::add-matcher::${matcherPath}`);\n}\n\n});\nparcelRequire.register(\"g8XlV\", function(module, exports) {\n\n$parcel$export(module.exports, \"useCpythonVersion\", () => $d31f6b832c6d18d2$export$c90655100676e173);\n\n\n\nvar $42Mcf = parcelRequire(\"42Mcf\");\n\nvar $lqN0l = parcelRequire(\"lqN0l\");\n\nvar $xjYT4 = parcelRequire(\"xjYT4\");\n\nvar $2heqc = parcelRequire(\"2heqc\");\n\nvar $9aCWy = parcelRequire(\"9aCWy\");\n// Python has \"scripts\" or \"bin\" directories where command-line tools that come with packages are installed.\n// This is where pip is, along with anything that pip installs.\n// There is a separate directory for `pip install --user`.\n//\n// For reference, these directories are as follows:\n// macOS / Linux:\n// /bin (by default /usr/local/bin, but not on hosted agents -- see the `else`)\n// (--user) ~/.local/bin\n// Windows:\n// \\Scripts\n// (--user) %APPDATA%\\Python\\PythonXY\\Scripts\n// See https://docs.python.org/3/library/sysconfig.html\nfunction $d31f6b832c6d18d2$var$binDir(installDir) {\n if (0, $42Mcf.IS_WINDOWS) return $kC5q1$path.join(installDir, \"Scripts\");\n else return $kC5q1$path.join(installDir, \"bin\");\n}\nasync function $d31f6b832c6d18d2$export$c90655100676e173(version, architecture, updateEnvironment, checkLatest, allowPreReleases) {\n let manifest = null;\n const desugaredVersionSpec = $d31f6b832c6d18d2$var$desugarDevVersion(version);\n let semanticVersionSpec = $d31f6b832c6d18d2$export$2630b06843feee21(desugaredVersionSpec, allowPreReleases);\n $2heqc.debug(`Semantic version spec of ${version} is ${semanticVersionSpec}`);\n if (checkLatest) {\n var _ref;\n manifest = await $xjYT4.getManifest();\n const resolvedVersion = (_ref = await $xjYT4.findReleaseFromManifest(semanticVersionSpec, architecture, manifest)) === null || _ref === void 0 ? void 0 : _ref.version;\n if (resolvedVersion) {\n semanticVersionSpec = resolvedVersion;\n $2heqc.info(`Resolved as '${semanticVersionSpec}'`);\n } else $2heqc.info(`Failed to resolve version ${semanticVersionSpec} from manifest`);\n }\n let installDir = $9aCWy.find(\"Python\", semanticVersionSpec, architecture);\n if (!installDir) {\n $2heqc.info(`Version ${semanticVersionSpec} was not found in the local cache`);\n const foundRelease = await $xjYT4.findReleaseFromManifest(semanticVersionSpec, architecture, manifest);\n if (foundRelease && foundRelease.files && foundRelease.files.length > 0) {\n $2heqc.info(`Version ${semanticVersionSpec} is available for downloading`);\n await $xjYT4.installCpythonFromRelease(foundRelease);\n installDir = $9aCWy.find(\"Python\", semanticVersionSpec, architecture);\n }\n }\n if (!installDir) {\n const osInfo = await (0, $42Mcf.getOSInfo)();\n throw new Error([\n `The version '${version}' with architecture '${architecture}' was not found for ${osInfo ? `${osInfo.osName} ${osInfo.osVersion}` : \"this operating system\"}.`,\n `The list of all available versions can be found here: ${$xjYT4.MANIFEST_URL}`\n ].join($kC5q1$os.EOL));\n }\n const _binDir = $d31f6b832c6d18d2$var$binDir(installDir);\n const binaryExtension = (0, $42Mcf.IS_WINDOWS) ? \".exe\" : \"\";\n const pythonPath = $kC5q1$path.join((0, $42Mcf.IS_WINDOWS) ? installDir : _binDir, `python${binaryExtension}`);\n if (updateEnvironment) {\n $2heqc.exportVariable(\"pythonLocation\", installDir);\n $2heqc.exportVariable(\"PKG_CONFIG_PATH\", installDir + \"/lib/pkgconfig\");\n $2heqc.exportVariable(\"pythonLocation\", installDir);\n // https://cmake.org/cmake/help/latest/module/FindPython.html#module:FindPython\n $2heqc.exportVariable(\"Python_ROOT_DIR\", installDir);\n // https://cmake.org/cmake/help/latest/module/FindPython2.html#module:FindPython2\n $2heqc.exportVariable(\"Python2_ROOT_DIR\", installDir);\n // https://cmake.org/cmake/help/latest/module/FindPython3.html#module:FindPython3\n $2heqc.exportVariable(\"Python3_ROOT_DIR\", installDir);\n $2heqc.exportVariable(\"PKG_CONFIG_PATH\", installDir + \"/lib/pkgconfig\");\n if (0, $42Mcf.IS_LINUX) {\n const libPath = process.env.LD_LIBRARY_PATH ? `:${process.env.LD_LIBRARY_PATH}` : \"\";\n const pyLibPath = $kC5q1$path.join(installDir, \"lib\");\n if (!libPath.split(\":\").includes(pyLibPath)) $2heqc.exportVariable(\"LD_LIBRARY_PATH\", pyLibPath + libPath);\n }\n $2heqc.addPath(installDir);\n $2heqc.addPath(_binDir);\n if (0, $42Mcf.IS_WINDOWS) {\n // Add --user directory\n // `installDir` from tool cache should look like $RUNNER_TOOL_CACHE/Python//x64/\n // So if `findLocalTool` succeeded above, we must have a conformant `installDir`\n const version = $kC5q1$path.basename($kC5q1$path.dirname(installDir));\n const major = $lqN0l.major(version);\n const minor = $lqN0l.minor(version);\n const userScriptsDir = $kC5q1$path.join(process.env[\"APPDATA\"] || \"\", \"Python\", `Python${major}${minor}`, \"Scripts\");\n $2heqc.addPath(userScriptsDir);\n }\n // On Linux and macOS, pip will create the --user directory and add it to PATH as needed.\n }\n const installed = $d31f6b832c6d18d2$var$versionFromPath(installDir);\n $2heqc.setOutput(\"python-version\", installed);\n $2heqc.setOutput(\"python-path\", pythonPath);\n return {\n impl: \"CPython\",\n version: installed\n };\n}\n/** Convert versions like `3.8-dev` to a version like `~3.8.0-0`. */ function $d31f6b832c6d18d2$var$desugarDevVersion(versionSpec) {\n const devVersion = /^(\\d+)\\.(\\d+)-dev$/;\n return versionSpec.replace(devVersion, \"~$1.$2.0-0\");\n}\n/** Extracts python version from install path from hosted tool cache as described in README.md */ function $d31f6b832c6d18d2$var$versionFromPath(installDir) {\n const parts = installDir.split($kC5q1$path.sep);\n const idx = parts.findIndex((part)=>part === \"PyPy\" || part === \"Python\");\n return parts[idx + 1] || \"\";\n}\nfunction $d31f6b832c6d18d2$export$2630b06843feee21(versionSpec, allowPreReleases) {\n const prereleaseVersion = /(\\d+\\.\\d+\\.\\d+)((?:a|b|rc)\\d*)/g;\n const majorMinor = /^(\\d+)\\.(\\d+)$/;\n let result = versionSpec.replace(prereleaseVersion, \"$1-$2\");\n if (allowPreReleases) result = result.replace(majorMinor, \"~$1.$2.0-0\");\n return result;\n}\n\n});\nparcelRequire.register(\"42Mcf\", function(module, exports) {\n\n$parcel$export(module.exports, \"IS_WINDOWS\", () => $f32cf597f4b53011$export$82633ee808573685);\n$parcel$export(module.exports, \"IS_LINUX\", () => $f32cf597f4b53011$export$25e95d65b6faeb9a);\n$parcel$export(module.exports, \"IS_MAC\", () => $f32cf597f4b53011$export$ff23e6b4c4401383);\n$parcel$export(module.exports, \"WINDOWS_ARCHS\", () => $f32cf597f4b53011$export$175751bac16078cf);\n$parcel$export(module.exports, \"WINDOWS_PLATFORMS\", () => $f32cf597f4b53011$export$da6ba390a22488d5);\n$parcel$export(module.exports, \"createSymlinkInFolder\", () => $f32cf597f4b53011$export$b0a6cbd0a3e3c63a);\n$parcel$export(module.exports, \"validateVersion\", () => $f32cf597f4b53011$export$7880c8f0bb8a6afd);\n$parcel$export(module.exports, \"isNightlyKeyword\", () => $f32cf597f4b53011$export$ea46fc8abcf9f209);\n$parcel$export(module.exports, \"getPyPyVersionFromPath\", () => $f32cf597f4b53011$export$8a23ea91582cecbc);\n$parcel$export(module.exports, \"readExactPyPyVersionFile\", () => $f32cf597f4b53011$export$15e4ce4ad93c8c8a);\n$parcel$export(module.exports, \"writeExactPyPyVersionFile\", () => $f32cf597f4b53011$export$8fb7815f538587a8);\n$parcel$export(module.exports, \"validatePythonVersionFormatForPyPy\", () => $f32cf597f4b53011$export$3dc910628be7a364);\n$parcel$export(module.exports, \"getOSInfo\", () => $f32cf597f4b53011$export$471d7e4c229dedf);\n/* eslint no-unsafe-finally: \"off\" */ \nvar $2heqc = parcelRequire(\"2heqc\");\n\n\n\nvar $lqN0l = parcelRequire(\"lqN0l\");\n\nvar $gQjQu = parcelRequire(\"gQjQu\");\n\nvar $2mVwa = parcelRequire(\"2mVwa\");\nconst $f32cf597f4b53011$export$82633ee808573685 = process.platform === \"win32\";\nconst $f32cf597f4b53011$export$25e95d65b6faeb9a = process.platform === \"linux\";\nconst $f32cf597f4b53011$export$ff23e6b4c4401383 = process.platform === \"darwin\";\nconst $f32cf597f4b53011$export$175751bac16078cf = [\n \"x86\",\n \"x64\"\n];\nconst $f32cf597f4b53011$export$da6ba390a22488d5 = [\n \"win32\",\n \"win64\"\n];\nconst $f32cf597f4b53011$var$PYPY_VERSION_FILE = \"PYPY_VERSION\";\nfunction $f32cf597f4b53011$export$b0a6cbd0a3e3c63a(folderPath, sourceName, targetName, setExecutable = false) {\n const sourcePath = $kC5q1$path.join(folderPath, sourceName);\n const targetPath = $kC5q1$path.join(folderPath, targetName);\n if ((0, ($parcel$interopDefault($kC5q1$fs))).existsSync(targetPath)) return;\n (0, ($parcel$interopDefault($kC5q1$fs))).symlinkSync(sourcePath, targetPath);\n if (!$f32cf597f4b53011$export$82633ee808573685 && setExecutable) (0, ($parcel$interopDefault($kC5q1$fs))).chmodSync(targetPath, \"755\");\n}\nfunction $f32cf597f4b53011$export$7880c8f0bb8a6afd(version) {\n return $f32cf597f4b53011$export$ea46fc8abcf9f209(version) || Boolean($lqN0l.validRange(version));\n}\nfunction $f32cf597f4b53011$export$ea46fc8abcf9f209(pypyVersion) {\n return pypyVersion === \"nightly\";\n}\nfunction $f32cf597f4b53011$export$8a23ea91582cecbc(installDir) {\n return $kC5q1$path.basename($kC5q1$path.dirname(installDir));\n}\nfunction $f32cf597f4b53011$export$15e4ce4ad93c8c8a(installDir) {\n let pypyVersion = \"\";\n const fileVersion = $kC5q1$path.join(installDir, $f32cf597f4b53011$var$PYPY_VERSION_FILE);\n if ((0, ($parcel$interopDefault($kC5q1$fs))).existsSync(fileVersion)) pypyVersion = (0, ($parcel$interopDefault($kC5q1$fs))).readFileSync(fileVersion).toString().trim();\n return pypyVersion;\n}\nfunction $f32cf597f4b53011$export$8fb7815f538587a8(installDir, resolvedPyPyVersion) {\n const pypyFilePath = $kC5q1$path.join(installDir, $f32cf597f4b53011$var$PYPY_VERSION_FILE);\n (0, ($parcel$interopDefault($kC5q1$fs))).writeFileSync(pypyFilePath, resolvedPyPyVersion);\n}\nfunction $f32cf597f4b53011$export$3dc910628be7a364(version) {\n const re = /^\\d+\\.\\d+$/;\n return re.test(version);\n}\nfunction $f32cf597f4b53011$export$ebd6064652549ce9(message) {\n const warningPrefix = \"[warning]\";\n $2heqc.info(`${warningPrefix}${message}`);\n}\nasync function $f32cf597f4b53011$var$getWindowsInfo() {\n const { stdout: stdout } = await $2mVwa.getExecOutput('powershell -command \"(Get-CimInstance -ClassName Win32_OperatingSystem).Caption\"', undefined, {\n silent: true\n });\n const windowsVersion = stdout.trim().split(\" \")[3];\n return {\n osName: \"Windows\",\n osVersion: windowsVersion\n };\n}\nasync function $f32cf597f4b53011$var$getMacOSInfo() {\n const { stdout: stdout } = await $2mVwa.getExecOutput(\"sw_vers\", [\n \"-productVersion\"\n ], {\n silent: true\n });\n const macOSVersion = stdout.trim();\n return {\n osName: \"macOS\",\n osVersion: macOSVersion\n };\n}\nasync function $f32cf597f4b53011$export$734019fa9b4b8da() {\n const { stdout: stdout } = await $2mVwa.getExecOutput(\"lsb_release\", [\n \"-i\",\n \"-r\",\n \"-s\"\n ], {\n silent: true\n });\n const [osName, osVersion] = stdout.trim().split(\"\\n\");\n $2heqc.debug(`OS Name: ${osName}, Version: ${osVersion}`);\n return {\n osName: osName,\n osVersion: osVersion\n };\n}\nasync function $f32cf597f4b53011$export$471d7e4c229dedf() {\n let osInfo;\n try {\n if ($f32cf597f4b53011$export$82633ee808573685) osInfo = await $f32cf597f4b53011$var$getWindowsInfo();\n else if ($f32cf597f4b53011$export$25e95d65b6faeb9a) osInfo = await $f32cf597f4b53011$export$734019fa9b4b8da();\n else if ($f32cf597f4b53011$export$ff23e6b4c4401383) osInfo = await $f32cf597f4b53011$var$getMacOSInfo();\n } catch (err) {\n const error = err;\n $2heqc.debug(error.message);\n } finally{\n return osInfo;\n }\n}\n/**\n * Extract a value from an object by following the keys path provided.\n * If the value is present, it is returned. Otherwise undefined is returned.\n */ function $f32cf597f4b53011$var$extractValue(obj, keys) {\n if (keys.length > 0) {\n const value = obj[keys[0]];\n if (keys.length > 1 && value !== undefined) return $f32cf597f4b53011$var$extractValue(value, keys.slice(1));\n else return value;\n } else return;\n}\nfunction $f32cf597f4b53011$export$62b63db2b7d00b3a(versionFile) {\n $2heqc.debug(`Trying to resolve version form ${versionFile}`);\n const pyprojectFile = (0, ($parcel$interopDefault($kC5q1$fs))).readFileSync(versionFile, \"utf8\");\n const pyprojectConfig = $gQjQu.parse(pyprojectFile);\n let keys = [];\n if (\"project\" in pyprojectConfig) // standard project metadata (PEP 621)\n keys = [\n \"project\",\n \"requires-python\"\n ];\n else // python poetry\n keys = [\n \"tool\",\n \"poetry\",\n \"dependencies\",\n \"python\"\n ];\n const versions = [];\n const version = $f32cf597f4b53011$var$extractValue(pyprojectConfig, keys);\n if (version !== undefined) versions.push(version);\n $2heqc.info(`Extracted ${versions} from ${versionFile}`);\n const rawVersions = Array.from(versions, (version)=>version.split(\",\").join(\" \"));\n const validatedVersions = rawVersions.map((item)=>$lqN0l.validRange(item, true)).filter((versionRange, index)=>{\n if (!versionRange) $2heqc.debug(`The version ${rawVersions[index]} is not valid SemVer range`);\n return !!versionRange;\n });\n return validatedVersions;\n}\nfunction $f32cf597f4b53011$export$6bdea68547837ebb(versionFile) {\n $2heqc.debug(`Trying to resolve version form ${versionFile}`);\n const version = (0, ($parcel$interopDefault($kC5q1$fs))).readFileSync(versionFile, \"utf8\");\n $2heqc.info(`Resolved ${versionFile} as ${version}`);\n return [\n version\n ];\n}\nfunction $f32cf597f4b53011$export$7ffda0a4baa8880a(versionFile) {\n if (versionFile.endsWith(\".toml\")) return $f32cf597f4b53011$export$62b63db2b7d00b3a(versionFile);\n else return $f32cf597f4b53011$export$6bdea68547837ebb(versionFile);\n}\n\n});\nparcelRequire.register(\"gQjQu\", function(module, exports) {\n\n$parcel$export(module.exports, \"parse\", () => $c430e599746bb2ec$export$98e6a39c04603d36, (v) => $c430e599746bb2ec$export$98e6a39c04603d36 = v);\nvar $c430e599746bb2ec$export$98e6a39c04603d36;\nvar $c430e599746bb2ec$export$fac44ee5b035f737;\n\"use strict\";\n\n$c430e599746bb2ec$export$98e6a39c04603d36 = (parcelRequire(\"8eMJt\"));\n\n$c430e599746bb2ec$export$fac44ee5b035f737 = (parcelRequire(\"bhUE6\"));\n\n});\nparcelRequire.register(\"8eMJt\", function(module, exports) {\n\"use strict\";\n\nmodule.exports = (parcelRequire(\"e1aDm\"));\n\nmodule.exports.async = (parcelRequire(\"2S5Eu\"));\n\nmodule.exports.stream = (parcelRequire(\"9JW1y\"));\n\nmodule.exports.prettyError = (parcelRequire(\"gBYD8\"));\n\n});\nparcelRequire.register(\"e1aDm\", function(module, exports) {\n\"use strict\";\nmodule.exports = $a34968544c3ff6be$var$parseString;\n\nvar $3XGwc = parcelRequire(\"3XGwc\");\n\nvar $gBYD8 = parcelRequire(\"gBYD8\");\nfunction $a34968544c3ff6be$var$parseString(str) {\n if ($parcel$global.Buffer && $parcel$global.Buffer.isBuffer(str)) str = str.toString(\"utf8\");\n const parser = new $3XGwc();\n try {\n parser.parse(str);\n return parser.finish();\n } catch (err) {\n throw $gBYD8(err, str);\n }\n}\n\n});\nparcelRequire.register(\"3XGwc\", function(module, exports) {\n\"use strict\";\n\n/* eslint-disable no-new-wrappers, no-eval, camelcase, operator-linebreak */ module.exports = makeParserClass((parcelRequire(\"fd397\")));\nmodule.exports.makeParserClass = makeParserClass;\nclass TomlError extends Error {\n constructor(msg11){\n super(msg11);\n this.name = \"TomlError\";\n /* istanbul ignore next */ if (Error.captureStackTrace) Error.captureStackTrace(this, TomlError);\n this.fromTOML = true;\n this.wrapped = null;\n }\n}\nTomlError.wrap = (err11)=>{\n const terr11 = new TomlError(err11.message);\n terr11.code = err11.code;\n terr11.wrapped = err11;\n return terr11;\n};\nmodule.exports.TomlError = TomlError;\n\nvar $4HTEH = parcelRequire(\"4HTEH\");\n\nvar $biA0C = parcelRequire(\"biA0C\");\n\nvar $51zGI = parcelRequire(\"51zGI\");\n\nvar $8bnbQ = parcelRequire(\"8bnbQ\");\nconst CTRL_I = 0x09;\nconst CTRL_J = 0x0A;\nconst CTRL_M = 0x0D;\nconst CTRL_CHAR_BOUNDARY = 0x1F // the last non-character in the latin1 region of unicode, except DEL\n;\nconst CHAR_SP = 0x20;\nconst CHAR_QUOT = 0x22;\nconst CHAR_NUM = 0x23;\nconst CHAR_APOS = 0x27;\nconst CHAR_PLUS = 0x2B;\nconst CHAR_COMMA = 0x2C;\nconst CHAR_HYPHEN = 0x2D;\nconst CHAR_PERIOD = 0x2E;\nconst CHAR_0 = 0x30;\nconst CHAR_1 = 0x31;\nconst CHAR_7 = 0x37;\nconst CHAR_9 = 0x39;\nconst CHAR_COLON = 0x3A;\nconst CHAR_EQUALS = 0x3D;\nconst CHAR_A = 0x41;\nconst CHAR_E = 0x45;\nconst CHAR_F = 0x46;\nconst CHAR_T = 0x54;\nconst CHAR_U = 0x55;\nconst CHAR_Z = 0x5A;\nconst CHAR_LOWBAR = 0x5F;\nconst CHAR_a = 0x61;\nconst CHAR_b = 0x62;\nconst CHAR_e = 0x65;\nconst CHAR_f = 0x66;\nconst CHAR_i = 0x69;\nconst CHAR_l = 0x6C;\nconst CHAR_n = 0x6E;\nconst CHAR_o = 0x6F;\nconst CHAR_r = 0x72;\nconst CHAR_s = 0x73;\nconst CHAR_t = 0x74;\nconst CHAR_u = 0x75;\nconst CHAR_x = 0x78;\nconst CHAR_z = 0x7A;\nconst CHAR_LCUB = 0x7B;\nconst CHAR_RCUB = 0x7D;\nconst CHAR_LSQB = 0x5B;\nconst CHAR_BSOL = 0x5C;\nconst CHAR_RSQB = 0x5D;\nconst CHAR_DEL = 0x7F;\nconst SURROGATE_FIRST = 0xD800;\nconst SURROGATE_LAST = 0xDFFF;\nconst escapes = {\n [CHAR_b]: \"\\b\",\n [CHAR_t]: \"\t\",\n [CHAR_n]: \"\\n\",\n [CHAR_f]: \"\\f\",\n [CHAR_r]: \"\\r\",\n [CHAR_QUOT]: '\"',\n [CHAR_BSOL]: \"\\\\\"\n};\nfunction isDigit(cp11) {\n return cp11 >= CHAR_0 && cp11 <= CHAR_9;\n}\nfunction isHexit(cp11) {\n return cp11 >= CHAR_A && cp11 <= CHAR_F || cp11 >= CHAR_a && cp11 <= CHAR_f || cp11 >= CHAR_0 && cp11 <= CHAR_9;\n}\nfunction isBit(cp11) {\n return cp11 === CHAR_1 || cp11 === CHAR_0;\n}\nfunction isOctit(cp11) {\n return cp11 >= CHAR_0 && cp11 <= CHAR_7;\n}\nfunction isAlphaNumQuoteHyphen(cp11) {\n return cp11 >= CHAR_A && cp11 <= CHAR_Z || cp11 >= CHAR_a && cp11 <= CHAR_z || cp11 >= CHAR_0 && cp11 <= CHAR_9 || cp11 === CHAR_APOS || cp11 === CHAR_QUOT || cp11 === CHAR_LOWBAR || cp11 === CHAR_HYPHEN;\n}\nfunction isAlphaNumHyphen(cp11) {\n return cp11 >= CHAR_A && cp11 <= CHAR_Z || cp11 >= CHAR_a && cp11 <= CHAR_z || cp11 >= CHAR_0 && cp11 <= CHAR_9 || cp11 === CHAR_LOWBAR || cp11 === CHAR_HYPHEN;\n}\nconst _type = Symbol(\"type\");\nconst _declared = Symbol(\"declared\");\nconst hasOwnProperty = Object.prototype.hasOwnProperty;\nconst defineProperty = Object.defineProperty;\nconst descriptor = {\n configurable: true,\n enumerable: true,\n writable: true,\n value: undefined\n};\nfunction hasKey(obj11, key11) {\n if (hasOwnProperty.call(obj11, key11)) return true;\n if (key11 === \"__proto__\") defineProperty(obj11, \"__proto__\", descriptor);\n return false;\n}\nconst INLINE_TABLE = Symbol(\"inline-table\");\nfunction InlineTable() {\n return Object.defineProperties({}, {\n [_type]: {\n value: INLINE_TABLE\n }\n });\n}\nfunction isInlineTable(obj11) {\n if (obj11 === null || typeof obj11 !== \"object\") return false;\n return obj11[_type] === INLINE_TABLE;\n}\nconst TABLE = Symbol(\"table\");\nfunction Table() {\n return Object.defineProperties({}, {\n [_type]: {\n value: TABLE\n },\n [_declared]: {\n value: false,\n writable: true\n }\n });\n}\nfunction isTable(obj11) {\n if (obj11 === null || typeof obj11 !== \"object\") return false;\n return obj11[_type] === TABLE;\n}\nconst _contentType = Symbol(\"content-type\");\nconst INLINE_LIST = Symbol(\"inline-list\");\nfunction InlineList(type11) {\n return Object.defineProperties([], {\n [_type]: {\n value: INLINE_LIST\n },\n [_contentType]: {\n value: type11\n }\n });\n}\nfunction isInlineList(obj11) {\n if (obj11 === null || typeof obj11 !== \"object\") return false;\n return obj11[_type] === INLINE_LIST;\n}\nconst LIST = Symbol(\"list\");\nfunction List() {\n return Object.defineProperties([], {\n [_type]: {\n value: LIST\n }\n });\n}\nfunction isList(obj11) {\n if (obj11 === null || typeof obj11 !== \"object\") return false;\n return obj11[_type] === LIST;\n}\n// in an eval, to let bundlers not slurp in a util proxy\nlet _custom;\ntry {\n const utilInspect = eval(\"require('util').inspect\");\n _custom = utilInspect.custom;\n} catch (_) {\n/* eval require not available in transpiled bundle */ }\n/* istanbul ignore next */ const _inspect = _custom || \"inspect\";\nclass BoxedBigInt {\n constructor(value11){\n try {\n this.value = $parcel$global.BigInt.asIntN(64, value11);\n } catch (_11) {\n /* istanbul ignore next */ this.value = null;\n }\n Object.defineProperty(this, _type, {\n value: INTEGER\n });\n }\n isNaN() {\n return this.value === null;\n }\n /* istanbul ignore next */ toString() {\n return String(this.value);\n }\n /* istanbul ignore next */ [_inspect]() {\n return `[BigInt: ${this.toString()}]}`;\n }\n valueOf() {\n return this.value;\n }\n}\nconst INTEGER = Symbol(\"integer\");\nfunction Integer(value11) {\n let num11 = Number(value11);\n // -0 is a float thing, not an int thing\n if (Object.is(num11, -0)) num11 = 0;\n /* istanbul ignore else */ if ($parcel$global.BigInt && !Number.isSafeInteger(num11)) return new BoxedBigInt(value11);\n else /* istanbul ignore next */ return Object.defineProperties(new Number(num11), {\n isNaN: {\n value: function() {\n return isNaN(this);\n }\n },\n [_type]: {\n value: INTEGER\n },\n [_inspect]: {\n value: ()=>`[Integer: ${value11}]`\n }\n });\n}\nfunction isInteger(obj11) {\n if (obj11 === null || typeof obj11 !== \"object\") return false;\n return obj11[_type] === INTEGER;\n}\nconst FLOAT = Symbol(\"float\");\nfunction Float(value11) {\n /* istanbul ignore next */ return Object.defineProperties(new Number(value11), {\n [_type]: {\n value: FLOAT\n },\n [_inspect]: {\n value: ()=>`[Float: ${value11}]`\n }\n });\n}\nfunction isFloat(obj11) {\n if (obj11 === null || typeof obj11 !== \"object\") return false;\n return obj11[_type] === FLOAT;\n}\nfunction tomlType(value11) {\n const type11 = typeof value11;\n if (type11 === \"object\") {\n /* istanbul ignore if */ if (value11 === null) return \"null\";\n if (value11 instanceof Date) return \"datetime\";\n /* istanbul ignore else */ if (_type in value11) switch(value11[_type]){\n case INLINE_TABLE:\n return \"inline-table\";\n case INLINE_LIST:\n return \"inline-list\";\n /* istanbul ignore next */ case TABLE:\n return \"table\";\n /* istanbul ignore next */ case LIST:\n return \"list\";\n case FLOAT:\n return \"float\";\n case INTEGER:\n return \"integer\";\n }\n }\n return type11;\n}\nfunction makeParserClass(Parser11) {\n class TOMLParser11 extends Parser11 {\n constructor(){\n super();\n this.ctx = this.obj = Table();\n }\n /* MATCH HELPER */ atEndOfWord() {\n return this.char === CHAR_NUM || this.char === CTRL_I || this.char === CHAR_SP || this.atEndOfLine();\n }\n atEndOfLine() {\n return this.char === Parser11.END || this.char === CTRL_J || this.char === CTRL_M;\n }\n parseStart() {\n if (this.char === Parser11.END) return null;\n else if (this.char === CHAR_LSQB) return this.call(this.parseTableOrList);\n else if (this.char === CHAR_NUM) return this.call(this.parseComment);\n else if (this.char === CTRL_J || this.char === CHAR_SP || this.char === CTRL_I || this.char === CTRL_M) return null;\n else if (isAlphaNumQuoteHyphen(this.char)) return this.callNow(this.parseAssignStatement);\n else throw this.error(new TomlError(`Unknown character \"${this.char}\"`));\n }\n // HELPER, this strips any whitespace and comments to the end of the line\n // then RETURNS. Last state in a production.\n parseWhitespaceToEOL() {\n if (this.char === CHAR_SP || this.char === CTRL_I || this.char === CTRL_M) return null;\n else if (this.char === CHAR_NUM) return this.goto(this.parseComment);\n else if (this.char === Parser11.END || this.char === CTRL_J) return this.return();\n else throw this.error(new TomlError(\"Unexpected character, expected only whitespace or comments till end of line\"));\n }\n /* ASSIGNMENT: key = value */ parseAssignStatement() {\n return this.callNow(this.parseAssign, this.recordAssignStatement);\n }\n recordAssignStatement(kv11) {\n let target11 = this.ctx;\n let finalKey11 = kv11.key.pop();\n for (let kw11 of kv11.key){\n if (hasKey(target11, kw11) && (!isTable(target11[kw11]) || target11[kw11][_declared])) throw this.error(new TomlError(\"Can't redefine existing key\"));\n target11 = target11[kw11] = target11[kw11] || Table();\n }\n if (hasKey(target11, finalKey11)) throw this.error(new TomlError(\"Can't redefine existing key\"));\n // unbox our numbers\n if (isInteger(kv11.value) || isFloat(kv11.value)) target11[finalKey11] = kv11.value.valueOf();\n else target11[finalKey11] = kv11.value;\n return this.goto(this.parseWhitespaceToEOL);\n }\n /* ASSSIGNMENT expression, key = value possibly inside an inline table */ parseAssign() {\n return this.callNow(this.parseKeyword, this.recordAssignKeyword);\n }\n recordAssignKeyword(key11) {\n if (this.state.resultTable) this.state.resultTable.push(key11);\n else this.state.resultTable = [\n key11\n ];\n return this.goto(this.parseAssignKeywordPreDot);\n }\n parseAssignKeywordPreDot() {\n if (this.char === CHAR_PERIOD) return this.next(this.parseAssignKeywordPostDot);\n else if (this.char !== CHAR_SP && this.char !== CTRL_I) return this.goto(this.parseAssignEqual);\n }\n parseAssignKeywordPostDot() {\n if (this.char !== CHAR_SP && this.char !== CTRL_I) return this.callNow(this.parseKeyword, this.recordAssignKeyword);\n }\n parseAssignEqual() {\n if (this.char === CHAR_EQUALS) return this.next(this.parseAssignPreValue);\n else throw this.error(new TomlError('Invalid character, expected \"=\"'));\n }\n parseAssignPreValue() {\n if (this.char === CHAR_SP || this.char === CTRL_I) return null;\n else return this.callNow(this.parseValue, this.recordAssignValue);\n }\n recordAssignValue(value11) {\n return this.returnNow({\n key: this.state.resultTable,\n value: value11\n });\n }\n /* COMMENTS: #...eol */ parseComment() {\n do {\n if (this.char === Parser11.END || this.char === CTRL_J) return this.return();\n }while (this.nextChar());\n }\n /* TABLES AND LISTS, [foo] and [[foo]] */ parseTableOrList() {\n if (this.char === CHAR_LSQB) this.next(this.parseList);\n else return this.goto(this.parseTable);\n }\n /* TABLE [foo.bar.baz] */ parseTable() {\n this.ctx = this.obj;\n return this.goto(this.parseTableNext);\n }\n parseTableNext() {\n if (this.char === CHAR_SP || this.char === CTRL_I) return null;\n else return this.callNow(this.parseKeyword, this.parseTableMore);\n }\n parseTableMore(keyword11) {\n if (this.char === CHAR_SP || this.char === CTRL_I) return null;\n else if (this.char === CHAR_RSQB) {\n if (hasKey(this.ctx, keyword11) && (!isTable(this.ctx[keyword11]) || this.ctx[keyword11][_declared])) throw this.error(new TomlError(\"Can't redefine existing key\"));\n else {\n this.ctx = this.ctx[keyword11] = this.ctx[keyword11] || Table();\n this.ctx[_declared] = true;\n }\n return this.next(this.parseWhitespaceToEOL);\n } else if (this.char === CHAR_PERIOD) {\n if (!hasKey(this.ctx, keyword11)) this.ctx = this.ctx[keyword11] = Table();\n else if (isTable(this.ctx[keyword11])) this.ctx = this.ctx[keyword11];\n else if (isList(this.ctx[keyword11])) this.ctx = this.ctx[keyword11][this.ctx[keyword11].length - 1];\n else throw this.error(new TomlError(\"Can't redefine existing key\"));\n return this.next(this.parseTableNext);\n } else throw this.error(new TomlError(\"Unexpected character, expected whitespace, . or ]\"));\n }\n /* LIST [[a.b.c]] */ parseList() {\n this.ctx = this.obj;\n return this.goto(this.parseListNext);\n }\n parseListNext() {\n if (this.char === CHAR_SP || this.char === CTRL_I) return null;\n else return this.callNow(this.parseKeyword, this.parseListMore);\n }\n parseListMore(keyword11) {\n if (this.char === CHAR_SP || this.char === CTRL_I) return null;\n else if (this.char === CHAR_RSQB) {\n if (!hasKey(this.ctx, keyword11)) this.ctx[keyword11] = List();\n if (isInlineList(this.ctx[keyword11])) throw this.error(new TomlError(\"Can't extend an inline array\"));\n else if (isList(this.ctx[keyword11])) {\n const next11 = Table();\n this.ctx[keyword11].push(next11);\n this.ctx = next11;\n } else throw this.error(new TomlError(\"Can't redefine an existing key\"));\n return this.next(this.parseListEnd);\n } else if (this.char === CHAR_PERIOD) {\n if (!hasKey(this.ctx, keyword11)) this.ctx = this.ctx[keyword11] = Table();\n else if (isInlineList(this.ctx[keyword11])) throw this.error(new TomlError(\"Can't extend an inline array\"));\n else if (isInlineTable(this.ctx[keyword11])) throw this.error(new TomlError(\"Can't extend an inline table\"));\n else if (isList(this.ctx[keyword11])) this.ctx = this.ctx[keyword11][this.ctx[keyword11].length - 1];\n else if (isTable(this.ctx[keyword11])) this.ctx = this.ctx[keyword11];\n else throw this.error(new TomlError(\"Can't redefine an existing key\"));\n return this.next(this.parseListNext);\n } else throw this.error(new TomlError(\"Unexpected character, expected whitespace, . or ]\"));\n }\n parseListEnd(keyword11) {\n if (this.char === CHAR_RSQB) return this.next(this.parseWhitespaceToEOL);\n else throw this.error(new TomlError(\"Unexpected character, expected whitespace, . or ]\"));\n }\n /* VALUE string, number, boolean, inline list, inline object */ parseValue() {\n if (this.char === Parser11.END) throw this.error(new TomlError(\"Key without value\"));\n else if (this.char === CHAR_QUOT) return this.next(this.parseDoubleString);\n if (this.char === CHAR_APOS) return this.next(this.parseSingleString);\n else if (this.char === CHAR_HYPHEN || this.char === CHAR_PLUS) return this.goto(this.parseNumberSign);\n else if (this.char === CHAR_i) return this.next(this.parseInf);\n else if (this.char === CHAR_n) return this.next(this.parseNan);\n else if (isDigit(this.char)) return this.goto(this.parseNumberOrDateTime);\n else if (this.char === CHAR_t || this.char === CHAR_f) return this.goto(this.parseBoolean);\n else if (this.char === CHAR_LSQB) return this.call(this.parseInlineList, this.recordValue);\n else if (this.char === CHAR_LCUB) return this.call(this.parseInlineTable, this.recordValue);\n else throw this.error(new TomlError(\"Unexpected character, expecting string, number, datetime, boolean, inline array or inline table\"));\n }\n recordValue(value11) {\n return this.returnNow(value11);\n }\n parseInf() {\n if (this.char === CHAR_n) return this.next(this.parseInf2);\n else throw this.error(new TomlError('Unexpected character, expected \"inf\", \"+inf\" or \"-inf\"'));\n }\n parseInf2() {\n if (this.char === CHAR_f) {\n if (this.state.buf === \"-\") return this.return(-Infinity);\n else return this.return(Infinity);\n } else throw this.error(new TomlError('Unexpected character, expected \"inf\", \"+inf\" or \"-inf\"'));\n }\n parseNan() {\n if (this.char === CHAR_a) return this.next(this.parseNan2);\n else throw this.error(new TomlError('Unexpected character, expected \"nan\"'));\n }\n parseNan2() {\n if (this.char === CHAR_n) return this.return(NaN);\n else throw this.error(new TomlError('Unexpected character, expected \"nan\"'));\n }\n /* KEYS, barewords or basic, literal, or dotted */ parseKeyword() {\n if (this.char === CHAR_QUOT) return this.next(this.parseBasicString);\n else if (this.char === CHAR_APOS) return this.next(this.parseLiteralString);\n else return this.goto(this.parseBareKey);\n }\n /* KEYS: barewords */ parseBareKey() {\n do {\n if (this.char === Parser11.END) throw this.error(new TomlError(\"Key ended without value\"));\n else if (isAlphaNumHyphen(this.char)) this.consume();\n else if (this.state.buf.length === 0) throw this.error(new TomlError(\"Empty bare keys are not allowed\"));\n else return this.returnNow();\n }while (this.nextChar());\n }\n /* STRINGS, single quoted (literal) */ parseSingleString() {\n if (this.char === CHAR_APOS) return this.next(this.parseLiteralMultiStringMaybe);\n else return this.goto(this.parseLiteralString);\n }\n parseLiteralString() {\n do {\n if (this.char === CHAR_APOS) return this.return();\n else if (this.atEndOfLine()) throw this.error(new TomlError(\"Unterminated string\"));\n else if (this.char === CHAR_DEL || this.char <= CTRL_CHAR_BOUNDARY && this.char !== CTRL_I) throw this.errorControlCharInString();\n else this.consume();\n }while (this.nextChar());\n }\n parseLiteralMultiStringMaybe() {\n if (this.char === CHAR_APOS) return this.next(this.parseLiteralMultiString);\n else return this.returnNow();\n }\n parseLiteralMultiString() {\n if (this.char === CTRL_M) return null;\n else if (this.char === CTRL_J) return this.next(this.parseLiteralMultiStringContent);\n else return this.goto(this.parseLiteralMultiStringContent);\n }\n parseLiteralMultiStringContent() {\n do {\n if (this.char === CHAR_APOS) return this.next(this.parseLiteralMultiEnd);\n else if (this.char === Parser11.END) throw this.error(new TomlError(\"Unterminated multi-line string\"));\n else if (this.char === CHAR_DEL || this.char <= CTRL_CHAR_BOUNDARY && this.char !== CTRL_I && this.char !== CTRL_J && this.char !== CTRL_M) throw this.errorControlCharInString();\n else this.consume();\n }while (this.nextChar());\n }\n parseLiteralMultiEnd() {\n if (this.char === CHAR_APOS) return this.next(this.parseLiteralMultiEnd2);\n else {\n this.state.buf += \"'\";\n return this.goto(this.parseLiteralMultiStringContent);\n }\n }\n parseLiteralMultiEnd2() {\n if (this.char === CHAR_APOS) return this.return();\n else {\n this.state.buf += \"''\";\n return this.goto(this.parseLiteralMultiStringContent);\n }\n }\n /* STRINGS double quoted */ parseDoubleString() {\n if (this.char === CHAR_QUOT) return this.next(this.parseMultiStringMaybe);\n else return this.goto(this.parseBasicString);\n }\n parseBasicString() {\n do {\n if (this.char === CHAR_BSOL) return this.call(this.parseEscape, this.recordEscapeReplacement);\n else if (this.char === CHAR_QUOT) return this.return();\n else if (this.atEndOfLine()) throw this.error(new TomlError(\"Unterminated string\"));\n else if (this.char === CHAR_DEL || this.char <= CTRL_CHAR_BOUNDARY && this.char !== CTRL_I) throw this.errorControlCharInString();\n else this.consume();\n }while (this.nextChar());\n }\n recordEscapeReplacement(replacement11) {\n this.state.buf += replacement11;\n return this.goto(this.parseBasicString);\n }\n parseMultiStringMaybe() {\n if (this.char === CHAR_QUOT) return this.next(this.parseMultiString);\n else return this.returnNow();\n }\n parseMultiString() {\n if (this.char === CTRL_M) return null;\n else if (this.char === CTRL_J) return this.next(this.parseMultiStringContent);\n else return this.goto(this.parseMultiStringContent);\n }\n parseMultiStringContent() {\n do {\n if (this.char === CHAR_BSOL) return this.call(this.parseMultiEscape, this.recordMultiEscapeReplacement);\n else if (this.char === CHAR_QUOT) return this.next(this.parseMultiEnd);\n else if (this.char === Parser11.END) throw this.error(new TomlError(\"Unterminated multi-line string\"));\n else if (this.char === CHAR_DEL || this.char <= CTRL_CHAR_BOUNDARY && this.char !== CTRL_I && this.char !== CTRL_J && this.char !== CTRL_M) throw this.errorControlCharInString();\n else this.consume();\n }while (this.nextChar());\n }\n errorControlCharInString() {\n let displayCode11 = \"\\\\u00\";\n if (this.char < 16) displayCode11 += \"0\";\n displayCode11 += this.char.toString(16);\n return this.error(new TomlError(`Control characters (codes < 0x1f and 0x7f) are not allowed in strings, use ${displayCode11} instead`));\n }\n recordMultiEscapeReplacement(replacement11) {\n this.state.buf += replacement11;\n return this.goto(this.parseMultiStringContent);\n }\n parseMultiEnd() {\n if (this.char === CHAR_QUOT) return this.next(this.parseMultiEnd2);\n else {\n this.state.buf += '\"';\n return this.goto(this.parseMultiStringContent);\n }\n }\n parseMultiEnd2() {\n if (this.char === CHAR_QUOT) return this.return();\n else {\n this.state.buf += '\"\"';\n return this.goto(this.parseMultiStringContent);\n }\n }\n parseMultiEscape() {\n if (this.char === CTRL_M || this.char === CTRL_J) return this.next(this.parseMultiTrim);\n else if (this.char === CHAR_SP || this.char === CTRL_I) return this.next(this.parsePreMultiTrim);\n else return this.goto(this.parseEscape);\n }\n parsePreMultiTrim() {\n if (this.char === CHAR_SP || this.char === CTRL_I) return null;\n else if (this.char === CTRL_M || this.char === CTRL_J) return this.next(this.parseMultiTrim);\n else throw this.error(new TomlError(\"Can't escape whitespace\"));\n }\n parseMultiTrim() {\n // explicitly whitespace here, END should follow the same path as chars\n if (this.char === CTRL_J || this.char === CHAR_SP || this.char === CTRL_I || this.char === CTRL_M) return null;\n else return this.returnNow();\n }\n parseEscape() {\n if (this.char in escapes) return this.return(escapes[this.char]);\n else if (this.char === CHAR_u) return this.call(this.parseSmallUnicode, this.parseUnicodeReturn);\n else if (this.char === CHAR_U) return this.call(this.parseLargeUnicode, this.parseUnicodeReturn);\n else throw this.error(new TomlError(\"Unknown escape character: \" + this.char));\n }\n parseUnicodeReturn(char11) {\n try {\n const codePoint11 = parseInt(char11, 16);\n if (codePoint11 >= SURROGATE_FIRST && codePoint11 <= SURROGATE_LAST) throw this.error(new TomlError(\"Invalid unicode, character in range 0xD800 - 0xDFFF is reserved\"));\n return this.returnNow(String.fromCodePoint(codePoint11));\n } catch (err11) {\n throw this.error(TomlError.wrap(err11));\n }\n }\n parseSmallUnicode() {\n if (!isHexit(this.char)) throw this.error(new TomlError(\"Invalid character in unicode sequence, expected hex\"));\n else {\n this.consume();\n if (this.state.buf.length >= 4) return this.return();\n }\n }\n parseLargeUnicode() {\n if (!isHexit(this.char)) throw this.error(new TomlError(\"Invalid character in unicode sequence, expected hex\"));\n else {\n this.consume();\n if (this.state.buf.length >= 8) return this.return();\n }\n }\n /* NUMBERS */ parseNumberSign() {\n this.consume();\n return this.next(this.parseMaybeSignedInfOrNan);\n }\n parseMaybeSignedInfOrNan() {\n if (this.char === CHAR_i) return this.next(this.parseInf);\n else if (this.char === CHAR_n) return this.next(this.parseNan);\n else return this.callNow(this.parseNoUnder, this.parseNumberIntegerStart);\n }\n parseNumberIntegerStart() {\n if (this.char === CHAR_0) {\n this.consume();\n return this.next(this.parseNumberIntegerExponentOrDecimal);\n } else return this.goto(this.parseNumberInteger);\n }\n parseNumberIntegerExponentOrDecimal() {\n if (this.char === CHAR_PERIOD) {\n this.consume();\n return this.call(this.parseNoUnder, this.parseNumberFloat);\n } else if (this.char === CHAR_E || this.char === CHAR_e) {\n this.consume();\n return this.next(this.parseNumberExponentSign);\n } else return this.returnNow(Integer(this.state.buf));\n }\n parseNumberInteger() {\n if (isDigit(this.char)) this.consume();\n else if (this.char === CHAR_LOWBAR) return this.call(this.parseNoUnder);\n else if (this.char === CHAR_E || this.char === CHAR_e) {\n this.consume();\n return this.next(this.parseNumberExponentSign);\n } else if (this.char === CHAR_PERIOD) {\n this.consume();\n return this.call(this.parseNoUnder, this.parseNumberFloat);\n } else {\n const result11 = Integer(this.state.buf);\n /* istanbul ignore if */ if (result11.isNaN()) throw this.error(new TomlError(\"Invalid number\"));\n else return this.returnNow(result11);\n }\n }\n parseNoUnder() {\n if (this.char === CHAR_LOWBAR || this.char === CHAR_PERIOD || this.char === CHAR_E || this.char === CHAR_e) throw this.error(new TomlError(\"Unexpected character, expected digit\"));\n else if (this.atEndOfWord()) throw this.error(new TomlError(\"Incomplete number\"));\n return this.returnNow();\n }\n parseNoUnderHexOctBinLiteral() {\n if (this.char === CHAR_LOWBAR || this.char === CHAR_PERIOD) throw this.error(new TomlError(\"Unexpected character, expected digit\"));\n else if (this.atEndOfWord()) throw this.error(new TomlError(\"Incomplete number\"));\n return this.returnNow();\n }\n parseNumberFloat() {\n if (this.char === CHAR_LOWBAR) return this.call(this.parseNoUnder, this.parseNumberFloat);\n else if (isDigit(this.char)) this.consume();\n else if (this.char === CHAR_E || this.char === CHAR_e) {\n this.consume();\n return this.next(this.parseNumberExponentSign);\n } else return this.returnNow(Float(this.state.buf));\n }\n parseNumberExponentSign() {\n if (isDigit(this.char)) return this.goto(this.parseNumberExponent);\n else if (this.char === CHAR_HYPHEN || this.char === CHAR_PLUS) {\n this.consume();\n this.call(this.parseNoUnder, this.parseNumberExponent);\n } else throw this.error(new TomlError(\"Unexpected character, expected -, + or digit\"));\n }\n parseNumberExponent() {\n if (isDigit(this.char)) this.consume();\n else if (this.char === CHAR_LOWBAR) return this.call(this.parseNoUnder);\n else return this.returnNow(Float(this.state.buf));\n }\n /* NUMBERS or DATETIMES */ parseNumberOrDateTime() {\n if (this.char === CHAR_0) {\n this.consume();\n return this.next(this.parseNumberBaseOrDateTime);\n } else return this.goto(this.parseNumberOrDateTimeOnly);\n }\n parseNumberOrDateTimeOnly() {\n // note, if two zeros are in a row then it MUST be a date\n if (this.char === CHAR_LOWBAR) return this.call(this.parseNoUnder, this.parseNumberInteger);\n else if (isDigit(this.char)) {\n this.consume();\n if (this.state.buf.length > 4) this.next(this.parseNumberInteger);\n } else if (this.char === CHAR_E || this.char === CHAR_e) {\n this.consume();\n return this.next(this.parseNumberExponentSign);\n } else if (this.char === CHAR_PERIOD) {\n this.consume();\n return this.call(this.parseNoUnder, this.parseNumberFloat);\n } else if (this.char === CHAR_HYPHEN) return this.goto(this.parseDateTime);\n else if (this.char === CHAR_COLON) return this.goto(this.parseOnlyTimeHour);\n else return this.returnNow(Integer(this.state.buf));\n }\n parseDateTimeOnly() {\n if (this.state.buf.length < 4) {\n if (isDigit(this.char)) return this.consume();\n else if (this.char === CHAR_COLON) return this.goto(this.parseOnlyTimeHour);\n else throw this.error(new TomlError(\"Expected digit while parsing year part of a date\"));\n } else {\n if (this.char === CHAR_HYPHEN) return this.goto(this.parseDateTime);\n else throw this.error(new TomlError(\"Expected hyphen (-) while parsing year part of date\"));\n }\n }\n parseNumberBaseOrDateTime() {\n if (this.char === CHAR_b) {\n this.consume();\n return this.call(this.parseNoUnderHexOctBinLiteral, this.parseIntegerBin);\n } else if (this.char === CHAR_o) {\n this.consume();\n return this.call(this.parseNoUnderHexOctBinLiteral, this.parseIntegerOct);\n } else if (this.char === CHAR_x) {\n this.consume();\n return this.call(this.parseNoUnderHexOctBinLiteral, this.parseIntegerHex);\n } else if (this.char === CHAR_PERIOD) return this.goto(this.parseNumberInteger);\n else if (isDigit(this.char)) return this.goto(this.parseDateTimeOnly);\n else return this.returnNow(Integer(this.state.buf));\n }\n parseIntegerHex() {\n if (isHexit(this.char)) this.consume();\n else if (this.char === CHAR_LOWBAR) return this.call(this.parseNoUnderHexOctBinLiteral);\n else {\n const result11 = Integer(this.state.buf);\n /* istanbul ignore if */ if (result11.isNaN()) throw this.error(new TomlError(\"Invalid number\"));\n else return this.returnNow(result11);\n }\n }\n parseIntegerOct() {\n if (isOctit(this.char)) this.consume();\n else if (this.char === CHAR_LOWBAR) return this.call(this.parseNoUnderHexOctBinLiteral);\n else {\n const result11 = Integer(this.state.buf);\n /* istanbul ignore if */ if (result11.isNaN()) throw this.error(new TomlError(\"Invalid number\"));\n else return this.returnNow(result11);\n }\n }\n parseIntegerBin() {\n if (isBit(this.char)) this.consume();\n else if (this.char === CHAR_LOWBAR) return this.call(this.parseNoUnderHexOctBinLiteral);\n else {\n const result11 = Integer(this.state.buf);\n /* istanbul ignore if */ if (result11.isNaN()) throw this.error(new TomlError(\"Invalid number\"));\n else return this.returnNow(result11);\n }\n }\n /* DATETIME */ parseDateTime() {\n // we enter here having just consumed the year and about to consume the hyphen\n if (this.state.buf.length < 4) throw this.error(new TomlError(\"Years less than 1000 must be zero padded to four characters\"));\n this.state.result = this.state.buf;\n this.state.buf = \"\";\n return this.next(this.parseDateMonth);\n }\n parseDateMonth() {\n if (this.char === CHAR_HYPHEN) {\n if (this.state.buf.length < 2) throw this.error(new TomlError(\"Months less than 10 must be zero padded to two characters\"));\n this.state.result += \"-\" + this.state.buf;\n this.state.buf = \"\";\n return this.next(this.parseDateDay);\n } else if (isDigit(this.char)) this.consume();\n else throw this.error(new TomlError(\"Incomplete datetime\"));\n }\n parseDateDay() {\n if (this.char === CHAR_T || this.char === CHAR_SP) {\n if (this.state.buf.length < 2) throw this.error(new TomlError(\"Days less than 10 must be zero padded to two characters\"));\n this.state.result += \"-\" + this.state.buf;\n this.state.buf = \"\";\n return this.next(this.parseStartTimeHour);\n } else if (this.atEndOfWord()) return this.returnNow($51zGI(this.state.result + \"-\" + this.state.buf));\n else if (isDigit(this.char)) this.consume();\n else throw this.error(new TomlError(\"Incomplete datetime\"));\n }\n parseStartTimeHour() {\n if (this.atEndOfWord()) return this.returnNow($51zGI(this.state.result));\n else return this.goto(this.parseTimeHour);\n }\n parseTimeHour() {\n if (this.char === CHAR_COLON) {\n if (this.state.buf.length < 2) throw this.error(new TomlError(\"Hours less than 10 must be zero padded to two characters\"));\n this.state.result += \"T\" + this.state.buf;\n this.state.buf = \"\";\n return this.next(this.parseTimeMin);\n } else if (isDigit(this.char)) this.consume();\n else throw this.error(new TomlError(\"Incomplete datetime\"));\n }\n parseTimeMin() {\n if (this.state.buf.length < 2 && isDigit(this.char)) this.consume();\n else if (this.state.buf.length === 2 && this.char === CHAR_COLON) {\n this.state.result += \":\" + this.state.buf;\n this.state.buf = \"\";\n return this.next(this.parseTimeSec);\n } else throw this.error(new TomlError(\"Incomplete datetime\"));\n }\n parseTimeSec() {\n if (isDigit(this.char)) {\n this.consume();\n if (this.state.buf.length === 2) {\n this.state.result += \":\" + this.state.buf;\n this.state.buf = \"\";\n return this.next(this.parseTimeZoneOrFraction);\n }\n } else throw this.error(new TomlError(\"Incomplete datetime\"));\n }\n parseOnlyTimeHour() {\n /* istanbul ignore else */ if (this.char === CHAR_COLON) {\n if (this.state.buf.length < 2) throw this.error(new TomlError(\"Hours less than 10 must be zero padded to two characters\"));\n this.state.result = this.state.buf;\n this.state.buf = \"\";\n return this.next(this.parseOnlyTimeMin);\n } else throw this.error(new TomlError(\"Incomplete time\"));\n }\n parseOnlyTimeMin() {\n if (this.state.buf.length < 2 && isDigit(this.char)) this.consume();\n else if (this.state.buf.length === 2 && this.char === CHAR_COLON) {\n this.state.result += \":\" + this.state.buf;\n this.state.buf = \"\";\n return this.next(this.parseOnlyTimeSec);\n } else throw this.error(new TomlError(\"Incomplete time\"));\n }\n parseOnlyTimeSec() {\n if (isDigit(this.char)) {\n this.consume();\n if (this.state.buf.length === 2) return this.next(this.parseOnlyTimeFractionMaybe);\n } else throw this.error(new TomlError(\"Incomplete time\"));\n }\n parseOnlyTimeFractionMaybe() {\n this.state.result += \":\" + this.state.buf;\n if (this.char === CHAR_PERIOD) {\n this.state.buf = \"\";\n this.next(this.parseOnlyTimeFraction);\n } else return this.return($8bnbQ(this.state.result));\n }\n parseOnlyTimeFraction() {\n if (isDigit(this.char)) this.consume();\n else if (this.atEndOfWord()) {\n if (this.state.buf.length === 0) throw this.error(new TomlError(\"Expected digit in milliseconds\"));\n return this.returnNow($8bnbQ(this.state.result + \".\" + this.state.buf));\n } else throw this.error(new TomlError(\"Unexpected character in datetime, expected period (.), minus (-), plus (+) or Z\"));\n }\n parseTimeZoneOrFraction() {\n if (this.char === CHAR_PERIOD) {\n this.consume();\n this.next(this.parseDateTimeFraction);\n } else if (this.char === CHAR_HYPHEN || this.char === CHAR_PLUS) {\n this.consume();\n this.next(this.parseTimeZoneHour);\n } else if (this.char === CHAR_Z) {\n this.consume();\n return this.return($4HTEH(this.state.result + this.state.buf));\n } else if (this.atEndOfWord()) return this.returnNow($biA0C(this.state.result + this.state.buf));\n else throw this.error(new TomlError(\"Unexpected character in datetime, expected period (.), minus (-), plus (+) or Z\"));\n }\n parseDateTimeFraction() {\n if (isDigit(this.char)) this.consume();\n else if (this.state.buf.length === 1) throw this.error(new TomlError(\"Expected digit in milliseconds\"));\n else if (this.char === CHAR_HYPHEN || this.char === CHAR_PLUS) {\n this.consume();\n this.next(this.parseTimeZoneHour);\n } else if (this.char === CHAR_Z) {\n this.consume();\n return this.return($4HTEH(this.state.result + this.state.buf));\n } else if (this.atEndOfWord()) return this.returnNow($biA0C(this.state.result + this.state.buf));\n else throw this.error(new TomlError(\"Unexpected character in datetime, expected period (.), minus (-), plus (+) or Z\"));\n }\n parseTimeZoneHour() {\n if (isDigit(this.char)) {\n this.consume();\n // FIXME: No more regexps\n if (/\\d\\d$/.test(this.state.buf)) return this.next(this.parseTimeZoneSep);\n } else throw this.error(new TomlError(\"Unexpected character in datetime, expected digit\"));\n }\n parseTimeZoneSep() {\n if (this.char === CHAR_COLON) {\n this.consume();\n this.next(this.parseTimeZoneMin);\n } else throw this.error(new TomlError(\"Unexpected character in datetime, expected colon\"));\n }\n parseTimeZoneMin() {\n if (isDigit(this.char)) {\n this.consume();\n if (/\\d\\d$/.test(this.state.buf)) return this.return($4HTEH(this.state.result + this.state.buf));\n } else throw this.error(new TomlError(\"Unexpected character in datetime, expected digit\"));\n }\n /* BOOLEAN */ parseBoolean() {\n /* istanbul ignore else */ if (this.char === CHAR_t) {\n this.consume();\n return this.next(this.parseTrue_r);\n } else if (this.char === CHAR_f) {\n this.consume();\n return this.next(this.parseFalse_a);\n }\n }\n parseTrue_r() {\n if (this.char === CHAR_r) {\n this.consume();\n return this.next(this.parseTrue_u);\n } else throw this.error(new TomlError(\"Invalid boolean, expected true or false\"));\n }\n parseTrue_u() {\n if (this.char === CHAR_u) {\n this.consume();\n return this.next(this.parseTrue_e);\n } else throw this.error(new TomlError(\"Invalid boolean, expected true or false\"));\n }\n parseTrue_e() {\n if (this.char === CHAR_e) return this.return(true);\n else throw this.error(new TomlError(\"Invalid boolean, expected true or false\"));\n }\n parseFalse_a() {\n if (this.char === CHAR_a) {\n this.consume();\n return this.next(this.parseFalse_l);\n } else throw this.error(new TomlError(\"Invalid boolean, expected true or false\"));\n }\n parseFalse_l() {\n if (this.char === CHAR_l) {\n this.consume();\n return this.next(this.parseFalse_s);\n } else throw this.error(new TomlError(\"Invalid boolean, expected true or false\"));\n }\n parseFalse_s() {\n if (this.char === CHAR_s) {\n this.consume();\n return this.next(this.parseFalse_e);\n } else throw this.error(new TomlError(\"Invalid boolean, expected true or false\"));\n }\n parseFalse_e() {\n if (this.char === CHAR_e) return this.return(false);\n else throw this.error(new TomlError(\"Invalid boolean, expected true or false\"));\n }\n /* INLINE LISTS */ parseInlineList() {\n if (this.char === CHAR_SP || this.char === CTRL_I || this.char === CTRL_M || this.char === CTRL_J) return null;\n else if (this.char === Parser11.END) throw this.error(new TomlError(\"Unterminated inline array\"));\n else if (this.char === CHAR_NUM) return this.call(this.parseComment);\n else if (this.char === CHAR_RSQB) return this.return(this.state.resultArr || InlineList());\n else return this.callNow(this.parseValue, this.recordInlineListValue);\n }\n recordInlineListValue(value11) {\n if (this.state.resultArr) {\n const listType11 = this.state.resultArr[_contentType];\n const valueType11 = tomlType(value11);\n if (listType11 !== valueType11) throw this.error(new TomlError(`Inline lists must be a single type, not a mix of ${listType11} and ${valueType11}`));\n } else this.state.resultArr = InlineList(tomlType(value11));\n if (isFloat(value11) || isInteger(value11)) // unbox now that we've verified they're ok\n this.state.resultArr.push(value11.valueOf());\n else this.state.resultArr.push(value11);\n return this.goto(this.parseInlineListNext);\n }\n parseInlineListNext() {\n if (this.char === CHAR_SP || this.char === CTRL_I || this.char === CTRL_M || this.char === CTRL_J) return null;\n else if (this.char === CHAR_NUM) return this.call(this.parseComment);\n else if (this.char === CHAR_COMMA) return this.next(this.parseInlineList);\n else if (this.char === CHAR_RSQB) return this.goto(this.parseInlineList);\n else throw this.error(new TomlError(\"Invalid character, expected whitespace, comma (,) or close bracket (])\"));\n }\n /* INLINE TABLE */ parseInlineTable() {\n if (this.char === CHAR_SP || this.char === CTRL_I) return null;\n else if (this.char === Parser11.END || this.char === CHAR_NUM || this.char === CTRL_J || this.char === CTRL_M) throw this.error(new TomlError(\"Unterminated inline array\"));\n else if (this.char === CHAR_RCUB) return this.return(this.state.resultTable || InlineTable());\n else {\n if (!this.state.resultTable) this.state.resultTable = InlineTable();\n return this.callNow(this.parseAssign, this.recordInlineTableValue);\n }\n }\n recordInlineTableValue(kv11) {\n let target11 = this.state.resultTable;\n let finalKey11 = kv11.key.pop();\n for (let kw11 of kv11.key){\n if (hasKey(target11, kw11) && (!isTable(target11[kw11]) || target11[kw11][_declared])) throw this.error(new TomlError(\"Can't redefine existing key\"));\n target11 = target11[kw11] = target11[kw11] || Table();\n }\n if (hasKey(target11, finalKey11)) throw this.error(new TomlError(\"Can't redefine existing key\"));\n if (isInteger(kv11.value) || isFloat(kv11.value)) target11[finalKey11] = kv11.value.valueOf();\n else target11[finalKey11] = kv11.value;\n return this.goto(this.parseInlineTableNext);\n }\n parseInlineTableNext() {\n if (this.char === CHAR_SP || this.char === CTRL_I) return null;\n else if (this.char === Parser11.END || this.char === CHAR_NUM || this.char === CTRL_J || this.char === CTRL_M) throw this.error(new TomlError(\"Unterminated inline array\"));\n else if (this.char === CHAR_COMMA) return this.next(this.parseInlineTable);\n else if (this.char === CHAR_RCUB) return this.goto(this.parseInlineTable);\n else throw this.error(new TomlError(\"Invalid character, expected whitespace, comma (,) or close bracket (])\"));\n }\n }\n return TOMLParser11;\n}\n\n});\nparcelRequire.register(\"fd397\", function(module, exports) {\n\"use strict\";\nconst $b12a82a5bb56e2de$var$ParserEND = 0x110000;\nclass $b12a82a5bb56e2de$var$ParserError extends Error {\n /* istanbul ignore next */ constructor(msg, filename, linenumber){\n super(\"[ParserError] \" + msg, filename, linenumber);\n this.name = \"ParserError\";\n this.code = \"ParserError\";\n if (Error.captureStackTrace) Error.captureStackTrace(this, $b12a82a5bb56e2de$var$ParserError);\n }\n}\nclass $b12a82a5bb56e2de$var$State {\n constructor(parser){\n this.parser = parser;\n this.buf = \"\";\n this.returned = null;\n this.result = null;\n this.resultTable = null;\n this.resultArr = null;\n }\n}\nclass $b12a82a5bb56e2de$var$Parser {\n constructor(){\n this.pos = 0;\n this.col = 0;\n this.line = 0;\n this.obj = {};\n this.ctx = this.obj;\n this.stack = [];\n this._buf = \"\";\n this.char = null;\n this.ii = 0;\n this.state = new $b12a82a5bb56e2de$var$State(this.parseStart);\n }\n parse(str) {\n /* istanbul ignore next */ if (str.length === 0 || str.length == null) return;\n this._buf = String(str);\n this.ii = -1;\n this.char = -1;\n let getNext;\n while(getNext === false || this.nextChar())getNext = this.runOne();\n this._buf = null;\n }\n nextChar() {\n if (this.char === 0x0A) {\n ++this.line;\n this.col = -1;\n }\n ++this.ii;\n this.char = this._buf.codePointAt(this.ii);\n ++this.pos;\n ++this.col;\n return this.haveBuffer();\n }\n haveBuffer() {\n return this.ii < this._buf.length;\n }\n runOne() {\n return this.state.parser.call(this, this.state.returned);\n }\n finish() {\n this.char = $b12a82a5bb56e2de$var$ParserEND;\n let last;\n do {\n last = this.state.parser;\n this.runOne();\n }while (this.state.parser !== last);\n this.ctx = null;\n this.state = null;\n this._buf = null;\n return this.obj;\n }\n next(fn) {\n /* istanbul ignore next */ if (typeof fn !== \"function\") throw new $b12a82a5bb56e2de$var$ParserError(\"Tried to set state to non-existent state: \" + JSON.stringify(fn));\n this.state.parser = fn;\n }\n goto(fn) {\n this.next(fn);\n return this.runOne();\n }\n call(fn, returnWith) {\n if (returnWith) this.next(returnWith);\n this.stack.push(this.state);\n this.state = new $b12a82a5bb56e2de$var$State(fn);\n }\n callNow(fn, returnWith) {\n this.call(fn, returnWith);\n return this.runOne();\n }\n return(value) {\n /* istanbul ignore next */ if (this.stack.length === 0) throw this.error(new $b12a82a5bb56e2de$var$ParserError(\"Stack underflow\"));\n if (value === undefined) value = this.state.buf;\n this.state = this.stack.pop();\n this.state.returned = value;\n }\n returnNow(value) {\n this.return(value);\n return this.runOne();\n }\n consume() {\n /* istanbul ignore next */ if (this.char === $b12a82a5bb56e2de$var$ParserEND) throw this.error(new $b12a82a5bb56e2de$var$ParserError(\"Unexpected end-of-buffer\"));\n this.state.buf += this._buf[this.ii];\n }\n error(err) {\n err.line = this.line;\n err.col = this.col;\n err.pos = this.pos;\n return err;\n }\n /* istanbul ignore next */ parseStart() {\n throw new $b12a82a5bb56e2de$var$ParserError(\"Must declare a parseStart method\");\n }\n}\n$b12a82a5bb56e2de$var$Parser.END = $b12a82a5bb56e2de$var$ParserEND;\n$b12a82a5bb56e2de$var$Parser.Error = $b12a82a5bb56e2de$var$ParserError;\nmodule.exports = $b12a82a5bb56e2de$var$Parser;\n\n});\n\nparcelRequire.register(\"4HTEH\", function(module, exports) {\n\"use strict\";\nmodule.exports = (value)=>{\n const date = new Date(value);\n /* istanbul ignore if */ if (isNaN(date)) throw new TypeError(\"Invalid Datetime\");\n else return date;\n};\n\n});\n\nparcelRequire.register(\"biA0C\", function(module, exports) {\n\"use strict\";\n\nvar $1fZYw = parcelRequire(\"1fZYw\");\nclass $839d4ec4b1365bff$var$FloatingDateTime extends Date {\n constructor(value){\n super(value + \"Z\");\n this.isFloating = true;\n }\n toISOString() {\n const date = `${this.getUTCFullYear()}-${$1fZYw(2, this.getUTCMonth() + 1)}-${$1fZYw(2, this.getUTCDate())}`;\n const time = `${$1fZYw(2, this.getUTCHours())}:${$1fZYw(2, this.getUTCMinutes())}:${$1fZYw(2, this.getUTCSeconds())}.${$1fZYw(3, this.getUTCMilliseconds())}`;\n return `${date}T${time}`;\n }\n}\nmodule.exports = (value)=>{\n const date = new $839d4ec4b1365bff$var$FloatingDateTime(value);\n /* istanbul ignore if */ if (isNaN(date)) throw new TypeError(\"Invalid Datetime\");\n else return date;\n};\n\n});\nparcelRequire.register(\"1fZYw\", function(module, exports) {\n\"use strict\";\nmodule.exports = (d, num)=>{\n num = String(num);\n while(num.length < d)num = \"0\" + num;\n return num;\n};\n\n});\n\n\nparcelRequire.register(\"51zGI\", function(module, exports) {\n\"use strict\";\n\nvar $1fZYw = parcelRequire(\"1fZYw\");\nconst $3a88baa60d3d0f68$var$DateTime = $parcel$global.Date;\nclass $3a88baa60d3d0f68$var$Date extends $3a88baa60d3d0f68$var$DateTime {\n constructor(value){\n super(value);\n this.isDate = true;\n }\n toISOString() {\n return `${this.getUTCFullYear()}-${$1fZYw(2, this.getUTCMonth() + 1)}-${$1fZYw(2, this.getUTCDate())}`;\n }\n}\nmodule.exports = (value)=>{\n const date = new $3a88baa60d3d0f68$var$Date(value);\n /* istanbul ignore if */ if (isNaN(date)) throw new TypeError(\"Invalid Datetime\");\n else return date;\n};\n\n});\n\nparcelRequire.register(\"8bnbQ\", function(module, exports) {\n\"use strict\";\n\nvar $1fZYw = parcelRequire(\"1fZYw\");\nclass $5f5156dd3a5e621f$var$Time extends Date {\n constructor(value){\n super(`0000-01-01T${value}Z`);\n this.isTime = true;\n }\n toISOString() {\n return `${$1fZYw(2, this.getUTCHours())}:${$1fZYw(2, this.getUTCMinutes())}:${$1fZYw(2, this.getUTCSeconds())}.${$1fZYw(3, this.getUTCMilliseconds())}`;\n }\n}\nmodule.exports = (value)=>{\n const date = new $5f5156dd3a5e621f$var$Time(value);\n /* istanbul ignore if */ if (isNaN(date)) throw new TypeError(\"Invalid Datetime\");\n else return date;\n};\n\n});\n\n\nparcelRequire.register(\"gBYD8\", function(module, exports) {\n\"use strict\";\nmodule.exports = $c17f21ea45a7ef68$var$prettyError;\nfunction $c17f21ea45a7ef68$var$prettyError(err, buf) {\n /* istanbul ignore if */ if (err.pos == null || err.line == null) return err;\n let msg = err.message;\n msg += ` at row ${err.line + 1}, col ${err.col + 1}, pos ${err.pos}:\\n`;\n /* istanbul ignore else */ if (buf && buf.split) {\n const lines = buf.split(/\\n/);\n const lineNumWidth = String(Math.min(lines.length, err.line + 3)).length;\n let linePadding = \" \";\n while(linePadding.length < lineNumWidth)linePadding += \" \";\n for(let ii = Math.max(0, err.line - 1); ii < Math.min(lines.length, err.line + 2); ++ii){\n let lineNum = String(ii + 1);\n if (lineNum.length < lineNumWidth) lineNum = \" \" + lineNum;\n if (err.line === ii) {\n msg += lineNum + \"> \" + lines[ii] + \"\\n\";\n msg += linePadding + \" \";\n for(let hh = 0; hh < err.col; ++hh)msg += \" \";\n msg += \"^\\n\";\n } else msg += lineNum + \": \" + lines[ii] + \"\\n\";\n }\n }\n err.message = msg + \"\\n\";\n return err;\n}\n\n});\n\n\nparcelRequire.register(\"2S5Eu\", function(module, exports) {\n\"use strict\";\nmodule.exports = $2175024d897962a1$var$parseAsync;\n\nvar $3XGwc = parcelRequire(\"3XGwc\");\n\nvar $gBYD8 = parcelRequire(\"gBYD8\");\nfunction $2175024d897962a1$var$parseAsync(str, opts) {\n if (!opts) opts = {};\n const index = 0;\n const blocksize = opts.blocksize || 40960;\n const parser = new $3XGwc();\n return new Promise((resolve, reject)=>{\n setImmediate(parseAsyncNext, index, blocksize, resolve, reject);\n });\n function parseAsyncNext(index, blocksize, resolve, reject) {\n if (index >= str.length) try {\n return resolve(parser.finish());\n } catch (err) {\n return reject($gBYD8(err, str));\n }\n try {\n parser.parse(str.slice(index, index + blocksize));\n setImmediate(parseAsyncNext, index + blocksize, blocksize, resolve, reject);\n } catch (err) {\n reject($gBYD8(err, str));\n }\n }\n}\n\n});\n\nparcelRequire.register(\"9JW1y\", function(module, exports) {\n\"use strict\";\nmodule.exports = $7175536318ea75e8$var$parseStream;\n\n\nvar $3XGwc = parcelRequire(\"3XGwc\");\nfunction $7175536318ea75e8$var$parseStream(stm) {\n if (stm) return $7175536318ea75e8$var$parseReadable(stm);\n else return $7175536318ea75e8$var$parseTransform(stm);\n}\nfunction $7175536318ea75e8$var$parseReadable(stm) {\n const parser = new $3XGwc();\n stm.setEncoding(\"utf8\");\n return new Promise((resolve, reject)=>{\n let readable;\n let ended = false;\n let errored = false;\n function finish() {\n ended = true;\n if (readable) return;\n try {\n resolve(parser.finish());\n } catch (err) {\n reject(err);\n }\n }\n function error(err) {\n errored = true;\n reject(err);\n }\n stm.once(\"end\", finish);\n stm.once(\"error\", error);\n readNext();\n function readNext() {\n readable = true;\n let data;\n while((data = stm.read()) !== null)try {\n parser.parse(data);\n } catch (err) {\n return error(err);\n }\n readable = false;\n /* istanbul ignore if */ if (ended) return finish();\n /* istanbul ignore if */ if (errored) return;\n stm.once(\"readable\", readNext);\n }\n });\n}\nfunction $7175536318ea75e8$var$parseTransform() {\n const parser = new $3XGwc();\n return new $kC5q1$stream.Transform({\n objectMode: true,\n transform (chunk, encoding, cb) {\n try {\n parser.parse(chunk.toString(encoding));\n } catch (err) {\n this.emit(\"error\", err);\n }\n cb();\n },\n flush (cb) {\n try {\n this.push(parser.finish());\n } catch (err) {\n this.emit(\"error\", err);\n }\n cb();\n }\n });\n}\n\n});\n\n\nparcelRequire.register(\"bhUE6\", function(module, exports) {\n\"use strict\";\nmodule.exports = $837d38e9359e26df$var$stringify;\nmodule.exports.value = $837d38e9359e26df$var$stringifyInline;\nfunction $837d38e9359e26df$var$stringify(obj) {\n if (obj === null) throw $837d38e9359e26df$var$typeError(\"null\");\n if (obj === void 0) throw $837d38e9359e26df$var$typeError(\"undefined\");\n if (typeof obj !== \"object\") throw $837d38e9359e26df$var$typeError(typeof obj);\n if (typeof obj.toJSON === \"function\") obj = obj.toJSON();\n if (obj == null) return null;\n const type = $837d38e9359e26df$var$tomlType(obj);\n if (type !== \"table\") throw $837d38e9359e26df$var$typeError(type);\n return $837d38e9359e26df$var$stringifyObject(\"\", \"\", obj);\n}\nfunction $837d38e9359e26df$var$typeError(type) {\n return new Error(\"Can only stringify objects, not \" + type);\n}\nfunction $837d38e9359e26df$var$arrayOneTypeError() {\n return new Error(\"Array values can't have mixed types\");\n}\nfunction $837d38e9359e26df$var$getInlineKeys(obj) {\n return Object.keys(obj).filter((key)=>$837d38e9359e26df$var$isInline(obj[key]));\n}\nfunction $837d38e9359e26df$var$getComplexKeys(obj) {\n return Object.keys(obj).filter((key)=>!$837d38e9359e26df$var$isInline(obj[key]));\n}\nfunction $837d38e9359e26df$var$toJSON(obj) {\n let nobj = Array.isArray(obj) ? [] : Object.prototype.hasOwnProperty.call(obj, \"__proto__\") ? {\n [\"__proto__\"]: undefined\n } : {};\n for (let prop of Object.keys(obj))if (obj[prop] && typeof obj[prop].toJSON === \"function\" && !(\"toISOString\" in obj[prop])) nobj[prop] = obj[prop].toJSON();\n else nobj[prop] = obj[prop];\n return nobj;\n}\nfunction $837d38e9359e26df$var$stringifyObject(prefix, indent, obj) {\n obj = $837d38e9359e26df$var$toJSON(obj);\n var inlineKeys;\n var complexKeys;\n inlineKeys = $837d38e9359e26df$var$getInlineKeys(obj);\n complexKeys = $837d38e9359e26df$var$getComplexKeys(obj);\n var result = [];\n var inlineIndent = indent || \"\";\n inlineKeys.forEach((key)=>{\n var type = $837d38e9359e26df$var$tomlType(obj[key]);\n if (type !== \"undefined\" && type !== \"null\") result.push(inlineIndent + $837d38e9359e26df$var$stringifyKey(key) + \" = \" + $837d38e9359e26df$var$stringifyAnyInline(obj[key], true));\n });\n if (result.length > 0) result.push(\"\");\n var complexIndent = prefix && inlineKeys.length > 0 ? indent + \" \" : \"\";\n complexKeys.forEach((key)=>{\n result.push($837d38e9359e26df$var$stringifyComplex(prefix, complexIndent, key, obj[key]));\n });\n return result.join(\"\\n\");\n}\nfunction $837d38e9359e26df$var$isInline(value) {\n switch($837d38e9359e26df$var$tomlType(value)){\n case \"undefined\":\n case \"null\":\n case \"integer\":\n case \"nan\":\n case \"float\":\n case \"boolean\":\n case \"string\":\n case \"datetime\":\n return true;\n case \"array\":\n return value.length === 0 || $837d38e9359e26df$var$tomlType(value[0]) !== \"table\";\n case \"table\":\n return Object.keys(value).length === 0;\n /* istanbul ignore next */ default:\n return false;\n }\n}\nfunction $837d38e9359e26df$var$tomlType(value) {\n if (value === undefined) return \"undefined\";\n else if (value === null) return \"null\";\n else if (typeof value === \"bigint\" || Number.isInteger(value) && !Object.is(value, -0)) return \"integer\";\n else if (typeof value === \"number\") return \"float\";\n else if (typeof value === \"boolean\") return \"boolean\";\n else if (typeof value === \"string\") return \"string\";\n else if (\"toISOString\" in value) return isNaN(value) ? \"undefined\" : \"datetime\";\n else if (Array.isArray(value)) return \"array\";\n else return \"table\";\n}\nfunction $837d38e9359e26df$var$stringifyKey(key) {\n var keyStr = String(key);\n if (/^[-A-Za-z0-9_]+$/.test(keyStr)) return keyStr;\n else return $837d38e9359e26df$var$stringifyBasicString(keyStr);\n}\nfunction $837d38e9359e26df$var$stringifyBasicString(str) {\n return '\"' + $837d38e9359e26df$var$escapeString(str).replace(/\"/g, '\\\\\"') + '\"';\n}\nfunction $837d38e9359e26df$var$stringifyLiteralString(str) {\n return \"'\" + str + \"'\";\n}\nfunction $837d38e9359e26df$var$numpad(num, str) {\n while(str.length < num)str = \"0\" + str;\n return str;\n}\nfunction $837d38e9359e26df$var$escapeString(str) {\n return str.replace(/\\\\/g, \"\\\\\\\\\").replace(/[\\b]/g, \"\\\\b\").replace(/\\t/g, \"\\\\t\").replace(/\\n/g, \"\\\\n\").replace(/\\f/g, \"\\\\f\").replace(/\\r/g, \"\\\\r\")/* eslint-disable no-control-regex */ .replace(/([\\u0000-\\u001f\\u007f])/, (c)=>\"\\\\u\" + $837d38e9359e26df$var$numpad(4, c.codePointAt(0).toString(16)));\n/* eslint-enable no-control-regex */ }\nfunction $837d38e9359e26df$var$stringifyMultilineString(str) {\n let escaped = str.split(/\\n/).map((str)=>{\n return $837d38e9359e26df$var$escapeString(str).replace(/\"(?=\"\")/g, '\\\\\"');\n }).join(\"\\n\");\n if (escaped.slice(-1) === '\"') escaped += \"\\\\\\n\";\n return '\"\"\"\\n' + escaped + '\"\"\"';\n}\nfunction $837d38e9359e26df$var$stringifyAnyInline(value, multilineOk) {\n let type = $837d38e9359e26df$var$tomlType(value);\n if (type === \"string\") {\n if (multilineOk && /\\n/.test(value)) type = \"string-multiline\";\n else if (!/[\\b\\t\\n\\f\\r']/.test(value) && /\"/.test(value)) type = \"string-literal\";\n }\n return $837d38e9359e26df$var$stringifyInline(value, type);\n}\nfunction $837d38e9359e26df$var$stringifyInline(value, type) {\n /* istanbul ignore if */ if (!type) type = $837d38e9359e26df$var$tomlType(value);\n switch(type){\n case \"string-multiline\":\n return $837d38e9359e26df$var$stringifyMultilineString(value);\n case \"string\":\n return $837d38e9359e26df$var$stringifyBasicString(value);\n case \"string-literal\":\n return $837d38e9359e26df$var$stringifyLiteralString(value);\n case \"integer\":\n return $837d38e9359e26df$var$stringifyInteger(value);\n case \"float\":\n return $837d38e9359e26df$var$stringifyFloat(value);\n case \"boolean\":\n return $837d38e9359e26df$var$stringifyBoolean(value);\n case \"datetime\":\n return $837d38e9359e26df$var$stringifyDatetime(value);\n case \"array\":\n return $837d38e9359e26df$var$stringifyInlineArray(value.filter((_)=>$837d38e9359e26df$var$tomlType(_) !== \"null\" && $837d38e9359e26df$var$tomlType(_) !== \"undefined\" && $837d38e9359e26df$var$tomlType(_) !== \"nan\"));\n case \"table\":\n return $837d38e9359e26df$var$stringifyInlineTable(value);\n /* istanbul ignore next */ default:\n throw $837d38e9359e26df$var$typeError(type);\n }\n}\nfunction $837d38e9359e26df$var$stringifyInteger(value) {\n /* eslint-disable security/detect-unsafe-regex */ return String(value).replace(/\\B(?=(\\d{3})+(?!\\d))/g, \"_\");\n}\nfunction $837d38e9359e26df$var$stringifyFloat(value) {\n if (value === Infinity) return \"inf\";\n else if (value === -Infinity) return \"-inf\";\n else if (Object.is(value, NaN)) return \"nan\";\n else if (Object.is(value, -0)) return \"-0.0\";\n var chunks = String(value).split(\".\");\n var int = chunks[0];\n var dec = chunks[1] || 0;\n return $837d38e9359e26df$var$stringifyInteger(int) + \".\" + dec;\n}\nfunction $837d38e9359e26df$var$stringifyBoolean(value) {\n return String(value);\n}\nfunction $837d38e9359e26df$var$stringifyDatetime(value) {\n return value.toISOString();\n}\nfunction $837d38e9359e26df$var$isNumber(type) {\n return type === \"float\" || type === \"integer\";\n}\nfunction $837d38e9359e26df$var$arrayType(values) {\n var contentType = $837d38e9359e26df$var$tomlType(values[0]);\n if (values.every((_)=>$837d38e9359e26df$var$tomlType(_) === contentType)) return contentType;\n // mixed integer/float, emit as floats\n if (values.every((_)=>$837d38e9359e26df$var$isNumber($837d38e9359e26df$var$tomlType(_)))) return \"float\";\n return \"mixed\";\n}\nfunction $837d38e9359e26df$var$validateArray(values) {\n const type = $837d38e9359e26df$var$arrayType(values);\n if (type === \"mixed\") throw $837d38e9359e26df$var$arrayOneTypeError();\n return type;\n}\nfunction $837d38e9359e26df$var$stringifyInlineArray(values) {\n values = $837d38e9359e26df$var$toJSON(values);\n const type = $837d38e9359e26df$var$validateArray(values);\n var result = \"[\";\n var stringified = values.map((_)=>$837d38e9359e26df$var$stringifyInline(_, type));\n if (stringified.join(\", \").length > 60 || /\\n/.test(stringified)) result += \"\\n \" + stringified.join(\",\\n \") + \"\\n\";\n else result += \" \" + stringified.join(\", \") + (stringified.length > 0 ? \" \" : \"\");\n return result + \"]\";\n}\nfunction $837d38e9359e26df$var$stringifyInlineTable(value) {\n value = $837d38e9359e26df$var$toJSON(value);\n var result = [];\n Object.keys(value).forEach((key)=>{\n result.push($837d38e9359e26df$var$stringifyKey(key) + \" = \" + $837d38e9359e26df$var$stringifyAnyInline(value[key], false));\n });\n return \"{ \" + result.join(\", \") + (result.length > 0 ? \" \" : \"\") + \"}\";\n}\nfunction $837d38e9359e26df$var$stringifyComplex(prefix, indent, key, value) {\n var valueType = $837d38e9359e26df$var$tomlType(value);\n /* istanbul ignore else */ if (valueType === \"array\") return $837d38e9359e26df$var$stringifyArrayOfTables(prefix, indent, key, value);\n else if (valueType === \"table\") return $837d38e9359e26df$var$stringifyComplexTable(prefix, indent, key, value);\n else throw $837d38e9359e26df$var$typeError(valueType);\n}\nfunction $837d38e9359e26df$var$stringifyArrayOfTables(prefix, indent, key, values) {\n values = $837d38e9359e26df$var$toJSON(values);\n $837d38e9359e26df$var$validateArray(values);\n var firstValueType = $837d38e9359e26df$var$tomlType(values[0]);\n /* istanbul ignore if */ if (firstValueType !== \"table\") throw $837d38e9359e26df$var$typeError(firstValueType);\n var fullKey = prefix + $837d38e9359e26df$var$stringifyKey(key);\n var result = \"\";\n values.forEach((table)=>{\n if (result.length > 0) result += \"\\n\";\n result += indent + \"[[\" + fullKey + \"]]\\n\";\n result += $837d38e9359e26df$var$stringifyObject(fullKey + \".\", indent, table);\n });\n return result;\n}\nfunction $837d38e9359e26df$var$stringifyComplexTable(prefix, indent, key, value) {\n var fullKey = prefix + $837d38e9359e26df$var$stringifyKey(key);\n var result = \"\";\n if ($837d38e9359e26df$var$getInlineKeys(value).length > 0) result += indent + \"[\" + fullKey + \"]\\n\";\n return result + $837d38e9359e26df$var$stringifyObject(fullKey + \".\", indent, value);\n}\n\n});\n\n\n\nparcelRequire.register(\"xjYT4\", function(module, exports) {\n\n$parcel$export(module.exports, \"MANIFEST_URL\", () => $c584a0a2f56824c2$export$f3182c5cb60bb857);\n$parcel$export(module.exports, \"findReleaseFromManifest\", () => $c584a0a2f56824c2$export$45bea79befbd9a23);\n$parcel$export(module.exports, \"getManifest\", () => $c584a0a2f56824c2$export$39e873de56f329d8);\n$parcel$export(module.exports, \"installCpythonFromRelease\", () => $c584a0a2f56824c2$export$e1ffa7cd53152881);\n\n\nvar $2heqc = parcelRequire(\"2heqc\");\n\nvar $9aCWy = parcelRequire(\"9aCWy\");\n\nvar $2mVwa = parcelRequire(\"2mVwa\");\n\nvar $42Mcf = parcelRequire(\"42Mcf\");\nconst $c584a0a2f56824c2$var$TOKEN = $2heqc.getInput(\"token\");\nconst $c584a0a2f56824c2$var$AUTH = !$c584a0a2f56824c2$var$TOKEN ? undefined : `token ${$c584a0a2f56824c2$var$TOKEN}`;\nconst $c584a0a2f56824c2$var$MANIFEST_REPO_OWNER = \"actions\";\nconst $c584a0a2f56824c2$var$MANIFEST_REPO_NAME = \"python-versions\";\nconst $c584a0a2f56824c2$var$MANIFEST_REPO_BRANCH = \"main\";\nconst $c584a0a2f56824c2$export$f3182c5cb60bb857 = `https://raw.githubusercontent.com/${$c584a0a2f56824c2$var$MANIFEST_REPO_OWNER}/${$c584a0a2f56824c2$var$MANIFEST_REPO_NAME}/${$c584a0a2f56824c2$var$MANIFEST_REPO_BRANCH}/versions-manifest.json`;\nasync function $c584a0a2f56824c2$export$45bea79befbd9a23(semanticVersionSpec, architecture, manifest) {\n if (!manifest) manifest = await $c584a0a2f56824c2$export$39e873de56f329d8();\n const foundRelease = await $9aCWy.findFromManifest(semanticVersionSpec, false, manifest, architecture);\n return foundRelease;\n}\nfunction $c584a0a2f56824c2$export$39e873de56f329d8() {\n $2heqc.debug(`Getting manifest from ${$c584a0a2f56824c2$var$MANIFEST_REPO_OWNER}/${$c584a0a2f56824c2$var$MANIFEST_REPO_NAME}@${$c584a0a2f56824c2$var$MANIFEST_REPO_BRANCH}`);\n return $9aCWy.getManifestFromRepo($c584a0a2f56824c2$var$MANIFEST_REPO_OWNER, $c584a0a2f56824c2$var$MANIFEST_REPO_NAME, $c584a0a2f56824c2$var$AUTH, $c584a0a2f56824c2$var$MANIFEST_REPO_BRANCH);\n}\nasync function $c584a0a2f56824c2$var$installPython(workingDirectory) {\n const options = {\n cwd: workingDirectory,\n env: {\n ...process.env,\n ...(0, $42Mcf.IS_LINUX) && {\n LD_LIBRARY_PATH: $kC5q1$path.join(workingDirectory, \"lib\")\n }\n },\n silent: true,\n listeners: {\n stdout: (data)=>{\n $2heqc.info(data.toString().trim());\n },\n stderr: (data)=>{\n $2heqc.error(data.toString().trim());\n }\n }\n };\n if (0, $42Mcf.IS_WINDOWS) await $2mVwa.exec(\"powershell\", [\n \"./setup.ps1\"\n ], options);\n else await $2mVwa.exec(\"bash\", [\n \"./setup.sh\"\n ], options);\n}\nasync function $c584a0a2f56824c2$export$e1ffa7cd53152881(release) {\n const downloadUrl = release.files[0].download_url;\n $2heqc.info(`Download from \"${downloadUrl}\"`);\n let pythonPath = \"\";\n try {\n pythonPath = await $9aCWy.downloadTool(downloadUrl, undefined, $c584a0a2f56824c2$var$AUTH);\n $2heqc.info(\"Extract downloaded archive\");\n let pythonExtractedFolder;\n if (0, $42Mcf.IS_WINDOWS) pythonExtractedFolder = await $9aCWy.extractZip(pythonPath);\n else pythonExtractedFolder = await $9aCWy.extractTar(pythonPath);\n $2heqc.info(\"Execute installation script\");\n await $c584a0a2f56824c2$var$installPython(pythonExtractedFolder);\n } catch (err) {\n if (err instanceof $9aCWy.HTTPError) {\n // Rate limit?\n if (err.httpStatusCode === 403 || err.httpStatusCode === 429) $2heqc.info(`Received HTTP status code ${err.httpStatusCode}. This usually indicates the rate limit has been exceeded`);\n else $2heqc.info(err.message);\n if (err.stack) $2heqc.debug(err.stack);\n }\n throw err;\n }\n}\n\n});\nparcelRequire.register(\"9aCWy\", function(module, exports) {\n\nvar $6ad3419b47fd6a7f$var$$parcel$__dirname = $kC5q1$path.resolve(__dirname, \"../../node_modules/.pnpm/@actions+tool-cache@1.7.2/node_modules/@actions/tool-cache/lib\");\n\"use strict\";\nvar $6ad3419b47fd6a7f$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $6ad3419b47fd6a7f$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $6ad3419b47fd6a7f$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $6ad3419b47fd6a7f$var$__createBinding(result, mod, k);\n }\n $6ad3419b47fd6a7f$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $6ad3419b47fd6a7f$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar $6ad3419b47fd6a7f$var$__importDefault = module.exports && module.exports.__importDefault || function(mod) {\n return mod && mod.__esModule ? mod : {\n \"default\": mod\n };\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.evaluateVersions = module.exports.isExplicitVersion = module.exports.findFromManifest = module.exports.getManifestFromRepo = module.exports.findAllVersions = module.exports.find = module.exports.cacheFile = module.exports.cacheDir = module.exports.extractZip = module.exports.extractXar = module.exports.extractTar = module.exports.extract7z = module.exports.downloadTool = module.exports.HTTPError = void 0;\n\nconst $6ad3419b47fd6a7f$var$core = $6ad3419b47fd6a7f$var$__importStar((parcelRequire(\"2heqc\")));\n\nconst $6ad3419b47fd6a7f$var$io = $6ad3419b47fd6a7f$var$__importStar((parcelRequire(\"kSdX3\")));\n\nconst $6ad3419b47fd6a7f$var$fs = $6ad3419b47fd6a7f$var$__importStar($kC5q1$fs);\n\nconst $6ad3419b47fd6a7f$var$mm = $6ad3419b47fd6a7f$var$__importStar((parcelRequire(\"1Zp5D\")));\n\nconst $6ad3419b47fd6a7f$var$os = $6ad3419b47fd6a7f$var$__importStar($kC5q1$os);\n\nconst $6ad3419b47fd6a7f$var$path = $6ad3419b47fd6a7f$var$__importStar($kC5q1$path);\n\nconst $6ad3419b47fd6a7f$var$httpm = $6ad3419b47fd6a7f$var$__importStar((parcelRequire(\"7FuP1\")));\n\nconst $6ad3419b47fd6a7f$var$semver = $6ad3419b47fd6a7f$var$__importStar((parcelRequire(\"3BvyU\")));\n\nconst $6ad3419b47fd6a7f$var$stream = $6ad3419b47fd6a7f$var$__importStar($kC5q1$stream);\n\nconst $6ad3419b47fd6a7f$var$util = $6ad3419b47fd6a7f$var$__importStar($kC5q1$util);\n\nconst $6ad3419b47fd6a7f$var$v4_1 = $6ad3419b47fd6a7f$var$__importDefault((parcelRequire(\"bxsAi\")));\n\nvar $2mVwa = parcelRequire(\"2mVwa\");\n\n\nvar $2yfZv = parcelRequire(\"2yfZv\");\nclass $6ad3419b47fd6a7f$var$HTTPError extends Error {\n constructor(httpStatusCode){\n super(`Unexpected HTTP response: ${httpStatusCode}`);\n this.httpStatusCode = httpStatusCode;\n Object.setPrototypeOf(this, new.target.prototype);\n }\n}\nmodule.exports.HTTPError = $6ad3419b47fd6a7f$var$HTTPError;\nconst $6ad3419b47fd6a7f$var$IS_WINDOWS = process.platform === \"win32\";\nconst $6ad3419b47fd6a7f$var$IS_MAC = process.platform === \"darwin\";\nconst $6ad3419b47fd6a7f$var$userAgent = \"actions/tool-cache\";\n/**\n * Download a tool from an url and stream it into a file\n *\n * @param url url of tool to download\n * @param dest path to download tool\n * @param auth authorization header\n * @param headers other headers\n * @returns path to downloaded tool\n */ function $6ad3419b47fd6a7f$var$downloadTool(url, dest, auth, headers) {\n return $6ad3419b47fd6a7f$var$__awaiter(this, void 0, void 0, function*() {\n dest = dest || $6ad3419b47fd6a7f$var$path.join($6ad3419b47fd6a7f$var$_getTempDirectory(), $6ad3419b47fd6a7f$var$v4_1.default());\n yield $6ad3419b47fd6a7f$var$io.mkdirP($6ad3419b47fd6a7f$var$path.dirname(dest));\n $6ad3419b47fd6a7f$var$core.debug(`Downloading ${url}`);\n $6ad3419b47fd6a7f$var$core.debug(`Destination ${dest}`);\n const maxAttempts = 3;\n const minSeconds = $6ad3419b47fd6a7f$var$_getGlobal(\"TEST_DOWNLOAD_TOOL_RETRY_MIN_SECONDS\", 10);\n const maxSeconds = $6ad3419b47fd6a7f$var$_getGlobal(\"TEST_DOWNLOAD_TOOL_RETRY_MAX_SECONDS\", 20);\n const retryHelper = new $2yfZv.RetryHelper(maxAttempts, minSeconds, maxSeconds);\n return yield retryHelper.execute(()=>$6ad3419b47fd6a7f$var$__awaiter(this, void 0, void 0, function*() {\n return yield $6ad3419b47fd6a7f$var$downloadToolAttempt(url, dest || \"\", auth, headers);\n }), (err)=>{\n if (err instanceof $6ad3419b47fd6a7f$var$HTTPError && err.httpStatusCode) {\n // Don't retry anything less than 500, except 408 Request Timeout and 429 Too Many Requests\n if (err.httpStatusCode < 500 && err.httpStatusCode !== 408 && err.httpStatusCode !== 429) return false;\n }\n // Otherwise retry\n return true;\n });\n });\n}\nmodule.exports.downloadTool = $6ad3419b47fd6a7f$var$downloadTool;\nfunction $6ad3419b47fd6a7f$var$downloadToolAttempt(url, dest, auth, headers) {\n return $6ad3419b47fd6a7f$var$__awaiter(this, void 0, void 0, function*() {\n if ($6ad3419b47fd6a7f$var$fs.existsSync(dest)) throw new Error(`Destination file path ${dest} already exists`);\n // Get the response headers\n const http = new $6ad3419b47fd6a7f$var$httpm.HttpClient($6ad3419b47fd6a7f$var$userAgent, [], {\n allowRetries: false\n });\n if (auth) {\n $6ad3419b47fd6a7f$var$core.debug(\"set auth\");\n if (headers === undefined) headers = {};\n headers.authorization = auth;\n }\n const response = yield http.get(url, headers);\n if (response.message.statusCode !== 200) {\n const err = new $6ad3419b47fd6a7f$var$HTTPError(response.message.statusCode);\n $6ad3419b47fd6a7f$var$core.debug(`Failed to download from \"${url}\". Code(${response.message.statusCode}) Message(${response.message.statusMessage})`);\n throw err;\n }\n // Download the response body\n const pipeline = $6ad3419b47fd6a7f$var$util.promisify($6ad3419b47fd6a7f$var$stream.pipeline);\n const responseMessageFactory = $6ad3419b47fd6a7f$var$_getGlobal(\"TEST_DOWNLOAD_TOOL_RESPONSE_MESSAGE_FACTORY\", ()=>response.message);\n const readStream = responseMessageFactory();\n let succeeded = false;\n try {\n yield pipeline(readStream, $6ad3419b47fd6a7f$var$fs.createWriteStream(dest));\n $6ad3419b47fd6a7f$var$core.debug(\"download complete\");\n succeeded = true;\n return dest;\n } finally{\n // Error, delete dest before retry\n if (!succeeded) {\n $6ad3419b47fd6a7f$var$core.debug(\"download failed\");\n try {\n yield $6ad3419b47fd6a7f$var$io.rmRF(dest);\n } catch (err) {\n $6ad3419b47fd6a7f$var$core.debug(`Failed to delete '${dest}'. ${err.message}`);\n }\n }\n }\n });\n}\n/**\n * Extract a .7z file\n *\n * @param file path to the .7z file\n * @param dest destination directory. Optional.\n * @param _7zPath path to 7zr.exe. Optional, for long path support. Most .7z archives do not have this\n * problem. If your .7z archive contains very long paths, you can pass the path to 7zr.exe which will\n * gracefully handle long paths. By default 7zdec.exe is used because it is a very small program and is\n * bundled with the tool lib. However it does not support long paths. 7zr.exe is the reduced command line\n * interface, it is smaller than the full command line interface, and it does support long paths. At the\n * time of this writing, it is freely available from the LZMA SDK that is available on the 7zip website.\n * Be sure to check the current license agreement. If 7zr.exe is bundled with your action, then the path\n * to 7zr.exe can be pass to this function.\n * @returns path to the destination directory\n */ function $6ad3419b47fd6a7f$var$extract7z(file, dest, _7zPath) {\n return $6ad3419b47fd6a7f$var$__awaiter(this, void 0, void 0, function*() {\n $kC5q1$assert.ok($6ad3419b47fd6a7f$var$IS_WINDOWS, \"extract7z() not supported on current OS\");\n $kC5q1$assert.ok(file, 'parameter \"file\" is required');\n dest = yield $6ad3419b47fd6a7f$var$_createExtractFolder(dest);\n const originalCwd = process.cwd();\n process.chdir(dest);\n if (_7zPath) try {\n const logLevel = $6ad3419b47fd6a7f$var$core.isDebug() ? \"-bb1\" : \"-bb0\";\n const args = [\n \"x\",\n logLevel,\n \"-bd\",\n \"-sccUTF-8\",\n file\n ];\n const options = {\n silent: true\n };\n yield $2mVwa.exec(`\"${_7zPath}\"`, args, options);\n } finally{\n process.chdir(originalCwd);\n }\n else {\n const escapedScript = $6ad3419b47fd6a7f$var$path.join($6ad3419b47fd6a7f$var$$parcel$__dirname, \"..\", \"scripts\", \"Invoke-7zdec.ps1\").replace(/'/g, \"''\").replace(/\"|\\n|\\r/g, \"\"); // double-up single quotes, remove double quotes and newlines\n const escapedFile = file.replace(/'/g, \"''\").replace(/\"|\\n|\\r/g, \"\");\n const escapedTarget = dest.replace(/'/g, \"''\").replace(/\"|\\n|\\r/g, \"\");\n const command = `& '${escapedScript}' -Source '${escapedFile}' -Target '${escapedTarget}'`;\n const args = [\n \"-NoLogo\",\n \"-Sta\",\n \"-NoProfile\",\n \"-NonInteractive\",\n \"-ExecutionPolicy\",\n \"Unrestricted\",\n \"-Command\",\n command\n ];\n const options = {\n silent: true\n };\n try {\n const powershellPath = yield $6ad3419b47fd6a7f$var$io.which(\"powershell\", true);\n yield $2mVwa.exec(`\"${powershellPath}\"`, args, options);\n } finally{\n process.chdir(originalCwd);\n }\n }\n return dest;\n });\n}\nmodule.exports.extract7z = $6ad3419b47fd6a7f$var$extract7z;\n/**\n * Extract a compressed tar archive\n *\n * @param file path to the tar\n * @param dest destination directory. Optional.\n * @param flags flags for the tar command to use for extraction. Defaults to 'xz' (extracting gzipped tars). Optional.\n * @returns path to the destination directory\n */ function $6ad3419b47fd6a7f$var$extractTar(file, dest, flags = \"xz\") {\n return $6ad3419b47fd6a7f$var$__awaiter(this, void 0, void 0, function*() {\n if (!file) throw new Error(\"parameter 'file' is required\");\n // Create dest\n dest = yield $6ad3419b47fd6a7f$var$_createExtractFolder(dest);\n // Determine whether GNU tar\n $6ad3419b47fd6a7f$var$core.debug(\"Checking tar --version\");\n let versionOutput = \"\";\n yield $2mVwa.exec(\"tar --version\", [], {\n ignoreReturnCode: true,\n silent: true,\n listeners: {\n stdout: (data)=>versionOutput += data.toString(),\n stderr: (data)=>versionOutput += data.toString()\n }\n });\n $6ad3419b47fd6a7f$var$core.debug(versionOutput.trim());\n const isGnuTar = versionOutput.toUpperCase().includes(\"GNU TAR\");\n // Initialize args\n let args;\n if (flags instanceof Array) args = flags;\n else args = [\n flags\n ];\n if ($6ad3419b47fd6a7f$var$core.isDebug() && !flags.includes(\"v\")) args.push(\"-v\");\n let destArg = dest;\n let fileArg = file;\n if ($6ad3419b47fd6a7f$var$IS_WINDOWS && isGnuTar) {\n args.push(\"--force-local\");\n destArg = dest.replace(/\\\\/g, \"/\");\n // Technically only the dest needs to have `/` but for aesthetic consistency\n // convert slashes in the file arg too.\n fileArg = file.replace(/\\\\/g, \"/\");\n }\n if (isGnuTar) {\n // Suppress warnings when using GNU tar to extract archives created by BSD tar\n args.push(\"--warning=no-unknown-keyword\");\n args.push(\"--overwrite\");\n }\n args.push(\"-C\", destArg, \"-f\", fileArg);\n yield $2mVwa.exec(`tar`, args);\n return dest;\n });\n}\nmodule.exports.extractTar = $6ad3419b47fd6a7f$var$extractTar;\n/**\n * Extract a xar compatible archive\n *\n * @param file path to the archive\n * @param dest destination directory. Optional.\n * @param flags flags for the xar. Optional.\n * @returns path to the destination directory\n */ function $6ad3419b47fd6a7f$var$extractXar(file, dest, flags = []) {\n return $6ad3419b47fd6a7f$var$__awaiter(this, void 0, void 0, function*() {\n $kC5q1$assert.ok($6ad3419b47fd6a7f$var$IS_MAC, \"extractXar() not supported on current OS\");\n $kC5q1$assert.ok(file, 'parameter \"file\" is required');\n dest = yield $6ad3419b47fd6a7f$var$_createExtractFolder(dest);\n let args;\n if (flags instanceof Array) args = flags;\n else args = [\n flags\n ];\n args.push(\"-x\", \"-C\", dest, \"-f\", file);\n if ($6ad3419b47fd6a7f$var$core.isDebug()) args.push(\"-v\");\n const xarPath = yield $6ad3419b47fd6a7f$var$io.which(\"xar\", true);\n yield $2mVwa.exec(`\"${xarPath}\"`, $6ad3419b47fd6a7f$var$_unique(args));\n return dest;\n });\n}\nmodule.exports.extractXar = $6ad3419b47fd6a7f$var$extractXar;\n/**\n * Extract a zip\n *\n * @param file path to the zip\n * @param dest destination directory. Optional.\n * @returns path to the destination directory\n */ function $6ad3419b47fd6a7f$var$extractZip(file, dest) {\n return $6ad3419b47fd6a7f$var$__awaiter(this, void 0, void 0, function*() {\n if (!file) throw new Error(\"parameter 'file' is required\");\n dest = yield $6ad3419b47fd6a7f$var$_createExtractFolder(dest);\n if ($6ad3419b47fd6a7f$var$IS_WINDOWS) yield $6ad3419b47fd6a7f$var$extractZipWin(file, dest);\n else yield $6ad3419b47fd6a7f$var$extractZipNix(file, dest);\n return dest;\n });\n}\nmodule.exports.extractZip = $6ad3419b47fd6a7f$var$extractZip;\nfunction $6ad3419b47fd6a7f$var$extractZipWin(file, dest) {\n return $6ad3419b47fd6a7f$var$__awaiter(this, void 0, void 0, function*() {\n // build the powershell command\n const escapedFile = file.replace(/'/g, \"''\").replace(/\"|\\n|\\r/g, \"\"); // double-up single quotes, remove double quotes and newlines\n const escapedDest = dest.replace(/'/g, \"''\").replace(/\"|\\n|\\r/g, \"\");\n const pwshPath = yield $6ad3419b47fd6a7f$var$io.which(\"pwsh\", false);\n //To match the file overwrite behavior on nix systems, we use the overwrite = true flag for ExtractToDirectory\n //and the -Force flag for Expand-Archive as a fallback\n if (pwshPath) {\n //attempt to use pwsh with ExtractToDirectory, if this fails attempt Expand-Archive\n const pwshCommand = [\n `$ErrorActionPreference = 'Stop' ;`,\n `try { Add-Type -AssemblyName System.IO.Compression.ZipFile } catch { } ;`,\n `try { [System.IO.Compression.ZipFile]::ExtractToDirectory('${escapedFile}', '${escapedDest}', $true) }`,\n `catch { if (($_.Exception.GetType().FullName -eq 'System.Management.Automation.MethodException') -or ($_.Exception.GetType().FullName -eq 'System.Management.Automation.RuntimeException') ){ Expand-Archive -LiteralPath '${escapedFile}' -DestinationPath '${escapedDest}' -Force } else { throw $_ } } ;`\n ].join(\" \");\n const args = [\n \"-NoLogo\",\n \"-NoProfile\",\n \"-NonInteractive\",\n \"-ExecutionPolicy\",\n \"Unrestricted\",\n \"-Command\",\n pwshCommand\n ];\n $6ad3419b47fd6a7f$var$core.debug(`Using pwsh at path: ${pwshPath}`);\n yield $2mVwa.exec(`\"${pwshPath}\"`, args);\n } else {\n const powershellCommand = [\n `$ErrorActionPreference = 'Stop' ;`,\n `try { Add-Type -AssemblyName System.IO.Compression.FileSystem } catch { } ;`,\n `if ((Get-Command -Name Expand-Archive -Module Microsoft.PowerShell.Archive -ErrorAction Ignore)) { Expand-Archive -LiteralPath '${escapedFile}' -DestinationPath '${escapedDest}' -Force }`,\n `else {[System.IO.Compression.ZipFile]::ExtractToDirectory('${escapedFile}', '${escapedDest}', $true) }`\n ].join(\" \");\n const args = [\n \"-NoLogo\",\n \"-Sta\",\n \"-NoProfile\",\n \"-NonInteractive\",\n \"-ExecutionPolicy\",\n \"Unrestricted\",\n \"-Command\",\n powershellCommand\n ];\n const powershellPath = yield $6ad3419b47fd6a7f$var$io.which(\"powershell\", true);\n $6ad3419b47fd6a7f$var$core.debug(`Using powershell at path: ${powershellPath}`);\n yield $2mVwa.exec(`\"${powershellPath}\"`, args);\n }\n });\n}\nfunction $6ad3419b47fd6a7f$var$extractZipNix(file, dest) {\n return $6ad3419b47fd6a7f$var$__awaiter(this, void 0, void 0, function*() {\n const unzipPath = yield $6ad3419b47fd6a7f$var$io.which(\"unzip\", true);\n const args = [\n file\n ];\n if (!$6ad3419b47fd6a7f$var$core.isDebug()) args.unshift(\"-q\");\n args.unshift(\"-o\"); //overwrite with -o, otherwise a prompt is shown which freezes the run\n yield $2mVwa.exec(`\"${unzipPath}\"`, args, {\n cwd: dest\n });\n });\n}\n/**\n * Caches a directory and installs it into the tool cacheDir\n *\n * @param sourceDir the directory to cache into tools\n * @param tool tool name\n * @param version version of the tool. semver format\n * @param arch architecture of the tool. Optional. Defaults to machine architecture\n */ function $6ad3419b47fd6a7f$var$cacheDir(sourceDir, tool, version, arch) {\n return $6ad3419b47fd6a7f$var$__awaiter(this, void 0, void 0, function*() {\n version = $6ad3419b47fd6a7f$var$semver.clean(version) || version;\n arch = arch || $6ad3419b47fd6a7f$var$os.arch();\n $6ad3419b47fd6a7f$var$core.debug(`Caching tool ${tool} ${version} ${arch}`);\n $6ad3419b47fd6a7f$var$core.debug(`source dir: ${sourceDir}`);\n if (!$6ad3419b47fd6a7f$var$fs.statSync(sourceDir).isDirectory()) throw new Error(\"sourceDir is not a directory\");\n // Create the tool dir\n const destPath = yield $6ad3419b47fd6a7f$var$_createToolPath(tool, version, arch);\n // copy each child item. do not move. move can fail on Windows\n // due to anti-virus software having an open handle on a file.\n for (const itemName of $6ad3419b47fd6a7f$var$fs.readdirSync(sourceDir)){\n const s = $6ad3419b47fd6a7f$var$path.join(sourceDir, itemName);\n yield $6ad3419b47fd6a7f$var$io.cp(s, destPath, {\n recursive: true\n });\n }\n // write .complete\n $6ad3419b47fd6a7f$var$_completeToolPath(tool, version, arch);\n return destPath;\n });\n}\nmodule.exports.cacheDir = $6ad3419b47fd6a7f$var$cacheDir;\n/**\n * Caches a downloaded file (GUID) and installs it\n * into the tool cache with a given targetName\n *\n * @param sourceFile the file to cache into tools. Typically a result of downloadTool which is a guid.\n * @param targetFile the name of the file name in the tools directory\n * @param tool tool name\n * @param version version of the tool. semver format\n * @param arch architecture of the tool. Optional. Defaults to machine architecture\n */ function $6ad3419b47fd6a7f$var$cacheFile(sourceFile, targetFile, tool, version, arch) {\n return $6ad3419b47fd6a7f$var$__awaiter(this, void 0, void 0, function*() {\n version = $6ad3419b47fd6a7f$var$semver.clean(version) || version;\n arch = arch || $6ad3419b47fd6a7f$var$os.arch();\n $6ad3419b47fd6a7f$var$core.debug(`Caching tool ${tool} ${version} ${arch}`);\n $6ad3419b47fd6a7f$var$core.debug(`source file: ${sourceFile}`);\n if (!$6ad3419b47fd6a7f$var$fs.statSync(sourceFile).isFile()) throw new Error(\"sourceFile is not a file\");\n // create the tool dir\n const destFolder = yield $6ad3419b47fd6a7f$var$_createToolPath(tool, version, arch);\n // copy instead of move. move can fail on Windows due to\n // anti-virus software having an open handle on a file.\n const destPath = $6ad3419b47fd6a7f$var$path.join(destFolder, targetFile);\n $6ad3419b47fd6a7f$var$core.debug(`destination file ${destPath}`);\n yield $6ad3419b47fd6a7f$var$io.cp(sourceFile, destPath);\n // write .complete\n $6ad3419b47fd6a7f$var$_completeToolPath(tool, version, arch);\n return destFolder;\n });\n}\nmodule.exports.cacheFile = $6ad3419b47fd6a7f$var$cacheFile;\n/**\n * Finds the path to a tool version in the local installed tool cache\n *\n * @param toolName name of the tool\n * @param versionSpec version of the tool\n * @param arch optional arch. defaults to arch of computer\n */ function $6ad3419b47fd6a7f$var$find(toolName, versionSpec, arch) {\n if (!toolName) throw new Error(\"toolName parameter is required\");\n if (!versionSpec) throw new Error(\"versionSpec parameter is required\");\n arch = arch || $6ad3419b47fd6a7f$var$os.arch();\n // attempt to resolve an explicit version\n if (!$6ad3419b47fd6a7f$var$isExplicitVersion(versionSpec)) {\n const localVersions = $6ad3419b47fd6a7f$var$findAllVersions(toolName, arch);\n const match = $6ad3419b47fd6a7f$var$evaluateVersions(localVersions, versionSpec);\n versionSpec = match;\n }\n // check for the explicit version in the cache\n let toolPath = \"\";\n if (versionSpec) {\n versionSpec = $6ad3419b47fd6a7f$var$semver.clean(versionSpec) || \"\";\n const cachePath = $6ad3419b47fd6a7f$var$path.join($6ad3419b47fd6a7f$var$_getCacheDirectory(), toolName, versionSpec, arch);\n $6ad3419b47fd6a7f$var$core.debug(`checking cache: ${cachePath}`);\n if ($6ad3419b47fd6a7f$var$fs.existsSync(cachePath) && $6ad3419b47fd6a7f$var$fs.existsSync(`${cachePath}.complete`)) {\n $6ad3419b47fd6a7f$var$core.debug(`Found tool in cache ${toolName} ${versionSpec} ${arch}`);\n toolPath = cachePath;\n } else $6ad3419b47fd6a7f$var$core.debug(\"not found\");\n }\n return toolPath;\n}\nmodule.exports.find = $6ad3419b47fd6a7f$var$find;\n/**\n * Finds the paths to all versions of a tool that are installed in the local tool cache\n *\n * @param toolName name of the tool\n * @param arch optional arch. defaults to arch of computer\n */ function $6ad3419b47fd6a7f$var$findAllVersions(toolName, arch) {\n const versions = [];\n arch = arch || $6ad3419b47fd6a7f$var$os.arch();\n const toolPath = $6ad3419b47fd6a7f$var$path.join($6ad3419b47fd6a7f$var$_getCacheDirectory(), toolName);\n if ($6ad3419b47fd6a7f$var$fs.existsSync(toolPath)) {\n const children = $6ad3419b47fd6a7f$var$fs.readdirSync(toolPath);\n for (const child of children)if ($6ad3419b47fd6a7f$var$isExplicitVersion(child)) {\n const fullPath = $6ad3419b47fd6a7f$var$path.join(toolPath, child, arch || \"\");\n if ($6ad3419b47fd6a7f$var$fs.existsSync(fullPath) && $6ad3419b47fd6a7f$var$fs.existsSync(`${fullPath}.complete`)) versions.push(child);\n }\n }\n return versions;\n}\nmodule.exports.findAllVersions = $6ad3419b47fd6a7f$var$findAllVersions;\nfunction $6ad3419b47fd6a7f$var$getManifestFromRepo(owner, repo, auth, branch = \"master\") {\n return $6ad3419b47fd6a7f$var$__awaiter(this, void 0, void 0, function*() {\n let releases = [];\n const treeUrl = `https://api.github.com/repos/${owner}/${repo}/git/trees/${branch}`;\n const http = new $6ad3419b47fd6a7f$var$httpm.HttpClient(\"tool-cache\");\n const headers = {};\n if (auth) {\n $6ad3419b47fd6a7f$var$core.debug(\"set auth\");\n headers.authorization = auth;\n }\n const response = yield http.getJson(treeUrl, headers);\n if (!response.result) return releases;\n let manifestUrl = \"\";\n for (const item of response.result.tree)if (item.path === \"versions-manifest.json\") {\n manifestUrl = item.url;\n break;\n }\n headers[\"accept\"] = \"application/vnd.github.VERSION.raw\";\n let versionsRaw = yield (yield http.get(manifestUrl, headers)).readBody();\n if (versionsRaw) {\n // shouldn't be needed but protects against invalid json saved with BOM\n versionsRaw = versionsRaw.replace(/^\\uFEFF/, \"\");\n try {\n releases = JSON.parse(versionsRaw);\n } catch (_a) {\n $6ad3419b47fd6a7f$var$core.debug(\"Invalid json\");\n }\n }\n return releases;\n });\n}\nmodule.exports.getManifestFromRepo = $6ad3419b47fd6a7f$var$getManifestFromRepo;\nfunction $6ad3419b47fd6a7f$var$findFromManifest(versionSpec, stable, manifest, archFilter = $6ad3419b47fd6a7f$var$os.arch()) {\n return $6ad3419b47fd6a7f$var$__awaiter(this, void 0, void 0, function*() {\n // wrap the internal impl\n const match = yield $6ad3419b47fd6a7f$var$mm._findMatch(versionSpec, stable, manifest, archFilter);\n return match;\n });\n}\nmodule.exports.findFromManifest = $6ad3419b47fd6a7f$var$findFromManifest;\nfunction $6ad3419b47fd6a7f$var$_createExtractFolder(dest) {\n return $6ad3419b47fd6a7f$var$__awaiter(this, void 0, void 0, function*() {\n if (!dest) // create a temp dir\n dest = $6ad3419b47fd6a7f$var$path.join($6ad3419b47fd6a7f$var$_getTempDirectory(), $6ad3419b47fd6a7f$var$v4_1.default());\n yield $6ad3419b47fd6a7f$var$io.mkdirP(dest);\n return dest;\n });\n}\nfunction $6ad3419b47fd6a7f$var$_createToolPath(tool, version, arch) {\n return $6ad3419b47fd6a7f$var$__awaiter(this, void 0, void 0, function*() {\n const folderPath = $6ad3419b47fd6a7f$var$path.join($6ad3419b47fd6a7f$var$_getCacheDirectory(), tool, $6ad3419b47fd6a7f$var$semver.clean(version) || version, arch || \"\");\n $6ad3419b47fd6a7f$var$core.debug(`destination ${folderPath}`);\n const markerPath = `${folderPath}.complete`;\n yield $6ad3419b47fd6a7f$var$io.rmRF(folderPath);\n yield $6ad3419b47fd6a7f$var$io.rmRF(markerPath);\n yield $6ad3419b47fd6a7f$var$io.mkdirP(folderPath);\n return folderPath;\n });\n}\nfunction $6ad3419b47fd6a7f$var$_completeToolPath(tool, version, arch) {\n const folderPath = $6ad3419b47fd6a7f$var$path.join($6ad3419b47fd6a7f$var$_getCacheDirectory(), tool, $6ad3419b47fd6a7f$var$semver.clean(version) || version, arch || \"\");\n const markerPath = `${folderPath}.complete`;\n $6ad3419b47fd6a7f$var$fs.writeFileSync(markerPath, \"\");\n $6ad3419b47fd6a7f$var$core.debug(\"finished caching tool\");\n}\n/**\n * Check if version string is explicit\n *\n * @param versionSpec version string to check\n */ function $6ad3419b47fd6a7f$var$isExplicitVersion(versionSpec) {\n const c = $6ad3419b47fd6a7f$var$semver.clean(versionSpec) || \"\";\n $6ad3419b47fd6a7f$var$core.debug(`isExplicit: ${c}`);\n const valid = $6ad3419b47fd6a7f$var$semver.valid(c) != null;\n $6ad3419b47fd6a7f$var$core.debug(`explicit? ${valid}`);\n return valid;\n}\nmodule.exports.isExplicitVersion = $6ad3419b47fd6a7f$var$isExplicitVersion;\n/**\n * Get the highest satisfiying semantic version in `versions` which satisfies `versionSpec`\n *\n * @param versions array of versions to evaluate\n * @param versionSpec semantic version spec to satisfy\n */ function $6ad3419b47fd6a7f$var$evaluateVersions(versions, versionSpec) {\n let version = \"\";\n $6ad3419b47fd6a7f$var$core.debug(`evaluating ${versions.length} versions`);\n versions = versions.sort((a, b)=>{\n if ($6ad3419b47fd6a7f$var$semver.gt(a, b)) return 1;\n return -1;\n });\n for(let i = versions.length - 1; i >= 0; i--){\n const potential = versions[i];\n const satisfied = $6ad3419b47fd6a7f$var$semver.satisfies(potential, versionSpec);\n if (satisfied) {\n version = potential;\n break;\n }\n }\n if (version) $6ad3419b47fd6a7f$var$core.debug(`matched: ${version}`);\n else $6ad3419b47fd6a7f$var$core.debug(\"match not found\");\n return version;\n}\nmodule.exports.evaluateVersions = $6ad3419b47fd6a7f$var$evaluateVersions;\n/**\n * Gets RUNNER_TOOL_CACHE\n */ function $6ad3419b47fd6a7f$var$_getCacheDirectory() {\n const cacheDirectory = process.env[\"RUNNER_TOOL_CACHE\"] || \"\";\n $kC5q1$assert.ok(cacheDirectory, \"Expected RUNNER_TOOL_CACHE to be defined\");\n return cacheDirectory;\n}\n/**\n * Gets RUNNER_TEMP\n */ function $6ad3419b47fd6a7f$var$_getTempDirectory() {\n const tempDirectory = process.env[\"RUNNER_TEMP\"] || \"\";\n $kC5q1$assert.ok(tempDirectory, \"Expected RUNNER_TEMP to be defined\");\n return tempDirectory;\n}\n/**\n * Gets a global variable\n */ function $6ad3419b47fd6a7f$var$_getGlobal(key, defaultValue) {\n /* eslint-disable @typescript-eslint/no-explicit-any */ const value = $parcel$global[key];\n /* eslint-enable @typescript-eslint/no-explicit-any */ return value !== undefined ? value : defaultValue;\n}\n/**\n * Returns an array of unique values.\n * @param values Values to make unique.\n */ function $6ad3419b47fd6a7f$var$_unique(values) {\n return Array.from(new Set(values));\n}\n\n});\nparcelRequire.register(\"1Zp5D\", function(module, exports) {\n\"use strict\";\nvar $172ef34648361db0$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $172ef34648361db0$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $172ef34648361db0$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $172ef34648361db0$var$__createBinding(result, mod, k);\n }\n $172ef34648361db0$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $172ef34648361db0$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports._readLinuxVersionFile = module.exports._getOsVersion = module.exports._findMatch = void 0;\n\nconst $172ef34648361db0$var$semver = $172ef34648361db0$var$__importStar((parcelRequire(\"3BvyU\")));\n\nvar $2heqc = parcelRequire(\"2heqc\");\n\n\n\nfunction $172ef34648361db0$var$_findMatch(versionSpec, stable, candidates, archFilter) {\n return $172ef34648361db0$var$__awaiter(this, void 0, void 0, function*() {\n const platFilter = $kC5q1$os.platform();\n let result;\n let match;\n let file;\n for (const candidate of candidates){\n const version = candidate.version;\n $2heqc.debug(`check ${version} satisfies ${versionSpec}`);\n if ($172ef34648361db0$var$semver.satisfies(version, versionSpec) && (!stable || candidate.stable === stable)) {\n file = candidate.files.find((item)=>{\n $2heqc.debug(`${item.arch}===${archFilter} && ${item.platform}===${platFilter}`);\n let chk = item.arch === archFilter && item.platform === platFilter;\n if (chk && item.platform_version) {\n const osVersion = module.exports._getOsVersion();\n if (osVersion === item.platform_version) chk = true;\n else chk = $172ef34648361db0$var$semver.satisfies(osVersion, item.platform_version);\n }\n return chk;\n });\n if (file) {\n $2heqc.debug(`matched ${candidate.version}`);\n match = candidate;\n break;\n }\n }\n }\n if (match && file) {\n // clone since we're mutating the file list to be only the file that matches\n result = Object.assign({}, match);\n result.files = [\n file\n ];\n }\n return result;\n });\n}\nmodule.exports._findMatch = $172ef34648361db0$var$_findMatch;\nfunction $172ef34648361db0$var$_getOsVersion() {\n // TODO: add windows and other linux, arm variants\n // right now filtering on version is only an ubuntu and macos scenario for tools we build for hosted (python)\n const plat = $kC5q1$os.platform();\n let version = \"\";\n if (plat === \"darwin\") version = $kC5q1$child_process.execSync(\"sw_vers -productVersion\").toString();\n else if (plat === \"linux\") {\n // lsb_release process not in some containers, readfile\n // Run cat /etc/lsb-release\n // DISTRIB_ID=Ubuntu\n // DISTRIB_RELEASE=18.04\n // DISTRIB_CODENAME=bionic\n // DISTRIB_DESCRIPTION=\"Ubuntu 18.04.4 LTS\"\n const lsbContents = module.exports._readLinuxVersionFile();\n if (lsbContents) {\n const lines = lsbContents.split(\"\\n\");\n for (const line of lines){\n const parts = line.split(\"=\");\n if (parts.length === 2 && (parts[0].trim() === \"VERSION_ID\" || parts[0].trim() === \"DISTRIB_RELEASE\")) {\n version = parts[1].trim().replace(/^\"/, \"\").replace(/\"$/, \"\");\n break;\n }\n }\n }\n }\n return version;\n}\nmodule.exports._getOsVersion = $172ef34648361db0$var$_getOsVersion;\nfunction $172ef34648361db0$var$_readLinuxVersionFile() {\n const lsbReleaseFile = \"/etc/lsb-release\";\n const osReleaseFile = \"/etc/os-release\";\n let contents = \"\";\n if ($kC5q1$fs.existsSync(lsbReleaseFile)) contents = $kC5q1$fs.readFileSync(lsbReleaseFile).toString();\n else if ($kC5q1$fs.existsSync(osReleaseFile)) contents = $kC5q1$fs.readFileSync(osReleaseFile).toString();\n return contents;\n}\nmodule.exports._readLinuxVersionFile = $172ef34648361db0$var$_readLinuxVersionFile;\n\n});\n\nparcelRequire.register(\"7FuP1\", function(module, exports) {\n\"use strict\";\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\n\n\n\nvar $kG5AI = parcelRequire(\"kG5AI\");\nlet $59544557ea602607$var$tunnel;\nvar $59544557ea602607$var$HttpCodes;\n(function(HttpCodes) {\n HttpCodes[HttpCodes[\"OK\"] = 200] = \"OK\";\n HttpCodes[HttpCodes[\"MultipleChoices\"] = 300] = \"MultipleChoices\";\n HttpCodes[HttpCodes[\"MovedPermanently\"] = 301] = \"MovedPermanently\";\n HttpCodes[HttpCodes[\"ResourceMoved\"] = 302] = \"ResourceMoved\";\n HttpCodes[HttpCodes[\"SeeOther\"] = 303] = \"SeeOther\";\n HttpCodes[HttpCodes[\"NotModified\"] = 304] = \"NotModified\";\n HttpCodes[HttpCodes[\"UseProxy\"] = 305] = \"UseProxy\";\n HttpCodes[HttpCodes[\"SwitchProxy\"] = 306] = \"SwitchProxy\";\n HttpCodes[HttpCodes[\"TemporaryRedirect\"] = 307] = \"TemporaryRedirect\";\n HttpCodes[HttpCodes[\"PermanentRedirect\"] = 308] = \"PermanentRedirect\";\n HttpCodes[HttpCodes[\"BadRequest\"] = 400] = \"BadRequest\";\n HttpCodes[HttpCodes[\"Unauthorized\"] = 401] = \"Unauthorized\";\n HttpCodes[HttpCodes[\"PaymentRequired\"] = 402] = \"PaymentRequired\";\n HttpCodes[HttpCodes[\"Forbidden\"] = 403] = \"Forbidden\";\n HttpCodes[HttpCodes[\"NotFound\"] = 404] = \"NotFound\";\n HttpCodes[HttpCodes[\"MethodNotAllowed\"] = 405] = \"MethodNotAllowed\";\n HttpCodes[HttpCodes[\"NotAcceptable\"] = 406] = \"NotAcceptable\";\n HttpCodes[HttpCodes[\"ProxyAuthenticationRequired\"] = 407] = \"ProxyAuthenticationRequired\";\n HttpCodes[HttpCodes[\"RequestTimeout\"] = 408] = \"RequestTimeout\";\n HttpCodes[HttpCodes[\"Conflict\"] = 409] = \"Conflict\";\n HttpCodes[HttpCodes[\"Gone\"] = 410] = \"Gone\";\n HttpCodes[HttpCodes[\"TooManyRequests\"] = 429] = \"TooManyRequests\";\n HttpCodes[HttpCodes[\"InternalServerError\"] = 500] = \"InternalServerError\";\n HttpCodes[HttpCodes[\"NotImplemented\"] = 501] = \"NotImplemented\";\n HttpCodes[HttpCodes[\"BadGateway\"] = 502] = \"BadGateway\";\n HttpCodes[HttpCodes[\"ServiceUnavailable\"] = 503] = \"ServiceUnavailable\";\n HttpCodes[HttpCodes[\"GatewayTimeout\"] = 504] = \"GatewayTimeout\";\n})($59544557ea602607$var$HttpCodes = module.exports.HttpCodes || (module.exports.HttpCodes = {}));\nvar $59544557ea602607$var$Headers;\n(function(Headers) {\n Headers[\"Accept\"] = \"accept\";\n Headers[\"ContentType\"] = \"content-type\";\n})($59544557ea602607$var$Headers = module.exports.Headers || (module.exports.Headers = {}));\nvar $59544557ea602607$var$MediaTypes;\n(function(MediaTypes) {\n MediaTypes[\"ApplicationJson\"] = \"application/json\";\n})($59544557ea602607$var$MediaTypes = module.exports.MediaTypes || (module.exports.MediaTypes = {}));\n/**\n * Returns the proxy URL, depending upon the supplied url and proxy environment variables.\n * @param serverUrl The server URL where the request will be sent. For example, https://api.github.com\n */ function $59544557ea602607$var$getProxyUrl(serverUrl) {\n let proxyUrl = $kG5AI.getProxyUrl(new URL(serverUrl));\n return proxyUrl ? proxyUrl.href : \"\";\n}\nmodule.exports.getProxyUrl = $59544557ea602607$var$getProxyUrl;\nconst $59544557ea602607$var$HttpRedirectCodes = [\n $59544557ea602607$var$HttpCodes.MovedPermanently,\n $59544557ea602607$var$HttpCodes.ResourceMoved,\n $59544557ea602607$var$HttpCodes.SeeOther,\n $59544557ea602607$var$HttpCodes.TemporaryRedirect,\n $59544557ea602607$var$HttpCodes.PermanentRedirect\n];\nconst $59544557ea602607$var$HttpResponseRetryCodes = [\n $59544557ea602607$var$HttpCodes.BadGateway,\n $59544557ea602607$var$HttpCodes.ServiceUnavailable,\n $59544557ea602607$var$HttpCodes.GatewayTimeout\n];\nconst $59544557ea602607$var$RetryableHttpVerbs = [\n \"OPTIONS\",\n \"GET\",\n \"DELETE\",\n \"HEAD\"\n];\nconst $59544557ea602607$var$ExponentialBackoffCeiling = 10;\nconst $59544557ea602607$var$ExponentialBackoffTimeSlice = 5;\nclass $59544557ea602607$var$HttpClientError extends Error {\n constructor(message, statusCode){\n super(message);\n this.name = \"HttpClientError\";\n this.statusCode = statusCode;\n Object.setPrototypeOf(this, $59544557ea602607$var$HttpClientError.prototype);\n }\n}\nmodule.exports.HttpClientError = $59544557ea602607$var$HttpClientError;\nclass $59544557ea602607$var$HttpClientResponse {\n constructor(message){\n this.message = message;\n }\n readBody() {\n return new Promise(async (resolve, reject)=>{\n let output = Buffer.alloc(0);\n this.message.on(\"data\", (chunk)=>{\n output = Buffer.concat([\n output,\n chunk\n ]);\n });\n this.message.on(\"end\", ()=>{\n resolve(output.toString());\n });\n });\n }\n}\nmodule.exports.HttpClientResponse = $59544557ea602607$var$HttpClientResponse;\nfunction $59544557ea602607$var$isHttps(requestUrl) {\n let parsedUrl = new URL(requestUrl);\n return parsedUrl.protocol === \"https:\";\n}\nmodule.exports.isHttps = $59544557ea602607$var$isHttps;\n\nclass $59544557ea602607$var$HttpClient {\n constructor(userAgent, handlers, requestOptions){\n this._ignoreSslError = false;\n this._allowRedirects = true;\n this._allowRedirectDowngrade = false;\n this._maxRedirects = 50;\n this._allowRetries = false;\n this._maxRetries = 1;\n this._keepAlive = false;\n this._disposed = false;\n this.userAgent = userAgent;\n this.handlers = handlers || [];\n this.requestOptions = requestOptions;\n if (requestOptions) {\n if (requestOptions.ignoreSslError != null) this._ignoreSslError = requestOptions.ignoreSslError;\n this._socketTimeout = requestOptions.socketTimeout;\n if (requestOptions.allowRedirects != null) this._allowRedirects = requestOptions.allowRedirects;\n if (requestOptions.allowRedirectDowngrade != null) this._allowRedirectDowngrade = requestOptions.allowRedirectDowngrade;\n if (requestOptions.maxRedirects != null) this._maxRedirects = Math.max(requestOptions.maxRedirects, 0);\n if (requestOptions.keepAlive != null) this._keepAlive = requestOptions.keepAlive;\n if (requestOptions.allowRetries != null) this._allowRetries = requestOptions.allowRetries;\n if (requestOptions.maxRetries != null) this._maxRetries = requestOptions.maxRetries;\n }\n }\n options(requestUrl, additionalHeaders) {\n return this.request(\"OPTIONS\", requestUrl, null, additionalHeaders || {});\n }\n get(requestUrl, additionalHeaders) {\n return this.request(\"GET\", requestUrl, null, additionalHeaders || {});\n }\n del(requestUrl, additionalHeaders) {\n return this.request(\"DELETE\", requestUrl, null, additionalHeaders || {});\n }\n post(requestUrl, data, additionalHeaders) {\n return this.request(\"POST\", requestUrl, data, additionalHeaders || {});\n }\n patch(requestUrl, data, additionalHeaders) {\n return this.request(\"PATCH\", requestUrl, data, additionalHeaders || {});\n }\n put(requestUrl, data, additionalHeaders) {\n return this.request(\"PUT\", requestUrl, data, additionalHeaders || {});\n }\n head(requestUrl, additionalHeaders) {\n return this.request(\"HEAD\", requestUrl, null, additionalHeaders || {});\n }\n sendStream(verb, requestUrl, stream, additionalHeaders) {\n return this.request(verb, requestUrl, stream, additionalHeaders);\n }\n /**\n * Gets a typed object from an endpoint\n * Be aware that not found returns a null. Other errors (4xx, 5xx) reject the promise\n */ async getJson(requestUrl, additionalHeaders = {}) {\n additionalHeaders[$59544557ea602607$var$Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, $59544557ea602607$var$Headers.Accept, $59544557ea602607$var$MediaTypes.ApplicationJson);\n let res = await this.get(requestUrl, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n }\n async postJson(requestUrl, obj, additionalHeaders = {}) {\n let data = JSON.stringify(obj, null, 2);\n additionalHeaders[$59544557ea602607$var$Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, $59544557ea602607$var$Headers.Accept, $59544557ea602607$var$MediaTypes.ApplicationJson);\n additionalHeaders[$59544557ea602607$var$Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, $59544557ea602607$var$Headers.ContentType, $59544557ea602607$var$MediaTypes.ApplicationJson);\n let res = await this.post(requestUrl, data, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n }\n async putJson(requestUrl, obj, additionalHeaders = {}) {\n let data = JSON.stringify(obj, null, 2);\n additionalHeaders[$59544557ea602607$var$Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, $59544557ea602607$var$Headers.Accept, $59544557ea602607$var$MediaTypes.ApplicationJson);\n additionalHeaders[$59544557ea602607$var$Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, $59544557ea602607$var$Headers.ContentType, $59544557ea602607$var$MediaTypes.ApplicationJson);\n let res = await this.put(requestUrl, data, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n }\n async patchJson(requestUrl, obj, additionalHeaders = {}) {\n let data = JSON.stringify(obj, null, 2);\n additionalHeaders[$59544557ea602607$var$Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, $59544557ea602607$var$Headers.Accept, $59544557ea602607$var$MediaTypes.ApplicationJson);\n additionalHeaders[$59544557ea602607$var$Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, $59544557ea602607$var$Headers.ContentType, $59544557ea602607$var$MediaTypes.ApplicationJson);\n let res = await this.patch(requestUrl, data, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n }\n /**\n * Makes a raw http request.\n * All other methods such as get, post, patch, and request ultimately call this.\n * Prefer get, del, post and patch\n */ async request(verb, requestUrl, data, headers) {\n if (this._disposed) throw new Error(\"Client has already been disposed.\");\n let parsedUrl = new URL(requestUrl);\n let info = this._prepareRequest(verb, parsedUrl, headers);\n // Only perform retries on reads since writes may not be idempotent.\n let maxTries = this._allowRetries && $59544557ea602607$var$RetryableHttpVerbs.indexOf(verb) != -1 ? this._maxRetries + 1 : 1;\n let numTries = 0;\n let response;\n while(numTries < maxTries){\n response = await this.requestRaw(info, data);\n // Check if it's an authentication challenge\n if (response && response.message && response.message.statusCode === $59544557ea602607$var$HttpCodes.Unauthorized) {\n let authenticationHandler;\n for(let i = 0; i < this.handlers.length; i++)if (this.handlers[i].canHandleAuthentication(response)) {\n authenticationHandler = this.handlers[i];\n break;\n }\n if (authenticationHandler) return authenticationHandler.handleAuthentication(this, info, data);\n else // We have received an unauthorized response but have no handlers to handle it.\n // Let the response return to the caller.\n return response;\n }\n let redirectsRemaining = this._maxRedirects;\n while($59544557ea602607$var$HttpRedirectCodes.indexOf(response.message.statusCode) != -1 && this._allowRedirects && redirectsRemaining > 0){\n const redirectUrl = response.message.headers[\"location\"];\n if (!redirectUrl) break;\n let parsedRedirectUrl = new URL(redirectUrl);\n if (parsedUrl.protocol == \"https:\" && parsedUrl.protocol != parsedRedirectUrl.protocol && !this._allowRedirectDowngrade) throw new 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.\");\n // we need to finish reading the response before reassigning response\n // which will leak the open socket.\n await response.readBody();\n // strip authorization header if redirected to a different hostname\n if (parsedRedirectUrl.hostname !== parsedUrl.hostname) {\n for(let header in headers)// header names are case insensitive\n if (header.toLowerCase() === \"authorization\") delete headers[header];\n }\n // let's make the request with the new redirectUrl\n info = this._prepareRequest(verb, parsedRedirectUrl, headers);\n response = await this.requestRaw(info, data);\n redirectsRemaining--;\n }\n if ($59544557ea602607$var$HttpResponseRetryCodes.indexOf(response.message.statusCode) == -1) // If not a retry code, return immediately instead of retrying\n return response;\n numTries += 1;\n if (numTries < maxTries) {\n await response.readBody();\n await this._performExponentialBackoff(numTries);\n }\n }\n return response;\n }\n /**\n * Needs to be called if keepAlive is set to true in request options.\n */ dispose() {\n if (this._agent) this._agent.destroy();\n this._disposed = true;\n }\n /**\n * Raw request.\n * @param info\n * @param data\n */ requestRaw(info, data) {\n return new Promise((resolve, reject)=>{\n let callbackForResult = function(err, res) {\n if (err) reject(err);\n resolve(res);\n };\n this.requestRawWithCallback(info, data, callbackForResult);\n });\n }\n /**\n * Raw request with callback.\n * @param info\n * @param data\n * @param onResult\n */ requestRawWithCallback(info, data, onResult) {\n let socket;\n if (typeof data === \"string\") info.options.headers[\"Content-Length\"] = Buffer.byteLength(data, \"utf8\");\n let callbackCalled = false;\n let handleResult = (err, res)=>{\n if (!callbackCalled) {\n callbackCalled = true;\n onResult(err, res);\n }\n };\n let req = info.httpModule.request(info.options, (msg)=>{\n let res = new $59544557ea602607$var$HttpClientResponse(msg);\n handleResult(null, res);\n });\n req.on(\"socket\", (sock)=>{\n socket = sock;\n });\n // If we ever get disconnected, we want the socket to timeout eventually\n req.setTimeout(this._socketTimeout || 180000, ()=>{\n if (socket) socket.end();\n handleResult(new Error(\"Request timeout: \" + info.options.path), null);\n });\n req.on(\"error\", function(err) {\n // err has statusCode property\n // res should have headers\n handleResult(err, null);\n });\n if (data && typeof data === \"string\") req.write(data, \"utf8\");\n if (data && typeof data !== \"string\") {\n data.on(\"close\", function() {\n req.end();\n });\n data.pipe(req);\n } else req.end();\n }\n /**\n * Gets an http agent. This function is useful when you need an http agent that handles\n * routing through a proxy server - depending upon the url and proxy environment variables.\n * @param serverUrl The server URL where the request will be sent. For example, https://api.github.com\n */ getAgent(serverUrl) {\n let parsedUrl = new URL(serverUrl);\n return this._getAgent(parsedUrl);\n }\n _prepareRequest(method, requestUrl, headers) {\n const info = {};\n info.parsedUrl = requestUrl;\n const usingSsl = info.parsedUrl.protocol === \"https:\";\n info.httpModule = usingSsl ? $kC5q1$https : $kC5q1$http;\n const defaultPort = usingSsl ? 443 : 80;\n info.options = {};\n info.options.host = info.parsedUrl.hostname;\n info.options.port = info.parsedUrl.port ? parseInt(info.parsedUrl.port) : defaultPort;\n info.options.path = (info.parsedUrl.pathname || \"\") + (info.parsedUrl.search || \"\");\n info.options.method = method;\n info.options.headers = this._mergeHeaders(headers);\n if (this.userAgent != null) info.options.headers[\"user-agent\"] = this.userAgent;\n info.options.agent = this._getAgent(info.parsedUrl);\n // gives handlers an opportunity to participate\n if (this.handlers) this.handlers.forEach((handler)=>{\n handler.prepareRequest(info.options);\n });\n return info;\n }\n _mergeHeaders(headers) {\n const lowercaseKeys = (obj)=>Object.keys(obj).reduce((c, k)=>(c[k.toLowerCase()] = obj[k], c), {});\n if (this.requestOptions && this.requestOptions.headers) return Object.assign({}, lowercaseKeys(this.requestOptions.headers), lowercaseKeys(headers));\n return lowercaseKeys(headers || {});\n }\n _getExistingOrDefaultHeader(additionalHeaders, header, _default) {\n const lowercaseKeys = (obj)=>Object.keys(obj).reduce((c, k)=>(c[k.toLowerCase()] = obj[k], c), {});\n let clientHeader;\n if (this.requestOptions && this.requestOptions.headers) clientHeader = lowercaseKeys(this.requestOptions.headers)[header];\n return additionalHeaders[header] || clientHeader || _default;\n }\n _getAgent(parsedUrl) {\n let agent;\n let proxyUrl = $kG5AI.getProxyUrl(parsedUrl);\n let useProxy = proxyUrl && proxyUrl.hostname;\n if (this._keepAlive && useProxy) agent = this._proxyAgent;\n if (this._keepAlive && !useProxy) agent = this._agent;\n // if agent is already assigned use that agent.\n if (!!agent) return agent;\n const usingSsl = parsedUrl.protocol === \"https:\";\n let maxSockets = 100;\n if (!!this.requestOptions) maxSockets = this.requestOptions.maxSockets || $kC5q1$http.globalAgent.maxSockets;\n if (useProxy) {\n // If using proxy, need tunnel\n if (!$59544557ea602607$var$tunnel) $59544557ea602607$var$tunnel = (parcelRequire(\"j6C2A\"));\n const agentOptions = {\n maxSockets: maxSockets,\n keepAlive: this._keepAlive,\n proxy: {\n ...(proxyUrl.username || proxyUrl.password) && {\n proxyAuth: `${proxyUrl.username}:${proxyUrl.password}`\n },\n host: proxyUrl.hostname,\n port: proxyUrl.port\n }\n };\n let tunnelAgent;\n const overHttps = proxyUrl.protocol === \"https:\";\n if (usingSsl) tunnelAgent = overHttps ? $59544557ea602607$var$tunnel.httpsOverHttps : $59544557ea602607$var$tunnel.httpsOverHttp;\n else tunnelAgent = overHttps ? $59544557ea602607$var$tunnel.httpOverHttps : $59544557ea602607$var$tunnel.httpOverHttp;\n agent = tunnelAgent(agentOptions);\n this._proxyAgent = agent;\n }\n // if reusing agent across request and tunneling agent isn't assigned create a new agent\n if (this._keepAlive && !agent) {\n const options = {\n keepAlive: this._keepAlive,\n maxSockets: maxSockets\n };\n agent = usingSsl ? new $kC5q1$https.Agent(options) : new $kC5q1$http.Agent(options);\n this._agent = agent;\n }\n // if not using private agent and tunnel agent isn't setup then use global agent\n if (!agent) agent = usingSsl ? $kC5q1$https.globalAgent : $kC5q1$http.globalAgent;\n if (usingSsl && this._ignoreSslError) // we don't want to set NODE_TLS_REJECT_UNAUTHORIZED=0 since that will affect request for entire process\n // http.RequestOptions doesn't expose a way to modify RequestOptions.agent.options\n // we have to cast it to any and change it directly\n agent.options = Object.assign(agent.options || {}, {\n rejectUnauthorized: false\n });\n return agent;\n }\n _performExponentialBackoff(retryNumber) {\n retryNumber = Math.min($59544557ea602607$var$ExponentialBackoffCeiling, retryNumber);\n const ms = $59544557ea602607$var$ExponentialBackoffTimeSlice * Math.pow(2, retryNumber);\n return new Promise((resolve)=>setTimeout(()=>resolve(), ms));\n }\n static dateTimeDeserializer(key, value) {\n if (typeof value === \"string\") {\n let a = new Date(value);\n if (!isNaN(a.valueOf())) return a;\n }\n return value;\n }\n async _processResponse(res, options) {\n return new Promise(async (resolve, reject)=>{\n const statusCode = res.message.statusCode;\n const response = {\n statusCode: statusCode,\n result: null,\n headers: {}\n };\n // not found leads to null obj returned\n if (statusCode == $59544557ea602607$var$HttpCodes.NotFound) resolve(response);\n let obj;\n let contents;\n // get the result from the body\n try {\n contents = await res.readBody();\n if (contents && contents.length > 0) {\n if (options && options.deserializeDates) obj = JSON.parse(contents, $59544557ea602607$var$HttpClient.dateTimeDeserializer);\n else obj = JSON.parse(contents);\n response.result = obj;\n }\n response.headers = res.message.headers;\n } catch (err) {\n // Invalid resource (contents not json); leaving result obj null\n }\n // note that 3xx redirects are handled by the http layer.\n if (statusCode > 299) {\n let msg;\n // if exception/error in body, attempt to get better error\n if (obj && obj.message) msg = obj.message;\n else if (contents && contents.length > 0) // it may be the case that the exception is in the body message as string\n msg = contents;\n else msg = \"Failed request: (\" + statusCode + \")\";\n let err = new $59544557ea602607$var$HttpClientError(msg, statusCode);\n err.result = response.result;\n reject(err);\n } else resolve(response);\n });\n }\n}\nmodule.exports.HttpClient = $59544557ea602607$var$HttpClient;\n\n});\nparcelRequire.register(\"kG5AI\", function(module, exports) {\n\"use strict\";\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nfunction $f0dc1129fa8291a1$var$getProxyUrl(reqUrl) {\n let usingSsl = reqUrl.protocol === \"https:\";\n let proxyUrl;\n if ($f0dc1129fa8291a1$var$checkBypass(reqUrl)) return proxyUrl;\n let proxyVar;\n if (usingSsl) proxyVar = process.env[\"https_proxy\"] || process.env[\"HTTPS_PROXY\"];\n else proxyVar = process.env[\"http_proxy\"] || process.env[\"HTTP_PROXY\"];\n if (proxyVar) proxyUrl = new URL(proxyVar);\n return proxyUrl;\n}\nmodule.exports.getProxyUrl = $f0dc1129fa8291a1$var$getProxyUrl;\nfunction $f0dc1129fa8291a1$var$checkBypass(reqUrl) {\n if (!reqUrl.hostname) return false;\n let noProxy = process.env[\"no_proxy\"] || process.env[\"NO_PROXY\"] || \"\";\n if (!noProxy) return false;\n // Determine the request port\n let reqPort;\n if (reqUrl.port) reqPort = Number(reqUrl.port);\n else if (reqUrl.protocol === \"http:\") reqPort = 80;\n else if (reqUrl.protocol === \"https:\") reqPort = 443;\n // Format the request hostname and hostname with port\n let upperReqHosts = [\n reqUrl.hostname.toUpperCase()\n ];\n if (typeof reqPort === \"number\") upperReqHosts.push(`${upperReqHosts[0]}:${reqPort}`);\n // Compare request host against noproxy\n for (let upperNoProxyItem of noProxy.split(\",\").map((x)=>x.trim().toUpperCase()).filter((x)=>x)){\n if (upperReqHosts.some((x)=>x === upperNoProxyItem)) return true;\n }\n return false;\n}\nmodule.exports.checkBypass = $f0dc1129fa8291a1$var$checkBypass;\n\n});\n\n\nparcelRequire.register(\"2yfZv\", function(module, exports) {\n\"use strict\";\nvar $1dbb293f26cbebe8$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $1dbb293f26cbebe8$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $1dbb293f26cbebe8$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $1dbb293f26cbebe8$var$__createBinding(result, mod, k);\n }\n $1dbb293f26cbebe8$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $1dbb293f26cbebe8$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.RetryHelper = void 0;\n\nconst $1dbb293f26cbebe8$var$core = $1dbb293f26cbebe8$var$__importStar((parcelRequire(\"2heqc\")));\n/**\n * Internal class for retries\n */ class $1dbb293f26cbebe8$var$RetryHelper {\n constructor(maxAttempts, minSeconds, maxSeconds){\n if (maxAttempts < 1) throw new Error(\"max attempts should be greater than or equal to 1\");\n this.maxAttempts = maxAttempts;\n this.minSeconds = Math.floor(minSeconds);\n this.maxSeconds = Math.floor(maxSeconds);\n if (this.minSeconds > this.maxSeconds) throw new Error(\"min seconds should be less than or equal to max seconds\");\n }\n execute(action, isRetryable) {\n return $1dbb293f26cbebe8$var$__awaiter(this, void 0, void 0, function*() {\n let attempt = 1;\n while(attempt < this.maxAttempts){\n // Try\n try {\n return yield action();\n } catch (err) {\n if (isRetryable && !isRetryable(err)) throw err;\n $1dbb293f26cbebe8$var$core.info(err.message);\n }\n // Sleep\n const seconds = this.getSleepAmount();\n $1dbb293f26cbebe8$var$core.info(`Waiting ${seconds} seconds before trying again`);\n yield this.sleep(seconds);\n attempt++;\n }\n // Last attempt\n return yield action();\n });\n }\n getSleepAmount() {\n return Math.floor(Math.random() * (this.maxSeconds - this.minSeconds + 1)) + this.minSeconds;\n }\n sleep(seconds) {\n return $1dbb293f26cbebe8$var$__awaiter(this, void 0, void 0, function*() {\n return new Promise((resolve)=>setTimeout(resolve, seconds * 1000));\n });\n }\n}\nmodule.exports.RetryHelper = $1dbb293f26cbebe8$var$RetryHelper;\n\n});\n\n\n\n\nparcelRequire.register(\"49ncA\", function(module, exports) {\n\n$parcel$export(module.exports, \"findPyPyVersion\", () => $000fa4d2be1a6771$export$43d689d19c89c31d);\n\n\nvar $dDV6t = parcelRequire(\"dDV6t\");\n\nvar $42Mcf = parcelRequire(\"42Mcf\");\n\nvar $lqN0l = parcelRequire(\"lqN0l\");\n\nvar $2heqc = parcelRequire(\"2heqc\");\n\nvar $9aCWy = parcelRequire(\"9aCWy\");\nasync function $000fa4d2be1a6771$export$43d689d19c89c31d(versionSpec, architecture, updateEnvironment, checkLatest, allowPreReleases) {\n let resolvedPyPyVersion = \"\";\n let resolvedPythonVersion = \"\";\n let installDir;\n let releases;\n const pypyVersionSpec = $000fa4d2be1a6771$export$4182d5bdd18177a7(versionSpec);\n if (checkLatest) {\n releases = await $dDV6t.getAvailablePyPyVersions();\n if (releases && releases.length > 0) {\n const releaseData = $dDV6t.findRelease(releases, pypyVersionSpec.pythonVersion, pypyVersionSpec.pypyVersion, architecture, false);\n if (releaseData) {\n $2heqc.info(`Resolved as PyPy ${releaseData.resolvedPyPyVersion} with Python (${releaseData.resolvedPythonVersion})`);\n pypyVersionSpec.pythonVersion = releaseData.resolvedPythonVersion;\n pypyVersionSpec.pypyVersion = releaseData.resolvedPyPyVersion;\n } else $2heqc.info(`Failed to resolve PyPy ${pypyVersionSpec.pypyVersion} with Python (${pypyVersionSpec.pythonVersion}) from manifest`);\n }\n }\n ({ installDir: installDir, resolvedPythonVersion: resolvedPythonVersion, resolvedPyPyVersion: resolvedPyPyVersion } = $000fa4d2be1a6771$export$bba8aabb976a1d17(pypyVersionSpec.pythonVersion, pypyVersionSpec.pypyVersion, architecture));\n if (!installDir) ({ installDir: installDir, resolvedPythonVersion: resolvedPythonVersion, resolvedPyPyVersion: resolvedPyPyVersion } = await $dDV6t.installPyPy(pypyVersionSpec.pypyVersion, pypyVersionSpec.pythonVersion, architecture, allowPreReleases, releases));\n const pipDir = (0, $42Mcf.IS_WINDOWS) ? \"Scripts\" : \"bin\";\n const _binDir = $kC5q1$path.join(installDir, pipDir);\n const binaryExtension = (0, $42Mcf.IS_WINDOWS) ? \".exe\" : \"\";\n const pythonPath = $kC5q1$path.join((0, $42Mcf.IS_WINDOWS) ? installDir : _binDir, `python${binaryExtension}`);\n const pythonLocation = $dDV6t.getPyPyBinaryPath(installDir);\n if (updateEnvironment) {\n $2heqc.exportVariable(\"pythonLocation\", installDir);\n // https://cmake.org/cmake/help/latest/module/FindPython.html#module:FindPython\n $2heqc.exportVariable(\"Python_ROOT_DIR\", installDir);\n // https://cmake.org/cmake/help/latest/module/FindPython2.html#module:FindPython2\n $2heqc.exportVariable(\"Python2_ROOT_DIR\", installDir);\n // https://cmake.org/cmake/help/latest/module/FindPython3.html#module:FindPython3\n $2heqc.exportVariable(\"Python3_ROOT_DIR\", installDir);\n $2heqc.exportVariable(\"PKG_CONFIG_PATH\", pythonLocation + \"/lib/pkgconfig\");\n $2heqc.addPath(pythonLocation);\n $2heqc.addPath(_binDir);\n }\n $2heqc.setOutput(\"python-version\", \"pypy\" + resolvedPyPyVersion);\n $2heqc.setOutput(\"python-path\", pythonPath);\n return {\n resolvedPyPyVersion: resolvedPyPyVersion,\n resolvedPythonVersion: resolvedPythonVersion\n };\n}\nfunction $000fa4d2be1a6771$export$bba8aabb976a1d17(pythonVersion, pypyVersion, architecture) {\n let resolvedPyPyVersion = \"\";\n let resolvedPythonVersion = \"\";\n let installDir = (0, $42Mcf.IS_WINDOWS) ? $000fa4d2be1a6771$export$139298be7eb2bd(pythonVersion) : $9aCWy.find(\"PyPy\", pythonVersion, architecture);\n if (installDir) {\n // 'tc.find' finds tool based on Python version but we also need to check\n // whether PyPy version satisfies requested version.\n resolvedPythonVersion = (0, $42Mcf.getPyPyVersionFromPath)(installDir);\n resolvedPyPyVersion = (0, $42Mcf.readExactPyPyVersionFile)(installDir);\n const isPyPyVersionSatisfies = $lqN0l.satisfies(resolvedPyPyVersion, pypyVersion);\n if (!isPyPyVersionSatisfies) {\n installDir = null;\n resolvedPyPyVersion = \"\";\n resolvedPythonVersion = \"\";\n }\n }\n if (!installDir) $2heqc.info(`PyPy version ${pythonVersion} (${pypyVersion}) was not found in the local cache`);\n return {\n installDir: installDir,\n resolvedPythonVersion: resolvedPythonVersion,\n resolvedPyPyVersion: resolvedPyPyVersion\n };\n}\nfunction $000fa4d2be1a6771$export$4182d5bdd18177a7(versionSpec) {\n const versions = versionSpec.split(\"-\").filter((item)=>!!item);\n if (/^(pypy)(.+)/.test(versions[0])) {\n const pythonVersion = versions[0].replace(\"pypy\", \"\");\n versions.splice(0, 1, \"pypy\", pythonVersion);\n }\n if (versions.length < 2 || versions[0] != \"pypy\") throw new Error(\"Invalid 'version' property for PyPy. PyPy version should be specified as 'pypy' or 'pypy-'. See README for examples and documentation.\");\n const pythonVersion = versions[1];\n let pypyVersion;\n if (versions.length > 2) pypyVersion = $dDV6t.pypyVersionToSemantic(versions[2]);\n else pypyVersion = \"x\";\n if (!(0, $42Mcf.validateVersion)(pythonVersion) || !(0, $42Mcf.validateVersion)(pypyVersion)) throw new Error(\"Invalid 'version' property for PyPy. Both Python version and PyPy versions should satisfy SemVer notation. See README for examples and documentation.\");\n if (!(0, $42Mcf.validatePythonVersionFormatForPyPy)(pythonVersion)) throw new Error(\"Invalid format of Python version for PyPy. Python version should be specified in format 'x.y'. See README for examples and documentation.\");\n return {\n pypyVersion: pypyVersion,\n pythonVersion: pythonVersion\n };\n}\nfunction $000fa4d2be1a6771$export$139298be7eb2bd(pythonVersion) {\n let installDir = \"\";\n (0, $42Mcf.WINDOWS_ARCHS).forEach((architecture)=>installDir = installDir || $9aCWy.find(\"PyPy\", pythonVersion, architecture));\n return installDir;\n}\n\n});\nparcelRequire.register(\"dDV6t\", function(module, exports) {\n\n$parcel$export(module.exports, \"installPyPy\", () => $7ef76f02a8854110$export$3573149ec5684a1d);\n$parcel$export(module.exports, \"getAvailablePyPyVersions\", () => $7ef76f02a8854110$export$15e3ff21db62aa77);\n$parcel$export(module.exports, \"findRelease\", () => $7ef76f02a8854110$export$4272161ba9d7d3dd);\n$parcel$export(module.exports, \"getPyPyBinaryPath\", () => $7ef76f02a8854110$export$a053ce7a690fbb2e);\n$parcel$export(module.exports, \"pypyVersionToSemantic\", () => $7ef76f02a8854110$export$4e25ef8c836002b9);\n\n\n\nvar $2heqc = parcelRequire(\"2heqc\");\n\nvar $9aCWy = parcelRequire(\"9aCWy\");\n\nvar $lqN0l = parcelRequire(\"lqN0l\");\n\nvar $7FuP1 = parcelRequire(\"7FuP1\");\n\nvar $2mVwa = parcelRequire(\"2mVwa\");\n\n\nvar $42Mcf = parcelRequire(\"42Mcf\");\nasync function $7ef76f02a8854110$export$3573149ec5684a1d(pypyVersion, pythonVersion, architecture, allowPreReleases, releases) {\n let downloadDir;\n releases = releases !== null && releases !== void 0 ? releases : await $7ef76f02a8854110$export$15e3ff21db62aa77();\n if (!releases || releases.length === 0) throw new Error(\"No release was found in PyPy version.json\");\n let releaseData = $7ef76f02a8854110$export$4272161ba9d7d3dd(releases, pythonVersion, pypyVersion, architecture, false);\n if (allowPreReleases && (!releaseData || !releaseData.foundAsset)) {\n // check for pre-release\n $2heqc.info([\n `Stable PyPy version ${pythonVersion} (${pypyVersion}) with arch ${architecture} not found`,\n `Trying pre-release versions`\n ].join($kC5q1$os.EOL));\n releaseData = $7ef76f02a8854110$export$4272161ba9d7d3dd(releases, pythonVersion, pypyVersion, architecture, true);\n }\n if (!releaseData || !releaseData.foundAsset) throw new Error(`PyPy version ${pythonVersion} (${pypyVersion}) with arch ${architecture} not found`);\n const { foundAsset: foundAsset, resolvedPythonVersion: resolvedPythonVersion, resolvedPyPyVersion: resolvedPyPyVersion } = releaseData;\n const downloadUrl = `${foundAsset.download_url}`;\n $2heqc.info(`Downloading PyPy from \"${downloadUrl}\" ...`);\n try {\n const pypyPath = await $9aCWy.downloadTool(downloadUrl);\n $2heqc.info(\"Extracting downloaded archive...\");\n if (0, $42Mcf.IS_WINDOWS) downloadDir = await $9aCWy.extractZip(pypyPath);\n else downloadDir = await $9aCWy.extractTar(pypyPath, undefined, \"x\");\n // root folder in archive can have unpredictable name so just take the first folder\n // downloadDir is unique folder under TEMP and can't contain any other folders\n const archiveName = (0, ($parcel$interopDefault($kC5q1$fs))).readdirSync(downloadDir)[0];\n const toolDir = $kC5q1$path.join(downloadDir, archiveName);\n let installDir = toolDir;\n if (!(0, $42Mcf.isNightlyKeyword)(resolvedPyPyVersion)) installDir = await $9aCWy.cacheDir(toolDir, \"PyPy\", resolvedPythonVersion, architecture);\n (0, $42Mcf.writeExactPyPyVersionFile)(installDir, resolvedPyPyVersion);\n const binaryPath = $7ef76f02a8854110$export$a053ce7a690fbb2e(installDir);\n await $7ef76f02a8854110$var$createPyPySymlink(binaryPath, resolvedPythonVersion);\n await $7ef76f02a8854110$var$installPip(binaryPath);\n return {\n installDir: installDir,\n resolvedPythonVersion: resolvedPythonVersion,\n resolvedPyPyVersion: resolvedPyPyVersion\n };\n } catch (err) {\n if (err instanceof Error) {\n // Rate limit?\n if (err instanceof $9aCWy.HTTPError && (err.httpStatusCode === 403 || err.httpStatusCode === 429)) $2heqc.info(`Received HTTP status code ${err.httpStatusCode}. This usually indicates the rate limit has been exceeded`);\n else $2heqc.info(err.message);\n if (err.stack !== undefined) $2heqc.debug(err.stack);\n }\n throw err;\n }\n}\nasync function $7ef76f02a8854110$export$15e3ff21db62aa77() {\n const url = \"https://downloads.python.org/pypy/versions.json\";\n const http = new $7FuP1.HttpClient(\"tool-cache\");\n const response = await http.getJson(url);\n if (!response.result) throw new Error(`Unable to retrieve the list of available PyPy versions from '${url}'`);\n return response.result;\n}\nasync function $7ef76f02a8854110$var$createPyPySymlink(pypyBinaryPath, pythonVersion) {\n const version = $lqN0l.coerce(pythonVersion);\n const pythonBinaryPostfix = $lqN0l.major(version);\n const pythonMinor = $lqN0l.minor(version);\n const pypyBinaryPostfix = pythonBinaryPostfix === 2 ? \"\" : \"3\";\n const pypyMajorMinorBinaryPostfix = `${pythonBinaryPostfix}.${pythonMinor}`;\n const binaryExtension = (0, $42Mcf.IS_WINDOWS) ? \".exe\" : \"\";\n $2heqc.info(\"Creating symlinks...\");\n (0, $42Mcf.createSymlinkInFolder)(pypyBinaryPath, `pypy${pypyBinaryPostfix}${binaryExtension}`, `python${pythonBinaryPostfix}${binaryExtension}`, true);\n (0, $42Mcf.createSymlinkInFolder)(pypyBinaryPath, `pypy${pypyBinaryPostfix}${binaryExtension}`, `python${binaryExtension}`, true);\n (0, $42Mcf.createSymlinkInFolder)(pypyBinaryPath, `pypy${pypyBinaryPostfix}${binaryExtension}`, `pypy${pypyMajorMinorBinaryPostfix}${binaryExtension}`, true);\n}\nasync function $7ef76f02a8854110$var$installPip(pythonLocation) {\n $2heqc.info(\"Installing and updating pip\");\n const pythonBinary = $kC5q1$path.join(pythonLocation, \"python\");\n await $2mVwa.exec(`${pythonBinary} -m ensurepip`);\n await $2mVwa.exec(`${pythonLocation}/python -m pip install --ignore-installed pip`);\n}\nfunction $7ef76f02a8854110$export$4272161ba9d7d3dd(releases, pythonVersion, pypyVersion, architecture, includePrerelease) {\n const options = {\n includePrerelease: includePrerelease\n };\n const filterReleases = releases.filter((item)=>{\n const isPythonVersionSatisfied = $lqN0l.satisfies($lqN0l.coerce(item.python_version), pythonVersion);\n const isPyPyNightly = (0, $42Mcf.isNightlyKeyword)(pypyVersion) && (0, $42Mcf.isNightlyKeyword)(item.pypy_version);\n const isPyPyVersionSatisfied = isPyPyNightly || $lqN0l.satisfies($7ef76f02a8854110$export$4e25ef8c836002b9(item.pypy_version), pypyVersion, options);\n const isArchPresent = item.files && ((0, $42Mcf.IS_WINDOWS) ? $7ef76f02a8854110$export$652444ba12a0c7bb(item, architecture) : $7ef76f02a8854110$export$f1fafc67685dd0bf(item, architecture, process.platform));\n return isPythonVersionSatisfied && isPyPyVersionSatisfied && isArchPresent;\n });\n if (filterReleases.length === 0) return null;\n const sortedReleases = filterReleases.sort((previous, current)=>{\n return $lqN0l.compare($lqN0l.coerce($7ef76f02a8854110$export$4e25ef8c836002b9(current.pypy_version)), $lqN0l.coerce($7ef76f02a8854110$export$4e25ef8c836002b9(previous.pypy_version))) || $lqN0l.compare($lqN0l.coerce(current.python_version), $lqN0l.coerce(previous.python_version));\n });\n const foundRelease = sortedReleases[0];\n const foundAsset = (0, $42Mcf.IS_WINDOWS) ? $7ef76f02a8854110$export$672a33957a3c888(foundRelease, architecture) : $7ef76f02a8854110$export$7e0be3a86d27fcd9(foundRelease, architecture, process.platform);\n return {\n foundAsset: foundAsset,\n resolvedPythonVersion: foundRelease.python_version,\n resolvedPyPyVersion: foundRelease.pypy_version.trim()\n };\n}\nfunction $7ef76f02a8854110$export$a053ce7a690fbb2e(installDir) {\n const _binDir = $kC5q1$path.join(installDir, \"bin\");\n return (0, $42Mcf.IS_WINDOWS) ? installDir : _binDir;\n}\nfunction $7ef76f02a8854110$export$4e25ef8c836002b9(versionSpec) {\n const prereleaseVersion = /(\\d+\\.\\d+\\.\\d+)((?:a|b|rc))(\\d*)/g;\n return versionSpec.replace(prereleaseVersion, \"$1-$2.$3\");\n}\nfunction $7ef76f02a8854110$export$652444ba12a0c7bb(item, architecture) {\n architecture = $7ef76f02a8854110$var$replaceX32toX86(architecture);\n return item.files.some((file)=>(0, $42Mcf.WINDOWS_PLATFORMS).includes(file.platform) && file.arch === architecture);\n}\nfunction $7ef76f02a8854110$export$f1fafc67685dd0bf(item, architecture, platform) {\n return item.files.some((file)=>file.arch === architecture && file.platform === platform);\n}\nfunction $7ef76f02a8854110$export$672a33957a3c888(releases, architecture) {\n architecture = $7ef76f02a8854110$var$replaceX32toX86(architecture);\n return releases.files.find((item)=>(0, $42Mcf.WINDOWS_PLATFORMS).includes(item.platform) && item.arch === architecture);\n}\nfunction $7ef76f02a8854110$export$7e0be3a86d27fcd9(releases, architecture, platform) {\n return releases.files.find((item)=>item.arch === architecture && item.platform === platform);\n}\nfunction $7ef76f02a8854110$var$replaceX32toX86(architecture) {\n // convert x32 to x86 because os.arch() returns x32 for 32-bit systems but PyPy releases json has x86 arch value.\n if (architecture === \"x32\") architecture = \"x86\";\n return architecture;\n}\n\n});\n\n\n\n\n//# sourceMappingURL=actions_python.92140582.js.map\n","import { useCpythonVersion } from \"setup-python/src/find-python\"\nimport { findPyPyVersion } from \"setup-python/src/find-pypy\"\n\nimport { info, warning } from \"ci-log\"\nimport { debug } from \"@actions/core\"\nimport { join } from \"patha\"\nimport { GITHUB_ACTIONS } from \"ci-info\"\nimport { IS_MAC } from \"setup-python/src/utils\"\nimport { pathExists } from \"path-exists\"\n\nfunction isPyPyVersion(versionSpec: string) {\n return versionSpec.startsWith(\"pypy\")\n}\n\nconst checkLatest = false\n\nexport async function setupActionsPython(version: string, _setupDir: string, arch: string) {\n if (IS_MAC) {\n process.env.AGENT_TOOLSDIRECTORY = \"/Users/runner/hostedtoolcache\"\n }\n\n const agent_toolsdirectory = process.env.AGENT_TOOLSDIRECTORY?.trim()\n if (typeof agent_toolsdirectory === \"string\" && agent_toolsdirectory !== \"\") {\n process.env.RUNNER_TOOL_CACHE = process.env.AGENT_TOOLSDIRECTORY\n }\n\n debug(`Python is expected to be installed into ${process.env.RUNNER_TOOL_CACHE}`)\n\n if (version) {\n let pythonVersion: string\n if (isPyPyVersion(version)) {\n const installed = await findPyPyVersion(version, arch, true, checkLatest, false)\n pythonVersion = `${installed.resolvedPyPyVersion}-${installed.resolvedPythonVersion}`\n info(`Successfully set up PyPy ${installed.resolvedPyPyVersion} with Python (${installed.resolvedPythonVersion})`)\n } else {\n const installed = await useCpythonVersion(version, arch, true, checkLatest, false)\n pythonVersion = installed.version\n info(`Successfully set up ${installed.impl} (${pythonVersion})`)\n }\n\n // const cache = false\n // if (cache) {\n // const { cacheDependencies } = await import(\"setup-python/src/cache-dependencies\")\n // await cacheDependencies(\"pip\", pythonVersion)\n // }\n }\n\n if (GITHUB_ACTIONS) {\n await addPythonLoggingMatcher()\n }\n\n return undefined\n}\n\nasync function addPythonLoggingMatcher() {\n const matcherPath = join(__dirname, \"python_matcher.json\")\n if (!(await pathExists(matcherPath))) {\n return warning(\"the python_matcher.json file does not exist in the same folder as setup-cpp.js\")\n }\n info(`::add-matcher::${matcherPath}`)\n}\n","import * as os from 'os';\nimport * as path from 'path';\nimport {IS_WINDOWS, IS_LINUX, getOSInfo} from './utils';\n\nimport * as semver from 'semver';\n\nimport * as installer from './install-python';\n\nimport * as core from '@actions/core';\nimport * as tc from '@actions/tool-cache';\n\n// Python has \"scripts\" or \"bin\" directories where command-line tools that come with packages are installed.\n// This is where pip is, along with anything that pip installs.\n// There is a separate directory for `pip install --user`.\n//\n// For reference, these directories are as follows:\n// macOS / Linux:\n// /bin (by default /usr/local/bin, but not on hosted agents -- see the `else`)\n// (--user) ~/.local/bin\n// Windows:\n// \\Scripts\n// (--user) %APPDATA%\\Python\\PythonXY\\Scripts\n// See https://docs.python.org/3/library/sysconfig.html\n\nfunction binDir(installDir: string): string {\n if (IS_WINDOWS) {\n return path.join(installDir, 'Scripts');\n } else {\n return path.join(installDir, 'bin');\n }\n}\n\nexport async function useCpythonVersion(\n version: string,\n architecture: string,\n updateEnvironment: boolean,\n checkLatest: boolean,\n allowPreReleases: boolean\n): Promise {\n let manifest: tc.IToolRelease[] | null = null;\n const desugaredVersionSpec = desugarDevVersion(version);\n let semanticVersionSpec = pythonVersionToSemantic(\n desugaredVersionSpec,\n allowPreReleases\n );\n core.debug(`Semantic version spec of ${version} is ${semanticVersionSpec}`);\n\n if (checkLatest) {\n manifest = await installer.getManifest();\n const resolvedVersion = (\n await installer.findReleaseFromManifest(\n semanticVersionSpec,\n architecture,\n manifest\n )\n )?.version;\n\n if (resolvedVersion) {\n semanticVersionSpec = resolvedVersion;\n core.info(`Resolved as '${semanticVersionSpec}'`);\n } else {\n core.info(\n `Failed to resolve version ${semanticVersionSpec} from manifest`\n );\n }\n }\n\n let installDir: string | null = tc.find(\n 'Python',\n semanticVersionSpec,\n architecture\n );\n if (!installDir) {\n core.info(\n `Version ${semanticVersionSpec} was not found in the local cache`\n );\n const foundRelease = await installer.findReleaseFromManifest(\n semanticVersionSpec,\n architecture,\n manifest\n );\n\n if (foundRelease && foundRelease.files && foundRelease.files.length > 0) {\n core.info(`Version ${semanticVersionSpec} is available for downloading`);\n await installer.installCpythonFromRelease(foundRelease);\n\n installDir = tc.find('Python', semanticVersionSpec, architecture);\n }\n }\n\n if (!installDir) {\n const osInfo = await getOSInfo();\n throw new Error(\n [\n `The version '${version}' with architecture '${architecture}' was not found for ${\n osInfo\n ? `${osInfo.osName} ${osInfo.osVersion}`\n : 'this operating system'\n }.`,\n `The list of all available versions can be found here: ${installer.MANIFEST_URL}`\n ].join(os.EOL)\n );\n }\n\n const _binDir = binDir(installDir);\n const binaryExtension = IS_WINDOWS ? '.exe' : '';\n const pythonPath = path.join(\n IS_WINDOWS ? installDir : _binDir,\n `python${binaryExtension}`\n );\n if (updateEnvironment) {\n core.exportVariable('pythonLocation', installDir);\n core.exportVariable('PKG_CONFIG_PATH', installDir + '/lib/pkgconfig');\n core.exportVariable('pythonLocation', installDir);\n // https://cmake.org/cmake/help/latest/module/FindPython.html#module:FindPython\n core.exportVariable('Python_ROOT_DIR', installDir);\n // https://cmake.org/cmake/help/latest/module/FindPython2.html#module:FindPython2\n core.exportVariable('Python2_ROOT_DIR', installDir);\n // https://cmake.org/cmake/help/latest/module/FindPython3.html#module:FindPython3\n core.exportVariable('Python3_ROOT_DIR', installDir);\n core.exportVariable('PKG_CONFIG_PATH', installDir + '/lib/pkgconfig');\n\n if (IS_LINUX) {\n const libPath = process.env.LD_LIBRARY_PATH\n ? `:${process.env.LD_LIBRARY_PATH}`\n : '';\n const pyLibPath = path.join(installDir, 'lib');\n\n if (!libPath.split(':').includes(pyLibPath)) {\n core.exportVariable('LD_LIBRARY_PATH', pyLibPath + libPath);\n }\n }\n core.addPath(installDir);\n core.addPath(_binDir);\n\n if (IS_WINDOWS) {\n // Add --user directory\n // `installDir` from tool cache should look like $RUNNER_TOOL_CACHE/Python//x64/\n // So if `findLocalTool` succeeded above, we must have a conformant `installDir`\n const version = path.basename(path.dirname(installDir));\n const major = semver.major(version);\n const minor = semver.minor(version);\n\n const userScriptsDir = path.join(\n process.env['APPDATA'] || '',\n 'Python',\n `Python${major}${minor}`,\n 'Scripts'\n );\n core.addPath(userScriptsDir);\n }\n // On Linux and macOS, pip will create the --user directory and add it to PATH as needed.\n }\n\n const installed = versionFromPath(installDir);\n core.setOutput('python-version', installed);\n core.setOutput('python-path', pythonPath);\n\n return {impl: 'CPython', version: installed};\n}\n\n/** Convert versions like `3.8-dev` to a version like `~3.8.0-0`. */\nfunction desugarDevVersion(versionSpec: string) {\n const devVersion = /^(\\d+)\\.(\\d+)-dev$/;\n return versionSpec.replace(devVersion, '~$1.$2.0-0');\n}\n\n/** Extracts python version from install path from hosted tool cache as described in README.md */\nfunction versionFromPath(installDir: string) {\n const parts = installDir.split(path.sep);\n const idx = parts.findIndex(part => part === 'PyPy' || part === 'Python');\n\n return parts[idx + 1] || '';\n}\n\ninterface InstalledVersion {\n impl: string;\n version: string;\n}\n\n/**\n * Python's prelease versions look like `3.7.0b2`.\n * This is the one part of Python versioning that does not look like semantic versioning, which specifies `3.7.0-b2`.\n * If the version spec contains prerelease versions, we need to convert them to the semantic version equivalent.\n *\n * For easier use of the action, we also map 'x.y' to allow pre-release before 'x.y.0' release if allowPreReleases is true\n */\nexport function pythonVersionToSemantic(\n versionSpec: string,\n allowPreReleases: boolean\n) {\n const prereleaseVersion = /(\\d+\\.\\d+\\.\\d+)((?:a|b|rc)\\d*)/g;\n const majorMinor = /^(\\d+)\\.(\\d+)$/;\n let result = versionSpec.replace(prereleaseVersion, '$1-$2');\n if (allowPreReleases) {\n result = result.replace(majorMinor, '~$1.$2.0-0');\n }\n return result;\n}\n","/* eslint no-unsafe-finally: \"off\" */\nimport * as core from '@actions/core';\nimport fs from 'fs';\nimport * as path from 'path';\nimport * as semver from 'semver';\nimport * as toml from '@iarna/toml';\nimport * as exec from '@actions/exec';\n\nexport const IS_WINDOWS = process.platform === 'win32';\nexport const IS_LINUX = process.platform === 'linux';\nexport const IS_MAC = process.platform === 'darwin';\nexport const WINDOWS_ARCHS = ['x86', 'x64'];\nexport const WINDOWS_PLATFORMS = ['win32', 'win64'];\nconst PYPY_VERSION_FILE = 'PYPY_VERSION';\n\nexport interface IPyPyManifestAsset {\n filename: string;\n arch: string;\n platform: string;\n download_url: string;\n}\n\nexport interface IPyPyManifestRelease {\n pypy_version: string;\n python_version: string;\n stable: boolean;\n latest_pypy: boolean;\n files: IPyPyManifestAsset[];\n}\n\n/** create Symlinks for downloaded PyPy\n * It should be executed only for downloaded versions in runtime, because\n * toolcache versions have this setup.\n */\nexport function createSymlinkInFolder(\n folderPath: string,\n sourceName: string,\n targetName: string,\n setExecutable = false\n) {\n const sourcePath = path.join(folderPath, sourceName);\n const targetPath = path.join(folderPath, targetName);\n if (fs.existsSync(targetPath)) {\n return;\n }\n\n fs.symlinkSync(sourcePath, targetPath);\n if (!IS_WINDOWS && setExecutable) {\n fs.chmodSync(targetPath, '755');\n }\n}\n\nexport function validateVersion(version: string) {\n return isNightlyKeyword(version) || Boolean(semver.validRange(version));\n}\n\nexport function isNightlyKeyword(pypyVersion: string) {\n return pypyVersion === 'nightly';\n}\n\nexport function getPyPyVersionFromPath(installDir: string) {\n return path.basename(path.dirname(installDir));\n}\n\n/**\n * In tool-cache, we put PyPy to '/PyPy//x64'\n * There is no easy way to determine what PyPy version is located in specific folder\n * 'pypy --version' is not reliable enough since it is not set properly for preview versions\n * \"7.3.3rc1\" is marked as '7.3.3' in 'pypy --version'\n * so we put PYPY_VERSION file to PyPy directory when install it to VM and read it when we need to know version\n * PYPY_VERSION contains exact version from 'versions.json'\n */\nexport function readExactPyPyVersionFile(installDir: string) {\n let pypyVersion = '';\n const fileVersion = path.join(installDir, PYPY_VERSION_FILE);\n if (fs.existsSync(fileVersion)) {\n pypyVersion = fs.readFileSync(fileVersion).toString().trim();\n }\n\n return pypyVersion;\n}\n\nexport function writeExactPyPyVersionFile(\n installDir: string,\n resolvedPyPyVersion: string\n) {\n const pypyFilePath = path.join(installDir, PYPY_VERSION_FILE);\n fs.writeFileSync(pypyFilePath, resolvedPyPyVersion);\n}\n\n/**\n * Python version should be specified explicitly like \"x.y\" (2.7, 3.6, 3.7)\n * \"3.x\" or \"3\" are not supported\n * because it could cause ambiguity when both PyPy version and Python version are not precise\n */\nexport function validatePythonVersionFormatForPyPy(version: string) {\n const re = /^\\d+\\.\\d+$/;\n return re.test(version);\n}\n\nexport function logWarning(message: string): void {\n const warningPrefix = '[warning]';\n core.info(`${warningPrefix}${message}`);\n}\n\nasync function getWindowsInfo() {\n const {stdout} = await exec.getExecOutput(\n 'powershell -command \"(Get-CimInstance -ClassName Win32_OperatingSystem).Caption\"',\n undefined,\n {\n silent: true\n }\n );\n\n const windowsVersion = stdout.trim().split(' ')[3];\n\n return {osName: 'Windows', osVersion: windowsVersion};\n}\n\nasync function getMacOSInfo() {\n const {stdout} = await exec.getExecOutput('sw_vers', ['-productVersion'], {\n silent: true\n });\n\n const macOSVersion = stdout.trim();\n\n return {osName: 'macOS', osVersion: macOSVersion};\n}\n\nexport async function getLinuxInfo() {\n const {stdout} = await exec.getExecOutput('lsb_release', ['-i', '-r', '-s'], {\n silent: true\n });\n\n const [osName, osVersion] = stdout.trim().split('\\n');\n\n core.debug(`OS Name: ${osName}, Version: ${osVersion}`);\n\n return {osName: osName, osVersion: osVersion};\n}\n\nexport async function getOSInfo() {\n let osInfo;\n try {\n if (IS_WINDOWS) {\n osInfo = await getWindowsInfo();\n } else if (IS_LINUX) {\n osInfo = await getLinuxInfo();\n } else if (IS_MAC) {\n osInfo = await getMacOSInfo();\n }\n } catch (err) {\n const error = err as Error;\n core.debug(error.message);\n } finally {\n return osInfo;\n }\n}\n\n/**\n * Extract a value from an object by following the keys path provided.\n * If the value is present, it is returned. Otherwise undefined is returned.\n */\nfunction extractValue(obj: any, keys: string[]): string | undefined {\n if (keys.length > 0) {\n const value = obj[keys[0]];\n if (keys.length > 1 && value !== undefined) {\n return extractValue(value, keys.slice(1));\n } else {\n return value;\n }\n } else {\n return;\n }\n}\n\n/**\n * Python version extracted from the TOML file.\n * If the `project` key is present at the root level, the version is assumed to\n * be specified according to PEP 621 in `project.requires-python`.\n * Otherwise, if the `tool` key is present at the root level, the version is\n * assumed to be specified using poetry under `tool.poetry.dependencies.python`.\n * If none is present, returns an empty list.\n */\nexport function getVersionInputFromTomlFile(versionFile: string): string[] {\n core.debug(`Trying to resolve version form ${versionFile}`);\n\n const pyprojectFile = fs.readFileSync(versionFile, 'utf8');\n const pyprojectConfig = toml.parse(pyprojectFile);\n let keys = [];\n\n if ('project' in pyprojectConfig) {\n // standard project metadata (PEP 621)\n keys = ['project', 'requires-python'];\n } else {\n // python poetry\n keys = ['tool', 'poetry', 'dependencies', 'python'];\n }\n const versions = [];\n const version = extractValue(pyprojectConfig, keys);\n if (version !== undefined) {\n versions.push(version);\n }\n\n core.info(`Extracted ${versions} from ${versionFile}`);\n const rawVersions = Array.from(versions, version =>\n version.split(',').join(' ')\n );\n const validatedVersions = rawVersions\n .map(item => semver.validRange(item, true))\n .filter((versionRange, index) => {\n if (!versionRange) {\n core.debug(\n `The version ${rawVersions[index]} is not valid SemVer range`\n );\n }\n\n return !!versionRange;\n }) as string[];\n return validatedVersions;\n}\n\n/**\n * Python version extracted from a plain text file.\n */\nexport function getVersionInputFromPlainFile(versionFile: string): string[] {\n core.debug(`Trying to resolve version form ${versionFile}`);\n const version = fs.readFileSync(versionFile, 'utf8');\n core.info(`Resolved ${versionFile} as ${version}`);\n return [version];\n}\n\n/**\n * Python version extracted from a plain or TOML file.\n */\nexport function getVersionInputFromFile(versionFile: string): string[] {\n if (versionFile.endsWith('.toml')) {\n return getVersionInputFromTomlFile(versionFile);\n } else {\n return getVersionInputFromPlainFile(versionFile);\n }\n}\n","'use strict'\nexports.parse = require('./parse.js')\nexports.stringify = require('./stringify.js')\n","'use strict'\nmodule.exports = require('./parse-string.js')\nmodule.exports.async = require('./parse-async.js')\nmodule.exports.stream = require('./parse-stream.js')\nmodule.exports.prettyError = require('./parse-pretty-error.js')\n","'use strict'\nmodule.exports = parseString\n\nconst TOMLParser = require('./lib/toml-parser.js')\nconst prettyError = require('./parse-pretty-error.js')\n\nfunction parseString (str) {\n if (global.Buffer && global.Buffer.isBuffer(str)) {\n str = str.toString('utf8')\n }\n const parser = new TOMLParser()\n try {\n parser.parse(str)\n return parser.finish()\n } catch (err) {\n throw prettyError(err, str)\n }\n}\n","'use strict'\n/* eslint-disable no-new-wrappers, no-eval, camelcase, operator-linebreak */\nmodule.exports = makeParserClass(require('./parser.js'))\nmodule.exports.makeParserClass = makeParserClass\n\nclass TomlError extends Error {\n constructor (msg) {\n super(msg)\n this.name = 'TomlError'\n /* istanbul ignore next */\n if (Error.captureStackTrace) Error.captureStackTrace(this, TomlError)\n this.fromTOML = true\n this.wrapped = null\n }\n}\nTomlError.wrap = err => {\n const terr = new TomlError(err.message)\n terr.code = err.code\n terr.wrapped = err\n return terr\n}\nmodule.exports.TomlError = TomlError\n\nconst createDateTime = require('./create-datetime.js')\nconst createDateTimeFloat = require('./create-datetime-float.js')\nconst createDate = require('./create-date.js')\nconst createTime = require('./create-time.js')\n\nconst CTRL_I = 0x09\nconst CTRL_J = 0x0A\nconst CTRL_M = 0x0D\nconst CTRL_CHAR_BOUNDARY = 0x1F // the last non-character in the latin1 region of unicode, except DEL\nconst CHAR_SP = 0x20\nconst CHAR_QUOT = 0x22\nconst CHAR_NUM = 0x23\nconst CHAR_APOS = 0x27\nconst CHAR_PLUS = 0x2B\nconst CHAR_COMMA = 0x2C\nconst CHAR_HYPHEN = 0x2D\nconst CHAR_PERIOD = 0x2E\nconst CHAR_0 = 0x30\nconst CHAR_1 = 0x31\nconst CHAR_7 = 0x37\nconst CHAR_9 = 0x39\nconst CHAR_COLON = 0x3A\nconst CHAR_EQUALS = 0x3D\nconst CHAR_A = 0x41\nconst CHAR_E = 0x45\nconst CHAR_F = 0x46\nconst CHAR_T = 0x54\nconst CHAR_U = 0x55\nconst CHAR_Z = 0x5A\nconst CHAR_LOWBAR = 0x5F\nconst CHAR_a = 0x61\nconst CHAR_b = 0x62\nconst CHAR_e = 0x65\nconst CHAR_f = 0x66\nconst CHAR_i = 0x69\nconst CHAR_l = 0x6C\nconst CHAR_n = 0x6E\nconst CHAR_o = 0x6F\nconst CHAR_r = 0x72\nconst CHAR_s = 0x73\nconst CHAR_t = 0x74\nconst CHAR_u = 0x75\nconst CHAR_x = 0x78\nconst CHAR_z = 0x7A\nconst CHAR_LCUB = 0x7B\nconst CHAR_RCUB = 0x7D\nconst CHAR_LSQB = 0x5B\nconst CHAR_BSOL = 0x5C\nconst CHAR_RSQB = 0x5D\nconst CHAR_DEL = 0x7F\nconst SURROGATE_FIRST = 0xD800\nconst SURROGATE_LAST = 0xDFFF\n\nconst escapes = {\n [CHAR_b]: '\\u0008',\n [CHAR_t]: '\\u0009',\n [CHAR_n]: '\\u000A',\n [CHAR_f]: '\\u000C',\n [CHAR_r]: '\\u000D',\n [CHAR_QUOT]: '\\u0022',\n [CHAR_BSOL]: '\\u005C'\n}\n\nfunction isDigit (cp) {\n return cp >= CHAR_0 && cp <= CHAR_9\n}\nfunction isHexit (cp) {\n return (cp >= CHAR_A && cp <= CHAR_F) || (cp >= CHAR_a && cp <= CHAR_f) || (cp >= CHAR_0 && cp <= CHAR_9)\n}\nfunction isBit (cp) {\n return cp === CHAR_1 || cp === CHAR_0\n}\nfunction isOctit (cp) {\n return (cp >= CHAR_0 && cp <= CHAR_7)\n}\nfunction isAlphaNumQuoteHyphen (cp) {\n return (cp >= CHAR_A && cp <= CHAR_Z)\n || (cp >= CHAR_a && cp <= CHAR_z)\n || (cp >= CHAR_0 && cp <= CHAR_9)\n || cp === CHAR_APOS\n || cp === CHAR_QUOT\n || cp === CHAR_LOWBAR\n || cp === CHAR_HYPHEN\n}\nfunction isAlphaNumHyphen (cp) {\n return (cp >= CHAR_A && cp <= CHAR_Z)\n || (cp >= CHAR_a && cp <= CHAR_z)\n || (cp >= CHAR_0 && cp <= CHAR_9)\n || cp === CHAR_LOWBAR\n || cp === CHAR_HYPHEN\n}\nconst _type = Symbol('type')\nconst _declared = Symbol('declared')\n\nconst hasOwnProperty = Object.prototype.hasOwnProperty\nconst defineProperty = Object.defineProperty\nconst descriptor = {configurable: true, enumerable: true, writable: true, value: undefined}\n\nfunction hasKey (obj, key) {\n if (hasOwnProperty.call(obj, key)) return true\n if (key === '__proto__') defineProperty(obj, '__proto__', descriptor)\n return false\n}\n\nconst INLINE_TABLE = Symbol('inline-table')\nfunction InlineTable () {\n return Object.defineProperties({}, {\n [_type]: {value: INLINE_TABLE}\n })\n}\nfunction isInlineTable (obj) {\n if (obj === null || typeof (obj) !== 'object') return false\n return obj[_type] === INLINE_TABLE\n}\n\nconst TABLE = Symbol('table')\nfunction Table () {\n return Object.defineProperties({}, {\n [_type]: {value: TABLE},\n [_declared]: {value: false, writable: true}\n })\n}\nfunction isTable (obj) {\n if (obj === null || typeof (obj) !== 'object') return false\n return obj[_type] === TABLE\n}\n\nconst _contentType = Symbol('content-type')\nconst INLINE_LIST = Symbol('inline-list')\nfunction InlineList (type) {\n return Object.defineProperties([], {\n [_type]: {value: INLINE_LIST},\n [_contentType]: {value: type}\n })\n}\nfunction isInlineList (obj) {\n if (obj === null || typeof (obj) !== 'object') return false\n return obj[_type] === INLINE_LIST\n}\n\nconst LIST = Symbol('list')\nfunction List () {\n return Object.defineProperties([], {\n [_type]: {value: LIST}\n })\n}\nfunction isList (obj) {\n if (obj === null || typeof (obj) !== 'object') return false\n return obj[_type] === LIST\n}\n\n// in an eval, to let bundlers not slurp in a util proxy\nlet _custom\ntry {\n const utilInspect = eval(\"require('util').inspect\")\n _custom = utilInspect.custom\n} catch (_) {\n /* eval require not available in transpiled bundle */\n}\n/* istanbul ignore next */\nconst _inspect = _custom || 'inspect'\n\nclass BoxedBigInt {\n constructor (value) {\n try {\n this.value = global.BigInt.asIntN(64, value)\n } catch (_) {\n /* istanbul ignore next */\n this.value = null\n }\n Object.defineProperty(this, _type, {value: INTEGER})\n }\n isNaN () {\n return this.value === null\n }\n /* istanbul ignore next */\n toString () {\n return String(this.value)\n }\n /* istanbul ignore next */\n [_inspect] () {\n return `[BigInt: ${this.toString()}]}`\n }\n valueOf () {\n return this.value\n }\n}\n\nconst INTEGER = Symbol('integer')\nfunction Integer (value) {\n let num = Number(value)\n // -0 is a float thing, not an int thing\n if (Object.is(num, -0)) num = 0\n /* istanbul ignore else */\n if (global.BigInt && !Number.isSafeInteger(num)) {\n return new BoxedBigInt(value)\n } else {\n /* istanbul ignore next */\n return Object.defineProperties(new Number(num), {\n isNaN: {value: function () { return isNaN(this) }},\n [_type]: {value: INTEGER},\n [_inspect]: {value: () => `[Integer: ${value}]`}\n })\n }\n}\nfunction isInteger (obj) {\n if (obj === null || typeof (obj) !== 'object') return false\n return obj[_type] === INTEGER\n}\n\nconst FLOAT = Symbol('float')\nfunction Float (value) {\n /* istanbul ignore next */\n return Object.defineProperties(new Number(value), {\n [_type]: {value: FLOAT},\n [_inspect]: {value: () => `[Float: ${value}]`}\n })\n}\nfunction isFloat (obj) {\n if (obj === null || typeof (obj) !== 'object') return false\n return obj[_type] === FLOAT\n}\n\nfunction tomlType (value) {\n const type = typeof value\n if (type === 'object') {\n /* istanbul ignore if */\n if (value === null) return 'null'\n if (value instanceof Date) return 'datetime'\n /* istanbul ignore else */\n if (_type in value) {\n switch (value[_type]) {\n case INLINE_TABLE: return 'inline-table'\n case INLINE_LIST: return 'inline-list'\n /* istanbul ignore next */\n case TABLE: return 'table'\n /* istanbul ignore next */\n case LIST: return 'list'\n case FLOAT: return 'float'\n case INTEGER: return 'integer'\n }\n }\n }\n return type\n}\n\nfunction makeParserClass (Parser) {\n class TOMLParser extends Parser {\n constructor () {\n super()\n this.ctx = this.obj = Table()\n }\n\n /* MATCH HELPER */\n atEndOfWord () {\n return this.char === CHAR_NUM || this.char === CTRL_I || this.char === CHAR_SP || this.atEndOfLine()\n }\n atEndOfLine () {\n return this.char === Parser.END || this.char === CTRL_J || this.char === CTRL_M\n }\n\n parseStart () {\n if (this.char === Parser.END) {\n return null\n } else if (this.char === CHAR_LSQB) {\n return this.call(this.parseTableOrList)\n } else if (this.char === CHAR_NUM) {\n return this.call(this.parseComment)\n } else if (this.char === CTRL_J || this.char === CHAR_SP || this.char === CTRL_I || this.char === CTRL_M) {\n return null\n } else if (isAlphaNumQuoteHyphen(this.char)) {\n return this.callNow(this.parseAssignStatement)\n } else {\n throw this.error(new TomlError(`Unknown character \"${this.char}\"`))\n }\n }\n\n // HELPER, this strips any whitespace and comments to the end of the line\n // then RETURNS. Last state in a production.\n parseWhitespaceToEOL () {\n if (this.char === CHAR_SP || this.char === CTRL_I || this.char === CTRL_M) {\n return null\n } else if (this.char === CHAR_NUM) {\n return this.goto(this.parseComment)\n } else if (this.char === Parser.END || this.char === CTRL_J) {\n return this.return()\n } else {\n throw this.error(new TomlError('Unexpected character, expected only whitespace or comments till end of line'))\n }\n }\n\n /* ASSIGNMENT: key = value */\n parseAssignStatement () {\n return this.callNow(this.parseAssign, this.recordAssignStatement)\n }\n recordAssignStatement (kv) {\n let target = this.ctx\n let finalKey = kv.key.pop()\n for (let kw of kv.key) {\n if (hasKey(target, kw) && (!isTable(target[kw]) || target[kw][_declared])) {\n throw this.error(new TomlError(\"Can't redefine existing key\"))\n }\n target = target[kw] = target[kw] || Table()\n }\n if (hasKey(target, finalKey)) {\n throw this.error(new TomlError(\"Can't redefine existing key\"))\n }\n // unbox our numbers\n if (isInteger(kv.value) || isFloat(kv.value)) {\n target[finalKey] = kv.value.valueOf()\n } else {\n target[finalKey] = kv.value\n }\n return this.goto(this.parseWhitespaceToEOL)\n }\n\n /* ASSSIGNMENT expression, key = value possibly inside an inline table */\n parseAssign () {\n return this.callNow(this.parseKeyword, this.recordAssignKeyword)\n }\n recordAssignKeyword (key) {\n if (this.state.resultTable) {\n this.state.resultTable.push(key)\n } else {\n this.state.resultTable = [key]\n }\n return this.goto(this.parseAssignKeywordPreDot)\n }\n parseAssignKeywordPreDot () {\n if (this.char === CHAR_PERIOD) {\n return this.next(this.parseAssignKeywordPostDot)\n } else if (this.char !== CHAR_SP && this.char !== CTRL_I) {\n return this.goto(this.parseAssignEqual)\n }\n }\n parseAssignKeywordPostDot () {\n if (this.char !== CHAR_SP && this.char !== CTRL_I) {\n return this.callNow(this.parseKeyword, this.recordAssignKeyword)\n }\n }\n\n parseAssignEqual () {\n if (this.char === CHAR_EQUALS) {\n return this.next(this.parseAssignPreValue)\n } else {\n throw this.error(new TomlError('Invalid character, expected \"=\"'))\n }\n }\n parseAssignPreValue () {\n if (this.char === CHAR_SP || this.char === CTRL_I) {\n return null\n } else {\n return this.callNow(this.parseValue, this.recordAssignValue)\n }\n }\n recordAssignValue (value) {\n return this.returnNow({key: this.state.resultTable, value: value})\n }\n\n /* COMMENTS: #...eol */\n parseComment () {\n do {\n if (this.char === Parser.END || this.char === CTRL_J) {\n return this.return()\n }\n } while (this.nextChar())\n }\n\n /* TABLES AND LISTS, [foo] and [[foo]] */\n parseTableOrList () {\n if (this.char === CHAR_LSQB) {\n this.next(this.parseList)\n } else {\n return this.goto(this.parseTable)\n }\n }\n\n /* TABLE [foo.bar.baz] */\n parseTable () {\n this.ctx = this.obj\n return this.goto(this.parseTableNext)\n }\n parseTableNext () {\n if (this.char === CHAR_SP || this.char === CTRL_I) {\n return null\n } else {\n return this.callNow(this.parseKeyword, this.parseTableMore)\n }\n }\n parseTableMore (keyword) {\n if (this.char === CHAR_SP || this.char === CTRL_I) {\n return null\n } else if (this.char === CHAR_RSQB) {\n if (hasKey(this.ctx, keyword) && (!isTable(this.ctx[keyword]) || this.ctx[keyword][_declared])) {\n throw this.error(new TomlError(\"Can't redefine existing key\"))\n } else {\n this.ctx = this.ctx[keyword] = this.ctx[keyword] || Table()\n this.ctx[_declared] = true\n }\n return this.next(this.parseWhitespaceToEOL)\n } else if (this.char === CHAR_PERIOD) {\n if (!hasKey(this.ctx, keyword)) {\n this.ctx = this.ctx[keyword] = Table()\n } else if (isTable(this.ctx[keyword])) {\n this.ctx = this.ctx[keyword]\n } else if (isList(this.ctx[keyword])) {\n this.ctx = this.ctx[keyword][this.ctx[keyword].length - 1]\n } else {\n throw this.error(new TomlError(\"Can't redefine existing key\"))\n }\n return this.next(this.parseTableNext)\n } else {\n throw this.error(new TomlError('Unexpected character, expected whitespace, . or ]'))\n }\n }\n\n /* LIST [[a.b.c]] */\n parseList () {\n this.ctx = this.obj\n return this.goto(this.parseListNext)\n }\n parseListNext () {\n if (this.char === CHAR_SP || this.char === CTRL_I) {\n return null\n } else {\n return this.callNow(this.parseKeyword, this.parseListMore)\n }\n }\n parseListMore (keyword) {\n if (this.char === CHAR_SP || this.char === CTRL_I) {\n return null\n } else if (this.char === CHAR_RSQB) {\n if (!hasKey(this.ctx, keyword)) {\n this.ctx[keyword] = List()\n }\n if (isInlineList(this.ctx[keyword])) {\n throw this.error(new TomlError(\"Can't extend an inline array\"))\n } else if (isList(this.ctx[keyword])) {\n const next = Table()\n this.ctx[keyword].push(next)\n this.ctx = next\n } else {\n throw this.error(new TomlError(\"Can't redefine an existing key\"))\n }\n return this.next(this.parseListEnd)\n } else if (this.char === CHAR_PERIOD) {\n if (!hasKey(this.ctx, keyword)) {\n this.ctx = this.ctx[keyword] = Table()\n } else if (isInlineList(this.ctx[keyword])) {\n throw this.error(new TomlError(\"Can't extend an inline array\"))\n } else if (isInlineTable(this.ctx[keyword])) {\n throw this.error(new TomlError(\"Can't extend an inline table\"))\n } else if (isList(this.ctx[keyword])) {\n this.ctx = this.ctx[keyword][this.ctx[keyword].length - 1]\n } else if (isTable(this.ctx[keyword])) {\n this.ctx = this.ctx[keyword]\n } else {\n throw this.error(new TomlError(\"Can't redefine an existing key\"))\n }\n return this.next(this.parseListNext)\n } else {\n throw this.error(new TomlError('Unexpected character, expected whitespace, . or ]'))\n }\n }\n parseListEnd (keyword) {\n if (this.char === CHAR_RSQB) {\n return this.next(this.parseWhitespaceToEOL)\n } else {\n throw this.error(new TomlError('Unexpected character, expected whitespace, . or ]'))\n }\n }\n\n /* VALUE string, number, boolean, inline list, inline object */\n parseValue () {\n if (this.char === Parser.END) {\n throw this.error(new TomlError('Key without value'))\n } else if (this.char === CHAR_QUOT) {\n return this.next(this.parseDoubleString)\n } if (this.char === CHAR_APOS) {\n return this.next(this.parseSingleString)\n } else if (this.char === CHAR_HYPHEN || this.char === CHAR_PLUS) {\n return this.goto(this.parseNumberSign)\n } else if (this.char === CHAR_i) {\n return this.next(this.parseInf)\n } else if (this.char === CHAR_n) {\n return this.next(this.parseNan)\n } else if (isDigit(this.char)) {\n return this.goto(this.parseNumberOrDateTime)\n } else if (this.char === CHAR_t || this.char === CHAR_f) {\n return this.goto(this.parseBoolean)\n } else if (this.char === CHAR_LSQB) {\n return this.call(this.parseInlineList, this.recordValue)\n } else if (this.char === CHAR_LCUB) {\n return this.call(this.parseInlineTable, this.recordValue)\n } else {\n throw this.error(new TomlError('Unexpected character, expecting string, number, datetime, boolean, inline array or inline table'))\n }\n }\n recordValue (value) {\n return this.returnNow(value)\n }\n\n parseInf () {\n if (this.char === CHAR_n) {\n return this.next(this.parseInf2)\n } else {\n throw this.error(new TomlError('Unexpected character, expected \"inf\", \"+inf\" or \"-inf\"'))\n }\n }\n parseInf2 () {\n if (this.char === CHAR_f) {\n if (this.state.buf === '-') {\n return this.return(-Infinity)\n } else {\n return this.return(Infinity)\n }\n } else {\n throw this.error(new TomlError('Unexpected character, expected \"inf\", \"+inf\" or \"-inf\"'))\n }\n }\n\n parseNan () {\n if (this.char === CHAR_a) {\n return this.next(this.parseNan2)\n } else {\n throw this.error(new TomlError('Unexpected character, expected \"nan\"'))\n }\n }\n parseNan2 () {\n if (this.char === CHAR_n) {\n return this.return(NaN)\n } else {\n throw this.error(new TomlError('Unexpected character, expected \"nan\"'))\n }\n }\n\n /* KEYS, barewords or basic, literal, or dotted */\n parseKeyword () {\n if (this.char === CHAR_QUOT) {\n return this.next(this.parseBasicString)\n } else if (this.char === CHAR_APOS) {\n return this.next(this.parseLiteralString)\n } else {\n return this.goto(this.parseBareKey)\n }\n }\n\n /* KEYS: barewords */\n parseBareKey () {\n do {\n if (this.char === Parser.END) {\n throw this.error(new TomlError('Key ended without value'))\n } else if (isAlphaNumHyphen(this.char)) {\n this.consume()\n } else if (this.state.buf.length === 0) {\n throw this.error(new TomlError('Empty bare keys are not allowed'))\n } else {\n return this.returnNow()\n }\n } while (this.nextChar())\n }\n\n /* STRINGS, single quoted (literal) */\n parseSingleString () {\n if (this.char === CHAR_APOS) {\n return this.next(this.parseLiteralMultiStringMaybe)\n } else {\n return this.goto(this.parseLiteralString)\n }\n }\n parseLiteralString () {\n do {\n if (this.char === CHAR_APOS) {\n return this.return()\n } else if (this.atEndOfLine()) {\n throw this.error(new TomlError('Unterminated string'))\n } else if (this.char === CHAR_DEL || (this.char <= CTRL_CHAR_BOUNDARY && this.char !== CTRL_I)) {\n throw this.errorControlCharInString()\n } else {\n this.consume()\n }\n } while (this.nextChar())\n }\n parseLiteralMultiStringMaybe () {\n if (this.char === CHAR_APOS) {\n return this.next(this.parseLiteralMultiString)\n } else {\n return this.returnNow()\n }\n }\n parseLiteralMultiString () {\n if (this.char === CTRL_M) {\n return null\n } else if (this.char === CTRL_J) {\n return this.next(this.parseLiteralMultiStringContent)\n } else {\n return this.goto(this.parseLiteralMultiStringContent)\n }\n }\n parseLiteralMultiStringContent () {\n do {\n if (this.char === CHAR_APOS) {\n return this.next(this.parseLiteralMultiEnd)\n } else if (this.char === Parser.END) {\n throw this.error(new TomlError('Unterminated multi-line string'))\n } else if (this.char === CHAR_DEL || (this.char <= CTRL_CHAR_BOUNDARY && this.char !== CTRL_I && this.char !== CTRL_J && this.char !== CTRL_M)) {\n throw this.errorControlCharInString()\n } else {\n this.consume()\n }\n } while (this.nextChar())\n }\n parseLiteralMultiEnd () {\n if (this.char === CHAR_APOS) {\n return this.next(this.parseLiteralMultiEnd2)\n } else {\n this.state.buf += \"'\"\n return this.goto(this.parseLiteralMultiStringContent)\n }\n }\n parseLiteralMultiEnd2 () {\n if (this.char === CHAR_APOS) {\n return this.return()\n } else {\n this.state.buf += \"''\"\n return this.goto(this.parseLiteralMultiStringContent)\n }\n }\n\n /* STRINGS double quoted */\n parseDoubleString () {\n if (this.char === CHAR_QUOT) {\n return this.next(this.parseMultiStringMaybe)\n } else {\n return this.goto(this.parseBasicString)\n }\n }\n parseBasicString () {\n do {\n if (this.char === CHAR_BSOL) {\n return this.call(this.parseEscape, this.recordEscapeReplacement)\n } else if (this.char === CHAR_QUOT) {\n return this.return()\n } else if (this.atEndOfLine()) {\n throw this.error(new TomlError('Unterminated string'))\n } else if (this.char === CHAR_DEL || (this.char <= CTRL_CHAR_BOUNDARY && this.char !== CTRL_I)) {\n throw this.errorControlCharInString()\n } else {\n this.consume()\n }\n } while (this.nextChar())\n }\n recordEscapeReplacement (replacement) {\n this.state.buf += replacement\n return this.goto(this.parseBasicString)\n }\n parseMultiStringMaybe () {\n if (this.char === CHAR_QUOT) {\n return this.next(this.parseMultiString)\n } else {\n return this.returnNow()\n }\n }\n parseMultiString () {\n if (this.char === CTRL_M) {\n return null\n } else if (this.char === CTRL_J) {\n return this.next(this.parseMultiStringContent)\n } else {\n return this.goto(this.parseMultiStringContent)\n }\n }\n parseMultiStringContent () {\n do {\n if (this.char === CHAR_BSOL) {\n return this.call(this.parseMultiEscape, this.recordMultiEscapeReplacement)\n } else if (this.char === CHAR_QUOT) {\n return this.next(this.parseMultiEnd)\n } else if (this.char === Parser.END) {\n throw this.error(new TomlError('Unterminated multi-line string'))\n } else if (this.char === CHAR_DEL || (this.char <= CTRL_CHAR_BOUNDARY && this.char !== CTRL_I && this.char !== CTRL_J && this.char !== CTRL_M)) {\n throw this.errorControlCharInString()\n } else {\n this.consume()\n }\n } while (this.nextChar())\n }\n errorControlCharInString () {\n let displayCode = '\\\\u00'\n if (this.char < 16) {\n displayCode += '0'\n }\n displayCode += this.char.toString(16)\n\n return this.error(new TomlError(`Control characters (codes < 0x1f and 0x7f) are not allowed in strings, use ${displayCode} instead`))\n }\n recordMultiEscapeReplacement (replacement) {\n this.state.buf += replacement\n return this.goto(this.parseMultiStringContent)\n }\n parseMultiEnd () {\n if (this.char === CHAR_QUOT) {\n return this.next(this.parseMultiEnd2)\n } else {\n this.state.buf += '\"'\n return this.goto(this.parseMultiStringContent)\n }\n }\n parseMultiEnd2 () {\n if (this.char === CHAR_QUOT) {\n return this.return()\n } else {\n this.state.buf += '\"\"'\n return this.goto(this.parseMultiStringContent)\n }\n }\n parseMultiEscape () {\n if (this.char === CTRL_M || this.char === CTRL_J) {\n return this.next(this.parseMultiTrim)\n } else if (this.char === CHAR_SP || this.char === CTRL_I) {\n return this.next(this.parsePreMultiTrim)\n } else {\n return this.goto(this.parseEscape)\n }\n }\n parsePreMultiTrim () {\n if (this.char === CHAR_SP || this.char === CTRL_I) {\n return null\n } else if (this.char === CTRL_M || this.char === CTRL_J) {\n return this.next(this.parseMultiTrim)\n } else {\n throw this.error(new TomlError(\"Can't escape whitespace\"))\n }\n }\n parseMultiTrim () {\n // explicitly whitespace here, END should follow the same path as chars\n if (this.char === CTRL_J || this.char === CHAR_SP || this.char === CTRL_I || this.char === CTRL_M) {\n return null\n } else {\n return this.returnNow()\n }\n }\n parseEscape () {\n if (this.char in escapes) {\n return this.return(escapes[this.char])\n } else if (this.char === CHAR_u) {\n return this.call(this.parseSmallUnicode, this.parseUnicodeReturn)\n } else if (this.char === CHAR_U) {\n return this.call(this.parseLargeUnicode, this.parseUnicodeReturn)\n } else {\n throw this.error(new TomlError('Unknown escape character: ' + this.char))\n }\n }\n parseUnicodeReturn (char) {\n try {\n const codePoint = parseInt(char, 16)\n if (codePoint >= SURROGATE_FIRST && codePoint <= SURROGATE_LAST) {\n throw this.error(new TomlError('Invalid unicode, character in range 0xD800 - 0xDFFF is reserved'))\n }\n return this.returnNow(String.fromCodePoint(codePoint))\n } catch (err) {\n throw this.error(TomlError.wrap(err))\n }\n }\n parseSmallUnicode () {\n if (!isHexit(this.char)) {\n throw this.error(new TomlError('Invalid character in unicode sequence, expected hex'))\n } else {\n this.consume()\n if (this.state.buf.length >= 4) return this.return()\n }\n }\n parseLargeUnicode () {\n if (!isHexit(this.char)) {\n throw this.error(new TomlError('Invalid character in unicode sequence, expected hex'))\n } else {\n this.consume()\n if (this.state.buf.length >= 8) return this.return()\n }\n }\n\n /* NUMBERS */\n parseNumberSign () {\n this.consume()\n return this.next(this.parseMaybeSignedInfOrNan)\n }\n parseMaybeSignedInfOrNan () {\n if (this.char === CHAR_i) {\n return this.next(this.parseInf)\n } else if (this.char === CHAR_n) {\n return this.next(this.parseNan)\n } else {\n return this.callNow(this.parseNoUnder, this.parseNumberIntegerStart)\n }\n }\n parseNumberIntegerStart () {\n if (this.char === CHAR_0) {\n this.consume()\n return this.next(this.parseNumberIntegerExponentOrDecimal)\n } else {\n return this.goto(this.parseNumberInteger)\n }\n }\n parseNumberIntegerExponentOrDecimal () {\n if (this.char === CHAR_PERIOD) {\n this.consume()\n return this.call(this.parseNoUnder, this.parseNumberFloat)\n } else if (this.char === CHAR_E || this.char === CHAR_e) {\n this.consume()\n return this.next(this.parseNumberExponentSign)\n } else {\n return this.returnNow(Integer(this.state.buf))\n }\n }\n parseNumberInteger () {\n if (isDigit(this.char)) {\n this.consume()\n } else if (this.char === CHAR_LOWBAR) {\n return this.call(this.parseNoUnder)\n } else if (this.char === CHAR_E || this.char === CHAR_e) {\n this.consume()\n return this.next(this.parseNumberExponentSign)\n } else if (this.char === CHAR_PERIOD) {\n this.consume()\n return this.call(this.parseNoUnder, this.parseNumberFloat)\n } else {\n const result = Integer(this.state.buf)\n /* istanbul ignore if */\n if (result.isNaN()) {\n throw this.error(new TomlError('Invalid number'))\n } else {\n return this.returnNow(result)\n }\n }\n }\n parseNoUnder () {\n if (this.char === CHAR_LOWBAR || this.char === CHAR_PERIOD || this.char === CHAR_E || this.char === CHAR_e) {\n throw this.error(new TomlError('Unexpected character, expected digit'))\n } else if (this.atEndOfWord()) {\n throw this.error(new TomlError('Incomplete number'))\n }\n return this.returnNow()\n }\n parseNoUnderHexOctBinLiteral () {\n if (this.char === CHAR_LOWBAR || this.char === CHAR_PERIOD) {\n throw this.error(new TomlError('Unexpected character, expected digit'))\n } else if (this.atEndOfWord()) {\n throw this.error(new TomlError('Incomplete number'))\n }\n return this.returnNow()\n }\n parseNumberFloat () {\n if (this.char === CHAR_LOWBAR) {\n return this.call(this.parseNoUnder, this.parseNumberFloat)\n } else if (isDigit(this.char)) {\n this.consume()\n } else if (this.char === CHAR_E || this.char === CHAR_e) {\n this.consume()\n return this.next(this.parseNumberExponentSign)\n } else {\n return this.returnNow(Float(this.state.buf))\n }\n }\n parseNumberExponentSign () {\n if (isDigit(this.char)) {\n return this.goto(this.parseNumberExponent)\n } else if (this.char === CHAR_HYPHEN || this.char === CHAR_PLUS) {\n this.consume()\n this.call(this.parseNoUnder, this.parseNumberExponent)\n } else {\n throw this.error(new TomlError('Unexpected character, expected -, + or digit'))\n }\n }\n parseNumberExponent () {\n if (isDigit(this.char)) {\n this.consume()\n } else if (this.char === CHAR_LOWBAR) {\n return this.call(this.parseNoUnder)\n } else {\n return this.returnNow(Float(this.state.buf))\n }\n }\n\n /* NUMBERS or DATETIMES */\n parseNumberOrDateTime () {\n if (this.char === CHAR_0) {\n this.consume()\n return this.next(this.parseNumberBaseOrDateTime)\n } else {\n return this.goto(this.parseNumberOrDateTimeOnly)\n }\n }\n parseNumberOrDateTimeOnly () {\n // note, if two zeros are in a row then it MUST be a date\n if (this.char === CHAR_LOWBAR) {\n return this.call(this.parseNoUnder, this.parseNumberInteger)\n } else if (isDigit(this.char)) {\n this.consume()\n if (this.state.buf.length > 4) this.next(this.parseNumberInteger)\n } else if (this.char === CHAR_E || this.char === CHAR_e) {\n this.consume()\n return this.next(this.parseNumberExponentSign)\n } else if (this.char === CHAR_PERIOD) {\n this.consume()\n return this.call(this.parseNoUnder, this.parseNumberFloat)\n } else if (this.char === CHAR_HYPHEN) {\n return this.goto(this.parseDateTime)\n } else if (this.char === CHAR_COLON) {\n return this.goto(this.parseOnlyTimeHour)\n } else {\n return this.returnNow(Integer(this.state.buf))\n }\n }\n parseDateTimeOnly () {\n if (this.state.buf.length < 4) {\n if (isDigit(this.char)) {\n return this.consume()\n } else if (this.char === CHAR_COLON) {\n return this.goto(this.parseOnlyTimeHour)\n } else {\n throw this.error(new TomlError('Expected digit while parsing year part of a date'))\n }\n } else {\n if (this.char === CHAR_HYPHEN) {\n return this.goto(this.parseDateTime)\n } else {\n throw this.error(new TomlError('Expected hyphen (-) while parsing year part of date'))\n }\n }\n }\n parseNumberBaseOrDateTime () {\n if (this.char === CHAR_b) {\n this.consume()\n return this.call(this.parseNoUnderHexOctBinLiteral, this.parseIntegerBin)\n } else if (this.char === CHAR_o) {\n this.consume()\n return this.call(this.parseNoUnderHexOctBinLiteral, this.parseIntegerOct)\n } else if (this.char === CHAR_x) {\n this.consume()\n return this.call(this.parseNoUnderHexOctBinLiteral, this.parseIntegerHex)\n } else if (this.char === CHAR_PERIOD) {\n return this.goto(this.parseNumberInteger)\n } else if (isDigit(this.char)) {\n return this.goto(this.parseDateTimeOnly)\n } else {\n return this.returnNow(Integer(this.state.buf))\n }\n }\n parseIntegerHex () {\n if (isHexit(this.char)) {\n this.consume()\n } else if (this.char === CHAR_LOWBAR) {\n return this.call(this.parseNoUnderHexOctBinLiteral)\n } else {\n const result = Integer(this.state.buf)\n /* istanbul ignore if */\n if (result.isNaN()) {\n throw this.error(new TomlError('Invalid number'))\n } else {\n return this.returnNow(result)\n }\n }\n }\n parseIntegerOct () {\n if (isOctit(this.char)) {\n this.consume()\n } else if (this.char === CHAR_LOWBAR) {\n return this.call(this.parseNoUnderHexOctBinLiteral)\n } else {\n const result = Integer(this.state.buf)\n /* istanbul ignore if */\n if (result.isNaN()) {\n throw this.error(new TomlError('Invalid number'))\n } else {\n return this.returnNow(result)\n }\n }\n }\n parseIntegerBin () {\n if (isBit(this.char)) {\n this.consume()\n } else if (this.char === CHAR_LOWBAR) {\n return this.call(this.parseNoUnderHexOctBinLiteral)\n } else {\n const result = Integer(this.state.buf)\n /* istanbul ignore if */\n if (result.isNaN()) {\n throw this.error(new TomlError('Invalid number'))\n } else {\n return this.returnNow(result)\n }\n }\n }\n\n /* DATETIME */\n parseDateTime () {\n // we enter here having just consumed the year and about to consume the hyphen\n if (this.state.buf.length < 4) {\n throw this.error(new TomlError('Years less than 1000 must be zero padded to four characters'))\n }\n this.state.result = this.state.buf\n this.state.buf = ''\n return this.next(this.parseDateMonth)\n }\n parseDateMonth () {\n if (this.char === CHAR_HYPHEN) {\n if (this.state.buf.length < 2) {\n throw this.error(new TomlError('Months less than 10 must be zero padded to two characters'))\n }\n this.state.result += '-' + this.state.buf\n this.state.buf = ''\n return this.next(this.parseDateDay)\n } else if (isDigit(this.char)) {\n this.consume()\n } else {\n throw this.error(new TomlError('Incomplete datetime'))\n }\n }\n parseDateDay () {\n if (this.char === CHAR_T || this.char === CHAR_SP) {\n if (this.state.buf.length < 2) {\n throw this.error(new TomlError('Days less than 10 must be zero padded to two characters'))\n }\n this.state.result += '-' + this.state.buf\n this.state.buf = ''\n return this.next(this.parseStartTimeHour)\n } else if (this.atEndOfWord()) {\n return this.returnNow(createDate(this.state.result + '-' + this.state.buf))\n } else if (isDigit(this.char)) {\n this.consume()\n } else {\n throw this.error(new TomlError('Incomplete datetime'))\n }\n }\n parseStartTimeHour () {\n if (this.atEndOfWord()) {\n return this.returnNow(createDate(this.state.result))\n } else {\n return this.goto(this.parseTimeHour)\n }\n }\n parseTimeHour () {\n if (this.char === CHAR_COLON) {\n if (this.state.buf.length < 2) {\n throw this.error(new TomlError('Hours less than 10 must be zero padded to two characters'))\n }\n this.state.result += 'T' + this.state.buf\n this.state.buf = ''\n return this.next(this.parseTimeMin)\n } else if (isDigit(this.char)) {\n this.consume()\n } else {\n throw this.error(new TomlError('Incomplete datetime'))\n }\n }\n parseTimeMin () {\n if (this.state.buf.length < 2 && isDigit(this.char)) {\n this.consume()\n } else if (this.state.buf.length === 2 && this.char === CHAR_COLON) {\n this.state.result += ':' + this.state.buf\n this.state.buf = ''\n return this.next(this.parseTimeSec)\n } else {\n throw this.error(new TomlError('Incomplete datetime'))\n }\n }\n parseTimeSec () {\n if (isDigit(this.char)) {\n this.consume()\n if (this.state.buf.length === 2) {\n this.state.result += ':' + this.state.buf\n this.state.buf = ''\n return this.next(this.parseTimeZoneOrFraction)\n }\n } else {\n throw this.error(new TomlError('Incomplete datetime'))\n }\n }\n\n parseOnlyTimeHour () {\n /* istanbul ignore else */\n if (this.char === CHAR_COLON) {\n if (this.state.buf.length < 2) {\n throw this.error(new TomlError('Hours less than 10 must be zero padded to two characters'))\n }\n this.state.result = this.state.buf\n this.state.buf = ''\n return this.next(this.parseOnlyTimeMin)\n } else {\n throw this.error(new TomlError('Incomplete time'))\n }\n }\n parseOnlyTimeMin () {\n if (this.state.buf.length < 2 && isDigit(this.char)) {\n this.consume()\n } else if (this.state.buf.length === 2 && this.char === CHAR_COLON) {\n this.state.result += ':' + this.state.buf\n this.state.buf = ''\n return this.next(this.parseOnlyTimeSec)\n } else {\n throw this.error(new TomlError('Incomplete time'))\n }\n }\n parseOnlyTimeSec () {\n if (isDigit(this.char)) {\n this.consume()\n if (this.state.buf.length === 2) {\n return this.next(this.parseOnlyTimeFractionMaybe)\n }\n } else {\n throw this.error(new TomlError('Incomplete time'))\n }\n }\n parseOnlyTimeFractionMaybe () {\n this.state.result += ':' + this.state.buf\n if (this.char === CHAR_PERIOD) {\n this.state.buf = ''\n this.next(this.parseOnlyTimeFraction)\n } else {\n return this.return(createTime(this.state.result))\n }\n }\n parseOnlyTimeFraction () {\n if (isDigit(this.char)) {\n this.consume()\n } else if (this.atEndOfWord()) {\n if (this.state.buf.length === 0) throw this.error(new TomlError('Expected digit in milliseconds'))\n return this.returnNow(createTime(this.state.result + '.' + this.state.buf))\n } else {\n throw this.error(new TomlError('Unexpected character in datetime, expected period (.), minus (-), plus (+) or Z'))\n }\n }\n\n parseTimeZoneOrFraction () {\n if (this.char === CHAR_PERIOD) {\n this.consume()\n this.next(this.parseDateTimeFraction)\n } else if (this.char === CHAR_HYPHEN || this.char === CHAR_PLUS) {\n this.consume()\n this.next(this.parseTimeZoneHour)\n } else if (this.char === CHAR_Z) {\n this.consume()\n return this.return(createDateTime(this.state.result + this.state.buf))\n } else if (this.atEndOfWord()) {\n return this.returnNow(createDateTimeFloat(this.state.result + this.state.buf))\n } else {\n throw this.error(new TomlError('Unexpected character in datetime, expected period (.), minus (-), plus (+) or Z'))\n }\n }\n parseDateTimeFraction () {\n if (isDigit(this.char)) {\n this.consume()\n } else if (this.state.buf.length === 1) {\n throw this.error(new TomlError('Expected digit in milliseconds'))\n } else if (this.char === CHAR_HYPHEN || this.char === CHAR_PLUS) {\n this.consume()\n this.next(this.parseTimeZoneHour)\n } else if (this.char === CHAR_Z) {\n this.consume()\n return this.return(createDateTime(this.state.result + this.state.buf))\n } else if (this.atEndOfWord()) {\n return this.returnNow(createDateTimeFloat(this.state.result + this.state.buf))\n } else {\n throw this.error(new TomlError('Unexpected character in datetime, expected period (.), minus (-), plus (+) or Z'))\n }\n }\n parseTimeZoneHour () {\n if (isDigit(this.char)) {\n this.consume()\n // FIXME: No more regexps\n if (/\\d\\d$/.test(this.state.buf)) return this.next(this.parseTimeZoneSep)\n } else {\n throw this.error(new TomlError('Unexpected character in datetime, expected digit'))\n }\n }\n parseTimeZoneSep () {\n if (this.char === CHAR_COLON) {\n this.consume()\n this.next(this.parseTimeZoneMin)\n } else {\n throw this.error(new TomlError('Unexpected character in datetime, expected colon'))\n }\n }\n parseTimeZoneMin () {\n if (isDigit(this.char)) {\n this.consume()\n if (/\\d\\d$/.test(this.state.buf)) return this.return(createDateTime(this.state.result + this.state.buf))\n } else {\n throw this.error(new TomlError('Unexpected character in datetime, expected digit'))\n }\n }\n\n /* BOOLEAN */\n parseBoolean () {\n /* istanbul ignore else */\n if (this.char === CHAR_t) {\n this.consume()\n return this.next(this.parseTrue_r)\n } else if (this.char === CHAR_f) {\n this.consume()\n return this.next(this.parseFalse_a)\n }\n }\n parseTrue_r () {\n if (this.char === CHAR_r) {\n this.consume()\n return this.next(this.parseTrue_u)\n } else {\n throw this.error(new TomlError('Invalid boolean, expected true or false'))\n }\n }\n parseTrue_u () {\n if (this.char === CHAR_u) {\n this.consume()\n return this.next(this.parseTrue_e)\n } else {\n throw this.error(new TomlError('Invalid boolean, expected true or false'))\n }\n }\n parseTrue_e () {\n if (this.char === CHAR_e) {\n return this.return(true)\n } else {\n throw this.error(new TomlError('Invalid boolean, expected true or false'))\n }\n }\n\n parseFalse_a () {\n if (this.char === CHAR_a) {\n this.consume()\n return this.next(this.parseFalse_l)\n } else {\n throw this.error(new TomlError('Invalid boolean, expected true or false'))\n }\n }\n\n parseFalse_l () {\n if (this.char === CHAR_l) {\n this.consume()\n return this.next(this.parseFalse_s)\n } else {\n throw this.error(new TomlError('Invalid boolean, expected true or false'))\n }\n }\n\n parseFalse_s () {\n if (this.char === CHAR_s) {\n this.consume()\n return this.next(this.parseFalse_e)\n } else {\n throw this.error(new TomlError('Invalid boolean, expected true or false'))\n }\n }\n\n parseFalse_e () {\n if (this.char === CHAR_e) {\n return this.return(false)\n } else {\n throw this.error(new TomlError('Invalid boolean, expected true or false'))\n }\n }\n\n /* INLINE LISTS */\n parseInlineList () {\n if (this.char === CHAR_SP || this.char === CTRL_I || this.char === CTRL_M || this.char === CTRL_J) {\n return null\n } else if (this.char === Parser.END) {\n throw this.error(new TomlError('Unterminated inline array'))\n } else if (this.char === CHAR_NUM) {\n return this.call(this.parseComment)\n } else if (this.char === CHAR_RSQB) {\n return this.return(this.state.resultArr || InlineList())\n } else {\n return this.callNow(this.parseValue, this.recordInlineListValue)\n }\n }\n recordInlineListValue (value) {\n if (this.state.resultArr) {\n const listType = this.state.resultArr[_contentType]\n const valueType = tomlType(value)\n if (listType !== valueType) {\n throw this.error(new TomlError(`Inline lists must be a single type, not a mix of ${listType} and ${valueType}`))\n }\n } else {\n this.state.resultArr = InlineList(tomlType(value))\n }\n if (isFloat(value) || isInteger(value)) {\n // unbox now that we've verified they're ok\n this.state.resultArr.push(value.valueOf())\n } else {\n this.state.resultArr.push(value)\n }\n return this.goto(this.parseInlineListNext)\n }\n parseInlineListNext () {\n if (this.char === CHAR_SP || this.char === CTRL_I || this.char === CTRL_M || this.char === CTRL_J) {\n return null\n } else if (this.char === CHAR_NUM) {\n return this.call(this.parseComment)\n } else if (this.char === CHAR_COMMA) {\n return this.next(this.parseInlineList)\n } else if (this.char === CHAR_RSQB) {\n return this.goto(this.parseInlineList)\n } else {\n throw this.error(new TomlError('Invalid character, expected whitespace, comma (,) or close bracket (])'))\n }\n }\n\n /* INLINE TABLE */\n parseInlineTable () {\n if (this.char === CHAR_SP || this.char === CTRL_I) {\n return null\n } else if (this.char === Parser.END || this.char === CHAR_NUM || this.char === CTRL_J || this.char === CTRL_M) {\n throw this.error(new TomlError('Unterminated inline array'))\n } else if (this.char === CHAR_RCUB) {\n return this.return(this.state.resultTable || InlineTable())\n } else {\n if (!this.state.resultTable) this.state.resultTable = InlineTable()\n return this.callNow(this.parseAssign, this.recordInlineTableValue)\n }\n }\n recordInlineTableValue (kv) {\n let target = this.state.resultTable\n let finalKey = kv.key.pop()\n for (let kw of kv.key) {\n if (hasKey(target, kw) && (!isTable(target[kw]) || target[kw][_declared])) {\n throw this.error(new TomlError(\"Can't redefine existing key\"))\n }\n target = target[kw] = target[kw] || Table()\n }\n if (hasKey(target, finalKey)) {\n throw this.error(new TomlError(\"Can't redefine existing key\"))\n }\n if (isInteger(kv.value) || isFloat(kv.value)) {\n target[finalKey] = kv.value.valueOf()\n } else {\n target[finalKey] = kv.value\n }\n return this.goto(this.parseInlineTableNext)\n }\n parseInlineTableNext () {\n if (this.char === CHAR_SP || this.char === CTRL_I) {\n return null\n } else if (this.char === Parser.END || this.char === CHAR_NUM || this.char === CTRL_J || this.char === CTRL_M) {\n throw this.error(new TomlError('Unterminated inline array'))\n } else if (this.char === CHAR_COMMA) {\n return this.next(this.parseInlineTable)\n } else if (this.char === CHAR_RCUB) {\n return this.goto(this.parseInlineTable)\n } else {\n throw this.error(new TomlError('Invalid character, expected whitespace, comma (,) or close bracket (])'))\n }\n }\n }\n return TOMLParser\n}\n","'use strict'\nconst ParserEND = 0x110000\nclass ParserError extends Error {\n /* istanbul ignore next */\n constructor (msg, filename, linenumber) {\n super('[ParserError] ' + msg, filename, linenumber)\n this.name = 'ParserError'\n this.code = 'ParserError'\n if (Error.captureStackTrace) Error.captureStackTrace(this, ParserError)\n }\n}\nclass State {\n constructor (parser) {\n this.parser = parser\n this.buf = ''\n this.returned = null\n this.result = null\n this.resultTable = null\n this.resultArr = null\n }\n}\nclass Parser {\n constructor () {\n this.pos = 0\n this.col = 0\n this.line = 0\n this.obj = {}\n this.ctx = this.obj\n this.stack = []\n this._buf = ''\n this.char = null\n this.ii = 0\n this.state = new State(this.parseStart)\n }\n\n parse (str) {\n /* istanbul ignore next */\n if (str.length === 0 || str.length == null) return\n\n this._buf = String(str)\n this.ii = -1\n this.char = -1\n let getNext\n while (getNext === false || this.nextChar()) {\n getNext = this.runOne()\n }\n this._buf = null\n }\n nextChar () {\n if (this.char === 0x0A) {\n ++this.line\n this.col = -1\n }\n ++this.ii\n this.char = this._buf.codePointAt(this.ii)\n ++this.pos\n ++this.col\n return this.haveBuffer()\n }\n haveBuffer () {\n return this.ii < this._buf.length\n }\n runOne () {\n return this.state.parser.call(this, this.state.returned)\n }\n finish () {\n this.char = ParserEND\n let last\n do {\n last = this.state.parser\n this.runOne()\n } while (this.state.parser !== last)\n\n this.ctx = null\n this.state = null\n this._buf = null\n\n return this.obj\n }\n next (fn) {\n /* istanbul ignore next */\n if (typeof fn !== 'function') throw new ParserError('Tried to set state to non-existent state: ' + JSON.stringify(fn))\n this.state.parser = fn\n }\n goto (fn) {\n this.next(fn)\n return this.runOne()\n }\n call (fn, returnWith) {\n if (returnWith) this.next(returnWith)\n this.stack.push(this.state)\n this.state = new State(fn)\n }\n callNow (fn, returnWith) {\n this.call(fn, returnWith)\n return this.runOne()\n }\n return (value) {\n /* istanbul ignore next */\n if (this.stack.length === 0) throw this.error(new ParserError('Stack underflow'))\n if (value === undefined) value = this.state.buf\n this.state = this.stack.pop()\n this.state.returned = value\n }\n returnNow (value) {\n this.return(value)\n return this.runOne()\n }\n consume () {\n /* istanbul ignore next */\n if (this.char === ParserEND) throw this.error(new ParserError('Unexpected end-of-buffer'))\n this.state.buf += this._buf[this.ii]\n }\n error (err) {\n err.line = this.line\n err.col = this.col\n err.pos = this.pos\n return err\n }\n /* istanbul ignore next */\n parseStart () {\n throw new ParserError('Must declare a parseStart method')\n }\n}\nParser.END = ParserEND\nParser.Error = ParserError\nmodule.exports = Parser\n","'use strict'\nmodule.exports = value => {\n const date = new Date(value)\n /* istanbul ignore if */\n if (isNaN(date)) {\n throw new TypeError('Invalid Datetime')\n } else {\n return date\n }\n}\n","'use strict'\nconst f = require('./format-num.js')\n\nclass FloatingDateTime extends Date {\n constructor (value) {\n super(value + 'Z')\n this.isFloating = true\n }\n toISOString () {\n const date = `${this.getUTCFullYear()}-${f(2, this.getUTCMonth() + 1)}-${f(2, this.getUTCDate())}`\n const time = `${f(2, this.getUTCHours())}:${f(2, this.getUTCMinutes())}:${f(2, this.getUTCSeconds())}.${f(3, this.getUTCMilliseconds())}`\n return `${date}T${time}`\n }\n}\n\nmodule.exports = value => {\n const date = new FloatingDateTime(value)\n /* istanbul ignore if */\n if (isNaN(date)) {\n throw new TypeError('Invalid Datetime')\n } else {\n return date\n }\n}\n","'use strict'\nmodule.exports = (d, num) => {\n num = String(num)\n while (num.length < d) num = '0' + num\n return num\n}\n","'use strict'\nconst f = require('./format-num.js')\nconst DateTime = global.Date\n\nclass Date extends DateTime {\n constructor (value) {\n super(value)\n this.isDate = true\n }\n toISOString () {\n return `${this.getUTCFullYear()}-${f(2, this.getUTCMonth() + 1)}-${f(2, this.getUTCDate())}`\n }\n}\n\nmodule.exports = value => {\n const date = new Date(value)\n /* istanbul ignore if */\n if (isNaN(date)) {\n throw new TypeError('Invalid Datetime')\n } else {\n return date\n }\n}\n","'use strict'\nconst f = require('./format-num.js')\n\nclass Time extends Date {\n constructor (value) {\n super(`0000-01-01T${value}Z`)\n this.isTime = true\n }\n toISOString () {\n return `${f(2, this.getUTCHours())}:${f(2, this.getUTCMinutes())}:${f(2, this.getUTCSeconds())}.${f(3, this.getUTCMilliseconds())}`\n }\n}\n\nmodule.exports = value => {\n const date = new Time(value)\n /* istanbul ignore if */\n if (isNaN(date)) {\n throw new TypeError('Invalid Datetime')\n } else {\n return date\n }\n}\n","'use strict'\nmodule.exports = prettyError\n\nfunction prettyError (err, buf) {\n /* istanbul ignore if */\n if (err.pos == null || err.line == null) return err\n let msg = err.message\n msg += ` at row ${err.line + 1}, col ${err.col + 1}, pos ${err.pos}:\\n`\n\n /* istanbul ignore else */\n if (buf && buf.split) {\n const lines = buf.split(/\\n/)\n const lineNumWidth = String(Math.min(lines.length, err.line + 3)).length\n let linePadding = ' '\n while (linePadding.length < lineNumWidth) linePadding += ' '\n for (let ii = Math.max(0, err.line - 1); ii < Math.min(lines.length, err.line + 2); ++ii) {\n let lineNum = String(ii + 1)\n if (lineNum.length < lineNumWidth) lineNum = ' ' + lineNum\n if (err.line === ii) {\n msg += lineNum + '> ' + lines[ii] + '\\n'\n msg += linePadding + ' '\n for (let hh = 0; hh < err.col; ++hh) {\n msg += ' '\n }\n msg += '^\\n'\n } else {\n msg += lineNum + ': ' + lines[ii] + '\\n'\n }\n }\n }\n err.message = msg + '\\n'\n return err\n}\n","'use strict'\nmodule.exports = parseAsync\n\nconst TOMLParser = require('./lib/toml-parser.js')\nconst prettyError = require('./parse-pretty-error.js')\n\nfunction parseAsync (str, opts) {\n if (!opts) opts = {}\n const index = 0\n const blocksize = opts.blocksize || 40960\n const parser = new TOMLParser()\n return new Promise((resolve, reject) => {\n setImmediate(parseAsyncNext, index, blocksize, resolve, reject)\n })\n function parseAsyncNext (index, blocksize, resolve, reject) {\n if (index >= str.length) {\n try {\n return resolve(parser.finish())\n } catch (err) {\n return reject(prettyError(err, str))\n }\n }\n try {\n parser.parse(str.slice(index, index + blocksize))\n setImmediate(parseAsyncNext, index + blocksize, blocksize, resolve, reject)\n } catch (err) {\n reject(prettyError(err, str))\n }\n }\n}\n","'use strict'\nmodule.exports = parseStream\n\nconst stream = require('stream')\nconst TOMLParser = require('./lib/toml-parser.js')\n\nfunction parseStream (stm) {\n if (stm) {\n return parseReadable(stm)\n } else {\n return parseTransform(stm)\n }\n}\n\nfunction parseReadable (stm) {\n const parser = new TOMLParser()\n stm.setEncoding('utf8')\n return new Promise((resolve, reject) => {\n let readable\n let ended = false\n let errored = false\n function finish () {\n ended = true\n if (readable) return\n try {\n resolve(parser.finish())\n } catch (err) {\n reject(err)\n }\n }\n function error (err) {\n errored = true\n reject(err)\n }\n stm.once('end', finish)\n stm.once('error', error)\n readNext()\n\n function readNext () {\n readable = true\n let data\n while ((data = stm.read()) !== null) {\n try {\n parser.parse(data)\n } catch (err) {\n return error(err)\n }\n }\n readable = false\n /* istanbul ignore if */\n if (ended) return finish()\n /* istanbul ignore if */\n if (errored) return\n stm.once('readable', readNext)\n }\n })\n}\n\nfunction parseTransform () {\n const parser = new TOMLParser()\n return new stream.Transform({\n objectMode: true,\n transform (chunk, encoding, cb) {\n try {\n parser.parse(chunk.toString(encoding))\n } catch (err) {\n this.emit('error', err)\n }\n cb()\n },\n flush (cb) {\n try {\n this.push(parser.finish())\n } catch (err) {\n this.emit('error', err)\n }\n cb()\n }\n })\n}\n","'use strict'\nmodule.exports = stringify\nmodule.exports.value = stringifyInline\n\nfunction stringify (obj) {\n if (obj === null) throw typeError('null')\n if (obj === void (0)) throw typeError('undefined')\n if (typeof obj !== 'object') throw typeError(typeof obj)\n\n if (typeof obj.toJSON === 'function') obj = obj.toJSON()\n if (obj == null) return null\n const type = tomlType(obj)\n if (type !== 'table') throw typeError(type)\n return stringifyObject('', '', obj)\n}\n\nfunction typeError (type) {\n return new Error('Can only stringify objects, not ' + type)\n}\n\nfunction arrayOneTypeError () {\n return new Error(\"Array values can't have mixed types\")\n}\n\nfunction getInlineKeys (obj) {\n return Object.keys(obj).filter(key => isInline(obj[key]))\n}\nfunction getComplexKeys (obj) {\n return Object.keys(obj).filter(key => !isInline(obj[key]))\n}\n\nfunction toJSON (obj) {\n let nobj = Array.isArray(obj) ? [] : Object.prototype.hasOwnProperty.call(obj, '__proto__') ? {['__proto__']: undefined} : {}\n for (let prop of Object.keys(obj)) {\n if (obj[prop] && typeof obj[prop].toJSON === 'function' && !('toISOString' in obj[prop])) {\n nobj[prop] = obj[prop].toJSON()\n } else {\n nobj[prop] = obj[prop]\n }\n }\n return nobj\n}\n\nfunction stringifyObject (prefix, indent, obj) {\n obj = toJSON(obj)\n var inlineKeys\n var complexKeys\n inlineKeys = getInlineKeys(obj)\n complexKeys = getComplexKeys(obj)\n var result = []\n var inlineIndent = indent || ''\n inlineKeys.forEach(key => {\n var type = tomlType(obj[key])\n if (type !== 'undefined' && type !== 'null') {\n result.push(inlineIndent + stringifyKey(key) + ' = ' + stringifyAnyInline(obj[key], true))\n }\n })\n if (result.length > 0) result.push('')\n var complexIndent = prefix && inlineKeys.length > 0 ? indent + ' ' : ''\n complexKeys.forEach(key => {\n result.push(stringifyComplex(prefix, complexIndent, key, obj[key]))\n })\n return result.join('\\n')\n}\n\nfunction isInline (value) {\n switch (tomlType(value)) {\n case 'undefined':\n case 'null':\n case 'integer':\n case 'nan':\n case 'float':\n case 'boolean':\n case 'string':\n case 'datetime':\n return true\n case 'array':\n return value.length === 0 || tomlType(value[0]) !== 'table'\n case 'table':\n return Object.keys(value).length === 0\n /* istanbul ignore next */\n default:\n return false\n }\n}\n\nfunction tomlType (value) {\n if (value === undefined) {\n return 'undefined'\n } else if (value === null) {\n return 'null'\n /* eslint-disable valid-typeof */\n } else if (typeof value === 'bigint' || (Number.isInteger(value) && !Object.is(value, -0))) {\n return 'integer'\n } else if (typeof value === 'number') {\n return 'float'\n } else if (typeof value === 'boolean') {\n return 'boolean'\n } else if (typeof value === 'string') {\n return 'string'\n } else if ('toISOString' in value) {\n return isNaN(value) ? 'undefined' : 'datetime'\n } else if (Array.isArray(value)) {\n return 'array'\n } else {\n return 'table'\n }\n}\n\nfunction stringifyKey (key) {\n var keyStr = String(key)\n if (/^[-A-Za-z0-9_]+$/.test(keyStr)) {\n return keyStr\n } else {\n return stringifyBasicString(keyStr)\n }\n}\n\nfunction stringifyBasicString (str) {\n return '\"' + escapeString(str).replace(/\"/g, '\\\\\"') + '\"'\n}\n\nfunction stringifyLiteralString (str) {\n return \"'\" + str + \"'\"\n}\n\nfunction numpad (num, str) {\n while (str.length < num) str = '0' + str\n return str\n}\n\nfunction escapeString (str) {\n return str.replace(/\\\\/g, '\\\\\\\\')\n .replace(/[\\b]/g, '\\\\b')\n .replace(/\\t/g, '\\\\t')\n .replace(/\\n/g, '\\\\n')\n .replace(/\\f/g, '\\\\f')\n .replace(/\\r/g, '\\\\r')\n /* eslint-disable no-control-regex */\n .replace(/([\\u0000-\\u001f\\u007f])/, c => '\\\\u' + numpad(4, c.codePointAt(0).toString(16)))\n /* eslint-enable no-control-regex */\n}\n\nfunction stringifyMultilineString (str) {\n let escaped = str.split(/\\n/).map(str => {\n return escapeString(str).replace(/\"(?=\"\")/g, '\\\\\"')\n }).join('\\n')\n if (escaped.slice(-1) === '\"') escaped += '\\\\\\n'\n return '\"\"\"\\n' + escaped + '\"\"\"'\n}\n\nfunction stringifyAnyInline (value, multilineOk) {\n let type = tomlType(value)\n if (type === 'string') {\n if (multilineOk && /\\n/.test(value)) {\n type = 'string-multiline'\n } else if (!/[\\b\\t\\n\\f\\r']/.test(value) && /\"/.test(value)) {\n type = 'string-literal'\n }\n }\n return stringifyInline(value, type)\n}\n\nfunction stringifyInline (value, type) {\n /* istanbul ignore if */\n if (!type) type = tomlType(value)\n switch (type) {\n case 'string-multiline':\n return stringifyMultilineString(value)\n case 'string':\n return stringifyBasicString(value)\n case 'string-literal':\n return stringifyLiteralString(value)\n case 'integer':\n return stringifyInteger(value)\n case 'float':\n return stringifyFloat(value)\n case 'boolean':\n return stringifyBoolean(value)\n case 'datetime':\n return stringifyDatetime(value)\n case 'array':\n return stringifyInlineArray(value.filter(_ => tomlType(_) !== 'null' && tomlType(_) !== 'undefined' && tomlType(_) !== 'nan'))\n case 'table':\n return stringifyInlineTable(value)\n /* istanbul ignore next */\n default:\n throw typeError(type)\n }\n}\n\nfunction stringifyInteger (value) {\n /* eslint-disable security/detect-unsafe-regex */\n return String(value).replace(/\\B(?=(\\d{3})+(?!\\d))/g, '_')\n}\n\nfunction stringifyFloat (value) {\n if (value === Infinity) {\n return 'inf'\n } else if (value === -Infinity) {\n return '-inf'\n } else if (Object.is(value, NaN)) {\n return 'nan'\n } else if (Object.is(value, -0)) {\n return '-0.0'\n }\n var chunks = String(value).split('.')\n var int = chunks[0]\n var dec = chunks[1] || 0\n return stringifyInteger(int) + '.' + dec\n}\n\nfunction stringifyBoolean (value) {\n return String(value)\n}\n\nfunction stringifyDatetime (value) {\n return value.toISOString()\n}\n\nfunction isNumber (type) {\n return type === 'float' || type === 'integer'\n}\nfunction arrayType (values) {\n var contentType = tomlType(values[0])\n if (values.every(_ => tomlType(_) === contentType)) return contentType\n // mixed integer/float, emit as floats\n if (values.every(_ => isNumber(tomlType(_)))) return 'float'\n return 'mixed'\n}\nfunction validateArray (values) {\n const type = arrayType(values)\n if (type === 'mixed') {\n throw arrayOneTypeError()\n }\n return type\n}\n\nfunction stringifyInlineArray (values) {\n values = toJSON(values)\n const type = validateArray(values)\n var result = '['\n var stringified = values.map(_ => stringifyInline(_, type))\n if (stringified.join(', ').length > 60 || /\\n/.test(stringified)) {\n result += '\\n ' + stringified.join(',\\n ') + '\\n'\n } else {\n result += ' ' + stringified.join(', ') + (stringified.length > 0 ? ' ' : '')\n }\n return result + ']'\n}\n\nfunction stringifyInlineTable (value) {\n value = toJSON(value)\n var result = []\n Object.keys(value).forEach(key => {\n result.push(stringifyKey(key) + ' = ' + stringifyAnyInline(value[key], false))\n })\n return '{ ' + result.join(', ') + (result.length > 0 ? ' ' : '') + '}'\n}\n\nfunction stringifyComplex (prefix, indent, key, value) {\n var valueType = tomlType(value)\n /* istanbul ignore else */\n if (valueType === 'array') {\n return stringifyArrayOfTables(prefix, indent, key, value)\n } else if (valueType === 'table') {\n return stringifyComplexTable(prefix, indent, key, value)\n } else {\n throw typeError(valueType)\n }\n}\n\nfunction stringifyArrayOfTables (prefix, indent, key, values) {\n values = toJSON(values)\n validateArray(values)\n var firstValueType = tomlType(values[0])\n /* istanbul ignore if */\n if (firstValueType !== 'table') throw typeError(firstValueType)\n var fullKey = prefix + stringifyKey(key)\n var result = ''\n values.forEach(table => {\n if (result.length > 0) result += '\\n'\n result += indent + '[[' + fullKey + ']]\\n'\n result += stringifyObject(fullKey + '.', indent, table)\n })\n return result\n}\n\nfunction stringifyComplexTable (prefix, indent, key, value) {\n var fullKey = prefix + stringifyKey(key)\n var result = ''\n if (getInlineKeys(value).length > 0) {\n result += indent + '[' + fullKey + ']\\n'\n }\n return result + stringifyObject(fullKey + '.', indent, value)\n}\n","import * as path from 'path';\nimport * as core from '@actions/core';\nimport * as tc from '@actions/tool-cache';\nimport * as exec from '@actions/exec';\nimport {ExecOptions} from '@actions/exec/lib/interfaces';\nimport {IS_WINDOWS, IS_LINUX} from './utils';\n\nconst TOKEN = core.getInput('token');\nconst AUTH = !TOKEN ? undefined : `token ${TOKEN}`;\nconst MANIFEST_REPO_OWNER = 'actions';\nconst MANIFEST_REPO_NAME = 'python-versions';\nconst MANIFEST_REPO_BRANCH = 'main';\nexport const MANIFEST_URL = `https://raw.githubusercontent.com/${MANIFEST_REPO_OWNER}/${MANIFEST_REPO_NAME}/${MANIFEST_REPO_BRANCH}/versions-manifest.json`;\n\nexport async function findReleaseFromManifest(\n semanticVersionSpec: string,\n architecture: string,\n manifest: tc.IToolRelease[] | null\n): Promise {\n if (!manifest) {\n manifest = await getManifest();\n }\n\n const foundRelease = await tc.findFromManifest(\n semanticVersionSpec,\n false,\n manifest,\n architecture\n );\n\n return foundRelease;\n}\n\nexport function getManifest(): Promise {\n core.debug(\n `Getting manifest from ${MANIFEST_REPO_OWNER}/${MANIFEST_REPO_NAME}@${MANIFEST_REPO_BRANCH}`\n );\n return tc.getManifestFromRepo(\n MANIFEST_REPO_OWNER,\n MANIFEST_REPO_NAME,\n AUTH,\n MANIFEST_REPO_BRANCH\n );\n}\n\nasync function installPython(workingDirectory: string) {\n const options: ExecOptions = {\n cwd: workingDirectory,\n env: {\n ...process.env,\n ...(IS_LINUX && {LD_LIBRARY_PATH: path.join(workingDirectory, 'lib')})\n },\n silent: true,\n listeners: {\n stdout: (data: Buffer) => {\n core.info(data.toString().trim());\n },\n stderr: (data: Buffer) => {\n core.error(data.toString().trim());\n }\n }\n };\n\n if (IS_WINDOWS) {\n await exec.exec('powershell', ['./setup.ps1'], options);\n } else {\n await exec.exec('bash', ['./setup.sh'], options);\n }\n}\n\nexport async function installCpythonFromRelease(release: tc.IToolRelease) {\n const downloadUrl = release.files[0].download_url;\n\n core.info(`Download from \"${downloadUrl}\"`);\n let pythonPath = '';\n try {\n pythonPath = await tc.downloadTool(downloadUrl, undefined, AUTH);\n core.info('Extract downloaded archive');\n let pythonExtractedFolder;\n if (IS_WINDOWS) {\n pythonExtractedFolder = await tc.extractZip(pythonPath);\n } else {\n pythonExtractedFolder = await tc.extractTar(pythonPath);\n }\n\n core.info('Execute installation script');\n await installPython(pythonExtractedFolder);\n } catch (err) {\n if (err instanceof tc.HTTPError) {\n // Rate limit?\n if (err.httpStatusCode === 403 || err.httpStatusCode === 429) {\n core.info(\n `Received HTTP status code ${err.httpStatusCode}. This usually indicates the rate limit has been exceeded`\n );\n } else {\n core.info(err.message);\n }\n if (err.stack) {\n core.debug(err.stack);\n }\n }\n throw err;\n }\n}\n",null,null,null,null,"\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst http = require(\"http\");\nconst https = require(\"https\");\nconst pm = require(\"./proxy\");\nlet tunnel;\nvar HttpCodes;\n(function (HttpCodes) {\n HttpCodes[HttpCodes[\"OK\"] = 200] = \"OK\";\n HttpCodes[HttpCodes[\"MultipleChoices\"] = 300] = \"MultipleChoices\";\n HttpCodes[HttpCodes[\"MovedPermanently\"] = 301] = \"MovedPermanently\";\n HttpCodes[HttpCodes[\"ResourceMoved\"] = 302] = \"ResourceMoved\";\n HttpCodes[HttpCodes[\"SeeOther\"] = 303] = \"SeeOther\";\n HttpCodes[HttpCodes[\"NotModified\"] = 304] = \"NotModified\";\n HttpCodes[HttpCodes[\"UseProxy\"] = 305] = \"UseProxy\";\n HttpCodes[HttpCodes[\"SwitchProxy\"] = 306] = \"SwitchProxy\";\n HttpCodes[HttpCodes[\"TemporaryRedirect\"] = 307] = \"TemporaryRedirect\";\n HttpCodes[HttpCodes[\"PermanentRedirect\"] = 308] = \"PermanentRedirect\";\n HttpCodes[HttpCodes[\"BadRequest\"] = 400] = \"BadRequest\";\n HttpCodes[HttpCodes[\"Unauthorized\"] = 401] = \"Unauthorized\";\n HttpCodes[HttpCodes[\"PaymentRequired\"] = 402] = \"PaymentRequired\";\n HttpCodes[HttpCodes[\"Forbidden\"] = 403] = \"Forbidden\";\n HttpCodes[HttpCodes[\"NotFound\"] = 404] = \"NotFound\";\n HttpCodes[HttpCodes[\"MethodNotAllowed\"] = 405] = \"MethodNotAllowed\";\n HttpCodes[HttpCodes[\"NotAcceptable\"] = 406] = \"NotAcceptable\";\n HttpCodes[HttpCodes[\"ProxyAuthenticationRequired\"] = 407] = \"ProxyAuthenticationRequired\";\n HttpCodes[HttpCodes[\"RequestTimeout\"] = 408] = \"RequestTimeout\";\n HttpCodes[HttpCodes[\"Conflict\"] = 409] = \"Conflict\";\n HttpCodes[HttpCodes[\"Gone\"] = 410] = \"Gone\";\n HttpCodes[HttpCodes[\"TooManyRequests\"] = 429] = \"TooManyRequests\";\n HttpCodes[HttpCodes[\"InternalServerError\"] = 500] = \"InternalServerError\";\n HttpCodes[HttpCodes[\"NotImplemented\"] = 501] = \"NotImplemented\";\n HttpCodes[HttpCodes[\"BadGateway\"] = 502] = \"BadGateway\";\n HttpCodes[HttpCodes[\"ServiceUnavailable\"] = 503] = \"ServiceUnavailable\";\n HttpCodes[HttpCodes[\"GatewayTimeout\"] = 504] = \"GatewayTimeout\";\n})(HttpCodes = exports.HttpCodes || (exports.HttpCodes = {}));\nvar Headers;\n(function (Headers) {\n Headers[\"Accept\"] = \"accept\";\n Headers[\"ContentType\"] = \"content-type\";\n})(Headers = exports.Headers || (exports.Headers = {}));\nvar MediaTypes;\n(function (MediaTypes) {\n MediaTypes[\"ApplicationJson\"] = \"application/json\";\n})(MediaTypes = exports.MediaTypes || (exports.MediaTypes = {}));\n/**\n * Returns the proxy URL, depending upon the supplied url and proxy environment variables.\n * @param serverUrl The server URL where the request will be sent. For example, https://api.github.com\n */\nfunction getProxyUrl(serverUrl) {\n let proxyUrl = pm.getProxyUrl(new URL(serverUrl));\n return proxyUrl ? proxyUrl.href : '';\n}\nexports.getProxyUrl = getProxyUrl;\nconst HttpRedirectCodes = [\n HttpCodes.MovedPermanently,\n HttpCodes.ResourceMoved,\n HttpCodes.SeeOther,\n HttpCodes.TemporaryRedirect,\n HttpCodes.PermanentRedirect\n];\nconst HttpResponseRetryCodes = [\n HttpCodes.BadGateway,\n HttpCodes.ServiceUnavailable,\n HttpCodes.GatewayTimeout\n];\nconst RetryableHttpVerbs = ['OPTIONS', 'GET', 'DELETE', 'HEAD'];\nconst ExponentialBackoffCeiling = 10;\nconst ExponentialBackoffTimeSlice = 5;\nclass HttpClientError extends Error {\n constructor(message, statusCode) {\n super(message);\n this.name = 'HttpClientError';\n this.statusCode = statusCode;\n Object.setPrototypeOf(this, HttpClientError.prototype);\n }\n}\nexports.HttpClientError = HttpClientError;\nclass HttpClientResponse {\n constructor(message) {\n this.message = message;\n }\n readBody() {\n return new Promise(async (resolve, reject) => {\n let output = Buffer.alloc(0);\n this.message.on('data', (chunk) => {\n output = Buffer.concat([output, chunk]);\n });\n this.message.on('end', () => {\n resolve(output.toString());\n });\n });\n }\n}\nexports.HttpClientResponse = HttpClientResponse;\nfunction isHttps(requestUrl) {\n let parsedUrl = new URL(requestUrl);\n return parsedUrl.protocol === 'https:';\n}\nexports.isHttps = isHttps;\nclass HttpClient {\n constructor(userAgent, handlers, requestOptions) {\n this._ignoreSslError = false;\n this._allowRedirects = true;\n this._allowRedirectDowngrade = false;\n this._maxRedirects = 50;\n this._allowRetries = false;\n this._maxRetries = 1;\n this._keepAlive = false;\n this._disposed = false;\n this.userAgent = userAgent;\n this.handlers = handlers || [];\n this.requestOptions = requestOptions;\n if (requestOptions) {\n if (requestOptions.ignoreSslError != null) {\n this._ignoreSslError = requestOptions.ignoreSslError;\n }\n this._socketTimeout = requestOptions.socketTimeout;\n if (requestOptions.allowRedirects != null) {\n this._allowRedirects = requestOptions.allowRedirects;\n }\n if (requestOptions.allowRedirectDowngrade != null) {\n this._allowRedirectDowngrade = requestOptions.allowRedirectDowngrade;\n }\n if (requestOptions.maxRedirects != null) {\n this._maxRedirects = Math.max(requestOptions.maxRedirects, 0);\n }\n if (requestOptions.keepAlive != null) {\n this._keepAlive = requestOptions.keepAlive;\n }\n if (requestOptions.allowRetries != null) {\n this._allowRetries = requestOptions.allowRetries;\n }\n if (requestOptions.maxRetries != null) {\n this._maxRetries = requestOptions.maxRetries;\n }\n }\n }\n options(requestUrl, additionalHeaders) {\n return this.request('OPTIONS', requestUrl, null, additionalHeaders || {});\n }\n get(requestUrl, additionalHeaders) {\n return this.request('GET', requestUrl, null, additionalHeaders || {});\n }\n del(requestUrl, additionalHeaders) {\n return this.request('DELETE', requestUrl, null, additionalHeaders || {});\n }\n post(requestUrl, data, additionalHeaders) {\n return this.request('POST', requestUrl, data, additionalHeaders || {});\n }\n patch(requestUrl, data, additionalHeaders) {\n return this.request('PATCH', requestUrl, data, additionalHeaders || {});\n }\n put(requestUrl, data, additionalHeaders) {\n return this.request('PUT', requestUrl, data, additionalHeaders || {});\n }\n head(requestUrl, additionalHeaders) {\n return this.request('HEAD', requestUrl, null, additionalHeaders || {});\n }\n sendStream(verb, requestUrl, stream, additionalHeaders) {\n return this.request(verb, requestUrl, stream, additionalHeaders);\n }\n /**\n * Gets a typed object from an endpoint\n * Be aware that not found returns a null. Other errors (4xx, 5xx) reject the promise\n */\n async getJson(requestUrl, additionalHeaders = {}) {\n additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson);\n let res = await this.get(requestUrl, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n }\n async postJson(requestUrl, obj, additionalHeaders = {}) {\n let data = JSON.stringify(obj, null, 2);\n additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson);\n additionalHeaders[Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.ContentType, MediaTypes.ApplicationJson);\n let res = await this.post(requestUrl, data, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n }\n async putJson(requestUrl, obj, additionalHeaders = {}) {\n let data = JSON.stringify(obj, null, 2);\n additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson);\n additionalHeaders[Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.ContentType, MediaTypes.ApplicationJson);\n let res = await this.put(requestUrl, data, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n }\n async patchJson(requestUrl, obj, additionalHeaders = {}) {\n let data = JSON.stringify(obj, null, 2);\n additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson);\n additionalHeaders[Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.ContentType, MediaTypes.ApplicationJson);\n let res = await this.patch(requestUrl, data, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n }\n /**\n * Makes a raw http request.\n * All other methods such as get, post, patch, and request ultimately call this.\n * Prefer get, del, post and patch\n */\n async request(verb, requestUrl, data, headers) {\n if (this._disposed) {\n throw new Error('Client has already been disposed.');\n }\n let parsedUrl = new URL(requestUrl);\n let info = this._prepareRequest(verb, parsedUrl, headers);\n // Only perform retries on reads since writes may not be idempotent.\n let maxTries = this._allowRetries && RetryableHttpVerbs.indexOf(verb) != -1\n ? this._maxRetries + 1\n : 1;\n let numTries = 0;\n let response;\n while (numTries < maxTries) {\n response = await this.requestRaw(info, data);\n // Check if it's an authentication challenge\n if (response &&\n response.message &&\n response.message.statusCode === HttpCodes.Unauthorized) {\n let authenticationHandler;\n for (let i = 0; i < this.handlers.length; i++) {\n if (this.handlers[i].canHandleAuthentication(response)) {\n authenticationHandler = this.handlers[i];\n break;\n }\n }\n if (authenticationHandler) {\n return authenticationHandler.handleAuthentication(this, info, data);\n }\n else {\n // We have received an unauthorized response but have no handlers to handle it.\n // Let the response return to the caller.\n return response;\n }\n }\n let redirectsRemaining = this._maxRedirects;\n while (HttpRedirectCodes.indexOf(response.message.statusCode) != -1 &&\n this._allowRedirects &&\n redirectsRemaining > 0) {\n const redirectUrl = response.message.headers['location'];\n if (!redirectUrl) {\n // if there's no location to redirect to, we won't\n break;\n }\n let parsedRedirectUrl = new URL(redirectUrl);\n if (parsedUrl.protocol == 'https:' &&\n parsedUrl.protocol != parsedRedirectUrl.protocol &&\n !this._allowRedirectDowngrade) {\n throw new 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.');\n }\n // we need to finish reading the response before reassigning response\n // which will leak the open socket.\n await response.readBody();\n // strip authorization header if redirected to a different hostname\n if (parsedRedirectUrl.hostname !== parsedUrl.hostname) {\n for (let header in headers) {\n // header names are case insensitive\n if (header.toLowerCase() === 'authorization') {\n delete headers[header];\n }\n }\n }\n // let's make the request with the new redirectUrl\n info = this._prepareRequest(verb, parsedRedirectUrl, headers);\n response = await this.requestRaw(info, data);\n redirectsRemaining--;\n }\n if (HttpResponseRetryCodes.indexOf(response.message.statusCode) == -1) {\n // If not a retry code, return immediately instead of retrying\n return response;\n }\n numTries += 1;\n if (numTries < maxTries) {\n await response.readBody();\n await this._performExponentialBackoff(numTries);\n }\n }\n return response;\n }\n /**\n * Needs to be called if keepAlive is set to true in request options.\n */\n dispose() {\n if (this._agent) {\n this._agent.destroy();\n }\n this._disposed = true;\n }\n /**\n * Raw request.\n * @param info\n * @param data\n */\n requestRaw(info, data) {\n return new Promise((resolve, reject) => {\n let callbackForResult = function (err, res) {\n if (err) {\n reject(err);\n }\n resolve(res);\n };\n this.requestRawWithCallback(info, data, callbackForResult);\n });\n }\n /**\n * Raw request with callback.\n * @param info\n * @param data\n * @param onResult\n */\n requestRawWithCallback(info, data, onResult) {\n let socket;\n if (typeof data === 'string') {\n info.options.headers['Content-Length'] = Buffer.byteLength(data, 'utf8');\n }\n let callbackCalled = false;\n let handleResult = (err, res) => {\n if (!callbackCalled) {\n callbackCalled = true;\n onResult(err, res);\n }\n };\n let req = info.httpModule.request(info.options, (msg) => {\n let res = new HttpClientResponse(msg);\n handleResult(null, res);\n });\n req.on('socket', sock => {\n socket = sock;\n });\n // If we ever get disconnected, we want the socket to timeout eventually\n req.setTimeout(this._socketTimeout || 3 * 60000, () => {\n if (socket) {\n socket.end();\n }\n handleResult(new Error('Request timeout: ' + info.options.path), null);\n });\n req.on('error', function (err) {\n // err has statusCode property\n // res should have headers\n handleResult(err, null);\n });\n if (data && typeof data === 'string') {\n req.write(data, 'utf8');\n }\n if (data && typeof data !== 'string') {\n data.on('close', function () {\n req.end();\n });\n data.pipe(req);\n }\n else {\n req.end();\n }\n }\n /**\n * Gets an http agent. This function is useful when you need an http agent that handles\n * routing through a proxy server - depending upon the url and proxy environment variables.\n * @param serverUrl The server URL where the request will be sent. For example, https://api.github.com\n */\n getAgent(serverUrl) {\n let parsedUrl = new URL(serverUrl);\n return this._getAgent(parsedUrl);\n }\n _prepareRequest(method, requestUrl, headers) {\n const info = {};\n info.parsedUrl = requestUrl;\n const usingSsl = info.parsedUrl.protocol === 'https:';\n info.httpModule = usingSsl ? https : http;\n const defaultPort = usingSsl ? 443 : 80;\n info.options = {};\n info.options.host = info.parsedUrl.hostname;\n info.options.port = info.parsedUrl.port\n ? parseInt(info.parsedUrl.port)\n : defaultPort;\n info.options.path =\n (info.parsedUrl.pathname || '') + (info.parsedUrl.search || '');\n info.options.method = method;\n info.options.headers = this._mergeHeaders(headers);\n if (this.userAgent != null) {\n info.options.headers['user-agent'] = this.userAgent;\n }\n info.options.agent = this._getAgent(info.parsedUrl);\n // gives handlers an opportunity to participate\n if (this.handlers) {\n this.handlers.forEach(handler => {\n handler.prepareRequest(info.options);\n });\n }\n return info;\n }\n _mergeHeaders(headers) {\n const lowercaseKeys = obj => Object.keys(obj).reduce((c, k) => ((c[k.toLowerCase()] = obj[k]), c), {});\n if (this.requestOptions && this.requestOptions.headers) {\n return Object.assign({}, lowercaseKeys(this.requestOptions.headers), lowercaseKeys(headers));\n }\n return lowercaseKeys(headers || {});\n }\n _getExistingOrDefaultHeader(additionalHeaders, header, _default) {\n const lowercaseKeys = obj => Object.keys(obj).reduce((c, k) => ((c[k.toLowerCase()] = obj[k]), c), {});\n let clientHeader;\n if (this.requestOptions && this.requestOptions.headers) {\n clientHeader = lowercaseKeys(this.requestOptions.headers)[header];\n }\n return additionalHeaders[header] || clientHeader || _default;\n }\n _getAgent(parsedUrl) {\n let agent;\n let proxyUrl = pm.getProxyUrl(parsedUrl);\n let useProxy = proxyUrl && proxyUrl.hostname;\n if (this._keepAlive && useProxy) {\n agent = this._proxyAgent;\n }\n if (this._keepAlive && !useProxy) {\n agent = this._agent;\n }\n // if agent is already assigned use that agent.\n if (!!agent) {\n return agent;\n }\n const usingSsl = parsedUrl.protocol === 'https:';\n let maxSockets = 100;\n if (!!this.requestOptions) {\n maxSockets = this.requestOptions.maxSockets || http.globalAgent.maxSockets;\n }\n if (useProxy) {\n // If using proxy, need tunnel\n if (!tunnel) {\n tunnel = require('tunnel');\n }\n const agentOptions = {\n maxSockets: maxSockets,\n keepAlive: this._keepAlive,\n proxy: {\n ...((proxyUrl.username || proxyUrl.password) && {\n proxyAuth: `${proxyUrl.username}:${proxyUrl.password}`\n }),\n host: proxyUrl.hostname,\n port: proxyUrl.port\n }\n };\n let tunnelAgent;\n const overHttps = proxyUrl.protocol === 'https:';\n if (usingSsl) {\n tunnelAgent = overHttps ? tunnel.httpsOverHttps : tunnel.httpsOverHttp;\n }\n else {\n tunnelAgent = overHttps ? tunnel.httpOverHttps : tunnel.httpOverHttp;\n }\n agent = tunnelAgent(agentOptions);\n this._proxyAgent = agent;\n }\n // if reusing agent across request and tunneling agent isn't assigned create a new agent\n if (this._keepAlive && !agent) {\n const options = { keepAlive: this._keepAlive, maxSockets: maxSockets };\n agent = usingSsl ? new https.Agent(options) : new http.Agent(options);\n this._agent = agent;\n }\n // if not using private agent and tunnel agent isn't setup then use global agent\n if (!agent) {\n agent = usingSsl ? https.globalAgent : http.globalAgent;\n }\n if (usingSsl && this._ignoreSslError) {\n // we don't want to set NODE_TLS_REJECT_UNAUTHORIZED=0 since that will affect request for entire process\n // http.RequestOptions doesn't expose a way to modify RequestOptions.agent.options\n // we have to cast it to any and change it directly\n agent.options = Object.assign(agent.options || {}, {\n rejectUnauthorized: false\n });\n }\n return agent;\n }\n _performExponentialBackoff(retryNumber) {\n retryNumber = Math.min(ExponentialBackoffCeiling, retryNumber);\n const ms = ExponentialBackoffTimeSlice * Math.pow(2, retryNumber);\n return new Promise(resolve => setTimeout(() => resolve(), ms));\n }\n static dateTimeDeserializer(key, value) {\n if (typeof value === 'string') {\n let a = new Date(value);\n if (!isNaN(a.valueOf())) {\n return a;\n }\n }\n return value;\n }\n async _processResponse(res, options) {\n return new Promise(async (resolve, reject) => {\n const statusCode = res.message.statusCode;\n const response = {\n statusCode: statusCode,\n result: null,\n headers: {}\n };\n // not found leads to null obj returned\n if (statusCode == HttpCodes.NotFound) {\n resolve(response);\n }\n let obj;\n let contents;\n // get the result from the body\n try {\n contents = await res.readBody();\n if (contents && contents.length > 0) {\n if (options && options.deserializeDates) {\n obj = JSON.parse(contents, HttpClient.dateTimeDeserializer);\n }\n else {\n obj = JSON.parse(contents);\n }\n response.result = obj;\n }\n response.headers = res.message.headers;\n }\n catch (err) {\n // Invalid resource (contents not json); leaving result obj null\n }\n // note that 3xx redirects are handled by the http layer.\n if (statusCode > 299) {\n let msg;\n // if exception/error in body, attempt to get better error\n if (obj && obj.message) {\n msg = obj.message;\n }\n else if (contents && contents.length > 0) {\n // it may be the case that the exception is in the body message as string\n msg = contents;\n }\n else {\n msg = 'Failed request: (' + statusCode + ')';\n }\n let err = new HttpClientError(msg, statusCode);\n err.result = response.result;\n reject(err);\n }\n else {\n resolve(response);\n }\n });\n }\n}\nexports.HttpClient = HttpClient;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nfunction getProxyUrl(reqUrl) {\n let usingSsl = reqUrl.protocol === 'https:';\n let proxyUrl;\n if (checkBypass(reqUrl)) {\n return proxyUrl;\n }\n let proxyVar;\n if (usingSsl) {\n proxyVar = process.env['https_proxy'] || process.env['HTTPS_PROXY'];\n }\n else {\n proxyVar = process.env['http_proxy'] || process.env['HTTP_PROXY'];\n }\n if (proxyVar) {\n proxyUrl = new URL(proxyVar);\n }\n return proxyUrl;\n}\nexports.getProxyUrl = getProxyUrl;\nfunction checkBypass(reqUrl) {\n if (!reqUrl.hostname) {\n return false;\n }\n let noProxy = process.env['no_proxy'] || process.env['NO_PROXY'] || '';\n if (!noProxy) {\n return false;\n }\n // Determine the request port\n let reqPort;\n if (reqUrl.port) {\n reqPort = Number(reqUrl.port);\n }\n else if (reqUrl.protocol === 'http:') {\n reqPort = 80;\n }\n else if (reqUrl.protocol === 'https:') {\n reqPort = 443;\n }\n // Format the request hostname and hostname with port\n let upperReqHosts = [reqUrl.hostname.toUpperCase()];\n if (typeof reqPort === 'number') {\n upperReqHosts.push(`${upperReqHosts[0]}:${reqPort}`);\n }\n // Compare request host against noproxy\n for (let upperNoProxyItem of noProxy\n .split(',')\n .map(x => x.trim().toUpperCase())\n .filter(x => x)) {\n if (upperReqHosts.some(x => x === upperNoProxyItem)) {\n return true;\n }\n }\n return false;\n}\nexports.checkBypass = checkBypass;\n",null,null,"import * as path from 'path';\nimport * as pypyInstall from './install-pypy';\nimport {\n IS_WINDOWS,\n WINDOWS_ARCHS,\n validateVersion,\n getPyPyVersionFromPath,\n readExactPyPyVersionFile,\n validatePythonVersionFormatForPyPy,\n IPyPyManifestRelease\n} from './utils';\n\nimport * as semver from 'semver';\nimport * as core from '@actions/core';\nimport * as tc from '@actions/tool-cache';\n\ninterface IPyPyVersionSpec {\n pypyVersion: string;\n pythonVersion: string;\n}\n\nexport async function findPyPyVersion(\n versionSpec: string,\n architecture: string,\n updateEnvironment: boolean,\n checkLatest: boolean,\n allowPreReleases: boolean\n): Promise<{resolvedPyPyVersion: string; resolvedPythonVersion: string}> {\n let resolvedPyPyVersion = '';\n let resolvedPythonVersion = '';\n let installDir: string | null;\n let releases: IPyPyManifestRelease[] | undefined;\n\n const pypyVersionSpec = parsePyPyVersion(versionSpec);\n\n if (checkLatest) {\n releases = await pypyInstall.getAvailablePyPyVersions();\n if (releases && releases.length > 0) {\n const releaseData = pypyInstall.findRelease(\n releases,\n pypyVersionSpec.pythonVersion,\n pypyVersionSpec.pypyVersion,\n architecture,\n false\n );\n\n if (releaseData) {\n core.info(\n `Resolved as PyPy ${releaseData.resolvedPyPyVersion} with Python (${releaseData.resolvedPythonVersion})`\n );\n pypyVersionSpec.pythonVersion = releaseData.resolvedPythonVersion;\n pypyVersionSpec.pypyVersion = releaseData.resolvedPyPyVersion;\n } else {\n core.info(\n `Failed to resolve PyPy ${pypyVersionSpec.pypyVersion} with Python (${pypyVersionSpec.pythonVersion}) from manifest`\n );\n }\n }\n }\n\n ({installDir, resolvedPythonVersion, resolvedPyPyVersion} = findPyPyToolCache(\n pypyVersionSpec.pythonVersion,\n pypyVersionSpec.pypyVersion,\n architecture\n ));\n\n if (!installDir) {\n ({installDir, resolvedPythonVersion, resolvedPyPyVersion} =\n await pypyInstall.installPyPy(\n pypyVersionSpec.pypyVersion,\n pypyVersionSpec.pythonVersion,\n architecture,\n allowPreReleases,\n releases\n ));\n }\n\n const pipDir = IS_WINDOWS ? 'Scripts' : 'bin';\n const _binDir = path.join(installDir, pipDir);\n const binaryExtension = IS_WINDOWS ? '.exe' : '';\n const pythonPath = path.join(\n IS_WINDOWS ? installDir : _binDir,\n `python${binaryExtension}`\n );\n const pythonLocation = pypyInstall.getPyPyBinaryPath(installDir);\n if (updateEnvironment) {\n core.exportVariable('pythonLocation', installDir);\n // https://cmake.org/cmake/help/latest/module/FindPython.html#module:FindPython\n core.exportVariable('Python_ROOT_DIR', installDir);\n // https://cmake.org/cmake/help/latest/module/FindPython2.html#module:FindPython2\n core.exportVariable('Python2_ROOT_DIR', installDir);\n // https://cmake.org/cmake/help/latest/module/FindPython3.html#module:FindPython3\n core.exportVariable('Python3_ROOT_DIR', installDir);\n core.exportVariable('PKG_CONFIG_PATH', pythonLocation + '/lib/pkgconfig');\n core.addPath(pythonLocation);\n core.addPath(_binDir);\n }\n core.setOutput('python-version', 'pypy' + resolvedPyPyVersion);\n core.setOutput('python-path', pythonPath);\n\n return {resolvedPyPyVersion, resolvedPythonVersion};\n}\n\nexport function findPyPyToolCache(\n pythonVersion: string,\n pypyVersion: string,\n architecture: string\n) {\n let resolvedPyPyVersion = '';\n let resolvedPythonVersion = '';\n let installDir: string | null = IS_WINDOWS\n ? findPyPyInstallDirForWindows(pythonVersion)\n : tc.find('PyPy', pythonVersion, architecture);\n\n if (installDir) {\n // 'tc.find' finds tool based on Python version but we also need to check\n // whether PyPy version satisfies requested version.\n resolvedPythonVersion = getPyPyVersionFromPath(installDir);\n resolvedPyPyVersion = readExactPyPyVersionFile(installDir);\n\n const isPyPyVersionSatisfies = semver.satisfies(\n resolvedPyPyVersion,\n pypyVersion\n );\n if (!isPyPyVersionSatisfies) {\n installDir = null;\n resolvedPyPyVersion = '';\n resolvedPythonVersion = '';\n }\n }\n\n if (!installDir) {\n core.info(\n `PyPy version ${pythonVersion} (${pypyVersion}) was not found in the local cache`\n );\n }\n\n return {installDir, resolvedPythonVersion, resolvedPyPyVersion};\n}\n\nexport function parsePyPyVersion(versionSpec: string): IPyPyVersionSpec {\n const versions = versionSpec.split('-').filter(item => !!item);\n\n if (/^(pypy)(.+)/.test(versions[0])) {\n const pythonVersion = versions[0].replace('pypy', '');\n versions.splice(0, 1, 'pypy', pythonVersion);\n }\n\n if (versions.length < 2 || versions[0] != 'pypy') {\n throw new Error(\n \"Invalid 'version' property for PyPy. PyPy version should be specified as 'pypy' or 'pypy-'. See README for examples and documentation.\"\n );\n }\n\n const pythonVersion = versions[1];\n let pypyVersion: string;\n if (versions.length > 2) {\n pypyVersion = pypyInstall.pypyVersionToSemantic(versions[2]);\n } else {\n pypyVersion = 'x';\n }\n\n if (!validateVersion(pythonVersion) || !validateVersion(pypyVersion)) {\n throw new Error(\n \"Invalid 'version' property for PyPy. Both Python version and PyPy versions should satisfy SemVer notation. See README for examples and documentation.\"\n );\n }\n\n if (!validatePythonVersionFormatForPyPy(pythonVersion)) {\n throw new Error(\n \"Invalid format of Python version for PyPy. Python version should be specified in format 'x.y'. See README for examples and documentation.\"\n );\n }\n\n return {\n pypyVersion: pypyVersion,\n pythonVersion: pythonVersion\n };\n}\n\nexport function findPyPyInstallDirForWindows(pythonVersion: string): string {\n let installDir = '';\n\n WINDOWS_ARCHS.forEach(\n architecture =>\n (installDir = installDir || tc.find('PyPy', pythonVersion, architecture))\n );\n\n return installDir;\n}\n","import * as os from 'os';\nimport * as path from 'path';\nimport * as core from '@actions/core';\nimport * as tc from '@actions/tool-cache';\nimport * as semver from 'semver';\nimport * as httpm from '@actions/http-client';\nimport * as exec from '@actions/exec';\nimport fs from 'fs';\n\nimport {\n IS_WINDOWS,\n WINDOWS_PLATFORMS,\n IPyPyManifestRelease,\n createSymlinkInFolder,\n isNightlyKeyword,\n writeExactPyPyVersionFile\n} from './utils';\n\nexport async function installPyPy(\n pypyVersion: string,\n pythonVersion: string,\n architecture: string,\n allowPreReleases: boolean,\n releases: IPyPyManifestRelease[] | undefined\n) {\n let downloadDir;\n\n releases = releases ?? (await getAvailablePyPyVersions());\n\n if (!releases || releases.length === 0) {\n throw new Error('No release was found in PyPy version.json');\n }\n\n let releaseData = findRelease(\n releases,\n pythonVersion,\n pypyVersion,\n architecture,\n false\n );\n\n if (allowPreReleases && (!releaseData || !releaseData.foundAsset)) {\n // check for pre-release\n core.info(\n [\n `Stable PyPy version ${pythonVersion} (${pypyVersion}) with arch ${architecture} not found`,\n `Trying pre-release versions`\n ].join(os.EOL)\n );\n releaseData = findRelease(\n releases,\n pythonVersion,\n pypyVersion,\n architecture,\n true\n );\n }\n\n if (!releaseData || !releaseData.foundAsset) {\n throw new Error(\n `PyPy version ${pythonVersion} (${pypyVersion}) with arch ${architecture} not found`\n );\n }\n\n const {foundAsset, resolvedPythonVersion, resolvedPyPyVersion} = releaseData;\n const downloadUrl = `${foundAsset.download_url}`;\n\n core.info(`Downloading PyPy from \"${downloadUrl}\" ...`);\n\n try {\n const pypyPath = await tc.downloadTool(downloadUrl);\n\n core.info('Extracting downloaded archive...');\n if (IS_WINDOWS) {\n downloadDir = await tc.extractZip(pypyPath);\n } else {\n downloadDir = await tc.extractTar(pypyPath, undefined, 'x');\n }\n\n // root folder in archive can have unpredictable name so just take the first folder\n // downloadDir is unique folder under TEMP and can't contain any other folders\n const archiveName = fs.readdirSync(downloadDir)[0];\n\n const toolDir = path.join(downloadDir, archiveName);\n let installDir = toolDir;\n if (!isNightlyKeyword(resolvedPyPyVersion)) {\n installDir = await tc.cacheDir(\n toolDir,\n 'PyPy',\n resolvedPythonVersion,\n architecture\n );\n }\n\n writeExactPyPyVersionFile(installDir, resolvedPyPyVersion);\n\n const binaryPath = getPyPyBinaryPath(installDir);\n await createPyPySymlink(binaryPath, resolvedPythonVersion);\n await installPip(binaryPath);\n\n return {installDir, resolvedPythonVersion, resolvedPyPyVersion};\n } catch (err) {\n if (err instanceof Error) {\n // Rate limit?\n if (\n err instanceof tc.HTTPError &&\n (err.httpStatusCode === 403 || err.httpStatusCode === 429)\n ) {\n core.info(\n `Received HTTP status code ${err.httpStatusCode}. This usually indicates the rate limit has been exceeded`\n );\n } else {\n core.info(err.message);\n }\n if (err.stack !== undefined) {\n core.debug(err.stack);\n }\n }\n throw err;\n }\n}\n\nexport async function getAvailablePyPyVersions() {\n const url = 'https://downloads.python.org/pypy/versions.json';\n const http: httpm.HttpClient = new httpm.HttpClient('tool-cache');\n\n const response = await http.getJson(url);\n if (!response.result) {\n throw new Error(\n `Unable to retrieve the list of available PyPy versions from '${url}'`\n );\n }\n\n return response.result;\n}\n\nasync function createPyPySymlink(\n pypyBinaryPath: string,\n pythonVersion: string\n) {\n const version = semver.coerce(pythonVersion)!;\n const pythonBinaryPostfix = semver.major(version);\n const pythonMinor = semver.minor(version);\n const pypyBinaryPostfix = pythonBinaryPostfix === 2 ? '' : '3';\n const pypyMajorMinorBinaryPostfix = `${pythonBinaryPostfix}.${pythonMinor}`;\n const binaryExtension = IS_WINDOWS ? '.exe' : '';\n\n core.info('Creating symlinks...');\n createSymlinkInFolder(\n pypyBinaryPath,\n `pypy${pypyBinaryPostfix}${binaryExtension}`,\n `python${pythonBinaryPostfix}${binaryExtension}`,\n true\n );\n\n createSymlinkInFolder(\n pypyBinaryPath,\n `pypy${pypyBinaryPostfix}${binaryExtension}`,\n `python${binaryExtension}`,\n true\n );\n\n createSymlinkInFolder(\n pypyBinaryPath,\n `pypy${pypyBinaryPostfix}${binaryExtension}`,\n `pypy${pypyMajorMinorBinaryPostfix}${binaryExtension}`,\n true\n );\n}\n\nasync function installPip(pythonLocation: string) {\n core.info('Installing and updating pip');\n const pythonBinary = path.join(pythonLocation, 'python');\n await exec.exec(`${pythonBinary} -m ensurepip`);\n\n await exec.exec(\n `${pythonLocation}/python -m pip install --ignore-installed pip`\n );\n}\n\nexport function findRelease(\n releases: IPyPyManifestRelease[],\n pythonVersion: string,\n pypyVersion: string,\n architecture: string,\n includePrerelease: boolean\n) {\n const options = {includePrerelease: includePrerelease};\n const filterReleases = releases.filter(item => {\n const isPythonVersionSatisfied = semver.satisfies(\n semver.coerce(item.python_version)!,\n pythonVersion\n );\n const isPyPyNightly =\n isNightlyKeyword(pypyVersion) && isNightlyKeyword(item.pypy_version);\n const isPyPyVersionSatisfied =\n isPyPyNightly ||\n semver.satisfies(\n pypyVersionToSemantic(item.pypy_version),\n pypyVersion,\n options\n );\n const isArchPresent =\n item.files &&\n (IS_WINDOWS\n ? isArchPresentForWindows(item, architecture)\n : isArchPresentForMacOrLinux(item, architecture, process.platform));\n return isPythonVersionSatisfied && isPyPyVersionSatisfied && isArchPresent;\n });\n\n if (filterReleases.length === 0) {\n return null;\n }\n\n const sortedReleases = filterReleases.sort((previous, current) => {\n return (\n semver.compare(\n semver.coerce(pypyVersionToSemantic(current.pypy_version))!,\n semver.coerce(pypyVersionToSemantic(previous.pypy_version))!\n ) ||\n semver.compare(\n semver.coerce(current.python_version)!,\n semver.coerce(previous.python_version)!\n )\n );\n });\n\n const foundRelease = sortedReleases[0];\n const foundAsset = IS_WINDOWS\n ? findAssetForWindows(foundRelease, architecture)\n : findAssetForMacOrLinux(foundRelease, architecture, process.platform);\n\n return {\n foundAsset,\n resolvedPythonVersion: foundRelease.python_version,\n resolvedPyPyVersion: foundRelease.pypy_version.trim()\n };\n}\n\n/** Get PyPy binary location from the tool of installation directory\n * - On Linux and macOS, the Python interpreter is in 'bin'.\n * - On Windows, it is in the installation root.\n */\nexport function getPyPyBinaryPath(installDir: string) {\n const _binDir = path.join(installDir, 'bin');\n return IS_WINDOWS ? installDir : _binDir;\n}\n\nexport function pypyVersionToSemantic(versionSpec: string) {\n const prereleaseVersion = /(\\d+\\.\\d+\\.\\d+)((?:a|b|rc))(\\d*)/g;\n return versionSpec.replace(prereleaseVersion, '$1-$2.$3');\n}\n\nexport function isArchPresentForWindows(item: any, architecture: string) {\n architecture = replaceX32toX86(architecture);\n return item.files.some(\n (file: any) =>\n WINDOWS_PLATFORMS.includes(file.platform) && file.arch === architecture\n );\n}\n\nexport function isArchPresentForMacOrLinux(\n item: any,\n architecture: string,\n platform: string\n) {\n return item.files.some(\n (file: any) => file.arch === architecture && file.platform === platform\n );\n}\n\nexport function findAssetForWindows(releases: any, architecture: string) {\n architecture = replaceX32toX86(architecture);\n return releases.files.find(\n (item: any) =>\n WINDOWS_PLATFORMS.includes(item.platform) && item.arch === architecture\n );\n}\n\nexport function findAssetForMacOrLinux(\n releases: any,\n architecture: string,\n platform: string\n) {\n return releases.files.find(\n (item: any) => item.arch === architecture && item.platform === platform\n );\n}\n\nfunction replaceX32toX86(architecture: string): string {\n // convert x32 to x86 because os.arch() returns x32 for 32-bit systems but PyPy releases json has x86 arch value.\n if (architecture === 'x32') {\n architecture = 'x86';\n }\n return architecture;\n}\n"],"mappings":"otBCUA,QAAS,CAAAA,EAAcC,CAAmB,EACxC,MAAO,CAAAA,CAAA,CAAYC,UAAA,CAAW,OAChC,EAIO,cAAe,CAAAC,EAAmBF,CAAe,CAAEG,CAAiB,CAAEC,CAAY,EAK1D,IAAAC,CAJzB,CAAAC,CAAA,CAAAC,MAAA,GACFC,OAAA,CAAQC,GAAA,CAAIC,oBAAA,CAAuB,+BADrC,EAIA,GAAM,CAAAC,CAAA,CAAuB,IAAY,IAAZN,CAAA,CAAAG,OAAA,CAAQC,GAAA,CAAIC,oBAAA,GAAZ,SAAAL,CAAA,QAAAA,CAAA,CAAkCO,IAA/D,GAOA,GANoC,UAAhC,MAAO,CAAAD,CAAA,EAAqC,EAAyB,GAAzBA,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CAAeiD,CAAA,CAAgBjD,CAAA,EACxBH,CAAA,CAAK0C,KAAA,CAAMkkB,IAAA,CAChB5mB,CAAC,EACC,GAAA2B,CAAA,CAAAinB,iBAAgB,EAAEjlB,QAAA,CAAS3D,CAAA,CAAKsF,QAAA,GAAatF,CAAA,CAAKic,IAAA,GAAS9b,CAAA,CAEjE,EAEO,QAAS,CAAAiC,EACdpC,CAAS,CACTG,CAAoB,CACpBa,CAAgB,EAEhB,MAAO,CAAAhB,CAAA,CAAK0C,KAAA,CAAMkkB,IAAA,CAChB5mB,CAAC,EAAcA,CAAA,CAAKic,IAAA,GAAS9b,CAAA,EAAgBH,CAAA,CAAKsF,QAAA,GAAatE,CAAA,CAEnE,EAEO,QAAS,CAAAqB,EAAoBrC,CAAa,CAAEG,CAAoB,EAErE,MADA,CAAAA,CAAA,CAAeiD,CAAA,CAAgBjD,CAAA,EACxBH,CAAA,CAAS0C,KAAA,CAAMD,IAAA,CACpBzC,CAAC,EACC,GAAA2B,CAAA,CAAAinB,iBAAgB,EAAEjlB,QAAA,CAAS3D,CAAA,CAAKsF,QAAA,GAAatF,CAAA,CAAKic,IAAA,GAAS9b,CAAA,CAEjE,EAEO,QAAS,CAAAqC,EACdxC,CAAa,CACbG,CAAoB,CACpBa,CAAgB,EAEhB,MAAO,CAAAhB,CAAA,CAAS0C,KAAA,CAAMD,IAAA,CACpBzC,CAAC,EAAcA,CAAA,CAAKic,IAAA,GAAS9b,CAAA,EAAgBH,CAAA,CAAKsF,QAAA,GAAatE,CAAA,CAEnE,EAEA,QAAS,CAAAoC,EAAgBpD,CAAoB,EAK3C,MAHqB,QAAjBA,CAAA,GACFA,CAAA,CAAe,KADjB,EAGOA,CACT,E"} \ No newline at end of file diff --git a/dist/legacy/actions_python.c7411d6b.js b/dist/legacy/actions_python.c7411d6b.js new file mode 100644 index 00000000..c42ea6b9 --- /dev/null +++ b/dist/legacy/actions_python.c7411d6b.js @@ -0,0 +1,3 @@ +function $parcel$export(e,t,r,i){Object.defineProperty(e,t,{get:r,set:i,enumerable:!0,configurable:!0});}function $parcel$interopDefault(e){return e&&e.__esModule?e.default:e;}var $kC5q1$path=require("path"),$kC5q1$os=require("os"),$kC5q1$fs=require("fs"),$kC5q1$stream=require("stream"),$kC5q1$util=require("util"),$kC5q1$assert=require("assert"),$kC5q1$child_process=require("child_process"),$kC5q1$crypto=require("crypto"),$parcel$global=globalThis,parcelRequire=$parcel$global.parcelRequire810d,parcelRegister=parcelRequire.register;parcelRegister("8L9T2",function(e,t){var r,i,n,s,o,a,h,c,l;function u(e){return e.startsWith("pypy");}async function p(e,t,o){var c;h.IS_MAC&&(process.env.AGENT_TOOLSDIRECTORY="/Users/runner/hostedtoolcache");let l=null===(c=process.env.AGENT_TOOLSDIRECTORY)||void 0===c?void 0:c.trim();if("string"==typeof l&&""!==l&&(process.env.RUNNER_TOOL_CACHE=process.env.AGENT_TOOLSDIRECTORY),(0,s.debug)("Python is expected to be installed into "+process.env.RUNNER_TOOL_CACHE),e){let t;if(u(e)){let r=await(0,i.findPyPyVersion)(e,o,!0,d,!1);t=`${r.resolvedPyPyVersion}-${r.resolvedPythonVersion}`,(0,n.info)(`Successfully set up PyPy ${r.resolvedPyPyVersion} with Python (${r.resolvedPythonVersion})`);}else{let i=await(0,r.useCpythonVersion)(e,o,!0,d,!1);t=i.version,(0,n.info)(`Successfully set up ${i.impl} (${t})`);}}a.GITHUB_ACTIONS&&(await f());}async function f(){let e=(0,o.join)(l,"python_matcher.json");if(!(await(0,c.pathExists)(e)))return(0,n.warning)("the python_matcher.json file does not exist in the same folder as setup-cpp.js");(0,n.info)("::add-matcher::"+e);}$parcel$export(e.exports,"setupActionsPython",()=>p),r=parcelRequire("i8mEC"),i=parcelRequire("ktIgk"),n=parcelRequire("hHq4F"),s=parcelRequire("1o3Gj"),o=parcelRequire("eAXk4"),a=parcelRequire("dAuy6"),h=parcelRequire("56hu0"),c=parcelRequire("6t4SD"),l=$kC5q1$path.resolve(__dirname,"../../src/python");let d=!1;}),parcelRegister("i8mEC",function(e,t){var r,i,n,s,o;function a(e){return r.IS_WINDOWS?$kC5q1$path.join(e,"Scripts"):$kC5q1$path.join(e,"bin");}async function h(e,t,h,p,f){let d=null,m=u(c(e),f);if(s.debug(`Semantic version spec of ${e} is ${m}`),p){var y;d=await n.getManifest();let e=null===(y=await n.findReleaseFromManifest(m,t,d))||void 0===y?void 0:y.version;e?(m=e,s.info(`Resolved as '${m}'`)):s.info(`Failed to resolve version ${m} from manifest`);}let E=o.find("Python",m,t);if(!E){s.info(`Version ${m} was not found in the local cache`);let e=await n.findReleaseFromManifest(m,t,d);e&&e.files&&e.files.length>0&&(s.info(`Version ${m} is available for downloading`),await n.installCpythonFromRelease(e),E=o.find("Python",m,t));}if(!E){let i=await(0,r.getOSInfo)();throw Error([`The version '${e}' with architecture '${t}' was not found for ${i?`${i.osName} ${i.osVersion}`:"this operating system"}.`,"The list of all available versions can be found here: "+n.MANIFEST_URL].join($kC5q1$os.EOL));}let g=a(E),w=r.IS_WINDOWS?".exe":"",x=$kC5q1$path.join(r.IS_WINDOWS?E:g,"python"+w);if(h){if(s.exportVariable("pythonLocation",E),s.exportVariable("PKG_CONFIG_PATH",E+"/lib/pkgconfig"),s.exportVariable("pythonLocation",E),s.exportVariable("Python_ROOT_DIR",E),s.exportVariable("Python2_ROOT_DIR",E),s.exportVariable("Python3_ROOT_DIR",E),s.exportVariable("PKG_CONFIG_PATH",E+"/lib/pkgconfig"),r.IS_LINUX){let e=process.env.LD_LIBRARY_PATH?":"+process.env.LD_LIBRARY_PATH:"",t=$kC5q1$path.join(E,"lib");e.split(":").includes(t)||s.exportVariable("LD_LIBRARY_PATH",t+e);}if(s.addPath(E),s.addPath(g),r.IS_WINDOWS){let e=$kC5q1$path.basename($kC5q1$path.dirname(E)),t=i.major(e),r=i.minor(e),n=$kC5q1$path.join(process.env.APPDATA||"","Python",`Python${t}${r}`,"Scripts");s.addPath(n);}}let v=l(E);return s.setOutput("python-version",v),s.setOutput("python-path",x),{impl:"CPython",version:v};}function c(e){let t=/^(\d+)\.(\d+)-dev$/;return e.replace(t,"~$1.$2.0-0");}function l(e){let t=e.split($kC5q1$path.sep),r=t.findIndex(e=>"PyPy"===e||"Python"===e);return t[r+1]||"";}function u(e,t){let r=/(\d+\.\d+\.\d+)((?:a|b|rc)\d*)/g,i=/^(\d+)\.(\d+)$/,n=e.replace(r,"$1-$2");return t&&(n=n.replace(i,"~$1.$2.0-0")),n;}$parcel$export(e.exports,"useCpythonVersion",()=>h),r=parcelRequire("56hu0"),i=parcelRequire("coVwk"),n=parcelRequire("aN96g"),s=parcelRequire("1o3Gj"),o=parcelRequire("5DFAC");}),parcelRegister("56hu0",function(e,t){var r,i,n;function s(e,t,r,i=!1){let n=$kC5q1$path.join(e,t),s=$kC5q1$path.join(e,r);$parcel$interopDefault($kC5q1$fs).existsSync(s)||($parcel$interopDefault($kC5q1$fs).symlinkSync(n,s),!y&&i&&$parcel$interopDefault($kC5q1$fs).chmodSync(s,"755"));}function o(e){return a(e)||!!i.validRange(e);}function a(e){return"nightly"===e;}function h(e){return $kC5q1$path.basename($kC5q1$path.dirname(e));}function c(e){let t="",r=$kC5q1$path.join(e,v);return $parcel$interopDefault($kC5q1$fs).existsSync(r)&&(t=$parcel$interopDefault($kC5q1$fs).readFileSync(r).toString().trim()),t;}function l(e,t){let r=$kC5q1$path.join(e,v);$parcel$interopDefault($kC5q1$fs).writeFileSync(r,t);}function u(e){return /^\d+\.\d+$/.test(e);}async function p(){let{stdout:e}=await n.getExecOutput('powershell -command "(Get-CimInstance -ClassName Win32_OperatingSystem).Caption"',void 0,{silent:!0});return{osName:"Windows",osVersion:e.trim().split(" ")[3]};}async function f(){let{stdout:e}=await n.getExecOutput("sw_vers",["-productVersion"],{silent:!0});return{osName:"macOS",osVersion:e.trim()};}async function d(){let{stdout:e}=await n.getExecOutput("lsb_release",["-i","-r","-s"],{silent:!0}),[t,i]=e.trim().split("\n");return r.debug(`OS Name: ${t}, Version: ${i}`),{osName:t,osVersion:i};}async function m(){let e;try{y?e=await p():E?e=await d():g&&(e=await f());}catch(t){let e=t;r.debug(e.message);}finally{return e;}}$parcel$export(e.exports,"IS_WINDOWS",()=>y),$parcel$export(e.exports,"IS_LINUX",()=>E),$parcel$export(e.exports,"IS_MAC",()=>g),$parcel$export(e.exports,"WINDOWS_ARCHS",()=>w),$parcel$export(e.exports,"WINDOWS_PLATFORMS",()=>x),$parcel$export(e.exports,"createSymlinkInFolder",()=>s),$parcel$export(e.exports,"validateVersion",()=>o),$parcel$export(e.exports,"isNightlyKeyword",()=>a),$parcel$export(e.exports,"getPyPyVersionFromPath",()=>h),$parcel$export(e.exports,"readExactPyPyVersionFile",()=>c),$parcel$export(e.exports,"writeExactPyPyVersionFile",()=>l),$parcel$export(e.exports,"validatePythonVersionFormatForPyPy",()=>u),$parcel$export(e.exports,"getOSInfo",()=>m),r=parcelRequire("1o3Gj"),i=parcelRequire("coVwk"),parcelRequire("jyjVK"),n=parcelRequire("bHzmH");let y="win32"===process.platform,E="linux"===process.platform,g="darwin"===process.platform,w=["x86","x64"],x=["win32","win64"],v="PYPY_VERSION";}),parcelRegister("jyjVK",function(e,t){var r;$parcel$export(e.exports,"parse",()=>r,e=>r=e),r=parcelRequire("3YHpW"),parcelRequire("AMirQ");}),parcelRegister("3YHpW",function(e,t){e.exports=parcelRequire("4ElZQ"),e.exports.async=parcelRequire("cn5IV"),e.exports.stream=parcelRequire("6Gy5N"),e.exports.prettyError=parcelRequire("2Aiv1");}),parcelRegister("4ElZQ",function(e,t){var r,i;function n(e){$parcel$global.Buffer&&$parcel$global.Buffer.isBuffer(e)&&(e=e.toString("utf8"));let t=new r();try{return t.parse(e),t.finish();}catch(t){throw i(t,e);}}e.exports=n,r=parcelRequire("kdMBf"),i=parcelRequire("2Aiv1");}),parcelRegister("kdMBf",function(module,exports){var $65V8s,$2Gq8U,$ackbS,$k3cxx;let _custom;function isDigit(e){return e>=CHAR_0&&e<=CHAR_9;}function isHexit(e){return e>=CHAR_A&&e<=CHAR_F||e>=CHAR_a&&e<=CHAR_f||e>=CHAR_0&&e<=CHAR_9;}function isBit(e){return e===CHAR_1||e===CHAR_0;}function isOctit(e){return e>=CHAR_0&&e<=CHAR_7;}function isAlphaNumQuoteHyphen(e){return e>=CHAR_A&&e<=CHAR_Z||e>=CHAR_a&&e<=CHAR_z||e>=CHAR_0&&e<=CHAR_9||e===CHAR_APOS||e===CHAR_QUOT||e===CHAR_LOWBAR||e===CHAR_HYPHEN;}function isAlphaNumHyphen(e){return e>=CHAR_A&&e<=CHAR_Z||e>=CHAR_a&&e<=CHAR_z||e>=CHAR_0&&e<=CHAR_9||e===CHAR_LOWBAR||e===CHAR_HYPHEN;}function hasKey(e,t){return!!hasOwnProperty.call(e,t)||("__proto__"===t&&defineProperty(e,"__proto__",descriptor),!1);}function InlineTable(){return Object.defineProperties({},{[_type]:{value:INLINE_TABLE}});}function isInlineTable(e){return null!==e&&"object"==typeof e&&e[_type]===INLINE_TABLE;}function Table(){return Object.defineProperties({},{[_type]:{value:TABLE},[_declared]:{value:!1,writable:!0}});}function isTable(e){return null!==e&&"object"==typeof e&&e[_type]===TABLE;}function InlineList(e){return Object.defineProperties([],{[_type]:{value:INLINE_LIST},[_contentType]:{value:e}});}function isInlineList(e){return null!==e&&"object"==typeof e&&e[_type]===INLINE_LIST;}function List(){return Object.defineProperties([],{[_type]:{value:LIST}});}function isList(e){return null!==e&&"object"==typeof e&&e[_type]===LIST;}function Integer(e){let t=+e;return(Object.is(t,-0)&&(t=0),$parcel$global.BigInt&&!Number.isSafeInteger(t))?new BoxedBigInt(e):Object.defineProperties(new Number(t),{isNaN:{value:function(){return isNaN(this);}},[_type]:{value:INTEGER},[_inspect]:{value:()=>`[Integer: ${e}]`}});}function isInteger(e){return null!==e&&"object"==typeof e&&e[_type]===INTEGER;}function Float(e){return Object.defineProperties(new Number(e),{[_type]:{value:FLOAT},[_inspect]:{value:()=>`[Float: ${e}]`}});}function isFloat(e){return null!==e&&"object"==typeof e&&e[_type]===FLOAT;}function tomlType(e){let t=typeof e;if("object"===t){if(null===e)return"null";if(e instanceof Date)return"datetime";if(_type in e)switch(e[_type]){case INLINE_TABLE:return"inline-table";case INLINE_LIST:return"inline-list";case TABLE:return"table";case LIST:return"list";case FLOAT:return"float";case INTEGER:return"integer";}}return t;}function makeParserClass(e){class t extends e{constructor(){super(),this.ctx=this.obj=Table();}atEndOfWord(){return this.char===CHAR_NUM||this.char===CTRL_I||this.char===CHAR_SP||this.atEndOfLine();}atEndOfLine(){return this.char===e.END||this.char===CTRL_J||this.char===CTRL_M;}parseStart(){if(this.char===e.END)return null;if(this.char===CHAR_LSQB)return this.call(this.parseTableOrList);if(this.char===CHAR_NUM)return this.call(this.parseComment);if(this.char===CTRL_J||this.char===CHAR_SP||this.char===CTRL_I||this.char===CTRL_M)return null;if(isAlphaNumQuoteHyphen(this.char))return this.callNow(this.parseAssignStatement);else throw this.error(new TomlError(`Unknown character "${this.char}"`));}parseWhitespaceToEOL(){if(this.char===CHAR_SP||this.char===CTRL_I||this.char===CTRL_M)return null;if(this.char===CHAR_NUM)return this.goto(this.parseComment);if(this.char===e.END||this.char===CTRL_J)return this.return();throw this.error(new TomlError("Unexpected character, expected only whitespace or comments till end of line"));}parseAssignStatement(){return this.callNow(this.parseAssign,this.recordAssignStatement);}recordAssignStatement(e){let t=this.ctx,r=e.key.pop();for(let r of e.key){if(hasKey(t,r)&&(!isTable(t[r])||t[r][_declared]))throw this.error(new TomlError("Can't redefine existing key"));t=t[r]=t[r]||Table();}if(hasKey(t,r))throw this.error(new TomlError("Can't redefine existing key"));return isInteger(e.value)||isFloat(e.value)?t[r]=e.value.valueOf():t[r]=e.value,this.goto(this.parseWhitespaceToEOL);}parseAssign(){return this.callNow(this.parseKeyword,this.recordAssignKeyword);}recordAssignKeyword(e){return this.state.resultTable?this.state.resultTable.push(e):this.state.resultTable=[e],this.goto(this.parseAssignKeywordPreDot);}parseAssignKeywordPreDot(){return this.char===CHAR_PERIOD?this.next(this.parseAssignKeywordPostDot):this.char!==CHAR_SP&&this.char!==CTRL_I?this.goto(this.parseAssignEqual):void 0;}parseAssignKeywordPostDot(){if(this.char!==CHAR_SP&&this.char!==CTRL_I)return this.callNow(this.parseKeyword,this.recordAssignKeyword);}parseAssignEqual(){if(this.char===CHAR_EQUALS)return this.next(this.parseAssignPreValue);throw this.error(new TomlError('Invalid character, expected "="'));}parseAssignPreValue(){return this.char===CHAR_SP||this.char===CTRL_I?null:this.callNow(this.parseValue,this.recordAssignValue);}recordAssignValue(e){return this.returnNow({key:this.state.resultTable,value:e});}parseComment(){do if(this.char===e.END||this.char===CTRL_J)return this.return();while(this.nextChar());}parseTableOrList(){if(this.char!==CHAR_LSQB)return this.goto(this.parseTable);this.next(this.parseList);}parseTable(){return this.ctx=this.obj,this.goto(this.parseTableNext);}parseTableNext(){return this.char===CHAR_SP||this.char===CTRL_I?null:this.callNow(this.parseKeyword,this.parseTableMore);}parseTableMore(e){if(this.char===CHAR_SP||this.char===CTRL_I)return null;if(this.char===CHAR_RSQB){if(hasKey(this.ctx,e)&&(!isTable(this.ctx[e])||this.ctx[e][_declared]))throw this.error(new TomlError("Can't redefine existing key"));return this.ctx=this.ctx[e]=this.ctx[e]||Table(),this.ctx[_declared]=!0,this.next(this.parseWhitespaceToEOL);}if(this.char===CHAR_PERIOD){if(hasKey(this.ctx,e)){if(isTable(this.ctx[e]))this.ctx=this.ctx[e];else if(isList(this.ctx[e]))this.ctx=this.ctx[e][this.ctx[e].length-1];else throw this.error(new TomlError("Can't redefine existing key"));}else this.ctx=this.ctx[e]=Table();return this.next(this.parseTableNext);}throw this.error(new TomlError("Unexpected character, expected whitespace, . or ]"));}parseList(){return this.ctx=this.obj,this.goto(this.parseListNext);}parseListNext(){return this.char===CHAR_SP||this.char===CTRL_I?null:this.callNow(this.parseKeyword,this.parseListMore);}parseListMore(e){if(this.char===CHAR_SP||this.char===CTRL_I)return null;if(this.char===CHAR_RSQB){if(hasKey(this.ctx,e)||(this.ctx[e]=List()),isInlineList(this.ctx[e]))throw this.error(new TomlError("Can't extend an inline array"));if(isList(this.ctx[e])){let t=Table();this.ctx[e].push(t),this.ctx=t;}else throw this.error(new TomlError("Can't redefine an existing key"));return this.next(this.parseListEnd);}if(this.char===CHAR_PERIOD){if(hasKey(this.ctx,e)){if(isInlineList(this.ctx[e]))throw this.error(new TomlError("Can't extend an inline array"));if(isInlineTable(this.ctx[e]))throw this.error(new TomlError("Can't extend an inline table"));else if(isList(this.ctx[e]))this.ctx=this.ctx[e][this.ctx[e].length-1];else if(isTable(this.ctx[e]))this.ctx=this.ctx[e];else throw this.error(new TomlError("Can't redefine an existing key"));}else this.ctx=this.ctx[e]=Table();return this.next(this.parseListNext);}throw this.error(new TomlError("Unexpected character, expected whitespace, . or ]"));}parseListEnd(e){if(this.char===CHAR_RSQB)return this.next(this.parseWhitespaceToEOL);throw this.error(new TomlError("Unexpected character, expected whitespace, . or ]"));}parseValue(){if(this.char===e.END)throw this.error(new TomlError("Key without value"));if(this.char===CHAR_QUOT)return this.next(this.parseDoubleString);if(this.char===CHAR_APOS)return this.next(this.parseSingleString);if(this.char===CHAR_HYPHEN||this.char===CHAR_PLUS)return this.goto(this.parseNumberSign);if(this.char===CHAR_i)return this.next(this.parseInf);if(this.char===CHAR_n)return this.next(this.parseNan);if(isDigit(this.char))return this.goto(this.parseNumberOrDateTime);else if(this.char===CHAR_t||this.char===CHAR_f)return this.goto(this.parseBoolean);else if(this.char===CHAR_LSQB)return this.call(this.parseInlineList,this.recordValue);else if(this.char===CHAR_LCUB)return this.call(this.parseInlineTable,this.recordValue);else throw this.error(new TomlError("Unexpected character, expecting string, number, datetime, boolean, inline array or inline table"));}recordValue(e){return this.returnNow(e);}parseInf(){if(this.char===CHAR_n)return this.next(this.parseInf2);throw this.error(new TomlError('Unexpected character, expected "inf", "+inf" or "-inf"'));}parseInf2(){if(this.char===CHAR_f)return"-"===this.state.buf?this.return(-1/0):this.return(1/0);throw this.error(new TomlError('Unexpected character, expected "inf", "+inf" or "-inf"'));}parseNan(){if(this.char===CHAR_a)return this.next(this.parseNan2);throw this.error(new TomlError('Unexpected character, expected "nan"'));}parseNan2(){if(this.char===CHAR_n)return this.return(NaN);throw this.error(new TomlError('Unexpected character, expected "nan"'));}parseKeyword(){return this.char===CHAR_QUOT?this.next(this.parseBasicString):this.char===CHAR_APOS?this.next(this.parseLiteralString):this.goto(this.parseBareKey);}parseBareKey(){do{if(this.char===e.END)throw this.error(new TomlError("Key ended without value"));if(isAlphaNumHyphen(this.char))this.consume();else if(0!==this.state.buf.length)return this.returnNow();else throw this.error(new TomlError("Empty bare keys are not allowed"));}while(this.nextChar());}parseSingleString(){return this.char===CHAR_APOS?this.next(this.parseLiteralMultiStringMaybe):this.goto(this.parseLiteralString);}parseLiteralString(){do{if(this.char===CHAR_APOS)return this.return();if(this.atEndOfLine())throw this.error(new TomlError("Unterminated string"));if(this.char===CHAR_DEL||this.char<=CTRL_CHAR_BOUNDARY&&this.char!==CTRL_I)throw this.errorControlCharInString();else this.consume();}while(this.nextChar());}parseLiteralMultiStringMaybe(){return this.char===CHAR_APOS?this.next(this.parseLiteralMultiString):this.returnNow();}parseLiteralMultiString(){return this.char===CTRL_M?null:this.char===CTRL_J?this.next(this.parseLiteralMultiStringContent):this.goto(this.parseLiteralMultiStringContent);}parseLiteralMultiStringContent(){do{if(this.char===CHAR_APOS)return this.next(this.parseLiteralMultiEnd);if(this.char===e.END)throw this.error(new TomlError("Unterminated multi-line string"));if(this.char===CHAR_DEL||this.char<=CTRL_CHAR_BOUNDARY&&this.char!==CTRL_I&&this.char!==CTRL_J&&this.char!==CTRL_M)throw this.errorControlCharInString();else this.consume();}while(this.nextChar());}parseLiteralMultiEnd(){return this.char===CHAR_APOS?this.next(this.parseLiteralMultiEnd2):(this.state.buf+="'",this.goto(this.parseLiteralMultiStringContent));}parseLiteralMultiEnd2(){return this.char===CHAR_APOS?this.return():(this.state.buf+="''",this.goto(this.parseLiteralMultiStringContent));}parseDoubleString(){return this.char===CHAR_QUOT?this.next(this.parseMultiStringMaybe):this.goto(this.parseBasicString);}parseBasicString(){do{if(this.char===CHAR_BSOL)return this.call(this.parseEscape,this.recordEscapeReplacement);if(this.char===CHAR_QUOT)return this.return();if(this.atEndOfLine())throw this.error(new TomlError("Unterminated string"));else if(this.char===CHAR_DEL||this.char<=CTRL_CHAR_BOUNDARY&&this.char!==CTRL_I)throw this.errorControlCharInString();else this.consume();}while(this.nextChar());}recordEscapeReplacement(e){return this.state.buf+=e,this.goto(this.parseBasicString);}parseMultiStringMaybe(){return this.char===CHAR_QUOT?this.next(this.parseMultiString):this.returnNow();}parseMultiString(){return this.char===CTRL_M?null:this.char===CTRL_J?this.next(this.parseMultiStringContent):this.goto(this.parseMultiStringContent);}parseMultiStringContent(){do{if(this.char===CHAR_BSOL)return this.call(this.parseMultiEscape,this.recordMultiEscapeReplacement);if(this.char===CHAR_QUOT)return this.next(this.parseMultiEnd);if(this.char===e.END)throw this.error(new TomlError("Unterminated multi-line string"));else if(this.char===CHAR_DEL||this.char<=CTRL_CHAR_BOUNDARY&&this.char!==CTRL_I&&this.char!==CTRL_J&&this.char!==CTRL_M)throw this.errorControlCharInString();else this.consume();}while(this.nextChar());}errorControlCharInString(){let e="\\u00";return this.char<16&&(e+="0"),e+=this.char.toString(16),this.error(new TomlError(`Control characters (codes < 0x1f and 0x7f) are not allowed in strings, use ${e} instead`));}recordMultiEscapeReplacement(e){return this.state.buf+=e,this.goto(this.parseMultiStringContent);}parseMultiEnd(){return this.char===CHAR_QUOT?this.next(this.parseMultiEnd2):(this.state.buf+='"',this.goto(this.parseMultiStringContent));}parseMultiEnd2(){return this.char===CHAR_QUOT?this.return():(this.state.buf+='""',this.goto(this.parseMultiStringContent));}parseMultiEscape(){return this.char===CTRL_M||this.char===CTRL_J?this.next(this.parseMultiTrim):this.char===CHAR_SP||this.char===CTRL_I?this.next(this.parsePreMultiTrim):this.goto(this.parseEscape);}parsePreMultiTrim(){if(this.char===CHAR_SP||this.char===CTRL_I)return null;if(this.char===CTRL_M||this.char===CTRL_J)return this.next(this.parseMultiTrim);throw this.error(new TomlError("Can't escape whitespace"));}parseMultiTrim(){return this.char===CTRL_J||this.char===CHAR_SP||this.char===CTRL_I||this.char===CTRL_M?null:this.returnNow();}parseEscape(){if(this.char in escapes)return this.return(escapes[this.char]);if(this.char===CHAR_u)return this.call(this.parseSmallUnicode,this.parseUnicodeReturn);if(this.char===CHAR_U)return this.call(this.parseLargeUnicode,this.parseUnicodeReturn);throw this.error(new TomlError("Unknown escape character: "+this.char));}parseUnicodeReturn(e){try{let t=parseInt(e,16);if(t>=SURROGATE_FIRST&&t<=SURROGATE_LAST)throw this.error(new TomlError("Invalid unicode, character in range 0xD800 - 0xDFFF is reserved"));return this.returnNow(String.fromCodePoint(t));}catch(e){throw this.error(TomlError.wrap(e));}}parseSmallUnicode(){if(isHexit(this.char)){if(this.consume(),this.state.buf.length>=4)return this.return();}else throw this.error(new TomlError("Invalid character in unicode sequence, expected hex"));}parseLargeUnicode(){if(isHexit(this.char)){if(this.consume(),this.state.buf.length>=8)return this.return();}else throw this.error(new TomlError("Invalid character in unicode sequence, expected hex"));}parseNumberSign(){return this.consume(),this.next(this.parseMaybeSignedInfOrNan);}parseMaybeSignedInfOrNan(){return this.char===CHAR_i?this.next(this.parseInf):this.char===CHAR_n?this.next(this.parseNan):this.callNow(this.parseNoUnder,this.parseNumberIntegerStart);}parseNumberIntegerStart(){return this.char===CHAR_0?(this.consume(),this.next(this.parseNumberIntegerExponentOrDecimal)):this.goto(this.parseNumberInteger);}parseNumberIntegerExponentOrDecimal(){return this.char===CHAR_PERIOD?(this.consume(),this.call(this.parseNoUnder,this.parseNumberFloat)):this.char===CHAR_E||this.char===CHAR_e?(this.consume(),this.next(this.parseNumberExponentSign)):this.returnNow(Integer(this.state.buf));}parseNumberInteger(){if(isDigit(this.char))this.consume();else{if(this.char===CHAR_LOWBAR)return this.call(this.parseNoUnder);if(this.char===CHAR_E||this.char===CHAR_e)return this.consume(),this.next(this.parseNumberExponentSign);if(this.char===CHAR_PERIOD)return this.consume(),this.call(this.parseNoUnder,this.parseNumberFloat);let e=Integer(this.state.buf);if(!e.isNaN())return this.returnNow(e);throw this.error(new TomlError("Invalid number"));}}parseNoUnder(){if(this.char===CHAR_LOWBAR||this.char===CHAR_PERIOD||this.char===CHAR_E||this.char===CHAR_e)throw this.error(new TomlError("Unexpected character, expected digit"));if(this.atEndOfWord())throw this.error(new TomlError("Incomplete number"));return this.returnNow();}parseNoUnderHexOctBinLiteral(){if(this.char===CHAR_LOWBAR||this.char===CHAR_PERIOD)throw this.error(new TomlError("Unexpected character, expected digit"));if(this.atEndOfWord())throw this.error(new TomlError("Incomplete number"));return this.returnNow();}parseNumberFloat(){if(this.char===CHAR_LOWBAR)return this.call(this.parseNoUnder,this.parseNumberFloat);if(isDigit(this.char))this.consume();else if(this.char===CHAR_E||this.char===CHAR_e)return this.consume(),this.next(this.parseNumberExponentSign);else return this.returnNow(Float(this.state.buf));}parseNumberExponentSign(){if(isDigit(this.char))return this.goto(this.parseNumberExponent);if(this.char===CHAR_HYPHEN||this.char===CHAR_PLUS)this.consume(),this.call(this.parseNoUnder,this.parseNumberExponent);else throw this.error(new TomlError("Unexpected character, expected -, + or digit"));}parseNumberExponent(){if(isDigit(this.char))this.consume();else if(this.char===CHAR_LOWBAR)return this.call(this.parseNoUnder);else return this.returnNow(Float(this.state.buf));}parseNumberOrDateTime(){return this.char===CHAR_0?(this.consume(),this.next(this.parseNumberBaseOrDateTime)):this.goto(this.parseNumberOrDateTimeOnly);}parseNumberOrDateTimeOnly(){if(this.char===CHAR_LOWBAR)return this.call(this.parseNoUnder,this.parseNumberInteger);if(isDigit(this.char))this.consume(),this.state.buf.length>4&&this.next(this.parseNumberInteger);else if(this.char===CHAR_E||this.char===CHAR_e)return this.consume(),this.next(this.parseNumberExponentSign);else if(this.char===CHAR_PERIOD)return this.consume(),this.call(this.parseNoUnder,this.parseNumberFloat);else if(this.char===CHAR_HYPHEN)return this.goto(this.parseDateTime);else if(this.char===CHAR_COLON)return this.goto(this.parseOnlyTimeHour);else return this.returnNow(Integer(this.state.buf));}parseDateTimeOnly(){if(this.state.buf.length<4){if(isDigit(this.char))return this.consume();if(this.char===CHAR_COLON)return this.goto(this.parseOnlyTimeHour);throw this.error(new TomlError("Expected digit while parsing year part of a date"));}if(this.char===CHAR_HYPHEN)return this.goto(this.parseDateTime);throw this.error(new TomlError("Expected hyphen (-) while parsing year part of date"));}parseNumberBaseOrDateTime(){if(this.char===CHAR_b)return this.consume(),this.call(this.parseNoUnderHexOctBinLiteral,this.parseIntegerBin);if(this.char===CHAR_o)return this.consume(),this.call(this.parseNoUnderHexOctBinLiteral,this.parseIntegerOct);if(this.char===CHAR_x)return this.consume(),this.call(this.parseNoUnderHexOctBinLiteral,this.parseIntegerHex);if(this.char===CHAR_PERIOD)return this.goto(this.parseNumberInteger);if(isDigit(this.char))return this.goto(this.parseDateTimeOnly);else return this.returnNow(Integer(this.state.buf));}parseIntegerHex(){if(isHexit(this.char))this.consume();else{if(this.char===CHAR_LOWBAR)return this.call(this.parseNoUnderHexOctBinLiteral);let e=Integer(this.state.buf);if(!e.isNaN())return this.returnNow(e);throw this.error(new TomlError("Invalid number"));}}parseIntegerOct(){if(isOctit(this.char))this.consume();else{if(this.char===CHAR_LOWBAR)return this.call(this.parseNoUnderHexOctBinLiteral);let e=Integer(this.state.buf);if(!e.isNaN())return this.returnNow(e);throw this.error(new TomlError("Invalid number"));}}parseIntegerBin(){if(isBit(this.char))this.consume();else{if(this.char===CHAR_LOWBAR)return this.call(this.parseNoUnderHexOctBinLiteral);let e=Integer(this.state.buf);if(!e.isNaN())return this.returnNow(e);throw this.error(new TomlError("Invalid number"));}}parseDateTime(){if(this.state.buf.length<4)throw this.error(new TomlError("Years less than 1000 must be zero padded to four characters"));return this.state.result=this.state.buf,this.state.buf="",this.next(this.parseDateMonth);}parseDateMonth(){if(this.char===CHAR_HYPHEN){if(this.state.buf.length<2)throw this.error(new TomlError("Months less than 10 must be zero padded to two characters"));return this.state.result+="-"+this.state.buf,this.state.buf="",this.next(this.parseDateDay);}if(isDigit(this.char))this.consume();else throw this.error(new TomlError("Incomplete datetime"));}parseDateDay(){if(this.char===CHAR_T||this.char===CHAR_SP){if(this.state.buf.length<2)throw this.error(new TomlError("Days less than 10 must be zero padded to two characters"));return this.state.result+="-"+this.state.buf,this.state.buf="",this.next(this.parseStartTimeHour);}if(this.atEndOfWord())return this.returnNow($ackbS(this.state.result+"-"+this.state.buf));if(isDigit(this.char))this.consume();else throw this.error(new TomlError("Incomplete datetime"));}parseStartTimeHour(){return this.atEndOfWord()?this.returnNow($ackbS(this.state.result)):this.goto(this.parseTimeHour);}parseTimeHour(){if(this.char===CHAR_COLON){if(this.state.buf.length<2)throw this.error(new TomlError("Hours less than 10 must be zero padded to two characters"));return this.state.result+="T"+this.state.buf,this.state.buf="",this.next(this.parseTimeMin);}if(isDigit(this.char))this.consume();else throw this.error(new TomlError("Incomplete datetime"));}parseTimeMin(){if(this.state.buf.length<2&&isDigit(this.char))this.consume();else if(2===this.state.buf.length&&this.char===CHAR_COLON)return this.state.result+=":"+this.state.buf,this.state.buf="",this.next(this.parseTimeSec);else throw this.error(new TomlError("Incomplete datetime"));}parseTimeSec(){if(isDigit(this.char)){if(this.consume(),2===this.state.buf.length)return this.state.result+=":"+this.state.buf,this.state.buf="",this.next(this.parseTimeZoneOrFraction);}else throw this.error(new TomlError("Incomplete datetime"));}parseOnlyTimeHour(){if(this.char===CHAR_COLON){if(this.state.buf.length<2)throw this.error(new TomlError("Hours less than 10 must be zero padded to two characters"));return this.state.result=this.state.buf,this.state.buf="",this.next(this.parseOnlyTimeMin);}throw this.error(new TomlError("Incomplete time"));}parseOnlyTimeMin(){if(this.state.buf.length<2&&isDigit(this.char))this.consume();else if(2===this.state.buf.length&&this.char===CHAR_COLON)return this.state.result+=":"+this.state.buf,this.state.buf="",this.next(this.parseOnlyTimeSec);else throw this.error(new TomlError("Incomplete time"));}parseOnlyTimeSec(){if(isDigit(this.char)){if(this.consume(),2===this.state.buf.length)return this.next(this.parseOnlyTimeFractionMaybe);}else throw this.error(new TomlError("Incomplete time"));}parseOnlyTimeFractionMaybe(){if(this.state.result+=":"+this.state.buf,this.char!==CHAR_PERIOD)return this.return($k3cxx(this.state.result));this.state.buf="",this.next(this.parseOnlyTimeFraction);}parseOnlyTimeFraction(){if(isDigit(this.char))this.consume();else if(this.atEndOfWord()){if(0===this.state.buf.length)throw this.error(new TomlError("Expected digit in milliseconds"));return this.returnNow($k3cxx(this.state.result+"."+this.state.buf));}else throw this.error(new TomlError("Unexpected character in datetime, expected period (.), minus (-), plus (+) or Z"));}parseTimeZoneOrFraction(){if(this.char===CHAR_PERIOD)this.consume(),this.next(this.parseDateTimeFraction);else if(this.char===CHAR_HYPHEN||this.char===CHAR_PLUS)this.consume(),this.next(this.parseTimeZoneHour);else if(this.char===CHAR_Z)return this.consume(),this.return($65V8s(this.state.result+this.state.buf));else if(this.atEndOfWord())return this.returnNow($2Gq8U(this.state.result+this.state.buf));else throw this.error(new TomlError("Unexpected character in datetime, expected period (.), minus (-), plus (+) or Z"));}parseDateTimeFraction(){if(isDigit(this.char))this.consume();else if(1===this.state.buf.length)throw this.error(new TomlError("Expected digit in milliseconds"));else if(this.char===CHAR_HYPHEN||this.char===CHAR_PLUS)this.consume(),this.next(this.parseTimeZoneHour);else if(this.char===CHAR_Z)return this.consume(),this.return($65V8s(this.state.result+this.state.buf));else if(this.atEndOfWord())return this.returnNow($2Gq8U(this.state.result+this.state.buf));else throw this.error(new TomlError("Unexpected character in datetime, expected period (.), minus (-), plus (+) or Z"));}parseTimeZoneHour(){if(isDigit(this.char)){if(this.consume(),/\d\d$/.test(this.state.buf))return this.next(this.parseTimeZoneSep);}else throw this.error(new TomlError("Unexpected character in datetime, expected digit"));}parseTimeZoneSep(){if(this.char===CHAR_COLON)this.consume(),this.next(this.parseTimeZoneMin);else throw this.error(new TomlError("Unexpected character in datetime, expected colon"));}parseTimeZoneMin(){if(isDigit(this.char)){if(this.consume(),/\d\d$/.test(this.state.buf))return this.return($65V8s(this.state.result+this.state.buf));}else throw this.error(new TomlError("Unexpected character in datetime, expected digit"));}parseBoolean(){return this.char===CHAR_t?(this.consume(),this.next(this.parseTrue_r)):this.char===CHAR_f?(this.consume(),this.next(this.parseFalse_a)):void 0;}parseTrue_r(){if(this.char===CHAR_r)return this.consume(),this.next(this.parseTrue_u);throw this.error(new TomlError("Invalid boolean, expected true or false"));}parseTrue_u(){if(this.char===CHAR_u)return this.consume(),this.next(this.parseTrue_e);throw this.error(new TomlError("Invalid boolean, expected true or false"));}parseTrue_e(){if(this.char===CHAR_e)return this.return(!0);throw this.error(new TomlError("Invalid boolean, expected true or false"));}parseFalse_a(){if(this.char===CHAR_a)return this.consume(),this.next(this.parseFalse_l);throw this.error(new TomlError("Invalid boolean, expected true or false"));}parseFalse_l(){if(this.char===CHAR_l)return this.consume(),this.next(this.parseFalse_s);throw this.error(new TomlError("Invalid boolean, expected true or false"));}parseFalse_s(){if(this.char===CHAR_s)return this.consume(),this.next(this.parseFalse_e);throw this.error(new TomlError("Invalid boolean, expected true or false"));}parseFalse_e(){if(this.char===CHAR_e)return this.return(!1);throw this.error(new TomlError("Invalid boolean, expected true or false"));}parseInlineList(){if(this.char===CHAR_SP||this.char===CTRL_I||this.char===CTRL_M||this.char===CTRL_J)return null;if(this.char===e.END)throw this.error(new TomlError("Unterminated inline array"));return this.char===CHAR_NUM?this.call(this.parseComment):this.char===CHAR_RSQB?this.return(this.state.resultArr||InlineList()):this.callNow(this.parseValue,this.recordInlineListValue);}recordInlineListValue(e){if(this.state.resultArr){let t=this.state.resultArr[_contentType],r=tomlType(e);if(t!==r)throw this.error(new TomlError(`Inline lists must be a single type, not a mix of ${t} and ${r}`));}else this.state.resultArr=InlineList(tomlType(e));return isFloat(e)||isInteger(e)?this.state.resultArr.push(e.valueOf()):this.state.resultArr.push(e),this.goto(this.parseInlineListNext);}parseInlineListNext(){if(this.char===CHAR_SP||this.char===CTRL_I||this.char===CTRL_M||this.char===CTRL_J)return null;if(this.char===CHAR_NUM)return this.call(this.parseComment);if(this.char===CHAR_COMMA)return this.next(this.parseInlineList);if(this.char===CHAR_RSQB)return this.goto(this.parseInlineList);throw this.error(new TomlError("Invalid character, expected whitespace, comma (,) or close bracket (])"));}parseInlineTable(){if(this.char===CHAR_SP||this.char===CTRL_I)return null;if(this.char===e.END||this.char===CHAR_NUM||this.char===CTRL_J||this.char===CTRL_M)throw this.error(new TomlError("Unterminated inline array"));return this.char===CHAR_RCUB?this.return(this.state.resultTable||InlineTable()):(this.state.resultTable||(this.state.resultTable=InlineTable()),this.callNow(this.parseAssign,this.recordInlineTableValue));}recordInlineTableValue(e){let t=this.state.resultTable,r=e.key.pop();for(let r of e.key){if(hasKey(t,r)&&(!isTable(t[r])||t[r][_declared]))throw this.error(new TomlError("Can't redefine existing key"));t=t[r]=t[r]||Table();}if(hasKey(t,r))throw this.error(new TomlError("Can't redefine existing key"));return isInteger(e.value)||isFloat(e.value)?t[r]=e.value.valueOf():t[r]=e.value,this.goto(this.parseInlineTableNext);}parseInlineTableNext(){if(this.char===CHAR_SP||this.char===CTRL_I)return null;if(this.char===e.END||this.char===CHAR_NUM||this.char===CTRL_J||this.char===CTRL_M)throw this.error(new TomlError("Unterminated inline array"));if(this.char===CHAR_COMMA)return this.next(this.parseInlineTable);if(this.char===CHAR_RCUB)return this.goto(this.parseInlineTable);throw this.error(new TomlError("Invalid character, expected whitespace, comma (,) or close bracket (])"));}}return t;}module.exports=makeParserClass(parcelRequire("a18Cz")),module.exports.makeParserClass=makeParserClass;class TomlError extends Error{constructor(e){super(e),this.name="TomlError",Error.captureStackTrace&&Error.captureStackTrace(this,TomlError),this.fromTOML=!0,this.wrapped=null;}}TomlError.wrap=e=>{let t=new TomlError(e.message);return t.code=e.code,t.wrapped=e,t;},module.exports.TomlError=TomlError,$65V8s=parcelRequire("65V8s"),$2Gq8U=parcelRequire("2Gq8U"),$ackbS=parcelRequire("ackbS"),$k3cxx=parcelRequire("k3cxx");let CTRL_I=9,CTRL_J=10,CTRL_M=13,CTRL_CHAR_BOUNDARY=31,CHAR_SP=32,CHAR_QUOT=34,CHAR_NUM=35,CHAR_APOS=39,CHAR_PLUS=43,CHAR_COMMA=44,CHAR_HYPHEN=45,CHAR_PERIOD=46,CHAR_0=48,CHAR_1=49,CHAR_7=55,CHAR_9=57,CHAR_COLON=58,CHAR_EQUALS=61,CHAR_A=65,CHAR_E=69,CHAR_F=70,CHAR_T=84,CHAR_U=85,CHAR_Z=90,CHAR_LOWBAR=95,CHAR_a=97,CHAR_b=98,CHAR_e=101,CHAR_f=102,CHAR_i=105,CHAR_l=108,CHAR_n=110,CHAR_o=111,CHAR_r=114,CHAR_s=115,CHAR_t=116,CHAR_u=117,CHAR_x=120,CHAR_z=122,CHAR_LCUB=123,CHAR_RCUB=125,CHAR_LSQB=91,CHAR_BSOL=92,CHAR_RSQB=93,CHAR_DEL=127,SURROGATE_FIRST=55296,SURROGATE_LAST=57343,escapes={[CHAR_b]:"\b",[CHAR_t]:" ",[CHAR_n]:"\n",[CHAR_f]:"\f",[CHAR_r]:"\r",[CHAR_QUOT]:'"',[CHAR_BSOL]:"\\"},_type=Symbol(),_declared=Symbol(),hasOwnProperty=Object.prototype.hasOwnProperty,defineProperty=Object.defineProperty,descriptor={configurable:!0,enumerable:!0,writable:!0,value:void 0},INLINE_TABLE=Symbol(),TABLE=Symbol(),_contentType=Symbol(),INLINE_LIST=Symbol(),LIST=Symbol();try{let utilInspect=eval("require('util').inspect");_custom=utilInspect.custom;}catch(_){}let _inspect=_custom||"inspect";class BoxedBigInt{constructor(e){try{this.value=$parcel$global.BigInt.asIntN(64,e);}catch(e){this.value=null;}Object.defineProperty(this,_type,{value:INTEGER});}isNaN(){return null===this.value;}toString(){return this.value+"";}[_inspect](){return`[BigInt: ${this.toString()}]}`;}valueOf(){return this.value;}}let INTEGER=Symbol(),FLOAT=Symbol();}),parcelRegister("a18Cz",function(e,t){let r=1114112;class i extends Error{constructor(e,t,r){super("[ParserError] "+e,t,r),this.name="ParserError",this.code="ParserError",Error.captureStackTrace&&Error.captureStackTrace(this,i);}}class n{constructor(e){this.parser=e,this.buf="",this.returned=null,this.result=null,this.resultTable=null,this.resultArr=null;}}class s{constructor(){this.pos=0,this.col=0,this.line=0,this.obj={},this.ctx=this.obj,this.stack=[],this._buf="",this.char=null,this.ii=0,this.state=new n(this.parseStart);}parse(e){let t;if(0!==e.length&&null!=e.length){for(this._buf=e+"",this.ii=-1,this.char=-1;!1===t||this.nextChar();)t=this.runOne();this._buf=null;}}nextChar(){return 10===this.char&&(++this.line,this.col=-1),++this.ii,this.char=this._buf.codePointAt(this.ii),++this.pos,++this.col,this.haveBuffer();}haveBuffer(){return this.ii{let t=new Date(e);if(!isNaN(t))return t;throw TypeError("Invalid Datetime");};}),parcelRegister("2Gq8U",function(e,t){var r=parcelRequire("d28ir");class i extends Date{constructor(e){super(e+"Z"),this.isFloating=!0;}toISOString(){let e=`${this.getUTCFullYear()}-${r(2,this.getUTCMonth()+1)}-${r(2,this.getUTCDate())}`,t=`${r(2,this.getUTCHours())}:${r(2,this.getUTCMinutes())}:${r(2,this.getUTCSeconds())}.${r(3,this.getUTCMilliseconds())}`;return`${e}T${t}`;}}e.exports=e=>{let t=new i(e);if(!isNaN(t))return t;throw TypeError("Invalid Datetime");};}),parcelRegister("d28ir",function(e,t){e.exports=(e,t)=>{for(t+="";t.length{let t=new n(e);if(!isNaN(t))return t;throw TypeError("Invalid Datetime");};}),parcelRegister("k3cxx",function(e,t){var r=parcelRequire("d28ir");class i extends Date{constructor(e){super(`0000-01-01T${e}Z`),this.isTime=!0;}toISOString(){return`${r(2,this.getUTCHours())}:${r(2,this.getUTCMinutes())}:${r(2,this.getUTCSeconds())}.${r(3,this.getUTCMilliseconds())}`;}}e.exports=e=>{let t=new i(e);if(!isNaN(t))return t;throw TypeError("Invalid Datetime");};}),parcelRegister("2Aiv1",function(e,t){function r(e,t){if(null==e.pos||null==e.line)return e;let r=e.message;if(r+=` at row ${e.line+1}, col ${e.col+1}, pos ${e.pos}: +`,t&&t.split){let i=t.split(/\n/),n=(Math.min(i.length,e.line+3)+"").length,s=" ";for(;s.length "+i[t]+"\n"+s+" ";for(let t=0;t=e.length)try{return s(a.finish());}catch(t){return o(i(t,e));}try{a.parse(e.slice(t,t+r)),setImmediate(n,t+r,r,s,o);}catch(t){o(i(t,e));}}t||(t={});let s=0,o=t.blocksize||40960,a=new r();return new Promise((e,t)=>{setImmediate(n,s,o,e,t);});}e.exports=n,r=parcelRequire("kdMBf"),i=parcelRequire("2Aiv1");}),parcelRegister("6Gy5N",function(e,t){var r;function i(e){return e?n(e):s(e);}function n(e){let t=new r();return e.setEncoding("utf8"),new Promise((r,i)=>{let n;function s(){if(h=!0,!n)try{r(t.finish());}catch(e){i(e);}}function o(e){c=!0,i(e);}function a(){let r;for(n=!0;null!==(r=e.read());)try{t.parse(r);}catch(e){return o(e);}if(n=!1,h)return s();c||e.once("readable",a);}let h=!1,c=!1;e.once("end",s),e.once("error",o),a();});}function s(){let e=new r();return new $kC5q1$stream.Transform({objectMode:!0,transform(t,r,i){try{e.parse(t.toString(r));}catch(e){this.emit("error",e);}i();},flush(t){try{this.push(e.finish());}catch(e){this.emit("error",e);}t();}});}e.exports=i,r=parcelRequire("kdMBf");}),parcelRegister("AMirQ",function(e,t){function r(e){if(null===e)throw i("null");if(void 0===e)throw i("undefined");if("object"!=typeof e)throw i(typeof e);if("function"==typeof e.toJSON&&(e=e.toJSON()),null==e)return null;let t=l(e);if("table"!==t)throw i(t);return h("","",e);}function i(e){return Error("Can only stringify objects, not "+e);}function n(){return Error("Array values can't have mixed types");}function s(e){return Object.keys(e).filter(t=>c(e[t]));}function o(e){return Object.keys(e).filter(t=>!c(e[t]));}function a(e){let t=Array.isArray(e)?[]:Object.prototype.hasOwnProperty.call(e,"__proto__")?{["__proto__"]:void 0}:{};for(let r of Object.keys(e))!e[r]||"function"!=typeof e[r].toJSON||"toISOString"in e[r]?t[r]=e[r]:t[r]=e[r].toJSON();return t;}function h(e,t,r){i=s(r=a(r)),n=o(r);var i,n,h=[],c=t||"";i.forEach(e=>{var t=l(r[e]);"undefined"!==t&&"null"!==t&&h.push(c+u(e)+" = "+E(r[e],!0));}),h.length>0&&h.push("");var p=e&&i.length>0?t+" ":"";return n.forEach(t=>{h.push(R(e,p,t,r[t]));}),h.join("\n");}function c(e){switch(l(e)){case"undefined":case"null":case"integer":case"nan":case"float":case"boolean":case"string":case"datetime":return!0;case"array":return 0===e.length||"table"!==l(e[0]);case"table":return 0===Object.keys(e).length;default:return!1;}}function l(e){if(void 0===e)return"undefined";if(null===e)return"null";if("bigint"==typeof e||Number.isInteger(e)&&!Object.is(e,-0))return"integer";if("number"==typeof e)return"float";if("boolean"==typeof e)return"boolean";else if("string"==typeof e)return"string";else if("toISOString"in e)return isNaN(e)?"undefined":"datetime";else if(Array.isArray(e))return"array";else return"table";}function u(e){var t=e+"";return /^[-A-Za-z0-9_]+$/.test(t)?t:p(t);}function p(e){return'"'+m(e).replace(/"/g,'\\"')+'"';}function f(e){return"'"+e+"'";}function d(e,t){for(;t.length"\\u"+d(4,e.codePointAt(0).toString(16)));}function y(e){let t=e.split(/\n/).map(e=>m(e).replace(/"(?="")/g,'\\"')).join("\n");return'"'===t.slice(-1)&&(t+="\\\n"),'"""\n'+t+'"""';}function E(e,t){let r=l(e);return"string"===r&&(t&&/\n/.test(e)?r="string-multiline":!/[\b\t\n\f\r']/.test(e)&&/"/.test(e)&&(r="string-literal")),g(e,r);}function g(e,t){switch(t||(t=l(e)),t){case"string-multiline":return y(e);case"string":return p(e);case"string-literal":return f(e);case"integer":return w(e);case"float":return x(e);case"boolean":return v(e);case"datetime":return I(e);case"array":return S(e.filter(e=>"null"!==l(e)&&"undefined"!==l(e)&&"nan"!==l(e)));case"table":return T(e);default:throw i(t);}}function w(e){return(e+"").replace(/\B(?=(\d{3})+(?!\d))/g,"_");}function x(e){if(e===1/0)return"inf";if(e===-1/0)return"-inf";if(Object.is(e,NaN))return"nan";if(Object.is(e,-0))return"-0.0";var t=(e+"").split("."),r=t[0],i=t[1]||0;return w(r)+"."+i;}function v(e){return e+"";}function I(e){return e.toISOString();}function b(e){return"float"===e||"integer"===e;}function O(e){var t=l(e[0]);return e.every(e=>l(e)===t)?t:e.every(e=>b(l(e)))?"float":"mixed";}function N(e){let t=O(e);if("mixed"===t)throw n();return t;}function S(e){let t=N(e=a(e));var r="[",i=e.map(e=>g(e,t));return i.join(", ").length>60||/\n/.test(i)?r+="\n "+i.join(",\n ")+"\n":r+=" "+i.join(", ")+(i.length>0?" ":""),r+"]";}function T(e){e=a(e);var t=[];return Object.keys(e).forEach(r=>{t.push(u(r)+" = "+E(e[r],!1));}),"{ "+t.join(", ")+(t.length>0?" ":"")+"}";}function R(e,t,r,n){var s=l(n);if("array"===s)return P(e,t,r,n);if("table"===s)return A(e,t,r,n);throw i(s);}function P(e,t,r,n){N(n=a(n));var s=l(n[0]);if("table"!==s)throw i(s);var o=e+u(r),c="";return n.forEach(e=>{c.length>0&&(c+="\n"),c+=t+"[["+o+"]]\n"+h(o+".",t,e);}),c;}function A(e,t,r,i){var n=e+u(r),o="";return s(i).length>0&&(o+=t+"["+n+"]\n"),o+h(n+".",t,i);}e.exports=r,e.exports.value=g;}),parcelRegister("aN96g",function(e,t){var r,i,n,s;async function o(e,t,r){return r||(r=await a()),await i.findFromManifest(e,!1,r,t);}function a(){return r.debug(`Getting manifest from ${p}/${f}@${d}`),i.getManifestFromRepo(p,f,u,d);}async function h(e){let t={cwd:e,env:{...process.env,...(s.IS_LINUX&&{LD_LIBRARY_PATH:$kC5q1$path.join(e,"lib")})},silent:!0,listeners:{stdout(e){r.info(e.toString().trim());},stderr(e){r.error(e.toString().trim());}}};s.IS_WINDOWS?await n.exec("powershell",["./setup.ps1"],t):await n.exec("bash",["./setup.sh"],t);}async function c(e){let t=e.files[0].download_url;r.info(`Download from "${t}"`);let n="";try{let e;n=await i.downloadTool(t,void 0,u),r.info("Extract downloaded archive"),e=s.IS_WINDOWS?await i.extractZip(n):await i.extractTar(n),r.info("Execute installation script"),await h(e);}catch(e){throw e instanceof i.HTTPError&&(403===e.httpStatusCode||429===e.httpStatusCode?r.info(`Received HTTP status code ${e.httpStatusCode}. This usually indicates the rate limit has been exceeded`):r.info(e.message),e.stack&&r.debug(e.stack)),e;}}$parcel$export(e.exports,"MANIFEST_URL",()=>m),$parcel$export(e.exports,"findReleaseFromManifest",()=>o),$parcel$export(e.exports,"getManifest",()=>a),$parcel$export(e.exports,"installCpythonFromRelease",()=>c),r=parcelRequire("1o3Gj"),i=parcelRequire("5DFAC"),n=parcelRequire("bHzmH"),s=parcelRequire("56hu0");let l=r.getInput("token"),u=l?"token "+l:void 0,p="actions",f="python-versions",d="main",m=`https://raw.githubusercontent.com/${p}/${f}/${d}/versions-manifest.json`;}),parcelRegister("5DFAC",function(e,t){function r(e,t,r,n){return R(this,void 0,void 0,function*(){t=t||F.join(I(),H.default()),yield D.mkdirP(F.dirname(t)),_.debug("Downloading "+e),_.debug("Destination "+t);let s=3,o=b("TEST_DOWNLOAD_TOOL_RETRY_MIN_SECONDS",10),a=b("TEST_DOWNLOAD_TOOL_RETRY_MAX_SECONDS",20),h=new L.RetryHelper(s,o,a);return yield h.execute(()=>R(this,void 0,void 0,function*(){return yield i(e,t||"",r,n);}),e=>!(e instanceof W)||!e.httpStatusCode||!(e.httpStatusCode<500)||408===e.httpStatusCode||429===e.httpStatusCode);});}function i(e,t,r,i){return R(this,void 0,void 0,function*(){if(M.existsSync(t))throw Error(`Destination file path ${t} already exists`);let n=new V.HttpClient(q,[],{allowRetries:!1});r&&(_.debug("set auth"),void 0===i&&(i={}),i.authorization=r);let s=yield n.get(e,i);if(200!==s.message.statusCode){let t=new W(s.message.statusCode);throw _.debug(`Failed to download from "${e}". Code(${s.message.statusCode}) Message(${s.message.statusMessage})`),t;}let o=G.promisify(k.pipeline),a=b("TEST_DOWNLOAD_TOOL_RESPONSE_MESSAGE_FACTORY",()=>s.message)(),h=!1;try{return yield o(a,M.createWriteStream(t)),_.debug("download complete"),h=!0,t;}finally{if(!h){_.debug("download failed");try{yield D.rmRF(t);}catch(e){_.debug(`Failed to delete '${t}'. ${e.message}`);}}}});}function n(e,t,r){return R(this,void 0,void 0,function*(){$kC5q1$assert.ok(B,"extract7z() not supported on current OS"),$kC5q1$assert.ok(e,'parameter "file" is required'),t=yield y(t);let i=process.cwd();if(process.chdir(t),r)try{let t=_.isDebug()?"-bb1":"-bb0",i=["x",t,"-bd","-sccUTF-8",e],n={silent:!0};yield A.exec(`"${r}"`,i,n);}finally{process.chdir(i);}else{let r=F.join(C,"..","scripts","Invoke-7zdec.ps1").replace(/'/g,"''").replace(/"|\n|\r/g,""),n=e.replace(/'/g,"''").replace(/"|\n|\r/g,""),s=t.replace(/'/g,"''").replace(/"|\n|\r/g,""),o=["-NoLogo","-Sta","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",`& '${r}' -Source '${n}' -Target '${s}'`],a={silent:!0};try{let e=yield D.which("powershell",!0);yield A.exec(`"${e}"`,o,a);}finally{process.chdir(i);}}return t;});}function s(e,t,r="xz"){return R(this,void 0,void 0,function*(){let i;if(!e)throw Error("parameter 'file' is required");t=yield y(t),_.debug("Checking tar --version");let n="";yield A.exec("tar --version",[],{ignoreReturnCode:!0,silent:!0,listeners:{stdout:e=>n+=e.toString(),stderr:e=>n+=e.toString()}}),_.debug(n.trim());let s=n.toUpperCase().includes("GNU TAR");i=r instanceof Array?r:[r],_.isDebug()&&!r.includes("v")&&i.push("-v");let o=t,a=e;return B&&s&&(i.push("--force-local"),o=t.replace(/\\/g,"/"),a=e.replace(/\\/g,"/")),s&&(i.push("--warning=no-unknown-keyword"),i.push("--overwrite")),i.push("-C",o,"-f",a),yield A.exec("tar",i),t;});}function o(e,t,r=[]){return R(this,void 0,void 0,function*(){let i;$kC5q1$assert.ok(X,"extractXar() not supported on current OS"),$kC5q1$assert.ok(e,'parameter "file" is required'),t=yield y(t),(i=r instanceof Array?r:[r]).push("-x","-C",t,"-f",e),_.isDebug()&&i.push("-v");let n=yield D.which("xar",!0);return yield A.exec(`"${n}"`,O(i)),t;});}function a(e,t){return R(this,void 0,void 0,function*(){if(!e)throw Error("parameter 'file' is required");return t=yield y(t),B?yield h(e,t):yield c(e,t),t;});}function h(e,t){return R(this,void 0,void 0,function*(){let r=e.replace(/'/g,"''").replace(/"|\n|\r/g,""),i=t.replace(/'/g,"''").replace(/"|\n|\r/g,""),n=yield D.which("pwsh",!1);if(n){let 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}', '${i}', $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 '${i}' -Force } else { throw $_ } } ;`];_.debug("Using pwsh at path: "+n),yield A.exec(`"${n}"`,e);}else{let 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 '${i}' -Force } else {[System.IO.Compression.ZipFile]::ExtractToDirectory('${r}', '${i}', $true) }`],t=yield D.which("powershell",!0);_.debug("Using powershell at path: "+t),yield A.exec(`"${t}"`,e);}});}function c(e,t){return R(this,void 0,void 0,function*(){let r=yield D.which("unzip",!0),i=[e];_.isDebug()||i.unshift("-q"),i.unshift("-o"),yield A.exec(`"${r}"`,i,{cwd:t});});}function l(e,t,r,i){return R(this,void 0,void 0,function*(){if(r=U.clean(r)||r,i=i||j.arch(),_.debug(`Caching tool ${t} ${r} ${i}`),_.debug("source dir: "+e),!M.statSync(e).isDirectory())throw Error("sourceDir is not a directory");let n=yield E(t,r,i);for(let t of M.readdirSync(e)){let r=F.join(e,t);yield D.cp(r,n,{recursive:!0});}return g(t,r,i),n;});}function u(e,t,r,i,n){return R(this,void 0,void 0,function*(){if(i=U.clean(i)||i,n=n||j.arch(),_.debug(`Caching tool ${r} ${i} ${n}`),_.debug("source file: "+e),!M.statSync(e).isFile())throw Error("sourceFile is not a file");let s=yield E(r,i,n),o=F.join(s,t);return _.debug("destination file "+o),yield D.cp(e,o),g(r,i,n),s;});}function p(e,t,r){if(!e)throw Error("toolName parameter is required");if(!t)throw Error("versionSpec parameter is required");r=r||j.arch(),w(t)||(t=x(f(e,r),t));let i="";if(t){t=U.clean(t)||"";let n=F.join(v(),e,t,r);_.debug("checking cache: "+n),M.existsSync(n)&&M.existsSync(`${n}.complete`)?(_.debug(`Found tool in cache ${e} ${t} ${r}`),i=n):_.debug("not found");}return i;}function f(e,t){let r=[];t=t||j.arch();let i=F.join(v(),e);if(M.existsSync(i)){for(let e of M.readdirSync(i))if(w(e)){let n=F.join(i,e,t||"");M.existsSync(n)&&M.existsSync(`${n}.complete`)&&r.push(e);}}return r;}function d(e,t,r,i="master"){return R(this,void 0,void 0,function*(){let n=[],s=`https://api.github.com/repos/${e}/${t}/git/trees/${i}`,o=new V.HttpClient("tool-cache"),a={};r&&(_.debug("set auth"),a.authorization=r);let h=yield o.getJson(s,a);if(!h.result)return n;let c="";for(let e of h.result.tree)if("versions-manifest.json"===e.path){c=e.url;break;}a.accept="application/vnd.github.VERSION.raw";let l=yield(yield o.get(c,a)).readBody();if(l){l=l.replace(/^\uFEFF/,"");try{n=JSON.parse(l);}catch(e){_.debug("Invalid json");}}return n;});}function m(e,t,r,i=j.arch()){return R(this,void 0,void 0,function*(){return yield $._findMatch(e,t,r,i);});}function y(e){return R(this,void 0,void 0,function*(){return e||(e=F.join(I(),H.default())),yield D.mkdirP(e),e;});}function E(e,t,r){return R(this,void 0,void 0,function*(){let i=F.join(v(),e,U.clean(t)||t,r||"");_.debug("destination "+i);let n=`${i}.complete`;return yield D.rmRF(i),yield D.rmRF(n),yield D.mkdirP(i),i;});}function g(e,t,r){let i=F.join(v(),e,U.clean(t)||t,r||""),n=`${i}.complete`;M.writeFileSync(n,""),_.debug("finished caching tool");}function w(e){let t=U.clean(e)||"";_.debug("isExplicit: "+t);let r=null!=U.valid(t);return _.debug("explicit? "+r),r;}function x(e,t){let r="";_.debug(`evaluating ${e.length} versions`),e=e.sort((e,t)=>U.gt(e,t)?1:-1);for(let i=e.length-1;i>=0;i--){let n=e[i];if(U.satisfies(n,t)){r=n;break;}}return r?_.debug("matched: "+r):_.debug("match not found"),r;}function v(){let e=process.env.RUNNER_TOOL_CACHE||"";return $kC5q1$assert.ok(e,"Expected RUNNER_TOOL_CACHE to be defined"),e;}function I(){let e=process.env.RUNNER_TEMP||"";return $kC5q1$assert.ok(e,"Expected RUNNER_TEMP to be defined"),e;}function b(e,t){let r=$parcel$global[e];return void 0!==r?r:t;}function O(e){return Array.from(new Set(e));}var N,S,T,R,P,A,L,C=$kC5q1$path.resolve(__dirname,"../../node_modules/setup-python/node_modules/@actions/tool-cache/lib");N=e.exports&&e.exports.__createBinding||(Object.create?function(e,t,r,i){void 0===i&&(i=r),Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[r];}});}:function(e,t,r,i){void 0===i&&(i=r),e[i]=t[r];}),S=e.exports&&e.exports.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),T=e.exports&&e.exports.__importStar||function(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 S(t,e),t;},R=e.exports&&e.exports.__awaiter||function(e,t,r,i){function n(e){return e instanceof r?e:new r(function(t){t(e);});}return new(r||(r=Promise))(function(r,s){function o(e){try{h(i.next(e));}catch(e){s(e);}}function a(e){try{h(i.throw(e));}catch(e){s(e);}}function h(e){e.done?r(e.value):n(e.value).then(o,a);}h((i=i.apply(e,t||[])).next());});},P=e.exports&&e.exports.__importDefault||function(e){return e&&e.__esModule?e:{default:e};},Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.evaluateVersions=e.exports.isExplicitVersion=e.exports.findFromManifest=e.exports.getManifestFromRepo=e.exports.findAllVersions=e.exports.find=e.exports.cacheFile=e.exports.cacheDir=e.exports.extractZip=e.exports.extractXar=e.exports.extractTar=e.exports.extract7z=e.exports.downloadTool=e.exports.HTTPError=void 0;let _=T(parcelRequire("1o3Gj")),D=T(parcelRequire("zdagz")),M=T($kC5q1$fs),$=T(parcelRequire("hzNJS")),j=T($kC5q1$os),F=T($kC5q1$path),V=T(parcelRequire("eamjo")),U=T(parcelRequire("4IOon")),k=T($kC5q1$stream),G=T($kC5q1$util),H=P(parcelRequire("cJF00"));A=parcelRequire("bHzmH"),L=parcelRequire("1kmXt");class W extends Error{constructor(e){super("Unexpected HTTP response: "+e),this.httpStatusCode=e,Object.setPrototypeOf(this,new.target.prototype);}}e.exports.HTTPError=W;let B="win32"===process.platform,X="darwin"===process.platform,q="actions/tool-cache";e.exports.downloadTool=r,e.exports.extract7z=n,e.exports.extractTar=s,e.exports.extractXar=o,e.exports.extractZip=a,e.exports.cacheDir=l,e.exports.cacheFile=u,e.exports.find=p,e.exports.findAllVersions=f,e.exports.getManifestFromRepo=d,e.exports.findFromManifest=m,e.exports.isExplicitVersion=w,e.exports.evaluateVersions=x;}),parcelRegister("hzNJS",function(e,t){var r,i,n,s,o;function a(t,r,i,n){return s(this,void 0,void 0,function*(){let s,a,h;let c=$kC5q1$os.platform();for(let s of i){let i=s.version;if(o.debug(`check ${i} satisfies ${t}`),l.satisfies(i,t)&&(!r||s.stable===r)&&(h=s.files.find(t=>{o.debug(`${t.arch}===${n} && ${t.platform}===${c}`);let r=t.arch===n&&t.platform===c;if(r&&t.platform_version){let i=e.exports._getOsVersion();r=i===t.platform_version||l.satisfies(i,t.platform_version);}return r;}))){o.debug("matched "+s.version),a=s;break;}}return a&&h&&((s=Object.assign({},a)).files=[h]),s;});}function h(){let t=$kC5q1$os.platform(),r="";if("darwin"===t)r=$kC5q1$child_process.execSync("sw_vers -productVersion").toString();else if("linux"===t){let t=e.exports._readLinuxVersionFile();if(t)for(let e of t.split("\n")){let t=e.split("=");if(2===t.length&&("VERSION_ID"===t[0].trim()||"DISTRIB_RELEASE"===t[0].trim())){r=t[1].trim().replace(/^"/,"").replace(/"$/,"");break;}}}return r;}function c(){let e="/etc/lsb-release",t="/etc/os-release",r="";return $kC5q1$fs.existsSync(e)?r=$kC5q1$fs.readFileSync(e).toString():$kC5q1$fs.existsSync(t)&&(r=$kC5q1$fs.readFileSync(t).toString()),r;}r=e.exports&&e.exports.__createBinding||(Object.create?function(e,t,r,i){void 0===i&&(i=r),Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[r];}});}:function(e,t,r,i){void 0===i&&(i=r),e[i]=t[r];}),i=e.exports&&e.exports.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),n=e.exports&&e.exports.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.hasOwnProperty.call(e,n)&&r(t,e,n);return i(t,e),t;},s=e.exports&&e.exports.__awaiter||function(e,t,r,i){function n(e){return e instanceof r?e:new r(function(t){t(e);});}return new(r||(r=Promise))(function(r,s){function o(e){try{h(i.next(e));}catch(e){s(e);}}function a(e){try{h(i.throw(e));}catch(e){s(e);}}function h(e){e.done?r(e.value):n(e.value).then(o,a);}h((i=i.apply(e,t||[])).next());});},Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports._readLinuxVersionFile=e.exports._getOsVersion=e.exports._findMatch=void 0;let l=n(parcelRequire("4IOon"));o=parcelRequire("1o3Gj"),e.exports._findMatch=a,e.exports._getOsVersion=h,e.exports._readLinuxVersionFile=c;}),parcelRegister("4IOon",function(e,t){function r(e){eh[e]=ec++;}function i(e){for(var t=0;tet||!(t.loose?eo[eh.LOOSE]:eo[eh.FULL]).test(e))return null;try{return new a(e,t);}catch(e){return null;}}function s(e,t){var r=n(e,t);return r?r.version:null;}function o(e,t){var r=n(e.trim().replace(/^[=v]+/,""),t);return r?r.version:null;}function a(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof a){if(e.loose===t.loose)return e;e=e.version;}else if("string"!=typeof e)throw TypeError("Invalid Version: "+e);if(e.length>et)throw TypeError("version is longer than "+et+" characters");if(!(this instanceof a))return new a(e,t);ee("SemVer",e,t),this.options=t,this.loose=!!t.loose;var r=e.trim().match(t.loose?eo[eh.LOOSE]:eo[eh.FULL]);if(!r)throw TypeError("Invalid Version: "+e);if(this.raw=e,this.major=+r[1],this.minor=+r[2],this.patch=+r[3],this.major>er||this.major<0)throw TypeError("Invalid major version");if(this.minor>er||this.minor<0)throw TypeError("Invalid minor version");if(this.patch>er||this.patch<0)throw TypeError("Invalid patch version");r[4]?this.prerelease=r[4].split(".").map(function(e){if(/^[0-9]+$/.test(e)){var t=+e;if(t>=0&&te?-1:1;}function u(e,t){return l(t,e);}function p(e,t){return new a(e,t).major;}function f(e,t){return new a(e,t).minor;}function d(e,t){return new a(e,t).patch;}function m(e,t,r){return new a(e,r).compare(new a(t,r));}function y(e,t){return m(e,t,!0);}function E(e,t,r){var i=new a(e,r),n=new a(t,r);return i.compare(n)||i.compareBuild(n);}function g(e,t,r){return m(t,e,r);}function w(e,r){return e.sort(function(e,i){return t.compareBuild(e,i,r);});}function x(e,r){return e.sort(function(e,i){return t.compareBuild(i,e,r);});}function v(e,t,r){return m(e,t,r)>0;}function I(e,t,r){return 0>m(e,t,r);}function b(e,t,r){return 0===m(e,t,r);}function O(e,t,r){return 0!==m(e,t,r);}function N(e,t,r){return m(e,t,r)>=0;}function S(e,t,r){return 0>=m(e,t,r);}function T(e,t,r,i){switch(t){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof r&&(r=r.version),e===r;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof r&&(r=r.version),e!==r;case"":case"=":case"==":return b(e,r,i);case"!=":return O(e,r,i);case">":return v(e,r,i);case">=":return N(e,r,i);case"<":return I(e,r,i);case"<=":return S(e,r,i);default:throw TypeError("Invalid operator: "+t);}}function R(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof R){if(!!t.loose===e.loose)return e;e=e.value;}if(!(this instanceof R))return new R(e,t);e=e.trim().split(/\s+/).join(" "),ee("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===ey?this.value="":this.value=this.operator+this.semver.version,ee("comp",this);}function P(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof P)return!!t.loose===e.loose&&!!t.includePrerelease===e.includePrerelease?e:new P(e.raw,t);if(e instanceof R)return new P(e.value,t);if(!(this instanceof P))return new P(e,t);if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map(function(e){return this.parseRange(e.trim());},this).filter(function(e){return e.length;}),!this.set.length)throw TypeError("Invalid SemVer Range: "+this.raw);this.format();}function A(e,t){for(var r=!0,i=e.slice(),n=i.pop();r&&i.length;)r=i.every(function(e){return n.intersects(e,t);}),n=i.pop();return r;}function L(e,t){return new P(e,t).set.map(function(e){return e.map(function(e){return e.value;}).join(" ").trim().split(" ");});}function C(e,t){return ee("comp",e,t),e=$(e,t),ee("caret",e),e=D(e,t),ee("tildes",e),e=F(e,t),ee("xrange",e),e=U(e,t),ee("stars",e),e;}function _(e){return!e||"x"===e.toLowerCase()||"*"===e;}function D(e,t){return e.trim().split(/\s+/).map(function(e){return M(e,t);}).join(" ");}function M(e,t){var r=t.loose?eo[eh.TILDELOOSE]:eo[eh.TILDE];return e.replace(r,function(t,r,i,n,s){var o;return ee("tilde",e,t,r,i,n,s),_(r)?o="":_(i)?o=">="+r+".0.0 <"+(+r+1)+".0.0":_(n)?o=">="+r+"."+i+".0 <"+r+"."+(+i+1)+".0":s?(ee("replaceTilde pr",s),o=">="+r+"."+i+"."+n+"-"+s+" <"+r+"."+(+i+1)+".0"):o=">="+r+"."+i+"."+n+" <"+r+"."+(+i+1)+".0",ee("tilde return",o),o;});}function $(e,t){return e.trim().split(/\s+/).map(function(e){return j(e,t);}).join(" ");}function j(e,t){ee("caret",e,t);var r=t.loose?eo[eh.CARETLOOSE]:eo[eh.CARET];return e.replace(r,function(t,r,i,n,s){var o;return ee("caret",e,t,r,i,n,s),_(r)?o="":_(i)?o=">="+r+".0.0 <"+(+r+1)+".0.0":_(n)?o="0"===r?">="+r+"."+i+".0 <"+r+"."+(+i+1)+".0":">="+r+"."+i+".0 <"+(+r+1)+".0.0":s?(ee("replaceCaret pr",s),o="0"===r?"0"===i?">="+r+"."+i+"."+n+"-"+s+" <"+r+"."+i+"."+(+n+1):">="+r+"."+i+"."+n+"-"+s+" <"+r+"."+(+i+1)+".0":">="+r+"."+i+"."+n+"-"+s+" <"+(+r+1)+".0.0"):(ee("no pr"),o="0"===r?"0"===i?">="+r+"."+i+"."+n+" <"+r+"."+i+"."+(+n+1):">="+r+"."+i+"."+n+" <"+r+"."+(+i+1)+".0":">="+r+"."+i+"."+n+" <"+(+r+1)+".0.0"),ee("caret return",o),o;});}function F(e,t){return ee("replaceXRanges",e,t),e.split(/\s+/).map(function(e){return V(e,t);}).join(" ");}function V(e,t){e=e.trim();var r=t.loose?eo[eh.XRANGELOOSE]:eo[eh.XRANGE];return e.replace(r,function(r,i,n,s,o,a){ee("xRange",e,r,i,n,s,o,a);var h=_(n),c=h||_(s),l=c||_(o),u=l;return"="===i&&u&&(i=""),a=t.includePrerelease?"-0":"",h?r=">"===i||"<"===i?"<0.0.0-0":"*":i&&u?(c&&(s=0),o=0,">"===i?(i=">=",c?(n=+n+1,s=0):s=+s+1,o=0):"<="===i&&(i="<",c?n=+n+1:s=+s+1),r=i+n+"."+s+"."+o+a):c?r=">="+n+".0.0"+a+" <"+(+n+1)+".0.0"+a:l&&(r=">="+n+"."+s+".0"+a+" <"+n+"."+(+s+1)+".0"+a),ee("xRange return",r),r;});}function U(e,t){return ee("replaceStars",e,t),e.trim().replace(eo[eh.STAR],"");}function k(e,t,r,i,n,s,o,a,h,c,l,u,p){return((t=_(r)?"":_(i)?">="+r+".0.0":_(n)?">="+r+"."+i+".0":">="+t)+" "+(a=_(h)?"":_(c)?"<"+(+h+1)+".0.0":_(l)?"<"+h+"."+(+c+1)+".0":u?"<="+h+"."+c+"."+l+"-"+u:"<="+a)).trim();}function G(e,t,r){for(var i=0;i0){var n=e[i].semver;if(n.major===t.major&&n.minor===t.minor&&n.patch===t.patch)return!0;}return!1;}return!0;}function H(e,t,r){try{t=new P(t,r);}catch(e){return!1;}return t.test(e);}function W(e,t,r){var i=null,n=null;try{var s=new P(t,r);}catch(e){return null;}return e.forEach(function(e){s.test(e)&&(!i||-1===n.compare(e))&&(n=new a(i=e,r));}),i;}function B(e,t,r){var i=null,n=null;try{var s=new P(t,r);}catch(e){return null;}return e.forEach(function(e){s.test(e)&&(!i||1===n.compare(e))&&(n=new a(i=e,r));}),i;}function X(e,t){e=new P(e,t);var r=new a("0.0.0");if(e.test(r)||(r=new a("0.0.0-0"),e.test(r)))return r;r=null;for(var i=0;i":0===t.prerelease.length?t.patch++:t.prerelease.push(0),t.raw=t.format();case"":case">=":(!r||v(r,t))&&(r=t);break;case"<":case"<=":break;default:throw Error("Unexpected operation: "+e.operator);}});return r&&e.test(r)?r:null;}function q(e,t){try{return new P(e,t).range||"*";}catch(e){return null;}}function z(e,t,r){return K(e,t,"<",r);}function Z(e,t,r){return K(e,t,">",r);}function K(e,t,r,i){switch(e=new a(e,i),t=new P(t,i),r){case">":n=v,s=S,o=I,h=">",c=">=";break;case"<":n=I,s=N,o=v,h="<",c="<=";break;default:throw TypeError('Must provide a hilo val of "<" or ">"');}if(H(e,t,i))return!1;for(var n,s,o,h,c,l=0;l=0.0.0")),p=p||e,f=f||e,n(e.semver,p.semver,i)?p=e:o(e.semver,f.semver,i)&&(f=e);}),p.operator===h||p.operator===c||(!f.operator||f.operator===h)&&s(e,f.semver)||f.operator===c&&o(e,f.semver))return!1;}return!0;}function Y(e,t){var r=n(e,t);return r&&r.prerelease.length?r.prerelease:null;}function J(e,t,r){return e=new P(e,r),t=new P(t,r),e.intersects(t);}function Q(e,t){if(e instanceof a)return e;if("number"==typeof e&&(e+=""),"string"!=typeof e)return null;var r,i=null;if((t=t||{}).rtl){for(;(r=eo[eh.COERCERTL].exec(e))&&(!i||i.index+i[0].length!==e.length);)i&&r.index+r[0].length===i.index+i[0].length||(i=r),eo[eh.COERCERTL].lastIndex=r.index+r[1].length+r[2].length;eo[eh.COERCERTL].lastIndex=-1;}else i=e.match(eo[eh.COERCE]);return null===i?null:n(i[2]+"."+(i[3]||"0")+"."+(i[4]||"0"),t);}t=e.exports=a,ee="object"==typeof process&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?function(){var e=Array.prototype.slice.call(arguments,0);e.unshift("SEMVER"),console.log.apply(console,e);}:function(){},t.SEMVER_SPEC_VERSION="2.0.0",et=256,er=Number.MAX_SAFE_INTEGER||9007199254740991,ei=16,en=et-6,es=t.re=[],eo=t.safeRe=[],ea=t.src=[],eh=t.tokens={},ec=0,eu=[["\\s",1],["\\d",et],[el="[a-zA-Z0-9-]",en]],r("NUMERICIDENTIFIER"),ea[eh.NUMERICIDENTIFIER]="0|[1-9]\\d*",r("NUMERICIDENTIFIERLOOSE"),ea[eh.NUMERICIDENTIFIERLOOSE]="\\d+",r("NONNUMERICIDENTIFIER"),ea[eh.NONNUMERICIDENTIFIER]="\\d*[a-zA-Z-]"+el+"*",r("MAINVERSION"),ea[eh.MAINVERSION]="("+ea[eh.NUMERICIDENTIFIER]+")\\.("+ea[eh.NUMERICIDENTIFIER]+")\\.("+ea[eh.NUMERICIDENTIFIER]+")",r("MAINVERSIONLOOSE"),ea[eh.MAINVERSIONLOOSE]="("+ea[eh.NUMERICIDENTIFIERLOOSE]+")\\.("+ea[eh.NUMERICIDENTIFIERLOOSE]+")\\.("+ea[eh.NUMERICIDENTIFIERLOOSE]+")",r("PRERELEASEIDENTIFIER"),ea[eh.PRERELEASEIDENTIFIER]="(?:"+ea[eh.NUMERICIDENTIFIER]+"|"+ea[eh.NONNUMERICIDENTIFIER]+")",r("PRERELEASEIDENTIFIERLOOSE"),ea[eh.PRERELEASEIDENTIFIERLOOSE]="(?:"+ea[eh.NUMERICIDENTIFIERLOOSE]+"|"+ea[eh.NONNUMERICIDENTIFIER]+")",r("PRERELEASE"),ea[eh.PRERELEASE]="(?:-("+ea[eh.PRERELEASEIDENTIFIER]+"(?:\\."+ea[eh.PRERELEASEIDENTIFIER]+")*))",r("PRERELEASELOOSE"),ea[eh.PRERELEASELOOSE]="(?:-?("+ea[eh.PRERELEASEIDENTIFIERLOOSE]+"(?:\\."+ea[eh.PRERELEASEIDENTIFIERLOOSE]+")*))",r("BUILDIDENTIFIER"),ea[eh.BUILDIDENTIFIER]=el+"+",r("BUILD"),ea[eh.BUILD]="(?:\\+("+ea[eh.BUILDIDENTIFIER]+"(?:\\."+ea[eh.BUILDIDENTIFIER]+")*))",r("FULL"),r("FULLPLAIN"),ea[eh.FULLPLAIN]="v?"+ea[eh.MAINVERSION]+ea[eh.PRERELEASE]+"?"+ea[eh.BUILD]+"?",ea[eh.FULL]="^"+ea[eh.FULLPLAIN]+"$",r("LOOSEPLAIN"),ea[eh.LOOSEPLAIN]="[v=\\s]*"+ea[eh.MAINVERSIONLOOSE]+ea[eh.PRERELEASELOOSE]+"?"+ea[eh.BUILD]+"?",r("LOOSE"),ea[eh.LOOSE]="^"+ea[eh.LOOSEPLAIN]+"$",r("GTLT"),ea[eh.GTLT]="((?:<|>)?=?)",r("XRANGEIDENTIFIERLOOSE"),ea[eh.XRANGEIDENTIFIERLOOSE]=ea[eh.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*",r("XRANGEIDENTIFIER"),ea[eh.XRANGEIDENTIFIER]=ea[eh.NUMERICIDENTIFIER]+"|x|X|\\*",r("XRANGEPLAIN"),ea[eh.XRANGEPLAIN]="[v=\\s]*("+ea[eh.XRANGEIDENTIFIER]+")(?:\\.("+ea[eh.XRANGEIDENTIFIER]+")(?:\\.("+ea[eh.XRANGEIDENTIFIER]+")(?:"+ea[eh.PRERELEASE]+")?"+ea[eh.BUILD]+"?)?)?",r("XRANGEPLAINLOOSE"),ea[eh.XRANGEPLAINLOOSE]="[v=\\s]*("+ea[eh.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+ea[eh.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+ea[eh.XRANGEIDENTIFIERLOOSE]+")(?:"+ea[eh.PRERELEASELOOSE]+")?"+ea[eh.BUILD]+"?)?)?",r("XRANGE"),ea[eh.XRANGE]="^"+ea[eh.GTLT]+"\\s*"+ea[eh.XRANGEPLAIN]+"$",r("XRANGELOOSE"),ea[eh.XRANGELOOSE]="^"+ea[eh.GTLT]+"\\s*"+ea[eh.XRANGEPLAINLOOSE]+"$",r("COERCE"),ea[eh.COERCE]="(^|[^\\d])(\\d{1,"+ei+"})(?:\\.(\\d{1,"+ei+"}))?(?:\\.(\\d{1,"+ei+"}))?(?:$|[^\\d])",r("COERCERTL"),es[eh.COERCERTL]=RegExp(ea[eh.COERCE],"g"),eo[eh.COERCERTL]=RegExp(i(ea[eh.COERCE]),"g"),r("LONETILDE"),ea[eh.LONETILDE]="(?:~>?)",r("TILDETRIM"),ea[eh.TILDETRIM]="(\\s*)"+ea[eh.LONETILDE]+"\\s+",es[eh.TILDETRIM]=RegExp(ea[eh.TILDETRIM],"g"),eo[eh.TILDETRIM]=RegExp(i(ea[eh.TILDETRIM]),"g"),ep="$1~",r("TILDE"),ea[eh.TILDE]="^"+ea[eh.LONETILDE]+ea[eh.XRANGEPLAIN]+"$",r("TILDELOOSE"),ea[eh.TILDELOOSE]="^"+ea[eh.LONETILDE]+ea[eh.XRANGEPLAINLOOSE]+"$",r("LONECARET"),ea[eh.LONECARET]="(?:\\^)",r("CARETTRIM"),ea[eh.CARETTRIM]="(\\s*)"+ea[eh.LONECARET]+"\\s+",es[eh.CARETTRIM]=RegExp(ea[eh.CARETTRIM],"g"),eo[eh.CARETTRIM]=RegExp(i(ea[eh.CARETTRIM]),"g"),ef="$1^",r("CARET"),ea[eh.CARET]="^"+ea[eh.LONECARET]+ea[eh.XRANGEPLAIN]+"$",r("CARETLOOSE"),ea[eh.CARETLOOSE]="^"+ea[eh.LONECARET]+ea[eh.XRANGEPLAINLOOSE]+"$",r("COMPARATORLOOSE"),ea[eh.COMPARATORLOOSE]="^"+ea[eh.GTLT]+"\\s*("+ea[eh.LOOSEPLAIN]+")$|^$",r("COMPARATOR"),ea[eh.COMPARATOR]="^"+ea[eh.GTLT]+"\\s*("+ea[eh.FULLPLAIN]+")$|^$",r("COMPARATORTRIM"),ea[eh.COMPARATORTRIM]="(\\s*)"+ea[eh.GTLT]+"\\s*("+ea[eh.LOOSEPLAIN]+"|"+ea[eh.XRANGEPLAIN]+")",es[eh.COMPARATORTRIM]=RegExp(ea[eh.COMPARATORTRIM],"g"),eo[eh.COMPARATORTRIM]=RegExp(i(ea[eh.COMPARATORTRIM]),"g"),ed="$1$2$3",r("HYPHENRANGE"),ea[eh.HYPHENRANGE]="^\\s*("+ea[eh.XRANGEPLAIN]+")\\s+-\\s+("+ea[eh.XRANGEPLAIN]+")\\s*$",r("HYPHENRANGELOOSE"),ea[eh.HYPHENRANGELOOSE]="^\\s*("+ea[eh.XRANGEPLAINLOOSE]+")\\s+-\\s+("+ea[eh.XRANGEPLAINLOOSE]+")\\s*$",r("STAR"),ea[eh.STAR]="(<|>)?=?\\s*\\*";for(var ee,et,er,ei,en,es,eo,ea,eh,ec,el,eu,ep,ef,ed,em,ey,eE=0;eE=0;)"number"==typeof this.prerelease[r]&&(this.prerelease[r]++,r=-2);-1===r&&this.prerelease.push(0);}t&&(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;},t.inc=h,t.diff=c,t.compareIdentifiers=l,em=/^[0-9]+$/,t.rcompareIdentifiers=u,t.major=p,t.minor=f,t.patch=d,t.compare=m,t.compareLoose=y,t.compareBuild=E,t.rcompare=g,t.sort=w,t.rsort=x,t.gt=v,t.lt=I,t.eq=b,t.neq=O,t.gte=N,t.lte=S,t.cmp=T,t.Comparator=R,ey={},R.prototype.parse=function(e){var t=this.options.loose?eo[eh.COMPARATORLOOSE]:eo[eh.COMPARATOR],r=e.match(t);if(!r)throw TypeError("Invalid comparator: "+e);this.operator=void 0!==r[1]?r[1]:"","="===this.operator&&(this.operator=""),r[2]?this.semver=new a(r[2],this.options.loose):this.semver=ey;},R.prototype.toString=function(){return this.value;},R.prototype.test=function(e){if(ee("Comparator.test",e,this.options.loose),this.semver===ey||e===ey)return!0;if("string"==typeof e)try{e=new a(e,this.options);}catch(e){return!1;}return T(e,this.operator,this.semver,this.options);},R.prototype.intersects=function(e,t){if(!(e instanceof R))throw TypeError("a Comparator is required");if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),""===this.operator)return""===this.value||(r=new P(e.value,t),H(this.value,r,t));if(""===e.operator)return""===e.value||(r=new P(this.value,t),H(e.semver,r,t));var r,i=(">="===this.operator||">"===this.operator)&&(">="===e.operator||">"===e.operator),n=("<="===this.operator||"<"===this.operator)&&("<="===e.operator||"<"===e.operator),s=this.semver.version===e.semver.version,o=(">="===this.operator||"<="===this.operator)&&(">="===e.operator||"<="===e.operator),a=T(this.semver,"<",e.semver,t)&&(">="===this.operator||">"===this.operator)&&("<="===e.operator||"<"===e.operator),h=T(this.semver,">",e.semver,t)&&("<="===this.operator||"<"===this.operator)&&(">="===e.operator||">"===e.operator);return i||n||s&&o||a||h;},t.Range=P,P.prototype.format=function(){return this.range=this.set.map(function(e){return e.join(" ").trim();}).join("||").trim(),this.range;},P.prototype.toString=function(){return this.range;},P.prototype.parseRange=function(e){var t=this.options.loose,r=t?eo[eh.HYPHENRANGELOOSE]:eo[eh.HYPHENRANGE];e=e.replace(r,k),ee("hyphen replace",e),e=e.replace(eo[eh.COMPARATORTRIM],ed),ee("comparator trim",e,eo[eh.COMPARATORTRIM]),e=(e=(e=e.replace(eo[eh.TILDETRIM],ep)).replace(eo[eh.CARETTRIM],ef)).split(/\s+/).join(" ");var i=t?eo[eh.COMPARATORLOOSE]:eo[eh.COMPARATOR],n=e.split(" ").map(function(e){return C(e,this.options);},this).join(" ").split(/\s+/);return this.options.loose&&(n=n.filter(function(e){return!!e.match(i);})),n=n.map(function(e){return new R(e,this.options);},this);},P.prototype.intersects=function(e,t){if(!(e instanceof P))throw TypeError("a Range is required");return this.set.some(function(r){return A(r,t)&&e.set.some(function(e){return A(e,t)&&r.every(function(r){return e.every(function(e){return r.intersects(e,t);});});});});},t.toComparators=L,P.prototype.test=function(e){if(!e)return!1;if("string"==typeof e)try{e=new a(e,this.options);}catch(e){return!1;}for(var t=0;tthis.maxSeconds)throw Error("min seconds should be less than or equal to max seconds");}execute(e,t){return s(this,void 0,void 0,function*(){let r=1;for(;rsetTimeout(t,1e3*e));});}}e.exports.RetryHelper=a;}),parcelRegister("ktIgk",function(e,t){var r,i,n,s,o;async function a(e,t,n,o,a){let l,u,p="",f="",d=c(e);if(o&&(u=await r.getAvailablePyPyVersions())&&u.length>0){let e=r.findRelease(u,d.pythonVersion,d.pypyVersion,t,!1);e?(s.info(`Resolved as PyPy ${e.resolvedPyPyVersion} with Python (${e.resolvedPythonVersion})`),d.pythonVersion=e.resolvedPythonVersion,d.pypyVersion=e.resolvedPyPyVersion):s.info(`Failed to resolve PyPy ${d.pypyVersion} with Python (${d.pythonVersion}) from manifest`);}({installDir:l,resolvedPythonVersion:f,resolvedPyPyVersion:p}=h(d.pythonVersion,d.pypyVersion,t)),l||({installDir:l,resolvedPythonVersion:f,resolvedPyPyVersion:p}=await r.installPyPy(d.pypyVersion,d.pythonVersion,t,a,u));let m=i.IS_WINDOWS?"Scripts":"bin",y=$kC5q1$path.join(l,m),E=i.IS_WINDOWS?".exe":"",g=$kC5q1$path.join(i.IS_WINDOWS?l:y,"python"+E),w=r.getPyPyBinaryPath(l);return n&&(s.exportVariable("pythonLocation",l),s.exportVariable("Python_ROOT_DIR",l),s.exportVariable("Python2_ROOT_DIR",l),s.exportVariable("Python3_ROOT_DIR",l),s.exportVariable("PKG_CONFIG_PATH",w+"/lib/pkgconfig"),s.addPath(w),s.addPath(y)),s.setOutput("python-version","pypy"+p),s.setOutput("python-path",g),{resolvedPyPyVersion:p,resolvedPythonVersion:f};}function h(e,t,r){let a="",h="",c=i.IS_WINDOWS?l(e):o.find("PyPy",e,r);return c&&(h=(0,i.getPyPyVersionFromPath)(c),a=(0,i.readExactPyPyVersionFile)(c),n.satisfies(a,t)||(c=null,a="",h="")),c||s.info(`PyPy version ${e} (${t}) was not found in the local cache`),{installDir:c,resolvedPythonVersion:h,resolvedPyPyVersion:a};}function c(e){let t;let n=e.split("-").filter(e=>!!e);if(/^(pypy)(.+)/.test(n[0])){let e=n[0].replace("pypy","");n.splice(0,1,"pypy",e);}if(n.length<2||"pypy"!=n[0])throw Error("Invalid 'version' property for PyPy. PyPy version should be specified as 'pypy' or 'pypy-'. See README for examples and documentation.");let s=n[1];if(t=n.length>2?r.pypyVersionToSemantic(n[2]):"x",!(0,i.validateVersion)(s)||!(0,i.validateVersion)(t))throw Error("Invalid 'version' property for PyPy. Both Python version and PyPy versions should satisfy SemVer notation. See README for examples and documentation.");if(!(0,i.validatePythonVersionFormatForPyPy)(s))throw Error("Invalid format of Python version for PyPy. Python version should be specified in format 'x.y'. See README for examples and documentation.");return{pypyVersion:t,pythonVersion:s};}function l(e){let t="";return(0,i.WINDOWS_ARCHS).forEach(r=>t=t||o.find("PyPy",e,r)),t;}$parcel$export(e.exports,"findPyPyVersion",()=>a),r=parcelRequire("impuq"),i=parcelRequire("56hu0"),n=parcelRequire("coVwk"),s=parcelRequire("1o3Gj"),o=parcelRequire("5DFAC");}),parcelRegister("impuq",function(e,t){var r,i,n,s,o,a;async function h(e,t,n,s,o){let h;if(!(o=null!=o?o:await c())||0===o.length)throw Error("No release was found in PyPy version.json");let d=p(o,t,e,n,!1);if(!s||d&&d.foundAsset||(r.info([`Stable PyPy version ${t} (${e}) with arch ${n} not found`,"Trying pre-release versions"].join($kC5q1$os.EOL)),d=p(o,t,e,n,!0)),!d||!d.foundAsset)throw Error(`PyPy version ${t} (${e}) with arch ${n} not found`);let{foundAsset:m,resolvedPythonVersion:y,resolvedPyPyVersion:E}=d,g=""+m.download_url;r.info(`Downloading PyPy from "${g}" ...`);try{let e=await i.downloadTool(g);r.info("Extracting downloaded archive..."),h=a.IS_WINDOWS?await i.extractZip(e):await i.extractTar(e,void 0,"x");let t=$parcel$interopDefault($kC5q1$fs).readdirSync(h)[0],s=$kC5q1$path.join(h,t),o=s;(0,a.isNightlyKeyword)(E)||(o=await i.cacheDir(s,"PyPy",y,n)),(0,a.writeExactPyPyVersionFile)(o,E);let c=f(o);return await l(c,y),await u(c),{installDir:o,resolvedPythonVersion:y,resolvedPyPyVersion:E};}catch(e){throw e instanceof Error&&(e instanceof i.HTTPError&&(403===e.httpStatusCode||429===e.httpStatusCode)?r.info(`Received HTTP status code ${e.httpStatusCode}. This usually indicates the rate limit has been exceeded`):r.info(e.message),void 0!==e.stack&&r.debug(e.stack)),e;}}async function c(){let e="https://downloads.python.org/pypy/versions.json",t=new s.HttpClient("tool-cache"),r=await t.getJson(e);if(!r.result)throw Error(`Unable to retrieve the list of available PyPy versions from '${e}'`);return r.result;}async function l(e,t){let i=n.coerce(t),s=n.major(i),o=n.minor(i),h=2===s?"":"3",c=`${s}.${o}`,l=a.IS_WINDOWS?".exe":"";r.info("Creating symlinks..."),(0,a.createSymlinkInFolder)(e,`pypy${h}${l}`,`python${s}${l}`,!0),(0,a.createSymlinkInFolder)(e,`pypy${h}${l}`,"python"+l,!0),(0,a.createSymlinkInFolder)(e,`pypy${h}${l}`,`pypy${c}${l}`,!0);}async function u(e){r.info("Installing and updating pip");let t=$kC5q1$path.join(e,"python");await o.exec(`${t} -m ensurepip`),await o.exec(`${e}/python -m pip install --ignore-installed pip`);}function p(e,t,r,i,s){let o={includePrerelease:s},h=e.filter(e=>{let s=n.satisfies(n.coerce(e.python_version),t),h=(0,a.isNightlyKeyword)(r)&&(0,a.isNightlyKeyword)(e.pypy_version)||n.satisfies(d(e.pypy_version),r,o),c=e.files&&(a.IS_WINDOWS?m(e,i):y(e,i,process.platform));return s&&h&&c;});if(0===h.length)return null;let c=h.sort((e,t)=>n.compare(n.coerce(d(t.pypy_version)),n.coerce(d(e.pypy_version)))||n.compare(n.coerce(t.python_version),n.coerce(e.python_version)))[0];return{foundAsset:a.IS_WINDOWS?E(c,i):g(c,i,process.platform),resolvedPythonVersion:c.python_version,resolvedPyPyVersion:c.pypy_version.trim()};}function f(e){let t=$kC5q1$path.join(e,"bin");return a.IS_WINDOWS?e:t;}function d(e){let t=/(\d+\.\d+\.\d+)((?:a|b|rc))(\d*)/g;return e.replace(t,"$1-$2.$3");}function m(e,t){return t=w(t),e.files.some(e=>(0,a.WINDOWS_PLATFORMS).includes(e.platform)&&e.arch===t);}function y(e,t,r){return e.files.some(e=>e.arch===t&&e.platform===r);}function E(e,t){return t=w(t),e.files.find(e=>(0,a.WINDOWS_PLATFORMS).includes(e.platform)&&e.arch===t);}function g(e,t,r){return e.files.find(e=>e.arch===t&&e.platform===r);}function w(e){return"x32"===e&&(e="x86"),e;}$parcel$export(e.exports,"installPyPy",()=>h),$parcel$export(e.exports,"getAvailablePyPyVersions",()=>c),$parcel$export(e.exports,"findRelease",()=>p),$parcel$export(e.exports,"getPyPyBinaryPath",()=>f),$parcel$export(e.exports,"pypyVersionToSemantic",()=>d),r=parcelRequire("1o3Gj"),i=parcelRequire("5DFAC"),n=parcelRequire("coVwk"),s=parcelRequire("eamjo"),o=parcelRequire("bHzmH"),a=parcelRequire("56hu0");}); +//# sourceMappingURL=actions_python.c7411d6b.js.map \ No newline at end of file diff --git a/dist/legacy/actions_python.c7411d6b.js.map b/dist/legacy/actions_python.c7411d6b.js.map new file mode 100644 index 00000000..20ba888a --- /dev/null +++ b/dist/legacy/actions_python.c7411d6b.js.map @@ -0,0 +1 @@ +{"version":3,"file":"actions_python.c7411d6b.js","names":["u","e","startsWith","p","t","o","c","h","IS_MAC","process","env","AGENT_TOOLSDIRECTORY","l","trim","RUNNER_TOOL_CACHE","s","debug","r","i","findPyPyVersion","d","resolvedPyPyVersion","resolvedPythonVersion","n","info","useCpythonVersion","version","impl","a","GITHUB_ACTIONS","f","join","pathExists","warning","IS_WINDOWS","$kC5q1$path","m","y","getManifest","findReleaseFromManifest","E","find","files","length","installCpythonFromRelease","getOSInfo","Error","osName","osVersion","MANIFEST_URL","$kC5q1$os","EOL","g","w","x","exportVariable","IS_LINUX","LD_LIBRARY_PATH","split","includes","addPath","basename","dirname","major","minor","APPDATA","v","setOutput","replace","sep","findIndex","$parcel$interopDefault","$kC5q1$fs","existsSync","symlinkSync","chmodSync","validRange","readFileSync","toString","writeFileSync","test","stdout","getExecOutput","silent","message","parcelRequire","platform","exports","async","stream","prettyError","$parcel$global","Buffer","isBuffer","parse","finish","_custom","isDigit","CHAR_0","CHAR_9","isHexit","CHAR_A","CHAR_F","CHAR_a","CHAR_f","isBit","CHAR_1","isOctit","CHAR_7","isAlphaNumQuoteHyphen","CHAR_Z","CHAR_z","CHAR_APOS","CHAR_QUOT","CHAR_LOWBAR","CHAR_HYPHEN","isAlphaNumHyphen","hasKey","hasOwnProperty","call","defineProperty","descriptor","InlineTable","Object","defineProperties","_type","value","INLINE_TABLE","isInlineTable","Table","TABLE","_declared","writable","isTable","InlineList","INLINE_LIST","_contentType","isInlineList","List","LIST","isList","Integer","is","BigInt","Number","isSafeInteger","BoxedBigInt","isNaN","INTEGER","_inspect","isInteger","Float","FLOAT","isFloat","tomlType","Date","makeParserClass","constructor","ctx","obj","atEndOfWord","char","CHAR_NUM","CTRL_I","CHAR_SP","atEndOfLine","END","CTRL_J","CTRL_M","parseStart","CHAR_LSQB","parseTableOrList","parseComment","callNow","parseAssignStatement","error","TomlError","parseWhitespaceToEOL","goto","return","parseAssign","recordAssignStatement","key","pop","valueOf","parseKeyword","recordAssignKeyword","state","resultTable","push","parseAssignKeywordPreDot","CHAR_PERIOD","next","parseAssignKeywordPostDot","parseAssignEqual","CHAR_EQUALS","parseAssignPreValue","parseValue","recordAssignValue","returnNow","nextChar","parseTable","parseList","parseTableNext","parseTableMore","CHAR_RSQB","parseListNext","parseListMore","parseListEnd","parseDoubleString","parseSingleString","CHAR_PLUS","parseNumberSign","CHAR_i","parseInf","CHAR_n","parseNan","parseNumberOrDateTime","CHAR_t","parseBoolean","parseInlineList","recordValue","CHAR_LCUB","parseInlineTable","parseInf2","buf","parseNan2","NaN","parseBasicString","parseLiteralString","parseBareKey","consume","parseLiteralMultiStringMaybe","CHAR_DEL","CTRL_CHAR_BOUNDARY","errorControlCharInString","parseLiteralMultiString","parseLiteralMultiStringContent","parseLiteralMultiEnd","parseLiteralMultiEnd2","parseMultiStringMaybe","CHAR_BSOL","parseEscape","recordEscapeReplacement","parseMultiString","parseMultiStringContent","parseMultiEscape","recordMultiEscapeReplacement","parseMultiEnd","parseMultiEnd2","parseMultiTrim","parsePreMultiTrim","escapes","CHAR_u","parseSmallUnicode","parseUnicodeReturn","CHAR_U","parseLargeUnicode","parseInt","SURROGATE_FIRST","SURROGATE_LAST","String","fromCodePoint","wrap","parseMaybeSignedInfOrNan","parseNoUnder","parseNumberIntegerStart","parseNumberIntegerExponentOrDecimal","parseNumberInteger","parseNumberFloat","CHAR_E","CHAR_e","parseNumberExponentSign","parseNoUnderHexOctBinLiteral","parseNumberExponent","parseNumberBaseOrDateTime","parseNumberOrDateTimeOnly","parseDateTime","CHAR_COLON","parseOnlyTimeHour","parseDateTimeOnly","CHAR_b","parseIntegerBin","CHAR_o","parseIntegerOct","CHAR_x","parseIntegerHex","result","parseDateMonth","parseDateDay","CHAR_T","parseStartTimeHour","$ackbS","parseTimeHour","parseTimeMin","parseTimeSec","parseTimeZoneOrFraction","parseOnlyTimeMin","parseOnlyTimeSec","parseOnlyTimeFractionMaybe","$k3cxx","parseOnlyTimeFraction","parseDateTimeFraction","parseTimeZoneHour","$65V8s","$2Gq8U","parseTimeZoneSep","parseTimeZoneMin","parseTrue_r","parseFalse_a","CHAR_r","parseTrue_u","parseTrue_e","parseFalse_l","CHAR_l","parseFalse_s","CHAR_s","parseFalse_e","resultArr","recordInlineListValue","parseInlineListNext","CHAR_COMMA","CHAR_RCUB","recordInlineTableValue","parseInlineTableNext","module","name","captureStackTrace","fromTOML","wrapped","code","Symbol","prototype","configurable","enumerable","utilInspect","eval","custom","_","asIntN","parser","returned","pos","col","line","stack","_buf","ii","runOne","codePointAt","haveBuffer","JSON","stringify","TypeError","isFloating","toISOString","getUTCFullYear","getUTCMonth","getUTCDate","getUTCHours","getUTCMinutes","getUTCSeconds","getUTCMilliseconds","isDate","isTime","Math","min","max","slice","setImmediate","blocksize","Promise","setEncoding","read","once","$kC5q1$stream","Transform","objectMode","transform","emit","flush","toJSON","keys","filter","Array","isArray","forEach","R","map","I","S","T","b","O","every","N","P","A","findFromManifest","getManifestFromRepo","cwd","listeners","stderr","exec","download_url","downloadTool","extractZip","extractTar","HTTPError","httpStatusCode","getInput","F","H","default","D","mkdirP","L","RetryHelper","execute","W","M","V","HttpClient","q","allowRetries","authorization","get","statusCode","statusMessage","G","promisify","k","pipeline","createWriteStream","rmRF","$kC5q1$assert","ok","B","chdir","isDebug","C","which","ignoreReturnCode","toUpperCase","X","unshift","U","clean","j","arch","statSync","isDirectory","readdirSync","cp","recursive","isFile","getJson","tree","path","url","accept","readBody","$","_findMatch","valid","sort","gt","satisfies","RUNNER_TEMP","from","Set","$kC5q1$util","setPrototypeOf","new","target","extract7z","extractXar","cacheDir","cacheFile","findAllVersions","isExplicitVersion","evaluateVersions","stable","platform_version","_getOsVersion","assign","$kC5q1$child_process","execSync","_readLinuxVersionFile","eh","ec","eu","loose","includePrerelease","et","eo","LOOSE","FULL","ee","options","match","raw","patch","er","prerelease","build","format","inc","em","compare","compareBuild","semver","ey","operator","set","parseRange","intersects","toLowerCase","TILDELOOSE","TILDE","CARETLOOSE","CARET","XRANGELOOSE","XRANGE","STAR","range","z","K","Z","Y","J","Q","rtl","COERCERTL","index","lastIndex","COERCE","NODE_DEBUG","arguments","console","log","apply","SEMVER_SPEC_VERSION","MAX_SAFE_INTEGER","ei","en","es","re","safeRe","ea","src","tokens","el","NUMERICIDENTIFIER","NUMERICIDENTIFIERLOOSE","NONNUMERICIDENTIFIER","MAINVERSION","MAINVERSIONLOOSE","PRERELEASEIDENTIFIER","PRERELEASEIDENTIFIERLOOSE","PRERELEASE","PRERELEASELOOSE","BUILDIDENTIFIER","BUILD","FULLPLAIN","LOOSEPLAIN","GTLT","XRANGEIDENTIFIERLOOSE","XRANGEIDENTIFIER","XRANGEPLAIN","XRANGEPLAINLOOSE","RegExp","LONETILDE","TILDETRIM","ep","LONECARET","CARETTRIM","ef","COMPARATORLOOSE","COMPARATOR","COMPARATORTRIM","ed","HYPHENRANGE","HYPHENRANGELOOSE","eE","SemVer","compareMain","comparePre","diff","compareIdentifiers","rcompareIdentifiers","compareLoose","rcompare","rsort","lt","eq","neq","gte","lte","cmp","Comparator","Range","some","toComparators","maxSatisfying","minSatisfying","minVersion","ltr","gtr","outside","coerce","random","rng","$kC5q1$crypto","randomBytes","substr","maxAttempts","minSeconds","floor","maxSeconds","getSleepAmount","sleep","setTimeout","getAvailablePyPyVersions","findRelease","pythonVersion","pypyVersion","installDir","installPyPy","getPyPyBinaryPath","getPyPyVersionFromPath","readExactPyPyVersionFile","splice","pypyVersionToSemantic","validateVersion","validatePythonVersionFormatForPyPy","WINDOWS_ARCHS","foundAsset","isNightlyKeyword","writeExactPyPyVersionFile","createSymlinkInFolder","python_version","pypy_version","WINDOWS_PLATFORMS"],"sources":["../../","../../src/python/actions_python.ts","../../node_modules/setup-python/src/find-python.ts","../../node_modules/setup-python/src/utils.ts","../../node_modules/@iarna/toml/toml.js","../../node_modules/@iarna/toml/parse.js","../../node_modules/@iarna/toml/parse-string.js","../../node_modules/@iarna/toml/lib/toml-parser.js","../../node_modules/@iarna/toml/lib/parser.js","../../node_modules/@iarna/toml/lib/create-datetime.js","../../node_modules/@iarna/toml/lib/create-datetime-float.js","../../node_modules/@iarna/toml/lib/format-num.js","../../node_modules/@iarna/toml/lib/create-date.js","../../node_modules/@iarna/toml/lib/create-time.js","../../node_modules/@iarna/toml/parse-pretty-error.js","../../node_modules/@iarna/toml/parse-async.js","../../node_modules/@iarna/toml/parse-stream.js","../../node_modules/@iarna/toml/stringify.js","../../node_modules/setup-python/src/install-python.ts","../../node_modules/setup-python/node_modules/@actions/tool-cache/lib/tool-cache.js","../../node_modules/setup-python/node_modules/@actions/tool-cache/src/tool-cache.ts","../../node_modules/setup-python/node_modules/@actions/tool-cache/lib/manifest.js","../../node_modules/setup-python/node_modules/@actions/tool-cache/src/manifest.ts","../../node_modules/setup-python/node_modules/@actions/tool-cache/node_modules/semver/semver.js","../../node_modules/setup-python/node_modules/uuid/v4.js","../../node_modules/setup-python/node_modules/uuid/lib/rng.js","../../node_modules/setup-python/node_modules/uuid/lib/bytesToUuid.js","../../node_modules/setup-python/node_modules/@actions/tool-cache/lib/retry-helper.js","../../node_modules/setup-python/node_modules/@actions/tool-cache/src/retry-helper.ts","../../node_modules/setup-python/src/find-pypy.ts","../../node_modules/setup-python/src/install-pypy.ts"],"sourcesContent":["var $kC5q1$path = require(\"path\");\nvar $kC5q1$os = require(\"os\");\nvar $kC5q1$fs = require(\"fs\");\nvar $kC5q1$stream = require(\"stream\");\nvar $kC5q1$util = require(\"util\");\nvar $kC5q1$assert = require(\"assert\");\nvar $kC5q1$child_process = require(\"child_process\");\nvar $kC5q1$crypto = require(\"crypto\");\n\n\nfunction $parcel$export(e, n, v, s) {\n Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});\n}\n\nfunction $parcel$interopDefault(a) {\n return a && a.__esModule ? a.default : a;\n}\n\n var $parcel$global = globalThis;\n var parcelRequire = $parcel$global[\"parcelRequire810d\"];\nvar parcelRegister = parcelRequire.register;\nparcelRegister(\"8L9T2\", function(module, exports) {\n\n$parcel$export(module.exports, \"setupActionsPython\", () => $00d4fba27c89d70b$export$5655ebf4048b68d5);\n\nvar $i8mEC = parcelRequire(\"i8mEC\");\n\nvar $ktIgk = parcelRequire(\"ktIgk\");\n\nvar $hHq4F = parcelRequire(\"hHq4F\");\n\nvar $1o3Gj = parcelRequire(\"1o3Gj\");\n\nvar $eAXk4 = parcelRequire(\"eAXk4\");\n\nvar $dAuy6 = parcelRequire(\"dAuy6\");\n\nvar $56hu0 = parcelRequire(\"56hu0\");\n\nvar $6t4SD = parcelRequire(\"6t4SD\");\n\nvar $00d4fba27c89d70b$var$$parcel$__dirname = $kC5q1$path.resolve(__dirname, \"../../src/python\");\nfunction $00d4fba27c89d70b$var$isPyPyVersion(versionSpec) {\n return versionSpec.startsWith(\"pypy\");\n}\nconst $00d4fba27c89d70b$var$checkLatest = false;\nasync function $00d4fba27c89d70b$export$5655ebf4048b68d5(version, _setupDir, arch) {\n var _process_env_AGENT_TOOLSDIRECTORY;\n if (0, $56hu0.IS_MAC) process.env.AGENT_TOOLSDIRECTORY = \"/Users/runner/hostedtoolcache\";\n const agent_toolsdirectory = (_process_env_AGENT_TOOLSDIRECTORY = process.env.AGENT_TOOLSDIRECTORY) === null || _process_env_AGENT_TOOLSDIRECTORY === void 0 ? void 0 : _process_env_AGENT_TOOLSDIRECTORY.trim();\n if (typeof agent_toolsdirectory === \"string\" && agent_toolsdirectory !== \"\") process.env.RUNNER_TOOL_CACHE = process.env.AGENT_TOOLSDIRECTORY;\n (0, $1o3Gj.debug)(`Python is expected to be installed into ${process.env.RUNNER_TOOL_CACHE}`);\n if (version) {\n let pythonVersion;\n if ($00d4fba27c89d70b$var$isPyPyVersion(version)) {\n const installed = await (0, $ktIgk.findPyPyVersion)(version, arch, true, $00d4fba27c89d70b$var$checkLatest, false);\n pythonVersion = `${installed.resolvedPyPyVersion}-${installed.resolvedPythonVersion}`;\n (0, $hHq4F.info)(`Successfully set up PyPy ${installed.resolvedPyPyVersion} with Python (${installed.resolvedPythonVersion})`);\n } else {\n const installed = await (0, $i8mEC.useCpythonVersion)(version, arch, true, $00d4fba27c89d70b$var$checkLatest, false);\n pythonVersion = installed.version;\n (0, $hHq4F.info)(`Successfully set up ${installed.impl} (${pythonVersion})`);\n }\n // const cache = false\n // if (cache) {\n // const { cacheDependencies } = await import(\"setup-python/src/cache-dependencies\")\n // await cacheDependencies(\"pip\", pythonVersion)\n // }\n }\n if (0, $dAuy6.GITHUB_ACTIONS) await $00d4fba27c89d70b$var$addPythonLoggingMatcher();\n return undefined;\n}\nasync function $00d4fba27c89d70b$var$addPythonLoggingMatcher() {\n const matcherPath = (0, $eAXk4.join)($00d4fba27c89d70b$var$$parcel$__dirname, \"python_matcher.json\");\n if (!await (0, $6t4SD.pathExists)(matcherPath)) return (0, $hHq4F.warning)(\"the python_matcher.json file does not exist in the same folder as setup-cpp.js\");\n (0, $hHq4F.info)(`::add-matcher::${matcherPath}`);\n}\n\n});\nparcelRegister(\"i8mEC\", function(module, exports) {\n\n$parcel$export(module.exports, \"useCpythonVersion\", () => $a7921d52fbaa3a56$export$c90655100676e173);\n\n\n\nvar $56hu0 = parcelRequire(\"56hu0\");\n\nvar $coVwk = parcelRequire(\"coVwk\");\n\nvar $aN96g = parcelRequire(\"aN96g\");\n\nvar $1o3Gj = parcelRequire(\"1o3Gj\");\n\nvar $5DFAC = parcelRequire(\"5DFAC\");\n// Python has \"scripts\" or \"bin\" directories where command-line tools that come with packages are installed.\n// This is where pip is, along with anything that pip installs.\n// There is a separate directory for `pip install --user`.\n//\n// For reference, these directories are as follows:\n// macOS / Linux:\n// /bin (by default /usr/local/bin, but not on hosted agents -- see the `else`)\n// (--user) ~/.local/bin\n// Windows:\n// \\Scripts\n// (--user) %APPDATA%\\Python\\PythonXY\\Scripts\n// See https://docs.python.org/3/library/sysconfig.html\nfunction $a7921d52fbaa3a56$var$binDir(installDir) {\n if (0, $56hu0.IS_WINDOWS) return $kC5q1$path.join(installDir, \"Scripts\");\n else return $kC5q1$path.join(installDir, \"bin\");\n}\nasync function $a7921d52fbaa3a56$export$c90655100676e173(version, architecture, updateEnvironment, checkLatest, allowPreReleases) {\n let manifest = null;\n const desugaredVersionSpec = $a7921d52fbaa3a56$var$desugarDevVersion(version);\n let semanticVersionSpec = $a7921d52fbaa3a56$export$2630b06843feee21(desugaredVersionSpec, allowPreReleases);\n $1o3Gj.debug(`Semantic version spec of ${version} is ${semanticVersionSpec}`);\n if (checkLatest) {\n var _this;\n manifest = await $aN96g.getManifest();\n const resolvedVersion = (_this = await $aN96g.findReleaseFromManifest(semanticVersionSpec, architecture, manifest)) === null || _this === void 0 ? void 0 : _this.version;\n if (resolvedVersion) {\n semanticVersionSpec = resolvedVersion;\n $1o3Gj.info(`Resolved as '${semanticVersionSpec}'`);\n } else $1o3Gj.info(`Failed to resolve version ${semanticVersionSpec} from manifest`);\n }\n let installDir = $5DFAC.find(\"Python\", semanticVersionSpec, architecture);\n if (!installDir) {\n $1o3Gj.info(`Version ${semanticVersionSpec} was not found in the local cache`);\n const foundRelease = await $aN96g.findReleaseFromManifest(semanticVersionSpec, architecture, manifest);\n if (foundRelease && foundRelease.files && foundRelease.files.length > 0) {\n $1o3Gj.info(`Version ${semanticVersionSpec} is available for downloading`);\n await $aN96g.installCpythonFromRelease(foundRelease);\n installDir = $5DFAC.find(\"Python\", semanticVersionSpec, architecture);\n }\n }\n if (!installDir) {\n const osInfo = await (0, $56hu0.getOSInfo)();\n throw new Error([\n `The version '${version}' with architecture '${architecture}' was not found for ${osInfo ? `${osInfo.osName} ${osInfo.osVersion}` : \"this operating system\"}.`,\n `The list of all available versions can be found here: ${$aN96g.MANIFEST_URL}`\n ].join($kC5q1$os.EOL));\n }\n const _binDir = $a7921d52fbaa3a56$var$binDir(installDir);\n const binaryExtension = (0, $56hu0.IS_WINDOWS) ? \".exe\" : \"\";\n const pythonPath = $kC5q1$path.join((0, $56hu0.IS_WINDOWS) ? installDir : _binDir, `python${binaryExtension}`);\n if (updateEnvironment) {\n $1o3Gj.exportVariable(\"pythonLocation\", installDir);\n $1o3Gj.exportVariable(\"PKG_CONFIG_PATH\", installDir + \"/lib/pkgconfig\");\n $1o3Gj.exportVariable(\"pythonLocation\", installDir);\n // https://cmake.org/cmake/help/latest/module/FindPython.html#module:FindPython\n $1o3Gj.exportVariable(\"Python_ROOT_DIR\", installDir);\n // https://cmake.org/cmake/help/latest/module/FindPython2.html#module:FindPython2\n $1o3Gj.exportVariable(\"Python2_ROOT_DIR\", installDir);\n // https://cmake.org/cmake/help/latest/module/FindPython3.html#module:FindPython3\n $1o3Gj.exportVariable(\"Python3_ROOT_DIR\", installDir);\n $1o3Gj.exportVariable(\"PKG_CONFIG_PATH\", installDir + \"/lib/pkgconfig\");\n if (0, $56hu0.IS_LINUX) {\n const libPath = process.env.LD_LIBRARY_PATH ? `:${process.env.LD_LIBRARY_PATH}` : \"\";\n const pyLibPath = $kC5q1$path.join(installDir, \"lib\");\n if (!libPath.split(\":\").includes(pyLibPath)) $1o3Gj.exportVariable(\"LD_LIBRARY_PATH\", pyLibPath + libPath);\n }\n $1o3Gj.addPath(installDir);\n $1o3Gj.addPath(_binDir);\n if (0, $56hu0.IS_WINDOWS) {\n // Add --user directory\n // `installDir` from tool cache should look like $RUNNER_TOOL_CACHE/Python//x64/\n // So if `findLocalTool` succeeded above, we must have a conformant `installDir`\n const version = $kC5q1$path.basename($kC5q1$path.dirname(installDir));\n const major = $coVwk.major(version);\n const minor = $coVwk.minor(version);\n const userScriptsDir = $kC5q1$path.join(process.env[\"APPDATA\"] || \"\", \"Python\", `Python${major}${minor}`, \"Scripts\");\n $1o3Gj.addPath(userScriptsDir);\n }\n // On Linux and macOS, pip will create the --user directory and add it to PATH as needed.\n }\n const installed = $a7921d52fbaa3a56$var$versionFromPath(installDir);\n $1o3Gj.setOutput(\"python-version\", installed);\n $1o3Gj.setOutput(\"python-path\", pythonPath);\n return {\n impl: \"CPython\",\n version: installed\n };\n}\n/** Convert versions like `3.8-dev` to a version like `~3.8.0-0`. */ function $a7921d52fbaa3a56$var$desugarDevVersion(versionSpec) {\n const devVersion = /^(\\d+)\\.(\\d+)-dev$/;\n return versionSpec.replace(devVersion, \"~$1.$2.0-0\");\n}\n/** Extracts python version from install path from hosted tool cache as described in README.md */ function $a7921d52fbaa3a56$var$versionFromPath(installDir) {\n const parts = installDir.split($kC5q1$path.sep);\n const idx = parts.findIndex((part)=>part === \"PyPy\" || part === \"Python\");\n return parts[idx + 1] || \"\";\n}\nfunction $a7921d52fbaa3a56$export$2630b06843feee21(versionSpec, allowPreReleases) {\n const prereleaseVersion = /(\\d+\\.\\d+\\.\\d+)((?:a|b|rc)\\d*)/g;\n const majorMinor = /^(\\d+)\\.(\\d+)$/;\n let result = versionSpec.replace(prereleaseVersion, \"$1-$2\");\n if (allowPreReleases) result = result.replace(majorMinor, \"~$1.$2.0-0\");\n return result;\n}\n\n});\nparcelRegister(\"56hu0\", function(module, exports) {\n\n$parcel$export(module.exports, \"IS_WINDOWS\", () => $64457127516113fc$export$82633ee808573685);\n$parcel$export(module.exports, \"IS_LINUX\", () => $64457127516113fc$export$25e95d65b6faeb9a);\n$parcel$export(module.exports, \"IS_MAC\", () => $64457127516113fc$export$ff23e6b4c4401383);\n$parcel$export(module.exports, \"WINDOWS_ARCHS\", () => $64457127516113fc$export$175751bac16078cf);\n$parcel$export(module.exports, \"WINDOWS_PLATFORMS\", () => $64457127516113fc$export$da6ba390a22488d5);\n$parcel$export(module.exports, \"createSymlinkInFolder\", () => $64457127516113fc$export$b0a6cbd0a3e3c63a);\n$parcel$export(module.exports, \"validateVersion\", () => $64457127516113fc$export$7880c8f0bb8a6afd);\n$parcel$export(module.exports, \"isNightlyKeyword\", () => $64457127516113fc$export$ea46fc8abcf9f209);\n$parcel$export(module.exports, \"getPyPyVersionFromPath\", () => $64457127516113fc$export$8a23ea91582cecbc);\n$parcel$export(module.exports, \"readExactPyPyVersionFile\", () => $64457127516113fc$export$15e4ce4ad93c8c8a);\n$parcel$export(module.exports, \"writeExactPyPyVersionFile\", () => $64457127516113fc$export$8fb7815f538587a8);\n$parcel$export(module.exports, \"validatePythonVersionFormatForPyPy\", () => $64457127516113fc$export$3dc910628be7a364);\n$parcel$export(module.exports, \"getOSInfo\", () => $64457127516113fc$export$471d7e4c229dedf);\n/* eslint no-unsafe-finally: \"off\" */ \nvar $1o3Gj = parcelRequire(\"1o3Gj\");\n\n\n\nvar $coVwk = parcelRequire(\"coVwk\");\n\nvar $jyjVK = parcelRequire(\"jyjVK\");\n\nvar $bHzmH = parcelRequire(\"bHzmH\");\nconst $64457127516113fc$export$82633ee808573685 = process.platform === \"win32\";\nconst $64457127516113fc$export$25e95d65b6faeb9a = process.platform === \"linux\";\nconst $64457127516113fc$export$ff23e6b4c4401383 = process.platform === \"darwin\";\nconst $64457127516113fc$export$175751bac16078cf = [\n \"x86\",\n \"x64\"\n];\nconst $64457127516113fc$export$da6ba390a22488d5 = [\n \"win32\",\n \"win64\"\n];\nconst $64457127516113fc$var$PYPY_VERSION_FILE = \"PYPY_VERSION\";\nfunction $64457127516113fc$export$b0a6cbd0a3e3c63a(folderPath, sourceName, targetName, setExecutable = false) {\n const sourcePath = $kC5q1$path.join(folderPath, sourceName);\n const targetPath = $kC5q1$path.join(folderPath, targetName);\n if ((0, ($parcel$interopDefault($kC5q1$fs))).existsSync(targetPath)) return;\n (0, ($parcel$interopDefault($kC5q1$fs))).symlinkSync(sourcePath, targetPath);\n if (!$64457127516113fc$export$82633ee808573685 && setExecutable) (0, ($parcel$interopDefault($kC5q1$fs))).chmodSync(targetPath, \"755\");\n}\nfunction $64457127516113fc$export$7880c8f0bb8a6afd(version) {\n return $64457127516113fc$export$ea46fc8abcf9f209(version) || Boolean($coVwk.validRange(version));\n}\nfunction $64457127516113fc$export$ea46fc8abcf9f209(pypyVersion) {\n return pypyVersion === \"nightly\";\n}\nfunction $64457127516113fc$export$8a23ea91582cecbc(installDir) {\n return $kC5q1$path.basename($kC5q1$path.dirname(installDir));\n}\nfunction $64457127516113fc$export$15e4ce4ad93c8c8a(installDir) {\n let pypyVersion = \"\";\n const fileVersion = $kC5q1$path.join(installDir, $64457127516113fc$var$PYPY_VERSION_FILE);\n if ((0, ($parcel$interopDefault($kC5q1$fs))).existsSync(fileVersion)) pypyVersion = (0, ($parcel$interopDefault($kC5q1$fs))).readFileSync(fileVersion).toString().trim();\n return pypyVersion;\n}\nfunction $64457127516113fc$export$8fb7815f538587a8(installDir, resolvedPyPyVersion) {\n const pypyFilePath = $kC5q1$path.join(installDir, $64457127516113fc$var$PYPY_VERSION_FILE);\n (0, ($parcel$interopDefault($kC5q1$fs))).writeFileSync(pypyFilePath, resolvedPyPyVersion);\n}\nfunction $64457127516113fc$export$3dc910628be7a364(version) {\n const re = /^\\d+\\.\\d+$/;\n return re.test(version);\n}\nfunction $64457127516113fc$export$ebd6064652549ce9(message) {\n const warningPrefix = \"[warning]\";\n $1o3Gj.info(`${warningPrefix}${message}`);\n}\nasync function $64457127516113fc$var$getWindowsInfo() {\n const { stdout: stdout } = await $bHzmH.getExecOutput('powershell -command \"(Get-CimInstance -ClassName Win32_OperatingSystem).Caption\"', undefined, {\n silent: true\n });\n const windowsVersion = stdout.trim().split(\" \")[3];\n return {\n osName: \"Windows\",\n osVersion: windowsVersion\n };\n}\nasync function $64457127516113fc$var$getMacOSInfo() {\n const { stdout: stdout } = await $bHzmH.getExecOutput(\"sw_vers\", [\n \"-productVersion\"\n ], {\n silent: true\n });\n const macOSVersion = stdout.trim();\n return {\n osName: \"macOS\",\n osVersion: macOSVersion\n };\n}\nasync function $64457127516113fc$export$734019fa9b4b8da() {\n const { stdout: stdout } = await $bHzmH.getExecOutput(\"lsb_release\", [\n \"-i\",\n \"-r\",\n \"-s\"\n ], {\n silent: true\n });\n const [osName, osVersion] = stdout.trim().split(\"\\n\");\n $1o3Gj.debug(`OS Name: ${osName}, Version: ${osVersion}`);\n return {\n osName: osName,\n osVersion: osVersion\n };\n}\nasync function $64457127516113fc$export$471d7e4c229dedf() {\n let osInfo;\n try {\n if ($64457127516113fc$export$82633ee808573685) osInfo = await $64457127516113fc$var$getWindowsInfo();\n else if ($64457127516113fc$export$25e95d65b6faeb9a) osInfo = await $64457127516113fc$export$734019fa9b4b8da();\n else if ($64457127516113fc$export$ff23e6b4c4401383) osInfo = await $64457127516113fc$var$getMacOSInfo();\n } catch (err) {\n const error = err;\n $1o3Gj.debug(error.message);\n } finally{\n return osInfo;\n }\n}\n/**\n * Extract a value from an object by following the keys path provided.\n * If the value is present, it is returned. Otherwise undefined is returned.\n */ function $64457127516113fc$var$extractValue(obj, keys) {\n if (keys.length > 0) {\n const value = obj[keys[0]];\n if (keys.length > 1 && value !== undefined) return $64457127516113fc$var$extractValue(value, keys.slice(1));\n else return value;\n } else return;\n}\nfunction $64457127516113fc$export$62b63db2b7d00b3a(versionFile) {\n $1o3Gj.debug(`Trying to resolve version form ${versionFile}`);\n const pyprojectFile = (0, ($parcel$interopDefault($kC5q1$fs))).readFileSync(versionFile, \"utf8\");\n const pyprojectConfig = $jyjVK.parse(pyprojectFile);\n let keys = [];\n if (\"project\" in pyprojectConfig) // standard project metadata (PEP 621)\n keys = [\n \"project\",\n \"requires-python\"\n ];\n else // python poetry\n keys = [\n \"tool\",\n \"poetry\",\n \"dependencies\",\n \"python\"\n ];\n const versions = [];\n const version = $64457127516113fc$var$extractValue(pyprojectConfig, keys);\n if (version !== undefined) versions.push(version);\n $1o3Gj.info(`Extracted ${versions} from ${versionFile}`);\n const rawVersions = Array.from(versions, (version)=>version.split(\",\").join(\" \"));\n const validatedVersions = rawVersions.map((item)=>$coVwk.validRange(item, true)).filter((versionRange, index)=>{\n if (!versionRange) $1o3Gj.debug(`The version ${rawVersions[index]} is not valid SemVer range`);\n return !!versionRange;\n });\n return validatedVersions;\n}\nfunction $64457127516113fc$export$6bdea68547837ebb(versionFile) {\n $1o3Gj.debug(`Trying to resolve version form ${versionFile}`);\n const version = (0, ($parcel$interopDefault($kC5q1$fs))).readFileSync(versionFile, \"utf8\");\n $1o3Gj.info(`Resolved ${versionFile} as ${version}`);\n return [\n version\n ];\n}\nfunction $64457127516113fc$export$7ffda0a4baa8880a(versionFile) {\n if (versionFile.endsWith(\".toml\")) return $64457127516113fc$export$62b63db2b7d00b3a(versionFile);\n else return $64457127516113fc$export$6bdea68547837ebb(versionFile);\n}\n\n});\nparcelRegister(\"jyjVK\", function(module, exports) {\n\n$parcel$export(module.exports, \"parse\", () => $e3c0a70a209b5af0$export$98e6a39c04603d36, (v) => $e3c0a70a209b5af0$export$98e6a39c04603d36 = v);\nvar $e3c0a70a209b5af0$export$98e6a39c04603d36;\nvar $e3c0a70a209b5af0$export$fac44ee5b035f737;\n\"use strict\";\n\n$e3c0a70a209b5af0$export$98e6a39c04603d36 = (parcelRequire(\"3YHpW\"));\n\n$e3c0a70a209b5af0$export$fac44ee5b035f737 = (parcelRequire(\"AMirQ\"));\n\n});\nparcelRegister(\"3YHpW\", function(module, exports) {\n\"use strict\";\n\nmodule.exports = (parcelRequire(\"4ElZQ\"));\n\nmodule.exports.async = (parcelRequire(\"cn5IV\"));\n\nmodule.exports.stream = (parcelRequire(\"6Gy5N\"));\n\nmodule.exports.prettyError = (parcelRequire(\"2Aiv1\"));\n\n});\nparcelRegister(\"4ElZQ\", function(module, exports) {\n\"use strict\";\nmodule.exports = $362bf5e305ed9455$var$parseString;\n\nvar $kdMBf = parcelRequire(\"kdMBf\");\n\nvar $2Aiv1 = parcelRequire(\"2Aiv1\");\nfunction $362bf5e305ed9455$var$parseString(str) {\n if ($parcel$global.Buffer && $parcel$global.Buffer.isBuffer(str)) str = str.toString(\"utf8\");\n const parser = new $kdMBf();\n try {\n parser.parse(str);\n return parser.finish();\n } catch (err) {\n throw $2Aiv1(err, str);\n }\n}\n\n});\nparcelRegister(\"kdMBf\", function(module, exports) {\n\"use strict\";\n\n/* eslint-disable no-new-wrappers, no-eval, camelcase, operator-linebreak */ module.exports = makeParserClass((parcelRequire(\"a18Cz\")));\nmodule.exports.makeParserClass = makeParserClass;\nclass TomlError extends Error {\n constructor(msg){\n super(msg);\n this.name = \"TomlError\";\n /* istanbul ignore next */ if (Error.captureStackTrace) Error.captureStackTrace(this, TomlError);\n this.fromTOML = true;\n this.wrapped = null;\n }\n}\nTomlError.wrap = (err)=>{\n const terr = new TomlError(err.message);\n terr.code = err.code;\n terr.wrapped = err;\n return terr;\n};\nmodule.exports.TomlError = TomlError;\n\nvar $65V8s = parcelRequire(\"65V8s\");\n\nvar $2Gq8U = parcelRequire(\"2Gq8U\");\n\nvar $ackbS = parcelRequire(\"ackbS\");\n\nvar $k3cxx = parcelRequire(\"k3cxx\");\nconst CTRL_I = 0x09;\nconst CTRL_J = 0x0A;\nconst CTRL_M = 0x0D;\nconst CTRL_CHAR_BOUNDARY = 0x1F // the last non-character in the latin1 region of unicode, except DEL\n;\nconst CHAR_SP = 0x20;\nconst CHAR_QUOT = 0x22;\nconst CHAR_NUM = 0x23;\nconst CHAR_APOS = 0x27;\nconst CHAR_PLUS = 0x2B;\nconst CHAR_COMMA = 0x2C;\nconst CHAR_HYPHEN = 0x2D;\nconst CHAR_PERIOD = 0x2E;\nconst CHAR_0 = 0x30;\nconst CHAR_1 = 0x31;\nconst CHAR_7 = 0x37;\nconst CHAR_9 = 0x39;\nconst CHAR_COLON = 0x3A;\nconst CHAR_EQUALS = 0x3D;\nconst CHAR_A = 0x41;\nconst CHAR_E = 0x45;\nconst CHAR_F = 0x46;\nconst CHAR_T = 0x54;\nconst CHAR_U = 0x55;\nconst CHAR_Z = 0x5A;\nconst CHAR_LOWBAR = 0x5F;\nconst CHAR_a = 0x61;\nconst CHAR_b = 0x62;\nconst CHAR_e = 0x65;\nconst CHAR_f = 0x66;\nconst CHAR_i = 0x69;\nconst CHAR_l = 0x6C;\nconst CHAR_n = 0x6E;\nconst CHAR_o = 0x6F;\nconst CHAR_r = 0x72;\nconst CHAR_s = 0x73;\nconst CHAR_t = 0x74;\nconst CHAR_u = 0x75;\nconst CHAR_x = 0x78;\nconst CHAR_z = 0x7A;\nconst CHAR_LCUB = 0x7B;\nconst CHAR_RCUB = 0x7D;\nconst CHAR_LSQB = 0x5B;\nconst CHAR_BSOL = 0x5C;\nconst CHAR_RSQB = 0x5D;\nconst CHAR_DEL = 0x7F;\nconst SURROGATE_FIRST = 0xD800;\nconst SURROGATE_LAST = 0xDFFF;\nconst escapes = {\n [CHAR_b]: \"\\b\",\n [CHAR_t]: \"\t\",\n [CHAR_n]: \"\\n\",\n [CHAR_f]: \"\\f\",\n [CHAR_r]: \"\\r\",\n [CHAR_QUOT]: '\"',\n [CHAR_BSOL]: \"\\\\\"\n};\nfunction isDigit(cp) {\n return cp >= CHAR_0 && cp <= CHAR_9;\n}\nfunction isHexit(cp) {\n return cp >= CHAR_A && cp <= CHAR_F || cp >= CHAR_a && cp <= CHAR_f || cp >= CHAR_0 && cp <= CHAR_9;\n}\nfunction isBit(cp) {\n return cp === CHAR_1 || cp === CHAR_0;\n}\nfunction isOctit(cp) {\n return cp >= CHAR_0 && cp <= CHAR_7;\n}\nfunction isAlphaNumQuoteHyphen(cp) {\n return cp >= CHAR_A && cp <= CHAR_Z || cp >= CHAR_a && cp <= CHAR_z || cp >= CHAR_0 && cp <= CHAR_9 || cp === CHAR_APOS || cp === CHAR_QUOT || cp === CHAR_LOWBAR || cp === CHAR_HYPHEN;\n}\nfunction isAlphaNumHyphen(cp) {\n return cp >= CHAR_A && cp <= CHAR_Z || cp >= CHAR_a && cp <= CHAR_z || cp >= CHAR_0 && cp <= CHAR_9 || cp === CHAR_LOWBAR || cp === CHAR_HYPHEN;\n}\nconst _type = Symbol(\"type\");\nconst _declared = Symbol(\"declared\");\nconst hasOwnProperty = Object.prototype.hasOwnProperty;\nconst defineProperty = Object.defineProperty;\nconst descriptor = {\n configurable: true,\n enumerable: true,\n writable: true,\n value: undefined\n};\nfunction hasKey(obj, key) {\n if (hasOwnProperty.call(obj, key)) return true;\n if (key === \"__proto__\") defineProperty(obj, \"__proto__\", descriptor);\n return false;\n}\nconst INLINE_TABLE = Symbol(\"inline-table\");\nfunction InlineTable() {\n return Object.defineProperties({}, {\n [_type]: {\n value: INLINE_TABLE\n }\n });\n}\nfunction isInlineTable(obj) {\n if (obj === null || typeof obj !== \"object\") return false;\n return obj[_type] === INLINE_TABLE;\n}\nconst TABLE = Symbol(\"table\");\nfunction Table() {\n return Object.defineProperties({}, {\n [_type]: {\n value: TABLE\n },\n [_declared]: {\n value: false,\n writable: true\n }\n });\n}\nfunction isTable(obj) {\n if (obj === null || typeof obj !== \"object\") return false;\n return obj[_type] === TABLE;\n}\nconst _contentType = Symbol(\"content-type\");\nconst INLINE_LIST = Symbol(\"inline-list\");\nfunction InlineList(type) {\n return Object.defineProperties([], {\n [_type]: {\n value: INLINE_LIST\n },\n [_contentType]: {\n value: type\n }\n });\n}\nfunction isInlineList(obj) {\n if (obj === null || typeof obj !== \"object\") return false;\n return obj[_type] === INLINE_LIST;\n}\nconst LIST = Symbol(\"list\");\nfunction List() {\n return Object.defineProperties([], {\n [_type]: {\n value: LIST\n }\n });\n}\nfunction isList(obj) {\n if (obj === null || typeof obj !== \"object\") return false;\n return obj[_type] === LIST;\n}\n// in an eval, to let bundlers not slurp in a util proxy\nlet _custom;\ntry {\n const utilInspect = eval(\"require('util').inspect\");\n _custom = utilInspect.custom;\n} catch (_) {\n/* eval require not available in transpiled bundle */ }\n/* istanbul ignore next */ const _inspect = _custom || \"inspect\";\nclass BoxedBigInt {\n constructor(value){\n try {\n this.value = $parcel$global.BigInt.asIntN(64, value);\n } catch (_) {\n /* istanbul ignore next */ this.value = null;\n }\n Object.defineProperty(this, _type, {\n value: INTEGER\n });\n }\n isNaN() {\n return this.value === null;\n }\n /* istanbul ignore next */ toString() {\n return String(this.value);\n }\n /* istanbul ignore next */ [_inspect]() {\n return `[BigInt: ${this.toString()}]}`;\n }\n valueOf() {\n return this.value;\n }\n}\nconst INTEGER = Symbol(\"integer\");\nfunction Integer(value) {\n let num = Number(value);\n // -0 is a float thing, not an int thing\n if (Object.is(num, -0)) num = 0;\n /* istanbul ignore else */ if ($parcel$global.BigInt && !Number.isSafeInteger(num)) return new BoxedBigInt(value);\n else /* istanbul ignore next */ return Object.defineProperties(new Number(num), {\n isNaN: {\n value: function() {\n return isNaN(this);\n }\n },\n [_type]: {\n value: INTEGER\n },\n [_inspect]: {\n value: ()=>`[Integer: ${value}]`\n }\n });\n}\nfunction isInteger(obj) {\n if (obj === null || typeof obj !== \"object\") return false;\n return obj[_type] === INTEGER;\n}\nconst FLOAT = Symbol(\"float\");\nfunction Float(value) {\n /* istanbul ignore next */ return Object.defineProperties(new Number(value), {\n [_type]: {\n value: FLOAT\n },\n [_inspect]: {\n value: ()=>`[Float: ${value}]`\n }\n });\n}\nfunction isFloat(obj) {\n if (obj === null || typeof obj !== \"object\") return false;\n return obj[_type] === FLOAT;\n}\nfunction tomlType(value) {\n const type = typeof value;\n if (type === \"object\") {\n /* istanbul ignore if */ if (value === null) return \"null\";\n if (value instanceof Date) return \"datetime\";\n /* istanbul ignore else */ if (_type in value) switch(value[_type]){\n case INLINE_TABLE:\n return \"inline-table\";\n case INLINE_LIST:\n return \"inline-list\";\n /* istanbul ignore next */ case TABLE:\n return \"table\";\n /* istanbul ignore next */ case LIST:\n return \"list\";\n case FLOAT:\n return \"float\";\n case INTEGER:\n return \"integer\";\n }\n }\n return type;\n}\nfunction makeParserClass(Parser) {\n class TOMLParser extends Parser {\n constructor(){\n super();\n this.ctx = this.obj = Table();\n }\n /* MATCH HELPER */ atEndOfWord() {\n return this.char === CHAR_NUM || this.char === CTRL_I || this.char === CHAR_SP || this.atEndOfLine();\n }\n atEndOfLine() {\n return this.char === Parser.END || this.char === CTRL_J || this.char === CTRL_M;\n }\n parseStart() {\n if (this.char === Parser.END) return null;\n else if (this.char === CHAR_LSQB) return this.call(this.parseTableOrList);\n else if (this.char === CHAR_NUM) return this.call(this.parseComment);\n else if (this.char === CTRL_J || this.char === CHAR_SP || this.char === CTRL_I || this.char === CTRL_M) return null;\n else if (isAlphaNumQuoteHyphen(this.char)) return this.callNow(this.parseAssignStatement);\n else throw this.error(new TomlError(`Unknown character \"${this.char}\"`));\n }\n // HELPER, this strips any whitespace and comments to the end of the line\n // then RETURNS. Last state in a production.\n parseWhitespaceToEOL() {\n if (this.char === CHAR_SP || this.char === CTRL_I || this.char === CTRL_M) return null;\n else if (this.char === CHAR_NUM) return this.goto(this.parseComment);\n else if (this.char === Parser.END || this.char === CTRL_J) return this.return();\n else throw this.error(new TomlError(\"Unexpected character, expected only whitespace or comments till end of line\"));\n }\n /* ASSIGNMENT: key = value */ parseAssignStatement() {\n return this.callNow(this.parseAssign, this.recordAssignStatement);\n }\n recordAssignStatement(kv) {\n let target = this.ctx;\n let finalKey = kv.key.pop();\n for (let kw of kv.key){\n if (hasKey(target, kw) && (!isTable(target[kw]) || target[kw][_declared])) throw this.error(new TomlError(\"Can't redefine existing key\"));\n target = target[kw] = target[kw] || Table();\n }\n if (hasKey(target, finalKey)) throw this.error(new TomlError(\"Can't redefine existing key\"));\n // unbox our numbers\n if (isInteger(kv.value) || isFloat(kv.value)) target[finalKey] = kv.value.valueOf();\n else target[finalKey] = kv.value;\n return this.goto(this.parseWhitespaceToEOL);\n }\n /* ASSSIGNMENT expression, key = value possibly inside an inline table */ parseAssign() {\n return this.callNow(this.parseKeyword, this.recordAssignKeyword);\n }\n recordAssignKeyword(key) {\n if (this.state.resultTable) this.state.resultTable.push(key);\n else this.state.resultTable = [\n key\n ];\n return this.goto(this.parseAssignKeywordPreDot);\n }\n parseAssignKeywordPreDot() {\n if (this.char === CHAR_PERIOD) return this.next(this.parseAssignKeywordPostDot);\n else if (this.char !== CHAR_SP && this.char !== CTRL_I) return this.goto(this.parseAssignEqual);\n }\n parseAssignKeywordPostDot() {\n if (this.char !== CHAR_SP && this.char !== CTRL_I) return this.callNow(this.parseKeyword, this.recordAssignKeyword);\n }\n parseAssignEqual() {\n if (this.char === CHAR_EQUALS) return this.next(this.parseAssignPreValue);\n else throw this.error(new TomlError('Invalid character, expected \"=\"'));\n }\n parseAssignPreValue() {\n if (this.char === CHAR_SP || this.char === CTRL_I) return null;\n else return this.callNow(this.parseValue, this.recordAssignValue);\n }\n recordAssignValue(value) {\n return this.returnNow({\n key: this.state.resultTable,\n value: value\n });\n }\n /* COMMENTS: #...eol */ parseComment() {\n do {\n if (this.char === Parser.END || this.char === CTRL_J) return this.return();\n }while (this.nextChar());\n }\n /* TABLES AND LISTS, [foo] and [[foo]] */ parseTableOrList() {\n if (this.char === CHAR_LSQB) this.next(this.parseList);\n else return this.goto(this.parseTable);\n }\n /* TABLE [foo.bar.baz] */ parseTable() {\n this.ctx = this.obj;\n return this.goto(this.parseTableNext);\n }\n parseTableNext() {\n if (this.char === CHAR_SP || this.char === CTRL_I) return null;\n else return this.callNow(this.parseKeyword, this.parseTableMore);\n }\n parseTableMore(keyword) {\n if (this.char === CHAR_SP || this.char === CTRL_I) return null;\n else if (this.char === CHAR_RSQB) {\n if (hasKey(this.ctx, keyword) && (!isTable(this.ctx[keyword]) || this.ctx[keyword][_declared])) throw this.error(new TomlError(\"Can't redefine existing key\"));\n else {\n this.ctx = this.ctx[keyword] = this.ctx[keyword] || Table();\n this.ctx[_declared] = true;\n }\n return this.next(this.parseWhitespaceToEOL);\n } else if (this.char === CHAR_PERIOD) {\n if (!hasKey(this.ctx, keyword)) this.ctx = this.ctx[keyword] = Table();\n else if (isTable(this.ctx[keyword])) this.ctx = this.ctx[keyword];\n else if (isList(this.ctx[keyword])) this.ctx = this.ctx[keyword][this.ctx[keyword].length - 1];\n else throw this.error(new TomlError(\"Can't redefine existing key\"));\n return this.next(this.parseTableNext);\n } else throw this.error(new TomlError(\"Unexpected character, expected whitespace, . or ]\"));\n }\n /* LIST [[a.b.c]] */ parseList() {\n this.ctx = this.obj;\n return this.goto(this.parseListNext);\n }\n parseListNext() {\n if (this.char === CHAR_SP || this.char === CTRL_I) return null;\n else return this.callNow(this.parseKeyword, this.parseListMore);\n }\n parseListMore(keyword) {\n if (this.char === CHAR_SP || this.char === CTRL_I) return null;\n else if (this.char === CHAR_RSQB) {\n if (!hasKey(this.ctx, keyword)) this.ctx[keyword] = List();\n if (isInlineList(this.ctx[keyword])) throw this.error(new TomlError(\"Can't extend an inline array\"));\n else if (isList(this.ctx[keyword])) {\n const next = Table();\n this.ctx[keyword].push(next);\n this.ctx = next;\n } else throw this.error(new TomlError(\"Can't redefine an existing key\"));\n return this.next(this.parseListEnd);\n } else if (this.char === CHAR_PERIOD) {\n if (!hasKey(this.ctx, keyword)) this.ctx = this.ctx[keyword] = Table();\n else if (isInlineList(this.ctx[keyword])) throw this.error(new TomlError(\"Can't extend an inline array\"));\n else if (isInlineTable(this.ctx[keyword])) throw this.error(new TomlError(\"Can't extend an inline table\"));\n else if (isList(this.ctx[keyword])) this.ctx = this.ctx[keyword][this.ctx[keyword].length - 1];\n else if (isTable(this.ctx[keyword])) this.ctx = this.ctx[keyword];\n else throw this.error(new TomlError(\"Can't redefine an existing key\"));\n return this.next(this.parseListNext);\n } else throw this.error(new TomlError(\"Unexpected character, expected whitespace, . or ]\"));\n }\n parseListEnd(keyword) {\n if (this.char === CHAR_RSQB) return this.next(this.parseWhitespaceToEOL);\n else throw this.error(new TomlError(\"Unexpected character, expected whitespace, . or ]\"));\n }\n /* VALUE string, number, boolean, inline list, inline object */ parseValue() {\n if (this.char === Parser.END) throw this.error(new TomlError(\"Key without value\"));\n else if (this.char === CHAR_QUOT) return this.next(this.parseDoubleString);\n if (this.char === CHAR_APOS) return this.next(this.parseSingleString);\n else if (this.char === CHAR_HYPHEN || this.char === CHAR_PLUS) return this.goto(this.parseNumberSign);\n else if (this.char === CHAR_i) return this.next(this.parseInf);\n else if (this.char === CHAR_n) return this.next(this.parseNan);\n else if (isDigit(this.char)) return this.goto(this.parseNumberOrDateTime);\n else if (this.char === CHAR_t || this.char === CHAR_f) return this.goto(this.parseBoolean);\n else if (this.char === CHAR_LSQB) return this.call(this.parseInlineList, this.recordValue);\n else if (this.char === CHAR_LCUB) return this.call(this.parseInlineTable, this.recordValue);\n else throw this.error(new TomlError(\"Unexpected character, expecting string, number, datetime, boolean, inline array or inline table\"));\n }\n recordValue(value) {\n return this.returnNow(value);\n }\n parseInf() {\n if (this.char === CHAR_n) return this.next(this.parseInf2);\n else throw this.error(new TomlError('Unexpected character, expected \"inf\", \"+inf\" or \"-inf\"'));\n }\n parseInf2() {\n if (this.char === CHAR_f) {\n if (this.state.buf === \"-\") return this.return(-Infinity);\n else return this.return(Infinity);\n } else throw this.error(new TomlError('Unexpected character, expected \"inf\", \"+inf\" or \"-inf\"'));\n }\n parseNan() {\n if (this.char === CHAR_a) return this.next(this.parseNan2);\n else throw this.error(new TomlError('Unexpected character, expected \"nan\"'));\n }\n parseNan2() {\n if (this.char === CHAR_n) return this.return(NaN);\n else throw this.error(new TomlError('Unexpected character, expected \"nan\"'));\n }\n /* KEYS, barewords or basic, literal, or dotted */ parseKeyword() {\n if (this.char === CHAR_QUOT) return this.next(this.parseBasicString);\n else if (this.char === CHAR_APOS) return this.next(this.parseLiteralString);\n else return this.goto(this.parseBareKey);\n }\n /* KEYS: barewords */ parseBareKey() {\n do {\n if (this.char === Parser.END) throw this.error(new TomlError(\"Key ended without value\"));\n else if (isAlphaNumHyphen(this.char)) this.consume();\n else if (this.state.buf.length === 0) throw this.error(new TomlError(\"Empty bare keys are not allowed\"));\n else return this.returnNow();\n }while (this.nextChar());\n }\n /* STRINGS, single quoted (literal) */ parseSingleString() {\n if (this.char === CHAR_APOS) return this.next(this.parseLiteralMultiStringMaybe);\n else return this.goto(this.parseLiteralString);\n }\n parseLiteralString() {\n do {\n if (this.char === CHAR_APOS) return this.return();\n else if (this.atEndOfLine()) throw this.error(new TomlError(\"Unterminated string\"));\n else if (this.char === CHAR_DEL || this.char <= CTRL_CHAR_BOUNDARY && this.char !== CTRL_I) throw this.errorControlCharInString();\n else this.consume();\n }while (this.nextChar());\n }\n parseLiteralMultiStringMaybe() {\n if (this.char === CHAR_APOS) return this.next(this.parseLiteralMultiString);\n else return this.returnNow();\n }\n parseLiteralMultiString() {\n if (this.char === CTRL_M) return null;\n else if (this.char === CTRL_J) return this.next(this.parseLiteralMultiStringContent);\n else return this.goto(this.parseLiteralMultiStringContent);\n }\n parseLiteralMultiStringContent() {\n do {\n if (this.char === CHAR_APOS) return this.next(this.parseLiteralMultiEnd);\n else if (this.char === Parser.END) throw this.error(new TomlError(\"Unterminated multi-line string\"));\n else if (this.char === CHAR_DEL || this.char <= CTRL_CHAR_BOUNDARY && this.char !== CTRL_I && this.char !== CTRL_J && this.char !== CTRL_M) throw this.errorControlCharInString();\n else this.consume();\n }while (this.nextChar());\n }\n parseLiteralMultiEnd() {\n if (this.char === CHAR_APOS) return this.next(this.parseLiteralMultiEnd2);\n else {\n this.state.buf += \"'\";\n return this.goto(this.parseLiteralMultiStringContent);\n }\n }\n parseLiteralMultiEnd2() {\n if (this.char === CHAR_APOS) return this.return();\n else {\n this.state.buf += \"''\";\n return this.goto(this.parseLiteralMultiStringContent);\n }\n }\n /* STRINGS double quoted */ parseDoubleString() {\n if (this.char === CHAR_QUOT) return this.next(this.parseMultiStringMaybe);\n else return this.goto(this.parseBasicString);\n }\n parseBasicString() {\n do {\n if (this.char === CHAR_BSOL) return this.call(this.parseEscape, this.recordEscapeReplacement);\n else if (this.char === CHAR_QUOT) return this.return();\n else if (this.atEndOfLine()) throw this.error(new TomlError(\"Unterminated string\"));\n else if (this.char === CHAR_DEL || this.char <= CTRL_CHAR_BOUNDARY && this.char !== CTRL_I) throw this.errorControlCharInString();\n else this.consume();\n }while (this.nextChar());\n }\n recordEscapeReplacement(replacement) {\n this.state.buf += replacement;\n return this.goto(this.parseBasicString);\n }\n parseMultiStringMaybe() {\n if (this.char === CHAR_QUOT) return this.next(this.parseMultiString);\n else return this.returnNow();\n }\n parseMultiString() {\n if (this.char === CTRL_M) return null;\n else if (this.char === CTRL_J) return this.next(this.parseMultiStringContent);\n else return this.goto(this.parseMultiStringContent);\n }\n parseMultiStringContent() {\n do {\n if (this.char === CHAR_BSOL) return this.call(this.parseMultiEscape, this.recordMultiEscapeReplacement);\n else if (this.char === CHAR_QUOT) return this.next(this.parseMultiEnd);\n else if (this.char === Parser.END) throw this.error(new TomlError(\"Unterminated multi-line string\"));\n else if (this.char === CHAR_DEL || this.char <= CTRL_CHAR_BOUNDARY && this.char !== CTRL_I && this.char !== CTRL_J && this.char !== CTRL_M) throw this.errorControlCharInString();\n else this.consume();\n }while (this.nextChar());\n }\n errorControlCharInString() {\n let displayCode = \"\\\\u00\";\n if (this.char < 16) displayCode += \"0\";\n displayCode += this.char.toString(16);\n return this.error(new TomlError(`Control characters (codes < 0x1f and 0x7f) are not allowed in strings, use ${displayCode} instead`));\n }\n recordMultiEscapeReplacement(replacement) {\n this.state.buf += replacement;\n return this.goto(this.parseMultiStringContent);\n }\n parseMultiEnd() {\n if (this.char === CHAR_QUOT) return this.next(this.parseMultiEnd2);\n else {\n this.state.buf += '\"';\n return this.goto(this.parseMultiStringContent);\n }\n }\n parseMultiEnd2() {\n if (this.char === CHAR_QUOT) return this.return();\n else {\n this.state.buf += '\"\"';\n return this.goto(this.parseMultiStringContent);\n }\n }\n parseMultiEscape() {\n if (this.char === CTRL_M || this.char === CTRL_J) return this.next(this.parseMultiTrim);\n else if (this.char === CHAR_SP || this.char === CTRL_I) return this.next(this.parsePreMultiTrim);\n else return this.goto(this.parseEscape);\n }\n parsePreMultiTrim() {\n if (this.char === CHAR_SP || this.char === CTRL_I) return null;\n else if (this.char === CTRL_M || this.char === CTRL_J) return this.next(this.parseMultiTrim);\n else throw this.error(new TomlError(\"Can't escape whitespace\"));\n }\n parseMultiTrim() {\n // explicitly whitespace here, END should follow the same path as chars\n if (this.char === CTRL_J || this.char === CHAR_SP || this.char === CTRL_I || this.char === CTRL_M) return null;\n else return this.returnNow();\n }\n parseEscape() {\n if (this.char in escapes) return this.return(escapes[this.char]);\n else if (this.char === CHAR_u) return this.call(this.parseSmallUnicode, this.parseUnicodeReturn);\n else if (this.char === CHAR_U) return this.call(this.parseLargeUnicode, this.parseUnicodeReturn);\n else throw this.error(new TomlError(\"Unknown escape character: \" + this.char));\n }\n parseUnicodeReturn(char) {\n try {\n const codePoint = parseInt(char, 16);\n if (codePoint >= SURROGATE_FIRST && codePoint <= SURROGATE_LAST) throw this.error(new TomlError(\"Invalid unicode, character in range 0xD800 - 0xDFFF is reserved\"));\n return this.returnNow(String.fromCodePoint(codePoint));\n } catch (err) {\n throw this.error(TomlError.wrap(err));\n }\n }\n parseSmallUnicode() {\n if (!isHexit(this.char)) throw this.error(new TomlError(\"Invalid character in unicode sequence, expected hex\"));\n else {\n this.consume();\n if (this.state.buf.length >= 4) return this.return();\n }\n }\n parseLargeUnicode() {\n if (!isHexit(this.char)) throw this.error(new TomlError(\"Invalid character in unicode sequence, expected hex\"));\n else {\n this.consume();\n if (this.state.buf.length >= 8) return this.return();\n }\n }\n /* NUMBERS */ parseNumberSign() {\n this.consume();\n return this.next(this.parseMaybeSignedInfOrNan);\n }\n parseMaybeSignedInfOrNan() {\n if (this.char === CHAR_i) return this.next(this.parseInf);\n else if (this.char === CHAR_n) return this.next(this.parseNan);\n else return this.callNow(this.parseNoUnder, this.parseNumberIntegerStart);\n }\n parseNumberIntegerStart() {\n if (this.char === CHAR_0) {\n this.consume();\n return this.next(this.parseNumberIntegerExponentOrDecimal);\n } else return this.goto(this.parseNumberInteger);\n }\n parseNumberIntegerExponentOrDecimal() {\n if (this.char === CHAR_PERIOD) {\n this.consume();\n return this.call(this.parseNoUnder, this.parseNumberFloat);\n } else if (this.char === CHAR_E || this.char === CHAR_e) {\n this.consume();\n return this.next(this.parseNumberExponentSign);\n } else return this.returnNow(Integer(this.state.buf));\n }\n parseNumberInteger() {\n if (isDigit(this.char)) this.consume();\n else if (this.char === CHAR_LOWBAR) return this.call(this.parseNoUnder);\n else if (this.char === CHAR_E || this.char === CHAR_e) {\n this.consume();\n return this.next(this.parseNumberExponentSign);\n } else if (this.char === CHAR_PERIOD) {\n this.consume();\n return this.call(this.parseNoUnder, this.parseNumberFloat);\n } else {\n const result = Integer(this.state.buf);\n /* istanbul ignore if */ if (result.isNaN()) throw this.error(new TomlError(\"Invalid number\"));\n else return this.returnNow(result);\n }\n }\n parseNoUnder() {\n if (this.char === CHAR_LOWBAR || this.char === CHAR_PERIOD || this.char === CHAR_E || this.char === CHAR_e) throw this.error(new TomlError(\"Unexpected character, expected digit\"));\n else if (this.atEndOfWord()) throw this.error(new TomlError(\"Incomplete number\"));\n return this.returnNow();\n }\n parseNoUnderHexOctBinLiteral() {\n if (this.char === CHAR_LOWBAR || this.char === CHAR_PERIOD) throw this.error(new TomlError(\"Unexpected character, expected digit\"));\n else if (this.atEndOfWord()) throw this.error(new TomlError(\"Incomplete number\"));\n return this.returnNow();\n }\n parseNumberFloat() {\n if (this.char === CHAR_LOWBAR) return this.call(this.parseNoUnder, this.parseNumberFloat);\n else if (isDigit(this.char)) this.consume();\n else if (this.char === CHAR_E || this.char === CHAR_e) {\n this.consume();\n return this.next(this.parseNumberExponentSign);\n } else return this.returnNow(Float(this.state.buf));\n }\n parseNumberExponentSign() {\n if (isDigit(this.char)) return this.goto(this.parseNumberExponent);\n else if (this.char === CHAR_HYPHEN || this.char === CHAR_PLUS) {\n this.consume();\n this.call(this.parseNoUnder, this.parseNumberExponent);\n } else throw this.error(new TomlError(\"Unexpected character, expected -, + or digit\"));\n }\n parseNumberExponent() {\n if (isDigit(this.char)) this.consume();\n else if (this.char === CHAR_LOWBAR) return this.call(this.parseNoUnder);\n else return this.returnNow(Float(this.state.buf));\n }\n /* NUMBERS or DATETIMES */ parseNumberOrDateTime() {\n if (this.char === CHAR_0) {\n this.consume();\n return this.next(this.parseNumberBaseOrDateTime);\n } else return this.goto(this.parseNumberOrDateTimeOnly);\n }\n parseNumberOrDateTimeOnly() {\n // note, if two zeros are in a row then it MUST be a date\n if (this.char === CHAR_LOWBAR) return this.call(this.parseNoUnder, this.parseNumberInteger);\n else if (isDigit(this.char)) {\n this.consume();\n if (this.state.buf.length > 4) this.next(this.parseNumberInteger);\n } else if (this.char === CHAR_E || this.char === CHAR_e) {\n this.consume();\n return this.next(this.parseNumberExponentSign);\n } else if (this.char === CHAR_PERIOD) {\n this.consume();\n return this.call(this.parseNoUnder, this.parseNumberFloat);\n } else if (this.char === CHAR_HYPHEN) return this.goto(this.parseDateTime);\n else if (this.char === CHAR_COLON) return this.goto(this.parseOnlyTimeHour);\n else return this.returnNow(Integer(this.state.buf));\n }\n parseDateTimeOnly() {\n if (this.state.buf.length < 4) {\n if (isDigit(this.char)) return this.consume();\n else if (this.char === CHAR_COLON) return this.goto(this.parseOnlyTimeHour);\n else throw this.error(new TomlError(\"Expected digit while parsing year part of a date\"));\n } else {\n if (this.char === CHAR_HYPHEN) return this.goto(this.parseDateTime);\n else throw this.error(new TomlError(\"Expected hyphen (-) while parsing year part of date\"));\n }\n }\n parseNumberBaseOrDateTime() {\n if (this.char === CHAR_b) {\n this.consume();\n return this.call(this.parseNoUnderHexOctBinLiteral, this.parseIntegerBin);\n } else if (this.char === CHAR_o) {\n this.consume();\n return this.call(this.parseNoUnderHexOctBinLiteral, this.parseIntegerOct);\n } else if (this.char === CHAR_x) {\n this.consume();\n return this.call(this.parseNoUnderHexOctBinLiteral, this.parseIntegerHex);\n } else if (this.char === CHAR_PERIOD) return this.goto(this.parseNumberInteger);\n else if (isDigit(this.char)) return this.goto(this.parseDateTimeOnly);\n else return this.returnNow(Integer(this.state.buf));\n }\n parseIntegerHex() {\n if (isHexit(this.char)) this.consume();\n else if (this.char === CHAR_LOWBAR) return this.call(this.parseNoUnderHexOctBinLiteral);\n else {\n const result = Integer(this.state.buf);\n /* istanbul ignore if */ if (result.isNaN()) throw this.error(new TomlError(\"Invalid number\"));\n else return this.returnNow(result);\n }\n }\n parseIntegerOct() {\n if (isOctit(this.char)) this.consume();\n else if (this.char === CHAR_LOWBAR) return this.call(this.parseNoUnderHexOctBinLiteral);\n else {\n const result = Integer(this.state.buf);\n /* istanbul ignore if */ if (result.isNaN()) throw this.error(new TomlError(\"Invalid number\"));\n else return this.returnNow(result);\n }\n }\n parseIntegerBin() {\n if (isBit(this.char)) this.consume();\n else if (this.char === CHAR_LOWBAR) return this.call(this.parseNoUnderHexOctBinLiteral);\n else {\n const result = Integer(this.state.buf);\n /* istanbul ignore if */ if (result.isNaN()) throw this.error(new TomlError(\"Invalid number\"));\n else return this.returnNow(result);\n }\n }\n /* DATETIME */ parseDateTime() {\n // we enter here having just consumed the year and about to consume the hyphen\n if (this.state.buf.length < 4) throw this.error(new TomlError(\"Years less than 1000 must be zero padded to four characters\"));\n this.state.result = this.state.buf;\n this.state.buf = \"\";\n return this.next(this.parseDateMonth);\n }\n parseDateMonth() {\n if (this.char === CHAR_HYPHEN) {\n if (this.state.buf.length < 2) throw this.error(new TomlError(\"Months less than 10 must be zero padded to two characters\"));\n this.state.result += \"-\" + this.state.buf;\n this.state.buf = \"\";\n return this.next(this.parseDateDay);\n } else if (isDigit(this.char)) this.consume();\n else throw this.error(new TomlError(\"Incomplete datetime\"));\n }\n parseDateDay() {\n if (this.char === CHAR_T || this.char === CHAR_SP) {\n if (this.state.buf.length < 2) throw this.error(new TomlError(\"Days less than 10 must be zero padded to two characters\"));\n this.state.result += \"-\" + this.state.buf;\n this.state.buf = \"\";\n return this.next(this.parseStartTimeHour);\n } else if (this.atEndOfWord()) return this.returnNow($ackbS(this.state.result + \"-\" + this.state.buf));\n else if (isDigit(this.char)) this.consume();\n else throw this.error(new TomlError(\"Incomplete datetime\"));\n }\n parseStartTimeHour() {\n if (this.atEndOfWord()) return this.returnNow($ackbS(this.state.result));\n else return this.goto(this.parseTimeHour);\n }\n parseTimeHour() {\n if (this.char === CHAR_COLON) {\n if (this.state.buf.length < 2) throw this.error(new TomlError(\"Hours less than 10 must be zero padded to two characters\"));\n this.state.result += \"T\" + this.state.buf;\n this.state.buf = \"\";\n return this.next(this.parseTimeMin);\n } else if (isDigit(this.char)) this.consume();\n else throw this.error(new TomlError(\"Incomplete datetime\"));\n }\n parseTimeMin() {\n if (this.state.buf.length < 2 && isDigit(this.char)) this.consume();\n else if (this.state.buf.length === 2 && this.char === CHAR_COLON) {\n this.state.result += \":\" + this.state.buf;\n this.state.buf = \"\";\n return this.next(this.parseTimeSec);\n } else throw this.error(new TomlError(\"Incomplete datetime\"));\n }\n parseTimeSec() {\n if (isDigit(this.char)) {\n this.consume();\n if (this.state.buf.length === 2) {\n this.state.result += \":\" + this.state.buf;\n this.state.buf = \"\";\n return this.next(this.parseTimeZoneOrFraction);\n }\n } else throw this.error(new TomlError(\"Incomplete datetime\"));\n }\n parseOnlyTimeHour() {\n /* istanbul ignore else */ if (this.char === CHAR_COLON) {\n if (this.state.buf.length < 2) throw this.error(new TomlError(\"Hours less than 10 must be zero padded to two characters\"));\n this.state.result = this.state.buf;\n this.state.buf = \"\";\n return this.next(this.parseOnlyTimeMin);\n } else throw this.error(new TomlError(\"Incomplete time\"));\n }\n parseOnlyTimeMin() {\n if (this.state.buf.length < 2 && isDigit(this.char)) this.consume();\n else if (this.state.buf.length === 2 && this.char === CHAR_COLON) {\n this.state.result += \":\" + this.state.buf;\n this.state.buf = \"\";\n return this.next(this.parseOnlyTimeSec);\n } else throw this.error(new TomlError(\"Incomplete time\"));\n }\n parseOnlyTimeSec() {\n if (isDigit(this.char)) {\n this.consume();\n if (this.state.buf.length === 2) return this.next(this.parseOnlyTimeFractionMaybe);\n } else throw this.error(new TomlError(\"Incomplete time\"));\n }\n parseOnlyTimeFractionMaybe() {\n this.state.result += \":\" + this.state.buf;\n if (this.char === CHAR_PERIOD) {\n this.state.buf = \"\";\n this.next(this.parseOnlyTimeFraction);\n } else return this.return($k3cxx(this.state.result));\n }\n parseOnlyTimeFraction() {\n if (isDigit(this.char)) this.consume();\n else if (this.atEndOfWord()) {\n if (this.state.buf.length === 0) throw this.error(new TomlError(\"Expected digit in milliseconds\"));\n return this.returnNow($k3cxx(this.state.result + \".\" + this.state.buf));\n } else throw this.error(new TomlError(\"Unexpected character in datetime, expected period (.), minus (-), plus (+) or Z\"));\n }\n parseTimeZoneOrFraction() {\n if (this.char === CHAR_PERIOD) {\n this.consume();\n this.next(this.parseDateTimeFraction);\n } else if (this.char === CHAR_HYPHEN || this.char === CHAR_PLUS) {\n this.consume();\n this.next(this.parseTimeZoneHour);\n } else if (this.char === CHAR_Z) {\n this.consume();\n return this.return($65V8s(this.state.result + this.state.buf));\n } else if (this.atEndOfWord()) return this.returnNow($2Gq8U(this.state.result + this.state.buf));\n else throw this.error(new TomlError(\"Unexpected character in datetime, expected period (.), minus (-), plus (+) or Z\"));\n }\n parseDateTimeFraction() {\n if (isDigit(this.char)) this.consume();\n else if (this.state.buf.length === 1) throw this.error(new TomlError(\"Expected digit in milliseconds\"));\n else if (this.char === CHAR_HYPHEN || this.char === CHAR_PLUS) {\n this.consume();\n this.next(this.parseTimeZoneHour);\n } else if (this.char === CHAR_Z) {\n this.consume();\n return this.return($65V8s(this.state.result + this.state.buf));\n } else if (this.atEndOfWord()) return this.returnNow($2Gq8U(this.state.result + this.state.buf));\n else throw this.error(new TomlError(\"Unexpected character in datetime, expected period (.), minus (-), plus (+) or Z\"));\n }\n parseTimeZoneHour() {\n if (isDigit(this.char)) {\n this.consume();\n // FIXME: No more regexps\n if (/\\d\\d$/.test(this.state.buf)) return this.next(this.parseTimeZoneSep);\n } else throw this.error(new TomlError(\"Unexpected character in datetime, expected digit\"));\n }\n parseTimeZoneSep() {\n if (this.char === CHAR_COLON) {\n this.consume();\n this.next(this.parseTimeZoneMin);\n } else throw this.error(new TomlError(\"Unexpected character in datetime, expected colon\"));\n }\n parseTimeZoneMin() {\n if (isDigit(this.char)) {\n this.consume();\n if (/\\d\\d$/.test(this.state.buf)) return this.return($65V8s(this.state.result + this.state.buf));\n } else throw this.error(new TomlError(\"Unexpected character in datetime, expected digit\"));\n }\n /* BOOLEAN */ parseBoolean() {\n /* istanbul ignore else */ if (this.char === CHAR_t) {\n this.consume();\n return this.next(this.parseTrue_r);\n } else if (this.char === CHAR_f) {\n this.consume();\n return this.next(this.parseFalse_a);\n }\n }\n parseTrue_r() {\n if (this.char === CHAR_r) {\n this.consume();\n return this.next(this.parseTrue_u);\n } else throw this.error(new TomlError(\"Invalid boolean, expected true or false\"));\n }\n parseTrue_u() {\n if (this.char === CHAR_u) {\n this.consume();\n return this.next(this.parseTrue_e);\n } else throw this.error(new TomlError(\"Invalid boolean, expected true or false\"));\n }\n parseTrue_e() {\n if (this.char === CHAR_e) return this.return(true);\n else throw this.error(new TomlError(\"Invalid boolean, expected true or false\"));\n }\n parseFalse_a() {\n if (this.char === CHAR_a) {\n this.consume();\n return this.next(this.parseFalse_l);\n } else throw this.error(new TomlError(\"Invalid boolean, expected true or false\"));\n }\n parseFalse_l() {\n if (this.char === CHAR_l) {\n this.consume();\n return this.next(this.parseFalse_s);\n } else throw this.error(new TomlError(\"Invalid boolean, expected true or false\"));\n }\n parseFalse_s() {\n if (this.char === CHAR_s) {\n this.consume();\n return this.next(this.parseFalse_e);\n } else throw this.error(new TomlError(\"Invalid boolean, expected true or false\"));\n }\n parseFalse_e() {\n if (this.char === CHAR_e) return this.return(false);\n else throw this.error(new TomlError(\"Invalid boolean, expected true or false\"));\n }\n /* INLINE LISTS */ parseInlineList() {\n if (this.char === CHAR_SP || this.char === CTRL_I || this.char === CTRL_M || this.char === CTRL_J) return null;\n else if (this.char === Parser.END) throw this.error(new TomlError(\"Unterminated inline array\"));\n else if (this.char === CHAR_NUM) return this.call(this.parseComment);\n else if (this.char === CHAR_RSQB) return this.return(this.state.resultArr || InlineList());\n else return this.callNow(this.parseValue, this.recordInlineListValue);\n }\n recordInlineListValue(value) {\n if (this.state.resultArr) {\n const listType = this.state.resultArr[_contentType];\n const valueType = tomlType(value);\n if (listType !== valueType) throw this.error(new TomlError(`Inline lists must be a single type, not a mix of ${listType} and ${valueType}`));\n } else this.state.resultArr = InlineList(tomlType(value));\n if (isFloat(value) || isInteger(value)) // unbox now that we've verified they're ok\n this.state.resultArr.push(value.valueOf());\n else this.state.resultArr.push(value);\n return this.goto(this.parseInlineListNext);\n }\n parseInlineListNext() {\n if (this.char === CHAR_SP || this.char === CTRL_I || this.char === CTRL_M || this.char === CTRL_J) return null;\n else if (this.char === CHAR_NUM) return this.call(this.parseComment);\n else if (this.char === CHAR_COMMA) return this.next(this.parseInlineList);\n else if (this.char === CHAR_RSQB) return this.goto(this.parseInlineList);\n else throw this.error(new TomlError(\"Invalid character, expected whitespace, comma (,) or close bracket (])\"));\n }\n /* INLINE TABLE */ parseInlineTable() {\n if (this.char === CHAR_SP || this.char === CTRL_I) return null;\n else if (this.char === Parser.END || this.char === CHAR_NUM || this.char === CTRL_J || this.char === CTRL_M) throw this.error(new TomlError(\"Unterminated inline array\"));\n else if (this.char === CHAR_RCUB) return this.return(this.state.resultTable || InlineTable());\n else {\n if (!this.state.resultTable) this.state.resultTable = InlineTable();\n return this.callNow(this.parseAssign, this.recordInlineTableValue);\n }\n }\n recordInlineTableValue(kv) {\n let target = this.state.resultTable;\n let finalKey = kv.key.pop();\n for (let kw of kv.key){\n if (hasKey(target, kw) && (!isTable(target[kw]) || target[kw][_declared])) throw this.error(new TomlError(\"Can't redefine existing key\"));\n target = target[kw] = target[kw] || Table();\n }\n if (hasKey(target, finalKey)) throw this.error(new TomlError(\"Can't redefine existing key\"));\n if (isInteger(kv.value) || isFloat(kv.value)) target[finalKey] = kv.value.valueOf();\n else target[finalKey] = kv.value;\n return this.goto(this.parseInlineTableNext);\n }\n parseInlineTableNext() {\n if (this.char === CHAR_SP || this.char === CTRL_I) return null;\n else if (this.char === Parser.END || this.char === CHAR_NUM || this.char === CTRL_J || this.char === CTRL_M) throw this.error(new TomlError(\"Unterminated inline array\"));\n else if (this.char === CHAR_COMMA) return this.next(this.parseInlineTable);\n else if (this.char === CHAR_RCUB) return this.goto(this.parseInlineTable);\n else throw this.error(new TomlError(\"Invalid character, expected whitespace, comma (,) or close bracket (])\"));\n }\n }\n return TOMLParser;\n}\n\n});\nparcelRegister(\"a18Cz\", function(module, exports) {\n\"use strict\";\nconst $74b0af55b83c9a99$var$ParserEND = 0x110000;\nclass $74b0af55b83c9a99$var$ParserError extends Error {\n /* istanbul ignore next */ constructor(msg, filename, linenumber){\n super(\"[ParserError] \" + msg, filename, linenumber);\n this.name = \"ParserError\";\n this.code = \"ParserError\";\n if (Error.captureStackTrace) Error.captureStackTrace(this, $74b0af55b83c9a99$var$ParserError);\n }\n}\nclass $74b0af55b83c9a99$var$State {\n constructor(parser){\n this.parser = parser;\n this.buf = \"\";\n this.returned = null;\n this.result = null;\n this.resultTable = null;\n this.resultArr = null;\n }\n}\nclass $74b0af55b83c9a99$var$Parser {\n constructor(){\n this.pos = 0;\n this.col = 0;\n this.line = 0;\n this.obj = {};\n this.ctx = this.obj;\n this.stack = [];\n this._buf = \"\";\n this.char = null;\n this.ii = 0;\n this.state = new $74b0af55b83c9a99$var$State(this.parseStart);\n }\n parse(str) {\n /* istanbul ignore next */ if (str.length === 0 || str.length == null) return;\n this._buf = String(str);\n this.ii = -1;\n this.char = -1;\n let getNext;\n while(getNext === false || this.nextChar())getNext = this.runOne();\n this._buf = null;\n }\n nextChar() {\n if (this.char === 0x0A) {\n ++this.line;\n this.col = -1;\n }\n ++this.ii;\n this.char = this._buf.codePointAt(this.ii);\n ++this.pos;\n ++this.col;\n return this.haveBuffer();\n }\n haveBuffer() {\n return this.ii < this._buf.length;\n }\n runOne() {\n return this.state.parser.call(this, this.state.returned);\n }\n finish() {\n this.char = $74b0af55b83c9a99$var$ParserEND;\n let last;\n do {\n last = this.state.parser;\n this.runOne();\n }while (this.state.parser !== last);\n this.ctx = null;\n this.state = null;\n this._buf = null;\n return this.obj;\n }\n next(fn) {\n /* istanbul ignore next */ if (typeof fn !== \"function\") throw new $74b0af55b83c9a99$var$ParserError(\"Tried to set state to non-existent state: \" + JSON.stringify(fn));\n this.state.parser = fn;\n }\n goto(fn) {\n this.next(fn);\n return this.runOne();\n }\n call(fn, returnWith) {\n if (returnWith) this.next(returnWith);\n this.stack.push(this.state);\n this.state = new $74b0af55b83c9a99$var$State(fn);\n }\n callNow(fn, returnWith) {\n this.call(fn, returnWith);\n return this.runOne();\n }\n return(value) {\n /* istanbul ignore next */ if (this.stack.length === 0) throw this.error(new $74b0af55b83c9a99$var$ParserError(\"Stack underflow\"));\n if (value === undefined) value = this.state.buf;\n this.state = this.stack.pop();\n this.state.returned = value;\n }\n returnNow(value) {\n this.return(value);\n return this.runOne();\n }\n consume() {\n /* istanbul ignore next */ if (this.char === $74b0af55b83c9a99$var$ParserEND) throw this.error(new $74b0af55b83c9a99$var$ParserError(\"Unexpected end-of-buffer\"));\n this.state.buf += this._buf[this.ii];\n }\n error(err) {\n err.line = this.line;\n err.col = this.col;\n err.pos = this.pos;\n return err;\n }\n /* istanbul ignore next */ parseStart() {\n throw new $74b0af55b83c9a99$var$ParserError(\"Must declare a parseStart method\");\n }\n}\n$74b0af55b83c9a99$var$Parser.END = $74b0af55b83c9a99$var$ParserEND;\n$74b0af55b83c9a99$var$Parser.Error = $74b0af55b83c9a99$var$ParserError;\nmodule.exports = $74b0af55b83c9a99$var$Parser;\n\n});\n\nparcelRegister(\"65V8s\", function(module, exports) {\n\"use strict\";\nmodule.exports = (value)=>{\n const date = new Date(value);\n /* istanbul ignore if */ if (isNaN(date)) throw new TypeError(\"Invalid Datetime\");\n else return date;\n};\n\n});\n\nparcelRegister(\"2Gq8U\", function(module, exports) {\n\"use strict\";\n\nvar $d28ir = parcelRequire(\"d28ir\");\nclass $1f43c86cb2cd1fc5$var$FloatingDateTime extends Date {\n constructor(value){\n super(value + \"Z\");\n this.isFloating = true;\n }\n toISOString() {\n const date = `${this.getUTCFullYear()}-${$d28ir(2, this.getUTCMonth() + 1)}-${$d28ir(2, this.getUTCDate())}`;\n const time = `${$d28ir(2, this.getUTCHours())}:${$d28ir(2, this.getUTCMinutes())}:${$d28ir(2, this.getUTCSeconds())}.${$d28ir(3, this.getUTCMilliseconds())}`;\n return `${date}T${time}`;\n }\n}\nmodule.exports = (value)=>{\n const date = new $1f43c86cb2cd1fc5$var$FloatingDateTime(value);\n /* istanbul ignore if */ if (isNaN(date)) throw new TypeError(\"Invalid Datetime\");\n else return date;\n};\n\n});\nparcelRegister(\"d28ir\", function(module, exports) {\n\"use strict\";\nmodule.exports = (d, num)=>{\n num = String(num);\n while(num.length < d)num = \"0\" + num;\n return num;\n};\n\n});\n\n\nparcelRegister(\"ackbS\", function(module, exports) {\n\"use strict\";\n\nvar $d28ir = parcelRequire(\"d28ir\");\nconst $76caafd18bebcb54$var$DateTime = $parcel$global.Date;\nclass $76caafd18bebcb54$var$Date extends $76caafd18bebcb54$var$DateTime {\n constructor(value){\n super(value);\n this.isDate = true;\n }\n toISOString() {\n return `${this.getUTCFullYear()}-${$d28ir(2, this.getUTCMonth() + 1)}-${$d28ir(2, this.getUTCDate())}`;\n }\n}\nmodule.exports = (value)=>{\n const date = new $76caafd18bebcb54$var$Date(value);\n /* istanbul ignore if */ if (isNaN(date)) throw new TypeError(\"Invalid Datetime\");\n else return date;\n};\n\n});\n\nparcelRegister(\"k3cxx\", function(module, exports) {\n\"use strict\";\n\nvar $d28ir = parcelRequire(\"d28ir\");\nclass $e98dd09c7605dea4$var$Time extends Date {\n constructor(value){\n super(`0000-01-01T${value}Z`);\n this.isTime = true;\n }\n toISOString() {\n return `${$d28ir(2, this.getUTCHours())}:${$d28ir(2, this.getUTCMinutes())}:${$d28ir(2, this.getUTCSeconds())}.${$d28ir(3, this.getUTCMilliseconds())}`;\n }\n}\nmodule.exports = (value)=>{\n const date = new $e98dd09c7605dea4$var$Time(value);\n /* istanbul ignore if */ if (isNaN(date)) throw new TypeError(\"Invalid Datetime\");\n else return date;\n};\n\n});\n\n\nparcelRegister(\"2Aiv1\", function(module, exports) {\n\"use strict\";\nmodule.exports = $1e1d4b24b1b79001$var$prettyError;\nfunction $1e1d4b24b1b79001$var$prettyError(err, buf) {\n /* istanbul ignore if */ if (err.pos == null || err.line == null) return err;\n let msg = err.message;\n msg += ` at row ${err.line + 1}, col ${err.col + 1}, pos ${err.pos}:\\n`;\n /* istanbul ignore else */ if (buf && buf.split) {\n const lines = buf.split(/\\n/);\n const lineNumWidth = String(Math.min(lines.length, err.line + 3)).length;\n let linePadding = \" \";\n while(linePadding.length < lineNumWidth)linePadding += \" \";\n for(let ii = Math.max(0, err.line - 1); ii < Math.min(lines.length, err.line + 2); ++ii){\n let lineNum = String(ii + 1);\n if (lineNum.length < lineNumWidth) lineNum = \" \" + lineNum;\n if (err.line === ii) {\n msg += lineNum + \"> \" + lines[ii] + \"\\n\";\n msg += linePadding + \" \";\n for(let hh = 0; hh < err.col; ++hh)msg += \" \";\n msg += \"^\\n\";\n } else msg += lineNum + \": \" + lines[ii] + \"\\n\";\n }\n }\n err.message = msg + \"\\n\";\n return err;\n}\n\n});\n\n\nparcelRegister(\"cn5IV\", function(module, exports) {\n\"use strict\";\nmodule.exports = $901c129ce2408bc9$var$parseAsync;\n\nvar $kdMBf = parcelRequire(\"kdMBf\");\n\nvar $2Aiv1 = parcelRequire(\"2Aiv1\");\nfunction $901c129ce2408bc9$var$parseAsync(str, opts) {\n if (!opts) opts = {};\n const index = 0;\n const blocksize = opts.blocksize || 40960;\n const parser = new $kdMBf();\n return new Promise((resolve, reject)=>{\n setImmediate(parseAsyncNext, index, blocksize, resolve, reject);\n });\n function parseAsyncNext(index, blocksize, resolve, reject) {\n if (index >= str.length) try {\n return resolve(parser.finish());\n } catch (err) {\n return reject($2Aiv1(err, str));\n }\n try {\n parser.parse(str.slice(index, index + blocksize));\n setImmediate(parseAsyncNext, index + blocksize, blocksize, resolve, reject);\n } catch (err) {\n reject($2Aiv1(err, str));\n }\n }\n}\n\n});\n\nparcelRegister(\"6Gy5N\", function(module, exports) {\n\"use strict\";\nmodule.exports = $4de11c6185170c0e$var$parseStream;\n\n\nvar $kdMBf = parcelRequire(\"kdMBf\");\nfunction $4de11c6185170c0e$var$parseStream(stm) {\n if (stm) return $4de11c6185170c0e$var$parseReadable(stm);\n else return $4de11c6185170c0e$var$parseTransform(stm);\n}\nfunction $4de11c6185170c0e$var$parseReadable(stm) {\n const parser = new $kdMBf();\n stm.setEncoding(\"utf8\");\n return new Promise((resolve, reject)=>{\n let readable;\n let ended = false;\n let errored = false;\n function finish() {\n ended = true;\n if (readable) return;\n try {\n resolve(parser.finish());\n } catch (err) {\n reject(err);\n }\n }\n function error(err) {\n errored = true;\n reject(err);\n }\n stm.once(\"end\", finish);\n stm.once(\"error\", error);\n readNext();\n function readNext() {\n readable = true;\n let data;\n while((data = stm.read()) !== null)try {\n parser.parse(data);\n } catch (err) {\n return error(err);\n }\n readable = false;\n /* istanbul ignore if */ if (ended) return finish();\n /* istanbul ignore if */ if (errored) return;\n stm.once(\"readable\", readNext);\n }\n });\n}\nfunction $4de11c6185170c0e$var$parseTransform() {\n const parser = new $kdMBf();\n return new $kC5q1$stream.Transform({\n objectMode: true,\n transform (chunk, encoding, cb) {\n try {\n parser.parse(chunk.toString(encoding));\n } catch (err) {\n this.emit(\"error\", err);\n }\n cb();\n },\n flush (cb) {\n try {\n this.push(parser.finish());\n } catch (err) {\n this.emit(\"error\", err);\n }\n cb();\n }\n });\n}\n\n});\n\n\nparcelRegister(\"AMirQ\", function(module, exports) {\n\"use strict\";\nmodule.exports = $06e8d398bc1e197f$var$stringify;\nmodule.exports.value = $06e8d398bc1e197f$var$stringifyInline;\nfunction $06e8d398bc1e197f$var$stringify(obj) {\n if (obj === null) throw $06e8d398bc1e197f$var$typeError(\"null\");\n if (obj === void 0) throw $06e8d398bc1e197f$var$typeError(\"undefined\");\n if (typeof obj !== \"object\") throw $06e8d398bc1e197f$var$typeError(typeof obj);\n if (typeof obj.toJSON === \"function\") obj = obj.toJSON();\n if (obj == null) return null;\n const type = $06e8d398bc1e197f$var$tomlType(obj);\n if (type !== \"table\") throw $06e8d398bc1e197f$var$typeError(type);\n return $06e8d398bc1e197f$var$stringifyObject(\"\", \"\", obj);\n}\nfunction $06e8d398bc1e197f$var$typeError(type) {\n return new Error(\"Can only stringify objects, not \" + type);\n}\nfunction $06e8d398bc1e197f$var$arrayOneTypeError() {\n return new Error(\"Array values can't have mixed types\");\n}\nfunction $06e8d398bc1e197f$var$getInlineKeys(obj) {\n return Object.keys(obj).filter((key)=>$06e8d398bc1e197f$var$isInline(obj[key]));\n}\nfunction $06e8d398bc1e197f$var$getComplexKeys(obj) {\n return Object.keys(obj).filter((key)=>!$06e8d398bc1e197f$var$isInline(obj[key]));\n}\nfunction $06e8d398bc1e197f$var$toJSON(obj) {\n let nobj = Array.isArray(obj) ? [] : Object.prototype.hasOwnProperty.call(obj, \"__proto__\") ? {\n [\"__proto__\"]: undefined\n } : {};\n for (let prop of Object.keys(obj))if (obj[prop] && typeof obj[prop].toJSON === \"function\" && !(\"toISOString\" in obj[prop])) nobj[prop] = obj[prop].toJSON();\n else nobj[prop] = obj[prop];\n return nobj;\n}\nfunction $06e8d398bc1e197f$var$stringifyObject(prefix, indent, obj) {\n obj = $06e8d398bc1e197f$var$toJSON(obj);\n var inlineKeys;\n var complexKeys;\n inlineKeys = $06e8d398bc1e197f$var$getInlineKeys(obj);\n complexKeys = $06e8d398bc1e197f$var$getComplexKeys(obj);\n var result = [];\n var inlineIndent = indent || \"\";\n inlineKeys.forEach((key)=>{\n var type = $06e8d398bc1e197f$var$tomlType(obj[key]);\n if (type !== \"undefined\" && type !== \"null\") result.push(inlineIndent + $06e8d398bc1e197f$var$stringifyKey(key) + \" = \" + $06e8d398bc1e197f$var$stringifyAnyInline(obj[key], true));\n });\n if (result.length > 0) result.push(\"\");\n var complexIndent = prefix && inlineKeys.length > 0 ? indent + \" \" : \"\";\n complexKeys.forEach((key)=>{\n result.push($06e8d398bc1e197f$var$stringifyComplex(prefix, complexIndent, key, obj[key]));\n });\n return result.join(\"\\n\");\n}\nfunction $06e8d398bc1e197f$var$isInline(value) {\n switch($06e8d398bc1e197f$var$tomlType(value)){\n case \"undefined\":\n case \"null\":\n case \"integer\":\n case \"nan\":\n case \"float\":\n case \"boolean\":\n case \"string\":\n case \"datetime\":\n return true;\n case \"array\":\n return value.length === 0 || $06e8d398bc1e197f$var$tomlType(value[0]) !== \"table\";\n case \"table\":\n return Object.keys(value).length === 0;\n /* istanbul ignore next */ default:\n return false;\n }\n}\nfunction $06e8d398bc1e197f$var$tomlType(value) {\n if (value === undefined) return \"undefined\";\n else if (value === null) return \"null\";\n else if (typeof value === \"bigint\" || Number.isInteger(value) && !Object.is(value, -0)) return \"integer\";\n else if (typeof value === \"number\") return \"float\";\n else if (typeof value === \"boolean\") return \"boolean\";\n else if (typeof value === \"string\") return \"string\";\n else if (\"toISOString\" in value) return isNaN(value) ? \"undefined\" : \"datetime\";\n else if (Array.isArray(value)) return \"array\";\n else return \"table\";\n}\nfunction $06e8d398bc1e197f$var$stringifyKey(key) {\n var keyStr = String(key);\n if (/^[-A-Za-z0-9_]+$/.test(keyStr)) return keyStr;\n else return $06e8d398bc1e197f$var$stringifyBasicString(keyStr);\n}\nfunction $06e8d398bc1e197f$var$stringifyBasicString(str) {\n return '\"' + $06e8d398bc1e197f$var$escapeString(str).replace(/\"/g, '\\\\\"') + '\"';\n}\nfunction $06e8d398bc1e197f$var$stringifyLiteralString(str) {\n return \"'\" + str + \"'\";\n}\nfunction $06e8d398bc1e197f$var$numpad(num, str) {\n while(str.length < num)str = \"0\" + str;\n return str;\n}\nfunction $06e8d398bc1e197f$var$escapeString(str) {\n return str.replace(/\\\\/g, \"\\\\\\\\\").replace(/[\\b]/g, \"\\\\b\").replace(/\\t/g, \"\\\\t\").replace(/\\n/g, \"\\\\n\").replace(/\\f/g, \"\\\\f\").replace(/\\r/g, \"\\\\r\")/* eslint-disable no-control-regex */ .replace(/([\\u0000-\\u001f\\u007f])/, (c)=>\"\\\\u\" + $06e8d398bc1e197f$var$numpad(4, c.codePointAt(0).toString(16)));\n/* eslint-enable no-control-regex */ }\nfunction $06e8d398bc1e197f$var$stringifyMultilineString(str) {\n let escaped = str.split(/\\n/).map((str)=>{\n return $06e8d398bc1e197f$var$escapeString(str).replace(/\"(?=\"\")/g, '\\\\\"');\n }).join(\"\\n\");\n if (escaped.slice(-1) === '\"') escaped += \"\\\\\\n\";\n return '\"\"\"\\n' + escaped + '\"\"\"';\n}\nfunction $06e8d398bc1e197f$var$stringifyAnyInline(value, multilineOk) {\n let type = $06e8d398bc1e197f$var$tomlType(value);\n if (type === \"string\") {\n if (multilineOk && /\\n/.test(value)) type = \"string-multiline\";\n else if (!/[\\b\\t\\n\\f\\r']/.test(value) && /\"/.test(value)) type = \"string-literal\";\n }\n return $06e8d398bc1e197f$var$stringifyInline(value, type);\n}\nfunction $06e8d398bc1e197f$var$stringifyInline(value, type) {\n /* istanbul ignore if */ if (!type) type = $06e8d398bc1e197f$var$tomlType(value);\n switch(type){\n case \"string-multiline\":\n return $06e8d398bc1e197f$var$stringifyMultilineString(value);\n case \"string\":\n return $06e8d398bc1e197f$var$stringifyBasicString(value);\n case \"string-literal\":\n return $06e8d398bc1e197f$var$stringifyLiteralString(value);\n case \"integer\":\n return $06e8d398bc1e197f$var$stringifyInteger(value);\n case \"float\":\n return $06e8d398bc1e197f$var$stringifyFloat(value);\n case \"boolean\":\n return $06e8d398bc1e197f$var$stringifyBoolean(value);\n case \"datetime\":\n return $06e8d398bc1e197f$var$stringifyDatetime(value);\n case \"array\":\n return $06e8d398bc1e197f$var$stringifyInlineArray(value.filter((_)=>$06e8d398bc1e197f$var$tomlType(_) !== \"null\" && $06e8d398bc1e197f$var$tomlType(_) !== \"undefined\" && $06e8d398bc1e197f$var$tomlType(_) !== \"nan\"));\n case \"table\":\n return $06e8d398bc1e197f$var$stringifyInlineTable(value);\n /* istanbul ignore next */ default:\n throw $06e8d398bc1e197f$var$typeError(type);\n }\n}\nfunction $06e8d398bc1e197f$var$stringifyInteger(value) {\n /* eslint-disable security/detect-unsafe-regex */ return String(value).replace(/\\B(?=(\\d{3})+(?!\\d))/g, \"_\");\n}\nfunction $06e8d398bc1e197f$var$stringifyFloat(value) {\n if (value === Infinity) return \"inf\";\n else if (value === -Infinity) return \"-inf\";\n else if (Object.is(value, NaN)) return \"nan\";\n else if (Object.is(value, -0)) return \"-0.0\";\n var chunks = String(value).split(\".\");\n var int = chunks[0];\n var dec = chunks[1] || 0;\n return $06e8d398bc1e197f$var$stringifyInteger(int) + \".\" + dec;\n}\nfunction $06e8d398bc1e197f$var$stringifyBoolean(value) {\n return String(value);\n}\nfunction $06e8d398bc1e197f$var$stringifyDatetime(value) {\n return value.toISOString();\n}\nfunction $06e8d398bc1e197f$var$isNumber(type) {\n return type === \"float\" || type === \"integer\";\n}\nfunction $06e8d398bc1e197f$var$arrayType(values) {\n var contentType = $06e8d398bc1e197f$var$tomlType(values[0]);\n if (values.every((_)=>$06e8d398bc1e197f$var$tomlType(_) === contentType)) return contentType;\n // mixed integer/float, emit as floats\n if (values.every((_)=>$06e8d398bc1e197f$var$isNumber($06e8d398bc1e197f$var$tomlType(_)))) return \"float\";\n return \"mixed\";\n}\nfunction $06e8d398bc1e197f$var$validateArray(values) {\n const type = $06e8d398bc1e197f$var$arrayType(values);\n if (type === \"mixed\") throw $06e8d398bc1e197f$var$arrayOneTypeError();\n return type;\n}\nfunction $06e8d398bc1e197f$var$stringifyInlineArray(values) {\n values = $06e8d398bc1e197f$var$toJSON(values);\n const type = $06e8d398bc1e197f$var$validateArray(values);\n var result = \"[\";\n var stringified = values.map((_)=>$06e8d398bc1e197f$var$stringifyInline(_, type));\n if (stringified.join(\", \").length > 60 || /\\n/.test(stringified)) result += \"\\n \" + stringified.join(\",\\n \") + \"\\n\";\n else result += \" \" + stringified.join(\", \") + (stringified.length > 0 ? \" \" : \"\");\n return result + \"]\";\n}\nfunction $06e8d398bc1e197f$var$stringifyInlineTable(value) {\n value = $06e8d398bc1e197f$var$toJSON(value);\n var result = [];\n Object.keys(value).forEach((key)=>{\n result.push($06e8d398bc1e197f$var$stringifyKey(key) + \" = \" + $06e8d398bc1e197f$var$stringifyAnyInline(value[key], false));\n });\n return \"{ \" + result.join(\", \") + (result.length > 0 ? \" \" : \"\") + \"}\";\n}\nfunction $06e8d398bc1e197f$var$stringifyComplex(prefix, indent, key, value) {\n var valueType = $06e8d398bc1e197f$var$tomlType(value);\n /* istanbul ignore else */ if (valueType === \"array\") return $06e8d398bc1e197f$var$stringifyArrayOfTables(prefix, indent, key, value);\n else if (valueType === \"table\") return $06e8d398bc1e197f$var$stringifyComplexTable(prefix, indent, key, value);\n else throw $06e8d398bc1e197f$var$typeError(valueType);\n}\nfunction $06e8d398bc1e197f$var$stringifyArrayOfTables(prefix, indent, key, values) {\n values = $06e8d398bc1e197f$var$toJSON(values);\n $06e8d398bc1e197f$var$validateArray(values);\n var firstValueType = $06e8d398bc1e197f$var$tomlType(values[0]);\n /* istanbul ignore if */ if (firstValueType !== \"table\") throw $06e8d398bc1e197f$var$typeError(firstValueType);\n var fullKey = prefix + $06e8d398bc1e197f$var$stringifyKey(key);\n var result = \"\";\n values.forEach((table)=>{\n if (result.length > 0) result += \"\\n\";\n result += indent + \"[[\" + fullKey + \"]]\\n\";\n result += $06e8d398bc1e197f$var$stringifyObject(fullKey + \".\", indent, table);\n });\n return result;\n}\nfunction $06e8d398bc1e197f$var$stringifyComplexTable(prefix, indent, key, value) {\n var fullKey = prefix + $06e8d398bc1e197f$var$stringifyKey(key);\n var result = \"\";\n if ($06e8d398bc1e197f$var$getInlineKeys(value).length > 0) result += indent + \"[\" + fullKey + \"]\\n\";\n return result + $06e8d398bc1e197f$var$stringifyObject(fullKey + \".\", indent, value);\n}\n\n});\n\n\n\nparcelRegister(\"aN96g\", function(module, exports) {\n\n$parcel$export(module.exports, \"MANIFEST_URL\", () => $a36d466fdb06cb14$export$f3182c5cb60bb857);\n$parcel$export(module.exports, \"findReleaseFromManifest\", () => $a36d466fdb06cb14$export$45bea79befbd9a23);\n$parcel$export(module.exports, \"getManifest\", () => $a36d466fdb06cb14$export$39e873de56f329d8);\n$parcel$export(module.exports, \"installCpythonFromRelease\", () => $a36d466fdb06cb14$export$e1ffa7cd53152881);\n\n\nvar $1o3Gj = parcelRequire(\"1o3Gj\");\n\nvar $5DFAC = parcelRequire(\"5DFAC\");\n\nvar $bHzmH = parcelRequire(\"bHzmH\");\n\nvar $56hu0 = parcelRequire(\"56hu0\");\nconst $a36d466fdb06cb14$var$TOKEN = $1o3Gj.getInput(\"token\");\nconst $a36d466fdb06cb14$var$AUTH = !$a36d466fdb06cb14$var$TOKEN ? undefined : `token ${$a36d466fdb06cb14$var$TOKEN}`;\nconst $a36d466fdb06cb14$var$MANIFEST_REPO_OWNER = \"actions\";\nconst $a36d466fdb06cb14$var$MANIFEST_REPO_NAME = \"python-versions\";\nconst $a36d466fdb06cb14$var$MANIFEST_REPO_BRANCH = \"main\";\nconst $a36d466fdb06cb14$export$f3182c5cb60bb857 = `https://raw.githubusercontent.com/${$a36d466fdb06cb14$var$MANIFEST_REPO_OWNER}/${$a36d466fdb06cb14$var$MANIFEST_REPO_NAME}/${$a36d466fdb06cb14$var$MANIFEST_REPO_BRANCH}/versions-manifest.json`;\nasync function $a36d466fdb06cb14$export$45bea79befbd9a23(semanticVersionSpec, architecture, manifest) {\n if (!manifest) manifest = await $a36d466fdb06cb14$export$39e873de56f329d8();\n const foundRelease = await $5DFAC.findFromManifest(semanticVersionSpec, false, manifest, architecture);\n return foundRelease;\n}\nfunction $a36d466fdb06cb14$export$39e873de56f329d8() {\n $1o3Gj.debug(`Getting manifest from ${$a36d466fdb06cb14$var$MANIFEST_REPO_OWNER}/${$a36d466fdb06cb14$var$MANIFEST_REPO_NAME}@${$a36d466fdb06cb14$var$MANIFEST_REPO_BRANCH}`);\n return $5DFAC.getManifestFromRepo($a36d466fdb06cb14$var$MANIFEST_REPO_OWNER, $a36d466fdb06cb14$var$MANIFEST_REPO_NAME, $a36d466fdb06cb14$var$AUTH, $a36d466fdb06cb14$var$MANIFEST_REPO_BRANCH);\n}\nasync function $a36d466fdb06cb14$var$installPython(workingDirectory) {\n const options = {\n cwd: workingDirectory,\n env: {\n ...process.env,\n ...(0, $56hu0.IS_LINUX) && {\n LD_LIBRARY_PATH: $kC5q1$path.join(workingDirectory, \"lib\")\n }\n },\n silent: true,\n listeners: {\n stdout: (data)=>{\n $1o3Gj.info(data.toString().trim());\n },\n stderr: (data)=>{\n $1o3Gj.error(data.toString().trim());\n }\n }\n };\n if (0, $56hu0.IS_WINDOWS) await $bHzmH.exec(\"powershell\", [\n \"./setup.ps1\"\n ], options);\n else await $bHzmH.exec(\"bash\", [\n \"./setup.sh\"\n ], options);\n}\nasync function $a36d466fdb06cb14$export$e1ffa7cd53152881(release) {\n const downloadUrl = release.files[0].download_url;\n $1o3Gj.info(`Download from \"${downloadUrl}\"`);\n let pythonPath = \"\";\n try {\n pythonPath = await $5DFAC.downloadTool(downloadUrl, undefined, $a36d466fdb06cb14$var$AUTH);\n $1o3Gj.info(\"Extract downloaded archive\");\n let pythonExtractedFolder;\n if (0, $56hu0.IS_WINDOWS) pythonExtractedFolder = await $5DFAC.extractZip(pythonPath);\n else pythonExtractedFolder = await $5DFAC.extractTar(pythonPath);\n $1o3Gj.info(\"Execute installation script\");\n await $a36d466fdb06cb14$var$installPython(pythonExtractedFolder);\n } catch (err) {\n if (err instanceof $5DFAC.HTTPError) {\n // Rate limit?\n if (err.httpStatusCode === 403 || err.httpStatusCode === 429) $1o3Gj.info(`Received HTTP status code ${err.httpStatusCode}. This usually indicates the rate limit has been exceeded`);\n else $1o3Gj.info(err.message);\n if (err.stack) $1o3Gj.debug(err.stack);\n }\n throw err;\n }\n}\n\n});\nparcelRegister(\"5DFAC\", function(module, exports) {\n\nvar $41b0db1703236f02$var$$parcel$__dirname = $kC5q1$path.resolve(__dirname, \"../../node_modules/setup-python/node_modules/@actions/tool-cache/lib\");\n\"use strict\";\nvar $41b0db1703236f02$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $41b0db1703236f02$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $41b0db1703236f02$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $41b0db1703236f02$var$__createBinding(result, mod, k);\n }\n $41b0db1703236f02$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $41b0db1703236f02$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar $41b0db1703236f02$var$__importDefault = module.exports && module.exports.__importDefault || function(mod) {\n return mod && mod.__esModule ? mod : {\n \"default\": mod\n };\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.evaluateVersions = module.exports.isExplicitVersion = module.exports.findFromManifest = module.exports.getManifestFromRepo = module.exports.findAllVersions = module.exports.find = module.exports.cacheFile = module.exports.cacheDir = module.exports.extractZip = module.exports.extractXar = module.exports.extractTar = module.exports.extract7z = module.exports.downloadTool = module.exports.HTTPError = void 0;\n\nconst $41b0db1703236f02$var$core = $41b0db1703236f02$var$__importStar((parcelRequire(\"1o3Gj\")));\n\nconst $41b0db1703236f02$var$io = $41b0db1703236f02$var$__importStar((parcelRequire(\"zdagz\")));\n\nconst $41b0db1703236f02$var$fs = $41b0db1703236f02$var$__importStar($kC5q1$fs);\n\nconst $41b0db1703236f02$var$mm = $41b0db1703236f02$var$__importStar((parcelRequire(\"hzNJS\")));\n\nconst $41b0db1703236f02$var$os = $41b0db1703236f02$var$__importStar($kC5q1$os);\n\nconst $41b0db1703236f02$var$path = $41b0db1703236f02$var$__importStar($kC5q1$path);\n\nconst $41b0db1703236f02$var$httpm = $41b0db1703236f02$var$__importStar((parcelRequire(\"eamjo\")));\n\nconst $41b0db1703236f02$var$semver = $41b0db1703236f02$var$__importStar((parcelRequire(\"4IOon\")));\n\nconst $41b0db1703236f02$var$stream = $41b0db1703236f02$var$__importStar($kC5q1$stream);\n\nconst $41b0db1703236f02$var$util = $41b0db1703236f02$var$__importStar($kC5q1$util);\n\nconst $41b0db1703236f02$var$v4_1 = $41b0db1703236f02$var$__importDefault((parcelRequire(\"cJF00\")));\n\nvar $bHzmH = parcelRequire(\"bHzmH\");\n\n\nvar $1kmXt = parcelRequire(\"1kmXt\");\nclass $41b0db1703236f02$var$HTTPError extends Error {\n constructor(httpStatusCode){\n super(`Unexpected HTTP response: ${httpStatusCode}`);\n this.httpStatusCode = httpStatusCode;\n Object.setPrototypeOf(this, new.target.prototype);\n }\n}\nmodule.exports.HTTPError = $41b0db1703236f02$var$HTTPError;\nconst $41b0db1703236f02$var$IS_WINDOWS = process.platform === \"win32\";\nconst $41b0db1703236f02$var$IS_MAC = process.platform === \"darwin\";\nconst $41b0db1703236f02$var$userAgent = \"actions/tool-cache\";\n/**\n * Download a tool from an url and stream it into a file\n *\n * @param url url of tool to download\n * @param dest path to download tool\n * @param auth authorization header\n * @param headers other headers\n * @returns path to downloaded tool\n */ function $41b0db1703236f02$var$downloadTool(url, dest, auth, headers) {\n return $41b0db1703236f02$var$__awaiter(this, void 0, void 0, function*() {\n dest = dest || $41b0db1703236f02$var$path.join($41b0db1703236f02$var$_getTempDirectory(), $41b0db1703236f02$var$v4_1.default());\n yield $41b0db1703236f02$var$io.mkdirP($41b0db1703236f02$var$path.dirname(dest));\n $41b0db1703236f02$var$core.debug(`Downloading ${url}`);\n $41b0db1703236f02$var$core.debug(`Destination ${dest}`);\n const maxAttempts = 3;\n const minSeconds = $41b0db1703236f02$var$_getGlobal(\"TEST_DOWNLOAD_TOOL_RETRY_MIN_SECONDS\", 10);\n const maxSeconds = $41b0db1703236f02$var$_getGlobal(\"TEST_DOWNLOAD_TOOL_RETRY_MAX_SECONDS\", 20);\n const retryHelper = new $1kmXt.RetryHelper(maxAttempts, minSeconds, maxSeconds);\n return yield retryHelper.execute(()=>$41b0db1703236f02$var$__awaiter(this, void 0, void 0, function*() {\n return yield $41b0db1703236f02$var$downloadToolAttempt(url, dest || \"\", auth, headers);\n }), (err)=>{\n if (err instanceof $41b0db1703236f02$var$HTTPError && err.httpStatusCode) {\n // Don't retry anything less than 500, except 408 Request Timeout and 429 Too Many Requests\n if (err.httpStatusCode < 500 && err.httpStatusCode !== 408 && err.httpStatusCode !== 429) return false;\n }\n // Otherwise retry\n return true;\n });\n });\n}\nmodule.exports.downloadTool = $41b0db1703236f02$var$downloadTool;\nfunction $41b0db1703236f02$var$downloadToolAttempt(url, dest, auth, headers) {\n return $41b0db1703236f02$var$__awaiter(this, void 0, void 0, function*() {\n if ($41b0db1703236f02$var$fs.existsSync(dest)) throw new Error(`Destination file path ${dest} already exists`);\n // Get the response headers\n const http = new $41b0db1703236f02$var$httpm.HttpClient($41b0db1703236f02$var$userAgent, [], {\n allowRetries: false\n });\n if (auth) {\n $41b0db1703236f02$var$core.debug(\"set auth\");\n if (headers === undefined) headers = {};\n headers.authorization = auth;\n }\n const response = yield http.get(url, headers);\n if (response.message.statusCode !== 200) {\n const err = new $41b0db1703236f02$var$HTTPError(response.message.statusCode);\n $41b0db1703236f02$var$core.debug(`Failed to download from \"${url}\". Code(${response.message.statusCode}) Message(${response.message.statusMessage})`);\n throw err;\n }\n // Download the response body\n const pipeline = $41b0db1703236f02$var$util.promisify($41b0db1703236f02$var$stream.pipeline);\n const responseMessageFactory = $41b0db1703236f02$var$_getGlobal(\"TEST_DOWNLOAD_TOOL_RESPONSE_MESSAGE_FACTORY\", ()=>response.message);\n const readStream = responseMessageFactory();\n let succeeded = false;\n try {\n yield pipeline(readStream, $41b0db1703236f02$var$fs.createWriteStream(dest));\n $41b0db1703236f02$var$core.debug(\"download complete\");\n succeeded = true;\n return dest;\n } finally{\n // Error, delete dest before retry\n if (!succeeded) {\n $41b0db1703236f02$var$core.debug(\"download failed\");\n try {\n yield $41b0db1703236f02$var$io.rmRF(dest);\n } catch (err) {\n $41b0db1703236f02$var$core.debug(`Failed to delete '${dest}'. ${err.message}`);\n }\n }\n }\n });\n}\n/**\n * Extract a .7z file\n *\n * @param file path to the .7z file\n * @param dest destination directory. Optional.\n * @param _7zPath path to 7zr.exe. Optional, for long path support. Most .7z archives do not have this\n * problem. If your .7z archive contains very long paths, you can pass the path to 7zr.exe which will\n * gracefully handle long paths. By default 7zdec.exe is used because it is a very small program and is\n * bundled with the tool lib. However it does not support long paths. 7zr.exe is the reduced command line\n * interface, it is smaller than the full command line interface, and it does support long paths. At the\n * time of this writing, it is freely available from the LZMA SDK that is available on the 7zip website.\n * Be sure to check the current license agreement. If 7zr.exe is bundled with your action, then the path\n * to 7zr.exe can be pass to this function.\n * @returns path to the destination directory\n */ function $41b0db1703236f02$var$extract7z(file, dest, _7zPath) {\n return $41b0db1703236f02$var$__awaiter(this, void 0, void 0, function*() {\n $kC5q1$assert.ok($41b0db1703236f02$var$IS_WINDOWS, \"extract7z() not supported on current OS\");\n $kC5q1$assert.ok(file, 'parameter \"file\" is required');\n dest = yield $41b0db1703236f02$var$_createExtractFolder(dest);\n const originalCwd = process.cwd();\n process.chdir(dest);\n if (_7zPath) try {\n const logLevel = $41b0db1703236f02$var$core.isDebug() ? \"-bb1\" : \"-bb0\";\n const args = [\n \"x\",\n logLevel,\n \"-bd\",\n \"-sccUTF-8\",\n file\n ];\n const options = {\n silent: true\n };\n yield $bHzmH.exec(`\"${_7zPath}\"`, args, options);\n } finally{\n process.chdir(originalCwd);\n }\n else {\n const escapedScript = $41b0db1703236f02$var$path.join($41b0db1703236f02$var$$parcel$__dirname, \"..\", \"scripts\", \"Invoke-7zdec.ps1\").replace(/'/g, \"''\").replace(/\"|\\n|\\r/g, \"\"); // double-up single quotes, remove double quotes and newlines\n const escapedFile = file.replace(/'/g, \"''\").replace(/\"|\\n|\\r/g, \"\");\n const escapedTarget = dest.replace(/'/g, \"''\").replace(/\"|\\n|\\r/g, \"\");\n const command = `& '${escapedScript}' -Source '${escapedFile}' -Target '${escapedTarget}'`;\n const args = [\n \"-NoLogo\",\n \"-Sta\",\n \"-NoProfile\",\n \"-NonInteractive\",\n \"-ExecutionPolicy\",\n \"Unrestricted\",\n \"-Command\",\n command\n ];\n const options = {\n silent: true\n };\n try {\n const powershellPath = yield $41b0db1703236f02$var$io.which(\"powershell\", true);\n yield $bHzmH.exec(`\"${powershellPath}\"`, args, options);\n } finally{\n process.chdir(originalCwd);\n }\n }\n return dest;\n });\n}\nmodule.exports.extract7z = $41b0db1703236f02$var$extract7z;\n/**\n * Extract a compressed tar archive\n *\n * @param file path to the tar\n * @param dest destination directory. Optional.\n * @param flags flags for the tar command to use for extraction. Defaults to 'xz' (extracting gzipped tars). Optional.\n * @returns path to the destination directory\n */ function $41b0db1703236f02$var$extractTar(file, dest, flags = \"xz\") {\n return $41b0db1703236f02$var$__awaiter(this, void 0, void 0, function*() {\n if (!file) throw new Error(\"parameter 'file' is required\");\n // Create dest\n dest = yield $41b0db1703236f02$var$_createExtractFolder(dest);\n // Determine whether GNU tar\n $41b0db1703236f02$var$core.debug(\"Checking tar --version\");\n let versionOutput = \"\";\n yield $bHzmH.exec(\"tar --version\", [], {\n ignoreReturnCode: true,\n silent: true,\n listeners: {\n stdout: (data)=>versionOutput += data.toString(),\n stderr: (data)=>versionOutput += data.toString()\n }\n });\n $41b0db1703236f02$var$core.debug(versionOutput.trim());\n const isGnuTar = versionOutput.toUpperCase().includes(\"GNU TAR\");\n // Initialize args\n let args;\n if (flags instanceof Array) args = flags;\n else args = [\n flags\n ];\n if ($41b0db1703236f02$var$core.isDebug() && !flags.includes(\"v\")) args.push(\"-v\");\n let destArg = dest;\n let fileArg = file;\n if ($41b0db1703236f02$var$IS_WINDOWS && isGnuTar) {\n args.push(\"--force-local\");\n destArg = dest.replace(/\\\\/g, \"/\");\n // Technically only the dest needs to have `/` but for aesthetic consistency\n // convert slashes in the file arg too.\n fileArg = file.replace(/\\\\/g, \"/\");\n }\n if (isGnuTar) {\n // Suppress warnings when using GNU tar to extract archives created by BSD tar\n args.push(\"--warning=no-unknown-keyword\");\n args.push(\"--overwrite\");\n }\n args.push(\"-C\", destArg, \"-f\", fileArg);\n yield $bHzmH.exec(`tar`, args);\n return dest;\n });\n}\nmodule.exports.extractTar = $41b0db1703236f02$var$extractTar;\n/**\n * Extract a xar compatible archive\n *\n * @param file path to the archive\n * @param dest destination directory. Optional.\n * @param flags flags for the xar. Optional.\n * @returns path to the destination directory\n */ function $41b0db1703236f02$var$extractXar(file, dest, flags = []) {\n return $41b0db1703236f02$var$__awaiter(this, void 0, void 0, function*() {\n $kC5q1$assert.ok($41b0db1703236f02$var$IS_MAC, \"extractXar() not supported on current OS\");\n $kC5q1$assert.ok(file, 'parameter \"file\" is required');\n dest = yield $41b0db1703236f02$var$_createExtractFolder(dest);\n let args;\n if (flags instanceof Array) args = flags;\n else args = [\n flags\n ];\n args.push(\"-x\", \"-C\", dest, \"-f\", file);\n if ($41b0db1703236f02$var$core.isDebug()) args.push(\"-v\");\n const xarPath = yield $41b0db1703236f02$var$io.which(\"xar\", true);\n yield $bHzmH.exec(`\"${xarPath}\"`, $41b0db1703236f02$var$_unique(args));\n return dest;\n });\n}\nmodule.exports.extractXar = $41b0db1703236f02$var$extractXar;\n/**\n * Extract a zip\n *\n * @param file path to the zip\n * @param dest destination directory. Optional.\n * @returns path to the destination directory\n */ function $41b0db1703236f02$var$extractZip(file, dest) {\n return $41b0db1703236f02$var$__awaiter(this, void 0, void 0, function*() {\n if (!file) throw new Error(\"parameter 'file' is required\");\n dest = yield $41b0db1703236f02$var$_createExtractFolder(dest);\n if ($41b0db1703236f02$var$IS_WINDOWS) yield $41b0db1703236f02$var$extractZipWin(file, dest);\n else yield $41b0db1703236f02$var$extractZipNix(file, dest);\n return dest;\n });\n}\nmodule.exports.extractZip = $41b0db1703236f02$var$extractZip;\nfunction $41b0db1703236f02$var$extractZipWin(file, dest) {\n return $41b0db1703236f02$var$__awaiter(this, void 0, void 0, function*() {\n // build the powershell command\n const escapedFile = file.replace(/'/g, \"''\").replace(/\"|\\n|\\r/g, \"\"); // double-up single quotes, remove double quotes and newlines\n const escapedDest = dest.replace(/'/g, \"''\").replace(/\"|\\n|\\r/g, \"\");\n const pwshPath = yield $41b0db1703236f02$var$io.which(\"pwsh\", false);\n //To match the file overwrite behavior on nix systems, we use the overwrite = true flag for ExtractToDirectory\n //and the -Force flag for Expand-Archive as a fallback\n if (pwshPath) {\n //attempt to use pwsh with ExtractToDirectory, if this fails attempt Expand-Archive\n const pwshCommand = [\n `$ErrorActionPreference = 'Stop' ;`,\n `try { Add-Type -AssemblyName System.IO.Compression.ZipFile } catch { } ;`,\n `try { [System.IO.Compression.ZipFile]::ExtractToDirectory('${escapedFile}', '${escapedDest}', $true) }`,\n `catch { if (($_.Exception.GetType().FullName -eq 'System.Management.Automation.MethodException') -or ($_.Exception.GetType().FullName -eq 'System.Management.Automation.RuntimeException') ){ Expand-Archive -LiteralPath '${escapedFile}' -DestinationPath '${escapedDest}' -Force } else { throw $_ } } ;`\n ].join(\" \");\n const args = [\n \"-NoLogo\",\n \"-NoProfile\",\n \"-NonInteractive\",\n \"-ExecutionPolicy\",\n \"Unrestricted\",\n \"-Command\",\n pwshCommand\n ];\n $41b0db1703236f02$var$core.debug(`Using pwsh at path: ${pwshPath}`);\n yield $bHzmH.exec(`\"${pwshPath}\"`, args);\n } else {\n const powershellCommand = [\n `$ErrorActionPreference = 'Stop' ;`,\n `try { Add-Type -AssemblyName System.IO.Compression.FileSystem } catch { } ;`,\n `if ((Get-Command -Name Expand-Archive -Module Microsoft.PowerShell.Archive -ErrorAction Ignore)) { Expand-Archive -LiteralPath '${escapedFile}' -DestinationPath '${escapedDest}' -Force }`,\n `else {[System.IO.Compression.ZipFile]::ExtractToDirectory('${escapedFile}', '${escapedDest}', $true) }`\n ].join(\" \");\n const args = [\n \"-NoLogo\",\n \"-Sta\",\n \"-NoProfile\",\n \"-NonInteractive\",\n \"-ExecutionPolicy\",\n \"Unrestricted\",\n \"-Command\",\n powershellCommand\n ];\n const powershellPath = yield $41b0db1703236f02$var$io.which(\"powershell\", true);\n $41b0db1703236f02$var$core.debug(`Using powershell at path: ${powershellPath}`);\n yield $bHzmH.exec(`\"${powershellPath}\"`, args);\n }\n });\n}\nfunction $41b0db1703236f02$var$extractZipNix(file, dest) {\n return $41b0db1703236f02$var$__awaiter(this, void 0, void 0, function*() {\n const unzipPath = yield $41b0db1703236f02$var$io.which(\"unzip\", true);\n const args = [\n file\n ];\n if (!$41b0db1703236f02$var$core.isDebug()) args.unshift(\"-q\");\n args.unshift(\"-o\"); //overwrite with -o, otherwise a prompt is shown which freezes the run\n yield $bHzmH.exec(`\"${unzipPath}\"`, args, {\n cwd: dest\n });\n });\n}\n/**\n * Caches a directory and installs it into the tool cacheDir\n *\n * @param sourceDir the directory to cache into tools\n * @param tool tool name\n * @param version version of the tool. semver format\n * @param arch architecture of the tool. Optional. Defaults to machine architecture\n */ function $41b0db1703236f02$var$cacheDir(sourceDir, tool, version, arch) {\n return $41b0db1703236f02$var$__awaiter(this, void 0, void 0, function*() {\n version = $41b0db1703236f02$var$semver.clean(version) || version;\n arch = arch || $41b0db1703236f02$var$os.arch();\n $41b0db1703236f02$var$core.debug(`Caching tool ${tool} ${version} ${arch}`);\n $41b0db1703236f02$var$core.debug(`source dir: ${sourceDir}`);\n if (!$41b0db1703236f02$var$fs.statSync(sourceDir).isDirectory()) throw new Error(\"sourceDir is not a directory\");\n // Create the tool dir\n const destPath = yield $41b0db1703236f02$var$_createToolPath(tool, version, arch);\n // copy each child item. do not move. move can fail on Windows\n // due to anti-virus software having an open handle on a file.\n for (const itemName of $41b0db1703236f02$var$fs.readdirSync(sourceDir)){\n const s = $41b0db1703236f02$var$path.join(sourceDir, itemName);\n yield $41b0db1703236f02$var$io.cp(s, destPath, {\n recursive: true\n });\n }\n // write .complete\n $41b0db1703236f02$var$_completeToolPath(tool, version, arch);\n return destPath;\n });\n}\nmodule.exports.cacheDir = $41b0db1703236f02$var$cacheDir;\n/**\n * Caches a downloaded file (GUID) and installs it\n * into the tool cache with a given targetName\n *\n * @param sourceFile the file to cache into tools. Typically a result of downloadTool which is a guid.\n * @param targetFile the name of the file name in the tools directory\n * @param tool tool name\n * @param version version of the tool. semver format\n * @param arch architecture of the tool. Optional. Defaults to machine architecture\n */ function $41b0db1703236f02$var$cacheFile(sourceFile, targetFile, tool, version, arch) {\n return $41b0db1703236f02$var$__awaiter(this, void 0, void 0, function*() {\n version = $41b0db1703236f02$var$semver.clean(version) || version;\n arch = arch || $41b0db1703236f02$var$os.arch();\n $41b0db1703236f02$var$core.debug(`Caching tool ${tool} ${version} ${arch}`);\n $41b0db1703236f02$var$core.debug(`source file: ${sourceFile}`);\n if (!$41b0db1703236f02$var$fs.statSync(sourceFile).isFile()) throw new Error(\"sourceFile is not a file\");\n // create the tool dir\n const destFolder = yield $41b0db1703236f02$var$_createToolPath(tool, version, arch);\n // copy instead of move. move can fail on Windows due to\n // anti-virus software having an open handle on a file.\n const destPath = $41b0db1703236f02$var$path.join(destFolder, targetFile);\n $41b0db1703236f02$var$core.debug(`destination file ${destPath}`);\n yield $41b0db1703236f02$var$io.cp(sourceFile, destPath);\n // write .complete\n $41b0db1703236f02$var$_completeToolPath(tool, version, arch);\n return destFolder;\n });\n}\nmodule.exports.cacheFile = $41b0db1703236f02$var$cacheFile;\n/**\n * Finds the path to a tool version in the local installed tool cache\n *\n * @param toolName name of the tool\n * @param versionSpec version of the tool\n * @param arch optional arch. defaults to arch of computer\n */ function $41b0db1703236f02$var$find(toolName, versionSpec, arch) {\n if (!toolName) throw new Error(\"toolName parameter is required\");\n if (!versionSpec) throw new Error(\"versionSpec parameter is required\");\n arch = arch || $41b0db1703236f02$var$os.arch();\n // attempt to resolve an explicit version\n if (!$41b0db1703236f02$var$isExplicitVersion(versionSpec)) {\n const localVersions = $41b0db1703236f02$var$findAllVersions(toolName, arch);\n const match = $41b0db1703236f02$var$evaluateVersions(localVersions, versionSpec);\n versionSpec = match;\n }\n // check for the explicit version in the cache\n let toolPath = \"\";\n if (versionSpec) {\n versionSpec = $41b0db1703236f02$var$semver.clean(versionSpec) || \"\";\n const cachePath = $41b0db1703236f02$var$path.join($41b0db1703236f02$var$_getCacheDirectory(), toolName, versionSpec, arch);\n $41b0db1703236f02$var$core.debug(`checking cache: ${cachePath}`);\n if ($41b0db1703236f02$var$fs.existsSync(cachePath) && $41b0db1703236f02$var$fs.existsSync(`${cachePath}.complete`)) {\n $41b0db1703236f02$var$core.debug(`Found tool in cache ${toolName} ${versionSpec} ${arch}`);\n toolPath = cachePath;\n } else $41b0db1703236f02$var$core.debug(\"not found\");\n }\n return toolPath;\n}\nmodule.exports.find = $41b0db1703236f02$var$find;\n/**\n * Finds the paths to all versions of a tool that are installed in the local tool cache\n *\n * @param toolName name of the tool\n * @param arch optional arch. defaults to arch of computer\n */ function $41b0db1703236f02$var$findAllVersions(toolName, arch) {\n const versions = [];\n arch = arch || $41b0db1703236f02$var$os.arch();\n const toolPath = $41b0db1703236f02$var$path.join($41b0db1703236f02$var$_getCacheDirectory(), toolName);\n if ($41b0db1703236f02$var$fs.existsSync(toolPath)) {\n const children = $41b0db1703236f02$var$fs.readdirSync(toolPath);\n for (const child of children)if ($41b0db1703236f02$var$isExplicitVersion(child)) {\n const fullPath = $41b0db1703236f02$var$path.join(toolPath, child, arch || \"\");\n if ($41b0db1703236f02$var$fs.existsSync(fullPath) && $41b0db1703236f02$var$fs.existsSync(`${fullPath}.complete`)) versions.push(child);\n }\n }\n return versions;\n}\nmodule.exports.findAllVersions = $41b0db1703236f02$var$findAllVersions;\nfunction $41b0db1703236f02$var$getManifestFromRepo(owner, repo, auth, branch = \"master\") {\n return $41b0db1703236f02$var$__awaiter(this, void 0, void 0, function*() {\n let releases = [];\n const treeUrl = `https://api.github.com/repos/${owner}/${repo}/git/trees/${branch}`;\n const http = new $41b0db1703236f02$var$httpm.HttpClient(\"tool-cache\");\n const headers = {};\n if (auth) {\n $41b0db1703236f02$var$core.debug(\"set auth\");\n headers.authorization = auth;\n }\n const response = yield http.getJson(treeUrl, headers);\n if (!response.result) return releases;\n let manifestUrl = \"\";\n for (const item of response.result.tree)if (item.path === \"versions-manifest.json\") {\n manifestUrl = item.url;\n break;\n }\n headers[\"accept\"] = \"application/vnd.github.VERSION.raw\";\n let versionsRaw = yield (yield http.get(manifestUrl, headers)).readBody();\n if (versionsRaw) {\n // shouldn't be needed but protects against invalid json saved with BOM\n versionsRaw = versionsRaw.replace(/^\\uFEFF/, \"\");\n try {\n releases = JSON.parse(versionsRaw);\n } catch (_a) {\n $41b0db1703236f02$var$core.debug(\"Invalid json\");\n }\n }\n return releases;\n });\n}\nmodule.exports.getManifestFromRepo = $41b0db1703236f02$var$getManifestFromRepo;\nfunction $41b0db1703236f02$var$findFromManifest(versionSpec, stable, manifest, archFilter = $41b0db1703236f02$var$os.arch()) {\n return $41b0db1703236f02$var$__awaiter(this, void 0, void 0, function*() {\n // wrap the internal impl\n const match = yield $41b0db1703236f02$var$mm._findMatch(versionSpec, stable, manifest, archFilter);\n return match;\n });\n}\nmodule.exports.findFromManifest = $41b0db1703236f02$var$findFromManifest;\nfunction $41b0db1703236f02$var$_createExtractFolder(dest) {\n return $41b0db1703236f02$var$__awaiter(this, void 0, void 0, function*() {\n if (!dest) // create a temp dir\n dest = $41b0db1703236f02$var$path.join($41b0db1703236f02$var$_getTempDirectory(), $41b0db1703236f02$var$v4_1.default());\n yield $41b0db1703236f02$var$io.mkdirP(dest);\n return dest;\n });\n}\nfunction $41b0db1703236f02$var$_createToolPath(tool, version, arch) {\n return $41b0db1703236f02$var$__awaiter(this, void 0, void 0, function*() {\n const folderPath = $41b0db1703236f02$var$path.join($41b0db1703236f02$var$_getCacheDirectory(), tool, $41b0db1703236f02$var$semver.clean(version) || version, arch || \"\");\n $41b0db1703236f02$var$core.debug(`destination ${folderPath}`);\n const markerPath = `${folderPath}.complete`;\n yield $41b0db1703236f02$var$io.rmRF(folderPath);\n yield $41b0db1703236f02$var$io.rmRF(markerPath);\n yield $41b0db1703236f02$var$io.mkdirP(folderPath);\n return folderPath;\n });\n}\nfunction $41b0db1703236f02$var$_completeToolPath(tool, version, arch) {\n const folderPath = $41b0db1703236f02$var$path.join($41b0db1703236f02$var$_getCacheDirectory(), tool, $41b0db1703236f02$var$semver.clean(version) || version, arch || \"\");\n const markerPath = `${folderPath}.complete`;\n $41b0db1703236f02$var$fs.writeFileSync(markerPath, \"\");\n $41b0db1703236f02$var$core.debug(\"finished caching tool\");\n}\n/**\n * Check if version string is explicit\n *\n * @param versionSpec version string to check\n */ function $41b0db1703236f02$var$isExplicitVersion(versionSpec) {\n const c = $41b0db1703236f02$var$semver.clean(versionSpec) || \"\";\n $41b0db1703236f02$var$core.debug(`isExplicit: ${c}`);\n const valid = $41b0db1703236f02$var$semver.valid(c) != null;\n $41b0db1703236f02$var$core.debug(`explicit? ${valid}`);\n return valid;\n}\nmodule.exports.isExplicitVersion = $41b0db1703236f02$var$isExplicitVersion;\n/**\n * Get the highest satisfiying semantic version in `versions` which satisfies `versionSpec`\n *\n * @param versions array of versions to evaluate\n * @param versionSpec semantic version spec to satisfy\n */ function $41b0db1703236f02$var$evaluateVersions(versions, versionSpec) {\n let version = \"\";\n $41b0db1703236f02$var$core.debug(`evaluating ${versions.length} versions`);\n versions = versions.sort((a, b)=>{\n if ($41b0db1703236f02$var$semver.gt(a, b)) return 1;\n return -1;\n });\n for(let i = versions.length - 1; i >= 0; i--){\n const potential = versions[i];\n const satisfied = $41b0db1703236f02$var$semver.satisfies(potential, versionSpec);\n if (satisfied) {\n version = potential;\n break;\n }\n }\n if (version) $41b0db1703236f02$var$core.debug(`matched: ${version}`);\n else $41b0db1703236f02$var$core.debug(\"match not found\");\n return version;\n}\nmodule.exports.evaluateVersions = $41b0db1703236f02$var$evaluateVersions;\n/**\n * Gets RUNNER_TOOL_CACHE\n */ function $41b0db1703236f02$var$_getCacheDirectory() {\n const cacheDirectory = process.env[\"RUNNER_TOOL_CACHE\"] || \"\";\n $kC5q1$assert.ok(cacheDirectory, \"Expected RUNNER_TOOL_CACHE to be defined\");\n return cacheDirectory;\n}\n/**\n * Gets RUNNER_TEMP\n */ function $41b0db1703236f02$var$_getTempDirectory() {\n const tempDirectory = process.env[\"RUNNER_TEMP\"] || \"\";\n $kC5q1$assert.ok(tempDirectory, \"Expected RUNNER_TEMP to be defined\");\n return tempDirectory;\n}\n/**\n * Gets a global variable\n */ function $41b0db1703236f02$var$_getGlobal(key, defaultValue) {\n /* eslint-disable @typescript-eslint/no-explicit-any */ const value = $parcel$global[key];\n /* eslint-enable @typescript-eslint/no-explicit-any */ return value !== undefined ? value : defaultValue;\n}\n/**\n * Returns an array of unique values.\n * @param values Values to make unique.\n */ function $41b0db1703236f02$var$_unique(values) {\n return Array.from(new Set(values));\n}\n\n});\nparcelRegister(\"hzNJS\", function(module, exports) {\n\"use strict\";\nvar $ccbc49b1dee732d4$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $ccbc49b1dee732d4$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $ccbc49b1dee732d4$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $ccbc49b1dee732d4$var$__createBinding(result, mod, k);\n }\n $ccbc49b1dee732d4$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $ccbc49b1dee732d4$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports._readLinuxVersionFile = module.exports._getOsVersion = module.exports._findMatch = void 0;\n\nconst $ccbc49b1dee732d4$var$semver = $ccbc49b1dee732d4$var$__importStar((parcelRequire(\"4IOon\")));\n\nvar $1o3Gj = parcelRequire(\"1o3Gj\");\n\n\n\nfunction $ccbc49b1dee732d4$var$_findMatch(versionSpec, stable, candidates, archFilter) {\n return $ccbc49b1dee732d4$var$__awaiter(this, void 0, void 0, function*() {\n const platFilter = $kC5q1$os.platform();\n let result;\n let match;\n let file;\n for (const candidate of candidates){\n const version = candidate.version;\n $1o3Gj.debug(`check ${version} satisfies ${versionSpec}`);\n if ($ccbc49b1dee732d4$var$semver.satisfies(version, versionSpec) && (!stable || candidate.stable === stable)) {\n file = candidate.files.find((item)=>{\n $1o3Gj.debug(`${item.arch}===${archFilter} && ${item.platform}===${platFilter}`);\n let chk = item.arch === archFilter && item.platform === platFilter;\n if (chk && item.platform_version) {\n const osVersion = module.exports._getOsVersion();\n if (osVersion === item.platform_version) chk = true;\n else chk = $ccbc49b1dee732d4$var$semver.satisfies(osVersion, item.platform_version);\n }\n return chk;\n });\n if (file) {\n $1o3Gj.debug(`matched ${candidate.version}`);\n match = candidate;\n break;\n }\n }\n }\n if (match && file) {\n // clone since we're mutating the file list to be only the file that matches\n result = Object.assign({}, match);\n result.files = [\n file\n ];\n }\n return result;\n });\n}\nmodule.exports._findMatch = $ccbc49b1dee732d4$var$_findMatch;\nfunction $ccbc49b1dee732d4$var$_getOsVersion() {\n // TODO: add windows and other linux, arm variants\n // right now filtering on version is only an ubuntu and macos scenario for tools we build for hosted (python)\n const plat = $kC5q1$os.platform();\n let version = \"\";\n if (plat === \"darwin\") version = $kC5q1$child_process.execSync(\"sw_vers -productVersion\").toString();\n else if (plat === \"linux\") {\n // lsb_release process not in some containers, readfile\n // Run cat /etc/lsb-release\n // DISTRIB_ID=Ubuntu\n // DISTRIB_RELEASE=18.04\n // DISTRIB_CODENAME=bionic\n // DISTRIB_DESCRIPTION=\"Ubuntu 18.04.4 LTS\"\n const lsbContents = module.exports._readLinuxVersionFile();\n if (lsbContents) {\n const lines = lsbContents.split(\"\\n\");\n for (const line of lines){\n const parts = line.split(\"=\");\n if (parts.length === 2 && (parts[0].trim() === \"VERSION_ID\" || parts[0].trim() === \"DISTRIB_RELEASE\")) {\n version = parts[1].trim().replace(/^\"/, \"\").replace(/\"$/, \"\");\n break;\n }\n }\n }\n }\n return version;\n}\nmodule.exports._getOsVersion = $ccbc49b1dee732d4$var$_getOsVersion;\nfunction $ccbc49b1dee732d4$var$_readLinuxVersionFile() {\n const lsbReleaseFile = \"/etc/lsb-release\";\n const osReleaseFile = \"/etc/os-release\";\n let contents = \"\";\n if ($kC5q1$fs.existsSync(lsbReleaseFile)) contents = $kC5q1$fs.readFileSync(lsbReleaseFile).toString();\n else if ($kC5q1$fs.existsSync(osReleaseFile)) contents = $kC5q1$fs.readFileSync(osReleaseFile).toString();\n return contents;\n}\nmodule.exports._readLinuxVersionFile = $ccbc49b1dee732d4$var$_readLinuxVersionFile;\n\n});\nparcelRegister(\"4IOon\", function(module, exports) {\nexports = module.exports = SemVer;\nvar debug;\n/* istanbul ignore next */ if (typeof process === \"object\" && process.env && process.env.NODE_DEBUG && /\\bsemver\\b/i.test(process.env.NODE_DEBUG)) debug = function() {\n var args = Array.prototype.slice.call(arguments, 0);\n args.unshift(\"SEMVER\");\n console.log.apply(console, args);\n};\nelse debug = function() {};\n// Note: this is the semver.org version of the spec that it implements\n// Not necessarily the package version of this code.\nexports.SEMVER_SPEC_VERSION = \"2.0.0\";\nvar MAX_LENGTH = 256;\nvar MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER || /* istanbul ignore next */ 9007199254740991;\n// Max safe segment length for coercion.\nvar MAX_SAFE_COMPONENT_LENGTH = 16;\nvar MAX_SAFE_BUILD_LENGTH = MAX_LENGTH - 6;\n// The actual regexps go on exports.re\nvar re = exports.re = [];\nvar safeRe = exports.safeRe = [];\nvar src = exports.src = [];\nvar t = exports.tokens = {};\nvar R = 0;\nfunction tok(n) {\n t[n] = R++;\n}\nvar LETTERDASHNUMBER = \"[a-zA-Z0-9-]\";\n// Replace some greedy regex tokens to prevent regex dos issues. These regex are\n// used internally via the safeRe object since all inputs in this library get\n// normalized first to trim and collapse all extra whitespace. The original\n// regexes are exported for userland consumption and lower level usage. A\n// future breaking change could export the safer regex only with a note that\n// all input should have extra whitespace removed.\nvar safeRegexReplacements = [\n [\n \"\\\\s\",\n 1\n ],\n [\n \"\\\\d\",\n MAX_LENGTH\n ],\n [\n LETTERDASHNUMBER,\n MAX_SAFE_BUILD_LENGTH\n ]\n];\nfunction makeSafeRe(value) {\n for(var i = 0; i < safeRegexReplacements.length; i++){\n var token = safeRegexReplacements[i][0];\n var max = safeRegexReplacements[i][1];\n value = value.split(token + \"*\").join(token + \"{0,\" + max + \"}\").split(token + \"+\").join(token + \"{1,\" + max + \"}\");\n }\n return value;\n}\n// The following Regular Expressions can be used for tokenizing,\n// validating, and parsing SemVer version strings.\n// ## Numeric Identifier\n// A single `0`, or a non-zero digit followed by zero or more digits.\ntok(\"NUMERICIDENTIFIER\");\nsrc[t.NUMERICIDENTIFIER] = \"0|[1-9]\\\\d*\";\ntok(\"NUMERICIDENTIFIERLOOSE\");\nsrc[t.NUMERICIDENTIFIERLOOSE] = \"\\\\d+\";\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.\ntok(\"NONNUMERICIDENTIFIER\");\nsrc[t.NONNUMERICIDENTIFIER] = \"\\\\d*[a-zA-Z-]\" + LETTERDASHNUMBER + \"*\";\n// ## Main Version\n// Three dot-separated numeric identifiers.\ntok(\"MAINVERSION\");\nsrc[t.MAINVERSION] = \"(\" + src[t.NUMERICIDENTIFIER] + \")\\\\.\" + \"(\" + src[t.NUMERICIDENTIFIER] + \")\\\\.\" + \"(\" + src[t.NUMERICIDENTIFIER] + \")\";\ntok(\"MAINVERSIONLOOSE\");\nsrc[t.MAINVERSIONLOOSE] = \"(\" + src[t.NUMERICIDENTIFIERLOOSE] + \")\\\\.\" + \"(\" + src[t.NUMERICIDENTIFIERLOOSE] + \")\\\\.\" + \"(\" + src[t.NUMERICIDENTIFIERLOOSE] + \")\";\n// ## Pre-release Version Identifier\n// A numeric identifier, or a non-numeric identifier.\ntok(\"PRERELEASEIDENTIFIER\");\nsrc[t.PRERELEASEIDENTIFIER] = \"(?:\" + src[t.NUMERICIDENTIFIER] + \"|\" + src[t.NONNUMERICIDENTIFIER] + \")\";\ntok(\"PRERELEASEIDENTIFIERLOOSE\");\nsrc[t.PRERELEASEIDENTIFIERLOOSE] = \"(?:\" + src[t.NUMERICIDENTIFIERLOOSE] + \"|\" + src[t.NONNUMERICIDENTIFIER] + \")\";\n// ## Pre-release Version\n// Hyphen, followed by one or more dot-separated pre-release version\n// identifiers.\ntok(\"PRERELEASE\");\nsrc[t.PRERELEASE] = \"(?:-(\" + src[t.PRERELEASEIDENTIFIER] + \"(?:\\\\.\" + src[t.PRERELEASEIDENTIFIER] + \")*))\";\ntok(\"PRERELEASELOOSE\");\nsrc[t.PRERELEASELOOSE] = \"(?:-?(\" + src[t.PRERELEASEIDENTIFIERLOOSE] + \"(?:\\\\.\" + src[t.PRERELEASEIDENTIFIERLOOSE] + \")*))\";\n// ## Build Metadata Identifier\n// Any combination of digits, letters, or hyphens.\ntok(\"BUILDIDENTIFIER\");\nsrc[t.BUILDIDENTIFIER] = LETTERDASHNUMBER + \"+\";\n// ## Build Metadata\n// Plus sign, followed by one or more period-separated build metadata\n// identifiers.\ntok(\"BUILD\");\nsrc[t.BUILD] = \"(?:\\\\+(\" + src[t.BUILDIDENTIFIER] + \"(?:\\\\.\" + src[t.BUILDIDENTIFIER] + \")*))\";\n// ## Full Version String\n// A main version, followed optionally by a pre-release version and\n// build metadata.\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.\ntok(\"FULL\");\ntok(\"FULLPLAIN\");\nsrc[t.FULLPLAIN] = \"v?\" + src[t.MAINVERSION] + src[t.PRERELEASE] + \"?\" + src[t.BUILD] + \"?\";\nsrc[t.FULL] = \"^\" + src[t.FULLPLAIN] + \"$\";\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.\ntok(\"LOOSEPLAIN\");\nsrc[t.LOOSEPLAIN] = \"[v=\\\\s]*\" + src[t.MAINVERSIONLOOSE] + src[t.PRERELEASELOOSE] + \"?\" + src[t.BUILD] + \"?\";\ntok(\"LOOSE\");\nsrc[t.LOOSE] = \"^\" + src[t.LOOSEPLAIN] + \"$\";\ntok(\"GTLT\");\nsrc[t.GTLT] = \"((?:<|>)?=?)\";\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.\ntok(\"XRANGEIDENTIFIERLOOSE\");\nsrc[t.XRANGEIDENTIFIERLOOSE] = src[t.NUMERICIDENTIFIERLOOSE] + \"|x|X|\\\\*\";\ntok(\"XRANGEIDENTIFIER\");\nsrc[t.XRANGEIDENTIFIER] = src[t.NUMERICIDENTIFIER] + \"|x|X|\\\\*\";\ntok(\"XRANGEPLAIN\");\nsrc[t.XRANGEPLAIN] = \"[v=\\\\s]*(\" + src[t.XRANGEIDENTIFIER] + \")\" + \"(?:\\\\.(\" + src[t.XRANGEIDENTIFIER] + \")\" + \"(?:\\\\.(\" + src[t.XRANGEIDENTIFIER] + \")\" + \"(?:\" + src[t.PRERELEASE] + \")?\" + src[t.BUILD] + \"?\" + \")?)?\";\ntok(\"XRANGEPLAINLOOSE\");\nsrc[t.XRANGEPLAINLOOSE] = \"[v=\\\\s]*(\" + src[t.XRANGEIDENTIFIERLOOSE] + \")\" + \"(?:\\\\.(\" + src[t.XRANGEIDENTIFIERLOOSE] + \")\" + \"(?:\\\\.(\" + src[t.XRANGEIDENTIFIERLOOSE] + \")\" + \"(?:\" + src[t.PRERELEASELOOSE] + \")?\" + src[t.BUILD] + \"?\" + \")?)?\";\ntok(\"XRANGE\");\nsrc[t.XRANGE] = \"^\" + src[t.GTLT] + \"\\\\s*\" + src[t.XRANGEPLAIN] + \"$\";\ntok(\"XRANGELOOSE\");\nsrc[t.XRANGELOOSE] = \"^\" + src[t.GTLT] + \"\\\\s*\" + src[t.XRANGEPLAINLOOSE] + \"$\";\n// Coercion.\n// Extract anything that could conceivably be a part of a valid semver\ntok(\"COERCE\");\nsrc[t.COERCE] = \"(^|[^\\\\d])(\\\\d{1,\" + MAX_SAFE_COMPONENT_LENGTH + \"})\" + \"(?:\\\\.(\\\\d{1,\" + MAX_SAFE_COMPONENT_LENGTH + \"}))?\" + \"(?:\\\\.(\\\\d{1,\" + MAX_SAFE_COMPONENT_LENGTH + \"}))?\" + \"(?:$|[^\\\\d])\";\ntok(\"COERCERTL\");\nre[t.COERCERTL] = new RegExp(src[t.COERCE], \"g\");\nsafeRe[t.COERCERTL] = new RegExp(makeSafeRe(src[t.COERCE]), \"g\");\n// Tilde ranges.\n// Meaning is \"reasonably at or greater than\"\ntok(\"LONETILDE\");\nsrc[t.LONETILDE] = \"(?:~>?)\";\ntok(\"TILDETRIM\");\nsrc[t.TILDETRIM] = \"(\\\\s*)\" + src[t.LONETILDE] + \"\\\\s+\";\nre[t.TILDETRIM] = new RegExp(src[t.TILDETRIM], \"g\");\nsafeRe[t.TILDETRIM] = new RegExp(makeSafeRe(src[t.TILDETRIM]), \"g\");\nvar tildeTrimReplace = \"$1~\";\ntok(\"TILDE\");\nsrc[t.TILDE] = \"^\" + src[t.LONETILDE] + src[t.XRANGEPLAIN] + \"$\";\ntok(\"TILDELOOSE\");\nsrc[t.TILDELOOSE] = \"^\" + src[t.LONETILDE] + src[t.XRANGEPLAINLOOSE] + \"$\";\n// Caret ranges.\n// Meaning is \"at least and backwards compatible with\"\ntok(\"LONECARET\");\nsrc[t.LONECARET] = \"(?:\\\\^)\";\ntok(\"CARETTRIM\");\nsrc[t.CARETTRIM] = \"(\\\\s*)\" + src[t.LONECARET] + \"\\\\s+\";\nre[t.CARETTRIM] = new RegExp(src[t.CARETTRIM], \"g\");\nsafeRe[t.CARETTRIM] = new RegExp(makeSafeRe(src[t.CARETTRIM]), \"g\");\nvar caretTrimReplace = \"$1^\";\ntok(\"CARET\");\nsrc[t.CARET] = \"^\" + src[t.LONECARET] + src[t.XRANGEPLAIN] + \"$\";\ntok(\"CARETLOOSE\");\nsrc[t.CARETLOOSE] = \"^\" + src[t.LONECARET] + src[t.XRANGEPLAINLOOSE] + \"$\";\n// A simple gt/lt/eq thing, or just \"\" to indicate \"any version\"\ntok(\"COMPARATORLOOSE\");\nsrc[t.COMPARATORLOOSE] = \"^\" + src[t.GTLT] + \"\\\\s*(\" + src[t.LOOSEPLAIN] + \")$|^$\";\ntok(\"COMPARATOR\");\nsrc[t.COMPARATOR] = \"^\" + src[t.GTLT] + \"\\\\s*(\" + src[t.FULLPLAIN] + \")$|^$\";\n// An expression to strip any whitespace between the gtlt and the thing\n// it modifies, so that `> 1.2.3` ==> `>1.2.3`\ntok(\"COMPARATORTRIM\");\nsrc[t.COMPARATORTRIM] = \"(\\\\s*)\" + src[t.GTLT] + \"\\\\s*(\" + src[t.LOOSEPLAIN] + \"|\" + src[t.XRANGEPLAIN] + \")\";\n// this one has to use the /g flag\nre[t.COMPARATORTRIM] = new RegExp(src[t.COMPARATORTRIM], \"g\");\nsafeRe[t.COMPARATORTRIM] = new RegExp(makeSafeRe(src[t.COMPARATORTRIM]), \"g\");\nvar comparatorTrimReplace = \"$1$2$3\";\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.\ntok(\"HYPHENRANGE\");\nsrc[t.HYPHENRANGE] = \"^\\\\s*(\" + src[t.XRANGEPLAIN] + \")\" + \"\\\\s+-\\\\s+\" + \"(\" + src[t.XRANGEPLAIN] + \")\" + \"\\\\s*$\";\ntok(\"HYPHENRANGELOOSE\");\nsrc[t.HYPHENRANGELOOSE] = \"^\\\\s*(\" + src[t.XRANGEPLAINLOOSE] + \")\" + \"\\\\s+-\\\\s+\" + \"(\" + src[t.XRANGEPLAINLOOSE] + \")\" + \"\\\\s*$\";\n// Star ranges basically just allow anything at all.\ntok(\"STAR\");\nsrc[t.STAR] = \"(<|>)?=?\\\\s*\\\\*\";\n// Compile to actual regexp objects.\n// All are flag-free, unless they were created above with a flag.\nfor(var i = 0; i < R; i++){\n debug(i, src[i]);\n if (!re[i]) {\n re[i] = new RegExp(src[i]);\n // Replace all greedy whitespace to prevent regex dos issues. These regex are\n // used internally via the safeRe object since all inputs in this library get\n // normalized first to trim and collapse all extra whitespace. The original\n // regexes are exported for userland consumption and lower level usage. A\n // future breaking change could export the safer regex only with a note that\n // all input should have extra whitespace removed.\n safeRe[i] = new RegExp(makeSafeRe(src[i]));\n }\n}\nexports.parse = parse;\nfunction parse(version, options) {\n if (!options || typeof options !== \"object\") options = {\n loose: !!options,\n includePrerelease: false\n };\n if (version instanceof SemVer) return version;\n if (typeof version !== \"string\") return null;\n if (version.length > MAX_LENGTH) return null;\n var r = options.loose ? safeRe[t.LOOSE] : safeRe[t.FULL];\n if (!r.test(version)) return null;\n try {\n return new SemVer(version, options);\n } catch (er) {\n return null;\n }\n}\nexports.valid = valid;\nfunction valid(version, options) {\n var v = parse(version, options);\n return v ? v.version : null;\n}\nexports.clean = clean;\nfunction clean(version, options) {\n var s = parse(version.trim().replace(/^[=v]+/, \"\"), options);\n return s ? s.version : null;\n}\nexports.SemVer = SemVer;\nfunction SemVer(version, options) {\n if (!options || typeof options !== \"object\") options = {\n loose: !!options,\n includePrerelease: false\n };\n if (version instanceof SemVer) {\n if (version.loose === options.loose) return version;\n else version = version.version;\n } else if (typeof version !== \"string\") throw new TypeError(\"Invalid Version: \" + version);\n if (version.length > MAX_LENGTH) throw new TypeError(\"version is longer than \" + MAX_LENGTH + \" characters\");\n if (!(this instanceof SemVer)) return new SemVer(version, options);\n debug(\"SemVer\", version, options);\n this.options = options;\n this.loose = !!options.loose;\n var m = version.trim().match(options.loose ? safeRe[t.LOOSE] : safeRe[t.FULL]);\n if (!m) throw new TypeError(\"Invalid Version: \" + version);\n this.raw = version;\n // these are actually numbers\n this.major = +m[1];\n this.minor = +m[2];\n this.patch = +m[3];\n if (this.major > MAX_SAFE_INTEGER || this.major < 0) throw new TypeError(\"Invalid major version\");\n if (this.minor > MAX_SAFE_INTEGER || this.minor < 0) throw new TypeError(\"Invalid minor version\");\n if (this.patch > MAX_SAFE_INTEGER || this.patch < 0) throw new TypeError(\"Invalid patch version\");\n // numberify any prerelease numeric ids\n if (!m[4]) this.prerelease = [];\n else this.prerelease = m[4].split(\".\").map(function(id) {\n if (/^[0-9]+$/.test(id)) {\n var num = +id;\n if (num >= 0 && num < MAX_SAFE_INTEGER) return num;\n }\n return id;\n });\n this.build = m[5] ? m[5].split(\".\") : [];\n this.format();\n}\nSemVer.prototype.format = function() {\n this.version = this.major + \".\" + this.minor + \".\" + this.patch;\n if (this.prerelease.length) this.version += \"-\" + this.prerelease.join(\".\");\n return this.version;\n};\nSemVer.prototype.toString = function() {\n return this.version;\n};\nSemVer.prototype.compare = function(other) {\n debug(\"SemVer.compare\", this.version, this.options, other);\n if (!(other instanceof SemVer)) other = new SemVer(other, this.options);\n return this.compareMain(other) || this.comparePre(other);\n};\nSemVer.prototype.compareMain = function(other) {\n if (!(other instanceof SemVer)) other = new SemVer(other, this.options);\n return compareIdentifiers(this.major, other.major) || compareIdentifiers(this.minor, other.minor) || compareIdentifiers(this.patch, other.patch);\n};\nSemVer.prototype.comparePre = function(other) {\n if (!(other instanceof SemVer)) other = new SemVer(other, this.options);\n // NOT having a prerelease is > having one\n if (this.prerelease.length && !other.prerelease.length) return -1;\n else if (!this.prerelease.length && other.prerelease.length) return 1;\n else if (!this.prerelease.length && !other.prerelease.length) return 0;\n var i = 0;\n do {\n var a = this.prerelease[i];\n var b = other.prerelease[i];\n debug(\"prerelease compare\", i, a, b);\n if (a === undefined && b === undefined) return 0;\n else if (b === undefined) return 1;\n else if (a === undefined) return -1;\n else if (a === b) continue;\n else return compareIdentifiers(a, b);\n }while (++i);\n};\nSemVer.prototype.compareBuild = function(other) {\n if (!(other instanceof SemVer)) other = new SemVer(other, this.options);\n var i = 0;\n do {\n var a = this.build[i];\n var b = other.build[i];\n debug(\"prerelease compare\", i, a, b);\n if (a === undefined && b === undefined) return 0;\n else if (b === undefined) return 1;\n else if (a === undefined) return -1;\n else if (a === b) continue;\n else return compareIdentifiers(a, b);\n }while (++i);\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.\nSemVer.prototype.inc = function(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) this.inc(\"patch\", identifier);\n this.inc(\"pre\", identifier);\n break;\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 (this.minor !== 0 || this.patch !== 0 || this.prerelease.length === 0) this.major++;\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) this.minor++;\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) this.patch++;\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) this.prerelease = [\n 0\n ];\n else {\n var i = this.prerelease.length;\n while(--i >= 0)if (typeof this.prerelease[i] === \"number\") {\n this.prerelease[i]++;\n i = -2;\n }\n if (i === -1) // didn't increment anything\n this.prerelease.push(0);\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 (this.prerelease[0] === identifier) {\n if (isNaN(this.prerelease[1])) this.prerelease = [\n identifier,\n 0\n ];\n } else this.prerelease = [\n identifier,\n 0\n ];\n }\n break;\n default:\n throw new Error(\"invalid increment argument: \" + release);\n }\n this.format();\n this.raw = this.version;\n return this;\n};\nexports.inc = inc;\nfunction inc(version, release, loose, identifier) {\n if (typeof loose === \"string\") {\n identifier = loose;\n loose = undefined;\n }\n try {\n return new SemVer(version, loose).inc(release, identifier).version;\n } catch (er) {\n return null;\n }\n}\nexports.diff = diff;\nfunction diff(version1, version2) {\n if (eq(version1, version2)) return null;\n else {\n var v1 = parse(version1);\n var v2 = parse(version2);\n var prefix = \"\";\n if (v1.prerelease.length || v2.prerelease.length) {\n prefix = \"pre\";\n var defaultResult = \"prerelease\";\n }\n for(var key in v1)if (key === \"major\" || key === \"minor\" || key === \"patch\") {\n if (v1[key] !== v2[key]) return prefix + key;\n }\n return defaultResult // may be undefined\n ;\n }\n}\nexports.compareIdentifiers = compareIdentifiers;\nvar numeric = /^[0-9]+$/;\nfunction compareIdentifiers(a, b) {\n var anum = numeric.test(a);\n var bnum = numeric.test(b);\n if (anum && bnum) {\n a = +a;\n b = +b;\n }\n return a === b ? 0 : anum && !bnum ? -1 : bnum && !anum ? 1 : a < b ? -1 : 1;\n}\nexports.rcompareIdentifiers = rcompareIdentifiers;\nfunction rcompareIdentifiers(a, b) {\n return compareIdentifiers(b, a);\n}\nexports.major = major;\nfunction major(a, loose) {\n return new SemVer(a, loose).major;\n}\nexports.minor = minor;\nfunction minor(a, loose) {\n return new SemVer(a, loose).minor;\n}\nexports.patch = patch;\nfunction patch(a, loose) {\n return new SemVer(a, loose).patch;\n}\nexports.compare = compare;\nfunction compare(a, b, loose) {\n return new SemVer(a, loose).compare(new SemVer(b, loose));\n}\nexports.compareLoose = compareLoose;\nfunction compareLoose(a, b) {\n return compare(a, b, true);\n}\nexports.compareBuild = compareBuild;\nfunction compareBuild(a, b, loose) {\n var versionA = new SemVer(a, loose);\n var versionB = new SemVer(b, loose);\n return versionA.compare(versionB) || versionA.compareBuild(versionB);\n}\nexports.rcompare = rcompare;\nfunction rcompare(a, b, loose) {\n return compare(b, a, loose);\n}\nexports.sort = sort;\nfunction sort(list, loose) {\n return list.sort(function(a, b) {\n return exports.compareBuild(a, b, loose);\n });\n}\nexports.rsort = rsort;\nfunction rsort(list, loose) {\n return list.sort(function(a, b) {\n return exports.compareBuild(b, a, loose);\n });\n}\nexports.gt = gt;\nfunction gt(a, b, loose) {\n return compare(a, b, loose) > 0;\n}\nexports.lt = lt;\nfunction lt(a, b, loose) {\n return compare(a, b, loose) < 0;\n}\nexports.eq = eq;\nfunction eq(a, b, loose) {\n return compare(a, b, loose) === 0;\n}\nexports.neq = neq;\nfunction neq(a, b, loose) {\n return compare(a, b, loose) !== 0;\n}\nexports.gte = gte;\nfunction gte(a, b, loose) {\n return compare(a, b, loose) >= 0;\n}\nexports.lte = lte;\nfunction lte(a, b, loose) {\n return compare(a, b, loose) <= 0;\n}\nexports.cmp = cmp;\nfunction cmp(a, op, b, loose) {\n switch(op){\n case \"===\":\n if (typeof a === \"object\") a = a.version;\n if (typeof b === \"object\") b = b.version;\n return a === b;\n case \"!==\":\n if (typeof a === \"object\") a = a.version;\n if (typeof b === \"object\") b = b.version;\n return a !== b;\n case \"\":\n case \"=\":\n case \"==\":\n return eq(a, b, loose);\n case \"!=\":\n return neq(a, b, loose);\n case \">\":\n return gt(a, b, loose);\n case \">=\":\n return gte(a, b, loose);\n case \"<\":\n return lt(a, b, loose);\n case \"<=\":\n return lte(a, b, loose);\n default:\n throw new TypeError(\"Invalid operator: \" + op);\n }\n}\nexports.Comparator = Comparator;\nfunction Comparator(comp, options) {\n if (!options || typeof options !== \"object\") options = {\n loose: !!options,\n includePrerelease: false\n };\n if (comp instanceof Comparator) {\n if (comp.loose === !!options.loose) return comp;\n else comp = comp.value;\n }\n if (!(this instanceof Comparator)) return new Comparator(comp, options);\n comp = comp.trim().split(/\\s+/).join(\" \");\n debug(\"comparator\", comp, options);\n this.options = options;\n this.loose = !!options.loose;\n this.parse(comp);\n if (this.semver === ANY) this.value = \"\";\n else this.value = this.operator + this.semver.version;\n debug(\"comp\", this);\n}\nvar ANY = {};\nComparator.prototype.parse = function(comp) {\n var r = this.options.loose ? safeRe[t.COMPARATORLOOSE] : safeRe[t.COMPARATOR];\n var m = comp.match(r);\n if (!m) throw new TypeError(\"Invalid comparator: \" + comp);\n this.operator = m[1] !== undefined ? m[1] : \"\";\n if (this.operator === \"=\") this.operator = \"\";\n // if it literally is just '>' or '' then allow anything.\n if (!m[2]) this.semver = ANY;\n else this.semver = new SemVer(m[2], this.options.loose);\n};\nComparator.prototype.toString = function() {\n return this.value;\n};\nComparator.prototype.test = function(version) {\n debug(\"Comparator.test\", version, this.options.loose);\n if (this.semver === ANY || version === ANY) return true;\n if (typeof version === \"string\") try {\n version = new SemVer(version, this.options);\n } catch (er) {\n return false;\n }\n return cmp(version, this.operator, this.semver, this.options);\n};\nComparator.prototype.intersects = function(comp, options) {\n if (!(comp instanceof Comparator)) throw new TypeError(\"a Comparator is required\");\n if (!options || typeof options !== \"object\") options = {\n loose: !!options,\n includePrerelease: false\n };\n var rangeTmp;\n if (this.operator === \"\") {\n if (this.value === \"\") return true;\n rangeTmp = new Range(comp.value, options);\n return satisfies(this.value, rangeTmp, options);\n } else if (comp.operator === \"\") {\n if (comp.value === \"\") return true;\n rangeTmp = new Range(this.value, options);\n return satisfies(comp.semver, rangeTmp, options);\n }\n var sameDirectionIncreasing = (this.operator === \">=\" || this.operator === \">\") && (comp.operator === \">=\" || comp.operator === \">\");\n var sameDirectionDecreasing = (this.operator === \"<=\" || this.operator === \"<\") && (comp.operator === \"<=\" || comp.operator === \"<\");\n var sameSemVer = this.semver.version === comp.semver.version;\n var differentDirectionsInclusive = (this.operator === \">=\" || this.operator === \"<=\") && (comp.operator === \">=\" || comp.operator === \"<=\");\n var oppositeDirectionsLessThan = cmp(this.semver, \"<\", comp.semver, options) && (this.operator === \">=\" || this.operator === \">\") && (comp.operator === \"<=\" || comp.operator === \"<\");\n var oppositeDirectionsGreaterThan = cmp(this.semver, \">\", comp.semver, options) && (this.operator === \"<=\" || this.operator === \"<\") && (comp.operator === \">=\" || comp.operator === \">\");\n return sameDirectionIncreasing || sameDirectionDecreasing || sameSemVer && differentDirectionsInclusive || oppositeDirectionsLessThan || oppositeDirectionsGreaterThan;\n};\nexports.Range = Range;\nfunction Range(range, options) {\n if (!options || typeof options !== \"object\") options = {\n loose: !!options,\n includePrerelease: false\n };\n if (range instanceof Range) {\n if (range.loose === !!options.loose && range.includePrerelease === !!options.includePrerelease) return range;\n else return new Range(range.raw, options);\n }\n if (range instanceof Comparator) return new Range(range.value, options);\n if (!(this instanceof Range)) return new Range(range, options);\n this.options = options;\n this.loose = !!options.loose;\n this.includePrerelease = !!options.includePrerelease;\n // First reduce all whitespace as much as possible so we do not have to rely\n // on potentially slow regexes like \\s*. This is then stored and used for\n // future error messages as well.\n this.raw = range.trim().split(/\\s+/).join(\" \");\n // First, split based on boolean or ||\n this.set = this.raw.split(\"||\").map(function(range) {\n return this.parseRange(range.trim());\n }, this).filter(function(c) {\n // throw out any that are not relevant for whatever reason\n return c.length;\n });\n if (!this.set.length) throw new TypeError(\"Invalid SemVer Range: \" + this.raw);\n this.format();\n}\nRange.prototype.format = function() {\n this.range = this.set.map(function(comps) {\n return comps.join(\" \").trim();\n }).join(\"||\").trim();\n return this.range;\n};\nRange.prototype.toString = function() {\n return this.range;\n};\nRange.prototype.parseRange = function(range) {\n var loose = this.options.loose;\n // `1.2.3 - 1.2.4` => `>=1.2.3 <=1.2.4`\n var hr = loose ? safeRe[t.HYPHENRANGELOOSE] : safeRe[t.HYPHENRANGE];\n range = range.replace(hr, hyphenReplace);\n debug(\"hyphen replace\", range);\n // `> 1.2.3 < 1.2.5` => `>1.2.3 <1.2.5`\n range = range.replace(safeRe[t.COMPARATORTRIM], comparatorTrimReplace);\n debug(\"comparator trim\", range, safeRe[t.COMPARATORTRIM]);\n // `~ 1.2.3` => `~1.2.3`\n range = range.replace(safeRe[t.TILDETRIM], tildeTrimReplace);\n // `^ 1.2.3` => `^1.2.3`\n range = range.replace(safeRe[t.CARETTRIM], caretTrimReplace);\n // normalize spaces\n range = range.split(/\\s+/).join(\" \");\n // At this point, the range is completely trimmed and\n // ready to be split into comparators.\n var compRe = loose ? safeRe[t.COMPARATORLOOSE] : safeRe[t.COMPARATOR];\n var set = range.split(\" \").map(function(comp) {\n return parseComparator(comp, this.options);\n }, this).join(\" \").split(/\\s+/);\n if (this.options.loose) // in loose mode, throw out any that are not valid comparators\n set = set.filter(function(comp) {\n return !!comp.match(compRe);\n });\n set = set.map(function(comp) {\n return new Comparator(comp, this.options);\n }, this);\n return set;\n};\nRange.prototype.intersects = function(range, options) {\n if (!(range instanceof Range)) throw new TypeError(\"a Range is required\");\n return this.set.some(function(thisComparators) {\n return isSatisfiable(thisComparators, options) && range.set.some(function(rangeComparators) {\n return isSatisfiable(rangeComparators, options) && thisComparators.every(function(thisComparator) {\n return rangeComparators.every(function(rangeComparator) {\n return thisComparator.intersects(rangeComparator, options);\n });\n });\n });\n });\n};\n// take a set of comparators and determine whether there\n// exists a version which can satisfy it\nfunction isSatisfiable(comparators, options) {\n var result = true;\n var remainingComparators = comparators.slice();\n var testComparator = remainingComparators.pop();\n while(result && remainingComparators.length){\n result = remainingComparators.every(function(otherComparator) {\n return testComparator.intersects(otherComparator, options);\n });\n testComparator = remainingComparators.pop();\n }\n return result;\n}\n// Mostly just for testing and legacy API reasons\nexports.toComparators = toComparators;\nfunction toComparators(range, options) {\n return new Range(range, options).set.map(function(comp) {\n return comp.map(function(c) {\n return c.value;\n }).join(\" \").trim().split(\" \");\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.\nfunction 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}\nfunction isX(id) {\n return !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\n// ~2.0, ~2.0.x, ~>2.0, ~>2.0.x --> >=2.0.0 <2.1.0\n// ~1.2, ~1.2.x, ~>1.2, ~>1.2.x --> >=1.2.0 <1.3.0\n// ~1.2.3, ~>1.2.3 --> >=1.2.3 <1.3.0\n// ~1.2.0, ~>1.2.0 --> >=1.2.0 <1.3.0\nfunction replaceTildes(comp, options) {\n return comp.trim().split(/\\s+/).map(function(comp) {\n return replaceTilde(comp, options);\n }).join(\" \");\n}\nfunction replaceTilde(comp, options) {\n var r = options.loose ? safeRe[t.TILDELOOSE] : safeRe[t.TILDE];\n return comp.replace(r, function(_, M, m, p, pr) {\n debug(\"tilde\", comp, _, M, m, p, pr);\n var ret;\n if (isX(M)) ret = \"\";\n else if (isX(m)) ret = \">=\" + M + \".0.0 <\" + (+M + 1) + \".0.0\";\n else if (isX(p)) // ~1.2 == >=1.2.0 <1.3.0\n ret = \">=\" + M + \".\" + m + \".0 <\" + M + \".\" + (+m + 1) + \".0\";\n else if (pr) {\n debug(\"replaceTilde pr\", pr);\n ret = \">=\" + M + \".\" + m + \".\" + p + \"-\" + pr + \" <\" + M + \".\" + (+m + 1) + \".0\";\n } else // ~1.2.3 == >=1.2.3 <1.3.0\n ret = \">=\" + M + \".\" + m + \".\" + p + \" <\" + M + \".\" + (+m + 1) + \".0\";\n debug(\"tilde return\", ret);\n return ret;\n });\n}\n// ^ --> * (any, kinda silly)\n// ^2, ^2.x, ^2.x.x --> >=2.0.0 <3.0.0\n// ^2.0, ^2.0.x --> >=2.0.0 <3.0.0\n// ^1.2, ^1.2.x --> >=1.2.0 <2.0.0\n// ^1.2.3 --> >=1.2.3 <2.0.0\n// ^1.2.0 --> >=1.2.0 <2.0.0\nfunction replaceCarets(comp, options) {\n return comp.trim().split(/\\s+/).map(function(comp) {\n return replaceCaret(comp, options);\n }).join(\" \");\n}\nfunction replaceCaret(comp, options) {\n debug(\"caret\", comp, options);\n var r = options.loose ? safeRe[t.CARETLOOSE] : safeRe[t.CARET];\n return comp.replace(r, function(_, M, m, p, pr) {\n debug(\"caret\", comp, _, M, m, p, pr);\n var ret;\n if (isX(M)) ret = \"\";\n else if (isX(m)) ret = \">=\" + M + \".0.0 <\" + (+M + 1) + \".0.0\";\n else if (isX(p)) {\n if (M === \"0\") ret = \">=\" + M + \".\" + m + \".0 <\" + M + \".\" + (+m + 1) + \".0\";\n else ret = \">=\" + M + \".\" + m + \".0 <\" + (+M + 1) + \".0.0\";\n } else if (pr) {\n debug(\"replaceCaret pr\", pr);\n if (M === \"0\") {\n if (m === \"0\") ret = \">=\" + M + \".\" + m + \".\" + p + \"-\" + pr + \" <\" + M + \".\" + m + \".\" + (+p + 1);\n else ret = \">=\" + M + \".\" + m + \".\" + p + \"-\" + pr + \" <\" + M + \".\" + (+m + 1) + \".0\";\n } else ret = \">=\" + M + \".\" + m + \".\" + p + \"-\" + pr + \" <\" + (+M + 1) + \".0.0\";\n } else {\n debug(\"no pr\");\n if (M === \"0\") {\n if (m === \"0\") ret = \">=\" + M + \".\" + m + \".\" + p + \" <\" + M + \".\" + m + \".\" + (+p + 1);\n else ret = \">=\" + M + \".\" + m + \".\" + p + \" <\" + M + \".\" + (+m + 1) + \".0\";\n } else ret = \">=\" + M + \".\" + m + \".\" + p + \" <\" + (+M + 1) + \".0.0\";\n }\n debug(\"caret return\", ret);\n return ret;\n });\n}\nfunction replaceXRanges(comp, options) {\n debug(\"replaceXRanges\", comp, options);\n return comp.split(/\\s+/).map(function(comp) {\n return replaceXRange(comp, options);\n }).join(\" \");\n}\nfunction replaceXRange(comp, options) {\n comp = comp.trim();\n var r = options.loose ? safeRe[t.XRANGELOOSE] : safeRe[t.XRANGE];\n return comp.replace(r, function(ret, gtlt, M, m, p, pr) {\n debug(\"xRange\", comp, ret, gtlt, M, m, p, pr);\n var xM = isX(M);\n var xm = xM || isX(m);\n var xp = xm || isX(p);\n var anyX = xp;\n if (gtlt === \"=\" && anyX) gtlt = \"\";\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 if (xM) {\n if (gtlt === \">\" || gtlt === \"<\") // nothing is allowed\n ret = \"<0.0.0-0\";\n else // nothing is forbidden\n ret = \"*\";\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) m = 0;\n p = 0;\n if (gtlt === \">\") {\n // >1 => >=2.0.0\n // >1.2 => >=1.3.0\n // >1.2.3 => >= 1.2.4\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) M = +M + 1;\n else m = +m + 1;\n }\n ret = gtlt + M + \".\" + m + \".\" + p + pr;\n } else if (xm) ret = \">=\" + M + \".0.0\" + pr + \" <\" + (+M + 1) + \".0.0\" + pr;\n else if (xp) ret = \">=\" + M + \".\" + m + \".0\" + pr + \" <\" + M + \".\" + (+m + 1) + \".0\" + pr;\n debug(\"xRange return\", ret);\n return ret;\n });\n}\n// Because * is AND-ed with everything else in the comparator,\n// and '' means \"any version\", just remove the *s entirely.\nfunction 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(safeRe[t.STAR], \"\");\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 Any 3.4.x will do\n// 1.2 - 3.4 => >=1.2.0 <3.5.0\nfunction hyphenReplace($0, from, fM, fm, fp, fpr, fb, to, tM, tm, tp, tpr, tb) {\n if (isX(fM)) from = \"\";\n else if (isX(fm)) from = \">=\" + fM + \".0.0\";\n else if (isX(fp)) from = \">=\" + fM + \".\" + fm + \".0\";\n else from = \">=\" + from;\n if (isX(tM)) to = \"\";\n else if (isX(tm)) to = \"<\" + (+tM + 1) + \".0.0\";\n else if (isX(tp)) to = \"<\" + tM + \".\" + (+tm + 1) + \".0\";\n else if (tpr) to = \"<=\" + tM + \".\" + tm + \".\" + tp + \"-\" + tpr;\n else to = \"<=\" + to;\n return (from + \" \" + to).trim();\n}\n// if ANY of the sets match ALL of its comparators, then pass\nRange.prototype.test = function(version) {\n if (!version) return false;\n if (typeof version === \"string\") try {\n version = new SemVer(version, this.options);\n } catch (er) {\n return false;\n }\n for(var i = 0; i < this.set.length; i++){\n if (testSet(this.set[i], version, this.options)) return true;\n }\n return false;\n};\nfunction testSet(set, version, options) {\n for(var i = 0; i < set.length; i++){\n if (!set[i].test(version)) return false;\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(i = 0; i < set.length; i++){\n debug(set[i].semver);\n if (set[i].semver === ANY) continue;\n if (set[i].semver.prerelease.length > 0) {\n var allowed = set[i].semver;\n if (allowed.major === version.major && allowed.minor === version.minor && allowed.patch === version.patch) return true;\n }\n }\n // Version has a -pre, but it's not one of the ones we like.\n return false;\n }\n return true;\n}\nexports.satisfies = satisfies;\nfunction 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}\nexports.maxSatisfying = maxSatisfying;\nfunction maxSatisfying(versions, range, options) {\n var max = null;\n var maxSV = null;\n try {\n var rangeObj = new Range(range, options);\n } catch (er) {\n return null;\n }\n versions.forEach(function(v) {\n if (rangeObj.test(v)) // satisfies(v, range, options)\n {\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}\nexports.minSatisfying = minSatisfying;\nfunction minSatisfying(versions, range, options) {\n var min = null;\n var minSV = null;\n try {\n var rangeObj = new Range(range, options);\n } catch (er) {\n return null;\n }\n versions.forEach(function(v) {\n if (rangeObj.test(v)) // satisfies(v, range, options)\n {\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}\nexports.minVersion = minVersion;\nfunction minVersion(range, loose) {\n range = new Range(range, loose);\n var minver = new SemVer(\"0.0.0\");\n if (range.test(minver)) return minver;\n minver = new SemVer(\"0.0.0-0\");\n if (range.test(minver)) return minver;\n minver = null;\n for(var i = 0; i < range.set.length; ++i){\n var comparators = range.set[i];\n comparators.forEach(function(comparator) {\n // Clone to avoid manipulating the comparator's semver object.\n var compver = new SemVer(comparator.semver.version);\n switch(comparator.operator){\n case \">\":\n if (compver.prerelease.length === 0) compver.patch++;\n else compver.prerelease.push(0);\n compver.raw = compver.format();\n /* fallthrough */ case \"\":\n case \">=\":\n if (!minver || gt(minver, compver)) minver = compver;\n break;\n case \"<\":\n case \"<=\":\n break;\n /* istanbul ignore next */ default:\n throw new Error(\"Unexpected operation: \" + comparator.operator);\n }\n });\n }\n if (minver && range.test(minver)) return minver;\n return null;\n}\nexports.validRange = validRange;\nfunction 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}\n// Determine if version is less than all the versions possible in the range\nexports.ltr = ltr;\nfunction ltr(version, range, options) {\n return outside(version, range, \"<\", options);\n}\n// Determine if version is greater than all the versions possible in the range.\nexports.gtr = gtr;\nfunction gtr(version, range, options) {\n return outside(version, range, \">\", options);\n}\nexports.outside = outside;\nfunction outside(version, range, hilo, options) {\n version = new SemVer(version, options);\n range = new Range(range, options);\n var 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 // If it satisifes the range it is not outside\n if (satisfies(version, range, options)) return false;\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 for(var i = 0; i < range.set.length; ++i){\n var comparators = range.set[i];\n var high = null;\n var low = null;\n comparators.forEach(function(comparator) {\n if (comparator.semver === ANY) comparator = new Comparator(\">=0.0.0\");\n high = high || comparator;\n low = low || comparator;\n if (gtfn(comparator.semver, high.semver, options)) high = comparator;\n else if (ltfn(comparator.semver, low.semver, options)) low = comparator;\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) return false;\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) && ltefn(version, low.semver)) return false;\n else if (low.operator === ecomp && ltfn(version, low.semver)) return false;\n }\n return true;\n}\nexports.prerelease = prerelease;\nfunction prerelease(version, options) {\n var parsed = parse(version, options);\n return parsed && parsed.prerelease.length ? parsed.prerelease : null;\n}\nexports.intersects = intersects;\nfunction intersects(r1, r2, options) {\n r1 = new Range(r1, options);\n r2 = new Range(r2, options);\n return r1.intersects(r2);\n}\nexports.coerce = coerce;\nfunction coerce(version, options) {\n if (version instanceof SemVer) return version;\n if (typeof version === \"number\") version = String(version);\n if (typeof version !== \"string\") return null;\n options = options || {};\n var match = null;\n if (!options.rtl) match = version.match(safeRe[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 var next;\n while((next = safeRe[t.COERCERTL].exec(version)) && (!match || match.index + match[0].length !== version.length)){\n if (!match || next.index + next[0].length !== match.index + match[0].length) match = next;\n safeRe[t.COERCERTL].lastIndex = next.index + next[1].length + next[2].length;\n }\n // leave it in a clean state\n safeRe[t.COERCERTL].lastIndex = -1;\n }\n if (match === null) return null;\n return parse(match[2] + \".\" + (match[3] || \"0\") + \".\" + (match[4] || \"0\"), options);\n}\n\n});\n\n\nparcelRegister(\"cJF00\", function(module, exports) {\n\nvar $deqr0 = parcelRequire(\"deqr0\");\n\nvar $a2pIT = parcelRequire(\"a2pIT\");\nfunction $94597d95bd65179d$var$v4(options, buf, offset) {\n var i = buf && offset || 0;\n if (typeof options == \"string\") {\n buf = options === \"binary\" ? new Array(16) : null;\n options = null;\n }\n options = options || {};\n var rnds = options.random || (options.rng || $deqr0)();\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 // Copy bytes to buffer, if provided\n if (buf) for(var ii = 0; ii < 16; ++ii)buf[i + ii] = rnds[ii];\n return buf || $a2pIT(rnds);\n}\nmodule.exports = $94597d95bd65179d$var$v4;\n\n});\nparcelRegister(\"deqr0\", function(module, exports) {\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\nmodule.exports = function nodeRNG() {\n return $kC5q1$crypto.randomBytes(16);\n};\n\n});\n\nparcelRegister(\"a2pIT\", function(module, exports) {\n/**\n * Convert array of 16 byte values to UUID string format of the form:\n * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\n */ var $74ee0b5ffb7b42cf$var$byteToHex = [];\nfor(var $74ee0b5ffb7b42cf$var$i = 0; $74ee0b5ffb7b42cf$var$i < 256; ++$74ee0b5ffb7b42cf$var$i)$74ee0b5ffb7b42cf$var$byteToHex[$74ee0b5ffb7b42cf$var$i] = ($74ee0b5ffb7b42cf$var$i + 0x100).toString(16).substr(1);\nfunction $74ee0b5ffb7b42cf$var$bytesToUuid(buf, offset) {\n var i = offset || 0;\n var bth = $74ee0b5ffb7b42cf$var$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++]],\n bth[buf[i++]],\n bth[buf[i++]],\n bth[buf[i++]],\n \"-\",\n bth[buf[i++]],\n bth[buf[i++]],\n \"-\",\n bth[buf[i++]],\n bth[buf[i++]],\n \"-\",\n bth[buf[i++]],\n bth[buf[i++]],\n \"-\",\n bth[buf[i++]],\n bth[buf[i++]],\n bth[buf[i++]],\n bth[buf[i++]],\n bth[buf[i++]],\n bth[buf[i++]]\n ].join(\"\");\n}\nmodule.exports = $74ee0b5ffb7b42cf$var$bytesToUuid;\n\n});\n\n\nparcelRegister(\"1kmXt\", function(module, exports) {\n\"use strict\";\nvar $0f7977bd7cf4fb09$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $0f7977bd7cf4fb09$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $0f7977bd7cf4fb09$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $0f7977bd7cf4fb09$var$__createBinding(result, mod, k);\n }\n $0f7977bd7cf4fb09$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $0f7977bd7cf4fb09$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.RetryHelper = void 0;\n\nconst $0f7977bd7cf4fb09$var$core = $0f7977bd7cf4fb09$var$__importStar((parcelRequire(\"1o3Gj\")));\n/**\n * Internal class for retries\n */ class $0f7977bd7cf4fb09$var$RetryHelper {\n constructor(maxAttempts, minSeconds, maxSeconds){\n if (maxAttempts < 1) throw new Error(\"max attempts should be greater than or equal to 1\");\n this.maxAttempts = maxAttempts;\n this.minSeconds = Math.floor(minSeconds);\n this.maxSeconds = Math.floor(maxSeconds);\n if (this.minSeconds > this.maxSeconds) throw new Error(\"min seconds should be less than or equal to max seconds\");\n }\n execute(action, isRetryable) {\n return $0f7977bd7cf4fb09$var$__awaiter(this, void 0, void 0, function*() {\n let attempt = 1;\n while(attempt < this.maxAttempts){\n // Try\n try {\n return yield action();\n } catch (err) {\n if (isRetryable && !isRetryable(err)) throw err;\n $0f7977bd7cf4fb09$var$core.info(err.message);\n }\n // Sleep\n const seconds = this.getSleepAmount();\n $0f7977bd7cf4fb09$var$core.info(`Waiting ${seconds} seconds before trying again`);\n yield this.sleep(seconds);\n attempt++;\n }\n // Last attempt\n return yield action();\n });\n }\n getSleepAmount() {\n return Math.floor(Math.random() * (this.maxSeconds - this.minSeconds + 1)) + this.minSeconds;\n }\n sleep(seconds) {\n return $0f7977bd7cf4fb09$var$__awaiter(this, void 0, void 0, function*() {\n return new Promise((resolve)=>setTimeout(resolve, seconds * 1000));\n });\n }\n}\nmodule.exports.RetryHelper = $0f7977bd7cf4fb09$var$RetryHelper;\n\n});\n\n\n\n\nparcelRegister(\"ktIgk\", function(module, exports) {\n\n$parcel$export(module.exports, \"findPyPyVersion\", () => $8f071548850771d5$export$43d689d19c89c31d);\n\n\nvar $impuq = parcelRequire(\"impuq\");\n\nvar $56hu0 = parcelRequire(\"56hu0\");\n\nvar $coVwk = parcelRequire(\"coVwk\");\n\nvar $1o3Gj = parcelRequire(\"1o3Gj\");\n\nvar $5DFAC = parcelRequire(\"5DFAC\");\nasync function $8f071548850771d5$export$43d689d19c89c31d(versionSpec, architecture, updateEnvironment, checkLatest, allowPreReleases) {\n let resolvedPyPyVersion = \"\";\n let resolvedPythonVersion = \"\";\n let installDir;\n let releases;\n const pypyVersionSpec = $8f071548850771d5$export$4182d5bdd18177a7(versionSpec);\n if (checkLatest) {\n releases = await $impuq.getAvailablePyPyVersions();\n if (releases && releases.length > 0) {\n const releaseData = $impuq.findRelease(releases, pypyVersionSpec.pythonVersion, pypyVersionSpec.pypyVersion, architecture, false);\n if (releaseData) {\n $1o3Gj.info(`Resolved as PyPy ${releaseData.resolvedPyPyVersion} with Python (${releaseData.resolvedPythonVersion})`);\n pypyVersionSpec.pythonVersion = releaseData.resolvedPythonVersion;\n pypyVersionSpec.pypyVersion = releaseData.resolvedPyPyVersion;\n } else $1o3Gj.info(`Failed to resolve PyPy ${pypyVersionSpec.pypyVersion} with Python (${pypyVersionSpec.pythonVersion}) from manifest`);\n }\n }\n ({ installDir: installDir, resolvedPythonVersion: resolvedPythonVersion, resolvedPyPyVersion: resolvedPyPyVersion } = $8f071548850771d5$export$bba8aabb976a1d17(pypyVersionSpec.pythonVersion, pypyVersionSpec.pypyVersion, architecture));\n if (!installDir) ({ installDir: installDir, resolvedPythonVersion: resolvedPythonVersion, resolvedPyPyVersion: resolvedPyPyVersion } = await $impuq.installPyPy(pypyVersionSpec.pypyVersion, pypyVersionSpec.pythonVersion, architecture, allowPreReleases, releases));\n const pipDir = (0, $56hu0.IS_WINDOWS) ? \"Scripts\" : \"bin\";\n const _binDir = $kC5q1$path.join(installDir, pipDir);\n const binaryExtension = (0, $56hu0.IS_WINDOWS) ? \".exe\" : \"\";\n const pythonPath = $kC5q1$path.join((0, $56hu0.IS_WINDOWS) ? installDir : _binDir, `python${binaryExtension}`);\n const pythonLocation = $impuq.getPyPyBinaryPath(installDir);\n if (updateEnvironment) {\n $1o3Gj.exportVariable(\"pythonLocation\", installDir);\n // https://cmake.org/cmake/help/latest/module/FindPython.html#module:FindPython\n $1o3Gj.exportVariable(\"Python_ROOT_DIR\", installDir);\n // https://cmake.org/cmake/help/latest/module/FindPython2.html#module:FindPython2\n $1o3Gj.exportVariable(\"Python2_ROOT_DIR\", installDir);\n // https://cmake.org/cmake/help/latest/module/FindPython3.html#module:FindPython3\n $1o3Gj.exportVariable(\"Python3_ROOT_DIR\", installDir);\n $1o3Gj.exportVariable(\"PKG_CONFIG_PATH\", pythonLocation + \"/lib/pkgconfig\");\n $1o3Gj.addPath(pythonLocation);\n $1o3Gj.addPath(_binDir);\n }\n $1o3Gj.setOutput(\"python-version\", \"pypy\" + resolvedPyPyVersion);\n $1o3Gj.setOutput(\"python-path\", pythonPath);\n return {\n resolvedPyPyVersion: resolvedPyPyVersion,\n resolvedPythonVersion: resolvedPythonVersion\n };\n}\nfunction $8f071548850771d5$export$bba8aabb976a1d17(pythonVersion, pypyVersion, architecture) {\n let resolvedPyPyVersion = \"\";\n let resolvedPythonVersion = \"\";\n let installDir = (0, $56hu0.IS_WINDOWS) ? $8f071548850771d5$export$139298be7eb2bd(pythonVersion) : $5DFAC.find(\"PyPy\", pythonVersion, architecture);\n if (installDir) {\n // 'tc.find' finds tool based on Python version but we also need to check\n // whether PyPy version satisfies requested version.\n resolvedPythonVersion = (0, $56hu0.getPyPyVersionFromPath)(installDir);\n resolvedPyPyVersion = (0, $56hu0.readExactPyPyVersionFile)(installDir);\n const isPyPyVersionSatisfies = $coVwk.satisfies(resolvedPyPyVersion, pypyVersion);\n if (!isPyPyVersionSatisfies) {\n installDir = null;\n resolvedPyPyVersion = \"\";\n resolvedPythonVersion = \"\";\n }\n }\n if (!installDir) $1o3Gj.info(`PyPy version ${pythonVersion} (${pypyVersion}) was not found in the local cache`);\n return {\n installDir: installDir,\n resolvedPythonVersion: resolvedPythonVersion,\n resolvedPyPyVersion: resolvedPyPyVersion\n };\n}\nfunction $8f071548850771d5$export$4182d5bdd18177a7(versionSpec) {\n const versions = versionSpec.split(\"-\").filter((item)=>!!item);\n if (/^(pypy)(.+)/.test(versions[0])) {\n const pythonVersion = versions[0].replace(\"pypy\", \"\");\n versions.splice(0, 1, \"pypy\", pythonVersion);\n }\n if (versions.length < 2 || versions[0] != \"pypy\") throw new Error(\"Invalid 'version' property for PyPy. PyPy version should be specified as 'pypy' or 'pypy-'. See README for examples and documentation.\");\n const pythonVersion = versions[1];\n let pypyVersion;\n if (versions.length > 2) pypyVersion = $impuq.pypyVersionToSemantic(versions[2]);\n else pypyVersion = \"x\";\n if (!(0, $56hu0.validateVersion)(pythonVersion) || !(0, $56hu0.validateVersion)(pypyVersion)) throw new Error(\"Invalid 'version' property for PyPy. Both Python version and PyPy versions should satisfy SemVer notation. See README for examples and documentation.\");\n if (!(0, $56hu0.validatePythonVersionFormatForPyPy)(pythonVersion)) throw new Error(\"Invalid format of Python version for PyPy. Python version should be specified in format 'x.y'. See README for examples and documentation.\");\n return {\n pypyVersion: pypyVersion,\n pythonVersion: pythonVersion\n };\n}\nfunction $8f071548850771d5$export$139298be7eb2bd(pythonVersion) {\n let installDir = \"\";\n (0, $56hu0.WINDOWS_ARCHS).forEach((architecture)=>installDir = installDir || $5DFAC.find(\"PyPy\", pythonVersion, architecture));\n return installDir;\n}\n\n});\nparcelRegister(\"impuq\", function(module, exports) {\n\n$parcel$export(module.exports, \"installPyPy\", () => $7f55f27b3e761a95$export$3573149ec5684a1d);\n$parcel$export(module.exports, \"getAvailablePyPyVersions\", () => $7f55f27b3e761a95$export$15e3ff21db62aa77);\n$parcel$export(module.exports, \"findRelease\", () => $7f55f27b3e761a95$export$4272161ba9d7d3dd);\n$parcel$export(module.exports, \"getPyPyBinaryPath\", () => $7f55f27b3e761a95$export$a053ce7a690fbb2e);\n$parcel$export(module.exports, \"pypyVersionToSemantic\", () => $7f55f27b3e761a95$export$4e25ef8c836002b9);\n\n\n\nvar $1o3Gj = parcelRequire(\"1o3Gj\");\n\nvar $5DFAC = parcelRequire(\"5DFAC\");\n\nvar $coVwk = parcelRequire(\"coVwk\");\n\nvar $eamjo = parcelRequire(\"eamjo\");\n\nvar $bHzmH = parcelRequire(\"bHzmH\");\n\n\nvar $56hu0 = parcelRequire(\"56hu0\");\nasync function $7f55f27b3e761a95$export$3573149ec5684a1d(pypyVersion, pythonVersion, architecture, allowPreReleases, releases) {\n let downloadDir;\n releases = releases !== null && releases !== void 0 ? releases : await $7f55f27b3e761a95$export$15e3ff21db62aa77();\n if (!releases || releases.length === 0) throw new Error(\"No release was found in PyPy version.json\");\n let releaseData = $7f55f27b3e761a95$export$4272161ba9d7d3dd(releases, pythonVersion, pypyVersion, architecture, false);\n if (allowPreReleases && (!releaseData || !releaseData.foundAsset)) {\n // check for pre-release\n $1o3Gj.info([\n `Stable PyPy version ${pythonVersion} (${pypyVersion}) with arch ${architecture} not found`,\n `Trying pre-release versions`\n ].join($kC5q1$os.EOL));\n releaseData = $7f55f27b3e761a95$export$4272161ba9d7d3dd(releases, pythonVersion, pypyVersion, architecture, true);\n }\n if (!releaseData || !releaseData.foundAsset) throw new Error(`PyPy version ${pythonVersion} (${pypyVersion}) with arch ${architecture} not found`);\n const { foundAsset: foundAsset, resolvedPythonVersion: resolvedPythonVersion, resolvedPyPyVersion: resolvedPyPyVersion } = releaseData;\n const downloadUrl = `${foundAsset.download_url}`;\n $1o3Gj.info(`Downloading PyPy from \"${downloadUrl}\" ...`);\n try {\n const pypyPath = await $5DFAC.downloadTool(downloadUrl);\n $1o3Gj.info(\"Extracting downloaded archive...\");\n if (0, $56hu0.IS_WINDOWS) downloadDir = await $5DFAC.extractZip(pypyPath);\n else downloadDir = await $5DFAC.extractTar(pypyPath, undefined, \"x\");\n // root folder in archive can have unpredictable name so just take the first folder\n // downloadDir is unique folder under TEMP and can't contain any other folders\n const archiveName = (0, ($parcel$interopDefault($kC5q1$fs))).readdirSync(downloadDir)[0];\n const toolDir = $kC5q1$path.join(downloadDir, archiveName);\n let installDir = toolDir;\n if (!(0, $56hu0.isNightlyKeyword)(resolvedPyPyVersion)) installDir = await $5DFAC.cacheDir(toolDir, \"PyPy\", resolvedPythonVersion, architecture);\n (0, $56hu0.writeExactPyPyVersionFile)(installDir, resolvedPyPyVersion);\n const binaryPath = $7f55f27b3e761a95$export$a053ce7a690fbb2e(installDir);\n await $7f55f27b3e761a95$var$createPyPySymlink(binaryPath, resolvedPythonVersion);\n await $7f55f27b3e761a95$var$installPip(binaryPath);\n return {\n installDir: installDir,\n resolvedPythonVersion: resolvedPythonVersion,\n resolvedPyPyVersion: resolvedPyPyVersion\n };\n } catch (err) {\n if (err instanceof Error) {\n // Rate limit?\n if (err instanceof $5DFAC.HTTPError && (err.httpStatusCode === 403 || err.httpStatusCode === 429)) $1o3Gj.info(`Received HTTP status code ${err.httpStatusCode}. This usually indicates the rate limit has been exceeded`);\n else $1o3Gj.info(err.message);\n if (err.stack !== undefined) $1o3Gj.debug(err.stack);\n }\n throw err;\n }\n}\nasync function $7f55f27b3e761a95$export$15e3ff21db62aa77() {\n const url = \"https://downloads.python.org/pypy/versions.json\";\n const http = new $eamjo.HttpClient(\"tool-cache\");\n const response = await http.getJson(url);\n if (!response.result) throw new Error(`Unable to retrieve the list of available PyPy versions from '${url}'`);\n return response.result;\n}\nasync function $7f55f27b3e761a95$var$createPyPySymlink(pypyBinaryPath, pythonVersion) {\n const version = $coVwk.coerce(pythonVersion);\n const pythonBinaryPostfix = $coVwk.major(version);\n const pythonMinor = $coVwk.minor(version);\n const pypyBinaryPostfix = pythonBinaryPostfix === 2 ? \"\" : \"3\";\n const pypyMajorMinorBinaryPostfix = `${pythonBinaryPostfix}.${pythonMinor}`;\n const binaryExtension = (0, $56hu0.IS_WINDOWS) ? \".exe\" : \"\";\n $1o3Gj.info(\"Creating symlinks...\");\n (0, $56hu0.createSymlinkInFolder)(pypyBinaryPath, `pypy${pypyBinaryPostfix}${binaryExtension}`, `python${pythonBinaryPostfix}${binaryExtension}`, true);\n (0, $56hu0.createSymlinkInFolder)(pypyBinaryPath, `pypy${pypyBinaryPostfix}${binaryExtension}`, `python${binaryExtension}`, true);\n (0, $56hu0.createSymlinkInFolder)(pypyBinaryPath, `pypy${pypyBinaryPostfix}${binaryExtension}`, `pypy${pypyMajorMinorBinaryPostfix}${binaryExtension}`, true);\n}\nasync function $7f55f27b3e761a95$var$installPip(pythonLocation) {\n $1o3Gj.info(\"Installing and updating pip\");\n const pythonBinary = $kC5q1$path.join(pythonLocation, \"python\");\n await $bHzmH.exec(`${pythonBinary} -m ensurepip`);\n await $bHzmH.exec(`${pythonLocation}/python -m pip install --ignore-installed pip`);\n}\nfunction $7f55f27b3e761a95$export$4272161ba9d7d3dd(releases, pythonVersion, pypyVersion, architecture, includePrerelease) {\n const options = {\n includePrerelease: includePrerelease\n };\n const filterReleases = releases.filter((item)=>{\n const isPythonVersionSatisfied = $coVwk.satisfies($coVwk.coerce(item.python_version), pythonVersion);\n const isPyPyNightly = (0, $56hu0.isNightlyKeyword)(pypyVersion) && (0, $56hu0.isNightlyKeyword)(item.pypy_version);\n const isPyPyVersionSatisfied = isPyPyNightly || $coVwk.satisfies($7f55f27b3e761a95$export$4e25ef8c836002b9(item.pypy_version), pypyVersion, options);\n const isArchPresent = item.files && ((0, $56hu0.IS_WINDOWS) ? $7f55f27b3e761a95$export$652444ba12a0c7bb(item, architecture) : $7f55f27b3e761a95$export$f1fafc67685dd0bf(item, architecture, process.platform));\n return isPythonVersionSatisfied && isPyPyVersionSatisfied && isArchPresent;\n });\n if (filterReleases.length === 0) return null;\n const sortedReleases = filterReleases.sort((previous, current)=>{\n return $coVwk.compare($coVwk.coerce($7f55f27b3e761a95$export$4e25ef8c836002b9(current.pypy_version)), $coVwk.coerce($7f55f27b3e761a95$export$4e25ef8c836002b9(previous.pypy_version))) || $coVwk.compare($coVwk.coerce(current.python_version), $coVwk.coerce(previous.python_version));\n });\n const foundRelease = sortedReleases[0];\n const foundAsset = (0, $56hu0.IS_WINDOWS) ? $7f55f27b3e761a95$export$672a33957a3c888(foundRelease, architecture) : $7f55f27b3e761a95$export$7e0be3a86d27fcd9(foundRelease, architecture, process.platform);\n return {\n foundAsset: foundAsset,\n resolvedPythonVersion: foundRelease.python_version,\n resolvedPyPyVersion: foundRelease.pypy_version.trim()\n };\n}\nfunction $7f55f27b3e761a95$export$a053ce7a690fbb2e(installDir) {\n const _binDir = $kC5q1$path.join(installDir, \"bin\");\n return (0, $56hu0.IS_WINDOWS) ? installDir : _binDir;\n}\nfunction $7f55f27b3e761a95$export$4e25ef8c836002b9(versionSpec) {\n const prereleaseVersion = /(\\d+\\.\\d+\\.\\d+)((?:a|b|rc))(\\d*)/g;\n return versionSpec.replace(prereleaseVersion, \"$1-$2.$3\");\n}\nfunction $7f55f27b3e761a95$export$652444ba12a0c7bb(item, architecture) {\n architecture = $7f55f27b3e761a95$var$replaceX32toX86(architecture);\n return item.files.some((file)=>(0, $56hu0.WINDOWS_PLATFORMS).includes(file.platform) && file.arch === architecture);\n}\nfunction $7f55f27b3e761a95$export$f1fafc67685dd0bf(item, architecture, platform) {\n return item.files.some((file)=>file.arch === architecture && file.platform === platform);\n}\nfunction $7f55f27b3e761a95$export$672a33957a3c888(releases, architecture) {\n architecture = $7f55f27b3e761a95$var$replaceX32toX86(architecture);\n return releases.files.find((item)=>(0, $56hu0.WINDOWS_PLATFORMS).includes(item.platform) && item.arch === architecture);\n}\nfunction $7f55f27b3e761a95$export$7e0be3a86d27fcd9(releases, architecture, platform) {\n return releases.files.find((item)=>item.arch === architecture && item.platform === platform);\n}\nfunction $7f55f27b3e761a95$var$replaceX32toX86(architecture) {\n // convert x32 to x86 because os.arch() returns x32 for 32-bit systems but PyPy releases json has x86 arch value.\n if (architecture === \"x32\") architecture = \"x86\";\n return architecture;\n}\n\n});\n\n\n\n\n//# sourceMappingURL=actions_python.c7411d6b.js.map\n","import { useCpythonVersion } from \"setup-python/src/find-python\"\nimport { findPyPyVersion } from \"setup-python/src/find-pypy\"\n\nimport { info, warning } from \"ci-log\"\nimport { debug } from \"@actions/core\"\nimport { join } from \"patha\"\nimport { GITHUB_ACTIONS } from \"ci-info\"\nimport { IS_MAC } from \"setup-python/src/utils\"\nimport { pathExists } from \"path-exists\"\n\nfunction isPyPyVersion(versionSpec: string) {\n return versionSpec.startsWith(\"pypy\")\n}\n\nconst checkLatest = false\n\nexport async function setupActionsPython(version: string, _setupDir: string, arch: string) {\n if (IS_MAC) {\n process.env.AGENT_TOOLSDIRECTORY = \"/Users/runner/hostedtoolcache\"\n }\n\n const agent_toolsdirectory = process.env.AGENT_TOOLSDIRECTORY?.trim()\n if (typeof agent_toolsdirectory === \"string\" && agent_toolsdirectory !== \"\") {\n process.env.RUNNER_TOOL_CACHE = process.env.AGENT_TOOLSDIRECTORY\n }\n\n debug(`Python is expected to be installed into ${process.env.RUNNER_TOOL_CACHE}`)\n\n if (version) {\n let pythonVersion: string\n if (isPyPyVersion(version)) {\n const installed = await findPyPyVersion(version, arch, true, checkLatest, false)\n pythonVersion = `${installed.resolvedPyPyVersion}-${installed.resolvedPythonVersion}`\n info(`Successfully set up PyPy ${installed.resolvedPyPyVersion} with Python (${installed.resolvedPythonVersion})`)\n } else {\n const installed = await useCpythonVersion(version, arch, true, checkLatest, false)\n pythonVersion = installed.version\n info(`Successfully set up ${installed.impl} (${pythonVersion})`)\n }\n\n // const cache = false\n // if (cache) {\n // const { cacheDependencies } = await import(\"setup-python/src/cache-dependencies\")\n // await cacheDependencies(\"pip\", pythonVersion)\n // }\n }\n\n if (GITHUB_ACTIONS) {\n await addPythonLoggingMatcher()\n }\n\n return undefined\n}\n\nasync function addPythonLoggingMatcher() {\n const matcherPath = join(__dirname, \"python_matcher.json\")\n if (!(await pathExists(matcherPath))) {\n return warning(\"the python_matcher.json file does not exist in the same folder as setup-cpp.js\")\n }\n info(`::add-matcher::${matcherPath}`)\n}\n","import * as os from 'os';\nimport * as path from 'path';\nimport {IS_WINDOWS, IS_LINUX, getOSInfo} from './utils';\n\nimport * as semver from 'semver';\n\nimport * as installer from './install-python';\n\nimport * as core from '@actions/core';\nimport * as tc from '@actions/tool-cache';\n\n// Python has \"scripts\" or \"bin\" directories where command-line tools that come with packages are installed.\n// This is where pip is, along with anything that pip installs.\n// There is a separate directory for `pip install --user`.\n//\n// For reference, these directories are as follows:\n// macOS / Linux:\n// /bin (by default /usr/local/bin, but not on hosted agents -- see the `else`)\n// (--user) ~/.local/bin\n// Windows:\n// \\Scripts\n// (--user) %APPDATA%\\Python\\PythonXY\\Scripts\n// See https://docs.python.org/3/library/sysconfig.html\n\nfunction binDir(installDir: string): string {\n if (IS_WINDOWS) {\n return path.join(installDir, 'Scripts');\n } else {\n return path.join(installDir, 'bin');\n }\n}\n\nexport async function useCpythonVersion(\n version: string,\n architecture: string,\n updateEnvironment: boolean,\n checkLatest: boolean,\n allowPreReleases: boolean\n): Promise {\n let manifest: tc.IToolRelease[] | null = null;\n const desugaredVersionSpec = desugarDevVersion(version);\n let semanticVersionSpec = pythonVersionToSemantic(\n desugaredVersionSpec,\n allowPreReleases\n );\n core.debug(`Semantic version spec of ${version} is ${semanticVersionSpec}`);\n\n if (checkLatest) {\n manifest = await installer.getManifest();\n const resolvedVersion = (\n await installer.findReleaseFromManifest(\n semanticVersionSpec,\n architecture,\n manifest\n )\n )?.version;\n\n if (resolvedVersion) {\n semanticVersionSpec = resolvedVersion;\n core.info(`Resolved as '${semanticVersionSpec}'`);\n } else {\n core.info(\n `Failed to resolve version ${semanticVersionSpec} from manifest`\n );\n }\n }\n\n let installDir: string | null = tc.find(\n 'Python',\n semanticVersionSpec,\n architecture\n );\n if (!installDir) {\n core.info(\n `Version ${semanticVersionSpec} was not found in the local cache`\n );\n const foundRelease = await installer.findReleaseFromManifest(\n semanticVersionSpec,\n architecture,\n manifest\n );\n\n if (foundRelease && foundRelease.files && foundRelease.files.length > 0) {\n core.info(`Version ${semanticVersionSpec} is available for downloading`);\n await installer.installCpythonFromRelease(foundRelease);\n\n installDir = tc.find('Python', semanticVersionSpec, architecture);\n }\n }\n\n if (!installDir) {\n const osInfo = await getOSInfo();\n throw new Error(\n [\n `The version '${version}' with architecture '${architecture}' was not found for ${\n osInfo\n ? `${osInfo.osName} ${osInfo.osVersion}`\n : 'this operating system'\n }.`,\n `The list of all available versions can be found here: ${installer.MANIFEST_URL}`\n ].join(os.EOL)\n );\n }\n\n const _binDir = binDir(installDir);\n const binaryExtension = IS_WINDOWS ? '.exe' : '';\n const pythonPath = path.join(\n IS_WINDOWS ? installDir : _binDir,\n `python${binaryExtension}`\n );\n if (updateEnvironment) {\n core.exportVariable('pythonLocation', installDir);\n core.exportVariable('PKG_CONFIG_PATH', installDir + '/lib/pkgconfig');\n core.exportVariable('pythonLocation', installDir);\n // https://cmake.org/cmake/help/latest/module/FindPython.html#module:FindPython\n core.exportVariable('Python_ROOT_DIR', installDir);\n // https://cmake.org/cmake/help/latest/module/FindPython2.html#module:FindPython2\n core.exportVariable('Python2_ROOT_DIR', installDir);\n // https://cmake.org/cmake/help/latest/module/FindPython3.html#module:FindPython3\n core.exportVariable('Python3_ROOT_DIR', installDir);\n core.exportVariable('PKG_CONFIG_PATH', installDir + '/lib/pkgconfig');\n\n if (IS_LINUX) {\n const libPath = process.env.LD_LIBRARY_PATH\n ? `:${process.env.LD_LIBRARY_PATH}`\n : '';\n const pyLibPath = path.join(installDir, 'lib');\n\n if (!libPath.split(':').includes(pyLibPath)) {\n core.exportVariable('LD_LIBRARY_PATH', pyLibPath + libPath);\n }\n }\n core.addPath(installDir);\n core.addPath(_binDir);\n\n if (IS_WINDOWS) {\n // Add --user directory\n // `installDir` from tool cache should look like $RUNNER_TOOL_CACHE/Python//x64/\n // So if `findLocalTool` succeeded above, we must have a conformant `installDir`\n const version = path.basename(path.dirname(installDir));\n const major = semver.major(version);\n const minor = semver.minor(version);\n\n const userScriptsDir = path.join(\n process.env['APPDATA'] || '',\n 'Python',\n `Python${major}${minor}`,\n 'Scripts'\n );\n core.addPath(userScriptsDir);\n }\n // On Linux and macOS, pip will create the --user directory and add it to PATH as needed.\n }\n\n const installed = versionFromPath(installDir);\n core.setOutput('python-version', installed);\n core.setOutput('python-path', pythonPath);\n\n return {impl: 'CPython', version: installed};\n}\n\n/** Convert versions like `3.8-dev` to a version like `~3.8.0-0`. */\nfunction desugarDevVersion(versionSpec: string) {\n const devVersion = /^(\\d+)\\.(\\d+)-dev$/;\n return versionSpec.replace(devVersion, '~$1.$2.0-0');\n}\n\n/** Extracts python version from install path from hosted tool cache as described in README.md */\nfunction versionFromPath(installDir: string) {\n const parts = installDir.split(path.sep);\n const idx = parts.findIndex(part => part === 'PyPy' || part === 'Python');\n\n return parts[idx + 1] || '';\n}\n\ninterface InstalledVersion {\n impl: string;\n version: string;\n}\n\n/**\n * Python's prelease versions look like `3.7.0b2`.\n * This is the one part of Python versioning that does not look like semantic versioning, which specifies `3.7.0-b2`.\n * If the version spec contains prerelease versions, we need to convert them to the semantic version equivalent.\n *\n * For easier use of the action, we also map 'x.y' to allow pre-release before 'x.y.0' release if allowPreReleases is true\n */\nexport function pythonVersionToSemantic(\n versionSpec: string,\n allowPreReleases: boolean\n) {\n const prereleaseVersion = /(\\d+\\.\\d+\\.\\d+)((?:a|b|rc)\\d*)/g;\n const majorMinor = /^(\\d+)\\.(\\d+)$/;\n let result = versionSpec.replace(prereleaseVersion, '$1-$2');\n if (allowPreReleases) {\n result = result.replace(majorMinor, '~$1.$2.0-0');\n }\n return result;\n}\n","/* eslint no-unsafe-finally: \"off\" */\nimport * as core from '@actions/core';\nimport fs from 'fs';\nimport * as path from 'path';\nimport * as semver from 'semver';\nimport * as toml from '@iarna/toml';\nimport * as exec from '@actions/exec';\n\nexport const IS_WINDOWS = process.platform === 'win32';\nexport const IS_LINUX = process.platform === 'linux';\nexport const IS_MAC = process.platform === 'darwin';\nexport const WINDOWS_ARCHS = ['x86', 'x64'];\nexport const WINDOWS_PLATFORMS = ['win32', 'win64'];\nconst PYPY_VERSION_FILE = 'PYPY_VERSION';\n\nexport interface IPyPyManifestAsset {\n filename: string;\n arch: string;\n platform: string;\n download_url: string;\n}\n\nexport interface IPyPyManifestRelease {\n pypy_version: string;\n python_version: string;\n stable: boolean;\n latest_pypy: boolean;\n files: IPyPyManifestAsset[];\n}\n\n/** create Symlinks for downloaded PyPy\n * It should be executed only for downloaded versions in runtime, because\n * toolcache versions have this setup.\n */\nexport function createSymlinkInFolder(\n folderPath: string,\n sourceName: string,\n targetName: string,\n setExecutable = false\n) {\n const sourcePath = path.join(folderPath, sourceName);\n const targetPath = path.join(folderPath, targetName);\n if (fs.existsSync(targetPath)) {\n return;\n }\n\n fs.symlinkSync(sourcePath, targetPath);\n if (!IS_WINDOWS && setExecutable) {\n fs.chmodSync(targetPath, '755');\n }\n}\n\nexport function validateVersion(version: string) {\n return isNightlyKeyword(version) || Boolean(semver.validRange(version));\n}\n\nexport function isNightlyKeyword(pypyVersion: string) {\n return pypyVersion === 'nightly';\n}\n\nexport function getPyPyVersionFromPath(installDir: string) {\n return path.basename(path.dirname(installDir));\n}\n\n/**\n * In tool-cache, we put PyPy to '/PyPy//x64'\n * There is no easy way to determine what PyPy version is located in specific folder\n * 'pypy --version' is not reliable enough since it is not set properly for preview versions\n * \"7.3.3rc1\" is marked as '7.3.3' in 'pypy --version'\n * so we put PYPY_VERSION file to PyPy directory when install it to VM and read it when we need to know version\n * PYPY_VERSION contains exact version from 'versions.json'\n */\nexport function readExactPyPyVersionFile(installDir: string) {\n let pypyVersion = '';\n const fileVersion = path.join(installDir, PYPY_VERSION_FILE);\n if (fs.existsSync(fileVersion)) {\n pypyVersion = fs.readFileSync(fileVersion).toString().trim();\n }\n\n return pypyVersion;\n}\n\nexport function writeExactPyPyVersionFile(\n installDir: string,\n resolvedPyPyVersion: string\n) {\n const pypyFilePath = path.join(installDir, PYPY_VERSION_FILE);\n fs.writeFileSync(pypyFilePath, resolvedPyPyVersion);\n}\n\n/**\n * Python version should be specified explicitly like \"x.y\" (2.7, 3.6, 3.7)\n * \"3.x\" or \"3\" are not supported\n * because it could cause ambiguity when both PyPy version and Python version are not precise\n */\nexport function validatePythonVersionFormatForPyPy(version: string) {\n const re = /^\\d+\\.\\d+$/;\n return re.test(version);\n}\n\nexport function logWarning(message: string): void {\n const warningPrefix = '[warning]';\n core.info(`${warningPrefix}${message}`);\n}\n\nasync function getWindowsInfo() {\n const {stdout} = await exec.getExecOutput(\n 'powershell -command \"(Get-CimInstance -ClassName Win32_OperatingSystem).Caption\"',\n undefined,\n {\n silent: true\n }\n );\n\n const windowsVersion = stdout.trim().split(' ')[3];\n\n return {osName: 'Windows', osVersion: windowsVersion};\n}\n\nasync function getMacOSInfo() {\n const {stdout} = await exec.getExecOutput('sw_vers', ['-productVersion'], {\n silent: true\n });\n\n const macOSVersion = stdout.trim();\n\n return {osName: 'macOS', osVersion: macOSVersion};\n}\n\nexport async function getLinuxInfo() {\n const {stdout} = await exec.getExecOutput('lsb_release', ['-i', '-r', '-s'], {\n silent: true\n });\n\n const [osName, osVersion] = stdout.trim().split('\\n');\n\n core.debug(`OS Name: ${osName}, Version: ${osVersion}`);\n\n return {osName: osName, osVersion: osVersion};\n}\n\nexport async function getOSInfo() {\n let osInfo;\n try {\n if (IS_WINDOWS) {\n osInfo = await getWindowsInfo();\n } else if (IS_LINUX) {\n osInfo = await getLinuxInfo();\n } else if (IS_MAC) {\n osInfo = await getMacOSInfo();\n }\n } catch (err) {\n const error = err as Error;\n core.debug(error.message);\n } finally {\n return osInfo;\n }\n}\n\n/**\n * Extract a value from an object by following the keys path provided.\n * If the value is present, it is returned. Otherwise undefined is returned.\n */\nfunction extractValue(obj: any, keys: string[]): string | undefined {\n if (keys.length > 0) {\n const value = obj[keys[0]];\n if (keys.length > 1 && value !== undefined) {\n return extractValue(value, keys.slice(1));\n } else {\n return value;\n }\n } else {\n return;\n }\n}\n\n/**\n * Python version extracted from the TOML file.\n * If the `project` key is present at the root level, the version is assumed to\n * be specified according to PEP 621 in `project.requires-python`.\n * Otherwise, if the `tool` key is present at the root level, the version is\n * assumed to be specified using poetry under `tool.poetry.dependencies.python`.\n * If none is present, returns an empty list.\n */\nexport function getVersionInputFromTomlFile(versionFile: string): string[] {\n core.debug(`Trying to resolve version form ${versionFile}`);\n\n const pyprojectFile = fs.readFileSync(versionFile, 'utf8');\n const pyprojectConfig = toml.parse(pyprojectFile);\n let keys = [];\n\n if ('project' in pyprojectConfig) {\n // standard project metadata (PEP 621)\n keys = ['project', 'requires-python'];\n } else {\n // python poetry\n keys = ['tool', 'poetry', 'dependencies', 'python'];\n }\n const versions = [];\n const version = extractValue(pyprojectConfig, keys);\n if (version !== undefined) {\n versions.push(version);\n }\n\n core.info(`Extracted ${versions} from ${versionFile}`);\n const rawVersions = Array.from(versions, version =>\n version.split(',').join(' ')\n );\n const validatedVersions = rawVersions\n .map(item => semver.validRange(item, true))\n .filter((versionRange, index) => {\n if (!versionRange) {\n core.debug(\n `The version ${rawVersions[index]} is not valid SemVer range`\n );\n }\n\n return !!versionRange;\n }) as string[];\n return validatedVersions;\n}\n\n/**\n * Python version extracted from a plain text file.\n */\nexport function getVersionInputFromPlainFile(versionFile: string): string[] {\n core.debug(`Trying to resolve version form ${versionFile}`);\n const version = fs.readFileSync(versionFile, 'utf8');\n core.info(`Resolved ${versionFile} as ${version}`);\n return [version];\n}\n\n/**\n * Python version extracted from a plain or TOML file.\n */\nexport function getVersionInputFromFile(versionFile: string): string[] {\n if (versionFile.endsWith('.toml')) {\n return getVersionInputFromTomlFile(versionFile);\n } else {\n return getVersionInputFromPlainFile(versionFile);\n }\n}\n","'use strict'\nexports.parse = require('./parse.js')\nexports.stringify = require('./stringify.js')\n","'use strict'\nmodule.exports = require('./parse-string.js')\nmodule.exports.async = require('./parse-async.js')\nmodule.exports.stream = require('./parse-stream.js')\nmodule.exports.prettyError = require('./parse-pretty-error.js')\n","'use strict'\nmodule.exports = parseString\n\nconst TOMLParser = require('./lib/toml-parser.js')\nconst prettyError = require('./parse-pretty-error.js')\n\nfunction parseString (str) {\n if (global.Buffer && global.Buffer.isBuffer(str)) {\n str = str.toString('utf8')\n }\n const parser = new TOMLParser()\n try {\n parser.parse(str)\n return parser.finish()\n } catch (err) {\n throw prettyError(err, str)\n }\n}\n","'use strict'\n/* eslint-disable no-new-wrappers, no-eval, camelcase, operator-linebreak */\nmodule.exports = makeParserClass(require('./parser.js'))\nmodule.exports.makeParserClass = makeParserClass\n\nclass TomlError extends Error {\n constructor (msg) {\n super(msg)\n this.name = 'TomlError'\n /* istanbul ignore next */\n if (Error.captureStackTrace) Error.captureStackTrace(this, TomlError)\n this.fromTOML = true\n this.wrapped = null\n }\n}\nTomlError.wrap = err => {\n const terr = new TomlError(err.message)\n terr.code = err.code\n terr.wrapped = err\n return terr\n}\nmodule.exports.TomlError = TomlError\n\nconst createDateTime = require('./create-datetime.js')\nconst createDateTimeFloat = require('./create-datetime-float.js')\nconst createDate = require('./create-date.js')\nconst createTime = require('./create-time.js')\n\nconst CTRL_I = 0x09\nconst CTRL_J = 0x0A\nconst CTRL_M = 0x0D\nconst CTRL_CHAR_BOUNDARY = 0x1F // the last non-character in the latin1 region of unicode, except DEL\nconst CHAR_SP = 0x20\nconst CHAR_QUOT = 0x22\nconst CHAR_NUM = 0x23\nconst CHAR_APOS = 0x27\nconst CHAR_PLUS = 0x2B\nconst CHAR_COMMA = 0x2C\nconst CHAR_HYPHEN = 0x2D\nconst CHAR_PERIOD = 0x2E\nconst CHAR_0 = 0x30\nconst CHAR_1 = 0x31\nconst CHAR_7 = 0x37\nconst CHAR_9 = 0x39\nconst CHAR_COLON = 0x3A\nconst CHAR_EQUALS = 0x3D\nconst CHAR_A = 0x41\nconst CHAR_E = 0x45\nconst CHAR_F = 0x46\nconst CHAR_T = 0x54\nconst CHAR_U = 0x55\nconst CHAR_Z = 0x5A\nconst CHAR_LOWBAR = 0x5F\nconst CHAR_a = 0x61\nconst CHAR_b = 0x62\nconst CHAR_e = 0x65\nconst CHAR_f = 0x66\nconst CHAR_i = 0x69\nconst CHAR_l = 0x6C\nconst CHAR_n = 0x6E\nconst CHAR_o = 0x6F\nconst CHAR_r = 0x72\nconst CHAR_s = 0x73\nconst CHAR_t = 0x74\nconst CHAR_u = 0x75\nconst CHAR_x = 0x78\nconst CHAR_z = 0x7A\nconst CHAR_LCUB = 0x7B\nconst CHAR_RCUB = 0x7D\nconst CHAR_LSQB = 0x5B\nconst CHAR_BSOL = 0x5C\nconst CHAR_RSQB = 0x5D\nconst CHAR_DEL = 0x7F\nconst SURROGATE_FIRST = 0xD800\nconst SURROGATE_LAST = 0xDFFF\n\nconst escapes = {\n [CHAR_b]: '\\u0008',\n [CHAR_t]: '\\u0009',\n [CHAR_n]: '\\u000A',\n [CHAR_f]: '\\u000C',\n [CHAR_r]: '\\u000D',\n [CHAR_QUOT]: '\\u0022',\n [CHAR_BSOL]: '\\u005C'\n}\n\nfunction isDigit (cp) {\n return cp >= CHAR_0 && cp <= CHAR_9\n}\nfunction isHexit (cp) {\n return (cp >= CHAR_A && cp <= CHAR_F) || (cp >= CHAR_a && cp <= CHAR_f) || (cp >= CHAR_0 && cp <= CHAR_9)\n}\nfunction isBit (cp) {\n return cp === CHAR_1 || cp === CHAR_0\n}\nfunction isOctit (cp) {\n return (cp >= CHAR_0 && cp <= CHAR_7)\n}\nfunction isAlphaNumQuoteHyphen (cp) {\n return (cp >= CHAR_A && cp <= CHAR_Z)\n || (cp >= CHAR_a && cp <= CHAR_z)\n || (cp >= CHAR_0 && cp <= CHAR_9)\n || cp === CHAR_APOS\n || cp === CHAR_QUOT\n || cp === CHAR_LOWBAR\n || cp === CHAR_HYPHEN\n}\nfunction isAlphaNumHyphen (cp) {\n return (cp >= CHAR_A && cp <= CHAR_Z)\n || (cp >= CHAR_a && cp <= CHAR_z)\n || (cp >= CHAR_0 && cp <= CHAR_9)\n || cp === CHAR_LOWBAR\n || cp === CHAR_HYPHEN\n}\nconst _type = Symbol('type')\nconst _declared = Symbol('declared')\n\nconst hasOwnProperty = Object.prototype.hasOwnProperty\nconst defineProperty = Object.defineProperty\nconst descriptor = {configurable: true, enumerable: true, writable: true, value: undefined}\n\nfunction hasKey (obj, key) {\n if (hasOwnProperty.call(obj, key)) return true\n if (key === '__proto__') defineProperty(obj, '__proto__', descriptor)\n return false\n}\n\nconst INLINE_TABLE = Symbol('inline-table')\nfunction InlineTable () {\n return Object.defineProperties({}, {\n [_type]: {value: INLINE_TABLE}\n })\n}\nfunction isInlineTable (obj) {\n if (obj === null || typeof (obj) !== 'object') return false\n return obj[_type] === INLINE_TABLE\n}\n\nconst TABLE = Symbol('table')\nfunction Table () {\n return Object.defineProperties({}, {\n [_type]: {value: TABLE},\n [_declared]: {value: false, writable: true}\n })\n}\nfunction isTable (obj) {\n if (obj === null || typeof (obj) !== 'object') return false\n return obj[_type] === TABLE\n}\n\nconst _contentType = Symbol('content-type')\nconst INLINE_LIST = Symbol('inline-list')\nfunction InlineList (type) {\n return Object.defineProperties([], {\n [_type]: {value: INLINE_LIST},\n [_contentType]: {value: type}\n })\n}\nfunction isInlineList (obj) {\n if (obj === null || typeof (obj) !== 'object') return false\n return obj[_type] === INLINE_LIST\n}\n\nconst LIST = Symbol('list')\nfunction List () {\n return Object.defineProperties([], {\n [_type]: {value: LIST}\n })\n}\nfunction isList (obj) {\n if (obj === null || typeof (obj) !== 'object') return false\n return obj[_type] === LIST\n}\n\n// in an eval, to let bundlers not slurp in a util proxy\nlet _custom\ntry {\n const utilInspect = eval(\"require('util').inspect\")\n _custom = utilInspect.custom\n} catch (_) {\n /* eval require not available in transpiled bundle */\n}\n/* istanbul ignore next */\nconst _inspect = _custom || 'inspect'\n\nclass BoxedBigInt {\n constructor (value) {\n try {\n this.value = global.BigInt.asIntN(64, value)\n } catch (_) {\n /* istanbul ignore next */\n this.value = null\n }\n Object.defineProperty(this, _type, {value: INTEGER})\n }\n isNaN () {\n return this.value === null\n }\n /* istanbul ignore next */\n toString () {\n return String(this.value)\n }\n /* istanbul ignore next */\n [_inspect] () {\n return `[BigInt: ${this.toString()}]}`\n }\n valueOf () {\n return this.value\n }\n}\n\nconst INTEGER = Symbol('integer')\nfunction Integer (value) {\n let num = Number(value)\n // -0 is a float thing, not an int thing\n if (Object.is(num, -0)) num = 0\n /* istanbul ignore else */\n if (global.BigInt && !Number.isSafeInteger(num)) {\n return new BoxedBigInt(value)\n } else {\n /* istanbul ignore next */\n return Object.defineProperties(new Number(num), {\n isNaN: {value: function () { return isNaN(this) }},\n [_type]: {value: INTEGER},\n [_inspect]: {value: () => `[Integer: ${value}]`}\n })\n }\n}\nfunction isInteger (obj) {\n if (obj === null || typeof (obj) !== 'object') return false\n return obj[_type] === INTEGER\n}\n\nconst FLOAT = Symbol('float')\nfunction Float (value) {\n /* istanbul ignore next */\n return Object.defineProperties(new Number(value), {\n [_type]: {value: FLOAT},\n [_inspect]: {value: () => `[Float: ${value}]`}\n })\n}\nfunction isFloat (obj) {\n if (obj === null || typeof (obj) !== 'object') return false\n return obj[_type] === FLOAT\n}\n\nfunction tomlType (value) {\n const type = typeof value\n if (type === 'object') {\n /* istanbul ignore if */\n if (value === null) return 'null'\n if (value instanceof Date) return 'datetime'\n /* istanbul ignore else */\n if (_type in value) {\n switch (value[_type]) {\n case INLINE_TABLE: return 'inline-table'\n case INLINE_LIST: return 'inline-list'\n /* istanbul ignore next */\n case TABLE: return 'table'\n /* istanbul ignore next */\n case LIST: return 'list'\n case FLOAT: return 'float'\n case INTEGER: return 'integer'\n }\n }\n }\n return type\n}\n\nfunction makeParserClass (Parser) {\n class TOMLParser extends Parser {\n constructor () {\n super()\n this.ctx = this.obj = Table()\n }\n\n /* MATCH HELPER */\n atEndOfWord () {\n return this.char === CHAR_NUM || this.char === CTRL_I || this.char === CHAR_SP || this.atEndOfLine()\n }\n atEndOfLine () {\n return this.char === Parser.END || this.char === CTRL_J || this.char === CTRL_M\n }\n\n parseStart () {\n if (this.char === Parser.END) {\n return null\n } else if (this.char === CHAR_LSQB) {\n return this.call(this.parseTableOrList)\n } else if (this.char === CHAR_NUM) {\n return this.call(this.parseComment)\n } else if (this.char === CTRL_J || this.char === CHAR_SP || this.char === CTRL_I || this.char === CTRL_M) {\n return null\n } else if (isAlphaNumQuoteHyphen(this.char)) {\n return this.callNow(this.parseAssignStatement)\n } else {\n throw this.error(new TomlError(`Unknown character \"${this.char}\"`))\n }\n }\n\n // HELPER, this strips any whitespace and comments to the end of the line\n // then RETURNS. Last state in a production.\n parseWhitespaceToEOL () {\n if (this.char === CHAR_SP || this.char === CTRL_I || this.char === CTRL_M) {\n return null\n } else if (this.char === CHAR_NUM) {\n return this.goto(this.parseComment)\n } else if (this.char === Parser.END || this.char === CTRL_J) {\n return this.return()\n } else {\n throw this.error(new TomlError('Unexpected character, expected only whitespace or comments till end of line'))\n }\n }\n\n /* ASSIGNMENT: key = value */\n parseAssignStatement () {\n return this.callNow(this.parseAssign, this.recordAssignStatement)\n }\n recordAssignStatement (kv) {\n let target = this.ctx\n let finalKey = kv.key.pop()\n for (let kw of kv.key) {\n if (hasKey(target, kw) && (!isTable(target[kw]) || target[kw][_declared])) {\n throw this.error(new TomlError(\"Can't redefine existing key\"))\n }\n target = target[kw] = target[kw] || Table()\n }\n if (hasKey(target, finalKey)) {\n throw this.error(new TomlError(\"Can't redefine existing key\"))\n }\n // unbox our numbers\n if (isInteger(kv.value) || isFloat(kv.value)) {\n target[finalKey] = kv.value.valueOf()\n } else {\n target[finalKey] = kv.value\n }\n return this.goto(this.parseWhitespaceToEOL)\n }\n\n /* ASSSIGNMENT expression, key = value possibly inside an inline table */\n parseAssign () {\n return this.callNow(this.parseKeyword, this.recordAssignKeyword)\n }\n recordAssignKeyword (key) {\n if (this.state.resultTable) {\n this.state.resultTable.push(key)\n } else {\n this.state.resultTable = [key]\n }\n return this.goto(this.parseAssignKeywordPreDot)\n }\n parseAssignKeywordPreDot () {\n if (this.char === CHAR_PERIOD) {\n return this.next(this.parseAssignKeywordPostDot)\n } else if (this.char !== CHAR_SP && this.char !== CTRL_I) {\n return this.goto(this.parseAssignEqual)\n }\n }\n parseAssignKeywordPostDot () {\n if (this.char !== CHAR_SP && this.char !== CTRL_I) {\n return this.callNow(this.parseKeyword, this.recordAssignKeyword)\n }\n }\n\n parseAssignEqual () {\n if (this.char === CHAR_EQUALS) {\n return this.next(this.parseAssignPreValue)\n } else {\n throw this.error(new TomlError('Invalid character, expected \"=\"'))\n }\n }\n parseAssignPreValue () {\n if (this.char === CHAR_SP || this.char === CTRL_I) {\n return null\n } else {\n return this.callNow(this.parseValue, this.recordAssignValue)\n }\n }\n recordAssignValue (value) {\n return this.returnNow({key: this.state.resultTable, value: value})\n }\n\n /* COMMENTS: #...eol */\n parseComment () {\n do {\n if (this.char === Parser.END || this.char === CTRL_J) {\n return this.return()\n }\n } while (this.nextChar())\n }\n\n /* TABLES AND LISTS, [foo] and [[foo]] */\n parseTableOrList () {\n if (this.char === CHAR_LSQB) {\n this.next(this.parseList)\n } else {\n return this.goto(this.parseTable)\n }\n }\n\n /* TABLE [foo.bar.baz] */\n parseTable () {\n this.ctx = this.obj\n return this.goto(this.parseTableNext)\n }\n parseTableNext () {\n if (this.char === CHAR_SP || this.char === CTRL_I) {\n return null\n } else {\n return this.callNow(this.parseKeyword, this.parseTableMore)\n }\n }\n parseTableMore (keyword) {\n if (this.char === CHAR_SP || this.char === CTRL_I) {\n return null\n } else if (this.char === CHAR_RSQB) {\n if (hasKey(this.ctx, keyword) && (!isTable(this.ctx[keyword]) || this.ctx[keyword][_declared])) {\n throw this.error(new TomlError(\"Can't redefine existing key\"))\n } else {\n this.ctx = this.ctx[keyword] = this.ctx[keyword] || Table()\n this.ctx[_declared] = true\n }\n return this.next(this.parseWhitespaceToEOL)\n } else if (this.char === CHAR_PERIOD) {\n if (!hasKey(this.ctx, keyword)) {\n this.ctx = this.ctx[keyword] = Table()\n } else if (isTable(this.ctx[keyword])) {\n this.ctx = this.ctx[keyword]\n } else if (isList(this.ctx[keyword])) {\n this.ctx = this.ctx[keyword][this.ctx[keyword].length - 1]\n } else {\n throw this.error(new TomlError(\"Can't redefine existing key\"))\n }\n return this.next(this.parseTableNext)\n } else {\n throw this.error(new TomlError('Unexpected character, expected whitespace, . or ]'))\n }\n }\n\n /* LIST [[a.b.c]] */\n parseList () {\n this.ctx = this.obj\n return this.goto(this.parseListNext)\n }\n parseListNext () {\n if (this.char === CHAR_SP || this.char === CTRL_I) {\n return null\n } else {\n return this.callNow(this.parseKeyword, this.parseListMore)\n }\n }\n parseListMore (keyword) {\n if (this.char === CHAR_SP || this.char === CTRL_I) {\n return null\n } else if (this.char === CHAR_RSQB) {\n if (!hasKey(this.ctx, keyword)) {\n this.ctx[keyword] = List()\n }\n if (isInlineList(this.ctx[keyword])) {\n throw this.error(new TomlError(\"Can't extend an inline array\"))\n } else if (isList(this.ctx[keyword])) {\n const next = Table()\n this.ctx[keyword].push(next)\n this.ctx = next\n } else {\n throw this.error(new TomlError(\"Can't redefine an existing key\"))\n }\n return this.next(this.parseListEnd)\n } else if (this.char === CHAR_PERIOD) {\n if (!hasKey(this.ctx, keyword)) {\n this.ctx = this.ctx[keyword] = Table()\n } else if (isInlineList(this.ctx[keyword])) {\n throw this.error(new TomlError(\"Can't extend an inline array\"))\n } else if (isInlineTable(this.ctx[keyword])) {\n throw this.error(new TomlError(\"Can't extend an inline table\"))\n } else if (isList(this.ctx[keyword])) {\n this.ctx = this.ctx[keyword][this.ctx[keyword].length - 1]\n } else if (isTable(this.ctx[keyword])) {\n this.ctx = this.ctx[keyword]\n } else {\n throw this.error(new TomlError(\"Can't redefine an existing key\"))\n }\n return this.next(this.parseListNext)\n } else {\n throw this.error(new TomlError('Unexpected character, expected whitespace, . or ]'))\n }\n }\n parseListEnd (keyword) {\n if (this.char === CHAR_RSQB) {\n return this.next(this.parseWhitespaceToEOL)\n } else {\n throw this.error(new TomlError('Unexpected character, expected whitespace, . or ]'))\n }\n }\n\n /* VALUE string, number, boolean, inline list, inline object */\n parseValue () {\n if (this.char === Parser.END) {\n throw this.error(new TomlError('Key without value'))\n } else if (this.char === CHAR_QUOT) {\n return this.next(this.parseDoubleString)\n } if (this.char === CHAR_APOS) {\n return this.next(this.parseSingleString)\n } else if (this.char === CHAR_HYPHEN || this.char === CHAR_PLUS) {\n return this.goto(this.parseNumberSign)\n } else if (this.char === CHAR_i) {\n return this.next(this.parseInf)\n } else if (this.char === CHAR_n) {\n return this.next(this.parseNan)\n } else if (isDigit(this.char)) {\n return this.goto(this.parseNumberOrDateTime)\n } else if (this.char === CHAR_t || this.char === CHAR_f) {\n return this.goto(this.parseBoolean)\n } else if (this.char === CHAR_LSQB) {\n return this.call(this.parseInlineList, this.recordValue)\n } else if (this.char === CHAR_LCUB) {\n return this.call(this.parseInlineTable, this.recordValue)\n } else {\n throw this.error(new TomlError('Unexpected character, expecting string, number, datetime, boolean, inline array or inline table'))\n }\n }\n recordValue (value) {\n return this.returnNow(value)\n }\n\n parseInf () {\n if (this.char === CHAR_n) {\n return this.next(this.parseInf2)\n } else {\n throw this.error(new TomlError('Unexpected character, expected \"inf\", \"+inf\" or \"-inf\"'))\n }\n }\n parseInf2 () {\n if (this.char === CHAR_f) {\n if (this.state.buf === '-') {\n return this.return(-Infinity)\n } else {\n return this.return(Infinity)\n }\n } else {\n throw this.error(new TomlError('Unexpected character, expected \"inf\", \"+inf\" or \"-inf\"'))\n }\n }\n\n parseNan () {\n if (this.char === CHAR_a) {\n return this.next(this.parseNan2)\n } else {\n throw this.error(new TomlError('Unexpected character, expected \"nan\"'))\n }\n }\n parseNan2 () {\n if (this.char === CHAR_n) {\n return this.return(NaN)\n } else {\n throw this.error(new TomlError('Unexpected character, expected \"nan\"'))\n }\n }\n\n /* KEYS, barewords or basic, literal, or dotted */\n parseKeyword () {\n if (this.char === CHAR_QUOT) {\n return this.next(this.parseBasicString)\n } else if (this.char === CHAR_APOS) {\n return this.next(this.parseLiteralString)\n } else {\n return this.goto(this.parseBareKey)\n }\n }\n\n /* KEYS: barewords */\n parseBareKey () {\n do {\n if (this.char === Parser.END) {\n throw this.error(new TomlError('Key ended without value'))\n } else if (isAlphaNumHyphen(this.char)) {\n this.consume()\n } else if (this.state.buf.length === 0) {\n throw this.error(new TomlError('Empty bare keys are not allowed'))\n } else {\n return this.returnNow()\n }\n } while (this.nextChar())\n }\n\n /* STRINGS, single quoted (literal) */\n parseSingleString () {\n if (this.char === CHAR_APOS) {\n return this.next(this.parseLiteralMultiStringMaybe)\n } else {\n return this.goto(this.parseLiteralString)\n }\n }\n parseLiteralString () {\n do {\n if (this.char === CHAR_APOS) {\n return this.return()\n } else if (this.atEndOfLine()) {\n throw this.error(new TomlError('Unterminated string'))\n } else if (this.char === CHAR_DEL || (this.char <= CTRL_CHAR_BOUNDARY && this.char !== CTRL_I)) {\n throw this.errorControlCharInString()\n } else {\n this.consume()\n }\n } while (this.nextChar())\n }\n parseLiteralMultiStringMaybe () {\n if (this.char === CHAR_APOS) {\n return this.next(this.parseLiteralMultiString)\n } else {\n return this.returnNow()\n }\n }\n parseLiteralMultiString () {\n if (this.char === CTRL_M) {\n return null\n } else if (this.char === CTRL_J) {\n return this.next(this.parseLiteralMultiStringContent)\n } else {\n return this.goto(this.parseLiteralMultiStringContent)\n }\n }\n parseLiteralMultiStringContent () {\n do {\n if (this.char === CHAR_APOS) {\n return this.next(this.parseLiteralMultiEnd)\n } else if (this.char === Parser.END) {\n throw this.error(new TomlError('Unterminated multi-line string'))\n } else if (this.char === CHAR_DEL || (this.char <= CTRL_CHAR_BOUNDARY && this.char !== CTRL_I && this.char !== CTRL_J && this.char !== CTRL_M)) {\n throw this.errorControlCharInString()\n } else {\n this.consume()\n }\n } while (this.nextChar())\n }\n parseLiteralMultiEnd () {\n if (this.char === CHAR_APOS) {\n return this.next(this.parseLiteralMultiEnd2)\n } else {\n this.state.buf += \"'\"\n return this.goto(this.parseLiteralMultiStringContent)\n }\n }\n parseLiteralMultiEnd2 () {\n if (this.char === CHAR_APOS) {\n return this.return()\n } else {\n this.state.buf += \"''\"\n return this.goto(this.parseLiteralMultiStringContent)\n }\n }\n\n /* STRINGS double quoted */\n parseDoubleString () {\n if (this.char === CHAR_QUOT) {\n return this.next(this.parseMultiStringMaybe)\n } else {\n return this.goto(this.parseBasicString)\n }\n }\n parseBasicString () {\n do {\n if (this.char === CHAR_BSOL) {\n return this.call(this.parseEscape, this.recordEscapeReplacement)\n } else if (this.char === CHAR_QUOT) {\n return this.return()\n } else if (this.atEndOfLine()) {\n throw this.error(new TomlError('Unterminated string'))\n } else if (this.char === CHAR_DEL || (this.char <= CTRL_CHAR_BOUNDARY && this.char !== CTRL_I)) {\n throw this.errorControlCharInString()\n } else {\n this.consume()\n }\n } while (this.nextChar())\n }\n recordEscapeReplacement (replacement) {\n this.state.buf += replacement\n return this.goto(this.parseBasicString)\n }\n parseMultiStringMaybe () {\n if (this.char === CHAR_QUOT) {\n return this.next(this.parseMultiString)\n } else {\n return this.returnNow()\n }\n }\n parseMultiString () {\n if (this.char === CTRL_M) {\n return null\n } else if (this.char === CTRL_J) {\n return this.next(this.parseMultiStringContent)\n } else {\n return this.goto(this.parseMultiStringContent)\n }\n }\n parseMultiStringContent () {\n do {\n if (this.char === CHAR_BSOL) {\n return this.call(this.parseMultiEscape, this.recordMultiEscapeReplacement)\n } else if (this.char === CHAR_QUOT) {\n return this.next(this.parseMultiEnd)\n } else if (this.char === Parser.END) {\n throw this.error(new TomlError('Unterminated multi-line string'))\n } else if (this.char === CHAR_DEL || (this.char <= CTRL_CHAR_BOUNDARY && this.char !== CTRL_I && this.char !== CTRL_J && this.char !== CTRL_M)) {\n throw this.errorControlCharInString()\n } else {\n this.consume()\n }\n } while (this.nextChar())\n }\n errorControlCharInString () {\n let displayCode = '\\\\u00'\n if (this.char < 16) {\n displayCode += '0'\n }\n displayCode += this.char.toString(16)\n\n return this.error(new TomlError(`Control characters (codes < 0x1f and 0x7f) are not allowed in strings, use ${displayCode} instead`))\n }\n recordMultiEscapeReplacement (replacement) {\n this.state.buf += replacement\n return this.goto(this.parseMultiStringContent)\n }\n parseMultiEnd () {\n if (this.char === CHAR_QUOT) {\n return this.next(this.parseMultiEnd2)\n } else {\n this.state.buf += '\"'\n return this.goto(this.parseMultiStringContent)\n }\n }\n parseMultiEnd2 () {\n if (this.char === CHAR_QUOT) {\n return this.return()\n } else {\n this.state.buf += '\"\"'\n return this.goto(this.parseMultiStringContent)\n }\n }\n parseMultiEscape () {\n if (this.char === CTRL_M || this.char === CTRL_J) {\n return this.next(this.parseMultiTrim)\n } else if (this.char === CHAR_SP || this.char === CTRL_I) {\n return this.next(this.parsePreMultiTrim)\n } else {\n return this.goto(this.parseEscape)\n }\n }\n parsePreMultiTrim () {\n if (this.char === CHAR_SP || this.char === CTRL_I) {\n return null\n } else if (this.char === CTRL_M || this.char === CTRL_J) {\n return this.next(this.parseMultiTrim)\n } else {\n throw this.error(new TomlError(\"Can't escape whitespace\"))\n }\n }\n parseMultiTrim () {\n // explicitly whitespace here, END should follow the same path as chars\n if (this.char === CTRL_J || this.char === CHAR_SP || this.char === CTRL_I || this.char === CTRL_M) {\n return null\n } else {\n return this.returnNow()\n }\n }\n parseEscape () {\n if (this.char in escapes) {\n return this.return(escapes[this.char])\n } else if (this.char === CHAR_u) {\n return this.call(this.parseSmallUnicode, this.parseUnicodeReturn)\n } else if (this.char === CHAR_U) {\n return this.call(this.parseLargeUnicode, this.parseUnicodeReturn)\n } else {\n throw this.error(new TomlError('Unknown escape character: ' + this.char))\n }\n }\n parseUnicodeReturn (char) {\n try {\n const codePoint = parseInt(char, 16)\n if (codePoint >= SURROGATE_FIRST && codePoint <= SURROGATE_LAST) {\n throw this.error(new TomlError('Invalid unicode, character in range 0xD800 - 0xDFFF is reserved'))\n }\n return this.returnNow(String.fromCodePoint(codePoint))\n } catch (err) {\n throw this.error(TomlError.wrap(err))\n }\n }\n parseSmallUnicode () {\n if (!isHexit(this.char)) {\n throw this.error(new TomlError('Invalid character in unicode sequence, expected hex'))\n } else {\n this.consume()\n if (this.state.buf.length >= 4) return this.return()\n }\n }\n parseLargeUnicode () {\n if (!isHexit(this.char)) {\n throw this.error(new TomlError('Invalid character in unicode sequence, expected hex'))\n } else {\n this.consume()\n if (this.state.buf.length >= 8) return this.return()\n }\n }\n\n /* NUMBERS */\n parseNumberSign () {\n this.consume()\n return this.next(this.parseMaybeSignedInfOrNan)\n }\n parseMaybeSignedInfOrNan () {\n if (this.char === CHAR_i) {\n return this.next(this.parseInf)\n } else if (this.char === CHAR_n) {\n return this.next(this.parseNan)\n } else {\n return this.callNow(this.parseNoUnder, this.parseNumberIntegerStart)\n }\n }\n parseNumberIntegerStart () {\n if (this.char === CHAR_0) {\n this.consume()\n return this.next(this.parseNumberIntegerExponentOrDecimal)\n } else {\n return this.goto(this.parseNumberInteger)\n }\n }\n parseNumberIntegerExponentOrDecimal () {\n if (this.char === CHAR_PERIOD) {\n this.consume()\n return this.call(this.parseNoUnder, this.parseNumberFloat)\n } else if (this.char === CHAR_E || this.char === CHAR_e) {\n this.consume()\n return this.next(this.parseNumberExponentSign)\n } else {\n return this.returnNow(Integer(this.state.buf))\n }\n }\n parseNumberInteger () {\n if (isDigit(this.char)) {\n this.consume()\n } else if (this.char === CHAR_LOWBAR) {\n return this.call(this.parseNoUnder)\n } else if (this.char === CHAR_E || this.char === CHAR_e) {\n this.consume()\n return this.next(this.parseNumberExponentSign)\n } else if (this.char === CHAR_PERIOD) {\n this.consume()\n return this.call(this.parseNoUnder, this.parseNumberFloat)\n } else {\n const result = Integer(this.state.buf)\n /* istanbul ignore if */\n if (result.isNaN()) {\n throw this.error(new TomlError('Invalid number'))\n } else {\n return this.returnNow(result)\n }\n }\n }\n parseNoUnder () {\n if (this.char === CHAR_LOWBAR || this.char === CHAR_PERIOD || this.char === CHAR_E || this.char === CHAR_e) {\n throw this.error(new TomlError('Unexpected character, expected digit'))\n } else if (this.atEndOfWord()) {\n throw this.error(new TomlError('Incomplete number'))\n }\n return this.returnNow()\n }\n parseNoUnderHexOctBinLiteral () {\n if (this.char === CHAR_LOWBAR || this.char === CHAR_PERIOD) {\n throw this.error(new TomlError('Unexpected character, expected digit'))\n } else if (this.atEndOfWord()) {\n throw this.error(new TomlError('Incomplete number'))\n }\n return this.returnNow()\n }\n parseNumberFloat () {\n if (this.char === CHAR_LOWBAR) {\n return this.call(this.parseNoUnder, this.parseNumberFloat)\n } else if (isDigit(this.char)) {\n this.consume()\n } else if (this.char === CHAR_E || this.char === CHAR_e) {\n this.consume()\n return this.next(this.parseNumberExponentSign)\n } else {\n return this.returnNow(Float(this.state.buf))\n }\n }\n parseNumberExponentSign () {\n if (isDigit(this.char)) {\n return this.goto(this.parseNumberExponent)\n } else if (this.char === CHAR_HYPHEN || this.char === CHAR_PLUS) {\n this.consume()\n this.call(this.parseNoUnder, this.parseNumberExponent)\n } else {\n throw this.error(new TomlError('Unexpected character, expected -, + or digit'))\n }\n }\n parseNumberExponent () {\n if (isDigit(this.char)) {\n this.consume()\n } else if (this.char === CHAR_LOWBAR) {\n return this.call(this.parseNoUnder)\n } else {\n return this.returnNow(Float(this.state.buf))\n }\n }\n\n /* NUMBERS or DATETIMES */\n parseNumberOrDateTime () {\n if (this.char === CHAR_0) {\n this.consume()\n return this.next(this.parseNumberBaseOrDateTime)\n } else {\n return this.goto(this.parseNumberOrDateTimeOnly)\n }\n }\n parseNumberOrDateTimeOnly () {\n // note, if two zeros are in a row then it MUST be a date\n if (this.char === CHAR_LOWBAR) {\n return this.call(this.parseNoUnder, this.parseNumberInteger)\n } else if (isDigit(this.char)) {\n this.consume()\n if (this.state.buf.length > 4) this.next(this.parseNumberInteger)\n } else if (this.char === CHAR_E || this.char === CHAR_e) {\n this.consume()\n return this.next(this.parseNumberExponentSign)\n } else if (this.char === CHAR_PERIOD) {\n this.consume()\n return this.call(this.parseNoUnder, this.parseNumberFloat)\n } else if (this.char === CHAR_HYPHEN) {\n return this.goto(this.parseDateTime)\n } else if (this.char === CHAR_COLON) {\n return this.goto(this.parseOnlyTimeHour)\n } else {\n return this.returnNow(Integer(this.state.buf))\n }\n }\n parseDateTimeOnly () {\n if (this.state.buf.length < 4) {\n if (isDigit(this.char)) {\n return this.consume()\n } else if (this.char === CHAR_COLON) {\n return this.goto(this.parseOnlyTimeHour)\n } else {\n throw this.error(new TomlError('Expected digit while parsing year part of a date'))\n }\n } else {\n if (this.char === CHAR_HYPHEN) {\n return this.goto(this.parseDateTime)\n } else {\n throw this.error(new TomlError('Expected hyphen (-) while parsing year part of date'))\n }\n }\n }\n parseNumberBaseOrDateTime () {\n if (this.char === CHAR_b) {\n this.consume()\n return this.call(this.parseNoUnderHexOctBinLiteral, this.parseIntegerBin)\n } else if (this.char === CHAR_o) {\n this.consume()\n return this.call(this.parseNoUnderHexOctBinLiteral, this.parseIntegerOct)\n } else if (this.char === CHAR_x) {\n this.consume()\n return this.call(this.parseNoUnderHexOctBinLiteral, this.parseIntegerHex)\n } else if (this.char === CHAR_PERIOD) {\n return this.goto(this.parseNumberInteger)\n } else if (isDigit(this.char)) {\n return this.goto(this.parseDateTimeOnly)\n } else {\n return this.returnNow(Integer(this.state.buf))\n }\n }\n parseIntegerHex () {\n if (isHexit(this.char)) {\n this.consume()\n } else if (this.char === CHAR_LOWBAR) {\n return this.call(this.parseNoUnderHexOctBinLiteral)\n } else {\n const result = Integer(this.state.buf)\n /* istanbul ignore if */\n if (result.isNaN()) {\n throw this.error(new TomlError('Invalid number'))\n } else {\n return this.returnNow(result)\n }\n }\n }\n parseIntegerOct () {\n if (isOctit(this.char)) {\n this.consume()\n } else if (this.char === CHAR_LOWBAR) {\n return this.call(this.parseNoUnderHexOctBinLiteral)\n } else {\n const result = Integer(this.state.buf)\n /* istanbul ignore if */\n if (result.isNaN()) {\n throw this.error(new TomlError('Invalid number'))\n } else {\n return this.returnNow(result)\n }\n }\n }\n parseIntegerBin () {\n if (isBit(this.char)) {\n this.consume()\n } else if (this.char === CHAR_LOWBAR) {\n return this.call(this.parseNoUnderHexOctBinLiteral)\n } else {\n const result = Integer(this.state.buf)\n /* istanbul ignore if */\n if (result.isNaN()) {\n throw this.error(new TomlError('Invalid number'))\n } else {\n return this.returnNow(result)\n }\n }\n }\n\n /* DATETIME */\n parseDateTime () {\n // we enter here having just consumed the year and about to consume the hyphen\n if (this.state.buf.length < 4) {\n throw this.error(new TomlError('Years less than 1000 must be zero padded to four characters'))\n }\n this.state.result = this.state.buf\n this.state.buf = ''\n return this.next(this.parseDateMonth)\n }\n parseDateMonth () {\n if (this.char === CHAR_HYPHEN) {\n if (this.state.buf.length < 2) {\n throw this.error(new TomlError('Months less than 10 must be zero padded to two characters'))\n }\n this.state.result += '-' + this.state.buf\n this.state.buf = ''\n return this.next(this.parseDateDay)\n } else if (isDigit(this.char)) {\n this.consume()\n } else {\n throw this.error(new TomlError('Incomplete datetime'))\n }\n }\n parseDateDay () {\n if (this.char === CHAR_T || this.char === CHAR_SP) {\n if (this.state.buf.length < 2) {\n throw this.error(new TomlError('Days less than 10 must be zero padded to two characters'))\n }\n this.state.result += '-' + this.state.buf\n this.state.buf = ''\n return this.next(this.parseStartTimeHour)\n } else if (this.atEndOfWord()) {\n return this.returnNow(createDate(this.state.result + '-' + this.state.buf))\n } else if (isDigit(this.char)) {\n this.consume()\n } else {\n throw this.error(new TomlError('Incomplete datetime'))\n }\n }\n parseStartTimeHour () {\n if (this.atEndOfWord()) {\n return this.returnNow(createDate(this.state.result))\n } else {\n return this.goto(this.parseTimeHour)\n }\n }\n parseTimeHour () {\n if (this.char === CHAR_COLON) {\n if (this.state.buf.length < 2) {\n throw this.error(new TomlError('Hours less than 10 must be zero padded to two characters'))\n }\n this.state.result += 'T' + this.state.buf\n this.state.buf = ''\n return this.next(this.parseTimeMin)\n } else if (isDigit(this.char)) {\n this.consume()\n } else {\n throw this.error(new TomlError('Incomplete datetime'))\n }\n }\n parseTimeMin () {\n if (this.state.buf.length < 2 && isDigit(this.char)) {\n this.consume()\n } else if (this.state.buf.length === 2 && this.char === CHAR_COLON) {\n this.state.result += ':' + this.state.buf\n this.state.buf = ''\n return this.next(this.parseTimeSec)\n } else {\n throw this.error(new TomlError('Incomplete datetime'))\n }\n }\n parseTimeSec () {\n if (isDigit(this.char)) {\n this.consume()\n if (this.state.buf.length === 2) {\n this.state.result += ':' + this.state.buf\n this.state.buf = ''\n return this.next(this.parseTimeZoneOrFraction)\n }\n } else {\n throw this.error(new TomlError('Incomplete datetime'))\n }\n }\n\n parseOnlyTimeHour () {\n /* istanbul ignore else */\n if (this.char === CHAR_COLON) {\n if (this.state.buf.length < 2) {\n throw this.error(new TomlError('Hours less than 10 must be zero padded to two characters'))\n }\n this.state.result = this.state.buf\n this.state.buf = ''\n return this.next(this.parseOnlyTimeMin)\n } else {\n throw this.error(new TomlError('Incomplete time'))\n }\n }\n parseOnlyTimeMin () {\n if (this.state.buf.length < 2 && isDigit(this.char)) {\n this.consume()\n } else if (this.state.buf.length === 2 && this.char === CHAR_COLON) {\n this.state.result += ':' + this.state.buf\n this.state.buf = ''\n return this.next(this.parseOnlyTimeSec)\n } else {\n throw this.error(new TomlError('Incomplete time'))\n }\n }\n parseOnlyTimeSec () {\n if (isDigit(this.char)) {\n this.consume()\n if (this.state.buf.length === 2) {\n return this.next(this.parseOnlyTimeFractionMaybe)\n }\n } else {\n throw this.error(new TomlError('Incomplete time'))\n }\n }\n parseOnlyTimeFractionMaybe () {\n this.state.result += ':' + this.state.buf\n if (this.char === CHAR_PERIOD) {\n this.state.buf = ''\n this.next(this.parseOnlyTimeFraction)\n } else {\n return this.return(createTime(this.state.result))\n }\n }\n parseOnlyTimeFraction () {\n if (isDigit(this.char)) {\n this.consume()\n } else if (this.atEndOfWord()) {\n if (this.state.buf.length === 0) throw this.error(new TomlError('Expected digit in milliseconds'))\n return this.returnNow(createTime(this.state.result + '.' + this.state.buf))\n } else {\n throw this.error(new TomlError('Unexpected character in datetime, expected period (.), minus (-), plus (+) or Z'))\n }\n }\n\n parseTimeZoneOrFraction () {\n if (this.char === CHAR_PERIOD) {\n this.consume()\n this.next(this.parseDateTimeFraction)\n } else if (this.char === CHAR_HYPHEN || this.char === CHAR_PLUS) {\n this.consume()\n this.next(this.parseTimeZoneHour)\n } else if (this.char === CHAR_Z) {\n this.consume()\n return this.return(createDateTime(this.state.result + this.state.buf))\n } else if (this.atEndOfWord()) {\n return this.returnNow(createDateTimeFloat(this.state.result + this.state.buf))\n } else {\n throw this.error(new TomlError('Unexpected character in datetime, expected period (.), minus (-), plus (+) or Z'))\n }\n }\n parseDateTimeFraction () {\n if (isDigit(this.char)) {\n this.consume()\n } else if (this.state.buf.length === 1) {\n throw this.error(new TomlError('Expected digit in milliseconds'))\n } else if (this.char === CHAR_HYPHEN || this.char === CHAR_PLUS) {\n this.consume()\n this.next(this.parseTimeZoneHour)\n } else if (this.char === CHAR_Z) {\n this.consume()\n return this.return(createDateTime(this.state.result + this.state.buf))\n } else if (this.atEndOfWord()) {\n return this.returnNow(createDateTimeFloat(this.state.result + this.state.buf))\n } else {\n throw this.error(new TomlError('Unexpected character in datetime, expected period (.), minus (-), plus (+) or Z'))\n }\n }\n parseTimeZoneHour () {\n if (isDigit(this.char)) {\n this.consume()\n // FIXME: No more regexps\n if (/\\d\\d$/.test(this.state.buf)) return this.next(this.parseTimeZoneSep)\n } else {\n throw this.error(new TomlError('Unexpected character in datetime, expected digit'))\n }\n }\n parseTimeZoneSep () {\n if (this.char === CHAR_COLON) {\n this.consume()\n this.next(this.parseTimeZoneMin)\n } else {\n throw this.error(new TomlError('Unexpected character in datetime, expected colon'))\n }\n }\n parseTimeZoneMin () {\n if (isDigit(this.char)) {\n this.consume()\n if (/\\d\\d$/.test(this.state.buf)) return this.return(createDateTime(this.state.result + this.state.buf))\n } else {\n throw this.error(new TomlError('Unexpected character in datetime, expected digit'))\n }\n }\n\n /* BOOLEAN */\n parseBoolean () {\n /* istanbul ignore else */\n if (this.char === CHAR_t) {\n this.consume()\n return this.next(this.parseTrue_r)\n } else if (this.char === CHAR_f) {\n this.consume()\n return this.next(this.parseFalse_a)\n }\n }\n parseTrue_r () {\n if (this.char === CHAR_r) {\n this.consume()\n return this.next(this.parseTrue_u)\n } else {\n throw this.error(new TomlError('Invalid boolean, expected true or false'))\n }\n }\n parseTrue_u () {\n if (this.char === CHAR_u) {\n this.consume()\n return this.next(this.parseTrue_e)\n } else {\n throw this.error(new TomlError('Invalid boolean, expected true or false'))\n }\n }\n parseTrue_e () {\n if (this.char === CHAR_e) {\n return this.return(true)\n } else {\n throw this.error(new TomlError('Invalid boolean, expected true or false'))\n }\n }\n\n parseFalse_a () {\n if (this.char === CHAR_a) {\n this.consume()\n return this.next(this.parseFalse_l)\n } else {\n throw this.error(new TomlError('Invalid boolean, expected true or false'))\n }\n }\n\n parseFalse_l () {\n if (this.char === CHAR_l) {\n this.consume()\n return this.next(this.parseFalse_s)\n } else {\n throw this.error(new TomlError('Invalid boolean, expected true or false'))\n }\n }\n\n parseFalse_s () {\n if (this.char === CHAR_s) {\n this.consume()\n return this.next(this.parseFalse_e)\n } else {\n throw this.error(new TomlError('Invalid boolean, expected true or false'))\n }\n }\n\n parseFalse_e () {\n if (this.char === CHAR_e) {\n return this.return(false)\n } else {\n throw this.error(new TomlError('Invalid boolean, expected true or false'))\n }\n }\n\n /* INLINE LISTS */\n parseInlineList () {\n if (this.char === CHAR_SP || this.char === CTRL_I || this.char === CTRL_M || this.char === CTRL_J) {\n return null\n } else if (this.char === Parser.END) {\n throw this.error(new TomlError('Unterminated inline array'))\n } else if (this.char === CHAR_NUM) {\n return this.call(this.parseComment)\n } else if (this.char === CHAR_RSQB) {\n return this.return(this.state.resultArr || InlineList())\n } else {\n return this.callNow(this.parseValue, this.recordInlineListValue)\n }\n }\n recordInlineListValue (value) {\n if (this.state.resultArr) {\n const listType = this.state.resultArr[_contentType]\n const valueType = tomlType(value)\n if (listType !== valueType) {\n throw this.error(new TomlError(`Inline lists must be a single type, not a mix of ${listType} and ${valueType}`))\n }\n } else {\n this.state.resultArr = InlineList(tomlType(value))\n }\n if (isFloat(value) || isInteger(value)) {\n // unbox now that we've verified they're ok\n this.state.resultArr.push(value.valueOf())\n } else {\n this.state.resultArr.push(value)\n }\n return this.goto(this.parseInlineListNext)\n }\n parseInlineListNext () {\n if (this.char === CHAR_SP || this.char === CTRL_I || this.char === CTRL_M || this.char === CTRL_J) {\n return null\n } else if (this.char === CHAR_NUM) {\n return this.call(this.parseComment)\n } else if (this.char === CHAR_COMMA) {\n return this.next(this.parseInlineList)\n } else if (this.char === CHAR_RSQB) {\n return this.goto(this.parseInlineList)\n } else {\n throw this.error(new TomlError('Invalid character, expected whitespace, comma (,) or close bracket (])'))\n }\n }\n\n /* INLINE TABLE */\n parseInlineTable () {\n if (this.char === CHAR_SP || this.char === CTRL_I) {\n return null\n } else if (this.char === Parser.END || this.char === CHAR_NUM || this.char === CTRL_J || this.char === CTRL_M) {\n throw this.error(new TomlError('Unterminated inline array'))\n } else if (this.char === CHAR_RCUB) {\n return this.return(this.state.resultTable || InlineTable())\n } else {\n if (!this.state.resultTable) this.state.resultTable = InlineTable()\n return this.callNow(this.parseAssign, this.recordInlineTableValue)\n }\n }\n recordInlineTableValue (kv) {\n let target = this.state.resultTable\n let finalKey = kv.key.pop()\n for (let kw of kv.key) {\n if (hasKey(target, kw) && (!isTable(target[kw]) || target[kw][_declared])) {\n throw this.error(new TomlError(\"Can't redefine existing key\"))\n }\n target = target[kw] = target[kw] || Table()\n }\n if (hasKey(target, finalKey)) {\n throw this.error(new TomlError(\"Can't redefine existing key\"))\n }\n if (isInteger(kv.value) || isFloat(kv.value)) {\n target[finalKey] = kv.value.valueOf()\n } else {\n target[finalKey] = kv.value\n }\n return this.goto(this.parseInlineTableNext)\n }\n parseInlineTableNext () {\n if (this.char === CHAR_SP || this.char === CTRL_I) {\n return null\n } else if (this.char === Parser.END || this.char === CHAR_NUM || this.char === CTRL_J || this.char === CTRL_M) {\n throw this.error(new TomlError('Unterminated inline array'))\n } else if (this.char === CHAR_COMMA) {\n return this.next(this.parseInlineTable)\n } else if (this.char === CHAR_RCUB) {\n return this.goto(this.parseInlineTable)\n } else {\n throw this.error(new TomlError('Invalid character, expected whitespace, comma (,) or close bracket (])'))\n }\n }\n }\n return TOMLParser\n}\n","'use strict'\nconst ParserEND = 0x110000\nclass ParserError extends Error {\n /* istanbul ignore next */\n constructor (msg, filename, linenumber) {\n super('[ParserError] ' + msg, filename, linenumber)\n this.name = 'ParserError'\n this.code = 'ParserError'\n if (Error.captureStackTrace) Error.captureStackTrace(this, ParserError)\n }\n}\nclass State {\n constructor (parser) {\n this.parser = parser\n this.buf = ''\n this.returned = null\n this.result = null\n this.resultTable = null\n this.resultArr = null\n }\n}\nclass Parser {\n constructor () {\n this.pos = 0\n this.col = 0\n this.line = 0\n this.obj = {}\n this.ctx = this.obj\n this.stack = []\n this._buf = ''\n this.char = null\n this.ii = 0\n this.state = new State(this.parseStart)\n }\n\n parse (str) {\n /* istanbul ignore next */\n if (str.length === 0 || str.length == null) return\n\n this._buf = String(str)\n this.ii = -1\n this.char = -1\n let getNext\n while (getNext === false || this.nextChar()) {\n getNext = this.runOne()\n }\n this._buf = null\n }\n nextChar () {\n if (this.char === 0x0A) {\n ++this.line\n this.col = -1\n }\n ++this.ii\n this.char = this._buf.codePointAt(this.ii)\n ++this.pos\n ++this.col\n return this.haveBuffer()\n }\n haveBuffer () {\n return this.ii < this._buf.length\n }\n runOne () {\n return this.state.parser.call(this, this.state.returned)\n }\n finish () {\n this.char = ParserEND\n let last\n do {\n last = this.state.parser\n this.runOne()\n } while (this.state.parser !== last)\n\n this.ctx = null\n this.state = null\n this._buf = null\n\n return this.obj\n }\n next (fn) {\n /* istanbul ignore next */\n if (typeof fn !== 'function') throw new ParserError('Tried to set state to non-existent state: ' + JSON.stringify(fn))\n this.state.parser = fn\n }\n goto (fn) {\n this.next(fn)\n return this.runOne()\n }\n call (fn, returnWith) {\n if (returnWith) this.next(returnWith)\n this.stack.push(this.state)\n this.state = new State(fn)\n }\n callNow (fn, returnWith) {\n this.call(fn, returnWith)\n return this.runOne()\n }\n return (value) {\n /* istanbul ignore next */\n if (this.stack.length === 0) throw this.error(new ParserError('Stack underflow'))\n if (value === undefined) value = this.state.buf\n this.state = this.stack.pop()\n this.state.returned = value\n }\n returnNow (value) {\n this.return(value)\n return this.runOne()\n }\n consume () {\n /* istanbul ignore next */\n if (this.char === ParserEND) throw this.error(new ParserError('Unexpected end-of-buffer'))\n this.state.buf += this._buf[this.ii]\n }\n error (err) {\n err.line = this.line\n err.col = this.col\n err.pos = this.pos\n return err\n }\n /* istanbul ignore next */\n parseStart () {\n throw new ParserError('Must declare a parseStart method')\n }\n}\nParser.END = ParserEND\nParser.Error = ParserError\nmodule.exports = Parser\n","'use strict'\nmodule.exports = value => {\n const date = new Date(value)\n /* istanbul ignore if */\n if (isNaN(date)) {\n throw new TypeError('Invalid Datetime')\n } else {\n return date\n }\n}\n","'use strict'\nconst f = require('./format-num.js')\n\nclass FloatingDateTime extends Date {\n constructor (value) {\n super(value + 'Z')\n this.isFloating = true\n }\n toISOString () {\n const date = `${this.getUTCFullYear()}-${f(2, this.getUTCMonth() + 1)}-${f(2, this.getUTCDate())}`\n const time = `${f(2, this.getUTCHours())}:${f(2, this.getUTCMinutes())}:${f(2, this.getUTCSeconds())}.${f(3, this.getUTCMilliseconds())}`\n return `${date}T${time}`\n }\n}\n\nmodule.exports = value => {\n const date = new FloatingDateTime(value)\n /* istanbul ignore if */\n if (isNaN(date)) {\n throw new TypeError('Invalid Datetime')\n } else {\n return date\n }\n}\n","'use strict'\nmodule.exports = (d, num) => {\n num = String(num)\n while (num.length < d) num = '0' + num\n return num\n}\n","'use strict'\nconst f = require('./format-num.js')\nconst DateTime = global.Date\n\nclass Date extends DateTime {\n constructor (value) {\n super(value)\n this.isDate = true\n }\n toISOString () {\n return `${this.getUTCFullYear()}-${f(2, this.getUTCMonth() + 1)}-${f(2, this.getUTCDate())}`\n }\n}\n\nmodule.exports = value => {\n const date = new Date(value)\n /* istanbul ignore if */\n if (isNaN(date)) {\n throw new TypeError('Invalid Datetime')\n } else {\n return date\n }\n}\n","'use strict'\nconst f = require('./format-num.js')\n\nclass Time extends Date {\n constructor (value) {\n super(`0000-01-01T${value}Z`)\n this.isTime = true\n }\n toISOString () {\n return `${f(2, this.getUTCHours())}:${f(2, this.getUTCMinutes())}:${f(2, this.getUTCSeconds())}.${f(3, this.getUTCMilliseconds())}`\n }\n}\n\nmodule.exports = value => {\n const date = new Time(value)\n /* istanbul ignore if */\n if (isNaN(date)) {\n throw new TypeError('Invalid Datetime')\n } else {\n return date\n }\n}\n","'use strict'\nmodule.exports = prettyError\n\nfunction prettyError (err, buf) {\n /* istanbul ignore if */\n if (err.pos == null || err.line == null) return err\n let msg = err.message\n msg += ` at row ${err.line + 1}, col ${err.col + 1}, pos ${err.pos}:\\n`\n\n /* istanbul ignore else */\n if (buf && buf.split) {\n const lines = buf.split(/\\n/)\n const lineNumWidth = String(Math.min(lines.length, err.line + 3)).length\n let linePadding = ' '\n while (linePadding.length < lineNumWidth) linePadding += ' '\n for (let ii = Math.max(0, err.line - 1); ii < Math.min(lines.length, err.line + 2); ++ii) {\n let lineNum = String(ii + 1)\n if (lineNum.length < lineNumWidth) lineNum = ' ' + lineNum\n if (err.line === ii) {\n msg += lineNum + '> ' + lines[ii] + '\\n'\n msg += linePadding + ' '\n for (let hh = 0; hh < err.col; ++hh) {\n msg += ' '\n }\n msg += '^\\n'\n } else {\n msg += lineNum + ': ' + lines[ii] + '\\n'\n }\n }\n }\n err.message = msg + '\\n'\n return err\n}\n","'use strict'\nmodule.exports = parseAsync\n\nconst TOMLParser = require('./lib/toml-parser.js')\nconst prettyError = require('./parse-pretty-error.js')\n\nfunction parseAsync (str, opts) {\n if (!opts) opts = {}\n const index = 0\n const blocksize = opts.blocksize || 40960\n const parser = new TOMLParser()\n return new Promise((resolve, reject) => {\n setImmediate(parseAsyncNext, index, blocksize, resolve, reject)\n })\n function parseAsyncNext (index, blocksize, resolve, reject) {\n if (index >= str.length) {\n try {\n return resolve(parser.finish())\n } catch (err) {\n return reject(prettyError(err, str))\n }\n }\n try {\n parser.parse(str.slice(index, index + blocksize))\n setImmediate(parseAsyncNext, index + blocksize, blocksize, resolve, reject)\n } catch (err) {\n reject(prettyError(err, str))\n }\n }\n}\n","'use strict'\nmodule.exports = parseStream\n\nconst stream = require('stream')\nconst TOMLParser = require('./lib/toml-parser.js')\n\nfunction parseStream (stm) {\n if (stm) {\n return parseReadable(stm)\n } else {\n return parseTransform(stm)\n }\n}\n\nfunction parseReadable (stm) {\n const parser = new TOMLParser()\n stm.setEncoding('utf8')\n return new Promise((resolve, reject) => {\n let readable\n let ended = false\n let errored = false\n function finish () {\n ended = true\n if (readable) return\n try {\n resolve(parser.finish())\n } catch (err) {\n reject(err)\n }\n }\n function error (err) {\n errored = true\n reject(err)\n }\n stm.once('end', finish)\n stm.once('error', error)\n readNext()\n\n function readNext () {\n readable = true\n let data\n while ((data = stm.read()) !== null) {\n try {\n parser.parse(data)\n } catch (err) {\n return error(err)\n }\n }\n readable = false\n /* istanbul ignore if */\n if (ended) return finish()\n /* istanbul ignore if */\n if (errored) return\n stm.once('readable', readNext)\n }\n })\n}\n\nfunction parseTransform () {\n const parser = new TOMLParser()\n return new stream.Transform({\n objectMode: true,\n transform (chunk, encoding, cb) {\n try {\n parser.parse(chunk.toString(encoding))\n } catch (err) {\n this.emit('error', err)\n }\n cb()\n },\n flush (cb) {\n try {\n this.push(parser.finish())\n } catch (err) {\n this.emit('error', err)\n }\n cb()\n }\n })\n}\n","'use strict'\nmodule.exports = stringify\nmodule.exports.value = stringifyInline\n\nfunction stringify (obj) {\n if (obj === null) throw typeError('null')\n if (obj === void (0)) throw typeError('undefined')\n if (typeof obj !== 'object') throw typeError(typeof obj)\n\n if (typeof obj.toJSON === 'function') obj = obj.toJSON()\n if (obj == null) return null\n const type = tomlType(obj)\n if (type !== 'table') throw typeError(type)\n return stringifyObject('', '', obj)\n}\n\nfunction typeError (type) {\n return new Error('Can only stringify objects, not ' + type)\n}\n\nfunction arrayOneTypeError () {\n return new Error(\"Array values can't have mixed types\")\n}\n\nfunction getInlineKeys (obj) {\n return Object.keys(obj).filter(key => isInline(obj[key]))\n}\nfunction getComplexKeys (obj) {\n return Object.keys(obj).filter(key => !isInline(obj[key]))\n}\n\nfunction toJSON (obj) {\n let nobj = Array.isArray(obj) ? [] : Object.prototype.hasOwnProperty.call(obj, '__proto__') ? {['__proto__']: undefined} : {}\n for (let prop of Object.keys(obj)) {\n if (obj[prop] && typeof obj[prop].toJSON === 'function' && !('toISOString' in obj[prop])) {\n nobj[prop] = obj[prop].toJSON()\n } else {\n nobj[prop] = obj[prop]\n }\n }\n return nobj\n}\n\nfunction stringifyObject (prefix, indent, obj) {\n obj = toJSON(obj)\n var inlineKeys\n var complexKeys\n inlineKeys = getInlineKeys(obj)\n complexKeys = getComplexKeys(obj)\n var result = []\n var inlineIndent = indent || ''\n inlineKeys.forEach(key => {\n var type = tomlType(obj[key])\n if (type !== 'undefined' && type !== 'null') {\n result.push(inlineIndent + stringifyKey(key) + ' = ' + stringifyAnyInline(obj[key], true))\n }\n })\n if (result.length > 0) result.push('')\n var complexIndent = prefix && inlineKeys.length > 0 ? indent + ' ' : ''\n complexKeys.forEach(key => {\n result.push(stringifyComplex(prefix, complexIndent, key, obj[key]))\n })\n return result.join('\\n')\n}\n\nfunction isInline (value) {\n switch (tomlType(value)) {\n case 'undefined':\n case 'null':\n case 'integer':\n case 'nan':\n case 'float':\n case 'boolean':\n case 'string':\n case 'datetime':\n return true\n case 'array':\n return value.length === 0 || tomlType(value[0]) !== 'table'\n case 'table':\n return Object.keys(value).length === 0\n /* istanbul ignore next */\n default:\n return false\n }\n}\n\nfunction tomlType (value) {\n if (value === undefined) {\n return 'undefined'\n } else if (value === null) {\n return 'null'\n /* eslint-disable valid-typeof */\n } else if (typeof value === 'bigint' || (Number.isInteger(value) && !Object.is(value, -0))) {\n return 'integer'\n } else if (typeof value === 'number') {\n return 'float'\n } else if (typeof value === 'boolean') {\n return 'boolean'\n } else if (typeof value === 'string') {\n return 'string'\n } else if ('toISOString' in value) {\n return isNaN(value) ? 'undefined' : 'datetime'\n } else if (Array.isArray(value)) {\n return 'array'\n } else {\n return 'table'\n }\n}\n\nfunction stringifyKey (key) {\n var keyStr = String(key)\n if (/^[-A-Za-z0-9_]+$/.test(keyStr)) {\n return keyStr\n } else {\n return stringifyBasicString(keyStr)\n }\n}\n\nfunction stringifyBasicString (str) {\n return '\"' + escapeString(str).replace(/\"/g, '\\\\\"') + '\"'\n}\n\nfunction stringifyLiteralString (str) {\n return \"'\" + str + \"'\"\n}\n\nfunction numpad (num, str) {\n while (str.length < num) str = '0' + str\n return str\n}\n\nfunction escapeString (str) {\n return str.replace(/\\\\/g, '\\\\\\\\')\n .replace(/[\\b]/g, '\\\\b')\n .replace(/\\t/g, '\\\\t')\n .replace(/\\n/g, '\\\\n')\n .replace(/\\f/g, '\\\\f')\n .replace(/\\r/g, '\\\\r')\n /* eslint-disable no-control-regex */\n .replace(/([\\u0000-\\u001f\\u007f])/, c => '\\\\u' + numpad(4, c.codePointAt(0).toString(16)))\n /* eslint-enable no-control-regex */\n}\n\nfunction stringifyMultilineString (str) {\n let escaped = str.split(/\\n/).map(str => {\n return escapeString(str).replace(/\"(?=\"\")/g, '\\\\\"')\n }).join('\\n')\n if (escaped.slice(-1) === '\"') escaped += '\\\\\\n'\n return '\"\"\"\\n' + escaped + '\"\"\"'\n}\n\nfunction stringifyAnyInline (value, multilineOk) {\n let type = tomlType(value)\n if (type === 'string') {\n if (multilineOk && /\\n/.test(value)) {\n type = 'string-multiline'\n } else if (!/[\\b\\t\\n\\f\\r']/.test(value) && /\"/.test(value)) {\n type = 'string-literal'\n }\n }\n return stringifyInline(value, type)\n}\n\nfunction stringifyInline (value, type) {\n /* istanbul ignore if */\n if (!type) type = tomlType(value)\n switch (type) {\n case 'string-multiline':\n return stringifyMultilineString(value)\n case 'string':\n return stringifyBasicString(value)\n case 'string-literal':\n return stringifyLiteralString(value)\n case 'integer':\n return stringifyInteger(value)\n case 'float':\n return stringifyFloat(value)\n case 'boolean':\n return stringifyBoolean(value)\n case 'datetime':\n return stringifyDatetime(value)\n case 'array':\n return stringifyInlineArray(value.filter(_ => tomlType(_) !== 'null' && tomlType(_) !== 'undefined' && tomlType(_) !== 'nan'))\n case 'table':\n return stringifyInlineTable(value)\n /* istanbul ignore next */\n default:\n throw typeError(type)\n }\n}\n\nfunction stringifyInteger (value) {\n /* eslint-disable security/detect-unsafe-regex */\n return String(value).replace(/\\B(?=(\\d{3})+(?!\\d))/g, '_')\n}\n\nfunction stringifyFloat (value) {\n if (value === Infinity) {\n return 'inf'\n } else if (value === -Infinity) {\n return '-inf'\n } else if (Object.is(value, NaN)) {\n return 'nan'\n } else if (Object.is(value, -0)) {\n return '-0.0'\n }\n var chunks = String(value).split('.')\n var int = chunks[0]\n var dec = chunks[1] || 0\n return stringifyInteger(int) + '.' + dec\n}\n\nfunction stringifyBoolean (value) {\n return String(value)\n}\n\nfunction stringifyDatetime (value) {\n return value.toISOString()\n}\n\nfunction isNumber (type) {\n return type === 'float' || type === 'integer'\n}\nfunction arrayType (values) {\n var contentType = tomlType(values[0])\n if (values.every(_ => tomlType(_) === contentType)) return contentType\n // mixed integer/float, emit as floats\n if (values.every(_ => isNumber(tomlType(_)))) return 'float'\n return 'mixed'\n}\nfunction validateArray (values) {\n const type = arrayType(values)\n if (type === 'mixed') {\n throw arrayOneTypeError()\n }\n return type\n}\n\nfunction stringifyInlineArray (values) {\n values = toJSON(values)\n const type = validateArray(values)\n var result = '['\n var stringified = values.map(_ => stringifyInline(_, type))\n if (stringified.join(', ').length > 60 || /\\n/.test(stringified)) {\n result += '\\n ' + stringified.join(',\\n ') + '\\n'\n } else {\n result += ' ' + stringified.join(', ') + (stringified.length > 0 ? ' ' : '')\n }\n return result + ']'\n}\n\nfunction stringifyInlineTable (value) {\n value = toJSON(value)\n var result = []\n Object.keys(value).forEach(key => {\n result.push(stringifyKey(key) + ' = ' + stringifyAnyInline(value[key], false))\n })\n return '{ ' + result.join(', ') + (result.length > 0 ? ' ' : '') + '}'\n}\n\nfunction stringifyComplex (prefix, indent, key, value) {\n var valueType = tomlType(value)\n /* istanbul ignore else */\n if (valueType === 'array') {\n return stringifyArrayOfTables(prefix, indent, key, value)\n } else if (valueType === 'table') {\n return stringifyComplexTable(prefix, indent, key, value)\n } else {\n throw typeError(valueType)\n }\n}\n\nfunction stringifyArrayOfTables (prefix, indent, key, values) {\n values = toJSON(values)\n validateArray(values)\n var firstValueType = tomlType(values[0])\n /* istanbul ignore if */\n if (firstValueType !== 'table') throw typeError(firstValueType)\n var fullKey = prefix + stringifyKey(key)\n var result = ''\n values.forEach(table => {\n if (result.length > 0) result += '\\n'\n result += indent + '[[' + fullKey + ']]\\n'\n result += stringifyObject(fullKey + '.', indent, table)\n })\n return result\n}\n\nfunction stringifyComplexTable (prefix, indent, key, value) {\n var fullKey = prefix + stringifyKey(key)\n var result = ''\n if (getInlineKeys(value).length > 0) {\n result += indent + '[' + fullKey + ']\\n'\n }\n return result + stringifyObject(fullKey + '.', indent, value)\n}\n","import * as path from 'path';\nimport * as core from '@actions/core';\nimport * as tc from '@actions/tool-cache';\nimport * as exec from '@actions/exec';\nimport {ExecOptions} from '@actions/exec/lib/interfaces';\nimport {IS_WINDOWS, IS_LINUX} from './utils';\n\nconst TOKEN = core.getInput('token');\nconst AUTH = !TOKEN ? undefined : `token ${TOKEN}`;\nconst MANIFEST_REPO_OWNER = 'actions';\nconst MANIFEST_REPO_NAME = 'python-versions';\nconst MANIFEST_REPO_BRANCH = 'main';\nexport const MANIFEST_URL = `https://raw.githubusercontent.com/${MANIFEST_REPO_OWNER}/${MANIFEST_REPO_NAME}/${MANIFEST_REPO_BRANCH}/versions-manifest.json`;\n\nexport async function findReleaseFromManifest(\n semanticVersionSpec: string,\n architecture: string,\n manifest: tc.IToolRelease[] | null\n): Promise {\n if (!manifest) {\n manifest = await getManifest();\n }\n\n const foundRelease = await tc.findFromManifest(\n semanticVersionSpec,\n false,\n manifest,\n architecture\n );\n\n return foundRelease;\n}\n\nexport function getManifest(): Promise {\n core.debug(\n `Getting manifest from ${MANIFEST_REPO_OWNER}/${MANIFEST_REPO_NAME}@${MANIFEST_REPO_BRANCH}`\n );\n return tc.getManifestFromRepo(\n MANIFEST_REPO_OWNER,\n MANIFEST_REPO_NAME,\n AUTH,\n MANIFEST_REPO_BRANCH\n );\n}\n\nasync function installPython(workingDirectory: string) {\n const options: ExecOptions = {\n cwd: workingDirectory,\n env: {\n ...process.env,\n ...(IS_LINUX && {LD_LIBRARY_PATH: path.join(workingDirectory, 'lib')})\n },\n silent: true,\n listeners: {\n stdout: (data: Buffer) => {\n core.info(data.toString().trim());\n },\n stderr: (data: Buffer) => {\n core.error(data.toString().trim());\n }\n }\n };\n\n if (IS_WINDOWS) {\n await exec.exec('powershell', ['./setup.ps1'], options);\n } else {\n await exec.exec('bash', ['./setup.sh'], options);\n }\n}\n\nexport async function installCpythonFromRelease(release: tc.IToolRelease) {\n const downloadUrl = release.files[0].download_url;\n\n core.info(`Download from \"${downloadUrl}\"`);\n let pythonPath = '';\n try {\n pythonPath = await tc.downloadTool(downloadUrl, undefined, AUTH);\n core.info('Extract downloaded archive');\n let pythonExtractedFolder;\n if (IS_WINDOWS) {\n pythonExtractedFolder = await tc.extractZip(pythonPath);\n } else {\n pythonExtractedFolder = await tc.extractTar(pythonPath);\n }\n\n core.info('Execute installation script');\n await installPython(pythonExtractedFolder);\n } catch (err) {\n if (err instanceof tc.HTTPError) {\n // Rate limit?\n if (err.httpStatusCode === 403 || err.httpStatusCode === 429) {\n core.info(\n `Received HTTP status code ${err.httpStatusCode}. This usually indicates the rate limit has been exceeded`\n );\n } else {\n core.info(err.message);\n }\n if (err.stack) {\n core.debug(err.stack);\n }\n }\n throw err;\n }\n}\n",null,null,null,null,"exports = module.exports = SemVer\n\nvar debug\n/* istanbul ignore next */\nif (typeof process === 'object' &&\n process.env &&\n process.env.NODE_DEBUG &&\n /\\bsemver\\b/i.test(process.env.NODE_DEBUG)) {\n debug = function () {\n var args = Array.prototype.slice.call(arguments, 0)\n args.unshift('SEMVER')\n console.log.apply(console, args)\n }\n} else {\n debug = function () {}\n}\n\n// Note: this is the semver.org version of the spec that it implements\n// Not necessarily the package version of this code.\nexports.SEMVER_SPEC_VERSION = '2.0.0'\n\nvar MAX_LENGTH = 256\nvar MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER ||\n /* istanbul ignore next */ 9007199254740991\n\n// Max safe segment length for coercion.\nvar MAX_SAFE_COMPONENT_LENGTH = 16\n\nvar MAX_SAFE_BUILD_LENGTH = MAX_LENGTH - 6\n\n// The actual regexps go on exports.re\nvar re = exports.re = []\nvar safeRe = exports.safeRe = []\nvar src = exports.src = []\nvar t = exports.tokens = {}\nvar R = 0\n\nfunction tok (n) {\n t[n] = R++\n}\n\nvar LETTERDASHNUMBER = '[a-zA-Z0-9-]'\n\n// Replace some greedy regex tokens to prevent regex dos issues. These regex are\n// used internally via the safeRe object since all inputs in this library get\n// normalized first to trim and collapse all extra whitespace. The original\n// regexes are exported for userland consumption and lower level usage. A\n// future breaking change could export the safer regex only with a note that\n// all input should have extra whitespace removed.\nvar safeRegexReplacements = [\n ['\\\\s', 1],\n ['\\\\d', MAX_LENGTH],\n [LETTERDASHNUMBER, MAX_SAFE_BUILD_LENGTH],\n]\n\nfunction makeSafeRe (value) {\n for (var i = 0; i < safeRegexReplacements.length; i++) {\n var token = safeRegexReplacements[i][0]\n var max = safeRegexReplacements[i][1]\n value = value\n .split(token + '*').join(token + '{0,' + max + '}')\n .split(token + '+').join(token + '{1,' + max + '}')\n }\n return value\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\ntok('NUMERICIDENTIFIER')\nsrc[t.NUMERICIDENTIFIER] = '0|[1-9]\\\\d*'\ntok('NUMERICIDENTIFIERLOOSE')\nsrc[t.NUMERICIDENTIFIERLOOSE] = '\\\\d+'\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\ntok('NONNUMERICIDENTIFIER')\nsrc[t.NONNUMERICIDENTIFIER] = '\\\\d*[a-zA-Z-]' + LETTERDASHNUMBER + '*'\n\n// ## Main Version\n// Three dot-separated numeric identifiers.\n\ntok('MAINVERSION')\nsrc[t.MAINVERSION] = '(' + src[t.NUMERICIDENTIFIER] + ')\\\\.' +\n '(' + src[t.NUMERICIDENTIFIER] + ')\\\\.' +\n '(' + src[t.NUMERICIDENTIFIER] + ')'\n\ntok('MAINVERSIONLOOSE')\nsrc[t.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\ntok('PRERELEASEIDENTIFIER')\nsrc[t.PRERELEASEIDENTIFIER] = '(?:' + src[t.NUMERICIDENTIFIER] +\n '|' + src[t.NONNUMERICIDENTIFIER] + ')'\n\ntok('PRERELEASEIDENTIFIERLOOSE')\nsrc[t.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\ntok('PRERELEASE')\nsrc[t.PRERELEASE] = '(?:-(' + src[t.PRERELEASEIDENTIFIER] +\n '(?:\\\\.' + src[t.PRERELEASEIDENTIFIER] + ')*))'\n\ntok('PRERELEASELOOSE')\nsrc[t.PRERELEASELOOSE] = '(?:-?(' + src[t.PRERELEASEIDENTIFIERLOOSE] +\n '(?:\\\\.' + src[t.PRERELEASEIDENTIFIERLOOSE] + ')*))'\n\n// ## Build Metadata Identifier\n// Any combination of digits, letters, or hyphens.\n\ntok('BUILDIDENTIFIER')\nsrc[t.BUILDIDENTIFIER] = LETTERDASHNUMBER + '+'\n\n// ## Build Metadata\n// Plus sign, followed by one or more period-separated build metadata\n// identifiers.\n\ntok('BUILD')\nsrc[t.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\ntok('FULL')\ntok('FULLPLAIN')\nsrc[t.FULLPLAIN] = 'v?' + src[t.MAINVERSION] +\n src[t.PRERELEASE] + '?' +\n src[t.BUILD] + '?'\n\nsrc[t.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.\ntok('LOOSEPLAIN')\nsrc[t.LOOSEPLAIN] = '[v=\\\\s]*' + src[t.MAINVERSIONLOOSE] +\n src[t.PRERELEASELOOSE] + '?' +\n src[t.BUILD] + '?'\n\ntok('LOOSE')\nsrc[t.LOOSE] = '^' + src[t.LOOSEPLAIN] + '$'\n\ntok('GTLT')\nsrc[t.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.\ntok('XRANGEIDENTIFIERLOOSE')\nsrc[t.XRANGEIDENTIFIERLOOSE] = src[t.NUMERICIDENTIFIERLOOSE] + '|x|X|\\\\*'\ntok('XRANGEIDENTIFIER')\nsrc[t.XRANGEIDENTIFIER] = src[t.NUMERICIDENTIFIER] + '|x|X|\\\\*'\n\ntok('XRANGEPLAIN')\nsrc[t.XRANGEPLAIN] = '[v=\\\\s]*(' + src[t.XRANGEIDENTIFIER] + ')' +\n '(?:\\\\.(' + src[t.XRANGEIDENTIFIER] + ')' +\n '(?:\\\\.(' + src[t.XRANGEIDENTIFIER] + ')' +\n '(?:' + src[t.PRERELEASE] + ')?' +\n src[t.BUILD] + '?' +\n ')?)?'\n\ntok('XRANGEPLAINLOOSE')\nsrc[t.XRANGEPLAINLOOSE] = '[v=\\\\s]*(' + src[t.XRANGEIDENTIFIERLOOSE] + ')' +\n '(?:\\\\.(' + src[t.XRANGEIDENTIFIERLOOSE] + ')' +\n '(?:\\\\.(' + src[t.XRANGEIDENTIFIERLOOSE] + ')' +\n '(?:' + src[t.PRERELEASELOOSE] + ')?' +\n src[t.BUILD] + '?' +\n ')?)?'\n\ntok('XRANGE')\nsrc[t.XRANGE] = '^' + src[t.GTLT] + '\\\\s*' + src[t.XRANGEPLAIN] + '$'\ntok('XRANGELOOSE')\nsrc[t.XRANGELOOSE] = '^' + src[t.GTLT] + '\\\\s*' + src[t.XRANGEPLAINLOOSE] + '$'\n\n// Coercion.\n// Extract anything that could conceivably be a part of a valid semver\ntok('COERCE')\nsrc[t.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])'\ntok('COERCERTL')\nre[t.COERCERTL] = new RegExp(src[t.COERCE], 'g')\nsafeRe[t.COERCERTL] = new RegExp(makeSafeRe(src[t.COERCE]), 'g')\n\n// Tilde ranges.\n// Meaning is \"reasonably at or greater than\"\ntok('LONETILDE')\nsrc[t.LONETILDE] = '(?:~>?)'\n\ntok('TILDETRIM')\nsrc[t.TILDETRIM] = '(\\\\s*)' + src[t.LONETILDE] + '\\\\s+'\nre[t.TILDETRIM] = new RegExp(src[t.TILDETRIM], 'g')\nsafeRe[t.TILDETRIM] = new RegExp(makeSafeRe(src[t.TILDETRIM]), 'g')\nvar tildeTrimReplace = '$1~'\n\ntok('TILDE')\nsrc[t.TILDE] = '^' + src[t.LONETILDE] + src[t.XRANGEPLAIN] + '$'\ntok('TILDELOOSE')\nsrc[t.TILDELOOSE] = '^' + src[t.LONETILDE] + src[t.XRANGEPLAINLOOSE] + '$'\n\n// Caret ranges.\n// Meaning is \"at least and backwards compatible with\"\ntok('LONECARET')\nsrc[t.LONECARET] = '(?:\\\\^)'\n\ntok('CARETTRIM')\nsrc[t.CARETTRIM] = '(\\\\s*)' + src[t.LONECARET] + '\\\\s+'\nre[t.CARETTRIM] = new RegExp(src[t.CARETTRIM], 'g')\nsafeRe[t.CARETTRIM] = new RegExp(makeSafeRe(src[t.CARETTRIM]), 'g')\nvar caretTrimReplace = '$1^'\n\ntok('CARET')\nsrc[t.CARET] = '^' + src[t.LONECARET] + src[t.XRANGEPLAIN] + '$'\ntok('CARETLOOSE')\nsrc[t.CARETLOOSE] = '^' + src[t.LONECARET] + src[t.XRANGEPLAINLOOSE] + '$'\n\n// A simple gt/lt/eq thing, or just \"\" to indicate \"any version\"\ntok('COMPARATORLOOSE')\nsrc[t.COMPARATORLOOSE] = '^' + src[t.GTLT] + '\\\\s*(' + src[t.LOOSEPLAIN] + ')$|^$'\ntok('COMPARATOR')\nsrc[t.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`\ntok('COMPARATORTRIM')\nsrc[t.COMPARATORTRIM] = '(\\\\s*)' + src[t.GTLT] +\n '\\\\s*(' + src[t.LOOSEPLAIN] + '|' + src[t.XRANGEPLAIN] + ')'\n\n// this one has to use the /g flag\nre[t.COMPARATORTRIM] = new RegExp(src[t.COMPARATORTRIM], 'g')\nsafeRe[t.COMPARATORTRIM] = new RegExp(makeSafeRe(src[t.COMPARATORTRIM]), 'g')\nvar 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.\ntok('HYPHENRANGE')\nsrc[t.HYPHENRANGE] = '^\\\\s*(' + src[t.XRANGEPLAIN] + ')' +\n '\\\\s+-\\\\s+' +\n '(' + src[t.XRANGEPLAIN] + ')' +\n '\\\\s*$'\n\ntok('HYPHENRANGELOOSE')\nsrc[t.HYPHENRANGELOOSE] = '^\\\\s*(' + src[t.XRANGEPLAINLOOSE] + ')' +\n '\\\\s+-\\\\s+' +\n '(' + src[t.XRANGEPLAINLOOSE] + ')' +\n '\\\\s*$'\n\n// Star ranges basically just allow anything at all.\ntok('STAR')\nsrc[t.STAR] = '(<|>)?=?\\\\s*\\\\*'\n\n// Compile to actual regexp objects.\n// All are flag-free, unless they were created above with a flag.\nfor (var i = 0; i < R; i++) {\n debug(i, src[i])\n if (!re[i]) {\n re[i] = new RegExp(src[i])\n\n // Replace all greedy whitespace to prevent regex dos issues. These regex are\n // used internally via the safeRe object since all inputs in this library get\n // normalized first to trim and collapse all extra whitespace. The original\n // regexes are exported for userland consumption and lower level usage. A\n // future breaking change could export the safer regex only with a note that\n // all input should have extra whitespace removed.\n safeRe[i] = new RegExp(makeSafeRe(src[i]))\n }\n}\n\nexports.parse = parse\nfunction parse (version, options) {\n if (!options || typeof options !== 'object') {\n options = {\n loose: !!options,\n includePrerelease: false\n }\n }\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 var r = options.loose ? safeRe[t.LOOSE] : safeRe[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\nexports.valid = valid\nfunction valid (version, options) {\n var v = parse(version, options)\n return v ? v.version : null\n}\n\nexports.clean = clean\nfunction clean (version, options) {\n var s = parse(version.trim().replace(/^[=v]+/, ''), options)\n return s ? s.version : null\n}\n\nexports.SemVer = SemVer\n\nfunction SemVer (version, options) {\n if (!options || typeof options !== 'object') {\n options = {\n loose: !!options,\n includePrerelease: false\n }\n }\n if (version instanceof SemVer) {\n if (version.loose === options.loose) {\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('version is longer than ' + MAX_LENGTH + ' characters')\n }\n\n if (!(this instanceof SemVer)) {\n return new SemVer(version, options)\n }\n\n debug('SemVer', version, options)\n this.options = options\n this.loose = !!options.loose\n\n var m = version.trim().match(options.loose ? safeRe[t.LOOSE] : safeRe[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(function (id) {\n if (/^[0-9]+$/.test(id)) {\n var 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\nSemVer.prototype.format = function () {\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\nSemVer.prototype.toString = function () {\n return this.version\n}\n\nSemVer.prototype.compare = function (other) {\n debug('SemVer.compare', this.version, this.options, other)\n if (!(other instanceof SemVer)) {\n other = new SemVer(other, this.options)\n }\n\n return this.compareMain(other) || this.comparePre(other)\n}\n\nSemVer.prototype.compareMain = function (other) {\n if (!(other instanceof SemVer)) {\n other = new SemVer(other, this.options)\n }\n\n return compareIdentifiers(this.major, other.major) ||\n compareIdentifiers(this.minor, other.minor) ||\n compareIdentifiers(this.patch, other.patch)\n}\n\nSemVer.prototype.comparePre = function (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 var i = 0\n do {\n var a = this.prerelease[i]\n var 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\nSemVer.prototype.compareBuild = function (other) {\n if (!(other instanceof SemVer)) {\n other = new SemVer(other, this.options)\n }\n\n var i = 0\n do {\n var a = this.build[i]\n var 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.\nSemVer.prototype.inc = function (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 (this.minor !== 0 ||\n this.patch !== 0 ||\n this.prerelease.length === 0) {\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 var 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 (this.prerelease[0] === identifier) {\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\nexports.inc = inc\nfunction inc (version, release, loose, identifier) {\n if (typeof (loose) === 'string') {\n identifier = loose\n loose = undefined\n }\n\n try {\n return new SemVer(version, loose).inc(release, identifier).version\n } catch (er) {\n return null\n }\n}\n\nexports.diff = diff\nfunction diff (version1, version2) {\n if (eq(version1, version2)) {\n return null\n } else {\n var v1 = parse(version1)\n var v2 = parse(version2)\n var prefix = ''\n if (v1.prerelease.length || v2.prerelease.length) {\n prefix = 'pre'\n var defaultResult = 'prerelease'\n }\n for (var 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}\n\nexports.compareIdentifiers = compareIdentifiers\n\nvar numeric = /^[0-9]+$/\nfunction compareIdentifiers (a, b) {\n var anum = numeric.test(a)\n var 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\nexports.rcompareIdentifiers = rcompareIdentifiers\nfunction rcompareIdentifiers (a, b) {\n return compareIdentifiers(b, a)\n}\n\nexports.major = major\nfunction major (a, loose) {\n return new SemVer(a, loose).major\n}\n\nexports.minor = minor\nfunction minor (a, loose) {\n return new SemVer(a, loose).minor\n}\n\nexports.patch = patch\nfunction patch (a, loose) {\n return new SemVer(a, loose).patch\n}\n\nexports.compare = compare\nfunction compare (a, b, loose) {\n return new SemVer(a, loose).compare(new SemVer(b, loose))\n}\n\nexports.compareLoose = compareLoose\nfunction compareLoose (a, b) {\n return compare(a, b, true)\n}\n\nexports.compareBuild = compareBuild\nfunction compareBuild (a, b, loose) {\n var versionA = new SemVer(a, loose)\n var versionB = new SemVer(b, loose)\n return versionA.compare(versionB) || versionA.compareBuild(versionB)\n}\n\nexports.rcompare = rcompare\nfunction rcompare (a, b, loose) {\n return compare(b, a, loose)\n}\n\nexports.sort = sort\nfunction sort (list, loose) {\n return list.sort(function (a, b) {\n return exports.compareBuild(a, b, loose)\n })\n}\n\nexports.rsort = rsort\nfunction rsort (list, loose) {\n return list.sort(function (a, b) {\n return exports.compareBuild(b, a, loose)\n })\n}\n\nexports.gt = gt\nfunction gt (a, b, loose) {\n return compare(a, b, loose) > 0\n}\n\nexports.lt = lt\nfunction lt (a, b, loose) {\n return compare(a, b, loose) < 0\n}\n\nexports.eq = eq\nfunction eq (a, b, loose) {\n return compare(a, b, loose) === 0\n}\n\nexports.neq = neq\nfunction neq (a, b, loose) {\n return compare(a, b, loose) !== 0\n}\n\nexports.gte = gte\nfunction gte (a, b, loose) {\n return compare(a, b, loose) >= 0\n}\n\nexports.lte = lte\nfunction lte (a, b, loose) {\n return compare(a, b, loose) <= 0\n}\n\nexports.cmp = cmp\nfunction cmp (a, op, b, loose) {\n switch (op) {\n case '===':\n if (typeof a === 'object')\n a = a.version\n if (typeof b === 'object')\n b = b.version\n return a === b\n\n case '!==':\n if (typeof a === 'object')\n a = a.version\n if (typeof b === 'object')\n b = b.version\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}\n\nexports.Comparator = Comparator\nfunction Comparator (comp, options) {\n if (!options || typeof options !== 'object') {\n options = {\n loose: !!options,\n includePrerelease: false\n }\n }\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 if (!(this instanceof Comparator)) {\n return new Comparator(comp, options)\n }\n\n comp = comp.trim().split(/\\s+/).join(' ')\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\nvar ANY = {}\nComparator.prototype.parse = function (comp) {\n var r = this.options.loose ? safeRe[t.COMPARATORLOOSE] : safeRe[t.COMPARATOR]\n var 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\nComparator.prototype.toString = function () {\n return this.value\n}\n\nComparator.prototype.test = function (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\nComparator.prototype.intersects = function (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 var rangeTmp\n\n if (this.operator === '') {\n if (this.value === '') {\n return true\n }\n rangeTmp = new Range(comp.value, options)\n return satisfies(this.value, rangeTmp, options)\n } else if (comp.operator === '') {\n if (comp.value === '') {\n return true\n }\n rangeTmp = new Range(this.value, options)\n return satisfies(comp.semver, rangeTmp, options)\n }\n\n var sameDirectionIncreasing =\n (this.operator === '>=' || this.operator === '>') &&\n (comp.operator === '>=' || comp.operator === '>')\n var sameDirectionDecreasing =\n (this.operator === '<=' || this.operator === '<') &&\n (comp.operator === '<=' || comp.operator === '<')\n var sameSemVer = this.semver.version === comp.semver.version\n var differentDirectionsInclusive =\n (this.operator === '>=' || this.operator === '<=') &&\n (comp.operator === '>=' || comp.operator === '<=')\n var oppositeDirectionsLessThan =\n cmp(this.semver, '<', comp.semver, options) &&\n ((this.operator === '>=' || this.operator === '>') &&\n (comp.operator === '<=' || comp.operator === '<'))\n var oppositeDirectionsGreaterThan =\n cmp(this.semver, '>', comp.semver, options) &&\n ((this.operator === '<=' || this.operator === '<') &&\n (comp.operator === '>=' || comp.operator === '>'))\n\n return sameDirectionIncreasing || sameDirectionDecreasing ||\n (sameSemVer && differentDirectionsInclusive) ||\n oppositeDirectionsLessThan || oppositeDirectionsGreaterThan\n}\n\nexports.Range = Range\nfunction Range (range, options) {\n if (!options || typeof options !== 'object') {\n options = {\n loose: !!options,\n includePrerelease: false\n }\n }\n\n if (range instanceof Range) {\n if (range.loose === !!options.loose &&\n range.includePrerelease === !!options.includePrerelease) {\n return range\n } else {\n return new Range(range.raw, options)\n }\n }\n\n if (range instanceof Comparator) {\n return new Range(range.value, options)\n }\n\n if (!(this instanceof Range)) {\n return new Range(range, options)\n }\n\n this.options = options\n this.loose = !!options.loose\n this.includePrerelease = !!options.includePrerelease\n\n // First reduce all whitespace as much as possible so we do not have to rely\n // on potentially slow regexes like \\s*. This is then stored and used for\n // future error messages as well.\n this.raw = range\n .trim()\n .split(/\\s+/)\n .join(' ')\n\n // First, split based on boolean or ||\n this.set = this.raw.split('||').map(function (range) {\n return this.parseRange(range.trim())\n }, this).filter(function (c) {\n // throw out any that are not relevant for whatever reason\n return c.length\n })\n\n if (!this.set.length) {\n throw new TypeError('Invalid SemVer Range: ' + this.raw)\n }\n\n this.format()\n}\n\nRange.prototype.format = function () {\n this.range = this.set.map(function (comps) {\n return comps.join(' ').trim()\n }).join('||').trim()\n return this.range\n}\n\nRange.prototype.toString = function () {\n return this.range\n}\n\nRange.prototype.parseRange = function (range) {\n var loose = this.options.loose\n // `1.2.3 - 1.2.4` => `>=1.2.3 <=1.2.4`\n var hr = loose ? safeRe[t.HYPHENRANGELOOSE] : safeRe[t.HYPHENRANGE]\n range = range.replace(hr, hyphenReplace)\n debug('hyphen replace', range)\n // `> 1.2.3 < 1.2.5` => `>1.2.3 <1.2.5`\n range = range.replace(safeRe[t.COMPARATORTRIM], comparatorTrimReplace)\n debug('comparator trim', range, safeRe[t.COMPARATORTRIM])\n\n // `~ 1.2.3` => `~1.2.3`\n range = range.replace(safeRe[t.TILDETRIM], tildeTrimReplace)\n\n // `^ 1.2.3` => `^1.2.3`\n range = range.replace(safeRe[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 var compRe = loose ? safeRe[t.COMPARATORLOOSE] : safeRe[t.COMPARATOR]\n var set = range.split(' ').map(function (comp) {\n return parseComparator(comp, this.options)\n }, this).join(' ').split(/\\s+/)\n if (this.options.loose) {\n // in loose mode, throw out any that are not valid comparators\n set = set.filter(function (comp) {\n return !!comp.match(compRe)\n })\n }\n set = set.map(function (comp) {\n return new Comparator(comp, this.options)\n }, this)\n\n return set\n}\n\nRange.prototype.intersects = function (range, options) {\n if (!(range instanceof Range)) {\n throw new TypeError('a Range is required')\n }\n\n return this.set.some(function (thisComparators) {\n return (\n isSatisfiable(thisComparators, options) &&\n range.set.some(function (rangeComparators) {\n return (\n isSatisfiable(rangeComparators, options) &&\n thisComparators.every(function (thisComparator) {\n return rangeComparators.every(function (rangeComparator) {\n return thisComparator.intersects(rangeComparator, options)\n })\n })\n )\n })\n )\n })\n}\n\n// take a set of comparators and determine whether there\n// exists a version which can satisfy it\nfunction isSatisfiable (comparators, options) {\n var result = true\n var remainingComparators = comparators.slice()\n var testComparator = remainingComparators.pop()\n\n while (result && remainingComparators.length) {\n result = remainingComparators.every(function (otherComparator) {\n return testComparator.intersects(otherComparator, options)\n })\n\n testComparator = remainingComparators.pop()\n }\n\n return result\n}\n\n// Mostly just for testing and legacy API reasons\nexports.toComparators = toComparators\nfunction toComparators (range, options) {\n return new Range(range, options).set.map(function (comp) {\n return comp.map(function (c) {\n return c.value\n }).join(' ').trim().split(' ')\n })\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.\nfunction 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\nfunction isX (id) {\n return !id || id.toLowerCase() === 'x' || id === '*'\n}\n\n// ~, ~> --> * (any, kinda silly)\n// ~2, ~2.x, ~2.x.x, ~>2, ~>2.x ~>2.x.x --> >=2.0.0 <3.0.0\n// ~2.0, ~2.0.x, ~>2.0, ~>2.0.x --> >=2.0.0 <2.1.0\n// ~1.2, ~1.2.x, ~>1.2, ~>1.2.x --> >=1.2.0 <1.3.0\n// ~1.2.3, ~>1.2.3 --> >=1.2.3 <1.3.0\n// ~1.2.0, ~>1.2.0 --> >=1.2.0 <1.3.0\nfunction replaceTildes (comp, options) {\n return comp.trim().split(/\\s+/).map(function (comp) {\n return replaceTilde(comp, options)\n }).join(' ')\n}\n\nfunction replaceTilde (comp, options) {\n var r = options.loose ? safeRe[t.TILDELOOSE] : safeRe[t.TILDE]\n return comp.replace(r, function (_, M, m, p, pr) {\n debug('tilde', comp, _, M, m, p, pr)\n var ret\n\n if (isX(M)) {\n ret = ''\n } else if (isX(m)) {\n ret = '>=' + M + '.0.0 <' + (+M + 1) + '.0.0'\n } else if (isX(p)) {\n // ~1.2 == >=1.2.0 <1.3.0\n ret = '>=' + M + '.' + m + '.0 <' + M + '.' + (+m + 1) + '.0'\n } else if (pr) {\n debug('replaceTilde pr', pr)\n ret = '>=' + M + '.' + m + '.' + p + '-' + pr +\n ' <' + M + '.' + (+m + 1) + '.0'\n } else {\n // ~1.2.3 == >=1.2.3 <1.3.0\n ret = '>=' + M + '.' + m + '.' + p +\n ' <' + M + '.' + (+m + 1) + '.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\n// ^2.0, ^2.0.x --> >=2.0.0 <3.0.0\n// ^1.2, ^1.2.x --> >=1.2.0 <2.0.0\n// ^1.2.3 --> >=1.2.3 <2.0.0\n// ^1.2.0 --> >=1.2.0 <2.0.0\nfunction replaceCarets (comp, options) {\n return comp.trim().split(/\\s+/).map(function (comp) {\n return replaceCaret(comp, options)\n }).join(' ')\n}\n\nfunction replaceCaret (comp, options) {\n debug('caret', comp, options)\n var r = options.loose ? safeRe[t.CARETLOOSE] : safeRe[t.CARET]\n return comp.replace(r, function (_, M, m, p, pr) {\n debug('caret', comp, _, M, m, p, pr)\n var ret\n\n if (isX(M)) {\n ret = ''\n } else if (isX(m)) {\n ret = '>=' + M + '.0.0 <' + (+M + 1) + '.0.0'\n } else if (isX(p)) {\n if (M === '0') {\n ret = '>=' + M + '.' + m + '.0 <' + M + '.' + (+m + 1) + '.0'\n } else {\n ret = '>=' + M + '.' + m + '.0 <' + (+M + 1) + '.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)\n } else {\n ret = '>=' + M + '.' + m + '.' + p + '-' + pr +\n ' <' + M + '.' + (+m + 1) + '.0'\n }\n } else {\n ret = '>=' + M + '.' + m + '.' + p + '-' + pr +\n ' <' + (+M + 1) + '.0.0'\n }\n } else {\n debug('no pr')\n if (M === '0') {\n if (m === '0') {\n ret = '>=' + M + '.' + m + '.' + p +\n ' <' + M + '.' + m + '.' + (+p + 1)\n } else {\n ret = '>=' + M + '.' + m + '.' + p +\n ' <' + M + '.' + (+m + 1) + '.0'\n }\n } else {\n ret = '>=' + M + '.' + m + '.' + p +\n ' <' + (+M + 1) + '.0.0'\n }\n }\n\n debug('caret return', ret)\n return ret\n })\n}\n\nfunction replaceXRanges (comp, options) {\n debug('replaceXRanges', comp, options)\n return comp.split(/\\s+/).map(function (comp) {\n return replaceXRange(comp, options)\n }).join(' ')\n}\n\nfunction replaceXRange (comp, options) {\n comp = comp.trim()\n var r = options.loose ? safeRe[t.XRANGELOOSE] : safeRe[t.XRANGE]\n return comp.replace(r, function (ret, gtlt, M, m, p, pr) {\n debug('xRange', comp, ret, gtlt, M, m, p, pr)\n var xM = isX(M)\n var xm = xM || isX(m)\n var xp = xm || isX(p)\n var 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 // >1.2.3 => >= 1.2.4\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 ret = gtlt + M + '.' + m + '.' + p + pr\n } else if (xm) {\n ret = '>=' + M + '.0.0' + pr + ' <' + (+M + 1) + '.0.0' + pr\n } else if (xp) {\n ret = '>=' + M + '.' + m + '.0' + pr +\n ' <' + M + '.' + (+m + 1) + '.0' + pr\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.\nfunction 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(safeRe[t.STAR], '')\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 Any 3.4.x will do\n// 1.2 - 3.4 => >=1.2.0 <3.5.0\nfunction hyphenReplace ($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'\n } else if (isX(fp)) {\n from = '>=' + fM + '.' + fm + '.0'\n } else {\n from = '>=' + from\n }\n\n if (isX(tM)) {\n to = ''\n } else if (isX(tm)) {\n to = '<' + (+tM + 1) + '.0.0'\n } else if (isX(tp)) {\n to = '<' + tM + '.' + (+tm + 1) + '.0'\n } else if (tpr) {\n to = '<=' + tM + '.' + tm + '.' + tp + '-' + tpr\n } else {\n to = '<=' + to\n }\n\n return (from + ' ' + to).trim()\n}\n\n// if ANY of the sets match ALL of its comparators, then pass\nRange.prototype.test = function (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 (var 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\nfunction testSet (set, version, options) {\n for (var 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 (i = 0; i < set.length; i++) {\n debug(set[i].semver)\n if (set[i].semver === ANY) {\n continue\n }\n\n if (set[i].semver.prerelease.length > 0) {\n var 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\nexports.satisfies = satisfies\nfunction 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}\n\nexports.maxSatisfying = maxSatisfying\nfunction maxSatisfying (versions, range, options) {\n var max = null\n var maxSV = null\n try {\n var rangeObj = new Range(range, options)\n } catch (er) {\n return null\n }\n versions.forEach(function (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}\n\nexports.minSatisfying = minSatisfying\nfunction minSatisfying (versions, range, options) {\n var min = null\n var minSV = null\n try {\n var rangeObj = new Range(range, options)\n } catch (er) {\n return null\n }\n versions.forEach(function (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}\n\nexports.minVersion = minVersion\nfunction minVersion (range, loose) {\n range = new Range(range, loose)\n\n var 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 (var i = 0; i < range.set.length; ++i) {\n var comparators = range.set[i]\n\n comparators.forEach(function (comparator) {\n // Clone to avoid manipulating the comparator's semver object.\n var 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 (!minver || gt(minver, compver)) {\n minver = 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 }\n\n if (minver && range.test(minver)) {\n return minver\n }\n\n return null\n}\n\nexports.validRange = validRange\nfunction 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}\n\n// Determine if version is less than all the versions possible in the range\nexports.ltr = ltr\nfunction ltr (version, range, options) {\n return outside(version, range, '<', options)\n}\n\n// Determine if version is greater than all the versions possible in the range.\nexports.gtr = gtr\nfunction gtr (version, range, options) {\n return outside(version, range, '>', options)\n}\n\nexports.outside = outside\nfunction outside (version, range, hilo, options) {\n version = new SemVer(version, options)\n range = new Range(range, options)\n\n var 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 satisifes 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 (var i = 0; i < range.set.length; ++i) {\n var comparators = range.set[i]\n\n var high = null\n var low = null\n\n comparators.forEach(function (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\nexports.prerelease = prerelease\nfunction prerelease (version, options) {\n var parsed = parse(version, options)\n return (parsed && parsed.prerelease.length) ? parsed.prerelease : null\n}\n\nexports.intersects = intersects\nfunction intersects (r1, r2, options) {\n r1 = new Range(r1, options)\n r2 = new Range(r2, options)\n return r1.intersects(r2)\n}\n\nexports.coerce = coerce\nfunction 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 var match = null\n if (!options.rtl) {\n match = version.match(safeRe[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 var next\n while ((next = safeRe[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 safeRe[t.COERCERTL].lastIndex = next.index + next[1].length + next[2].length\n }\n // leave it in a clean state\n safeRe[t.COERCERTL].lastIndex = -1\n }\n\n if (match === null) {\n return null\n }\n\n return parse(match[2] +\n '.' + (match[3] || '0') +\n '.' + (match[4] || '0'), options)\n}\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,"import * as path from 'path';\nimport * as pypyInstall from './install-pypy';\nimport {\n IS_WINDOWS,\n WINDOWS_ARCHS,\n validateVersion,\n getPyPyVersionFromPath,\n readExactPyPyVersionFile,\n validatePythonVersionFormatForPyPy,\n IPyPyManifestRelease\n} from './utils';\n\nimport * as semver from 'semver';\nimport * as core from '@actions/core';\nimport * as tc from '@actions/tool-cache';\n\ninterface IPyPyVersionSpec {\n pypyVersion: string;\n pythonVersion: string;\n}\n\nexport async function findPyPyVersion(\n versionSpec: string,\n architecture: string,\n updateEnvironment: boolean,\n checkLatest: boolean,\n allowPreReleases: boolean\n): Promise<{resolvedPyPyVersion: string; resolvedPythonVersion: string}> {\n let resolvedPyPyVersion = '';\n let resolvedPythonVersion = '';\n let installDir: string | null;\n let releases: IPyPyManifestRelease[] | undefined;\n\n const pypyVersionSpec = parsePyPyVersion(versionSpec);\n\n if (checkLatest) {\n releases = await pypyInstall.getAvailablePyPyVersions();\n if (releases && releases.length > 0) {\n const releaseData = pypyInstall.findRelease(\n releases,\n pypyVersionSpec.pythonVersion,\n pypyVersionSpec.pypyVersion,\n architecture,\n false\n );\n\n if (releaseData) {\n core.info(\n `Resolved as PyPy ${releaseData.resolvedPyPyVersion} with Python (${releaseData.resolvedPythonVersion})`\n );\n pypyVersionSpec.pythonVersion = releaseData.resolvedPythonVersion;\n pypyVersionSpec.pypyVersion = releaseData.resolvedPyPyVersion;\n } else {\n core.info(\n `Failed to resolve PyPy ${pypyVersionSpec.pypyVersion} with Python (${pypyVersionSpec.pythonVersion}) from manifest`\n );\n }\n }\n }\n\n ({installDir, resolvedPythonVersion, resolvedPyPyVersion} = findPyPyToolCache(\n pypyVersionSpec.pythonVersion,\n pypyVersionSpec.pypyVersion,\n architecture\n ));\n\n if (!installDir) {\n ({installDir, resolvedPythonVersion, resolvedPyPyVersion} =\n await pypyInstall.installPyPy(\n pypyVersionSpec.pypyVersion,\n pypyVersionSpec.pythonVersion,\n architecture,\n allowPreReleases,\n releases\n ));\n }\n\n const pipDir = IS_WINDOWS ? 'Scripts' : 'bin';\n const _binDir = path.join(installDir, pipDir);\n const binaryExtension = IS_WINDOWS ? '.exe' : '';\n const pythonPath = path.join(\n IS_WINDOWS ? installDir : _binDir,\n `python${binaryExtension}`\n );\n const pythonLocation = pypyInstall.getPyPyBinaryPath(installDir);\n if (updateEnvironment) {\n core.exportVariable('pythonLocation', installDir);\n // https://cmake.org/cmake/help/latest/module/FindPython.html#module:FindPython\n core.exportVariable('Python_ROOT_DIR', installDir);\n // https://cmake.org/cmake/help/latest/module/FindPython2.html#module:FindPython2\n core.exportVariable('Python2_ROOT_DIR', installDir);\n // https://cmake.org/cmake/help/latest/module/FindPython3.html#module:FindPython3\n core.exportVariable('Python3_ROOT_DIR', installDir);\n core.exportVariable('PKG_CONFIG_PATH', pythonLocation + '/lib/pkgconfig');\n core.addPath(pythonLocation);\n core.addPath(_binDir);\n }\n core.setOutput('python-version', 'pypy' + resolvedPyPyVersion);\n core.setOutput('python-path', pythonPath);\n\n return {resolvedPyPyVersion, resolvedPythonVersion};\n}\n\nexport function findPyPyToolCache(\n pythonVersion: string,\n pypyVersion: string,\n architecture: string\n) {\n let resolvedPyPyVersion = '';\n let resolvedPythonVersion = '';\n let installDir: string | null = IS_WINDOWS\n ? findPyPyInstallDirForWindows(pythonVersion)\n : tc.find('PyPy', pythonVersion, architecture);\n\n if (installDir) {\n // 'tc.find' finds tool based on Python version but we also need to check\n // whether PyPy version satisfies requested version.\n resolvedPythonVersion = getPyPyVersionFromPath(installDir);\n resolvedPyPyVersion = readExactPyPyVersionFile(installDir);\n\n const isPyPyVersionSatisfies = semver.satisfies(\n resolvedPyPyVersion,\n pypyVersion\n );\n if (!isPyPyVersionSatisfies) {\n installDir = null;\n resolvedPyPyVersion = '';\n resolvedPythonVersion = '';\n }\n }\n\n if (!installDir) {\n core.info(\n `PyPy version ${pythonVersion} (${pypyVersion}) was not found in the local cache`\n );\n }\n\n return {installDir, resolvedPythonVersion, resolvedPyPyVersion};\n}\n\nexport function parsePyPyVersion(versionSpec: string): IPyPyVersionSpec {\n const versions = versionSpec.split('-').filter(item => !!item);\n\n if (/^(pypy)(.+)/.test(versions[0])) {\n const pythonVersion = versions[0].replace('pypy', '');\n versions.splice(0, 1, 'pypy', pythonVersion);\n }\n\n if (versions.length < 2 || versions[0] != 'pypy') {\n throw new Error(\n \"Invalid 'version' property for PyPy. PyPy version should be specified as 'pypy' or 'pypy-'. See README for examples and documentation.\"\n );\n }\n\n const pythonVersion = versions[1];\n let pypyVersion: string;\n if (versions.length > 2) {\n pypyVersion = pypyInstall.pypyVersionToSemantic(versions[2]);\n } else {\n pypyVersion = 'x';\n }\n\n if (!validateVersion(pythonVersion) || !validateVersion(pypyVersion)) {\n throw new Error(\n \"Invalid 'version' property for PyPy. Both Python version and PyPy versions should satisfy SemVer notation. See README for examples and documentation.\"\n );\n }\n\n if (!validatePythonVersionFormatForPyPy(pythonVersion)) {\n throw new Error(\n \"Invalid format of Python version for PyPy. Python version should be specified in format 'x.y'. See README for examples and documentation.\"\n );\n }\n\n return {\n pypyVersion: pypyVersion,\n pythonVersion: pythonVersion\n };\n}\n\nexport function findPyPyInstallDirForWindows(pythonVersion: string): string {\n let installDir = '';\n\n WINDOWS_ARCHS.forEach(\n architecture =>\n (installDir = installDir || tc.find('PyPy', pythonVersion, architecture))\n );\n\n return installDir;\n}\n","import * as os from 'os';\nimport * as path from 'path';\nimport * as core from '@actions/core';\nimport * as tc from '@actions/tool-cache';\nimport * as semver from 'semver';\nimport * as httpm from '@actions/http-client';\nimport * as exec from '@actions/exec';\nimport fs from 'fs';\n\nimport {\n IS_WINDOWS,\n WINDOWS_PLATFORMS,\n IPyPyManifestRelease,\n createSymlinkInFolder,\n isNightlyKeyword,\n writeExactPyPyVersionFile\n} from './utils';\n\nexport async function installPyPy(\n pypyVersion: string,\n pythonVersion: string,\n architecture: string,\n allowPreReleases: boolean,\n releases: IPyPyManifestRelease[] | undefined\n) {\n let downloadDir;\n\n releases = releases ?? (await getAvailablePyPyVersions());\n\n if (!releases || releases.length === 0) {\n throw new Error('No release was found in PyPy version.json');\n }\n\n let releaseData = findRelease(\n releases,\n pythonVersion,\n pypyVersion,\n architecture,\n false\n );\n\n if (allowPreReleases && (!releaseData || !releaseData.foundAsset)) {\n // check for pre-release\n core.info(\n [\n `Stable PyPy version ${pythonVersion} (${pypyVersion}) with arch ${architecture} not found`,\n `Trying pre-release versions`\n ].join(os.EOL)\n );\n releaseData = findRelease(\n releases,\n pythonVersion,\n pypyVersion,\n architecture,\n true\n );\n }\n\n if (!releaseData || !releaseData.foundAsset) {\n throw new Error(\n `PyPy version ${pythonVersion} (${pypyVersion}) with arch ${architecture} not found`\n );\n }\n\n const {foundAsset, resolvedPythonVersion, resolvedPyPyVersion} = releaseData;\n const downloadUrl = `${foundAsset.download_url}`;\n\n core.info(`Downloading PyPy from \"${downloadUrl}\" ...`);\n\n try {\n const pypyPath = await tc.downloadTool(downloadUrl);\n\n core.info('Extracting downloaded archive...');\n if (IS_WINDOWS) {\n downloadDir = await tc.extractZip(pypyPath);\n } else {\n downloadDir = await tc.extractTar(pypyPath, undefined, 'x');\n }\n\n // root folder in archive can have unpredictable name so just take the first folder\n // downloadDir is unique folder under TEMP and can't contain any other folders\n const archiveName = fs.readdirSync(downloadDir)[0];\n\n const toolDir = path.join(downloadDir, archiveName);\n let installDir = toolDir;\n if (!isNightlyKeyword(resolvedPyPyVersion)) {\n installDir = await tc.cacheDir(\n toolDir,\n 'PyPy',\n resolvedPythonVersion,\n architecture\n );\n }\n\n writeExactPyPyVersionFile(installDir, resolvedPyPyVersion);\n\n const binaryPath = getPyPyBinaryPath(installDir);\n await createPyPySymlink(binaryPath, resolvedPythonVersion);\n await installPip(binaryPath);\n\n return {installDir, resolvedPythonVersion, resolvedPyPyVersion};\n } catch (err) {\n if (err instanceof Error) {\n // Rate limit?\n if (\n err instanceof tc.HTTPError &&\n (err.httpStatusCode === 403 || err.httpStatusCode === 429)\n ) {\n core.info(\n `Received HTTP status code ${err.httpStatusCode}. This usually indicates the rate limit has been exceeded`\n );\n } else {\n core.info(err.message);\n }\n if (err.stack !== undefined) {\n core.debug(err.stack);\n }\n }\n throw err;\n }\n}\n\nexport async function getAvailablePyPyVersions() {\n const url = 'https://downloads.python.org/pypy/versions.json';\n const http: httpm.HttpClient = new httpm.HttpClient('tool-cache');\n\n const response = await http.getJson(url);\n if (!response.result) {\n throw new Error(\n `Unable to retrieve the list of available PyPy versions from '${url}'`\n );\n }\n\n return response.result;\n}\n\nasync function createPyPySymlink(\n pypyBinaryPath: string,\n pythonVersion: string\n) {\n const version = semver.coerce(pythonVersion)!;\n const pythonBinaryPostfix = semver.major(version);\n const pythonMinor = semver.minor(version);\n const pypyBinaryPostfix = pythonBinaryPostfix === 2 ? '' : '3';\n const pypyMajorMinorBinaryPostfix = `${pythonBinaryPostfix}.${pythonMinor}`;\n const binaryExtension = IS_WINDOWS ? '.exe' : '';\n\n core.info('Creating symlinks...');\n createSymlinkInFolder(\n pypyBinaryPath,\n `pypy${pypyBinaryPostfix}${binaryExtension}`,\n `python${pythonBinaryPostfix}${binaryExtension}`,\n true\n );\n\n createSymlinkInFolder(\n pypyBinaryPath,\n `pypy${pypyBinaryPostfix}${binaryExtension}`,\n `python${binaryExtension}`,\n true\n );\n\n createSymlinkInFolder(\n pypyBinaryPath,\n `pypy${pypyBinaryPostfix}${binaryExtension}`,\n `pypy${pypyMajorMinorBinaryPostfix}${binaryExtension}`,\n true\n );\n}\n\nasync function installPip(pythonLocation: string) {\n core.info('Installing and updating pip');\n const pythonBinary = path.join(pythonLocation, 'python');\n await exec.exec(`${pythonBinary} -m ensurepip`);\n\n await exec.exec(\n `${pythonLocation}/python -m pip install --ignore-installed pip`\n );\n}\n\nexport function findRelease(\n releases: IPyPyManifestRelease[],\n pythonVersion: string,\n pypyVersion: string,\n architecture: string,\n includePrerelease: boolean\n) {\n const options = {includePrerelease: includePrerelease};\n const filterReleases = releases.filter(item => {\n const isPythonVersionSatisfied = semver.satisfies(\n semver.coerce(item.python_version)!,\n pythonVersion\n );\n const isPyPyNightly =\n isNightlyKeyword(pypyVersion) && isNightlyKeyword(item.pypy_version);\n const isPyPyVersionSatisfied =\n isPyPyNightly ||\n semver.satisfies(\n pypyVersionToSemantic(item.pypy_version),\n pypyVersion,\n options\n );\n const isArchPresent =\n item.files &&\n (IS_WINDOWS\n ? isArchPresentForWindows(item, architecture)\n : isArchPresentForMacOrLinux(item, architecture, process.platform));\n return isPythonVersionSatisfied && isPyPyVersionSatisfied && isArchPresent;\n });\n\n if (filterReleases.length === 0) {\n return null;\n }\n\n const sortedReleases = filterReleases.sort((previous, current) => {\n return (\n semver.compare(\n semver.coerce(pypyVersionToSemantic(current.pypy_version))!,\n semver.coerce(pypyVersionToSemantic(previous.pypy_version))!\n ) ||\n semver.compare(\n semver.coerce(current.python_version)!,\n semver.coerce(previous.python_version)!\n )\n );\n });\n\n const foundRelease = sortedReleases[0];\n const foundAsset = IS_WINDOWS\n ? findAssetForWindows(foundRelease, architecture)\n : findAssetForMacOrLinux(foundRelease, architecture, process.platform);\n\n return {\n foundAsset,\n resolvedPythonVersion: foundRelease.python_version,\n resolvedPyPyVersion: foundRelease.pypy_version.trim()\n };\n}\n\n/** Get PyPy binary location from the tool of installation directory\n * - On Linux and macOS, the Python interpreter is in 'bin'.\n * - On Windows, it is in the installation root.\n */\nexport function getPyPyBinaryPath(installDir: string) {\n const _binDir = path.join(installDir, 'bin');\n return IS_WINDOWS ? installDir : _binDir;\n}\n\nexport function pypyVersionToSemantic(versionSpec: string) {\n const prereleaseVersion = /(\\d+\\.\\d+\\.\\d+)((?:a|b|rc))(\\d*)/g;\n return versionSpec.replace(prereleaseVersion, '$1-$2.$3');\n}\n\nexport function isArchPresentForWindows(item: any, architecture: string) {\n architecture = replaceX32toX86(architecture);\n return item.files.some(\n (file: any) =>\n WINDOWS_PLATFORMS.includes(file.platform) && file.arch === architecture\n );\n}\n\nexport function isArchPresentForMacOrLinux(\n item: any,\n architecture: string,\n platform: string\n) {\n return item.files.some(\n (file: any) => file.arch === architecture && file.platform === platform\n );\n}\n\nexport function findAssetForWindows(releases: any, architecture: string) {\n architecture = replaceX32toX86(architecture);\n return releases.files.find(\n (item: any) =>\n WINDOWS_PLATFORMS.includes(item.platform) && item.arch === architecture\n );\n}\n\nexport function findAssetForMacOrLinux(\n releases: any,\n architecture: string,\n platform: string\n) {\n return releases.files.find(\n (item: any) => item.arch === architecture && item.platform === platform\n );\n}\n\nfunction replaceX32toX86(architecture: string): string {\n // convert x32 to x86 because os.arch() returns x32 for 32-bit systems but PyPy releases json has x86 arch value.\n if (architecture === 'x32') {\n architecture = 'x86';\n }\n return architecture;\n}\n"],"mappings":"olBCUA,QAAS,CAAAA,EAAcC,CAAmB,EACxC,MAAO,CAAAA,CAAA,CAAYC,UAAU,CAAC,OAChC,EAIO,cAAe,CAAAC,EAAmBF,CAAe,CAAEG,CAAiB,CAAEC,CAAY,EAK1D,IAAAC,CAJzB,CAAAC,CAAA,CAAAC,MAAA,GACFC,OAAA,CAAQC,GAAG,CAACC,oBAAoB,CAAG,+BADrC,EAIA,GAAM,CAAAC,CAAA,KAAuD,IAAhCN,CAAA,CAAAG,OAAA,CAAQC,GAAG,CAACC,oBAAoB,CAApB,EAAZ,SAAAL,CAAA,QAAAA,CAAA,CAAkCO,IAAI,GAOnE,GANoC,UAAhC,MAAO,CAAAD,CAAA,EAAqC,EAAyB,GAAzBA,CAAA,GAC9CH,OAAA,CAAQC,GAAG,CAACI,iBAAiB,CAAGL,OAAA,CAAQC,GAAG,CAACC,oBAAoB,CAApB,CAG9C,GAAAI,CAAA,CAAAC,KAAI,EAAE,2CAA2CP,OAAA,CAAQC,GAAG,CAACI,iBAAiB,EAE1Eb,CAAA,CAAS,CACX,GAAI,CAAAG,CAAA,CACJ,GAAIJ,CAAA,CAAcC,CAAA,EAAU,CAC1B,GAAM,CAAAgB,CAAA,CAAY,KAAM,GAAAC,CAAA,CAAAC,eAAc,EAAElB,CAAA,CAASI,CAAA,CAAM,GAAMe,CAAA,CAAa,IAC1Eh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AA,CAAKgc,IAAI,GAAK7b,CAAA,CAEjE,EAEO,QAAS,CAAAgD,EACdnD,CAAa,CACbG,CAAoB,CACpBa,CAAgB,EAEhB,MAAO,CAAAhB,CAAA,CAASyC,KAAK,CAACD,IAAI,CACxBxC,CAAC,EAAcA,CAAA,CAAKgc,IAAI,GAAK7b,CAAA,EAAgBH,CAAA,CAAKqF,QAAQ,GAAKrE,CAAA,CAEnE,EAEA,QAAS,CAAAoC,EAAgBpD,CAAoB,EAK3C,MAHqB,QAAjBA,CAAA,GACFA,CAAA,CAAe,KADjB,EAGOA,CACT,E"} \ No newline at end of file diff --git a/dist/legacy/setup-cpp.js b/dist/legacy/setup-cpp.js index fe4dff99..443f2b97 100644 --- a/dist/legacy/setup-cpp.js +++ b/dist/legacy/setup-cpp.js @@ -1,18 +1,18 @@ #!/usr/bin/env node -let e,t,r,n,i,o,s,a;function l(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0});}function c(e){return e&&e.__esModule?e.default:e;}function u(e,t,r){if("function"==typeof t&&(r=t,t={}),!r){if("function"!=typeof Promise)throw TypeError("callback not provided");return new Promise(function(r,n){u(e,t||{},function(e,t){e?n(e):r(t);});});}rI(e,t||{},function(e,n){e&&("EACCES"===e.code||t&&t.ignoreErrors)&&(e=null,n=!1),r(e,n);});}function p(e,t){let r;let n=e.options.env||process.env,i=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){}try{r=rb.sync(e.command,{path:n[rA({env:n})],pathExt:t?ip.delimiter:void 0});}catch(e){}finally{s&&process.chdir(i);}return r&&(r=ip.resolve(o?e.options.cwd:"",r)),r;}function d(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 f(e,t){return iO&&1===e&&!t.file?d(t.original,"spawn"):null;}function h(e,t,r){let n=rT(e,t,r),i=t8.spawn(n.command,n.args,n.options);return rN.hookChildProcess(i,n),i;}async function m(e,t){if(!e)throw Error("Expected a stream");t={maxBuffer:1/0,...t};let{maxBuffer:r}=t,n=r4(t);return await new Promise((t,i)=>{let o=e=>{e&&n.getBufferedLength()<=r2.MAX_LENGTH&&(e.bufferedData=n.getBufferedValue()),i(e);};(async()=>{try{await ot(e,n),t();}catch(e){o(e);}})(),n.on("data",()=>{n.getBufferedLength()>r&&o(new or());});}),n.getBufferedValue();}function g(){var e;return((null===(e=process.getuid)||void 0===e?void 0:e.call(process))===0||!!process.env.CI)&&null!==c(rb).sync("sudo",{nothrow:!0});}function v(e,t=[],r=oh){return g()?rO.commandSync("sudo "+[e,...t].map(e=>`'${e}'`).join(" "),r):rO.sync(e,t,r);}function E(e,t=[],r=oh){return g()?rO.command("sudo "+[e,...t].map(e=>`'${e}'`).join(" "),r):c(rO)(e,t,r);}async function y(e){if(("linux"===c(rt).platform||"darwin"===c(rt).platform)&&g()&&void 0!==c(rt).env.SUDO_USER){let t=(0,id.statSync)(e).isDirectory();await E("chown",[...(t?["-R"]:[]),c(rt).env.SUDO_USER,e],oh);}}function w(e){return g()&&"string"==typeof process.env.SUDO_USER?"darwin"===process.platform?(0,ip.join)("/Users/",process.env.SUDO_USER,e):(0,ip.join)("/home/",process.env.SUDO_USER,e):c(rx)("~/"+e);}function x(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e));}catch(e){o(e);}}function a(e){try{l(n.throw(e));}catch(e){o(e);}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t);})).then(s,a);}l((n=n.apply(e,t||[])).next());});}function b(e,t){function r(r){return function(l){return function(r){if(n)throw TypeError("Generator is already executing.");for(;s&&(s=0,r[0]&&(a=0)),a;)try{if(n=1,i&&(o=2&r[0]?i.return:r[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,r[1])).done)return o;switch(i=0,o&&(r=[2&r[0],o.value]),r[0]){case 0:case 1:o=r;break;case 4:return a.label++,{value:r[1],done:!1};case 5:a.label++,i=r[1],r=[0];continue;case 7:r=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===r[0]||2===r[0])){a=0;continue;}if(3===r[0]&&(!o||r[1]>o[0]&&r[1]"PATH"===e.toUpperCase())||"Path";}function T({env:e=c(ro).env,...t}={}){e={...e};let r=R({env:e});return t.path=e[r],e[r]=function(e={}){let t;let{cwd:r=c(ro).cwd(),path:n=c(ro).env[R()],execPath:i=c(ro).execPath}=e,o=r instanceof URL?c(rs).fileURLToPath(r):r,s=c(rn).resolve(o),a=[];for(;t!==s;)a.push(c(rn).join(s,"node_modules/.bin")),t=s,s=c(rn).resolve(s,"..");return a.push(c(rn).resolve(o,i,"..")),[...a,n].join(c(rn).delimiter);}(t),e;}function C(e){return null!==e&&"object"==typeof e&&"function"==typeof e.pipe;}function A(e){return C(e)&&!1!==e.writable&&"function"==typeof e._write&&"object"==typeof e._writableState;}function $(e,t,r){let n;let i=sm(e,t,r),o=si(e,t),s=so(e,t);sf(s,i.options),oW(i.options);try{n=c(ri).spawn(i.file,i.args,i.options);}catch(r){let e=new(c(ri).ChildProcess)(),t=Promise.reject(ok({error:r,stdout:"",stderr:"",all:"",command:o,escapedCommand:s,parsed:i,timedOut:!1,isCanceled:!1,killed:!1}));return se(e,t),e;}let a=st(n),l=oz(n,i.options,a),u=oK(n,i.options,l),p={isCanceled:!1};n.kill=oM.bind(null,n.kill.bind(n)),n.cancel=oV.bind(null,n,p);let d=async()=>{let[{error:e,exitCode:t,signal:r,timedOut:a},l,c,d]=await o5(n,i.options,u),f=sg(i.options,l),h=sg(i.options,c),m=sg(i.options,d);if(e||0!==t||null!==r){let l=ok({error:e,exitCode:t,signal:r,stdout:f,stderr:h,all:m,command:o,escapedCommand:s,parsed:i,timedOut:a,isCanceled:p.isCanceled||!!i.options.signal&&i.options.signal.aborted,killed:n.killed});if(!i.options.reject)return l;throw l;}return{command:o,escapedCommand:s,exitCode:0,stdout:f,stderr:h,all:m,failed:!1,timedOut:!1,isCanceled:!1,killed:!1};},f=nT(d);return o3(n,i.options),n.all=o4(n,i.options),oJ(n),se(n,f),n;}function _(t,r=["-NoProfile","-NoLogo","-NonInteractive"],n={stdio:"inherit"}){return $(function(){if(void 0===e){let t=c(rb).sync("pwsh",{nothrow:!0});null!==t&&(e=t);let r=c(rb).sync("powershell",{nothrow:!0});null!==r&&(e=r);}if(void 0===e)throw Error("Could not find powershell");return e;}(),[...r,"-c",t],n);}async function P(e,t,r=sb){let n=function(e,t=!1){let r=t?c(nC)(e):e;return c(nA)(r,'"',"\\");}(null!=t?t:"",r.shouldEscapeSpace);try{if(rm.GITHUB_ACTIONS)try{if(r.shouldAddOnlyIfNotDefined&&void 0!==process.env[e]){(0,nR.info)(`Environment variable ${e} is already defined. Skipping.`);return;}(0,nR.exportVariable)(e,n);}catch(t){(0,rg.error)(t),await L(e,n,r);}else await L(e,n,r);}catch(t){(0,rg.error)(t),(0,nR.setFailed)(`Failed to export environment variable ${e}=${n}. You should add it manually.`);}}async function N(e){if(!function(e){if(sS.some(t=>t.test(e))){var t,r;let n=null!==(r=null===(t=process.env.PATH)||void 0===t?void 0:t.split(ip.delimiter))&&void 0!==r?r:[];return n.includes(e);}return!1;}(e)){process.env.PATH=`${e}${ip.delimiter}${process.env.PATH}`;try{if(rm.GITHUB_ACTIONS)try{(0,nR.addPath)(e);}catch(t){(0,rg.error)(t),await D(e);}else await D(e);}catch(t){(0,rg.error)(t),(0,nR.setFailed)(`Failed to add ${e} to the percistent PATH. You should add it manually.`);}}}async function L(e,t,r){let n=null!=t?t:"";switch(process.platform){case"win32":if(r.shouldAddOnlyIfNotDefined&&void 0!==process.env[e]){(0,nR.info)(`Environment variable ${e} is already defined. Skipping.`);return;}await _(`[Environment]::SetEnvironmentVariable('${e}', '${n}', "User")`),(0,nR.info)(`${e}='${n}' was set in the environment.`);return;case"linux":case"darwin":await k(),r.shouldAddOnlyIfNotDefined?((0,id.appendFileSync)(sI,` +let e,t,r,n,i,o,s,a;function l(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0});}function u(e){return e&&e.__esModule?e.default:e;}function c(e,t,r){if("function"==typeof t&&(r=t,t={}),!r){if("function"!=typeof Promise)throw TypeError("callback not provided");return new Promise(function(r,n){c(e,t||{},function(e,t){e?n(e):r(t);});});}rk(e,t||{},function(e,n){e&&("EACCES"===e.code||t&&t.ignoreErrors)&&(e=null,n=!1),r(e,n);});}function p(e,t){let r;let n=e.options.env||process.env,i=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){}try{r=rL.sync(e.command,{path:n[rU({env:n})],pathExt:t?nz.delimiter:void 0});}catch(e){}finally{s&&process.chdir(i);}return r&&(r=nz.resolve(o?e.options.cwd:"",r)),r;}function d(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 f(e,t){return iM&&1===e&&!t.file?d(t.original,"spawn"):null;}function h(e,t,r){let n=rP(e,t,r),i=t9.spawn(n.command,n.args,n.options);return rG.hookChildProcess(i,n),i;}function m(e){let t="string"==typeof e?"\n":"\n".charCodeAt(),r="string"==typeof e?"\r":"\r".charCodeAt();return e[e.length-1]===t&&(e=e.slice(0,-1)),e[e.length-1]===r&&(e=e.slice(0,-1)),e;}function v(e={}){let{env:t=process.env,platform:r=process.platform}=e;return"win32"!==r?"PATH":Object.keys(t).reverse().find(e=>"PATH"===e.toUpperCase())||"Path";}function g({env:e=u(ro).env,...t}={}){let r=v({env:e={...e}});return t.path=e[r],e[r]=function(e={}){let t;let{cwd:r=u(ro).cwd(),path:n=u(ro).env[v()],execPath:i=u(ro).execPath}=e,o=i instanceof URL?u(rs).fileURLToPath(i):i,s=r instanceof URL?u(rs).fileURLToPath(r):r,a=u(rn).resolve(s),l=[];for(;t!==a;)l.push(u(rn).join(a,"node_modules/.bin")),t=a,a=u(rn).resolve(a,"..");return l.push(u(rn).resolve(s,o,"..")),[...l,n].join(u(rn).delimiter);}(t),e;}function E(e){return null!==e&&"object"==typeof e&&"function"==typeof e.pipe;}function y(e){return E(e)&&!1!==e.writable&&"function"==typeof e._write&&"object"==typeof e._writableState;}async function w(e,t){if(!e)throw Error("Expected a stream");let{maxBuffer:r}=t={maxBuffer:1/0,...t},n=rW(t);return await new Promise((t,i)=>{let o=e=>{e&&n.getBufferedLength()<=rX.MAX_LENGTH&&(e.bufferedData=n.getBufferedValue()),i(e);};(async()=>{try{await oC(e,n),t();}catch(e){o(e);}})(),n.on("data",()=>{n.getBufferedLength()>r&&o(new o$());});}),n.getBufferedValue();}function x(e,t,r){let n;let i=o3(e,t,r),o=oX(e,t),s=oz(e,t);o2(s,i.options),oS(i.options);try{n=u(ri).spawn(i.file,i.args,i.options);}catch(t){let e=new(u(ri).ChildProcess)();return oB(e,Promise.reject(i5({error:t,stdout:"",stderr:"",all:"",command:o,escapedCommand:s,parsed:i,timedOut:!1,isCanceled:!1,killed:!1}))),e;}let a=oH(n),l=oI(n,i.options,a),c=oR(n,i.options,l),p={isCanceled:!1};n.kill=ov.bind(null,n.kill.bind(n)),n.cancel=ox.bind(null,n,p);let d=rB(async()=>{let[{error:e,exitCode:t,signal:r,timedOut:a},l,u,d]=await oF(n,i.options,c),f=o6(i.options,l),h=o6(i.options,u),m=o6(i.options,d);if(e||0!==t||null!==r){let l=i5({error:e,exitCode:t,signal:r,stdout:f,stderr:h,all:m,command:o,escapedCommand:s,parsed:i,timedOut:a,isCanceled:p.isCanceled||!!i.options.signal&&i.options.signal.aborted,killed:n.killed});if(!i.options.reject)return l;throw l;}return{command:o,escapedCommand:s,exitCode:0,stdout:f,stderr:h,all:m,failed:!1,timedOut:!1,isCanceled:!1,killed:!1};});return oD(n,i.options),n.all=ok(n,i.options),oA(n),oB(n,d),n;}function b(e,t,r){let n;let i=o3(e,t,r),o=oX(e,t),s=oz(e,t);o2(s,i.options);let a=oN(i.options);try{n=u(ri).spawnSync(i.file,i.args,{...i.options,input:a});}catch(e){throw i5({error:e,stdout:"",stderr:"",all:"",command:o,escapedCommand:s,parsed:i,timedOut:!1,isCanceled:!1,killed:!1});}let l=o6(i.options,n.stdout,n.error),c=o6(i.options,n.stderr,n.error);if(n.error||0!==n.status||null!==n.signal){let e=i5({stdout:l,stderr:c,error:n.error,signal:n.signal,exitCode:n.status,command:o,escapedCommand:s,parsed:i,timedOut:n.error&&"ETIMEDOUT"===n.error.code,isCanceled:!1,killed:null!==n.signal});if(!i.options.reject)return e;throw e;}return{command:o,escapedCommand:s,exitCode:0,stdout:l,stderr:c,failed:!1,timedOut:!1,isCanceled:!1,killed:!1};}function I(){var e,t;return((null===(e=(t=process).getuid)||void 0===e?void 0:e.call(t))===0||!!process.env.CI)&&null!==u(rS).sync("sudo",{nothrow:!0});}function S(e,t=[],r=o9){return I()?function(e,t){let[r,...n]=oW(e);return b(r,n,t);}(O(e,t),r):b(e,T(t),r);}function R(e,t=[],r=o9){return I()?function(e,t){let[r,...n]=oW(e);return x(r,n,t);}(O(e,t),r):x(e,T(t),r);}function O(e,t){return"sudo "+T([e,...t]).join(" ");}function T(e){return e.map(e=>`'${e}'`);}async function A(e){if(("linux"===process.platform||"darwin"===process.platform)&&I()&&void 0!==process.env.SUDO_USER){let t=u(nW).statSync(e).isDirectory();await R("chown",[...(t?["-R"]:[]),process.env.SUDO_USER,e],o9);}}function C(e){return I()&&"string"==typeof process.env.SUDO_USER?"darwin"===process.platform?(0,nz.join)("/Users/",process.env.SUDO_USER,e):(0,nz.join)("/home/",process.env.SUDO_USER,e):function(e){if("string"!=typeof e)throw TypeError("Expected a string, got "+typeof e);return nJ?e.replace(/^~(?=$|\/|\\)/,nJ):e;}("~/"+e);}function $(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e));}catch(e){o(e);}}function a(e){try{l(n.throw(e));}catch(e){o(e);}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t);})).then(s,a);}l((n=n.apply(e,t||[])).next());});}function _(e,t){function r(r){return function(l){return function(r){if(n)throw TypeError("Generator is already executing.");for(;s&&(s=0,r[0]&&(a=0)),a;)try{if(n=1,i&&(o=2&r[0]?i.return:r[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,r[1])).done)return o;switch(i=0,o&&(r=[2&r[0],o.value]),r[0]){case 0:case 1:o=r;break;case 4:return a.label++,{value:r[1],done:!1};case 5:a.label++,i=r[1],r=[0];continue;case 7:r=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===r[0]||2===r[0])){a=0;continue;}if(3===r[0]&&(!o||r[1]>o[0]&&r[1]{let[{error:e,exitCode:t,signal:r,timedOut:a},l,u,d]=await sR(n,i.options,c),f=sq(i.options,l),h=sq(i.options,u),m=sq(i.options,d);if(e||0!==t||null!==r){let l=se({error:e,exitCode:t,signal:r,stdout:f,stderr:h,all:m,command:o,escapedCommand:s,parsed:i,timedOut:a,isCanceled:p.isCanceled||!!i.options.signal&&i.options.signal.aborted,killed:n.killed});if(!i.options.reject)return l;throw l;}return{command:o,escapedCommand:s,exitCode:0,stdout:f,stderr:h,all:m,failed:!1,timedOut:!1,isCanceled:!1,killed:!1};});return sx(n,i.options),n.all=sb(n,i.options),sv(n),sA(n,d),n;}function D(t,r=["-NoProfile","-NoLogo","-NonInteractive"],n={stdio:"inherit"}){return L(function(){if(void 0===e){let t=u(rS).sync("pwsh",{nothrow:!0});null!==t&&(e=t);let r=u(rS).sync("powershell",{nothrow:!0});null!==r&&(e=r);}if(void 0===e)throw Error("Could not find powershell");return e;}(),[...r,"-c",t],n);}async function k(e,t,r=sY){let n=function(e,t=!1){let r=t?u(ns)(e):e;return u(na)(r,'"',"\\");}(null!=t?t:"",r.shouldEscapeSpace);try{if(rE.GITHUB_ACTIONS)try{if(r.shouldAddOnlyIfNotDefined&&void 0!==process.env[e]){(0,no.info)(`Environment variable ${e} is already defined. Skipping.`);return;}(0,no.exportVariable)(e,n);}catch(t){(0,ry.error)(t),await j(e,n,r);}else await j(e,n,r);}catch(t){(0,ry.error)(t),(0,no.setFailed)(`Failed to export environment variable ${e}=${n}. You should add it manually.`);}}async function U(e){if(!function(e){if(sQ.some(t=>t.test(e))){var t,r;return(null!==(r=null===(t=process.env.PATH)||void 0===t?void 0:t.split(nz.delimiter))&&void 0!==r?r:[]).includes(e);}return!1;}(e)){process.env.PATH=`${e}${nz.delimiter}${process.env.PATH}`;try{if(rE.GITHUB_ACTIONS)try{(0,no.addPath)(e);}catch(t){(0,ry.error)(t),await F(e);}else await F(e);}catch(t){(0,ry.error)(t),(0,no.setFailed)(`Failed to add ${e} to the percistent PATH. You should add it manually.`);}}}async function j(e,t,r){let n=null!=t?t:"";switch(process.platform){case"win32":if(r.shouldAddOnlyIfNotDefined&&void 0!==process.env[e]){(0,no.info)(`Environment variable ${e} is already defined. Skipping.`);return;}await D(`[Environment]::SetEnvironmentVariable('${e}', '${n}', "User")`),(0,no.info)(`${e}='${n}' was set in the environment.`);return;case"linux":case"darwin":await M(),r.shouldAddOnlyIfNotDefined?((0,nW.appendFileSync)(sJ,` if [ -z "\${${e}}" ]; then export ${e}="${n}"; fi -`),(0,nR.info)(`if not defined ${e} then ${e}="${n}" was added to "${sI}`)):((0,id.appendFileSync)(sI,` +`),(0,no.info)(`if not defined ${e} then ${e}="${n}" was added to "${sJ}`)):((0,nW.appendFileSync)(sJ,` export ${e}="${n}" -`),(0,nR.info)(`${e}="${n}" was added to "${sI}`));return;}process.env[e]=n;}async function D(e){switch(process.platform){case"win32":await _(`$USER_PATH=([Environment]::GetEnvironmentVariable("PATH", "User")); [Environment]::SetEnvironmentVariable("PATH", "${e};$USER_PATH", "User")`),(0,nR.info)(`"${e}" was added to the PATH.`);return;case"linux":case"darwin":await k(),(0,id.appendFileSync)(sI,` +`),(0,no.info)(`${e}="${n}" was added to "${sJ}`));return;}process.env[e]=n;}async function F(e){switch(process.platform){case"win32":await D(`$USER_PATH=([Environment]::GetEnvironmentVariable("PATH", "User")); [Environment]::SetEnvironmentVariable("PATH", "${e};$USER_PATH", "User")`),(0,no.info)(`"${e}" was added to the PATH.`);return;case"linux":case"darwin":await M(),(0,nW.appendFileSync)(sJ,` export PATH="${e}:$PATH" -`),(0,nR.info)(`"${e}" was added to "${sI}"`);return;default:return;}}async function k(){if(sO)return;let e="# Automatically Generated by setup-cpp\nexport SOURCE_CPPRC=0";if(await(0,n$.pathExists)(sI)){let t=(0,id.readFileSync)(sI,"utf8");if(t.includes(e))return;}(0,id.appendFileSync)(sI,` +`),(0,no.info)(`"${e}" was added to "${sJ}"`);return;default:return;}}async function M(){if(sZ)return;let e="# Automatically Generated by setup-cpp\nexport SOURCE_CPPRC=0";if((await(0,nl.pathExists)(sJ))&&(0,nW.readFileSync)(sJ,"utf8").includes(e))return;(0,nW.appendFileSync)(sJ,` ${e} -`),(0,nR.info)(`Added ${e} to ${sI}`);let t=` +`),(0,no.info)(`Added ${e} to ${sJ}`);let t=` # source .cpprc if SOURCE_CPPRC is not set to 0 -if [[ "$SOURCE_CPPRC" != 0 && -f "${sI}" ]]; then source "${sI}"; fi -`;try{let e=w(".profile");(0,id.appendFileSync)(e,t),(0,nR.info)(`${t} was added to ${e}`);let r=w(".bashrc");(0,id.appendFileSync)(r,t),(0,nR.info)(`${t} was added to ${r}`);}catch(e){(0,rg.warning)(`Failed to add ${t} to .profile or .bashrc. You should add it manually: ${e}`);}sO=!0;}async function U(){if(await(0,n$.pathExists)(sI)){let e=(0,id.readFileSync)(sI,"utf-8").split("\n"),t=[...new Set(e.reverse())].reverse();(0,id.writeFileSync)(sI,t.join("\n")),await y(sI);}}function j(e,t,r){let n;let i=as(e,t,r),o=s6(e,t),s=s8(e,t);ai(s,i.options),sF(i.options);try{n=c(ri).spawn(i.file,i.args,i.options);}catch(r){let e=new(c(ri).ChildProcess)(),t=Promise.reject(sT({error:r,stdout:"",stderr:"",all:"",command:o,escapedCommand:s,parsed:i,timedOut:!1,isCanceled:!1,killed:!1}));return s1(e,t),e;}let a=s2(n),l=sj(n,i.options,a),u=sM(n,i.options,l),p={isCanceled:!1};n.kill=s_.bind(null,n.kill.bind(n)),n.cancel=sk.bind(null,n,p);let d=async()=>{let[{error:e,exitCode:t,signal:r,timedOut:a},l,c,d]=await sJ(n,i.options,u),f=aa(i.options,l),h=aa(i.options,c),m=aa(i.options,d);if(e||0!==t||null!==r){let l=sT({error:e,exitCode:t,signal:r,stdout:f,stderr:h,all:m,command:o,escapedCommand:s,parsed:i,timedOut:a,isCanceled:p.isCanceled||!!i.options.signal&&i.options.signal.aborted,killed:n.killed});if(!i.options.reject)return l;throw l;}return{command:o,escapedCommand:s,exitCode:0,stdout:f,stderr:h,all:m,failed:!1,timedOut:!1,isCanceled:!1,killed:!1};},f=nT(d);return sW(n,i.options),n.all=sK(n,i.options),sH(n),s1(n,f),n;}function F(e,t,r){let n;let i=as(e,t,r),o=s6(e,t),s=s8(e,t);ai(s,i.options);let a=sX(i.options);try{n=c(ri).spawnSync(i.file,i.args,{...i.options,input:a});}catch(e){throw sT({error:e,stdout:"",stderr:"",all:"",command:o,escapedCommand:s,parsed:i,timedOut:!1,isCanceled:!1,killed:!1});}let l=aa(i.options,n.stdout,n.error),u=aa(i.options,n.stderr,n.error);if(n.error||0!==n.status||null!==n.signal){let e=sT({stdout:l,stderr:u,error:n.error,signal:n.signal,exitCode:n.status,command:o,escapedCommand:s,parsed:i,timedOut:n.error&&"ETIMEDOUT"===n.error.code,isCanceled:!1,killed:null!==n.signal});if(!i.options.reject)return e;throw e;}return{command:o,escapedCommand:s,exitCode:0,stdout:l,stderr:u,failed:!1,timedOut:!1,isCanceled:!1,killed:!1};}async function M(e,t=!1){var r;let n;let i=H()?"nala":"apt-get";for(let{name:t,version:r}of e)(0,rg.info)(`Installing ${t} ${null!=r?r:""} via ${i}`);process.env.DEBIAN_FRONTEND="noninteractive",(!aE||t)&&(q(i),aE=!0),ay||(await V(i),ay=!0);let o=[...new Set(e.flatMap(e=>null!==(r=e.repositories)&&void 0!==r?r:[]))];if(0!==o.length){for(let e of o)v("add-apt-repository",["-y",e]);q(i);}let s=await Promise.all(e.map(e=>B(e.name,e.version)));try{v(i,["install","--fix-broken","-y",...s]);}catch(e){if("stderr"in e){let t=e.stderr;aw.some(e=>t.includes(e))&&((0,rg.warning)(`Failed to install packages ${s}. Retrying...`),v(i,["install","--fix-broken","-y",...s]));}else throw e;}return{binDir:"/usr/bin/"};}async function G(e,t){if(void 0!==t&&""!==t){let{stdout:r}=await j("apt-cache",["search","--names-only",`^${(0,n_.default)(e)}-${(0,n_.default)(t)}$`]);if(""!==r.trim())return nU.NameDashVersion;try{let{stdout:r}=await j("apt-cache",["show",`${e}=${t}`]);if(""===r.trim())return nU.NameEqualsVersion;}catch{}}try{let{stdout:t}=await j("apt-cache",["show",e]);if(""!==t.trim())return nU.Name;}catch{}return nU.None;}async function B(e,t){let r=await G(e,t);switch(r){case nU.NameDashVersion:return`${e}-${t}`;case nU.NameEqualsVersion:return`${e}=${t}`;case nU.Name:return e;case nU.None:default:throw Error(`Could not find package ${e} ${null!=t?t:""}`);}}function H(){return null!==c(nP).sync("nala",{nothrow:!0});}function q(e){v(e,"nala"!==e?["update","-y"]:["update"]);}async function V(e){v(e,["install","--fix-broken","-y","software-properties-common","apt-utils","ca-certificates","gnupg"]);let t=[z(["3B4FE6ACC0B21F32","40976EAF437D05B5"],"setup-cpp-ubuntu-archive.gpg"),z(["1E9377A2BA9EF27F"],"launchpad-toolchain.gpg")];"nala"===e&&t.push(P("LANG","C.UTF-8",{shouldAddOnlyIfNotDefined:!0}),P("LC_ALL","C.UTF-8",{shouldAddOnlyIfNotDefined:!0})),await Promise.all(t);}function X(){v("gpg",["-k"]);}async function z(e,t,r="keyserver.ubuntu.com"){try{let n="/etc/apt/trusted.gpg.d/"+t;return(await(0,n$.pathExists)(n))||(X(),await Promise.all(e.map(async e=>{await E("gpg",["--no-default-keyring","--keyring","gnupg-ring:"+n,"--keyserver",r,"--recv-keys",e]),await E("chmod",["644",n]);}))),n;}catch(e){(0,rg.warning)(`Failed to add apt key via server ${r}: ${e}`);return;}}async function W(e,t){let r="/etc/apt/trusted.gpg.d/"+e;return(await(0,n$.pathExists)(r))||(X(),await M([{name:"curl"},{name:"ca-certificates"}],void 0),await j("curl",["-s",t,"-o","/tmp/"+e]),v("gpg",["--no-default-keyring","--keyring","gnupg-ring:"+r,"--import","/tmp/"+e]),v("chmod",["644",r])),r;}async function K(e,t){return rm.GITHUB_ACTIONS?E("update-alternatives",["--install","/usr/bin/"+e,e,t,"40"]):(await k(),av(sI,` -if [ $UID -eq 0 ]; then update-alternatives --install /usr/bin/${e} ${e} ${t} 40; fi -`));}async function Y(e){try{let{stdout:t}=await j("dpkg",["-l",e]),r=t.split("\n");return r.some(e=>e.startsWith("ii"));}catch{return!1;}}async function Q(e,r,n){if(!["darwin","linux"].includes(process.platform))return;if("string"==typeof t)return{binDir:t};let i=c(nP).sync("brew",{nothrow:!0});if(null!==i)return{binDir:t=(0,nj.dirname)(i)};let o=c(ip).join((0,iu.tmpdir)(),"setup-cpp","brew");await(0,nF.mkdirP)(o),F("curl",["-LJO","https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh"],{cwd:o});let s=(0,ip.join)(o,"install.sh");if("linux"===process.platform){let e=(0,id.readFileSync)(s,"utf-8");e.replace("#!/bin/bash","");}return F("/bin/bash",[s],{stdio:"inherit",env:{NONINTERACTIVE:"1"}}),t=J(),await N(t),{binDir:t};}function J(){return"linux"===process.platform?"/home/linuxbrew/.linuxbrew/bin/":"/usr/local/bin/";}async function Z(e,t,r=[]){(0,nR.info)(`Installing ${e} ${null!=t?t:""} via brew`),ax&&null!==c(nP).sync("brew",{nothrow:!0})||(await Q("","",process.arch),ax=!0);let n=J();return F((0,nj.join)(n,"brew"),["install",void 0!==t&&""!==t?`${e}@${t}`:e,...r],{stdio:"inherit"}),{binDir:n};}async function ee(e,t,n){var i;if("win32"!==process.platform)return;if("string"==typeof r)return{binDir:r};let o=c(nP).sync("choco",{nothrow:!0});if(null!==o)return{binDir:r=(0,nj.dirname)(o)};let s="powershell.exe",a=c(nP).sync(`${process.env.SystemRoot}\\System32\\WindowsPowerShell\\v1.0\\powershell.exe`,{nothrow:!0});null!==a&&(s=a),F(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"});let l=`${process.env.ALLUSERSPROFILE}\\chocolatey\\bin`;await N(l);let u=c(nP).sync("choco",{nothrow:!0});if(r=null!==u?(0,nj.dirname)(u):`${null!==(i=process.env.ChocolateyInstall)&&void 0!==i?i:"C:/ProgramData/chocolatey"}/bin`,await(0,n$.pathExists)(r))return{binDir:r};}async function et(e,t,r=[]){var n;(0,rg.info)(`Installing ${e} ${null!=t?t:""} via chocolatey`),ab&&null!==c(nP).sync("choco",{nothrow:!0})||(await ee("","",process.arch),ab=!0);let i=process.env.PATH,o={...process.env};if(delete o.TMP,delete o.TEMP,delete o.Path,o.PATH=i,void 0!==t&&""!==t)F("choco",["install","-y",e,"--version="+t,...r],{env:o,extendEnv:!1,stdio:"inherit"});else try{F("choco",["install","-y",e,...r],{env:o,extendEnv:!1,stdio:"inherit"});}catch(t){if(t.message.includes("exit code 3010"))(0,rg.info)(`${e} might require a reboot for the completion of the installation.`);else throw t;}let s=`${null!==(n=process.env.ChocolateyInstall)&&void 0!==n?n:"C:/ProgramData/chocolatey"}/bin`;return await N(s),{binDir:s};}function er(){return"linux"===process.platform&&(void 0===o&&(o=null!==c(nP).sync("pacman",{nothrow:!0})),o);}function en(){return"linux"===process.platform&&(void 0===s&&(s=null!==c(nP).sync("dnf",{nothrow:!0})),s);}async function ei(e){for(let{name:t,version:r}of e)(0,rg.info)(`Installing ${t} ${null!=r?r:""} via dnf`);let t=await Promise.all(e.map(e=>eo(e.name,e.version)));return v("dnf",["-y","install",...t]),{binDir:"/usr/bin/"};}async function eo(e,t){if(void 0!==t&&""!==t){let{stdout:r}=await j("dnf",["search","-q",`${e}-${t}`]);if(""!==r.trim())return`${e}-${t}`;{let{stdout:r}=await j("dnf",["search","-q",`${e}${t}`]);if(""!==r.trim())return`${e}${t}`;(0,rg.warning)(`Failed to install ${e} ${t} via dnf, trying without version`);}}return e;}function es(){return"linux"===process.platform&&(void 0===a&&(a=null!==c(nP).sync("apt-get",{nothrow:!0})),a);}async function ea(e,t,r){switch(process.platform){case"win32":return et("bazelisk",e);case"darwin":return Z("bazelisk",e);case"linux":if(er())throw Error("installing bazel on Arch linux is not supported yet");if(en())return await ei([{name:"dnf-plugins-core"}]),v("dnf",["copr","enable","vbatts/bazel"]),ei([{name:"bazel4"}]);if(es()){let t=await W("bazel-archive-keyring.gpg","https://bazel.build/bazel-release.pub.gpg");return v("bash",["-c",`echo "deb [arch=amd64 signed-by=${t}] https://storage.googleapis.com/bazel-apt stable jdk1.8" | tee /etc/apt/sources.list.d/bazel.list`]),M([{name:"bazel",version:e}],!0);}throw Error("Unsupported linux distribution");default:throw Error("Unsupported platform");}}async function el(e,t,r){(0,rg.info)(`Installing ${e} ${null!=t?t:""} via pacman`);let n="pacman";if("yay"===r&&null===c(nP).sync("yay",{nothrow:!0}))throw Error(`yay is needed for ${e}, but it is not installed, please install it manually first`);aS||"yay"===r||(v(n,["-Sy","--noconfirm"]),aS=!0),aI||"yay"===r||(v(n,["-S","--noconfirm","base-devel"]),aI=!0);let i=e=>"yay"===r?F(r,["-S","--noconfirm",e]):v(null!=r?r:n,["-S","--noconfirm",e]);if(void 0!==t&&""!==t){let r=await ec(n,e);if(r.includes(t))try{i(`${e}=${t}`);}catch{i(`${e}${t}`);}else(0,rg.info)(`Failed to install ${e} ${t} via pacman, trying without version`),i(e);}else i(e);return{binDir:"/usr/bin/"};}async function ec(e,t){let r=[];try{let{stdout:n}=await j(e,["-Si",t]);for(let e of n.matchAll(aO))r.push(e[1]);}catch(e){(0,rg.warning)(`Failed to get available versions for ${t}: ${e}`);}return r;}function eu(e,t){let r=[];t=t||a$.arch();let n=a_.join(eg(),e);if(aC.existsSync(n)){let e=aC.readdirSync(n);for(let i of e)if(eh(i)){let e=a_.join(n,i,t||"");aC.existsSync(e)&&aC.existsSync(`${e}.complete`)&&r.push(i);}}return r;}function ep(e){return nV(this,void 0,void 0,function*(){return e||(e=a_.join(ev(),ak.default())),yield aT.mkdirP(e),e;});}function ed(e,t,r){return nV(this,void 0,void 0,function*(){let n=a_.join(eg(),e,aN.clean(t)||t,r||"");aR.debug("destination "+n);let i=`${n}.complete`;return yield aT.rmRF(n),yield aT.rmRF(i),yield aT.mkdirP(n),n;});}function ef(e,t,r){let n=a_.join(eg(),e,aN.clean(t)||t,r||""),i=`${n}.complete`;aC.writeFileSync(i,""),aR.debug("finished caching tool");}function eh(e){let t=aN.clean(e)||"";aR.debug("isExplicit: "+t);let r=null!=aN.valid(t);return aR.debug("explicit? "+r),r;}function em(e,t){let r="";aR.debug(`evaluating ${e.length} versions`),e=e.sort((e,t)=>aN.gt(e,t)?1:-1);for(let n=e.length-1;n>=0;n--){let i=e[n],o=aN.satisfies(i,t);if(o){r=i;break;}}return r?aR.debug("matched: "+r):aR.debug("match not found"),r;}function eg(){let e=process.env.RUNNER_TOOL_CACHE||"";return t3.ok(e,"Expected RUNNER_TOOL_CACHE to be defined"),e;}function ev(){let e=process.env.RUNNER_TEMP||"";return t3.ok(e,"Expected RUNNER_TEMP to be defined"),e;}function eE(e,t){let r=rp[e];return void 0!==r?r:t;}function ey(e,t){if(!e||!t)throw Error("retry-as-promised must be passed a callback and a options set");t="number"==typeof t?{max:t}:t;let r={$current:"$current"in t?t.$current:1,max:t.max,timeout:t.timeout||void 0,match:t.match?Array.isArray(t.match)?t.match:[t.match]:[],backoffBase:void 0===t.backoffBase?100:t.backoffBase,backoffExponent:t.backoffExponent||1.1,report:t.report,name:t.name||e.name||"unknown"};return r.match&&!Array.isArray(r.match)&&(r.match=[r.match]),r.report&&r.report("Trying "+r.name+" #"+r.$current+" at "+new Date().toLocaleTimeString(),r),new Promise(function(t,n){let i,o,s;r.timeout&&(i=setTimeout(function(){o&&clearTimeout(o),n(new aG(r.name+" timed out",s));},r.timeout)),Promise.resolve(e({current:r.$current})).then(t).then(function(){i&&clearTimeout(i),o&&clearTimeout(o);}).catch(function(a){i&&clearTimeout(i),o&&clearTimeout(o),s=a,r.report&&r.report(a&&a.toString()||a,r,a);var l=r.$current(0,nM.downloadTool)(a),{name:a,max:4,backoffBase:2e3,report:e=>(0,rg.info)(e)});aB||((0,rg.info)("Installing extraction dependencies"),"linux"===process.platform&&(er()?await Promise.all([el("unzip"),el("tar"),el("xz")]):en()?await ei([{name:"unzip"},{name:"tar"},{name:"xz"}]):es()&&(await M([{name:"unzip"},{name:"tar"},{name:"xz-utils"}]))),aB=!0),(0,rg.info)(`Extracting ${r} to ${n}`),await(null==d?void 0:d(r,n));}catch(r){throw Error(`Failed to download ${e} ${t} ${i} from ${a}: ${r}`);}return(0,rg.info)(`Add ${h} to PATH`),await N(h),rm.GITHUB_ACTIONS&&"string"==typeof process.env.RUNNER_TOOL_CACHE&&(await(0,nM.cacheDir)(n,e,t)),{installDir:f,binDir:h};}function ex(e,t,r){switch(process.platform){case"win32":return et("7zip",e);case"darwin":return Z("p7zip",e);case"linux":if(er())return el("p7zip",e);if(en())return ei([{name:"p7zip",version:e},{name:"p7zip-plugins",version:e}]);if(es())return M([{name:"p7zip-full",version:e}]);throw Error("Unsupported linux distribution");default:throw Error("Unsupported platform");}}async function eb(e,t){return await j(await eS(),["x",e,"-o"+t,"-y"],{stdio:"inherit"}),await y(t),t;}async function eS(){return void 0===n&&(null===c(nP).sync("7z",{nothrow:!0})&&(await ex("","",process.arch)),n="7z"),n;}function eI(e,t){return eb(e,t);}function eO(e,t){return eb(e,t);}async function eR(e,t,r=["--strip-components=0"]){try{await(0,nF.mkdirP)(t);}catch{}try{await j("tar",["xf",e,"-C",t,...r],{stdio:"inherit"});}catch(r){"win32"===process.platform&&r.message.includes("Can't create '\\\\?\\C:")&&(0,rg.warning)(`Failed to extract symlink ${e} to ${t}. Ignoring this symlink.`);}return y(t),t;}function eT(e,t,r){var n;let i=null!==(n=c(n0)(e))&&void 0!==n?n:e;switch(t){case"win32":{let t;let n=c(nZ)(i,"v3.19.6");t=["ia32","x86","i386","x32"].includes(r)?n?"win32-x86":"windows-i386":n?"win64-x64":"windows-x86_64";let o=`cmake-${e}-${t}`;return{binRelativeDir:"bin/",binFileName:(0,nj.addExeExt)("cmake"),extractedFolderName:o,extractFunction:eO,url:`https://github.com/Kitware/CMake/releases/download/v${e}/${o}.zip`};}case"darwin":{let t=c(nZ)(i,"v3.19.1"),r=`cmake-${e}-${t?"Darwin-x86_64":"macos-universal"}`;return{binRelativeDir:"CMake.app/Contents/bin/",binFileName:(0,nj.addExeExt)("cmake"),extractedFolderName:r,extractFunction:nM.extractTar,url:`https://github.com/Kitware/CMake/releases/download/v${e}/${r}.tar.gz`};}case"linux":{let t;let n=c(nZ)(i,"v3.19.8");t=["aarch64"].includes(r)?n?"Linux-aarch64":"linux-aarch64":n?"Linux-x86_64":"linux-x86_64";let o=`cmake-${e}-${t}`;return{binRelativeDir:"bin/",binFileName:(0,nj.addExeExt)("cmake"),extractedFolderName:o,extractFunction:nM.extractTar,url:`https://github.com/Kitware/CMake/releases/download/v${e}/${o}.tar.gz`};}default:throw Error(`Unsupported platform '${t}'`);}}function eC(e,t,r){return ew("cmake",e,eT,t,r);}function eA(e){var t=e.length;return t?1===t?[e[0]]:2===t?[e[0],e[1]]:3===t?[e[0],e[1],e[2]]:n3.call(e,0):[];}function e$(e,t){return e===t||e!=e&&t!=t;}function e_(e,t){var r={};for(var n in e)r[n]=e[n];for(var n in t)r[n]=t[n];return r;}function eP(e,t){if(void 0===t&&(t={}),"function"==typeof e&&e.isMemoized)return eP(e.fn,e_(e.options,t));if("function"!=typeof e)throw TypeError("You must pass a function to `memoize`.");var r=t.isEqual,n=t.isMatchingKey,i=t.isPromise,o=void 0!==i&&i,s=t.maxSize,a=t.onCacheAdd,l=t.onCacheChange,c=t.onCacheHit,u=t.transformKey,p=e_({isEqual:void 0===r?e$:r,isMatchingKey:n,isPromise:o,maxSize:void 0===s?1:s,onCacheAdd:a,onCacheChange:l,onCacheHit:c,transformKey:u},function(e){var t={};for(var r in e)n2[r]||(t[r]=e[r]);return t;}(t)),d=new n4(p),f=d.keys,h=d.values,m=d.canTransformKey,g=d.shouldCloneArguments,v=d.shouldUpdateOnAdd,E=d.shouldUpdateOnChange,y=d.shouldUpdateOnHit,w=function(){var t=g?eA(arguments):arguments;m&&(t=u(t));var r=f.length?d.getKeyIndex(t):-1;if(-1!==r)y&&c(d,p,w),r&&(d.orderByLru(f[r],h[r],r),E&&l(d,p,w));else{var n=e.apply(this,arguments),i=g?t:eA(arguments);d.orderByLru(i,n,f.length),o&&d.updateAsyncCache(w),v&&a(d,p,w),E&&l(d,p,w);}return h[0];};return w.cache=d,w.fn=e,w.isMemoized=!0,w.options=p,w;}function eN(e,t){return new Promise(r=>{try{let n=(0,ig.request)(e,{method:t},e=>{r(void 0!==e.statusCode&&e.statusCode>=200&&e.statusCode<=399);});n.on("error",e=>{r(!1);}),n.end();}catch{r(!1);}});}function eL(e,t){return Array.from(e).filter(e=>/^\d+\.\d+\.\d+$/.test(e)&&e.startsWith(t)).sort((e,t)=>{try{return c(n5)(e,t);}catch(r){return e.localeCompare(t);}}).reverse();}async function eD(e,t,r,n){if("linux"===t&&r.includes("ubuntu")){let e=await n(t,r);if(null!==e&&(await n8(e)))return[r,e];}if(!e.has(r))throw Error(`Unsupported target! (platform='${t}', version='${r}'). Try one of the following: ${JSON.stringify(e)}`);let i=[];for(let o of eL(e,r)){let e=await n(t,o);if(null!==e){if(await n8(e))return[o,e];i.push(e);}}throw Error(`Unsupported target! (platform='${t}', version='${r}'). Try one of the following: ${JSON.stringify(e)}`);}async function ek(e,t=aH){try{var r,n;let i=await(0,nz.getExecOutput)(e,["--version"]),o=i.stdout||i.stderr||"",s=null===(r=o.trim().match(t))||void 0===r?void 0:r[1];return null!==(n=c(n0)(s))&&void 0!==n?n:void 0;}catch(e){console.error(e);return;}}async function eU(e,t,r=aH){let n=await ek(e,r);return void 0!==n&&""!==t&&-1!==c(n5)(n,t);}function ej(){switch(process.platform){case"win32":return"17.0.4";case"linux":return"17.0.5-ubuntu-22.04";case"darwin":return"15.0.3";default:return"17.0.5";}}async function eF(e,t,r){let n=await eB(e,t,r);c(t3)(void 0!==n.bin);let i=n.bin,o=await eX(i);if(void 0===o)throw Error("pip was not installed correctly");return await eM(i),await eG(i),n;}async function eM(e){try{(await e6(e))||(await e4(e,"pipx",void 0,{upgrade:!0,usePipx:!1})),await j(e,["-m","pipx","ensurepath"],{stdio:"inherit"}),await e4(e,"venv",void 0,{upgrade:!1,usePipx:!1});}catch(e){(0,rg.warning)(`Failed to install pipx: ${e.toString()}. Ignoring...`);}}async function eG(e){try{await e4(e,"setuptools",void 0,{upgrade:!0,isLibrary:!0,usePipx:!1}),await e4(e,"wheel",void 0,{upgrade:!0,isLibrary:!0,usePipx:!1});}catch(e){(0,rg.warning)(`Failed to install setuptools or wheel: ${e.toString()}. Ignoring...`);}}async function eB(e,t,r){let n;let i=await eq(t);if(void 0!==i){let e=(0,nj.dirname)(i);n={bin:i,installDir:e,binDir:e};}else{if(rm.GITHUB_ACTIONS)try{(0,rg.info)("Installing python in GitHub Actions");let{setupActionsPython:o}=await rh("dDAlR");await o(e,t,r),i=await eq(t);let s=(0,nj.dirname)(i);n={bin:i,installDir:s,binDir:s};}catch(e){(0,rg.warning)(e.toString());}void 0===n&&(n=await eH(t,e));}return(void 0===i||void 0===n.bin)&&(i=await eq(t),n.bin=i),n;}async function eH(e,t){let r;switch(process.platform){case"win32":{e?await et("python3",t,["--params=/InstallDir:"+e]):await et("python3",t);let n=await eq(e),i=(0,nj.dirname)(n);await N(i),r={installDir:i,binDir:i,bin:n};break;}case"darwin":{r=await Z("python3",t);let e=await j("brew",["--prefix","python"],{stdio:"pipe"}),n=(0,nj.join)(e.stdout,"libexec","bin");await N(n);break;}case"linux":if(er())r=await el("python",t);else if(en())r=await ei([{name:"python3",version:t}]);else if(es())r=await M([{name:"python3",version:t},{name:"python-is-python3"}]);else throw Error("Unsupported linux distributions");break;default:throw Error("Unsupported platform");}return r;}async function eq(e){for(let t of["python3","python"]){let r=await eV(t,e);if(void 0!==r)return r;}}async function eV(e,t){try{var r;if(void 0!==t){let r=(0,nj.join)(t,(0,nj.addExeExt)(e));if((await(0,n$.pathExists)(r))&&(await eU(r,aV.python)))return r;}let n=null!==(r=await c(nP)(e,{nothrow:!0,all:!0}))&&void 0!==r?r:[];for(let e of n)if(await eU(e,aV.python))return e;}catch{}}async function eX(e){let t=await ez();return void 0===t?((0,rg.info)("pip was not found. Installing pip"),await eK(e),ez()):t;}async function ez(){for(let e of["pip3","pip"]){let t=await eW(e);if(void 0!==t)return t;}}async function eW(e){try{var t;let r=null!==(t=await c(nP)(e,{nothrow:!0,all:!0}))&&void 0!==t?t:[];for(let e of r)if(null!==e&&(await eU(e,aV.pip)))return e;}catch{}}async function eK(e){let t=await eY(e);t||(await e9("pip"),await eY(e));}async function eY(e){try{return await j(e,["-m","ensurepip","-U","--upgrade"],{stdio:"inherit"}),!0;}catch(n){var t,r;(0,rg.info)(null==n?void 0:null===(t=n.toString)||void 0===t?void 0:t.call(n));try{return await j(e,["-m","pip","install","--upgrade","pip"],{stdio:"inherit"}),!0;}catch(e){(0,rg.info)(null==e?void 0:null===(r=e.toString)||void 0===r?void 0:r.call(e));}}return!1;}async function eQ(e){let t=[];"linux"===process.platform?t.push("/home/runner/.local/bin/"):"darwin"===process.platform&&t.push("/usr/local/bin/");let r=(await(0,nz.getExecOutput)(`${e} -c "import sys;print(sys.base_exec_prefix);"`)).stdout.trim();return t.push((0,nj.join)(r,"Scripts"),(0,nj.join)(r,"Scripts","bin"),(0,nj.join)(r,"bin")),[...new Set(t)];}function eJ(e,t,r=null){return eZ(t)&&"linux"===process.platform&&null!==r&&e in aX?function(e,t){let r=e[0],n=Object.keys(t).map(e=>parseInt(e,10)).sort((e,t)=>t-e).find(e=>r>=e);return void 0===n?"":t[n];}(r,aX[e]):eZ(t)&&e in aq?aq[e]:"true"===t?"":null!=t?t:"";}function eZ(e){return"true"===e||void 0===e;}async function e0(){var e,t;if("linux"!==process.platform)return[];let r=await(e="lsb_release",t=["-a"],new Promise((r,n)=>{t8.execFile(e,t,{encoding:"utf8",shell:!1},(i,o,s)=>{if(i){if("errno"in i&&"ENOENT"===i.code){r(null);return;}n(Error(`Could not execute \`${e} ${t.join(" ")}\`: ${i} (stderr=${s})`));return;}r(o);});}));if(null===r)return[];let n=null,i=null,o=!1;for(let e of r.split("\n")){let t=e.match(/^Distributor ID:\s*(.+)$/);if(null!==t){let e=t[1];if("Ubuntu"!==e)return[];o=!0;}let r=e.match(/^Description:\s*Ubuntu\s+(\d+)\.(\d+)(?:\.(\d+))?/);r&&(n=r);let s=e.match(/^Release:\s*(\d+)\.(\d+)(?:\.(\d+))?$/);if(s&&(i=s),o&&n&&i)break;}if(!o)return[];for(let e of[n,i])if(e){let t=[e[1],e[2]];return e[3]&&t.push(e[3]),t.map(e=>parseInt(e,10));}return[];}async function e1(){try{if(!es())return null;{try{null===c(nP).sync("lsb_release",{nothrow:!0})&&(await M([{name:"lsb-release"}]));}catch{return e2();}let e=await(0,n9.getUbuntuVersion)();if(0===e.length)return e2();return e;}}catch(e){return(0,rg.warning)(e.toString()),null;}}function e2(){let e=c(iu).version(),t=e.split("."),r=parseInt(t[0].replace("#",""),10),n=parseInt(t[1].replace("~",""),10),i=parseInt(t[2].split("-")[0],10);return[r,n,i];}async function e3(e,t,r={}){return e4(await aK(),e,t,r);}async function e4(e,t,r,n={}){let{usePipx:i=!0,user:o=!0,upgrade:s=!1,isLibrary:a=!1}=n,l=i&&!a&&(await e6(e)),c=l?"pipx":"pip",u=await e5(e,t);if(u)try{(0,nR.info)(`Installing ${t} ${null!=r?r:""} via ${c}`);let n=void 0!==r&&""!==r?`${t}==${r}`:t,i=!l&&o?["--user"]:[];F(e,["-m",c,...(s?l?["upgrade"]:["install","--upgrade"]:["install"]),...i,n],{stdio:"inherit"});}catch(e){if((0,nR.info)(`Failed to install ${t} via ${c}: ${e}.`),(await e9(t))===null)throw Error(`Failed to install ${t} via ${c}: ${e}.`);}else if((await e9(t))===null)throw Error(`Failed to install ${t} as it was not found via ${c} or the system package manager`);let p=await az(e),d=await e7(p,t);return await N(d),{binDir:d};}async function e6(e){return 0===(await j(e,["-m","pipx","--help"],{stdio:"ignore",reject:!1})).exitCode;}async function e8(){let e=(await eF(eJ("python",void 0,await aW()),"",process.arch)).bin;if(void 0===e)throw Error("Python binary was not found");return e;}async function e5(e,t){let r=await j(e,["-m","pip","-qq","index","versions",t],{stdio:"ignore",reject:!1});return 0===r.exitCode;}async function e7(e,t){let r=await Promise.all(e.map(e=>(0,n$.pathExists)((0,nj.join)(e,(0,nj.addExeExt)(t))))),n=r.findIndex(e=>e);if(-1!==n){let t=e[n];return t;}let i=c(nP).sync((0,nj.addExeExt)(t),{nothrow:!0});return null!==i?(0,nj.dirname)(i):e[e.length-1];}function e9(e){if("linux"===process.platform){if((0,nR.info)(`Installing ${e} via the system package manager`),er())return el("python-"+e);if(en())return ei([{name:"python3-"+e}]);if(es())return M([{name:"python3-"+e}]);}return null;}async function te(e,t,r){switch(process.platform){case"win32":{await et("cppcheck",e);let t=await tt();return{binDir:t};}case"darwin":return Z("cppcheck",e);case"linux":if(er())return el("cppcheck",e);if(en())return ei([{name:"ccache",version:e}]);if(es())return M([{name:"cppcheck",version:e}]);throw Error("Unsupported linux distribution");default:throw Error("Unsupported platform");}}async function tt(){let e="C:/Program Files/Cppcheck";return await N(e),e;}async function tr(e,t,r){switch(process.platform){case"win32":return await et("graphviz",e),tn();case"darwin":return Z("graphviz",e);case"linux":if(er())return el("graphviz",e);if(en())return ei([{name:"graphviz",version:e}]);if(es())return M([{name:"graphviz",version:e}]);throw Error("Unsupported linux distribution");default:throw Error("Unsupported platform");}}async function tn(){if("win32"===process.platform){let e="C:/Program Files/Graphviz/bin";return await N(e),{binDir:e};}throw Error("Unsupported platform");}function ti(e,t,r){switch(t){case"linux":{let t="doxygen-"+e;return{binRelativeDir:"bin/",binFileName:(0,nj.addExeExt)("doxygen"),extractedFolderName:t,extractFunction:nM.extractTar,url:`https://www.doxygen.nl/files/${t}.linux.bin.tar.gz`};}case"win32":{let t="doxygen-"+e;return{binRelativeDir:"",binFileName:(0,nj.addExeExt)("doxygen"),extractedFolderName:t,extractFunction:eO,url:`https://www.doxygen.nl/files/${t}.windows.x64.bin.zip`};}default:throw Error(`Unsupported platform '${t}'`);}}async function to(e,t,r){switch(process.platform){case"win32":{await c(n1)(()=>et("doxygen.install",e),{name:"doxygen.install",max:4,backoffBase:2e3,report:e=>(0,rg.info)(e)});let t=await ts();return await tr(eJ("graphviz",void 0),"",r),{binDir:t};}case"darwin":{let e=await Z("doxygen",void 0);return await tr(eJ("graphviz",void 0),"",r),e;}case"linux":{let n;if(""===e||er()||en()){if(er())n=await el("doxygen",e);else if(en())return ei([{name:"doxygen",version:e}]);else if(es())n=await M([{name:"doxygen",version:e}]);else throw Error("Unsupported linux distributions");}else if(es())try{n=await ew("doxygen",e,ti,t,r),await M([{name:"libclang-cpp9"}]);}catch(e){(0,rg.notice)(`Failed to download doxygen binary. ${e}. Falling back to apt-get.`),n=await M([{name:"doxygen"}]);}else throw Error("Unsupported linux distributions");return await tr(eJ("graphviz",void 0,await aW()),"",r),n;}default:throw Error("Unsupported platform");}}async function ts(){if("win32"===process.platform){for(let e of["C:/ProgramData/chocolatey/bin","C:/Program Files/doxygen/bin","C:/Program Files (x86)/doxygen"])if(await(0,n$.pathExists)((0,nj.join)(e,"doxygen.exe")))return await N(e),e;throw Error("Failed to find doxygen binary");}throw Error("Unsupported platform");}async function ta(){if("darwin"===process.platform)try{let e=await(0,nz.getExecOutput)("xcrun --sdk macosx --show-sdk-path"),t=e.stdout||e.stderr;t?await P("SDKROOT",t.trim()):(0,rg.error)("SDKROOT not set");}catch(e){(0,rg.error)(e);}}function tl(e,t,r){if("win32"===t){let t=aY[e];if(void 0===t)throw Error(`mingw version ${e} is not supported`);return{binRelativeDir:"bin/",binFileName:(0,nj.addExeExt)("g++"),extractedFolderName:"mingw64",extractFunction:eb,url:`https://github.com/brechtsanders/winlibs_mingw/releases/download/${t.releaseName}/winlibs-${"ia32"===r?"i686":"x86_64"}-posix-seh-gcc-${t.fileSuffix}.7z`};}throw Error(`Unsupported platform '${t}'`);}async function tc(e,t,r){let n;switch(process.platform){case"win32":("arm"===r||"arm64"===r)&&(await et("gcc-arm-embedded",e));try{n=await ew("g++",e,tl,t,r);}catch(t){(0,rg.info)(`Failed to download g++ binary. ${t}. Falling back to chocolatey.`),n=await tp(e,r);}break;case"darwin":n=await Z("gcc",e);break;case"linux":"x64"===r?er()?n=await el("gcc",e):en()?n=await ei([{name:"gcc",version:e},{name:"gcc-c++",version:e},{name:"libstdc++-devel"}]):es()&&(n=await M([{name:"gcc",version:e,repositories:["ppa:ubuntu-toolchain-r/test"]},{name:"g++",version:e,repositories:["ppa:ubuntu-toolchain-r/test"]}])):((0,rg.info)(`Install g++-multilib because gcc for ${r} was requested`),er()?await el("gcc-multilib",e):es()&&(await M([{name:"gcc-multilib",version:e,repositories:["ppa:ubuntu-toolchain-r/test"]}])));break;default:throw Error("Unsupported platform for "+r);}if(void 0!==n)return await td(e,n.binDir),n;}async function tu(e,t,r){let n;switch(process.platform){case"win32":case"darwin":return tc(e,t,r);case"linux":er()?n=await el("mingw-w64-gcc",e):en()?n=await ei([{name:"mingw64-gcc",version:e}]):es()&&(n=await M([{name:"mingw-w64",version:e,repositories:["ppa:ubuntu-toolchain-r/test"]}]));break;default:throw Error("Unsupported platform for "+r);}if(void 0!==n)return n;}async function tp(e,t){var r,n;let i;if(await et("mingw",e),"x64"===t&&(await(0,n$.pathExists)("C:/tools/mingw64/bin"))?(i="C:/tools/mingw64/bin",await N(i)):"ia32"===t&&(await(0,n$.pathExists)("C:/tools/mingw32/bin"))?(i="C:/tools/mingw32/bin",await N(i)):(await(0,n$.pathExists)(`${null!==(r=process.env.ChocolateyInstall)&&void 0!==r?r:"C:/ProgramData/chocolatey"}/bin/g++.exe`))&&(i=`${null!==(n=process.env.ChocolateyInstall)&&void 0!==n?n:"C:/ProgramData/chocolatey"}/bin`),void 0!==i)return{binDir:i};}async function td(e,t){let r=[];if("win32"===process.platform)r.push(P("CC",(0,nj.addExeExt)(`${t}/gcc`)),P("CXX",(0,nj.addExeExt)(`${t}/g++`)));else{var n;let i=c(ie)(null!==(n=c(n0)(e))&&void 0!==n?n:e);i>=5?(r.push(P("CC",`${t}/gcc-${i}`),P("CXX",`${t}/g++-${i}`)),es()&&r.push(K("cc",`${t}/gcc-${i}`),K("cxx",`${t}/g++-${i}`),K("gcc",`${t}/gcc-${i}`),K("g++",`${t}/g++-${i}`))):(r.push(P("CC",`${t}/gcc-${e}`),P("CXX",`${t}/g++-${e}`)),es()&&r.push(K("cc",`${t}/gcc-${e}`),K("cxx",`${t}/g++-${e}`),K("gcc",`${t}/gcc-${e}`),K("g++",`${t}/g++-${e}`)));}r.push(ta()),rm.GITHUB_ACTIONS&&(await tf()),await Promise.all(r);}async function tf(){let e=(0,nj.join)(it,"gcc_matcher.json");if(!(await(0,n$.pathExists)(e)))return(0,rg.warning)("the gcc_matcher.json file does not exist in the same folder as setup-cpp.js");(0,rg.info)("::add-matcher::"+e);}function th(e,t,r){let n=function(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,nj.addExeExt)("ninja"),extractedFolderName:"",extractFunction:eO,url:`https://github.com/ninja-build/ninja/releases/download/v${e}/ninja-${n}.zip`};}function tm(e,t,r){return ew("ninja",e,th,t,r);}function tg(e){return{url:`https://github.com/SimonKagstrom/kcov/releases/download/${e}/kcov-amd64.tar.gz`,extractedFolderName:"",binRelativeDir:"usr/local/bin",binFileName:(0,nj.addExeExt)("kcov"),extractFunction:eR};}function tv(e){return{url:`https://github.com/SimonKagstrom/kcov/archive/refs/tags/${e}.tar.gz`,extractedFolderName:"",binRelativeDir:"build/src",binFileName:(0,nj.addExeExt)("kcov"),extractFunction:tE};}async function tE(e,t){let r=await eR(e,t,["--strip-components=1"]),n=await ty();"linux"===process.platform&&(er()?await Promise.all([el("libdwarf"),el("libcurl-openssl")]):en()?await ei([{name:"libdwarf-devel"},{name:"libcurl-devel"}]):es()&&(await M([{name:"libdw-dev"},{name:"libcurl4-openssl-dev"}])));try{if(null!==c(nP).sync("patch",{nothrow:!0})){let e=(0,nj.join)(ir,"gcc13.patch");await j("patch",["-N","-p1","-i",e],{cwd:r,stdio:"inherit"});}else(0,rg.info)("`patch` not found, skipping gcc13.patch, kcov may not build on gcc 13");}catch{}let i=(0,nj.join)(r,"build");return await j(n,["-S",r,"-B",i,"-DCMAKE_BUILD_TYPE=Release","-G","Ninja"],{cwd:r,stdio:"inherit"}),await j(n,["--build",i,"--config","Release"],{cwd:r,stdio:"inherit"}),r;}async function ty(){let e=c(nP).sync("cmake",{nothrow:!0});if(null===e){let{binDir:t}=await eC(eJ("cmake",void 0,await aW()),(0,nj.join)(w(""),"cmake"),"");e=(0,nj.join)(t,"cmake");}let t=c(nP).sync("ninja",{nothrow:!0});return null===t&&(await tm(eJ("ninja",void 0,await aW()),(0,nj.join)(w(""),"ninja"),"")),e;}async function tw(e,t,r){var n;let i;if("linux"!==process.platform){(0,rg.info)("Kcov is not supported on non-linux");return;}let o=e.split("-"),s=(n=o[0]).match(/^v/)?n:"v"+n,a=o[1],l=parseInt(s.replace(/^v/,""),10);return 38===l&&(s="v38"),"binary"===a&&l>=39?(i=await ew("kcov",s,tg,t,r),er()?await el("binutils"):en()?await ei([{name:"binutils"}]):es()&&(await M([{name:"libbinutils"}]))):i=await ew("kcov",s,tv,t,r),i;}function tx(e){if(Object.values(a1).includes(e));else if(e in a1)return a1[e];return e;}function tb(e){let t;let r=tx(e);if(r){let e=r.split(".")[0]+".9";t=`-version "${r},${e}"`;}else t="-latest";let n=function(e,t){try{return t8.execSync(`vswhere -products * ${t} -prerelease -property installationPath`).toString().trim()+"\\"+e;}catch(e){nR.warning("vswhere failed: "+e);}return null;}("VC\\Auxiliary\\Build\\vcvarsall.bat",t);if(n&&id.existsSync(n))return nR.info("Found with vswhere: "+n),n;nR.info("Not found with vswhere");let i=e?[function(e){if(Object.keys(a1).includes(e));else for(let[t,r]of Object.entries(a1))if(r===e)return t;return e;}(e)]:a0;for(let e of aJ)for(let t of i)for(let r of aZ)if(n=`${e}\\Microsoft Visual Studio\\${t}\\${r}\\VC\\Auxiliary\\Build\\vcvarsall.bat`,nR.info("Trying standard location: "+n),id.existsSync(n))return nR.info("Found standard location: "+n),n;if(nR.info("Not found in standard locations"),n=`${aQ}\\Microsoft Visual C++ Build Tools\\vcbuildtools.bat`,id.existsSync(n))return nR.info("Found VS 2015: "+n),n;throw nR.info("Not found in VS 2015 location: "+n),Error("Microsoft Visual Studio not found");}async function tS(e,t,r,n,i,o,s){void 0!==t&&(await(0,n$.pathExists)(t))&&((0,rg.info)(`Adding ${t} to PATH`),await P("VCTargetsPath",t)),is(function(e){switch(e){case"x32":case"32":case"ia32":return"x86";case"64":return"x64";default:return e;}}(r),i,n,o,s,e);}async function tI(e,t,r,n,i,o,s,a=a5){(0,nR.startGroup)(`Installing ${e} ${t}`);let l=!1;try{l=await function(e,t){let r;let{milliseconds:n,fallback:i,message:o,customTimers:s={setTimeout:setTimeout,clearTimeout:clearTimeout}}=t,a=new Promise((a,l)=>{if("number"!=typeof n||1!==Math.sign(n))throw TypeError(`Expected \`milliseconds\` to be a positive number, got \`${n}\``);if(t.signal){let{signal:e}=t;e.aborted&&l(a8(e)),e.addEventListener("abort",()=>{l(a8(e));});}if(n===Number.POSITIVE_INFINITY){e.then(a,l);return;}let c=new a3();r=s.setTimeout.call(void 0,()=>{if(i){try{a(i());}catch(e){l(e);}return;}"function"==typeof e.cancel&&e.cancel(),!1===o?a():o instanceof Error?l(o):(c.message=null!=o?o:`Promise timed out after ${n} milliseconds`,l(c));},n),(async()=>{try{a(await e);}catch(e){l(e);}})();}),l=a.finally(()=>{l.clear();});return l.clear=()=>{s.clearTimeout.call(void 0,r),r=void 0;},l;}(tO(e,t,r,n,l,i,o),{milliseconds:a,message:`Timeout while installing ${e} ${t}. You can increase the timeout from options`});}catch(t){(0,rg.error)(t),s.push(`${e} failed to install`);}return(0,nR.endGroup)(),l;}async function tO(e,t,r,n,i,o,s){let a;if("vcvarsall"===e)await tS(eJ(e,t,r),void 0,n,void 0,void 0,!1,!1);else{let s=lp[e];i=["llvm","clangformat","clangtidy"].includes(e);let l=(0,nj.join)(o,i?"llvm":e);a=await s(eJ(e,t,r),l,n);}return s.push(tY(e,a)),i;}async function tR(e,t=ia.All){let r="/usr/lib/llvm-"+e;await M([{name:"curl"}]),await j("curl",["-LJO","https://apt.llvm.org/llvm.sh"],{cwd:"/tmp"});let n=await tT("/tmp/llvm.sh","/tmp/llvm-setup-cpp.sh",e,t);return await M(n),await le("/tmp/llvm-setup-cpp.sh","755"),await E("bash",["/tmp/llvm-setup-cpp.sh",""+e,...(t===ia.All?["all"]:[])],{stdio:"inherit",shell:!0,timeout:a5}),await N(`${r}/bin`),{installDir:""+r,binDir:`${r}/bin`,bin:`${r}/bin/clang++`};}async function tT(e,t,r,n){var i,o,s,a,l;let c=await a7(e,"utf-8");return c=(i=c,c=process.env.NODE_DEBUG?i:i.replace(/set -eux/g,"set -eu")).replace(/add-apt-repository "\${REPO_NAME}"/g,'add-apt-repository -y "${REPO_NAME}"'),o=n,s=c,a=r,c=o===ia.ClangFormat?s.replace(/ -y \$PKG/g," -y clang-format-"+a):s,l=c=await tC(c),c=H()?l.replace(/apt-get/g,"nala"):l,await a9(t,c),[{name:"lsb-release"},{name:"wget"},{name:"software-properties-common"},{name:"gnupg"}];}async function tC(e){let t=e.replace(/apt-get install -y/g,'apt-get install -o Dpkg::Options::="--force-overwrite" -y --fix-broken');return await Promise.all(["libc++-$LLVM_VERSION-dev","libc++abi-$LLVM_VERSION-dev","libunwind-$LLVM_VERSION-dev"].map(async e=>{let r=e.replace("$LLVM_VERSION","*");(await Y(r))&&((0,ru.info)("Removing conflicting package "+r),t=t.replace(e,""));})),t;}function tA(e,t,r){let n=`${t}${e}${r}`;return`https://github.com/llvm/llvm-project/releases/download/llvmorg-${e}/${n}`;}function t$(e,t,r){let n=`${t}${e}${r}`;return`https://releases.llvm.org/${e}/${n}`;}async function t_(e){let t;if(lr.has(e))return null;let r="LLVM-",n=c(nZ)(e,"3.7.0")?"-win32.exe":"-win64.exe",i=c(nZ)(e,"9.0.1"),o=!1;return i&&(t=t$(e,r,n),(await n8(t))||(o=!0)),(o||!i)&&(t=tA(e,r,n)),t;}function tP(e,t){switch(e){case"darwin":return function(e){if(ln.has(e))return null;let t="9.0.0"===e?"-darwin-apple":"-apple-darwin",r="clang+llvm-",n=`-x86_64${t}.tar.xz`;return c(nZ)(e,"9.0.1")?t$(e,r,n):tA(e,r,n);}(t);case"linux":return function(e){let t,r,n=e,i=li.get(n);if(void 0!==i&&(n=i),n.includes("ubuntu")){let e=n.replace(/-ubuntu-.*/,"");if(!lt.has(e))throw Error("Unsupported Ubuntu version: "+e);t=n.replace(e,""),n=eL(lt,e)[0];}else""!==n&&n in lo?t=lo[n]:(t=lo[ls],(0,rg.warning)(`Falling back to LLVM version ${ls} ${t} for the Ubuntu.`));let o="clang+llvm-";return(r="5.0.0"===n?`-linux-x86_64${t}.tar.xz`:t.includes("-rhel86")?`-x86_64-unknown-linux-gnu${t}.tar.xz`:`-x86_64-linux-gnu${t}.tar.xz`,c(nZ)(n,"9.0.1"))?t$(n,o,r):tA(n,o,r);}(t);case"win32":return t_(t);default:return null;}}async function tN(e,t,r){let[n,i]=await eD(lt,t,e,tP);return(0,rg.info)("specific llvm version: "+n),{url:i,extractedFolderName:"",binRelativeDir:"bin",binFileName:(0,nj.addExeExt)("clang"),extractFunction:"win32"===t?eI:(e,t)=>eR(e,t,["--strip-components=1"])};}async function tL(e,t,r){var n;let i=await la(e,t,r);return await tF(null!==(n=i.installDir)&&void 0!==n?n:t),i;}async function tD(e,t,r){let[n,i,o]=await Promise.all([tk(e,t,r),lc(r),tM()]);return n;}async function tk(e,t,r,n=ia.All){let i=function(e){if(null===c(n7)(e))try{let t=c(n0)(e);if(null!==t)return(0,rg.info)(`Coerced version '${e}' to '${t}'`),t.version;}catch(e){}return e;}(e),o=parseInt(i.split(".")[0],10);try{if(es())return await tR(o,n);}catch(e){(0,rg.info)("Failed to install llvm via system package manager "+e);}let s=await ew("llvm",e,tN,t,r);return await ll(o),s;}async function tU(e){es()&&(e<=10?await M([{name:"libtinfo5"}]):await M([{name:"libtinfo-dev"}]));}async function tj(e){"linux"===process.platform&&(await tc(eJ("gcc",void 0,await aW()),"",e));}async function tF(e){var t,r;let n=null!==(t=process.env.LD_LIBRARY_PATH)&&void 0!==t?t:"",i=null!==(r=process.env.DYLD_LIBRARY_PATH)&&void 0!==r?r:"",o=[P("LLVM_PATH",e),P("LD_LIBRARY_PATH",`${e}/lib${ip.delimiter}${n}`),P("DYLD_LIBRARY_PATH",`${e}/lib${ip.delimiter}${i}`),P("LDFLAGS",`-L"${e}/lib"`),P("CPPFLAGS",`-I"${e}/include"`),P("CC",(0,nj.addExeExt)(`${e}/bin/clang`)),P("CXX",(0,nj.addExeExt)(`${e}/bin/clang++`)),P("LIBRARY_PATH",`${e}/lib`),ta()];es()&&o.push(K("cc",`${e}/bin/clang`),K("cxx",`${e}/bin/clang++`),K("clang",`${e}/bin/clang`),K("clang++",`${e}/bin/clang++`),K("lld",`${e}/bin/lld`),K("ld.lld",`${e}/bin/ld.lld`),K("llvm-ar",`${e}/bin/llvm-ar`)),await Promise.all(o);}async function tM(){if(rm.GITHUB_ACTIONS){let e=(0,nj.join)(il,"llvm_matcher.json");if(!(await(0,n$.pathExists)(e)))return(0,rg.warning)("the llvm_matcher.json file does not exist in the same folder as setup-cpp.js");(0,rg.info)("::add-matcher::"+e);}}async function tG(e,t,r){switch(process.platform){case"win32":return et("make",e);case"darwin":return await Z("make",e),await N("/usr/local/opt/make/libexec/gnubin"),{binDir:"/usr/local/opt/make/libexec/gnubin"};case"linux":if(er())return el("make",e);if(en())return ei([{name:"make",version:e}]);if(es())return M([{name:"make",version:e}]);throw Error("Unsupported linux distribution");default:throw Error("Unsupported platform");}}async function tB(e,t,r,n,i,o){let s,a;if("win32"!==process.platform)return;let l=ii(e);(0,rg.info)(`Checking if MSVC ${l} is already installed`);let c=!1;try{let e=io(l);c=!0,(0,rg.info)("Found the pre-installed version of MSVC at "+e);}catch{}if(!c)try{"14.0"===l?(s="14.0",await et("visualcpp-build-tools","14.0.25420.1",["--ignore-dependencies"]),a="C:/Program Files (x86)/MSBuild/Microsoft.Cpp/v4.0/v140"):"15.0"===l?(s="14.16",await et("visualstudio2017buildtools","15.9.41.0",[]),a="C:/Program Files (x86)/Microsoft Visual Studio/2017/BuildTools/VC/Tools/MSVC/14.16"):"16.0"===l?(s="14.29",await et("visualstudio2019buildtools","16.11.7.0",[]),a="C:/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.29.30133"):"17.0"===l?(s=void 0,await et("visualstudio2022buildtools","117.0.5.0",[]),a=void 0):(0,rg.error)(`The given MSVC versions ${e} is not supported yet.`);}catch(e){(0,rg.error)(e);}await tS(l,a,r,s,n,i,o),rm.GITHUB_ACTIONS&&(await tH());}async function tH(){let e=(0,nj.join)(ic,"msvc_matcher.json");if(!(await(0,n$.pathExists)(e)))return(0,rg.warning)("the msvc_matcher.json file does not exist in the same folder as setup-cpp.js");(0,rg.info)("::add-matcher::"+e);}async function tq(e,t,r){if(!es())return;if("string"==typeof i)return{binDir:i};let n=c(nP).sync("nala",{nothrow:!0});if(null!==n)return{binDir:i=(0,nj.dirname)(n)};let o=await W("volian-archive-scar-unstable.gpg","https://deb.volian.org/volian/scar.key");v("/bin/bash",["-c",`echo "deb [signed-by=${o}] http://deb.volian.org/volian/ scar main" | tee /etc/apt/sources.list.d/volian-archive-scar-unstable.list`]);try{"legacy"!==e?await M([{name:"nala"}],!0):await M([{name:"nala-legacy"}],!0);}catch(e){await M([{name:"nala-legacy"}],!0);}return{binDir:i="/usr/bin"};}async function tV(e,t,r){if("win32"!==process.platform)return;await et("opencppcoverage",e);let n=await tX();return{binDir:n};}async function tX(){let e="C:/Program Files/OpenCppCoverage";return await N(e),e;}async function tz(e,t,r){switch(process.platform){case"win32":{await et("powershell-core",e);let t="C:/Program Files/PowerShell/7";return await N(t),{binDir:t};}case"darwin":return Z("powershell",e,["--cask"]);case"linux":if(er())return el("powershell-bin",e,"yay");if(en())return ei([{name:"curl"}]),v("/bin/bash",["-c","curl https://packages.microsoft.com/config/rhel/8/prod.repo | sudo tee /etc/yum.repos.d/microsoft.repo"]),ei([{name:"powershell",version:e}]);if(es()){await M([{name:"curl"}]);let t=await aW(),r=`${t[0]}.0${t[1]}`;return v("curl",["-LJO",`https://packages.microsoft.com/config/ubuntu/${r}/packages-microsoft-prod.deb`]),v("dpkg",["-i","packages-microsoft-prod.deb"]),M([{name:"powershell",version:e}],!0);}throw Error("Unsupported linux distribution");default:throw Error("Unsupported platform");}}function tW(e,t,r){var n;let i="win32"===(n=t)?"windows":n,o=function(e){switch(e){case"x64":return"amd64";case"ia32":case"x86":case"i386":case"x32":return"386";default:return e;}}(r),s="win32"===t;return{binRelativeDir:"",binFileName:(0,nj.addExeExt)("task"),extractedFolderName:"",extractFunction:s?eO:eR,url:`https://github.com/go-task/task/releases/download/v${e}/task_${i}_${o}.${s?"zip":"tar.gz"}`};}async function tK(e,t,r){return lu&&null!==c(nP).sync("vcpkg",{nothrow:!0})?{binDir:(0,nj.dirname)(c(nP).sync("vcpkg"))}:("linux"===process.platform&&(er()?await Promise.all([el("curl"),el("zip"),el("unzip"),el("tar"),el("git"),el("pkg-config")]):en()?await ei([{name:"curl"},{name:"zip"},{name:"unzip"},{name:"tar"},{name:"git"},{name:"pkg-config"}]):es()&&(await M([{name:"curl"},{name:"zip"},{name:"unzip"},{name:"tar"},{name:"git"},{name:"pkg-config"}]))),(await(0,n$.pathExists)((0,nj.join)(t,(0,nj.addShExt)("bootstrap-vcpkg",".bat"))))?(0,rg.notice)(`Vcpkg folder already exists at ${t}. This might mean that ~/vcpkg is restored from the cache.`):F("git",["clone","https://github.com/microsoft/vcpkg"],{cwd:(0,nj.dirname)(t),stdio:"inherit"}),F((0,nj.addShExt)((0,nj.addShRelativePrefix)("bootstrap-vcpkg"),".bat"),{cwd:t,shell:!0,stdio:"inherit"}),await y(t),await N(t),lu=!0,{binDir:t});}function tY(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;}async function tQ(e,t,r,n,i,o,s){try{let{compiler:a,version:l}=function(e){let t=e.split("-"),r=t[0];if(1 in t){let e=t[1];return null!==c(n7)(e)||(0,rg.info)(`Invalid semver version ${e} used for the compiler.`),{compiler:r,version:e};}return{compiler:r,version:void 0};}(e);switch((0,nR.startGroup)(`Installing ${a} ${null!=l?l:""}`),a){case"llvm":case"clang":case"clang++":{let e=await tL(eJ("llvm",l,t),(0,ip.join)(r,"llvm"),n);await P("GCOV","llvm-cov gcov"),i.push(tY("llvm",e));break;}case"gcc":case"mingw":case"cygwin":case"msys":{let e="mingw"===a?eJ("mingw",l,t):eJ("gcc",l,t),s="mingw"===a?await tu(e,(0,ip.join)(r,"gcc"),n):await tc(e,(0,ip.join)(r,"gcc"),n);o&&(await P("CPPFLAGS","")),await function(e){let t=c(n7)(e),r=null!==t?c(ie)(t):e;return P("GCOV",""!==r?"gcov-"+r:"gcov");}(e),i.push(tY("gcc",s));break;}case"cl":case"msvc":case"msbuild":case"vs":case"visualstudio":case"visualcpp":case"visualc++":{let e=await tB(eJ("msvc",l,t),(0,ip.join)(r,"msvc"),n);o&&(await P("CPPFLAGS","")),i.push(tY("msvc",e));break;}case"appleclang":case"applellvm":(0,nR.notice)("Assuming apple-clang is already installed"),await Promise.all([P("CC","clang"),P("CXX","clang++")]),i.push(tY("apple-clang",void 0));break;default:s.push("Unsupported compiler "+a);}}catch(t){(0,rg.error)(t),s.push("Failed to install the "+e);}(0,nR.endGroup)();}async function tJ(e){var t,r,n;let i,o,s=Promise.resolve();rm.GITHUB_ACTIONS||(s=S(),process.env.ACTIONS_ALLOW_UNSECURE_COMMANDS="true");let a=function(e,t){t=t||{};var r,n,i,o,s,a={_:[]},l=0,c=0,u=0,p=(e=e||[]).length;let d=void 0!==t.alias,f=void 0!==t.unknown,h=void 0!==t.default;if(t.alias=t.alias||{},t.string=I(t.string),t.boolean=I(t.boolean),d)for(r in t.alias)for(l=0,n=t.alias[r]=I(t.alias[r]);l0;)for(c=(n=t.alias[t.boolean[l]]||[]).length;c-->0;)t.boolean.push(n[c]);for(l=t.string.length;l-->0;)for(c=(n=t.alias[t.string[l]]||[]).length;c-->0;)t.string.push(n[c]);if(h){for(r in t.default)if(o=typeof t.default[r],n=t.alias[r]=t.alias[r]||[],void 0!==t[o])for(t[o].push(r),l=0;ll;l++){if("--"===(i=e[l])){a._=a._.concat(e.slice(++l));break;}for(c=0;c0;)a[n.shift()]=a[r];return a;}(e,{string:[...lf,"timeout"],default:Object.fromEntries(lf.map(e=>[e,function(e){let t=(0,nR.getInput)(e.toLowerCase());if("false"!==t&&""!==t)return t;}(e)])),alias:{h:"help"},boolean:"help"});a.help&&((0,rg.info)(` +if [[ "$SOURCE_CPPRC" != 0 && -f "${sJ}" ]]; then source "${sJ}"; fi +`;try{let e=C(".profile");(0,nW.appendFileSync)(e,t),(0,no.info)(`${t} was added to ${e}`);let r=C(".bashrc");(0,nW.appendFileSync)(r,t),(0,no.info)(`${t} was added to ${r}`);}catch(e){(0,ry.warning)(`Failed to add ${t} to .profile or .bashrc. You should add it manually: ${e}`);}sZ=!0;}async function G(){if(await(0,nl.pathExists)(sJ)){let e=(0,nW.readFileSync)(sJ,"utf-8").split("\n"),t=[...new Set(e.reverse())].reverse();(0,nW.writeFileSync)(sJ,t.join("\n")),await A(sJ);}}async function B(e,t=!1){let r;let n=V()?"nala":"apt-get";for(let{name:t,version:r}of e)(0,ry.info)(`Installing ${t} ${null!=r?r:""} via ${n}`);process.env.DEBIAN_FRONTEND="noninteractive",(!s1||t)&&(X(n),s1=!0),s2||(await z(n),s2=!0);let i=[...new Set(e.flatMap(e=>{var t;return null!==(t=e.repositories)&&void 0!==t?t:[];}))];if(0!==i.length){for(let e of i)S("add-apt-repository",["-y",e]);X(n);}let o=await Promise.all(e.map(e=>q(e.name,e.version)));try{S(n,["install","--fix-broken","-y",...o]);}catch(e){if("stderr"in e){let t=e.stderr;s4.some(e=>t.includes(e))&&((0,ry.warning)(`Failed to install packages ${o}. Retrying...`),S(n,["install","--fix-broken","-y",...o]));}else throw e;}return{binDir:"/usr/bin/"};}async function H(e,t){if(void 0!==t&&""!==t){let{stdout:r}=await x("apt-cache",["search","--names-only",`^${(0,nu.default)(e)}-${(0,nu.default)(t)}$`]);if(""!==r.trim())return 0;try{let{stdout:r}=await x("apt-cache",["show",`${e}=${t}`]);if(""===r.trim())return 1;}catch{}}try{let{stdout:t}=await x("apt-cache",["show",e]);if(""!==t.trim())return 2;}catch{}return 3;}async function q(e,t){switch(await H(e,t)){case 0:return`${e}-${t}`;case 1:return`${e}=${t}`;case 2:return e;default:throw Error(`Could not find package ${e} ${null!=t?t:""}`);}}function V(){return null!==u(rS).sync("nala",{nothrow:!0});}function X(e){S(e,"nala"!==e?["update","-y"]:["update"]);}async function z(e){S(e,["install","--fix-broken","-y","software-properties-common","apt-utils","ca-certificates","gnupg"]);let t=[K(["3B4FE6ACC0B21F32","40976EAF437D05B5"],"setup-cpp-ubuntu-archive.gpg"),K(["1E9377A2BA9EF27F"],"launchpad-toolchain.gpg")];"nala"===e&&t.push(k("LANG","C.UTF-8",{shouldAddOnlyIfNotDefined:!0}),k("LC_ALL","C.UTF-8",{shouldAddOnlyIfNotDefined:!0})),await Promise.all(t);}function W(){S("gpg",["-k"]);}async function K(e,t,r="keyserver.ubuntu.com"){try{let n="/etc/apt/trusted.gpg.d/"+t;return(await(0,nl.pathExists)(n))||(W(),await Promise.all(e.map(async e=>{await R("gpg",["--no-default-keyring","--keyring","gnupg-ring:"+n,"--keyserver",r,"--recv-keys",e]),await R("chmod",["644",n]);}))),n;}catch(e){(0,ry.warning)(`Failed to add apt key via server ${r}: ${e}`);return;}}async function Y(e,t){let r="/etc/apt/trusted.gpg.d/"+e;return(await(0,nl.pathExists)(r))||(W(),await B([{name:"curl"},{name:"ca-certificates"}],void 0),await x("curl",["-s",t,"-o","/tmp/"+e]),S("gpg",["--no-default-keyring","--keyring","gnupg-ring:"+r,"--import","/tmp/"+e]),S("chmod",["644",r])),r;}async function Q(e,t,r=40){return rE.GITHUB_ACTIONS?R("update-alternatives",["--install","/usr/bin/"+e,e,t,r.toString()]):(await M(),s0(sJ,` +if [ $UID -eq 0 ]; then update-alternatives --install /usr/bin/${e} ${e} ${t} ${r}; fi +`));}async function J(e){try{let{stdout:t}=await x("dpkg",["-l",e]);return t.split("\n").some(e=>e.startsWith("ii"));}catch{return!1;}}async function Z(e,r,n){if(!["darwin","linux"].includes(process.platform))return;if("string"==typeof t)return{binDir:t};let i=u(rS).sync("brew",{nothrow:!0});if(null!==i)return{binDir:t=(0,np.dirname)(i)};let o=u(nz).join((0,nX.tmpdir)(),"setup-cpp","brew");await(0,nd.mkdirP)(o),b("curl",["-LJO","https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh"],{cwd:o});let s=(0,nz.join)(o,"install.sh");return"linux"===process.platform&&(0,nW.readFileSync)(s,"utf-8").replace("#!/bin/bash",""),b("/bin/bash",[s],{stdio:"inherit",env:{NONINTERACTIVE:"1"}}),t=ee(),await U(t),{binDir:t};}function ee(){return"linux"===process.platform?"/home/linuxbrew/.linuxbrew/bin/":"/usr/local/bin/";}async function et(e,t,r=[]){(0,no.info)(`Installing ${e} ${null!=t?t:""} via brew`),s3&&null!==u(rS).sync("brew",{nothrow:!0})||(await Z("","",process.arch),s3=!0);let n=ee();return b((0,np.join)(n,"brew"),["install",void 0!==t&&""!==t?`${e}@${t}`:e,...r],{stdio:"inherit"}),{binDir:n};}async function er(e,t,n){var i;if("win32"!==process.platform)return;if("string"==typeof r)return{binDir:r};let o=u(rS).sync("choco",{nothrow:!0});if(null!==o)return{binDir:r=(0,np.dirname)(o)};let s="powershell.exe",a=u(rS).sync(`${process.env.SystemRoot}\\System32\\WindowsPowerShell\\v1.0\\powershell.exe`,{nothrow:!0});null!==a&&(s=a),b(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"});let l=`${process.env.ALLUSERSPROFILE}\\chocolatey\\bin`;await U(l);let c=u(rS).sync("choco",{nothrow:!0});if(r=null!==c?(0,np.dirname)(c):`${null!==(i=process.env.ChocolateyInstall)&&void 0!==i?i:"C:/ProgramData/chocolatey"}/bin`,await(0,nl.pathExists)(r))return{binDir:r};}async function en(e,t,r=[]){var n;(0,ry.info)(`Installing ${e} ${null!=t?t:""} via chocolatey`),s6&&null!==u(rS).sync("choco",{nothrow:!0})||(await er("","",process.arch),s6=!0);let i=process.env.PATH,o={...process.env};if(delete o.TMP,delete o.TEMP,delete o.Path,o.PATH=i,void 0!==t&&""!==t)b("choco",["install","-y",e,"--version="+t,...r],{env:o,extendEnv:!1,stdio:"inherit"});else try{b("choco",["install","-y",e,...r],{env:o,extendEnv:!1,stdio:"inherit"});}catch(t){if(t.message.includes("exit code 3010"))(0,ry.info)(`${e} might require a reboot for the completion of the installation.`);else throw t;}let s=`${null!==(n=process.env.ChocolateyInstall)&&void 0!==n?n:"C:/ProgramData/chocolatey"}/bin`;return await U(s),{binDir:s};}function ei(){return"linux"===process.platform&&(void 0===o&&(o=null!==u(rS).sync("pacman",{nothrow:!0})),o);}function eo(){return"linux"===process.platform&&(void 0===s&&(s=null!==u(rS).sync("dnf",{nothrow:!0})),s);}async function es(e){for(let{name:t,version:r}of e)(0,ry.info)(`Installing ${t} ${null!=r?r:""} via dnf`);return S("dnf",["-y","install",...(await Promise.all(e.map(e=>ea(e.name,e.version))))]),{binDir:"/usr/bin/"};}async function ea(e,t){if(void 0!==t&&""!==t){let{stdout:r}=await x("dnf",["search","-q",`${e}-${t}`]);if(""!==r.trim())return`${e}-${t}`;{let{stdout:r}=await x("dnf",["search","-q",`${e}${t}`]);if(""!==r.trim())return`${e}${t}`;(0,ry.warning)(`Failed to install ${e} ${t} via dnf, trying without version`);}}return e;}function el(){return"linux"===process.platform&&(void 0===a&&(a=null!==u(rS).sync("apt-get",{nothrow:!0})),a);}async function eu(e,t,r){switch(process.platform){case"win32":return en("bazelisk",e);case"darwin":return et("bazelisk",e);case"linux":if(ei())throw Error("installing bazel on Arch linux is not supported yet");if(eo())return await es([{name:"dnf-plugins-core"}]),S("dnf",["copr","enable","vbatts/bazel"]),es([{name:"bazel4"}]);if(el()){let t=await Y("bazel-archive-keyring.gpg","https://bazel.build/bazel-release.pub.gpg");return S("bash",["-c",`echo "deb [arch=amd64 signed-by=${t}] https://storage.googleapis.com/bazel-apt stable jdk1.8" | tee /etc/apt/sources.list.d/bazel.list`]),B([{name:"bazel",version:e}],!0);}throw Error("Unsupported linux distribution");default:throw Error("Unsupported platform");}}async function ec(e,t,r){(0,ry.info)(`Installing ${e} ${null!=t?t:""} via pacman`);let n="pacman";if("yay"===r&&null===u(rS).sync("yay",{nothrow:!0}))throw Error(`yay is needed for ${e}, but it is not installed, please install it manually first`);s8||"yay"===r||(S(n,["-Sy","--noconfirm"]),s8=!0),s5||"yay"===r||(S(n,["-S","--noconfirm","base-devel"]),s5=!0);let i=e=>"yay"===r?b(r,["-S","--noconfirm",e]):S(null!=r?r:n,["-S","--noconfirm",e]);if(void 0!==t&&""!==t){if((await ep(n,e)).includes(t))try{i(`${e}=${t}`);}catch{i(`${e}${t}`);}else(0,ry.info)(`Failed to install ${e} ${t} via pacman, trying without version`),i(e);}else i(e);return{binDir:"/usr/bin/"};}async function ep(e,t){let r=[];try{let{stdout:n}=await x(e,["-Si",t]);for(let e of n.matchAll(s9))r.push(e[1]);}catch(e){(0,ry.warning)(`Failed to get available versions for ${t}: ${e}`);}return r;}function ed(e,t){let r=[];t=t||an.arch();let n=ai.join(eE(),e);if(at.existsSync(n)){for(let e of at.readdirSync(n))if(ev(e)){let i=ai.join(n,e,t||"");at.existsSync(i)&&at.existsSync(`${i}.complete`)&&r.push(e);}}return r;}function ef(e){return nE(this,void 0,void 0,function*(){return e||(e=ai.join(ey(),au.default())),yield ae.mkdirP(e),e;});}function eh(e,t,r){return nE(this,void 0,void 0,function*(){let n=ai.join(eE(),e,as.clean(t)||t,r||"");s7.debug("destination "+n);let i=`${n}.complete`;return yield ae.rmRF(n),yield ae.rmRF(i),yield ae.mkdirP(n),n;});}function em(e,t,r){let n=ai.join(eE(),e,as.clean(t)||t,r||""),i=`${n}.complete`;at.writeFileSync(i,""),s7.debug("finished caching tool");}function ev(e){let t=as.clean(e)||"";s7.debug("isExplicit: "+t);let r=null!=as.valid(t);return s7.debug("explicit? "+r),r;}function eg(e,t){let r="";s7.debug(`evaluating ${e.length} versions`),e=e.sort((e,t)=>as.gt(e,t)?1:-1);for(let n=e.length-1;n>=0;n--){let i=e[n];if(as.satisfies(i,t)){r=i;break;}}return r?s7.debug("matched: "+r):s7.debug("match not found"),r;}function eE(){let e=process.env.RUNNER_TOOL_CACHE||"";return t6.ok(e,"Expected RUNNER_TOOL_CACHE to be defined"),e;}function ey(){let e=process.env.RUNNER_TEMP||"";return t6.ok(e,"Expected RUNNER_TEMP to be defined"),e;}function ew(e,t){let r=rf[e];return void 0!==r?r:t;}function ex(e,t){if(!e||!t)throw Error("retry-as-promised must be passed a callback and a options set");let r={$current:"$current"in(t="number"==typeof t?{max:t}:t)?t.$current:1,max:t.max,timeout:t.timeout||void 0,match:t.match?Array.isArray(t.match)?t.match:[t.match]:[],backoffBase:void 0===t.backoffBase?100:t.backoffBase,backoffExponent:t.backoffExponent||1.1,report:t.report,name:t.name||e.name||"unknown"};return r.match&&!Array.isArray(r.match)&&(r.match=[r.match]),r.report&&r.report("Trying "+r.name+" #"+r.$current+" at "+new Date().toLocaleTimeString(),r),new Promise(function(t,n){let i,o,s;r.timeout&&(i=setTimeout(function(){o&&clearTimeout(o),n(new ah(r.name+" timed out",s));},r.timeout)),Promise.resolve(e({current:r.$current})).then(t).then(function(){i&&clearTimeout(i),o&&clearTimeout(o);}).catch(function(a){i&&clearTimeout(i),o&&clearTimeout(o),s=a,r.report&&r.report(a&&a.toString()||a,r,a);var l=r.$current(0,nf.downloadTool)(a),{name:a,max:4,backoffBase:2e3,report:e=>(0,ry.info)(e)});am||((0,ry.info)("Installing extraction dependencies"),"linux"===process.platform&&(ei()?await Promise.all([ec("unzip"),ec("tar"),ec("xz")]):eo()?await es([{name:"unzip"},{name:"tar"},{name:"xz"}]):el()&&(await B([{name:"unzip"},{name:"tar"},{name:"xz-utils"}]))),am=!0),(0,ry.info)(`Extracting ${r} to ${n}`),await(null==d?void 0:d(r,n));}catch(r){throw Error(`Failed to download ${e} ${t} ${i} from ${a}: ${r}`);}return(0,ry.info)(`Add ${h} to PATH`),await U(h),rE.GITHUB_ACTIONS&&"string"==typeof process.env.RUNNER_TOOL_CACHE&&(await(0,nf.cacheDir)(n,e,t)),{installDir:f,binDir:h};}function eI(e,t,r){switch(process.platform){case"win32":return en("7zip",e);case"darwin":return et("p7zip",e);case"linux":if(ei())return ec("p7zip",e);if(eo())return es([{name:"p7zip",version:e},{name:"p7zip-plugins",version:e}]);if(el())return B([{name:"p7zip-full",version:e}]);throw Error("Unsupported linux distribution");default:throw Error("Unsupported platform");}}async function eS(e,t){return await x(await eR(),["x",e,"-o"+t,"-y"],{stdio:"inherit"}),await A(t),t;}async function eR(){return void 0===n&&(null===u(rS).sync("7z",{nothrow:!0})&&(await eI("","",process.arch)),n="7z"),n;}function eO(e,t){return eS(e,t);}function eT(e,t){return eS(e,t);}async function eA(e,t,r=["--strip-components=0"]){try{await(0,nd.mkdirP)(t);}catch{}try{await x("tar",["xf",e,"-C",t,...r],{stdio:"inherit"});}catch(r){"win32"===process.platform&&r.message.includes("Can't create '\\\\?\\C:")&&(0,ry.warning)(`Failed to extract symlink ${e} to ${t}. Ignoring this symlink.`);}return A(t),t;}function eC(e,t,r){var n;let i=null!==(n=u(nT)(e))&&void 0!==n?n:e;switch(t){case"win32":{let t;let n=u(nO)(i,"v3.19.6");t=["ia32","x86","i386","x32"].includes(r)?n?"win32-x86":"windows-i386":n?"win64-x64":"windows-x86_64";let o=`cmake-${e}-${t}`;return{binRelativeDir:"bin/",binFileName:(0,np.addExeExt)("cmake"),extractedFolderName:o,extractFunction:eT,url:`https://github.com/Kitware/CMake/releases/download/v${e}/${o}.zip`};}case"darwin":{let t=u(nO)(i,"v3.19.1"),r=`cmake-${e}-${t?"Darwin-x86_64":"macos-universal"}`;return{binRelativeDir:"CMake.app/Contents/bin/",binFileName:(0,np.addExeExt)("cmake"),extractedFolderName:r,extractFunction:nf.extractTar,url:`https://github.com/Kitware/CMake/releases/download/v${e}/${r}.tar.gz`};}case"linux":{let t;let n=u(nO)(i,"v3.19.8");t=["aarch64"].includes(r)?n?"Linux-aarch64":"linux-aarch64":n?"Linux-x86_64":"linux-x86_64";let o=`cmake-${e}-${t}`;return{binRelativeDir:"bin/",binFileName:(0,np.addExeExt)("cmake"),extractedFolderName:o,extractFunction:nf.extractTar,url:`https://github.com/Kitware/CMake/releases/download/v${e}/${o}.tar.gz`};}default:throw Error(`Unsupported platform '${t}'`);}}function e$(e,t,r){return eb("cmake",e,eC,t,r);}function e_(e){var t=e.length;return t?1===t?[e[0]]:2===t?[e[0],e[1]]:3===t?[e[0],e[1],e[2]]:n$.call(e,0):[];}function eP(e,t){return e===t||e!=e&&t!=t;}function eN(e,t){var r={};for(var n in e)r[n]=e[n];for(var n in t)r[n]=t[n];return r;}function eL(e,t){if(void 0===t&&(t={}),"function"==typeof e&&e.isMemoized)return eL(e.fn,eN(e.options,t));if("function"!=typeof e)throw TypeError("You must pass a function to `memoize`.");var r=t.isEqual,n=t.isMatchingKey,i=t.isPromise,o=void 0!==i&&i,s=t.maxSize,a=t.onCacheAdd,l=t.onCacheChange,u=t.onCacheHit,c=t.transformKey,p=eN({isEqual:void 0===r?eP:r,isMatchingKey:n,isPromise:o,maxSize:void 0===s?1:s,onCacheAdd:a,onCacheChange:l,onCacheHit:u,transformKey:c},function(e){var t={};for(var r in e)nC[r]||(t[r]=e[r]);return t;}(t)),d=new n_(p),f=d.keys,h=d.values,m=d.canTransformKey,v=d.shouldCloneArguments,g=d.shouldUpdateOnAdd,E=d.shouldUpdateOnChange,y=d.shouldUpdateOnHit,w=function(){var t=v?e_(arguments):arguments;m&&(t=c(t));var r=f.length?d.getKeyIndex(t):-1;if(-1!==r)y&&u(d,p,w),r&&(d.orderByLru(f[r],h[r],r),E&&l(d,p,w));else{var n=e.apply(this,arguments),i=v?t:e_(arguments);d.orderByLru(i,n,f.length),o&&d.updateAsyncCache(w),g&&a(d,p,w),E&&l(d,p,w);}return h[0];};return w.cache=d,w.fn=e,w.isMemoized=!0,w.options=p,w;}function eD(e,t){return new Promise(r=>{try{let n=(0,nQ.request)(e,{method:t},e=>{r(void 0!==e.statusCode&&e.statusCode>=200&&e.statusCode<=399);});n.on("error",e=>{r(!1);}),n.end();}catch{r(!1);}});}function ek(e,t){return Array.from(e).filter(e=>/^\d+\.\d+\.\d+$/.test(e)&&e.startsWith(t)).sort((e,t)=>{try{return u(nL)(e,t);}catch(r){return e.localeCompare(t);}}).reverse();}async function eU(e,t,r,n){if("linux"===t&&r.includes("ubuntu")){let e=await n(t,r);if(null!==e&&(await nN(e)))return[r,e];}if(!e.has(r))throw Error(`Unsupported target! (platform='${t}', version='${r}'). Try one of the following: ${JSON.stringify(e)}`);let i=[];for(let o of ek(e,r)){let e=await n(t,o);if(null!==e){if(await nN(e))return[o,e];i.push(e);}}throw Error(`Unsupported target! (platform='${t}', version='${r}'). Try one of the following: ${JSON.stringify(e)}`);}async function ej(e,t=av){try{var r,n;let i=await(0,nw.getExecOutput)(e,["--version"]),o=i.stdout||i.stderr||"",s=null===(r=o.trim().match(t))||void 0===r?void 0:r[1];return null!==(n=u(nT)(s))&&void 0!==n?n:void 0;}catch(e){console.error(e);return;}}async function eF(e,t,r=av){let n=await ej(e,r);return void 0!==n&&""!==t&&-1!==u(nL)(n,t);}function eM(){switch(process.platform){case"win32":return"17.0.4";case"linux":return"17.0.5-ubuntu-22.04";case"darwin":return"15.0.3";default:return"17.0.5";}}async function eG(e,t,r){let n=await eq(e,t,r);u(t6)(void 0!==n.bin);let i=n.bin;if(void 0===(await eW(i)))throw Error("pip was not installed correctly");return await eB(i),await eH(i),n;}async function eB(e){try{(await e5(e))||(await e8(e,"pipx",void 0,{upgrade:!0,usePipx:!1})),await x(e,["-m","pipx","ensurepath"],{stdio:"inherit"}),await e8(e,"venv",void 0,{upgrade:!1,usePipx:!1});}catch(e){(0,ry.warning)(`Failed to install pipx: ${e.toString()}. Ignoring...`);}}async function eH(e){try{await e8(e,"setuptools",void 0,{upgrade:!0,isLibrary:!0,usePipx:!1}),await e8(e,"wheel",void 0,{upgrade:!0,isLibrary:!0,usePipx:!1});}catch(e){(0,ry.warning)(`Failed to install setuptools or wheel: ${e.toString()}. Ignoring...`);}}async function eq(e,t,r){let n;let i=await eX(t);if(void 0!==i){let e=(0,np.dirname)(i);n={bin:i,installDir:e,binDir:e};}else{if(rE.GITHUB_ACTIONS)try{(0,ry.info)("Installing python in GitHub Actions");let{setupActionsPython:o}=await rv("fEioR");await o(e,t,r),i=await eX(t);let s=(0,np.dirname)(i);n={bin:i,installDir:s,binDir:s};}catch(e){(0,ry.warning)(e.toString());}void 0===n&&(n=await eV(t,e));}return(void 0===i||void 0===n.bin)&&(i=await eX(t),n.bin=i),n;}async function eV(e,t){let r;switch(process.platform){case"win32":{e?await en("python3",t,["--params=/InstallDir:"+e]):await en("python3",t);let n=await eX(e),i=(0,np.dirname)(n);await U(i),r={installDir:i,binDir:i,bin:n};break;}case"darwin":{r=await et("python3",t);let e=await x("brew",["--prefix","python"],{stdio:"pipe"}),n=(0,np.join)(e.stdout,"libexec","bin");await U(n);break;}case"linux":if(ei())r=await ec("python",t);else if(eo())r=await es([{name:"python3",version:t}]);else if(el())r=await B([{name:"python3",version:t},{name:"python-is-python3"}]);else throw Error("Unsupported linux distributions");break;default:throw Error("Unsupported platform");}return r;}async function eX(e){for(let t of["python3","python"]){let r=await ez(t,e);if(void 0!==r)return r;}}async function ez(e,t){try{var r;if(void 0!==t){let r=(0,np.join)(t,(0,np.addExeExt)(e));if((await(0,nl.pathExists)(r))&&(await eF(r,aE.python)))return r;}for(let t of null!==(r=await u(rS)(e,{nothrow:!0,all:!0}))&&void 0!==r?r:[])if(await eF(t,aE.python))return t;}catch{}}async function eW(e){let t=await eK();return void 0===t?((0,ry.info)("pip was not found. Installing pip"),await eQ(e),eK()):t;}async function eK(){for(let e of["pip3","pip"]){let t=await eY(e);if(void 0!==t)return t;}}async function eY(e){try{var t;for(let r of null!==(t=await u(rS)(e,{nothrow:!0,all:!0}))&&void 0!==t?t:[])if(null!==r&&(await eF(r,aE.pip)))return r;}catch{}}async function eQ(e){(await eJ(e))||(await tt("pip"),await eJ(e));}async function eJ(e){try{return await x(e,["-m","ensurepip","-U","--upgrade"],{stdio:"inherit"}),!0;}catch(n){var t,r;(0,ry.info)(null==n?void 0:null===(t=n.toString)||void 0===t?void 0:t.call(n));try{return await x(e,["-m","pip","install","--upgrade","pip"],{stdio:"inherit"}),!0;}catch(e){(0,ry.info)(null==e?void 0:null===(r=e.toString)||void 0===r?void 0:r.call(e));}}return!1;}async function eZ(e){let t=[];"linux"===process.platform?t.push("/home/runner/.local/bin/"):"darwin"===process.platform&&t.push("/usr/local/bin/");let r=(await(0,nw.getExecOutput)(`${e} -c "import sys;print(sys.base_exec_prefix);"`)).stdout.trim();return t.push((0,np.join)(r,"Scripts"),(0,np.join)(r,"Scripts","bin"),(0,np.join)(r,"bin")),[...new Set(t)];}function e0(e,t,r=null){return e1(t)&&"linux"===process.platform&&null!==r&&e in ay?function(e,t){let r=e[0],n=Object.keys(t).map(e=>parseInt(e,10)).sort((e,t)=>t-e).find(e=>r>=e);return void 0===n?"":t[n];}(r,ay[e]):e1(t)&&e in ag?ag[e]:"true"===t?"":null!=t?t:"";}function e1(e){return"true"===e||void 0===e;}async function e2(){var e,t;if("linux"!==process.platform)return[];let r=await(e="lsb_release",t=["-a"],new Promise((r,n)=>{t9.execFile(e,t,{encoding:"utf8",shell:!1},(i,o,s)=>{if(i){if("errno"in i&&"ENOENT"===i.code){r(null);return;}n(Error(`Could not execute \`${e} ${t.join(" ")}\`: ${i} (stderr=${s})`));return;}r(o);});}));if(null===r)return[];let n=null,i=null,o=!1;for(let e of r.split("\n")){let t=e.match(/^Distributor ID:\s*(.+)$/);if(null!==t){if("Ubuntu"!==t[1])return[];o=!0;}let r=e.match(/^Description:\s*Ubuntu\s+(\d+)\.(\d+)(?:\.(\d+))?/);r&&(n=r);let s=e.match(/^Release:\s*(\d+)\.(\d+)(?:\.(\d+))?$/);if(s&&(i=s),o&&n&&i)break;}if(!o)return[];for(let e of[n,i])if(e){let t=[e[1],e[2]];return e[3]&&t.push(e[3]),t.map(e=>parseInt(e,10));}return[];}async function e4(){try{if(!el())return null;{try{null===u(rS).sync("lsb_release",{nothrow:!0})&&(await B([{name:"lsb-release"}]));}catch{return e3();}let e=await(0,nk.getUbuntuVersion)();if(0===e.length)return e3();return e;}}catch(e){return(0,ry.warning)(e.toString()),null;}}function e3(){let e=u(nX).version().split("."),t=parseInt(e[0].replace("#",""),10);return[t,parseInt(e[1].replace("~",""),10),parseInt(e[2].split("-")[0],10)];}async function e6(e,t,r={}){return e8(await ab(),e,t,r);}async function e8(e,t,r,n={}){let{usePipx:i=!0,user:o=!0,upgrade:s=!1,isLibrary:a=!1}=n,l=i&&!a&&(await e5(e)),u=l?"pipx":"pip";if(await e7(e,t))try{(0,no.info)(`Installing ${t} ${null!=r?r:""} via ${u}`);let n=void 0!==r&&""!==r?`${t}==${r}`:t;b(e,["-m",u,...(s?l?["upgrade"]:["install","--upgrade"]:["install"]),...(!l&&o?["--user"]:[]),n],{stdio:"inherit"});}catch(e){if((0,no.info)(`Failed to install ${t} via ${u}: ${e}.`),(await tt(t))===null)throw Error(`Failed to install ${t} via ${u}: ${e}.`);}else if((await tt(t))===null)throw Error(`Failed to install ${t} as it was not found via ${u} or the system package manager`);let c=await aw(e),p=await te(c,t);return await U(p),{binDir:p};}async function e5(e){return 0===(await x(e,["-m","pipx","--help"],{stdio:"ignore",reject:!1})).exitCode;}async function e9(){let e=(await eG(e0("python",void 0,await ax()),"",process.arch)).bin;if(void 0===e)throw Error("Python binary was not found");return e;}async function e7(e,t){return 0===(await x(e,["-m","pip","-qq","index","versions",t],{stdio:"ignore",reject:!1})).exitCode;}async function te(e,t){let r=(await Promise.all(e.map(e=>(0,nl.pathExists)((0,np.join)(e,(0,np.addExeExt)(t)))))).findIndex(e=>e);if(-1!==r)return e[r];let n=u(rS).sync((0,np.addExeExt)(t),{nothrow:!0});return null!==n?(0,np.dirname)(n):e[e.length-1];}function tt(e){if("linux"===process.platform){if((0,no.info)(`Installing ${e} via the system package manager`),ei())return ec("python-"+e);if(eo())return es([{name:"python3-"+e}]);if(el())return B([{name:"python3-"+e}]);}return null;}async function tr(e,t,r){switch(process.platform){case"win32":return await en("cppcheck",e),{binDir:await tn()};case"darwin":return et("cppcheck",e);case"linux":if(ei())return ec("cppcheck",e);if(eo())return es([{name:"ccache",version:e}]);if(el())return B([{name:"cppcheck",version:e}]);throw Error("Unsupported linux distribution");default:throw Error("Unsupported platform");}}async function tn(){let e="C:/Program Files/Cppcheck";return await U(e),e;}async function ti(e,t,r){switch(process.platform){case"win32":return await en("graphviz",e),to();case"darwin":return et("graphviz",e);case"linux":if(ei())return ec("graphviz",e);if(eo())return es([{name:"graphviz",version:e}]);if(el())return B([{name:"graphviz",version:e}]);throw Error("Unsupported linux distribution");default:throw Error("Unsupported platform");}}async function to(){if("win32"===process.platform){let e="C:/Program Files/Graphviz/bin";return await U(e),{binDir:e};}throw Error("Unsupported platform");}function ts(e,t,r){switch(t){case"linux":{let t="doxygen-"+e;return{binRelativeDir:"bin/",binFileName:(0,np.addExeExt)("doxygen"),extractedFolderName:t,extractFunction:nf.extractTar,url:`https://www.doxygen.nl/files/${t}.linux.bin.tar.gz`};}case"win32":{let t="doxygen-"+e;return{binRelativeDir:"",binFileName:(0,np.addExeExt)("doxygen"),extractedFolderName:t,extractFunction:eT,url:`https://www.doxygen.nl/files/${t}.windows.x64.bin.zip`};}default:throw Error(`Unsupported platform '${t}'`);}}async function ta(e,t,r){switch(process.platform){case"win32":{await u(nA)(()=>en("doxygen.install",e),{name:"doxygen.install",max:4,backoffBase:2e3,report:e=>(0,ry.info)(e)});let t=await tl();return await ti(e0("graphviz",void 0),"",r),{binDir:t};}case"darwin":{let e=await et("doxygen",void 0);return await ti(e0("graphviz",void 0),"",r),e;}case"linux":{let n;if(""===e||ei()||eo()){if(ei())n=await ec("doxygen",e);else if(eo())return es([{name:"doxygen",version:e}]);else if(el())n=await B([{name:"doxygen",version:e}]);else throw Error("Unsupported linux distributions");}else if(el())try{n=await eb("doxygen",e,ts,t,r),await B([{name:"libclang-cpp9"}]);}catch(e){(0,ry.notice)(`Failed to download doxygen binary. ${e}. Falling back to apt-get.`),n=await B([{name:"doxygen"}]);}else throw Error("Unsupported linux distributions");return await ti(e0("graphviz",void 0,await ax()),"",r),n;}default:throw Error("Unsupported platform");}}async function tl(){if("win32"===process.platform){for(let e of["C:/ProgramData/chocolatey/bin","C:/Program Files/doxygen/bin","C:/Program Files (x86)/doxygen"])if(await(0,nl.pathExists)((0,np.join)(e,"doxygen.exe")))return await U(e),e;throw Error("Failed to find doxygen binary");}throw Error("Unsupported platform");}async function tu(){if("darwin"===process.platform)try{let e=await(0,nw.getExecOutput)("xcrun --sdk macosx --show-sdk-path"),t=e.stdout||e.stderr;t?await k("SDKROOT",t.trim()):(0,ry.error)("SDKROOT not set");}catch(e){(0,ry.error)(e);}}function tc(e,t,r){if("win32"===t){let t=aI[e];if(void 0===t)throw Error(`mingw version ${e} is not supported`);return{binRelativeDir:"bin/",binFileName:(0,np.addExeExt)("g++"),extractedFolderName:"mingw64",extractFunction:eS,url:`https://github.com/brechtsanders/winlibs_mingw/releases/download/${t.releaseName}/winlibs-${"ia32"===r?"i686":"x86_64"}-posix-seh-gcc-${t.fileSuffix}.7z`};}throw Error(`Unsupported platform '${t}'`);}async function tp(e,t,r,n=40){let i;switch(process.platform){case"win32":("arm"===r||"arm64"===r)&&(await en("gcc-arm-embedded",e));try{i=await eb("g++",e,tc,t,r);}catch(t){(0,ry.info)(`Failed to download g++ binary. ${t}. Falling back to chocolatey.`),i=await tf(e,r);}break;case"darwin":i=await et("gcc",e);break;case"linux":"x64"===r?ei()?i=await ec("gcc",e):eo()?i=await es([{name:"gcc",version:e},{name:"gcc-c++",version:e},{name:"libstdc++-devel"}]):el()&&(i=await B([{name:"gcc",version:e,repositories:["ppa:ubuntu-toolchain-r/test"]},{name:"g++",version:e,repositories:["ppa:ubuntu-toolchain-r/test"]}])):((0,ry.info)(`Install g++-multilib because gcc for ${r} was requested`),ei()?await ec("gcc-multilib",e):el()&&(await B([{name:"gcc-multilib",version:e,repositories:["ppa:ubuntu-toolchain-r/test"]}])));break;default:throw Error("Unsupported platform for "+r);}if(void 0!==i)return await th(e,i.binDir,n),i;}async function td(e,t,r){let n;switch(process.platform){case"win32":case"darwin":return tp(e,t,r);case"linux":ei()?n=await ec("mingw-w64-gcc",e):eo()?n=await es([{name:"mingw64-gcc",version:e}]):el()&&(n=await B([{name:"mingw-w64",version:e,repositories:["ppa:ubuntu-toolchain-r/test"]}]));break;default:throw Error("Unsupported platform for "+r);}if(void 0!==n)return n;}async function tf(e,t){var r,n;let i;if(await en("mingw",e),"x64"===t&&(await(0,nl.pathExists)("C:/tools/mingw64/bin"))?(i="C:/tools/mingw64/bin",await U(i)):"ia32"===t&&(await(0,nl.pathExists)("C:/tools/mingw32/bin"))?(i="C:/tools/mingw32/bin",await U(i)):(await(0,nl.pathExists)(`${null!==(r=process.env.ChocolateyInstall)&&void 0!==r?r:"C:/ProgramData/chocolatey"}/bin/g++.exe`))&&(i=`${null!==(n=process.env.ChocolateyInstall)&&void 0!==n?n:"C:/ProgramData/chocolatey"}/bin`),void 0!==i)return{binDir:i};}async function th(e,t,r=40){let n=[];if("win32"===process.platform)n.push(k("CC",(0,np.addExeExt)(`${t}/gcc`)),k("CXX",(0,np.addExeExt)(`${t}/g++`)));else{var i;let o=u(nU)(null!==(i=u(nT)(e))&&void 0!==i?i:e);o>=5?(n.push(k("CC",`${t}/gcc-${o}`),k("CXX",`${t}/g++-${o}`)),el()&&n.push(Q("cc",`${t}/gcc-${o}`,r),Q("cxx",`${t}/g++-${o}`,r),Q("gcc",`${t}/gcc-${o}`,r),Q("g++",`${t}/g++-${o}`,r))):(n.push(k("CC",`${t}/gcc-${e}`),k("CXX",`${t}/g++-${e}`)),el()&&n.push(Q("cc",`${t}/gcc-${e}`,r),Q("cxx",`${t}/g++-${e}`,r),Q("gcc",`${t}/gcc-${e}`,r),Q("g++",`${t}/g++-${e}`,r)));}n.push(tu()),rE.GITHUB_ACTIONS&&(await tm()),await Promise.all(n);}async function tm(){let e=(0,np.join)(nj,"gcc_matcher.json");if(!(await(0,nl.pathExists)(e)))return(0,ry.warning)("the gcc_matcher.json file does not exist in the same folder as setup-cpp.js");(0,ry.info)("::add-matcher::"+e);}function tv(e,t,r){let n=function(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,np.addExeExt)("ninja"),extractedFolderName:"",extractFunction:eT,url:`https://github.com/ninja-build/ninja/releases/download/v${e}/ninja-${n}.zip`};}function tg(e,t,r){return eb("ninja",e,tv,t,r);}function tE(e){return{url:`https://github.com/SimonKagstrom/kcov/releases/download/${e}/kcov-amd64.tar.gz`,extractedFolderName:"",binRelativeDir:"usr/local/bin",binFileName:(0,np.addExeExt)("kcov"),extractFunction:eA};}function ty(e){return{url:`https://github.com/SimonKagstrom/kcov/archive/refs/tags/${e}.tar.gz`,extractedFolderName:"",binRelativeDir:"build/src",binFileName:(0,np.addExeExt)("kcov"),extractFunction:tw};}async function tw(e,t){let r=await eA(e,t,["--strip-components=1"]),n=await tx();"linux"===process.platform&&(ei()?await Promise.all([ec("libdwarf"),ec("libcurl-openssl")]):eo()?await es([{name:"libdwarf-devel"},{name:"libcurl-devel"}]):el()&&(await B([{name:"libdw-dev"},{name:"libcurl4-openssl-dev"}])));try{if(null!==u(rS).sync("patch",{nothrow:!0})){let e=(0,np.join)(nF,"gcc13.patch");await x("patch",["-N","-p1","-i",e],{cwd:r,stdio:"inherit"});}else(0,ry.info)("`patch` not found, skipping gcc13.patch, kcov may not build on gcc 13");}catch{}let i=(0,np.join)(r,"build");return await x(n,["-S",r,"-B",i,"-DCMAKE_BUILD_TYPE=Release","-G","Ninja"],{cwd:r,stdio:"inherit"}),await x(n,["--build",i,"--config","Release"],{cwd:r,stdio:"inherit"}),r;}async function tx(){let e=u(rS).sync("cmake",{nothrow:!0});if(null===e){let{binDir:t}=await e$(e0("cmake",void 0,await ax()),(0,np.join)(C(""),"cmake"),"");e=(0,np.join)(t,"cmake");}return null===u(rS).sync("ninja",{nothrow:!0})&&(await tg(e0("ninja",void 0,await ax()),(0,np.join)(C(""),"ninja"),"")),e;}async function tb(e,t,r){var n;let i;if("linux"!==process.platform){(0,ry.info)("Kcov is not supported on non-linux");return;}let o=e.split("-"),s=(n=o[0]).match(/^v/)?n:"v"+n,a=o[1],l=parseInt(s.replace(/^v/,""),10);return 38===l&&(s="v38"),"binary"===a&&l>=39?(i=await eb("kcov",s,tE,t,r),ei()?await ec("binutils"):eo()?await es([{name:"binutils"}]):el()&&(await B([{name:"libbinutils"}]))):i=await eb("kcov",s,ty,t,r),i;}function tI(e){if(Object.values(aA).includes(e));else if(e in aA)return aA[e];return e;}function tS(e){let t;let r=tI(e);if(r){let e=r.split(".")[0]+".9";t=`-version "${r},${e}"`;}else t="-latest";let n=function(e,t){try{return t9.execSync(`vswhere -products * ${t} -prerelease -property installationPath`).toString().trim()+"\\"+e;}catch(e){no.warning("vswhere failed: "+e);}return null;}("VC\\Auxiliary\\Build\\vcvarsall.bat",t);if(n&&nW.existsSync(n))return no.info("Found with vswhere: "+n),n;no.info("Not found with vswhere");let i=e?[function(e){if(Object.keys(aA).includes(e));else for(let[t,r]of Object.entries(aA))if(r===e)return t;return e;}(e)]:aT;for(let e of aR)for(let t of i)for(let r of aO)if(n=`${e}\\Microsoft Visual Studio\\${t}\\${r}\\VC\\Auxiliary\\Build\\vcvarsall.bat`,no.info("Trying standard location: "+n),nW.existsSync(n))return no.info("Found standard location: "+n),n;if(no.info("Not found in standard locations"),n=`${aS}\\Microsoft Visual C++ Build Tools\\vcbuildtools.bat`,nW.existsSync(n))return no.info("Found VS 2015: "+n),n;throw no.info("Not found in VS 2015 location: "+n),Error("Microsoft Visual Studio not found");}async function tR(e,t,r,n,i,o,s){void 0!==t&&(await(0,nl.pathExists)(t))&&((0,ry.info)(`Adding ${t} to PATH`),await k("VCTargetsPath",t)),nB(function(e){switch(e){case"x32":case"32":case"ia32":return"x86";case"64":return"x64";default:return e;}}(r),i,n,o,s,e);}async function tO(e,t,r,n,i,o,s,a=aL){(0,no.startGroup)(`Installing ${e} ${t}`);let l=!1;try{l=await function(e,t){let r;let{milliseconds:n,fallback:i,message:o,customTimers:s={setTimeout:setTimeout,clearTimeout:clearTimeout}}=t,a=new Promise((a,l)=>{if("number"!=typeof n||1!==Math.sign(n))throw TypeError(`Expected \`milliseconds\` to be a positive number, got \`${n}\``);if(t.signal){let{signal:e}=t;e.aborted&&l(aN(e)),e.addEventListener("abort",()=>{l(aN(e));});}if(n===Number.POSITIVE_INFINITY){e.then(a,l);return;}let u=new a$();r=s.setTimeout.call(void 0,()=>{if(i){try{a(i());}catch(e){l(e);}return;}"function"==typeof e.cancel&&e.cancel(),!1===o?a():o instanceof Error?l(o):(u.message=null!=o?o:`Promise timed out after ${n} milliseconds`,l(u));},n),(async()=>{try{a(await e);}catch(e){l(e);}})();}).finally(()=>{a.clear();});return a.clear=()=>{s.clearTimeout.call(void 0,r),r=void 0;},a;}(tT(e,t,r,n,l,i,o),{milliseconds:a,message:`Timeout while installing ${e} ${t}. You can increase the timeout from options`});}catch(t){(0,ry.error)(t),s.push(`${e} failed to install`);}return(0,no.endGroup)(),l;}async function tT(e,t,r,n,i,o,s){let a;if("vcvarsall"===e)await tR(e0(e,t,r),void 0,n,void 0,void 0,!1,!1);else{let s=aW[e];i=["llvm","clangformat","clangtidy"].includes(e);let l=(0,np.join)(o,i?"llvm":e);a=await s(e0(e,t,r),l,n);}return s.push(tJ(e,a)),i;}async function tA(e,t=0){let r="/usr/lib/llvm-"+e;await B([{name:"curl"}]),await x("curl",["-LJO","https://apt.llvm.org/llvm.sh"],{cwd:"/tmp"});let n=await tC("/tmp/llvm.sh","/tmp/llvm-setup-cpp.sh",e,t);return await B(n),await aU("/tmp/llvm-setup-cpp.sh","755"),await R("bash",["/tmp/llvm-setup-cpp.sh",""+e,...(0===t?["all"]:[])],{stdio:"inherit",shell:!0,timeout:aL}),await U(`${r}/bin`),{installDir:""+r,binDir:`${r}/bin`,bin:`${r}/bin/clang++`};}async function tC(e,t,r,n){var i,o,s,a,l;let u=await aD(e,"utf-8");return o=n,s=u=(i=u,u=process.env.NODE_DEBUG?i:i.replace(/set -eux/g,"set -eu")).replace(/add-apt-repository "\${REPO_NAME}"/g,'add-apt-repository -y "${REPO_NAME}"'),a=r,u=1===o?s.replace(/ -y \$PKG/g," -y clang-format-"+a):s,l=u=await t$(u),u=V()?l.replace(/apt-get/g,"nala"):l,await ak(t,u),[{name:"lsb-release"},{name:"wget"},{name:"software-properties-common"},{name:"gnupg"}];}async function t$(e){let t=e.replace(/apt-get install -y/g,'apt-get install -o Dpkg::Options::="--force-overwrite" -y --fix-broken');return await Promise.all(["libc++-$LLVM_VERSION-dev","libc++abi-$LLVM_VERSION-dev","libunwind-$LLVM_VERSION-dev"].map(async e=>{let r=e.replace("$LLVM_VERSION","*");(await J(r))&&((0,rd.info)("Removing conflicting package "+r),t=t.replace(e,""));})),t;}function t_(e,t,r){let n=`${t}${e}${r}`;return`https://github.com/llvm/llvm-project/releases/download/llvmorg-${e}/${n}`;}function tP(e,t,r){let n=`${t}${e}${r}`;return`https://releases.llvm.org/${e}/${n}`;}async function tN(e){let t;if(aF.has(e))return null;let r="LLVM-",n=u(nO)(e,"3.7.0")?"-win32.exe":"-win64.exe",i=u(nO)(e,"9.0.1"),o=!1;return i&&(t=tP(e,r,n),(await nN(t))||(o=!0)),(o||!i)&&(t=t_(e,r,n)),t;}function tL(e,t){switch(e){case"darwin":return function(e){if(aM.has(e))return null;let t="9.0.0"===e?"-darwin-apple":"-apple-darwin",r="clang+llvm-",n=`-x86_64${t}.tar.xz`;return u(nO)(e,"9.0.1")?tP(e,r,n):t_(e,r,n);}(t);case"linux":return function(e){let t,r,n=e,i=aG.get(n);if(void 0!==i&&(n=i),n.includes("ubuntu")){let e=n.replace(/-ubuntu-.*/,"");if(!aj.has(e))throw Error("Unsupported Ubuntu version: "+e);t=n.replace(e,""),n=ek(aj,e)[0];}else""!==n&&n in aB?t=aB[n]:(t=aB[aH],(0,ry.warning)(`Falling back to LLVM version ${aH} ${t} for the Ubuntu.`));let o="clang+llvm-";return(r="5.0.0"===n?`-linux-x86_64${t}.tar.xz`:t.includes("-rhel86")?`-x86_64-unknown-linux-gnu${t}.tar.xz`:`-x86_64-linux-gnu${t}.tar.xz`,u(nO)(n,"9.0.1"))?tP(n,o,r):t_(n,o,r);}(t);case"win32":return tN(t);default:return null;}}async function tD(e,t,r){let[n,i]=await eU(aj,t,e,tL);return(0,ry.info)("specific llvm version: "+n),{url:i,extractedFolderName:"",binRelativeDir:"bin",binFileName:(0,np.addExeExt)("clang"),extractFunction:"win32"===t?eO:(e,t)=>eA(e,t,["--strip-components=1"])};}async function tk(e,t,r){var n;let i=await aq(e,t,r);return await tG(null!==(n=i.installDir)&&void 0!==n?n:t),i;}async function tU(e,t,r){let[n,i,o]=await Promise.all([tj(e,t,r),aX(r),tB()]);return n;}async function tj(e,t,r,n=nH.All){let i=parseInt(function(e){if(null===u(nD)(e))try{let t=u(nT)(e);if(null!==t)return(0,ry.info)(`Coerced version '${e}' to '${t}'`),t.version;}catch(e){}return e;}(e).split(".")[0],10);try{if(el())return await tA(i,n);}catch(e){(0,ry.info)("Failed to install llvm via system package manager "+e);}let o=await eb("llvm",e,tD,t,r);return await aV(i),o;}async function tF(e){el()&&(e<=10?await B([{name:"libtinfo5"}]):await B([{name:"libtinfo-dev"}]));}async function tM(e){"linux"===process.platform&&(await tp(e0("gcc",void 0,await ax()),"",e,40));}async function tG(e){var t,r;let n=null!==(t=process.env.LD_LIBRARY_PATH)&&void 0!==t?t:"",i=null!==(r=process.env.DYLD_LIBRARY_PATH)&&void 0!==r?r:"",o=[k("LLVM_PATH",e),k("LD_LIBRARY_PATH",`${e}/lib${nz.delimiter}${n}`),k("DYLD_LIBRARY_PATH",`${e}/lib${nz.delimiter}${i}`),k("LDFLAGS",`-L"${e}/lib"`),k("CPPFLAGS",`-I"${e}/include"`),k("CC",(0,np.addExeExt)(`${e}/bin/clang`)),k("CXX",(0,np.addExeExt)(`${e}/bin/clang++`)),k("LIBRARY_PATH",`${e}/lib`),tu()];el()&&o.push(Q("cc",`${e}/bin/clang`,60),Q("cxx",`${e}/bin/clang++`,60),Q("clang",`${e}/bin/clang`),Q("clang++",`${e}/bin/clang++`),Q("lld",`${e}/bin/lld`),Q("ld.lld",`${e}/bin/ld.lld`),Q("llvm-ar",`${e}/bin/llvm-ar`)),await Promise.all(o);}async function tB(){if(rE.GITHUB_ACTIONS){let e=(0,np.join)(nq,"llvm_matcher.json");if(!(await(0,nl.pathExists)(e)))return(0,ry.warning)("the llvm_matcher.json file does not exist in the same folder as setup-cpp.js");(0,ry.info)("::add-matcher::"+e);}}async function tH(e,t,r){switch(process.platform){case"win32":return en("make",e);case"darwin":return await et("make",e),await U("/usr/local/opt/make/libexec/gnubin"),{binDir:"/usr/local/opt/make/libexec/gnubin"};case"linux":if(ei())return ec("make",e);if(eo())return es([{name:"make",version:e}]);if(el())return B([{name:"make",version:e}]);throw Error("Unsupported linux distribution");default:throw Error("Unsupported platform");}}async function tq(e,t,r,n,i,o){let s,a;if("win32"!==process.platform)return;let l=nM(e);(0,ry.info)(`Checking if MSVC ${l} is already installed`);let u=!1;try{let e=nG(l);u=!0,(0,ry.info)("Found the pre-installed version of MSVC at "+e);}catch{}if(!u)try{"14.0"===l?(s="14.0",await en("visualcpp-build-tools","14.0.25420.1",["--ignore-dependencies"]),a="C:/Program Files (x86)/MSBuild/Microsoft.Cpp/v4.0/v140"):"15.0"===l?(s="14.16",await en("visualstudio2017buildtools","15.9.41.0",[]),a="C:/Program Files (x86)/Microsoft Visual Studio/2017/BuildTools/VC/Tools/MSVC/14.16"):"16.0"===l?(s="14.29",await en("visualstudio2019buildtools","16.11.7.0",[]),a="C:/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.29.30133"):"17.0"===l?(s=void 0,await en("visualstudio2022buildtools","117.0.5.0",[]),a=void 0):(0,ry.error)(`The given MSVC versions ${e} is not supported yet.`);}catch(e){(0,ry.error)(e);}await tR(l,a,r,s,n,i,o),rE.GITHUB_ACTIONS&&(await tV());}async function tV(){let e=(0,np.join)(nV,"msvc_matcher.json");if(!(await(0,nl.pathExists)(e)))return(0,ry.warning)("the msvc_matcher.json file does not exist in the same folder as setup-cpp.js");(0,ry.info)("::add-matcher::"+e);}async function tX(e,t,r){if(!el())return;if("string"==typeof i)return{binDir:i};let n=u(rS).sync("nala",{nothrow:!0});if(null!==n)return{binDir:i=(0,np.dirname)(n)};let o=await Y("volian-archive-scar-unstable.gpg","https://deb.volian.org/volian/scar.key");S("/bin/bash",["-c",`echo "deb [signed-by=${o}] http://deb.volian.org/volian/ scar main" | tee /etc/apt/sources.list.d/volian-archive-scar-unstable.list`]);try{"legacy"!==e?await B([{name:"nala"}],!0):await B([{name:"nala-legacy"}],!0);}catch(e){await B([{name:"nala-legacy"}],!0);}return{binDir:i="/usr/bin"};}async function tz(e,t,r){if("win32"===process.platform)return await en("opencppcoverage",e),{binDir:await tW()};}async function tW(){let e="C:/Program Files/OpenCppCoverage";return await U(e),e;}async function tK(e,t,r){switch(process.platform){case"win32":{await en("powershell-core",e);let t="C:/Program Files/PowerShell/7";return await U(t),{binDir:t};}case"darwin":return et("powershell",e,["--cask"]);case"linux":if(ei())return ec("powershell-bin",e,"yay");if(eo())return es([{name:"curl"}]),S("/bin/bash",["-c","curl https://packages.microsoft.com/config/rhel/8/prod.repo | sudo tee /etc/yum.repos.d/microsoft.repo"]),es([{name:"powershell",version:e}]);if(el()){await B([{name:"curl"}]);let t=await ax(),r=`${t[0]}.0${t[1]}`;return S("curl",["-LJO",`https://packages.microsoft.com/config/ubuntu/${r}/packages-microsoft-prod.deb`]),S("dpkg",["-i","packages-microsoft-prod.deb"]),B([{name:"powershell",version:e}],!0);}throw Error("Unsupported linux distribution");default:throw Error("Unsupported platform");}}function tY(e,t,r){var n;let i="win32"===(n=t)?"windows":n,o=function(e){switch(e){case"x64":return"amd64";case"ia32":case"x86":case"i386":case"x32":return"386";default:return e;}}(r),s="win32"===t;return{binRelativeDir:"",binFileName:(0,np.addExeExt)("task"),extractedFolderName:"",extractFunction:s?eT:eA,url:`https://github.com/go-task/task/releases/download/v${e}/task_${i}_${o}.${s?"zip":"tar.gz"}`};}async function tQ(e,t,r){return az&&null!==u(rS).sync("vcpkg",{nothrow:!0})?{binDir:(0,np.dirname)(u(rS).sync("vcpkg"))}:("linux"===process.platform&&(ei()?await Promise.all([ec("curl"),ec("zip"),ec("unzip"),ec("tar"),ec("git"),ec("pkg-config")]):eo()?await es([{name:"curl"},{name:"zip"},{name:"unzip"},{name:"tar"},{name:"git"},{name:"pkg-config"}]):el()&&(await B([{name:"curl"},{name:"zip"},{name:"unzip"},{name:"tar"},{name:"git"},{name:"pkg-config"}]))),(await(0,nl.pathExists)((0,np.join)(t,(0,np.addShExt)("bootstrap-vcpkg",".bat"))))?(0,ry.notice)(`Vcpkg folder already exists at ${t}. This might mean that ~/vcpkg is restored from the cache.`):b("git",["clone","https://github.com/microsoft/vcpkg"],{cwd:(0,np.dirname)(t),stdio:"inherit"}),b((0,np.addShExt)((0,np.addShRelativePrefix)("bootstrap-vcpkg"),".bat"),{cwd:t,shell:!0,stdio:"inherit"}),await A(t),await U(t),az=!0,{binDir:t});}function tJ(e,t){let r=`\u{2705} ${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;}async function tZ(e,t,r,n,i,o,s){try{let{compiler:a,version:l}=function(e){let t=e.split("-"),r=t[0];if(1 in t){let e=t[1];return null!==u(nD)(e)||(0,ry.info)(`Invalid semver version ${e} used for the compiler.`),{compiler:r,version:e};}return{compiler:r,version:void 0};}(e);switch((0,no.startGroup)(`Installing ${a} ${null!=l?l:""}`),a){case"llvm":case"clang":case"clang++":{let e=await tk(e0("llvm",l,t),(0,nz.join)(r,"llvm"),n);await k("GCOV","llvm-cov gcov"),i.push(tJ("llvm",e));break;}case"gcc":case"mingw":case"cygwin":case"msys":{let e="mingw"===a?e0("mingw",l,t):e0("gcc",l,t),s="mingw"===a?await td(e,(0,nz.join)(r,"gcc"),n):await tp(e,(0,nz.join)(r,"gcc"),n);o&&(await k("CPPFLAGS","")),await function(e){let t=u(nD)(e),r=null!==t?u(nU)(t):e;return k("GCOV",""!==r?"gcov-"+r:"gcov");}(e),i.push(tJ("gcc",s));break;}case"cl":case"msvc":case"msbuild":case"vs":case"visualstudio":case"visualcpp":case"visualc++":{let e=await tq(e0("msvc",l,t),(0,nz.join)(r,"msvc"),n);o&&(await k("CPPFLAGS","")),i.push(tJ("msvc",e));break;}case"appleclang":case"applellvm":(0,no.notice)("Assuming apple-clang is already installed"),await Promise.all([k("CC","clang"),k("CXX","clang++")]),i.push(tJ("apple-clang",void 0));break;default:s.push("Unsupported compiler "+a);}}catch(t){(0,ry.error)(t),s.push("Failed to install the "+e);}(0,no.endGroup)();}async function t0(e){var t,r,n;let i,o,s=Promise.resolve();rE.GITHUB_ACTIONS||(s=P(),process.env.ACTIONS_ALLOW_UNSECURE_COMMANDS="true");let a=function(e,t){t=t||{};var r,n,i,o,s,a={_:[]},l=0,u=0,c=0,p=(e=e||[]).length;let d=void 0!==t.alias,f=void 0!==t.unknown,h=void 0!==t.default;if(t.alias=t.alias||{},t.string=N(t.string),t.boolean=N(t.boolean),d)for(r in t.alias)for(l=0,n=t.alias[r]=N(t.alias[r]);l0;)for(u=(n=t.alias[t.boolean[l]]||[]).length;u-->0;)t.boolean.push(n[u]);for(l=t.string.length;l-->0;)for(u=(n=t.alias[t.string[l]]||[]).length;u-->0;)t.string.push(n[u]);if(h){for(r in t.default)if(o=typeof t.default[r],n=t.alias[r]=t.alias[r]||[],void 0!==t[o])for(t[o].push(r),l=0;ll;l++){if("--"===(i=e[l])){a._=a._.concat(e.slice(++l));break;}for(u=0;u0;)a[n.shift()]=a[r];return a;}(e,{string:[...aY,"timeout"],default:Object.fromEntries(aY.map(e=>[e,function(e){let t=(0,no.getInput)(e.toLowerCase());if("false"!==t&&""!==t)return t;}(e)])),alias:{h:"help"},boolean:"help"});a.help&&((0,ry.info)(` setup-cpp [options] setup-cpp --compiler llvm --cmake true --ninja true --ccache true --vcpkg true @@ -25,16 +25,15 @@ Install all the tools required for building and testing C++/C projects. --$tool_name pass "true" or pass the you would like to install for this tool. e.g. --conan true or --conan "1.42.1" All the available tools: -`),console.table({"compiler and analyzer":{tools:"--llvm, --gcc, --msvc, --vcvarsall, --cppcheck, --clangtidy, --clangformat"},"build system":{tools:"--cmake, --ninja, --meson, --make, --task, --bazel"},"package manager":{tools:"--vcpkg, --conan, --choco, --brew, --nala"},cache:{tools:"--cppcache, --sccache"},documentation:{tools:"--doxygen, --graphviz"},coverage:{tools:"--gcovr, --opencppcoverage, --kcov"},other:{tools:"--python, --powershell, --sevenzip"}},["tools"]));let l=null!==(t=a.architecture)&&void 0!==t?t:process.arch,u=null!==(r=process.env.SETUP_CPP_DIR)&&void 0!==r?r:w(""),p=[],d=[],f=ry.create({autoloadLocales:!0});ry.addLocale(c(rw)),rv.addLocale(c(rE));let h=await aW();if(!function(e,t){let r=t.filter(t=>void 0!==e[t]),n=r.filter(t=>!eZ(e[t])),i=n.length>=1?e[n[0]]:"true";return!n.some(t=>e[t]!==i)&&(r.forEach(t=>{e[t]=i;}),!0);}(a,["llvm","clangtidy","clangformat"]))return(0,rg.error)("The same version must be used for llvm, clangformat and clangtidy"),1;er()&&"string"==typeof a.cppcheck&&"string"==typeof a.gcovr&&((0,rg.info)("installing python-pygments to avoid conflicts with cppcheck and gcovr on Arch linux"),await el("python-pygments"));let m=!1,g=!1;for(let e of ld){if(rm.isCI&&0!==d.length){g=!0;break;}let t=a[e];void 0!==t&&(i=Date.now(),m=await tI(e,t,h,l,u,p,d,6e4*parseFloat(null!==(n=a.timeout)&&void 0!==n?n:"20")),o=Date.now(),(0,rg.info)("took "+(f.format(i,o)||"0 seconds")));}if(!g){let e=a.compiler;if(void 0!==e){let t=Date.now();await tQ(e,h,u,l,p,m,d);let r=Date.now();(0,rg.info)("took "+(f.format(t,r)||"0 seconds"));}}if(await U(),0===p.length&&0===d.length)return(0,rg.warning)("setup-cpp was called without any arguments. Nothing to do."),0;if(p.forEach(e=>(0,rg.success)(e)),d.forEach(e=>(0,rg.error)(e)),(0,rg.info)("setup-cpp finished"),!rm.GITHUB_ACTIONS)switch(process.platform){case"win32":(0,rg.warning)("Run `RefreshEnv.cmd` or restart your shell to update the environment.");break;case"linux":case"darwin":(0,rg.warning)("Run `source ~/.cpprc` or restart your shell to update the environment.");}return await s,0===d.length?0:1;}var tZ,t0,t1,t2,t3,t4,t6,t8,t5,t7,t9,re,rt,rr,rn,ri,ro,rs,ra,rl,rc,ru,rp,rd,rf,rh,rm,rg,rv,rE,ry,rw,rx,rb,rS,rI,rO,rR,rT,rC,rA,r$,r_,rP,rN,rL,rD,rk,rU,rj,rF,rM,rG,rB,rH,rq,rV,rX,rz,rW,rK,rY,rQ,rJ,rZ,r0,r1,r2,r3,r4,r6,r8,r5,r7,r9,ne,nt,nr,nn,ni,no,ns,na,nl,nc,nu,np,nd,nf,nh,nm,ng,nv,nE,ny,nw,nx,nb,nS,nI,nO,nR,nT,nC,nA,n$,n_,nP,nN,nL,nD,nk,nU,nj,nF,nM,nG,nB,nH,nq,nV,nX,nz,nW,nK,nY,nQ,nJ,nZ,n0,n1,n2,n3,n4,n6,n8,n5,n7,n9,ie,it,ir,ii,io,is,ia,il,ic,iu=require("os"),ip=require("path"),id=require("fs"),ih=require("crypto"),im=require("http"),ig=require("https");require("net"),t1=require("tls"),t2=require("events"),t3=require("assert"),t4=require("util"),t6=require("fs"),t8=require("child_process"),t5=require("string_decoder"),t7=require("timers"),t9=require("buffer"),re=require("stream"),rt=require("process"),rr=require("buffer"),rn=require("path"),ri=require("child_process"),ro=require("process"),rs=require("url"),ra=require("os"),rl=require("util"),rc=require("url"),ru=require("console"),rp="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{},rd={},rf={},null==(rh=rp.parcelRequire810d)&&((rh=function(e){if(e in rd)return rd[e].exports;if(e in rf){var t=rf[e];delete rf[e];var r={id:e,exports:{}};return rd[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=function(e,t){rf[e]=t;},rp.parcelRequire810d=rh),rh.register("cLprm",function(e,t){var r;function n(e){return"string"==typeof e?!!i[e]:"env"in e?i[e.env]&&i[e.env].includes(e.includes):"any"in e?e.any.some(function(e){return!!i[e];}):Object.keys(e).every(function(t){return i[t]===e[t];});}r=rh("iQYeD");let i=process.env;Object.defineProperty(e.exports,"_vendors",{value:r.map(function(e){return e.constant;})}),e.exports.name=null,e.exports.isPR=null,r.forEach(function(t){let r=Array.isArray(t.env)?t.env:[t.env],o=r.every(function(e){return n(e);});if(e.exports[t.constant]=o,o)switch(e.exports.name=t.name,typeof t.pr){case"string":e.exports.isPR=!!i[t.pr];break;case"object":"env"in t.pr?e.exports.isPR=t.pr.env in i&&i[t.pr.env]!==t.pr.ne:"any"in t.pr?e.exports.isPR=t.pr.any.some(function(e){return!!i[e];}):e.exports.isPR=n(t.pr);break;default:e.exports.isPR=null;}}),e.exports.isCI=!!("false"!==i.CI&&(i.BUILD_ID||i.BUILD_NUMBER||i.CI||i.CI_APP_ID||i.CI_BUILD_ID||i.CI_BUILD_NUMBER||i.CI_NAME||i.CONTINUOUS_INTEGRATION||i.RUN_ID||e.exports.name));}),rh.register("iQYeD",function(e,t){e.exports=JSON.parse('[{"name":"Appcircle","constant":"APPCIRCLE","env":"AC_APPCIRCLE"},{"name":"AppVeyor","constant":"APPVEYOR","env":"APPVEYOR","pr":"APPVEYOR_PULL_REQUEST_NUMBER"},{"name":"AWS CodeBuild","constant":"CODEBUILD","env":"CODEBUILD_BUILD_ARN"},{"name":"Azure Pipelines","constant":"AZURE_PIPELINES","env":"SYSTEM_TEAMFOUNDATIONCOLLECTIONURI","pr":"SYSTEM_PULLREQUEST_PULLREQUESTID"},{"name":"Bamboo","constant":"BAMBOO","env":"bamboo_planKey"},{"name":"Bitbucket Pipelines","constant":"BITBUCKET","env":"BITBUCKET_COMMIT","pr":"BITBUCKET_PR_ID"},{"name":"Bitrise","constant":"BITRISE","env":"BITRISE_IO","pr":"BITRISE_PULL_REQUEST"},{"name":"Buddy","constant":"BUDDY","env":"BUDDY_WORKSPACE_ID","pr":"BUDDY_EXECUTION_PULL_REQUEST_ID"},{"name":"Buildkite","constant":"BUILDKITE","env":"BUILDKITE","pr":{"env":"BUILDKITE_PULL_REQUEST","ne":"false"}},{"name":"CircleCI","constant":"CIRCLE","env":"CIRCLECI","pr":"CIRCLE_PULL_REQUEST"},{"name":"Cirrus CI","constant":"CIRRUS","env":"CIRRUS_CI","pr":"CIRRUS_PR"},{"name":"Codefresh","constant":"CODEFRESH","env":"CF_BUILD_ID","pr":{"any":["CF_PULL_REQUEST_NUMBER","CF_PULL_REQUEST_ID"]}},{"name":"Codemagic","constant":"CODEMAGIC","env":"CM_BUILD_ID","pr":"CM_PULL_REQUEST"},{"name":"Codeship","constant":"CODESHIP","env":{"CI_NAME":"codeship"}},{"name":"Drone","constant":"DRONE","env":"DRONE","pr":{"DRONE_BUILD_EVENT":"pull_request"}},{"name":"dsari","constant":"DSARI","env":"DSARI"},{"name":"Expo Application Services","constant":"EAS","env":"EAS_BUILD"},{"name":"Gerrit","constant":"GERRIT","env":"GERRIT_PROJECT"},{"name":"GitHub Actions","constant":"GITHUB_ACTIONS","env":"GITHUB_ACTIONS","pr":{"GITHUB_EVENT_NAME":"pull_request"}},{"name":"GitLab CI","constant":"GITLAB","env":"GITLAB_CI","pr":"CI_MERGE_REQUEST_ID"},{"name":"GoCD","constant":"GOCD","env":"GO_PIPELINE_LABEL"},{"name":"Google Cloud Build","constant":"GOOGLE_CLOUD_BUILD","env":"BUILDER_OUTPUT"},{"name":"Harness CI","constant":"HARNESS","env":"HARNESS_BUILD_ID"},{"name":"Heroku","constant":"HEROKU","env":{"env":"NODE","includes":"/app/.heroku/node/bin/node"}},{"name":"Hudson","constant":"HUDSON","env":"HUDSON_URL"},{"name":"Jenkins","constant":"JENKINS","env":["JENKINS_URL","BUILD_ID"],"pr":{"any":["ghprbPullId","CHANGE_ID"]}},{"name":"LayerCI","constant":"LAYERCI","env":"LAYERCI","pr":"LAYERCI_PULL_REQUEST"},{"name":"Magnum CI","constant":"MAGNUM","env":"MAGNUM"},{"name":"Netlify CI","constant":"NETLIFY","env":"NETLIFY","pr":{"env":"PULL_REQUEST","ne":"false"}},{"name":"Nevercode","constant":"NEVERCODE","env":"NEVERCODE","pr":{"env":"NEVERCODE_PULL_REQUEST","ne":"false"}},{"name":"ReleaseHub","constant":"RELEASEHUB","env":"RELEASE_BUILD_ID"},{"name":"Render","constant":"RENDER","env":"RENDER","pr":{"IS_PULL_REQUEST":"true"}},{"name":"Sail CI","constant":"SAIL","env":"SAILCI","pr":"SAIL_PULL_REQUEST_NUMBER"},{"name":"Screwdriver","constant":"SCREWDRIVER","env":"SCREWDRIVER","pr":{"env":"SD_PULL_REQUEST","ne":"false"}},{"name":"Semaphore","constant":"SEMAPHORE","env":"SEMAPHORE","pr":"PULL_REQUEST_NUMBER"},{"name":"Shippable","constant":"SHIPPABLE","env":"SHIPPABLE","pr":{"IS_PULL_REQUEST":"true"}},{"name":"Solano CI","constant":"SOLANO","env":"TDDIUM","pr":"TDDIUM_PR_ID"},{"name":"Sourcehut","constant":"SOURCEHUT","env":{"CI_NAME":"sourcehut"}},{"name":"Strider CD","constant":"STRIDER","env":"STRIDER"},{"name":"TaskCluster","constant":"TASKCLUSTER","env":["TASK_ID","RUN_ID"]},{"name":"TeamCity","constant":"TEAMCITY","env":"TEAMCITY_VERSION"},{"name":"Travis CI","constant":"TRAVIS","env":"TRAVIS","pr":{"env":"TRAVIS_PULL_REQUEST","ne":"false"}},{"name":"Vercel","constant":"VERCEL","env":{"any":["NOW_BUILDER","VERCEL"]}},{"name":"Visual Studio App Center","constant":"APPCENTER","env":"APPCENTER_BUILD_ID"},{"name":"Woodpecker","constant":"WOODPECKER","env":{"CI":"woodpecker"},"pr":{"CI_BUILD_EVENT":"pull_request"}},{"name":"Xcode Cloud","constant":"XCODE_CLOUD","env":"CI_XCODE_PROJECT","pr":"CI_PULL_REQUEST_NUMBER"},{"name":"Xcode Server","constant":"XCODE_SERVER","env":"XCS"}]');}),rh.register("hHq4F",function(e,t){var r,n;function i(e){return n.GITHUB_ACTIONS?r.error(e):console.log(`\x1b[31m${e}\x1b[0m`);}function o(e){return console.log(`\x1b[32m${e}\x1b[0m`);}function s(e){return n.GITHUB_ACTIONS?r.warning(e):console.log(`\x1b[33m${e}\x1b[0m`);}function a(e){return n.GITHUB_ACTIONS?r.notice(e):console.log(`\x1b[94m${e}\x1b[0m`);}function c(e){return n.GITHUB_ACTIONS?r.info(e):console.log(e);}l(e.exports,"error",()=>i),l(e.exports,"success",()=>o),l(e.exports,"warning",()=>s),l(e.exports,"notice",()=>a),l(e.exports,"info",()=>c),r=rh("2heqc"),n=rh("cLprm");}),rh.register("2heqc",function(e,t){var r,n,i,o,s,a,l,c,u,p,d,f;function h(e,t){let 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 m(e,t={}){s.issueCommand("error",l.toCommandProperties(t),e instanceof Error?e.toString():e);}function g(e){s.issue("group",e);}function v(){s.issue("endgroup");}r=e.exports&&e.exports.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r];}});}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r];}),n=e.exports&&e.exports.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),i=e.exports&&e.exports.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&r(t,e,i);return n(t,e),t;},o=e.exports&&e.exports.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e));}catch(e){o(e);}}function a(e){try{l(n.throw(e));}catch(e){o(e);}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t);})).then(s,a);}l((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,s=rh("lxvYw"),a=rh("izMKk"),l=rh("3GPt4");let E=i(iu),y=i(ip);c=rh("cxUw3"),(f=u=e.exports.ExitCode||(e.exports.ExitCode={}))[f.Success=0]="Success",f[f.Failure=1]="Failure",e.exports.exportVariable=function(e,t){let r=l.toCommandValue(t);process.env[e]=r;let n=process.env.GITHUB_ENV||"";if(n)return a.issueFileCommand("ENV",a.prepareKeyValueMessage(e,t));s.issueCommand("set-env",{name:e},r);},e.exports.setSecret=function(e){s.issueCommand("add-mask",{},e);},e.exports.addPath=function(e){let t=process.env.GITHUB_PATH||"";t?a.issueFileCommand("PATH",e):s.issueCommand("add-path",{},e),process.env.PATH=`${e}${y.delimiter}${process.env.PATH}`;},e.exports.getInput=h,e.exports.getMultilineInput=function(e,t){let r=h(e,t).split("\n").filter(e=>""!==e);return t&&!1===t.trimWhitespace?r:r.map(e=>e.trim());},e.exports.getBooleanInput=function(e,t){let r=h(e,t);if(["true","True","TRUE"].includes(r))return!0;if(["false","False","FALSE"].includes(r))return!1;throw TypeError(`Input does not meet YAML 1.2 "Core Schema" specification: ${e} -Support boolean input list: \`true | True | TRUE | false | False | FALSE\``);},e.exports.setOutput=function(e,t){let r=process.env.GITHUB_OUTPUT||"";if(r)return a.issueFileCommand("OUTPUT",a.prepareKeyValueMessage(e,t));process.stdout.write(E.EOL),s.issueCommand("set-output",{name:e},l.toCommandValue(t));},e.exports.setCommandEcho=function(e){s.issue("echo",e?"on":"off");},e.exports.setFailed=function(e){process.exitCode=u.Failure,m(e);},e.exports.isDebug=function(){return"1"===process.env.RUNNER_DEBUG;},e.exports.debug=function(e){s.issueCommand("debug",{},e);},e.exports.error=m,e.exports.warning=function(e,t={}){s.issueCommand("warning",l.toCommandProperties(t),e instanceof Error?e.toString():e);},e.exports.notice=function(e,t={}){s.issueCommand("notice",l.toCommandProperties(t),e instanceof Error?e.toString():e);},e.exports.info=function(e){process.stdout.write(e+E.EOL);},e.exports.startGroup=g,e.exports.endGroup=v,e.exports.group=function(e,t){return o(this,void 0,void 0,function*(){let r;g(e);try{r=yield t();}finally{v();}return r;});},e.exports.saveState=function(e,t){let r=process.env.GITHUB_STATE||"";if(r)return a.issueFileCommand("STATE",a.prepareKeyValueMessage(e,t));s.issueCommand("save-state",{name:e},l.toCommandValue(t));},e.exports.getState=function(e){return process.env["STATE_"+e]||"";},e.exports.getIDToken=function(e){return o(this,void 0,void 0,function*(){return yield c.OidcClient.getIDToken(e);});},p=rh("a9gnA"),Object.defineProperty(e.exports,"summary",{enumerable:!0,get:function(){return p.summary;}}),p=rh("a9gnA"),Object.defineProperty(e.exports,"markdownSummary",{enumerable:!0,get:function(){return p.markdownSummary;}}),d=rh("3zXsD"),Object.defineProperty(e.exports,"toPosixPath",{enumerable:!0,get:function(){return d.toPosixPath;}}),Object.defineProperty(e.exports,"toWin32Path",{enumerable:!0,get:function(){return d.toWin32Path;}}),Object.defineProperty(e.exports,"toPlatformPath",{enumerable:!0,get:function(){return d.toPlatformPath;}});}),rh.register("lxvYw",function(e,t){var r,n,i,o;function s(e,t,r){let n=new l(e,t,r);process.stdout.write(n.toString()+a.EOL);}r=e.exports&&e.exports.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r];}});}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r];}),n=e.exports&&e.exports.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),i=e.exports&&e.exports.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&r(t,e,i);return n(t,e),t;},Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.issue=e.exports.issueCommand=void 0;let a=i(iu);o=rh("3GPt4"),e.exports.issueCommand=s,e.exports.issue=function(e,t=""){s(e,{},t);};class l{constructor(e,t,r){e||(e="missing.command"),this.command=e,this.properties=t,this.message=r;}toString(){var e;let t="::"+this.command;if(this.properties&&Object.keys(this.properties).length>0){t+=" ";let e=!0;for(let r in this.properties)if(this.properties.hasOwnProperty(r)){let n=this.properties[r];n&&(e?e=!1:t+=",",t+=`${r}=${o.toCommandValue(n).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}`);}}return t+("::"+(e=this.message,o.toCommandValue(e).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")));}}}),rh.register("3GPt4",function(e,t){Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.toCommandProperties=e.exports.toCommandValue=void 0,e.exports.toCommandValue=function(e){return null==e?"":"string"==typeof e||e instanceof String?e:JSON.stringify(e);},e.exports.toCommandProperties=function(e){return Object.keys(e).length?{title:e.title,file:e.file,line:e.startLine,endLine:e.endLine,col:e.startColumn,endColumn:e.endColumn}:{};};}),rh.register("izMKk",function(e,t){var r,n,i,o,s;r=e.exports&&e.exports.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r];}});}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r];}),n=e.exports&&e.exports.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),i=e.exports&&e.exports.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&r(t,e,i);return n(t,e),t;},Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.prepareKeyValueMessage=e.exports.issueFileCommand=void 0;let a=i(id),l=i(iu);o=rh("21Qsr"),s=rh("3GPt4"),e.exports.issueFileCommand=function(e,t){let r=process.env["GITHUB_"+e];if(!r)throw Error("Unable to find environment variable for file command "+e);if(!a.existsSync(r))throw Error("Missing file at path: "+r);a.appendFileSync(r,`${s.toCommandValue(t)}${l.EOL}`,{encoding:"utf8"});},e.exports.prepareKeyValueMessage=function(e,t){let r="ghadelimiter_"+o.default(),n=s.toCommandValue(t);if(e.includes(r))throw Error(`Unexpected input: name should not contain the delimiter "${r}"`);if(n.includes(r))throw Error(`Unexpected input: value should not contain the delimiter "${r}"`);return`${e}<<${r}${l.EOL}${n}${l.EOL}${r}`;};}),rh.register("21Qsr",function(e,t){var r,n,i;l(e.exports,"default",()=>i),r=rh("lr0KB"),n=rh("671Sw"),i=function(e,t,i){e=e||{};let o=e.random||(e.rng||(0,r.default))();if(o[6]=15&o[6]|64,o[8]=63&o[8]|128,t){i=i||0;for(let e=0;e<16;++e)t[i+e]=o[e];return t;}return(0,n.default)(o);};}),rh.register("lr0KB",function(e,t){function r(){return i>n.length-16&&(c(ih).randomFillSync(n),i=0),n.slice(i,i+=16);}l(e.exports,"default",()=>r);let n=new Uint8Array(256),i=n.length;}),rh.register("671Sw",function(e,t){var r,n;l(e.exports,"default",()=>n),r=rh("bfNI0");let i=[];for(let e=0;e<256;++e)i.push((e+256).toString(16).substr(1));n=function(e,t=0){let n=(i[e[t+0]]+i[e[t+1]]+i[e[t+2]]+i[e[t+3]]+"-"+i[e[t+4]]+i[e[t+5]]+"-"+i[e[t+6]]+i[e[t+7]]+"-"+i[e[t+8]]+i[e[t+9]]+"-"+i[e[t+10]]+i[e[t+11]]+i[e[t+12]]+i[e[t+13]]+i[e[t+14]]+i[e[t+15]]).toLowerCase();if(!(0,r.default)(n))throw TypeError("Stringified UUID is invalid");return n;};}),rh.register("bfNI0",function(e,t){var r,n;l(e.exports,"default",()=>n),r=rh("k4edj"),n=function(e){return"string"==typeof e&&(0,r.default).test(e);};}),rh.register("k4edj",function(e,t){l(e.exports,"default",()=>r);var r=/^(?:[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;}),rh.register("cxUw3",function(e,t){var r=e.exports&&e.exports.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e));}catch(e){o(e);}}function a(e){try{l(n.throw(e));}catch(e){o(e);}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t);})).then(s,a);}l((n=n.apply(e,t||[])).next());});};Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.OidcClient=void 0;var n=rh("aPbbM"),i=rh("5UVtg"),o=rh("2heqc");class s{static createHttpClient(e=!0,t=10){return new n.HttpClient("actions/oidc-client",[new i.BearerCredentialHandler(s.getRequestToken())],{allowRetries:e,maxRetries:t});}static getRequestToken(){let 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(){let 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*(){let r=s.createHttpClient(),n=yield r.getJson(e).catch(e=>{throw Error(`Failed to get ID Token. +`),console.table({"compiler and analyzer":{tools:"--llvm, --gcc, --msvc, --vcvarsall, --cppcheck, --clangtidy, --clangformat"},"build system":{tools:"--cmake, --ninja, --meson, --make, --task, --bazel"},"package manager":{tools:"--vcpkg, --conan, --choco, --brew, --nala"},cache:{tools:"--cppcache, --sccache"},documentation:{tools:"--doxygen, --graphviz"},coverage:{tools:"--gcovr, --opencppcoverage, --kcov"},other:{tools:"--python, --powershell, --sevenzip"}},["tools"]));let l=null!==(t=a.architecture)&&void 0!==t?t:process.arch,c=null!==(r=process.env.SETUP_CPP_DIR)&&void 0!==r?r:C(""),p=[],d=[],f=rb.create({autoloadLocales:!0});rb.addLocale(u(rI)),rw.addLocale(u(rx));let h=await ax();if(!function(e,t){let r=t.filter(t=>void 0!==e[t]),n=r.filter(t=>!e1(e[t])),i=n.length>=1?e[n[0]]:"true";return!n.some(t=>e[t]!==i)&&(r.forEach(t=>{e[t]=i;}),!0);}(a,["llvm","clangtidy","clangformat"]))return(0,ry.error)("The same version must be used for llvm, clangformat and clangtidy"),1;ei()&&"string"==typeof a.cppcheck&&"string"==typeof a.gcovr&&((0,ry.info)("installing python-pygments to avoid conflicts with cppcheck and gcovr on Arch linux"),await ec("python-pygments"));let m=!1,v=!1;for(let e of aK){if(rE.isCI&&0!==d.length){v=!0;break;}let t=a[e];void 0!==t&&(i=Date.now(),m=await tO(e,t,h,l,c,p,d,6e4*parseFloat(null!==(n=a.timeout)&&void 0!==n?n:"20")),o=Date.now(),(0,ry.info)("took "+(f.format(i,o)||"0 seconds")));}if(!v){let e=a.compiler;if(void 0!==e){let t=Date.now();await tZ(e,h,c,l,p,m,d);let r=Date.now();(0,ry.info)("took "+(f.format(t,r)||"0 seconds"));}}if(await G(),0===p.length&&0===d.length)return(0,ry.warning)("setup-cpp was called without any arguments. Nothing to do."),0;if(p.forEach(e=>(0,ry.success)(e)),d.forEach(e=>(0,ry.error)(e)),(0,ry.info)("setup-cpp finished"),!rE.GITHUB_ACTIONS)switch(process.platform){case"win32":(0,ry.warning)("Run `RefreshEnv.cmd` or restart your shell to update the environment.");break;case"linux":case"darwin":(0,ry.warning)("Run `source ~/.cpprc` or restart your shell to update the environment.");}return await s,0===d.length?0:1;}var t1,t2,t4,t3,t6,t8,t5,t9,t7,re,rt,rr,rn,ri,ro,rs,ra,rl,ru,rc,rp,rd,rf,rh,rm,rv,rg,rE,ry,rw,rx,rb,rI,rS,rR,rO,rT,rA,rC,r$,r_,rP,rN,rL,rD,rk,rU,rj,rF,rM,rG,rB,rH,rq,rV,rX,rz,rW,rK,rY,rQ,rJ,rZ,r0,r1,r2,r4,r3,r6,r8,r5,r9,r7,ne,nt,nr,nn,ni,no,ns,na,nl,nu,nc,np,nd,nf,nh,nm,nv,ng,nE,ny,nw,nx,nb,nI,nS,nR,nO,nT,nA,nC,n$,n_,nP,nN,nL,nD,nk,nU,nj,nF,nM,nG,nB,nH,nq,nV,nX=require("os"),nz=require("path"),nW=require("fs"),nK=require("crypto"),nY=require("http"),nQ=require("https");require("net"),t4=require("tls"),t3=require("events"),t6=require("assert"),t8=require("util"),t5=require("fs"),t9=require("child_process"),t7=require("string_decoder"),re=require("timers"),rt=require("os"),rr=require("buffer"),rn=require("path"),ri=require("child_process"),ro=require("process"),rs=require("url"),ra=require("buffer"),rl=require("stream"),ru=require("util"),rc=require("process"),rp=require("url"),rd=require("console"),rh={},rm={},null==(rv=(rf=globalThis).parcelRequire810d)&&((rv=function(e){if(e in rh)return rh[e].exports;if(e in rm){var t=rm[e];delete rm[e];var r={id:e,exports:{}};return rh[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=function(e,t){rm[e]=t;},rf.parcelRequire810d=rv),(rg=rv.register)("dAuy6",function(e,t){var r;function n(e){return"string"==typeof e?!!i[e]:"env"in e?i[e.env]&&i[e.env].includes(e.includes):"any"in e?e.any.some(function(e){return!!i[e];}):Object.keys(e).every(function(t){return i[t]===e[t];});}r=rv("5vZJI");let i=process.env;Object.defineProperty(e.exports,"_vendors",{value:r.map(function(e){return e.constant;})}),e.exports.name=null,e.exports.isPR=null,r.forEach(function(t){let r=(Array.isArray(t.env)?t.env:[t.env]).every(function(e){return n(e);});if(e.exports[t.constant]=r,r)switch(e.exports.name=t.name,typeof t.pr){case"string":e.exports.isPR=!!i[t.pr];break;case"object":"env"in t.pr?e.exports.isPR=t.pr.env in i&&i[t.pr.env]!==t.pr.ne:"any"in t.pr?e.exports.isPR=t.pr.any.some(function(e){return!!i[e];}):e.exports.isPR=n(t.pr);break;default:e.exports.isPR=null;}}),e.exports.isCI=!!("false"!==i.CI&&(i.BUILD_ID||i.BUILD_NUMBER||i.CI||i.CI_APP_ID||i.CI_BUILD_ID||i.CI_BUILD_NUMBER||i.CI_NAME||i.CONTINUOUS_INTEGRATION||i.RUN_ID||e.exports.name));}),rg("5vZJI",function(e,t){e.exports=JSON.parse('[{"name":"Agola CI","constant":"AGOLA","env":"AGOLA_GIT_REF","pr":"AGOLA_PULL_REQUEST_ID"},{"name":"Appcircle","constant":"APPCIRCLE","env":"AC_APPCIRCLE"},{"name":"AppVeyor","constant":"APPVEYOR","env":"APPVEYOR","pr":"APPVEYOR_PULL_REQUEST_NUMBER"},{"name":"AWS CodeBuild","constant":"CODEBUILD","env":"CODEBUILD_BUILD_ARN"},{"name":"Azure Pipelines","constant":"AZURE_PIPELINES","env":"TF_BUILD","pr":{"BUILD_REASON":"PullRequest"}},{"name":"Bamboo","constant":"BAMBOO","env":"bamboo_planKey"},{"name":"Bitbucket Pipelines","constant":"BITBUCKET","env":"BITBUCKET_COMMIT","pr":"BITBUCKET_PR_ID"},{"name":"Bitrise","constant":"BITRISE","env":"BITRISE_IO","pr":"BITRISE_PULL_REQUEST"},{"name":"Buddy","constant":"BUDDY","env":"BUDDY_WORKSPACE_ID","pr":"BUDDY_EXECUTION_PULL_REQUEST_ID"},{"name":"Buildkite","constant":"BUILDKITE","env":"BUILDKITE","pr":{"env":"BUILDKITE_PULL_REQUEST","ne":"false"}},{"name":"CircleCI","constant":"CIRCLE","env":"CIRCLECI","pr":"CIRCLE_PULL_REQUEST"},{"name":"Cirrus CI","constant":"CIRRUS","env":"CIRRUS_CI","pr":"CIRRUS_PR"},{"name":"Codefresh","constant":"CODEFRESH","env":"CF_BUILD_ID","pr":{"any":["CF_PULL_REQUEST_NUMBER","CF_PULL_REQUEST_ID"]}},{"name":"Codemagic","constant":"CODEMAGIC","env":"CM_BUILD_ID","pr":"CM_PULL_REQUEST"},{"name":"Codeship","constant":"CODESHIP","env":{"CI_NAME":"codeship"}},{"name":"Drone","constant":"DRONE","env":"DRONE","pr":{"DRONE_BUILD_EVENT":"pull_request"}},{"name":"dsari","constant":"DSARI","env":"DSARI"},{"name":"Earthly","constant":"EARTHLY","env":"EARTHLY_CI"},{"name":"Expo Application Services","constant":"EAS","env":"EAS_BUILD"},{"name":"Gerrit","constant":"GERRIT","env":"GERRIT_PROJECT"},{"name":"Gitea Actions","constant":"GITEA_ACTIONS","env":"GITEA_ACTIONS"},{"name":"GitHub Actions","constant":"GITHUB_ACTIONS","env":"GITHUB_ACTIONS","pr":{"GITHUB_EVENT_NAME":"pull_request"}},{"name":"GitLab CI","constant":"GITLAB","env":"GITLAB_CI","pr":"CI_MERGE_REQUEST_ID"},{"name":"GoCD","constant":"GOCD","env":"GO_PIPELINE_LABEL"},{"name":"Google Cloud Build","constant":"GOOGLE_CLOUD_BUILD","env":"BUILDER_OUTPUT"},{"name":"Harness CI","constant":"HARNESS","env":"HARNESS_BUILD_ID"},{"name":"Heroku","constant":"HEROKU","env":{"env":"NODE","includes":"/app/.heroku/node/bin/node"}},{"name":"Hudson","constant":"HUDSON","env":"HUDSON_URL"},{"name":"Jenkins","constant":"JENKINS","env":["JENKINS_URL","BUILD_ID"],"pr":{"any":["ghprbPullId","CHANGE_ID"]}},{"name":"LayerCI","constant":"LAYERCI","env":"LAYERCI","pr":"LAYERCI_PULL_REQUEST"},{"name":"Magnum CI","constant":"MAGNUM","env":"MAGNUM"},{"name":"Netlify CI","constant":"NETLIFY","env":"NETLIFY","pr":{"env":"PULL_REQUEST","ne":"false"}},{"name":"Nevercode","constant":"NEVERCODE","env":"NEVERCODE","pr":{"env":"NEVERCODE_PULL_REQUEST","ne":"false"}},{"name":"Prow","constant":"PROW","env":"PROW_JOB_ID"},{"name":"ReleaseHub","constant":"RELEASEHUB","env":"RELEASE_BUILD_ID"},{"name":"Render","constant":"RENDER","env":"RENDER","pr":{"IS_PULL_REQUEST":"true"}},{"name":"Sail CI","constant":"SAIL","env":"SAILCI","pr":"SAIL_PULL_REQUEST_NUMBER"},{"name":"Screwdriver","constant":"SCREWDRIVER","env":"SCREWDRIVER","pr":{"env":"SD_PULL_REQUEST","ne":"false"}},{"name":"Semaphore","constant":"SEMAPHORE","env":"SEMAPHORE","pr":"PULL_REQUEST_NUMBER"},{"name":"Sourcehut","constant":"SOURCEHUT","env":{"CI_NAME":"sourcehut"}},{"name":"Strider CD","constant":"STRIDER","env":"STRIDER"},{"name":"TaskCluster","constant":"TASKCLUSTER","env":["TASK_ID","RUN_ID"]},{"name":"TeamCity","constant":"TEAMCITY","env":"TEAMCITY_VERSION"},{"name":"Travis CI","constant":"TRAVIS","env":"TRAVIS","pr":{"env":"TRAVIS_PULL_REQUEST","ne":"false"}},{"name":"Vela","constant":"VELA","env":"VELA","pr":{"VELA_PULL_REQUEST":"1"}},{"name":"Vercel","constant":"VERCEL","env":{"any":["NOW_BUILDER","VERCEL"]},"pr":"VERCEL_GIT_PULL_REQUEST_ID"},{"name":"Visual Studio App Center","constant":"APPCENTER","env":"APPCENTER_BUILD_ID"},{"name":"Woodpecker","constant":"WOODPECKER","env":{"CI":"woodpecker"},"pr":{"CI_BUILD_EVENT":"pull_request"}},{"name":"Xcode Cloud","constant":"XCODE_CLOUD","env":"CI_XCODE_PROJECT","pr":"CI_PULL_REQUEST_NUMBER"},{"name":"Xcode Server","constant":"XCODE_SERVER","env":"XCS"}]');}),rg("hHq4F",function(e,t){var r,n;function i(e){return n.GITHUB_ACTIONS?r.error(e):console.log(`\x1b[31m${e}\x1b[0m`);}function o(e){return console.log(`\x1b[32m${e}\x1b[0m`);}function s(e){return n.GITHUB_ACTIONS?r.warning(e):console.log(`\x1b[33m${e}\x1b[0m`);}function a(e){return n.GITHUB_ACTIONS?r.notice(e):console.log(`\x1b[94m${e}\x1b[0m`);}function u(e){return n.GITHUB_ACTIONS?r.info(e):console.log(e);}l(e.exports,"error",()=>i),l(e.exports,"success",()=>o),l(e.exports,"warning",()=>s),l(e.exports,"notice",()=>a),l(e.exports,"info",()=>u),r=rv("1o3Gj"),n=rv("dAuy6");}),rg("1o3Gj",function(e,t){var r,n,i,o,s,a,l,u,c,p,d,f;function h(e,t){let 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 m(e,t={}){s.issueCommand("error",l.toCommandProperties(t),e instanceof Error?e.toString():e);}function v(e){s.issue("group",e);}function g(){s.issue("endgroup");}r=e.exports&&e.exports.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r];}});}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r];}),n=e.exports&&e.exports.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),i=e.exports&&e.exports.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&r(t,e,i);return n(t,e),t;},o=e.exports&&e.exports.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e));}catch(e){o(e);}}function a(e){try{l(n.throw(e));}catch(e){o(e);}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t);})).then(s,a);}l((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,s=rv("1g3mY"),a=rv("8prV6"),l=rv("5nnws");let E=i(nX),y=i(nz);u=rv("dU1e3"),(f=c=e.exports.ExitCode||(e.exports.ExitCode={}))[f.Success=0]="Success",f[f.Failure=1]="Failure",e.exports.exportVariable=function(e,t){let r=l.toCommandValue(t);if(process.env[e]=r,process.env.GITHUB_ENV)return a.issueFileCommand("ENV",a.prepareKeyValueMessage(e,t));s.issueCommand("set-env",{name:e},r);},e.exports.setSecret=function(e){s.issueCommand("add-mask",{},e);},e.exports.addPath=function(e){process.env.GITHUB_PATH?a.issueFileCommand("PATH",e):s.issueCommand("add-path",{},e),process.env.PATH=`${e}${y.delimiter}${process.env.PATH}`;},e.exports.getInput=h,e.exports.getMultilineInput=function(e,t){let r=h(e,t).split("\n").filter(e=>""!==e);return t&&!1===t.trimWhitespace?r:r.map(e=>e.trim());},e.exports.getBooleanInput=function(e,t){let r=h(e,t);if(["true","True","TRUE"].includes(r))return!0;if(["false","False","FALSE"].includes(r))return!1;throw TypeError(`Input does not meet YAML 1.2 "Core Schema" specification: ${e} +Support boolean input list: \`true | True | TRUE | false | False | FALSE\``);},e.exports.setOutput=function(e,t){if(process.env.GITHUB_OUTPUT)return a.issueFileCommand("OUTPUT",a.prepareKeyValueMessage(e,t));process.stdout.write(E.EOL),s.issueCommand("set-output",{name:e},l.toCommandValue(t));},e.exports.setCommandEcho=function(e){s.issue("echo",e?"on":"off");},e.exports.setFailed=function(e){process.exitCode=c.Failure,m(e);},e.exports.isDebug=function(){return"1"===process.env.RUNNER_DEBUG;},e.exports.debug=function(e){s.issueCommand("debug",{},e);},e.exports.error=m,e.exports.warning=function(e,t={}){s.issueCommand("warning",l.toCommandProperties(t),e instanceof Error?e.toString():e);},e.exports.notice=function(e,t={}){s.issueCommand("notice",l.toCommandProperties(t),e instanceof Error?e.toString():e);},e.exports.info=function(e){process.stdout.write(e+E.EOL);},e.exports.startGroup=v,e.exports.endGroup=g,e.exports.group=function(e,t){return o(this,void 0,void 0,function*(){let r;v(e);try{r=yield t();}finally{g();}return r;});},e.exports.saveState=function(e,t){if(process.env.GITHUB_STATE)return a.issueFileCommand("STATE",a.prepareKeyValueMessage(e,t));s.issueCommand("save-state",{name:e},l.toCommandValue(t));},e.exports.getState=function(e){return process.env["STATE_"+e]||"";},e.exports.getIDToken=function(e){return o(this,void 0,void 0,function*(){return yield u.OidcClient.getIDToken(e);});},p=rv("dV9Cu"),Object.defineProperty(e.exports,"summary",{enumerable:!0,get:function(){return p.summary;}}),p=rv("dV9Cu"),Object.defineProperty(e.exports,"markdownSummary",{enumerable:!0,get:function(){return p.markdownSummary;}}),d=rv("9i0tI"),Object.defineProperty(e.exports,"toPosixPath",{enumerable:!0,get:function(){return d.toPosixPath;}}),Object.defineProperty(e.exports,"toWin32Path",{enumerable:!0,get:function(){return d.toWin32Path;}}),Object.defineProperty(e.exports,"toPlatformPath",{enumerable:!0,get:function(){return d.toPlatformPath;}});}),rg("1g3mY",function(e,t){var r,n,i,o;function s(e,t,r){let n=new l(e,t,r);process.stdout.write(n.toString()+a.EOL);}r=e.exports&&e.exports.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r];}});}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r];}),n=e.exports&&e.exports.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),i=e.exports&&e.exports.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&r(t,e,i);return n(t,e),t;},Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.issue=e.exports.issueCommand=void 0;let a=i(nX);o=rv("5nnws"),e.exports.issueCommand=s,e.exports.issue=function(e,t=""){s(e,{},t);};class l{constructor(e,t,r){e||(e="missing.command"),this.command=e,this.properties=t,this.message=r;}toString(){var e;let t="::"+this.command;if(this.properties&&Object.keys(this.properties).length>0){t+=" ";let e=!0;for(let r in this.properties)if(this.properties.hasOwnProperty(r)){let n=this.properties[r];n&&(e?e=!1:t+=",",t+=`${r}=${o.toCommandValue(n).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}`);}}return t+("::"+(e=this.message,o.toCommandValue(e).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")));}}}),rg("5nnws",function(e,t){Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.toCommandProperties=e.exports.toCommandValue=void 0,e.exports.toCommandValue=function(e){return null==e?"":"string"==typeof e||e instanceof String?e:JSON.stringify(e);},e.exports.toCommandProperties=function(e){return Object.keys(e).length?{title:e.title,file:e.file,line:e.startLine,endLine:e.endLine,col:e.startColumn,endColumn:e.endColumn}:{};};}),rg("8prV6",function(e,t){var r,n,i,o,s;r=e.exports&&e.exports.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r];}});}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r];}),n=e.exports&&e.exports.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),i=e.exports&&e.exports.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&r(t,e,i);return n(t,e),t;},Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.prepareKeyValueMessage=e.exports.issueFileCommand=void 0;let a=i(nW),l=i(nX);o=rv("1Un9O"),s=rv("5nnws"),e.exports.issueFileCommand=function(e,t){let r=process.env["GITHUB_"+e];if(!r)throw Error("Unable to find environment variable for file command "+e);if(!a.existsSync(r))throw Error("Missing file at path: "+r);a.appendFileSync(r,`${s.toCommandValue(t)}${l.EOL}`,{encoding:"utf8"});},e.exports.prepareKeyValueMessage=function(e,t){let r="ghadelimiter_"+o.default(),n=s.toCommandValue(t);if(e.includes(r))throw Error(`Unexpected input: name should not contain the delimiter "${r}"`);if(n.includes(r))throw Error(`Unexpected input: value should not contain the delimiter "${r}"`);return`${e}<<${r}${l.EOL}${n}${l.EOL}${r}`;};}),rg("1Un9O",function(e,t){var r,n,i;l(e.exports,"default",()=>i),r=rv("jyKkd"),n=rv("4DdbA"),i=function(e,t,i){let o=(e=e||{}).random||(e.rng||(0,r.default))();if(o[6]=15&o[6]|64,o[8]=63&o[8]|128,t){i=i||0;for(let e=0;e<16;++e)t[i+e]=o[e];return t;}return(0,n.default)(o);};}),rg("jyKkd",function(e,t){function r(){return i>n.length-16&&(u(nK).randomFillSync(n),i=0),n.slice(i,i+=16);}l(e.exports,"default",()=>r);let n=new Uint8Array(256),i=n.length;}),rg("4DdbA",function(e,t){var r,n;l(e.exports,"default",()=>n),r=rv("4XBHo");let i=[];for(let e=0;e<256;++e)i.push((e+256).toString(16).substr(1));n=function(e,t=0){let n=(i[e[t+0]]+i[e[t+1]]+i[e[t+2]]+i[e[t+3]]+"-"+i[e[t+4]]+i[e[t+5]]+"-"+i[e[t+6]]+i[e[t+7]]+"-"+i[e[t+8]]+i[e[t+9]]+"-"+i[e[t+10]]+i[e[t+11]]+i[e[t+12]]+i[e[t+13]]+i[e[t+14]]+i[e[t+15]]).toLowerCase();if(!(0,r.default)(n))throw TypeError("Stringified UUID is invalid");return n;};}),rg("4XBHo",function(e,t){var r,n;l(e.exports,"default",()=>n),r=rv("dcWu5"),n=function(e){return"string"==typeof e&&(0,r.default).test(e);};}),rg("dcWu5",function(e,t){l(e.exports,"default",()=>r);var r=/^(?:[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;}),rg("dU1e3",function(e,t){var r=e.exports&&e.exports.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e));}catch(e){o(e);}}function a(e){try{l(n.throw(e));}catch(e){o(e);}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t);})).then(s,a);}l((n=n.apply(e,t||[])).next());});};Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.OidcClient=void 0;var n=rv("eamjo"),i=rv("h6tQO"),o=rv("1o3Gj");class s{static createHttpClient(e=!0,t=10){return new n.HttpClient("actions/oidc-client",[new i.BearerCredentialHandler(s.getRequestToken())],{allowRetries:e,maxRetries:t});}static getRequestToken(){let 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(){let 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*(){let r=s.createHttpClient(),n=null===(t=(yield r.getJson(e).catch(e=>{throw Error(`Failed to get ID Token. Error Code : ${e.statusCode} - Error Message: ${e.result.message}`);}),i=null===(t=n.result)||void 0===t?void 0:t.value;if(!i)throw Error("Response json body do not have ID Token field");return i;});}static getIDToken(e){return r(this,void 0,void 0,function*(){try{let t=s.getIDTokenUrl();if(e){let r=encodeURIComponent(e);t=`${t}&audience=${r}`;}o.debug("ID token url is "+t);let r=yield s.getCall(t);return o.setSecret(r),r;}catch(e){throw Error("Error message: "+e.message);}});}}e.exports.OidcClient=s;}),rh.register("aPbbM",function(e,t){var r,n,i,o,s,a,l,c,u;r=e.exports&&e.exports.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r];}});}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r];}),n=e.exports&&e.exports.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),i=e.exports&&e.exports.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&r(t,e,i);return n(t,e),t;},o=e.exports&&e.exports.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e));}catch(e){o(e);}}function a(e){try{l(n.throw(e));}catch(e){o(e);}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t);})).then(s,a);}l((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;let p=i(im),d=i(ig),f=i(rh("dG8Uc")),h=i(rh("j6C2A"));(c=s=e.exports.HttpCodes||(e.exports.HttpCodes={}))[c.OK=200]="OK",c[c.MultipleChoices=300]="MultipleChoices",c[c.MovedPermanently=301]="MovedPermanently",c[c.ResourceMoved=302]="ResourceMoved",c[c.SeeOther=303]="SeeOther",c[c.NotModified=304]="NotModified",c[c.UseProxy=305]="UseProxy",c[c.SwitchProxy=306]="SwitchProxy",c[c.TemporaryRedirect=307]="TemporaryRedirect",c[c.PermanentRedirect=308]="PermanentRedirect",c[c.BadRequest=400]="BadRequest",c[c.Unauthorized=401]="Unauthorized",c[c.PaymentRequired=402]="PaymentRequired",c[c.Forbidden=403]="Forbidden",c[c.NotFound=404]="NotFound",c[c.MethodNotAllowed=405]="MethodNotAllowed",c[c.NotAcceptable=406]="NotAcceptable",c[c.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",c[c.RequestTimeout=408]="RequestTimeout",c[c.Conflict=409]="Conflict",c[c.Gone=410]="Gone",c[c.TooManyRequests=429]="TooManyRequests",c[c.InternalServerError=500]="InternalServerError",c[c.NotImplemented=501]="NotImplemented",c[c.BadGateway=502]="BadGateway",c[c.ServiceUnavailable=503]="ServiceUnavailable",c[c.GatewayTimeout=504]="GatewayTimeout",(u=a=e.exports.Headers||(e.exports.Headers={})).Accept="accept",u.ContentType="content-type",(l=e.exports.MediaTypes||(e.exports.MediaTypes={})).ApplicationJson="application/json",e.exports.getProxyUrl=function(e){let t=f.getProxyUrl(new URL(e));return t?t.href:"";};let m=[s.MovedPermanently,s.ResourceMoved,s.SeeOther,s.TemporaryRedirect,s.PermanentRedirect],g=[s.BadGateway,s.ServiceUnavailable,s.GatewayTimeout],v=["OPTIONS","GET","DELETE","HEAD"];class E extends Error{constructor(e,t){super(e),this.name="HttpClientError",this.statusCode=t,Object.setPrototypeOf(this,E.prototype);}}e.exports.HttpClientError=E;class y{constructor(e){this.message=e;}readBody(){return o(this,void 0,void 0,function*(){return new Promise(e=>o(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.toString());});}));});}}e.exports.HttpClientResponse=y,e.exports.isHttps=function(e){let t=new URL(e);return"https:"===t.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 o(this,void 0,void 0,function*(){return this.request("OPTIONS",e,null,t||{});});}get(e,t){return o(this,void 0,void 0,function*(){return this.request("GET",e,null,t||{});});}del(e,t){return o(this,void 0,void 0,function*(){return this.request("DELETE",e,null,t||{});});}post(e,t,r){return o(this,void 0,void 0,function*(){return this.request("POST",e,t,r||{});});}patch(e,t,r){return o(this,void 0,void 0,function*(){return this.request("PATCH",e,t,r||{});});}put(e,t,r){return o(this,void 0,void 0,function*(){return this.request("PUT",e,t,r||{});});}head(e,t){return o(this,void 0,void 0,function*(){return this.request("HEAD",e,null,t||{});});}sendStream(e,t,r,n){return o(this,void 0,void 0,function*(){return this.request(e,t,r,n);});}getJson(e,t={}){return o(this,void 0,void 0,function*(){t[a.Accept]=this._getExistingOrDefaultHeader(t,a.Accept,l.ApplicationJson);let r=yield this.get(e,t);return this._processResponse(r,this.requestOptions);});}postJson(e,t,r={}){return o(this,void 0,void 0,function*(){let n=JSON.stringify(t,null,2);r[a.Accept]=this._getExistingOrDefaultHeader(r,a.Accept,l.ApplicationJson),r[a.ContentType]=this._getExistingOrDefaultHeader(r,a.ContentType,l.ApplicationJson);let i=yield this.post(e,n,r);return this._processResponse(i,this.requestOptions);});}putJson(e,t,r={}){return o(this,void 0,void 0,function*(){let n=JSON.stringify(t,null,2);r[a.Accept]=this._getExistingOrDefaultHeader(r,a.Accept,l.ApplicationJson),r[a.ContentType]=this._getExistingOrDefaultHeader(r,a.ContentType,l.ApplicationJson);let i=yield this.put(e,n,r);return this._processResponse(i,this.requestOptions);});}patchJson(e,t,r={}){return o(this,void 0,void 0,function*(){let n=JSON.stringify(t,null,2);r[a.Accept]=this._getExistingOrDefaultHeader(r,a.Accept,l.ApplicationJson),r[a.ContentType]=this._getExistingOrDefaultHeader(r,a.ContentType,l.ApplicationJson);let i=yield this.patch(e,n,r);return this._processResponse(i,this.requestOptions);});}request(e,t,r,n){return o(this,void 0,void 0,function*(){let i;if(this._disposed)throw Error("Client has already been disposed.");let o=new URL(t),a=this._prepareRequest(e,o,n),l=this._allowRetries&&v.includes(e)?this._maxRetries+1:1,c=0;do{if((i=yield this.requestRaw(a,r))&&i.message&&i.message.statusCode===s.Unauthorized){let e;for(let t of this.handlers)if(t.canHandleAuthentication(i)){e=t;break;}if(e)return e.handleAuthentication(this,a,r);break;}let t=this._maxRedirects;for(;i.message.statusCode&&m.includes(i.message.statusCode)&&this._allowRedirects&&t>0;){let s=i.message.headers.location;if(!s)break;let l=new URL(s);if("https:"===o.protocol&&o.protocol!==l.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 i.readBody(),l.hostname!==o.hostname)for(let e in n)"authorization"===e.toLowerCase()&&delete n[e];a=this._prepareRequest(e,l,n),i=yield this.requestRaw(a,r),t--;}if(!i.message.statusCode||!g.includes(i.message.statusCode))break;(c+=1){this.requestRawWithCallback(e,t,function(e,t){e?n(e):t?r(t):n(Error("Unknown error"));});});});}requestRawWithCallback(e,t,r){let n;function i(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,s=e.httpModule.request(e.options,e=>{let t=new y(e);i(void 0,t);});s.on("socket",e=>{n=e;}),s.setTimeout(this._socketTimeout||18e4,()=>{n&&n.end(),i(Error("Request timeout: "+e.options.path));}),s.on("error",function(e){i(e);}),t&&"string"==typeof t&&s.write(t,"utf8"),t&&"string"!=typeof t?(t.on("close",function(){s.end();}),t.pipe(s)):s.end();}getAgent(e){let t=new URL(e);return this._getAgent(t);}_prepareRequest(e,t,r){let n={};n.parsedUrl=t;let i="https:"===n.parsedUrl.protocol;if(n.httpModule=i?d:p,n.options={},n.options.host=n.parsedUrl.hostname,n.options.port=n.parsedUrl.port?parseInt(n.parsedUrl.port):i?443:80,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(let e of this.handlers)e.prepareRequest(n.options);return n;}_mergeHeaders(e){return this.requestOptions&&this.requestOptions.headers?Object.assign({},w(this.requestOptions.headers),w(e||{})):w(e||{});}_getExistingOrDefaultHeader(e,t,r){let n;return this.requestOptions&&this.requestOptions.headers&&(n=w(this.requestOptions.headers)[t]),e[t]||n||r;}_getAgent(e){let t;let r=f.getProxyUrl(e),n=r&&r.hostname;if(this._keepAlive&&n&&(t=this._proxyAgent),this._keepAlive&&!n&&(t=this._agent),t)return t;let i="https:"===e.protocol,o=100;if(this.requestOptions&&(o=this.requestOptions.maxSockets||p.globalAgent.maxSockets),r&&r.hostname){let e;let n={maxSockets:o,keepAlive:this._keepAlive,proxy:Object.assign(Object.assign({},(r.username||r.password)&&{proxyAuth:`${r.username}:${r.password}`}),{host:r.hostname,port:r.port})},s="https:"===r.protocol;t=(i?s?h.httpsOverHttps:h.httpsOverHttp:s?h.httpOverHttps:h.httpOverHttp)(n),this._proxyAgent=t;}if(this._keepAlive&&!t){let e={keepAlive:this._keepAlive,maxSockets:o};t=i?new d.Agent(e):new p.Agent(e),this._agent=t;}return t||(t=i?d.globalAgent:p.globalAgent),i&&this._ignoreSslError&&(t.options=Object.assign(t.options||{},{rejectUnauthorized:!1})),t;}_performExponentialBackoff(e){return o(this,void 0,void 0,function*(){e=Math.min(10,e);let t=5*Math.pow(2,e);return new Promise(e=>setTimeout(()=>e(),t));});}_processResponse(e,t){return o(this,void 0,void 0,function*(){return new Promise((r,n)=>o(this,void 0,void 0,function*(){let i,o;let a=e.message.statusCode||0,l={statusCode:a,result:null,headers:{}};a===s.NotFound&&r(l);try{(o=yield e.readBody())&&o.length>0&&(i=t&&t.deserializeDates?JSON.parse(o,function(e,t){if("string"==typeof t){let e=new Date(t);if(!isNaN(e.valueOf()))return e;}return t;}):JSON.parse(o),l.result=i),l.headers=e.message.headers;}catch(e){}if(a>299){let e;e=i&&i.message?i.message:o&&o.length>0?o:`Failed request: (${a})`;let t=new E(e,a);t.result=l.result,n(t);}else r(l);}));});}};let w=e=>Object.keys(e).reduce((t,r)=>(t[r.toLowerCase()]=e[r],t),{});}),rh.register("dG8Uc",function(e,t){function r(e){let t;if(!e.hostname)return!1;let r=e.hostname;if(function(e){let t=e.toLowerCase();return"localhost"===t||t.startsWith("127.")||t.startsWith("[::1]")||t.startsWith("[0:0:0:0:0:0:0:1]");}(r))return!0;let n=process.env.no_proxy||process.env.NO_PROXY||"";if(!n)return!1;e.port?t=+e.port:"http:"===e.protocol?t=80:"https:"===e.protocol&&(t=443);let i=[e.hostname.toUpperCase()];for(let e of("number"==typeof t&&i.push(`${i[0]}:${t}`),n.split(",").map(e=>e.trim().toUpperCase()).filter(e=>e)))if("*"===e||i.some(t=>t===e||t.endsWith("."+e)||e.startsWith(".")&&t.endsWith(""+e)))return!0;return!1;}Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.checkBypass=e.exports.getProxyUrl=void 0,e.exports.getProxyUrl=function(e){let t="https:"===e.protocol;if(r(e))return;let 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;}),rh.register("j6C2A",function(e,t){e.exports=rh("3axfE");}),rh.register("3axfE",function(e,t){var r,n,i,o,s,a;function c(e){var t=this;t.options=e||{},t.proxyOptions=t.options.proxy||{},t.maxSockets=t.options.maxSockets||im.Agent.defaultMaxSockets,t.requests=[],t.sockets=[],t.on("free",function(e,r,n,i){for(var o=p(r,n,i),s=0,a=t.requests.length;a>s;++s){var l=t.requests[s];if(l.host===o.host&&l.port===o.port){t.requests.splice(s,1),l.request.onSocket(e);return;}}e.destroy(),t.removeSocket(e);});}function u(e,t){var r=this;c.prototype.createSocket.call(r,e,function(n){var i=e.request.getHeader("host"),o=d({},r.options,{socket:n,servername:i?i.replace(/:.*$/,""):e.host}),s=t1.connect(0,o);r.sockets[r.sockets.indexOf(n)]=s,t(s);});}function p(e,t,r){return"string"==typeof e?{host:e,port:t,localAddress:r}:e;}function d(e){for(var t=1,r=arguments.length;r>t;++t){var n=arguments[t];if("object"==typeof n)for(var i=Object.keys(n),o=0,s=i.length;s>o;++o){var a=i[o];void 0!==n[a]&&(e[a]=n[a]);}}return e;}l(e.exports,"httpOverHttp",()=>r,e=>r=e),l(e.exports,"httpsOverHttp",()=>n,e=>n=e),l(e.exports,"httpOverHttps",()=>i,e=>i=e),l(e.exports,"httpsOverHttps",()=>o,e=>o=e),l(e.exports,"debug",()=>s,e=>s=e),r=function(e){var t=new c(e);return t.request=im.request,t;},n=function(e){var t=new c(e);return t.request=im.request,t.createSocket=u,t.defaultPort=443,t;},i=function(e){var t=new c(e);return t.request=ig.request,t;},o=function(e){var t=new c(e);return t.request=ig.request,t.createSocket=u,t.defaultPort=443,t;},t4.inherits(c,t2.EventEmitter),c.prototype.addRequest=function(e,t,r,n){var i=this,o=d({request:e},i.options,p(t,r,n));if(i.sockets.length>=this.maxSockets){i.requests.push(o);return;}i.createSocket(o,function(t){function r(){i.emit("free",t,o);}function n(e){i.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);});},c.prototype.createSocket=function(e,t){function r(r,n,l){if(i.removeAllListeners(),n.removeAllListeners(),200!==r.statusCode){a("tunneling socket could not be established, statusCode=%d",r.statusCode),n.destroy();var c=Error("tunneling socket could not be established, statusCode="+r.statusCode);c.code="ECONNRESET",e.request.emit("error",c),o.removeSocket(s);return;}if(l.length>0){a("got illegal response body from proxy"),n.destroy();var c=Error("got illegal response body from proxy");c.code="ECONNRESET",e.request.emit("error",c),o.removeSocket(s);return;}return a("tunneling connection has established"),o.sockets[o.sockets.indexOf(s)]=n,t(n);}var n,i,o=this,s={};o.sockets.push(s),n=d({},o.proxyOptions,{method:"CONNECT",path:e.host+":"+e.port,agent:!1,headers:{host:e.host+":"+e.port}}),e.localAddress&&(n.localAddress=e.localAddress),n.proxyAuth&&(n.headers=n.headers||{},n.headers["Proxy-Authorization"]="Basic "+new Buffer(n.proxyAuth).toString("base64")),a("making CONNECT request"),(i=o.request(n)).useChunkedEncodingByDefault=!1,i.once("response",function(e){e.upgrade=!0;}),i.once("upgrade",function(e,t,n){process.nextTick(function(){r(e,t,n);});}),i.once("connect",r),i.once("error",function(t){i.removeAllListeners(),a("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),o.removeSocket(s);}),i.end();},c.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,function(e){r.request.onSocket(e);});}},s=a=process.env.NODE_DEBUG&&/\btunnel\b/.test(process.env.NODE_DEBUG)?function(){var e=Array.prototype.slice.call(arguments);"string"==typeof e[0]?e[0]="TUNNEL: "+e[0]:e.unshift("TUNNEL:"),console.error.apply(console,e);}:function(){};}),rh.register("5UVtg",function(e,t){var r=e.exports&&e.exports.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e));}catch(e){o(e);}}function a(e){try{l(n.throw(e));}catch(e){o(e);}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t);})).then(s,a);}l((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");});}};}),rh.register("a9gnA",function(e,t){var r=e.exports&&e.exports.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e));}catch(e){o(e);}}function a(e){try{l(n.throw(e));}catch(e){o(e);}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t);})).then(s,a);}l((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;let{access:n,appendFile:i,writeFile:o}=id.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";let s=new class{constructor(){this._buffer="";}filePath(){return r(this,void 0,void 0,function*(){if(this._filePath)return this._filePath;let 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,id.constants.R_OK|id.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={}){let 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*(){let t=!!(null==e?void 0:e.overwrite),r=yield this.filePath();return yield(t?o:i)(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(iu.EOL);}addCodeBlock(e,t){let r=Object.assign({},t&&{lang:t}),n=this.wrap("pre",this.wrap("code",e),r);return this.addRaw(n).addEOL();}addList(e,t=!1){let r=e.map(e=>this.wrap("li",e)).join(""),n=this.wrap(t?"ol":"ul",r);return this.addRaw(n).addEOL();}addTable(e){let t=e.map(e=>{let t=e.map(e=>{if("string"==typeof e)return this.wrap("td",e);let{header:t,data:r,colspan:n,rowspan:i}=e,o=Object.assign(Object.assign({},n&&{colspan:n}),i&&{rowspan:i});return this.wrap(t?"th":"td",r,o);}).join("");return this.wrap("tr",t);}).join(""),r=this.wrap("table",t);return this.addRaw(r).addEOL();}addDetails(e,t){let r=this.wrap("details",this.wrap("summary",e)+t);return this.addRaw(r).addEOL();}addImage(e,t,r){let{width:n,height:i}=r||{},o=Object.assign(Object.assign({},n&&{width:n}),i&&{height:i}),s=this.wrap("img",null,Object.assign({src:e,alt:t},o));return this.addRaw(s).addEOL();}addHeading(e,t){let r="h"+t,n=["h1","h2","h3","h4","h5","h6"].includes(r)?r:"h1",i=this.wrap(n,e);return this.addRaw(i).addEOL();}addSeparator(){let e=this.wrap("hr",null);return this.addRaw(e).addEOL();}addBreak(){let e=this.wrap("br",null);return this.addRaw(e).addEOL();}addQuote(e,t){let r=Object.assign({},t&&{cite:t}),n=this.wrap("blockquote",e,r);return this.addRaw(n).addEOL();}addLink(e,t){let r=this.wrap("a",e,{href:t});return this.addRaw(r).addEOL();}}();e.exports.markdownSummary=s,e.exports.summary=s;}),rh.register("3zXsD",function(e,t){var r,n,i;r=e.exports&&e.exports.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r];}});}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r];}),n=e.exports&&e.exports.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),i=e.exports&&e.exports.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&r(t,e,i);return n(t,e),t;},Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.toPlatformPath=e.exports.toWin32Path=e.exports.toPosixPath=void 0;let o=i(ip);e.exports.toPosixPath=function(e){return e.replace(/[\\]/g,"/");},e.exports.toWin32Path=function(e){return e.replace(/[/]/g,"\\");},e.exports.toPlatformPath=function(e){return e.replace(/[/\\]/g,o.sep);};}),rh.register("ljv3o",function(e,t){var r=ip.resolve(__dirname,"../../node_modules/.pnpm/numerous@1.0.3/node_modules/numerous/lib");(function(){var t,n;function i(e,r,n){if(o(e),"object"!=typeof n)throw Error("List of variants should be specified as an object");var i=t[e](r);return void 0!==n[i]?n[i]:null;}function o(e){!(void 0!==t[e])&&function(e){try{require(r+"/../locales/"+e+".js");}catch(t){throw Error("Failed to load the following locale: "+e);}}(e);}t={},n={create:function(e){return o(e),{pluralize:function(t,r){return i(e,t,r);}};},addLocale:function(e,r){t[e]=r;},pluralize:i},void 0!==e.exports?e.exports=n:this.numerous=n;}).call(e.exports);}),rh.register("kAOmP",function(e,t){function r(e){for(let t of(Array.isArray(e)||(e=[e]),e)){let{id:e,data:r}=t;a[e]=r;}}var n=rh("3abeg"),i=rh("aaJ7t");let o=[["years",290304e5],["months",24192e5],["weeks",6048e5],["days",864e5],["hours",36e5],["minutes",6e4],["seconds",1e3]],s={locale:"en",span:2,delimiter:", ",unitType:"long",unitTypeLookupOrder:["long","short","narrow"],autoloadLocales:!0},a={};e.exports={create:function(e){return e=Object.assign({},s,e||{}),{format:function(t,s,l){return function(e,t,s){if(function(e,t){let{autoload:n}=t;if(!a[e]){if(i&&n)(function(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);else throw Error(`Missing locale: ${e}, you must load it manually before using it`);}}(s.locale,{autoload:s.autoloadLocales}),!e)throw Error("Missing first date argument");if(!t)throw Error("Missing second date argument");let l=function(e,t){let r=t-e,n=[];return o.some(function(e){let t=e[0],i=e[1],o=Math.floor(r/i);if(r-=o*i,n.push([t,o]),r<=0)return!0;}),n;}(e,t),c=[];for(let e of l){let[t,r]=e;if(r>0&&c.push(function(e,t,r){let i=function(e){var t;let r=a[e.locale],n=e.unitTypeLookupOrder.slice();n.unshift(e.unitType),t=n;let i=null;if((n=Array.from(new Set(t))).some(function(e){if(void 0!==r[e])return i=r[e],!0;}),null===i)throw Error("Can not find any unit type data for locale: "+e.locale);return i;}(r),o=n.pluralize(r.locale,t,i[e]);return o.replace("{0}",t);}(t,r,s)),c.length>=s.span)break;}return c.join(s.delimiter);}(t,s,l=Object.assign({},e,l||{}));}};},addLocale:r,defaultConfig:s};}),rh.register("3abeg",function(e,t){e.exports=rh("ljv3o");}),rh.register("aaJ7t",function(e,t){e.exports=!!("undefined"!=typeof process&&process.versions&&process.versions.node);}),rh.register("gRK0M",function(e,t){function r(e,t,r){return!!(e.isSymbolicLink()||e.isFile())&&function(e,t){var r=void 0!==t.pathExt?t.pathExt:process.env.PATHEXT;if(!r||-1!==(r=r.split(";")).indexOf(""))return!0;for(var n=0;n{for(let[t,r]of f)e=e.split(`${t}*`).join(`${t}{0,${r}}`).split(`${t}+`).join(`${t}{1,${r}}`);return e;},m=(e,t,r)=>{let n=h(t),i=p++;s(e,i,t),u[e]=i,c[i]=t,a[i]=new RegExp(t,r?"g":void 0),l[i]=new RegExp(n,r?"g":void 0);};m("NUMERICIDENTIFIER","0|[1-9]\\d*"),m("NUMERICIDENTIFIERLOOSE","\\d+"),m("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${d}*`),m("MAINVERSION",`(${c[u.NUMERICIDENTIFIER]})\\.(${c[u.NUMERICIDENTIFIER]})\\.(${c[u.NUMERICIDENTIFIER]})`),m("MAINVERSIONLOOSE",`(${c[u.NUMERICIDENTIFIERLOOSE]})\\.(${c[u.NUMERICIDENTIFIERLOOSE]})\\.(${c[u.NUMERICIDENTIFIERLOOSE]})`),m("PRERELEASEIDENTIFIER",`(?:${c[u.NUMERICIDENTIFIER]}|${c[u.NONNUMERICIDENTIFIER]})`),m("PRERELEASEIDENTIFIERLOOSE",`(?:${c[u.NUMERICIDENTIFIERLOOSE]}|${c[u.NONNUMERICIDENTIFIER]})`),m("PRERELEASE",`(?:-(${c[u.PRERELEASEIDENTIFIER]}(?:\\.${c[u.PRERELEASEIDENTIFIER]})*))`),m("PRERELEASELOOSE",`(?:-?(${c[u.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${c[u.PRERELEASEIDENTIFIERLOOSE]})*))`),m("BUILDIDENTIFIER",`${d}+`),m("BUILD",`(?:\\+(${c[u.BUILDIDENTIFIER]}(?:\\.${c[u.BUILDIDENTIFIER]})*))`),m("FULLPLAIN",`v?${c[u.MAINVERSION]}${c[u.PRERELEASE]}?${c[u.BUILD]}?`),m("FULL",`^${c[u.FULLPLAIN]}$`),m("LOOSEPLAIN",`[v=\\s]*${c[u.MAINVERSIONLOOSE]}${c[u.PRERELEASELOOSE]}?${c[u.BUILD]}?`),m("LOOSE",`^${c[u.LOOSEPLAIN]}$`),m("GTLT","((?:<|>)?=?)"),m("XRANGEIDENTIFIERLOOSE",`${c[u.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),m("XRANGEIDENTIFIER",`${c[u.NUMERICIDENTIFIER]}|x|X|\\*`),m("XRANGEPLAIN",`[v=\\s]*(${c[u.XRANGEIDENTIFIER]})(?:\\.(${c[u.XRANGEIDENTIFIER]})(?:\\.(${c[u.XRANGEIDENTIFIER]})(?:${c[u.PRERELEASE]})?${c[u.BUILD]}?)?)?`),m("XRANGEPLAINLOOSE",`[v=\\s]*(${c[u.XRANGEIDENTIFIERLOOSE]})(?:\\.(${c[u.XRANGEIDENTIFIERLOOSE]})(?:\\.(${c[u.XRANGEIDENTIFIERLOOSE]})(?:${c[u.PRERELEASELOOSE]})?${c[u.BUILD]}?)?)?`),m("XRANGE",`^${c[u.GTLT]}\\s*${c[u.XRANGEPLAIN]}$`),m("XRANGELOOSE",`^${c[u.GTLT]}\\s*${c[u.XRANGEPLAINLOOSE]}$`),m("COERCE",`(^|[^\\d])(\\d{1,${n}})(?:\\.(\\d{1,${n}}))?(?:\\.(\\d{1,${n}}))?(?:$|[^\\d])`),m("COERCERTL",c[u.COERCE],!0),m("LONETILDE","(?:~>?)"),m("TILDETRIM",`(\\s*)${c[u.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",m("TILDE",`^${c[u.LONETILDE]}${c[u.XRANGEPLAIN]}$`),m("TILDELOOSE",`^${c[u.LONETILDE]}${c[u.XRANGEPLAINLOOSE]}$`),m("LONECARET","(?:\\^)"),m("CARETTRIM",`(\\s*)${c[u.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",m("CARET",`^${c[u.LONECARET]}${c[u.XRANGEPLAIN]}$`),m("CARETLOOSE",`^${c[u.LONECARET]}${c[u.XRANGEPLAINLOOSE]}$`),m("COMPARATORLOOSE",`^${c[u.GTLT]}\\s*(${c[u.LOOSEPLAIN]})$|^$`),m("COMPARATOR",`^${c[u.GTLT]}\\s*(${c[u.FULLPLAIN]})$|^$`),m("COMPARATORTRIM",`(\\s*)${c[u.GTLT]}\\s*(${c[u.LOOSEPLAIN]}|${c[u.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",m("HYPHENRANGE",`^\\s*(${c[u.XRANGEPLAIN]})\\s+-\\s+(${c[u.XRANGEPLAIN]})\\s*$`),m("HYPHENRANGELOOSE",`^\\s*(${c[u.XRANGEPLAINLOOSE]})\\s+-\\s+(${c[u.XRANGEPLAINLOOSE]})\\s*$`),m("STAR","(<|>)?=?\\s*\\*"),m("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),m("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$");}),rh.register("6fF7q",function(e,t){let r=Number.MAX_SAFE_INTEGER||9007199254740991;e.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_BUILD_LENGTH:250,MAX_SAFE_INTEGER:r,RELEASE_TYPES:["major","premajor","minor","preminor","patch","prepatch","prerelease"],SEMVER_SPEC_VERSION:"2.0.0",FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2};}),rh.register("23sN8",function(e,t){let r="object"==typeof process&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};e.exports=r;}),rh.register("fYigo",function(e,t){var r=rh("23sN8"),n=rh("6fF7q"),i=n.MAX_LENGTH,o=n.MAX_SAFE_INTEGER,s=rh("eDlr8"),a=s.safeRe,l=s.t,c=rh("kR8wQ"),u=rh("hQh8e").compareIdentifiers;class p{constructor(e,t){if(t=c(t),e instanceof p){if(!!t.loose===e.loose&&!!t.includePrerelease===e.includePrerelease)return e;e=e.version;}else if("string"!=typeof e)throw TypeError(`Invalid version. Must be a string. Got type "${typeof e}".`);if(e.length>i)throw TypeError(`version is longer than ${i} characters`);r("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;let n=e.trim().match(t.loose?a[l.LOOSE]:a[l.FULL]);if(!n)throw TypeError("Invalid Version: "+e);if(this.raw=e,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>o||this.major<0)throw TypeError("Invalid major version");if(this.minor>o||this.minor<0)throw TypeError("Invalid minor version");if(this.patch>o||this.patch<0)throw TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map(e=>{if(/^[0-9]+$/.test(e)){let t=+e;if(t>=0&&t=0;)"number"==typeof this.prerelease[n]&&(this.prerelease[n]++,n=-2);if(-1===n){if(t===this.prerelease.join(".")&&!1===r)throw Error("invalid increment argument: identifier already exists");this.prerelease.push(e);}}if(t){let n=[t,e];!1===r&&(n=[t]),0===u(this.prerelease[0],t)?isNaN(this.prerelease[1])&&(this.prerelease=n):this.prerelease=n;}break;}default:throw Error("invalid increment argument: "+e);}return this.raw=this.format(),this.build.length&&(this.raw+="+"+this.build.join(".")),this;}}e.exports=p;}),rh.register("kR8wQ",function(e,t){let r=Object.freeze({loose:!0}),n=Object.freeze({});e.exports=e=>e?"object"!=typeof e?r:e:n;}),rh.register("hQh8e",function(e,t){let r=(e,t)=>{let r=/^[0-9]+$/.test(e),n=/^[0-9]+$/.test(t);return r&&n&&(e=+e,t=+t),e===t?0:r&&!n?-1:n&&!r?1:t>e?-1:1;};e.exports={compareIdentifiers:r,rcompareIdentifiers:(e,t)=>r(t,e)};}),rh.register("5DLUR",function(e,t){var r=rh("fYigo");e.exports=(e,t,n=!1)=>{if(e instanceof r)return e;try{return new r(e,t);}catch(e){if(!n)return null;throw e;}};}),rh.register("eO4vc",function(e,t){var r=rh("5DLUR");e.exports=(e,t)=>{let n=r(e,t);return n?n.version:null;};}),rh.register("5Pwcn",function(e,t){var r=rh("5DLUR");e.exports=(e,t)=>{let n=r(e.trim().replace(/^[=v]+/,""),t);return n?n.version:null;};}),rh.register("4dfSx",function(e,t){var r=rh("fYigo");e.exports=(e,t,n,i,o)=>{"string"==typeof n&&(o=i,i=n,n=void 0);try{return new r(e instanceof r?e.version:e,n).inc(t,i,o).version;}catch(e){return null;}};}),rh.register("7cpCI",function(e,t){var r=rh("5DLUR");e.exports=(e,t)=>{let n=r(e,null,!0),i=r(t,null,!0),o=n.compare(i);if(0===o)return null;let s=o>0,a=s?n:i,l=s?i:n,c=!!a.prerelease.length,u=!!l.prerelease.length;if(u&&!c)return l.patch||l.minor?a.patch?"patch":a.minor?"minor":"major":"major";let p=c?"pre":"";return n.major!==i.major?p+"major":n.minor!==i.minor?p+"minor":n.patch!==i.patch?p+"patch":"prerelease";};}),rh.register("7GceF",function(e,t){var r=rh("fYigo");e.exports=(e,t)=>new r(e,t).major;}),rh.register("k4OKF",function(e,t){var r=rh("fYigo");e.exports=(e,t)=>new r(e,t).minor;}),rh.register("lL63q",function(e,t){var r=rh("fYigo");e.exports=(e,t)=>new r(e,t).patch;}),rh.register("lhsZL",function(e,t){var r=rh("5DLUR");e.exports=(e,t)=>{let n=r(e,t);return n&&n.prerelease.length?n.prerelease:null;};}),rh.register("eSzHt",function(e,t){var r=rh("fYigo");e.exports=(e,t,n)=>new r(e,n).compare(new r(t,n));}),rh.register("1yexC",function(e,t){var r=rh("eSzHt");e.exports=(e,t,n)=>r(t,e,n);}),rh.register("gI1Tk",function(e,t){var r=rh("eSzHt");e.exports=(e,t)=>r(e,t,!0);}),rh.register("bn7NB",function(e,t){var r=rh("fYigo");e.exports=(e,t,n)=>{let i=new r(e,n),o=new r(t,n);return i.compare(o)||i.compareBuild(o);};}),rh.register("4yuO6",function(e,t){var r=rh("bn7NB");e.exports=(e,t)=>e.sort((e,n)=>r(e,n,t));}),rh.register("iea9H",function(e,t){var r=rh("bn7NB");e.exports=(e,t)=>e.sort((e,n)=>r(n,e,t));}),rh.register("gtqtv",function(e,t){var r=rh("eSzHt");e.exports=(e,t,n)=>r(e,t,n)>0;}),rh.register("3Nc7w",function(e,t){var r=rh("eSzHt");e.exports=(e,t,n)=>0>r(e,t,n);}),rh.register("auc5a",function(e,t){var r=rh("eSzHt");e.exports=(e,t,n)=>0===r(e,t,n);}),rh.register("caa1L",function(e,t){var r=rh("eSzHt");e.exports=(e,t,n)=>0!==r(e,t,n);}),rh.register("1Ucjm",function(e,t){var r=rh("eSzHt");e.exports=(e,t,n)=>r(e,t,n)>=0;}),rh.register("fAXcL",function(e,t){var r=rh("eSzHt");e.exports=(e,t,n)=>0>=r(e,t,n);}),rh.register("2ImCS",function(e,t){var r=rh("auc5a"),n=rh("caa1L"),i=rh("gtqtv"),o=rh("1Ucjm"),s=rh("3Nc7w"),a=rh("fAXcL");e.exports=(e,t,l,c)=>{switch(t){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof l&&(l=l.version),e===l;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof l&&(l=l.version),e!==l;case"":case"=":case"==":return r(e,l,c);case"!=":return n(e,l,c);case">":return i(e,l,c);case">=":return o(e,l,c);case"<":return s(e,l,c);case"<=":return a(e,l,c);default:throw TypeError("Invalid operator: "+t);}};}),rh.register("255mi",function(e,t){var r=rh("fYigo"),n=rh("5DLUR"),i=rh("eDlr8"),o=i.safeRe,s=i.t;e.exports=(e,t)=>{if(e instanceof r)return e;if("number"==typeof e&&(e+=""),"string"!=typeof e)return null;let i=null;if((t=t||{}).rtl){let t;for(;(t=o[s.COERCERTL].exec(e))&&(!i||i.index+i[0].length!==e.length);)i&&t.index+t[0].length===i.index+i[0].length||(i=t),o[s.COERCERTL].lastIndex=t.index+t[1].length+t[2].length;o[s.COERCERTL].lastIndex=-1;}else i=e.match(o[s.COERCE]);return null===i?null:n(`${i[2]}.${i[3]||"0"}.${i[4]||"0"}`,t);};}),rh.register("7BD2X",function(e,t){let r=Symbol();class n{static get ANY(){return r;}constructor(e,t){if(t=i(t),e instanceof n){if(!!t.loose===e.loose)return e;e=e.value;}c("comparator",e=e.trim().split(/\s+/).join(" "),t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===r?this.value="":this.value=this.operator+this.semver.version,c("comp",this);}parse(e){let t=this.options.loose?s[a.COMPARATORLOOSE]:s[a.COMPARATOR],n=e.match(t);if(!n)throw TypeError("Invalid comparator: "+e);this.operator=void 0!==n[1]?n[1]:"","="===this.operator&&(this.operator=""),n[2]?this.semver=new u(n[2],this.options.loose):this.semver=r;}toString(){return this.value;}test(e){if(c("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 l(e,this.operator,this.semver,this.options);}intersects(e,t){if(!(e instanceof n))throw TypeError("a Comparator is required");return""===this.operator?""===this.value||new p(e.value,t).test(this.value):""===e.operator?""===e.value||new p(this.value,t).test(e.semver):!((t=i(t)).includePrerelease&&("<0.0.0-0"===this.value||"<0.0.0-0"===e.value)||!t.includePrerelease&&(this.value.startsWith("<0.0.0")||e.value.startsWith("<0.0.0")))&&!!(this.operator.startsWith(">")&&e.operator.startsWith(">")||this.operator.startsWith("<")&&e.operator.startsWith("<")||this.semver.version===e.semver.version&&this.operator.includes("=")&&e.operator.includes("=")||l(this.semver,"<",e.semver,t)&&this.operator.startsWith(">")&&e.operator.startsWith("<")||l(this.semver,">",e.semver,t)&&this.operator.startsWith("<")&&e.operator.startsWith(">"));}}e.exports=n;var i=rh("kR8wQ"),o=rh("eDlr8"),s=o.safeRe,a=o.t,l=rh("2ImCS"),c=rh("23sN8"),u=rh("fYigo"),p=rh("bGbOH");}),rh.register("bGbOH",function(e,t){class r{constructor(e,t){if(t=o(t),e instanceof r){if(!!t.loose===e.loose&&!!t.includePrerelease===e.includePrerelease)return e;return 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.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map(e=>this.parseRange(e.trim())).filter(e=>e.length),!this.set.length)throw TypeError("Invalid SemVer Range: "+this.raw);if(this.set.length>1){let e=this.set[0];if(this.set=this.set.filter(e=>!E(e[0])),0===this.set.length)this.set=[e];else if(this.set.length>1){for(let e of this.set)if(1===e.length&&y(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){let t=(this.options.includePrerelease&&g)|(this.options.loose&&v),r=t+":"+e,n=i.get(r);if(n)return n;let o=this.options.loose,l=o?u[p.HYPHENRANGELOOSE]:u[p.HYPHENRANGE];a("hyphen replace",e=e.replace(l,_(this.options.includePrerelease))),a("comparator trim",e=e.replace(u[p.COMPARATORTRIM],d)),a("tilde trim",e=e.replace(u[p.TILDETRIM],f)),a("caret trim",e=e.replace(u[p.CARETTRIM],h));let c=e.split(" ").map(e=>x(e,this.options)).join(" ").split(/\s+/).map(e=>$(e,this.options));o&&(c=c.filter(e=>(a("loose invalid filter",e,this.options),!!e.match(u[p.COMPARATORLOOSE])))),a("range list",c);let m=new Map(),y=c.map(e=>new s(e,this.options));for(let e of y){if(E(e))return[e];m.set(e.value,e);}m.size>1&&m.has("")&&m.delete("");let w=[...m.values()];return i.set(r,w),w;}intersects(e,t){if(!(e instanceof r))throw TypeError("a Range is required");return this.set.some(r=>w(r,t)&&e.set.some(e=>w(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 l(e,this.options);}catch(e){return!1;}for(let t=0;t"<0.0.0-0"===e.value,y=e=>""===e.value,w=(e,t)=>{let r=!0,n=e.slice(),i=n.pop();for(;r&&n.length;)r=n.every(e=>i.intersects(e,t)),i=n.pop();return r;},x=(e,t)=>(a("comp",e,t),e=O(e,t),a("caret",e),e=S(e,t),a("tildes",e),e=T(e,t),a("xrange",e),e=A(e,t),a("stars",e),e),b=e=>!e||"x"===e.toLowerCase()||"*"===e,S=(e,t)=>e.trim().split(/\s+/).map(e=>I(e,t)).join(" "),I=(e,t)=>{let r=t.loose?u[p.TILDELOOSE]:u[p.TILDE];return e.replace(r,(t,r,n,i,o)=>{let s;return a("tilde",e,t,r,n,i,o),b(r)?s="":b(n)?s=`>=${r}.0.0 <${+r+1}.0.0-0`:b(i)?s=`>=${r}.${n}.0 <${r}.${+n+1}.0-0`:o?(a("replaceTilde pr",o),s=`>=${r}.${n}.${i}-${o} <${r}.${+n+1}.0-0`):s=`>=${r}.${n}.${i} <${r}.${+n+1}.0-0`,a("tilde return",s),s;});},O=(e,t)=>e.trim().split(/\s+/).map(e=>R(e,t)).join(" "),R=(e,t)=>{a("caret",e,t);let r=t.loose?u[p.CARETLOOSE]:u[p.CARET],n=t.includePrerelease?"-0":"";return e.replace(r,(t,r,i,o,s)=>{let l;return a("caret",e,t,r,i,o,s),b(r)?l="":b(i)?l=`>=${r}.0.0${n} <${+r+1}.0.0-0`:b(o)?l="0"===r?`>=${r}.${i}.0${n} <${r}.${+i+1}.0-0`:`>=${r}.${i}.0${n} <${+r+1}.0.0-0`:s?(a("replaceCaret pr",s),l="0"===r?"0"===i?`>=${r}.${i}.${o}-${s} <${r}.${i}.${+o+1}-0`:`>=${r}.${i}.${o}-${s} <${r}.${+i+1}.0-0`:`>=${r}.${i}.${o}-${s} <${+r+1}.0.0-0`):(a("no pr"),l="0"===r?"0"===i?`>=${r}.${i}.${o}${n} <${r}.${i}.${+o+1}-0`:`>=${r}.${i}.${o}${n} <${r}.${+i+1}.0-0`:`>=${r}.${i}.${o} <${+r+1}.0.0-0`),a("caret return",l),l;});},T=(e,t)=>(a("replaceXRanges",e,t),e.split(/\s+/).map(e=>C(e,t)).join(" ")),C=(e,t)=>{e=e.trim();let r=t.loose?u[p.XRANGELOOSE]:u[p.XRANGE];return e.replace(r,(r,n,i,o,s,l)=>{a("xRange",e,r,n,i,o,s,l);let c=b(i),u=c||b(o),p=u||b(s);return"="===n&&p&&(n=""),l=t.includePrerelease?"-0":"",c?r=">"===n||"<"===n?"<0.0.0-0":"*":n&&p?(u&&(o=0),s=0,">"===n?(n=">=",u?(i=+i+1,o=0):o=+o+1,s=0):"<="===n&&(n="<",u?i=+i+1:o=+o+1),"<"===n&&(l="-0"),r=`${n+i}.${o}.${s}${l}`):u?r=`>=${i}.0.0${l} <${+i+1}.0.0-0`:p&&(r=`>=${i}.${o}.0${l} <${i}.${+o+1}.0-0`),a("xRange return",r),r;});},A=(e,t)=>(a("replaceStars",e,t),e.trim().replace(u[p.STAR],"")),$=(e,t)=>(a("replaceGTE0",e,t),e.trim().replace(u[t.includePrerelease?p.GTE0PRE:p.GTE0],"")),_=e=>(t,r,n,i,o,s,a,l,c,u,p,d,f)=>`${r=b(n)?"":b(i)?`>=${n}.0.0${e?"-0":""}`:b(o)?`>=${n}.${i}.0${e?"-0":""}`:s?">="+r:`>=${r}${e?"-0":""}`} ${l=b(c)?"":b(u)?`<${+c+1}.0.0-0`:b(p)?`<${c}.${+u+1}.0-0`:d?`<=${c}.${u}.${p}-${d}`:e?`<${c}.${u}.${+p+1}-0`:"<="+l}`.trim(),P=(e,t,r)=>{for(let r=0;r0){let n=e[r].semver;if(n.major===t.major&&n.minor===t.minor&&n.patch===t.patch)return!0;}return!1;}return!0;};}),rh.register("kS84i",function(e,t){var r=rh("7o5x0");let n=Symbol(),i=Symbol(),o=Symbol(),s=Symbol(),a=Symbol(),l=Symbol(),c=Symbol(),u=Symbol(),p=Symbol(),d=Symbol(),f=()=>1,h=(e,t,r)=>{let n=e[p].get(t);if(n){let t=n.value;if(m(e,t)){if(v(e,n),!e[s])return;}else r&&(e[d]&&(n.value.now=Date.now()),e[u].unshiftNode(n));return t.value;}},m=(e,t)=>{if(!t||!t.maxAge&&!e[a])return!1;let r=Date.now()-t.now;return t.maxAge?r>t.maxAge:e[a]&&r>e[a];},g=e=>{if(e[i]>e[n])for(let t=e[u].tail;e[i]>e[n]&&null!==t;){let r=t.prev;v(e,t),t=r;}},v=(e,t)=>{if(t){let r=t.value;e[l]&&e[l](r.key,r.value),e[i]-=r.length,e[p].delete(r.key),e[u].removeNode(t);}};class E{constructor(e,t,r,n,i){this.key=e,this.value=t,this.length=r,this.now=n,this.maxAge=i||0;}}let y=(e,t,r,n)=>{let i=r.value;m(e,i)&&(v(e,r),e[s]||(i=void 0)),i&&t.call(n,i.value,i.key,e);};e.exports=class{constructor(e){if("number"==typeof e&&(e={max:e}),e||(e={}),e.max&&("number"!=typeof e.max||e.max<0))throw TypeError("max must be a non-negative number");this[n]=e.max||1/0;let t=e.length||f;if(this[o]="function"!=typeof t?f:t,this[s]=e.stale||!1,e.maxAge&&"number"!=typeof e.maxAge)throw TypeError("maxAge must be a number");this[a]=e.maxAge||0,this[l]=e.dispose,this[c]=e.noDisposeOnSet||!1,this[d]=e.updateAgeOnGet||!1,this.reset();}set max(e){if("number"!=typeof e||e<0)throw TypeError("max must be a non-negative number");this[n]=e||1/0,g(this);}get max(){return this[n];}set allowStale(e){this[s]=!!e;}get allowStale(){return this[s];}set maxAge(e){if("number"!=typeof e)throw TypeError("maxAge must be a non-negative number");this[a]=e,g(this);}get maxAge(){return this[a];}set lengthCalculator(e){"function"!=typeof e&&(e=f),e!==this[o]&&(this[o]=e,this[i]=0,this[u].forEach(e=>{e.length=this[o](e.value,e.key),this[i]+=e.length;})),g(this);}get lengthCalculator(){return this[o];}get length(){return this[i];}get itemCount(){return this[u].length;}rforEach(e,t){t=t||this;for(let r=this[u].tail;null!==r;){let n=r.prev;y(this,e,r,t),r=n;}}forEach(e,t){t=t||this;for(let r=this[u].head;null!==r;){let n=r.next;y(this,e,r,t),r=n;}}keys(){return this[u].toArray().map(e=>e.key);}values(){return this[u].toArray().map(e=>e.value);}reset(){this[l]&&this[u]&&this[u].length&&this[u].forEach(e=>this[l](e.key,e.value)),this[p]=new Map(),this[u]=new r(),this[i]=0;}dump(){return this[u].map(e=>!m(this,e)&&{k:e.key,v:e.value,e:e.now+(e.maxAge||0)}).toArray().filter(e=>e);}dumpLru(){return this[u];}set(e,t,r){if((r=r||this[a])&&"number"!=typeof r)throw TypeError("maxAge must be a number");let s=r?Date.now():0,d=this[o](t,e);if(this[p].has(e)){if(d>this[n])return v(this,this[p].get(e)),!1;let o=this[p].get(e),a=o.value;return this[l]&&!this[c]&&this[l](e,a.value),a.now=s,a.maxAge=r,a.value=t,this[i]+=d-a.length,a.length=d,this.get(e),g(this),!0;}let f=new E(e,t,d,s,r);return f.length>this[n]?(this[l]&&this[l](e,t),!1):(this[i]+=f.length,this[u].unshift(f),this[p].set(e,this[u].head),g(this),!0);}has(e){if(!this[p].has(e))return!1;let t=this[p].get(e).value;return!m(this,t);}get(e){return h(this,e,!0);}peek(e){return h(this,e,!1);}pop(){let e=this[u].tail;return e?(v(this,e),e.value):null;}del(e){v(this,this[p].get(e));}load(e){this.reset();let t=Date.now();for(let r=e.length-1;r>=0;r--){let n=e[r],i=n.e||0;if(0===i)this.set(n.k,n.v);else{let e=i-t;e>0&&this.set(n.k,n.v,e);}}}prune(){this[p].forEach((e,t)=>h(this,t,!1));}};}),rh.register("7o5x0",function(e,t){function r(e){var t=this;if(t instanceof r||(t=new r()),t.tail=null,t.head=null,t.length=0,e&&"function"==typeof e.forEach)e.forEach(function(e){t.push(e);});else if(arguments.length>0)for(var n=0,i=arguments.length;i>n;n++)t.push(arguments[n]);return t;}function n(e,t,r,i){if(!(this instanceof n))return new n(e,t,r,i);this.list=i,this.value=e,t?(t.next=this,this.prev=t):this.prev=null,r?(r.prev=this,this.next=r):this.next=null;}e.exports=r,r.Node=n,r.create=r,r.prototype.removeNode=function(e){if(e.list!==this)throw Error("removing node which does not belong to this list");var t=e.next,r=e.prev;return t&&(t.prev=r),r&&(r.next=t),e===this.head&&(this.head=t),e===this.tail&&(this.tail=r),e.list.length--,e.next=null,e.prev=null,e.list=null,t;},r.prototype.unshiftNode=function(e){if(e!==this.head){e.list&&e.list.removeNode(e);var t=this.head;e.list=this,e.next=t,t&&(t.prev=e),this.head=e,this.tail||(this.tail=e),this.length++;}},r.prototype.pushNode=function(e){if(e!==this.tail){e.list&&e.list.removeNode(e);var t=this.tail;e.list=this,e.prev=t,t&&(t.next=e),this.tail=e,this.head||(this.head=e),this.length++;}},r.prototype.push=function(){for(var e,t=0,r=arguments.length;r>t;t++)e=arguments[t],this.tail=new n(e,this.tail,null,this),this.head||(this.head=this.tail),this.length++;return this.length;},r.prototype.unshift=function(){for(var e,t=0,r=arguments.length;r>t;t++)e=arguments[t],this.head=new n(e,null,this.head,this),this.tail||(this.tail=this.head),this.length++;return this.length;},r.prototype.pop=function(){if(this.tail){var e=this.tail.value;return this.tail=this.tail.prev,this.tail?this.tail.next=null:this.head=null,this.length--,e;}},r.prototype.shift=function(){if(this.head){var e=this.head.value;return this.head=this.head.next,this.head?this.head.prev=null:this.tail=null,this.length--,e;}},r.prototype.forEach=function(e,t){t=t||this;for(var r=this.head,n=0;null!==r;n++)e.call(t,r.value,n,this),r=r.next;},r.prototype.forEachReverse=function(e,t){t=t||this;for(var r=this.tail,n=this.length-1;null!==r;n--)e.call(t,r.value,n,this),r=r.prev;},r.prototype.get=function(e){for(var t=0,r=this.head;null!==r&&e>t;t++)r=r.next;if(t===e&&null!==r)return r.value;},r.prototype.getReverse=function(e){for(var t=0,r=this.tail;null!==r&&e>t;t++)r=r.prev;if(t===e&&null!==r)return r.value;},r.prototype.map=function(e,t){t=t||this;for(var n=new r(),i=this.head;null!==i;)n.push(e.call(t,i.value,this)),i=i.next;return n;},r.prototype.mapReverse=function(e,t){t=t||this;for(var n=new r(),i=this.tail;null!==i;)n.push(e.call(t,i.value,this)),i=i.prev;return n;},r.prototype.reduce=function(e,t){var r,n=this.head;if(arguments.length>1)r=t;else if(this.head)n=this.head.next,r=this.head.value;else throw TypeError("Reduce of empty list with no initial value");for(var i=0;null!==n;i++)r=e(r,n.value,i),n=n.next;return r;},r.prototype.reduceReverse=function(e,t){var r,n=this.tail;if(arguments.length>1)r=t;else if(this.tail)n=this.tail.prev,r=this.tail.value;else throw TypeError("Reduce of empty list with no initial value");for(var i=this.length-1;null!==n;i--)r=e(r,n.value,i),n=n.prev;return r;},r.prototype.toArray=function(){for(var e=Array(this.length),t=0,r=this.head;null!==r;t++)e[t]=r.value,r=r.next;return e;},r.prototype.toArrayReverse=function(){for(var e=Array(this.length),t=0,r=this.tail;null!==r;t++)e[t]=r.value,r=r.prev;return e;},r.prototype.slice=function(e,t){(t=t||this.length)<0&&(t+=this.length),(e=e||0)<0&&(e+=this.length);var n=new r();if(tthis.length&&(t=this.length);for(var i=0,o=this.head;null!==o&&ii;i++,o=o.next)n.push(o.value);return n;},r.prototype.sliceReverse=function(e,t){(t=t||this.length)<0&&(t+=this.length),(e=e||0)<0&&(e+=this.length);var n=new r();if(tthis.length&&(t=this.length);for(var i=this.length,o=this.tail;null!==o&&i>t;i--)o=o.prev;for(;null!==o&&i>e;i--,o=o.prev)n.push(o.value);return n;},r.prototype.splice=function(e,t,...r){e>this.length&&(e=this.length-1),e<0&&(e=this.length+e);for(var i=0,o=this.head;null!==o&&e>i;i++)o=o.next;for(var s=[],i=0;o&&i{try{t=new r(t,n);}catch(e){return!1;}return t.test(e);};}),rh.register("lCDwg",function(e,t){var r=rh("bGbOH");e.exports=(e,t)=>new r(e,t).set.map(e=>e.map(e=>e.value).join(" ").trim().split(" "));}),rh.register("iLpkq",function(e,t){var r=rh("fYigo"),n=rh("bGbOH");e.exports=(e,t,i)=>{let o=null,s=null,a=null;try{a=new n(t,i);}catch(e){return null;}return e.forEach(e=>{a.test(e)&&(!o||-1===s.compare(e))&&(o=e,s=new r(o,i));}),o;};}),rh.register("gEzC5",function(e,t){var r=rh("fYigo"),n=rh("bGbOH");e.exports=(e,t,i)=>{let o=null,s=null,a=null;try{a=new n(t,i);}catch(e){return null;}return e.forEach(e=>{a.test(e)&&(!o||1===s.compare(e))&&(o=e,s=new r(o,i));}),o;};}),rh.register("kOEjN",function(e,t){var r=rh("fYigo"),n=rh("bGbOH"),i=rh("gtqtv");e.exports=(e,t)=>{e=new n(e,t);let o=new r("0.0.0");if(e.test(o)||(o=new r("0.0.0-0"),e.test(o)))return o;o=null;for(let t=0;t{let 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">=":(!s||i(t,s))&&(s=t);break;case"<":case"<=":break;default:throw Error("Unexpected operation: "+e.operator);}}),s&&(!o||i(o,s))&&(o=s);}return o&&e.test(o)?o:null;};}),rh.register("lSCGC",function(e,t){var r=rh("bGbOH");e.exports=(e,t)=>{try{return new r(e,t).range||"*";}catch(e){return null;}};}),rh.register("kRbmr",function(e,t){var r=rh("fYigo"),n=rh("7BD2X");let{ANY:i}=n;var o=rh("bGbOH"),s=rh("eLOWZ"),a=rh("gtqtv"),l=rh("3Nc7w"),c=rh("fAXcL"),u=rh("1Ucjm");e.exports=(e,t,p,d)=>{let f,h,m,g,v;switch(e=new r(e,d),t=new o(t,d),p){case">":f=a,h=c,m=l,g=">",v=">=";break;case"<":f=l,h=u,m=a,g="<",v="<=";break;default:throw TypeError('Must provide a hilo val of "<" or ">"');}if(s(e,t,d))return!1;for(let r=0;r{e.semver===i&&(e=new n(">=0.0.0")),s=s||e,a=a||e,f(e.semver,s.semver,d)?s=e:m(e.semver,a.semver,d)&&(a=e);}),s.operator===g||s.operator===v||(!a.operator||a.operator===g)&&h(e,a.semver)||a.operator===v&&m(e,a.semver))return!1;}return!0;};}),rh.register("jjglH",function(e,t){var r=rh("kRbmr");e.exports=(e,t,n)=>r(e,t,">",n);}),rh.register("52D05",function(e,t){var r=rh("kRbmr");e.exports=(e,t,n)=>r(e,t,"<",n);}),rh.register("3lRwj",function(e,t){var r=rh("bGbOH");e.exports=(e,t,n)=>(e=new r(e,n),t=new r(t,n),e.intersects(t,n));}),rh.register("ahb6l",function(e,t){var r=rh("eLOWZ"),n=rh("eSzHt");e.exports=(e,t,i)=>{let o=[],s=null,a=null,l=e.sort((e,t)=>n(e,t,i));for(let e of l){let n=r(e,t,i);n?(a=e,s||(s=e)):(a&&o.push([s,a]),a=null,s=null);}s&&o.push([s,null]);let c=[];for(let[e,t]of o)e===t?c.push(e):t||e!==l[0]?t?e===l[0]?c.push("<="+t):c.push(`${e} - ${t}`):c.push(">="+e):c.push("*");let u=c.join(" || "),p="string"==typeof t.raw?t.raw:t+"";return u.length=0.0.0-0")],l=[new n(">=0.0.0")],c=(e,t,r)=>{let n,c,d,f,h,m,g;if(e===t)return!0;if(1===e.length&&e[0].semver===i){if(1===t.length&&t[0].semver===i)return!0;e=r.includePrerelease?a:l;}if(1===t.length&&t[0].semver===i){if(r.includePrerelease)return!0;t=l;}let v=new Set();for(let t of e)">"===t.operator||">="===t.operator?n=u(n,t,r):"<"===t.operator||"<="===t.operator?c=p(c,t,r):v.add(t.semver);if(v.size>1||n&&c&&((d=s(n.semver,c.semver,r))>0||0===d&&(">="!==n.operator||"<="!==c.operator)))return null;for(let e of v){if(n&&!o(e,n+"",r)||c&&!o(e,c+"",r))return null;for(let n of t)if(!o(e,n+"",r))return!1;return!0;}let E=!!c&&!r.includePrerelease&&!!c.semver.prerelease.length&&c.semver,y=!!n&&!r.includePrerelease&&!!n.semver.prerelease.length&&n.semver;for(let e of(E&&1===E.prerelease.length&&"<"===c.operator&&0===E.prerelease[0]&&(E=!1),t)){if(g=g||">"===e.operator||">="===e.operator,m=m||"<"===e.operator||"<="===e.operator,n){if(y&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===y.major&&e.semver.minor===y.minor&&e.semver.patch===y.patch&&(y=!1),">"===e.operator||">="===e.operator){if((f=u(n,e,r))===e&&f!==n)return!1;}else if(">="===n.operator&&!o(n.semver,e+"",r))return!1;}if(c){if(E&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===E.major&&e.semver.minor===E.minor&&e.semver.patch===E.patch&&(E=!1),"<"===e.operator||"<="===e.operator){if((h=p(c,e,r))===e&&h!==c)return!1;}else if("<="===c.operator&&!o(c.semver,e+"",r))return!1;}if(!e.operator&&(c||n)&&0!==d)return!1;}return(!n||!m||!!c||0===d)&&(!c||!g||!!n||0===d)&&!y&&!E;},u=(e,t,r)=>{if(!e)return t;let n=s(e.semver,t.semver,r);return n>0?e:n<0?t:">"===t.operator&&">="===e.operator?t:e;},p=(e,t,r)=>{if(!e)return t;let n=s(e.semver,t.semver,r);return n<0?e:n>0?t:"<"===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 i=!1;e:for(let r of e.set){for(let e of t.set){let t=c(r,e,n);if(i=i||null!==t,t)continue e;}if(i)return!1;}return!0;};}),rh.register("eaZtc",function(e,t){e.exports=function(e){if("string"!=typeof e)throw TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&");};}),rh.register("3WkGD",function(e,t){async function r(e){try{return await(0,t6.promises).access(e),!0;}catch{return!1;}}l(e.exports,"pathExists",()=>r);}),rh.register("A8hFE",function(e,t){var r,n,i,o,s,a,u,p,d,f,h,m,g;function v(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 E(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0});}function y(e,t=!0){return t?(0,ip.basename)(e):(0,ip.basename)(e,(0,ip.extname)(e));}function w(e){return(0,ip.normalize)(e).replace(RegExp((0,r.default)(ip.sep)+"$"),"");}function x(e,t=".exe",r=""){return"win32"===process.platform?`${e}${t}`:`${e}${r}`;}function b(e,t){let r=(0,ip.extname)(e),n=`${t}${(0,ip.basename)(e,r)}${r}`;return(0,ip.join)((0,ip.dirname)(e),n);}function S(e,t){let r=(0,ip.extname)(e),n=`${(0,ip.basename)(e,r)}${t}${r}`;return(0,ip.join)((0,ip.dirname)(e),n);}function I(e,t=".cmd",r=".sh"){return"win32"===process.platform?`${e}${t}`:`${e}${r}`;}function O(e){return"win32"===process.platform?e:"./"+e;}function R(e){let t=(0,ip.extname)(e).length;return e.slice(0,-t);}function T(e,t){return c(n)(e,t);}function C(e,t){let r=(0,ip.relative)(t,e);return!(!r||".."===r||r.startsWith(".."+ip.sep)||r===(0,ip.resolve)(e));}l(e.exports,"addExeExt",()=>x),l(e.exports,"addShExt",()=>I),l(e.exports,"addShRelativePrefix",()=>O),l(e.exports,"dirname",()=>ip.dirname),l(e.exports,"join",()=>ip.join),r=rh("9O4vc"),n=rh("eVYO7"),i={},E(o={},"name",()=>y),E(s={},"normalizeTrim",()=>w),E(a={},"addExeExt",()=>x),E(u={},"addNamePrefix",()=>b),E(p={},"addNameSuffix",()=>S),E(d={},"addShExt",()=>I),E(f={},"addShRelativePrefix",()=>O),E(h={},"removeExt",()=>R),E(m={},"replaceExt",()=>T),E(g={},"isPathInside",()=>C),v(i,o),v(i,s),v(i,a),v(i,u),v(i,p),v(i,d),v(i,f),v(i,h),v(i,m),v(i,g);}),rh.register("9O4vc",function(e,t){function r(e){if("string"!=typeof e)throw TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d");}l(e.exports,"default",()=>r);}),rh.register("eVYO7",function(e,t){e.exports=function(e,t){if("string"!=typeof e||0===e.length)return e;var r,n=ip.basename(e,ip.extname(e))+t,i=ip.join(ip.dirname(e),n);return(r=e.slice(0,2),r==="."+ip.sep||"./"===r)?"."+ip.sep+i:i;};}),rh.register("kSdX3",function(e,t){var r,n,i,o;function s(e){return o(this,void 0,void 0,function*(){if(p.IS_WINDOWS&&/[*"<>|]/.test(e))throw Error('File path must not contain `*`, `"`, `<`, `>` or `|` on Windows');try{yield p.rm(e,{force:!0,maxRetries:3,recursive:!0,retryDelay:300});}catch(e){throw Error("File was unable to be removed "+e);}});}function a(e){return o(this,void 0,void 0,function*(){t3.ok(e,"a path argument must be provided"),yield p.mkdir(e,{recursive:!0});});}function l(e){return o(this,void 0,void 0,function*(){if(!e)throw Error("parameter 'tool' is required");let t=[];if(p.IS_WINDOWS&&process.env.PATHEXT)for(let e of process.env.PATHEXT.split(u.delimiter))e&&t.push(e);if(p.isRooted(e)){let r=yield p.tryGetExecutablePath(e,t);return r?[r]:[];}if(e.includes(u.sep))return[];let r=[];if(process.env.PATH)for(let e of process.env.PATH.split(u.delimiter))e&&r.push(e);let n=[];for(let i of r){let r=yield p.tryGetExecutablePath(u.join(i,e),t);r&&n.push(r);}return n;});}function c(e,t,r){return o(this,void 0,void 0,function*(){if((yield p.lstat(e)).isSymbolicLink()){try{yield p.lstat(t),yield p.unlink(t);}catch(e){"EPERM"===e.code&&(yield p.chmod(t,"0666"),yield p.unlink(t));}let r=yield p.readlink(e);yield p.symlink(r,t,p.IS_WINDOWS?"junction":null);}else(!(yield p.exists(t))||r)&&(yield p.copyFile(e,t));});}r=e.exports&&e.exports.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r];}});}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r];}),n=e.exports&&e.exports.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),i=e.exports&&e.exports.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&r(t,e,i);return n(t,e),t;},o=e.exports&&e.exports.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e));}catch(e){o(e);}}function a(e){try{l(n.throw(e));}catch(e){o(e);}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t);})).then(s,a);}l((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;let u=i(ip),p=i(rh("11Ly6"));e.exports.cp=function(e,t,r={}){return o(this,void 0,void 0,function*(){let{force:n,recursive:i,copySourceDirectory:s}=function(e){let t=null==e.force||e.force,r=!!e.recursive,n=null==e.copySourceDirectory||!!e.copySourceDirectory;return{force:t,recursive:r,copySourceDirectory:n};}(r),l=(yield p.exists(t))?yield p.stat(t):null;if(l&&l.isFile()&&!n)return;let d=l&&l.isDirectory()&&s?u.join(t,u.basename(e)):t;if(!(yield p.exists(e)))throw Error("no such file or directory: "+e);let f=yield p.stat(e);if(f.isDirectory()){if(i)yield function e(t,r,n,i){return o(this,void 0,void 0,function*(){if(n>=255)return;n++,yield a(r);let o=yield p.readdir(t);for(let s of o){let o=`${t}/${s}`,a=`${r}/${s}`,l=yield p.lstat(o);l.isDirectory()?yield e(o,a,n,i):yield c(o,a,i);}yield p.chmod(r,(yield p.stat(t)).mode);});}(e,d,0,n);else throw Error(`Failed to copy. ${e} is a directory, but tried to copy without recursive flag.`);}else{if(""===u.relative(e,d))throw Error(`'${d}' and '${e}' are the same file`);yield c(e,d,n);}});},e.exports.mv=function(e,t,r={}){return o(this,void 0,void 0,function*(){if(yield p.exists(t)){let n=!0;if((yield p.isDirectory(t))&&(t=u.join(t,u.basename(e)),n=yield p.exists(t)),n){if(null==r.force||r.force)yield s(t);else throw Error("Destination already exists");}}yield a(u.dirname(t)),yield p.rename(e,t);});},e.exports.rmRF=s,e.exports.mkdirP=a,e.exports.which=function e(t,r){return o(this,void 0,void 0,function*(){if(!t)throw Error("parameter 'tool' is required");if(r){let r=yield e(t,!1);if(!r){if(p.IS_WINDOWS)throw Error(`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.`);throw Error(`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;}let n=yield l(t);return n&&n.length>0?n[0]:"";});},e.exports.findInPath=l;}),rh.register("11Ly6",function(e,t){var r,n,i,o,s;function a(e){return(1&e.mode)>0||(8&e.mode)>0&&e.gid===process.getgid()||(64&e.mode)>0&&e.uid===process.getuid();}r=e.exports&&e.exports.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r];}});}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r];}),n=e.exports&&e.exports.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),i=e.exports&&e.exports.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&r(t,e,i);return n(t,e),t;},o=e.exports&&e.exports.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e));}catch(e){o(e);}}function a(e){try{l(n.throw(e));}catch(e){o(e);}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t);})).then(s,a);}l((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.READONLY=e.exports.UV_FS_O_EXLOCK=e.exports.IS_WINDOWS=e.exports.unlink=e.exports.symlink=e.exports.stat=e.exports.rmdir=e.exports.rm=e.exports.rename=e.exports.readlink=e.exports.readdir=e.exports.open=e.exports.mkdir=e.exports.lstat=e.exports.copyFile=e.exports.chmod=void 0;let l=i(id),c=i(ip);s=l.promises,e.exports.chmod=s.chmod,e.exports.copyFile=s.copyFile,e.exports.lstat=s.lstat,e.exports.mkdir=s.mkdir,e.exports.open=s.open,e.exports.readdir=s.readdir,e.exports.readlink=s.readlink,e.exports.rename=s.rename,e.exports.rm=s.rm,e.exports.rmdir=s.rmdir,e.exports.stat=s.stat,e.exports.symlink=s.symlink,e.exports.unlink=s.unlink,e.exports.IS_WINDOWS="win32"===process.platform,e.exports.UV_FS_O_EXLOCK=268435456,e.exports.READONLY=l.constants.O_RDONLY,e.exports.exists=function(t){return o(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 o(this,void 0,void 0,function*(){let n=r?yield e.exports.stat(t):yield e.exports.lstat(t);return n.isDirectory();});},e.exports.isRooted=function(t){var r;if(r=(r=t)||"",!(t=e.exports.IS_WINDOWS?(r=r.replace(/\//g,"\\")).replace(/\\\\+/g,"\\"):r.replace(/\/\/+/g,"/")))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,r){return o(this,void 0,void 0,function*(){let n;try{n=yield e.exports.stat(t);}catch(e){"ENOENT"!==e.code&&console.log(`Unexpected error attempting to determine if executable file exists '${t}': ${e}`);}if(n&&n.isFile()){if(e.exports.IS_WINDOWS){let e=c.extname(t).toUpperCase();if(r.some(t=>t.toUpperCase()===e))return t;}else if(a(n))return t;}let i=t;for(let o of r){t=i+o,n=void 0;try{n=yield e.exports.stat(t);}catch(e){"ENOENT"!==e.code&&console.log(`Unexpected error attempting to determine if executable file exists '${t}': ${e}`);}if(n&&n.isFile()){if(e.exports.IS_WINDOWS){try{let r=c.dirname(t),n=c.basename(t).toUpperCase();for(let i of yield e.exports.readdir(r))if(n===i.toUpperCase()){t=c.join(r,i);break;}}catch(e){console.log(`Unexpected error attempting to determine the actual case of the file '${t}': ${e}`);}return t;}if(a(n))return t;}}return"";});},e.exports.getCmdPath=function(){var e;return null!==(e=process.env.COMSPEC)&&void 0!==e?e:"cmd.exe";};}),rh.register("8kgpT",function(e,t){var r,n,i,o,s;r=e.exports&&e.exports.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r];}});}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r];}),n=e.exports&&e.exports.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),i=e.exports&&e.exports.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&r(t,e,i);return n(t,e),t;},o=e.exports&&e.exports.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e));}catch(e){o(e);}}function a(e){try{l(n.throw(e));}catch(e){o(e);}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t);})).then(s,a);}l((n=n.apply(e,t||[])).next());});},Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports._readLinuxVersionFile=e.exports._getOsVersion=e.exports._findMatch=void 0;let a=i(rh("3BvyU"));s=rh("2heqc"),e.exports._findMatch=function(t,r,n,i){return o(this,void 0,void 0,function*(){let o,l,c;let u=iu.platform();for(let o of n){let n=o.version;if(s.debug(`check ${n} satisfies ${t}`),a.satisfies(n,t)&&(!r||o.stable===r)&&(c=o.files.find(t=>{s.debug(`${t.arch}===${i} && ${t.platform}===${u}`);let r=t.arch===i&&t.platform===u;if(r&&t.platform_version){let n=e.exports._getOsVersion();r=n===t.platform_version||a.satisfies(n,t.platform_version);}return r;}))){s.debug("matched "+o.version),l=o;break;}}return l&&c&&((o=Object.assign({},l)).files=[c]),o;});},e.exports._getOsVersion=function(){let t=iu.platform(),r="";if("darwin"===t)r=t8.execSync("sw_vers -productVersion").toString();else if("linux"===t){let t=e.exports._readLinuxVersionFile();if(t){let e=t.split("\n");for(let t of e){let 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=function(){let e="/etc/lsb-release",t="/etc/os-release",r="";return id.existsSync(e)?r=id.readFileSync(e).toString():id.existsSync(t)&&(r=id.readFileSync(t).toString()),r;};}),rh.register("3BvyU",function(e,t){function r(e){A[e]=$++;}function n(e){for(var t=0;tS||!(t.loose?T[A.LOOSE]:T[A.FULL]).test(e))return null;try{return new o(e,t);}catch(e){return null;}}function o(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof o){if(e.loose===t.loose)return e;e=e.version;}else if("string"!=typeof e)throw TypeError("Invalid Version: "+e);if(e.length>S)throw TypeError("version is longer than "+S+" characters");if(!(this instanceof o))return new o(e,t);b("SemVer",e,t),this.options=t,this.loose=!!t.loose;var r=e.trim().match(t.loose?T[A.LOOSE]:T[A.FULL]);if(!r)throw TypeError("Invalid Version: "+e);if(this.raw=e,this.major=+r[1],this.minor=+r[2],this.patch=+r[3],this.major>I||this.major<0)throw TypeError("Invalid major version");if(this.minor>I||this.minor<0)throw TypeError("Invalid minor version");if(this.patch>I||this.patch<0)throw TypeError("Invalid patch version");r[4]?this.prerelease=r[4].split(".").map(function(e){if(/^[0-9]+$/.test(e)){var t=+e;if(t>=0&&te?-1:1;}function a(e,t,r){return new o(e,r).compare(new o(t,r));}function l(e,t,r){return a(e,t,r)>0;}function c(e,t,r){return 0>a(e,t,r);}function u(e,t,r){return 0===a(e,t,r);}function p(e,t,r){return 0!==a(e,t,r);}function d(e,t,r){return a(e,t,r)>=0;}function f(e,t,r){return 0>=a(e,t,r);}function h(e,t,r,n){switch(t){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof r&&(r=r.version),e===r;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof r&&(r=r.version),e!==r;case"":case"=":case"==":return u(e,r,n);case"!=":return p(e,r,n);case">":return l(e,r,n);case">=":return d(e,r,n);case"<":return c(e,r,n);case"<=":return f(e,r,n);default:throw TypeError("Invalid operator: "+t);}}function m(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof m){if(!!t.loose===e.loose)return e;e=e.value;}if(!(this instanceof m))return new m(e,t);b("comparator",e=e.trim().split(/\s+/).join(" "),t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===L?this.value="":this.value=this.operator+this.semver.version,b("comp",this);}function g(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof g)return!!t.loose===e.loose&&!!t.includePrerelease===e.includePrerelease?e:new g(e.raw,t);if(e instanceof m)return new g(e.value,t);if(!(this instanceof g))return new g(e,t);if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map(function(e){return this.parseRange(e.trim());},this).filter(function(e){return e.length;}),!this.set.length)throw TypeError("Invalid SemVer Range: "+this.raw);this.format();}function v(e,t){for(var r=!0,n=e.slice(),i=n.pop();r&&n.length;)r=n.every(function(e){return i.intersects(e,t);}),i=n.pop();return r;}function E(e){return!e||"x"===e.toLowerCase()||"*"===e;}function y(e,t,r,n,i,o,s,a,l,c,u,p,d){return((t=E(r)?"":E(n)?">="+r+".0.0":E(i)?">="+r+"."+n+".0":">="+t)+" "+(a=E(l)?"":E(c)?"<"+(+l+1)+".0.0":E(u)?"<"+l+"."+(+c+1)+".0":p?"<="+l+"."+c+"."+u+"-"+p:"<="+a)).trim();}function w(e,t,r){try{t=new g(t,r);}catch(e){return!1;}return t.test(e);}function x(e,t,r,n){switch(e=new o(e,n),t=new g(t,n),r){case">":i=l,s=f,a=c,u=">",p=">=";break;case"<":i=c,s=d,a=l,u="<",p="<=";break;default:throw TypeError('Must provide a hilo val of "<" or ">"');}if(w(e,t,n))return!1;for(var i,s,a,u,p,h=0;h=0.0.0")),E=E||e,y=y||e,i(e.semver,E.semver,n)?E=e:a(e.semver,y.semver,n)&&(y=e);}),E.operator===u||E.operator===p||(!y.operator||y.operator===u)&&s(e,y.semver)||y.operator===p&&a(e,y.semver))return!1;}return!0;}t=e.exports=o,b="object"==typeof process&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?function(){var e=Array.prototype.slice.call(arguments,0);e.unshift("SEMVER"),console.log.apply(console,e);}:function(){},t.SEMVER_SPEC_VERSION="2.0.0",S=256,I=Number.MAX_SAFE_INTEGER||9007199254740991,O=S-6,R=t.re=[],T=t.safeRe=[],C=t.src=[],A=t.tokens={},$=0,P=[["\\s",1],["\\d",S],[_="[a-zA-Z0-9-]",O]],r("NUMERICIDENTIFIER"),C[A.NUMERICIDENTIFIER]="0|[1-9]\\d*",r("NUMERICIDENTIFIERLOOSE"),C[A.NUMERICIDENTIFIERLOOSE]="\\d+",r("NONNUMERICIDENTIFIER"),C[A.NONNUMERICIDENTIFIER]="\\d*[a-zA-Z-]"+_+"*",r("MAINVERSION"),C[A.MAINVERSION]="("+C[A.NUMERICIDENTIFIER]+")\\.("+C[A.NUMERICIDENTIFIER]+")\\.("+C[A.NUMERICIDENTIFIER]+")",r("MAINVERSIONLOOSE"),C[A.MAINVERSIONLOOSE]="("+C[A.NUMERICIDENTIFIERLOOSE]+")\\.("+C[A.NUMERICIDENTIFIERLOOSE]+")\\.("+C[A.NUMERICIDENTIFIERLOOSE]+")",r("PRERELEASEIDENTIFIER"),C[A.PRERELEASEIDENTIFIER]="(?:"+C[A.NUMERICIDENTIFIER]+"|"+C[A.NONNUMERICIDENTIFIER]+")",r("PRERELEASEIDENTIFIERLOOSE"),C[A.PRERELEASEIDENTIFIERLOOSE]="(?:"+C[A.NUMERICIDENTIFIERLOOSE]+"|"+C[A.NONNUMERICIDENTIFIER]+")",r("PRERELEASE"),C[A.PRERELEASE]="(?:-("+C[A.PRERELEASEIDENTIFIER]+"(?:\\."+C[A.PRERELEASEIDENTIFIER]+")*))",r("PRERELEASELOOSE"),C[A.PRERELEASELOOSE]="(?:-?("+C[A.PRERELEASEIDENTIFIERLOOSE]+"(?:\\."+C[A.PRERELEASEIDENTIFIERLOOSE]+")*))",r("BUILDIDENTIFIER"),C[A.BUILDIDENTIFIER]=_+"+",r("BUILD"),C[A.BUILD]="(?:\\+("+C[A.BUILDIDENTIFIER]+"(?:\\."+C[A.BUILDIDENTIFIER]+")*))",r("FULL"),r("FULLPLAIN"),C[A.FULLPLAIN]="v?"+C[A.MAINVERSION]+C[A.PRERELEASE]+"?"+C[A.BUILD]+"?",C[A.FULL]="^"+C[A.FULLPLAIN]+"$",r("LOOSEPLAIN"),C[A.LOOSEPLAIN]="[v=\\s]*"+C[A.MAINVERSIONLOOSE]+C[A.PRERELEASELOOSE]+"?"+C[A.BUILD]+"?",r("LOOSE"),C[A.LOOSE]="^"+C[A.LOOSEPLAIN]+"$",r("GTLT"),C[A.GTLT]="((?:<|>)?=?)",r("XRANGEIDENTIFIERLOOSE"),C[A.XRANGEIDENTIFIERLOOSE]=C[A.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*",r("XRANGEIDENTIFIER"),C[A.XRANGEIDENTIFIER]=C[A.NUMERICIDENTIFIER]+"|x|X|\\*",r("XRANGEPLAIN"),C[A.XRANGEPLAIN]="[v=\\s]*("+C[A.XRANGEIDENTIFIER]+")(?:\\.("+C[A.XRANGEIDENTIFIER]+")(?:\\.("+C[A.XRANGEIDENTIFIER]+")(?:"+C[A.PRERELEASE]+")?"+C[A.BUILD]+"?)?)?",r("XRANGEPLAINLOOSE"),C[A.XRANGEPLAINLOOSE]="[v=\\s]*("+C[A.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+C[A.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+C[A.XRANGEIDENTIFIERLOOSE]+")(?:"+C[A.PRERELEASELOOSE]+")?"+C[A.BUILD]+"?)?)?",r("XRANGE"),C[A.XRANGE]="^"+C[A.GTLT]+"\\s*"+C[A.XRANGEPLAIN]+"$",r("XRANGELOOSE"),C[A.XRANGELOOSE]="^"+C[A.GTLT]+"\\s*"+C[A.XRANGEPLAINLOOSE]+"$",r("COERCE"),C[A.COERCE]="(^|[^\\d])(\\d{1,16})(?:\\.(\\d{1,16}))?(?:\\.(\\d{1,16}))?(?:$|[^\\d])",r("COERCERTL"),R[A.COERCERTL]=RegExp(C[A.COERCE],"g"),T[A.COERCERTL]=RegExp(n(C[A.COERCE]),"g"),r("LONETILDE"),C[A.LONETILDE]="(?:~>?)",r("TILDETRIM"),C[A.TILDETRIM]="(\\s*)"+C[A.LONETILDE]+"\\s+",R[A.TILDETRIM]=RegExp(C[A.TILDETRIM],"g"),T[A.TILDETRIM]=RegExp(n(C[A.TILDETRIM]),"g"),r("TILDE"),C[A.TILDE]="^"+C[A.LONETILDE]+C[A.XRANGEPLAIN]+"$",r("TILDELOOSE"),C[A.TILDELOOSE]="^"+C[A.LONETILDE]+C[A.XRANGEPLAINLOOSE]+"$",r("LONECARET"),C[A.LONECARET]="(?:\\^)",r("CARETTRIM"),C[A.CARETTRIM]="(\\s*)"+C[A.LONECARET]+"\\s+",R[A.CARETTRIM]=RegExp(C[A.CARETTRIM],"g"),T[A.CARETTRIM]=RegExp(n(C[A.CARETTRIM]),"g"),r("CARET"),C[A.CARET]="^"+C[A.LONECARET]+C[A.XRANGEPLAIN]+"$",r("CARETLOOSE"),C[A.CARETLOOSE]="^"+C[A.LONECARET]+C[A.XRANGEPLAINLOOSE]+"$",r("COMPARATORLOOSE"),C[A.COMPARATORLOOSE]="^"+C[A.GTLT]+"\\s*("+C[A.LOOSEPLAIN]+")$|^$",r("COMPARATOR"),C[A.COMPARATOR]="^"+C[A.GTLT]+"\\s*("+C[A.FULLPLAIN]+")$|^$",r("COMPARATORTRIM"),C[A.COMPARATORTRIM]="(\\s*)"+C[A.GTLT]+"\\s*("+C[A.LOOSEPLAIN]+"|"+C[A.XRANGEPLAIN]+")",R[A.COMPARATORTRIM]=RegExp(C[A.COMPARATORTRIM],"g"),T[A.COMPARATORTRIM]=RegExp(n(C[A.COMPARATORTRIM]),"g"),r("HYPHENRANGE"),C[A.HYPHENRANGE]="^\\s*("+C[A.XRANGEPLAIN]+")\\s+-\\s+("+C[A.XRANGEPLAIN]+")\\s*$",r("HYPHENRANGELOOSE"),C[A.HYPHENRANGELOOSE]="^\\s*("+C[A.XRANGEPLAINLOOSE]+")\\s+-\\s+("+C[A.XRANGEPLAINLOOSE]+")\\s*$",r("STAR"),C[A.STAR]="(<|>)?=?\\s*\\*";for(var b,S,I,O,R,T,C,A,$,_,P,N,L,D=0;D<$;D++)b(D,C[D]),R[D]||(R[D]=new RegExp(C[D]),T[D]=new RegExp(n(C[D])));t.parse=i,t.valid=function(e,t){var r=i(e,t);return r?r.version:null;},t.clean=function(e,t){var r=i(e.trim().replace(/^[=v]+/,""),t);return r?r.version:null;},t.SemVer=o,o.prototype.format=function(){return this.version=this.major+"."+this.minor+"."+this.patch,this.prerelease.length&&(this.version+="-"+this.prerelease.join(".")),this.version;},o.prototype.toString=function(){return this.version;},o.prototype.compare=function(e){return b("SemVer.compare",this.version,this.options,e),e instanceof o||(e=new o(e,this.options)),this.compareMain(e)||this.comparePre(e);},o.prototype.compareMain=function(e){return e instanceof o||(e=new o(e,this.options)),s(this.major,e.major)||s(this.minor,e.minor)||s(this.patch,e.patch);},o.prototype.comparePre=function(e){if(e instanceof o||(e=new o(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;var t=0;do{var r=this.prerelease[t],n=e.prerelease[t];if(b("prerelease compare",t,r,n),void 0===r&&void 0===n)return 0;if(void 0===n)return 1;if(void 0===r)return-1;else if(r===n)continue;else return s(r,n);}while(++t);},o.prototype.compareBuild=function(e){e instanceof o||(e=new o(e,this.options));var t=0;do{var r=this.build[t],n=e.build[t];if(b("prerelease compare",t,r,n),void 0===r&&void 0===n)return 0;if(void 0===n)return 1;if(void 0===r)return-1;else if(r===n)continue;else return s(r,n);}while(++t);},o.prototype.inc=function(e,t){switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t),this.inc("pre",t);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",t),this.inc("pre",t);break;case"major":(0!==this.minor||0!==this.patch||0===this.prerelease.length)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(0!==this.patch||0===this.prerelease.length)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":if(0===this.prerelease.length)this.prerelease=[0];else{for(var r=this.prerelease.length;--r>=0;)"number"==typeof this.prerelease[r]&&(this.prerelease[r]++,r=-2);-1===r&&this.prerelease.push(0);}t&&(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;},t.inc=function(e,t,r,n){"string"==typeof r&&(n=r,r=void 0);try{return new o(e,r).inc(t,n).version;}catch(e){return null;}},t.diff=function(e,t){if(u(e,t))return null;var r=i(e),n=i(t),o="";if(r.prerelease.length||n.prerelease.length){o="pre";var s="prerelease";}for(var a in r)if(("major"===a||"minor"===a||"patch"===a)&&r[a]!==n[a])return o+a;return s;},t.compareIdentifiers=s,N=/^[0-9]+$/,t.rcompareIdentifiers=function(e,t){return s(t,e);},t.major=function(e,t){return new o(e,t).major;},t.minor=function(e,t){return new o(e,t).minor;},t.patch=function(e,t){return new o(e,t).patch;},t.compare=a,t.compareLoose=function(e,t){return a(e,t,!0);},t.compareBuild=function(e,t,r){var n=new o(e,r),i=new o(t,r);return n.compare(i)||n.compareBuild(i);},t.rcompare=function(e,t,r){return a(t,e,r);},t.sort=function(e,r){return e.sort(function(e,n){return t.compareBuild(e,n,r);});},t.rsort=function(e,r){return e.sort(function(e,n){return t.compareBuild(n,e,r);});},t.gt=l,t.lt=c,t.eq=u,t.neq=p,t.gte=d,t.lte=f,t.cmp=h,t.Comparator=m,L={},m.prototype.parse=function(e){var t=this.options.loose?T[A.COMPARATORLOOSE]:T[A.COMPARATOR],r=e.match(t);if(!r)throw TypeError("Invalid comparator: "+e);this.operator=void 0!==r[1]?r[1]:"","="===this.operator&&(this.operator=""),r[2]?this.semver=new o(r[2],this.options.loose):this.semver=L;},m.prototype.toString=function(){return this.value;},m.prototype.test=function(e){if(b("Comparator.test",e,this.options.loose),this.semver===L||e===L)return!0;if("string"==typeof e)try{e=new o(e,this.options);}catch(e){return!1;}return h(e,this.operator,this.semver,this.options);},m.prototype.intersects=function(e,t){if(!(e instanceof m))throw TypeError("a Comparator is required");if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),""===this.operator)return""===this.value||(r=new g(e.value,t),w(this.value,r,t));if(""===e.operator)return""===e.value||(r=new g(this.value,t),w(e.semver,r,t));var r,n=(">="===this.operator||">"===this.operator)&&(">="===e.operator||">"===e.operator),i=("<="===this.operator||"<"===this.operator)&&("<="===e.operator||"<"===e.operator),o=this.semver.version===e.semver.version,s=(">="===this.operator||"<="===this.operator)&&(">="===e.operator||"<="===e.operator),a=h(this.semver,"<",e.semver,t)&&(">="===this.operator||">"===this.operator)&&("<="===e.operator||"<"===e.operator),l=h(this.semver,">",e.semver,t)&&("<="===this.operator||"<"===this.operator)&&(">="===e.operator||">"===e.operator);return n||i||o&&s||a||l;},t.Range=g,g.prototype.format=function(){return this.range=this.set.map(function(e){return e.join(" ").trim();}).join("||").trim(),this.range;},g.prototype.toString=function(){return this.range;},g.prototype.parseRange=function(e){var t=this.options.loose,r=t?T[A.HYPHENRANGELOOSE]:T[A.HYPHENRANGE];b("hyphen replace",e=e.replace(r,y)),b("comparator trim",e=e.replace(T[A.COMPARATORTRIM],"$1$2$3"),T[A.COMPARATORTRIM]),e=(e=(e=e.replace(T[A.TILDETRIM],"$1~")).replace(T[A.CARETTRIM],"$1^")).split(/\s+/).join(" ");var n=t?T[A.COMPARATORLOOSE]:T[A.COMPARATOR],i=e.split(" ").map(function(e){var t,r,n,i,o,s,a,l,c;return b("comp",t=e,r=this.options),b("caret",(n=t,i=r,t=n.trim().split(/\s+/).map(function(e){var t,r,n;return b("caret",t=e,r=i),n=r.loose?T[A.CARETLOOSE]:T[A.CARET],t.replace(n,function(e,r,n,i,o){var s;return b("caret",t,e,r,n,i,o),E(r)?s="":E(n)?s=">="+r+".0.0 <"+(+r+1)+".0.0":E(i)?s="0"===r?">="+r+"."+n+".0 <"+r+"."+(+n+1)+".0":">="+r+"."+n+".0 <"+(+r+1)+".0.0":o?(b("replaceCaret pr",o),s="0"===r?"0"===n?">="+r+"."+n+"."+i+"-"+o+" <"+r+"."+n+"."+(+i+1):">="+r+"."+n+"."+i+"-"+o+" <"+r+"."+(+n+1)+".0":">="+r+"."+n+"."+i+"-"+o+" <"+(+r+1)+".0.0"):(b("no pr"),s="0"===r?"0"===n?">="+r+"."+n+"."+i+" <"+r+"."+n+"."+(+i+1):">="+r+"."+n+"."+i+" <"+r+"."+(+n+1)+".0":">="+r+"."+n+"."+i+" <"+(+r+1)+".0.0"),b("caret return",s),s;});}).join(" "))),b("tildes",(o=t,s=r,t=o.trim().split(/\s+/).map(function(e){var t,r;return t=e,r=s.loose?T[A.TILDELOOSE]:T[A.TILDE],t.replace(r,function(e,r,n,i,o){var s;return b("tilde",t,e,r,n,i,o),E(r)?s="":E(n)?s=">="+r+".0.0 <"+(+r+1)+".0.0":E(i)?s=">="+r+"."+n+".0 <"+r+"."+(+n+1)+".0":o?(b("replaceTilde pr",o),s=">="+r+"."+n+"."+i+"-"+o+" <"+r+"."+(+n+1)+".0"):s=">="+r+"."+n+"."+i+" <"+r+"."+(+n+1)+".0",b("tilde return",s),s;});}).join(" "))),b("xrange",(b("replaceXRanges",a=t,l=r),t=a.split(/\s+/).map(function(e){var t,r,n;return t=e,r=l,t=t.trim(),n=r.loose?T[A.XRANGELOOSE]:T[A.XRANGE],t.replace(n,function(e,n,i,o,s,a){b("xRange",t,e,n,i,o,s,a);var l=E(i),c=l||E(o),u=c||E(s);return"="===n&&u&&(n=""),a=r.includePrerelease?"-0":"",l?e=">"===n||"<"===n?"<0.0.0-0":"*":n&&u?(c&&(o=0),s=0,">"===n?(n=">=",c?(i=+i+1,o=0):o=+o+1,s=0):"<="===n&&(n="<",c?i=+i+1:o=+o+1),e=n+i+"."+o+"."+s+a):c?e=">="+i+".0.0"+a+" <"+(+i+1)+".0.0"+a:u&&(e=">="+i+"."+o+".0"+a+" <"+i+"."+(+o+1)+".0"+a),b("xRange return",e),e;});}).join(" "))),b("stars",(b("replaceStars",c=t,r),t=c.trim().replace(T[A.STAR],""))),t;},this).join(" ").split(/\s+/);return this.options.loose&&(i=i.filter(function(e){return!!e.match(n);})),i=i.map(function(e){return new m(e,this.options);},this);},g.prototype.intersects=function(e,t){if(!(e instanceof g))throw TypeError("a Range is required");return this.set.some(function(r){return v(r,t)&&e.set.some(function(e){return v(e,t)&&r.every(function(r){return e.every(function(e){return r.intersects(e,t);});});});});},t.toComparators=function(e,t){return new g(e,t).set.map(function(e){return e.map(function(e){return e.value;}).join(" ").trim().split(" ");});},g.prototype.test=function(e){if(!e)return!1;if("string"==typeof e)try{e=new o(e,this.options);}catch(e){return!1;}for(var t=0;t0){var i=e[n].semver;if(i.major===t.major&&i.minor===t.minor&&i.patch===t.patch)return!0;}return!1;}return!0;}(this.set[t],e,this.options))return!0;return!1;},t.satisfies=w,t.maxSatisfying=function(e,t,r){var n=null,i=null;try{var s=new g(t,r);}catch(e){return null;}return e.forEach(function(e){s.test(e)&&(!n||-1===i.compare(e))&&(n=e,i=new o(n,r));}),n;},t.minSatisfying=function(e,t,r){var n=null,i=null;try{var s=new g(t,r);}catch(e){return null;}return e.forEach(function(e){s.test(e)&&(!n||1===i.compare(e))&&(n=e,i=new o(n,r));}),n;},t.minVersion=function(e,t){e=new g(e,t);var r=new o("0.0.0");if(e.test(r)||(r=new o("0.0.0-0"),e.test(r)))return r;r=null;for(var n=0;n":0===t.prerelease.length?t.patch++:t.prerelease.push(0),t.raw=t.format();case"":case">=":(!r||l(r,t))&&(r=t);break;case"<":case"<=":break;default:throw Error("Unexpected operation: "+e.operator);}});return r&&e.test(r)?r:null;},t.validRange=function(e,t){try{return new g(e,t).range||"*";}catch(e){return null;}},t.ltr=function(e,t,r){return x(e,t,"<",r);},t.gtr=function(e,t,r){return x(e,t,">",r);},t.outside=x,t.prerelease=function(e,t){var r=i(e,t);return r&&r.prerelease.length?r.prerelease:null;},t.intersects=function(e,t,r){return e=new g(e,r),t=new g(t,r),e.intersects(t);},t.coerce=function(e,t){if(e instanceof o)return e;if("number"==typeof e&&(e+=""),"string"!=typeof e)return null;var r,n=null;if((t=t||{}).rtl){for(;(r=T[A.COERCERTL].exec(e))&&(!n||n.index+n[0].length!==e.length);)n&&r.index+r[0].length===n.index+n[0].length||(n=r),T[A.COERCERTL].lastIndex=r.index+r[1].length+r[2].length;T[A.COERCERTL].lastIndex=-1;}else n=e.match(T[A.COERCE]);return null===n?null:i(n[2]+"."+(n[3]||"0")+"."+(n[4]||"0"),t);};}),rh.register("bxsAi",function(e,t){var r=rh("lyWSC"),n=rh("2cprb");e.exports=function(e,t,i){var o=t&&i||0;"string"==typeof e&&(t="binary"===e?Array(16):null,e=null);var s=(e=e||{}).random||(e.rng||r)();if(s[6]=15&s[6]|64,s[8]=63&s[8]|128,t)for(var a=0;a<16;++a)t[o+a]=s[a];return t||n(s);};}),rh.register("lyWSC",function(e,t){e.exports=function(){return ih.randomBytes(16);};}),rh.register("2cprb",function(e,t){for(var r=[],n=0;n<256;++n)r[n]=(n+256).toString(16).substr(1);e.exports=function(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++]]].join("");};}),rh.register("2mVwa",function(e,t){var r,n,i,o;function s(e,t,r){return o(this,void 0,void 0,function*(){let n=a.argStringToArray(e);if(0===n.length)throw Error("Parameter 'commandLine' cannot be null or empty.");let i=n[0];t=n.slice(1).concat(t||[]);let o=new a.ToolRunner(i,t,r);return o.exec();});}r=e.exports&&e.exports.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r];}});}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r];}),n=e.exports&&e.exports.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),i=e.exports&&e.exports.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&r(t,e,i);return n(t,e),t;},o=e.exports&&e.exports.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e));}catch(e){o(e);}}function a(e){try{l(n.throw(e));}catch(e){o(e);}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t);})).then(s,a);}l((n=n.apply(e,t||[])).next());});},Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.getExecOutput=e.exports.exec=void 0;let a=i(rh("19yql"));e.exports.exec=s,e.exports.getExecOutput=function(e,t,r){var n,i;return o(this,void 0,void 0,function*(){let o="",a="",l=new t5.StringDecoder("utf8"),c=new t5.StringDecoder("utf8"),u=null===(n=null==r?void 0:r.listeners)||void 0===n?void 0:n.stdout,p=null===(i=null==r?void 0:r.listeners)||void 0===i?void 0:i.stderr,d=Object.assign(Object.assign({},null==r?void 0:r.listeners),{stdout(e){o+=l.write(e),u&&u(e);},stderr(e){a+=c.write(e),p&&p(e);}}),f=yield s(e,t,Object.assign(Object.assign({},r),{listeners:d}));return{exitCode:f,stdout:o+=l.end(),stderr:a+=c.end()};});};}),rh.register("19yql",function(e,t){var r,n,i,o;r=e.exports&&e.exports.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r];}});}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r];}),n=e.exports&&e.exports.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),i=e.exports&&e.exports.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&r(t,e,i);return n(t,e),t;},o=e.exports&&e.exports.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e));}catch(e){o(e);}}function a(e){try{l(n.throw(e));}catch(e){o(e);}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t);})).then(s,a);}l((n=n.apply(e,t||[])).next());});},Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.argStringToArray=e.exports.ToolRunner=void 0;let s=i(iu),a=i(t2),l=i(t8),c=i(ip),u=i(rh("kSdX3")),p=i(rh("11Ly6")),d="win32"===process.platform;class f 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){let r=this._getSpawnFileName(),n=this._getSpawnArgs(e),i=t?"":"[command]";if(d){if(this._isCmdFile())for(let e of(i+=r,n))i+=" "+e;else if(e.windowsVerbatimArguments)for(let e of(i+=`"${r}"`,n))i+=" "+e;else for(let e of(i+=this._windowsQuoteCmdArg(r),n))i+=" "+this._windowsQuoteCmdArg(e);}else for(let e of(i+=r,n))i+=" "+e;return i;}_processLineBuffer(e,t,r){try{let n=t+e.toString(),i=n.indexOf(s.EOL);for(;i>-1;){let e=n.substring(0,i);r(e),i=(n=n.substring(i+s.EOL.length)).indexOf(s.EOL);}return n;}catch(e){return this._debug("error processing line. Failed with error "+e),"";}}_getSpawnFileName(){return d&&this._isCmdFile()?process.env.COMSPEC||"cmd.exe":this.toolPath;}_getSpawnArgs(e){if(d&&this._isCmdFile()){let t='/D /S /C "'+this._windowsQuoteCmdArg(this.toolPath);for(let r of this.args)t+=" "+(e.windowsVerbatimArguments?r:this._windowsQuoteCmdArg(r));return[t+='"'];}return this.args;}_endsWith(e,t){return e.endsWith(t);}_isCmdFile(){let 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'""';let t=[" "," ","&","(",")","[","]","{","}","^","=",";","!","'","+",",","`","~","|","<",">",'"'],r=!1;for(let n of e)if(t.some(e=>e===n)){r=!0;break;}if(!r)return e;let n='"',i=!0;for(let t=e.length;t>0;t--)n+=e[t-1],i&&"\\"===e[t-1]?n+="\\":'"'===e[t-1]?(i=!0,n+='"'):i=!1;return(n+='"').split("").reverse().join("");}_uvQuoteCmdArg(e){if(!e)return'""';if(!e.includes(" ")&&!e.includes(" ")&&!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+='"').split("").reverse().join("");}_cloneExecOptions(e){e=e||{};let t={cwd: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){e=e||{};let r={};return r.cwd=e.cwd,r.env=e.env,r.windowsVerbatimArguments=e.windowsVerbatimArguments||this._isCmdFile(),e.windowsVerbatimArguments&&(r.argv0=`"${t}"`),r;}exec(){return o(this,void 0,void 0,function*(){return!p.isRooted(this.toolPath)&&(this.toolPath.includes("/")||d&&this.toolPath.includes("\\"))&&(this.toolPath=c.resolve(process.cwd(),this.options.cwd||process.cwd(),this.toolPath)),this.toolPath=yield u.which(this.toolPath,!0),new Promise((e,t)=>o(this,void 0,void 0,function*(){for(let e of(this._debug("exec tool: "+this.toolPath),this._debug("arguments:"),this.args))this._debug(" "+e);let r=this._cloneExecOptions(this.options);!r.silent&&r.outStream&&r.outStream.write(this._getCommandString(r)+s.EOL);let n=new h(r,this.toolPath);if(n.on("debug",e=>{this._debug(e);}),this.options.cwd&&!(yield p.exists(this.options.cwd)))return t(Error(`The cwd: ${this.options.cwd} does not exist!`));let i=this._getSpawnFileName(),o=l.spawn(i,this._getSpawnArgs(r),this._getSpawnOptions(this.options,i)),a="";o.stdout&&o.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 c="";if(o.stderr&&o.stderr.on("data",e=>{if(n.processStderr=!0,this.options.listeners&&this.options.listeners.stderr&&this.options.listeners.stderr(e),!r.silent&&r.errStream&&r.outStream){let t=r.failOnStdErr?r.errStream:r.outStream;t.write(e);}c=this._processLineBuffer(e,c,e=>{this.options.listeners&&this.options.listeners.errline&&this.options.listeners.errline(e);});}),o.on("error",e=>{n.processError=e.message,n.processExited=!0,n.processClosed=!0,n.CheckComplete();}),o.on("exit",e=>{n.processExitCode=e,n.processExited=!0,this._debug(`Exit code ${e} received from tool '${this.toolPath}'`),n.CheckComplete();}),o.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),c.length>0&&this.emit("errline",c),o.removeAllListeners(),r?t(r):e(n);}),this.options.input){if(!o.stdin)throw Error("child process missing stdin");o.stdin.end(this.options.input);}}));});}}e.exports.ToolRunner=f,e.exports.argStringToArray=function(e){function t(e){i&&'"'!==e&&(o+="\\"),o+=e,i=!1;}let r=[],n=!1,i=!1,o="";for(let s=0;s0&&(r.push(o),o="");continue;}t(a);}return o.length>0&&r.push(o.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=t7.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){if(!e.done){if(!e.processClosed&&e.processExited){let t=`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._debug(t);}e._setResult();}}}}),rh.register("dDAlR",function(e,t){e.exports=Promise.resolve(require("./actions_python.92140582.js")).then(()=>rh("8L9T2"));}),rm=rh("cLprm"),rg=rh("hHq4F"),rv=rh("3abeg"),function(){rh("ljv3o").addLocale("en",function(e){var t=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return("string"==typeof e&&(e=parseInt(e,10)),1===t&&0===r)?"one":"other";});}.call(rE={}),ry={},ry=rh("kAOmP"),rw={},rw={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"}}}},rx={};const iv=iu.homedir();rx=e=>{if("string"!=typeof e)throw TypeError("Expected a string, got "+typeof e);return iv?e.replace(/^~(?=$|\/|\\)/,iv):e;},rb={};const iE="win32"===process.platform||"cygwin"===process.env.OSTYPE||"msys"===process.env.OSTYPE,iy=iE?";":":";rS={},rI="win32"===process.platform||rp.TESTING_WINDOWS?rh("gRK0M"):rh("9ZovO"),rS=u,u.sync=function(e,t){try{return rI.sync(e,t||{});}catch(e){if(t&&t.ignoreErrors||"EACCES"===e.code)return!1;throw e;}};const iw=e=>Object.assign(Error("not found: "+e),{code:"ENOENT"}),ix=(e,t)=>{let r=t.colon||iy,n=e.match(/\//)||iE&&e.match(/\\/)?[""]:[...(iE?[process.cwd()]:[]),...(t.path||process.env.PATH||"").split(r)],i=iE?t.pathExt||process.env.PATHEXT||".EXE;.CMD;.BAT;.COM":"",o=iE?i.split(r):[""];return iE&&-1!==e.indexOf(".")&&""!==o[0]&&o.unshift(""),{pathEnv:n,pathExt:o,pathExtExe:i};},ib=(e,t,r)=>{"function"==typeof t&&(r=t,t={}),t||(t={});let{pathEnv:n,pathExt:i,pathExtExe:o}=ix(e,t),s=[],a=r=>new Promise((i,o)=>{if(r===n.length)return t.all&&s.length?i(s):o(iw(e));let a=n[r],c=/^".*"$/.test(a)?a.slice(1,-1):a,u=ip.join(c,e),p=!c&&/^\.[\\\/]/.test(e)?e.slice(0,2)+u:u;i(l(p,r,0));}),l=(e,r,n)=>new Promise((c,u)=>{if(n===i.length)return c(a(r+1));let p=i[n];rS(e+p,{pathExt:o},(i,o)=>{if(!i&&o){if(!t.all)return c(e+p);s.push(e+p);}return c(l(e,r,n+1));});});return r?a(0).then(e=>r(null,e),r):a(0);};rb=ib,ib.sync=(e,t)=>{t=t||{};let{pathEnv:r,pathExt:n,pathExtExe:i}=ix(e,t),o=[];for(let s=0;s{let t=e.env||process.env,r=e.platform||process.platform;return"win32"!==r?"PATH":Object.keys(t).reverse().find(e=>"PATH"===e.toUpperCase())||"Path";};(rA=iS).default=iS,rC=function(e){return p(e)||p(e,!0);};r$={},r_={},rP={},rP=/^#!(.*)/,r_=(e="")=>{let t=e.match(rP);if(!t)return null;let[r,n]=t[0].replace(/#! ?/,"").split(" "),i=r.split("/").pop();return"env"===i?n:n?`${i} ${n}`:i;},r$=function(e){let t;let r=Buffer.alloc(150);try{t=id.openSync(e,"r"),id.readSync(t,r,0,150,0),id.closeSync(t);}catch(e){}return r_(r.toString());};const iI="win32"===process.platform;rT=function(e,t,r){t&&!Array.isArray(t)&&(r=t,t=null),t=t?t.slice(0):[],r=Object.assign({},r);let n={command:e,args:t,options:r,file:void 0,original:{command:e,args:t}};return r.shell?n:function(e){if(!iI)return e;let t=function(e){e.file=rC(e);let t=e.file&&r$(e.file);return t?(e.args.unshift(e.file),e.command=t,rC(e)):e.file;}(e),r=!/\.(?:com|exe)$/i.test(t);if(e.options.forceShell||r){var n;let r=/node_modules[\\/].bin[\\/][^\\/]+\.cmd$/i.test(t);e.command=ip.normalize(e.command),e.command=n=(n=e.command).replace(/([()\][%!^"`<>&|;, *?])/g,"^$1"),e.args=e.args.map(e=>{var t,n;return t=e,n=r,t=(t=`"${t=(t=(t=""+t).replace(/(\\*)"/g,'$1$1\\"')).replace(/(\\*)$/,"$1$1")}"`).replace(/([()\][%!^"`<>&|;, *?])/g,"^$1"),n&&(t=t.replace(/([()\][%!^"`<>&|;, *?])/g,"^$1")),t;});let i=[e.command].concat(e.args).join(" ");e.args=["/d","/s","/c",`"${i}"`],e.command=process.env.comspec||"cmd.exe",e.options.windowsVerbatimArguments=!0;}return e;}(n);},rN={};const iO="win32"===process.platform;rN={hookChildProcess:function(e,t){if(!iO)return;let r=e.emit;e.emit=function(n,i){if("exit"===n){let n=f(i,t,"spawn");if(n)return r.call(e,"error",n);}return r.apply(e,arguments);};},verifyENOENT:f,verifyENOENTSync:function(e,t){return iO&&1===e&&!t.file?d(t.original,"spawnSync"):null;},notFoundError:d},(rR=h).spawn=h,rR.sync=function(e,t,r){let n=rT(e,t,r),i=t8.spawnSync(n.command,n.args,n.options);return i.error=i.error||rN.verifyENOENTSync(i.status,n),i;},rR._parse=rT,rR._enoent=rN,rL={},rL=e=>{let t="string"==typeof e?"\n":"\n".charCodeAt(),r="string"==typeof e?"\r":"\r".charCodeAt();return e[e.length-1]===t&&(e=e.slice(0,e.length-1)),e[e.length-1]===r&&(e=e.slice(0,e.length-1)),e;},rD={};const iR=e=>{let t;e={cwd:process.cwd(),path:process.env[rA()],execPath:process.execPath,...e};let r=ip.resolve(e.cwd),n=[];for(;t!==r;)n.push(ip.join(r,"node_modules/.bin")),t=r,r=ip.resolve(r,"..");let i=ip.resolve(e.cwd,e.execPath,"..");return n.push(i),n.concat(e.path).join(ip.delimiter);};(rD=iR).default=iR,rD.env=e=>{e={env:process.env,...e};let t={...e.env},r=rA({env:t});return e.path=t[r],t[r]=rD(e),t;},rk={},rU={};const iT=(e,t)=>{for(let r of Reflect.ownKeys(t))Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r));return e;};(rU=iT).default=iT;const iC=new WeakMap(),iA=(e,t={})=>{let r;if("function"!=typeof e)throw TypeError("Expected a function");let n=0,i=e.displayName||e.name||"",o=function(...s){if(iC.set(o,++n),1===n)r=e.apply(this,s),e=null;else if(!0===t.throw)throw Error(`Function \`${i}\` can only be called once`);return r;};return rU(o,e),iC.set(o,n),o;};(rk=iA).default=iA,rk.callCount=e=>{if(!iC.has(e))throw Error(`The given function \`${e.name}\` is not wrapped by the \`onetime\` package`);return iC.get(e);},rj={},Object.defineProperty(rF={},"__esModule",{value:!0}),rF.signalsByNumber=rF.signalsByName=void 0,Object.defineProperty(rM={},"__esModule",{value:!0}),rM.getSignals=void 0,Object.defineProperty(rG={},"__esModule",{value:!0}),rG.SIGNALS=void 0,rG.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"}],Object.defineProperty(rB={},"__esModule",{value:!0}),rB.SIGRTMAX=rB.getRealtimeSignals=void 0,rB.getRealtimeSignals=function(){return Array.from({length:iP-i_+1},i$);};const i$=function(e,t){return{name:"SIGRT"+(t+1),number:i_+t,action:"terminate",description:"Application-specific signal (realtime)",standard:"posix"};},i_=34,iP=64;rB.SIGRTMAX=iP,rM.getSignals=function(){let e=(0,rB.getRealtimeSignals)(),t=[...rG.SIGNALS,...e].map(iN);return t;};const iN=function({name:e,number:t,description:r,action:n,forced:i=!1,standard:o}){let{signals:{[e]:s}}=iu.constants,a=void 0!==s;return{name:e,number:a?s:t,description:r,supported:a,action:n,forced:i,standard:o};},iL=function(e,{name:t,number:r,description:n,supported:i,action:o,forced:s,standard:a}){return{...e,[t]:{name:t,number:r,description:n,supported:i,action:o,forced:s,standard:a}};},iD=function(){let e=(0,rM.getSignals)();return e.reduce(iL,{});}();rF.signalsByName=iD;const ik=function(e,t){let r=iU(e,t);if(void 0===r)return{};let{name:n,description:i,supported:o,action:s,forced:a,standard:l}=r;return{[e]:{name:n,number:e,description:i,supported:o,action:s,forced:a,standard:l}};},iU=function(e,t){let r=t.find(({name:t})=>iu.constants.signals[t]===e);return void 0!==r?r:t.find(t=>t.number===e);},ij=function(){let e=(0,rM.getSignals)(),t=rB.SIGRTMAX+1,r=Array.from({length:t},(t,r)=>ik(r,e));return Object.assign({},...r);}();rF.signalsByNumber=ij,rH=rF.signalsByName;const iF=({timedOut:e,timeout:t,errorCode:r,signal:n,signalDescription:i,exitCode:o,isCanceled:s})=>e?`timed out after ${t} milliseconds`:s?"was canceled":void 0!==r?"failed with "+r:void 0!==n?`was killed with ${n} (${i})`:void 0!==o?"failed with exit code "+o:"failed";rj=({stdout:e,stderr:t,all:r,error:n,signal:i,exitCode:o,command:s,escapedCommand:a,timedOut:l,isCanceled:c,killed:u,parsed:{options:{timeout:p}}})=>{o=null===o?void 0:o,i=null===i?void 0:i;let d=void 0===i?void 0:rH[i].description,f=n&&n.code,h=iF({timedOut:l,timeout:p,errorCode:f,signal:i,signalDescription:d,exitCode:o,isCanceled:c}),m=`Command ${h}: ${s}`,g="[object Error]"===Object.prototype.toString.call(n),v=g?`${m} -${n.message}`:m,E=[v,t,e].filter(Boolean).join("\n");return g?(n.originalMessage=n.message,n.message=E):n=Error(E),n.shortMessage=v,n.command=s,n.escapedCommand=a,n.exitCode=o,n.signal=i,n.signalDescription=d,n.stdout=e,n.stderr=t,void 0!==r&&(n.all=r),"bufferedData"in n&&delete n.bufferedData,n.failed=!0,n.timedOut=!!l,n.isCanceled=c,n.killed=u&&!l,n;},rq={};const iM=["stdin","stdout","stderr"],iG=e=>iM.some(t=>void 0!==e[t]),iB=e=>{if(!e)return;let{stdio:t}=e;if(void 0===t)return iM.map(t=>e[t]);if(iG(e))throw Error("It's not possible to provide `stdio` in combination with one of "+iM.map(e=>`\`${e}\``).join(", "));if("string"==typeof t)return t;if(!Array.isArray(t))throw TypeError(`Expected \`stdio\` to be of type \`string\` or \`Array\`, got \`${typeof t}\``);let r=Math.max(t.length,iM.length);return Array.from({length:r},(e,r)=>t[r]);};(rq=iB).node=e=>{let t=iB(e);return"ipc"===t?"ipc":void 0===t||"string"==typeof t?[t,t,t,"ipc"]:t.includes("ipc")?t:[...t,"ipc"];},rV={},rX={},rz=rp.process;const iH=function(e){return 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(iH(rz)){var iq,iV=t3,iX=rh("2dWxz"),iz=/^win/i.test(rz.platform),iW=t2;"function"!=typeof iW&&(iW=iW.EventEmitter),rz.__signal_exit_emitter__?iq=rz.__signal_exit_emitter__:((iq=rz.__signal_exit_emitter__=new iW()).count=0,iq.emitted={}),iq.infinite||(iq.setMaxListeners(1/0),iq.infinite=!0);var iK=function(){iJ&&iH(rp.process)&&(iJ=!1,iX.forEach(function(e){try{rz.removeListener(e,iQ[e]);}catch(e){}}),rz.emit=i2,rz.reallyExit=i0,iq.count-=1);};(rX=function(e,t){if(!iH(rp.process))return function(){};iV.equal(typeof e,"function","a callback must be provided for exit handler"),!1===iJ&&iZ();var r="exit";return t&&t.alwaysLast&&(r="afterexit"),iq.on(r,e),function(){iq.removeListener(r,e),0===iq.listeners("exit").length&&0===iq.listeners("afterexit").length&&iK();};}).unload=iK;var iY=function(e,t,r){iq.emitted[e]||(iq.emitted[e]=!0,iq.emit(e,t,r));},iQ={};iX.forEach(function(e){iQ[e]=function(){iH(rp.process)&&rz.listeners(e).length===iq.count&&(iK(),iY("exit",null,e),iY("afterexit",null,e),iz&&"SIGHUP"===e&&(e="SIGINT"),rz.kill(rz.pid,e));};}),rX.signals=function(){return iX;};var iJ=!1,iZ=function(){!iJ&&iH(rp.process)&&(iJ=!0,iq.count+=1,iX=iX.filter(function(e){try{return rz.on(e,iQ[e]),!0;}catch(e){return!1;}}),rz.emit=i3,rz.reallyExit=i1);};rX.load=iZ;var i0=rz.reallyExit,i1=function(e){iH(rp.process)&&(rz.exitCode=e||0,iY("exit",rz.exitCode,null),iY("afterexit",rz.exitCode,null),i0.call(rz,rz.exitCode));},i2=rz.emit,i3=function(e,t){if(!("exit"===e&&iH(rp.process)))return i2.apply(this,arguments);void 0!==t&&(rz.exitCode=t);var r=i2.apply(this,arguments);return iY("exit",rz.exitCode,null),iY("afterexit",rz.exitCode,null),r;};}else rX=function(){return function(){};};const i4=(e,t,r,n)=>{if(!i6(t,r,n))return;let i=i5(r),o=setTimeout(()=>{e("SIGKILL");},i);o.unref&&o.unref();},i6=(e,{forceKillAfterTimeout:t},r)=>i8(e)&&!1!==t&&r,i8=e=>e===iu.constants.signals.SIGTERM||"string"==typeof e&&"SIGTERM"===e.toUpperCase(),i5=({forceKillAfterTimeout:e=!0})=>{if(!0===e)return 5e3;if(!Number.isFinite(e)||e<0)throw TypeError(`Expected the \`forceKillAfterTimeout\` option to be a non-negative integer, got \`${e}\` (${typeof e})`);return e;},i7=(e,t,r)=>{e.kill(t),r(Object.assign(Error("Timed out"),{timedOut:!0,signal:t}));},i9=async(e,{cleanup:t,detached:r},n)=>{if(!t||r)return n;let i=rX(()=>{e.kill();});return n.finally(()=>{i();});};rW=(rV={spawnedKill(e,t="SIGTERM",r={}){let n=e(t);return i4(e,t,r,n),n;},spawnedCancel(e,t){let r=e.kill();r&&(t.isCanceled=!0);},setupTimeout(e,{timeout:t,killSignal:r="SIGTERM"},n){let i;if(0===t||void 0===t)return n;let o=new Promise((n,o)=>{i=setTimeout(()=>{i7(e,r,o);},t);}),s=n.finally(()=>{clearTimeout(i);});return Promise.race([o,s]);},validateTimeout({timeout:e}){if(void 0!==e&&(!Number.isFinite(e)||e<0))throw TypeError(`Expected the \`timeout\` option to be a non-negative integer, got \`${e}\` (${typeof e})`);},setExitHandler:i9}).spawnedKill,rK=rV.spawnedCancel,rY=rV.setupTimeout,rQ=rV.validateTimeout,rJ=rV.setExitHandler,rZ={},r0={};const oe=e=>null!==e&&"object"==typeof e&&"function"==typeof e.pipe;oe.writable=e=>oe(e)&&!1!==e.writable&&"function"==typeof e._write&&"object"==typeof e._writableState,oe.readable=e=>oe(e)&&!1!==e.readable&&"function"==typeof e._read&&"object"==typeof e._readableState,oe.duplex=e=>oe.writable(e)&&oe.readable(e),oe.transform=e=>oe.duplex(e)&&"function"==typeof e._transform,r0=oe,r1={},r2=t9.constants,r3=t4.promisify,r4={},r6=re.PassThrough,r4=e=>{e={...e};let{array:t}=e,{encoding:r}=e,n="buffer"===r,i=!1;t?i=!(r||n):r=r||"utf8",n&&(r=null);let o=new r6({objectMode:i});r&&o.setEncoding(r);let s=0,a=[];return o.on("data",e=>{a.push(e),i?s=a.length:s+=e.length;}),o.getBufferedValue=()=>t?a:n?Buffer.concat(a,s):a.join(""),o.getBufferedLength=()=>s,o;};const ot=r3(re.pipeline);class or extends Error{constructor(){super("maxBuffer exceeded"),this.name="MaxBufferError";}}(r1=m).buffer=(e,t)=>m(e,{...t,encoding:"buffer"}),r1.array=(e,t)=>m(e,{...t,array:!0}),r1.MaxBufferError=or,r8={},r5=re.PassThrough,r8=function(){function e(i){return Array.isArray(i)?i.forEach(e):(r.push(i),i.once("end",t.bind(null,i)),i.once("error",n.emit.bind(n,"error")),i.pipe(n,{end:!1})),this;}function t(e){!(r=r.filter(function(t){return t!==e;})).length&&n.readable&&n.end();}var r=[],n=new r5({objectMode:!0});return n.setMaxListeners(0),n.add=e,n.isEmpty=function(){return 0==r.length;},n.on("unpipe",t),Array.prototype.slice.call(arguments).forEach(e),n;};const on=async(e,t)=>{if(e){e.destroy();try{return await t;}catch(e){return e.bufferedData;}}},oi=(e,{encoding:t,buffer:r,maxBuffer:n})=>{if(e&&r)return t?r1(e,{encoding:t,maxBuffer:n}):r1.buffer(e,{maxBuffer:n});},oo=async({stdout:e,stderr:t,all:r},{encoding:n,buffer:i,maxBuffer:o},s)=>{let a=oi(e,{encoding:n,buffer:i,maxBuffer:o}),l=oi(t,{encoding:n,buffer:i,maxBuffer:o}),c=oi(r,{encoding:n,buffer:i,maxBuffer:2*o});try{return await Promise.all([s,a,l,c]);}catch(n){return Promise.all([{error:n,signal:n.signal,timedOut:n.timedOut},on(e,a),on(t,l),on(r,c)]);}};r7=(rZ={handleInput(e,t){void 0!==t&&void 0!==e.stdin&&(r0(t)?t.pipe(e.stdin):e.stdin.end(t));},makeAllStream(e,{all:t}){if(!t||!e.stdout&&!e.stderr)return;let r=r8();return e.stdout&&r.add(e.stdout),e.stderr&&r.add(e.stderr),r;},getSpawnedResult:oo,validateInputSync({input:e}){if(r0(e))throw TypeError("The `input` option cannot be a stream in sync mode");}}).handleInput,r9=rZ.getSpawnedResult,ne=rZ.makeAllStream,nt=rZ.validateInputSync,nr={};const os=(async()=>{})().constructor.prototype,oa=["then","catch","finally"].map(e=>[e,Reflect.getOwnPropertyDescriptor(os,e)]);nn=(nr={mergePromise(e,t){for(let[r,n]of oa){let i="function"==typeof t?(...e)=>Reflect.apply(n.value,t(),e):n.value.bind(t);Reflect.defineProperty(e,r,{...n,value:i});}return e;},getSpawnedPromise:e=>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,ni=nr.getSpawnedPromise,no={};const ol=(e,t=[])=>Array.isArray(t)?[e,...t]:[e],oc=e=>"string"!=typeof e||/^[\w.-]+$/.test(e)?e:`"${e.replace(/"/g,'\\"')}"`;ns=(no={joinCommand:(e,t)=>ol(e,t).join(" "),getEscapedCommand:(e,t)=>ol(e,t).map(e=>oc(e)).join(" "),parseCommand(e){let t=[];for(let r of e.trim().split(/ +/g)){let e=t[t.length-1];e&&e.endsWith("\\")?t[t.length-1]=`${e.slice(0,-1)} ${r}`:t.push(r);}return t;}}).joinCommand,na=no.parseCommand,nl=no.getEscapedCommand;const ou=({env:e,extendEnv:t,preferLocal:r,localDir:n,execPath:i})=>{let o=t?{...process.env,...e}:e;return r?rD.env({env:o,cwd:n,execPath:i}):o;},op=(e,t,r={})=>{let n=rR._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=ou(r),r.stdio=rq(r),"win32"===process.platform&&"cmd"===ip.basename(e,".exe")&&t.unshift("/q"),{file:e,args:t,options:r,parsed:n};},od=(e,t,r)=>"string"==typeof t||Buffer.isBuffer(t)?e.stripFinalNewline?rL(t):t:void 0===r?void 0:"",of=(e,t,r)=>{let n;let i=op(e,t,r),o=ns(e,t),s=nl(e,t);rQ(i.options);try{n=t8.spawn(i.file,i.args,i.options);}catch(r){let e=new t8.ChildProcess(),t=Promise.reject(rj({error:r,stdout:"",stderr:"",all:"",command:o,escapedCommand:s,parsed:i,timedOut:!1,isCanceled:!1,killed:!1}));return nn(e,t);}let a=ni(n),l=rY(n,i.options,a),c=rJ(n,i.options,l),u={isCanceled:!1};n.kill=rW.bind(null,n.kill.bind(n)),n.cancel=rK.bind(null,n,u);let p=async()=>{let[{error:e,exitCode:t,signal:r,timedOut:a},l,p,d]=await r9(n,i.options,c),f=od(i.options,l),h=od(i.options,p),m=od(i.options,d);if(e||0!==t||null!==r){let l=rj({error:e,exitCode:t,signal:r,stdout:f,stderr:h,all:m,command:o,escapedCommand:s,parsed:i,timedOut:a,isCanceled:u.isCanceled,killed:n.killed});if(!i.options.reject)return l;throw l;}return{command:o,escapedCommand:s,exitCode:0,stdout:f,stderr:h,all:m,failed:!1,timedOut:!1,isCanceled:!1,killed:!1};},d=rk(p);return r7(n,i.options.input),n.all=ne(n,i.options),nn(n,d);};(rO=of).sync=(e,t,r)=>{let n;let i=op(e,t,r),o=ns(e,t),s=nl(e,t);nt(i.options);try{n=t8.spawnSync(i.file,i.args,i.options);}catch(e){throw rj({error:e,stdout:"",stderr:"",all:"",command:o,escapedCommand:s,parsed:i,timedOut:!1,isCanceled:!1,killed:!1});}let a=od(i.options,n.stdout,n.error),l=od(i.options,n.stderr,n.error);if(n.error||0!==n.status||null!==n.signal){let e=rj({stdout:a,stderr:l,error:n.error,signal:n.signal,exitCode:n.status,command:o,escapedCommand:s,parsed:i,timedOut:n.error&&"ETIMEDOUT"===n.error.code,isCanceled:!1,killed:null!==n.signal});if(!i.options.reject)return e;throw e;}return{command:o,escapedCommand:s,exitCode:0,stdout:a,stderr:l,failed:!1,timedOut:!1,isCanceled:!1,killed:!1};},rO.command=(e,t)=>{let[r,...n]=na(e);return of(r,n,t);},rO.commandSync=(e,t)=>{let[r,...n]=na(e);return of.sync(r,n,t);},rO.node=(e,t,r={})=>{t&&!Array.isArray(t)&&"object"==typeof t&&(r=t,t=[]);let n=rq.node(r),i=process.execArgv.filter(e=>!e.startsWith("--inspect")),{nodePath:o=process.execPath,nodeOptions:s=i}=r;return of(o,[...s,e,...(Array.isArray(t)?t:[])],{...r,stdin:void 0,stdout:void 0,stderr:void 0,stdio:n,shell:!1});};const oh={stdio:"inherit",shell:!0};rg=rh("hHq4F"),nc={},nu=rh("lqN0l"),np=rt.env.npm_package_json,nf=!!((nd=rt.env.npm_config_user_agent)&&nd.startsWith("npm")),nh=!!(np&&np.endsWith("package.json")),nm=!!(nd&&nd.startsWith("yarn")),ng=nf||nh||nm,nv=iu.homedir(),nE=process.env.XDG_CONFIG_HOME||ip.join(nv,".config","simple-update-notifier"),ny=function(e){return ip.join(nE,"".concat(e.replace("@","").replace("/","__"),".json"));},nw=function(){id.existsSync(nE)||id.mkdirSync(nE,{recursive:!0});},nx=function(e){var t=ny(e);try{if(!id.existsSync(t))return;return JSON.parse(id.readFileSync(t,"utf8")).lastUpdateCheck;}catch(e){return;}},nb=function(e){var t=ny(e);id.writeFileSync(t,JSON.stringify({lastUpdateCheck:new Date().getTime()}));},nS=function(e){var t=e.pkg,r=e.updateCheckInterval,n=void 0===r?864e5:r,i=e.distTag,o=void 0===i?"latest":i,s=e.alwaysRun,a=e.debug;return x(void 0,void 0,void 0,function(){var e,r;return b(this,function(i){switch(i.label){case 0:var l;if(nw(),e=nx(t.name),!(s||!e||e{if("length"===r||"prototype"===r||"arguments"===r||"caller"===r)return;let i=Object.getOwnPropertyDescriptor(e,r),o=Object.getOwnPropertyDescriptor(t,r);(og(i,o)||!n)&&Object.defineProperty(e,r,o);},og=function(e,t){return void 0===e||e.configurable||e.writable===t.writable&&e.enumerable===t.enumerable&&e.configurable===t.configurable&&(e.writable||e.value===t.value);},ov=(e,t)=>{let r=Object.getPrototypeOf(t);r!==Object.getPrototypeOf(e)&&Object.setPrototypeOf(e,r);},oE=(e,t)=>`/* Wrapped ${e}*/ -${t}`,oy=Object.getOwnPropertyDescriptor(Function.prototype,"toString"),ow=Object.getOwnPropertyDescriptor(Function.prototype.toString,"name"),ox=(e,t,r)=>{let n=""===r?"":`with ${r.trim()}() `,i=oE.bind(null,n,t.toString());Object.defineProperty(i,"name",ow),Object.defineProperty(e,"toString",{...oy,value:i});},ob=new WeakMap(),oS=(e,t={})=>{let r;if("function"!=typeof e)throw TypeError("Expected a function");let n=0,i=e.displayName||e.name||"",o=function(...s){if(ob.set(o,++n),1===n)r=e.apply(this,s),e=null;else if(!0===t.throw)throw Error(`Function \`${i}\` can only be called once`);return r;};return!function(e,t,{ignoreNonConfigurable:r=!1}={}){let{name:n}=e;for(let n of Reflect.ownKeys(t))om(e,t,n,r);ov(e,t),ox(e,t,n);}(o,e),ob.set(o,n),o;};oS.callCount=e=>{if(!ob.has(e))throw Error(`The given function \`${e.name}\` is not wrapped by the \`onetime\` package`);return ob.get(e);},nT=oS;const oI=()=>Array.from({length:oT-oR+1},oO),oO=(e,t)=>({name:"SIGRT"+(t+1),number:oR+t,action:"terminate",description:"Application-specific signal (realtime)",standard:"posix"}),oR=34,oT=64,oC=[{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"}],oA=()=>{let e=oI(),t=[...oC,...e].map(o$);return t;},o$=({name:e,number:t,description:r,action:n,forced:i=!1,standard:o})=>{let{signals:{[e]:s}}=ra.constants,a=void 0!==s;return{name:e,number:a?s:t,description:r,supported:a,action:n,forced:i,standard:o};},o_=({name:e,number:t,description:r,supported:n,action:i,forced:o,standard:s})=>[e,{name:e,number:t,description:r,supported:n,action:i,forced:o,standard:s}],oP=(()=>{let e=oA();return Object.fromEntries(e.map(o_));})(),oN=(e,t)=>{let r=oL(e,t);if(void 0===r)return{};let{name:n,description:i,supported:o,action:s,forced:a,standard:l}=r;return{[e]:{name:n,number:e,description:i,supported:o,action:s,forced:a,standard:l}};},oL=(e,t)=>{let r=t.find(({name:t})=>ra.constants.signals[t]===e);return void 0!==r?r:t.find(t=>t.number===e);};(()=>{let e=oA(),t=Array.from({length:oT+1},(t,r)=>oN(r,e));return Object.assign({},...t);})();const oD=({timedOut:e,timeout:t,errorCode:r,signal:n,signalDescription:i,exitCode:o,isCanceled:s})=>e?`timed out after ${t} milliseconds`:s?"was canceled":void 0!==r?"failed with "+r:void 0!==n?`was killed with ${n} (${i})`:void 0!==o?"failed with exit code "+o:"failed",ok=({stdout:e,stderr:t,all:r,error:n,signal:i,exitCode:o,command:s,escapedCommand:a,timedOut:l,isCanceled:c,killed:u,parsed:{options:{timeout:p}}})=>{o=null===o?void 0:o,i=null===i?void 0:i;let d=void 0===i?void 0:oP[i].description,f=n&&n.code,h=oD({timedOut:l,timeout:p,errorCode:f,signal:i,signalDescription:d,exitCode:o,isCanceled:c}),m=`Command ${h}: ${s}`,g="[object Error]"===Object.prototype.toString.call(n),v=g?`${m} -${n.message}`:m,E=[v,t,e].filter(Boolean).join("\n");return g?(n.originalMessage=n.message,n.message=E):n=Error(E),n.shortMessage=v,n.command=s,n.escapedCommand=a,n.exitCode=o,n.signal=i,n.signalDescription=d,n.stdout=e,n.stderr=t,void 0!==r&&(n.all=r),"bufferedData"in n&&delete n.bufferedData,n.failed=!0,n.timedOut=!!l,n.isCanceled=c,n.killed=u&&!l,n;},oU=["stdin","stdout","stderr"],oj=e=>oU.some(t=>void 0!==e[t]),oF=e=>{if(!e)return;let{stdio:t}=e;if(void 0===t)return oU.map(t=>e[t]);if(oj(e))throw Error("It's not possible to provide `stdio` in combination with one of "+oU.map(e=>`\`${e}\``).join(", "));if("string"==typeof t)return t;if(!Array.isArray(t))throw TypeError(`Expected \`stdio\` to be of type \`string\` or \`Array\`, got \`${typeof t}\``);let r=Math.max(t.length,oU.length);return Array.from({length:r},(e,r)=>t[r]);},oM=(e,t="SIGTERM",r={})=>{let n=e(t);return oG(e,t,r,n),n;},oG=(e,t,r,n)=>{if(!oB(t,r,n))return;let i=oq(r),o=setTimeout(()=>{e("SIGKILL");},i);o.unref&&o.unref();},oB=(e,{forceKillAfterTimeout:t},r)=>oH(e)&&!1!==t&&r,oH=e=>e===c(ra).constants.signals.SIGTERM||"string"==typeof e&&"SIGTERM"===e.toUpperCase(),oq=({forceKillAfterTimeout:e=!0})=>{if(!0===e)return 5e3;if(!Number.isFinite(e)||e<0)throw TypeError(`Expected the \`forceKillAfterTimeout\` option to be a non-negative integer, got \`${e}\` (${typeof e})`);return e;},oV=(e,t)=>{let r=e.kill();r&&(t.isCanceled=!0);},oX=(e,t,r)=>{e.kill(t),r(Object.assign(Error("Timed out"),{timedOut:!0,signal:t}));},oz=(e,{timeout:t,killSignal:r="SIGTERM"},n)=>{let i;if(0===t||void 0===t)return n;let o=new Promise((n,o)=>{i=setTimeout(()=>{oX(e,r,o);},t);}),s=n.finally(()=>{clearTimeout(i);});return Promise.race([o,s]);},oW=({timeout:e})=>{if(void 0!==e&&(!Number.isFinite(e)||e<0))throw TypeError(`Expected the \`timeout\` option to be a non-negative integer, got \`${e}\` (${typeof e})`);},oK=async(e,{cleanup:t,detached:r},n)=>{if(!t||r)return n;let i=c(rX)(()=>{e.kill();});return n.finally(()=>{i();});},oY=e=>e instanceof ri.ChildProcess&&"function"==typeof e.then,oQ=(e,t,r)=>{if("string"==typeof r)return e[t].pipe((0,t6.createWriteStream)(r)),e;if(A(r))return e[t].pipe(r),e;if(!oY(r))throw TypeError("The second argument must be a string, a stream or an Execa child process.");if(!A(r.stdin))throw TypeError("The target child process's stdin must be available.");return e[t].pipe(r.stdin),r;},oJ=e=>{null!==e.stdout&&(e.pipeStdout=oQ.bind(void 0,e,"stdout")),null!==e.stderr&&(e.pipeStderr=oQ.bind(void 0,e,"stderr")),void 0!==e.all&&(e.pipeAll=oQ.bind(void 0,e,"all"));},oZ=e=>{if(void 0!==e)throw TypeError("The `input` and `inputFile` options cannot be both set.");},o0=({input:e,inputFile:t})=>"string"!=typeof t?e:(oZ(e),(0,t6.readFileSync)(t)),o1=e=>{let t=o0(e);if(C(t))throw TypeError("The `input` option cannot be a stream in sync mode");return t;},o2=({input:e,inputFile:t})=>"string"!=typeof t?e:(oZ(e),(0,t6.createReadStream)(t)),o3=(e,t)=>{let r=o2(t);void 0!==r&&(C(r)?r.pipe(e.stdin):e.stdin.end(r));},o4=(e,{all:t})=>{if(!t||!e.stdout&&!e.stderr)return;let r=c(r8)();return e.stdout&&r.add(e.stdout),e.stderr&&r.add(e.stderr),r;},o6=async(e,t)=>{if(e&&void 0!==t){e.destroy();try{return await t;}catch(e){return e.bufferedData;}}},o8=(e,{encoding:t,buffer:r,maxBuffer:n})=>{if(e&&r)return t?c(r1)(e,{encoding:t,maxBuffer:n}):c(r1).buffer(e,{maxBuffer:n});},o5=async({stdout:e,stderr:t,all:r},{encoding:n,buffer:i,maxBuffer:o},s)=>{let a=o8(e,{encoding:n,buffer:i,maxBuffer:o}),l=o8(t,{encoding:n,buffer:i,maxBuffer:o}),c=o8(r,{encoding:n,buffer:i,maxBuffer:2*o});try{return await Promise.all([s,a,l,c]);}catch(n){return Promise.all([{error:n,signal:n.signal,timedOut:n.timedOut},o6(e,a),o6(t,l),o6(r,c)]);}},o7=(async()=>{})().constructor.prototype,o9=["then","catch","finally"].map(e=>[e,Reflect.getOwnPropertyDescriptor(o7,e)]),se=(e,t)=>{for(let[r,n]of o9){let i="function"==typeof t?(...e)=>Reflect.apply(n.value,t(),e):n.value.bind(t);Reflect.defineProperty(e,r,{...n,value:i});}},st=e=>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);});}),sr=(e,t=[])=>Array.isArray(t)?[e,...t]:[e],sn=e=>"string"!=typeof e||/^[\w.-]+$/.test(e)?e:`"${e.replace(/"/g,'\\"')}"`,si=(e,t)=>sr(e,t).join(" "),so=(e,t)=>sr(e,t).map(e=>sn(e)).join(" "),ss=e=>{let t=typeof e;if("string"===t)return e;if("number"===t)return e+"";if("object"===t&&null!==e&&!(e instanceof ri.ChildProcess)&&"stdout"in e){let t=typeof e.stdout;if("string"===t)return e.stdout;if((0,rr.Buffer).isBuffer(e.stdout))return e.stdout.toString();throw TypeError(`Unexpected "${t}" stdout in template expression`);}throw TypeError(`Unexpected "${t}" in template expression`);},sa=(e,t,r)=>r||0===e.length||0===t.length?[...e,...t]:[...e.slice(0,-1),`${e[e.length-1]}${t[0]}`,...t.slice(1)],sl=({templates:e,expressions:t,tokens:r,index:n,template:i})=>{let o=null!=i?i:e.raw[n],s=o.split(/ +/g).filter(Boolean),a=sa(r,s,o.startsWith(" "));if(n===t.length)return a;let l=t[n],c=Array.isArray(l)?l.map(e=>ss(e)):[ss(l)];return sa(a,c,o.endsWith(" "));},sc=(e,t)=>{let r=[];for(let[n,i]of e.entries())r=sl({templates:e,expressions:t,tokens:r,index:n,template:i});return r;},su=(0,rl.debuglog)("execa").enabled,sp=(e,t)=>(e+"").padStart(t,"0"),sd=()=>{let e=new Date();return`${sp(e.getHours(),2)}:${sp(e.getMinutes(),2)}:${sp(e.getSeconds(),2)}.${sp(e.getMilliseconds(),3)}`;},sf=(e,{verbose:t})=>{t&&c(ro).stderr.write(`[${sd()}] ${e} -`);},sh=({env:e,extendEnv:t,preferLocal:r,localDir:n,execPath:i})=>{let o=t?{...c(ro).env,...e}:e;return r?T({env:o,cwd:n,execPath:i}):o;},sm=(e,t,r={})=>{let n=c(rR)._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||c(ro).cwd(),execPath:c(ro).execPath,encoding:"utf8",reject:!0,cleanup:!0,all:!1,windowsHide:!0,verbose:su,...r}).env=sh(r),r.stdio=oF(r),"win32"===c(ro).platform&&"cmd"===c(rn).basename(e,".exe")&&t.unshift("/q"),{file:e,args:t,options:r,parsed:n};},sg=(e,t,r)=>"string"==typeof t||(0,rr.Buffer).isBuffer(t)?e.stripFinalNewline?O(t):t:void 0===r?void 0:"",sv=({input:e,inputFile:t,stdio:r})=>void 0===e&&void 0===t&&void 0===r?{stdin:"inherit"}:{},sE=(e={})=>({preferLocal:!0,...sv(e),...e});!function e(t){function r(n,...i){if(!Array.isArray(n))return e({...t,...n});let[o,...s]=sc(n,i);return $(o,s,sE(t));}return r.sync=(e,...r)=>{if(!Array.isArray(e))throw TypeError("Please use $(options).sync`command` instead of $.sync(options)`command`.");let[n,...i]=sc(e,r);return function(e,t,r){let n;let i=sm(e,t,r),o=si(e,t),s=so(e,t);sf(s,i.options);let a=o1(i.options);try{n=c(ri).spawnSync(i.file,i.args,{...i.options,input:a});}catch(e){throw ok({error:e,stdout:"",stderr:"",all:"",command:o,escapedCommand:s,parsed:i,timedOut:!1,isCanceled:!1,killed:!1});}let l=sg(i.options,n.stdout,n.error),u=sg(i.options,n.stderr,n.error);if(n.error||0!==n.status||null!==n.signal){let e=ok({stdout:l,stderr:u,error:n.error,signal:n.signal,exitCode:n.status,command:o,escapedCommand:s,parsed:i,timedOut:n.error&&"ETIMEDOUT"===n.error.code,isCanceled:!1,killed:null!==n.signal});if(!i.options.reject)return e;throw e;}return{command:o,escapedCommand:s,exitCode:0,stdout:l,stderr:u,failed:!1,timedOut:!1,isCanceled:!1,killed:!1};}(n,i,sE(t));},r;}(),nC={};const sy="win32"!==iu.platform(),sw=iu.release(),sx=(e="",t="")=>/1\d+\.\d+/.test(e)&&+t>=17134.1184;nC=function(e){return sy?e.replace(/(\s+)/g,"\\$1"):sx(.../(\d+\.\d+)\.(\d+)/.exec(sw).splice(1))?e:e.replace(/(\s+)/g,"%20");},function(){var e,t;e=rh("eaZtc"),t=function(e){return e.split("").reverse().join("");},nA=function(r,n,i){var o;return(null==n&&(n="'"),null==i&&(i="\\"),"string"!=typeof r)?r:(o=RegExp("(["+e(n)+"])(?!"+e(i)+")","g"),t(t(r).replace(o,"$1"+i)));};}.call(nA={}),n$=rh("3WkGD");const sb={shouldEscapeSpace:!1,shouldAddOnlyIfNotDefined:!1},sS=[/\/usr\/bin\/?/,/\/usr\/local\/bin\/?/],sI=w(".cpprc");let sO=!1;n$=rh("3WkGD");const sR=({timedOut:e,timeout:t,errorCode:r,signal:n,signalDescription:i,exitCode:o,isCanceled:s})=>e?`timed out after ${t} milliseconds`:s?"was canceled":void 0!==r?"failed with "+r:void 0!==n?`was killed with ${n} (${i})`:void 0!==o?"failed with exit code "+o:"failed",sT=({stdout:e,stderr:t,all:r,error:n,signal:i,exitCode:o,command:s,escapedCommand:a,timedOut:l,isCanceled:u,killed:p,parsed:{options:{timeout:d,cwd:f=c(ro).cwd()}}})=>{o=null===o?void 0:o,i=null===i?void 0:i;let h=void 0===i?void 0:oP[i].description,m=n&&n.code,g=sR({timedOut:l,timeout:d,errorCode:m,signal:i,signalDescription:h,exitCode:o,isCanceled:u}),v=`Command ${g}: ${s}`,E="[object Error]"===Object.prototype.toString.call(n),y=E?`${v} -${n.message}`:v,w=[y,t,e].filter(Boolean).join("\n");return E?(n.originalMessage=n.message,n.message=w):n=Error(w),n.shortMessage=y,n.command=s,n.escapedCommand=a,n.exitCode=o,n.signal=i,n.signalDescription=h,n.stdout=e,n.stderr=t,n.cwd=f,void 0!==r&&(n.all=r),"bufferedData"in n&&delete n.bufferedData,n.failed=!0,n.timedOut=!!l,n.isCanceled=u,n.killed=p&&!l,n;},sC=["stdin","stdout","stderr"],sA=e=>sC.some(t=>void 0!==e[t]),s$=e=>{if(!e)return;let{stdio:t}=e;if(void 0===t)return sC.map(t=>e[t]);if(sA(e))throw Error("It's not possible to provide `stdio` in combination with one of "+sC.map(e=>`\`${e}\``).join(", "));if("string"==typeof t)return t;if(!Array.isArray(t))throw TypeError(`Expected \`stdio\` to be of type \`string\` or \`Array\`, got \`${typeof t}\``);let r=Math.max(t.length,sC.length);return Array.from({length:r},(e,r)=>t[r]);},s_=(e,t="SIGTERM",r={})=>{let n=e(t);return sP(e,t,r,n),n;},sP=(e,t,r,n)=>{if(!sN(t,r,n))return;let i=sD(r),o=setTimeout(()=>{e("SIGKILL");},i);o.unref&&o.unref();},sN=(e,{forceKillAfterTimeout:t},r)=>sL(e)&&!1!==t&&r,sL=e=>e===c(ra).constants.signals.SIGTERM||"string"==typeof e&&"SIGTERM"===e.toUpperCase(),sD=({forceKillAfterTimeout:e=!0})=>{if(!0===e)return 5e3;if(!Number.isFinite(e)||e<0)throw TypeError(`Expected the \`forceKillAfterTimeout\` option to be a non-negative integer, got \`${e}\` (${typeof e})`);return e;},sk=(e,t)=>{let r=e.kill();r&&(t.isCanceled=!0);},sU=(e,t,r)=>{e.kill(t),r(Object.assign(Error("Timed out"),{timedOut:!0,signal:t}));},sj=(e,{timeout:t,killSignal:r="SIGTERM"},n)=>{let i;if(0===t||void 0===t)return n;let o=new Promise((n,o)=>{i=setTimeout(()=>{sU(e,r,o);},t);}),s=n.finally(()=>{clearTimeout(i);});return Promise.race([o,s]);},sF=({timeout:e})=>{if(void 0!==e&&(!Number.isFinite(e)||e<0))throw TypeError(`Expected the \`timeout\` option to be a non-negative integer, got \`${e}\` (${typeof e})`);},sM=async(e,{cleanup:t,detached:r},n)=>{if(!t||r)return n;let i=c(rX)(()=>{e.kill();});return n.finally(()=>{i();});},sG=e=>e instanceof ri.ChildProcess&&"function"==typeof e.then,sB=(e,t,r)=>{if("string"==typeof r)return e[t].pipe((0,t6.createWriteStream)(r)),e;if(A(r))return e[t].pipe(r),e;if(!sG(r))throw TypeError("The second argument must be a string, a stream or an Execa child process.");if(!A(r.stdin))throw TypeError("The target child process's stdin must be available.");return e[t].pipe(r.stdin),r;},sH=e=>{null!==e.stdout&&(e.pipeStdout=sB.bind(void 0,e,"stdout")),null!==e.stderr&&(e.pipeStderr=sB.bind(void 0,e,"stderr")),void 0!==e.all&&(e.pipeAll=sB.bind(void 0,e,"all"));},sq=e=>{if(void 0!==e)throw TypeError("The `input` and `inputFile` options cannot be both set.");},sV=({input:e,inputFile:t})=>"string"!=typeof t?e:(sq(e),(0,t6.readFileSync)(t)),sX=e=>{let t=sV(e);if(C(t))throw TypeError("The `input` option cannot be a stream in sync mode");return t;},sz=({input:e,inputFile:t})=>"string"!=typeof t?e:(sq(e),(0,t6.createReadStream)(t)),sW=(e,t)=>{let r=sz(t);void 0!==r&&(C(r)?r.pipe(e.stdin):e.stdin.end(r));},sK=(e,{all:t})=>{if(!t||!e.stdout&&!e.stderr)return;let r=c(r8)();return e.stdout&&r.add(e.stdout),e.stderr&&r.add(e.stderr),r;},sY=async(e,t)=>{if(e&&void 0!==t){e.destroy();try{return await t;}catch(e){return e.bufferedData;}}},sQ=(e,{encoding:t,buffer:r,maxBuffer:n})=>{if(e&&r)return t?c(r1)(e,{encoding:t,maxBuffer:n}):c(r1).buffer(e,{maxBuffer:n});},sJ=async({stdout:e,stderr:t,all:r},{encoding:n,buffer:i,maxBuffer:o},s)=>{let a=sQ(e,{encoding:n,buffer:i,maxBuffer:o}),l=sQ(t,{encoding:n,buffer:i,maxBuffer:o}),c=sQ(r,{encoding:n,buffer:i,maxBuffer:2*o});try{return await Promise.all([s,a,l,c]);}catch(n){return Promise.all([{error:n,signal:n.signal,timedOut:n.timedOut},sY(e,a),sY(t,l),sY(r,c)]);}},sZ=(async()=>{})().constructor.prototype,s0=["then","catch","finally"].map(e=>[e,Reflect.getOwnPropertyDescriptor(sZ,e)]),s1=(e,t)=>{for(let[r,n]of s0){let i="function"==typeof t?(...e)=>Reflect.apply(n.value,t(),e):n.value.bind(t);Reflect.defineProperty(e,r,{...n,value:i});}},s2=e=>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);});}),s3=(e,t=[])=>Array.isArray(t)?[e,...t]:[e],s4=e=>"string"!=typeof e||/^[\w.-]+$/.test(e)?e:`"${e.replace(/"/g,'\\"')}"`,s6=(e,t)=>s3(e,t).join(" "),s8=(e,t)=>s3(e,t).map(e=>s4(e)).join(" "),s5=e=>{let t=typeof e;if("string"===t)return e;if("number"===t)return e+"";if("object"===t&&null!==e&&!(e instanceof ri.ChildProcess)&&"stdout"in e){let t=typeof e.stdout;if("string"===t)return e.stdout;if((0,rr.Buffer).isBuffer(e.stdout))return e.stdout.toString();throw TypeError(`Unexpected "${t}" stdout in template expression`);}throw TypeError(`Unexpected "${t}" in template expression`);},s7=(e,t,r)=>r||0===e.length||0===t.length?[...e,...t]:[...e.slice(0,-1),`${e[e.length-1]}${t[0]}`,...t.slice(1)],s9=({templates:e,expressions:t,tokens:r,index:n,template:i})=>{let o=null!=i?i:e.raw[n],s=o.split(/ +/g).filter(Boolean),a=s7(r,s,o.startsWith(" "));if(n===t.length)return a;let l=t[n],c=Array.isArray(l)?l.map(e=>s5(e)):[s5(l)];return s7(a,c,o.endsWith(" "));},ae=(e,t)=>{let r=[];for(let[n,i]of e.entries())r=s9({templates:e,expressions:t,tokens:r,index:n,template:i});return r;},at=(0,rl.debuglog)("execa").enabled,ar=(e,t)=>(e+"").padStart(t,"0"),an=()=>{let e=new Date();return`${ar(e.getHours(),2)}:${ar(e.getMinutes(),2)}:${ar(e.getSeconds(),2)}.${ar(e.getMilliseconds(),3)}`;},ai=(e,{verbose:t})=>{t&&c(ro).stderr.write(`[${an()}] ${e} -`);},ao=({env:e,extendEnv:t,preferLocal:r,localDir:n,execPath:i})=>{let o=t?{...c(ro).env,...e}:e;return r?T({env:o,cwd:n,execPath:i}):o;},as=(e,t,r={})=>{let n=c(rR)._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||c(ro).cwd(),execPath:c(ro).execPath,encoding:"utf8",reject:!0,cleanup:!0,all:!1,windowsHide:!0,verbose:at,...r}).env=ao(r),r.stdio=s$(r),"win32"===c(ro).platform&&"cmd"===c(rn).basename(e,".exe")&&t.unshift("/q"),{file:e,args:t,options:r,parsed:n};},aa=(e,t,r)=>"string"==typeof t||(0,rr.Buffer).isBuffer(t)?e.stripFinalNewline?O(t):t:void 0===r?void 0:"",al=({input:e,inputFile:t,stdio:r})=>void 0===e&&void 0===t&&void 0===r?{stdin:"inherit"}:{},ac=(e={})=>({preferLocal:!0,...al(e),...e});!function e(t){function r(n,...i){if(!Array.isArray(n))return e({...t,...n});let[o,...s]=ae(n,i);return j(o,s,ac(t));}return r.sync=(e,...r)=>{if(!Array.isArray(e))throw TypeError("Please use $(options).sync`command` instead of $.sync(options)`command`.");let[n,...i]=ae(e,r);return F(n,i,ac(t));},r;}(),n_=rh("9O4vc"),rg=rh("hHq4F"),nP={},nN=ip.join,nL=ip.delimiter,nD=ip.sep,nk=ip.posix;const au="win32"===process.platform,ap=new RegExp(`[${nk.sep}${nD===nk.sep?"":nD}]`.replace(/(\\)/g,"\\$1")),ad=RegExp("^\\."+ap.source),af=e=>Object.assign(Error("not found: "+e),{code:"ENOENT"}),ah=(e,{path:t=process.env.PATH,pathExt:r=process.env.PATHEXT,delimiter:n=nL})=>{let i=e.match(ap)?[""]:[...(au?[process.cwd()]:[]),...(t||"").split(n)];if(au){let t=r||[".EXE",".CMD",".BAT",".COM"].join(n),o=t.split(n).reduce((e,t)=>(e.push(t),e.push(t.toLowerCase()),e),[]);return e.includes(".")&&""!==o[0]&&o.unshift(""),{pathEnv:i,pathExt:o,pathExtExe:t};}return{pathEnv:i,pathExt:[""]};},am=(e,t)=>{let r=/^".*"$/.test(e)?e.slice(1,-1):e,n=!r&&ad.test(t)?t.slice(0,2):"";return n+nN(r,t);},ag=async(e,t={})=>{let{pathEnv:r,pathExt:n,pathExtExe:i}=ah(e,t),o=[];for(let s of r){let r=am(s,e);for(let e of n){let n=r+e,s=await rS(n,{pathExt:i,ignoreErrors:!0});if(s){if(!t.all)return n;o.push(n);}}}if(t.all&&o.length)return o;if(t.nothrow)return null;throw af(e);};nP=ag,ag.sync=(e,t={})=>{let{pathEnv:r,pathExt:n,pathExtExe:i}=ah(e,t),o=[];for(let s of r){let r=am(s,e);for(let e of n){let n=r+e,s=rS.sync(n,{pathExt:i,ignoreErrors:!0});if(s){if(!t.all)return n;o.push(n);}}}if(t.all&&o.length)return o;if(t.nothrow)return null;throw af(e);};const{appendFile:av}=id.promises;let aE=!1,ay=!1;const aw=["E: Could not get lock","dpkg: error processing archive","dpkg: error: dpkg status database is locked by another process"];(tZ=nU||(nU={}))[tZ.NameDashVersion=0]="NameDashVersion",tZ[tZ.NameEqualsVersion=1]="NameEqualsVersion",tZ[tZ.Name=2]="Name",tZ[tZ.None=3]="None",nR=rh("2heqc"),nj=rh("A8hFE"),nj=rh("A8hFE"),nF=rh("kSdX3");let ax=!1;n$=rh("3WkGD"),nj=rh("A8hFE"),rg=rh("hHq4F");let ab=!1;rg=rh("hHq4F"),rg=rh("hHq4F");let aS=!1,aI=!1;const aO=/Version\s*:\s*(.*)/g;nM={},nG=ip.resolve(__dirname,"../../node_modules/.pnpm/@actions+tool-cache@2.0.1/node_modules/@actions/tool-cache/lib"),nB=nM&&nM.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r];}});}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r];}),nH=nM&&nM.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),nq=nM&&nM.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.hasOwnProperty.call(e,r)&&nB(t,e,r);return nH(t,e),t;},nV=nM&&nM.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e));}catch(e){o(e);}}function a(e){try{l(n.throw(e));}catch(e){o(e);}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t);})).then(s,a);}l((n=n.apply(e,t||[])).next());});},nX=nM&&nM.__importDefault||function(e){return e&&e.__esModule?e:{default:e};},Object.defineProperty(nM,"__esModule",{value:!0}),nM.evaluateVersions=nM.isExplicitVersion=nM.findFromManifest=nM.getManifestFromRepo=nM.findAllVersions=nM.find=nM.cacheFile=nM.cacheDir=nM.extractZip=nM.extractXar=nM.extractTar=nM.extract7z=nM.downloadTool=nM.HTTPError=void 0;const aR=nq(rh("2heqc")),aT=nq(rh("kSdX3")),aC=nq(id),aA=nq(rh("8kgpT")),a$=nq(iu),a_=nq(ip),aP=nq(rh("aPbbM")),aN=nq(rh("3BvyU")),aL=nq(re),aD=nq(t4),ak=nX(rh("bxsAi"));nz=rh("2mVwa"),nK=(nW={},nW.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r];}});}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r];})),nY=nW&&nW.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),nQ=nW&&nW.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.hasOwnProperty.call(e,r)&&nK(t,e,r);return nY(t,e),t;},nJ=nW&&nW.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e));}catch(e){o(e);}}function a(e){try{l(n.throw(e));}catch(e){o(e);}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t);})).then(s,a);}l((n=n.apply(e,t||[])).next());});},Object.defineProperty(nW,"__esModule",{value:!0}),nW.RetryHelper=void 0;const aU=nQ(rh("2heqc"));nW.RetryHelper=class{constructor(e,t,r){if(e<1)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 nJ(this,void 0,void 0,function*(){let r=1;for(;rsetTimeout(t,1e3*e));});}};class aj extends Error{constructor(e){super("Unexpected HTTP response: "+e),this.httpStatusCode=e,Object.setPrototypeOf(this,new.target.prototype);}}nM.HTTPError=aj;const aF="win32"===process.platform,aM="darwin"===process.platform;nM.downloadTool=function(e,t,r,n){return nV(this,void 0,void 0,function*(){t=t||a_.join(ev(),ak.default()),yield aT.mkdirP(a_.dirname(t)),aR.debug("Downloading "+e),aR.debug("Destination "+t);let i=eE("TEST_DOWNLOAD_TOOL_RETRY_MIN_SECONDS",10),o=eE("TEST_DOWNLOAD_TOOL_RETRY_MAX_SECONDS",20),s=new nW.RetryHelper(3,i,o);return yield s.execute(()=>nV(this,void 0,void 0,function*(){return yield function(e,t,r,n){return nV(this,void 0,void 0,function*(){if(aC.existsSync(t))throw Error(`Destination file path ${t} already exists`);let i=new aP.HttpClient("actions/tool-cache",[],{allowRetries:!1});r&&(aR.debug("set auth"),void 0===n&&(n={}),n.authorization=r);let o=yield i.get(e,n);if(200!==o.message.statusCode){let t=new aj(o.message.statusCode);throw aR.debug(`Failed to download from "${e}". Code(${o.message.statusCode}) Message(${o.message.statusMessage})`),t;}let s=aD.promisify(aL.pipeline),a=eE("TEST_DOWNLOAD_TOOL_RESPONSE_MESSAGE_FACTORY",()=>o.message),l=a(),c=!1;try{return yield s(l,aC.createWriteStream(t)),aR.debug("download complete"),c=!0,t;}finally{if(!c){aR.debug("download failed");try{yield aT.rmRF(t);}catch(e){aR.debug(`Failed to delete '${t}'. ${e.message}`);}}}});}(e,t||"",r,n);}),e=>!(e instanceof aj)||!e.httpStatusCode||!(e.httpStatusCode<500)||408===e.httpStatusCode||429===e.httpStatusCode);});},nM.extract7z=function(e,t,r){return nV(this,void 0,void 0,function*(){t3.ok(aF,"extract7z() not supported on current OS"),t3.ok(e,'parameter "file" is required'),t=yield ep(t);let n=process.cwd();if(process.chdir(t),r)try{let t=aR.isDebug()?"-bb1":"-bb0",n=["x",t,"-bd","-sccUTF-8",e];yield nz.exec(`"${r}"`,n,{silent:!0});}finally{process.chdir(n);}else{let r=a_.join(nG,"..","scripts","Invoke-7zdec.ps1").replace(/'/g,"''").replace(/"|\n|\r/g,""),i=e.replace(/'/g,"''").replace(/"|\n|\r/g,""),o=t.replace(/'/g,"''").replace(/"|\n|\r/g,""),s=`& '${r}' -Source '${i}' -Target '${o}'`;try{let e=yield aT.which("powershell",!0);yield nz.exec(`"${e}"`,["-NoLogo","-Sta","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",s],{silent:!0});}finally{process.chdir(n);}}return t;});},nM.extractTar=function(e,t,r="xz"){return nV(this,void 0,void 0,function*(){let n;if(!e)throw Error("parameter 'file' is required");t=yield ep(t),aR.debug("Checking tar --version");let i="";yield nz.exec("tar --version",[],{ignoreReturnCode:!0,silent:!0,listeners:{stdout:e=>i+=e.toString(),stderr:e=>i+=e.toString()}}),aR.debug(i.trim());let o=i.toUpperCase().includes("GNU TAR");n=r instanceof Array?r:[r],aR.isDebug()&&!r.includes("v")&&n.push("-v");let s=t,a=e;return aF&&o&&(n.push("--force-local"),s=t.replace(/\\/g,"/"),a=e.replace(/\\/g,"/")),o&&(n.push("--warning=no-unknown-keyword"),n.push("--overwrite")),n.push("-C",s,"-f",a),yield nz.exec("tar",n),t;});},nM.extractXar=function(e,t,r=[]){return nV(this,void 0,void 0,function*(){var n;let i;t3.ok(aM,"extractXar() not supported on current OS"),t3.ok(e,'parameter "file" is required'),t=yield ep(t),(i=r instanceof Array?r:[r]).push("-x","-C",t,"-f",e),aR.isDebug()&&i.push("-v");let o=yield aT.which("xar",!0);return yield nz.exec(`"${o}"`,(n=i,Array.from(new Set(n)))),t;});},nM.extractZip=function(e,t){return nV(this,void 0,void 0,function*(){if(!e)throw Error("parameter 'file' is required");return t=yield ep(t),aF?yield function(e,t){return nV(this,void 0,void 0,function*(){let r=e.replace(/'/g,"''").replace(/"|\n|\r/g,""),n=t.replace(/'/g,"''").replace(/"|\n|\r/g,""),i=yield aT.which("pwsh",!1);if(i){let e=`$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 $_ } } ;`,t=["-NoLogo","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",e];aR.debug("Using pwsh at path: "+i),yield nz.exec(`"${i}"`,t);}else{let e=`$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) }`,t=["-NoLogo","-Sta","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",e],i=yield aT.which("powershell",!0);aR.debug("Using powershell at path: "+i),yield nz.exec(`"${i}"`,t);}});}(e,t):yield function(e,t){return nV(this,void 0,void 0,function*(){let r=yield aT.which("unzip",!0),n=[e];aR.isDebug()||n.unshift("-q"),n.unshift("-o"),yield nz.exec(`"${r}"`,n,{cwd:t});});}(e,t),t;});},nM.cacheDir=function(e,t,r,n){return nV(this,void 0,void 0,function*(){if(r=aN.clean(r)||r,n=n||a$.arch(),aR.debug(`Caching tool ${t} ${r} ${n}`),aR.debug("source dir: "+e),!aC.statSync(e).isDirectory())throw Error("sourceDir is not a directory");let i=yield ed(t,r,n);for(let t of aC.readdirSync(e)){let r=a_.join(e,t);yield aT.cp(r,i,{recursive:!0});}return ef(t,r,n),i;});},nM.cacheFile=function(e,t,r,n,i){return nV(this,void 0,void 0,function*(){if(n=aN.clean(n)||n,i=i||a$.arch(),aR.debug(`Caching tool ${r} ${n} ${i}`),aR.debug("source file: "+e),!aC.statSync(e).isFile())throw Error("sourceFile is not a file");let o=yield ed(r,n,i),s=a_.join(o,t);return aR.debug("destination file "+s),yield aT.cp(e,s),ef(r,n,i),o;});},nM.find=function(e,t,r){if(!e)throw Error("toolName parameter is required");if(!t)throw Error("versionSpec parameter is required");if(r=r||a$.arch(),!eh(t)){let n=eu(e,r),i=em(n,t);t=i;}let n="";if(t){t=aN.clean(t)||"";let i=a_.join(eg(),e,t,r);aR.debug("checking cache: "+i),aC.existsSync(i)&&aC.existsSync(`${i}.complete`)?(aR.debug(`Found tool in cache ${e} ${t} ${r}`),n=i):aR.debug("not found");}return n;},nM.findAllVersions=eu,nM.getManifestFromRepo=function(e,t,r,n="master"){return nV(this,void 0,void 0,function*(){let i=[],o=`https://api.github.com/repos/${e}/${t}/git/trees/${n}`,s=new aP.HttpClient("tool-cache"),a={};r&&(aR.debug("set auth"),a.authorization=r);let l=yield s.getJson(o,a);if(!l.result)return i;let c="";for(let e of l.result.tree)if("versions-manifest.json"===e.path){c=e.url;break;}a.accept="application/vnd.github.VERSION.raw";let u=yield(yield s.get(c,a)).readBody();if(u){u=u.replace(/^\uFEFF/,"");try{i=JSON.parse(u);}catch(e){aR.debug("Invalid json");}}return i;});},nM.findFromManifest=function(e,t,r,n=a$.arch()){return nV(this,void 0,void 0,function*(){let i=yield aA._findMatch(e,t,r,n);return i;});},nM.isExplicitVersion=eh,nM.evaluateVersions=em,nZ=rh("fAXcL"),n0=rh("255mi"),nj=rh("A8hFE"),rg=rh("hHq4F"),rm=rh("cLprm"),n$=rh("3WkGD"),Object.defineProperty(n1={},"__esModule",{value:!0}),n1.retryAsPromised=n1.TimeoutError=void 0;class aG extends Error{constructor(e,t){super(e),this.name="TimeoutError",this.previous=t;}}n1.TimeoutError=aG,n1.retryAsPromised=ey,n1.default=ey;let aB=!1;nj=rh("A8hFE"),nF=rh("kSdX3"),rg=rh("hHq4F"),nR=rh("2heqc"),n$=rh("3WkGD"),nj=rh("A8hFE"),nz=rh("2mVwa"),rm=rh("cLprm"),rg=rh("hHq4F"),n2={isEqual:!0,isMatchingKey:!0,isPromise:!0,maxSize:!0,onCacheAdd:!0,onCacheChange:!0,onCacheHit:!0,transformKey:!0},n3=Array.prototype.slice,n4=function(){function e(e){this.keys=[],this.values=[],this.options=e;var t="function"==typeof e.isMatchingKey;t?this.getKeyIndex=this._getKeyIndexFromMatchingKey:e.maxSize>1?this.getKeyIndex=this._getKeyIndexForMany:this.getKeyIndex=this._getKeyIndexForSingle,this.canTransformKey="function"==typeof e.transformKey,this.shouldCloneArguments=this.canTransformKey||t,this.shouldUpdateOnAdd="function"==typeof e.onCacheAdd,this.shouldUpdateOnChange="function"==typeof e.onCacheChange,this.shouldUpdateOnHit="function"==typeof e.onCacheHit;}return Object.defineProperty(e.prototype,"size",{get:function(){return this.keys.length;},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"snapshot",{get:function(){return{keys:eA(this.keys),size:this.size,values:eA(this.values)};},enumerable:!1,configurable:!0}),e.prototype._getKeyIndexFromMatchingKey=function(e){var t=this.options,r=t.isMatchingKey,n=t.maxSize,i=this.keys,o=i.length;if(!o)return-1;if(r(i[0],e))return 0;if(n>1){for(var s=1;o>s;s++)if(r(i[s],e))return s;}return-1;},e.prototype._getKeyIndexForMany=function(e){var t,r,n=this.options.isEqual,i=this.keys,o=i.length;if(!o)return-1;if(1===o)return this._getKeyIndexForSingle(e);var s=e.length;if(s>1){for(var a=0;o>a;a++)if((t=i[a]).length===s){for(r=0;s>r&&n(t[r],e[r]);r++);if(r===s)return a;}}else for(var a=0;o>a;a++)if((t=i[a]).length===s&&n(t[0],e[0]))return a;return-1;},e.prototype._getKeyIndexForSingle=function(e){var t=this.keys;if(!t.length)return-1;var r=t[0],n=r.length;if(e.length!==n)return-1;var i=this.options.isEqual;if(n>1){for(var o=0;n>o;o++)if(!i(r[o],e[o]))return-1;return 0;}return i(r[0],e[0])?0:-1;},e.prototype.orderByLru=function(e,t,r){for(var n=this.keys,i=this.values,o=n.length,s=r;s--;)n[s+1]=n[s],i[s+1]=i[s];n[0]=e,i[0]=t;var a=this.options.maxSize;o===a&&r===o?(n.pop(),i.pop()):r>=a&&(n.length=i.length=a);},e.prototype.updateAsyncCache=function(e){var t=this,r=this.options,n=r.onCacheChange,i=r.onCacheHit,o=this.keys[0],s=this.values[0];this.values[0]=s.then(function(r){return t.shouldUpdateOnHit&&i(t,t.options,e),t.shouldUpdateOnChange&&n(t,t.options,e),r;},function(e){var r=t.getKeyIndex(o);throw-1!==r&&(t.keys.splice(r,1),t.values.splice(r,1)),e;});},e;}(),nj=rh("A8hFE"),n6=e=>{if("string"!=typeof e)return!1;let t=e.trim();if(t.includes(" "))return!1;try{return new rc.URL(t),!0;}catch{return!1;}},n8=async e=>{let t=n6(e);if(!t)return!1;let r=await eN(e,"HEAD");return!!r||!!(r=await eN(e,"GET"));},n5=rh("eSzHt"),n0=rh("255mi"),n7=rh("eO4vc"),nz=rh("2mVwa"),rg=rh("hHq4F");const aH=/v?(\d\S*)/,aq={llvm:ej(),clangtidy:ej(),clangformat:ej(),ninja:"1.11.1",cmake:"3.27.4",gcovr:"6.0",conan:"1.62.0",meson:"1.2.3",kcov:"42",task:"3.31.0",doxygen:er()?"1.9.8-1":"1.9.8",gcc:er()?"13.2.1-3":"13"},aV={pip:"22.2.0",python:"3.7.9"},aX={gcc:{22:"13",20:"11",18:"11",16:"11",14:"11"},mingw:{22:"8.0.0-1",20:"7.0.0-2"},llvm:{22:"17.0.5-ubuntu-22.04",20:"17.0.5-ubuntu-22.04",18:"15.0.6-ubuntu-18.04",16:"15.0.6-ubuntu-18.04",14:"13.0.0-ubuntu-16.04"},clangtidy:{22:"17.0.2-ubuntu-22.04",20:"17.0.2-ubuntu-22.04",18:"15.0.6-ubuntu-18.04",16:"15.0.6-ubuntu-18.04",14:"13.0.0-ubuntu-16.04"},clangformat:{22:"17.0.2-ubuntu-22.04",20:"17.0.2-ubuntu-22.04",18:"15.0.6-ubuntu-18.04",16:"15.0.6-ubuntu-18.04",14:"13.0.0-ubuntu-16.04"},gcovr:{22:"6.0",20:"6.0",18:"5.0"},meson:{20:"1.0.0",18:"0.61.4"},nala:{22:"",21:"legacy",20:"legacy",18:"legacy",16:"legacy",14:"legacy"},kcov:{22:"42-binary",20:"40-binary",18:"40",16:"40",14:"40"}};n$=rh("3WkGD");const az=eP(eQ,{isPromise:!0});rg=rh("hHq4F"),Object.defineProperty(n9={},"__esModule",{value:!0}),n9.getUbuntuVersion=void 0,n9.getUbuntuVersion=e0;const aW=eP(e1,{isPromise:!0}),aK=eP(e8,{isPromise:!0});nj=rh("A8hFE"),rg=rh("hHq4F"),n$=rh("3WkGD"),ie=rh("7GceF"),n0=rh("255mi"),nz=rh("2mVwa"),rg=rh("hHq4F"),nj=rh("A8hFE"),rg=rh("hHq4F"),rm=rh("cLprm"),n$=rh("3WkGD"),it=ip.resolve(__dirname,"../../src/gcc");const aY={13:{releaseName:"13.2.0-16.0.6-11.0.0-ucrt-r1",fileSuffix:"13.2.0-mingw-w64ucrt-11.0.0-r1"},"13.2-ucrt":{releaseName:"13.2.0-16.0.6-11.0.0-ucrt-r1",fileSuffix:"13.2.0-mingw-w64ucrt-11.0.0-r1"},"13.2-ucrt-mcf":{releaseName:"13.2.0mcf-16.0.6-11.0.1-ucrt-r2",fileSuffix:"13.2.0-mingw-w64ucrt-11.0.1-r2"},"13.2-msvcrt":{releaseName:"13.2.0-16.0.6-11.0.1-msvcrt-r1",fileSuffix:"13.2.0-mingw-w64msvcrt-11.0.1-r1"},"13.1-ucrt":{releaseName:"13.1.0posix-16.0.3-11.0.0-ucrt-r1",fileSuffix:"13.1.0-mingw-w64ucrt-11.0.0-r1"},"13.1-msvcrt":{releaseName:"13.1.0posix-16.0.3-11.0.0-msvcrt-r1",fileSuffix:"13.1.0-mingw-w64msvcrt-11.0.0-r1"},12:{releaseName:"12.3.0-16.0.4-11.0.0-ucrt-r1",fileSuffix:"12.3.0-mingw-w64ucrt-11.0.0-r1"},"12.3.0-ucrt":{releaseName:"12.3.0-16.0.4-11.0.0-ucrt-r1",fileSuffix:"12.3.0-mingw-w64ucrt-11.0.0-r1"},"12.3.0-msvcrt":{releaseName:"12.3.0-16.0.4-11.0.0-msvcrt-r1",fileSuffix:"12.3.0-mingw-w64msvcrt-11.0.0-r1"},"12.2.0-ucrt":{releaseName:"12.2.0-14.0.6-10.0.0-ucrt-r2",fileSuffix:"12.2.0-mingw-w64ucrt-10.0.0-r2"},"12.2.0-msvcrt":{releaseName:"12.2.0-14.0.6-10.0.0-msvcrt-r2",fileSuffix:"12.2.0-mingw-w64msvcrt-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.5.0-11.0.1-msvcrt-r1",fileSuffix:"10.5.0-mingw-w64msvcrt-11.0.1-r1"},"10.5.0-msvcrt":{releaseName:"10.5.0-11.0.1-msvcrt-r1",fileSuffix:"10.5.0-mingw-w64msvcrt-11.0.1-r1"},"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"}};n7=rh("eO4vc"),ie=rh("7GceF"),nj=rh("A8hFE"),rg=rh("hHq4F"),nj=rh("A8hFE"),ir=ip.resolve(__dirname,"../../src/kcov"),rm=rh("cLprm"),rg=rh("hHq4F"),n$=rh("3WkGD"),nj=rh("A8hFE"),nR=rh("2heqc"),rg=rh("hHq4F"),nj=rh("A8hFE"),nR=rh("2heqc");const aQ=rt.env["ProgramFiles(x86)"],aJ=[rt.env["ProgramFiles(x86)"],rt.env.ProgramFiles],aZ=["Enterprise","Professional","Community","BuildTools"],a0=["2022","2019","2017"],a1={2022:"17.0",2019:"16.0",2017:"15.0",2015:"14.0",2013:"12.0"};ii=tx;const a2=`${aQ}\\Microsoft Visual Studio\\Installer`;io=tb,is=function(e,t,r,n,i,o){if("win32"!=rt.platform){nR.info("This is not a Windows virtual environment, bye!");return;}rt.env.PATH+=ip.delimiter+a2;let s={win32:"x86",win64:"x64",x86_64:"x64","x86-64":"x64"};e.toLowerCase()in s&&(e=s[e.toLowerCase()]);var a=[e];"true"==n&&a.push("uwp"),t&&a.push(t),r&&a.push("-vcvars_ver="+r),"true"==i&&a.push("-vcvars_spectre_libs=spectre");let l=`"${tb(o)}" ${a.join(" ")}`;nR.debug("vcvars command-line: "+l);let c=t8.execSync(`set && cls && ${l} && cls && set`,{shell:"cmd"}).toString(),u=c.split("\f"),p=u[0].split("\r\n"),d=u[1].split("\r\n"),f=u[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 m={};for(let e of p){let[t,r]=e.split("=");m[t]=r;}for(let e of(nR.startGroup("Environment variables"),f)){if(!e.includes("="))continue;let[t,r]=e.split("=");r!==m[t]&&(nR.info("Setting "+t),-1!=["PATH","INCLUDE","LIB","LIBPATH"].indexOf(t.toUpperCase())&&(r=r.split(";").filter(function(e,t,r){return r.indexOf(e)===t;}).join(";")),nR.exportVariable(t,r));}nR.endGroup(),nR.info("Configured Developer Command Prompt");},rg=rh("hHq4F"),n$=rh("3WkGD");class a3 extends Error{constructor(e){super(e),this.name="TimeoutError";}}class a4 extends Error{constructor(e){super(),this.name="AbortError",this.message=e;}}const a6=e=>void 0===globalThis.DOMException?new a4(e):new DOMException(e),a8=e=>{let t=void 0===e.reason?a6("This operation was aborted."):e.reason;return t instanceof Error?t:a6(t);},a5=12e5,{readFile:a7,writeFile:a9,chmod:le}=id.promises;(t0=ia||(ia={}))[t0.All=0]="All",t0[t0.ClangFormat=1]="ClangFormat",t0[t0.Core=2]="Core",nZ=rh("fAXcL"),rg=rh("hHq4F"),nj=rh("A8hFE");const lt=function(e){let t=new Set(e);for(let 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","15.0.0","15.0.1","15.0.2","15.0.3","15.0.4","15.0.5","15.0.6","15.0.7","16.0.0","16.0.1","16.0.2","16.0.3","16.0.4","16.0.5","16.0.6","17.0.1","17.0.2","17.0.3","17.0.4","17.0.5"]),lr=new Set(["10.0.1","15.0.5","15.0.6","17.0.5"]),ln=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","15.0.4","15.0.5","15.0.6","16.0.0","16.0.1","16.0.2","16.0.3","16.0.4","16.0.5","16.0.6","17.0.1","17.0.2","17.0.3","17.0.4","17.0.5"]),li=new Map(),lo={"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","15.0.2":"-rhel86","15.0.5":"-ubuntu-18.04","15.0.6":"-ubuntu-18.04","16.0.0":"-ubuntu-18.04","16.0.2":"-ubuntu-22.04","16.0.3":"-ubuntu-22.04","16.0.4":"-ubuntu-22.04","17.0.2":"-ubuntu-22.04","17.0.4":"-ubuntu-22.04","17.0.5":"-ubuntu-22.04"},ls="17.0.5";il=ip.resolve(__dirname,"../../src/llvm");const la=eP(tD,{isPromise:!0}),ll=eP(tU,{isPromise:!0}),lc=eP(tj,{isPromise:!0});rm=rh("cLprm"),nj=rh("A8hFE"),rg=rh("hHq4F"),n$=rh("3WkGD"),ic=ip.resolve(__dirname,"../../src/msvc"),nj=rh("A8hFE"),nj=rh("A8hFE"),rg=rh("hHq4F"),n$=rh("3WkGD"),nj=rh("A8hFE");let lu=!1;const lp={nala:tq,cmake:eC,ninja:tm,python:eF,vcpkg:tK,bazel:ea,conan:function(e,t,r){return e3("conan",e);},meson:function(e,t,r){return e3("meson",e);},gcovr:function(e,t,r){return e3("gcovr",e);},opencppcoverage:tV,llvm:tL,gcc:tc,choco:ee,brew:Q,powershell:tz,ccache:function(e,t,r){switch(process.platform){case"win32":return et("ccache",e);case"darwin":return Z("ccache",e);case"linux":if(er())return el("ccache",e);if(en())return ei([{name:"ccache",version:e}]);if(es())return M([{name:"ccache",version:e}]);throw Error("Unsupported linux distribution");default:throw Error("Unsupported platform");}},sccache:function(e,t,r){switch(process.platform){case"win32":return et("sccache",e);case"linux":case"darwin":return Z("sccache",e);default:throw Error("Unsupported platform");}},doxygen:to,graphviz:tr,cppcheck:te,clangtidy:function(e,t,r){return tk(e,t,r);},clangformat:function(e,t,r){return tk(e,t,r,ia.ClangFormat);},msvc:tB,vcvarsall:tS,kcov:tw,make:tG,task:function(e,t,r){return ew("task",e,tW,t,r);},sevenzip:ex},ld=Object.keys(lp),lf=["compiler","architecture","timeout",...ld];nR=rh("2heqc"),rg=rh("hHq4F"),n7=rh("eO4vc"),tJ(process.argv).then(e=>{process.exitCode=e;}).catch(e=>{(0,rg.error)("main() panicked!"),(0,rg.error)(e),process.exitCode=1;}); + Error Message: ${e.message}`);})).result)||void 0===t?void 0:t.value;if(!n)throw Error("Response json body do not have ID Token field");return n;});}static getIDToken(e){return r(this,void 0,void 0,function*(){try{let t=s.getIDTokenUrl();if(e){let r=encodeURIComponent(e);t=`${t}&audience=${r}`;}o.debug("ID token url is "+t);let r=yield s.getCall(t);return o.setSecret(r),r;}catch(e){throw Error("Error message: "+e.message);}});}}e.exports.OidcClient=s;}),rg("eamjo",function(e,t){var r,n,i,o,s,a,l,u,c;r=e.exports&&e.exports.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r];}});}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r];}),n=e.exports&&e.exports.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),i=e.exports&&e.exports.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&r(t,e,i);return n(t,e),t;},o=e.exports&&e.exports.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e));}catch(e){o(e);}}function a(e){try{l(n.throw(e));}catch(e){o(e);}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t);})).then(s,a);}l((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;let p=i(nY),d=i(nQ),f=i(rv("jnrYh")),h=i(rv("3RDK7"));(u=s=e.exports.HttpCodes||(e.exports.HttpCodes={}))[u.OK=200]="OK",u[u.MultipleChoices=300]="MultipleChoices",u[u.MovedPermanently=301]="MovedPermanently",u[u.ResourceMoved=302]="ResourceMoved",u[u.SeeOther=303]="SeeOther",u[u.NotModified=304]="NotModified",u[u.UseProxy=305]="UseProxy",u[u.SwitchProxy=306]="SwitchProxy",u[u.TemporaryRedirect=307]="TemporaryRedirect",u[u.PermanentRedirect=308]="PermanentRedirect",u[u.BadRequest=400]="BadRequest",u[u.Unauthorized=401]="Unauthorized",u[u.PaymentRequired=402]="PaymentRequired",u[u.Forbidden=403]="Forbidden",u[u.NotFound=404]="NotFound",u[u.MethodNotAllowed=405]="MethodNotAllowed",u[u.NotAcceptable=406]="NotAcceptable",u[u.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",u[u.RequestTimeout=408]="RequestTimeout",u[u.Conflict=409]="Conflict",u[u.Gone=410]="Gone",u[u.TooManyRequests=429]="TooManyRequests",u[u.InternalServerError=500]="InternalServerError",u[u.NotImplemented=501]="NotImplemented",u[u.BadGateway=502]="BadGateway",u[u.ServiceUnavailable=503]="ServiceUnavailable",u[u.GatewayTimeout=504]="GatewayTimeout",(c=a=e.exports.Headers||(e.exports.Headers={})).Accept="accept",c.ContentType="content-type",(l=e.exports.MediaTypes||(e.exports.MediaTypes={})).ApplicationJson="application/json",e.exports.getProxyUrl=function(e){let t=f.getProxyUrl(new URL(e));return t?t.href:"";};let m=[s.MovedPermanently,s.ResourceMoved,s.SeeOther,s.TemporaryRedirect,s.PermanentRedirect],v=[s.BadGateway,s.ServiceUnavailable,s.GatewayTimeout],g=["OPTIONS","GET","DELETE","HEAD"];class E extends Error{constructor(e,t){super(e),this.name="HttpClientError",this.statusCode=t,Object.setPrototypeOf(this,E.prototype);}}e.exports.HttpClientError=E;class y{constructor(e){this.message=e;}readBody(){return o(this,void 0,void 0,function*(){return new Promise(e=>o(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.toString());});}));});}}e.exports.HttpClientResponse=y,e.exports.isHttps=function(e){return"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 o(this,void 0,void 0,function*(){return this.request("OPTIONS",e,null,t||{});});}get(e,t){return o(this,void 0,void 0,function*(){return this.request("GET",e,null,t||{});});}del(e,t){return o(this,void 0,void 0,function*(){return this.request("DELETE",e,null,t||{});});}post(e,t,r){return o(this,void 0,void 0,function*(){return this.request("POST",e,t,r||{});});}patch(e,t,r){return o(this,void 0,void 0,function*(){return this.request("PATCH",e,t,r||{});});}put(e,t,r){return o(this,void 0,void 0,function*(){return this.request("PUT",e,t,r||{});});}head(e,t){return o(this,void 0,void 0,function*(){return this.request("HEAD",e,null,t||{});});}sendStream(e,t,r,n){return o(this,void 0,void 0,function*(){return this.request(e,t,r,n);});}getJson(e,t={}){return o(this,void 0,void 0,function*(){t[a.Accept]=this._getExistingOrDefaultHeader(t,a.Accept,l.ApplicationJson);let r=yield this.get(e,t);return this._processResponse(r,this.requestOptions);});}postJson(e,t,r={}){return o(this,void 0,void 0,function*(){let n=JSON.stringify(t,null,2);r[a.Accept]=this._getExistingOrDefaultHeader(r,a.Accept,l.ApplicationJson),r[a.ContentType]=this._getExistingOrDefaultHeader(r,a.ContentType,l.ApplicationJson);let i=yield this.post(e,n,r);return this._processResponse(i,this.requestOptions);});}putJson(e,t,r={}){return o(this,void 0,void 0,function*(){let n=JSON.stringify(t,null,2);r[a.Accept]=this._getExistingOrDefaultHeader(r,a.Accept,l.ApplicationJson),r[a.ContentType]=this._getExistingOrDefaultHeader(r,a.ContentType,l.ApplicationJson);let i=yield this.put(e,n,r);return this._processResponse(i,this.requestOptions);});}patchJson(e,t,r={}){return o(this,void 0,void 0,function*(){let n=JSON.stringify(t,null,2);r[a.Accept]=this._getExistingOrDefaultHeader(r,a.Accept,l.ApplicationJson),r[a.ContentType]=this._getExistingOrDefaultHeader(r,a.ContentType,l.ApplicationJson);let i=yield this.patch(e,n,r);return this._processResponse(i,this.requestOptions);});}request(e,t,r,n){return o(this,void 0,void 0,function*(){let i;if(this._disposed)throw Error("Client has already been disposed.");let o=new URL(t),a=this._prepareRequest(e,o,n),l=this._allowRetries&&g.includes(e)?this._maxRetries+1:1,u=0;do{if((i=yield this.requestRaw(a,r))&&i.message&&i.message.statusCode===s.Unauthorized){let e;for(let t of this.handlers)if(t.canHandleAuthentication(i)){e=t;break;}if(e)return e.handleAuthentication(this,a,r);break;}let t=this._maxRedirects;for(;i.message.statusCode&&m.includes(i.message.statusCode)&&this._allowRedirects&&t>0;){let s=i.message.headers.location;if(!s)break;let l=new URL(s);if("https:"===o.protocol&&o.protocol!==l.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 i.readBody(),l.hostname!==o.hostname)for(let e in n)"authorization"===e.toLowerCase()&&delete n[e];a=this._prepareRequest(e,l,n),i=yield this.requestRaw(a,r),t--;}if(!i.message.statusCode||!v.includes(i.message.statusCode))break;(u+=1){this.requestRawWithCallback(e,t,function(e,t){e?n(e):t?r(t):n(Error("Unknown error"));});});});}requestRawWithCallback(e,t,r){let n;function i(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,s=e.httpModule.request(e.options,e=>{i(void 0,new y(e));});s.on("socket",e=>{n=e;}),s.setTimeout(this._socketTimeout||18e4,()=>{n&&n.end(),i(Error("Request timeout: "+e.options.path));}),s.on("error",function(e){i(e);}),t&&"string"==typeof t&&s.write(t,"utf8"),t&&"string"!=typeof t?(t.on("close",function(){s.end();}),t.pipe(s)):s.end();}getAgent(e){let t=new URL(e);return this._getAgent(t);}_prepareRequest(e,t,r){let n={};n.parsedUrl=t;let i="https:"===n.parsedUrl.protocol;if(n.httpModule=i?d:p,n.options={},n.options.host=n.parsedUrl.hostname,n.options.port=n.parsedUrl.port?parseInt(n.parsedUrl.port):i?443:80,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(let e of this.handlers)e.prepareRequest(n.options);return n;}_mergeHeaders(e){return this.requestOptions&&this.requestOptions.headers?Object.assign({},w(this.requestOptions.headers),w(e||{})):w(e||{});}_getExistingOrDefaultHeader(e,t,r){let n;return this.requestOptions&&this.requestOptions.headers&&(n=w(this.requestOptions.headers)[t]),e[t]||n||r;}_getAgent(e){let t;let r=f.getProxyUrl(e),n=r&&r.hostname;if(this._keepAlive&&n&&(t=this._proxyAgent),this._keepAlive&&!n&&(t=this._agent),t)return t;let i="https:"===e.protocol,o=100;if(this.requestOptions&&(o=this.requestOptions.maxSockets||p.globalAgent.maxSockets),r&&r.hostname){let e;let n={maxSockets:o,keepAlive:this._keepAlive,proxy:Object.assign(Object.assign({},(r.username||r.password)&&{proxyAuth:`${r.username}:${r.password}`}),{host:r.hostname,port:r.port})},s="https:"===r.protocol;t=(i?s?h.httpsOverHttps:h.httpsOverHttp:s?h.httpOverHttps:h.httpOverHttp)(n),this._proxyAgent=t;}if(this._keepAlive&&!t){let e={keepAlive:this._keepAlive,maxSockets:o};t=i?new d.Agent(e):new p.Agent(e),this._agent=t;}return t||(t=i?d.globalAgent:p.globalAgent),i&&this._ignoreSslError&&(t.options=Object.assign(t.options||{},{rejectUnauthorized:!1})),t;}_performExponentialBackoff(e){return o(this,void 0,void 0,function*(){let t=5*Math.pow(2,e=Math.min(10,e));return new Promise(e=>setTimeout(()=>e(),t));});}_processResponse(e,t){return o(this,void 0,void 0,function*(){return new Promise((r,n)=>o(this,void 0,void 0,function*(){let i,o;let a=e.message.statusCode||0,l={statusCode:a,result:null,headers:{}};a===s.NotFound&&r(l);try{(o=yield e.readBody())&&o.length>0&&(i=t&&t.deserializeDates?JSON.parse(o,function(e,t){if("string"==typeof t){let e=new Date(t);if(!isNaN(e.valueOf()))return e;}return t;}):JSON.parse(o),l.result=i),l.headers=e.message.headers;}catch(e){}if(a>299){let e;let t=new E(i&&i.message?i.message:o&&o.length>0?o:`Failed request: (${a})`,a);t.result=l.result,n(t);}else r(l);}));});}};let w=e=>Object.keys(e).reduce((t,r)=>(t[r.toLowerCase()]=e[r],t),{});}),rg("jnrYh",function(e,t){function r(e){let t;if(!e.hostname)return!1;if(function(e){let t=e.toLowerCase();return"localhost"===t||t.startsWith("127.")||t.startsWith("[::1]")||t.startsWith("[0:0:0:0:0:0:0:1]");}(e.hostname))return!0;let r=process.env.no_proxy||process.env.NO_PROXY||"";if(!r)return!1;e.port?t=+e.port:"http:"===e.protocol?t=80:"https:"===e.protocol&&(t=443);let n=[e.hostname.toUpperCase()];for(let e of("number"==typeof t&&n.push(`${n[0]}:${t}`),r.split(",").map(e=>e.trim().toUpperCase()).filter(e=>e)))if("*"===e||n.some(t=>t===e||t.endsWith("."+e)||e.startsWith(".")&&t.endsWith(""+e)))return!0;return!1;}Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.checkBypass=e.exports.getProxyUrl=void 0,e.exports.getProxyUrl=function(e){let t="https:"===e.protocol;if(r(e))return;let 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;}),rg("3RDK7",function(e,t){e.exports=rv("jZQ4B");}),rg("jZQ4B",function(e,t){var r,n,i,o,s,a;function u(e){var t=this;t.options=e||{},t.proxyOptions=t.options.proxy||{},t.maxSockets=t.options.maxSockets||nY.Agent.defaultMaxSockets,t.requests=[],t.sockets=[],t.on("free",function(e,r,n,i){for(var o=p(r,n,i),s=0,a=t.requests.length;a>s;++s){var l=t.requests[s];if(l.host===o.host&&l.port===o.port){t.requests.splice(s,1),l.request.onSocket(e);return;}}e.destroy(),t.removeSocket(e);});}function c(e,t){var r=this;u.prototype.createSocket.call(r,e,function(n){var i=e.request.getHeader("host"),o=d({},r.options,{socket:n,servername:i?i.replace(/:.*$/,""):e.host}),s=t4.connect(0,o);r.sockets[r.sockets.indexOf(n)]=s,t(s);});}function p(e,t,r){return"string"==typeof e?{host:e,port:t,localAddress:r}:e;}function d(e){for(var t=1,r=arguments.length;r>t;++t){var n=arguments[t];if("object"==typeof n)for(var i=Object.keys(n),o=0,s=i.length;s>o;++o){var a=i[o];void 0!==n[a]&&(e[a]=n[a]);}}return e;}l(e.exports,"httpOverHttp",()=>r,e=>r=e),l(e.exports,"httpsOverHttp",()=>n,e=>n=e),l(e.exports,"httpOverHttps",()=>i,e=>i=e),l(e.exports,"httpsOverHttps",()=>o,e=>o=e),l(e.exports,"debug",()=>s,e=>s=e),r=function(e){var t=new u(e);return t.request=nY.request,t;},n=function(e){var t=new u(e);return t.request=nY.request,t.createSocket=c,t.defaultPort=443,t;},i=function(e){var t=new u(e);return t.request=nQ.request,t;},o=function(e){var t=new u(e);return t.request=nQ.request,t.createSocket=c,t.defaultPort=443,t;},t8.inherits(u,t3.EventEmitter),u.prototype.addRequest=function(e,t,r,n){var i=this,o=d({request:e},i.options,p(t,r,n));if(i.sockets.length>=this.maxSockets){i.requests.push(o);return;}i.createSocket(o,function(t){function r(){i.emit("free",t,o);}function n(e){i.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);});},u.prototype.createSocket=function(e,t){function r(r,n,l){if(i.removeAllListeners(),n.removeAllListeners(),200!==r.statusCode){a("tunneling socket could not be established, statusCode=%d",r.statusCode),n.destroy();var u=Error("tunneling socket could not be established, statusCode="+r.statusCode);u.code="ECONNRESET",e.request.emit("error",u),o.removeSocket(s);return;}if(l.length>0){a("got illegal response body from proxy"),n.destroy();var u=Error("got illegal response body from proxy");u.code="ECONNRESET",e.request.emit("error",u),o.removeSocket(s);return;}return a("tunneling connection has established"),o.sockets[o.sockets.indexOf(s)]=n,t(n);}var n,i,o=this,s={};o.sockets.push(s),n=d({},o.proxyOptions,{method:"CONNECT",path:e.host+":"+e.port,agent:!1,headers:{host:e.host+":"+e.port}}),e.localAddress&&(n.localAddress=e.localAddress),n.proxyAuth&&(n.headers=n.headers||{},n.headers["Proxy-Authorization"]="Basic "+new Buffer(n.proxyAuth).toString("base64")),a("making CONNECT request"),(i=o.request(n)).useChunkedEncodingByDefault=!1,i.once("response",function(e){e.upgrade=!0;}),i.once("upgrade",function(e,t,n){process.nextTick(function(){r(e,t,n);});}),i.once("connect",r),i.once("error",function(t){i.removeAllListeners(),a("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),o.removeSocket(s);}),i.end();},u.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,function(e){r.request.onSocket(e);});}},s=a=process.env.NODE_DEBUG&&/\btunnel\b/.test(process.env.NODE_DEBUG)?function(){var e=Array.prototype.slice.call(arguments);"string"==typeof e[0]?e[0]="TUNNEL: "+e[0]:e.unshift("TUNNEL:"),console.error.apply(console,e);}:function(){};}),rg("h6tQO",function(e,t){var r=e.exports&&e.exports.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e));}catch(e){o(e);}}function a(e){try{l(n.throw(e));}catch(e){o(e);}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t);})).then(s,a);}l((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");});}};}),rg("dV9Cu",function(e,t){var r=e.exports&&e.exports.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e));}catch(e){o(e);}}function a(e){try{l(n.throw(e));}catch(e){o(e);}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t);})).then(s,a);}l((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;let{access:n,appendFile:i,writeFile:o}=nW.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";let s=new class{constructor(){this._buffer="";}filePath(){return r(this,void 0,void 0,function*(){if(this._filePath)return this._filePath;let 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,nW.constants.R_OK|nW.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={}){let 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*(){let t=!!(null==e?void 0:e.overwrite),r=yield this.filePath();return yield(t?o:i)(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(nX.EOL);}addCodeBlock(e,t){let r=Object.assign({},t&&{lang:t}),n=this.wrap("pre",this.wrap("code",e),r);return this.addRaw(n).addEOL();}addList(e,t=!1){let r=e.map(e=>this.wrap("li",e)).join(""),n=this.wrap(t?"ol":"ul",r);return this.addRaw(n).addEOL();}addTable(e){let t=e.map(e=>{let t=e.map(e=>{if("string"==typeof e)return this.wrap("td",e);let{header:t,data:r,colspan:n,rowspan:i}=e,o=Object.assign(Object.assign({},n&&{colspan:n}),i&&{rowspan:i});return this.wrap(t?"th":"td",r,o);}).join("");return this.wrap("tr",t);}).join(""),r=this.wrap("table",t);return this.addRaw(r).addEOL();}addDetails(e,t){let r=this.wrap("details",this.wrap("summary",e)+t);return this.addRaw(r).addEOL();}addImage(e,t,r){let{width:n,height:i}=r||{},o=Object.assign(Object.assign({},n&&{width:n}),i&&{height:i}),s=this.wrap("img",null,Object.assign({src:e,alt:t},o));return this.addRaw(s).addEOL();}addHeading(e,t){let r="h"+t,n=["h1","h2","h3","h4","h5","h6"].includes(r)?r:"h1",i=this.wrap(n,e);return this.addRaw(i).addEOL();}addSeparator(){let e=this.wrap("hr",null);return this.addRaw(e).addEOL();}addBreak(){let e=this.wrap("br",null);return this.addRaw(e).addEOL();}addQuote(e,t){let r=Object.assign({},t&&{cite:t}),n=this.wrap("blockquote",e,r);return this.addRaw(n).addEOL();}addLink(e,t){let r=this.wrap("a",e,{href:t});return this.addRaw(r).addEOL();}}();e.exports.markdownSummary=s,e.exports.summary=s;}),rg("9i0tI",function(e,t){var r,n,i;r=e.exports&&e.exports.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r];}});}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r];}),n=e.exports&&e.exports.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),i=e.exports&&e.exports.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&r(t,e,i);return n(t,e),t;},Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.toPlatformPath=e.exports.toWin32Path=e.exports.toPosixPath=void 0;let o=i(nz);e.exports.toPosixPath=function(e){return e.replace(/[\\]/g,"/");},e.exports.toWin32Path=function(e){return e.replace(/[/]/g,"\\");},e.exports.toPlatformPath=function(e){return e.replace(/[/\\]/g,o.sep);};}),rg("kswPT",function(e,t){var r=nz.resolve(__dirname,"../../node_modules/numerous/lib");(function(){var t,n;function i(e,r,n){if(o(e),"object"!=typeof n)throw Error("List of variants should be specified as an object");var i=t[e](r);return void 0!==n[i]?n[i]:null;}function o(e){!(void 0!==t[e])&&function(e){try{require(r+"/../locales/"+e+".js");}catch(t){throw Error("Failed to load the following locale: "+e);}}(e);}t={},n={create:function(e){return o(e),{pluralize:function(t,r){return i(e,t,r);}};},addLocale:function(e,r){t[e]=r;},pluralize:i},void 0!==e.exports?e.exports=n:this.numerous=n;}).call(e.exports);}),rg("foOBZ",function(e,t){function r(e){for(let t of(Array.isArray(e)||(e=[e]),e)){let{id:e,data:r}=t;a[e]=r;}}var n=rv("6OFKY"),i=rv("5GOZM");let o=[["years",290304e5],["months",24192e5],["weeks",6048e5],["days",864e5],["hours",36e5],["minutes",6e4],["seconds",1e3]],s={locale:"en",span:2,delimiter:", ",unitType:"long",unitTypeLookupOrder:["long","short","narrow"],autoloadLocales:!0},a={};e.exports={create:function(e){return e=Object.assign({},s,e||{}),{format:function(t,s,l){return function(e,t,s){if(function(e,t){let{autoload:n}=t;if(!a[e]){if(i&&n)(function(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);else throw Error(`Missing locale: ${e}, you must load it manually before using it`);}}(s.locale,{autoload:s.autoloadLocales}),!e)throw Error("Missing first date argument");if(!t)throw Error("Missing second date argument");let l=function(e,t){let r=t-e,n=[];return o.some(function(e){let t=e[0],i=e[1],o=Math.floor(r/i);if(r-=o*i,n.push([t,o]),r<=0)return!0;}),n;}(e,t),u=[];for(let e of l){let[t,r]=e;if(r>0&&u.push(function(e,t,r){let i=function(e){var t;let r=a[e.locale],n=e.unitTypeLookupOrder.slice();n.unshift(e.unitType),t=n;let i=null;if((n=Array.from(new Set(t))).some(function(e){if(void 0!==r[e])return i=r[e],!0;}),null===i)throw Error("Can not find any unit type data for locale: "+e.locale);return i;}(r);return n.pluralize(r.locale,t,i[e]).replace("{0}",t);}(t,r,s)),u.length>=s.span)break;}return u.join(s.delimiter);}(t,s,l=Object.assign({},e,l||{}));}};},addLocale:r,defaultConfig:s};}),rg("6OFKY",function(e,t){e.exports=rv("kswPT");}),rg("5GOZM",function(e,t){e.exports=!!("undefined"!=typeof process&&process.versions&&process.versions.node);}),rg("8nJMC",function(e,t){function r(e,t,r){return!!(e.isSymbolicLink()||e.isFile())&&function(e,t){var r=void 0!==t.pathExt?t.pathExt:process.env.PATHEXT;if(!r||-1!==(r=r.split(";")).indexOf(""))return!0;for(var n=0;n{for(let[t,r]of f)e=e.split(`${t}*`).join(`${t}{0,${r}}`).split(`${t}+`).join(`${t}{1,${r}}`);return e;},m=(e,t,r)=>{let n=h(t),i=p++;s(e,i,t),c[e]=i,u[i]=t,a[i]=new RegExp(t,r?"g":void 0),l[i]=new RegExp(n,r?"g":void 0);};m("NUMERICIDENTIFIER","0|[1-9]\\d*"),m("NUMERICIDENTIFIERLOOSE","\\d+"),m("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${d}*`),m("MAINVERSION",`(${u[c.NUMERICIDENTIFIER]})\\.(${u[c.NUMERICIDENTIFIER]})\\.(${u[c.NUMERICIDENTIFIER]})`),m("MAINVERSIONLOOSE",`(${u[c.NUMERICIDENTIFIERLOOSE]})\\.(${u[c.NUMERICIDENTIFIERLOOSE]})\\.(${u[c.NUMERICIDENTIFIERLOOSE]})`),m("PRERELEASEIDENTIFIER",`(?:${u[c.NUMERICIDENTIFIER]}|${u[c.NONNUMERICIDENTIFIER]})`),m("PRERELEASEIDENTIFIERLOOSE",`(?:${u[c.NUMERICIDENTIFIERLOOSE]}|${u[c.NONNUMERICIDENTIFIER]})`),m("PRERELEASE",`(?:-(${u[c.PRERELEASEIDENTIFIER]}(?:\\.${u[c.PRERELEASEIDENTIFIER]})*))`),m("PRERELEASELOOSE",`(?:-?(${u[c.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${u[c.PRERELEASEIDENTIFIERLOOSE]})*))`),m("BUILDIDENTIFIER",`${d}+`),m("BUILD",`(?:\\+(${u[c.BUILDIDENTIFIER]}(?:\\.${u[c.BUILDIDENTIFIER]})*))`),m("FULLPLAIN",`v?${u[c.MAINVERSION]}${u[c.PRERELEASE]}?${u[c.BUILD]}?`),m("FULL",`^${u[c.FULLPLAIN]}$`),m("LOOSEPLAIN",`[v=\\s]*${u[c.MAINVERSIONLOOSE]}${u[c.PRERELEASELOOSE]}?${u[c.BUILD]}?`),m("LOOSE",`^${u[c.LOOSEPLAIN]}$`),m("GTLT","((?:<|>)?=?)"),m("XRANGEIDENTIFIERLOOSE",`${u[c.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),m("XRANGEIDENTIFIER",`${u[c.NUMERICIDENTIFIER]}|x|X|\\*`),m("XRANGEPLAIN",`[v=\\s]*(${u[c.XRANGEIDENTIFIER]})(?:\\.(${u[c.XRANGEIDENTIFIER]})(?:\\.(${u[c.XRANGEIDENTIFIER]})(?:${u[c.PRERELEASE]})?${u[c.BUILD]}?)?)?`),m("XRANGEPLAINLOOSE",`[v=\\s]*(${u[c.XRANGEIDENTIFIERLOOSE]})(?:\\.(${u[c.XRANGEIDENTIFIERLOOSE]})(?:\\.(${u[c.XRANGEIDENTIFIERLOOSE]})(?:${u[c.PRERELEASELOOSE]})?${u[c.BUILD]}?)?)?`),m("XRANGE",`^${u[c.GTLT]}\\s*${u[c.XRANGEPLAIN]}$`),m("XRANGELOOSE",`^${u[c.GTLT]}\\s*${u[c.XRANGEPLAINLOOSE]}$`),m("COERCE",`(^|[^\\d])(\\d{1,${n}})(?:\\.(\\d{1,${n}}))?(?:\\.(\\d{1,${n}}))?(?:$|[^\\d])`),m("COERCERTL",u[c.COERCE],!0),m("LONETILDE","(?:~>?)"),m("TILDETRIM",`(\\s*)${u[c.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",m("TILDE",`^${u[c.LONETILDE]}${u[c.XRANGEPLAIN]}$`),m("TILDELOOSE",`^${u[c.LONETILDE]}${u[c.XRANGEPLAINLOOSE]}$`),m("LONECARET","(?:\\^)"),m("CARETTRIM",`(\\s*)${u[c.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",m("CARET",`^${u[c.LONECARET]}${u[c.XRANGEPLAIN]}$`),m("CARETLOOSE",`^${u[c.LONECARET]}${u[c.XRANGEPLAINLOOSE]}$`),m("COMPARATORLOOSE",`^${u[c.GTLT]}\\s*(${u[c.LOOSEPLAIN]})$|^$`),m("COMPARATOR",`^${u[c.GTLT]}\\s*(${u[c.FULLPLAIN]})$|^$`),m("COMPARATORTRIM",`(\\s*)${u[c.GTLT]}\\s*(${u[c.LOOSEPLAIN]}|${u[c.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",m("HYPHENRANGE",`^\\s*(${u[c.XRANGEPLAIN]})\\s+-\\s+(${u[c.XRANGEPLAIN]})\\s*$`),m("HYPHENRANGELOOSE",`^\\s*(${u[c.XRANGEPLAINLOOSE]})\\s+-\\s+(${u[c.XRANGEPLAINLOOSE]})\\s*$`),m("STAR","(<|>)?=?\\s*\\*"),m("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),m("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$");}),rg("iXsaM",function(e,t){let r=Number.MAX_SAFE_INTEGER||9007199254740991;e.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_BUILD_LENGTH:250,MAX_SAFE_INTEGER:r,RELEASE_TYPES:["major","premajor","minor","preminor","patch","prepatch","prerelease"],SEMVER_SPEC_VERSION:"2.0.0",FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2};}),rg("jl9Uf",function(e,t){let r="object"==typeof process&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};e.exports=r;}),rg("8cXe9",function(e,t){var r=rv("jl9Uf"),n=rv("iXsaM"),i=n.MAX_LENGTH,o=n.MAX_SAFE_INTEGER,s=rv("hhSwF"),a=s.safeRe,l=s.t,u=rv("5v8m5"),c=rv("dAM2Q").compareIdentifiers;class p{constructor(e,t){if(t=u(t),e instanceof p){if(!!t.loose===e.loose&&!!t.includePrerelease===e.includePrerelease)return e;e=e.version;}else if("string"!=typeof e)throw TypeError(`Invalid version. Must be a string. Got type "${typeof e}".`);if(e.length>i)throw TypeError(`version is longer than ${i} characters`);r("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;let n=e.trim().match(t.loose?a[l.LOOSE]:a[l.FULL]);if(!n)throw TypeError("Invalid Version: "+e);if(this.raw=e,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>o||this.major<0)throw TypeError("Invalid major version");if(this.minor>o||this.minor<0)throw TypeError("Invalid minor version");if(this.patch>o||this.patch<0)throw TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map(e=>{if(/^[0-9]+$/.test(e)){let t=+e;if(t>=0&&t=0;)"number"==typeof this.prerelease[n]&&(this.prerelease[n]++,n=-2);if(-1===n){if(t===this.prerelease.join(".")&&!1===r)throw Error("invalid increment argument: identifier already exists");this.prerelease.push(e);}}if(t){let n=[t,e];!1===r&&(n=[t]),0===c(this.prerelease[0],t)?isNaN(this.prerelease[1])&&(this.prerelease=n):this.prerelease=n;}break;}default:throw Error("invalid increment argument: "+e);}return this.raw=this.format(),this.build.length&&(this.raw+="+"+this.build.join(".")),this;}}e.exports=p;}),rg("5v8m5",function(e,t){let r=Object.freeze({loose:!0}),n=Object.freeze({});e.exports=e=>e?"object"!=typeof e?r:e:n;}),rg("dAM2Q",function(e,t){let r=(e,t)=>{let r=/^[0-9]+$/.test(e),n=/^[0-9]+$/.test(t);return r&&n&&(e=+e,t=+t),e===t?0:r&&!n?-1:n&&!r?1:t>e?-1:1;};e.exports={compareIdentifiers:r,rcompareIdentifiers:(e,t)=>r(t,e)};}),rg("cHnHr",function(e,t){var r=rv("8cXe9");e.exports=(e,t,n=!1)=>{if(e instanceof r)return e;try{return new r(e,t);}catch(e){if(!n)return null;throw e;}};}),rg("2kZmC",function(e,t){var r=rv("cHnHr");e.exports=(e,t)=>{let n=r(e,t);return n?n.version:null;};}),rg("3Ixw1",function(e,t){var r=rv("cHnHr");e.exports=(e,t)=>{let n=r(e.trim().replace(/^[=v]+/,""),t);return n?n.version:null;};}),rg("5r5vN",function(e,t){var r=rv("8cXe9");e.exports=(e,t,n,i,o)=>{"string"==typeof n&&(o=i,i=n,n=void 0);try{return new r(e instanceof r?e.version:e,n).inc(t,i,o).version;}catch(e){return null;}};}),rg("bDrwm",function(e,t){var r=rv("cHnHr");e.exports=(e,t)=>{let n=r(e,null,!0),i=r(t,null,!0),o=n.compare(i);if(0===o)return null;let s=o>0,a=s?n:i,l=s?i:n,u=!!a.prerelease.length;if(l.prerelease.length&&!u)return l.patch||l.minor?a.patch?"patch":a.minor?"minor":"major":"major";let c=u?"pre":"";return n.major!==i.major?c+"major":n.minor!==i.minor?c+"minor":n.patch!==i.patch?c+"patch":"prerelease";};}),rg("lORAA",function(e,t){var r=rv("8cXe9");e.exports=(e,t)=>new r(e,t).major;}),rg("2Lh6z",function(e,t){var r=rv("8cXe9");e.exports=(e,t)=>new r(e,t).minor;}),rg("73KaH",function(e,t){var r=rv("8cXe9");e.exports=(e,t)=>new r(e,t).patch;}),rg("j5Xr5",function(e,t){var r=rv("cHnHr");e.exports=(e,t)=>{let n=r(e,t);return n&&n.prerelease.length?n.prerelease:null;};}),rg("jDqfd",function(e,t){var r=rv("8cXe9");e.exports=(e,t,n)=>new r(e,n).compare(new r(t,n));}),rg("2QKGl",function(e,t){var r=rv("jDqfd");e.exports=(e,t,n)=>r(t,e,n);}),rg("3puHo",function(e,t){var r=rv("jDqfd");e.exports=(e,t)=>r(e,t,!0);}),rg("7qrQi",function(e,t){var r=rv("8cXe9");e.exports=(e,t,n)=>{let i=new r(e,n),o=new r(t,n);return i.compare(o)||i.compareBuild(o);};}),rg("hZ1Xd",function(e,t){var r=rv("7qrQi");e.exports=(e,t)=>e.sort((e,n)=>r(e,n,t));}),rg("3YOIj",function(e,t){var r=rv("7qrQi");e.exports=(e,t)=>e.sort((e,n)=>r(n,e,t));}),rg("cOpcP",function(e,t){var r=rv("jDqfd");e.exports=(e,t,n)=>r(e,t,n)>0;}),rg("58P10",function(e,t){var r=rv("jDqfd");e.exports=(e,t,n)=>0>r(e,t,n);}),rg("lTmeS",function(e,t){var r=rv("jDqfd");e.exports=(e,t,n)=>0===r(e,t,n);}),rg("jzqBf",function(e,t){var r=rv("jDqfd");e.exports=(e,t,n)=>0!==r(e,t,n);}),rg("3XWvL",function(e,t){var r=rv("jDqfd");e.exports=(e,t,n)=>r(e,t,n)>=0;}),rg("hlfY9",function(e,t){var r=rv("jDqfd");e.exports=(e,t,n)=>0>=r(e,t,n);}),rg("84iFB",function(e,t){var r=rv("lTmeS"),n=rv("jzqBf"),i=rv("cOpcP"),o=rv("3XWvL"),s=rv("58P10"),a=rv("hlfY9");e.exports=(e,t,l,u)=>{switch(t){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof l&&(l=l.version),e===l;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof l&&(l=l.version),e!==l;case"":case"=":case"==":return r(e,l,u);case"!=":return n(e,l,u);case">":return i(e,l,u);case">=":return o(e,l,u);case"<":return s(e,l,u);case"<=":return a(e,l,u);default:throw TypeError("Invalid operator: "+t);}};}),rg("6v1Be",function(e,t){var r=rv("8cXe9"),n=rv("cHnHr"),i=rv("hhSwF"),o=i.safeRe,s=i.t;e.exports=(e,t)=>{if(e instanceof r)return e;if("number"==typeof e&&(e+=""),"string"!=typeof e)return null;let i=null;if((t=t||{}).rtl){let t;for(;(t=o[s.COERCERTL].exec(e))&&(!i||i.index+i[0].length!==e.length);)i&&t.index+t[0].length===i.index+i[0].length||(i=t),o[s.COERCERTL].lastIndex=t.index+t[1].length+t[2].length;o[s.COERCERTL].lastIndex=-1;}else i=e.match(o[s.COERCE]);return null===i?null:n(`${i[2]}.${i[3]||"0"}.${i[4]||"0"}`,t);};}),rg("1bxhC",function(e,t){let r=Symbol();class n{static get ANY(){return r;}constructor(e,t){if(t=i(t),e instanceof n){if(!!t.loose===e.loose)return e;e=e.value;}u("comparator",e=e.trim().split(/\s+/).join(" "),t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===r?this.value="":this.value=this.operator+this.semver.version,u("comp",this);}parse(e){let t=this.options.loose?s[a.COMPARATORLOOSE]:s[a.COMPARATOR],n=e.match(t);if(!n)throw TypeError("Invalid comparator: "+e);this.operator=void 0!==n[1]?n[1]:"","="===this.operator&&(this.operator=""),n[2]?this.semver=new c(n[2],this.options.loose):this.semver=r;}toString(){return this.value;}test(e){if(u("Comparator.test",e,this.options.loose),this.semver===r||e===r)return!0;if("string"==typeof e)try{e=new c(e,this.options);}catch(e){return!1;}return l(e,this.operator,this.semver,this.options);}intersects(e,t){if(!(e instanceof n))throw TypeError("a Comparator is required");return""===this.operator?""===this.value||new p(e.value,t).test(this.value):""===e.operator?""===e.value||new p(this.value,t).test(e.semver):!((t=i(t)).includePrerelease&&("<0.0.0-0"===this.value||"<0.0.0-0"===e.value)||!t.includePrerelease&&(this.value.startsWith("<0.0.0")||e.value.startsWith("<0.0.0")))&&!!(this.operator.startsWith(">")&&e.operator.startsWith(">")||this.operator.startsWith("<")&&e.operator.startsWith("<")||this.semver.version===e.semver.version&&this.operator.includes("=")&&e.operator.includes("=")||l(this.semver,"<",e.semver,t)&&this.operator.startsWith(">")&&e.operator.startsWith("<")||l(this.semver,">",e.semver,t)&&this.operator.startsWith("<")&&e.operator.startsWith(">"));}}e.exports=n;var i=rv("5v8m5"),o=rv("hhSwF"),s=o.safeRe,a=o.t,l=rv("84iFB"),u=rv("jl9Uf"),c=rv("8cXe9"),p=rv("bswWF");}),rg("bswWF",function(e,t){class r{constructor(e,t){if(t=i(t),e instanceof r){if(!!t.loose===e.loose&&!!t.includePrerelease===e.includePrerelease)return e;return new r(e.raw,t);}if(e instanceof o)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.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map(e=>this.parseRange(e.trim())).filter(e=>e.length),!this.set.length)throw TypeError("Invalid SemVer Range: "+this.raw);if(this.set.length>1){let e=this.set[0];if(this.set=this.set.filter(e=>!g(e[0])),0===this.set.length)this.set=[e];else if(this.set.length>1){for(let e of this.set)if(1===e.length&&E(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){let t=((this.options.includePrerelease&&m)|(this.options.loose&&v))+":"+e,r=n.get(t);if(r)return r;let i=this.options.loose,a=i?u[c.HYPHENRANGELOOSE]:u[c.HYPHENRANGE];s("hyphen replace",e=e.replace(a,$(this.options.includePrerelease))),s("comparator trim",e=e.replace(u[c.COMPARATORTRIM],p)),s("tilde trim",e=e.replace(u[c.TILDETRIM],d)),s("caret trim",e=e.replace(u[c.CARETTRIM],f));let l=e.split(" ").map(e=>w(e,this.options)).join(" ").split(/\s+/).map(e=>C(e,this.options));i&&(l=l.filter(e=>(s("loose invalid filter",e,this.options),!!e.match(u[c.COMPARATORLOOSE])))),s("range list",l);let h=new Map();for(let e of l.map(e=>new o(e,this.options))){if(g(e))return[e];h.set(e.value,e);}h.size>1&&h.has("")&&h.delete("");let E=[...h.values()];return n.set(t,E),E;}intersects(e,t){if(!(e instanceof r))throw TypeError("a Range is required");return this.set.some(r=>y(r,t)&&e.set.some(e=>y(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;t"<0.0.0-0"===e.value,E=e=>""===e.value,y=(e,t)=>{let r=!0,n=e.slice(),i=n.pop();for(;r&&n.length;)r=n.every(e=>i.intersects(e,t)),i=n.pop();return r;},w=(e,t)=>(s("comp",e,t),s("caret",e=S(e,t)),s("tildes",e=b(e,t)),s("xrange",e=O(e,t)),s("stars",e=A(e,t)),e),x=e=>!e||"x"===e.toLowerCase()||"*"===e,b=(e,t)=>e.trim().split(/\s+/).map(e=>I(e,t)).join(" "),I=(e,t)=>{let r=t.loose?u[c.TILDELOOSE]:u[c.TILDE];return e.replace(r,(t,r,n,i,o)=>{let a;return s("tilde",e,t,r,n,i,o),x(r)?a="":x(n)?a=`>=${r}.0.0 <${+r+1}.0.0-0`:x(i)?a=`>=${r}.${n}.0 <${r}.${+n+1}.0-0`:o?(s("replaceTilde pr",o),a=`>=${r}.${n}.${i}-${o} <${r}.${+n+1}.0-0`):a=`>=${r}.${n}.${i} <${r}.${+n+1}.0-0`,s("tilde return",a),a;});},S=(e,t)=>e.trim().split(/\s+/).map(e=>R(e,t)).join(" "),R=(e,t)=>{s("caret",e,t);let r=t.loose?u[c.CARETLOOSE]:u[c.CARET],n=t.includePrerelease?"-0":"";return e.replace(r,(t,r,i,o,a)=>{let l;return s("caret",e,t,r,i,o,a),x(r)?l="":x(i)?l=`>=${r}.0.0${n} <${+r+1}.0.0-0`:x(o)?l="0"===r?`>=${r}.${i}.0${n} <${r}.${+i+1}.0-0`:`>=${r}.${i}.0${n} <${+r+1}.0.0-0`:a?(s("replaceCaret pr",a),l="0"===r?"0"===i?`>=${r}.${i}.${o}-${a} <${r}.${i}.${+o+1}-0`:`>=${r}.${i}.${o}-${a} <${r}.${+i+1}.0-0`:`>=${r}.${i}.${o}-${a} <${+r+1}.0.0-0`):(s("no pr"),l="0"===r?"0"===i?`>=${r}.${i}.${o}${n} <${r}.${i}.${+o+1}-0`:`>=${r}.${i}.${o}${n} <${r}.${+i+1}.0-0`:`>=${r}.${i}.${o} <${+r+1}.0.0-0`),s("caret return",l),l;});},O=(e,t)=>(s("replaceXRanges",e,t),e.split(/\s+/).map(e=>T(e,t)).join(" ")),T=(e,t)=>{e=e.trim();let r=t.loose?u[c.XRANGELOOSE]:u[c.XRANGE];return e.replace(r,(r,n,i,o,a,l)=>{s("xRange",e,r,n,i,o,a,l);let u=x(i),c=u||x(o),p=c||x(a);return"="===n&&p&&(n=""),l=t.includePrerelease?"-0":"",u?r=">"===n||"<"===n?"<0.0.0-0":"*":n&&p?(c&&(o=0),a=0,">"===n?(n=">=",c?(i=+i+1,o=0):o=+o+1,a=0):"<="===n&&(n="<",c?i=+i+1:o=+o+1),"<"===n&&(l="-0"),r=`${n+i}.${o}.${a}${l}`):c?r=`>=${i}.0.0${l} <${+i+1}.0.0-0`:p&&(r=`>=${i}.${o}.0${l} <${i}.${+o+1}.0-0`),s("xRange return",r),r;});},A=(e,t)=>(s("replaceStars",e,t),e.trim().replace(u[c.STAR],"")),C=(e,t)=>(s("replaceGTE0",e,t),e.trim().replace(u[t.includePrerelease?c.GTE0PRE:c.GTE0],"")),$=e=>(t,r,n,i,o,s,a,l,u,c,p,d,f)=>(r=x(n)?"":x(i)?`>=${n}.0.0${e?"-0":""}`:x(o)?`>=${n}.${i}.0${e?"-0":""}`:s?">="+r:`>=${r}${e?"-0":""}`,l=x(u)?"":x(c)?`<${+u+1}.0.0-0`:x(p)?`<${u}.${+c+1}.0-0`:d?`<=${u}.${c}.${p}-${d}`:e?`<${u}.${c}.${+p+1}-0`:"<="+l,`${r} ${l}`.trim()),_=(e,t,r)=>{for(let r=0;r0){let n=e[r].semver;if(n.major===t.major&&n.minor===t.minor&&n.patch===t.patch)return!0;}return!1;}return!0;};}),rg("31A6g",function(e,t){var r=rv("i08Cw");let n=Symbol(),i=Symbol(),o=Symbol(),s=Symbol(),a=Symbol(),l=Symbol(),u=Symbol(),c=Symbol(),p=Symbol(),d=Symbol(),f=()=>1,h=(e,t,r)=>{let n=e[p].get(t);if(n){let t=n.value;if(m(e,t)){if(g(e,n),!e[s])return;}else r&&(e[d]&&(n.value.now=Date.now()),e[c].unshiftNode(n));return t.value;}},m=(e,t)=>{if(!t||!t.maxAge&&!e[a])return!1;let r=Date.now()-t.now;return t.maxAge?r>t.maxAge:e[a]&&r>e[a];},v=e=>{if(e[i]>e[n])for(let t=e[c].tail;e[i]>e[n]&&null!==t;){let r=t.prev;g(e,t),t=r;}},g=(e,t)=>{if(t){let r=t.value;e[l]&&e[l](r.key,r.value),e[i]-=r.length,e[p].delete(r.key),e[c].removeNode(t);}};class E{constructor(e,t,r,n,i){this.key=e,this.value=t,this.length=r,this.now=n,this.maxAge=i||0;}}let y=(e,t,r,n)=>{let i=r.value;m(e,i)&&(g(e,r),e[s]||(i=void 0)),i&&t.call(n,i.value,i.key,e);};e.exports=class{constructor(e){if("number"==typeof e&&(e={max:e}),e||(e={}),e.max&&("number"!=typeof e.max||e.max<0))throw TypeError("max must be a non-negative number");this[n]=e.max||1/0;let t=e.length||f;if(this[o]="function"!=typeof t?f:t,this[s]=e.stale||!1,e.maxAge&&"number"!=typeof e.maxAge)throw TypeError("maxAge must be a number");this[a]=e.maxAge||0,this[l]=e.dispose,this[u]=e.noDisposeOnSet||!1,this[d]=e.updateAgeOnGet||!1,this.reset();}set max(e){if("number"!=typeof e||e<0)throw TypeError("max must be a non-negative number");this[n]=e||1/0,v(this);}get max(){return this[n];}set allowStale(e){this[s]=!!e;}get allowStale(){return this[s];}set maxAge(e){if("number"!=typeof e)throw TypeError("maxAge must be a non-negative number");this[a]=e,v(this);}get maxAge(){return this[a];}set lengthCalculator(e){"function"!=typeof e&&(e=f),e!==this[o]&&(this[o]=e,this[i]=0,this[c].forEach(e=>{e.length=this[o](e.value,e.key),this[i]+=e.length;})),v(this);}get lengthCalculator(){return this[o];}get length(){return this[i];}get itemCount(){return this[c].length;}rforEach(e,t){t=t||this;for(let r=this[c].tail;null!==r;){let n=r.prev;y(this,e,r,t),r=n;}}forEach(e,t){t=t||this;for(let r=this[c].head;null!==r;){let n=r.next;y(this,e,r,t),r=n;}}keys(){return this[c].toArray().map(e=>e.key);}values(){return this[c].toArray().map(e=>e.value);}reset(){this[l]&&this[c]&&this[c].length&&this[c].forEach(e=>this[l](e.key,e.value)),this[p]=new Map(),this[c]=new r(),this[i]=0;}dump(){return this[c].map(e=>!m(this,e)&&{k:e.key,v:e.value,e:e.now+(e.maxAge||0)}).toArray().filter(e=>e);}dumpLru(){return this[c];}set(e,t,r){if((r=r||this[a])&&"number"!=typeof r)throw TypeError("maxAge must be a number");let s=r?Date.now():0,d=this[o](t,e);if(this[p].has(e)){if(d>this[n])return g(this,this[p].get(e)),!1;let o=this[p].get(e).value;return this[l]&&!this[u]&&this[l](e,o.value),o.now=s,o.maxAge=r,o.value=t,this[i]+=d-o.length,o.length=d,this.get(e),v(this),!0;}let f=new E(e,t,d,s,r);return f.length>this[n]?(this[l]&&this[l](e,t),!1):(this[i]+=f.length,this[c].unshift(f),this[p].set(e,this[c].head),v(this),!0);}has(e){return!!this[p].has(e)&&!m(this,this[p].get(e).value);}get(e){return h(this,e,!0);}peek(e){return h(this,e,!1);}pop(){let e=this[c].tail;return e?(g(this,e),e.value):null;}del(e){g(this,this[p].get(e));}load(e){this.reset();let t=Date.now();for(let r=e.length-1;r>=0;r--){let n=e[r],i=n.e||0;if(0===i)this.set(n.k,n.v);else{let e=i-t;e>0&&this.set(n.k,n.v,e);}}}prune(){this[p].forEach((e,t)=>h(this,t,!1));}};}),rg("i08Cw",function(e,t){function r(e){var t=this;if(t instanceof r||(t=new r()),t.tail=null,t.head=null,t.length=0,e&&"function"==typeof e.forEach)e.forEach(function(e){t.push(e);});else if(arguments.length>0)for(var n=0,i=arguments.length;i>n;n++)t.push(arguments[n]);return t;}function n(e,t,r,i){if(!(this instanceof n))return new n(e,t,r,i);this.list=i,this.value=e,t?(t.next=this,this.prev=t):this.prev=null,r?(r.prev=this,this.next=r):this.next=null;}e.exports=r,r.Node=n,r.create=r,r.prototype.removeNode=function(e){if(e.list!==this)throw Error("removing node which does not belong to this list");var t=e.next,r=e.prev;return t&&(t.prev=r),r&&(r.next=t),e===this.head&&(this.head=t),e===this.tail&&(this.tail=r),e.list.length--,e.next=null,e.prev=null,e.list=null,t;},r.prototype.unshiftNode=function(e){if(e!==this.head){e.list&&e.list.removeNode(e);var t=this.head;e.list=this,e.next=t,t&&(t.prev=e),this.head=e,this.tail||(this.tail=e),this.length++;}},r.prototype.pushNode=function(e){if(e!==this.tail){e.list&&e.list.removeNode(e);var t=this.tail;e.list=this,e.prev=t,t&&(t.next=e),this.tail=e,this.head||(this.head=e),this.length++;}},r.prototype.push=function(){for(var e,t=0,r=arguments.length;r>t;t++)e=arguments[t],this.tail=new n(e,this.tail,null,this),this.head||(this.head=this.tail),this.length++;return this.length;},r.prototype.unshift=function(){for(var e,t=0,r=arguments.length;r>t;t++)e=arguments[t],this.head=new n(e,null,this.head,this),this.tail||(this.tail=this.head),this.length++;return this.length;},r.prototype.pop=function(){if(this.tail){var e=this.tail.value;return this.tail=this.tail.prev,this.tail?this.tail.next=null:this.head=null,this.length--,e;}},r.prototype.shift=function(){if(this.head){var e=this.head.value;return this.head=this.head.next,this.head?this.head.prev=null:this.tail=null,this.length--,e;}},r.prototype.forEach=function(e,t){t=t||this;for(var r=this.head,n=0;null!==r;n++)e.call(t,r.value,n,this),r=r.next;},r.prototype.forEachReverse=function(e,t){t=t||this;for(var r=this.tail,n=this.length-1;null!==r;n--)e.call(t,r.value,n,this),r=r.prev;},r.prototype.get=function(e){for(var t=0,r=this.head;null!==r&&e>t;t++)r=r.next;if(t===e&&null!==r)return r.value;},r.prototype.getReverse=function(e){for(var t=0,r=this.tail;null!==r&&e>t;t++)r=r.prev;if(t===e&&null!==r)return r.value;},r.prototype.map=function(e,t){t=t||this;for(var n=new r(),i=this.head;null!==i;)n.push(e.call(t,i.value,this)),i=i.next;return n;},r.prototype.mapReverse=function(e,t){t=t||this;for(var n=new r(),i=this.tail;null!==i;)n.push(e.call(t,i.value,this)),i=i.prev;return n;},r.prototype.reduce=function(e,t){var r,n=this.head;if(arguments.length>1)r=t;else if(this.head)n=this.head.next,r=this.head.value;else throw TypeError("Reduce of empty list with no initial value");for(var i=0;null!==n;i++)r=e(r,n.value,i),n=n.next;return r;},r.prototype.reduceReverse=function(e,t){var r,n=this.tail;if(arguments.length>1)r=t;else if(this.tail)n=this.tail.prev,r=this.tail.value;else throw TypeError("Reduce of empty list with no initial value");for(var i=this.length-1;null!==n;i--)r=e(r,n.value,i),n=n.prev;return r;},r.prototype.toArray=function(){for(var e=Array(this.length),t=0,r=this.head;null!==r;t++)e[t]=r.value,r=r.next;return e;},r.prototype.toArrayReverse=function(){for(var e=Array(this.length),t=0,r=this.tail;null!==r;t++)e[t]=r.value,r=r.prev;return e;},r.prototype.slice=function(e,t){(t=t||this.length)<0&&(t+=this.length),(e=e||0)<0&&(e+=this.length);var n=new r();if(tthis.length&&(t=this.length);for(var i=0,o=this.head;null!==o&&ii;i++,o=o.next)n.push(o.value);return n;},r.prototype.sliceReverse=function(e,t){(t=t||this.length)<0&&(t+=this.length),(e=e||0)<0&&(e+=this.length);var n=new r();if(tthis.length&&(t=this.length);for(var i=this.length,o=this.tail;null!==o&&i>t;i--)o=o.prev;for(;null!==o&&i>e;i--,o=o.prev)n.push(o.value);return n;},r.prototype.splice=function(e,t,...r){e>this.length&&(e=this.length-1),e<0&&(e=this.length+e);for(var i=0,o=this.head;null!==o&&e>i;i++)o=o.next;for(var s=[],i=0;o&&i{try{t=new r(t,n);}catch(e){return!1;}return t.test(e);};}),rg("4zfp3",function(e,t){var r=rv("bswWF");e.exports=(e,t)=>new r(e,t).set.map(e=>e.map(e=>e.value).join(" ").trim().split(" "));}),rg("ga5uZ",function(e,t){var r=rv("8cXe9"),n=rv("bswWF");e.exports=(e,t,i)=>{let o=null,s=null,a=null;try{a=new n(t,i);}catch(e){return null;}return e.forEach(e=>{a.test(e)&&(!o||-1===s.compare(e))&&(s=new r(o=e,i));}),o;};}),rg("lPGVL",function(e,t){var r=rv("8cXe9"),n=rv("bswWF");e.exports=(e,t,i)=>{let o=null,s=null,a=null;try{a=new n(t,i);}catch(e){return null;}return e.forEach(e=>{a.test(e)&&(!o||1===s.compare(e))&&(s=new r(o=e,i));}),o;};}),rg("1I8AA",function(e,t){var r=rv("8cXe9"),n=rv("bswWF"),i=rv("cOpcP");e.exports=(e,t)=>{e=new n(e,t);let o=new r("0.0.0");if(e.test(o)||(o=new r("0.0.0-0"),e.test(o)))return o;o=null;for(let t=0;t{let 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">=":(!s||i(t,s))&&(s=t);break;case"<":case"<=":break;default:throw Error("Unexpected operation: "+e.operator);}}),s&&(!o||i(o,s))&&(o=s);}return o&&e.test(o)?o:null;};}),rg("dBtft",function(e,t){var r=rv("bswWF");e.exports=(e,t)=>{try{return new r(e,t).range||"*";}catch(e){return null;}};}),rg("83Sp2",function(e,t){var r=rv("8cXe9"),n=rv("1bxhC");let{ANY:i}=n;var o=rv("bswWF"),s=rv("42oIR"),a=rv("cOpcP"),l=rv("58P10"),u=rv("hlfY9"),c=rv("3XWvL");e.exports=(e,t,p,d)=>{let f,h,m,v,g;switch(e=new r(e,d),t=new o(t,d),p){case">":f=a,h=u,m=l,v=">",g=">=";break;case"<":f=l,h=c,m=a,v="<",g="<=";break;default:throw TypeError('Must provide a hilo val of "<" or ">"');}if(s(e,t,d))return!1;for(let r=0;r{e.semver===i&&(e=new n(">=0.0.0")),s=s||e,a=a||e,f(e.semver,s.semver,d)?s=e:m(e.semver,a.semver,d)&&(a=e);}),s.operator===v||s.operator===g||(!a.operator||a.operator===v)&&h(e,a.semver)||a.operator===g&&m(e,a.semver))return!1;}return!0;};}),rg("eK4my",function(e,t){var r=rv("83Sp2");e.exports=(e,t,n)=>r(e,t,">",n);}),rg("eNXBI",function(e,t){var r=rv("83Sp2");e.exports=(e,t,n)=>r(e,t,"<",n);}),rg("kHzUo",function(e,t){var r=rv("bswWF");e.exports=(e,t,n)=>(e=new r(e,n),t=new r(t,n),e.intersects(t,n));}),rg("1x2XZ",function(e,t){var r=rv("42oIR"),n=rv("jDqfd");e.exports=(e,t,i)=>{let o=[],s=null,a=null,l=e.sort((e,t)=>n(e,t,i));for(let e of l)r(e,t,i)?(a=e,s||(s=e)):(a&&o.push([s,a]),a=null,s=null);s&&o.push([s,null]);let u=[];for(let[e,t]of o)e===t?u.push(e):t||e!==l[0]?t?e===l[0]?u.push("<="+t):u.push(`${e} - ${t}`):u.push(">="+e):u.push("*");let c=u.join(" || "),p="string"==typeof t.raw?t.raw:t+"";return c.length=0.0.0-0")],l=[new n(">=0.0.0")],u=(e,t,r)=>{let n,u,d,f,h,m,v;if(e===t)return!0;if(1===e.length&&e[0].semver===i){if(1===t.length&&t[0].semver===i)return!0;e=r.includePrerelease?a:l;}if(1===t.length&&t[0].semver===i){if(r.includePrerelease)return!0;t=l;}let g=new Set();for(let t of e)">"===t.operator||">="===t.operator?n=c(n,t,r):"<"===t.operator||"<="===t.operator?u=p(u,t,r):g.add(t.semver);if(g.size>1||n&&u&&((d=s(n.semver,u.semver,r))>0||0===d&&(">="!==n.operator||"<="!==u.operator)))return null;for(let e of g){if(n&&!o(e,n+"",r)||u&&!o(e,u+"",r))return null;for(let n of t)if(!o(e,n+"",r))return!1;return!0;}let E=!!u&&!r.includePrerelease&&!!u.semver.prerelease.length&&u.semver,y=!!n&&!r.includePrerelease&&!!n.semver.prerelease.length&&n.semver;for(let e of(E&&1===E.prerelease.length&&"<"===u.operator&&0===E.prerelease[0]&&(E=!1),t)){if(v=v||">"===e.operator||">="===e.operator,m=m||"<"===e.operator||"<="===e.operator,n){if(y&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===y.major&&e.semver.minor===y.minor&&e.semver.patch===y.patch&&(y=!1),">"===e.operator||">="===e.operator){if((f=c(n,e,r))===e&&f!==n)return!1;}else if(">="===n.operator&&!o(n.semver,e+"",r))return!1;}if(u){if(E&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===E.major&&e.semver.minor===E.minor&&e.semver.patch===E.patch&&(E=!1),"<"===e.operator||"<="===e.operator){if((h=p(u,e,r))===e&&h!==u)return!1;}else if("<="===u.operator&&!o(u.semver,e+"",r))return!1;}if(!e.operator&&(u||n)&&0!==d)return!1;}return(!n||!m||!!u||0===d)&&(!u||!v||!!n||0===d)&&!y&&!E;},c=(e,t,r)=>{if(!e)return t;let n=s(e.semver,t.semver,r);return n>0?e:n<0?t:">"===t.operator&&">="===e.operator?t:e;},p=(e,t,r)=>{if(!e)return t;let n=s(e.semver,t.semver,r);return n<0?e:n>0?t:"<"===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 i=!1;e:for(let r of e.set){for(let e of t.set){let t=u(r,e,n);if(i=i||null!==t,t)continue e;}if(i)return!1;}return!0;};}),rg("8CJZb",function(e,t){e.exports=function(e){if("string"!=typeof e)throw TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&");};}),rg("6t4SD",function(e,t){async function r(e){try{return await(0,t5.promises).access(e),!0;}catch{return!1;}}l(e.exports,"pathExists",()=>r);}),rg("eAXk4",function(e,t){var r,n,i,o,s,a,c,p,d,f,h,m,v;function g(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 E(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0});}function y(e,t=!0){return t?(0,nz.basename)(e):(0,nz.basename)(e,(0,nz.extname)(e));}function w(e){return(0,nz.normalize)(e).replace(RegExp((0,r.default)(nz.sep)+"$"),"");}function x(e,t=".exe",r=""){return"win32"===process.platform?`${e}${t}`:`${e}${r}`;}function b(e,t){let r=(0,nz.extname)(e),n=`${t}${(0,nz.basename)(e,r)}${r}`;return(0,nz.join)((0,nz.dirname)(e),n);}function I(e,t){let r=(0,nz.extname)(e),n=`${(0,nz.basename)(e,r)}${t}${r}`;return(0,nz.join)((0,nz.dirname)(e),n);}function S(e,t=".cmd",r=".sh"){return"win32"===process.platform?`${e}${t}`:`${e}${r}`;}function R(e){return"win32"===process.platform?e:"./"+e;}function O(e){let t=(0,nz.extname)(e).length;return e.slice(0,-t);}function T(e,t){return u(n)(e,t);}function A(e,t){let r=(0,nz.relative)(t,e);return!(!r||".."===r||r.startsWith(".."+nz.sep)||r===(0,nz.resolve)(e));}l(e.exports,"addExeExt",()=>x),l(e.exports,"addShExt",()=>S),l(e.exports,"addShRelativePrefix",()=>R),l(e.exports,"dirname",()=>nz.dirname),l(e.exports,"join",()=>nz.join),r=rv("f44Uw"),n=rv("fBJE3"),i={},E(o={},"name",()=>y),E(s={},"normalizeTrim",()=>w),E(a={},"addExeExt",()=>x),E(c={},"addNamePrefix",()=>b),E(p={},"addNameSuffix",()=>I),E(d={},"addShExt",()=>S),E(f={},"addShRelativePrefix",()=>R),E(h={},"removeExt",()=>O),E(m={},"replaceExt",()=>T),E(v={},"isPathInside",()=>A),g(i,o),g(i,s),g(i,a),g(i,c),g(i,p),g(i,d),g(i,f),g(i,h),g(i,m),g(i,v);}),rg("f44Uw",function(e,t){function r(e){if("string"!=typeof e)throw TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d");}l(e.exports,"default",()=>r);}),rg("fBJE3",function(e,t){e.exports=function(e,t){if("string"!=typeof e||0===e.length)return e;var r,n=nz.basename(e,nz.extname(e))+t,i=nz.join(nz.dirname(e),n);return(r=e.slice(0,2))==="."+nz.sep||"./"===r?"."+nz.sep+i:i;};}),rg("zdagz",function(e,t){var r,n,i,o;function s(e){return o(this,void 0,void 0,function*(){if(p.IS_WINDOWS&&/[*"<>|]/.test(e))throw Error('File path must not contain `*`, `"`, `<`, `>` or `|` on Windows');try{yield p.rm(e,{force:!0,maxRetries:3,recursive:!0,retryDelay:300});}catch(e){throw Error("File was unable to be removed "+e);}});}function a(e){return o(this,void 0,void 0,function*(){t6.ok(e,"a path argument must be provided"),yield p.mkdir(e,{recursive:!0});});}function l(e){return o(this,void 0,void 0,function*(){if(!e)throw Error("parameter 'tool' is required");let t=[];if(p.IS_WINDOWS&&process.env.PATHEXT)for(let e of process.env.PATHEXT.split(c.delimiter))e&&t.push(e);if(p.isRooted(e)){let r=yield p.tryGetExecutablePath(e,t);return r?[r]:[];}if(e.includes(c.sep))return[];let r=[];if(process.env.PATH)for(let e of process.env.PATH.split(c.delimiter))e&&r.push(e);let n=[];for(let i of r){let r=yield p.tryGetExecutablePath(c.join(i,e),t);r&&n.push(r);}return n;});}function u(e,t,r){return o(this,void 0,void 0,function*(){if((yield p.lstat(e)).isSymbolicLink()){try{yield p.lstat(t),yield p.unlink(t);}catch(e){"EPERM"===e.code&&(yield p.chmod(t,"0666"),yield p.unlink(t));}let r=yield p.readlink(e);yield p.symlink(r,t,p.IS_WINDOWS?"junction":null);}else(!(yield p.exists(t))||r)&&(yield p.copyFile(e,t));});}r=e.exports&&e.exports.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r];}});}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r];}),n=e.exports&&e.exports.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),i=e.exports&&e.exports.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&r(t,e,i);return n(t,e),t;},o=e.exports&&e.exports.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e));}catch(e){o(e);}}function a(e){try{l(n.throw(e));}catch(e){o(e);}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t);})).then(s,a);}l((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;let c=i(nz),p=i(rv("fwMQK"));e.exports.cp=function(e,t,r={}){return o(this,void 0,void 0,function*(){let{force:n,recursive:i,copySourceDirectory:s}=function(e){let t=null==e.force||e.force;return{force:t,recursive:!!e.recursive,copySourceDirectory:null==e.copySourceDirectory||!!e.copySourceDirectory};}(r),l=(yield p.exists(t))?yield p.stat(t):null;if(l&&l.isFile()&&!n)return;let d=l&&l.isDirectory()&&s?c.join(t,c.basename(e)):t;if(!(yield p.exists(e)))throw Error("no such file or directory: "+e);if((yield p.stat(e)).isDirectory()){if(i)yield function e(t,r,n,i){return o(this,void 0,void 0,function*(){if(!(n>=255)){for(let o of(n++,yield a(r),yield p.readdir(t))){let s=`${t}/${o}`,a=`${r}/${o}`;(yield p.lstat(s)).isDirectory()?yield e(s,a,n,i):yield u(s,a,i);}yield p.chmod(r,(yield p.stat(t)).mode);}});}(e,d,0,n);else throw Error(`Failed to copy. ${e} is a directory, but tried to copy without recursive flag.`);}else{if(""===c.relative(e,d))throw Error(`'${d}' and '${e}' are the same file`);yield u(e,d,n);}});},e.exports.mv=function(e,t,r={}){return o(this,void 0,void 0,function*(){if(yield p.exists(t)){let n=!0;if((yield p.isDirectory(t))&&(t=c.join(t,c.basename(e)),n=yield p.exists(t)),n){if(null==r.force||r.force)yield s(t);else throw Error("Destination already exists");}}yield a(c.dirname(t)),yield p.rename(e,t);});},e.exports.rmRF=s,e.exports.mkdirP=a,e.exports.which=function e(t,r){return o(this,void 0,void 0,function*(){if(!t)throw Error("parameter 'tool' is required");if(r){let r=yield e(t,!1);if(!r){if(p.IS_WINDOWS)throw Error(`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.`);throw Error(`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;}let n=yield l(t);return n&&n.length>0?n[0]:"";});},e.exports.findInPath=l;}),rg("fwMQK",function(e,t){var r,n,i,o,s;function a(e){return(1&e.mode)>0||(8&e.mode)>0&&e.gid===process.getgid()||(64&e.mode)>0&&e.uid===process.getuid();}r=e.exports&&e.exports.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r];}});}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r];}),n=e.exports&&e.exports.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),i=e.exports&&e.exports.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&r(t,e,i);return n(t,e),t;},o=e.exports&&e.exports.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e));}catch(e){o(e);}}function a(e){try{l(n.throw(e));}catch(e){o(e);}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t);})).then(s,a);}l((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.READONLY=e.exports.UV_FS_O_EXLOCK=e.exports.IS_WINDOWS=e.exports.unlink=e.exports.symlink=e.exports.stat=e.exports.rmdir=e.exports.rm=e.exports.rename=e.exports.readlink=e.exports.readdir=e.exports.open=e.exports.mkdir=e.exports.lstat=e.exports.copyFile=e.exports.chmod=void 0;let l=i(nW),u=i(nz);s=l.promises,e.exports.chmod=s.chmod,e.exports.copyFile=s.copyFile,e.exports.lstat=s.lstat,e.exports.mkdir=s.mkdir,e.exports.open=s.open,e.exports.readdir=s.readdir,e.exports.readlink=s.readlink,e.exports.rename=s.rename,e.exports.rm=s.rm,e.exports.rmdir=s.rmdir,e.exports.stat=s.stat,e.exports.symlink=s.symlink,e.exports.unlink=s.unlink,e.exports.IS_WINDOWS="win32"===process.platform,e.exports.UV_FS_O_EXLOCK=268435456,e.exports.READONLY=l.constants.O_RDONLY,e.exports.exists=function(t){return o(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 o(this,void 0,void 0,function*(){return(r?yield e.exports.stat(t):yield e.exports.lstat(t)).isDirectory();});},e.exports.isRooted=function(t){var r;if(r=(r=t)||"",!(t=e.exports.IS_WINDOWS?(r=r.replace(/\//g,"\\")).replace(/\\\\+/g,"\\"):r.replace(/\/\/+/g,"/")))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,r){return o(this,void 0,void 0,function*(){let n;try{n=yield e.exports.stat(t);}catch(e){"ENOENT"!==e.code&&console.log(`Unexpected error attempting to determine if executable file exists '${t}': ${e}`);}if(n&&n.isFile()){if(e.exports.IS_WINDOWS){let e=u.extname(t).toUpperCase();if(r.some(t=>t.toUpperCase()===e))return t;}else if(a(n))return t;}let i=t;for(let o of r){t=i+o,n=void 0;try{n=yield e.exports.stat(t);}catch(e){"ENOENT"!==e.code&&console.log(`Unexpected error attempting to determine if executable file exists '${t}': ${e}`);}if(n&&n.isFile()){if(e.exports.IS_WINDOWS){try{let r=u.dirname(t),n=u.basename(t).toUpperCase();for(let i of yield e.exports.readdir(r))if(n===i.toUpperCase()){t=u.join(r,i);break;}}catch(e){console.log(`Unexpected error attempting to determine the actual case of the file '${t}': ${e}`);}return t;}if(a(n))return t;}}return"";});},e.exports.getCmdPath=function(){var e;return null!==(e=process.env.COMSPEC)&&void 0!==e?e:"cmd.exe";};}),rg("gn8Si",function(e,t){var r,n,i,o,s;r=e.exports&&e.exports.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r];}});}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r];}),n=e.exports&&e.exports.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),i=e.exports&&e.exports.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&r(t,e,i);return n(t,e),t;},o=e.exports&&e.exports.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e));}catch(e){o(e);}}function a(e){try{l(n.throw(e));}catch(e){o(e);}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t);})).then(s,a);}l((n=n.apply(e,t||[])).next());});},Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports._readLinuxVersionFile=e.exports._getOsVersion=e.exports._findMatch=void 0;let a=i(rv("0306Y"));s=rv("1o3Gj"),e.exports._findMatch=function(t,r,n,i){return o(this,void 0,void 0,function*(){let o,l,u;let c=nX.platform();for(let o of n){let n=o.version;if(s.debug(`check ${n} satisfies ${t}`),a.satisfies(n,t)&&(!r||o.stable===r)&&(u=o.files.find(t=>{s.debug(`${t.arch}===${i} && ${t.platform}===${c}`);let r=t.arch===i&&t.platform===c;if(r&&t.platform_version){let n=e.exports._getOsVersion();r=n===t.platform_version||a.satisfies(n,t.platform_version);}return r;}))){s.debug("matched "+o.version),l=o;break;}}return l&&u&&((o=Object.assign({},l)).files=[u]),o;});},e.exports._getOsVersion=function(){let t=nX.platform(),r="";if("darwin"===t)r=t9.execSync("sw_vers -productVersion").toString();else if("linux"===t){let t=e.exports._readLinuxVersionFile();if(t)for(let e of t.split("\n")){let t=e.split("=");if(2===t.length&&("VERSION_ID"===t[0].trim()||"DISTRIB_RELEASE"===t[0].trim())){r=t[1].trim().replace(/^"/,"").replace(/"$/,"");break;}}}return r;},e.exports._readLinuxVersionFile=function(){let e="/etc/lsb-release",t="/etc/os-release",r="";return nW.existsSync(e)?r=nW.readFileSync(e).toString():nW.existsSync(t)&&(r=nW.readFileSync(t).toString()),r;};}),rg("0306Y",function(e,t){function r(e){C[e]=$++;}function n(e){for(var t=0;tI||!(t.loose?T[C.LOOSE]:T[C.FULL]).test(e))return null;try{return new o(e,t);}catch(e){return null;}}function o(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof o){if(e.loose===t.loose)return e;e=e.version;}else if("string"!=typeof e)throw TypeError("Invalid Version: "+e);if(e.length>I)throw TypeError("version is longer than "+I+" characters");if(!(this instanceof o))return new o(e,t);b("SemVer",e,t),this.options=t,this.loose=!!t.loose;var r=e.trim().match(t.loose?T[C.LOOSE]:T[C.FULL]);if(!r)throw TypeError("Invalid Version: "+e);if(this.raw=e,this.major=+r[1],this.minor=+r[2],this.patch=+r[3],this.major>S||this.major<0)throw TypeError("Invalid major version");if(this.minor>S||this.minor<0)throw TypeError("Invalid minor version");if(this.patch>S||this.patch<0)throw TypeError("Invalid patch version");r[4]?this.prerelease=r[4].split(".").map(function(e){if(/^[0-9]+$/.test(e)){var t=+e;if(t>=0&&te?-1:1;}function a(e,t,r){return new o(e,r).compare(new o(t,r));}function l(e,t,r){return a(e,t,r)>0;}function u(e,t,r){return 0>a(e,t,r);}function c(e,t,r){return 0===a(e,t,r);}function p(e,t,r){return 0!==a(e,t,r);}function d(e,t,r){return a(e,t,r)>=0;}function f(e,t,r){return 0>=a(e,t,r);}function h(e,t,r,n){switch(t){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof r&&(r=r.version),e===r;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof r&&(r=r.version),e!==r;case"":case"=":case"==":return c(e,r,n);case"!=":return p(e,r,n);case">":return l(e,r,n);case">=":return d(e,r,n);case"<":return u(e,r,n);case"<=":return f(e,r,n);default:throw TypeError("Invalid operator: "+t);}}function m(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof m){if(!!t.loose===e.loose)return e;e=e.value;}if(!(this instanceof m))return new m(e,t);e=e.trim().split(/\s+/).join(" "),b("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===L?this.value="":this.value=this.operator+this.semver.version,b("comp",this);}function v(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof v)return!!t.loose===e.loose&&!!t.includePrerelease===e.includePrerelease?e:new v(e.raw,t);if(e instanceof m)return new v(e.value,t);if(!(this instanceof v))return new v(e,t);if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map(function(e){return this.parseRange(e.trim());},this).filter(function(e){return e.length;}),!this.set.length)throw TypeError("Invalid SemVer Range: "+this.raw);this.format();}function g(e,t){for(var r=!0,n=e.slice(),i=n.pop();r&&n.length;)r=n.every(function(e){return i.intersects(e,t);}),i=n.pop();return r;}function E(e){return!e||"x"===e.toLowerCase()||"*"===e;}function y(e,t,r,n,i,o,s,a,l,u,c,p,d){return((t=E(r)?"":E(n)?">="+r+".0.0":E(i)?">="+r+"."+n+".0":">="+t)+" "+(a=E(l)?"":E(u)?"<"+(+l+1)+".0.0":E(c)?"<"+l+"."+(+u+1)+".0":p?"<="+l+"."+u+"."+c+"-"+p:"<="+a)).trim();}function w(e,t,r){try{t=new v(t,r);}catch(e){return!1;}return t.test(e);}function x(e,t,r,n){switch(e=new o(e,n),t=new v(t,n),r){case">":i=l,s=f,a=u,c=">",p=">=";break;case"<":i=u,s=d,a=l,c="<",p="<=";break;default:throw TypeError('Must provide a hilo val of "<" or ">"');}if(w(e,t,n))return!1;for(var i,s,a,c,p,h=0;h=0.0.0")),E=E||e,y=y||e,i(e.semver,E.semver,n)?E=e:a(e.semver,y.semver,n)&&(y=e);}),E.operator===c||E.operator===p||(!y.operator||y.operator===c)&&s(e,y.semver)||y.operator===p&&a(e,y.semver))return!1;}return!0;}t=e.exports=o,b="object"==typeof process&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?function(){var e=Array.prototype.slice.call(arguments,0);e.unshift("SEMVER"),console.log.apply(console,e);}:function(){},t.SEMVER_SPEC_VERSION="2.0.0",I=256,S=Number.MAX_SAFE_INTEGER||9007199254740991,R=I-6,O=t.re=[],T=t.safeRe=[],A=t.src=[],C=t.tokens={},$=0,P=[["\\s",1],["\\d",I],[_="[a-zA-Z0-9-]",R]],r("NUMERICIDENTIFIER"),A[C.NUMERICIDENTIFIER]="0|[1-9]\\d*",r("NUMERICIDENTIFIERLOOSE"),A[C.NUMERICIDENTIFIERLOOSE]="\\d+",r("NONNUMERICIDENTIFIER"),A[C.NONNUMERICIDENTIFIER]="\\d*[a-zA-Z-]"+_+"*",r("MAINVERSION"),A[C.MAINVERSION]="("+A[C.NUMERICIDENTIFIER]+")\\.("+A[C.NUMERICIDENTIFIER]+")\\.("+A[C.NUMERICIDENTIFIER]+")",r("MAINVERSIONLOOSE"),A[C.MAINVERSIONLOOSE]="("+A[C.NUMERICIDENTIFIERLOOSE]+")\\.("+A[C.NUMERICIDENTIFIERLOOSE]+")\\.("+A[C.NUMERICIDENTIFIERLOOSE]+")",r("PRERELEASEIDENTIFIER"),A[C.PRERELEASEIDENTIFIER]="(?:"+A[C.NUMERICIDENTIFIER]+"|"+A[C.NONNUMERICIDENTIFIER]+")",r("PRERELEASEIDENTIFIERLOOSE"),A[C.PRERELEASEIDENTIFIERLOOSE]="(?:"+A[C.NUMERICIDENTIFIERLOOSE]+"|"+A[C.NONNUMERICIDENTIFIER]+")",r("PRERELEASE"),A[C.PRERELEASE]="(?:-("+A[C.PRERELEASEIDENTIFIER]+"(?:\\."+A[C.PRERELEASEIDENTIFIER]+")*))",r("PRERELEASELOOSE"),A[C.PRERELEASELOOSE]="(?:-?("+A[C.PRERELEASEIDENTIFIERLOOSE]+"(?:\\."+A[C.PRERELEASEIDENTIFIERLOOSE]+")*))",r("BUILDIDENTIFIER"),A[C.BUILDIDENTIFIER]=_+"+",r("BUILD"),A[C.BUILD]="(?:\\+("+A[C.BUILDIDENTIFIER]+"(?:\\."+A[C.BUILDIDENTIFIER]+")*))",r("FULL"),r("FULLPLAIN"),A[C.FULLPLAIN]="v?"+A[C.MAINVERSION]+A[C.PRERELEASE]+"?"+A[C.BUILD]+"?",A[C.FULL]="^"+A[C.FULLPLAIN]+"$",r("LOOSEPLAIN"),A[C.LOOSEPLAIN]="[v=\\s]*"+A[C.MAINVERSIONLOOSE]+A[C.PRERELEASELOOSE]+"?"+A[C.BUILD]+"?",r("LOOSE"),A[C.LOOSE]="^"+A[C.LOOSEPLAIN]+"$",r("GTLT"),A[C.GTLT]="((?:<|>)?=?)",r("XRANGEIDENTIFIERLOOSE"),A[C.XRANGEIDENTIFIERLOOSE]=A[C.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*",r("XRANGEIDENTIFIER"),A[C.XRANGEIDENTIFIER]=A[C.NUMERICIDENTIFIER]+"|x|X|\\*",r("XRANGEPLAIN"),A[C.XRANGEPLAIN]="[v=\\s]*("+A[C.XRANGEIDENTIFIER]+")(?:\\.("+A[C.XRANGEIDENTIFIER]+")(?:\\.("+A[C.XRANGEIDENTIFIER]+")(?:"+A[C.PRERELEASE]+")?"+A[C.BUILD]+"?)?)?",r("XRANGEPLAINLOOSE"),A[C.XRANGEPLAINLOOSE]="[v=\\s]*("+A[C.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+A[C.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+A[C.XRANGEIDENTIFIERLOOSE]+")(?:"+A[C.PRERELEASELOOSE]+")?"+A[C.BUILD]+"?)?)?",r("XRANGE"),A[C.XRANGE]="^"+A[C.GTLT]+"\\s*"+A[C.XRANGEPLAIN]+"$",r("XRANGELOOSE"),A[C.XRANGELOOSE]="^"+A[C.GTLT]+"\\s*"+A[C.XRANGEPLAINLOOSE]+"$",r("COERCE"),A[C.COERCE]="(^|[^\\d])(\\d{1,16})(?:\\.(\\d{1,16}))?(?:\\.(\\d{1,16}))?(?:$|[^\\d])",r("COERCERTL"),O[C.COERCERTL]=RegExp(A[C.COERCE],"g"),T[C.COERCERTL]=RegExp(n(A[C.COERCE]),"g"),r("LONETILDE"),A[C.LONETILDE]="(?:~>?)",r("TILDETRIM"),A[C.TILDETRIM]="(\\s*)"+A[C.LONETILDE]+"\\s+",O[C.TILDETRIM]=RegExp(A[C.TILDETRIM],"g"),T[C.TILDETRIM]=RegExp(n(A[C.TILDETRIM]),"g"),r("TILDE"),A[C.TILDE]="^"+A[C.LONETILDE]+A[C.XRANGEPLAIN]+"$",r("TILDELOOSE"),A[C.TILDELOOSE]="^"+A[C.LONETILDE]+A[C.XRANGEPLAINLOOSE]+"$",r("LONECARET"),A[C.LONECARET]="(?:\\^)",r("CARETTRIM"),A[C.CARETTRIM]="(\\s*)"+A[C.LONECARET]+"\\s+",O[C.CARETTRIM]=RegExp(A[C.CARETTRIM],"g"),T[C.CARETTRIM]=RegExp(n(A[C.CARETTRIM]),"g"),r("CARET"),A[C.CARET]="^"+A[C.LONECARET]+A[C.XRANGEPLAIN]+"$",r("CARETLOOSE"),A[C.CARETLOOSE]="^"+A[C.LONECARET]+A[C.XRANGEPLAINLOOSE]+"$",r("COMPARATORLOOSE"),A[C.COMPARATORLOOSE]="^"+A[C.GTLT]+"\\s*("+A[C.LOOSEPLAIN]+")$|^$",r("COMPARATOR"),A[C.COMPARATOR]="^"+A[C.GTLT]+"\\s*("+A[C.FULLPLAIN]+")$|^$",r("COMPARATORTRIM"),A[C.COMPARATORTRIM]="(\\s*)"+A[C.GTLT]+"\\s*("+A[C.LOOSEPLAIN]+"|"+A[C.XRANGEPLAIN]+")",O[C.COMPARATORTRIM]=RegExp(A[C.COMPARATORTRIM],"g"),T[C.COMPARATORTRIM]=RegExp(n(A[C.COMPARATORTRIM]),"g"),r("HYPHENRANGE"),A[C.HYPHENRANGE]="^\\s*("+A[C.XRANGEPLAIN]+")\\s+-\\s+("+A[C.XRANGEPLAIN]+")\\s*$",r("HYPHENRANGELOOSE"),A[C.HYPHENRANGELOOSE]="^\\s*("+A[C.XRANGEPLAINLOOSE]+")\\s+-\\s+("+A[C.XRANGEPLAINLOOSE]+")\\s*$",r("STAR"),A[C.STAR]="(<|>)?=?\\s*\\*";for(var b,I,S,R,O,T,A,C,$,_,P,N,L,D=0;D<$;D++)b(D,A[D]),O[D]||(O[D]=new RegExp(A[D]),T[D]=new RegExp(n(A[D])));t.parse=i,t.valid=function(e,t){var r=i(e,t);return r?r.version:null;},t.clean=function(e,t){var r=i(e.trim().replace(/^[=v]+/,""),t);return r?r.version:null;},t.SemVer=o,o.prototype.format=function(){return this.version=this.major+"."+this.minor+"."+this.patch,this.prerelease.length&&(this.version+="-"+this.prerelease.join(".")),this.version;},o.prototype.toString=function(){return this.version;},o.prototype.compare=function(e){return b("SemVer.compare",this.version,this.options,e),e instanceof o||(e=new o(e,this.options)),this.compareMain(e)||this.comparePre(e);},o.prototype.compareMain=function(e){return e instanceof o||(e=new o(e,this.options)),s(this.major,e.major)||s(this.minor,e.minor)||s(this.patch,e.patch);},o.prototype.comparePre=function(e){if(e instanceof o||(e=new o(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;var t=0;do{var r=this.prerelease[t],n=e.prerelease[t];if(b("prerelease compare",t,r,n),void 0===r&&void 0===n)return 0;if(void 0===n)return 1;if(void 0===r)return-1;else if(r===n)continue;else return s(r,n);}while(++t);},o.prototype.compareBuild=function(e){e instanceof o||(e=new o(e,this.options));var t=0;do{var r=this.build[t],n=e.build[t];if(b("prerelease compare",t,r,n),void 0===r&&void 0===n)return 0;if(void 0===n)return 1;if(void 0===r)return-1;else if(r===n)continue;else return s(r,n);}while(++t);},o.prototype.inc=function(e,t){switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t),this.inc("pre",t);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",t),this.inc("pre",t);break;case"major":(0!==this.minor||0!==this.patch||0===this.prerelease.length)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(0!==this.patch||0===this.prerelease.length)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":if(0===this.prerelease.length)this.prerelease=[0];else{for(var r=this.prerelease.length;--r>=0;)"number"==typeof this.prerelease[r]&&(this.prerelease[r]++,r=-2);-1===r&&this.prerelease.push(0);}t&&(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;},t.inc=function(e,t,r,n){"string"==typeof r&&(n=r,r=void 0);try{return new o(e,r).inc(t,n).version;}catch(e){return null;}},t.diff=function(e,t){if(c(e,t))return null;var r=i(e),n=i(t),o="";if(r.prerelease.length||n.prerelease.length){o="pre";var s="prerelease";}for(var a in r)if(("major"===a||"minor"===a||"patch"===a)&&r[a]!==n[a])return o+a;return s;},t.compareIdentifiers=s,N=/^[0-9]+$/,t.rcompareIdentifiers=function(e,t){return s(t,e);},t.major=function(e,t){return new o(e,t).major;},t.minor=function(e,t){return new o(e,t).minor;},t.patch=function(e,t){return new o(e,t).patch;},t.compare=a,t.compareLoose=function(e,t){return a(e,t,!0);},t.compareBuild=function(e,t,r){var n=new o(e,r),i=new o(t,r);return n.compare(i)||n.compareBuild(i);},t.rcompare=function(e,t,r){return a(t,e,r);},t.sort=function(e,r){return e.sort(function(e,n){return t.compareBuild(e,n,r);});},t.rsort=function(e,r){return e.sort(function(e,n){return t.compareBuild(n,e,r);});},t.gt=l,t.lt=u,t.eq=c,t.neq=p,t.gte=d,t.lte=f,t.cmp=h,t.Comparator=m,L={},m.prototype.parse=function(e){var t=this.options.loose?T[C.COMPARATORLOOSE]:T[C.COMPARATOR],r=e.match(t);if(!r)throw TypeError("Invalid comparator: "+e);this.operator=void 0!==r[1]?r[1]:"","="===this.operator&&(this.operator=""),r[2]?this.semver=new o(r[2],this.options.loose):this.semver=L;},m.prototype.toString=function(){return this.value;},m.prototype.test=function(e){if(b("Comparator.test",e,this.options.loose),this.semver===L||e===L)return!0;if("string"==typeof e)try{e=new o(e,this.options);}catch(e){return!1;}return h(e,this.operator,this.semver,this.options);},m.prototype.intersects=function(e,t){if(!(e instanceof m))throw TypeError("a Comparator is required");if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),""===this.operator)return""===this.value||(r=new v(e.value,t),w(this.value,r,t));if(""===e.operator)return""===e.value||(r=new v(this.value,t),w(e.semver,r,t));var r,n=(">="===this.operator||">"===this.operator)&&(">="===e.operator||">"===e.operator),i=("<="===this.operator||"<"===this.operator)&&("<="===e.operator||"<"===e.operator),o=this.semver.version===e.semver.version,s=(">="===this.operator||"<="===this.operator)&&(">="===e.operator||"<="===e.operator),a=h(this.semver,"<",e.semver,t)&&(">="===this.operator||">"===this.operator)&&("<="===e.operator||"<"===e.operator),l=h(this.semver,">",e.semver,t)&&("<="===this.operator||"<"===this.operator)&&(">="===e.operator||">"===e.operator);return n||i||o&&s||a||l;},t.Range=v,v.prototype.format=function(){return this.range=this.set.map(function(e){return e.join(" ").trim();}).join("||").trim(),this.range;},v.prototype.toString=function(){return this.range;},v.prototype.parseRange=function(e){var t=this.options.loose,r=t?T[C.HYPHENRANGELOOSE]:T[C.HYPHENRANGE];e=e.replace(r,y),b("hyphen replace",e),e=e.replace(T[C.COMPARATORTRIM],"$1$2$3"),b("comparator trim",e,T[C.COMPARATORTRIM]),e=(e=(e=e.replace(T[C.TILDETRIM],"$1~")).replace(T[C.CARETTRIM],"$1^")).split(/\s+/).join(" ");var n=t?T[C.COMPARATORLOOSE]:T[C.COMPARATOR],i=e.split(" ").map(function(e){var t,r,n,i,o,s,a,l,u;return t=e,r=this.options,b("comp",t,r),n=t,i=r,t=n.trim().split(/\s+/).map(function(e){var t,r,n;return b("caret",t=e,r=i),n=r.loose?T[C.CARETLOOSE]:T[C.CARET],t.replace(n,function(e,r,n,i,o){var s;return b("caret",t,e,r,n,i,o),E(r)?s="":E(n)?s=">="+r+".0.0 <"+(+r+1)+".0.0":E(i)?s="0"===r?">="+r+"."+n+".0 <"+r+"."+(+n+1)+".0":">="+r+"."+n+".0 <"+(+r+1)+".0.0":o?(b("replaceCaret pr",o),s="0"===r?"0"===n?">="+r+"."+n+"."+i+"-"+o+" <"+r+"."+n+"."+(+i+1):">="+r+"."+n+"."+i+"-"+o+" <"+r+"."+(+n+1)+".0":">="+r+"."+n+"."+i+"-"+o+" <"+(+r+1)+".0.0"):(b("no pr"),s="0"===r?"0"===n?">="+r+"."+n+"."+i+" <"+r+"."+n+"."+(+i+1):">="+r+"."+n+"."+i+" <"+r+"."+(+n+1)+".0":">="+r+"."+n+"."+i+" <"+(+r+1)+".0.0"),b("caret return",s),s;});}).join(" "),b("caret",t),o=t,s=r,t=o.trim().split(/\s+/).map(function(e){var t,r;return t=e,r=s.loose?T[C.TILDELOOSE]:T[C.TILDE],t.replace(r,function(e,r,n,i,o){var s;return b("tilde",t,e,r,n,i,o),E(r)?s="":E(n)?s=">="+r+".0.0 <"+(+r+1)+".0.0":E(i)?s=">="+r+"."+n+".0 <"+r+"."+(+n+1)+".0":o?(b("replaceTilde pr",o),s=">="+r+"."+n+"."+i+"-"+o+" <"+r+"."+(+n+1)+".0"):s=">="+r+"."+n+"."+i+" <"+r+"."+(+n+1)+".0",b("tilde return",s),s;});}).join(" "),b("tildes",t),b("replaceXRanges",a=t,l=r),t=a.split(/\s+/).map(function(e){var t,r,n;return t=e,r=l,t=t.trim(),n=r.loose?T[C.XRANGELOOSE]:T[C.XRANGE],t.replace(n,function(e,n,i,o,s,a){b("xRange",t,e,n,i,o,s,a);var l=E(i),u=l||E(o),c=u||E(s);return"="===n&&c&&(n=""),a=r.includePrerelease?"-0":"",l?e=">"===n||"<"===n?"<0.0.0-0":"*":n&&c?(u&&(o=0),s=0,">"===n?(n=">=",u?(i=+i+1,o=0):o=+o+1,s=0):"<="===n&&(n="<",u?i=+i+1:o=+o+1),e=n+i+"."+o+"."+s+a):u?e=">="+i+".0.0"+a+" <"+(+i+1)+".0.0"+a:c&&(e=">="+i+"."+o+".0"+a+" <"+i+"."+(+o+1)+".0"+a),b("xRange return",e),e;});}).join(" "),b("xrange",t),b("replaceStars",u=t,r),t=u.trim().replace(T[C.STAR],""),b("stars",t),t;},this).join(" ").split(/\s+/);return this.options.loose&&(i=i.filter(function(e){return!!e.match(n);})),i=i.map(function(e){return new m(e,this.options);},this);},v.prototype.intersects=function(e,t){if(!(e instanceof v))throw TypeError("a Range is required");return this.set.some(function(r){return g(r,t)&&e.set.some(function(e){return g(e,t)&&r.every(function(r){return e.every(function(e){return r.intersects(e,t);});});});});},t.toComparators=function(e,t){return new v(e,t).set.map(function(e){return e.map(function(e){return e.value;}).join(" ").trim().split(" ");});},v.prototype.test=function(e){if(!e)return!1;if("string"==typeof e)try{e=new o(e,this.options);}catch(e){return!1;}for(var t=0;t0){var i=e[n].semver;if(i.major===t.major&&i.minor===t.minor&&i.patch===t.patch)return!0;}return!1;}return!0;}(this.set[t],e,this.options))return!0;return!1;},t.satisfies=w,t.maxSatisfying=function(e,t,r){var n=null,i=null;try{var s=new v(t,r);}catch(e){return null;}return e.forEach(function(e){s.test(e)&&(!n||-1===i.compare(e))&&(i=new o(n=e,r));}),n;},t.minSatisfying=function(e,t,r){var n=null,i=null;try{var s=new v(t,r);}catch(e){return null;}return e.forEach(function(e){s.test(e)&&(!n||1===i.compare(e))&&(i=new o(n=e,r));}),n;},t.minVersion=function(e,t){e=new v(e,t);var r=new o("0.0.0");if(e.test(r)||(r=new o("0.0.0-0"),e.test(r)))return r;r=null;for(var n=0;n":0===t.prerelease.length?t.patch++:t.prerelease.push(0),t.raw=t.format();case"":case">=":(!r||l(r,t))&&(r=t);break;case"<":case"<=":break;default:throw Error("Unexpected operation: "+e.operator);}});return r&&e.test(r)?r:null;},t.validRange=function(e,t){try{return new v(e,t).range||"*";}catch(e){return null;}},t.ltr=function(e,t,r){return x(e,t,"<",r);},t.gtr=function(e,t,r){return x(e,t,">",r);},t.outside=x,t.prerelease=function(e,t){var r=i(e,t);return r&&r.prerelease.length?r.prerelease:null;},t.intersects=function(e,t,r){return e=new v(e,r),t=new v(t,r),e.intersects(t);},t.coerce=function(e,t){if(e instanceof o)return e;if("number"==typeof e&&(e+=""),"string"!=typeof e)return null;var r,n=null;if((t=t||{}).rtl){for(;(r=T[C.COERCERTL].exec(e))&&(!n||n.index+n[0].length!==e.length);)n&&r.index+r[0].length===n.index+n[0].length||(n=r),T[C.COERCERTL].lastIndex=r.index+r[1].length+r[2].length;T[C.COERCERTL].lastIndex=-1;}else n=e.match(T[C.COERCE]);return null===n?null:i(n[2]+"."+(n[3]||"0")+"."+(n[4]||"0"),t);};}),rg("GX8zo",function(e,t){var r=rv("7qQbq"),n=rv("c22IK");e.exports=function(e,t,i){var o=t&&i||0;"string"==typeof e&&(t="binary"===e?Array(16):null,e=null);var s=(e=e||{}).random||(e.rng||r)();if(s[6]=15&s[6]|64,s[8]=63&s[8]|128,t)for(var a=0;a<16;++a)t[o+a]=s[a];return t||n(s);};}),rg("7qQbq",function(e,t){e.exports=function(){return nK.randomBytes(16);};}),rg("c22IK",function(e,t){for(var r=[],n=0;n<256;++n)r[n]=(n+256).toString(16).substr(1);e.exports=function(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++]]].join("");};}),rg("bHzmH",function(e,t){var r,n,i,o;function s(e,t,r){return o(this,void 0,void 0,function*(){let n=a.argStringToArray(e);if(0===n.length)throw Error("Parameter 'commandLine' cannot be null or empty.");let i=n[0];return t=n.slice(1).concat(t||[]),new a.ToolRunner(i,t,r).exec();});}r=e.exports&&e.exports.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r];}});}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r];}),n=e.exports&&e.exports.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),i=e.exports&&e.exports.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&r(t,e,i);return n(t,e),t;},o=e.exports&&e.exports.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e));}catch(e){o(e);}}function a(e){try{l(n.throw(e));}catch(e){o(e);}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t);})).then(s,a);}l((n=n.apply(e,t||[])).next());});},Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.getExecOutput=e.exports.exec=void 0;let a=i(rv("iYbsa"));e.exports.exec=s,e.exports.getExecOutput=function(e,t,r){var n,i;return o(this,void 0,void 0,function*(){let o="",a="",l=new t7.StringDecoder("utf8"),u=new t7.StringDecoder("utf8"),c=null===(n=null==r?void 0:r.listeners)||void 0===n?void 0:n.stdout,p=null===(i=null==r?void 0:r.listeners)||void 0===i?void 0:i.stderr,d=Object.assign(Object.assign({},null==r?void 0:r.listeners),{stdout(e){o+=l.write(e),c&&c(e);},stderr(e){a+=u.write(e),p&&p(e);}}),f=yield s(e,t,Object.assign(Object.assign({},r),{listeners:d}));return o+=l.end(),a+=u.end(),{exitCode:f,stdout:o,stderr:a};});};}),rg("iYbsa",function(e,t){var r,n,i,o;r=e.exports&&e.exports.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r];}});}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r];}),n=e.exports&&e.exports.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),i=e.exports&&e.exports.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&r(t,e,i);return n(t,e),t;},o=e.exports&&e.exports.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e));}catch(e){o(e);}}function a(e){try{l(n.throw(e));}catch(e){o(e);}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t);})).then(s,a);}l((n=n.apply(e,t||[])).next());});},Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.argStringToArray=e.exports.ToolRunner=void 0;let s=i(nX),a=i(t3),l=i(t9),u=i(nz),c=i(rv("zdagz")),p=i(rv("fwMQK")),d="win32"===process.platform;class f 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){let r=this._getSpawnFileName(),n=this._getSpawnArgs(e),i=t?"":"[command]";if(d){if(this._isCmdFile())for(let e of(i+=r,n))i+=" "+e;else if(e.windowsVerbatimArguments)for(let e of(i+=`"${r}"`,n))i+=" "+e;else for(let e of(i+=this._windowsQuoteCmdArg(r),n))i+=" "+this._windowsQuoteCmdArg(e);}else for(let e of(i+=r,n))i+=" "+e;return i;}_processLineBuffer(e,t,r){try{let n=t+e.toString(),i=n.indexOf(s.EOL);for(;i>-1;){let e=n.substring(0,i);r(e),i=(n=n.substring(i+s.EOL.length)).indexOf(s.EOL);}return n;}catch(e){return this._debug("error processing line. Failed with error "+e),"";}}_getSpawnFileName(){return d&&this._isCmdFile()?process.env.COMSPEC||"cmd.exe":this.toolPath;}_getSpawnArgs(e){if(d&&this._isCmdFile()){let t='/D /S /C "'+this._windowsQuoteCmdArg(this.toolPath);for(let r of this.args)t+=" "+(e.windowsVerbatimArguments?r:this._windowsQuoteCmdArg(r));return[t+='"'];}return this.args;}_endsWith(e,t){return e.endsWith(t);}_isCmdFile(){let 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'""';let t=[" "," ","&","(",")","[","]","{","}","^","=",";","!","'","+",",","`","~","|","<",">",'"'],r=!1;for(let n of e)if(t.some(e=>e===n)){r=!0;break;}if(!r)return e;let n='"',i=!0;for(let t=e.length;t>0;t--)n+=e[t-1],i&&"\\"===e[t-1]?n+="\\":'"'===e[t-1]?(i=!0,n+='"'):i=!1;return(n+='"').split("").reverse().join("");}_uvQuoteCmdArg(e){if(!e)return'""';if(!e.includes(" ")&&!e.includes(" ")&&!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+='"').split("").reverse().join("");}_cloneExecOptions(e){let 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){e=e||{};let r={};return r.cwd=e.cwd,r.env=e.env,r.windowsVerbatimArguments=e.windowsVerbatimArguments||this._isCmdFile(),e.windowsVerbatimArguments&&(r.argv0=`"${t}"`),r;}exec(){return o(this,void 0,void 0,function*(){return!p.isRooted(this.toolPath)&&(this.toolPath.includes("/")||d&&this.toolPath.includes("\\"))&&(this.toolPath=u.resolve(process.cwd(),this.options.cwd||process.cwd(),this.toolPath)),this.toolPath=yield c.which(this.toolPath,!0),new Promise((e,t)=>o(this,void 0,void 0,function*(){for(let e of(this._debug("exec tool: "+this.toolPath),this._debug("arguments:"),this.args))this._debug(" "+e);let r=this._cloneExecOptions(this.options);!r.silent&&r.outStream&&r.outStream.write(this._getCommandString(r)+s.EOL);let n=new h(r,this.toolPath);if(n.on("debug",e=>{this._debug(e);}),this.options.cwd&&!(yield p.exists(this.options.cwd)))return t(Error(`The cwd: ${this.options.cwd} does not exist!`));let i=this._getSpawnFileName(),o=l.spawn(i,this._getSpawnArgs(r),this._getSpawnOptions(this.options,i)),a="";o.stdout&&o.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 u="";if(o.stderr&&o.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),u=this._processLineBuffer(e,u,e=>{this.options.listeners&&this.options.listeners.errline&&this.options.listeners.errline(e);});}),o.on("error",e=>{n.processError=e.message,n.processExited=!0,n.processClosed=!0,n.CheckComplete();}),o.on("exit",e=>{n.processExitCode=e,n.processExited=!0,this._debug(`Exit code ${e} received from tool '${this.toolPath}'`),n.CheckComplete();}),o.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),u.length>0&&this.emit("errline",u),o.removeAllListeners(),r?t(r):e(n);}),this.options.input){if(!o.stdin)throw Error("child process missing stdin");o.stdin.end(this.options.input);}}));});}}e.exports.ToolRunner=f,e.exports.argStringToArray=function(e){function t(e){i&&'"'!==e&&(o+="\\"),o+=e,i=!1;}let r=[],n=!1,i=!1,o="";for(let s=0;s0&&(r.push(o),o="");continue;}t(a);}return o.length>0&&r.push(o.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=re.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){if(!e.done){if(!e.processClosed&&e.processExited){let t=`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._debug(t);}e._setResult();}}}}),rg("fEioR",function(e,t){e.exports=Promise.resolve(require("./actions_python.c7411d6b.js")).then(()=>rv("8L9T2"));}),rE=rv("dAuy6"),ry=rv("hHq4F"),rw=rv("6OFKY"),function(){rv("kswPT").addLocale("en",function(e){var t=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return("string"==typeof e&&(e=parseInt(e,10)),1===t&&0===r)?"one":"other";});}.call(rx={}),rb={},rb=rv("foOBZ"),rI={},rI={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"}}}};const nJ=u(rt).homedir();rS={},l(rR={},"isexe",()=>im),l(rR,"sync",()=>iv),nW.promises;const{access:nZ,appendFile:n0,chmod:n1,chown:n2,copyFile:n4,lchmod:n3,lchown:n6,link:n8,lstat:n5,mkdir:n9,mkdtemp:n7,open:ie,readdir:it,readFile:ir,readlink:ii,realpath:io,rename:is,rmdir:ia,stat:il,symlink:iu,truncate:ic,unlink:ip,utimes:id,writeFile:ih}=nW.promises,im=async(e,t={})=>{let{ignoreErrors:r=!1}=t;try{return ig(await il(e),t);}catch(e){if(r||"EACCES"===e.code)return!1;throw e;}},iv=(e,t={})=>{let{ignoreErrors:r=!1}=t;try{return ig((0,nW.statSync)(e),t);}catch(e){if(r||"EACCES"===e.code)return!1;throw e;}},ig=(e,t)=>e.isFile()&&iE(e,t),iE=(e,t)=>{var r,n,i,o,s,a,l,u,c,p,d;let f=null!==(l=t.uid)&&void 0!==l?l:null===(r=(n=process).getuid)||void 0===r?void 0:r.call(n),h=null!==(c=null!==(u=t.groups)&&void 0!==u?u:null===(i=(o=process).getgroups)||void 0===i?void 0:i.call(o))&&void 0!==c?c:[],m=null!==(d=null!==(p=t.gid)&&void 0!==p?p:null===(s=(a=process).getgid)||void 0===s?void 0:s.call(a))&&void 0!==d?d:h[0];if(void 0===f||void 0===m)throw Error("cannot get uid or gid");let v=new Set([m,...h]),g=e.mode,E=e.uid,y=e.gid,w=parseInt("100",8),x=parseInt("010",8);return!!(g&parseInt("001",8)||g&x&&v.has(y)||g&w&&E===f||g&(w|x)&&0===f);};l(rO={},"isexe",()=>iy),l(rO,"sync",()=>iw);const iy=async(e,t={})=>{let{ignoreErrors:r=!1}=t;try{return ib(await il(e),e,t);}catch(e){if(r||"EACCES"===e.code)return!1;throw e;}},iw=(e,t={})=>{let{ignoreErrors:r=!1}=t;try{return ib((0,nW.statSync)(e),e,t);}catch(e){if(r||"EACCES"===e.code)return!1;throw e;}},ix=(e,t)=>{let{pathExt:r=process.env.PATHEXT||""}=t,n=r.split(";");if(-1!==n.indexOf(""))return!0;for(let t=0;te.isFile()&&ix(t,r),iI="win32"===(process.env._ISEXE_TEST_PLATFORM_||process.platform)?rO:rR,iS=iI.isexe,iR=iI.sync;rT=nz.join,rA=nz.delimiter,rC=nz.sep,r$=nz.posix;const iO="win32"===process.platform,iT=new RegExp(`[${r$.sep}${rC===r$.sep?"":rC}]`.replace(/(\\)/g,"\\$1")),iA=RegExp("^\\."+iT.source),iC=e=>Object.assign(Error("not found: "+e),{code:"ENOENT"}),i$=(e,{path:t=process.env.PATH,pathExt:r=process.env.PATHEXT,delimiter:n=rA})=>{let i=e.match(iT)?[""]:[...(iO?[process.cwd()]:[]),...(t||"").split(n)];if(iO){let t=r||[".EXE",".CMD",".BAT",".COM"].join(n),o=t.split(n).flatMap(e=>[e,e.toLowerCase()]);return e.includes(".")&&""!==o[0]&&o.unshift(""),{pathEnv:i,pathExt:o,pathExtExe:t};}return{pathEnv:i,pathExt:[""]};},i_=(e,t)=>{let r=/^".*"$/.test(e)?e.slice(1,-1):e;return(!r&&iA.test(t)?t.slice(0,2):"")+rT(r,t);},iP=async(e,t={})=>{let{pathEnv:r,pathExt:n,pathExtExe:i}=i$(e,t),o=[];for(let s of r){let r=i_(s,e);for(let e of n){let n=r+e;if(await iS(n,{pathExt:i,ignoreErrors:!0})){if(!t.all)return n;o.push(n);}}}if(t.all&&o.length)return o;if(t.nothrow)return null;throw iC(e);};rS=iP,iP.sync=(e,t={})=>{let{pathEnv:r,pathExt:n,pathExtExe:i}=i$(e,t),o=[];for(let s of r){let r=i_(s,e);for(let e of n){let n=r+e;if(iR(n,{pathExt:i,ignoreErrors:!0})){if(!t.all)return n;o.push(n);}}}if(t.all&&o.length)return o;if(t.nothrow)return null;throw iC(e);},r_={},rP={},rN={},rL={};const iN="win32"===process.platform||"cygwin"===process.env.OSTYPE||"msys"===process.env.OSTYPE,iL=iN?";":":";rD={},rk="win32"===process.platform||rf.TESTING_WINDOWS?rv("8nJMC"):rv("lo7XV"),rD=c,c.sync=function(e,t){try{return rk.sync(e,t||{});}catch(e){if(t&&t.ignoreErrors||"EACCES"===e.code)return!1;throw e;}};const iD=e=>Object.assign(Error("not found: "+e),{code:"ENOENT"}),ik=(e,t)=>{let r=t.colon||iL,n=e.match(/\//)||iN&&e.match(/\\/)?[""]:[...(iN?[process.cwd()]:[]),...(t.path||process.env.PATH||"").split(r)],i=iN?t.pathExt||process.env.PATHEXT||".EXE;.CMD;.BAT;.COM":"",o=iN?i.split(r):[""];return iN&&-1!==e.indexOf(".")&&""!==o[0]&&o.unshift(""),{pathEnv:n,pathExt:o,pathExtExe:i};},iU=(e,t,r)=>{"function"==typeof t&&(r=t,t={}),t||(t={});let{pathEnv:n,pathExt:i,pathExtExe:o}=ik(e,t),s=[],a=r=>new Promise((i,o)=>{if(r===n.length)return t.all&&s.length?i(s):o(iD(e));let a=n[r],u=/^".*"$/.test(a)?a.slice(1,-1):a,c=nz.join(u,e);i(l(!u&&/^\.[\\\/]/.test(e)?e.slice(0,2)+c:c,r,0));}),l=(e,r,n)=>new Promise((u,c)=>{if(n===i.length)return u(a(r+1));let p=i[n];rD(e+p,{pathExt:o},(i,o)=>{if(!i&&o){if(!t.all)return u(e+p);s.push(e+p);}return u(l(e,r,n+1));});});return r?a(0).then(e=>r(null,e),r):a(0);};rL=iU,iU.sync=(e,t)=>{let{pathEnv:r,pathExt:n,pathExtExe:i}=ik(e,t=t||{}),o=[];for(let s=0;s{let t=e.env||process.env;return"win32"!==(e.platform||process.platform)?"PATH":Object.keys(t).reverse().find(e=>"PATH"===e.toUpperCase())||"Path";};(rU=ij).default=ij,rN=function(e){return p(e)||p(e,!0);};rj={},rF={},rM={},rM=/^#!(.*)/,rF=(e="")=>{let t=e.match(rM);if(!t)return null;let[r,n]=t[0].replace(/#! ?/,"").split(" "),i=r.split("/").pop();return"env"===i?n:n?`${i} ${n}`:i;},rj=function(e){let t;let r=Buffer.alloc(150);try{t=nW.openSync(e,"r"),nW.readSync(t,r,0,150,0),nW.closeSync(t);}catch(e){}return rF(r.toString());};const iF="win32"===process.platform;rP=function(e,t,r){t&&!Array.isArray(t)&&(r=t,t=null);let 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:function(e){if(!iF)return e;let t=function(e){e.file=rN(e);let t=e.file&&rj(e.file);return t?(e.args.unshift(e.file),e.command=t,rN(e)):e.file;}(e),r=!/\.(?:com|exe)$/i.test(t);if(e.options.forceShell||r){var n;let r=/node_modules[\\/].bin[\\/][^\\/]+\.cmd$/i.test(t);e.command=nz.normalize(e.command),e.command=n=(n=e.command).replace(/([()\][%!^"`<>&|;, *?])/g,"^$1"),e.args=e.args.map(e=>{var t,n;return t=e,n=r,t=(t=(t=""+t).replace(/(\\*)"/g,'$1$1\\"')).replace(/(\\*)$/,"$1$1"),t=(t=`"${t}"`).replace(/([()\][%!^"`<>&|;, *?])/g,"^$1"),n&&(t=t.replace(/([()\][%!^"`<>&|;, *?])/g,"^$1")),t;});let i=[e.command].concat(e.args).join(" ");e.args=["/d","/s","/c",`"${i}"`],e.command=process.env.comspec||"cmd.exe",e.options.windowsVerbatimArguments=!0;}return e;}(n);},rG={};const iM="win32"===process.platform;rG={hookChildProcess:function(e,t){if(!iM)return;let r=e.emit;e.emit=function(n,i){if("exit"===n){let n=f(i,t,"spawn");if(n)return r.call(e,"error",n);}return r.apply(e,arguments);};},verifyENOENT:f,verifyENOENTSync:function(e,t){return iM&&1===e&&!t.file?d(t.original,"spawnSync"):null;},notFoundError:d},(r_=h).spawn=h,r_.sync=function(e,t,r){let n=rP(e,t,r),i=t9.spawnSync(n.command,n.args,n.options);return i.error=i.error||rG.verifyENOENTSync(i.status,n),i;},r_._parse=rP,r_._enoent=rG;const iG=(e,t,r,n)=>{if("length"===r||"prototype"===r||"arguments"===r||"caller"===r)return;let i=Object.getOwnPropertyDescriptor(e,r),o=Object.getOwnPropertyDescriptor(t,r);(iB(i,o)||!n)&&Object.defineProperty(e,r,o);},iB=function(e,t){return void 0===e||e.configurable||e.writable===t.writable&&e.enumerable===t.enumerable&&e.configurable===t.configurable&&(e.writable||e.value===t.value);},iH=(e,t)=>{let r=Object.getPrototypeOf(t);r!==Object.getPrototypeOf(e)&&Object.setPrototypeOf(e,r);},iq=(e,t)=>`/* Wrapped ${e}*/ +${t}`,iV=Object.getOwnPropertyDescriptor(Function.prototype,"toString"),iX=Object.getOwnPropertyDescriptor(Function.prototype.toString,"name"),iz=(e,t,r)=>{let n=""===r?"":`with ${r.trim()}() `,i=iq.bind(null,n,t.toString());Object.defineProperty(i,"name",iX),Object.defineProperty(e,"toString",{...iV,value:i});},iW=new WeakMap(),iK=(e,t={})=>{let r;if("function"!=typeof e)throw TypeError("Expected a function");let n=0,i=e.displayName||e.name||"",o=function(...s){if(iW.set(o,++n),1===n)r=e.apply(this,s),e=null;else if(!0===t.throw)throw Error(`Function \`${i}\` can only be called once`);return r;};return!function(e,t,{ignoreNonConfigurable:r=!1}={}){let{name:n}=e;for(let n of Reflect.ownKeys(t))iG(e,t,n,r);iH(e,t),iz(e,t,n);}(o,e),iW.set(o,n),o;};iK.callCount=e=>{if(!iW.has(e))throw Error(`The given function \`${e.name}\` is not wrapped by the \`onetime\` package`);return iW.get(e);},rB=iK;const iY=()=>Array.from({length:iZ-iJ+1},iQ),iQ=(e,t)=>({name:"SIGRT"+(t+1),number:iJ+t,action:"terminate",description:"Application-specific signal (realtime)",standard:"posix"}),iJ=34,iZ=64,i0=[{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"}],i1=()=>[...i0,...iY()].map(i2),i2=({name:e,number:t,description:r,action:n,forced:i=!1,standard:o})=>{let{signals:{[e]:s}}=rt.constants,a=void 0!==s;return{name:e,number:a?s:t,description:r,supported:a,action:n,forced:i,standard:o};},i4=Object.fromEntries(i1().map(({name:e,number:t,description:r,supported:n,action:i,forced:o,standard:s})=>[e,{name:e,number:t,description:r,supported:n,action:i,forced:o,standard:s}])),i3=(e,t)=>{let r=i6(e,t);if(void 0===r)return{};let{name:n,description:i,supported:o,action:s,forced:a,standard:l}=r;return{[e]:{name:n,number:e,description:i,supported:o,action:s,forced:a,standard:l}};},i6=(e,t)=>{let r=t.find(({name:t})=>rt.constants.signals[t]===e);return void 0!==r?r:t.find(t=>t.number===e);};(()=>{let e=i1();return Object.assign({},...Array.from({length:iZ+1},(t,r)=>i3(r,e)));})();const i8=({timedOut:e,timeout:t,errorCode:r,signal:n,signalDescription:i,exitCode:o,isCanceled:s})=>e?`timed out after ${t} milliseconds`:s?"was canceled":void 0!==r?"failed with "+r:void 0!==n?`was killed with ${n} (${i})`:void 0!==o?"failed with exit code "+o:"failed",i5=({stdout:e,stderr:t,all:r,error:n,signal:i,exitCode:o,command:s,escapedCommand:a,timedOut:l,isCanceled:c,killed:p,parsed:{options:{timeout:d,cwd:f=u(ro).cwd()}}})=>{o=null===o?void 0:o;let h=void 0===(i=null===i?void 0:i)?void 0:i4[i].description,m=i8({timedOut:l,timeout:d,errorCode:n&&n.code,signal:i,signalDescription:h,exitCode:o,isCanceled:c}),v=`Command ${m}: ${s}`,g="[object Error]"===Object.prototype.toString.call(n),E=g?`${v} +${n.message}`:v,y=[E,t,e].filter(Boolean).join("\n");return g?(n.originalMessage=n.message,n.message=y):n=Error(y),n.shortMessage=E,n.command=s,n.escapedCommand=a,n.exitCode=o,n.signal=i,n.signalDescription=h,n.stdout=e,n.stderr=t,n.cwd=f,void 0!==r&&(n.all=r),"bufferedData"in n&&delete n.bufferedData,n.failed=!0,n.timedOut=!!l,n.isCanceled=c,n.killed=p&&!l,n;},i9=["stdin","stdout","stderr"],i7=e=>i9.some(t=>void 0!==e[t]),oe=e=>{if(!e)return;let{stdio:t}=e;if(void 0===t)return i9.map(t=>e[t]);if(i7(e))throw Error("It's not possible to provide `stdio` in combination with one of "+i9.map(e=>`\`${e}\``).join(", "));if("string"==typeof t)return t;if(!Array.isArray(t))throw TypeError(`Expected \`stdio\` to be of type \`string\` or \`Array\`, got \`${typeof t}\``);return Array.from({length:Math.max(t.length,i9.length)},(e,r)=>t[r]);};rH={};const ot=function(e){return 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(ot(rq=rf.process)){var or,on=t6,oi=rv("dVIKq"),oo=/^win/i.test(rq.platform),os=t3;"function"!=typeof os&&(os=os.EventEmitter),rq.__signal_exit_emitter__?or=rq.__signal_exit_emitter__:((or=rq.__signal_exit_emitter__=new os()).count=0,or.emitted={}),or.infinite||(or.setMaxListeners(1/0),or.infinite=!0);var oa=function(){oc&&ot(rf.process)&&(oc=!1,oi.forEach(function(e){try{rq.removeListener(e,ou[e]);}catch(e){}}),rq.emit=oh,rq.reallyExit=od,or.count-=1);};(rH=function(e,t){if(!ot(rf.process))return function(){};on.equal(typeof e,"function","a callback must be provided for exit handler"),!1===oc&&op();var r="exit";return t&&t.alwaysLast&&(r="afterexit"),or.on(r,e),function(){or.removeListener(r,e),0===or.listeners("exit").length&&0===or.listeners("afterexit").length&&oa();};}).unload=oa;var ol=function(e,t,r){or.emitted[e]||(or.emitted[e]=!0,or.emit(e,t,r));},ou={};oi.forEach(function(e){ou[e]=function(){ot(rf.process)&&rq.listeners(e).length===or.count&&(oa(),ol("exit",null,e),ol("afterexit",null,e),oo&&"SIGHUP"===e&&(e="SIGINT"),rq.kill(rq.pid,e));};}),rH.signals=function(){return oi;};var oc=!1,op=function(){!oc&&ot(rf.process)&&(oc=!0,or.count+=1,oi=oi.filter(function(e){try{return rq.on(e,ou[e]),!0;}catch(e){return!1;}}),rq.emit=om,rq.reallyExit=of);};rH.load=op;var od=rq.reallyExit,of=function(e){ot(rf.process)&&(rq.exitCode=e||0,ol("exit",rq.exitCode,null),ol("afterexit",rq.exitCode,null),od.call(rq,rq.exitCode));},oh=rq.emit,om=function(e,t){if(!("exit"===e&&ot(rf.process)))return oh.apply(this,arguments);void 0!==t&&(rq.exitCode=t);var r=oh.apply(this,arguments);return ol("exit",rq.exitCode,null),ol("afterexit",rq.exitCode,null),r;};}else rH=function(){return function(){};};const ov=(e,t="SIGTERM",r={})=>{let n=e(t);return og(e,t,r,n),n;},og=(e,t,r,n)=>{if(!oE(t,r,n))return;let i=setTimeout(()=>{e("SIGKILL");},ow(r));i.unref&&i.unref();},oE=(e,{forceKillAfterTimeout:t},r)=>oy(e)&&!1!==t&&r,oy=e=>e===u(rt).constants.signals.SIGTERM||"string"==typeof e&&"SIGTERM"===e.toUpperCase(),ow=({forceKillAfterTimeout:e=!0})=>{if(!0===e)return 5e3;if(!Number.isFinite(e)||e<0)throw TypeError(`Expected the \`forceKillAfterTimeout\` option to be a non-negative integer, got \`${e}\` (${typeof e})`);return e;},ox=(e,t)=>{e.kill()&&(t.isCanceled=!0);},ob=(e,t,r)=>{e.kill(t),r(Object.assign(Error("Timed out"),{timedOut:!0,signal:t}));},oI=(e,{timeout:t,killSignal:r="SIGTERM"},n)=>{let i;return 0===t||void 0===t?n:Promise.race([new Promise((n,o)=>{i=setTimeout(()=>{ob(e,r,o);},t);}),n.finally(()=>{clearTimeout(i);})]);},oS=({timeout:e})=>{if(void 0!==e&&(!Number.isFinite(e)||e<0))throw TypeError(`Expected the \`timeout\` option to be a non-negative integer, got \`${e}\` (${typeof e})`);},oR=async(e,{cleanup:t,detached:r},n)=>{if(!t||r)return n;let i=u(rH)(()=>{e.kill();});return n.finally(()=>{i();});},oO=e=>e instanceof ri.ChildProcess&&"function"==typeof e.then,oT=(e,t,r)=>{if("string"==typeof r)return e[t].pipe((0,t5.createWriteStream)(r)),e;if(y(r))return e[t].pipe(r),e;if(!oO(r))throw TypeError("The second argument must be a string, a stream or an Execa child process.");if(!y(r.stdin))throw TypeError("The target child process's stdin must be available.");return e[t].pipe(r.stdin),r;},oA=e=>{null!==e.stdout&&(e.pipeStdout=oT.bind(void 0,e,"stdout")),null!==e.stderr&&(e.pipeStderr=oT.bind(void 0,e,"stderr")),void 0!==e.all&&(e.pipeAll=oT.bind(void 0,e,"all"));};rV={},rX=ra.constants,rz=t8.promisify,rW={},rK=rl.PassThrough,rW=e=>{let{array:t}=e={...e},{encoding:r}=e,n="buffer"===r,i=!1;t?i=!(r||n):r=r||"utf8",n&&(r=null);let o=new rK({objectMode:i});r&&o.setEncoding(r);let s=0,a=[];return o.on("data",e=>{a.push(e),i?s=a.length:s+=e.length;}),o.getBufferedValue=()=>t?a:n?Buffer.concat(a,s):a.join(""),o.getBufferedLength=()=>s,o;};const oC=rz(rl.pipeline);class o$ extends Error{constructor(){super("maxBuffer exceeded"),this.name="MaxBufferError";}}(rV=w).buffer=(e,t)=>w(e,{...t,encoding:"buffer"}),rV.array=(e,t)=>w(e,{...t,array:!0}),rV.MaxBufferError=o$,rY={},rQ=rl.PassThrough,rY=function(){function e(i){return Array.isArray(i)?i.forEach(e):(r.push(i),i.once("end",t.bind(null,i)),i.once("error",n.emit.bind(n,"error")),i.pipe(n,{end:!1})),this;}function t(e){!(r=r.filter(function(t){return t!==e;})).length&&n.readable&&n.end();}var r=[],n=new rQ({objectMode:!0});return n.setMaxListeners(0),n.add=e,n.isEmpty=function(){return 0==r.length;},n.on("unpipe",t),Array.prototype.slice.call(arguments).forEach(e),n;};const o_=e=>{if(void 0!==e)throw TypeError("The `input` and `inputFile` options cannot be both set.");},oP=({input:e,inputFile:t})=>"string"!=typeof t?e:(o_(e),(0,t5.readFileSync)(t)),oN=e=>{let t=oP(e);if(E(t))throw TypeError("The `input` option cannot be a stream in sync mode");return t;},oL=({input:e,inputFile:t})=>"string"!=typeof t?e:(o_(e),(0,t5.createReadStream)(t)),oD=(e,t)=>{let r=oL(t);void 0!==r&&(E(r)?r.pipe(e.stdin):e.stdin.end(r));},ok=(e,{all:t})=>{if(!t||!e.stdout&&!e.stderr)return;let r=u(rY)();return e.stdout&&r.add(e.stdout),e.stderr&&r.add(e.stderr),r;},oU=async(e,t)=>{if(e&&void 0!==t){e.destroy();try{return await t;}catch(e){return e.bufferedData;}}},oj=(e,{encoding:t,buffer:r,maxBuffer:n})=>{if(e&&r)return t?u(rV)(e,{encoding:t,maxBuffer:n}):u(rV).buffer(e,{maxBuffer:n});},oF=async({stdout:e,stderr:t,all:r},{encoding:n,buffer:i,maxBuffer:o},s)=>{let a=oj(e,{encoding:n,buffer:i,maxBuffer:o}),l=oj(t,{encoding:n,buffer:i,maxBuffer:o}),u=oj(r,{encoding:n,buffer:i,maxBuffer:2*o});try{return await Promise.all([s,a,l,u]);}catch(n){return Promise.all([{error:n,signal:n.signal,timedOut:n.timedOut},oU(e,a),oU(t,l),oU(r,u)]);}},oM=(async()=>{})().constructor.prototype,oG=["then","catch","finally"].map(e=>[e,Reflect.getOwnPropertyDescriptor(oM,e)]),oB=(e,t)=>{for(let[r,n]of oG){let i="function"==typeof t?(...e)=>Reflect.apply(n.value,t(),e):n.value.bind(t);Reflect.defineProperty(e,r,{...n,value:i});}},oH=e=>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);});}),oq=(e,t=[])=>Array.isArray(t)?[e,...t]:[e],oV=e=>"string"!=typeof e||/^[\w.-]+$/.test(e)?e:`"${e.replace(/"/g,'\\"')}"`,oX=(e,t)=>oq(e,t).join(" "),oz=(e,t)=>oq(e,t).map(e=>oV(e)).join(" "),oW=e=>{let t=[];for(let r of e.trim().split(/ +/g)){let e=t[t.length-1];e&&e.endsWith("\\")?t[t.length-1]=`${e.slice(0,-1)} ${r}`:t.push(r);}return t;},oK=e=>{let t=typeof e;if("string"===t)return e;if("number"===t)return e+"";if("object"===t&&null!==e&&!(e instanceof ri.ChildProcess)&&"stdout"in e){let t=typeof e.stdout;if("string"===t)return e.stdout;if((0,rr.Buffer).isBuffer(e.stdout))return e.stdout.toString();throw TypeError(`Unexpected "${t}" stdout in template expression`);}throw TypeError(`Unexpected "${t}" in template expression`);},oY=(e,t,r)=>r||0===e.length||0===t.length?[...e,...t]:[...e.slice(0,-1),`${e[e.length-1]}${t[0]}`,...t.slice(1)],oQ=({templates:e,expressions:t,tokens:r,index:n,template:i})=>{let o=null!=i?i:e.raw[n],s=oY(r,o.split(/ +/g).filter(Boolean),o.startsWith(" "));if(n===t.length)return s;let a=t[n];return oY(s,Array.isArray(a)?a.map(e=>oK(e)):[oK(a)],o.endsWith(" "));},oJ=(e,t)=>{let r=[];for(let[n,i]of e.entries())r=oQ({templates:e,expressions:t,tokens:r,index:n,template:i});return r;},oZ=(0,ru.debuglog)("execa").enabled,o0=(e,t)=>(e+"").padStart(t,"0"),o1=()=>{let e=new Date();return`${o0(e.getHours(),2)}:${o0(e.getMinutes(),2)}:${o0(e.getSeconds(),2)}.${o0(e.getMilliseconds(),3)}`;},o2=(e,{verbose:t})=>{t&&u(ro).stderr.write(`[${o1()}] ${e} +`);},o4=({env:e,extendEnv:t,preferLocal:r,localDir:n,execPath:i})=>{let o=t?{...u(ro).env,...e}:e;return r?g({env:o,cwd:n,execPath:i}):o;},o3=(e,t,r={})=>{let n=u(r_)._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||u(ro).cwd(),execPath:u(ro).execPath,encoding:"utf8",reject:!0,cleanup:!0,all:!1,windowsHide:!0,verbose:oZ,...r}).env=o4(r),r.stdio=oe(r),"win32"===u(ro).platform&&"cmd"===u(rn).basename(e,".exe")&&t.unshift("/q"),{file:e,args:t,options:r,parsed:n};},o6=(e,t,r)=>"string"==typeof t||(0,rr.Buffer).isBuffer(t)?e.stripFinalNewline?m(t):t:void 0===r?void 0:"",o8=({input:e,inputFile:t,stdio:r})=>void 0===e&&void 0===t&&void 0===r?{stdin:"inherit"}:{},o5=(e={})=>({preferLocal:!0,...o8(e),...e});!function e(t){function r(n,...i){if(!Array.isArray(n))return e({...t,...n});let[o,...s]=oJ(n,i);return x(o,s,o5(t));}return r.sync=(e,...r)=>{if(!Array.isArray(e))throw TypeError("Please use $(options).sync`command` instead of $.sync(options)`command`.");let[n,...i]=oJ(e,r);return b(n,i,o5(t));},r;}();const o9={stdio:"inherit",shell:!0};ry=rv("hHq4F"),rJ={},rZ=rv("coVwk"),r0=rc.env.npm_package_json,r2=!!((r1=rc.env.npm_config_user_agent)&&r1.startsWith("npm")),r4=!!(r0&&r0.endsWith("package.json")),r3=!!(r1&&r1.startsWith("yarn")),r6=r2||r4||r3,r8=nX.homedir(),r5=process.env.XDG_CONFIG_HOME||nz.join(r8,".config","simple-update-notifier"),r9=function(e){return nz.join(r5,"".concat(e.replace("@","").replace("/","__"),".json"));},r7=function(){nW.existsSync(r5)||nW.mkdirSync(r5,{recursive:!0});},ne=function(e){var t=r9(e);try{if(!nW.existsSync(t))return;return JSON.parse(nW.readFileSync(t,"utf8")).lastUpdateCheck;}catch(e){return;}},nt=function(e){var t=r9(e);nW.writeFileSync(t,JSON.stringify({lastUpdateCheck:new Date().getTime()}));},nr=function(e){var t=e.pkg,r=e.updateCheckInterval,n=void 0===r?864e5:r,i=e.distTag,o=void 0===i?"latest":i,s=e.alwaysRun,a=e.debug;return $(void 0,void 0,void 0,function(){var e,r;return _(this,function(i){switch(i.label){case 0:var l;if(r7(),e=ne(t.name),!(s||!e||ee?`timed out after ${t} milliseconds`:s?"was canceled":void 0!==r?"failed with "+r:void 0!==n?`was killed with ${n} (${i})`:void 0!==o?"failed with exit code "+o:"failed",se=({stdout:e,stderr:t,all:r,error:n,signal:i,exitCode:o,command:s,escapedCommand:a,timedOut:l,isCanceled:u,killed:c,parsed:{options:{timeout:p}}})=>{o=null===o?void 0:o;let d=void 0===(i=null===i?void 0:i)?void 0:i4[i].description,f=o7({timedOut:l,timeout:p,errorCode:n&&n.code,signal:i,signalDescription:d,exitCode:o,isCanceled:u}),h=`Command ${f}: ${s}`,m="[object Error]"===Object.prototype.toString.call(n),v=m?`${h} +${n.message}`:h,g=[v,t,e].filter(Boolean).join("\n");return m?(n.originalMessage=n.message,n.message=g):n=Error(g),n.shortMessage=v,n.command=s,n.escapedCommand=a,n.exitCode=o,n.signal=i,n.signalDescription=d,n.stdout=e,n.stderr=t,void 0!==r&&(n.all=r),"bufferedData"in n&&delete n.bufferedData,n.failed=!0,n.timedOut=!!l,n.isCanceled=u,n.killed=c&&!l,n;},st=["stdin","stdout","stderr"],sr=e=>st.some(t=>void 0!==e[t]),sn=e=>{if(!e)return;let{stdio:t}=e;if(void 0===t)return st.map(t=>e[t]);if(sr(e))throw Error("It's not possible to provide `stdio` in combination with one of "+st.map(e=>`\`${e}\``).join(", "));if("string"==typeof t)return t;if(!Array.isArray(t))throw TypeError(`Expected \`stdio\` to be of type \`string\` or \`Array\`, got \`${typeof t}\``);return Array.from({length:Math.max(t.length,st.length)},(e,r)=>t[r]);},si=(e,t="SIGTERM",r={})=>{let n=e(t);return so(e,t,r,n),n;},so=(e,t,r,n)=>{if(!ss(t,r,n))return;let i=setTimeout(()=>{e("SIGKILL");},sl(r));i.unref&&i.unref();},ss=(e,{forceKillAfterTimeout:t},r)=>sa(e)&&!1!==t&&r,sa=e=>e===u(rt).constants.signals.SIGTERM||"string"==typeof e&&"SIGTERM"===e.toUpperCase(),sl=({forceKillAfterTimeout:e=!0})=>{if(!0===e)return 5e3;if(!Number.isFinite(e)||e<0)throw TypeError(`Expected the \`forceKillAfterTimeout\` option to be a non-negative integer, got \`${e}\` (${typeof e})`);return e;},su=(e,t)=>{e.kill()&&(t.isCanceled=!0);},sc=(e,t,r)=>{e.kill(t),r(Object.assign(Error("Timed out"),{timedOut:!0,signal:t}));},sp=(e,{timeout:t,killSignal:r="SIGTERM"},n)=>{let i;return 0===t||void 0===t?n:Promise.race([new Promise((n,o)=>{i=setTimeout(()=>{sc(e,r,o);},t);}),n.finally(()=>{clearTimeout(i);})]);},sd=({timeout:e})=>{if(void 0!==e&&(!Number.isFinite(e)||e<0))throw TypeError(`Expected the \`timeout\` option to be a non-negative integer, got \`${e}\` (${typeof e})`);},sf=async(e,{cleanup:t,detached:r},n)=>{if(!t||r)return n;let i=u(rH)(()=>{e.kill();});return n.finally(()=>{i();});},sh=e=>e instanceof ri.ChildProcess&&"function"==typeof e.then,sm=(e,t,r)=>{if("string"==typeof r)return e[t].pipe((0,t5.createWriteStream)(r)),e;if(y(r))return e[t].pipe(r),e;if(!sh(r))throw TypeError("The second argument must be a string, a stream or an Execa child process.");if(!y(r.stdin))throw TypeError("The target child process's stdin must be available.");return e[t].pipe(r.stdin),r;},sv=e=>{null!==e.stdout&&(e.pipeStdout=sm.bind(void 0,e,"stdout")),null!==e.stderr&&(e.pipeStderr=sm.bind(void 0,e,"stderr")),void 0!==e.all&&(e.pipeAll=sm.bind(void 0,e,"all"));},sg=e=>{if(void 0!==e)throw TypeError("The `input` and `inputFile` options cannot be both set.");},sE=({input:e,inputFile:t})=>"string"!=typeof t?e:(sg(e),(0,t5.readFileSync)(t)),sy=e=>{let t=sE(e);if(E(t))throw TypeError("The `input` option cannot be a stream in sync mode");return t;},sw=({input:e,inputFile:t})=>"string"!=typeof t?e:(sg(e),(0,t5.createReadStream)(t)),sx=(e,t)=>{let r=sw(t);void 0!==r&&(E(r)?r.pipe(e.stdin):e.stdin.end(r));},sb=(e,{all:t})=>{if(!t||!e.stdout&&!e.stderr)return;let r=u(rY)();return e.stdout&&r.add(e.stdout),e.stderr&&r.add(e.stderr),r;},sI=async(e,t)=>{if(e&&void 0!==t){e.destroy();try{return await t;}catch(e){return e.bufferedData;}}},sS=(e,{encoding:t,buffer:r,maxBuffer:n})=>{if(e&&r)return t?u(rV)(e,{encoding:t,maxBuffer:n}):u(rV).buffer(e,{maxBuffer:n});},sR=async({stdout:e,stderr:t,all:r},{encoding:n,buffer:i,maxBuffer:o},s)=>{let a=sS(e,{encoding:n,buffer:i,maxBuffer:o}),l=sS(t,{encoding:n,buffer:i,maxBuffer:o}),u=sS(r,{encoding:n,buffer:i,maxBuffer:2*o});try{return await Promise.all([s,a,l,u]);}catch(n){return Promise.all([{error:n,signal:n.signal,timedOut:n.timedOut},sI(e,a),sI(t,l),sI(r,u)]);}},sO=(async()=>{})().constructor.prototype,sT=["then","catch","finally"].map(e=>[e,Reflect.getOwnPropertyDescriptor(sO,e)]),sA=(e,t)=>{for(let[r,n]of sT){let i="function"==typeof t?(...e)=>Reflect.apply(n.value,t(),e):n.value.bind(t);Reflect.defineProperty(e,r,{...n,value:i});}},sC=e=>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);});}),s$=(e,t=[])=>Array.isArray(t)?[e,...t]:[e],s_=e=>"string"!=typeof e||/^[\w.-]+$/.test(e)?e:`"${e.replace(/"/g,'\\"')}"`,sP=(e,t)=>s$(e,t).join(" "),sN=(e,t)=>s$(e,t).map(e=>s_(e)).join(" "),sL=e=>{let t=typeof e;if("string"===t)return e;if("number"===t)return e+"";if("object"===t&&null!==e&&!(e instanceof ri.ChildProcess)&&"stdout"in e){let t=typeof e.stdout;if("string"===t)return e.stdout;if((0,rr.Buffer).isBuffer(e.stdout))return e.stdout.toString();throw TypeError(`Unexpected "${t}" stdout in template expression`);}throw TypeError(`Unexpected "${t}" in template expression`);},sD=(e,t,r)=>r||0===e.length||0===t.length?[...e,...t]:[...e.slice(0,-1),`${e[e.length-1]}${t[0]}`,...t.slice(1)],sk=({templates:e,expressions:t,tokens:r,index:n,template:i})=>{let o=null!=i?i:e.raw[n],s=sD(r,o.split(/ +/g).filter(Boolean),o.startsWith(" "));if(n===t.length)return s;let a=t[n];return sD(s,Array.isArray(a)?a.map(e=>sL(e)):[sL(a)],o.endsWith(" "));},sU=(e,t)=>{let r=[];for(let[n,i]of e.entries())r=sk({templates:e,expressions:t,tokens:r,index:n,template:i});return r;},sj=(0,ru.debuglog)("execa").enabled,sF=(e,t)=>(e+"").padStart(t,"0"),sM=()=>{let e=new Date();return`${sF(e.getHours(),2)}:${sF(e.getMinutes(),2)}:${sF(e.getSeconds(),2)}.${sF(e.getMilliseconds(),3)}`;},sG=(e,{verbose:t})=>{t&&u(ro).stderr.write(`[${sM()}] ${e} +`);},sB=({env:e,extendEnv:t,preferLocal:r,localDir:n,execPath:i})=>{let o=t?{...u(ro).env,...e}:e;return r?g({env:o,cwd:n,execPath:i}):o;},sH=(e,t,r={})=>{let n=u(r_)._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||u(ro).cwd(),execPath:u(ro).execPath,encoding:"utf8",reject:!0,cleanup:!0,all:!1,windowsHide:!0,verbose:sj,...r}).env=sB(r),r.stdio=sn(r),"win32"===u(ro).platform&&"cmd"===u(rn).basename(e,".exe")&&t.unshift("/q"),{file:e,args:t,options:r,parsed:n};},sq=(e,t,r)=>"string"==typeof t||(0,rr.Buffer).isBuffer(t)?e.stripFinalNewline?m(t):t:void 0===r?void 0:"",sV=({input:e,inputFile:t,stdio:r})=>void 0===e&&void 0===t&&void 0===r?{stdin:"inherit"}:{},sX=(e={})=>({preferLocal:!0,...sV(e),...e});!function e(t){function r(n,...i){if(!Array.isArray(n))return e({...t,...n});let[o,...s]=sU(n,i);return L(o,s,sX(t));}return r.sync=(e,...r)=>{if(!Array.isArray(e))throw TypeError("Please use $(options).sync`command` instead of $.sync(options)`command`.");let[n,...i]=sU(e,r);return function(e,t,r){let n;let i=sH(e,t,r),o=sP(e,t),s=sN(e,t);sG(s,i.options);let a=sy(i.options);try{n=u(ri).spawnSync(i.file,i.args,{...i.options,input:a});}catch(e){throw se({error:e,stdout:"",stderr:"",all:"",command:o,escapedCommand:s,parsed:i,timedOut:!1,isCanceled:!1,killed:!1});}let l=sq(i.options,n.stdout,n.error),c=sq(i.options,n.stderr,n.error);if(n.error||0!==n.status||null!==n.signal){let e=se({stdout:l,stderr:c,error:n.error,signal:n.signal,exitCode:n.status,command:o,escapedCommand:s,parsed:i,timedOut:n.error&&"ETIMEDOUT"===n.error.code,isCanceled:!1,killed:null!==n.signal});if(!i.options.reject)return e;throw e;}return{command:o,escapedCommand:s,exitCode:0,stdout:l,stderr:c,failed:!1,timedOut:!1,isCanceled:!1,killed:!1};}(n,i,sX(t));},r;}(),ns={};const sz="win32"!==nX.platform(),sW=nX.release(),sK=(e="",t="")=>/1\d+\.\d+/.test(e)&&+t>=17134.1184;ns=function(e){return sz?e.replace(/(\s+)/g,"\\$1"):sK(.../(\d+\.\d+)\.(\d+)/.exec(sW).splice(1))?e:e.replace(/(\s+)/g,"%20");},function(){var e,t;e=rv("8CJZb"),t=function(e){return e.split("").reverse().join("");},na=function(r,n,i){var o;return(null==n&&(n="'"),null==i&&(i="\\"),"string"!=typeof r)?r:(o=RegExp("(["+e(n)+"])(?!"+e(i)+")","g"),t(t(r).replace(o,"$1"+i)));};}.call(na={}),nl=rv("6t4SD");const sY={shouldEscapeSpace:!1,shouldAddOnlyIfNotDefined:!1},sQ=[/\/usr\/bin\/?/,/\/usr\/local\/bin\/?/],sJ=C(".cpprc");let sZ=!1;nl=rv("6t4SD"),nu=rv("f44Uw"),ry=rv("hHq4F");const{appendFile:s0}=nW.promises;let s1=!1,s2=!1;const s4=["E: Could not get lock","dpkg: error processing archive","dpkg: error: dpkg status database is locked by another process"];(t1=nc||(nc={}))[t1.NameDashVersion=0]="NameDashVersion",t1[t1.NameEqualsVersion=1]="NameEqualsVersion",t1[t1.Name=2]="Name",t1[t1.None=3]="None",no=rv("1o3Gj"),np=rv("eAXk4"),np=rv("eAXk4"),nd=rv("zdagz");let s3=!1;nl=rv("6t4SD"),np=rv("eAXk4"),ry=rv("hHq4F");let s6=!1;ry=rv("hHq4F"),ry=rv("hHq4F");let s8=!1,s5=!1;const s9=/Version\s*:\s*(.*)/g;nf={},nh=nz.resolve(__dirname,"../../node_modules/@actions/tool-cache/lib"),nm=nf&&nf.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r];}});}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r];}),nv=nf&&nf.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),ng=nf&&nf.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.hasOwnProperty.call(e,r)&&nm(t,e,r);return nv(t,e),t;},nE=nf&&nf.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e));}catch(e){o(e);}}function a(e){try{l(n.throw(e));}catch(e){o(e);}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t);})).then(s,a);}l((n=n.apply(e,t||[])).next());});},ny=nf&&nf.__importDefault||function(e){return e&&e.__esModule?e:{default:e};},Object.defineProperty(nf,"__esModule",{value:!0}),nf.evaluateVersions=nf.isExplicitVersion=nf.findFromManifest=nf.getManifestFromRepo=nf.findAllVersions=nf.find=nf.cacheFile=nf.cacheDir=nf.extractZip=nf.extractXar=nf.extractTar=nf.extract7z=nf.downloadTool=nf.HTTPError=void 0;const s7=ng(rv("1o3Gj")),ae=ng(rv("zdagz")),at=ng(nW),ar=ng(rv("gn8Si")),an=ng(nX),ai=ng(nz),ao=ng(rv("eamjo")),as=ng(rv("0306Y")),aa=ng(rl),al=ng(t8),au=ny(rv("GX8zo"));nw=rv("bHzmH"),nb=(nx={},nx.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r];}});}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r];})),nI=nx&&nx.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),nS=nx&&nx.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.hasOwnProperty.call(e,r)&&nb(t,e,r);return nI(t,e),t;},nR=nx&&nx.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e));}catch(e){o(e);}}function a(e){try{l(n.throw(e));}catch(e){o(e);}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t);})).then(s,a);}l((n=n.apply(e,t||[])).next());});},Object.defineProperty(nx,"__esModule",{value:!0}),nx.RetryHelper=void 0;const ac=nS(rv("1o3Gj"));nx.RetryHelper=class{constructor(e,t,r){if(e<1)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 nR(this,void 0,void 0,function*(){let r=1;for(;rsetTimeout(t,1e3*e));});}};class ap extends Error{constructor(e){super("Unexpected HTTP response: "+e),this.httpStatusCode=e,Object.setPrototypeOf(this,new.target.prototype);}}nf.HTTPError=ap;const ad="win32"===process.platform,af="darwin"===process.platform;nf.downloadTool=function(e,t,r,n){return nE(this,void 0,void 0,function*(){t=t||ai.join(ey(),au.default()),yield ae.mkdirP(ai.dirname(t)),s7.debug("Downloading "+e),s7.debug("Destination "+t);let i=ew("TEST_DOWNLOAD_TOOL_RETRY_MIN_SECONDS",10),o=ew("TEST_DOWNLOAD_TOOL_RETRY_MAX_SECONDS",20),s=new nx.RetryHelper(3,i,o);return yield s.execute(()=>nE(this,void 0,void 0,function*(){return yield function(e,t,r,n){return nE(this,void 0,void 0,function*(){if(at.existsSync(t))throw Error(`Destination file path ${t} already exists`);let i=new ao.HttpClient("actions/tool-cache",[],{allowRetries:!1});r&&(s7.debug("set auth"),void 0===n&&(n={}),n.authorization=r);let o=yield i.get(e,n);if(200!==o.message.statusCode){let t=new ap(o.message.statusCode);throw s7.debug(`Failed to download from "${e}". Code(${o.message.statusCode}) Message(${o.message.statusMessage})`),t;}let s=al.promisify(aa.pipeline),a=ew("TEST_DOWNLOAD_TOOL_RESPONSE_MESSAGE_FACTORY",()=>o.message)(),l=!1;try{return yield s(a,at.createWriteStream(t)),s7.debug("download complete"),l=!0,t;}finally{if(!l){s7.debug("download failed");try{yield ae.rmRF(t);}catch(e){s7.debug(`Failed to delete '${t}'. ${e.message}`);}}}});}(e,t||"",r,n);}),e=>!(e instanceof ap)||!e.httpStatusCode||!(e.httpStatusCode<500)||408===e.httpStatusCode||429===e.httpStatusCode);});},nf.extract7z=function(e,t,r){return nE(this,void 0,void 0,function*(){t6.ok(ad,"extract7z() not supported on current OS"),t6.ok(e,'parameter "file" is required'),t=yield ef(t);let n=process.cwd();if(process.chdir(t),r)try{let t=s7.isDebug()?"-bb1":"-bb0";yield nw.exec(`"${r}"`,["x",t,"-bd","-sccUTF-8",e],{silent:!0});}finally{process.chdir(n);}else{let r=ai.join(nh,"..","scripts","Invoke-7zdec.ps1").replace(/'/g,"''").replace(/"|\n|\r/g,""),i=e.replace(/'/g,"''").replace(/"|\n|\r/g,""),o=t.replace(/'/g,"''").replace(/"|\n|\r/g,""),s=`& '${r}' -Source '${i}' -Target '${o}'`;try{let e=yield ae.which("powershell",!0);yield nw.exec(`"${e}"`,["-NoLogo","-Sta","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",s],{silent:!0});}finally{process.chdir(n);}}return t;});},nf.extractTar=function(e,t,r="xz"){return nE(this,void 0,void 0,function*(){let n;if(!e)throw Error("parameter 'file' is required");t=yield ef(t),s7.debug("Checking tar --version");let i="";yield nw.exec("tar --version",[],{ignoreReturnCode:!0,silent:!0,listeners:{stdout:e=>i+=e.toString(),stderr:e=>i+=e.toString()}}),s7.debug(i.trim());let o=i.toUpperCase().includes("GNU TAR");n=r instanceof Array?r:[r],s7.isDebug()&&!r.includes("v")&&n.push("-v");let s=t,a=e;return ad&&o&&(n.push("--force-local"),s=t.replace(/\\/g,"/"),a=e.replace(/\\/g,"/")),o&&(n.push("--warning=no-unknown-keyword"),n.push("--overwrite")),n.push("-C",s,"-f",a),yield nw.exec("tar",n),t;});},nf.extractXar=function(e,t,r=[]){return nE(this,void 0,void 0,function*(){var n;let i;t6.ok(af,"extractXar() not supported on current OS"),t6.ok(e,'parameter "file" is required'),t=yield ef(t),(i=r instanceof Array?r:[r]).push("-x","-C",t,"-f",e),s7.isDebug()&&i.push("-v");let o=yield ae.which("xar",!0);return yield nw.exec(`"${o}"`,(n=i,Array.from(new Set(n)))),t;});},nf.extractZip=function(e,t){return nE(this,void 0,void 0,function*(){if(!e)throw Error("parameter 'file' is required");return t=yield ef(t),ad?yield function(e,t){return nE(this,void 0,void 0,function*(){let r=e.replace(/'/g,"''").replace(/"|\n|\r/g,""),n=t.replace(/'/g,"''").replace(/"|\n|\r/g,""),i=yield ae.which("pwsh",!1);if(i){let e=`$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 $_ } } ;`;s7.debug("Using pwsh at path: "+i),yield nw.exec(`"${i}"`,["-NoLogo","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",e]);}else{let e=`$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) }`,t=yield ae.which("powershell",!0);s7.debug("Using powershell at path: "+t),yield nw.exec(`"${t}"`,["-NoLogo","-Sta","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",e]);}});}(e,t):yield function(e,t){return nE(this,void 0,void 0,function*(){let r=yield ae.which("unzip",!0),n=[e];s7.isDebug()||n.unshift("-q"),n.unshift("-o"),yield nw.exec(`"${r}"`,n,{cwd:t});});}(e,t),t;});},nf.cacheDir=function(e,t,r,n){return nE(this,void 0,void 0,function*(){if(r=as.clean(r)||r,n=n||an.arch(),s7.debug(`Caching tool ${t} ${r} ${n}`),s7.debug("source dir: "+e),!at.statSync(e).isDirectory())throw Error("sourceDir is not a directory");let i=yield eh(t,r,n);for(let t of at.readdirSync(e)){let r=ai.join(e,t);yield ae.cp(r,i,{recursive:!0});}return em(t,r,n),i;});},nf.cacheFile=function(e,t,r,n,i){return nE(this,void 0,void 0,function*(){if(n=as.clean(n)||n,i=i||an.arch(),s7.debug(`Caching tool ${r} ${n} ${i}`),s7.debug("source file: "+e),!at.statSync(e).isFile())throw Error("sourceFile is not a file");let o=yield eh(r,n,i),s=ai.join(o,t);return s7.debug("destination file "+s),yield ae.cp(e,s),em(r,n,i),o;});},nf.find=function(e,t,r){if(!e)throw Error("toolName parameter is required");if(!t)throw Error("versionSpec parameter is required");r=r||an.arch(),ev(t)||(t=eg(ed(e,r),t));let n="";if(t){t=as.clean(t)||"";let i=ai.join(eE(),e,t,r);s7.debug("checking cache: "+i),at.existsSync(i)&&at.existsSync(`${i}.complete`)?(s7.debug(`Found tool in cache ${e} ${t} ${r}`),n=i):s7.debug("not found");}return n;},nf.findAllVersions=ed,nf.getManifestFromRepo=function(e,t,r,n="master"){return nE(this,void 0,void 0,function*(){let i=[],o=`https://api.github.com/repos/${e}/${t}/git/trees/${n}`,s=new ao.HttpClient("tool-cache"),a={};r&&(s7.debug("set auth"),a.authorization=r);let l=yield s.getJson(o,a);if(!l.result)return i;let u="";for(let e of l.result.tree)if("versions-manifest.json"===e.path){u=e.url;break;}a.accept="application/vnd.github.VERSION.raw";let c=yield(yield s.get(u,a)).readBody();if(c){c=c.replace(/^\uFEFF/,"");try{i=JSON.parse(c);}catch(e){s7.debug("Invalid json");}}return i;});},nf.findFromManifest=function(e,t,r,n=an.arch()){return nE(this,void 0,void 0,function*(){return yield ar._findMatch(e,t,r,n);});},nf.isExplicitVersion=ev,nf.evaluateVersions=eg,nO=rv("hlfY9"),nT=rv("6v1Be"),np=rv("eAXk4"),ry=rv("hHq4F"),rE=rv("dAuy6"),nl=rv("6t4SD"),Object.defineProperty(nA={},"__esModule",{value:!0}),nA.retryAsPromised=nA.TimeoutError=void 0;class ah extends Error{constructor(e,t){super(e),this.name="TimeoutError",this.previous=t;}}nA.TimeoutError=ah,nA.retryAsPromised=ex,nA.default=ex;let am=!1;np=rv("eAXk4"),nd=rv("zdagz"),ry=rv("hHq4F"),no=rv("1o3Gj"),nl=rv("6t4SD"),np=rv("eAXk4"),nw=rv("bHzmH"),rE=rv("dAuy6"),ry=rv("hHq4F"),nC={isEqual:!0,isMatchingKey:!0,isPromise:!0,maxSize:!0,onCacheAdd:!0,onCacheChange:!0,onCacheHit:!0,transformKey:!0},n$=Array.prototype.slice,n_=function(){function e(e){this.keys=[],this.values=[],this.options=e;var t="function"==typeof e.isMatchingKey;t?this.getKeyIndex=this._getKeyIndexFromMatchingKey:e.maxSize>1?this.getKeyIndex=this._getKeyIndexForMany:this.getKeyIndex=this._getKeyIndexForSingle,this.canTransformKey="function"==typeof e.transformKey,this.shouldCloneArguments=this.canTransformKey||t,this.shouldUpdateOnAdd="function"==typeof e.onCacheAdd,this.shouldUpdateOnChange="function"==typeof e.onCacheChange,this.shouldUpdateOnHit="function"==typeof e.onCacheHit;}return Object.defineProperty(e.prototype,"size",{get:function(){return this.keys.length;},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"snapshot",{get:function(){return{keys:e_(this.keys),size:this.size,values:e_(this.values)};},enumerable:!1,configurable:!0}),e.prototype._getKeyIndexFromMatchingKey=function(e){var t=this.options,r=t.isMatchingKey,n=t.maxSize,i=this.keys,o=i.length;if(!o)return-1;if(r(i[0],e))return 0;if(n>1){for(var s=1;o>s;s++)if(r(i[s],e))return s;}return-1;},e.prototype._getKeyIndexForMany=function(e){var t,r,n=this.options.isEqual,i=this.keys,o=i.length;if(!o)return-1;if(1===o)return this._getKeyIndexForSingle(e);var s=e.length;if(s>1){for(var a=0;o>a;a++)if((t=i[a]).length===s){for(r=0;s>r&&n(t[r],e[r]);r++);if(r===s)return a;}}else for(var a=0;o>a;a++)if((t=i[a]).length===s&&n(t[0],e[0]))return a;return-1;},e.prototype._getKeyIndexForSingle=function(e){var t=this.keys;if(!t.length)return-1;var r=t[0],n=r.length;if(e.length!==n)return-1;var i=this.options.isEqual;if(n>1){for(var o=0;n>o;o++)if(!i(r[o],e[o]))return-1;return 0;}return i(r[0],e[0])?0:-1;},e.prototype.orderByLru=function(e,t,r){for(var n=this.keys,i=this.values,o=n.length,s=r;s--;)n[s+1]=n[s],i[s+1]=i[s];n[0]=e,i[0]=t;var a=this.options.maxSize;o===a&&r===o?(n.pop(),i.pop()):r>=a&&(n.length=i.length=a);},e.prototype.updateAsyncCache=function(e){var t=this,r=this.options,n=r.onCacheChange,i=r.onCacheHit,o=this.keys[0],s=this.values[0];this.values[0]=s.then(function(r){return t.shouldUpdateOnHit&&i(t,t.options,e),t.shouldUpdateOnChange&&n(t,t.options,e),r;},function(e){var r=t.getKeyIndex(o);throw-1!==r&&(t.keys.splice(r,1),t.values.splice(r,1)),e;});},e;}(),np=rv("eAXk4"),nP=e=>{if("string"!=typeof e)return!1;let t=e.trim();if(t.includes(" "))return!1;try{return new rp.URL(t),!0;}catch{return!1;}},nN=async e=>{if(!nP(e))return!1;let t=await eD(e,"HEAD");return!!t||!!(t=await eD(e,"GET"));},nL=rv("jDqfd"),nT=rv("6v1Be"),nD=rv("2kZmC"),nw=rv("bHzmH"),ry=rv("hHq4F");const av=/v?(\d\S*)/,ag={llvm:eM(),clangtidy:eM(),clangformat:eM(),ninja:"1.11.1",cmake:"3.27.4",gcovr:"6.0",conan:"1.62.0",meson:"1.2.3",kcov:"42",task:"3.31.0",doxygen:ei()?"1.9.8-1":"1.9.8",gcc:ei()?"13.2.1-3":"13"},aE={pip:"22.2.0",python:"3.7.9"},ay={gcc:{22:"13",20:"11",18:"11",16:"11",14:"11"},mingw:{22:"8.0.0-1",20:"7.0.0-2"},llvm:{22:"17.0.5-ubuntu-22.04",20:"17.0.5-ubuntu-22.04",18:"15.0.6-ubuntu-18.04",16:"15.0.6-ubuntu-18.04",14:"13.0.0-ubuntu-16.04"},clangtidy:{22:"17.0.2-ubuntu-22.04",20:"17.0.2-ubuntu-22.04",18:"15.0.6-ubuntu-18.04",16:"15.0.6-ubuntu-18.04",14:"13.0.0-ubuntu-16.04"},clangformat:{22:"17.0.2-ubuntu-22.04",20:"17.0.2-ubuntu-22.04",18:"15.0.6-ubuntu-18.04",16:"15.0.6-ubuntu-18.04",14:"13.0.0-ubuntu-16.04"},gcovr:{22:"6.0",20:"6.0",18:"5.0"},meson:{20:"1.0.0",18:"0.61.4"},nala:{22:"",21:"legacy",20:"legacy",18:"legacy",16:"legacy",14:"legacy"},kcov:{22:"42-binary",20:"40-binary",18:"40",16:"40",14:"40"}};nl=rv("6t4SD");const aw=eL(eZ,{isPromise:!0});ry=rv("hHq4F"),Object.defineProperty(nk={},"__esModule",{value:!0}),nk.getUbuntuVersion=void 0,nk.getUbuntuVersion=e2;const ax=eL(e4,{isPromise:!0}),ab=eL(e9,{isPromise:!0});np=rv("eAXk4"),ry=rv("hHq4F"),nl=rv("6t4SD"),nU=rv("lORAA"),nT=rv("6v1Be"),nw=rv("bHzmH"),ry=rv("hHq4F"),np=rv("eAXk4"),ry=rv("hHq4F"),rE=rv("dAuy6"),nl=rv("6t4SD"),nj=nz.resolve(__dirname,"../../src/gcc");const aI={13:{releaseName:"13.2.0-16.0.6-11.0.0-ucrt-r1",fileSuffix:"13.2.0-mingw-w64ucrt-11.0.0-r1"},"13.2-ucrt":{releaseName:"13.2.0-16.0.6-11.0.0-ucrt-r1",fileSuffix:"13.2.0-mingw-w64ucrt-11.0.0-r1"},"13.2-ucrt-mcf":{releaseName:"13.2.0mcf-16.0.6-11.0.1-ucrt-r2",fileSuffix:"13.2.0-mingw-w64ucrt-11.0.1-r2"},"13.2-msvcrt":{releaseName:"13.2.0-16.0.6-11.0.1-msvcrt-r1",fileSuffix:"13.2.0-mingw-w64msvcrt-11.0.1-r1"},"13.1-ucrt":{releaseName:"13.1.0posix-16.0.3-11.0.0-ucrt-r1",fileSuffix:"13.1.0-mingw-w64ucrt-11.0.0-r1"},"13.1-msvcrt":{releaseName:"13.1.0posix-16.0.3-11.0.0-msvcrt-r1",fileSuffix:"13.1.0-mingw-w64msvcrt-11.0.0-r1"},12:{releaseName:"12.3.0-16.0.4-11.0.0-ucrt-r1",fileSuffix:"12.3.0-mingw-w64ucrt-11.0.0-r1"},"12.3.0-ucrt":{releaseName:"12.3.0-16.0.4-11.0.0-ucrt-r1",fileSuffix:"12.3.0-mingw-w64ucrt-11.0.0-r1"},"12.3.0-msvcrt":{releaseName:"12.3.0-16.0.4-11.0.0-msvcrt-r1",fileSuffix:"12.3.0-mingw-w64msvcrt-11.0.0-r1"},"12.2.0-ucrt":{releaseName:"12.2.0-14.0.6-10.0.0-ucrt-r2",fileSuffix:"12.2.0-mingw-w64ucrt-10.0.0-r2"},"12.2.0-msvcrt":{releaseName:"12.2.0-14.0.6-10.0.0-msvcrt-r2",fileSuffix:"12.2.0-mingw-w64msvcrt-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.5.0-11.0.1-msvcrt-r1",fileSuffix:"10.5.0-mingw-w64msvcrt-11.0.1-r1"},"10.5.0-msvcrt":{releaseName:"10.5.0-11.0.1-msvcrt-r1",fileSuffix:"10.5.0-mingw-w64msvcrt-11.0.1-r1"},"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"}};nD=rv("2kZmC"),nU=rv("lORAA"),np=rv("eAXk4"),ry=rv("hHq4F"),np=rv("eAXk4"),nF=nz.resolve(__dirname,"../../src/kcov"),rE=rv("dAuy6"),ry=rv("hHq4F"),nl=rv("6t4SD"),np=rv("eAXk4"),no=rv("1o3Gj"),ry=rv("hHq4F"),np=rv("eAXk4"),no=rv("1o3Gj");const aS=rc.env["ProgramFiles(x86)"],aR=[rc.env["ProgramFiles(x86)"],rc.env.ProgramFiles],aO=["Enterprise","Professional","Community","BuildTools"],aT=["2022","2019","2017"],aA={2022:"17.0",2019:"16.0",2017:"15.0",2015:"14.0",2013:"12.0"};nM=tI;const aC=`${aS}\\Microsoft Visual Studio\\Installer`;nG=tS,nB=function(e,t,r,n,i,o){if("win32"!=rc.platform){no.info("This is not a Windows virtual environment, bye!");return;}rc.env.PATH+=nz.delimiter+aC;let s={win32:"x86",win64:"x64",x86_64:"x64","x86-64":"x64"};e.toLowerCase()in s&&(e=s[e.toLowerCase()]);var a=[e];"true"==n&&a.push("uwp"),t&&a.push(t),r&&a.push("-vcvars_ver="+r),"true"==i&&a.push("-vcvars_spectre_libs=spectre");let l=`"${tS(o)}" ${a.join(" ")}`;no.debug("vcvars command-line: "+l);let u=t9.execSync(`set && cls && ${l} && cls && set`,{shell:"cmd"}).toString().split("\f"),c=u[0].split("\r\n"),p=u[1].split("\r\n"),d=u[2].split("\r\n"),f=p.filter(e=>!!e.match(/^\[ERROR.*\]/)&&!e.match(/Error in script usage. The correct usage is:$/));if(f.length>0)throw Error("invalid parameters\r\n"+f.join("\r\n"));let h={};for(let e of c){let[t,r]=e.split("=");h[t]=r;}for(let e of(no.startGroup("Environment variables"),d)){if(!e.includes("="))continue;let[t,r]=e.split("=");r!==h[t]&&(no.info("Setting "+t),-1!=["PATH","INCLUDE","LIB","LIBPATH"].indexOf(t.toUpperCase())&&(r=r.split(";").filter(function(e,t,r){return r.indexOf(e)===t;}).join(";")),no.exportVariable(t,r));}no.endGroup(),no.info("Configured Developer Command Prompt");},ry=rv("hHq4F"),nl=rv("6t4SD");class a$ extends Error{constructor(e){super(e),this.name="TimeoutError";}}class a_ extends Error{constructor(e){super(),this.name="AbortError",this.message=e;}}const aP=e=>void 0===globalThis.DOMException?new a_(e):new DOMException(e),aN=e=>{let t=void 0===e.reason?aP("This operation was aborted."):e.reason;return t instanceof Error?t:aP(t);},aL=12e5,{readFile:aD,writeFile:ak,chmod:aU}=nW.promises;(t2=nH||(nH={}))[t2.All=0]="All",t2[t2.ClangFormat=1]="ClangFormat",t2[t2.Core=2]="Core",nO=rv("hlfY9"),ry=rv("hHq4F"),np=rv("eAXk4");const aj=function(e){let t=new Set(e);for(let 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","15.0.0","15.0.1","15.0.2","15.0.3","15.0.4","15.0.5","15.0.6","15.0.7","16.0.0","16.0.1","16.0.2","16.0.3","16.0.4","16.0.5","16.0.6","17.0.1","17.0.2","17.0.3","17.0.4","17.0.5"]),aF=new Set(["10.0.1","15.0.5","15.0.6","17.0.5"]),aM=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","15.0.4","15.0.5","15.0.6","16.0.0","16.0.1","16.0.2","16.0.3","16.0.4","16.0.5","16.0.6","17.0.1","17.0.2","17.0.3","17.0.4","17.0.5"]),aG=new Map(),aB={"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","15.0.2":"-rhel86","15.0.5":"-ubuntu-18.04","15.0.6":"-ubuntu-18.04","16.0.0":"-ubuntu-18.04","16.0.2":"-ubuntu-22.04","16.0.3":"-ubuntu-22.04","16.0.4":"-ubuntu-22.04","17.0.2":"-ubuntu-22.04","17.0.4":"-ubuntu-22.04","17.0.5":"-ubuntu-22.04"},aH="17.0.5";nq=nz.resolve(__dirname,"../../src/llvm");const aq=eL(tU,{isPromise:!0}),aV=eL(tF,{isPromise:!0}),aX=eL(tM,{isPromise:!0});rE=rv("dAuy6"),np=rv("eAXk4"),ry=rv("hHq4F"),nl=rv("6t4SD"),nV=nz.resolve(__dirname,"../../src/msvc"),np=rv("eAXk4"),np=rv("eAXk4"),ry=rv("hHq4F"),nl=rv("6t4SD"),np=rv("eAXk4");let az=!1;const aW={nala:tX,cmake:e$,ninja:tg,python:eG,vcpkg:tQ,bazel:eu,conan:function(e,t,r){return e6("conan",e);},meson:function(e,t,r){return e6("meson",e);},gcovr:function(e,t,r){return e6("gcovr",e);},opencppcoverage:tz,llvm:tk,gcc:tp,choco:er,brew:Z,powershell:tK,ccache:function(e,t,r){switch(process.platform){case"win32":return en("ccache",e);case"darwin":return et("ccache",e);case"linux":if(ei())return ec("ccache",e);if(eo())return es([{name:"ccache",version:e}]);if(el())return B([{name:"ccache",version:e}]);throw Error("Unsupported linux distribution");default:throw Error("Unsupported platform");}},sccache:function(e,t,r){switch(process.platform){case"win32":return en("sccache",e);case"linux":case"darwin":return et("sccache",e);default:throw Error("Unsupported platform");}},doxygen:ta,graphviz:ti,cppcheck:tr,clangtidy:function(e,t,r){return tj(e,t,r);},clangformat:function(e,t,r){return tj(e,t,r,nH.ClangFormat);},msvc:tq,vcvarsall:tR,kcov:tb,make:tH,task:function(e,t,r){return eb("task",e,tY,t,r);},sevenzip:eI},aK=Object.keys(aW),aY=["compiler","architecture","timeout",...aK];no=rv("1o3Gj"),ry=rv("hHq4F"),nD=rv("2kZmC"),t0(process.argv).then(e=>{process.exitCode=e;}).catch(e=>{(0,ry.error)("main() panicked!"),(0,ry.error)(e),process.exitCode=1;}); //# sourceMappingURL=setup-cpp.js.map \ No newline at end of file diff --git a/dist/legacy/setup-cpp.js.map b/dist/legacy/setup-cpp.js.map index 2d05ae27..8d367b97 100644 --- a/dist/legacy/setup-cpp.js.map +++ b/dist/legacy/setup-cpp.js.map @@ -1 +1 @@ -{"version":3,"file":"setup-cpp.js","names":["e","t","r","n","i","o","s","a","u","Promise","TypeError","rI","code","ignoreErrors","p","options","env","process","cwd","chdir","disabled","rb","sync","command","path","rA","pathExt","ip","delimiter","resolve","d","Object","assign","Error","errno","syscall","spawnargs","args","f","iO","file","original","h","rT","t8","spawn","rN","hookChildProcess","m","maxBuffer","r4","getBufferedLength","r2","MAX_LENGTH","bufferedData","getBufferedValue","ot","on","or","g","getuid","call","CI","c","nothrow","v","oh","rO","commandSync","map","join","E","y","rt","platform","SUDO_USER","id","statSync","isDirectory","w","rx","x","l","next","throw","done","value","then","apply","b","return","label","ops","pop","trys","length","push","sent","Symbol","iterator","S","nc","pkg","nO","rg","warning","message","stack","I","Array","isArray","O","charCodeAt","slice","R","keys","reverse","find","toUpperCase","T","ro","execPath","URL","rs","fileURLToPath","rn","C","pipe","A","writable","_write","_writableState","$","sm","si","so","sf","oW","ri","ChildProcess","reject","ok","error","stdout","stderr","all","escapedCommand","parsed","timedOut","isCanceled","killed","se","st","oz","oK","kill","oM","bind","cancel","oV","exitCode","signal","o5","sg","aborted","failed","nT","o3","o4","oJ","_","stdio","P","sb","nC","nA","shouldEscapeSpace","rm","GITHUB_ACTIONS","shouldAddOnlyIfNotDefined","nR","info","exportVariable","L","setFailed","N","sS","some","test","PATH","split","includes","addPath","D","k","appendFileSync","sI","sO","n$","pathExists","readFileSync","U","Set","writeFileSync","j","as","s6","s8","ai","sF","sT","s1","s2","sj","sM","s_","sk","sJ","aa","sW","sK","sH","F","sX","spawnSync","input","status","M","H","name","version","DEBIAN_FRONTEND","aE","q","ay","V","flatMap","repositories","B","aw","binDir","G","n_","default","trim","nU","NameDashVersion","NameEqualsVersion","Name","None","nP","z","X","W","K","av","Y","startsWith","Q","nj","dirname","iu","tmpdir","nF","mkdirP","replace","NONINTERACTIVE","J","Z","ax","arch","ee","SystemRoot","ALLUSERSPROFILE","ChocolateyInstall","et","ab","TMP","TEMP","Path","extendEnv","er","en","ei","eo","es","ea","el","aS","aI","ec","matchAll","aO","eu","a$","a_","eg","aC","existsSync","readdirSync","eh","ep","ev","ak","aT","ed","aN","clean","aR","debug","rmRF","ef","valid","em","sort","gt","satisfies","RUNNER_TOOL_CACHE","t3","RUNNER_TEMP","eE","rp","ey","max","$current","timeout","match","backoffBase","backoffExponent","report","Date","toLocaleTimeString","setTimeout","clearTimeout","aG","current","catch","toString","RegExp","Math","pow","ew","url","binRelativeDir","binFileName","extractedFolderName","extractFunction","nM","installDir","n1","downloadTool","aB","cacheDir","ex","eb","eS","eI","eO","eR","eT","n0","nZ","addExeExt","extractTar","eC","eA","n3","e$","e_","eP","isMemoized","fn","isEqual","isMatchingKey","isPromise","maxSize","onCacheAdd","onCacheChange","onCacheHit","transformKey","n2","n4","values","canTransformKey","shouldCloneArguments","shouldUpdateOnAdd","shouldUpdateOnChange","shouldUpdateOnHit","arguments","getKeyIndex","orderByLru","updateAsyncCache","cache","eN","ig","request","method","statusCode","end","eL","from","filter","n5","localeCompare","eD","n8","has","JSON","stringify","ek","aH","nz","getExecOutput","console","eU","ej","eF","eB","bin","eX","eM","eG","e6","e4","upgrade","usePipx","isLibrary","eq","setupActionsPython","rh","eH","eV","aV","python","ez","eK","eW","pip","eY","e9","eQ","eJ","eZ","aX","parseInt","aq","e0","execFile","encoding","shell","e1","e2","n9","getUbuntuVersion","e3","aK","user","e5","az","e7","e8","aW","findIndex","te","tt","tr","tn","ti","to","ts","notice","ta","tl","aY","releaseName","fileSuffix","tc","tp","td","tu","ie","tf","it","th","tm","tg","tv","tE","ty","ir","tw","tx","a1","tb","execSync","entries","a0","aJ","aZ","aQ","tS","is","tI","a5","startGroup","milliseconds","fallback","customTimers","sign","a8","addEventListener","Number","POSITIVE_INFINITY","a3","finally","clear","tO","endGroup","lp","tY","tR","ia","All","tT","le","a7","NODE_DEBUG","ClangFormat","tC","a9","ru","tA","t$","t_","lr","tP","ln","li","get","lt","lo","ls","tN","tL","la","tF","tD","tk","lc","tM","n7","ll","tU","tj","LD_LIBRARY_PATH","DYLD_LIBRARY_PATH","il","tG","tB","ii","io","tH","ic","tq","tV","tX","tz","tW","tK","lu","addShExt","addShRelativePrefix","tQ","compiler","tJ","ACTIONS_ALLOW_UNSECURE_COMMANDS","alias","unknown","string","boolean","concat","splice","substring","indexOf","repeat","shift","lf","fromEntries","getInput","toLowerCase","help","table","tools","documentation","coverage","other","architecture","SETUP_CPP_DIR","ry","create","autoloadLocales","addLocale","rw","rv","rE","forEach","cppcheck","gcovr","ld","isCI","now","parseFloat","format","success","tZ","t0","rH","rz","rW","rK","rY","rQ","rJ","r3","r6","r5","r7","r9","ne","nt","nn","ni","ns","na","nl","np","nd","nf","nh","nm","ng","nv","nE","ny","nw","nx","nb","nS","nI","nN","nL","nD","nk","n6","any","every","defineProperty","exports","constant","isPR","pr","BUILD_ID","BUILD_NUMBER","CI_APP_ID","CI_BUILD_ID","CI_BUILD_NUMBER","CI_NAME","CONTINUOUS_INTEGRATION","RUN_ID","parse","log","required","trimWhitespace","issueCommand","toCommandProperties","issue","ExitCode","Success","Failure","toCommandValue","GITHUB_ENV","issueFileCommand","prepareKeyValueMessage","setSecret","GITHUB_PATH","getMultilineInput","getBooleanInput","setOutput","GITHUB_OUTPUT","write","EOL","setCommandEcho","isDebug","RUNNER_DEBUG","group","saveState","GITHUB_STATE","getState","getIDToken","OidcClient","enumerable","summary","markdownSummary","toPosixPath","toWin32Path","toPlatformPath","constructor","properties","hasOwnProperty","String","title","line","startLine","endLine","col","startColumn","endColumn","random","rng","ih","randomFillSync","Uint8Array","substr","createHttpClient","HttpClient","BearerCredentialHandler","getRequestToken","allowRetries","maxRetries","ACTIONS_ID_TOKEN_REQUEST_TOKEN","getIDTokenUrl","ACTIONS_ID_TOKEN_REQUEST_URL","getCall","getJson","result","encodeURIComponent","im","HttpCodes","OK","MultipleChoices","MovedPermanently","ResourceMoved","SeeOther","NotModified","UseProxy","SwitchProxy","TemporaryRedirect","PermanentRedirect","BadRequest","Unauthorized","PaymentRequired","Forbidden","NotFound","MethodNotAllowed","NotAcceptable","ProxyAuthenticationRequired","RequestTimeout","Conflict","Gone","TooManyRequests","InternalServerError","NotImplemented","BadGateway","ServiceUnavailable","GatewayTimeout","Headers","Accept","ContentType","MediaTypes","ApplicationJson","getProxyUrl","href","setPrototypeOf","prototype","HttpClientError","readBody","Buffer","alloc","HttpClientResponse","isHttps","protocol","_ignoreSslError","_allowRedirects","_allowRedirectDowngrade","_maxRedirects","_allowRetries","_maxRetries","_keepAlive","_disposed","userAgent","handlers","requestOptions","ignoreSslError","_socketTimeout","socketTimeout","allowRedirects","allowRedirectDowngrade","maxRedirects","keepAlive","del","post","patch","put","head","sendStream","_getExistingOrDefaultHeader","_processResponse","postJson","putJson","patchJson","_prepareRequest","requestRaw","canHandleAuthentication","handleAuthentication","headers","location","hostname","_performExponentialBackoff","dispose","_agent","destroy","requestRawWithCallback","byteLength","httpModule","getAgent","_getAgent","parsedUrl","host","port","pathname","search","_mergeHeaders","agent","prepareRequest","_proxyAgent","maxSockets","globalAgent","proxy","username","password","proxyAuth","httpsOverHttps","httpsOverHttp","httpOverHttps","httpOverHttp","Agent","rejectUnauthorized","min","deserializeDates","isNaN","valueOf","reduce","no_proxy","NO_PROXY","endsWith","https_proxy","HTTPS_PROXY","http_proxy","HTTP_PROXY","checkBypass","proxyOptions","defaultMaxSockets","requests","sockets","onSocket","removeSocket","createSocket","getHeader","socket","servername","t1","connect","localAddress","defaultPort","t4","inherits","t2","EventEmitter","addRequest","emit","removeListener","removeAllListeners","useChunkedEncodingByDefault","once","nextTick","unshift","BasicCredentialHandler","Authorization","token","PersonalAccessTokenCredentialHandler","access","appendFile","writeFile","promises","SUMMARY_ENV_VAR","SUMMARY_DOCS_URL","_buffer","filePath","_filePath","constants","R_OK","W_OK","wrap","overwrite","emptyBuffer","isEmptyBuffer","addRaw","addEOL","addCodeBlock","lang","addList","addTable","header","data","colspan","rowspan","addDetails","addImage","width","height","src","alt","addHeading","addSeparator","addBreak","addQuote","cite","addLink","sep","require","pluralize","numerous","locale","span","unitType","unitTypeLookupOrder","autoload","floor","defaultConfig","versions","node","isSymbolicLink","isFile","PATHEXT","stat","mode","uid","gid","getgid","inc","diff","major","minor","prerelease","compare","rcompare","compareLoose","compareBuild","rsort","neq","gte","lte","cmp","coerce","Comparator","Range","toComparators","maxSatisfying","minSatisfying","minVersion","validRange","outside","gtr","ltr","intersects","simplifyRange","subset","SemVer","re","tokens","SEMVER_SPEC_VERSION","RELEASE_TYPES","compareIdentifiers","rcompareIdentifiers","MAX_SAFE_COMPONENT_LENGTH","MAX_SAFE_BUILD_LENGTH","safeRe","NUMERICIDENTIFIER","NUMERICIDENTIFIERLOOSE","NONNUMERICIDENTIFIER","PRERELEASEIDENTIFIER","PRERELEASEIDENTIFIERLOOSE","BUILDIDENTIFIER","MAINVERSION","PRERELEASE","BUILD","FULLPLAIN","MAINVERSIONLOOSE","PRERELEASELOOSE","LOOSEPLAIN","XRANGEIDENTIFIER","XRANGEIDENTIFIERLOOSE","GTLT","XRANGEPLAIN","XRANGEPLAINLOOSE","COERCE","LONETILDE","tildeTrimReplace","LONECARET","caretTrimReplace","comparatorTrimReplace","MAX_SAFE_INTEGER","FLAG_INCLUDE_PRERELEASE","FLAG_LOOSE","loose","includePrerelease","LOOSE","FULL","raw","build","compareMain","comparePre","freeze","rtl","COERCERTL","exec","index","lastIndex","ANY","semver","operator","COMPARATORLOOSE","COMPARATOR","set","parseRange","range","HYPHENRANGELOOSE","HYPHENRANGE","COMPARATORTRIM","TILDETRIM","CARETTRIM","Map","size","delete","TILDELOOSE","TILDE","CARETLOOSE","CARET","XRANGELOOSE","XRANGE","STAR","GTE0PRE","GTE0","unshiftNode","maxAge","tail","prev","key","removeNode","stale","noDisposeOnSet","updateAgeOnGet","reset","allowStale","lengthCalculator","itemCount","rforEach","toArray","dump","dumpLru","peek","load","prune","list","Node","pushNode","forEachReverse","getReverse","mapReverse","reduceReverse","toArrayReverse","sliceReverse","add","t6","configurable","basename","extname","normalize","relative","IS_WINDOWS","force","recursive","retryDelay","mkdir","isRooted","tryGetExecutablePath","lstat","unlink","chmod","readlink","symlink","exists","copyFile","cp","copySourceDirectory","readdir","mv","rename","which","findInPath","open","rmdir","UV_FS_O_EXLOCK","READONLY","O_RDONLY","getCmdPath","COMSPEC","_findMatch","stable","files","platform_version","_getOsVersion","_readLinuxVersionFile","randomBytes","argStringToArray","ToolRunner","t5","StringDecoder","listeners","toolPath","_debug","_getCommandString","_getSpawnFileName","_getSpawnArgs","_isCmdFile","windowsVerbatimArguments","_windowsQuoteCmdArg","_processLineBuffer","_endsWith","_uvQuoteCmdArg","_cloneExecOptions","silent","failOnStdErr","ignoreReturnCode","delay","outStream","errStream","_getSpawnOptions","argv0","stdline","processStderr","errline","processError","processExited","processClosed","CheckComplete","processExitCode","stdin","charAt","_setResult","t7","HandleTimeout","abs","long","years","one","months","weeks","days","hours","minutes","seconds","narrow","short","iv","iE","OSTYPE","iy","rS","TESTING_WINDOWS","iw","ix","colon","pathEnv","pathExtExe","ib","rR","iS","rC","r$","r_","rP","openSync","readSync","closeSync","iI","forceShell","comspec","verifyENOENT","verifyENOENTSync","notFoundError","_parse","_enoent","rL","rD","iR","rk","rU","Reflect","ownKeys","getOwnPropertyDescriptor","iT","iC","WeakMap","iA","displayName","callCount","rj","rF","signalsByNumber","signalsByName","rM","getSignals","number","action","description","standard","forced","iP","i_","i$","SIGRTMIN","rB","SIGRTMAX","getRealtimeSignals","rG","SIGNALS","iN","normalizeSignal","signals","supported","iL","iD","ik","iU","ij","iF","errorCode","signalDescription","Boolean","originalMessage","shortMessage","iM","iG","iB","rq","iH","reallyExit","pid","iq","iV","iX","iz","iW","__signal_exit_emitter__","count","emitted","infinite","setMaxListeners","iK","iJ","iQ","i2","i0","rX","equal","iZ","alwaysLast","unload","iY","i3","i1","i4","i6","i5","unref","forceKillAfterTimeout","i8","SIGTERM","isFinite","i7","i9","cleanup","detached","rV","spawnedKill","spawnedCancel","setupTimeout","killSignal","race","validateTimeout","setExitHandler","oe","readable","_read","_readableState","duplex","transform","_transform","r0","t9","promisify","PassThrough","array","objectMode","setEncoding","pipeline","r1","buffer","MaxBufferError","r8","isEmpty","oi","oo","rZ","handleInput","makeAllStream","getSpawnedResult","validateInputSync","os","oa","nr","mergePromise","getSpawnedPromise","ol","oc","no","joinCommand","getEscapedCommand","parseCommand","ou","preferLocal","localDir","op","stripFinalNewline","windowsHide","od","isBuffer","of","execArgv","nodePath","nodeOptions","npm_package_json","npm_config_user_agent","homedir","XDG_CONFIG_HOME","mkdirSync","lastUpdateCheck","getTime","updateCheckInterval","distTag","alwaysRun","nu","padEnd","isTTY","shouldNotifyInNpmScript","om","og","ov","getPrototypeOf","oE","oy","Function","ow","ox","ob","oS","ignoreNonConfigurable","oI","oT","oR","oO","oC","oA","o$","ra","o_","oP","oN","oL","oD","oU","oj","oF","oG","oB","oq","oH","oX","oY","oQ","createWriteStream","pipeStdout","pipeStderr","pipeAll","oZ","o0","inputFile","o1","o2","createReadStream","o6","o8","o7","o9","sr","sn","ss","rr","sa","sl","templates","expressions","template","sc","su","rl","debuglog","enabled","sp","padStart","sd","getHours","getMinutes","getSeconds","getMilliseconds","verbose","sh","sv","sE","sy","sw","release","sx","sR","sC","sA","s$","sP","sN","sD","sL","sU","sG","sB","sq","sV","sz","sY","sQ","sZ","s0","s3","s4","s5","s7","s9","ae","at","ar","an","ao","al","ac","posix","au","ap","ad","source","af","ah","am","ag","nq","aA","aP","aL","aD","nX","aU","nQ","nW","RetryHelper","maxAttempts","minSeconds","maxSeconds","execute","getSleepAmount","sleep","aj","httpStatusCode","new","target","HTTPError","aF","aM","nV","authorization","statusMessage","extract7z","nG","extractXar","extractZip","cacheFile","findAllVersions","getManifestFromRepo","tree","accept","findFromManifest","isExplicitVersion","evaluateVersions","retryAsPromised","TimeoutError","previous","_getKeyIndexFromMatchingKey","_getKeyIndexForMany","_getKeyIndexForSingle","rc","llvm","clangtidy","clangformat","ninja","cmake","conan","meson","kcov","task","doxygen","gcc","mingw","nala","ProgramFiles","a2","win32","win64","x86_64","a4","a6","globalThis","DOMException","reason","readFile","Core","vcpkg","bazel","opencppcoverage","choco","brew","powershell","ccache","sccache","graphviz","msvc","vcvarsall","make","sevenzip","argv"],"sources":["../../","../../node_modules/.pnpm/ci-info@3.8.0/node_modules/ci-info/index.js","../../node_modules/.pnpm/ci-info@3.8.0/node_modules/ci-info/vendors.json","../../packages/ci-log/src/index.ts","../../node_modules/.pnpm/@actions+core@1.10.0/node_modules/@actions/core/lib/core.js","../../node_modules/.pnpm/@actions+core@1.10.0/node_modules/@actions/core/src/core.ts","../../node_modules/.pnpm/@actions+core@1.10.0/node_modules/@actions/core/lib/command.js","../../node_modules/.pnpm/@actions+core@1.10.0/node_modules/@actions/core/src/command.ts","../../node_modules/.pnpm/@actions+core@1.10.0/node_modules/@actions/core/lib/utils.js","../../node_modules/.pnpm/@actions+core@1.10.0/node_modules/@actions/core/src/utils.ts","../../node_modules/.pnpm/@actions+core@1.10.0/node_modules/@actions/core/lib/file-command.js","../../node_modules/.pnpm/@actions+core@1.10.0/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.10.0/node_modules/@actions/core/lib/oidc-utils.js","../../node_modules/.pnpm/@actions+core@1.10.0/node_modules/@actions/core/src/oidc-utils.ts","../../node_modules/.pnpm/@actions+http-client@2.1.0/node_modules/@actions/http-client/lib/index.js","../../node_modules/.pnpm/@actions+http-client@2.1.0/node_modules/@actions/http-client/src/index.ts","../../node_modules/.pnpm/@actions+http-client@2.1.0/node_modules/@actions/http-client/lib/proxy.js","../../node_modules/.pnpm/@actions+http-client@2.1.0/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.1.0/node_modules/@actions/http-client/lib/auth.js","../../node_modules/.pnpm/@actions+http-client@2.1.0/node_modules/@actions/http-client/src/auth.ts","../../node_modules/.pnpm/@actions+core@1.10.0/node_modules/@actions/core/lib/summary.js","../../node_modules/.pnpm/@actions+core@1.10.0/node_modules/@actions/core/src/summary.ts","../../node_modules/.pnpm/@actions+core@1.10.0/node_modules/@actions/core/lib/path-utils.js","../../node_modules/.pnpm/@actions+core@1.10.0/node_modules/@actions/core/src/path-utils.ts","../../node_modules/.pnpm/numerous@1.0.3/node_modules/numerous/lib/numerous.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/is-node@1.0.2/node_modules/is-node/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/semver@7.5.4/node_modules/semver/index.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/internal/re.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/internal/constants.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/internal/debug.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/classes/semver.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/internal/parse-options.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/internal/identifiers.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/parse.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/valid.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/clean.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/inc.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/diff.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/major.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/minor.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/patch.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/prerelease.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/compare.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/rcompare.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/compare-loose.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/compare-build.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/sort.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/rsort.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/gt.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/lt.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/eq.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/neq.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/gte.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/lte.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/cmp.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/coerce.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/classes/comparator.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/classes/range.js","../../node_modules/.pnpm/lru-cache@6.0.0/node_modules/lru-cache/index.js","../../node_modules/.pnpm/yallist@4.0.0/node_modules/yallist/yallist.js","../../node_modules/.pnpm/yallist@4.0.0/node_modules/yallist/iterator.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/satisfies.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/ranges/to-comparators.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/ranges/max-satisfying.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/ranges/min-satisfying.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/ranges/min-version.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/ranges/valid.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/ranges/outside.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/ranges/gtr.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/ranges/ltr.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/ranges/intersects.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/ranges/simplify.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/ranges/subset.js","../../node_modules/.pnpm/escape-string-regexp@1.0.5/node_modules/escape-string-regexp/index.js","../../node_modules/.pnpm/path-exists@5.0.0/node_modules/path-exists/index.js","../../node_modules/.pnpm/patha@0.4.1/node_modules/patha/dist/index.node.mjs","../../node_modules/.pnpm/patha@0.4.1/node_modules/patha/src/name.ts","../../node_modules/.pnpm/patha@0.4.1/node_modules/patha/src/normalize-trim.ts","../../node_modules/.pnpm/patha@0.4.1/node_modules/patha/src/add-exe-ext.ts","../../node_modules/.pnpm/patha@0.4.1/node_modules/patha/src/add-name-prefix.ts","../../node_modules/.pnpm/patha@0.4.1/node_modules/patha/src/add-name-suffix.ts","../../node_modules/.pnpm/patha@0.4.1/node_modules/patha/src/add-sh-ext.ts","../../node_modules/.pnpm/patha@0.4.1/node_modules/patha/src/add-sh-relative-prefix.ts","../../node_modules/.pnpm/patha@0.4.1/node_modules/patha/src/remove-ext.ts","../../node_modules/.pnpm/patha@0.4.1/node_modules/patha/src/replace-ext.ts","../../node_modules/.pnpm/patha@0.4.1/node_modules/patha/src/is-path-inside.ts","../../node_modules/.pnpm/escape-string-regexp@5.0.0/node_modules/escape-string-regexp/index.js","../../node_modules/.pnpm/replace-ext@2.0.0/node_modules/replace-ext/index.js","../../node_modules/.pnpm/@actions+io@1.1.3/node_modules/@actions/io/lib/io.js","../../node_modules/.pnpm/@actions+io@1.1.3/node_modules/@actions/io/src/io.ts","../../node_modules/.pnpm/@actions+io@1.1.3/node_modules/@actions/io/lib/io-util.js","../../node_modules/.pnpm/@actions+io@1.1.3/node_modules/@actions/io/src/io-util.ts","../../node_modules/.pnpm/@actions+tool-cache@2.0.1/node_modules/@actions/tool-cache/lib/manifest.js","../../node_modules/.pnpm/@actions+tool-cache@2.0.1/node_modules/@actions/tool-cache/src/manifest.ts","../../node_modules/.pnpm/semver@6.3.1/node_modules/semver/semver.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/lib/exec.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/lib/toolrunner.js","../../node_modules/.pnpm/@actions+exec@1.1.1/node_modules/@actions/exec/src/toolrunner.ts","../../node_modules/.pnpm/@parcel+runtime-js@2.9.3_@parcel+core@2.9.3/node_modules/@parcel/runtime-js/lib/runtime-3dfbc2a3f5a258f9.js","../../src/main.ts","../../node_modules/.pnpm/numerous@1.0.3/node_modules/numerous/locales/en.js","../../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","../../packages/untildify-user/src/index.ts","../../node_modules/.pnpm/untildify@4.0.0/node_modules/untildify/index.js","../../node_modules/.pnpm/admina@0.2.2/node_modules/admina/src/index.ts","../../node_modules/.pnpm/admina@0.2.2/node_modules/admina/dist/root.mjs","../../node_modules/.pnpm/admina@0.2.2/node_modules/admina/src/root.ts","../../node_modules/.pnpm/which@2.0.2/node_modules/which/which.js","../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/index.js","../../node_modules/.pnpm/execa@5.1.1/node_modules/execa/index.js","../../node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/index.js","../../node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/parse.js","../../node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/util/resolveCommand.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/cross-spawn@7.0.3/node_modules/cross-spawn/lib/util/readShebang.js","../../node_modules/.pnpm/shebang-command@2.0.0/node_modules/shebang-command/index.js","../../node_modules/.pnpm/shebang-regex@3.0.0/node_modules/shebang-regex/index.js","../../node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/enoent.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/onetime@5.1.2/node_modules/onetime/index.js","../../node_modules/.pnpm/mimic-fn@2.1.0/node_modules/mimic-fn/index.js","../../node_modules/.pnpm/execa@5.1.1/node_modules/execa/lib/error.js","../../node_modules/.pnpm/human-signals@2.1.0/node_modules/human-signals/build/src/main.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/build/src/signals.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/build/src/core.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/build/src/realtime.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/stdio.js","../../node_modules/.pnpm/execa@5.1.1/node_modules/execa/lib/kill.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/stream.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/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/promise.js","../../node_modules/.pnpm/execa@5.1.1/node_modules/execa/lib/command.js","../../node_modules/.pnpm/admina@0.2.2/node_modules/admina/dist/admin.mjs","../../node_modules/.pnpm/admina@0.2.2/node_modules/admina/src/admin.ts","../../node_modules/.pnpm/admina@0.2.2/node_modules/admina/dist/is-admin.mjs","../../node_modules/.pnpm/admina@0.2.2/node_modules/admina/src/is-admin.ts","../../node_modules/.pnpm/admina@0.2.2/node_modules/admina/dist/user-access.mjs","../../node_modules/.pnpm/admina@0.2.2/node_modules/admina/src/user-access.ts","../../src/check-updates.ts","../../node_modules/.pnpm/simple-update-notifier@2.0.0/node_modules/simple-update-notifier/build/index.js","../../package-version.json","../../src/cli-options.ts","../../node_modules/.pnpm/mri@1.2.0/node_modules/mri/lib/index.mjs","../../src/tool.ts","../../src/bazel/bazel.ts","../../src/utils/setup/setupAptPack.ts","../../src/utils/env/addEnv.ts","../../packages/exec-powershell/src/index.ts","../../node_modules/.pnpm/execa@7.1.1/node_modules/execa/index.js","../../node_modules/.pnpm/strip-final-newline@3.0.0/node_modules/strip-final-newline/index.js","../../node_modules/.pnpm/npm-run-path@5.1.0/node_modules/npm-run-path/index.js","../../node_modules/.pnpm/path-key@4.0.0/node_modules/path-key/index.js","../../node_modules/.pnpm/onetime@6.0.0/node_modules/onetime/index.js","../../node_modules/.pnpm/mimic-fn@4.0.0/node_modules/mimic-fn/index.js","../../node_modules/.pnpm/execa@7.1.1/node_modules/execa/lib/error.js","../../node_modules/.pnpm/human-signals@4.3.1/node_modules/human-signals/build/src/main.js","../../node_modules/.pnpm/human-signals@4.3.1/node_modules/human-signals/build/src/realtime.js","../../node_modules/.pnpm/human-signals@4.3.1/node_modules/human-signals/build/src/signals.js","../../node_modules/.pnpm/human-signals@4.3.1/node_modules/human-signals/build/src/core.js","../../node_modules/.pnpm/execa@7.1.1/node_modules/execa/lib/stdio.js","../../node_modules/.pnpm/execa@7.1.1/node_modules/execa/lib/kill.js","../../node_modules/.pnpm/execa@7.1.1/node_modules/execa/lib/pipe.js","../../node_modules/.pnpm/is-stream@3.0.0/node_modules/is-stream/index.js","../../node_modules/.pnpm/execa@7.1.1/node_modules/execa/lib/stream.js","../../node_modules/.pnpm/execa@7.1.1/node_modules/execa/lib/promise.js","../../node_modules/.pnpm/execa@7.1.1/node_modules/execa/lib/command.js","../../node_modules/.pnpm/execa@7.1.1/node_modules/execa/lib/verbose.js","../../node_modules/.pnpm/escape-path-with-spaces@1.0.2/node_modules/escape-path-with-spaces/index.js","../../node_modules/.pnpm/escape-quotes@1.0.2/node_modules/escape-quotes/lib/escape-quotes.js","../../node_modules/.pnpm/execa@7.2.0/node_modules/execa/index.js","../../node_modules/.pnpm/execa@7.2.0/node_modules/execa/lib/error.js","../../node_modules/.pnpm/execa@7.2.0/node_modules/execa/lib/stdio.js","../../node_modules/.pnpm/execa@7.2.0/node_modules/execa/lib/kill.js","../../node_modules/.pnpm/execa@7.2.0/node_modules/execa/lib/pipe.js","../../node_modules/.pnpm/execa@7.2.0/node_modules/execa/lib/stream.js","../../node_modules/.pnpm/execa@7.2.0/node_modules/execa/lib/promise.js","../../node_modules/.pnpm/execa@7.2.0/node_modules/execa/lib/command.js","../../node_modules/.pnpm/execa@7.2.0/node_modules/execa/lib/verbose.js","../../node_modules/.pnpm/which@3.0.1/node_modules/which/lib/index.js","../../src/utils/setup/setupBrewPack.ts","../../src/brew/brew.ts","../../src/utils/setup/setupChocoPack.ts","../../src/chocolatey/chocolatey.ts","../../src/utils/env/isArch.ts","../../src/utils/env/hasDnf.ts","../../src/utils/setup/setupDnfPack.ts","../../src/utils/env/isUbuntu.ts","../../src/ccache/ccache.ts","../../src/utils/setup/setupPacmanPack.ts","../../src/cmake/cmake.ts","../../node_modules/.pnpm/@actions+tool-cache@2.0.1/node_modules/@actions/tool-cache/lib/tool-cache.js","../../node_modules/.pnpm/@actions+tool-cache@2.0.1/node_modules/@actions/tool-cache/src/tool-cache.ts","../../node_modules/.pnpm/@actions+tool-cache@2.0.1/node_modules/@actions/tool-cache/lib/retry-helper.js","../../node_modules/.pnpm/@actions+tool-cache@2.0.1/node_modules/@actions/tool-cache/src/retry-helper.ts","../../src/utils/setup/setupBin.ts","../../node_modules/.pnpm/retry-as-promised@7.0.4/node_modules/retry-as-promised/dist/index.js","../../src/utils/setup/extract.ts","../../src/sevenzip/sevenzip.ts","../../src/conan/conan.ts","../../src/utils/setup/setupPipPack.ts","../../src/python/python.ts","../../node_modules/.pnpm/micro-memoize@4.1.2/node_modules/micro-memoize/dist/micro-memoize.esm.js","../../node_modules/.pnpm/micro-memoize@4.1.2/node_modules/micro-memoize/src/utils.ts","../../node_modules/.pnpm/micro-memoize@4.1.2/node_modules/micro-memoize/src/Cache.ts","../../node_modules/.pnpm/micro-memoize@4.1.2/node_modules/micro-memoize/src/index.ts","../../src/utils/setup/version.ts","../../node_modules/.pnpm/is-url-online@1.5.0/node_modules/is-url-online/dist/index.mjs","../../src/utils/std/index.ts","../../src/versions/default_versions.ts","../../src/versions/versions.ts","../../src/utils/env/ubuntu_version.ts","../../node_modules/.pnpm/ubuntu-version@2.0.0/node_modules/ubuntu-version/index.js","../../src/cppcheck/cppcheck.ts","../../src/doxygen/doxygen.ts","../../src/graphviz/graphviz.ts","../../src/gcc/gcc.ts","../../src/macos-sdk/macos-sdk.ts","../../src/gcovr/gcovr.ts","../../src/kcov/kcov.ts","../../src/ninja/ninja.ts","../../src/llvm/llvm.ts","../../src/llvm/llvm_installer.ts","../../src/installTool.ts","../../src/vcvarsall/vcvarsall.ts","../../node_modules/.pnpm/github.com+aminya+msvc-dev-cmd@97843d525947e3f3776ee359b597316909754c4d/node_modules/msvc-dev-cmd/lib.js","../../node_modules/.pnpm/p-timeout@6.1.2/node_modules/p-timeout/index.js","../../src/llvm/llvm_url.ts","../../src/make/make.ts","../../src/meson/meson.ts","../../src/msvc/msvc.ts","../../src/nala/nala.ts","../../src/opencppcoverage/opencppcoverage.ts","../../src/powershell/powershell.ts","../../src/sccache/sccache.ts","../../src/task/task.ts","../../src/vcpkg/vcpkg.ts","../../src/compilers.ts"],"sourcesContent":["#!/usr/bin/env node\nvar $4umf8$os = require(\"os\");\nvar $4umf8$path = require(\"path\");\nvar $4umf8$fs = require(\"fs\");\nvar $4umf8$crypto = require(\"crypto\");\nvar $4umf8$http = require(\"http\");\nvar $4umf8$https = require(\"https\");\nrequire(\"net\");\nvar $4umf8$tls = require(\"tls\");\nvar $4umf8$events = require(\"events\");\nvar $4umf8$assert = require(\"assert\");\nvar $4umf8$util = require(\"util\");\nvar $4umf8$nodefs = require(\"node:fs\");\nvar $4umf8$child_process = require(\"child_process\");\nvar $4umf8$string_decoder = require(\"string_decoder\");\nvar $4umf8$timers = require(\"timers\");\nvar $4umf8$buffer = require(\"buffer\");\nvar $4umf8$stream = require(\"stream\");\nvar $4umf8$process = require(\"process\");\nvar $4umf8$nodebuffer = require(\"node:buffer\");\nvar $4umf8$nodepath = require(\"node:path\");\nvar $4umf8$nodechild_process = require(\"node:child_process\");\nvar $4umf8$nodeprocess = require(\"node:process\");\nvar $4umf8$nodeurl = require(\"node:url\");\nvar $4umf8$nodeos = require(\"node:os\");\nvar $4umf8$nodeutil = require(\"node:util\");\nvar $4umf8$url = require(\"url\");\nvar $4umf8$console = require(\"console\");\n\nfunction $parcel$export(e, n, v, s) {\n Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});\n}\nfunction $parcel$interopDefault(a) {\n return a && a.__esModule ? a.default : a;\n}\nvar $parcel$global =\ntypeof globalThis !== 'undefined'\n ? globalThis\n : typeof self !== 'undefined'\n ? self\n : typeof window !== 'undefined'\n ? window\n : typeof global !== 'undefined'\n ? global\n : {};\nvar $parcel$modules = {};\nvar $parcel$inits = {};\n\nvar parcelRequire = $parcel$global[\"parcelRequire810d\"];\nif (parcelRequire == null) {\n parcelRequire = function(id) {\n if (id in $parcel$modules) {\n return $parcel$modules[id].exports;\n }\n if (id in $parcel$inits) {\n var init = $parcel$inits[id];\n delete $parcel$inits[id];\n var module = {id: id, exports: {}};\n $parcel$modules[id] = module;\n init.call(module.exports, module, module.exports);\n return module.exports;\n }\n var err = new Error(\"Cannot find module '\" + id + \"'\");\n err.code = 'MODULE_NOT_FOUND';\n throw err;\n };\n\n parcelRequire.register = function register(id, init) {\n $parcel$inits[id] = init;\n };\n\n $parcel$global[\"parcelRequire810d\"] = parcelRequire;\n}\nparcelRequire.register(\"cLprm\", function(module, exports) {\n\"use strict\";\n\nvar $iQYeD = parcelRequire(\"iQYeD\");\nconst $94ad9bb7bac2099a$var$env = process.env;\n// Used for testing only\nObject.defineProperty(module.exports, \"_vendors\", {\n value: $iQYeD.map(function(v) {\n return v.constant;\n })\n});\nmodule.exports.name = null;\nmodule.exports.isPR = null;\n$iQYeD.forEach(function(vendor) {\n const envs = Array.isArray(vendor.env) ? vendor.env : [\n vendor.env\n ];\n const isCI = envs.every(function(obj) {\n return $94ad9bb7bac2099a$var$checkEnv(obj);\n });\n module.exports[vendor.constant] = isCI;\n if (!isCI) return;\n module.exports.name = vendor.name;\n switch(typeof vendor.pr){\n case \"string\":\n // \"pr\": \"CIRRUS_PR\"\n module.exports.isPR = !!$94ad9bb7bac2099a$var$env[vendor.pr];\n break;\n case \"object\":\n if (\"env\" in vendor.pr) // \"pr\": { \"env\": \"BUILDKITE_PULL_REQUEST\", \"ne\": \"false\" }\n module.exports.isPR = vendor.pr.env in $94ad9bb7bac2099a$var$env && $94ad9bb7bac2099a$var$env[vendor.pr.env] !== vendor.pr.ne;\n else if (\"any\" in vendor.pr) // \"pr\": { \"any\": [\"ghprbPullId\", \"CHANGE_ID\"] }\n module.exports.isPR = vendor.pr.any.some(function(key) {\n return !!$94ad9bb7bac2099a$var$env[key];\n });\n else // \"pr\": { \"DRONE_BUILD_EVENT\": \"pull_request\" }\n module.exports.isPR = $94ad9bb7bac2099a$var$checkEnv(vendor.pr);\n break;\n default:\n // PR detection not supported for this vendor\n module.exports.isPR = null;\n }\n});\nmodule.exports.isCI = !!($94ad9bb7bac2099a$var$env.CI !== \"false\" && // Bypass all checks if CI env is explicitly set to 'false'\n($94ad9bb7bac2099a$var$env.BUILD_ID || // Jenkins, Cloudbees\n$94ad9bb7bac2099a$var$env.BUILD_NUMBER || // Jenkins, TeamCity\n$94ad9bb7bac2099a$var$env.CI || // Travis CI, CircleCI, Cirrus CI, Gitlab CI, Appveyor, CodeShip, dsari\n$94ad9bb7bac2099a$var$env.CI_APP_ID || // Appflow\n$94ad9bb7bac2099a$var$env.CI_BUILD_ID || // Appflow\n$94ad9bb7bac2099a$var$env.CI_BUILD_NUMBER || // Appflow\n$94ad9bb7bac2099a$var$env.CI_NAME || // Codeship and others\n$94ad9bb7bac2099a$var$env.CONTINUOUS_INTEGRATION || // Travis CI, Cirrus CI\n$94ad9bb7bac2099a$var$env.RUN_ID || // TaskCluster, dsari\nmodule.exports.name || false));\nfunction $94ad9bb7bac2099a$var$checkEnv(obj) {\n // \"env\": \"CIRRUS\"\n if (typeof obj === \"string\") return !!$94ad9bb7bac2099a$var$env[obj];\n // \"env\": { \"env\": \"NODE\", \"includes\": \"/app/.heroku/node/bin/node\" }\n if (\"env\" in obj) // Currently there are no other types, uncomment when there are\n // if ('includes' in obj) {\n return $94ad9bb7bac2099a$var$env[obj.env] && $94ad9bb7bac2099a$var$env[obj.env].includes(obj.includes);\n if (\"any\" in obj) return obj.any.some(function(k) {\n return !!$94ad9bb7bac2099a$var$env[k];\n });\n return Object.keys(obj).every(function(k) {\n return $94ad9bb7bac2099a$var$env[k] === obj[k];\n });\n}\n\n});\nparcelRequire.register(\"iQYeD\", function(module, exports) {\nmodule.exports = JSON.parse('[{\"name\":\"Appcircle\",\"constant\":\"APPCIRCLE\",\"env\":\"AC_APPCIRCLE\"},{\"name\":\"AppVeyor\",\"constant\":\"APPVEYOR\",\"env\":\"APPVEYOR\",\"pr\":\"APPVEYOR_PULL_REQUEST_NUMBER\"},{\"name\":\"AWS CodeBuild\",\"constant\":\"CODEBUILD\",\"env\":\"CODEBUILD_BUILD_ARN\"},{\"name\":\"Azure Pipelines\",\"constant\":\"AZURE_PIPELINES\",\"env\":\"SYSTEM_TEAMFOUNDATIONCOLLECTIONURI\",\"pr\":\"SYSTEM_PULLREQUEST_PULLREQUESTID\"},{\"name\":\"Bamboo\",\"constant\":\"BAMBOO\",\"env\":\"bamboo_planKey\"},{\"name\":\"Bitbucket Pipelines\",\"constant\":\"BITBUCKET\",\"env\":\"BITBUCKET_COMMIT\",\"pr\":\"BITBUCKET_PR_ID\"},{\"name\":\"Bitrise\",\"constant\":\"BITRISE\",\"env\":\"BITRISE_IO\",\"pr\":\"BITRISE_PULL_REQUEST\"},{\"name\":\"Buddy\",\"constant\":\"BUDDY\",\"env\":\"BUDDY_WORKSPACE_ID\",\"pr\":\"BUDDY_EXECUTION_PULL_REQUEST_ID\"},{\"name\":\"Buildkite\",\"constant\":\"BUILDKITE\",\"env\":\"BUILDKITE\",\"pr\":{\"env\":\"BUILDKITE_PULL_REQUEST\",\"ne\":\"false\"}},{\"name\":\"CircleCI\",\"constant\":\"CIRCLE\",\"env\":\"CIRCLECI\",\"pr\":\"CIRCLE_PULL_REQUEST\"},{\"name\":\"Cirrus CI\",\"constant\":\"CIRRUS\",\"env\":\"CIRRUS_CI\",\"pr\":\"CIRRUS_PR\"},{\"name\":\"Codefresh\",\"constant\":\"CODEFRESH\",\"env\":\"CF_BUILD_ID\",\"pr\":{\"any\":[\"CF_PULL_REQUEST_NUMBER\",\"CF_PULL_REQUEST_ID\"]}},{\"name\":\"Codemagic\",\"constant\":\"CODEMAGIC\",\"env\":\"CM_BUILD_ID\",\"pr\":\"CM_PULL_REQUEST\"},{\"name\":\"Codeship\",\"constant\":\"CODESHIP\",\"env\":{\"CI_NAME\":\"codeship\"}},{\"name\":\"Drone\",\"constant\":\"DRONE\",\"env\":\"DRONE\",\"pr\":{\"DRONE_BUILD_EVENT\":\"pull_request\"}},{\"name\":\"dsari\",\"constant\":\"DSARI\",\"env\":\"DSARI\"},{\"name\":\"Expo Application Services\",\"constant\":\"EAS\",\"env\":\"EAS_BUILD\"},{\"name\":\"Gerrit\",\"constant\":\"GERRIT\",\"env\":\"GERRIT_PROJECT\"},{\"name\":\"GitHub Actions\",\"constant\":\"GITHUB_ACTIONS\",\"env\":\"GITHUB_ACTIONS\",\"pr\":{\"GITHUB_EVENT_NAME\":\"pull_request\"}},{\"name\":\"GitLab CI\",\"constant\":\"GITLAB\",\"env\":\"GITLAB_CI\",\"pr\":\"CI_MERGE_REQUEST_ID\"},{\"name\":\"GoCD\",\"constant\":\"GOCD\",\"env\":\"GO_PIPELINE_LABEL\"},{\"name\":\"Google Cloud Build\",\"constant\":\"GOOGLE_CLOUD_BUILD\",\"env\":\"BUILDER_OUTPUT\"},{\"name\":\"Harness CI\",\"constant\":\"HARNESS\",\"env\":\"HARNESS_BUILD_ID\"},{\"name\":\"Heroku\",\"constant\":\"HEROKU\",\"env\":{\"env\":\"NODE\",\"includes\":\"/app/.heroku/node/bin/node\"}},{\"name\":\"Hudson\",\"constant\":\"HUDSON\",\"env\":\"HUDSON_URL\"},{\"name\":\"Jenkins\",\"constant\":\"JENKINS\",\"env\":[\"JENKINS_URL\",\"BUILD_ID\"],\"pr\":{\"any\":[\"ghprbPullId\",\"CHANGE_ID\"]}},{\"name\":\"LayerCI\",\"constant\":\"LAYERCI\",\"env\":\"LAYERCI\",\"pr\":\"LAYERCI_PULL_REQUEST\"},{\"name\":\"Magnum CI\",\"constant\":\"MAGNUM\",\"env\":\"MAGNUM\"},{\"name\":\"Netlify CI\",\"constant\":\"NETLIFY\",\"env\":\"NETLIFY\",\"pr\":{\"env\":\"PULL_REQUEST\",\"ne\":\"false\"}},{\"name\":\"Nevercode\",\"constant\":\"NEVERCODE\",\"env\":\"NEVERCODE\",\"pr\":{\"env\":\"NEVERCODE_PULL_REQUEST\",\"ne\":\"false\"}},{\"name\":\"ReleaseHub\",\"constant\":\"RELEASEHUB\",\"env\":\"RELEASE_BUILD_ID\"},{\"name\":\"Render\",\"constant\":\"RENDER\",\"env\":\"RENDER\",\"pr\":{\"IS_PULL_REQUEST\":\"true\"}},{\"name\":\"Sail CI\",\"constant\":\"SAIL\",\"env\":\"SAILCI\",\"pr\":\"SAIL_PULL_REQUEST_NUMBER\"},{\"name\":\"Screwdriver\",\"constant\":\"SCREWDRIVER\",\"env\":\"SCREWDRIVER\",\"pr\":{\"env\":\"SD_PULL_REQUEST\",\"ne\":\"false\"}},{\"name\":\"Semaphore\",\"constant\":\"SEMAPHORE\",\"env\":\"SEMAPHORE\",\"pr\":\"PULL_REQUEST_NUMBER\"},{\"name\":\"Shippable\",\"constant\":\"SHIPPABLE\",\"env\":\"SHIPPABLE\",\"pr\":{\"IS_PULL_REQUEST\":\"true\"}},{\"name\":\"Solano CI\",\"constant\":\"SOLANO\",\"env\":\"TDDIUM\",\"pr\":\"TDDIUM_PR_ID\"},{\"name\":\"Sourcehut\",\"constant\":\"SOURCEHUT\",\"env\":{\"CI_NAME\":\"sourcehut\"}},{\"name\":\"Strider CD\",\"constant\":\"STRIDER\",\"env\":\"STRIDER\"},{\"name\":\"TaskCluster\",\"constant\":\"TASKCLUSTER\",\"env\":[\"TASK_ID\",\"RUN_ID\"]},{\"name\":\"TeamCity\",\"constant\":\"TEAMCITY\",\"env\":\"TEAMCITY_VERSION\"},{\"name\":\"Travis CI\",\"constant\":\"TRAVIS\",\"env\":\"TRAVIS\",\"pr\":{\"env\":\"TRAVIS_PULL_REQUEST\",\"ne\":\"false\"}},{\"name\":\"Vercel\",\"constant\":\"VERCEL\",\"env\":{\"any\":[\"NOW_BUILDER\",\"VERCEL\"]}},{\"name\":\"Visual Studio App Center\",\"constant\":\"APPCENTER\",\"env\":\"APPCENTER_BUILD_ID\"},{\"name\":\"Woodpecker\",\"constant\":\"WOODPECKER\",\"env\":{\"CI\":\"woodpecker\"},\"pr\":{\"CI_BUILD_EVENT\":\"pull_request\"}},{\"name\":\"Xcode Cloud\",\"constant\":\"XCODE_CLOUD\",\"env\":\"CI_XCODE_PROJECT\",\"pr\":\"CI_PULL_REQUEST_NUMBER\"},{\"name\":\"Xcode Server\",\"constant\":\"XCODE_SERVER\",\"env\":\"XCS\"}]');\n\n});\n\n\nparcelRequire.register(\"hHq4F\", function(module, exports) {\n\n$parcel$export(module.exports, \"error\", () => $0c53d1c71c9db41f$export$a3bc9b8ed74fc);\n$parcel$export(module.exports, \"success\", () => $0c53d1c71c9db41f$export$fe7c49d056ea1d88);\n$parcel$export(module.exports, \"warning\", () => $0c53d1c71c9db41f$export$491112666e282270);\n$parcel$export(module.exports, \"notice\", () => $0c53d1c71c9db41f$export$b31f6ae88848cf15);\n$parcel$export(module.exports, \"info\", () => $0c53d1c71c9db41f$export$a80b3bd66acc52ff);\n\nvar $2heqc = parcelRequire(\"2heqc\");\n\nvar $cLprm = parcelRequire(\"cLprm\");\nfunction $0c53d1c71c9db41f$export$a3bc9b8ed74fc(err) {\n return (0, $cLprm.GITHUB_ACTIONS) ? $2heqc.error(err) : console.log(`\\x1b[31m${err}\\x1b[0m`);\n}\nfunction $0c53d1c71c9db41f$export$fe7c49d056ea1d88(msg) {\n return console.log(`\\x1b[32m${msg}\\x1b[0m`);\n}\nfunction $0c53d1c71c9db41f$export$491112666e282270(msg) {\n return (0, $cLprm.GITHUB_ACTIONS) ? $2heqc.warning(msg) : console.log(`\\x1b[33m${msg}\\x1b[0m`);\n}\nfunction $0c53d1c71c9db41f$export$b31f6ae88848cf15(msg) {\n return (0, $cLprm.GITHUB_ACTIONS) ? $2heqc.notice(msg) : console.log(`\\x1b[94m${msg}\\x1b[0m`);\n}\nfunction $0c53d1c71c9db41f$export$a80b3bd66acc52ff(msg) {\n return (0, $cLprm.GITHUB_ACTIONS) ? $2heqc.info(msg) : console.log(msg);\n}\n\n});\nparcelRequire.register(\"2heqc\", function(module, exports) {\n\"use strict\";\nvar $1a885b1bc769455b$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $1a885b1bc769455b$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $1a885b1bc769455b$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $1a885b1bc769455b$var$__createBinding(result, mod, k);\n }\n $1a885b1bc769455b$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $1a885b1bc769455b$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.getIDToken = module.exports.getState = module.exports.saveState = module.exports.group = module.exports.endGroup = module.exports.startGroup = module.exports.info = module.exports.notice = module.exports.warning = module.exports.error = module.exports.debug = module.exports.isDebug = module.exports.setFailed = module.exports.setCommandEcho = module.exports.setOutput = module.exports.getBooleanInput = module.exports.getMultilineInput = module.exports.getInput = module.exports.addPath = module.exports.setSecret = module.exports.exportVariable = module.exports.ExitCode = void 0;\n\nvar $lxvYw = parcelRequire(\"lxvYw\");\n\nvar $izMKk = parcelRequire(\"izMKk\");\n\nvar $3GPt4 = parcelRequire(\"3GPt4\");\n\nconst $1a885b1bc769455b$var$os = $1a885b1bc769455b$var$__importStar($4umf8$os);\n\nconst $1a885b1bc769455b$var$path = $1a885b1bc769455b$var$__importStar($4umf8$path);\n\nvar $cxUw3 = parcelRequire(\"cxUw3\");\n/**\n * The code to exit an action\n */ var $1a885b1bc769455b$var$ExitCode;\n(function(ExitCode) {\n /**\n * A code indicating that the action was successful\n */ ExitCode[ExitCode[\"Success\"] = 0] = \"Success\";\n /**\n * A code indicating that the action was a failure\n */ ExitCode[ExitCode[\"Failure\"] = 1] = \"Failure\";\n})($1a885b1bc769455b$var$ExitCode = module.exports.ExitCode || (module.exports.ExitCode = {}));\n//-----------------------------------------------------------------------\n// Variables\n//-----------------------------------------------------------------------\n/**\n * Sets env variable for this action and future actions in the job\n * @param name the name of the variable to set\n * @param val the value of the variable. Non-string values will be converted to a string via JSON.stringify\n */ // eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction $1a885b1bc769455b$var$exportVariable(name, val) {\n const convertedVal = $3GPt4.toCommandValue(val);\n process.env[name] = convertedVal;\n const filePath = process.env[\"GITHUB_ENV\"] || \"\";\n if (filePath) return $izMKk.issueFileCommand(\"ENV\", $izMKk.prepareKeyValueMessage(name, val));\n $lxvYw.issueCommand(\"set-env\", {\n name: name\n }, convertedVal);\n}\nmodule.exports.exportVariable = $1a885b1bc769455b$var$exportVariable;\n/**\n * Registers a secret which will get masked from logs\n * @param secret value of the secret\n */ function $1a885b1bc769455b$var$setSecret(secret) {\n $lxvYw.issueCommand(\"add-mask\", {}, secret);\n}\nmodule.exports.setSecret = $1a885b1bc769455b$var$setSecret;\n/**\n * Prepends inputPath to the PATH (for this action and future actions)\n * @param inputPath\n */ function $1a885b1bc769455b$var$addPath(inputPath) {\n const filePath = process.env[\"GITHUB_PATH\"] || \"\";\n if (filePath) $izMKk.issueFileCommand(\"PATH\", inputPath);\n else $lxvYw.issueCommand(\"add-path\", {}, inputPath);\n process.env[\"PATH\"] = `${inputPath}${$1a885b1bc769455b$var$path.delimiter}${process.env[\"PATH\"]}`;\n}\nmodule.exports.addPath = $1a885b1bc769455b$var$addPath;\n/**\n * Gets the value of an input.\n * Unless trimWhitespace is set to false in InputOptions, the value is also trimmed.\n * Returns an empty string if the value is not defined.\n *\n * @param name name of the input to get\n * @param options optional. See InputOptions.\n * @returns string\n */ function $1a885b1bc769455b$var$getInput(name, options) {\n const val = process.env[`INPUT_${name.replace(/ /g, \"_\").toUpperCase()}`] || \"\";\n if (options && options.required && !val) throw new Error(`Input required and not supplied: ${name}`);\n if (options && options.trimWhitespace === false) return val;\n return val.trim();\n}\nmodule.exports.getInput = $1a885b1bc769455b$var$getInput;\n/**\n * Gets the values of an multiline input. Each value is also trimmed.\n *\n * @param name name of the input to get\n * @param options optional. See InputOptions.\n * @returns string[]\n *\n */ function $1a885b1bc769455b$var$getMultilineInput(name, options) {\n const inputs = $1a885b1bc769455b$var$getInput(name, options).split(\"\\n\").filter((x)=>x !== \"\");\n if (options && options.trimWhitespace === false) return inputs;\n return inputs.map((input)=>input.trim());\n}\nmodule.exports.getMultilineInput = $1a885b1bc769455b$var$getMultilineInput;\n/**\n * Gets the input value of the boolean type in the YAML 1.2 \"core schema\" specification.\n * Support boolean input list: `true | True | TRUE | false | False | FALSE` .\n * The return value is also in boolean type.\n * ref: https://yaml.org/spec/1.2/spec.html#id2804923\n *\n * @param name name of the input to get\n * @param options optional. See InputOptions.\n * @returns boolean\n */ function $1a885b1bc769455b$var$getBooleanInput(name, options) {\n const trueValue = [\n \"true\",\n \"True\",\n \"TRUE\"\n ];\n const falseValue = [\n \"false\",\n \"False\",\n \"FALSE\"\n ];\n const val = $1a885b1bc769455b$var$getInput(name, options);\n if (trueValue.includes(val)) return true;\n if (falseValue.includes(val)) return false;\n throw new TypeError(`Input does not meet YAML 1.2 \"Core Schema\" specification: ${name}\\n` + `Support boolean input list: \\`true | True | TRUE | false | False | FALSE\\``);\n}\nmodule.exports.getBooleanInput = $1a885b1bc769455b$var$getBooleanInput;\n/**\n * Sets the value of an output.\n *\n * @param name name of the output to set\n * @param value value to store. Non-string values will be converted to a string via JSON.stringify\n */ // eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction $1a885b1bc769455b$var$setOutput(name, value) {\n const filePath = process.env[\"GITHUB_OUTPUT\"] || \"\";\n if (filePath) return $izMKk.issueFileCommand(\"OUTPUT\", $izMKk.prepareKeyValueMessage(name, value));\n process.stdout.write($1a885b1bc769455b$var$os.EOL);\n $lxvYw.issueCommand(\"set-output\", {\n name: name\n }, $3GPt4.toCommandValue(value));\n}\nmodule.exports.setOutput = $1a885b1bc769455b$var$setOutput;\n/**\n * Enables or disables the echoing of commands into stdout for the rest of the step.\n * Echoing is disabled by default if ACTIONS_STEP_DEBUG is not set.\n *\n */ function $1a885b1bc769455b$var$setCommandEcho(enabled) {\n $lxvYw.issue(\"echo\", enabled ? \"on\" : \"off\");\n}\nmodule.exports.setCommandEcho = $1a885b1bc769455b$var$setCommandEcho;\n//-----------------------------------------------------------------------\n// Results\n//-----------------------------------------------------------------------\n/**\n * Sets the action status to failed.\n * When the action exits it will be with an exit code of 1\n * @param message add error issue message\n */ function $1a885b1bc769455b$var$setFailed(message) {\n process.exitCode = $1a885b1bc769455b$var$ExitCode.Failure;\n $1a885b1bc769455b$var$error(message);\n}\nmodule.exports.setFailed = $1a885b1bc769455b$var$setFailed;\n//-----------------------------------------------------------------------\n// Logging Commands\n//-----------------------------------------------------------------------\n/**\n * Gets whether Actions Step Debug is on or not\n */ function $1a885b1bc769455b$var$isDebug() {\n return process.env[\"RUNNER_DEBUG\"] === \"1\";\n}\nmodule.exports.isDebug = $1a885b1bc769455b$var$isDebug;\n/**\n * Writes debug message to user log\n * @param message debug message\n */ function $1a885b1bc769455b$var$debug(message) {\n $lxvYw.issueCommand(\"debug\", {}, message);\n}\nmodule.exports.debug = $1a885b1bc769455b$var$debug;\n/**\n * Adds an error issue\n * @param message error issue message. Errors will be converted to string via toString()\n * @param properties optional properties to add to the annotation.\n */ function $1a885b1bc769455b$var$error(message, properties = {}) {\n $lxvYw.issueCommand(\"error\", $3GPt4.toCommandProperties(properties), message instanceof Error ? message.toString() : message);\n}\nmodule.exports.error = $1a885b1bc769455b$var$error;\n/**\n * Adds a warning issue\n * @param message warning issue message. Errors will be converted to string via toString()\n * @param properties optional properties to add to the annotation.\n */ function $1a885b1bc769455b$var$warning(message, properties = {}) {\n $lxvYw.issueCommand(\"warning\", $3GPt4.toCommandProperties(properties), message instanceof Error ? message.toString() : message);\n}\nmodule.exports.warning = $1a885b1bc769455b$var$warning;\n/**\n * Adds a notice issue\n * @param message notice issue message. Errors will be converted to string via toString()\n * @param properties optional properties to add to the annotation.\n */ function $1a885b1bc769455b$var$notice(message, properties = {}) {\n $lxvYw.issueCommand(\"notice\", $3GPt4.toCommandProperties(properties), message instanceof Error ? message.toString() : message);\n}\nmodule.exports.notice = $1a885b1bc769455b$var$notice;\n/**\n * Writes info to log with console.log.\n * @param message info message\n */ function $1a885b1bc769455b$var$info(message) {\n process.stdout.write(message + $1a885b1bc769455b$var$os.EOL);\n}\nmodule.exports.info = $1a885b1bc769455b$var$info;\n/**\n * Begin an output group.\n *\n * Output until the next `groupEnd` will be foldable in this group\n *\n * @param name The name of the output group\n */ function $1a885b1bc769455b$var$startGroup(name) {\n $lxvYw.issue(\"group\", name);\n}\nmodule.exports.startGroup = $1a885b1bc769455b$var$startGroup;\n/**\n * End an output group.\n */ function $1a885b1bc769455b$var$endGroup() {\n $lxvYw.issue(\"endgroup\");\n}\nmodule.exports.endGroup = $1a885b1bc769455b$var$endGroup;\n/**\n * Wrap an asynchronous function call in a group.\n *\n * Returns the same type as the function itself.\n *\n * @param name The name of the group\n * @param fn The function to wrap in the group\n */ function $1a885b1bc769455b$var$group(name, fn) {\n return $1a885b1bc769455b$var$__awaiter(this, void 0, void 0, function*() {\n $1a885b1bc769455b$var$startGroup(name);\n let result;\n try {\n result = yield fn();\n } finally{\n $1a885b1bc769455b$var$endGroup();\n }\n return result;\n });\n}\nmodule.exports.group = $1a885b1bc769455b$var$group;\n//-----------------------------------------------------------------------\n// Wrapper action state\n//-----------------------------------------------------------------------\n/**\n * Saves state for current action, the state can only be retrieved by this action's post job execution.\n *\n * @param name name of the state to store\n * @param value value to store. Non-string values will be converted to a string via JSON.stringify\n */ // eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction $1a885b1bc769455b$var$saveState(name, value) {\n const filePath = process.env[\"GITHUB_STATE\"] || \"\";\n if (filePath) return $izMKk.issueFileCommand(\"STATE\", $izMKk.prepareKeyValueMessage(name, value));\n $lxvYw.issueCommand(\"save-state\", {\n name: name\n }, $3GPt4.toCommandValue(value));\n}\nmodule.exports.saveState = $1a885b1bc769455b$var$saveState;\n/**\n * Gets the value of an state set by this action's main execution.\n *\n * @param name name of the state to get\n * @returns string\n */ function $1a885b1bc769455b$var$getState(name) {\n return process.env[`STATE_${name}`] || \"\";\n}\nmodule.exports.getState = $1a885b1bc769455b$var$getState;\nfunction $1a885b1bc769455b$var$getIDToken(aud) {\n return $1a885b1bc769455b$var$__awaiter(this, void 0, void 0, function*() {\n return yield $cxUw3.OidcClient.getIDToken(aud);\n });\n}\nmodule.exports.getIDToken = $1a885b1bc769455b$var$getIDToken;\n\nvar $a9gnA = parcelRequire(\"a9gnA\");\nObject.defineProperty(module.exports, \"summary\", {\n enumerable: true,\n get: function() {\n return $a9gnA.summary;\n }\n});\n\nvar $a9gnA = parcelRequire(\"a9gnA\");\nObject.defineProperty(module.exports, \"markdownSummary\", {\n enumerable: true,\n get: function() {\n return $a9gnA.markdownSummary;\n }\n});\n\nvar $3zXsD = parcelRequire(\"3zXsD\");\nObject.defineProperty(module.exports, \"toPosixPath\", {\n enumerable: true,\n get: function() {\n return $3zXsD.toPosixPath;\n }\n});\nObject.defineProperty(module.exports, \"toWin32Path\", {\n enumerable: true,\n get: function() {\n return $3zXsD.toWin32Path;\n }\n});\nObject.defineProperty(module.exports, \"toPlatformPath\", {\n enumerable: true,\n get: function() {\n return $3zXsD.toPlatformPath;\n }\n});\n\n});\nparcelRequire.register(\"lxvYw\", function(module, exports) {\n\"use strict\";\nvar $fae57ba0799c491e$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $fae57ba0799c491e$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $fae57ba0799c491e$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $fae57ba0799c491e$var$__createBinding(result, mod, k);\n }\n $fae57ba0799c491e$var$__setModuleDefault(result, mod);\n return result;\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.issue = module.exports.issueCommand = void 0;\n\nconst $fae57ba0799c491e$var$os = $fae57ba0799c491e$var$__importStar($4umf8$os);\n\nvar $3GPt4 = parcelRequire(\"3GPt4\");\n/**\n * Commands\n *\n * Command Format:\n * ::name key=value,key=value::message\n *\n * Examples:\n * ::warning::This is the message\n * ::set-env name=MY_VAR::some value\n */ function $fae57ba0799c491e$var$issueCommand(command, properties, message) {\n const cmd = new $fae57ba0799c491e$var$Command(command, properties, message);\n process.stdout.write(cmd.toString() + $fae57ba0799c491e$var$os.EOL);\n}\nmodule.exports.issueCommand = $fae57ba0799c491e$var$issueCommand;\nfunction $fae57ba0799c491e$var$issue(name, message = \"\") {\n $fae57ba0799c491e$var$issueCommand(name, {}, message);\n}\nmodule.exports.issue = $fae57ba0799c491e$var$issue;\nconst $fae57ba0799c491e$var$CMD_STRING = \"::\";\nclass $fae57ba0799c491e$var$Command {\n constructor(command, properties, message){\n if (!command) command = \"missing.command\";\n this.command = command;\n this.properties = properties;\n this.message = message;\n }\n toString() {\n let cmdStr = $fae57ba0799c491e$var$CMD_STRING + this.command;\n if (this.properties && Object.keys(this.properties).length > 0) {\n cmdStr += \" \";\n let first = true;\n for(const key in this.properties)if (this.properties.hasOwnProperty(key)) {\n const val = this.properties[key];\n if (val) {\n if (first) first = false;\n else cmdStr += \",\";\n cmdStr += `${key}=${$fae57ba0799c491e$var$escapeProperty(val)}`;\n }\n }\n }\n cmdStr += `${$fae57ba0799c491e$var$CMD_STRING}${$fae57ba0799c491e$var$escapeData(this.message)}`;\n return cmdStr;\n }\n}\nfunction $fae57ba0799c491e$var$escapeData(s) {\n return $3GPt4.toCommandValue(s).replace(/%/g, \"%25\").replace(/\\r/g, \"%0D\").replace(/\\n/g, \"%0A\");\n}\nfunction $fae57ba0799c491e$var$escapeProperty(s) {\n return $3GPt4.toCommandValue(s).replace(/%/g, \"%25\").replace(/\\r/g, \"%0D\").replace(/\\n/g, \"%0A\").replace(/:/g, \"%3A\").replace(/,/g, \"%2C\");\n}\n\n});\nparcelRequire.register(\"3GPt4\", function(module, exports) {\n\"use strict\";\n// We use any as a valid input type\n/* eslint-disable @typescript-eslint/no-explicit-any */ Object.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.toCommandProperties = module.exports.toCommandValue = void 0;\n/**\n * Sanitizes an input into a string so it can be passed into issueCommand safely\n * @param input input to sanitize into a string\n */ function $2afd37c99162a120$var$toCommandValue(input) {\n if (input === null || input === undefined) return \"\";\n else if (typeof input === \"string\" || input instanceof String) return input;\n return JSON.stringify(input);\n}\nmodule.exports.toCommandValue = $2afd37c99162a120$var$toCommandValue;\n/**\n *\n * @param annotationProperties\n * @returns The command properties to send with the actual annotation command\n * See IssueCommandProperties: https://github.com/actions/runner/blob/main/src/Runner.Worker/ActionCommandManager.cs#L646\n */ function $2afd37c99162a120$var$toCommandProperties(annotationProperties) {\n if (!Object.keys(annotationProperties).length) return {};\n return {\n title: annotationProperties.title,\n file: annotationProperties.file,\n line: annotationProperties.startLine,\n endLine: annotationProperties.endLine,\n col: annotationProperties.startColumn,\n endColumn: annotationProperties.endColumn\n };\n}\nmodule.exports.toCommandProperties = $2afd37c99162a120$var$toCommandProperties;\n\n});\n\n\nparcelRequire.register(\"izMKk\", function(module, exports) {\n\"use strict\";\n// For internal use, subject to change.\nvar $d8614edd6f7e352d$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $d8614edd6f7e352d$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $d8614edd6f7e352d$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $d8614edd6f7e352d$var$__createBinding(result, mod, k);\n }\n $d8614edd6f7e352d$var$__setModuleDefault(result, mod);\n return result;\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.prepareKeyValueMessage = module.exports.issueFileCommand = void 0;\n\n// We use any as a valid input type\n/* eslint-disable @typescript-eslint/no-explicit-any */ const $d8614edd6f7e352d$var$fs = $d8614edd6f7e352d$var$__importStar($4umf8$fs);\n\nconst $d8614edd6f7e352d$var$os = $d8614edd6f7e352d$var$__importStar($4umf8$os);\n\nvar $21Qsr = parcelRequire(\"21Qsr\");\n\nvar $3GPt4 = parcelRequire(\"3GPt4\");\nfunction $d8614edd6f7e352d$var$issueFileCommand(command, message) {\n const filePath = process.env[`GITHUB_${command}`];\n if (!filePath) throw new Error(`Unable to find environment variable for file command ${command}`);\n if (!$d8614edd6f7e352d$var$fs.existsSync(filePath)) throw new Error(`Missing file at path: ${filePath}`);\n $d8614edd6f7e352d$var$fs.appendFileSync(filePath, `${$3GPt4.toCommandValue(message)}${$d8614edd6f7e352d$var$os.EOL}`, {\n encoding: \"utf8\"\n });\n}\nmodule.exports.issueFileCommand = $d8614edd6f7e352d$var$issueFileCommand;\nfunction $d8614edd6f7e352d$var$prepareKeyValueMessage(key, value) {\n const delimiter = `ghadelimiter_${$21Qsr.default()}`;\n const convertedValue = $3GPt4.toCommandValue(value);\n // These should realistically never happen, but just in case someone finds a\n // way to exploit uuid generation let's not allow keys or values that contain\n // the delimiter.\n if (key.includes(delimiter)) throw new Error(`Unexpected input: name should not contain the delimiter \"${delimiter}\"`);\n if (convertedValue.includes(delimiter)) throw new Error(`Unexpected input: value should not contain the delimiter \"${delimiter}\"`);\n return `${key}<<${delimiter}${$d8614edd6f7e352d$var$os.EOL}${convertedValue}${$d8614edd6f7e352d$var$os.EOL}${delimiter}`;\n}\nmodule.exports.prepareKeyValueMessage = $d8614edd6f7e352d$var$prepareKeyValueMessage;\n\n});\nparcelRequire.register(\"21Qsr\", function(module, exports) {\n\n$parcel$export(module.exports, \"default\", () => $17a45dc520997d14$export$2e2bcd8739ae039);\n\nvar $lr0KB = parcelRequire(\"lr0KB\");\n\nvar $671Sw = parcelRequire(\"671Sw\");\nfunction $17a45dc520997d14$var$v4(options, buf, offset) {\n options = options || {};\n const rnds = options.random || (options.rng || (0, $lr0KB.default))(); // 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; // Copy bytes to buffer, if provided\n if (buf) {\n offset = offset || 0;\n for(let i = 0; i < 16; ++i)buf[offset + i] = rnds[i];\n return buf;\n }\n return (0, $671Sw.default)(rnds);\n}\nvar $17a45dc520997d14$export$2e2bcd8739ae039 = $17a45dc520997d14$var$v4;\n\n});\nparcelRequire.register(\"lr0KB\", function(module, exports) {\n\n$parcel$export(module.exports, \"default\", () => $f9acb3adc0342565$export$2e2bcd8739ae039);\n\nconst $f9acb3adc0342565$var$rnds8Pool = new Uint8Array(256); // # of random values to pre-allocate\nlet $f9acb3adc0342565$var$poolPtr = $f9acb3adc0342565$var$rnds8Pool.length;\nfunction $f9acb3adc0342565$export$2e2bcd8739ae039() {\n if ($f9acb3adc0342565$var$poolPtr > $f9acb3adc0342565$var$rnds8Pool.length - 16) {\n (0, ($parcel$interopDefault($4umf8$crypto))).randomFillSync($f9acb3adc0342565$var$rnds8Pool);\n $f9acb3adc0342565$var$poolPtr = 0;\n }\n return $f9acb3adc0342565$var$rnds8Pool.slice($f9acb3adc0342565$var$poolPtr, $f9acb3adc0342565$var$poolPtr += 16);\n}\n\n});\n\nparcelRequire.register(\"671Sw\", function(module, exports) {\n\n$parcel$export(module.exports, \"default\", () => $4734da86536fbce8$export$2e2bcd8739ae039);\n\nvar $bfNI0 = parcelRequire(\"bfNI0\");\n/**\n * Convert array of 16 byte values to UUID string format of the form:\n * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\n */ const $4734da86536fbce8$var$byteToHex = [];\nfor(let i = 0; i < 256; ++i)$4734da86536fbce8$var$byteToHex.push((i + 0x100).toString(16).substr(1));\nfunction $4734da86536fbce8$var$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 = ($4734da86536fbce8$var$byteToHex[arr[offset + 0]] + $4734da86536fbce8$var$byteToHex[arr[offset + 1]] + $4734da86536fbce8$var$byteToHex[arr[offset + 2]] + $4734da86536fbce8$var$byteToHex[arr[offset + 3]] + \"-\" + $4734da86536fbce8$var$byteToHex[arr[offset + 4]] + $4734da86536fbce8$var$byteToHex[arr[offset + 5]] + \"-\" + $4734da86536fbce8$var$byteToHex[arr[offset + 6]] + $4734da86536fbce8$var$byteToHex[arr[offset + 7]] + \"-\" + $4734da86536fbce8$var$byteToHex[arr[offset + 8]] + $4734da86536fbce8$var$byteToHex[arr[offset + 9]] + \"-\" + $4734da86536fbce8$var$byteToHex[arr[offset + 10]] + $4734da86536fbce8$var$byteToHex[arr[offset + 11]] + $4734da86536fbce8$var$byteToHex[arr[offset + 12]] + $4734da86536fbce8$var$byteToHex[arr[offset + 13]] + $4734da86536fbce8$var$byteToHex[arr[offset + 14]] + $4734da86536fbce8$var$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 if (!(0, $bfNI0.default)(uuid)) throw TypeError(\"Stringified UUID is invalid\");\n return uuid;\n}\nvar $4734da86536fbce8$export$2e2bcd8739ae039 = $4734da86536fbce8$var$stringify;\n\n});\nparcelRequire.register(\"bfNI0\", function(module, exports) {\n\n$parcel$export(module.exports, \"default\", () => $8317a787ab7319a0$export$2e2bcd8739ae039);\n\nvar $k4edj = parcelRequire(\"k4edj\");\nfunction $8317a787ab7319a0$var$validate(uuid) {\n return typeof uuid === \"string\" && (0, $k4edj.default).test(uuid);\n}\nvar $8317a787ab7319a0$export$2e2bcd8739ae039 = $8317a787ab7319a0$var$validate;\n\n});\nparcelRequire.register(\"k4edj\", function(module, exports) {\n\n$parcel$export(module.exports, \"default\", () => $e9bf34e9fac82601$export$2e2bcd8739ae039);\nvar $e9bf34e9fac82601$export$2e2bcd8739ae039 = /^(?:[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;\n\n});\n\n\n\n\n\nparcelRequire.register(\"cxUw3\", function(module, exports) {\n\"use strict\";\nvar $025b6d0842758d2c$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.OidcClient = void 0;\n\nvar $aPbbM = parcelRequire(\"aPbbM\");\n\nvar $5UVtg = parcelRequire(\"5UVtg\");\n\nvar $2heqc = parcelRequire(\"2heqc\");\nclass $025b6d0842758d2c$var$OidcClient {\n static createHttpClient(allowRetry = true, maxRetry = 10) {\n const requestOptions = {\n allowRetries: allowRetry,\n maxRetries: maxRetry\n };\n return new $aPbbM.HttpClient(\"actions/oidc-client\", [\n new $5UVtg.BearerCredentialHandler($025b6d0842758d2c$var$OidcClient.getRequestToken())\n ], requestOptions);\n }\n static getRequestToken() {\n const token = process.env[\"ACTIONS_ID_TOKEN_REQUEST_TOKEN\"];\n if (!token) throw new Error(\"Unable to get ACTIONS_ID_TOKEN_REQUEST_TOKEN env variable\");\n return token;\n }\n static getIDTokenUrl() {\n const runtimeUrl = process.env[\"ACTIONS_ID_TOKEN_REQUEST_URL\"];\n if (!runtimeUrl) throw new Error(\"Unable to get ACTIONS_ID_TOKEN_REQUEST_URL env variable\");\n return runtimeUrl;\n }\n static getCall(id_token_url) {\n var _a;\n return $025b6d0842758d2c$var$__awaiter(this, void 0, void 0, function*() {\n const httpclient = $025b6d0842758d2c$var$OidcClient.createHttpClient();\n const res = yield httpclient.getJson(id_token_url).catch((error)=>{\n throw new Error(`Failed to get ID Token. \\n \n Error Code : ${error.statusCode}\\n \n Error Message: ${error.result.message}`);\n });\n const id_token = (_a = res.result) === null || _a === void 0 ? void 0 : _a.value;\n if (!id_token) throw new Error(\"Response json body do not have ID Token field\");\n return id_token;\n });\n }\n static getIDToken(audience) {\n return $025b6d0842758d2c$var$__awaiter(this, void 0, void 0, function*() {\n try {\n // New ID Token is requested from action service\n let id_token_url = $025b6d0842758d2c$var$OidcClient.getIDTokenUrl();\n if (audience) {\n const encodedAudience = encodeURIComponent(audience);\n id_token_url = `${id_token_url}&audience=${encodedAudience}`;\n }\n $2heqc.debug(`ID token url is ${id_token_url}`);\n const id_token = yield $025b6d0842758d2c$var$OidcClient.getCall(id_token_url);\n $2heqc.setSecret(id_token);\n return id_token;\n } catch (error) {\n throw new Error(`Error message: ${error.message}`);\n }\n });\n }\n}\nmodule.exports.OidcClient = $025b6d0842758d2c$var$OidcClient;\n\n});\nparcelRequire.register(\"aPbbM\", function(module, exports) {\n\"use strict\";\n/* eslint-disable @typescript-eslint/no-explicit-any */ var $7e1758b0cf70f655$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $7e1758b0cf70f655$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $7e1758b0cf70f655$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $7e1758b0cf70f655$var$__createBinding(result, mod, k);\n }\n $7e1758b0cf70f655$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $7e1758b0cf70f655$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.HttpClient = module.exports.isHttps = module.exports.HttpClientResponse = module.exports.HttpClientError = module.exports.getProxyUrl = module.exports.MediaTypes = module.exports.Headers = module.exports.HttpCodes = void 0;\n\nconst $7e1758b0cf70f655$var$http = $7e1758b0cf70f655$var$__importStar($4umf8$http);\n\nconst $7e1758b0cf70f655$var$https = $7e1758b0cf70f655$var$__importStar($4umf8$https);\n\nconst $7e1758b0cf70f655$var$pm = $7e1758b0cf70f655$var$__importStar((parcelRequire(\"dG8Uc\")));\n\nconst $7e1758b0cf70f655$var$tunnel = $7e1758b0cf70f655$var$__importStar((parcelRequire(\"j6C2A\")));\nvar $7e1758b0cf70f655$var$HttpCodes;\n(function(HttpCodes) {\n HttpCodes[HttpCodes[\"OK\"] = 200] = \"OK\";\n HttpCodes[HttpCodes[\"MultipleChoices\"] = 300] = \"MultipleChoices\";\n HttpCodes[HttpCodes[\"MovedPermanently\"] = 301] = \"MovedPermanently\";\n HttpCodes[HttpCodes[\"ResourceMoved\"] = 302] = \"ResourceMoved\";\n HttpCodes[HttpCodes[\"SeeOther\"] = 303] = \"SeeOther\";\n HttpCodes[HttpCodes[\"NotModified\"] = 304] = \"NotModified\";\n HttpCodes[HttpCodes[\"UseProxy\"] = 305] = \"UseProxy\";\n HttpCodes[HttpCodes[\"SwitchProxy\"] = 306] = \"SwitchProxy\";\n HttpCodes[HttpCodes[\"TemporaryRedirect\"] = 307] = \"TemporaryRedirect\";\n HttpCodes[HttpCodes[\"PermanentRedirect\"] = 308] = \"PermanentRedirect\";\n HttpCodes[HttpCodes[\"BadRequest\"] = 400] = \"BadRequest\";\n HttpCodes[HttpCodes[\"Unauthorized\"] = 401] = \"Unauthorized\";\n HttpCodes[HttpCodes[\"PaymentRequired\"] = 402] = \"PaymentRequired\";\n HttpCodes[HttpCodes[\"Forbidden\"] = 403] = \"Forbidden\";\n HttpCodes[HttpCodes[\"NotFound\"] = 404] = \"NotFound\";\n HttpCodes[HttpCodes[\"MethodNotAllowed\"] = 405] = \"MethodNotAllowed\";\n HttpCodes[HttpCodes[\"NotAcceptable\"] = 406] = \"NotAcceptable\";\n HttpCodes[HttpCodes[\"ProxyAuthenticationRequired\"] = 407] = \"ProxyAuthenticationRequired\";\n HttpCodes[HttpCodes[\"RequestTimeout\"] = 408] = \"RequestTimeout\";\n HttpCodes[HttpCodes[\"Conflict\"] = 409] = \"Conflict\";\n HttpCodes[HttpCodes[\"Gone\"] = 410] = \"Gone\";\n HttpCodes[HttpCodes[\"TooManyRequests\"] = 429] = \"TooManyRequests\";\n HttpCodes[HttpCodes[\"InternalServerError\"] = 500] = \"InternalServerError\";\n HttpCodes[HttpCodes[\"NotImplemented\"] = 501] = \"NotImplemented\";\n HttpCodes[HttpCodes[\"BadGateway\"] = 502] = \"BadGateway\";\n HttpCodes[HttpCodes[\"ServiceUnavailable\"] = 503] = \"ServiceUnavailable\";\n HttpCodes[HttpCodes[\"GatewayTimeout\"] = 504] = \"GatewayTimeout\";\n})($7e1758b0cf70f655$var$HttpCodes = module.exports.HttpCodes || (module.exports.HttpCodes = {}));\nvar $7e1758b0cf70f655$var$Headers;\n(function(Headers) {\n Headers[\"Accept\"] = \"accept\";\n Headers[\"ContentType\"] = \"content-type\";\n})($7e1758b0cf70f655$var$Headers = module.exports.Headers || (module.exports.Headers = {}));\nvar $7e1758b0cf70f655$var$MediaTypes;\n(function(MediaTypes) {\n MediaTypes[\"ApplicationJson\"] = \"application/json\";\n})($7e1758b0cf70f655$var$MediaTypes = module.exports.MediaTypes || (module.exports.MediaTypes = {}));\n/**\n * Returns the proxy URL, depending upon the supplied url and proxy environment variables.\n * @param serverUrl The server URL where the request will be sent. For example, https://api.github.com\n */ function $7e1758b0cf70f655$var$getProxyUrl(serverUrl) {\n const proxyUrl = $7e1758b0cf70f655$var$pm.getProxyUrl(new URL(serverUrl));\n return proxyUrl ? proxyUrl.href : \"\";\n}\nmodule.exports.getProxyUrl = $7e1758b0cf70f655$var$getProxyUrl;\nconst $7e1758b0cf70f655$var$HttpRedirectCodes = [\n $7e1758b0cf70f655$var$HttpCodes.MovedPermanently,\n $7e1758b0cf70f655$var$HttpCodes.ResourceMoved,\n $7e1758b0cf70f655$var$HttpCodes.SeeOther,\n $7e1758b0cf70f655$var$HttpCodes.TemporaryRedirect,\n $7e1758b0cf70f655$var$HttpCodes.PermanentRedirect\n];\nconst $7e1758b0cf70f655$var$HttpResponseRetryCodes = [\n $7e1758b0cf70f655$var$HttpCodes.BadGateway,\n $7e1758b0cf70f655$var$HttpCodes.ServiceUnavailable,\n $7e1758b0cf70f655$var$HttpCodes.GatewayTimeout\n];\nconst $7e1758b0cf70f655$var$RetryableHttpVerbs = [\n \"OPTIONS\",\n \"GET\",\n \"DELETE\",\n \"HEAD\"\n];\nconst $7e1758b0cf70f655$var$ExponentialBackoffCeiling = 10;\nconst $7e1758b0cf70f655$var$ExponentialBackoffTimeSlice = 5;\nclass $7e1758b0cf70f655$var$HttpClientError extends Error {\n constructor(message, statusCode){\n super(message);\n this.name = \"HttpClientError\";\n this.statusCode = statusCode;\n Object.setPrototypeOf(this, $7e1758b0cf70f655$var$HttpClientError.prototype);\n }\n}\nmodule.exports.HttpClientError = $7e1758b0cf70f655$var$HttpClientError;\nclass $7e1758b0cf70f655$var$HttpClientResponse {\n constructor(message){\n this.message = message;\n }\n readBody() {\n return $7e1758b0cf70f655$var$__awaiter(this, void 0, void 0, function*() {\n return new Promise((resolve)=>$7e1758b0cf70f655$var$__awaiter(this, void 0, void 0, function*() {\n let output = Buffer.alloc(0);\n this.message.on(\"data\", (chunk)=>{\n output = Buffer.concat([\n output,\n chunk\n ]);\n });\n this.message.on(\"end\", ()=>{\n resolve(output.toString());\n });\n }));\n });\n }\n}\nmodule.exports.HttpClientResponse = $7e1758b0cf70f655$var$HttpClientResponse;\nfunction $7e1758b0cf70f655$var$isHttps(requestUrl) {\n const parsedUrl = new URL(requestUrl);\n return parsedUrl.protocol === \"https:\";\n}\nmodule.exports.isHttps = $7e1758b0cf70f655$var$isHttps;\nclass $7e1758b0cf70f655$var$HttpClient {\n constructor(userAgent, handlers, requestOptions){\n this._ignoreSslError = false;\n this._allowRedirects = true;\n this._allowRedirectDowngrade = false;\n this._maxRedirects = 50;\n this._allowRetries = false;\n this._maxRetries = 1;\n this._keepAlive = false;\n this._disposed = false;\n this.userAgent = userAgent;\n this.handlers = handlers || [];\n this.requestOptions = requestOptions;\n if (requestOptions) {\n if (requestOptions.ignoreSslError != null) this._ignoreSslError = requestOptions.ignoreSslError;\n this._socketTimeout = requestOptions.socketTimeout;\n if (requestOptions.allowRedirects != null) this._allowRedirects = requestOptions.allowRedirects;\n if (requestOptions.allowRedirectDowngrade != null) this._allowRedirectDowngrade = requestOptions.allowRedirectDowngrade;\n if (requestOptions.maxRedirects != null) this._maxRedirects = Math.max(requestOptions.maxRedirects, 0);\n if (requestOptions.keepAlive != null) this._keepAlive = requestOptions.keepAlive;\n if (requestOptions.allowRetries != null) this._allowRetries = requestOptions.allowRetries;\n if (requestOptions.maxRetries != null) this._maxRetries = requestOptions.maxRetries;\n }\n }\n options(requestUrl, additionalHeaders) {\n return $7e1758b0cf70f655$var$__awaiter(this, void 0, void 0, function*() {\n return this.request(\"OPTIONS\", requestUrl, null, additionalHeaders || {});\n });\n }\n get(requestUrl, additionalHeaders) {\n return $7e1758b0cf70f655$var$__awaiter(this, void 0, void 0, function*() {\n return this.request(\"GET\", requestUrl, null, additionalHeaders || {});\n });\n }\n del(requestUrl, additionalHeaders) {\n return $7e1758b0cf70f655$var$__awaiter(this, void 0, void 0, function*() {\n return this.request(\"DELETE\", requestUrl, null, additionalHeaders || {});\n });\n }\n post(requestUrl, data, additionalHeaders) {\n return $7e1758b0cf70f655$var$__awaiter(this, void 0, void 0, function*() {\n return this.request(\"POST\", requestUrl, data, additionalHeaders || {});\n });\n }\n patch(requestUrl, data, additionalHeaders) {\n return $7e1758b0cf70f655$var$__awaiter(this, void 0, void 0, function*() {\n return this.request(\"PATCH\", requestUrl, data, additionalHeaders || {});\n });\n }\n put(requestUrl, data, additionalHeaders) {\n return $7e1758b0cf70f655$var$__awaiter(this, void 0, void 0, function*() {\n return this.request(\"PUT\", requestUrl, data, additionalHeaders || {});\n });\n }\n head(requestUrl, additionalHeaders) {\n return $7e1758b0cf70f655$var$__awaiter(this, void 0, void 0, function*() {\n return this.request(\"HEAD\", requestUrl, null, additionalHeaders || {});\n });\n }\n sendStream(verb, requestUrl, stream, additionalHeaders) {\n return $7e1758b0cf70f655$var$__awaiter(this, void 0, void 0, function*() {\n return this.request(verb, requestUrl, stream, additionalHeaders);\n });\n }\n /**\n * Gets a typed object from an endpoint\n * Be aware that not found returns a null. Other errors (4xx, 5xx) reject the promise\n */ getJson(requestUrl, additionalHeaders = {}) {\n return $7e1758b0cf70f655$var$__awaiter(this, void 0, void 0, function*() {\n additionalHeaders[$7e1758b0cf70f655$var$Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, $7e1758b0cf70f655$var$Headers.Accept, $7e1758b0cf70f655$var$MediaTypes.ApplicationJson);\n const res = yield this.get(requestUrl, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n });\n }\n postJson(requestUrl, obj, additionalHeaders = {}) {\n return $7e1758b0cf70f655$var$__awaiter(this, void 0, void 0, function*() {\n const data = JSON.stringify(obj, null, 2);\n additionalHeaders[$7e1758b0cf70f655$var$Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, $7e1758b0cf70f655$var$Headers.Accept, $7e1758b0cf70f655$var$MediaTypes.ApplicationJson);\n additionalHeaders[$7e1758b0cf70f655$var$Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, $7e1758b0cf70f655$var$Headers.ContentType, $7e1758b0cf70f655$var$MediaTypes.ApplicationJson);\n const res = yield this.post(requestUrl, data, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n });\n }\n putJson(requestUrl, obj, additionalHeaders = {}) {\n return $7e1758b0cf70f655$var$__awaiter(this, void 0, void 0, function*() {\n const data = JSON.stringify(obj, null, 2);\n additionalHeaders[$7e1758b0cf70f655$var$Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, $7e1758b0cf70f655$var$Headers.Accept, $7e1758b0cf70f655$var$MediaTypes.ApplicationJson);\n additionalHeaders[$7e1758b0cf70f655$var$Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, $7e1758b0cf70f655$var$Headers.ContentType, $7e1758b0cf70f655$var$MediaTypes.ApplicationJson);\n const res = yield this.put(requestUrl, data, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n });\n }\n patchJson(requestUrl, obj, additionalHeaders = {}) {\n return $7e1758b0cf70f655$var$__awaiter(this, void 0, void 0, function*() {\n const data = JSON.stringify(obj, null, 2);\n additionalHeaders[$7e1758b0cf70f655$var$Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, $7e1758b0cf70f655$var$Headers.Accept, $7e1758b0cf70f655$var$MediaTypes.ApplicationJson);\n additionalHeaders[$7e1758b0cf70f655$var$Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, $7e1758b0cf70f655$var$Headers.ContentType, $7e1758b0cf70f655$var$MediaTypes.ApplicationJson);\n const res = yield this.patch(requestUrl, data, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n });\n }\n /**\n * Makes a raw http request.\n * All other methods such as get, post, patch, and request ultimately call this.\n * Prefer get, del, post and patch\n */ request(verb, requestUrl, data, headers) {\n return $7e1758b0cf70f655$var$__awaiter(this, void 0, void 0, function*() {\n if (this._disposed) throw new Error(\"Client has already been disposed.\");\n const parsedUrl = new URL(requestUrl);\n let info = this._prepareRequest(verb, parsedUrl, headers);\n // Only perform retries on reads since writes may not be idempotent.\n const maxTries = this._allowRetries && $7e1758b0cf70f655$var$RetryableHttpVerbs.includes(verb) ? this._maxRetries + 1 : 1;\n let numTries = 0;\n let response;\n do {\n response = yield this.requestRaw(info, data);\n // Check if it's an authentication challenge\n if (response && response.message && response.message.statusCode === $7e1758b0cf70f655$var$HttpCodes.Unauthorized) {\n let authenticationHandler;\n for (const handler of this.handlers)if (handler.canHandleAuthentication(response)) {\n authenticationHandler = handler;\n break;\n }\n if (authenticationHandler) return authenticationHandler.handleAuthentication(this, info, data);\n else // We have received an unauthorized response but have no handlers to handle it.\n // Let the response return to the caller.\n return response;\n }\n let redirectsRemaining = this._maxRedirects;\n while(response.message.statusCode && $7e1758b0cf70f655$var$HttpRedirectCodes.includes(response.message.statusCode) && this._allowRedirects && redirectsRemaining > 0){\n const redirectUrl = response.message.headers[\"location\"];\n if (!redirectUrl) break;\n const parsedRedirectUrl = new URL(redirectUrl);\n if (parsedUrl.protocol === \"https:\" && parsedUrl.protocol !== parsedRedirectUrl.protocol && !this._allowRedirectDowngrade) throw new 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.\");\n // we need to finish reading the response before reassigning response\n // which will leak the open socket.\n yield response.readBody();\n // strip authorization header if redirected to a different hostname\n if (parsedRedirectUrl.hostname !== parsedUrl.hostname) {\n for(const header in headers)// header names are case insensitive\n if (header.toLowerCase() === \"authorization\") delete headers[header];\n }\n // let's make the request with the new redirectUrl\n info = this._prepareRequest(verb, parsedRedirectUrl, headers);\n response = yield this.requestRaw(info, data);\n redirectsRemaining--;\n }\n if (!response.message.statusCode || !$7e1758b0cf70f655$var$HttpResponseRetryCodes.includes(response.message.statusCode)) // If not a retry code, return immediately instead of retrying\n return response;\n numTries += 1;\n if (numTries < maxTries) {\n yield response.readBody();\n yield this._performExponentialBackoff(numTries);\n }\n }while (numTries < maxTries);\n return response;\n });\n }\n /**\n * Needs to be called if keepAlive is set to true in request options.\n */ dispose() {\n if (this._agent) this._agent.destroy();\n this._disposed = true;\n }\n /**\n * Raw request.\n * @param info\n * @param data\n */ requestRaw(info, data) {\n return $7e1758b0cf70f655$var$__awaiter(this, void 0, void 0, function*() {\n return new Promise((resolve, reject)=>{\n function callbackForResult(err, res) {\n if (err) reject(err);\n else if (!res) // If `err` is not passed, then `res` must be passed.\n reject(new Error(\"Unknown error\"));\n else resolve(res);\n }\n this.requestRawWithCallback(info, data, callbackForResult);\n });\n });\n }\n /**\n * Raw request with callback.\n * @param info\n * @param data\n * @param onResult\n */ requestRawWithCallback(info, data, onResult) {\n if (typeof data === \"string\") {\n if (!info.options.headers) info.options.headers = {};\n info.options.headers[\"Content-Length\"] = Buffer.byteLength(data, \"utf8\");\n }\n let callbackCalled = false;\n function handleResult(err, res) {\n if (!callbackCalled) {\n callbackCalled = true;\n onResult(err, res);\n }\n }\n const req = info.httpModule.request(info.options, (msg)=>{\n const res = new $7e1758b0cf70f655$var$HttpClientResponse(msg);\n handleResult(undefined, res);\n });\n let socket;\n req.on(\"socket\", (sock)=>{\n socket = sock;\n });\n // If we ever get disconnected, we want the socket to timeout eventually\n req.setTimeout(this._socketTimeout || 180000, ()=>{\n if (socket) socket.end();\n handleResult(new Error(`Request timeout: ${info.options.path}`));\n });\n req.on(\"error\", function(err) {\n // err has statusCode property\n // res should have headers\n handleResult(err);\n });\n if (data && typeof data === \"string\") req.write(data, \"utf8\");\n if (data && typeof data !== \"string\") {\n data.on(\"close\", function() {\n req.end();\n });\n data.pipe(req);\n } else req.end();\n }\n /**\n * Gets an http agent. This function is useful when you need an http agent that handles\n * routing through a proxy server - depending upon the url and proxy environment variables.\n * @param serverUrl The server URL where the request will be sent. For example, https://api.github.com\n */ getAgent(serverUrl) {\n const parsedUrl = new URL(serverUrl);\n return this._getAgent(parsedUrl);\n }\n _prepareRequest(method, requestUrl, headers) {\n const info = {};\n info.parsedUrl = requestUrl;\n const usingSsl = info.parsedUrl.protocol === \"https:\";\n info.httpModule = usingSsl ? $7e1758b0cf70f655$var$https : $7e1758b0cf70f655$var$http;\n const defaultPort = usingSsl ? 443 : 80;\n info.options = {};\n info.options.host = info.parsedUrl.hostname;\n info.options.port = info.parsedUrl.port ? parseInt(info.parsedUrl.port) : defaultPort;\n info.options.path = (info.parsedUrl.pathname || \"\") + (info.parsedUrl.search || \"\");\n info.options.method = method;\n info.options.headers = this._mergeHeaders(headers);\n if (this.userAgent != null) info.options.headers[\"user-agent\"] = this.userAgent;\n info.options.agent = this._getAgent(info.parsedUrl);\n // gives handlers an opportunity to participate\n if (this.handlers) for (const handler of this.handlers)handler.prepareRequest(info.options);\n return info;\n }\n _mergeHeaders(headers) {\n if (this.requestOptions && this.requestOptions.headers) return Object.assign({}, $7e1758b0cf70f655$var$lowercaseKeys(this.requestOptions.headers), $7e1758b0cf70f655$var$lowercaseKeys(headers || {}));\n return $7e1758b0cf70f655$var$lowercaseKeys(headers || {});\n }\n _getExistingOrDefaultHeader(additionalHeaders, header, _default) {\n let clientHeader;\n if (this.requestOptions && this.requestOptions.headers) clientHeader = $7e1758b0cf70f655$var$lowercaseKeys(this.requestOptions.headers)[header];\n return additionalHeaders[header] || clientHeader || _default;\n }\n _getAgent(parsedUrl) {\n let agent;\n const proxyUrl = $7e1758b0cf70f655$var$pm.getProxyUrl(parsedUrl);\n const useProxy = proxyUrl && proxyUrl.hostname;\n if (this._keepAlive && useProxy) agent = this._proxyAgent;\n if (this._keepAlive && !useProxy) agent = this._agent;\n // if agent is already assigned use that agent.\n if (agent) return agent;\n const usingSsl = parsedUrl.protocol === \"https:\";\n let maxSockets = 100;\n if (this.requestOptions) maxSockets = this.requestOptions.maxSockets || $7e1758b0cf70f655$var$http.globalAgent.maxSockets;\n // This is `useProxy` again, but we need to check `proxyURl` directly for TypeScripts's flow analysis.\n if (proxyUrl && proxyUrl.hostname) {\n const agentOptions = {\n maxSockets: maxSockets,\n keepAlive: this._keepAlive,\n proxy: Object.assign(Object.assign({}, (proxyUrl.username || proxyUrl.password) && {\n proxyAuth: `${proxyUrl.username}:${proxyUrl.password}`\n }), {\n host: proxyUrl.hostname,\n port: proxyUrl.port\n })\n };\n let tunnelAgent;\n const overHttps = proxyUrl.protocol === \"https:\";\n if (usingSsl) tunnelAgent = overHttps ? $7e1758b0cf70f655$var$tunnel.httpsOverHttps : $7e1758b0cf70f655$var$tunnel.httpsOverHttp;\n else tunnelAgent = overHttps ? $7e1758b0cf70f655$var$tunnel.httpOverHttps : $7e1758b0cf70f655$var$tunnel.httpOverHttp;\n agent = tunnelAgent(agentOptions);\n this._proxyAgent = agent;\n }\n // if reusing agent across request and tunneling agent isn't assigned create a new agent\n if (this._keepAlive && !agent) {\n const options = {\n keepAlive: this._keepAlive,\n maxSockets: maxSockets\n };\n agent = usingSsl ? new $7e1758b0cf70f655$var$https.Agent(options) : new $7e1758b0cf70f655$var$http.Agent(options);\n this._agent = agent;\n }\n // if not using private agent and tunnel agent isn't setup then use global agent\n if (!agent) agent = usingSsl ? $7e1758b0cf70f655$var$https.globalAgent : $7e1758b0cf70f655$var$http.globalAgent;\n if (usingSsl && this._ignoreSslError) // we don't want to set NODE_TLS_REJECT_UNAUTHORIZED=0 since that will affect request for entire process\n // http.RequestOptions doesn't expose a way to modify RequestOptions.agent.options\n // we have to cast it to any and change it directly\n agent.options = Object.assign(agent.options || {}, {\n rejectUnauthorized: false\n });\n return agent;\n }\n _performExponentialBackoff(retryNumber) {\n return $7e1758b0cf70f655$var$__awaiter(this, void 0, void 0, function*() {\n retryNumber = Math.min($7e1758b0cf70f655$var$ExponentialBackoffCeiling, retryNumber);\n const ms = $7e1758b0cf70f655$var$ExponentialBackoffTimeSlice * Math.pow(2, retryNumber);\n return new Promise((resolve)=>setTimeout(()=>resolve(), ms));\n });\n }\n _processResponse(res, options) {\n return $7e1758b0cf70f655$var$__awaiter(this, void 0, void 0, function*() {\n return new Promise((resolve, reject)=>$7e1758b0cf70f655$var$__awaiter(this, void 0, void 0, function*() {\n const statusCode = res.message.statusCode || 0;\n const response = {\n statusCode: statusCode,\n result: null,\n headers: {}\n };\n // not found leads to null obj returned\n if (statusCode === $7e1758b0cf70f655$var$HttpCodes.NotFound) resolve(response);\n // get the result from the body\n function dateTimeDeserializer(key, value) {\n if (typeof value === \"string\") {\n const a = new Date(value);\n if (!isNaN(a.valueOf())) return a;\n }\n return value;\n }\n let obj;\n let contents;\n try {\n contents = yield res.readBody();\n if (contents && contents.length > 0) {\n if (options && options.deserializeDates) obj = JSON.parse(contents, dateTimeDeserializer);\n else obj = JSON.parse(contents);\n response.result = obj;\n }\n response.headers = res.message.headers;\n } catch (err) {\n // Invalid resource (contents not json); leaving result obj null\n }\n // note that 3xx redirects are handled by the http layer.\n if (statusCode > 299) {\n let msg;\n // if exception/error in body, attempt to get better error\n if (obj && obj.message) msg = obj.message;\n else if (contents && contents.length > 0) // it may be the case that the exception is in the body message as string\n msg = contents;\n else msg = `Failed request: (${statusCode})`;\n const err = new $7e1758b0cf70f655$var$HttpClientError(msg, statusCode);\n err.result = response.result;\n reject(err);\n } else resolve(response);\n }));\n });\n }\n}\nmodule.exports.HttpClient = $7e1758b0cf70f655$var$HttpClient;\nconst $7e1758b0cf70f655$var$lowercaseKeys = (obj)=>Object.keys(obj).reduce((c, k)=>(c[k.toLowerCase()] = obj[k], c), {});\n\n});\nparcelRequire.register(\"dG8Uc\", function(module, exports) {\n\"use strict\";\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.checkBypass = module.exports.getProxyUrl = void 0;\nfunction $9f561b0f70c4f24b$var$getProxyUrl(reqUrl) {\n const usingSsl = reqUrl.protocol === \"https:\";\n if ($9f561b0f70c4f24b$var$checkBypass(reqUrl)) return undefined;\n const proxyVar = (()=>{\n if (usingSsl) return process.env[\"https_proxy\"] || process.env[\"HTTPS_PROXY\"];\n else return process.env[\"http_proxy\"] || process.env[\"HTTP_PROXY\"];\n })();\n if (proxyVar) return new URL(proxyVar);\n else return undefined;\n}\nmodule.exports.getProxyUrl = $9f561b0f70c4f24b$var$getProxyUrl;\nfunction $9f561b0f70c4f24b$var$checkBypass(reqUrl) {\n if (!reqUrl.hostname) return false;\n const reqHost = reqUrl.hostname;\n if ($9f561b0f70c4f24b$var$isLoopbackAddress(reqHost)) return true;\n const noProxy = process.env[\"no_proxy\"] || process.env[\"NO_PROXY\"] || \"\";\n if (!noProxy) return false;\n // Determine the request port\n let reqPort;\n if (reqUrl.port) reqPort = Number(reqUrl.port);\n else if (reqUrl.protocol === \"http:\") reqPort = 80;\n else if (reqUrl.protocol === \"https:\") reqPort = 443;\n // Format the request hostname and hostname with port\n const upperReqHosts = [\n reqUrl.hostname.toUpperCase()\n ];\n if (typeof reqPort === \"number\") upperReqHosts.push(`${upperReqHosts[0]}:${reqPort}`);\n // Compare request host against noproxy\n for (const upperNoProxyItem of noProxy.split(\",\").map((x)=>x.trim().toUpperCase()).filter((x)=>x)){\n if (upperNoProxyItem === \"*\" || upperReqHosts.some((x)=>x === upperNoProxyItem || x.endsWith(`.${upperNoProxyItem}`) || upperNoProxyItem.startsWith(\".\") && x.endsWith(`${upperNoProxyItem}`))) return true;\n }\n return false;\n}\nmodule.exports.checkBypass = $9f561b0f70c4f24b$var$checkBypass;\nfunction $9f561b0f70c4f24b$var$isLoopbackAddress(host) {\n const hostLower = host.toLowerCase();\n return hostLower === \"localhost\" || hostLower.startsWith(\"127.\") || hostLower.startsWith(\"[::1]\") || hostLower.startsWith(\"[0:0:0:0:0:0:0:1]\");\n}\n\n});\n\nparcelRequire.register(\"j6C2A\", function(module, exports) {\n\nmodule.exports = (parcelRequire(\"3axfE\"));\n\n});\nparcelRequire.register(\"3axfE\", function(module, exports) {\n\n$parcel$export(module.exports, \"httpOverHttp\", () => $24ec1951737587d6$export$25cbd437c61a3835, (v) => $24ec1951737587d6$export$25cbd437c61a3835 = v);\n$parcel$export(module.exports, \"httpsOverHttp\", () => $24ec1951737587d6$export$c06e3df7111bae43, (v) => $24ec1951737587d6$export$c06e3df7111bae43 = v);\n$parcel$export(module.exports, \"httpOverHttps\", () => $24ec1951737587d6$export$5d50e36ef656139f, (v) => $24ec1951737587d6$export$5d50e36ef656139f = v);\n$parcel$export(module.exports, \"httpsOverHttps\", () => $24ec1951737587d6$export$212d6605025321cc, (v) => $24ec1951737587d6$export$212d6605025321cc = v);\n$parcel$export(module.exports, \"debug\", () => $24ec1951737587d6$export$1c9f709888824e05, (v) => $24ec1951737587d6$export$1c9f709888824e05 = v);\nvar $24ec1951737587d6$export$25cbd437c61a3835;\nvar $24ec1951737587d6$export$c06e3df7111bae43;\nvar $24ec1951737587d6$export$5d50e36ef656139f;\nvar $24ec1951737587d6$export$212d6605025321cc;\nvar $24ec1951737587d6$export$1c9f709888824e05;\n\"use strict\";\n\n\n\n\n\n\n\n$24ec1951737587d6$export$25cbd437c61a3835 = $24ec1951737587d6$var$httpOverHttp;\n$24ec1951737587d6$export$c06e3df7111bae43 = $24ec1951737587d6$var$httpsOverHttp;\n$24ec1951737587d6$export$5d50e36ef656139f = $24ec1951737587d6$var$httpOverHttps;\n$24ec1951737587d6$export$212d6605025321cc = $24ec1951737587d6$var$httpsOverHttps;\nfunction $24ec1951737587d6$var$httpOverHttp(options) {\n var agent = new $24ec1951737587d6$var$TunnelingAgent(options);\n agent.request = $4umf8$http.request;\n return agent;\n}\nfunction $24ec1951737587d6$var$httpsOverHttp(options) {\n var agent = new $24ec1951737587d6$var$TunnelingAgent(options);\n agent.request = $4umf8$http.request;\n agent.createSocket = $24ec1951737587d6$var$createSecureSocket;\n agent.defaultPort = 443;\n return agent;\n}\nfunction $24ec1951737587d6$var$httpOverHttps(options) {\n var agent = new $24ec1951737587d6$var$TunnelingAgent(options);\n agent.request = $4umf8$https.request;\n return agent;\n}\nfunction $24ec1951737587d6$var$httpsOverHttps(options) {\n var agent = new $24ec1951737587d6$var$TunnelingAgent(options);\n agent.request = $4umf8$https.request;\n agent.createSocket = $24ec1951737587d6$var$createSecureSocket;\n agent.defaultPort = 443;\n return agent;\n}\nfunction $24ec1951737587d6$var$TunnelingAgent(options) {\n var self = this;\n self.options = options || {};\n self.proxyOptions = self.options.proxy || {};\n self.maxSockets = self.options.maxSockets || $4umf8$http.Agent.defaultMaxSockets;\n self.requests = [];\n self.sockets = [];\n self.on(\"free\", function onFree(socket, host, port, localAddress) {\n var options = $24ec1951737587d6$var$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}\n$4umf8$util.inherits($24ec1951737587d6$var$TunnelingAgent, $4umf8$events.EventEmitter);\n$24ec1951737587d6$var$TunnelingAgent.prototype.addRequest = function addRequest(req, host, port, localAddress) {\n var self = this;\n var options = $24ec1951737587d6$var$mergeOptions({\n request: req\n }, self.options, $24ec1951737587d6$var$toOptions(host, port, localAddress));\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 // 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 function onFree() {\n self.emit(\"free\", socket, options);\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$24ec1951737587d6$var$TunnelingAgent.prototype.createSocket = function createSocket(options, cb) {\n var self = this;\n var placeholder = {};\n self.sockets.push(placeholder);\n var connectOptions = $24ec1951737587d6$var$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) connectOptions.localAddress = options.localAddress;\n if (connectOptions.proxyAuth) {\n connectOptions.headers = connectOptions.headers || {};\n connectOptions.headers[\"Proxy-Authorization\"] = \"Basic \" + new Buffer(connectOptions.proxyAuth).toString(\"base64\");\n }\n $24ec1951737587d6$var$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 function onResponse(res) {\n // Very hacky. This is necessary to avoid http-parser leaks.\n res.upgrade = true;\n }\n function onUpgrade(res, socket, head) {\n // Hacky.\n process.nextTick(function() {\n onConnect(res, socket, head);\n });\n }\n function onConnect(res, socket, head) {\n connectReq.removeAllListeners();\n socket.removeAllListeners();\n if (res.statusCode !== 200) {\n $24ec1951737587d6$var$debug(\"tunneling socket could not be established, statusCode=%d\", res.statusCode);\n socket.destroy();\n var error = new Error(\"tunneling socket could not be established, 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 $24ec1951737587d6$var$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 $24ec1951737587d6$var$debug(\"tunneling connection has established\");\n self.sockets[self.sockets.indexOf(placeholder)] = socket;\n return cb(socket);\n }\n function onError(cause) {\n connectReq.removeAllListeners();\n $24ec1951737587d6$var$debug(\"tunneling socket could not be established, cause=%s\\n\", cause.message, cause.stack);\n var error = new Error(\"tunneling socket could not be established, cause=\" + cause.message);\n error.code = \"ECONNRESET\";\n options.request.emit(\"error\", error);\n self.removeSocket(placeholder);\n }\n};\n$24ec1951737587d6$var$TunnelingAgent.prototype.removeSocket = function removeSocket(socket) {\n var pos = this.sockets.indexOf(socket);\n if (pos === -1) return;\n this.sockets.splice(pos, 1);\n var pending = this.requests.shift();\n if (pending) // 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};\nfunction $24ec1951737587d6$var$createSecureSocket(options, cb) {\n var self = this;\n $24ec1951737587d6$var$TunnelingAgent.prototype.createSocket.call(self, options, function(socket) {\n var hostHeader = options.request.getHeader(\"host\");\n var tlsOptions = $24ec1951737587d6$var$mergeOptions({}, self.options, {\n socket: socket,\n servername: hostHeader ? hostHeader.replace(/:.*$/, \"\") : options.host\n });\n // 0 is dummy port for v0.6\n var secureSocket = $4umf8$tls.connect(0, tlsOptions);\n self.sockets[self.sockets.indexOf(socket)] = secureSocket;\n cb(secureSocket);\n });\n}\nfunction $24ec1951737587d6$var$toOptions(host, port, localAddress) {\n if (typeof host === \"string\") return {\n host: host,\n port: port,\n localAddress: localAddress\n };\n return host; // for v0.11 or later\n}\nfunction $24ec1951737587d6$var$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) target[k] = overrides[k];\n }\n }\n }\n return target;\n}\nvar $24ec1951737587d6$var$debug;\nif (process.env.NODE_DEBUG && /\\btunnel\\b/.test(process.env.NODE_DEBUG)) $24ec1951737587d6$var$debug = function() {\n var args = Array.prototype.slice.call(arguments);\n if (typeof args[0] === \"string\") args[0] = \"TUNNEL: \" + args[0];\n else args.unshift(\"TUNNEL:\");\n console.error.apply(console, args);\n};\nelse $24ec1951737587d6$var$debug = function() {};\n$24ec1951737587d6$export$1c9f709888824e05 = $24ec1951737587d6$var$debug; // for test\n\n});\n\n\n\nparcelRequire.register(\"5UVtg\", function(module, exports) {\n\"use strict\";\nvar $44eec33bbd885b2d$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.PersonalAccessTokenCredentialHandler = module.exports.BearerCredentialHandler = module.exports.BasicCredentialHandler = void 0;\nclass $44eec33bbd885b2d$var$BasicCredentialHandler {\n constructor(username, password){\n this.username = username;\n this.password = password;\n }\n prepareRequest(options) {\n if (!options.headers) throw Error(\"The request has no headers\");\n options.headers[\"Authorization\"] = `Basic ${Buffer.from(`${this.username}:${this.password}`).toString(\"base64\")}`;\n }\n // This handler cannot handle 401\n canHandleAuthentication() {\n return false;\n }\n handleAuthentication() {\n return $44eec33bbd885b2d$var$__awaiter(this, void 0, void 0, function*() {\n throw new Error(\"not implemented\");\n });\n }\n}\nmodule.exports.BasicCredentialHandler = $44eec33bbd885b2d$var$BasicCredentialHandler;\nclass $44eec33bbd885b2d$var$BearerCredentialHandler {\n constructor(token){\n this.token = token;\n }\n // currently implements pre-authorization\n // TODO: support preAuth = false where it hooks on 401\n prepareRequest(options) {\n if (!options.headers) throw Error(\"The request has no headers\");\n options.headers[\"Authorization\"] = `Bearer ${this.token}`;\n }\n // This handler cannot handle 401\n canHandleAuthentication() {\n return false;\n }\n handleAuthentication() {\n return $44eec33bbd885b2d$var$__awaiter(this, void 0, void 0, function*() {\n throw new Error(\"not implemented\");\n });\n }\n}\nmodule.exports.BearerCredentialHandler = $44eec33bbd885b2d$var$BearerCredentialHandler;\nclass $44eec33bbd885b2d$var$PersonalAccessTokenCredentialHandler {\n constructor(token){\n this.token = token;\n }\n // currently implements pre-authorization\n // TODO: support preAuth = false where it hooks on 401\n prepareRequest(options) {\n if (!options.headers) throw Error(\"The request has no headers\");\n options.headers[\"Authorization\"] = `Basic ${Buffer.from(`PAT:${this.token}`).toString(\"base64\")}`;\n }\n // This handler cannot handle 401\n canHandleAuthentication() {\n return false;\n }\n handleAuthentication() {\n return $44eec33bbd885b2d$var$__awaiter(this, void 0, void 0, function*() {\n throw new Error(\"not implemented\");\n });\n }\n}\nmodule.exports.PersonalAccessTokenCredentialHandler = $44eec33bbd885b2d$var$PersonalAccessTokenCredentialHandler;\n\n});\n\n\nparcelRequire.register(\"a9gnA\", function(module, exports) {\n\"use strict\";\nvar $76377343e4c154fc$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.summary = module.exports.markdownSummary = module.exports.SUMMARY_DOCS_URL = module.exports.SUMMARY_ENV_VAR = void 0;\n\n\nconst { access: $76377343e4c154fc$var$access, appendFile: $76377343e4c154fc$var$appendFile, writeFile: $76377343e4c154fc$var$writeFile } = $4umf8$fs.promises;\nmodule.exports.SUMMARY_ENV_VAR = \"GITHUB_STEP_SUMMARY\";\nmodule.exports.SUMMARY_DOCS_URL = \"https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions#adding-a-job-summary\";\nclass $76377343e4c154fc$var$Summary {\n constructor(){\n this._buffer = \"\";\n }\n /**\n * Finds the summary file path from the environment, rejects if env var is not found or file does not exist\n * Also checks r/w permissions.\n *\n * @returns step summary file path\n */ filePath() {\n return $76377343e4c154fc$var$__awaiter(this, void 0, void 0, function*() {\n if (this._filePath) return this._filePath;\n const pathFromEnv = process.env[module.exports.SUMMARY_ENV_VAR];\n if (!pathFromEnv) throw new Error(`Unable to find environment variable for $${module.exports.SUMMARY_ENV_VAR}. Check if your runtime environment supports job summaries.`);\n try {\n yield $76377343e4c154fc$var$access(pathFromEnv, $4umf8$fs.constants.R_OK | $4umf8$fs.constants.W_OK);\n } catch (_a) {\n throw new Error(`Unable to access summary file: '${pathFromEnv}'. Check if the file has correct read/write permissions.`);\n }\n this._filePath = pathFromEnv;\n return this._filePath;\n });\n }\n /**\n * Wraps content in an HTML tag, adding any HTML attributes\n *\n * @param {string} tag HTML tag to wrap\n * @param {string | null} content content within the tag\n * @param {[attribute: string]: string} attrs key-value list of HTML attributes to add\n *\n * @returns {string} content wrapped in HTML element\n */ wrap(tag, content, attrs = {}) {\n const htmlAttrs = Object.entries(attrs).map(([key, value])=>` ${key}=\"${value}\"`).join(\"\");\n if (!content) return `<${tag}${htmlAttrs}>`;\n return `<${tag}${htmlAttrs}>${content}`;\n }\n /**\n * Writes text in the buffer to the summary buffer file and empties buffer. Will append by default.\n *\n * @param {SummaryWriteOptions} [options] (optional) options for write operation\n *\n * @returns {Promise} summary instance\n */ write(options) {\n return $76377343e4c154fc$var$__awaiter(this, void 0, void 0, function*() {\n const overwrite = !!(options === null || options === void 0 ? void 0 : options.overwrite);\n const filePath = yield this.filePath();\n const writeFunc = overwrite ? $76377343e4c154fc$var$writeFile : $76377343e4c154fc$var$appendFile;\n yield writeFunc(filePath, this._buffer, {\n encoding: \"utf8\"\n });\n return this.emptyBuffer();\n });\n }\n /**\n * Clears the summary buffer and wipes the summary file\n *\n * @returns {Summary} summary instance\n */ clear() {\n return $76377343e4c154fc$var$__awaiter(this, void 0, void 0, function*() {\n return this.emptyBuffer().write({\n overwrite: true\n });\n });\n }\n /**\n * Returns the current summary buffer as a string\n *\n * @returns {string} string of summary buffer\n */ stringify() {\n return this._buffer;\n }\n /**\n * If the summary buffer is empty\n *\n * @returns {boolen} true if the buffer is empty\n */ isEmptyBuffer() {\n return this._buffer.length === 0;\n }\n /**\n * Resets the summary buffer without writing to summary file\n *\n * @returns {Summary} summary instance\n */ emptyBuffer() {\n this._buffer = \"\";\n return this;\n }\n /**\n * Adds raw text to the summary buffer\n *\n * @param {string} text content to add\n * @param {boolean} [addEOL=false] (optional) append an EOL to the raw text (default: false)\n *\n * @returns {Summary} summary instance\n */ addRaw(text, addEOL = false) {\n this._buffer += text;\n return addEOL ? this.addEOL() : this;\n }\n /**\n * Adds the operating system-specific end-of-line marker to the buffer\n *\n * @returns {Summary} summary instance\n */ addEOL() {\n return this.addRaw($4umf8$os.EOL);\n }\n /**\n * Adds an HTML codeblock to the summary buffer\n *\n * @param {string} code content to render within fenced code block\n * @param {string} lang (optional) language to syntax highlight code\n *\n * @returns {Summary} summary instance\n */ addCodeBlock(code, lang) {\n const attrs = Object.assign({}, lang && {\n lang: lang\n });\n const element = this.wrap(\"pre\", this.wrap(\"code\", code), attrs);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML list to the summary buffer\n *\n * @param {string[]} items list of items to render\n * @param {boolean} [ordered=false] (optional) if the rendered list should be ordered or not (default: false)\n *\n * @returns {Summary} summary instance\n */ addList(items, ordered = false) {\n const tag = ordered ? \"ol\" : \"ul\";\n const listItems = items.map((item)=>this.wrap(\"li\", item)).join(\"\");\n const element = this.wrap(tag, listItems);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML table to the summary buffer\n *\n * @param {SummaryTableCell[]} rows table rows\n *\n * @returns {Summary} summary instance\n */ addTable(rows) {\n const tableBody = rows.map((row)=>{\n const cells = row.map((cell)=>{\n if (typeof cell === \"string\") return this.wrap(\"td\", cell);\n const { header: header, data: data, colspan: colspan, rowspan: rowspan } = cell;\n const tag = header ? \"th\" : \"td\";\n const attrs = Object.assign(Object.assign({}, colspan && {\n colspan: colspan\n }), rowspan && {\n rowspan: rowspan\n });\n return this.wrap(tag, data, attrs);\n }).join(\"\");\n return this.wrap(\"tr\", cells);\n }).join(\"\");\n const element = this.wrap(\"table\", tableBody);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds a collapsable HTML details element to the summary buffer\n *\n * @param {string} label text for the closed state\n * @param {string} content collapsable content\n *\n * @returns {Summary} summary instance\n */ addDetails(label, content) {\n const element = this.wrap(\"details\", this.wrap(\"summary\", label) + content);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML image tag to the summary buffer\n *\n * @param {string} src path to the image you to embed\n * @param {string} alt text description of the image\n * @param {SummaryImageOptions} options (optional) addition image attributes\n *\n * @returns {Summary} summary instance\n */ addImage(src, alt, options) {\n const { width: width, height: height } = options || {};\n const attrs = Object.assign(Object.assign({}, width && {\n width: width\n }), height && {\n height: height\n });\n const element = this.wrap(\"img\", null, Object.assign({\n src: src,\n alt: alt\n }, attrs));\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML section heading element\n *\n * @param {string} text heading text\n * @param {number | string} [level=1] (optional) the heading level, default: 1\n *\n * @returns {Summary} summary instance\n */ addHeading(text, level) {\n const tag = `h${level}`;\n const allowedTag = [\n \"h1\",\n \"h2\",\n \"h3\",\n \"h4\",\n \"h5\",\n \"h6\"\n ].includes(tag) ? tag : \"h1\";\n const element = this.wrap(allowedTag, text);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML thematic break (
) to the summary buffer\n *\n * @returns {Summary} summary instance\n */ addSeparator() {\n const element = this.wrap(\"hr\", null);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML line break (
) to the summary buffer\n *\n * @returns {Summary} summary instance\n */ addBreak() {\n const element = this.wrap(\"br\", null);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML blockquote to the summary buffer\n *\n * @param {string} text quote text\n * @param {string} cite (optional) citation url\n *\n * @returns {Summary} summary instance\n */ addQuote(text, cite) {\n const attrs = Object.assign({}, cite && {\n cite: cite\n });\n const element = this.wrap(\"blockquote\", text, attrs);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML anchor tag to the summary buffer\n *\n * @param {string} text link text/content\n * @param {string} href hyperlink\n *\n * @returns {Summary} summary instance\n */ addLink(text, href) {\n const element = this.wrap(\"a\", text, {\n href: href\n });\n return this.addRaw(element).addEOL();\n }\n}\nconst $76377343e4c154fc$var$_summary = new $76377343e4c154fc$var$Summary();\n/**\n * @deprecated use `core.summary`\n */ module.exports.markdownSummary = $76377343e4c154fc$var$_summary;\nmodule.exports.summary = $76377343e4c154fc$var$_summary;\n\n});\n\nparcelRequire.register(\"3zXsD\", function(module, exports) {\n\"use strict\";\nvar $29b2c3aa163fd6e0$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $29b2c3aa163fd6e0$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $29b2c3aa163fd6e0$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $29b2c3aa163fd6e0$var$__createBinding(result, mod, k);\n }\n $29b2c3aa163fd6e0$var$__setModuleDefault(result, mod);\n return result;\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.toPlatformPath = module.exports.toWin32Path = module.exports.toPosixPath = void 0;\n\nconst $29b2c3aa163fd6e0$var$path = $29b2c3aa163fd6e0$var$__importStar($4umf8$path);\n/**\n * toPosixPath converts the given path to the posix form. On Windows, \\\\ will be\n * replaced with /.\n *\n * @param pth. Path to transform.\n * @return string Posix path.\n */ function $29b2c3aa163fd6e0$var$toPosixPath(pth) {\n return pth.replace(/[\\\\]/g, \"/\");\n}\nmodule.exports.toPosixPath = $29b2c3aa163fd6e0$var$toPosixPath;\n/**\n * toWin32Path converts the given path to the win32 form. On Linux, / will be\n * replaced with \\\\.\n *\n * @param pth. Path to transform.\n * @return string Win32 path.\n */ function $29b2c3aa163fd6e0$var$toWin32Path(pth) {\n return pth.replace(/[/]/g, \"\\\\\");\n}\nmodule.exports.toWin32Path = $29b2c3aa163fd6e0$var$toWin32Path;\n/**\n * toPlatformPath converts the given path to a platform-specific path. It does\n * this by replacing instances of / and \\ with the platform-specific path\n * separator.\n *\n * @param pth The path to platformize.\n * @return string The platform-specific path.\n */ function $29b2c3aa163fd6e0$var$toPlatformPath(pth) {\n return pth.replace(/[/\\\\]/g, $29b2c3aa163fd6e0$var$path.sep);\n}\nmodule.exports.toPlatformPath = $29b2c3aa163fd6e0$var$toPlatformPath;\n\n});\n\n\n\nparcelRequire.register(\"ljv3o\", function(module, exports) {\n\nvar $f84375f24bc0557b$var$$parcel$__dirname = $4umf8$path.resolve(__dirname, \"../../node_modules/.pnpm/numerous@1.0.3/node_modules/numerous/lib\");\n(function() {\n \"use strict\";\n var root = this;\n //=========//\n // GLOBALS //\n //=========//\n var locales = {};\n //==========//\n // EXPOSING //\n //==========//\n var moduleDefinition = {\n create: factory,\n addLocale: addLocale,\n pluralize: pluralize\n };\n if (\"undefined\" !== typeof module.exports) module.exports = moduleDefinition;\n else root.numerous = moduleDefinition;\n //==================//\n // PUBLIC FUNCTIONS //\n //==================//\n /**\n * Creates new instance of numerous.\n *\n * @param {string} locale\n * @returns {object}\n */ function factory(locale) {\n checkLocale(locale);\n return {\n pluralize: function(value, variants) {\n return pluralize(locale, value, variants);\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 */ function addLocale(locale, callable) {\n locales[locale] = callable;\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 */ function pluralize(locale, value, variants) {\n checkLocale(locale);\n if (\"object\" !== typeof variants) throw new Error(\"List of variants should be specified as an object\");\n var key = locales[locale](value);\n return \"undefined\" !== typeof variants[key] ? variants[key] : null;\n }\n //===================//\n // PRIVATE FUNCTIONS //\n //===================//\n /**\n * Returns true if specified locale is loaded, false otherwise.\n *\n * @param {string} locale\n *\n * @returns {boolean}\n */ function hasLocale(locale) {\n return \"undefined\" !== typeof locales[locale];\n }\n /**\n * Checks if locale is loaded. If not, tries to load it.\n *\n * @param {string} locale\n */ function checkLocale(locale) {\n if (!hasLocale(locale)) requireLocale(locale);\n }\n /**\n * Tries to load the specified locale.\n *\n * @param {string} locale\n */ function requireLocale(locale) {\n try {\n require($f84375f24bc0557b$var$$parcel$__dirname + \"/../locales/\" + locale + \".js\");\n } catch (error) {\n throw Error(\"Failed to load the following locale: \" + locale);\n }\n }\n}).call(module.exports);\n\n});\n\nparcelRequire.register(\"kAOmP\", function(module, exports) {\n//==============//\n// DEPENDENCIES //\n//==============//\n\nvar $3abeg = parcelRequire(\"3abeg\");\n\nvar $aaJ7t = parcelRequire(\"aaJ7t\");\n//================//\n// MODULE GLOBALS //\n//================//\n/**\n * Pre-calculating millisecond values for each time unit.\n */ const $efde3d4c36d9535a$var$timeUnits = [\n [\n \"years\",\n 29030400000\n ],\n [\n \"months\",\n 2419200000\n ],\n [\n \"weeks\",\n 604800000\n ],\n [\n \"days\",\n 86400000\n ],\n [\n \"hours\",\n 3600000\n ],\n [\n \"minutes\",\n 60000\n ],\n [\n \"seconds\",\n 1000\n ]\n];\nconst $efde3d4c36d9535a$var$defaultConfig = {\n locale: \"en\",\n span: 2,\n delimiter: \", \",\n unitType: \"long\",\n unitTypeLookupOrder: [\n \"long\",\n \"short\",\n \"narrow\"\n ],\n autoloadLocales: true\n};\n/**\n * Contains data of loaded locales.\n * @type {Object}\n */ const $efde3d4c36d9535a$var$locales = {};\n//=========//\n// EXPORTS //\n//=========//\nmodule.exports = {\n create: $efde3d4c36d9535a$var$timeDeltaFactory,\n addLocale: $efde3d4c36d9535a$var$addLocale,\n defaultConfig: $efde3d4c36d9535a$var$defaultConfig\n};\n//===========//\n// FUNCTIONS //\n//===========//\n/**\n * Adds pluralization data for the specified locale.\n * Should be called in browser.\n *\n * @param {Object|Object[]} localeData\n */ function $efde3d4c36d9535a$var$addLocale(localeData) {\n // Normalizing input\n if (!Array.isArray(localeData)) localeData = [\n localeData\n ];\n for (const item of localeData){\n const { id: id, data: data } = item;\n $efde3d4c36d9535a$var$locales[id] = data;\n }\n}\n/**\n * Creates new instance.\n *\n * @param {object?} config\n *\n * @returns {object}\n */ function $efde3d4c36d9535a$var$timeDeltaFactory(config) {\n // Initializing config by extending the default one\n config = Object.assign({}, $efde3d4c36d9535a$var$defaultConfig, config || {});\n return {\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 */ format: function(firstDate, secondDate, options) {\n // Allowing to override config with each individual call\n options = Object.assign({}, config, options || {});\n return $efde3d4c36d9535a$var$format(firstDate, secondDate, options);\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 */ function $efde3d4c36d9535a$var$format(firstDate, secondDate, config) {\n $efde3d4c36d9535a$var$ensureLocaleLoadedOrThrow(config.locale, {\n autoload: config.autoloadLocales\n });\n // Handling input arguments\n // -----\n if (!firstDate) throw new Error(\"Missing first date argument\");\n if (!secondDate) throw new Error(\"Missing second date argument\");\n // Calculating\n // -----\n const difference = $efde3d4c36d9535a$var$getDifference(firstDate, secondDate);\n const parts = [];\n for (const unit of difference){\n const [name, value] = unit;\n if (value > 0) parts.push($efde3d4c36d9535a$var$pluralize(name, value, config));\n if (parts.length >= config.span) break;\n }\n // Returning the string value\n return parts.join(config.delimiter);\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 */ function $efde3d4c36d9535a$var$ensureLocaleLoadedOrThrow(locale, options) {\n const { autoload: autoload } = options;\n if ($efde3d4c36d9535a$var$hasLocale(locale)) return;\n if ($aaJ7t && autoload) $efde3d4c36d9535a$var$requireLocale(locale);\n else throw new Error(`Missing locale: ${locale}, you must load it manually before using it`);\n}\n/**\n * Returns true if specified locale is loaded, false otherwise.\n *\n * @param {string} localeId\n *\n * @returns {boolean}\n */ function $efde3d4c36d9535a$var$hasLocale(localeId) {\n return Boolean($efde3d4c36d9535a$var$locales[localeId]);\n}\n/**\n * Tries to load the specified locale.\n *\n * @param {string} localeId\n */ function $efde3d4c36d9535a$var$requireLocale(localeId) {\n try {\n $efde3d4c36d9535a$var$addLocale(require(`../locales/${localeId}.js`));\n } catch (error) {\n throw Error(`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 * Returns difference as separate time units.\n *\n * @param {Date} firstDate\n * @param {Date} secondDate\n *\n * @returns {Array}\n */ function $efde3d4c36d9535a$var$getDifference(firstDate, secondDate) {\n let difference = secondDate - firstDate;\n const results = [];\n $efde3d4c36d9535a$var$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([\n name,\n value\n ]);\n if (difference <= 0) // Breaking the loop.\n return true;\n });\n return results;\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 */ function $efde3d4c36d9535a$var$pluralize(unit, value, config) {\n const unitTypeData = $efde3d4c36d9535a$var$getLocaleDataForUnitType(config);\n const unitString = $3abeg.pluralize(config.locale, value, unitTypeData[unit]);\n return unitString.replace(\"{0}\", value);\n}\n/**\n * Returns locale data for preferred unit type.\n *\n * @param {object} config\n *\n * @returns {Array}\n */ function $efde3d4c36d9535a$var$getLocaleDataForUnitType(config) {\n const localeData = $efde3d4c36d9535a$var$locales[config.locale];\n // Making a copy of array from config.\n let lookupOrder = config.unitTypeLookupOrder.slice();\n // Adding interested type to the top.\n lookupOrder.unshift(config.unitType);\n // Making sure only unique items are present.\n lookupOrder = $efde3d4c36d9535a$var$arrayUnique(lookupOrder);\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 if (null === unitTypeData) throw new Error(\"Can not find any unit type data for locale: \" + config.locale);\n return unitTypeData;\n}\n/**\n * Returns array with only unique items.\n *\n * @param {Array} array\n *\n * @returns {Array}\n */ function $efde3d4c36d9535a$var$arrayUnique(array) {\n return Array.from(new Set(array));\n}\n\n});\nparcelRequire.register(\"3abeg\", function(module, exports) {\n\nmodule.exports = (parcelRequire(\"ljv3o\"));\n\n});\n\nparcelRequire.register(\"aaJ7t\", function(module, exports) {\n// Coding standard for this project defined @ https://github.com/MatthewSH/standards/blob/master/JavaScript.md\n\"use strict\";\nexports = module.exports = !!(typeof process !== \"undefined\" && process.versions && process.versions.node);\n\n});\n\n\nparcelRequire.register(\"gRK0M\", function(module, exports) {\nmodule.exports = $c47549871c043833$var$isexe;\n$c47549871c043833$var$isexe.sync = $c47549871c043833$var$sync;\n\nfunction $c47549871c043833$var$checkPathExt(path, options) {\n var pathext = options.pathExt !== undefined ? options.pathExt : process.env.PATHEXT;\n if (!pathext) return true;\n pathext = pathext.split(\";\");\n if (pathext.indexOf(\"\") !== -1) return true;\n for(var i = 0; i < pathext.length; i++){\n var p = pathext[i].toLowerCase();\n if (p && path.substr(-p.length).toLowerCase() === p) return true;\n }\n return false;\n}\nfunction $c47549871c043833$var$checkStat(stat, path, options) {\n if (!stat.isSymbolicLink() && !stat.isFile()) return false;\n return $c47549871c043833$var$checkPathExt(path, options);\n}\nfunction $c47549871c043833$var$isexe(path, options, cb) {\n $4umf8$fs.stat(path, function(er, stat) {\n cb(er, er ? false : $c47549871c043833$var$checkStat(stat, path, options));\n });\n}\nfunction $c47549871c043833$var$sync(path, options) {\n return $c47549871c043833$var$checkStat($4umf8$fs.statSync(path), path, options);\n}\n\n});\n\nparcelRequire.register(\"9ZovO\", function(module, exports) {\nmodule.exports = $745cd3213579f955$var$isexe;\n$745cd3213579f955$var$isexe.sync = $745cd3213579f955$var$sync;\n\nfunction $745cd3213579f955$var$isexe(path, options, cb) {\n $4umf8$fs.stat(path, function(er, stat) {\n cb(er, er ? false : $745cd3213579f955$var$checkStat(stat, options));\n });\n}\nfunction $745cd3213579f955$var$sync(path, options) {\n return $745cd3213579f955$var$checkStat($4umf8$fs.statSync(path), options);\n}\nfunction $745cd3213579f955$var$checkStat(stat, options) {\n return stat.isFile() && $745cd3213579f955$var$checkMode(stat, options);\n}\nfunction $745cd3213579f955$var$checkMode(stat, options) {\n var mod = stat.mode;\n var uid = stat.uid;\n var gid = stat.gid;\n var myUid = options.uid !== undefined ? options.uid : process.getuid && process.getuid();\n var myGid = options.gid !== undefined ? options.gid : process.getgid && process.getgid();\n var u = parseInt(\"100\", 8);\n var g = parseInt(\"010\", 8);\n var o = parseInt(\"001\", 8);\n var ug = u | g;\n var ret = mod & o || mod & g && gid === myGid || mod & u && uid === myUid || mod & ug && myUid === 0;\n return ret;\n}\n\n});\n\nparcelRequire.register(\"2dWxz\", function(module, exports) {\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];\nif (process.platform !== \"win32\") module.exports.push(\"SIGVTALRM\", \"SIGXCPU\", \"SIGXFSZ\", \"SIGUSR2\", \"SIGTRAP\", \"SIGSYS\", \"SIGQUIT\", \"SIGIOT\");\nif (process.platform === \"linux\") module.exports.push(\"SIGIO\", \"SIGPOLL\", \"SIGPWR\", \"SIGSTKFLT\", \"SIGUNUSED\");\n\n});\n\nparcelRequire.register(\"lqN0l\", function(module, exports) {\n// just pre-load all the stuff that index.js lazily exports\n\nvar $eDlr8 = parcelRequire(\"eDlr8\");\n\nvar $6fF7q = parcelRequire(\"6fF7q\");\n\nvar $fYigo = parcelRequire(\"fYigo\");\n\nvar $hQh8e = parcelRequire(\"hQh8e\");\n\nvar $5DLUR = parcelRequire(\"5DLUR\");\n\nvar $eO4vc = parcelRequire(\"eO4vc\");\n\nvar $5Pwcn = parcelRequire(\"5Pwcn\");\n\nvar $4dfSx = parcelRequire(\"4dfSx\");\n\nvar $7cpCI = parcelRequire(\"7cpCI\");\n\nvar $7GceF = parcelRequire(\"7GceF\");\n\nvar $k4OKF = parcelRequire(\"k4OKF\");\n\nvar $lL63q = parcelRequire(\"lL63q\");\n\nvar $lhsZL = parcelRequire(\"lhsZL\");\n\nvar $eSzHt = parcelRequire(\"eSzHt\");\n\nvar $1yexC = parcelRequire(\"1yexC\");\n\nvar $gI1Tk = parcelRequire(\"gI1Tk\");\n\nvar $bn7NB = parcelRequire(\"bn7NB\");\n\nvar $4yuO6 = parcelRequire(\"4yuO6\");\n\nvar $iea9H = parcelRequire(\"iea9H\");\n\nvar $gtqtv = parcelRequire(\"gtqtv\");\n\nvar $3Nc7w = parcelRequire(\"3Nc7w\");\n\nvar $auc5a = parcelRequire(\"auc5a\");\n\nvar $caa1L = parcelRequire(\"caa1L\");\n\nvar $1Ucjm = parcelRequire(\"1Ucjm\");\n\nvar $fAXcL = parcelRequire(\"fAXcL\");\n\nvar $2ImCS = parcelRequire(\"2ImCS\");\n\nvar $255mi = parcelRequire(\"255mi\");\n\nvar $7BD2X = parcelRequire(\"7BD2X\");\n\nvar $bGbOH = parcelRequire(\"bGbOH\");\n\nvar $eLOWZ = parcelRequire(\"eLOWZ\");\n\nvar $lCDwg = parcelRequire(\"lCDwg\");\n\nvar $iLpkq = parcelRequire(\"iLpkq\");\n\nvar $gEzC5 = parcelRequire(\"gEzC5\");\n\nvar $kOEjN = parcelRequire(\"kOEjN\");\n\nvar $lSCGC = parcelRequire(\"lSCGC\");\n\nvar $kRbmr = parcelRequire(\"kRbmr\");\n\nvar $jjglH = parcelRequire(\"jjglH\");\n\nvar $52D05 = parcelRequire(\"52D05\");\n\nvar $3lRwj = parcelRequire(\"3lRwj\");\n\nvar $ahb6l = parcelRequire(\"ahb6l\");\n\nvar $bfmht = parcelRequire(\"bfmht\");\nmodule.exports = {\n parse: $5DLUR,\n valid: $eO4vc,\n clean: $5Pwcn,\n inc: $4dfSx,\n diff: $7cpCI,\n major: $7GceF,\n minor: $k4OKF,\n patch: $lL63q,\n prerelease: $lhsZL,\n compare: $eSzHt,\n rcompare: $1yexC,\n compareLoose: $gI1Tk,\n compareBuild: $bn7NB,\n sort: $4yuO6,\n rsort: $iea9H,\n gt: $gtqtv,\n lt: $3Nc7w,\n eq: $auc5a,\n neq: $caa1L,\n gte: $1Ucjm,\n lte: $fAXcL,\n cmp: $2ImCS,\n coerce: $255mi,\n Comparator: $7BD2X,\n Range: $bGbOH,\n satisfies: $eLOWZ,\n toComparators: $lCDwg,\n maxSatisfying: $iLpkq,\n minSatisfying: $gEzC5,\n minVersion: $kOEjN,\n validRange: $lSCGC,\n outside: $kRbmr,\n gtr: $jjglH,\n ltr: $52D05,\n intersects: $3lRwj,\n simplifyRange: $ahb6l,\n subset: $bfmht,\n SemVer: $fYigo,\n re: $eDlr8.re,\n src: $eDlr8.src,\n tokens: $eDlr8.t,\n SEMVER_SPEC_VERSION: $6fF7q.SEMVER_SPEC_VERSION,\n RELEASE_TYPES: $6fF7q.RELEASE_TYPES,\n compareIdentifiers: $hQh8e.compareIdentifiers,\n rcompareIdentifiers: $hQh8e.rcompareIdentifiers\n};\n\n});\nparcelRequire.register(\"eDlr8\", function(module, exports) {\n\nvar $6fF7q = parcelRequire(\"6fF7q\");\nvar $aa75561514c414bb$require$MAX_SAFE_COMPONENT_LENGTH = $6fF7q.MAX_SAFE_COMPONENT_LENGTH;\nvar $aa75561514c414bb$require$MAX_SAFE_BUILD_LENGTH = $6fF7q.MAX_SAFE_BUILD_LENGTH;\nvar $aa75561514c414bb$require$MAX_LENGTH = $6fF7q.MAX_LENGTH;\n\nvar $23sN8 = parcelRequire(\"23sN8\");\nexports = module.exports = {};\n// The actual regexps go on exports.re\nconst re = exports.re = [];\nconst safeRe = exports.safeRe = [];\nconst src = exports.src = [];\nconst t = exports.t = {};\nlet R = 0;\nconst LETTERDASHNUMBER = \"[a-zA-Z0-9-]\";\n// Replace some greedy regex tokens to prevent regex dos issues. These regex are\n// used internally via the safeRe object since all inputs in this library get\n// normalized first to trim and collapse all extra whitespace. The original\n// regexes are exported for userland consumption and lower level usage. A\n// future breaking change could export the safer regex only with a note that\n// all input should have extra whitespace removed.\nconst safeRegexReplacements = [\n [\n \"\\\\s\",\n 1\n ],\n [\n \"\\\\d\",\n $aa75561514c414bb$require$MAX_LENGTH\n ],\n [\n LETTERDASHNUMBER,\n $aa75561514c414bb$require$MAX_SAFE_BUILD_LENGTH\n ]\n];\nconst makeSafeRegex = (value)=>{\n for (const [token, max] of safeRegexReplacements)value = value.split(`${token}*`).join(`${token}{0,${max}}`).split(`${token}+`).join(`${token}{1,${max}}`);\n return value;\n};\nconst createToken = (name, value, isGlobal)=>{\n const safe = makeSafeRegex(value);\n const index = R++;\n $23sN8(name, index, value);\n t[name] = index;\n src[index] = value;\n re[index] = new RegExp(value, isGlobal ? \"g\" : undefined);\n safeRe[index] = new RegExp(safe, isGlobal ? \"g\" : undefined);\n};\n// The following Regular Expressions can be used for tokenizing,\n// validating, and parsing SemVer version strings.\n// ## Numeric Identifier\n// A single `0`, or a non-zero digit followed by zero or more digits.\ncreateToken(\"NUMERICIDENTIFIER\", \"0|[1-9]\\\\d*\");\ncreateToken(\"NUMERICIDENTIFIERLOOSE\", \"\\\\d+\");\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.\ncreateToken(\"NONNUMERICIDENTIFIER\", `\\\\d*[a-zA-Z-]${LETTERDASHNUMBER}*`);\n// ## Main Version\n// Three dot-separated numeric identifiers.\ncreateToken(\"MAINVERSION\", `(${src[t.NUMERICIDENTIFIER]})\\\\.` + `(${src[t.NUMERICIDENTIFIER]})\\\\.` + `(${src[t.NUMERICIDENTIFIER]})`);\ncreateToken(\"MAINVERSIONLOOSE\", `(${src[t.NUMERICIDENTIFIERLOOSE]})\\\\.` + `(${src[t.NUMERICIDENTIFIERLOOSE]})\\\\.` + `(${src[t.NUMERICIDENTIFIERLOOSE]})`);\n// ## Pre-release Version Identifier\n// A numeric identifier, or a non-numeric identifier.\ncreateToken(\"PRERELEASEIDENTIFIER\", `(?:${src[t.NUMERICIDENTIFIER]}|${src[t.NONNUMERICIDENTIFIER]})`);\ncreateToken(\"PRERELEASEIDENTIFIERLOOSE\", `(?:${src[t.NUMERICIDENTIFIERLOOSE]}|${src[t.NONNUMERICIDENTIFIER]})`);\n// ## Pre-release Version\n// Hyphen, followed by one or more dot-separated pre-release version\n// identifiers.\ncreateToken(\"PRERELEASE\", `(?:-(${src[t.PRERELEASEIDENTIFIER]}(?:\\\\.${src[t.PRERELEASEIDENTIFIER]})*))`);\ncreateToken(\"PRERELEASELOOSE\", `(?:-?(${src[t.PRERELEASEIDENTIFIERLOOSE]}(?:\\\\.${src[t.PRERELEASEIDENTIFIERLOOSE]})*))`);\n// ## Build Metadata Identifier\n// Any combination of digits, letters, or hyphens.\ncreateToken(\"BUILDIDENTIFIER\", `${LETTERDASHNUMBER}+`);\n// ## Build Metadata\n// Plus sign, followed by one or more period-separated build metadata\n// identifiers.\ncreateToken(\"BUILD\", `(?:\\\\+(${src[t.BUILDIDENTIFIER]}(?:\\\\.${src[t.BUILDIDENTIFIER]})*))`);\n// ## Full Version String\n// A main version, followed optionally by a pre-release version and\n// build metadata.\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.\ncreateToken(\"FULLPLAIN\", `v?${src[t.MAINVERSION]}${src[t.PRERELEASE]}?${src[t.BUILD]}?`);\ncreateToken(\"FULL\", `^${src[t.FULLPLAIN]}$`);\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]}${src[t.PRERELEASELOOSE]}?${src[t.BUILD]}?`);\ncreateToken(\"LOOSE\", `^${src[t.LOOSEPLAIN]}$`);\ncreateToken(\"GTLT\", \"((?:<|>)?=?)\");\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|\\\\*`);\ncreateToken(\"XRANGEPLAIN\", `[v=\\\\s]*(${src[t.XRANGEIDENTIFIER]})` + `(?:\\\\.(${src[t.XRANGEIDENTIFIER]})` + `(?:\\\\.(${src[t.XRANGEIDENTIFIER]})` + `(?:${src[t.PRERELEASE]})?${src[t.BUILD]}?` + `)?)?`);\ncreateToken(\"XRANGEPLAINLOOSE\", `[v=\\\\s]*(${src[t.XRANGEIDENTIFIERLOOSE]})` + `(?:\\\\.(${src[t.XRANGEIDENTIFIERLOOSE]})` + `(?:\\\\.(${src[t.XRANGEIDENTIFIERLOOSE]})` + `(?:${src[t.PRERELEASELOOSE]})?${src[t.BUILD]}?` + `)?)?`);\ncreateToken(\"XRANGE\", `^${src[t.GTLT]}\\\\s*${src[t.XRANGEPLAIN]}$`);\ncreateToken(\"XRANGELOOSE\", `^${src[t.GTLT]}\\\\s*${src[t.XRANGEPLAINLOOSE]}$`);\n// Coercion.\n// Extract anything that could conceivably be a part of a valid semver\ncreateToken(\"COERCE\", `${\"(^|[^\\\\d])(\\\\d{1,\"}${$aa75561514c414bb$require$MAX_SAFE_COMPONENT_LENGTH}})` + `(?:\\\\.(\\\\d{1,${$aa75561514c414bb$require$MAX_SAFE_COMPONENT_LENGTH}}))?` + `(?:\\\\.(\\\\d{1,${$aa75561514c414bb$require$MAX_SAFE_COMPONENT_LENGTH}}))?` + `(?:$|[^\\\\d])`);\ncreateToken(\"COERCERTL\", src[t.COERCE], true);\n// Tilde ranges.\n// Meaning is \"reasonably at or greater than\"\ncreateToken(\"LONETILDE\", \"(?:~>?)\");\ncreateToken(\"TILDETRIM\", `(\\\\s*)${src[t.LONETILDE]}\\\\s+`, true);\nexports.tildeTrimReplace = \"$1~\";\ncreateToken(\"TILDE\", `^${src[t.LONETILDE]}${src[t.XRANGEPLAIN]}$`);\ncreateToken(\"TILDELOOSE\", `^${src[t.LONETILDE]}${src[t.XRANGEPLAINLOOSE]}$`);\n// Caret ranges.\n// Meaning is \"at least and backwards compatible with\"\ncreateToken(\"LONECARET\", \"(?:\\\\^)\");\ncreateToken(\"CARETTRIM\", `(\\\\s*)${src[t.LONECARET]}\\\\s+`, true);\nexports.caretTrimReplace = \"$1^\";\ncreateToken(\"CARET\", `^${src[t.LONECARET]}${src[t.XRANGEPLAIN]}$`);\ncreateToken(\"CARETLOOSE\", `^${src[t.LONECARET]}${src[t.XRANGEPLAINLOOSE]}$`);\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// 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]}\\\\s*(${src[t.LOOSEPLAIN]}|${src[t.XRANGEPLAIN]})`, true);\nexports.comparatorTrimReplace = \"$1$2$3\";\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]})` + `\\\\s+-\\\\s+` + `(${src[t.XRANGEPLAIN]})` + `\\\\s*$`);\ncreateToken(\"HYPHENRANGELOOSE\", `^\\\\s*(${src[t.XRANGEPLAINLOOSE]})` + `\\\\s+-\\\\s+` + `(${src[t.XRANGEPLAINLOOSE]})` + `\\\\s*$`);\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\n});\nparcelRequire.register(\"6fF7q\", function(module, exports) {\n// Note: this is the semver.org version of the spec that it implements\n// Not necessarily the package version of this code.\nconst $48d40a18aa6377e9$var$SEMVER_SPEC_VERSION = \"2.0.0\";\nconst $48d40a18aa6377e9$var$MAX_LENGTH = 256;\nconst $48d40a18aa6377e9$var$MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER || /* istanbul ignore next */ 9007199254740991;\n// Max safe segment length for coercion.\nconst $48d40a18aa6377e9$var$MAX_SAFE_COMPONENT_LENGTH = 16;\n// Max safe length for a build identifier. The max length minus 6 characters for\n// the shortest version with a build 0.0.0+BUILD.\nconst $48d40a18aa6377e9$var$MAX_SAFE_BUILD_LENGTH = $48d40a18aa6377e9$var$MAX_LENGTH - 6;\nconst $48d40a18aa6377e9$var$RELEASE_TYPES = [\n \"major\",\n \"premajor\",\n \"minor\",\n \"preminor\",\n \"patch\",\n \"prepatch\",\n \"prerelease\"\n];\nmodule.exports = {\n MAX_LENGTH: $48d40a18aa6377e9$var$MAX_LENGTH,\n MAX_SAFE_COMPONENT_LENGTH: $48d40a18aa6377e9$var$MAX_SAFE_COMPONENT_LENGTH,\n MAX_SAFE_BUILD_LENGTH: $48d40a18aa6377e9$var$MAX_SAFE_BUILD_LENGTH,\n MAX_SAFE_INTEGER: $48d40a18aa6377e9$var$MAX_SAFE_INTEGER,\n RELEASE_TYPES: $48d40a18aa6377e9$var$RELEASE_TYPES,\n SEMVER_SPEC_VERSION: $48d40a18aa6377e9$var$SEMVER_SPEC_VERSION,\n FLAG_INCLUDE_PRERELEASE: 1,\n FLAG_LOOSE: 2\n};\n\n});\n\nparcelRequire.register(\"23sN8\", function(module, exports) {\nconst $17f231fd12c77dfe$var$debug = typeof process === \"object\" && process.env && process.env.NODE_DEBUG && /\\bsemver\\b/i.test(process.env.NODE_DEBUG) ? (...args)=>console.error(\"SEMVER\", ...args) : ()=>{};\nmodule.exports = $17f231fd12c77dfe$var$debug;\n\n});\n\n\nparcelRequire.register(\"fYigo\", function(module, exports) {\n\nvar $23sN8 = parcelRequire(\"23sN8\");\n\nvar $6fF7q = parcelRequire(\"6fF7q\");\nvar $ba0aa05c678ef093$require$MAX_LENGTH = $6fF7q.MAX_LENGTH;\nvar $ba0aa05c678ef093$require$MAX_SAFE_INTEGER = $6fF7q.MAX_SAFE_INTEGER;\n\nvar $eDlr8 = parcelRequire(\"eDlr8\");\nvar $ba0aa05c678ef093$require$re = $eDlr8.safeRe;\nvar $ba0aa05c678ef093$require$t = $eDlr8.t;\n\nvar $kR8wQ = parcelRequire(\"kR8wQ\");\n\nvar $hQh8e = parcelRequire(\"hQh8e\");\nvar $ba0aa05c678ef093$require$compareIdentifiers = $hQh8e.compareIdentifiers;\nclass $ba0aa05c678ef093$var$SemVer {\n constructor(version, options){\n options = $kR8wQ(options);\n if (version instanceof $ba0aa05c678ef093$var$SemVer) {\n if (version.loose === !!options.loose && version.includePrerelease === !!options.includePrerelease) return version;\n else version = version.version;\n } else if (typeof version !== \"string\") throw new TypeError(`Invalid version. Must be a string. Got type \"${typeof version}\".`);\n if (version.length > $ba0aa05c678ef093$require$MAX_LENGTH) throw new TypeError(`version is longer than ${$ba0aa05c678ef093$require$MAX_LENGTH} characters`);\n $23sN8(\"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 const m = version.trim().match(options.loose ? $ba0aa05c678ef093$require$re[$ba0aa05c678ef093$require$t.LOOSE] : $ba0aa05c678ef093$require$re[$ba0aa05c678ef093$require$t.FULL]);\n if (!m) throw new TypeError(`Invalid Version: ${version}`);\n this.raw = version;\n // these are actually numbers\n this.major = +m[1];\n this.minor = +m[2];\n this.patch = +m[3];\n if (this.major > $ba0aa05c678ef093$require$MAX_SAFE_INTEGER || this.major < 0) throw new TypeError(\"Invalid major version\");\n if (this.minor > $ba0aa05c678ef093$require$MAX_SAFE_INTEGER || this.minor < 0) throw new TypeError(\"Invalid minor version\");\n if (this.patch > $ba0aa05c678ef093$require$MAX_SAFE_INTEGER || this.patch < 0) throw new TypeError(\"Invalid patch version\");\n // numberify any prerelease numeric ids\n if (!m[4]) this.prerelease = [];\n else this.prerelease = m[4].split(\".\").map((id)=>{\n if (/^[0-9]+$/.test(id)) {\n const num = +id;\n if (num >= 0 && num < $ba0aa05c678ef093$require$MAX_SAFE_INTEGER) return num;\n }\n return id;\n });\n this.build = m[5] ? m[5].split(\".\") : [];\n this.format();\n }\n format() {\n this.version = `${this.major}.${this.minor}.${this.patch}`;\n if (this.prerelease.length) this.version += `-${this.prerelease.join(\".\")}`;\n return this.version;\n }\n toString() {\n return this.version;\n }\n compare(other) {\n $23sN8(\"SemVer.compare\", this.version, this.options, other);\n if (!(other instanceof $ba0aa05c678ef093$var$SemVer)) {\n if (typeof other === \"string\" && other === this.version) return 0;\n other = new $ba0aa05c678ef093$var$SemVer(other, this.options);\n }\n if (other.version === this.version) return 0;\n return this.compareMain(other) || this.comparePre(other);\n }\n compareMain(other) {\n if (!(other instanceof $ba0aa05c678ef093$var$SemVer)) other = new $ba0aa05c678ef093$var$SemVer(other, this.options);\n return $ba0aa05c678ef093$require$compareIdentifiers(this.major, other.major) || $ba0aa05c678ef093$require$compareIdentifiers(this.minor, other.minor) || $ba0aa05c678ef093$require$compareIdentifiers(this.patch, other.patch);\n }\n comparePre(other) {\n if (!(other instanceof $ba0aa05c678ef093$var$SemVer)) other = new $ba0aa05c678ef093$var$SemVer(other, this.options);\n // NOT having a prerelease is > having one\n if (this.prerelease.length && !other.prerelease.length) return -1;\n else if (!this.prerelease.length && other.prerelease.length) return 1;\n else if (!this.prerelease.length && !other.prerelease.length) return 0;\n let i = 0;\n do {\n const a = this.prerelease[i];\n const b = other.prerelease[i];\n $23sN8(\"prerelease compare\", i, a, b);\n if (a === undefined && b === undefined) return 0;\n else if (b === undefined) return 1;\n else if (a === undefined) return -1;\n else if (a === b) continue;\n else return $ba0aa05c678ef093$require$compareIdentifiers(a, b);\n }while (++i);\n }\n compareBuild(other) {\n if (!(other instanceof $ba0aa05c678ef093$var$SemVer)) other = new $ba0aa05c678ef093$var$SemVer(other, this.options);\n let i = 0;\n do {\n const a = this.build[i];\n const b = other.build[i];\n $23sN8(\"prerelease compare\", i, a, b);\n if (a === undefined && b === undefined) return 0;\n else if (b === undefined) return 1;\n else if (a === undefined) return -1;\n else if (a === b) continue;\n else return $ba0aa05c678ef093$require$compareIdentifiers(a, b);\n }while (++i);\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, identifierBase) {\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, identifierBase);\n break;\n case \"preminor\":\n this.prerelease.length = 0;\n this.patch = 0;\n this.minor++;\n this.inc(\"pre\", identifier, identifierBase);\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, identifierBase);\n this.inc(\"pre\", identifier, identifierBase);\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) this.inc(\"patch\", identifier, identifierBase);\n this.inc(\"pre\", identifier, identifierBase);\n break;\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 (this.minor !== 0 || this.patch !== 0 || this.prerelease.length === 0) this.major++;\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) this.minor++;\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) this.patch++;\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 {\n const base = Number(identifierBase) ? 1 : 0;\n if (!identifier && identifierBase === false) throw new Error(\"invalid increment argument: identifier is empty\");\n if (this.prerelease.length === 0) this.prerelease = [\n base\n ];\n else {\n let i = this.prerelease.length;\n while(--i >= 0)if (typeof this.prerelease[i] === \"number\") {\n this.prerelease[i]++;\n i = -2;\n }\n if (i === -1) {\n // didn't increment anything\n if (identifier === this.prerelease.join(\".\") && identifierBase === false) throw new Error(\"invalid increment argument: identifier already exists\");\n this.prerelease.push(base);\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 let prerelease = [\n identifier,\n base\n ];\n if (identifierBase === false) prerelease = [\n identifier\n ];\n if ($ba0aa05c678ef093$require$compareIdentifiers(this.prerelease[0], identifier) === 0) {\n if (isNaN(this.prerelease[1])) this.prerelease = prerelease;\n } else this.prerelease = prerelease;\n }\n break;\n }\n default:\n throw new Error(`invalid increment argument: ${release}`);\n }\n this.raw = this.format();\n if (this.build.length) this.raw += `+${this.build.join(\".\")}`;\n return this;\n }\n}\nmodule.exports = $ba0aa05c678ef093$var$SemVer;\n\n});\nparcelRequire.register(\"kR8wQ\", function(module, exports) {\n// parse out just the options we care about\nconst $f2ef5f89140ff6f1$var$looseOption = Object.freeze({\n loose: true\n});\nconst $f2ef5f89140ff6f1$var$emptyOpts = Object.freeze({});\nconst $f2ef5f89140ff6f1$var$parseOptions = (options)=>{\n if (!options) return $f2ef5f89140ff6f1$var$emptyOpts;\n if (typeof options !== \"object\") return $f2ef5f89140ff6f1$var$looseOption;\n return options;\n};\nmodule.exports = $f2ef5f89140ff6f1$var$parseOptions;\n\n});\n\nparcelRequire.register(\"hQh8e\", function(module, exports) {\nconst $cfd49501d011ed60$var$numeric = /^[0-9]+$/;\nconst $cfd49501d011ed60$var$compareIdentifiers = (a, b)=>{\n const anum = $cfd49501d011ed60$var$numeric.test(a);\n const bnum = $cfd49501d011ed60$var$numeric.test(b);\n if (anum && bnum) {\n a = +a;\n b = +b;\n }\n return a === b ? 0 : anum && !bnum ? -1 : bnum && !anum ? 1 : a < b ? -1 : 1;\n};\nconst $cfd49501d011ed60$var$rcompareIdentifiers = (a, b)=>$cfd49501d011ed60$var$compareIdentifiers(b, a);\nmodule.exports = {\n compareIdentifiers: $cfd49501d011ed60$var$compareIdentifiers,\n rcompareIdentifiers: $cfd49501d011ed60$var$rcompareIdentifiers\n};\n\n});\n\n\nparcelRequire.register(\"5DLUR\", function(module, exports) {\n\nvar $fYigo = parcelRequire(\"fYigo\");\nconst $41b5c3648b11510d$var$parse = (version, options, throwErrors = false)=>{\n if (version instanceof $fYigo) return version;\n try {\n return new $fYigo(version, options);\n } catch (er) {\n if (!throwErrors) return null;\n throw er;\n }\n};\nmodule.exports = $41b5c3648b11510d$var$parse;\n\n});\n\nparcelRequire.register(\"eO4vc\", function(module, exports) {\n\nvar $5DLUR = parcelRequire(\"5DLUR\");\nconst $ac793a3c743c646a$var$valid = (version, options)=>{\n const v = $5DLUR(version, options);\n return v ? v.version : null;\n};\nmodule.exports = $ac793a3c743c646a$var$valid;\n\n});\n\nparcelRequire.register(\"5Pwcn\", function(module, exports) {\n\nvar $5DLUR = parcelRequire(\"5DLUR\");\nconst $43eab124770df325$var$clean = (version, options)=>{\n const s = $5DLUR(version.trim().replace(/^[=v]+/, \"\"), options);\n return s ? s.version : null;\n};\nmodule.exports = $43eab124770df325$var$clean;\n\n});\n\nparcelRequire.register(\"4dfSx\", function(module, exports) {\n\nvar $fYigo = parcelRequire(\"fYigo\");\nconst $3114b17776692d08$var$inc = (version, release, options, identifier, identifierBase)=>{\n if (typeof options === \"string\") {\n identifierBase = identifier;\n identifier = options;\n options = undefined;\n }\n try {\n return new $fYigo(version instanceof $fYigo ? version.version : version, options).inc(release, identifier, identifierBase).version;\n } catch (er) {\n return null;\n }\n};\nmodule.exports = $3114b17776692d08$var$inc;\n\n});\n\nparcelRequire.register(\"7cpCI\", function(module, exports) {\n\nvar $5DLUR = parcelRequire(\"5DLUR\");\nconst $53dd87add1467c2c$var$diff = (version1, version2)=>{\n const v1 = $5DLUR(version1, null, true);\n const v2 = $5DLUR(version2, null, true);\n const comparison = v1.compare(v2);\n if (comparison === 0) return null;\n const v1Higher = comparison > 0;\n const highVersion = v1Higher ? v1 : v2;\n const lowVersion = v1Higher ? v2 : v1;\n const highHasPre = !!highVersion.prerelease.length;\n const lowHasPre = !!lowVersion.prerelease.length;\n if (lowHasPre && !highHasPre) {\n // Going from prerelease -> no prerelease requires some special casing\n // If the low version has only a major, then it will always be a major\n // Some examples:\n // 1.0.0-1 -> 1.0.0\n // 1.0.0-1 -> 1.1.1\n // 1.0.0-1 -> 2.0.0\n if (!lowVersion.patch && !lowVersion.minor) return \"major\";\n // Otherwise it can be determined by checking the high version\n if (highVersion.patch) // anything higher than a patch bump would result in the wrong version\n return \"patch\";\n if (highVersion.minor) // anything higher than a minor bump would result in the wrong version\n return \"minor\";\n // bumping major/minor/patch all have same result\n return \"major\";\n }\n // add the `pre` prefix if we are going to a prerelease version\n const prefix = highHasPre ? \"pre\" : \"\";\n if (v1.major !== v2.major) return prefix + \"major\";\n if (v1.minor !== v2.minor) return prefix + \"minor\";\n if (v1.patch !== v2.patch) return prefix + \"patch\";\n // high and low are preleases\n return \"prerelease\";\n};\nmodule.exports = $53dd87add1467c2c$var$diff;\n\n});\n\nparcelRequire.register(\"7GceF\", function(module, exports) {\n\nvar $fYigo = parcelRequire(\"fYigo\");\nconst $5975f25cbd785194$var$major = (a, loose)=>new $fYigo(a, loose).major;\nmodule.exports = $5975f25cbd785194$var$major;\n\n});\n\nparcelRequire.register(\"k4OKF\", function(module, exports) {\n\nvar $fYigo = parcelRequire(\"fYigo\");\nconst $e9db8c9d270c8e4c$var$minor = (a, loose)=>new $fYigo(a, loose).minor;\nmodule.exports = $e9db8c9d270c8e4c$var$minor;\n\n});\n\nparcelRequire.register(\"lL63q\", function(module, exports) {\n\nvar $fYigo = parcelRequire(\"fYigo\");\nconst $fd72af079040da14$var$patch = (a, loose)=>new $fYigo(a, loose).patch;\nmodule.exports = $fd72af079040da14$var$patch;\n\n});\n\nparcelRequire.register(\"lhsZL\", function(module, exports) {\n\nvar $5DLUR = parcelRequire(\"5DLUR\");\nconst $f7e1ad5de9cf2ea2$var$prerelease = (version, options)=>{\n const parsed = $5DLUR(version, options);\n return parsed && parsed.prerelease.length ? parsed.prerelease : null;\n};\nmodule.exports = $f7e1ad5de9cf2ea2$var$prerelease;\n\n});\n\nparcelRequire.register(\"eSzHt\", function(module, exports) {\n\nvar $fYigo = parcelRequire(\"fYigo\");\nconst $ad51cd28b5f90d74$var$compare = (a, b, loose)=>new $fYigo(a, loose).compare(new $fYigo(b, loose));\nmodule.exports = $ad51cd28b5f90d74$var$compare;\n\n});\n\nparcelRequire.register(\"1yexC\", function(module, exports) {\n\nvar $eSzHt = parcelRequire(\"eSzHt\");\nconst $12143efdfa864e89$var$rcompare = (a, b, loose)=>$eSzHt(b, a, loose);\nmodule.exports = $12143efdfa864e89$var$rcompare;\n\n});\n\nparcelRequire.register(\"gI1Tk\", function(module, exports) {\n\nvar $eSzHt = parcelRequire(\"eSzHt\");\nconst $c2a239031b78a67c$var$compareLoose = (a, b)=>$eSzHt(a, b, true);\nmodule.exports = $c2a239031b78a67c$var$compareLoose;\n\n});\n\nparcelRequire.register(\"bn7NB\", function(module, exports) {\n\nvar $fYigo = parcelRequire(\"fYigo\");\nconst $8477e467454e8bfa$var$compareBuild = (a, b, loose)=>{\n const versionA = new $fYigo(a, loose);\n const versionB = new $fYigo(b, loose);\n return versionA.compare(versionB) || versionA.compareBuild(versionB);\n};\nmodule.exports = $8477e467454e8bfa$var$compareBuild;\n\n});\n\nparcelRequire.register(\"4yuO6\", function(module, exports) {\n\nvar $bn7NB = parcelRequire(\"bn7NB\");\nconst $35123c0fba740826$var$sort = (list, loose)=>list.sort((a, b)=>$bn7NB(a, b, loose));\nmodule.exports = $35123c0fba740826$var$sort;\n\n});\n\nparcelRequire.register(\"iea9H\", function(module, exports) {\n\nvar $bn7NB = parcelRequire(\"bn7NB\");\nconst $d451697574bb7521$var$rsort = (list, loose)=>list.sort((a, b)=>$bn7NB(b, a, loose));\nmodule.exports = $d451697574bb7521$var$rsort;\n\n});\n\nparcelRequire.register(\"gtqtv\", function(module, exports) {\n\nvar $eSzHt = parcelRequire(\"eSzHt\");\nconst $bfe3e426bb66e15a$var$gt = (a, b, loose)=>$eSzHt(a, b, loose) > 0;\nmodule.exports = $bfe3e426bb66e15a$var$gt;\n\n});\n\nparcelRequire.register(\"3Nc7w\", function(module, exports) {\n\nvar $eSzHt = parcelRequire(\"eSzHt\");\nconst $2c2f59856e69b700$var$lt = (a, b, loose)=>$eSzHt(a, b, loose) < 0;\nmodule.exports = $2c2f59856e69b700$var$lt;\n\n});\n\nparcelRequire.register(\"auc5a\", function(module, exports) {\n\nvar $eSzHt = parcelRequire(\"eSzHt\");\nconst $7a26140206b1cd7e$var$eq = (a, b, loose)=>$eSzHt(a, b, loose) === 0;\nmodule.exports = $7a26140206b1cd7e$var$eq;\n\n});\n\nparcelRequire.register(\"caa1L\", function(module, exports) {\n\nvar $eSzHt = parcelRequire(\"eSzHt\");\nconst $8dae3276c134cbe0$var$neq = (a, b, loose)=>$eSzHt(a, b, loose) !== 0;\nmodule.exports = $8dae3276c134cbe0$var$neq;\n\n});\n\nparcelRequire.register(\"1Ucjm\", function(module, exports) {\n\nvar $eSzHt = parcelRequire(\"eSzHt\");\nconst $1634922aac4a2d17$var$gte = (a, b, loose)=>$eSzHt(a, b, loose) >= 0;\nmodule.exports = $1634922aac4a2d17$var$gte;\n\n});\n\nparcelRequire.register(\"fAXcL\", function(module, exports) {\n\nvar $eSzHt = parcelRequire(\"eSzHt\");\nconst $b5a824adc7562a73$var$lte = (a, b, loose)=>$eSzHt(a, b, loose) <= 0;\nmodule.exports = $b5a824adc7562a73$var$lte;\n\n});\n\nparcelRequire.register(\"2ImCS\", function(module, exports) {\n\nvar $auc5a = parcelRequire(\"auc5a\");\n\nvar $caa1L = parcelRequire(\"caa1L\");\n\nvar $gtqtv = parcelRequire(\"gtqtv\");\n\nvar $1Ucjm = parcelRequire(\"1Ucjm\");\n\nvar $3Nc7w = parcelRequire(\"3Nc7w\");\n\nvar $fAXcL = parcelRequire(\"fAXcL\");\nconst $1fa13de8c46e27ae$var$cmp = (a, op, b, loose)=>{\n switch(op){\n case \"===\":\n if (typeof a === \"object\") a = a.version;\n if (typeof b === \"object\") b = b.version;\n return a === b;\n case \"!==\":\n if (typeof a === \"object\") a = a.version;\n if (typeof b === \"object\") b = b.version;\n return a !== b;\n case \"\":\n case \"=\":\n case \"==\":\n return $auc5a(a, b, loose);\n case \"!=\":\n return $caa1L(a, b, loose);\n case \">\":\n return $gtqtv(a, b, loose);\n case \">=\":\n return $1Ucjm(a, b, loose);\n case \"<\":\n return $3Nc7w(a, b, loose);\n case \"<=\":\n return $fAXcL(a, b, loose);\n default:\n throw new TypeError(`Invalid operator: ${op}`);\n }\n};\nmodule.exports = $1fa13de8c46e27ae$var$cmp;\n\n});\n\nparcelRequire.register(\"255mi\", function(module, exports) {\n\nvar $fYigo = parcelRequire(\"fYigo\");\n\nvar $5DLUR = parcelRequire(\"5DLUR\");\n\nvar $eDlr8 = parcelRequire(\"eDlr8\");\nvar $184034813a9adacb$require$re = $eDlr8.safeRe;\nvar $184034813a9adacb$require$t = $eDlr8.t;\nconst $184034813a9adacb$var$coerce = (version, options)=>{\n if (version instanceof $fYigo) return version;\n if (typeof version === \"number\") version = String(version);\n if (typeof version !== \"string\") return null;\n options = options || {};\n let match = null;\n if (!options.rtl) match = version.match($184034813a9adacb$require$re[$184034813a9adacb$require$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 = $184034813a9adacb$require$re[$184034813a9adacb$require$t.COERCERTL].exec(version)) && (!match || match.index + match[0].length !== version.length)){\n if (!match || next.index + next[0].length !== match.index + match[0].length) match = next;\n $184034813a9adacb$require$re[$184034813a9adacb$require$t.COERCERTL].lastIndex = next.index + next[1].length + next[2].length;\n }\n // leave it in a clean state\n $184034813a9adacb$require$re[$184034813a9adacb$require$t.COERCERTL].lastIndex = -1;\n }\n if (match === null) return null;\n return $5DLUR(`${match[2]}.${match[3] || \"0\"}.${match[4] || \"0\"}`, options);\n};\nmodule.exports = $184034813a9adacb$var$coerce;\n\n});\n\nparcelRequire.register(\"7BD2X\", function(module, exports) {\nconst $589a46f94c4faa9c$var$ANY = Symbol(\"SemVer ANY\");\n// hoisted class for cyclic dependency\nclass $589a46f94c4faa9c$var$Comparator {\n static get ANY() {\n return $589a46f94c4faa9c$var$ANY;\n }\n constructor(comp, options){\n options = $kR8wQ(options);\n if (comp instanceof $589a46f94c4faa9c$var$Comparator) {\n if (comp.loose === !!options.loose) return comp;\n else comp = comp.value;\n }\n comp = comp.trim().split(/\\s+/).join(\" \");\n $23sN8(\"comparator\", comp, options);\n this.options = options;\n this.loose = !!options.loose;\n this.parse(comp);\n if (this.semver === $589a46f94c4faa9c$var$ANY) this.value = \"\";\n else this.value = this.operator + this.semver.version;\n $23sN8(\"comp\", this);\n }\n parse(comp) {\n const r = this.options.loose ? $589a46f94c4faa9c$require$re[$589a46f94c4faa9c$require$t.COMPARATORLOOSE] : $589a46f94c4faa9c$require$re[$589a46f94c4faa9c$require$t.COMPARATOR];\n const m = comp.match(r);\n if (!m) throw new TypeError(`Invalid comparator: ${comp}`);\n this.operator = m[1] !== undefined ? m[1] : \"\";\n if (this.operator === \"=\") this.operator = \"\";\n // if it literally is just '>' or '' then allow anything.\n if (!m[2]) this.semver = $589a46f94c4faa9c$var$ANY;\n else this.semver = new $fYigo(m[2], this.options.loose);\n }\n toString() {\n return this.value;\n }\n test(version) {\n $23sN8(\"Comparator.test\", version, this.options.loose);\n if (this.semver === $589a46f94c4faa9c$var$ANY || version === $589a46f94c4faa9c$var$ANY) return true;\n if (typeof version === \"string\") try {\n version = new $fYigo(version, this.options);\n } catch (er) {\n return false;\n }\n return $2ImCS(version, this.operator, this.semver, this.options);\n }\n intersects(comp, options) {\n if (!(comp instanceof $589a46f94c4faa9c$var$Comparator)) throw new TypeError(\"a Comparator is required\");\n if (this.operator === \"\") {\n if (this.value === \"\") return true;\n return new $bGbOH(comp.value, options).test(this.value);\n } else if (comp.operator === \"\") {\n if (comp.value === \"\") return true;\n return new $bGbOH(this.value, options).test(comp.semver);\n }\n options = $kR8wQ(options);\n // Special cases where nothing can possibly be lower\n if (options.includePrerelease && (this.value === \"<0.0.0-0\" || comp.value === \"<0.0.0-0\")) return false;\n if (!options.includePrerelease && (this.value.startsWith(\"<0.0.0\") || comp.value.startsWith(\"<0.0.0\"))) return false;\n // Same direction increasing (> or >=)\n if (this.operator.startsWith(\">\") && comp.operator.startsWith(\">\")) return true;\n // Same direction decreasing (< or <=)\n if (this.operator.startsWith(\"<\") && comp.operator.startsWith(\"<\")) return true;\n // same SemVer and both sides are inclusive (<= or >=)\n if (this.semver.version === comp.semver.version && this.operator.includes(\"=\") && comp.operator.includes(\"=\")) return true;\n // opposite directions less than\n if ($2ImCS(this.semver, \"<\", comp.semver, options) && this.operator.startsWith(\">\") && comp.operator.startsWith(\"<\")) return true;\n // opposite directions greater than\n if ($2ImCS(this.semver, \">\", comp.semver, options) && this.operator.startsWith(\"<\") && comp.operator.startsWith(\">\")) return true;\n return false;\n }\n}\nmodule.exports = $589a46f94c4faa9c$var$Comparator;\n\nvar $kR8wQ = parcelRequire(\"kR8wQ\");\n\nvar $eDlr8 = parcelRequire(\"eDlr8\");\nvar $589a46f94c4faa9c$require$re = $eDlr8.safeRe;\nvar $589a46f94c4faa9c$require$t = $eDlr8.t;\n\nvar $2ImCS = parcelRequire(\"2ImCS\");\n\nvar $23sN8 = parcelRequire(\"23sN8\");\n\nvar $fYigo = parcelRequire(\"fYigo\");\n\nvar $bGbOH = parcelRequire(\"bGbOH\");\n\n});\nparcelRequire.register(\"bGbOH\", function(module, exports) {\n// hoisted class for cyclic dependency\nclass $880cc87d7da5fc49$var$Range {\n constructor(range, options){\n options = $kR8wQ(options);\n if (range instanceof $880cc87d7da5fc49$var$Range) {\n if (range.loose === !!options.loose && range.includePrerelease === !!options.includePrerelease) return range;\n else return new $880cc87d7da5fc49$var$Range(range.raw, options);\n }\n if (range instanceof $7BD2X) {\n // just put it in the set and return\n this.raw = range.value;\n this.set = [\n [\n range\n ]\n ];\n this.format();\n return this;\n }\n this.options = options;\n this.loose = !!options.loose;\n this.includePrerelease = !!options.includePrerelease;\n // First reduce all whitespace as much as possible so we do not have to rely\n // on potentially slow regexes like \\s*. This is then stored and used for\n // future error messages as well.\n this.raw = range.trim().split(/\\s+/).join(\" \");\n // First, split on ||\n this.set = this.raw.split(\"||\")// map the range to a 2d array of comparators\n .map((r)=>this.parseRange(r.trim()))// 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 if (!this.set.length) throw new TypeError(`Invalid SemVer Range: ${this.raw}`);\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)=>!$880cc87d7da5fc49$var$isNullSet(c[0]));\n if (this.set.length === 0) this.set = [\n first\n ];\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)if (c.length === 1 && $880cc87d7da5fc49$var$isAny(c[0])) {\n this.set = [\n c\n ];\n break;\n }\n }\n }\n this.format();\n }\n format() {\n this.range = this.set.map((comps)=>comps.join(\" \").trim()).join(\"||\").trim();\n return this.range;\n }\n toString() {\n return this.range;\n }\n parseRange(range) {\n // memoize range parsing for performance.\n // this is a very hot path, and fully deterministic.\n const memoOpts = (this.options.includePrerelease && $880cc87d7da5fc49$require$FLAG_INCLUDE_PRERELEASE) | (this.options.loose && $880cc87d7da5fc49$require$FLAG_LOOSE);\n const memoKey = memoOpts + \":\" + range;\n const cached = $880cc87d7da5fc49$var$cache.get(memoKey);\n if (cached) return cached;\n const loose = this.options.loose;\n // `1.2.3 - 1.2.4` => `>=1.2.3 <=1.2.4`\n const hr = loose ? $880cc87d7da5fc49$require$re[$880cc87d7da5fc49$require$t.HYPHENRANGELOOSE] : $880cc87d7da5fc49$require$re[$880cc87d7da5fc49$require$t.HYPHENRANGE];\n range = range.replace(hr, $880cc87d7da5fc49$var$hyphenReplace(this.options.includePrerelease));\n $23sN8(\"hyphen replace\", range);\n // `> 1.2.3 < 1.2.5` => `>1.2.3 <1.2.5`\n range = range.replace($880cc87d7da5fc49$require$re[$880cc87d7da5fc49$require$t.COMPARATORTRIM], $880cc87d7da5fc49$require$comparatorTrimReplace);\n $23sN8(\"comparator trim\", range);\n // `~ 1.2.3` => `~1.2.3`\n range = range.replace($880cc87d7da5fc49$require$re[$880cc87d7da5fc49$require$t.TILDETRIM], $880cc87d7da5fc49$require$tildeTrimReplace);\n $23sN8(\"tilde trim\", range);\n // `^ 1.2.3` => `^1.2.3`\n range = range.replace($880cc87d7da5fc49$require$re[$880cc87d7da5fc49$require$t.CARETTRIM], $880cc87d7da5fc49$require$caretTrimReplace);\n $23sN8(\"caret trim\", range);\n // At this point, the range is completely trimmed and\n // ready to be split into comparators.\n let rangeList = range.split(\" \").map((comp)=>$880cc87d7da5fc49$var$parseComparator(comp, this.options)).join(\" \").split(/\\s+/)// >=0.0.0 is equivalent to *\n .map((comp)=>$880cc87d7da5fc49$var$replaceGTE0(comp, this.options));\n if (loose) // in loose mode, throw out any that are not valid comparators\n rangeList = rangeList.filter((comp)=>{\n $23sN8(\"loose invalid filter\", comp, this.options);\n return !!comp.match($880cc87d7da5fc49$require$re[$880cc87d7da5fc49$require$t.COMPARATORLOOSE]);\n });\n $23sN8(\"range list\", rangeList);\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 $7BD2X(comp, this.options));\n for (const comp of comparators){\n if ($880cc87d7da5fc49$var$isNullSet(comp)) return [\n comp\n ];\n rangeMap.set(comp.value, comp);\n }\n if (rangeMap.size > 1 && rangeMap.has(\"\")) rangeMap.delete(\"\");\n const result = [\n ...rangeMap.values()\n ];\n $880cc87d7da5fc49$var$cache.set(memoKey, result);\n return result;\n }\n intersects(range, options) {\n if (!(range instanceof $880cc87d7da5fc49$var$Range)) throw new TypeError(\"a Range is required\");\n return this.set.some((thisComparators)=>{\n return $880cc87d7da5fc49$var$isSatisfiable(thisComparators, options) && range.set.some((rangeComparators)=>{\n return $880cc87d7da5fc49$var$isSatisfiable(rangeComparators, options) && thisComparators.every((thisComparator)=>{\n return rangeComparators.every((rangeComparator)=>{\n return thisComparator.intersects(rangeComparator, options);\n });\n });\n });\n });\n }\n // if ANY of the sets match ALL of its comparators, then pass\n test(version) {\n if (!version) return false;\n if (typeof version === \"string\") try {\n version = new $fYigo(version, this.options);\n } catch (er) {\n return false;\n }\n for(let i = 0; i < this.set.length; i++){\n if ($880cc87d7da5fc49$var$testSet(this.set[i], version, this.options)) return true;\n }\n return false;\n }\n}\nmodule.exports = $880cc87d7da5fc49$var$Range;\n\nvar $kS84i = parcelRequire(\"kS84i\");\nconst $880cc87d7da5fc49$var$cache = new $kS84i({\n max: 1000\n});\n\nvar $kR8wQ = parcelRequire(\"kR8wQ\");\n\nvar $7BD2X = parcelRequire(\"7BD2X\");\n\nvar $23sN8 = parcelRequire(\"23sN8\");\n\nvar $fYigo = parcelRequire(\"fYigo\");\n\nvar $eDlr8 = parcelRequire(\"eDlr8\");\nvar $880cc87d7da5fc49$require$re = $eDlr8.safeRe;\nvar $880cc87d7da5fc49$require$t = $eDlr8.t;\nvar $880cc87d7da5fc49$require$comparatorTrimReplace = $eDlr8.comparatorTrimReplace;\nvar $880cc87d7da5fc49$require$tildeTrimReplace = $eDlr8.tildeTrimReplace;\nvar $880cc87d7da5fc49$require$caretTrimReplace = $eDlr8.caretTrimReplace;\n\nvar $6fF7q = parcelRequire(\"6fF7q\");\nvar $880cc87d7da5fc49$require$FLAG_INCLUDE_PRERELEASE = $6fF7q.FLAG_INCLUDE_PRERELEASE;\nvar $880cc87d7da5fc49$require$FLAG_LOOSE = $6fF7q.FLAG_LOOSE;\nconst $880cc87d7da5fc49$var$isNullSet = (c)=>c.value === \"<0.0.0-0\";\nconst $880cc87d7da5fc49$var$isAny = (c)=>c.value === \"\";\n// take a set of comparators and determine whether there\n// exists a version which can satisfy it\nconst $880cc87d7da5fc49$var$isSatisfiable = (comparators, options)=>{\n let result = true;\n const remainingComparators = comparators.slice();\n let testComparator = remainingComparators.pop();\n while(result && remainingComparators.length){\n result = remainingComparators.every((otherComparator)=>{\n return testComparator.intersects(otherComparator, options);\n });\n testComparator = remainingComparators.pop();\n }\n return result;\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 $880cc87d7da5fc49$var$parseComparator = (comp, options)=>{\n $23sN8(\"comp\", comp, options);\n comp = $880cc87d7da5fc49$var$replaceCarets(comp, options);\n $23sN8(\"caret\", comp);\n comp = $880cc87d7da5fc49$var$replaceTildes(comp, options);\n $23sN8(\"tildes\", comp);\n comp = $880cc87d7da5fc49$var$replaceXRanges(comp, options);\n $23sN8(\"xrange\", comp);\n comp = $880cc87d7da5fc49$var$replaceStars(comp, options);\n $23sN8(\"stars\", comp);\n return comp;\n};\nconst $880cc87d7da5fc49$var$isX = (id)=>!id || id.toLowerCase() === \"x\" || id === \"*\";\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\n// ~0.0.1 --> >=0.0.1 <0.1.0-0\nconst $880cc87d7da5fc49$var$replaceTildes = (comp, options)=>{\n return comp.trim().split(/\\s+/).map((c)=>$880cc87d7da5fc49$var$replaceTilde(c, options)).join(\" \");\n};\nconst $880cc87d7da5fc49$var$replaceTilde = (comp, options)=>{\n const r = options.loose ? $880cc87d7da5fc49$require$re[$880cc87d7da5fc49$require$t.TILDELOOSE] : $880cc87d7da5fc49$require$re[$880cc87d7da5fc49$require$t.TILDE];\n return comp.replace(r, (_, M, m, p, pr)=>{\n $23sN8(\"tilde\", comp, _, M, m, p, pr);\n let ret;\n if ($880cc87d7da5fc49$var$isX(M)) ret = \"\";\n else if ($880cc87d7da5fc49$var$isX(m)) ret = `>=${M}.0.0 <${+M + 1}.0.0-0`;\n else if ($880cc87d7da5fc49$var$isX(p)) // ~1.2 == >=1.2.0 <1.3.0-0\n ret = `>=${M}.${m}.0 <${M}.${+m + 1}.0-0`;\n else if (pr) {\n $23sN8(\"replaceTilde pr\", pr);\n ret = `>=${M}.${m}.${p}-${pr} <${M}.${+m + 1}.0-0`;\n } else // ~1.2.3 == >=1.2.3 <1.3.0-0\n ret = `>=${M}.${m}.${p} <${M}.${+m + 1}.0-0`;\n $23sN8(\"tilde return\", ret);\n return ret;\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\n// ^0.0.1 --> >=0.0.1 <0.0.2-0\n// ^0.1.0 --> >=0.1.0 <0.2.0-0\nconst $880cc87d7da5fc49$var$replaceCarets = (comp, options)=>{\n return comp.trim().split(/\\s+/).map((c)=>$880cc87d7da5fc49$var$replaceCaret(c, options)).join(\" \");\n};\nconst $880cc87d7da5fc49$var$replaceCaret = (comp, options)=>{\n $23sN8(\"caret\", comp, options);\n const r = options.loose ? $880cc87d7da5fc49$require$re[$880cc87d7da5fc49$require$t.CARETLOOSE] : $880cc87d7da5fc49$require$re[$880cc87d7da5fc49$require$t.CARET];\n const z = options.includePrerelease ? \"-0\" : \"\";\n return comp.replace(r, (_, M, m, p, pr)=>{\n $23sN8(\"caret\", comp, _, M, m, p, pr);\n let ret;\n if ($880cc87d7da5fc49$var$isX(M)) ret = \"\";\n else if ($880cc87d7da5fc49$var$isX(m)) ret = `>=${M}.0.0${z} <${+M + 1}.0.0-0`;\n else if ($880cc87d7da5fc49$var$isX(p)) {\n if (M === \"0\") ret = `>=${M}.${m}.0${z} <${M}.${+m + 1}.0-0`;\n else ret = `>=${M}.${m}.0${z} <${+M + 1}.0.0-0`;\n } else if (pr) {\n $23sN8(\"replaceCaret pr\", pr);\n if (M === \"0\") {\n if (m === \"0\") ret = `>=${M}.${m}.${p}-${pr} <${M}.${m}.${+p + 1}-0`;\n else ret = `>=${M}.${m}.${p}-${pr} <${M}.${+m + 1}.0-0`;\n } else ret = `>=${M}.${m}.${p}-${pr} <${+M + 1}.0.0-0`;\n } else {\n $23sN8(\"no pr\");\n if (M === \"0\") {\n if (m === \"0\") ret = `>=${M}.${m}.${p}${z} <${M}.${m}.${+p + 1}-0`;\n else ret = `>=${M}.${m}.${p}${z} <${M}.${+m + 1}.0-0`;\n } else ret = `>=${M}.${m}.${p} <${+M + 1}.0.0-0`;\n }\n $23sN8(\"caret return\", ret);\n return ret;\n });\n};\nconst $880cc87d7da5fc49$var$replaceXRanges = (comp, options)=>{\n $23sN8(\"replaceXRanges\", comp, options);\n return comp.split(/\\s+/).map((c)=>$880cc87d7da5fc49$var$replaceXRange(c, options)).join(\" \");\n};\nconst $880cc87d7da5fc49$var$replaceXRange = (comp, options)=>{\n comp = comp.trim();\n const r = options.loose ? $880cc87d7da5fc49$require$re[$880cc87d7da5fc49$require$t.XRANGELOOSE] : $880cc87d7da5fc49$require$re[$880cc87d7da5fc49$require$t.XRANGE];\n return comp.replace(r, (ret, gtlt, M, m, p, pr)=>{\n $23sN8(\"xRange\", comp, ret, gtlt, M, m, p, pr);\n const xM = $880cc87d7da5fc49$var$isX(M);\n const xm = xM || $880cc87d7da5fc49$var$isX(m);\n const xp = xm || $880cc87d7da5fc49$var$isX(p);\n const anyX = xp;\n if (gtlt === \"=\" && anyX) gtlt = \"\";\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 if (xM) {\n if (gtlt === \">\" || gtlt === \"<\") // nothing is allowed\n ret = \"<0.0.0-0\";\n else // nothing is forbidden\n ret = \"*\";\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) m = 0;\n p = 0;\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) M = +M + 1;\n else m = +m + 1;\n }\n if (gtlt === \"<\") pr = \"-0\";\n ret = `${gtlt + M}.${m}.${p}${pr}`;\n } else if (xm) ret = `>=${M}.0.0${pr} <${+M + 1}.0.0-0`;\n else if (xp) ret = `>=${M}.${m}.0${pr} <${M}.${+m + 1}.0-0`;\n $23sN8(\"xRange return\", ret);\n return ret;\n });\n};\n// Because * is AND-ed with everything else in the comparator,\n// and '' means \"any version\", just remove the *s entirely.\nconst $880cc87d7da5fc49$var$replaceStars = (comp, options)=>{\n $23sN8(\"replaceStars\", comp, options);\n // Looseness is ignored here. star is always as loose as it gets!\n return comp.trim().replace($880cc87d7da5fc49$require$re[$880cc87d7da5fc49$require$t.STAR], \"\");\n};\nconst $880cc87d7da5fc49$var$replaceGTE0 = (comp, options)=>{\n $23sN8(\"replaceGTE0\", comp, options);\n return comp.trim().replace($880cc87d7da5fc49$require$re[options.includePrerelease ? $880cc87d7da5fc49$require$t.GTE0PRE : $880cc87d7da5fc49$require$t.GTE0], \"\");\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 $880cc87d7da5fc49$var$hyphenReplace = (incPr)=>($0, from, fM, fm, fp, fpr, fb, to, tM, tm, tp, tpr, tb)=>{\n if ($880cc87d7da5fc49$var$isX(fM)) from = \"\";\n else if ($880cc87d7da5fc49$var$isX(fm)) from = `>=${fM}.0.0${incPr ? \"-0\" : \"\"}`;\n else if ($880cc87d7da5fc49$var$isX(fp)) from = `>=${fM}.${fm}.0${incPr ? \"-0\" : \"\"}`;\n else if (fpr) from = `>=${from}`;\n else from = `>=${from}${incPr ? \"-0\" : \"\"}`;\n if ($880cc87d7da5fc49$var$isX(tM)) to = \"\";\n else if ($880cc87d7da5fc49$var$isX(tm)) to = `<${+tM + 1}.0.0-0`;\n else if ($880cc87d7da5fc49$var$isX(tp)) to = `<${tM}.${+tm + 1}.0-0`;\n else if (tpr) to = `<=${tM}.${tm}.${tp}-${tpr}`;\n else if (incPr) to = `<${tM}.${tm}.${+tp + 1}-0`;\n else to = `<=${to}`;\n return `${from} ${to}`.trim();\n };\nconst $880cc87d7da5fc49$var$testSet = (set, version, options)=>{\n for(let i = 0; i < set.length; i++){\n if (!set[i].test(version)) return false;\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 $23sN8(set[i].semver);\n if (set[i].semver === $7BD2X.ANY) continue;\n if (set[i].semver.prerelease.length > 0) {\n const allowed = set[i].semver;\n if (allowed.major === version.major && allowed.minor === version.minor && allowed.patch === version.patch) return true;\n }\n }\n // Version has a -pre, but it's not one of the ones we like.\n return false;\n }\n return true;\n};\n\n});\nparcelRequire.register(\"kS84i\", function(module, exports) {\n\"use strict\";\n\nvar $7o5x0 = parcelRequire(\"7o5x0\");\nconst $f31f1c02eb602182$var$MAX = Symbol(\"max\");\nconst $f31f1c02eb602182$var$LENGTH = Symbol(\"length\");\nconst $f31f1c02eb602182$var$LENGTH_CALCULATOR = Symbol(\"lengthCalculator\");\nconst $f31f1c02eb602182$var$ALLOW_STALE = Symbol(\"allowStale\");\nconst $f31f1c02eb602182$var$MAX_AGE = Symbol(\"maxAge\");\nconst $f31f1c02eb602182$var$DISPOSE = Symbol(\"dispose\");\nconst $f31f1c02eb602182$var$NO_DISPOSE_ON_SET = Symbol(\"noDisposeOnSet\");\nconst $f31f1c02eb602182$var$LRU_LIST = Symbol(\"lruList\");\nconst $f31f1c02eb602182$var$CACHE = Symbol(\"cache\");\nconst $f31f1c02eb602182$var$UPDATE_AGE_ON_GET = Symbol(\"updateAgeOnGet\");\nconst $f31f1c02eb602182$var$naiveLength = ()=>1;\n// lruList is a yallist where the head is the youngest\n// item, and the tail is the oldest. the list contains the Hit\n// objects as the entries.\n// Each Hit object has a reference to its Yallist.Node. This\n// never changes.\n//\n// cache is a Map (or PseudoMap) that matches the keys to\n// the Yallist.Node object.\nclass $f31f1c02eb602182$var$LRUCache {\n constructor(options){\n if (typeof options === \"number\") options = {\n max: options\n };\n if (!options) options = {};\n if (options.max && (typeof options.max !== \"number\" || options.max < 0)) throw new TypeError(\"max must be a non-negative number\");\n // Kind of weird to have a default max of Infinity, but oh well.\n const max = this[$f31f1c02eb602182$var$MAX] = options.max || Infinity;\n const lc = options.length || $f31f1c02eb602182$var$naiveLength;\n this[$f31f1c02eb602182$var$LENGTH_CALCULATOR] = typeof lc !== \"function\" ? $f31f1c02eb602182$var$naiveLength : lc;\n this[$f31f1c02eb602182$var$ALLOW_STALE] = options.stale || false;\n if (options.maxAge && typeof options.maxAge !== \"number\") throw new TypeError(\"maxAge must be a number\");\n this[$f31f1c02eb602182$var$MAX_AGE] = options.maxAge || 0;\n this[$f31f1c02eb602182$var$DISPOSE] = options.dispose;\n this[$f31f1c02eb602182$var$NO_DISPOSE_ON_SET] = options.noDisposeOnSet || false;\n this[$f31f1c02eb602182$var$UPDATE_AGE_ON_GET] = options.updateAgeOnGet || false;\n this.reset();\n }\n // resize the cache when the max changes.\n set max(mL) {\n if (typeof mL !== \"number\" || mL < 0) throw new TypeError(\"max must be a non-negative number\");\n this[$f31f1c02eb602182$var$MAX] = mL || Infinity;\n $f31f1c02eb602182$var$trim(this);\n }\n get max() {\n return this[$f31f1c02eb602182$var$MAX];\n }\n set allowStale(allowStale) {\n this[$f31f1c02eb602182$var$ALLOW_STALE] = !!allowStale;\n }\n get allowStale() {\n return this[$f31f1c02eb602182$var$ALLOW_STALE];\n }\n set maxAge(mA) {\n if (typeof mA !== \"number\") throw new TypeError(\"maxAge must be a non-negative number\");\n this[$f31f1c02eb602182$var$MAX_AGE] = mA;\n $f31f1c02eb602182$var$trim(this);\n }\n get maxAge() {\n return this[$f31f1c02eb602182$var$MAX_AGE];\n }\n // resize the cache when the lengthCalculator changes.\n set lengthCalculator(lC) {\n if (typeof lC !== \"function\") lC = $f31f1c02eb602182$var$naiveLength;\n if (lC !== this[$f31f1c02eb602182$var$LENGTH_CALCULATOR]) {\n this[$f31f1c02eb602182$var$LENGTH_CALCULATOR] = lC;\n this[$f31f1c02eb602182$var$LENGTH] = 0;\n this[$f31f1c02eb602182$var$LRU_LIST].forEach((hit)=>{\n hit.length = this[$f31f1c02eb602182$var$LENGTH_CALCULATOR](hit.value, hit.key);\n this[$f31f1c02eb602182$var$LENGTH] += hit.length;\n });\n }\n $f31f1c02eb602182$var$trim(this);\n }\n get lengthCalculator() {\n return this[$f31f1c02eb602182$var$LENGTH_CALCULATOR];\n }\n get length() {\n return this[$f31f1c02eb602182$var$LENGTH];\n }\n get itemCount() {\n return this[$f31f1c02eb602182$var$LRU_LIST].length;\n }\n rforEach(fn, thisp) {\n thisp = thisp || this;\n for(let walker = this[$f31f1c02eb602182$var$LRU_LIST].tail; walker !== null;){\n const prev = walker.prev;\n $f31f1c02eb602182$var$forEachStep(this, fn, walker, thisp);\n walker = prev;\n }\n }\n forEach(fn, thisp) {\n thisp = thisp || this;\n for(let walker = this[$f31f1c02eb602182$var$LRU_LIST].head; walker !== null;){\n const next = walker.next;\n $f31f1c02eb602182$var$forEachStep(this, fn, walker, thisp);\n walker = next;\n }\n }\n keys() {\n return this[$f31f1c02eb602182$var$LRU_LIST].toArray().map((k)=>k.key);\n }\n values() {\n return this[$f31f1c02eb602182$var$LRU_LIST].toArray().map((k)=>k.value);\n }\n reset() {\n if (this[$f31f1c02eb602182$var$DISPOSE] && this[$f31f1c02eb602182$var$LRU_LIST] && this[$f31f1c02eb602182$var$LRU_LIST].length) this[$f31f1c02eb602182$var$LRU_LIST].forEach((hit)=>this[$f31f1c02eb602182$var$DISPOSE](hit.key, hit.value));\n this[$f31f1c02eb602182$var$CACHE] = new Map() // hash of items by key\n ;\n this[$f31f1c02eb602182$var$LRU_LIST] = new $7o5x0() // list of items in order of use recency\n ;\n this[$f31f1c02eb602182$var$LENGTH] = 0 // length of items in the list\n ;\n }\n dump() {\n return this[$f31f1c02eb602182$var$LRU_LIST].map((hit)=>$f31f1c02eb602182$var$isStale(this, hit) ? false : {\n k: hit.key,\n v: hit.value,\n e: hit.now + (hit.maxAge || 0)\n }).toArray().filter((h)=>h);\n }\n dumpLru() {\n return this[$f31f1c02eb602182$var$LRU_LIST];\n }\n set(key, value, maxAge) {\n maxAge = maxAge || this[$f31f1c02eb602182$var$MAX_AGE];\n if (maxAge && typeof maxAge !== \"number\") throw new TypeError(\"maxAge must be a number\");\n const now = maxAge ? Date.now() : 0;\n const len = this[$f31f1c02eb602182$var$LENGTH_CALCULATOR](value, key);\n if (this[$f31f1c02eb602182$var$CACHE].has(key)) {\n if (len > this[$f31f1c02eb602182$var$MAX]) {\n $f31f1c02eb602182$var$del(this, this[$f31f1c02eb602182$var$CACHE].get(key));\n return false;\n }\n const node = this[$f31f1c02eb602182$var$CACHE].get(key);\n const item = node.value;\n // dispose of the old one before overwriting\n // split out into 2 ifs for better coverage tracking\n if (this[$f31f1c02eb602182$var$DISPOSE]) {\n if (!this[$f31f1c02eb602182$var$NO_DISPOSE_ON_SET]) this[$f31f1c02eb602182$var$DISPOSE](key, item.value);\n }\n item.now = now;\n item.maxAge = maxAge;\n item.value = value;\n this[$f31f1c02eb602182$var$LENGTH] += len - item.length;\n item.length = len;\n this.get(key);\n $f31f1c02eb602182$var$trim(this);\n return true;\n }\n const hit = new $f31f1c02eb602182$var$Entry(key, value, len, now, maxAge);\n // oversized objects fall out of cache automatically.\n if (hit.length > this[$f31f1c02eb602182$var$MAX]) {\n if (this[$f31f1c02eb602182$var$DISPOSE]) this[$f31f1c02eb602182$var$DISPOSE](key, value);\n return false;\n }\n this[$f31f1c02eb602182$var$LENGTH] += hit.length;\n this[$f31f1c02eb602182$var$LRU_LIST].unshift(hit);\n this[$f31f1c02eb602182$var$CACHE].set(key, this[$f31f1c02eb602182$var$LRU_LIST].head);\n $f31f1c02eb602182$var$trim(this);\n return true;\n }\n has(key) {\n if (!this[$f31f1c02eb602182$var$CACHE].has(key)) return false;\n const hit = this[$f31f1c02eb602182$var$CACHE].get(key).value;\n return !$f31f1c02eb602182$var$isStale(this, hit);\n }\n get(key) {\n return $f31f1c02eb602182$var$get(this, key, true);\n }\n peek(key) {\n return $f31f1c02eb602182$var$get(this, key, false);\n }\n pop() {\n const node = this[$f31f1c02eb602182$var$LRU_LIST].tail;\n if (!node) return null;\n $f31f1c02eb602182$var$del(this, node);\n return node.value;\n }\n del(key) {\n $f31f1c02eb602182$var$del(this, this[$f31f1c02eb602182$var$CACHE].get(key));\n }\n load(arr) {\n // reset the cache\n this.reset();\n const now = Date.now();\n // A previous serialized cache has the most recent items first\n for(let l = arr.length - 1; l >= 0; l--){\n const hit = arr[l];\n const expiresAt = hit.e || 0;\n if (expiresAt === 0) // the item was created without expiration in a non aged cache\n this.set(hit.k, hit.v);\n else {\n const maxAge = expiresAt - now;\n // dont add already expired items\n if (maxAge > 0) this.set(hit.k, hit.v, maxAge);\n }\n }\n }\n prune() {\n this[$f31f1c02eb602182$var$CACHE].forEach((value, key)=>$f31f1c02eb602182$var$get(this, key, false));\n }\n}\nconst $f31f1c02eb602182$var$get = (self, key, doUse)=>{\n const node = self[$f31f1c02eb602182$var$CACHE].get(key);\n if (node) {\n const hit = node.value;\n if ($f31f1c02eb602182$var$isStale(self, hit)) {\n $f31f1c02eb602182$var$del(self, node);\n if (!self[$f31f1c02eb602182$var$ALLOW_STALE]) return undefined;\n } else if (doUse) {\n if (self[$f31f1c02eb602182$var$UPDATE_AGE_ON_GET]) node.value.now = Date.now();\n self[$f31f1c02eb602182$var$LRU_LIST].unshiftNode(node);\n }\n return hit.value;\n }\n};\nconst $f31f1c02eb602182$var$isStale = (self, hit)=>{\n if (!hit || !hit.maxAge && !self[$f31f1c02eb602182$var$MAX_AGE]) return false;\n const diff = Date.now() - hit.now;\n return hit.maxAge ? diff > hit.maxAge : self[$f31f1c02eb602182$var$MAX_AGE] && diff > self[$f31f1c02eb602182$var$MAX_AGE];\n};\nconst $f31f1c02eb602182$var$trim = (self)=>{\n if (self[$f31f1c02eb602182$var$LENGTH] > self[$f31f1c02eb602182$var$MAX]) for(let walker = self[$f31f1c02eb602182$var$LRU_LIST].tail; self[$f31f1c02eb602182$var$LENGTH] > self[$f31f1c02eb602182$var$MAX] && walker !== null;){\n // We know that we're about to delete this one, and also\n // what the next least recently used key will be, so just\n // go ahead and set it now.\n const prev = walker.prev;\n $f31f1c02eb602182$var$del(self, walker);\n walker = prev;\n }\n};\nconst $f31f1c02eb602182$var$del = (self, node)=>{\n if (node) {\n const hit = node.value;\n if (self[$f31f1c02eb602182$var$DISPOSE]) self[$f31f1c02eb602182$var$DISPOSE](hit.key, hit.value);\n self[$f31f1c02eb602182$var$LENGTH] -= hit.length;\n self[$f31f1c02eb602182$var$CACHE].delete(hit.key);\n self[$f31f1c02eb602182$var$LRU_LIST].removeNode(node);\n }\n};\nclass $f31f1c02eb602182$var$Entry {\n constructor(key, value, length, now, maxAge){\n this.key = key;\n this.value = value;\n this.length = length;\n this.now = now;\n this.maxAge = maxAge || 0;\n }\n}\nconst $f31f1c02eb602182$var$forEachStep = (self, fn, node, thisp)=>{\n let hit = node.value;\n if ($f31f1c02eb602182$var$isStale(self, hit)) {\n $f31f1c02eb602182$var$del(self, node);\n if (!self[$f31f1c02eb602182$var$ALLOW_STALE]) hit = undefined;\n }\n if (hit) fn.call(thisp, hit.value, hit.key, self);\n};\nmodule.exports = $f31f1c02eb602182$var$LRUCache;\n\n});\nparcelRequire.register(\"7o5x0\", function(module, exports) {\n\"use strict\";\nmodule.exports = $560f10b5dc3ae884$var$Yallist;\n$560f10b5dc3ae884$var$Yallist.Node = $560f10b5dc3ae884$var$Node;\n$560f10b5dc3ae884$var$Yallist.create = $560f10b5dc3ae884$var$Yallist;\nfunction $560f10b5dc3ae884$var$Yallist(list) {\n var self = this;\n if (!(self instanceof $560f10b5dc3ae884$var$Yallist)) self = new $560f10b5dc3ae884$var$Yallist();\n self.tail = null;\n self.head = null;\n self.length = 0;\n if (list && typeof list.forEach === \"function\") list.forEach(function(item) {\n self.push(item);\n });\n else if (arguments.length > 0) for(var i = 0, l = arguments.length; i < l; i++)self.push(arguments[i]);\n return self;\n}\n$560f10b5dc3ae884$var$Yallist.prototype.removeNode = function(node) {\n if (node.list !== this) throw new Error(\"removing node which does not belong to this list\");\n var next = node.next;\n var prev = node.prev;\n if (next) next.prev = prev;\n if (prev) prev.next = next;\n if (node === this.head) this.head = next;\n if (node === this.tail) this.tail = prev;\n node.list.length--;\n node.next = null;\n node.prev = null;\n node.list = null;\n return next;\n};\n$560f10b5dc3ae884$var$Yallist.prototype.unshiftNode = function(node) {\n if (node === this.head) return;\n if (node.list) node.list.removeNode(node);\n var head = this.head;\n node.list = this;\n node.next = head;\n if (head) head.prev = node;\n this.head = node;\n if (!this.tail) this.tail = node;\n this.length++;\n};\n$560f10b5dc3ae884$var$Yallist.prototype.pushNode = function(node) {\n if (node === this.tail) return;\n if (node.list) node.list.removeNode(node);\n var tail = this.tail;\n node.list = this;\n node.prev = tail;\n if (tail) tail.next = node;\n this.tail = node;\n if (!this.head) this.head = node;\n this.length++;\n};\n$560f10b5dc3ae884$var$Yallist.prototype.push = function() {\n for(var i = 0, l = arguments.length; i < l; i++)$560f10b5dc3ae884$var$push(this, arguments[i]);\n return this.length;\n};\n$560f10b5dc3ae884$var$Yallist.prototype.unshift = function() {\n for(var i = 0, l = arguments.length; i < l; i++)$560f10b5dc3ae884$var$unshift(this, arguments[i]);\n return this.length;\n};\n$560f10b5dc3ae884$var$Yallist.prototype.pop = function() {\n if (!this.tail) return undefined;\n var res = this.tail.value;\n this.tail = this.tail.prev;\n if (this.tail) this.tail.next = null;\n else this.head = null;\n this.length--;\n return res;\n};\n$560f10b5dc3ae884$var$Yallist.prototype.shift = function() {\n if (!this.head) return undefined;\n var res = this.head.value;\n this.head = this.head.next;\n if (this.head) this.head.prev = null;\n else this.tail = null;\n this.length--;\n return res;\n};\n$560f10b5dc3ae884$var$Yallist.prototype.forEach = function(fn, thisp) {\n thisp = thisp || this;\n for(var walker = this.head, i = 0; walker !== null; i++){\n fn.call(thisp, walker.value, i, this);\n walker = walker.next;\n }\n};\n$560f10b5dc3ae884$var$Yallist.prototype.forEachReverse = function(fn, thisp) {\n thisp = thisp || this;\n for(var walker = this.tail, i = this.length - 1; walker !== null; i--){\n fn.call(thisp, walker.value, i, this);\n walker = walker.prev;\n }\n};\n$560f10b5dc3ae884$var$Yallist.prototype.get = function(n) {\n for(var i = 0, walker = this.head; walker !== null && i < n; i++)// abort out of the list early if we hit a cycle\n walker = walker.next;\n if (i === n && walker !== null) return walker.value;\n};\n$560f10b5dc3ae884$var$Yallist.prototype.getReverse = function(n) {\n for(var i = 0, walker = this.tail; walker !== null && i < n; i++)// abort out of the list early if we hit a cycle\n walker = walker.prev;\n if (i === n && walker !== null) return walker.value;\n};\n$560f10b5dc3ae884$var$Yallist.prototype.map = function(fn, thisp) {\n thisp = thisp || this;\n var res = new $560f10b5dc3ae884$var$Yallist();\n for(var walker = this.head; walker !== null;){\n res.push(fn.call(thisp, walker.value, this));\n walker = walker.next;\n }\n return res;\n};\n$560f10b5dc3ae884$var$Yallist.prototype.mapReverse = function(fn, thisp) {\n thisp = thisp || this;\n var res = new $560f10b5dc3ae884$var$Yallist();\n for(var walker = this.tail; walker !== null;){\n res.push(fn.call(thisp, walker.value, this));\n walker = walker.prev;\n }\n return res;\n};\n$560f10b5dc3ae884$var$Yallist.prototype.reduce = function(fn, initial) {\n var acc;\n var walker = this.head;\n if (arguments.length > 1) acc = initial;\n else if (this.head) {\n walker = this.head.next;\n acc = this.head.value;\n } else throw new TypeError(\"Reduce of empty list with no initial value\");\n for(var i = 0; walker !== null; i++){\n acc = fn(acc, walker.value, i);\n walker = walker.next;\n }\n return acc;\n};\n$560f10b5dc3ae884$var$Yallist.prototype.reduceReverse = function(fn, initial) {\n var acc;\n var walker = this.tail;\n if (arguments.length > 1) acc = initial;\n else if (this.tail) {\n walker = this.tail.prev;\n acc = this.tail.value;\n } else throw new TypeError(\"Reduce of empty list with no initial value\");\n for(var i = this.length - 1; walker !== null; i--){\n acc = fn(acc, walker.value, i);\n walker = walker.prev;\n }\n return acc;\n};\n$560f10b5dc3ae884$var$Yallist.prototype.toArray = function() {\n var arr = new Array(this.length);\n for(var i = 0, walker = this.head; walker !== null; i++){\n arr[i] = walker.value;\n walker = walker.next;\n }\n return arr;\n};\n$560f10b5dc3ae884$var$Yallist.prototype.toArrayReverse = function() {\n var arr = new Array(this.length);\n for(var i = 0, walker = this.tail; walker !== null; i++){\n arr[i] = walker.value;\n walker = walker.prev;\n }\n return arr;\n};\n$560f10b5dc3ae884$var$Yallist.prototype.slice = function(from, to) {\n to = to || this.length;\n if (to < 0) to += this.length;\n from = from || 0;\n if (from < 0) from += this.length;\n var ret = new $560f10b5dc3ae884$var$Yallist();\n if (to < from || to < 0) return ret;\n if (from < 0) from = 0;\n if (to > this.length) to = this.length;\n for(var i = 0, walker = this.head; walker !== null && i < from; i++)walker = walker.next;\n for(; walker !== null && i < to; i++, walker = walker.next)ret.push(walker.value);\n return ret;\n};\n$560f10b5dc3ae884$var$Yallist.prototype.sliceReverse = function(from, to) {\n to = to || this.length;\n if (to < 0) to += this.length;\n from = from || 0;\n if (from < 0) from += this.length;\n var ret = new $560f10b5dc3ae884$var$Yallist();\n if (to < from || to < 0) return ret;\n if (from < 0) from = 0;\n if (to > this.length) to = this.length;\n for(var i = this.length, walker = this.tail; walker !== null && i > to; i--)walker = walker.prev;\n for(; walker !== null && i > from; i--, walker = walker.prev)ret.push(walker.value);\n return ret;\n};\n$560f10b5dc3ae884$var$Yallist.prototype.splice = function(start, deleteCount, ...nodes) {\n if (start > this.length) start = this.length - 1;\n if (start < 0) start = this.length + start;\n for(var i = 0, walker = this.head; walker !== null && i < start; i++)walker = walker.next;\n var ret = [];\n for(var i = 0; walker && i < deleteCount; i++){\n ret.push(walker.value);\n walker = this.removeNode(walker);\n }\n if (walker === null) walker = this.tail;\n if (walker !== this.head && walker !== this.tail) walker = walker.prev;\n for(var i = 0; i < nodes.length; i++)walker = $560f10b5dc3ae884$var$insert(this, walker, nodes[i]);\n return ret;\n};\n$560f10b5dc3ae884$var$Yallist.prototype.reverse = function() {\n var head = this.head;\n var tail = this.tail;\n for(var walker = head; walker !== null; walker = walker.prev){\n var p = walker.prev;\n walker.prev = walker.next;\n walker.next = p;\n }\n this.head = tail;\n this.tail = head;\n return this;\n};\nfunction $560f10b5dc3ae884$var$insert(self, node, value) {\n var inserted = node === self.head ? new $560f10b5dc3ae884$var$Node(value, null, node, self) : new $560f10b5dc3ae884$var$Node(value, node, node.next, self);\n if (inserted.next === null) self.tail = inserted;\n if (inserted.prev === null) self.head = inserted;\n self.length++;\n return inserted;\n}\nfunction $560f10b5dc3ae884$var$push(self, item) {\n self.tail = new $560f10b5dc3ae884$var$Node(item, self.tail, null, self);\n if (!self.head) self.head = self.tail;\n self.length++;\n}\nfunction $560f10b5dc3ae884$var$unshift(self, item) {\n self.head = new $560f10b5dc3ae884$var$Node(item, null, self.head, self);\n if (!self.tail) self.tail = self.head;\n self.length++;\n}\nfunction $560f10b5dc3ae884$var$Node(value, prev, next, list) {\n if (!(this instanceof $560f10b5dc3ae884$var$Node)) return new $560f10b5dc3ae884$var$Node(value, prev, next, list);\n this.list = list;\n this.value = value;\n if (prev) {\n prev.next = this;\n this.prev = prev;\n } else this.prev = null;\n if (next) {\n next.prev = this;\n this.next = next;\n } else this.next = null;\n}\n\ntry {\n // add if support for Symbol.iterator is present\n (parcelRequire(\"60rfl\"))($560f10b5dc3ae884$var$Yallist);\n} catch (er) {}\n\n});\nparcelRequire.register(\"60rfl\", function(module, exports) {\n\"use strict\";\nmodule.exports = function(Yallist) {\n Yallist.prototype[Symbol.iterator] = function*() {\n for(let walker = this.head; walker; walker = walker.next)yield walker.value;\n };\n};\n\n});\n\n\n\n\n\nparcelRequire.register(\"eLOWZ\", function(module, exports) {\n\nvar $bGbOH = parcelRequire(\"bGbOH\");\nconst $ac0cfa2afe31035e$var$satisfies = (version, range, options)=>{\n try {\n range = new $bGbOH(range, options);\n } catch (er) {\n return false;\n }\n return range.test(version);\n};\nmodule.exports = $ac0cfa2afe31035e$var$satisfies;\n\n});\n\nparcelRequire.register(\"lCDwg\", function(module, exports) {\n\nvar $bGbOH = parcelRequire(\"bGbOH\");\n// Mostly just for testing and legacy API reasons\nconst $fbdbcd4d4a7ac801$var$toComparators = (range, options)=>new $bGbOH(range, options).set.map((comp)=>comp.map((c)=>c.value).join(\" \").trim().split(\" \"));\nmodule.exports = $fbdbcd4d4a7ac801$var$toComparators;\n\n});\n\nparcelRequire.register(\"iLpkq\", function(module, exports) {\n\nvar $fYigo = parcelRequire(\"fYigo\");\n\nvar $bGbOH = parcelRequire(\"bGbOH\");\nconst $da9043811558d8bf$var$maxSatisfying = (versions, range, options)=>{\n let max = null;\n let maxSV = null;\n let rangeObj = null;\n try {\n rangeObj = new $bGbOH(range, options);\n } catch (er) {\n return null;\n }\n versions.forEach((v)=>{\n if (rangeObj.test(v)) // satisfies(v, range, options)\n {\n if (!max || maxSV.compare(v) === -1) {\n // compare(max, v, true)\n max = v;\n maxSV = new $fYigo(max, options);\n }\n }\n });\n return max;\n};\nmodule.exports = $da9043811558d8bf$var$maxSatisfying;\n\n});\n\nparcelRequire.register(\"gEzC5\", function(module, exports) {\n\nvar $fYigo = parcelRequire(\"fYigo\");\n\nvar $bGbOH = parcelRequire(\"bGbOH\");\nconst $c1fc01d414b40e92$var$minSatisfying = (versions, range, options)=>{\n let min = null;\n let minSV = null;\n let rangeObj = null;\n try {\n rangeObj = new $bGbOH(range, options);\n } catch (er) {\n return null;\n }\n versions.forEach((v)=>{\n if (rangeObj.test(v)) // satisfies(v, range, options)\n {\n if (!min || minSV.compare(v) === 1) {\n // compare(min, v, true)\n min = v;\n minSV = new $fYigo(min, options);\n }\n }\n });\n return min;\n};\nmodule.exports = $c1fc01d414b40e92$var$minSatisfying;\n\n});\n\nparcelRequire.register(\"kOEjN\", function(module, exports) {\n\nvar $fYigo = parcelRequire(\"fYigo\");\n\nvar $bGbOH = parcelRequire(\"bGbOH\");\n\nvar $gtqtv = parcelRequire(\"gtqtv\");\nconst $f277c08728df4c5c$var$minVersion = (range, loose)=>{\n range = new $bGbOH(range, loose);\n let minver = new $fYigo(\"0.0.0\");\n if (range.test(minver)) return minver;\n minver = new $fYigo(\"0.0.0-0\");\n if (range.test(minver)) return minver;\n minver = null;\n for(let i = 0; i < range.set.length; ++i){\n const comparators = range.set[i];\n let setMin = null;\n comparators.forEach((comparator)=>{\n // Clone to avoid manipulating the comparator's semver object.\n const compver = new $fYigo(comparator.semver.version);\n switch(comparator.operator){\n case \">\":\n if (compver.prerelease.length === 0) compver.patch++;\n else compver.prerelease.push(0);\n compver.raw = compver.format();\n /* fallthrough */ case \"\":\n case \">=\":\n if (!setMin || $gtqtv(compver, setMin)) setMin = compver;\n break;\n case \"<\":\n case \"<=\":\n break;\n /* istanbul ignore next */ default:\n throw new Error(`Unexpected operation: ${comparator.operator}`);\n }\n });\n if (setMin && (!minver || $gtqtv(minver, setMin))) minver = setMin;\n }\n if (minver && range.test(minver)) return minver;\n return null;\n};\nmodule.exports = $f277c08728df4c5c$var$minVersion;\n\n});\n\nparcelRequire.register(\"lSCGC\", function(module, exports) {\n\nvar $bGbOH = parcelRequire(\"bGbOH\");\nconst $fedca673fe238240$var$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 $bGbOH(range, options).range || \"*\";\n } catch (er) {\n return null;\n }\n};\nmodule.exports = $fedca673fe238240$var$validRange;\n\n});\n\nparcelRequire.register(\"kRbmr\", function(module, exports) {\n\nvar $fYigo = parcelRequire(\"fYigo\");\n\nvar $7BD2X = parcelRequire(\"7BD2X\");\nconst { ANY: $f2f191f3260ab77b$var$ANY } = $7BD2X;\n\nvar $bGbOH = parcelRequire(\"bGbOH\");\n\nvar $eLOWZ = parcelRequire(\"eLOWZ\");\n\nvar $gtqtv = parcelRequire(\"gtqtv\");\n\nvar $3Nc7w = parcelRequire(\"3Nc7w\");\n\nvar $fAXcL = parcelRequire(\"fAXcL\");\n\nvar $1Ucjm = parcelRequire(\"1Ucjm\");\nconst $f2f191f3260ab77b$var$outside = (version, range, hilo, options)=>{\n version = new $fYigo(version, options);\n range = new $bGbOH(range, options);\n let gtfn, ltefn, ltfn, comp, ecomp;\n switch(hilo){\n case \">\":\n gtfn = $gtqtv;\n ltefn = $fAXcL;\n ltfn = $3Nc7w;\n comp = \">\";\n ecomp = \">=\";\n break;\n case \"<\":\n gtfn = $3Nc7w;\n ltefn = $1Ucjm;\n ltfn = $gtqtv;\n comp = \"<\";\n ecomp = \"<=\";\n break;\n default:\n throw new TypeError('Must provide a hilo val of \"<\" or \">\"');\n }\n // If it satisfies the range it is not outside\n if ($eLOWZ(version, range, options)) return false;\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 for(let i = 0; i < range.set.length; ++i){\n const comparators = range.set[i];\n let high = null;\n let low = null;\n comparators.forEach((comparator)=>{\n if (comparator.semver === $f2f191f3260ab77b$var$ANY) comparator = new $7BD2X(\">=0.0.0\");\n high = high || comparator;\n low = low || comparator;\n if (gtfn(comparator.semver, high.semver, options)) high = comparator;\n else if (ltfn(comparator.semver, low.semver, options)) low = comparator;\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) return false;\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) && ltefn(version, low.semver)) return false;\n else if (low.operator === ecomp && ltfn(version, low.semver)) return false;\n }\n return true;\n};\nmodule.exports = $f2f191f3260ab77b$var$outside;\n\n});\n\nparcelRequire.register(\"jjglH\", function(module, exports) {\n// Determine if version is greater than all the versions possible in the range.\n\nvar $kRbmr = parcelRequire(\"kRbmr\");\nconst $e0ec79394ea7fc4e$var$gtr = (version, range, options)=>$kRbmr(version, range, \">\", options);\nmodule.exports = $e0ec79394ea7fc4e$var$gtr;\n\n});\n\nparcelRequire.register(\"52D05\", function(module, exports) {\n\nvar $kRbmr = parcelRequire(\"kRbmr\");\n// Determine if version is less than all the versions possible in the range\nconst $3abb64515288f83c$var$ltr = (version, range, options)=>$kRbmr(version, range, \"<\", options);\nmodule.exports = $3abb64515288f83c$var$ltr;\n\n});\n\nparcelRequire.register(\"3lRwj\", function(module, exports) {\n\nvar $bGbOH = parcelRequire(\"bGbOH\");\nconst $270cd94773b4a0dc$var$intersects = (r1, r2, options)=>{\n r1 = new $bGbOH(r1, options);\n r2 = new $bGbOH(r2, options);\n return r1.intersects(r2, options);\n};\nmodule.exports = $270cd94773b4a0dc$var$intersects;\n\n});\n\nparcelRequire.register(\"ahb6l\", function(module, exports) {\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.\n\nvar $eLOWZ = parcelRequire(\"eLOWZ\");\n\nvar $eSzHt = parcelRequire(\"eSzHt\");\nmodule.exports = (versions, range, options)=>{\n const set = [];\n let first = null;\n let prev = null;\n const v = versions.sort((a, b)=>$eSzHt(a, b, options));\n for (const version of v){\n const included = $eLOWZ(version, range, options);\n if (included) {\n prev = version;\n if (!first) first = version;\n } else {\n if (prev) set.push([\n first,\n prev\n ]);\n prev = null;\n first = null;\n }\n }\n if (first) set.push([\n first,\n null\n ]);\n const ranges = [];\n for (const [min, max] of set){\n if (min === max) ranges.push(min);\n else if (!max && min === v[0]) ranges.push(\"*\");\n else if (!max) ranges.push(`>=${min}`);\n else if (min === v[0]) ranges.push(`<=${max}`);\n else ranges.push(`${min} - ${max}`);\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\n});\n\nparcelRequire.register(\"bfmht\", function(module, exports) {\n\nvar $bGbOH = parcelRequire(\"bGbOH\");\n\nvar $7BD2X = parcelRequire(\"7BD2X\");\nconst { ANY: $830260f47e2c9d26$var$ANY } = $7BD2X;\n\nvar $eLOWZ = parcelRequire(\"eLOWZ\");\n\nvar $eSzHt = parcelRequire(\"eSzHt\");\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\nconst $830260f47e2c9d26$var$subset = (sub, dom, options = {})=>{\n if (sub === dom) return true;\n sub = new $bGbOH(sub, options);\n dom = new $bGbOH(dom, options);\n let sawNonNull = false;\n OUTER: for (const simpleSub of sub.set){\n for (const simpleDom of dom.set){\n const isSub = $830260f47e2c9d26$var$simpleSubset(simpleSub, simpleDom, options);\n sawNonNull = sawNonNull || isSub !== null;\n if (isSub) continue OUTER;\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) return false;\n }\n return true;\n};\nconst $830260f47e2c9d26$var$minimumVersionWithPreRelease = [\n new $7BD2X(\">=0.0.0-0\")\n];\nconst $830260f47e2c9d26$var$minimumVersion = [\n new $7BD2X(\">=0.0.0\")\n];\nconst $830260f47e2c9d26$var$simpleSubset = (sub, dom, options)=>{\n if (sub === dom) return true;\n if (sub.length === 1 && sub[0].semver === $830260f47e2c9d26$var$ANY) {\n if (dom.length === 1 && dom[0].semver === $830260f47e2c9d26$var$ANY) return true;\n else if (options.includePrerelease) sub = $830260f47e2c9d26$var$minimumVersionWithPreRelease;\n else sub = $830260f47e2c9d26$var$minimumVersion;\n }\n if (dom.length === 1 && dom[0].semver === $830260f47e2c9d26$var$ANY) {\n if (options.includePrerelease) return true;\n else dom = $830260f47e2c9d26$var$minimumVersion;\n }\n const eqSet = new Set();\n let gt, lt;\n for (const c of sub){\n if (c.operator === \">\" || c.operator === \">=\") gt = $830260f47e2c9d26$var$higherGT(gt, c, options);\n else if (c.operator === \"<\" || c.operator === \"<=\") lt = $830260f47e2c9d26$var$lowerLT(lt, c, options);\n else eqSet.add(c.semver);\n }\n if (eqSet.size > 1) return null;\n let gtltComp;\n if (gt && lt) {\n gtltComp = $eSzHt(gt.semver, lt.semver, options);\n if (gtltComp > 0) return null;\n else if (gtltComp === 0 && (gt.operator !== \">=\" || lt.operator !== \"<=\")) return null;\n }\n // will iterate one or zero times\n for (const eq of eqSet){\n if (gt && !$eLOWZ(eq, String(gt), options)) return null;\n if (lt && !$eLOWZ(eq, String(lt), options)) return null;\n for (const c of dom){\n if (!$eLOWZ(eq, String(c), options)) return false;\n }\n return true;\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 && !options.includePrerelease && lt.semver.prerelease.length ? lt.semver : false;\n let needDomGTPre = gt && !options.includePrerelease && 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 && lt.operator === \"<\" && needDomLTPre.prerelease[0] === 0) needDomLTPre = false;\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 && c.semver.major === needDomGTPre.major && c.semver.minor === needDomGTPre.minor && c.semver.patch === needDomGTPre.patch) needDomGTPre = false;\n }\n if (c.operator === \">\" || c.operator === \">=\") {\n higher = $830260f47e2c9d26$var$higherGT(gt, c, options);\n if (higher === c && higher !== gt) return false;\n } else if (gt.operator === \">=\" && !$eLOWZ(gt.semver, String(c), options)) return false;\n }\n if (lt) {\n if (needDomLTPre) {\n if (c.semver.prerelease && c.semver.prerelease.length && c.semver.major === needDomLTPre.major && c.semver.minor === needDomLTPre.minor && c.semver.patch === needDomLTPre.patch) needDomLTPre = false;\n }\n if (c.operator === \"<\" || c.operator === \"<=\") {\n lower = $830260f47e2c9d26$var$lowerLT(lt, c, options);\n if (lower === c && lower !== lt) return false;\n } else if (lt.operator === \"<=\" && !$eLOWZ(lt.semver, String(c), options)) return false;\n }\n if (!c.operator && (lt || gt) && gtltComp !== 0) return false;\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) return false;\n if (lt && hasDomGT && !gt && gtltComp !== 0) return false;\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) return false;\n return true;\n};\n// >=1.2.3 is lower than >1.2.3\nconst $830260f47e2c9d26$var$higherGT = (a, b, options)=>{\n if (!a) return b;\n const comp = $eSzHt(a.semver, b.semver, options);\n return comp > 0 ? a : comp < 0 ? b : b.operator === \">\" && a.operator === \">=\" ? b : a;\n};\n// <=1.2.3 is higher than <1.2.3\nconst $830260f47e2c9d26$var$lowerLT = (a, b, options)=>{\n if (!a) return b;\n const comp = $eSzHt(a.semver, b.semver, options);\n return comp < 0 ? a : comp > 0 ? b : b.operator === \"<\" && a.operator === \"<=\" ? b : a;\n};\nmodule.exports = $830260f47e2c9d26$var$subset;\n\n});\n\n\nparcelRequire.register(\"eaZtc\", function(module, exports) {\n\"use strict\";\nvar $a521ae8352d67723$var$matchOperatorsRe = /[|\\\\{}()[\\]^$+*?.]/g;\nmodule.exports = function(str) {\n if (typeof str !== \"string\") throw new TypeError(\"Expected a string\");\n return str.replace($a521ae8352d67723$var$matchOperatorsRe, \"\\\\$&\");\n};\n\n});\n\nparcelRequire.register(\"3WkGD\", function(module, exports) {\n\n$parcel$export(module.exports, \"pathExists\", () => $2de6d5d4f3894641$export$f8b9fb4db095815b);\n\nasync function $2de6d5d4f3894641$export$f8b9fb4db095815b(path) {\n try {\n await (0, $4umf8$nodefs.promises).access(path);\n return true;\n } catch {\n return false;\n }\n}\nfunction $2de6d5d4f3894641$export$d878061e34fd0f5a(path) {\n try {\n (0, ($parcel$interopDefault($4umf8$nodefs))).accessSync(path);\n return true;\n } catch {\n return false;\n }\n}\n\n});\n\nparcelRequire.register(\"A8hFE\", function(module, exports) {\n\n$parcel$export(module.exports, \"addExeExt\", () => $3cf0226b443012ff$export$2d20c564cade3c93);\n$parcel$export(module.exports, \"addShExt\", () => $3cf0226b443012ff$export$609be29b80b555e1);\n$parcel$export(module.exports, \"addShRelativePrefix\", () => $3cf0226b443012ff$export$e1f23f8d3e53fe6);\n$parcel$export(module.exports, \"dirname\", () => $4umf8$path.dirname);\n$parcel$export(module.exports, \"join\", () => $4umf8$path.join);\n\n\nvar $9O4vc = parcelRequire(\"9O4vc\");\n\nvar $eVYO7 = parcelRequire(\"eVYO7\");\nfunction $3cf0226b443012ff$var$e(e, a) {\n return Object.keys(a).forEach((r)=>{\n \"default\" === r || \"__esModule\" === r || e.hasOwnProperty(r) || Object.defineProperty(e, r, {\n enumerable: !0,\n get () {\n return a[r];\n }\n });\n }), e;\n}\nfunction $3cf0226b443012ff$var$a(e, a, r, s) {\n Object.defineProperty(e, a, {\n get: r,\n set: s,\n enumerable: !0,\n configurable: !0\n });\n}\nfunction $3cf0226b443012ff$export$a8ff84c12d48cfa6(e, a = !0) {\n return a ? (0, $4umf8$path.basename)(e) : (0, $4umf8$path.basename)(e, (0, $4umf8$path.extname)(e));\n}\nfunction $3cf0226b443012ff$export$873fead74fe2f1ff(e) {\n return (0, $4umf8$path.normalize)(e).replace(RegExp((0, $9O4vc.default)((0, $4umf8$path.sep)) + \"$\"), \"\");\n}\nfunction $3cf0226b443012ff$export$2d20c564cade3c93(e, a = \".exe\", r = \"\") {\n return \"win32\" === process.platform ? `${e}${a}` : `${e}${r}`;\n}\nfunction $3cf0226b443012ff$export$3e333f8cb13439c(e, a) {\n const r = (0, $4umf8$path.extname)(e), s = `${a}${(0, $4umf8$path.basename)(e, r)}${r}`;\n return (0, $4umf8$path.join)((0, $4umf8$path.dirname)(e), s);\n}\nfunction $3cf0226b443012ff$export$3b60a3e9bd1aef9d(e, a) {\n const r = (0, $4umf8$path.extname)(e), s = `${(0, $4umf8$path.basename)(e, r)}${a}${r}`;\n return (0, $4umf8$path.join)((0, $4umf8$path.dirname)(e), s);\n}\nfunction $3cf0226b443012ff$export$609be29b80b555e1(e, a = \".cmd\", r = \".sh\") {\n return \"win32\" === process.platform ? `${e}${a}` : `${e}${r}`;\n}\nfunction $3cf0226b443012ff$export$e1f23f8d3e53fe6(e) {\n return \"win32\" === process.platform ? e : \"./\" + e;\n}\nfunction $3cf0226b443012ff$export$19c5468f88f6e968(e) {\n const a = (0, $4umf8$path.extname)(e).length;\n return e.slice(0, -a);\n}\nfunction $3cf0226b443012ff$export$e9c34737ac8e53d2(e, a) {\n return (0, (/*@__PURE__*/$parcel$interopDefault($eVYO7)))(e, a);\n}\nfunction $3cf0226b443012ff$export$7d0573375890d05c(e, a) {\n const r = (0, $4umf8$path.relative)(a, e);\n return !(!r || \"..\" === r || r.startsWith(\"..\" + (0, $4umf8$path.sep)) || r === (0, $4umf8$path.resolve)(e));\n}\nvar $3cf0226b443012ff$var$O = {}, $3cf0226b443012ff$var$R = {};\n$3cf0226b443012ff$var$a($3cf0226b443012ff$var$R, \"name\", ()=>$3cf0226b443012ff$export$a8ff84c12d48cfa6);\nvar $3cf0226b443012ff$var$A = {};\n$3cf0226b443012ff$var$a($3cf0226b443012ff$var$A, \"normalizeTrim\", ()=>$3cf0226b443012ff$export$873fead74fe2f1ff);\nvar $3cf0226b443012ff$var$I = {};\n$3cf0226b443012ff$var$a($3cf0226b443012ff$var$I, \"addExeExt\", ()=>$3cf0226b443012ff$export$2d20c564cade3c93);\nvar $3cf0226b443012ff$var$T = {};\n$3cf0226b443012ff$var$a($3cf0226b443012ff$var$T, \"addNamePrefix\", ()=>$3cf0226b443012ff$export$3e333f8cb13439c);\nvar $3cf0226b443012ff$var$_ = {};\n$3cf0226b443012ff$var$a($3cf0226b443012ff$var$_, \"addNameSuffix\", ()=>$3cf0226b443012ff$export$3b60a3e9bd1aef9d);\nvar $3cf0226b443012ff$var$k = {};\n$3cf0226b443012ff$var$a($3cf0226b443012ff$var$k, \"addShExt\", ()=>$3cf0226b443012ff$export$609be29b80b555e1);\nvar $3cf0226b443012ff$var$M = {};\n$3cf0226b443012ff$var$a($3cf0226b443012ff$var$M, \"addShRelativePrefix\", ()=>$3cf0226b443012ff$export$e1f23f8d3e53fe6);\nvar $3cf0226b443012ff$var$W = {};\n$3cf0226b443012ff$var$a($3cf0226b443012ff$var$W, \"removeExt\", ()=>$3cf0226b443012ff$export$19c5468f88f6e968);\nvar $3cf0226b443012ff$var$q = {};\n$3cf0226b443012ff$var$a($3cf0226b443012ff$var$q, \"replaceExt\", ()=>$3cf0226b443012ff$export$e9c34737ac8e53d2);\nvar $3cf0226b443012ff$var$B = {};\n$3cf0226b443012ff$var$a($3cf0226b443012ff$var$B, \"isPathInside\", ()=>$3cf0226b443012ff$export$7d0573375890d05c), $3cf0226b443012ff$var$e($3cf0226b443012ff$var$O, $3cf0226b443012ff$var$R), $3cf0226b443012ff$var$e($3cf0226b443012ff$var$O, $3cf0226b443012ff$var$A), $3cf0226b443012ff$var$e($3cf0226b443012ff$var$O, $3cf0226b443012ff$var$I), $3cf0226b443012ff$var$e($3cf0226b443012ff$var$O, $3cf0226b443012ff$var$T), $3cf0226b443012ff$var$e($3cf0226b443012ff$var$O, $3cf0226b443012ff$var$_), $3cf0226b443012ff$var$e($3cf0226b443012ff$var$O, $3cf0226b443012ff$var$k), $3cf0226b443012ff$var$e($3cf0226b443012ff$var$O, $3cf0226b443012ff$var$M), $3cf0226b443012ff$var$e($3cf0226b443012ff$var$O, $3cf0226b443012ff$var$W), $3cf0226b443012ff$var$e($3cf0226b443012ff$var$O, $3cf0226b443012ff$var$q), $3cf0226b443012ff$var$e($3cf0226b443012ff$var$O, $3cf0226b443012ff$var$B);\n\n});\nparcelRequire.register(\"9O4vc\", function(module, exports) {\n\n$parcel$export(module.exports, \"default\", () => $723c4697268d5b16$export$2e2bcd8739ae039);\nfunction $723c4697268d5b16$export$2e2bcd8739ae039(string) {\n if (typeof string !== \"string\") throw new TypeError(\"Expected a string\");\n // Escape characters with special meaning either inside or outside character sets.\n // 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 return string.replace(/[|\\\\{}()[\\]^$+*?.]/g, \"\\\\$&\").replace(/-/g, \"\\\\x2d\");\n}\n\n});\n\nparcelRequire.register(\"eVYO7\", function(module, exports) {\n\"use strict\";\n\nfunction $adf58e9cb2dd2e98$var$replaceExt(npath, ext) {\n if (typeof npath !== \"string\") return npath;\n if (npath.length === 0) return npath;\n var nFileName = $4umf8$path.basename(npath, $4umf8$path.extname(npath)) + ext;\n var nFilepath = $4umf8$path.join($4umf8$path.dirname(npath), nFileName);\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 ($adf58e9cb2dd2e98$var$startsWithSingleDot(npath)) return \".\" + $4umf8$path.sep + nFilepath;\n return nFilepath;\n}\nfunction $adf58e9cb2dd2e98$var$startsWithSingleDot(fpath) {\n var first2chars = fpath.slice(0, 2);\n return first2chars === \".\" + $4umf8$path.sep || first2chars === \"./\";\n}\nmodule.exports = $adf58e9cb2dd2e98$var$replaceExt;\n\n});\n\n\nparcelRequire.register(\"kSdX3\", function(module, exports) {\n\"use strict\";\nvar $f323ac4262f9029c$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $f323ac4262f9029c$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $f323ac4262f9029c$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $f323ac4262f9029c$var$__createBinding(result, mod, k);\n }\n $f323ac4262f9029c$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $f323ac4262f9029c$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.findInPath = module.exports.which = module.exports.mkdirP = module.exports.rmRF = module.exports.mv = module.exports.cp = void 0;\n\n\nconst $f323ac4262f9029c$var$path = $f323ac4262f9029c$var$__importStar($4umf8$path);\n\nconst $f323ac4262f9029c$var$ioUtil = $f323ac4262f9029c$var$__importStar((parcelRequire(\"11Ly6\")));\n/**\n * Copies a file or folder.\n * Based off of shelljs - https://github.com/shelljs/shelljs/blob/9237f66c52e5daa40458f94f9565e18e8132f5a6/src/cp.js\n *\n * @param source source path\n * @param dest destination path\n * @param options optional. See CopyOptions.\n */ function $f323ac4262f9029c$var$cp(source, dest, options = {}) {\n return $f323ac4262f9029c$var$__awaiter(this, void 0, void 0, function*() {\n const { force: force, recursive: recursive, copySourceDirectory: copySourceDirectory } = $f323ac4262f9029c$var$readCopyOptions(options);\n const destStat = (yield $f323ac4262f9029c$var$ioUtil.exists(dest)) ? yield $f323ac4262f9029c$var$ioUtil.stat(dest) : null;\n // Dest is an existing file, but not forcing\n if (destStat && destStat.isFile() && !force) return;\n // If dest is an existing directory, should copy inside.\n const newDest = destStat && destStat.isDirectory() && copySourceDirectory ? $f323ac4262f9029c$var$path.join(dest, $f323ac4262f9029c$var$path.basename(source)) : dest;\n if (!(yield $f323ac4262f9029c$var$ioUtil.exists(source))) throw new Error(`no such file or directory: ${source}`);\n const sourceStat = yield $f323ac4262f9029c$var$ioUtil.stat(source);\n if (sourceStat.isDirectory()) {\n if (!recursive) throw new Error(`Failed to copy. ${source} is a directory, but tried to copy without recursive flag.`);\n else yield $f323ac4262f9029c$var$cpDirRecursive(source, newDest, 0, force);\n } else {\n if ($f323ac4262f9029c$var$path.relative(source, newDest) === \"\") // a file cannot be copied to itself\n throw new Error(`'${newDest}' and '${source}' are the same file`);\n yield $f323ac4262f9029c$var$copyFile(source, newDest, force);\n }\n });\n}\nmodule.exports.cp = $f323ac4262f9029c$var$cp;\n/**\n * Moves a path.\n *\n * @param source source path\n * @param dest destination path\n * @param options optional. See MoveOptions.\n */ function $f323ac4262f9029c$var$mv(source, dest, options = {}) {\n return $f323ac4262f9029c$var$__awaiter(this, void 0, void 0, function*() {\n if (yield $f323ac4262f9029c$var$ioUtil.exists(dest)) {\n let destExists = true;\n if (yield $f323ac4262f9029c$var$ioUtil.isDirectory(dest)) {\n // If dest is directory copy src into dest\n dest = $f323ac4262f9029c$var$path.join(dest, $f323ac4262f9029c$var$path.basename(source));\n destExists = yield $f323ac4262f9029c$var$ioUtil.exists(dest);\n }\n if (destExists) {\n if (options.force == null || options.force) yield $f323ac4262f9029c$var$rmRF(dest);\n else throw new Error(\"Destination already exists\");\n }\n }\n yield $f323ac4262f9029c$var$mkdirP($f323ac4262f9029c$var$path.dirname(dest));\n yield $f323ac4262f9029c$var$ioUtil.rename(source, dest);\n });\n}\nmodule.exports.mv = $f323ac4262f9029c$var$mv;\n/**\n * Remove a path recursively with force\n *\n * @param inputPath path to remove\n */ function $f323ac4262f9029c$var$rmRF(inputPath) {\n return $f323ac4262f9029c$var$__awaiter(this, void 0, void 0, function*() {\n if ($f323ac4262f9029c$var$ioUtil.IS_WINDOWS) {\n // Check for invalid characters\n // https://docs.microsoft.com/en-us/windows/win32/fileio/naming-a-file\n if (/[*\"<>|]/.test(inputPath)) throw new Error('File path must not contain `*`, `\"`, `<`, `>` or `|` on Windows');\n }\n try {\n // note if path does not exist, error is silent\n yield $f323ac4262f9029c$var$ioUtil.rm(inputPath, {\n force: true,\n maxRetries: 3,\n recursive: true,\n retryDelay: 300\n });\n } catch (err) {\n throw new Error(`File was unable to be removed ${err}`);\n }\n });\n}\nmodule.exports.rmRF = $f323ac4262f9029c$var$rmRF;\n/**\n * Make a directory. Creates the full path with folders in between\n * Will throw if it fails\n *\n * @param fsPath path to create\n * @returns Promise\n */ function $f323ac4262f9029c$var$mkdirP(fsPath) {\n return $f323ac4262f9029c$var$__awaiter(this, void 0, void 0, function*() {\n $4umf8$assert.ok(fsPath, \"a path argument must be provided\");\n yield $f323ac4262f9029c$var$ioUtil.mkdir(fsPath, {\n recursive: true\n });\n });\n}\nmodule.exports.mkdirP = $f323ac4262f9029c$var$mkdirP;\n/**\n * Returns path of a tool had the tool actually been invoked. Resolves via paths.\n * If you check and the tool does not exist, it will throw.\n *\n * @param tool name of the tool\n * @param check whether to check if tool exists\n * @returns Promise path to tool\n */ function $f323ac4262f9029c$var$which(tool, check) {\n return $f323ac4262f9029c$var$__awaiter(this, void 0, void 0, function*() {\n if (!tool) throw new Error(\"parameter 'tool' is required\");\n // recursive when check=true\n if (check) {\n const result = yield $f323ac4262f9029c$var$which(tool, false);\n if (!result) {\n if ($f323ac4262f9029c$var$ioUtil.IS_WINDOWS) throw new Error(`Unable to locate executable file: ${tool}. 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.`);\n else throw new Error(`Unable to locate executable file: ${tool}. 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.`);\n }\n return result;\n }\n const matches = yield $f323ac4262f9029c$var$findInPath(tool);\n if (matches && matches.length > 0) return matches[0];\n return \"\";\n });\n}\nmodule.exports.which = $f323ac4262f9029c$var$which;\n/**\n * Returns a list of all occurrences of the given tool on the system path.\n *\n * @returns Promise the paths of the tool\n */ function $f323ac4262f9029c$var$findInPath(tool) {\n return $f323ac4262f9029c$var$__awaiter(this, void 0, void 0, function*() {\n if (!tool) throw new Error(\"parameter 'tool' is required\");\n // build the list of extensions to try\n const extensions = [];\n if ($f323ac4262f9029c$var$ioUtil.IS_WINDOWS && process.env[\"PATHEXT\"]) {\n for (const extension of process.env[\"PATHEXT\"].split($f323ac4262f9029c$var$path.delimiter))if (extension) extensions.push(extension);\n }\n // if it's rooted, return it if exists. otherwise return empty.\n if ($f323ac4262f9029c$var$ioUtil.isRooted(tool)) {\n const filePath = yield $f323ac4262f9029c$var$ioUtil.tryGetExecutablePath(tool, extensions);\n if (filePath) return [\n filePath\n ];\n return [];\n }\n // if any path separators, return empty\n if (tool.includes($f323ac4262f9029c$var$path.sep)) return [];\n // build the list of directories\n //\n // Note, technically \"where\" checks the current directory on Windows. From a toolkit perspective,\n // it feels like we should not do this. Checking the current directory seems like more of a use\n // case of a shell, and the which() function exposed by the toolkit should strive for consistency\n // across platforms.\n const directories = [];\n if (process.env.PATH) {\n for (const p of process.env.PATH.split($f323ac4262f9029c$var$path.delimiter))if (p) directories.push(p);\n }\n // find all matches\n const matches = [];\n for (const directory of directories){\n const filePath = yield $f323ac4262f9029c$var$ioUtil.tryGetExecutablePath($f323ac4262f9029c$var$path.join(directory, tool), extensions);\n if (filePath) matches.push(filePath);\n }\n return matches;\n });\n}\nmodule.exports.findInPath = $f323ac4262f9029c$var$findInPath;\nfunction $f323ac4262f9029c$var$readCopyOptions(options) {\n const force = options.force == null ? true : options.force;\n const recursive = Boolean(options.recursive);\n const copySourceDirectory = options.copySourceDirectory == null ? true : Boolean(options.copySourceDirectory);\n return {\n force: force,\n recursive: recursive,\n copySourceDirectory: copySourceDirectory\n };\n}\nfunction $f323ac4262f9029c$var$cpDirRecursive(sourceDir, destDir, currentDepth, force) {\n return $f323ac4262f9029c$var$__awaiter(this, void 0, void 0, function*() {\n // Ensure there is not a run away recursive copy\n if (currentDepth >= 255) return;\n currentDepth++;\n yield $f323ac4262f9029c$var$mkdirP(destDir);\n const files = yield $f323ac4262f9029c$var$ioUtil.readdir(sourceDir);\n for (const fileName of files){\n const srcFile = `${sourceDir}/${fileName}`;\n const destFile = `${destDir}/${fileName}`;\n const srcFileStat = yield $f323ac4262f9029c$var$ioUtil.lstat(srcFile);\n if (srcFileStat.isDirectory()) // Recurse\n yield $f323ac4262f9029c$var$cpDirRecursive(srcFile, destFile, currentDepth, force);\n else yield $f323ac4262f9029c$var$copyFile(srcFile, destFile, force);\n }\n // Change the mode for the newly created directory\n yield $f323ac4262f9029c$var$ioUtil.chmod(destDir, (yield $f323ac4262f9029c$var$ioUtil.stat(sourceDir)).mode);\n });\n}\n// Buffered file copy\nfunction $f323ac4262f9029c$var$copyFile(srcFile, destFile, force) {\n return $f323ac4262f9029c$var$__awaiter(this, void 0, void 0, function*() {\n if ((yield $f323ac4262f9029c$var$ioUtil.lstat(srcFile)).isSymbolicLink()) {\n // unlink/re-link it\n try {\n yield $f323ac4262f9029c$var$ioUtil.lstat(destFile);\n yield $f323ac4262f9029c$var$ioUtil.unlink(destFile);\n } catch (e) {\n // Try to override file permission\n if (e.code === \"EPERM\") {\n yield $f323ac4262f9029c$var$ioUtil.chmod(destFile, \"0666\");\n yield $f323ac4262f9029c$var$ioUtil.unlink(destFile);\n }\n // other errors = it doesn't exist, no work to do\n }\n // Copy over symlink\n const symlinkFull = yield $f323ac4262f9029c$var$ioUtil.readlink(srcFile);\n yield $f323ac4262f9029c$var$ioUtil.symlink(symlinkFull, destFile, $f323ac4262f9029c$var$ioUtil.IS_WINDOWS ? \"junction\" : null);\n } else if (!(yield $f323ac4262f9029c$var$ioUtil.exists(destFile)) || force) yield $f323ac4262f9029c$var$ioUtil.copyFile(srcFile, destFile);\n });\n}\n\n});\nparcelRequire.register(\"11Ly6\", function(module, exports) {\n\"use strict\";\nvar $0bfac4ae8cbb07fd$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $0bfac4ae8cbb07fd$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $0bfac4ae8cbb07fd$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $0bfac4ae8cbb07fd$var$__createBinding(result, mod, k);\n }\n $0bfac4ae8cbb07fd$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $0bfac4ae8cbb07fd$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar $0bfac4ae8cbb07fd$var$_a;\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.getCmdPath = module.exports.tryGetExecutablePath = module.exports.isRooted = module.exports.isDirectory = module.exports.exists = module.exports.READONLY = module.exports.UV_FS_O_EXLOCK = module.exports.IS_WINDOWS = module.exports.unlink = module.exports.symlink = module.exports.stat = module.exports.rmdir = module.exports.rm = module.exports.rename = module.exports.readlink = module.exports.readdir = module.exports.open = module.exports.mkdir = module.exports.lstat = module.exports.copyFile = module.exports.chmod = void 0;\n\nconst $0bfac4ae8cbb07fd$var$fs = $0bfac4ae8cbb07fd$var$__importStar($4umf8$fs);\n\nconst $0bfac4ae8cbb07fd$var$path = $0bfac4ae8cbb07fd$var$__importStar($4umf8$path);\n$0bfac4ae8cbb07fd$var$_a = $0bfac4ae8cbb07fd$var$fs.promises, module.exports.chmod = $0bfac4ae8cbb07fd$var$_a.chmod, module.exports.copyFile = $0bfac4ae8cbb07fd$var$_a.copyFile, module.exports.lstat = $0bfac4ae8cbb07fd$var$_a.lstat, module.exports.mkdir = $0bfac4ae8cbb07fd$var$_a.mkdir, module.exports.open = $0bfac4ae8cbb07fd$var$_a.open, module.exports.readdir = $0bfac4ae8cbb07fd$var$_a.readdir, module.exports.readlink = $0bfac4ae8cbb07fd$var$_a.readlink, module.exports.rename = $0bfac4ae8cbb07fd$var$_a.rename, module.exports.rm = $0bfac4ae8cbb07fd$var$_a.rm, module.exports.rmdir = $0bfac4ae8cbb07fd$var$_a.rmdir, module.exports.stat = $0bfac4ae8cbb07fd$var$_a.stat, module.exports.symlink = $0bfac4ae8cbb07fd$var$_a.symlink, module.exports.unlink = $0bfac4ae8cbb07fd$var$_a.unlink;\n// export const {open} = 'fs'\nmodule.exports.IS_WINDOWS = process.platform === \"win32\";\n// See https://github.com/nodejs/node/blob/d0153aee367422d0858105abec186da4dff0a0c5/deps/uv/include/uv/win.h#L691\nmodule.exports.UV_FS_O_EXLOCK = 0x10000000;\nmodule.exports.READONLY = $0bfac4ae8cbb07fd$var$fs.constants.O_RDONLY;\nfunction $0bfac4ae8cbb07fd$var$exists(fsPath) {\n return $0bfac4ae8cbb07fd$var$__awaiter(this, void 0, void 0, function*() {\n try {\n yield module.exports.stat(fsPath);\n } catch (err) {\n if (err.code === \"ENOENT\") return false;\n throw err;\n }\n return true;\n });\n}\nmodule.exports.exists = $0bfac4ae8cbb07fd$var$exists;\nfunction $0bfac4ae8cbb07fd$var$isDirectory(fsPath, useStat = false) {\n return $0bfac4ae8cbb07fd$var$__awaiter(this, void 0, void 0, function*() {\n const stats = useStat ? yield module.exports.stat(fsPath) : yield module.exports.lstat(fsPath);\n return stats.isDirectory();\n });\n}\nmodule.exports.isDirectory = $0bfac4ae8cbb07fd$var$isDirectory;\n/**\n * On OSX/Linux, true if path starts with '/'. On Windows, true for paths like:\n * \\, \\hello, \\\\hello\\share, C:, and C:\\hello (and corresponding alternate separator cases).\n */ function $0bfac4ae8cbb07fd$var$isRooted(p) {\n p = $0bfac4ae8cbb07fd$var$normalizeSeparators(p);\n if (!p) throw new Error('isRooted() parameter \"p\" cannot be empty');\n if (module.exports.IS_WINDOWS) return p.startsWith(\"\\\\\") || /^[A-Z]:/i.test(p) // e.g. \\ or \\hello or \\\\hello\n ; // e.g. C: or C:\\hello\n return p.startsWith(\"/\");\n}\nmodule.exports.isRooted = $0bfac4ae8cbb07fd$var$isRooted;\n/**\n * Best effort attempt to determine whether a file exists and is executable.\n * @param filePath file path to check\n * @param extensions additional file extensions to try\n * @return if file exists and is executable, returns the file path. otherwise empty string.\n */ function $0bfac4ae8cbb07fd$var$tryGetExecutablePath(filePath, extensions) {\n return $0bfac4ae8cbb07fd$var$__awaiter(this, void 0, void 0, function*() {\n let stats = undefined;\n try {\n // test file exists\n stats = yield module.exports.stat(filePath);\n } catch (err) {\n if (err.code !== \"ENOENT\") // eslint-disable-next-line no-console\n console.log(`Unexpected error attempting to determine if executable file exists '${filePath}': ${err}`);\n }\n if (stats && stats.isFile()) {\n if (module.exports.IS_WINDOWS) {\n // on Windows, test for valid extension\n const upperExt = $0bfac4ae8cbb07fd$var$path.extname(filePath).toUpperCase();\n if (extensions.some((validExt)=>validExt.toUpperCase() === upperExt)) return filePath;\n } else {\n if ($0bfac4ae8cbb07fd$var$isUnixExecutable(stats)) return filePath;\n }\n }\n // try each extension\n const originalFilePath = filePath;\n for (const extension of extensions){\n filePath = originalFilePath + extension;\n stats = undefined;\n try {\n stats = yield module.exports.stat(filePath);\n } catch (err) {\n if (err.code !== \"ENOENT\") // eslint-disable-next-line no-console\n console.log(`Unexpected error attempting to determine if executable file exists '${filePath}': ${err}`);\n }\n if (stats && stats.isFile()) {\n if (module.exports.IS_WINDOWS) {\n // preserve the case of the actual file (since an extension was appended)\n try {\n const directory = $0bfac4ae8cbb07fd$var$path.dirname(filePath);\n const upperName = $0bfac4ae8cbb07fd$var$path.basename(filePath).toUpperCase();\n for (const actualName of yield module.exports.readdir(directory))if (upperName === actualName.toUpperCase()) {\n filePath = $0bfac4ae8cbb07fd$var$path.join(directory, actualName);\n break;\n }\n } catch (err) {\n // eslint-disable-next-line no-console\n console.log(`Unexpected error attempting to determine the actual case of the file '${filePath}': ${err}`);\n }\n return filePath;\n } else {\n if ($0bfac4ae8cbb07fd$var$isUnixExecutable(stats)) return filePath;\n }\n }\n }\n return \"\";\n });\n}\nmodule.exports.tryGetExecutablePath = $0bfac4ae8cbb07fd$var$tryGetExecutablePath;\nfunction $0bfac4ae8cbb07fd$var$normalizeSeparators(p) {\n p = p || \"\";\n if (module.exports.IS_WINDOWS) {\n // convert slashes on Windows\n p = p.replace(/\\//g, \"\\\\\");\n // remove redundant slashes\n return p.replace(/\\\\\\\\+/g, \"\\\\\");\n }\n // remove redundant slashes\n return p.replace(/\\/\\/+/g, \"/\");\n}\n// on Mac/Linux, test the execute bit\n// R W X R W X R W X\n// 256 128 64 32 16 8 4 2 1\nfunction $0bfac4ae8cbb07fd$var$isUnixExecutable(stats) {\n return (stats.mode & 1) > 0 || (stats.mode & 8) > 0 && stats.gid === process.getgid() || (stats.mode & 64) > 0 && stats.uid === process.getuid();\n}\n// Get the path of cmd.exe in windows\nfunction $0bfac4ae8cbb07fd$var$getCmdPath() {\n var _a;\n return (_a = process.env[\"COMSPEC\"]) !== null && _a !== void 0 ? _a : `cmd.exe`;\n}\nmodule.exports.getCmdPath = $0bfac4ae8cbb07fd$var$getCmdPath;\n\n});\n\n\nparcelRequire.register(\"8kgpT\", function(module, exports) {\n\"use strict\";\nvar $60fcecfa97067ede$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $60fcecfa97067ede$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $60fcecfa97067ede$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $60fcecfa97067ede$var$__createBinding(result, mod, k);\n }\n $60fcecfa97067ede$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $60fcecfa97067ede$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports._readLinuxVersionFile = module.exports._getOsVersion = module.exports._findMatch = void 0;\n\nconst $60fcecfa97067ede$var$semver = $60fcecfa97067ede$var$__importStar((parcelRequire(\"3BvyU\")));\n\nvar $2heqc = parcelRequire(\"2heqc\");\n\n\n\nfunction $60fcecfa97067ede$var$_findMatch(versionSpec, stable, candidates, archFilter) {\n return $60fcecfa97067ede$var$__awaiter(this, void 0, void 0, function*() {\n const platFilter = $4umf8$os.platform();\n let result;\n let match;\n let file;\n for (const candidate of candidates){\n const version = candidate.version;\n $2heqc.debug(`check ${version} satisfies ${versionSpec}`);\n if ($60fcecfa97067ede$var$semver.satisfies(version, versionSpec) && (!stable || candidate.stable === stable)) {\n file = candidate.files.find((item)=>{\n $2heqc.debug(`${item.arch}===${archFilter} && ${item.platform}===${platFilter}`);\n let chk = item.arch === archFilter && item.platform === platFilter;\n if (chk && item.platform_version) {\n const osVersion = module.exports._getOsVersion();\n if (osVersion === item.platform_version) chk = true;\n else chk = $60fcecfa97067ede$var$semver.satisfies(osVersion, item.platform_version);\n }\n return chk;\n });\n if (file) {\n $2heqc.debug(`matched ${candidate.version}`);\n match = candidate;\n break;\n }\n }\n }\n if (match && file) {\n // clone since we're mutating the file list to be only the file that matches\n result = Object.assign({}, match);\n result.files = [\n file\n ];\n }\n return result;\n });\n}\nmodule.exports._findMatch = $60fcecfa97067ede$var$_findMatch;\nfunction $60fcecfa97067ede$var$_getOsVersion() {\n // TODO: add windows and other linux, arm variants\n // right now filtering on version is only an ubuntu and macos scenario for tools we build for hosted (python)\n const plat = $4umf8$os.platform();\n let version = \"\";\n if (plat === \"darwin\") version = $4umf8$child_process.execSync(\"sw_vers -productVersion\").toString();\n else if (plat === \"linux\") {\n // lsb_release process not in some containers, readfile\n // Run cat /etc/lsb-release\n // DISTRIB_ID=Ubuntu\n // DISTRIB_RELEASE=18.04\n // DISTRIB_CODENAME=bionic\n // DISTRIB_DESCRIPTION=\"Ubuntu 18.04.4 LTS\"\n const lsbContents = module.exports._readLinuxVersionFile();\n if (lsbContents) {\n const lines = lsbContents.split(\"\\n\");\n for (const line of lines){\n const parts = line.split(\"=\");\n if (parts.length === 2 && (parts[0].trim() === \"VERSION_ID\" || parts[0].trim() === \"DISTRIB_RELEASE\")) {\n version = parts[1].trim().replace(/^\"/, \"\").replace(/\"$/, \"\");\n break;\n }\n }\n }\n }\n return version;\n}\nmodule.exports._getOsVersion = $60fcecfa97067ede$var$_getOsVersion;\nfunction $60fcecfa97067ede$var$_readLinuxVersionFile() {\n const lsbReleaseFile = \"/etc/lsb-release\";\n const osReleaseFile = \"/etc/os-release\";\n let contents = \"\";\n if ($4umf8$fs.existsSync(lsbReleaseFile)) contents = $4umf8$fs.readFileSync(lsbReleaseFile).toString();\n else if ($4umf8$fs.existsSync(osReleaseFile)) contents = $4umf8$fs.readFileSync(osReleaseFile).toString();\n return contents;\n}\nmodule.exports._readLinuxVersionFile = $60fcecfa97067ede$var$_readLinuxVersionFile;\n\n});\nparcelRequire.register(\"3BvyU\", function(module, exports) {\nexports = module.exports = SemVer;\nvar debug;\n/* istanbul ignore next */ if (typeof process === \"object\" && process.env && process.env.NODE_DEBUG && /\\bsemver\\b/i.test(process.env.NODE_DEBUG)) debug = function() {\n var args = Array.prototype.slice.call(arguments, 0);\n args.unshift(\"SEMVER\");\n console.log.apply(console, args);\n};\nelse debug = function() {};\n// Note: this is the semver.org version of the spec that it implements\n// Not necessarily the package version of this code.\nexports.SEMVER_SPEC_VERSION = \"2.0.0\";\nvar MAX_LENGTH = 256;\nvar MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER || /* istanbul ignore next */ 9007199254740991;\n// Max safe segment length for coercion.\nvar MAX_SAFE_COMPONENT_LENGTH = 16;\nvar MAX_SAFE_BUILD_LENGTH = MAX_LENGTH - 6;\n// The actual regexps go on exports.re\nvar re = exports.re = [];\nvar safeRe = exports.safeRe = [];\nvar src = exports.src = [];\nvar t = exports.tokens = {};\nvar R = 0;\nfunction tok(n) {\n t[n] = R++;\n}\nvar LETTERDASHNUMBER = \"[a-zA-Z0-9-]\";\n// Replace some greedy regex tokens to prevent regex dos issues. These regex are\n// used internally via the safeRe object since all inputs in this library get\n// normalized first to trim and collapse all extra whitespace. The original\n// regexes are exported for userland consumption and lower level usage. A\n// future breaking change could export the safer regex only with a note that\n// all input should have extra whitespace removed.\nvar safeRegexReplacements = [\n [\n \"\\\\s\",\n 1\n ],\n [\n \"\\\\d\",\n MAX_LENGTH\n ],\n [\n LETTERDASHNUMBER,\n MAX_SAFE_BUILD_LENGTH\n ]\n];\nfunction makeSafeRe(value) {\n for(var i = 0; i < safeRegexReplacements.length; i++){\n var token = safeRegexReplacements[i][0];\n var max = safeRegexReplacements[i][1];\n value = value.split(token + \"*\").join(token + \"{0,\" + max + \"}\").split(token + \"+\").join(token + \"{1,\" + max + \"}\");\n }\n return value;\n}\n// The following Regular Expressions can be used for tokenizing,\n// validating, and parsing SemVer version strings.\n// ## Numeric Identifier\n// A single `0`, or a non-zero digit followed by zero or more digits.\ntok(\"NUMERICIDENTIFIER\");\nsrc[t.NUMERICIDENTIFIER] = \"0|[1-9]\\\\d*\";\ntok(\"NUMERICIDENTIFIERLOOSE\");\nsrc[t.NUMERICIDENTIFIERLOOSE] = \"\\\\d+\";\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.\ntok(\"NONNUMERICIDENTIFIER\");\nsrc[t.NONNUMERICIDENTIFIER] = \"\\\\d*[a-zA-Z-]\" + LETTERDASHNUMBER + \"*\";\n// ## Main Version\n// Three dot-separated numeric identifiers.\ntok(\"MAINVERSION\");\nsrc[t.MAINVERSION] = \"(\" + src[t.NUMERICIDENTIFIER] + \")\\\\.\" + \"(\" + src[t.NUMERICIDENTIFIER] + \")\\\\.\" + \"(\" + src[t.NUMERICIDENTIFIER] + \")\";\ntok(\"MAINVERSIONLOOSE\");\nsrc[t.MAINVERSIONLOOSE] = \"(\" + src[t.NUMERICIDENTIFIERLOOSE] + \")\\\\.\" + \"(\" + src[t.NUMERICIDENTIFIERLOOSE] + \")\\\\.\" + \"(\" + src[t.NUMERICIDENTIFIERLOOSE] + \")\";\n// ## Pre-release Version Identifier\n// A numeric identifier, or a non-numeric identifier.\ntok(\"PRERELEASEIDENTIFIER\");\nsrc[t.PRERELEASEIDENTIFIER] = \"(?:\" + src[t.NUMERICIDENTIFIER] + \"|\" + src[t.NONNUMERICIDENTIFIER] + \")\";\ntok(\"PRERELEASEIDENTIFIERLOOSE\");\nsrc[t.PRERELEASEIDENTIFIERLOOSE] = \"(?:\" + src[t.NUMERICIDENTIFIERLOOSE] + \"|\" + src[t.NONNUMERICIDENTIFIER] + \")\";\n// ## Pre-release Version\n// Hyphen, followed by one or more dot-separated pre-release version\n// identifiers.\ntok(\"PRERELEASE\");\nsrc[t.PRERELEASE] = \"(?:-(\" + src[t.PRERELEASEIDENTIFIER] + \"(?:\\\\.\" + src[t.PRERELEASEIDENTIFIER] + \")*))\";\ntok(\"PRERELEASELOOSE\");\nsrc[t.PRERELEASELOOSE] = \"(?:-?(\" + src[t.PRERELEASEIDENTIFIERLOOSE] + \"(?:\\\\.\" + src[t.PRERELEASEIDENTIFIERLOOSE] + \")*))\";\n// ## Build Metadata Identifier\n// Any combination of digits, letters, or hyphens.\ntok(\"BUILDIDENTIFIER\");\nsrc[t.BUILDIDENTIFIER] = LETTERDASHNUMBER + \"+\";\n// ## Build Metadata\n// Plus sign, followed by one or more period-separated build metadata\n// identifiers.\ntok(\"BUILD\");\nsrc[t.BUILD] = \"(?:\\\\+(\" + src[t.BUILDIDENTIFIER] + \"(?:\\\\.\" + src[t.BUILDIDENTIFIER] + \")*))\";\n// ## Full Version String\n// A main version, followed optionally by a pre-release version and\n// build metadata.\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.\ntok(\"FULL\");\ntok(\"FULLPLAIN\");\nsrc[t.FULLPLAIN] = \"v?\" + src[t.MAINVERSION] + src[t.PRERELEASE] + \"?\" + src[t.BUILD] + \"?\";\nsrc[t.FULL] = \"^\" + src[t.FULLPLAIN] + \"$\";\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.\ntok(\"LOOSEPLAIN\");\nsrc[t.LOOSEPLAIN] = \"[v=\\\\s]*\" + src[t.MAINVERSIONLOOSE] + src[t.PRERELEASELOOSE] + \"?\" + src[t.BUILD] + \"?\";\ntok(\"LOOSE\");\nsrc[t.LOOSE] = \"^\" + src[t.LOOSEPLAIN] + \"$\";\ntok(\"GTLT\");\nsrc[t.GTLT] = \"((?:<|>)?=?)\";\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.\ntok(\"XRANGEIDENTIFIERLOOSE\");\nsrc[t.XRANGEIDENTIFIERLOOSE] = src[t.NUMERICIDENTIFIERLOOSE] + \"|x|X|\\\\*\";\ntok(\"XRANGEIDENTIFIER\");\nsrc[t.XRANGEIDENTIFIER] = src[t.NUMERICIDENTIFIER] + \"|x|X|\\\\*\";\ntok(\"XRANGEPLAIN\");\nsrc[t.XRANGEPLAIN] = \"[v=\\\\s]*(\" + src[t.XRANGEIDENTIFIER] + \")\" + \"(?:\\\\.(\" + src[t.XRANGEIDENTIFIER] + \")\" + \"(?:\\\\.(\" + src[t.XRANGEIDENTIFIER] + \")\" + \"(?:\" + src[t.PRERELEASE] + \")?\" + src[t.BUILD] + \"?\" + \")?)?\";\ntok(\"XRANGEPLAINLOOSE\");\nsrc[t.XRANGEPLAINLOOSE] = \"[v=\\\\s]*(\" + src[t.XRANGEIDENTIFIERLOOSE] + \")\" + \"(?:\\\\.(\" + src[t.XRANGEIDENTIFIERLOOSE] + \")\" + \"(?:\\\\.(\" + src[t.XRANGEIDENTIFIERLOOSE] + \")\" + \"(?:\" + src[t.PRERELEASELOOSE] + \")?\" + src[t.BUILD] + \"?\" + \")?)?\";\ntok(\"XRANGE\");\nsrc[t.XRANGE] = \"^\" + src[t.GTLT] + \"\\\\s*\" + src[t.XRANGEPLAIN] + \"$\";\ntok(\"XRANGELOOSE\");\nsrc[t.XRANGELOOSE] = \"^\" + src[t.GTLT] + \"\\\\s*\" + src[t.XRANGEPLAINLOOSE] + \"$\";\n// Coercion.\n// Extract anything that could conceivably be a part of a valid semver\ntok(\"COERCE\");\nsrc[t.COERCE] = \"(^|[^\\\\d])(\\\\d{1,\" + MAX_SAFE_COMPONENT_LENGTH + \"})\" + \"(?:\\\\.(\\\\d{1,\" + MAX_SAFE_COMPONENT_LENGTH + \"}))?\" + \"(?:\\\\.(\\\\d{1,\" + MAX_SAFE_COMPONENT_LENGTH + \"}))?\" + \"(?:$|[^\\\\d])\";\ntok(\"COERCERTL\");\nre[t.COERCERTL] = new RegExp(src[t.COERCE], \"g\");\nsafeRe[t.COERCERTL] = new RegExp(makeSafeRe(src[t.COERCE]), \"g\");\n// Tilde ranges.\n// Meaning is \"reasonably at or greater than\"\ntok(\"LONETILDE\");\nsrc[t.LONETILDE] = \"(?:~>?)\";\ntok(\"TILDETRIM\");\nsrc[t.TILDETRIM] = \"(\\\\s*)\" + src[t.LONETILDE] + \"\\\\s+\";\nre[t.TILDETRIM] = new RegExp(src[t.TILDETRIM], \"g\");\nsafeRe[t.TILDETRIM] = new RegExp(makeSafeRe(src[t.TILDETRIM]), \"g\");\nvar tildeTrimReplace = \"$1~\";\ntok(\"TILDE\");\nsrc[t.TILDE] = \"^\" + src[t.LONETILDE] + src[t.XRANGEPLAIN] + \"$\";\ntok(\"TILDELOOSE\");\nsrc[t.TILDELOOSE] = \"^\" + src[t.LONETILDE] + src[t.XRANGEPLAINLOOSE] + \"$\";\n// Caret ranges.\n// Meaning is \"at least and backwards compatible with\"\ntok(\"LONECARET\");\nsrc[t.LONECARET] = \"(?:\\\\^)\";\ntok(\"CARETTRIM\");\nsrc[t.CARETTRIM] = \"(\\\\s*)\" + src[t.LONECARET] + \"\\\\s+\";\nre[t.CARETTRIM] = new RegExp(src[t.CARETTRIM], \"g\");\nsafeRe[t.CARETTRIM] = new RegExp(makeSafeRe(src[t.CARETTRIM]), \"g\");\nvar caretTrimReplace = \"$1^\";\ntok(\"CARET\");\nsrc[t.CARET] = \"^\" + src[t.LONECARET] + src[t.XRANGEPLAIN] + \"$\";\ntok(\"CARETLOOSE\");\nsrc[t.CARETLOOSE] = \"^\" + src[t.LONECARET] + src[t.XRANGEPLAINLOOSE] + \"$\";\n// A simple gt/lt/eq thing, or just \"\" to indicate \"any version\"\ntok(\"COMPARATORLOOSE\");\nsrc[t.COMPARATORLOOSE] = \"^\" + src[t.GTLT] + \"\\\\s*(\" + src[t.LOOSEPLAIN] + \")$|^$\";\ntok(\"COMPARATOR\");\nsrc[t.COMPARATOR] = \"^\" + src[t.GTLT] + \"\\\\s*(\" + src[t.FULLPLAIN] + \")$|^$\";\n// An expression to strip any whitespace between the gtlt and the thing\n// it modifies, so that `> 1.2.3` ==> `>1.2.3`\ntok(\"COMPARATORTRIM\");\nsrc[t.COMPARATORTRIM] = \"(\\\\s*)\" + src[t.GTLT] + \"\\\\s*(\" + src[t.LOOSEPLAIN] + \"|\" + src[t.XRANGEPLAIN] + \")\";\n// this one has to use the /g flag\nre[t.COMPARATORTRIM] = new RegExp(src[t.COMPARATORTRIM], \"g\");\nsafeRe[t.COMPARATORTRIM] = new RegExp(makeSafeRe(src[t.COMPARATORTRIM]), \"g\");\nvar comparatorTrimReplace = \"$1$2$3\";\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.\ntok(\"HYPHENRANGE\");\nsrc[t.HYPHENRANGE] = \"^\\\\s*(\" + src[t.XRANGEPLAIN] + \")\" + \"\\\\s+-\\\\s+\" + \"(\" + src[t.XRANGEPLAIN] + \")\" + \"\\\\s*$\";\ntok(\"HYPHENRANGELOOSE\");\nsrc[t.HYPHENRANGELOOSE] = \"^\\\\s*(\" + src[t.XRANGEPLAINLOOSE] + \")\" + \"\\\\s+-\\\\s+\" + \"(\" + src[t.XRANGEPLAINLOOSE] + \")\" + \"\\\\s*$\";\n// Star ranges basically just allow anything at all.\ntok(\"STAR\");\nsrc[t.STAR] = \"(<|>)?=?\\\\s*\\\\*\";\n// Compile to actual regexp objects.\n// All are flag-free, unless they were created above with a flag.\nfor(var i = 0; i < R; i++){\n debug(i, src[i]);\n if (!re[i]) {\n re[i] = new RegExp(src[i]);\n // Replace all greedy whitespace to prevent regex dos issues. These regex are\n // used internally via the safeRe object since all inputs in this library get\n // normalized first to trim and collapse all extra whitespace. The original\n // regexes are exported for userland consumption and lower level usage. A\n // future breaking change could export the safer regex only with a note that\n // all input should have extra whitespace removed.\n safeRe[i] = new RegExp(makeSafeRe(src[i]));\n }\n}\nexports.parse = parse;\nfunction parse(version, options) {\n if (!options || typeof options !== \"object\") options = {\n loose: !!options,\n includePrerelease: false\n };\n if (version instanceof SemVer) return version;\n if (typeof version !== \"string\") return null;\n if (version.length > MAX_LENGTH) return null;\n var r = options.loose ? safeRe[t.LOOSE] : safeRe[t.FULL];\n if (!r.test(version)) return null;\n try {\n return new SemVer(version, options);\n } catch (er) {\n return null;\n }\n}\nexports.valid = valid;\nfunction valid(version, options) {\n var v = parse(version, options);\n return v ? v.version : null;\n}\nexports.clean = clean;\nfunction clean(version, options) {\n var s = parse(version.trim().replace(/^[=v]+/, \"\"), options);\n return s ? s.version : null;\n}\nexports.SemVer = SemVer;\nfunction SemVer(version, options) {\n if (!options || typeof options !== \"object\") options = {\n loose: !!options,\n includePrerelease: false\n };\n if (version instanceof SemVer) {\n if (version.loose === options.loose) return version;\n else version = version.version;\n } else if (typeof version !== \"string\") throw new TypeError(\"Invalid Version: \" + version);\n if (version.length > MAX_LENGTH) throw new TypeError(\"version is longer than \" + MAX_LENGTH + \" characters\");\n if (!(this instanceof SemVer)) return new SemVer(version, options);\n debug(\"SemVer\", version, options);\n this.options = options;\n this.loose = !!options.loose;\n var m = version.trim().match(options.loose ? safeRe[t.LOOSE] : safeRe[t.FULL]);\n if (!m) throw new TypeError(\"Invalid Version: \" + version);\n this.raw = version;\n // these are actually numbers\n this.major = +m[1];\n this.minor = +m[2];\n this.patch = +m[3];\n if (this.major > MAX_SAFE_INTEGER || this.major < 0) throw new TypeError(\"Invalid major version\");\n if (this.minor > MAX_SAFE_INTEGER || this.minor < 0) throw new TypeError(\"Invalid minor version\");\n if (this.patch > MAX_SAFE_INTEGER || this.patch < 0) throw new TypeError(\"Invalid patch version\");\n // numberify any prerelease numeric ids\n if (!m[4]) this.prerelease = [];\n else this.prerelease = m[4].split(\".\").map(function(id) {\n if (/^[0-9]+$/.test(id)) {\n var num = +id;\n if (num >= 0 && num < MAX_SAFE_INTEGER) return num;\n }\n return id;\n });\n this.build = m[5] ? m[5].split(\".\") : [];\n this.format();\n}\nSemVer.prototype.format = function() {\n this.version = this.major + \".\" + this.minor + \".\" + this.patch;\n if (this.prerelease.length) this.version += \"-\" + this.prerelease.join(\".\");\n return this.version;\n};\nSemVer.prototype.toString = function() {\n return this.version;\n};\nSemVer.prototype.compare = function(other) {\n debug(\"SemVer.compare\", this.version, this.options, other);\n if (!(other instanceof SemVer)) other = new SemVer(other, this.options);\n return this.compareMain(other) || this.comparePre(other);\n};\nSemVer.prototype.compareMain = function(other) {\n if (!(other instanceof SemVer)) other = new SemVer(other, this.options);\n return compareIdentifiers(this.major, other.major) || compareIdentifiers(this.minor, other.minor) || compareIdentifiers(this.patch, other.patch);\n};\nSemVer.prototype.comparePre = function(other) {\n if (!(other instanceof SemVer)) other = new SemVer(other, this.options);\n // NOT having a prerelease is > having one\n if (this.prerelease.length && !other.prerelease.length) return -1;\n else if (!this.prerelease.length && other.prerelease.length) return 1;\n else if (!this.prerelease.length && !other.prerelease.length) return 0;\n var i = 0;\n do {\n var a = this.prerelease[i];\n var b = other.prerelease[i];\n debug(\"prerelease compare\", i, a, b);\n if (a === undefined && b === undefined) return 0;\n else if (b === undefined) return 1;\n else if (a === undefined) return -1;\n else if (a === b) continue;\n else return compareIdentifiers(a, b);\n }while (++i);\n};\nSemVer.prototype.compareBuild = function(other) {\n if (!(other instanceof SemVer)) other = new SemVer(other, this.options);\n var i = 0;\n do {\n var a = this.build[i];\n var b = other.build[i];\n debug(\"prerelease compare\", i, a, b);\n if (a === undefined && b === undefined) return 0;\n else if (b === undefined) return 1;\n else if (a === undefined) return -1;\n else if (a === b) continue;\n else return compareIdentifiers(a, b);\n }while (++i);\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.\nSemVer.prototype.inc = function(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) this.inc(\"patch\", identifier);\n this.inc(\"pre\", identifier);\n break;\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 (this.minor !== 0 || this.patch !== 0 || this.prerelease.length === 0) this.major++;\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) this.minor++;\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) this.patch++;\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) this.prerelease = [\n 0\n ];\n else {\n var i = this.prerelease.length;\n while(--i >= 0)if (typeof this.prerelease[i] === \"number\") {\n this.prerelease[i]++;\n i = -2;\n }\n if (i === -1) // didn't increment anything\n this.prerelease.push(0);\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 (this.prerelease[0] === identifier) {\n if (isNaN(this.prerelease[1])) this.prerelease = [\n identifier,\n 0\n ];\n } else this.prerelease = [\n identifier,\n 0\n ];\n }\n break;\n default:\n throw new Error(\"invalid increment argument: \" + release);\n }\n this.format();\n this.raw = this.version;\n return this;\n};\nexports.inc = inc;\nfunction inc(version, release, loose, identifier) {\n if (typeof loose === \"string\") {\n identifier = loose;\n loose = undefined;\n }\n try {\n return new SemVer(version, loose).inc(release, identifier).version;\n } catch (er) {\n return null;\n }\n}\nexports.diff = diff;\nfunction diff(version1, version2) {\n if (eq(version1, version2)) return null;\n else {\n var v1 = parse(version1);\n var v2 = parse(version2);\n var prefix = \"\";\n if (v1.prerelease.length || v2.prerelease.length) {\n prefix = \"pre\";\n var defaultResult = \"prerelease\";\n }\n for(var key in v1)if (key === \"major\" || key === \"minor\" || key === \"patch\") {\n if (v1[key] !== v2[key]) return prefix + key;\n }\n return defaultResult // may be undefined\n ;\n }\n}\nexports.compareIdentifiers = compareIdentifiers;\nvar numeric = /^[0-9]+$/;\nfunction compareIdentifiers(a, b) {\n var anum = numeric.test(a);\n var bnum = numeric.test(b);\n if (anum && bnum) {\n a = +a;\n b = +b;\n }\n return a === b ? 0 : anum && !bnum ? -1 : bnum && !anum ? 1 : a < b ? -1 : 1;\n}\nexports.rcompareIdentifiers = rcompareIdentifiers;\nfunction rcompareIdentifiers(a, b) {\n return compareIdentifiers(b, a);\n}\nexports.major = major;\nfunction major(a, loose) {\n return new SemVer(a, loose).major;\n}\nexports.minor = minor;\nfunction minor(a, loose) {\n return new SemVer(a, loose).minor;\n}\nexports.patch = patch;\nfunction patch(a, loose) {\n return new SemVer(a, loose).patch;\n}\nexports.compare = compare;\nfunction compare(a, b, loose) {\n return new SemVer(a, loose).compare(new SemVer(b, loose));\n}\nexports.compareLoose = compareLoose;\nfunction compareLoose(a, b) {\n return compare(a, b, true);\n}\nexports.compareBuild = compareBuild;\nfunction compareBuild(a, b, loose) {\n var versionA = new SemVer(a, loose);\n var versionB = new SemVer(b, loose);\n return versionA.compare(versionB) || versionA.compareBuild(versionB);\n}\nexports.rcompare = rcompare;\nfunction rcompare(a, b, loose) {\n return compare(b, a, loose);\n}\nexports.sort = sort;\nfunction sort(list, loose) {\n return list.sort(function(a, b) {\n return exports.compareBuild(a, b, loose);\n });\n}\nexports.rsort = rsort;\nfunction rsort(list, loose) {\n return list.sort(function(a, b) {\n return exports.compareBuild(b, a, loose);\n });\n}\nexports.gt = gt;\nfunction gt(a, b, loose) {\n return compare(a, b, loose) > 0;\n}\nexports.lt = lt;\nfunction lt(a, b, loose) {\n return compare(a, b, loose) < 0;\n}\nexports.eq = eq;\nfunction eq(a, b, loose) {\n return compare(a, b, loose) === 0;\n}\nexports.neq = neq;\nfunction neq(a, b, loose) {\n return compare(a, b, loose) !== 0;\n}\nexports.gte = gte;\nfunction gte(a, b, loose) {\n return compare(a, b, loose) >= 0;\n}\nexports.lte = lte;\nfunction lte(a, b, loose) {\n return compare(a, b, loose) <= 0;\n}\nexports.cmp = cmp;\nfunction cmp(a, op, b, loose) {\n switch(op){\n case \"===\":\n if (typeof a === \"object\") a = a.version;\n if (typeof b === \"object\") b = b.version;\n return a === b;\n case \"!==\":\n if (typeof a === \"object\") a = a.version;\n if (typeof b === \"object\") b = b.version;\n return a !== b;\n case \"\":\n case \"=\":\n case \"==\":\n return eq(a, b, loose);\n case \"!=\":\n return neq(a, b, loose);\n case \">\":\n return gt(a, b, loose);\n case \">=\":\n return gte(a, b, loose);\n case \"<\":\n return lt(a, b, loose);\n case \"<=\":\n return lte(a, b, loose);\n default:\n throw new TypeError(\"Invalid operator: \" + op);\n }\n}\nexports.Comparator = Comparator;\nfunction Comparator(comp, options) {\n if (!options || typeof options !== \"object\") options = {\n loose: !!options,\n includePrerelease: false\n };\n if (comp instanceof Comparator) {\n if (comp.loose === !!options.loose) return comp;\n else comp = comp.value;\n }\n if (!(this instanceof Comparator)) return new Comparator(comp, options);\n comp = comp.trim().split(/\\s+/).join(\" \");\n debug(\"comparator\", comp, options);\n this.options = options;\n this.loose = !!options.loose;\n this.parse(comp);\n if (this.semver === ANY) this.value = \"\";\n else this.value = this.operator + this.semver.version;\n debug(\"comp\", this);\n}\nvar ANY = {};\nComparator.prototype.parse = function(comp) {\n var r = this.options.loose ? safeRe[t.COMPARATORLOOSE] : safeRe[t.COMPARATOR];\n var m = comp.match(r);\n if (!m) throw new TypeError(\"Invalid comparator: \" + comp);\n this.operator = m[1] !== undefined ? m[1] : \"\";\n if (this.operator === \"=\") this.operator = \"\";\n // if it literally is just '>' or '' then allow anything.\n if (!m[2]) this.semver = ANY;\n else this.semver = new SemVer(m[2], this.options.loose);\n};\nComparator.prototype.toString = function() {\n return this.value;\n};\nComparator.prototype.test = function(version) {\n debug(\"Comparator.test\", version, this.options.loose);\n if (this.semver === ANY || version === ANY) return true;\n if (typeof version === \"string\") try {\n version = new SemVer(version, this.options);\n } catch (er) {\n return false;\n }\n return cmp(version, this.operator, this.semver, this.options);\n};\nComparator.prototype.intersects = function(comp, options) {\n if (!(comp instanceof Comparator)) throw new TypeError(\"a Comparator is required\");\n if (!options || typeof options !== \"object\") options = {\n loose: !!options,\n includePrerelease: false\n };\n var rangeTmp;\n if (this.operator === \"\") {\n if (this.value === \"\") return true;\n rangeTmp = new Range(comp.value, options);\n return satisfies(this.value, rangeTmp, options);\n } else if (comp.operator === \"\") {\n if (comp.value === \"\") return true;\n rangeTmp = new Range(this.value, options);\n return satisfies(comp.semver, rangeTmp, options);\n }\n var sameDirectionIncreasing = (this.operator === \">=\" || this.operator === \">\") && (comp.operator === \">=\" || comp.operator === \">\");\n var sameDirectionDecreasing = (this.operator === \"<=\" || this.operator === \"<\") && (comp.operator === \"<=\" || comp.operator === \"<\");\n var sameSemVer = this.semver.version === comp.semver.version;\n var differentDirectionsInclusive = (this.operator === \">=\" || this.operator === \"<=\") && (comp.operator === \">=\" || comp.operator === \"<=\");\n var oppositeDirectionsLessThan = cmp(this.semver, \"<\", comp.semver, options) && (this.operator === \">=\" || this.operator === \">\") && (comp.operator === \"<=\" || comp.operator === \"<\");\n var oppositeDirectionsGreaterThan = cmp(this.semver, \">\", comp.semver, options) && (this.operator === \"<=\" || this.operator === \"<\") && (comp.operator === \">=\" || comp.operator === \">\");\n return sameDirectionIncreasing || sameDirectionDecreasing || sameSemVer && differentDirectionsInclusive || oppositeDirectionsLessThan || oppositeDirectionsGreaterThan;\n};\nexports.Range = Range;\nfunction Range(range, options) {\n if (!options || typeof options !== \"object\") options = {\n loose: !!options,\n includePrerelease: false\n };\n if (range instanceof Range) {\n if (range.loose === !!options.loose && range.includePrerelease === !!options.includePrerelease) return range;\n else return new Range(range.raw, options);\n }\n if (range instanceof Comparator) return new Range(range.value, options);\n if (!(this instanceof Range)) return new Range(range, options);\n this.options = options;\n this.loose = !!options.loose;\n this.includePrerelease = !!options.includePrerelease;\n // First reduce all whitespace as much as possible so we do not have to rely\n // on potentially slow regexes like \\s*. This is then stored and used for\n // future error messages as well.\n this.raw = range.trim().split(/\\s+/).join(\" \");\n // First, split based on boolean or ||\n this.set = this.raw.split(\"||\").map(function(range) {\n return this.parseRange(range.trim());\n }, this).filter(function(c) {\n // throw out any that are not relevant for whatever reason\n return c.length;\n });\n if (!this.set.length) throw new TypeError(\"Invalid SemVer Range: \" + this.raw);\n this.format();\n}\nRange.prototype.format = function() {\n this.range = this.set.map(function(comps) {\n return comps.join(\" \").trim();\n }).join(\"||\").trim();\n return this.range;\n};\nRange.prototype.toString = function() {\n return this.range;\n};\nRange.prototype.parseRange = function(range) {\n var loose = this.options.loose;\n // `1.2.3 - 1.2.4` => `>=1.2.3 <=1.2.4`\n var hr = loose ? safeRe[t.HYPHENRANGELOOSE] : safeRe[t.HYPHENRANGE];\n range = range.replace(hr, hyphenReplace);\n debug(\"hyphen replace\", range);\n // `> 1.2.3 < 1.2.5` => `>1.2.3 <1.2.5`\n range = range.replace(safeRe[t.COMPARATORTRIM], comparatorTrimReplace);\n debug(\"comparator trim\", range, safeRe[t.COMPARATORTRIM]);\n // `~ 1.2.3` => `~1.2.3`\n range = range.replace(safeRe[t.TILDETRIM], tildeTrimReplace);\n // `^ 1.2.3` => `^1.2.3`\n range = range.replace(safeRe[t.CARETTRIM], caretTrimReplace);\n // normalize spaces\n range = range.split(/\\s+/).join(\" \");\n // At this point, the range is completely trimmed and\n // ready to be split into comparators.\n var compRe = loose ? safeRe[t.COMPARATORLOOSE] : safeRe[t.COMPARATOR];\n var set = range.split(\" \").map(function(comp) {\n return parseComparator(comp, this.options);\n }, this).join(\" \").split(/\\s+/);\n if (this.options.loose) // in loose mode, throw out any that are not valid comparators\n set = set.filter(function(comp) {\n return !!comp.match(compRe);\n });\n set = set.map(function(comp) {\n return new Comparator(comp, this.options);\n }, this);\n return set;\n};\nRange.prototype.intersects = function(range, options) {\n if (!(range instanceof Range)) throw new TypeError(\"a Range is required\");\n return this.set.some(function(thisComparators) {\n return isSatisfiable(thisComparators, options) && range.set.some(function(rangeComparators) {\n return isSatisfiable(rangeComparators, options) && thisComparators.every(function(thisComparator) {\n return rangeComparators.every(function(rangeComparator) {\n return thisComparator.intersects(rangeComparator, options);\n });\n });\n });\n });\n};\n// take a set of comparators and determine whether there\n// exists a version which can satisfy it\nfunction isSatisfiable(comparators, options) {\n var result = true;\n var remainingComparators = comparators.slice();\n var testComparator = remainingComparators.pop();\n while(result && remainingComparators.length){\n result = remainingComparators.every(function(otherComparator) {\n return testComparator.intersects(otherComparator, options);\n });\n testComparator = remainingComparators.pop();\n }\n return result;\n}\n// Mostly just for testing and legacy API reasons\nexports.toComparators = toComparators;\nfunction toComparators(range, options) {\n return new Range(range, options).set.map(function(comp) {\n return comp.map(function(c) {\n return c.value;\n }).join(\" \").trim().split(\" \");\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.\nfunction 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}\nfunction isX(id) {\n return !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\n// ~2.0, ~2.0.x, ~>2.0, ~>2.0.x --> >=2.0.0 <2.1.0\n// ~1.2, ~1.2.x, ~>1.2, ~>1.2.x --> >=1.2.0 <1.3.0\n// ~1.2.3, ~>1.2.3 --> >=1.2.3 <1.3.0\n// ~1.2.0, ~>1.2.0 --> >=1.2.0 <1.3.0\nfunction replaceTildes(comp, options) {\n return comp.trim().split(/\\s+/).map(function(comp) {\n return replaceTilde(comp, options);\n }).join(\" \");\n}\nfunction replaceTilde(comp, options) {\n var r = options.loose ? safeRe[t.TILDELOOSE] : safeRe[t.TILDE];\n return comp.replace(r, function(_, M, m, p, pr) {\n debug(\"tilde\", comp, _, M, m, p, pr);\n var ret;\n if (isX(M)) ret = \"\";\n else if (isX(m)) ret = \">=\" + M + \".0.0 <\" + (+M + 1) + \".0.0\";\n else if (isX(p)) // ~1.2 == >=1.2.0 <1.3.0\n ret = \">=\" + M + \".\" + m + \".0 <\" + M + \".\" + (+m + 1) + \".0\";\n else if (pr) {\n debug(\"replaceTilde pr\", pr);\n ret = \">=\" + M + \".\" + m + \".\" + p + \"-\" + pr + \" <\" + M + \".\" + (+m + 1) + \".0\";\n } else // ~1.2.3 == >=1.2.3 <1.3.0\n ret = \">=\" + M + \".\" + m + \".\" + p + \" <\" + M + \".\" + (+m + 1) + \".0\";\n debug(\"tilde return\", ret);\n return ret;\n });\n}\n// ^ --> * (any, kinda silly)\n// ^2, ^2.x, ^2.x.x --> >=2.0.0 <3.0.0\n// ^2.0, ^2.0.x --> >=2.0.0 <3.0.0\n// ^1.2, ^1.2.x --> >=1.2.0 <2.0.0\n// ^1.2.3 --> >=1.2.3 <2.0.0\n// ^1.2.0 --> >=1.2.0 <2.0.0\nfunction replaceCarets(comp, options) {\n return comp.trim().split(/\\s+/).map(function(comp) {\n return replaceCaret(comp, options);\n }).join(\" \");\n}\nfunction replaceCaret(comp, options) {\n debug(\"caret\", comp, options);\n var r = options.loose ? safeRe[t.CARETLOOSE] : safeRe[t.CARET];\n return comp.replace(r, function(_, M, m, p, pr) {\n debug(\"caret\", comp, _, M, m, p, pr);\n var ret;\n if (isX(M)) ret = \"\";\n else if (isX(m)) ret = \">=\" + M + \".0.0 <\" + (+M + 1) + \".0.0\";\n else if (isX(p)) {\n if (M === \"0\") ret = \">=\" + M + \".\" + m + \".0 <\" + M + \".\" + (+m + 1) + \".0\";\n else ret = \">=\" + M + \".\" + m + \".0 <\" + (+M + 1) + \".0.0\";\n } else if (pr) {\n debug(\"replaceCaret pr\", pr);\n if (M === \"0\") {\n if (m === \"0\") ret = \">=\" + M + \".\" + m + \".\" + p + \"-\" + pr + \" <\" + M + \".\" + m + \".\" + (+p + 1);\n else ret = \">=\" + M + \".\" + m + \".\" + p + \"-\" + pr + \" <\" + M + \".\" + (+m + 1) + \".0\";\n } else ret = \">=\" + M + \".\" + m + \".\" + p + \"-\" + pr + \" <\" + (+M + 1) + \".0.0\";\n } else {\n debug(\"no pr\");\n if (M === \"0\") {\n if (m === \"0\") ret = \">=\" + M + \".\" + m + \".\" + p + \" <\" + M + \".\" + m + \".\" + (+p + 1);\n else ret = \">=\" + M + \".\" + m + \".\" + p + \" <\" + M + \".\" + (+m + 1) + \".0\";\n } else ret = \">=\" + M + \".\" + m + \".\" + p + \" <\" + (+M + 1) + \".0.0\";\n }\n debug(\"caret return\", ret);\n return ret;\n });\n}\nfunction replaceXRanges(comp, options) {\n debug(\"replaceXRanges\", comp, options);\n return comp.split(/\\s+/).map(function(comp) {\n return replaceXRange(comp, options);\n }).join(\" \");\n}\nfunction replaceXRange(comp, options) {\n comp = comp.trim();\n var r = options.loose ? safeRe[t.XRANGELOOSE] : safeRe[t.XRANGE];\n return comp.replace(r, function(ret, gtlt, M, m, p, pr) {\n debug(\"xRange\", comp, ret, gtlt, M, m, p, pr);\n var xM = isX(M);\n var xm = xM || isX(m);\n var xp = xm || isX(p);\n var anyX = xp;\n if (gtlt === \"=\" && anyX) gtlt = \"\";\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 if (xM) {\n if (gtlt === \">\" || gtlt === \"<\") // nothing is allowed\n ret = \"<0.0.0-0\";\n else // nothing is forbidden\n ret = \"*\";\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) m = 0;\n p = 0;\n if (gtlt === \">\") {\n // >1 => >=2.0.0\n // >1.2 => >=1.3.0\n // >1.2.3 => >= 1.2.4\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) M = +M + 1;\n else m = +m + 1;\n }\n ret = gtlt + M + \".\" + m + \".\" + p + pr;\n } else if (xm) ret = \">=\" + M + \".0.0\" + pr + \" <\" + (+M + 1) + \".0.0\" + pr;\n else if (xp) ret = \">=\" + M + \".\" + m + \".0\" + pr + \" <\" + M + \".\" + (+m + 1) + \".0\" + pr;\n debug(\"xRange return\", ret);\n return ret;\n });\n}\n// Because * is AND-ed with everything else in the comparator,\n// and '' means \"any version\", just remove the *s entirely.\nfunction 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(safeRe[t.STAR], \"\");\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 Any 3.4.x will do\n// 1.2 - 3.4 => >=1.2.0 <3.5.0\nfunction hyphenReplace($0, from, fM, fm, fp, fpr, fb, to, tM, tm, tp, tpr, tb) {\n if (isX(fM)) from = \"\";\n else if (isX(fm)) from = \">=\" + fM + \".0.0\";\n else if (isX(fp)) from = \">=\" + fM + \".\" + fm + \".0\";\n else from = \">=\" + from;\n if (isX(tM)) to = \"\";\n else if (isX(tm)) to = \"<\" + (+tM + 1) + \".0.0\";\n else if (isX(tp)) to = \"<\" + tM + \".\" + (+tm + 1) + \".0\";\n else if (tpr) to = \"<=\" + tM + \".\" + tm + \".\" + tp + \"-\" + tpr;\n else to = \"<=\" + to;\n return (from + \" \" + to).trim();\n}\n// if ANY of the sets match ALL of its comparators, then pass\nRange.prototype.test = function(version) {\n if (!version) return false;\n if (typeof version === \"string\") try {\n version = new SemVer(version, this.options);\n } catch (er) {\n return false;\n }\n for(var i = 0; i < this.set.length; i++){\n if (testSet(this.set[i], version, this.options)) return true;\n }\n return false;\n};\nfunction testSet(set, version, options) {\n for(var i = 0; i < set.length; i++){\n if (!set[i].test(version)) return false;\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(i = 0; i < set.length; i++){\n debug(set[i].semver);\n if (set[i].semver === ANY) continue;\n if (set[i].semver.prerelease.length > 0) {\n var allowed = set[i].semver;\n if (allowed.major === version.major && allowed.minor === version.minor && allowed.patch === version.patch) return true;\n }\n }\n // Version has a -pre, but it's not one of the ones we like.\n return false;\n }\n return true;\n}\nexports.satisfies = satisfies;\nfunction 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}\nexports.maxSatisfying = maxSatisfying;\nfunction maxSatisfying(versions, range, options) {\n var max = null;\n var maxSV = null;\n try {\n var rangeObj = new Range(range, options);\n } catch (er) {\n return null;\n }\n versions.forEach(function(v) {\n if (rangeObj.test(v)) // satisfies(v, range, options)\n {\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}\nexports.minSatisfying = minSatisfying;\nfunction minSatisfying(versions, range, options) {\n var min = null;\n var minSV = null;\n try {\n var rangeObj = new Range(range, options);\n } catch (er) {\n return null;\n }\n versions.forEach(function(v) {\n if (rangeObj.test(v)) // satisfies(v, range, options)\n {\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}\nexports.minVersion = minVersion;\nfunction minVersion(range, loose) {\n range = new Range(range, loose);\n var minver = new SemVer(\"0.0.0\");\n if (range.test(minver)) return minver;\n minver = new SemVer(\"0.0.0-0\");\n if (range.test(minver)) return minver;\n minver = null;\n for(var i = 0; i < range.set.length; ++i){\n var comparators = range.set[i];\n comparators.forEach(function(comparator) {\n // Clone to avoid manipulating the comparator's semver object.\n var compver = new SemVer(comparator.semver.version);\n switch(comparator.operator){\n case \">\":\n if (compver.prerelease.length === 0) compver.patch++;\n else compver.prerelease.push(0);\n compver.raw = compver.format();\n /* fallthrough */ case \"\":\n case \">=\":\n if (!minver || gt(minver, compver)) minver = compver;\n break;\n case \"<\":\n case \"<=\":\n break;\n /* istanbul ignore next */ default:\n throw new Error(\"Unexpected operation: \" + comparator.operator);\n }\n });\n }\n if (minver && range.test(minver)) return minver;\n return null;\n}\nexports.validRange = validRange;\nfunction 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}\n// Determine if version is less than all the versions possible in the range\nexports.ltr = ltr;\nfunction ltr(version, range, options) {\n return outside(version, range, \"<\", options);\n}\n// Determine if version is greater than all the versions possible in the range.\nexports.gtr = gtr;\nfunction gtr(version, range, options) {\n return outside(version, range, \">\", options);\n}\nexports.outside = outside;\nfunction outside(version, range, hilo, options) {\n version = new SemVer(version, options);\n range = new Range(range, options);\n var 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 // If it satisifes the range it is not outside\n if (satisfies(version, range, options)) return false;\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 for(var i = 0; i < range.set.length; ++i){\n var comparators = range.set[i];\n var high = null;\n var low = null;\n comparators.forEach(function(comparator) {\n if (comparator.semver === ANY) comparator = new Comparator(\">=0.0.0\");\n high = high || comparator;\n low = low || comparator;\n if (gtfn(comparator.semver, high.semver, options)) high = comparator;\n else if (ltfn(comparator.semver, low.semver, options)) low = comparator;\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) return false;\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) && ltefn(version, low.semver)) return false;\n else if (low.operator === ecomp && ltfn(version, low.semver)) return false;\n }\n return true;\n}\nexports.prerelease = prerelease;\nfunction prerelease(version, options) {\n var parsed = parse(version, options);\n return parsed && parsed.prerelease.length ? parsed.prerelease : null;\n}\nexports.intersects = intersects;\nfunction intersects(r1, r2, options) {\n r1 = new Range(r1, options);\n r2 = new Range(r2, options);\n return r1.intersects(r2);\n}\nexports.coerce = coerce;\nfunction coerce(version, options) {\n if (version instanceof SemVer) return version;\n if (typeof version === \"number\") version = String(version);\n if (typeof version !== \"string\") return null;\n options = options || {};\n var match = null;\n if (!options.rtl) match = version.match(safeRe[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 var next;\n while((next = safeRe[t.COERCERTL].exec(version)) && (!match || match.index + match[0].length !== version.length)){\n if (!match || next.index + next[0].length !== match.index + match[0].length) match = next;\n safeRe[t.COERCERTL].lastIndex = next.index + next[1].length + next[2].length;\n }\n // leave it in a clean state\n safeRe[t.COERCERTL].lastIndex = -1;\n }\n if (match === null) return null;\n return parse(match[2] + \".\" + (match[3] || \"0\") + \".\" + (match[4] || \"0\"), options);\n}\n\n});\n\n\nparcelRequire.register(\"bxsAi\", function(module, exports) {\n\nvar $lyWSC = parcelRequire(\"lyWSC\");\n\nvar $2cprb = parcelRequire(\"2cprb\");\nfunction $8668f309112ae917$var$v4(options, buf, offset) {\n var i = buf && offset || 0;\n if (typeof options == \"string\") {\n buf = options === \"binary\" ? new Array(16) : null;\n options = null;\n }\n options = options || {};\n var rnds = options.random || (options.rng || $lyWSC)();\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 // Copy bytes to buffer, if provided\n if (buf) for(var ii = 0; ii < 16; ++ii)buf[i + ii] = rnds[ii];\n return buf || $2cprb(rnds);\n}\nmodule.exports = $8668f309112ae917$var$v4;\n\n});\nparcelRequire.register(\"lyWSC\", function(module, exports) {\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\nmodule.exports = function nodeRNG() {\n return $4umf8$crypto.randomBytes(16);\n};\n\n});\n\nparcelRequire.register(\"2cprb\", function(module, exports) {\n/**\n * Convert array of 16 byte values to UUID string format of the form:\n * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\n */ var $19a06f21a7f2b28a$var$byteToHex = [];\nfor(var $19a06f21a7f2b28a$var$i = 0; $19a06f21a7f2b28a$var$i < 256; ++$19a06f21a7f2b28a$var$i)$19a06f21a7f2b28a$var$byteToHex[$19a06f21a7f2b28a$var$i] = ($19a06f21a7f2b28a$var$i + 0x100).toString(16).substr(1);\nfunction $19a06f21a7f2b28a$var$bytesToUuid(buf, offset) {\n var i = offset || 0;\n var bth = $19a06f21a7f2b28a$var$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++]],\n bth[buf[i++]],\n bth[buf[i++]],\n bth[buf[i++]],\n \"-\",\n bth[buf[i++]],\n bth[buf[i++]],\n \"-\",\n bth[buf[i++]],\n bth[buf[i++]],\n \"-\",\n bth[buf[i++]],\n bth[buf[i++]],\n \"-\",\n bth[buf[i++]],\n bth[buf[i++]],\n bth[buf[i++]],\n bth[buf[i++]],\n bth[buf[i++]],\n bth[buf[i++]]\n ].join(\"\");\n}\nmodule.exports = $19a06f21a7f2b28a$var$bytesToUuid;\n\n});\n\n\nparcelRequire.register(\"2mVwa\", function(module, exports) {\n\"use strict\";\nvar $1b9a40aea64ef548$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $1b9a40aea64ef548$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $1b9a40aea64ef548$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $1b9a40aea64ef548$var$__createBinding(result, mod, k);\n }\n $1b9a40aea64ef548$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $1b9a40aea64ef548$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.getExecOutput = module.exports.exec = void 0;\n\n\nconst $1b9a40aea64ef548$var$tr = $1b9a40aea64ef548$var$__importStar((parcelRequire(\"19yql\")));\n/**\n * Exec a command.\n * Output will be streamed to the live console.\n * Returns promise with return code\n *\n * @param commandLine command to execute (can include additional args). Must be correctly escaped.\n * @param args optional arguments for tool. Escaping is handled by the lib.\n * @param options optional exec options. See ExecOptions\n * @returns Promise exit code\n */ function $1b9a40aea64ef548$var$exec(commandLine, args, options) {\n return $1b9a40aea64ef548$var$__awaiter(this, void 0, void 0, function*() {\n const commandArgs = $1b9a40aea64ef548$var$tr.argStringToArray(commandLine);\n if (commandArgs.length === 0) throw new Error(`Parameter 'commandLine' cannot be null or empty.`);\n // Path to tool to execute should be first arg\n const toolPath = commandArgs[0];\n args = commandArgs.slice(1).concat(args || []);\n const runner = new $1b9a40aea64ef548$var$tr.ToolRunner(toolPath, args, options);\n return runner.exec();\n });\n}\nmodule.exports.exec = $1b9a40aea64ef548$var$exec;\n/**\n * Exec a command and get the output.\n * Output will be streamed to the live console.\n * Returns promise with the exit code and collected stdout and stderr\n *\n * @param commandLine command to execute (can include additional args). Must be correctly escaped.\n * @param args optional arguments for tool. Escaping is handled by the lib.\n * @param options optional exec options. See ExecOptions\n * @returns Promise exit code, stdout, and stderr\n */ function $1b9a40aea64ef548$var$getExecOutput(commandLine, args, options) {\n var _a, _b;\n return $1b9a40aea64ef548$var$__awaiter(this, void 0, void 0, function*() {\n let stdout = \"\";\n let stderr = \"\";\n //Using string decoder covers the case where a mult-byte character is split\n const stdoutDecoder = new $4umf8$string_decoder.StringDecoder(\"utf8\");\n const stderrDecoder = new $4umf8$string_decoder.StringDecoder(\"utf8\");\n const originalStdoutListener = (_a = options === null || options === void 0 ? void 0 : options.listeners) === null || _a === void 0 ? void 0 : _a.stdout;\n const originalStdErrListener = (_b = options === null || options === void 0 ? void 0 : options.listeners) === null || _b === void 0 ? void 0 : _b.stderr;\n const stdErrListener = (data)=>{\n stderr += stderrDecoder.write(data);\n if (originalStdErrListener) originalStdErrListener(data);\n };\n const stdOutListener = (data)=>{\n stdout += stdoutDecoder.write(data);\n if (originalStdoutListener) originalStdoutListener(data);\n };\n const listeners = Object.assign(Object.assign({}, options === null || options === void 0 ? void 0 : options.listeners), {\n stdout: stdOutListener,\n stderr: stdErrListener\n });\n const exitCode = yield $1b9a40aea64ef548$var$exec(commandLine, args, Object.assign(Object.assign({}, options), {\n listeners: listeners\n }));\n //flush any remaining characters\n stdout += stdoutDecoder.end();\n stderr += stderrDecoder.end();\n return {\n exitCode: exitCode,\n stdout: stdout,\n stderr: stderr\n };\n });\n}\nmodule.exports.getExecOutput = $1b9a40aea64ef548$var$getExecOutput;\n\n});\nparcelRequire.register(\"19yql\", function(module, exports) {\n\"use strict\";\nvar $0d71558eca5ea36b$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $0d71558eca5ea36b$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $0d71558eca5ea36b$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $0d71558eca5ea36b$var$__createBinding(result, mod, k);\n }\n $0d71558eca5ea36b$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $0d71558eca5ea36b$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.argStringToArray = module.exports.ToolRunner = void 0;\n\nconst $0d71558eca5ea36b$var$os = $0d71558eca5ea36b$var$__importStar($4umf8$os);\n\nconst $0d71558eca5ea36b$var$events = $0d71558eca5ea36b$var$__importStar($4umf8$events);\n\nconst $0d71558eca5ea36b$var$child = $0d71558eca5ea36b$var$__importStar($4umf8$child_process);\n\nconst $0d71558eca5ea36b$var$path = $0d71558eca5ea36b$var$__importStar($4umf8$path);\n\nconst $0d71558eca5ea36b$var$io = $0d71558eca5ea36b$var$__importStar((parcelRequire(\"kSdX3\")));\n\nconst $0d71558eca5ea36b$var$ioUtil = $0d71558eca5ea36b$var$__importStar((parcelRequire(\"11Ly6\")));\n\n/* eslint-disable @typescript-eslint/unbound-method */ const $0d71558eca5ea36b$var$IS_WINDOWS = process.platform === \"win32\";\n/*\n * Class for running command line tools. Handles quoting and arg parsing in a platform agnostic way.\n */ class $0d71558eca5ea36b$var$ToolRunner extends $0d71558eca5ea36b$var$events.EventEmitter {\n constructor(toolPath, args, options){\n super();\n if (!toolPath) throw new Error(\"Parameter 'toolPath' cannot be null or empty.\");\n this.toolPath = toolPath;\n this.args = args || [];\n this.options = options || {};\n }\n _debug(message) {\n if (this.options.listeners && this.options.listeners.debug) this.options.listeners.debug(message);\n }\n _getCommandString(options, noPrefix) {\n const toolPath = this._getSpawnFileName();\n const args = this._getSpawnArgs(options);\n let cmd = noPrefix ? \"\" : \"[command]\"; // omit prefix when piped to a second tool\n if ($0d71558eca5ea36b$var$IS_WINDOWS) {\n // Windows + cmd file\n if (this._isCmdFile()) {\n cmd += toolPath;\n for (const a of args)cmd += ` ${a}`;\n } else if (options.windowsVerbatimArguments) {\n cmd += `\"${toolPath}\"`;\n for (const a of args)cmd += ` ${a}`;\n } else {\n cmd += this._windowsQuoteCmdArg(toolPath);\n for (const a of args)cmd += ` ${this._windowsQuoteCmdArg(a)}`;\n }\n } else {\n // OSX/Linux - this can likely be improved with some form of quoting.\n // creating processes on Unix is fundamentally different than Windows.\n // on Unix, execvp() takes an arg array.\n cmd += toolPath;\n for (const a of args)cmd += ` ${a}`;\n }\n return cmd;\n }\n _processLineBuffer(data, strBuffer, onLine) {\n try {\n let s = strBuffer + data.toString();\n let n = s.indexOf($0d71558eca5ea36b$var$os.EOL);\n while(n > -1){\n const line = s.substring(0, n);\n onLine(line);\n // the rest of the string ...\n s = s.substring(n + $0d71558eca5ea36b$var$os.EOL.length);\n n = s.indexOf($0d71558eca5ea36b$var$os.EOL);\n }\n return s;\n } catch (err) {\n // streaming lines to console is best effort. Don't fail a build.\n this._debug(`error processing line. Failed with error ${err}`);\n return \"\";\n }\n }\n _getSpawnFileName() {\n if ($0d71558eca5ea36b$var$IS_WINDOWS) {\n if (this._isCmdFile()) return process.env[\"COMSPEC\"] || \"cmd.exe\";\n }\n return this.toolPath;\n }\n _getSpawnArgs(options) {\n if ($0d71558eca5ea36b$var$IS_WINDOWS) {\n if (this._isCmdFile()) {\n let argline = `/D /S /C \"${this._windowsQuoteCmdArg(this.toolPath)}`;\n for (const a of this.args){\n argline += \" \";\n argline += options.windowsVerbatimArguments ? a : this._windowsQuoteCmdArg(a);\n }\n argline += '\"';\n return [\n argline\n ];\n }\n }\n return this.args;\n }\n _endsWith(str, end) {\n return str.endsWith(end);\n }\n _isCmdFile() {\n const upperToolPath = this.toolPath.toUpperCase();\n return this._endsWith(upperToolPath, \".CMD\") || this._endsWith(upperToolPath, \".BAT\");\n }\n _windowsQuoteCmdArg(arg) {\n // for .exe, apply the normal quoting rules that libuv applies\n if (!this._isCmdFile()) return this._uvQuoteCmdArg(arg);\n // otherwise apply quoting rules specific to the cmd.exe command line parser.\n // the libuv rules are generic and are not designed specifically for cmd.exe\n // command line parser.\n //\n // for a detailed description of the cmd.exe command line parser, refer to\n // http://stackoverflow.com/questions/4094699/how-does-the-windows-command-interpreter-cmd-exe-parse-scripts/7970912#7970912\n // need quotes for empty arg\n if (!arg) return '\"\"';\n // determine whether the arg needs to be quoted\n const cmdSpecialChars = [\n \" \",\n \"\t\",\n \"&\",\n \"(\",\n \")\",\n \"[\",\n \"]\",\n \"{\",\n \"}\",\n \"^\",\n \"=\",\n \";\",\n \"!\",\n \"'\",\n \"+\",\n \",\",\n \"`\",\n \"~\",\n \"|\",\n \"<\",\n \">\",\n '\"'\n ];\n let needsQuotes = false;\n for (const char of arg)if (cmdSpecialChars.some((x)=>x === char)) {\n needsQuotes = true;\n break;\n }\n // short-circuit if quotes not needed\n if (!needsQuotes) return arg;\n // the following quoting rules are very similar to the rules that by libuv applies.\n //\n // 1) wrap the string in quotes\n //\n // 2) double-up quotes - i.e. \" => \"\"\n //\n // this is different from the libuv quoting rules. libuv replaces \" with \\\", which unfortunately\n // doesn't work well with a cmd.exe command line.\n //\n // note, replacing \" with \"\" also works well if the arg is passed to a downstream .NET console app.\n // for example, the command line:\n // foo.exe \"myarg:\"\"my val\"\"\"\n // is parsed by a .NET console app into an arg array:\n // [ \"myarg:\\\"my val\\\"\" ]\n // which is the same end result when applying libuv quoting rules. although the actual\n // command line from libuv quoting rules would look like:\n // foo.exe \"myarg:\\\"my val\\\"\"\n //\n // 3) double-up slashes that precede a quote,\n // e.g. hello \\world => \"hello \\world\"\n // hello\\\"world => \"hello\\\\\"\"world\"\n // hello\\\\\"world => \"hello\\\\\\\\\"\"world\"\n // hello world\\ => \"hello world\\\\\"\n //\n // technically this is not required for a cmd.exe command line, or the batch argument parser.\n // the reasons for including this as a .cmd quoting rule are:\n //\n // a) this is optimized for the scenario where the argument is passed from the .cmd file to an\n // external program. many programs (e.g. .NET console apps) rely on the slash-doubling rule.\n //\n // b) it's what we've been doing previously (by deferring to node default behavior) and we\n // haven't heard any complaints about that aspect.\n //\n // note, a weakness of the quoting rules chosen here, is that % is not escaped. in fact, % cannot be\n // escaped when used on the command line directly - even though within a .cmd file % can be escaped\n // by using %%.\n //\n // the saving grace is, on the command line, %var% is left as-is if var is not defined. this contrasts\n // the line parsing rules within a .cmd file, where if var is not defined it is replaced with nothing.\n //\n // one option that was explored was replacing % with ^% - i.e. %var% => ^%var^%. this hack would\n // often work, since it is unlikely that var^ would exist, and the ^ character is removed when the\n // variable is used. the problem, however, is that ^ is not removed when %* is used to pass the args\n // to an external program.\n //\n // an unexplored potential solution for the % escaping problem, is to create a wrapper .cmd file.\n // % can be escaped within a .cmd file.\n let reverse = '\"';\n let quoteHit = true;\n for(let i = arg.length; i > 0; i--){\n // walk the string in reverse\n reverse += arg[i - 1];\n if (quoteHit && arg[i - 1] === \"\\\\\") reverse += \"\\\\\"; // double the slash\n else if (arg[i - 1] === '\"') {\n quoteHit = true;\n reverse += '\"'; // double the quote\n } else quoteHit = false;\n }\n reverse += '\"';\n return reverse.split(\"\").reverse().join(\"\");\n }\n _uvQuoteCmdArg(arg) {\n // Tool runner wraps child_process.spawn() and needs to apply the same quoting as\n // Node in certain cases where the undocumented spawn option windowsVerbatimArguments\n // is used.\n //\n // Since this function is a port of quote_cmd_arg from Node 4.x (technically, lib UV,\n // see https://github.com/nodejs/node/blob/v4.x/deps/uv/src/win/process.c for details),\n // pasting copyright notice from Node within this function:\n //\n // Copyright Joyent, Inc. and other Node contributors. All rights reserved.\n //\n // Permission is hereby granted, free of charge, to any person obtaining a copy\n // of this software and associated documentation files (the \"Software\"), to\n // deal in the Software without restriction, including without limitation the\n // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or\n // sell copies of the Software, and to permit persons to whom the Software is\n // furnished to do so, subject to the following conditions:\n //\n // The above copyright notice and this permission notice shall be included in\n // all copies or substantial portions of the Software.\n //\n // THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\n // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS\n // IN THE SOFTWARE.\n if (!arg) // Need double quotation for empty argument\n return '\"\"';\n if (!arg.includes(\" \") && !arg.includes(\"\t\") && !arg.includes('\"')) // No quotation needed\n return arg;\n if (!arg.includes('\"') && !arg.includes(\"\\\\\")) // No embedded double quotes or backslashes, so I can just wrap\n // quote marks around the whole thing.\n return `\"${arg}\"`;\n // Expected input/output:\n // input : hello\"world\n // output: \"hello\\\"world\"\n // input : hello\"\"world\n // output: \"hello\\\"\\\"world\"\n // input : hello\\world\n // output: hello\\world\n // input : hello\\\\world\n // output: hello\\\\world\n // input : hello\\\"world\n // output: \"hello\\\\\\\"world\"\n // input : hello\\\\\"world\n // output: \"hello\\\\\\\\\\\"world\"\n // input : hello world\\\n // output: \"hello world\\\\\" - note the comment in libuv actually reads \"hello world\\\"\n // but it appears the comment is wrong, it should be \"hello world\\\\\"\n let reverse = '\"';\n let quoteHit = true;\n for(let i = arg.length; i > 0; i--){\n // walk the string in reverse\n reverse += arg[i - 1];\n if (quoteHit && arg[i - 1] === \"\\\\\") reverse += \"\\\\\";\n else if (arg[i - 1] === '\"') {\n quoteHit = true;\n reverse += \"\\\\\";\n } else quoteHit = false;\n }\n reverse += '\"';\n return reverse.split(\"\").reverse().join(\"\");\n }\n _cloneExecOptions(options) {\n options = options || {};\n const result = {\n cwd: options.cwd || process.cwd(),\n env: options.env || process.env,\n silent: options.silent || false,\n windowsVerbatimArguments: options.windowsVerbatimArguments || false,\n failOnStdErr: options.failOnStdErr || false,\n ignoreReturnCode: options.ignoreReturnCode || false,\n delay: options.delay || 10000\n };\n result.outStream = options.outStream || process.stdout;\n result.errStream = options.errStream || process.stderr;\n return result;\n }\n _getSpawnOptions(options, toolPath) {\n options = options || {};\n const result = {};\n result.cwd = options.cwd;\n result.env = options.env;\n result[\"windowsVerbatimArguments\"] = options.windowsVerbatimArguments || this._isCmdFile();\n if (options.windowsVerbatimArguments) result.argv0 = `\"${toolPath}\"`;\n return result;\n }\n /**\n * Exec a tool.\n * Output will be streamed to the live console.\n * Returns promise with return code\n *\n * @param tool path to tool to exec\n * @param options optional exec options. See ExecOptions\n * @returns number\n */ exec() {\n return $0d71558eca5ea36b$var$__awaiter(this, void 0, void 0, function*() {\n // root the tool path if it is unrooted and contains relative pathing\n if (!$0d71558eca5ea36b$var$ioUtil.isRooted(this.toolPath) && (this.toolPath.includes(\"/\") || $0d71558eca5ea36b$var$IS_WINDOWS && this.toolPath.includes(\"\\\\\"))) // prefer options.cwd if it is specified, however options.cwd may also need to be rooted\n this.toolPath = $0d71558eca5ea36b$var$path.resolve(process.cwd(), this.options.cwd || process.cwd(), this.toolPath);\n // if the tool is only a file name, then resolve it from the PATH\n // otherwise verify it exists (add extension on Windows if necessary)\n this.toolPath = yield $0d71558eca5ea36b$var$io.which(this.toolPath, true);\n return new Promise((resolve, reject)=>$0d71558eca5ea36b$var$__awaiter(this, void 0, void 0, function*() {\n this._debug(`exec tool: ${this.toolPath}`);\n this._debug(\"arguments:\");\n for (const arg of this.args)this._debug(` ${arg}`);\n const optionsNonNull = this._cloneExecOptions(this.options);\n if (!optionsNonNull.silent && optionsNonNull.outStream) optionsNonNull.outStream.write(this._getCommandString(optionsNonNull) + $0d71558eca5ea36b$var$os.EOL);\n const state = new $0d71558eca5ea36b$var$ExecState(optionsNonNull, this.toolPath);\n state.on(\"debug\", (message)=>{\n this._debug(message);\n });\n if (this.options.cwd && !(yield $0d71558eca5ea36b$var$ioUtil.exists(this.options.cwd))) return reject(new Error(`The cwd: ${this.options.cwd} does not exist!`));\n const fileName = this._getSpawnFileName();\n const cp = $0d71558eca5ea36b$var$child.spawn(fileName, this._getSpawnArgs(optionsNonNull), this._getSpawnOptions(this.options, fileName));\n let stdbuffer = \"\";\n if (cp.stdout) cp.stdout.on(\"data\", (data)=>{\n if (this.options.listeners && this.options.listeners.stdout) this.options.listeners.stdout(data);\n if (!optionsNonNull.silent && optionsNonNull.outStream) optionsNonNull.outStream.write(data);\n stdbuffer = this._processLineBuffer(data, stdbuffer, (line)=>{\n if (this.options.listeners && this.options.listeners.stdline) this.options.listeners.stdline(line);\n });\n });\n let errbuffer = \"\";\n if (cp.stderr) cp.stderr.on(\"data\", (data)=>{\n state.processStderr = true;\n if (this.options.listeners && this.options.listeners.stderr) this.options.listeners.stderr(data);\n if (!optionsNonNull.silent && optionsNonNull.errStream && optionsNonNull.outStream) {\n const s = optionsNonNull.failOnStdErr ? optionsNonNull.errStream : optionsNonNull.outStream;\n s.write(data);\n }\n errbuffer = this._processLineBuffer(data, errbuffer, (line)=>{\n if (this.options.listeners && this.options.listeners.errline) this.options.listeners.errline(line);\n });\n });\n cp.on(\"error\", (err)=>{\n state.processError = err.message;\n state.processExited = true;\n state.processClosed = true;\n state.CheckComplete();\n });\n cp.on(\"exit\", (code)=>{\n state.processExitCode = code;\n state.processExited = true;\n this._debug(`Exit code ${code} received from tool '${this.toolPath}'`);\n state.CheckComplete();\n });\n cp.on(\"close\", (code)=>{\n state.processExitCode = code;\n state.processExited = true;\n state.processClosed = true;\n this._debug(`STDIO streams have closed for tool '${this.toolPath}'`);\n state.CheckComplete();\n });\n state.on(\"done\", (error, exitCode)=>{\n if (stdbuffer.length > 0) this.emit(\"stdline\", stdbuffer);\n if (errbuffer.length > 0) this.emit(\"errline\", errbuffer);\n cp.removeAllListeners();\n if (error) reject(error);\n else resolve(exitCode);\n });\n if (this.options.input) {\n if (!cp.stdin) throw new Error(\"child process missing stdin\");\n cp.stdin.end(this.options.input);\n }\n }));\n });\n }\n}\nmodule.exports.ToolRunner = $0d71558eca5ea36b$var$ToolRunner;\n/**\n * Convert an arg string to an array of args. Handles escaping\n *\n * @param argString string of arguments\n * @returns string[] array of arguments\n */ function $0d71558eca5ea36b$var$argStringToArray(argString) {\n const args = [];\n let inQuotes = false;\n let escaped = false;\n let arg = \"\";\n function append(c) {\n // we only escape double quotes.\n if (escaped && c !== '\"') arg += \"\\\\\";\n arg += c;\n escaped = false;\n }\n for(let i = 0; i < argString.length; i++){\n const c = argString.charAt(i);\n if (c === '\"') {\n if (!escaped) inQuotes = !inQuotes;\n else append(c);\n continue;\n }\n if (c === \"\\\\\" && escaped) {\n append(c);\n continue;\n }\n if (c === \"\\\\\" && inQuotes) {\n escaped = true;\n continue;\n }\n if (c === \" \" && !inQuotes) {\n if (arg.length > 0) {\n args.push(arg);\n arg = \"\";\n }\n continue;\n }\n append(c);\n }\n if (arg.length > 0) args.push(arg.trim());\n return args;\n}\nmodule.exports.argStringToArray = $0d71558eca5ea36b$var$argStringToArray;\nclass $0d71558eca5ea36b$var$ExecState extends $0d71558eca5ea36b$var$events.EventEmitter {\n constructor(options, toolPath){\n super();\n this.processClosed = false; // tracks whether the process has exited and stdio is closed\n this.processError = \"\";\n this.processExitCode = 0;\n this.processExited = false; // tracks whether the process has exited\n this.processStderr = false; // tracks whether stderr was written to\n this.delay = 10000; // 10 seconds\n this.done = false;\n this.timeout = null;\n if (!toolPath) throw new Error(\"toolPath must not be empty\");\n this.options = options;\n this.toolPath = toolPath;\n if (options.delay) this.delay = options.delay;\n }\n CheckComplete() {\n if (this.done) return;\n if (this.processClosed) this._setResult();\n else if (this.processExited) this.timeout = $4umf8$timers.setTimeout($0d71558eca5ea36b$var$ExecState.HandleTimeout, this.delay, this);\n }\n _debug(message) {\n this.emit(\"debug\", message);\n }\n _setResult() {\n // determine whether there is an error\n let error;\n if (this.processExited) {\n if (this.processError) error = new Error(`There was an error when attempting to execute the process '${this.toolPath}'. This may indicate the process failed to start. Error: ${this.processError}`);\n else if (this.processExitCode !== 0 && !this.options.ignoreReturnCode) error = new Error(`The process '${this.toolPath}' failed with exit code ${this.processExitCode}`);\n else if (this.processStderr && this.options.failOnStdErr) error = new Error(`The process '${this.toolPath}' failed because one or more lines were written to the STDERR stream`);\n }\n // clear the timeout\n if (this.timeout) {\n clearTimeout(this.timeout);\n this.timeout = null;\n }\n this.done = true;\n this.emit(\"done\", error, this.processExitCode);\n }\n static HandleTimeout(state) {\n if (state.done) return;\n if (!state.processClosed && state.processExited) {\n const message = `The STDIO streams did not close within ${state.delay / 1000} seconds of the exit event from process '${state.toolPath}'. This may indicate a child process inherited the STDIO streams and has not yet exited.`;\n state._debug(message);\n }\n state._setResult();\n }\n}\n\n});\n\n\nparcelRequire.register(\"dDAlR\", function(module, exports) {\nmodule.exports = Promise.resolve(require(\"./actions_python.92140582.js\")).then(()=>parcelRequire(\"8L9T2\"));\n\n});\n\n\nvar $cLprm = parcelRequire(\"cLprm\");\n\nvar $hHq4F = parcelRequire(\"hHq4F\");\n\nvar $3abeg = parcelRequire(\"3abeg\");\nvar $8ec2387b4b548e73$exports = {};\n\n(function() {\n var root = this;\n var numerous;\n numerous = (parcelRequire(\"ljv3o\"));\n numerous.addLocale(\"en\", function pluralize_en(n /*``*/ ) {\n var i = Math.floor(Math.abs(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($8ec2387b4b548e73$exports);\n\n\nvar $d359fb87ceb7ae02$exports = {};\n\n$d359fb87ceb7ae02$exports = (parcelRequire(\"kAOmP\"));\n\n\nvar $95744812b1d11a1d$exports = {};\n$95744812b1d11a1d$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\n\n\nvar $2ef69065d5c0be07$exports = {};\n\"use strict\";\n\nconst $2ef69065d5c0be07$var$homeDirectory = $4umf8$os.homedir();\n$2ef69065d5c0be07$exports = (pathWithTilde)=>{\n if (typeof pathWithTilde !== \"string\") throw new TypeError(`Expected a string, got ${typeof pathWithTilde}`);\n return $2ef69065d5c0be07$var$homeDirectory ? pathWithTilde.replace(/^~(?=$|\\/|\\\\)/, $2ef69065d5c0be07$var$homeDirectory) : pathWithTilde;\n};\n\n\nvar $62c5f8067a789ef5$exports = {};\nconst $62c5f8067a789ef5$var$isWindows = process.platform === \"win32\" || process.env.OSTYPE === \"cygwin\" || process.env.OSTYPE === \"msys\";\n\nconst $62c5f8067a789ef5$var$COLON = $62c5f8067a789ef5$var$isWindows ? \";\" : \":\";\nvar $92a9b6d86a28c286$exports = {};\n\nvar $92a9b6d86a28c286$var$core;\n\n\nif (process.platform === \"win32\" || $parcel$global.TESTING_WINDOWS) $92a9b6d86a28c286$var$core = (parcelRequire(\"gRK0M\"));\nelse $92a9b6d86a28c286$var$core = (parcelRequire(\"9ZovO\"));\n$92a9b6d86a28c286$exports = $92a9b6d86a28c286$var$isexe;\n$92a9b6d86a28c286$var$isexe.sync = $92a9b6d86a28c286$var$sync;\nfunction $92a9b6d86a28c286$var$isexe(path, options, cb) {\n if (typeof options === \"function\") {\n cb = options;\n options = {};\n }\n if (!cb) {\n if (typeof Promise !== \"function\") throw new TypeError(\"callback not provided\");\n return new Promise(function(resolve, reject) {\n $92a9b6d86a28c286$var$isexe(path, options || {}, function(er, is) {\n if (er) reject(er);\n else resolve(is);\n });\n });\n }\n $92a9b6d86a28c286$var$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}\nfunction $92a9b6d86a28c286$var$sync(path, options) {\n // my kingdom for a filtered catch\n try {\n return $92a9b6d86a28c286$var$core.sync(path, options || {});\n } catch (er) {\n if (options && options.ignoreErrors || er.code === \"EACCES\") return false;\n else throw er;\n }\n}\n\n\nconst $62c5f8067a789ef5$var$getNotFoundError = (cmd)=>Object.assign(new Error(`not found: ${cmd}`), {\n code: \"ENOENT\"\n });\nconst $62c5f8067a789ef5$var$getPathInfo = (cmd, opt)=>{\n const colon = opt.colon || $62c5f8067a789ef5$var$COLON;\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(/\\//) || $62c5f8067a789ef5$var$isWindows && cmd.match(/\\\\/) ? [\n \"\"\n ] : [\n // windows always checks the cwd first\n ...$62c5f8067a789ef5$var$isWindows ? [\n process.cwd()\n ] : [],\n ...(opt.path || process.env.PATH || /* istanbul ignore next: very unusual */ \"\").split(colon)\n ];\n const pathExtExe = $62c5f8067a789ef5$var$isWindows ? opt.pathExt || process.env.PATHEXT || \".EXE;.CMD;.BAT;.COM\" : \"\";\n const pathExt = $62c5f8067a789ef5$var$isWindows ? pathExtExe.split(colon) : [\n \"\"\n ];\n if ($62c5f8067a789ef5$var$isWindows) {\n if (cmd.indexOf(\".\") !== -1 && pathExt[0] !== \"\") pathExt.unshift(\"\");\n }\n return {\n pathEnv: pathEnv,\n pathExt: pathExt,\n pathExtExe: pathExtExe\n };\n};\nconst $62c5f8067a789ef5$var$which = (cmd, opt, cb)=>{\n if (typeof opt === \"function\") {\n cb = opt;\n opt = {};\n }\n if (!opt) opt = {};\n const { pathEnv: pathEnv, pathExt: pathExt, pathExtExe: pathExtExe } = $62c5f8067a789ef5$var$getPathInfo(cmd, opt);\n const found = [];\n const step = (i)=>new Promise((resolve, reject)=>{\n if (i === pathEnv.length) return opt.all && found.length ? resolve(found) : reject($62c5f8067a789ef5$var$getNotFoundError(cmd));\n const ppRaw = pathEnv[i];\n const pathPart = /^\".*\"$/.test(ppRaw) ? ppRaw.slice(1, -1) : ppRaw;\n const pCmd = $4umf8$path.join(pathPart, cmd);\n const p = !pathPart && /^\\.[\\\\\\/]/.test(cmd) ? cmd.slice(0, 2) + pCmd : pCmd;\n resolve(subStep(p, i, 0));\n });\n const subStep = (p, i, ii)=>new Promise((resolve, reject)=>{\n if (ii === pathExt.length) return resolve(step(i + 1));\n const ext = pathExt[ii];\n $92a9b6d86a28c286$exports(p + ext, {\n pathExt: pathExtExe\n }, (er, is)=>{\n if (!er && is) {\n if (opt.all) found.push(p + ext);\n else return resolve(p + ext);\n }\n return resolve(subStep(p, i, ii + 1));\n });\n });\n return cb ? step(0).then((res)=>cb(null, res), cb) : step(0);\n};\nconst $62c5f8067a789ef5$var$whichSync = (cmd, opt)=>{\n opt = opt || {};\n const { pathEnv: pathEnv, pathExt: pathExt, pathExtExe: pathExtExe } = $62c5f8067a789ef5$var$getPathInfo(cmd, opt);\n const found = [];\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 const pCmd = $4umf8$path.join(pathPart, cmd);\n const p = !pathPart && /^\\.[\\\\\\/]/.test(cmd) ? cmd.slice(0, 2) + pCmd : pCmd;\n for(let j = 0; j < pathExt.length; j++){\n const cur = p + pathExt[j];\n try {\n const is = $92a9b6d86a28c286$exports.sync(cur, {\n pathExt: pathExtExe\n });\n if (is) {\n if (opt.all) found.push(cur);\n else return cur;\n }\n } catch (ex) {}\n }\n }\n if (opt.all && found.length) return found;\n if (opt.nothrow) return null;\n throw $62c5f8067a789ef5$var$getNotFoundError(cmd);\n};\n$62c5f8067a789ef5$exports = $62c5f8067a789ef5$var$which;\n$62c5f8067a789ef5$var$which.sync = $62c5f8067a789ef5$var$whichSync;\n\n\nvar $0b38a8fd709fe3ac$exports = {};\n\"use strict\";\n\n\nvar $df67359950f095d8$exports = {};\n\"use strict\";\n\nvar $4d8f7f2f3c0af30b$exports = {};\n\"use strict\";\n\nvar $ad233a42b3f4c902$exports = {};\n\"use strict\";\n\n\nvar $db7b0b6b104e13ed$exports = {};\n\"use strict\";\nconst $db7b0b6b104e13ed$var$pathKey = (options = {})=>{\n const environment = options.env || process.env;\n const platform = options.platform || process.platform;\n if (platform !== \"win32\") return \"PATH\";\n return Object.keys(environment).reverse().find((key)=>key.toUpperCase() === \"PATH\") || \"Path\";\n};\n$db7b0b6b104e13ed$exports = $db7b0b6b104e13ed$var$pathKey;\n// TODO: Remove this for the next major release\n$db7b0b6b104e13ed$exports.default = $db7b0b6b104e13ed$var$pathKey;\n\n\nfunction $ad233a42b3f4c902$var$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 // 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) try {\n process.chdir(parsed.options.cwd);\n } catch (err) {\n /* Empty */ }\n let resolved;\n try {\n resolved = $62c5f8067a789ef5$exports.sync(parsed.command, {\n path: env[$db7b0b6b104e13ed$exports({\n env: env\n })],\n pathExt: withoutPathExt ? $4umf8$path.delimiter : undefined\n });\n } catch (e) {\n /* Empty */ } finally{\n if (shouldSwitchCwd) process.chdir(cwd);\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) resolved = $4umf8$path.resolve(hasCustomCwd ? parsed.options.cwd : \"\", resolved);\n return resolved;\n}\nfunction $ad233a42b3f4c902$var$resolveCommand(parsed) {\n return $ad233a42b3f4c902$var$resolveCommandAttempt(parsed) || $ad233a42b3f4c902$var$resolveCommandAttempt(parsed, true);\n}\n$ad233a42b3f4c902$exports = $ad233a42b3f4c902$var$resolveCommand;\n\n\nvar $fa239e9b114e8a85$export$ae50443ffc990749;\nvar $fa239e9b114e8a85$export$6ea29ee575e3f5ff;\n\"use strict\";\n// See http://www.robvanderwoude.com/escapechars.php\nconst $fa239e9b114e8a85$var$metaCharsRegExp = /([()\\][%!^\"`<>&|;, *?])/g;\nfunction $fa239e9b114e8a85$var$escapeCommand(arg) {\n // Escape meta chars\n arg = arg.replace($fa239e9b114e8a85$var$metaCharsRegExp, \"^$1\");\n return arg;\n}\nfunction $fa239e9b114e8a85$var$escapeArgument(arg, doubleEscapeMetaChars) {\n // Convert to string\n arg = `${arg}`;\n // Algorithm below is based on https://qntm.org/cmd\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 // 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 // All other backslashes occur literally\n // Quote the whole thing:\n arg = `\"${arg}\"`;\n // Escape meta chars\n arg = arg.replace($fa239e9b114e8a85$var$metaCharsRegExp, \"^$1\");\n // Double escape meta chars if necessary\n if (doubleEscapeMetaChars) arg = arg.replace($fa239e9b114e8a85$var$metaCharsRegExp, \"^$1\");\n return arg;\n}\n$fa239e9b114e8a85$export$ae50443ffc990749 = $fa239e9b114e8a85$var$escapeCommand;\n$fa239e9b114e8a85$export$6ea29ee575e3f5ff = $fa239e9b114e8a85$var$escapeArgument;\n\n\nvar $f96252ba69cfe921$exports = {};\n\"use strict\";\n\nvar $071cc93cfb505b70$exports = {};\n\"use strict\";\nvar $1272ac33eaacff8c$exports = {};\n\"use strict\";\n$1272ac33eaacff8c$exports = /^#!(.*)/;\n\n\n$071cc93cfb505b70$exports = (string = \"\")=>{\n const match = string.match($1272ac33eaacff8c$exports);\n if (!match) return null;\n const [path, argument] = match[0].replace(/#! ?/, \"\").split(\" \");\n const binary = path.split(\"/\").pop();\n if (binary === \"env\") return argument;\n return argument ? `${binary} ${argument}` : binary;\n};\n\n\nfunction $f96252ba69cfe921$var$readShebang(command) {\n // Read the first 150 bytes from the file\n const size = 150;\n const buffer = Buffer.alloc(size);\n let fd;\n try {\n fd = $4umf8$fs.openSync(command, \"r\");\n $4umf8$fs.readSync(fd, buffer, 0, size, 0);\n $4umf8$fs.closeSync(fd);\n } catch (e) {}\n // Attempt to extract shebang (null is returned if not a shebang)\n return $071cc93cfb505b70$exports(buffer.toString());\n}\n$f96252ba69cfe921$exports = $f96252ba69cfe921$var$readShebang;\n\n\nconst $4d8f7f2f3c0af30b$var$isWin = process.platform === \"win32\";\nconst $4d8f7f2f3c0af30b$var$isExecutableRegExp = /\\.(?:com|exe)$/i;\nconst $4d8f7f2f3c0af30b$var$isCmdShimRegExp = /node_modules[\\\\/].bin[\\\\/][^\\\\/]+\\.cmd$/i;\nfunction $4d8f7f2f3c0af30b$var$detectShebang(parsed) {\n parsed.file = $ad233a42b3f4c902$exports(parsed);\n const shebang = parsed.file && $f96252ba69cfe921$exports(parsed.file);\n if (shebang) {\n parsed.args.unshift(parsed.file);\n parsed.command = shebang;\n return $ad233a42b3f4c902$exports(parsed);\n }\n return parsed.file;\n}\nfunction $4d8f7f2f3c0af30b$var$parseNonShell(parsed) {\n if (!$4d8f7f2f3c0af30b$var$isWin) return parsed;\n // Detect & add support for shebangs\n const commandFile = $4d8f7f2f3c0af30b$var$detectShebang(parsed);\n // We don't need a shell if the command filename is an executable\n const needsShell = !$4d8f7f2f3c0af30b$var$isExecutableRegExp.test(commandFile);\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 = $4d8f7f2f3c0af30b$var$isCmdShimRegExp.test(commandFile);\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 = $4umf8$path.normalize(parsed.command);\n // Escape command & arguments\n parsed.command = $fa239e9b114e8a85$export$ae50443ffc990749(parsed.command);\n parsed.args = parsed.args.map((arg)=>$fa239e9b114e8a85$export$6ea29ee575e3f5ff(arg, needsDoubleEscapeMetaChars));\n const shellCommand = [\n parsed.command\n ].concat(parsed.args).join(\" \");\n parsed.args = [\n \"/d\",\n \"/s\",\n \"/c\",\n `\"${shellCommand}\"`\n ];\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 return parsed;\n}\nfunction $4d8f7f2f3c0af30b$var$parse(command, args, options) {\n // Normalize arguments, similar to nodejs\n if (args && !Array.isArray(args)) {\n options = args;\n args = null;\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 // Build our parsed object\n const parsed = {\n command: command,\n args: args,\n options: options,\n file: undefined,\n original: {\n command: command,\n args: args\n }\n };\n // Delegate further parsing to shell or non-shell\n return options.shell ? parsed : $4d8f7f2f3c0af30b$var$parseNonShell(parsed);\n}\n$4d8f7f2f3c0af30b$exports = $4d8f7f2f3c0af30b$var$parse;\n\n\nvar $4228bf1a6a3bd82c$exports = {};\n\"use strict\";\nconst $4228bf1a6a3bd82c$var$isWin = process.platform === \"win32\";\nfunction $4228bf1a6a3bd82c$var$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}\nfunction $4228bf1a6a3bd82c$var$hookChildProcess(cp, parsed) {\n if (!$4228bf1a6a3bd82c$var$isWin) return;\n const originalEmit = cp.emit;\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 = $4228bf1a6a3bd82c$var$verifyENOENT(arg1, parsed, \"spawn\");\n if (err) return originalEmit.call(cp, \"error\", err);\n }\n return originalEmit.apply(cp, arguments); // eslint-disable-line prefer-rest-params\n };\n}\nfunction $4228bf1a6a3bd82c$var$verifyENOENT(status, parsed) {\n if ($4228bf1a6a3bd82c$var$isWin && status === 1 && !parsed.file) return $4228bf1a6a3bd82c$var$notFoundError(parsed.original, \"spawn\");\n return null;\n}\nfunction $4228bf1a6a3bd82c$var$verifyENOENTSync(status, parsed) {\n if ($4228bf1a6a3bd82c$var$isWin && status === 1 && !parsed.file) return $4228bf1a6a3bd82c$var$notFoundError(parsed.original, \"spawnSync\");\n return null;\n}\n$4228bf1a6a3bd82c$exports = {\n hookChildProcess: $4228bf1a6a3bd82c$var$hookChildProcess,\n verifyENOENT: $4228bf1a6a3bd82c$var$verifyENOENT,\n verifyENOENTSync: $4228bf1a6a3bd82c$var$verifyENOENTSync,\n notFoundError: $4228bf1a6a3bd82c$var$notFoundError\n};\n\n\nfunction $df67359950f095d8$var$spawn(command, args, options) {\n // Parse the arguments\n const parsed = $4d8f7f2f3c0af30b$exports(command, args, options);\n // Spawn the child process\n const spawned = $4umf8$child_process.spawn(parsed.command, parsed.args, parsed.options);\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 $4228bf1a6a3bd82c$exports.hookChildProcess(spawned, parsed);\n return spawned;\n}\nfunction $df67359950f095d8$var$spawnSync(command, args, options) {\n // Parse the arguments\n const parsed = $4d8f7f2f3c0af30b$exports(command, args, options);\n // Spawn the child process\n const result = $4umf8$child_process.spawnSync(parsed.command, parsed.args, parsed.options);\n // Analyze if the command does not exist, see: https://github.com/IndigoUnited/node-cross-spawn/issues/16\n result.error = result.error || $4228bf1a6a3bd82c$exports.verifyENOENTSync(result.status, parsed);\n return result;\n}\n$df67359950f095d8$exports = $df67359950f095d8$var$spawn;\n$df67359950f095d8$exports.spawn = $df67359950f095d8$var$spawn;\n$df67359950f095d8$exports.sync = $df67359950f095d8$var$spawnSync;\n$df67359950f095d8$exports._parse = $4d8f7f2f3c0af30b$exports;\n$df67359950f095d8$exports._enoent = $4228bf1a6a3bd82c$exports;\n\n\nvar $d9afca949409280f$exports = {};\n\"use strict\";\n$d9afca949409280f$exports = (input)=>{\n const LF = typeof input === \"string\" ? \"\\n\" : \"\\n\".charCodeAt();\n const CR = typeof input === \"string\" ? \"\\r\" : \"\\r\".charCodeAt();\n if (input[input.length - 1] === LF) input = input.slice(0, input.length - 1);\n if (input[input.length - 1] === CR) input = input.slice(0, input.length - 1);\n return input;\n};\n\n\nvar $f8d7e5e77ed24f12$exports = {};\n\"use strict\";\n\n\nconst $f8d7e5e77ed24f12$var$npmRunPath = (options)=>{\n options = {\n cwd: process.cwd(),\n path: process.env[$db7b0b6b104e13ed$exports()],\n execPath: process.execPath,\n ...options\n };\n let previous;\n let cwdPath = $4umf8$path.resolve(options.cwd);\n const result = [];\n while(previous !== cwdPath){\n result.push($4umf8$path.join(cwdPath, \"node_modules/.bin\"));\n previous = cwdPath;\n cwdPath = $4umf8$path.resolve(cwdPath, \"..\");\n }\n // Ensure the running `node` binary is used\n const execPathDir = $4umf8$path.resolve(options.cwd, options.execPath, \"..\");\n result.push(execPathDir);\n return result.concat(options.path).join($4umf8$path.delimiter);\n};\n$f8d7e5e77ed24f12$exports = $f8d7e5e77ed24f12$var$npmRunPath;\n// TODO: Remove this for the next major release\n$f8d7e5e77ed24f12$exports.default = $f8d7e5e77ed24f12$var$npmRunPath;\n$f8d7e5e77ed24f12$exports.env = (options)=>{\n options = {\n env: process.env,\n ...options\n };\n const env = {\n ...options.env\n };\n const path = $db7b0b6b104e13ed$exports({\n env: env\n });\n options.path = env[path];\n env[path] = $f8d7e5e77ed24f12$exports(options);\n return env;\n};\n\n\nvar $e904efcf8b91b194$exports = {};\n\"use strict\";\nvar $2d62a02372a434f2$exports = {};\n\"use strict\";\nconst $2d62a02372a434f2$var$mimicFn = (to, from)=>{\n for (const prop of Reflect.ownKeys(from))Object.defineProperty(to, prop, Object.getOwnPropertyDescriptor(from, prop));\n return to;\n};\n$2d62a02372a434f2$exports = $2d62a02372a434f2$var$mimicFn;\n// TODO: Remove this for the next major release\n$2d62a02372a434f2$exports.default = $2d62a02372a434f2$var$mimicFn;\n\n\nconst $e904efcf8b91b194$var$calledFunctions = new WeakMap();\nconst $e904efcf8b91b194$var$onetime = (function_, options = {})=>{\n if (typeof function_ !== \"function\") throw new TypeError(\"Expected a function\");\n let returnValue;\n let callCount = 0;\n const functionName = function_.displayName || function_.name || \"\";\n const onetime = function(...arguments_) {\n $e904efcf8b91b194$var$calledFunctions.set(onetime, ++callCount);\n if (callCount === 1) {\n returnValue = function_.apply(this, arguments_);\n function_ = null;\n } else if (options.throw === true) throw new Error(`Function \\`${functionName}\\` can only be called once`);\n return returnValue;\n };\n $2d62a02372a434f2$exports(onetime, function_);\n $e904efcf8b91b194$var$calledFunctions.set(onetime, callCount);\n return onetime;\n};\n$e904efcf8b91b194$exports = $e904efcf8b91b194$var$onetime;\n// TODO: Remove this for the next major release\n$e904efcf8b91b194$exports.default = $e904efcf8b91b194$var$onetime;\n$e904efcf8b91b194$exports.callCount = (function_)=>{\n if (!$e904efcf8b91b194$var$calledFunctions.has(function_)) throw new Error(`The given function \\`${function_.name}\\` is not wrapped by the \\`onetime\\` package`);\n return $e904efcf8b91b194$var$calledFunctions.get(function_);\n};\n\n\nvar $3a5180cd9694bbe0$exports = {};\n\"use strict\";\nvar $f9d27fe66fdda4a7$exports = {};\n\"use strict\";\nObject.defineProperty($f9d27fe66fdda4a7$exports, \"__esModule\", {\n value: true\n});\n$f9d27fe66fdda4a7$exports.signalsByNumber = $f9d27fe66fdda4a7$exports.signalsByName = void 0;\n\nvar $d899256fa511db84$exports = {};\n\"use strict\";\nObject.defineProperty($d899256fa511db84$exports, \"__esModule\", {\n value: true\n});\n$d899256fa511db84$exports.getSignals = void 0;\n\nvar $e9bea9a8608c3a63$exports = {};\n\"use strict\";\nObject.defineProperty($e9bea9a8608c3a63$exports, \"__esModule\", {\n value: true\n});\n$e9bea9a8608c3a63$exports.SIGNALS = void 0;\nconst $e9bea9a8608c3a63$var$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: \"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$e9bea9a8608c3a63$exports.SIGNALS = $e9bea9a8608c3a63$var$SIGNALS;\n\n\nvar $4fc8b649c2309cf9$exports = {};\n\"use strict\";\nObject.defineProperty($4fc8b649c2309cf9$exports, \"__esModule\", {\n value: true\n});\n$4fc8b649c2309cf9$exports.SIGRTMAX = $4fc8b649c2309cf9$exports.getRealtimeSignals = void 0;\nconst $4fc8b649c2309cf9$var$getRealtimeSignals = function() {\n const length = $4fc8b649c2309cf9$var$SIGRTMAX - $4fc8b649c2309cf9$var$SIGRTMIN + 1;\n return Array.from({\n length: length\n }, $4fc8b649c2309cf9$var$getRealtimeSignal);\n};\n$4fc8b649c2309cf9$exports.getRealtimeSignals = $4fc8b649c2309cf9$var$getRealtimeSignals;\nconst $4fc8b649c2309cf9$var$getRealtimeSignal = function(value, index) {\n return {\n name: `SIGRT${index + 1}`,\n number: $4fc8b649c2309cf9$var$SIGRTMIN + index,\n action: \"terminate\",\n description: \"Application-specific signal (realtime)\",\n standard: \"posix\"\n };\n};\nconst $4fc8b649c2309cf9$var$SIGRTMIN = 34;\nconst $4fc8b649c2309cf9$var$SIGRTMAX = 64;\n$4fc8b649c2309cf9$exports.SIGRTMAX = $4fc8b649c2309cf9$var$SIGRTMAX;\n\n\nconst $d899256fa511db84$var$getSignals = function() {\n const realtimeSignals = (0, $4fc8b649c2309cf9$exports.getRealtimeSignals)();\n const signals = [\n ...$e9bea9a8608c3a63$exports.SIGNALS,\n ...realtimeSignals\n ].map($d899256fa511db84$var$normalizeSignal);\n return signals;\n};\n$d899256fa511db84$exports.getSignals = $d899256fa511db84$var$getSignals;\nconst $d899256fa511db84$var$normalizeSignal = function({ name: name, number: defaultNumber, description: description, action: action, forced: forced = false, standard: standard }) {\n const { signals: { [name]: constantSignal } } = $4umf8$os.constants;\n const supported = constantSignal !== undefined;\n const number = supported ? constantSignal : defaultNumber;\n return {\n name: name,\n number: number,\n description: description,\n supported: supported,\n action: action,\n forced: forced,\n standard: standard\n };\n};\n\n\n\nconst $f9d27fe66fdda4a7$var$getSignalsByName = function() {\n const signals = (0, $d899256fa511db84$exports.getSignals)();\n return signals.reduce($f9d27fe66fdda4a7$var$getSignalByName, {});\n};\nconst $f9d27fe66fdda4a7$var$getSignalByName = function(signalByNameMemo, { name: name, number: number, description: description, supported: supported, action: action, forced: forced, standard: standard }) {\n return {\n ...signalByNameMemo,\n [name]: {\n name: name,\n number: number,\n description: description,\n supported: supported,\n action: action,\n forced: forced,\n standard: standard\n }\n };\n};\nconst $f9d27fe66fdda4a7$var$signalsByName = $f9d27fe66fdda4a7$var$getSignalsByName();\n$f9d27fe66fdda4a7$exports.signalsByName = $f9d27fe66fdda4a7$var$signalsByName;\nconst $f9d27fe66fdda4a7$var$getSignalsByNumber = function() {\n const signals = (0, $d899256fa511db84$exports.getSignals)();\n const length = $4fc8b649c2309cf9$exports.SIGRTMAX + 1;\n const signalsA = Array.from({\n length: length\n }, (value, number)=>$f9d27fe66fdda4a7$var$getSignalByNumber(number, signals));\n return Object.assign({}, ...signalsA);\n};\nconst $f9d27fe66fdda4a7$var$getSignalByNumber = function(number, signals) {\n const signal = $f9d27fe66fdda4a7$var$findSignalByNumber(number, signals);\n if (signal === undefined) return {};\n const { name: name, description: description, supported: supported, action: action, forced: forced, standard: standard } = signal;\n return {\n [number]: {\n name: name,\n number: number,\n description: description,\n supported: supported,\n action: action,\n forced: forced,\n standard: standard\n }\n };\n};\nconst $f9d27fe66fdda4a7$var$findSignalByNumber = function(number, signals) {\n const signal = signals.find(({ name: name })=>$4umf8$os.constants.signals[name] === number);\n if (signal !== undefined) return signal;\n return signals.find((signalA)=>signalA.number === number);\n};\nconst $f9d27fe66fdda4a7$var$signalsByNumber = $f9d27fe66fdda4a7$var$getSignalsByNumber();\n$f9d27fe66fdda4a7$exports.signalsByNumber = $f9d27fe66fdda4a7$var$signalsByNumber;\n\n\nvar $3a5180cd9694bbe0$require$signalsByName = $f9d27fe66fdda4a7$exports.signalsByName;\nconst $3a5180cd9694bbe0$var$getErrorPrefix = ({ timedOut: timedOut, timeout: timeout, errorCode: errorCode, signal: signal, signalDescription: signalDescription, exitCode: exitCode, isCanceled: isCanceled })=>{\n if (timedOut) return `timed out after ${timeout} milliseconds`;\n if (isCanceled) return \"was canceled\";\n if (errorCode !== undefined) return `failed with ${errorCode}`;\n if (signal !== undefined) return `was killed with ${signal} (${signalDescription})`;\n if (exitCode !== undefined) return `failed with exit code ${exitCode}`;\n return \"failed\";\n};\nconst $3a5180cd9694bbe0$var$makeError = ({ stdout: stdout, stderr: stderr, all: all, error: error, signal: signal, exitCode: exitCode, command: command, escapedCommand: escapedCommand, timedOut: timedOut, isCanceled: isCanceled, killed: killed, parsed: { options: { timeout: timeout } } })=>{\n // `signal` and `exitCode` emitted on `spawned.on('exit')` event can be `null`.\n // We normalize them to `undefined`\n exitCode = exitCode === null ? undefined : exitCode;\n signal = signal === null ? undefined : signal;\n const signalDescription = signal === undefined ? undefined : $3a5180cd9694bbe0$require$signalsByName[signal].description;\n const errorCode = error && error.code;\n const prefix = $3a5180cd9694bbe0$var$getErrorPrefix({\n timedOut: timedOut,\n timeout: timeout,\n errorCode: errorCode,\n signal: signal,\n signalDescription: signalDescription,\n exitCode: exitCode,\n isCanceled: isCanceled\n });\n const execaMessage = `Command ${prefix}: ${command}`;\n const isError = Object.prototype.toString.call(error) === \"[object Error]\";\n const shortMessage = isError ? `${execaMessage}\\n${error.message}` : execaMessage;\n const message = [\n shortMessage,\n stderr,\n stdout\n ].filter(Boolean).join(\"\\n\");\n if (isError) {\n error.originalMessage = error.message;\n error.message = message;\n } else error = new Error(message);\n error.shortMessage = shortMessage;\n error.command = command;\n error.escapedCommand = escapedCommand;\n error.exitCode = exitCode;\n error.signal = signal;\n error.signalDescription = signalDescription;\n error.stdout = stdout;\n error.stderr = stderr;\n if (all !== undefined) error.all = all;\n if (\"bufferedData\" in error) delete error.bufferedData;\n error.failed = true;\n error.timedOut = Boolean(timedOut);\n error.isCanceled = isCanceled;\n error.killed = killed && !timedOut;\n return error;\n};\n$3a5180cd9694bbe0$exports = $3a5180cd9694bbe0$var$makeError;\n\n\nvar $68f89b1d51339cbf$exports = {};\n\"use strict\";\nconst $68f89b1d51339cbf$var$aliases = [\n \"stdin\",\n \"stdout\",\n \"stderr\"\n];\nconst $68f89b1d51339cbf$var$hasAlias = (options)=>$68f89b1d51339cbf$var$aliases.some((alias)=>options[alias] !== undefined);\nconst $68f89b1d51339cbf$var$normalizeStdio = (options)=>{\n if (!options) return;\n const { stdio: stdio } = options;\n if (stdio === undefined) return $68f89b1d51339cbf$var$aliases.map((alias)=>options[alias]);\n if ($68f89b1d51339cbf$var$hasAlias(options)) throw new Error(`It's not possible to provide \\`stdio\\` in combination with one of ${$68f89b1d51339cbf$var$aliases.map((alias)=>`\\`${alias}\\``).join(\", \")}`);\n if (typeof stdio === \"string\") return stdio;\n if (!Array.isArray(stdio)) throw new TypeError(`Expected \\`stdio\\` to be of type \\`string\\` or \\`Array\\`, got \\`${typeof stdio}\\``);\n const length = Math.max(stdio.length, $68f89b1d51339cbf$var$aliases.length);\n return Array.from({\n length: length\n }, (value, index)=>stdio[index]);\n};\n$68f89b1d51339cbf$exports = $68f89b1d51339cbf$var$normalizeStdio;\n// `ipc` is pushed unless it is already present\n$68f89b1d51339cbf$exports.node = (options)=>{\n const stdio = $68f89b1d51339cbf$var$normalizeStdio(options);\n if (stdio === \"ipc\") return \"ipc\";\n if (stdio === undefined || typeof stdio === \"string\") return [\n stdio,\n stdio,\n stdio,\n \"ipc\"\n ];\n if (stdio.includes(\"ipc\")) return stdio;\n return [\n ...stdio,\n \"ipc\"\n ];\n};\n\n\nvar $e33d317cb73fa58c$exports = {};\n\"use strict\";\n\nvar $bb65f7b92c015fe3$exports = {};\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 $bb65f7b92c015fe3$var$process = $parcel$global.process;\nconst $bb65f7b92c015fe3$var$processOk = function(process) {\n return process && typeof process === \"object\" && typeof process.removeListener === \"function\" && typeof process.emit === \"function\" && typeof process.reallyExit === \"function\" && typeof process.listeners === \"function\" && typeof process.kill === \"function\" && typeof process.pid === \"number\" && typeof process.on === \"function\";\n};\n\n\n\n// some kind of non-node environment, just no-op\n/* istanbul ignore if */ if (!$bb65f7b92c015fe3$var$processOk($bb65f7b92c015fe3$var$process)) $bb65f7b92c015fe3$exports = function() {\n return function() {};\n};\nelse {\n var $bb65f7b92c015fe3$var$assert = $4umf8$assert;\n var $bb65f7b92c015fe3$var$signals = (parcelRequire(\"2dWxz\"));\n var $bb65f7b92c015fe3$var$isWin = /^win/i.test($bb65f7b92c015fe3$var$process.platform);\n var $bb65f7b92c015fe3$var$EE = $4umf8$events;\n /* istanbul ignore if */ if (typeof $bb65f7b92c015fe3$var$EE !== \"function\") $bb65f7b92c015fe3$var$EE = $bb65f7b92c015fe3$var$EE.EventEmitter;\n var $bb65f7b92c015fe3$var$emitter;\n if ($bb65f7b92c015fe3$var$process.__signal_exit_emitter__) $bb65f7b92c015fe3$var$emitter = $bb65f7b92c015fe3$var$process.__signal_exit_emitter__;\n else {\n $bb65f7b92c015fe3$var$emitter = $bb65f7b92c015fe3$var$process.__signal_exit_emitter__ = new $bb65f7b92c015fe3$var$EE();\n $bb65f7b92c015fe3$var$emitter.count = 0;\n $bb65f7b92c015fe3$var$emitter.emitted = {};\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 (!$bb65f7b92c015fe3$var$emitter.infinite) {\n $bb65f7b92c015fe3$var$emitter.setMaxListeners(Infinity);\n $bb65f7b92c015fe3$var$emitter.infinite = true;\n }\n $bb65f7b92c015fe3$exports = function(cb, opts) {\n /* istanbul ignore if */ if (!$bb65f7b92c015fe3$var$processOk($parcel$global.process)) return function() {};\n $bb65f7b92c015fe3$var$assert.equal(typeof cb, \"function\", \"a callback must be provided for exit handler\");\n if ($bb65f7b92c015fe3$var$loaded === false) $bb65f7b92c015fe3$var$load();\n var ev = \"exit\";\n if (opts && opts.alwaysLast) ev = \"afterexit\";\n var remove = function() {\n $bb65f7b92c015fe3$var$emitter.removeListener(ev, cb);\n if ($bb65f7b92c015fe3$var$emitter.listeners(\"exit\").length === 0 && $bb65f7b92c015fe3$var$emitter.listeners(\"afterexit\").length === 0) $bb65f7b92c015fe3$var$unload();\n };\n $bb65f7b92c015fe3$var$emitter.on(ev, cb);\n return remove;\n };\n var $bb65f7b92c015fe3$var$unload = function unload() {\n if (!$bb65f7b92c015fe3$var$loaded || !$bb65f7b92c015fe3$var$processOk($parcel$global.process)) return;\n $bb65f7b92c015fe3$var$loaded = false;\n $bb65f7b92c015fe3$var$signals.forEach(function(sig) {\n try {\n $bb65f7b92c015fe3$var$process.removeListener(sig, $bb65f7b92c015fe3$var$sigListeners[sig]);\n } catch (er) {}\n });\n $bb65f7b92c015fe3$var$process.emit = $bb65f7b92c015fe3$var$originalProcessEmit;\n $bb65f7b92c015fe3$var$process.reallyExit = $bb65f7b92c015fe3$var$originalProcessReallyExit;\n $bb65f7b92c015fe3$var$emitter.count -= 1;\n };\n $bb65f7b92c015fe3$exports.unload = $bb65f7b92c015fe3$var$unload;\n var $bb65f7b92c015fe3$var$emit = function emit(event, code, signal) {\n /* istanbul ignore if */ if ($bb65f7b92c015fe3$var$emitter.emitted[event]) return;\n $bb65f7b92c015fe3$var$emitter.emitted[event] = true;\n $bb65f7b92c015fe3$var$emitter.emit(event, code, signal);\n };\n // { : , ... }\n var $bb65f7b92c015fe3$var$sigListeners = {};\n $bb65f7b92c015fe3$var$signals.forEach(function(sig) {\n $bb65f7b92c015fe3$var$sigListeners[sig] = function listener() {\n /* istanbul ignore if */ if (!$bb65f7b92c015fe3$var$processOk($parcel$global.process)) return;\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 = $bb65f7b92c015fe3$var$process.listeners(sig);\n if (listeners.length === $bb65f7b92c015fe3$var$emitter.count) {\n $bb65f7b92c015fe3$var$unload();\n $bb65f7b92c015fe3$var$emit(\"exit\", null, sig);\n /* istanbul ignore next */ $bb65f7b92c015fe3$var$emit(\"afterexit\", null, sig);\n /* istanbul ignore next */ if ($bb65f7b92c015fe3$var$isWin && sig === \"SIGHUP\") // \"SIGHUP\" throws an `ENOSYS` error on Windows,\n // so use a supported signal instead\n sig = \"SIGINT\";\n /* istanbul ignore next */ $bb65f7b92c015fe3$var$process.kill($bb65f7b92c015fe3$var$process.pid, sig);\n }\n };\n });\n $bb65f7b92c015fe3$exports.signals = function() {\n return $bb65f7b92c015fe3$var$signals;\n };\n var $bb65f7b92c015fe3$var$loaded = false;\n var $bb65f7b92c015fe3$var$load = function load() {\n if ($bb65f7b92c015fe3$var$loaded || !$bb65f7b92c015fe3$var$processOk($parcel$global.process)) return;\n $bb65f7b92c015fe3$var$loaded = true;\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 $bb65f7b92c015fe3$var$emitter.count += 1;\n $bb65f7b92c015fe3$var$signals = $bb65f7b92c015fe3$var$signals.filter(function(sig) {\n try {\n $bb65f7b92c015fe3$var$process.on(sig, $bb65f7b92c015fe3$var$sigListeners[sig]);\n return true;\n } catch (er) {\n return false;\n }\n });\n $bb65f7b92c015fe3$var$process.emit = $bb65f7b92c015fe3$var$processEmit;\n $bb65f7b92c015fe3$var$process.reallyExit = $bb65f7b92c015fe3$var$processReallyExit;\n };\n $bb65f7b92c015fe3$exports.load = $bb65f7b92c015fe3$var$load;\n var $bb65f7b92c015fe3$var$originalProcessReallyExit = $bb65f7b92c015fe3$var$process.reallyExit;\n var $bb65f7b92c015fe3$var$processReallyExit = function processReallyExit(code) {\n /* istanbul ignore if */ if (!$bb65f7b92c015fe3$var$processOk($parcel$global.process)) return;\n $bb65f7b92c015fe3$var$process.exitCode = code || /* istanbul ignore next */ 0;\n $bb65f7b92c015fe3$var$emit(\"exit\", $bb65f7b92c015fe3$var$process.exitCode, null);\n /* istanbul ignore next */ $bb65f7b92c015fe3$var$emit(\"afterexit\", $bb65f7b92c015fe3$var$process.exitCode, null);\n /* istanbul ignore next */ $bb65f7b92c015fe3$var$originalProcessReallyExit.call($bb65f7b92c015fe3$var$process, $bb65f7b92c015fe3$var$process.exitCode);\n };\n var $bb65f7b92c015fe3$var$originalProcessEmit = $bb65f7b92c015fe3$var$process.emit;\n var $bb65f7b92c015fe3$var$processEmit = function processEmit(ev, arg) {\n if (ev === \"exit\" && $bb65f7b92c015fe3$var$processOk($parcel$global.process)) {\n /* istanbul ignore else */ if (arg !== undefined) $bb65f7b92c015fe3$var$process.exitCode = arg;\n var ret = $bb65f7b92c015fe3$var$originalProcessEmit.apply(this, arguments);\n /* istanbul ignore next */ $bb65f7b92c015fe3$var$emit(\"exit\", $bb65f7b92c015fe3$var$process.exitCode, null);\n /* istanbul ignore next */ $bb65f7b92c015fe3$var$emit(\"afterexit\", $bb65f7b92c015fe3$var$process.exitCode, null);\n /* istanbul ignore next */ return ret;\n } else return $bb65f7b92c015fe3$var$originalProcessEmit.apply(this, arguments);\n };\n}\n\n\nconst $e33d317cb73fa58c$var$DEFAULT_FORCE_KILL_TIMEOUT = 5000;\n// Monkey-patches `childProcess.kill()` to add `forceKillAfterTimeout` behavior\nconst $e33d317cb73fa58c$var$spawnedKill = (kill, signal = \"SIGTERM\", options = {})=>{\n const killResult = kill(signal);\n $e33d317cb73fa58c$var$setKillTimeout(kill, signal, options, killResult);\n return killResult;\n};\nconst $e33d317cb73fa58c$var$setKillTimeout = (kill, signal, options, killResult)=>{\n if (!$e33d317cb73fa58c$var$shouldForceKill(signal, options, killResult)) return;\n const timeout = $e33d317cb73fa58c$var$getForceKillAfterTimeout(options);\n const t = setTimeout(()=>{\n kill(\"SIGKILL\");\n }, timeout);\n // Guarded because there's no `.unref()` when `execa` is used in the renderer\n // process in Electron. This cannot be tested since we don't run tests in\n // Electron.\n // istanbul ignore else\n if (t.unref) t.unref();\n};\nconst $e33d317cb73fa58c$var$shouldForceKill = (signal, { forceKillAfterTimeout: forceKillAfterTimeout }, killResult)=>{\n return $e33d317cb73fa58c$var$isSigterm(signal) && forceKillAfterTimeout !== false && killResult;\n};\nconst $e33d317cb73fa58c$var$isSigterm = (signal)=>{\n return signal === $4umf8$os.constants.signals.SIGTERM || typeof signal === \"string\" && signal.toUpperCase() === \"SIGTERM\";\n};\nconst $e33d317cb73fa58c$var$getForceKillAfterTimeout = ({ forceKillAfterTimeout: forceKillAfterTimeout = true })=>{\n if (forceKillAfterTimeout === true) return $e33d317cb73fa58c$var$DEFAULT_FORCE_KILL_TIMEOUT;\n if (!Number.isFinite(forceKillAfterTimeout) || forceKillAfterTimeout < 0) throw new TypeError(`Expected the \\`forceKillAfterTimeout\\` option to be a non-negative integer, got \\`${forceKillAfterTimeout}\\` (${typeof forceKillAfterTimeout})`);\n return forceKillAfterTimeout;\n};\n// `childProcess.cancel()`\nconst $e33d317cb73fa58c$var$spawnedCancel = (spawned, context)=>{\n const killResult = spawned.kill();\n if (killResult) context.isCanceled = true;\n};\nconst $e33d317cb73fa58c$var$timeoutKill = (spawned, signal, reject)=>{\n spawned.kill(signal);\n reject(Object.assign(new Error(\"Timed out\"), {\n timedOut: true,\n signal: signal\n }));\n};\n// `timeout` option handling\nconst $e33d317cb73fa58c$var$setupTimeout = (spawned, { timeout: timeout, killSignal: killSignal = \"SIGTERM\" }, spawnedPromise)=>{\n if (timeout === 0 || timeout === undefined) return spawnedPromise;\n let timeoutId;\n const timeoutPromise = new Promise((resolve, reject)=>{\n timeoutId = setTimeout(()=>{\n $e33d317cb73fa58c$var$timeoutKill(spawned, killSignal, reject);\n }, timeout);\n });\n const safeSpawnedPromise = spawnedPromise.finally(()=>{\n clearTimeout(timeoutId);\n });\n return Promise.race([\n timeoutPromise,\n safeSpawnedPromise\n ]);\n};\nconst $e33d317cb73fa58c$var$validateTimeout = ({ timeout: timeout })=>{\n if (timeout !== undefined && (!Number.isFinite(timeout) || timeout < 0)) throw new TypeError(`Expected the \\`timeout\\` option to be a non-negative integer, got \\`${timeout}\\` (${typeof timeout})`);\n};\n// `cleanup` option handling\nconst $e33d317cb73fa58c$var$setExitHandler = async (spawned, { cleanup: cleanup, detached: detached }, timedPromise)=>{\n if (!cleanup || detached) return timedPromise;\n const removeExitHandler = $bb65f7b92c015fe3$exports(()=>{\n spawned.kill();\n });\n return timedPromise.finally(()=>{\n removeExitHandler();\n });\n};\n$e33d317cb73fa58c$exports = {\n spawnedKill: $e33d317cb73fa58c$var$spawnedKill,\n spawnedCancel: $e33d317cb73fa58c$var$spawnedCancel,\n setupTimeout: $e33d317cb73fa58c$var$setupTimeout,\n validateTimeout: $e33d317cb73fa58c$var$validateTimeout,\n setExitHandler: $e33d317cb73fa58c$var$setExitHandler\n};\n\n\nvar $0b38a8fd709fe3ac$require$spawnedKill = $e33d317cb73fa58c$exports.spawnedKill;\nvar $0b38a8fd709fe3ac$require$spawnedCancel = $e33d317cb73fa58c$exports.spawnedCancel;\nvar $0b38a8fd709fe3ac$require$setupTimeout = $e33d317cb73fa58c$exports.setupTimeout;\nvar $0b38a8fd709fe3ac$require$validateTimeout = $e33d317cb73fa58c$exports.validateTimeout;\nvar $0b38a8fd709fe3ac$require$setExitHandler = $e33d317cb73fa58c$exports.setExitHandler;\nvar $ae79b228016a57d2$exports = {};\n\"use strict\";\nvar $0189cd1c3763a125$exports = {};\n\"use strict\";\nconst $0189cd1c3763a125$var$isStream = (stream)=>stream !== null && typeof stream === \"object\" && typeof stream.pipe === \"function\";\n$0189cd1c3763a125$var$isStream.writable = (stream)=>$0189cd1c3763a125$var$isStream(stream) && stream.writable !== false && typeof stream._write === \"function\" && typeof stream._writableState === \"object\";\n$0189cd1c3763a125$var$isStream.readable = (stream)=>$0189cd1c3763a125$var$isStream(stream) && stream.readable !== false && typeof stream._read === \"function\" && typeof stream._readableState === \"object\";\n$0189cd1c3763a125$var$isStream.duplex = (stream)=>$0189cd1c3763a125$var$isStream.writable(stream) && $0189cd1c3763a125$var$isStream.readable(stream);\n$0189cd1c3763a125$var$isStream.transform = (stream)=>$0189cd1c3763a125$var$isStream.duplex(stream) && typeof stream._transform === \"function\";\n$0189cd1c3763a125$exports = $0189cd1c3763a125$var$isStream;\n\n\nvar $c0c5155781331bb0$exports = {};\n\"use strict\";\n\nvar $c0c5155781331bb0$require$BufferConstants = $4umf8$buffer.constants;\n\n\nvar $c0c5155781331bb0$require$promisify = $4umf8$util.promisify;\nvar $46b3e1911000a52a$exports = {};\n\"use strict\";\n\nvar $46b3e1911000a52a$require$PassThroughStream = $4umf8$stream.PassThrough;\n$46b3e1911000a52a$exports = (options)=>{\n options = {\n ...options\n };\n const { array: array } = options;\n let { encoding: encoding } = options;\n const isBuffer = encoding === \"buffer\";\n let objectMode = false;\n if (array) objectMode = !(encoding || isBuffer);\n else encoding = encoding || \"utf8\";\n if (isBuffer) encoding = null;\n const stream = new $46b3e1911000a52a$require$PassThroughStream({\n objectMode: objectMode\n });\n if (encoding) stream.setEncoding(encoding);\n let length = 0;\n const chunks = [];\n stream.on(\"data\", (chunk)=>{\n chunks.push(chunk);\n if (objectMode) length = chunks.length;\n else length += chunk.length;\n });\n stream.getBufferedValue = ()=>{\n if (array) return chunks;\n return isBuffer ? Buffer.concat(chunks, length) : chunks.join(\"\");\n };\n stream.getBufferedLength = ()=>length;\n return stream;\n};\n\n\nconst $c0c5155781331bb0$var$streamPipelinePromisified = $c0c5155781331bb0$require$promisify($4umf8$stream.pipeline);\nclass $c0c5155781331bb0$var$MaxBufferError extends Error {\n constructor(){\n super(\"maxBuffer exceeded\");\n this.name = \"MaxBufferError\";\n }\n}\nasync function $c0c5155781331bb0$var$getStream(inputStream, options) {\n if (!inputStream) throw new Error(\"Expected a stream\");\n options = {\n maxBuffer: Infinity,\n ...options\n };\n const { maxBuffer: maxBuffer } = options;\n const stream = $46b3e1911000a52a$exports(options);\n await new Promise((resolve, reject)=>{\n const rejectPromise = (error)=>{\n // Don't retrieve an oversized buffer.\n if (error && stream.getBufferedLength() <= $c0c5155781331bb0$require$BufferConstants.MAX_LENGTH) error.bufferedData = stream.getBufferedValue();\n reject(error);\n };\n (async ()=>{\n try {\n await $c0c5155781331bb0$var$streamPipelinePromisified(inputStream, stream);\n resolve();\n } catch (error) {\n rejectPromise(error);\n }\n })();\n stream.on(\"data\", ()=>{\n if (stream.getBufferedLength() > maxBuffer) rejectPromise(new $c0c5155781331bb0$var$MaxBufferError());\n });\n });\n return stream.getBufferedValue();\n}\n$c0c5155781331bb0$exports = $c0c5155781331bb0$var$getStream;\n$c0c5155781331bb0$exports.buffer = (stream, options)=>$c0c5155781331bb0$var$getStream(stream, {\n ...options,\n encoding: \"buffer\"\n });\n$c0c5155781331bb0$exports.array = (stream, options)=>$c0c5155781331bb0$var$getStream(stream, {\n ...options,\n array: true\n });\n$c0c5155781331bb0$exports.MaxBufferError = $c0c5155781331bb0$var$MaxBufferError;\n\n\nvar $54e540789a02ab0d$exports = {};\n\"use strict\";\n\nvar $54e540789a02ab0d$require$PassThrough = $4umf8$stream.PassThrough;\n$54e540789a02ab0d$exports = function() {\n var sources = [];\n var output = new $54e540789a02ab0d$require$PassThrough({\n objectMode: true\n });\n output.setMaxListeners(0);\n output.add = add;\n output.isEmpty = isEmpty;\n output.on(\"unpipe\", remove);\n Array.prototype.slice.call(arguments).forEach(add);\n return output;\n function add(source) {\n if (Array.isArray(source)) {\n source.forEach(add);\n return this;\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, {\n end: false\n });\n return this;\n }\n function isEmpty() {\n return sources.length == 0;\n }\n function remove(source) {\n sources = sources.filter(function(it) {\n return it !== source;\n });\n if (!sources.length && output.readable) output.end();\n }\n};\n\n\n// `input` option\nconst $ae79b228016a57d2$var$handleInput = (spawned, input)=>{\n // Checking for stdin is workaround for https://github.com/nodejs/node/issues/26852\n // @todo remove `|| spawned.stdin === undefined` once we drop support for Node.js <=12.2.0\n if (input === undefined || spawned.stdin === undefined) return;\n if ($0189cd1c3763a125$exports(input)) input.pipe(spawned.stdin);\n else spawned.stdin.end(input);\n};\n// `all` interleaves `stdout` and `stderr`\nconst $ae79b228016a57d2$var$makeAllStream = (spawned, { all: all })=>{\n if (!all || !spawned.stdout && !spawned.stderr) return;\n const mixed = $54e540789a02ab0d$exports();\n if (spawned.stdout) mixed.add(spawned.stdout);\n if (spawned.stderr) mixed.add(spawned.stderr);\n return mixed;\n};\n// On failure, `result.stdout|stderr|all` should contain the currently buffered stream\nconst $ae79b228016a57d2$var$getBufferedData = async (stream, streamPromise)=>{\n if (!stream) return;\n stream.destroy();\n try {\n return await streamPromise;\n } catch (error) {\n return error.bufferedData;\n }\n};\nconst $ae79b228016a57d2$var$getStreamPromise = (stream, { encoding: encoding, buffer: buffer, maxBuffer: maxBuffer })=>{\n if (!stream || !buffer) return;\n if (encoding) return $c0c5155781331bb0$exports(stream, {\n encoding: encoding,\n maxBuffer: maxBuffer\n });\n return $c0c5155781331bb0$exports.buffer(stream, {\n maxBuffer: maxBuffer\n });\n};\n// Retrieve result of child process: exit code, signal, error, streams (stdout/stderr/all)\nconst $ae79b228016a57d2$var$getSpawnedResult = async ({ stdout: stdout, stderr: stderr, all: all }, { encoding: encoding, buffer: buffer, maxBuffer: maxBuffer }, processDone)=>{\n const stdoutPromise = $ae79b228016a57d2$var$getStreamPromise(stdout, {\n encoding: encoding,\n buffer: buffer,\n maxBuffer: maxBuffer\n });\n const stderrPromise = $ae79b228016a57d2$var$getStreamPromise(stderr, {\n encoding: encoding,\n buffer: buffer,\n maxBuffer: maxBuffer\n });\n const allPromise = $ae79b228016a57d2$var$getStreamPromise(all, {\n encoding: encoding,\n buffer: buffer,\n maxBuffer: maxBuffer * 2\n });\n try {\n return await Promise.all([\n processDone,\n stdoutPromise,\n stderrPromise,\n allPromise\n ]);\n } catch (error) {\n return Promise.all([\n {\n error: error,\n signal: error.signal,\n timedOut: error.timedOut\n },\n $ae79b228016a57d2$var$getBufferedData(stdout, stdoutPromise),\n $ae79b228016a57d2$var$getBufferedData(stderr, stderrPromise),\n $ae79b228016a57d2$var$getBufferedData(all, allPromise)\n ]);\n }\n};\nconst $ae79b228016a57d2$var$validateInputSync = ({ input: input })=>{\n if ($0189cd1c3763a125$exports(input)) throw new TypeError(\"The `input` option cannot be a stream in sync mode\");\n};\n$ae79b228016a57d2$exports = {\n handleInput: $ae79b228016a57d2$var$handleInput,\n makeAllStream: $ae79b228016a57d2$var$makeAllStream,\n getSpawnedResult: $ae79b228016a57d2$var$getSpawnedResult,\n validateInputSync: $ae79b228016a57d2$var$validateInputSync\n};\n\n\nvar $0b38a8fd709fe3ac$require$handleInput = $ae79b228016a57d2$exports.handleInput;\nvar $0b38a8fd709fe3ac$require$getSpawnedResult = $ae79b228016a57d2$exports.getSpawnedResult;\nvar $0b38a8fd709fe3ac$require$makeAllStream = $ae79b228016a57d2$exports.makeAllStream;\nvar $0b38a8fd709fe3ac$require$validateInputSync = $ae79b228016a57d2$exports.validateInputSync;\nvar $715ecc1819ea26e9$exports = {};\n\"use strict\";\nconst $715ecc1819ea26e9$var$nativePromisePrototype = (async ()=>{})().constructor.prototype;\nconst $715ecc1819ea26e9$var$descriptors = [\n \"then\",\n \"catch\",\n \"finally\"\n].map((property)=>[\n property,\n Reflect.getOwnPropertyDescriptor($715ecc1819ea26e9$var$nativePromisePrototype, property)\n ]);\n// The return value is a mixin of `childProcess` and `Promise`\nconst $715ecc1819ea26e9$var$mergePromise = (spawned, promise)=>{\n for (const [property, descriptor] of $715ecc1819ea26e9$var$descriptors){\n // Starting the main `promise` is deferred to avoid consuming streams\n const value = typeof promise === \"function\" ? (...args)=>Reflect.apply(descriptor.value, promise(), args) : descriptor.value.bind(promise);\n Reflect.defineProperty(spawned, property, {\n ...descriptor,\n value: value\n });\n }\n return spawned;\n};\n// Use promises instead of `child_process` events\nconst $715ecc1819ea26e9$var$getSpawnedPromise = (spawned)=>{\n return new Promise((resolve, reject)=>{\n spawned.on(\"exit\", (exitCode, signal)=>{\n resolve({\n exitCode: exitCode,\n signal: signal\n });\n });\n spawned.on(\"error\", (error)=>{\n reject(error);\n });\n if (spawned.stdin) spawned.stdin.on(\"error\", (error)=>{\n reject(error);\n });\n });\n};\n$715ecc1819ea26e9$exports = {\n mergePromise: $715ecc1819ea26e9$var$mergePromise,\n getSpawnedPromise: $715ecc1819ea26e9$var$getSpawnedPromise\n};\n\n\nvar $0b38a8fd709fe3ac$require$mergePromise = $715ecc1819ea26e9$exports.mergePromise;\nvar $0b38a8fd709fe3ac$require$getSpawnedPromise = $715ecc1819ea26e9$exports.getSpawnedPromise;\nvar $94d2ccabf7d298f3$exports = {};\n\"use strict\";\nconst $94d2ccabf7d298f3$var$normalizeArgs = (file, args = [])=>{\n if (!Array.isArray(args)) return [\n file\n ];\n return [\n file,\n ...args\n ];\n};\nconst $94d2ccabf7d298f3$var$NO_ESCAPE_REGEXP = /^[\\w.-]+$/;\nconst $94d2ccabf7d298f3$var$DOUBLE_QUOTES_REGEXP = /\"/g;\nconst $94d2ccabf7d298f3$var$escapeArg = (arg)=>{\n if (typeof arg !== \"string\" || $94d2ccabf7d298f3$var$NO_ESCAPE_REGEXP.test(arg)) return arg;\n return `\"${arg.replace($94d2ccabf7d298f3$var$DOUBLE_QUOTES_REGEXP, '\\\\\"')}\"`;\n};\nconst $94d2ccabf7d298f3$var$joinCommand = (file, args)=>{\n return $94d2ccabf7d298f3$var$normalizeArgs(file, args).join(\" \");\n};\nconst $94d2ccabf7d298f3$var$getEscapedCommand = (file, args)=>{\n return $94d2ccabf7d298f3$var$normalizeArgs(file, args).map((arg)=>$94d2ccabf7d298f3$var$escapeArg(arg)).join(\" \");\n};\nconst $94d2ccabf7d298f3$var$SPACES_REGEXP = / +/g;\n// Handle `execa.command()`\nconst $94d2ccabf7d298f3$var$parseCommand = (command)=>{\n const tokens = [];\n for (const token of command.trim().split($94d2ccabf7d298f3$var$SPACES_REGEXP)){\n // Allow spaces to be escaped by a backslash if not meant as a delimiter\n const previousToken = tokens[tokens.length - 1];\n if (previousToken && previousToken.endsWith(\"\\\\\")) // Merge previous token with current one\n tokens[tokens.length - 1] = `${previousToken.slice(0, -1)} ${token}`;\n else tokens.push(token);\n }\n return tokens;\n};\n$94d2ccabf7d298f3$exports = {\n joinCommand: $94d2ccabf7d298f3$var$joinCommand,\n getEscapedCommand: $94d2ccabf7d298f3$var$getEscapedCommand,\n parseCommand: $94d2ccabf7d298f3$var$parseCommand\n};\n\n\nvar $0b38a8fd709fe3ac$require$joinCommand = $94d2ccabf7d298f3$exports.joinCommand;\nvar $0b38a8fd709fe3ac$require$parseCommand = $94d2ccabf7d298f3$exports.parseCommand;\nvar $0b38a8fd709fe3ac$require$getEscapedCommand = $94d2ccabf7d298f3$exports.getEscapedCommand;\nconst $0b38a8fd709fe3ac$var$DEFAULT_MAX_BUFFER = 100000000;\nconst $0b38a8fd709fe3ac$var$getEnv = ({ env: envOption, extendEnv: extendEnv, preferLocal: preferLocal, localDir: localDir, execPath: execPath })=>{\n const env = extendEnv ? {\n ...process.env,\n ...envOption\n } : envOption;\n if (preferLocal) return $f8d7e5e77ed24f12$exports.env({\n env: env,\n cwd: localDir,\n execPath: execPath\n });\n return env;\n};\nconst $0b38a8fd709fe3ac$var$handleArguments = (file, args, options = {})=>{\n const parsed = $df67359950f095d8$exports._parse(file, args, options);\n file = parsed.command;\n args = parsed.args;\n options = parsed.options;\n options = {\n maxBuffer: $0b38a8fd709fe3ac$var$DEFAULT_MAX_BUFFER,\n buffer: true,\n stripFinalNewline: true,\n extendEnv: true,\n preferLocal: false,\n localDir: options.cwd || process.cwd(),\n execPath: process.execPath,\n encoding: \"utf8\",\n reject: true,\n cleanup: true,\n all: false,\n windowsHide: true,\n ...options\n };\n options.env = $0b38a8fd709fe3ac$var$getEnv(options);\n options.stdio = $68f89b1d51339cbf$exports(options);\n if (process.platform === \"win32\" && $4umf8$path.basename(file, \".exe\") === \"cmd\") // #116\n args.unshift(\"/q\");\n return {\n file: file,\n args: args,\n options: options,\n parsed: parsed\n };\n};\nconst $0b38a8fd709fe3ac$var$handleOutput = (options, value, error)=>{\n if (typeof value !== \"string\" && !Buffer.isBuffer(value)) // When `execa.sync()` errors, we normalize it to '' to mimic `execa()`\n return error === undefined ? undefined : \"\";\n if (options.stripFinalNewline) return $d9afca949409280f$exports(value);\n return value;\n};\nconst $0b38a8fd709fe3ac$var$execa = (file, args, options)=>{\n const parsed = $0b38a8fd709fe3ac$var$handleArguments(file, args, options);\n const command = $0b38a8fd709fe3ac$require$joinCommand(file, args);\n const escapedCommand = $0b38a8fd709fe3ac$require$getEscapedCommand(file, args);\n $0b38a8fd709fe3ac$require$validateTimeout(parsed.options);\n let spawned;\n try {\n spawned = $4umf8$child_process.spawn(parsed.file, parsed.args, parsed.options);\n } catch (error) {\n // Ensure the returned error is always both a promise and a child process\n const dummySpawned = new $4umf8$child_process.ChildProcess();\n const errorPromise = Promise.reject($3a5180cd9694bbe0$exports({\n error: error,\n stdout: \"\",\n stderr: \"\",\n all: \"\",\n command: command,\n escapedCommand: escapedCommand,\n parsed: parsed,\n timedOut: false,\n isCanceled: false,\n killed: false\n }));\n return $0b38a8fd709fe3ac$require$mergePromise(dummySpawned, errorPromise);\n }\n const spawnedPromise = $0b38a8fd709fe3ac$require$getSpawnedPromise(spawned);\n const timedPromise = $0b38a8fd709fe3ac$require$setupTimeout(spawned, parsed.options, spawnedPromise);\n const processDone = $0b38a8fd709fe3ac$require$setExitHandler(spawned, parsed.options, timedPromise);\n const context = {\n isCanceled: false\n };\n spawned.kill = $0b38a8fd709fe3ac$require$spawnedKill.bind(null, spawned.kill.bind(spawned));\n spawned.cancel = $0b38a8fd709fe3ac$require$spawnedCancel.bind(null, spawned, context);\n const handlePromise = async ()=>{\n const [{ error: error, exitCode: exitCode, signal: signal, timedOut: timedOut }, stdoutResult, stderrResult, allResult] = await $0b38a8fd709fe3ac$require$getSpawnedResult(spawned, parsed.options, processDone);\n const stdout = $0b38a8fd709fe3ac$var$handleOutput(parsed.options, stdoutResult);\n const stderr = $0b38a8fd709fe3ac$var$handleOutput(parsed.options, stderrResult);\n const all = $0b38a8fd709fe3ac$var$handleOutput(parsed.options, allResult);\n if (error || exitCode !== 0 || signal !== null) {\n const returnedError = $3a5180cd9694bbe0$exports({\n error: error,\n exitCode: exitCode,\n signal: signal,\n stdout: stdout,\n stderr: stderr,\n all: all,\n command: command,\n escapedCommand: escapedCommand,\n parsed: parsed,\n timedOut: timedOut,\n isCanceled: context.isCanceled,\n killed: spawned.killed\n });\n if (!parsed.options.reject) return returnedError;\n throw returnedError;\n }\n return {\n command: command,\n escapedCommand: escapedCommand,\n exitCode: 0,\n stdout: stdout,\n stderr: stderr,\n all: all,\n failed: false,\n timedOut: false,\n isCanceled: false,\n killed: false\n };\n };\n const handlePromiseOnce = $e904efcf8b91b194$exports(handlePromise);\n $0b38a8fd709fe3ac$require$handleInput(spawned, parsed.options.input);\n spawned.all = $0b38a8fd709fe3ac$require$makeAllStream(spawned, parsed.options);\n return $0b38a8fd709fe3ac$require$mergePromise(spawned, handlePromiseOnce);\n};\n$0b38a8fd709fe3ac$exports = $0b38a8fd709fe3ac$var$execa;\n$0b38a8fd709fe3ac$exports.sync = (file, args, options)=>{\n const parsed = $0b38a8fd709fe3ac$var$handleArguments(file, args, options);\n const command = $0b38a8fd709fe3ac$require$joinCommand(file, args);\n const escapedCommand = $0b38a8fd709fe3ac$require$getEscapedCommand(file, args);\n $0b38a8fd709fe3ac$require$validateInputSync(parsed.options);\n let result;\n try {\n result = $4umf8$child_process.spawnSync(parsed.file, parsed.args, parsed.options);\n } catch (error) {\n throw $3a5180cd9694bbe0$exports({\n error: error,\n stdout: \"\",\n stderr: \"\",\n all: \"\",\n command: command,\n escapedCommand: escapedCommand,\n parsed: parsed,\n timedOut: false,\n isCanceled: false,\n killed: false\n });\n }\n const stdout = $0b38a8fd709fe3ac$var$handleOutput(parsed.options, result.stdout, result.error);\n const stderr = $0b38a8fd709fe3ac$var$handleOutput(parsed.options, result.stderr, result.error);\n if (result.error || result.status !== 0 || result.signal !== null) {\n const error = $3a5180cd9694bbe0$exports({\n stdout: stdout,\n stderr: stderr,\n error: result.error,\n signal: result.signal,\n exitCode: result.status,\n command: command,\n escapedCommand: escapedCommand,\n parsed: parsed,\n timedOut: result.error && result.error.code === \"ETIMEDOUT\",\n isCanceled: false,\n killed: result.signal !== null\n });\n if (!parsed.options.reject) return error;\n throw error;\n }\n return {\n command: command,\n escapedCommand: escapedCommand,\n exitCode: 0,\n stdout: stdout,\n stderr: stderr,\n failed: false,\n timedOut: false,\n isCanceled: false,\n killed: false\n };\n};\n$0b38a8fd709fe3ac$exports.command = (command, options)=>{\n const [file, ...args] = $0b38a8fd709fe3ac$require$parseCommand(command);\n return $0b38a8fd709fe3ac$var$execa(file, args, options);\n};\n$0b38a8fd709fe3ac$exports.commandSync = (command, options)=>{\n const [file, ...args] = $0b38a8fd709fe3ac$require$parseCommand(command);\n return $0b38a8fd709fe3ac$var$execa.sync(file, args, options);\n};\n$0b38a8fd709fe3ac$exports.node = (scriptPath, args, options = {})=>{\n if (args && !Array.isArray(args) && typeof args === \"object\") {\n options = args;\n args = [];\n }\n const stdio = $68f89b1d51339cbf$exports.node(options);\n const defaultExecArgv = process.execArgv.filter((arg)=>!arg.startsWith(\"--inspect\"));\n const { nodePath: nodePath = process.execPath, nodeOptions: nodeOptions = defaultExecArgv } = options;\n return $0b38a8fd709fe3ac$var$execa(nodePath, [\n ...nodeOptions,\n scriptPath,\n ...Array.isArray(args) ? args : []\n ], {\n ...options,\n stdin: undefined,\n stdout: undefined,\n stderr: undefined,\n stdio: stdio,\n shell: false\n });\n};\n\n\nfunction $52bad1f97065229a$export$7683bf1311d8252() {\n return (0, (/*@__PURE__*/$parcel$interopDefault($62c5f8067a789ef5$exports))).sync(\"sudo\", {\n nothrow: true\n }) !== null;\n}\nfunction $52bad1f97065229a$export$e3140dc7d0c35e48() {\n var _process_getuid;\n // TODO not all CI systems are root\n return ((_process_getuid = process.getuid) === null || _process_getuid === void 0 ? void 0 : _process_getuid.call(process)) === 0 || Boolean(process.env.CI);\n}\nfunction $52bad1f97065229a$export$316200228f28b8ce() {\n return $52bad1f97065229a$export$e3140dc7d0c35e48() && $52bad1f97065229a$export$7683bf1311d8252();\n}\nfunction $52bad1f97065229a$export$d976d47922ae9667(command) {\n if ($52bad1f97065229a$export$316200228f28b8ce()) return `sudo ${command}`;\n return command;\n}\nconst $52bad1f97065229a$export$151aeb0ade3989e1 = {\n stdio: \"inherit\",\n shell: true\n};\nfunction $52bad1f97065229a$export$58f152936f209932(program, args = [], execOptions = $52bad1f97065229a$export$151aeb0ade3989e1) {\n if ($52bad1f97065229a$export$316200228f28b8ce()) return $0b38a8fd709fe3ac$exports.commandSync(`sudo ${[\n program,\n ...args\n ].map((arg)=>`'${arg}'`).join(\" \")}`, execOptions);\n else return $0b38a8fd709fe3ac$exports.sync(program, args, execOptions);\n}\nfunction $52bad1f97065229a$export$351270479e2eef26(program, args = [], execOptions = $52bad1f97065229a$export$151aeb0ade3989e1) {\n if ($52bad1f97065229a$export$316200228f28b8ce()) return $0b38a8fd709fe3ac$exports.command(`sudo ${[\n program,\n ...args\n ].map((arg)=>`'${arg}'`).join(\" \")}`, execOptions);\n else return (/*@__PURE__*/$parcel$interopDefault($0b38a8fd709fe3ac$exports))(program, args, execOptions);\n}\n\n\n// From `is-admin`: removed `node:proces` so that the code works on Deno and Node 12\n// cspell:disable\n\n// https://stackoverflow.com/a/28268802\nasync function $c72e35929856cf4c$var$testFltmc() {\n try {\n await (0, (/*@__PURE__*/$parcel$interopDefault($0b38a8fd709fe3ac$exports)))(\"fltmc\");\n return true;\n } catch {\n return false;\n }\n}\nasync function $c72e35929856cf4c$export$2e2bcd8739ae039() {\n if (process.platform !== \"win32\") return false;\n try {\n var _process_env_systemdrive;\n // https://stackoverflow.com/a/21295806/1641422\n await (0, (/*@__PURE__*/$parcel$interopDefault($0b38a8fd709fe3ac$exports)))(\"fsutil\", [\n \"dirty\",\n \"query\",\n (_process_env_systemdrive = process.env.systemdrive) !== null && _process_env_systemdrive !== void 0 ? _process_env_systemdrive : \"\"\n ]);\n return true;\n } catch (error) {\n if (error.code === \"ENOENT\") return $c72e35929856cf4c$var$testFltmc();\n return false;\n }\n}\n\n\n\nconst $1c3059c768fdb319$export$36ad181701cee597 = (0, $c72e35929856cf4c$export$2e2bcd8739ae039);\nconst $1c3059c768fdb319$export$2ebf12717e6b5bb8 = (0, $52bad1f97065229a$export$e3140dc7d0c35e48);\nfunction $1c3059c768fdb319$export$fc970ed23da99565() {\n if (process.platform === \"win32\") return $1c3059c768fdb319$export$36ad181701cee597();\n else return (0, $52bad1f97065229a$export$e3140dc7d0c35e48)();\n}\n\n\n\n\n\nasync function $de58c30d9e7354db$export$4718e061a205eab(path) {\n if (((0, ($parcel$interopDefault($4umf8$process))).platform === \"linux\" || (0, ($parcel$interopDefault($4umf8$process))).platform === \"darwin\") && (0, $52bad1f97065229a$export$316200228f28b8ce)() && (0, ($parcel$interopDefault($4umf8$process))).env.SUDO_USER !== undefined) {\n const isDirectory = (0, $4umf8$fs.statSync)(path).isDirectory();\n await (0, $52bad1f97065229a$export$351270479e2eef26)(\"chown\", [\n ...isDirectory ? [\n \"-R\"\n ] : [],\n (0, ($parcel$interopDefault($4umf8$process))).env.SUDO_USER,\n path\n ], (0, $52bad1f97065229a$export$151aeb0ade3989e1));\n }\n}\n\n\n\n\nfunction $f19d14aa12f0fb90$export$8312d9eeba321950(path) {\n if ((0, $52bad1f97065229a$export$316200228f28b8ce)() && typeof process.env.SUDO_USER === \"string\") {\n // use the user profile even if root\n if (process.platform === \"darwin\") return (0, $4umf8$path.join)(\"/Users/\", process.env.SUDO_USER, path);\n else return (0, $4umf8$path.join)(\"/home/\", process.env.SUDO_USER, path);\n } else return (0, (/*@__PURE__*/$parcel$interopDefault($2ef69065d5c0be07$exports)))(`~/${path}`);\n}\n\n\n\nvar $hHq4F = parcelRequire(\"hHq4F\");\nvar $1271628fb3a318b6$exports = {};\n\"use strict\";\n\n\nvar $lqN0l = parcelRequire(\"lqN0l\");\n\n\n\n\n/******************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */ /* global Reflect, Promise */ function $1271628fb3a318b6$var$__awaiter(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n}\nfunction $1271628fb3a318b6$var$__generator(thisArg, body) {\n var _ = {\n label: 0,\n sent: function() {\n if (t[0] & 1) throw t[1];\n return t[1];\n },\n trys: [],\n ops: []\n }, f, y, t, g;\n return g = {\n next: verb(0),\n \"throw\": verb(1),\n \"return\": verb(2)\n }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() {\n return this;\n }), g;\n function verb(n) {\n return function(v) {\n return step([\n n,\n v\n ]);\n };\n }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while(g && (g = 0, op[0] && (_ = 0)), _)try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [\n op[0] & 2,\n t.value\n ];\n switch(op[0]){\n case 0:\n case 1:\n t = op;\n break;\n case 4:\n _.label++;\n return {\n value: op[1],\n done: false\n };\n case 5:\n _.label++;\n y = op[1];\n op = [\n 0\n ];\n continue;\n case 7:\n op = _.ops.pop();\n _.trys.pop();\n continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {\n _ = 0;\n continue;\n }\n if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {\n _.label = op[1];\n break;\n }\n if (op[0] === 6 && _.label < t[1]) {\n _.label = t[1];\n t = op;\n break;\n }\n if (t && _.label < t[2]) {\n _.label = t[2];\n _.ops.push(op);\n break;\n }\n if (t[2]) _.ops.pop();\n _.trys.pop();\n continue;\n }\n op = body.call(thisArg, _);\n } catch (e) {\n op = [\n 6,\n e\n ];\n y = 0;\n } finally{\n f = t = 0;\n }\n if (op[0] & 5) throw op[1];\n return {\n value: op[0] ? op[1] : void 0,\n done: true\n };\n }\n}\nvar $1271628fb3a318b6$var$packageJson = $4umf8$process.env.npm_package_json;\nvar $1271628fb3a318b6$var$userAgent = $4umf8$process.env.npm_config_user_agent;\nvar $1271628fb3a318b6$var$isNpm6 = Boolean($1271628fb3a318b6$var$userAgent && $1271628fb3a318b6$var$userAgent.startsWith(\"npm\"));\nvar $1271628fb3a318b6$var$isNpm7 = Boolean($1271628fb3a318b6$var$packageJson && $1271628fb3a318b6$var$packageJson.endsWith(\"package.json\"));\nvar $1271628fb3a318b6$var$isNpm = $1271628fb3a318b6$var$isNpm6 || $1271628fb3a318b6$var$isNpm7;\nvar $1271628fb3a318b6$var$isYarn = Boolean($1271628fb3a318b6$var$userAgent && $1271628fb3a318b6$var$userAgent.startsWith(\"yarn\"));\nvar $1271628fb3a318b6$var$isNpmOrYarn = $1271628fb3a318b6$var$isNpm || $1271628fb3a318b6$var$isYarn;\nvar $1271628fb3a318b6$var$homeDirectory = $4umf8$os.homedir();\nvar $1271628fb3a318b6$var$configDir = process.env.XDG_CONFIG_HOME || $4umf8$path.join($1271628fb3a318b6$var$homeDirectory, \".config\", \"simple-update-notifier\");\nvar $1271628fb3a318b6$var$getConfigFile = function(packageName) {\n return $4umf8$path.join($1271628fb3a318b6$var$configDir, \"\".concat(packageName.replace(\"@\", \"\").replace(\"/\", \"__\"), \".json\"));\n};\nvar $1271628fb3a318b6$var$createConfigDir = function() {\n if (!$4umf8$fs.existsSync($1271628fb3a318b6$var$configDir)) $4umf8$fs.mkdirSync($1271628fb3a318b6$var$configDir, {\n recursive: true\n });\n};\nvar $1271628fb3a318b6$var$getLastUpdate = function(packageName) {\n var configFile = $1271628fb3a318b6$var$getConfigFile(packageName);\n try {\n if (!$4umf8$fs.existsSync(configFile)) return undefined;\n var file = JSON.parse($4umf8$fs.readFileSync(configFile, \"utf8\"));\n return file.lastUpdateCheck;\n } catch (_a) {\n return undefined;\n }\n};\nvar $1271628fb3a318b6$var$saveLastUpdate = function(packageName) {\n var configFile = $1271628fb3a318b6$var$getConfigFile(packageName);\n $4umf8$fs.writeFileSync(configFile, JSON.stringify({\n lastUpdateCheck: new Date().getTime()\n }));\n};\nvar $1271628fb3a318b6$var$getDistVersion = function(packageName, distTag) {\n return $1271628fb3a318b6$var$__awaiter(void 0, void 0, void 0, function() {\n var url;\n return $1271628fb3a318b6$var$__generator(this, function(_a) {\n url = \"https://registry.npmjs.org/-/package/\".concat(packageName, \"/dist-tags\");\n return [\n 2 /*return*/ ,\n new Promise(function(resolve, reject) {\n $4umf8$https.get(url, function(res) {\n var body = \"\";\n res.on(\"data\", function(chunk) {\n return body += chunk;\n });\n res.on(\"end\", function() {\n try {\n var json = JSON.parse(body);\n var version = json[distTag];\n if (!version) reject(new Error(\"Error getting version\"));\n resolve(version);\n } catch (_a) {\n reject(new Error(\"Could not parse version response\"));\n }\n });\n }).on(\"error\", function(err) {\n return reject(err);\n });\n })\n ];\n });\n });\n};\nvar $1271628fb3a318b6$var$hasNewVersion = function(_a) {\n var pkg = _a.pkg, _b = _a.updateCheckInterval, updateCheckInterval = _b === void 0 ? 86400000 : _b, _c = _a.distTag, distTag = _c === void 0 ? \"latest\" : _c, alwaysRun = _a.alwaysRun, debug = _a.debug;\n return $1271628fb3a318b6$var$__awaiter(void 0, void 0, void 0, function() {\n var lastUpdateCheck, latestVersion;\n return $1271628fb3a318b6$var$__generator(this, function(_d) {\n switch(_d.label){\n case 0:\n $1271628fb3a318b6$var$createConfigDir();\n lastUpdateCheck = $1271628fb3a318b6$var$getLastUpdate(pkg.name);\n if (!(alwaysRun || !lastUpdateCheck || lastUpdateCheck < new Date().getTime() - updateCheckInterval)) return [\n 3 /*break*/ ,\n 2\n ];\n return [\n 4 /*yield*/ ,\n $1271628fb3a318b6$var$getDistVersion(pkg.name, distTag)\n ];\n case 1:\n latestVersion = _d.sent();\n $1271628fb3a318b6$var$saveLastUpdate(pkg.name);\n if ($lqN0l.gt(latestVersion, pkg.version)) return [\n 2 /*return*/ ,\n latestVersion\n ];\n else if (debug) console.error(\"Latest version (\".concat(latestVersion, \") not newer than current version (\").concat(pkg.version, \")\"));\n return [\n 3 /*break*/ ,\n 3\n ];\n case 2:\n if (debug) console.error(\"Too recent to check for a new update. simpleUpdateNotifier() interval set to \".concat(updateCheckInterval, \"ms but only \").concat(new Date().getTime() - lastUpdateCheck, \"ms since last check.\"));\n _d.label = 3;\n case 3:\n return [\n 2 /*return*/ ,\n false\n ];\n }\n });\n });\n};\nvar $1271628fb3a318b6$var$borderedText = function(text) {\n var lines = text.split(\"\\n\");\n var width = Math.max.apply(Math, lines.map(function(l) {\n return l.length;\n }));\n var res = [\n \"┌\".concat(\"─\".repeat(width + 2), \"┐\")\n ];\n for(var _i = 0, lines_1 = lines; _i < lines_1.length; _i++){\n var line = lines_1[_i];\n res.push(\"│ \".concat(line.padEnd(width), \" │\"));\n }\n res.push(\"└\".concat(\"─\".repeat(width + 2), \"┘\"));\n return res.join(\"\\n\");\n};\nvar $1271628fb3a318b6$var$simpleUpdateNotifier = function(args) {\n return $1271628fb3a318b6$var$__awaiter(void 0, void 0, void 0, function() {\n var latestVersion, err_1;\n return $1271628fb3a318b6$var$__generator(this, function(_a) {\n switch(_a.label){\n case 0:\n if (!args.alwaysRun && (!process.stdout.isTTY || $1271628fb3a318b6$var$isNpmOrYarn && !args.shouldNotifyInNpmScript)) {\n if (args.debug) console.error(\"Opting out of running simpleUpdateNotifier()\");\n return [\n 2 /*return*/ \n ];\n }\n _a.label = 1;\n case 1:\n _a.trys.push([\n 1,\n 3,\n ,\n 4\n ]);\n return [\n 4 /*yield*/ ,\n $1271628fb3a318b6$var$hasNewVersion(args)\n ];\n case 2:\n latestVersion = _a.sent();\n if (latestVersion) console.error($1271628fb3a318b6$var$borderedText(\"New version of \".concat(args.pkg.name, \" available!\\nCurrent Version: \").concat(args.pkg.version, \"\\nLatest Version: \").concat(latestVersion)));\n return [\n 3 /*break*/ ,\n 4\n ];\n case 3:\n err_1 = _a.sent();\n // Catch any network errors or cache writing errors so module doesn't cause a crash\n if (args.debug && err_1 instanceof Error) console.error(\"Unexpected error in simpleUpdateNotifier():\", err_1);\n return [\n 3 /*break*/ ,\n 4\n ];\n case 4:\n return [\n 2 /*return*/ \n ];\n }\n });\n });\n};\n$1271628fb3a318b6$exports = $1271628fb3a318b6$var$simpleUpdateNotifier;\n\n\nvar $8de64c03a4b9ab60$exports = {};\n$8de64c03a4b9ab60$exports = JSON.parse('{\"name\":\"setup-cpp\",\"version\":\"0.36.1\"}');\n\n\nasync function $c67d54237e946289$export$31c6d94eb20a8ca7() {\n try {\n await (0, (/*@__PURE__*/$parcel$interopDefault($1271628fb3a318b6$exports)))({\n pkg: (0, (/*@__PURE__*/$parcel$interopDefault($8de64c03a4b9ab60$exports)))\n });\n } catch (err) {\n (0, $hHq4F.warning)(`Failed to check for updates: ${err instanceof Error ? err.message + err.stack : err}`);\n }\n}\n\n\n\nvar $2heqc = parcelRequire(\"2heqc\");\n\nvar $hHq4F = parcelRequire(\"hHq4F\");\nfunction $b196d3cc102f70e5$var$toArr(any) {\n return any == null ? [] : Array.isArray(any) ? any : [\n any\n ];\n}\nfunction $b196d3cc102f70e5$var$toVal(out, key, val, opts) {\n var x, old = out[key], nxt = !!~opts.string.indexOf(key) ? val == null || val === true ? \"\" : String(val) : typeof val === \"boolean\" ? val : !!~opts.boolean.indexOf(key) ? val === \"false\" ? false : val === \"true\" || (out._.push((x = +val, x * 0 === 0) ? x : val), !!val) : (x = +val, x * 0 === 0) ? x : val;\n out[key] = old == null ? nxt : Array.isArray(old) ? old.concat(nxt) : [\n old,\n nxt\n ];\n}\nfunction $b196d3cc102f70e5$export$2e2bcd8739ae039(args, opts) {\n args = args || [];\n opts = opts || {};\n var k, arr, arg, name, val, out = {\n _: []\n };\n var i = 0, j = 0, idx = 0, len = args.length;\n const alibi = opts.alias !== void 0;\n const strict = opts.unknown !== void 0;\n const defaults = opts.default !== void 0;\n opts.alias = opts.alias || {};\n opts.string = $b196d3cc102f70e5$var$toArr(opts.string);\n opts.boolean = $b196d3cc102f70e5$var$toArr(opts.boolean);\n if (alibi) for(k in opts.alias){\n arr = opts.alias[k] = $b196d3cc102f70e5$var$toArr(opts.alias[k]);\n for(i = 0; i < arr.length; i++)(opts.alias[arr[i]] = arr.concat(k)).splice(i, 1);\n }\n for(i = opts.boolean.length; i-- > 0;){\n arr = opts.alias[opts.boolean[i]] || [];\n for(j = arr.length; j-- > 0;)opts.boolean.push(arr[j]);\n }\n for(i = opts.string.length; i-- > 0;){\n arr = opts.alias[opts.string[i]] || [];\n for(j = arr.length; j-- > 0;)opts.string.push(arr[j]);\n }\n if (defaults) for(k in opts.default){\n name = typeof opts.default[k];\n arr = opts.alias[k] = opts.alias[k] || [];\n if (opts[name] !== void 0) {\n opts[name].push(k);\n for(i = 0; i < arr.length; i++)opts[name].push(arr[i]);\n }\n }\n const keys = strict ? Object.keys(opts.alias) : [];\n for(i = 0; i < len; i++){\n arg = args[i];\n if (arg === \"--\") {\n out._ = out._.concat(args.slice(++i));\n break;\n }\n for(j = 0; j < arg.length; j++){\n if (arg.charCodeAt(j) !== 45) break; // \"-\"\n }\n if (j === 0) out._.push(arg);\n else if (arg.substring(j, j + 3) === \"no-\") {\n name = arg.substring(j + 3);\n if (strict && !~keys.indexOf(name)) return opts.unknown(arg);\n out[name] = false;\n } else {\n for(idx = j + 1; idx < arg.length; idx++){\n if (arg.charCodeAt(idx) === 61) break; // \"=\"\n }\n name = arg.substring(j, idx);\n val = arg.substring(++idx) || i + 1 === len || (\"\" + args[i + 1]).charCodeAt(0) === 45 || args[++i];\n arr = j === 2 ? [\n name\n ] : name;\n for(idx = 0; idx < arr.length; idx++){\n name = arr[idx];\n if (strict && !~keys.indexOf(name)) return opts.unknown(\"-\".repeat(j) + name);\n $b196d3cc102f70e5$var$toVal(out, name, idx + 1 < arr.length || val, opts);\n }\n }\n }\n if (defaults) {\n for(k in opts.default)if (out[k] === void 0) out[k] = opts.default[k];\n }\n if (alibi) for(k in out){\n arr = opts.alias[k] || [];\n while(arr.length > 0)out[arr.shift()] = out[k];\n }\n return out;\n}\n\n\n\n\nvar $cLprm = parcelRequire(\"cLprm\");\n\nvar $2heqc = parcelRequire(\"2heqc\");\n\nvar $cLprm = parcelRequire(\"cLprm\");\n\n\n\nvar $hHq4F = parcelRequire(\"hHq4F\");\n\n\n\n\n\nfunction $b47b055dd6fde9e8$export$2e2bcd8739ae039(input) {\n const LF = typeof input === \"string\" ? \"\\n\" : \"\\n\".charCodeAt();\n const CR = typeof input === \"string\" ? \"\\r\" : \"\\r\".charCodeAt();\n if (input[input.length - 1] === LF) input = input.slice(0, -1);\n if (input[input.length - 1] === CR) input = input.slice(0, -1);\n return input;\n}\n\n\n\n\n\nfunction $39b8caacbe24f5cd$export$2e2bcd8739ae039(options = {}) {\n const { env: env = process.env, platform: platform = process.platform } = options;\n if (platform !== \"win32\") return \"PATH\";\n return Object.keys(env).reverse().find((key)=>key.toUpperCase() === \"PATH\") || \"Path\";\n}\n\n\nfunction $9bbc0271f663f158$export$62a298cbef08d65c(options = {}) {\n const { cwd: cwd = (0, ($parcel$interopDefault($4umf8$nodeprocess))).cwd(), path: path_ = (0, ($parcel$interopDefault($4umf8$nodeprocess))).env[(0, $39b8caacbe24f5cd$export$2e2bcd8739ae039)()], execPath: execPath = (0, ($parcel$interopDefault($4umf8$nodeprocess))).execPath } = options;\n let previous;\n const cwdString = cwd instanceof URL ? (0, ($parcel$interopDefault($4umf8$nodeurl))).fileURLToPath(cwd) : cwd;\n let cwdPath = (0, ($parcel$interopDefault($4umf8$nodepath))).resolve(cwdString);\n const result = [];\n while(previous !== cwdPath){\n result.push((0, ($parcel$interopDefault($4umf8$nodepath))).join(cwdPath, \"node_modules/.bin\"));\n previous = cwdPath;\n cwdPath = (0, ($parcel$interopDefault($4umf8$nodepath))).resolve(cwdPath, \"..\");\n }\n // Ensure the running `node` binary is used.\n result.push((0, ($parcel$interopDefault($4umf8$nodepath))).resolve(cwdString, execPath, \"..\"));\n return [\n ...result,\n path_\n ].join((0, ($parcel$interopDefault($4umf8$nodepath))).delimiter);\n}\nfunction $9bbc0271f663f158$export$340e1fbaac04248b({ env: env = (0, ($parcel$interopDefault($4umf8$nodeprocess))).env, ...options } = {}) {\n env = {\n ...env\n };\n const path = (0, $39b8caacbe24f5cd$export$2e2bcd8739ae039)({\n env: env\n });\n options.path = env[path];\n env[path] = $9bbc0271f663f158$export$62a298cbef08d65c(options);\n return env;\n}\n\n\nconst $f1f2667e81c52980$var$copyProperty = (to, from, property, ignoreNonConfigurable)=>{\n // `Function#length` should reflect the parameters of `to` not `from` since we keep its body.\n // `Function#prototype` is non-writable and non-configurable so can never be modified.\n if (property === \"length\" || property === \"prototype\") return;\n // `Function#arguments` and `Function#caller` should not be copied. They were reported to be present in `Reflect.ownKeys` for some devices in React Native (#41), so we explicitly ignore them here.\n if (property === \"arguments\" || property === \"caller\") return;\n const toDescriptor = Object.getOwnPropertyDescriptor(to, property);\n const fromDescriptor = Object.getOwnPropertyDescriptor(from, property);\n if (!$f1f2667e81c52980$var$canCopyProperty(toDescriptor, fromDescriptor) && ignoreNonConfigurable) return;\n Object.defineProperty(to, property, fromDescriptor);\n};\n// `Object.defineProperty()` throws if the property exists, is not configurable and either:\n// - one its descriptors is changed\n// - it is non-writable and its value is changed\nconst $f1f2667e81c52980$var$canCopyProperty = function(toDescriptor, fromDescriptor) {\n return toDescriptor === undefined || toDescriptor.configurable || toDescriptor.writable === fromDescriptor.writable && toDescriptor.enumerable === fromDescriptor.enumerable && toDescriptor.configurable === fromDescriptor.configurable && (toDescriptor.writable || toDescriptor.value === fromDescriptor.value);\n};\nconst $f1f2667e81c52980$var$changePrototype = (to, from)=>{\n const fromPrototype = Object.getPrototypeOf(from);\n if (fromPrototype === Object.getPrototypeOf(to)) return;\n Object.setPrototypeOf(to, fromPrototype);\n};\nconst $f1f2667e81c52980$var$wrappedToString = (withName, fromBody)=>`/* Wrapped ${withName}*/\\n${fromBody}`;\nconst $f1f2667e81c52980$var$toStringDescriptor = Object.getOwnPropertyDescriptor(Function.prototype, \"toString\");\nconst $f1f2667e81c52980$var$toStringName = Object.getOwnPropertyDescriptor(Function.prototype.toString, \"name\");\n// We call `from.toString()` early (not lazily) to ensure `from` can be garbage collected.\n// We use `bind()` instead of a closure for the same reason.\n// Calling `from.toString()` early also allows caching it in case `to.toString()` is called several times.\nconst $f1f2667e81c52980$var$changeToString = (to, from, name)=>{\n const withName = name === \"\" ? \"\" : `with ${name.trim()}() `;\n const newToString = $f1f2667e81c52980$var$wrappedToString.bind(null, withName, from.toString());\n // Ensure `to.toString.toString` is non-enumerable and has the same `same`\n Object.defineProperty(newToString, \"name\", $f1f2667e81c52980$var$toStringName);\n Object.defineProperty(to, \"toString\", {\n ...$f1f2667e81c52980$var$toStringDescriptor,\n value: newToString\n });\n};\nfunction $f1f2667e81c52980$export$2e2bcd8739ae039(to, from, { ignoreNonConfigurable: ignoreNonConfigurable = false } = {}) {\n const { name: name } = to;\n for (const property of Reflect.ownKeys(from))$f1f2667e81c52980$var$copyProperty(to, from, property, ignoreNonConfigurable);\n $f1f2667e81c52980$var$changePrototype(to, from);\n $f1f2667e81c52980$var$changeToString(to, from, name);\n return to;\n}\n\n\nconst $64e33a61e28bb17f$var$calledFunctions = new WeakMap();\nconst $64e33a61e28bb17f$var$onetime = (function_, options = {})=>{\n if (typeof function_ !== \"function\") throw new TypeError(\"Expected a function\");\n let returnValue;\n let callCount = 0;\n const functionName = function_.displayName || function_.name || \"\";\n const onetime = function(...arguments_) {\n $64e33a61e28bb17f$var$calledFunctions.set(onetime, ++callCount);\n if (callCount === 1) {\n returnValue = function_.apply(this, arguments_);\n function_ = null;\n } else if (options.throw === true) throw new Error(`Function \\`${functionName}\\` can only be called once`);\n return returnValue;\n };\n (0, $f1f2667e81c52980$export$2e2bcd8739ae039)(onetime, function_);\n $64e33a61e28bb17f$var$calledFunctions.set(onetime, callCount);\n return onetime;\n};\n$64e33a61e28bb17f$var$onetime.callCount = (function_)=>{\n if (!$64e33a61e28bb17f$var$calledFunctions.has(function_)) throw new Error(`The given function \\`${function_.name}\\` is not wrapped by the \\`onetime\\` package`);\n return $64e33a61e28bb17f$var$calledFunctions.get(function_);\n};\nvar $64e33a61e28bb17f$export$2e2bcd8739ae039 = $64e33a61e28bb17f$var$onetime;\n\n\n\nconst $3f2d4d16023f7fe0$export$e221a98f4fd84d36 = ()=>{\n const length = $3f2d4d16023f7fe0$export$dc8812f2f8882ff4 - $3f2d4d16023f7fe0$var$SIGRTMIN + 1;\n return Array.from({\n length: length\n }, $3f2d4d16023f7fe0$var$getRealtimeSignal);\n};\nconst $3f2d4d16023f7fe0$var$getRealtimeSignal = (value, index)=>({\n name: `SIGRT${index + 1}`,\n number: $3f2d4d16023f7fe0$var$SIGRTMIN + index,\n action: \"terminate\",\n description: \"Application-specific signal (realtime)\",\n standard: \"posix\"\n });\nconst $3f2d4d16023f7fe0$var$SIGRTMIN = 34;\nconst $3f2d4d16023f7fe0$export$dc8812f2f8882ff4 = 64;\n\n\n\nconst $f83854f39a2271db$export$a43bf6822cc694af = [\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: \"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\n\n\nconst $a68b2c1da683b63b$export$c50078d4faa171f0 = ()=>{\n const realtimeSignals = (0, $3f2d4d16023f7fe0$export$e221a98f4fd84d36)();\n const signals = [\n ...(0, $f83854f39a2271db$export$a43bf6822cc694af),\n ...realtimeSignals\n ].map($a68b2c1da683b63b$var$normalizeSignal);\n return signals;\n};\nconst $a68b2c1da683b63b$var$normalizeSignal = ({ name: name, number: defaultNumber, description: description, action: action, forced: forced = false, standard: standard })=>{\n const { signals: { [name]: constantSignal } } = (0, $4umf8$nodeos.constants);\n const supported = constantSignal !== undefined;\n const number = supported ? constantSignal : defaultNumber;\n return {\n name: name,\n number: number,\n description: description,\n supported: supported,\n action: action,\n forced: forced,\n standard: standard\n };\n};\n\n\nconst $7200703cc3f0578e$var$getSignalsByName = ()=>{\n const signals = (0, $a68b2c1da683b63b$export$c50078d4faa171f0)();\n return Object.fromEntries(signals.map($7200703cc3f0578e$var$getSignalByName));\n};\nconst $7200703cc3f0578e$var$getSignalByName = ({ name: name, number: number, description: description, supported: supported, action: action, forced: forced, standard: standard })=>[\n name,\n {\n name: name,\n number: number,\n description: description,\n supported: supported,\n action: action,\n forced: forced,\n standard: standard\n }\n ];\nconst $7200703cc3f0578e$export$c3fcb39d6848c78d = $7200703cc3f0578e$var$getSignalsByName();\nconst $7200703cc3f0578e$var$getSignalsByNumber = ()=>{\n const signals = (0, $a68b2c1da683b63b$export$c50078d4faa171f0)();\n const length = (0, $3f2d4d16023f7fe0$export$dc8812f2f8882ff4) + 1;\n const signalsA = Array.from({\n length: length\n }, (value, number)=>$7200703cc3f0578e$var$getSignalByNumber(number, signals));\n return Object.assign({}, ...signalsA);\n};\nconst $7200703cc3f0578e$var$getSignalByNumber = (number, signals)=>{\n const signal = $7200703cc3f0578e$var$findSignalByNumber(number, signals);\n if (signal === undefined) return {};\n const { name: name, description: description, supported: supported, action: action, forced: forced, standard: standard } = signal;\n return {\n [number]: {\n name: name,\n number: number,\n description: description,\n supported: supported,\n action: action,\n forced: forced,\n standard: standard\n }\n };\n};\nconst $7200703cc3f0578e$var$findSignalByNumber = (number, signals)=>{\n const signal = signals.find(({ name: name })=>(0, $4umf8$nodeos.constants).signals[name] === number);\n if (signal !== undefined) return signal;\n return signals.find((signalA)=>signalA.number === number);\n};\nconst $7200703cc3f0578e$export$12f57f97a08d2468 = $7200703cc3f0578e$var$getSignalsByNumber();\n\n\nconst $3cc2540df97d4431$var$getErrorPrefix = ({ timedOut: timedOut, timeout: timeout, errorCode: errorCode, signal: signal, signalDescription: signalDescription, exitCode: exitCode, isCanceled: isCanceled })=>{\n if (timedOut) return `timed out after ${timeout} milliseconds`;\n if (isCanceled) return \"was canceled\";\n if (errorCode !== undefined) return `failed with ${errorCode}`;\n if (signal !== undefined) return `was killed with ${signal} (${signalDescription})`;\n if (exitCode !== undefined) return `failed with exit code ${exitCode}`;\n return \"failed\";\n};\nconst $3cc2540df97d4431$export$5a4bb2b1c89bdce7 = ({ stdout: stdout, stderr: stderr, all: all, error: error, signal: signal, exitCode: exitCode, command: command, escapedCommand: escapedCommand, timedOut: timedOut, isCanceled: isCanceled, killed: killed, parsed: { options: { timeout: timeout } } })=>{\n // `signal` and `exitCode` emitted on `spawned.on('exit')` event can be `null`.\n // We normalize them to `undefined`\n exitCode = exitCode === null ? undefined : exitCode;\n signal = signal === null ? undefined : signal;\n const signalDescription = signal === undefined ? undefined : (0, $7200703cc3f0578e$export$c3fcb39d6848c78d)[signal].description;\n const errorCode = error && error.code;\n const prefix = $3cc2540df97d4431$var$getErrorPrefix({\n timedOut: timedOut,\n timeout: timeout,\n errorCode: errorCode,\n signal: signal,\n signalDescription: signalDescription,\n exitCode: exitCode,\n isCanceled: isCanceled\n });\n const execaMessage = `Command ${prefix}: ${command}`;\n const isError = Object.prototype.toString.call(error) === \"[object Error]\";\n const shortMessage = isError ? `${execaMessage}\\n${error.message}` : execaMessage;\n const message = [\n shortMessage,\n stderr,\n stdout\n ].filter(Boolean).join(\"\\n\");\n if (isError) {\n error.originalMessage = error.message;\n error.message = message;\n } else error = new Error(message);\n error.shortMessage = shortMessage;\n error.command = command;\n error.escapedCommand = escapedCommand;\n error.exitCode = exitCode;\n error.signal = signal;\n error.signalDescription = signalDescription;\n error.stdout = stdout;\n error.stderr = stderr;\n if (all !== undefined) error.all = all;\n if (\"bufferedData\" in error) delete error.bufferedData;\n error.failed = true;\n error.timedOut = Boolean(timedOut);\n error.isCanceled = isCanceled;\n error.killed = killed && !timedOut;\n return error;\n};\n\n\nconst $5024218da92577e1$var$aliases = [\n \"stdin\",\n \"stdout\",\n \"stderr\"\n];\nconst $5024218da92577e1$var$hasAlias = (options)=>$5024218da92577e1$var$aliases.some((alias)=>options[alias] !== undefined);\nconst $5024218da92577e1$export$a581401a57fac02e = (options)=>{\n if (!options) return;\n const { stdio: stdio } = options;\n if (stdio === undefined) return $5024218da92577e1$var$aliases.map((alias)=>options[alias]);\n if ($5024218da92577e1$var$hasAlias(options)) throw new Error(`It's not possible to provide \\`stdio\\` in combination with one of ${$5024218da92577e1$var$aliases.map((alias)=>`\\`${alias}\\``).join(\", \")}`);\n if (typeof stdio === \"string\") return stdio;\n if (!Array.isArray(stdio)) throw new TypeError(`Expected \\`stdio\\` to be of type \\`string\\` or \\`Array\\`, got \\`${typeof stdio}\\``);\n const length = Math.max(stdio.length, $5024218da92577e1$var$aliases.length);\n return Array.from({\n length: length\n }, (value, index)=>stdio[index]);\n};\nconst $5024218da92577e1$export$889423b478ae2ba = (options)=>{\n const stdio = $5024218da92577e1$export$a581401a57fac02e(options);\n if (stdio === \"ipc\") return \"ipc\";\n if (stdio === undefined || typeof stdio === \"string\") return [\n stdio,\n stdio,\n stdio,\n \"ipc\"\n ];\n if (stdio.includes(\"ipc\")) return stdio;\n return [\n ...stdio,\n \"ipc\"\n ];\n};\n\n\n\n\nconst $31d647d42660f666$var$DEFAULT_FORCE_KILL_TIMEOUT = 5000;\nconst $31d647d42660f666$export$971fa1b57c7f00b = (kill, signal = \"SIGTERM\", options = {})=>{\n const killResult = kill(signal);\n $31d647d42660f666$var$setKillTimeout(kill, signal, options, killResult);\n return killResult;\n};\nconst $31d647d42660f666$var$setKillTimeout = (kill, signal, options, killResult)=>{\n if (!$31d647d42660f666$var$shouldForceKill(signal, options, killResult)) return;\n const timeout = $31d647d42660f666$var$getForceKillAfterTimeout(options);\n const t = setTimeout(()=>{\n kill(\"SIGKILL\");\n }, timeout);\n // Guarded because there's no `.unref()` when `execa` is used in the renderer\n // process in Electron. This cannot be tested since we don't run tests in\n // Electron.\n // istanbul ignore else\n if (t.unref) t.unref();\n};\nconst $31d647d42660f666$var$shouldForceKill = (signal, { forceKillAfterTimeout: forceKillAfterTimeout }, killResult)=>$31d647d42660f666$var$isSigterm(signal) && forceKillAfterTimeout !== false && killResult;\nconst $31d647d42660f666$var$isSigterm = (signal)=>signal === (0, ($parcel$interopDefault($4umf8$nodeos))).constants.signals.SIGTERM || typeof signal === \"string\" && signal.toUpperCase() === \"SIGTERM\";\nconst $31d647d42660f666$var$getForceKillAfterTimeout = ({ forceKillAfterTimeout: forceKillAfterTimeout = true })=>{\n if (forceKillAfterTimeout === true) return $31d647d42660f666$var$DEFAULT_FORCE_KILL_TIMEOUT;\n if (!Number.isFinite(forceKillAfterTimeout) || forceKillAfterTimeout < 0) throw new TypeError(`Expected the \\`forceKillAfterTimeout\\` option to be a non-negative integer, got \\`${forceKillAfterTimeout}\\` (${typeof forceKillAfterTimeout})`);\n return forceKillAfterTimeout;\n};\nconst $31d647d42660f666$export$667e13cd9b70ca17 = (spawned, context)=>{\n const killResult = spawned.kill();\n if (killResult) context.isCanceled = true;\n};\nconst $31d647d42660f666$var$timeoutKill = (spawned, signal, reject)=>{\n spawned.kill(signal);\n reject(Object.assign(new Error(\"Timed out\"), {\n timedOut: true,\n signal: signal\n }));\n};\nconst $31d647d42660f666$export$6bcc98999eb82896 = (spawned, { timeout: timeout, killSignal: killSignal = \"SIGTERM\" }, spawnedPromise)=>{\n if (timeout === 0 || timeout === undefined) return spawnedPromise;\n let timeoutId;\n const timeoutPromise = new Promise((resolve, reject)=>{\n timeoutId = setTimeout(()=>{\n $31d647d42660f666$var$timeoutKill(spawned, killSignal, reject);\n }, timeout);\n });\n const safeSpawnedPromise = spawnedPromise.finally(()=>{\n clearTimeout(timeoutId);\n });\n return Promise.race([\n timeoutPromise,\n safeSpawnedPromise\n ]);\n};\nconst $31d647d42660f666$export$3186f8866f616f9f = ({ timeout: timeout })=>{\n if (timeout !== undefined && (!Number.isFinite(timeout) || timeout < 0)) throw new TypeError(`Expected the \\`timeout\\` option to be a non-negative integer, got \\`${timeout}\\` (${typeof timeout})`);\n};\nconst $31d647d42660f666$export$79fc3056c9ca4ada = async (spawned, { cleanup: cleanup, detached: detached }, timedPromise)=>{\n if (!cleanup || detached) return timedPromise;\n const removeExitHandler = (0, (/*@__PURE__*/$parcel$interopDefault($bb65f7b92c015fe3$exports)))(()=>{\n spawned.kill();\n });\n return timedPromise.finally(()=>{\n removeExitHandler();\n });\n};\n\n\n\n\nfunction $eee28a117e75c570$export$294a92d8f7b3979(stream) {\n return stream !== null && typeof stream === \"object\" && typeof stream.pipe === \"function\";\n}\nfunction $eee28a117e75c570$export$b58a61c52edb4f66(stream) {\n return $eee28a117e75c570$export$294a92d8f7b3979(stream) && stream.writable !== false && typeof stream._write === \"function\" && typeof stream._writableState === \"object\";\n}\nfunction $eee28a117e75c570$export$ac613ff475b69d05(stream) {\n return $eee28a117e75c570$export$294a92d8f7b3979(stream) && stream.readable !== false && typeof stream._read === \"function\" && typeof stream._readableState === \"object\";\n}\nfunction $eee28a117e75c570$export$f92d8ccfaec172d4(stream) {\n return $eee28a117e75c570$export$b58a61c52edb4f66(stream) && $eee28a117e75c570$export$ac613ff475b69d05(stream);\n}\nfunction $eee28a117e75c570$export$3053cdc6f2e088fd(stream) {\n return $eee28a117e75c570$export$f92d8ccfaec172d4(stream) && typeof stream._transform === \"function\";\n}\n\n\nconst $788c27e47e7b9d39$var$isExecaChildProcess = (target)=>target instanceof (0, $4umf8$nodechild_process.ChildProcess) && typeof target.then === \"function\";\nconst $788c27e47e7b9d39$var$pipeToTarget = (spawned, streamName, target)=>{\n if (typeof target === \"string\") {\n spawned[streamName].pipe((0, $4umf8$nodefs.createWriteStream)(target));\n return spawned;\n }\n if ((0, $eee28a117e75c570$export$b58a61c52edb4f66)(target)) {\n spawned[streamName].pipe(target);\n return spawned;\n }\n if (!$788c27e47e7b9d39$var$isExecaChildProcess(target)) throw new TypeError(\"The second argument must be a string, a stream or an Execa child process.\");\n if (!(0, $eee28a117e75c570$export$b58a61c52edb4f66)(target.stdin)) throw new TypeError(\"The target child process's stdin must be available.\");\n spawned[streamName].pipe(target.stdin);\n return target;\n};\nconst $788c27e47e7b9d39$export$14becf8d91886424 = (spawned)=>{\n if (spawned.stdout !== null) spawned.pipeStdout = $788c27e47e7b9d39$var$pipeToTarget.bind(undefined, spawned, \"stdout\");\n if (spawned.stderr !== null) spawned.pipeStderr = $788c27e47e7b9d39$var$pipeToTarget.bind(undefined, spawned, \"stderr\");\n if (spawned.all !== undefined) spawned.pipeAll = $788c27e47e7b9d39$var$pipeToTarget.bind(undefined, spawned, \"all\");\n};\n\n\n\n\n\n\nconst $25ae1e9fa441b278$var$validateInputOptions = (input)=>{\n if (input !== undefined) throw new TypeError(\"The `input` and `inputFile` options cannot be both set.\");\n};\nconst $25ae1e9fa441b278$var$getInputSync = ({ input: input, inputFile: inputFile })=>{\n if (typeof inputFile !== \"string\") return input;\n $25ae1e9fa441b278$var$validateInputOptions(input);\n return (0, $4umf8$nodefs.readFileSync)(inputFile);\n};\nconst $25ae1e9fa441b278$export$7f2f9b6457412b41 = (options)=>{\n const input = $25ae1e9fa441b278$var$getInputSync(options);\n if ((0, $eee28a117e75c570$export$294a92d8f7b3979)(input)) throw new TypeError(\"The `input` option cannot be a stream in sync mode\");\n return input;\n};\nconst $25ae1e9fa441b278$var$getInput = ({ input: input, inputFile: inputFile })=>{\n if (typeof inputFile !== \"string\") return input;\n $25ae1e9fa441b278$var$validateInputOptions(input);\n return (0, $4umf8$nodefs.createReadStream)(inputFile);\n};\nconst $25ae1e9fa441b278$export$412508d679148d5c = (spawned, options)=>{\n const input = $25ae1e9fa441b278$var$getInput(options);\n if (input === undefined) return;\n if ((0, $eee28a117e75c570$export$294a92d8f7b3979)(input)) input.pipe(spawned.stdin);\n else spawned.stdin.end(input);\n};\nconst $25ae1e9fa441b278$export$41f5c0c12dadd6ae = (spawned, { all: all })=>{\n if (!all || !spawned.stdout && !spawned.stderr) return;\n const mixed = (0, (/*@__PURE__*/$parcel$interopDefault($54e540789a02ab0d$exports)))();\n if (spawned.stdout) mixed.add(spawned.stdout);\n if (spawned.stderr) mixed.add(spawned.stderr);\n return mixed;\n};\n// On failure, `result.stdout|stderr|all` should contain the currently buffered stream\nconst $25ae1e9fa441b278$var$getBufferedData = async (stream, streamPromise)=>{\n // When `buffer` is `false`, `streamPromise` is `undefined` and there is no buffered data to retrieve\n if (!stream || streamPromise === undefined) return;\n stream.destroy();\n try {\n return await streamPromise;\n } catch (error) {\n return error.bufferedData;\n }\n};\nconst $25ae1e9fa441b278$var$getStreamPromise = (stream, { encoding: encoding, buffer: buffer, maxBuffer: maxBuffer })=>{\n if (!stream || !buffer) return;\n if (encoding) return (0, (/*@__PURE__*/$parcel$interopDefault($c0c5155781331bb0$exports)))(stream, {\n encoding: encoding,\n maxBuffer: maxBuffer\n });\n return (0, (/*@__PURE__*/$parcel$interopDefault($c0c5155781331bb0$exports))).buffer(stream, {\n maxBuffer: maxBuffer\n });\n};\nconst $25ae1e9fa441b278$export$67b768ac9e1c70fa = async ({ stdout: stdout, stderr: stderr, all: all }, { encoding: encoding, buffer: buffer, maxBuffer: maxBuffer }, processDone)=>{\n const stdoutPromise = $25ae1e9fa441b278$var$getStreamPromise(stdout, {\n encoding: encoding,\n buffer: buffer,\n maxBuffer: maxBuffer\n });\n const stderrPromise = $25ae1e9fa441b278$var$getStreamPromise(stderr, {\n encoding: encoding,\n buffer: buffer,\n maxBuffer: maxBuffer\n });\n const allPromise = $25ae1e9fa441b278$var$getStreamPromise(all, {\n encoding: encoding,\n buffer: buffer,\n maxBuffer: maxBuffer * 2\n });\n try {\n return await Promise.all([\n processDone,\n stdoutPromise,\n stderrPromise,\n allPromise\n ]);\n } catch (error) {\n return Promise.all([\n {\n error: error,\n signal: error.signal,\n timedOut: error.timedOut\n },\n $25ae1e9fa441b278$var$getBufferedData(stdout, stdoutPromise),\n $25ae1e9fa441b278$var$getBufferedData(stderr, stderrPromise),\n $25ae1e9fa441b278$var$getBufferedData(all, allPromise)\n ]);\n }\n};\n\n\n// eslint-disable-next-line unicorn/prefer-top-level-await\nconst $483d47d96a5430a4$var$nativePromisePrototype = (async ()=>{})().constructor.prototype;\nconst $483d47d96a5430a4$var$descriptors = [\n \"then\",\n \"catch\",\n \"finally\"\n].map((property)=>[\n property,\n Reflect.getOwnPropertyDescriptor($483d47d96a5430a4$var$nativePromisePrototype, property)\n ]);\nconst $483d47d96a5430a4$export$e6eb0007fd542aba = (spawned, promise)=>{\n for (const [property, descriptor] of $483d47d96a5430a4$var$descriptors){\n // Starting the main `promise` is deferred to avoid consuming streams\n const value = typeof promise === \"function\" ? (...args)=>Reflect.apply(descriptor.value, promise(), args) : descriptor.value.bind(promise);\n Reflect.defineProperty(spawned, property, {\n ...descriptor,\n value: value\n });\n }\n};\nconst $483d47d96a5430a4$export$6e3a9b5342d42997 = (spawned)=>new Promise((resolve, reject)=>{\n spawned.on(\"exit\", (exitCode, signal)=>{\n resolve({\n exitCode: exitCode,\n signal: signal\n });\n });\n spawned.on(\"error\", (error)=>{\n reject(error);\n });\n if (spawned.stdin) spawned.stdin.on(\"error\", (error)=>{\n reject(error);\n });\n });\n\n\n\n\nconst $b0499f0629d081a0$var$normalizeArgs = (file, args = [])=>{\n if (!Array.isArray(args)) return [\n file\n ];\n return [\n file,\n ...args\n ];\n};\nconst $b0499f0629d081a0$var$NO_ESCAPE_REGEXP = /^[\\w.-]+$/;\nconst $b0499f0629d081a0$var$DOUBLE_QUOTES_REGEXP = /\"/g;\nconst $b0499f0629d081a0$var$escapeArg = (arg)=>{\n if (typeof arg !== \"string\" || $b0499f0629d081a0$var$NO_ESCAPE_REGEXP.test(arg)) return arg;\n return `\"${arg.replace($b0499f0629d081a0$var$DOUBLE_QUOTES_REGEXP, '\\\\\"')}\"`;\n};\nconst $b0499f0629d081a0$export$ab3db8fe5ebf3a1 = (file, args)=>$b0499f0629d081a0$var$normalizeArgs(file, args).join(\" \");\nconst $b0499f0629d081a0$export$9d3099014bd914f8 = (file, args)=>$b0499f0629d081a0$var$normalizeArgs(file, args).map((arg)=>$b0499f0629d081a0$var$escapeArg(arg)).join(\" \");\nconst $b0499f0629d081a0$var$SPACES_REGEXP = / +/g;\nconst $b0499f0629d081a0$export$78bcee23e0849f6a = (command)=>{\n const tokens = [];\n for (const token of command.trim().split($b0499f0629d081a0$var$SPACES_REGEXP)){\n // Allow spaces to be escaped by a backslash if not meant as a delimiter\n const previousToken = tokens[tokens.length - 1];\n if (previousToken && previousToken.endsWith(\"\\\\\")) // Merge previous token with current one\n tokens[tokens.length - 1] = `${previousToken.slice(0, -1)} ${token}`;\n else tokens.push(token);\n }\n return tokens;\n};\nconst $b0499f0629d081a0$var$parseExpression = (expression)=>{\n const typeOfExpression = typeof expression;\n if (typeOfExpression === \"string\") return expression;\n if (typeOfExpression === \"number\") return String(expression);\n if (typeOfExpression === \"object\" && expression !== null && !(expression instanceof (0, $4umf8$nodechild_process.ChildProcess)) && \"stdout\" in expression) {\n const typeOfStdout = typeof expression.stdout;\n if (typeOfStdout === \"string\") return expression.stdout;\n if ((0, $4umf8$nodebuffer.Buffer).isBuffer(expression.stdout)) return expression.stdout.toString();\n throw new TypeError(`Unexpected \"${typeOfStdout}\" stdout in template expression`);\n }\n throw new TypeError(`Unexpected \"${typeOfExpression}\" in template expression`);\n};\nconst $b0499f0629d081a0$var$concatTokens = (tokens, nextTokens, isNew)=>isNew || tokens.length === 0 || nextTokens.length === 0 ? [\n ...tokens,\n ...nextTokens\n ] : [\n ...tokens.slice(0, -1),\n `${tokens[tokens.length - 1]}${nextTokens[0]}`,\n ...nextTokens.slice(1)\n ];\nconst $b0499f0629d081a0$var$parseTemplate = ({ templates: templates, expressions: expressions, tokens: tokens, index: index, template: template })=>{\n const templateString = template !== null && template !== void 0 ? template : templates.raw[index];\n const templateTokens = templateString.split($b0499f0629d081a0$var$SPACES_REGEXP).filter(Boolean);\n const newTokens = $b0499f0629d081a0$var$concatTokens(tokens, templateTokens, templateString.startsWith(\" \"));\n if (index === expressions.length) return newTokens;\n const expression = expressions[index];\n const expressionTokens = Array.isArray(expression) ? expression.map((expression)=>$b0499f0629d081a0$var$parseExpression(expression)) : [\n $b0499f0629d081a0$var$parseExpression(expression)\n ];\n return $b0499f0629d081a0$var$concatTokens(newTokens, expressionTokens, templateString.endsWith(\" \"));\n};\nconst $b0499f0629d081a0$export$4a6ee54de9b0f25d = (templates, expressions)=>{\n let tokens = [];\n for (const [index, template] of templates.entries())tokens = $b0499f0629d081a0$var$parseTemplate({\n templates: templates,\n expressions: expressions,\n tokens: tokens,\n index: index,\n template: template\n });\n return tokens;\n};\n\n\n\n\nconst $50ab260278bbd0aa$export$38bb3c1fbaa0bdcf = (0, $4umf8$nodeutil.debuglog)(\"execa\").enabled;\nconst $50ab260278bbd0aa$var$padField = (field, padding)=>String(field).padStart(padding, \"0\");\nconst $50ab260278bbd0aa$var$getTimestamp = ()=>{\n const date = new Date();\n return `${$50ab260278bbd0aa$var$padField(date.getHours(), 2)}:${$50ab260278bbd0aa$var$padField(date.getMinutes(), 2)}:${$50ab260278bbd0aa$var$padField(date.getSeconds(), 2)}.${$50ab260278bbd0aa$var$padField(date.getMilliseconds(), 3)}`;\n};\nconst $50ab260278bbd0aa$export$3bb886c4c1352118 = (escapedCommand, { verbose: verbose })=>{\n if (!verbose) return;\n (0, ($parcel$interopDefault($4umf8$nodeprocess))).stderr.write(`[${$50ab260278bbd0aa$var$getTimestamp()}] ${escapedCommand}\\n`);\n};\n\n\nconst $6b21261f2684d432$var$DEFAULT_MAX_BUFFER = 100000000;\nconst $6b21261f2684d432$var$getEnv = ({ env: envOption, extendEnv: extendEnv, preferLocal: preferLocal, localDir: localDir, execPath: execPath })=>{\n const env = extendEnv ? {\n ...(0, ($parcel$interopDefault($4umf8$nodeprocess))).env,\n ...envOption\n } : envOption;\n if (preferLocal) return (0, $9bbc0271f663f158$export$340e1fbaac04248b)({\n env: env,\n cwd: localDir,\n execPath: execPath\n });\n return env;\n};\nconst $6b21261f2684d432$var$handleArguments = (file, args, options = {})=>{\n const parsed = (0, (/*@__PURE__*/$parcel$interopDefault($df67359950f095d8$exports)))._parse(file, args, options);\n file = parsed.command;\n args = parsed.args;\n options = parsed.options;\n options = {\n maxBuffer: $6b21261f2684d432$var$DEFAULT_MAX_BUFFER,\n buffer: true,\n stripFinalNewline: true,\n extendEnv: true,\n preferLocal: false,\n localDir: options.cwd || (0, ($parcel$interopDefault($4umf8$nodeprocess))).cwd(),\n execPath: (0, ($parcel$interopDefault($4umf8$nodeprocess))).execPath,\n encoding: \"utf8\",\n reject: true,\n cleanup: true,\n all: false,\n windowsHide: true,\n verbose: (0, $50ab260278bbd0aa$export$38bb3c1fbaa0bdcf),\n ...options\n };\n options.env = $6b21261f2684d432$var$getEnv(options);\n options.stdio = (0, $5024218da92577e1$export$a581401a57fac02e)(options);\n if ((0, ($parcel$interopDefault($4umf8$nodeprocess))).platform === \"win32\" && (0, ($parcel$interopDefault($4umf8$nodepath))).basename(file, \".exe\") === \"cmd\") // #116\n args.unshift(\"/q\");\n return {\n file: file,\n args: args,\n options: options,\n parsed: parsed\n };\n};\nconst $6b21261f2684d432$var$handleOutput = (options, value, error)=>{\n if (typeof value !== \"string\" && !(0, $4umf8$nodebuffer.Buffer).isBuffer(value)) // When `execaSync()` errors, we normalize it to '' to mimic `execa()`\n return error === undefined ? undefined : \"\";\n if (options.stripFinalNewline) return (0, $b47b055dd6fde9e8$export$2e2bcd8739ae039)(value);\n return value;\n};\nfunction $6b21261f2684d432$export$db6b1668e3758717(file, args, options) {\n const parsed = $6b21261f2684d432$var$handleArguments(file, args, options);\n const command = (0, $b0499f0629d081a0$export$ab3db8fe5ebf3a1)(file, args);\n const escapedCommand = (0, $b0499f0629d081a0$export$9d3099014bd914f8)(file, args);\n (0, $50ab260278bbd0aa$export$3bb886c4c1352118)(escapedCommand, parsed.options);\n (0, $31d647d42660f666$export$3186f8866f616f9f)(parsed.options);\n let spawned;\n try {\n spawned = (0, ($parcel$interopDefault($4umf8$nodechild_process))).spawn(parsed.file, parsed.args, parsed.options);\n } catch (error) {\n // Ensure the returned error is always both a promise and a child process\n const dummySpawned = new (0, ($parcel$interopDefault($4umf8$nodechild_process))).ChildProcess();\n const errorPromise = Promise.reject((0, $3cc2540df97d4431$export$5a4bb2b1c89bdce7)({\n error: error,\n stdout: \"\",\n stderr: \"\",\n all: \"\",\n command: command,\n escapedCommand: escapedCommand,\n parsed: parsed,\n timedOut: false,\n isCanceled: false,\n killed: false\n }));\n (0, $483d47d96a5430a4$export$e6eb0007fd542aba)(dummySpawned, errorPromise);\n return dummySpawned;\n }\n const spawnedPromise = (0, $483d47d96a5430a4$export$6e3a9b5342d42997)(spawned);\n const timedPromise = (0, $31d647d42660f666$export$6bcc98999eb82896)(spawned, parsed.options, spawnedPromise);\n const processDone = (0, $31d647d42660f666$export$79fc3056c9ca4ada)(spawned, parsed.options, timedPromise);\n const context = {\n isCanceled: false\n };\n spawned.kill = (0, $31d647d42660f666$export$971fa1b57c7f00b).bind(null, spawned.kill.bind(spawned));\n spawned.cancel = (0, $31d647d42660f666$export$667e13cd9b70ca17).bind(null, spawned, context);\n const handlePromise = async ()=>{\n const [{ error: error, exitCode: exitCode, signal: signal, timedOut: timedOut }, stdoutResult, stderrResult, allResult] = await (0, $25ae1e9fa441b278$export$67b768ac9e1c70fa)(spawned, parsed.options, processDone);\n const stdout = $6b21261f2684d432$var$handleOutput(parsed.options, stdoutResult);\n const stderr = $6b21261f2684d432$var$handleOutput(parsed.options, stderrResult);\n const all = $6b21261f2684d432$var$handleOutput(parsed.options, allResult);\n if (error || exitCode !== 0 || signal !== null) {\n const returnedError = (0, $3cc2540df97d4431$export$5a4bb2b1c89bdce7)({\n error: error,\n exitCode: exitCode,\n signal: signal,\n stdout: stdout,\n stderr: stderr,\n all: all,\n command: command,\n escapedCommand: escapedCommand,\n parsed: parsed,\n timedOut: timedOut,\n isCanceled: context.isCanceled || (parsed.options.signal ? parsed.options.signal.aborted : false),\n killed: spawned.killed\n });\n if (!parsed.options.reject) return returnedError;\n throw returnedError;\n }\n return {\n command: command,\n escapedCommand: escapedCommand,\n exitCode: 0,\n stdout: stdout,\n stderr: stderr,\n all: all,\n failed: false,\n timedOut: false,\n isCanceled: false,\n killed: false\n };\n };\n const handlePromiseOnce = (0, $64e33a61e28bb17f$export$2e2bcd8739ae039)(handlePromise);\n (0, $25ae1e9fa441b278$export$412508d679148d5c)(spawned, parsed.options);\n spawned.all = (0, $25ae1e9fa441b278$export$41f5c0c12dadd6ae)(spawned, parsed.options);\n (0, $788c27e47e7b9d39$export$14becf8d91886424)(spawned);\n (0, $483d47d96a5430a4$export$e6eb0007fd542aba)(spawned, handlePromiseOnce);\n return spawned;\n}\nfunction $6b21261f2684d432$export$28823a701bb5a12d(file, args, options) {\n const parsed = $6b21261f2684d432$var$handleArguments(file, args, options);\n const command = (0, $b0499f0629d081a0$export$ab3db8fe5ebf3a1)(file, args);\n const escapedCommand = (0, $b0499f0629d081a0$export$9d3099014bd914f8)(file, args);\n (0, $50ab260278bbd0aa$export$3bb886c4c1352118)(escapedCommand, parsed.options);\n const input = (0, $25ae1e9fa441b278$export$7f2f9b6457412b41)(parsed.options);\n let result;\n try {\n result = (0, ($parcel$interopDefault($4umf8$nodechild_process))).spawnSync(parsed.file, parsed.args, {\n ...parsed.options,\n input: input\n });\n } catch (error) {\n throw (0, $3cc2540df97d4431$export$5a4bb2b1c89bdce7)({\n error: error,\n stdout: \"\",\n stderr: \"\",\n all: \"\",\n command: command,\n escapedCommand: escapedCommand,\n parsed: parsed,\n timedOut: false,\n isCanceled: false,\n killed: false\n });\n }\n const stdout = $6b21261f2684d432$var$handleOutput(parsed.options, result.stdout, result.error);\n const stderr = $6b21261f2684d432$var$handleOutput(parsed.options, result.stderr, result.error);\n if (result.error || result.status !== 0 || result.signal !== null) {\n const error = (0, $3cc2540df97d4431$export$5a4bb2b1c89bdce7)({\n stdout: stdout,\n stderr: stderr,\n error: result.error,\n signal: result.signal,\n exitCode: result.status,\n command: command,\n escapedCommand: escapedCommand,\n parsed: parsed,\n timedOut: result.error && result.error.code === \"ETIMEDOUT\",\n isCanceled: false,\n killed: result.signal !== null\n });\n if (!parsed.options.reject) return error;\n throw error;\n }\n return {\n command: command,\n escapedCommand: escapedCommand,\n exitCode: 0,\n stdout: stdout,\n stderr: stderr,\n failed: false,\n timedOut: false,\n isCanceled: false,\n killed: false\n };\n}\nconst $6b21261f2684d432$var$normalizeScriptStdin = ({ input: input, inputFile: inputFile, stdio: stdio })=>input === undefined && inputFile === undefined && stdio === undefined ? {\n stdin: \"inherit\"\n } : {};\nconst $6b21261f2684d432$var$normalizeScriptOptions = (options = {})=>({\n preferLocal: true,\n ...$6b21261f2684d432$var$normalizeScriptStdin(options),\n ...options\n });\nfunction $6b21261f2684d432$var$create$(options) {\n function $(templatesOrOptions, ...expressions) {\n if (!Array.isArray(templatesOrOptions)) return $6b21261f2684d432$var$create$({\n ...options,\n ...templatesOrOptions\n });\n const [file, ...args] = (0, $b0499f0629d081a0$export$4a6ee54de9b0f25d)(templatesOrOptions, expressions);\n return $6b21261f2684d432$export$db6b1668e3758717(file, args, $6b21261f2684d432$var$normalizeScriptOptions(options));\n }\n $.sync = (templates, ...expressions)=>{\n if (!Array.isArray(templates)) throw new TypeError(\"Please use $(options).sync`command` instead of $.sync(options)`command`.\");\n const [file, ...args] = (0, $b0499f0629d081a0$export$4a6ee54de9b0f25d)(templates, expressions);\n return $6b21261f2684d432$export$28823a701bb5a12d(file, args, $6b21261f2684d432$var$normalizeScriptOptions(options));\n };\n return $;\n}\nconst $6b21261f2684d432$export$3d8c2f653ac9d0b9 = $6b21261f2684d432$var$create$();\nfunction $6b21261f2684d432$export$eb9ed1222071f2f6(command, options) {\n const [file, ...args] = (0, $b0499f0629d081a0$export$78bcee23e0849f6a)(command);\n return $6b21261f2684d432$export$db6b1668e3758717(file, args, options);\n}\nfunction $6b21261f2684d432$export$5c60dbe76a54db4(command, options) {\n const [file, ...args] = (0, $b0499f0629d081a0$export$78bcee23e0849f6a)(command);\n return $6b21261f2684d432$export$28823a701bb5a12d(file, args, options);\n}\nfunction $6b21261f2684d432$export$c004ac68fdb98119(scriptPath, args, options = {}) {\n if (args && !Array.isArray(args) && typeof args === \"object\") {\n options = args;\n args = [];\n }\n const stdio = (0, $5024218da92577e1$export$889423b478ae2ba)(options);\n const defaultExecArgv = (0, ($parcel$interopDefault($4umf8$nodeprocess))).execArgv.filter((arg)=>!arg.startsWith(\"--inspect\"));\n const { nodePath: nodePath = (0, ($parcel$interopDefault($4umf8$nodeprocess))).execPath, nodeOptions: nodeOptions = defaultExecArgv } = options;\n return $6b21261f2684d432$export$db6b1668e3758717(nodePath, [\n ...nodeOptions,\n scriptPath,\n ...Array.isArray(args) ? args : []\n ], {\n ...options,\n stdin: undefined,\n stdout: undefined,\n stderr: undefined,\n stdio: stdio,\n shell: false\n });\n}\n\n\n\n/** The cached powershell path */ let $7826d3c45b949ee1$var$powershell;\nfunction $7826d3c45b949ee1$export$43324456a02f71b0(command, startupFlags = [\n \"-NoProfile\",\n \"-NoLogo\",\n \"-NonInteractive\"\n], execOptions = {\n stdio: \"inherit\"\n}) {\n return $6b21261f2684d432$export$db6b1668e3758717($7826d3c45b949ee1$export$4dfdd3964d242d20(), [\n ...startupFlags,\n \"-c\",\n command\n ], execOptions);\n}\nfunction $7826d3c45b949ee1$export$395ec453f890f6a3(command, startupFlags = [\n \"-NoProfile\",\n \"-NoLogo\",\n \"-NonInteractive\"\n], execOptions = {\n stdio: \"inherit\"\n}) {\n return $6b21261f2684d432$export$28823a701bb5a12d($7826d3c45b949ee1$export$4dfdd3964d242d20(), [\n ...startupFlags,\n \"-c\",\n command\n ], execOptions);\n}\nfunction $7826d3c45b949ee1$export$4dfdd3964d242d20() {\n if ($7826d3c45b949ee1$var$powershell === undefined) {\n const maybePwsh = (0, (/*@__PURE__*/$parcel$interopDefault($62c5f8067a789ef5$exports))).sync(\"pwsh\", {\n nothrow: true\n });\n if (maybePwsh !== null) $7826d3c45b949ee1$var$powershell = maybePwsh;\n const maybePowerShell = (0, (/*@__PURE__*/$parcel$interopDefault($62c5f8067a789ef5$exports))).sync(\"powershell\", {\n nothrow: true\n });\n if (maybePowerShell !== null) $7826d3c45b949ee1$var$powershell = maybePowerShell;\n }\n if ($7826d3c45b949ee1$var$powershell === undefined) throw new Error(\"Could not find powershell\");\n return $7826d3c45b949ee1$var$powershell;\n}\n\n\n\nvar $b9d89aabab75e02d$exports = {};\n\n// to detect on with os user had used path.resolve(...)\nconst $b9d89aabab75e02d$var$is_posix_os = $4umf8$os.platform() !== \"win32\";\nconst $b9d89aabab75e02d$var$version = $4umf8$os.release();\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 $b9d89aabab75e02d$var$windows_version_regex = /(\\d+\\.\\d+)\\.(\\d+)/;\nconst $b9d89aabab75e02d$var$should_not_escape = (major_release = \"\", os_build = \"\")=>/1\\d+\\.\\d+/.test(major_release) && Number(os_build) >= 17134.1184;\n$b9d89aabab75e02d$exports = function(given_path) {\n return $b9d89aabab75e02d$var$is_posix_os ? given_path.replace(/(\\s+)/g, \"\\\\$1\") : $b9d89aabab75e02d$var$should_not_escape(...$b9d89aabab75e02d$var$windows_version_regex.exec($b9d89aabab75e02d$var$version).splice(1)) ? given_path : given_path.replace(/(\\s+)/g, \"%20\");\n};\n\n\n\nvar $24f1a184b31c7184$exports = {};\n\n// Generated by CoffeeScript 1.10.0\n(function() {\n var regexEscape, reverse;\n regexEscape = (parcelRequire(\"eaZtc\"));\n reverse = function(s) {\n return s.split(\"\").reverse().join(\"\");\n };\n $24f1a184b31c7184$exports = function(s, chars, escapeChar) {\n var regex;\n if (chars == null) chars = \"'\";\n if (escapeChar == null) escapeChar = \"\\\\\";\n if (typeof s !== \"string\") return s;\n regex = new RegExp(\"([\" + regexEscape(chars) + \"])(?!\" + regexEscape(escapeChar) + \")\", \"g\");\n return reverse(reverse(s).replace(regex, \"$1\" + escapeChar));\n };\n}).call($24f1a184b31c7184$exports);\n\n\n\nvar $3WkGD = parcelRequire(\"3WkGD\");\nconst $fcca2ee3cb52e97b$var$defaultAddEnvOptions = {\n shouldEscapeSpace: false,\n shouldAddOnlyIfNotDefined: false\n};\nasync function $fcca2ee3cb52e97b$export$f63d3080ce25e0fd(name, valGiven, options = $fcca2ee3cb52e97b$var$defaultAddEnvOptions) {\n const val = $fcca2ee3cb52e97b$var$escapeString(valGiven !== null && valGiven !== void 0 ? valGiven : \"\", options.shouldEscapeSpace);\n try {\n if (0, $cLprm.GITHUB_ACTIONS) try {\n if (options.shouldAddOnlyIfNotDefined) {\n if (process.env[name] !== undefined) {\n (0, $2heqc.info)(`Environment variable ${name} is already defined. Skipping.`);\n return;\n }\n }\n (0, $2heqc.exportVariable)(name, val);\n } catch (err) {\n (0, $hHq4F.error)(err);\n await $fcca2ee3cb52e97b$var$addEnvSystem(name, val, options);\n }\n else await $fcca2ee3cb52e97b$var$addEnvSystem(name, val, options);\n } catch (err) {\n (0, $hHq4F.error)(err);\n (0, $2heqc.setFailed)(`Failed to export environment variable ${name}=${val}. You should add it manually.`);\n }\n}\nfunction $fcca2ee3cb52e97b$var$escapeString(valGiven, shouldEscapeSpace = false) {\n const spaceEscaped = shouldEscapeSpace ? (0, (/*@__PURE__*/$parcel$interopDefault($b9d89aabab75e02d$exports)))(valGiven) : valGiven;\n return (0, (/*@__PURE__*/$parcel$interopDefault($24f1a184b31c7184$exports)))(spaceEscaped, '\"', \"\\\\\");\n}\nconst $fcca2ee3cb52e97b$var$ignoredPaths = [\n /\\/usr\\/bin\\/?/,\n /\\/usr\\/local\\/bin\\/?/\n];\n/** Skip adding /usr/bin to PATH if it is already there */ function $fcca2ee3cb52e97b$var$isIgnoredPath(path) {\n if ($fcca2ee3cb52e97b$var$ignoredPaths.some((checkedPath)=>checkedPath.test(path))) {\n var _process_env_PATH;\n var _process_env_PATH_split;\n const paths = (_process_env_PATH_split = (_process_env_PATH = process.env.PATH) === null || _process_env_PATH === void 0 ? void 0 : _process_env_PATH.split((0, $4umf8$path.delimiter))) !== null && _process_env_PATH_split !== void 0 ? _process_env_PATH_split : [];\n return paths.includes(path);\n }\n return false;\n}\nasync function $fcca2ee3cb52e97b$export$4c25481b843feb0b(path) {\n if ($fcca2ee3cb52e97b$var$isIgnoredPath(path)) return;\n process.env.PATH = `${path}${0, $4umf8$path.delimiter}${process.env.PATH}`;\n try {\n if (0, $cLprm.GITHUB_ACTIONS) try {\n (0, $2heqc.addPath)(path);\n } catch (err) {\n (0, $hHq4F.error)(err);\n await $fcca2ee3cb52e97b$var$addPathSystem(path);\n }\n else await $fcca2ee3cb52e97b$var$addPathSystem(path);\n } catch (err) {\n (0, $hHq4F.error)(err);\n (0, $2heqc.setFailed)(`Failed to add ${path} to the percistent PATH. You should add it manually.`);\n }\n}\nconst $fcca2ee3cb52e97b$export$1bbbc3a810c5799d = (0, $f19d14aa12f0fb90$export$8312d9eeba321950)(\".cpprc\");\nasync function $fcca2ee3cb52e97b$var$addEnvSystem(name, valGiven, options) {\n const val = valGiven !== null && valGiven !== void 0 ? valGiven : \"\";\n switch(process.platform){\n case \"win32\":\n if (options.shouldAddOnlyIfNotDefined) {\n if (process.env[name] !== undefined) {\n (0, $2heqc.info)(`Environment variable ${name} is already defined. Skipping.`);\n return;\n }\n }\n // We do not use `execaSync(`setx PATH \"${path};%PATH%\"`)` because of its character limit\n await (0, $7826d3c45b949ee1$export$43324456a02f71b0)(`[Environment]::SetEnvironmentVariable('${name}', '${val}', \"User\")`);\n (0, $2heqc.info)(`${name}='${val}' was set in the environment.`);\n return;\n case \"linux\":\n case \"darwin\":\n await $fcca2ee3cb52e97b$export$bd1dffd792f43c41();\n if (options.shouldAddOnlyIfNotDefined) {\n (0, $4umf8$fs.appendFileSync)($fcca2ee3cb52e97b$export$1bbbc3a810c5799d, `\\nif [ -z \"\\${${name}}\" ]; then export ${name}=\"${val}\"; fi\\n`);\n (0, $2heqc.info)(`if not defined ${name} then ${name}=\"${val}\" was added to \"${$fcca2ee3cb52e97b$export$1bbbc3a810c5799d}`);\n } else {\n (0, $4umf8$fs.appendFileSync)($fcca2ee3cb52e97b$export$1bbbc3a810c5799d, `\\nexport ${name}=\"${val}\"\\n`);\n (0, $2heqc.info)(`${name}=\"${val}\" was added to \"${$fcca2ee3cb52e97b$export$1bbbc3a810c5799d}`);\n }\n return;\n default:\n }\n process.env[name] = val;\n}\nasync function $fcca2ee3cb52e97b$var$addPathSystem(path) {\n switch(process.platform){\n case \"win32\":\n // We do not use `execaSync(`setx PATH \"${path};%PATH%\"`)` because of its character limit and also because %PATH% is different for user and system\n await (0, $7826d3c45b949ee1$export$43324456a02f71b0)(`$USER_PATH=([Environment]::GetEnvironmentVariable(\"PATH\", \"User\")); [Environment]::SetEnvironmentVariable(\"PATH\", \"${path};$USER_PATH\", \"User\")`);\n (0, $2heqc.info)(`\"${path}\" was added to the PATH.`);\n return;\n case \"linux\":\n case \"darwin\":\n await $fcca2ee3cb52e97b$export$bd1dffd792f43c41();\n (0, $4umf8$fs.appendFileSync)($fcca2ee3cb52e97b$export$1bbbc3a810c5799d, `\\nexport PATH=\"${path}:$PATH\"\\n`);\n (0, $2heqc.info)(`\"${path}\" was added to \"${$fcca2ee3cb52e97b$export$1bbbc3a810c5799d}\"`);\n return;\n default:\n return;\n }\n}\n/* eslint-disable require-atomic-updates */ let $fcca2ee3cb52e97b$var$setupCppInProfile_called = false;\nasync function $fcca2ee3cb52e97b$export$bd1dffd792f43c41() {\n if ($fcca2ee3cb52e97b$var$setupCppInProfile_called) return;\n // a variable that prevents source_cpprc from being called from .bashrc and .profile\n const source_cpprc_str = \"# Automatically Generated by setup-cpp\\nexport SOURCE_CPPRC=0\";\n if (await (0, $3WkGD.pathExists)($fcca2ee3cb52e97b$export$1bbbc3a810c5799d)) {\n const cpprc_content = (0, $4umf8$fs.readFileSync)($fcca2ee3cb52e97b$export$1bbbc3a810c5799d, \"utf8\");\n if (cpprc_content.includes(source_cpprc_str)) // already executed setupCppInProfile\n return;\n }\n (0, $4umf8$fs.appendFileSync)($fcca2ee3cb52e97b$export$1bbbc3a810c5799d, `\\n${source_cpprc_str}\\n`);\n (0, $2heqc.info)(`Added ${source_cpprc_str} to ${$fcca2ee3cb52e97b$export$1bbbc3a810c5799d}`);\n // source cpprc in bashrc/profile\n const source_cpprc_string = `\\n# source .cpprc if SOURCE_CPPRC is not set to 0\\nif [[ \"$SOURCE_CPPRC\" != 0 && -f \"${$fcca2ee3cb52e97b$export$1bbbc3a810c5799d}\" ]]; then source \"${$fcca2ee3cb52e97b$export$1bbbc3a810c5799d}\"; fi\\n`;\n try {\n // source cpprc in .profile\n const profile_path = (0, $f19d14aa12f0fb90$export$8312d9eeba321950)(\".profile\");\n (0, $4umf8$fs.appendFileSync)(profile_path, source_cpprc_string);\n (0, $2heqc.info)(`${source_cpprc_string} was added to ${profile_path}`);\n // source cpprc in .bashrc too\n const bashrc_path = (0, $f19d14aa12f0fb90$export$8312d9eeba321950)(\".bashrc\");\n (0, $4umf8$fs.appendFileSync)(bashrc_path, source_cpprc_string);\n (0, $2heqc.info)(`${source_cpprc_string} was added to ${bashrc_path}`);\n } catch (err) {\n (0, $hHq4F.warning)(`Failed to add ${source_cpprc_string} to .profile or .bashrc. You should add it manually: ${err}`);\n }\n $fcca2ee3cb52e97b$var$setupCppInProfile_called = true;\n}\nasync function $fcca2ee3cb52e97b$export$ca46151966bee7ba() {\n if (await (0, $3WkGD.pathExists)($fcca2ee3cb52e97b$export$1bbbc3a810c5799d)) {\n const entries = (0, $4umf8$fs.readFileSync)($fcca2ee3cb52e97b$export$1bbbc3a810c5799d, \"utf-8\").split(\"\\n\");\n const unique_entries = [\n ...new Set(entries.reverse())\n ].reverse() // remove duplicates, keeping the latest entry\n ;\n (0, $4umf8$fs.writeFileSync)($fcca2ee3cb52e97b$export$1bbbc3a810c5799d, unique_entries.join(\"\\n\"));\n await (0, $de58c30d9e7354db$export$4718e061a205eab)($fcca2ee3cb52e97b$export$1bbbc3a810c5799d);\n }\n}\n\n\n\nvar $3WkGD = parcelRequire(\"3WkGD\");\n\n\n\n\n\n\n\n\n\n\n\nconst $5ac81863306e12e4$var$getErrorPrefix = ({ timedOut: timedOut, timeout: timeout, errorCode: errorCode, signal: signal, signalDescription: signalDescription, exitCode: exitCode, isCanceled: isCanceled })=>{\n if (timedOut) return `timed out after ${timeout} milliseconds`;\n if (isCanceled) return \"was canceled\";\n if (errorCode !== undefined) return `failed with ${errorCode}`;\n if (signal !== undefined) return `was killed with ${signal} (${signalDescription})`;\n if (exitCode !== undefined) return `failed with exit code ${exitCode}`;\n return \"failed\";\n};\nconst $5ac81863306e12e4$export$5a4bb2b1c89bdce7 = ({ stdout: stdout, stderr: stderr, all: all, error: error, signal: signal, exitCode: exitCode, command: command, escapedCommand: escapedCommand, timedOut: timedOut, isCanceled: isCanceled, killed: killed, parsed: { options: { timeout: timeout, cwd: cwd = (0, ($parcel$interopDefault($4umf8$nodeprocess))).cwd() } } })=>{\n // `signal` and `exitCode` emitted on `spawned.on('exit')` event can be `null`.\n // We normalize them to `undefined`\n exitCode = exitCode === null ? undefined : exitCode;\n signal = signal === null ? undefined : signal;\n const signalDescription = signal === undefined ? undefined : (0, $7200703cc3f0578e$export$c3fcb39d6848c78d)[signal].description;\n const errorCode = error && error.code;\n const prefix = $5ac81863306e12e4$var$getErrorPrefix({\n timedOut: timedOut,\n timeout: timeout,\n errorCode: errorCode,\n signal: signal,\n signalDescription: signalDescription,\n exitCode: exitCode,\n isCanceled: isCanceled\n });\n const execaMessage = `Command ${prefix}: ${command}`;\n const isError = Object.prototype.toString.call(error) === \"[object Error]\";\n const shortMessage = isError ? `${execaMessage}\\n${error.message}` : execaMessage;\n const message = [\n shortMessage,\n stderr,\n stdout\n ].filter(Boolean).join(\"\\n\");\n if (isError) {\n error.originalMessage = error.message;\n error.message = message;\n } else error = new Error(message);\n error.shortMessage = shortMessage;\n error.command = command;\n error.escapedCommand = escapedCommand;\n error.exitCode = exitCode;\n error.signal = signal;\n error.signalDescription = signalDescription;\n error.stdout = stdout;\n error.stderr = stderr;\n error.cwd = cwd;\n if (all !== undefined) error.all = all;\n if (\"bufferedData\" in error) delete error.bufferedData;\n error.failed = true;\n error.timedOut = Boolean(timedOut);\n error.isCanceled = isCanceled;\n error.killed = killed && !timedOut;\n return error;\n};\n\n\nconst $bbe0f3332147e9df$var$aliases = [\n \"stdin\",\n \"stdout\",\n \"stderr\"\n];\nconst $bbe0f3332147e9df$var$hasAlias = (options)=>$bbe0f3332147e9df$var$aliases.some((alias)=>options[alias] !== undefined);\nconst $bbe0f3332147e9df$export$a581401a57fac02e = (options)=>{\n if (!options) return;\n const { stdio: stdio } = options;\n if (stdio === undefined) return $bbe0f3332147e9df$var$aliases.map((alias)=>options[alias]);\n if ($bbe0f3332147e9df$var$hasAlias(options)) throw new Error(`It's not possible to provide \\`stdio\\` in combination with one of ${$bbe0f3332147e9df$var$aliases.map((alias)=>`\\`${alias}\\``).join(\", \")}`);\n if (typeof stdio === \"string\") return stdio;\n if (!Array.isArray(stdio)) throw new TypeError(`Expected \\`stdio\\` to be of type \\`string\\` or \\`Array\\`, got \\`${typeof stdio}\\``);\n const length = Math.max(stdio.length, $bbe0f3332147e9df$var$aliases.length);\n return Array.from({\n length: length\n }, (value, index)=>stdio[index]);\n};\nconst $bbe0f3332147e9df$export$889423b478ae2ba = (options)=>{\n const stdio = $bbe0f3332147e9df$export$a581401a57fac02e(options);\n if (stdio === \"ipc\") return \"ipc\";\n if (stdio === undefined || typeof stdio === \"string\") return [\n stdio,\n stdio,\n stdio,\n \"ipc\"\n ];\n if (stdio.includes(\"ipc\")) return stdio;\n return [\n ...stdio,\n \"ipc\"\n ];\n};\n\n\n\n\nconst $614774af51a02a41$var$DEFAULT_FORCE_KILL_TIMEOUT = 5000;\nconst $614774af51a02a41$export$971fa1b57c7f00b = (kill, signal = \"SIGTERM\", options = {})=>{\n const killResult = kill(signal);\n $614774af51a02a41$var$setKillTimeout(kill, signal, options, killResult);\n return killResult;\n};\nconst $614774af51a02a41$var$setKillTimeout = (kill, signal, options, killResult)=>{\n if (!$614774af51a02a41$var$shouldForceKill(signal, options, killResult)) return;\n const timeout = $614774af51a02a41$var$getForceKillAfterTimeout(options);\n const t = setTimeout(()=>{\n kill(\"SIGKILL\");\n }, timeout);\n // Guarded because there's no `.unref()` when `execa` is used in the renderer\n // process in Electron. This cannot be tested since we don't run tests in\n // Electron.\n // istanbul ignore else\n if (t.unref) t.unref();\n};\nconst $614774af51a02a41$var$shouldForceKill = (signal, { forceKillAfterTimeout: forceKillAfterTimeout }, killResult)=>$614774af51a02a41$var$isSigterm(signal) && forceKillAfterTimeout !== false && killResult;\nconst $614774af51a02a41$var$isSigterm = (signal)=>signal === (0, ($parcel$interopDefault($4umf8$nodeos))).constants.signals.SIGTERM || typeof signal === \"string\" && signal.toUpperCase() === \"SIGTERM\";\nconst $614774af51a02a41$var$getForceKillAfterTimeout = ({ forceKillAfterTimeout: forceKillAfterTimeout = true })=>{\n if (forceKillAfterTimeout === true) return $614774af51a02a41$var$DEFAULT_FORCE_KILL_TIMEOUT;\n if (!Number.isFinite(forceKillAfterTimeout) || forceKillAfterTimeout < 0) throw new TypeError(`Expected the \\`forceKillAfterTimeout\\` option to be a non-negative integer, got \\`${forceKillAfterTimeout}\\` (${typeof forceKillAfterTimeout})`);\n return forceKillAfterTimeout;\n};\nconst $614774af51a02a41$export$667e13cd9b70ca17 = (spawned, context)=>{\n const killResult = spawned.kill();\n if (killResult) context.isCanceled = true;\n};\nconst $614774af51a02a41$var$timeoutKill = (spawned, signal, reject)=>{\n spawned.kill(signal);\n reject(Object.assign(new Error(\"Timed out\"), {\n timedOut: true,\n signal: signal\n }));\n};\nconst $614774af51a02a41$export$6bcc98999eb82896 = (spawned, { timeout: timeout, killSignal: killSignal = \"SIGTERM\" }, spawnedPromise)=>{\n if (timeout === 0 || timeout === undefined) return spawnedPromise;\n let timeoutId;\n const timeoutPromise = new Promise((resolve, reject)=>{\n timeoutId = setTimeout(()=>{\n $614774af51a02a41$var$timeoutKill(spawned, killSignal, reject);\n }, timeout);\n });\n const safeSpawnedPromise = spawnedPromise.finally(()=>{\n clearTimeout(timeoutId);\n });\n return Promise.race([\n timeoutPromise,\n safeSpawnedPromise\n ]);\n};\nconst $614774af51a02a41$export$3186f8866f616f9f = ({ timeout: timeout })=>{\n if (timeout !== undefined && (!Number.isFinite(timeout) || timeout < 0)) throw new TypeError(`Expected the \\`timeout\\` option to be a non-negative integer, got \\`${timeout}\\` (${typeof timeout})`);\n};\nconst $614774af51a02a41$export$79fc3056c9ca4ada = async (spawned, { cleanup: cleanup, detached: detached }, timedPromise)=>{\n if (!cleanup || detached) return timedPromise;\n const removeExitHandler = (0, (/*@__PURE__*/$parcel$interopDefault($bb65f7b92c015fe3$exports)))(()=>{\n spawned.kill();\n });\n return timedPromise.finally(()=>{\n removeExitHandler();\n });\n};\n\n\n\n\n\nconst $ac54c1bf8a480bb9$var$isExecaChildProcess = (target)=>target instanceof (0, $4umf8$nodechild_process.ChildProcess) && typeof target.then === \"function\";\nconst $ac54c1bf8a480bb9$var$pipeToTarget = (spawned, streamName, target)=>{\n if (typeof target === \"string\") {\n spawned[streamName].pipe((0, $4umf8$nodefs.createWriteStream)(target));\n return spawned;\n }\n if ((0, $eee28a117e75c570$export$b58a61c52edb4f66)(target)) {\n spawned[streamName].pipe(target);\n return spawned;\n }\n if (!$ac54c1bf8a480bb9$var$isExecaChildProcess(target)) throw new TypeError(\"The second argument must be a string, a stream or an Execa child process.\");\n if (!(0, $eee28a117e75c570$export$b58a61c52edb4f66)(target.stdin)) throw new TypeError(\"The target child process's stdin must be available.\");\n spawned[streamName].pipe(target.stdin);\n return target;\n};\nconst $ac54c1bf8a480bb9$export$14becf8d91886424 = (spawned)=>{\n if (spawned.stdout !== null) spawned.pipeStdout = $ac54c1bf8a480bb9$var$pipeToTarget.bind(undefined, spawned, \"stdout\");\n if (spawned.stderr !== null) spawned.pipeStderr = $ac54c1bf8a480bb9$var$pipeToTarget.bind(undefined, spawned, \"stderr\");\n if (spawned.all !== undefined) spawned.pipeAll = $ac54c1bf8a480bb9$var$pipeToTarget.bind(undefined, spawned, \"all\");\n};\n\n\n\n\n\n\nconst $b271427768486a6b$var$validateInputOptions = (input)=>{\n if (input !== undefined) throw new TypeError(\"The `input` and `inputFile` options cannot be both set.\");\n};\nconst $b271427768486a6b$var$getInputSync = ({ input: input, inputFile: inputFile })=>{\n if (typeof inputFile !== \"string\") return input;\n $b271427768486a6b$var$validateInputOptions(input);\n return (0, $4umf8$nodefs.readFileSync)(inputFile);\n};\nconst $b271427768486a6b$export$7f2f9b6457412b41 = (options)=>{\n const input = $b271427768486a6b$var$getInputSync(options);\n if ((0, $eee28a117e75c570$export$294a92d8f7b3979)(input)) throw new TypeError(\"The `input` option cannot be a stream in sync mode\");\n return input;\n};\nconst $b271427768486a6b$var$getInput = ({ input: input, inputFile: inputFile })=>{\n if (typeof inputFile !== \"string\") return input;\n $b271427768486a6b$var$validateInputOptions(input);\n return (0, $4umf8$nodefs.createReadStream)(inputFile);\n};\nconst $b271427768486a6b$export$412508d679148d5c = (spawned, options)=>{\n const input = $b271427768486a6b$var$getInput(options);\n if (input === undefined) return;\n if ((0, $eee28a117e75c570$export$294a92d8f7b3979)(input)) input.pipe(spawned.stdin);\n else spawned.stdin.end(input);\n};\nconst $b271427768486a6b$export$41f5c0c12dadd6ae = (spawned, { all: all })=>{\n if (!all || !spawned.stdout && !spawned.stderr) return;\n const mixed = (0, (/*@__PURE__*/$parcel$interopDefault($54e540789a02ab0d$exports)))();\n if (spawned.stdout) mixed.add(spawned.stdout);\n if (spawned.stderr) mixed.add(spawned.stderr);\n return mixed;\n};\n// On failure, `result.stdout|stderr|all` should contain the currently buffered stream\nconst $b271427768486a6b$var$getBufferedData = async (stream, streamPromise)=>{\n // When `buffer` is `false`, `streamPromise` is `undefined` and there is no buffered data to retrieve\n if (!stream || streamPromise === undefined) return;\n stream.destroy();\n try {\n return await streamPromise;\n } catch (error) {\n return error.bufferedData;\n }\n};\nconst $b271427768486a6b$var$getStreamPromise = (stream, { encoding: encoding, buffer: buffer, maxBuffer: maxBuffer })=>{\n if (!stream || !buffer) return;\n if (encoding) return (0, (/*@__PURE__*/$parcel$interopDefault($c0c5155781331bb0$exports)))(stream, {\n encoding: encoding,\n maxBuffer: maxBuffer\n });\n return (0, (/*@__PURE__*/$parcel$interopDefault($c0c5155781331bb0$exports))).buffer(stream, {\n maxBuffer: maxBuffer\n });\n};\nconst $b271427768486a6b$export$67b768ac9e1c70fa = async ({ stdout: stdout, stderr: stderr, all: all }, { encoding: encoding, buffer: buffer, maxBuffer: maxBuffer }, processDone)=>{\n const stdoutPromise = $b271427768486a6b$var$getStreamPromise(stdout, {\n encoding: encoding,\n buffer: buffer,\n maxBuffer: maxBuffer\n });\n const stderrPromise = $b271427768486a6b$var$getStreamPromise(stderr, {\n encoding: encoding,\n buffer: buffer,\n maxBuffer: maxBuffer\n });\n const allPromise = $b271427768486a6b$var$getStreamPromise(all, {\n encoding: encoding,\n buffer: buffer,\n maxBuffer: maxBuffer * 2\n });\n try {\n return await Promise.all([\n processDone,\n stdoutPromise,\n stderrPromise,\n allPromise\n ]);\n } catch (error) {\n return Promise.all([\n {\n error: error,\n signal: error.signal,\n timedOut: error.timedOut\n },\n $b271427768486a6b$var$getBufferedData(stdout, stdoutPromise),\n $b271427768486a6b$var$getBufferedData(stderr, stderrPromise),\n $b271427768486a6b$var$getBufferedData(all, allPromise)\n ]);\n }\n};\n\n\n// eslint-disable-next-line unicorn/prefer-top-level-await\nconst $4bb4c74a02fbc555$var$nativePromisePrototype = (async ()=>{})().constructor.prototype;\nconst $4bb4c74a02fbc555$var$descriptors = [\n \"then\",\n \"catch\",\n \"finally\"\n].map((property)=>[\n property,\n Reflect.getOwnPropertyDescriptor($4bb4c74a02fbc555$var$nativePromisePrototype, property)\n ]);\nconst $4bb4c74a02fbc555$export$e6eb0007fd542aba = (spawned, promise)=>{\n for (const [property, descriptor] of $4bb4c74a02fbc555$var$descriptors){\n // Starting the main `promise` is deferred to avoid consuming streams\n const value = typeof promise === \"function\" ? (...args)=>Reflect.apply(descriptor.value, promise(), args) : descriptor.value.bind(promise);\n Reflect.defineProperty(spawned, property, {\n ...descriptor,\n value: value\n });\n }\n};\nconst $4bb4c74a02fbc555$export$6e3a9b5342d42997 = (spawned)=>new Promise((resolve, reject)=>{\n spawned.on(\"exit\", (exitCode, signal)=>{\n resolve({\n exitCode: exitCode,\n signal: signal\n });\n });\n spawned.on(\"error\", (error)=>{\n reject(error);\n });\n if (spawned.stdin) spawned.stdin.on(\"error\", (error)=>{\n reject(error);\n });\n });\n\n\n\n\nconst $a068af24b665aab6$var$normalizeArgs = (file, args = [])=>{\n if (!Array.isArray(args)) return [\n file\n ];\n return [\n file,\n ...args\n ];\n};\nconst $a068af24b665aab6$var$NO_ESCAPE_REGEXP = /^[\\w.-]+$/;\nconst $a068af24b665aab6$var$DOUBLE_QUOTES_REGEXP = /\"/g;\nconst $a068af24b665aab6$var$escapeArg = (arg)=>{\n if (typeof arg !== \"string\" || $a068af24b665aab6$var$NO_ESCAPE_REGEXP.test(arg)) return arg;\n return `\"${arg.replace($a068af24b665aab6$var$DOUBLE_QUOTES_REGEXP, '\\\\\"')}\"`;\n};\nconst $a068af24b665aab6$export$ab3db8fe5ebf3a1 = (file, args)=>$a068af24b665aab6$var$normalizeArgs(file, args).join(\" \");\nconst $a068af24b665aab6$export$9d3099014bd914f8 = (file, args)=>$a068af24b665aab6$var$normalizeArgs(file, args).map((arg)=>$a068af24b665aab6$var$escapeArg(arg)).join(\" \");\nconst $a068af24b665aab6$var$SPACES_REGEXP = / +/g;\nconst $a068af24b665aab6$export$78bcee23e0849f6a = (command)=>{\n const tokens = [];\n for (const token of command.trim().split($a068af24b665aab6$var$SPACES_REGEXP)){\n // Allow spaces to be escaped by a backslash if not meant as a delimiter\n const previousToken = tokens[tokens.length - 1];\n if (previousToken && previousToken.endsWith(\"\\\\\")) // Merge previous token with current one\n tokens[tokens.length - 1] = `${previousToken.slice(0, -1)} ${token}`;\n else tokens.push(token);\n }\n return tokens;\n};\nconst $a068af24b665aab6$var$parseExpression = (expression)=>{\n const typeOfExpression = typeof expression;\n if (typeOfExpression === \"string\") return expression;\n if (typeOfExpression === \"number\") return String(expression);\n if (typeOfExpression === \"object\" && expression !== null && !(expression instanceof (0, $4umf8$nodechild_process.ChildProcess)) && \"stdout\" in expression) {\n const typeOfStdout = typeof expression.stdout;\n if (typeOfStdout === \"string\") return expression.stdout;\n if ((0, $4umf8$nodebuffer.Buffer).isBuffer(expression.stdout)) return expression.stdout.toString();\n throw new TypeError(`Unexpected \"${typeOfStdout}\" stdout in template expression`);\n }\n throw new TypeError(`Unexpected \"${typeOfExpression}\" in template expression`);\n};\nconst $a068af24b665aab6$var$concatTokens = (tokens, nextTokens, isNew)=>isNew || tokens.length === 0 || nextTokens.length === 0 ? [\n ...tokens,\n ...nextTokens\n ] : [\n ...tokens.slice(0, -1),\n `${tokens[tokens.length - 1]}${nextTokens[0]}`,\n ...nextTokens.slice(1)\n ];\nconst $a068af24b665aab6$var$parseTemplate = ({ templates: templates, expressions: expressions, tokens: tokens, index: index, template: template })=>{\n const templateString = template !== null && template !== void 0 ? template : templates.raw[index];\n const templateTokens = templateString.split($a068af24b665aab6$var$SPACES_REGEXP).filter(Boolean);\n const newTokens = $a068af24b665aab6$var$concatTokens(tokens, templateTokens, templateString.startsWith(\" \"));\n if (index === expressions.length) return newTokens;\n const expression = expressions[index];\n const expressionTokens = Array.isArray(expression) ? expression.map((expression)=>$a068af24b665aab6$var$parseExpression(expression)) : [\n $a068af24b665aab6$var$parseExpression(expression)\n ];\n return $a068af24b665aab6$var$concatTokens(newTokens, expressionTokens, templateString.endsWith(\" \"));\n};\nconst $a068af24b665aab6$export$4a6ee54de9b0f25d = (templates, expressions)=>{\n let tokens = [];\n for (const [index, template] of templates.entries())tokens = $a068af24b665aab6$var$parseTemplate({\n templates: templates,\n expressions: expressions,\n tokens: tokens,\n index: index,\n template: template\n });\n return tokens;\n};\n\n\n\n\nconst $c3858ae9f7b241a0$export$38bb3c1fbaa0bdcf = (0, $4umf8$nodeutil.debuglog)(\"execa\").enabled;\nconst $c3858ae9f7b241a0$var$padField = (field, padding)=>String(field).padStart(padding, \"0\");\nconst $c3858ae9f7b241a0$var$getTimestamp = ()=>{\n const date = new Date();\n return `${$c3858ae9f7b241a0$var$padField(date.getHours(), 2)}:${$c3858ae9f7b241a0$var$padField(date.getMinutes(), 2)}:${$c3858ae9f7b241a0$var$padField(date.getSeconds(), 2)}.${$c3858ae9f7b241a0$var$padField(date.getMilliseconds(), 3)}`;\n};\nconst $c3858ae9f7b241a0$export$3bb886c4c1352118 = (escapedCommand, { verbose: verbose })=>{\n if (!verbose) return;\n (0, ($parcel$interopDefault($4umf8$nodeprocess))).stderr.write(`[${$c3858ae9f7b241a0$var$getTimestamp()}] ${escapedCommand}\\n`);\n};\n\n\nconst $573df1fc47fc9677$var$DEFAULT_MAX_BUFFER = 100000000;\nconst $573df1fc47fc9677$var$getEnv = ({ env: envOption, extendEnv: extendEnv, preferLocal: preferLocal, localDir: localDir, execPath: execPath })=>{\n const env = extendEnv ? {\n ...(0, ($parcel$interopDefault($4umf8$nodeprocess))).env,\n ...envOption\n } : envOption;\n if (preferLocal) return (0, $9bbc0271f663f158$export$340e1fbaac04248b)({\n env: env,\n cwd: localDir,\n execPath: execPath\n });\n return env;\n};\nconst $573df1fc47fc9677$var$handleArguments = (file, args, options = {})=>{\n const parsed = (0, (/*@__PURE__*/$parcel$interopDefault($df67359950f095d8$exports)))._parse(file, args, options);\n file = parsed.command;\n args = parsed.args;\n options = parsed.options;\n options = {\n maxBuffer: $573df1fc47fc9677$var$DEFAULT_MAX_BUFFER,\n buffer: true,\n stripFinalNewline: true,\n extendEnv: true,\n preferLocal: false,\n localDir: options.cwd || (0, ($parcel$interopDefault($4umf8$nodeprocess))).cwd(),\n execPath: (0, ($parcel$interopDefault($4umf8$nodeprocess))).execPath,\n encoding: \"utf8\",\n reject: true,\n cleanup: true,\n all: false,\n windowsHide: true,\n verbose: (0, $c3858ae9f7b241a0$export$38bb3c1fbaa0bdcf),\n ...options\n };\n options.env = $573df1fc47fc9677$var$getEnv(options);\n options.stdio = (0, $bbe0f3332147e9df$export$a581401a57fac02e)(options);\n if ((0, ($parcel$interopDefault($4umf8$nodeprocess))).platform === \"win32\" && (0, ($parcel$interopDefault($4umf8$nodepath))).basename(file, \".exe\") === \"cmd\") // #116\n args.unshift(\"/q\");\n return {\n file: file,\n args: args,\n options: options,\n parsed: parsed\n };\n};\nconst $573df1fc47fc9677$var$handleOutput = (options, value, error)=>{\n if (typeof value !== \"string\" && !(0, $4umf8$nodebuffer.Buffer).isBuffer(value)) // When `execaSync()` errors, we normalize it to '' to mimic `execa()`\n return error === undefined ? undefined : \"\";\n if (options.stripFinalNewline) return (0, $b47b055dd6fde9e8$export$2e2bcd8739ae039)(value);\n return value;\n};\nfunction $573df1fc47fc9677$export$db6b1668e3758717(file, args, options) {\n const parsed = $573df1fc47fc9677$var$handleArguments(file, args, options);\n const command = (0, $a068af24b665aab6$export$ab3db8fe5ebf3a1)(file, args);\n const escapedCommand = (0, $a068af24b665aab6$export$9d3099014bd914f8)(file, args);\n (0, $c3858ae9f7b241a0$export$3bb886c4c1352118)(escapedCommand, parsed.options);\n (0, $614774af51a02a41$export$3186f8866f616f9f)(parsed.options);\n let spawned;\n try {\n spawned = (0, ($parcel$interopDefault($4umf8$nodechild_process))).spawn(parsed.file, parsed.args, parsed.options);\n } catch (error) {\n // Ensure the returned error is always both a promise and a child process\n const dummySpawned = new (0, ($parcel$interopDefault($4umf8$nodechild_process))).ChildProcess();\n const errorPromise = Promise.reject((0, $5ac81863306e12e4$export$5a4bb2b1c89bdce7)({\n error: error,\n stdout: \"\",\n stderr: \"\",\n all: \"\",\n command: command,\n escapedCommand: escapedCommand,\n parsed: parsed,\n timedOut: false,\n isCanceled: false,\n killed: false\n }));\n (0, $4bb4c74a02fbc555$export$e6eb0007fd542aba)(dummySpawned, errorPromise);\n return dummySpawned;\n }\n const spawnedPromise = (0, $4bb4c74a02fbc555$export$6e3a9b5342d42997)(spawned);\n const timedPromise = (0, $614774af51a02a41$export$6bcc98999eb82896)(spawned, parsed.options, spawnedPromise);\n const processDone = (0, $614774af51a02a41$export$79fc3056c9ca4ada)(spawned, parsed.options, timedPromise);\n const context = {\n isCanceled: false\n };\n spawned.kill = (0, $614774af51a02a41$export$971fa1b57c7f00b).bind(null, spawned.kill.bind(spawned));\n spawned.cancel = (0, $614774af51a02a41$export$667e13cd9b70ca17).bind(null, spawned, context);\n const handlePromise = async ()=>{\n const [{ error: error, exitCode: exitCode, signal: signal, timedOut: timedOut }, stdoutResult, stderrResult, allResult] = await (0, $b271427768486a6b$export$67b768ac9e1c70fa)(spawned, parsed.options, processDone);\n const stdout = $573df1fc47fc9677$var$handleOutput(parsed.options, stdoutResult);\n const stderr = $573df1fc47fc9677$var$handleOutput(parsed.options, stderrResult);\n const all = $573df1fc47fc9677$var$handleOutput(parsed.options, allResult);\n if (error || exitCode !== 0 || signal !== null) {\n const returnedError = (0, $5ac81863306e12e4$export$5a4bb2b1c89bdce7)({\n error: error,\n exitCode: exitCode,\n signal: signal,\n stdout: stdout,\n stderr: stderr,\n all: all,\n command: command,\n escapedCommand: escapedCommand,\n parsed: parsed,\n timedOut: timedOut,\n isCanceled: context.isCanceled || (parsed.options.signal ? parsed.options.signal.aborted : false),\n killed: spawned.killed\n });\n if (!parsed.options.reject) return returnedError;\n throw returnedError;\n }\n return {\n command: command,\n escapedCommand: escapedCommand,\n exitCode: 0,\n stdout: stdout,\n stderr: stderr,\n all: all,\n failed: false,\n timedOut: false,\n isCanceled: false,\n killed: false\n };\n };\n const handlePromiseOnce = (0, $64e33a61e28bb17f$export$2e2bcd8739ae039)(handlePromise);\n (0, $b271427768486a6b$export$412508d679148d5c)(spawned, parsed.options);\n spawned.all = (0, $b271427768486a6b$export$41f5c0c12dadd6ae)(spawned, parsed.options);\n (0, $ac54c1bf8a480bb9$export$14becf8d91886424)(spawned);\n (0, $4bb4c74a02fbc555$export$e6eb0007fd542aba)(spawned, handlePromiseOnce);\n return spawned;\n}\nfunction $573df1fc47fc9677$export$28823a701bb5a12d(file, args, options) {\n const parsed = $573df1fc47fc9677$var$handleArguments(file, args, options);\n const command = (0, $a068af24b665aab6$export$ab3db8fe5ebf3a1)(file, args);\n const escapedCommand = (0, $a068af24b665aab6$export$9d3099014bd914f8)(file, args);\n (0, $c3858ae9f7b241a0$export$3bb886c4c1352118)(escapedCommand, parsed.options);\n const input = (0, $b271427768486a6b$export$7f2f9b6457412b41)(parsed.options);\n let result;\n try {\n result = (0, ($parcel$interopDefault($4umf8$nodechild_process))).spawnSync(parsed.file, parsed.args, {\n ...parsed.options,\n input: input\n });\n } catch (error) {\n throw (0, $5ac81863306e12e4$export$5a4bb2b1c89bdce7)({\n error: error,\n stdout: \"\",\n stderr: \"\",\n all: \"\",\n command: command,\n escapedCommand: escapedCommand,\n parsed: parsed,\n timedOut: false,\n isCanceled: false,\n killed: false\n });\n }\n const stdout = $573df1fc47fc9677$var$handleOutput(parsed.options, result.stdout, result.error);\n const stderr = $573df1fc47fc9677$var$handleOutput(parsed.options, result.stderr, result.error);\n if (result.error || result.status !== 0 || result.signal !== null) {\n const error = (0, $5ac81863306e12e4$export$5a4bb2b1c89bdce7)({\n stdout: stdout,\n stderr: stderr,\n error: result.error,\n signal: result.signal,\n exitCode: result.status,\n command: command,\n escapedCommand: escapedCommand,\n parsed: parsed,\n timedOut: result.error && result.error.code === \"ETIMEDOUT\",\n isCanceled: false,\n killed: result.signal !== null\n });\n if (!parsed.options.reject) return error;\n throw error;\n }\n return {\n command: command,\n escapedCommand: escapedCommand,\n exitCode: 0,\n stdout: stdout,\n stderr: stderr,\n failed: false,\n timedOut: false,\n isCanceled: false,\n killed: false\n };\n}\nconst $573df1fc47fc9677$var$normalizeScriptStdin = ({ input: input, inputFile: inputFile, stdio: stdio })=>input === undefined && inputFile === undefined && stdio === undefined ? {\n stdin: \"inherit\"\n } : {};\nconst $573df1fc47fc9677$var$normalizeScriptOptions = (options = {})=>({\n preferLocal: true,\n ...$573df1fc47fc9677$var$normalizeScriptStdin(options),\n ...options\n });\nfunction $573df1fc47fc9677$var$create$(options) {\n function $(templatesOrOptions, ...expressions) {\n if (!Array.isArray(templatesOrOptions)) return $573df1fc47fc9677$var$create$({\n ...options,\n ...templatesOrOptions\n });\n const [file, ...args] = (0, $a068af24b665aab6$export$4a6ee54de9b0f25d)(templatesOrOptions, expressions);\n return $573df1fc47fc9677$export$db6b1668e3758717(file, args, $573df1fc47fc9677$var$normalizeScriptOptions(options));\n }\n $.sync = (templates, ...expressions)=>{\n if (!Array.isArray(templates)) throw new TypeError(\"Please use $(options).sync`command` instead of $.sync(options)`command`.\");\n const [file, ...args] = (0, $a068af24b665aab6$export$4a6ee54de9b0f25d)(templates, expressions);\n return $573df1fc47fc9677$export$28823a701bb5a12d(file, args, $573df1fc47fc9677$var$normalizeScriptOptions(options));\n };\n return $;\n}\nconst $573df1fc47fc9677$export$3d8c2f653ac9d0b9 = $573df1fc47fc9677$var$create$();\nfunction $573df1fc47fc9677$export$eb9ed1222071f2f6(command, options) {\n const [file, ...args] = (0, $a068af24b665aab6$export$78bcee23e0849f6a)(command);\n return $573df1fc47fc9677$export$db6b1668e3758717(file, args, options);\n}\nfunction $573df1fc47fc9677$export$5c60dbe76a54db4(command, options) {\n const [file, ...args] = (0, $a068af24b665aab6$export$78bcee23e0849f6a)(command);\n return $573df1fc47fc9677$export$28823a701bb5a12d(file, args, options);\n}\nfunction $573df1fc47fc9677$export$c004ac68fdb98119(scriptPath, args, options = {}) {\n if (args && !Array.isArray(args) && typeof args === \"object\") {\n options = args;\n args = [];\n }\n const stdio = (0, $bbe0f3332147e9df$export$889423b478ae2ba)(options);\n const defaultExecArgv = (0, ($parcel$interopDefault($4umf8$nodeprocess))).execArgv.filter((arg)=>!arg.startsWith(\"--inspect\"));\n const { nodePath: nodePath = (0, ($parcel$interopDefault($4umf8$nodeprocess))).execPath, nodeOptions: nodeOptions = defaultExecArgv } = options;\n return $573df1fc47fc9677$export$db6b1668e3758717(nodePath, [\n ...nodeOptions,\n scriptPath,\n ...Array.isArray(args) ? args : []\n ], {\n ...options,\n stdin: undefined,\n stdout: undefined,\n stderr: undefined,\n stdio: stdio,\n shell: false\n });\n}\n\n\n\nvar $9O4vc = parcelRequire(\"9O4vc\");\n\nvar $hHq4F = parcelRequire(\"hHq4F\");\nvar $fdd9f5bfe94c19d6$exports = {};\n\n\nvar $fdd9f5bfe94c19d6$require$join = $4umf8$path.join;\nvar $fdd9f5bfe94c19d6$require$delimiter = $4umf8$path.delimiter;\nvar $fdd9f5bfe94c19d6$require$sep = $4umf8$path.sep;\nvar $fdd9f5bfe94c19d6$require$posix = $4umf8$path.posix;\nconst $fdd9f5bfe94c19d6$var$isWindows = process.platform === \"win32\";\n// used to check for slashed in commands passed in. always checks for the posix\n// seperator on all platforms, and checks for the current separator when not on\n// a posix platform. don't use the isWindows check for this since that is mocked\n// in tests but we still need the code to actually work when called. that is also\n// why it is ignored from coverage.\n/* istanbul ignore next */ const $fdd9f5bfe94c19d6$var$rSlash = new RegExp(`[${$fdd9f5bfe94c19d6$require$posix.sep}${$fdd9f5bfe94c19d6$require$sep === $fdd9f5bfe94c19d6$require$posix.sep ? \"\" : $fdd9f5bfe94c19d6$require$sep}]`.replace(/(\\\\)/g, \"\\\\$1\"));\nconst $fdd9f5bfe94c19d6$var$rRel = new RegExp(`^\\\\.${$fdd9f5bfe94c19d6$var$rSlash.source}`);\nconst $fdd9f5bfe94c19d6$var$getNotFoundError = (cmd)=>Object.assign(new Error(`not found: ${cmd}`), {\n code: \"ENOENT\"\n });\nconst $fdd9f5bfe94c19d6$var$getPathInfo = (cmd, { path: optPath = process.env.PATH, pathExt: optPathExt = process.env.PATHEXT, delimiter: optDelimiter = $fdd9f5bfe94c19d6$require$delimiter })=>{\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($fdd9f5bfe94c19d6$var$rSlash) ? [\n \"\"\n ] : [\n // windows always checks the cwd first\n ...$fdd9f5bfe94c19d6$var$isWindows ? [\n process.cwd()\n ] : [],\n ...(optPath || /* istanbul ignore next: very unusual */ \"\").split(optDelimiter)\n ];\n if ($fdd9f5bfe94c19d6$var$isWindows) {\n const pathExtExe = optPathExt || [\n \".EXE\",\n \".CMD\",\n \".BAT\",\n \".COM\"\n ].join(optDelimiter);\n const pathExt = pathExtExe.split(optDelimiter).reduce((acc, item)=>{\n acc.push(item);\n acc.push(item.toLowerCase());\n return acc;\n }, []);\n if (cmd.includes(\".\") && pathExt[0] !== \"\") pathExt.unshift(\"\");\n return {\n pathEnv: pathEnv,\n pathExt: pathExt,\n pathExtExe: pathExtExe\n };\n }\n return {\n pathEnv: pathEnv,\n pathExt: [\n \"\"\n ]\n };\n};\nconst $fdd9f5bfe94c19d6$var$getPathPart = (raw, cmd)=>{\n const pathPart = /^\".*\"$/.test(raw) ? raw.slice(1, -1) : raw;\n const prefix = !pathPart && $fdd9f5bfe94c19d6$var$rRel.test(cmd) ? cmd.slice(0, 2) : \"\";\n return prefix + $fdd9f5bfe94c19d6$require$join(pathPart, cmd);\n};\nconst $fdd9f5bfe94c19d6$var$which = async (cmd, opt = {})=>{\n const { pathEnv: pathEnv, pathExt: pathExt, pathExtExe: pathExtExe } = $fdd9f5bfe94c19d6$var$getPathInfo(cmd, opt);\n const found = [];\n for (const envPart of pathEnv){\n const p = $fdd9f5bfe94c19d6$var$getPathPart(envPart, cmd);\n for (const ext of pathExt){\n const withExt = p + ext;\n const is = await $92a9b6d86a28c286$exports(withExt, {\n pathExt: pathExtExe,\n ignoreErrors: true\n });\n if (is) {\n if (!opt.all) return withExt;\n found.push(withExt);\n }\n }\n }\n if (opt.all && found.length) return found;\n if (opt.nothrow) return null;\n throw $fdd9f5bfe94c19d6$var$getNotFoundError(cmd);\n};\nconst $fdd9f5bfe94c19d6$var$whichSync = (cmd, opt = {})=>{\n const { pathEnv: pathEnv, pathExt: pathExt, pathExtExe: pathExtExe } = $fdd9f5bfe94c19d6$var$getPathInfo(cmd, opt);\n const found = [];\n for (const pathEnvPart of pathEnv){\n const p = $fdd9f5bfe94c19d6$var$getPathPart(pathEnvPart, cmd);\n for (const ext of pathExt){\n const withExt = p + ext;\n const is = $92a9b6d86a28c286$exports.sync(withExt, {\n pathExt: pathExtExe,\n ignoreErrors: true\n });\n if (is) {\n if (!opt.all) return withExt;\n found.push(withExt);\n }\n }\n }\n if (opt.all && found.length) return found;\n if (opt.nothrow) return null;\n throw $fdd9f5bfe94c19d6$var$getNotFoundError(cmd);\n};\n$fdd9f5bfe94c19d6$exports = $fdd9f5bfe94c19d6$var$which;\n$fdd9f5bfe94c19d6$var$which.sync = $fdd9f5bfe94c19d6$var$whichSync;\n\n\nconst { appendFile: $4574e4c050df58da$var$appendFile } = (0, $4umf8$fs.promises);\n/* eslint-disable require-atomic-updates */ let $4574e4c050df58da$var$didUpdate = false;\nlet $4574e4c050df58da$var$didInit = false;\nconst $4574e4c050df58da$var$retryErrors = [\n \"E: Could not get lock\",\n \"dpkg: error processing archive\",\n \"dpkg: error: dpkg status database is locked by another process\"\n];\nasync function $4574e4c050df58da$export$d73dc343f5abf26(packages, update = false) {\n const apt = $4574e4c050df58da$var$getApt();\n for (const { name: name, version: version } of packages)(0, $hHq4F.info)(`Installing ${name} ${version !== null && version !== void 0 ? version : \"\"} via ${apt}`);\n process.env.DEBIAN_FRONTEND = \"noninteractive\";\n if (!$4574e4c050df58da$var$didUpdate || update) {\n $4574e4c050df58da$var$updateRepos(apt);\n $4574e4c050df58da$var$didUpdate = true;\n }\n if (!$4574e4c050df58da$var$didInit) {\n await $4574e4c050df58da$var$initApt(apt);\n $4574e4c050df58da$var$didInit = true;\n }\n var _pack_repositories;\n const allRepositories = [\n ...new Set(packages.flatMap((pack)=>(_pack_repositories = pack.repositories) !== null && _pack_repositories !== void 0 ? _pack_repositories : []))\n ];\n if (allRepositories.length !== 0) {\n for (const repo of allRepositories)// eslint-disable-next-line no-await-in-loop\n (0, $52bad1f97065229a$export$58f152936f209932)(\"add-apt-repository\", [\n \"-y\",\n repo\n ]);\n $4574e4c050df58da$var$updateRepos(apt);\n }\n const aptArgs = await Promise.all(packages.map((pack)=>$4574e4c050df58da$var$getAptArg(pack.name, pack.version)));\n try {\n (0, $52bad1f97065229a$export$58f152936f209932)(apt, [\n \"install\",\n \"--fix-broken\",\n \"-y\",\n ...aptArgs\n ]);\n } catch (err) {\n if (\"stderr\" in err) {\n const stderr = err.stderr;\n if ($4574e4c050df58da$var$retryErrors.some((error)=>stderr.includes(error))) {\n (0, $hHq4F.warning)(`Failed to install packages ${aptArgs}. Retrying...`);\n (0, $52bad1f97065229a$export$58f152936f209932)(apt, [\n \"install\",\n \"--fix-broken\",\n \"-y\",\n ...aptArgs\n ]);\n }\n } else throw err;\n }\n return {\n binDir: \"/usr/bin/\"\n };\n}\nvar $4574e4c050df58da$export$e6e2160a140a491e;\n(function(AptPackageType) {\n AptPackageType[AptPackageType[\"NameDashVersion\"] = 0] = \"NameDashVersion\";\n AptPackageType[AptPackageType[\"NameEqualsVersion\"] = 1] = \"NameEqualsVersion\";\n AptPackageType[AptPackageType[\"Name\"] = 2] = \"Name\";\n AptPackageType[AptPackageType[\"None\"] = 3] = \"None\";\n})($4574e4c050df58da$export$e6e2160a140a491e || ($4574e4c050df58da$export$e6e2160a140a491e = {}));\nasync function $4574e4c050df58da$export$41cba414fa0bee03(name, version) {\n if (version !== undefined && version !== \"\") {\n const { stdout: stdout } = await (0, $573df1fc47fc9677$export$db6b1668e3758717)(\"apt-cache\", [\n \"search\",\n \"--names-only\",\n `^${(0, $9O4vc.default)(name)}-${(0, $9O4vc.default)(version)}$`\n ]);\n if (stdout.trim() !== \"\") return $4574e4c050df58da$export$e6e2160a140a491e.NameDashVersion;\n try {\n // check if apt-get show can find the version\n // eslint-disable-next-line @typescript-eslint/no-shadow\n const { stdout: stdout } = await (0, $573df1fc47fc9677$export$db6b1668e3758717)(\"apt-cache\", [\n \"show\",\n `${name}=${version}`\n ]);\n if (stdout.trim() === \"\") return $4574e4c050df58da$export$e6e2160a140a491e.NameEqualsVersion;\n } catch {\n // ignore\n }\n }\n try {\n const { stdout: showStdout } = await (0, $573df1fc47fc9677$export$db6b1668e3758717)(\"apt-cache\", [\n \"show\",\n name\n ]);\n if (showStdout.trim() !== \"\") return $4574e4c050df58da$export$e6e2160a140a491e.Name;\n } catch {\n // ignore\n }\n return $4574e4c050df58da$export$e6e2160a140a491e.None;\n}\nasync function $4574e4c050df58da$var$getAptArg(name, version) {\n const package_type = await $4574e4c050df58da$export$41cba414fa0bee03(name, version);\n switch(package_type){\n case $4574e4c050df58da$export$e6e2160a140a491e.NameDashVersion:\n return `${name}-${version}`;\n case $4574e4c050df58da$export$e6e2160a140a491e.NameEqualsVersion:\n return `${name}=${version}`;\n case $4574e4c050df58da$export$e6e2160a140a491e.Name:\n return name;\n case $4574e4c050df58da$export$e6e2160a140a491e.None:\n default:\n throw new Error(`Could not find package ${name} ${version !== null && version !== void 0 ? version : \"\"}`);\n }\n}\nfunction $4574e4c050df58da$export$89548d91e84ae1a1() {\n return (0, (/*@__PURE__*/$parcel$interopDefault($fdd9f5bfe94c19d6$exports))).sync(\"nala\", {\n nothrow: true\n }) !== null;\n}\nfunction $4574e4c050df58da$var$getApt() {\n let apt;\n if ($4574e4c050df58da$export$89548d91e84ae1a1()) apt = \"nala\";\n else apt = \"apt-get\";\n return apt;\n}\nfunction $4574e4c050df58da$var$updateRepos(apt) {\n (0, $52bad1f97065229a$export$58f152936f209932)(apt, apt !== \"nala\" ? [\n \"update\",\n \"-y\"\n ] : [\n \"update\"\n ]);\n}\n/** Install apt utils and certificates (usually missing from docker containers) */ async function $4574e4c050df58da$var$initApt(apt) {\n (0, $52bad1f97065229a$export$58f152936f209932)(apt, [\n \"install\",\n \"--fix-broken\",\n \"-y\",\n \"software-properties-common\",\n \"apt-utils\",\n \"ca-certificates\",\n \"gnupg\"\n ]);\n const promises = [\n $4574e4c050df58da$export$11aa10c05ada0934([\n \"3B4FE6ACC0B21F32\",\n \"40976EAF437D05B5\"\n ], \"setup-cpp-ubuntu-archive.gpg\"),\n $4574e4c050df58da$export$11aa10c05ada0934([\n \"1E9377A2BA9EF27F\"\n ], \"launchpad-toolchain.gpg\")\n ];\n if (apt === \"nala\") // enable utf8 otherwise it fails because of the usage of ASCII encoding\n promises.push((0, $fcca2ee3cb52e97b$export$f63d3080ce25e0fd)(\"LANG\", \"C.UTF-8\", {\n shouldAddOnlyIfNotDefined: true\n }), (0, $fcca2ee3cb52e97b$export$f63d3080ce25e0fd)(\"LC_ALL\", \"C.UTF-8\", {\n shouldAddOnlyIfNotDefined: true\n }));\n await Promise.all(promises);\n}\nfunction $4574e4c050df58da$var$initGpg() {\n (0, $52bad1f97065229a$export$58f152936f209932)(\"gpg\", [\n \"-k\"\n ]);\n}\nasync function $4574e4c050df58da$export$11aa10c05ada0934(keys, name, server = \"keyserver.ubuntu.com\") {\n try {\n const fileName = `/etc/apt/trusted.gpg.d/${name}`;\n if (!await (0, $3WkGD.pathExists)(fileName)) {\n $4574e4c050df58da$var$initGpg();\n await Promise.all(keys.map(async (key)=>{\n await (0, $52bad1f97065229a$export$351270479e2eef26)(\"gpg\", [\n \"--no-default-keyring\",\n \"--keyring\",\n `gnupg-ring:${fileName}`,\n \"--keyserver\",\n server,\n \"--recv-keys\",\n key\n ]);\n await (0, $52bad1f97065229a$export$351270479e2eef26)(\"chmod\", [\n \"644\",\n fileName\n ]);\n }));\n }\n return fileName;\n } catch (err) {\n (0, $hHq4F.warning)(`Failed to add apt key via server ${server}: ${err}`);\n return undefined;\n }\n}\nasync function $4574e4c050df58da$export$7fb1a688af1305f0(name, url) {\n const fileName = `/etc/apt/trusted.gpg.d/${name}`;\n if (!await (0, $3WkGD.pathExists)(fileName)) {\n $4574e4c050df58da$var$initGpg();\n await $4574e4c050df58da$export$d73dc343f5abf26([\n {\n name: \"curl\"\n },\n {\n name: \"ca-certificates\"\n }\n ], undefined);\n await (0, $573df1fc47fc9677$export$db6b1668e3758717)(\"curl\", [\n \"-s\",\n url,\n \"-o\",\n `/tmp/${name}`\n ]);\n (0, $52bad1f97065229a$export$58f152936f209932)(\"gpg\", [\n \"--no-default-keyring\",\n \"--keyring\",\n `gnupg-ring:${fileName}`,\n \"--import\",\n `/tmp/${name}`\n ]);\n (0, $52bad1f97065229a$export$58f152936f209932)(\"chmod\", [\n \"644\",\n fileName\n ]);\n }\n return fileName;\n}\nasync function $4574e4c050df58da$export$6fe6436bd9f53d02(name, path) {\n if (0, $cLprm.GITHUB_ACTIONS) return (0, $52bad1f97065229a$export$351270479e2eef26)(\"update-alternatives\", [\n \"--install\",\n `/usr/bin/${name}`,\n name,\n path,\n \"40\"\n ]);\n else {\n await (0, $fcca2ee3cb52e97b$export$bd1dffd792f43c41)();\n return $4574e4c050df58da$var$appendFile((0, $fcca2ee3cb52e97b$export$1bbbc3a810c5799d), `\\nif [ $UID -eq 0 ]; then update-alternatives --install /usr/bin/${name} ${name} ${path} 40; fi\\n`);\n }\n}\nasync function $4574e4c050df58da$export$ec2e4deaa1231ecf(regexp) {\n try {\n // check if a package matching the regexp is installed\n const { stdout: stdout } = await (0, $573df1fc47fc9677$export$db6b1668e3758717)(\"dpkg\", [\n \"-l\",\n regexp\n ]);\n const lines = stdout.split(\"\\n\");\n // check if the output contains any lines that start with \"ii\"\n return lines.some((line)=>line.startsWith(\"ii\"));\n } catch {\n return false;\n }\n}\n\n\n/* eslint-disable require-atomic-updates */ \nvar $2heqc = parcelRequire(\"2heqc\");\n\n\nvar $A8hFE = parcelRequire(\"A8hFE\");\n\n\n\nvar $A8hFE = parcelRequire(\"A8hFE\");\n\n\n\n\nvar $kSdX3 = parcelRequire(\"kSdX3\");\n\n\n/* eslint-disable require-atomic-updates */ let $86d7dd00a0f99d9c$var$binDir;\nasync function $86d7dd00a0f99d9c$export$c5eeb9c87a610a0e(_version, _setupDir, _arch) {\n if (![\n \"darwin\",\n \"linux\"\n ].includes(process.platform)) return undefined;\n if (typeof $86d7dd00a0f99d9c$var$binDir === \"string\") return {\n binDir: $86d7dd00a0f99d9c$var$binDir\n };\n const maybeBinDir = (0, (/*@__PURE__*/$parcel$interopDefault($fdd9f5bfe94c19d6$exports))).sync(\"brew\", {\n nothrow: true\n });\n if (maybeBinDir !== null) {\n $86d7dd00a0f99d9c$var$binDir = (0, $A8hFE.dirname)(maybeBinDir);\n return {\n binDir: $86d7dd00a0f99d9c$var$binDir\n };\n }\n // brew is not thread-safe\n const brewTempDirectory = (0, ($parcel$interopDefault($4umf8$path))).join((0, $4umf8$os.tmpdir)(), \"setup-cpp\", \"brew\");\n await (0, $kSdX3.mkdirP)(brewTempDirectory);\n (0, $573df1fc47fc9677$export$28823a701bb5a12d)(\"curl\", [\n \"-LJO\",\n \"https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh\"\n ], {\n cwd: brewTempDirectory\n });\n const installSh = (0, $4umf8$path.join)(brewTempDirectory, \"install.sh\");\n if (process.platform === \"linux\") {\n const installShContent = (0, $4umf8$fs.readFileSync)(installSh, \"utf-8\");\n installShContent.replace(\"#!/bin/bash\", \"\");\n }\n (0, $573df1fc47fc9677$export$28823a701bb5a12d)(\"/bin/bash\", [\n installSh\n ], {\n stdio: \"inherit\",\n env: {\n NONINTERACTIVE: \"1\"\n }\n });\n $86d7dd00a0f99d9c$var$binDir = $86d7dd00a0f99d9c$export$cba19b0564b654bf();\n await (0, $fcca2ee3cb52e97b$export$4c25481b843feb0b)($86d7dd00a0f99d9c$var$binDir);\n return {\n binDir: $86d7dd00a0f99d9c$var$binDir\n };\n}\nfunction $86d7dd00a0f99d9c$export$cba19b0564b654bf() {\n if (process.platform === \"linux\") return \"/home/linuxbrew/.linuxbrew/bin/\";\n else return \"/usr/local/bin/\";\n}\n\n\nlet $7ad09143f110687f$var$hasBrew = false;\nasync function $7ad09143f110687f$export$ce5d13d8a85cb784(name, version, extraArgs = []) {\n (0, $2heqc.info)(`Installing ${name} ${version !== null && version !== void 0 ? version : \"\"} via brew`);\n if (!$7ad09143f110687f$var$hasBrew || (0, (/*@__PURE__*/$parcel$interopDefault($fdd9f5bfe94c19d6$exports))).sync(\"brew\", {\n nothrow: true\n }) === null) {\n await (0, $86d7dd00a0f99d9c$export$c5eeb9c87a610a0e)(\"\", \"\", process.arch);\n $7ad09143f110687f$var$hasBrew = true;\n }\n const binDir = (0, $86d7dd00a0f99d9c$export$cba19b0564b654bf)();\n // brew is not thread-safe\n (0, $573df1fc47fc9677$export$28823a701bb5a12d)((0, $A8hFE.join)(binDir, \"brew\"), [\n \"install\",\n version !== undefined && version !== \"\" ? `${name}@${version}` : name,\n ...extraArgs\n ], {\n stdio: \"inherit\"\n });\n return {\n binDir: binDir\n };\n}\n\n\n/* eslint-disable require-atomic-updates */ \n\n/* eslint-disable require-atomic-updates */ \n\nvar $3WkGD = parcelRequire(\"3WkGD\");\n\nvar $A8hFE = parcelRequire(\"A8hFE\");\n\n\nlet $fd45706685edd4a7$var$binDir;\nasync function $fd45706685edd4a7$export$b804d731cdad7ef9(// eslint-disable-next-line @typescript-eslint/no-unused-vars\n_version, // eslint-disable-next-line @typescript-eslint/no-unused-vars\n_setupDir, // eslint-disable-next-line @typescript-eslint/no-unused-vars\n_arch) {\n if (process.platform !== \"win32\") return undefined;\n if (typeof $fd45706685edd4a7$var$binDir === \"string\") return {\n binDir: $fd45706685edd4a7$var$binDir\n };\n const maybeBinDir = (0, (/*@__PURE__*/$parcel$interopDefault($fdd9f5bfe94c19d6$exports))).sync(\"choco\", {\n nothrow: true\n });\n if (maybeBinDir !== null) {\n $fd45706685edd4a7$var$binDir = (0, $A8hFE.dirname)(maybeBinDir);\n return {\n binDir: $fd45706685edd4a7$var$binDir\n };\n }\n let powershell = \"powershell.exe\";\n const maybePowerShell = (0, (/*@__PURE__*/$parcel$interopDefault($fdd9f5bfe94c19d6$exports))).sync(`${process.env.SystemRoot}\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\powershell.exe`, {\n nothrow: true\n });\n if (maybePowerShell !== null) powershell = maybePowerShell;\n // https://docs.chocolatey.org/en-us/choco/setup#install-with-cmd.exe\n (0, $573df1fc47fc9677$export$28823a701bb5a12d)(powershell, [\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 const chocoPath = `${process.env.ALLUSERSPROFILE}\\\\chocolatey\\\\bin`;\n await (0, $fcca2ee3cb52e97b$export$4c25481b843feb0b)(chocoPath);\n const maybeChoco = (0, (/*@__PURE__*/$parcel$interopDefault($fdd9f5bfe94c19d6$exports))).sync(\"choco\", {\n nothrow: true\n });\n var _process_env_ChocolateyInstall;\n if (maybeChoco !== null) $fd45706685edd4a7$var$binDir = (0, $A8hFE.dirname)(maybeChoco);\n else $fd45706685edd4a7$var$binDir = `${(_process_env_ChocolateyInstall = process.env.ChocolateyInstall) !== null && _process_env_ChocolateyInstall !== void 0 ? _process_env_ChocolateyInstall : \"C:/ProgramData/chocolatey\"}/bin`;\n if (await (0, $3WkGD.pathExists)($fd45706685edd4a7$var$binDir)) return {\n binDir: $fd45706685edd4a7$var$binDir\n };\n return undefined;\n}\n\n\n\n\nvar $hHq4F = parcelRequire(\"hHq4F\");\nlet $9fccd3400da2cfd8$var$hasChoco = false;\nasync function $9fccd3400da2cfd8$export$9f6912bc890040b2(name, version, args = []) {\n (0, $hHq4F.info)(`Installing ${name} ${version !== null && version !== void 0 ? version : \"\"} via chocolatey`);\n if (!$9fccd3400da2cfd8$var$hasChoco || (0, (/*@__PURE__*/$parcel$interopDefault($fdd9f5bfe94c19d6$exports))).sync(\"choco\", {\n nothrow: true\n }) === null) {\n await (0, $fd45706685edd4a7$export$b804d731cdad7ef9)(\"\", \"\", process.arch);\n $9fccd3400da2cfd8$var$hasChoco = true;\n }\n // https://github.com/jberezanski/ChocolateyPackages/issues/97#issuecomment-986825694\n const PATH = process.env.PATH;\n const env = {\n ...process.env\n };\n delete env.TMP;\n delete env.TEMP;\n delete env.Path;\n env.PATH = PATH;\n if (version !== undefined && version !== \"\") (0, $573df1fc47fc9677$export$28823a701bb5a12d)(\"choco\", [\n \"install\",\n \"-y\",\n name,\n `--version=${version}`,\n ...args\n ], {\n env: env,\n extendEnv: false,\n stdio: \"inherit\"\n });\n else try {\n (0, $573df1fc47fc9677$export$28823a701bb5a12d)(\"choco\", [\n \"install\",\n \"-y\",\n name,\n ...args\n ], {\n env: env,\n extendEnv: false,\n stdio: \"inherit\"\n });\n } catch (err) {\n // if the package requires a reboot, downgrade the error to a notice\n if (err.message.includes(\"exit code 3010\")) (0, $hHq4F.info)(`${name} might require a reboot for the completion of the installation.`);\n else throw err;\n }\n var _process_env_ChocolateyInstall;\n const binDir = `${(_process_env_ChocolateyInstall = process.env.ChocolateyInstall) !== null && _process_env_ChocolateyInstall !== void 0 ? _process_env_ChocolateyInstall : \"C:/ProgramData/chocolatey\"}/bin`;\n await (0, $fcca2ee3cb52e97b$export$4c25481b843feb0b)(binDir);\n return {\n binDir: binDir\n };\n}\n\n\n\nlet $64f7d4d3c6118037$var$isArchCache = undefined;\nfunction $64f7d4d3c6118037$export$d415ddb6702ec3a2() {\n if (process.platform !== \"linux\") return false;\n if ($64f7d4d3c6118037$var$isArchCache === undefined) // detect arch by checking if pacman exists\n $64f7d4d3c6118037$var$isArchCache = (0, (/*@__PURE__*/$parcel$interopDefault($fdd9f5bfe94c19d6$exports))).sync(\"pacman\", {\n nothrow: true\n }) !== null;\n return $64f7d4d3c6118037$var$isArchCache;\n}\n\n\n\nlet $07c9db864ea9c735$var$hasDnfCache = undefined;\nfunction $07c9db864ea9c735$export$8ce8b4b22331a8c7() {\n if (process.platform !== \"linux\") return false;\n if ($07c9db864ea9c735$var$hasDnfCache === undefined) $07c9db864ea9c735$var$hasDnfCache = (0, (/*@__PURE__*/$parcel$interopDefault($fdd9f5bfe94c19d6$exports))).sync(\"dnf\", {\n nothrow: true\n }) !== null;\n return $07c9db864ea9c735$var$hasDnfCache;\n}\n\n\n\n\nvar $hHq4F = parcelRequire(\"hHq4F\");\n\nasync function $5e892f3aba3794f6$export$49d4f9ba8e0dd34f(packages) {\n for (const { name: name, version: version } of packages)(0, $hHq4F.info)(`Installing ${name} ${version !== null && version !== void 0 ? version : \"\"} via dnf`);\n const dnfArgs = await Promise.all(packages.map((pack)=>$5e892f3aba3794f6$var$getDnfArg(pack.name, pack.version)));\n (0, $52bad1f97065229a$export$58f152936f209932)(\"dnf\", [\n \"-y\",\n \"install\",\n ...dnfArgs\n ]);\n return {\n binDir: \"/usr/bin/\"\n };\n}\nasync function $5e892f3aba3794f6$var$getDnfArg(name, version) {\n if (version !== undefined && version !== \"\") {\n // check if name-version is available\n const { stdout: stdout } = await (0, $573df1fc47fc9677$export$db6b1668e3758717)(\"dnf\", [\n \"search\",\n \"-q\",\n `${name}-${version}`\n ]);\n if (stdout.trim() !== \"\") return `${name}-${version}`;\n else {\n // try with ${name}${version}\n // eslint-disable-next-line @typescript-eslint/no-shadow\n const { stdout: stdout } = await (0, $573df1fc47fc9677$export$db6b1668e3758717)(\"dnf\", [\n \"search\",\n \"-q\",\n `${name}${version}`\n ]);\n if (stdout.trim() !== \"\") return `${name}${version}`;\n (0, $hHq4F.warning)(`Failed to install ${name} ${version} via dnf, trying without version`);\n }\n }\n return name;\n}\n\n\n\nlet $c304217cbb6a03a7$var$isUbuntuCache = undefined;\nfunction $c304217cbb6a03a7$export$da8baf1d6c6802b6() {\n if (process.platform !== \"linux\") return false;\n if ($c304217cbb6a03a7$var$isUbuntuCache === undefined) {\n const apt = \"apt-get\";\n $c304217cbb6a03a7$var$isUbuntuCache = (0, (/*@__PURE__*/$parcel$interopDefault($fdd9f5bfe94c19d6$exports))).sync(apt, {\n nothrow: true\n }) !== null;\n }\n return $c304217cbb6a03a7$var$isUbuntuCache;\n}\n\n\n\nasync function $671d2451576f7242$export$a66bc93580b0a849(version, _setupDir, _arch) {\n switch(process.platform){\n case \"win32\":\n // install bazelisk because it contains both\n return (0, $9fccd3400da2cfd8$export$9f6912bc890040b2)(\"bazelisk\", version);\n case \"darwin\":\n // install bazelisk because it contains both\n return (0, $7ad09143f110687f$export$ce5d13d8a85cb784)(\"bazelisk\", version);\n case \"linux\":\n if ((0, $64f7d4d3c6118037$export$d415ddb6702ec3a2)()) throw new Error(\"installing bazel on Arch linux is not supported yet\");\n else if ((0, $07c9db864ea9c735$export$8ce8b4b22331a8c7)()) {\n // https://bazel.build/install/redhat\n await (0, $5e892f3aba3794f6$export$49d4f9ba8e0dd34f)([\n {\n name: \"dnf-plugins-core\"\n }\n ]);\n (0, $52bad1f97065229a$export$58f152936f209932)(\"dnf\", [\n \"copr\",\n \"enable\",\n \"vbatts/bazel\"\n ]);\n return (0, $5e892f3aba3794f6$export$49d4f9ba8e0dd34f)([\n {\n name: \"bazel4\"\n }\n ]);\n } else if ((0, $c304217cbb6a03a7$export$da8baf1d6c6802b6)()) {\n // https://bazel.build/install/ubuntu\n const keyFileName = await (0, $4574e4c050df58da$export$7fb1a688af1305f0)(\"bazel-archive-keyring.gpg\", \"https://bazel.build/bazel-release.pub.gpg\");\n (0, $52bad1f97065229a$export$58f152936f209932)(\"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 (0, $4574e4c050df58da$export$d73dc343f5abf26)([\n {\n name: \"bazel\",\n version: version\n }\n ], true);\n }\n throw new Error(`Unsupported linux distribution`);\n default:\n throw new Error(`Unsupported platform`);\n }\n}\n\n\n\n\n\n\nvar $hHq4F = parcelRequire(\"hHq4F\");\n\n\n/* eslint-disable require-atomic-updates */ let $48b5fe4903818be0$var$didUpdate = false;\nlet $48b5fe4903818be0$var$didInit = false;\nasync function $48b5fe4903818be0$export$cfa75578ee2d6e6c(name, version, aur) {\n (0, $hHq4F.info)(`Installing ${name} ${version !== null && version !== void 0 ? version : \"\"} via pacman`);\n const pacman = \"pacman\";\n if (aur === \"yay\" && (0, (/*@__PURE__*/$parcel$interopDefault($fdd9f5bfe94c19d6$exports))).sync(\"yay\", {\n nothrow: true\n }) === null) // TODO: install yay automatically\n throw new Error(`yay is needed for ${name}, but it is not installed, please install it manually first`);\n // yay can't run as root, so skip update\n if (!$48b5fe4903818be0$var$didUpdate && aur !== \"yay\") {\n (0, $52bad1f97065229a$export$58f152936f209932)(pacman, [\n \"-Sy\",\n \"--noconfirm\"\n ]);\n $48b5fe4903818be0$var$didUpdate = true;\n }\n // install base-devel\n if (!$48b5fe4903818be0$var$didInit && aur !== \"yay\") {\n (0, $52bad1f97065229a$export$58f152936f209932)(pacman, [\n \"-S\",\n \"--noconfirm\",\n \"base-devel\"\n ]);\n $48b5fe4903818be0$var$didInit = true;\n }\n const runInstall = (arg)=>{\n if (aur === \"yay\") // run yay as non-root, ERROR: Running makepkg as root is not allowed as it can cause permanent, catastrophic damage to your system.\n return (0, $573df1fc47fc9677$export$28823a701bb5a12d)(aur, [\n \"-S\",\n \"--noconfirm\",\n arg\n ]);\n return (0, $52bad1f97065229a$export$58f152936f209932)(aur !== null && aur !== void 0 ? aur : pacman, [\n \"-S\",\n \"--noconfirm\",\n arg\n ]);\n };\n if (version !== undefined && version !== \"\") {\n // check if version is available\n const availableVersions = await $48b5fe4903818be0$var$availablePacmanVersions(pacman, name);\n if (availableVersions.includes(version)) // try different version formats\n try {\n runInstall(`${name}=${version}`);\n } catch {\n runInstall(`${name}${version}`);\n }\n else {\n // try without version\n (0, $hHq4F.info)(`Failed to install ${name} ${version} via pacman, trying without version`);\n runInstall(name);\n }\n } else // version not specified, install latest\n runInstall(name);\n return {\n binDir: \"/usr/bin/\"\n };\n}\nconst $48b5fe4903818be0$var$pacmanSiVersionRegex = /Version\\s*:\\s*(.*)/g;\n/** Query pacman for available versions */ async function $48b5fe4903818be0$var$availablePacmanVersions(pacman, name) {\n const availableVersions = [];\n try {\n const { stdout: stdout } = await (0, $573df1fc47fc9677$export$db6b1668e3758717)(pacman, [\n \"-Si\",\n name\n ]);\n for (const match of stdout.matchAll($48b5fe4903818be0$var$pacmanSiVersionRegex))availableVersions.push(match[1]);\n } catch (err) {\n (0, $hHq4F.warning)(`Failed to get available versions for ${name}: ${err}`);\n }\n return availableVersions;\n}\n\n\n\n\n\n\n\n\nfunction $e2bfdac6c7112ded$export$111263621bbb0768(version, _setupDir, _arch) {\n switch(process.platform){\n case \"win32\":\n return (0, $9fccd3400da2cfd8$export$9f6912bc890040b2)(\"ccache\", version);\n case \"darwin\":\n return (0, $7ad09143f110687f$export$ce5d13d8a85cb784)(\"ccache\", version);\n case \"linux\":\n if ((0, $64f7d4d3c6118037$export$d415ddb6702ec3a2)()) return (0, $48b5fe4903818be0$export$cfa75578ee2d6e6c)(\"ccache\", version);\n else if ((0, $07c9db864ea9c735$export$8ce8b4b22331a8c7)()) return (0, $5e892f3aba3794f6$export$49d4f9ba8e0dd34f)([\n {\n name: \"ccache\",\n version: version\n }\n ]);\n else if ((0, $c304217cbb6a03a7$export$da8baf1d6c6802b6)()) return (0, $4574e4c050df58da$export$d73dc343f5abf26)([\n {\n name: \"ccache\",\n version: version\n }\n ]);\n throw new Error(`Unsupported linux distribution`);\n default:\n throw new Error(`Unsupported platform`);\n }\n}\n\n\n\nvar $37a0cf0ca97a0456$exports = {};\n\nvar $37a0cf0ca97a0456$var$$parcel$__dirname = $4umf8$path.resolve(__dirname, \"../../node_modules/.pnpm/@actions+tool-cache@2.0.1/node_modules/@actions/tool-cache/lib\");\n\"use strict\";\nvar $37a0cf0ca97a0456$var$__createBinding = $37a0cf0ca97a0456$exports && $37a0cf0ca97a0456$exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $37a0cf0ca97a0456$var$__setModuleDefault = $37a0cf0ca97a0456$exports && $37a0cf0ca97a0456$exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $37a0cf0ca97a0456$var$__importStar = $37a0cf0ca97a0456$exports && $37a0cf0ca97a0456$exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $37a0cf0ca97a0456$var$__createBinding(result, mod, k);\n }\n $37a0cf0ca97a0456$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $37a0cf0ca97a0456$var$__awaiter = $37a0cf0ca97a0456$exports && $37a0cf0ca97a0456$exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar $37a0cf0ca97a0456$var$__importDefault = $37a0cf0ca97a0456$exports && $37a0cf0ca97a0456$exports.__importDefault || function(mod) {\n return mod && mod.__esModule ? mod : {\n \"default\": mod\n };\n};\nObject.defineProperty($37a0cf0ca97a0456$exports, \"__esModule\", {\n value: true\n});\n$37a0cf0ca97a0456$exports.evaluateVersions = $37a0cf0ca97a0456$exports.isExplicitVersion = $37a0cf0ca97a0456$exports.findFromManifest = $37a0cf0ca97a0456$exports.getManifestFromRepo = $37a0cf0ca97a0456$exports.findAllVersions = $37a0cf0ca97a0456$exports.find = $37a0cf0ca97a0456$exports.cacheFile = $37a0cf0ca97a0456$exports.cacheDir = $37a0cf0ca97a0456$exports.extractZip = $37a0cf0ca97a0456$exports.extractXar = $37a0cf0ca97a0456$exports.extractTar = $37a0cf0ca97a0456$exports.extract7z = $37a0cf0ca97a0456$exports.downloadTool = $37a0cf0ca97a0456$exports.HTTPError = void 0;\n\nconst $37a0cf0ca97a0456$var$core = $37a0cf0ca97a0456$var$__importStar((parcelRequire(\"2heqc\")));\n\nconst $37a0cf0ca97a0456$var$io = $37a0cf0ca97a0456$var$__importStar((parcelRequire(\"kSdX3\")));\n\nconst $37a0cf0ca97a0456$var$fs = $37a0cf0ca97a0456$var$__importStar($4umf8$fs);\n\nconst $37a0cf0ca97a0456$var$mm = $37a0cf0ca97a0456$var$__importStar((parcelRequire(\"8kgpT\")));\n\nconst $37a0cf0ca97a0456$var$os = $37a0cf0ca97a0456$var$__importStar($4umf8$os);\n\nconst $37a0cf0ca97a0456$var$path = $37a0cf0ca97a0456$var$__importStar($4umf8$path);\n\nconst $37a0cf0ca97a0456$var$httpm = $37a0cf0ca97a0456$var$__importStar((parcelRequire(\"aPbbM\")));\n\nconst $37a0cf0ca97a0456$var$semver = $37a0cf0ca97a0456$var$__importStar((parcelRequire(\"3BvyU\")));\n\nconst $37a0cf0ca97a0456$var$stream = $37a0cf0ca97a0456$var$__importStar($4umf8$stream);\n\nconst $37a0cf0ca97a0456$var$util = $37a0cf0ca97a0456$var$__importStar($4umf8$util);\n\n\nconst $37a0cf0ca97a0456$var$v4_1 = $37a0cf0ca97a0456$var$__importDefault((parcelRequire(\"bxsAi\")));\n\nvar $2mVwa = parcelRequire(\"2mVwa\");\nvar $57c939c23534d411$exports = {};\n\"use strict\";\nvar $57c939c23534d411$var$__createBinding = $57c939c23534d411$exports && $57c939c23534d411$exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $57c939c23534d411$var$__setModuleDefault = $57c939c23534d411$exports && $57c939c23534d411$exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $57c939c23534d411$var$__importStar = $57c939c23534d411$exports && $57c939c23534d411$exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $57c939c23534d411$var$__createBinding(result, mod, k);\n }\n $57c939c23534d411$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $57c939c23534d411$var$__awaiter = $57c939c23534d411$exports && $57c939c23534d411$exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty($57c939c23534d411$exports, \"__esModule\", {\n value: true\n});\n$57c939c23534d411$exports.RetryHelper = void 0;\n\nconst $57c939c23534d411$var$core = $57c939c23534d411$var$__importStar((parcelRequire(\"2heqc\")));\n/**\n * Internal class for retries\n */ class $57c939c23534d411$var$RetryHelper {\n constructor(maxAttempts, minSeconds, maxSeconds){\n if (maxAttempts < 1) throw new Error(\"max attempts should be greater than or equal to 1\");\n this.maxAttempts = maxAttempts;\n this.minSeconds = Math.floor(minSeconds);\n this.maxSeconds = Math.floor(maxSeconds);\n if (this.minSeconds > this.maxSeconds) throw new Error(\"min seconds should be less than or equal to max seconds\");\n }\n execute(action, isRetryable) {\n return $57c939c23534d411$var$__awaiter(this, void 0, void 0, function*() {\n let attempt = 1;\n while(attempt < this.maxAttempts){\n // Try\n try {\n return yield action();\n } catch (err) {\n if (isRetryable && !isRetryable(err)) throw err;\n $57c939c23534d411$var$core.info(err.message);\n }\n // Sleep\n const seconds = this.getSleepAmount();\n $57c939c23534d411$var$core.info(`Waiting ${seconds} seconds before trying again`);\n yield this.sleep(seconds);\n attempt++;\n }\n // Last attempt\n return yield action();\n });\n }\n getSleepAmount() {\n return Math.floor(Math.random() * (this.maxSeconds - this.minSeconds + 1)) + this.minSeconds;\n }\n sleep(seconds) {\n return $57c939c23534d411$var$__awaiter(this, void 0, void 0, function*() {\n return new Promise((resolve)=>setTimeout(resolve, seconds * 1000));\n });\n }\n}\n$57c939c23534d411$exports.RetryHelper = $57c939c23534d411$var$RetryHelper;\n\n\nclass $37a0cf0ca97a0456$var$HTTPError extends Error {\n constructor(httpStatusCode){\n super(`Unexpected HTTP response: ${httpStatusCode}`);\n this.httpStatusCode = httpStatusCode;\n Object.setPrototypeOf(this, new.target.prototype);\n }\n}\n$37a0cf0ca97a0456$exports.HTTPError = $37a0cf0ca97a0456$var$HTTPError;\nconst $37a0cf0ca97a0456$var$IS_WINDOWS = process.platform === \"win32\";\nconst $37a0cf0ca97a0456$var$IS_MAC = process.platform === \"darwin\";\nconst $37a0cf0ca97a0456$var$userAgent = \"actions/tool-cache\";\n/**\n * Download a tool from an url and stream it into a file\n *\n * @param url url of tool to download\n * @param dest path to download tool\n * @param auth authorization header\n * @param headers other headers\n * @returns path to downloaded tool\n */ function $37a0cf0ca97a0456$var$downloadTool(url, dest, auth, headers) {\n return $37a0cf0ca97a0456$var$__awaiter(this, void 0, void 0, function*() {\n dest = dest || $37a0cf0ca97a0456$var$path.join($37a0cf0ca97a0456$var$_getTempDirectory(), $37a0cf0ca97a0456$var$v4_1.default());\n yield $37a0cf0ca97a0456$var$io.mkdirP($37a0cf0ca97a0456$var$path.dirname(dest));\n $37a0cf0ca97a0456$var$core.debug(`Downloading ${url}`);\n $37a0cf0ca97a0456$var$core.debug(`Destination ${dest}`);\n const maxAttempts = 3;\n const minSeconds = $37a0cf0ca97a0456$var$_getGlobal(\"TEST_DOWNLOAD_TOOL_RETRY_MIN_SECONDS\", 10);\n const maxSeconds = $37a0cf0ca97a0456$var$_getGlobal(\"TEST_DOWNLOAD_TOOL_RETRY_MAX_SECONDS\", 20);\n const retryHelper = new $57c939c23534d411$exports.RetryHelper(maxAttempts, minSeconds, maxSeconds);\n return yield retryHelper.execute(()=>$37a0cf0ca97a0456$var$__awaiter(this, void 0, void 0, function*() {\n return yield $37a0cf0ca97a0456$var$downloadToolAttempt(url, dest || \"\", auth, headers);\n }), (err)=>{\n if (err instanceof $37a0cf0ca97a0456$var$HTTPError && err.httpStatusCode) {\n // Don't retry anything less than 500, except 408 Request Timeout and 429 Too Many Requests\n if (err.httpStatusCode < 500 && err.httpStatusCode !== 408 && err.httpStatusCode !== 429) return false;\n }\n // Otherwise retry\n return true;\n });\n });\n}\n$37a0cf0ca97a0456$exports.downloadTool = $37a0cf0ca97a0456$var$downloadTool;\nfunction $37a0cf0ca97a0456$var$downloadToolAttempt(url, dest, auth, headers) {\n return $37a0cf0ca97a0456$var$__awaiter(this, void 0, void 0, function*() {\n if ($37a0cf0ca97a0456$var$fs.existsSync(dest)) throw new Error(`Destination file path ${dest} already exists`);\n // Get the response headers\n const http = new $37a0cf0ca97a0456$var$httpm.HttpClient($37a0cf0ca97a0456$var$userAgent, [], {\n allowRetries: false\n });\n if (auth) {\n $37a0cf0ca97a0456$var$core.debug(\"set auth\");\n if (headers === undefined) headers = {};\n headers.authorization = auth;\n }\n const response = yield http.get(url, headers);\n if (response.message.statusCode !== 200) {\n const err = new $37a0cf0ca97a0456$var$HTTPError(response.message.statusCode);\n $37a0cf0ca97a0456$var$core.debug(`Failed to download from \"${url}\". Code(${response.message.statusCode}) Message(${response.message.statusMessage})`);\n throw err;\n }\n // Download the response body\n const pipeline = $37a0cf0ca97a0456$var$util.promisify($37a0cf0ca97a0456$var$stream.pipeline);\n const responseMessageFactory = $37a0cf0ca97a0456$var$_getGlobal(\"TEST_DOWNLOAD_TOOL_RESPONSE_MESSAGE_FACTORY\", ()=>response.message);\n const readStream = responseMessageFactory();\n let succeeded = false;\n try {\n yield pipeline(readStream, $37a0cf0ca97a0456$var$fs.createWriteStream(dest));\n $37a0cf0ca97a0456$var$core.debug(\"download complete\");\n succeeded = true;\n return dest;\n } finally{\n // Error, delete dest before retry\n if (!succeeded) {\n $37a0cf0ca97a0456$var$core.debug(\"download failed\");\n try {\n yield $37a0cf0ca97a0456$var$io.rmRF(dest);\n } catch (err) {\n $37a0cf0ca97a0456$var$core.debug(`Failed to delete '${dest}'. ${err.message}`);\n }\n }\n }\n });\n}\n/**\n * Extract a .7z file\n *\n * @param file path to the .7z file\n * @param dest destination directory. Optional.\n * @param _7zPath path to 7zr.exe. Optional, for long path support. Most .7z archives do not have this\n * problem. If your .7z archive contains very long paths, you can pass the path to 7zr.exe which will\n * gracefully handle long paths. By default 7zdec.exe is used because it is a very small program and is\n * bundled with the tool lib. However it does not support long paths. 7zr.exe is the reduced command line\n * interface, it is smaller than the full command line interface, and it does support long paths. At the\n * time of this writing, it is freely available from the LZMA SDK that is available on the 7zip website.\n * Be sure to check the current license agreement. If 7zr.exe is bundled with your action, then the path\n * to 7zr.exe can be pass to this function.\n * @returns path to the destination directory\n */ function $37a0cf0ca97a0456$var$extract7z(file, dest, _7zPath) {\n return $37a0cf0ca97a0456$var$__awaiter(this, void 0, void 0, function*() {\n $4umf8$assert.ok($37a0cf0ca97a0456$var$IS_WINDOWS, \"extract7z() not supported on current OS\");\n $4umf8$assert.ok(file, 'parameter \"file\" is required');\n dest = yield $37a0cf0ca97a0456$var$_createExtractFolder(dest);\n const originalCwd = process.cwd();\n process.chdir(dest);\n if (_7zPath) try {\n const logLevel = $37a0cf0ca97a0456$var$core.isDebug() ? \"-bb1\" : \"-bb0\";\n const args = [\n \"x\",\n logLevel,\n \"-bd\",\n \"-sccUTF-8\",\n file\n ];\n const options = {\n silent: true\n };\n yield $2mVwa.exec(`\"${_7zPath}\"`, args, options);\n } finally{\n process.chdir(originalCwd);\n }\n else {\n const escapedScript = $37a0cf0ca97a0456$var$path.join($37a0cf0ca97a0456$var$$parcel$__dirname, \"..\", \"scripts\", \"Invoke-7zdec.ps1\").replace(/'/g, \"''\").replace(/\"|\\n|\\r/g, \"\"); // double-up single quotes, remove double quotes and newlines\n const escapedFile = file.replace(/'/g, \"''\").replace(/\"|\\n|\\r/g, \"\");\n const escapedTarget = dest.replace(/'/g, \"''\").replace(/\"|\\n|\\r/g, \"\");\n const command = `& '${escapedScript}' -Source '${escapedFile}' -Target '${escapedTarget}'`;\n const args = [\n \"-NoLogo\",\n \"-Sta\",\n \"-NoProfile\",\n \"-NonInteractive\",\n \"-ExecutionPolicy\",\n \"Unrestricted\",\n \"-Command\",\n command\n ];\n const options = {\n silent: true\n };\n try {\n const powershellPath = yield $37a0cf0ca97a0456$var$io.which(\"powershell\", true);\n yield $2mVwa.exec(`\"${powershellPath}\"`, args, options);\n } finally{\n process.chdir(originalCwd);\n }\n }\n return dest;\n });\n}\n$37a0cf0ca97a0456$exports.extract7z = $37a0cf0ca97a0456$var$extract7z;\n/**\n * Extract a compressed tar archive\n *\n * @param file path to the tar\n * @param dest destination directory. Optional.\n * @param flags flags for the tar command to use for extraction. Defaults to 'xz' (extracting gzipped tars). Optional.\n * @returns path to the destination directory\n */ function $37a0cf0ca97a0456$var$extractTar(file, dest, flags = \"xz\") {\n return $37a0cf0ca97a0456$var$__awaiter(this, void 0, void 0, function*() {\n if (!file) throw new Error(\"parameter 'file' is required\");\n // Create dest\n dest = yield $37a0cf0ca97a0456$var$_createExtractFolder(dest);\n // Determine whether GNU tar\n $37a0cf0ca97a0456$var$core.debug(\"Checking tar --version\");\n let versionOutput = \"\";\n yield $2mVwa.exec(\"tar --version\", [], {\n ignoreReturnCode: true,\n silent: true,\n listeners: {\n stdout: (data)=>versionOutput += data.toString(),\n stderr: (data)=>versionOutput += data.toString()\n }\n });\n $37a0cf0ca97a0456$var$core.debug(versionOutput.trim());\n const isGnuTar = versionOutput.toUpperCase().includes(\"GNU TAR\");\n // Initialize args\n let args;\n if (flags instanceof Array) args = flags;\n else args = [\n flags\n ];\n if ($37a0cf0ca97a0456$var$core.isDebug() && !flags.includes(\"v\")) args.push(\"-v\");\n let destArg = dest;\n let fileArg = file;\n if ($37a0cf0ca97a0456$var$IS_WINDOWS && isGnuTar) {\n args.push(\"--force-local\");\n destArg = dest.replace(/\\\\/g, \"/\");\n // Technically only the dest needs to have `/` but for aesthetic consistency\n // convert slashes in the file arg too.\n fileArg = file.replace(/\\\\/g, \"/\");\n }\n if (isGnuTar) {\n // Suppress warnings when using GNU tar to extract archives created by BSD tar\n args.push(\"--warning=no-unknown-keyword\");\n args.push(\"--overwrite\");\n }\n args.push(\"-C\", destArg, \"-f\", fileArg);\n yield $2mVwa.exec(`tar`, args);\n return dest;\n });\n}\n$37a0cf0ca97a0456$exports.extractTar = $37a0cf0ca97a0456$var$extractTar;\n/**\n * Extract a xar compatible archive\n *\n * @param file path to the archive\n * @param dest destination directory. Optional.\n * @param flags flags for the xar. Optional.\n * @returns path to the destination directory\n */ function $37a0cf0ca97a0456$var$extractXar(file, dest, flags = []) {\n return $37a0cf0ca97a0456$var$__awaiter(this, void 0, void 0, function*() {\n $4umf8$assert.ok($37a0cf0ca97a0456$var$IS_MAC, \"extractXar() not supported on current OS\");\n $4umf8$assert.ok(file, 'parameter \"file\" is required');\n dest = yield $37a0cf0ca97a0456$var$_createExtractFolder(dest);\n let args;\n if (flags instanceof Array) args = flags;\n else args = [\n flags\n ];\n args.push(\"-x\", \"-C\", dest, \"-f\", file);\n if ($37a0cf0ca97a0456$var$core.isDebug()) args.push(\"-v\");\n const xarPath = yield $37a0cf0ca97a0456$var$io.which(\"xar\", true);\n yield $2mVwa.exec(`\"${xarPath}\"`, $37a0cf0ca97a0456$var$_unique(args));\n return dest;\n });\n}\n$37a0cf0ca97a0456$exports.extractXar = $37a0cf0ca97a0456$var$extractXar;\n/**\n * Extract a zip\n *\n * @param file path to the zip\n * @param dest destination directory. Optional.\n * @returns path to the destination directory\n */ function $37a0cf0ca97a0456$var$extractZip(file, dest) {\n return $37a0cf0ca97a0456$var$__awaiter(this, void 0, void 0, function*() {\n if (!file) throw new Error(\"parameter 'file' is required\");\n dest = yield $37a0cf0ca97a0456$var$_createExtractFolder(dest);\n if ($37a0cf0ca97a0456$var$IS_WINDOWS) yield $37a0cf0ca97a0456$var$extractZipWin(file, dest);\n else yield $37a0cf0ca97a0456$var$extractZipNix(file, dest);\n return dest;\n });\n}\n$37a0cf0ca97a0456$exports.extractZip = $37a0cf0ca97a0456$var$extractZip;\nfunction $37a0cf0ca97a0456$var$extractZipWin(file, dest) {\n return $37a0cf0ca97a0456$var$__awaiter(this, void 0, void 0, function*() {\n // build the powershell command\n const escapedFile = file.replace(/'/g, \"''\").replace(/\"|\\n|\\r/g, \"\"); // double-up single quotes, remove double quotes and newlines\n const escapedDest = dest.replace(/'/g, \"''\").replace(/\"|\\n|\\r/g, \"\");\n const pwshPath = yield $37a0cf0ca97a0456$var$io.which(\"pwsh\", false);\n //To match the file overwrite behavior on nix systems, we use the overwrite = true flag for ExtractToDirectory\n //and the -Force flag for Expand-Archive as a fallback\n if (pwshPath) {\n //attempt to use pwsh with ExtractToDirectory, if this fails attempt Expand-Archive\n const pwshCommand = [\n `$ErrorActionPreference = 'Stop' ;`,\n `try { Add-Type -AssemblyName System.IO.Compression.ZipFile } catch { } ;`,\n `try { [System.IO.Compression.ZipFile]::ExtractToDirectory('${escapedFile}', '${escapedDest}', $true) }`,\n `catch { if (($_.Exception.GetType().FullName -eq 'System.Management.Automation.MethodException') -or ($_.Exception.GetType().FullName -eq 'System.Management.Automation.RuntimeException') ){ Expand-Archive -LiteralPath '${escapedFile}' -DestinationPath '${escapedDest}' -Force } else { throw $_ } } ;`\n ].join(\" \");\n const args = [\n \"-NoLogo\",\n \"-NoProfile\",\n \"-NonInteractive\",\n \"-ExecutionPolicy\",\n \"Unrestricted\",\n \"-Command\",\n pwshCommand\n ];\n $37a0cf0ca97a0456$var$core.debug(`Using pwsh at path: ${pwshPath}`);\n yield $2mVwa.exec(`\"${pwshPath}\"`, args);\n } else {\n const powershellCommand = [\n `$ErrorActionPreference = 'Stop' ;`,\n `try { Add-Type -AssemblyName System.IO.Compression.FileSystem } catch { } ;`,\n `if ((Get-Command -Name Expand-Archive -Module Microsoft.PowerShell.Archive -ErrorAction Ignore)) { Expand-Archive -LiteralPath '${escapedFile}' -DestinationPath '${escapedDest}' -Force }`,\n `else {[System.IO.Compression.ZipFile]::ExtractToDirectory('${escapedFile}', '${escapedDest}', $true) }`\n ].join(\" \");\n const args = [\n \"-NoLogo\",\n \"-Sta\",\n \"-NoProfile\",\n \"-NonInteractive\",\n \"-ExecutionPolicy\",\n \"Unrestricted\",\n \"-Command\",\n powershellCommand\n ];\n const powershellPath = yield $37a0cf0ca97a0456$var$io.which(\"powershell\", true);\n $37a0cf0ca97a0456$var$core.debug(`Using powershell at path: ${powershellPath}`);\n yield $2mVwa.exec(`\"${powershellPath}\"`, args);\n }\n });\n}\nfunction $37a0cf0ca97a0456$var$extractZipNix(file, dest) {\n return $37a0cf0ca97a0456$var$__awaiter(this, void 0, void 0, function*() {\n const unzipPath = yield $37a0cf0ca97a0456$var$io.which(\"unzip\", true);\n const args = [\n file\n ];\n if (!$37a0cf0ca97a0456$var$core.isDebug()) args.unshift(\"-q\");\n args.unshift(\"-o\"); //overwrite with -o, otherwise a prompt is shown which freezes the run\n yield $2mVwa.exec(`\"${unzipPath}\"`, args, {\n cwd: dest\n });\n });\n}\n/**\n * Caches a directory and installs it into the tool cacheDir\n *\n * @param sourceDir the directory to cache into tools\n * @param tool tool name\n * @param version version of the tool. semver format\n * @param arch architecture of the tool. Optional. Defaults to machine architecture\n */ function $37a0cf0ca97a0456$var$cacheDir(sourceDir, tool, version, arch) {\n return $37a0cf0ca97a0456$var$__awaiter(this, void 0, void 0, function*() {\n version = $37a0cf0ca97a0456$var$semver.clean(version) || version;\n arch = arch || $37a0cf0ca97a0456$var$os.arch();\n $37a0cf0ca97a0456$var$core.debug(`Caching tool ${tool} ${version} ${arch}`);\n $37a0cf0ca97a0456$var$core.debug(`source dir: ${sourceDir}`);\n if (!$37a0cf0ca97a0456$var$fs.statSync(sourceDir).isDirectory()) throw new Error(\"sourceDir is not a directory\");\n // Create the tool dir\n const destPath = yield $37a0cf0ca97a0456$var$_createToolPath(tool, version, arch);\n // copy each child item. do not move. move can fail on Windows\n // due to anti-virus software having an open handle on a file.\n for (const itemName of $37a0cf0ca97a0456$var$fs.readdirSync(sourceDir)){\n const s = $37a0cf0ca97a0456$var$path.join(sourceDir, itemName);\n yield $37a0cf0ca97a0456$var$io.cp(s, destPath, {\n recursive: true\n });\n }\n // write .complete\n $37a0cf0ca97a0456$var$_completeToolPath(tool, version, arch);\n return destPath;\n });\n}\n$37a0cf0ca97a0456$exports.cacheDir = $37a0cf0ca97a0456$var$cacheDir;\n/**\n * Caches a downloaded file (GUID) and installs it\n * into the tool cache with a given targetName\n *\n * @param sourceFile the file to cache into tools. Typically a result of downloadTool which is a guid.\n * @param targetFile the name of the file name in the tools directory\n * @param tool tool name\n * @param version version of the tool. semver format\n * @param arch architecture of the tool. Optional. Defaults to machine architecture\n */ function $37a0cf0ca97a0456$var$cacheFile(sourceFile, targetFile, tool, version, arch) {\n return $37a0cf0ca97a0456$var$__awaiter(this, void 0, void 0, function*() {\n version = $37a0cf0ca97a0456$var$semver.clean(version) || version;\n arch = arch || $37a0cf0ca97a0456$var$os.arch();\n $37a0cf0ca97a0456$var$core.debug(`Caching tool ${tool} ${version} ${arch}`);\n $37a0cf0ca97a0456$var$core.debug(`source file: ${sourceFile}`);\n if (!$37a0cf0ca97a0456$var$fs.statSync(sourceFile).isFile()) throw new Error(\"sourceFile is not a file\");\n // create the tool dir\n const destFolder = yield $37a0cf0ca97a0456$var$_createToolPath(tool, version, arch);\n // copy instead of move. move can fail on Windows due to\n // anti-virus software having an open handle on a file.\n const destPath = $37a0cf0ca97a0456$var$path.join(destFolder, targetFile);\n $37a0cf0ca97a0456$var$core.debug(`destination file ${destPath}`);\n yield $37a0cf0ca97a0456$var$io.cp(sourceFile, destPath);\n // write .complete\n $37a0cf0ca97a0456$var$_completeToolPath(tool, version, arch);\n return destFolder;\n });\n}\n$37a0cf0ca97a0456$exports.cacheFile = $37a0cf0ca97a0456$var$cacheFile;\n/**\n * Finds the path to a tool version in the local installed tool cache\n *\n * @param toolName name of the tool\n * @param versionSpec version of the tool\n * @param arch optional arch. defaults to arch of computer\n */ function $37a0cf0ca97a0456$var$find(toolName, versionSpec, arch) {\n if (!toolName) throw new Error(\"toolName parameter is required\");\n if (!versionSpec) throw new Error(\"versionSpec parameter is required\");\n arch = arch || $37a0cf0ca97a0456$var$os.arch();\n // attempt to resolve an explicit version\n if (!$37a0cf0ca97a0456$var$isExplicitVersion(versionSpec)) {\n const localVersions = $37a0cf0ca97a0456$var$findAllVersions(toolName, arch);\n const match = $37a0cf0ca97a0456$var$evaluateVersions(localVersions, versionSpec);\n versionSpec = match;\n }\n // check for the explicit version in the cache\n let toolPath = \"\";\n if (versionSpec) {\n versionSpec = $37a0cf0ca97a0456$var$semver.clean(versionSpec) || \"\";\n const cachePath = $37a0cf0ca97a0456$var$path.join($37a0cf0ca97a0456$var$_getCacheDirectory(), toolName, versionSpec, arch);\n $37a0cf0ca97a0456$var$core.debug(`checking cache: ${cachePath}`);\n if ($37a0cf0ca97a0456$var$fs.existsSync(cachePath) && $37a0cf0ca97a0456$var$fs.existsSync(`${cachePath}.complete`)) {\n $37a0cf0ca97a0456$var$core.debug(`Found tool in cache ${toolName} ${versionSpec} ${arch}`);\n toolPath = cachePath;\n } else $37a0cf0ca97a0456$var$core.debug(\"not found\");\n }\n return toolPath;\n}\n$37a0cf0ca97a0456$exports.find = $37a0cf0ca97a0456$var$find;\n/**\n * Finds the paths to all versions of a tool that are installed in the local tool cache\n *\n * @param toolName name of the tool\n * @param arch optional arch. defaults to arch of computer\n */ function $37a0cf0ca97a0456$var$findAllVersions(toolName, arch) {\n const versions = [];\n arch = arch || $37a0cf0ca97a0456$var$os.arch();\n const toolPath = $37a0cf0ca97a0456$var$path.join($37a0cf0ca97a0456$var$_getCacheDirectory(), toolName);\n if ($37a0cf0ca97a0456$var$fs.existsSync(toolPath)) {\n const children = $37a0cf0ca97a0456$var$fs.readdirSync(toolPath);\n for (const child of children)if ($37a0cf0ca97a0456$var$isExplicitVersion(child)) {\n const fullPath = $37a0cf0ca97a0456$var$path.join(toolPath, child, arch || \"\");\n if ($37a0cf0ca97a0456$var$fs.existsSync(fullPath) && $37a0cf0ca97a0456$var$fs.existsSync(`${fullPath}.complete`)) versions.push(child);\n }\n }\n return versions;\n}\n$37a0cf0ca97a0456$exports.findAllVersions = $37a0cf0ca97a0456$var$findAllVersions;\nfunction $37a0cf0ca97a0456$var$getManifestFromRepo(owner, repo, auth, branch = \"master\") {\n return $37a0cf0ca97a0456$var$__awaiter(this, void 0, void 0, function*() {\n let releases = [];\n const treeUrl = `https://api.github.com/repos/${owner}/${repo}/git/trees/${branch}`;\n const http = new $37a0cf0ca97a0456$var$httpm.HttpClient(\"tool-cache\");\n const headers = {};\n if (auth) {\n $37a0cf0ca97a0456$var$core.debug(\"set auth\");\n headers.authorization = auth;\n }\n const response = yield http.getJson(treeUrl, headers);\n if (!response.result) return releases;\n let manifestUrl = \"\";\n for (const item of response.result.tree)if (item.path === \"versions-manifest.json\") {\n manifestUrl = item.url;\n break;\n }\n headers[\"accept\"] = \"application/vnd.github.VERSION.raw\";\n let versionsRaw = yield (yield http.get(manifestUrl, headers)).readBody();\n if (versionsRaw) {\n // shouldn't be needed but protects against invalid json saved with BOM\n versionsRaw = versionsRaw.replace(/^\\uFEFF/, \"\");\n try {\n releases = JSON.parse(versionsRaw);\n } catch (_a) {\n $37a0cf0ca97a0456$var$core.debug(\"Invalid json\");\n }\n }\n return releases;\n });\n}\n$37a0cf0ca97a0456$exports.getManifestFromRepo = $37a0cf0ca97a0456$var$getManifestFromRepo;\nfunction $37a0cf0ca97a0456$var$findFromManifest(versionSpec, stable, manifest, archFilter = $37a0cf0ca97a0456$var$os.arch()) {\n return $37a0cf0ca97a0456$var$__awaiter(this, void 0, void 0, function*() {\n // wrap the internal impl\n const match = yield $37a0cf0ca97a0456$var$mm._findMatch(versionSpec, stable, manifest, archFilter);\n return match;\n });\n}\n$37a0cf0ca97a0456$exports.findFromManifest = $37a0cf0ca97a0456$var$findFromManifest;\nfunction $37a0cf0ca97a0456$var$_createExtractFolder(dest) {\n return $37a0cf0ca97a0456$var$__awaiter(this, void 0, void 0, function*() {\n if (!dest) // create a temp dir\n dest = $37a0cf0ca97a0456$var$path.join($37a0cf0ca97a0456$var$_getTempDirectory(), $37a0cf0ca97a0456$var$v4_1.default());\n yield $37a0cf0ca97a0456$var$io.mkdirP(dest);\n return dest;\n });\n}\nfunction $37a0cf0ca97a0456$var$_createToolPath(tool, version, arch) {\n return $37a0cf0ca97a0456$var$__awaiter(this, void 0, void 0, function*() {\n const folderPath = $37a0cf0ca97a0456$var$path.join($37a0cf0ca97a0456$var$_getCacheDirectory(), tool, $37a0cf0ca97a0456$var$semver.clean(version) || version, arch || \"\");\n $37a0cf0ca97a0456$var$core.debug(`destination ${folderPath}`);\n const markerPath = `${folderPath}.complete`;\n yield $37a0cf0ca97a0456$var$io.rmRF(folderPath);\n yield $37a0cf0ca97a0456$var$io.rmRF(markerPath);\n yield $37a0cf0ca97a0456$var$io.mkdirP(folderPath);\n return folderPath;\n });\n}\nfunction $37a0cf0ca97a0456$var$_completeToolPath(tool, version, arch) {\n const folderPath = $37a0cf0ca97a0456$var$path.join($37a0cf0ca97a0456$var$_getCacheDirectory(), tool, $37a0cf0ca97a0456$var$semver.clean(version) || version, arch || \"\");\n const markerPath = `${folderPath}.complete`;\n $37a0cf0ca97a0456$var$fs.writeFileSync(markerPath, \"\");\n $37a0cf0ca97a0456$var$core.debug(\"finished caching tool\");\n}\n/**\n * Check if version string is explicit\n *\n * @param versionSpec version string to check\n */ function $37a0cf0ca97a0456$var$isExplicitVersion(versionSpec) {\n const c = $37a0cf0ca97a0456$var$semver.clean(versionSpec) || \"\";\n $37a0cf0ca97a0456$var$core.debug(`isExplicit: ${c}`);\n const valid = $37a0cf0ca97a0456$var$semver.valid(c) != null;\n $37a0cf0ca97a0456$var$core.debug(`explicit? ${valid}`);\n return valid;\n}\n$37a0cf0ca97a0456$exports.isExplicitVersion = $37a0cf0ca97a0456$var$isExplicitVersion;\n/**\n * Get the highest satisfiying semantic version in `versions` which satisfies `versionSpec`\n *\n * @param versions array of versions to evaluate\n * @param versionSpec semantic version spec to satisfy\n */ function $37a0cf0ca97a0456$var$evaluateVersions(versions, versionSpec) {\n let version = \"\";\n $37a0cf0ca97a0456$var$core.debug(`evaluating ${versions.length} versions`);\n versions = versions.sort((a, b)=>{\n if ($37a0cf0ca97a0456$var$semver.gt(a, b)) return 1;\n return -1;\n });\n for(let i = versions.length - 1; i >= 0; i--){\n const potential = versions[i];\n const satisfied = $37a0cf0ca97a0456$var$semver.satisfies(potential, versionSpec);\n if (satisfied) {\n version = potential;\n break;\n }\n }\n if (version) $37a0cf0ca97a0456$var$core.debug(`matched: ${version}`);\n else $37a0cf0ca97a0456$var$core.debug(\"match not found\");\n return version;\n}\n$37a0cf0ca97a0456$exports.evaluateVersions = $37a0cf0ca97a0456$var$evaluateVersions;\n/**\n * Gets RUNNER_TOOL_CACHE\n */ function $37a0cf0ca97a0456$var$_getCacheDirectory() {\n const cacheDirectory = process.env[\"RUNNER_TOOL_CACHE\"] || \"\";\n $4umf8$assert.ok(cacheDirectory, \"Expected RUNNER_TOOL_CACHE to be defined\");\n return cacheDirectory;\n}\n/**\n * Gets RUNNER_TEMP\n */ function $37a0cf0ca97a0456$var$_getTempDirectory() {\n const tempDirectory = process.env[\"RUNNER_TEMP\"] || \"\";\n $4umf8$assert.ok(tempDirectory, \"Expected RUNNER_TEMP to be defined\");\n return tempDirectory;\n}\n/**\n * Gets a global variable\n */ function $37a0cf0ca97a0456$var$_getGlobal(key, defaultValue) {\n /* eslint-disable @typescript-eslint/no-explicit-any */ const value = $parcel$global[key];\n /* eslint-enable @typescript-eslint/no-explicit-any */ return value !== undefined ? value : defaultValue;\n}\n/**\n * Returns an array of unique values.\n * @param values Values to make unique.\n */ function $37a0cf0ca97a0456$var$_unique(values) {\n return Array.from(new Set(values));\n}\n\n\n\nvar $fAXcL = parcelRequire(\"fAXcL\");\n\nvar $255mi = parcelRequire(\"255mi\");\n\n\n\nvar $A8hFE = parcelRequire(\"A8hFE\");\n\nvar $hHq4F = parcelRequire(\"hHq4F\");\n\n\nvar $cLprm = parcelRequire(\"cLprm\");\n\n\n\n\n\n\n\nvar $3WkGD = parcelRequire(\"3WkGD\");\nvar $6d56470bebce7bd6$exports = {};\n\"use strict\";\nObject.defineProperty($6d56470bebce7bd6$exports, \"__esModule\", {\n value: true\n});\n$6d56470bebce7bd6$exports.retryAsPromised = $6d56470bebce7bd6$exports.TimeoutError = void 0;\nclass $6d56470bebce7bd6$var$TimeoutError extends Error {\n constructor(message, previousError){\n super(message);\n this.name = \"TimeoutError\";\n this.previous = previousError;\n }\n}\n$6d56470bebce7bd6$exports.TimeoutError = $6d56470bebce7bd6$var$TimeoutError;\nfunction $6d56470bebce7bd6$var$matches(match, err) {\n if (typeof match === \"function\") try {\n if (err instanceof match) return true;\n } catch (_) {\n return !!match(err);\n }\n if (match === err.toString()) return true;\n if (match === err.message) return true;\n return match instanceof RegExp && (match.test(err.message) || match.test(err.toString()));\n}\nfunction $6d56470bebce7bd6$var$retryAsPromised(callback, optionsInput) {\n if (!callback || !optionsInput) throw new Error(\"retry-as-promised must be passed a callback and a options set\");\n optionsInput = typeof optionsInput === \"number\" ? {\n max: optionsInput\n } : optionsInput;\n const options = {\n $current: \"$current\" in optionsInput ? optionsInput.$current : 1,\n max: optionsInput.max,\n timeout: optionsInput.timeout || undefined,\n match: optionsInput.match ? Array.isArray(optionsInput.match) ? optionsInput.match : [\n optionsInput.match\n ] : [],\n backoffBase: optionsInput.backoffBase === undefined ? 100 : optionsInput.backoffBase,\n backoffExponent: optionsInput.backoffExponent || 1.1,\n report: optionsInput.report,\n name: optionsInput.name || callback.name || \"unknown\"\n };\n if (options.match && !Array.isArray(options.match)) options.match = [\n options.match\n ];\n if (options.report) options.report(\"Trying \" + options.name + \" #\" + options.$current + \" at \" + new Date().toLocaleTimeString(), options);\n return new Promise(function(resolve, reject) {\n let timeout;\n let backoffTimeout;\n let lastError;\n if (options.timeout) timeout = setTimeout(function() {\n if (backoffTimeout) clearTimeout(backoffTimeout);\n reject(new $6d56470bebce7bd6$var$TimeoutError(options.name + \" timed out\", lastError));\n }, options.timeout);\n Promise.resolve(callback({\n current: options.$current\n })).then(resolve).then(function() {\n if (timeout) clearTimeout(timeout);\n if (backoffTimeout) clearTimeout(backoffTimeout);\n }).catch(function(err) {\n if (timeout) clearTimeout(timeout);\n if (backoffTimeout) clearTimeout(backoffTimeout);\n lastError = err;\n if (options.report) options.report(err && err.toString() || err, options, err);\n // Should not retry if max has been reached\n var shouldRetry = options.$current < options.max;\n if (!shouldRetry) return reject(err);\n shouldRetry = options.match.length === 0 || options.match.some(function(match) {\n return $6d56470bebce7bd6$var$matches(match, err);\n });\n if (!shouldRetry) return reject(err);\n var retryDelay = options.backoffBase * Math.pow(options.backoffExponent, options.$current - 1);\n // Do some accounting\n options.$current++;\n if (options.report) options.report(`Retrying ${options.name} (${options.$current})`, options);\n if (retryDelay) {\n // Use backoff function to ease retry rate\n if (options.report) options.report(`Delaying retry of ${options.name} by ${retryDelay}`, options);\n backoffTimeout = setTimeout(function() {\n $6d56470bebce7bd6$var$retryAsPromised(callback, options).then(resolve).catch(reject);\n }, retryDelay);\n } else $6d56470bebce7bd6$var$retryAsPromised(callback, options).then(resolve).catch(reject);\n });\n });\n}\n$6d56470bebce7bd6$exports.retryAsPromised = $6d56470bebce7bd6$var$retryAsPromised;\n$6d56470bebce7bd6$exports.default = $6d56470bebce7bd6$var$retryAsPromised;\n\n\nlet $d14c914d00b0f583$var$didInit = false;\nasync function $d14c914d00b0f583$export$334f77c9844c21f6(name, version, getPackageInfo, setupDir, arch) {\n (0, $hHq4F.info)(`Installing ${name} ${version} ${arch} via direct downloading`);\n var _process_env_RUNNER_TEMP;\n process.env.RUNNER_TEMP = (_process_env_RUNNER_TEMP = process.env.RUNNER_TEMP) !== null && _process_env_RUNNER_TEMP !== void 0 ? _process_env_RUNNER_TEMP : (0, $4umf8$os.tmpdir)();\n var _process_env_RUNNER_TOOL_CACHE;\n process.env.RUNNER_TOOL_CACHE = (_process_env_RUNNER_TOOL_CACHE = process.env.RUNNER_TOOL_CACHE) !== null && _process_env_RUNNER_TOOL_CACHE !== void 0 ? _process_env_RUNNER_TOOL_CACHE : (0, $A8hFE.join)((0, $4umf8$os.tmpdir)(), \"setup-cpp\", \"hostedtoolcache\");\n const { url: url, binRelativeDir: binRelativeDir, binFileName: binFileName, extractedFolderName: extractedFolderName, extractFunction: extractFunction } = await getPackageInfo(version, process.platform, arch);\n // Restore from cache (if found).\n if (0, $cLprm.GITHUB_ACTIONS) try {\n const dir = (0, $37a0cf0ca97a0456$exports.find)(name, version);\n if (dir) {\n const installDir = (0, $A8hFE.join)(dir, extractedFolderName);\n const binDir = (0, $A8hFE.join)(installDir, binRelativeDir);\n if (await (0, $3WkGD.pathExists)((0, $A8hFE.join)(binDir, binFileName))) {\n (0, $hHq4F.info)(`${name} ${version} was found in the cache at ${binDir}.`);\n await (0, $fcca2ee3cb52e97b$export$4c25481b843feb0b)(binDir);\n return {\n installDir: installDir,\n binDir: binDir\n };\n }\n }\n } catch {\n // fails on a local machine?\n }\n const installDir = (0, $A8hFE.join)(setupDir, extractedFolderName);\n const binDir = (0, $A8hFE.join)(installDir, binRelativeDir);\n const binFile = (0, $A8hFE.join)(binDir, binFileName);\n // download ane extract the package into the installation directory.\n if ((await Promise.all([\n (0, $3WkGD.pathExists)(binDir),\n (0, $3WkGD.pathExists)(binFile)\n ])).includes(false)) try {\n (0, $hHq4F.info)(`Download ${name} ${version}`);\n // try to download the package 4 times with 2 seconds delay\n const downloaded = await (0, (/*@__PURE__*/$parcel$interopDefault($6d56470bebce7bd6$exports)))(()=>{\n return (0, $37a0cf0ca97a0456$exports.downloadTool)(url);\n }, {\n name: url,\n max: 4,\n backoffBase: 2000,\n report: (err)=>(0, $hHq4F.info)(err)\n });\n if (!$d14c914d00b0f583$var$didInit) {\n (0, $hHq4F.info)(`Installing extraction dependencies`);\n if (process.platform === \"linux\") {\n if ((0, $64f7d4d3c6118037$export$d415ddb6702ec3a2)()) await Promise.all([\n (0, $48b5fe4903818be0$export$cfa75578ee2d6e6c)(\"unzip\"),\n (0, $48b5fe4903818be0$export$cfa75578ee2d6e6c)(\"tar\"),\n (0, $48b5fe4903818be0$export$cfa75578ee2d6e6c)(\"xz\")\n ]);\n else if ((0, $07c9db864ea9c735$export$8ce8b4b22331a8c7)()) await (0, $5e892f3aba3794f6$export$49d4f9ba8e0dd34f)([\n {\n name: \"unzip\"\n },\n {\n name: \"tar\"\n },\n {\n name: \"xz\"\n }\n ]);\n else if ((0, $c304217cbb6a03a7$export$da8baf1d6c6802b6)()) await (0, $4574e4c050df58da$export$d73dc343f5abf26)([\n {\n name: \"unzip\"\n },\n {\n name: \"tar\"\n },\n {\n name: \"xz-utils\"\n }\n ]);\n }\n // eslint-disable-next-line require-atomic-updates\n $d14c914d00b0f583$var$didInit = true;\n }\n (0, $hHq4F.info)(`Extracting ${downloaded} to ${setupDir}`);\n await (extractFunction === null || extractFunction === void 0 ? void 0 : 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 // Adding the bin dir to the path\n /** The directory which the tool is installed to */ (0, $hHq4F.info)(`Add ${binDir} to PATH`);\n await (0, $fcca2ee3cb52e97b$export$4c25481b843feb0b)(binDir);\n // check if inside Github Actions. If so, cache the installation\n if ((0, $cLprm.GITHUB_ACTIONS) && typeof process.env.RUNNER_TOOL_CACHE === \"string\") await (0, $37a0cf0ca97a0456$exports.cacheDir)(setupDir, name, version);\n return {\n installDir: installDir,\n binDir: binDir\n };\n}\n\n\n\nvar $A8hFE = parcelRequire(\"A8hFE\");\n\n\nvar $kSdX3 = parcelRequire(\"kSdX3\");\n\n\n\n\n\n\n\n\n\nfunction $9a4a93f779a8f772$export$5fc39629e14c8173(version, _setupDir, _arch) {\n switch(process.platform){\n case \"win32\":\n return (0, $9fccd3400da2cfd8$export$9f6912bc890040b2)(\"7zip\", version);\n case \"darwin\":\n return (0, $7ad09143f110687f$export$ce5d13d8a85cb784)(\"p7zip\", version);\n case \"linux\":\n if ((0, $64f7d4d3c6118037$export$d415ddb6702ec3a2)()) return (0, $48b5fe4903818be0$export$cfa75578ee2d6e6c)(\"p7zip\", version);\n else if ((0, $07c9db864ea9c735$export$8ce8b4b22331a8c7)()) return (0, $5e892f3aba3794f6$export$49d4f9ba8e0dd34f)([\n {\n name: \"p7zip\",\n version: version\n },\n {\n name: \"p7zip-plugins\",\n version: version\n }\n ]);\n else if ((0, $c304217cbb6a03a7$export$da8baf1d6c6802b6)()) return (0, $4574e4c050df58da$export$d73dc343f5abf26)([\n {\n name: \"p7zip-full\",\n version: version\n }\n ]);\n throw new Error(`Unsupported linux distribution`);\n default:\n throw new Error(`Unsupported platform`);\n }\n}\n\n\n\nvar $hHq4F = parcelRequire(\"hHq4F\");\n\n\nlet $1533841bc1073d6a$var$sevenZip;\nasync function $1533841bc1073d6a$export$eecfe186811d4a20(file, dest) {\n await (0, $573df1fc47fc9677$export$db6b1668e3758717)(await $1533841bc1073d6a$var$getSevenZip(), [\n \"x\",\n file,\n `-o${dest}`,\n \"-y\"\n ], {\n stdio: \"inherit\"\n });\n await (0, $de58c30d9e7354db$export$4718e061a205eab)(dest);\n return dest;\n}\n/// install 7z if needed\nasync function $1533841bc1073d6a$var$getSevenZip() {\n if ($1533841bc1073d6a$var$sevenZip === undefined) {\n if ((0, (/*@__PURE__*/$parcel$interopDefault($fdd9f5bfe94c19d6$exports))).sync(\"7z\", {\n nothrow: true\n }) === null) await (0, $9a4a93f779a8f772$export$5fc39629e14c8173)(\"\", \"\", process.arch);\n // eslint-disable-next-line require-atomic-updates\n $1533841bc1073d6a$var$sevenZip = \"7z\";\n }\n return $1533841bc1073d6a$var$sevenZip;\n}\nfunction $1533841bc1073d6a$export$7949938b2681a4f0(file, dest) {\n return $1533841bc1073d6a$export$eecfe186811d4a20(file, dest);\n}\nfunction $1533841bc1073d6a$export$6411c5cbab21135b(file, dest) {\n return $1533841bc1073d6a$export$eecfe186811d4a20(file, dest);\n}\nasync function $1533841bc1073d6a$export$2ab07ac150064014(file, dest, flags = [\n \"--strip-components=0\"\n]) {\n try {\n await (0, $kSdX3.mkdirP)(dest);\n } catch {\n // ignore\n }\n // TODO windows fails to create symlinks\n // https://github.com/heroku/heroku-slugs/issues/3\n try {\n await (0, $573df1fc47fc9677$export$db6b1668e3758717)(\"tar\", [\n \"xf\",\n file,\n \"-C\",\n dest,\n ...flags\n ], {\n stdio: \"inherit\"\n });\n } catch (e) {\n if (process.platform === \"win32\" && e.message.includes(\"Can't create '\\\\\\\\?\\\\C:\")) (0, $hHq4F.warning)(`Failed to extract symlink ${file} to ${dest}. Ignoring this symlink.`);\n }\n (0, $de58c30d9e7354db$export$4718e061a205eab)(dest);\n return dest;\n}\n\n\n/** Get the platform data for cmake */ function $6ca1cdfc8544c646$var$getCmakePackageInfo(version, platform, arch) {\n var _semverCoerce;\n const semVersion = (_semverCoerce = (0, (/*@__PURE__*/$parcel$interopDefault($255mi)))(version)) !== null && _semverCoerce !== void 0 ? _semverCoerce : version;\n switch(platform){\n case \"win32\":\n {\n const isOld = (0, (/*@__PURE__*/$parcel$interopDefault($fAXcL)))(semVersion, \"v3.19.6\");\n let osArchStr;\n if ([\n \"ia32\",\n \"x86\",\n \"i386\",\n \"x32\"\n ].includes(arch)) osArchStr = isOld ? \"win32-x86\" : \"windows-i386\";\n else osArchStr = isOld ? \"win64-x64\" : \"windows-x86_64\";\n const folderName = `cmake-${version}-${osArchStr}`;\n return {\n binRelativeDir: \"bin/\",\n binFileName: (0, $A8hFE.addExeExt)(\"cmake\"),\n extractedFolderName: folderName,\n extractFunction: (0, $1533841bc1073d6a$export$6411c5cbab21135b),\n url: `https://github.com/Kitware/CMake/releases/download/v${version}/${folderName}.zip`\n };\n }\n case \"darwin\":\n {\n const isOld = (0, (/*@__PURE__*/$parcel$interopDefault($fAXcL)))(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: (0, $A8hFE.addExeExt)(\"cmake\"),\n extractedFolderName: folderName,\n extractFunction: (0, $37a0cf0ca97a0456$exports.extractTar),\n url: `https://github.com/Kitware/CMake/releases/download/v${version}/${folderName}.tar.gz`\n };\n }\n case \"linux\":\n {\n const isOld = (0, (/*@__PURE__*/$parcel$interopDefault($fAXcL)))(semVersion, \"v3.19.8\");\n let osArchStr;\n if ([\n \"aarch64\"\n ].includes(arch)) osArchStr = isOld ? \"Linux-aarch64\" : \"linux-aarch64\";\n else osArchStr = isOld ? \"Linux-x86_64\" : \"linux-x86_64\";\n const folderName = `cmake-${version}-${osArchStr}`;\n return {\n binRelativeDir: \"bin/\",\n binFileName: (0, $A8hFE.addExeExt)(\"cmake\"),\n extractedFolderName: folderName,\n extractFunction: (0, $37a0cf0ca97a0456$exports.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}\nfunction $6ca1cdfc8544c646$export$c28663a621f418ce(version, setupDir, arch) {\n return (0, $d14c914d00b0f583$export$334f77c9844c21f6)(\"cmake\", version, $6ca1cdfc8544c646$var$getCmakePackageInfo, setupDir, arch);\n}\n\n\n\nvar $2heqc = parcelRequire(\"2heqc\");\n\n\nvar $3WkGD = parcelRequire(\"3WkGD\");\n\nvar $A8hFE = parcelRequire(\"A8hFE\");\n\n/* eslint-disable require-atomic-updates */ \nvar $2mVwa = parcelRequire(\"2mVwa\");\n\n\nvar $cLprm = parcelRequire(\"cLprm\");\n\nvar $hHq4F = parcelRequire(\"hHq4F\");\n\n/**\n * @constant DEFAULT_OPTIONS_KEYS the default options keys\n */ var $ebb78541e788df17$var$DEFAULT_OPTIONS_KEYS = {\n isEqual: true,\n isMatchingKey: true,\n isPromise: true,\n maxSize: true,\n onCacheAdd: true,\n onCacheChange: true,\n onCacheHit: true,\n transformKey: true\n};\n/**\n * @function slice\n *\n * @description\n * slice.call() pre-bound\n */ var $ebb78541e788df17$var$slice = Array.prototype.slice;\n/**\n * @function cloneArray\n *\n * @description\n * clone the array-like object and return the new array\n *\n * @param arrayLike the array-like object to clone\n * @returns the clone as an array\n */ function $ebb78541e788df17$var$cloneArray(arrayLike) {\n var length = arrayLike.length;\n if (!length) return [];\n if (length === 1) return [\n arrayLike[0]\n ];\n if (length === 2) return [\n arrayLike[0],\n arrayLike[1]\n ];\n if (length === 3) return [\n arrayLike[0],\n arrayLike[1],\n arrayLike[2]\n ];\n return $ebb78541e788df17$var$slice.call(arrayLike, 0);\n}\n/**\n * @function getCustomOptions\n *\n * @description\n * get the custom options on the object passed\n *\n * @param options the memoization options passed\n * @returns the custom options passed\n */ function $ebb78541e788df17$var$getCustomOptions(options) {\n var customOptions = {};\n /* eslint-disable no-restricted-syntax */ for(var key in options)if (!$ebb78541e788df17$var$DEFAULT_OPTIONS_KEYS[key]) customOptions[key] = options[key];\n /* eslint-enable */ return customOptions;\n}\n/**\n * @function isMemoized\n *\n * @description\n * is the function passed already memoized\n *\n * @param fn the function to test\n * @returns is the function already memoized\n */ function $ebb78541e788df17$var$isMemoized(fn) {\n return typeof fn === \"function\" && fn.isMemoized;\n}\n/**\n * @function isSameValueZero\n *\n * @description\n * are the objects equal based on SameValueZero equality\n *\n * @param object1 the first object to compare\n * @param object2 the second object to compare\n * @returns are the two objects equal\n */ function $ebb78541e788df17$var$isSameValueZero(object1, object2) {\n // eslint-disable-next-line no-self-compare\n return object1 === object2 || object1 !== object1 && object2 !== object2;\n}\n/**\n * @function mergeOptions\n *\n * @description\n * merge the options into the target\n *\n * @param existingOptions the options provided\n * @param newOptions the options to include\n * @returns the merged options\n */ function $ebb78541e788df17$var$mergeOptions(existingOptions, newOptions) {\n var target = {};\n /* eslint-disable no-restricted-syntax */ for(var key in existingOptions)target[key] = existingOptions[key];\n for(var key in newOptions)target[key] = newOptions[key];\n /* eslint-enable */ return target;\n}\n// utils\nvar $ebb78541e788df17$var$Cache = /** @class */ function() {\n function Cache(options) {\n this.keys = [];\n this.values = [];\n this.options = options;\n var isMatchingKeyFunction = typeof options.isMatchingKey === \"function\";\n if (isMatchingKeyFunction) this.getKeyIndex = this._getKeyIndexFromMatchingKey;\n else if (options.maxSize > 1) this.getKeyIndex = this._getKeyIndexForMany;\n else this.getKeyIndex = this._getKeyIndexForSingle;\n this.canTransformKey = typeof options.transformKey === \"function\";\n this.shouldCloneArguments = this.canTransformKey || isMatchingKeyFunction;\n this.shouldUpdateOnAdd = typeof options.onCacheAdd === \"function\";\n this.shouldUpdateOnChange = typeof options.onCacheChange === \"function\";\n this.shouldUpdateOnHit = typeof options.onCacheHit === \"function\";\n }\n Object.defineProperty(Cache.prototype, \"size\", {\n /**\n * The number of cached [key,value] results.\n */ get: function() {\n return this.keys.length;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(Cache.prototype, \"snapshot\", {\n /**\n * A copy of the cache at a moment in time. This is useful\n * to compare changes over time, since the cache mutates\n * internally for performance reasons.\n */ get: function() {\n return {\n keys: $ebb78541e788df17$var$cloneArray(this.keys),\n size: this.size,\n values: $ebb78541e788df17$var$cloneArray(this.values)\n };\n },\n enumerable: false,\n configurable: true\n });\n /**\n * Gets the matching key index when a custom key matcher is used.\n */ Cache.prototype._getKeyIndexFromMatchingKey = function(keyToMatch) {\n var _a = this.options, isMatchingKey = _a.isMatchingKey, maxSize = _a.maxSize;\n var keys = this.keys;\n var keysLength = keys.length;\n if (!keysLength) return -1;\n if (isMatchingKey(keys[0], keyToMatch)) return 0;\n if (maxSize > 1) for(var index = 1; index < keysLength; index++){\n if (isMatchingKey(keys[index], keyToMatch)) return index;\n }\n return -1;\n };\n /**\n * Gets the matching key index when multiple keys are used.\n */ Cache.prototype._getKeyIndexForMany = function(keyToMatch) {\n var isEqual = this.options.isEqual;\n var keys = this.keys;\n var keysLength = keys.length;\n if (!keysLength) return -1;\n if (keysLength === 1) return this._getKeyIndexForSingle(keyToMatch);\n var keyLength = keyToMatch.length;\n var existingKey;\n var argIndex;\n if (keyLength > 1) for(var index = 0; index < keysLength; index++){\n existingKey = keys[index];\n if (existingKey.length === keyLength) {\n argIndex = 0;\n for(; argIndex < keyLength; argIndex++){\n if (!isEqual(existingKey[argIndex], keyToMatch[argIndex])) break;\n }\n if (argIndex === keyLength) return index;\n }\n }\n else for(var index = 0; index < keysLength; index++){\n existingKey = keys[index];\n if (existingKey.length === keyLength && isEqual(existingKey[0], keyToMatch[0])) return index;\n }\n return -1;\n };\n /**\n * Gets the matching key index when a single key is used.\n */ Cache.prototype._getKeyIndexForSingle = function(keyToMatch) {\n var keys = this.keys;\n if (!keys.length) return -1;\n var existingKey = keys[0];\n var length = existingKey.length;\n if (keyToMatch.length !== length) return -1;\n var isEqual = this.options.isEqual;\n if (length > 1) {\n for(var index = 0; index < length; index++){\n if (!isEqual(existingKey[index], keyToMatch[index])) return -1;\n }\n return 0;\n }\n return isEqual(existingKey[0], keyToMatch[0]) ? 0 : -1;\n };\n /**\n * Order the array based on a Least-Recently-Used basis.\n */ Cache.prototype.orderByLru = function(key, value, startingIndex) {\n var keys = this.keys;\n var values = this.values;\n var currentLength = keys.length;\n var index = startingIndex;\n while(index--){\n keys[index + 1] = keys[index];\n values[index + 1] = values[index];\n }\n keys[0] = key;\n values[0] = value;\n var maxSize = this.options.maxSize;\n if (currentLength === maxSize && startingIndex === currentLength) {\n keys.pop();\n values.pop();\n } else if (startingIndex >= maxSize) // eslint-disable-next-line no-multi-assign\n keys.length = values.length = maxSize;\n };\n /**\n * Update the promise method to auto-remove from cache if rejected, and\n * if resolved then fire cache hit / changed.\n */ Cache.prototype.updateAsyncCache = function(memoized) {\n var _this = this;\n var _a = this.options, onCacheChange = _a.onCacheChange, onCacheHit = _a.onCacheHit;\n var firstKey = this.keys[0];\n var firstValue = this.values[0];\n this.values[0] = firstValue.then(function(value) {\n if (_this.shouldUpdateOnHit) onCacheHit(_this, _this.options, memoized);\n if (_this.shouldUpdateOnChange) onCacheChange(_this, _this.options, memoized);\n return value;\n }, function(error) {\n var keyIndex = _this.getKeyIndex(firstKey);\n if (keyIndex !== -1) {\n _this.keys.splice(keyIndex, 1);\n _this.values.splice(keyIndex, 1);\n }\n throw error;\n });\n };\n return Cache;\n}();\nfunction $ebb78541e788df17$export$2e2bcd8739ae039(fn, options) {\n if (options === void 0) options = {};\n if ($ebb78541e788df17$var$isMemoized(fn)) return $ebb78541e788df17$export$2e2bcd8739ae039(fn.fn, $ebb78541e788df17$var$mergeOptions(fn.options, options));\n if (typeof fn !== \"function\") throw new TypeError(\"You must pass a function to `memoize`.\");\n var _a = options.isEqual, isEqual = _a === void 0 ? $ebb78541e788df17$var$isSameValueZero : _a, isMatchingKey = options.isMatchingKey, _b = options.isPromise, isPromise = _b === void 0 ? false : _b, _c = options.maxSize, maxSize = _c === void 0 ? 1 : _c, onCacheAdd = options.onCacheAdd, onCacheChange = options.onCacheChange, onCacheHit = options.onCacheHit, transformKey = options.transformKey;\n var normalizedOptions = $ebb78541e788df17$var$mergeOptions({\n isEqual: isEqual,\n isMatchingKey: isMatchingKey,\n isPromise: isPromise,\n maxSize: maxSize,\n onCacheAdd: onCacheAdd,\n onCacheChange: onCacheChange,\n onCacheHit: onCacheHit,\n transformKey: transformKey\n }, $ebb78541e788df17$var$getCustomOptions(options));\n var cache = new $ebb78541e788df17$var$Cache(normalizedOptions);\n var keys = cache.keys, values = cache.values, canTransformKey = cache.canTransformKey, shouldCloneArguments = cache.shouldCloneArguments, shouldUpdateOnAdd = cache.shouldUpdateOnAdd, shouldUpdateOnChange = cache.shouldUpdateOnChange, shouldUpdateOnHit = cache.shouldUpdateOnHit;\n var memoized = function() {\n var key = shouldCloneArguments ? $ebb78541e788df17$var$cloneArray(arguments) : arguments;\n if (canTransformKey) key = transformKey(key);\n var keyIndex = keys.length ? cache.getKeyIndex(key) : -1;\n if (keyIndex !== -1) {\n if (shouldUpdateOnHit) onCacheHit(cache, normalizedOptions, memoized);\n if (keyIndex) {\n cache.orderByLru(keys[keyIndex], values[keyIndex], keyIndex);\n if (shouldUpdateOnChange) onCacheChange(cache, normalizedOptions, memoized);\n }\n } else {\n var newValue = fn.apply(this, arguments);\n var newKey = shouldCloneArguments ? key : $ebb78541e788df17$var$cloneArray(arguments);\n cache.orderByLru(newKey, newValue, keys.length);\n if (isPromise) cache.updateAsyncCache(memoized);\n if (shouldUpdateOnAdd) onCacheAdd(cache, normalizedOptions, memoized);\n if (shouldUpdateOnChange) onCacheChange(cache, normalizedOptions, memoized);\n }\n return values[0];\n };\n memoized.cache = cache;\n memoized.fn = fn;\n memoized.isMemoized = true;\n memoized.options = normalizedOptions;\n return memoized;\n}\n\n\n\nvar $A8hFE = parcelRequire(\"A8hFE\");\n\n\n\n\n\n\n\n\n\n\n// src/modules/https-utils.ts\n\n\nfunction $2f5ceed9996097bd$var$isStatusOK(result) {\n return result.statusCode !== void 0 && result.statusCode >= 200 && result.statusCode <= 399;\n}\nfunction $2f5ceed9996097bd$var$requestWorks(url, method) {\n return new Promise((resolve)=>{\n try {\n const req = (0, $4umf8$https.request)(url, {\n method: method\n }, (result)=>{\n resolve($2f5ceed9996097bd$var$isStatusOK(result));\n });\n req.on(\"error\", (_error)=>{\n resolve(false);\n });\n req.end();\n } catch {\n resolve(false);\n }\n });\n}\nvar $2f5ceed9996097bd$export$8092cb61b2731942 = (url)=>{\n if (typeof url !== \"string\") return false;\n const trimmedUrl = url.trim();\n if (trimmedUrl.includes(\" \")) return false;\n try {\n new (0, $4umf8$url.URL)(trimmedUrl);\n return true;\n } catch {\n return false;\n }\n};\n// src/modules/isUrlOnline.ts\nvar $2f5ceed9996097bd$export$61e6a71eee2b02f9 = async (url)=>{\n const isUrl = $2f5ceed9996097bd$export$8092cb61b2731942(url);\n if (!isUrl) return false;\n let response = await $2f5ceed9996097bd$var$requestWorks(url, \"HEAD\");\n if (response) return true;\n response = await $2f5ceed9996097bd$var$requestWorks(url, \"GET\");\n return !!response;\n};\n// src/modules/prependHttp.ts\nvar $2f5ceed9996097bd$export$b9a79b9e9f921305 = ({ url: url, https: https = true })=>{\n const trimmedUrl = url.trim();\n if (/^\\.*\\/|^(?!localhost)\\w+:/u.test(trimmedUrl)) return url;\n return trimmedUrl.replace(/^(?!(?:\\w+:)?\\/\\/)/u, https ? \"https://\" : \"http://\");\n};\n\n\n\nvar $eSzHt = parcelRequire(\"eSzHt\");\n\nvar $255mi = parcelRequire(\"255mi\");\n\nvar $eO4vc = parcelRequire(\"eO4vc\");\n\nvar $2mVwa = parcelRequire(\"2mVwa\");\n\nvar $hHq4F = parcelRequire(\"hHq4F\");\nfunction $d9c16e431e014540$export$deb1064c8260c54c(versions, semversion) {\n return Array.from(versions).filter((v)=>/^\\d+\\.\\d+\\.\\d+$/.test(v) && v.startsWith(semversion)).sort((a, b)=>{\n try {\n return (0, (/*@__PURE__*/$parcel$interopDefault($eSzHt)))(a, b);\n } catch (err) {\n return a.localeCompare(b);\n }\n }).reverse();\n}\nfunction $d9c16e431e014540$export$cbd9528a83fbffa1(specific) {\n const versions = new Set(specific);\n for (const version of specific){\n versions.add(/^\\d+/.exec(version)[0]);\n versions.add(/^\\d+\\.\\d+/.exec(version)[0]);\n }\n return versions;\n}\nasync function $d9c16e431e014540$export$4e4d3581f69a6d71(versions, platform, version, getUrl) {\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 (0, $2f5ceed9996097bd$export$61e6a71eee2b02f9)(url)) return [\n version,\n url\n ];\n }\n // if the given set doesn't include the version, throw an error\n if (!versions.has(version)) throw new Error(`Unsupported target! (platform='${platform}', version='${version}'). Try one of the following: ${JSON.stringify(versions)}`);\n const offlineUrls = [];\n // TODO use Promise.any\n for (const specificVersion of $d9c16e431e014540$export$deb1064c8260c54c(versions, version)){\n // eslint-disable-next-line no-await-in-loop\n const url = await getUrl(platform, specificVersion);\n if (url !== null) {\n // eslint-disable-next-line no-await-in-loop\n if (await (0, $2f5ceed9996097bd$export$61e6a71eee2b02f9)(url)) return [\n specificVersion,\n url\n ];\n else offlineUrls.push(url);\n }\n }\n throw new Error(`Unsupported target! (platform='${platform}', version='${version}'). Try one of the following: ${JSON.stringify(versions)}`);\n}\nconst $d9c16e431e014540$export$d7ab5e2d33b06cd5 = /v?(\\d\\S*)/;\nasync function $d9c16e431e014540$export$5b54ecc7386538f(file, versionRegex = $d9c16e431e014540$export$d7ab5e2d33b06cd5) {\n try {\n var _version_output_trim_match;\n const execout = await (0, $2mVwa.getExecOutput)(file, [\n \"--version\"\n ]);\n const version_output = execout.stdout || execout.stderr || \"\";\n const version = (_version_output_trim_match = version_output.trim().match(versionRegex)) === null || _version_output_trim_match === void 0 ? void 0 : _version_output_trim_match[1];\n var _semverCoerce;\n return (_semverCoerce = (0, (/*@__PURE__*/$parcel$interopDefault($255mi)))(version)) !== null && _semverCoerce !== void 0 ? _semverCoerce : undefined;\n } catch (e) {\n console.error(e);\n return undefined;\n }\n}\nasync function $d9c16e431e014540$export$d1f0d32b896ba08(givenFile, targetVersion, versionRegex = $d9c16e431e014540$export$d7ab5e2d33b06cd5) {\n const givenVersion = await $d9c16e431e014540$export$5b54ecc7386538f(givenFile, versionRegex);\n if (givenVersion !== undefined && targetVersion !== \"\") return (0, (/*@__PURE__*/$parcel$interopDefault($eSzHt)))(givenVersion, targetVersion) !== -1;\n else // assume given version is old\n return false;\n}\nfunction $d9c16e431e014540$export$afd7401db249098f(version) {\n if ((0, (/*@__PURE__*/$parcel$interopDefault($eO4vc)))(version) === null) // version coercion\n try {\n // find the semver version of an integer\n const coercedVersion = (0, (/*@__PURE__*/$parcel$interopDefault($255mi)))(version);\n if (coercedVersion !== null) {\n (0, $hHq4F.info)(`Coerced version '${version}' to '${coercedVersion}'`);\n return coercedVersion.version;\n }\n } catch (err) {\n // handled below\n }\n return version;\n}\nfunction $d9c16e431e014540$export$b19007c0050a2fcc(version) {\n return parseInt(version.replace(/^v/, \"\"), 10);\n}\nfunction $d9c16e431e014540$export$6863a97504984656(version) {\n if (!version.match(/^v/)) return `v${version}`;\n return version;\n}\n\n\nfunction $2e2fe846dc92ab85$export$7a5d5c156e7dc406(dirs) {\n return [\n ...new Set(dirs)\n ];\n}\n\n\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).\nfunction $a1e1d3689a86c9cd$var$getLLVMDefault() {\n switch(process.platform){\n case \"win32\":\n return \"17.0.4\";\n case \"linux\":\n // used for non-ubuntu (Fedora, Arch)\n return \"17.0.5-ubuntu-22.04\";\n case \"darwin\":\n return \"15.0.3\";\n default:\n return \"17.0.5\";\n }\n}\nconst $a1e1d3689a86c9cd$export$5fb1985a02d8f66f = {\n llvm: $a1e1d3689a86c9cd$var$getLLVMDefault(),\n clangtidy: $a1e1d3689a86c9cd$var$getLLVMDefault(),\n clangformat: $a1e1d3689a86c9cd$var$getLLVMDefault(),\n ninja: \"1.11.1\",\n cmake: \"3.27.4\",\n gcovr: \"6.0\",\n conan: \"1.62.0\",\n meson: \"1.2.3\",\n kcov: \"42\",\n task: \"3.31.0\",\n doxygen: (0, $64f7d4d3c6118037$export$d415ddb6702ec3a2)() ? \"1.9.8-1\" : \"1.9.8\",\n gcc: (0, $64f7d4d3c6118037$export$d415ddb6702ec3a2)() ? \"13.2.1-3\" : \"13\"\n};\nconst $a1e1d3689a86c9cd$export$b0fc8ac572b39938 = {\n pip: \"22.2.0\",\n python: \"3.7.9\"\n};\nconst $a1e1d3689a86c9cd$export$1bb63c984aa6e760 = {\n gcc: {\n 22: \"13\",\n 20: \"11\",\n 18: \"11\",\n 16: \"11\",\n 14: \"11\"\n },\n mingw: {\n 22: \"8.0.0-1\",\n 20: \"7.0.0-2\"\n },\n llvm: {\n 22: \"17.0.5-ubuntu-22.04\",\n 20: \"17.0.5-ubuntu-22.04\",\n 18: \"15.0.6-ubuntu-18.04\",\n 16: \"15.0.6-ubuntu-18.04\",\n 14: \"13.0.0-ubuntu-16.04\"\n },\n clangtidy: {\n 22: \"17.0.2-ubuntu-22.04\",\n 20: \"17.0.2-ubuntu-22.04\",\n 18: \"15.0.6-ubuntu-18.04\",\n 16: \"15.0.6-ubuntu-18.04\",\n 14: \"13.0.0-ubuntu-16.04\"\n },\n clangformat: {\n 22: \"17.0.2-ubuntu-22.04\",\n 20: \"17.0.2-ubuntu-22.04\",\n 18: \"15.0.6-ubuntu-18.04\",\n 16: \"15.0.6-ubuntu-18.04\",\n 14: \"13.0.0-ubuntu-16.04\"\n },\n gcovr: {\n 22: \"6.0\",\n 20: \"6.0\",\n 18: \"5.0\"\n },\n meson: {\n 20: \"1.0.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: \"42-binary\",\n 20: \"40-binary\",\n 18: \"40\",\n 16: \"40\",\n 14: \"40\"\n }\n};\n\n\n\nvar $3WkGD = parcelRequire(\"3WkGD\");\n\nasync function $8e03016ecb3dd99e$export$2b0b68e9df3d4a02(version, setupDir, arch) {\n const installInfo = await $8e03016ecb3dd99e$var$findOrSetupPython(version, setupDir, arch);\n (0, ($parcel$interopDefault($4umf8$assert)))(installInfo.bin !== undefined);\n const foundPython = installInfo.bin;\n // setup pip\n const foundPip = await $8e03016ecb3dd99e$var$findOrSetupPip(foundPython);\n if (foundPip === undefined) throw new Error(\"pip was not installed correctly\");\n await $8e03016ecb3dd99e$var$setupPipx(foundPython);\n await $8e03016ecb3dd99e$var$setupWheel(foundPython);\n return installInfo;\n}\nasync function $8e03016ecb3dd99e$var$setupPipx(foundPython) {\n try {\n if (!await (0, $13d538bb32b1caca$export$ffe24b8e86dbc863)(foundPython)) await (0, $13d538bb32b1caca$export$7c60aea099ad1c1d)(foundPython, \"pipx\", undefined, {\n upgrade: true,\n usePipx: false\n });\n await (0, $573df1fc47fc9677$export$db6b1668e3758717)(foundPython, [\n \"-m\",\n \"pipx\",\n \"ensurepath\"\n ], {\n stdio: \"inherit\"\n });\n await (0, $13d538bb32b1caca$export$7c60aea099ad1c1d)(foundPython, \"venv\", undefined, {\n upgrade: false,\n usePipx: false\n });\n } catch (err) {\n (0, $hHq4F.warning)(`Failed to install pipx: ${err.toString()}. Ignoring...`);\n }\n}\n/** Setup wheel and setuptools */ async function $8e03016ecb3dd99e$var$setupWheel(foundPython) {\n try {\n await (0, $13d538bb32b1caca$export$7c60aea099ad1c1d)(foundPython, \"setuptools\", undefined, {\n upgrade: true,\n isLibrary: true,\n usePipx: false\n });\n await (0, $13d538bb32b1caca$export$7c60aea099ad1c1d)(foundPython, \"wheel\", undefined, {\n upgrade: true,\n isLibrary: true,\n usePipx: false\n });\n } catch (err) {\n (0, $hHq4F.warning)(`Failed to install setuptools or wheel: ${err.toString()}. Ignoring...`);\n }\n}\n\nasync function $8e03016ecb3dd99e$var$findOrSetupPython(version, setupDir, arch) {\n let installInfo;\n let foundPython = await $8e03016ecb3dd99e$var$findPython(setupDir);\n if (foundPython !== undefined) {\n const binDir = (0, $A8hFE.dirname)(foundPython);\n installInfo = {\n bin: foundPython,\n installDir: binDir,\n binDir: binDir\n };\n } else {\n // if python is not found, try to install it\n if (0, $cLprm.GITHUB_ACTIONS) // install python in GitHub Actions\n try {\n (0, $hHq4F.info)(\"Installing python in GitHub Actions\");\n const { setupActionsPython: setupActionsPython } = await (parcelRequire(\"dDAlR\"));\n await setupActionsPython(version, setupDir, arch);\n foundPython = await $8e03016ecb3dd99e$var$findPython(setupDir);\n const binDir = (0, $A8hFE.dirname)(foundPython);\n installInfo = {\n bin: foundPython,\n installDir: binDir,\n binDir: binDir\n };\n } catch (err) {\n (0, $hHq4F.warning)(err.toString());\n }\n if (installInfo === undefined) // install python via system package manager\n installInfo = await $8e03016ecb3dd99e$var$setupPythonSystem(setupDir, version);\n }\n if (foundPython === undefined || installInfo.bin === undefined) {\n foundPython = await $8e03016ecb3dd99e$var$findPython(setupDir);\n installInfo.bin = foundPython;\n }\n return installInfo;\n}\nasync function $8e03016ecb3dd99e$var$setupPythonSystem(setupDir, version) {\n let installInfo;\n switch(process.platform){\n case \"win32\":\n {\n if (setupDir) await (0, $9fccd3400da2cfd8$export$9f6912bc890040b2)(\"python3\", version, [\n `--params=/InstallDir:${setupDir}`\n ]);\n else await (0, $9fccd3400da2cfd8$export$9f6912bc890040b2)(\"python3\", version);\n // Adding the bin dir to the path\n const bin = await $8e03016ecb3dd99e$var$findPython(setupDir);\n const binDir = (0, $A8hFE.dirname)(bin);\n /** The directory which the tool is installed to */ await (0, $fcca2ee3cb52e97b$export$4c25481b843feb0b)(binDir);\n installInfo = {\n installDir: binDir,\n binDir: binDir,\n bin: bin\n };\n break;\n }\n case \"darwin\":\n {\n installInfo = await (0, $7ad09143f110687f$export$ce5d13d8a85cb784)(\"python3\", version);\n // add the python and pip binaries to the path\n const brewPythonPrefix = await (0, $573df1fc47fc9677$export$db6b1668e3758717)(\"brew\", [\n \"--prefix\",\n \"python\"\n ], {\n stdio: \"pipe\"\n });\n const brewPythonBin = (0, $A8hFE.join)(brewPythonPrefix.stdout, \"libexec\", \"bin\");\n await (0, $fcca2ee3cb52e97b$export$4c25481b843feb0b)(brewPythonBin);\n break;\n }\n case \"linux\":\n if ((0, $64f7d4d3c6118037$export$d415ddb6702ec3a2)()) installInfo = await (0, $48b5fe4903818be0$export$cfa75578ee2d6e6c)(\"python\", version);\n else if ((0, $07c9db864ea9c735$export$8ce8b4b22331a8c7)()) installInfo = await (0, $5e892f3aba3794f6$export$49d4f9ba8e0dd34f)([\n {\n name: \"python3\",\n version: version\n }\n ]);\n else if ((0, $c304217cbb6a03a7$export$da8baf1d6c6802b6)()) installInfo = await (0, $4574e4c050df58da$export$d73dc343f5abf26)([\n {\n name: \"python3\",\n version: version\n },\n {\n name: \"python-is-python3\"\n }\n ]);\n else throw new Error(\"Unsupported linux distributions\");\n break;\n default:\n throw new Error(\"Unsupported platform\");\n }\n return installInfo;\n}\nasync function $8e03016ecb3dd99e$var$findPython(binDir) {\n for (const pythonBin of [\n \"python3\",\n \"python\"\n ]){\n // eslint-disable-next-line no-await-in-loop\n const foundPython = await $8e03016ecb3dd99e$var$isPythonUpToDate(pythonBin, binDir);\n if (foundPython !== undefined) return foundPython;\n }\n return undefined;\n}\nasync function $8e03016ecb3dd99e$var$isPythonUpToDate(candidate, binDir) {\n try {\n if (binDir !== undefined) {\n const pythonBinPath = (0, $A8hFE.join)(binDir, (0, $A8hFE.addExeExt)(candidate));\n if (await (0, $3WkGD.pathExists)(pythonBinPath)) {\n if (await (0, $d9c16e431e014540$export$d1f0d32b896ba08)(pythonBinPath, (0, $a1e1d3689a86c9cd$export$b0fc8ac572b39938).python)) return pythonBinPath;\n }\n }\n var _ref;\n const pythonBinPaths = (_ref = await (0, (/*@__PURE__*/$parcel$interopDefault($fdd9f5bfe94c19d6$exports)))(candidate, {\n nothrow: true,\n all: true\n })) !== null && _ref !== void 0 ? _ref : [];\n for (const pythonBinPath of pythonBinPaths){\n // eslint-disable-next-line no-await-in-loop\n if (await (0, $d9c16e431e014540$export$d1f0d32b896ba08)(pythonBinPath, (0, $a1e1d3689a86c9cd$export$b0fc8ac572b39938).python)) return pythonBinPath;\n }\n } catch {\n // fall through\n }\n return undefined;\n}\nasync function $8e03016ecb3dd99e$var$findOrSetupPip(foundPython) {\n const maybePip = await $8e03016ecb3dd99e$var$findPip();\n if (maybePip === undefined) {\n // install pip if not installed\n (0, $hHq4F.info)(\"pip was not found. Installing pip\");\n await $8e03016ecb3dd99e$var$setupPip(foundPython);\n return $8e03016ecb3dd99e$var$findPip() // recurse to check if pip is on PATH and up-to-date\n ;\n }\n return maybePip;\n}\nasync function $8e03016ecb3dd99e$var$findPip() {\n for (const pipCandidate of [\n \"pip3\",\n \"pip\"\n ]){\n // eslint-disable-next-line no-await-in-loop\n const maybePip = await $8e03016ecb3dd99e$var$isPipUptoDate(pipCandidate);\n if (maybePip !== undefined) return maybePip;\n }\n return undefined;\n}\nasync function $8e03016ecb3dd99e$var$isPipUptoDate(pip) {\n try {\n var _ref;\n const pipPaths = (_ref = await (0, (/*@__PURE__*/$parcel$interopDefault($fdd9f5bfe94c19d6$exports)))(pip, {\n nothrow: true,\n all: true\n })) !== null && _ref !== void 0 ? _ref : [];\n for (const pipPath of pipPaths){\n // eslint-disable-next-line no-await-in-loop\n if (pipPath !== null && await (0, $d9c16e431e014540$export$d1f0d32b896ba08)(pipPath, (0, $a1e1d3689a86c9cd$export$b0fc8ac572b39938).pip)) return pipPath;\n }\n } catch {\n // fall through\n }\n return undefined;\n}\nasync function $8e03016ecb3dd99e$var$setupPip(foundPython) {\n const upgraded = await $8e03016ecb3dd99e$var$ensurePipUpgrade(foundPython);\n if (!upgraded) {\n // ensure that pip is installed on Linux (happens when python is found but pip not installed)\n await (0, $13d538bb32b1caca$export$6de3fef38027e326)(\"pip\");\n // upgrade pip\n await $8e03016ecb3dd99e$var$ensurePipUpgrade(foundPython);\n }\n}\nasync function $8e03016ecb3dd99e$var$ensurePipUpgrade(foundPython) {\n try {\n await (0, $573df1fc47fc9677$export$db6b1668e3758717)(foundPython, [\n \"-m\",\n \"ensurepip\",\n \"-U\",\n \"--upgrade\"\n ], {\n stdio: \"inherit\"\n });\n return true;\n } catch (err1) {\n var _err1_toString;\n (0, $hHq4F.info)(err1 === null || err1 === void 0 ? void 0 : (_err1_toString = err1.toString) === null || _err1_toString === void 0 ? void 0 : _err1_toString.call(err1));\n try {\n // ensure pip is disabled on Ubuntu\n await (0, $573df1fc47fc9677$export$db6b1668e3758717)(foundPython, [\n \"-m\",\n \"pip\",\n \"install\",\n \"--upgrade\",\n \"pip\"\n ], {\n stdio: \"inherit\"\n });\n return true;\n } catch (err2) {\n var _err2_toString;\n (0, $hHq4F.info)(err2 === null || err2 === void 0 ? void 0 : (_err2_toString = err2.toString) === null || _err2_toString === void 0 ? void 0 : _err2_toString.call(err2));\n // pip module not found\n }\n }\n // all methods failed\n return false;\n}\nasync function $8e03016ecb3dd99e$var$addPythonBaseExecPrefix_raw(python) {\n const dirs = [];\n // detection based on the platform\n if (process.platform === \"linux\") dirs.push(\"/home/runner/.local/bin/\");\n else if (process.platform === \"darwin\") dirs.push(\"/usr/local/bin/\");\n // detection using python.sys\n const base_exec_prefix = (await (0, $2mVwa.getExecOutput)(`${python} -c \"import sys;print(sys.base_exec_prefix);\"`)).stdout.trim();\n // any of these are possible depending on the operating system!\n dirs.push((0, $A8hFE.join)(base_exec_prefix, \"Scripts\"), (0, $A8hFE.join)(base_exec_prefix, \"Scripts\", \"bin\"), (0, $A8hFE.join)(base_exec_prefix, \"bin\"));\n // remove duplicates\n return (0, $2e2fe846dc92ab85$export$7a5d5c156e7dc406)(dirs);\n}\nconst $8e03016ecb3dd99e$export$4bf645347c3b7001 = (0, $ebb78541e788df17$export$2e2bcd8739ae039)($8e03016ecb3dd99e$var$addPythonBaseExecPrefix_raw, {\n isPromise: true\n});\n\n\n\n\nfunction $8555a825dc64b9bc$export$c506eb22e615ba4a(name, version, osVersion = null) {\n if ($8555a825dc64b9bc$var$isVersionDefault(version) && process.platform === \"linux\" && osVersion !== null && name in (0, $a1e1d3689a86c9cd$export$1bb63c984aa6e760)) return $8555a825dc64b9bc$var$getDefaultLinuxVersion(osVersion, (0, $a1e1d3689a86c9cd$export$1bb63c984aa6e760)[name]);\n else if ($8555a825dc64b9bc$var$isVersionDefault(version) && name in (0, $a1e1d3689a86c9cd$export$5fb1985a02d8f66f)) return (0, $a1e1d3689a86c9cd$export$5fb1985a02d8f66f)[name];\n else if (version === \"true\") return \"\";\n return version !== null && version !== void 0 ? version : \"\";\n}\nfunction $8555a825dc64b9bc$var$isVersionDefault(version) {\n return version === \"true\" || version === undefined;\n}\n/// choose the default linux version based on ubuntu version\nfunction $8555a825dc64b9bc$var$getDefaultLinuxVersion(osVersion, toolLinuxVersions) {\n const osVersionMaj = osVersion[0];\n // find which version block the os version is in\n const satisfyingVersion = Object.keys(toolLinuxVersions).map((v)=>parseInt(v, 10)).sort((a, b)=>b - a) // sort in descending order\n .find((v)=>osVersionMaj >= v);\n return satisfyingVersion === undefined ? \"\" : toolLinuxVersions[satisfyingVersion];\n}\nfunction $8555a825dc64b9bc$export$dd13a1e418f5a5fe(opts, tools) {\n const toolsInUse = tools.filter((tool)=>opts[tool] !== undefined);\n const toolsNonDefaultVersion = toolsInUse.filter((tool)=>!$8555a825dc64b9bc$var$isVersionDefault(opts[tool]));\n const targetVersion = toolsNonDefaultVersion.length >= 1 ? opts[toolsNonDefaultVersion[0]] : \"true\";\n if (toolsNonDefaultVersion.some((tool)=>opts[tool] !== targetVersion)) // error if any explicit versions don't match the target version\n return false;\n toolsInUse.forEach((tool)=>{\n opts[tool] = targetVersion;\n });\n return true;\n}\n\n\n\nvar $hHq4F = parcelRequire(\"hHq4F\");\nvar $83e53b4a57ccf846$exports = {};\n\"use strict\";\nObject.defineProperty($83e53b4a57ccf846$exports, \"__esModule\", {\n value: true\n});\n$83e53b4a57ccf846$exports.getUbuntuVersion = void 0;\n\nfunction $83e53b4a57ccf846$var$isSystemError(e) {\n return \"errno\" in e;\n}\nfunction $83e53b4a57ccf846$var$command(exe, args) {\n return new Promise((resolve, reject)=>{\n $4umf8$child_process.execFile(exe, args, {\n encoding: \"utf8\",\n shell: false\n }, (error, stdout, stderr)=>{\n if (error) {\n if ($83e53b4a57ccf846$var$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 $83e53b4a57ccf846$var$getUbuntuVersion() {\n if (process.platform !== \"linux\") return [];\n const stdout = await $83e53b4a57ccf846$var$command(\"lsb_release\", [\n \"-a\"\n ]);\n if (stdout === null) return [];\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\") return [];\n distributorFound = true;\n }\n const desc = line.match(reDescription);\n if (desc) description = desc;\n const rel = line.match(reRelease);\n if (rel) release = rel;\n if (distributorFound && description && release) break;\n }\n if (!distributorFound) return [];\n for (const m of [\n description,\n release\n ])if (m) {\n const ss = [\n m[1],\n m[2]\n ];\n if (m[3]) ss.push(m[3]);\n return ss.map((s)=>parseInt(s, 10));\n }\n return [];\n}\n$83e53b4a57ccf846$exports.getUbuntuVersion = $83e53b4a57ccf846$var$getUbuntuVersion; //# sourceMappingURL=index.js.map\n\n\n\n\n\n\n\nasync function $1c6f48b06ad43808$var$ubuntuVersion_raw() {\n try {\n if ((0, $c304217cbb6a03a7$export$da8baf1d6c6802b6)()) {\n try {\n if ((0, (/*@__PURE__*/$parcel$interopDefault($fdd9f5bfe94c19d6$exports))).sync(\"lsb_release\", {\n nothrow: true\n }) === null) await (0, $4574e4c050df58da$export$d73dc343f5abf26)([\n {\n name: \"lsb-release\"\n }\n ]);\n } catch {\n return $1c6f48b06ad43808$var$detectUsingOsVersion();\n }\n const versionSplitted = await (0, $83e53b4a57ccf846$exports.getUbuntuVersion)();\n if (versionSplitted.length === 0) return $1c6f48b06ad43808$var$detectUsingOsVersion();\n return versionSplitted;\n } else return null;\n } catch (err) {\n (0, $hHq4F.warning)(err.toString());\n return null;\n }\n}\nconst $1c6f48b06ad43808$export$49c9cf1111dfa0ee = (0, $ebb78541e788df17$export$2e2bcd8739ae039)($1c6f48b06ad43808$var$ubuntuVersion_raw, {\n isPromise: true\n});\n/** Detect Ubuntu version using os.version() for Ubuntu based distros */ function $1c6f48b06ad43808$var$detectUsingOsVersion() {\n // #46~22.04.1-Ubuntu SMP ...\n const osVersion = (0, ($parcel$interopDefault($4umf8$os))).version();\n const versionSplitted = osVersion.split(\".\");\n const majorVersion = parseInt(versionSplitted[0].replace(\"#\", \"\"), 10);\n const minorVersion = parseInt(versionSplitted[1].replace(\"~\", \"\"), 10);\n const patchVersion = parseInt(versionSplitted[2].split(\"-\")[0], 10);\n return [\n majorVersion,\n minorVersion,\n patchVersion\n ];\n}\n\n\n\n\n\n\n\n\n\nasync function $13d538bb32b1caca$export$4020cb77ffa3ffac(name, version, options = {}) {\n return $13d538bb32b1caca$export$7c60aea099ad1c1d(await $13d538bb32b1caca$var$getPython(), name, version, options);\n}\nasync function $13d538bb32b1caca$export$7c60aea099ad1c1d(givenPython, name, version, options = {}) {\n const { usePipx: usePipx = true, user: user = true, upgrade: upgrade = false, isLibrary: isLibrary = false } = options;\n const isPipx = usePipx && !isLibrary && await $13d538bb32b1caca$export$ffe24b8e86dbc863(givenPython);\n const pip = isPipx ? \"pipx\" : \"pip\";\n const hasPackage = await $13d538bb32b1caca$var$pipHasPackage(givenPython, name);\n if (hasPackage) try {\n (0, $2heqc.info)(`Installing ${name} ${version !== null && version !== void 0 ? version : \"\"} via ${pip}`);\n const nameAndVersion = version !== undefined && version !== \"\" ? `${name}==${version}` : name;\n const upgradeFlag = upgrade ? isPipx ? [\n \"upgrade\"\n ] : [\n \"install\",\n \"--upgrade\"\n ] : [\n \"install\"\n ];\n const userFlag = !isPipx && user ? [\n \"--user\"\n ] : [];\n (0, $573df1fc47fc9677$export$28823a701bb5a12d)(givenPython, [\n \"-m\",\n pip,\n ...upgradeFlag,\n ...userFlag,\n nameAndVersion\n ], {\n stdio: \"inherit\"\n });\n } catch (err) {\n (0, $2heqc.info)(`Failed to install ${name} via ${pip}: ${err}.`);\n if (await $13d538bb32b1caca$export$6de3fef38027e326(name) === null) throw new Error(`Failed to install ${name} via ${pip}: ${err}.`);\n }\n else {\n if (await $13d538bb32b1caca$export$6de3fef38027e326(name) === null) throw new Error(`Failed to install ${name} as it was not found via ${pip} or the system package manager`);\n }\n const execPaths = await (0, $8e03016ecb3dd99e$export$4bf645347c3b7001)(givenPython);\n const binDir = await $13d538bb32b1caca$var$findBinDir(execPaths, name);\n await (0, $fcca2ee3cb52e97b$export$4c25481b843feb0b)(binDir);\n return {\n binDir: binDir\n };\n}\nasync function $13d538bb32b1caca$export$ffe24b8e86dbc863(givenPython) {\n return (await (0, $573df1fc47fc9677$export$db6b1668e3758717)(givenPython, [\n \"-m\",\n \"pipx\",\n \"--help\"\n ], {\n stdio: \"ignore\",\n reject: false\n })).exitCode === 0;\n}\nasync function $13d538bb32b1caca$var$getPython_raw() {\n const pythonBin = (await (0, $8e03016ecb3dd99e$export$2b0b68e9df3d4a02)((0, $8555a825dc64b9bc$export$c506eb22e615ba4a)(\"python\", undefined, await (0, $1c6f48b06ad43808$export$49c9cf1111dfa0ee)()), \"\", process.arch)).bin;\n if (pythonBin === undefined) throw new Error(\"Python binary was not found\");\n return pythonBin;\n}\nconst $13d538bb32b1caca$var$getPython = (0, $ebb78541e788df17$export$2e2bcd8739ae039)($13d538bb32b1caca$var$getPython_raw, {\n isPromise: true\n});\nasync function $13d538bb32b1caca$var$pipHasPackage(python, name) {\n const result = await (0, $573df1fc47fc9677$export$db6b1668e3758717)(python, [\n \"-m\",\n \"pip\",\n \"-qq\",\n \"index\",\n \"versions\",\n name\n ], {\n stdio: \"ignore\",\n reject: false\n });\n return result.exitCode === 0;\n}\nasync function $13d538bb32b1caca$var$findBinDir(dirs, name) {\n const exists = await Promise.all(dirs.map((dir)=>(0, $3WkGD.pathExists)((0, $A8hFE.join)(dir, (0, $A8hFE.addExeExt)(name)))));\n const dirIndex = exists.findIndex((exist)=>exist);\n if (dirIndex !== -1) {\n const foundDir = dirs[dirIndex];\n return foundDir;\n }\n const whichDir = (0, (/*@__PURE__*/$parcel$interopDefault($fdd9f5bfe94c19d6$exports))).sync((0, $A8hFE.addExeExt)(name), {\n nothrow: true\n });\n if (whichDir !== null) return (0, $A8hFE.dirname)(whichDir);\n return dirs[dirs.length - 1];\n}\nfunction $13d538bb32b1caca$export$6de3fef38027e326(name) {\n if (process.platform === \"linux\") {\n (0, $2heqc.info)(`Installing ${name} via the system package manager`);\n if ((0, $64f7d4d3c6118037$export$d415ddb6702ec3a2)()) return (0, $48b5fe4903818be0$export$cfa75578ee2d6e6c)(`python-${name}`);\n else if ((0, $07c9db864ea9c735$export$8ce8b4b22331a8c7)()) return (0, $5e892f3aba3794f6$export$49d4f9ba8e0dd34f)([\n {\n name: `python3-${name}`\n }\n ]);\n else if ((0, $c304217cbb6a03a7$export$da8baf1d6c6802b6)()) return (0, $4574e4c050df58da$export$d73dc343f5abf26)([\n {\n name: `python3-${name}`\n }\n ]);\n }\n return null;\n}\n\n\nfunction $7fad98b8fc122c7f$export$249d0c7d779d362f(version, _setupDir, _arch) {\n return (0, $13d538bb32b1caca$export$4020cb77ffa3ffac)(\"conan\", version);\n}\n\n\n\n\n\n\n\n\n\n\n\nasync function $287d43a812660c62$export$13d77464c548b5d3(version, _setupDir, _arch) {\n switch(process.platform){\n case \"win32\":\n {\n await (0, $9fccd3400da2cfd8$export$9f6912bc890040b2)(\"cppcheck\", version);\n const binDir = await $287d43a812660c62$var$activateWinCppcheck();\n return {\n binDir: binDir\n };\n }\n case \"darwin\":\n return (0, $7ad09143f110687f$export$ce5d13d8a85cb784)(\"cppcheck\", version);\n case \"linux\":\n if ((0, $64f7d4d3c6118037$export$d415ddb6702ec3a2)()) return (0, $48b5fe4903818be0$export$cfa75578ee2d6e6c)(\"cppcheck\", version);\n else if ((0, $07c9db864ea9c735$export$8ce8b4b22331a8c7)()) return (0, $5e892f3aba3794f6$export$49d4f9ba8e0dd34f)([\n {\n name: \"ccache\",\n version: version\n }\n ]);\n else if ((0, $c304217cbb6a03a7$export$da8baf1d6c6802b6)()) return (0, $4574e4c050df58da$export$d73dc343f5abf26)([\n {\n name: \"cppcheck\",\n version: version\n }\n ]);\n throw new Error(`Unsupported linux distribution`);\n default:\n throw new Error(`Unsupported platform`);\n }\n}\nasync function $287d43a812660c62$var$activateWinCppcheck() {\n const binDir = \"C:/Program Files/Cppcheck\";\n await (0, $fcca2ee3cb52e97b$export$4c25481b843feb0b)(binDir);\n return binDir;\n}\n\n\n\n\n\n\n\n\n\nvar $A8hFE = parcelRequire(\"A8hFE\");\n\n\nvar $hHq4F = parcelRequire(\"hHq4F\");\n\n\n\n\n\n\n\n\n\nasync function $84a50e6b88ef38c7$export$b885bd977caaafb9(version, _setupDir, _arch) {\n switch(process.platform){\n case \"win32\":\n await (0, $9fccd3400da2cfd8$export$9f6912bc890040b2)(\"graphviz\", version);\n return $84a50e6b88ef38c7$var$activateGraphviz();\n case \"darwin\":\n return (0, $7ad09143f110687f$export$ce5d13d8a85cb784)(\"graphviz\", version);\n case \"linux\":\n if ((0, $64f7d4d3c6118037$export$d415ddb6702ec3a2)()) return (0, $48b5fe4903818be0$export$cfa75578ee2d6e6c)(\"graphviz\", version);\n else if ((0, $07c9db864ea9c735$export$8ce8b4b22331a8c7)()) return (0, $5e892f3aba3794f6$export$49d4f9ba8e0dd34f)([\n {\n name: \"graphviz\",\n version: version\n }\n ]);\n else if ((0, $c304217cbb6a03a7$export$da8baf1d6c6802b6)()) return (0, $4574e4c050df58da$export$d73dc343f5abf26)([\n {\n name: \"graphviz\",\n version: version\n }\n ]);\n throw new Error(`Unsupported linux distribution`);\n default:\n throw new Error(`Unsupported platform`);\n }\n}\nasync function $84a50e6b88ef38c7$var$activateGraphviz() {\n switch(process.platform){\n case \"win32\":\n {\n const binDir = \"C:/Program Files/Graphviz/bin\";\n await (0, $fcca2ee3cb52e97b$export$4c25481b843feb0b)(binDir);\n return {\n binDir: binDir\n };\n }\n default:\n throw new Error(`Unsupported platform`);\n }\n}\n\n\n\n\n\n\n\n\nvar $3WkGD = parcelRequire(\"3WkGD\");\n\n\n/** Get the platform data for cmake */ // eslint-disable-next-line @typescript-eslint/no-unused-vars\nfunction $befd38d449a1dd77$var$getDoxygenPackageInfo(version, platform, _arch) {\n switch(platform){\n case \"linux\":\n {\n const folderName = `doxygen-${version}`;\n return {\n binRelativeDir: \"bin/\",\n binFileName: (0, $A8hFE.addExeExt)(\"doxygen\"),\n extractedFolderName: folderName,\n extractFunction: (0, $37a0cf0ca97a0456$exports.extractTar),\n url: `https://www.doxygen.nl/files/${folderName}.linux.bin.tar.gz`\n };\n }\n case \"win32\":\n {\n const folderName = `doxygen-${version}`;\n return {\n binRelativeDir: \"\",\n binFileName: (0, $A8hFE.addExeExt)(\"doxygen\"),\n extractedFolderName: folderName,\n extractFunction: (0, $1533841bc1073d6a$export$6411c5cbab21135b),\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}\nasync function $befd38d449a1dd77$export$b6e6613a954051ee(version, setupDir, arch) {\n switch(process.platform){\n case \"win32\":\n {\n // try to download the package 4 times with 2 seconds delay\n await (0, (/*@__PURE__*/$parcel$interopDefault($6d56470bebce7bd6$exports)))(()=>{\n return (0, $9fccd3400da2cfd8$export$9f6912bc890040b2)(\"doxygen.install\", version);\n }, {\n name: \"doxygen.install\",\n max: 4,\n backoffBase: 2000,\n report: (err)=>(0, $hHq4F.info)(err)\n });\n const binDir = await $befd38d449a1dd77$var$activateWinDoxygen();\n const installationInfo = {\n binDir: binDir\n };\n await (0, $84a50e6b88ef38c7$export$b885bd977caaafb9)((0, $8555a825dc64b9bc$export$c506eb22e615ba4a)(\"graphviz\", undefined), \"\", arch);\n return installationInfo;\n }\n case \"darwin\":\n {\n const installationInfo = await (0, $7ad09143f110687f$export$ce5d13d8a85cb784)(\"doxygen\", undefined);\n await (0, $84a50e6b88ef38c7$export$b885bd977caaafb9)((0, $8555a825dc64b9bc$export$c506eb22e615ba4a)(\"graphviz\", undefined), \"\", arch);\n return installationInfo;\n }\n case \"linux\":\n {\n let installationInfo;\n if (version === \"\" || (0, $64f7d4d3c6118037$export$d415ddb6702ec3a2)() || (0, $07c9db864ea9c735$export$8ce8b4b22331a8c7)()) {\n if ((0, $64f7d4d3c6118037$export$d415ddb6702ec3a2)()) installationInfo = await (0, $48b5fe4903818be0$export$cfa75578ee2d6e6c)(\"doxygen\", version);\n else if ((0, $07c9db864ea9c735$export$8ce8b4b22331a8c7)()) return (0, $5e892f3aba3794f6$export$49d4f9ba8e0dd34f)([\n {\n name: \"doxygen\",\n version: version\n }\n ]);\n else if ((0, $c304217cbb6a03a7$export$da8baf1d6c6802b6)()) installationInfo = await (0, $4574e4c050df58da$export$d73dc343f5abf26)([\n {\n name: \"doxygen\",\n version: version\n }\n ]);\n else throw new Error(`Unsupported linux distributions`);\n } else if ((0, $c304217cbb6a03a7$export$da8baf1d6c6802b6)()) try {\n // doxygen on stable Ubuntu repositories is very old. So, we use get the binary from the website itself\n installationInfo = await (0, $d14c914d00b0f583$export$334f77c9844c21f6)(\"doxygen\", version, $befd38d449a1dd77$var$getDoxygenPackageInfo, setupDir, arch);\n await (0, $4574e4c050df58da$export$d73dc343f5abf26)([\n {\n name: \"libclang-cpp9\"\n }\n ]);\n } catch (err) {\n (0, $hHq4F.notice)(`Failed to download doxygen binary. ${err}. Falling back to apt-get.`);\n installationInfo = await (0, $4574e4c050df58da$export$d73dc343f5abf26)([\n {\n name: \"doxygen\"\n }\n ]);\n }\n else throw new Error(`Unsupported linux distributions`);\n await (0, $84a50e6b88ef38c7$export$b885bd977caaafb9)((0, $8555a825dc64b9bc$export$c506eb22e615ba4a)(\"graphviz\", undefined, await (0, $1c6f48b06ad43808$export$49c9cf1111dfa0ee)()), \"\", arch);\n return installationInfo;\n }\n default:\n throw new Error(`Unsupported platform`);\n }\n}\nasync function $befd38d449a1dd77$var$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 ])// eslint-disable-next-line no-await-in-loop\n if (await (0, $3WkGD.pathExists)((0, $A8hFE.join)(binDir, \"doxygen.exe\"))) {\n // eslint-disable-next-line no-await-in-loop\n await (0, $fcca2ee3cb52e97b$export$4c25481b843feb0b)(binDir);\n return binDir;\n }\n throw new Error(\"Failed to find doxygen binary\");\n default:\n throw new Error(`Unsupported platform`);\n }\n}\n\n\n\n\n\n\n\n\nvar $7GceF = parcelRequire(\"7GceF\");\n\nvar $255mi = parcelRequire(\"255mi\");\n\nvar $2mVwa = parcelRequire(\"2mVwa\");\n\n\nvar $hHq4F = parcelRequire(\"hHq4F\");\nasync function $b1bd4a63b941b63a$export$28f5fd35e3005b7a() {\n if (process.platform === \"darwin\") try {\n const xcrun = await (0, $2mVwa.getExecOutput)(\"xcrun --sdk macosx --show-sdk-path\");\n const sdkroot = xcrun.stdout || xcrun.stderr;\n if (sdkroot) await (0, $fcca2ee3cb52e97b$export$f63d3080ce25e0fd)(\"SDKROOT\", sdkroot.trim());\n else (0, $hHq4F.error)(`SDKROOT not set`);\n } catch (e) {\n (0, $hHq4F.error)(e);\n }\n}\n\n\n\nvar $A8hFE = parcelRequire(\"A8hFE\");\n\nvar $hHq4F = parcelRequire(\"hHq4F\");\n\nvar $cLprm = parcelRequire(\"cLprm\");\n\n\n\n\n\n\n\nvar $3WkGD = parcelRequire(\"3WkGD\");\n\nvar $3f19caa876428bf4$var$$parcel$__dirname = $4umf8$path.resolve(__dirname, \"../../src/gcc\");\n// https://github.com/brechtsanders/winlibs_mingw/releases\nconst $3f19caa876428bf4$var$GccToMingwInfo = {\n \"13\": {\n releaseName: \"13.2.0-16.0.6-11.0.0-ucrt-r1\",\n fileSuffix: \"13.2.0-mingw-w64ucrt-11.0.0-r1\"\n },\n \"13.2-ucrt\": {\n releaseName: \"13.2.0-16.0.6-11.0.0-ucrt-r1\",\n fileSuffix: \"13.2.0-mingw-w64ucrt-11.0.0-r1\"\n },\n \"13.2-ucrt-mcf\": {\n releaseName: \"13.2.0mcf-16.0.6-11.0.1-ucrt-r2\",\n fileSuffix: \"13.2.0-mingw-w64ucrt-11.0.1-r2\"\n },\n \"13.2-msvcrt\": {\n releaseName: \"13.2.0-16.0.6-11.0.1-msvcrt-r1\",\n fileSuffix: \"13.2.0-mingw-w64msvcrt-11.0.1-r1\"\n },\n \"13.1-ucrt\": {\n releaseName: \"13.1.0posix-16.0.3-11.0.0-ucrt-r1\",\n fileSuffix: \"13.1.0-mingw-w64ucrt-11.0.0-r1\"\n },\n \"13.1-msvcrt\": {\n releaseName: \"13.1.0posix-16.0.3-11.0.0-msvcrt-r1\",\n fileSuffix: \"13.1.0-mingw-w64msvcrt-11.0.0-r1\"\n },\n \"12\": {\n releaseName: \"12.3.0-16.0.4-11.0.0-ucrt-r1\",\n fileSuffix: \"12.3.0-mingw-w64ucrt-11.0.0-r1\"\n },\n \"12.3.0-ucrt\": {\n releaseName: \"12.3.0-16.0.4-11.0.0-ucrt-r1\",\n fileSuffix: \"12.3.0-mingw-w64ucrt-11.0.0-r1\"\n },\n \"12.3.0-msvcrt\": {\n releaseName: \"12.3.0-16.0.4-11.0.0-msvcrt-r1\",\n fileSuffix: \"12.3.0-mingw-w64msvcrt-11.0.0-r1\"\n },\n \"12.2.0-ucrt\": {\n releaseName: \"12.2.0-14.0.6-10.0.0-ucrt-r2\",\n fileSuffix: \"12.2.0-mingw-w64ucrt-10.0.0-r2\"\n },\n \"12.2.0-msvcrt\": {\n releaseName: \"12.2.0-14.0.6-10.0.0-msvcrt-r2\",\n fileSuffix: \"12.2.0-mingw-w64msvcrt-10.0.0-r2\"\n },\n \"12.1.0-ucrt\": {\n releaseName: \"12.1.0-14.0.4-10.0.0-ucrt-r2\",\n fileSuffix: \"12.1.0-mingw-w64ucrt-10.0.0-r2\"\n },\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\": {\n releaseName: \"11.3.0-14.0.3-10.0.0-ucrt-r3\",\n fileSuffix: \"11.3.0-mingw-w64ucrt-10.0.0-r3\"\n },\n \"11.3.0-ucrt\": {\n releaseName: \"11.3.0-14.0.3-10.0.0-ucrt-r3\",\n fileSuffix: \"11.3.0-mingw-w64ucrt-10.0.0-r3\"\n },\n \"11.3.0-msvcrt\": {\n releaseName: \"11.3.0-14.0.3-10.0.0-msvcrt-r3\",\n fileSuffix: \"11.3.0-mingw-w64msvcrt-10.0.0-r3\"\n },\n \"11.2.0-ucrt\": {\n releaseName: \"11.2.0-9.0.0-ucrt-r5\",\n fileSuffix: \"11.2.0-mingw-w64ucrt-9.0.0-r5\"\n },\n \"11.2.0-msvcrt\": {\n releaseName: \"11.2.0-9.0.0-msvcrt-r5\",\n fileSuffix: \"11.2.0-mingw-w64msvcrt-9.0.0-r5\"\n },\n \"10\": {\n releaseName: \"10.5.0-11.0.1-msvcrt-r1\",\n fileSuffix: \"10.5.0-mingw-w64msvcrt-11.0.1-r1\"\n },\n \"10.5.0-msvcrt\": {\n releaseName: \"10.5.0-11.0.1-msvcrt-r1\",\n fileSuffix: \"10.5.0-mingw-w64msvcrt-11.0.1-r1\"\n },\n \"10.3.0\": {\n releaseName: \"10.3.0-12.0.0-9.0.0-r2\",\n fileSuffix: \"10.3.0-llvm-12.0.0-mingw-w64-9.0.0-r2\"\n },\n \"10.2.0\": {\n releaseName: \"10.2.0-7.0.0-r4\",\n fileSuffix: \"10.2.0-llvm-10.0.1-mingw-w64-7.0.0-r4\"\n },\n \"9\": {\n releaseName: \"9.4.0-9.0.0-r1\",\n fileSuffix: \"9.4.0-mingw-w64-9.0.0-r1\"\n },\n \"9.4.0\": {\n releaseName: \"9.4.0-9.0.0-r1\",\n fileSuffix: \"9.4.0-mingw-w64-9.0.0-r1\"\n }\n};\nfunction $3f19caa876428bf4$var$getGccPackageInfo(version, platform, arch) {\n switch(platform){\n case \"win32\":\n {\n const mingwInfo = $3f19caa876428bf4$var$GccToMingwInfo[version];\n if (mingwInfo === undefined) throw new Error(`mingw version ${version} is not supported`);\n const mingwArch = arch === \"ia32\" ? \"i686\" : \"x86_64\";\n const exceptionModel = \"seh\" // SEH is native windows exception model https://github.com/brechtsanders/winlibs_mingw/issues/4#issuecomment-599296483\n ;\n return {\n binRelativeDir: \"bin/\",\n binFileName: (0, $A8hFE.addExeExt)(\"g++\"),\n extractedFolderName: \"mingw64\",\n extractFunction: (0, $1533841bc1073d6a$export$eecfe186811d4a20),\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}\nasync function $3f19caa876428bf4$export$405fab3de79b77b(version, setupDir, arch) {\n let installationInfo;\n switch(process.platform){\n case \"win32\":\n if (arch === \"arm\" || arch === \"arm64\") await (0, $9fccd3400da2cfd8$export$9f6912bc890040b2)(\"gcc-arm-embedded\", version);\n try {\n installationInfo = await (0, $d14c914d00b0f583$export$334f77c9844c21f6)(\"g++\", version, $3f19caa876428bf4$var$getGccPackageInfo, setupDir, arch);\n } catch (err) {\n (0, $hHq4F.info)(`Failed to download g++ binary. ${err}. Falling back to chocolatey.`);\n installationInfo = await $3f19caa876428bf4$var$setupChocoMingw(version, arch);\n }\n break;\n case \"darwin\":\n installationInfo = await (0, $7ad09143f110687f$export$ce5d13d8a85cb784)(\"gcc\", version);\n break;\n case \"linux\":\n if (arch === \"x64\") {\n if ((0, $64f7d4d3c6118037$export$d415ddb6702ec3a2)()) installationInfo = await (0, $48b5fe4903818be0$export$cfa75578ee2d6e6c)(\"gcc\", version);\n else if ((0, $07c9db864ea9c735$export$8ce8b4b22331a8c7)()) installationInfo = await (0, $5e892f3aba3794f6$export$49d4f9ba8e0dd34f)([\n {\n name: \"gcc\",\n version: version\n },\n {\n name: \"gcc-c++\",\n version: version\n },\n {\n name: \"libstdc++-devel\"\n }\n ]);\n else if ((0, $c304217cbb6a03a7$export$da8baf1d6c6802b6)()) installationInfo = await (0, $4574e4c050df58da$export$d73dc343f5abf26)([\n {\n name: \"gcc\",\n version: version,\n repositories: [\n \"ppa:ubuntu-toolchain-r/test\"\n ]\n },\n {\n name: \"g++\",\n version: version,\n repositories: [\n \"ppa:ubuntu-toolchain-r/test\"\n ]\n }\n ]);\n } else {\n (0, $hHq4F.info)(`Install g++-multilib because gcc for ${arch} was requested`);\n if ((0, $64f7d4d3c6118037$export$d415ddb6702ec3a2)()) await (0, $48b5fe4903818be0$export$cfa75578ee2d6e6c)(\"gcc-multilib\", version);\n else if ((0, $c304217cbb6a03a7$export$da8baf1d6c6802b6)()) await (0, $4574e4c050df58da$export$d73dc343f5abf26)([\n {\n name: \"gcc-multilib\",\n version: version,\n repositories: [\n \"ppa:ubuntu-toolchain-r/test\"\n ]\n }\n ]);\n }\n break;\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 if (installationInfo !== undefined) {\n await $3f19caa876428bf4$var$activateGcc(version, installationInfo.binDir);\n return installationInfo;\n }\n return undefined;\n}\nasync function $3f19caa876428bf4$export$f115c01d224b9e9a(version, setupDir, arch) {\n let installationInfo;\n switch(process.platform){\n case \"win32\":\n case \"darwin\":\n return $3f19caa876428bf4$export$405fab3de79b77b(version, setupDir, arch);\n case \"linux\":\n if ((0, $64f7d4d3c6118037$export$d415ddb6702ec3a2)()) installationInfo = await (0, $48b5fe4903818be0$export$cfa75578ee2d6e6c)(\"mingw-w64-gcc\", version);\n else if ((0, $07c9db864ea9c735$export$8ce8b4b22331a8c7)()) installationInfo = await (0, $5e892f3aba3794f6$export$49d4f9ba8e0dd34f)([\n {\n name: \"mingw64-gcc\",\n version: version\n }\n ]);\n else if ((0, $c304217cbb6a03a7$export$da8baf1d6c6802b6)()) installationInfo = await (0, $4574e4c050df58da$export$d73dc343f5abf26)([\n {\n name: \"mingw-w64\",\n version: version,\n repositories: [\n \"ppa:ubuntu-toolchain-r/test\"\n ]\n }\n ]);\n break;\n default:\n throw new Error(`Unsupported platform for ${arch}`);\n }\n if (installationInfo !== undefined) // TODO: setup alternatives and update CC/CXX env. ?\n //Setting up g++-mingw-w64-i686-win32 (10.3.0-14ubuntu1+24.3) ...\n // update-alternatives: using /usr/bin/i686-w64-mingw32-g++-win32 to provide /usr/bin/i686-w64-mingw32-g++ (i686-w64-mingw32-g++) in auto mode\n //Setting up g++-mingw-w64-x86-64-win32 (10.3.0-14ubuntu1+24.3) ...\n // update-alternatives: using /usr/bin/x86_64-w64-mingw32-g++-win32 to provide /usr/bin/x86_64-w64-mingw32-g++ (x86_64-w64-mingw32-g++) in auto mode\n //await activateGcc(version, installationInfo.binDir)\n return installationInfo;\n return undefined;\n}\nasync function $3f19caa876428bf4$var$setupChocoMingw(version, arch) {\n await (0, $9fccd3400da2cfd8$export$9f6912bc890040b2)(\"mingw\", version);\n let binDir;\n var _process_env_ChocolateyInstall, _process_env_ChocolateyInstall1;\n if (arch === \"x64\" && await (0, $3WkGD.pathExists)(\"C:/tools/mingw64/bin\")) {\n binDir = \"C:/tools/mingw64/bin\";\n await (0, $fcca2ee3cb52e97b$export$4c25481b843feb0b)(binDir);\n } else if (arch === \"ia32\" && await (0, $3WkGD.pathExists)(\"C:/tools/mingw32/bin\")) {\n binDir = \"C:/tools/mingw32/bin\";\n await (0, $fcca2ee3cb52e97b$export$4c25481b843feb0b)(binDir);\n } else if (await (0, $3WkGD.pathExists)(`${(_process_env_ChocolateyInstall = process.env.ChocolateyInstall) !== null && _process_env_ChocolateyInstall !== void 0 ? _process_env_ChocolateyInstall : \"C:/ProgramData/chocolatey\"}/bin/g++.exe`)) binDir = `${(_process_env_ChocolateyInstall1 = process.env.ChocolateyInstall) !== null && _process_env_ChocolateyInstall1 !== void 0 ? _process_env_ChocolateyInstall1 : \"C:/ProgramData/chocolatey\"}/bin`;\n if (binDir !== undefined) return {\n binDir: binDir\n };\n return undefined;\n}\nasync function $3f19caa876428bf4$var$activateGcc(version, binDir) {\n const promises = [];\n // Setup gcc as the compiler\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 if (process.platform === \"win32\") promises.push((0, $fcca2ee3cb52e97b$export$f63d3080ce25e0fd)(\"CC\", (0, $A8hFE.addExeExt)(`${binDir}/gcc`)), (0, $fcca2ee3cb52e97b$export$f63d3080ce25e0fd)(\"CXX\", (0, $A8hFE.addExeExt)(`${binDir}/g++`)));\n else {\n var _semverCoerce;\n const majorVersion = (0, (/*@__PURE__*/$parcel$interopDefault($7GceF)))((_semverCoerce = (0, (/*@__PURE__*/$parcel$interopDefault($255mi)))(version)) !== null && _semverCoerce !== void 0 ? _semverCoerce : version);\n if (majorVersion >= 5) {\n promises.push((0, $fcca2ee3cb52e97b$export$f63d3080ce25e0fd)(\"CC\", `${binDir}/gcc-${majorVersion}`), (0, $fcca2ee3cb52e97b$export$f63d3080ce25e0fd)(\"CXX\", `${binDir}/g++-${majorVersion}`));\n if ((0, $c304217cbb6a03a7$export$da8baf1d6c6802b6)()) promises.push((0, $4574e4c050df58da$export$6fe6436bd9f53d02)(\"cc\", `${binDir}/gcc-${majorVersion}`), (0, $4574e4c050df58da$export$6fe6436bd9f53d02)(\"cxx\", `${binDir}/g++-${majorVersion}`), (0, $4574e4c050df58da$export$6fe6436bd9f53d02)(\"gcc\", `${binDir}/gcc-${majorVersion}`), (0, $4574e4c050df58da$export$6fe6436bd9f53d02)(\"g++\", `${binDir}/g++-${majorVersion}`));\n } else {\n promises.push((0, $fcca2ee3cb52e97b$export$f63d3080ce25e0fd)(\"CC\", `${binDir}/gcc-${version}`), (0, $fcca2ee3cb52e97b$export$f63d3080ce25e0fd)(\"CXX\", `${binDir}/g++-${version}`));\n if ((0, $c304217cbb6a03a7$export$da8baf1d6c6802b6)()) promises.push((0, $4574e4c050df58da$export$6fe6436bd9f53d02)(\"cc\", `${binDir}/gcc-${version}`), (0, $4574e4c050df58da$export$6fe6436bd9f53d02)(\"cxx\", `${binDir}/g++-${version}`), (0, $4574e4c050df58da$export$6fe6436bd9f53d02)(\"gcc\", `${binDir}/gcc-${version}`), (0, $4574e4c050df58da$export$6fe6436bd9f53d02)(\"g++\", `${binDir}/g++-${version}`));\n }\n }\n promises.push((0, $b1bd4a63b941b63a$export$28f5fd35e3005b7a)());\n if (0, $cLprm.GITHUB_ACTIONS) await $3f19caa876428bf4$var$addGccLoggingMatcher();\n await Promise.all(promises);\n}\nasync function $3f19caa876428bf4$var$addGccLoggingMatcher() {\n const matcherPath = (0, $A8hFE.join)($3f19caa876428bf4$var$$parcel$__dirname, \"gcc_matcher.json\");\n if (!await (0, $3WkGD.pathExists)(matcherPath)) return (0, $hHq4F.warning)(\"the gcc_matcher.json file does not exist in the same folder as setup-cpp.js\");\n (0, $hHq4F.info)(`::add-matcher::${matcherPath}`);\n}\n\n\n\n\n\nvar $eO4vc = parcelRequire(\"eO4vc\");\n\nvar $7GceF = parcelRequire(\"7GceF\");\nfunction $88e2c066ab70c051$export$b98d69f362caf61f(version, _setupDir, _arch) {\n return (0, $13d538bb32b1caca$export$4020cb77ffa3ffac)(\"gcovr\", version);\n}\nfunction $88e2c066ab70c051$export$2a0488baf2a20c0f() {\n return (0, $fcca2ee3cb52e97b$export$f63d3080ce25e0fd)(\"GCOV\", \"llvm-cov gcov\");\n}\nfunction $88e2c066ab70c051$export$41dabde4775ee2aa(gccVersion) {\n const gccSemver = (0, (/*@__PURE__*/$parcel$interopDefault($eO4vc)))(gccVersion);\n const gccMajor = gccSemver !== null ? (0, (/*@__PURE__*/$parcel$interopDefault($7GceF)))(gccSemver) : gccVersion;\n const gcov = gccMajor !== \"\" ? `gcov-${gccMajor}` : \"gcov\";\n return (0, $fcca2ee3cb52e97b$export$f63d3080ce25e0fd)(\"GCOV\", gcov);\n}\n\n\n\n\n\nvar $A8hFE = parcelRequire(\"A8hFE\");\n\n\n\n\n\n\n\n\n\n\n\n\n\nvar $hHq4F = parcelRequire(\"hHq4F\");\n\n\nvar $A8hFE = parcelRequire(\"A8hFE\");\n\n\n/** Get the platform name Ninja uses in their download links */ function $33611b5480e1148e$var$getNinjaPlatform(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/** Get the platform data for ninja */ // eslint-disable-next-line @typescript-eslint/no-unused-vars\nfunction $33611b5480e1148e$var$getNinjaPackageInfo(version, platform, _arch) {\n const ninjaPlatform = $33611b5480e1148e$var$getNinjaPlatform(platform);\n return {\n binRelativeDir: \"\",\n binFileName: (0, $A8hFE.addExeExt)(\"ninja\"),\n extractedFolderName: \"\",\n extractFunction: (0, $1533841bc1073d6a$export$6411c5cbab21135b),\n url: `https://github.com/ninja-build/ninja/releases/download/v${version}/ninja-${ninjaPlatform}.zip`\n };\n}\nfunction $33611b5480e1148e$export$e6190f4bfe2ef71(version, setupDir, arch) {\n return (0, $d14c914d00b0f583$export$334f77c9844c21f6)(\"ninja\", version, $33611b5480e1148e$var$getNinjaPackageInfo, setupDir, arch);\n}\n\n\n\n\nvar $b57152bab0b5e0d6$var$$parcel$__dirname = $4umf8$path.resolve(__dirname, \"../../src/kcov\");\nfunction $b57152bab0b5e0d6$var$getDownloadKcovPackageInfo(version) {\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: (0, $A8hFE.addExeExt)(\"kcov\"),\n extractFunction: (0, $1533841bc1073d6a$export$2ab07ac150064014)\n };\n}\nfunction $b57152bab0b5e0d6$var$getBuildKcovPackageInfo(version) {\n return {\n url: `https://github.com/SimonKagstrom/kcov/archive/refs/tags/${version}.tar.gz`,\n extractedFolderName: \"\",\n binRelativeDir: \"build/src\",\n binFileName: (0, $A8hFE.addExeExt)(\"kcov\"),\n extractFunction: $b57152bab0b5e0d6$var$buildKcov\n };\n}\nasync function $b57152bab0b5e0d6$var$buildKcov(file, dest) {\n const out = await (0, $1533841bc1073d6a$export$2ab07ac150064014)(file, dest, [\n \"--strip-components=1\"\n ]);\n // build after extraction using CMake\n const cmake = await $b57152bab0b5e0d6$var$getCmake();\n if (process.platform === \"linux\") {\n if ((0, $64f7d4d3c6118037$export$d415ddb6702ec3a2)()) await Promise.all([\n (0, $48b5fe4903818be0$export$cfa75578ee2d6e6c)(\"libdwarf\"),\n (0, $48b5fe4903818be0$export$cfa75578ee2d6e6c)(\"libcurl-openssl\")\n ]);\n else if ((0, $07c9db864ea9c735$export$8ce8b4b22331a8c7)()) await (0, $5e892f3aba3794f6$export$49d4f9ba8e0dd34f)([\n {\n name: \"libdwarf-devel\"\n },\n {\n name: \"libcurl-devel\"\n }\n ]);\n else if ((0, $c304217cbb6a03a7$export$da8baf1d6c6802b6)()) await (0, $4574e4c050df58da$export$d73dc343f5abf26)([\n {\n name: \"libdw-dev\"\n },\n {\n name: \"libcurl4-openssl-dev\"\n }\n ]);\n }\n // apply gcc13.patch\n try {\n if ((0, (/*@__PURE__*/$parcel$interopDefault($fdd9f5bfe94c19d6$exports))).sync(\"patch\", {\n nothrow: true\n }) !== null) {\n const patch = (0, $A8hFE.join)($b57152bab0b5e0d6$var$$parcel$__dirname, \"gcc13.patch\");\n await (0, $573df1fc47fc9677$export$db6b1668e3758717)(\"patch\", [\n \"-N\",\n \"-p1\",\n \"-i\",\n patch\n ], {\n cwd: out,\n stdio: \"inherit\"\n });\n } else (0, $hHq4F.info)(\"`patch` not found, skipping gcc13.patch, kcov may not build on gcc 13\");\n } catch {\n // ignore\n }\n const buildDir = (0, $A8hFE.join)(out, \"build\");\n await (0, $573df1fc47fc9677$export$db6b1668e3758717)(cmake, [\n \"-S\",\n out,\n \"-B\",\n buildDir,\n \"-DCMAKE_BUILD_TYPE=Release\",\n \"-G\",\n \"Ninja\"\n ], {\n cwd: out,\n stdio: \"inherit\"\n });\n await (0, $573df1fc47fc9677$export$db6b1668e3758717)(cmake, [\n \"--build\",\n buildDir,\n \"--config\",\n \"Release\"\n ], {\n cwd: out,\n stdio: \"inherit\"\n });\n // execRootSync(cmake, [\"--install\", buildDir], out)\n // return \"user/local/bin\" // the cmake install prefix\n return out;\n}\nasync function $b57152bab0b5e0d6$var$getCmake() {\n let cmake = (0, (/*@__PURE__*/$parcel$interopDefault($fdd9f5bfe94c19d6$exports))).sync(\"cmake\", {\n nothrow: true\n });\n if (cmake === null) {\n const { binDir: binDir } = await (0, $6ca1cdfc8544c646$export$c28663a621f418ce)((0, $8555a825dc64b9bc$export$c506eb22e615ba4a)(\"cmake\", undefined, await (0, $1c6f48b06ad43808$export$49c9cf1111dfa0ee)()), (0, $A8hFE.join)((0, $f19d14aa12f0fb90$export$8312d9eeba321950)(\"\"), \"cmake\"), \"\");\n cmake = (0, $A8hFE.join)(binDir, \"cmake\");\n }\n const ninja = (0, (/*@__PURE__*/$parcel$interopDefault($fdd9f5bfe94c19d6$exports))).sync(\"ninja\", {\n nothrow: true\n });\n if (ninja === null) await (0, $33611b5480e1148e$export$e6190f4bfe2ef71)((0, $8555a825dc64b9bc$export$c506eb22e615ba4a)(\"ninja\", undefined, await (0, $1c6f48b06ad43808$export$49c9cf1111dfa0ee)()), (0, $A8hFE.join)((0, $f19d14aa12f0fb90$export$8312d9eeba321950)(\"\"), \"ninja\"), \"\");\n return cmake;\n}\nasync function $b57152bab0b5e0d6$export$abb7c2ff987b1f6b(versionGiven, setupDir, arch) {\n if (process.platform !== \"linux\") {\n (0, $hHq4F.info)(\"Kcov is not supported on non-linux\");\n return;\n }\n // parse version\n const versionSplit = versionGiven.split(\"-\");\n let version = (0, $d9c16e431e014540$export$6863a97504984656)(versionSplit[0]);\n const installMethod = versionSplit[1];\n const version_number = (0, $d9c16e431e014540$export$b19007c0050a2fcc)(version);\n // fix inconsistency in tagging\n if (version_number === 38) version = \"v38\";\n let installationInfo;\n if (installMethod === \"binary\" && version_number >= 39) {\n installationInfo = await (0, $d14c914d00b0f583$export$334f77c9844c21f6)(\"kcov\", version, $b57152bab0b5e0d6$var$getDownloadKcovPackageInfo, setupDir, arch);\n if ((0, $64f7d4d3c6118037$export$d415ddb6702ec3a2)()) await (0, $48b5fe4903818be0$export$cfa75578ee2d6e6c)(\"binutils\");\n else if ((0, $07c9db864ea9c735$export$8ce8b4b22331a8c7)()) await (0, $5e892f3aba3794f6$export$49d4f9ba8e0dd34f)([\n {\n name: \"binutils\"\n }\n ]);\n else if ((0, $c304217cbb6a03a7$export$da8baf1d6c6802b6)()) await (0, $4574e4c050df58da$export$d73dc343f5abf26)([\n {\n name: \"libbinutils\"\n }\n ]);\n return installationInfo;\n } else installationInfo = await (0, $d14c914d00b0f583$export$334f77c9844c21f6)(\"kcov\", version, $b57152bab0b5e0d6$var$getBuildKcovPackageInfo, setupDir, arch);\n return installationInfo;\n}\n\n\n\nvar $cLprm = parcelRequire(\"cLprm\");\n\nvar $hHq4F = parcelRequire(\"hHq4F\");\n\n\n\nvar $3WkGD = parcelRequire(\"3WkGD\");\n\nvar $A8hFE = parcelRequire(\"A8hFE\");\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nvar $2heqc = parcelRequire(\"2heqc\");\n\nvar $hHq4F = parcelRequire(\"hHq4F\");\n\nvar $A8hFE = parcelRequire(\"A8hFE\");\n\n// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n// @ts-ignore\nvar $cf72a61356fc8050$export$3c7cae5a162b1458;\nvar $cf72a61356fc8050$export$704f0be24425353b;\nvar $cf72a61356fc8050$export$f49c12d2898d28cb;\nvar $cf72a61356fc8050$export$a6a3bfb882356813;\nvar $cf72a61356fc8050$export$443b8bb890f5027e;\n\nvar $2heqc = parcelRequire(\"2heqc\");\n\n\n\n\nconst $cf72a61356fc8050$var$PROGRAM_FILES_X86 = $4umf8$process.env[\"ProgramFiles(x86)\"];\nconst $cf72a61356fc8050$var$PROGRAM_FILES = [\n $4umf8$process.env[\"ProgramFiles(x86)\"],\n $4umf8$process.env[\"ProgramFiles\"]\n];\nconst $cf72a61356fc8050$var$EDITIONS = [\n \"Enterprise\",\n \"Professional\",\n \"Community\",\n \"BuildTools\"\n];\nconst $cf72a61356fc8050$var$YEARS = [\n \"2022\",\n \"2019\",\n \"2017\"\n];\nconst $cf72a61356fc8050$var$VsYearVersion = {\n \"2022\": \"17.0\",\n \"2019\": \"16.0\",\n \"2017\": \"15.0\",\n \"2015\": \"14.0\",\n \"2013\": \"12.0\"\n};\nfunction $cf72a61356fc8050$var$vsversion_to_versionnumber(vsversion) {\n if (Object.values($cf72a61356fc8050$var$VsYearVersion).includes(vsversion)) return vsversion;\n else {\n if (vsversion in $cf72a61356fc8050$var$VsYearVersion) return $cf72a61356fc8050$var$VsYearVersion[vsversion];\n }\n return vsversion;\n}\n$cf72a61356fc8050$export$3c7cae5a162b1458 = $cf72a61356fc8050$var$vsversion_to_versionnumber;\nfunction $cf72a61356fc8050$var$vsversion_to_year(vsversion) {\n if (Object.keys($cf72a61356fc8050$var$VsYearVersion).includes(vsversion)) return vsversion;\n else for (const [year, ver] of Object.entries($cf72a61356fc8050$var$VsYearVersion)){\n if (ver === vsversion) return year;\n }\n return vsversion;\n}\n$cf72a61356fc8050$export$704f0be24425353b = $cf72a61356fc8050$var$vsversion_to_year;\nconst $cf72a61356fc8050$var$VSWHERE_PATH = `${$cf72a61356fc8050$var$PROGRAM_FILES_X86}\\\\Microsoft Visual Studio\\\\Installer`;\nfunction $cf72a61356fc8050$var$findWithVswhere(pattern, version_pattern) {\n try {\n let installationPath = $4umf8$child_process.execSync(`vswhere -products * ${version_pattern} -prerelease -property installationPath`).toString().trim();\n return installationPath + \"\\\\\" + pattern;\n } catch (e) {\n $2heqc.warning(`vswhere failed: ${e}`);\n }\n return null;\n}\n$cf72a61356fc8050$export$f49c12d2898d28cb = $cf72a61356fc8050$var$findWithVswhere;\nfunction $cf72a61356fc8050$var$findVcvarsall(vsversion) {\n const vsversion_number = $cf72a61356fc8050$var$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 version_pattern = \"-latest\";\n // If vswhere is available, ask it about the location of the latest Visual Studio.\n let path = $cf72a61356fc8050$var$findWithVswhere(\"VC\\\\Auxiliary\\\\Build\\\\vcvarsall.bat\", version_pattern);\n if (path && $4umf8$fs.existsSync(path)) {\n $2heqc.info(`Found with vswhere: ${path}`);\n return path;\n }\n $2heqc.info(\"Not found with vswhere\");\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 ? [\n $cf72a61356fc8050$var$vsversion_to_year(vsversion)\n ] : $cf72a61356fc8050$var$YEARS;\n for (const prog_files of $cf72a61356fc8050$var$PROGRAM_FILES){\n for (const ver of years)for (const ed of $cf72a61356fc8050$var$EDITIONS){\n path = `${prog_files}\\\\Microsoft Visual Studio\\\\${ver}\\\\${ed}\\\\VC\\\\Auxiliary\\\\Build\\\\vcvarsall.bat`;\n $2heqc.info(`Trying standard location: ${path}`);\n if ($4umf8$fs.existsSync(path)) {\n $2heqc.info(`Found standard location: ${path}`);\n return path;\n }\n }\n }\n $2heqc.info(\"Not found in standard locations\");\n // Special case for Visual Studio 2015 (and maybe earlier), try it out too.\n path = `${$cf72a61356fc8050$var$PROGRAM_FILES_X86}\\\\Microsoft Visual C++ Build Tools\\\\vcbuildtools.bat`;\n if ($4umf8$fs.existsSync(path)) {\n $2heqc.info(`Found VS 2015: ${path}`);\n return path;\n }\n $2heqc.info(`Not found in VS 2015 location: ${path}`);\n throw new Error(\"Microsoft Visual Studio not found\");\n}\n$cf72a61356fc8050$export$a6a3bfb882356813 = $cf72a61356fc8050$var$findVcvarsall;\nfunction $cf72a61356fc8050$var$isPathVariable(name) {\n const pathLikeVariables = [\n \"PATH\",\n \"INCLUDE\",\n \"LIB\",\n \"LIBPATH\"\n ];\n return pathLikeVariables.indexOf(name.toUpperCase()) != -1;\n}\nfunction $cf72a61356fc8050$var$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/** See https://github.com/ilammy/msvc-dev-cmd#inputs */ function $cf72a61356fc8050$var$setupMSVCDevCmd(arch, sdk, toolset, uwp, spectre, vsversion) {\n if ($4umf8$process.platform != \"win32\") {\n $2heqc.info(\"This is not a Windows virtual environment, bye!\");\n return;\n }\n // Add standard location of \"vswhere\" to PATH, in case it's not there.\n $4umf8$process.env.PATH += $4umf8$path.delimiter + $cf72a61356fc8050$var$VSWHERE_PATH;\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) arch = arch_aliases[arch.toLowerCase()];\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 var args = [\n arch\n ];\n if (uwp == \"true\") args.push(\"uwp\");\n if (sdk) args.push(sdk);\n if (toolset) args.push(`-vcvars_ver=${toolset}`);\n if (spectre == \"true\") args.push(\"-vcvars_spectre_libs=spectre\");\n const vcvars = `\"${$cf72a61356fc8050$var$findVcvarsall(vsversion)}\" ${args.join(\" \")}`;\n $2heqc.debug(`vcvars command-line: ${vcvars}`);\n const cmd_output_string = $4umf8$child_process.execSync(`set && cls && ${vcvars} && cls && set`, {\n shell: \"cmd\"\n }).toString();\n const cmd_output_parts = cmd_output_string.split(\"\\f\");\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 // 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:$/)) return true;\n }\n return false;\n });\n if (error_messages.length > 0) throw new Error(\"invalid parameters\\r\\n\" + error_messages.join(\"\\r\\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 // 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 $2heqc.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(\"=\")) continue;\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 $2heqc.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 ($cf72a61356fc8050$var$isPathVariable(name)) new_value = $cf72a61356fc8050$var$filterPathValue(new_value);\n $2heqc.exportVariable(name, new_value);\n }\n }\n $2heqc.endGroup();\n $2heqc.info(`Configured Developer Command Prompt`);\n}\n$cf72a61356fc8050$export$443b8bb890f5027e = $cf72a61356fc8050$var$setupMSVCDevCmd;\n\n\n\n\nvar $hHq4F = parcelRequire(\"hHq4F\");\n\nvar $3WkGD = parcelRequire(\"3WkGD\");\nfunction $95f7608dc9d76dc5$var$getArch(arch) {\n switch(arch){\n case \"x32\":\n case \"32\":\n case \"ia32\":\n return \"x86\";\n case \"64\":\n return \"x64\";\n default:\n return arch;\n }\n}\nasync function $95f7608dc9d76dc5$export$5dcf571c91fc8369(vsversion, VCTargetsPath, arch, toolset, sdk, uwp, spectre) {\n if (VCTargetsPath !== undefined && await (0, $3WkGD.pathExists)(VCTargetsPath)) {\n (0, $hHq4F.info)(`Adding ${VCTargetsPath} to PATH`);\n await (0, $fcca2ee3cb52e97b$export$f63d3080ce25e0fd)(\"VCTargetsPath\", VCTargetsPath);\n }\n (0, $cf72a61356fc8050$export$443b8bb890f5027e)($95f7608dc9d76dc5$var$getArch(arch), sdk, toolset, uwp, spectre, vsversion);\n}\n\n\n\nclass $09bd3c976e897666$export$66d311bf29d5c89c extends Error {\n constructor(message){\n super(message);\n this.name = \"TimeoutError\";\n }\n}\nclass $09bd3c976e897666$export$18b052ffd8c84d7 extends Error {\n constructor(message){\n super();\n this.name = \"AbortError\";\n this.message = message;\n }\n}\n/**\nTODO: Remove AbortError and just throw DOMException when targeting Node 18.\n*/ const $09bd3c976e897666$var$getDOMException = (errorMessage)=>globalThis.DOMException === undefined ? new $09bd3c976e897666$export$18b052ffd8c84d7(errorMessage) : new DOMException(errorMessage);\n/**\nTODO: Remove below function and just 'reject(signal.reason)' when targeting Node 18.\n*/ const $09bd3c976e897666$var$getAbortedReason = (signal)=>{\n const reason = signal.reason === undefined ? $09bd3c976e897666$var$getDOMException(\"This operation was aborted.\") : signal.reason;\n return reason instanceof Error ? reason : $09bd3c976e897666$var$getDOMException(reason);\n};\nfunction $09bd3c976e897666$export$2e2bcd8739ae039(promise, options) {\n const { milliseconds: milliseconds, fallback: fallback, message: message, customTimers: customTimers = {\n setTimeout: setTimeout,\n clearTimeout: clearTimeout\n } } = options;\n let timer;\n const wrappedPromise = new Promise((resolve, reject)=>{\n if (typeof milliseconds !== \"number\" || Math.sign(milliseconds) !== 1) throw new TypeError(`Expected \\`milliseconds\\` to be a positive number, got \\`${milliseconds}\\``);\n if (options.signal) {\n const { signal: signal } = options;\n if (signal.aborted) reject($09bd3c976e897666$var$getAbortedReason(signal));\n signal.addEventListener(\"abort\", ()=>{\n reject($09bd3c976e897666$var$getAbortedReason(signal));\n });\n }\n if (milliseconds === Number.POSITIVE_INFINITY) {\n promise.then(resolve, reject);\n return;\n }\n // We create the error outside of `setTimeout` to preserve the stack trace.\n const timeoutError = new $09bd3c976e897666$export$66d311bf29d5c89c();\n timer = customTimers.setTimeout.call(undefined, ()=>{\n if (fallback) {\n try {\n resolve(fallback());\n } catch (error) {\n reject(error);\n }\n return;\n }\n if (typeof promise.cancel === \"function\") promise.cancel();\n if (message === false) resolve();\n else if (message instanceof Error) reject(message);\n else {\n timeoutError.message = message !== null && message !== void 0 ? message : `Promise timed out after ${milliseconds} milliseconds`;\n reject(timeoutError);\n }\n }, milliseconds);\n (async ()=>{\n try {\n resolve(await promise);\n } catch (error) {\n reject(error);\n }\n })();\n });\n const cancelablePromise = wrappedPromise.finally(()=>{\n cancelablePromise.clear();\n });\n cancelablePromise.clear = ()=>{\n customTimers.clearTimeout.call(undefined, timer);\n timer = undefined;\n };\n return cancelablePromise;\n}\n\n\n\nconst $f6eafce5b5cfae6d$export$7bd623b29ec8e1eb = 1200000 // 20 minutes\n;\nasync function $f6eafce5b5cfae6d$export$ddb4b945c8581272(tool, version, osVersion, arch, setupCppDir, successMessages, errorMessages, timeout = $f6eafce5b5cfae6d$export$7bd623b29ec8e1eb) {\n (0, $2heqc.startGroup)(`Installing ${tool} ${version}`);\n let hasLLVM = false;\n try {\n hasLLVM = await (0, $09bd3c976e897666$export$2e2bcd8739ae039)($f6eafce5b5cfae6d$var$installToolImpl(tool, version, osVersion, arch, hasLLVM, setupCppDir, successMessages), {\n milliseconds: timeout,\n message: `Timeout while installing ${tool} ${version}. You can increase the timeout from options`\n });\n } catch (e) {\n // push error message to the logger\n (0, $hHq4F.error)(e);\n errorMessages.push(`${tool} failed to install`);\n }\n (0, $2heqc.endGroup)();\n return hasLLVM;\n}\nasync function $f6eafce5b5cfae6d$var$installToolImpl(tool, version, osVersion, arch, hasLLVM, setupCppDir, successMessages) {\n let installationInfo;\n if (tool === \"vcvarsall\") // eslint-disable-next-line no-await-in-loop\n await (0, $95f7608dc9d76dc5$export$5dcf571c91fc8369)((0, $8555a825dc64b9bc$export$c506eb22e615ba4a)(tool, version, osVersion), undefined, arch, undefined, undefined, false, false);\n else {\n // get the setup function\n const setupFunction = (0, $5991c91eacfada05$export$18a3521ac7306af4)[tool];\n // eslint-disable-next-line no-param-reassign\n hasLLVM = [\n \"llvm\",\n \"clangformat\",\n \"clangtidy\"\n ].includes(tool);\n // the tool installation directory (for the functions that ue it)\n const setupDir = (0, $A8hFE.join)(setupCppDir, hasLLVM ? \"llvm\" : tool);\n // eslint-disable-next-line no-await-in-loop\n installationInfo = await setupFunction((0, $8555a825dc64b9bc$export$c506eb22e615ba4a)(tool, version, osVersion), setupDir, arch);\n }\n // preparing a report string\n successMessages.push((0, $5e34b9b876d96316$export$ad22d805bb3bfaf5)(tool, installationInfo));\n return hasLLVM;\n}\n\n\nconst { readFile: $a7d52bc5591bf6e8$var$readFile, writeFile: $a7d52bc5591bf6e8$var$writeFile, chmod: $a7d52bc5591bf6e8$var$chmod } = (0, $4umf8$fs.promises);\nvar $a7d52bc5591bf6e8$export$35fa309210df3df6;\n(function(LLVMPackages) {\n LLVMPackages[LLVMPackages[\"All\"] = 0] = \"All\";\n LLVMPackages[LLVMPackages[\"ClangFormat\"] = 1] = \"ClangFormat\";\n LLVMPackages[LLVMPackages[\"Core\"] = 2] = \"Core\";\n})($a7d52bc5591bf6e8$export$35fa309210df3df6 || ($a7d52bc5591bf6e8$export$35fa309210df3df6 = {}));\nasync function $a7d52bc5591bf6e8$export$a86791c88ded7e54(majorVersion, packages = $a7d52bc5591bf6e8$export$35fa309210df3df6.All) {\n // TODO for older versions, this also includes the minor version\n const installationFolder = `/usr/lib/llvm-${majorVersion}`;\n await (0, $4574e4c050df58da$export$d73dc343f5abf26)([\n {\n name: \"curl\"\n }\n ]);\n await (0, $573df1fc47fc9677$export$db6b1668e3758717)(\"curl\", [\n \"-LJO\",\n \"https://apt.llvm.org/llvm.sh\"\n ], {\n cwd: \"/tmp\"\n });\n const neededPackages = await $a7d52bc5591bf6e8$var$patchAptLLVMScript(\"/tmp/llvm.sh\", \"/tmp/llvm-setup-cpp.sh\", majorVersion, packages);\n await (0, $4574e4c050df58da$export$d73dc343f5abf26)(neededPackages);\n await $a7d52bc5591bf6e8$var$chmod(\"/tmp/llvm-setup-cpp.sh\", \"755\");\n await (0, $52bad1f97065229a$export$351270479e2eef26)(\"bash\", [\n \"/tmp/llvm-setup-cpp.sh\",\n `${majorVersion}`,\n ...packages === $a7d52bc5591bf6e8$export$35fa309210df3df6.All ? [\n \"all\"\n ] : []\n ], {\n stdio: \"inherit\",\n shell: true,\n timeout: (0, $f6eafce5b5cfae6d$export$7bd623b29ec8e1eb)\n });\n await (0, $fcca2ee3cb52e97b$export$4c25481b843feb0b)(`${installationFolder}/bin`);\n return {\n installDir: `${installationFolder}`,\n binDir: `${installationFolder}/bin`,\n bin: `${installationFolder}/bin/clang++`\n };\n}\nasync function $a7d52bc5591bf6e8$var$patchAptLLVMScript(path, target_path, majorVersion, packages) {\n let script = await $a7d52bc5591bf6e8$var$readFile(path, \"utf-8\");\n script = $a7d52bc5591bf6e8$var$debugScript(script);\n script = $a7d52bc5591bf6e8$var$nonInteractiveScript(script);\n script = $a7d52bc5591bf6e8$var$choosePackages(packages, script, majorVersion);\n script = await $a7d52bc5591bf6e8$var$removeConflictingPackages(script);\n script = $a7d52bc5591bf6e8$var$useNalaScript(script);\n await $a7d52bc5591bf6e8$var$writeFile(target_path, script);\n // the packages needed by the script\n return [\n {\n name: \"lsb-release\"\n },\n {\n name: \"wget\"\n },\n {\n name: \"software-properties-common\"\n },\n {\n name: \"gnupg\"\n }\n ];\n}\nfunction $a7d52bc5591bf6e8$var$debugScript(script) {\n if (!process.env.NODE_DEBUG) return script.replace(/set -eux/g, \"set -eu\");\n return script;\n}\nfunction $a7d52bc5591bf6e8$var$nonInteractiveScript(script) {\n // make the scirpt non-interactive and fix broken packages\n return script.replace(/add-apt-repository \"\\${REPO_NAME}\"/g, // eslint-disable-next-line no-template-curly-in-string\n 'add-apt-repository -y \"${REPO_NAME}\"');\n}\nasync function $a7d52bc5591bf6e8$var$removeConflictingPackages(givenScript) {\n // fix conflicts between libclang-rt and libclang\n let script = givenScript.replace(/apt-get install -y/g, 'apt-get install -o Dpkg::Options::=\"--force-overwrite\" -y --fix-broken');\n // check if these are installed and if so, remove them from the script as they conflict\n const conflictingPackages = [\n \"libc++-$LLVM_VERSION-dev\",\n \"libc++abi-$LLVM_VERSION-dev\",\n \"libunwind-$LLVM_VERSION-dev\"\n ];\n await Promise.all(conflictingPackages.map(async (pack)=>{\n const installingPack = pack.replace(\"$LLVM_VERSION\", \"*\");\n if (await (0, $4574e4c050df58da$export$ec2e4deaa1231ecf)(installingPack)) {\n (0, $4umf8$console.info)(`Removing conflicting package ${installingPack}`);\n script = script.replace(pack, \"\");\n }\n }));\n return script;\n}\nfunction $a7d52bc5591bf6e8$var$useNalaScript(script) {\n // use nala if it is available\n if ((0, $4574e4c050df58da$export$89548d91e84ae1a1)()) return script.replace(/apt-get/g, \"nala\");\n return script;\n}\nfunction $a7d52bc5591bf6e8$var$choosePackages(packages, script, majorVersion) {\n if (packages === $a7d52bc5591bf6e8$export$35fa309210df3df6.ClangFormat) return script.replace(/ -y \\$PKG/g, ` -y clang-format-${majorVersion}`);\n return script;\n}\n\n\n\nvar $fAXcL = parcelRequire(\"fAXcL\");\n\n\n\nvar $hHq4F = parcelRequire(\"hHq4F\");\n\nvar $A8hFE = parcelRequire(\"A8hFE\");\n\nconst $f8b442c18c88c2f2$export$aa5307f1aca77413 = (0, $d9c16e431e014540$export$cbd9528a83fbffa1)([\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 \"15.0.0\",\n \"15.0.1\",\n \"15.0.2\",\n \"15.0.3\",\n \"15.0.4\",\n \"15.0.5\",\n \"15.0.6\",\n \"15.0.7\",\n \"16.0.0\",\n \"16.0.1\",\n \"16.0.2\",\n \"16.0.3\",\n \"16.0.4\",\n \"16.0.5\",\n \"16.0.6\",\n \"17.0.1\",\n \"17.0.2\",\n \"17.0.3\",\n \"17.0.4\",\n \"17.0.5\"\n]);\n/** The LLVM versions that were never released for the Windows platform. */ const $f8b442c18c88c2f2$var$WIN32_MISSING = new Set([\n \"10.0.1\",\n \"15.0.5\",\n \"15.0.6\",\n \"17.0.5\"\n]);\n/** The LLVM versions that were never released for the Darwin platform. */ const $f8b442c18c88c2f2$var$DARWIN_MISSING = 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 // missing x86_64\n // TODO add arm64 support\n \"15.0.4\",\n \"15.0.5\",\n \"15.0.6\",\n \"16.0.0\",\n \"16.0.1\",\n \"16.0.2\",\n \"16.0.3\",\n \"16.0.4\",\n \"16.0.5\",\n \"16.0.6\",\n \"17.0.1\",\n \"17.0.2\",\n \"17.0.3\",\n \"17.0.4\",\n \"17.0.5\"\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 */ const $f8b442c18c88c2f2$var$UBUNTU_RC = new Map();\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 */ // TODO change based on ubuntu version\nconst $f8b442c18c88c2f2$var$UBUNTU_SUFFIX_MAP = {\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 \"15.0.2\": \"-rhel86\",\n \"15.0.5\": \"-ubuntu-18.04\",\n \"15.0.6\": \"-ubuntu-18.04\",\n \"16.0.0\": \"-ubuntu-18.04\",\n \"16.0.2\": \"-ubuntu-22.04\",\n \"16.0.3\": \"-ubuntu-22.04\",\n \"16.0.4\": \"-ubuntu-22.04\",\n \"17.0.2\": \"-ubuntu-22.04\",\n \"17.0.4\": \"-ubuntu-22.04\",\n \"17.0.5\": \"-ubuntu-22.04\"\n};\n/** The latest supported LLVM version for the Linux (Ubuntu) platform. */ const $f8b442c18c88c2f2$var$MAX_UBUNTU = \"17.0.5\";\n//================================================\n// URL\n//================================================\n/** Gets a LLVM download URL for GitHub. */ function $f8b442c18c88c2f2$var$getGitHubUrl(version, prefix, suffix) {\n const file = `${prefix}${version}${suffix}`;\n return `https://github.com/llvm/llvm-project/releases/download/llvmorg-${version}/${file}`;\n}\n/** Gets a LLVM download URL for https://releases.llvm.org. */ function $f8b442c18c88c2f2$var$getReleaseUrl(version, prefix, suffix) {\n const file = `${prefix}${version}${suffix}`;\n return `https://releases.llvm.org/${version}/${file}`;\n}\n/** Gets an LLVM download URL for the Darwin platform. */ function $f8b442c18c88c2f2$var$getDarwinUrl(version) {\n if ($f8b442c18c88c2f2$var$DARWIN_MISSING.has(version)) return null;\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 ((0, (/*@__PURE__*/$parcel$interopDefault($fAXcL)))(version, \"9.0.1\")) return $f8b442c18c88c2f2$var$getReleaseUrl(version, prefix, suffix);\n else return $f8b442c18c88c2f2$var$getGitHubUrl(version, prefix, suffix);\n}\nfunction $f8b442c18c88c2f2$export$ae24f9682a44836b(versionGiven) {\n let version = versionGiven;\n const rc = $f8b442c18c88c2f2$var$UBUNTU_RC.get(version);\n if (rc !== undefined) version = rc;\n let linuxVersion;\n // ubuntu-version is specified\n if (version.includes(\"ubuntu\")) {\n const givenUbuntuVersion = version.replace(/-ubuntu-.*/, \"\");\n if (!$f8b442c18c88c2f2$export$aa5307f1aca77413.has(givenUbuntuVersion)) throw new Error(`Unsupported Ubuntu version: ${givenUbuntuVersion}`);\n linuxVersion = version.replace(givenUbuntuVersion, \"\");\n version = (0, $d9c16e431e014540$export$deb1064c8260c54c)($f8b442c18c88c2f2$export$aa5307f1aca77413, givenUbuntuVersion)[0];\n } else if (version !== \"\" && version in $f8b442c18c88c2f2$var$UBUNTU_SUFFIX_MAP) linuxVersion = $f8b442c18c88c2f2$var$UBUNTU_SUFFIX_MAP[version];\n else {\n // default to the maximum version\n linuxVersion = $f8b442c18c88c2f2$var$UBUNTU_SUFFIX_MAP[$f8b442c18c88c2f2$var$MAX_UBUNTU];\n (0, $hHq4F.warning)(`Falling back to LLVM version ${$f8b442c18c88c2f2$var$MAX_UBUNTU} ${linuxVersion} for the Ubuntu.`);\n }\n const prefix = \"clang+llvm-\";\n let suffix;\n if (version === \"5.0.0\") suffix = `-linux-x86_64${linuxVersion}.tar.xz`;\n else if (linuxVersion.includes(\"-rhel86\")) suffix = `-x86_64-unknown-linux-gnu${linuxVersion}.tar.xz`;\n else suffix = `-x86_64-linux-gnu${linuxVersion}.tar.xz`;\n if ((0, (/*@__PURE__*/$parcel$interopDefault($fAXcL)))(version, \"9.0.1\")) return $f8b442c18c88c2f2$var$getReleaseUrl(version, prefix, suffix);\n else return $f8b442c18c88c2f2$var$getGitHubUrl(version, prefix, suffix);\n}\n/** Gets an LLVM download URL for the Windows platform. */ async function $f8b442c18c88c2f2$var$getWin32Url(version) {\n if ($f8b442c18c88c2f2$var$WIN32_MISSING.has(version)) return null;\n const prefix = \"LLVM-\";\n const suffix = (0, (/*@__PURE__*/$parcel$interopDefault($fAXcL)))(version, \"3.7.0\") ? \"-win32.exe\" : \"-win64.exe\";\n const olderThan9_1 = (0, (/*@__PURE__*/$parcel$interopDefault($fAXcL)))(version, \"9.0.1\");\n let url;\n let fallback = false;\n if (olderThan9_1) {\n url = $f8b442c18c88c2f2$var$getReleaseUrl(version, prefix, suffix);\n if (!await (0, $2f5ceed9996097bd$export$61e6a71eee2b02f9)(url)) fallback = true // fallback to github\n ;\n }\n if (fallback || !olderThan9_1) url = $f8b442c18c88c2f2$var$getGitHubUrl(version, prefix, suffix);\n return url;\n}\nfunction $f8b442c18c88c2f2$export$94df0e59ebebf4a7(platform, version) {\n switch(platform){\n case \"darwin\":\n return $f8b442c18c88c2f2$var$getDarwinUrl(version);\n case \"linux\":\n return $f8b442c18c88c2f2$export$ae24f9682a44836b(version);\n case \"win32\":\n return $f8b442c18c88c2f2$var$getWin32Url(version);\n default:\n return null;\n }\n}\nasync function $f8b442c18c88c2f2$export$f203993d12226a27(version, platform, // eslint-disable-next-line @typescript-eslint/no-unused-vars\n_arch) {\n const [specificVersion, url] = await (0, $d9c16e431e014540$export$4e4d3581f69a6d71)($f8b442c18c88c2f2$export$aa5307f1aca77413, platform, version, $f8b442c18c88c2f2$export$94df0e59ebebf4a7);\n (0, $hHq4F.info)(`specific llvm version: ${specificVersion}`);\n return {\n url: url,\n extractedFolderName: \"\",\n binRelativeDir: \"bin\",\n binFileName: (0, $A8hFE.addExeExt)(\"clang\"),\n extractFunction: platform === \"win32\" ? (0, $1533841bc1073d6a$export$7949938b2681a4f0) : (file, dest)=>{\n return (0, $1533841bc1073d6a$export$2ab07ac150064014)(file, dest, [\n \"--strip-components=1\"\n ]);\n }\n };\n}\n\n\n\nvar $6953eb5c011ad8ed$var$$parcel$__dirname = $4umf8$path.resolve(__dirname, \"../../src/llvm\");\nasync function $6953eb5c011ad8ed$export$3016de7ae9d14988(version, setupDir, arch) {\n const installationInfo = await $6953eb5c011ad8ed$var$setupLLVMWithoutActivation(version, setupDir, arch);\n var _installationInfo_installDir;\n await $6953eb5c011ad8ed$export$6238b5ebfd6640e7((_installationInfo_installDir = installationInfo.installDir) !== null && _installationInfo_installDir !== void 0 ? _installationInfo_installDir : setupDir);\n return installationInfo;\n}\nasync function $6953eb5c011ad8ed$var$setupLLVMWithoutActivation_raw(version, setupDir, arch) {\n // install LLVM and its dependencies in parallel\n const [installationInfo, _1, _2] = await Promise.all([\n $6953eb5c011ad8ed$var$setupLLVMOnly(version, setupDir, arch),\n $6953eb5c011ad8ed$var$setupLLVMDeps(arch),\n $6953eb5c011ad8ed$var$addLLVMLoggingMatcher()\n ]);\n return installationInfo;\n}\nconst $6953eb5c011ad8ed$var$setupLLVMWithoutActivation = (0, $ebb78541e788df17$export$2e2bcd8739ae039)($6953eb5c011ad8ed$var$setupLLVMWithoutActivation_raw, {\n isPromise: true\n});\nfunction $6953eb5c011ad8ed$export$1cf2d186cecf1f54(version, setupDir, arch) {\n return $6953eb5c011ad8ed$var$setupLLVMOnly(version, setupDir, arch, (0, $a7d52bc5591bf6e8$export$35fa309210df3df6).ClangFormat);\n}\nfunction $6953eb5c011ad8ed$export$814ccfc953503728(version, setupDir, arch) {\n return $6953eb5c011ad8ed$var$setupLLVMOnly(version, setupDir, arch);\n}\nasync function $6953eb5c011ad8ed$var$setupLLVMOnly(version, setupDir, arch, packages = (0, $a7d52bc5591bf6e8$export$35fa309210df3df6).All) {\n const coeredVersion = (0, $d9c16e431e014540$export$afd7401db249098f)(version);\n const majorVersion = parseInt(coeredVersion.split(\".\")[0], 10);\n try {\n if ((0, $c304217cbb6a03a7$export$da8baf1d6c6802b6)()) return await (0, $a7d52bc5591bf6e8$export$a86791c88ded7e54)(majorVersion, packages);\n } catch (err) {\n (0, $hHq4F.info)(`Failed to install llvm via system package manager ${err}`);\n }\n const installationInfo = await (0, $d14c914d00b0f583$export$334f77c9844c21f6)(\"llvm\", version, (0, $f8b442c18c88c2f2$export$f203993d12226a27), setupDir, arch);\n await $6953eb5c011ad8ed$var$llvmBinaryDeps(majorVersion);\n return installationInfo;\n}\nasync function $6953eb5c011ad8ed$var$llvmBinaryDeps_raw(majorVersion) {\n if ((0, $c304217cbb6a03a7$export$da8baf1d6c6802b6)()) {\n if (majorVersion <= 10) await (0, $4574e4c050df58da$export$d73dc343f5abf26)([\n {\n name: \"libtinfo5\"\n }\n ]);\n else await (0, $4574e4c050df58da$export$d73dc343f5abf26)([\n {\n name: \"libtinfo-dev\"\n }\n ]);\n }\n}\nconst $6953eb5c011ad8ed$var$llvmBinaryDeps = (0, $ebb78541e788df17$export$2e2bcd8739ae039)($6953eb5c011ad8ed$var$llvmBinaryDeps_raw, {\n isPromise: true\n});\nasync function $6953eb5c011ad8ed$var$setupLLVMDeps_raw(arch) {\n if (process.platform === \"linux\") // using llvm requires ld, an up to date libstdc++, etc. So, install gcc first\n await (0, $3f19caa876428bf4$export$405fab3de79b77b)((0, $8555a825dc64b9bc$export$c506eb22e615ba4a)(\"gcc\", undefined, await (0, $1c6f48b06ad43808$export$49c9cf1111dfa0ee)()), \"\", arch);\n}\nconst $6953eb5c011ad8ed$var$setupLLVMDeps = (0, $ebb78541e788df17$export$2e2bcd8739ae039)($6953eb5c011ad8ed$var$setupLLVMDeps_raw, {\n isPromise: true\n});\nasync function $6953eb5c011ad8ed$export$6238b5ebfd6640e7(directory) {\n var _process_env_LD_LIBRARY_PATH;\n const ld = (_process_env_LD_LIBRARY_PATH = process.env.LD_LIBRARY_PATH) !== null && _process_env_LD_LIBRARY_PATH !== void 0 ? _process_env_LD_LIBRARY_PATH : \"\";\n var _process_env_DYLD_LIBRARY_PATH;\n const dyld = (_process_env_DYLD_LIBRARY_PATH = process.env.DYLD_LIBRARY_PATH) !== null && _process_env_DYLD_LIBRARY_PATH !== void 0 ? _process_env_DYLD_LIBRARY_PATH : \"\";\n const actPromises = [\n // the output of this action\n (0, $fcca2ee3cb52e97b$export$f63d3080ce25e0fd)(\"LLVM_PATH\", directory),\n // Setup LLVM as the compiler\n (0, $fcca2ee3cb52e97b$export$f63d3080ce25e0fd)(\"LD_LIBRARY_PATH\", `${directory}/lib${(0, $4umf8$path.delimiter)}${ld}`),\n (0, $fcca2ee3cb52e97b$export$f63d3080ce25e0fd)(\"DYLD_LIBRARY_PATH\", `${directory}/lib${(0, $4umf8$path.delimiter)}${dyld}`),\n // compiler flags\n (0, $fcca2ee3cb52e97b$export$f63d3080ce25e0fd)(\"LDFLAGS\", `-L\"${directory}/lib\"`),\n (0, $fcca2ee3cb52e97b$export$f63d3080ce25e0fd)(\"CPPFLAGS\", `-I\"${directory}/include\"`),\n // compiler paths\n (0, $fcca2ee3cb52e97b$export$f63d3080ce25e0fd)(\"CC\", (0, $A8hFE.addExeExt)(`${directory}/bin/clang`)),\n (0, $fcca2ee3cb52e97b$export$f63d3080ce25e0fd)(\"CXX\", (0, $A8hFE.addExeExt)(`${directory}/bin/clang++`)),\n (0, $fcca2ee3cb52e97b$export$f63d3080ce25e0fd)(\"LIBRARY_PATH\", `${directory}/lib`),\n // os sdks\n (0, $b1bd4a63b941b63a$export$28f5fd35e3005b7a)()\n ];\n // TODO Causes issues with clangd\n // TODO Windows builds fail with llvm's CPATH\n // if (process.platform !== \"win32\") {\n // if (await pathExists(`${directory}/lib/clang/${version}/include`)) {\n // promises.push(addEnv(\"CPATH\", `${directory}/lib/clang/${version}/include`))\n // } else if (await pathExists(`${directory}/lib/clang/${llvmMajor}/include`)) {\n // promises.push(addEnv(\"CPATH\", `${directory}/lib/clang/${llvmMajor}/include`))\n // }\n // }\n if ((0, $c304217cbb6a03a7$export$da8baf1d6c6802b6)()) actPromises.push((0, $4574e4c050df58da$export$6fe6436bd9f53d02)(\"cc\", `${directory}/bin/clang`), (0, $4574e4c050df58da$export$6fe6436bd9f53d02)(\"cxx\", `${directory}/bin/clang++`), (0, $4574e4c050df58da$export$6fe6436bd9f53d02)(\"clang\", `${directory}/bin/clang`), (0, $4574e4c050df58da$export$6fe6436bd9f53d02)(\"clang++\", `${directory}/bin/clang++`), (0, $4574e4c050df58da$export$6fe6436bd9f53d02)(\"lld\", `${directory}/bin/lld`), (0, $4574e4c050df58da$export$6fe6436bd9f53d02)(\"ld.lld\", `${directory}/bin/ld.lld`), (0, $4574e4c050df58da$export$6fe6436bd9f53d02)(\"llvm-ar\", `${directory}/bin/llvm-ar`));\n await Promise.all(actPromises);\n}\nasync function $6953eb5c011ad8ed$var$addLLVMLoggingMatcher() {\n if (0, $cLprm.GITHUB_ACTIONS) {\n const matcherPath = (0, $A8hFE.join)($6953eb5c011ad8ed$var$$parcel$__dirname, \"llvm_matcher.json\");\n if (!await (0, $3WkGD.pathExists)(matcherPath)) return (0, $hHq4F.warning)(\"the llvm_matcher.json file does not exist in the same folder as setup-cpp.js\");\n (0, $hHq4F.info)(`::add-matcher::${matcherPath}`);\n }\n}\n\n\n\n\n\n\n\n\n\n\n\nasync function $90d27b925e8078c3$export$b0a9411329e2916(version, _setupDir, _arch) {\n switch(process.platform){\n case \"win32\":\n return (0, $9fccd3400da2cfd8$export$9f6912bc890040b2)(\"make\", version);\n case \"darwin\":\n await (0, $7ad09143f110687f$export$ce5d13d8a85cb784)(\"make\", version);\n await (0, $fcca2ee3cb52e97b$export$4c25481b843feb0b)(\"/usr/local/opt/make/libexec/gnubin\");\n return {\n binDir: \"/usr/local/opt/make/libexec/gnubin\"\n };\n case \"linux\":\n if ((0, $64f7d4d3c6118037$export$d415ddb6702ec3a2)()) return (0, $48b5fe4903818be0$export$cfa75578ee2d6e6c)(\"make\", version);\n else if ((0, $07c9db864ea9c735$export$8ce8b4b22331a8c7)()) return (0, $5e892f3aba3794f6$export$49d4f9ba8e0dd34f)([\n {\n name: \"make\",\n version: version\n }\n ]);\n else if ((0, $c304217cbb6a03a7$export$da8baf1d6c6802b6)()) return (0, $4574e4c050df58da$export$d73dc343f5abf26)([\n {\n name: \"make\",\n version: version\n }\n ]);\n throw new Error(`Unsupported linux distribution`);\n default:\n throw new Error(`Unsupported platform`);\n }\n}\n\n\n\nfunction $66785be328e24e8f$export$f73905553f087748(version, _setupDir, _arch) {\n return (0, $13d538bb32b1caca$export$4020cb77ffa3ffac)(\"meson\", version);\n}\n\n\n\n\n\n\nvar $cLprm = parcelRequire(\"cLprm\");\n\nvar $A8hFE = parcelRequire(\"A8hFE\");\n\nvar $hHq4F = parcelRequire(\"hHq4F\");\n\nvar $3WkGD = parcelRequire(\"3WkGD\");\n\nvar $ca61f3433f42990a$var$$parcel$__dirname = $4umf8$path.resolve(__dirname, \"../../src/msvc\");\nasync function $ca61f3433f42990a$export$a91ef0362c1a7298(versionGiven, _setupDir, arch, sdk, uwp, spectre) {\n if (process.platform !== \"win32\") return;\n const version = (0, $cf72a61356fc8050$export$3c7cae5a162b1458)(versionGiven);\n // check if the given version is already installed\n (0, $hHq4F.info)(`Checking if MSVC ${version} is already installed`);\n let installed = false;\n try {\n const vcvarsall_path = (0, $cf72a61356fc8050$export$a6a3bfb882356813)(version);\n installed = true;\n (0, $hHq4F.info)(`Found the pre-installed version of MSVC at ${vcvarsall_path}`);\n } catch {\n // not installed, try installing\n }\n let toolset;\n let VCTargetsPath;\n // https://github.com/aminya/setup-cpp/issues/1\n if (!installed) try {\n if (version === \"14.0\") {\n toolset = \"14.0\";\n await (0, $9fccd3400da2cfd8$export$9f6912bc890040b2)(\"visualcpp-build-tools\", \"14.0.25420.1\", [\n \"--ignore-dependencies\"\n ]);\n VCTargetsPath = \"C:/Program Files (x86)/MSBuild/Microsoft.Cpp/v4.0/v140\";\n } else if (version === \"15.0\") {\n toolset = \"14.16\";\n await (0, $9fccd3400da2cfd8$export$9f6912bc890040b2)(\"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 ;\n } else if (version === \"16.0\") {\n toolset = \"14.29\";\n await (0, $9fccd3400da2cfd8$export$9f6912bc890040b2)(\"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 (0, $9fccd3400da2cfd8$export$9f6912bc890040b2)(\"visualstudio2022buildtools\", \"117.0.5.0\", []);\n VCTargetsPath = undefined;\n } else (0, $hHq4F.error)(`The given MSVC versions ${versionGiven} is not supported yet.`);\n } catch (e) {\n (0, $hHq4F.error)(e);\n }\n // run vcvarsall.bat environment variables\n await (0, $95f7608dc9d76dc5$export$5dcf571c91fc8369)(version, VCTargetsPath, arch, toolset, sdk, uwp, spectre);\n if (0, $cLprm.GITHUB_ACTIONS) await $ca61f3433f42990a$var$addMSVCLoggingMatcher();\n}\nasync function $ca61f3433f42990a$var$addMSVCLoggingMatcher() {\n const matcherPath = (0, $A8hFE.join)($ca61f3433f42990a$var$$parcel$__dirname, \"msvc_matcher.json\");\n if (!await (0, $3WkGD.pathExists)(matcherPath)) return (0, $hHq4F.warning)(\"the msvc_matcher.json file does not exist in the same folder as setup-cpp.js\");\n (0, $hHq4F.info)(`::add-matcher::${matcherPath}`);\n}\n\n\n\nvar $A8hFE = parcelRequire(\"A8hFE\");\n\n\n\n\nlet $8ef6bee7cd8d9504$var$binDir;\nasync function $8ef6bee7cd8d9504$export$d73cbe8caeff03c5(version, _setupDir, _arch) {\n if (!(0, $c304217cbb6a03a7$export$da8baf1d6c6802b6)()) return undefined;\n if (typeof $8ef6bee7cd8d9504$var$binDir === \"string\") return {\n binDir: $8ef6bee7cd8d9504$var$binDir\n };\n const maybeBinDir = (0, (/*@__PURE__*/$parcel$interopDefault($fdd9f5bfe94c19d6$exports))).sync(\"nala\", {\n nothrow: true\n });\n if (maybeBinDir !== null) {\n $8ef6bee7cd8d9504$var$binDir = (0, $A8hFE.dirname)(maybeBinDir);\n return {\n binDir: $8ef6bee7cd8d9504$var$binDir\n };\n }\n // https://github.com/volitank/nala#-installation\n const keyFileName = await (0, $4574e4c050df58da$export$7fb1a688af1305f0)(\"volian-archive-scar-unstable.gpg\", \"https://deb.volian.org/volian/scar.key\");\n (0, $52bad1f97065229a$export$58f152936f209932)(\"/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 try {\n if (version !== \"legacy\") await (0, $4574e4c050df58da$export$d73dc343f5abf26)([\n {\n name: \"nala\"\n }\n ], true);\n else await (0, $4574e4c050df58da$export$d73dc343f5abf26)([\n {\n name: \"nala-legacy\"\n }\n ], true);\n } catch (err) {\n await (0, $4574e4c050df58da$export$d73dc343f5abf26)([\n {\n name: \"nala-legacy\"\n }\n ], true);\n }\n $8ef6bee7cd8d9504$var$binDir = \"/usr/bin\" // eslint-disable-line require-atomic-updates\n ;\n return {\n binDir: $8ef6bee7cd8d9504$var$binDir\n };\n}\nfunction $8ef6bee7cd8d9504$export$2747aa8ef20f818d(script) {\n if ((0, $4574e4c050df58da$export$89548d91e84ae1a1)()) return `apt-get() { nala $@; }; export -f apt-get; ${script}; unset -f apt-get`;\n return script;\n}\n\n\n\n\n\nasync function $e30a94480cbacda6$export$6aa28a97600a8ae3(version, _setupDir, _arch) {\n if (process.platform !== \"win32\") return;\n await (0, $9fccd3400da2cfd8$export$9f6912bc890040b2)(\"opencppcoverage\", version);\n const binDir = await $e30a94480cbacda6$var$activateOpencppcoverage();\n return {\n binDir: binDir\n };\n}\nasync function $e30a94480cbacda6$var$activateOpencppcoverage() {\n const binDir = \"C:/Program Files/OpenCppCoverage\";\n await (0, $fcca2ee3cb52e97b$export$4c25481b843feb0b)(binDir);\n return binDir;\n}\n\n\n\n\n\n\n\n\n\n\n\n\n\nasync function $2c142710d07a1d78$export$1ff6ad96ee130aba(version, _setupDir, _arch) {\n switch(process.platform){\n case \"win32\":\n {\n await (0, $9fccd3400da2cfd8$export$9f6912bc890040b2)(\"powershell-core\", version);\n const binDir = \"C:/Program Files/PowerShell/7\";\n await (0, $fcca2ee3cb52e97b$export$4c25481b843feb0b)(binDir);\n return {\n binDir: binDir\n };\n }\n case \"darwin\":\n return (0, $7ad09143f110687f$export$ce5d13d8a85cb784)(\"powershell\", version, [\n \"--cask\"\n ]);\n case \"linux\":\n if ((0, $64f7d4d3c6118037$export$d415ddb6702ec3a2)()) return (0, $48b5fe4903818be0$export$cfa75578ee2d6e6c)(\"powershell-bin\", version, \"yay\");\n else if ((0, $07c9db864ea9c735$export$8ce8b4b22331a8c7)()) {\n (0, $5e892f3aba3794f6$export$49d4f9ba8e0dd34f)([\n {\n name: \"curl\"\n }\n ]);\n (0, $52bad1f97065229a$export$58f152936f209932)(\"/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 (0, $5e892f3aba3794f6$export$49d4f9ba8e0dd34f)([\n {\n name: \"powershell\",\n version: version\n }\n ]);\n } else if ((0, $c304217cbb6a03a7$export$da8baf1d6c6802b6)()) {\n await (0, $4574e4c050df58da$export$d73dc343f5abf26)([\n {\n name: \"curl\"\n }\n ]);\n const ubuntuVerSplitted = await (0, $1c6f48b06ad43808$export$49c9cf1111dfa0ee)();\n const ubuntuVersionString = `${ubuntuVerSplitted[0]}.0${ubuntuVerSplitted[1]}`;\n (0, $52bad1f97065229a$export$58f152936f209932)(\"curl\", [\n \"-LJO\",\n `https://packages.microsoft.com/config/ubuntu/${ubuntuVersionString}/packages-microsoft-prod.deb`\n ]);\n (0, $52bad1f97065229a$export$58f152936f209932)(\"dpkg\", [\n \"-i\",\n \"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 return (0, $4574e4c050df58da$export$d73dc343f5abf26)([\n {\n name: \"powershell\",\n version: version\n }\n ], true);\n }\n throw new Error(`Unsupported linux distribution`);\n default:\n throw new Error(`Unsupported platform`);\n }\n}\n\n\n\n\n\nfunction $87794de984c43d77$export$b963b67cda80fdc(version, _setupDir, _arch) {\n switch(process.platform){\n case \"win32\":\n return (0, $9fccd3400da2cfd8$export$9f6912bc890040b2)(\"sccache\", version);\n case \"linux\":\n case \"darwin\":\n return (0, $7ad09143f110687f$export$ce5d13d8a85cb784)(\"sccache\", version);\n default:\n throw new Error(`Unsupported platform`);\n }\n}\n\n\n\n\nvar $A8hFE = parcelRequire(\"A8hFE\");\n\n\n/** Get the platform name task uses in their download links */ function $3633ba871f8ac84b$var$getTaskPlatform(platform) {\n switch(platform){\n case \"win32\":\n return \"windows\";\n default:\n return platform;\n }\n}\n/** Get the arch name task uses in their download links */ function $3633ba871f8ac84b$var$getTaskArch(arch) {\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/** Get the platform data for task */ function $3633ba871f8ac84b$var$getTaskPackageInfo(version, platform, arch) {\n const taskPlatform = $3633ba871f8ac84b$var$getTaskPlatform(platform);\n const taskArch = $3633ba871f8ac84b$var$getTaskArch(arch);\n const isZip = platform === \"win32\";\n const extension = isZip ? \"zip\" : \"tar.gz\";\n return {\n binRelativeDir: \"\",\n binFileName: (0, $A8hFE.addExeExt)(\"task\"),\n extractedFolderName: \"\",\n extractFunction: isZip ? (0, $1533841bc1073d6a$export$6411c5cbab21135b) : (0, $1533841bc1073d6a$export$2ab07ac150064014),\n url: `https://github.com/go-task/task/releases/download/v${version}/task_${taskPlatform}_${taskArch}.${extension}`\n };\n}\nfunction $3633ba871f8ac84b$export$4456b3a3d3540077(version, setupDir, arch) {\n return (0, $d14c914d00b0f583$export$334f77c9844c21f6)(\"task\", version, $3633ba871f8ac84b$var$getTaskPackageInfo, setupDir, arch);\n}\n\n\n\n\nvar $hHq4F = parcelRequire(\"hHq4F\");\n\nvar $3WkGD = parcelRequire(\"3WkGD\");\n\nvar $A8hFE = parcelRequire(\"A8hFE\");\n\n\n\n\n\n\n\n\n\nlet $937e45ed2ed39257$var$hasVCPKG = false;\nasync function $937e45ed2ed39257$export$490bdba4ef3e3f82(_version, setupDir, _arch) {\n if (!$937e45ed2ed39257$var$hasVCPKG || (0, (/*@__PURE__*/$parcel$interopDefault($fdd9f5bfe94c19d6$exports))).sync(\"vcpkg\", {\n nothrow: true\n }) === null) {\n if (process.platform === \"linux\") {\n // vcpkg download and extraction dependencies\n if ((0, $64f7d4d3c6118037$export$d415ddb6702ec3a2)()) await Promise.all([\n (0, $48b5fe4903818be0$export$cfa75578ee2d6e6c)(\"curl\"),\n (0, $48b5fe4903818be0$export$cfa75578ee2d6e6c)(\"zip\"),\n (0, $48b5fe4903818be0$export$cfa75578ee2d6e6c)(\"unzip\"),\n (0, $48b5fe4903818be0$export$cfa75578ee2d6e6c)(\"tar\"),\n (0, $48b5fe4903818be0$export$cfa75578ee2d6e6c)(\"git\"),\n (0, $48b5fe4903818be0$export$cfa75578ee2d6e6c)(\"pkg-config\")\n ]);\n else if ((0, $07c9db864ea9c735$export$8ce8b4b22331a8c7)()) await (0, $5e892f3aba3794f6$export$49d4f9ba8e0dd34f)([\n {\n name: \"curl\"\n },\n {\n name: \"zip\"\n },\n {\n name: \"unzip\"\n },\n {\n name: \"tar\"\n },\n {\n name: \"git\"\n },\n {\n name: \"pkg-config\"\n }\n ]);\n else if ((0, $c304217cbb6a03a7$export$da8baf1d6c6802b6)()) await (0, $4574e4c050df58da$export$d73dc343f5abf26)([\n {\n name: \"curl\"\n },\n {\n name: \"zip\"\n },\n {\n name: \"unzip\"\n },\n {\n name: \"tar\"\n },\n {\n name: \"git\"\n },\n {\n name: \"pkg-config\"\n }\n ]);\n }\n if (!await (0, $3WkGD.pathExists)((0, $A8hFE.join)(setupDir, (0, $A8hFE.addShExt)(\"bootstrap-vcpkg\", \".bat\")))) (0, $573df1fc47fc9677$export$28823a701bb5a12d)(\"git\", [\n \"clone\",\n \"https://github.com/microsoft/vcpkg\"\n ], {\n cwd: (0, $A8hFE.dirname)(setupDir),\n stdio: \"inherit\"\n });\n else (0, $hHq4F.notice)(`Vcpkg folder already exists at ${setupDir}. This might mean that ~/vcpkg is restored from the cache.`);\n (0, $573df1fc47fc9677$export$28823a701bb5a12d)((0, $A8hFE.addShExt)((0, $A8hFE.addShRelativePrefix)(\"bootstrap-vcpkg\"), \".bat\"), {\n cwd: setupDir,\n shell: true,\n stdio: \"inherit\"\n });\n await (0, $de58c30d9e7354db$export$4718e061a205eab)(setupDir);\n await (0, $fcca2ee3cb52e97b$export$4c25481b843feb0b)(setupDir);\n // eslint-disable-next-line require-atomic-updates\n $937e45ed2ed39257$var$hasVCPKG = true;\n return {\n binDir: setupDir\n };\n }\n return {\n binDir: (0, $A8hFE.dirname)((0, (/*@__PURE__*/$parcel$interopDefault($fdd9f5bfe94c19d6$exports))).sync(\"vcpkg\"))\n };\n}\n\n\n\nconst $5991c91eacfada05$export$18a3521ac7306af4 = {\n nala: (0, $8ef6bee7cd8d9504$export$d73cbe8caeff03c5),\n cmake: (0, $6ca1cdfc8544c646$export$c28663a621f418ce),\n ninja: (0, $33611b5480e1148e$export$e6190f4bfe2ef71),\n python: (0, $8e03016ecb3dd99e$export$2b0b68e9df3d4a02),\n vcpkg: (0, $937e45ed2ed39257$export$490bdba4ef3e3f82),\n bazel: (0, $671d2451576f7242$export$a66bc93580b0a849),\n conan: (0, $7fad98b8fc122c7f$export$249d0c7d779d362f),\n meson: (0, $66785be328e24e8f$export$f73905553f087748),\n gcovr: (0, $88e2c066ab70c051$export$b98d69f362caf61f),\n opencppcoverage: (0, $e30a94480cbacda6$export$6aa28a97600a8ae3),\n llvm: (0, $6953eb5c011ad8ed$export$3016de7ae9d14988),\n gcc: (0, $3f19caa876428bf4$export$405fab3de79b77b),\n choco: (0, $fd45706685edd4a7$export$b804d731cdad7ef9),\n brew: (0, $86d7dd00a0f99d9c$export$c5eeb9c87a610a0e),\n powershell: (0, $2c142710d07a1d78$export$1ff6ad96ee130aba),\n ccache: (0, $e2bfdac6c7112ded$export$111263621bbb0768),\n sccache: (0, $87794de984c43d77$export$b963b67cda80fdc),\n doxygen: (0, $befd38d449a1dd77$export$b6e6613a954051ee),\n graphviz: (0, $84a50e6b88ef38c7$export$b885bd977caaafb9),\n cppcheck: (0, $287d43a812660c62$export$13d77464c548b5d3),\n clangtidy: (0, $6953eb5c011ad8ed$export$814ccfc953503728),\n clangformat: (0, $6953eb5c011ad8ed$export$1cf2d186cecf1f54),\n msvc: (0, $ca61f3433f42990a$export$a91ef0362c1a7298),\n vcvarsall: (0, $95f7608dc9d76dc5$export$5dcf571c91fc8369),\n kcov: (0, $b57152bab0b5e0d6$export$abb7c2ff987b1f6b),\n make: (0, $90d27b925e8078c3$export$b0a9411329e2916),\n task: (0, $3633ba871f8ac84b$export$4456b3a3d3540077),\n sevenzip: (0, $9a4a93f779a8f772$export$5fc39629e14c8173)\n};\nconst $5991c91eacfada05$export$904054328df186b = Object.keys($5991c91eacfada05$export$18a3521ac7306af4);\nconst $5991c91eacfada05$export$7b388ca536128c6d = [\n \"compiler\",\n \"architecture\",\n \"timeout\",\n ...$5991c91eacfada05$export$904054328df186b\n];\n\n\nfunction $5e34b9b876d96316$export$7300a92932ee17a3(args) {\n return (0, $b196d3cc102f70e5$export$2e2bcd8739ae039)(args, {\n string: [\n ...(0, $5991c91eacfada05$export$7b388ca536128c6d),\n \"timeout\"\n ],\n default: Object.fromEntries((0, $5991c91eacfada05$export$7b388ca536128c6d).map((inp)=>[\n inp,\n $5e34b9b876d96316$export$fc4ce4d885cb1082(inp)\n ])),\n alias: {\n h: \"help\"\n },\n boolean: \"help\"\n });\n}\nfunction $5e34b9b876d96316$export$f57ebcae4da846e4() {\n (0, $hHq4F.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--timeout\\t the timeout for the installation of each tool in minutes. By default it is 10 minutes.\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--$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`);\n console.table({\n \"compiler and analyzer\": {\n tools: `--llvm, --gcc, --msvc, --vcvarsall, --cppcheck, --clangtidy, --clangformat`\n },\n \"build system\": {\n tools: `--cmake, --ninja, --meson, --make, --task, --bazel`\n },\n \"package manager\": {\n tools: `--vcpkg, --conan, --choco, --brew, --nala`\n },\n cache: {\n tools: `--cppcache, --sccache`\n },\n documentation: {\n tools: `--doxygen, --graphviz`\n },\n coverage: {\n tools: `--gcovr, --opencppcoverage, --kcov`\n },\n other: {\n tools: `--python, --powershell, --sevenzip`\n }\n }, [\n \"tools\"\n ]);\n}\nfunction $5e34b9b876d96316$export$fc4ce4d885cb1082(key) {\n const value = (0, $2heqc.getInput)(key.toLowerCase());\n if (value !== \"false\" && value !== \"\") return value;\n return undefined // skip installation\n ;\n}\nfunction $5e34b9b876d96316$export$ad22d805bb3bfaf5(tool, installationInfo) {\n let msg = `✅ ${tool} was installed successfully:`;\n if (installationInfo === undefined) return msg;\n if (\"installDir\" in installationInfo) msg += `\\n- The installation directory is ${installationInfo.installDir}`;\n if (installationInfo.binDir !== \"\") msg += `\\n- The binary directory is ${installationInfo.binDir}`;\n return msg;\n}\n\n\n\nvar $2heqc = parcelRequire(\"2heqc\");\n\nvar $hHq4F = parcelRequire(\"hHq4F\");\n\n\nvar $eO4vc = parcelRequire(\"eO4vc\");\n\n\n\n\n\n\n\nfunction $378d5e7e39d04cd9$export$588248dee5258836(compilerAndVersion) {\n const compilerAndMaybeVersion = compilerAndVersion.split(\"-\");\n const compiler = compilerAndMaybeVersion[0];\n if (1 in compilerAndMaybeVersion) {\n const maybeVersion = compilerAndMaybeVersion[1];\n if ((0, (/*@__PURE__*/$parcel$interopDefault($eO4vc)))(maybeVersion) !== null) return {\n compiler: compiler,\n version: maybeVersion\n };\n else {\n (0, $hHq4F.info)(`Invalid semver version ${maybeVersion} used for the compiler.`);\n return {\n compiler: compiler,\n version: maybeVersion\n };\n }\n }\n return {\n compiler: compiler,\n version: undefined\n };\n}\nasync function $378d5e7e39d04cd9$export$4dabf89bf6376d2b(compilerAndVersion, osVersion, setupCppDir, arch, successMessages, hasLLVM, errorMessages) {\n try {\n const { compiler: compiler, version: version } = $378d5e7e39d04cd9$export$588248dee5258836(compilerAndVersion);\n // install the compiler. We allow some aliases for the compiler name\n (0, $2heqc.startGroup)(`Installing ${compiler} ${version !== null && version !== void 0 ? version : \"\"}`);\n switch(compiler){\n case \"llvm\":\n case \"clang\":\n case \"clang++\":\n {\n const installationInfo = await (0, $6953eb5c011ad8ed$export$3016de7ae9d14988)((0, $8555a825dc64b9bc$export$c506eb22e615ba4a)(\"llvm\", version, osVersion), (0, $4umf8$path.join)(setupCppDir, \"llvm\"), arch);\n await (0, $88e2c066ab70c051$export$2a0488baf2a20c0f)();\n successMessages.push((0, $5e34b9b876d96316$export$ad22d805bb3bfaf5)(\"llvm\", installationInfo));\n break;\n }\n case \"gcc\":\n case \"mingw\":\n case \"cygwin\":\n case \"msys\":\n {\n const gccVersion = compiler === \"mingw\" ? (0, $8555a825dc64b9bc$export$c506eb22e615ba4a)(\"mingw\", version, osVersion) : (0, $8555a825dc64b9bc$export$c506eb22e615ba4a)(\"gcc\", version, osVersion);\n const installationInfo = compiler === \"mingw\" ? await (0, $3f19caa876428bf4$export$f115c01d224b9e9a)(gccVersion, (0, $4umf8$path.join)(setupCppDir, \"gcc\"), arch) : await (0, $3f19caa876428bf4$export$405fab3de79b77b)(gccVersion, (0, $4umf8$path.join)(setupCppDir, \"gcc\"), arch);\n if (hasLLVM) // remove back the added CPPFLAGS of LLVM that include the LLVM headers\n await (0, $fcca2ee3cb52e97b$export$f63d3080ce25e0fd)(\"CPPFLAGS\", \"\");\n await (0, $88e2c066ab70c051$export$41dabde4775ee2aa)(gccVersion);\n successMessages.push((0, $5e34b9b876d96316$export$ad22d805bb3bfaf5)(\"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 {\n const installationInfo = await (0, $ca61f3433f42990a$export$a91ef0362c1a7298)((0, $8555a825dc64b9bc$export$c506eb22e615ba4a)(\"msvc\", version, osVersion), (0, $4umf8$path.join)(setupCppDir, \"msvc\"), arch);\n if (hasLLVM) // remove the CPPFLAGS of LLVM that include the LLVM headers\n await (0, $fcca2ee3cb52e97b$export$f63d3080ce25e0fd)(\"CPPFLAGS\", \"\");\n successMessages.push((0, $5e34b9b876d96316$export$ad22d805bb3bfaf5)(\"msvc\", installationInfo));\n break;\n }\n case \"appleclang\":\n case \"applellvm\":\n (0, $2heqc.notice)(\"Assuming apple-clang is already installed\");\n await Promise.all([\n (0, $fcca2ee3cb52e97b$export$f63d3080ce25e0fd)(\"CC\", \"clang\"),\n (0, $fcca2ee3cb52e97b$export$f63d3080ce25e0fd)(\"CXX\", \"clang++\")\n ]);\n successMessages.push((0, $5e34b9b876d96316$export$ad22d805bb3bfaf5)(\"apple-clang\", undefined));\n break;\n default:\n errorMessages.push(`Unsupported compiler ${compiler}`);\n }\n } catch (err) {\n (0, $hHq4F.error)(err);\n errorMessages.push(`Failed to install the ${compilerAndVersion}`);\n }\n (0, $2heqc.endGroup)();\n}\n\n\n\n\n\n\n\n\n\n/** The main entry function */ async function $1ae0f1c1ace0f6af$var$main(args) {\n let checkUpdatePromise = Promise.resolve();\n if (!(0, $cLprm.GITHUB_ACTIONS)) {\n checkUpdatePromise = (0, $c67d54237e946289$export$31c6d94eb20a8ca7)();\n process.env.ACTIONS_ALLOW_UNSECURE_COMMANDS = \"true\";\n }\n // parse options using mri or github actions\n const opts = (0, $5e34b9b876d96316$export$7300a92932ee17a3)(args);\n // print help\n if (opts.help) (0, $5e34b9b876d96316$export$f57ebcae4da846e4)();\n var _opts_architecture;\n // cpu architecture\n const arch = (_opts_architecture = opts.architecture) !== null && _opts_architecture !== void 0 ? _opts_architecture : process.arch;\n var _process_env_SETUP_CPP_DIR;\n // the installation dir for the tools that are downloaded directly\n const setupCppDir = (_process_env_SETUP_CPP_DIR = process.env.SETUP_CPP_DIR) !== null && _process_env_SETUP_CPP_DIR !== void 0 ? _process_env_SETUP_CPP_DIR : (0, $f19d14aa12f0fb90$export$8312d9eeba321950)(\"\");\n // report messages\n const successMessages = [];\n const errorMessages = [];\n const timeFormatter = $d359fb87ceb7ae02$exports.create({\n autoloadLocales: true\n });\n $d359fb87ceb7ae02$exports.addLocale((0, (/*@__PURE__*/$parcel$interopDefault($95744812b1d11a1d$exports))));\n $3abeg.addLocale((0, (/*@__PURE__*/$parcel$interopDefault($8ec2387b4b548e73$exports))));\n let time1;\n let time2;\n // installing the specified tools\n const osVersion = await (0, $1c6f48b06ad43808$export$49c9cf1111dfa0ee)();\n // sync the version for the llvm tools\n if (!(0, $8555a825dc64b9bc$export$dd13a1e418f5a5fe)(opts, [\n \"llvm\",\n \"clangtidy\",\n \"clangformat\"\n ])) {\n (0, $hHq4F.error)(\"The same version must be used for llvm, clangformat and clangtidy\");\n return 1;\n }\n if ((0, $64f7d4d3c6118037$export$d415ddb6702ec3a2)() && typeof opts.cppcheck === \"string\" && typeof opts.gcovr === \"string\") {\n (0, $hHq4F.info)(\"installing python-pygments to avoid conflicts with cppcheck and gcovr on Arch linux\");\n await (0, $48b5fe4903818be0$export$cfa75578ee2d6e6c)(\"python-pygments\");\n }\n /** Used to unset CPPFLAGS of LLVM when other compilers are used as the main compiler */ let hasLLVM = false;\n // loop over the tools and run their setup function\n let failedFast = false;\n for (const tool of (0, $5991c91eacfada05$export$904054328df186b)){\n // fail fast inside CI when any tool fails\n if (0, $cLprm.isCI) {\n if (errorMessages.length !== 0) {\n failedFast = true;\n break;\n }\n }\n // get the version or \"true\" or undefined for this tool from the options\n const version = opts[tool];\n // skip if undefined\n if (version !== undefined) {\n // running the setup function for this tool\n time1 = Date.now();\n var _opts_timeout;\n // eslint-disable-next-line no-await-in-loop\n hasLLVM = await (0, $f6eafce5b5cfae6d$export$ddb4b945c8581272)(tool, version, osVersion, arch, setupCppDir, successMessages, errorMessages, parseFloat((_opts_timeout = opts.timeout) !== null && _opts_timeout !== void 0 ? _opts_timeout : \"20\") * 60000);\n time2 = Date.now();\n (0, $hHq4F.info)(`took ${timeFormatter.format(time1, time2) || \"0 seconds\"}`);\n }\n }\n if (!failedFast) {\n // installing the specified compiler\n const maybeCompiler = opts.compiler;\n if (maybeCompiler !== undefined) {\n const time1Compiler = Date.now();\n await (0, $378d5e7e39d04cd9$export$4dabf89bf6376d2b)(maybeCompiler, osVersion, setupCppDir, arch, successMessages, hasLLVM, errorMessages);\n const time2Compiler = Date.now();\n (0, $hHq4F.info)(`took ${timeFormatter.format(time1Compiler, time2Compiler) || \"0 seconds\"}`);\n }\n }\n await (0, $fcca2ee3cb52e97b$export$ca46151966bee7ba)();\n if (successMessages.length === 0 && errorMessages.length === 0) {\n (0, $hHq4F.warning)(\"setup-cpp was called without any arguments. Nothing to do.\");\n return 0;\n }\n // report the messages in the end\n successMessages.forEach((tool)=>(0, $hHq4F.success)(tool));\n errorMessages.forEach((tool)=>(0, $hHq4F.error)(tool));\n (0, $hHq4F.info)(\"setup-cpp finished\");\n if (!(0, $cLprm.GITHUB_ACTIONS)) switch(process.platform){\n case \"win32\":\n (0, $hHq4F.warning)(\"Run `RefreshEnv.cmd` or restart your shell to update the environment.\");\n break;\n case \"linux\":\n case \"darwin\":\n (0, $hHq4F.warning)(\"Run `source ~/.cpprc` or restart your shell to update the environment.\");\n break;\n default:\n }\n await checkUpdatePromise;\n return errorMessages.length === 0 ? 0 : 1 // exit with non-zero if any error message\n ;\n}\n// Run main\n$1ae0f1c1ace0f6af$var$main(process.argv).then((ret)=>{\n process.exitCode = ret;\n}).catch((err)=>{\n (0, $hHq4F.error)(\"main() panicked!\");\n (0, $hHq4F.error)(err);\n process.exitCode = 1;\n});\n\n\n//# sourceMappingURL=setup-cpp.js.map\n","'use strict'\n\nconst vendors = require('./vendors.json')\n\nconst env = process.env\n\n// Used for testing only\nObject.defineProperty(exports, '_vendors', {\n value: vendors.map(function (v) {\n return v.constant\n })\n})\n\nexports.name = null\nexports.isPR = null\n\nvendors.forEach(function (vendor) {\n const envs = Array.isArray(vendor.env) ? vendor.env : [vendor.env]\n const isCI = envs.every(function (obj) {\n return checkEnv(obj)\n })\n\n exports[vendor.constant] = isCI\n\n if (!isCI) {\n return\n }\n\n exports.name = vendor.name\n\n switch (typeof vendor.pr) {\n case 'string':\n // \"pr\": \"CIRRUS_PR\"\n exports.isPR = !!env[vendor.pr]\n break\n case 'object':\n if ('env' in vendor.pr) {\n // \"pr\": { \"env\": \"BUILDKITE_PULL_REQUEST\", \"ne\": \"false\" }\n exports.isPR = vendor.pr.env in env && env[vendor.pr.env] !== vendor.pr.ne\n } else if ('any' in vendor.pr) {\n // \"pr\": { \"any\": [\"ghprbPullId\", \"CHANGE_ID\"] }\n exports.isPR = vendor.pr.any.some(function (key) {\n return !!env[key]\n })\n } else {\n // \"pr\": { \"DRONE_BUILD_EVENT\": \"pull_request\" }\n exports.isPR = checkEnv(vendor.pr)\n }\n break\n default:\n // PR detection not supported for this vendor\n exports.isPR = null\n }\n})\n\nexports.isCI = !!(\n env.CI !== 'false' && // Bypass all checks if CI env is explicitly set to 'false'\n (env.BUILD_ID || // Jenkins, Cloudbees\n env.BUILD_NUMBER || // Jenkins, TeamCity\n env.CI || // Travis CI, CircleCI, Cirrus CI, Gitlab CI, Appveyor, CodeShip, dsari\n env.CI_APP_ID || // Appflow\n env.CI_BUILD_ID || // Appflow\n env.CI_BUILD_NUMBER || // Appflow\n env.CI_NAME || // Codeship and others\n env.CONTINUOUS_INTEGRATION || // Travis CI, Cirrus CI\n env.RUN_ID || // TaskCluster, dsari\n exports.name ||\n false)\n)\n\nfunction checkEnv (obj) {\n // \"env\": \"CIRRUS\"\n if (typeof obj === 'string') return !!env[obj]\n\n // \"env\": { \"env\": \"NODE\", \"includes\": \"/app/.heroku/node/bin/node\" }\n if ('env' in obj) {\n // Currently there are no other types, uncomment when there are\n // if ('includes' in obj) {\n return env[obj.env] && env[obj.env].includes(obj.includes)\n // }\n }\n if ('any' in obj) {\n return obj.any.some(function (k) {\n return !!env[k]\n })\n }\n return Object.keys(obj).every(function (k) {\n return env[k] === obj[k]\n })\n}\n","[\n {\n \"name\": \"Appcircle\",\n \"constant\": \"APPCIRCLE\",\n \"env\": \"AC_APPCIRCLE\"\n },\n {\n \"name\": \"AppVeyor\",\n \"constant\": \"APPVEYOR\",\n \"env\": \"APPVEYOR\",\n \"pr\": \"APPVEYOR_PULL_REQUEST_NUMBER\"\n },\n {\n \"name\": \"AWS CodeBuild\",\n \"constant\": \"CODEBUILD\",\n \"env\": \"CODEBUILD_BUILD_ARN\"\n },\n {\n \"name\": \"Azure Pipelines\",\n \"constant\": \"AZURE_PIPELINES\",\n \"env\": \"SYSTEM_TEAMFOUNDATIONCOLLECTIONURI\",\n \"pr\": \"SYSTEM_PULLREQUEST_PULLREQUESTID\"\n },\n {\n \"name\": \"Bamboo\",\n \"constant\": \"BAMBOO\",\n \"env\": \"bamboo_planKey\"\n },\n {\n \"name\": \"Bitbucket Pipelines\",\n \"constant\": \"BITBUCKET\",\n \"env\": \"BITBUCKET_COMMIT\",\n \"pr\": \"BITBUCKET_PR_ID\"\n },\n {\n \"name\": \"Bitrise\",\n \"constant\": \"BITRISE\",\n \"env\": \"BITRISE_IO\",\n \"pr\": \"BITRISE_PULL_REQUEST\"\n },\n {\n \"name\": \"Buddy\",\n \"constant\": \"BUDDY\",\n \"env\": \"BUDDY_WORKSPACE_ID\",\n \"pr\": \"BUDDY_EXECUTION_PULL_REQUEST_ID\"\n },\n {\n \"name\": \"Buildkite\",\n \"constant\": \"BUILDKITE\",\n \"env\": \"BUILDKITE\",\n \"pr\": {\n \"env\": \"BUILDKITE_PULL_REQUEST\",\n \"ne\": \"false\"\n }\n },\n {\n \"name\": \"CircleCI\",\n \"constant\": \"CIRCLE\",\n \"env\": \"CIRCLECI\",\n \"pr\": \"CIRCLE_PULL_REQUEST\"\n },\n {\n \"name\": \"Cirrus CI\",\n \"constant\": \"CIRRUS\",\n \"env\": \"CIRRUS_CI\",\n \"pr\": \"CIRRUS_PR\"\n },\n {\n \"name\": \"Codefresh\",\n \"constant\": \"CODEFRESH\",\n \"env\": \"CF_BUILD_ID\",\n \"pr\": {\n \"any\": [\n \"CF_PULL_REQUEST_NUMBER\",\n \"CF_PULL_REQUEST_ID\"\n ]\n }\n },\n {\n \"name\": \"Codemagic\",\n \"constant\": \"CODEMAGIC\",\n \"env\": \"CM_BUILD_ID\",\n \"pr\": \"CM_PULL_REQUEST\"\n },\n {\n \"name\": \"Codeship\",\n \"constant\": \"CODESHIP\",\n \"env\": {\n \"CI_NAME\": \"codeship\"\n }\n },\n {\n \"name\": \"Drone\",\n \"constant\": \"DRONE\",\n \"env\": \"DRONE\",\n \"pr\": {\n \"DRONE_BUILD_EVENT\": \"pull_request\"\n }\n },\n {\n \"name\": \"dsari\",\n \"constant\": \"DSARI\",\n \"env\": \"DSARI\"\n },\n {\n \"name\": \"Expo Application Services\",\n \"constant\": \"EAS\",\n \"env\": \"EAS_BUILD\"\n },\n {\n \"name\": \"Gerrit\",\n \"constant\": \"GERRIT\",\n \"env\": \"GERRIT_PROJECT\"\n },\n {\n \"name\": \"GitHub Actions\",\n \"constant\": \"GITHUB_ACTIONS\",\n \"env\": \"GITHUB_ACTIONS\",\n \"pr\": {\n \"GITHUB_EVENT_NAME\": \"pull_request\"\n }\n },\n {\n \"name\": \"GitLab CI\",\n \"constant\": \"GITLAB\",\n \"env\": \"GITLAB_CI\",\n \"pr\": \"CI_MERGE_REQUEST_ID\"\n },\n {\n \"name\": \"GoCD\",\n \"constant\": \"GOCD\",\n \"env\": \"GO_PIPELINE_LABEL\"\n },\n {\n \"name\": \"Google Cloud Build\",\n \"constant\": \"GOOGLE_CLOUD_BUILD\",\n \"env\": \"BUILDER_OUTPUT\"\n },\n {\n \"name\": \"Harness CI\",\n \"constant\": \"HARNESS\",\n \"env\": \"HARNESS_BUILD_ID\"\n },\n {\n \"name\": \"Heroku\",\n \"constant\": \"HEROKU\",\n \"env\": {\n \"env\": \"NODE\",\n \"includes\": \"/app/.heroku/node/bin/node\"\n }\n },\n {\n \"name\": \"Hudson\",\n \"constant\": \"HUDSON\",\n \"env\": \"HUDSON_URL\"\n },\n {\n \"name\": \"Jenkins\",\n \"constant\": \"JENKINS\",\n \"env\": [\n \"JENKINS_URL\",\n \"BUILD_ID\"\n ],\n \"pr\": {\n \"any\": [\n \"ghprbPullId\",\n \"CHANGE_ID\"\n ]\n }\n },\n {\n \"name\": \"LayerCI\",\n \"constant\": \"LAYERCI\",\n \"env\": \"LAYERCI\",\n \"pr\": \"LAYERCI_PULL_REQUEST\"\n },\n {\n \"name\": \"Magnum CI\",\n \"constant\": \"MAGNUM\",\n \"env\": \"MAGNUM\"\n },\n {\n \"name\": \"Netlify CI\",\n \"constant\": \"NETLIFY\",\n \"env\": \"NETLIFY\",\n \"pr\": {\n \"env\": \"PULL_REQUEST\",\n \"ne\": \"false\"\n }\n },\n {\n \"name\": \"Nevercode\",\n \"constant\": \"NEVERCODE\",\n \"env\": \"NEVERCODE\",\n \"pr\": {\n \"env\": \"NEVERCODE_PULL_REQUEST\",\n \"ne\": \"false\"\n }\n },\n {\n \"name\": \"ReleaseHub\",\n \"constant\": \"RELEASEHUB\",\n \"env\": \"RELEASE_BUILD_ID\"\n },\n {\n \"name\": \"Render\",\n \"constant\": \"RENDER\",\n \"env\": \"RENDER\",\n \"pr\": {\n \"IS_PULL_REQUEST\": \"true\"\n }\n },\n {\n \"name\": \"Sail CI\",\n \"constant\": \"SAIL\",\n \"env\": \"SAILCI\",\n \"pr\": \"SAIL_PULL_REQUEST_NUMBER\"\n },\n {\n \"name\": \"Screwdriver\",\n \"constant\": \"SCREWDRIVER\",\n \"env\": \"SCREWDRIVER\",\n \"pr\": {\n \"env\": \"SD_PULL_REQUEST\",\n \"ne\": \"false\"\n }\n },\n {\n \"name\": \"Semaphore\",\n \"constant\": \"SEMAPHORE\",\n \"env\": \"SEMAPHORE\",\n \"pr\": \"PULL_REQUEST_NUMBER\"\n },\n {\n \"name\": \"Shippable\",\n \"constant\": \"SHIPPABLE\",\n \"env\": \"SHIPPABLE\",\n \"pr\": {\n \"IS_PULL_REQUEST\": \"true\"\n }\n },\n {\n \"name\": \"Solano CI\",\n \"constant\": \"SOLANO\",\n \"env\": \"TDDIUM\",\n \"pr\": \"TDDIUM_PR_ID\"\n },\n {\n \"name\": \"Sourcehut\",\n \"constant\": \"SOURCEHUT\",\n \"env\": {\n \"CI_NAME\": \"sourcehut\"\n }\n },\n {\n \"name\": \"Strider CD\",\n \"constant\": \"STRIDER\",\n \"env\": \"STRIDER\"\n },\n {\n \"name\": \"TaskCluster\",\n \"constant\": \"TASKCLUSTER\",\n \"env\": [\n \"TASK_ID\",\n \"RUN_ID\"\n ]\n },\n {\n \"name\": \"TeamCity\",\n \"constant\": \"TEAMCITY\",\n \"env\": \"TEAMCITY_VERSION\"\n },\n {\n \"name\": \"Travis CI\",\n \"constant\": \"TRAVIS\",\n \"env\": \"TRAVIS\",\n \"pr\": {\n \"env\": \"TRAVIS_PULL_REQUEST\",\n \"ne\": \"false\"\n }\n },\n {\n \"name\": \"Vercel\",\n \"constant\": \"VERCEL\",\n \"env\": {\n \"any\": [\n \"NOW_BUILDER\",\n \"VERCEL\"\n ]\n }\n },\n {\n \"name\": \"Visual Studio App Center\",\n \"constant\": \"APPCENTER\",\n \"env\": \"APPCENTER_BUILD_ID\"\n },\n {\n \"name\": \"Woodpecker\",\n \"constant\": \"WOODPECKER\",\n \"env\": {\n \"CI\": \"woodpecker\"\n },\n \"pr\": {\n \"CI_BUILD_EVENT\": \"pull_request\"\n }\n },\n {\n \"name\": \"Xcode Cloud\",\n \"constant\": \"XCODE_CLOUD\",\n \"env\": \"CI_XCODE_PROJECT\",\n \"pr\": \"CI_PULL_REQUEST_NUMBER\"\n },\n {\n \"name\": \"Xcode Server\",\n \"constant\": \"XCODE_SERVER\",\n \"env\": \"XCS\"\n }\n]\n","import * as core from \"@actions/core\"\nimport { GITHUB_ACTIONS } from \"ci-info\"\n\nexport function error(err: string | Error) {\n return 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 GITHUB_ACTIONS ? core.warning(msg) : console.log(`\\x1b[33m${msg}\\x1b[0m`)\n}\n\nexport function notice(msg: string) {\n return GITHUB_ACTIONS ? core.notice(msg) : console.log(`\\x1b[94m${msg}\\x1b[0m`)\n}\n\nexport function info(msg: string) {\n return GITHUB_ACTIONS ? core.info(msg) : console.log(msg)\n}\n",null,null,null,null,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,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,null,null,null,"(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","\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","// 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","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","// just pre-load all the stuff that index.js lazily exports\nconst internalRe = require('./internal/re')\nconst constants = require('./internal/constants')\nconst SemVer = require('./classes/semver')\nconst identifiers = require('./internal/identifiers')\nconst parse = require('./functions/parse')\nconst valid = require('./functions/valid')\nconst clean = require('./functions/clean')\nconst inc = require('./functions/inc')\nconst diff = require('./functions/diff')\nconst major = require('./functions/major')\nconst minor = require('./functions/minor')\nconst patch = require('./functions/patch')\nconst prerelease = require('./functions/prerelease')\nconst compare = require('./functions/compare')\nconst rcompare = require('./functions/rcompare')\nconst compareLoose = require('./functions/compare-loose')\nconst compareBuild = require('./functions/compare-build')\nconst sort = require('./functions/sort')\nconst rsort = require('./functions/rsort')\nconst gt = require('./functions/gt')\nconst lt = require('./functions/lt')\nconst eq = require('./functions/eq')\nconst neq = require('./functions/neq')\nconst gte = require('./functions/gte')\nconst lte = require('./functions/lte')\nconst cmp = require('./functions/cmp')\nconst coerce = require('./functions/coerce')\nconst Comparator = require('./classes/comparator')\nconst Range = require('./classes/range')\nconst satisfies = require('./functions/satisfies')\nconst toComparators = require('./ranges/to-comparators')\nconst maxSatisfying = require('./ranges/max-satisfying')\nconst minSatisfying = require('./ranges/min-satisfying')\nconst minVersion = require('./ranges/min-version')\nconst validRange = require('./ranges/valid')\nconst outside = require('./ranges/outside')\nconst gtr = require('./ranges/gtr')\nconst ltr = require('./ranges/ltr')\nconst intersects = require('./ranges/intersects')\nconst simplifyRange = require('./ranges/simplify')\nconst subset = require('./ranges/subset')\nmodule.exports = {\n parse,\n valid,\n clean,\n inc,\n diff,\n major,\n minor,\n patch,\n prerelease,\n compare,\n rcompare,\n compareLoose,\n compareBuild,\n sort,\n rsort,\n gt,\n lt,\n eq,\n neq,\n gte,\n lte,\n cmp,\n coerce,\n Comparator,\n Range,\n satisfies,\n toComparators,\n maxSatisfying,\n minSatisfying,\n minVersion,\n validRange,\n outside,\n gtr,\n ltr,\n intersects,\n simplifyRange,\n subset,\n SemVer,\n re: internalRe.re,\n src: internalRe.src,\n tokens: internalRe.t,\n SEMVER_SPEC_VERSION: constants.SEMVER_SPEC_VERSION,\n RELEASE_TYPES: constants.RELEASE_TYPES,\n compareIdentifiers: identifiers.compareIdentifiers,\n rcompareIdentifiers: identifiers.rcompareIdentifiers,\n}\n","const {\n MAX_SAFE_COMPONENT_LENGTH,\n MAX_SAFE_BUILD_LENGTH,\n MAX_LENGTH,\n} = require('./constants')\nconst debug = require('./debug')\nexports = module.exports = {}\n\n// The actual regexps go on exports.re\nconst re = exports.re = []\nconst safeRe = exports.safeRe = []\nconst src = exports.src = []\nconst t = exports.t = {}\nlet R = 0\n\nconst LETTERDASHNUMBER = '[a-zA-Z0-9-]'\n\n// Replace some greedy regex tokens to prevent regex dos issues. These regex are\n// used internally via the safeRe object since all inputs in this library get\n// normalized first to trim and collapse all extra whitespace. The original\n// regexes are exported for userland consumption and lower level usage. A\n// future breaking change could export the safer regex only with a note that\n// all input should have extra whitespace removed.\nconst safeRegexReplacements = [\n ['\\\\s', 1],\n ['\\\\d', MAX_LENGTH],\n [LETTERDASHNUMBER, MAX_SAFE_BUILD_LENGTH],\n]\n\nconst makeSafeRegex = (value) => {\n for (const [token, max] of safeRegexReplacements) {\n value = value\n .split(`${token}*`).join(`${token}{0,${max}}`)\n .split(`${token}+`).join(`${token}{1,${max}}`)\n }\n return value\n}\n\nconst createToken = (name, value, isGlobal) => {\n const safe = makeSafeRegex(value)\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 safeRe[index] = new RegExp(safe, 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', '\\\\d+')\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-]${LETTERDASHNUMBER}*`)\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', `${LETTERDASHNUMBER}+`)\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\n// Max safe length for a build identifier. The max length minus 6 characters for\n// the shortest version with a build 0.0.0+BUILD.\nconst MAX_SAFE_BUILD_LENGTH = MAX_LENGTH - 6\n\nconst RELEASE_TYPES = [\n 'major',\n 'premajor',\n 'minor',\n 'preminor',\n 'patch',\n 'prepatch',\n 'prerelease',\n]\n\nmodule.exports = {\n MAX_LENGTH,\n MAX_SAFE_COMPONENT_LENGTH,\n MAX_SAFE_BUILD_LENGTH,\n MAX_SAFE_INTEGER,\n RELEASE_TYPES,\n SEMVER_SPEC_VERSION,\n FLAG_INCLUDE_PRERELEASE: 0b001,\n FLAG_LOOSE: 0b010,\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 { safeRe: 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. Must be a string. Got type \"${typeof 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, identifierBase) {\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, identifierBase)\n break\n case 'preminor':\n this.prerelease.length = 0\n this.patch = 0\n this.minor++\n this.inc('pre', identifier, identifierBase)\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, identifierBase)\n this.inc('pre', identifier, identifierBase)\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, identifierBase)\n }\n this.inc('pre', identifier, identifierBase)\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 const base = Number(identifierBase) ? 1 : 0\n\n if (!identifier && identifierBase === false) {\n throw new Error('invalid increment argument: identifier is empty')\n }\n\n if (this.prerelease.length === 0) {\n this.prerelease = [base]\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 if (identifier === this.prerelease.join('.') && identifierBase === false) {\n throw new Error('invalid increment argument: identifier already exists')\n }\n this.prerelease.push(base)\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 let prerelease = [identifier, base]\n if (identifierBase === false) {\n prerelease = [identifier]\n }\n if (compareIdentifiers(this.prerelease[0], identifier) === 0) {\n if (isNaN(this.prerelease[1])) {\n this.prerelease = prerelease\n }\n } else {\n this.prerelease = prerelease\n }\n }\n break\n }\n default:\n throw new Error(`invalid increment argument: ${release}`)\n }\n this.raw = this.format()\n if (this.build.length) {\n this.raw += `+${this.build.join('.')}`\n }\n return this\n }\n}\n\nmodule.exports = SemVer\n","// parse out just the options we care about\nconst looseOption = Object.freeze({ loose: true })\nconst emptyOpts = Object.freeze({ })\nconst parseOptions = options => {\n if (!options) {\n return emptyOpts\n }\n\n if (typeof options !== 'object') {\n return looseOption\n }\n\n return options\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 SemVer = require('../classes/semver')\nconst parse = (version, options, throwErrors = false) => {\n if (version instanceof SemVer) {\n return version\n }\n try {\n return new SemVer(version, options)\n } catch (er) {\n if (!throwErrors) {\n return null\n }\n throw er\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, identifierBase) => {\n if (typeof (options) === 'string') {\n identifierBase = identifier\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, identifierBase).version\n } catch (er) {\n return null\n }\n}\nmodule.exports = inc\n","const parse = require('./parse.js')\n\nconst diff = (version1, version2) => {\n const v1 = parse(version1, null, true)\n const v2 = parse(version2, null, true)\n const comparison = v1.compare(v2)\n\n if (comparison === 0) {\n return null\n }\n\n const v1Higher = comparison > 0\n const highVersion = v1Higher ? v1 : v2\n const lowVersion = v1Higher ? v2 : v1\n const highHasPre = !!highVersion.prerelease.length\n const lowHasPre = !!lowVersion.prerelease.length\n\n if (lowHasPre && !highHasPre) {\n // Going from prerelease -> no prerelease requires some special casing\n\n // If the low version has only a major, then it will always be a major\n // Some examples:\n // 1.0.0-1 -> 1.0.0\n // 1.0.0-1 -> 1.1.1\n // 1.0.0-1 -> 2.0.0\n if (!lowVersion.patch && !lowVersion.minor) {\n return 'major'\n }\n\n // Otherwise it can be determined by checking the high version\n\n if (highVersion.patch) {\n // anything higher than a patch bump would result in the wrong version\n return 'patch'\n }\n\n if (highVersion.minor) {\n // anything higher than a minor bump would result in the wrong version\n return 'minor'\n }\n\n // bumping major/minor/patch all have same result\n return 'major'\n }\n\n // add the `pre` prefix if we are going to a prerelease version\n const prefix = highHasPre ? 'pre' : ''\n\n if (v1.major !== v2.major) {\n return prefix + 'major'\n }\n\n if (v1.minor !== v2.minor) {\n return prefix + 'minor'\n }\n\n if (v1.patch !== v2.patch) {\n return prefix + 'patch'\n }\n\n // high and low are preleases\n return 'prerelease'\n}\n\nmodule.exports = diff\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 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 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 eq = (a, b, loose) => compare(a, b, loose) === 0\nmodule.exports = eq\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 { safeRe: 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 comp = comp.trim().split(/\\s+/).join(' ')\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 (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 options = parseOptions(options)\n\n // Special cases where nothing can possibly be lower\n if (options.includePrerelease &&\n (this.value === '<0.0.0-0' || comp.value === '<0.0.0-0')) {\n return false\n }\n if (!options.includePrerelease &&\n (this.value.startsWith('<0.0.0') || comp.value.startsWith('<0.0.0'))) {\n return false\n }\n\n // Same direction increasing (> or >=)\n if (this.operator.startsWith('>') && comp.operator.startsWith('>')) {\n return true\n }\n // Same direction decreasing (< or <=)\n if (this.operator.startsWith('<') && comp.operator.startsWith('<')) {\n return true\n }\n // same SemVer and both sides are inclusive (<= or >=)\n if (\n (this.semver.version === comp.semver.version) &&\n this.operator.includes('=') && comp.operator.includes('=')) {\n return true\n }\n // opposite directions less than\n if (cmp(this.semver, '<', comp.semver, options) &&\n this.operator.startsWith('>') && comp.operator.startsWith('<')) {\n return true\n }\n // opposite directions greater than\n if (cmp(this.semver, '>', comp.semver, options) &&\n this.operator.startsWith('<') && comp.operator.startsWith('>')) {\n return true\n }\n return false\n }\n}\n\nmodule.exports = Comparator\n\nconst parseOptions = require('../internal/parse-options')\nconst { safeRe: 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 reduce all whitespace as much as possible so we do not have to rely\n // on potentially slow regexes like \\s*. This is then stored and used for\n // future error messages as well.\n this.raw = range\n .trim()\n .split(/\\s+/)\n .join(' ')\n\n // First, split on ||\n this.set = this.raw\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: ${this.raw}`)\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) => comps.join(' ').trim())\n .join('||')\n .trim()\n return this.range\n }\n\n toString () {\n return this.range\n }\n\n parseRange (range) {\n // memoize range parsing for performance.\n // this is a very hot path, and fully deterministic.\n const memoOpts =\n (this.options.includePrerelease && FLAG_INCLUDE_PRERELEASE) |\n (this.options.loose && FLAG_LOOSE)\n const memoKey = 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\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 debug('tilde trim', range)\n\n // `^ 1.2.3` => `^1.2.3`\n range = range.replace(re[t.CARETTRIM], caretTrimReplace)\n debug('caret trim', range)\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}\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 safeRe: re,\n t,\n comparatorTrimReplace,\n tildeTrimReplace,\n caretTrimReplace,\n} = require('../internal/re')\nconst { FLAG_INCLUDE_PRERELEASE, FLAG_LOOSE } = require('../internal/constants')\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\n// ~0.0.1 --> >=0.0.1 <0.1.0-0\nconst replaceTildes = (comp, options) => {\n return comp\n .trim()\n .split(/\\s+/)\n .map((c) => replaceTilde(c, options))\n .join(' ')\n}\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\n// ^0.0.1 --> >=0.0.1 <0.0.2-0\n// ^0.1.0 --> >=0.1.0 <0.2.0-0\nconst replaceCarets = (comp, options) => {\n return comp\n .trim()\n .split(/\\s+/)\n .map((c) => replaceCaret(c, options))\n .join(' ')\n}\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\n .split(/\\s+/)\n .map((c) => 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\n .trim()\n .replace(re[t.STAR], '')\n}\n\nconst replaceGTE0 = (comp, options) => {\n debug('replaceGTE0', comp, options)\n return comp\n .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","'use strict'\n\n// A linked list to keep track of recently-used-ness\nconst Yallist = require('yallist')\n\nconst MAX = Symbol('max')\nconst LENGTH = Symbol('length')\nconst LENGTH_CALCULATOR = Symbol('lengthCalculator')\nconst ALLOW_STALE = Symbol('allowStale')\nconst MAX_AGE = Symbol('maxAge')\nconst DISPOSE = Symbol('dispose')\nconst NO_DISPOSE_ON_SET = Symbol('noDisposeOnSet')\nconst LRU_LIST = Symbol('lruList')\nconst CACHE = Symbol('cache')\nconst UPDATE_AGE_ON_GET = Symbol('updateAgeOnGet')\n\nconst naiveLength = () => 1\n\n// lruList is a yallist where the head is the youngest\n// item, and the tail is the oldest. the list contains the Hit\n// objects as the entries.\n// Each Hit object has a reference to its Yallist.Node. This\n// never changes.\n//\n// cache is a Map (or PseudoMap) that matches the keys to\n// the Yallist.Node object.\nclass LRUCache {\n constructor (options) {\n if (typeof options === 'number')\n options = { max: options }\n\n if (!options)\n options = {}\n\n if (options.max && (typeof options.max !== 'number' || options.max < 0))\n throw new TypeError('max must be a non-negative number')\n // Kind of weird to have a default max of Infinity, but oh well.\n const max = this[MAX] = options.max || Infinity\n\n const lc = options.length || naiveLength\n this[LENGTH_CALCULATOR] = (typeof lc !== 'function') ? naiveLength : lc\n this[ALLOW_STALE] = options.stale || false\n if (options.maxAge && typeof options.maxAge !== 'number')\n throw new TypeError('maxAge must be a number')\n this[MAX_AGE] = options.maxAge || 0\n this[DISPOSE] = options.dispose\n this[NO_DISPOSE_ON_SET] = options.noDisposeOnSet || false\n this[UPDATE_AGE_ON_GET] = options.updateAgeOnGet || false\n this.reset()\n }\n\n // resize the cache when the max changes.\n set max (mL) {\n if (typeof mL !== 'number' || mL < 0)\n throw new TypeError('max must be a non-negative number')\n\n this[MAX] = mL || Infinity\n trim(this)\n }\n get max () {\n return this[MAX]\n }\n\n set allowStale (allowStale) {\n this[ALLOW_STALE] = !!allowStale\n }\n get allowStale () {\n return this[ALLOW_STALE]\n }\n\n set maxAge (mA) {\n if (typeof mA !== 'number')\n throw new TypeError('maxAge must be a non-negative number')\n\n this[MAX_AGE] = mA\n trim(this)\n }\n get maxAge () {\n return this[MAX_AGE]\n }\n\n // resize the cache when the lengthCalculator changes.\n set lengthCalculator (lC) {\n if (typeof lC !== 'function')\n lC = naiveLength\n\n if (lC !== this[LENGTH_CALCULATOR]) {\n this[LENGTH_CALCULATOR] = lC\n this[LENGTH] = 0\n this[LRU_LIST].forEach(hit => {\n hit.length = this[LENGTH_CALCULATOR](hit.value, hit.key)\n this[LENGTH] += hit.length\n })\n }\n trim(this)\n }\n get lengthCalculator () { return this[LENGTH_CALCULATOR] }\n\n get length () { return this[LENGTH] }\n get itemCount () { return this[LRU_LIST].length }\n\n rforEach (fn, thisp) {\n thisp = thisp || this\n for (let walker = this[LRU_LIST].tail; walker !== null;) {\n const prev = walker.prev\n forEachStep(this, fn, walker, thisp)\n walker = prev\n }\n }\n\n forEach (fn, thisp) {\n thisp = thisp || this\n for (let walker = this[LRU_LIST].head; walker !== null;) {\n const next = walker.next\n forEachStep(this, fn, walker, thisp)\n walker = next\n }\n }\n\n keys () {\n return this[LRU_LIST].toArray().map(k => k.key)\n }\n\n values () {\n return this[LRU_LIST].toArray().map(k => k.value)\n }\n\n reset () {\n if (this[DISPOSE] &&\n this[LRU_LIST] &&\n this[LRU_LIST].length) {\n this[LRU_LIST].forEach(hit => this[DISPOSE](hit.key, hit.value))\n }\n\n this[CACHE] = new Map() // hash of items by key\n this[LRU_LIST] = new Yallist() // list of items in order of use recency\n this[LENGTH] = 0 // length of items in the list\n }\n\n dump () {\n return this[LRU_LIST].map(hit =>\n isStale(this, hit) ? false : {\n k: hit.key,\n v: hit.value,\n e: hit.now + (hit.maxAge || 0)\n }).toArray().filter(h => h)\n }\n\n dumpLru () {\n return this[LRU_LIST]\n }\n\n set (key, value, maxAge) {\n maxAge = maxAge || this[MAX_AGE]\n\n if (maxAge && typeof maxAge !== 'number')\n throw new TypeError('maxAge must be a number')\n\n const now = maxAge ? Date.now() : 0\n const len = this[LENGTH_CALCULATOR](value, key)\n\n if (this[CACHE].has(key)) {\n if (len > this[MAX]) {\n del(this, this[CACHE].get(key))\n return false\n }\n\n const node = this[CACHE].get(key)\n const item = node.value\n\n // dispose of the old one before overwriting\n // split out into 2 ifs for better coverage tracking\n if (this[DISPOSE]) {\n if (!this[NO_DISPOSE_ON_SET])\n this[DISPOSE](key, item.value)\n }\n\n item.now = now\n item.maxAge = maxAge\n item.value = value\n this[LENGTH] += len - item.length\n item.length = len\n this.get(key)\n trim(this)\n return true\n }\n\n const hit = new Entry(key, value, len, now, maxAge)\n\n // oversized objects fall out of cache automatically.\n if (hit.length > this[MAX]) {\n if (this[DISPOSE])\n this[DISPOSE](key, value)\n\n return false\n }\n\n this[LENGTH] += hit.length\n this[LRU_LIST].unshift(hit)\n this[CACHE].set(key, this[LRU_LIST].head)\n trim(this)\n return true\n }\n\n has (key) {\n if (!this[CACHE].has(key)) return false\n const hit = this[CACHE].get(key).value\n return !isStale(this, hit)\n }\n\n get (key) {\n return get(this, key, true)\n }\n\n peek (key) {\n return get(this, key, false)\n }\n\n pop () {\n const node = this[LRU_LIST].tail\n if (!node)\n return null\n\n del(this, node)\n return node.value\n }\n\n del (key) {\n del(this, this[CACHE].get(key))\n }\n\n load (arr) {\n // reset the cache\n this.reset()\n\n const now = Date.now()\n // A previous serialized cache has the most recent items first\n for (let l = arr.length - 1; l >= 0; l--) {\n const hit = arr[l]\n const expiresAt = hit.e || 0\n if (expiresAt === 0)\n // the item was created without expiration in a non aged cache\n this.set(hit.k, hit.v)\n else {\n const maxAge = expiresAt - now\n // dont add already expired items\n if (maxAge > 0) {\n this.set(hit.k, hit.v, maxAge)\n }\n }\n }\n }\n\n prune () {\n this[CACHE].forEach((value, key) => get(this, key, false))\n }\n}\n\nconst get = (self, key, doUse) => {\n const node = self[CACHE].get(key)\n if (node) {\n const hit = node.value\n if (isStale(self, hit)) {\n del(self, node)\n if (!self[ALLOW_STALE])\n return undefined\n } else {\n if (doUse) {\n if (self[UPDATE_AGE_ON_GET])\n node.value.now = Date.now()\n self[LRU_LIST].unshiftNode(node)\n }\n }\n return hit.value\n }\n}\n\nconst isStale = (self, hit) => {\n if (!hit || (!hit.maxAge && !self[MAX_AGE]))\n return false\n\n const diff = Date.now() - hit.now\n return hit.maxAge ? diff > hit.maxAge\n : self[MAX_AGE] && (diff > self[MAX_AGE])\n}\n\nconst trim = self => {\n if (self[LENGTH] > self[MAX]) {\n for (let walker = self[LRU_LIST].tail;\n self[LENGTH] > self[MAX] && walker !== null;) {\n // We know that we're about to delete this one, and also\n // what the next least recently used key will be, so just\n // go ahead and set it now.\n const prev = walker.prev\n del(self, walker)\n walker = prev\n }\n }\n}\n\nconst del = (self, node) => {\n if (node) {\n const hit = node.value\n if (self[DISPOSE])\n self[DISPOSE](hit.key, hit.value)\n\n self[LENGTH] -= hit.length\n self[CACHE].delete(hit.key)\n self[LRU_LIST].removeNode(node)\n }\n}\n\nclass Entry {\n constructor (key, value, length, now, maxAge) {\n this.key = key\n this.value = value\n this.length = length\n this.now = now\n this.maxAge = maxAge || 0\n }\n}\n\nconst forEachStep = (self, fn, node, thisp) => {\n let hit = node.value\n if (isStale(self, hit)) {\n del(self, node)\n if (!self[ALLOW_STALE])\n hit = undefined\n }\n if (hit)\n fn.call(thisp, hit.value, hit.key, self)\n}\n\nmodule.exports = LRUCache\n","'use strict'\nmodule.exports = Yallist\n\nYallist.Node = Node\nYallist.create = Yallist\n\nfunction Yallist (list) {\n var self = this\n if (!(self instanceof Yallist)) {\n self = new Yallist()\n }\n\n self.tail = null\n self.head = null\n self.length = 0\n\n if (list && typeof list.forEach === 'function') {\n list.forEach(function (item) {\n self.push(item)\n })\n } else if (arguments.length > 0) {\n for (var i = 0, l = arguments.length; i < l; i++) {\n self.push(arguments[i])\n }\n }\n\n return self\n}\n\nYallist.prototype.removeNode = function (node) {\n if (node.list !== this) {\n throw new Error('removing node which does not belong to this list')\n }\n\n var next = node.next\n var prev = node.prev\n\n if (next) {\n next.prev = prev\n }\n\n if (prev) {\n prev.next = next\n }\n\n if (node === this.head) {\n this.head = next\n }\n if (node === this.tail) {\n this.tail = prev\n }\n\n node.list.length--\n node.next = null\n node.prev = null\n node.list = null\n\n return next\n}\n\nYallist.prototype.unshiftNode = function (node) {\n if (node === this.head) {\n return\n }\n\n if (node.list) {\n node.list.removeNode(node)\n }\n\n var head = this.head\n node.list = this\n node.next = head\n if (head) {\n head.prev = node\n }\n\n this.head = node\n if (!this.tail) {\n this.tail = node\n }\n this.length++\n}\n\nYallist.prototype.pushNode = function (node) {\n if (node === this.tail) {\n return\n }\n\n if (node.list) {\n node.list.removeNode(node)\n }\n\n var tail = this.tail\n node.list = this\n node.prev = tail\n if (tail) {\n tail.next = node\n }\n\n this.tail = node\n if (!this.head) {\n this.head = node\n }\n this.length++\n}\n\nYallist.prototype.push = function () {\n for (var i = 0, l = arguments.length; i < l; i++) {\n push(this, arguments[i])\n }\n return this.length\n}\n\nYallist.prototype.unshift = function () {\n for (var i = 0, l = arguments.length; i < l; i++) {\n unshift(this, arguments[i])\n }\n return this.length\n}\n\nYallist.prototype.pop = function () {\n if (!this.tail) {\n return undefined\n }\n\n var res = this.tail.value\n this.tail = this.tail.prev\n if (this.tail) {\n this.tail.next = null\n } else {\n this.head = null\n }\n this.length--\n return res\n}\n\nYallist.prototype.shift = function () {\n if (!this.head) {\n return undefined\n }\n\n var res = this.head.value\n this.head = this.head.next\n if (this.head) {\n this.head.prev = null\n } else {\n this.tail = null\n }\n this.length--\n return res\n}\n\nYallist.prototype.forEach = function (fn, thisp) {\n thisp = thisp || this\n for (var walker = this.head, i = 0; walker !== null; i++) {\n fn.call(thisp, walker.value, i, this)\n walker = walker.next\n }\n}\n\nYallist.prototype.forEachReverse = function (fn, thisp) {\n thisp = thisp || this\n for (var walker = this.tail, i = this.length - 1; walker !== null; i--) {\n fn.call(thisp, walker.value, i, this)\n walker = walker.prev\n }\n}\n\nYallist.prototype.get = function (n) {\n for (var i = 0, walker = this.head; walker !== null && i < n; i++) {\n // abort out of the list early if we hit a cycle\n walker = walker.next\n }\n if (i === n && walker !== null) {\n return walker.value\n }\n}\n\nYallist.prototype.getReverse = function (n) {\n for (var i = 0, walker = this.tail; walker !== null && i < n; i++) {\n // abort out of the list early if we hit a cycle\n walker = walker.prev\n }\n if (i === n && walker !== null) {\n return walker.value\n }\n}\n\nYallist.prototype.map = function (fn, thisp) {\n thisp = thisp || this\n var res = new Yallist()\n for (var walker = this.head; walker !== null;) {\n res.push(fn.call(thisp, walker.value, this))\n walker = walker.next\n }\n return res\n}\n\nYallist.prototype.mapReverse = function (fn, thisp) {\n thisp = thisp || this\n var res = new Yallist()\n for (var walker = this.tail; walker !== null;) {\n res.push(fn.call(thisp, walker.value, this))\n walker = walker.prev\n }\n return res\n}\n\nYallist.prototype.reduce = function (fn, initial) {\n var acc\n var walker = this.head\n if (arguments.length > 1) {\n acc = initial\n } else if (this.head) {\n walker = this.head.next\n acc = this.head.value\n } else {\n throw new TypeError('Reduce of empty list with no initial value')\n }\n\n for (var i = 0; walker !== null; i++) {\n acc = fn(acc, walker.value, i)\n walker = walker.next\n }\n\n return acc\n}\n\nYallist.prototype.reduceReverse = function (fn, initial) {\n var acc\n var walker = this.tail\n if (arguments.length > 1) {\n acc = initial\n } else if (this.tail) {\n walker = this.tail.prev\n acc = this.tail.value\n } else {\n throw new TypeError('Reduce of empty list with no initial value')\n }\n\n for (var i = this.length - 1; walker !== null; i--) {\n acc = fn(acc, walker.value, i)\n walker = walker.prev\n }\n\n return acc\n}\n\nYallist.prototype.toArray = function () {\n var arr = new Array(this.length)\n for (var i = 0, walker = this.head; walker !== null; i++) {\n arr[i] = walker.value\n walker = walker.next\n }\n return arr\n}\n\nYallist.prototype.toArrayReverse = function () {\n var arr = new Array(this.length)\n for (var i = 0, walker = this.tail; walker !== null; i++) {\n arr[i] = walker.value\n walker = walker.prev\n }\n return arr\n}\n\nYallist.prototype.slice = function (from, to) {\n to = to || this.length\n if (to < 0) {\n to += this.length\n }\n from = from || 0\n if (from < 0) {\n from += this.length\n }\n var ret = new Yallist()\n if (to < from || to < 0) {\n return ret\n }\n if (from < 0) {\n from = 0\n }\n if (to > this.length) {\n to = this.length\n }\n for (var i = 0, walker = this.head; walker !== null && i < from; i++) {\n walker = walker.next\n }\n for (; walker !== null && i < to; i++, walker = walker.next) {\n ret.push(walker.value)\n }\n return ret\n}\n\nYallist.prototype.sliceReverse = function (from, to) {\n to = to || this.length\n if (to < 0) {\n to += this.length\n }\n from = from || 0\n if (from < 0) {\n from += this.length\n }\n var ret = new Yallist()\n if (to < from || to < 0) {\n return ret\n }\n if (from < 0) {\n from = 0\n }\n if (to > this.length) {\n to = this.length\n }\n for (var i = this.length, walker = this.tail; walker !== null && i > to; i--) {\n walker = walker.prev\n }\n for (; walker !== null && i > from; i--, walker = walker.prev) {\n ret.push(walker.value)\n }\n return ret\n}\n\nYallist.prototype.splice = function (start, deleteCount, ...nodes) {\n if (start > this.length) {\n start = this.length - 1\n }\n if (start < 0) {\n start = this.length + start;\n }\n\n for (var i = 0, walker = this.head; walker !== null && i < start; i++) {\n walker = walker.next\n }\n\n var ret = []\n for (var i = 0; walker && i < deleteCount; i++) {\n ret.push(walker.value)\n walker = this.removeNode(walker)\n }\n if (walker === null) {\n walker = this.tail\n }\n\n if (walker !== this.head && walker !== this.tail) {\n walker = walker.prev\n }\n\n for (var i = 0; i < nodes.length; i++) {\n walker = insert(this, walker, nodes[i])\n }\n return ret;\n}\n\nYallist.prototype.reverse = function () {\n var head = this.head\n var tail = this.tail\n for (var walker = head; walker !== null; walker = walker.prev) {\n var p = walker.prev\n walker.prev = walker.next\n walker.next = p\n }\n this.head = tail\n this.tail = head\n return this\n}\n\nfunction insert (self, node, value) {\n var inserted = node === self.head ?\n new Node(value, null, node, self) :\n new Node(value, node, node.next, self)\n\n if (inserted.next === null) {\n self.tail = inserted\n }\n if (inserted.prev === null) {\n self.head = inserted\n }\n\n self.length++\n\n return inserted\n}\n\nfunction push (self, item) {\n self.tail = new Node(item, self.tail, null, self)\n if (!self.head) {\n self.head = self.tail\n }\n self.length++\n}\n\nfunction unshift (self, item) {\n self.head = new Node(item, null, self.head, self)\n if (!self.tail) {\n self.tail = self.head\n }\n self.length++\n}\n\nfunction Node (value, prev, next, list) {\n if (!(this instanceof Node)) {\n return new Node(value, prev, next, list)\n }\n\n this.list = list\n this.value = value\n\n if (prev) {\n prev.next = this\n this.prev = prev\n } else {\n this.prev = null\n }\n\n if (next) {\n next.prev = this\n this.next = next\n } else {\n this.next = null\n }\n}\n\ntry {\n // add if support for Symbol.iterator is present\n require('./iterator.js')(Yallist)\n} catch (er) {}\n","'use strict'\nmodule.exports = function (Yallist) {\n Yallist.prototype[Symbol.iterator] = function* () {\n for (let walker = this.head; walker; walker = walker.next) {\n yield walker.value\n }\n }\n}\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, options)\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 minimumVersionWithPreRelease = [new Comparator('>=0.0.0-0')]\nconst minimumVersion = [new Comparator('>=0.0.0')]\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 = minimumVersionWithPreRelease\n } else {\n sub = minimumVersion\n }\n }\n\n if (dom.length === 1 && dom[0].semver === ANY) {\n if (options.includePrerelease) {\n return true\n } else {\n dom = minimumVersion\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","'use strict';\n\nvar matchOperatorsRe = /[|\\\\{}()[\\]^$+*?.]/g;\n\nmodule.exports = function (str) {\n\tif (typeof str !== 'string') {\n\t\tthrow new TypeError('Expected a string');\n\t}\n\n\treturn str.replace(matchOperatorsRe, '\\\\$&');\n};\n","import fs, {promises as fsPromises} from 'node:fs';\n\nexport async function pathExists(path) {\n\ttry {\n\t\tawait fsPromises.access(path);\n\t\treturn true;\n\t} catch {\n\t\treturn false;\n\t}\n}\n\nexport function pathExistsSync(path) {\n\ttry {\n\t\tfs.accessSync(path);\n\t\treturn true;\n\t} catch {\n\t\treturn false;\n\t}\n}\n",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","/**\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","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","'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",null,null,null,null,null,null,"exports = module.exports = SemVer\n\nvar debug\n/* istanbul ignore next */\nif (typeof process === 'object' &&\n process.env &&\n process.env.NODE_DEBUG &&\n /\\bsemver\\b/i.test(process.env.NODE_DEBUG)) {\n debug = function () {\n var args = Array.prototype.slice.call(arguments, 0)\n args.unshift('SEMVER')\n console.log.apply(console, args)\n }\n} else {\n debug = function () {}\n}\n\n// Note: this is the semver.org version of the spec that it implements\n// Not necessarily the package version of this code.\nexports.SEMVER_SPEC_VERSION = '2.0.0'\n\nvar MAX_LENGTH = 256\nvar MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER ||\n /* istanbul ignore next */ 9007199254740991\n\n// Max safe segment length for coercion.\nvar MAX_SAFE_COMPONENT_LENGTH = 16\n\nvar MAX_SAFE_BUILD_LENGTH = MAX_LENGTH - 6\n\n// The actual regexps go on exports.re\nvar re = exports.re = []\nvar safeRe = exports.safeRe = []\nvar src = exports.src = []\nvar t = exports.tokens = {}\nvar R = 0\n\nfunction tok (n) {\n t[n] = R++\n}\n\nvar LETTERDASHNUMBER = '[a-zA-Z0-9-]'\n\n// Replace some greedy regex tokens to prevent regex dos issues. These regex are\n// used internally via the safeRe object since all inputs in this library get\n// normalized first to trim and collapse all extra whitespace. The original\n// regexes are exported for userland consumption and lower level usage. A\n// future breaking change could export the safer regex only with a note that\n// all input should have extra whitespace removed.\nvar safeRegexReplacements = [\n ['\\\\s', 1],\n ['\\\\d', MAX_LENGTH],\n [LETTERDASHNUMBER, MAX_SAFE_BUILD_LENGTH],\n]\n\nfunction makeSafeRe (value) {\n for (var i = 0; i < safeRegexReplacements.length; i++) {\n var token = safeRegexReplacements[i][0]\n var max = safeRegexReplacements[i][1]\n value = value\n .split(token + '*').join(token + '{0,' + max + '}')\n .split(token + '+').join(token + '{1,' + max + '}')\n }\n return value\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\ntok('NUMERICIDENTIFIER')\nsrc[t.NUMERICIDENTIFIER] = '0|[1-9]\\\\d*'\ntok('NUMERICIDENTIFIERLOOSE')\nsrc[t.NUMERICIDENTIFIERLOOSE] = '\\\\d+'\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\ntok('NONNUMERICIDENTIFIER')\nsrc[t.NONNUMERICIDENTIFIER] = '\\\\d*[a-zA-Z-]' + LETTERDASHNUMBER + '*'\n\n// ## Main Version\n// Three dot-separated numeric identifiers.\n\ntok('MAINVERSION')\nsrc[t.MAINVERSION] = '(' + src[t.NUMERICIDENTIFIER] + ')\\\\.' +\n '(' + src[t.NUMERICIDENTIFIER] + ')\\\\.' +\n '(' + src[t.NUMERICIDENTIFIER] + ')'\n\ntok('MAINVERSIONLOOSE')\nsrc[t.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\ntok('PRERELEASEIDENTIFIER')\nsrc[t.PRERELEASEIDENTIFIER] = '(?:' + src[t.NUMERICIDENTIFIER] +\n '|' + src[t.NONNUMERICIDENTIFIER] + ')'\n\ntok('PRERELEASEIDENTIFIERLOOSE')\nsrc[t.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\ntok('PRERELEASE')\nsrc[t.PRERELEASE] = '(?:-(' + src[t.PRERELEASEIDENTIFIER] +\n '(?:\\\\.' + src[t.PRERELEASEIDENTIFIER] + ')*))'\n\ntok('PRERELEASELOOSE')\nsrc[t.PRERELEASELOOSE] = '(?:-?(' + src[t.PRERELEASEIDENTIFIERLOOSE] +\n '(?:\\\\.' + src[t.PRERELEASEIDENTIFIERLOOSE] + ')*))'\n\n// ## Build Metadata Identifier\n// Any combination of digits, letters, or hyphens.\n\ntok('BUILDIDENTIFIER')\nsrc[t.BUILDIDENTIFIER] = LETTERDASHNUMBER + '+'\n\n// ## Build Metadata\n// Plus sign, followed by one or more period-separated build metadata\n// identifiers.\n\ntok('BUILD')\nsrc[t.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\ntok('FULL')\ntok('FULLPLAIN')\nsrc[t.FULLPLAIN] = 'v?' + src[t.MAINVERSION] +\n src[t.PRERELEASE] + '?' +\n src[t.BUILD] + '?'\n\nsrc[t.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.\ntok('LOOSEPLAIN')\nsrc[t.LOOSEPLAIN] = '[v=\\\\s]*' + src[t.MAINVERSIONLOOSE] +\n src[t.PRERELEASELOOSE] + '?' +\n src[t.BUILD] + '?'\n\ntok('LOOSE')\nsrc[t.LOOSE] = '^' + src[t.LOOSEPLAIN] + '$'\n\ntok('GTLT')\nsrc[t.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.\ntok('XRANGEIDENTIFIERLOOSE')\nsrc[t.XRANGEIDENTIFIERLOOSE] = src[t.NUMERICIDENTIFIERLOOSE] + '|x|X|\\\\*'\ntok('XRANGEIDENTIFIER')\nsrc[t.XRANGEIDENTIFIER] = src[t.NUMERICIDENTIFIER] + '|x|X|\\\\*'\n\ntok('XRANGEPLAIN')\nsrc[t.XRANGEPLAIN] = '[v=\\\\s]*(' + src[t.XRANGEIDENTIFIER] + ')' +\n '(?:\\\\.(' + src[t.XRANGEIDENTIFIER] + ')' +\n '(?:\\\\.(' + src[t.XRANGEIDENTIFIER] + ')' +\n '(?:' + src[t.PRERELEASE] + ')?' +\n src[t.BUILD] + '?' +\n ')?)?'\n\ntok('XRANGEPLAINLOOSE')\nsrc[t.XRANGEPLAINLOOSE] = '[v=\\\\s]*(' + src[t.XRANGEIDENTIFIERLOOSE] + ')' +\n '(?:\\\\.(' + src[t.XRANGEIDENTIFIERLOOSE] + ')' +\n '(?:\\\\.(' + src[t.XRANGEIDENTIFIERLOOSE] + ')' +\n '(?:' + src[t.PRERELEASELOOSE] + ')?' +\n src[t.BUILD] + '?' +\n ')?)?'\n\ntok('XRANGE')\nsrc[t.XRANGE] = '^' + src[t.GTLT] + '\\\\s*' + src[t.XRANGEPLAIN] + '$'\ntok('XRANGELOOSE')\nsrc[t.XRANGELOOSE] = '^' + src[t.GTLT] + '\\\\s*' + src[t.XRANGEPLAINLOOSE] + '$'\n\n// Coercion.\n// Extract anything that could conceivably be a part of a valid semver\ntok('COERCE')\nsrc[t.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])'\ntok('COERCERTL')\nre[t.COERCERTL] = new RegExp(src[t.COERCE], 'g')\nsafeRe[t.COERCERTL] = new RegExp(makeSafeRe(src[t.COERCE]), 'g')\n\n// Tilde ranges.\n// Meaning is \"reasonably at or greater than\"\ntok('LONETILDE')\nsrc[t.LONETILDE] = '(?:~>?)'\n\ntok('TILDETRIM')\nsrc[t.TILDETRIM] = '(\\\\s*)' + src[t.LONETILDE] + '\\\\s+'\nre[t.TILDETRIM] = new RegExp(src[t.TILDETRIM], 'g')\nsafeRe[t.TILDETRIM] = new RegExp(makeSafeRe(src[t.TILDETRIM]), 'g')\nvar tildeTrimReplace = '$1~'\n\ntok('TILDE')\nsrc[t.TILDE] = '^' + src[t.LONETILDE] + src[t.XRANGEPLAIN] + '$'\ntok('TILDELOOSE')\nsrc[t.TILDELOOSE] = '^' + src[t.LONETILDE] + src[t.XRANGEPLAINLOOSE] + '$'\n\n// Caret ranges.\n// Meaning is \"at least and backwards compatible with\"\ntok('LONECARET')\nsrc[t.LONECARET] = '(?:\\\\^)'\n\ntok('CARETTRIM')\nsrc[t.CARETTRIM] = '(\\\\s*)' + src[t.LONECARET] + '\\\\s+'\nre[t.CARETTRIM] = new RegExp(src[t.CARETTRIM], 'g')\nsafeRe[t.CARETTRIM] = new RegExp(makeSafeRe(src[t.CARETTRIM]), 'g')\nvar caretTrimReplace = '$1^'\n\ntok('CARET')\nsrc[t.CARET] = '^' + src[t.LONECARET] + src[t.XRANGEPLAIN] + '$'\ntok('CARETLOOSE')\nsrc[t.CARETLOOSE] = '^' + src[t.LONECARET] + src[t.XRANGEPLAINLOOSE] + '$'\n\n// A simple gt/lt/eq thing, or just \"\" to indicate \"any version\"\ntok('COMPARATORLOOSE')\nsrc[t.COMPARATORLOOSE] = '^' + src[t.GTLT] + '\\\\s*(' + src[t.LOOSEPLAIN] + ')$|^$'\ntok('COMPARATOR')\nsrc[t.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`\ntok('COMPARATORTRIM')\nsrc[t.COMPARATORTRIM] = '(\\\\s*)' + src[t.GTLT] +\n '\\\\s*(' + src[t.LOOSEPLAIN] + '|' + src[t.XRANGEPLAIN] + ')'\n\n// this one has to use the /g flag\nre[t.COMPARATORTRIM] = new RegExp(src[t.COMPARATORTRIM], 'g')\nsafeRe[t.COMPARATORTRIM] = new RegExp(makeSafeRe(src[t.COMPARATORTRIM]), 'g')\nvar 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.\ntok('HYPHENRANGE')\nsrc[t.HYPHENRANGE] = '^\\\\s*(' + src[t.XRANGEPLAIN] + ')' +\n '\\\\s+-\\\\s+' +\n '(' + src[t.XRANGEPLAIN] + ')' +\n '\\\\s*$'\n\ntok('HYPHENRANGELOOSE')\nsrc[t.HYPHENRANGELOOSE] = '^\\\\s*(' + src[t.XRANGEPLAINLOOSE] + ')' +\n '\\\\s+-\\\\s+' +\n '(' + src[t.XRANGEPLAINLOOSE] + ')' +\n '\\\\s*$'\n\n// Star ranges basically just allow anything at all.\ntok('STAR')\nsrc[t.STAR] = '(<|>)?=?\\\\s*\\\\*'\n\n// Compile to actual regexp objects.\n// All are flag-free, unless they were created above with a flag.\nfor (var i = 0; i < R; i++) {\n debug(i, src[i])\n if (!re[i]) {\n re[i] = new RegExp(src[i])\n\n // Replace all greedy whitespace to prevent regex dos issues. These regex are\n // used internally via the safeRe object since all inputs in this library get\n // normalized first to trim and collapse all extra whitespace. The original\n // regexes are exported for userland consumption and lower level usage. A\n // future breaking change could export the safer regex only with a note that\n // all input should have extra whitespace removed.\n safeRe[i] = new RegExp(makeSafeRe(src[i]))\n }\n}\n\nexports.parse = parse\nfunction parse (version, options) {\n if (!options || typeof options !== 'object') {\n options = {\n loose: !!options,\n includePrerelease: false\n }\n }\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 var r = options.loose ? safeRe[t.LOOSE] : safeRe[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\nexports.valid = valid\nfunction valid (version, options) {\n var v = parse(version, options)\n return v ? v.version : null\n}\n\nexports.clean = clean\nfunction clean (version, options) {\n var s = parse(version.trim().replace(/^[=v]+/, ''), options)\n return s ? s.version : null\n}\n\nexports.SemVer = SemVer\n\nfunction SemVer (version, options) {\n if (!options || typeof options !== 'object') {\n options = {\n loose: !!options,\n includePrerelease: false\n }\n }\n if (version instanceof SemVer) {\n if (version.loose === options.loose) {\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('version is longer than ' + MAX_LENGTH + ' characters')\n }\n\n if (!(this instanceof SemVer)) {\n return new SemVer(version, options)\n }\n\n debug('SemVer', version, options)\n this.options = options\n this.loose = !!options.loose\n\n var m = version.trim().match(options.loose ? safeRe[t.LOOSE] : safeRe[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(function (id) {\n if (/^[0-9]+$/.test(id)) {\n var 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\nSemVer.prototype.format = function () {\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\nSemVer.prototype.toString = function () {\n return this.version\n}\n\nSemVer.prototype.compare = function (other) {\n debug('SemVer.compare', this.version, this.options, other)\n if (!(other instanceof SemVer)) {\n other = new SemVer(other, this.options)\n }\n\n return this.compareMain(other) || this.comparePre(other)\n}\n\nSemVer.prototype.compareMain = function (other) {\n if (!(other instanceof SemVer)) {\n other = new SemVer(other, this.options)\n }\n\n return compareIdentifiers(this.major, other.major) ||\n compareIdentifiers(this.minor, other.minor) ||\n compareIdentifiers(this.patch, other.patch)\n}\n\nSemVer.prototype.comparePre = function (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 var i = 0\n do {\n var a = this.prerelease[i]\n var 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\nSemVer.prototype.compareBuild = function (other) {\n if (!(other instanceof SemVer)) {\n other = new SemVer(other, this.options)\n }\n\n var i = 0\n do {\n var a = this.build[i]\n var 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.\nSemVer.prototype.inc = function (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 (this.minor !== 0 ||\n this.patch !== 0 ||\n this.prerelease.length === 0) {\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 var 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 (this.prerelease[0] === identifier) {\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\nexports.inc = inc\nfunction inc (version, release, loose, identifier) {\n if (typeof (loose) === 'string') {\n identifier = loose\n loose = undefined\n }\n\n try {\n return new SemVer(version, loose).inc(release, identifier).version\n } catch (er) {\n return null\n }\n}\n\nexports.diff = diff\nfunction diff (version1, version2) {\n if (eq(version1, version2)) {\n return null\n } else {\n var v1 = parse(version1)\n var v2 = parse(version2)\n var prefix = ''\n if (v1.prerelease.length || v2.prerelease.length) {\n prefix = 'pre'\n var defaultResult = 'prerelease'\n }\n for (var 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}\n\nexports.compareIdentifiers = compareIdentifiers\n\nvar numeric = /^[0-9]+$/\nfunction compareIdentifiers (a, b) {\n var anum = numeric.test(a)\n var 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\nexports.rcompareIdentifiers = rcompareIdentifiers\nfunction rcompareIdentifiers (a, b) {\n return compareIdentifiers(b, a)\n}\n\nexports.major = major\nfunction major (a, loose) {\n return new SemVer(a, loose).major\n}\n\nexports.minor = minor\nfunction minor (a, loose) {\n return new SemVer(a, loose).minor\n}\n\nexports.patch = patch\nfunction patch (a, loose) {\n return new SemVer(a, loose).patch\n}\n\nexports.compare = compare\nfunction compare (a, b, loose) {\n return new SemVer(a, loose).compare(new SemVer(b, loose))\n}\n\nexports.compareLoose = compareLoose\nfunction compareLoose (a, b) {\n return compare(a, b, true)\n}\n\nexports.compareBuild = compareBuild\nfunction compareBuild (a, b, loose) {\n var versionA = new SemVer(a, loose)\n var versionB = new SemVer(b, loose)\n return versionA.compare(versionB) || versionA.compareBuild(versionB)\n}\n\nexports.rcompare = rcompare\nfunction rcompare (a, b, loose) {\n return compare(b, a, loose)\n}\n\nexports.sort = sort\nfunction sort (list, loose) {\n return list.sort(function (a, b) {\n return exports.compareBuild(a, b, loose)\n })\n}\n\nexports.rsort = rsort\nfunction rsort (list, loose) {\n return list.sort(function (a, b) {\n return exports.compareBuild(b, a, loose)\n })\n}\n\nexports.gt = gt\nfunction gt (a, b, loose) {\n return compare(a, b, loose) > 0\n}\n\nexports.lt = lt\nfunction lt (a, b, loose) {\n return compare(a, b, loose) < 0\n}\n\nexports.eq = eq\nfunction eq (a, b, loose) {\n return compare(a, b, loose) === 0\n}\n\nexports.neq = neq\nfunction neq (a, b, loose) {\n return compare(a, b, loose) !== 0\n}\n\nexports.gte = gte\nfunction gte (a, b, loose) {\n return compare(a, b, loose) >= 0\n}\n\nexports.lte = lte\nfunction lte (a, b, loose) {\n return compare(a, b, loose) <= 0\n}\n\nexports.cmp = cmp\nfunction cmp (a, op, b, loose) {\n switch (op) {\n case '===':\n if (typeof a === 'object')\n a = a.version\n if (typeof b === 'object')\n b = b.version\n return a === b\n\n case '!==':\n if (typeof a === 'object')\n a = a.version\n if (typeof b === 'object')\n b = b.version\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}\n\nexports.Comparator = Comparator\nfunction Comparator (comp, options) {\n if (!options || typeof options !== 'object') {\n options = {\n loose: !!options,\n includePrerelease: false\n }\n }\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 if (!(this instanceof Comparator)) {\n return new Comparator(comp, options)\n }\n\n comp = comp.trim().split(/\\s+/).join(' ')\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\nvar ANY = {}\nComparator.prototype.parse = function (comp) {\n var r = this.options.loose ? safeRe[t.COMPARATORLOOSE] : safeRe[t.COMPARATOR]\n var 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\nComparator.prototype.toString = function () {\n return this.value\n}\n\nComparator.prototype.test = function (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\nComparator.prototype.intersects = function (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 var rangeTmp\n\n if (this.operator === '') {\n if (this.value === '') {\n return true\n }\n rangeTmp = new Range(comp.value, options)\n return satisfies(this.value, rangeTmp, options)\n } else if (comp.operator === '') {\n if (comp.value === '') {\n return true\n }\n rangeTmp = new Range(this.value, options)\n return satisfies(comp.semver, rangeTmp, options)\n }\n\n var sameDirectionIncreasing =\n (this.operator === '>=' || this.operator === '>') &&\n (comp.operator === '>=' || comp.operator === '>')\n var sameDirectionDecreasing =\n (this.operator === '<=' || this.operator === '<') &&\n (comp.operator === '<=' || comp.operator === '<')\n var sameSemVer = this.semver.version === comp.semver.version\n var differentDirectionsInclusive =\n (this.operator === '>=' || this.operator === '<=') &&\n (comp.operator === '>=' || comp.operator === '<=')\n var oppositeDirectionsLessThan =\n cmp(this.semver, '<', comp.semver, options) &&\n ((this.operator === '>=' || this.operator === '>') &&\n (comp.operator === '<=' || comp.operator === '<'))\n var oppositeDirectionsGreaterThan =\n cmp(this.semver, '>', comp.semver, options) &&\n ((this.operator === '<=' || this.operator === '<') &&\n (comp.operator === '>=' || comp.operator === '>'))\n\n return sameDirectionIncreasing || sameDirectionDecreasing ||\n (sameSemVer && differentDirectionsInclusive) ||\n oppositeDirectionsLessThan || oppositeDirectionsGreaterThan\n}\n\nexports.Range = Range\nfunction Range (range, options) {\n if (!options || typeof options !== 'object') {\n options = {\n loose: !!options,\n includePrerelease: false\n }\n }\n\n if (range instanceof Range) {\n if (range.loose === !!options.loose &&\n range.includePrerelease === !!options.includePrerelease) {\n return range\n } else {\n return new Range(range.raw, options)\n }\n }\n\n if (range instanceof Comparator) {\n return new Range(range.value, options)\n }\n\n if (!(this instanceof Range)) {\n return new Range(range, options)\n }\n\n this.options = options\n this.loose = !!options.loose\n this.includePrerelease = !!options.includePrerelease\n\n // First reduce all whitespace as much as possible so we do not have to rely\n // on potentially slow regexes like \\s*. This is then stored and used for\n // future error messages as well.\n this.raw = range\n .trim()\n .split(/\\s+/)\n .join(' ')\n\n // First, split based on boolean or ||\n this.set = this.raw.split('||').map(function (range) {\n return this.parseRange(range.trim())\n }, this).filter(function (c) {\n // throw out any that are not relevant for whatever reason\n return c.length\n })\n\n if (!this.set.length) {\n throw new TypeError('Invalid SemVer Range: ' + this.raw)\n }\n\n this.format()\n}\n\nRange.prototype.format = function () {\n this.range = this.set.map(function (comps) {\n return comps.join(' ').trim()\n }).join('||').trim()\n return this.range\n}\n\nRange.prototype.toString = function () {\n return this.range\n}\n\nRange.prototype.parseRange = function (range) {\n var loose = this.options.loose\n // `1.2.3 - 1.2.4` => `>=1.2.3 <=1.2.4`\n var hr = loose ? safeRe[t.HYPHENRANGELOOSE] : safeRe[t.HYPHENRANGE]\n range = range.replace(hr, hyphenReplace)\n debug('hyphen replace', range)\n // `> 1.2.3 < 1.2.5` => `>1.2.3 <1.2.5`\n range = range.replace(safeRe[t.COMPARATORTRIM], comparatorTrimReplace)\n debug('comparator trim', range, safeRe[t.COMPARATORTRIM])\n\n // `~ 1.2.3` => `~1.2.3`\n range = range.replace(safeRe[t.TILDETRIM], tildeTrimReplace)\n\n // `^ 1.2.3` => `^1.2.3`\n range = range.replace(safeRe[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 var compRe = loose ? safeRe[t.COMPARATORLOOSE] : safeRe[t.COMPARATOR]\n var set = range.split(' ').map(function (comp) {\n return parseComparator(comp, this.options)\n }, this).join(' ').split(/\\s+/)\n if (this.options.loose) {\n // in loose mode, throw out any that are not valid comparators\n set = set.filter(function (comp) {\n return !!comp.match(compRe)\n })\n }\n set = set.map(function (comp) {\n return new Comparator(comp, this.options)\n }, this)\n\n return set\n}\n\nRange.prototype.intersects = function (range, options) {\n if (!(range instanceof Range)) {\n throw new TypeError('a Range is required')\n }\n\n return this.set.some(function (thisComparators) {\n return (\n isSatisfiable(thisComparators, options) &&\n range.set.some(function (rangeComparators) {\n return (\n isSatisfiable(rangeComparators, options) &&\n thisComparators.every(function (thisComparator) {\n return rangeComparators.every(function (rangeComparator) {\n return thisComparator.intersects(rangeComparator, options)\n })\n })\n )\n })\n )\n })\n}\n\n// take a set of comparators and determine whether there\n// exists a version which can satisfy it\nfunction isSatisfiable (comparators, options) {\n var result = true\n var remainingComparators = comparators.slice()\n var testComparator = remainingComparators.pop()\n\n while (result && remainingComparators.length) {\n result = remainingComparators.every(function (otherComparator) {\n return testComparator.intersects(otherComparator, options)\n })\n\n testComparator = remainingComparators.pop()\n }\n\n return result\n}\n\n// Mostly just for testing and legacy API reasons\nexports.toComparators = toComparators\nfunction toComparators (range, options) {\n return new Range(range, options).set.map(function (comp) {\n return comp.map(function (c) {\n return c.value\n }).join(' ').trim().split(' ')\n })\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.\nfunction 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\nfunction isX (id) {\n return !id || id.toLowerCase() === 'x' || id === '*'\n}\n\n// ~, ~> --> * (any, kinda silly)\n// ~2, ~2.x, ~2.x.x, ~>2, ~>2.x ~>2.x.x --> >=2.0.0 <3.0.0\n// ~2.0, ~2.0.x, ~>2.0, ~>2.0.x --> >=2.0.0 <2.1.0\n// ~1.2, ~1.2.x, ~>1.2, ~>1.2.x --> >=1.2.0 <1.3.0\n// ~1.2.3, ~>1.2.3 --> >=1.2.3 <1.3.0\n// ~1.2.0, ~>1.2.0 --> >=1.2.0 <1.3.0\nfunction replaceTildes (comp, options) {\n return comp.trim().split(/\\s+/).map(function (comp) {\n return replaceTilde(comp, options)\n }).join(' ')\n}\n\nfunction replaceTilde (comp, options) {\n var r = options.loose ? safeRe[t.TILDELOOSE] : safeRe[t.TILDE]\n return comp.replace(r, function (_, M, m, p, pr) {\n debug('tilde', comp, _, M, m, p, pr)\n var ret\n\n if (isX(M)) {\n ret = ''\n } else if (isX(m)) {\n ret = '>=' + M + '.0.0 <' + (+M + 1) + '.0.0'\n } else if (isX(p)) {\n // ~1.2 == >=1.2.0 <1.3.0\n ret = '>=' + M + '.' + m + '.0 <' + M + '.' + (+m + 1) + '.0'\n } else if (pr) {\n debug('replaceTilde pr', pr)\n ret = '>=' + M + '.' + m + '.' + p + '-' + pr +\n ' <' + M + '.' + (+m + 1) + '.0'\n } else {\n // ~1.2.3 == >=1.2.3 <1.3.0\n ret = '>=' + M + '.' + m + '.' + p +\n ' <' + M + '.' + (+m + 1) + '.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\n// ^2.0, ^2.0.x --> >=2.0.0 <3.0.0\n// ^1.2, ^1.2.x --> >=1.2.0 <2.0.0\n// ^1.2.3 --> >=1.2.3 <2.0.0\n// ^1.2.0 --> >=1.2.0 <2.0.0\nfunction replaceCarets (comp, options) {\n return comp.trim().split(/\\s+/).map(function (comp) {\n return replaceCaret(comp, options)\n }).join(' ')\n}\n\nfunction replaceCaret (comp, options) {\n debug('caret', comp, options)\n var r = options.loose ? safeRe[t.CARETLOOSE] : safeRe[t.CARET]\n return comp.replace(r, function (_, M, m, p, pr) {\n debug('caret', comp, _, M, m, p, pr)\n var ret\n\n if (isX(M)) {\n ret = ''\n } else if (isX(m)) {\n ret = '>=' + M + '.0.0 <' + (+M + 1) + '.0.0'\n } else if (isX(p)) {\n if (M === '0') {\n ret = '>=' + M + '.' + m + '.0 <' + M + '.' + (+m + 1) + '.0'\n } else {\n ret = '>=' + M + '.' + m + '.0 <' + (+M + 1) + '.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)\n } else {\n ret = '>=' + M + '.' + m + '.' + p + '-' + pr +\n ' <' + M + '.' + (+m + 1) + '.0'\n }\n } else {\n ret = '>=' + M + '.' + m + '.' + p + '-' + pr +\n ' <' + (+M + 1) + '.0.0'\n }\n } else {\n debug('no pr')\n if (M === '0') {\n if (m === '0') {\n ret = '>=' + M + '.' + m + '.' + p +\n ' <' + M + '.' + m + '.' + (+p + 1)\n } else {\n ret = '>=' + M + '.' + m + '.' + p +\n ' <' + M + '.' + (+m + 1) + '.0'\n }\n } else {\n ret = '>=' + M + '.' + m + '.' + p +\n ' <' + (+M + 1) + '.0.0'\n }\n }\n\n debug('caret return', ret)\n return ret\n })\n}\n\nfunction replaceXRanges (comp, options) {\n debug('replaceXRanges', comp, options)\n return comp.split(/\\s+/).map(function (comp) {\n return replaceXRange(comp, options)\n }).join(' ')\n}\n\nfunction replaceXRange (comp, options) {\n comp = comp.trim()\n var r = options.loose ? safeRe[t.XRANGELOOSE] : safeRe[t.XRANGE]\n return comp.replace(r, function (ret, gtlt, M, m, p, pr) {\n debug('xRange', comp, ret, gtlt, M, m, p, pr)\n var xM = isX(M)\n var xm = xM || isX(m)\n var xp = xm || isX(p)\n var 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 // >1.2.3 => >= 1.2.4\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 ret = gtlt + M + '.' + m + '.' + p + pr\n } else if (xm) {\n ret = '>=' + M + '.0.0' + pr + ' <' + (+M + 1) + '.0.0' + pr\n } else if (xp) {\n ret = '>=' + M + '.' + m + '.0' + pr +\n ' <' + M + '.' + (+m + 1) + '.0' + pr\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.\nfunction 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(safeRe[t.STAR], '')\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 Any 3.4.x will do\n// 1.2 - 3.4 => >=1.2.0 <3.5.0\nfunction hyphenReplace ($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'\n } else if (isX(fp)) {\n from = '>=' + fM + '.' + fm + '.0'\n } else {\n from = '>=' + from\n }\n\n if (isX(tM)) {\n to = ''\n } else if (isX(tm)) {\n to = '<' + (+tM + 1) + '.0.0'\n } else if (isX(tp)) {\n to = '<' + tM + '.' + (+tm + 1) + '.0'\n } else if (tpr) {\n to = '<=' + tM + '.' + tm + '.' + tp + '-' + tpr\n } else {\n to = '<=' + to\n }\n\n return (from + ' ' + to).trim()\n}\n\n// if ANY of the sets match ALL of its comparators, then pass\nRange.prototype.test = function (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 (var 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\nfunction testSet (set, version, options) {\n for (var 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 (i = 0; i < set.length; i++) {\n debug(set[i].semver)\n if (set[i].semver === ANY) {\n continue\n }\n\n if (set[i].semver.prerelease.length > 0) {\n var 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\nexports.satisfies = satisfies\nfunction 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}\n\nexports.maxSatisfying = maxSatisfying\nfunction maxSatisfying (versions, range, options) {\n var max = null\n var maxSV = null\n try {\n var rangeObj = new Range(range, options)\n } catch (er) {\n return null\n }\n versions.forEach(function (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}\n\nexports.minSatisfying = minSatisfying\nfunction minSatisfying (versions, range, options) {\n var min = null\n var minSV = null\n try {\n var rangeObj = new Range(range, options)\n } catch (er) {\n return null\n }\n versions.forEach(function (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}\n\nexports.minVersion = minVersion\nfunction minVersion (range, loose) {\n range = new Range(range, loose)\n\n var 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 (var i = 0; i < range.set.length; ++i) {\n var comparators = range.set[i]\n\n comparators.forEach(function (comparator) {\n // Clone to avoid manipulating the comparator's semver object.\n var 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 (!minver || gt(minver, compver)) {\n minver = 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 }\n\n if (minver && range.test(minver)) {\n return minver\n }\n\n return null\n}\n\nexports.validRange = validRange\nfunction 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}\n\n// Determine if version is less than all the versions possible in the range\nexports.ltr = ltr\nfunction ltr (version, range, options) {\n return outside(version, range, '<', options)\n}\n\n// Determine if version is greater than all the versions possible in the range.\nexports.gtr = gtr\nfunction gtr (version, range, options) {\n return outside(version, range, '>', options)\n}\n\nexports.outside = outside\nfunction outside (version, range, hilo, options) {\n version = new SemVer(version, options)\n range = new Range(range, options)\n\n var 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 satisifes 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 (var i = 0; i < range.set.length; ++i) {\n var comparators = range.set[i]\n\n var high = null\n var low = null\n\n comparators.forEach(function (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\nexports.prerelease = prerelease\nfunction prerelease (version, options) {\n var parsed = parse(version, options)\n return (parsed && parsed.prerelease.length) ? parsed.prerelease : null\n}\n\nexports.intersects = intersects\nfunction intersects (r1, r2, options) {\n r1 = new Range(r1, options)\n r2 = new Range(r2, options)\n return r1.intersects(r2)\n}\n\nexports.coerce = coerce\nfunction 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 var match = null\n if (!options.rtl) {\n match = version.match(safeRe[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 var next\n while ((next = safeRe[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 safeRe[t.COERCERTL].lastIndex = next.index + next[1].length + next[2].length\n }\n // leave it in a clean state\n safeRe[t.COERCERTL].lastIndex = -1\n }\n\n if (match === null) {\n return null\n }\n\n return parse(match[2] +\n '.' + (match[3] || '0') +\n '.' + (match[4] || '0'), options)\n}\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,null,null,"module.exports = (Promise.resolve(__parcel__require__(\"./\" + \"actions_python.92140582.js\"))).then(() => parcelRequire('8L9T2'));","#!/usr/bin/env node\n/* eslint-disable node/shebang */\n\nimport { GITHUB_ACTIONS, isCI } from \"ci-info\"\nimport { error, info, success, warning } from \"ci-log\"\nimport * as numerous from \"numerous\"\nimport numerousLocale from \"numerous/locales/en.js\"\nimport * as timeDelta from \"time-delta\"\nimport timeDeltaLocale from \"time-delta/locales/en.js\"\nimport { untildifyUser } from \"untildify-user\"\nimport { checkUpdates } from \"./check-updates\"\nimport { parseArgs, printHelp } from \"./cli-options\"\nimport { installCompiler } from \"./compilers\"\nimport { finalizeCpprc } from \"./utils/env/addEnv\"\nimport { isArch } from \"./utils/env/isArch\"\nimport { ubuntuVersion } from \"./utils/env/ubuntu_version\"\nimport { setupPacmanPack } from \"./utils/setup/setupPacmanPack\"\nimport { syncVersions } from \"./versions/versions\"\nimport { installTool } from \"./installTool\"\nimport { tools } from \"./tool\"\n\n/** The main entry function */\nasync function main(args: string[]): Promise {\n let checkUpdatePromise = Promise.resolve()\n if (!GITHUB_ACTIONS) {\n checkUpdatePromise = checkUpdates()\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 as numerous.Locale)\n let time1: number\n let time2: number\n\n // installing the specified tools\n\n const osVersion = await ubuntuVersion()\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 if (isArch() && typeof opts.cppcheck === \"string\" && typeof opts.gcovr === \"string\") {\n info(\"installing python-pygments to avoid conflicts with cppcheck and gcovr on Arch linux\")\n await setupPacmanPack(\"python-pygments\")\n }\n\n /** Used to unset CPPFLAGS of LLVM when other compilers are used as the main compiler */\n let hasLLVM = false\n\n // loop over the tools and run their setup function\n\n let failedFast = false\n for (const tool of tools) {\n // fail fast inside CI when any tool fails\n if (isCI) {\n if (errorMessages.length !== 0) {\n failedFast = true\n break\n }\n }\n\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 // eslint-disable-next-line no-await-in-loop\n hasLLVM = await installTool(\n tool,\n version,\n osVersion,\n arch,\n setupCppDir,\n successMessages,\n errorMessages,\n parseFloat(opts.timeout ?? \"20\") * 60 * 1000,\n )\n time2 = Date.now()\n info(`took ${timeFormatter.format(time1, time2) || \"0 seconds\"}`)\n }\n }\n\n if (!failedFast) {\n // installing the specified compiler\n const maybeCompiler = opts.compiler\n if (maybeCompiler !== undefined) {\n const time1Compiler = Date.now()\n await installCompiler(maybeCompiler, osVersion, setupCppDir, arch, successMessages, hasLLVM, errorMessages)\n const time2Compiler = Date.now()\n info(`took ${timeFormatter.format(time1Compiler, time2Compiler) || \"0 seconds\"}`)\n }\n }\n\n await finalizeCpprc()\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 (!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 await checkUpdatePromise\n\n return errorMessages.length === 0 ? 0 : 1 // exit with non-zero if any error message\n}\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","(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);","\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","import { join } from \"path\"\nimport untildify from \"untildify\"\nimport { isSudo } from \"admina\"\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","'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","export * from \"./root\"\nexport * from \"./admin\"\nexport * from \"./user-access\"\n",null,"import which from \"which\"\nimport * as execa from \"execa\"\n\n/** Detect if sudo is available */\nexport function hasSudo(): boolean {\n return which.sync(\"sudo\", { nothrow: true }) !== null\n}\n\n/**\n * Detect if the process has root privilege on Posix.\n *\n * @example\n *\n * ```js\n * import { isRoot } from \"admina\"\n *\n * console.log(isRoot())\n * //=> false\n * ```\n *\n * @returns Whether the process is running as root.\n */\nexport function isRoot(): boolean {\n // TODO not all CI systems are root\n return process.getuid?.() === 0 || Boolean(process.env.CI)\n}\n\n/** Detect if sudo is available and the user has root privileges */\nexport function isSudo(): boolean {\n return isRoot() && hasSudo()\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/** Default exec options `{ stdio: \"inherit\", shell: true }` */\nexport const defaultExecOptions: execa.SyncOptions = { stdio: \"inherit\", shell: true }\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 = defaultExecOptions\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 = defaultExecOptions\n): execa.ExecaChildProcess {\n if (isSudo()) {\n return execa.command(`sudo ${[program, ...args].map((arg) => `'${arg}'`).join(\" \")}`, execOptions)\n } else {\n return execa.default(program, args, execOptions)\n }\n}\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","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","'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 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';\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\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 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';\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';\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';\nmodule.exports = /^#!(.*)/;\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\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';\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","'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 {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",null,"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",null,"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",null,"/* 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",null,"// 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 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","'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","// 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 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 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 {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","'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';\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",null,"import { default as isAdminWindowsOrig } from \"./is-admin\"\nimport { isRoot } from \"./root\"\n\n/**\n * Check if the process is running as administrator on Windows.\n *\n * @example\n *\n * ```js\n * import { isAdminWindows } from \"admina\"\n *\n * console.log(await isAdminWindows())\n * //=> false\n * ```\n *\n * @returns Whether the process is running as administrator.\n */\nexport const isAdminWindows = isAdminWindowsOrig\n\n/**\n * Detect if the process has root privilege on Posix.\n *\n * @example\n *\n * ```js\n * import { isAdminPosix } from \"admina\"\n *\n * console.log(isAdminPosix())\n * //=> false\n * ```\n *\n * @returns Whether the process is running as root.\n */\nexport const isAdminPosix = isRoot\n\n/**\n * Detect if the code is running as admin/root\n *\n * On Windows, it checks for admin access, and on Posix, it checks for root access\n *\n * @example\n *\n * ```js\n * import { isAdmin } from \"admina\"\n *\n * console.log(isAdmin())\n * //=> false\n * ```\n *\n * @returns Whether the process is running as root or admin.\n */\nexport function isAdmin() {\n if (process.platform === \"win32\") {\n return isAdminWindows()\n } else {\n return isRoot()\n }\n}\n",null,"// From `is-admin`: removed `node:proces` so that the code works on Deno and Node 12\n\n// cspell:disable\n\nimport execa from \"execa\"\n\n// https://stackoverflow.com/a/28268802\nasync function testFltmc() {\n try {\n await execa(\"fltmc\")\n return true\n } catch {\n return false\n }\n}\n\nexport default async function isAdmin() {\n if (process.platform !== \"win32\") {\n return false\n }\n\n try {\n // https://stackoverflow.com/a/21295806/1641422\n await execa(\"fsutil\", [\"dirty\", \"query\", process.env.systemdrive ?? \"\"])\n return true\n } catch (error) {\n if ((error as { code?: string }).code === \"ENOENT\") {\n return testFltmc()\n }\n\n return false\n }\n}\n",null,"import { isSudo, execRoot, defaultExecOptions } from \"./root\"\nimport { statSync } from \"fs\"\nimport process from \"process\"\n\n/**\n * Give the user access to the given path (and its sub-directories if a directory). It changes the owner to the\n * SUDO_USER. This allows the user to use the folder without sudo\n *\n * @param path The path to give the user access to\n */\nexport async function grantUserWriteAccess(path: string) {\n if (\n (process.platform === \"linux\" || process.platform === \"darwin\") &&\n isSudo() &&\n process.env.SUDO_USER !== undefined\n ) {\n const isDirectory = statSync(path).isDirectory()\n await execRoot(\"chown\", [...(isDirectory ? [\"-R\"] : []), process.env.SUDO_USER, path], defaultExecOptions)\n }\n}\n","import { warning } from \"ci-log\"\nimport updateNotifier from \"simple-update-notifier\"\nimport packageJson from \"../package-version.json\"\n\n// auto self update notifier\nexport async function checkUpdates() {\n try {\n await updateNotifier({ pkg: packageJson })\n } catch (err) {\n warning(`Failed to check for updates: ${err instanceof Error ? err.message + err.stack : err}`)\n }\n}\n","'use strict';\n\nvar process$1 = require('process');\nvar semver = require('semver');\nvar os = require('os');\nvar path = require('path');\nvar fs = require('fs');\nvar https = require('https');\n\n/******************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\n\r\nfunction __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nfunction __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\n\nvar packageJson = process$1.env.npm_package_json;\nvar userAgent = process$1.env.npm_config_user_agent;\nvar isNpm6 = Boolean(userAgent && userAgent.startsWith('npm'));\nvar isNpm7 = Boolean(packageJson && packageJson.endsWith('package.json'));\nvar isNpm = isNpm6 || isNpm7;\nvar isYarn = Boolean(userAgent && userAgent.startsWith('yarn'));\nvar isNpmOrYarn = isNpm || isYarn;\n\nvar homeDirectory = os.homedir();\nvar configDir = process.env.XDG_CONFIG_HOME ||\n path.join(homeDirectory, '.config', 'simple-update-notifier');\nvar getConfigFile = function (packageName) {\n return path.join(configDir, \"\".concat(packageName.replace('@', '').replace('/', '__'), \".json\"));\n};\nvar createConfigDir = function () {\n if (!fs.existsSync(configDir)) {\n fs.mkdirSync(configDir, { recursive: true });\n }\n};\nvar getLastUpdate = function (packageName) {\n var configFile = getConfigFile(packageName);\n try {\n if (!fs.existsSync(configFile)) {\n return undefined;\n }\n var file = JSON.parse(fs.readFileSync(configFile, 'utf8'));\n return file.lastUpdateCheck;\n }\n catch (_a) {\n return undefined;\n }\n};\nvar saveLastUpdate = function (packageName) {\n var configFile = getConfigFile(packageName);\n fs.writeFileSync(configFile, JSON.stringify({ lastUpdateCheck: new Date().getTime() }));\n};\n\nvar getDistVersion = function (packageName, distTag) { return __awaiter(void 0, void 0, void 0, function () {\n var url;\n return __generator(this, function (_a) {\n url = \"https://registry.npmjs.org/-/package/\".concat(packageName, \"/dist-tags\");\n return [2 /*return*/, new Promise(function (resolve, reject) {\n https\n .get(url, function (res) {\n var body = '';\n res.on('data', function (chunk) { return (body += chunk); });\n res.on('end', function () {\n try {\n var json = JSON.parse(body);\n var version = json[distTag];\n if (!version) {\n reject(new Error('Error getting version'));\n }\n resolve(version);\n }\n catch (_a) {\n reject(new Error('Could not parse version response'));\n }\n });\n })\n .on('error', function (err) { return reject(err); });\n })];\n });\n}); };\n\nvar hasNewVersion = function (_a) {\n var pkg = _a.pkg, _b = _a.updateCheckInterval, updateCheckInterval = _b === void 0 ? 1000 * 60 * 60 * 24 : _b, _c = _a.distTag, distTag = _c === void 0 ? 'latest' : _c, alwaysRun = _a.alwaysRun, debug = _a.debug;\n return __awaiter(void 0, void 0, void 0, function () {\n var lastUpdateCheck, latestVersion;\n return __generator(this, function (_d) {\n switch (_d.label) {\n case 0:\n createConfigDir();\n lastUpdateCheck = getLastUpdate(pkg.name);\n if (!(alwaysRun ||\n !lastUpdateCheck ||\n lastUpdateCheck < new Date().getTime() - updateCheckInterval)) return [3 /*break*/, 2];\n return [4 /*yield*/, getDistVersion(pkg.name, distTag)];\n case 1:\n latestVersion = _d.sent();\n saveLastUpdate(pkg.name);\n if (semver.gt(latestVersion, pkg.version)) {\n return [2 /*return*/, latestVersion];\n }\n else if (debug) {\n console.error(\"Latest version (\".concat(latestVersion, \") not newer than current version (\").concat(pkg.version, \")\"));\n }\n return [3 /*break*/, 3];\n case 2:\n if (debug) {\n console.error(\"Too recent to check for a new update. simpleUpdateNotifier() interval set to \".concat(updateCheckInterval, \"ms but only \").concat(new Date().getTime() - lastUpdateCheck, \"ms since last check.\"));\n }\n _d.label = 3;\n case 3: return [2 /*return*/, false];\n }\n });\n });\n};\n\nvar borderedText = function (text) {\n var lines = text.split('\\n');\n var width = Math.max.apply(Math, lines.map(function (l) { return l.length; }));\n var res = [\"\\u250C\".concat('─'.repeat(width + 2), \"\\u2510\")];\n for (var _i = 0, lines_1 = lines; _i < lines_1.length; _i++) {\n var line = lines_1[_i];\n res.push(\"\\u2502 \".concat(line.padEnd(width), \" \\u2502\"));\n }\n res.push(\"\\u2514\".concat('─'.repeat(width + 2), \"\\u2518\"));\n return res.join('\\n');\n};\n\nvar simpleUpdateNotifier = function (args) { return __awaiter(void 0, void 0, void 0, function () {\n var latestVersion, err_1;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n if (!args.alwaysRun &&\n (!process.stdout.isTTY || (isNpmOrYarn && !args.shouldNotifyInNpmScript))) {\n if (args.debug) {\n console.error('Opting out of running simpleUpdateNotifier()');\n }\n return [2 /*return*/];\n }\n _a.label = 1;\n case 1:\n _a.trys.push([1, 3, , 4]);\n return [4 /*yield*/, hasNewVersion(args)];\n case 2:\n latestVersion = _a.sent();\n if (latestVersion) {\n console.error(borderedText(\"New version of \".concat(args.pkg.name, \" available!\\nCurrent Version: \").concat(args.pkg.version, \"\\nLatest Version: \").concat(latestVersion)));\n }\n return [3 /*break*/, 4];\n case 3:\n err_1 = _a.sent();\n // Catch any network errors or cache writing errors so module doesn't cause a crash\n if (args.debug && err_1 instanceof Error) {\n console.error('Unexpected error in simpleUpdateNotifier():', err_1);\n }\n return [3 /*break*/, 4];\n case 4: return [2 /*return*/];\n }\n });\n}); };\n\nmodule.exports = simpleUpdateNotifier;\n","{\n \"name\": \"setup-cpp\",\n \"version\": \"0.36.1\"\n}\n","import { getInput } from \"@actions/core\"\nimport { info } from \"ci-log\"\nimport mri from \"mri\"\nimport { InstallationInfo } from \"./utils/setup/setupBin\"\nimport { Inputs, inputs } from \"./tool\"\n\nexport function parseArgs(args: string[]): Opts {\n return mri & { help: boolean }>(args, {\n string: [...inputs, \"timeout\"],\n default: Object.fromEntries(inputs.map((inp) => [inp, maybeGetInput(inp)])),\n alias: { h: \"help\" },\n boolean: \"help\",\n })\n}\n\nexport function 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--timeout\\t the timeout for the installation of each tool in minutes. By default it is 10 minutes.\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--$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`)\n\n console.table(\n {\n \"compiler and analyzer\": { tools: `--llvm, --gcc, --msvc, --vcvarsall, --cppcheck, --clangtidy, --clangformat` },\n \"build system\": { tools: `--cmake, --ninja, --meson, --make, --task, --bazel` },\n \"package manager\": { tools: `--vcpkg, --conan, --choco, --brew, --nala` },\n cache: { tools: `--cppcache, --sccache` },\n documentation: { tools: `--doxygen, --graphviz` },\n coverage: { tools: `--gcovr, --opencppcoverage, --kcov` },\n other: { tools: `--python, --powershell, --sevenzip` },\n },\n [\"tools\"],\n )\n}\n/** Get an object from github actions */\n\nexport function maybeGetInput(key: string) {\n const value = getInput(key.toLowerCase())\n if (value !== \"false\" && value !== \"\") {\n return value\n }\n return undefined // skip installation\n}\nexport type Opts = mri.Argv<\n Record & {\n help: boolean\n timeout?: string\n }\n>\n\nexport function 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","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 { setupBazel } from \"./bazel/bazel\"\nimport { setupBrew } from \"./brew/brew\"\nimport { setupCcache } from \"./ccache/ccache\"\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 { setupGcc } from \"./gcc/gcc\"\nimport { setupGcovr } from \"./gcovr/gcovr\"\nimport { setupGraphviz } from \"./graphviz/graphviz\"\nimport { setupKcov } from \"./kcov/kcov\"\nimport { setupClangTools, setupLLVM, setupClangFormat } from \"./llvm/llvm\"\nimport { setupMake } from \"./make/make\"\nimport { setupMeson } from \"./meson/meson\"\nimport { setupMSVC } from \"./msvc/msvc\"\nimport { setupNala } from \"./nala/nala\"\nimport { setupNinja } from \"./ninja/ninja\"\nimport { setupOpencppcoverage } from \"./opencppcoverage/opencppcoverage\"\nimport { setupPowershell } from \"./powershell/powershell\"\nimport { setupPython } from \"./python/python\"\nimport { setupSccache } from \"./sccache/sccache\"\nimport { setupSevenZip } from \"./sevenzip/sevenzip\"\nimport { setupTask } from \"./task/task\"\nimport { setupVcpkg } from \"./vcpkg/vcpkg\"\nimport { setupVCVarsall } from \"./vcvarsall/vcvarsall\"\n\n/** The setup functions */\nexport const 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 sccache: setupSccache,\n doxygen: setupDoxygen,\n graphviz: setupGraphviz,\n cppcheck: setupCppcheck,\n clangtidy: setupClangTools,\n clangformat: setupClangFormat,\n msvc: setupMSVC,\n vcvarsall: setupVCVarsall,\n kcov: setupKcov,\n make: setupMake,\n task: setupTask,\n sevenzip: setupSevenZip,\n}\n\nexport type ToolName = keyof typeof setups\n\n/** The tools that can be installed */\nexport const tools = Object.keys(setups) as Array\n\n/** The possible inputs to the program */\nexport type Inputs = keyof typeof setups | \"compiler\" | \"architecture\" | \"timeout\"\n\n/** ‌ an array of possible inputs */\nexport const inputs: Array = [\"compiler\", \"architecture\", \"timeout\", ...tools]\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 \"admina\"\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 await setupDnfPack([{ name: \"dnf-plugins-core\" }])\n execRootSync(\"dnf\", [\"copr\", \"enable\", \"vbatts/bazel\"])\n return setupDnfPack([{ name: \"bazel4\" }])\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([{ name: \"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 { InstallationInfo } from \"./setupBin\"\nimport { execRoot, execRootSync } from \"admina\"\nimport { GITHUB_ACTIONS } from \"ci-info\"\nimport { addEnv, cpprc_path, setupCppInProfile } from \"../env/addEnv\"\nimport { pathExists } from \"path-exists\"\nimport { promises as fsPromises } from \"fs\"\nconst { appendFile } = fsPromises\nimport { execa, ExecaError } from \"execa\"\nimport escapeRegex from \"escape-string-regexp\"\nimport { warning, info } from \"ci-log\"\nimport which from \"which\"\n\n/* eslint-disable require-atomic-updates */\nlet didUpdate: boolean = false\nlet didInit: boolean = false\n\nexport type AptPackage = {\n name: string\n version?: string\n repositories?: string[]\n}\n\nconst retryErrors = [\n \"E: Could not get lock\",\n \"dpkg: error processing archive\",\n \"dpkg: error: dpkg status database is locked by another process\",\n]\n\n/** A function that installs a package using apt */\nexport async function setupAptPack(packages: AptPackage[], update = false): Promise {\n const apt: string = getApt()\n\n for (const { name, version } of packages) {\n info(`Installing ${name} ${version ?? \"\"} via ${apt}`)\n }\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 const allRepositories = [...new Set(packages.flatMap((pack) => pack.repositories ?? []))]\n\n if (allRepositories.length !== 0) {\n for (const repo of allRepositories) {\n // eslint-disable-next-line no-await-in-loop\n execRootSync(\"add-apt-repository\", [\"-y\", repo])\n }\n\n updateRepos(apt)\n }\n\n const aptArgs = await Promise.all(packages.map((pack) => getAptArg(pack.name, pack.version)))\n try {\n execRootSync(apt, [\"install\", \"--fix-broken\", \"-y\", ...aptArgs])\n } catch (err) {\n if (\"stderr\" in (err as ExecaError)) {\n const stderr = (err as ExecaError).stderr\n if (retryErrors.some((error) => stderr.includes(error))) {\n warning(`Failed to install packages ${aptArgs}. Retrying...`)\n execRootSync(apt, [\"install\", \"--fix-broken\", \"-y\", ...aptArgs])\n }\n } else {\n throw err\n }\n }\n\n return { binDir: \"/usr/bin/\" }\n}\n\nexport enum AptPackageType {\n NameDashVersion,\n NameEqualsVersion,\n Name,\n None,\n}\n\nexport async function aptPackageType(name: string, version: string | undefined): Promise {\n if (version !== undefined && version !== \"\") {\n const { stdout } = await execa(\"apt-cache\", [\n \"search\",\n \"--names-only\",\n `^${escapeRegex(name)}-${escapeRegex(version)}$`,\n ])\n if (stdout.trim() !== \"\") {\n return AptPackageType.NameDashVersion\n }\n\n try {\n // check if apt-get show can find the version\n // eslint-disable-next-line @typescript-eslint/no-shadow\n const { stdout } = await execa(\"apt-cache\", [\"show\", `${name}=${version}`])\n if (stdout.trim() === \"\") {\n return AptPackageType.NameEqualsVersion\n }\n } catch {\n // ignore\n }\n }\n\n try {\n const { stdout: showStdout } = await execa(\"apt-cache\", [\"show\", name])\n if (showStdout.trim() !== \"\") {\n return AptPackageType.Name\n }\n } catch {\n // ignore\n }\n\n return AptPackageType.None\n}\n\nasync function getAptArg(name: string, version: string | undefined) {\n const package_type = await aptPackageType(name, version)\n switch (package_type) {\n case AptPackageType.NameDashVersion:\n return `${name}-${version}`\n case AptPackageType.NameEqualsVersion:\n return `${name}=${version}`\n case AptPackageType.Name:\n return name\n case AptPackageType.None:\n default:\n throw new Error(`Could not find package ${name} ${version ?? \"\"}`)\n }\n}\n\nexport function hasNala() {\n return which.sync(\"nala\", { nothrow: true }) !== null\n}\n\nfunction getApt() {\n let apt: string\n if (hasNala()) {\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 const promises: Promise[] = [\n addAptKeyViaServer([\"3B4FE6ACC0B21F32\", \"40976EAF437D05B5\"], \"setup-cpp-ubuntu-archive.gpg\"),\n addAptKeyViaServer([\"1E9377A2BA9EF27F\"], \"launchpad-toolchain.gpg\"),\n ]\n if (apt === \"nala\") {\n // enable utf8 otherwise it fails because of the usage of ASCII encoding\n promises.push(\n addEnv(\"LANG\", \"C.UTF-8\", { shouldAddOnlyIfNotDefined: true }),\n addEnv(\"LC_ALL\", \"C.UTF-8\", { shouldAddOnlyIfNotDefined: true }),\n )\n }\n await Promise.all(promises)\n}\n\nfunction initGpg() {\n execRootSync(\"gpg\", [\"-k\"])\n}\n\nexport async function addAptKeyViaServer(keys: string[], name: string, server = \"keyserver.ubuntu.com\") {\n try {\n const fileName = `/etc/apt/trusted.gpg.d/${name}`\n if (!(await pathExists(fileName))) {\n initGpg()\n\n await Promise.all(\n keys.map(async (key) => {\n await execRoot(\"gpg\", [\n \"--no-default-keyring\",\n \"--keyring\",\n `gnupg-ring:${fileName}`,\n \"--keyserver\",\n server,\n \"--recv-keys\",\n key,\n ])\n await execRoot(\"chmod\", [\"644\", fileName])\n }),\n )\n }\n return fileName\n } catch (err) {\n warning(`Failed to add apt key via server ${server}: ${err}`)\n return undefined\n }\n}\n\nexport async function addAptKeyViaDownload(name: string, url: string) {\n const fileName = `/etc/apt/trusted.gpg.d/${name}`\n if (!(await pathExists(fileName))) {\n initGpg()\n await setupAptPack([{ name: \"curl\" }, { name: \"ca-certificates\" }], undefined)\n await execa(\"curl\", [\"-s\", url, \"-o\", `/tmp/${name}`])\n execRootSync(\"gpg\", [\"--no-default-keyring\", \"--keyring\", `gnupg-ring:${fileName}`, \"--import\", `/tmp/${name}`])\n execRootSync(\"chmod\", [\"644\", fileName])\n }\n return fileName\n}\n\nexport async function updateAptAlternatives(name: string, path: string) {\n if (GITHUB_ACTIONS) {\n return execRoot(\"update-alternatives\", [\"--install\", `/usr/bin/${name}`, name, path, \"40\"])\n } else {\n await setupCppInProfile()\n return appendFile(\n cpprc_path,\n `\\nif [ $UID -eq 0 ]; then update-alternatives --install /usr/bin/${name} ${name} ${path} 40; fi\\n`,\n )\n }\n}\n\nexport async function isPackageInstalled(regexp: string) {\n try {\n // check if a package matching the regexp is installed\n const { stdout } = await execa(\"dpkg\", [\"-l\", regexp])\n const lines = stdout.split(\"\\n\")\n // check if the output contains any lines that start with \"ii\"\n return lines.some((line) => line.startsWith(\"ii\"))\n } catch {\n return false\n }\n}\n","import { exportVariable, addPath as ghAddPath, info, setFailed } from \"@actions/core\"\nimport { GITHUB_ACTIONS } from \"ci-info\"\nimport { untildifyUser } from \"untildify-user\"\nimport { appendFileSync, readFileSync, writeFileSync } from \"fs\"\nimport { error, warning } from \"ci-log\"\nimport { execPowershell } from \"exec-powershell\"\nimport { delimiter } from \"path\"\nimport escapeSpace from \"escape-path-with-spaces\"\nimport { grantUserWriteAccess } from \"admina\"\nimport escapeQuote from \"escape-quotes\"\nimport { pathExists } from \"path-exists\"\n\ntype AddEnvOptions = {\n /** If true, the value will be escaped with quotes and spaces will be escaped with backslash */\n shouldEscapeSpace?: boolean\n /** If true, the variable will be only added if it is not defined */\n shouldAddOnlyIfNotDefined?: boolean\n}\n\nconst defaultAddEnvOptions: AddEnvOptions = {\n shouldEscapeSpace: false,\n shouldAddOnlyIfNotDefined: false,\n}\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(\n name: string,\n valGiven: string | undefined,\n options: AddEnvOptions = defaultAddEnvOptions,\n) {\n const val = escapeString(valGiven ?? \"\", options.shouldEscapeSpace)\n try {\n if (GITHUB_ACTIONS) {\n try {\n if (options.shouldAddOnlyIfNotDefined) {\n if (process.env[name] !== undefined) {\n info(`Environment variable ${name} is already defined. Skipping.`)\n return\n }\n }\n exportVariable(name, val)\n } catch (err) {\n error(err as Error)\n await addEnvSystem(name, val, options)\n }\n } else {\n await addEnvSystem(name, val, options)\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\nfunction escapeString(valGiven: string, shouldEscapeSpace: boolean = false) {\n const spaceEscaped = shouldEscapeSpace ? escapeSpace(valGiven) : valGiven\n return escapeQuote(spaceEscaped, '\"', \"\\\\\")\n}\n\nconst ignoredPaths = [/\\/usr\\/bin\\/?/, /\\/usr\\/local\\/bin\\/?/]\n\n/** Skip adding /usr/bin to PATH if it is already there */\nfunction isIgnoredPath(path: string) {\n if (ignoredPaths.some((checkedPath) => checkedPath.test(path))) {\n const paths = process.env.PATH?.split(delimiter) ?? []\n return paths.includes(path)\n }\n return false\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 if (isIgnoredPath(path)) {\n return\n }\n\n process.env.PATH = `${path}${delimiter}${process.env.PATH}`\n try {\n if (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, options: AddEnvOptions) {\n const val = valGiven ?? \"\"\n switch (process.platform) {\n case \"win32\": {\n if (options.shouldAddOnlyIfNotDefined) {\n if (process.env[name] !== undefined) {\n info(`Environment variable ${name} is already defined. Skipping.`)\n return\n }\n }\n // We do not use `execaSync(`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 await setupCppInProfile()\n if (options.shouldAddOnlyIfNotDefined) {\n appendFileSync(cpprc_path, `\\nif [ -z \"\\${${name}}\" ]; then export ${name}=\"${val}\"; fi\\n`)\n info(`if not defined ${name} then ${name}=\"${val}\" was added to \"${cpprc_path}`)\n } else {\n appendFileSync(cpprc_path, `\\nexport ${name}=\"${val}\"\\n`)\n info(`${name}=\"${val}\" was added to \"${cpprc_path}`)\n }\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 `execaSync(`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(\"PATH\", \"User\")); [Environment]::SetEnvironmentVariable(\"PATH\", \"${path};$USER_PATH\", \"User\")`,\n )\n info(`\"${path}\" was added to the PATH.`)\n return\n }\n case \"linux\":\n case \"darwin\": {\n await 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\n/* eslint-disable require-atomic-updates */\nlet setupCppInProfile_called = false\n\n/// handles adding conditions to source .cpprc file from .bashrc and .profile\nexport async 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 = \"# Automatically Generated by setup-cpp\\nexport SOURCE_CPPRC=0\"\n\n if (await pathExists(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 // source cpprc in bashrc/profile\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\nexport async function finalizeCpprc() {\n if (await pathExists(cpprc_path)) {\n const entries = readFileSync(cpprc_path, \"utf-8\").split(\"\\n\")\n\n const unique_entries = [...new Set(entries.reverse())].reverse() // remove duplicates, keeping the latest entry\n\n writeFileSync(cpprc_path, unique_entries.join(\"\\n\"))\n\n await grantUserWriteAccess(cpprc_path)\n }\n}\n","import * as 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.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.execaSync(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 {Buffer} from 'node:buffer';\nimport path from 'node:path';\nimport childProcess from 'node:child_process';\nimport process from 'node:process';\nimport crossSpawn from 'cross-spawn';\nimport stripFinalNewline from 'strip-final-newline';\nimport {npmRunPathEnv} from 'npm-run-path';\nimport onetime from 'onetime';\nimport {makeError} from './lib/error.js';\nimport {normalizeStdio, normalizeStdioNode} from './lib/stdio.js';\nimport {spawnedKill, spawnedCancel, setupTimeout, validateTimeout, setExitHandler} from './lib/kill.js';\nimport {addPipeMethods} from './lib/pipe.js';\nimport {handleInput, getSpawnedResult, makeAllStream, handleInputSync} from './lib/stream.js';\nimport {mergePromise, getSpawnedPromise} from './lib/promise.js';\nimport {joinCommand, parseCommand, parseTemplates, getEscapedCommand} from './lib/command.js';\nimport {logCommand, verboseDefault} from './lib/verbose.js';\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 npmRunPathEnv({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\tverbose: verboseDefault,\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 `execaSync()` 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\nexport function execa(file, args, options) {\n\tconst parsed = handleArguments(file, args, options);\n\tconst command = joinCommand(file, args);\n\tconst escapedCommand = getEscapedCommand(file, args);\n\tlogCommand(escapedCommand, parsed.options);\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\tmergePromise(dummySpawned, errorPromise);\n\t\treturn dummySpawned;\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 || (parsed.options.signal ? parsed.options.signal.aborted : false),\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);\n\n\tspawned.all = makeAllStream(spawned, parsed.options);\n\n\taddPipeMethods(spawned);\n\tmergePromise(spawned, handlePromiseOnce);\n\treturn spawned;\n}\n\nexport function execaSync(file, args, options) {\n\tconst parsed = handleArguments(file, args, options);\n\tconst command = joinCommand(file, args);\n\tconst escapedCommand = getEscapedCommand(file, args);\n\tlogCommand(escapedCommand, parsed.options);\n\n\tconst input = handleInputSync(parsed.options);\n\n\tlet result;\n\ttry {\n\t\tresult = childProcess.spawnSync(parsed.file, parsed.args, {...parsed.options, input});\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\nconst normalizeScriptStdin = ({input, inputFile, stdio}) => input === undefined && inputFile === undefined && stdio === undefined\n\t? {stdin: 'inherit'}\n\t: {};\n\nconst normalizeScriptOptions = (options = {}) => ({\n\tpreferLocal: true,\n\t...normalizeScriptStdin(options),\n\t...options,\n});\n\nfunction create$(options) {\n\tfunction $(templatesOrOptions, ...expressions) {\n\t\tif (!Array.isArray(templatesOrOptions)) {\n\t\t\treturn create$({...options, ...templatesOrOptions});\n\t\t}\n\n\t\tconst [file, ...args] = parseTemplates(templatesOrOptions, expressions);\n\t\treturn execa(file, args, normalizeScriptOptions(options));\n\t}\n\n\t$.sync = (templates, ...expressions) => {\n\t\tif (!Array.isArray(templates)) {\n\t\t\tthrow new TypeError('Please use $(options).sync`command` instead of $.sync(options)`command`.');\n\t\t}\n\n\t\tconst [file, ...args] = parseTemplates(templates, expressions);\n\t\treturn execaSync(file, args, normalizeScriptOptions(options));\n\t};\n\n\treturn $;\n}\n\nexport const $ = create$();\n\nexport function execaCommand(command, options) {\n\tconst [file, ...args] = parseCommand(command);\n\treturn execa(file, args, options);\n}\n\nexport function execaCommandSync(command, options) {\n\tconst [file, ...args] = parseCommand(command);\n\treturn execaSync(file, args, options);\n}\n\nexport function execaNode(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 = normalizeStdioNode(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","export default function stripFinalNewline(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, -1);\n\t}\n\n\tif (input[input.length - 1] === CR) {\n\t\tinput = input.slice(0, -1);\n\t}\n\n\treturn input;\n}\n","import process from 'node:process';\nimport path from 'node:path';\nimport url from 'node:url';\nimport pathKey from 'path-key';\n\nexport function npmRunPath(options = {}) {\n\tconst {\n\t\tcwd = process.cwd(),\n\t\tpath: path_ = process.env[pathKey()],\n\t\texecPath = process.execPath,\n\t} = options;\n\n\tlet previous;\n\tconst cwdString = cwd instanceof URL ? url.fileURLToPath(cwd) : cwd;\n\tlet cwdPath = path.resolve(cwdString);\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\tresult.push(path.resolve(cwdString, execPath, '..'));\n\n\treturn [...result, path_].join(path.delimiter);\n}\n\nexport function npmRunPathEnv({env = process.env, ...options} = {}) {\n\tenv = {...env};\n\n\tconst path = pathKey({env});\n\toptions.path = env[path];\n\tenv[path] = npmRunPath(options);\n\n\treturn env;\n}\n","export default function pathKey(options = {}) {\n\tconst {\n\t\tenv = process.env,\n\t\tplatform = process.platform\n\t} = options;\n\n\tif (platform !== 'win32') {\n\t\treturn 'PATH';\n\t}\n\n\treturn Object.keys(env).reverse().find(key => key.toUpperCase() === 'PATH') || 'Path';\n}\n","import mimicFunction from '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\tmimicFunction(onetime, function_);\n\tcalledFunctions.set(onetime, callCount);\n\n\treturn onetime;\n};\n\nonetime.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\nexport default onetime;\n","const copyProperty = (to, from, property, ignoreNonConfigurable) => {\n\t// `Function#length` should reflect the parameters of `to` not `from` since we keep its body.\n\t// `Function#prototype` is non-writable and non-configurable so can never be modified.\n\tif (property === 'length' || property === 'prototype') {\n\t\treturn;\n\t}\n\n\t// `Function#arguments` and `Function#caller` should not be copied. They were reported to be present in `Reflect.ownKeys` for some devices in React Native (#41), so we explicitly ignore them here.\n\tif (property === 'arguments' || property === 'caller') {\n\t\treturn;\n\t}\n\n\tconst toDescriptor = Object.getOwnPropertyDescriptor(to, property);\n\tconst fromDescriptor = Object.getOwnPropertyDescriptor(from, property);\n\n\tif (!canCopyProperty(toDescriptor, fromDescriptor) && ignoreNonConfigurable) {\n\t\treturn;\n\t}\n\n\tObject.defineProperty(to, property, fromDescriptor);\n};\n\n// `Object.defineProperty()` throws if the property exists, is not configurable and either:\n// - one its descriptors is changed\n// - it is non-writable and its value is changed\nconst canCopyProperty = function (toDescriptor, fromDescriptor) {\n\treturn toDescriptor === undefined || toDescriptor.configurable || (\n\t\ttoDescriptor.writable === fromDescriptor.writable &&\n\t\ttoDescriptor.enumerable === fromDescriptor.enumerable &&\n\t\ttoDescriptor.configurable === fromDescriptor.configurable &&\n\t\t(toDescriptor.writable || toDescriptor.value === fromDescriptor.value)\n\t);\n};\n\nconst changePrototype = (to, from) => {\n\tconst fromPrototype = Object.getPrototypeOf(from);\n\tif (fromPrototype === Object.getPrototypeOf(to)) {\n\t\treturn;\n\t}\n\n\tObject.setPrototypeOf(to, fromPrototype);\n};\n\nconst wrappedToString = (withName, fromBody) => `/* Wrapped ${withName}*/\\n${fromBody}`;\n\nconst toStringDescriptor = Object.getOwnPropertyDescriptor(Function.prototype, 'toString');\nconst toStringName = Object.getOwnPropertyDescriptor(Function.prototype.toString, 'name');\n\n// We call `from.toString()` early (not lazily) to ensure `from` can be garbage collected.\n// We use `bind()` instead of a closure for the same reason.\n// Calling `from.toString()` early also allows caching it in case `to.toString()` is called several times.\nconst changeToString = (to, from, name) => {\n\tconst withName = name === '' ? '' : `with ${name.trim()}() `;\n\tconst newToString = wrappedToString.bind(null, withName, from.toString());\n\t// Ensure `to.toString.toString` is non-enumerable and has the same `same`\n\tObject.defineProperty(newToString, 'name', toStringName);\n\tObject.defineProperty(to, 'toString', {...toStringDescriptor, value: newToString});\n};\n\nexport default function mimicFunction(to, from, {ignoreNonConfigurable = false} = {}) {\n\tconst {name} = to;\n\n\tfor (const property of Reflect.ownKeys(from)) {\n\t\tcopyProperty(to, from, property, ignoreNonConfigurable);\n\t}\n\n\tchangePrototype(to, from);\n\tchangeToString(to, from, name);\n\n\treturn to;\n}\n","import {signalsByName} from '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\nexport const 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","import{constants}from\"node:os\";\n\nimport{SIGRTMAX}from\"./realtime.js\";\nimport{getSignals}from\"./signals.js\";\n\n\n\nconst getSignalsByName=()=>{\nconst signals=getSignals();\nreturn Object.fromEntries(signals.map(getSignalByName));\n};\n\nconst getSignalByName=({\nname,\nnumber,\ndescription,\nsupported,\naction,\nforced,\nstandard\n})=>[name,{name,number,description,supported,action,forced,standard}];\n\nexport const signalsByName=getSignalsByName();\n\n\n\n\nconst getSignalsByNumber=()=>{\nconst signals=getSignals();\nconst length=SIGRTMAX+1;\nconst signalsA=Array.from({length},(value,number)=>\ngetSignalByNumber(number,signals));\n\nreturn Object.assign({},...signalsA);\n};\n\nconst getSignalByNumber=(number,signals)=>{\nconst signal=findSignalByNumber(number,signals);\n\nif(signal===undefined){\nreturn{};\n}\n\nconst{name,description,supported,action,forced,standard}=signal;\nreturn{\n[number]:{\nname,\nnumber,\ndescription,\nsupported,\naction,\nforced,\nstandard\n}\n};\n};\n\n\n\nconst findSignalByNumber=(number,signals)=>{\nconst signal=signals.find(({name})=>constants.signals[name]===number);\n\nif(signal!==undefined){\nreturn signal;\n}\n\nreturn signals.find((signalA)=>signalA.number===number);\n};\n\nexport const signalsByNumber=getSignalsByNumber();","\nexport const getRealtimeSignals=()=>{\nconst length=SIGRTMAX-SIGRTMIN+1;\nreturn Array.from({length},getRealtimeSignal);\n};\n\nconst getRealtimeSignal=(value,index)=>({\nname:`SIGRT${index+1}`,\nnumber:SIGRTMIN+index,\naction:\"terminate\",\ndescription:\"Application-specific signal (realtime)\",\nstandard:\"posix\"\n});\n\nconst SIGRTMIN=34;\nexport const SIGRTMAX=64;","import{constants}from\"node:os\";\n\nimport{SIGNALS}from\"./core.js\";\nimport{getRealtimeSignals}from\"./realtime.js\";\n\n\n\nexport const getSignals=()=>{\nconst realtimeSignals=getRealtimeSignals();\nconst signals=[...SIGNALS,...realtimeSignals].map(normalizeSignal);\nreturn signals;\n};\n\n\n\n\n\n\n\nconst normalizeSignal=({\nname,\nnumber:defaultNumber,\ndescription,\naction,\nforced=false,\nstandard\n})=>{\nconst{\nsignals:{[name]:constantSignal}\n}=constants;\nconst supported=constantSignal!==undefined;\nconst number=supported?constantSignal:defaultNumber;\nreturn{name,number,description,supported,action,forced,standard};\n};","\n\nexport const SIGNALS=[\n{\nname:\"SIGHUP\",\nnumber:1,\naction:\"terminate\",\ndescription:\"Terminal closed\",\nstandard:\"posix\"\n},\n{\nname:\"SIGINT\",\nnumber:2,\naction:\"terminate\",\ndescription:\"User interruption with CTRL-C\",\nstandard:\"ansi\"\n},\n{\nname:\"SIGQUIT\",\nnumber:3,\naction:\"core\",\ndescription:\"User interruption with CTRL-\\\\\",\nstandard:\"posix\"\n},\n{\nname:\"SIGILL\",\nnumber:4,\naction:\"core\",\ndescription:\"Invalid machine instruction\",\nstandard:\"ansi\"\n},\n{\nname:\"SIGTRAP\",\nnumber:5,\naction:\"core\",\ndescription:\"Debugger breakpoint\",\nstandard:\"posix\"\n},\n{\nname:\"SIGABRT\",\nnumber:6,\naction:\"core\",\ndescription:\"Aborted\",\nstandard:\"ansi\"\n},\n{\nname:\"SIGIOT\",\nnumber:6,\naction:\"core\",\ndescription:\"Aborted\",\nstandard:\"bsd\"\n},\n{\nname:\"SIGBUS\",\nnumber:7,\naction:\"core\",\ndescription:\n\"Bus error due to misaligned, non-existing address or paging error\",\nstandard:\"bsd\"\n},\n{\nname:\"SIGEMT\",\nnumber:7,\naction:\"terminate\",\ndescription:\"Command should be emulated but is not implemented\",\nstandard:\"other\"\n},\n{\nname:\"SIGFPE\",\nnumber:8,\naction:\"core\",\ndescription:\"Floating point arithmetic error\",\nstandard:\"ansi\"\n},\n{\nname:\"SIGKILL\",\nnumber:9,\naction:\"terminate\",\ndescription:\"Forced termination\",\nstandard:\"posix\",\nforced:true\n},\n{\nname:\"SIGUSR1\",\nnumber:10,\naction:\"terminate\",\ndescription:\"Application-specific signal\",\nstandard:\"posix\"\n},\n{\nname:\"SIGSEGV\",\nnumber:11,\naction:\"core\",\ndescription:\"Segmentation fault\",\nstandard:\"ansi\"\n},\n{\nname:\"SIGUSR2\",\nnumber:12,\naction:\"terminate\",\ndescription:\"Application-specific signal\",\nstandard:\"posix\"\n},\n{\nname:\"SIGPIPE\",\nnumber:13,\naction:\"terminate\",\ndescription:\"Broken pipe or socket\",\nstandard:\"posix\"\n},\n{\nname:\"SIGALRM\",\nnumber:14,\naction:\"terminate\",\ndescription:\"Timeout or timer\",\nstandard:\"posix\"\n},\n{\nname:\"SIGTERM\",\nnumber:15,\naction:\"terminate\",\ndescription:\"Termination\",\nstandard:\"ansi\"\n},\n{\nname:\"SIGSTKFLT\",\nnumber:16,\naction:\"terminate\",\ndescription:\"Stack is empty or overflowed\",\nstandard:\"other\"\n},\n{\nname:\"SIGCHLD\",\nnumber:17,\naction:\"ignore\",\ndescription:\"Child process terminated, paused or unpaused\",\nstandard:\"posix\"\n},\n{\nname:\"SIGCLD\",\nnumber:17,\naction:\"ignore\",\ndescription:\"Child process terminated, paused or unpaused\",\nstandard:\"other\"\n},\n{\nname:\"SIGCONT\",\nnumber:18,\naction:\"unpause\",\ndescription:\"Unpaused\",\nstandard:\"posix\",\nforced:true\n},\n{\nname:\"SIGSTOP\",\nnumber:19,\naction:\"pause\",\ndescription:\"Paused\",\nstandard:\"posix\",\nforced:true\n},\n{\nname:\"SIGTSTP\",\nnumber:20,\naction:\"pause\",\ndescription:\"Paused using CTRL-Z or \\\"suspend\\\"\",\nstandard:\"posix\"\n},\n{\nname:\"SIGTTIN\",\nnumber:21,\naction:\"pause\",\ndescription:\"Background process cannot read terminal input\",\nstandard:\"posix\"\n},\n{\nname:\"SIGBREAK\",\nnumber:21,\naction:\"terminate\",\ndescription:\"User interruption with CTRL-BREAK\",\nstandard:\"other\"\n},\n{\nname:\"SIGTTOU\",\nnumber:22,\naction:\"pause\",\ndescription:\"Background process cannot write to terminal output\",\nstandard:\"posix\"\n},\n{\nname:\"SIGURG\",\nnumber:23,\naction:\"ignore\",\ndescription:\"Socket received out-of-band data\",\nstandard:\"bsd\"\n},\n{\nname:\"SIGXCPU\",\nnumber:24,\naction:\"core\",\ndescription:\"Process timed out\",\nstandard:\"bsd\"\n},\n{\nname:\"SIGXFSZ\",\nnumber:25,\naction:\"core\",\ndescription:\"File too big\",\nstandard:\"bsd\"\n},\n{\nname:\"SIGVTALRM\",\nnumber:26,\naction:\"terminate\",\ndescription:\"Timeout or timer\",\nstandard:\"bsd\"\n},\n{\nname:\"SIGPROF\",\nnumber:27,\naction:\"terminate\",\ndescription:\"Timeout or timer\",\nstandard:\"bsd\"\n},\n{\nname:\"SIGWINCH\",\nnumber:28,\naction:\"ignore\",\ndescription:\"Terminal window size changed\",\nstandard:\"bsd\"\n},\n{\nname:\"SIGIO\",\nnumber:29,\naction:\"terminate\",\ndescription:\"I/O is available\",\nstandard:\"other\"\n},\n{\nname:\"SIGPOLL\",\nnumber:29,\naction:\"terminate\",\ndescription:\"Watched event\",\nstandard:\"other\"\n},\n{\nname:\"SIGINFO\",\nnumber:29,\naction:\"ignore\",\ndescription:\"Request for process information\",\nstandard:\"other\"\n},\n{\nname:\"SIGPWR\",\nnumber:30,\naction:\"terminate\",\ndescription:\"Device running out of power\",\nstandard:\"systemv\"\n},\n{\nname:\"SIGSYS\",\nnumber:31,\naction:\"core\",\ndescription:\"Invalid system call\",\nstandard:\"other\"\n},\n{\nname:\"SIGUNUSED\",\nnumber:31,\naction:\"terminate\",\ndescription:\"Invalid system call\",\nstandard:\"other\"\n}];","const aliases = ['stdin', 'stdout', 'stderr'];\n\nconst hasAlias = options => aliases.some(alias => options[alias] !== undefined);\n\nexport const 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\n// `ipc` is pushed unless it is already present\nexport const normalizeStdioNode = 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","import os from 'node:os';\nimport onExit from 'signal-exit';\n\nconst DEFAULT_FORCE_KILL_TIMEOUT = 1000 * 5;\n\n// Monkey-patches `childProcess.kill()` to add `forceKillAfterTimeout` behavior\nexport const 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) => isSigterm(signal) && forceKillAfterTimeout !== false && killResult;\n\nconst isSigterm = signal => signal === os.constants.signals.SIGTERM\n\t\t|| (typeof signal === 'string' && signal.toUpperCase() === 'SIGTERM');\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()`\nexport const 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\nexport const 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\nexport const 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\nexport const 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","import {createWriteStream} from 'node:fs';\nimport {ChildProcess} from 'node:child_process';\nimport {isWritableStream} from 'is-stream';\n\nconst isExecaChildProcess = target => target instanceof ChildProcess && typeof target.then === 'function';\n\nconst pipeToTarget = (spawned, streamName, target) => {\n\tif (typeof target === 'string') {\n\t\tspawned[streamName].pipe(createWriteStream(target));\n\t\treturn spawned;\n\t}\n\n\tif (isWritableStream(target)) {\n\t\tspawned[streamName].pipe(target);\n\t\treturn spawned;\n\t}\n\n\tif (!isExecaChildProcess(target)) {\n\t\tthrow new TypeError('The second argument must be a string, a stream or an Execa child process.');\n\t}\n\n\tif (!isWritableStream(target.stdin)) {\n\t\tthrow new TypeError('The target child process\\'s stdin must be available.');\n\t}\n\n\tspawned[streamName].pipe(target.stdin);\n\treturn target;\n};\n\nexport const addPipeMethods = spawned => {\n\tif (spawned.stdout !== null) {\n\t\tspawned.pipeStdout = pipeToTarget.bind(undefined, spawned, 'stdout');\n\t}\n\n\tif (spawned.stderr !== null) {\n\t\tspawned.pipeStderr = pipeToTarget.bind(undefined, spawned, 'stderr');\n\t}\n\n\tif (spawned.all !== undefined) {\n\t\tspawned.pipeAll = pipeToTarget.bind(undefined, spawned, 'all');\n\t}\n};\n","export function isStream(stream) {\n\treturn stream !== null\n\t\t&& typeof stream === 'object'\n\t\t&& typeof stream.pipe === 'function';\n}\n\nexport function isWritableStream(stream) {\n\treturn isStream(stream)\n\t\t&& stream.writable !== false\n\t\t&& typeof stream._write === 'function'\n\t\t&& typeof stream._writableState === 'object';\n}\n\nexport function isReadableStream(stream) {\n\treturn isStream(stream)\n\t\t&& stream.readable !== false\n\t\t&& typeof stream._read === 'function'\n\t\t&& typeof stream._readableState === 'object';\n}\n\nexport function isDuplexStream(stream) {\n\treturn isWritableStream(stream)\n\t\t&& isReadableStream(stream);\n}\n\nexport function isTransformStream(stream) {\n\treturn isDuplexStream(stream)\n\t\t&& typeof stream._transform === 'function';\n}\n","import {createReadStream, readFileSync} from 'node:fs';\nimport {isStream} from 'is-stream';\nimport getStream from 'get-stream';\nimport mergeStream from 'merge-stream';\n\nconst validateInputOptions = input => {\n\tif (input !== undefined) {\n\t\tthrow new TypeError('The `input` and `inputFile` options cannot be both set.');\n\t}\n};\n\nconst getInputSync = ({input, inputFile}) => {\n\tif (typeof inputFile !== 'string') {\n\t\treturn input;\n\t}\n\n\tvalidateInputOptions(input);\n\treturn readFileSync(inputFile);\n};\n\n// `input` and `inputFile` option in sync mode\nexport const handleInputSync = options => {\n\tconst input = getInputSync(options);\n\n\tif (isStream(input)) {\n\t\tthrow new TypeError('The `input` option cannot be a stream in sync mode');\n\t}\n\n\treturn input;\n};\n\nconst getInput = ({input, inputFile}) => {\n\tif (typeof inputFile !== 'string') {\n\t\treturn input;\n\t}\n\n\tvalidateInputOptions(input);\n\treturn createReadStream(inputFile);\n};\n\n// `input` and `inputFile` option in async mode\nexport const handleInput = (spawned, options) => {\n\tconst input = getInput(options);\n\n\tif (input === 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`\nexport const 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\t// When `buffer` is `false`, `streamPromise` is `undefined` and there is no buffered data to retrieve\n\tif (!stream || streamPromise === undefined) {\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)\nexport const 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","// eslint-disable-next-line unicorn/prefer-top-level-await\nconst nativePromisePrototype = (async () => {})().constructor.prototype;\n\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`\nexport const 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\t: descriptor.value.bind(promise);\n\n\t\tReflect.defineProperty(spawned, property, {...descriptor, value});\n\t}\n};\n\n// Use promises instead of `child_process` events\nexport const getSpawnedPromise = spawned => new Promise((resolve, reject) => {\n\tspawned.on('exit', (exitCode, signal) => {\n\t\tresolve({exitCode, signal});\n\t});\n\n\tspawned.on('error', error => {\n\t\treject(error);\n\t});\n\n\tif (spawned.stdin) {\n\t\tspawned.stdin.on('error', error => {\n\t\t\treject(error);\n\t\t});\n\t}\n});\n","import {Buffer} from 'node:buffer';\nimport {ChildProcess} from 'node:child_process';\n\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\nexport const joinCommand = (file, args) => normalizeArgs(file, args).join(' ');\n\nexport const getEscapedCommand = (file, args) => normalizeArgs(file, args).map(arg => escapeArg(arg)).join(' ');\n\nconst SPACES_REGEXP = / +/g;\n\n// Handle `execaCommand()`\nexport const 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\nconst parseExpression = expression => {\n\tconst typeOfExpression = typeof expression;\n\n\tif (typeOfExpression === 'string') {\n\t\treturn expression;\n\t}\n\n\tif (typeOfExpression === 'number') {\n\t\treturn String(expression);\n\t}\n\n\tif (\n\t\ttypeOfExpression === 'object'\n\t\t&& expression !== null\n\t\t&& !(expression instanceof ChildProcess)\n\t\t&& 'stdout' in expression\n\t) {\n\t\tconst typeOfStdout = typeof expression.stdout;\n\n\t\tif (typeOfStdout === 'string') {\n\t\t\treturn expression.stdout;\n\t\t}\n\n\t\tif (Buffer.isBuffer(expression.stdout)) {\n\t\t\treturn expression.stdout.toString();\n\t\t}\n\n\t\tthrow new TypeError(`Unexpected \"${typeOfStdout}\" stdout in template expression`);\n\t}\n\n\tthrow new TypeError(`Unexpected \"${typeOfExpression}\" in template expression`);\n};\n\nconst concatTokens = (tokens, nextTokens, isNew) => isNew || tokens.length === 0 || nextTokens.length === 0\n\t? [...tokens, ...nextTokens]\n\t: [\n\t\t...tokens.slice(0, -1),\n\t\t`${tokens[tokens.length - 1]}${nextTokens[0]}`,\n\t\t...nextTokens.slice(1),\n\t];\n\nconst parseTemplate = ({templates, expressions, tokens, index, template}) => {\n\tconst templateString = template ?? templates.raw[index];\n\tconst templateTokens = templateString.split(SPACES_REGEXP).filter(Boolean);\n\tconst newTokens = concatTokens(\n\t\ttokens,\n\t\ttemplateTokens,\n\t\ttemplateString.startsWith(' '),\n\t);\n\n\tif (index === expressions.length) {\n\t\treturn newTokens;\n\t}\n\n\tconst expression = expressions[index];\n\tconst expressionTokens = Array.isArray(expression)\n\t\t? expression.map(expression => parseExpression(expression))\n\t\t: [parseExpression(expression)];\n\treturn concatTokens(\n\t\tnewTokens,\n\t\texpressionTokens,\n\t\ttemplateString.endsWith(' '),\n\t);\n};\n\nexport const parseTemplates = (templates, expressions) => {\n\tlet tokens = [];\n\n\tfor (const [index, template] of templates.entries()) {\n\t\ttokens = parseTemplate({templates, expressions, tokens, index, template});\n\t}\n\n\treturn tokens;\n};\n\n","import {debuglog} from 'node:util';\nimport process from 'node:process';\n\nexport const verboseDefault = debuglog('execa').enabled;\n\nconst padField = (field, padding) => String(field).padStart(padding, '0');\n\nconst getTimestamp = () => {\n\tconst date = new Date();\n\treturn `${padField(date.getHours(), 2)}:${padField(date.getMinutes(), 2)}:${padField(date.getSeconds(), 2)}.${padField(date.getMilliseconds(), 3)}`;\n};\n\nexport const logCommand = (escapedCommand, {verbose}) => {\n\tif (!verbose) {\n\t\treturn;\n\t}\n\n\tprocess.stderr.write(`[${getTimestamp()}] ${escapedCommand}\\n`);\n};\n","const os = require(\"os\");\r\n\r\n// to detect on with os user had used path.resolve(...)\r\nconst is_posix_os = (os.platform() !== \"win32\");\r\nconst version = os.release();\r\n\r\n// For some windows version (Windows 10 v1803), it is not useful to escape spaces in path\r\n// https://docs.microsoft.com/en-us/windows/release-information/\r\nconst windows_version_regex = /(\\d+\\.\\d+)\\.(\\d+)/;\r\nconst should_not_escape = (major_release = \"\", os_build = \"\") =>\r\n /1\\d+\\.\\d+/.test(major_release) && Number(os_build) >= 17134.1184;\r\n\r\nmodule.exports = function (given_path) {\r\n return (is_posix_os)\r\n // for posix path, escape is simple\r\n ? given_path.replace(/(\\s+)/g, '\\\\$1')\r\n // for windows, it depend of the build\r\n : (should_not_escape(...windows_version_regex.exec(version).splice(1)))\r\n // on major version, no need to escape anymore\r\n // https://support.microsoft.com/en-us/help/4467268/url-encoded-unc-paths-not-url-decoded-in-windows-10-version-1803-later\r\n ? given_path\r\n // on older version, replace space with symbol %20\r\n : given_path.replace(/(\\s+)/g, '%20');\r\n};","// Generated by CoffeeScript 1.10.0\n(function() {\n var regexEscape, reverse;\n\n regexEscape = require('escape-string-regexp');\n\n reverse = function(s) {\n return s.split('').reverse().join('');\n };\n\n module.exports = function(s, chars, escapeChar) {\n var regex;\n if (chars == null) {\n chars = '\\'';\n }\n if (escapeChar == null) {\n escapeChar = '\\\\';\n }\n if (typeof s !== 'string') {\n return s;\n }\n regex = new RegExp(\"([\" + (regexEscape(chars)) + \"])(?!\" + (regexEscape(escapeChar)) + \")\", 'g');\n return reverse(reverse(s).replace(regex, \"$1\" + escapeChar));\n };\n\n}).call(this);\n","import {Buffer} from 'node:buffer';\nimport path from 'node:path';\nimport childProcess from 'node:child_process';\nimport process from 'node:process';\nimport crossSpawn from 'cross-spawn';\nimport stripFinalNewline from 'strip-final-newline';\nimport {npmRunPathEnv} from 'npm-run-path';\nimport onetime from 'onetime';\nimport {makeError} from './lib/error.js';\nimport {normalizeStdio, normalizeStdioNode} from './lib/stdio.js';\nimport {spawnedKill, spawnedCancel, setupTimeout, validateTimeout, setExitHandler} from './lib/kill.js';\nimport {addPipeMethods} from './lib/pipe.js';\nimport {handleInput, getSpawnedResult, makeAllStream, handleInputSync} from './lib/stream.js';\nimport {mergePromise, getSpawnedPromise} from './lib/promise.js';\nimport {joinCommand, parseCommand, parseTemplates, getEscapedCommand} from './lib/command.js';\nimport {logCommand, verboseDefault} from './lib/verbose.js';\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 npmRunPathEnv({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\tverbose: verboseDefault,\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 `execaSync()` 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\nexport function execa(file, args, options) {\n\tconst parsed = handleArguments(file, args, options);\n\tconst command = joinCommand(file, args);\n\tconst escapedCommand = getEscapedCommand(file, args);\n\tlogCommand(escapedCommand, parsed.options);\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\tmergePromise(dummySpawned, errorPromise);\n\t\treturn dummySpawned;\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 || (parsed.options.signal ? parsed.options.signal.aborted : false),\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);\n\n\tspawned.all = makeAllStream(spawned, parsed.options);\n\n\taddPipeMethods(spawned);\n\tmergePromise(spawned, handlePromiseOnce);\n\treturn spawned;\n}\n\nexport function execaSync(file, args, options) {\n\tconst parsed = handleArguments(file, args, options);\n\tconst command = joinCommand(file, args);\n\tconst escapedCommand = getEscapedCommand(file, args);\n\tlogCommand(escapedCommand, parsed.options);\n\n\tconst input = handleInputSync(parsed.options);\n\n\tlet result;\n\ttry {\n\t\tresult = childProcess.spawnSync(parsed.file, parsed.args, {...parsed.options, input});\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\nconst normalizeScriptStdin = ({input, inputFile, stdio}) => input === undefined && inputFile === undefined && stdio === undefined\n\t? {stdin: 'inherit'}\n\t: {};\n\nconst normalizeScriptOptions = (options = {}) => ({\n\tpreferLocal: true,\n\t...normalizeScriptStdin(options),\n\t...options,\n});\n\nfunction create$(options) {\n\tfunction $(templatesOrOptions, ...expressions) {\n\t\tif (!Array.isArray(templatesOrOptions)) {\n\t\t\treturn create$({...options, ...templatesOrOptions});\n\t\t}\n\n\t\tconst [file, ...args] = parseTemplates(templatesOrOptions, expressions);\n\t\treturn execa(file, args, normalizeScriptOptions(options));\n\t}\n\n\t$.sync = (templates, ...expressions) => {\n\t\tif (!Array.isArray(templates)) {\n\t\t\tthrow new TypeError('Please use $(options).sync`command` instead of $.sync(options)`command`.');\n\t\t}\n\n\t\tconst [file, ...args] = parseTemplates(templates, expressions);\n\t\treturn execaSync(file, args, normalizeScriptOptions(options));\n\t};\n\n\treturn $;\n}\n\nexport const $ = create$();\n\nexport function execaCommand(command, options) {\n\tconst [file, ...args] = parseCommand(command);\n\treturn execa(file, args, options);\n}\n\nexport function execaCommandSync(command, options) {\n\tconst [file, ...args] = parseCommand(command);\n\treturn execaSync(file, args, options);\n}\n\nexport function execaNode(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 = normalizeStdioNode(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","import process from 'node:process';\nimport {signalsByName} from '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\nexport const 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, cwd = process.cwd()}},\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\terror.cwd = cwd;\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","const aliases = ['stdin', 'stdout', 'stderr'];\n\nconst hasAlias = options => aliases.some(alias => options[alias] !== undefined);\n\nexport const 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\n// `ipc` is pushed unless it is already present\nexport const normalizeStdioNode = 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","import os from 'node:os';\nimport onExit from 'signal-exit';\n\nconst DEFAULT_FORCE_KILL_TIMEOUT = 1000 * 5;\n\n// Monkey-patches `childProcess.kill()` to add `forceKillAfterTimeout` behavior\nexport const 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) => isSigterm(signal) && forceKillAfterTimeout !== false && killResult;\n\nconst isSigterm = signal => signal === os.constants.signals.SIGTERM\n\t\t|| (typeof signal === 'string' && signal.toUpperCase() === 'SIGTERM');\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()`\nexport const 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\nexport const 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\nexport const 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\nexport const 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","import {createWriteStream} from 'node:fs';\nimport {ChildProcess} from 'node:child_process';\nimport {isWritableStream} from 'is-stream';\n\nconst isExecaChildProcess = target => target instanceof ChildProcess && typeof target.then === 'function';\n\nconst pipeToTarget = (spawned, streamName, target) => {\n\tif (typeof target === 'string') {\n\t\tspawned[streamName].pipe(createWriteStream(target));\n\t\treturn spawned;\n\t}\n\n\tif (isWritableStream(target)) {\n\t\tspawned[streamName].pipe(target);\n\t\treturn spawned;\n\t}\n\n\tif (!isExecaChildProcess(target)) {\n\t\tthrow new TypeError('The second argument must be a string, a stream or an Execa child process.');\n\t}\n\n\tif (!isWritableStream(target.stdin)) {\n\t\tthrow new TypeError('The target child process\\'s stdin must be available.');\n\t}\n\n\tspawned[streamName].pipe(target.stdin);\n\treturn target;\n};\n\nexport const addPipeMethods = spawned => {\n\tif (spawned.stdout !== null) {\n\t\tspawned.pipeStdout = pipeToTarget.bind(undefined, spawned, 'stdout');\n\t}\n\n\tif (spawned.stderr !== null) {\n\t\tspawned.pipeStderr = pipeToTarget.bind(undefined, spawned, 'stderr');\n\t}\n\n\tif (spawned.all !== undefined) {\n\t\tspawned.pipeAll = pipeToTarget.bind(undefined, spawned, 'all');\n\t}\n};\n","import {createReadStream, readFileSync} from 'node:fs';\nimport {isStream} from 'is-stream';\nimport getStream from 'get-stream';\nimport mergeStream from 'merge-stream';\n\nconst validateInputOptions = input => {\n\tif (input !== undefined) {\n\t\tthrow new TypeError('The `input` and `inputFile` options cannot be both set.');\n\t}\n};\n\nconst getInputSync = ({input, inputFile}) => {\n\tif (typeof inputFile !== 'string') {\n\t\treturn input;\n\t}\n\n\tvalidateInputOptions(input);\n\treturn readFileSync(inputFile);\n};\n\n// `input` and `inputFile` option in sync mode\nexport const handleInputSync = options => {\n\tconst input = getInputSync(options);\n\n\tif (isStream(input)) {\n\t\tthrow new TypeError('The `input` option cannot be a stream in sync mode');\n\t}\n\n\treturn input;\n};\n\nconst getInput = ({input, inputFile}) => {\n\tif (typeof inputFile !== 'string') {\n\t\treturn input;\n\t}\n\n\tvalidateInputOptions(input);\n\treturn createReadStream(inputFile);\n};\n\n// `input` and `inputFile` option in async mode\nexport const handleInput = (spawned, options) => {\n\tconst input = getInput(options);\n\n\tif (input === 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`\nexport const 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\t// When `buffer` is `false`, `streamPromise` is `undefined` and there is no buffered data to retrieve\n\tif (!stream || streamPromise === undefined) {\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)\nexport const 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","// eslint-disable-next-line unicorn/prefer-top-level-await\nconst nativePromisePrototype = (async () => {})().constructor.prototype;\n\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`\nexport const 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\t: descriptor.value.bind(promise);\n\n\t\tReflect.defineProperty(spawned, property, {...descriptor, value});\n\t}\n};\n\n// Use promises instead of `child_process` events\nexport const getSpawnedPromise = spawned => new Promise((resolve, reject) => {\n\tspawned.on('exit', (exitCode, signal) => {\n\t\tresolve({exitCode, signal});\n\t});\n\n\tspawned.on('error', error => {\n\t\treject(error);\n\t});\n\n\tif (spawned.stdin) {\n\t\tspawned.stdin.on('error', error => {\n\t\t\treject(error);\n\t\t});\n\t}\n});\n","import {Buffer} from 'node:buffer';\nimport {ChildProcess} from 'node:child_process';\n\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\nexport const joinCommand = (file, args) => normalizeArgs(file, args).join(' ');\n\nexport const getEscapedCommand = (file, args) => normalizeArgs(file, args).map(arg => escapeArg(arg)).join(' ');\n\nconst SPACES_REGEXP = / +/g;\n\n// Handle `execaCommand()`\nexport const 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\nconst parseExpression = expression => {\n\tconst typeOfExpression = typeof expression;\n\n\tif (typeOfExpression === 'string') {\n\t\treturn expression;\n\t}\n\n\tif (typeOfExpression === 'number') {\n\t\treturn String(expression);\n\t}\n\n\tif (\n\t\ttypeOfExpression === 'object'\n\t\t&& expression !== null\n\t\t&& !(expression instanceof ChildProcess)\n\t\t&& 'stdout' in expression\n\t) {\n\t\tconst typeOfStdout = typeof expression.stdout;\n\n\t\tif (typeOfStdout === 'string') {\n\t\t\treturn expression.stdout;\n\t\t}\n\n\t\tif (Buffer.isBuffer(expression.stdout)) {\n\t\t\treturn expression.stdout.toString();\n\t\t}\n\n\t\tthrow new TypeError(`Unexpected \"${typeOfStdout}\" stdout in template expression`);\n\t}\n\n\tthrow new TypeError(`Unexpected \"${typeOfExpression}\" in template expression`);\n};\n\nconst concatTokens = (tokens, nextTokens, isNew) => isNew || tokens.length === 0 || nextTokens.length === 0\n\t? [...tokens, ...nextTokens]\n\t: [\n\t\t...tokens.slice(0, -1),\n\t\t`${tokens[tokens.length - 1]}${nextTokens[0]}`,\n\t\t...nextTokens.slice(1),\n\t];\n\nconst parseTemplate = ({templates, expressions, tokens, index, template}) => {\n\tconst templateString = template ?? templates.raw[index];\n\tconst templateTokens = templateString.split(SPACES_REGEXP).filter(Boolean);\n\tconst newTokens = concatTokens(\n\t\ttokens,\n\t\ttemplateTokens,\n\t\ttemplateString.startsWith(' '),\n\t);\n\n\tif (index === expressions.length) {\n\t\treturn newTokens;\n\t}\n\n\tconst expression = expressions[index];\n\tconst expressionTokens = Array.isArray(expression)\n\t\t? expression.map(expression => parseExpression(expression))\n\t\t: [parseExpression(expression)];\n\treturn concatTokens(\n\t\tnewTokens,\n\t\texpressionTokens,\n\t\ttemplateString.endsWith(' '),\n\t);\n};\n\nexport const parseTemplates = (templates, expressions) => {\n\tlet tokens = [];\n\n\tfor (const [index, template] of templates.entries()) {\n\t\ttokens = parseTemplate({templates, expressions, tokens, index, template});\n\t}\n\n\treturn tokens;\n};\n\n","import {debuglog} from 'node:util';\nimport process from 'node:process';\n\nexport const verboseDefault = debuglog('execa').enabled;\n\nconst padField = (field, padding) => String(field).padStart(padding, '0');\n\nconst getTimestamp = () => {\n\tconst date = new Date();\n\treturn `${padField(date.getHours(), 2)}:${padField(date.getMinutes(), 2)}:${padField(date.getSeconds(), 2)}.${padField(date.getMilliseconds(), 3)}`;\n};\n\nexport const logCommand = (escapedCommand, {verbose}) => {\n\tif (!verbose) {\n\t\treturn;\n\t}\n\n\tprocess.stderr.write(`[${getTimestamp()}] ${escapedCommand}\\n`);\n};\n","const isexe = require('isexe')\nconst { join, delimiter, sep, posix } = require('path')\n\nconst isWindows = process.platform === 'win32'\n\n// used to check for slashed in commands passed in. always checks for the posix\n// seperator on all platforms, and checks for the current separator when not on\n// a posix platform. don't use the isWindows check for this since that is mocked\n// in tests but we still need the code to actually work when called. that is also\n// why it is ignored from coverage.\n/* istanbul ignore next */\nconst rSlash = new RegExp(`[${posix.sep}${sep === posix.sep ? '' : sep}]`.replace(/(\\\\)/g, '\\\\$1'))\nconst rRel = new RegExp(`^\\\\.${rSlash.source}`)\n\nconst getNotFoundError = (cmd) =>\n Object.assign(new Error(`not found: ${cmd}`), { code: 'ENOENT' })\n\nconst getPathInfo = (cmd, {\n path: optPath = process.env.PATH,\n pathExt: optPathExt = process.env.PATHEXT,\n delimiter: optDelimiter = delimiter,\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(rSlash) ? [''] : [\n // windows always checks the cwd first\n ...(isWindows ? [process.cwd()] : []),\n ...(optPath || /* istanbul ignore next: very unusual */ '').split(optDelimiter),\n ]\n\n if (isWindows) {\n const pathExtExe = optPathExt ||\n ['.EXE', '.CMD', '.BAT', '.COM'].join(optDelimiter)\n const pathExt = pathExtExe.split(optDelimiter).reduce((acc, item) => {\n acc.push(item)\n acc.push(item.toLowerCase())\n return acc\n }, [])\n if (cmd.includes('.') && pathExt[0] !== '') {\n pathExt.unshift('')\n }\n return { pathEnv, pathExt, pathExtExe }\n }\n\n return { pathEnv, pathExt: [''] }\n}\n\nconst getPathPart = (raw, cmd) => {\n const pathPart = /^\".*\"$/.test(raw) ? raw.slice(1, -1) : raw\n const prefix = !pathPart && rRel.test(cmd) ? cmd.slice(0, 2) : ''\n return prefix + join(pathPart, cmd)\n}\n\nconst which = async (cmd, opt = {}) => {\n const { pathEnv, pathExt, pathExtExe } = getPathInfo(cmd, opt)\n const found = []\n\n for (const envPart of pathEnv) {\n const p = getPathPart(envPart, cmd)\n\n for (const ext of pathExt) {\n const withExt = p + ext\n const is = await isexe(withExt, { pathExt: pathExtExe, ignoreErrors: true })\n if (is) {\n if (!opt.all) {\n return withExt\n }\n found.push(withExt)\n }\n }\n }\n\n if (opt.all && found.length) {\n return found\n }\n\n if (opt.nothrow) {\n return null\n }\n\n throw getNotFoundError(cmd)\n}\n\nconst whichSync = (cmd, opt = {}) => {\n const { pathEnv, pathExt, pathExtExe } = getPathInfo(cmd, opt)\n const found = []\n\n for (const pathEnvPart of pathEnv) {\n const p = getPathPart(pathEnvPart, cmd)\n\n for (const ext of pathExt) {\n const withExt = p + ext\n const is = isexe.sync(withExt, { pathExt: pathExtExe, ignoreErrors: true })\n if (is) {\n if (!opt.all) {\n return withExt\n }\n found.push(withExt)\n }\n }\n }\n\n if (opt.all && found.length) {\n return found\n }\n\n if (opt.nothrow) {\n return null\n }\n\n throw getNotFoundError(cmd)\n}\n\nmodule.exports = which\nwhich.sync = whichSync\n","/* eslint-disable require-atomic-updates */\nimport { info } from \"@actions/core\"\nimport { execaSync } from \"execa\"\nimport { join } from \"patha\"\nimport which from \"which\"\nimport { getBrewPath, setupBrew } from \"../../brew/brew\"\nimport { InstallationInfo } from \"./setupBin\"\n\nlet hasBrew = false\n\n/** A function that installs a package using brew */\nexport async function setupBrewPack(\n name: string,\n version?: string,\n extraArgs: string[] = [],\n): Promise {\n info(`Installing ${name} ${version ?? \"\"} via brew`)\n\n if (!hasBrew || which.sync(\"brew\", { nothrow: true }) === null) {\n await setupBrew(\"\", \"\", process.arch)\n hasBrew = true\n }\n\n const binDir = getBrewPath()\n\n // brew is not thread-safe\n execaSync(\n join(binDir, \"brew\"),\n [\"install\", version !== undefined && version !== \"\" ? `${name}@${version}` : name, ...extraArgs],\n {\n stdio: \"inherit\",\n },\n )\n\n return { binDir }\n}\n","import { execaSync } from \"execa\"\nimport { dirname } from \"patha\"\nimport which from \"which\"\nimport { tmpdir } from \"os\"\nimport path, { join } from \"path\"\nimport { mkdirP } from \"@actions/io\"\nimport { readFileSync } from \"fs\"\nimport { addPath } from \"../utils/env/addEnv\"\n\n/* eslint-disable require-atomic-updates */\nlet binDir: string | undefined\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async 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 const brewTempDirectory = path.join(tmpdir(), \"setup-cpp\", \"brew\")\n await mkdirP(brewTempDirectory)\n\n execaSync(\"curl\", [\"-LJO\", \"https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh\"], {\n cwd: brewTempDirectory,\n })\n const installSh = join(brewTempDirectory, \"install.sh\")\n\n if (process.platform === \"linux\") {\n const installShContent = readFileSync(installSh, \"utf-8\")\n\n installShContent.replace(\"#!/bin/bash\", \"\")\n }\n\n execaSync(\"/bin/bash\", [installSh], {\n stdio: \"inherit\",\n env: {\n NONINTERACTIVE: \"1\",\n },\n })\n\n binDir = getBrewPath()\n await addPath(binDir)\n\n return { binDir }\n}\n\nexport function getBrewPath() {\n if (process.platform === \"linux\") {\n return \"/home/linuxbrew/.linuxbrew/bin/\"\n } else {\n return \"/usr/local/bin/\"\n }\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 { execaSync } from \"execa\"\nimport { info } 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 execaSync(\"choco\", [\"install\", \"-y\", name, `--version=${version}`, ...args], {\n env,\n extendEnv: false,\n stdio: \"inherit\",\n })\n } else {\n try {\n execaSync(\"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 info(`${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","/* eslint-disable require-atomic-updates */\nimport { execaSync } from \"execa\"\nimport { pathExists } from \"path-exists\"\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 execaSync(\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 (await pathExists(binDir)) {\n return { binDir }\n }\n return undefined\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","import { InstallationInfo } from \"./setupBin\"\nimport { execRootSync } from \"admina\"\nimport { info, warning } from \"ci-log\"\nimport { execa } from \"execa\"\n\ntype DnfPackage = {\n name: string\n version?: string\n}\n\n/** A function that installs a package using dnf */\nexport async function setupDnfPack(packages: DnfPackage[]): Promise {\n for (const { name, version } of packages) {\n info(`Installing ${name} ${version ?? \"\"} via dnf`)\n }\n\n const dnfArgs = await Promise.all(packages.map((pack) => getDnfArg(pack.name, pack.version)))\n execRootSync(\"dnf\", [\"-y\", \"install\", ...dnfArgs])\n\n return { binDir: \"/usr/bin/\" }\n}\n\nasync function getDnfArg(name: string, version: string | undefined) {\n if (version !== undefined && version !== \"\") {\n // check if name-version is available\n const { stdout } = await execa(\"dnf\", [\"search\", \"-q\", `${name}-${version}`])\n\n if (stdout.trim() !== \"\") {\n return `${name}-${version}`\n } else {\n // try with ${name}${version}\n // eslint-disable-next-line @typescript-eslint/no-shadow\n const { stdout } = await execa(\"dnf\", [\"search\", \"-q\", `${name}${version}`])\n if (stdout.trim() !== \"\") {\n return `${name}${version}`\n }\n\n warning(`Failed to install ${name} ${version} via dnf, trying without version`)\n }\n }\n return name\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 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([{ name: \"ccache\", version }])\n } else if (isUbuntu()) {\n return setupAptPack([{ name: \"ccache\", version }])\n }\n throw new Error(`Unsupported linux distribution`)\n }\n default: {\n throw new Error(`Unsupported platform`)\n }\n }\n}\n","import { InstallationInfo } from \"./setupBin\"\nimport { execRootSync } from \"admina\"\nimport { info, warning } from \"ci-log\"\nimport { execa, execaSync } from \"execa\"\nimport which from \"which\"\n\n/* eslint-disable require-atomic-updates */\nlet didUpdate: boolean = false\nlet didInit: boolean = false\n\n/** A function that installs a package using pacman */\nexport async function setupPacmanPack(name: string, version?: string, aur?: string): Promise {\n info(`Installing ${name} ${version ?? \"\"} via pacman`)\n\n const pacman = \"pacman\"\n\n if (aur === \"yay\" && which.sync(\"yay\", { nothrow: true }) === null) {\n // TODO: install yay automatically\n throw new Error(`yay is needed for ${name}, but it is not installed, please install it manually first`)\n }\n\n // yay can't run as root, so skip update\n if (!didUpdate && aur !== \"yay\") {\n execRootSync(pacman, [\"-Sy\", \"--noconfirm\"])\n didUpdate = true\n }\n\n // install base-devel\n if (!didInit && aur !== \"yay\") {\n execRootSync(pacman, [\"-S\", \"--noconfirm\", \"base-devel\"])\n didInit = true\n }\n\n const runInstall = (arg: string) => {\n if (aur === \"yay\") {\n // run yay as non-root, ERROR: Running makepkg as root is not allowed as it can cause permanent, catastrophic damage to your system.\n return execaSync(aur, [\"-S\", \"--noconfirm\", arg])\n }\n return execRootSync(aur ?? pacman, [\"-S\", \"--noconfirm\", arg])\n }\n\n if (version !== undefined && version !== \"\") {\n // check if version is available\n const availableVersions = await availablePacmanVersions(pacman, name)\n if (availableVersions.includes(version)) {\n // try different version formats\n try {\n runInstall(`${name}=${version}`)\n } catch {\n runInstall(`${name}${version}`)\n }\n } else {\n // try without version\n info(`Failed to install ${name} ${version} via pacman, trying without version`)\n runInstall(name)\n }\n } else {\n // version not specified, install latest\n runInstall(name)\n }\n\n return { binDir: \"/usr/bin/\" }\n}\n\nconst pacmanSiVersionRegex = /Version\\s*:\\s*(.*)/g\n\n/** Query pacman for available versions */\nasync function availablePacmanVersions(pacman: string, name: string) {\n const availableVersions = []\n try {\n const { stdout } = await execa(pacman, [\"-Si\", name])\n\n for (const match of stdout.matchAll(pacmanSiVersionRegex)) {\n availableVersions.push(match[1])\n }\n } catch (err) {\n warning(`Failed to get available versions for ${name}: ${err}`)\n }\n return availableVersions\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",null,null,null,null,"import { find, downloadTool, cacheDir } from \"@actions/tool-cache\"\nimport { addPath } from \"../env/addEnv\"\nimport { join } from \"patha\"\nimport { info } from \"ci-log\"\n\nimport { tmpdir } from \"os\"\nimport { GITHUB_ACTIONS } from \"ci-info\"\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\"\nimport { pathExists } from \"path-exists\"\nimport retry from \"retry-as-promised\"\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 bin?: 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 (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 (await pathExists(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 ((await Promise.all([pathExists(binDir), pathExists(binFile)])).includes(false)) {\n try {\n info(`Download ${name} ${version}`)\n // try to download the package 4 times with 2 seconds delay\n const downloaded = await retry(\n () => {\n return downloadTool(url)\n },\n { name: url, max: 4, backoffBase: 2000, report: (err) => info(err) },\n )\n\n if (!didInit) {\n info(`Installing extraction dependencies`)\n if (process.platform === \"linux\") {\n if (isArch()) {\n await Promise.all([setupPacmanPack(\"unzip\"), setupPacmanPack(\"tar\"), setupPacmanPack(\"xz\")])\n } else if (hasDnf()) {\n await setupDnfPack([{ name: \"unzip\" }, { name: \"tar\" }, { name: \"xz\" }])\n } else if (isUbuntu()) {\n await setupAptPack([{ name: \"unzip\" }, { name: \"tar\" }, { name: \"xz-utils\" }])\n }\n }\n // eslint-disable-next-line require-atomic-updates\n didInit = true\n }\n\n info(`Extracting ${downloaded} to ${setupDir}`)\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 (GITHUB_ACTIONS && typeof process.env.RUNNER_TOOL_CACHE === \"string\") {\n await cacheDir(setupDir, name, version)\n }\n\n return { installDir, binDir }\n}\n","'use strict';\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.retryAsPromised = exports.TimeoutError = void 0;\nclass TimeoutError extends Error {\n constructor(message, previousError) {\n super(message);\n this.name = \"TimeoutError\";\n this.previous = previousError;\n }\n}\nexports.TimeoutError = TimeoutError;\nfunction matches(match, err) {\n if (typeof match === 'function') {\n try {\n if (err instanceof match)\n return true;\n }\n catch (_) {\n return !!match(err);\n }\n }\n if (match === err.toString())\n return true;\n if (match === err.message)\n return true;\n return match instanceof RegExp\n && (match.test(err.message) || match.test(err.toString()));\n}\nfunction retryAsPromised(callback, optionsInput) {\n if (!callback || !optionsInput) {\n throw new Error('retry-as-promised must be passed a callback and a options set');\n }\n optionsInput = (typeof optionsInput === \"number\" ? { max: optionsInput } : optionsInput);\n const options = {\n $current: \"$current\" in optionsInput ? optionsInput.$current : 1,\n max: optionsInput.max,\n timeout: optionsInput.timeout || undefined,\n match: optionsInput.match ? Array.isArray(optionsInput.match) ? optionsInput.match : [optionsInput.match] : [],\n backoffBase: optionsInput.backoffBase === undefined ? 100 : optionsInput.backoffBase,\n backoffExponent: optionsInput.backoffExponent || 1.1,\n report: optionsInput.report,\n name: optionsInput.name || callback.name || 'unknown'\n };\n if (options.match && !Array.isArray(options.match))\n options.match = [options.match];\n if (options.report)\n options.report('Trying ' + options.name + ' #' + options.$current + ' at ' + new Date().toLocaleTimeString(), options);\n return new Promise(function (resolve, reject) {\n let timeout;\n let backoffTimeout;\n let lastError;\n if (options.timeout) {\n timeout = setTimeout(function () {\n if (backoffTimeout)\n clearTimeout(backoffTimeout);\n reject(new TimeoutError(options.name + ' timed out', lastError));\n }, options.timeout);\n }\n Promise.resolve(callback({ current: options.$current }))\n .then(resolve)\n .then(function () {\n if (timeout)\n clearTimeout(timeout);\n if (backoffTimeout)\n clearTimeout(backoffTimeout);\n })\n .catch(function (err) {\n if (timeout)\n clearTimeout(timeout);\n if (backoffTimeout)\n clearTimeout(backoffTimeout);\n lastError = err;\n if (options.report)\n options.report((err && err.toString()) || err, options, err);\n // Should not retry if max has been reached\n var shouldRetry = options.$current < options.max;\n if (!shouldRetry)\n return reject(err);\n shouldRetry = options.match.length === 0 || options.match.some(function (match) {\n return matches(match, err);\n });\n if (!shouldRetry)\n return reject(err);\n var retryDelay = options.backoffBase * Math.pow(options.backoffExponent, options.$current - 1);\n // Do some accounting\n options.$current++;\n if (options.report)\n options.report(`Retrying ${options.name} (${options.$current})`, options);\n if (retryDelay) {\n // Use backoff function to ease retry rate\n if (options.report)\n options.report(`Delaying retry of ${options.name} by ${retryDelay}`, options);\n backoffTimeout = setTimeout(function () {\n retryAsPromised(callback, options)\n .then(resolve)\n .catch(reject);\n }, retryDelay);\n }\n else {\n retryAsPromised(callback, options)\n .then(resolve)\n .catch(reject);\n }\n });\n });\n}\nexports.retryAsPromised = retryAsPromised;\n;\nexports.default = retryAsPromised;\n","import { execa } from \"execa\"\nimport { mkdirP } from \"@actions/io\"\nimport which from \"which\"\nimport { setupSevenZip } from \"../../sevenzip/sevenzip\"\nimport { warning } from \"ci-log\"\nimport { grantUserWriteAccess } from \"admina\"\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 await grantUserWriteAccess(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 grantUserWriteAccess(dest)\n return dest\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 return setupDnfPack([\n { name: \"p7zip\", version },\n { name: \"p7zip-plugins\", version },\n ])\n } else if (isUbuntu()) {\n return setupAptPack([{ name: \"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 { setupPipPack } from \"../utils/setup/setupPipPack\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport function setupConan(version: string | undefined, _setupDir: string, _arch: string) {\n return setupPipPack(\"conan\", version)\n}\n","import { info } from \"@actions/core\"\nimport { execa, execaSync } from \"execa\"\nimport { pathExists } from \"path-exists\"\nimport { addExeExt, dirname, join } from \"patha\"\nimport which from \"which\"\nimport { addPythonBaseExecPrefix, setupPython } from \"../../python/python\"\nimport { addPath } from \"../env/addEnv\"\nimport { InstallationInfo } from \"./setupBin\"\nimport { getVersion } from \"../../versions/versions\"\nimport { ubuntuVersion } from \"../env/ubuntu_version\"\nimport memoize from \"micro-memoize\"\nimport { isArch } from \"../env/isArch\"\nimport { setupPacmanPack } from \"./setupPacmanPack\"\nimport { hasDnf } from \"../env/hasDnf\"\nimport { setupDnfPack } from \"./setupDnfPack\"\nimport { isUbuntu } from \"../env/isUbuntu\"\nimport { setupAptPack } from \"./setupAptPack\"\n\nexport type SetupPipPackOptions = {\n /** Whether to use pipx instead of pip */\n usePipx?: boolean\n /** Whether to install the package as a user */\n user?: boolean\n /** Whether to upgrade the package */\n upgrade?: boolean\n /** Whether the package is a library */\n isLibrary?: boolean\n}\n\n/** A function that installs a package using pip */\nexport async function setupPipPack(\n name: string,\n version?: string,\n options: SetupPipPackOptions = {},\n): Promise {\n return setupPipPackWithPython(await getPython(), name, version, options)\n}\n\nexport async function setupPipPackWithPython(\n givenPython: string,\n name: string,\n version?: string,\n options: SetupPipPackOptions = {},\n): Promise {\n const { usePipx = true, user = true, upgrade = false, isLibrary = false } = options\n\n const isPipx = usePipx && !isLibrary && (await hasPipx(givenPython))\n const pip = isPipx ? \"pipx\" : \"pip\"\n\n const hasPackage = await pipHasPackage(givenPython, name)\n if (hasPackage) {\n try {\n info(`Installing ${name} ${version ?? \"\"} via ${pip}`)\n\n const nameAndVersion = version !== undefined && version !== \"\" ? `${name}==${version}` : name\n const upgradeFlag = upgrade ? (isPipx ? [\"upgrade\"] : [\"install\", \"--upgrade\"]) : [\"install\"]\n const userFlag = !isPipx && user ? [\"--user\"] : []\n\n execaSync(givenPython, [\"-m\", pip, ...upgradeFlag, ...userFlag, nameAndVersion], {\n stdio: \"inherit\",\n })\n } catch (err) {\n info(`Failed to install ${name} via ${pip}: ${err}.`)\n if ((await setupPipPackSystem(name)) === null) {\n throw new Error(`Failed to install ${name} via ${pip}: ${err}.`)\n }\n }\n } else {\n if ((await setupPipPackSystem(name)) === null) {\n throw new Error(`Failed to install ${name} as it was not found via ${pip} or the system package manager`)\n }\n }\n\n const execPaths = await addPythonBaseExecPrefix(givenPython)\n const binDir = await findBinDir(execPaths, name)\n\n await addPath(binDir)\n\n return { binDir }\n}\n\nexport async function hasPipx(givenPython: string) {\n return (await execa(givenPython, [\"-m\", \"pipx\", \"--help\"], { stdio: \"ignore\", reject: false })).exitCode === 0\n}\n\nasync function getPython_raw(): Promise {\n const pythonBin = (await setupPython(getVersion(\"python\", undefined, await ubuntuVersion()), \"\", process.arch)).bin\n if (pythonBin === undefined) {\n throw new Error(\"Python binary was not found\")\n }\n return pythonBin\n}\nconst getPython = memoize(getPython_raw, { isPromise: true })\n\nasync function pipHasPackage(python: string, name: string) {\n const result = await execa(python, [\"-m\", \"pip\", \"-qq\", \"index\", \"versions\", name], {\n stdio: \"ignore\",\n reject: false,\n })\n return result.exitCode === 0\n}\n\nasync function findBinDir(dirs: string[], name: string) {\n const exists = await Promise.all(dirs.map((dir) => pathExists(join(dir, addExeExt(name)))))\n const dirIndex = exists.findIndex((exist) => exist)\n if (dirIndex !== -1) {\n const foundDir = dirs[dirIndex]\n return foundDir\n }\n\n const whichDir = which.sync(addExeExt(name), { nothrow: true })\n if (whichDir !== null) {\n return dirname(whichDir)\n }\n\n return dirs[dirs.length - 1]\n}\n\nexport function setupPipPackSystem(name: string) {\n if (process.platform === \"linux\") {\n info(`Installing ${name} via the system package manager`)\n if (isArch()) {\n return setupPacmanPack(`python-${name}`)\n } else if (hasDnf()) {\n return setupDnfPack([{ name: `python3-${name}` }])\n } else if (isUbuntu()) {\n return setupAptPack([{ name: `python3-${name}` }])\n }\n }\n return null\n}\n","/* eslint-disable require-atomic-updates */\nimport { getExecOutput } from \"@actions/exec\"\nimport assert from \"assert\"\nimport { GITHUB_ACTIONS } from \"ci-info\"\nimport { info, warning } from \"ci-log\"\nimport { execa } from \"execa\"\nimport memoize from \"micro-memoize\"\nimport { addExeExt, dirname, join } from \"patha\"\nimport which from \"which\"\nimport { addPath } from \"../utils/env/addEnv\"\nimport { hasDnf } from \"../utils/env/hasDnf\"\nimport { isArch } from \"../utils/env/isArch\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\nimport { setupAptPack } from \"../utils/setup/setupAptPack\"\nimport { InstallationInfo } from \"../utils/setup/setupBin\"\nimport { setupBrewPack } from \"../utils/setup/setupBrewPack\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack\"\nimport { isBinUptoDate } from \"../utils/setup/version\"\nimport { unique } from \"../utils/std\"\nimport { MinVersions } from \"../versions/default_versions\"\nimport { pathExists } from \"path-exists\"\nimport { hasPipx, setupPipPackSystem, setupPipPackWithPython } from \"../utils/setup/setupPipPack\"\n\nexport async function setupPython(version: string, setupDir: string, arch: string): Promise {\n const installInfo = await findOrSetupPython(version, setupDir, arch)\n assert(installInfo.bin !== undefined)\n const foundPython = installInfo.bin\n\n // setup pip\n const foundPip = await findOrSetupPip(foundPython)\n if (foundPip === undefined) {\n throw new Error(\"pip was not installed correctly\")\n }\n\n await setupPipx(foundPython)\n\n await setupWheel(foundPython)\n\n return installInfo\n}\n\nasync function setupPipx(foundPython: string) {\n try {\n if (!(await hasPipx(foundPython))) {\n await setupPipPackWithPython(foundPython, \"pipx\", undefined, { upgrade: true, usePipx: false })\n }\n await execa(foundPython, [\"-m\", \"pipx\", \"ensurepath\"], { stdio: \"inherit\" })\n await setupPipPackWithPython(foundPython, \"venv\", undefined, { upgrade: false, usePipx: false })\n } catch (err) {\n warning(`Failed to install pipx: ${(err as Error).toString()}. Ignoring...`)\n }\n}\n\n/** Setup wheel and setuptools */\nasync function setupWheel(foundPython: string) {\n try {\n await setupPipPackWithPython(foundPython, \"setuptools\", undefined, {\n upgrade: true,\n isLibrary: true,\n usePipx: false,\n })\n await setupPipPackWithPython(foundPython, \"wheel\", undefined, { upgrade: true, isLibrary: true, usePipx: false })\n } catch (err) {\n warning(`Failed to install setuptools or wheel: ${(err as Error).toString()}. Ignoring...`)\n }\n}\n\nasync function findOrSetupPython(version: string, setupDir: string, arch: string) {\n let installInfo: InstallationInfo | undefined\n let foundPython = await findPython(setupDir)\n\n if (foundPython !== undefined) {\n const binDir = dirname(foundPython)\n installInfo = { bin: foundPython, installDir: binDir, binDir }\n } else {\n // if python is not found, try to install it\n if (GITHUB_ACTIONS) {\n // install python in GitHub Actions\n try {\n info(\"Installing python in GitHub Actions\")\n const { setupActionsPython } = await import(\"./actions_python\")\n await setupActionsPython(version, setupDir, arch)\n\n foundPython = (await findPython(setupDir))!\n const binDir = dirname(foundPython)\n installInfo = { bin: foundPython, installDir: binDir, binDir }\n } catch (err) {\n warning((err as Error).toString())\n }\n }\n if (installInfo === undefined) {\n // install python via system package manager\n installInfo = await setupPythonSystem(setupDir, version)\n }\n }\n\n if (foundPython === undefined || installInfo.bin === undefined) {\n foundPython = (await findPython(setupDir))!\n installInfo.bin = foundPython\n }\n\n return installInfo\n}\n\nasync function setupPythonSystem(setupDir: string, version: string) {\n let installInfo: InstallationInfo | undefined\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 bin = (await findPython(setupDir))!\n const binDir = dirname(bin)\n /** The directory which the tool is installed to */\n await addPath(binDir)\n installInfo = { installDir: binDir, binDir, bin }\n break\n }\n case \"darwin\": {\n installInfo = await setupBrewPack(\"python3\", version)\n // add the python and pip binaries to the path\n const brewPythonPrefix = await execa(\"brew\", [\"--prefix\", \"python\"], { stdio: \"pipe\" })\n const brewPythonBin = join(brewPythonPrefix.stdout, \"libexec\", \"bin\")\n await addPath(brewPythonBin)\n\n break\n }\n case \"linux\": {\n if (isArch()) {\n installInfo = await setupPacmanPack(\"python\", version)\n } else if (hasDnf()) {\n installInfo = await setupDnfPack([{ name: \"python3\", version }])\n } else if (isUbuntu()) {\n installInfo = await setupAptPack([{ name: \"python3\", version }, { name: \"python-is-python3\" }])\n } else {\n throw new Error(\"Unsupported linux distributions\")\n }\n break\n }\n default: {\n throw new Error(\"Unsupported platform\")\n }\n }\n return installInfo\n}\n\nasync function findPython(binDir?: string) {\n for (const pythonBin of [\"python3\", \"python\"]) {\n // eslint-disable-next-line no-await-in-loop\n const foundPython = await isPythonUpToDate(pythonBin, binDir)\n if (foundPython !== undefined) {\n return foundPython\n }\n }\n return undefined\n}\n\nasync function isPythonUpToDate(candidate: string, binDir?: string) {\n try {\n if (binDir !== undefined) {\n const pythonBinPath = join(binDir, addExeExt(candidate))\n if (await pathExists(pythonBinPath)) {\n if (await isBinUptoDate(pythonBinPath, MinVersions.python!)) {\n return pythonBinPath\n }\n }\n }\n const pythonBinPaths = (await which(candidate, { nothrow: true, all: true })) ?? []\n for (const pythonBinPath of pythonBinPaths) {\n // eslint-disable-next-line no-await-in-loop\n if (await isBinUptoDate(pythonBinPath, MinVersions.python!)) {\n return pythonBinPath\n }\n }\n } catch {\n // fall through\n }\n return undefined\n}\n\nasync function findOrSetupPip(foundPython: string) {\n const maybePip = await findPip()\n\n if (maybePip === undefined) {\n // install pip if not installed\n info(\"pip was not found. Installing pip\")\n await setupPip(foundPython)\n return findPip() // recurse to check if pip is on PATH and up-to-date\n }\n\n return maybePip\n}\n\nasync function findPip() {\n for (const pipCandidate of [\"pip3\", \"pip\"]) {\n // eslint-disable-next-line no-await-in-loop\n const maybePip = await isPipUptoDate(pipCandidate)\n if (maybePip !== undefined) {\n return maybePip\n }\n }\n return undefined\n}\n\nasync function isPipUptoDate(pip: string) {\n try {\n const pipPaths = (await which(pip, { nothrow: true, all: true })) ?? []\n for (const pipPath of pipPaths) {\n // eslint-disable-next-line no-await-in-loop\n if (pipPath !== null && (await isBinUptoDate(pipPath, MinVersions.pip!))) {\n return pipPath\n }\n }\n } catch {\n // fall through\n }\n return undefined\n}\n\nasync function setupPip(foundPython: string) {\n const upgraded = await ensurePipUpgrade(foundPython)\n if (!upgraded) {\n // ensure that pip is installed on Linux (happens when python is found but pip not installed)\n await setupPipPackSystem(\"pip\")\n\n // upgrade pip\n await ensurePipUpgrade(foundPython)\n }\n}\n\nasync function ensurePipUpgrade(foundPython: string) {\n try {\n await execa(foundPython, [\"-m\", \"ensurepip\", \"-U\", \"--upgrade\"], { stdio: \"inherit\" })\n return true\n } catch (err1) {\n info((err1 as Error)?.toString?.())\n try {\n // ensure pip is disabled on Ubuntu\n await execa(foundPython, [\"-m\", \"pip\", \"install\", \"--upgrade\", \"pip\"], { stdio: \"inherit\" })\n return true\n } catch (err2) {\n info((err2 as Error)?.toString?.())\n // pip module not found\n }\n }\n // all methods failed\n return false\n}\n\nasync function addPythonBaseExecPrefix_raw(python: string) {\n const dirs: string[] = []\n\n // detection based on the platform\n if (process.platform === \"linux\") {\n dirs.push(\"/home/runner/.local/bin/\")\n } else if (process.platform === \"darwin\") {\n dirs.push(\"/usr/local/bin/\")\n }\n\n // detection using python.sys\n const base_exec_prefix = (await getExecOutput(`${python} -c \"import sys;print(sys.base_exec_prefix);\"`)).stdout.trim()\n // any of these are possible depending on the operating system!\n dirs.push(join(base_exec_prefix, \"Scripts\"), join(base_exec_prefix, \"Scripts\", \"bin\"), join(base_exec_prefix, \"bin\"))\n\n // remove duplicates\n return unique(dirs)\n}\n\n/**\n * Add the base exec prefix to the PATH. This is required for Conan, Meson, etc. to work properly.\n *\n * The answer is cached for subsequent calls\n */\nexport const addPythonBaseExecPrefix = memoize(addPythonBaseExecPrefix_raw, { isPromise: true })\n",null,null,null,null,"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((a, b) => {\n try {\n return semverCompare(a, b)\n } catch (err) {\n return a.localeCompare(b)\n }\n })\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 the given set doesn't include the version, throw an error\n if (!versions.has(version)) {\n throw new Error(\n `Unsupported target! (platform='${platform}', version='${version}'). Try one of the following: ${JSON.stringify(\n versions,\n )}`,\n )\n }\n\n const offlineUrls: string[] = []\n\n // TODO use Promise.any\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 if (url !== null) {\n // eslint-disable-next-line no-await-in-loop\n if (await isUrlOnline(url)) {\n return [specificVersion, url]\n } else {\n offlineUrls.push(url)\n }\n }\n }\n\n throw new Error(\n `Unsupported target! (platform='${platform}', version='${version}'). Try one of the following: ${JSON.stringify(\n versions,\n )}`,\n )\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 semverCoerce(version) ?? undefined\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 (givenVersion !== undefined && targetVersion !== \"\") {\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","// 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","export function unique(dirs: string[]) {\n return [...new Set(dirs)]\n}\n","import { 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\nfunction getLLVMDefault() {\n switch (process.platform) {\n case \"win32\":\n return \"17.0.4\"\n case \"linux\":\n // used for non-ubuntu (Fedora, Arch)\n return \"17.0.5-ubuntu-22.04\"\n case \"darwin\":\n return \"15.0.3\"\n default:\n return \"17.0.5\"\n }\n}\n\nexport const DefaultVersions: Record = {\n llvm: getLLVMDefault(), // https://github.com/llvm/llvm-project/releases\n clangtidy: getLLVMDefault(),\n clangformat: getLLVMDefault(),\n ninja: \"1.11.1\", // https://github.com/ninja-build/ninja/releases\n cmake: \"3.27.4\", // https://github.com/Kitware/CMake/releases\n gcovr: \"6.0\", // https://pypi.org/project/gcovr/\n conan: \"1.62.0\", // https://github.com/conan-io/conan/releases\n meson: \"1.2.3\", // https://github.com/mesonbuild/meson/releases\n kcov: \"42\", // https://github.com/SimonKagstrom/kcov/releases\n task: \"3.31.0\", // https://github.com/go-task/task/releases\n doxygen: isArch() ? \"1.9.8-1\" : \"1.9.8\", // 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: isArch() ? \"13.2.1-3\" : \"13\", // https://github.com/brechtsanders/winlibs_mingw/releases and // https://packages.ubuntu.com/search?suite=all&arch=any&searchon=names&keywords=gcc\n //mingw: isArch() ? \"12.2.0-1\" : \"8\", // https://packages.ubuntu.com/search?suite=all&arch=any&searchon=names&keywords=mingw-w64 // https://archlinux.org/packages/extra/x86_64/mingw-w64-gcc/\n}\n\nexport const MinVersions: Record = {\n pip: \"22.2.0\",\n python: \"3.7.9\",\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 \"\"\nexport const DefaultLinuxVersion: Record | undefined> = {\n gcc: {\n 22: \"13\",\n 20: \"11\",\n 18: \"11\",\n 16: \"11\",\n 14: \"11\",\n },\n mingw: {\n 22: \"8.0.0-1\",\n 20: \"7.0.0-2\",\n },\n llvm: {\n 22: \"17.0.5-ubuntu-22.04\",\n 20: \"17.0.5-ubuntu-22.04\",\n 18: \"15.0.6-ubuntu-18.04\",\n 16: \"15.0.6-ubuntu-18.04\",\n 14: \"13.0.0-ubuntu-16.04\",\n },\n clangtidy: {\n 22: \"17.0.2-ubuntu-22.04\",\n 20: \"17.0.2-ubuntu-22.04\",\n 18: \"15.0.6-ubuntu-18.04\",\n 16: \"15.0.6-ubuntu-18.04\",\n 14: \"13.0.0-ubuntu-16.04\",\n },\n clangformat: {\n 22: \"17.0.2-ubuntu-22.04\",\n 20: \"17.0.2-ubuntu-22.04\",\n 18: \"15.0.6-ubuntu-18.04\",\n 16: \"15.0.6-ubuntu-18.04\",\n 14: \"13.0.0-ubuntu-16.04\",\n },\n gcovr: {\n 22: \"6.0\",\n 20: \"6.0\",\n 18: \"5.0\",\n },\n meson: {\n 20: \"1.0.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: \"42-binary\",\n 20: \"40-binary\", // https://github.com/SimonKagstrom/kcov/releases\n 18: \"40\",\n 16: \"40\",\n 14: \"40\",\n },\n}\n","import { Opts } from \"../cli-options\"\nimport { Inputs } from \"../tool\"\nimport { DefaultLinuxVersion, DefaultVersions } from \"./default_versions\"\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 (isVersionDefault(version) && process.platform === \"linux\" && osVersion !== null && name in DefaultLinuxVersion) {\n return getDefaultLinuxVersion(osVersion, DefaultLinuxVersion[name]!)\n } else if (isVersionDefault(version) && name in DefaultVersions) {\n return DefaultVersions[name]!\n } else if (version === \"true\") {\n return \"\"\n }\n return version ?? \"\"\n}\n\nfunction isVersionDefault(version: string | undefined) {\n return version === \"true\" || version === undefined\n}\n\n/// choose the default linux version based on ubuntu version\nfunction getDefaultLinuxVersion(osVersion: number[], toolLinuxVersions: Record) {\n const osVersionMaj = osVersion[0]\n\n // find which version block the os version is in\n const satisfyingVersion = Object.keys(toolLinuxVersions)\n .map((v) => parseInt(v, 10))\n .sort((a, b) => b - a) // sort in descending order\n .find((v) => osVersionMaj >= v)\n\n return satisfyingVersion === undefined ? \"\" : toolLinuxVersions[satisfyingVersion]\n}\n\n/**\n * Sync the versions for the given inputs\n *\n * If the return is false, it means that versions don't match the target version\n */\nexport function syncVersions(opts: Opts, tools: Inputs[]): boolean {\n const toolsInUse = tools.filter((tool) => opts[tool] !== undefined)\n const toolsNonDefaultVersion = toolsInUse.filter((tool) => !isVersionDefault(opts[tool]))\n\n const targetVersion = toolsNonDefaultVersion.length >= 1 ? opts[toolsNonDefaultVersion[0]] : \"true\"\n\n if (toolsNonDefaultVersion.some((tool) => opts[tool] !== targetVersion)) {\n // error if any explicit versions don't match the target version\n return false\n }\n\n toolsInUse.forEach((tool) => {\n opts[tool] = targetVersion\n })\n\n return true\n}\n","import { warning } from \"ci-log\"\nimport { getUbuntuVersion } from \"ubuntu-version\"\nimport which from \"which\"\nimport { setupAptPack } from \"../setup/setupAptPack\"\nimport { isUbuntu } from \"./isUbuntu\"\nimport os from \"os\"\nimport memoize from \"micro-memoize\"\n\nasync function ubuntuVersion_raw(): Promise {\n try {\n if (isUbuntu()) {\n try {\n if (which.sync(\"lsb_release\", { nothrow: true }) === null) {\n await setupAptPack([{ name: \"lsb-release\" }])\n }\n } catch {\n return detectUsingOsVersion()\n }\n\n const versionSplitted = await getUbuntuVersion()\n\n if (versionSplitted.length === 0) {\n return detectUsingOsVersion()\n }\n\n return versionSplitted\n } else {\n return null\n }\n } catch (err) {\n warning((err as Error).toString())\n return null\n }\n}\n\n/** Detect Ubuntu version */\nexport const ubuntuVersion = memoize(ubuntuVersion_raw, { isPromise: true })\n\n/** Detect Ubuntu version using os.version() for Ubuntu based distros */\nfunction detectUsingOsVersion() {\n // #46~22.04.1-Ubuntu SMP ...\n const osVersion = os.version()\n const versionSplitted = osVersion.split(\".\")\n const majorVersion = parseInt(versionSplitted[0].replace(\"#\", \"\"), 10)\n const minorVersion = parseInt(versionSplitted[1].replace(\"~\", \"\"), 10)\n const patchVersion = parseInt(versionSplitted[2].split(\"-\")[0], 10)\n\n return [majorVersion, minorVersion, patchVersion]\n}\n","\"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\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([{ name: \"ccache\", version }])\n } else if (isUbuntu()) {\n return setupAptPack([{ name: \"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 { 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 { info, notice } from \"ci-log\"\nimport { setupGraphviz } from \"../graphviz/graphviz\"\nimport { getVersion } from \"../versions/versions\"\n\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 { pathExists } from \"path-exists\"\nimport retry from \"retry-as-promised\"\nimport { ubuntuVersion } from \"../utils/env/ubuntu_version\"\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 // try to download the package 4 times with 2 seconds delay\n await retry(\n () => {\n return setupChocoPack(\"doxygen.install\", version)\n },\n { name: \"doxygen.install\", max: 4, backoffBase: 2000, report: (err) => info(err) },\n )\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 = await setupBrewPack(\"doxygen\", undefined)\n await setupGraphviz(getVersion(\"graphviz\", undefined), \"\", arch)\n return installationInfo\n }\n case \"linux\": {\n let installationInfo: InstallationInfo\n if (version === \"\" || isArch() || hasDnf()) {\n if (isArch()) {\n installationInfo = await setupPacmanPack(\"doxygen\", version)\n } else if (hasDnf()) {\n return setupDnfPack([{ name: \"doxygen\", version }])\n } else if (isUbuntu()) {\n installationInfo = await setupAptPack([{ name: \"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([{ name: \"libclang-cpp9\" }])\n } catch (err) {\n notice(`Failed to download doxygen binary. ${err}. Falling back to apt-get.`)\n installationInfo = await setupAptPack([{ name: \"doxygen\" }])\n }\n } else {\n throw new Error(`Unsupported linux distributions`)\n }\n await setupGraphviz(getVersion(\"graphviz\", undefined, await ubuntuVersion()), \"\", 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 // eslint-disable-next-line no-await-in-loop\n if (await pathExists(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 { 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([{ name: \"graphviz\", version }])\n } else if (isUbuntu()) {\n return setupAptPack([{ name: \"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, addEnv } from \"../utils/env/addEnv\"\n\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 { GITHUB_ACTIONS } from \"ci-info\"\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\"\nimport { pathExists } from \"path-exists\"\nimport { ExecaReturnValue } from \"execa\"\n\ninterface MingwInfo {\n releaseName: string\n fileSuffix: string\n}\n\n// https://github.com/brechtsanders/winlibs_mingw/releases\nconst GccToMingwInfo = {\n \"13\": { releaseName: \"13.2.0-16.0.6-11.0.0-ucrt-r1\", fileSuffix: \"13.2.0-mingw-w64ucrt-11.0.0-r1\" },\n \"13.2-ucrt\": { releaseName: \"13.2.0-16.0.6-11.0.0-ucrt-r1\", fileSuffix: \"13.2.0-mingw-w64ucrt-11.0.0-r1\" },\n \"13.2-ucrt-mcf\": { releaseName: \"13.2.0mcf-16.0.6-11.0.1-ucrt-r2\", fileSuffix: \"13.2.0-mingw-w64ucrt-11.0.1-r2\" },\n \"13.2-msvcrt\": { releaseName: \"13.2.0-16.0.6-11.0.1-msvcrt-r1\", fileSuffix: \"13.2.0-mingw-w64msvcrt-11.0.1-r1\" },\n \"13.1-ucrt\": { releaseName: \"13.1.0posix-16.0.3-11.0.0-ucrt-r1\", fileSuffix: \"13.1.0-mingw-w64ucrt-11.0.0-r1\" },\n \"13.1-msvcrt\": { releaseName: \"13.1.0posix-16.0.3-11.0.0-msvcrt-r1\", fileSuffix: \"13.1.0-mingw-w64msvcrt-11.0.0-r1\" },\n \"12\": { releaseName: \"12.3.0-16.0.4-11.0.0-ucrt-r1\", fileSuffix: \"12.3.0-mingw-w64ucrt-11.0.0-r1\" },\n \"12.3.0-ucrt\": { releaseName: \"12.3.0-16.0.4-11.0.0-ucrt-r1\", fileSuffix: \"12.3.0-mingw-w64ucrt-11.0.0-r1\" },\n \"12.3.0-msvcrt\": { releaseName: \"12.3.0-16.0.4-11.0.0-msvcrt-r1\", fileSuffix: \"12.3.0-mingw-w64msvcrt-11.0.0-r1\" },\n \"12.2.0-ucrt\": { releaseName: \"12.2.0-14.0.6-10.0.0-ucrt-r2\", fileSuffix: \"12.2.0-mingw-w64ucrt-10.0.0-r2\" },\n \"12.2.0-msvcrt\": { releaseName: \"12.2.0-14.0.6-10.0.0-msvcrt-r2\", fileSuffix: \"12.2.0-mingw-w64msvcrt-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.5.0-11.0.1-msvcrt-r1\", fileSuffix: \"10.5.0-mingw-w64msvcrt-11.0.1-r1\" },\n \"10.5.0-msvcrt\": { releaseName: \"10.5.0-11.0.1-msvcrt-r1\", fileSuffix: \"10.5.0-mingw-w64msvcrt-11.0.1-r1\" },\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 = await setupBrewPack(\"gcc\", version)\n break\n }\n case \"linux\": {\n if (arch === \"x64\") {\n if (isArch()) {\n installationInfo = await setupPacmanPack(\"gcc\", version)\n } else if (hasDnf()) {\n installationInfo = await setupDnfPack([\n { name: \"gcc\", version },\n { name: \"gcc-c++\", version },\n { name: \"libstdc++-devel\" },\n ])\n } else if (isUbuntu()) {\n installationInfo = await setupAptPack([\n { name: \"gcc\", version, repositories: [\"ppa:ubuntu-toolchain-r/test\"] },\n { name: \"g++\", version, repositories: [\"ppa:ubuntu-toolchain-r/test\"] },\n ])\n }\n } else {\n info(`Install g++-multilib because gcc for ${arch} was requested`)\n if (isArch()) {\n await setupPacmanPack(\"gcc-multilib\", version)\n } else if (isUbuntu()) {\n await setupAptPack([{ name: \"gcc-multilib\", version, repositories: [\"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\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupMingw(version: string, setupDir: string, arch: string) {\n let installationInfo: InstallationInfo | undefined\n switch (process.platform) {\n case \"win32\":\n case \"darwin\": {\n return setupGcc(version, setupDir, arch)\n }\n case \"linux\": {\n if (isArch()) {\n installationInfo = await setupPacmanPack(\"mingw-w64-gcc\", version)\n } else if (hasDnf()) {\n installationInfo = await setupDnfPack([{ name: \"mingw64-gcc\", version }])\n } else if (isUbuntu()) {\n installationInfo = await setupAptPack([\n { name: \"mingw-w64\", version, repositories: [\"ppa:ubuntu-toolchain-r/test\"] },\n ])\n }\n break\n }\n default: {\n throw new Error(`Unsupported platform for ${arch}`)\n }\n }\n if (installationInfo !== undefined) {\n // TODO: setup alternatives and update CC/CXX env. ?\n //Setting up g++-mingw-w64-i686-win32 (10.3.0-14ubuntu1+24.3) ...\n // update-alternatives: using /usr/bin/i686-w64-mingw32-g++-win32 to provide /usr/bin/i686-w64-mingw32-g++ (i686-w64-mingw32-g++) in auto mode\n //Setting up g++-mingw-w64-x86-64-win32 (10.3.0-14ubuntu1+24.3) ...\n // update-alternatives: using /usr/bin/x86_64-w64-mingw32-g++-win32 to provide /usr/bin/x86_64-w64-mingw32-g++ (x86_64-w64-mingw32-g++) in auto mode\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\" && (await pathExists(\"C:/tools/mingw64/bin\"))) {\n binDir = \"C:/tools/mingw64/bin\"\n await addPath(binDir)\n } else if (arch === \"ia32\" && (await pathExists(\"C:/tools/mingw32/bin\"))) {\n binDir = \"C:/tools/mingw32/bin\"\n await addPath(binDir)\n } else if (await pathExists(`${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 promises.push(\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 }\n } else {\n promises.push(addEnv(\"CC\", `${binDir}/gcc-${version}`), addEnv(\"CXX\", `${binDir}/g++-${version}`))\n\n if (isUbuntu()) {\n promises.push(\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\n promises.push(setupMacOSSDK())\n\n if (GITHUB_ACTIONS) {\n await addGccLoggingMatcher()\n }\n\n await Promise.all(promises)\n}\n\nasync function addGccLoggingMatcher() {\n const matcherPath = join(__dirname, \"gcc_matcher.json\")\n if (!(await pathExists(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 { 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 { addEnv } from \"../utils/env/addEnv\"\nimport { setupPipPack } from \"../utils/setup/setupPipPack\"\nimport semverValid from \"semver/functions/valid\"\nimport semverMajor from \"semver/functions/major\"\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\nexport function activateGcovLLVM() {\n return addEnv(\"GCOV\", \"llvm-cov gcov\")\n}\n\nexport function activateGcovGCC(gccVersion: string) {\n const gccSemver = semverValid(gccVersion)\n const gccMajor = gccSemver !== null ? semverMajor(gccSemver) : gccVersion\n const gcov = gccMajor !== \"\" ? `gcov-${gccMajor}` : \"gcov\"\n\n return addEnv(\"GCOV\", gcov)\n}\n","import { execa } from \"execa\"\nimport { join, addExeExt } from \"patha\"\nimport which from \"which\"\nimport { setupCmake } from \"../cmake/cmake\"\nimport { getVersion } from \"../versions/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\"\nimport { ubuntuVersion } from \"../utils/env/ubuntu_version\"\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 await Promise.all([setupPacmanPack(\"libdwarf\"), setupPacmanPack(\"libcurl-openssl\")])\n } else if (hasDnf()) {\n await setupDnfPack([{ name: \"libdwarf-devel\" }, { name: \"libcurl-devel\" }])\n } else if (isUbuntu()) {\n await setupAptPack([{ name: \"libdw-dev\" }, { name: \"libcurl4-openssl-dev\" }])\n }\n }\n\n // apply gcc13.patch\n try {\n if (which.sync(\"patch\", { nothrow: true }) !== null) {\n const patch = join(__dirname, \"gcc13.patch\")\n await execa(\"patch\", [\"-N\", \"-p1\", \"-i\", patch], { cwd: out, stdio: \"inherit\" })\n } else {\n info(\"`patch` not found, skipping gcc13.patch, kcov may not build on gcc 13\")\n }\n } catch {\n // ignore\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(\n getVersion(\"cmake\", undefined, await ubuntuVersion()),\n join(untildifyUser(\"\"), \"cmake\"),\n \"\",\n )\n cmake = join(binDir, \"cmake\")\n }\n const ninja = which.sync(\"ninja\", { nothrow: true })\n if (ninja === null) {\n await setupNinja(getVersion(\"ninja\", undefined, await ubuntuVersion()), 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 await setupPacmanPack(\"binutils\")\n } else if (hasDnf()) {\n await setupDnfPack([{ name: \"binutils\" }])\n } else if (isUbuntu()) {\n await setupAptPack([{ name: \"libbinutils\" }])\n }\n return installationInfo\n } else {\n installationInfo = await setupBin(\"kcov\", version, getBuildKcovPackageInfo, setupDir, arch)\n }\n return installationInfo\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","import { GITHUB_ACTIONS } from \"ci-info\"\nimport { info, warning } from \"ci-log\"\nimport memoize from \"micro-memoize\"\nimport { delimiter } from \"path\"\nimport { pathExists } from \"path-exists\"\nimport { addExeExt, join } from \"patha\"\nimport { setupGcc } from \"../gcc/gcc\"\nimport { setupMacOSSDK } from \"../macos-sdk/macos-sdk\"\nimport { addEnv } from \"../utils/env/addEnv\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\nimport { ubuntuVersion } from \"../utils/env/ubuntu_version\"\nimport { setupAptPack, updateAptAlternatives } from \"../utils/setup/setupAptPack\"\nimport { InstallationInfo, setupBin } from \"../utils/setup/setupBin\"\nimport { semverCoerceIfInvalid } from \"../utils/setup/version\"\nimport { getVersion } from \"../versions/versions\"\nimport { LLVMPackages, setupLLVMApt } from \"./llvm_installer\"\nimport { getLLVMPackageInfo } from \"./llvm_url\"\n\nexport async function setupLLVM(version: string, setupDir: string, arch: string): Promise {\n const installationInfo = await setupLLVMWithoutActivation(version, setupDir, arch)\n await activateLLVM(installationInfo.installDir ?? setupDir)\n return installationInfo\n}\n\nasync function setupLLVMWithoutActivation_raw(version: string, setupDir: string, arch: string) {\n // install LLVM and its dependencies in parallel\n const [installationInfo, _1, _2] = await Promise.all([\n setupLLVMOnly(version, setupDir, arch),\n setupLLVMDeps(arch),\n addLLVMLoggingMatcher(),\n ])\n\n return installationInfo\n}\nconst setupLLVMWithoutActivation = memoize(setupLLVMWithoutActivation_raw, { isPromise: true })\n\n/**\n * Setup clang-format\n *\n * This uses the LLVM installer on Ubuntu, and the LLVM binaries on other platforms\n */\nexport function setupClangFormat(version: string, setupDir: string, arch: string) {\n return setupLLVMOnly(version, setupDir, arch, LLVMPackages.ClangFormat)\n}\n\n/** Setup llvm tools (clang tidy, etc.) without activating llvm and using it as the compiler */\nexport function setupClangTools(version: string, setupDir: string, arch: string) {\n return setupLLVMOnly(version, setupDir, arch)\n}\n\nasync function setupLLVMOnly(\n version: string,\n setupDir: string,\n arch: string,\n packages: LLVMPackages = LLVMPackages.All,\n) {\n const coeredVersion = semverCoerceIfInvalid(version)\n const majorVersion = parseInt(coeredVersion.split(\".\")[0], 10)\n try {\n if (isUbuntu()) {\n return await setupLLVMApt(majorVersion, packages)\n }\n } catch (err) {\n info(`Failed to install llvm via system package manager ${err}`)\n }\n\n const installationInfo = await setupBin(\"llvm\", version, getLLVMPackageInfo, setupDir, arch)\n await llvmBinaryDeps(majorVersion)\n return installationInfo\n}\n\nasync function llvmBinaryDeps_raw(majorVersion: number) {\n if (isUbuntu()) {\n if (majorVersion <= 10) {\n await setupAptPack([{ name: \"libtinfo5\" }])\n } else {\n await setupAptPack([{ name: \"libtinfo-dev\" }])\n }\n }\n}\nconst llvmBinaryDeps = memoize(llvmBinaryDeps_raw, { isPromise: true })\n\nasync function setupLLVMDeps_raw(arch: string) {\n if (process.platform === \"linux\") {\n // using llvm requires ld, an up to date libstdc++, etc. So, install gcc first\n await setupGcc(getVersion(\"gcc\", undefined, await ubuntuVersion()), \"\", arch)\n }\n}\nconst setupLLVMDeps = memoize(setupLLVMDeps_raw, { isPromise: true })\n\nexport async function activateLLVM(directory: string) {\n const ld = process.env.LD_LIBRARY_PATH ?? \"\"\n const dyld = process.env.DYLD_LIBRARY_PATH ?? \"\"\n\n const actPromises: Promise[] = [\n // the output of this action\n addEnv(\"LLVM_PATH\", directory),\n\n // Setup LLVM as the compiler\n addEnv(\"LD_LIBRARY_PATH\", `${directory}/lib${delimiter}${ld}`),\n addEnv(\"DYLD_LIBRARY_PATH\", `${directory}/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 // TODO Causes issues with clangd\n // TODO Windows builds fail with llvm's CPATH\n // if (process.platform !== \"win32\") {\n // if (await pathExists(`${directory}/lib/clang/${version}/include`)) {\n // promises.push(addEnv(\"CPATH\", `${directory}/lib/clang/${version}/include`))\n // } else if (await pathExists(`${directory}/lib/clang/${llvmMajor}/include`)) {\n // promises.push(addEnv(\"CPATH\", `${directory}/lib/clang/${llvmMajor}/include`))\n // }\n // }\n\n if (isUbuntu()) {\n actPromises.push(\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\n await Promise.all(actPromises)\n}\n\nasync function addLLVMLoggingMatcher() {\n if (GITHUB_ACTIONS) {\n const matcherPath = join(__dirname, \"llvm_matcher.json\")\n if (!(await pathExists(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}\n","import { execRoot } from \"admina\"\nimport { execa } from \"execa\"\nimport { addPath } from \"../utils/env/addEnv\"\nimport { hasNala, isPackageInstalled, setupAptPack } from \"../utils/setup/setupAptPack\"\nimport { InstallationInfo } from \"../utils/setup/setupBin\"\nimport { promises } from \"fs\"\nimport { info } from \"console\"\nimport { DEFAULT_TIMEOUT } from \"../installTool\"\nconst { readFile, writeFile, chmod } = promises\n\nexport enum LLVMPackages {\n All,\n ClangFormat,\n Core,\n}\n\nexport async function setupLLVMApt(\n majorVersion: number,\n packages: LLVMPackages = LLVMPackages.All,\n): Promise {\n // TODO for older versions, this also includes the minor version\n const installationFolder = `/usr/lib/llvm-${majorVersion}`\n\n await setupAptPack([{ name: \"curl\" }])\n await execa(\"curl\", [\"-LJO\", \"https://apt.llvm.org/llvm.sh\"], { cwd: \"/tmp\" })\n const neededPackages = await patchAptLLVMScript(\"/tmp/llvm.sh\", \"/tmp/llvm-setup-cpp.sh\", majorVersion, packages)\n await setupAptPack(neededPackages)\n await chmod(\"/tmp/llvm-setup-cpp.sh\", \"755\")\n await execRoot(\n \"bash\",\n [\"/tmp/llvm-setup-cpp.sh\", `${majorVersion}`, ...(packages === LLVMPackages.All ? [\"all\"] : [])],\n {\n stdio: \"inherit\",\n shell: true,\n timeout: DEFAULT_TIMEOUT,\n },\n )\n\n await addPath(`${installationFolder}/bin`)\n\n return {\n installDir: `${installationFolder}`,\n binDir: `${installationFolder}/bin`,\n bin: `${installationFolder}/bin/clang++`,\n }\n}\n\nasync function patchAptLLVMScript(path: string, target_path: string, majorVersion: number, packages: LLVMPackages) {\n let script = await readFile(path, \"utf-8\")\n\n script = debugScript(script)\n script = nonInteractiveScript(script)\n script = choosePackages(packages, script, majorVersion)\n script = await removeConflictingPackages(script)\n script = useNalaScript(script)\n\n await writeFile(target_path, script)\n\n // the packages needed by the script\n return [{ name: \"lsb-release\" }, { name: \"wget\" }, { name: \"software-properties-common\" }, { name: \"gnupg\" }]\n}\n\nfunction debugScript(script: string) {\n if (!process.env.NODE_DEBUG) {\n return script.replace(/set -eux/g, \"set -eu\")\n }\n return script\n}\n\nfunction nonInteractiveScript(script: string) {\n // make the scirpt non-interactive and fix broken packages\n return script.replace(\n /add-apt-repository \"\\${REPO_NAME}\"/g,\n // eslint-disable-next-line no-template-curly-in-string\n 'add-apt-repository -y \"${REPO_NAME}\"',\n )\n}\n\nasync function removeConflictingPackages(givenScript: string) {\n // fix conflicts between libclang-rt and libclang\n let script = givenScript.replace(\n /apt-get install -y/g,\n 'apt-get install -o Dpkg::Options::=\"--force-overwrite\" -y --fix-broken',\n )\n\n // check if these are installed and if so, remove them from the script as they conflict\n const conflictingPackages = [\"libc++-$LLVM_VERSION-dev\", \"libc++abi-$LLVM_VERSION-dev\", \"libunwind-$LLVM_VERSION-dev\"]\n await Promise.all(\n conflictingPackages.map(async (pack) => {\n const installingPack = pack.replace(\"$LLVM_VERSION\", \"*\")\n if (await isPackageInstalled(installingPack)) {\n info(`Removing conflicting package ${installingPack}`)\n script = script.replace(pack, \"\")\n }\n }),\n )\n return script\n}\n\nfunction useNalaScript(script: string) {\n // use nala if it is available\n if (hasNala()) {\n return script.replace(/apt-get/g, \"nala\")\n }\n return script\n}\n\nfunction choosePackages(packages: LLVMPackages, script: string, majorVersion: number) {\n if (packages === LLVMPackages.ClangFormat) {\n return script.replace(/ -y \\$PKG/g, ` -y clang-format-${majorVersion}`)\n }\n return script\n}\n","import { endGroup, startGroup } from \"@actions/core\"\nimport { error } from \"ci-log\"\nimport { join } from \"patha\"\nimport { getSuccessMessage } from \"./cli-options\"\nimport { InstallationInfo } from \"./utils/setup/setupBin\"\nimport { setupVCVarsall } from \"./vcvarsall/vcvarsall\"\nimport { getVersion } from \"./versions/versions\"\nimport pTimeout from \"p-timeout\"\nimport { ToolName, setups } from \"./tool\"\n\nexport const DEFAULT_TIMEOUT = 20 * 60 * 1000 // 20 minutes\n\nexport async function installTool(\n tool: ToolName,\n version: string,\n osVersion: number[] | null,\n arch: string,\n setupCppDir: string,\n successMessages: string[],\n errorMessages: string[],\n timeout: number = DEFAULT_TIMEOUT,\n) {\n startGroup(`Installing ${tool} ${version}`)\n let hasLLVM = false\n try {\n hasLLVM = await pTimeout(installToolImpl(tool, version, osVersion, arch, hasLLVM, setupCppDir, successMessages), {\n milliseconds: timeout,\n message: `Timeout while installing ${tool} ${version}. You can increase the timeout from options`,\n })\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 return hasLLVM\n}\n\nasync function installToolImpl(\n tool: ToolName,\n version: string,\n osVersion: number[] | null,\n arch: string,\n hasLLVM: boolean,\n setupCppDir: string,\n successMessages: string[],\n) {\n let installationInfo: InstallationInfo | undefined | void\n if (tool === \"vcvarsall\") {\n // eslint-disable-next-line no-await-in-loop\n await setupVCVarsall(getVersion(tool, version, osVersion), undefined, arch, undefined, undefined, false, false)\n } else {\n // get the setup function\n const setupFunction = setups[tool]\n\n // eslint-disable-next-line no-param-reassign\n hasLLVM = [\"llvm\", \"clangformat\", \"clangtidy\"].includes(tool)\n\n // the tool installation directory (for the functions that ue it)\n const setupDir = join(setupCppDir, hasLLVM ? \"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 return hasLLVM\n}\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\"\nimport { pathExists } from \"path-exists\"\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 && (await pathExists(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","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', 'BuildTools']\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\n","export class TimeoutError extends Error {\n\tconstructor(message) {\n\t\tsuper(message);\n\t\tthis.name = 'TimeoutError';\n\t}\n}\n\n/**\nAn error to be thrown when the request is aborted by AbortController.\nDOMException is thrown instead of this Error when DOMException is available.\n*/\nexport class AbortError extends Error {\n\tconstructor(message) {\n\t\tsuper();\n\t\tthis.name = 'AbortError';\n\t\tthis.message = message;\n\t}\n}\n\n/**\nTODO: Remove AbortError and just throw DOMException when targeting Node 18.\n*/\nconst getDOMException = errorMessage => globalThis.DOMException === undefined\n\t? new AbortError(errorMessage)\n\t: new DOMException(errorMessage);\n\n/**\nTODO: Remove below function and just 'reject(signal.reason)' when targeting Node 18.\n*/\nconst getAbortedReason = signal => {\n\tconst reason = signal.reason === undefined\n\t\t? getDOMException('This operation was aborted.')\n\t\t: signal.reason;\n\n\treturn reason instanceof Error ? reason : getDOMException(reason);\n};\n\nexport default function pTimeout(promise, options) {\n\tconst {\n\t\tmilliseconds,\n\t\tfallback,\n\t\tmessage,\n\t\tcustomTimers = {setTimeout, clearTimeout},\n\t} = options;\n\n\tlet timer;\n\n\tconst wrappedPromise = new Promise((resolve, reject) => {\n\t\tif (typeof milliseconds !== 'number' || Math.sign(milliseconds) !== 1) {\n\t\t\tthrow new TypeError(`Expected \\`milliseconds\\` to be a positive number, got \\`${milliseconds}\\``);\n\t\t}\n\n\t\tif (options.signal) {\n\t\t\tconst {signal} = options;\n\t\t\tif (signal.aborted) {\n\t\t\t\treject(getAbortedReason(signal));\n\t\t\t}\n\n\t\t\tsignal.addEventListener('abort', () => {\n\t\t\t\treject(getAbortedReason(signal));\n\t\t\t});\n\t\t}\n\n\t\tif (milliseconds === Number.POSITIVE_INFINITY) {\n\t\t\tpromise.then(resolve, reject);\n\t\t\treturn;\n\t\t}\n\n\t\t// We create the error outside of `setTimeout` to preserve the stack trace.\n\t\tconst timeoutError = new TimeoutError();\n\n\t\ttimer = customTimers.setTimeout.call(undefined, () => {\n\t\t\tif (fallback) {\n\t\t\t\ttry {\n\t\t\t\t\tresolve(fallback());\n\t\t\t\t} catch (error) {\n\t\t\t\t\treject(error);\n\t\t\t\t}\n\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tif (typeof promise.cancel === 'function') {\n\t\t\t\tpromise.cancel();\n\t\t\t}\n\n\t\t\tif (message === false) {\n\t\t\t\tresolve();\n\t\t\t} else if (message instanceof Error) {\n\t\t\t\treject(message);\n\t\t\t} else {\n\t\t\t\ttimeoutError.message = message ?? `Promise timed out after ${milliseconds} milliseconds`;\n\t\t\t\treject(timeoutError);\n\t\t\t}\n\t\t}, milliseconds);\n\n\t\t(async () => {\n\t\t\ttry {\n\t\t\t\tresolve(await promise);\n\t\t\t} catch (error) {\n\t\t\t\treject(error);\n\t\t\t}\n\t\t})();\n\t});\n\n\tconst cancelablePromise = wrappedPromise.finally(() => {\n\t\tcancelablePromise.clear();\n\t});\n\n\tcancelablePromise.clear = () => {\n\t\tcustomTimers.clearTimeout.call(undefined, timer);\n\t\ttimer = undefined;\n\t};\n\n\treturn cancelablePromise;\n}\n","import semverLte from \"semver/functions/lte\"\nimport { isUrlOnline } from \"is-url-online\"\nimport { getSpecificVersionAndUrl, getSpecificVersions, getVersions } from \"../utils/setup/version\"\nimport { info, warning } from \"ci-log\"\nimport { PackageInfo } from \"../utils/setup/setupBin\"\nimport { addExeExt } from \"patha\"\nimport { extractExe, extractTarByExe } from \"../utils/setup/extract\"\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 \"15.0.0\",\n \"15.0.1\",\n \"15.0.2\",\n \"15.0.3\",\n \"15.0.4\",\n \"15.0.5\",\n \"15.0.6\",\n \"15.0.7\",\n \"16.0.0\",\n \"16.0.1\",\n \"16.0.2\",\n \"16.0.3\",\n \"16.0.4\",\n \"16.0.5\",\n \"16.0.6\",\n \"17.0.1\",\n \"17.0.2\",\n \"17.0.3\",\n \"17.0.4\",\n \"17.0.5\",\n])\n\n/** The LLVM versions that were never released for the Windows platform. */\nconst WIN32_MISSING: Set = new Set([\"10.0.1\", \"15.0.5\", \"15.0.6\", \"17.0.5\"])\n\n/** The LLVM versions that were never released for the Darwin platform. */\nconst DARWIN_MISSING = 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 // missing x86_64\n // TODO add arm64 support\n \"15.0.4\",\n \"15.0.5\",\n \"15.0.6\",\n \"16.0.0\",\n \"16.0.1\",\n \"16.0.2\",\n \"16.0.3\",\n \"16.0.4\",\n \"16.0.5\",\n \"16.0.6\",\n \"17.0.1\",\n \"17.0.2\",\n \"17.0.3\",\n \"17.0.4\",\n \"17.0.5\",\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 \"15.0.2\": \"-rhel86\",\n \"15.0.5\": \"-ubuntu-18.04\",\n \"15.0.6\": \"-ubuntu-18.04\",\n \"16.0.0\": \"-ubuntu-18.04\",\n \"16.0.2\": \"-ubuntu-22.04\",\n \"16.0.3\": \"-ubuntu-22.04\",\n \"16.0.4\": \"-ubuntu-22.04\",\n \"17.0.2\": \"-ubuntu-22.04\",\n \"17.0.4\": \"-ubuntu-22.04\",\n \"17.0.5\": \"-ubuntu-22.04\",\n}\n\n/** The latest supported LLVM version for the Linux (Ubuntu) platform. */\nconst MAX_UBUNTU: string = \"17.0.5\"\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/** 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/** 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 linuxVersion: 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 linuxVersion = version.replace(givenUbuntuVersion, \"\")\n version = getSpecificVersions(VERSIONS, givenUbuntuVersion)[0]\n } else if (version !== \"\" && version in UBUNTU_SUFFIX_MAP) {\n linuxVersion = UBUNTU_SUFFIX_MAP[version]\n } else {\n // default to the maximum version\n linuxVersion = UBUNTU_SUFFIX_MAP[MAX_UBUNTU]\n warning(`Falling back to LLVM version ${MAX_UBUNTU} ${linuxVersion} for the Ubuntu.`)\n }\n\n const prefix = \"clang+llvm-\"\n\n let suffix: string\n if (version === \"5.0.0\") {\n suffix = `-linux-x86_64${linuxVersion}.tar.xz`\n } else if (linuxVersion.includes(\"-rhel86\")) {\n suffix = `-x86_64-unknown-linux-gnu${linuxVersion}.tar.xz`\n } else {\n suffix = `-x86_64-linux-gnu${linuxVersion}.tar.xz`\n }\n\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/** 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\nexport async function getLLVMPackageInfo(\n version: string,\n platform: NodeJS.Platform,\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n _arch: string,\n): Promise {\n const [specificVersion, url] = await getSpecificVersionAndUrl(VERSIONS, platform, version, getUrl)\n info(`specific llvm 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","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 await 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([{ name: \"make\", version }])\n } else if (isUbuntu()) {\n return setupAptPack([{ name: \"make\", version }])\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 function setupMeson(version: string | undefined, _setupDir: string, _arch: string) {\n return setupPipPack(\"meson\", version)\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 { GITHUB_ACTIONS } from \"ci-info\"\nimport { join } from \"patha\"\n\nimport { error, info, warning } from \"ci-log\"\nimport { pathExists } from \"path-exists\"\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 (GITHUB_ACTIONS) {\n await addMSVCLoggingMatcher()\n }\n}\n\nasync function addMSVCLoggingMatcher() {\n const matcherPath = join(__dirname, \"msvc_matcher.json\")\n if (!(await pathExists(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 { dirname } from \"patha\"\nimport which from \"which\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\nimport { execRootSync } from \"admina\"\nimport { addAptKeyViaDownload, hasNala, 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([{ name: \"nala\" }], true)\n } else {\n await setupAptPack([{ name: \"nala-legacy\" }], true)\n }\n } catch (err) {\n await setupAptPack([{ name: \"nala-legacy\" }], true)\n }\n\n binDir = \"/usr/bin\" // eslint-disable-line require-atomic-updates\n\n return { binDir }\n}\n\nexport function bashWithNala(script: string) {\n if (hasNala()) {\n return `apt-get() { nala $@; }; export -f apt-get; ${script}; unset -f apt-get`\n }\n return script\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 \"admina\"\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([{ name: \"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([{ name: \"powershell\", version }])\n } else if (isUbuntu()) {\n await setupAptPack([{ name: \"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([{ name: \"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 { setupBrewPack } from \"../utils/setup/setupBrewPack\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport function setupSccache(version: string, _setupDir: string, _arch: string) {\n switch (process.platform) {\n case \"win32\": {\n return setupChocoPack(\"sccache\", version)\n }\n case \"linux\":\n case \"darwin\": {\n return setupBrewPack(\"sccache\", version)\n }\n default: {\n throw new Error(`Unsupported platform`)\n }\n }\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 { execaSync } from \"execa\"\nimport { notice } from \"ci-log\"\nimport { pathExists } from \"path-exists\"\nimport { addShExt, addShRelativePrefix, dirname, join } from \"patha\"\nimport { grantUserWriteAccess } from \"admina\"\nimport which from \"which\"\nimport { addPath } from \"../utils/env/addEnv\"\nimport { hasDnf } from \"../utils/env/hasDnf\"\nimport { isArch } from \"../utils/env/isArch\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\nimport { setupAptPack } from \"../utils/setup/setupAptPack\"\nimport { InstallationInfo } from \"../utils/setup/setupBin\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack\"\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 await Promise.all([\n setupPacmanPack(\"curl\"),\n setupPacmanPack(\"zip\"),\n setupPacmanPack(\"unzip\"),\n setupPacmanPack(\"tar\"),\n setupPacmanPack(\"git\"),\n setupPacmanPack(\"pkg-config\"),\n ])\n } else if (hasDnf()) {\n await setupDnfPack([\n { name: \"curl\" },\n { name: \"zip\" },\n { name: \"unzip\" },\n { name: \"tar\" },\n { name: \"git\" },\n { name: \"pkg-config\" },\n ])\n } else if (isUbuntu()) {\n await setupAptPack([\n { name: \"curl\" },\n { name: \"zip\" },\n { name: \"unzip\" },\n { name: \"tar\" },\n { name: \"git\" },\n { name: \"pkg-config\" },\n ])\n }\n }\n\n if (!(await pathExists(join(setupDir, addShExt(\"bootstrap-vcpkg\", \".bat\"))))) {\n execaSync(\"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 execaSync(addShExt(addShRelativePrefix(\"bootstrap-vcpkg\"), \".bat\"), {\n cwd: setupDir,\n shell: true,\n stdio: \"inherit\",\n })\n\n await grantUserWriteAccess(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 { endGroup, notice, startGroup } from \"@actions/core\"\nimport { error, info } from \"ci-log\"\nimport { join } from \"path\"\nimport semverValid from \"semver/functions/valid\"\nimport { getSuccessMessage } from \"./cli-options\"\nimport { setupGcc, setupMingw } from \"./gcc/gcc\"\nimport { activateGcovGCC, activateGcovLLVM } from \"./gcovr/gcovr\"\nimport { setupLLVM } from \"./llvm/llvm\"\nimport { setupMSVC } from \"./msvc/msvc\"\nimport { addEnv } from \"./utils/env/addEnv\"\nimport { getVersion } from \"./versions/versions\"\n\n/** Detecting the compiler version. Divide the given string by `-` and use the second element as the version */\nexport function getCompilerInfo(compilerAndVersion: string) {\n const compilerAndMaybeVersion = compilerAndVersion.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\n/** Installing the specified compiler */\nexport async function installCompiler(\n compilerAndVersion: string,\n osVersion: number[] | null,\n setupCppDir: string,\n arch: string,\n successMessages: string[],\n hasLLVM: boolean,\n errorMessages: string[],\n) {\n try {\n const { compiler, version } = getCompilerInfo(compilerAndVersion)\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\n await activateGcovLLVM()\n\n successMessages.push(getSuccessMessage(\"llvm\", installationInfo))\n break\n }\n case \"gcc\":\n case \"mingw\":\n case \"cygwin\":\n case \"msys\": {\n const gccVersion =\n compiler === \"mingw\" ? getVersion(\"mingw\", version, osVersion) : getVersion(\"gcc\", version, osVersion)\n const installationInfo =\n compiler === \"mingw\"\n ? await setupMingw(gccVersion, join(setupCppDir, \"gcc\"), arch)\n : await setupGcc(gccVersion, join(setupCppDir, \"gcc\"), arch)\n\n if (hasLLVM) {\n // remove back the added CPPFLAGS of LLVM that include the LLVM headers\n await addEnv(\"CPPFLAGS\", \"\")\n }\n\n await activateGcovGCC(gccVersion)\n\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\n if (hasLLVM) {\n // remove the CPPFLAGS of LLVM that include the LLVM headers\n await addEnv(\"CPPFLAGS\", \"\")\n }\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 } catch (err) {\n error(err as string | Error)\n errorMessages.push(`Failed to install the ${compilerAndVersion}`)\n }\n\n endGroup()\n}\n"],"mappings":";G8KII,CAAAA,CAAA,CiCMAC,CAAA,CEFAC,CAAA,CcAAC,CAAA,CkCFAC,CAAA,C/CJAC,CAAA,CCAAC,CAAA,CEAAC,CAAA,C,8IxFSJ,QAAS,CAAAC,EAAOR,CAAI,CAAEC,CAAO,CAAEC,CAAE,EAM/B,GALuB,YAAnB,MAAO,CAAAD,CAAA,GACTC,CAAA,CAAKD,CAAA,CACLA,CAAA,CAAU,CAAC,GAGT,CAACC,CAAA,CAAI,CACP,GAAI,UAAmB,EAAnB,MAAO,CAAAO,OAAA,CACT,KAAM,CAAAC,SAAI,CAAU,yBAGtB,MAAO,IAAI,CAAAD,OAAA,CAAQ,SAAUP,CAAO,CAAEC,CAAM,EAC1CK,CAAA,CAAMR,CAAA,CAAMC,CAAA,EAAW,CAAC,EAAG,SAAUD,CAAE,CAAEC,CAAE,EACrCD,CAAA,CACFG,CAAA,CAAOH,CAAA,EAEPE,CAAA,CAAQD,CAAA,CAEZ,GACF,GACF,EAEAU,EAAA,CAAKX,CAAA,CAAMC,CAAA,EAAW,CAAC,EAAG,SAAUD,CAAE,CAAEG,CAAE,EAEpCH,CAAA,GACE,QAAY,GAAZA,CAAA,CAAGY,IAAA,EAAqBX,CAAA,EAAWA,CAAA,CAAQY,YAAA,IAC7Cb,CAAA,CAAK,KACLG,CAAA,CAAK,IAGTD,CAAA,CAAGF,CAAA,CAAIG,CAAA,CACT,GACF,EIrCA,QAAS,CAAAW,EAAsBd,CAAM,CAAEC,CAAc,KAiB7C,CAAAC,CAAA,CAhBJ,GAAM,CAAAC,CAAA,CAAMH,CAAA,CAAOe,OAAA,CAAQC,GAAA,EAAOC,OAAA,CAAQD,GAA1C,CACMZ,CAAA,CAAMa,OAAA,CAAQC,GAApB,GACMb,CAAA,CAAe,IAAs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AA,CAAQ+I,QAAA,CAAWhK,CACrB,IACCgV,KAAA,CAAMhV,CAAC,GACN,GAAAwG,EAAA,CAAAsC,KAAI,EAAE,oBACN,GAAAtC,EAAA,CAAAsC,KAAI,EAAE9I,CAAA,EACNiB,OAAA,CAAQ+I,QAAA,CAAW,CACrB"} \ No newline at end of file +{"version":3,"file":"setup-cpp.js","names":["e","t","r","n","i","o","s","a","c","Promise","TypeError","rk","code","ignoreErrors","p","options","env","process","cwd","chdir","disabled","rL","sync","command","path","rU","pathExt","nz","delimiter","resolve","d","Object","assign","Error","errno","syscall","spawnargs","args","f","iM","file","original","h","rP","t9","spawn","rG","hookChildProcess","m","charCodeAt","length","slice","v","platform","keys","reverse","find","toUpperCase","g","u","ro","execPath","URL","rs","fileURLToPath","rn","l","push","join","E","pipe","y","writable","_write","_writableState","w","maxBuffer","rW","getBufferedLength","rX","MAX_LENGTH","bufferedData","getBufferedValue","oC","on","o$","x","o3","oX","oz","o2","oS","ri","ChildProcess","oB","reject","i5","error","stdout","stderr","all","escapedCommand","parsed","timedOut","isCanceled","killed","oH","oI","oR","kill","ov","bind","cancel","ox","rB","exitCode","signal","oF","o6","aborted","failed","oD","ok","oA","b","oN","spawnSync","input","status","I","getuid","call","CI","rS","nothrow","S","o9","oW","O","T","R","map","A","SUDO_USER","nW","statSync","isDirectory","C","nJ","replace","$","next","throw","done","value","then","apply","_","return","label","ops","pop","trys","sent","Symbol","iterator","P","rJ","pkg","ni","ry","warning","message","stack","N","Array","isArray","L","sH","sP","sN","sG","sd","sA","se","sC","sp","sf","si","su","sR","sq","sx","sb","sv","D","stdio","k","sY","ns","na","shouldEscapeSpace","rE","GITHUB_ACTIONS","shouldAddOnlyIfNotDefined","no","info","exportVariable","j","setFailed","U","sQ","some","test","PATH","split","includes","addPath","F","M","appendFileSync","sJ","sZ","nl","pathExists","readFileSync","G","Set","writeFileSync","B","V","name","version","DEBIAN_FRONTEND","s1","X","s2","z","flatMap","repositories","q","s4","binDir","H","nu","default","trim","K","W","Y","Q","toString","s0","J","startsWith","Z","np","dirname","nX","tmpdir","nd","mkdirP","NONINTERACTIVE","ee","et","s3","arch","er","SystemRoot","ALLUSERSPROFILE","ChocolateyInstall","en","s6","TMP","TEMP","Path","extendEnv","ei","eo","es","ea","el","eu","ec","s8","s5","ep","matchAll","s9","ed","an","ai","eE","at","existsSync","readdirSync","ev","ef","ey","au","ae","eh","as","clean","s7","debug","rmRF","em","valid","eg","sort","gt","satisfies","RUNNER_TOOL_CACHE","t6","RUNNER_TEMP","ew","rf","ex","$current","max","timeout","match","backoffBase","backoffExponent","report","Date","toLocaleTimeString","setTimeout","clearTimeout","ah","current","catch","RegExp","Math","pow","eb","url","binRelativeDir","binFileName","extractedFolderName","extractFunction","nf","installDir","nA","downloadTool","am","cacheDir","eI","eS","eR","eO","eT","eA","eC","nT","nO","addExeExt","extractTar","e$","e_","n$","eP","eN","eL","isMemoized","fn","isEqual","isMatchingKey","isPromise","maxSize","onCacheAdd","onCacheChange","onCacheHit","transformKey","nC","n_","values","canTransformKey","shouldCloneArguments","shouldUpdateOnAdd","shouldUpdateOnChange","shouldUpdateOnHit","arguments","getKeyIndex","orderByLru","updateAsyncCache","cache","eD","nQ","request","method","statusCode","end","ek","from","filter","nL","localeCompare","eU","nN","has","JSON","stringify","ej","av","nw","getExecOutput","console","eF","eM","eG","eq","bin","eW","eB","eH","e5","e8","upgrade","usePipx","isLibrary","eX","setupActionsPython","rv","eV","ez","aE","python","eK","eQ","eY","pip","eJ","tt","eZ","e0","e1","ay","parseInt","ag","e2","execFile","encoding","shell","e4","e3","nk","getUbuntuVersion","e6","ab","user","e7","aw","te","e9","ax","findIndex","tr","tn","ti","to","ts","ta","tl","notice","tu","tc","aI","releaseName","fileSuffix","tp","tf","th","td","nU","tm","nj","tv","tg","tE","ty","tw","tx","nF","tb","tI","aA","tS","execSync","entries","aT","aR","aO","aS","tR","nB","tO","aL","startGroup","milliseconds","fallback","customTimers","sign","aN","addEventListener","Number","POSITIVE_INFINITY","a$","finally","clear","tT","endGroup","aW","tJ","tA","tC","aU","aD","NODE_DEBUG","t$","ak","rd","t_","tP","tN","aF","tL","aM","aG","get","aj","aB","aH","tD","tk","aq","tG","tU","tj","aX","tB","nH","All","nD","aV","tF","tM","LD_LIBRARY_PATH","DYLD_LIBRARY_PATH","nq","tH","tq","nM","nG","tV","nV","tX","tz","tW","tK","tY","tQ","az","addShExt","addShRelativePrefix","tZ","compiler","t0","ACTIONS_ALLOW_UNSECURE_COMMANDS","alias","unknown","string","boolean","concat","splice","substring","indexOf","repeat","shift","aY","fromEntries","getInput","toLowerCase","help","table","tools","documentation","coverage","other","architecture","SETUP_CPP_DIR","rb","create","autoloadLocales","addLocale","rI","rw","rx","forEach","cppcheck","gcovr","aK","isCI","now","parseFloat","format","success","t1","t2","rT","rA","rC","r$","rq","rz","rK","rQ","r0","r1","r2","r4","r3","r6","r8","r5","r9","r7","ne","nt","nr","nn","nP","any","every","defineProperty","exports","constant","isPR","pr","BUILD_ID","BUILD_NUMBER","CI_APP_ID","CI_BUILD_ID","CI_BUILD_NUMBER","CI_NAME","CONTINUOUS_INTEGRATION","RUN_ID","parse","log","required","trimWhitespace","issueCommand","toCommandProperties","issue","ExitCode","Success","Failure","toCommandValue","GITHUB_ENV","issueFileCommand","prepareKeyValueMessage","setSecret","GITHUB_PATH","getMultilineInput","getBooleanInput","setOutput","GITHUB_OUTPUT","write","EOL","setCommandEcho","isDebug","RUNNER_DEBUG","group","saveState","GITHUB_STATE","getState","getIDToken","OidcClient","enumerable","summary","markdownSummary","toPosixPath","toWin32Path","toPlatformPath","constructor","properties","hasOwnProperty","String","title","line","startLine","endLine","col","startColumn","endColumn","random","rng","nK","randomFillSync","Uint8Array","substr","createHttpClient","HttpClient","BearerCredentialHandler","getRequestToken","allowRetries","maxRetries","ACTIONS_ID_TOKEN_REQUEST_TOKEN","getIDTokenUrl","ACTIONS_ID_TOKEN_REQUEST_URL","getCall","getJson","result","encodeURIComponent","nY","HttpCodes","OK","MultipleChoices","MovedPermanently","ResourceMoved","SeeOther","NotModified","UseProxy","SwitchProxy","TemporaryRedirect","PermanentRedirect","BadRequest","Unauthorized","PaymentRequired","Forbidden","NotFound","MethodNotAllowed","NotAcceptable","ProxyAuthenticationRequired","RequestTimeout","Conflict","Gone","TooManyRequests","InternalServerError","NotImplemented","BadGateway","ServiceUnavailable","GatewayTimeout","Headers","Accept","ContentType","MediaTypes","ApplicationJson","getProxyUrl","href","setPrototypeOf","prototype","HttpClientError","readBody","Buffer","alloc","HttpClientResponse","isHttps","protocol","_ignoreSslError","_allowRedirects","_allowRedirectDowngrade","_maxRedirects","_allowRetries","_maxRetries","_keepAlive","_disposed","userAgent","handlers","requestOptions","ignoreSslError","_socketTimeout","socketTimeout","allowRedirects","allowRedirectDowngrade","maxRedirects","keepAlive","del","post","patch","put","head","sendStream","_getExistingOrDefaultHeader","_processResponse","postJson","putJson","patchJson","_prepareRequest","requestRaw","canHandleAuthentication","handleAuthentication","headers","location","hostname","_performExponentialBackoff","dispose","_agent","destroy","requestRawWithCallback","byteLength","httpModule","getAgent","_getAgent","parsedUrl","host","port","pathname","search","_mergeHeaders","agent","prepareRequest","_proxyAgent","maxSockets","globalAgent","proxy","username","password","proxyAuth","httpsOverHttps","httpsOverHttp","httpOverHttps","httpOverHttp","Agent","rejectUnauthorized","min","deserializeDates","isNaN","valueOf","reduce","no_proxy","NO_PROXY","endsWith","https_proxy","HTTPS_PROXY","http_proxy","HTTP_PROXY","checkBypass","proxyOptions","defaultMaxSockets","requests","sockets","onSocket","removeSocket","createSocket","getHeader","socket","servername","t4","connect","localAddress","defaultPort","t8","inherits","t3","EventEmitter","addRequest","emit","removeListener","removeAllListeners","useChunkedEncodingByDefault","once","nextTick","unshift","BasicCredentialHandler","Authorization","token","PersonalAccessTokenCredentialHandler","access","appendFile","writeFile","promises","SUMMARY_ENV_VAR","SUMMARY_DOCS_URL","_buffer","filePath","_filePath","constants","R_OK","W_OK","wrap","overwrite","emptyBuffer","isEmptyBuffer","addRaw","addEOL","addCodeBlock","lang","addList","addTable","header","data","colspan","rowspan","addDetails","addImage","width","height","src","alt","addHeading","addSeparator","addBreak","addQuote","cite","addLink","sep","require","pluralize","numerous","id","locale","span","unitType","unitTypeLookupOrder","autoload","floor","defaultConfig","versions","node","isSymbolicLink","isFile","PATHEXT","stat","mode","uid","gid","getgid","inc","diff","major","minor","prerelease","compare","rcompare","compareLoose","compareBuild","rsort","lt","neq","gte","lte","cmp","coerce","Comparator","Range","toComparators","maxSatisfying","minSatisfying","minVersion","validRange","outside","gtr","ltr","intersects","simplifyRange","subset","SemVer","re","tokens","SEMVER_SPEC_VERSION","RELEASE_TYPES","compareIdentifiers","rcompareIdentifiers","MAX_SAFE_COMPONENT_LENGTH","MAX_SAFE_BUILD_LENGTH","safeRe","NUMERICIDENTIFIER","NUMERICIDENTIFIERLOOSE","NONNUMERICIDENTIFIER","PRERELEASEIDENTIFIER","PRERELEASEIDENTIFIERLOOSE","BUILDIDENTIFIER","MAINVERSION","PRERELEASE","BUILD","FULLPLAIN","MAINVERSIONLOOSE","PRERELEASELOOSE","LOOSEPLAIN","XRANGEIDENTIFIER","XRANGEIDENTIFIERLOOSE","GTLT","XRANGEPLAIN","XRANGEPLAINLOOSE","COERCE","LONETILDE","tildeTrimReplace","LONECARET","caretTrimReplace","comparatorTrimReplace","MAX_SAFE_INTEGER","FLAG_INCLUDE_PRERELEASE","FLAG_LOOSE","loose","includePrerelease","LOOSE","FULL","raw","build","compareMain","comparePre","freeze","rtl","COERCERTL","exec","index","lastIndex","ANY","semver","operator","COMPARATORLOOSE","COMPARATOR","set","parseRange","range","HYPHENRANGELOOSE","HYPHENRANGE","COMPARATORTRIM","TILDETRIM","CARETTRIM","Map","size","delete","TILDELOOSE","TILDE","CARETLOOSE","CARET","XRANGELOOSE","XRANGE","STAR","GTE0PRE","GTE0","unshiftNode","maxAge","tail","prev","key","removeNode","stale","noDisposeOnSet","updateAgeOnGet","reset","allowStale","lengthCalculator","itemCount","rforEach","toArray","dump","dumpLru","peek","load","prune","list","Node","pushNode","forEachReverse","getReverse","mapReverse","reduceReverse","toArrayReverse","sliceReverse","add","t5","configurable","basename","extname","normalize","relative","IS_WINDOWS","rm","force","recursive","retryDelay","mkdir","isRooted","tryGetExecutablePath","lstat","unlink","chmod","readlink","symlink","exists","copyFile","cp","copySourceDirectory","readdir","mv","rename","which","findInPath","open","rmdir","UV_FS_O_EXLOCK","READONLY","O_RDONLY","getCmdPath","COMSPEC","_findMatch","stable","files","platform_version","_getOsVersion","_readLinuxVersionFile","randomBytes","argStringToArray","ToolRunner","t7","StringDecoder","listeners","toolPath","_debug","_getCommandString","_getSpawnFileName","_getSpawnArgs","_isCmdFile","windowsVerbatimArguments","_windowsQuoteCmdArg","_processLineBuffer","_endsWith","_uvQuoteCmdArg","_cloneExecOptions","silent","failOnStdErr","ignoreReturnCode","delay","outStream","errStream","_getSpawnOptions","argv0","stdline","processStderr","errline","processError","processExited","processClosed","CheckComplete","processExitCode","stdin","charAt","_setResult","HandleTimeout","abs","long","years","one","months","weeks","days","hours","minutes","seconds","narrow","short","rt","homedir","rR","nZ","n0","n1","chown","n2","n4","lchmod","n3","lchown","n6","link","n8","n5","n9","mkdtemp","n7","ie","it","readFile","ir","ii","realpath","io","is","ia","il","iu","truncate","ic","ip","utimes","ih","im","ig","iv","iE","groups","getgroups","rO","ib","iw","ix","iI","_ISEXE_TEST_PLATFORM_","iS","isexe","iR","posix","iO","iT","iA","source","iC","i$","pathEnv","pathExtExe","i_","iP","r_","rN","OSTYPE","iL","iN","rD","TESTING_WINDOWS","iD","ik","colon","iU","ij","rj","rF","rM","openSync","readSync","closeSync","iF","forceShell","comspec","verifyENOENT","verifyENOENTSync","notFoundError","_parse","_enoent","iG","getOwnPropertyDescriptor","iB","iH","getPrototypeOf","iq","iV","Function","iX","iz","iW","WeakMap","iK","displayName","ignoreNonConfigurable","Reflect","ownKeys","callCount","iY","iZ","iJ","iQ","number","action","description","standard","i0","forced","i1","i2","signals","supported","i4","i3","i6","i8","errorCode","signalDescription","Boolean","originalMessage","shortMessage","i9","i7","oe","ot","reallyExit","pid","or","oi","oo","os","__signal_exit_emitter__","count","emitted","infinite","setMaxListeners","oa","oc","ou","oh","od","rH","equal","op","alwaysLast","unload","ol","om","of","og","oE","ow","unref","forceKillAfterTimeout","oy","SIGTERM","isFinite","ob","killSignal","race","cleanup","detached","oO","oT","createWriteStream","pipeStdout","pipeStderr","pipeAll","ra","promisify","rl","PassThrough","array","objectMode","setEncoding","pipeline","rV","buffer","MaxBufferError","rY","readable","isEmpty","o_","oP","inputFile","oL","createReadStream","oU","oj","oM","oG","oq","oV","oK","rr","isBuffer","oY","oQ","templates","expressions","template","oJ","oZ","ru","debuglog","enabled","o0","padStart","o1","getHours","getMinutes","getSeconds","getMilliseconds","verbose","o4","preferLocal","localDir","stripFinalNewline","windowsHide","o8","o5","rc","npm_package_json","npm_config_user_agent","XDG_CONFIG_HOME","mkdirSync","lastUpdateCheck","getTime","updateCheckInterval","distTag","alwaysRun","rZ","padEnd","isTTY","shouldNotifyInNpmScript","o7","st","sr","sn","so","ss","sl","sa","sc","sh","sm","sg","sE","sy","sw","sI","sS","sO","sT","s$","s_","sL","sD","sk","sU","sj","sF","sM","sB","sV","sX","sz","sW","release","sK","nc","ng","ar","ao","aa","al","ny","ac","nS","nx","RetryHelper","maxAttempts","minSeconds","maxSeconds","execute","getSleepAmount","sleep","ap","httpStatusCode","new","target","HTTPError","ad","af","nE","authorization","statusMessage","extract7z","nh","extractXar","extractZip","cacheFile","findAllVersions","getManifestFromRepo","tree","accept","findFromManifest","isExplicitVersion","evaluateVersions","retryAsPromised","TimeoutError","previous","_getKeyIndexFromMatchingKey","_getKeyIndexForMany","_getKeyIndexForSingle","rp","llvm","clangtidy","clangformat","ninja","cmake","conan","meson","kcov","task","doxygen","gcc","mingw","nala","ProgramFiles","aC","win32","win64","x86_64","a_","aP","globalThis","DOMException","reason","vcpkg","bazel","opencppcoverage","choco","brew","powershell","ccache","sccache","graphviz","ClangFormat","msvc","vcvarsall","make","sevenzip","argv"],"sources":["../../","../../node_modules/ci-info/index.js","../../node_modules/ci-info/vendors.json","../../packages/ci-log/src/index.ts","../../node_modules/@actions/core/lib/core.js","../../node_modules/@actions/core/src/core.ts","../../node_modules/@actions/core/lib/command.js","../../node_modules/@actions/core/src/command.ts","../../node_modules/@actions/core/lib/utils.js","../../node_modules/@actions/core/src/utils.ts","../../node_modules/@actions/core/lib/file-command.js","../../node_modules/@actions/core/src/file-command.ts","../../node_modules/uuid/dist/esm-node/v4.js","../../node_modules/uuid/dist/esm-node/rng.js","../../node_modules/uuid/dist/esm-node/stringify.js","../../node_modules/uuid/dist/esm-node/validate.js","../../node_modules/uuid/dist/esm-node/regex.js","../../node_modules/@actions/core/lib/oidc-utils.js","../../node_modules/@actions/core/src/oidc-utils.ts","../../node_modules/@actions/http-client/lib/index.js","../../node_modules/@actions/http-client/src/index.ts","../../node_modules/@actions/http-client/lib/proxy.js","../../node_modules/@actions/http-client/src/proxy.ts","../../node_modules/tunnel/index.js","../../node_modules/tunnel/lib/tunnel.js","../../node_modules/@actions/http-client/lib/auth.js","../../node_modules/@actions/http-client/src/auth.ts","../../node_modules/@actions/core/lib/summary.js","../../node_modules/@actions/core/src/summary.ts","../../node_modules/@actions/core/lib/path-utils.js","../../node_modules/@actions/core/src/path-utils.ts","../../node_modules/numerous/lib/numerous.js","../../node_modules/time-delta/lib/time-delta.js","../../node_modules/numerous/index.js","../../node_modules/is-node/index.js","../../node_modules/isexe/windows.js","../../node_modules/isexe/mode.js","../../node_modules/signal-exit/signals.js","../../node_modules/semver/index.js","../../node_modules/semver/internal/re.js","../../node_modules/semver/internal/constants.js","../../node_modules/semver/internal/debug.js","../../node_modules/semver/classes/semver.js","../../node_modules/semver/internal/parse-options.js","../../node_modules/semver/internal/identifiers.js","../../node_modules/semver/functions/parse.js","../../node_modules/semver/functions/valid.js","../../node_modules/semver/functions/clean.js","../../node_modules/semver/functions/inc.js","../../node_modules/semver/functions/diff.js","../../node_modules/semver/functions/major.js","../../node_modules/semver/functions/minor.js","../../node_modules/semver/functions/patch.js","../../node_modules/semver/functions/prerelease.js","../../node_modules/semver/functions/compare.js","../../node_modules/semver/functions/rcompare.js","../../node_modules/semver/functions/compare-loose.js","../../node_modules/semver/functions/compare-build.js","../../node_modules/semver/functions/sort.js","../../node_modules/semver/functions/rsort.js","../../node_modules/semver/functions/gt.js","../../node_modules/semver/functions/lt.js","../../node_modules/semver/functions/eq.js","../../node_modules/semver/functions/neq.js","../../node_modules/semver/functions/gte.js","../../node_modules/semver/functions/lte.js","../../node_modules/semver/functions/cmp.js","../../node_modules/semver/functions/coerce.js","../../node_modules/semver/classes/comparator.js","../../node_modules/semver/classes/range.js","../../node_modules/semver/node_modules/lru-cache/index.js","../../node_modules/yallist/yallist.js","../../node_modules/yallist/iterator.js","../../node_modules/semver/functions/satisfies.js","../../node_modules/semver/ranges/to-comparators.js","../../node_modules/semver/ranges/max-satisfying.js","../../node_modules/semver/ranges/min-satisfying.js","../../node_modules/semver/ranges/min-version.js","../../node_modules/semver/ranges/valid.js","../../node_modules/semver/ranges/outside.js","../../node_modules/semver/ranges/gtr.js","../../node_modules/semver/ranges/ltr.js","../../node_modules/semver/ranges/intersects.js","../../node_modules/semver/ranges/simplify.js","../../node_modules/semver/ranges/subset.js","../../node_modules/escape-quotes/node_modules/escape-string-regexp/index.js","../../node_modules/path-exists/index.js","../../node_modules/patha/dist/index.node.mjs","../../node_modules/patha/src/name.ts","../../node_modules/patha/src/normalize-trim.ts","../../node_modules/patha/src/add-exe-ext.ts","../../node_modules/patha/src/add-name-prefix.ts","../../node_modules/patha/src/add-name-suffix.ts","../../node_modules/patha/src/add-sh-ext.ts","../../node_modules/patha/src/add-sh-relative-prefix.ts","../../node_modules/patha/src/remove-ext.ts","../../node_modules/patha/src/replace-ext.ts","../../node_modules/patha/src/is-path-inside.ts","../../node_modules/escape-string-regexp/index.js","../../node_modules/replace-ext/index.js","../../node_modules/@actions/io/lib/io.js","../../node_modules/@actions/io/src/io.ts","../../node_modules/@actions/io/lib/io-util.js","../../node_modules/@actions/io/src/io-util.ts","../../node_modules/@actions/tool-cache/lib/manifest.js","../../node_modules/@actions/tool-cache/src/manifest.ts","../../node_modules/@actions/tool-cache/node_modules/semver/semver.js","../../node_modules/@actions/tool-cache/node_modules/uuid/v4.js","../../node_modules/@actions/tool-cache/node_modules/uuid/lib/rng.js","../../node_modules/@actions/tool-cache/node_modules/uuid/lib/bytesToUuid.js","../../node_modules/@actions/exec/lib/exec.js","../../node_modules/@actions/exec/src/exec.ts","../../node_modules/@actions/exec/lib/toolrunner.js","../../node_modules/@actions/exec/src/toolrunner.ts","../../node_modules/@parcel/runtime-js/lib/runtime-3dfbc2a3f5a258f9.js","../../src/main.ts","../../node_modules/numerous/locales/en.js","../../node_modules/time-delta/index.js","../../node_modules/time-delta/locales/en.js","../../packages/untildify-user/src/index.ts","../../packages/untildify-user/node_modules/untildify/index.js","../../node_modules/admina/src/index.mts","../../node_modules/admina/dist/root.mjs","../../node_modules/admina/src/root.mts","../../node_modules/which/lib/index.js","../../node_modules/which/node_modules/isexe/dist/mjs/index.js","../../node_modules/which/node_modules/isexe/src/index.ts","../../node_modules/which/node_modules/isexe/dist/mjs/posix.js","../../node_modules/which/node_modules/isexe/src/posix.ts","../../src/utils/compat/fs/promises.ts","../../node_modules/which/node_modules/isexe/dist/mjs/win32.js","../../node_modules/which/node_modules/isexe/src/win32.ts","../../node_modules/which/node_modules/isexe/src/options.ts","../../node_modules/execa/index.js","../../node_modules/cross-spawn/index.js","../../node_modules/cross-spawn/lib/parse.js","../../node_modules/cross-spawn/lib/util/resolveCommand.js","../../node_modules/cross-spawn/node_modules/which/which.js","../../node_modules/isexe/index.js","../../node_modules/path-key/index.js","../../node_modules/cross-spawn/lib/util/escape.js","../../node_modules/cross-spawn/lib/util/readShebang.js","../../node_modules/shebang-command/index.js","../../node_modules/shebang-regex/index.js","../../node_modules/cross-spawn/lib/enoent.js","../../node_modules/strip-final-newline/index.js","../../node_modules/npm-run-path/index.js","../../node_modules/npm-run-path/node_modules/path-key/index.js","../../node_modules/onetime/index.js","../../node_modules/mimic-fn/index.js","../../node_modules/execa/lib/error.js","../../node_modules/human-signals/build/src/main.js","../../node_modules/human-signals/build/src/realtime.js","../../node_modules/human-signals/build/src/signals.js","../../node_modules/human-signals/build/src/core.js","../../node_modules/execa/lib/stdio.js","../../node_modules/execa/lib/kill.js","../../node_modules/signal-exit/index.js","../../node_modules/execa/lib/pipe.js","../../node_modules/is-stream/index.js","../../node_modules/execa/lib/stream.js","../../node_modules/get-stream/index.js","../../node_modules/get-stream/buffer-stream.js","../../node_modules/merge-stream/index.js","../../node_modules/execa/lib/promise.js","../../node_modules/execa/lib/command.js","../../node_modules/execa/lib/verbose.js","../../node_modules/admina/dist/admin.mjs","../../node_modules/admina/src/admin.mts","../../node_modules/admina/dist/is-admin.mjs","../../node_modules/admina/src/is-admin.mts","../../node_modules/admina/dist/user-access.mjs","../../node_modules/admina/src/user-access.mts","../../src/check-updates.ts","../../node_modules/simple-update-notifier/build/index.js","../../package-version.json","../../src/cli-options.ts","../../node_modules/mri/lib/index.mjs","../../src/tool.ts","../../src/bazel/bazel.ts","../../src/utils/setup/setupAptPack.ts","../../src/utils/env/addEnv.ts","../../packages/exec-powershell/src/index.ts","../../packages/exec-powershell/node_modules/execa/index.js","../../packages/exec-powershell/node_modules/execa/lib/error.js","../../packages/exec-powershell/node_modules/execa/lib/stdio.js","../../packages/exec-powershell/node_modules/execa/lib/kill.js","../../packages/exec-powershell/node_modules/execa/lib/pipe.js","../../packages/exec-powershell/node_modules/execa/lib/stream.js","../../packages/exec-powershell/node_modules/execa/lib/promise.js","../../packages/exec-powershell/node_modules/execa/lib/command.js","../../packages/exec-powershell/node_modules/execa/lib/verbose.js","../../node_modules/escape-path-with-spaces/index.js","../../node_modules/escape-quotes/lib/escape-quotes.js","../../src/utils/setup/setupBrewPack.ts","../../src/brew/brew.ts","../../src/utils/setup/setupChocoPack.ts","../../src/chocolatey/chocolatey.ts","../../src/utils/env/isArch.ts","../../src/utils/env/hasDnf.ts","../../src/utils/setup/setupDnfPack.ts","../../src/utils/env/isUbuntu.ts","../../src/ccache/ccache.ts","../../src/utils/setup/setupPacmanPack.ts","../../src/cmake/cmake.ts","../../node_modules/@actions/tool-cache/lib/tool-cache.js","../../node_modules/@actions/tool-cache/src/tool-cache.ts","../../node_modules/@actions/tool-cache/lib/retry-helper.js","../../node_modules/@actions/tool-cache/src/retry-helper.ts","../../src/utils/setup/setupBin.ts","../../node_modules/retry-as-promised/dist/index.js","../../src/utils/setup/extract.ts","../../src/sevenzip/sevenzip.ts","../../src/conan/conan.ts","../../src/utils/setup/setupPipPack.ts","../../src/python/python.ts","../../node_modules/micro-memoize/dist/micro-memoize.esm.js","../../node_modules/micro-memoize/src/utils.ts","../../node_modules/micro-memoize/src/Cache.ts","../../node_modules/micro-memoize/src/index.ts","../../src/utils/setup/version.ts","../../node_modules/is-url-online/dist/index.mjs","../../src/utils/std/index.ts","../../src/versions/default_versions.ts","../../src/versions/versions.ts","../../src/utils/env/ubuntu_version.ts","../../node_modules/ubuntu-version/index.js","../../src/cppcheck/cppcheck.ts","../../src/doxygen/doxygen.ts","../../src/graphviz/graphviz.ts","../../src/gcc/gcc.ts","../../src/macos-sdk/macos-sdk.ts","../../src/gcovr/gcovr.ts","../../src/kcov/kcov.ts","../../src/ninja/ninja.ts","../../src/llvm/llvm.ts","../../src/llvm/llvm_installer.ts","../../src/installTool.ts","../../src/vcvarsall/vcvarsall.ts","../../node_modules/msvc-dev-cmd/lib.js","../../node_modules/p-timeout/index.js","../../src/llvm/llvm_url.ts","../../src/make/make.ts","../../src/meson/meson.ts","../../src/msvc/msvc.ts","../../src/nala/nala.ts","../../src/opencppcoverage/opencppcoverage.ts","../../src/powershell/powershell.ts","../../src/sccache/sccache.ts","../../src/task/task.ts","../../src/vcpkg/vcpkg.ts","../../src/compilers.ts"],"sourcesContent":["#!/usr/bin/env node\nvar $4umf8$os = require(\"os\");\nvar $4umf8$path = require(\"path\");\nvar $4umf8$fs = require(\"fs\");\nvar $4umf8$crypto = require(\"crypto\");\nvar $4umf8$http = require(\"http\");\nvar $4umf8$https = require(\"https\");\nrequire(\"net\");\nvar $4umf8$tls = require(\"tls\");\nvar $4umf8$events = require(\"events\");\nvar $4umf8$assert = require(\"assert\");\nvar $4umf8$util = require(\"util\");\nvar $4umf8$nodefs = require(\"node:fs\");\nvar $4umf8$child_process = require(\"child_process\");\nvar $4umf8$string_decoder = require(\"string_decoder\");\nvar $4umf8$timers = require(\"timers\");\nvar $4umf8$nodeos = require(\"node:os\");\nvar $4umf8$nodebuffer = require(\"node:buffer\");\nvar $4umf8$nodepath = require(\"node:path\");\nvar $4umf8$nodechild_process = require(\"node:child_process\");\nvar $4umf8$nodeprocess = require(\"node:process\");\nvar $4umf8$nodeurl = require(\"node:url\");\nvar $4umf8$buffer = require(\"buffer\");\nvar $4umf8$stream = require(\"stream\");\nvar $4umf8$nodeutil = require(\"node:util\");\nvar $4umf8$process = require(\"process\");\nvar $4umf8$url = require(\"url\");\nvar $4umf8$console = require(\"console\");\n\n\nfunction $parcel$export(e, n, v, s) {\n Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});\n}\n\nfunction $parcel$interopDefault(a) {\n return a && a.__esModule ? a.default : a;\n}\n\n var $parcel$global = globalThis;\n \nvar $parcel$modules = {};\nvar $parcel$inits = {};\n\nvar parcelRequire = $parcel$global[\"parcelRequire810d\"];\n\nif (parcelRequire == null) {\n parcelRequire = function(id) {\n if (id in $parcel$modules) {\n return $parcel$modules[id].exports;\n }\n if (id in $parcel$inits) {\n var init = $parcel$inits[id];\n delete $parcel$inits[id];\n var module = {id: id, exports: {}};\n $parcel$modules[id] = module;\n init.call(module.exports, module, module.exports);\n return module.exports;\n }\n var err = new Error(\"Cannot find module '\" + id + \"'\");\n err.code = 'MODULE_NOT_FOUND';\n throw err;\n };\n\n parcelRequire.register = function register(id, init) {\n $parcel$inits[id] = init;\n };\n\n $parcel$global[\"parcelRequire810d\"] = parcelRequire;\n}\n\nvar parcelRegister = parcelRequire.register;\nparcelRegister(\"dAuy6\", function(module, exports) {\n\"use strict\";\n\nvar $5vZJI = parcelRequire(\"5vZJI\");\nconst $9e46558a3f40ee97$var$env = process.env;\n// Used for testing only\nObject.defineProperty(module.exports, \"_vendors\", {\n value: $5vZJI.map(function(v) {\n return v.constant;\n })\n});\nmodule.exports.name = null;\nmodule.exports.isPR = null;\n$5vZJI.forEach(function(vendor) {\n const envs = Array.isArray(vendor.env) ? vendor.env : [\n vendor.env\n ];\n const isCI = envs.every(function(obj) {\n return $9e46558a3f40ee97$var$checkEnv(obj);\n });\n module.exports[vendor.constant] = isCI;\n if (!isCI) return;\n module.exports.name = vendor.name;\n switch(typeof vendor.pr){\n case \"string\":\n // \"pr\": \"CIRRUS_PR\"\n module.exports.isPR = !!$9e46558a3f40ee97$var$env[vendor.pr];\n break;\n case \"object\":\n if (\"env\" in vendor.pr) // \"pr\": { \"env\": \"BUILDKITE_PULL_REQUEST\", \"ne\": \"false\" }\n module.exports.isPR = vendor.pr.env in $9e46558a3f40ee97$var$env && $9e46558a3f40ee97$var$env[vendor.pr.env] !== vendor.pr.ne;\n else if (\"any\" in vendor.pr) // \"pr\": { \"any\": [\"ghprbPullId\", \"CHANGE_ID\"] }\n module.exports.isPR = vendor.pr.any.some(function(key) {\n return !!$9e46558a3f40ee97$var$env[key];\n });\n else // \"pr\": { \"DRONE_BUILD_EVENT\": \"pull_request\" }\n module.exports.isPR = $9e46558a3f40ee97$var$checkEnv(vendor.pr);\n break;\n default:\n // PR detection not supported for this vendor\n module.exports.isPR = null;\n }\n});\nmodule.exports.isCI = !!($9e46558a3f40ee97$var$env.CI !== \"false\" && // Bypass all checks if CI env is explicitly set to 'false'\n($9e46558a3f40ee97$var$env.BUILD_ID || // Jenkins, Cloudbees\n$9e46558a3f40ee97$var$env.BUILD_NUMBER || // Jenkins, TeamCity\n$9e46558a3f40ee97$var$env.CI || // Travis CI, CircleCI, Cirrus CI, Gitlab CI, Appveyor, CodeShip, dsari\n$9e46558a3f40ee97$var$env.CI_APP_ID || // Appflow\n$9e46558a3f40ee97$var$env.CI_BUILD_ID || // Appflow\n$9e46558a3f40ee97$var$env.CI_BUILD_NUMBER || // Appflow\n$9e46558a3f40ee97$var$env.CI_NAME || // Codeship and others\n$9e46558a3f40ee97$var$env.CONTINUOUS_INTEGRATION || // Travis CI, Cirrus CI\n$9e46558a3f40ee97$var$env.RUN_ID || // TaskCluster, dsari\nmodule.exports.name || false));\nfunction $9e46558a3f40ee97$var$checkEnv(obj) {\n // \"env\": \"CIRRUS\"\n if (typeof obj === \"string\") return !!$9e46558a3f40ee97$var$env[obj];\n // \"env\": { \"env\": \"NODE\", \"includes\": \"/app/.heroku/node/bin/node\" }\n if (\"env\" in obj) // Currently there are no other types, uncomment when there are\n // if ('includes' in obj) {\n return $9e46558a3f40ee97$var$env[obj.env] && $9e46558a3f40ee97$var$env[obj.env].includes(obj.includes);\n if (\"any\" in obj) return obj.any.some(function(k) {\n return !!$9e46558a3f40ee97$var$env[k];\n });\n return Object.keys(obj).every(function(k) {\n return $9e46558a3f40ee97$var$env[k] === obj[k];\n });\n}\n\n});\nparcelRegister(\"5vZJI\", function(module, exports) {\nmodule.exports = JSON.parse('[{\"name\":\"Agola CI\",\"constant\":\"AGOLA\",\"env\":\"AGOLA_GIT_REF\",\"pr\":\"AGOLA_PULL_REQUEST_ID\"},{\"name\":\"Appcircle\",\"constant\":\"APPCIRCLE\",\"env\":\"AC_APPCIRCLE\"},{\"name\":\"AppVeyor\",\"constant\":\"APPVEYOR\",\"env\":\"APPVEYOR\",\"pr\":\"APPVEYOR_PULL_REQUEST_NUMBER\"},{\"name\":\"AWS CodeBuild\",\"constant\":\"CODEBUILD\",\"env\":\"CODEBUILD_BUILD_ARN\"},{\"name\":\"Azure Pipelines\",\"constant\":\"AZURE_PIPELINES\",\"env\":\"TF_BUILD\",\"pr\":{\"BUILD_REASON\":\"PullRequest\"}},{\"name\":\"Bamboo\",\"constant\":\"BAMBOO\",\"env\":\"bamboo_planKey\"},{\"name\":\"Bitbucket Pipelines\",\"constant\":\"BITBUCKET\",\"env\":\"BITBUCKET_COMMIT\",\"pr\":\"BITBUCKET_PR_ID\"},{\"name\":\"Bitrise\",\"constant\":\"BITRISE\",\"env\":\"BITRISE_IO\",\"pr\":\"BITRISE_PULL_REQUEST\"},{\"name\":\"Buddy\",\"constant\":\"BUDDY\",\"env\":\"BUDDY_WORKSPACE_ID\",\"pr\":\"BUDDY_EXECUTION_PULL_REQUEST_ID\"},{\"name\":\"Buildkite\",\"constant\":\"BUILDKITE\",\"env\":\"BUILDKITE\",\"pr\":{\"env\":\"BUILDKITE_PULL_REQUEST\",\"ne\":\"false\"}},{\"name\":\"CircleCI\",\"constant\":\"CIRCLE\",\"env\":\"CIRCLECI\",\"pr\":\"CIRCLE_PULL_REQUEST\"},{\"name\":\"Cirrus CI\",\"constant\":\"CIRRUS\",\"env\":\"CIRRUS_CI\",\"pr\":\"CIRRUS_PR\"},{\"name\":\"Codefresh\",\"constant\":\"CODEFRESH\",\"env\":\"CF_BUILD_ID\",\"pr\":{\"any\":[\"CF_PULL_REQUEST_NUMBER\",\"CF_PULL_REQUEST_ID\"]}},{\"name\":\"Codemagic\",\"constant\":\"CODEMAGIC\",\"env\":\"CM_BUILD_ID\",\"pr\":\"CM_PULL_REQUEST\"},{\"name\":\"Codeship\",\"constant\":\"CODESHIP\",\"env\":{\"CI_NAME\":\"codeship\"}},{\"name\":\"Drone\",\"constant\":\"DRONE\",\"env\":\"DRONE\",\"pr\":{\"DRONE_BUILD_EVENT\":\"pull_request\"}},{\"name\":\"dsari\",\"constant\":\"DSARI\",\"env\":\"DSARI\"},{\"name\":\"Earthly\",\"constant\":\"EARTHLY\",\"env\":\"EARTHLY_CI\"},{\"name\":\"Expo Application Services\",\"constant\":\"EAS\",\"env\":\"EAS_BUILD\"},{\"name\":\"Gerrit\",\"constant\":\"GERRIT\",\"env\":\"GERRIT_PROJECT\"},{\"name\":\"Gitea Actions\",\"constant\":\"GITEA_ACTIONS\",\"env\":\"GITEA_ACTIONS\"},{\"name\":\"GitHub Actions\",\"constant\":\"GITHUB_ACTIONS\",\"env\":\"GITHUB_ACTIONS\",\"pr\":{\"GITHUB_EVENT_NAME\":\"pull_request\"}},{\"name\":\"GitLab CI\",\"constant\":\"GITLAB\",\"env\":\"GITLAB_CI\",\"pr\":\"CI_MERGE_REQUEST_ID\"},{\"name\":\"GoCD\",\"constant\":\"GOCD\",\"env\":\"GO_PIPELINE_LABEL\"},{\"name\":\"Google Cloud Build\",\"constant\":\"GOOGLE_CLOUD_BUILD\",\"env\":\"BUILDER_OUTPUT\"},{\"name\":\"Harness CI\",\"constant\":\"HARNESS\",\"env\":\"HARNESS_BUILD_ID\"},{\"name\":\"Heroku\",\"constant\":\"HEROKU\",\"env\":{\"env\":\"NODE\",\"includes\":\"/app/.heroku/node/bin/node\"}},{\"name\":\"Hudson\",\"constant\":\"HUDSON\",\"env\":\"HUDSON_URL\"},{\"name\":\"Jenkins\",\"constant\":\"JENKINS\",\"env\":[\"JENKINS_URL\",\"BUILD_ID\"],\"pr\":{\"any\":[\"ghprbPullId\",\"CHANGE_ID\"]}},{\"name\":\"LayerCI\",\"constant\":\"LAYERCI\",\"env\":\"LAYERCI\",\"pr\":\"LAYERCI_PULL_REQUEST\"},{\"name\":\"Magnum CI\",\"constant\":\"MAGNUM\",\"env\":\"MAGNUM\"},{\"name\":\"Netlify CI\",\"constant\":\"NETLIFY\",\"env\":\"NETLIFY\",\"pr\":{\"env\":\"PULL_REQUEST\",\"ne\":\"false\"}},{\"name\":\"Nevercode\",\"constant\":\"NEVERCODE\",\"env\":\"NEVERCODE\",\"pr\":{\"env\":\"NEVERCODE_PULL_REQUEST\",\"ne\":\"false\"}},{\"name\":\"Prow\",\"constant\":\"PROW\",\"env\":\"PROW_JOB_ID\"},{\"name\":\"ReleaseHub\",\"constant\":\"RELEASEHUB\",\"env\":\"RELEASE_BUILD_ID\"},{\"name\":\"Render\",\"constant\":\"RENDER\",\"env\":\"RENDER\",\"pr\":{\"IS_PULL_REQUEST\":\"true\"}},{\"name\":\"Sail CI\",\"constant\":\"SAIL\",\"env\":\"SAILCI\",\"pr\":\"SAIL_PULL_REQUEST_NUMBER\"},{\"name\":\"Screwdriver\",\"constant\":\"SCREWDRIVER\",\"env\":\"SCREWDRIVER\",\"pr\":{\"env\":\"SD_PULL_REQUEST\",\"ne\":\"false\"}},{\"name\":\"Semaphore\",\"constant\":\"SEMAPHORE\",\"env\":\"SEMAPHORE\",\"pr\":\"PULL_REQUEST_NUMBER\"},{\"name\":\"Sourcehut\",\"constant\":\"SOURCEHUT\",\"env\":{\"CI_NAME\":\"sourcehut\"}},{\"name\":\"Strider CD\",\"constant\":\"STRIDER\",\"env\":\"STRIDER\"},{\"name\":\"TaskCluster\",\"constant\":\"TASKCLUSTER\",\"env\":[\"TASK_ID\",\"RUN_ID\"]},{\"name\":\"TeamCity\",\"constant\":\"TEAMCITY\",\"env\":\"TEAMCITY_VERSION\"},{\"name\":\"Travis CI\",\"constant\":\"TRAVIS\",\"env\":\"TRAVIS\",\"pr\":{\"env\":\"TRAVIS_PULL_REQUEST\",\"ne\":\"false\"}},{\"name\":\"Vela\",\"constant\":\"VELA\",\"env\":\"VELA\",\"pr\":{\"VELA_PULL_REQUEST\":\"1\"}},{\"name\":\"Vercel\",\"constant\":\"VERCEL\",\"env\":{\"any\":[\"NOW_BUILDER\",\"VERCEL\"]},\"pr\":\"VERCEL_GIT_PULL_REQUEST_ID\"},{\"name\":\"Visual Studio App Center\",\"constant\":\"APPCENTER\",\"env\":\"APPCENTER_BUILD_ID\"},{\"name\":\"Woodpecker\",\"constant\":\"WOODPECKER\",\"env\":{\"CI\":\"woodpecker\"},\"pr\":{\"CI_BUILD_EVENT\":\"pull_request\"}},{\"name\":\"Xcode Cloud\",\"constant\":\"XCODE_CLOUD\",\"env\":\"CI_XCODE_PROJECT\",\"pr\":\"CI_PULL_REQUEST_NUMBER\"},{\"name\":\"Xcode Server\",\"constant\":\"XCODE_SERVER\",\"env\":\"XCS\"}]');\n\n});\n\n\nparcelRegister(\"hHq4F\", function(module, exports) {\n\n$parcel$export(module.exports, \"error\", () => $0c53d1c71c9db41f$export$a3bc9b8ed74fc);\n$parcel$export(module.exports, \"success\", () => $0c53d1c71c9db41f$export$fe7c49d056ea1d88);\n$parcel$export(module.exports, \"warning\", () => $0c53d1c71c9db41f$export$491112666e282270);\n$parcel$export(module.exports, \"notice\", () => $0c53d1c71c9db41f$export$b31f6ae88848cf15);\n$parcel$export(module.exports, \"info\", () => $0c53d1c71c9db41f$export$a80b3bd66acc52ff);\n\nvar $1o3Gj = parcelRequire(\"1o3Gj\");\n\nvar $dAuy6 = parcelRequire(\"dAuy6\");\nfunction $0c53d1c71c9db41f$export$a3bc9b8ed74fc(err) {\n return (0, $dAuy6.GITHUB_ACTIONS) ? $1o3Gj.error(err) : console.log(`\\x1b[31m${err}\\x1b[0m`);\n}\nfunction $0c53d1c71c9db41f$export$fe7c49d056ea1d88(msg) {\n return console.log(`\\x1b[32m${msg}\\x1b[0m`);\n}\nfunction $0c53d1c71c9db41f$export$491112666e282270(msg) {\n return (0, $dAuy6.GITHUB_ACTIONS) ? $1o3Gj.warning(msg) : console.log(`\\x1b[33m${msg}\\x1b[0m`);\n}\nfunction $0c53d1c71c9db41f$export$b31f6ae88848cf15(msg) {\n return (0, $dAuy6.GITHUB_ACTIONS) ? $1o3Gj.notice(msg) : console.log(`\\x1b[94m${msg}\\x1b[0m`);\n}\nfunction $0c53d1c71c9db41f$export$a80b3bd66acc52ff(msg) {\n return (0, $dAuy6.GITHUB_ACTIONS) ? $1o3Gj.info(msg) : console.log(msg);\n}\n\n});\nparcelRegister(\"1o3Gj\", function(module, exports) {\n\"use strict\";\nvar $102ae369f312a547$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $102ae369f312a547$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $102ae369f312a547$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $102ae369f312a547$var$__createBinding(result, mod, k);\n }\n $102ae369f312a547$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $102ae369f312a547$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.getIDToken = module.exports.getState = module.exports.saveState = module.exports.group = module.exports.endGroup = module.exports.startGroup = module.exports.info = module.exports.notice = module.exports.warning = module.exports.error = module.exports.debug = module.exports.isDebug = module.exports.setFailed = module.exports.setCommandEcho = module.exports.setOutput = module.exports.getBooleanInput = module.exports.getMultilineInput = module.exports.getInput = module.exports.addPath = module.exports.setSecret = module.exports.exportVariable = module.exports.ExitCode = void 0;\n\nvar $1g3mY = parcelRequire(\"1g3mY\");\n\nvar $8prV6 = parcelRequire(\"8prV6\");\n\nvar $5nnws = parcelRequire(\"5nnws\");\n\nconst $102ae369f312a547$var$os = $102ae369f312a547$var$__importStar($4umf8$os);\n\nconst $102ae369f312a547$var$path = $102ae369f312a547$var$__importStar($4umf8$path);\n\nvar $dU1e3 = parcelRequire(\"dU1e3\");\n/**\n * The code to exit an action\n */ var $102ae369f312a547$var$ExitCode;\n(function(ExitCode) {\n /**\n * A code indicating that the action was successful\n */ ExitCode[ExitCode[\"Success\"] = 0] = \"Success\";\n /**\n * A code indicating that the action was a failure\n */ ExitCode[ExitCode[\"Failure\"] = 1] = \"Failure\";\n})($102ae369f312a547$var$ExitCode = module.exports.ExitCode || (module.exports.ExitCode = {}));\n//-----------------------------------------------------------------------\n// Variables\n//-----------------------------------------------------------------------\n/**\n * Sets env variable for this action and future actions in the job\n * @param name the name of the variable to set\n * @param val the value of the variable. Non-string values will be converted to a string via JSON.stringify\n */ // eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction $102ae369f312a547$var$exportVariable(name, val) {\n const convertedVal = $5nnws.toCommandValue(val);\n process.env[name] = convertedVal;\n const filePath = process.env[\"GITHUB_ENV\"] || \"\";\n if (filePath) return $8prV6.issueFileCommand(\"ENV\", $8prV6.prepareKeyValueMessage(name, val));\n $1g3mY.issueCommand(\"set-env\", {\n name: name\n }, convertedVal);\n}\nmodule.exports.exportVariable = $102ae369f312a547$var$exportVariable;\n/**\n * Registers a secret which will get masked from logs\n * @param secret value of the secret\n */ function $102ae369f312a547$var$setSecret(secret) {\n $1g3mY.issueCommand(\"add-mask\", {}, secret);\n}\nmodule.exports.setSecret = $102ae369f312a547$var$setSecret;\n/**\n * Prepends inputPath to the PATH (for this action and future actions)\n * @param inputPath\n */ function $102ae369f312a547$var$addPath(inputPath) {\n const filePath = process.env[\"GITHUB_PATH\"] || \"\";\n if (filePath) $8prV6.issueFileCommand(\"PATH\", inputPath);\n else $1g3mY.issueCommand(\"add-path\", {}, inputPath);\n process.env[\"PATH\"] = `${inputPath}${$102ae369f312a547$var$path.delimiter}${process.env[\"PATH\"]}`;\n}\nmodule.exports.addPath = $102ae369f312a547$var$addPath;\n/**\n * Gets the value of an input.\n * Unless trimWhitespace is set to false in InputOptions, the value is also trimmed.\n * Returns an empty string if the value is not defined.\n *\n * @param name name of the input to get\n * @param options optional. See InputOptions.\n * @returns string\n */ function $102ae369f312a547$var$getInput(name, options) {\n const val = process.env[`INPUT_${name.replace(/ /g, \"_\").toUpperCase()}`] || \"\";\n if (options && options.required && !val) throw new Error(`Input required and not supplied: ${name}`);\n if (options && options.trimWhitespace === false) return val;\n return val.trim();\n}\nmodule.exports.getInput = $102ae369f312a547$var$getInput;\n/**\n * Gets the values of an multiline input. Each value is also trimmed.\n *\n * @param name name of the input to get\n * @param options optional. See InputOptions.\n * @returns string[]\n *\n */ function $102ae369f312a547$var$getMultilineInput(name, options) {\n const inputs = $102ae369f312a547$var$getInput(name, options).split(\"\\n\").filter((x)=>x !== \"\");\n if (options && options.trimWhitespace === false) return inputs;\n return inputs.map((input)=>input.trim());\n}\nmodule.exports.getMultilineInput = $102ae369f312a547$var$getMultilineInput;\n/**\n * Gets the input value of the boolean type in the YAML 1.2 \"core schema\" specification.\n * Support boolean input list: `true | True | TRUE | false | False | FALSE` .\n * The return value is also in boolean type.\n * ref: https://yaml.org/spec/1.2/spec.html#id2804923\n *\n * @param name name of the input to get\n * @param options optional. See InputOptions.\n * @returns boolean\n */ function $102ae369f312a547$var$getBooleanInput(name, options) {\n const trueValue = [\n \"true\",\n \"True\",\n \"TRUE\"\n ];\n const falseValue = [\n \"false\",\n \"False\",\n \"FALSE\"\n ];\n const val = $102ae369f312a547$var$getInput(name, options);\n if (trueValue.includes(val)) return true;\n if (falseValue.includes(val)) return false;\n throw new TypeError(`Input does not meet YAML 1.2 \"Core Schema\" specification: ${name}\\n` + `Support boolean input list: \\`true | True | TRUE | false | False | FALSE\\``);\n}\nmodule.exports.getBooleanInput = $102ae369f312a547$var$getBooleanInput;\n/**\n * Sets the value of an output.\n *\n * @param name name of the output to set\n * @param value value to store. Non-string values will be converted to a string via JSON.stringify\n */ // eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction $102ae369f312a547$var$setOutput(name, value) {\n const filePath = process.env[\"GITHUB_OUTPUT\"] || \"\";\n if (filePath) return $8prV6.issueFileCommand(\"OUTPUT\", $8prV6.prepareKeyValueMessage(name, value));\n process.stdout.write($102ae369f312a547$var$os.EOL);\n $1g3mY.issueCommand(\"set-output\", {\n name: name\n }, $5nnws.toCommandValue(value));\n}\nmodule.exports.setOutput = $102ae369f312a547$var$setOutput;\n/**\n * Enables or disables the echoing of commands into stdout for the rest of the step.\n * Echoing is disabled by default if ACTIONS_STEP_DEBUG is not set.\n *\n */ function $102ae369f312a547$var$setCommandEcho(enabled) {\n $1g3mY.issue(\"echo\", enabled ? \"on\" : \"off\");\n}\nmodule.exports.setCommandEcho = $102ae369f312a547$var$setCommandEcho;\n//-----------------------------------------------------------------------\n// Results\n//-----------------------------------------------------------------------\n/**\n * Sets the action status to failed.\n * When the action exits it will be with an exit code of 1\n * @param message add error issue message\n */ function $102ae369f312a547$var$setFailed(message) {\n process.exitCode = $102ae369f312a547$var$ExitCode.Failure;\n $102ae369f312a547$var$error(message);\n}\nmodule.exports.setFailed = $102ae369f312a547$var$setFailed;\n//-----------------------------------------------------------------------\n// Logging Commands\n//-----------------------------------------------------------------------\n/**\n * Gets whether Actions Step Debug is on or not\n */ function $102ae369f312a547$var$isDebug() {\n return process.env[\"RUNNER_DEBUG\"] === \"1\";\n}\nmodule.exports.isDebug = $102ae369f312a547$var$isDebug;\n/**\n * Writes debug message to user log\n * @param message debug message\n */ function $102ae369f312a547$var$debug(message) {\n $1g3mY.issueCommand(\"debug\", {}, message);\n}\nmodule.exports.debug = $102ae369f312a547$var$debug;\n/**\n * Adds an error issue\n * @param message error issue message. Errors will be converted to string via toString()\n * @param properties optional properties to add to the annotation.\n */ function $102ae369f312a547$var$error(message, properties = {}) {\n $1g3mY.issueCommand(\"error\", $5nnws.toCommandProperties(properties), message instanceof Error ? message.toString() : message);\n}\nmodule.exports.error = $102ae369f312a547$var$error;\n/**\n * Adds a warning issue\n * @param message warning issue message. Errors will be converted to string via toString()\n * @param properties optional properties to add to the annotation.\n */ function $102ae369f312a547$var$warning(message, properties = {}) {\n $1g3mY.issueCommand(\"warning\", $5nnws.toCommandProperties(properties), message instanceof Error ? message.toString() : message);\n}\nmodule.exports.warning = $102ae369f312a547$var$warning;\n/**\n * Adds a notice issue\n * @param message notice issue message. Errors will be converted to string via toString()\n * @param properties optional properties to add to the annotation.\n */ function $102ae369f312a547$var$notice(message, properties = {}) {\n $1g3mY.issueCommand(\"notice\", $5nnws.toCommandProperties(properties), message instanceof Error ? message.toString() : message);\n}\nmodule.exports.notice = $102ae369f312a547$var$notice;\n/**\n * Writes info to log with console.log.\n * @param message info message\n */ function $102ae369f312a547$var$info(message) {\n process.stdout.write(message + $102ae369f312a547$var$os.EOL);\n}\nmodule.exports.info = $102ae369f312a547$var$info;\n/**\n * Begin an output group.\n *\n * Output until the next `groupEnd` will be foldable in this group\n *\n * @param name The name of the output group\n */ function $102ae369f312a547$var$startGroup(name) {\n $1g3mY.issue(\"group\", name);\n}\nmodule.exports.startGroup = $102ae369f312a547$var$startGroup;\n/**\n * End an output group.\n */ function $102ae369f312a547$var$endGroup() {\n $1g3mY.issue(\"endgroup\");\n}\nmodule.exports.endGroup = $102ae369f312a547$var$endGroup;\n/**\n * Wrap an asynchronous function call in a group.\n *\n * Returns the same type as the function itself.\n *\n * @param name The name of the group\n * @param fn The function to wrap in the group\n */ function $102ae369f312a547$var$group(name, fn) {\n return $102ae369f312a547$var$__awaiter(this, void 0, void 0, function*() {\n $102ae369f312a547$var$startGroup(name);\n let result;\n try {\n result = yield fn();\n } finally{\n $102ae369f312a547$var$endGroup();\n }\n return result;\n });\n}\nmodule.exports.group = $102ae369f312a547$var$group;\n//-----------------------------------------------------------------------\n// Wrapper action state\n//-----------------------------------------------------------------------\n/**\n * Saves state for current action, the state can only be retrieved by this action's post job execution.\n *\n * @param name name of the state to store\n * @param value value to store. Non-string values will be converted to a string via JSON.stringify\n */ // eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction $102ae369f312a547$var$saveState(name, value) {\n const filePath = process.env[\"GITHUB_STATE\"] || \"\";\n if (filePath) return $8prV6.issueFileCommand(\"STATE\", $8prV6.prepareKeyValueMessage(name, value));\n $1g3mY.issueCommand(\"save-state\", {\n name: name\n }, $5nnws.toCommandValue(value));\n}\nmodule.exports.saveState = $102ae369f312a547$var$saveState;\n/**\n * Gets the value of an state set by this action's main execution.\n *\n * @param name name of the state to get\n * @returns string\n */ function $102ae369f312a547$var$getState(name) {\n return process.env[`STATE_${name}`] || \"\";\n}\nmodule.exports.getState = $102ae369f312a547$var$getState;\nfunction $102ae369f312a547$var$getIDToken(aud) {\n return $102ae369f312a547$var$__awaiter(this, void 0, void 0, function*() {\n return yield $dU1e3.OidcClient.getIDToken(aud);\n });\n}\nmodule.exports.getIDToken = $102ae369f312a547$var$getIDToken;\n\nvar $dV9Cu = parcelRequire(\"dV9Cu\");\nObject.defineProperty(module.exports, \"summary\", {\n enumerable: true,\n get: function() {\n return $dV9Cu.summary;\n }\n});\n\nvar $dV9Cu = parcelRequire(\"dV9Cu\");\nObject.defineProperty(module.exports, \"markdownSummary\", {\n enumerable: true,\n get: function() {\n return $dV9Cu.markdownSummary;\n }\n});\n\nvar $9i0tI = parcelRequire(\"9i0tI\");\nObject.defineProperty(module.exports, \"toPosixPath\", {\n enumerable: true,\n get: function() {\n return $9i0tI.toPosixPath;\n }\n});\nObject.defineProperty(module.exports, \"toWin32Path\", {\n enumerable: true,\n get: function() {\n return $9i0tI.toWin32Path;\n }\n});\nObject.defineProperty(module.exports, \"toPlatformPath\", {\n enumerable: true,\n get: function() {\n return $9i0tI.toPlatformPath;\n }\n});\n\n});\nparcelRegister(\"1g3mY\", function(module, exports) {\n\"use strict\";\nvar $0ea9e630a7cef9e6$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $0ea9e630a7cef9e6$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $0ea9e630a7cef9e6$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $0ea9e630a7cef9e6$var$__createBinding(result, mod, k);\n }\n $0ea9e630a7cef9e6$var$__setModuleDefault(result, mod);\n return result;\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.issue = module.exports.issueCommand = void 0;\n\nconst $0ea9e630a7cef9e6$var$os = $0ea9e630a7cef9e6$var$__importStar($4umf8$os);\n\nvar $5nnws = parcelRequire(\"5nnws\");\n/**\n * Commands\n *\n * Command Format:\n * ::name key=value,key=value::message\n *\n * Examples:\n * ::warning::This is the message\n * ::set-env name=MY_VAR::some value\n */ function $0ea9e630a7cef9e6$var$issueCommand(command, properties, message) {\n const cmd = new $0ea9e630a7cef9e6$var$Command(command, properties, message);\n process.stdout.write(cmd.toString() + $0ea9e630a7cef9e6$var$os.EOL);\n}\nmodule.exports.issueCommand = $0ea9e630a7cef9e6$var$issueCommand;\nfunction $0ea9e630a7cef9e6$var$issue(name, message = \"\") {\n $0ea9e630a7cef9e6$var$issueCommand(name, {}, message);\n}\nmodule.exports.issue = $0ea9e630a7cef9e6$var$issue;\nconst $0ea9e630a7cef9e6$var$CMD_STRING = \"::\";\nclass $0ea9e630a7cef9e6$var$Command {\n constructor(command, properties, message){\n if (!command) command = \"missing.command\";\n this.command = command;\n this.properties = properties;\n this.message = message;\n }\n toString() {\n let cmdStr = $0ea9e630a7cef9e6$var$CMD_STRING + this.command;\n if (this.properties && Object.keys(this.properties).length > 0) {\n cmdStr += \" \";\n let first = true;\n for(const key in this.properties)if (this.properties.hasOwnProperty(key)) {\n const val = this.properties[key];\n if (val) {\n if (first) first = false;\n else cmdStr += \",\";\n cmdStr += `${key}=${$0ea9e630a7cef9e6$var$escapeProperty(val)}`;\n }\n }\n }\n cmdStr += `${$0ea9e630a7cef9e6$var$CMD_STRING}${$0ea9e630a7cef9e6$var$escapeData(this.message)}`;\n return cmdStr;\n }\n}\nfunction $0ea9e630a7cef9e6$var$escapeData(s) {\n return $5nnws.toCommandValue(s).replace(/%/g, \"%25\").replace(/\\r/g, \"%0D\").replace(/\\n/g, \"%0A\");\n}\nfunction $0ea9e630a7cef9e6$var$escapeProperty(s) {\n return $5nnws.toCommandValue(s).replace(/%/g, \"%25\").replace(/\\r/g, \"%0D\").replace(/\\n/g, \"%0A\").replace(/:/g, \"%3A\").replace(/,/g, \"%2C\");\n}\n\n});\nparcelRegister(\"5nnws\", function(module, exports) {\n\"use strict\";\n// We use any as a valid input type\n/* eslint-disable @typescript-eslint/no-explicit-any */ Object.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.toCommandProperties = module.exports.toCommandValue = void 0;\n/**\n * Sanitizes an input into a string so it can be passed into issueCommand safely\n * @param input input to sanitize into a string\n */ function $3ea158d1b71ecb6c$var$toCommandValue(input) {\n if (input === null || input === undefined) return \"\";\n else if (typeof input === \"string\" || input instanceof String) return input;\n return JSON.stringify(input);\n}\nmodule.exports.toCommandValue = $3ea158d1b71ecb6c$var$toCommandValue;\n/**\n *\n * @param annotationProperties\n * @returns The command properties to send with the actual annotation command\n * See IssueCommandProperties: https://github.com/actions/runner/blob/main/src/Runner.Worker/ActionCommandManager.cs#L646\n */ function $3ea158d1b71ecb6c$var$toCommandProperties(annotationProperties) {\n if (!Object.keys(annotationProperties).length) return {};\n return {\n title: annotationProperties.title,\n file: annotationProperties.file,\n line: annotationProperties.startLine,\n endLine: annotationProperties.endLine,\n col: annotationProperties.startColumn,\n endColumn: annotationProperties.endColumn\n };\n}\nmodule.exports.toCommandProperties = $3ea158d1b71ecb6c$var$toCommandProperties;\n\n});\n\n\nparcelRegister(\"8prV6\", function(module, exports) {\n\"use strict\";\n// For internal use, subject to change.\nvar $61f650dde32acca8$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $61f650dde32acca8$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $61f650dde32acca8$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $61f650dde32acca8$var$__createBinding(result, mod, k);\n }\n $61f650dde32acca8$var$__setModuleDefault(result, mod);\n return result;\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.prepareKeyValueMessage = module.exports.issueFileCommand = void 0;\n\n// We use any as a valid input type\n/* eslint-disable @typescript-eslint/no-explicit-any */ const $61f650dde32acca8$var$fs = $61f650dde32acca8$var$__importStar($4umf8$fs);\n\nconst $61f650dde32acca8$var$os = $61f650dde32acca8$var$__importStar($4umf8$os);\n\nvar $1Un9O = parcelRequire(\"1Un9O\");\n\nvar $5nnws = parcelRequire(\"5nnws\");\nfunction $61f650dde32acca8$var$issueFileCommand(command, message) {\n const filePath = process.env[`GITHUB_${command}`];\n if (!filePath) throw new Error(`Unable to find environment variable for file command ${command}`);\n if (!$61f650dde32acca8$var$fs.existsSync(filePath)) throw new Error(`Missing file at path: ${filePath}`);\n $61f650dde32acca8$var$fs.appendFileSync(filePath, `${$5nnws.toCommandValue(message)}${$61f650dde32acca8$var$os.EOL}`, {\n encoding: \"utf8\"\n });\n}\nmodule.exports.issueFileCommand = $61f650dde32acca8$var$issueFileCommand;\nfunction $61f650dde32acca8$var$prepareKeyValueMessage(key, value) {\n const delimiter = `ghadelimiter_${$1Un9O.default()}`;\n const convertedValue = $5nnws.toCommandValue(value);\n // These should realistically never happen, but just in case someone finds a\n // way to exploit uuid generation let's not allow keys or values that contain\n // the delimiter.\n if (key.includes(delimiter)) throw new Error(`Unexpected input: name should not contain the delimiter \"${delimiter}\"`);\n if (convertedValue.includes(delimiter)) throw new Error(`Unexpected input: value should not contain the delimiter \"${delimiter}\"`);\n return `${key}<<${delimiter}${$61f650dde32acca8$var$os.EOL}${convertedValue}${$61f650dde32acca8$var$os.EOL}${delimiter}`;\n}\nmodule.exports.prepareKeyValueMessage = $61f650dde32acca8$var$prepareKeyValueMessage;\n\n});\nparcelRegister(\"1Un9O\", function(module, exports) {\n\n$parcel$export(module.exports, \"default\", () => $163cfbef58865d16$export$2e2bcd8739ae039);\n\nvar $jyKkd = parcelRequire(\"jyKkd\");\n\nvar $4DdbA = parcelRequire(\"4DdbA\");\nfunction $163cfbef58865d16$var$v4(options, buf, offset) {\n options = options || {};\n const rnds = options.random || (options.rng || (0, $jyKkd.default))(); // 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; // Copy bytes to buffer, if provided\n if (buf) {\n offset = offset || 0;\n for(let i = 0; i < 16; ++i)buf[offset + i] = rnds[i];\n return buf;\n }\n return (0, $4DdbA.default)(rnds);\n}\nvar $163cfbef58865d16$export$2e2bcd8739ae039 = $163cfbef58865d16$var$v4;\n\n});\nparcelRegister(\"jyKkd\", function(module, exports) {\n\n$parcel$export(module.exports, \"default\", () => $e3d520772be72ad6$export$2e2bcd8739ae039);\n\nconst $e3d520772be72ad6$var$rnds8Pool = new Uint8Array(256); // # of random values to pre-allocate\nlet $e3d520772be72ad6$var$poolPtr = $e3d520772be72ad6$var$rnds8Pool.length;\nfunction $e3d520772be72ad6$export$2e2bcd8739ae039() {\n if ($e3d520772be72ad6$var$poolPtr > $e3d520772be72ad6$var$rnds8Pool.length - 16) {\n (0, ($parcel$interopDefault($4umf8$crypto))).randomFillSync($e3d520772be72ad6$var$rnds8Pool);\n $e3d520772be72ad6$var$poolPtr = 0;\n }\n return $e3d520772be72ad6$var$rnds8Pool.slice($e3d520772be72ad6$var$poolPtr, $e3d520772be72ad6$var$poolPtr += 16);\n}\n\n});\n\nparcelRegister(\"4DdbA\", function(module, exports) {\n\n$parcel$export(module.exports, \"default\", () => $35f5085d44821234$export$2e2bcd8739ae039);\n\nvar $4XBHo = parcelRequire(\"4XBHo\");\n/**\n * Convert array of 16 byte values to UUID string format of the form:\n * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\n */ const $35f5085d44821234$var$byteToHex = [];\nfor(let i = 0; i < 256; ++i)$35f5085d44821234$var$byteToHex.push((i + 0x100).toString(16).substr(1));\nfunction $35f5085d44821234$var$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 = ($35f5085d44821234$var$byteToHex[arr[offset + 0]] + $35f5085d44821234$var$byteToHex[arr[offset + 1]] + $35f5085d44821234$var$byteToHex[arr[offset + 2]] + $35f5085d44821234$var$byteToHex[arr[offset + 3]] + \"-\" + $35f5085d44821234$var$byteToHex[arr[offset + 4]] + $35f5085d44821234$var$byteToHex[arr[offset + 5]] + \"-\" + $35f5085d44821234$var$byteToHex[arr[offset + 6]] + $35f5085d44821234$var$byteToHex[arr[offset + 7]] + \"-\" + $35f5085d44821234$var$byteToHex[arr[offset + 8]] + $35f5085d44821234$var$byteToHex[arr[offset + 9]] + \"-\" + $35f5085d44821234$var$byteToHex[arr[offset + 10]] + $35f5085d44821234$var$byteToHex[arr[offset + 11]] + $35f5085d44821234$var$byteToHex[arr[offset + 12]] + $35f5085d44821234$var$byteToHex[arr[offset + 13]] + $35f5085d44821234$var$byteToHex[arr[offset + 14]] + $35f5085d44821234$var$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 if (!(0, $4XBHo.default)(uuid)) throw TypeError(\"Stringified UUID is invalid\");\n return uuid;\n}\nvar $35f5085d44821234$export$2e2bcd8739ae039 = $35f5085d44821234$var$stringify;\n\n});\nparcelRegister(\"4XBHo\", function(module, exports) {\n\n$parcel$export(module.exports, \"default\", () => $39c9ea59ce04fda7$export$2e2bcd8739ae039);\n\nvar $dcWu5 = parcelRequire(\"dcWu5\");\nfunction $39c9ea59ce04fda7$var$validate(uuid) {\n return typeof uuid === \"string\" && (0, $dcWu5.default).test(uuid);\n}\nvar $39c9ea59ce04fda7$export$2e2bcd8739ae039 = $39c9ea59ce04fda7$var$validate;\n\n});\nparcelRegister(\"dcWu5\", function(module, exports) {\n\n$parcel$export(module.exports, \"default\", () => $99d9c315b99dd3a1$export$2e2bcd8739ae039);\nvar $99d9c315b99dd3a1$export$2e2bcd8739ae039 = /^(?:[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;\n\n});\n\n\n\n\n\nparcelRegister(\"dU1e3\", function(module, exports) {\n\"use strict\";\nvar $a1f174b1cdd8a4a7$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.OidcClient = void 0;\n\nvar $eamjo = parcelRequire(\"eamjo\");\n\nvar $h6tQO = parcelRequire(\"h6tQO\");\n\nvar $1o3Gj = parcelRequire(\"1o3Gj\");\nclass $a1f174b1cdd8a4a7$var$OidcClient {\n static createHttpClient(allowRetry = true, maxRetry = 10) {\n const requestOptions = {\n allowRetries: allowRetry,\n maxRetries: maxRetry\n };\n return new $eamjo.HttpClient(\"actions/oidc-client\", [\n new $h6tQO.BearerCredentialHandler($a1f174b1cdd8a4a7$var$OidcClient.getRequestToken())\n ], requestOptions);\n }\n static getRequestToken() {\n const token = process.env[\"ACTIONS_ID_TOKEN_REQUEST_TOKEN\"];\n if (!token) throw new Error(\"Unable to get ACTIONS_ID_TOKEN_REQUEST_TOKEN env variable\");\n return token;\n }\n static getIDTokenUrl() {\n const runtimeUrl = process.env[\"ACTIONS_ID_TOKEN_REQUEST_URL\"];\n if (!runtimeUrl) throw new Error(\"Unable to get ACTIONS_ID_TOKEN_REQUEST_URL env variable\");\n return runtimeUrl;\n }\n static getCall(id_token_url) {\n var _a;\n return $a1f174b1cdd8a4a7$var$__awaiter(this, void 0, void 0, function*() {\n const httpclient = $a1f174b1cdd8a4a7$var$OidcClient.createHttpClient();\n const res = yield httpclient.getJson(id_token_url).catch((error)=>{\n throw new Error(`Failed to get ID Token. \\n \n Error Code : ${error.statusCode}\\n \n Error Message: ${error.message}`);\n });\n const id_token = (_a = res.result) === null || _a === void 0 ? void 0 : _a.value;\n if (!id_token) throw new Error(\"Response json body do not have ID Token field\");\n return id_token;\n });\n }\n static getIDToken(audience) {\n return $a1f174b1cdd8a4a7$var$__awaiter(this, void 0, void 0, function*() {\n try {\n // New ID Token is requested from action service\n let id_token_url = $a1f174b1cdd8a4a7$var$OidcClient.getIDTokenUrl();\n if (audience) {\n const encodedAudience = encodeURIComponent(audience);\n id_token_url = `${id_token_url}&audience=${encodedAudience}`;\n }\n $1o3Gj.debug(`ID token url is ${id_token_url}`);\n const id_token = yield $a1f174b1cdd8a4a7$var$OidcClient.getCall(id_token_url);\n $1o3Gj.setSecret(id_token);\n return id_token;\n } catch (error) {\n throw new Error(`Error message: ${error.message}`);\n }\n });\n }\n}\nmodule.exports.OidcClient = $a1f174b1cdd8a4a7$var$OidcClient;\n\n});\nparcelRegister(\"eamjo\", function(module, exports) {\n\"use strict\";\n/* eslint-disable @typescript-eslint/no-explicit-any */ var $02a957f9cba5526c$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $02a957f9cba5526c$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $02a957f9cba5526c$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $02a957f9cba5526c$var$__createBinding(result, mod, k);\n }\n $02a957f9cba5526c$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $02a957f9cba5526c$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.HttpClient = module.exports.isHttps = module.exports.HttpClientResponse = module.exports.HttpClientError = module.exports.getProxyUrl = module.exports.MediaTypes = module.exports.Headers = module.exports.HttpCodes = void 0;\n\nconst $02a957f9cba5526c$var$http = $02a957f9cba5526c$var$__importStar($4umf8$http);\n\nconst $02a957f9cba5526c$var$https = $02a957f9cba5526c$var$__importStar($4umf8$https);\n\nconst $02a957f9cba5526c$var$pm = $02a957f9cba5526c$var$__importStar((parcelRequire(\"jnrYh\")));\n\nconst $02a957f9cba5526c$var$tunnel = $02a957f9cba5526c$var$__importStar((parcelRequire(\"3RDK7\")));\nvar $02a957f9cba5526c$var$HttpCodes;\n(function(HttpCodes) {\n HttpCodes[HttpCodes[\"OK\"] = 200] = \"OK\";\n HttpCodes[HttpCodes[\"MultipleChoices\"] = 300] = \"MultipleChoices\";\n HttpCodes[HttpCodes[\"MovedPermanently\"] = 301] = \"MovedPermanently\";\n HttpCodes[HttpCodes[\"ResourceMoved\"] = 302] = \"ResourceMoved\";\n HttpCodes[HttpCodes[\"SeeOther\"] = 303] = \"SeeOther\";\n HttpCodes[HttpCodes[\"NotModified\"] = 304] = \"NotModified\";\n HttpCodes[HttpCodes[\"UseProxy\"] = 305] = \"UseProxy\";\n HttpCodes[HttpCodes[\"SwitchProxy\"] = 306] = \"SwitchProxy\";\n HttpCodes[HttpCodes[\"TemporaryRedirect\"] = 307] = \"TemporaryRedirect\";\n HttpCodes[HttpCodes[\"PermanentRedirect\"] = 308] = \"PermanentRedirect\";\n HttpCodes[HttpCodes[\"BadRequest\"] = 400] = \"BadRequest\";\n HttpCodes[HttpCodes[\"Unauthorized\"] = 401] = \"Unauthorized\";\n HttpCodes[HttpCodes[\"PaymentRequired\"] = 402] = \"PaymentRequired\";\n HttpCodes[HttpCodes[\"Forbidden\"] = 403] = \"Forbidden\";\n HttpCodes[HttpCodes[\"NotFound\"] = 404] = \"NotFound\";\n HttpCodes[HttpCodes[\"MethodNotAllowed\"] = 405] = \"MethodNotAllowed\";\n HttpCodes[HttpCodes[\"NotAcceptable\"] = 406] = \"NotAcceptable\";\n HttpCodes[HttpCodes[\"ProxyAuthenticationRequired\"] = 407] = \"ProxyAuthenticationRequired\";\n HttpCodes[HttpCodes[\"RequestTimeout\"] = 408] = \"RequestTimeout\";\n HttpCodes[HttpCodes[\"Conflict\"] = 409] = \"Conflict\";\n HttpCodes[HttpCodes[\"Gone\"] = 410] = \"Gone\";\n HttpCodes[HttpCodes[\"TooManyRequests\"] = 429] = \"TooManyRequests\";\n HttpCodes[HttpCodes[\"InternalServerError\"] = 500] = \"InternalServerError\";\n HttpCodes[HttpCodes[\"NotImplemented\"] = 501] = \"NotImplemented\";\n HttpCodes[HttpCodes[\"BadGateway\"] = 502] = \"BadGateway\";\n HttpCodes[HttpCodes[\"ServiceUnavailable\"] = 503] = \"ServiceUnavailable\";\n HttpCodes[HttpCodes[\"GatewayTimeout\"] = 504] = \"GatewayTimeout\";\n})($02a957f9cba5526c$var$HttpCodes = module.exports.HttpCodes || (module.exports.HttpCodes = {}));\nvar $02a957f9cba5526c$var$Headers;\n(function(Headers) {\n Headers[\"Accept\"] = \"accept\";\n Headers[\"ContentType\"] = \"content-type\";\n})($02a957f9cba5526c$var$Headers = module.exports.Headers || (module.exports.Headers = {}));\nvar $02a957f9cba5526c$var$MediaTypes;\n(function(MediaTypes) {\n MediaTypes[\"ApplicationJson\"] = \"application/json\";\n})($02a957f9cba5526c$var$MediaTypes = module.exports.MediaTypes || (module.exports.MediaTypes = {}));\n/**\n * Returns the proxy URL, depending upon the supplied url and proxy environment variables.\n * @param serverUrl The server URL where the request will be sent. For example, https://api.github.com\n */ function $02a957f9cba5526c$var$getProxyUrl(serverUrl) {\n const proxyUrl = $02a957f9cba5526c$var$pm.getProxyUrl(new URL(serverUrl));\n return proxyUrl ? proxyUrl.href : \"\";\n}\nmodule.exports.getProxyUrl = $02a957f9cba5526c$var$getProxyUrl;\nconst $02a957f9cba5526c$var$HttpRedirectCodes = [\n $02a957f9cba5526c$var$HttpCodes.MovedPermanently,\n $02a957f9cba5526c$var$HttpCodes.ResourceMoved,\n $02a957f9cba5526c$var$HttpCodes.SeeOther,\n $02a957f9cba5526c$var$HttpCodes.TemporaryRedirect,\n $02a957f9cba5526c$var$HttpCodes.PermanentRedirect\n];\nconst $02a957f9cba5526c$var$HttpResponseRetryCodes = [\n $02a957f9cba5526c$var$HttpCodes.BadGateway,\n $02a957f9cba5526c$var$HttpCodes.ServiceUnavailable,\n $02a957f9cba5526c$var$HttpCodes.GatewayTimeout\n];\nconst $02a957f9cba5526c$var$RetryableHttpVerbs = [\n \"OPTIONS\",\n \"GET\",\n \"DELETE\",\n \"HEAD\"\n];\nconst $02a957f9cba5526c$var$ExponentialBackoffCeiling = 10;\nconst $02a957f9cba5526c$var$ExponentialBackoffTimeSlice = 5;\nclass $02a957f9cba5526c$var$HttpClientError extends Error {\n constructor(message, statusCode){\n super(message);\n this.name = \"HttpClientError\";\n this.statusCode = statusCode;\n Object.setPrototypeOf(this, $02a957f9cba5526c$var$HttpClientError.prototype);\n }\n}\nmodule.exports.HttpClientError = $02a957f9cba5526c$var$HttpClientError;\nclass $02a957f9cba5526c$var$HttpClientResponse {\n constructor(message){\n this.message = message;\n }\n readBody() {\n return $02a957f9cba5526c$var$__awaiter(this, void 0, void 0, function*() {\n return new Promise((resolve)=>$02a957f9cba5526c$var$__awaiter(this, void 0, void 0, function*() {\n let output = Buffer.alloc(0);\n this.message.on(\"data\", (chunk)=>{\n output = Buffer.concat([\n output,\n chunk\n ]);\n });\n this.message.on(\"end\", ()=>{\n resolve(output.toString());\n });\n }));\n });\n }\n}\nmodule.exports.HttpClientResponse = $02a957f9cba5526c$var$HttpClientResponse;\nfunction $02a957f9cba5526c$var$isHttps(requestUrl) {\n const parsedUrl = new URL(requestUrl);\n return parsedUrl.protocol === \"https:\";\n}\nmodule.exports.isHttps = $02a957f9cba5526c$var$isHttps;\nclass $02a957f9cba5526c$var$HttpClient {\n constructor(userAgent, handlers, requestOptions){\n this._ignoreSslError = false;\n this._allowRedirects = true;\n this._allowRedirectDowngrade = false;\n this._maxRedirects = 50;\n this._allowRetries = false;\n this._maxRetries = 1;\n this._keepAlive = false;\n this._disposed = false;\n this.userAgent = userAgent;\n this.handlers = handlers || [];\n this.requestOptions = requestOptions;\n if (requestOptions) {\n if (requestOptions.ignoreSslError != null) this._ignoreSslError = requestOptions.ignoreSslError;\n this._socketTimeout = requestOptions.socketTimeout;\n if (requestOptions.allowRedirects != null) this._allowRedirects = requestOptions.allowRedirects;\n if (requestOptions.allowRedirectDowngrade != null) this._allowRedirectDowngrade = requestOptions.allowRedirectDowngrade;\n if (requestOptions.maxRedirects != null) this._maxRedirects = Math.max(requestOptions.maxRedirects, 0);\n if (requestOptions.keepAlive != null) this._keepAlive = requestOptions.keepAlive;\n if (requestOptions.allowRetries != null) this._allowRetries = requestOptions.allowRetries;\n if (requestOptions.maxRetries != null) this._maxRetries = requestOptions.maxRetries;\n }\n }\n options(requestUrl, additionalHeaders) {\n return $02a957f9cba5526c$var$__awaiter(this, void 0, void 0, function*() {\n return this.request(\"OPTIONS\", requestUrl, null, additionalHeaders || {});\n });\n }\n get(requestUrl, additionalHeaders) {\n return $02a957f9cba5526c$var$__awaiter(this, void 0, void 0, function*() {\n return this.request(\"GET\", requestUrl, null, additionalHeaders || {});\n });\n }\n del(requestUrl, additionalHeaders) {\n return $02a957f9cba5526c$var$__awaiter(this, void 0, void 0, function*() {\n return this.request(\"DELETE\", requestUrl, null, additionalHeaders || {});\n });\n }\n post(requestUrl, data, additionalHeaders) {\n return $02a957f9cba5526c$var$__awaiter(this, void 0, void 0, function*() {\n return this.request(\"POST\", requestUrl, data, additionalHeaders || {});\n });\n }\n patch(requestUrl, data, additionalHeaders) {\n return $02a957f9cba5526c$var$__awaiter(this, void 0, void 0, function*() {\n return this.request(\"PATCH\", requestUrl, data, additionalHeaders || {});\n });\n }\n put(requestUrl, data, additionalHeaders) {\n return $02a957f9cba5526c$var$__awaiter(this, void 0, void 0, function*() {\n return this.request(\"PUT\", requestUrl, data, additionalHeaders || {});\n });\n }\n head(requestUrl, additionalHeaders) {\n return $02a957f9cba5526c$var$__awaiter(this, void 0, void 0, function*() {\n return this.request(\"HEAD\", requestUrl, null, additionalHeaders || {});\n });\n }\n sendStream(verb, requestUrl, stream, additionalHeaders) {\n return $02a957f9cba5526c$var$__awaiter(this, void 0, void 0, function*() {\n return this.request(verb, requestUrl, stream, additionalHeaders);\n });\n }\n /**\n * Gets a typed object from an endpoint\n * Be aware that not found returns a null. Other errors (4xx, 5xx) reject the promise\n */ getJson(requestUrl, additionalHeaders = {}) {\n return $02a957f9cba5526c$var$__awaiter(this, void 0, void 0, function*() {\n additionalHeaders[$02a957f9cba5526c$var$Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, $02a957f9cba5526c$var$Headers.Accept, $02a957f9cba5526c$var$MediaTypes.ApplicationJson);\n const res = yield this.get(requestUrl, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n });\n }\n postJson(requestUrl, obj, additionalHeaders = {}) {\n return $02a957f9cba5526c$var$__awaiter(this, void 0, void 0, function*() {\n const data = JSON.stringify(obj, null, 2);\n additionalHeaders[$02a957f9cba5526c$var$Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, $02a957f9cba5526c$var$Headers.Accept, $02a957f9cba5526c$var$MediaTypes.ApplicationJson);\n additionalHeaders[$02a957f9cba5526c$var$Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, $02a957f9cba5526c$var$Headers.ContentType, $02a957f9cba5526c$var$MediaTypes.ApplicationJson);\n const res = yield this.post(requestUrl, data, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n });\n }\n putJson(requestUrl, obj, additionalHeaders = {}) {\n return $02a957f9cba5526c$var$__awaiter(this, void 0, void 0, function*() {\n const data = JSON.stringify(obj, null, 2);\n additionalHeaders[$02a957f9cba5526c$var$Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, $02a957f9cba5526c$var$Headers.Accept, $02a957f9cba5526c$var$MediaTypes.ApplicationJson);\n additionalHeaders[$02a957f9cba5526c$var$Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, $02a957f9cba5526c$var$Headers.ContentType, $02a957f9cba5526c$var$MediaTypes.ApplicationJson);\n const res = yield this.put(requestUrl, data, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n });\n }\n patchJson(requestUrl, obj, additionalHeaders = {}) {\n return $02a957f9cba5526c$var$__awaiter(this, void 0, void 0, function*() {\n const data = JSON.stringify(obj, null, 2);\n additionalHeaders[$02a957f9cba5526c$var$Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, $02a957f9cba5526c$var$Headers.Accept, $02a957f9cba5526c$var$MediaTypes.ApplicationJson);\n additionalHeaders[$02a957f9cba5526c$var$Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, $02a957f9cba5526c$var$Headers.ContentType, $02a957f9cba5526c$var$MediaTypes.ApplicationJson);\n const res = yield this.patch(requestUrl, data, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n });\n }\n /**\n * Makes a raw http request.\n * All other methods such as get, post, patch, and request ultimately call this.\n * Prefer get, del, post and patch\n */ request(verb, requestUrl, data, headers) {\n return $02a957f9cba5526c$var$__awaiter(this, void 0, void 0, function*() {\n if (this._disposed) throw new Error(\"Client has already been disposed.\");\n const parsedUrl = new URL(requestUrl);\n let info = this._prepareRequest(verb, parsedUrl, headers);\n // Only perform retries on reads since writes may not be idempotent.\n const maxTries = this._allowRetries && $02a957f9cba5526c$var$RetryableHttpVerbs.includes(verb) ? this._maxRetries + 1 : 1;\n let numTries = 0;\n let response;\n do {\n response = yield this.requestRaw(info, data);\n // Check if it's an authentication challenge\n if (response && response.message && response.message.statusCode === $02a957f9cba5526c$var$HttpCodes.Unauthorized) {\n let authenticationHandler;\n for (const handler of this.handlers)if (handler.canHandleAuthentication(response)) {\n authenticationHandler = handler;\n break;\n }\n if (authenticationHandler) return authenticationHandler.handleAuthentication(this, info, data);\n else // We have received an unauthorized response but have no handlers to handle it.\n // Let the response return to the caller.\n return response;\n }\n let redirectsRemaining = this._maxRedirects;\n while(response.message.statusCode && $02a957f9cba5526c$var$HttpRedirectCodes.includes(response.message.statusCode) && this._allowRedirects && redirectsRemaining > 0){\n const redirectUrl = response.message.headers[\"location\"];\n if (!redirectUrl) break;\n const parsedRedirectUrl = new URL(redirectUrl);\n if (parsedUrl.protocol === \"https:\" && parsedUrl.protocol !== parsedRedirectUrl.protocol && !this._allowRedirectDowngrade) throw new 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.\");\n // we need to finish reading the response before reassigning response\n // which will leak the open socket.\n yield response.readBody();\n // strip authorization header if redirected to a different hostname\n if (parsedRedirectUrl.hostname !== parsedUrl.hostname) {\n for(const header in headers)// header names are case insensitive\n if (header.toLowerCase() === \"authorization\") delete headers[header];\n }\n // let's make the request with the new redirectUrl\n info = this._prepareRequest(verb, parsedRedirectUrl, headers);\n response = yield this.requestRaw(info, data);\n redirectsRemaining--;\n }\n if (!response.message.statusCode || !$02a957f9cba5526c$var$HttpResponseRetryCodes.includes(response.message.statusCode)) // If not a retry code, return immediately instead of retrying\n return response;\n numTries += 1;\n if (numTries < maxTries) {\n yield response.readBody();\n yield this._performExponentialBackoff(numTries);\n }\n }while (numTries < maxTries);\n return response;\n });\n }\n /**\n * Needs to be called if keepAlive is set to true in request options.\n */ dispose() {\n if (this._agent) this._agent.destroy();\n this._disposed = true;\n }\n /**\n * Raw request.\n * @param info\n * @param data\n */ requestRaw(info, data) {\n return $02a957f9cba5526c$var$__awaiter(this, void 0, void 0, function*() {\n return new Promise((resolve, reject)=>{\n function callbackForResult(err, res) {\n if (err) reject(err);\n else if (!res) // If `err` is not passed, then `res` must be passed.\n reject(new Error(\"Unknown error\"));\n else resolve(res);\n }\n this.requestRawWithCallback(info, data, callbackForResult);\n });\n });\n }\n /**\n * Raw request with callback.\n * @param info\n * @param data\n * @param onResult\n */ requestRawWithCallback(info, data, onResult) {\n if (typeof data === \"string\") {\n if (!info.options.headers) info.options.headers = {};\n info.options.headers[\"Content-Length\"] = Buffer.byteLength(data, \"utf8\");\n }\n let callbackCalled = false;\n function handleResult(err, res) {\n if (!callbackCalled) {\n callbackCalled = true;\n onResult(err, res);\n }\n }\n const req = info.httpModule.request(info.options, (msg)=>{\n const res = new $02a957f9cba5526c$var$HttpClientResponse(msg);\n handleResult(undefined, res);\n });\n let socket;\n req.on(\"socket\", (sock)=>{\n socket = sock;\n });\n // If we ever get disconnected, we want the socket to timeout eventually\n req.setTimeout(this._socketTimeout || 180000, ()=>{\n if (socket) socket.end();\n handleResult(new Error(`Request timeout: ${info.options.path}`));\n });\n req.on(\"error\", function(err) {\n // err has statusCode property\n // res should have headers\n handleResult(err);\n });\n if (data && typeof data === \"string\") req.write(data, \"utf8\");\n if (data && typeof data !== \"string\") {\n data.on(\"close\", function() {\n req.end();\n });\n data.pipe(req);\n } else req.end();\n }\n /**\n * Gets an http agent. This function is useful when you need an http agent that handles\n * routing through a proxy server - depending upon the url and proxy environment variables.\n * @param serverUrl The server URL where the request will be sent. For example, https://api.github.com\n */ getAgent(serverUrl) {\n const parsedUrl = new URL(serverUrl);\n return this._getAgent(parsedUrl);\n }\n _prepareRequest(method, requestUrl, headers) {\n const info = {};\n info.parsedUrl = requestUrl;\n const usingSsl = info.parsedUrl.protocol === \"https:\";\n info.httpModule = usingSsl ? $02a957f9cba5526c$var$https : $02a957f9cba5526c$var$http;\n const defaultPort = usingSsl ? 443 : 80;\n info.options = {};\n info.options.host = info.parsedUrl.hostname;\n info.options.port = info.parsedUrl.port ? parseInt(info.parsedUrl.port) : defaultPort;\n info.options.path = (info.parsedUrl.pathname || \"\") + (info.parsedUrl.search || \"\");\n info.options.method = method;\n info.options.headers = this._mergeHeaders(headers);\n if (this.userAgent != null) info.options.headers[\"user-agent\"] = this.userAgent;\n info.options.agent = this._getAgent(info.parsedUrl);\n // gives handlers an opportunity to participate\n if (this.handlers) for (const handler of this.handlers)handler.prepareRequest(info.options);\n return info;\n }\n _mergeHeaders(headers) {\n if (this.requestOptions && this.requestOptions.headers) return Object.assign({}, $02a957f9cba5526c$var$lowercaseKeys(this.requestOptions.headers), $02a957f9cba5526c$var$lowercaseKeys(headers || {}));\n return $02a957f9cba5526c$var$lowercaseKeys(headers || {});\n }\n _getExistingOrDefaultHeader(additionalHeaders, header, _default) {\n let clientHeader;\n if (this.requestOptions && this.requestOptions.headers) clientHeader = $02a957f9cba5526c$var$lowercaseKeys(this.requestOptions.headers)[header];\n return additionalHeaders[header] || clientHeader || _default;\n }\n _getAgent(parsedUrl) {\n let agent;\n const proxyUrl = $02a957f9cba5526c$var$pm.getProxyUrl(parsedUrl);\n const useProxy = proxyUrl && proxyUrl.hostname;\n if (this._keepAlive && useProxy) agent = this._proxyAgent;\n if (this._keepAlive && !useProxy) agent = this._agent;\n // if agent is already assigned use that agent.\n if (agent) return agent;\n const usingSsl = parsedUrl.protocol === \"https:\";\n let maxSockets = 100;\n if (this.requestOptions) maxSockets = this.requestOptions.maxSockets || $02a957f9cba5526c$var$http.globalAgent.maxSockets;\n // This is `useProxy` again, but we need to check `proxyURl` directly for TypeScripts's flow analysis.\n if (proxyUrl && proxyUrl.hostname) {\n const agentOptions = {\n maxSockets: maxSockets,\n keepAlive: this._keepAlive,\n proxy: Object.assign(Object.assign({}, (proxyUrl.username || proxyUrl.password) && {\n proxyAuth: `${proxyUrl.username}:${proxyUrl.password}`\n }), {\n host: proxyUrl.hostname,\n port: proxyUrl.port\n })\n };\n let tunnelAgent;\n const overHttps = proxyUrl.protocol === \"https:\";\n if (usingSsl) tunnelAgent = overHttps ? $02a957f9cba5526c$var$tunnel.httpsOverHttps : $02a957f9cba5526c$var$tunnel.httpsOverHttp;\n else tunnelAgent = overHttps ? $02a957f9cba5526c$var$tunnel.httpOverHttps : $02a957f9cba5526c$var$tunnel.httpOverHttp;\n agent = tunnelAgent(agentOptions);\n this._proxyAgent = agent;\n }\n // if reusing agent across request and tunneling agent isn't assigned create a new agent\n if (this._keepAlive && !agent) {\n const options = {\n keepAlive: this._keepAlive,\n maxSockets: maxSockets\n };\n agent = usingSsl ? new $02a957f9cba5526c$var$https.Agent(options) : new $02a957f9cba5526c$var$http.Agent(options);\n this._agent = agent;\n }\n // if not using private agent and tunnel agent isn't setup then use global agent\n if (!agent) agent = usingSsl ? $02a957f9cba5526c$var$https.globalAgent : $02a957f9cba5526c$var$http.globalAgent;\n if (usingSsl && this._ignoreSslError) // we don't want to set NODE_TLS_REJECT_UNAUTHORIZED=0 since that will affect request for entire process\n // http.RequestOptions doesn't expose a way to modify RequestOptions.agent.options\n // we have to cast it to any and change it directly\n agent.options = Object.assign(agent.options || {}, {\n rejectUnauthorized: false\n });\n return agent;\n }\n _performExponentialBackoff(retryNumber) {\n return $02a957f9cba5526c$var$__awaiter(this, void 0, void 0, function*() {\n retryNumber = Math.min($02a957f9cba5526c$var$ExponentialBackoffCeiling, retryNumber);\n const ms = $02a957f9cba5526c$var$ExponentialBackoffTimeSlice * Math.pow(2, retryNumber);\n return new Promise((resolve)=>setTimeout(()=>resolve(), ms));\n });\n }\n _processResponse(res, options) {\n return $02a957f9cba5526c$var$__awaiter(this, void 0, void 0, function*() {\n return new Promise((resolve, reject)=>$02a957f9cba5526c$var$__awaiter(this, void 0, void 0, function*() {\n const statusCode = res.message.statusCode || 0;\n const response = {\n statusCode: statusCode,\n result: null,\n headers: {}\n };\n // not found leads to null obj returned\n if (statusCode === $02a957f9cba5526c$var$HttpCodes.NotFound) resolve(response);\n // get the result from the body\n function dateTimeDeserializer(key, value) {\n if (typeof value === \"string\") {\n const a = new Date(value);\n if (!isNaN(a.valueOf())) return a;\n }\n return value;\n }\n let obj;\n let contents;\n try {\n contents = yield res.readBody();\n if (contents && contents.length > 0) {\n if (options && options.deserializeDates) obj = JSON.parse(contents, dateTimeDeserializer);\n else obj = JSON.parse(contents);\n response.result = obj;\n }\n response.headers = res.message.headers;\n } catch (err) {\n // Invalid resource (contents not json); leaving result obj null\n }\n // note that 3xx redirects are handled by the http layer.\n if (statusCode > 299) {\n let msg;\n // if exception/error in body, attempt to get better error\n if (obj && obj.message) msg = obj.message;\n else if (contents && contents.length > 0) // it may be the case that the exception is in the body message as string\n msg = contents;\n else msg = `Failed request: (${statusCode})`;\n const err = new $02a957f9cba5526c$var$HttpClientError(msg, statusCode);\n err.result = response.result;\n reject(err);\n } else resolve(response);\n }));\n });\n }\n}\nmodule.exports.HttpClient = $02a957f9cba5526c$var$HttpClient;\nconst $02a957f9cba5526c$var$lowercaseKeys = (obj)=>Object.keys(obj).reduce((c, k)=>(c[k.toLowerCase()] = obj[k], c), {});\n\n});\nparcelRegister(\"jnrYh\", function(module, exports) {\n\"use strict\";\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.checkBypass = module.exports.getProxyUrl = void 0;\nfunction $e1b5dcd4d3bc6d63$var$getProxyUrl(reqUrl) {\n const usingSsl = reqUrl.protocol === \"https:\";\n if ($e1b5dcd4d3bc6d63$var$checkBypass(reqUrl)) return undefined;\n const proxyVar = (()=>{\n if (usingSsl) return process.env[\"https_proxy\"] || process.env[\"HTTPS_PROXY\"];\n else return process.env[\"http_proxy\"] || process.env[\"HTTP_PROXY\"];\n })();\n if (proxyVar) return new URL(proxyVar);\n else return undefined;\n}\nmodule.exports.getProxyUrl = $e1b5dcd4d3bc6d63$var$getProxyUrl;\nfunction $e1b5dcd4d3bc6d63$var$checkBypass(reqUrl) {\n if (!reqUrl.hostname) return false;\n const reqHost = reqUrl.hostname;\n if ($e1b5dcd4d3bc6d63$var$isLoopbackAddress(reqHost)) return true;\n const noProxy = process.env[\"no_proxy\"] || process.env[\"NO_PROXY\"] || \"\";\n if (!noProxy) return false;\n // Determine the request port\n let reqPort;\n if (reqUrl.port) reqPort = Number(reqUrl.port);\n else if (reqUrl.protocol === \"http:\") reqPort = 80;\n else if (reqUrl.protocol === \"https:\") reqPort = 443;\n // Format the request hostname and hostname with port\n const upperReqHosts = [\n reqUrl.hostname.toUpperCase()\n ];\n if (typeof reqPort === \"number\") upperReqHosts.push(`${upperReqHosts[0]}:${reqPort}`);\n // Compare request host against noproxy\n for (const upperNoProxyItem of noProxy.split(\",\").map((x)=>x.trim().toUpperCase()).filter((x)=>x)){\n if (upperNoProxyItem === \"*\" || upperReqHosts.some((x)=>x === upperNoProxyItem || x.endsWith(`.${upperNoProxyItem}`) || upperNoProxyItem.startsWith(\".\") && x.endsWith(`${upperNoProxyItem}`))) return true;\n }\n return false;\n}\nmodule.exports.checkBypass = $e1b5dcd4d3bc6d63$var$checkBypass;\nfunction $e1b5dcd4d3bc6d63$var$isLoopbackAddress(host) {\n const hostLower = host.toLowerCase();\n return hostLower === \"localhost\" || hostLower.startsWith(\"127.\") || hostLower.startsWith(\"[::1]\") || hostLower.startsWith(\"[0:0:0:0:0:0:0:1]\");\n}\n\n});\n\nparcelRegister(\"3RDK7\", function(module, exports) {\n\nmodule.exports = (parcelRequire(\"jZQ4B\"));\n\n});\nparcelRegister(\"jZQ4B\", function(module, exports) {\n\n$parcel$export(module.exports, \"httpOverHttp\", () => $e8ec1b78916bb724$export$25cbd437c61a3835, (v) => $e8ec1b78916bb724$export$25cbd437c61a3835 = v);\n$parcel$export(module.exports, \"httpsOverHttp\", () => $e8ec1b78916bb724$export$c06e3df7111bae43, (v) => $e8ec1b78916bb724$export$c06e3df7111bae43 = v);\n$parcel$export(module.exports, \"httpOverHttps\", () => $e8ec1b78916bb724$export$5d50e36ef656139f, (v) => $e8ec1b78916bb724$export$5d50e36ef656139f = v);\n$parcel$export(module.exports, \"httpsOverHttps\", () => $e8ec1b78916bb724$export$212d6605025321cc, (v) => $e8ec1b78916bb724$export$212d6605025321cc = v);\n$parcel$export(module.exports, \"debug\", () => $e8ec1b78916bb724$export$1c9f709888824e05, (v) => $e8ec1b78916bb724$export$1c9f709888824e05 = v);\nvar $e8ec1b78916bb724$export$25cbd437c61a3835;\nvar $e8ec1b78916bb724$export$c06e3df7111bae43;\nvar $e8ec1b78916bb724$export$5d50e36ef656139f;\nvar $e8ec1b78916bb724$export$212d6605025321cc;\nvar $e8ec1b78916bb724$export$1c9f709888824e05;\n\"use strict\";\n\n\n\n\n\n\n\n$e8ec1b78916bb724$export$25cbd437c61a3835 = $e8ec1b78916bb724$var$httpOverHttp;\n$e8ec1b78916bb724$export$c06e3df7111bae43 = $e8ec1b78916bb724$var$httpsOverHttp;\n$e8ec1b78916bb724$export$5d50e36ef656139f = $e8ec1b78916bb724$var$httpOverHttps;\n$e8ec1b78916bb724$export$212d6605025321cc = $e8ec1b78916bb724$var$httpsOverHttps;\nfunction $e8ec1b78916bb724$var$httpOverHttp(options) {\n var agent = new $e8ec1b78916bb724$var$TunnelingAgent(options);\n agent.request = $4umf8$http.request;\n return agent;\n}\nfunction $e8ec1b78916bb724$var$httpsOverHttp(options) {\n var agent = new $e8ec1b78916bb724$var$TunnelingAgent(options);\n agent.request = $4umf8$http.request;\n agent.createSocket = $e8ec1b78916bb724$var$createSecureSocket;\n agent.defaultPort = 443;\n return agent;\n}\nfunction $e8ec1b78916bb724$var$httpOverHttps(options) {\n var agent = new $e8ec1b78916bb724$var$TunnelingAgent(options);\n agent.request = $4umf8$https.request;\n return agent;\n}\nfunction $e8ec1b78916bb724$var$httpsOverHttps(options) {\n var agent = new $e8ec1b78916bb724$var$TunnelingAgent(options);\n agent.request = $4umf8$https.request;\n agent.createSocket = $e8ec1b78916bb724$var$createSecureSocket;\n agent.defaultPort = 443;\n return agent;\n}\nfunction $e8ec1b78916bb724$var$TunnelingAgent(options) {\n var self = this;\n self.options = options || {};\n self.proxyOptions = self.options.proxy || {};\n self.maxSockets = self.options.maxSockets || $4umf8$http.Agent.defaultMaxSockets;\n self.requests = [];\n self.sockets = [];\n self.on(\"free\", function onFree(socket, host, port, localAddress) {\n var options = $e8ec1b78916bb724$var$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}\n$4umf8$util.inherits($e8ec1b78916bb724$var$TunnelingAgent, $4umf8$events.EventEmitter);\n$e8ec1b78916bb724$var$TunnelingAgent.prototype.addRequest = function addRequest(req, host, port, localAddress) {\n var self = this;\n var options = $e8ec1b78916bb724$var$mergeOptions({\n request: req\n }, self.options, $e8ec1b78916bb724$var$toOptions(host, port, localAddress));\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 // 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 function onFree() {\n self.emit(\"free\", socket, options);\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$e8ec1b78916bb724$var$TunnelingAgent.prototype.createSocket = function createSocket(options, cb) {\n var self = this;\n var placeholder = {};\n self.sockets.push(placeholder);\n var connectOptions = $e8ec1b78916bb724$var$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) connectOptions.localAddress = options.localAddress;\n if (connectOptions.proxyAuth) {\n connectOptions.headers = connectOptions.headers || {};\n connectOptions.headers[\"Proxy-Authorization\"] = \"Basic \" + new Buffer(connectOptions.proxyAuth).toString(\"base64\");\n }\n $e8ec1b78916bb724$var$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 function onResponse(res) {\n // Very hacky. This is necessary to avoid http-parser leaks.\n res.upgrade = true;\n }\n function onUpgrade(res, socket, head) {\n // Hacky.\n process.nextTick(function() {\n onConnect(res, socket, head);\n });\n }\n function onConnect(res, socket, head) {\n connectReq.removeAllListeners();\n socket.removeAllListeners();\n if (res.statusCode !== 200) {\n $e8ec1b78916bb724$var$debug(\"tunneling socket could not be established, statusCode=%d\", res.statusCode);\n socket.destroy();\n var error = new Error(\"tunneling socket could not be established, 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 $e8ec1b78916bb724$var$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 $e8ec1b78916bb724$var$debug(\"tunneling connection has established\");\n self.sockets[self.sockets.indexOf(placeholder)] = socket;\n return cb(socket);\n }\n function onError(cause) {\n connectReq.removeAllListeners();\n $e8ec1b78916bb724$var$debug(\"tunneling socket could not be established, cause=%s\\n\", cause.message, cause.stack);\n var error = new Error(\"tunneling socket could not be established, cause=\" + cause.message);\n error.code = \"ECONNRESET\";\n options.request.emit(\"error\", error);\n self.removeSocket(placeholder);\n }\n};\n$e8ec1b78916bb724$var$TunnelingAgent.prototype.removeSocket = function removeSocket(socket) {\n var pos = this.sockets.indexOf(socket);\n if (pos === -1) return;\n this.sockets.splice(pos, 1);\n var pending = this.requests.shift();\n if (pending) // 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};\nfunction $e8ec1b78916bb724$var$createSecureSocket(options, cb) {\n var self = this;\n $e8ec1b78916bb724$var$TunnelingAgent.prototype.createSocket.call(self, options, function(socket) {\n var hostHeader = options.request.getHeader(\"host\");\n var tlsOptions = $e8ec1b78916bb724$var$mergeOptions({}, self.options, {\n socket: socket,\n servername: hostHeader ? hostHeader.replace(/:.*$/, \"\") : options.host\n });\n // 0 is dummy port for v0.6\n var secureSocket = $4umf8$tls.connect(0, tlsOptions);\n self.sockets[self.sockets.indexOf(socket)] = secureSocket;\n cb(secureSocket);\n });\n}\nfunction $e8ec1b78916bb724$var$toOptions(host, port, localAddress) {\n if (typeof host === \"string\") return {\n host: host,\n port: port,\n localAddress: localAddress\n };\n return host; // for v0.11 or later\n}\nfunction $e8ec1b78916bb724$var$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) target[k] = overrides[k];\n }\n }\n }\n return target;\n}\nvar $e8ec1b78916bb724$var$debug;\nif (process.env.NODE_DEBUG && /\\btunnel\\b/.test(process.env.NODE_DEBUG)) $e8ec1b78916bb724$var$debug = function() {\n var args = Array.prototype.slice.call(arguments);\n if (typeof args[0] === \"string\") args[0] = \"TUNNEL: \" + args[0];\n else args.unshift(\"TUNNEL:\");\n console.error.apply(console, args);\n};\nelse $e8ec1b78916bb724$var$debug = function() {};\n$e8ec1b78916bb724$export$1c9f709888824e05 = $e8ec1b78916bb724$var$debug; // for test\n\n});\n\n\n\nparcelRegister(\"h6tQO\", function(module, exports) {\n\"use strict\";\nvar $c73a26f8594778ef$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.PersonalAccessTokenCredentialHandler = module.exports.BearerCredentialHandler = module.exports.BasicCredentialHandler = void 0;\nclass $c73a26f8594778ef$var$BasicCredentialHandler {\n constructor(username, password){\n this.username = username;\n this.password = password;\n }\n prepareRequest(options) {\n if (!options.headers) throw Error(\"The request has no headers\");\n options.headers[\"Authorization\"] = `Basic ${Buffer.from(`${this.username}:${this.password}`).toString(\"base64\")}`;\n }\n // This handler cannot handle 401\n canHandleAuthentication() {\n return false;\n }\n handleAuthentication() {\n return $c73a26f8594778ef$var$__awaiter(this, void 0, void 0, function*() {\n throw new Error(\"not implemented\");\n });\n }\n}\nmodule.exports.BasicCredentialHandler = $c73a26f8594778ef$var$BasicCredentialHandler;\nclass $c73a26f8594778ef$var$BearerCredentialHandler {\n constructor(token){\n this.token = token;\n }\n // currently implements pre-authorization\n // TODO: support preAuth = false where it hooks on 401\n prepareRequest(options) {\n if (!options.headers) throw Error(\"The request has no headers\");\n options.headers[\"Authorization\"] = `Bearer ${this.token}`;\n }\n // This handler cannot handle 401\n canHandleAuthentication() {\n return false;\n }\n handleAuthentication() {\n return $c73a26f8594778ef$var$__awaiter(this, void 0, void 0, function*() {\n throw new Error(\"not implemented\");\n });\n }\n}\nmodule.exports.BearerCredentialHandler = $c73a26f8594778ef$var$BearerCredentialHandler;\nclass $c73a26f8594778ef$var$PersonalAccessTokenCredentialHandler {\n constructor(token){\n this.token = token;\n }\n // currently implements pre-authorization\n // TODO: support preAuth = false where it hooks on 401\n prepareRequest(options) {\n if (!options.headers) throw Error(\"The request has no headers\");\n options.headers[\"Authorization\"] = `Basic ${Buffer.from(`PAT:${this.token}`).toString(\"base64\")}`;\n }\n // This handler cannot handle 401\n canHandleAuthentication() {\n return false;\n }\n handleAuthentication() {\n return $c73a26f8594778ef$var$__awaiter(this, void 0, void 0, function*() {\n throw new Error(\"not implemented\");\n });\n }\n}\nmodule.exports.PersonalAccessTokenCredentialHandler = $c73a26f8594778ef$var$PersonalAccessTokenCredentialHandler;\n\n});\n\n\nparcelRegister(\"dV9Cu\", function(module, exports) {\n\"use strict\";\nvar $a2280f869d17820a$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.summary = module.exports.markdownSummary = module.exports.SUMMARY_DOCS_URL = module.exports.SUMMARY_ENV_VAR = void 0;\n\n\nconst { access: $a2280f869d17820a$var$access, appendFile: $a2280f869d17820a$var$appendFile, writeFile: $a2280f869d17820a$var$writeFile } = $4umf8$fs.promises;\nmodule.exports.SUMMARY_ENV_VAR = \"GITHUB_STEP_SUMMARY\";\nmodule.exports.SUMMARY_DOCS_URL = \"https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions#adding-a-job-summary\";\nclass $a2280f869d17820a$var$Summary {\n constructor(){\n this._buffer = \"\";\n }\n /**\n * Finds the summary file path from the environment, rejects if env var is not found or file does not exist\n * Also checks r/w permissions.\n *\n * @returns step summary file path\n */ filePath() {\n return $a2280f869d17820a$var$__awaiter(this, void 0, void 0, function*() {\n if (this._filePath) return this._filePath;\n const pathFromEnv = process.env[module.exports.SUMMARY_ENV_VAR];\n if (!pathFromEnv) throw new Error(`Unable to find environment variable for $${module.exports.SUMMARY_ENV_VAR}. Check if your runtime environment supports job summaries.`);\n try {\n yield $a2280f869d17820a$var$access(pathFromEnv, $4umf8$fs.constants.R_OK | $4umf8$fs.constants.W_OK);\n } catch (_a) {\n throw new Error(`Unable to access summary file: '${pathFromEnv}'. Check if the file has correct read/write permissions.`);\n }\n this._filePath = pathFromEnv;\n return this._filePath;\n });\n }\n /**\n * Wraps content in an HTML tag, adding any HTML attributes\n *\n * @param {string} tag HTML tag to wrap\n * @param {string | null} content content within the tag\n * @param {[attribute: string]: string} attrs key-value list of HTML attributes to add\n *\n * @returns {string} content wrapped in HTML element\n */ wrap(tag, content, attrs = {}) {\n const htmlAttrs = Object.entries(attrs).map(([key, value])=>` ${key}=\"${value}\"`).join(\"\");\n if (!content) return `<${tag}${htmlAttrs}>`;\n return `<${tag}${htmlAttrs}>${content}`;\n }\n /**\n * Writes text in the buffer to the summary buffer file and empties buffer. Will append by default.\n *\n * @param {SummaryWriteOptions} [options] (optional) options for write operation\n *\n * @returns {Promise} summary instance\n */ write(options) {\n return $a2280f869d17820a$var$__awaiter(this, void 0, void 0, function*() {\n const overwrite = !!(options === null || options === void 0 ? void 0 : options.overwrite);\n const filePath = yield this.filePath();\n const writeFunc = overwrite ? $a2280f869d17820a$var$writeFile : $a2280f869d17820a$var$appendFile;\n yield writeFunc(filePath, this._buffer, {\n encoding: \"utf8\"\n });\n return this.emptyBuffer();\n });\n }\n /**\n * Clears the summary buffer and wipes the summary file\n *\n * @returns {Summary} summary instance\n */ clear() {\n return $a2280f869d17820a$var$__awaiter(this, void 0, void 0, function*() {\n return this.emptyBuffer().write({\n overwrite: true\n });\n });\n }\n /**\n * Returns the current summary buffer as a string\n *\n * @returns {string} string of summary buffer\n */ stringify() {\n return this._buffer;\n }\n /**\n * If the summary buffer is empty\n *\n * @returns {boolen} true if the buffer is empty\n */ isEmptyBuffer() {\n return this._buffer.length === 0;\n }\n /**\n * Resets the summary buffer without writing to summary file\n *\n * @returns {Summary} summary instance\n */ emptyBuffer() {\n this._buffer = \"\";\n return this;\n }\n /**\n * Adds raw text to the summary buffer\n *\n * @param {string} text content to add\n * @param {boolean} [addEOL=false] (optional) append an EOL to the raw text (default: false)\n *\n * @returns {Summary} summary instance\n */ addRaw(text, addEOL = false) {\n this._buffer += text;\n return addEOL ? this.addEOL() : this;\n }\n /**\n * Adds the operating system-specific end-of-line marker to the buffer\n *\n * @returns {Summary} summary instance\n */ addEOL() {\n return this.addRaw($4umf8$os.EOL);\n }\n /**\n * Adds an HTML codeblock to the summary buffer\n *\n * @param {string} code content to render within fenced code block\n * @param {string} lang (optional) language to syntax highlight code\n *\n * @returns {Summary} summary instance\n */ addCodeBlock(code, lang) {\n const attrs = Object.assign({}, lang && {\n lang: lang\n });\n const element = this.wrap(\"pre\", this.wrap(\"code\", code), attrs);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML list to the summary buffer\n *\n * @param {string[]} items list of items to render\n * @param {boolean} [ordered=false] (optional) if the rendered list should be ordered or not (default: false)\n *\n * @returns {Summary} summary instance\n */ addList(items, ordered = false) {\n const tag = ordered ? \"ol\" : \"ul\";\n const listItems = items.map((item)=>this.wrap(\"li\", item)).join(\"\");\n const element = this.wrap(tag, listItems);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML table to the summary buffer\n *\n * @param {SummaryTableCell[]} rows table rows\n *\n * @returns {Summary} summary instance\n */ addTable(rows) {\n const tableBody = rows.map((row)=>{\n const cells = row.map((cell)=>{\n if (typeof cell === \"string\") return this.wrap(\"td\", cell);\n const { header: header, data: data, colspan: colspan, rowspan: rowspan } = cell;\n const tag = header ? \"th\" : \"td\";\n const attrs = Object.assign(Object.assign({}, colspan && {\n colspan: colspan\n }), rowspan && {\n rowspan: rowspan\n });\n return this.wrap(tag, data, attrs);\n }).join(\"\");\n return this.wrap(\"tr\", cells);\n }).join(\"\");\n const element = this.wrap(\"table\", tableBody);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds a collapsable HTML details element to the summary buffer\n *\n * @param {string} label text for the closed state\n * @param {string} content collapsable content\n *\n * @returns {Summary} summary instance\n */ addDetails(label, content) {\n const element = this.wrap(\"details\", this.wrap(\"summary\", label) + content);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML image tag to the summary buffer\n *\n * @param {string} src path to the image you to embed\n * @param {string} alt text description of the image\n * @param {SummaryImageOptions} options (optional) addition image attributes\n *\n * @returns {Summary} summary instance\n */ addImage(src, alt, options) {\n const { width: width, height: height } = options || {};\n const attrs = Object.assign(Object.assign({}, width && {\n width: width\n }), height && {\n height: height\n });\n const element = this.wrap(\"img\", null, Object.assign({\n src: src,\n alt: alt\n }, attrs));\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML section heading element\n *\n * @param {string} text heading text\n * @param {number | string} [level=1] (optional) the heading level, default: 1\n *\n * @returns {Summary} summary instance\n */ addHeading(text, level) {\n const tag = `h${level}`;\n const allowedTag = [\n \"h1\",\n \"h2\",\n \"h3\",\n \"h4\",\n \"h5\",\n \"h6\"\n ].includes(tag) ? tag : \"h1\";\n const element = this.wrap(allowedTag, text);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML thematic break (
) to the summary buffer\n *\n * @returns {Summary} summary instance\n */ addSeparator() {\n const element = this.wrap(\"hr\", null);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML line break (
) to the summary buffer\n *\n * @returns {Summary} summary instance\n */ addBreak() {\n const element = this.wrap(\"br\", null);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML blockquote to the summary buffer\n *\n * @param {string} text quote text\n * @param {string} cite (optional) citation url\n *\n * @returns {Summary} summary instance\n */ addQuote(text, cite) {\n const attrs = Object.assign({}, cite && {\n cite: cite\n });\n const element = this.wrap(\"blockquote\", text, attrs);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML anchor tag to the summary buffer\n *\n * @param {string} text link text/content\n * @param {string} href hyperlink\n *\n * @returns {Summary} summary instance\n */ addLink(text, href) {\n const element = this.wrap(\"a\", text, {\n href: href\n });\n return this.addRaw(element).addEOL();\n }\n}\nconst $a2280f869d17820a$var$_summary = new $a2280f869d17820a$var$Summary();\n/**\n * @deprecated use `core.summary`\n */ module.exports.markdownSummary = $a2280f869d17820a$var$_summary;\nmodule.exports.summary = $a2280f869d17820a$var$_summary;\n\n});\n\nparcelRegister(\"9i0tI\", function(module, exports) {\n\"use strict\";\nvar $6c362a75924285b0$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $6c362a75924285b0$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $6c362a75924285b0$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $6c362a75924285b0$var$__createBinding(result, mod, k);\n }\n $6c362a75924285b0$var$__setModuleDefault(result, mod);\n return result;\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.toPlatformPath = module.exports.toWin32Path = module.exports.toPosixPath = void 0;\n\nconst $6c362a75924285b0$var$path = $6c362a75924285b0$var$__importStar($4umf8$path);\n/**\n * toPosixPath converts the given path to the posix form. On Windows, \\\\ will be\n * replaced with /.\n *\n * @param pth. Path to transform.\n * @return string Posix path.\n */ function $6c362a75924285b0$var$toPosixPath(pth) {\n return pth.replace(/[\\\\]/g, \"/\");\n}\nmodule.exports.toPosixPath = $6c362a75924285b0$var$toPosixPath;\n/**\n * toWin32Path converts the given path to the win32 form. On Linux, / will be\n * replaced with \\\\.\n *\n * @param pth. Path to transform.\n * @return string Win32 path.\n */ function $6c362a75924285b0$var$toWin32Path(pth) {\n return pth.replace(/[/]/g, \"\\\\\");\n}\nmodule.exports.toWin32Path = $6c362a75924285b0$var$toWin32Path;\n/**\n * toPlatformPath converts the given path to a platform-specific path. It does\n * this by replacing instances of / and \\ with the platform-specific path\n * separator.\n *\n * @param pth The path to platformize.\n * @return string The platform-specific path.\n */ function $6c362a75924285b0$var$toPlatformPath(pth) {\n return pth.replace(/[/\\\\]/g, $6c362a75924285b0$var$path.sep);\n}\nmodule.exports.toPlatformPath = $6c362a75924285b0$var$toPlatformPath;\n\n});\n\n\n\nparcelRegister(\"kswPT\", function(module, exports) {\n\nvar $ee4fe4bbd8d821d9$var$$parcel$__dirname = $4umf8$path.resolve(__dirname, \"../../node_modules/numerous/lib\");\n(function() {\n \"use strict\";\n var root = this;\n //=========//\n // GLOBALS //\n //=========//\n var locales = {};\n //==========//\n // EXPOSING //\n //==========//\n var moduleDefinition = {\n create: factory,\n addLocale: addLocale,\n pluralize: pluralize\n };\n if (\"undefined\" !== typeof module.exports) module.exports = moduleDefinition;\n else root.numerous = moduleDefinition;\n //==================//\n // PUBLIC FUNCTIONS //\n //==================//\n /**\n * Creates new instance of numerous.\n *\n * @param {string} locale\n * @returns {object}\n */ function factory(locale) {\n checkLocale(locale);\n return {\n pluralize: function(value, variants) {\n return pluralize(locale, value, variants);\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 */ function addLocale(locale, callable) {\n locales[locale] = callable;\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 */ function pluralize(locale, value, variants) {\n checkLocale(locale);\n if (\"object\" !== typeof variants) throw new Error(\"List of variants should be specified as an object\");\n var key = locales[locale](value);\n return \"undefined\" !== typeof variants[key] ? variants[key] : null;\n }\n //===================//\n // PRIVATE FUNCTIONS //\n //===================//\n /**\n * Returns true if specified locale is loaded, false otherwise.\n *\n * @param {string} locale\n *\n * @returns {boolean}\n */ function hasLocale(locale) {\n return \"undefined\" !== typeof locales[locale];\n }\n /**\n * Checks if locale is loaded. If not, tries to load it.\n *\n * @param {string} locale\n */ function checkLocale(locale) {\n if (!hasLocale(locale)) requireLocale(locale);\n }\n /**\n * Tries to load the specified locale.\n *\n * @param {string} locale\n */ function requireLocale(locale) {\n try {\n require($ee4fe4bbd8d821d9$var$$parcel$__dirname + \"/../locales/\" + locale + \".js\");\n } catch (error) {\n throw Error(\"Failed to load the following locale: \" + locale);\n }\n }\n}).call(module.exports);\n\n});\n\nparcelRegister(\"foOBZ\", function(module, exports) {\n//==============//\n// DEPENDENCIES //\n//==============//\n\nvar $6OFKY = parcelRequire(\"6OFKY\");\n\nvar $5GOZM = parcelRequire(\"5GOZM\");\n//================//\n// MODULE GLOBALS //\n//================//\n/**\n * Pre-calculating millisecond values for each time unit.\n */ const $b3605b587cf7d4a3$var$timeUnits = [\n [\n \"years\",\n 29030400000\n ],\n [\n \"months\",\n 2419200000\n ],\n [\n \"weeks\",\n 604800000\n ],\n [\n \"days\",\n 86400000\n ],\n [\n \"hours\",\n 3600000\n ],\n [\n \"minutes\",\n 60000\n ],\n [\n \"seconds\",\n 1000\n ]\n];\nconst $b3605b587cf7d4a3$var$defaultConfig = {\n locale: \"en\",\n span: 2,\n delimiter: \", \",\n unitType: \"long\",\n unitTypeLookupOrder: [\n \"long\",\n \"short\",\n \"narrow\"\n ],\n autoloadLocales: true\n};\n/**\n * Contains data of loaded locales.\n * @type {Object}\n */ const $b3605b587cf7d4a3$var$locales = {};\n//=========//\n// EXPORTS //\n//=========//\nmodule.exports = {\n create: $b3605b587cf7d4a3$var$timeDeltaFactory,\n addLocale: $b3605b587cf7d4a3$var$addLocale,\n defaultConfig: $b3605b587cf7d4a3$var$defaultConfig\n};\n//===========//\n// FUNCTIONS //\n//===========//\n/**\n * Adds pluralization data for the specified locale.\n * Should be called in browser.\n *\n * @param {Object|Object[]} localeData\n */ function $b3605b587cf7d4a3$var$addLocale(localeData) {\n // Normalizing input\n if (!Array.isArray(localeData)) localeData = [\n localeData\n ];\n for (const item of localeData){\n const { id: id, data: data } = item;\n $b3605b587cf7d4a3$var$locales[id] = data;\n }\n}\n/**\n * Creates new instance.\n *\n * @param {object?} config\n *\n * @returns {object}\n */ function $b3605b587cf7d4a3$var$timeDeltaFactory(config) {\n // Initializing config by extending the default one\n config = Object.assign({}, $b3605b587cf7d4a3$var$defaultConfig, config || {});\n return {\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 */ format: function(firstDate, secondDate, options) {\n // Allowing to override config with each individual call\n options = Object.assign({}, config, options || {});\n return $b3605b587cf7d4a3$var$format(firstDate, secondDate, options);\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 */ function $b3605b587cf7d4a3$var$format(firstDate, secondDate, config) {\n $b3605b587cf7d4a3$var$ensureLocaleLoadedOrThrow(config.locale, {\n autoload: config.autoloadLocales\n });\n // Handling input arguments\n // -----\n if (!firstDate) throw new Error(\"Missing first date argument\");\n if (!secondDate) throw new Error(\"Missing second date argument\");\n // Calculating\n // -----\n const difference = $b3605b587cf7d4a3$var$getDifference(firstDate, secondDate);\n const parts = [];\n for (const unit of difference){\n const [name, value] = unit;\n if (value > 0) parts.push($b3605b587cf7d4a3$var$pluralize(name, value, config));\n if (parts.length >= config.span) break;\n }\n // Returning the string value\n return parts.join(config.delimiter);\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 */ function $b3605b587cf7d4a3$var$ensureLocaleLoadedOrThrow(locale, options) {\n const { autoload: autoload } = options;\n if ($b3605b587cf7d4a3$var$hasLocale(locale)) return;\n if ($5GOZM && autoload) $b3605b587cf7d4a3$var$requireLocale(locale);\n else throw new Error(`Missing locale: ${locale}, you must load it manually before using it`);\n}\n/**\n * Returns true if specified locale is loaded, false otherwise.\n *\n * @param {string} localeId\n *\n * @returns {boolean}\n */ function $b3605b587cf7d4a3$var$hasLocale(localeId) {\n return Boolean($b3605b587cf7d4a3$var$locales[localeId]);\n}\n/**\n * Tries to load the specified locale.\n *\n * @param {string} localeId\n */ function $b3605b587cf7d4a3$var$requireLocale(localeId) {\n try {\n $b3605b587cf7d4a3$var$addLocale(require(`../locales/${localeId}.js`));\n } catch (error) {\n throw Error(`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 * Returns difference as separate time units.\n *\n * @param {Date} firstDate\n * @param {Date} secondDate\n *\n * @returns {Array}\n */ function $b3605b587cf7d4a3$var$getDifference(firstDate, secondDate) {\n let difference = secondDate - firstDate;\n const results = [];\n $b3605b587cf7d4a3$var$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([\n name,\n value\n ]);\n if (difference <= 0) // Breaking the loop.\n return true;\n });\n return results;\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 */ function $b3605b587cf7d4a3$var$pluralize(unit, value, config) {\n const unitTypeData = $b3605b587cf7d4a3$var$getLocaleDataForUnitType(config);\n const unitString = $6OFKY.pluralize(config.locale, value, unitTypeData[unit]);\n return unitString.replace(\"{0}\", value);\n}\n/**\n * Returns locale data for preferred unit type.\n *\n * @param {object} config\n *\n * @returns {Array}\n */ function $b3605b587cf7d4a3$var$getLocaleDataForUnitType(config) {\n const localeData = $b3605b587cf7d4a3$var$locales[config.locale];\n // Making a copy of array from config.\n let lookupOrder = config.unitTypeLookupOrder.slice();\n // Adding interested type to the top.\n lookupOrder.unshift(config.unitType);\n // Making sure only unique items are present.\n lookupOrder = $b3605b587cf7d4a3$var$arrayUnique(lookupOrder);\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 if (null === unitTypeData) throw new Error(\"Can not find any unit type data for locale: \" + config.locale);\n return unitTypeData;\n}\n/**\n * Returns array with only unique items.\n *\n * @param {Array} array\n *\n * @returns {Array}\n */ function $b3605b587cf7d4a3$var$arrayUnique(array) {\n return Array.from(new Set(array));\n}\n\n});\nparcelRegister(\"6OFKY\", function(module, exports) {\n\nmodule.exports = (parcelRequire(\"kswPT\"));\n\n});\n\nparcelRegister(\"5GOZM\", function(module, exports) {\n// Coding standard for this project defined @ https://github.com/MatthewSH/standards/blob/master/JavaScript.md\n\"use strict\";\nexports = module.exports = !!(typeof process !== \"undefined\" && process.versions && process.versions.node);\n\n});\n\n\nparcelRegister(\"8nJMC\", function(module, exports) {\nmodule.exports = $61a3fc466617a20f$var$isexe;\n$61a3fc466617a20f$var$isexe.sync = $61a3fc466617a20f$var$sync;\n\nfunction $61a3fc466617a20f$var$checkPathExt(path, options) {\n var pathext = options.pathExt !== undefined ? options.pathExt : process.env.PATHEXT;\n if (!pathext) return true;\n pathext = pathext.split(\";\");\n if (pathext.indexOf(\"\") !== -1) return true;\n for(var i = 0; i < pathext.length; i++){\n var p = pathext[i].toLowerCase();\n if (p && path.substr(-p.length).toLowerCase() === p) return true;\n }\n return false;\n}\nfunction $61a3fc466617a20f$var$checkStat(stat, path, options) {\n if (!stat.isSymbolicLink() && !stat.isFile()) return false;\n return $61a3fc466617a20f$var$checkPathExt(path, options);\n}\nfunction $61a3fc466617a20f$var$isexe(path, options, cb) {\n $4umf8$fs.stat(path, function(er, stat) {\n cb(er, er ? false : $61a3fc466617a20f$var$checkStat(stat, path, options));\n });\n}\nfunction $61a3fc466617a20f$var$sync(path, options) {\n return $61a3fc466617a20f$var$checkStat($4umf8$fs.statSync(path), path, options);\n}\n\n});\n\nparcelRegister(\"lo7XV\", function(module, exports) {\nmodule.exports = $f92204a92aa246f8$var$isexe;\n$f92204a92aa246f8$var$isexe.sync = $f92204a92aa246f8$var$sync;\n\nfunction $f92204a92aa246f8$var$isexe(path, options, cb) {\n $4umf8$fs.stat(path, function(er, stat) {\n cb(er, er ? false : $f92204a92aa246f8$var$checkStat(stat, options));\n });\n}\nfunction $f92204a92aa246f8$var$sync(path, options) {\n return $f92204a92aa246f8$var$checkStat($4umf8$fs.statSync(path), options);\n}\nfunction $f92204a92aa246f8$var$checkStat(stat, options) {\n return stat.isFile() && $f92204a92aa246f8$var$checkMode(stat, options);\n}\nfunction $f92204a92aa246f8$var$checkMode(stat, options) {\n var mod = stat.mode;\n var uid = stat.uid;\n var gid = stat.gid;\n var myUid = options.uid !== undefined ? options.uid : process.getuid && process.getuid();\n var myGid = options.gid !== undefined ? options.gid : process.getgid && process.getgid();\n var u = parseInt(\"100\", 8);\n var g = parseInt(\"010\", 8);\n var o = parseInt(\"001\", 8);\n var ug = u | g;\n var ret = mod & o || mod & g && gid === myGid || mod & u && uid === myUid || mod & ug && myUid === 0;\n return ret;\n}\n\n});\n\nparcelRegister(\"dVIKq\", function(module, exports) {\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];\nif (process.platform !== \"win32\") module.exports.push(\"SIGVTALRM\", \"SIGXCPU\", \"SIGXFSZ\", \"SIGUSR2\", \"SIGTRAP\", \"SIGSYS\", \"SIGQUIT\", \"SIGIOT\");\nif (process.platform === \"linux\") module.exports.push(\"SIGIO\", \"SIGPOLL\", \"SIGPWR\", \"SIGSTKFLT\", \"SIGUNUSED\");\n\n});\n\nparcelRegister(\"coVwk\", function(module, exports) {\n// just pre-load all the stuff that index.js lazily exports\n\nvar $hhSwF = parcelRequire(\"hhSwF\");\n\nvar $iXsaM = parcelRequire(\"iXsaM\");\n\nvar $8cXe9 = parcelRequire(\"8cXe9\");\n\nvar $dAM2Q = parcelRequire(\"dAM2Q\");\n\nvar $cHnHr = parcelRequire(\"cHnHr\");\n\nvar $2kZmC = parcelRequire(\"2kZmC\");\n\nvar $3Ixw1 = parcelRequire(\"3Ixw1\");\n\nvar $5r5vN = parcelRequire(\"5r5vN\");\n\nvar $bDrwm = parcelRequire(\"bDrwm\");\n\nvar $lORAA = parcelRequire(\"lORAA\");\n\nvar $2Lh6z = parcelRequire(\"2Lh6z\");\n\nvar $73KaH = parcelRequire(\"73KaH\");\n\nvar $j5Xr5 = parcelRequire(\"j5Xr5\");\n\nvar $jDqfd = parcelRequire(\"jDqfd\");\n\nvar $2QKGl = parcelRequire(\"2QKGl\");\n\nvar $3puHo = parcelRequire(\"3puHo\");\n\nvar $7qrQi = parcelRequire(\"7qrQi\");\n\nvar $hZ1Xd = parcelRequire(\"hZ1Xd\");\n\nvar $3YOIj = parcelRequire(\"3YOIj\");\n\nvar $cOpcP = parcelRequire(\"cOpcP\");\n\nvar $58P10 = parcelRequire(\"58P10\");\n\nvar $lTmeS = parcelRequire(\"lTmeS\");\n\nvar $jzqBf = parcelRequire(\"jzqBf\");\n\nvar $3XWvL = parcelRequire(\"3XWvL\");\n\nvar $hlfY9 = parcelRequire(\"hlfY9\");\n\nvar $84iFB = parcelRequire(\"84iFB\");\n\nvar $6v1Be = parcelRequire(\"6v1Be\");\n\nvar $1bxhC = parcelRequire(\"1bxhC\");\n\nvar $bswWF = parcelRequire(\"bswWF\");\n\nvar $42oIR = parcelRequire(\"42oIR\");\n\nvar $4zfp3 = parcelRequire(\"4zfp3\");\n\nvar $ga5uZ = parcelRequire(\"ga5uZ\");\n\nvar $lPGVL = parcelRequire(\"lPGVL\");\n\nvar $1I8AA = parcelRequire(\"1I8AA\");\n\nvar $dBtft = parcelRequire(\"dBtft\");\n\nvar $83Sp2 = parcelRequire(\"83Sp2\");\n\nvar $eK4my = parcelRequire(\"eK4my\");\n\nvar $eNXBI = parcelRequire(\"eNXBI\");\n\nvar $kHzUo = parcelRequire(\"kHzUo\");\n\nvar $1x2XZ = parcelRequire(\"1x2XZ\");\n\nvar $hTYir = parcelRequire(\"hTYir\");\nmodule.exports = {\n parse: $cHnHr,\n valid: $2kZmC,\n clean: $3Ixw1,\n inc: $5r5vN,\n diff: $bDrwm,\n major: $lORAA,\n minor: $2Lh6z,\n patch: $73KaH,\n prerelease: $j5Xr5,\n compare: $jDqfd,\n rcompare: $2QKGl,\n compareLoose: $3puHo,\n compareBuild: $7qrQi,\n sort: $hZ1Xd,\n rsort: $3YOIj,\n gt: $cOpcP,\n lt: $58P10,\n eq: $lTmeS,\n neq: $jzqBf,\n gte: $3XWvL,\n lte: $hlfY9,\n cmp: $84iFB,\n coerce: $6v1Be,\n Comparator: $1bxhC,\n Range: $bswWF,\n satisfies: $42oIR,\n toComparators: $4zfp3,\n maxSatisfying: $ga5uZ,\n minSatisfying: $lPGVL,\n minVersion: $1I8AA,\n validRange: $dBtft,\n outside: $83Sp2,\n gtr: $eK4my,\n ltr: $eNXBI,\n intersects: $kHzUo,\n simplifyRange: $1x2XZ,\n subset: $hTYir,\n SemVer: $8cXe9,\n re: $hhSwF.re,\n src: $hhSwF.src,\n tokens: $hhSwF.t,\n SEMVER_SPEC_VERSION: $iXsaM.SEMVER_SPEC_VERSION,\n RELEASE_TYPES: $iXsaM.RELEASE_TYPES,\n compareIdentifiers: $dAM2Q.compareIdentifiers,\n rcompareIdentifiers: $dAM2Q.rcompareIdentifiers\n};\n\n});\nparcelRegister(\"hhSwF\", function(module, exports) {\n\nvar $iXsaM = parcelRequire(\"iXsaM\");\nvar $c95e51e8df9eefc0$require$MAX_SAFE_COMPONENT_LENGTH = $iXsaM.MAX_SAFE_COMPONENT_LENGTH;\nvar $c95e51e8df9eefc0$require$MAX_SAFE_BUILD_LENGTH = $iXsaM.MAX_SAFE_BUILD_LENGTH;\nvar $c95e51e8df9eefc0$require$MAX_LENGTH = $iXsaM.MAX_LENGTH;\n\nvar $jl9Uf = parcelRequire(\"jl9Uf\");\nexports = module.exports = {};\n// The actual regexps go on exports.re\nconst re = exports.re = [];\nconst safeRe = exports.safeRe = [];\nconst src = exports.src = [];\nconst t = exports.t = {};\nlet R = 0;\nconst LETTERDASHNUMBER = \"[a-zA-Z0-9-]\";\n// Replace some greedy regex tokens to prevent regex dos issues. These regex are\n// used internally via the safeRe object since all inputs in this library get\n// normalized first to trim and collapse all extra whitespace. The original\n// regexes are exported for userland consumption and lower level usage. A\n// future breaking change could export the safer regex only with a note that\n// all input should have extra whitespace removed.\nconst safeRegexReplacements = [\n [\n \"\\\\s\",\n 1\n ],\n [\n \"\\\\d\",\n $c95e51e8df9eefc0$require$MAX_LENGTH\n ],\n [\n LETTERDASHNUMBER,\n $c95e51e8df9eefc0$require$MAX_SAFE_BUILD_LENGTH\n ]\n];\nconst makeSafeRegex = (value)=>{\n for (const [token, max] of safeRegexReplacements)value = value.split(`${token}*`).join(`${token}{0,${max}}`).split(`${token}+`).join(`${token}{1,${max}}`);\n return value;\n};\nconst createToken = (name, value, isGlobal)=>{\n const safe = makeSafeRegex(value);\n const index = R++;\n $jl9Uf(name, index, value);\n t[name] = index;\n src[index] = value;\n re[index] = new RegExp(value, isGlobal ? \"g\" : undefined);\n safeRe[index] = new RegExp(safe, isGlobal ? \"g\" : undefined);\n};\n// The following Regular Expressions can be used for tokenizing,\n// validating, and parsing SemVer version strings.\n// ## Numeric Identifier\n// A single `0`, or a non-zero digit followed by zero or more digits.\ncreateToken(\"NUMERICIDENTIFIER\", \"0|[1-9]\\\\d*\");\ncreateToken(\"NUMERICIDENTIFIERLOOSE\", \"\\\\d+\");\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.\ncreateToken(\"NONNUMERICIDENTIFIER\", `\\\\d*[a-zA-Z-]${LETTERDASHNUMBER}*`);\n// ## Main Version\n// Three dot-separated numeric identifiers.\ncreateToken(\"MAINVERSION\", `(${src[t.NUMERICIDENTIFIER]})\\\\.` + `(${src[t.NUMERICIDENTIFIER]})\\\\.` + `(${src[t.NUMERICIDENTIFIER]})`);\ncreateToken(\"MAINVERSIONLOOSE\", `(${src[t.NUMERICIDENTIFIERLOOSE]})\\\\.` + `(${src[t.NUMERICIDENTIFIERLOOSE]})\\\\.` + `(${src[t.NUMERICIDENTIFIERLOOSE]})`);\n// ## Pre-release Version Identifier\n// A numeric identifier, or a non-numeric identifier.\ncreateToken(\"PRERELEASEIDENTIFIER\", `(?:${src[t.NUMERICIDENTIFIER]}|${src[t.NONNUMERICIDENTIFIER]})`);\ncreateToken(\"PRERELEASEIDENTIFIERLOOSE\", `(?:${src[t.NUMERICIDENTIFIERLOOSE]}|${src[t.NONNUMERICIDENTIFIER]})`);\n// ## Pre-release Version\n// Hyphen, followed by one or more dot-separated pre-release version\n// identifiers.\ncreateToken(\"PRERELEASE\", `(?:-(${src[t.PRERELEASEIDENTIFIER]}(?:\\\\.${src[t.PRERELEASEIDENTIFIER]})*))`);\ncreateToken(\"PRERELEASELOOSE\", `(?:-?(${src[t.PRERELEASEIDENTIFIERLOOSE]}(?:\\\\.${src[t.PRERELEASEIDENTIFIERLOOSE]})*))`);\n// ## Build Metadata Identifier\n// Any combination of digits, letters, or hyphens.\ncreateToken(\"BUILDIDENTIFIER\", `${LETTERDASHNUMBER}+`);\n// ## Build Metadata\n// Plus sign, followed by one or more period-separated build metadata\n// identifiers.\ncreateToken(\"BUILD\", `(?:\\\\+(${src[t.BUILDIDENTIFIER]}(?:\\\\.${src[t.BUILDIDENTIFIER]})*))`);\n// ## Full Version String\n// A main version, followed optionally by a pre-release version and\n// build metadata.\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.\ncreateToken(\"FULLPLAIN\", `v?${src[t.MAINVERSION]}${src[t.PRERELEASE]}?${src[t.BUILD]}?`);\ncreateToken(\"FULL\", `^${src[t.FULLPLAIN]}$`);\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]}${src[t.PRERELEASELOOSE]}?${src[t.BUILD]}?`);\ncreateToken(\"LOOSE\", `^${src[t.LOOSEPLAIN]}$`);\ncreateToken(\"GTLT\", \"((?:<|>)?=?)\");\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|\\\\*`);\ncreateToken(\"XRANGEPLAIN\", `[v=\\\\s]*(${src[t.XRANGEIDENTIFIER]})` + `(?:\\\\.(${src[t.XRANGEIDENTIFIER]})` + `(?:\\\\.(${src[t.XRANGEIDENTIFIER]})` + `(?:${src[t.PRERELEASE]})?${src[t.BUILD]}?` + `)?)?`);\ncreateToken(\"XRANGEPLAINLOOSE\", `[v=\\\\s]*(${src[t.XRANGEIDENTIFIERLOOSE]})` + `(?:\\\\.(${src[t.XRANGEIDENTIFIERLOOSE]})` + `(?:\\\\.(${src[t.XRANGEIDENTIFIERLOOSE]})` + `(?:${src[t.PRERELEASELOOSE]})?${src[t.BUILD]}?` + `)?)?`);\ncreateToken(\"XRANGE\", `^${src[t.GTLT]}\\\\s*${src[t.XRANGEPLAIN]}$`);\ncreateToken(\"XRANGELOOSE\", `^${src[t.GTLT]}\\\\s*${src[t.XRANGEPLAINLOOSE]}$`);\n// Coercion.\n// Extract anything that could conceivably be a part of a valid semver\ncreateToken(\"COERCE\", `${\"(^|[^\\\\d])(\\\\d{1,\"}${$c95e51e8df9eefc0$require$MAX_SAFE_COMPONENT_LENGTH}})` + `(?:\\\\.(\\\\d{1,${$c95e51e8df9eefc0$require$MAX_SAFE_COMPONENT_LENGTH}}))?` + `(?:\\\\.(\\\\d{1,${$c95e51e8df9eefc0$require$MAX_SAFE_COMPONENT_LENGTH}}))?` + `(?:$|[^\\\\d])`);\ncreateToken(\"COERCERTL\", src[t.COERCE], true);\n// Tilde ranges.\n// Meaning is \"reasonably at or greater than\"\ncreateToken(\"LONETILDE\", \"(?:~>?)\");\ncreateToken(\"TILDETRIM\", `(\\\\s*)${src[t.LONETILDE]}\\\\s+`, true);\nexports.tildeTrimReplace = \"$1~\";\ncreateToken(\"TILDE\", `^${src[t.LONETILDE]}${src[t.XRANGEPLAIN]}$`);\ncreateToken(\"TILDELOOSE\", `^${src[t.LONETILDE]}${src[t.XRANGEPLAINLOOSE]}$`);\n// Caret ranges.\n// Meaning is \"at least and backwards compatible with\"\ncreateToken(\"LONECARET\", \"(?:\\\\^)\");\ncreateToken(\"CARETTRIM\", `(\\\\s*)${src[t.LONECARET]}\\\\s+`, true);\nexports.caretTrimReplace = \"$1^\";\ncreateToken(\"CARET\", `^${src[t.LONECARET]}${src[t.XRANGEPLAIN]}$`);\ncreateToken(\"CARETLOOSE\", `^${src[t.LONECARET]}${src[t.XRANGEPLAINLOOSE]}$`);\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// 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]}\\\\s*(${src[t.LOOSEPLAIN]}|${src[t.XRANGEPLAIN]})`, true);\nexports.comparatorTrimReplace = \"$1$2$3\";\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]})` + `\\\\s+-\\\\s+` + `(${src[t.XRANGEPLAIN]})` + `\\\\s*$`);\ncreateToken(\"HYPHENRANGELOOSE\", `^\\\\s*(${src[t.XRANGEPLAINLOOSE]})` + `\\\\s+-\\\\s+` + `(${src[t.XRANGEPLAINLOOSE]})` + `\\\\s*$`);\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\n});\nparcelRegister(\"iXsaM\", function(module, exports) {\n// Note: this is the semver.org version of the spec that it implements\n// Not necessarily the package version of this code.\nconst $dcd3973635072855$var$SEMVER_SPEC_VERSION = \"2.0.0\";\nconst $dcd3973635072855$var$MAX_LENGTH = 256;\nconst $dcd3973635072855$var$MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER || /* istanbul ignore next */ 9007199254740991;\n// Max safe segment length for coercion.\nconst $dcd3973635072855$var$MAX_SAFE_COMPONENT_LENGTH = 16;\n// Max safe length for a build identifier. The max length minus 6 characters for\n// the shortest version with a build 0.0.0+BUILD.\nconst $dcd3973635072855$var$MAX_SAFE_BUILD_LENGTH = $dcd3973635072855$var$MAX_LENGTH - 6;\nconst $dcd3973635072855$var$RELEASE_TYPES = [\n \"major\",\n \"premajor\",\n \"minor\",\n \"preminor\",\n \"patch\",\n \"prepatch\",\n \"prerelease\"\n];\nmodule.exports = {\n MAX_LENGTH: $dcd3973635072855$var$MAX_LENGTH,\n MAX_SAFE_COMPONENT_LENGTH: $dcd3973635072855$var$MAX_SAFE_COMPONENT_LENGTH,\n MAX_SAFE_BUILD_LENGTH: $dcd3973635072855$var$MAX_SAFE_BUILD_LENGTH,\n MAX_SAFE_INTEGER: $dcd3973635072855$var$MAX_SAFE_INTEGER,\n RELEASE_TYPES: $dcd3973635072855$var$RELEASE_TYPES,\n SEMVER_SPEC_VERSION: $dcd3973635072855$var$SEMVER_SPEC_VERSION,\n FLAG_INCLUDE_PRERELEASE: 1,\n FLAG_LOOSE: 2\n};\n\n});\n\nparcelRegister(\"jl9Uf\", function(module, exports) {\nconst $e147a9a67455c3ba$var$debug = typeof process === \"object\" && process.env && process.env.NODE_DEBUG && /\\bsemver\\b/i.test(process.env.NODE_DEBUG) ? (...args)=>console.error(\"SEMVER\", ...args) : ()=>{};\nmodule.exports = $e147a9a67455c3ba$var$debug;\n\n});\n\n\nparcelRegister(\"8cXe9\", function(module, exports) {\n\nvar $jl9Uf = parcelRequire(\"jl9Uf\");\n\nvar $iXsaM = parcelRequire(\"iXsaM\");\nvar $5f9d6307b0a50114$require$MAX_LENGTH = $iXsaM.MAX_LENGTH;\nvar $5f9d6307b0a50114$require$MAX_SAFE_INTEGER = $iXsaM.MAX_SAFE_INTEGER;\n\nvar $hhSwF = parcelRequire(\"hhSwF\");\nvar $5f9d6307b0a50114$require$re = $hhSwF.safeRe;\nvar $5f9d6307b0a50114$require$t = $hhSwF.t;\n\nvar $5v8m5 = parcelRequire(\"5v8m5\");\n\nvar $dAM2Q = parcelRequire(\"dAM2Q\");\nvar $5f9d6307b0a50114$require$compareIdentifiers = $dAM2Q.compareIdentifiers;\nclass $5f9d6307b0a50114$var$SemVer {\n constructor(version, options){\n options = $5v8m5(options);\n if (version instanceof $5f9d6307b0a50114$var$SemVer) {\n if (version.loose === !!options.loose && version.includePrerelease === !!options.includePrerelease) return version;\n else version = version.version;\n } else if (typeof version !== \"string\") throw new TypeError(`Invalid version. Must be a string. Got type \"${typeof version}\".`);\n if (version.length > $5f9d6307b0a50114$require$MAX_LENGTH) throw new TypeError(`version is longer than ${$5f9d6307b0a50114$require$MAX_LENGTH} characters`);\n $jl9Uf(\"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 const m = version.trim().match(options.loose ? $5f9d6307b0a50114$require$re[$5f9d6307b0a50114$require$t.LOOSE] : $5f9d6307b0a50114$require$re[$5f9d6307b0a50114$require$t.FULL]);\n if (!m) throw new TypeError(`Invalid Version: ${version}`);\n this.raw = version;\n // these are actually numbers\n this.major = +m[1];\n this.minor = +m[2];\n this.patch = +m[3];\n if (this.major > $5f9d6307b0a50114$require$MAX_SAFE_INTEGER || this.major < 0) throw new TypeError(\"Invalid major version\");\n if (this.minor > $5f9d6307b0a50114$require$MAX_SAFE_INTEGER || this.minor < 0) throw new TypeError(\"Invalid minor version\");\n if (this.patch > $5f9d6307b0a50114$require$MAX_SAFE_INTEGER || this.patch < 0) throw new TypeError(\"Invalid patch version\");\n // numberify any prerelease numeric ids\n if (!m[4]) this.prerelease = [];\n else this.prerelease = m[4].split(\".\").map((id)=>{\n if (/^[0-9]+$/.test(id)) {\n const num = +id;\n if (num >= 0 && num < $5f9d6307b0a50114$require$MAX_SAFE_INTEGER) return num;\n }\n return id;\n });\n this.build = m[5] ? m[5].split(\".\") : [];\n this.format();\n }\n format() {\n this.version = `${this.major}.${this.minor}.${this.patch}`;\n if (this.prerelease.length) this.version += `-${this.prerelease.join(\".\")}`;\n return this.version;\n }\n toString() {\n return this.version;\n }\n compare(other) {\n $jl9Uf(\"SemVer.compare\", this.version, this.options, other);\n if (!(other instanceof $5f9d6307b0a50114$var$SemVer)) {\n if (typeof other === \"string\" && other === this.version) return 0;\n other = new $5f9d6307b0a50114$var$SemVer(other, this.options);\n }\n if (other.version === this.version) return 0;\n return this.compareMain(other) || this.comparePre(other);\n }\n compareMain(other) {\n if (!(other instanceof $5f9d6307b0a50114$var$SemVer)) other = new $5f9d6307b0a50114$var$SemVer(other, this.options);\n return $5f9d6307b0a50114$require$compareIdentifiers(this.major, other.major) || $5f9d6307b0a50114$require$compareIdentifiers(this.minor, other.minor) || $5f9d6307b0a50114$require$compareIdentifiers(this.patch, other.patch);\n }\n comparePre(other) {\n if (!(other instanceof $5f9d6307b0a50114$var$SemVer)) other = new $5f9d6307b0a50114$var$SemVer(other, this.options);\n // NOT having a prerelease is > having one\n if (this.prerelease.length && !other.prerelease.length) return -1;\n else if (!this.prerelease.length && other.prerelease.length) return 1;\n else if (!this.prerelease.length && !other.prerelease.length) return 0;\n let i = 0;\n do {\n const a = this.prerelease[i];\n const b = other.prerelease[i];\n $jl9Uf(\"prerelease compare\", i, a, b);\n if (a === undefined && b === undefined) return 0;\n else if (b === undefined) return 1;\n else if (a === undefined) return -1;\n else if (a === b) continue;\n else return $5f9d6307b0a50114$require$compareIdentifiers(a, b);\n }while (++i);\n }\n compareBuild(other) {\n if (!(other instanceof $5f9d6307b0a50114$var$SemVer)) other = new $5f9d6307b0a50114$var$SemVer(other, this.options);\n let i = 0;\n do {\n const a = this.build[i];\n const b = other.build[i];\n $jl9Uf(\"prerelease compare\", i, a, b);\n if (a === undefined && b === undefined) return 0;\n else if (b === undefined) return 1;\n else if (a === undefined) return -1;\n else if (a === b) continue;\n else return $5f9d6307b0a50114$require$compareIdentifiers(a, b);\n }while (++i);\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, identifierBase) {\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, identifierBase);\n break;\n case \"preminor\":\n this.prerelease.length = 0;\n this.patch = 0;\n this.minor++;\n this.inc(\"pre\", identifier, identifierBase);\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, identifierBase);\n this.inc(\"pre\", identifier, identifierBase);\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) this.inc(\"patch\", identifier, identifierBase);\n this.inc(\"pre\", identifier, identifierBase);\n break;\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 (this.minor !== 0 || this.patch !== 0 || this.prerelease.length === 0) this.major++;\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) this.minor++;\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) this.patch++;\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 {\n const base = Number(identifierBase) ? 1 : 0;\n if (!identifier && identifierBase === false) throw new Error(\"invalid increment argument: identifier is empty\");\n if (this.prerelease.length === 0) this.prerelease = [\n base\n ];\n else {\n let i = this.prerelease.length;\n while(--i >= 0)if (typeof this.prerelease[i] === \"number\") {\n this.prerelease[i]++;\n i = -2;\n }\n if (i === -1) {\n // didn't increment anything\n if (identifier === this.prerelease.join(\".\") && identifierBase === false) throw new Error(\"invalid increment argument: identifier already exists\");\n this.prerelease.push(base);\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 let prerelease = [\n identifier,\n base\n ];\n if (identifierBase === false) prerelease = [\n identifier\n ];\n if ($5f9d6307b0a50114$require$compareIdentifiers(this.prerelease[0], identifier) === 0) {\n if (isNaN(this.prerelease[1])) this.prerelease = prerelease;\n } else this.prerelease = prerelease;\n }\n break;\n }\n default:\n throw new Error(`invalid increment argument: ${release}`);\n }\n this.raw = this.format();\n if (this.build.length) this.raw += `+${this.build.join(\".\")}`;\n return this;\n }\n}\nmodule.exports = $5f9d6307b0a50114$var$SemVer;\n\n});\nparcelRegister(\"5v8m5\", function(module, exports) {\n// parse out just the options we care about\nconst $4016542f96e2ba13$var$looseOption = Object.freeze({\n loose: true\n});\nconst $4016542f96e2ba13$var$emptyOpts = Object.freeze({});\nconst $4016542f96e2ba13$var$parseOptions = (options)=>{\n if (!options) return $4016542f96e2ba13$var$emptyOpts;\n if (typeof options !== \"object\") return $4016542f96e2ba13$var$looseOption;\n return options;\n};\nmodule.exports = $4016542f96e2ba13$var$parseOptions;\n\n});\n\nparcelRegister(\"dAM2Q\", function(module, exports) {\nconst $9e53e7e486c62584$var$numeric = /^[0-9]+$/;\nconst $9e53e7e486c62584$var$compareIdentifiers = (a, b)=>{\n const anum = $9e53e7e486c62584$var$numeric.test(a);\n const bnum = $9e53e7e486c62584$var$numeric.test(b);\n if (anum && bnum) {\n a = +a;\n b = +b;\n }\n return a === b ? 0 : anum && !bnum ? -1 : bnum && !anum ? 1 : a < b ? -1 : 1;\n};\nconst $9e53e7e486c62584$var$rcompareIdentifiers = (a, b)=>$9e53e7e486c62584$var$compareIdentifiers(b, a);\nmodule.exports = {\n compareIdentifiers: $9e53e7e486c62584$var$compareIdentifiers,\n rcompareIdentifiers: $9e53e7e486c62584$var$rcompareIdentifiers\n};\n\n});\n\n\nparcelRegister(\"cHnHr\", function(module, exports) {\n\nvar $8cXe9 = parcelRequire(\"8cXe9\");\nconst $93ebe26cfabaa188$var$parse = (version, options, throwErrors = false)=>{\n if (version instanceof $8cXe9) return version;\n try {\n return new $8cXe9(version, options);\n } catch (er) {\n if (!throwErrors) return null;\n throw er;\n }\n};\nmodule.exports = $93ebe26cfabaa188$var$parse;\n\n});\n\nparcelRegister(\"2kZmC\", function(module, exports) {\n\nvar $cHnHr = parcelRequire(\"cHnHr\");\nconst $1b3d0c95842a233f$var$valid = (version, options)=>{\n const v = $cHnHr(version, options);\n return v ? v.version : null;\n};\nmodule.exports = $1b3d0c95842a233f$var$valid;\n\n});\n\nparcelRegister(\"3Ixw1\", function(module, exports) {\n\nvar $cHnHr = parcelRequire(\"cHnHr\");\nconst $2b4f7aa592c5a64a$var$clean = (version, options)=>{\n const s = $cHnHr(version.trim().replace(/^[=v]+/, \"\"), options);\n return s ? s.version : null;\n};\nmodule.exports = $2b4f7aa592c5a64a$var$clean;\n\n});\n\nparcelRegister(\"5r5vN\", function(module, exports) {\n\nvar $8cXe9 = parcelRequire(\"8cXe9\");\nconst $3f53bfe76a8eb8ff$var$inc = (version, release, options, identifier, identifierBase)=>{\n if (typeof options === \"string\") {\n identifierBase = identifier;\n identifier = options;\n options = undefined;\n }\n try {\n return new $8cXe9(version instanceof $8cXe9 ? version.version : version, options).inc(release, identifier, identifierBase).version;\n } catch (er) {\n return null;\n }\n};\nmodule.exports = $3f53bfe76a8eb8ff$var$inc;\n\n});\n\nparcelRegister(\"bDrwm\", function(module, exports) {\n\nvar $cHnHr = parcelRequire(\"cHnHr\");\nconst $8788af559a97c313$var$diff = (version1, version2)=>{\n const v1 = $cHnHr(version1, null, true);\n const v2 = $cHnHr(version2, null, true);\n const comparison = v1.compare(v2);\n if (comparison === 0) return null;\n const v1Higher = comparison > 0;\n const highVersion = v1Higher ? v1 : v2;\n const lowVersion = v1Higher ? v2 : v1;\n const highHasPre = !!highVersion.prerelease.length;\n const lowHasPre = !!lowVersion.prerelease.length;\n if (lowHasPre && !highHasPre) {\n // Going from prerelease -> no prerelease requires some special casing\n // If the low version has only a major, then it will always be a major\n // Some examples:\n // 1.0.0-1 -> 1.0.0\n // 1.0.0-1 -> 1.1.1\n // 1.0.0-1 -> 2.0.0\n if (!lowVersion.patch && !lowVersion.minor) return \"major\";\n // Otherwise it can be determined by checking the high version\n if (highVersion.patch) // anything higher than a patch bump would result in the wrong version\n return \"patch\";\n if (highVersion.minor) // anything higher than a minor bump would result in the wrong version\n return \"minor\";\n // bumping major/minor/patch all have same result\n return \"major\";\n }\n // add the `pre` prefix if we are going to a prerelease version\n const prefix = highHasPre ? \"pre\" : \"\";\n if (v1.major !== v2.major) return prefix + \"major\";\n if (v1.minor !== v2.minor) return prefix + \"minor\";\n if (v1.patch !== v2.patch) return prefix + \"patch\";\n // high and low are preleases\n return \"prerelease\";\n};\nmodule.exports = $8788af559a97c313$var$diff;\n\n});\n\nparcelRegister(\"lORAA\", function(module, exports) {\n\nvar $8cXe9 = parcelRequire(\"8cXe9\");\nconst $fe27d62e7e33fa19$var$major = (a, loose)=>new $8cXe9(a, loose).major;\nmodule.exports = $fe27d62e7e33fa19$var$major;\n\n});\n\nparcelRegister(\"2Lh6z\", function(module, exports) {\n\nvar $8cXe9 = parcelRequire(\"8cXe9\");\nconst $202d3d42e88f3c28$var$minor = (a, loose)=>new $8cXe9(a, loose).minor;\nmodule.exports = $202d3d42e88f3c28$var$minor;\n\n});\n\nparcelRegister(\"73KaH\", function(module, exports) {\n\nvar $8cXe9 = parcelRequire(\"8cXe9\");\nconst $523ca0e80014f7d8$var$patch = (a, loose)=>new $8cXe9(a, loose).patch;\nmodule.exports = $523ca0e80014f7d8$var$patch;\n\n});\n\nparcelRegister(\"j5Xr5\", function(module, exports) {\n\nvar $cHnHr = parcelRequire(\"cHnHr\");\nconst $de6c96b3ae4bd129$var$prerelease = (version, options)=>{\n const parsed = $cHnHr(version, options);\n return parsed && parsed.prerelease.length ? parsed.prerelease : null;\n};\nmodule.exports = $de6c96b3ae4bd129$var$prerelease;\n\n});\n\nparcelRegister(\"jDqfd\", function(module, exports) {\n\nvar $8cXe9 = parcelRequire(\"8cXe9\");\nconst $e4b6046aca61f3e2$var$compare = (a, b, loose)=>new $8cXe9(a, loose).compare(new $8cXe9(b, loose));\nmodule.exports = $e4b6046aca61f3e2$var$compare;\n\n});\n\nparcelRegister(\"2QKGl\", function(module, exports) {\n\nvar $jDqfd = parcelRequire(\"jDqfd\");\nconst $2134a6255f13ad9b$var$rcompare = (a, b, loose)=>$jDqfd(b, a, loose);\nmodule.exports = $2134a6255f13ad9b$var$rcompare;\n\n});\n\nparcelRegister(\"3puHo\", function(module, exports) {\n\nvar $jDqfd = parcelRequire(\"jDqfd\");\nconst $27bb850ff97b303d$var$compareLoose = (a, b)=>$jDqfd(a, b, true);\nmodule.exports = $27bb850ff97b303d$var$compareLoose;\n\n});\n\nparcelRegister(\"7qrQi\", function(module, exports) {\n\nvar $8cXe9 = parcelRequire(\"8cXe9\");\nconst $56808f0c5eb5cb5f$var$compareBuild = (a, b, loose)=>{\n const versionA = new $8cXe9(a, loose);\n const versionB = new $8cXe9(b, loose);\n return versionA.compare(versionB) || versionA.compareBuild(versionB);\n};\nmodule.exports = $56808f0c5eb5cb5f$var$compareBuild;\n\n});\n\nparcelRegister(\"hZ1Xd\", function(module, exports) {\n\nvar $7qrQi = parcelRequire(\"7qrQi\");\nconst $d179a636da11b2a4$var$sort = (list, loose)=>list.sort((a, b)=>$7qrQi(a, b, loose));\nmodule.exports = $d179a636da11b2a4$var$sort;\n\n});\n\nparcelRegister(\"3YOIj\", function(module, exports) {\n\nvar $7qrQi = parcelRequire(\"7qrQi\");\nconst $2e5e506179661275$var$rsort = (list, loose)=>list.sort((a, b)=>$7qrQi(b, a, loose));\nmodule.exports = $2e5e506179661275$var$rsort;\n\n});\n\nparcelRegister(\"cOpcP\", function(module, exports) {\n\nvar $jDqfd = parcelRequire(\"jDqfd\");\nconst $953db4ebd516041a$var$gt = (a, b, loose)=>$jDqfd(a, b, loose) > 0;\nmodule.exports = $953db4ebd516041a$var$gt;\n\n});\n\nparcelRegister(\"58P10\", function(module, exports) {\n\nvar $jDqfd = parcelRequire(\"jDqfd\");\nconst $3be545aa6e792823$var$lt = (a, b, loose)=>$jDqfd(a, b, loose) < 0;\nmodule.exports = $3be545aa6e792823$var$lt;\n\n});\n\nparcelRegister(\"lTmeS\", function(module, exports) {\n\nvar $jDqfd = parcelRequire(\"jDqfd\");\nconst $fefffc38ac57fde3$var$eq = (a, b, loose)=>$jDqfd(a, b, loose) === 0;\nmodule.exports = $fefffc38ac57fde3$var$eq;\n\n});\n\nparcelRegister(\"jzqBf\", function(module, exports) {\n\nvar $jDqfd = parcelRequire(\"jDqfd\");\nconst $e3f5eb5780814ac5$var$neq = (a, b, loose)=>$jDqfd(a, b, loose) !== 0;\nmodule.exports = $e3f5eb5780814ac5$var$neq;\n\n});\n\nparcelRegister(\"3XWvL\", function(module, exports) {\n\nvar $jDqfd = parcelRequire(\"jDqfd\");\nconst $2e3444e9310d8b16$var$gte = (a, b, loose)=>$jDqfd(a, b, loose) >= 0;\nmodule.exports = $2e3444e9310d8b16$var$gte;\n\n});\n\nparcelRegister(\"hlfY9\", function(module, exports) {\n\nvar $jDqfd = parcelRequire(\"jDqfd\");\nconst $ca00c8fc5d60d2c3$var$lte = (a, b, loose)=>$jDqfd(a, b, loose) <= 0;\nmodule.exports = $ca00c8fc5d60d2c3$var$lte;\n\n});\n\nparcelRegister(\"84iFB\", function(module, exports) {\n\nvar $lTmeS = parcelRequire(\"lTmeS\");\n\nvar $jzqBf = parcelRequire(\"jzqBf\");\n\nvar $cOpcP = parcelRequire(\"cOpcP\");\n\nvar $3XWvL = parcelRequire(\"3XWvL\");\n\nvar $58P10 = parcelRequire(\"58P10\");\n\nvar $hlfY9 = parcelRequire(\"hlfY9\");\nconst $5dfd2de80d18eb59$var$cmp = (a, op, b, loose)=>{\n switch(op){\n case \"===\":\n if (typeof a === \"object\") a = a.version;\n if (typeof b === \"object\") b = b.version;\n return a === b;\n case \"!==\":\n if (typeof a === \"object\") a = a.version;\n if (typeof b === \"object\") b = b.version;\n return a !== b;\n case \"\":\n case \"=\":\n case \"==\":\n return $lTmeS(a, b, loose);\n case \"!=\":\n return $jzqBf(a, b, loose);\n case \">\":\n return $cOpcP(a, b, loose);\n case \">=\":\n return $3XWvL(a, b, loose);\n case \"<\":\n return $58P10(a, b, loose);\n case \"<=\":\n return $hlfY9(a, b, loose);\n default:\n throw new TypeError(`Invalid operator: ${op}`);\n }\n};\nmodule.exports = $5dfd2de80d18eb59$var$cmp;\n\n});\n\nparcelRegister(\"6v1Be\", function(module, exports) {\n\nvar $8cXe9 = parcelRequire(\"8cXe9\");\n\nvar $cHnHr = parcelRequire(\"cHnHr\");\n\nvar $hhSwF = parcelRequire(\"hhSwF\");\nvar $4bb6e0f4a4724cfe$require$re = $hhSwF.safeRe;\nvar $4bb6e0f4a4724cfe$require$t = $hhSwF.t;\nconst $4bb6e0f4a4724cfe$var$coerce = (version, options)=>{\n if (version instanceof $8cXe9) return version;\n if (typeof version === \"number\") version = String(version);\n if (typeof version !== \"string\") return null;\n options = options || {};\n let match = null;\n if (!options.rtl) match = version.match($4bb6e0f4a4724cfe$require$re[$4bb6e0f4a4724cfe$require$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 = $4bb6e0f4a4724cfe$require$re[$4bb6e0f4a4724cfe$require$t.COERCERTL].exec(version)) && (!match || match.index + match[0].length !== version.length)){\n if (!match || next.index + next[0].length !== match.index + match[0].length) match = next;\n $4bb6e0f4a4724cfe$require$re[$4bb6e0f4a4724cfe$require$t.COERCERTL].lastIndex = next.index + next[1].length + next[2].length;\n }\n // leave it in a clean state\n $4bb6e0f4a4724cfe$require$re[$4bb6e0f4a4724cfe$require$t.COERCERTL].lastIndex = -1;\n }\n if (match === null) return null;\n return $cHnHr(`${match[2]}.${match[3] || \"0\"}.${match[4] || \"0\"}`, options);\n};\nmodule.exports = $4bb6e0f4a4724cfe$var$coerce;\n\n});\n\nparcelRegister(\"1bxhC\", function(module, exports) {\nconst $0dd0a2e3ba1f64c7$var$ANY = Symbol(\"SemVer ANY\");\n// hoisted class for cyclic dependency\nclass $0dd0a2e3ba1f64c7$var$Comparator {\n static get ANY() {\n return $0dd0a2e3ba1f64c7$var$ANY;\n }\n constructor(comp, options){\n options = $5v8m5(options);\n if (comp instanceof $0dd0a2e3ba1f64c7$var$Comparator) {\n if (comp.loose === !!options.loose) return comp;\n else comp = comp.value;\n }\n comp = comp.trim().split(/\\s+/).join(\" \");\n $jl9Uf(\"comparator\", comp, options);\n this.options = options;\n this.loose = !!options.loose;\n this.parse(comp);\n if (this.semver === $0dd0a2e3ba1f64c7$var$ANY) this.value = \"\";\n else this.value = this.operator + this.semver.version;\n $jl9Uf(\"comp\", this);\n }\n parse(comp) {\n const r = this.options.loose ? $0dd0a2e3ba1f64c7$require$re[$0dd0a2e3ba1f64c7$require$t.COMPARATORLOOSE] : $0dd0a2e3ba1f64c7$require$re[$0dd0a2e3ba1f64c7$require$t.COMPARATOR];\n const m = comp.match(r);\n if (!m) throw new TypeError(`Invalid comparator: ${comp}`);\n this.operator = m[1] !== undefined ? m[1] : \"\";\n if (this.operator === \"=\") this.operator = \"\";\n // if it literally is just '>' or '' then allow anything.\n if (!m[2]) this.semver = $0dd0a2e3ba1f64c7$var$ANY;\n else this.semver = new $8cXe9(m[2], this.options.loose);\n }\n toString() {\n return this.value;\n }\n test(version) {\n $jl9Uf(\"Comparator.test\", version, this.options.loose);\n if (this.semver === $0dd0a2e3ba1f64c7$var$ANY || version === $0dd0a2e3ba1f64c7$var$ANY) return true;\n if (typeof version === \"string\") try {\n version = new $8cXe9(version, this.options);\n } catch (er) {\n return false;\n }\n return $84iFB(version, this.operator, this.semver, this.options);\n }\n intersects(comp, options) {\n if (!(comp instanceof $0dd0a2e3ba1f64c7$var$Comparator)) throw new TypeError(\"a Comparator is required\");\n if (this.operator === \"\") {\n if (this.value === \"\") return true;\n return new $bswWF(comp.value, options).test(this.value);\n } else if (comp.operator === \"\") {\n if (comp.value === \"\") return true;\n return new $bswWF(this.value, options).test(comp.semver);\n }\n options = $5v8m5(options);\n // Special cases where nothing can possibly be lower\n if (options.includePrerelease && (this.value === \"<0.0.0-0\" || comp.value === \"<0.0.0-0\")) return false;\n if (!options.includePrerelease && (this.value.startsWith(\"<0.0.0\") || comp.value.startsWith(\"<0.0.0\"))) return false;\n // Same direction increasing (> or >=)\n if (this.operator.startsWith(\">\") && comp.operator.startsWith(\">\")) return true;\n // Same direction decreasing (< or <=)\n if (this.operator.startsWith(\"<\") && comp.operator.startsWith(\"<\")) return true;\n // same SemVer and both sides are inclusive (<= or >=)\n if (this.semver.version === comp.semver.version && this.operator.includes(\"=\") && comp.operator.includes(\"=\")) return true;\n // opposite directions less than\n if ($84iFB(this.semver, \"<\", comp.semver, options) && this.operator.startsWith(\">\") && comp.operator.startsWith(\"<\")) return true;\n // opposite directions greater than\n if ($84iFB(this.semver, \">\", comp.semver, options) && this.operator.startsWith(\"<\") && comp.operator.startsWith(\">\")) return true;\n return false;\n }\n}\nmodule.exports = $0dd0a2e3ba1f64c7$var$Comparator;\n\nvar $5v8m5 = parcelRequire(\"5v8m5\");\n\nvar $hhSwF = parcelRequire(\"hhSwF\");\nvar $0dd0a2e3ba1f64c7$require$re = $hhSwF.safeRe;\nvar $0dd0a2e3ba1f64c7$require$t = $hhSwF.t;\n\nvar $84iFB = parcelRequire(\"84iFB\");\n\nvar $jl9Uf = parcelRequire(\"jl9Uf\");\n\nvar $8cXe9 = parcelRequire(\"8cXe9\");\n\nvar $bswWF = parcelRequire(\"bswWF\");\n\n});\nparcelRegister(\"bswWF\", function(module, exports) {\n// hoisted class for cyclic dependency\nclass $857bdd786d7ea570$var$Range {\n constructor(range, options){\n options = $5v8m5(options);\n if (range instanceof $857bdd786d7ea570$var$Range) {\n if (range.loose === !!options.loose && range.includePrerelease === !!options.includePrerelease) return range;\n else return new $857bdd786d7ea570$var$Range(range.raw, options);\n }\n if (range instanceof $1bxhC) {\n // just put it in the set and return\n this.raw = range.value;\n this.set = [\n [\n range\n ]\n ];\n this.format();\n return this;\n }\n this.options = options;\n this.loose = !!options.loose;\n this.includePrerelease = !!options.includePrerelease;\n // First reduce all whitespace as much as possible so we do not have to rely\n // on potentially slow regexes like \\s*. This is then stored and used for\n // future error messages as well.\n this.raw = range.trim().split(/\\s+/).join(\" \");\n // First, split on ||\n this.set = this.raw.split(\"||\")// map the range to a 2d array of comparators\n .map((r)=>this.parseRange(r.trim()))// 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 if (!this.set.length) throw new TypeError(`Invalid SemVer Range: ${this.raw}`);\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)=>!$857bdd786d7ea570$var$isNullSet(c[0]));\n if (this.set.length === 0) this.set = [\n first\n ];\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)if (c.length === 1 && $857bdd786d7ea570$var$isAny(c[0])) {\n this.set = [\n c\n ];\n break;\n }\n }\n }\n this.format();\n }\n format() {\n this.range = this.set.map((comps)=>comps.join(\" \").trim()).join(\"||\").trim();\n return this.range;\n }\n toString() {\n return this.range;\n }\n parseRange(range) {\n // memoize range parsing for performance.\n // this is a very hot path, and fully deterministic.\n const memoOpts = (this.options.includePrerelease && $857bdd786d7ea570$require$FLAG_INCLUDE_PRERELEASE) | (this.options.loose && $857bdd786d7ea570$require$FLAG_LOOSE);\n const memoKey = memoOpts + \":\" + range;\n const cached = $857bdd786d7ea570$var$cache.get(memoKey);\n if (cached) return cached;\n const loose = this.options.loose;\n // `1.2.3 - 1.2.4` => `>=1.2.3 <=1.2.4`\n const hr = loose ? $857bdd786d7ea570$require$re[$857bdd786d7ea570$require$t.HYPHENRANGELOOSE] : $857bdd786d7ea570$require$re[$857bdd786d7ea570$require$t.HYPHENRANGE];\n range = range.replace(hr, $857bdd786d7ea570$var$hyphenReplace(this.options.includePrerelease));\n $jl9Uf(\"hyphen replace\", range);\n // `> 1.2.3 < 1.2.5` => `>1.2.3 <1.2.5`\n range = range.replace($857bdd786d7ea570$require$re[$857bdd786d7ea570$require$t.COMPARATORTRIM], $857bdd786d7ea570$require$comparatorTrimReplace);\n $jl9Uf(\"comparator trim\", range);\n // `~ 1.2.3` => `~1.2.3`\n range = range.replace($857bdd786d7ea570$require$re[$857bdd786d7ea570$require$t.TILDETRIM], $857bdd786d7ea570$require$tildeTrimReplace);\n $jl9Uf(\"tilde trim\", range);\n // `^ 1.2.3` => `^1.2.3`\n range = range.replace($857bdd786d7ea570$require$re[$857bdd786d7ea570$require$t.CARETTRIM], $857bdd786d7ea570$require$caretTrimReplace);\n $jl9Uf(\"caret trim\", range);\n // At this point, the range is completely trimmed and\n // ready to be split into comparators.\n let rangeList = range.split(\" \").map((comp)=>$857bdd786d7ea570$var$parseComparator(comp, this.options)).join(\" \").split(/\\s+/)// >=0.0.0 is equivalent to *\n .map((comp)=>$857bdd786d7ea570$var$replaceGTE0(comp, this.options));\n if (loose) // in loose mode, throw out any that are not valid comparators\n rangeList = rangeList.filter((comp)=>{\n $jl9Uf(\"loose invalid filter\", comp, this.options);\n return !!comp.match($857bdd786d7ea570$require$re[$857bdd786d7ea570$require$t.COMPARATORLOOSE]);\n });\n $jl9Uf(\"range list\", rangeList);\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 $1bxhC(comp, this.options));\n for (const comp of comparators){\n if ($857bdd786d7ea570$var$isNullSet(comp)) return [\n comp\n ];\n rangeMap.set(comp.value, comp);\n }\n if (rangeMap.size > 1 && rangeMap.has(\"\")) rangeMap.delete(\"\");\n const result = [\n ...rangeMap.values()\n ];\n $857bdd786d7ea570$var$cache.set(memoKey, result);\n return result;\n }\n intersects(range, options) {\n if (!(range instanceof $857bdd786d7ea570$var$Range)) throw new TypeError(\"a Range is required\");\n return this.set.some((thisComparators)=>{\n return $857bdd786d7ea570$var$isSatisfiable(thisComparators, options) && range.set.some((rangeComparators)=>{\n return $857bdd786d7ea570$var$isSatisfiable(rangeComparators, options) && thisComparators.every((thisComparator)=>{\n return rangeComparators.every((rangeComparator)=>{\n return thisComparator.intersects(rangeComparator, options);\n });\n });\n });\n });\n }\n // if ANY of the sets match ALL of its comparators, then pass\n test(version) {\n if (!version) return false;\n if (typeof version === \"string\") try {\n version = new $8cXe9(version, this.options);\n } catch (er) {\n return false;\n }\n for(let i = 0; i < this.set.length; i++){\n if ($857bdd786d7ea570$var$testSet(this.set[i], version, this.options)) return true;\n }\n return false;\n }\n}\nmodule.exports = $857bdd786d7ea570$var$Range;\n\nvar $31A6g = parcelRequire(\"31A6g\");\nconst $857bdd786d7ea570$var$cache = new $31A6g({\n max: 1000\n});\n\nvar $5v8m5 = parcelRequire(\"5v8m5\");\n\nvar $1bxhC = parcelRequire(\"1bxhC\");\n\nvar $jl9Uf = parcelRequire(\"jl9Uf\");\n\nvar $8cXe9 = parcelRequire(\"8cXe9\");\n\nvar $hhSwF = parcelRequire(\"hhSwF\");\nvar $857bdd786d7ea570$require$re = $hhSwF.safeRe;\nvar $857bdd786d7ea570$require$t = $hhSwF.t;\nvar $857bdd786d7ea570$require$comparatorTrimReplace = $hhSwF.comparatorTrimReplace;\nvar $857bdd786d7ea570$require$tildeTrimReplace = $hhSwF.tildeTrimReplace;\nvar $857bdd786d7ea570$require$caretTrimReplace = $hhSwF.caretTrimReplace;\n\nvar $iXsaM = parcelRequire(\"iXsaM\");\nvar $857bdd786d7ea570$require$FLAG_INCLUDE_PRERELEASE = $iXsaM.FLAG_INCLUDE_PRERELEASE;\nvar $857bdd786d7ea570$require$FLAG_LOOSE = $iXsaM.FLAG_LOOSE;\nconst $857bdd786d7ea570$var$isNullSet = (c)=>c.value === \"<0.0.0-0\";\nconst $857bdd786d7ea570$var$isAny = (c)=>c.value === \"\";\n// take a set of comparators and determine whether there\n// exists a version which can satisfy it\nconst $857bdd786d7ea570$var$isSatisfiable = (comparators, options)=>{\n let result = true;\n const remainingComparators = comparators.slice();\n let testComparator = remainingComparators.pop();\n while(result && remainingComparators.length){\n result = remainingComparators.every((otherComparator)=>{\n return testComparator.intersects(otherComparator, options);\n });\n testComparator = remainingComparators.pop();\n }\n return result;\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 $857bdd786d7ea570$var$parseComparator = (comp, options)=>{\n $jl9Uf(\"comp\", comp, options);\n comp = $857bdd786d7ea570$var$replaceCarets(comp, options);\n $jl9Uf(\"caret\", comp);\n comp = $857bdd786d7ea570$var$replaceTildes(comp, options);\n $jl9Uf(\"tildes\", comp);\n comp = $857bdd786d7ea570$var$replaceXRanges(comp, options);\n $jl9Uf(\"xrange\", comp);\n comp = $857bdd786d7ea570$var$replaceStars(comp, options);\n $jl9Uf(\"stars\", comp);\n return comp;\n};\nconst $857bdd786d7ea570$var$isX = (id)=>!id || id.toLowerCase() === \"x\" || id === \"*\";\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\n// ~0.0.1 --> >=0.0.1 <0.1.0-0\nconst $857bdd786d7ea570$var$replaceTildes = (comp, options)=>{\n return comp.trim().split(/\\s+/).map((c)=>$857bdd786d7ea570$var$replaceTilde(c, options)).join(\" \");\n};\nconst $857bdd786d7ea570$var$replaceTilde = (comp, options)=>{\n const r = options.loose ? $857bdd786d7ea570$require$re[$857bdd786d7ea570$require$t.TILDELOOSE] : $857bdd786d7ea570$require$re[$857bdd786d7ea570$require$t.TILDE];\n return comp.replace(r, (_, M, m, p, pr)=>{\n $jl9Uf(\"tilde\", comp, _, M, m, p, pr);\n let ret;\n if ($857bdd786d7ea570$var$isX(M)) ret = \"\";\n else if ($857bdd786d7ea570$var$isX(m)) ret = `>=${M}.0.0 <${+M + 1}.0.0-0`;\n else if ($857bdd786d7ea570$var$isX(p)) // ~1.2 == >=1.2.0 <1.3.0-0\n ret = `>=${M}.${m}.0 <${M}.${+m + 1}.0-0`;\n else if (pr) {\n $jl9Uf(\"replaceTilde pr\", pr);\n ret = `>=${M}.${m}.${p}-${pr} <${M}.${+m + 1}.0-0`;\n } else // ~1.2.3 == >=1.2.3 <1.3.0-0\n ret = `>=${M}.${m}.${p} <${M}.${+m + 1}.0-0`;\n $jl9Uf(\"tilde return\", ret);\n return ret;\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\n// ^0.0.1 --> >=0.0.1 <0.0.2-0\n// ^0.1.0 --> >=0.1.0 <0.2.0-0\nconst $857bdd786d7ea570$var$replaceCarets = (comp, options)=>{\n return comp.trim().split(/\\s+/).map((c)=>$857bdd786d7ea570$var$replaceCaret(c, options)).join(\" \");\n};\nconst $857bdd786d7ea570$var$replaceCaret = (comp, options)=>{\n $jl9Uf(\"caret\", comp, options);\n const r = options.loose ? $857bdd786d7ea570$require$re[$857bdd786d7ea570$require$t.CARETLOOSE] : $857bdd786d7ea570$require$re[$857bdd786d7ea570$require$t.CARET];\n const z = options.includePrerelease ? \"-0\" : \"\";\n return comp.replace(r, (_, M, m, p, pr)=>{\n $jl9Uf(\"caret\", comp, _, M, m, p, pr);\n let ret;\n if ($857bdd786d7ea570$var$isX(M)) ret = \"\";\n else if ($857bdd786d7ea570$var$isX(m)) ret = `>=${M}.0.0${z} <${+M + 1}.0.0-0`;\n else if ($857bdd786d7ea570$var$isX(p)) {\n if (M === \"0\") ret = `>=${M}.${m}.0${z} <${M}.${+m + 1}.0-0`;\n else ret = `>=${M}.${m}.0${z} <${+M + 1}.0.0-0`;\n } else if (pr) {\n $jl9Uf(\"replaceCaret pr\", pr);\n if (M === \"0\") {\n if (m === \"0\") ret = `>=${M}.${m}.${p}-${pr} <${M}.${m}.${+p + 1}-0`;\n else ret = `>=${M}.${m}.${p}-${pr} <${M}.${+m + 1}.0-0`;\n } else ret = `>=${M}.${m}.${p}-${pr} <${+M + 1}.0.0-0`;\n } else {\n $jl9Uf(\"no pr\");\n if (M === \"0\") {\n if (m === \"0\") ret = `>=${M}.${m}.${p}${z} <${M}.${m}.${+p + 1}-0`;\n else ret = `>=${M}.${m}.${p}${z} <${M}.${+m + 1}.0-0`;\n } else ret = `>=${M}.${m}.${p} <${+M + 1}.0.0-0`;\n }\n $jl9Uf(\"caret return\", ret);\n return ret;\n });\n};\nconst $857bdd786d7ea570$var$replaceXRanges = (comp, options)=>{\n $jl9Uf(\"replaceXRanges\", comp, options);\n return comp.split(/\\s+/).map((c)=>$857bdd786d7ea570$var$replaceXRange(c, options)).join(\" \");\n};\nconst $857bdd786d7ea570$var$replaceXRange = (comp, options)=>{\n comp = comp.trim();\n const r = options.loose ? $857bdd786d7ea570$require$re[$857bdd786d7ea570$require$t.XRANGELOOSE] : $857bdd786d7ea570$require$re[$857bdd786d7ea570$require$t.XRANGE];\n return comp.replace(r, (ret, gtlt, M, m, p, pr)=>{\n $jl9Uf(\"xRange\", comp, ret, gtlt, M, m, p, pr);\n const xM = $857bdd786d7ea570$var$isX(M);\n const xm = xM || $857bdd786d7ea570$var$isX(m);\n const xp = xm || $857bdd786d7ea570$var$isX(p);\n const anyX = xp;\n if (gtlt === \"=\" && anyX) gtlt = \"\";\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 if (xM) {\n if (gtlt === \">\" || gtlt === \"<\") // nothing is allowed\n ret = \"<0.0.0-0\";\n else // nothing is forbidden\n ret = \"*\";\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) m = 0;\n p = 0;\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) M = +M + 1;\n else m = +m + 1;\n }\n if (gtlt === \"<\") pr = \"-0\";\n ret = `${gtlt + M}.${m}.${p}${pr}`;\n } else if (xm) ret = `>=${M}.0.0${pr} <${+M + 1}.0.0-0`;\n else if (xp) ret = `>=${M}.${m}.0${pr} <${M}.${+m + 1}.0-0`;\n $jl9Uf(\"xRange return\", ret);\n return ret;\n });\n};\n// Because * is AND-ed with everything else in the comparator,\n// and '' means \"any version\", just remove the *s entirely.\nconst $857bdd786d7ea570$var$replaceStars = (comp, options)=>{\n $jl9Uf(\"replaceStars\", comp, options);\n // Looseness is ignored here. star is always as loose as it gets!\n return comp.trim().replace($857bdd786d7ea570$require$re[$857bdd786d7ea570$require$t.STAR], \"\");\n};\nconst $857bdd786d7ea570$var$replaceGTE0 = (comp, options)=>{\n $jl9Uf(\"replaceGTE0\", comp, options);\n return comp.trim().replace($857bdd786d7ea570$require$re[options.includePrerelease ? $857bdd786d7ea570$require$t.GTE0PRE : $857bdd786d7ea570$require$t.GTE0], \"\");\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 $857bdd786d7ea570$var$hyphenReplace = (incPr)=>($0, from, fM, fm, fp, fpr, fb, to, tM, tm, tp, tpr, tb)=>{\n if ($857bdd786d7ea570$var$isX(fM)) from = \"\";\n else if ($857bdd786d7ea570$var$isX(fm)) from = `>=${fM}.0.0${incPr ? \"-0\" : \"\"}`;\n else if ($857bdd786d7ea570$var$isX(fp)) from = `>=${fM}.${fm}.0${incPr ? \"-0\" : \"\"}`;\n else if (fpr) from = `>=${from}`;\n else from = `>=${from}${incPr ? \"-0\" : \"\"}`;\n if ($857bdd786d7ea570$var$isX(tM)) to = \"\";\n else if ($857bdd786d7ea570$var$isX(tm)) to = `<${+tM + 1}.0.0-0`;\n else if ($857bdd786d7ea570$var$isX(tp)) to = `<${tM}.${+tm + 1}.0-0`;\n else if (tpr) to = `<=${tM}.${tm}.${tp}-${tpr}`;\n else if (incPr) to = `<${tM}.${tm}.${+tp + 1}-0`;\n else to = `<=${to}`;\n return `${from} ${to}`.trim();\n };\nconst $857bdd786d7ea570$var$testSet = (set, version, options)=>{\n for(let i = 0; i < set.length; i++){\n if (!set[i].test(version)) return false;\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 $jl9Uf(set[i].semver);\n if (set[i].semver === $1bxhC.ANY) continue;\n if (set[i].semver.prerelease.length > 0) {\n const allowed = set[i].semver;\n if (allowed.major === version.major && allowed.minor === version.minor && allowed.patch === version.patch) return true;\n }\n }\n // Version has a -pre, but it's not one of the ones we like.\n return false;\n }\n return true;\n};\n\n});\nparcelRegister(\"31A6g\", function(module, exports) {\n\"use strict\";\n\nvar $i08Cw = parcelRequire(\"i08Cw\");\nconst $233d77d4742ed838$var$MAX = Symbol(\"max\");\nconst $233d77d4742ed838$var$LENGTH = Symbol(\"length\");\nconst $233d77d4742ed838$var$LENGTH_CALCULATOR = Symbol(\"lengthCalculator\");\nconst $233d77d4742ed838$var$ALLOW_STALE = Symbol(\"allowStale\");\nconst $233d77d4742ed838$var$MAX_AGE = Symbol(\"maxAge\");\nconst $233d77d4742ed838$var$DISPOSE = Symbol(\"dispose\");\nconst $233d77d4742ed838$var$NO_DISPOSE_ON_SET = Symbol(\"noDisposeOnSet\");\nconst $233d77d4742ed838$var$LRU_LIST = Symbol(\"lruList\");\nconst $233d77d4742ed838$var$CACHE = Symbol(\"cache\");\nconst $233d77d4742ed838$var$UPDATE_AGE_ON_GET = Symbol(\"updateAgeOnGet\");\nconst $233d77d4742ed838$var$naiveLength = ()=>1;\n// lruList is a yallist where the head is the youngest\n// item, and the tail is the oldest. the list contains the Hit\n// objects as the entries.\n// Each Hit object has a reference to its Yallist.Node. This\n// never changes.\n//\n// cache is a Map (or PseudoMap) that matches the keys to\n// the Yallist.Node object.\nclass $233d77d4742ed838$var$LRUCache {\n constructor(options){\n if (typeof options === \"number\") options = {\n max: options\n };\n if (!options) options = {};\n if (options.max && (typeof options.max !== \"number\" || options.max < 0)) throw new TypeError(\"max must be a non-negative number\");\n // Kind of weird to have a default max of Infinity, but oh well.\n const max = this[$233d77d4742ed838$var$MAX] = options.max || Infinity;\n const lc = options.length || $233d77d4742ed838$var$naiveLength;\n this[$233d77d4742ed838$var$LENGTH_CALCULATOR] = typeof lc !== \"function\" ? $233d77d4742ed838$var$naiveLength : lc;\n this[$233d77d4742ed838$var$ALLOW_STALE] = options.stale || false;\n if (options.maxAge && typeof options.maxAge !== \"number\") throw new TypeError(\"maxAge must be a number\");\n this[$233d77d4742ed838$var$MAX_AGE] = options.maxAge || 0;\n this[$233d77d4742ed838$var$DISPOSE] = options.dispose;\n this[$233d77d4742ed838$var$NO_DISPOSE_ON_SET] = options.noDisposeOnSet || false;\n this[$233d77d4742ed838$var$UPDATE_AGE_ON_GET] = options.updateAgeOnGet || false;\n this.reset();\n }\n // resize the cache when the max changes.\n set max(mL) {\n if (typeof mL !== \"number\" || mL < 0) throw new TypeError(\"max must be a non-negative number\");\n this[$233d77d4742ed838$var$MAX] = mL || Infinity;\n $233d77d4742ed838$var$trim(this);\n }\n get max() {\n return this[$233d77d4742ed838$var$MAX];\n }\n set allowStale(allowStale) {\n this[$233d77d4742ed838$var$ALLOW_STALE] = !!allowStale;\n }\n get allowStale() {\n return this[$233d77d4742ed838$var$ALLOW_STALE];\n }\n set maxAge(mA) {\n if (typeof mA !== \"number\") throw new TypeError(\"maxAge must be a non-negative number\");\n this[$233d77d4742ed838$var$MAX_AGE] = mA;\n $233d77d4742ed838$var$trim(this);\n }\n get maxAge() {\n return this[$233d77d4742ed838$var$MAX_AGE];\n }\n // resize the cache when the lengthCalculator changes.\n set lengthCalculator(lC) {\n if (typeof lC !== \"function\") lC = $233d77d4742ed838$var$naiveLength;\n if (lC !== this[$233d77d4742ed838$var$LENGTH_CALCULATOR]) {\n this[$233d77d4742ed838$var$LENGTH_CALCULATOR] = lC;\n this[$233d77d4742ed838$var$LENGTH] = 0;\n this[$233d77d4742ed838$var$LRU_LIST].forEach((hit)=>{\n hit.length = this[$233d77d4742ed838$var$LENGTH_CALCULATOR](hit.value, hit.key);\n this[$233d77d4742ed838$var$LENGTH] += hit.length;\n });\n }\n $233d77d4742ed838$var$trim(this);\n }\n get lengthCalculator() {\n return this[$233d77d4742ed838$var$LENGTH_CALCULATOR];\n }\n get length() {\n return this[$233d77d4742ed838$var$LENGTH];\n }\n get itemCount() {\n return this[$233d77d4742ed838$var$LRU_LIST].length;\n }\n rforEach(fn, thisp) {\n thisp = thisp || this;\n for(let walker = this[$233d77d4742ed838$var$LRU_LIST].tail; walker !== null;){\n const prev = walker.prev;\n $233d77d4742ed838$var$forEachStep(this, fn, walker, thisp);\n walker = prev;\n }\n }\n forEach(fn, thisp) {\n thisp = thisp || this;\n for(let walker = this[$233d77d4742ed838$var$LRU_LIST].head; walker !== null;){\n const next = walker.next;\n $233d77d4742ed838$var$forEachStep(this, fn, walker, thisp);\n walker = next;\n }\n }\n keys() {\n return this[$233d77d4742ed838$var$LRU_LIST].toArray().map((k)=>k.key);\n }\n values() {\n return this[$233d77d4742ed838$var$LRU_LIST].toArray().map((k)=>k.value);\n }\n reset() {\n if (this[$233d77d4742ed838$var$DISPOSE] && this[$233d77d4742ed838$var$LRU_LIST] && this[$233d77d4742ed838$var$LRU_LIST].length) this[$233d77d4742ed838$var$LRU_LIST].forEach((hit)=>this[$233d77d4742ed838$var$DISPOSE](hit.key, hit.value));\n this[$233d77d4742ed838$var$CACHE] = new Map() // hash of items by key\n ;\n this[$233d77d4742ed838$var$LRU_LIST] = new $i08Cw() // list of items in order of use recency\n ;\n this[$233d77d4742ed838$var$LENGTH] = 0 // length of items in the list\n ;\n }\n dump() {\n return this[$233d77d4742ed838$var$LRU_LIST].map((hit)=>$233d77d4742ed838$var$isStale(this, hit) ? false : {\n k: hit.key,\n v: hit.value,\n e: hit.now + (hit.maxAge || 0)\n }).toArray().filter((h)=>h);\n }\n dumpLru() {\n return this[$233d77d4742ed838$var$LRU_LIST];\n }\n set(key, value, maxAge) {\n maxAge = maxAge || this[$233d77d4742ed838$var$MAX_AGE];\n if (maxAge && typeof maxAge !== \"number\") throw new TypeError(\"maxAge must be a number\");\n const now = maxAge ? Date.now() : 0;\n const len = this[$233d77d4742ed838$var$LENGTH_CALCULATOR](value, key);\n if (this[$233d77d4742ed838$var$CACHE].has(key)) {\n if (len > this[$233d77d4742ed838$var$MAX]) {\n $233d77d4742ed838$var$del(this, this[$233d77d4742ed838$var$CACHE].get(key));\n return false;\n }\n const node = this[$233d77d4742ed838$var$CACHE].get(key);\n const item = node.value;\n // dispose of the old one before overwriting\n // split out into 2 ifs for better coverage tracking\n if (this[$233d77d4742ed838$var$DISPOSE]) {\n if (!this[$233d77d4742ed838$var$NO_DISPOSE_ON_SET]) this[$233d77d4742ed838$var$DISPOSE](key, item.value);\n }\n item.now = now;\n item.maxAge = maxAge;\n item.value = value;\n this[$233d77d4742ed838$var$LENGTH] += len - item.length;\n item.length = len;\n this.get(key);\n $233d77d4742ed838$var$trim(this);\n return true;\n }\n const hit = new $233d77d4742ed838$var$Entry(key, value, len, now, maxAge);\n // oversized objects fall out of cache automatically.\n if (hit.length > this[$233d77d4742ed838$var$MAX]) {\n if (this[$233d77d4742ed838$var$DISPOSE]) this[$233d77d4742ed838$var$DISPOSE](key, value);\n return false;\n }\n this[$233d77d4742ed838$var$LENGTH] += hit.length;\n this[$233d77d4742ed838$var$LRU_LIST].unshift(hit);\n this[$233d77d4742ed838$var$CACHE].set(key, this[$233d77d4742ed838$var$LRU_LIST].head);\n $233d77d4742ed838$var$trim(this);\n return true;\n }\n has(key) {\n if (!this[$233d77d4742ed838$var$CACHE].has(key)) return false;\n const hit = this[$233d77d4742ed838$var$CACHE].get(key).value;\n return !$233d77d4742ed838$var$isStale(this, hit);\n }\n get(key) {\n return $233d77d4742ed838$var$get(this, key, true);\n }\n peek(key) {\n return $233d77d4742ed838$var$get(this, key, false);\n }\n pop() {\n const node = this[$233d77d4742ed838$var$LRU_LIST].tail;\n if (!node) return null;\n $233d77d4742ed838$var$del(this, node);\n return node.value;\n }\n del(key) {\n $233d77d4742ed838$var$del(this, this[$233d77d4742ed838$var$CACHE].get(key));\n }\n load(arr) {\n // reset the cache\n this.reset();\n const now = Date.now();\n // A previous serialized cache has the most recent items first\n for(let l = arr.length - 1; l >= 0; l--){\n const hit = arr[l];\n const expiresAt = hit.e || 0;\n if (expiresAt === 0) // the item was created without expiration in a non aged cache\n this.set(hit.k, hit.v);\n else {\n const maxAge = expiresAt - now;\n // dont add already expired items\n if (maxAge > 0) this.set(hit.k, hit.v, maxAge);\n }\n }\n }\n prune() {\n this[$233d77d4742ed838$var$CACHE].forEach((value, key)=>$233d77d4742ed838$var$get(this, key, false));\n }\n}\nconst $233d77d4742ed838$var$get = (self, key, doUse)=>{\n const node = self[$233d77d4742ed838$var$CACHE].get(key);\n if (node) {\n const hit = node.value;\n if ($233d77d4742ed838$var$isStale(self, hit)) {\n $233d77d4742ed838$var$del(self, node);\n if (!self[$233d77d4742ed838$var$ALLOW_STALE]) return undefined;\n } else if (doUse) {\n if (self[$233d77d4742ed838$var$UPDATE_AGE_ON_GET]) node.value.now = Date.now();\n self[$233d77d4742ed838$var$LRU_LIST].unshiftNode(node);\n }\n return hit.value;\n }\n};\nconst $233d77d4742ed838$var$isStale = (self, hit)=>{\n if (!hit || !hit.maxAge && !self[$233d77d4742ed838$var$MAX_AGE]) return false;\n const diff = Date.now() - hit.now;\n return hit.maxAge ? diff > hit.maxAge : self[$233d77d4742ed838$var$MAX_AGE] && diff > self[$233d77d4742ed838$var$MAX_AGE];\n};\nconst $233d77d4742ed838$var$trim = (self)=>{\n if (self[$233d77d4742ed838$var$LENGTH] > self[$233d77d4742ed838$var$MAX]) for(let walker = self[$233d77d4742ed838$var$LRU_LIST].tail; self[$233d77d4742ed838$var$LENGTH] > self[$233d77d4742ed838$var$MAX] && walker !== null;){\n // We know that we're about to delete this one, and also\n // what the next least recently used key will be, so just\n // go ahead and set it now.\n const prev = walker.prev;\n $233d77d4742ed838$var$del(self, walker);\n walker = prev;\n }\n};\nconst $233d77d4742ed838$var$del = (self, node)=>{\n if (node) {\n const hit = node.value;\n if (self[$233d77d4742ed838$var$DISPOSE]) self[$233d77d4742ed838$var$DISPOSE](hit.key, hit.value);\n self[$233d77d4742ed838$var$LENGTH] -= hit.length;\n self[$233d77d4742ed838$var$CACHE].delete(hit.key);\n self[$233d77d4742ed838$var$LRU_LIST].removeNode(node);\n }\n};\nclass $233d77d4742ed838$var$Entry {\n constructor(key, value, length, now, maxAge){\n this.key = key;\n this.value = value;\n this.length = length;\n this.now = now;\n this.maxAge = maxAge || 0;\n }\n}\nconst $233d77d4742ed838$var$forEachStep = (self, fn, node, thisp)=>{\n let hit = node.value;\n if ($233d77d4742ed838$var$isStale(self, hit)) {\n $233d77d4742ed838$var$del(self, node);\n if (!self[$233d77d4742ed838$var$ALLOW_STALE]) hit = undefined;\n }\n if (hit) fn.call(thisp, hit.value, hit.key, self);\n};\nmodule.exports = $233d77d4742ed838$var$LRUCache;\n\n});\nparcelRegister(\"i08Cw\", function(module, exports) {\n\"use strict\";\nmodule.exports = $d1aee9e840285ba3$var$Yallist;\n$d1aee9e840285ba3$var$Yallist.Node = $d1aee9e840285ba3$var$Node;\n$d1aee9e840285ba3$var$Yallist.create = $d1aee9e840285ba3$var$Yallist;\nfunction $d1aee9e840285ba3$var$Yallist(list) {\n var self = this;\n if (!(self instanceof $d1aee9e840285ba3$var$Yallist)) self = new $d1aee9e840285ba3$var$Yallist();\n self.tail = null;\n self.head = null;\n self.length = 0;\n if (list && typeof list.forEach === \"function\") list.forEach(function(item) {\n self.push(item);\n });\n else if (arguments.length > 0) for(var i = 0, l = arguments.length; i < l; i++)self.push(arguments[i]);\n return self;\n}\n$d1aee9e840285ba3$var$Yallist.prototype.removeNode = function(node) {\n if (node.list !== this) throw new Error(\"removing node which does not belong to this list\");\n var next = node.next;\n var prev = node.prev;\n if (next) next.prev = prev;\n if (prev) prev.next = next;\n if (node === this.head) this.head = next;\n if (node === this.tail) this.tail = prev;\n node.list.length--;\n node.next = null;\n node.prev = null;\n node.list = null;\n return next;\n};\n$d1aee9e840285ba3$var$Yallist.prototype.unshiftNode = function(node) {\n if (node === this.head) return;\n if (node.list) node.list.removeNode(node);\n var head = this.head;\n node.list = this;\n node.next = head;\n if (head) head.prev = node;\n this.head = node;\n if (!this.tail) this.tail = node;\n this.length++;\n};\n$d1aee9e840285ba3$var$Yallist.prototype.pushNode = function(node) {\n if (node === this.tail) return;\n if (node.list) node.list.removeNode(node);\n var tail = this.tail;\n node.list = this;\n node.prev = tail;\n if (tail) tail.next = node;\n this.tail = node;\n if (!this.head) this.head = node;\n this.length++;\n};\n$d1aee9e840285ba3$var$Yallist.prototype.push = function() {\n for(var i = 0, l = arguments.length; i < l; i++)$d1aee9e840285ba3$var$push(this, arguments[i]);\n return this.length;\n};\n$d1aee9e840285ba3$var$Yallist.prototype.unshift = function() {\n for(var i = 0, l = arguments.length; i < l; i++)$d1aee9e840285ba3$var$unshift(this, arguments[i]);\n return this.length;\n};\n$d1aee9e840285ba3$var$Yallist.prototype.pop = function() {\n if (!this.tail) return undefined;\n var res = this.tail.value;\n this.tail = this.tail.prev;\n if (this.tail) this.tail.next = null;\n else this.head = null;\n this.length--;\n return res;\n};\n$d1aee9e840285ba3$var$Yallist.prototype.shift = function() {\n if (!this.head) return undefined;\n var res = this.head.value;\n this.head = this.head.next;\n if (this.head) this.head.prev = null;\n else this.tail = null;\n this.length--;\n return res;\n};\n$d1aee9e840285ba3$var$Yallist.prototype.forEach = function(fn, thisp) {\n thisp = thisp || this;\n for(var walker = this.head, i = 0; walker !== null; i++){\n fn.call(thisp, walker.value, i, this);\n walker = walker.next;\n }\n};\n$d1aee9e840285ba3$var$Yallist.prototype.forEachReverse = function(fn, thisp) {\n thisp = thisp || this;\n for(var walker = this.tail, i = this.length - 1; walker !== null; i--){\n fn.call(thisp, walker.value, i, this);\n walker = walker.prev;\n }\n};\n$d1aee9e840285ba3$var$Yallist.prototype.get = function(n) {\n for(var i = 0, walker = this.head; walker !== null && i < n; i++)// abort out of the list early if we hit a cycle\n walker = walker.next;\n if (i === n && walker !== null) return walker.value;\n};\n$d1aee9e840285ba3$var$Yallist.prototype.getReverse = function(n) {\n for(var i = 0, walker = this.tail; walker !== null && i < n; i++)// abort out of the list early if we hit a cycle\n walker = walker.prev;\n if (i === n && walker !== null) return walker.value;\n};\n$d1aee9e840285ba3$var$Yallist.prototype.map = function(fn, thisp) {\n thisp = thisp || this;\n var res = new $d1aee9e840285ba3$var$Yallist();\n for(var walker = this.head; walker !== null;){\n res.push(fn.call(thisp, walker.value, this));\n walker = walker.next;\n }\n return res;\n};\n$d1aee9e840285ba3$var$Yallist.prototype.mapReverse = function(fn, thisp) {\n thisp = thisp || this;\n var res = new $d1aee9e840285ba3$var$Yallist();\n for(var walker = this.tail; walker !== null;){\n res.push(fn.call(thisp, walker.value, this));\n walker = walker.prev;\n }\n return res;\n};\n$d1aee9e840285ba3$var$Yallist.prototype.reduce = function(fn, initial) {\n var acc;\n var walker = this.head;\n if (arguments.length > 1) acc = initial;\n else if (this.head) {\n walker = this.head.next;\n acc = this.head.value;\n } else throw new TypeError(\"Reduce of empty list with no initial value\");\n for(var i = 0; walker !== null; i++){\n acc = fn(acc, walker.value, i);\n walker = walker.next;\n }\n return acc;\n};\n$d1aee9e840285ba3$var$Yallist.prototype.reduceReverse = function(fn, initial) {\n var acc;\n var walker = this.tail;\n if (arguments.length > 1) acc = initial;\n else if (this.tail) {\n walker = this.tail.prev;\n acc = this.tail.value;\n } else throw new TypeError(\"Reduce of empty list with no initial value\");\n for(var i = this.length - 1; walker !== null; i--){\n acc = fn(acc, walker.value, i);\n walker = walker.prev;\n }\n return acc;\n};\n$d1aee9e840285ba3$var$Yallist.prototype.toArray = function() {\n var arr = new Array(this.length);\n for(var i = 0, walker = this.head; walker !== null; i++){\n arr[i] = walker.value;\n walker = walker.next;\n }\n return arr;\n};\n$d1aee9e840285ba3$var$Yallist.prototype.toArrayReverse = function() {\n var arr = new Array(this.length);\n for(var i = 0, walker = this.tail; walker !== null; i++){\n arr[i] = walker.value;\n walker = walker.prev;\n }\n return arr;\n};\n$d1aee9e840285ba3$var$Yallist.prototype.slice = function(from, to) {\n to = to || this.length;\n if (to < 0) to += this.length;\n from = from || 0;\n if (from < 0) from += this.length;\n var ret = new $d1aee9e840285ba3$var$Yallist();\n if (to < from || to < 0) return ret;\n if (from < 0) from = 0;\n if (to > this.length) to = this.length;\n for(var i = 0, walker = this.head; walker !== null && i < from; i++)walker = walker.next;\n for(; walker !== null && i < to; i++, walker = walker.next)ret.push(walker.value);\n return ret;\n};\n$d1aee9e840285ba3$var$Yallist.prototype.sliceReverse = function(from, to) {\n to = to || this.length;\n if (to < 0) to += this.length;\n from = from || 0;\n if (from < 0) from += this.length;\n var ret = new $d1aee9e840285ba3$var$Yallist();\n if (to < from || to < 0) return ret;\n if (from < 0) from = 0;\n if (to > this.length) to = this.length;\n for(var i = this.length, walker = this.tail; walker !== null && i > to; i--)walker = walker.prev;\n for(; walker !== null && i > from; i--, walker = walker.prev)ret.push(walker.value);\n return ret;\n};\n$d1aee9e840285ba3$var$Yallist.prototype.splice = function(start, deleteCount, ...nodes) {\n if (start > this.length) start = this.length - 1;\n if (start < 0) start = this.length + start;\n for(var i = 0, walker = this.head; walker !== null && i < start; i++)walker = walker.next;\n var ret = [];\n for(var i = 0; walker && i < deleteCount; i++){\n ret.push(walker.value);\n walker = this.removeNode(walker);\n }\n if (walker === null) walker = this.tail;\n if (walker !== this.head && walker !== this.tail) walker = walker.prev;\n for(var i = 0; i < nodes.length; i++)walker = $d1aee9e840285ba3$var$insert(this, walker, nodes[i]);\n return ret;\n};\n$d1aee9e840285ba3$var$Yallist.prototype.reverse = function() {\n var head = this.head;\n var tail = this.tail;\n for(var walker = head; walker !== null; walker = walker.prev){\n var p = walker.prev;\n walker.prev = walker.next;\n walker.next = p;\n }\n this.head = tail;\n this.tail = head;\n return this;\n};\nfunction $d1aee9e840285ba3$var$insert(self, node, value) {\n var inserted = node === self.head ? new $d1aee9e840285ba3$var$Node(value, null, node, self) : new $d1aee9e840285ba3$var$Node(value, node, node.next, self);\n if (inserted.next === null) self.tail = inserted;\n if (inserted.prev === null) self.head = inserted;\n self.length++;\n return inserted;\n}\nfunction $d1aee9e840285ba3$var$push(self, item) {\n self.tail = new $d1aee9e840285ba3$var$Node(item, self.tail, null, self);\n if (!self.head) self.head = self.tail;\n self.length++;\n}\nfunction $d1aee9e840285ba3$var$unshift(self, item) {\n self.head = new $d1aee9e840285ba3$var$Node(item, null, self.head, self);\n if (!self.tail) self.tail = self.head;\n self.length++;\n}\nfunction $d1aee9e840285ba3$var$Node(value, prev, next, list) {\n if (!(this instanceof $d1aee9e840285ba3$var$Node)) return new $d1aee9e840285ba3$var$Node(value, prev, next, list);\n this.list = list;\n this.value = value;\n if (prev) {\n prev.next = this;\n this.prev = prev;\n } else this.prev = null;\n if (next) {\n next.prev = this;\n this.next = next;\n } else this.next = null;\n}\n\ntry {\n // add if support for Symbol.iterator is present\n (parcelRequire(\"5MZUR\"))($d1aee9e840285ba3$var$Yallist);\n} catch (er) {}\n\n});\nparcelRegister(\"5MZUR\", function(module, exports) {\n\"use strict\";\nmodule.exports = function(Yallist) {\n Yallist.prototype[Symbol.iterator] = function*() {\n for(let walker = this.head; walker; walker = walker.next)yield walker.value;\n };\n};\n\n});\n\n\n\n\n\nparcelRegister(\"42oIR\", function(module, exports) {\n\nvar $bswWF = parcelRequire(\"bswWF\");\nconst $2f0a86b5a65258ab$var$satisfies = (version, range, options)=>{\n try {\n range = new $bswWF(range, options);\n } catch (er) {\n return false;\n }\n return range.test(version);\n};\nmodule.exports = $2f0a86b5a65258ab$var$satisfies;\n\n});\n\nparcelRegister(\"4zfp3\", function(module, exports) {\n\nvar $bswWF = parcelRequire(\"bswWF\");\n// Mostly just for testing and legacy API reasons\nconst $3536610e76dfa838$var$toComparators = (range, options)=>new $bswWF(range, options).set.map((comp)=>comp.map((c)=>c.value).join(\" \").trim().split(\" \"));\nmodule.exports = $3536610e76dfa838$var$toComparators;\n\n});\n\nparcelRegister(\"ga5uZ\", function(module, exports) {\n\nvar $8cXe9 = parcelRequire(\"8cXe9\");\n\nvar $bswWF = parcelRequire(\"bswWF\");\nconst $bc41d878d052b110$var$maxSatisfying = (versions, range, options)=>{\n let max = null;\n let maxSV = null;\n let rangeObj = null;\n try {\n rangeObj = new $bswWF(range, options);\n } catch (er) {\n return null;\n }\n versions.forEach((v)=>{\n if (rangeObj.test(v)) // satisfies(v, range, options)\n {\n if (!max || maxSV.compare(v) === -1) {\n // compare(max, v, true)\n max = v;\n maxSV = new $8cXe9(max, options);\n }\n }\n });\n return max;\n};\nmodule.exports = $bc41d878d052b110$var$maxSatisfying;\n\n});\n\nparcelRegister(\"lPGVL\", function(module, exports) {\n\nvar $8cXe9 = parcelRequire(\"8cXe9\");\n\nvar $bswWF = parcelRequire(\"bswWF\");\nconst $fe4fa984faf344fb$var$minSatisfying = (versions, range, options)=>{\n let min = null;\n let minSV = null;\n let rangeObj = null;\n try {\n rangeObj = new $bswWF(range, options);\n } catch (er) {\n return null;\n }\n versions.forEach((v)=>{\n if (rangeObj.test(v)) // satisfies(v, range, options)\n {\n if (!min || minSV.compare(v) === 1) {\n // compare(min, v, true)\n min = v;\n minSV = new $8cXe9(min, options);\n }\n }\n });\n return min;\n};\nmodule.exports = $fe4fa984faf344fb$var$minSatisfying;\n\n});\n\nparcelRegister(\"1I8AA\", function(module, exports) {\n\nvar $8cXe9 = parcelRequire(\"8cXe9\");\n\nvar $bswWF = parcelRequire(\"bswWF\");\n\nvar $cOpcP = parcelRequire(\"cOpcP\");\nconst $13f0901f38b9c38e$var$minVersion = (range, loose)=>{\n range = new $bswWF(range, loose);\n let minver = new $8cXe9(\"0.0.0\");\n if (range.test(minver)) return minver;\n minver = new $8cXe9(\"0.0.0-0\");\n if (range.test(minver)) return minver;\n minver = null;\n for(let i = 0; i < range.set.length; ++i){\n const comparators = range.set[i];\n let setMin = null;\n comparators.forEach((comparator)=>{\n // Clone to avoid manipulating the comparator's semver object.\n const compver = new $8cXe9(comparator.semver.version);\n switch(comparator.operator){\n case \">\":\n if (compver.prerelease.length === 0) compver.patch++;\n else compver.prerelease.push(0);\n compver.raw = compver.format();\n /* fallthrough */ case \"\":\n case \">=\":\n if (!setMin || $cOpcP(compver, setMin)) setMin = compver;\n break;\n case \"<\":\n case \"<=\":\n break;\n /* istanbul ignore next */ default:\n throw new Error(`Unexpected operation: ${comparator.operator}`);\n }\n });\n if (setMin && (!minver || $cOpcP(minver, setMin))) minver = setMin;\n }\n if (minver && range.test(minver)) return minver;\n return null;\n};\nmodule.exports = $13f0901f38b9c38e$var$minVersion;\n\n});\n\nparcelRegister(\"dBtft\", function(module, exports) {\n\nvar $bswWF = parcelRequire(\"bswWF\");\nconst $028e47ec34506e56$var$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 $bswWF(range, options).range || \"*\";\n } catch (er) {\n return null;\n }\n};\nmodule.exports = $028e47ec34506e56$var$validRange;\n\n});\n\nparcelRegister(\"83Sp2\", function(module, exports) {\n\nvar $8cXe9 = parcelRequire(\"8cXe9\");\n\nvar $1bxhC = parcelRequire(\"1bxhC\");\nconst { ANY: $5de8cdd25b195029$var$ANY } = $1bxhC;\n\nvar $bswWF = parcelRequire(\"bswWF\");\n\nvar $42oIR = parcelRequire(\"42oIR\");\n\nvar $cOpcP = parcelRequire(\"cOpcP\");\n\nvar $58P10 = parcelRequire(\"58P10\");\n\nvar $hlfY9 = parcelRequire(\"hlfY9\");\n\nvar $3XWvL = parcelRequire(\"3XWvL\");\nconst $5de8cdd25b195029$var$outside = (version, range, hilo, options)=>{\n version = new $8cXe9(version, options);\n range = new $bswWF(range, options);\n let gtfn, ltefn, ltfn, comp, ecomp;\n switch(hilo){\n case \">\":\n gtfn = $cOpcP;\n ltefn = $hlfY9;\n ltfn = $58P10;\n comp = \">\";\n ecomp = \">=\";\n break;\n case \"<\":\n gtfn = $58P10;\n ltefn = $3XWvL;\n ltfn = $cOpcP;\n comp = \"<\";\n ecomp = \"<=\";\n break;\n default:\n throw new TypeError('Must provide a hilo val of \"<\" or \">\"');\n }\n // If it satisfies the range it is not outside\n if ($42oIR(version, range, options)) return false;\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 for(let i = 0; i < range.set.length; ++i){\n const comparators = range.set[i];\n let high = null;\n let low = null;\n comparators.forEach((comparator)=>{\n if (comparator.semver === $5de8cdd25b195029$var$ANY) comparator = new $1bxhC(\">=0.0.0\");\n high = high || comparator;\n low = low || comparator;\n if (gtfn(comparator.semver, high.semver, options)) high = comparator;\n else if (ltfn(comparator.semver, low.semver, options)) low = comparator;\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) return false;\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) && ltefn(version, low.semver)) return false;\n else if (low.operator === ecomp && ltfn(version, low.semver)) return false;\n }\n return true;\n};\nmodule.exports = $5de8cdd25b195029$var$outside;\n\n});\n\nparcelRegister(\"eK4my\", function(module, exports) {\n// Determine if version is greater than all the versions possible in the range.\n\nvar $83Sp2 = parcelRequire(\"83Sp2\");\nconst $abb8bee76fa63cbc$var$gtr = (version, range, options)=>$83Sp2(version, range, \">\", options);\nmodule.exports = $abb8bee76fa63cbc$var$gtr;\n\n});\n\nparcelRegister(\"eNXBI\", function(module, exports) {\n\nvar $83Sp2 = parcelRequire(\"83Sp2\");\n// Determine if version is less than all the versions possible in the range\nconst $ac73e10f90b51c3e$var$ltr = (version, range, options)=>$83Sp2(version, range, \"<\", options);\nmodule.exports = $ac73e10f90b51c3e$var$ltr;\n\n});\n\nparcelRegister(\"kHzUo\", function(module, exports) {\n\nvar $bswWF = parcelRequire(\"bswWF\");\nconst $f123ad78b38d1607$var$intersects = (r1, r2, options)=>{\n r1 = new $bswWF(r1, options);\n r2 = new $bswWF(r2, options);\n return r1.intersects(r2, options);\n};\nmodule.exports = $f123ad78b38d1607$var$intersects;\n\n});\n\nparcelRegister(\"1x2XZ\", function(module, exports) {\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.\n\nvar $42oIR = parcelRequire(\"42oIR\");\n\nvar $jDqfd = parcelRequire(\"jDqfd\");\nmodule.exports = (versions, range, options)=>{\n const set = [];\n let first = null;\n let prev = null;\n const v = versions.sort((a, b)=>$jDqfd(a, b, options));\n for (const version of v){\n const included = $42oIR(version, range, options);\n if (included) {\n prev = version;\n if (!first) first = version;\n } else {\n if (prev) set.push([\n first,\n prev\n ]);\n prev = null;\n first = null;\n }\n }\n if (first) set.push([\n first,\n null\n ]);\n const ranges = [];\n for (const [min, max] of set){\n if (min === max) ranges.push(min);\n else if (!max && min === v[0]) ranges.push(\"*\");\n else if (!max) ranges.push(`>=${min}`);\n else if (min === v[0]) ranges.push(`<=${max}`);\n else ranges.push(`${min} - ${max}`);\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\n});\n\nparcelRegister(\"hTYir\", function(module, exports) {\n\nvar $bswWF = parcelRequire(\"bswWF\");\n\nvar $1bxhC = parcelRequire(\"1bxhC\");\nconst { ANY: $d086585c4d9c3926$var$ANY } = $1bxhC;\n\nvar $42oIR = parcelRequire(\"42oIR\");\n\nvar $jDqfd = parcelRequire(\"jDqfd\");\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\nconst $d086585c4d9c3926$var$subset = (sub, dom, options = {})=>{\n if (sub === dom) return true;\n sub = new $bswWF(sub, options);\n dom = new $bswWF(dom, options);\n let sawNonNull = false;\n OUTER: for (const simpleSub of sub.set){\n for (const simpleDom of dom.set){\n const isSub = $d086585c4d9c3926$var$simpleSubset(simpleSub, simpleDom, options);\n sawNonNull = sawNonNull || isSub !== null;\n if (isSub) continue OUTER;\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) return false;\n }\n return true;\n};\nconst $d086585c4d9c3926$var$minimumVersionWithPreRelease = [\n new $1bxhC(\">=0.0.0-0\")\n];\nconst $d086585c4d9c3926$var$minimumVersion = [\n new $1bxhC(\">=0.0.0\")\n];\nconst $d086585c4d9c3926$var$simpleSubset = (sub, dom, options)=>{\n if (sub === dom) return true;\n if (sub.length === 1 && sub[0].semver === $d086585c4d9c3926$var$ANY) {\n if (dom.length === 1 && dom[0].semver === $d086585c4d9c3926$var$ANY) return true;\n else if (options.includePrerelease) sub = $d086585c4d9c3926$var$minimumVersionWithPreRelease;\n else sub = $d086585c4d9c3926$var$minimumVersion;\n }\n if (dom.length === 1 && dom[0].semver === $d086585c4d9c3926$var$ANY) {\n if (options.includePrerelease) return true;\n else dom = $d086585c4d9c3926$var$minimumVersion;\n }\n const eqSet = new Set();\n let gt, lt;\n for (const c of sub){\n if (c.operator === \">\" || c.operator === \">=\") gt = $d086585c4d9c3926$var$higherGT(gt, c, options);\n else if (c.operator === \"<\" || c.operator === \"<=\") lt = $d086585c4d9c3926$var$lowerLT(lt, c, options);\n else eqSet.add(c.semver);\n }\n if (eqSet.size > 1) return null;\n let gtltComp;\n if (gt && lt) {\n gtltComp = $jDqfd(gt.semver, lt.semver, options);\n if (gtltComp > 0) return null;\n else if (gtltComp === 0 && (gt.operator !== \">=\" || lt.operator !== \"<=\")) return null;\n }\n // will iterate one or zero times\n for (const eq of eqSet){\n if (gt && !$42oIR(eq, String(gt), options)) return null;\n if (lt && !$42oIR(eq, String(lt), options)) return null;\n for (const c of dom){\n if (!$42oIR(eq, String(c), options)) return false;\n }\n return true;\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 && !options.includePrerelease && lt.semver.prerelease.length ? lt.semver : false;\n let needDomGTPre = gt && !options.includePrerelease && 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 && lt.operator === \"<\" && needDomLTPre.prerelease[0] === 0) needDomLTPre = false;\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 && c.semver.major === needDomGTPre.major && c.semver.minor === needDomGTPre.minor && c.semver.patch === needDomGTPre.patch) needDomGTPre = false;\n }\n if (c.operator === \">\" || c.operator === \">=\") {\n higher = $d086585c4d9c3926$var$higherGT(gt, c, options);\n if (higher === c && higher !== gt) return false;\n } else if (gt.operator === \">=\" && !$42oIR(gt.semver, String(c), options)) return false;\n }\n if (lt) {\n if (needDomLTPre) {\n if (c.semver.prerelease && c.semver.prerelease.length && c.semver.major === needDomLTPre.major && c.semver.minor === needDomLTPre.minor && c.semver.patch === needDomLTPre.patch) needDomLTPre = false;\n }\n if (c.operator === \"<\" || c.operator === \"<=\") {\n lower = $d086585c4d9c3926$var$lowerLT(lt, c, options);\n if (lower === c && lower !== lt) return false;\n } else if (lt.operator === \"<=\" && !$42oIR(lt.semver, String(c), options)) return false;\n }\n if (!c.operator && (lt || gt) && gtltComp !== 0) return false;\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) return false;\n if (lt && hasDomGT && !gt && gtltComp !== 0) return false;\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) return false;\n return true;\n};\n// >=1.2.3 is lower than >1.2.3\nconst $d086585c4d9c3926$var$higherGT = (a, b, options)=>{\n if (!a) return b;\n const comp = $jDqfd(a.semver, b.semver, options);\n return comp > 0 ? a : comp < 0 ? b : b.operator === \">\" && a.operator === \">=\" ? b : a;\n};\n// <=1.2.3 is higher than <1.2.3\nconst $d086585c4d9c3926$var$lowerLT = (a, b, options)=>{\n if (!a) return b;\n const comp = $jDqfd(a.semver, b.semver, options);\n return comp < 0 ? a : comp > 0 ? b : b.operator === \"<\" && a.operator === \"<=\" ? b : a;\n};\nmodule.exports = $d086585c4d9c3926$var$subset;\n\n});\n\n\nparcelRegister(\"8CJZb\", function(module, exports) {\n\"use strict\";\nvar $64758b2fa15e88f6$var$matchOperatorsRe = /[|\\\\{}()[\\]^$+*?.]/g;\nmodule.exports = function(str) {\n if (typeof str !== \"string\") throw new TypeError(\"Expected a string\");\n return str.replace($64758b2fa15e88f6$var$matchOperatorsRe, \"\\\\$&\");\n};\n\n});\n\nparcelRegister(\"6t4SD\", function(module, exports) {\n\n$parcel$export(module.exports, \"pathExists\", () => $4b593c9b16f6bd98$export$f8b9fb4db095815b);\n\nasync function $4b593c9b16f6bd98$export$f8b9fb4db095815b(path) {\n try {\n await (0, $4umf8$nodefs.promises).access(path);\n return true;\n } catch {\n return false;\n }\n}\nfunction $4b593c9b16f6bd98$export$d878061e34fd0f5a(path) {\n try {\n (0, ($parcel$interopDefault($4umf8$nodefs))).accessSync(path);\n return true;\n } catch {\n return false;\n }\n}\n\n});\n\nparcelRegister(\"eAXk4\", function(module, exports) {\n\n$parcel$export(module.exports, \"addExeExt\", () => $3d8ba83a43ccecc4$export$2d20c564cade3c93);\n$parcel$export(module.exports, \"addShExt\", () => $3d8ba83a43ccecc4$export$609be29b80b555e1);\n$parcel$export(module.exports, \"addShRelativePrefix\", () => $3d8ba83a43ccecc4$export$e1f23f8d3e53fe6);\n$parcel$export(module.exports, \"dirname\", () => $4umf8$path.dirname);\n$parcel$export(module.exports, \"join\", () => $4umf8$path.join);\n\n\nvar $f44Uw = parcelRequire(\"f44Uw\");\n\nvar $fBJE3 = parcelRequire(\"fBJE3\");\nfunction $3d8ba83a43ccecc4$var$e(e, a) {\n return Object.keys(a).forEach((r)=>{\n \"default\" === r || \"__esModule\" === r || e.hasOwnProperty(r) || Object.defineProperty(e, r, {\n enumerable: !0,\n get () {\n return a[r];\n }\n });\n }), e;\n}\nfunction $3d8ba83a43ccecc4$var$a(e, a, r, s) {\n Object.defineProperty(e, a, {\n get: r,\n set: s,\n enumerable: !0,\n configurable: !0\n });\n}\nfunction $3d8ba83a43ccecc4$export$a8ff84c12d48cfa6(e, a = !0) {\n return a ? (0, $4umf8$path.basename)(e) : (0, $4umf8$path.basename)(e, (0, $4umf8$path.extname)(e));\n}\nfunction $3d8ba83a43ccecc4$export$873fead74fe2f1ff(e) {\n return (0, $4umf8$path.normalize)(e).replace(RegExp((0, $f44Uw.default)((0, $4umf8$path.sep)) + \"$\"), \"\");\n}\nfunction $3d8ba83a43ccecc4$export$2d20c564cade3c93(e, a = \".exe\", r = \"\") {\n return \"win32\" === process.platform ? `${e}${a}` : `${e}${r}`;\n}\nfunction $3d8ba83a43ccecc4$export$3e333f8cb13439c(e, a) {\n const r = (0, $4umf8$path.extname)(e), s = `${a}${(0, $4umf8$path.basename)(e, r)}${r}`;\n return (0, $4umf8$path.join)((0, $4umf8$path.dirname)(e), s);\n}\nfunction $3d8ba83a43ccecc4$export$3b60a3e9bd1aef9d(e, a) {\n const r = (0, $4umf8$path.extname)(e), s = `${(0, $4umf8$path.basename)(e, r)}${a}${r}`;\n return (0, $4umf8$path.join)((0, $4umf8$path.dirname)(e), s);\n}\nfunction $3d8ba83a43ccecc4$export$609be29b80b555e1(e, a = \".cmd\", r = \".sh\") {\n return \"win32\" === process.platform ? `${e}${a}` : `${e}${r}`;\n}\nfunction $3d8ba83a43ccecc4$export$e1f23f8d3e53fe6(e) {\n return \"win32\" === process.platform ? e : \"./\" + e;\n}\nfunction $3d8ba83a43ccecc4$export$19c5468f88f6e968(e) {\n const a = (0, $4umf8$path.extname)(e).length;\n return e.slice(0, -a);\n}\nfunction $3d8ba83a43ccecc4$export$e9c34737ac8e53d2(e, a) {\n return (0, (/*@__PURE__*/$parcel$interopDefault($fBJE3)))(e, a);\n}\nfunction $3d8ba83a43ccecc4$export$7d0573375890d05c(e, a) {\n const r = (0, $4umf8$path.relative)(a, e);\n return !(!r || \"..\" === r || r.startsWith(\"..\" + (0, $4umf8$path.sep)) || r === (0, $4umf8$path.resolve)(e));\n}\nvar $3d8ba83a43ccecc4$var$O = {}, $3d8ba83a43ccecc4$var$R = {};\n$3d8ba83a43ccecc4$var$a($3d8ba83a43ccecc4$var$R, \"name\", ()=>$3d8ba83a43ccecc4$export$a8ff84c12d48cfa6);\nvar $3d8ba83a43ccecc4$var$A = {};\n$3d8ba83a43ccecc4$var$a($3d8ba83a43ccecc4$var$A, \"normalizeTrim\", ()=>$3d8ba83a43ccecc4$export$873fead74fe2f1ff);\nvar $3d8ba83a43ccecc4$var$I = {};\n$3d8ba83a43ccecc4$var$a($3d8ba83a43ccecc4$var$I, \"addExeExt\", ()=>$3d8ba83a43ccecc4$export$2d20c564cade3c93);\nvar $3d8ba83a43ccecc4$var$T = {};\n$3d8ba83a43ccecc4$var$a($3d8ba83a43ccecc4$var$T, \"addNamePrefix\", ()=>$3d8ba83a43ccecc4$export$3e333f8cb13439c);\nvar $3d8ba83a43ccecc4$var$_ = {};\n$3d8ba83a43ccecc4$var$a($3d8ba83a43ccecc4$var$_, \"addNameSuffix\", ()=>$3d8ba83a43ccecc4$export$3b60a3e9bd1aef9d);\nvar $3d8ba83a43ccecc4$var$k = {};\n$3d8ba83a43ccecc4$var$a($3d8ba83a43ccecc4$var$k, \"addShExt\", ()=>$3d8ba83a43ccecc4$export$609be29b80b555e1);\nvar $3d8ba83a43ccecc4$var$M = {};\n$3d8ba83a43ccecc4$var$a($3d8ba83a43ccecc4$var$M, \"addShRelativePrefix\", ()=>$3d8ba83a43ccecc4$export$e1f23f8d3e53fe6);\nvar $3d8ba83a43ccecc4$var$W = {};\n$3d8ba83a43ccecc4$var$a($3d8ba83a43ccecc4$var$W, \"removeExt\", ()=>$3d8ba83a43ccecc4$export$19c5468f88f6e968);\nvar $3d8ba83a43ccecc4$var$q = {};\n$3d8ba83a43ccecc4$var$a($3d8ba83a43ccecc4$var$q, \"replaceExt\", ()=>$3d8ba83a43ccecc4$export$e9c34737ac8e53d2);\nvar $3d8ba83a43ccecc4$var$B = {};\n$3d8ba83a43ccecc4$var$a($3d8ba83a43ccecc4$var$B, \"isPathInside\", ()=>$3d8ba83a43ccecc4$export$7d0573375890d05c), $3d8ba83a43ccecc4$var$e($3d8ba83a43ccecc4$var$O, $3d8ba83a43ccecc4$var$R), $3d8ba83a43ccecc4$var$e($3d8ba83a43ccecc4$var$O, $3d8ba83a43ccecc4$var$A), $3d8ba83a43ccecc4$var$e($3d8ba83a43ccecc4$var$O, $3d8ba83a43ccecc4$var$I), $3d8ba83a43ccecc4$var$e($3d8ba83a43ccecc4$var$O, $3d8ba83a43ccecc4$var$T), $3d8ba83a43ccecc4$var$e($3d8ba83a43ccecc4$var$O, $3d8ba83a43ccecc4$var$_), $3d8ba83a43ccecc4$var$e($3d8ba83a43ccecc4$var$O, $3d8ba83a43ccecc4$var$k), $3d8ba83a43ccecc4$var$e($3d8ba83a43ccecc4$var$O, $3d8ba83a43ccecc4$var$M), $3d8ba83a43ccecc4$var$e($3d8ba83a43ccecc4$var$O, $3d8ba83a43ccecc4$var$W), $3d8ba83a43ccecc4$var$e($3d8ba83a43ccecc4$var$O, $3d8ba83a43ccecc4$var$q), $3d8ba83a43ccecc4$var$e($3d8ba83a43ccecc4$var$O, $3d8ba83a43ccecc4$var$B);\n\n});\nparcelRegister(\"f44Uw\", function(module, exports) {\n\n$parcel$export(module.exports, \"default\", () => $af7b09e757bea83c$export$2e2bcd8739ae039);\nfunction $af7b09e757bea83c$export$2e2bcd8739ae039(string) {\n if (typeof string !== \"string\") throw new TypeError(\"Expected a string\");\n // Escape characters with special meaning either inside or outside character sets.\n // 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 return string.replace(/[|\\\\{}()[\\]^$+*?.]/g, \"\\\\$&\").replace(/-/g, \"\\\\x2d\");\n}\n\n});\n\nparcelRegister(\"fBJE3\", function(module, exports) {\n\"use strict\";\n\nfunction $b5cdb7e29045d953$var$replaceExt(npath, ext) {\n if (typeof npath !== \"string\") return npath;\n if (npath.length === 0) return npath;\n var nFileName = $4umf8$path.basename(npath, $4umf8$path.extname(npath)) + ext;\n var nFilepath = $4umf8$path.join($4umf8$path.dirname(npath), nFileName);\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 ($b5cdb7e29045d953$var$startsWithSingleDot(npath)) return \".\" + $4umf8$path.sep + nFilepath;\n return nFilepath;\n}\nfunction $b5cdb7e29045d953$var$startsWithSingleDot(fpath) {\n var first2chars = fpath.slice(0, 2);\n return first2chars === \".\" + $4umf8$path.sep || first2chars === \"./\";\n}\nmodule.exports = $b5cdb7e29045d953$var$replaceExt;\n\n});\n\n\nparcelRegister(\"zdagz\", function(module, exports) {\n\"use strict\";\nvar $069d7b36246212b5$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $069d7b36246212b5$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $069d7b36246212b5$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $069d7b36246212b5$var$__createBinding(result, mod, k);\n }\n $069d7b36246212b5$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $069d7b36246212b5$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.findInPath = module.exports.which = module.exports.mkdirP = module.exports.rmRF = module.exports.mv = module.exports.cp = void 0;\n\n\nconst $069d7b36246212b5$var$path = $069d7b36246212b5$var$__importStar($4umf8$path);\n\nconst $069d7b36246212b5$var$ioUtil = $069d7b36246212b5$var$__importStar((parcelRequire(\"fwMQK\")));\n/**\n * Copies a file or folder.\n * Based off of shelljs - https://github.com/shelljs/shelljs/blob/9237f66c52e5daa40458f94f9565e18e8132f5a6/src/cp.js\n *\n * @param source source path\n * @param dest destination path\n * @param options optional. See CopyOptions.\n */ function $069d7b36246212b5$var$cp(source, dest, options = {}) {\n return $069d7b36246212b5$var$__awaiter(this, void 0, void 0, function*() {\n const { force: force, recursive: recursive, copySourceDirectory: copySourceDirectory } = $069d7b36246212b5$var$readCopyOptions(options);\n const destStat = (yield $069d7b36246212b5$var$ioUtil.exists(dest)) ? yield $069d7b36246212b5$var$ioUtil.stat(dest) : null;\n // Dest is an existing file, but not forcing\n if (destStat && destStat.isFile() && !force) return;\n // If dest is an existing directory, should copy inside.\n const newDest = destStat && destStat.isDirectory() && copySourceDirectory ? $069d7b36246212b5$var$path.join(dest, $069d7b36246212b5$var$path.basename(source)) : dest;\n if (!(yield $069d7b36246212b5$var$ioUtil.exists(source))) throw new Error(`no such file or directory: ${source}`);\n const sourceStat = yield $069d7b36246212b5$var$ioUtil.stat(source);\n if (sourceStat.isDirectory()) {\n if (!recursive) throw new Error(`Failed to copy. ${source} is a directory, but tried to copy without recursive flag.`);\n else yield $069d7b36246212b5$var$cpDirRecursive(source, newDest, 0, force);\n } else {\n if ($069d7b36246212b5$var$path.relative(source, newDest) === \"\") // a file cannot be copied to itself\n throw new Error(`'${newDest}' and '${source}' are the same file`);\n yield $069d7b36246212b5$var$copyFile(source, newDest, force);\n }\n });\n}\nmodule.exports.cp = $069d7b36246212b5$var$cp;\n/**\n * Moves a path.\n *\n * @param source source path\n * @param dest destination path\n * @param options optional. See MoveOptions.\n */ function $069d7b36246212b5$var$mv(source, dest, options = {}) {\n return $069d7b36246212b5$var$__awaiter(this, void 0, void 0, function*() {\n if (yield $069d7b36246212b5$var$ioUtil.exists(dest)) {\n let destExists = true;\n if (yield $069d7b36246212b5$var$ioUtil.isDirectory(dest)) {\n // If dest is directory copy src into dest\n dest = $069d7b36246212b5$var$path.join(dest, $069d7b36246212b5$var$path.basename(source));\n destExists = yield $069d7b36246212b5$var$ioUtil.exists(dest);\n }\n if (destExists) {\n if (options.force == null || options.force) yield $069d7b36246212b5$var$rmRF(dest);\n else throw new Error(\"Destination already exists\");\n }\n }\n yield $069d7b36246212b5$var$mkdirP($069d7b36246212b5$var$path.dirname(dest));\n yield $069d7b36246212b5$var$ioUtil.rename(source, dest);\n });\n}\nmodule.exports.mv = $069d7b36246212b5$var$mv;\n/**\n * Remove a path recursively with force\n *\n * @param inputPath path to remove\n */ function $069d7b36246212b5$var$rmRF(inputPath) {\n return $069d7b36246212b5$var$__awaiter(this, void 0, void 0, function*() {\n if ($069d7b36246212b5$var$ioUtil.IS_WINDOWS) {\n // Check for invalid characters\n // https://docs.microsoft.com/en-us/windows/win32/fileio/naming-a-file\n if (/[*\"<>|]/.test(inputPath)) throw new Error('File path must not contain `*`, `\"`, `<`, `>` or `|` on Windows');\n }\n try {\n // note if path does not exist, error is silent\n yield $069d7b36246212b5$var$ioUtil.rm(inputPath, {\n force: true,\n maxRetries: 3,\n recursive: true,\n retryDelay: 300\n });\n } catch (err) {\n throw new Error(`File was unable to be removed ${err}`);\n }\n });\n}\nmodule.exports.rmRF = $069d7b36246212b5$var$rmRF;\n/**\n * Make a directory. Creates the full path with folders in between\n * Will throw if it fails\n *\n * @param fsPath path to create\n * @returns Promise\n */ function $069d7b36246212b5$var$mkdirP(fsPath) {\n return $069d7b36246212b5$var$__awaiter(this, void 0, void 0, function*() {\n $4umf8$assert.ok(fsPath, \"a path argument must be provided\");\n yield $069d7b36246212b5$var$ioUtil.mkdir(fsPath, {\n recursive: true\n });\n });\n}\nmodule.exports.mkdirP = $069d7b36246212b5$var$mkdirP;\n/**\n * Returns path of a tool had the tool actually been invoked. Resolves via paths.\n * If you check and the tool does not exist, it will throw.\n *\n * @param tool name of the tool\n * @param check whether to check if tool exists\n * @returns Promise path to tool\n */ function $069d7b36246212b5$var$which(tool, check) {\n return $069d7b36246212b5$var$__awaiter(this, void 0, void 0, function*() {\n if (!tool) throw new Error(\"parameter 'tool' is required\");\n // recursive when check=true\n if (check) {\n const result = yield $069d7b36246212b5$var$which(tool, false);\n if (!result) {\n if ($069d7b36246212b5$var$ioUtil.IS_WINDOWS) throw new Error(`Unable to locate executable file: ${tool}. 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.`);\n else throw new Error(`Unable to locate executable file: ${tool}. 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.`);\n }\n return result;\n }\n const matches = yield $069d7b36246212b5$var$findInPath(tool);\n if (matches && matches.length > 0) return matches[0];\n return \"\";\n });\n}\nmodule.exports.which = $069d7b36246212b5$var$which;\n/**\n * Returns a list of all occurrences of the given tool on the system path.\n *\n * @returns Promise the paths of the tool\n */ function $069d7b36246212b5$var$findInPath(tool) {\n return $069d7b36246212b5$var$__awaiter(this, void 0, void 0, function*() {\n if (!tool) throw new Error(\"parameter 'tool' is required\");\n // build the list of extensions to try\n const extensions = [];\n if ($069d7b36246212b5$var$ioUtil.IS_WINDOWS && process.env[\"PATHEXT\"]) {\n for (const extension of process.env[\"PATHEXT\"].split($069d7b36246212b5$var$path.delimiter))if (extension) extensions.push(extension);\n }\n // if it's rooted, return it if exists. otherwise return empty.\n if ($069d7b36246212b5$var$ioUtil.isRooted(tool)) {\n const filePath = yield $069d7b36246212b5$var$ioUtil.tryGetExecutablePath(tool, extensions);\n if (filePath) return [\n filePath\n ];\n return [];\n }\n // if any path separators, return empty\n if (tool.includes($069d7b36246212b5$var$path.sep)) return [];\n // build the list of directories\n //\n // Note, technically \"where\" checks the current directory on Windows. From a toolkit perspective,\n // it feels like we should not do this. Checking the current directory seems like more of a use\n // case of a shell, and the which() function exposed by the toolkit should strive for consistency\n // across platforms.\n const directories = [];\n if (process.env.PATH) {\n for (const p of process.env.PATH.split($069d7b36246212b5$var$path.delimiter))if (p) directories.push(p);\n }\n // find all matches\n const matches = [];\n for (const directory of directories){\n const filePath = yield $069d7b36246212b5$var$ioUtil.tryGetExecutablePath($069d7b36246212b5$var$path.join(directory, tool), extensions);\n if (filePath) matches.push(filePath);\n }\n return matches;\n });\n}\nmodule.exports.findInPath = $069d7b36246212b5$var$findInPath;\nfunction $069d7b36246212b5$var$readCopyOptions(options) {\n const force = options.force == null ? true : options.force;\n const recursive = Boolean(options.recursive);\n const copySourceDirectory = options.copySourceDirectory == null ? true : Boolean(options.copySourceDirectory);\n return {\n force: force,\n recursive: recursive,\n copySourceDirectory: copySourceDirectory\n };\n}\nfunction $069d7b36246212b5$var$cpDirRecursive(sourceDir, destDir, currentDepth, force) {\n return $069d7b36246212b5$var$__awaiter(this, void 0, void 0, function*() {\n // Ensure there is not a run away recursive copy\n if (currentDepth >= 255) return;\n currentDepth++;\n yield $069d7b36246212b5$var$mkdirP(destDir);\n const files = yield $069d7b36246212b5$var$ioUtil.readdir(sourceDir);\n for (const fileName of files){\n const srcFile = `${sourceDir}/${fileName}`;\n const destFile = `${destDir}/${fileName}`;\n const srcFileStat = yield $069d7b36246212b5$var$ioUtil.lstat(srcFile);\n if (srcFileStat.isDirectory()) // Recurse\n yield $069d7b36246212b5$var$cpDirRecursive(srcFile, destFile, currentDepth, force);\n else yield $069d7b36246212b5$var$copyFile(srcFile, destFile, force);\n }\n // Change the mode for the newly created directory\n yield $069d7b36246212b5$var$ioUtil.chmod(destDir, (yield $069d7b36246212b5$var$ioUtil.stat(sourceDir)).mode);\n });\n}\n// Buffered file copy\nfunction $069d7b36246212b5$var$copyFile(srcFile, destFile, force) {\n return $069d7b36246212b5$var$__awaiter(this, void 0, void 0, function*() {\n if ((yield $069d7b36246212b5$var$ioUtil.lstat(srcFile)).isSymbolicLink()) {\n // unlink/re-link it\n try {\n yield $069d7b36246212b5$var$ioUtil.lstat(destFile);\n yield $069d7b36246212b5$var$ioUtil.unlink(destFile);\n } catch (e) {\n // Try to override file permission\n if (e.code === \"EPERM\") {\n yield $069d7b36246212b5$var$ioUtil.chmod(destFile, \"0666\");\n yield $069d7b36246212b5$var$ioUtil.unlink(destFile);\n }\n // other errors = it doesn't exist, no work to do\n }\n // Copy over symlink\n const symlinkFull = yield $069d7b36246212b5$var$ioUtil.readlink(srcFile);\n yield $069d7b36246212b5$var$ioUtil.symlink(symlinkFull, destFile, $069d7b36246212b5$var$ioUtil.IS_WINDOWS ? \"junction\" : null);\n } else if (!(yield $069d7b36246212b5$var$ioUtil.exists(destFile)) || force) yield $069d7b36246212b5$var$ioUtil.copyFile(srcFile, destFile);\n });\n}\n\n});\nparcelRegister(\"fwMQK\", function(module, exports) {\n\"use strict\";\nvar $b4dfbcbe65695fe8$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $b4dfbcbe65695fe8$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $b4dfbcbe65695fe8$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $b4dfbcbe65695fe8$var$__createBinding(result, mod, k);\n }\n $b4dfbcbe65695fe8$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $b4dfbcbe65695fe8$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar $b4dfbcbe65695fe8$var$_a;\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.getCmdPath = module.exports.tryGetExecutablePath = module.exports.isRooted = module.exports.isDirectory = module.exports.exists = module.exports.READONLY = module.exports.UV_FS_O_EXLOCK = module.exports.IS_WINDOWS = module.exports.unlink = module.exports.symlink = module.exports.stat = module.exports.rmdir = module.exports.rm = module.exports.rename = module.exports.readlink = module.exports.readdir = module.exports.open = module.exports.mkdir = module.exports.lstat = module.exports.copyFile = module.exports.chmod = void 0;\n\nconst $b4dfbcbe65695fe8$var$fs = $b4dfbcbe65695fe8$var$__importStar($4umf8$fs);\n\nconst $b4dfbcbe65695fe8$var$path = $b4dfbcbe65695fe8$var$__importStar($4umf8$path);\n$b4dfbcbe65695fe8$var$_a = $b4dfbcbe65695fe8$var$fs.promises, module.exports.chmod = $b4dfbcbe65695fe8$var$_a.chmod, module.exports.copyFile = $b4dfbcbe65695fe8$var$_a.copyFile, module.exports.lstat = $b4dfbcbe65695fe8$var$_a.lstat, module.exports.mkdir = $b4dfbcbe65695fe8$var$_a.mkdir, module.exports.open = $b4dfbcbe65695fe8$var$_a.open, module.exports.readdir = $b4dfbcbe65695fe8$var$_a.readdir, module.exports.readlink = $b4dfbcbe65695fe8$var$_a.readlink, module.exports.rename = $b4dfbcbe65695fe8$var$_a.rename, module.exports.rm = $b4dfbcbe65695fe8$var$_a.rm, module.exports.rmdir = $b4dfbcbe65695fe8$var$_a.rmdir, module.exports.stat = $b4dfbcbe65695fe8$var$_a.stat, module.exports.symlink = $b4dfbcbe65695fe8$var$_a.symlink, module.exports.unlink = $b4dfbcbe65695fe8$var$_a.unlink;\n// export const {open} = 'fs'\nmodule.exports.IS_WINDOWS = process.platform === \"win32\";\n// See https://github.com/nodejs/node/blob/d0153aee367422d0858105abec186da4dff0a0c5/deps/uv/include/uv/win.h#L691\nmodule.exports.UV_FS_O_EXLOCK = 0x10000000;\nmodule.exports.READONLY = $b4dfbcbe65695fe8$var$fs.constants.O_RDONLY;\nfunction $b4dfbcbe65695fe8$var$exists(fsPath) {\n return $b4dfbcbe65695fe8$var$__awaiter(this, void 0, void 0, function*() {\n try {\n yield module.exports.stat(fsPath);\n } catch (err) {\n if (err.code === \"ENOENT\") return false;\n throw err;\n }\n return true;\n });\n}\nmodule.exports.exists = $b4dfbcbe65695fe8$var$exists;\nfunction $b4dfbcbe65695fe8$var$isDirectory(fsPath, useStat = false) {\n return $b4dfbcbe65695fe8$var$__awaiter(this, void 0, void 0, function*() {\n const stats = useStat ? yield module.exports.stat(fsPath) : yield module.exports.lstat(fsPath);\n return stats.isDirectory();\n });\n}\nmodule.exports.isDirectory = $b4dfbcbe65695fe8$var$isDirectory;\n/**\n * On OSX/Linux, true if path starts with '/'. On Windows, true for paths like:\n * \\, \\hello, \\\\hello\\share, C:, and C:\\hello (and corresponding alternate separator cases).\n */ function $b4dfbcbe65695fe8$var$isRooted(p) {\n p = $b4dfbcbe65695fe8$var$normalizeSeparators(p);\n if (!p) throw new Error('isRooted() parameter \"p\" cannot be empty');\n if (module.exports.IS_WINDOWS) return p.startsWith(\"\\\\\") || /^[A-Z]:/i.test(p) // e.g. \\ or \\hello or \\\\hello\n ; // e.g. C: or C:\\hello\n return p.startsWith(\"/\");\n}\nmodule.exports.isRooted = $b4dfbcbe65695fe8$var$isRooted;\n/**\n * Best effort attempt to determine whether a file exists and is executable.\n * @param filePath file path to check\n * @param extensions additional file extensions to try\n * @return if file exists and is executable, returns the file path. otherwise empty string.\n */ function $b4dfbcbe65695fe8$var$tryGetExecutablePath(filePath, extensions) {\n return $b4dfbcbe65695fe8$var$__awaiter(this, void 0, void 0, function*() {\n let stats = undefined;\n try {\n // test file exists\n stats = yield module.exports.stat(filePath);\n } catch (err) {\n if (err.code !== \"ENOENT\") // eslint-disable-next-line no-console\n console.log(`Unexpected error attempting to determine if executable file exists '${filePath}': ${err}`);\n }\n if (stats && stats.isFile()) {\n if (module.exports.IS_WINDOWS) {\n // on Windows, test for valid extension\n const upperExt = $b4dfbcbe65695fe8$var$path.extname(filePath).toUpperCase();\n if (extensions.some((validExt)=>validExt.toUpperCase() === upperExt)) return filePath;\n } else {\n if ($b4dfbcbe65695fe8$var$isUnixExecutable(stats)) return filePath;\n }\n }\n // try each extension\n const originalFilePath = filePath;\n for (const extension of extensions){\n filePath = originalFilePath + extension;\n stats = undefined;\n try {\n stats = yield module.exports.stat(filePath);\n } catch (err) {\n if (err.code !== \"ENOENT\") // eslint-disable-next-line no-console\n console.log(`Unexpected error attempting to determine if executable file exists '${filePath}': ${err}`);\n }\n if (stats && stats.isFile()) {\n if (module.exports.IS_WINDOWS) {\n // preserve the case of the actual file (since an extension was appended)\n try {\n const directory = $b4dfbcbe65695fe8$var$path.dirname(filePath);\n const upperName = $b4dfbcbe65695fe8$var$path.basename(filePath).toUpperCase();\n for (const actualName of yield module.exports.readdir(directory))if (upperName === actualName.toUpperCase()) {\n filePath = $b4dfbcbe65695fe8$var$path.join(directory, actualName);\n break;\n }\n } catch (err) {\n // eslint-disable-next-line no-console\n console.log(`Unexpected error attempting to determine the actual case of the file '${filePath}': ${err}`);\n }\n return filePath;\n } else {\n if ($b4dfbcbe65695fe8$var$isUnixExecutable(stats)) return filePath;\n }\n }\n }\n return \"\";\n });\n}\nmodule.exports.tryGetExecutablePath = $b4dfbcbe65695fe8$var$tryGetExecutablePath;\nfunction $b4dfbcbe65695fe8$var$normalizeSeparators(p) {\n p = p || \"\";\n if (module.exports.IS_WINDOWS) {\n // convert slashes on Windows\n p = p.replace(/\\//g, \"\\\\\");\n // remove redundant slashes\n return p.replace(/\\\\\\\\+/g, \"\\\\\");\n }\n // remove redundant slashes\n return p.replace(/\\/\\/+/g, \"/\");\n}\n// on Mac/Linux, test the execute bit\n// R W X R W X R W X\n// 256 128 64 32 16 8 4 2 1\nfunction $b4dfbcbe65695fe8$var$isUnixExecutable(stats) {\n return (stats.mode & 1) > 0 || (stats.mode & 8) > 0 && stats.gid === process.getgid() || (stats.mode & 64) > 0 && stats.uid === process.getuid();\n}\n// Get the path of cmd.exe in windows\nfunction $b4dfbcbe65695fe8$var$getCmdPath() {\n var _a;\n return (_a = process.env[\"COMSPEC\"]) !== null && _a !== void 0 ? _a : `cmd.exe`;\n}\nmodule.exports.getCmdPath = $b4dfbcbe65695fe8$var$getCmdPath;\n\n});\n\n\nparcelRegister(\"gn8Si\", function(module, exports) {\n\"use strict\";\nvar $beb5ada45dfdd93d$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $beb5ada45dfdd93d$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $beb5ada45dfdd93d$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $beb5ada45dfdd93d$var$__createBinding(result, mod, k);\n }\n $beb5ada45dfdd93d$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $beb5ada45dfdd93d$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports._readLinuxVersionFile = module.exports._getOsVersion = module.exports._findMatch = void 0;\n\nconst $beb5ada45dfdd93d$var$semver = $beb5ada45dfdd93d$var$__importStar((parcelRequire(\"0306Y\")));\n\nvar $1o3Gj = parcelRequire(\"1o3Gj\");\n\n\n\nfunction $beb5ada45dfdd93d$var$_findMatch(versionSpec, stable, candidates, archFilter) {\n return $beb5ada45dfdd93d$var$__awaiter(this, void 0, void 0, function*() {\n const platFilter = $4umf8$os.platform();\n let result;\n let match;\n let file;\n for (const candidate of candidates){\n const version = candidate.version;\n $1o3Gj.debug(`check ${version} satisfies ${versionSpec}`);\n if ($beb5ada45dfdd93d$var$semver.satisfies(version, versionSpec) && (!stable || candidate.stable === stable)) {\n file = candidate.files.find((item)=>{\n $1o3Gj.debug(`${item.arch}===${archFilter} && ${item.platform}===${platFilter}`);\n let chk = item.arch === archFilter && item.platform === platFilter;\n if (chk && item.platform_version) {\n const osVersion = module.exports._getOsVersion();\n if (osVersion === item.platform_version) chk = true;\n else chk = $beb5ada45dfdd93d$var$semver.satisfies(osVersion, item.platform_version);\n }\n return chk;\n });\n if (file) {\n $1o3Gj.debug(`matched ${candidate.version}`);\n match = candidate;\n break;\n }\n }\n }\n if (match && file) {\n // clone since we're mutating the file list to be only the file that matches\n result = Object.assign({}, match);\n result.files = [\n file\n ];\n }\n return result;\n });\n}\nmodule.exports._findMatch = $beb5ada45dfdd93d$var$_findMatch;\nfunction $beb5ada45dfdd93d$var$_getOsVersion() {\n // TODO: add windows and other linux, arm variants\n // right now filtering on version is only an ubuntu and macos scenario for tools we build for hosted (python)\n const plat = $4umf8$os.platform();\n let version = \"\";\n if (plat === \"darwin\") version = $4umf8$child_process.execSync(\"sw_vers -productVersion\").toString();\n else if (plat === \"linux\") {\n // lsb_release process not in some containers, readfile\n // Run cat /etc/lsb-release\n // DISTRIB_ID=Ubuntu\n // DISTRIB_RELEASE=18.04\n // DISTRIB_CODENAME=bionic\n // DISTRIB_DESCRIPTION=\"Ubuntu 18.04.4 LTS\"\n const lsbContents = module.exports._readLinuxVersionFile();\n if (lsbContents) {\n const lines = lsbContents.split(\"\\n\");\n for (const line of lines){\n const parts = line.split(\"=\");\n if (parts.length === 2 && (parts[0].trim() === \"VERSION_ID\" || parts[0].trim() === \"DISTRIB_RELEASE\")) {\n version = parts[1].trim().replace(/^\"/, \"\").replace(/\"$/, \"\");\n break;\n }\n }\n }\n }\n return version;\n}\nmodule.exports._getOsVersion = $beb5ada45dfdd93d$var$_getOsVersion;\nfunction $beb5ada45dfdd93d$var$_readLinuxVersionFile() {\n const lsbReleaseFile = \"/etc/lsb-release\";\n const osReleaseFile = \"/etc/os-release\";\n let contents = \"\";\n if ($4umf8$fs.existsSync(lsbReleaseFile)) contents = $4umf8$fs.readFileSync(lsbReleaseFile).toString();\n else if ($4umf8$fs.existsSync(osReleaseFile)) contents = $4umf8$fs.readFileSync(osReleaseFile).toString();\n return contents;\n}\nmodule.exports._readLinuxVersionFile = $beb5ada45dfdd93d$var$_readLinuxVersionFile;\n\n});\nparcelRegister(\"0306Y\", function(module, exports) {\nexports = module.exports = SemVer;\nvar debug;\n/* istanbul ignore next */ if (typeof process === \"object\" && process.env && process.env.NODE_DEBUG && /\\bsemver\\b/i.test(process.env.NODE_DEBUG)) debug = function() {\n var args = Array.prototype.slice.call(arguments, 0);\n args.unshift(\"SEMVER\");\n console.log.apply(console, args);\n};\nelse debug = function() {};\n// Note: this is the semver.org version of the spec that it implements\n// Not necessarily the package version of this code.\nexports.SEMVER_SPEC_VERSION = \"2.0.0\";\nvar MAX_LENGTH = 256;\nvar MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER || /* istanbul ignore next */ 9007199254740991;\n// Max safe segment length for coercion.\nvar MAX_SAFE_COMPONENT_LENGTH = 16;\nvar MAX_SAFE_BUILD_LENGTH = MAX_LENGTH - 6;\n// The actual regexps go on exports.re\nvar re = exports.re = [];\nvar safeRe = exports.safeRe = [];\nvar src = exports.src = [];\nvar t = exports.tokens = {};\nvar R = 0;\nfunction tok(n) {\n t[n] = R++;\n}\nvar LETTERDASHNUMBER = \"[a-zA-Z0-9-]\";\n// Replace some greedy regex tokens to prevent regex dos issues. These regex are\n// used internally via the safeRe object since all inputs in this library get\n// normalized first to trim and collapse all extra whitespace. The original\n// regexes are exported for userland consumption and lower level usage. A\n// future breaking change could export the safer regex only with a note that\n// all input should have extra whitespace removed.\nvar safeRegexReplacements = [\n [\n \"\\\\s\",\n 1\n ],\n [\n \"\\\\d\",\n MAX_LENGTH\n ],\n [\n LETTERDASHNUMBER,\n MAX_SAFE_BUILD_LENGTH\n ]\n];\nfunction makeSafeRe(value) {\n for(var i = 0; i < safeRegexReplacements.length; i++){\n var token = safeRegexReplacements[i][0];\n var max = safeRegexReplacements[i][1];\n value = value.split(token + \"*\").join(token + \"{0,\" + max + \"}\").split(token + \"+\").join(token + \"{1,\" + max + \"}\");\n }\n return value;\n}\n// The following Regular Expressions can be used for tokenizing,\n// validating, and parsing SemVer version strings.\n// ## Numeric Identifier\n// A single `0`, or a non-zero digit followed by zero or more digits.\ntok(\"NUMERICIDENTIFIER\");\nsrc[t.NUMERICIDENTIFIER] = \"0|[1-9]\\\\d*\";\ntok(\"NUMERICIDENTIFIERLOOSE\");\nsrc[t.NUMERICIDENTIFIERLOOSE] = \"\\\\d+\";\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.\ntok(\"NONNUMERICIDENTIFIER\");\nsrc[t.NONNUMERICIDENTIFIER] = \"\\\\d*[a-zA-Z-]\" + LETTERDASHNUMBER + \"*\";\n// ## Main Version\n// Three dot-separated numeric identifiers.\ntok(\"MAINVERSION\");\nsrc[t.MAINVERSION] = \"(\" + src[t.NUMERICIDENTIFIER] + \")\\\\.\" + \"(\" + src[t.NUMERICIDENTIFIER] + \")\\\\.\" + \"(\" + src[t.NUMERICIDENTIFIER] + \")\";\ntok(\"MAINVERSIONLOOSE\");\nsrc[t.MAINVERSIONLOOSE] = \"(\" + src[t.NUMERICIDENTIFIERLOOSE] + \")\\\\.\" + \"(\" + src[t.NUMERICIDENTIFIERLOOSE] + \")\\\\.\" + \"(\" + src[t.NUMERICIDENTIFIERLOOSE] + \")\";\n// ## Pre-release Version Identifier\n// A numeric identifier, or a non-numeric identifier.\ntok(\"PRERELEASEIDENTIFIER\");\nsrc[t.PRERELEASEIDENTIFIER] = \"(?:\" + src[t.NUMERICIDENTIFIER] + \"|\" + src[t.NONNUMERICIDENTIFIER] + \")\";\ntok(\"PRERELEASEIDENTIFIERLOOSE\");\nsrc[t.PRERELEASEIDENTIFIERLOOSE] = \"(?:\" + src[t.NUMERICIDENTIFIERLOOSE] + \"|\" + src[t.NONNUMERICIDENTIFIER] + \")\";\n// ## Pre-release Version\n// Hyphen, followed by one or more dot-separated pre-release version\n// identifiers.\ntok(\"PRERELEASE\");\nsrc[t.PRERELEASE] = \"(?:-(\" + src[t.PRERELEASEIDENTIFIER] + \"(?:\\\\.\" + src[t.PRERELEASEIDENTIFIER] + \")*))\";\ntok(\"PRERELEASELOOSE\");\nsrc[t.PRERELEASELOOSE] = \"(?:-?(\" + src[t.PRERELEASEIDENTIFIERLOOSE] + \"(?:\\\\.\" + src[t.PRERELEASEIDENTIFIERLOOSE] + \")*))\";\n// ## Build Metadata Identifier\n// Any combination of digits, letters, or hyphens.\ntok(\"BUILDIDENTIFIER\");\nsrc[t.BUILDIDENTIFIER] = LETTERDASHNUMBER + \"+\";\n// ## Build Metadata\n// Plus sign, followed by one or more period-separated build metadata\n// identifiers.\ntok(\"BUILD\");\nsrc[t.BUILD] = \"(?:\\\\+(\" + src[t.BUILDIDENTIFIER] + \"(?:\\\\.\" + src[t.BUILDIDENTIFIER] + \")*))\";\n// ## Full Version String\n// A main version, followed optionally by a pre-release version and\n// build metadata.\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.\ntok(\"FULL\");\ntok(\"FULLPLAIN\");\nsrc[t.FULLPLAIN] = \"v?\" + src[t.MAINVERSION] + src[t.PRERELEASE] + \"?\" + src[t.BUILD] + \"?\";\nsrc[t.FULL] = \"^\" + src[t.FULLPLAIN] + \"$\";\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.\ntok(\"LOOSEPLAIN\");\nsrc[t.LOOSEPLAIN] = \"[v=\\\\s]*\" + src[t.MAINVERSIONLOOSE] + src[t.PRERELEASELOOSE] + \"?\" + src[t.BUILD] + \"?\";\ntok(\"LOOSE\");\nsrc[t.LOOSE] = \"^\" + src[t.LOOSEPLAIN] + \"$\";\ntok(\"GTLT\");\nsrc[t.GTLT] = \"((?:<|>)?=?)\";\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.\ntok(\"XRANGEIDENTIFIERLOOSE\");\nsrc[t.XRANGEIDENTIFIERLOOSE] = src[t.NUMERICIDENTIFIERLOOSE] + \"|x|X|\\\\*\";\ntok(\"XRANGEIDENTIFIER\");\nsrc[t.XRANGEIDENTIFIER] = src[t.NUMERICIDENTIFIER] + \"|x|X|\\\\*\";\ntok(\"XRANGEPLAIN\");\nsrc[t.XRANGEPLAIN] = \"[v=\\\\s]*(\" + src[t.XRANGEIDENTIFIER] + \")\" + \"(?:\\\\.(\" + src[t.XRANGEIDENTIFIER] + \")\" + \"(?:\\\\.(\" + src[t.XRANGEIDENTIFIER] + \")\" + \"(?:\" + src[t.PRERELEASE] + \")?\" + src[t.BUILD] + \"?\" + \")?)?\";\ntok(\"XRANGEPLAINLOOSE\");\nsrc[t.XRANGEPLAINLOOSE] = \"[v=\\\\s]*(\" + src[t.XRANGEIDENTIFIERLOOSE] + \")\" + \"(?:\\\\.(\" + src[t.XRANGEIDENTIFIERLOOSE] + \")\" + \"(?:\\\\.(\" + src[t.XRANGEIDENTIFIERLOOSE] + \")\" + \"(?:\" + src[t.PRERELEASELOOSE] + \")?\" + src[t.BUILD] + \"?\" + \")?)?\";\ntok(\"XRANGE\");\nsrc[t.XRANGE] = \"^\" + src[t.GTLT] + \"\\\\s*\" + src[t.XRANGEPLAIN] + \"$\";\ntok(\"XRANGELOOSE\");\nsrc[t.XRANGELOOSE] = \"^\" + src[t.GTLT] + \"\\\\s*\" + src[t.XRANGEPLAINLOOSE] + \"$\";\n// Coercion.\n// Extract anything that could conceivably be a part of a valid semver\ntok(\"COERCE\");\nsrc[t.COERCE] = \"(^|[^\\\\d])(\\\\d{1,\" + MAX_SAFE_COMPONENT_LENGTH + \"})\" + \"(?:\\\\.(\\\\d{1,\" + MAX_SAFE_COMPONENT_LENGTH + \"}))?\" + \"(?:\\\\.(\\\\d{1,\" + MAX_SAFE_COMPONENT_LENGTH + \"}))?\" + \"(?:$|[^\\\\d])\";\ntok(\"COERCERTL\");\nre[t.COERCERTL] = new RegExp(src[t.COERCE], \"g\");\nsafeRe[t.COERCERTL] = new RegExp(makeSafeRe(src[t.COERCE]), \"g\");\n// Tilde ranges.\n// Meaning is \"reasonably at or greater than\"\ntok(\"LONETILDE\");\nsrc[t.LONETILDE] = \"(?:~>?)\";\ntok(\"TILDETRIM\");\nsrc[t.TILDETRIM] = \"(\\\\s*)\" + src[t.LONETILDE] + \"\\\\s+\";\nre[t.TILDETRIM] = new RegExp(src[t.TILDETRIM], \"g\");\nsafeRe[t.TILDETRIM] = new RegExp(makeSafeRe(src[t.TILDETRIM]), \"g\");\nvar tildeTrimReplace = \"$1~\";\ntok(\"TILDE\");\nsrc[t.TILDE] = \"^\" + src[t.LONETILDE] + src[t.XRANGEPLAIN] + \"$\";\ntok(\"TILDELOOSE\");\nsrc[t.TILDELOOSE] = \"^\" + src[t.LONETILDE] + src[t.XRANGEPLAINLOOSE] + \"$\";\n// Caret ranges.\n// Meaning is \"at least and backwards compatible with\"\ntok(\"LONECARET\");\nsrc[t.LONECARET] = \"(?:\\\\^)\";\ntok(\"CARETTRIM\");\nsrc[t.CARETTRIM] = \"(\\\\s*)\" + src[t.LONECARET] + \"\\\\s+\";\nre[t.CARETTRIM] = new RegExp(src[t.CARETTRIM], \"g\");\nsafeRe[t.CARETTRIM] = new RegExp(makeSafeRe(src[t.CARETTRIM]), \"g\");\nvar caretTrimReplace = \"$1^\";\ntok(\"CARET\");\nsrc[t.CARET] = \"^\" + src[t.LONECARET] + src[t.XRANGEPLAIN] + \"$\";\ntok(\"CARETLOOSE\");\nsrc[t.CARETLOOSE] = \"^\" + src[t.LONECARET] + src[t.XRANGEPLAINLOOSE] + \"$\";\n// A simple gt/lt/eq thing, or just \"\" to indicate \"any version\"\ntok(\"COMPARATORLOOSE\");\nsrc[t.COMPARATORLOOSE] = \"^\" + src[t.GTLT] + \"\\\\s*(\" + src[t.LOOSEPLAIN] + \")$|^$\";\ntok(\"COMPARATOR\");\nsrc[t.COMPARATOR] = \"^\" + src[t.GTLT] + \"\\\\s*(\" + src[t.FULLPLAIN] + \")$|^$\";\n// An expression to strip any whitespace between the gtlt and the thing\n// it modifies, so that `> 1.2.3` ==> `>1.2.3`\ntok(\"COMPARATORTRIM\");\nsrc[t.COMPARATORTRIM] = \"(\\\\s*)\" + src[t.GTLT] + \"\\\\s*(\" + src[t.LOOSEPLAIN] + \"|\" + src[t.XRANGEPLAIN] + \")\";\n// this one has to use the /g flag\nre[t.COMPARATORTRIM] = new RegExp(src[t.COMPARATORTRIM], \"g\");\nsafeRe[t.COMPARATORTRIM] = new RegExp(makeSafeRe(src[t.COMPARATORTRIM]), \"g\");\nvar comparatorTrimReplace = \"$1$2$3\";\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.\ntok(\"HYPHENRANGE\");\nsrc[t.HYPHENRANGE] = \"^\\\\s*(\" + src[t.XRANGEPLAIN] + \")\" + \"\\\\s+-\\\\s+\" + \"(\" + src[t.XRANGEPLAIN] + \")\" + \"\\\\s*$\";\ntok(\"HYPHENRANGELOOSE\");\nsrc[t.HYPHENRANGELOOSE] = \"^\\\\s*(\" + src[t.XRANGEPLAINLOOSE] + \")\" + \"\\\\s+-\\\\s+\" + \"(\" + src[t.XRANGEPLAINLOOSE] + \")\" + \"\\\\s*$\";\n// Star ranges basically just allow anything at all.\ntok(\"STAR\");\nsrc[t.STAR] = \"(<|>)?=?\\\\s*\\\\*\";\n// Compile to actual regexp objects.\n// All are flag-free, unless they were created above with a flag.\nfor(var i = 0; i < R; i++){\n debug(i, src[i]);\n if (!re[i]) {\n re[i] = new RegExp(src[i]);\n // Replace all greedy whitespace to prevent regex dos issues. These regex are\n // used internally via the safeRe object since all inputs in this library get\n // normalized first to trim and collapse all extra whitespace. The original\n // regexes are exported for userland consumption and lower level usage. A\n // future breaking change could export the safer regex only with a note that\n // all input should have extra whitespace removed.\n safeRe[i] = new RegExp(makeSafeRe(src[i]));\n }\n}\nexports.parse = parse;\nfunction parse(version, options) {\n if (!options || typeof options !== \"object\") options = {\n loose: !!options,\n includePrerelease: false\n };\n if (version instanceof SemVer) return version;\n if (typeof version !== \"string\") return null;\n if (version.length > MAX_LENGTH) return null;\n var r = options.loose ? safeRe[t.LOOSE] : safeRe[t.FULL];\n if (!r.test(version)) return null;\n try {\n return new SemVer(version, options);\n } catch (er) {\n return null;\n }\n}\nexports.valid = valid;\nfunction valid(version, options) {\n var v = parse(version, options);\n return v ? v.version : null;\n}\nexports.clean = clean;\nfunction clean(version, options) {\n var s = parse(version.trim().replace(/^[=v]+/, \"\"), options);\n return s ? s.version : null;\n}\nexports.SemVer = SemVer;\nfunction SemVer(version, options) {\n if (!options || typeof options !== \"object\") options = {\n loose: !!options,\n includePrerelease: false\n };\n if (version instanceof SemVer) {\n if (version.loose === options.loose) return version;\n else version = version.version;\n } else if (typeof version !== \"string\") throw new TypeError(\"Invalid Version: \" + version);\n if (version.length > MAX_LENGTH) throw new TypeError(\"version is longer than \" + MAX_LENGTH + \" characters\");\n if (!(this instanceof SemVer)) return new SemVer(version, options);\n debug(\"SemVer\", version, options);\n this.options = options;\n this.loose = !!options.loose;\n var m = version.trim().match(options.loose ? safeRe[t.LOOSE] : safeRe[t.FULL]);\n if (!m) throw new TypeError(\"Invalid Version: \" + version);\n this.raw = version;\n // these are actually numbers\n this.major = +m[1];\n this.minor = +m[2];\n this.patch = +m[3];\n if (this.major > MAX_SAFE_INTEGER || this.major < 0) throw new TypeError(\"Invalid major version\");\n if (this.minor > MAX_SAFE_INTEGER || this.minor < 0) throw new TypeError(\"Invalid minor version\");\n if (this.patch > MAX_SAFE_INTEGER || this.patch < 0) throw new TypeError(\"Invalid patch version\");\n // numberify any prerelease numeric ids\n if (!m[4]) this.prerelease = [];\n else this.prerelease = m[4].split(\".\").map(function(id) {\n if (/^[0-9]+$/.test(id)) {\n var num = +id;\n if (num >= 0 && num < MAX_SAFE_INTEGER) return num;\n }\n return id;\n });\n this.build = m[5] ? m[5].split(\".\") : [];\n this.format();\n}\nSemVer.prototype.format = function() {\n this.version = this.major + \".\" + this.minor + \".\" + this.patch;\n if (this.prerelease.length) this.version += \"-\" + this.prerelease.join(\".\");\n return this.version;\n};\nSemVer.prototype.toString = function() {\n return this.version;\n};\nSemVer.prototype.compare = function(other) {\n debug(\"SemVer.compare\", this.version, this.options, other);\n if (!(other instanceof SemVer)) other = new SemVer(other, this.options);\n return this.compareMain(other) || this.comparePre(other);\n};\nSemVer.prototype.compareMain = function(other) {\n if (!(other instanceof SemVer)) other = new SemVer(other, this.options);\n return compareIdentifiers(this.major, other.major) || compareIdentifiers(this.minor, other.minor) || compareIdentifiers(this.patch, other.patch);\n};\nSemVer.prototype.comparePre = function(other) {\n if (!(other instanceof SemVer)) other = new SemVer(other, this.options);\n // NOT having a prerelease is > having one\n if (this.prerelease.length && !other.prerelease.length) return -1;\n else if (!this.prerelease.length && other.prerelease.length) return 1;\n else if (!this.prerelease.length && !other.prerelease.length) return 0;\n var i = 0;\n do {\n var a = this.prerelease[i];\n var b = other.prerelease[i];\n debug(\"prerelease compare\", i, a, b);\n if (a === undefined && b === undefined) return 0;\n else if (b === undefined) return 1;\n else if (a === undefined) return -1;\n else if (a === b) continue;\n else return compareIdentifiers(a, b);\n }while (++i);\n};\nSemVer.prototype.compareBuild = function(other) {\n if (!(other instanceof SemVer)) other = new SemVer(other, this.options);\n var i = 0;\n do {\n var a = this.build[i];\n var b = other.build[i];\n debug(\"prerelease compare\", i, a, b);\n if (a === undefined && b === undefined) return 0;\n else if (b === undefined) return 1;\n else if (a === undefined) return -1;\n else if (a === b) continue;\n else return compareIdentifiers(a, b);\n }while (++i);\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.\nSemVer.prototype.inc = function(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) this.inc(\"patch\", identifier);\n this.inc(\"pre\", identifier);\n break;\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 (this.minor !== 0 || this.patch !== 0 || this.prerelease.length === 0) this.major++;\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) this.minor++;\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) this.patch++;\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) this.prerelease = [\n 0\n ];\n else {\n var i = this.prerelease.length;\n while(--i >= 0)if (typeof this.prerelease[i] === \"number\") {\n this.prerelease[i]++;\n i = -2;\n }\n if (i === -1) // didn't increment anything\n this.prerelease.push(0);\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 (this.prerelease[0] === identifier) {\n if (isNaN(this.prerelease[1])) this.prerelease = [\n identifier,\n 0\n ];\n } else this.prerelease = [\n identifier,\n 0\n ];\n }\n break;\n default:\n throw new Error(\"invalid increment argument: \" + release);\n }\n this.format();\n this.raw = this.version;\n return this;\n};\nexports.inc = inc;\nfunction inc(version, release, loose, identifier) {\n if (typeof loose === \"string\") {\n identifier = loose;\n loose = undefined;\n }\n try {\n return new SemVer(version, loose).inc(release, identifier).version;\n } catch (er) {\n return null;\n }\n}\nexports.diff = diff;\nfunction diff(version1, version2) {\n if (eq(version1, version2)) return null;\n else {\n var v1 = parse(version1);\n var v2 = parse(version2);\n var prefix = \"\";\n if (v1.prerelease.length || v2.prerelease.length) {\n prefix = \"pre\";\n var defaultResult = \"prerelease\";\n }\n for(var key in v1)if (key === \"major\" || key === \"minor\" || key === \"patch\") {\n if (v1[key] !== v2[key]) return prefix + key;\n }\n return defaultResult // may be undefined\n ;\n }\n}\nexports.compareIdentifiers = compareIdentifiers;\nvar numeric = /^[0-9]+$/;\nfunction compareIdentifiers(a, b) {\n var anum = numeric.test(a);\n var bnum = numeric.test(b);\n if (anum && bnum) {\n a = +a;\n b = +b;\n }\n return a === b ? 0 : anum && !bnum ? -1 : bnum && !anum ? 1 : a < b ? -1 : 1;\n}\nexports.rcompareIdentifiers = rcompareIdentifiers;\nfunction rcompareIdentifiers(a, b) {\n return compareIdentifiers(b, a);\n}\nexports.major = major;\nfunction major(a, loose) {\n return new SemVer(a, loose).major;\n}\nexports.minor = minor;\nfunction minor(a, loose) {\n return new SemVer(a, loose).minor;\n}\nexports.patch = patch;\nfunction patch(a, loose) {\n return new SemVer(a, loose).patch;\n}\nexports.compare = compare;\nfunction compare(a, b, loose) {\n return new SemVer(a, loose).compare(new SemVer(b, loose));\n}\nexports.compareLoose = compareLoose;\nfunction compareLoose(a, b) {\n return compare(a, b, true);\n}\nexports.compareBuild = compareBuild;\nfunction compareBuild(a, b, loose) {\n var versionA = new SemVer(a, loose);\n var versionB = new SemVer(b, loose);\n return versionA.compare(versionB) || versionA.compareBuild(versionB);\n}\nexports.rcompare = rcompare;\nfunction rcompare(a, b, loose) {\n return compare(b, a, loose);\n}\nexports.sort = sort;\nfunction sort(list, loose) {\n return list.sort(function(a, b) {\n return exports.compareBuild(a, b, loose);\n });\n}\nexports.rsort = rsort;\nfunction rsort(list, loose) {\n return list.sort(function(a, b) {\n return exports.compareBuild(b, a, loose);\n });\n}\nexports.gt = gt;\nfunction gt(a, b, loose) {\n return compare(a, b, loose) > 0;\n}\nexports.lt = lt;\nfunction lt(a, b, loose) {\n return compare(a, b, loose) < 0;\n}\nexports.eq = eq;\nfunction eq(a, b, loose) {\n return compare(a, b, loose) === 0;\n}\nexports.neq = neq;\nfunction neq(a, b, loose) {\n return compare(a, b, loose) !== 0;\n}\nexports.gte = gte;\nfunction gte(a, b, loose) {\n return compare(a, b, loose) >= 0;\n}\nexports.lte = lte;\nfunction lte(a, b, loose) {\n return compare(a, b, loose) <= 0;\n}\nexports.cmp = cmp;\nfunction cmp(a, op, b, loose) {\n switch(op){\n case \"===\":\n if (typeof a === \"object\") a = a.version;\n if (typeof b === \"object\") b = b.version;\n return a === b;\n case \"!==\":\n if (typeof a === \"object\") a = a.version;\n if (typeof b === \"object\") b = b.version;\n return a !== b;\n case \"\":\n case \"=\":\n case \"==\":\n return eq(a, b, loose);\n case \"!=\":\n return neq(a, b, loose);\n case \">\":\n return gt(a, b, loose);\n case \">=\":\n return gte(a, b, loose);\n case \"<\":\n return lt(a, b, loose);\n case \"<=\":\n return lte(a, b, loose);\n default:\n throw new TypeError(\"Invalid operator: \" + op);\n }\n}\nexports.Comparator = Comparator;\nfunction Comparator(comp, options) {\n if (!options || typeof options !== \"object\") options = {\n loose: !!options,\n includePrerelease: false\n };\n if (comp instanceof Comparator) {\n if (comp.loose === !!options.loose) return comp;\n else comp = comp.value;\n }\n if (!(this instanceof Comparator)) return new Comparator(comp, options);\n comp = comp.trim().split(/\\s+/).join(\" \");\n debug(\"comparator\", comp, options);\n this.options = options;\n this.loose = !!options.loose;\n this.parse(comp);\n if (this.semver === ANY) this.value = \"\";\n else this.value = this.operator + this.semver.version;\n debug(\"comp\", this);\n}\nvar ANY = {};\nComparator.prototype.parse = function(comp) {\n var r = this.options.loose ? safeRe[t.COMPARATORLOOSE] : safeRe[t.COMPARATOR];\n var m = comp.match(r);\n if (!m) throw new TypeError(\"Invalid comparator: \" + comp);\n this.operator = m[1] !== undefined ? m[1] : \"\";\n if (this.operator === \"=\") this.operator = \"\";\n // if it literally is just '>' or '' then allow anything.\n if (!m[2]) this.semver = ANY;\n else this.semver = new SemVer(m[2], this.options.loose);\n};\nComparator.prototype.toString = function() {\n return this.value;\n};\nComparator.prototype.test = function(version) {\n debug(\"Comparator.test\", version, this.options.loose);\n if (this.semver === ANY || version === ANY) return true;\n if (typeof version === \"string\") try {\n version = new SemVer(version, this.options);\n } catch (er) {\n return false;\n }\n return cmp(version, this.operator, this.semver, this.options);\n};\nComparator.prototype.intersects = function(comp, options) {\n if (!(comp instanceof Comparator)) throw new TypeError(\"a Comparator is required\");\n if (!options || typeof options !== \"object\") options = {\n loose: !!options,\n includePrerelease: false\n };\n var rangeTmp;\n if (this.operator === \"\") {\n if (this.value === \"\") return true;\n rangeTmp = new Range(comp.value, options);\n return satisfies(this.value, rangeTmp, options);\n } else if (comp.operator === \"\") {\n if (comp.value === \"\") return true;\n rangeTmp = new Range(this.value, options);\n return satisfies(comp.semver, rangeTmp, options);\n }\n var sameDirectionIncreasing = (this.operator === \">=\" || this.operator === \">\") && (comp.operator === \">=\" || comp.operator === \">\");\n var sameDirectionDecreasing = (this.operator === \"<=\" || this.operator === \"<\") && (comp.operator === \"<=\" || comp.operator === \"<\");\n var sameSemVer = this.semver.version === comp.semver.version;\n var differentDirectionsInclusive = (this.operator === \">=\" || this.operator === \"<=\") && (comp.operator === \">=\" || comp.operator === \"<=\");\n var oppositeDirectionsLessThan = cmp(this.semver, \"<\", comp.semver, options) && (this.operator === \">=\" || this.operator === \">\") && (comp.operator === \"<=\" || comp.operator === \"<\");\n var oppositeDirectionsGreaterThan = cmp(this.semver, \">\", comp.semver, options) && (this.operator === \"<=\" || this.operator === \"<\") && (comp.operator === \">=\" || comp.operator === \">\");\n return sameDirectionIncreasing || sameDirectionDecreasing || sameSemVer && differentDirectionsInclusive || oppositeDirectionsLessThan || oppositeDirectionsGreaterThan;\n};\nexports.Range = Range;\nfunction Range(range, options) {\n if (!options || typeof options !== \"object\") options = {\n loose: !!options,\n includePrerelease: false\n };\n if (range instanceof Range) {\n if (range.loose === !!options.loose && range.includePrerelease === !!options.includePrerelease) return range;\n else return new Range(range.raw, options);\n }\n if (range instanceof Comparator) return new Range(range.value, options);\n if (!(this instanceof Range)) return new Range(range, options);\n this.options = options;\n this.loose = !!options.loose;\n this.includePrerelease = !!options.includePrerelease;\n // First reduce all whitespace as much as possible so we do not have to rely\n // on potentially slow regexes like \\s*. This is then stored and used for\n // future error messages as well.\n this.raw = range.trim().split(/\\s+/).join(\" \");\n // First, split based on boolean or ||\n this.set = this.raw.split(\"||\").map(function(range) {\n return this.parseRange(range.trim());\n }, this).filter(function(c) {\n // throw out any that are not relevant for whatever reason\n return c.length;\n });\n if (!this.set.length) throw new TypeError(\"Invalid SemVer Range: \" + this.raw);\n this.format();\n}\nRange.prototype.format = function() {\n this.range = this.set.map(function(comps) {\n return comps.join(\" \").trim();\n }).join(\"||\").trim();\n return this.range;\n};\nRange.prototype.toString = function() {\n return this.range;\n};\nRange.prototype.parseRange = function(range) {\n var loose = this.options.loose;\n // `1.2.3 - 1.2.4` => `>=1.2.3 <=1.2.4`\n var hr = loose ? safeRe[t.HYPHENRANGELOOSE] : safeRe[t.HYPHENRANGE];\n range = range.replace(hr, hyphenReplace);\n debug(\"hyphen replace\", range);\n // `> 1.2.3 < 1.2.5` => `>1.2.3 <1.2.5`\n range = range.replace(safeRe[t.COMPARATORTRIM], comparatorTrimReplace);\n debug(\"comparator trim\", range, safeRe[t.COMPARATORTRIM]);\n // `~ 1.2.3` => `~1.2.3`\n range = range.replace(safeRe[t.TILDETRIM], tildeTrimReplace);\n // `^ 1.2.3` => `^1.2.3`\n range = range.replace(safeRe[t.CARETTRIM], caretTrimReplace);\n // normalize spaces\n range = range.split(/\\s+/).join(\" \");\n // At this point, the range is completely trimmed and\n // ready to be split into comparators.\n var compRe = loose ? safeRe[t.COMPARATORLOOSE] : safeRe[t.COMPARATOR];\n var set = range.split(\" \").map(function(comp) {\n return parseComparator(comp, this.options);\n }, this).join(\" \").split(/\\s+/);\n if (this.options.loose) // in loose mode, throw out any that are not valid comparators\n set = set.filter(function(comp) {\n return !!comp.match(compRe);\n });\n set = set.map(function(comp) {\n return new Comparator(comp, this.options);\n }, this);\n return set;\n};\nRange.prototype.intersects = function(range, options) {\n if (!(range instanceof Range)) throw new TypeError(\"a Range is required\");\n return this.set.some(function(thisComparators) {\n return isSatisfiable(thisComparators, options) && range.set.some(function(rangeComparators) {\n return isSatisfiable(rangeComparators, options) && thisComparators.every(function(thisComparator) {\n return rangeComparators.every(function(rangeComparator) {\n return thisComparator.intersects(rangeComparator, options);\n });\n });\n });\n });\n};\n// take a set of comparators and determine whether there\n// exists a version which can satisfy it\nfunction isSatisfiable(comparators, options) {\n var result = true;\n var remainingComparators = comparators.slice();\n var testComparator = remainingComparators.pop();\n while(result && remainingComparators.length){\n result = remainingComparators.every(function(otherComparator) {\n return testComparator.intersects(otherComparator, options);\n });\n testComparator = remainingComparators.pop();\n }\n return result;\n}\n// Mostly just for testing and legacy API reasons\nexports.toComparators = toComparators;\nfunction toComparators(range, options) {\n return new Range(range, options).set.map(function(comp) {\n return comp.map(function(c) {\n return c.value;\n }).join(\" \").trim().split(\" \");\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.\nfunction 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}\nfunction isX(id) {\n return !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\n// ~2.0, ~2.0.x, ~>2.0, ~>2.0.x --> >=2.0.0 <2.1.0\n// ~1.2, ~1.2.x, ~>1.2, ~>1.2.x --> >=1.2.0 <1.3.0\n// ~1.2.3, ~>1.2.3 --> >=1.2.3 <1.3.0\n// ~1.2.0, ~>1.2.0 --> >=1.2.0 <1.3.0\nfunction replaceTildes(comp, options) {\n return comp.trim().split(/\\s+/).map(function(comp) {\n return replaceTilde(comp, options);\n }).join(\" \");\n}\nfunction replaceTilde(comp, options) {\n var r = options.loose ? safeRe[t.TILDELOOSE] : safeRe[t.TILDE];\n return comp.replace(r, function(_, M, m, p, pr) {\n debug(\"tilde\", comp, _, M, m, p, pr);\n var ret;\n if (isX(M)) ret = \"\";\n else if (isX(m)) ret = \">=\" + M + \".0.0 <\" + (+M + 1) + \".0.0\";\n else if (isX(p)) // ~1.2 == >=1.2.0 <1.3.0\n ret = \">=\" + M + \".\" + m + \".0 <\" + M + \".\" + (+m + 1) + \".0\";\n else if (pr) {\n debug(\"replaceTilde pr\", pr);\n ret = \">=\" + M + \".\" + m + \".\" + p + \"-\" + pr + \" <\" + M + \".\" + (+m + 1) + \".0\";\n } else // ~1.2.3 == >=1.2.3 <1.3.0\n ret = \">=\" + M + \".\" + m + \".\" + p + \" <\" + M + \".\" + (+m + 1) + \".0\";\n debug(\"tilde return\", ret);\n return ret;\n });\n}\n// ^ --> * (any, kinda silly)\n// ^2, ^2.x, ^2.x.x --> >=2.0.0 <3.0.0\n// ^2.0, ^2.0.x --> >=2.0.0 <3.0.0\n// ^1.2, ^1.2.x --> >=1.2.0 <2.0.0\n// ^1.2.3 --> >=1.2.3 <2.0.0\n// ^1.2.0 --> >=1.2.0 <2.0.0\nfunction replaceCarets(comp, options) {\n return comp.trim().split(/\\s+/).map(function(comp) {\n return replaceCaret(comp, options);\n }).join(\" \");\n}\nfunction replaceCaret(comp, options) {\n debug(\"caret\", comp, options);\n var r = options.loose ? safeRe[t.CARETLOOSE] : safeRe[t.CARET];\n return comp.replace(r, function(_, M, m, p, pr) {\n debug(\"caret\", comp, _, M, m, p, pr);\n var ret;\n if (isX(M)) ret = \"\";\n else if (isX(m)) ret = \">=\" + M + \".0.0 <\" + (+M + 1) + \".0.0\";\n else if (isX(p)) {\n if (M === \"0\") ret = \">=\" + M + \".\" + m + \".0 <\" + M + \".\" + (+m + 1) + \".0\";\n else ret = \">=\" + M + \".\" + m + \".0 <\" + (+M + 1) + \".0.0\";\n } else if (pr) {\n debug(\"replaceCaret pr\", pr);\n if (M === \"0\") {\n if (m === \"0\") ret = \">=\" + M + \".\" + m + \".\" + p + \"-\" + pr + \" <\" + M + \".\" + m + \".\" + (+p + 1);\n else ret = \">=\" + M + \".\" + m + \".\" + p + \"-\" + pr + \" <\" + M + \".\" + (+m + 1) + \".0\";\n } else ret = \">=\" + M + \".\" + m + \".\" + p + \"-\" + pr + \" <\" + (+M + 1) + \".0.0\";\n } else {\n debug(\"no pr\");\n if (M === \"0\") {\n if (m === \"0\") ret = \">=\" + M + \".\" + m + \".\" + p + \" <\" + M + \".\" + m + \".\" + (+p + 1);\n else ret = \">=\" + M + \".\" + m + \".\" + p + \" <\" + M + \".\" + (+m + 1) + \".0\";\n } else ret = \">=\" + M + \".\" + m + \".\" + p + \" <\" + (+M + 1) + \".0.0\";\n }\n debug(\"caret return\", ret);\n return ret;\n });\n}\nfunction replaceXRanges(comp, options) {\n debug(\"replaceXRanges\", comp, options);\n return comp.split(/\\s+/).map(function(comp) {\n return replaceXRange(comp, options);\n }).join(\" \");\n}\nfunction replaceXRange(comp, options) {\n comp = comp.trim();\n var r = options.loose ? safeRe[t.XRANGELOOSE] : safeRe[t.XRANGE];\n return comp.replace(r, function(ret, gtlt, M, m, p, pr) {\n debug(\"xRange\", comp, ret, gtlt, M, m, p, pr);\n var xM = isX(M);\n var xm = xM || isX(m);\n var xp = xm || isX(p);\n var anyX = xp;\n if (gtlt === \"=\" && anyX) gtlt = \"\";\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 if (xM) {\n if (gtlt === \">\" || gtlt === \"<\") // nothing is allowed\n ret = \"<0.0.0-0\";\n else // nothing is forbidden\n ret = \"*\";\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) m = 0;\n p = 0;\n if (gtlt === \">\") {\n // >1 => >=2.0.0\n // >1.2 => >=1.3.0\n // >1.2.3 => >= 1.2.4\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) M = +M + 1;\n else m = +m + 1;\n }\n ret = gtlt + M + \".\" + m + \".\" + p + pr;\n } else if (xm) ret = \">=\" + M + \".0.0\" + pr + \" <\" + (+M + 1) + \".0.0\" + pr;\n else if (xp) ret = \">=\" + M + \".\" + m + \".0\" + pr + \" <\" + M + \".\" + (+m + 1) + \".0\" + pr;\n debug(\"xRange return\", ret);\n return ret;\n });\n}\n// Because * is AND-ed with everything else in the comparator,\n// and '' means \"any version\", just remove the *s entirely.\nfunction 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(safeRe[t.STAR], \"\");\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 Any 3.4.x will do\n// 1.2 - 3.4 => >=1.2.0 <3.5.0\nfunction hyphenReplace($0, from, fM, fm, fp, fpr, fb, to, tM, tm, tp, tpr, tb) {\n if (isX(fM)) from = \"\";\n else if (isX(fm)) from = \">=\" + fM + \".0.0\";\n else if (isX(fp)) from = \">=\" + fM + \".\" + fm + \".0\";\n else from = \">=\" + from;\n if (isX(tM)) to = \"\";\n else if (isX(tm)) to = \"<\" + (+tM + 1) + \".0.0\";\n else if (isX(tp)) to = \"<\" + tM + \".\" + (+tm + 1) + \".0\";\n else if (tpr) to = \"<=\" + tM + \".\" + tm + \".\" + tp + \"-\" + tpr;\n else to = \"<=\" + to;\n return (from + \" \" + to).trim();\n}\n// if ANY of the sets match ALL of its comparators, then pass\nRange.prototype.test = function(version) {\n if (!version) return false;\n if (typeof version === \"string\") try {\n version = new SemVer(version, this.options);\n } catch (er) {\n return false;\n }\n for(var i = 0; i < this.set.length; i++){\n if (testSet(this.set[i], version, this.options)) return true;\n }\n return false;\n};\nfunction testSet(set, version, options) {\n for(var i = 0; i < set.length; i++){\n if (!set[i].test(version)) return false;\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(i = 0; i < set.length; i++){\n debug(set[i].semver);\n if (set[i].semver === ANY) continue;\n if (set[i].semver.prerelease.length > 0) {\n var allowed = set[i].semver;\n if (allowed.major === version.major && allowed.minor === version.minor && allowed.patch === version.patch) return true;\n }\n }\n // Version has a -pre, but it's not one of the ones we like.\n return false;\n }\n return true;\n}\nexports.satisfies = satisfies;\nfunction 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}\nexports.maxSatisfying = maxSatisfying;\nfunction maxSatisfying(versions, range, options) {\n var max = null;\n var maxSV = null;\n try {\n var rangeObj = new Range(range, options);\n } catch (er) {\n return null;\n }\n versions.forEach(function(v) {\n if (rangeObj.test(v)) // satisfies(v, range, options)\n {\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}\nexports.minSatisfying = minSatisfying;\nfunction minSatisfying(versions, range, options) {\n var min = null;\n var minSV = null;\n try {\n var rangeObj = new Range(range, options);\n } catch (er) {\n return null;\n }\n versions.forEach(function(v) {\n if (rangeObj.test(v)) // satisfies(v, range, options)\n {\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}\nexports.minVersion = minVersion;\nfunction minVersion(range, loose) {\n range = new Range(range, loose);\n var minver = new SemVer(\"0.0.0\");\n if (range.test(minver)) return minver;\n minver = new SemVer(\"0.0.0-0\");\n if (range.test(minver)) return minver;\n minver = null;\n for(var i = 0; i < range.set.length; ++i){\n var comparators = range.set[i];\n comparators.forEach(function(comparator) {\n // Clone to avoid manipulating the comparator's semver object.\n var compver = new SemVer(comparator.semver.version);\n switch(comparator.operator){\n case \">\":\n if (compver.prerelease.length === 0) compver.patch++;\n else compver.prerelease.push(0);\n compver.raw = compver.format();\n /* fallthrough */ case \"\":\n case \">=\":\n if (!minver || gt(minver, compver)) minver = compver;\n break;\n case \"<\":\n case \"<=\":\n break;\n /* istanbul ignore next */ default:\n throw new Error(\"Unexpected operation: \" + comparator.operator);\n }\n });\n }\n if (minver && range.test(minver)) return minver;\n return null;\n}\nexports.validRange = validRange;\nfunction 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}\n// Determine if version is less than all the versions possible in the range\nexports.ltr = ltr;\nfunction ltr(version, range, options) {\n return outside(version, range, \"<\", options);\n}\n// Determine if version is greater than all the versions possible in the range.\nexports.gtr = gtr;\nfunction gtr(version, range, options) {\n return outside(version, range, \">\", options);\n}\nexports.outside = outside;\nfunction outside(version, range, hilo, options) {\n version = new SemVer(version, options);\n range = new Range(range, options);\n var 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 // If it satisifes the range it is not outside\n if (satisfies(version, range, options)) return false;\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 for(var i = 0; i < range.set.length; ++i){\n var comparators = range.set[i];\n var high = null;\n var low = null;\n comparators.forEach(function(comparator) {\n if (comparator.semver === ANY) comparator = new Comparator(\">=0.0.0\");\n high = high || comparator;\n low = low || comparator;\n if (gtfn(comparator.semver, high.semver, options)) high = comparator;\n else if (ltfn(comparator.semver, low.semver, options)) low = comparator;\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) return false;\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) && ltefn(version, low.semver)) return false;\n else if (low.operator === ecomp && ltfn(version, low.semver)) return false;\n }\n return true;\n}\nexports.prerelease = prerelease;\nfunction prerelease(version, options) {\n var parsed = parse(version, options);\n return parsed && parsed.prerelease.length ? parsed.prerelease : null;\n}\nexports.intersects = intersects;\nfunction intersects(r1, r2, options) {\n r1 = new Range(r1, options);\n r2 = new Range(r2, options);\n return r1.intersects(r2);\n}\nexports.coerce = coerce;\nfunction coerce(version, options) {\n if (version instanceof SemVer) return version;\n if (typeof version === \"number\") version = String(version);\n if (typeof version !== \"string\") return null;\n options = options || {};\n var match = null;\n if (!options.rtl) match = version.match(safeRe[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 var next;\n while((next = safeRe[t.COERCERTL].exec(version)) && (!match || match.index + match[0].length !== version.length)){\n if (!match || next.index + next[0].length !== match.index + match[0].length) match = next;\n safeRe[t.COERCERTL].lastIndex = next.index + next[1].length + next[2].length;\n }\n // leave it in a clean state\n safeRe[t.COERCERTL].lastIndex = -1;\n }\n if (match === null) return null;\n return parse(match[2] + \".\" + (match[3] || \"0\") + \".\" + (match[4] || \"0\"), options);\n}\n\n});\n\n\nparcelRegister(\"GX8zo\", function(module, exports) {\n\nvar $7qQbq = parcelRequire(\"7qQbq\");\n\nvar $c22IK = parcelRequire(\"c22IK\");\nfunction $0811cbc79176afae$var$v4(options, buf, offset) {\n var i = buf && offset || 0;\n if (typeof options == \"string\") {\n buf = options === \"binary\" ? new Array(16) : null;\n options = null;\n }\n options = options || {};\n var rnds = options.random || (options.rng || $7qQbq)();\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 // Copy bytes to buffer, if provided\n if (buf) for(var ii = 0; ii < 16; ++ii)buf[i + ii] = rnds[ii];\n return buf || $c22IK(rnds);\n}\nmodule.exports = $0811cbc79176afae$var$v4;\n\n});\nparcelRegister(\"7qQbq\", function(module, exports) {\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\nmodule.exports = function nodeRNG() {\n return $4umf8$crypto.randomBytes(16);\n};\n\n});\n\nparcelRegister(\"c22IK\", function(module, exports) {\n/**\n * Convert array of 16 byte values to UUID string format of the form:\n * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\n */ var $8c27c83ef5b4f27e$var$byteToHex = [];\nfor(var $8c27c83ef5b4f27e$var$i = 0; $8c27c83ef5b4f27e$var$i < 256; ++$8c27c83ef5b4f27e$var$i)$8c27c83ef5b4f27e$var$byteToHex[$8c27c83ef5b4f27e$var$i] = ($8c27c83ef5b4f27e$var$i + 0x100).toString(16).substr(1);\nfunction $8c27c83ef5b4f27e$var$bytesToUuid(buf, offset) {\n var i = offset || 0;\n var bth = $8c27c83ef5b4f27e$var$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++]],\n bth[buf[i++]],\n bth[buf[i++]],\n bth[buf[i++]],\n \"-\",\n bth[buf[i++]],\n bth[buf[i++]],\n \"-\",\n bth[buf[i++]],\n bth[buf[i++]],\n \"-\",\n bth[buf[i++]],\n bth[buf[i++]],\n \"-\",\n bth[buf[i++]],\n bth[buf[i++]],\n bth[buf[i++]],\n bth[buf[i++]],\n bth[buf[i++]],\n bth[buf[i++]]\n ].join(\"\");\n}\nmodule.exports = $8c27c83ef5b4f27e$var$bytesToUuid;\n\n});\n\n\nparcelRegister(\"bHzmH\", function(module, exports) {\n\"use strict\";\nvar $884f249efde1efb4$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $884f249efde1efb4$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $884f249efde1efb4$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $884f249efde1efb4$var$__createBinding(result, mod, k);\n }\n $884f249efde1efb4$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $884f249efde1efb4$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.getExecOutput = module.exports.exec = void 0;\n\n\nconst $884f249efde1efb4$var$tr = $884f249efde1efb4$var$__importStar((parcelRequire(\"iYbsa\")));\n/**\n * Exec a command.\n * Output will be streamed to the live console.\n * Returns promise with return code\n *\n * @param commandLine command to execute (can include additional args). Must be correctly escaped.\n * @param args optional arguments for tool. Escaping is handled by the lib.\n * @param options optional exec options. See ExecOptions\n * @returns Promise exit code\n */ function $884f249efde1efb4$var$exec(commandLine, args, options) {\n return $884f249efde1efb4$var$__awaiter(this, void 0, void 0, function*() {\n const commandArgs = $884f249efde1efb4$var$tr.argStringToArray(commandLine);\n if (commandArgs.length === 0) throw new Error(`Parameter 'commandLine' cannot be null or empty.`);\n // Path to tool to execute should be first arg\n const toolPath = commandArgs[0];\n args = commandArgs.slice(1).concat(args || []);\n const runner = new $884f249efde1efb4$var$tr.ToolRunner(toolPath, args, options);\n return runner.exec();\n });\n}\nmodule.exports.exec = $884f249efde1efb4$var$exec;\n/**\n * Exec a command and get the output.\n * Output will be streamed to the live console.\n * Returns promise with the exit code and collected stdout and stderr\n *\n * @param commandLine command to execute (can include additional args). Must be correctly escaped.\n * @param args optional arguments for tool. Escaping is handled by the lib.\n * @param options optional exec options. See ExecOptions\n * @returns Promise exit code, stdout, and stderr\n */ function $884f249efde1efb4$var$getExecOutput(commandLine, args, options) {\n var _a, _b;\n return $884f249efde1efb4$var$__awaiter(this, void 0, void 0, function*() {\n let stdout = \"\";\n let stderr = \"\";\n //Using string decoder covers the case where a mult-byte character is split\n const stdoutDecoder = new $4umf8$string_decoder.StringDecoder(\"utf8\");\n const stderrDecoder = new $4umf8$string_decoder.StringDecoder(\"utf8\");\n const originalStdoutListener = (_a = options === null || options === void 0 ? void 0 : options.listeners) === null || _a === void 0 ? void 0 : _a.stdout;\n const originalStdErrListener = (_b = options === null || options === void 0 ? void 0 : options.listeners) === null || _b === void 0 ? void 0 : _b.stderr;\n const stdErrListener = (data)=>{\n stderr += stderrDecoder.write(data);\n if (originalStdErrListener) originalStdErrListener(data);\n };\n const stdOutListener = (data)=>{\n stdout += stdoutDecoder.write(data);\n if (originalStdoutListener) originalStdoutListener(data);\n };\n const listeners = Object.assign(Object.assign({}, options === null || options === void 0 ? void 0 : options.listeners), {\n stdout: stdOutListener,\n stderr: stdErrListener\n });\n const exitCode = yield $884f249efde1efb4$var$exec(commandLine, args, Object.assign(Object.assign({}, options), {\n listeners: listeners\n }));\n //flush any remaining characters\n stdout += stdoutDecoder.end();\n stderr += stderrDecoder.end();\n return {\n exitCode: exitCode,\n stdout: stdout,\n stderr: stderr\n };\n });\n}\nmodule.exports.getExecOutput = $884f249efde1efb4$var$getExecOutput;\n\n});\nparcelRegister(\"iYbsa\", function(module, exports) {\n\"use strict\";\nvar $dcf6b6fa3b8725c1$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $dcf6b6fa3b8725c1$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $dcf6b6fa3b8725c1$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $dcf6b6fa3b8725c1$var$__createBinding(result, mod, k);\n }\n $dcf6b6fa3b8725c1$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $dcf6b6fa3b8725c1$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.argStringToArray = module.exports.ToolRunner = void 0;\n\nconst $dcf6b6fa3b8725c1$var$os = $dcf6b6fa3b8725c1$var$__importStar($4umf8$os);\n\nconst $dcf6b6fa3b8725c1$var$events = $dcf6b6fa3b8725c1$var$__importStar($4umf8$events);\n\nconst $dcf6b6fa3b8725c1$var$child = $dcf6b6fa3b8725c1$var$__importStar($4umf8$child_process);\n\nconst $dcf6b6fa3b8725c1$var$path = $dcf6b6fa3b8725c1$var$__importStar($4umf8$path);\n\nconst $dcf6b6fa3b8725c1$var$io = $dcf6b6fa3b8725c1$var$__importStar((parcelRequire(\"zdagz\")));\n\nconst $dcf6b6fa3b8725c1$var$ioUtil = $dcf6b6fa3b8725c1$var$__importStar((parcelRequire(\"fwMQK\")));\n\n/* eslint-disable @typescript-eslint/unbound-method */ const $dcf6b6fa3b8725c1$var$IS_WINDOWS = process.platform === \"win32\";\n/*\n * Class for running command line tools. Handles quoting and arg parsing in a platform agnostic way.\n */ class $dcf6b6fa3b8725c1$var$ToolRunner extends $dcf6b6fa3b8725c1$var$events.EventEmitter {\n constructor(toolPath, args, options){\n super();\n if (!toolPath) throw new Error(\"Parameter 'toolPath' cannot be null or empty.\");\n this.toolPath = toolPath;\n this.args = args || [];\n this.options = options || {};\n }\n _debug(message) {\n if (this.options.listeners && this.options.listeners.debug) this.options.listeners.debug(message);\n }\n _getCommandString(options, noPrefix) {\n const toolPath = this._getSpawnFileName();\n const args = this._getSpawnArgs(options);\n let cmd = noPrefix ? \"\" : \"[command]\"; // omit prefix when piped to a second tool\n if ($dcf6b6fa3b8725c1$var$IS_WINDOWS) {\n // Windows + cmd file\n if (this._isCmdFile()) {\n cmd += toolPath;\n for (const a of args)cmd += ` ${a}`;\n } else if (options.windowsVerbatimArguments) {\n cmd += `\"${toolPath}\"`;\n for (const a of args)cmd += ` ${a}`;\n } else {\n cmd += this._windowsQuoteCmdArg(toolPath);\n for (const a of args)cmd += ` ${this._windowsQuoteCmdArg(a)}`;\n }\n } else {\n // OSX/Linux - this can likely be improved with some form of quoting.\n // creating processes on Unix is fundamentally different than Windows.\n // on Unix, execvp() takes an arg array.\n cmd += toolPath;\n for (const a of args)cmd += ` ${a}`;\n }\n return cmd;\n }\n _processLineBuffer(data, strBuffer, onLine) {\n try {\n let s = strBuffer + data.toString();\n let n = s.indexOf($dcf6b6fa3b8725c1$var$os.EOL);\n while(n > -1){\n const line = s.substring(0, n);\n onLine(line);\n // the rest of the string ...\n s = s.substring(n + $dcf6b6fa3b8725c1$var$os.EOL.length);\n n = s.indexOf($dcf6b6fa3b8725c1$var$os.EOL);\n }\n return s;\n } catch (err) {\n // streaming lines to console is best effort. Don't fail a build.\n this._debug(`error processing line. Failed with error ${err}`);\n return \"\";\n }\n }\n _getSpawnFileName() {\n if ($dcf6b6fa3b8725c1$var$IS_WINDOWS) {\n if (this._isCmdFile()) return process.env[\"COMSPEC\"] || \"cmd.exe\";\n }\n return this.toolPath;\n }\n _getSpawnArgs(options) {\n if ($dcf6b6fa3b8725c1$var$IS_WINDOWS) {\n if (this._isCmdFile()) {\n let argline = `/D /S /C \"${this._windowsQuoteCmdArg(this.toolPath)}`;\n for (const a of this.args){\n argline += \" \";\n argline += options.windowsVerbatimArguments ? a : this._windowsQuoteCmdArg(a);\n }\n argline += '\"';\n return [\n argline\n ];\n }\n }\n return this.args;\n }\n _endsWith(str, end) {\n return str.endsWith(end);\n }\n _isCmdFile() {\n const upperToolPath = this.toolPath.toUpperCase();\n return this._endsWith(upperToolPath, \".CMD\") || this._endsWith(upperToolPath, \".BAT\");\n }\n _windowsQuoteCmdArg(arg) {\n // for .exe, apply the normal quoting rules that libuv applies\n if (!this._isCmdFile()) return this._uvQuoteCmdArg(arg);\n // otherwise apply quoting rules specific to the cmd.exe command line parser.\n // the libuv rules are generic and are not designed specifically for cmd.exe\n // command line parser.\n //\n // for a detailed description of the cmd.exe command line parser, refer to\n // http://stackoverflow.com/questions/4094699/how-does-the-windows-command-interpreter-cmd-exe-parse-scripts/7970912#7970912\n // need quotes for empty arg\n if (!arg) return '\"\"';\n // determine whether the arg needs to be quoted\n const cmdSpecialChars = [\n \" \",\n \"\t\",\n \"&\",\n \"(\",\n \")\",\n \"[\",\n \"]\",\n \"{\",\n \"}\",\n \"^\",\n \"=\",\n \";\",\n \"!\",\n \"'\",\n \"+\",\n \",\",\n \"`\",\n \"~\",\n \"|\",\n \"<\",\n \">\",\n '\"'\n ];\n let needsQuotes = false;\n for (const char of arg)if (cmdSpecialChars.some((x)=>x === char)) {\n needsQuotes = true;\n break;\n }\n // short-circuit if quotes not needed\n if (!needsQuotes) return arg;\n // the following quoting rules are very similar to the rules that by libuv applies.\n //\n // 1) wrap the string in quotes\n //\n // 2) double-up quotes - i.e. \" => \"\"\n //\n // this is different from the libuv quoting rules. libuv replaces \" with \\\", which unfortunately\n // doesn't work well with a cmd.exe command line.\n //\n // note, replacing \" with \"\" also works well if the arg is passed to a downstream .NET console app.\n // for example, the command line:\n // foo.exe \"myarg:\"\"my val\"\"\"\n // is parsed by a .NET console app into an arg array:\n // [ \"myarg:\\\"my val\\\"\" ]\n // which is the same end result when applying libuv quoting rules. although the actual\n // command line from libuv quoting rules would look like:\n // foo.exe \"myarg:\\\"my val\\\"\"\n //\n // 3) double-up slashes that precede a quote,\n // e.g. hello \\world => \"hello \\world\"\n // hello\\\"world => \"hello\\\\\"\"world\"\n // hello\\\\\"world => \"hello\\\\\\\\\"\"world\"\n // hello world\\ => \"hello world\\\\\"\n //\n // technically this is not required for a cmd.exe command line, or the batch argument parser.\n // the reasons for including this as a .cmd quoting rule are:\n //\n // a) this is optimized for the scenario where the argument is passed from the .cmd file to an\n // external program. many programs (e.g. .NET console apps) rely on the slash-doubling rule.\n //\n // b) it's what we've been doing previously (by deferring to node default behavior) and we\n // haven't heard any complaints about that aspect.\n //\n // note, a weakness of the quoting rules chosen here, is that % is not escaped. in fact, % cannot be\n // escaped when used on the command line directly - even though within a .cmd file % can be escaped\n // by using %%.\n //\n // the saving grace is, on the command line, %var% is left as-is if var is not defined. this contrasts\n // the line parsing rules within a .cmd file, where if var is not defined it is replaced with nothing.\n //\n // one option that was explored was replacing % with ^% - i.e. %var% => ^%var^%. this hack would\n // often work, since it is unlikely that var^ would exist, and the ^ character is removed when the\n // variable is used. the problem, however, is that ^ is not removed when %* is used to pass the args\n // to an external program.\n //\n // an unexplored potential solution for the % escaping problem, is to create a wrapper .cmd file.\n // % can be escaped within a .cmd file.\n let reverse = '\"';\n let quoteHit = true;\n for(let i = arg.length; i > 0; i--){\n // walk the string in reverse\n reverse += arg[i - 1];\n if (quoteHit && arg[i - 1] === \"\\\\\") reverse += \"\\\\\"; // double the slash\n else if (arg[i - 1] === '\"') {\n quoteHit = true;\n reverse += '\"'; // double the quote\n } else quoteHit = false;\n }\n reverse += '\"';\n return reverse.split(\"\").reverse().join(\"\");\n }\n _uvQuoteCmdArg(arg) {\n // Tool runner wraps child_process.spawn() and needs to apply the same quoting as\n // Node in certain cases where the undocumented spawn option windowsVerbatimArguments\n // is used.\n //\n // Since this function is a port of quote_cmd_arg from Node 4.x (technically, lib UV,\n // see https://github.com/nodejs/node/blob/v4.x/deps/uv/src/win/process.c for details),\n // pasting copyright notice from Node within this function:\n //\n // Copyright Joyent, Inc. and other Node contributors. All rights reserved.\n //\n // Permission is hereby granted, free of charge, to any person obtaining a copy\n // of this software and associated documentation files (the \"Software\"), to\n // deal in the Software without restriction, including without limitation the\n // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or\n // sell copies of the Software, and to permit persons to whom the Software is\n // furnished to do so, subject to the following conditions:\n //\n // The above copyright notice and this permission notice shall be included in\n // all copies or substantial portions of the Software.\n //\n // THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\n // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS\n // IN THE SOFTWARE.\n if (!arg) // Need double quotation for empty argument\n return '\"\"';\n if (!arg.includes(\" \") && !arg.includes(\"\t\") && !arg.includes('\"')) // No quotation needed\n return arg;\n if (!arg.includes('\"') && !arg.includes(\"\\\\\")) // No embedded double quotes or backslashes, so I can just wrap\n // quote marks around the whole thing.\n return `\"${arg}\"`;\n // Expected input/output:\n // input : hello\"world\n // output: \"hello\\\"world\"\n // input : hello\"\"world\n // output: \"hello\\\"\\\"world\"\n // input : hello\\world\n // output: hello\\world\n // input : hello\\\\world\n // output: hello\\\\world\n // input : hello\\\"world\n // output: \"hello\\\\\\\"world\"\n // input : hello\\\\\"world\n // output: \"hello\\\\\\\\\\\"world\"\n // input : hello world\\\n // output: \"hello world\\\\\" - note the comment in libuv actually reads \"hello world\\\"\n // but it appears the comment is wrong, it should be \"hello world\\\\\"\n let reverse = '\"';\n let quoteHit = true;\n for(let i = arg.length; i > 0; i--){\n // walk the string in reverse\n reverse += arg[i - 1];\n if (quoteHit && arg[i - 1] === \"\\\\\") reverse += \"\\\\\";\n else if (arg[i - 1] === '\"') {\n quoteHit = true;\n reverse += \"\\\\\";\n } else quoteHit = false;\n }\n reverse += '\"';\n return reverse.split(\"\").reverse().join(\"\");\n }\n _cloneExecOptions(options) {\n options = options || {};\n const result = {\n cwd: options.cwd || process.cwd(),\n env: options.env || process.env,\n silent: options.silent || false,\n windowsVerbatimArguments: options.windowsVerbatimArguments || false,\n failOnStdErr: options.failOnStdErr || false,\n ignoreReturnCode: options.ignoreReturnCode || false,\n delay: options.delay || 10000\n };\n result.outStream = options.outStream || process.stdout;\n result.errStream = options.errStream || process.stderr;\n return result;\n }\n _getSpawnOptions(options, toolPath) {\n options = options || {};\n const result = {};\n result.cwd = options.cwd;\n result.env = options.env;\n result[\"windowsVerbatimArguments\"] = options.windowsVerbatimArguments || this._isCmdFile();\n if (options.windowsVerbatimArguments) result.argv0 = `\"${toolPath}\"`;\n return result;\n }\n /**\n * Exec a tool.\n * Output will be streamed to the live console.\n * Returns promise with return code\n *\n * @param tool path to tool to exec\n * @param options optional exec options. See ExecOptions\n * @returns number\n */ exec() {\n return $dcf6b6fa3b8725c1$var$__awaiter(this, void 0, void 0, function*() {\n // root the tool path if it is unrooted and contains relative pathing\n if (!$dcf6b6fa3b8725c1$var$ioUtil.isRooted(this.toolPath) && (this.toolPath.includes(\"/\") || $dcf6b6fa3b8725c1$var$IS_WINDOWS && this.toolPath.includes(\"\\\\\"))) // prefer options.cwd if it is specified, however options.cwd may also need to be rooted\n this.toolPath = $dcf6b6fa3b8725c1$var$path.resolve(process.cwd(), this.options.cwd || process.cwd(), this.toolPath);\n // if the tool is only a file name, then resolve it from the PATH\n // otherwise verify it exists (add extension on Windows if necessary)\n this.toolPath = yield $dcf6b6fa3b8725c1$var$io.which(this.toolPath, true);\n return new Promise((resolve, reject)=>$dcf6b6fa3b8725c1$var$__awaiter(this, void 0, void 0, function*() {\n this._debug(`exec tool: ${this.toolPath}`);\n this._debug(\"arguments:\");\n for (const arg of this.args)this._debug(` ${arg}`);\n const optionsNonNull = this._cloneExecOptions(this.options);\n if (!optionsNonNull.silent && optionsNonNull.outStream) optionsNonNull.outStream.write(this._getCommandString(optionsNonNull) + $dcf6b6fa3b8725c1$var$os.EOL);\n const state = new $dcf6b6fa3b8725c1$var$ExecState(optionsNonNull, this.toolPath);\n state.on(\"debug\", (message)=>{\n this._debug(message);\n });\n if (this.options.cwd && !(yield $dcf6b6fa3b8725c1$var$ioUtil.exists(this.options.cwd))) return reject(new Error(`The cwd: ${this.options.cwd} does not exist!`));\n const fileName = this._getSpawnFileName();\n const cp = $dcf6b6fa3b8725c1$var$child.spawn(fileName, this._getSpawnArgs(optionsNonNull), this._getSpawnOptions(this.options, fileName));\n let stdbuffer = \"\";\n if (cp.stdout) cp.stdout.on(\"data\", (data)=>{\n if (this.options.listeners && this.options.listeners.stdout) this.options.listeners.stdout(data);\n if (!optionsNonNull.silent && optionsNonNull.outStream) optionsNonNull.outStream.write(data);\n stdbuffer = this._processLineBuffer(data, stdbuffer, (line)=>{\n if (this.options.listeners && this.options.listeners.stdline) this.options.listeners.stdline(line);\n });\n });\n let errbuffer = \"\";\n if (cp.stderr) cp.stderr.on(\"data\", (data)=>{\n state.processStderr = true;\n if (this.options.listeners && this.options.listeners.stderr) this.options.listeners.stderr(data);\n if (!optionsNonNull.silent && optionsNonNull.errStream && optionsNonNull.outStream) {\n const s = optionsNonNull.failOnStdErr ? optionsNonNull.errStream : optionsNonNull.outStream;\n s.write(data);\n }\n errbuffer = this._processLineBuffer(data, errbuffer, (line)=>{\n if (this.options.listeners && this.options.listeners.errline) this.options.listeners.errline(line);\n });\n });\n cp.on(\"error\", (err)=>{\n state.processError = err.message;\n state.processExited = true;\n state.processClosed = true;\n state.CheckComplete();\n });\n cp.on(\"exit\", (code)=>{\n state.processExitCode = code;\n state.processExited = true;\n this._debug(`Exit code ${code} received from tool '${this.toolPath}'`);\n state.CheckComplete();\n });\n cp.on(\"close\", (code)=>{\n state.processExitCode = code;\n state.processExited = true;\n state.processClosed = true;\n this._debug(`STDIO streams have closed for tool '${this.toolPath}'`);\n state.CheckComplete();\n });\n state.on(\"done\", (error, exitCode)=>{\n if (stdbuffer.length > 0) this.emit(\"stdline\", stdbuffer);\n if (errbuffer.length > 0) this.emit(\"errline\", errbuffer);\n cp.removeAllListeners();\n if (error) reject(error);\n else resolve(exitCode);\n });\n if (this.options.input) {\n if (!cp.stdin) throw new Error(\"child process missing stdin\");\n cp.stdin.end(this.options.input);\n }\n }));\n });\n }\n}\nmodule.exports.ToolRunner = $dcf6b6fa3b8725c1$var$ToolRunner;\n/**\n * Convert an arg string to an array of args. Handles escaping\n *\n * @param argString string of arguments\n * @returns string[] array of arguments\n */ function $dcf6b6fa3b8725c1$var$argStringToArray(argString) {\n const args = [];\n let inQuotes = false;\n let escaped = false;\n let arg = \"\";\n function append(c) {\n // we only escape double quotes.\n if (escaped && c !== '\"') arg += \"\\\\\";\n arg += c;\n escaped = false;\n }\n for(let i = 0; i < argString.length; i++){\n const c = argString.charAt(i);\n if (c === '\"') {\n if (!escaped) inQuotes = !inQuotes;\n else append(c);\n continue;\n }\n if (c === \"\\\\\" && escaped) {\n append(c);\n continue;\n }\n if (c === \"\\\\\" && inQuotes) {\n escaped = true;\n continue;\n }\n if (c === \" \" && !inQuotes) {\n if (arg.length > 0) {\n args.push(arg);\n arg = \"\";\n }\n continue;\n }\n append(c);\n }\n if (arg.length > 0) args.push(arg.trim());\n return args;\n}\nmodule.exports.argStringToArray = $dcf6b6fa3b8725c1$var$argStringToArray;\nclass $dcf6b6fa3b8725c1$var$ExecState extends $dcf6b6fa3b8725c1$var$events.EventEmitter {\n constructor(options, toolPath){\n super();\n this.processClosed = false; // tracks whether the process has exited and stdio is closed\n this.processError = \"\";\n this.processExitCode = 0;\n this.processExited = false; // tracks whether the process has exited\n this.processStderr = false; // tracks whether stderr was written to\n this.delay = 10000; // 10 seconds\n this.done = false;\n this.timeout = null;\n if (!toolPath) throw new Error(\"toolPath must not be empty\");\n this.options = options;\n this.toolPath = toolPath;\n if (options.delay) this.delay = options.delay;\n }\n CheckComplete() {\n if (this.done) return;\n if (this.processClosed) this._setResult();\n else if (this.processExited) this.timeout = $4umf8$timers.setTimeout($dcf6b6fa3b8725c1$var$ExecState.HandleTimeout, this.delay, this);\n }\n _debug(message) {\n this.emit(\"debug\", message);\n }\n _setResult() {\n // determine whether there is an error\n let error;\n if (this.processExited) {\n if (this.processError) error = new Error(`There was an error when attempting to execute the process '${this.toolPath}'. This may indicate the process failed to start. Error: ${this.processError}`);\n else if (this.processExitCode !== 0 && !this.options.ignoreReturnCode) error = new Error(`The process '${this.toolPath}' failed with exit code ${this.processExitCode}`);\n else if (this.processStderr && this.options.failOnStdErr) error = new Error(`The process '${this.toolPath}' failed because one or more lines were written to the STDERR stream`);\n }\n // clear the timeout\n if (this.timeout) {\n clearTimeout(this.timeout);\n this.timeout = null;\n }\n this.done = true;\n this.emit(\"done\", error, this.processExitCode);\n }\n static HandleTimeout(state) {\n if (state.done) return;\n if (!state.processClosed && state.processExited) {\n const message = `The STDIO streams did not close within ${state.delay / 1000} seconds of the exit event from process '${state.toolPath}'. This may indicate a child process inherited the STDIO streams and has not yet exited.`;\n state._debug(message);\n }\n state._setResult();\n }\n}\n\n});\n\n\nparcelRegister(\"fEioR\", function(module, exports) {\nmodule.exports = Promise.resolve(require(\"./actions_python.c7411d6b.js\")).then(()=>parcelRequire(\"8L9T2\"));\n\n});\n\n\nvar $dAuy6 = parcelRequire(\"dAuy6\");\n\nvar $hHq4F = parcelRequire(\"hHq4F\");\n\nvar $6OFKY = parcelRequire(\"6OFKY\");\nvar $4af6780aae15e7aa$exports = {};\n\n(function() {\n var root = this;\n var numerous;\n numerous = (parcelRequire(\"kswPT\"));\n numerous.addLocale(\"en\", function pluralize_en(n /*``*/ ) {\n var i = Math.floor(Math.abs(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($4af6780aae15e7aa$exports);\n\n\nvar $d8d049814738d806$exports = {};\n\n$d8d049814738d806$exports = (parcelRequire(\"foOBZ\"));\n\n\nvar $320f558e5d3a9246$exports = {};\n$320f558e5d3a9246$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\n\n\n\nconst $f27d3fae06297317$var$homeDirectory = (0, ($parcel$interopDefault($4umf8$nodeos))).homedir();\nfunction $f27d3fae06297317$export$2e2bcd8739ae039(pathWithTilde) {\n if (typeof pathWithTilde !== \"string\") throw new TypeError(`Expected a string, got ${typeof pathWithTilde}`);\n return $f27d3fae06297317$var$homeDirectory ? pathWithTilde.replace(/^~(?=$|\\/|\\\\)/, $f27d3fae06297317$var$homeDirectory) : pathWithTilde;\n}\n\n\nvar $71cfef4812d1fa23$exports = {};\nvar $8af98396df2af8bc$exports = {};\n\n$parcel$export($8af98396df2af8bc$exports, \"isexe\", () => $8af98396df2af8bc$export$35888d6059c232d4);\n$parcel$export($8af98396df2af8bc$exports, \"sync\", () => $8af98396df2af8bc$export$92d6409d68f0739a);\n/**\n * This is the Posix implementation of isexe, which uses the file\n * mode and uid/gid values.\n *\n * @module\n */ \n\nvar $9b99f2c333371baa$export$2e2bcd8739ae039 = (0, $4umf8$fs.promises);\nconst { access: $9b99f2c333371baa$export$9bb0e144ba4929ca, appendFile: $9b99f2c333371baa$export$31f54b44f813a103, chmod: $9b99f2c333371baa$export$fe07cae62e774a05, chown: $9b99f2c333371baa$export$86560bc0b866a003, copyFile: $9b99f2c333371baa$export$c763efb2c06e223f, lchmod: $9b99f2c333371baa$export$4d4374c7ea08c49f, lchown: $9b99f2c333371baa$export$b34a65c440b523a2, link: $9b99f2c333371baa$export$9c30223ca0a664fb, lstat: $9b99f2c333371baa$export$c29f07eab13966a4, mkdir: $9b99f2c333371baa$export$d9fa9670717a639d, mkdtemp: $9b99f2c333371baa$export$bb440dc863a3b46a, open: $9b99f2c333371baa$export$3ce6949f20cea765, readdir: $9b99f2c333371baa$export$b1e07c405f785337, readFile: $9b99f2c333371baa$export$72c04af63de9061a, readlink: $9b99f2c333371baa$export$3d3ca76659ee9f39, realpath: $9b99f2c333371baa$export$9f2c45015a422c45, rename: $9b99f2c333371baa$export$7ac989ec0c9c279, rmdir: $9b99f2c333371baa$export$3f660f6332b9a01d, stat: $9b99f2c333371baa$export$f82f04a91eb6144a, symlink: $9b99f2c333371baa$export$ed42c6f39f07f97, truncate: $9b99f2c333371baa$export$6a506b36fdea397d, unlink: $9b99f2c333371baa$export$5e0808041271ce04, utimes: $9b99f2c333371baa$export$d85d919a687a608f, writeFile: $9b99f2c333371baa$export$552bfb764b5cd2b4 } = (0, $4umf8$fs.promises);\n\n\nconst $8af98396df2af8bc$export$35888d6059c232d4 = async (path, options = {})=>{\n const { ignoreErrors: ignoreErrors = false } = options;\n try {\n return $8af98396df2af8bc$var$checkStat(await (0, $9b99f2c333371baa$export$f82f04a91eb6144a)(path), options);\n } catch (e) {\n const er = e;\n if (ignoreErrors || er.code === \"EACCES\") return false;\n throw er;\n }\n};\nconst $8af98396df2af8bc$export$92d6409d68f0739a = (path, options = {})=>{\n const { ignoreErrors: ignoreErrors = false } = options;\n try {\n return $8af98396df2af8bc$var$checkStat((0, $4umf8$fs.statSync)(path), options);\n } catch (e) {\n const er = e;\n if (ignoreErrors || er.code === \"EACCES\") return false;\n throw er;\n }\n};\nconst $8af98396df2af8bc$var$checkStat = (stat, options)=>stat.isFile() && $8af98396df2af8bc$var$checkMode(stat, options);\nconst $8af98396df2af8bc$var$checkMode = (stat, options)=>{\n var _process_getuid, _process, _process_getgroups, _process1, _process_getgid, _process2;\n var _options_uid;\n const myUid = (_options_uid = options.uid) !== null && _options_uid !== void 0 ? _options_uid : (_process_getuid = (_process = process).getuid) === null || _process_getuid === void 0 ? void 0 : _process_getuid.call(_process);\n var _options_groups, _ref;\n const myGroups = (_ref = (_options_groups = options.groups) !== null && _options_groups !== void 0 ? _options_groups : (_process_getgroups = (_process1 = process).getgroups) === null || _process_getgroups === void 0 ? void 0 : _process_getgroups.call(_process1)) !== null && _ref !== void 0 ? _ref : [];\n var _options_gid, _ref1;\n const myGid = (_ref1 = (_options_gid = options.gid) !== null && _options_gid !== void 0 ? _options_gid : (_process_getgid = (_process2 = process).getgid) === null || _process_getgid === void 0 ? void 0 : _process_getgid.call(_process2)) !== null && _ref1 !== void 0 ? _ref1 : myGroups[0];\n if (myUid === undefined || myGid === undefined) throw new Error(\"cannot get uid or gid\");\n const groups = new Set([\n myGid,\n ...myGroups\n ]);\n const mod = stat.mode;\n const uid = stat.uid;\n const gid = stat.gid;\n const u = parseInt(\"100\", 8);\n const g = parseInt(\"010\", 8);\n const o = parseInt(\"001\", 8);\n const ug = u | g;\n return !!(mod & o || mod & g && groups.has(gid) || mod & u && uid === myUid || mod & ug && myUid === 0);\n};\n\n\nvar $846949ba2799f237$exports = {};\n\n$parcel$export($846949ba2799f237$exports, \"isexe\", () => $846949ba2799f237$export$35888d6059c232d4);\n$parcel$export($846949ba2799f237$exports, \"sync\", () => $846949ba2799f237$export$92d6409d68f0739a);\n/**\n * This is the Windows implementation of isexe, which uses the file\n * extension and PATHEXT setting.\n *\n * @module\n */ \n\nconst $846949ba2799f237$export$35888d6059c232d4 = async (path, options = {})=>{\n const { ignoreErrors: ignoreErrors = false } = options;\n try {\n return $846949ba2799f237$var$checkStat(await (0, $9b99f2c333371baa$export$f82f04a91eb6144a)(path), path, options);\n } catch (e) {\n const er = e;\n if (ignoreErrors || er.code === \"EACCES\") return false;\n throw er;\n }\n};\nconst $846949ba2799f237$export$92d6409d68f0739a = (path, options = {})=>{\n const { ignoreErrors: ignoreErrors = false } = options;\n try {\n return $846949ba2799f237$var$checkStat((0, $4umf8$fs.statSync)(path), path, options);\n } catch (e) {\n const er = e;\n if (ignoreErrors || er.code === \"EACCES\") return false;\n throw er;\n }\n};\nconst $846949ba2799f237$var$checkPathExt = (path, options)=>{\n const { pathExt: pathExt = process.env.PATHEXT || \"\" } = options;\n const peSplit = pathExt.split(\";\");\n if (peSplit.indexOf(\"\") !== -1) return true;\n for(let i = 0; i < peSplit.length; i++){\n const p = peSplit[i].toLowerCase();\n const ext = path.substring(path.length - p.length).toLowerCase();\n if (p && ext === p) return true;\n }\n return false;\n};\nconst $846949ba2799f237$var$checkStat = (stat, path, options)=>stat.isFile() && $846949ba2799f237$var$checkPathExt(path, options);\n\n\n\n\nconst $946052d434158cfa$var$platform = process.env._ISEXE_TEST_PLATFORM_ || process.platform;\nconst $946052d434158cfa$var$impl = $946052d434158cfa$var$platform === \"win32\" ? $846949ba2799f237$exports : $8af98396df2af8bc$exports;\nconst $946052d434158cfa$export$35888d6059c232d4 = $946052d434158cfa$var$impl.isexe;\nconst $946052d434158cfa$export$92d6409d68f0739a = $946052d434158cfa$var$impl.sync;\n\n\nvar $71cfef4812d1fa23$require$isexe = $946052d434158cfa$export$35888d6059c232d4;\nvar $71cfef4812d1fa23$require$isexeSync = $946052d434158cfa$export$92d6409d68f0739a;\n\nvar $71cfef4812d1fa23$require$join = $4umf8$path.join;\nvar $71cfef4812d1fa23$require$delimiter = $4umf8$path.delimiter;\nvar $71cfef4812d1fa23$require$sep = $4umf8$path.sep;\nvar $71cfef4812d1fa23$require$posix = $4umf8$path.posix;\nconst $71cfef4812d1fa23$var$isWindows = process.platform === \"win32\";\n// used to check for slashed in commands passed in. always checks for the posix\n// seperator on all platforms, and checks for the current separator when not on\n// a posix platform. don't use the isWindows check for this since that is mocked\n// in tests but we still need the code to actually work when called. that is also\n// why it is ignored from coverage.\n/* istanbul ignore next */ const $71cfef4812d1fa23$var$rSlash = new RegExp(`[${$71cfef4812d1fa23$require$posix.sep}${$71cfef4812d1fa23$require$sep === $71cfef4812d1fa23$require$posix.sep ? \"\" : $71cfef4812d1fa23$require$sep}]`.replace(/(\\\\)/g, \"\\\\$1\"));\nconst $71cfef4812d1fa23$var$rRel = new RegExp(`^\\\\.${$71cfef4812d1fa23$var$rSlash.source}`);\nconst $71cfef4812d1fa23$var$getNotFoundError = (cmd)=>Object.assign(new Error(`not found: ${cmd}`), {\n code: \"ENOENT\"\n });\nconst $71cfef4812d1fa23$var$getPathInfo = (cmd, { path: optPath = process.env.PATH, pathExt: optPathExt = process.env.PATHEXT, delimiter: optDelimiter = $71cfef4812d1fa23$require$delimiter })=>{\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($71cfef4812d1fa23$var$rSlash) ? [\n \"\"\n ] : [\n // windows always checks the cwd first\n ...$71cfef4812d1fa23$var$isWindows ? [\n process.cwd()\n ] : [],\n ...(optPath || /* istanbul ignore next: very unusual */ \"\").split(optDelimiter)\n ];\n if ($71cfef4812d1fa23$var$isWindows) {\n const pathExtExe = optPathExt || [\n \".EXE\",\n \".CMD\",\n \".BAT\",\n \".COM\"\n ].join(optDelimiter);\n const pathExt = pathExtExe.split(optDelimiter).flatMap((item)=>[\n item,\n item.toLowerCase()\n ]);\n if (cmd.includes(\".\") && pathExt[0] !== \"\") pathExt.unshift(\"\");\n return {\n pathEnv: pathEnv,\n pathExt: pathExt,\n pathExtExe: pathExtExe\n };\n }\n return {\n pathEnv: pathEnv,\n pathExt: [\n \"\"\n ]\n };\n};\nconst $71cfef4812d1fa23$var$getPathPart = (raw, cmd)=>{\n const pathPart = /^\".*\"$/.test(raw) ? raw.slice(1, -1) : raw;\n const prefix = !pathPart && $71cfef4812d1fa23$var$rRel.test(cmd) ? cmd.slice(0, 2) : \"\";\n return prefix + $71cfef4812d1fa23$require$join(pathPart, cmd);\n};\nconst $71cfef4812d1fa23$var$which = async (cmd, opt = {})=>{\n const { pathEnv: pathEnv, pathExt: pathExt, pathExtExe: pathExtExe } = $71cfef4812d1fa23$var$getPathInfo(cmd, opt);\n const found = [];\n for (const envPart of pathEnv){\n const p = $71cfef4812d1fa23$var$getPathPart(envPart, cmd);\n for (const ext of pathExt){\n const withExt = p + ext;\n const is = await $71cfef4812d1fa23$require$isexe(withExt, {\n pathExt: pathExtExe,\n ignoreErrors: true\n });\n if (is) {\n if (!opt.all) return withExt;\n found.push(withExt);\n }\n }\n }\n if (opt.all && found.length) return found;\n if (opt.nothrow) return null;\n throw $71cfef4812d1fa23$var$getNotFoundError(cmd);\n};\nconst $71cfef4812d1fa23$var$whichSync = (cmd, opt = {})=>{\n const { pathEnv: pathEnv, pathExt: pathExt, pathExtExe: pathExtExe } = $71cfef4812d1fa23$var$getPathInfo(cmd, opt);\n const found = [];\n for (const pathEnvPart of pathEnv){\n const p = $71cfef4812d1fa23$var$getPathPart(pathEnvPart, cmd);\n for (const ext of pathExt){\n const withExt = p + ext;\n const is = $71cfef4812d1fa23$require$isexeSync(withExt, {\n pathExt: pathExtExe,\n ignoreErrors: true\n });\n if (is) {\n if (!opt.all) return withExt;\n found.push(withExt);\n }\n }\n }\n if (opt.all && found.length) return found;\n if (opt.nothrow) return null;\n throw $71cfef4812d1fa23$var$getNotFoundError(cmd);\n};\n$71cfef4812d1fa23$exports = $71cfef4812d1fa23$var$which;\n$71cfef4812d1fa23$var$which.sync = $71cfef4812d1fa23$var$whichSync;\n\n\n\n\n\n\nvar $f22b5c1f790abcb5$exports = {};\n\"use strict\";\n\nvar $8c1978633592301d$exports = {};\n\"use strict\";\n\nvar $b2fe26769d516fdd$exports = {};\n\"use strict\";\n\nvar $677fb043cca6421d$exports = {};\nconst $677fb043cca6421d$var$isWindows = process.platform === \"win32\" || process.env.OSTYPE === \"cygwin\" || process.env.OSTYPE === \"msys\";\n\nconst $677fb043cca6421d$var$COLON = $677fb043cca6421d$var$isWindows ? \";\" : \":\";\nvar $e24c7282838da7f2$exports = {};\n\nvar $e24c7282838da7f2$var$core;\n\n\nif (process.platform === \"win32\" || $parcel$global.TESTING_WINDOWS) $e24c7282838da7f2$var$core = (parcelRequire(\"8nJMC\"));\nelse $e24c7282838da7f2$var$core = (parcelRequire(\"lo7XV\"));\n$e24c7282838da7f2$exports = $e24c7282838da7f2$var$isexe;\n$e24c7282838da7f2$var$isexe.sync = $e24c7282838da7f2$var$sync;\nfunction $e24c7282838da7f2$var$isexe(path, options, cb) {\n if (typeof options === \"function\") {\n cb = options;\n options = {};\n }\n if (!cb) {\n if (typeof Promise !== \"function\") throw new TypeError(\"callback not provided\");\n return new Promise(function(resolve, reject) {\n $e24c7282838da7f2$var$isexe(path, options || {}, function(er, is) {\n if (er) reject(er);\n else resolve(is);\n });\n });\n }\n $e24c7282838da7f2$var$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}\nfunction $e24c7282838da7f2$var$sync(path, options) {\n // my kingdom for a filtered catch\n try {\n return $e24c7282838da7f2$var$core.sync(path, options || {});\n } catch (er) {\n if (options && options.ignoreErrors || er.code === \"EACCES\") return false;\n else throw er;\n }\n}\n\n\nconst $677fb043cca6421d$var$getNotFoundError = (cmd)=>Object.assign(new Error(`not found: ${cmd}`), {\n code: \"ENOENT\"\n });\nconst $677fb043cca6421d$var$getPathInfo = (cmd, opt)=>{\n const colon = opt.colon || $677fb043cca6421d$var$COLON;\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(/\\//) || $677fb043cca6421d$var$isWindows && cmd.match(/\\\\/) ? [\n \"\"\n ] : [\n // windows always checks the cwd first\n ...$677fb043cca6421d$var$isWindows ? [\n process.cwd()\n ] : [],\n ...(opt.path || process.env.PATH || /* istanbul ignore next: very unusual */ \"\").split(colon)\n ];\n const pathExtExe = $677fb043cca6421d$var$isWindows ? opt.pathExt || process.env.PATHEXT || \".EXE;.CMD;.BAT;.COM\" : \"\";\n const pathExt = $677fb043cca6421d$var$isWindows ? pathExtExe.split(colon) : [\n \"\"\n ];\n if ($677fb043cca6421d$var$isWindows) {\n if (cmd.indexOf(\".\") !== -1 && pathExt[0] !== \"\") pathExt.unshift(\"\");\n }\n return {\n pathEnv: pathEnv,\n pathExt: pathExt,\n pathExtExe: pathExtExe\n };\n};\nconst $677fb043cca6421d$var$which = (cmd, opt, cb)=>{\n if (typeof opt === \"function\") {\n cb = opt;\n opt = {};\n }\n if (!opt) opt = {};\n const { pathEnv: pathEnv, pathExt: pathExt, pathExtExe: pathExtExe } = $677fb043cca6421d$var$getPathInfo(cmd, opt);\n const found = [];\n const step = (i)=>new Promise((resolve, reject)=>{\n if (i === pathEnv.length) return opt.all && found.length ? resolve(found) : reject($677fb043cca6421d$var$getNotFoundError(cmd));\n const ppRaw = pathEnv[i];\n const pathPart = /^\".*\"$/.test(ppRaw) ? ppRaw.slice(1, -1) : ppRaw;\n const pCmd = $4umf8$path.join(pathPart, cmd);\n const p = !pathPart && /^\\.[\\\\\\/]/.test(cmd) ? cmd.slice(0, 2) + pCmd : pCmd;\n resolve(subStep(p, i, 0));\n });\n const subStep = (p, i, ii)=>new Promise((resolve, reject)=>{\n if (ii === pathExt.length) return resolve(step(i + 1));\n const ext = pathExt[ii];\n $e24c7282838da7f2$exports(p + ext, {\n pathExt: pathExtExe\n }, (er, is)=>{\n if (!er && is) {\n if (opt.all) found.push(p + ext);\n else return resolve(p + ext);\n }\n return resolve(subStep(p, i, ii + 1));\n });\n });\n return cb ? step(0).then((res)=>cb(null, res), cb) : step(0);\n};\nconst $677fb043cca6421d$var$whichSync = (cmd, opt)=>{\n opt = opt || {};\n const { pathEnv: pathEnv, pathExt: pathExt, pathExtExe: pathExtExe } = $677fb043cca6421d$var$getPathInfo(cmd, opt);\n const found = [];\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 const pCmd = $4umf8$path.join(pathPart, cmd);\n const p = !pathPart && /^\\.[\\\\\\/]/.test(cmd) ? cmd.slice(0, 2) + pCmd : pCmd;\n for(let j = 0; j < pathExt.length; j++){\n const cur = p + pathExt[j];\n try {\n const is = $e24c7282838da7f2$exports.sync(cur, {\n pathExt: pathExtExe\n });\n if (is) {\n if (opt.all) found.push(cur);\n else return cur;\n }\n } catch (ex) {}\n }\n }\n if (opt.all && found.length) return found;\n if (opt.nothrow) return null;\n throw $677fb043cca6421d$var$getNotFoundError(cmd);\n};\n$677fb043cca6421d$exports = $677fb043cca6421d$var$which;\n$677fb043cca6421d$var$which.sync = $677fb043cca6421d$var$whichSync;\n\n\nvar $f1390e37bcd58ff2$exports = {};\n\"use strict\";\nconst $f1390e37bcd58ff2$var$pathKey = (options = {})=>{\n const environment = options.env || process.env;\n const platform = options.platform || process.platform;\n if (platform !== \"win32\") return \"PATH\";\n return Object.keys(environment).reverse().find((key)=>key.toUpperCase() === \"PATH\") || \"Path\";\n};\n$f1390e37bcd58ff2$exports = $f1390e37bcd58ff2$var$pathKey;\n// TODO: Remove this for the next major release\n$f1390e37bcd58ff2$exports.default = $f1390e37bcd58ff2$var$pathKey;\n\n\nfunction $b2fe26769d516fdd$var$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 // 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) try {\n process.chdir(parsed.options.cwd);\n } catch (err) {\n /* Empty */ }\n let resolved;\n try {\n resolved = $677fb043cca6421d$exports.sync(parsed.command, {\n path: env[$f1390e37bcd58ff2$exports({\n env: env\n })],\n pathExt: withoutPathExt ? $4umf8$path.delimiter : undefined\n });\n } catch (e) {\n /* Empty */ } finally{\n if (shouldSwitchCwd) process.chdir(cwd);\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) resolved = $4umf8$path.resolve(hasCustomCwd ? parsed.options.cwd : \"\", resolved);\n return resolved;\n}\nfunction $b2fe26769d516fdd$var$resolveCommand(parsed) {\n return $b2fe26769d516fdd$var$resolveCommandAttempt(parsed) || $b2fe26769d516fdd$var$resolveCommandAttempt(parsed, true);\n}\n$b2fe26769d516fdd$exports = $b2fe26769d516fdd$var$resolveCommand;\n\n\nvar $93aa50921a1257d7$export$ae50443ffc990749;\nvar $93aa50921a1257d7$export$6ea29ee575e3f5ff;\n\"use strict\";\n// See http://www.robvanderwoude.com/escapechars.php\nconst $93aa50921a1257d7$var$metaCharsRegExp = /([()\\][%!^\"`<>&|;, *?])/g;\nfunction $93aa50921a1257d7$var$escapeCommand(arg) {\n // Escape meta chars\n arg = arg.replace($93aa50921a1257d7$var$metaCharsRegExp, \"^$1\");\n return arg;\n}\nfunction $93aa50921a1257d7$var$escapeArgument(arg, doubleEscapeMetaChars) {\n // Convert to string\n arg = `${arg}`;\n // Algorithm below is based on https://qntm.org/cmd\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 // 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 // All other backslashes occur literally\n // Quote the whole thing:\n arg = `\"${arg}\"`;\n // Escape meta chars\n arg = arg.replace($93aa50921a1257d7$var$metaCharsRegExp, \"^$1\");\n // Double escape meta chars if necessary\n if (doubleEscapeMetaChars) arg = arg.replace($93aa50921a1257d7$var$metaCharsRegExp, \"^$1\");\n return arg;\n}\n$93aa50921a1257d7$export$ae50443ffc990749 = $93aa50921a1257d7$var$escapeCommand;\n$93aa50921a1257d7$export$6ea29ee575e3f5ff = $93aa50921a1257d7$var$escapeArgument;\n\n\nvar $3056528198dd0fdd$exports = {};\n\"use strict\";\n\nvar $2bb2d8045bb7ac8d$exports = {};\n\"use strict\";\nvar $5fd1064c977602bc$exports = {};\n\"use strict\";\n$5fd1064c977602bc$exports = /^#!(.*)/;\n\n\n$2bb2d8045bb7ac8d$exports = (string = \"\")=>{\n const match = string.match($5fd1064c977602bc$exports);\n if (!match) return null;\n const [path, argument] = match[0].replace(/#! ?/, \"\").split(\" \");\n const binary = path.split(\"/\").pop();\n if (binary === \"env\") return argument;\n return argument ? `${binary} ${argument}` : binary;\n};\n\n\nfunction $3056528198dd0fdd$var$readShebang(command) {\n // Read the first 150 bytes from the file\n const size = 150;\n const buffer = Buffer.alloc(size);\n let fd;\n try {\n fd = $4umf8$fs.openSync(command, \"r\");\n $4umf8$fs.readSync(fd, buffer, 0, size, 0);\n $4umf8$fs.closeSync(fd);\n } catch (e) {}\n // Attempt to extract shebang (null is returned if not a shebang)\n return $2bb2d8045bb7ac8d$exports(buffer.toString());\n}\n$3056528198dd0fdd$exports = $3056528198dd0fdd$var$readShebang;\n\n\nconst $8c1978633592301d$var$isWin = process.platform === \"win32\";\nconst $8c1978633592301d$var$isExecutableRegExp = /\\.(?:com|exe)$/i;\nconst $8c1978633592301d$var$isCmdShimRegExp = /node_modules[\\\\/].bin[\\\\/][^\\\\/]+\\.cmd$/i;\nfunction $8c1978633592301d$var$detectShebang(parsed) {\n parsed.file = $b2fe26769d516fdd$exports(parsed);\n const shebang = parsed.file && $3056528198dd0fdd$exports(parsed.file);\n if (shebang) {\n parsed.args.unshift(parsed.file);\n parsed.command = shebang;\n return $b2fe26769d516fdd$exports(parsed);\n }\n return parsed.file;\n}\nfunction $8c1978633592301d$var$parseNonShell(parsed) {\n if (!$8c1978633592301d$var$isWin) return parsed;\n // Detect & add support for shebangs\n const commandFile = $8c1978633592301d$var$detectShebang(parsed);\n // We don't need a shell if the command filename is an executable\n const needsShell = !$8c1978633592301d$var$isExecutableRegExp.test(commandFile);\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 = $8c1978633592301d$var$isCmdShimRegExp.test(commandFile);\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 = $4umf8$path.normalize(parsed.command);\n // Escape command & arguments\n parsed.command = $93aa50921a1257d7$export$ae50443ffc990749(parsed.command);\n parsed.args = parsed.args.map((arg)=>$93aa50921a1257d7$export$6ea29ee575e3f5ff(arg, needsDoubleEscapeMetaChars));\n const shellCommand = [\n parsed.command\n ].concat(parsed.args).join(\" \");\n parsed.args = [\n \"/d\",\n \"/s\",\n \"/c\",\n `\"${shellCommand}\"`\n ];\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 return parsed;\n}\nfunction $8c1978633592301d$var$parse(command, args, options) {\n // Normalize arguments, similar to nodejs\n if (args && !Array.isArray(args)) {\n options = args;\n args = null;\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 // Build our parsed object\n const parsed = {\n command: command,\n args: args,\n options: options,\n file: undefined,\n original: {\n command: command,\n args: args\n }\n };\n // Delegate further parsing to shell or non-shell\n return options.shell ? parsed : $8c1978633592301d$var$parseNonShell(parsed);\n}\n$8c1978633592301d$exports = $8c1978633592301d$var$parse;\n\n\nvar $f5cfbc89fd9aa1f8$exports = {};\n\"use strict\";\nconst $f5cfbc89fd9aa1f8$var$isWin = process.platform === \"win32\";\nfunction $f5cfbc89fd9aa1f8$var$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}\nfunction $f5cfbc89fd9aa1f8$var$hookChildProcess(cp, parsed) {\n if (!$f5cfbc89fd9aa1f8$var$isWin) return;\n const originalEmit = cp.emit;\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 = $f5cfbc89fd9aa1f8$var$verifyENOENT(arg1, parsed, \"spawn\");\n if (err) return originalEmit.call(cp, \"error\", err);\n }\n return originalEmit.apply(cp, arguments); // eslint-disable-line prefer-rest-params\n };\n}\nfunction $f5cfbc89fd9aa1f8$var$verifyENOENT(status, parsed) {\n if ($f5cfbc89fd9aa1f8$var$isWin && status === 1 && !parsed.file) return $f5cfbc89fd9aa1f8$var$notFoundError(parsed.original, \"spawn\");\n return null;\n}\nfunction $f5cfbc89fd9aa1f8$var$verifyENOENTSync(status, parsed) {\n if ($f5cfbc89fd9aa1f8$var$isWin && status === 1 && !parsed.file) return $f5cfbc89fd9aa1f8$var$notFoundError(parsed.original, \"spawnSync\");\n return null;\n}\n$f5cfbc89fd9aa1f8$exports = {\n hookChildProcess: $f5cfbc89fd9aa1f8$var$hookChildProcess,\n verifyENOENT: $f5cfbc89fd9aa1f8$var$verifyENOENT,\n verifyENOENTSync: $f5cfbc89fd9aa1f8$var$verifyENOENTSync,\n notFoundError: $f5cfbc89fd9aa1f8$var$notFoundError\n};\n\n\nfunction $f22b5c1f790abcb5$var$spawn(command, args, options) {\n // Parse the arguments\n const parsed = $8c1978633592301d$exports(command, args, options);\n // Spawn the child process\n const spawned = $4umf8$child_process.spawn(parsed.command, parsed.args, parsed.options);\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 $f5cfbc89fd9aa1f8$exports.hookChildProcess(spawned, parsed);\n return spawned;\n}\nfunction $f22b5c1f790abcb5$var$spawnSync(command, args, options) {\n // Parse the arguments\n const parsed = $8c1978633592301d$exports(command, args, options);\n // Spawn the child process\n const result = $4umf8$child_process.spawnSync(parsed.command, parsed.args, parsed.options);\n // Analyze if the command does not exist, see: https://github.com/IndigoUnited/node-cross-spawn/issues/16\n result.error = result.error || $f5cfbc89fd9aa1f8$exports.verifyENOENTSync(result.status, parsed);\n return result;\n}\n$f22b5c1f790abcb5$exports = $f22b5c1f790abcb5$var$spawn;\n$f22b5c1f790abcb5$exports.spawn = $f22b5c1f790abcb5$var$spawn;\n$f22b5c1f790abcb5$exports.sync = $f22b5c1f790abcb5$var$spawnSync;\n$f22b5c1f790abcb5$exports._parse = $8c1978633592301d$exports;\n$f22b5c1f790abcb5$exports._enoent = $f5cfbc89fd9aa1f8$exports;\n\n\nfunction $e53d23f0d89b737e$export$2e2bcd8739ae039(input) {\n const LF = typeof input === \"string\" ? \"\\n\" : \"\\n\".charCodeAt();\n const CR = typeof input === \"string\" ? \"\\r\" : \"\\r\".charCodeAt();\n if (input[input.length - 1] === LF) input = input.slice(0, -1);\n if (input[input.length - 1] === CR) input = input.slice(0, -1);\n return input;\n}\n\n\n\n\n\nfunction $30c4ee1231df0618$export$2e2bcd8739ae039(options = {}) {\n const { env: env = process.env, platform: platform = process.platform } = options;\n if (platform !== \"win32\") return \"PATH\";\n return Object.keys(env).reverse().find((key)=>key.toUpperCase() === \"PATH\") || \"Path\";\n}\n\n\nfunction $e525b4839dd67f68$export$62a298cbef08d65c(options = {}) {\n const { cwd: cwd = (0, ($parcel$interopDefault($4umf8$nodeprocess))).cwd(), path: path_ = (0, ($parcel$interopDefault($4umf8$nodeprocess))).env[(0, $30c4ee1231df0618$export$2e2bcd8739ae039)()], execPath: execPath = (0, ($parcel$interopDefault($4umf8$nodeprocess))).execPath } = options;\n let previous;\n const execPathString = execPath instanceof URL ? (0, ($parcel$interopDefault($4umf8$nodeurl))).fileURLToPath(execPath) : execPath;\n const cwdString = cwd instanceof URL ? (0, ($parcel$interopDefault($4umf8$nodeurl))).fileURLToPath(cwd) : cwd;\n let cwdPath = (0, ($parcel$interopDefault($4umf8$nodepath))).resolve(cwdString);\n const result = [];\n while(previous !== cwdPath){\n result.push((0, ($parcel$interopDefault($4umf8$nodepath))).join(cwdPath, \"node_modules/.bin\"));\n previous = cwdPath;\n cwdPath = (0, ($parcel$interopDefault($4umf8$nodepath))).resolve(cwdPath, \"..\");\n }\n // Ensure the running `node` binary is used.\n result.push((0, ($parcel$interopDefault($4umf8$nodepath))).resolve(cwdString, execPathString, \"..\"));\n return [\n ...result,\n path_\n ].join((0, ($parcel$interopDefault($4umf8$nodepath))).delimiter);\n}\nfunction $e525b4839dd67f68$export$340e1fbaac04248b({ env: env = (0, ($parcel$interopDefault($4umf8$nodeprocess))).env, ...options } = {}) {\n env = {\n ...env\n };\n const path = (0, $30c4ee1231df0618$export$2e2bcd8739ae039)({\n env: env\n });\n options.path = env[path];\n env[path] = $e525b4839dd67f68$export$62a298cbef08d65c(options);\n return env;\n}\n\n\nconst $864c61f3265971fc$var$copyProperty = (to, from, property, ignoreNonConfigurable)=>{\n // `Function#length` should reflect the parameters of `to` not `from` since we keep its body.\n // `Function#prototype` is non-writable and non-configurable so can never be modified.\n if (property === \"length\" || property === \"prototype\") return;\n // `Function#arguments` and `Function#caller` should not be copied. They were reported to be present in `Reflect.ownKeys` for some devices in React Native (#41), so we explicitly ignore them here.\n if (property === \"arguments\" || property === \"caller\") return;\n const toDescriptor = Object.getOwnPropertyDescriptor(to, property);\n const fromDescriptor = Object.getOwnPropertyDescriptor(from, property);\n if (!$864c61f3265971fc$var$canCopyProperty(toDescriptor, fromDescriptor) && ignoreNonConfigurable) return;\n Object.defineProperty(to, property, fromDescriptor);\n};\n// `Object.defineProperty()` throws if the property exists, is not configurable and either:\n// - one its descriptors is changed\n// - it is non-writable and its value is changed\nconst $864c61f3265971fc$var$canCopyProperty = function(toDescriptor, fromDescriptor) {\n return toDescriptor === undefined || toDescriptor.configurable || toDescriptor.writable === fromDescriptor.writable && toDescriptor.enumerable === fromDescriptor.enumerable && toDescriptor.configurable === fromDescriptor.configurable && (toDescriptor.writable || toDescriptor.value === fromDescriptor.value);\n};\nconst $864c61f3265971fc$var$changePrototype = (to, from)=>{\n const fromPrototype = Object.getPrototypeOf(from);\n if (fromPrototype === Object.getPrototypeOf(to)) return;\n Object.setPrototypeOf(to, fromPrototype);\n};\nconst $864c61f3265971fc$var$wrappedToString = (withName, fromBody)=>`/* Wrapped ${withName}*/\\n${fromBody}`;\nconst $864c61f3265971fc$var$toStringDescriptor = Object.getOwnPropertyDescriptor(Function.prototype, \"toString\");\nconst $864c61f3265971fc$var$toStringName = Object.getOwnPropertyDescriptor(Function.prototype.toString, \"name\");\n// We call `from.toString()` early (not lazily) to ensure `from` can be garbage collected.\n// We use `bind()` instead of a closure for the same reason.\n// Calling `from.toString()` early also allows caching it in case `to.toString()` is called several times.\nconst $864c61f3265971fc$var$changeToString = (to, from, name)=>{\n const withName = name === \"\" ? \"\" : `with ${name.trim()}() `;\n const newToString = $864c61f3265971fc$var$wrappedToString.bind(null, withName, from.toString());\n // Ensure `to.toString.toString` is non-enumerable and has the same `same`\n Object.defineProperty(newToString, \"name\", $864c61f3265971fc$var$toStringName);\n Object.defineProperty(to, \"toString\", {\n ...$864c61f3265971fc$var$toStringDescriptor,\n value: newToString\n });\n};\nfunction $864c61f3265971fc$export$2e2bcd8739ae039(to, from, { ignoreNonConfigurable: ignoreNonConfigurable = false } = {}) {\n const { name: name } = to;\n for (const property of Reflect.ownKeys(from))$864c61f3265971fc$var$copyProperty(to, from, property, ignoreNonConfigurable);\n $864c61f3265971fc$var$changePrototype(to, from);\n $864c61f3265971fc$var$changeToString(to, from, name);\n return to;\n}\n\n\nconst $b5bce385de6ade9f$var$calledFunctions = new WeakMap();\nconst $b5bce385de6ade9f$var$onetime = (function_, options = {})=>{\n if (typeof function_ !== \"function\") throw new TypeError(\"Expected a function\");\n let returnValue;\n let callCount = 0;\n const functionName = function_.displayName || function_.name || \"\";\n const onetime = function(...arguments_) {\n $b5bce385de6ade9f$var$calledFunctions.set(onetime, ++callCount);\n if (callCount === 1) {\n returnValue = function_.apply(this, arguments_);\n function_ = null;\n } else if (options.throw === true) throw new Error(`Function \\`${functionName}\\` can only be called once`);\n return returnValue;\n };\n (0, $864c61f3265971fc$export$2e2bcd8739ae039)(onetime, function_);\n $b5bce385de6ade9f$var$calledFunctions.set(onetime, callCount);\n return onetime;\n};\n$b5bce385de6ade9f$var$onetime.callCount = (function_)=>{\n if (!$b5bce385de6ade9f$var$calledFunctions.has(function_)) throw new Error(`The given function \\`${function_.name}\\` is not wrapped by the \\`onetime\\` package`);\n return $b5bce385de6ade9f$var$calledFunctions.get(function_);\n};\nvar $b5bce385de6ade9f$export$2e2bcd8739ae039 = $b5bce385de6ade9f$var$onetime;\n\n\n\n\nconst $be1c1e49c510b419$export$e221a98f4fd84d36 = ()=>{\n const length = $be1c1e49c510b419$export$dc8812f2f8882ff4 - $be1c1e49c510b419$var$SIGRTMIN + 1;\n return Array.from({\n length: length\n }, $be1c1e49c510b419$var$getRealtimeSignal);\n};\nconst $be1c1e49c510b419$var$getRealtimeSignal = (value, index)=>({\n name: `SIGRT${index + 1}`,\n number: $be1c1e49c510b419$var$SIGRTMIN + index,\n action: \"terminate\",\n description: \"Application-specific signal (realtime)\",\n standard: \"posix\"\n });\nconst $be1c1e49c510b419$var$SIGRTMIN = 34;\nconst $be1c1e49c510b419$export$dc8812f2f8882ff4 = 64;\n\n\n\nconst $849cd5404bf0c241$export$a43bf6822cc694af = [\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: \"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\n\n\nconst $ee1bf5b9ef1a9de6$export$c50078d4faa171f0 = ()=>{\n const realtimeSignals = (0, $be1c1e49c510b419$export$e221a98f4fd84d36)();\n const signals = [\n ...(0, $849cd5404bf0c241$export$a43bf6822cc694af),\n ...realtimeSignals\n ].map($ee1bf5b9ef1a9de6$var$normalizeSignal);\n return signals;\n};\nconst $ee1bf5b9ef1a9de6$var$normalizeSignal = ({ name: name, number: defaultNumber, description: description, action: action, forced: forced = false, standard: standard })=>{\n const { signals: { [name]: constantSignal } } = (0, $4umf8$nodeos.constants);\n const supported = constantSignal !== undefined;\n const number = supported ? constantSignal : defaultNumber;\n return {\n name: name,\n number: number,\n description: description,\n supported: supported,\n action: action,\n forced: forced,\n standard: standard\n };\n};\n\n\nconst $694b1b79847eac4d$var$getSignalsByName = ()=>{\n const signals = (0, $ee1bf5b9ef1a9de6$export$c50078d4faa171f0)();\n return Object.fromEntries(signals.map($694b1b79847eac4d$var$getSignalByName));\n};\nconst $694b1b79847eac4d$var$getSignalByName = ({ name: name, number: number, description: description, supported: supported, action: action, forced: forced, standard: standard })=>[\n name,\n {\n name: name,\n number: number,\n description: description,\n supported: supported,\n action: action,\n forced: forced,\n standard: standard\n }\n ];\nconst $694b1b79847eac4d$export$c3fcb39d6848c78d = $694b1b79847eac4d$var$getSignalsByName();\nconst $694b1b79847eac4d$var$getSignalsByNumber = ()=>{\n const signals = (0, $ee1bf5b9ef1a9de6$export$c50078d4faa171f0)();\n const length = (0, $be1c1e49c510b419$export$dc8812f2f8882ff4) + 1;\n const signalsA = Array.from({\n length: length\n }, (value, number)=>$694b1b79847eac4d$var$getSignalByNumber(number, signals));\n return Object.assign({}, ...signalsA);\n};\nconst $694b1b79847eac4d$var$getSignalByNumber = (number, signals)=>{\n const signal = $694b1b79847eac4d$var$findSignalByNumber(number, signals);\n if (signal === undefined) return {};\n const { name: name, description: description, supported: supported, action: action, forced: forced, standard: standard } = signal;\n return {\n [number]: {\n name: name,\n number: number,\n description: description,\n supported: supported,\n action: action,\n forced: forced,\n standard: standard\n }\n };\n};\nconst $694b1b79847eac4d$var$findSignalByNumber = (number, signals)=>{\n const signal = signals.find(({ name: name })=>(0, $4umf8$nodeos.constants).signals[name] === number);\n if (signal !== undefined) return signal;\n return signals.find((signalA)=>signalA.number === number);\n};\nconst $694b1b79847eac4d$export$12f57f97a08d2468 = $694b1b79847eac4d$var$getSignalsByNumber();\n\n\nconst $9224ad52d9f78dbc$var$getErrorPrefix = ({ timedOut: timedOut, timeout: timeout, errorCode: errorCode, signal: signal, signalDescription: signalDescription, exitCode: exitCode, isCanceled: isCanceled })=>{\n if (timedOut) return `timed out after ${timeout} milliseconds`;\n if (isCanceled) return \"was canceled\";\n if (errorCode !== undefined) return `failed with ${errorCode}`;\n if (signal !== undefined) return `was killed with ${signal} (${signalDescription})`;\n if (exitCode !== undefined) return `failed with exit code ${exitCode}`;\n return \"failed\";\n};\nconst $9224ad52d9f78dbc$export$5a4bb2b1c89bdce7 = ({ stdout: stdout, stderr: stderr, all: all, error: error, signal: signal, exitCode: exitCode, command: command, escapedCommand: escapedCommand, timedOut: timedOut, isCanceled: isCanceled, killed: killed, parsed: { options: { timeout: timeout, cwd: cwd = (0, ($parcel$interopDefault($4umf8$nodeprocess))).cwd() } } })=>{\n // `signal` and `exitCode` emitted on `spawned.on('exit')` event can be `null`.\n // We normalize them to `undefined`\n exitCode = exitCode === null ? undefined : exitCode;\n signal = signal === null ? undefined : signal;\n const signalDescription = signal === undefined ? undefined : (0, $694b1b79847eac4d$export$c3fcb39d6848c78d)[signal].description;\n const errorCode = error && error.code;\n const prefix = $9224ad52d9f78dbc$var$getErrorPrefix({\n timedOut: timedOut,\n timeout: timeout,\n errorCode: errorCode,\n signal: signal,\n signalDescription: signalDescription,\n exitCode: exitCode,\n isCanceled: isCanceled\n });\n const execaMessage = `Command ${prefix}: ${command}`;\n const isError = Object.prototype.toString.call(error) === \"[object Error]\";\n const shortMessage = isError ? `${execaMessage}\\n${error.message}` : execaMessage;\n const message = [\n shortMessage,\n stderr,\n stdout\n ].filter(Boolean).join(\"\\n\");\n if (isError) {\n error.originalMessage = error.message;\n error.message = message;\n } else error = new Error(message);\n error.shortMessage = shortMessage;\n error.command = command;\n error.escapedCommand = escapedCommand;\n error.exitCode = exitCode;\n error.signal = signal;\n error.signalDescription = signalDescription;\n error.stdout = stdout;\n error.stderr = stderr;\n error.cwd = cwd;\n if (all !== undefined) error.all = all;\n if (\"bufferedData\" in error) delete error.bufferedData;\n error.failed = true;\n error.timedOut = Boolean(timedOut);\n error.isCanceled = isCanceled;\n error.killed = killed && !timedOut;\n return error;\n};\n\n\nconst $fd3489326ee71e7b$var$aliases = [\n \"stdin\",\n \"stdout\",\n \"stderr\"\n];\nconst $fd3489326ee71e7b$var$hasAlias = (options)=>$fd3489326ee71e7b$var$aliases.some((alias)=>options[alias] !== undefined);\nconst $fd3489326ee71e7b$export$a581401a57fac02e = (options)=>{\n if (!options) return;\n const { stdio: stdio } = options;\n if (stdio === undefined) return $fd3489326ee71e7b$var$aliases.map((alias)=>options[alias]);\n if ($fd3489326ee71e7b$var$hasAlias(options)) throw new Error(`It's not possible to provide \\`stdio\\` in combination with one of ${$fd3489326ee71e7b$var$aliases.map((alias)=>`\\`${alias}\\``).join(\", \")}`);\n if (typeof stdio === \"string\") return stdio;\n if (!Array.isArray(stdio)) throw new TypeError(`Expected \\`stdio\\` to be of type \\`string\\` or \\`Array\\`, got \\`${typeof stdio}\\``);\n const length = Math.max(stdio.length, $fd3489326ee71e7b$var$aliases.length);\n return Array.from({\n length: length\n }, (value, index)=>stdio[index]);\n};\nconst $fd3489326ee71e7b$export$889423b478ae2ba = (options)=>{\n const stdio = $fd3489326ee71e7b$export$a581401a57fac02e(options);\n if (stdio === \"ipc\") return \"ipc\";\n if (stdio === undefined || typeof stdio === \"string\") return [\n stdio,\n stdio,\n stdio,\n \"ipc\"\n ];\n if (stdio.includes(\"ipc\")) return stdio;\n return [\n ...stdio,\n \"ipc\"\n ];\n};\n\n\n\nvar $fe4c43f2e8a7f558$exports = {};\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 $fe4c43f2e8a7f558$var$process = $parcel$global.process;\nconst $fe4c43f2e8a7f558$var$processOk = function(process) {\n return process && typeof process === \"object\" && typeof process.removeListener === \"function\" && typeof process.emit === \"function\" && typeof process.reallyExit === \"function\" && typeof process.listeners === \"function\" && typeof process.kill === \"function\" && typeof process.pid === \"number\" && typeof process.on === \"function\";\n};\n\n\n\n// some kind of non-node environment, just no-op\n/* istanbul ignore if */ if (!$fe4c43f2e8a7f558$var$processOk($fe4c43f2e8a7f558$var$process)) $fe4c43f2e8a7f558$exports = function() {\n return function() {};\n};\nelse {\n var $fe4c43f2e8a7f558$var$assert = $4umf8$assert;\n var $fe4c43f2e8a7f558$var$signals = (parcelRequire(\"dVIKq\"));\n var $fe4c43f2e8a7f558$var$isWin = /^win/i.test($fe4c43f2e8a7f558$var$process.platform);\n var $fe4c43f2e8a7f558$var$EE = $4umf8$events;\n /* istanbul ignore if */ if (typeof $fe4c43f2e8a7f558$var$EE !== \"function\") $fe4c43f2e8a7f558$var$EE = $fe4c43f2e8a7f558$var$EE.EventEmitter;\n var $fe4c43f2e8a7f558$var$emitter;\n if ($fe4c43f2e8a7f558$var$process.__signal_exit_emitter__) $fe4c43f2e8a7f558$var$emitter = $fe4c43f2e8a7f558$var$process.__signal_exit_emitter__;\n else {\n $fe4c43f2e8a7f558$var$emitter = $fe4c43f2e8a7f558$var$process.__signal_exit_emitter__ = new $fe4c43f2e8a7f558$var$EE();\n $fe4c43f2e8a7f558$var$emitter.count = 0;\n $fe4c43f2e8a7f558$var$emitter.emitted = {};\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 (!$fe4c43f2e8a7f558$var$emitter.infinite) {\n $fe4c43f2e8a7f558$var$emitter.setMaxListeners(Infinity);\n $fe4c43f2e8a7f558$var$emitter.infinite = true;\n }\n $fe4c43f2e8a7f558$exports = function(cb, opts) {\n /* istanbul ignore if */ if (!$fe4c43f2e8a7f558$var$processOk($parcel$global.process)) return function() {};\n $fe4c43f2e8a7f558$var$assert.equal(typeof cb, \"function\", \"a callback must be provided for exit handler\");\n if ($fe4c43f2e8a7f558$var$loaded === false) $fe4c43f2e8a7f558$var$load();\n var ev = \"exit\";\n if (opts && opts.alwaysLast) ev = \"afterexit\";\n var remove = function() {\n $fe4c43f2e8a7f558$var$emitter.removeListener(ev, cb);\n if ($fe4c43f2e8a7f558$var$emitter.listeners(\"exit\").length === 0 && $fe4c43f2e8a7f558$var$emitter.listeners(\"afterexit\").length === 0) $fe4c43f2e8a7f558$var$unload();\n };\n $fe4c43f2e8a7f558$var$emitter.on(ev, cb);\n return remove;\n };\n var $fe4c43f2e8a7f558$var$unload = function unload() {\n if (!$fe4c43f2e8a7f558$var$loaded || !$fe4c43f2e8a7f558$var$processOk($parcel$global.process)) return;\n $fe4c43f2e8a7f558$var$loaded = false;\n $fe4c43f2e8a7f558$var$signals.forEach(function(sig) {\n try {\n $fe4c43f2e8a7f558$var$process.removeListener(sig, $fe4c43f2e8a7f558$var$sigListeners[sig]);\n } catch (er) {}\n });\n $fe4c43f2e8a7f558$var$process.emit = $fe4c43f2e8a7f558$var$originalProcessEmit;\n $fe4c43f2e8a7f558$var$process.reallyExit = $fe4c43f2e8a7f558$var$originalProcessReallyExit;\n $fe4c43f2e8a7f558$var$emitter.count -= 1;\n };\n $fe4c43f2e8a7f558$exports.unload = $fe4c43f2e8a7f558$var$unload;\n var $fe4c43f2e8a7f558$var$emit = function emit(event, code, signal) {\n /* istanbul ignore if */ if ($fe4c43f2e8a7f558$var$emitter.emitted[event]) return;\n $fe4c43f2e8a7f558$var$emitter.emitted[event] = true;\n $fe4c43f2e8a7f558$var$emitter.emit(event, code, signal);\n };\n // { : , ... }\n var $fe4c43f2e8a7f558$var$sigListeners = {};\n $fe4c43f2e8a7f558$var$signals.forEach(function(sig) {\n $fe4c43f2e8a7f558$var$sigListeners[sig] = function listener() {\n /* istanbul ignore if */ if (!$fe4c43f2e8a7f558$var$processOk($parcel$global.process)) return;\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 = $fe4c43f2e8a7f558$var$process.listeners(sig);\n if (listeners.length === $fe4c43f2e8a7f558$var$emitter.count) {\n $fe4c43f2e8a7f558$var$unload();\n $fe4c43f2e8a7f558$var$emit(\"exit\", null, sig);\n /* istanbul ignore next */ $fe4c43f2e8a7f558$var$emit(\"afterexit\", null, sig);\n /* istanbul ignore next */ if ($fe4c43f2e8a7f558$var$isWin && sig === \"SIGHUP\") // \"SIGHUP\" throws an `ENOSYS` error on Windows,\n // so use a supported signal instead\n sig = \"SIGINT\";\n /* istanbul ignore next */ $fe4c43f2e8a7f558$var$process.kill($fe4c43f2e8a7f558$var$process.pid, sig);\n }\n };\n });\n $fe4c43f2e8a7f558$exports.signals = function() {\n return $fe4c43f2e8a7f558$var$signals;\n };\n var $fe4c43f2e8a7f558$var$loaded = false;\n var $fe4c43f2e8a7f558$var$load = function load() {\n if ($fe4c43f2e8a7f558$var$loaded || !$fe4c43f2e8a7f558$var$processOk($parcel$global.process)) return;\n $fe4c43f2e8a7f558$var$loaded = true;\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 $fe4c43f2e8a7f558$var$emitter.count += 1;\n $fe4c43f2e8a7f558$var$signals = $fe4c43f2e8a7f558$var$signals.filter(function(sig) {\n try {\n $fe4c43f2e8a7f558$var$process.on(sig, $fe4c43f2e8a7f558$var$sigListeners[sig]);\n return true;\n } catch (er) {\n return false;\n }\n });\n $fe4c43f2e8a7f558$var$process.emit = $fe4c43f2e8a7f558$var$processEmit;\n $fe4c43f2e8a7f558$var$process.reallyExit = $fe4c43f2e8a7f558$var$processReallyExit;\n };\n $fe4c43f2e8a7f558$exports.load = $fe4c43f2e8a7f558$var$load;\n var $fe4c43f2e8a7f558$var$originalProcessReallyExit = $fe4c43f2e8a7f558$var$process.reallyExit;\n var $fe4c43f2e8a7f558$var$processReallyExit = function processReallyExit(code) {\n /* istanbul ignore if */ if (!$fe4c43f2e8a7f558$var$processOk($parcel$global.process)) return;\n $fe4c43f2e8a7f558$var$process.exitCode = code || /* istanbul ignore next */ 0;\n $fe4c43f2e8a7f558$var$emit(\"exit\", $fe4c43f2e8a7f558$var$process.exitCode, null);\n /* istanbul ignore next */ $fe4c43f2e8a7f558$var$emit(\"afterexit\", $fe4c43f2e8a7f558$var$process.exitCode, null);\n /* istanbul ignore next */ $fe4c43f2e8a7f558$var$originalProcessReallyExit.call($fe4c43f2e8a7f558$var$process, $fe4c43f2e8a7f558$var$process.exitCode);\n };\n var $fe4c43f2e8a7f558$var$originalProcessEmit = $fe4c43f2e8a7f558$var$process.emit;\n var $fe4c43f2e8a7f558$var$processEmit = function processEmit(ev, arg) {\n if (ev === \"exit\" && $fe4c43f2e8a7f558$var$processOk($parcel$global.process)) {\n /* istanbul ignore else */ if (arg !== undefined) $fe4c43f2e8a7f558$var$process.exitCode = arg;\n var ret = $fe4c43f2e8a7f558$var$originalProcessEmit.apply(this, arguments);\n /* istanbul ignore next */ $fe4c43f2e8a7f558$var$emit(\"exit\", $fe4c43f2e8a7f558$var$process.exitCode, null);\n /* istanbul ignore next */ $fe4c43f2e8a7f558$var$emit(\"afterexit\", $fe4c43f2e8a7f558$var$process.exitCode, null);\n /* istanbul ignore next */ return ret;\n } else return $fe4c43f2e8a7f558$var$originalProcessEmit.apply(this, arguments);\n };\n}\n\n\nconst $8bad387d33525ec8$var$DEFAULT_FORCE_KILL_TIMEOUT = 5000;\nconst $8bad387d33525ec8$export$971fa1b57c7f00b = (kill, signal = \"SIGTERM\", options = {})=>{\n const killResult = kill(signal);\n $8bad387d33525ec8$var$setKillTimeout(kill, signal, options, killResult);\n return killResult;\n};\nconst $8bad387d33525ec8$var$setKillTimeout = (kill, signal, options, killResult)=>{\n if (!$8bad387d33525ec8$var$shouldForceKill(signal, options, killResult)) return;\n const timeout = $8bad387d33525ec8$var$getForceKillAfterTimeout(options);\n const t = setTimeout(()=>{\n kill(\"SIGKILL\");\n }, timeout);\n // Guarded because there's no `.unref()` when `execa` is used in the renderer\n // process in Electron. This cannot be tested since we don't run tests in\n // Electron.\n // istanbul ignore else\n if (t.unref) t.unref();\n};\nconst $8bad387d33525ec8$var$shouldForceKill = (signal, { forceKillAfterTimeout: forceKillAfterTimeout }, killResult)=>$8bad387d33525ec8$var$isSigterm(signal) && forceKillAfterTimeout !== false && killResult;\nconst $8bad387d33525ec8$var$isSigterm = (signal)=>signal === (0, ($parcel$interopDefault($4umf8$nodeos))).constants.signals.SIGTERM || typeof signal === \"string\" && signal.toUpperCase() === \"SIGTERM\";\nconst $8bad387d33525ec8$var$getForceKillAfterTimeout = ({ forceKillAfterTimeout: forceKillAfterTimeout = true })=>{\n if (forceKillAfterTimeout === true) return $8bad387d33525ec8$var$DEFAULT_FORCE_KILL_TIMEOUT;\n if (!Number.isFinite(forceKillAfterTimeout) || forceKillAfterTimeout < 0) throw new TypeError(`Expected the \\`forceKillAfterTimeout\\` option to be a non-negative integer, got \\`${forceKillAfterTimeout}\\` (${typeof forceKillAfterTimeout})`);\n return forceKillAfterTimeout;\n};\nconst $8bad387d33525ec8$export$667e13cd9b70ca17 = (spawned, context)=>{\n const killResult = spawned.kill();\n if (killResult) context.isCanceled = true;\n};\nconst $8bad387d33525ec8$var$timeoutKill = (spawned, signal, reject)=>{\n spawned.kill(signal);\n reject(Object.assign(new Error(\"Timed out\"), {\n timedOut: true,\n signal: signal\n }));\n};\nconst $8bad387d33525ec8$export$6bcc98999eb82896 = (spawned, { timeout: timeout, killSignal: killSignal = \"SIGTERM\" }, spawnedPromise)=>{\n if (timeout === 0 || timeout === undefined) return spawnedPromise;\n let timeoutId;\n const timeoutPromise = new Promise((resolve, reject)=>{\n timeoutId = setTimeout(()=>{\n $8bad387d33525ec8$var$timeoutKill(spawned, killSignal, reject);\n }, timeout);\n });\n const safeSpawnedPromise = spawnedPromise.finally(()=>{\n clearTimeout(timeoutId);\n });\n return Promise.race([\n timeoutPromise,\n safeSpawnedPromise\n ]);\n};\nconst $8bad387d33525ec8$export$3186f8866f616f9f = ({ timeout: timeout })=>{\n if (timeout !== undefined && (!Number.isFinite(timeout) || timeout < 0)) throw new TypeError(`Expected the \\`timeout\\` option to be a non-negative integer, got \\`${timeout}\\` (${typeof timeout})`);\n};\nconst $8bad387d33525ec8$export$79fc3056c9ca4ada = async (spawned, { cleanup: cleanup, detached: detached }, timedPromise)=>{\n if (!cleanup || detached) return timedPromise;\n const removeExitHandler = (0, (/*@__PURE__*/$parcel$interopDefault($fe4c43f2e8a7f558$exports)))(()=>{\n spawned.kill();\n });\n return timedPromise.finally(()=>{\n removeExitHandler();\n });\n};\n\n\n\n\nfunction $dc0eb0b18e5448c3$export$294a92d8f7b3979(stream) {\n return stream !== null && typeof stream === \"object\" && typeof stream.pipe === \"function\";\n}\nfunction $dc0eb0b18e5448c3$export$b58a61c52edb4f66(stream) {\n return $dc0eb0b18e5448c3$export$294a92d8f7b3979(stream) && stream.writable !== false && typeof stream._write === \"function\" && typeof stream._writableState === \"object\";\n}\nfunction $dc0eb0b18e5448c3$export$ac613ff475b69d05(stream) {\n return $dc0eb0b18e5448c3$export$294a92d8f7b3979(stream) && stream.readable !== false && typeof stream._read === \"function\" && typeof stream._readableState === \"object\";\n}\nfunction $dc0eb0b18e5448c3$export$f92d8ccfaec172d4(stream) {\n return $dc0eb0b18e5448c3$export$b58a61c52edb4f66(stream) && $dc0eb0b18e5448c3$export$ac613ff475b69d05(stream);\n}\nfunction $dc0eb0b18e5448c3$export$3053cdc6f2e088fd(stream) {\n return $dc0eb0b18e5448c3$export$f92d8ccfaec172d4(stream) && typeof stream._transform === \"function\";\n}\n\n\nconst $828f40abedd408ac$var$isExecaChildProcess = (target)=>target instanceof (0, $4umf8$nodechild_process.ChildProcess) && typeof target.then === \"function\";\nconst $828f40abedd408ac$var$pipeToTarget = (spawned, streamName, target)=>{\n if (typeof target === \"string\") {\n spawned[streamName].pipe((0, $4umf8$nodefs.createWriteStream)(target));\n return spawned;\n }\n if ((0, $dc0eb0b18e5448c3$export$b58a61c52edb4f66)(target)) {\n spawned[streamName].pipe(target);\n return spawned;\n }\n if (!$828f40abedd408ac$var$isExecaChildProcess(target)) throw new TypeError(\"The second argument must be a string, a stream or an Execa child process.\");\n if (!(0, $dc0eb0b18e5448c3$export$b58a61c52edb4f66)(target.stdin)) throw new TypeError(\"The target child process's stdin must be available.\");\n spawned[streamName].pipe(target.stdin);\n return target;\n};\nconst $828f40abedd408ac$export$14becf8d91886424 = (spawned)=>{\n if (spawned.stdout !== null) spawned.pipeStdout = $828f40abedd408ac$var$pipeToTarget.bind(undefined, spawned, \"stdout\");\n if (spawned.stderr !== null) spawned.pipeStderr = $828f40abedd408ac$var$pipeToTarget.bind(undefined, spawned, \"stderr\");\n if (spawned.all !== undefined) spawned.pipeAll = $828f40abedd408ac$var$pipeToTarget.bind(undefined, spawned, \"all\");\n};\n\n\n\n\nvar $d2fd9e7353012e26$exports = {};\n\"use strict\";\n\nvar $d2fd9e7353012e26$require$BufferConstants = $4umf8$buffer.constants;\n\n\nvar $d2fd9e7353012e26$require$promisify = $4umf8$util.promisify;\nvar $f7957a506754edbb$exports = {};\n\"use strict\";\n\nvar $f7957a506754edbb$require$PassThroughStream = $4umf8$stream.PassThrough;\n$f7957a506754edbb$exports = (options)=>{\n options = {\n ...options\n };\n const { array: array } = options;\n let { encoding: encoding } = options;\n const isBuffer = encoding === \"buffer\";\n let objectMode = false;\n if (array) objectMode = !(encoding || isBuffer);\n else encoding = encoding || \"utf8\";\n if (isBuffer) encoding = null;\n const stream = new $f7957a506754edbb$require$PassThroughStream({\n objectMode: objectMode\n });\n if (encoding) stream.setEncoding(encoding);\n let length = 0;\n const chunks = [];\n stream.on(\"data\", (chunk)=>{\n chunks.push(chunk);\n if (objectMode) length = chunks.length;\n else length += chunk.length;\n });\n stream.getBufferedValue = ()=>{\n if (array) return chunks;\n return isBuffer ? Buffer.concat(chunks, length) : chunks.join(\"\");\n };\n stream.getBufferedLength = ()=>length;\n return stream;\n};\n\n\nconst $d2fd9e7353012e26$var$streamPipelinePromisified = $d2fd9e7353012e26$require$promisify($4umf8$stream.pipeline);\nclass $d2fd9e7353012e26$var$MaxBufferError extends Error {\n constructor(){\n super(\"maxBuffer exceeded\");\n this.name = \"MaxBufferError\";\n }\n}\nasync function $d2fd9e7353012e26$var$getStream(inputStream, options) {\n if (!inputStream) throw new Error(\"Expected a stream\");\n options = {\n maxBuffer: Infinity,\n ...options\n };\n const { maxBuffer: maxBuffer } = options;\n const stream = $f7957a506754edbb$exports(options);\n await new Promise((resolve, reject)=>{\n const rejectPromise = (error)=>{\n // Don't retrieve an oversized buffer.\n if (error && stream.getBufferedLength() <= $d2fd9e7353012e26$require$BufferConstants.MAX_LENGTH) error.bufferedData = stream.getBufferedValue();\n reject(error);\n };\n (async ()=>{\n try {\n await $d2fd9e7353012e26$var$streamPipelinePromisified(inputStream, stream);\n resolve();\n } catch (error) {\n rejectPromise(error);\n }\n })();\n stream.on(\"data\", ()=>{\n if (stream.getBufferedLength() > maxBuffer) rejectPromise(new $d2fd9e7353012e26$var$MaxBufferError());\n });\n });\n return stream.getBufferedValue();\n}\n$d2fd9e7353012e26$exports = $d2fd9e7353012e26$var$getStream;\n$d2fd9e7353012e26$exports.buffer = (stream, options)=>$d2fd9e7353012e26$var$getStream(stream, {\n ...options,\n encoding: \"buffer\"\n });\n$d2fd9e7353012e26$exports.array = (stream, options)=>$d2fd9e7353012e26$var$getStream(stream, {\n ...options,\n array: true\n });\n$d2fd9e7353012e26$exports.MaxBufferError = $d2fd9e7353012e26$var$MaxBufferError;\n\n\nvar $f867eb3c20f83984$exports = {};\n\"use strict\";\n\nvar $f867eb3c20f83984$require$PassThrough = $4umf8$stream.PassThrough;\n$f867eb3c20f83984$exports = function() {\n var sources = [];\n var output = new $f867eb3c20f83984$require$PassThrough({\n objectMode: true\n });\n output.setMaxListeners(0);\n output.add = add;\n output.isEmpty = isEmpty;\n output.on(\"unpipe\", remove);\n Array.prototype.slice.call(arguments).forEach(add);\n return output;\n function add(source) {\n if (Array.isArray(source)) {\n source.forEach(add);\n return this;\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, {\n end: false\n });\n return this;\n }\n function isEmpty() {\n return sources.length == 0;\n }\n function remove(source) {\n sources = sources.filter(function(it) {\n return it !== source;\n });\n if (!sources.length && output.readable) output.end();\n }\n};\n\n\nconst $7e0549772c2821d0$var$validateInputOptions = (input)=>{\n if (input !== undefined) throw new TypeError(\"The `input` and `inputFile` options cannot be both set.\");\n};\nconst $7e0549772c2821d0$var$getInputSync = ({ input: input, inputFile: inputFile })=>{\n if (typeof inputFile !== \"string\") return input;\n $7e0549772c2821d0$var$validateInputOptions(input);\n return (0, $4umf8$nodefs.readFileSync)(inputFile);\n};\nconst $7e0549772c2821d0$export$7f2f9b6457412b41 = (options)=>{\n const input = $7e0549772c2821d0$var$getInputSync(options);\n if ((0, $dc0eb0b18e5448c3$export$294a92d8f7b3979)(input)) throw new TypeError(\"The `input` option cannot be a stream in sync mode\");\n return input;\n};\nconst $7e0549772c2821d0$var$getInput = ({ input: input, inputFile: inputFile })=>{\n if (typeof inputFile !== \"string\") return input;\n $7e0549772c2821d0$var$validateInputOptions(input);\n return (0, $4umf8$nodefs.createReadStream)(inputFile);\n};\nconst $7e0549772c2821d0$export$412508d679148d5c = (spawned, options)=>{\n const input = $7e0549772c2821d0$var$getInput(options);\n if (input === undefined) return;\n if ((0, $dc0eb0b18e5448c3$export$294a92d8f7b3979)(input)) input.pipe(spawned.stdin);\n else spawned.stdin.end(input);\n};\nconst $7e0549772c2821d0$export$41f5c0c12dadd6ae = (spawned, { all: all })=>{\n if (!all || !spawned.stdout && !spawned.stderr) return;\n const mixed = (0, (/*@__PURE__*/$parcel$interopDefault($f867eb3c20f83984$exports)))();\n if (spawned.stdout) mixed.add(spawned.stdout);\n if (spawned.stderr) mixed.add(spawned.stderr);\n return mixed;\n};\n// On failure, `result.stdout|stderr|all` should contain the currently buffered stream\nconst $7e0549772c2821d0$var$getBufferedData = async (stream, streamPromise)=>{\n // When `buffer` is `false`, `streamPromise` is `undefined` and there is no buffered data to retrieve\n if (!stream || streamPromise === undefined) return;\n stream.destroy();\n try {\n return await streamPromise;\n } catch (error) {\n return error.bufferedData;\n }\n};\nconst $7e0549772c2821d0$var$getStreamPromise = (stream, { encoding: encoding, buffer: buffer, maxBuffer: maxBuffer })=>{\n if (!stream || !buffer) return;\n if (encoding) return (0, (/*@__PURE__*/$parcel$interopDefault($d2fd9e7353012e26$exports)))(stream, {\n encoding: encoding,\n maxBuffer: maxBuffer\n });\n return (0, (/*@__PURE__*/$parcel$interopDefault($d2fd9e7353012e26$exports))).buffer(stream, {\n maxBuffer: maxBuffer\n });\n};\nconst $7e0549772c2821d0$export$67b768ac9e1c70fa = async ({ stdout: stdout, stderr: stderr, all: all }, { encoding: encoding, buffer: buffer, maxBuffer: maxBuffer }, processDone)=>{\n const stdoutPromise = $7e0549772c2821d0$var$getStreamPromise(stdout, {\n encoding: encoding,\n buffer: buffer,\n maxBuffer: maxBuffer\n });\n const stderrPromise = $7e0549772c2821d0$var$getStreamPromise(stderr, {\n encoding: encoding,\n buffer: buffer,\n maxBuffer: maxBuffer\n });\n const allPromise = $7e0549772c2821d0$var$getStreamPromise(all, {\n encoding: encoding,\n buffer: buffer,\n maxBuffer: maxBuffer * 2\n });\n try {\n return await Promise.all([\n processDone,\n stdoutPromise,\n stderrPromise,\n allPromise\n ]);\n } catch (error) {\n return Promise.all([\n {\n error: error,\n signal: error.signal,\n timedOut: error.timedOut\n },\n $7e0549772c2821d0$var$getBufferedData(stdout, stdoutPromise),\n $7e0549772c2821d0$var$getBufferedData(stderr, stderrPromise),\n $7e0549772c2821d0$var$getBufferedData(all, allPromise)\n ]);\n }\n};\n\n\n// eslint-disable-next-line unicorn/prefer-top-level-await\nconst $90858c67e8fd2846$var$nativePromisePrototype = (async ()=>{})().constructor.prototype;\nconst $90858c67e8fd2846$var$descriptors = [\n \"then\",\n \"catch\",\n \"finally\"\n].map((property)=>[\n property,\n Reflect.getOwnPropertyDescriptor($90858c67e8fd2846$var$nativePromisePrototype, property)\n ]);\nconst $90858c67e8fd2846$export$e6eb0007fd542aba = (spawned, promise)=>{\n for (const [property, descriptor] of $90858c67e8fd2846$var$descriptors){\n // Starting the main `promise` is deferred to avoid consuming streams\n const value = typeof promise === \"function\" ? (...args)=>Reflect.apply(descriptor.value, promise(), args) : descriptor.value.bind(promise);\n Reflect.defineProperty(spawned, property, {\n ...descriptor,\n value: value\n });\n }\n};\nconst $90858c67e8fd2846$export$6e3a9b5342d42997 = (spawned)=>new Promise((resolve, reject)=>{\n spawned.on(\"exit\", (exitCode, signal)=>{\n resolve({\n exitCode: exitCode,\n signal: signal\n });\n });\n spawned.on(\"error\", (error)=>{\n reject(error);\n });\n if (spawned.stdin) spawned.stdin.on(\"error\", (error)=>{\n reject(error);\n });\n });\n\n\n\n\nconst $a6c91bcff0258dec$var$normalizeArgs = (file, args = [])=>{\n if (!Array.isArray(args)) return [\n file\n ];\n return [\n file,\n ...args\n ];\n};\nconst $a6c91bcff0258dec$var$NO_ESCAPE_REGEXP = /^[\\w.-]+$/;\nconst $a6c91bcff0258dec$var$DOUBLE_QUOTES_REGEXP = /\"/g;\nconst $a6c91bcff0258dec$var$escapeArg = (arg)=>{\n if (typeof arg !== \"string\" || $a6c91bcff0258dec$var$NO_ESCAPE_REGEXP.test(arg)) return arg;\n return `\"${arg.replace($a6c91bcff0258dec$var$DOUBLE_QUOTES_REGEXP, '\\\\\"')}\"`;\n};\nconst $a6c91bcff0258dec$export$ab3db8fe5ebf3a1 = (file, args)=>$a6c91bcff0258dec$var$normalizeArgs(file, args).join(\" \");\nconst $a6c91bcff0258dec$export$9d3099014bd914f8 = (file, args)=>$a6c91bcff0258dec$var$normalizeArgs(file, args).map((arg)=>$a6c91bcff0258dec$var$escapeArg(arg)).join(\" \");\nconst $a6c91bcff0258dec$var$SPACES_REGEXP = / +/g;\nconst $a6c91bcff0258dec$export$78bcee23e0849f6a = (command)=>{\n const tokens = [];\n for (const token of command.trim().split($a6c91bcff0258dec$var$SPACES_REGEXP)){\n // Allow spaces to be escaped by a backslash if not meant as a delimiter\n const previousToken = tokens[tokens.length - 1];\n if (previousToken && previousToken.endsWith(\"\\\\\")) // Merge previous token with current one\n tokens[tokens.length - 1] = `${previousToken.slice(0, -1)} ${token}`;\n else tokens.push(token);\n }\n return tokens;\n};\nconst $a6c91bcff0258dec$var$parseExpression = (expression)=>{\n const typeOfExpression = typeof expression;\n if (typeOfExpression === \"string\") return expression;\n if (typeOfExpression === \"number\") return String(expression);\n if (typeOfExpression === \"object\" && expression !== null && !(expression instanceof (0, $4umf8$nodechild_process.ChildProcess)) && \"stdout\" in expression) {\n const typeOfStdout = typeof expression.stdout;\n if (typeOfStdout === \"string\") return expression.stdout;\n if ((0, $4umf8$nodebuffer.Buffer).isBuffer(expression.stdout)) return expression.stdout.toString();\n throw new TypeError(`Unexpected \"${typeOfStdout}\" stdout in template expression`);\n }\n throw new TypeError(`Unexpected \"${typeOfExpression}\" in template expression`);\n};\nconst $a6c91bcff0258dec$var$concatTokens = (tokens, nextTokens, isNew)=>isNew || tokens.length === 0 || nextTokens.length === 0 ? [\n ...tokens,\n ...nextTokens\n ] : [\n ...tokens.slice(0, -1),\n `${tokens[tokens.length - 1]}${nextTokens[0]}`,\n ...nextTokens.slice(1)\n ];\nconst $a6c91bcff0258dec$var$parseTemplate = ({ templates: templates, expressions: expressions, tokens: tokens, index: index, template: template })=>{\n const templateString = template !== null && template !== void 0 ? template : templates.raw[index];\n const templateTokens = templateString.split($a6c91bcff0258dec$var$SPACES_REGEXP).filter(Boolean);\n const newTokens = $a6c91bcff0258dec$var$concatTokens(tokens, templateTokens, templateString.startsWith(\" \"));\n if (index === expressions.length) return newTokens;\n const expression = expressions[index];\n const expressionTokens = Array.isArray(expression) ? expression.map((expression)=>$a6c91bcff0258dec$var$parseExpression(expression)) : [\n $a6c91bcff0258dec$var$parseExpression(expression)\n ];\n return $a6c91bcff0258dec$var$concatTokens(newTokens, expressionTokens, templateString.endsWith(\" \"));\n};\nconst $a6c91bcff0258dec$export$4a6ee54de9b0f25d = (templates, expressions)=>{\n let tokens = [];\n for (const [index, template] of templates.entries())tokens = $a6c91bcff0258dec$var$parseTemplate({\n templates: templates,\n expressions: expressions,\n tokens: tokens,\n index: index,\n template: template\n });\n return tokens;\n};\n\n\n\n\nconst $8e8fd7c300c466ad$export$38bb3c1fbaa0bdcf = (0, $4umf8$nodeutil.debuglog)(\"execa\").enabled;\nconst $8e8fd7c300c466ad$var$padField = (field, padding)=>String(field).padStart(padding, \"0\");\nconst $8e8fd7c300c466ad$var$getTimestamp = ()=>{\n const date = new Date();\n return `${$8e8fd7c300c466ad$var$padField(date.getHours(), 2)}:${$8e8fd7c300c466ad$var$padField(date.getMinutes(), 2)}:${$8e8fd7c300c466ad$var$padField(date.getSeconds(), 2)}.${$8e8fd7c300c466ad$var$padField(date.getMilliseconds(), 3)}`;\n};\nconst $8e8fd7c300c466ad$export$3bb886c4c1352118 = (escapedCommand, { verbose: verbose })=>{\n if (!verbose) return;\n (0, ($parcel$interopDefault($4umf8$nodeprocess))).stderr.write(`[${$8e8fd7c300c466ad$var$getTimestamp()}] ${escapedCommand}\\n`);\n};\n\n\nconst $24f062d29362ada6$var$DEFAULT_MAX_BUFFER = 100000000;\nconst $24f062d29362ada6$var$getEnv = ({ env: envOption, extendEnv: extendEnv, preferLocal: preferLocal, localDir: localDir, execPath: execPath })=>{\n const env = extendEnv ? {\n ...(0, ($parcel$interopDefault($4umf8$nodeprocess))).env,\n ...envOption\n } : envOption;\n if (preferLocal) return (0, $e525b4839dd67f68$export$340e1fbaac04248b)({\n env: env,\n cwd: localDir,\n execPath: execPath\n });\n return env;\n};\nconst $24f062d29362ada6$var$handleArguments = (file, args, options = {})=>{\n const parsed = (0, (/*@__PURE__*/$parcel$interopDefault($f22b5c1f790abcb5$exports)))._parse(file, args, options);\n file = parsed.command;\n args = parsed.args;\n options = parsed.options;\n options = {\n maxBuffer: $24f062d29362ada6$var$DEFAULT_MAX_BUFFER,\n buffer: true,\n stripFinalNewline: true,\n extendEnv: true,\n preferLocal: false,\n localDir: options.cwd || (0, ($parcel$interopDefault($4umf8$nodeprocess))).cwd(),\n execPath: (0, ($parcel$interopDefault($4umf8$nodeprocess))).execPath,\n encoding: \"utf8\",\n reject: true,\n cleanup: true,\n all: false,\n windowsHide: true,\n verbose: (0, $8e8fd7c300c466ad$export$38bb3c1fbaa0bdcf),\n ...options\n };\n options.env = $24f062d29362ada6$var$getEnv(options);\n options.stdio = (0, $fd3489326ee71e7b$export$a581401a57fac02e)(options);\n if ((0, ($parcel$interopDefault($4umf8$nodeprocess))).platform === \"win32\" && (0, ($parcel$interopDefault($4umf8$nodepath))).basename(file, \".exe\") === \"cmd\") // #116\n args.unshift(\"/q\");\n return {\n file: file,\n args: args,\n options: options,\n parsed: parsed\n };\n};\nconst $24f062d29362ada6$var$handleOutput = (options, value, error)=>{\n if (typeof value !== \"string\" && !(0, $4umf8$nodebuffer.Buffer).isBuffer(value)) // When `execaSync()` errors, we normalize it to '' to mimic `execa()`\n return error === undefined ? undefined : \"\";\n if (options.stripFinalNewline) return (0, $e53d23f0d89b737e$export$2e2bcd8739ae039)(value);\n return value;\n};\nfunction $24f062d29362ada6$export$db6b1668e3758717(file, args, options) {\n const parsed = $24f062d29362ada6$var$handleArguments(file, args, options);\n const command = (0, $a6c91bcff0258dec$export$ab3db8fe5ebf3a1)(file, args);\n const escapedCommand = (0, $a6c91bcff0258dec$export$9d3099014bd914f8)(file, args);\n (0, $8e8fd7c300c466ad$export$3bb886c4c1352118)(escapedCommand, parsed.options);\n (0, $8bad387d33525ec8$export$3186f8866f616f9f)(parsed.options);\n let spawned;\n try {\n spawned = (0, ($parcel$interopDefault($4umf8$nodechild_process))).spawn(parsed.file, parsed.args, parsed.options);\n } catch (error) {\n // Ensure the returned error is always both a promise and a child process\n const dummySpawned = new (0, ($parcel$interopDefault($4umf8$nodechild_process))).ChildProcess();\n const errorPromise = Promise.reject((0, $9224ad52d9f78dbc$export$5a4bb2b1c89bdce7)({\n error: error,\n stdout: \"\",\n stderr: \"\",\n all: \"\",\n command: command,\n escapedCommand: escapedCommand,\n parsed: parsed,\n timedOut: false,\n isCanceled: false,\n killed: false\n }));\n (0, $90858c67e8fd2846$export$e6eb0007fd542aba)(dummySpawned, errorPromise);\n return dummySpawned;\n }\n const spawnedPromise = (0, $90858c67e8fd2846$export$6e3a9b5342d42997)(spawned);\n const timedPromise = (0, $8bad387d33525ec8$export$6bcc98999eb82896)(spawned, parsed.options, spawnedPromise);\n const processDone = (0, $8bad387d33525ec8$export$79fc3056c9ca4ada)(spawned, parsed.options, timedPromise);\n const context = {\n isCanceled: false\n };\n spawned.kill = (0, $8bad387d33525ec8$export$971fa1b57c7f00b).bind(null, spawned.kill.bind(spawned));\n spawned.cancel = (0, $8bad387d33525ec8$export$667e13cd9b70ca17).bind(null, spawned, context);\n const handlePromise = async ()=>{\n const [{ error: error, exitCode: exitCode, signal: signal, timedOut: timedOut }, stdoutResult, stderrResult, allResult] = await (0, $7e0549772c2821d0$export$67b768ac9e1c70fa)(spawned, parsed.options, processDone);\n const stdout = $24f062d29362ada6$var$handleOutput(parsed.options, stdoutResult);\n const stderr = $24f062d29362ada6$var$handleOutput(parsed.options, stderrResult);\n const all = $24f062d29362ada6$var$handleOutput(parsed.options, allResult);\n if (error || exitCode !== 0 || signal !== null) {\n const returnedError = (0, $9224ad52d9f78dbc$export$5a4bb2b1c89bdce7)({\n error: error,\n exitCode: exitCode,\n signal: signal,\n stdout: stdout,\n stderr: stderr,\n all: all,\n command: command,\n escapedCommand: escapedCommand,\n parsed: parsed,\n timedOut: timedOut,\n isCanceled: context.isCanceled || (parsed.options.signal ? parsed.options.signal.aborted : false),\n killed: spawned.killed\n });\n if (!parsed.options.reject) return returnedError;\n throw returnedError;\n }\n return {\n command: command,\n escapedCommand: escapedCommand,\n exitCode: 0,\n stdout: stdout,\n stderr: stderr,\n all: all,\n failed: false,\n timedOut: false,\n isCanceled: false,\n killed: false\n };\n };\n const handlePromiseOnce = (0, $b5bce385de6ade9f$export$2e2bcd8739ae039)(handlePromise);\n (0, $7e0549772c2821d0$export$412508d679148d5c)(spawned, parsed.options);\n spawned.all = (0, $7e0549772c2821d0$export$41f5c0c12dadd6ae)(spawned, parsed.options);\n (0, $828f40abedd408ac$export$14becf8d91886424)(spawned);\n (0, $90858c67e8fd2846$export$e6eb0007fd542aba)(spawned, handlePromiseOnce);\n return spawned;\n}\nfunction $24f062d29362ada6$export$28823a701bb5a12d(file, args, options) {\n const parsed = $24f062d29362ada6$var$handleArguments(file, args, options);\n const command = (0, $a6c91bcff0258dec$export$ab3db8fe5ebf3a1)(file, args);\n const escapedCommand = (0, $a6c91bcff0258dec$export$9d3099014bd914f8)(file, args);\n (0, $8e8fd7c300c466ad$export$3bb886c4c1352118)(escapedCommand, parsed.options);\n const input = (0, $7e0549772c2821d0$export$7f2f9b6457412b41)(parsed.options);\n let result;\n try {\n result = (0, ($parcel$interopDefault($4umf8$nodechild_process))).spawnSync(parsed.file, parsed.args, {\n ...parsed.options,\n input: input\n });\n } catch (error) {\n throw (0, $9224ad52d9f78dbc$export$5a4bb2b1c89bdce7)({\n error: error,\n stdout: \"\",\n stderr: \"\",\n all: \"\",\n command: command,\n escapedCommand: escapedCommand,\n parsed: parsed,\n timedOut: false,\n isCanceled: false,\n killed: false\n });\n }\n const stdout = $24f062d29362ada6$var$handleOutput(parsed.options, result.stdout, result.error);\n const stderr = $24f062d29362ada6$var$handleOutput(parsed.options, result.stderr, result.error);\n if (result.error || result.status !== 0 || result.signal !== null) {\n const error = (0, $9224ad52d9f78dbc$export$5a4bb2b1c89bdce7)({\n stdout: stdout,\n stderr: stderr,\n error: result.error,\n signal: result.signal,\n exitCode: result.status,\n command: command,\n escapedCommand: escapedCommand,\n parsed: parsed,\n timedOut: result.error && result.error.code === \"ETIMEDOUT\",\n isCanceled: false,\n killed: result.signal !== null\n });\n if (!parsed.options.reject) return error;\n throw error;\n }\n return {\n command: command,\n escapedCommand: escapedCommand,\n exitCode: 0,\n stdout: stdout,\n stderr: stderr,\n failed: false,\n timedOut: false,\n isCanceled: false,\n killed: false\n };\n}\nconst $24f062d29362ada6$var$normalizeScriptStdin = ({ input: input, inputFile: inputFile, stdio: stdio })=>input === undefined && inputFile === undefined && stdio === undefined ? {\n stdin: \"inherit\"\n } : {};\nconst $24f062d29362ada6$var$normalizeScriptOptions = (options = {})=>({\n preferLocal: true,\n ...$24f062d29362ada6$var$normalizeScriptStdin(options),\n ...options\n });\nfunction $24f062d29362ada6$var$create$(options) {\n function $(templatesOrOptions, ...expressions) {\n if (!Array.isArray(templatesOrOptions)) return $24f062d29362ada6$var$create$({\n ...options,\n ...templatesOrOptions\n });\n const [file, ...args] = (0, $a6c91bcff0258dec$export$4a6ee54de9b0f25d)(templatesOrOptions, expressions);\n return $24f062d29362ada6$export$db6b1668e3758717(file, args, $24f062d29362ada6$var$normalizeScriptOptions(options));\n }\n $.sync = (templates, ...expressions)=>{\n if (!Array.isArray(templates)) throw new TypeError(\"Please use $(options).sync`command` instead of $.sync(options)`command`.\");\n const [file, ...args] = (0, $a6c91bcff0258dec$export$4a6ee54de9b0f25d)(templates, expressions);\n return $24f062d29362ada6$export$28823a701bb5a12d(file, args, $24f062d29362ada6$var$normalizeScriptOptions(options));\n };\n return $;\n}\nconst $24f062d29362ada6$export$3d8c2f653ac9d0b9 = $24f062d29362ada6$var$create$();\nfunction $24f062d29362ada6$export$eb9ed1222071f2f6(command, options) {\n const [file, ...args] = (0, $a6c91bcff0258dec$export$78bcee23e0849f6a)(command);\n return $24f062d29362ada6$export$db6b1668e3758717(file, args, options);\n}\nfunction $24f062d29362ada6$export$5c60dbe76a54db4(command, options) {\n const [file, ...args] = (0, $a6c91bcff0258dec$export$78bcee23e0849f6a)(command);\n return $24f062d29362ada6$export$28823a701bb5a12d(file, args, options);\n}\nfunction $24f062d29362ada6$export$c004ac68fdb98119(scriptPath, args, options = {}) {\n if (args && !Array.isArray(args) && typeof args === \"object\") {\n options = args;\n args = [];\n }\n const stdio = (0, $fd3489326ee71e7b$export$889423b478ae2ba)(options);\n const defaultExecArgv = (0, ($parcel$interopDefault($4umf8$nodeprocess))).execArgv.filter((arg)=>!arg.startsWith(\"--inspect\"));\n const { nodePath: nodePath = (0, ($parcel$interopDefault($4umf8$nodeprocess))).execPath, nodeOptions: nodeOptions = defaultExecArgv } = options;\n return $24f062d29362ada6$export$db6b1668e3758717(nodePath, [\n ...nodeOptions,\n scriptPath,\n ...Array.isArray(args) ? args : []\n ], {\n ...options,\n stdin: undefined,\n stdout: undefined,\n stderr: undefined,\n stdio: stdio,\n shell: false\n });\n}\n\n\nfunction $c93e0191c47e5f34$export$7683bf1311d8252() {\n return (0, (/*@__PURE__*/$parcel$interopDefault($71cfef4812d1fa23$exports))).sync(\"sudo\", {\n nothrow: true\n }) !== null;\n}\nfunction $c93e0191c47e5f34$export$e3140dc7d0c35e48() {\n var _process_getuid, _process;\n // TODO not all CI systems are root\n return ((_process_getuid = (_process = process).getuid) === null || _process_getuid === void 0 ? void 0 : _process_getuid.call(_process)) === 0 || Boolean(process.env.CI);\n}\nfunction $c93e0191c47e5f34$export$316200228f28b8ce() {\n return $c93e0191c47e5f34$export$e3140dc7d0c35e48() && $c93e0191c47e5f34$export$7683bf1311d8252();\n}\nfunction $c93e0191c47e5f34$export$d976d47922ae9667(command) {\n if ($c93e0191c47e5f34$export$316200228f28b8ce()) return `sudo ${command}`;\n return command;\n}\nconst $c93e0191c47e5f34$export$151aeb0ade3989e1 = {\n stdio: \"inherit\",\n shell: true\n};\nfunction $c93e0191c47e5f34$export$58f152936f209932(program, args = [], execOptions = $c93e0191c47e5f34$export$151aeb0ade3989e1) {\n if ($c93e0191c47e5f34$export$316200228f28b8ce()) {\n const command = $c93e0191c47e5f34$var$getSudoCommand(program, args);\n return (0, $24f062d29362ada6$export$5c60dbe76a54db4)(command, execOptions);\n } else return (0, $24f062d29362ada6$export$28823a701bb5a12d)(program, $c93e0191c47e5f34$var$quote(args), execOptions);\n}\nfunction $c93e0191c47e5f34$export$351270479e2eef26(program, args = [], execOptions = $c93e0191c47e5f34$export$151aeb0ade3989e1) {\n if ($c93e0191c47e5f34$export$316200228f28b8ce()) {\n const command = $c93e0191c47e5f34$var$getSudoCommand(program, args);\n return (0, $24f062d29362ada6$export$eb9ed1222071f2f6)(command, execOptions);\n } else return (0, $24f062d29362ada6$export$db6b1668e3758717)(program, $c93e0191c47e5f34$var$quote(args), execOptions);\n}\nfunction $c93e0191c47e5f34$var$getSudoCommand(program, args) {\n return `sudo ${$c93e0191c47e5f34$var$quote([\n program,\n ...args\n ]).join(\" \")}`;\n}\nfunction $c93e0191c47e5f34$var$quote(strings) {\n return strings.map((str)=>`'${str}'`);\n}\n\n\n// From `is-admin`: updated execa\n\n// https://stackoverflow.com/a/28268802\nasync function $d429520e97233297$var$testFltmc() {\n try {\n await (0, $24f062d29362ada6$export$db6b1668e3758717)(\"fltmc\");\n return true;\n } catch {\n return false;\n }\n}\nasync function $d429520e97233297$export$2e2bcd8739ae039() {\n if (process.platform !== \"win32\") return false;\n try {\n var _process_env_systemdrive;\n // https://stackoverflow.com/a/21295806/1641422\n await (0, $24f062d29362ada6$export$db6b1668e3758717)(\"fsutil\", [\n \"dirty\",\n \"query\",\n (_process_env_systemdrive = process.env.systemdrive) !== null && _process_env_systemdrive !== void 0 ? _process_env_systemdrive : \"\"\n ]);\n return true;\n } catch (error) {\n if (error.code === \"ENOENT\") return $d429520e97233297$var$testFltmc();\n return false;\n }\n}\n\n\n\nconst $fbd369c644c7f581$export$36ad181701cee597 = (0, $d429520e97233297$export$2e2bcd8739ae039);\nconst $fbd369c644c7f581$export$2ebf12717e6b5bb8 = (0, $c93e0191c47e5f34$export$e3140dc7d0c35e48);\nfunction $fbd369c644c7f581$export$fc970ed23da99565() {\n if (process.platform === \"win32\") return $fbd369c644c7f581$export$36ad181701cee597();\n else return (0, $c93e0191c47e5f34$export$e3140dc7d0c35e48)();\n}\n\n\n\n\nasync function $bf272871df54e58d$export$4718e061a205eab(path) {\n if ((process.platform === \"linux\" || process.platform === \"darwin\") && (0, $c93e0191c47e5f34$export$316200228f28b8ce)() && process.env.SUDO_USER !== undefined) {\n const isDirectory = (0, ($parcel$interopDefault($4umf8$fs))).statSync(path).isDirectory();\n await (0, $c93e0191c47e5f34$export$351270479e2eef26)(\"chown\", [\n ...isDirectory ? [\n \"-R\"\n ] : [],\n process.env.SUDO_USER,\n path\n ], (0, $c93e0191c47e5f34$export$151aeb0ade3989e1));\n }\n}\n\n\n\n\nfunction $f19d14aa12f0fb90$export$8312d9eeba321950(path) {\n if ((0, $c93e0191c47e5f34$export$316200228f28b8ce)() && typeof process.env.SUDO_USER === \"string\") {\n // use the user profile even if root\n if (process.platform === \"darwin\") return (0, $4umf8$path.join)(\"/Users/\", process.env.SUDO_USER, path);\n else return (0, $4umf8$path.join)(\"/home/\", process.env.SUDO_USER, path);\n } else return (0, $f27d3fae06297317$export$2e2bcd8739ae039)(`~/${path}`);\n}\n\n\n\nvar $hHq4F = parcelRequire(\"hHq4F\");\nvar $ead794660f22ce98$exports = {};\n\"use strict\";\n\n\nvar $coVwk = parcelRequire(\"coVwk\");\n\n\n\n\n/******************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */ /* global Reflect, Promise */ function $ead794660f22ce98$var$__awaiter(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n}\nfunction $ead794660f22ce98$var$__generator(thisArg, body) {\n var _ = {\n label: 0,\n sent: function() {\n if (t[0] & 1) throw t[1];\n return t[1];\n },\n trys: [],\n ops: []\n }, f, y, t, g;\n return g = {\n next: verb(0),\n \"throw\": verb(1),\n \"return\": verb(2)\n }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() {\n return this;\n }), g;\n function verb(n) {\n return function(v) {\n return step([\n n,\n v\n ]);\n };\n }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while(g && (g = 0, op[0] && (_ = 0)), _)try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [\n op[0] & 2,\n t.value\n ];\n switch(op[0]){\n case 0:\n case 1:\n t = op;\n break;\n case 4:\n _.label++;\n return {\n value: op[1],\n done: false\n };\n case 5:\n _.label++;\n y = op[1];\n op = [\n 0\n ];\n continue;\n case 7:\n op = _.ops.pop();\n _.trys.pop();\n continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {\n _ = 0;\n continue;\n }\n if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {\n _.label = op[1];\n break;\n }\n if (op[0] === 6 && _.label < t[1]) {\n _.label = t[1];\n t = op;\n break;\n }\n if (t && _.label < t[2]) {\n _.label = t[2];\n _.ops.push(op);\n break;\n }\n if (t[2]) _.ops.pop();\n _.trys.pop();\n continue;\n }\n op = body.call(thisArg, _);\n } catch (e) {\n op = [\n 6,\n e\n ];\n y = 0;\n } finally{\n f = t = 0;\n }\n if (op[0] & 5) throw op[1];\n return {\n value: op[0] ? op[1] : void 0,\n done: true\n };\n }\n}\nvar $ead794660f22ce98$var$packageJson = $4umf8$process.env.npm_package_json;\nvar $ead794660f22ce98$var$userAgent = $4umf8$process.env.npm_config_user_agent;\nvar $ead794660f22ce98$var$isNpm6 = Boolean($ead794660f22ce98$var$userAgent && $ead794660f22ce98$var$userAgent.startsWith(\"npm\"));\nvar $ead794660f22ce98$var$isNpm7 = Boolean($ead794660f22ce98$var$packageJson && $ead794660f22ce98$var$packageJson.endsWith(\"package.json\"));\nvar $ead794660f22ce98$var$isNpm = $ead794660f22ce98$var$isNpm6 || $ead794660f22ce98$var$isNpm7;\nvar $ead794660f22ce98$var$isYarn = Boolean($ead794660f22ce98$var$userAgent && $ead794660f22ce98$var$userAgent.startsWith(\"yarn\"));\nvar $ead794660f22ce98$var$isNpmOrYarn = $ead794660f22ce98$var$isNpm || $ead794660f22ce98$var$isYarn;\nvar $ead794660f22ce98$var$homeDirectory = $4umf8$os.homedir();\nvar $ead794660f22ce98$var$configDir = process.env.XDG_CONFIG_HOME || $4umf8$path.join($ead794660f22ce98$var$homeDirectory, \".config\", \"simple-update-notifier\");\nvar $ead794660f22ce98$var$getConfigFile = function(packageName) {\n return $4umf8$path.join($ead794660f22ce98$var$configDir, \"\".concat(packageName.replace(\"@\", \"\").replace(\"/\", \"__\"), \".json\"));\n};\nvar $ead794660f22ce98$var$createConfigDir = function() {\n if (!$4umf8$fs.existsSync($ead794660f22ce98$var$configDir)) $4umf8$fs.mkdirSync($ead794660f22ce98$var$configDir, {\n recursive: true\n });\n};\nvar $ead794660f22ce98$var$getLastUpdate = function(packageName) {\n var configFile = $ead794660f22ce98$var$getConfigFile(packageName);\n try {\n if (!$4umf8$fs.existsSync(configFile)) return undefined;\n var file = JSON.parse($4umf8$fs.readFileSync(configFile, \"utf8\"));\n return file.lastUpdateCheck;\n } catch (_a) {\n return undefined;\n }\n};\nvar $ead794660f22ce98$var$saveLastUpdate = function(packageName) {\n var configFile = $ead794660f22ce98$var$getConfigFile(packageName);\n $4umf8$fs.writeFileSync(configFile, JSON.stringify({\n lastUpdateCheck: new Date().getTime()\n }));\n};\nvar $ead794660f22ce98$var$getDistVersion = function(packageName, distTag) {\n return $ead794660f22ce98$var$__awaiter(void 0, void 0, void 0, function() {\n var url;\n return $ead794660f22ce98$var$__generator(this, function(_a) {\n url = \"https://registry.npmjs.org/-/package/\".concat(packageName, \"/dist-tags\");\n return [\n 2 /*return*/ ,\n new Promise(function(resolve, reject) {\n $4umf8$https.get(url, function(res) {\n var body = \"\";\n res.on(\"data\", function(chunk) {\n return body += chunk;\n });\n res.on(\"end\", function() {\n try {\n var json = JSON.parse(body);\n var version = json[distTag];\n if (!version) reject(new Error(\"Error getting version\"));\n resolve(version);\n } catch (_a) {\n reject(new Error(\"Could not parse version response\"));\n }\n });\n }).on(\"error\", function(err) {\n return reject(err);\n });\n })\n ];\n });\n });\n};\nvar $ead794660f22ce98$var$hasNewVersion = function(_a) {\n var pkg = _a.pkg, _b = _a.updateCheckInterval, updateCheckInterval = _b === void 0 ? 86400000 : _b, _c = _a.distTag, distTag = _c === void 0 ? \"latest\" : _c, alwaysRun = _a.alwaysRun, debug = _a.debug;\n return $ead794660f22ce98$var$__awaiter(void 0, void 0, void 0, function() {\n var lastUpdateCheck, latestVersion;\n return $ead794660f22ce98$var$__generator(this, function(_d) {\n switch(_d.label){\n case 0:\n $ead794660f22ce98$var$createConfigDir();\n lastUpdateCheck = $ead794660f22ce98$var$getLastUpdate(pkg.name);\n if (!(alwaysRun || !lastUpdateCheck || lastUpdateCheck < new Date().getTime() - updateCheckInterval)) return [\n 3 /*break*/ ,\n 2\n ];\n return [\n 4 /*yield*/ ,\n $ead794660f22ce98$var$getDistVersion(pkg.name, distTag)\n ];\n case 1:\n latestVersion = _d.sent();\n $ead794660f22ce98$var$saveLastUpdate(pkg.name);\n if ($coVwk.gt(latestVersion, pkg.version)) return [\n 2 /*return*/ ,\n latestVersion\n ];\n else if (debug) console.error(\"Latest version (\".concat(latestVersion, \") not newer than current version (\").concat(pkg.version, \")\"));\n return [\n 3 /*break*/ ,\n 3\n ];\n case 2:\n if (debug) console.error(\"Too recent to check for a new update. simpleUpdateNotifier() interval set to \".concat(updateCheckInterval, \"ms but only \").concat(new Date().getTime() - lastUpdateCheck, \"ms since last check.\"));\n _d.label = 3;\n case 3:\n return [\n 2 /*return*/ ,\n false\n ];\n }\n });\n });\n};\nvar $ead794660f22ce98$var$borderedText = function(text) {\n var lines = text.split(\"\\n\");\n var width = Math.max.apply(Math, lines.map(function(l) {\n return l.length;\n }));\n var res = [\n \"\\u250C\".concat(\"\\u2500\".repeat(width + 2), \"\\u2510\")\n ];\n for(var _i = 0, lines_1 = lines; _i < lines_1.length; _i++){\n var line = lines_1[_i];\n res.push(\"\\u2502 \".concat(line.padEnd(width), \" \\u2502\"));\n }\n res.push(\"\\u2514\".concat(\"\\u2500\".repeat(width + 2), \"\\u2518\"));\n return res.join(\"\\n\");\n};\nvar $ead794660f22ce98$var$simpleUpdateNotifier = function(args) {\n return $ead794660f22ce98$var$__awaiter(void 0, void 0, void 0, function() {\n var latestVersion, err_1;\n return $ead794660f22ce98$var$__generator(this, function(_a) {\n switch(_a.label){\n case 0:\n if (!args.alwaysRun && (!process.stdout.isTTY || $ead794660f22ce98$var$isNpmOrYarn && !args.shouldNotifyInNpmScript)) {\n if (args.debug) console.error(\"Opting out of running simpleUpdateNotifier()\");\n return [\n 2 /*return*/ \n ];\n }\n _a.label = 1;\n case 1:\n _a.trys.push([\n 1,\n 3,\n ,\n 4\n ]);\n return [\n 4 /*yield*/ ,\n $ead794660f22ce98$var$hasNewVersion(args)\n ];\n case 2:\n latestVersion = _a.sent();\n if (latestVersion) console.error($ead794660f22ce98$var$borderedText(\"New version of \".concat(args.pkg.name, \" available!\\nCurrent Version: \").concat(args.pkg.version, \"\\nLatest Version: \").concat(latestVersion)));\n return [\n 3 /*break*/ ,\n 4\n ];\n case 3:\n err_1 = _a.sent();\n // Catch any network errors or cache writing errors so module doesn't cause a crash\n if (args.debug && err_1 instanceof Error) console.error(\"Unexpected error in simpleUpdateNotifier():\", err_1);\n return [\n 3 /*break*/ ,\n 4\n ];\n case 4:\n return [\n 2 /*return*/ \n ];\n }\n });\n });\n};\n$ead794660f22ce98$exports = $ead794660f22ce98$var$simpleUpdateNotifier;\n\n\nvar $8de64c03a4b9ab60$exports = {};\n$8de64c03a4b9ab60$exports = JSON.parse('{\"name\":\"setup-cpp\",\"version\":\"0.36.1\"}');\n\n\nasync function $c67d54237e946289$export$31c6d94eb20a8ca7() {\n try {\n await (0, (/*@__PURE__*/$parcel$interopDefault($ead794660f22ce98$exports)))({\n pkg: (0, (/*@__PURE__*/$parcel$interopDefault($8de64c03a4b9ab60$exports)))\n });\n } catch (err) {\n (0, $hHq4F.warning)(`Failed to check for updates: ${err instanceof Error ? err.message + err.stack : err}`);\n }\n}\n\n\n\nvar $1o3Gj = parcelRequire(\"1o3Gj\");\n\nvar $hHq4F = parcelRequire(\"hHq4F\");\nfunction $6973f06ebfc9a33d$var$toArr(any) {\n return any == null ? [] : Array.isArray(any) ? any : [\n any\n ];\n}\nfunction $6973f06ebfc9a33d$var$toVal(out, key, val, opts) {\n var x, old = out[key], nxt = !!~opts.string.indexOf(key) ? val == null || val === true ? \"\" : String(val) : typeof val === \"boolean\" ? val : !!~opts.boolean.indexOf(key) ? val === \"false\" ? false : val === \"true\" || (out._.push((x = +val, x * 0 === 0) ? x : val), !!val) : (x = +val, x * 0 === 0) ? x : val;\n out[key] = old == null ? nxt : Array.isArray(old) ? old.concat(nxt) : [\n old,\n nxt\n ];\n}\nfunction $6973f06ebfc9a33d$export$2e2bcd8739ae039(args, opts) {\n args = args || [];\n opts = opts || {};\n var k, arr, arg, name, val, out = {\n _: []\n };\n var i = 0, j = 0, idx = 0, len = args.length;\n const alibi = opts.alias !== void 0;\n const strict = opts.unknown !== void 0;\n const defaults = opts.default !== void 0;\n opts.alias = opts.alias || {};\n opts.string = $6973f06ebfc9a33d$var$toArr(opts.string);\n opts.boolean = $6973f06ebfc9a33d$var$toArr(opts.boolean);\n if (alibi) for(k in opts.alias){\n arr = opts.alias[k] = $6973f06ebfc9a33d$var$toArr(opts.alias[k]);\n for(i = 0; i < arr.length; i++)(opts.alias[arr[i]] = arr.concat(k)).splice(i, 1);\n }\n for(i = opts.boolean.length; i-- > 0;){\n arr = opts.alias[opts.boolean[i]] || [];\n for(j = arr.length; j-- > 0;)opts.boolean.push(arr[j]);\n }\n for(i = opts.string.length; i-- > 0;){\n arr = opts.alias[opts.string[i]] || [];\n for(j = arr.length; j-- > 0;)opts.string.push(arr[j]);\n }\n if (defaults) for(k in opts.default){\n name = typeof opts.default[k];\n arr = opts.alias[k] = opts.alias[k] || [];\n if (opts[name] !== void 0) {\n opts[name].push(k);\n for(i = 0; i < arr.length; i++)opts[name].push(arr[i]);\n }\n }\n const keys = strict ? Object.keys(opts.alias) : [];\n for(i = 0; i < len; i++){\n arg = args[i];\n if (arg === \"--\") {\n out._ = out._.concat(args.slice(++i));\n break;\n }\n for(j = 0; j < arg.length; j++){\n if (arg.charCodeAt(j) !== 45) break; // \"-\"\n }\n if (j === 0) out._.push(arg);\n else if (arg.substring(j, j + 3) === \"no-\") {\n name = arg.substring(j + 3);\n if (strict && !~keys.indexOf(name)) return opts.unknown(arg);\n out[name] = false;\n } else {\n for(idx = j + 1; idx < arg.length; idx++){\n if (arg.charCodeAt(idx) === 61) break; // \"=\"\n }\n name = arg.substring(j, idx);\n val = arg.substring(++idx) || i + 1 === len || (\"\" + args[i + 1]).charCodeAt(0) === 45 || args[++i];\n arr = j === 2 ? [\n name\n ] : name;\n for(idx = 0; idx < arr.length; idx++){\n name = arr[idx];\n if (strict && !~keys.indexOf(name)) return opts.unknown(\"-\".repeat(j) + name);\n $6973f06ebfc9a33d$var$toVal(out, name, idx + 1 < arr.length || val, opts);\n }\n }\n }\n if (defaults) {\n for(k in opts.default)if (out[k] === void 0) out[k] = opts.default[k];\n }\n if (alibi) for(k in out){\n arr = opts.alias[k] || [];\n while(arr.length > 0)out[arr.shift()] = out[k];\n }\n return out;\n}\n\n\n\n\nvar $dAuy6 = parcelRequire(\"dAuy6\");\n\nvar $1o3Gj = parcelRequire(\"1o3Gj\");\n\nvar $dAuy6 = parcelRequire(\"dAuy6\");\n\n\n\nvar $hHq4F = parcelRequire(\"hHq4F\");\n\n\n\n\n\n\n\n\n\nconst $f10e3e407525ada5$var$getErrorPrefix = ({ timedOut: timedOut, timeout: timeout, errorCode: errorCode, signal: signal, signalDescription: signalDescription, exitCode: exitCode, isCanceled: isCanceled })=>{\n if (timedOut) return `timed out after ${timeout} milliseconds`;\n if (isCanceled) return \"was canceled\";\n if (errorCode !== undefined) return `failed with ${errorCode}`;\n if (signal !== undefined) return `was killed with ${signal} (${signalDescription})`;\n if (exitCode !== undefined) return `failed with exit code ${exitCode}`;\n return \"failed\";\n};\nconst $f10e3e407525ada5$export$5a4bb2b1c89bdce7 = ({ stdout: stdout, stderr: stderr, all: all, error: error, signal: signal, exitCode: exitCode, command: command, escapedCommand: escapedCommand, timedOut: timedOut, isCanceled: isCanceled, killed: killed, parsed: { options: { timeout: timeout } } })=>{\n // `signal` and `exitCode` emitted on `spawned.on('exit')` event can be `null`.\n // We normalize them to `undefined`\n exitCode = exitCode === null ? undefined : exitCode;\n signal = signal === null ? undefined : signal;\n const signalDescription = signal === undefined ? undefined : (0, $694b1b79847eac4d$export$c3fcb39d6848c78d)[signal].description;\n const errorCode = error && error.code;\n const prefix = $f10e3e407525ada5$var$getErrorPrefix({\n timedOut: timedOut,\n timeout: timeout,\n errorCode: errorCode,\n signal: signal,\n signalDescription: signalDescription,\n exitCode: exitCode,\n isCanceled: isCanceled\n });\n const execaMessage = `Command ${prefix}: ${command}`;\n const isError = Object.prototype.toString.call(error) === \"[object Error]\";\n const shortMessage = isError ? `${execaMessage}\\n${error.message}` : execaMessage;\n const message = [\n shortMessage,\n stderr,\n stdout\n ].filter(Boolean).join(\"\\n\");\n if (isError) {\n error.originalMessage = error.message;\n error.message = message;\n } else error = new Error(message);\n error.shortMessage = shortMessage;\n error.command = command;\n error.escapedCommand = escapedCommand;\n error.exitCode = exitCode;\n error.signal = signal;\n error.signalDescription = signalDescription;\n error.stdout = stdout;\n error.stderr = stderr;\n if (all !== undefined) error.all = all;\n if (\"bufferedData\" in error) delete error.bufferedData;\n error.failed = true;\n error.timedOut = Boolean(timedOut);\n error.isCanceled = isCanceled;\n error.killed = killed && !timedOut;\n return error;\n};\n\n\nconst $7e79f889e2c85db5$var$aliases = [\n \"stdin\",\n \"stdout\",\n \"stderr\"\n];\nconst $7e79f889e2c85db5$var$hasAlias = (options)=>$7e79f889e2c85db5$var$aliases.some((alias)=>options[alias] !== undefined);\nconst $7e79f889e2c85db5$export$a581401a57fac02e = (options)=>{\n if (!options) return;\n const { stdio: stdio } = options;\n if (stdio === undefined) return $7e79f889e2c85db5$var$aliases.map((alias)=>options[alias]);\n if ($7e79f889e2c85db5$var$hasAlias(options)) throw new Error(`It's not possible to provide \\`stdio\\` in combination with one of ${$7e79f889e2c85db5$var$aliases.map((alias)=>`\\`${alias}\\``).join(\", \")}`);\n if (typeof stdio === \"string\") return stdio;\n if (!Array.isArray(stdio)) throw new TypeError(`Expected \\`stdio\\` to be of type \\`string\\` or \\`Array\\`, got \\`${typeof stdio}\\``);\n const length = Math.max(stdio.length, $7e79f889e2c85db5$var$aliases.length);\n return Array.from({\n length: length\n }, (value, index)=>stdio[index]);\n};\nconst $7e79f889e2c85db5$export$889423b478ae2ba = (options)=>{\n const stdio = $7e79f889e2c85db5$export$a581401a57fac02e(options);\n if (stdio === \"ipc\") return \"ipc\";\n if (stdio === undefined || typeof stdio === \"string\") return [\n stdio,\n stdio,\n stdio,\n \"ipc\"\n ];\n if (stdio.includes(\"ipc\")) return stdio;\n return [\n ...stdio,\n \"ipc\"\n ];\n};\n\n\n\n\nconst $9d60a7612741533b$var$DEFAULT_FORCE_KILL_TIMEOUT = 5000;\nconst $9d60a7612741533b$export$971fa1b57c7f00b = (kill, signal = \"SIGTERM\", options = {})=>{\n const killResult = kill(signal);\n $9d60a7612741533b$var$setKillTimeout(kill, signal, options, killResult);\n return killResult;\n};\nconst $9d60a7612741533b$var$setKillTimeout = (kill, signal, options, killResult)=>{\n if (!$9d60a7612741533b$var$shouldForceKill(signal, options, killResult)) return;\n const timeout = $9d60a7612741533b$var$getForceKillAfterTimeout(options);\n const t = setTimeout(()=>{\n kill(\"SIGKILL\");\n }, timeout);\n // Guarded because there's no `.unref()` when `execa` is used in the renderer\n // process in Electron. This cannot be tested since we don't run tests in\n // Electron.\n // istanbul ignore else\n if (t.unref) t.unref();\n};\nconst $9d60a7612741533b$var$shouldForceKill = (signal, { forceKillAfterTimeout: forceKillAfterTimeout }, killResult)=>$9d60a7612741533b$var$isSigterm(signal) && forceKillAfterTimeout !== false && killResult;\nconst $9d60a7612741533b$var$isSigterm = (signal)=>signal === (0, ($parcel$interopDefault($4umf8$nodeos))).constants.signals.SIGTERM || typeof signal === \"string\" && signal.toUpperCase() === \"SIGTERM\";\nconst $9d60a7612741533b$var$getForceKillAfterTimeout = ({ forceKillAfterTimeout: forceKillAfterTimeout = true })=>{\n if (forceKillAfterTimeout === true) return $9d60a7612741533b$var$DEFAULT_FORCE_KILL_TIMEOUT;\n if (!Number.isFinite(forceKillAfterTimeout) || forceKillAfterTimeout < 0) throw new TypeError(`Expected the \\`forceKillAfterTimeout\\` option to be a non-negative integer, got \\`${forceKillAfterTimeout}\\` (${typeof forceKillAfterTimeout})`);\n return forceKillAfterTimeout;\n};\nconst $9d60a7612741533b$export$667e13cd9b70ca17 = (spawned, context)=>{\n const killResult = spawned.kill();\n if (killResult) context.isCanceled = true;\n};\nconst $9d60a7612741533b$var$timeoutKill = (spawned, signal, reject)=>{\n spawned.kill(signal);\n reject(Object.assign(new Error(\"Timed out\"), {\n timedOut: true,\n signal: signal\n }));\n};\nconst $9d60a7612741533b$export$6bcc98999eb82896 = (spawned, { timeout: timeout, killSignal: killSignal = \"SIGTERM\" }, spawnedPromise)=>{\n if (timeout === 0 || timeout === undefined) return spawnedPromise;\n let timeoutId;\n const timeoutPromise = new Promise((resolve, reject)=>{\n timeoutId = setTimeout(()=>{\n $9d60a7612741533b$var$timeoutKill(spawned, killSignal, reject);\n }, timeout);\n });\n const safeSpawnedPromise = spawnedPromise.finally(()=>{\n clearTimeout(timeoutId);\n });\n return Promise.race([\n timeoutPromise,\n safeSpawnedPromise\n ]);\n};\nconst $9d60a7612741533b$export$3186f8866f616f9f = ({ timeout: timeout })=>{\n if (timeout !== undefined && (!Number.isFinite(timeout) || timeout < 0)) throw new TypeError(`Expected the \\`timeout\\` option to be a non-negative integer, got \\`${timeout}\\` (${typeof timeout})`);\n};\nconst $9d60a7612741533b$export$79fc3056c9ca4ada = async (spawned, { cleanup: cleanup, detached: detached }, timedPromise)=>{\n if (!cleanup || detached) return timedPromise;\n const removeExitHandler = (0, (/*@__PURE__*/$parcel$interopDefault($fe4c43f2e8a7f558$exports)))(()=>{\n spawned.kill();\n });\n return timedPromise.finally(()=>{\n removeExitHandler();\n });\n};\n\n\n\n\n\nconst $fea7e768cb964fee$var$isExecaChildProcess = (target)=>target instanceof (0, $4umf8$nodechild_process.ChildProcess) && typeof target.then === \"function\";\nconst $fea7e768cb964fee$var$pipeToTarget = (spawned, streamName, target)=>{\n if (typeof target === \"string\") {\n spawned[streamName].pipe((0, $4umf8$nodefs.createWriteStream)(target));\n return spawned;\n }\n if ((0, $dc0eb0b18e5448c3$export$b58a61c52edb4f66)(target)) {\n spawned[streamName].pipe(target);\n return spawned;\n }\n if (!$fea7e768cb964fee$var$isExecaChildProcess(target)) throw new TypeError(\"The second argument must be a string, a stream or an Execa child process.\");\n if (!(0, $dc0eb0b18e5448c3$export$b58a61c52edb4f66)(target.stdin)) throw new TypeError(\"The target child process's stdin must be available.\");\n spawned[streamName].pipe(target.stdin);\n return target;\n};\nconst $fea7e768cb964fee$export$14becf8d91886424 = (spawned)=>{\n if (spawned.stdout !== null) spawned.pipeStdout = $fea7e768cb964fee$var$pipeToTarget.bind(undefined, spawned, \"stdout\");\n if (spawned.stderr !== null) spawned.pipeStderr = $fea7e768cb964fee$var$pipeToTarget.bind(undefined, spawned, \"stderr\");\n if (spawned.all !== undefined) spawned.pipeAll = $fea7e768cb964fee$var$pipeToTarget.bind(undefined, spawned, \"all\");\n};\n\n\n\n\n\n\nconst $9a001a5edd77b6d2$var$validateInputOptions = (input)=>{\n if (input !== undefined) throw new TypeError(\"The `input` and `inputFile` options cannot be both set.\");\n};\nconst $9a001a5edd77b6d2$var$getInputSync = ({ input: input, inputFile: inputFile })=>{\n if (typeof inputFile !== \"string\") return input;\n $9a001a5edd77b6d2$var$validateInputOptions(input);\n return (0, $4umf8$nodefs.readFileSync)(inputFile);\n};\nconst $9a001a5edd77b6d2$export$7f2f9b6457412b41 = (options)=>{\n const input = $9a001a5edd77b6d2$var$getInputSync(options);\n if ((0, $dc0eb0b18e5448c3$export$294a92d8f7b3979)(input)) throw new TypeError(\"The `input` option cannot be a stream in sync mode\");\n return input;\n};\nconst $9a001a5edd77b6d2$var$getInput = ({ input: input, inputFile: inputFile })=>{\n if (typeof inputFile !== \"string\") return input;\n $9a001a5edd77b6d2$var$validateInputOptions(input);\n return (0, $4umf8$nodefs.createReadStream)(inputFile);\n};\nconst $9a001a5edd77b6d2$export$412508d679148d5c = (spawned, options)=>{\n const input = $9a001a5edd77b6d2$var$getInput(options);\n if (input === undefined) return;\n if ((0, $dc0eb0b18e5448c3$export$294a92d8f7b3979)(input)) input.pipe(spawned.stdin);\n else spawned.stdin.end(input);\n};\nconst $9a001a5edd77b6d2$export$41f5c0c12dadd6ae = (spawned, { all: all })=>{\n if (!all || !spawned.stdout && !spawned.stderr) return;\n const mixed = (0, (/*@__PURE__*/$parcel$interopDefault($f867eb3c20f83984$exports)))();\n if (spawned.stdout) mixed.add(spawned.stdout);\n if (spawned.stderr) mixed.add(spawned.stderr);\n return mixed;\n};\n// On failure, `result.stdout|stderr|all` should contain the currently buffered stream\nconst $9a001a5edd77b6d2$var$getBufferedData = async (stream, streamPromise)=>{\n // When `buffer` is `false`, `streamPromise` is `undefined` and there is no buffered data to retrieve\n if (!stream || streamPromise === undefined) return;\n stream.destroy();\n try {\n return await streamPromise;\n } catch (error) {\n return error.bufferedData;\n }\n};\nconst $9a001a5edd77b6d2$var$getStreamPromise = (stream, { encoding: encoding, buffer: buffer, maxBuffer: maxBuffer })=>{\n if (!stream || !buffer) return;\n if (encoding) return (0, (/*@__PURE__*/$parcel$interopDefault($d2fd9e7353012e26$exports)))(stream, {\n encoding: encoding,\n maxBuffer: maxBuffer\n });\n return (0, (/*@__PURE__*/$parcel$interopDefault($d2fd9e7353012e26$exports))).buffer(stream, {\n maxBuffer: maxBuffer\n });\n};\nconst $9a001a5edd77b6d2$export$67b768ac9e1c70fa = async ({ stdout: stdout, stderr: stderr, all: all }, { encoding: encoding, buffer: buffer, maxBuffer: maxBuffer }, processDone)=>{\n const stdoutPromise = $9a001a5edd77b6d2$var$getStreamPromise(stdout, {\n encoding: encoding,\n buffer: buffer,\n maxBuffer: maxBuffer\n });\n const stderrPromise = $9a001a5edd77b6d2$var$getStreamPromise(stderr, {\n encoding: encoding,\n buffer: buffer,\n maxBuffer: maxBuffer\n });\n const allPromise = $9a001a5edd77b6d2$var$getStreamPromise(all, {\n encoding: encoding,\n buffer: buffer,\n maxBuffer: maxBuffer * 2\n });\n try {\n return await Promise.all([\n processDone,\n stdoutPromise,\n stderrPromise,\n allPromise\n ]);\n } catch (error) {\n return Promise.all([\n {\n error: error,\n signal: error.signal,\n timedOut: error.timedOut\n },\n $9a001a5edd77b6d2$var$getBufferedData(stdout, stdoutPromise),\n $9a001a5edd77b6d2$var$getBufferedData(stderr, stderrPromise),\n $9a001a5edd77b6d2$var$getBufferedData(all, allPromise)\n ]);\n }\n};\n\n\n// eslint-disable-next-line unicorn/prefer-top-level-await\nconst $abc85486cf0fa6ab$var$nativePromisePrototype = (async ()=>{})().constructor.prototype;\nconst $abc85486cf0fa6ab$var$descriptors = [\n \"then\",\n \"catch\",\n \"finally\"\n].map((property)=>[\n property,\n Reflect.getOwnPropertyDescriptor($abc85486cf0fa6ab$var$nativePromisePrototype, property)\n ]);\nconst $abc85486cf0fa6ab$export$e6eb0007fd542aba = (spawned, promise)=>{\n for (const [property, descriptor] of $abc85486cf0fa6ab$var$descriptors){\n // Starting the main `promise` is deferred to avoid consuming streams\n const value = typeof promise === \"function\" ? (...args)=>Reflect.apply(descriptor.value, promise(), args) : descriptor.value.bind(promise);\n Reflect.defineProperty(spawned, property, {\n ...descriptor,\n value: value\n });\n }\n};\nconst $abc85486cf0fa6ab$export$6e3a9b5342d42997 = (spawned)=>new Promise((resolve, reject)=>{\n spawned.on(\"exit\", (exitCode, signal)=>{\n resolve({\n exitCode: exitCode,\n signal: signal\n });\n });\n spawned.on(\"error\", (error)=>{\n reject(error);\n });\n if (spawned.stdin) spawned.stdin.on(\"error\", (error)=>{\n reject(error);\n });\n });\n\n\n\n\nconst $8919cf03e80b14de$var$normalizeArgs = (file, args = [])=>{\n if (!Array.isArray(args)) return [\n file\n ];\n return [\n file,\n ...args\n ];\n};\nconst $8919cf03e80b14de$var$NO_ESCAPE_REGEXP = /^[\\w.-]+$/;\nconst $8919cf03e80b14de$var$DOUBLE_QUOTES_REGEXP = /\"/g;\nconst $8919cf03e80b14de$var$escapeArg = (arg)=>{\n if (typeof arg !== \"string\" || $8919cf03e80b14de$var$NO_ESCAPE_REGEXP.test(arg)) return arg;\n return `\"${arg.replace($8919cf03e80b14de$var$DOUBLE_QUOTES_REGEXP, '\\\\\"')}\"`;\n};\nconst $8919cf03e80b14de$export$ab3db8fe5ebf3a1 = (file, args)=>$8919cf03e80b14de$var$normalizeArgs(file, args).join(\" \");\nconst $8919cf03e80b14de$export$9d3099014bd914f8 = (file, args)=>$8919cf03e80b14de$var$normalizeArgs(file, args).map((arg)=>$8919cf03e80b14de$var$escapeArg(arg)).join(\" \");\nconst $8919cf03e80b14de$var$SPACES_REGEXP = / +/g;\nconst $8919cf03e80b14de$export$78bcee23e0849f6a = (command)=>{\n const tokens = [];\n for (const token of command.trim().split($8919cf03e80b14de$var$SPACES_REGEXP)){\n // Allow spaces to be escaped by a backslash if not meant as a delimiter\n const previousToken = tokens[tokens.length - 1];\n if (previousToken && previousToken.endsWith(\"\\\\\")) // Merge previous token with current one\n tokens[tokens.length - 1] = `${previousToken.slice(0, -1)} ${token}`;\n else tokens.push(token);\n }\n return tokens;\n};\nconst $8919cf03e80b14de$var$parseExpression = (expression)=>{\n const typeOfExpression = typeof expression;\n if (typeOfExpression === \"string\") return expression;\n if (typeOfExpression === \"number\") return String(expression);\n if (typeOfExpression === \"object\" && expression !== null && !(expression instanceof (0, $4umf8$nodechild_process.ChildProcess)) && \"stdout\" in expression) {\n const typeOfStdout = typeof expression.stdout;\n if (typeOfStdout === \"string\") return expression.stdout;\n if ((0, $4umf8$nodebuffer.Buffer).isBuffer(expression.stdout)) return expression.stdout.toString();\n throw new TypeError(`Unexpected \"${typeOfStdout}\" stdout in template expression`);\n }\n throw new TypeError(`Unexpected \"${typeOfExpression}\" in template expression`);\n};\nconst $8919cf03e80b14de$var$concatTokens = (tokens, nextTokens, isNew)=>isNew || tokens.length === 0 || nextTokens.length === 0 ? [\n ...tokens,\n ...nextTokens\n ] : [\n ...tokens.slice(0, -1),\n `${tokens[tokens.length - 1]}${nextTokens[0]}`,\n ...nextTokens.slice(1)\n ];\nconst $8919cf03e80b14de$var$parseTemplate = ({ templates: templates, expressions: expressions, tokens: tokens, index: index, template: template })=>{\n const templateString = template !== null && template !== void 0 ? template : templates.raw[index];\n const templateTokens = templateString.split($8919cf03e80b14de$var$SPACES_REGEXP).filter(Boolean);\n const newTokens = $8919cf03e80b14de$var$concatTokens(tokens, templateTokens, templateString.startsWith(\" \"));\n if (index === expressions.length) return newTokens;\n const expression = expressions[index];\n const expressionTokens = Array.isArray(expression) ? expression.map((expression)=>$8919cf03e80b14de$var$parseExpression(expression)) : [\n $8919cf03e80b14de$var$parseExpression(expression)\n ];\n return $8919cf03e80b14de$var$concatTokens(newTokens, expressionTokens, templateString.endsWith(\" \"));\n};\nconst $8919cf03e80b14de$export$4a6ee54de9b0f25d = (templates, expressions)=>{\n let tokens = [];\n for (const [index, template] of templates.entries())tokens = $8919cf03e80b14de$var$parseTemplate({\n templates: templates,\n expressions: expressions,\n tokens: tokens,\n index: index,\n template: template\n });\n return tokens;\n};\n\n\n\n\nconst $87acfe4b15b2f9d0$export$38bb3c1fbaa0bdcf = (0, $4umf8$nodeutil.debuglog)(\"execa\").enabled;\nconst $87acfe4b15b2f9d0$var$padField = (field, padding)=>String(field).padStart(padding, \"0\");\nconst $87acfe4b15b2f9d0$var$getTimestamp = ()=>{\n const date = new Date();\n return `${$87acfe4b15b2f9d0$var$padField(date.getHours(), 2)}:${$87acfe4b15b2f9d0$var$padField(date.getMinutes(), 2)}:${$87acfe4b15b2f9d0$var$padField(date.getSeconds(), 2)}.${$87acfe4b15b2f9d0$var$padField(date.getMilliseconds(), 3)}`;\n};\nconst $87acfe4b15b2f9d0$export$3bb886c4c1352118 = (escapedCommand, { verbose: verbose })=>{\n if (!verbose) return;\n (0, ($parcel$interopDefault($4umf8$nodeprocess))).stderr.write(`[${$87acfe4b15b2f9d0$var$getTimestamp()}] ${escapedCommand}\\n`);\n};\n\n\nconst $c87194a583e4cc8b$var$DEFAULT_MAX_BUFFER = 100000000;\nconst $c87194a583e4cc8b$var$getEnv = ({ env: envOption, extendEnv: extendEnv, preferLocal: preferLocal, localDir: localDir, execPath: execPath })=>{\n const env = extendEnv ? {\n ...(0, ($parcel$interopDefault($4umf8$nodeprocess))).env,\n ...envOption\n } : envOption;\n if (preferLocal) return (0, $e525b4839dd67f68$export$340e1fbaac04248b)({\n env: env,\n cwd: localDir,\n execPath: execPath\n });\n return env;\n};\nconst $c87194a583e4cc8b$var$handleArguments = (file, args, options = {})=>{\n const parsed = (0, (/*@__PURE__*/$parcel$interopDefault($f22b5c1f790abcb5$exports)))._parse(file, args, options);\n file = parsed.command;\n args = parsed.args;\n options = parsed.options;\n options = {\n maxBuffer: $c87194a583e4cc8b$var$DEFAULT_MAX_BUFFER,\n buffer: true,\n stripFinalNewline: true,\n extendEnv: true,\n preferLocal: false,\n localDir: options.cwd || (0, ($parcel$interopDefault($4umf8$nodeprocess))).cwd(),\n execPath: (0, ($parcel$interopDefault($4umf8$nodeprocess))).execPath,\n encoding: \"utf8\",\n reject: true,\n cleanup: true,\n all: false,\n windowsHide: true,\n verbose: (0, $87acfe4b15b2f9d0$export$38bb3c1fbaa0bdcf),\n ...options\n };\n options.env = $c87194a583e4cc8b$var$getEnv(options);\n options.stdio = (0, $7e79f889e2c85db5$export$a581401a57fac02e)(options);\n if ((0, ($parcel$interopDefault($4umf8$nodeprocess))).platform === \"win32\" && (0, ($parcel$interopDefault($4umf8$nodepath))).basename(file, \".exe\") === \"cmd\") // #116\n args.unshift(\"/q\");\n return {\n file: file,\n args: args,\n options: options,\n parsed: parsed\n };\n};\nconst $c87194a583e4cc8b$var$handleOutput = (options, value, error)=>{\n if (typeof value !== \"string\" && !(0, $4umf8$nodebuffer.Buffer).isBuffer(value)) // When `execaSync()` errors, we normalize it to '' to mimic `execa()`\n return error === undefined ? undefined : \"\";\n if (options.stripFinalNewline) return (0, $e53d23f0d89b737e$export$2e2bcd8739ae039)(value);\n return value;\n};\nfunction $c87194a583e4cc8b$export$db6b1668e3758717(file, args, options) {\n const parsed = $c87194a583e4cc8b$var$handleArguments(file, args, options);\n const command = (0, $8919cf03e80b14de$export$ab3db8fe5ebf3a1)(file, args);\n const escapedCommand = (0, $8919cf03e80b14de$export$9d3099014bd914f8)(file, args);\n (0, $87acfe4b15b2f9d0$export$3bb886c4c1352118)(escapedCommand, parsed.options);\n (0, $9d60a7612741533b$export$3186f8866f616f9f)(parsed.options);\n let spawned;\n try {\n spawned = (0, ($parcel$interopDefault($4umf8$nodechild_process))).spawn(parsed.file, parsed.args, parsed.options);\n } catch (error) {\n // Ensure the returned error is always both a promise and a child process\n const dummySpawned = new (0, ($parcel$interopDefault($4umf8$nodechild_process))).ChildProcess();\n const errorPromise = Promise.reject((0, $f10e3e407525ada5$export$5a4bb2b1c89bdce7)({\n error: error,\n stdout: \"\",\n stderr: \"\",\n all: \"\",\n command: command,\n escapedCommand: escapedCommand,\n parsed: parsed,\n timedOut: false,\n isCanceled: false,\n killed: false\n }));\n (0, $abc85486cf0fa6ab$export$e6eb0007fd542aba)(dummySpawned, errorPromise);\n return dummySpawned;\n }\n const spawnedPromise = (0, $abc85486cf0fa6ab$export$6e3a9b5342d42997)(spawned);\n const timedPromise = (0, $9d60a7612741533b$export$6bcc98999eb82896)(spawned, parsed.options, spawnedPromise);\n const processDone = (0, $9d60a7612741533b$export$79fc3056c9ca4ada)(spawned, parsed.options, timedPromise);\n const context = {\n isCanceled: false\n };\n spawned.kill = (0, $9d60a7612741533b$export$971fa1b57c7f00b).bind(null, spawned.kill.bind(spawned));\n spawned.cancel = (0, $9d60a7612741533b$export$667e13cd9b70ca17).bind(null, spawned, context);\n const handlePromise = async ()=>{\n const [{ error: error, exitCode: exitCode, signal: signal, timedOut: timedOut }, stdoutResult, stderrResult, allResult] = await (0, $9a001a5edd77b6d2$export$67b768ac9e1c70fa)(spawned, parsed.options, processDone);\n const stdout = $c87194a583e4cc8b$var$handleOutput(parsed.options, stdoutResult);\n const stderr = $c87194a583e4cc8b$var$handleOutput(parsed.options, stderrResult);\n const all = $c87194a583e4cc8b$var$handleOutput(parsed.options, allResult);\n if (error || exitCode !== 0 || signal !== null) {\n const returnedError = (0, $f10e3e407525ada5$export$5a4bb2b1c89bdce7)({\n error: error,\n exitCode: exitCode,\n signal: signal,\n stdout: stdout,\n stderr: stderr,\n all: all,\n command: command,\n escapedCommand: escapedCommand,\n parsed: parsed,\n timedOut: timedOut,\n isCanceled: context.isCanceled || (parsed.options.signal ? parsed.options.signal.aborted : false),\n killed: spawned.killed\n });\n if (!parsed.options.reject) return returnedError;\n throw returnedError;\n }\n return {\n command: command,\n escapedCommand: escapedCommand,\n exitCode: 0,\n stdout: stdout,\n stderr: stderr,\n all: all,\n failed: false,\n timedOut: false,\n isCanceled: false,\n killed: false\n };\n };\n const handlePromiseOnce = (0, $b5bce385de6ade9f$export$2e2bcd8739ae039)(handlePromise);\n (0, $9a001a5edd77b6d2$export$412508d679148d5c)(spawned, parsed.options);\n spawned.all = (0, $9a001a5edd77b6d2$export$41f5c0c12dadd6ae)(spawned, parsed.options);\n (0, $fea7e768cb964fee$export$14becf8d91886424)(spawned);\n (0, $abc85486cf0fa6ab$export$e6eb0007fd542aba)(spawned, handlePromiseOnce);\n return spawned;\n}\nfunction $c87194a583e4cc8b$export$28823a701bb5a12d(file, args, options) {\n const parsed = $c87194a583e4cc8b$var$handleArguments(file, args, options);\n const command = (0, $8919cf03e80b14de$export$ab3db8fe5ebf3a1)(file, args);\n const escapedCommand = (0, $8919cf03e80b14de$export$9d3099014bd914f8)(file, args);\n (0, $87acfe4b15b2f9d0$export$3bb886c4c1352118)(escapedCommand, parsed.options);\n const input = (0, $9a001a5edd77b6d2$export$7f2f9b6457412b41)(parsed.options);\n let result;\n try {\n result = (0, ($parcel$interopDefault($4umf8$nodechild_process))).spawnSync(parsed.file, parsed.args, {\n ...parsed.options,\n input: input\n });\n } catch (error) {\n throw (0, $f10e3e407525ada5$export$5a4bb2b1c89bdce7)({\n error: error,\n stdout: \"\",\n stderr: \"\",\n all: \"\",\n command: command,\n escapedCommand: escapedCommand,\n parsed: parsed,\n timedOut: false,\n isCanceled: false,\n killed: false\n });\n }\n const stdout = $c87194a583e4cc8b$var$handleOutput(parsed.options, result.stdout, result.error);\n const stderr = $c87194a583e4cc8b$var$handleOutput(parsed.options, result.stderr, result.error);\n if (result.error || result.status !== 0 || result.signal !== null) {\n const error = (0, $f10e3e407525ada5$export$5a4bb2b1c89bdce7)({\n stdout: stdout,\n stderr: stderr,\n error: result.error,\n signal: result.signal,\n exitCode: result.status,\n command: command,\n escapedCommand: escapedCommand,\n parsed: parsed,\n timedOut: result.error && result.error.code === \"ETIMEDOUT\",\n isCanceled: false,\n killed: result.signal !== null\n });\n if (!parsed.options.reject) return error;\n throw error;\n }\n return {\n command: command,\n escapedCommand: escapedCommand,\n exitCode: 0,\n stdout: stdout,\n stderr: stderr,\n failed: false,\n timedOut: false,\n isCanceled: false,\n killed: false\n };\n}\nconst $c87194a583e4cc8b$var$normalizeScriptStdin = ({ input: input, inputFile: inputFile, stdio: stdio })=>input === undefined && inputFile === undefined && stdio === undefined ? {\n stdin: \"inherit\"\n } : {};\nconst $c87194a583e4cc8b$var$normalizeScriptOptions = (options = {})=>({\n preferLocal: true,\n ...$c87194a583e4cc8b$var$normalizeScriptStdin(options),\n ...options\n });\nfunction $c87194a583e4cc8b$var$create$(options) {\n function $(templatesOrOptions, ...expressions) {\n if (!Array.isArray(templatesOrOptions)) return $c87194a583e4cc8b$var$create$({\n ...options,\n ...templatesOrOptions\n });\n const [file, ...args] = (0, $8919cf03e80b14de$export$4a6ee54de9b0f25d)(templatesOrOptions, expressions);\n return $c87194a583e4cc8b$export$db6b1668e3758717(file, args, $c87194a583e4cc8b$var$normalizeScriptOptions(options));\n }\n $.sync = (templates, ...expressions)=>{\n if (!Array.isArray(templates)) throw new TypeError(\"Please use $(options).sync`command` instead of $.sync(options)`command`.\");\n const [file, ...args] = (0, $8919cf03e80b14de$export$4a6ee54de9b0f25d)(templates, expressions);\n return $c87194a583e4cc8b$export$28823a701bb5a12d(file, args, $c87194a583e4cc8b$var$normalizeScriptOptions(options));\n };\n return $;\n}\nconst $c87194a583e4cc8b$export$3d8c2f653ac9d0b9 = $c87194a583e4cc8b$var$create$();\nfunction $c87194a583e4cc8b$export$eb9ed1222071f2f6(command, options) {\n const [file, ...args] = (0, $8919cf03e80b14de$export$78bcee23e0849f6a)(command);\n return $c87194a583e4cc8b$export$db6b1668e3758717(file, args, options);\n}\nfunction $c87194a583e4cc8b$export$5c60dbe76a54db4(command, options) {\n const [file, ...args] = (0, $8919cf03e80b14de$export$78bcee23e0849f6a)(command);\n return $c87194a583e4cc8b$export$28823a701bb5a12d(file, args, options);\n}\nfunction $c87194a583e4cc8b$export$c004ac68fdb98119(scriptPath, args, options = {}) {\n if (args && !Array.isArray(args) && typeof args === \"object\") {\n options = args;\n args = [];\n }\n const stdio = (0, $7e79f889e2c85db5$export$889423b478ae2ba)(options);\n const defaultExecArgv = (0, ($parcel$interopDefault($4umf8$nodeprocess))).execArgv.filter((arg)=>!arg.startsWith(\"--inspect\"));\n const { nodePath: nodePath = (0, ($parcel$interopDefault($4umf8$nodeprocess))).execPath, nodeOptions: nodeOptions = defaultExecArgv } = options;\n return $c87194a583e4cc8b$export$db6b1668e3758717(nodePath, [\n ...nodeOptions,\n scriptPath,\n ...Array.isArray(args) ? args : []\n ], {\n ...options,\n stdin: undefined,\n stdout: undefined,\n stderr: undefined,\n stdio: stdio,\n shell: false\n });\n}\n\n\n\n/** The cached powershell path */ let $7826d3c45b949ee1$var$powershell;\nfunction $7826d3c45b949ee1$export$43324456a02f71b0(command, startupFlags = [\n \"-NoProfile\",\n \"-NoLogo\",\n \"-NonInteractive\"\n], execOptions = {\n stdio: \"inherit\"\n}) {\n return $c87194a583e4cc8b$export$db6b1668e3758717($7826d3c45b949ee1$export$4dfdd3964d242d20(), [\n ...startupFlags,\n \"-c\",\n command\n ], execOptions);\n}\nfunction $7826d3c45b949ee1$export$395ec453f890f6a3(command, startupFlags = [\n \"-NoProfile\",\n \"-NoLogo\",\n \"-NonInteractive\"\n], execOptions = {\n stdio: \"inherit\"\n}) {\n return $c87194a583e4cc8b$export$28823a701bb5a12d($7826d3c45b949ee1$export$4dfdd3964d242d20(), [\n ...startupFlags,\n \"-c\",\n command\n ], execOptions);\n}\nfunction $7826d3c45b949ee1$export$4dfdd3964d242d20() {\n if ($7826d3c45b949ee1$var$powershell === undefined) {\n const maybePwsh = (0, (/*@__PURE__*/$parcel$interopDefault($71cfef4812d1fa23$exports))).sync(\"pwsh\", {\n nothrow: true\n });\n if (maybePwsh !== null) $7826d3c45b949ee1$var$powershell = maybePwsh;\n const maybePowerShell = (0, (/*@__PURE__*/$parcel$interopDefault($71cfef4812d1fa23$exports))).sync(\"powershell\", {\n nothrow: true\n });\n if (maybePowerShell !== null) $7826d3c45b949ee1$var$powershell = maybePowerShell;\n }\n if ($7826d3c45b949ee1$var$powershell === undefined) throw new Error(\"Could not find powershell\");\n return $7826d3c45b949ee1$var$powershell;\n}\n\n\n\nvar $ab523b404c27a0fe$exports = {};\n\n// to detect on with os user had used path.resolve(...)\nconst $ab523b404c27a0fe$var$is_posix_os = $4umf8$os.platform() !== \"win32\";\nconst $ab523b404c27a0fe$var$version = $4umf8$os.release();\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 $ab523b404c27a0fe$var$windows_version_regex = /(\\d+\\.\\d+)\\.(\\d+)/;\nconst $ab523b404c27a0fe$var$should_not_escape = (major_release = \"\", os_build = \"\")=>/1\\d+\\.\\d+/.test(major_release) && Number(os_build) >= 17134.1184;\n$ab523b404c27a0fe$exports = function(given_path) {\n return $ab523b404c27a0fe$var$is_posix_os ? given_path.replace(/(\\s+)/g, \"\\\\$1\") : $ab523b404c27a0fe$var$should_not_escape(...$ab523b404c27a0fe$var$windows_version_regex.exec($ab523b404c27a0fe$var$version).splice(1)) ? given_path : given_path.replace(/(\\s+)/g, \"%20\");\n};\n\n\n\nvar $ebf0a72c98c686ec$exports = {};\n\n// Generated by CoffeeScript 1.10.0\n(function() {\n var regexEscape, reverse;\n regexEscape = (parcelRequire(\"8CJZb\"));\n reverse = function(s) {\n return s.split(\"\").reverse().join(\"\");\n };\n $ebf0a72c98c686ec$exports = function(s, chars, escapeChar) {\n var regex;\n if (chars == null) chars = \"'\";\n if (escapeChar == null) escapeChar = \"\\\\\";\n if (typeof s !== \"string\") return s;\n regex = new RegExp(\"([\" + regexEscape(chars) + \"])(?!\" + regexEscape(escapeChar) + \")\", \"g\");\n return reverse(reverse(s).replace(regex, \"$1\" + escapeChar));\n };\n}).call($ebf0a72c98c686ec$exports);\n\n\n\nvar $6t4SD = parcelRequire(\"6t4SD\");\nconst $fcca2ee3cb52e97b$var$defaultAddEnvOptions = {\n shouldEscapeSpace: false,\n shouldAddOnlyIfNotDefined: false\n};\nasync function $fcca2ee3cb52e97b$export$f63d3080ce25e0fd(name, valGiven, options = $fcca2ee3cb52e97b$var$defaultAddEnvOptions) {\n const val = $fcca2ee3cb52e97b$var$escapeString(valGiven !== null && valGiven !== void 0 ? valGiven : \"\", options.shouldEscapeSpace);\n try {\n if (0, $dAuy6.GITHUB_ACTIONS) try {\n if (options.shouldAddOnlyIfNotDefined) {\n if (process.env[name] !== undefined) {\n (0, $1o3Gj.info)(`Environment variable ${name} is already defined. Skipping.`);\n return;\n }\n }\n (0, $1o3Gj.exportVariable)(name, val);\n } catch (err) {\n (0, $hHq4F.error)(err);\n await $fcca2ee3cb52e97b$var$addEnvSystem(name, val, options);\n }\n else await $fcca2ee3cb52e97b$var$addEnvSystem(name, val, options);\n } catch (err) {\n (0, $hHq4F.error)(err);\n (0, $1o3Gj.setFailed)(`Failed to export environment variable ${name}=${val}. You should add it manually.`);\n }\n}\nfunction $fcca2ee3cb52e97b$var$escapeString(valGiven, shouldEscapeSpace = false) {\n const spaceEscaped = shouldEscapeSpace ? (0, (/*@__PURE__*/$parcel$interopDefault($ab523b404c27a0fe$exports)))(valGiven) : valGiven;\n return (0, (/*@__PURE__*/$parcel$interopDefault($ebf0a72c98c686ec$exports)))(spaceEscaped, '\"', \"\\\\\");\n}\nconst $fcca2ee3cb52e97b$var$ignoredPaths = [\n /\\/usr\\/bin\\/?/,\n /\\/usr\\/local\\/bin\\/?/\n];\n/** Skip adding /usr/bin to PATH if it is already there */ function $fcca2ee3cb52e97b$var$isIgnoredPath(path) {\n if ($fcca2ee3cb52e97b$var$ignoredPaths.some((checkedPath)=>checkedPath.test(path))) {\n var _process_env_PATH;\n var _process_env_PATH_split;\n const paths = (_process_env_PATH_split = (_process_env_PATH = process.env.PATH) === null || _process_env_PATH === void 0 ? void 0 : _process_env_PATH.split((0, $4umf8$path.delimiter))) !== null && _process_env_PATH_split !== void 0 ? _process_env_PATH_split : [];\n return paths.includes(path);\n }\n return false;\n}\nasync function $fcca2ee3cb52e97b$export$4c25481b843feb0b(path) {\n if ($fcca2ee3cb52e97b$var$isIgnoredPath(path)) return;\n process.env.PATH = `${path}${0, $4umf8$path.delimiter}${process.env.PATH}`;\n try {\n if (0, $dAuy6.GITHUB_ACTIONS) try {\n (0, $1o3Gj.addPath)(path);\n } catch (err) {\n (0, $hHq4F.error)(err);\n await $fcca2ee3cb52e97b$var$addPathSystem(path);\n }\n else await $fcca2ee3cb52e97b$var$addPathSystem(path);\n } catch (err) {\n (0, $hHq4F.error)(err);\n (0, $1o3Gj.setFailed)(`Failed to add ${path} to the percistent PATH. You should add it manually.`);\n }\n}\nconst $fcca2ee3cb52e97b$export$1bbbc3a810c5799d = (0, $f19d14aa12f0fb90$export$8312d9eeba321950)(\".cpprc\");\nasync function $fcca2ee3cb52e97b$var$addEnvSystem(name, valGiven, options) {\n const val = valGiven !== null && valGiven !== void 0 ? valGiven : \"\";\n switch(process.platform){\n case \"win32\":\n if (options.shouldAddOnlyIfNotDefined) {\n if (process.env[name] !== undefined) {\n (0, $1o3Gj.info)(`Environment variable ${name} is already defined. Skipping.`);\n return;\n }\n }\n // We do not use `execaSync(`setx PATH \"${path};%PATH%\"`)` because of its character limit\n await (0, $7826d3c45b949ee1$export$43324456a02f71b0)(`[Environment]::SetEnvironmentVariable('${name}', '${val}', \"User\")`);\n (0, $1o3Gj.info)(`${name}='${val}' was set in the environment.`);\n return;\n case \"linux\":\n case \"darwin\":\n await $fcca2ee3cb52e97b$export$bd1dffd792f43c41();\n if (options.shouldAddOnlyIfNotDefined) {\n (0, $4umf8$fs.appendFileSync)($fcca2ee3cb52e97b$export$1bbbc3a810c5799d, `\\nif [ -z \"\\${${name}}\" ]; then export ${name}=\"${val}\"; fi\\n`);\n (0, $1o3Gj.info)(`if not defined ${name} then ${name}=\"${val}\" was added to \"${$fcca2ee3cb52e97b$export$1bbbc3a810c5799d}`);\n } else {\n (0, $4umf8$fs.appendFileSync)($fcca2ee3cb52e97b$export$1bbbc3a810c5799d, `\\nexport ${name}=\"${val}\"\\n`);\n (0, $1o3Gj.info)(`${name}=\"${val}\" was added to \"${$fcca2ee3cb52e97b$export$1bbbc3a810c5799d}`);\n }\n return;\n default:\n }\n process.env[name] = val;\n}\nasync function $fcca2ee3cb52e97b$var$addPathSystem(path) {\n switch(process.platform){\n case \"win32\":\n // We do not use `execaSync(`setx PATH \"${path};%PATH%\"`)` because of its character limit and also because %PATH% is different for user and system\n await (0, $7826d3c45b949ee1$export$43324456a02f71b0)(`$USER_PATH=([Environment]::GetEnvironmentVariable(\"PATH\", \"User\")); [Environment]::SetEnvironmentVariable(\"PATH\", \"${path};$USER_PATH\", \"User\")`);\n (0, $1o3Gj.info)(`\"${path}\" was added to the PATH.`);\n return;\n case \"linux\":\n case \"darwin\":\n await $fcca2ee3cb52e97b$export$bd1dffd792f43c41();\n (0, $4umf8$fs.appendFileSync)($fcca2ee3cb52e97b$export$1bbbc3a810c5799d, `\\nexport PATH=\"${path}:$PATH\"\\n`);\n (0, $1o3Gj.info)(`\"${path}\" was added to \"${$fcca2ee3cb52e97b$export$1bbbc3a810c5799d}\"`);\n return;\n default:\n return;\n }\n}\n/* eslint-disable require-atomic-updates */ let $fcca2ee3cb52e97b$var$setupCppInProfile_called = false;\nasync function $fcca2ee3cb52e97b$export$bd1dffd792f43c41() {\n if ($fcca2ee3cb52e97b$var$setupCppInProfile_called) return;\n // a variable that prevents source_cpprc from being called from .bashrc and .profile\n const source_cpprc_str = \"# Automatically Generated by setup-cpp\\nexport SOURCE_CPPRC=0\";\n if (await (0, $6t4SD.pathExists)($fcca2ee3cb52e97b$export$1bbbc3a810c5799d)) {\n const cpprc_content = (0, $4umf8$fs.readFileSync)($fcca2ee3cb52e97b$export$1bbbc3a810c5799d, \"utf8\");\n if (cpprc_content.includes(source_cpprc_str)) // already executed setupCppInProfile\n return;\n }\n (0, $4umf8$fs.appendFileSync)($fcca2ee3cb52e97b$export$1bbbc3a810c5799d, `\\n${source_cpprc_str}\\n`);\n (0, $1o3Gj.info)(`Added ${source_cpprc_str} to ${$fcca2ee3cb52e97b$export$1bbbc3a810c5799d}`);\n // source cpprc in bashrc/profile\n const source_cpprc_string = `\\n# source .cpprc if SOURCE_CPPRC is not set to 0\\nif [[ \"$SOURCE_CPPRC\" != 0 && -f \"${$fcca2ee3cb52e97b$export$1bbbc3a810c5799d}\" ]]; then source \"${$fcca2ee3cb52e97b$export$1bbbc3a810c5799d}\"; fi\\n`;\n try {\n // source cpprc in .profile\n const profile_path = (0, $f19d14aa12f0fb90$export$8312d9eeba321950)(\".profile\");\n (0, $4umf8$fs.appendFileSync)(profile_path, source_cpprc_string);\n (0, $1o3Gj.info)(`${source_cpprc_string} was added to ${profile_path}`);\n // source cpprc in .bashrc too\n const bashrc_path = (0, $f19d14aa12f0fb90$export$8312d9eeba321950)(\".bashrc\");\n (0, $4umf8$fs.appendFileSync)(bashrc_path, source_cpprc_string);\n (0, $1o3Gj.info)(`${source_cpprc_string} was added to ${bashrc_path}`);\n } catch (err) {\n (0, $hHq4F.warning)(`Failed to add ${source_cpprc_string} to .profile or .bashrc. You should add it manually: ${err}`);\n }\n $fcca2ee3cb52e97b$var$setupCppInProfile_called = true;\n}\nasync function $fcca2ee3cb52e97b$export$ca46151966bee7ba() {\n if (await (0, $6t4SD.pathExists)($fcca2ee3cb52e97b$export$1bbbc3a810c5799d)) {\n const entries = (0, $4umf8$fs.readFileSync)($fcca2ee3cb52e97b$export$1bbbc3a810c5799d, \"utf-8\").split(\"\\n\");\n const unique_entries = [\n ...new Set(entries.reverse())\n ].reverse() // remove duplicates, keeping the latest entry\n ;\n (0, $4umf8$fs.writeFileSync)($fcca2ee3cb52e97b$export$1bbbc3a810c5799d, unique_entries.join(\"\\n\"));\n await (0, $bf272871df54e58d$export$4718e061a205eab)($fcca2ee3cb52e97b$export$1bbbc3a810c5799d);\n }\n}\n\n\n\nvar $6t4SD = parcelRequire(\"6t4SD\");\n\n\n\nvar $f44Uw = parcelRequire(\"f44Uw\");\n\nvar $hHq4F = parcelRequire(\"hHq4F\");\n\nconst { appendFile: $4574e4c050df58da$var$appendFile } = (0, $4umf8$fs.promises);\n/* eslint-disable require-atomic-updates */ let $4574e4c050df58da$var$didUpdate = false;\nlet $4574e4c050df58da$var$didInit = false;\nconst $4574e4c050df58da$var$retryErrors = [\n \"E: Could not get lock\",\n \"dpkg: error processing archive\",\n \"dpkg: error: dpkg status database is locked by another process\"\n];\nasync function $4574e4c050df58da$export$d73dc343f5abf26(packages, update = false) {\n const apt = $4574e4c050df58da$var$getApt();\n for (const { name: name, version: version } of packages)(0, $hHq4F.info)(`Installing ${name} ${version !== null && version !== void 0 ? version : \"\"} via ${apt}`);\n process.env.DEBIAN_FRONTEND = \"noninteractive\";\n if (!$4574e4c050df58da$var$didUpdate || update) {\n $4574e4c050df58da$var$updateRepos(apt);\n $4574e4c050df58da$var$didUpdate = true;\n }\n if (!$4574e4c050df58da$var$didInit) {\n await $4574e4c050df58da$var$initApt(apt);\n $4574e4c050df58da$var$didInit = true;\n }\n const allRepositories = [\n ...new Set(packages.flatMap((pack)=>{\n var _pack_repositories;\n return (_pack_repositories = pack.repositories) !== null && _pack_repositories !== void 0 ? _pack_repositories : [];\n }))\n ];\n if (allRepositories.length !== 0) {\n for (const repo of allRepositories)// eslint-disable-next-line no-await-in-loop\n (0, $c93e0191c47e5f34$export$58f152936f209932)(\"add-apt-repository\", [\n \"-y\",\n repo\n ]);\n $4574e4c050df58da$var$updateRepos(apt);\n }\n const aptArgs = await Promise.all(packages.map((pack)=>$4574e4c050df58da$var$getAptArg(pack.name, pack.version)));\n try {\n (0, $c93e0191c47e5f34$export$58f152936f209932)(apt, [\n \"install\",\n \"--fix-broken\",\n \"-y\",\n ...aptArgs\n ]);\n } catch (err) {\n if (\"stderr\" in err) {\n const stderr = err.stderr;\n if ($4574e4c050df58da$var$retryErrors.some((error)=>stderr.includes(error))) {\n (0, $hHq4F.warning)(`Failed to install packages ${aptArgs}. Retrying...`);\n (0, $c93e0191c47e5f34$export$58f152936f209932)(apt, [\n \"install\",\n \"--fix-broken\",\n \"-y\",\n ...aptArgs\n ]);\n }\n } else throw err;\n }\n return {\n binDir: \"/usr/bin/\"\n };\n}\nvar $4574e4c050df58da$export$e6e2160a140a491e;\n(function(AptPackageType) {\n AptPackageType[AptPackageType[\"NameDashVersion\"] = 0] = \"NameDashVersion\";\n AptPackageType[AptPackageType[\"NameEqualsVersion\"] = 1] = \"NameEqualsVersion\";\n AptPackageType[AptPackageType[\"Name\"] = 2] = \"Name\";\n AptPackageType[AptPackageType[\"None\"] = 3] = \"None\";\n})($4574e4c050df58da$export$e6e2160a140a491e || ($4574e4c050df58da$export$e6e2160a140a491e = {}));\nasync function $4574e4c050df58da$export$41cba414fa0bee03(name, version) {\n if (version !== undefined && version !== \"\") {\n const { stdout: stdout } = await (0, $24f062d29362ada6$export$db6b1668e3758717)(\"apt-cache\", [\n \"search\",\n \"--names-only\",\n `^${(0, $f44Uw.default)(name)}-${(0, $f44Uw.default)(version)}$`\n ]);\n if (stdout.trim() !== \"\") return 0;\n try {\n // check if apt-get show can find the version\n // eslint-disable-next-line @typescript-eslint/no-shadow\n const { stdout: stdout } = await (0, $24f062d29362ada6$export$db6b1668e3758717)(\"apt-cache\", [\n \"show\",\n `${name}=${version}`\n ]);\n if (stdout.trim() === \"\") return 1;\n } catch {\n // ignore\n }\n }\n try {\n const { stdout: showStdout } = await (0, $24f062d29362ada6$export$db6b1668e3758717)(\"apt-cache\", [\n \"show\",\n name\n ]);\n if (showStdout.trim() !== \"\") return 2;\n } catch {\n // ignore\n }\n return 3;\n}\nasync function $4574e4c050df58da$var$getAptArg(name, version) {\n const package_type = await $4574e4c050df58da$export$41cba414fa0bee03(name, version);\n switch(package_type){\n case 0:\n return `${name}-${version}`;\n case 1:\n return `${name}=${version}`;\n case 2:\n return name;\n case 3:\n default:\n throw new Error(`Could not find package ${name} ${version !== null && version !== void 0 ? version : \"\"}`);\n }\n}\nfunction $4574e4c050df58da$export$89548d91e84ae1a1() {\n return (0, (/*@__PURE__*/$parcel$interopDefault($71cfef4812d1fa23$exports))).sync(\"nala\", {\n nothrow: true\n }) !== null;\n}\nfunction $4574e4c050df58da$var$getApt() {\n let apt;\n if ($4574e4c050df58da$export$89548d91e84ae1a1()) apt = \"nala\";\n else apt = \"apt-get\";\n return apt;\n}\nfunction $4574e4c050df58da$var$updateRepos(apt) {\n (0, $c93e0191c47e5f34$export$58f152936f209932)(apt, apt !== \"nala\" ? [\n \"update\",\n \"-y\"\n ] : [\n \"update\"\n ]);\n}\n/** Install apt utils and certificates (usually missing from docker containers) */ async function $4574e4c050df58da$var$initApt(apt) {\n (0, $c93e0191c47e5f34$export$58f152936f209932)(apt, [\n \"install\",\n \"--fix-broken\",\n \"-y\",\n \"software-properties-common\",\n \"apt-utils\",\n \"ca-certificates\",\n \"gnupg\"\n ]);\n const promises = [\n $4574e4c050df58da$export$11aa10c05ada0934([\n \"3B4FE6ACC0B21F32\",\n \"40976EAF437D05B5\"\n ], \"setup-cpp-ubuntu-archive.gpg\"),\n $4574e4c050df58da$export$11aa10c05ada0934([\n \"1E9377A2BA9EF27F\"\n ], \"launchpad-toolchain.gpg\")\n ];\n if (apt === \"nala\") // enable utf8 otherwise it fails because of the usage of ASCII encoding\n promises.push((0, $fcca2ee3cb52e97b$export$f63d3080ce25e0fd)(\"LANG\", \"C.UTF-8\", {\n shouldAddOnlyIfNotDefined: true\n }), (0, $fcca2ee3cb52e97b$export$f63d3080ce25e0fd)(\"LC_ALL\", \"C.UTF-8\", {\n shouldAddOnlyIfNotDefined: true\n }));\n await Promise.all(promises);\n}\nfunction $4574e4c050df58da$var$initGpg() {\n (0, $c93e0191c47e5f34$export$58f152936f209932)(\"gpg\", [\n \"-k\"\n ]);\n}\nasync function $4574e4c050df58da$export$11aa10c05ada0934(keys, name, server = \"keyserver.ubuntu.com\") {\n try {\n const fileName = `/etc/apt/trusted.gpg.d/${name}`;\n if (!await (0, $6t4SD.pathExists)(fileName)) {\n $4574e4c050df58da$var$initGpg();\n await Promise.all(keys.map(async (key)=>{\n await (0, $c93e0191c47e5f34$export$351270479e2eef26)(\"gpg\", [\n \"--no-default-keyring\",\n \"--keyring\",\n `gnupg-ring:${fileName}`,\n \"--keyserver\",\n server,\n \"--recv-keys\",\n key\n ]);\n await (0, $c93e0191c47e5f34$export$351270479e2eef26)(\"chmod\", [\n \"644\",\n fileName\n ]);\n }));\n }\n return fileName;\n } catch (err) {\n (0, $hHq4F.warning)(`Failed to add apt key via server ${server}: ${err}`);\n return undefined;\n }\n}\nasync function $4574e4c050df58da$export$7fb1a688af1305f0(name, url) {\n const fileName = `/etc/apt/trusted.gpg.d/${name}`;\n if (!await (0, $6t4SD.pathExists)(fileName)) {\n $4574e4c050df58da$var$initGpg();\n await $4574e4c050df58da$export$d73dc343f5abf26([\n {\n name: \"curl\"\n },\n {\n name: \"ca-certificates\"\n }\n ], undefined);\n await (0, $24f062d29362ada6$export$db6b1668e3758717)(\"curl\", [\n \"-s\",\n url,\n \"-o\",\n `/tmp/${name}`\n ]);\n (0, $c93e0191c47e5f34$export$58f152936f209932)(\"gpg\", [\n \"--no-default-keyring\",\n \"--keyring\",\n `gnupg-ring:${fileName}`,\n \"--import\",\n `/tmp/${name}`\n ]);\n (0, $c93e0191c47e5f34$export$58f152936f209932)(\"chmod\", [\n \"644\",\n fileName\n ]);\n }\n return fileName;\n}\nasync function $4574e4c050df58da$export$6fe6436bd9f53d02(name, path, priority = 40) {\n if (0, $dAuy6.GITHUB_ACTIONS) return (0, $c93e0191c47e5f34$export$351270479e2eef26)(\"update-alternatives\", [\n \"--install\",\n `/usr/bin/${name}`,\n name,\n path,\n priority.toString()\n ]);\n else {\n await (0, $fcca2ee3cb52e97b$export$bd1dffd792f43c41)();\n return $4574e4c050df58da$var$appendFile((0, $fcca2ee3cb52e97b$export$1bbbc3a810c5799d), `\\nif [ $UID -eq 0 ]; then update-alternatives --install /usr/bin/${name} ${name} ${path} ${priority}; fi\\n`);\n }\n}\nasync function $4574e4c050df58da$export$ec2e4deaa1231ecf(regexp) {\n try {\n // check if a package matching the regexp is installed\n const { stdout: stdout } = await (0, $24f062d29362ada6$export$db6b1668e3758717)(\"dpkg\", [\n \"-l\",\n regexp\n ]);\n const lines = stdout.split(\"\\n\");\n // check if the output contains any lines that start with \"ii\"\n return lines.some((line)=>line.startsWith(\"ii\"));\n } catch {\n return false;\n }\n}\n\n\n/* eslint-disable require-atomic-updates */ \nvar $1o3Gj = parcelRequire(\"1o3Gj\");\n\n\nvar $eAXk4 = parcelRequire(\"eAXk4\");\n\n\n\nvar $eAXk4 = parcelRequire(\"eAXk4\");\n\n\n\n\nvar $zdagz = parcelRequire(\"zdagz\");\n\n\n/* eslint-disable require-atomic-updates */ let $86d7dd00a0f99d9c$var$binDir;\nasync function $86d7dd00a0f99d9c$export$c5eeb9c87a610a0e(_version, _setupDir, _arch) {\n if (![\n \"darwin\",\n \"linux\"\n ].includes(process.platform)) return undefined;\n if (typeof $86d7dd00a0f99d9c$var$binDir === \"string\") return {\n binDir: $86d7dd00a0f99d9c$var$binDir\n };\n const maybeBinDir = (0, (/*@__PURE__*/$parcel$interopDefault($71cfef4812d1fa23$exports))).sync(\"brew\", {\n nothrow: true\n });\n if (maybeBinDir !== null) {\n $86d7dd00a0f99d9c$var$binDir = (0, $eAXk4.dirname)(maybeBinDir);\n return {\n binDir: $86d7dd00a0f99d9c$var$binDir\n };\n }\n // brew is not thread-safe\n const brewTempDirectory = (0, ($parcel$interopDefault($4umf8$path))).join((0, $4umf8$os.tmpdir)(), \"setup-cpp\", \"brew\");\n await (0, $zdagz.mkdirP)(brewTempDirectory);\n (0, $24f062d29362ada6$export$28823a701bb5a12d)(\"curl\", [\n \"-LJO\",\n \"https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh\"\n ], {\n cwd: brewTempDirectory\n });\n const installSh = (0, $4umf8$path.join)(brewTempDirectory, \"install.sh\");\n if (process.platform === \"linux\") {\n const installShContent = (0, $4umf8$fs.readFileSync)(installSh, \"utf-8\");\n installShContent.replace(\"#!/bin/bash\", \"\");\n }\n (0, $24f062d29362ada6$export$28823a701bb5a12d)(\"/bin/bash\", [\n installSh\n ], {\n stdio: \"inherit\",\n env: {\n NONINTERACTIVE: \"1\"\n }\n });\n $86d7dd00a0f99d9c$var$binDir = $86d7dd00a0f99d9c$export$cba19b0564b654bf();\n await (0, $fcca2ee3cb52e97b$export$4c25481b843feb0b)($86d7dd00a0f99d9c$var$binDir);\n return {\n binDir: $86d7dd00a0f99d9c$var$binDir\n };\n}\nfunction $86d7dd00a0f99d9c$export$cba19b0564b654bf() {\n if (process.platform === \"linux\") return \"/home/linuxbrew/.linuxbrew/bin/\";\n else return \"/usr/local/bin/\";\n}\n\n\nlet $7ad09143f110687f$var$hasBrew = false;\nasync function $7ad09143f110687f$export$ce5d13d8a85cb784(name, version, extraArgs = []) {\n (0, $1o3Gj.info)(`Installing ${name} ${version !== null && version !== void 0 ? version : \"\"} via brew`);\n if (!$7ad09143f110687f$var$hasBrew || (0, (/*@__PURE__*/$parcel$interopDefault($71cfef4812d1fa23$exports))).sync(\"brew\", {\n nothrow: true\n }) === null) {\n await (0, $86d7dd00a0f99d9c$export$c5eeb9c87a610a0e)(\"\", \"\", process.arch);\n $7ad09143f110687f$var$hasBrew = true;\n }\n const binDir = (0, $86d7dd00a0f99d9c$export$cba19b0564b654bf)();\n // brew is not thread-safe\n (0, $24f062d29362ada6$export$28823a701bb5a12d)((0, $eAXk4.join)(binDir, \"brew\"), [\n \"install\",\n version !== undefined && version !== \"\" ? `${name}@${version}` : name,\n ...extraArgs\n ], {\n stdio: \"inherit\"\n });\n return {\n binDir: binDir\n };\n}\n\n\n/* eslint-disable require-atomic-updates */ \n\n/* eslint-disable require-atomic-updates */ \n\nvar $6t4SD = parcelRequire(\"6t4SD\");\n\nvar $eAXk4 = parcelRequire(\"eAXk4\");\n\n\nlet $fd45706685edd4a7$var$binDir;\nasync function $fd45706685edd4a7$export$b804d731cdad7ef9(// eslint-disable-next-line @typescript-eslint/no-unused-vars\n_version, // eslint-disable-next-line @typescript-eslint/no-unused-vars\n_setupDir, // eslint-disable-next-line @typescript-eslint/no-unused-vars\n_arch) {\n if (process.platform !== \"win32\") return undefined;\n if (typeof $fd45706685edd4a7$var$binDir === \"string\") return {\n binDir: $fd45706685edd4a7$var$binDir\n };\n const maybeBinDir = (0, (/*@__PURE__*/$parcel$interopDefault($71cfef4812d1fa23$exports))).sync(\"choco\", {\n nothrow: true\n });\n if (maybeBinDir !== null) {\n $fd45706685edd4a7$var$binDir = (0, $eAXk4.dirname)(maybeBinDir);\n return {\n binDir: $fd45706685edd4a7$var$binDir\n };\n }\n let powershell = \"powershell.exe\";\n const maybePowerShell = (0, (/*@__PURE__*/$parcel$interopDefault($71cfef4812d1fa23$exports))).sync(`${process.env.SystemRoot}\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\powershell.exe`, {\n nothrow: true\n });\n if (maybePowerShell !== null) powershell = maybePowerShell;\n // https://docs.chocolatey.org/en-us/choco/setup#install-with-cmd.exe\n (0, $24f062d29362ada6$export$28823a701bb5a12d)(powershell, [\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 const chocoPath = `${process.env.ALLUSERSPROFILE}\\\\chocolatey\\\\bin`;\n await (0, $fcca2ee3cb52e97b$export$4c25481b843feb0b)(chocoPath);\n const maybeChoco = (0, (/*@__PURE__*/$parcel$interopDefault($71cfef4812d1fa23$exports))).sync(\"choco\", {\n nothrow: true\n });\n var _process_env_ChocolateyInstall;\n if (maybeChoco !== null) $fd45706685edd4a7$var$binDir = (0, $eAXk4.dirname)(maybeChoco);\n else $fd45706685edd4a7$var$binDir = `${(_process_env_ChocolateyInstall = process.env.ChocolateyInstall) !== null && _process_env_ChocolateyInstall !== void 0 ? _process_env_ChocolateyInstall : \"C:/ProgramData/chocolatey\"}/bin`;\n if (await (0, $6t4SD.pathExists)($fd45706685edd4a7$var$binDir)) return {\n binDir: $fd45706685edd4a7$var$binDir\n };\n return undefined;\n}\n\n\n\n\nvar $hHq4F = parcelRequire(\"hHq4F\");\nlet $9fccd3400da2cfd8$var$hasChoco = false;\nasync function $9fccd3400da2cfd8$export$9f6912bc890040b2(name, version, args = []) {\n (0, $hHq4F.info)(`Installing ${name} ${version !== null && version !== void 0 ? version : \"\"} via chocolatey`);\n if (!$9fccd3400da2cfd8$var$hasChoco || (0, (/*@__PURE__*/$parcel$interopDefault($71cfef4812d1fa23$exports))).sync(\"choco\", {\n nothrow: true\n }) === null) {\n await (0, $fd45706685edd4a7$export$b804d731cdad7ef9)(\"\", \"\", process.arch);\n $9fccd3400da2cfd8$var$hasChoco = true;\n }\n // https://github.com/jberezanski/ChocolateyPackages/issues/97#issuecomment-986825694\n const PATH = process.env.PATH;\n const env = {\n ...process.env\n };\n delete env.TMP;\n delete env.TEMP;\n delete env.Path;\n env.PATH = PATH;\n if (version !== undefined && version !== \"\") (0, $24f062d29362ada6$export$28823a701bb5a12d)(\"choco\", [\n \"install\",\n \"-y\",\n name,\n `--version=${version}`,\n ...args\n ], {\n env: env,\n extendEnv: false,\n stdio: \"inherit\"\n });\n else try {\n (0, $24f062d29362ada6$export$28823a701bb5a12d)(\"choco\", [\n \"install\",\n \"-y\",\n name,\n ...args\n ], {\n env: env,\n extendEnv: false,\n stdio: \"inherit\"\n });\n } catch (err) {\n // if the package requires a reboot, downgrade the error to a notice\n if (err.message.includes(\"exit code 3010\")) (0, $hHq4F.info)(`${name} might require a reboot for the completion of the installation.`);\n else throw err;\n }\n var _process_env_ChocolateyInstall;\n const binDir = `${(_process_env_ChocolateyInstall = process.env.ChocolateyInstall) !== null && _process_env_ChocolateyInstall !== void 0 ? _process_env_ChocolateyInstall : \"C:/ProgramData/chocolatey\"}/bin`;\n await (0, $fcca2ee3cb52e97b$export$4c25481b843feb0b)(binDir);\n return {\n binDir: binDir\n };\n}\n\n\n\nlet $64f7d4d3c6118037$var$isArchCache = undefined;\nfunction $64f7d4d3c6118037$export$d415ddb6702ec3a2() {\n if (process.platform !== \"linux\") return false;\n if ($64f7d4d3c6118037$var$isArchCache === undefined) // detect arch by checking if pacman exists\n $64f7d4d3c6118037$var$isArchCache = (0, (/*@__PURE__*/$parcel$interopDefault($71cfef4812d1fa23$exports))).sync(\"pacman\", {\n nothrow: true\n }) !== null;\n return $64f7d4d3c6118037$var$isArchCache;\n}\n\n\n\nlet $07c9db864ea9c735$var$hasDnfCache = undefined;\nfunction $07c9db864ea9c735$export$8ce8b4b22331a8c7() {\n if (process.platform !== \"linux\") return false;\n if ($07c9db864ea9c735$var$hasDnfCache === undefined) $07c9db864ea9c735$var$hasDnfCache = (0, (/*@__PURE__*/$parcel$interopDefault($71cfef4812d1fa23$exports))).sync(\"dnf\", {\n nothrow: true\n }) !== null;\n return $07c9db864ea9c735$var$hasDnfCache;\n}\n\n\n\n\nvar $hHq4F = parcelRequire(\"hHq4F\");\n\nasync function $5e892f3aba3794f6$export$49d4f9ba8e0dd34f(packages) {\n for (const { name: name, version: version } of packages)(0, $hHq4F.info)(`Installing ${name} ${version !== null && version !== void 0 ? version : \"\"} via dnf`);\n const dnfArgs = await Promise.all(packages.map((pack)=>$5e892f3aba3794f6$var$getDnfArg(pack.name, pack.version)));\n (0, $c93e0191c47e5f34$export$58f152936f209932)(\"dnf\", [\n \"-y\",\n \"install\",\n ...dnfArgs\n ]);\n return {\n binDir: \"/usr/bin/\"\n };\n}\nasync function $5e892f3aba3794f6$var$getDnfArg(name, version) {\n if (version !== undefined && version !== \"\") {\n // check if name-version is available\n const { stdout: stdout } = await (0, $24f062d29362ada6$export$db6b1668e3758717)(\"dnf\", [\n \"search\",\n \"-q\",\n `${name}-${version}`\n ]);\n if (stdout.trim() !== \"\") return `${name}-${version}`;\n else {\n // try with ${name}${version}\n // eslint-disable-next-line @typescript-eslint/no-shadow\n const { stdout: stdout } = await (0, $24f062d29362ada6$export$db6b1668e3758717)(\"dnf\", [\n \"search\",\n \"-q\",\n `${name}${version}`\n ]);\n if (stdout.trim() !== \"\") return `${name}${version}`;\n (0, $hHq4F.warning)(`Failed to install ${name} ${version} via dnf, trying without version`);\n }\n }\n return name;\n}\n\n\n\nlet $c304217cbb6a03a7$var$isUbuntuCache = undefined;\nfunction $c304217cbb6a03a7$export$da8baf1d6c6802b6() {\n if (process.platform !== \"linux\") return false;\n if ($c304217cbb6a03a7$var$isUbuntuCache === undefined) {\n const apt = \"apt-get\";\n $c304217cbb6a03a7$var$isUbuntuCache = (0, (/*@__PURE__*/$parcel$interopDefault($71cfef4812d1fa23$exports))).sync(apt, {\n nothrow: true\n }) !== null;\n }\n return $c304217cbb6a03a7$var$isUbuntuCache;\n}\n\n\n\nasync function $671d2451576f7242$export$a66bc93580b0a849(version, _setupDir, _arch) {\n switch(process.platform){\n case \"win32\":\n // install bazelisk because it contains both\n return (0, $9fccd3400da2cfd8$export$9f6912bc890040b2)(\"bazelisk\", version);\n case \"darwin\":\n // install bazelisk because it contains both\n return (0, $7ad09143f110687f$export$ce5d13d8a85cb784)(\"bazelisk\", version);\n case \"linux\":\n if ((0, $64f7d4d3c6118037$export$d415ddb6702ec3a2)()) throw new Error(\"installing bazel on Arch linux is not supported yet\");\n else if ((0, $07c9db864ea9c735$export$8ce8b4b22331a8c7)()) {\n // https://bazel.build/install/redhat\n await (0, $5e892f3aba3794f6$export$49d4f9ba8e0dd34f)([\n {\n name: \"dnf-plugins-core\"\n }\n ]);\n (0, $c93e0191c47e5f34$export$58f152936f209932)(\"dnf\", [\n \"copr\",\n \"enable\",\n \"vbatts/bazel\"\n ]);\n return (0, $5e892f3aba3794f6$export$49d4f9ba8e0dd34f)([\n {\n name: \"bazel4\"\n }\n ]);\n } else if ((0, $c304217cbb6a03a7$export$da8baf1d6c6802b6)()) {\n // https://bazel.build/install/ubuntu\n const keyFileName = await (0, $4574e4c050df58da$export$7fb1a688af1305f0)(\"bazel-archive-keyring.gpg\", \"https://bazel.build/bazel-release.pub.gpg\");\n (0, $c93e0191c47e5f34$export$58f152936f209932)(\"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 (0, $4574e4c050df58da$export$d73dc343f5abf26)([\n {\n name: \"bazel\",\n version: version\n }\n ], true);\n }\n throw new Error(`Unsupported linux distribution`);\n default:\n throw new Error(`Unsupported platform`);\n }\n}\n\n\n\n\n\n\nvar $hHq4F = parcelRequire(\"hHq4F\");\n\n\n/* eslint-disable require-atomic-updates */ let $48b5fe4903818be0$var$didUpdate = false;\nlet $48b5fe4903818be0$var$didInit = false;\nasync function $48b5fe4903818be0$export$cfa75578ee2d6e6c(name, version, aur) {\n (0, $hHq4F.info)(`Installing ${name} ${version !== null && version !== void 0 ? version : \"\"} via pacman`);\n const pacman = \"pacman\";\n if (aur === \"yay\" && (0, (/*@__PURE__*/$parcel$interopDefault($71cfef4812d1fa23$exports))).sync(\"yay\", {\n nothrow: true\n }) === null) // TODO: install yay automatically\n throw new Error(`yay is needed for ${name}, but it is not installed, please install it manually first`);\n // yay can't run as root, so skip update\n if (!$48b5fe4903818be0$var$didUpdate && aur !== \"yay\") {\n (0, $c93e0191c47e5f34$export$58f152936f209932)(pacman, [\n \"-Sy\",\n \"--noconfirm\"\n ]);\n $48b5fe4903818be0$var$didUpdate = true;\n }\n // install base-devel\n if (!$48b5fe4903818be0$var$didInit && aur !== \"yay\") {\n (0, $c93e0191c47e5f34$export$58f152936f209932)(pacman, [\n \"-S\",\n \"--noconfirm\",\n \"base-devel\"\n ]);\n $48b5fe4903818be0$var$didInit = true;\n }\n const runInstall = (arg)=>{\n if (aur === \"yay\") // run yay as non-root, ERROR: Running makepkg as root is not allowed as it can cause permanent, catastrophic damage to your system.\n return (0, $24f062d29362ada6$export$28823a701bb5a12d)(aur, [\n \"-S\",\n \"--noconfirm\",\n arg\n ]);\n return (0, $c93e0191c47e5f34$export$58f152936f209932)(aur !== null && aur !== void 0 ? aur : pacman, [\n \"-S\",\n \"--noconfirm\",\n arg\n ]);\n };\n if (version !== undefined && version !== \"\") {\n // check if version is available\n const availableVersions = await $48b5fe4903818be0$var$availablePacmanVersions(pacman, name);\n if (availableVersions.includes(version)) // try different version formats\n try {\n runInstall(`${name}=${version}`);\n } catch {\n runInstall(`${name}${version}`);\n }\n else {\n // try without version\n (0, $hHq4F.info)(`Failed to install ${name} ${version} via pacman, trying without version`);\n runInstall(name);\n }\n } else // version not specified, install latest\n runInstall(name);\n return {\n binDir: \"/usr/bin/\"\n };\n}\nconst $48b5fe4903818be0$var$pacmanSiVersionRegex = /Version\\s*:\\s*(.*)/g;\n/** Query pacman for available versions */ async function $48b5fe4903818be0$var$availablePacmanVersions(pacman, name) {\n const availableVersions = [];\n try {\n const { stdout: stdout } = await (0, $24f062d29362ada6$export$db6b1668e3758717)(pacman, [\n \"-Si\",\n name\n ]);\n for (const match of stdout.matchAll($48b5fe4903818be0$var$pacmanSiVersionRegex))availableVersions.push(match[1]);\n } catch (err) {\n (0, $hHq4F.warning)(`Failed to get available versions for ${name}: ${err}`);\n }\n return availableVersions;\n}\n\n\n\n\n\n\n\n\nfunction $e2bfdac6c7112ded$export$111263621bbb0768(version, _setupDir, _arch) {\n switch(process.platform){\n case \"win32\":\n return (0, $9fccd3400da2cfd8$export$9f6912bc890040b2)(\"ccache\", version);\n case \"darwin\":\n return (0, $7ad09143f110687f$export$ce5d13d8a85cb784)(\"ccache\", version);\n case \"linux\":\n if ((0, $64f7d4d3c6118037$export$d415ddb6702ec3a2)()) return (0, $48b5fe4903818be0$export$cfa75578ee2d6e6c)(\"ccache\", version);\n else if ((0, $07c9db864ea9c735$export$8ce8b4b22331a8c7)()) return (0, $5e892f3aba3794f6$export$49d4f9ba8e0dd34f)([\n {\n name: \"ccache\",\n version: version\n }\n ]);\n else if ((0, $c304217cbb6a03a7$export$da8baf1d6c6802b6)()) return (0, $4574e4c050df58da$export$d73dc343f5abf26)([\n {\n name: \"ccache\",\n version: version\n }\n ]);\n throw new Error(`Unsupported linux distribution`);\n default:\n throw new Error(`Unsupported platform`);\n }\n}\n\n\n\nvar $ea5d4ae7756c835c$exports = {};\n\nvar $ea5d4ae7756c835c$var$$parcel$__dirname = $4umf8$path.resolve(__dirname, \"../../node_modules/@actions/tool-cache/lib\");\n\"use strict\";\nvar $ea5d4ae7756c835c$var$__createBinding = $ea5d4ae7756c835c$exports && $ea5d4ae7756c835c$exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $ea5d4ae7756c835c$var$__setModuleDefault = $ea5d4ae7756c835c$exports && $ea5d4ae7756c835c$exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $ea5d4ae7756c835c$var$__importStar = $ea5d4ae7756c835c$exports && $ea5d4ae7756c835c$exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $ea5d4ae7756c835c$var$__createBinding(result, mod, k);\n }\n $ea5d4ae7756c835c$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $ea5d4ae7756c835c$var$__awaiter = $ea5d4ae7756c835c$exports && $ea5d4ae7756c835c$exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar $ea5d4ae7756c835c$var$__importDefault = $ea5d4ae7756c835c$exports && $ea5d4ae7756c835c$exports.__importDefault || function(mod) {\n return mod && mod.__esModule ? mod : {\n \"default\": mod\n };\n};\nObject.defineProperty($ea5d4ae7756c835c$exports, \"__esModule\", {\n value: true\n});\n$ea5d4ae7756c835c$exports.evaluateVersions = $ea5d4ae7756c835c$exports.isExplicitVersion = $ea5d4ae7756c835c$exports.findFromManifest = $ea5d4ae7756c835c$exports.getManifestFromRepo = $ea5d4ae7756c835c$exports.findAllVersions = $ea5d4ae7756c835c$exports.find = $ea5d4ae7756c835c$exports.cacheFile = $ea5d4ae7756c835c$exports.cacheDir = $ea5d4ae7756c835c$exports.extractZip = $ea5d4ae7756c835c$exports.extractXar = $ea5d4ae7756c835c$exports.extractTar = $ea5d4ae7756c835c$exports.extract7z = $ea5d4ae7756c835c$exports.downloadTool = $ea5d4ae7756c835c$exports.HTTPError = void 0;\n\nconst $ea5d4ae7756c835c$var$core = $ea5d4ae7756c835c$var$__importStar((parcelRequire(\"1o3Gj\")));\n\nconst $ea5d4ae7756c835c$var$io = $ea5d4ae7756c835c$var$__importStar((parcelRequire(\"zdagz\")));\n\nconst $ea5d4ae7756c835c$var$fs = $ea5d4ae7756c835c$var$__importStar($4umf8$fs);\n\nconst $ea5d4ae7756c835c$var$mm = $ea5d4ae7756c835c$var$__importStar((parcelRequire(\"gn8Si\")));\n\nconst $ea5d4ae7756c835c$var$os = $ea5d4ae7756c835c$var$__importStar($4umf8$os);\n\nconst $ea5d4ae7756c835c$var$path = $ea5d4ae7756c835c$var$__importStar($4umf8$path);\n\nconst $ea5d4ae7756c835c$var$httpm = $ea5d4ae7756c835c$var$__importStar((parcelRequire(\"eamjo\")));\n\nconst $ea5d4ae7756c835c$var$semver = $ea5d4ae7756c835c$var$__importStar((parcelRequire(\"0306Y\")));\n\nconst $ea5d4ae7756c835c$var$stream = $ea5d4ae7756c835c$var$__importStar($4umf8$stream);\n\nconst $ea5d4ae7756c835c$var$util = $ea5d4ae7756c835c$var$__importStar($4umf8$util);\n\n\nconst $ea5d4ae7756c835c$var$v4_1 = $ea5d4ae7756c835c$var$__importDefault((parcelRequire(\"GX8zo\")));\n\nvar $bHzmH = parcelRequire(\"bHzmH\");\nvar $fe17038d658b1003$exports = {};\n\"use strict\";\nvar $fe17038d658b1003$var$__createBinding = $fe17038d658b1003$exports && $fe17038d658b1003$exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $fe17038d658b1003$var$__setModuleDefault = $fe17038d658b1003$exports && $fe17038d658b1003$exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $fe17038d658b1003$var$__importStar = $fe17038d658b1003$exports && $fe17038d658b1003$exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $fe17038d658b1003$var$__createBinding(result, mod, k);\n }\n $fe17038d658b1003$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $fe17038d658b1003$var$__awaiter = $fe17038d658b1003$exports && $fe17038d658b1003$exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty($fe17038d658b1003$exports, \"__esModule\", {\n value: true\n});\n$fe17038d658b1003$exports.RetryHelper = void 0;\n\nconst $fe17038d658b1003$var$core = $fe17038d658b1003$var$__importStar((parcelRequire(\"1o3Gj\")));\n/**\n * Internal class for retries\n */ class $fe17038d658b1003$var$RetryHelper {\n constructor(maxAttempts, minSeconds, maxSeconds){\n if (maxAttempts < 1) throw new Error(\"max attempts should be greater than or equal to 1\");\n this.maxAttempts = maxAttempts;\n this.minSeconds = Math.floor(minSeconds);\n this.maxSeconds = Math.floor(maxSeconds);\n if (this.minSeconds > this.maxSeconds) throw new Error(\"min seconds should be less than or equal to max seconds\");\n }\n execute(action, isRetryable) {\n return $fe17038d658b1003$var$__awaiter(this, void 0, void 0, function*() {\n let attempt = 1;\n while(attempt < this.maxAttempts){\n // Try\n try {\n return yield action();\n } catch (err) {\n if (isRetryable && !isRetryable(err)) throw err;\n $fe17038d658b1003$var$core.info(err.message);\n }\n // Sleep\n const seconds = this.getSleepAmount();\n $fe17038d658b1003$var$core.info(`Waiting ${seconds} seconds before trying again`);\n yield this.sleep(seconds);\n attempt++;\n }\n // Last attempt\n return yield action();\n });\n }\n getSleepAmount() {\n return Math.floor(Math.random() * (this.maxSeconds - this.minSeconds + 1)) + this.minSeconds;\n }\n sleep(seconds) {\n return $fe17038d658b1003$var$__awaiter(this, void 0, void 0, function*() {\n return new Promise((resolve)=>setTimeout(resolve, seconds * 1000));\n });\n }\n}\n$fe17038d658b1003$exports.RetryHelper = $fe17038d658b1003$var$RetryHelper;\n\n\nclass $ea5d4ae7756c835c$var$HTTPError extends Error {\n constructor(httpStatusCode){\n super(`Unexpected HTTP response: ${httpStatusCode}`);\n this.httpStatusCode = httpStatusCode;\n Object.setPrototypeOf(this, new.target.prototype);\n }\n}\n$ea5d4ae7756c835c$exports.HTTPError = $ea5d4ae7756c835c$var$HTTPError;\nconst $ea5d4ae7756c835c$var$IS_WINDOWS = process.platform === \"win32\";\nconst $ea5d4ae7756c835c$var$IS_MAC = process.platform === \"darwin\";\nconst $ea5d4ae7756c835c$var$userAgent = \"actions/tool-cache\";\n/**\n * Download a tool from an url and stream it into a file\n *\n * @param url url of tool to download\n * @param dest path to download tool\n * @param auth authorization header\n * @param headers other headers\n * @returns path to downloaded tool\n */ function $ea5d4ae7756c835c$var$downloadTool(url, dest, auth, headers) {\n return $ea5d4ae7756c835c$var$__awaiter(this, void 0, void 0, function*() {\n dest = dest || $ea5d4ae7756c835c$var$path.join($ea5d4ae7756c835c$var$_getTempDirectory(), $ea5d4ae7756c835c$var$v4_1.default());\n yield $ea5d4ae7756c835c$var$io.mkdirP($ea5d4ae7756c835c$var$path.dirname(dest));\n $ea5d4ae7756c835c$var$core.debug(`Downloading ${url}`);\n $ea5d4ae7756c835c$var$core.debug(`Destination ${dest}`);\n const maxAttempts = 3;\n const minSeconds = $ea5d4ae7756c835c$var$_getGlobal(\"TEST_DOWNLOAD_TOOL_RETRY_MIN_SECONDS\", 10);\n const maxSeconds = $ea5d4ae7756c835c$var$_getGlobal(\"TEST_DOWNLOAD_TOOL_RETRY_MAX_SECONDS\", 20);\n const retryHelper = new $fe17038d658b1003$exports.RetryHelper(maxAttempts, minSeconds, maxSeconds);\n return yield retryHelper.execute(()=>$ea5d4ae7756c835c$var$__awaiter(this, void 0, void 0, function*() {\n return yield $ea5d4ae7756c835c$var$downloadToolAttempt(url, dest || \"\", auth, headers);\n }), (err)=>{\n if (err instanceof $ea5d4ae7756c835c$var$HTTPError && err.httpStatusCode) {\n // Don't retry anything less than 500, except 408 Request Timeout and 429 Too Many Requests\n if (err.httpStatusCode < 500 && err.httpStatusCode !== 408 && err.httpStatusCode !== 429) return false;\n }\n // Otherwise retry\n return true;\n });\n });\n}\n$ea5d4ae7756c835c$exports.downloadTool = $ea5d4ae7756c835c$var$downloadTool;\nfunction $ea5d4ae7756c835c$var$downloadToolAttempt(url, dest, auth, headers) {\n return $ea5d4ae7756c835c$var$__awaiter(this, void 0, void 0, function*() {\n if ($ea5d4ae7756c835c$var$fs.existsSync(dest)) throw new Error(`Destination file path ${dest} already exists`);\n // Get the response headers\n const http = new $ea5d4ae7756c835c$var$httpm.HttpClient($ea5d4ae7756c835c$var$userAgent, [], {\n allowRetries: false\n });\n if (auth) {\n $ea5d4ae7756c835c$var$core.debug(\"set auth\");\n if (headers === undefined) headers = {};\n headers.authorization = auth;\n }\n const response = yield http.get(url, headers);\n if (response.message.statusCode !== 200) {\n const err = new $ea5d4ae7756c835c$var$HTTPError(response.message.statusCode);\n $ea5d4ae7756c835c$var$core.debug(`Failed to download from \"${url}\". Code(${response.message.statusCode}) Message(${response.message.statusMessage})`);\n throw err;\n }\n // Download the response body\n const pipeline = $ea5d4ae7756c835c$var$util.promisify($ea5d4ae7756c835c$var$stream.pipeline);\n const responseMessageFactory = $ea5d4ae7756c835c$var$_getGlobal(\"TEST_DOWNLOAD_TOOL_RESPONSE_MESSAGE_FACTORY\", ()=>response.message);\n const readStream = responseMessageFactory();\n let succeeded = false;\n try {\n yield pipeline(readStream, $ea5d4ae7756c835c$var$fs.createWriteStream(dest));\n $ea5d4ae7756c835c$var$core.debug(\"download complete\");\n succeeded = true;\n return dest;\n } finally{\n // Error, delete dest before retry\n if (!succeeded) {\n $ea5d4ae7756c835c$var$core.debug(\"download failed\");\n try {\n yield $ea5d4ae7756c835c$var$io.rmRF(dest);\n } catch (err) {\n $ea5d4ae7756c835c$var$core.debug(`Failed to delete '${dest}'. ${err.message}`);\n }\n }\n }\n });\n}\n/**\n * Extract a .7z file\n *\n * @param file path to the .7z file\n * @param dest destination directory. Optional.\n * @param _7zPath path to 7zr.exe. Optional, for long path support. Most .7z archives do not have this\n * problem. If your .7z archive contains very long paths, you can pass the path to 7zr.exe which will\n * gracefully handle long paths. By default 7zdec.exe is used because it is a very small program and is\n * bundled with the tool lib. However it does not support long paths. 7zr.exe is the reduced command line\n * interface, it is smaller than the full command line interface, and it does support long paths. At the\n * time of this writing, it is freely available from the LZMA SDK that is available on the 7zip website.\n * Be sure to check the current license agreement. If 7zr.exe is bundled with your action, then the path\n * to 7zr.exe can be pass to this function.\n * @returns path to the destination directory\n */ function $ea5d4ae7756c835c$var$extract7z(file, dest, _7zPath) {\n return $ea5d4ae7756c835c$var$__awaiter(this, void 0, void 0, function*() {\n $4umf8$assert.ok($ea5d4ae7756c835c$var$IS_WINDOWS, \"extract7z() not supported on current OS\");\n $4umf8$assert.ok(file, 'parameter \"file\" is required');\n dest = yield $ea5d4ae7756c835c$var$_createExtractFolder(dest);\n const originalCwd = process.cwd();\n process.chdir(dest);\n if (_7zPath) try {\n const logLevel = $ea5d4ae7756c835c$var$core.isDebug() ? \"-bb1\" : \"-bb0\";\n const args = [\n \"x\",\n logLevel,\n \"-bd\",\n \"-sccUTF-8\",\n file\n ];\n const options = {\n silent: true\n };\n yield $bHzmH.exec(`\"${_7zPath}\"`, args, options);\n } finally{\n process.chdir(originalCwd);\n }\n else {\n const escapedScript = $ea5d4ae7756c835c$var$path.join($ea5d4ae7756c835c$var$$parcel$__dirname, \"..\", \"scripts\", \"Invoke-7zdec.ps1\").replace(/'/g, \"''\").replace(/\"|\\n|\\r/g, \"\"); // double-up single quotes, remove double quotes and newlines\n const escapedFile = file.replace(/'/g, \"''\").replace(/\"|\\n|\\r/g, \"\");\n const escapedTarget = dest.replace(/'/g, \"''\").replace(/\"|\\n|\\r/g, \"\");\n const command = `& '${escapedScript}' -Source '${escapedFile}' -Target '${escapedTarget}'`;\n const args = [\n \"-NoLogo\",\n \"-Sta\",\n \"-NoProfile\",\n \"-NonInteractive\",\n \"-ExecutionPolicy\",\n \"Unrestricted\",\n \"-Command\",\n command\n ];\n const options = {\n silent: true\n };\n try {\n const powershellPath = yield $ea5d4ae7756c835c$var$io.which(\"powershell\", true);\n yield $bHzmH.exec(`\"${powershellPath}\"`, args, options);\n } finally{\n process.chdir(originalCwd);\n }\n }\n return dest;\n });\n}\n$ea5d4ae7756c835c$exports.extract7z = $ea5d4ae7756c835c$var$extract7z;\n/**\n * Extract a compressed tar archive\n *\n * @param file path to the tar\n * @param dest destination directory. Optional.\n * @param flags flags for the tar command to use for extraction. Defaults to 'xz' (extracting gzipped tars). Optional.\n * @returns path to the destination directory\n */ function $ea5d4ae7756c835c$var$extractTar(file, dest, flags = \"xz\") {\n return $ea5d4ae7756c835c$var$__awaiter(this, void 0, void 0, function*() {\n if (!file) throw new Error(\"parameter 'file' is required\");\n // Create dest\n dest = yield $ea5d4ae7756c835c$var$_createExtractFolder(dest);\n // Determine whether GNU tar\n $ea5d4ae7756c835c$var$core.debug(\"Checking tar --version\");\n let versionOutput = \"\";\n yield $bHzmH.exec(\"tar --version\", [], {\n ignoreReturnCode: true,\n silent: true,\n listeners: {\n stdout: (data)=>versionOutput += data.toString(),\n stderr: (data)=>versionOutput += data.toString()\n }\n });\n $ea5d4ae7756c835c$var$core.debug(versionOutput.trim());\n const isGnuTar = versionOutput.toUpperCase().includes(\"GNU TAR\");\n // Initialize args\n let args;\n if (flags instanceof Array) args = flags;\n else args = [\n flags\n ];\n if ($ea5d4ae7756c835c$var$core.isDebug() && !flags.includes(\"v\")) args.push(\"-v\");\n let destArg = dest;\n let fileArg = file;\n if ($ea5d4ae7756c835c$var$IS_WINDOWS && isGnuTar) {\n args.push(\"--force-local\");\n destArg = dest.replace(/\\\\/g, \"/\");\n // Technically only the dest needs to have `/` but for aesthetic consistency\n // convert slashes in the file arg too.\n fileArg = file.replace(/\\\\/g, \"/\");\n }\n if (isGnuTar) {\n // Suppress warnings when using GNU tar to extract archives created by BSD tar\n args.push(\"--warning=no-unknown-keyword\");\n args.push(\"--overwrite\");\n }\n args.push(\"-C\", destArg, \"-f\", fileArg);\n yield $bHzmH.exec(`tar`, args);\n return dest;\n });\n}\n$ea5d4ae7756c835c$exports.extractTar = $ea5d4ae7756c835c$var$extractTar;\n/**\n * Extract a xar compatible archive\n *\n * @param file path to the archive\n * @param dest destination directory. Optional.\n * @param flags flags for the xar. Optional.\n * @returns path to the destination directory\n */ function $ea5d4ae7756c835c$var$extractXar(file, dest, flags = []) {\n return $ea5d4ae7756c835c$var$__awaiter(this, void 0, void 0, function*() {\n $4umf8$assert.ok($ea5d4ae7756c835c$var$IS_MAC, \"extractXar() not supported on current OS\");\n $4umf8$assert.ok(file, 'parameter \"file\" is required');\n dest = yield $ea5d4ae7756c835c$var$_createExtractFolder(dest);\n let args;\n if (flags instanceof Array) args = flags;\n else args = [\n flags\n ];\n args.push(\"-x\", \"-C\", dest, \"-f\", file);\n if ($ea5d4ae7756c835c$var$core.isDebug()) args.push(\"-v\");\n const xarPath = yield $ea5d4ae7756c835c$var$io.which(\"xar\", true);\n yield $bHzmH.exec(`\"${xarPath}\"`, $ea5d4ae7756c835c$var$_unique(args));\n return dest;\n });\n}\n$ea5d4ae7756c835c$exports.extractXar = $ea5d4ae7756c835c$var$extractXar;\n/**\n * Extract a zip\n *\n * @param file path to the zip\n * @param dest destination directory. Optional.\n * @returns path to the destination directory\n */ function $ea5d4ae7756c835c$var$extractZip(file, dest) {\n return $ea5d4ae7756c835c$var$__awaiter(this, void 0, void 0, function*() {\n if (!file) throw new Error(\"parameter 'file' is required\");\n dest = yield $ea5d4ae7756c835c$var$_createExtractFolder(dest);\n if ($ea5d4ae7756c835c$var$IS_WINDOWS) yield $ea5d4ae7756c835c$var$extractZipWin(file, dest);\n else yield $ea5d4ae7756c835c$var$extractZipNix(file, dest);\n return dest;\n });\n}\n$ea5d4ae7756c835c$exports.extractZip = $ea5d4ae7756c835c$var$extractZip;\nfunction $ea5d4ae7756c835c$var$extractZipWin(file, dest) {\n return $ea5d4ae7756c835c$var$__awaiter(this, void 0, void 0, function*() {\n // build the powershell command\n const escapedFile = file.replace(/'/g, \"''\").replace(/\"|\\n|\\r/g, \"\"); // double-up single quotes, remove double quotes and newlines\n const escapedDest = dest.replace(/'/g, \"''\").replace(/\"|\\n|\\r/g, \"\");\n const pwshPath = yield $ea5d4ae7756c835c$var$io.which(\"pwsh\", false);\n //To match the file overwrite behavior on nix systems, we use the overwrite = true flag for ExtractToDirectory\n //and the -Force flag for Expand-Archive as a fallback\n if (pwshPath) {\n //attempt to use pwsh with ExtractToDirectory, if this fails attempt Expand-Archive\n const pwshCommand = [\n `$ErrorActionPreference = 'Stop' ;`,\n `try { Add-Type -AssemblyName System.IO.Compression.ZipFile } catch { } ;`,\n `try { [System.IO.Compression.ZipFile]::ExtractToDirectory('${escapedFile}', '${escapedDest}', $true) }`,\n `catch { if (($_.Exception.GetType().FullName -eq 'System.Management.Automation.MethodException') -or ($_.Exception.GetType().FullName -eq 'System.Management.Automation.RuntimeException') ){ Expand-Archive -LiteralPath '${escapedFile}' -DestinationPath '${escapedDest}' -Force } else { throw $_ } } ;`\n ].join(\" \");\n const args = [\n \"-NoLogo\",\n \"-NoProfile\",\n \"-NonInteractive\",\n \"-ExecutionPolicy\",\n \"Unrestricted\",\n \"-Command\",\n pwshCommand\n ];\n $ea5d4ae7756c835c$var$core.debug(`Using pwsh at path: ${pwshPath}`);\n yield $bHzmH.exec(`\"${pwshPath}\"`, args);\n } else {\n const powershellCommand = [\n `$ErrorActionPreference = 'Stop' ;`,\n `try { Add-Type -AssemblyName System.IO.Compression.FileSystem } catch { } ;`,\n `if ((Get-Command -Name Expand-Archive -Module Microsoft.PowerShell.Archive -ErrorAction Ignore)) { Expand-Archive -LiteralPath '${escapedFile}' -DestinationPath '${escapedDest}' -Force }`,\n `else {[System.IO.Compression.ZipFile]::ExtractToDirectory('${escapedFile}', '${escapedDest}', $true) }`\n ].join(\" \");\n const args = [\n \"-NoLogo\",\n \"-Sta\",\n \"-NoProfile\",\n \"-NonInteractive\",\n \"-ExecutionPolicy\",\n \"Unrestricted\",\n \"-Command\",\n powershellCommand\n ];\n const powershellPath = yield $ea5d4ae7756c835c$var$io.which(\"powershell\", true);\n $ea5d4ae7756c835c$var$core.debug(`Using powershell at path: ${powershellPath}`);\n yield $bHzmH.exec(`\"${powershellPath}\"`, args);\n }\n });\n}\nfunction $ea5d4ae7756c835c$var$extractZipNix(file, dest) {\n return $ea5d4ae7756c835c$var$__awaiter(this, void 0, void 0, function*() {\n const unzipPath = yield $ea5d4ae7756c835c$var$io.which(\"unzip\", true);\n const args = [\n file\n ];\n if (!$ea5d4ae7756c835c$var$core.isDebug()) args.unshift(\"-q\");\n args.unshift(\"-o\"); //overwrite with -o, otherwise a prompt is shown which freezes the run\n yield $bHzmH.exec(`\"${unzipPath}\"`, args, {\n cwd: dest\n });\n });\n}\n/**\n * Caches a directory and installs it into the tool cacheDir\n *\n * @param sourceDir the directory to cache into tools\n * @param tool tool name\n * @param version version of the tool. semver format\n * @param arch architecture of the tool. Optional. Defaults to machine architecture\n */ function $ea5d4ae7756c835c$var$cacheDir(sourceDir, tool, version, arch) {\n return $ea5d4ae7756c835c$var$__awaiter(this, void 0, void 0, function*() {\n version = $ea5d4ae7756c835c$var$semver.clean(version) || version;\n arch = arch || $ea5d4ae7756c835c$var$os.arch();\n $ea5d4ae7756c835c$var$core.debug(`Caching tool ${tool} ${version} ${arch}`);\n $ea5d4ae7756c835c$var$core.debug(`source dir: ${sourceDir}`);\n if (!$ea5d4ae7756c835c$var$fs.statSync(sourceDir).isDirectory()) throw new Error(\"sourceDir is not a directory\");\n // Create the tool dir\n const destPath = yield $ea5d4ae7756c835c$var$_createToolPath(tool, version, arch);\n // copy each child item. do not move. move can fail on Windows\n // due to anti-virus software having an open handle on a file.\n for (const itemName of $ea5d4ae7756c835c$var$fs.readdirSync(sourceDir)){\n const s = $ea5d4ae7756c835c$var$path.join(sourceDir, itemName);\n yield $ea5d4ae7756c835c$var$io.cp(s, destPath, {\n recursive: true\n });\n }\n // write .complete\n $ea5d4ae7756c835c$var$_completeToolPath(tool, version, arch);\n return destPath;\n });\n}\n$ea5d4ae7756c835c$exports.cacheDir = $ea5d4ae7756c835c$var$cacheDir;\n/**\n * Caches a downloaded file (GUID) and installs it\n * into the tool cache with a given targetName\n *\n * @param sourceFile the file to cache into tools. Typically a result of downloadTool which is a guid.\n * @param targetFile the name of the file name in the tools directory\n * @param tool tool name\n * @param version version of the tool. semver format\n * @param arch architecture of the tool. Optional. Defaults to machine architecture\n */ function $ea5d4ae7756c835c$var$cacheFile(sourceFile, targetFile, tool, version, arch) {\n return $ea5d4ae7756c835c$var$__awaiter(this, void 0, void 0, function*() {\n version = $ea5d4ae7756c835c$var$semver.clean(version) || version;\n arch = arch || $ea5d4ae7756c835c$var$os.arch();\n $ea5d4ae7756c835c$var$core.debug(`Caching tool ${tool} ${version} ${arch}`);\n $ea5d4ae7756c835c$var$core.debug(`source file: ${sourceFile}`);\n if (!$ea5d4ae7756c835c$var$fs.statSync(sourceFile).isFile()) throw new Error(\"sourceFile is not a file\");\n // create the tool dir\n const destFolder = yield $ea5d4ae7756c835c$var$_createToolPath(tool, version, arch);\n // copy instead of move. move can fail on Windows due to\n // anti-virus software having an open handle on a file.\n const destPath = $ea5d4ae7756c835c$var$path.join(destFolder, targetFile);\n $ea5d4ae7756c835c$var$core.debug(`destination file ${destPath}`);\n yield $ea5d4ae7756c835c$var$io.cp(sourceFile, destPath);\n // write .complete\n $ea5d4ae7756c835c$var$_completeToolPath(tool, version, arch);\n return destFolder;\n });\n}\n$ea5d4ae7756c835c$exports.cacheFile = $ea5d4ae7756c835c$var$cacheFile;\n/**\n * Finds the path to a tool version in the local installed tool cache\n *\n * @param toolName name of the tool\n * @param versionSpec version of the tool\n * @param arch optional arch. defaults to arch of computer\n */ function $ea5d4ae7756c835c$var$find(toolName, versionSpec, arch) {\n if (!toolName) throw new Error(\"toolName parameter is required\");\n if (!versionSpec) throw new Error(\"versionSpec parameter is required\");\n arch = arch || $ea5d4ae7756c835c$var$os.arch();\n // attempt to resolve an explicit version\n if (!$ea5d4ae7756c835c$var$isExplicitVersion(versionSpec)) {\n const localVersions = $ea5d4ae7756c835c$var$findAllVersions(toolName, arch);\n const match = $ea5d4ae7756c835c$var$evaluateVersions(localVersions, versionSpec);\n versionSpec = match;\n }\n // check for the explicit version in the cache\n let toolPath = \"\";\n if (versionSpec) {\n versionSpec = $ea5d4ae7756c835c$var$semver.clean(versionSpec) || \"\";\n const cachePath = $ea5d4ae7756c835c$var$path.join($ea5d4ae7756c835c$var$_getCacheDirectory(), toolName, versionSpec, arch);\n $ea5d4ae7756c835c$var$core.debug(`checking cache: ${cachePath}`);\n if ($ea5d4ae7756c835c$var$fs.existsSync(cachePath) && $ea5d4ae7756c835c$var$fs.existsSync(`${cachePath}.complete`)) {\n $ea5d4ae7756c835c$var$core.debug(`Found tool in cache ${toolName} ${versionSpec} ${arch}`);\n toolPath = cachePath;\n } else $ea5d4ae7756c835c$var$core.debug(\"not found\");\n }\n return toolPath;\n}\n$ea5d4ae7756c835c$exports.find = $ea5d4ae7756c835c$var$find;\n/**\n * Finds the paths to all versions of a tool that are installed in the local tool cache\n *\n * @param toolName name of the tool\n * @param arch optional arch. defaults to arch of computer\n */ function $ea5d4ae7756c835c$var$findAllVersions(toolName, arch) {\n const versions = [];\n arch = arch || $ea5d4ae7756c835c$var$os.arch();\n const toolPath = $ea5d4ae7756c835c$var$path.join($ea5d4ae7756c835c$var$_getCacheDirectory(), toolName);\n if ($ea5d4ae7756c835c$var$fs.existsSync(toolPath)) {\n const children = $ea5d4ae7756c835c$var$fs.readdirSync(toolPath);\n for (const child of children)if ($ea5d4ae7756c835c$var$isExplicitVersion(child)) {\n const fullPath = $ea5d4ae7756c835c$var$path.join(toolPath, child, arch || \"\");\n if ($ea5d4ae7756c835c$var$fs.existsSync(fullPath) && $ea5d4ae7756c835c$var$fs.existsSync(`${fullPath}.complete`)) versions.push(child);\n }\n }\n return versions;\n}\n$ea5d4ae7756c835c$exports.findAllVersions = $ea5d4ae7756c835c$var$findAllVersions;\nfunction $ea5d4ae7756c835c$var$getManifestFromRepo(owner, repo, auth, branch = \"master\") {\n return $ea5d4ae7756c835c$var$__awaiter(this, void 0, void 0, function*() {\n let releases = [];\n const treeUrl = `https://api.github.com/repos/${owner}/${repo}/git/trees/${branch}`;\n const http = new $ea5d4ae7756c835c$var$httpm.HttpClient(\"tool-cache\");\n const headers = {};\n if (auth) {\n $ea5d4ae7756c835c$var$core.debug(\"set auth\");\n headers.authorization = auth;\n }\n const response = yield http.getJson(treeUrl, headers);\n if (!response.result) return releases;\n let manifestUrl = \"\";\n for (const item of response.result.tree)if (item.path === \"versions-manifest.json\") {\n manifestUrl = item.url;\n break;\n }\n headers[\"accept\"] = \"application/vnd.github.VERSION.raw\";\n let versionsRaw = yield (yield http.get(manifestUrl, headers)).readBody();\n if (versionsRaw) {\n // shouldn't be needed but protects against invalid json saved with BOM\n versionsRaw = versionsRaw.replace(/^\\uFEFF/, \"\");\n try {\n releases = JSON.parse(versionsRaw);\n } catch (_a) {\n $ea5d4ae7756c835c$var$core.debug(\"Invalid json\");\n }\n }\n return releases;\n });\n}\n$ea5d4ae7756c835c$exports.getManifestFromRepo = $ea5d4ae7756c835c$var$getManifestFromRepo;\nfunction $ea5d4ae7756c835c$var$findFromManifest(versionSpec, stable, manifest, archFilter = $ea5d4ae7756c835c$var$os.arch()) {\n return $ea5d4ae7756c835c$var$__awaiter(this, void 0, void 0, function*() {\n // wrap the internal impl\n const match = yield $ea5d4ae7756c835c$var$mm._findMatch(versionSpec, stable, manifest, archFilter);\n return match;\n });\n}\n$ea5d4ae7756c835c$exports.findFromManifest = $ea5d4ae7756c835c$var$findFromManifest;\nfunction $ea5d4ae7756c835c$var$_createExtractFolder(dest) {\n return $ea5d4ae7756c835c$var$__awaiter(this, void 0, void 0, function*() {\n if (!dest) // create a temp dir\n dest = $ea5d4ae7756c835c$var$path.join($ea5d4ae7756c835c$var$_getTempDirectory(), $ea5d4ae7756c835c$var$v4_1.default());\n yield $ea5d4ae7756c835c$var$io.mkdirP(dest);\n return dest;\n });\n}\nfunction $ea5d4ae7756c835c$var$_createToolPath(tool, version, arch) {\n return $ea5d4ae7756c835c$var$__awaiter(this, void 0, void 0, function*() {\n const folderPath = $ea5d4ae7756c835c$var$path.join($ea5d4ae7756c835c$var$_getCacheDirectory(), tool, $ea5d4ae7756c835c$var$semver.clean(version) || version, arch || \"\");\n $ea5d4ae7756c835c$var$core.debug(`destination ${folderPath}`);\n const markerPath = `${folderPath}.complete`;\n yield $ea5d4ae7756c835c$var$io.rmRF(folderPath);\n yield $ea5d4ae7756c835c$var$io.rmRF(markerPath);\n yield $ea5d4ae7756c835c$var$io.mkdirP(folderPath);\n return folderPath;\n });\n}\nfunction $ea5d4ae7756c835c$var$_completeToolPath(tool, version, arch) {\n const folderPath = $ea5d4ae7756c835c$var$path.join($ea5d4ae7756c835c$var$_getCacheDirectory(), tool, $ea5d4ae7756c835c$var$semver.clean(version) || version, arch || \"\");\n const markerPath = `${folderPath}.complete`;\n $ea5d4ae7756c835c$var$fs.writeFileSync(markerPath, \"\");\n $ea5d4ae7756c835c$var$core.debug(\"finished caching tool\");\n}\n/**\n * Check if version string is explicit\n *\n * @param versionSpec version string to check\n */ function $ea5d4ae7756c835c$var$isExplicitVersion(versionSpec) {\n const c = $ea5d4ae7756c835c$var$semver.clean(versionSpec) || \"\";\n $ea5d4ae7756c835c$var$core.debug(`isExplicit: ${c}`);\n const valid = $ea5d4ae7756c835c$var$semver.valid(c) != null;\n $ea5d4ae7756c835c$var$core.debug(`explicit? ${valid}`);\n return valid;\n}\n$ea5d4ae7756c835c$exports.isExplicitVersion = $ea5d4ae7756c835c$var$isExplicitVersion;\n/**\n * Get the highest satisfiying semantic version in `versions` which satisfies `versionSpec`\n *\n * @param versions array of versions to evaluate\n * @param versionSpec semantic version spec to satisfy\n */ function $ea5d4ae7756c835c$var$evaluateVersions(versions, versionSpec) {\n let version = \"\";\n $ea5d4ae7756c835c$var$core.debug(`evaluating ${versions.length} versions`);\n versions = versions.sort((a, b)=>{\n if ($ea5d4ae7756c835c$var$semver.gt(a, b)) return 1;\n return -1;\n });\n for(let i = versions.length - 1; i >= 0; i--){\n const potential = versions[i];\n const satisfied = $ea5d4ae7756c835c$var$semver.satisfies(potential, versionSpec);\n if (satisfied) {\n version = potential;\n break;\n }\n }\n if (version) $ea5d4ae7756c835c$var$core.debug(`matched: ${version}`);\n else $ea5d4ae7756c835c$var$core.debug(\"match not found\");\n return version;\n}\n$ea5d4ae7756c835c$exports.evaluateVersions = $ea5d4ae7756c835c$var$evaluateVersions;\n/**\n * Gets RUNNER_TOOL_CACHE\n */ function $ea5d4ae7756c835c$var$_getCacheDirectory() {\n const cacheDirectory = process.env[\"RUNNER_TOOL_CACHE\"] || \"\";\n $4umf8$assert.ok(cacheDirectory, \"Expected RUNNER_TOOL_CACHE to be defined\");\n return cacheDirectory;\n}\n/**\n * Gets RUNNER_TEMP\n */ function $ea5d4ae7756c835c$var$_getTempDirectory() {\n const tempDirectory = process.env[\"RUNNER_TEMP\"] || \"\";\n $4umf8$assert.ok(tempDirectory, \"Expected RUNNER_TEMP to be defined\");\n return tempDirectory;\n}\n/**\n * Gets a global variable\n */ function $ea5d4ae7756c835c$var$_getGlobal(key, defaultValue) {\n /* eslint-disable @typescript-eslint/no-explicit-any */ const value = $parcel$global[key];\n /* eslint-enable @typescript-eslint/no-explicit-any */ return value !== undefined ? value : defaultValue;\n}\n/**\n * Returns an array of unique values.\n * @param values Values to make unique.\n */ function $ea5d4ae7756c835c$var$_unique(values) {\n return Array.from(new Set(values));\n}\n\n\n\nvar $hlfY9 = parcelRequire(\"hlfY9\");\n\nvar $6v1Be = parcelRequire(\"6v1Be\");\n\n\n\nvar $eAXk4 = parcelRequire(\"eAXk4\");\n\nvar $hHq4F = parcelRequire(\"hHq4F\");\n\n\nvar $dAuy6 = parcelRequire(\"dAuy6\");\n\n\n\n\n\n\n\nvar $6t4SD = parcelRequire(\"6t4SD\");\nvar $9f7bb4006737291a$exports = {};\n\"use strict\";\nObject.defineProperty($9f7bb4006737291a$exports, \"__esModule\", {\n value: true\n});\n$9f7bb4006737291a$exports.retryAsPromised = $9f7bb4006737291a$exports.TimeoutError = void 0;\nclass $9f7bb4006737291a$var$TimeoutError extends Error {\n constructor(message, previousError){\n super(message);\n this.name = \"TimeoutError\";\n this.previous = previousError;\n }\n}\n$9f7bb4006737291a$exports.TimeoutError = $9f7bb4006737291a$var$TimeoutError;\nfunction $9f7bb4006737291a$var$matches(match, err) {\n if (typeof match === \"function\") try {\n if (err instanceof match) return true;\n } catch (_) {\n return !!match(err);\n }\n if (match === err.toString()) return true;\n if (match === err.message) return true;\n return match instanceof RegExp && (match.test(err.message) || match.test(err.toString()));\n}\nfunction $9f7bb4006737291a$var$retryAsPromised(callback, optionsInput) {\n if (!callback || !optionsInput) throw new Error(\"retry-as-promised must be passed a callback and a options set\");\n optionsInput = typeof optionsInput === \"number\" ? {\n max: optionsInput\n } : optionsInput;\n const options = {\n $current: \"$current\" in optionsInput ? optionsInput.$current : 1,\n max: optionsInput.max,\n timeout: optionsInput.timeout || undefined,\n match: optionsInput.match ? Array.isArray(optionsInput.match) ? optionsInput.match : [\n optionsInput.match\n ] : [],\n backoffBase: optionsInput.backoffBase === undefined ? 100 : optionsInput.backoffBase,\n backoffExponent: optionsInput.backoffExponent || 1.1,\n report: optionsInput.report,\n name: optionsInput.name || callback.name || \"unknown\"\n };\n if (options.match && !Array.isArray(options.match)) options.match = [\n options.match\n ];\n if (options.report) options.report(\"Trying \" + options.name + \" #\" + options.$current + \" at \" + new Date().toLocaleTimeString(), options);\n return new Promise(function(resolve, reject) {\n let timeout;\n let backoffTimeout;\n let lastError;\n if (options.timeout) timeout = setTimeout(function() {\n if (backoffTimeout) clearTimeout(backoffTimeout);\n reject(new $9f7bb4006737291a$var$TimeoutError(options.name + \" timed out\", lastError));\n }, options.timeout);\n Promise.resolve(callback({\n current: options.$current\n })).then(resolve).then(function() {\n if (timeout) clearTimeout(timeout);\n if (backoffTimeout) clearTimeout(backoffTimeout);\n }).catch(function(err) {\n if (timeout) clearTimeout(timeout);\n if (backoffTimeout) clearTimeout(backoffTimeout);\n lastError = err;\n if (options.report) options.report(err && err.toString() || err, options, err);\n // Should not retry if max has been reached\n var shouldRetry = options.$current < options.max;\n if (!shouldRetry) return reject(err);\n shouldRetry = options.match.length === 0 || options.match.some(function(match) {\n return $9f7bb4006737291a$var$matches(match, err);\n });\n if (!shouldRetry) return reject(err);\n var retryDelay = options.backoffBase * Math.pow(options.backoffExponent, options.$current - 1);\n // Do some accounting\n options.$current++;\n if (options.report) options.report(`Retrying ${options.name} (${options.$current})`, options);\n if (retryDelay) {\n // Use backoff function to ease retry rate\n if (options.report) options.report(`Delaying retry of ${options.name} by ${retryDelay}`, options);\n backoffTimeout = setTimeout(function() {\n $9f7bb4006737291a$var$retryAsPromised(callback, options).then(resolve).catch(reject);\n }, retryDelay);\n } else $9f7bb4006737291a$var$retryAsPromised(callback, options).then(resolve).catch(reject);\n });\n });\n}\n$9f7bb4006737291a$exports.retryAsPromised = $9f7bb4006737291a$var$retryAsPromised;\n$9f7bb4006737291a$exports.default = $9f7bb4006737291a$var$retryAsPromised;\n\n\nlet $d14c914d00b0f583$var$didInit = false;\nasync function $d14c914d00b0f583$export$334f77c9844c21f6(name, version, getPackageInfo, setupDir, arch) {\n (0, $hHq4F.info)(`Installing ${name} ${version} ${arch} via direct downloading`);\n var _process_env_RUNNER_TEMP;\n process.env.RUNNER_TEMP = (_process_env_RUNNER_TEMP = process.env.RUNNER_TEMP) !== null && _process_env_RUNNER_TEMP !== void 0 ? _process_env_RUNNER_TEMP : (0, $4umf8$os.tmpdir)();\n var _process_env_RUNNER_TOOL_CACHE;\n process.env.RUNNER_TOOL_CACHE = (_process_env_RUNNER_TOOL_CACHE = process.env.RUNNER_TOOL_CACHE) !== null && _process_env_RUNNER_TOOL_CACHE !== void 0 ? _process_env_RUNNER_TOOL_CACHE : (0, $eAXk4.join)((0, $4umf8$os.tmpdir)(), \"setup-cpp\", \"hostedtoolcache\");\n const { url: url, binRelativeDir: binRelativeDir, binFileName: binFileName, extractedFolderName: extractedFolderName, extractFunction: extractFunction } = await getPackageInfo(version, process.platform, arch);\n // Restore from cache (if found).\n if (0, $dAuy6.GITHUB_ACTIONS) try {\n const dir = (0, $ea5d4ae7756c835c$exports.find)(name, version);\n if (dir) {\n const installDir = (0, $eAXk4.join)(dir, extractedFolderName);\n const binDir = (0, $eAXk4.join)(installDir, binRelativeDir);\n if (await (0, $6t4SD.pathExists)((0, $eAXk4.join)(binDir, binFileName))) {\n (0, $hHq4F.info)(`${name} ${version} was found in the cache at ${binDir}.`);\n await (0, $fcca2ee3cb52e97b$export$4c25481b843feb0b)(binDir);\n return {\n installDir: installDir,\n binDir: binDir\n };\n }\n }\n } catch {\n // fails on a local machine?\n }\n const installDir = (0, $eAXk4.join)(setupDir, extractedFolderName);\n const binDir = (0, $eAXk4.join)(installDir, binRelativeDir);\n const binFile = (0, $eAXk4.join)(binDir, binFileName);\n // download ane extract the package into the installation directory.\n if ((await Promise.all([\n (0, $6t4SD.pathExists)(binDir),\n (0, $6t4SD.pathExists)(binFile)\n ])).includes(false)) try {\n (0, $hHq4F.info)(`Download ${name} ${version}`);\n // try to download the package 4 times with 2 seconds delay\n const downloaded = await (0, (/*@__PURE__*/$parcel$interopDefault($9f7bb4006737291a$exports)))(()=>{\n return (0, $ea5d4ae7756c835c$exports.downloadTool)(url);\n }, {\n name: url,\n max: 4,\n backoffBase: 2000,\n report: (err)=>(0, $hHq4F.info)(err)\n });\n if (!$d14c914d00b0f583$var$didInit) {\n (0, $hHq4F.info)(`Installing extraction dependencies`);\n if (process.platform === \"linux\") {\n if ((0, $64f7d4d3c6118037$export$d415ddb6702ec3a2)()) await Promise.all([\n (0, $48b5fe4903818be0$export$cfa75578ee2d6e6c)(\"unzip\"),\n (0, $48b5fe4903818be0$export$cfa75578ee2d6e6c)(\"tar\"),\n (0, $48b5fe4903818be0$export$cfa75578ee2d6e6c)(\"xz\")\n ]);\n else if ((0, $07c9db864ea9c735$export$8ce8b4b22331a8c7)()) await (0, $5e892f3aba3794f6$export$49d4f9ba8e0dd34f)([\n {\n name: \"unzip\"\n },\n {\n name: \"tar\"\n },\n {\n name: \"xz\"\n }\n ]);\n else if ((0, $c304217cbb6a03a7$export$da8baf1d6c6802b6)()) await (0, $4574e4c050df58da$export$d73dc343f5abf26)([\n {\n name: \"unzip\"\n },\n {\n name: \"tar\"\n },\n {\n name: \"xz-utils\"\n }\n ]);\n }\n // eslint-disable-next-line require-atomic-updates\n $d14c914d00b0f583$var$didInit = true;\n }\n (0, $hHq4F.info)(`Extracting ${downloaded} to ${setupDir}`);\n await (extractFunction === null || extractFunction === void 0 ? void 0 : 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 // Adding the bin dir to the path\n /** The directory which the tool is installed to */ (0, $hHq4F.info)(`Add ${binDir} to PATH`);\n await (0, $fcca2ee3cb52e97b$export$4c25481b843feb0b)(binDir);\n // check if inside Github Actions. If so, cache the installation\n if ((0, $dAuy6.GITHUB_ACTIONS) && typeof process.env.RUNNER_TOOL_CACHE === \"string\") await (0, $ea5d4ae7756c835c$exports.cacheDir)(setupDir, name, version);\n return {\n installDir: installDir,\n binDir: binDir\n };\n}\n\n\n\nvar $eAXk4 = parcelRequire(\"eAXk4\");\n\n\nvar $zdagz = parcelRequire(\"zdagz\");\n\n\n\n\n\n\n\n\n\nfunction $9a4a93f779a8f772$export$5fc39629e14c8173(version, _setupDir, _arch) {\n switch(process.platform){\n case \"win32\":\n return (0, $9fccd3400da2cfd8$export$9f6912bc890040b2)(\"7zip\", version);\n case \"darwin\":\n return (0, $7ad09143f110687f$export$ce5d13d8a85cb784)(\"p7zip\", version);\n case \"linux\":\n if ((0, $64f7d4d3c6118037$export$d415ddb6702ec3a2)()) return (0, $48b5fe4903818be0$export$cfa75578ee2d6e6c)(\"p7zip\", version);\n else if ((0, $07c9db864ea9c735$export$8ce8b4b22331a8c7)()) return (0, $5e892f3aba3794f6$export$49d4f9ba8e0dd34f)([\n {\n name: \"p7zip\",\n version: version\n },\n {\n name: \"p7zip-plugins\",\n version: version\n }\n ]);\n else if ((0, $c304217cbb6a03a7$export$da8baf1d6c6802b6)()) return (0, $4574e4c050df58da$export$d73dc343f5abf26)([\n {\n name: \"p7zip-full\",\n version: version\n }\n ]);\n throw new Error(`Unsupported linux distribution`);\n default:\n throw new Error(`Unsupported platform`);\n }\n}\n\n\n\nvar $hHq4F = parcelRequire(\"hHq4F\");\n\n\nlet $1533841bc1073d6a$var$sevenZip;\nasync function $1533841bc1073d6a$export$eecfe186811d4a20(file, dest) {\n await (0, $24f062d29362ada6$export$db6b1668e3758717)(await $1533841bc1073d6a$var$getSevenZip(), [\n \"x\",\n file,\n `-o${dest}`,\n \"-y\"\n ], {\n stdio: \"inherit\"\n });\n await (0, $bf272871df54e58d$export$4718e061a205eab)(dest);\n return dest;\n}\n/// install 7z if needed\nasync function $1533841bc1073d6a$var$getSevenZip() {\n if ($1533841bc1073d6a$var$sevenZip === undefined) {\n if ((0, (/*@__PURE__*/$parcel$interopDefault($71cfef4812d1fa23$exports))).sync(\"7z\", {\n nothrow: true\n }) === null) await (0, $9a4a93f779a8f772$export$5fc39629e14c8173)(\"\", \"\", process.arch);\n // eslint-disable-next-line require-atomic-updates\n $1533841bc1073d6a$var$sevenZip = \"7z\";\n }\n return $1533841bc1073d6a$var$sevenZip;\n}\nfunction $1533841bc1073d6a$export$7949938b2681a4f0(file, dest) {\n return $1533841bc1073d6a$export$eecfe186811d4a20(file, dest);\n}\nfunction $1533841bc1073d6a$export$6411c5cbab21135b(file, dest) {\n return $1533841bc1073d6a$export$eecfe186811d4a20(file, dest);\n}\nasync function $1533841bc1073d6a$export$2ab07ac150064014(file, dest, flags = [\n \"--strip-components=0\"\n]) {\n try {\n await (0, $zdagz.mkdirP)(dest);\n } catch {\n // ignore\n }\n // TODO windows fails to create symlinks\n // https://github.com/heroku/heroku-slugs/issues/3\n try {\n await (0, $24f062d29362ada6$export$db6b1668e3758717)(\"tar\", [\n \"xf\",\n file,\n \"-C\",\n dest,\n ...flags\n ], {\n stdio: \"inherit\"\n });\n } catch (e) {\n if (process.platform === \"win32\" && e.message.includes(\"Can't create '\\\\\\\\?\\\\C:\")) (0, $hHq4F.warning)(`Failed to extract symlink ${file} to ${dest}. Ignoring this symlink.`);\n }\n (0, $bf272871df54e58d$export$4718e061a205eab)(dest);\n return dest;\n}\n\n\n/** Get the platform data for cmake */ function $6ca1cdfc8544c646$var$getCmakePackageInfo(version, platform, arch) {\n var _semverCoerce;\n const semVersion = (_semverCoerce = (0, (/*@__PURE__*/$parcel$interopDefault($6v1Be)))(version)) !== null && _semverCoerce !== void 0 ? _semverCoerce : version;\n switch(platform){\n case \"win32\":\n {\n const isOld = (0, (/*@__PURE__*/$parcel$interopDefault($hlfY9)))(semVersion, \"v3.19.6\");\n let osArchStr;\n if ([\n \"ia32\",\n \"x86\",\n \"i386\",\n \"x32\"\n ].includes(arch)) osArchStr = isOld ? \"win32-x86\" : \"windows-i386\";\n else osArchStr = isOld ? \"win64-x64\" : \"windows-x86_64\";\n const folderName = `cmake-${version}-${osArchStr}`;\n return {\n binRelativeDir: \"bin/\",\n binFileName: (0, $eAXk4.addExeExt)(\"cmake\"),\n extractedFolderName: folderName,\n extractFunction: (0, $1533841bc1073d6a$export$6411c5cbab21135b),\n url: `https://github.com/Kitware/CMake/releases/download/v${version}/${folderName}.zip`\n };\n }\n case \"darwin\":\n {\n const isOld = (0, (/*@__PURE__*/$parcel$interopDefault($hlfY9)))(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: (0, $eAXk4.addExeExt)(\"cmake\"),\n extractedFolderName: folderName,\n extractFunction: (0, $ea5d4ae7756c835c$exports.extractTar),\n url: `https://github.com/Kitware/CMake/releases/download/v${version}/${folderName}.tar.gz`\n };\n }\n case \"linux\":\n {\n const isOld = (0, (/*@__PURE__*/$parcel$interopDefault($hlfY9)))(semVersion, \"v3.19.8\");\n let osArchStr;\n if ([\n \"aarch64\"\n ].includes(arch)) osArchStr = isOld ? \"Linux-aarch64\" : \"linux-aarch64\";\n else osArchStr = isOld ? \"Linux-x86_64\" : \"linux-x86_64\";\n const folderName = `cmake-${version}-${osArchStr}`;\n return {\n binRelativeDir: \"bin/\",\n binFileName: (0, $eAXk4.addExeExt)(\"cmake\"),\n extractedFolderName: folderName,\n extractFunction: (0, $ea5d4ae7756c835c$exports.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}\nfunction $6ca1cdfc8544c646$export$c28663a621f418ce(version, setupDir, arch) {\n return (0, $d14c914d00b0f583$export$334f77c9844c21f6)(\"cmake\", version, $6ca1cdfc8544c646$var$getCmakePackageInfo, setupDir, arch);\n}\n\n\n\nvar $1o3Gj = parcelRequire(\"1o3Gj\");\n\n\nvar $6t4SD = parcelRequire(\"6t4SD\");\n\nvar $eAXk4 = parcelRequire(\"eAXk4\");\n\n/* eslint-disable require-atomic-updates */ \nvar $bHzmH = parcelRequire(\"bHzmH\");\n\n\nvar $dAuy6 = parcelRequire(\"dAuy6\");\n\nvar $hHq4F = parcelRequire(\"hHq4F\");\n\n/**\n * @constant DEFAULT_OPTIONS_KEYS the default options keys\n */ var $4d02233aed1c3ded$var$DEFAULT_OPTIONS_KEYS = {\n isEqual: true,\n isMatchingKey: true,\n isPromise: true,\n maxSize: true,\n onCacheAdd: true,\n onCacheChange: true,\n onCacheHit: true,\n transformKey: true\n};\n/**\n * @function slice\n *\n * @description\n * slice.call() pre-bound\n */ var $4d02233aed1c3ded$var$slice = Array.prototype.slice;\n/**\n * @function cloneArray\n *\n * @description\n * clone the array-like object and return the new array\n *\n * @param arrayLike the array-like object to clone\n * @returns the clone as an array\n */ function $4d02233aed1c3ded$var$cloneArray(arrayLike) {\n var length = arrayLike.length;\n if (!length) return [];\n if (length === 1) return [\n arrayLike[0]\n ];\n if (length === 2) return [\n arrayLike[0],\n arrayLike[1]\n ];\n if (length === 3) return [\n arrayLike[0],\n arrayLike[1],\n arrayLike[2]\n ];\n return $4d02233aed1c3ded$var$slice.call(arrayLike, 0);\n}\n/**\n * @function getCustomOptions\n *\n * @description\n * get the custom options on the object passed\n *\n * @param options the memoization options passed\n * @returns the custom options passed\n */ function $4d02233aed1c3ded$var$getCustomOptions(options) {\n var customOptions = {};\n /* eslint-disable no-restricted-syntax */ for(var key in options)if (!$4d02233aed1c3ded$var$DEFAULT_OPTIONS_KEYS[key]) customOptions[key] = options[key];\n /* eslint-enable */ return customOptions;\n}\n/**\n * @function isMemoized\n *\n * @description\n * is the function passed already memoized\n *\n * @param fn the function to test\n * @returns is the function already memoized\n */ function $4d02233aed1c3ded$var$isMemoized(fn) {\n return typeof fn === \"function\" && fn.isMemoized;\n}\n/**\n * @function isSameValueZero\n *\n * @description\n * are the objects equal based on SameValueZero equality\n *\n * @param object1 the first object to compare\n * @param object2 the second object to compare\n * @returns are the two objects equal\n */ function $4d02233aed1c3ded$var$isSameValueZero(object1, object2) {\n // eslint-disable-next-line no-self-compare\n return object1 === object2 || object1 !== object1 && object2 !== object2;\n}\n/**\n * @function mergeOptions\n *\n * @description\n * merge the options into the target\n *\n * @param existingOptions the options provided\n * @param newOptions the options to include\n * @returns the merged options\n */ function $4d02233aed1c3ded$var$mergeOptions(existingOptions, newOptions) {\n var target = {};\n /* eslint-disable no-restricted-syntax */ for(var key in existingOptions)target[key] = existingOptions[key];\n for(var key in newOptions)target[key] = newOptions[key];\n /* eslint-enable */ return target;\n}\n// utils\nvar $4d02233aed1c3ded$var$Cache = /** @class */ function() {\n function Cache(options) {\n this.keys = [];\n this.values = [];\n this.options = options;\n var isMatchingKeyFunction = typeof options.isMatchingKey === \"function\";\n if (isMatchingKeyFunction) this.getKeyIndex = this._getKeyIndexFromMatchingKey;\n else if (options.maxSize > 1) this.getKeyIndex = this._getKeyIndexForMany;\n else this.getKeyIndex = this._getKeyIndexForSingle;\n this.canTransformKey = typeof options.transformKey === \"function\";\n this.shouldCloneArguments = this.canTransformKey || isMatchingKeyFunction;\n this.shouldUpdateOnAdd = typeof options.onCacheAdd === \"function\";\n this.shouldUpdateOnChange = typeof options.onCacheChange === \"function\";\n this.shouldUpdateOnHit = typeof options.onCacheHit === \"function\";\n }\n Object.defineProperty(Cache.prototype, \"size\", {\n /**\n * The number of cached [key,value] results.\n */ get: function() {\n return this.keys.length;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(Cache.prototype, \"snapshot\", {\n /**\n * A copy of the cache at a moment in time. This is useful\n * to compare changes over time, since the cache mutates\n * internally for performance reasons.\n */ get: function() {\n return {\n keys: $4d02233aed1c3ded$var$cloneArray(this.keys),\n size: this.size,\n values: $4d02233aed1c3ded$var$cloneArray(this.values)\n };\n },\n enumerable: false,\n configurable: true\n });\n /**\n * Gets the matching key index when a custom key matcher is used.\n */ Cache.prototype._getKeyIndexFromMatchingKey = function(keyToMatch) {\n var _a = this.options, isMatchingKey = _a.isMatchingKey, maxSize = _a.maxSize;\n var keys = this.keys;\n var keysLength = keys.length;\n if (!keysLength) return -1;\n if (isMatchingKey(keys[0], keyToMatch)) return 0;\n if (maxSize > 1) for(var index = 1; index < keysLength; index++){\n if (isMatchingKey(keys[index], keyToMatch)) return index;\n }\n return -1;\n };\n /**\n * Gets the matching key index when multiple keys are used.\n */ Cache.prototype._getKeyIndexForMany = function(keyToMatch) {\n var isEqual = this.options.isEqual;\n var keys = this.keys;\n var keysLength = keys.length;\n if (!keysLength) return -1;\n if (keysLength === 1) return this._getKeyIndexForSingle(keyToMatch);\n var keyLength = keyToMatch.length;\n var existingKey;\n var argIndex;\n if (keyLength > 1) for(var index = 0; index < keysLength; index++){\n existingKey = keys[index];\n if (existingKey.length === keyLength) {\n argIndex = 0;\n for(; argIndex < keyLength; argIndex++){\n if (!isEqual(existingKey[argIndex], keyToMatch[argIndex])) break;\n }\n if (argIndex === keyLength) return index;\n }\n }\n else for(var index = 0; index < keysLength; index++){\n existingKey = keys[index];\n if (existingKey.length === keyLength && isEqual(existingKey[0], keyToMatch[0])) return index;\n }\n return -1;\n };\n /**\n * Gets the matching key index when a single key is used.\n */ Cache.prototype._getKeyIndexForSingle = function(keyToMatch) {\n var keys = this.keys;\n if (!keys.length) return -1;\n var existingKey = keys[0];\n var length = existingKey.length;\n if (keyToMatch.length !== length) return -1;\n var isEqual = this.options.isEqual;\n if (length > 1) {\n for(var index = 0; index < length; index++){\n if (!isEqual(existingKey[index], keyToMatch[index])) return -1;\n }\n return 0;\n }\n return isEqual(existingKey[0], keyToMatch[0]) ? 0 : -1;\n };\n /**\n * Order the array based on a Least-Recently-Used basis.\n */ Cache.prototype.orderByLru = function(key, value, startingIndex) {\n var keys = this.keys;\n var values = this.values;\n var currentLength = keys.length;\n var index = startingIndex;\n while(index--){\n keys[index + 1] = keys[index];\n values[index + 1] = values[index];\n }\n keys[0] = key;\n values[0] = value;\n var maxSize = this.options.maxSize;\n if (currentLength === maxSize && startingIndex === currentLength) {\n keys.pop();\n values.pop();\n } else if (startingIndex >= maxSize) // eslint-disable-next-line no-multi-assign\n keys.length = values.length = maxSize;\n };\n /**\n * Update the promise method to auto-remove from cache if rejected, and\n * if resolved then fire cache hit / changed.\n */ Cache.prototype.updateAsyncCache = function(memoized) {\n var _this = this;\n var _a = this.options, onCacheChange = _a.onCacheChange, onCacheHit = _a.onCacheHit;\n var firstKey = this.keys[0];\n var firstValue = this.values[0];\n this.values[0] = firstValue.then(function(value) {\n if (_this.shouldUpdateOnHit) onCacheHit(_this, _this.options, memoized);\n if (_this.shouldUpdateOnChange) onCacheChange(_this, _this.options, memoized);\n return value;\n }, function(error) {\n var keyIndex = _this.getKeyIndex(firstKey);\n if (keyIndex !== -1) {\n _this.keys.splice(keyIndex, 1);\n _this.values.splice(keyIndex, 1);\n }\n throw error;\n });\n };\n return Cache;\n}();\nfunction $4d02233aed1c3ded$export$2e2bcd8739ae039(fn, options) {\n if (options === void 0) options = {};\n if ($4d02233aed1c3ded$var$isMemoized(fn)) return $4d02233aed1c3ded$export$2e2bcd8739ae039(fn.fn, $4d02233aed1c3ded$var$mergeOptions(fn.options, options));\n if (typeof fn !== \"function\") throw new TypeError(\"You must pass a function to `memoize`.\");\n var _a = options.isEqual, isEqual = _a === void 0 ? $4d02233aed1c3ded$var$isSameValueZero : _a, isMatchingKey = options.isMatchingKey, _b = options.isPromise, isPromise = _b === void 0 ? false : _b, _c = options.maxSize, maxSize = _c === void 0 ? 1 : _c, onCacheAdd = options.onCacheAdd, onCacheChange = options.onCacheChange, onCacheHit = options.onCacheHit, transformKey = options.transformKey;\n var normalizedOptions = $4d02233aed1c3ded$var$mergeOptions({\n isEqual: isEqual,\n isMatchingKey: isMatchingKey,\n isPromise: isPromise,\n maxSize: maxSize,\n onCacheAdd: onCacheAdd,\n onCacheChange: onCacheChange,\n onCacheHit: onCacheHit,\n transformKey: transformKey\n }, $4d02233aed1c3ded$var$getCustomOptions(options));\n var cache = new $4d02233aed1c3ded$var$Cache(normalizedOptions);\n var keys = cache.keys, values = cache.values, canTransformKey = cache.canTransformKey, shouldCloneArguments = cache.shouldCloneArguments, shouldUpdateOnAdd = cache.shouldUpdateOnAdd, shouldUpdateOnChange = cache.shouldUpdateOnChange, shouldUpdateOnHit = cache.shouldUpdateOnHit;\n var memoized = function() {\n var key = shouldCloneArguments ? $4d02233aed1c3ded$var$cloneArray(arguments) : arguments;\n if (canTransformKey) key = transformKey(key);\n var keyIndex = keys.length ? cache.getKeyIndex(key) : -1;\n if (keyIndex !== -1) {\n if (shouldUpdateOnHit) onCacheHit(cache, normalizedOptions, memoized);\n if (keyIndex) {\n cache.orderByLru(keys[keyIndex], values[keyIndex], keyIndex);\n if (shouldUpdateOnChange) onCacheChange(cache, normalizedOptions, memoized);\n }\n } else {\n var newValue = fn.apply(this, arguments);\n var newKey = shouldCloneArguments ? key : $4d02233aed1c3ded$var$cloneArray(arguments);\n cache.orderByLru(newKey, newValue, keys.length);\n if (isPromise) cache.updateAsyncCache(memoized);\n if (shouldUpdateOnAdd) onCacheAdd(cache, normalizedOptions, memoized);\n if (shouldUpdateOnChange) onCacheChange(cache, normalizedOptions, memoized);\n }\n return values[0];\n };\n memoized.cache = cache;\n memoized.fn = fn;\n memoized.isMemoized = true;\n memoized.options = normalizedOptions;\n return memoized;\n}\n\n\n\nvar $eAXk4 = parcelRequire(\"eAXk4\");\n\n\n\n\n\n\n\n\n\n\n// src/modules/https-utils.ts\n\n\nfunction $930bb3ec7bf38c88$var$isStatusOK(result) {\n return result.statusCode !== void 0 && result.statusCode >= 200 && result.statusCode <= 399;\n}\nfunction $930bb3ec7bf38c88$var$requestWorks(url, method) {\n return new Promise((resolve)=>{\n try {\n const req = (0, $4umf8$https.request)(url, {\n method: method\n }, (result)=>{\n resolve($930bb3ec7bf38c88$var$isStatusOK(result));\n });\n req.on(\"error\", (_error)=>{\n resolve(false);\n });\n req.end();\n } catch {\n resolve(false);\n }\n });\n}\nvar $930bb3ec7bf38c88$export$8092cb61b2731942 = (url)=>{\n if (typeof url !== \"string\") return false;\n const trimmedUrl = url.trim();\n if (trimmedUrl.includes(\" \")) return false;\n try {\n new (0, $4umf8$url.URL)(trimmedUrl);\n return true;\n } catch {\n return false;\n }\n};\n// src/modules/isUrlOnline.ts\nvar $930bb3ec7bf38c88$export$61e6a71eee2b02f9 = async (url)=>{\n const isUrl = $930bb3ec7bf38c88$export$8092cb61b2731942(url);\n if (!isUrl) return false;\n let response = await $930bb3ec7bf38c88$var$requestWorks(url, \"HEAD\");\n if (response) return true;\n response = await $930bb3ec7bf38c88$var$requestWorks(url, \"GET\");\n return !!response;\n};\n// src/modules/prependHttp.ts\nvar $930bb3ec7bf38c88$export$b9a79b9e9f921305 = ({ url: url, https: https = true })=>{\n const trimmedUrl = url.trim();\n if (/^\\.*\\/|^(?!localhost)\\w+:/u.test(trimmedUrl)) return url;\n return trimmedUrl.replace(/^(?!(?:\\w+:)?\\/\\/)/u, https ? \"https://\" : \"http://\");\n};\n\n\n\nvar $jDqfd = parcelRequire(\"jDqfd\");\n\nvar $6v1Be = parcelRequire(\"6v1Be\");\n\nvar $2kZmC = parcelRequire(\"2kZmC\");\n\nvar $bHzmH = parcelRequire(\"bHzmH\");\n\nvar $hHq4F = parcelRequire(\"hHq4F\");\nfunction $d9c16e431e014540$export$deb1064c8260c54c(versions, semversion) {\n return Array.from(versions).filter((v)=>/^\\d+\\.\\d+\\.\\d+$/.test(v) && v.startsWith(semversion)).sort((a, b)=>{\n try {\n return (0, (/*@__PURE__*/$parcel$interopDefault($jDqfd)))(a, b);\n } catch (err) {\n return a.localeCompare(b);\n }\n }).reverse();\n}\nfunction $d9c16e431e014540$export$cbd9528a83fbffa1(specific) {\n const versions = new Set(specific);\n for (const version of specific){\n versions.add(/^\\d+/.exec(version)[0]);\n versions.add(/^\\d+\\.\\d+/.exec(version)[0]);\n }\n return versions;\n}\nasync function $d9c16e431e014540$export$4e4d3581f69a6d71(versions, platform, version, getUrl) {\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 (0, $930bb3ec7bf38c88$export$61e6a71eee2b02f9)(url)) return [\n version,\n url\n ];\n }\n // if the given set doesn't include the version, throw an error\n if (!versions.has(version)) throw new Error(`Unsupported target! (platform='${platform}', version='${version}'). Try one of the following: ${JSON.stringify(versions)}`);\n const offlineUrls = [];\n // TODO use Promise.any\n for (const specificVersion of $d9c16e431e014540$export$deb1064c8260c54c(versions, version)){\n // eslint-disable-next-line no-await-in-loop\n const url = await getUrl(platform, specificVersion);\n if (url !== null) {\n // eslint-disable-next-line no-await-in-loop\n if (await (0, $930bb3ec7bf38c88$export$61e6a71eee2b02f9)(url)) return [\n specificVersion,\n url\n ];\n else offlineUrls.push(url);\n }\n }\n throw new Error(`Unsupported target! (platform='${platform}', version='${version}'). Try one of the following: ${JSON.stringify(versions)}`);\n}\nconst $d9c16e431e014540$export$d7ab5e2d33b06cd5 = /v?(\\d\\S*)/;\nasync function $d9c16e431e014540$export$5b54ecc7386538f(file, versionRegex = $d9c16e431e014540$export$d7ab5e2d33b06cd5) {\n try {\n var _version_output_trim_match;\n const execout = await (0, $bHzmH.getExecOutput)(file, [\n \"--version\"\n ]);\n const version_output = execout.stdout || execout.stderr || \"\";\n const version = (_version_output_trim_match = version_output.trim().match(versionRegex)) === null || _version_output_trim_match === void 0 ? void 0 : _version_output_trim_match[1];\n var _semverCoerce;\n return (_semverCoerce = (0, (/*@__PURE__*/$parcel$interopDefault($6v1Be)))(version)) !== null && _semverCoerce !== void 0 ? _semverCoerce : undefined;\n } catch (e) {\n console.error(e);\n return undefined;\n }\n}\nasync function $d9c16e431e014540$export$d1f0d32b896ba08(givenFile, targetVersion, versionRegex = $d9c16e431e014540$export$d7ab5e2d33b06cd5) {\n const givenVersion = await $d9c16e431e014540$export$5b54ecc7386538f(givenFile, versionRegex);\n if (givenVersion !== undefined && targetVersion !== \"\") return (0, (/*@__PURE__*/$parcel$interopDefault($jDqfd)))(givenVersion, targetVersion) !== -1;\n else // assume given version is old\n return false;\n}\nfunction $d9c16e431e014540$export$afd7401db249098f(version) {\n if ((0, (/*@__PURE__*/$parcel$interopDefault($2kZmC)))(version) === null) // version coercion\n try {\n // find the semver version of an integer\n const coercedVersion = (0, (/*@__PURE__*/$parcel$interopDefault($6v1Be)))(version);\n if (coercedVersion !== null) {\n (0, $hHq4F.info)(`Coerced version '${version}' to '${coercedVersion}'`);\n return coercedVersion.version;\n }\n } catch (err) {\n // handled below\n }\n return version;\n}\nfunction $d9c16e431e014540$export$b19007c0050a2fcc(version) {\n return parseInt(version.replace(/^v/, \"\"), 10);\n}\nfunction $d9c16e431e014540$export$6863a97504984656(version) {\n if (!version.match(/^v/)) return `v${version}`;\n return version;\n}\n\n\nfunction $2e2fe846dc92ab85$export$7a5d5c156e7dc406(dirs) {\n return [\n ...new Set(dirs)\n ];\n}\n\n\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).\nfunction $a1e1d3689a86c9cd$var$getLLVMDefault() {\n switch(process.platform){\n case \"win32\":\n return \"17.0.4\";\n case \"linux\":\n // used for non-ubuntu (Fedora, Arch)\n return \"17.0.5-ubuntu-22.04\";\n case \"darwin\":\n return \"15.0.3\";\n default:\n return \"17.0.5\";\n }\n}\nconst $a1e1d3689a86c9cd$export$5fb1985a02d8f66f = {\n llvm: $a1e1d3689a86c9cd$var$getLLVMDefault(),\n clangtidy: $a1e1d3689a86c9cd$var$getLLVMDefault(),\n clangformat: $a1e1d3689a86c9cd$var$getLLVMDefault(),\n ninja: \"1.11.1\",\n cmake: \"3.27.4\",\n gcovr: \"6.0\",\n conan: \"1.62.0\",\n meson: \"1.2.3\",\n kcov: \"42\",\n task: \"3.31.0\",\n doxygen: (0, $64f7d4d3c6118037$export$d415ddb6702ec3a2)() ? \"1.9.8-1\" : \"1.9.8\",\n gcc: (0, $64f7d4d3c6118037$export$d415ddb6702ec3a2)() ? \"13.2.1-3\" : \"13\"\n};\nconst $a1e1d3689a86c9cd$export$b0fc8ac572b39938 = {\n pip: \"22.2.0\",\n python: \"3.7.9\"\n};\nconst $a1e1d3689a86c9cd$export$1bb63c984aa6e760 = {\n gcc: {\n 22: \"13\",\n 20: \"11\",\n 18: \"11\",\n 16: \"11\",\n 14: \"11\"\n },\n mingw: {\n 22: \"8.0.0-1\",\n 20: \"7.0.0-2\"\n },\n llvm: {\n 22: \"17.0.5-ubuntu-22.04\",\n 20: \"17.0.5-ubuntu-22.04\",\n 18: \"15.0.6-ubuntu-18.04\",\n 16: \"15.0.6-ubuntu-18.04\",\n 14: \"13.0.0-ubuntu-16.04\"\n },\n clangtidy: {\n 22: \"17.0.2-ubuntu-22.04\",\n 20: \"17.0.2-ubuntu-22.04\",\n 18: \"15.0.6-ubuntu-18.04\",\n 16: \"15.0.6-ubuntu-18.04\",\n 14: \"13.0.0-ubuntu-16.04\"\n },\n clangformat: {\n 22: \"17.0.2-ubuntu-22.04\",\n 20: \"17.0.2-ubuntu-22.04\",\n 18: \"15.0.6-ubuntu-18.04\",\n 16: \"15.0.6-ubuntu-18.04\",\n 14: \"13.0.0-ubuntu-16.04\"\n },\n gcovr: {\n 22: \"6.0\",\n 20: \"6.0\",\n 18: \"5.0\"\n },\n meson: {\n 20: \"1.0.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: \"42-binary\",\n 20: \"40-binary\",\n 18: \"40\",\n 16: \"40\",\n 14: \"40\"\n }\n};\n\n\n\nvar $6t4SD = parcelRequire(\"6t4SD\");\n\nasync function $8e03016ecb3dd99e$export$2b0b68e9df3d4a02(version, setupDir, arch) {\n const installInfo = await $8e03016ecb3dd99e$var$findOrSetupPython(version, setupDir, arch);\n (0, ($parcel$interopDefault($4umf8$assert)))(installInfo.bin !== undefined);\n const foundPython = installInfo.bin;\n // setup pip\n const foundPip = await $8e03016ecb3dd99e$var$findOrSetupPip(foundPython);\n if (foundPip === undefined) throw new Error(\"pip was not installed correctly\");\n await $8e03016ecb3dd99e$var$setupPipx(foundPython);\n await $8e03016ecb3dd99e$var$setupWheel(foundPython);\n return installInfo;\n}\nasync function $8e03016ecb3dd99e$var$setupPipx(foundPython) {\n try {\n if (!await (0, $13d538bb32b1caca$export$ffe24b8e86dbc863)(foundPython)) await (0, $13d538bb32b1caca$export$7c60aea099ad1c1d)(foundPython, \"pipx\", undefined, {\n upgrade: true,\n usePipx: false\n });\n await (0, $24f062d29362ada6$export$db6b1668e3758717)(foundPython, [\n \"-m\",\n \"pipx\",\n \"ensurepath\"\n ], {\n stdio: \"inherit\"\n });\n await (0, $13d538bb32b1caca$export$7c60aea099ad1c1d)(foundPython, \"venv\", undefined, {\n upgrade: false,\n usePipx: false\n });\n } catch (err) {\n (0, $hHq4F.warning)(`Failed to install pipx: ${err.toString()}. Ignoring...`);\n }\n}\n/** Setup wheel and setuptools */ async function $8e03016ecb3dd99e$var$setupWheel(foundPython) {\n try {\n await (0, $13d538bb32b1caca$export$7c60aea099ad1c1d)(foundPython, \"setuptools\", undefined, {\n upgrade: true,\n isLibrary: true,\n usePipx: false\n });\n await (0, $13d538bb32b1caca$export$7c60aea099ad1c1d)(foundPython, \"wheel\", undefined, {\n upgrade: true,\n isLibrary: true,\n usePipx: false\n });\n } catch (err) {\n (0, $hHq4F.warning)(`Failed to install setuptools or wheel: ${err.toString()}. Ignoring...`);\n }\n}\n\nasync function $8e03016ecb3dd99e$var$findOrSetupPython(version, setupDir, arch) {\n let installInfo;\n let foundPython = await $8e03016ecb3dd99e$var$findPython(setupDir);\n if (foundPython !== undefined) {\n const binDir = (0, $eAXk4.dirname)(foundPython);\n installInfo = {\n bin: foundPython,\n installDir: binDir,\n binDir: binDir\n };\n } else {\n // if python is not found, try to install it\n if (0, $dAuy6.GITHUB_ACTIONS) // install python in GitHub Actions\n try {\n (0, $hHq4F.info)(\"Installing python in GitHub Actions\");\n const { setupActionsPython: setupActionsPython } = await (parcelRequire(\"fEioR\"));\n await setupActionsPython(version, setupDir, arch);\n foundPython = await $8e03016ecb3dd99e$var$findPython(setupDir);\n const binDir = (0, $eAXk4.dirname)(foundPython);\n installInfo = {\n bin: foundPython,\n installDir: binDir,\n binDir: binDir\n };\n } catch (err) {\n (0, $hHq4F.warning)(err.toString());\n }\n if (installInfo === undefined) // install python via system package manager\n installInfo = await $8e03016ecb3dd99e$var$setupPythonSystem(setupDir, version);\n }\n if (foundPython === undefined || installInfo.bin === undefined) {\n foundPython = await $8e03016ecb3dd99e$var$findPython(setupDir);\n installInfo.bin = foundPython;\n }\n return installInfo;\n}\nasync function $8e03016ecb3dd99e$var$setupPythonSystem(setupDir, version) {\n let installInfo;\n switch(process.platform){\n case \"win32\":\n {\n if (setupDir) await (0, $9fccd3400da2cfd8$export$9f6912bc890040b2)(\"python3\", version, [\n `--params=/InstallDir:${setupDir}`\n ]);\n else await (0, $9fccd3400da2cfd8$export$9f6912bc890040b2)(\"python3\", version);\n // Adding the bin dir to the path\n const bin = await $8e03016ecb3dd99e$var$findPython(setupDir);\n const binDir = (0, $eAXk4.dirname)(bin);\n /** The directory which the tool is installed to */ await (0, $fcca2ee3cb52e97b$export$4c25481b843feb0b)(binDir);\n installInfo = {\n installDir: binDir,\n binDir: binDir,\n bin: bin\n };\n break;\n }\n case \"darwin\":\n {\n installInfo = await (0, $7ad09143f110687f$export$ce5d13d8a85cb784)(\"python3\", version);\n // add the python and pip binaries to the path\n const brewPythonPrefix = await (0, $24f062d29362ada6$export$db6b1668e3758717)(\"brew\", [\n \"--prefix\",\n \"python\"\n ], {\n stdio: \"pipe\"\n });\n const brewPythonBin = (0, $eAXk4.join)(brewPythonPrefix.stdout, \"libexec\", \"bin\");\n await (0, $fcca2ee3cb52e97b$export$4c25481b843feb0b)(brewPythonBin);\n break;\n }\n case \"linux\":\n if ((0, $64f7d4d3c6118037$export$d415ddb6702ec3a2)()) installInfo = await (0, $48b5fe4903818be0$export$cfa75578ee2d6e6c)(\"python\", version);\n else if ((0, $07c9db864ea9c735$export$8ce8b4b22331a8c7)()) installInfo = await (0, $5e892f3aba3794f6$export$49d4f9ba8e0dd34f)([\n {\n name: \"python3\",\n version: version\n }\n ]);\n else if ((0, $c304217cbb6a03a7$export$da8baf1d6c6802b6)()) installInfo = await (0, $4574e4c050df58da$export$d73dc343f5abf26)([\n {\n name: \"python3\",\n version: version\n },\n {\n name: \"python-is-python3\"\n }\n ]);\n else throw new Error(\"Unsupported linux distributions\");\n break;\n default:\n throw new Error(\"Unsupported platform\");\n }\n return installInfo;\n}\nasync function $8e03016ecb3dd99e$var$findPython(binDir) {\n for (const pythonBin of [\n \"python3\",\n \"python\"\n ]){\n // eslint-disable-next-line no-await-in-loop\n const foundPython = await $8e03016ecb3dd99e$var$isPythonUpToDate(pythonBin, binDir);\n if (foundPython !== undefined) return foundPython;\n }\n return undefined;\n}\nasync function $8e03016ecb3dd99e$var$isPythonUpToDate(candidate, binDir) {\n try {\n if (binDir !== undefined) {\n const pythonBinPath = (0, $eAXk4.join)(binDir, (0, $eAXk4.addExeExt)(candidate));\n if (await (0, $6t4SD.pathExists)(pythonBinPath)) {\n if (await (0, $d9c16e431e014540$export$d1f0d32b896ba08)(pythonBinPath, (0, $a1e1d3689a86c9cd$export$b0fc8ac572b39938).python)) return pythonBinPath;\n }\n }\n var _ref;\n const pythonBinPaths = (_ref = await (0, (/*@__PURE__*/$parcel$interopDefault($71cfef4812d1fa23$exports)))(candidate, {\n nothrow: true,\n all: true\n })) !== null && _ref !== void 0 ? _ref : [];\n for (const pythonBinPath of pythonBinPaths){\n // eslint-disable-next-line no-await-in-loop\n if (await (0, $d9c16e431e014540$export$d1f0d32b896ba08)(pythonBinPath, (0, $a1e1d3689a86c9cd$export$b0fc8ac572b39938).python)) return pythonBinPath;\n }\n } catch {\n // fall through\n }\n return undefined;\n}\nasync function $8e03016ecb3dd99e$var$findOrSetupPip(foundPython) {\n const maybePip = await $8e03016ecb3dd99e$var$findPip();\n if (maybePip === undefined) {\n // install pip if not installed\n (0, $hHq4F.info)(\"pip was not found. Installing pip\");\n await $8e03016ecb3dd99e$var$setupPip(foundPython);\n return $8e03016ecb3dd99e$var$findPip() // recurse to check if pip is on PATH and up-to-date\n ;\n }\n return maybePip;\n}\nasync function $8e03016ecb3dd99e$var$findPip() {\n for (const pipCandidate of [\n \"pip3\",\n \"pip\"\n ]){\n // eslint-disable-next-line no-await-in-loop\n const maybePip = await $8e03016ecb3dd99e$var$isPipUptoDate(pipCandidate);\n if (maybePip !== undefined) return maybePip;\n }\n return undefined;\n}\nasync function $8e03016ecb3dd99e$var$isPipUptoDate(pip) {\n try {\n var _ref;\n const pipPaths = (_ref = await (0, (/*@__PURE__*/$parcel$interopDefault($71cfef4812d1fa23$exports)))(pip, {\n nothrow: true,\n all: true\n })) !== null && _ref !== void 0 ? _ref : [];\n for (const pipPath of pipPaths){\n // eslint-disable-next-line no-await-in-loop\n if (pipPath !== null && await (0, $d9c16e431e014540$export$d1f0d32b896ba08)(pipPath, (0, $a1e1d3689a86c9cd$export$b0fc8ac572b39938).pip)) return pipPath;\n }\n } catch {\n // fall through\n }\n return undefined;\n}\nasync function $8e03016ecb3dd99e$var$setupPip(foundPython) {\n const upgraded = await $8e03016ecb3dd99e$var$ensurePipUpgrade(foundPython);\n if (!upgraded) {\n // ensure that pip is installed on Linux (happens when python is found but pip not installed)\n await (0, $13d538bb32b1caca$export$6de3fef38027e326)(\"pip\");\n // upgrade pip\n await $8e03016ecb3dd99e$var$ensurePipUpgrade(foundPython);\n }\n}\nasync function $8e03016ecb3dd99e$var$ensurePipUpgrade(foundPython) {\n try {\n await (0, $24f062d29362ada6$export$db6b1668e3758717)(foundPython, [\n \"-m\",\n \"ensurepip\",\n \"-U\",\n \"--upgrade\"\n ], {\n stdio: \"inherit\"\n });\n return true;\n } catch (err1) {\n var _err1_toString;\n (0, $hHq4F.info)(err1 === null || err1 === void 0 ? void 0 : (_err1_toString = err1.toString) === null || _err1_toString === void 0 ? void 0 : _err1_toString.call(err1));\n try {\n // ensure pip is disabled on Ubuntu\n await (0, $24f062d29362ada6$export$db6b1668e3758717)(foundPython, [\n \"-m\",\n \"pip\",\n \"install\",\n \"--upgrade\",\n \"pip\"\n ], {\n stdio: \"inherit\"\n });\n return true;\n } catch (err2) {\n var _err2_toString;\n (0, $hHq4F.info)(err2 === null || err2 === void 0 ? void 0 : (_err2_toString = err2.toString) === null || _err2_toString === void 0 ? void 0 : _err2_toString.call(err2));\n // pip module not found\n }\n }\n // all methods failed\n return false;\n}\nasync function $8e03016ecb3dd99e$var$addPythonBaseExecPrefix_raw(python) {\n const dirs = [];\n // detection based on the platform\n if (process.platform === \"linux\") dirs.push(\"/home/runner/.local/bin/\");\n else if (process.platform === \"darwin\") dirs.push(\"/usr/local/bin/\");\n // detection using python.sys\n const base_exec_prefix = (await (0, $bHzmH.getExecOutput)(`${python} -c \"import sys;print(sys.base_exec_prefix);\"`)).stdout.trim();\n // any of these are possible depending on the operating system!\n dirs.push((0, $eAXk4.join)(base_exec_prefix, \"Scripts\"), (0, $eAXk4.join)(base_exec_prefix, \"Scripts\", \"bin\"), (0, $eAXk4.join)(base_exec_prefix, \"bin\"));\n // remove duplicates\n return (0, $2e2fe846dc92ab85$export$7a5d5c156e7dc406)(dirs);\n}\nconst $8e03016ecb3dd99e$export$4bf645347c3b7001 = (0, $4d02233aed1c3ded$export$2e2bcd8739ae039)($8e03016ecb3dd99e$var$addPythonBaseExecPrefix_raw, {\n isPromise: true\n});\n\n\n\n\nfunction $8555a825dc64b9bc$export$c506eb22e615ba4a(name, version, osVersion = null) {\n if ($8555a825dc64b9bc$var$isVersionDefault(version) && process.platform === \"linux\" && osVersion !== null && name in (0, $a1e1d3689a86c9cd$export$1bb63c984aa6e760)) return $8555a825dc64b9bc$var$getDefaultLinuxVersion(osVersion, (0, $a1e1d3689a86c9cd$export$1bb63c984aa6e760)[name]);\n else if ($8555a825dc64b9bc$var$isVersionDefault(version) && name in (0, $a1e1d3689a86c9cd$export$5fb1985a02d8f66f)) return (0, $a1e1d3689a86c9cd$export$5fb1985a02d8f66f)[name];\n else if (version === \"true\") return \"\";\n return version !== null && version !== void 0 ? version : \"\";\n}\nfunction $8555a825dc64b9bc$var$isVersionDefault(version) {\n return version === \"true\" || version === undefined;\n}\n/// choose the default linux version based on ubuntu version\nfunction $8555a825dc64b9bc$var$getDefaultLinuxVersion(osVersion, toolLinuxVersions) {\n const osVersionMaj = osVersion[0];\n // find which version block the os version is in\n const satisfyingVersion = Object.keys(toolLinuxVersions).map((v)=>parseInt(v, 10)).sort((a, b)=>b - a) // sort in descending order\n .find((v)=>osVersionMaj >= v);\n return satisfyingVersion === undefined ? \"\" : toolLinuxVersions[satisfyingVersion];\n}\nfunction $8555a825dc64b9bc$export$dd13a1e418f5a5fe(opts, tools) {\n const toolsInUse = tools.filter((tool)=>opts[tool] !== undefined);\n const toolsNonDefaultVersion = toolsInUse.filter((tool)=>!$8555a825dc64b9bc$var$isVersionDefault(opts[tool]));\n const targetVersion = toolsNonDefaultVersion.length >= 1 ? opts[toolsNonDefaultVersion[0]] : \"true\";\n if (toolsNonDefaultVersion.some((tool)=>opts[tool] !== targetVersion)) // error if any explicit versions don't match the target version\n return false;\n toolsInUse.forEach((tool)=>{\n opts[tool] = targetVersion;\n });\n return true;\n}\n\n\n\nvar $hHq4F = parcelRequire(\"hHq4F\");\nvar $4bcf814693711658$exports = {};\n\"use strict\";\nObject.defineProperty($4bcf814693711658$exports, \"__esModule\", {\n value: true\n});\n$4bcf814693711658$exports.getUbuntuVersion = void 0;\n\nfunction $4bcf814693711658$var$isSystemError(e) {\n return \"errno\" in e;\n}\nfunction $4bcf814693711658$var$command(exe, args) {\n return new Promise((resolve, reject)=>{\n $4umf8$child_process.execFile(exe, args, {\n encoding: \"utf8\",\n shell: false\n }, (error, stdout, stderr)=>{\n if (error) {\n if ($4bcf814693711658$var$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 $4bcf814693711658$var$getUbuntuVersion() {\n if (process.platform !== \"linux\") return [];\n const stdout = await $4bcf814693711658$var$command(\"lsb_release\", [\n \"-a\"\n ]);\n if (stdout === null) return [];\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\") return [];\n distributorFound = true;\n }\n const desc = line.match(reDescription);\n if (desc) description = desc;\n const rel = line.match(reRelease);\n if (rel) release = rel;\n if (distributorFound && description && release) break;\n }\n if (!distributorFound) return [];\n for (const m of [\n description,\n release\n ])if (m) {\n const ss = [\n m[1],\n m[2]\n ];\n if (m[3]) ss.push(m[3]);\n return ss.map((s)=>parseInt(s, 10));\n }\n return [];\n}\n$4bcf814693711658$exports.getUbuntuVersion = $4bcf814693711658$var$getUbuntuVersion; //# sourceMappingURL=index.js.map\n\n\n\n\n\n\n\nasync function $1c6f48b06ad43808$var$ubuntuVersion_raw() {\n try {\n if ((0, $c304217cbb6a03a7$export$da8baf1d6c6802b6)()) {\n try {\n if ((0, (/*@__PURE__*/$parcel$interopDefault($71cfef4812d1fa23$exports))).sync(\"lsb_release\", {\n nothrow: true\n }) === null) await (0, $4574e4c050df58da$export$d73dc343f5abf26)([\n {\n name: \"lsb-release\"\n }\n ]);\n } catch {\n return $1c6f48b06ad43808$var$detectUsingOsVersion();\n }\n const versionSplitted = await (0, $4bcf814693711658$exports.getUbuntuVersion)();\n if (versionSplitted.length === 0) return $1c6f48b06ad43808$var$detectUsingOsVersion();\n return versionSplitted;\n } else return null;\n } catch (err) {\n (0, $hHq4F.warning)(err.toString());\n return null;\n }\n}\nconst $1c6f48b06ad43808$export$49c9cf1111dfa0ee = (0, $4d02233aed1c3ded$export$2e2bcd8739ae039)($1c6f48b06ad43808$var$ubuntuVersion_raw, {\n isPromise: true\n});\n/** Detect Ubuntu version using os.version() for Ubuntu based distros */ function $1c6f48b06ad43808$var$detectUsingOsVersion() {\n // #46~22.04.1-Ubuntu SMP ...\n const osVersion = (0, ($parcel$interopDefault($4umf8$os))).version();\n const versionSplitted = osVersion.split(\".\");\n const majorVersion = parseInt(versionSplitted[0].replace(\"#\", \"\"), 10);\n const minorVersion = parseInt(versionSplitted[1].replace(\"~\", \"\"), 10);\n const patchVersion = parseInt(versionSplitted[2].split(\"-\")[0], 10);\n return [\n majorVersion,\n minorVersion,\n patchVersion\n ];\n}\n\n\n\n\n\n\n\n\n\nasync function $13d538bb32b1caca$export$4020cb77ffa3ffac(name, version, options = {}) {\n return $13d538bb32b1caca$export$7c60aea099ad1c1d(await $13d538bb32b1caca$var$getPython(), name, version, options);\n}\nasync function $13d538bb32b1caca$export$7c60aea099ad1c1d(givenPython, name, version, options = {}) {\n const { usePipx: usePipx = true, user: user = true, upgrade: upgrade = false, isLibrary: isLibrary = false } = options;\n const isPipx = usePipx && !isLibrary && await $13d538bb32b1caca$export$ffe24b8e86dbc863(givenPython);\n const pip = isPipx ? \"pipx\" : \"pip\";\n const hasPackage = await $13d538bb32b1caca$var$pipHasPackage(givenPython, name);\n if (hasPackage) try {\n (0, $1o3Gj.info)(`Installing ${name} ${version !== null && version !== void 0 ? version : \"\"} via ${pip}`);\n const nameAndVersion = version !== undefined && version !== \"\" ? `${name}==${version}` : name;\n const upgradeFlag = upgrade ? isPipx ? [\n \"upgrade\"\n ] : [\n \"install\",\n \"--upgrade\"\n ] : [\n \"install\"\n ];\n const userFlag = !isPipx && user ? [\n \"--user\"\n ] : [];\n (0, $24f062d29362ada6$export$28823a701bb5a12d)(givenPython, [\n \"-m\",\n pip,\n ...upgradeFlag,\n ...userFlag,\n nameAndVersion\n ], {\n stdio: \"inherit\"\n });\n } catch (err) {\n (0, $1o3Gj.info)(`Failed to install ${name} via ${pip}: ${err}.`);\n if (await $13d538bb32b1caca$export$6de3fef38027e326(name) === null) throw new Error(`Failed to install ${name} via ${pip}: ${err}.`);\n }\n else {\n if (await $13d538bb32b1caca$export$6de3fef38027e326(name) === null) throw new Error(`Failed to install ${name} as it was not found via ${pip} or the system package manager`);\n }\n const execPaths = await (0, $8e03016ecb3dd99e$export$4bf645347c3b7001)(givenPython);\n const binDir = await $13d538bb32b1caca$var$findBinDir(execPaths, name);\n await (0, $fcca2ee3cb52e97b$export$4c25481b843feb0b)(binDir);\n return {\n binDir: binDir\n };\n}\nasync function $13d538bb32b1caca$export$ffe24b8e86dbc863(givenPython) {\n return (await (0, $24f062d29362ada6$export$db6b1668e3758717)(givenPython, [\n \"-m\",\n \"pipx\",\n \"--help\"\n ], {\n stdio: \"ignore\",\n reject: false\n })).exitCode === 0;\n}\nasync function $13d538bb32b1caca$var$getPython_raw() {\n const pythonBin = (await (0, $8e03016ecb3dd99e$export$2b0b68e9df3d4a02)((0, $8555a825dc64b9bc$export$c506eb22e615ba4a)(\"python\", undefined, await (0, $1c6f48b06ad43808$export$49c9cf1111dfa0ee)()), \"\", process.arch)).bin;\n if (pythonBin === undefined) throw new Error(\"Python binary was not found\");\n return pythonBin;\n}\nconst $13d538bb32b1caca$var$getPython = (0, $4d02233aed1c3ded$export$2e2bcd8739ae039)($13d538bb32b1caca$var$getPython_raw, {\n isPromise: true\n});\nasync function $13d538bb32b1caca$var$pipHasPackage(python, name) {\n const result = await (0, $24f062d29362ada6$export$db6b1668e3758717)(python, [\n \"-m\",\n \"pip\",\n \"-qq\",\n \"index\",\n \"versions\",\n name\n ], {\n stdio: \"ignore\",\n reject: false\n });\n return result.exitCode === 0;\n}\nasync function $13d538bb32b1caca$var$findBinDir(dirs, name) {\n const exists = await Promise.all(dirs.map((dir)=>(0, $6t4SD.pathExists)((0, $eAXk4.join)(dir, (0, $eAXk4.addExeExt)(name)))));\n const dirIndex = exists.findIndex((exist)=>exist);\n if (dirIndex !== -1) {\n const foundDir = dirs[dirIndex];\n return foundDir;\n }\n const whichDir = (0, (/*@__PURE__*/$parcel$interopDefault($71cfef4812d1fa23$exports))).sync((0, $eAXk4.addExeExt)(name), {\n nothrow: true\n });\n if (whichDir !== null) return (0, $eAXk4.dirname)(whichDir);\n return dirs[dirs.length - 1];\n}\nfunction $13d538bb32b1caca$export$6de3fef38027e326(name) {\n if (process.platform === \"linux\") {\n (0, $1o3Gj.info)(`Installing ${name} via the system package manager`);\n if ((0, $64f7d4d3c6118037$export$d415ddb6702ec3a2)()) return (0, $48b5fe4903818be0$export$cfa75578ee2d6e6c)(`python-${name}`);\n else if ((0, $07c9db864ea9c735$export$8ce8b4b22331a8c7)()) return (0, $5e892f3aba3794f6$export$49d4f9ba8e0dd34f)([\n {\n name: `python3-${name}`\n }\n ]);\n else if ((0, $c304217cbb6a03a7$export$da8baf1d6c6802b6)()) return (0, $4574e4c050df58da$export$d73dc343f5abf26)([\n {\n name: `python3-${name}`\n }\n ]);\n }\n return null;\n}\n\n\nfunction $7fad98b8fc122c7f$export$249d0c7d779d362f(version, _setupDir, _arch) {\n return (0, $13d538bb32b1caca$export$4020cb77ffa3ffac)(\"conan\", version);\n}\n\n\n\n\n\n\n\n\n\n\n\nasync function $287d43a812660c62$export$13d77464c548b5d3(version, _setupDir, _arch) {\n switch(process.platform){\n case \"win32\":\n {\n await (0, $9fccd3400da2cfd8$export$9f6912bc890040b2)(\"cppcheck\", version);\n const binDir = await $287d43a812660c62$var$activateWinCppcheck();\n return {\n binDir: binDir\n };\n }\n case \"darwin\":\n return (0, $7ad09143f110687f$export$ce5d13d8a85cb784)(\"cppcheck\", version);\n case \"linux\":\n if ((0, $64f7d4d3c6118037$export$d415ddb6702ec3a2)()) return (0, $48b5fe4903818be0$export$cfa75578ee2d6e6c)(\"cppcheck\", version);\n else if ((0, $07c9db864ea9c735$export$8ce8b4b22331a8c7)()) return (0, $5e892f3aba3794f6$export$49d4f9ba8e0dd34f)([\n {\n name: \"ccache\",\n version: version\n }\n ]);\n else if ((0, $c304217cbb6a03a7$export$da8baf1d6c6802b6)()) return (0, $4574e4c050df58da$export$d73dc343f5abf26)([\n {\n name: \"cppcheck\",\n version: version\n }\n ]);\n throw new Error(`Unsupported linux distribution`);\n default:\n throw new Error(`Unsupported platform`);\n }\n}\nasync function $287d43a812660c62$var$activateWinCppcheck() {\n const binDir = \"C:/Program Files/Cppcheck\";\n await (0, $fcca2ee3cb52e97b$export$4c25481b843feb0b)(binDir);\n return binDir;\n}\n\n\n\n\n\n\n\n\n\nvar $eAXk4 = parcelRequire(\"eAXk4\");\n\n\nvar $hHq4F = parcelRequire(\"hHq4F\");\n\n\n\n\n\n\n\n\n\nasync function $84a50e6b88ef38c7$export$b885bd977caaafb9(version, _setupDir, _arch) {\n switch(process.platform){\n case \"win32\":\n await (0, $9fccd3400da2cfd8$export$9f6912bc890040b2)(\"graphviz\", version);\n return $84a50e6b88ef38c7$var$activateGraphviz();\n case \"darwin\":\n return (0, $7ad09143f110687f$export$ce5d13d8a85cb784)(\"graphviz\", version);\n case \"linux\":\n if ((0, $64f7d4d3c6118037$export$d415ddb6702ec3a2)()) return (0, $48b5fe4903818be0$export$cfa75578ee2d6e6c)(\"graphviz\", version);\n else if ((0, $07c9db864ea9c735$export$8ce8b4b22331a8c7)()) return (0, $5e892f3aba3794f6$export$49d4f9ba8e0dd34f)([\n {\n name: \"graphviz\",\n version: version\n }\n ]);\n else if ((0, $c304217cbb6a03a7$export$da8baf1d6c6802b6)()) return (0, $4574e4c050df58da$export$d73dc343f5abf26)([\n {\n name: \"graphviz\",\n version: version\n }\n ]);\n throw new Error(`Unsupported linux distribution`);\n default:\n throw new Error(`Unsupported platform`);\n }\n}\nasync function $84a50e6b88ef38c7$var$activateGraphviz() {\n switch(process.platform){\n case \"win32\":\n {\n const binDir = \"C:/Program Files/Graphviz/bin\";\n await (0, $fcca2ee3cb52e97b$export$4c25481b843feb0b)(binDir);\n return {\n binDir: binDir\n };\n }\n default:\n throw new Error(`Unsupported platform`);\n }\n}\n\n\n\n\n\n\n\n\nvar $6t4SD = parcelRequire(\"6t4SD\");\n\n\n/** Get the platform data for cmake */ // eslint-disable-next-line @typescript-eslint/no-unused-vars\nfunction $befd38d449a1dd77$var$getDoxygenPackageInfo(version, platform, _arch) {\n switch(platform){\n case \"linux\":\n {\n const folderName = `doxygen-${version}`;\n return {\n binRelativeDir: \"bin/\",\n binFileName: (0, $eAXk4.addExeExt)(\"doxygen\"),\n extractedFolderName: folderName,\n extractFunction: (0, $ea5d4ae7756c835c$exports.extractTar),\n url: `https://www.doxygen.nl/files/${folderName}.linux.bin.tar.gz`\n };\n }\n case \"win32\":\n {\n const folderName = `doxygen-${version}`;\n return {\n binRelativeDir: \"\",\n binFileName: (0, $eAXk4.addExeExt)(\"doxygen\"),\n extractedFolderName: folderName,\n extractFunction: (0, $1533841bc1073d6a$export$6411c5cbab21135b),\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}\nasync function $befd38d449a1dd77$export$b6e6613a954051ee(version, setupDir, arch) {\n switch(process.platform){\n case \"win32\":\n {\n // try to download the package 4 times with 2 seconds delay\n await (0, (/*@__PURE__*/$parcel$interopDefault($9f7bb4006737291a$exports)))(()=>{\n return (0, $9fccd3400da2cfd8$export$9f6912bc890040b2)(\"doxygen.install\", version);\n }, {\n name: \"doxygen.install\",\n max: 4,\n backoffBase: 2000,\n report: (err)=>(0, $hHq4F.info)(err)\n });\n const binDir = await $befd38d449a1dd77$var$activateWinDoxygen();\n const installationInfo = {\n binDir: binDir\n };\n await (0, $84a50e6b88ef38c7$export$b885bd977caaafb9)((0, $8555a825dc64b9bc$export$c506eb22e615ba4a)(\"graphviz\", undefined), \"\", arch);\n return installationInfo;\n }\n case \"darwin\":\n {\n const installationInfo = await (0, $7ad09143f110687f$export$ce5d13d8a85cb784)(\"doxygen\", undefined);\n await (0, $84a50e6b88ef38c7$export$b885bd977caaafb9)((0, $8555a825dc64b9bc$export$c506eb22e615ba4a)(\"graphviz\", undefined), \"\", arch);\n return installationInfo;\n }\n case \"linux\":\n {\n let installationInfo;\n if (version === \"\" || (0, $64f7d4d3c6118037$export$d415ddb6702ec3a2)() || (0, $07c9db864ea9c735$export$8ce8b4b22331a8c7)()) {\n if ((0, $64f7d4d3c6118037$export$d415ddb6702ec3a2)()) installationInfo = await (0, $48b5fe4903818be0$export$cfa75578ee2d6e6c)(\"doxygen\", version);\n else if ((0, $07c9db864ea9c735$export$8ce8b4b22331a8c7)()) return (0, $5e892f3aba3794f6$export$49d4f9ba8e0dd34f)([\n {\n name: \"doxygen\",\n version: version\n }\n ]);\n else if ((0, $c304217cbb6a03a7$export$da8baf1d6c6802b6)()) installationInfo = await (0, $4574e4c050df58da$export$d73dc343f5abf26)([\n {\n name: \"doxygen\",\n version: version\n }\n ]);\n else throw new Error(`Unsupported linux distributions`);\n } else if ((0, $c304217cbb6a03a7$export$da8baf1d6c6802b6)()) try {\n // doxygen on stable Ubuntu repositories is very old. So, we use get the binary from the website itself\n installationInfo = await (0, $d14c914d00b0f583$export$334f77c9844c21f6)(\"doxygen\", version, $befd38d449a1dd77$var$getDoxygenPackageInfo, setupDir, arch);\n await (0, $4574e4c050df58da$export$d73dc343f5abf26)([\n {\n name: \"libclang-cpp9\"\n }\n ]);\n } catch (err) {\n (0, $hHq4F.notice)(`Failed to download doxygen binary. ${err}. Falling back to apt-get.`);\n installationInfo = await (0, $4574e4c050df58da$export$d73dc343f5abf26)([\n {\n name: \"doxygen\"\n }\n ]);\n }\n else throw new Error(`Unsupported linux distributions`);\n await (0, $84a50e6b88ef38c7$export$b885bd977caaafb9)((0, $8555a825dc64b9bc$export$c506eb22e615ba4a)(\"graphviz\", undefined, await (0, $1c6f48b06ad43808$export$49c9cf1111dfa0ee)()), \"\", arch);\n return installationInfo;\n }\n default:\n throw new Error(`Unsupported platform`);\n }\n}\nasync function $befd38d449a1dd77$var$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 ])// eslint-disable-next-line no-await-in-loop\n if (await (0, $6t4SD.pathExists)((0, $eAXk4.join)(binDir, \"doxygen.exe\"))) {\n // eslint-disable-next-line no-await-in-loop\n await (0, $fcca2ee3cb52e97b$export$4c25481b843feb0b)(binDir);\n return binDir;\n }\n throw new Error(\"Failed to find doxygen binary\");\n default:\n throw new Error(`Unsupported platform`);\n }\n}\n\n\n\n\n\n\n\n\nvar $lORAA = parcelRequire(\"lORAA\");\n\nvar $6v1Be = parcelRequire(\"6v1Be\");\n\nvar $bHzmH = parcelRequire(\"bHzmH\");\n\n\nvar $hHq4F = parcelRequire(\"hHq4F\");\nasync function $b1bd4a63b941b63a$export$28f5fd35e3005b7a() {\n if (process.platform === \"darwin\") try {\n const xcrun = await (0, $bHzmH.getExecOutput)(\"xcrun --sdk macosx --show-sdk-path\");\n const sdkroot = xcrun.stdout || xcrun.stderr;\n if (sdkroot) await (0, $fcca2ee3cb52e97b$export$f63d3080ce25e0fd)(\"SDKROOT\", sdkroot.trim());\n else (0, $hHq4F.error)(`SDKROOT not set`);\n } catch (e) {\n (0, $hHq4F.error)(e);\n }\n}\n\n\n\nvar $eAXk4 = parcelRequire(\"eAXk4\");\n\nvar $hHq4F = parcelRequire(\"hHq4F\");\n\nvar $dAuy6 = parcelRequire(\"dAuy6\");\n\n\n\n\n\n\n\nvar $6t4SD = parcelRequire(\"6t4SD\");\n\nvar $3f19caa876428bf4$var$$parcel$__dirname = $4umf8$path.resolve(__dirname, \"../../src/gcc\");\n// https://github.com/brechtsanders/winlibs_mingw/releases\nconst $3f19caa876428bf4$var$GccToMingwInfo = {\n \"13\": {\n releaseName: \"13.2.0-16.0.6-11.0.0-ucrt-r1\",\n fileSuffix: \"13.2.0-mingw-w64ucrt-11.0.0-r1\"\n },\n \"13.2-ucrt\": {\n releaseName: \"13.2.0-16.0.6-11.0.0-ucrt-r1\",\n fileSuffix: \"13.2.0-mingw-w64ucrt-11.0.0-r1\"\n },\n \"13.2-ucrt-mcf\": {\n releaseName: \"13.2.0mcf-16.0.6-11.0.1-ucrt-r2\",\n fileSuffix: \"13.2.0-mingw-w64ucrt-11.0.1-r2\"\n },\n \"13.2-msvcrt\": {\n releaseName: \"13.2.0-16.0.6-11.0.1-msvcrt-r1\",\n fileSuffix: \"13.2.0-mingw-w64msvcrt-11.0.1-r1\"\n },\n \"13.1-ucrt\": {\n releaseName: \"13.1.0posix-16.0.3-11.0.0-ucrt-r1\",\n fileSuffix: \"13.1.0-mingw-w64ucrt-11.0.0-r1\"\n },\n \"13.1-msvcrt\": {\n releaseName: \"13.1.0posix-16.0.3-11.0.0-msvcrt-r1\",\n fileSuffix: \"13.1.0-mingw-w64msvcrt-11.0.0-r1\"\n },\n \"12\": {\n releaseName: \"12.3.0-16.0.4-11.0.0-ucrt-r1\",\n fileSuffix: \"12.3.0-mingw-w64ucrt-11.0.0-r1\"\n },\n \"12.3.0-ucrt\": {\n releaseName: \"12.3.0-16.0.4-11.0.0-ucrt-r1\",\n fileSuffix: \"12.3.0-mingw-w64ucrt-11.0.0-r1\"\n },\n \"12.3.0-msvcrt\": {\n releaseName: \"12.3.0-16.0.4-11.0.0-msvcrt-r1\",\n fileSuffix: \"12.3.0-mingw-w64msvcrt-11.0.0-r1\"\n },\n \"12.2.0-ucrt\": {\n releaseName: \"12.2.0-14.0.6-10.0.0-ucrt-r2\",\n fileSuffix: \"12.2.0-mingw-w64ucrt-10.0.0-r2\"\n },\n \"12.2.0-msvcrt\": {\n releaseName: \"12.2.0-14.0.6-10.0.0-msvcrt-r2\",\n fileSuffix: \"12.2.0-mingw-w64msvcrt-10.0.0-r2\"\n },\n \"12.1.0-ucrt\": {\n releaseName: \"12.1.0-14.0.4-10.0.0-ucrt-r2\",\n fileSuffix: \"12.1.0-mingw-w64ucrt-10.0.0-r2\"\n },\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\": {\n releaseName: \"11.3.0-14.0.3-10.0.0-ucrt-r3\",\n fileSuffix: \"11.3.0-mingw-w64ucrt-10.0.0-r3\"\n },\n \"11.3.0-ucrt\": {\n releaseName: \"11.3.0-14.0.3-10.0.0-ucrt-r3\",\n fileSuffix: \"11.3.0-mingw-w64ucrt-10.0.0-r3\"\n },\n \"11.3.0-msvcrt\": {\n releaseName: \"11.3.0-14.0.3-10.0.0-msvcrt-r3\",\n fileSuffix: \"11.3.0-mingw-w64msvcrt-10.0.0-r3\"\n },\n \"11.2.0-ucrt\": {\n releaseName: \"11.2.0-9.0.0-ucrt-r5\",\n fileSuffix: \"11.2.0-mingw-w64ucrt-9.0.0-r5\"\n },\n \"11.2.0-msvcrt\": {\n releaseName: \"11.2.0-9.0.0-msvcrt-r5\",\n fileSuffix: \"11.2.0-mingw-w64msvcrt-9.0.0-r5\"\n },\n \"10\": {\n releaseName: \"10.5.0-11.0.1-msvcrt-r1\",\n fileSuffix: \"10.5.0-mingw-w64msvcrt-11.0.1-r1\"\n },\n \"10.5.0-msvcrt\": {\n releaseName: \"10.5.0-11.0.1-msvcrt-r1\",\n fileSuffix: \"10.5.0-mingw-w64msvcrt-11.0.1-r1\"\n },\n \"10.3.0\": {\n releaseName: \"10.3.0-12.0.0-9.0.0-r2\",\n fileSuffix: \"10.3.0-llvm-12.0.0-mingw-w64-9.0.0-r2\"\n },\n \"10.2.0\": {\n releaseName: \"10.2.0-7.0.0-r4\",\n fileSuffix: \"10.2.0-llvm-10.0.1-mingw-w64-7.0.0-r4\"\n },\n \"9\": {\n releaseName: \"9.4.0-9.0.0-r1\",\n fileSuffix: \"9.4.0-mingw-w64-9.0.0-r1\"\n },\n \"9.4.0\": {\n releaseName: \"9.4.0-9.0.0-r1\",\n fileSuffix: \"9.4.0-mingw-w64-9.0.0-r1\"\n }\n};\nfunction $3f19caa876428bf4$var$getGccPackageInfo(version, platform, arch) {\n switch(platform){\n case \"win32\":\n {\n const mingwInfo = $3f19caa876428bf4$var$GccToMingwInfo[version];\n if (mingwInfo === undefined) throw new Error(`mingw version ${version} is not supported`);\n const mingwArch = arch === \"ia32\" ? \"i686\" : \"x86_64\";\n const exceptionModel = \"seh\" // SEH is native windows exception model https://github.com/brechtsanders/winlibs_mingw/issues/4#issuecomment-599296483\n ;\n return {\n binRelativeDir: \"bin/\",\n binFileName: (0, $eAXk4.addExeExt)(\"g++\"),\n extractedFolderName: \"mingw64\",\n extractFunction: (0, $1533841bc1073d6a$export$eecfe186811d4a20),\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}\nasync function $3f19caa876428bf4$export$405fab3de79b77b(version, setupDir, arch, priority = 40) {\n let installationInfo;\n switch(process.platform){\n case \"win32\":\n if (arch === \"arm\" || arch === \"arm64\") await (0, $9fccd3400da2cfd8$export$9f6912bc890040b2)(\"gcc-arm-embedded\", version);\n try {\n installationInfo = await (0, $d14c914d00b0f583$export$334f77c9844c21f6)(\"g++\", version, $3f19caa876428bf4$var$getGccPackageInfo, setupDir, arch);\n } catch (err) {\n (0, $hHq4F.info)(`Failed to download g++ binary. ${err}. Falling back to chocolatey.`);\n installationInfo = await $3f19caa876428bf4$var$setupChocoMingw(version, arch);\n }\n break;\n case \"darwin\":\n installationInfo = await (0, $7ad09143f110687f$export$ce5d13d8a85cb784)(\"gcc\", version);\n break;\n case \"linux\":\n if (arch === \"x64\") {\n if ((0, $64f7d4d3c6118037$export$d415ddb6702ec3a2)()) installationInfo = await (0, $48b5fe4903818be0$export$cfa75578ee2d6e6c)(\"gcc\", version);\n else if ((0, $07c9db864ea9c735$export$8ce8b4b22331a8c7)()) installationInfo = await (0, $5e892f3aba3794f6$export$49d4f9ba8e0dd34f)([\n {\n name: \"gcc\",\n version: version\n },\n {\n name: \"gcc-c++\",\n version: version\n },\n {\n name: \"libstdc++-devel\"\n }\n ]);\n else if ((0, $c304217cbb6a03a7$export$da8baf1d6c6802b6)()) installationInfo = await (0, $4574e4c050df58da$export$d73dc343f5abf26)([\n {\n name: \"gcc\",\n version: version,\n repositories: [\n \"ppa:ubuntu-toolchain-r/test\"\n ]\n },\n {\n name: \"g++\",\n version: version,\n repositories: [\n \"ppa:ubuntu-toolchain-r/test\"\n ]\n }\n ]);\n } else {\n (0, $hHq4F.info)(`Install g++-multilib because gcc for ${arch} was requested`);\n if ((0, $64f7d4d3c6118037$export$d415ddb6702ec3a2)()) await (0, $48b5fe4903818be0$export$cfa75578ee2d6e6c)(\"gcc-multilib\", version);\n else if ((0, $c304217cbb6a03a7$export$da8baf1d6c6802b6)()) await (0, $4574e4c050df58da$export$d73dc343f5abf26)([\n {\n name: \"gcc-multilib\",\n version: version,\n repositories: [\n \"ppa:ubuntu-toolchain-r/test\"\n ]\n }\n ]);\n }\n break;\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 if (installationInfo !== undefined) {\n await $3f19caa876428bf4$var$activateGcc(version, installationInfo.binDir, priority);\n return installationInfo;\n }\n return undefined;\n}\nasync function $3f19caa876428bf4$export$f115c01d224b9e9a(version, setupDir, arch) {\n let installationInfo;\n switch(process.platform){\n case \"win32\":\n case \"darwin\":\n return $3f19caa876428bf4$export$405fab3de79b77b(version, setupDir, arch);\n case \"linux\":\n if ((0, $64f7d4d3c6118037$export$d415ddb6702ec3a2)()) installationInfo = await (0, $48b5fe4903818be0$export$cfa75578ee2d6e6c)(\"mingw-w64-gcc\", version);\n else if ((0, $07c9db864ea9c735$export$8ce8b4b22331a8c7)()) installationInfo = await (0, $5e892f3aba3794f6$export$49d4f9ba8e0dd34f)([\n {\n name: \"mingw64-gcc\",\n version: version\n }\n ]);\n else if ((0, $c304217cbb6a03a7$export$da8baf1d6c6802b6)()) installationInfo = await (0, $4574e4c050df58da$export$d73dc343f5abf26)([\n {\n name: \"mingw-w64\",\n version: version,\n repositories: [\n \"ppa:ubuntu-toolchain-r/test\"\n ]\n }\n ]);\n break;\n default:\n throw new Error(`Unsupported platform for ${arch}`);\n }\n if (installationInfo !== undefined) // TODO: setup alternatives and update CC/CXX env. ?\n //Setting up g++-mingw-w64-i686-win32 (10.3.0-14ubuntu1+24.3) ...\n // update-alternatives: using /usr/bin/i686-w64-mingw32-g++-win32 to provide /usr/bin/i686-w64-mingw32-g++ (i686-w64-mingw32-g++) in auto mode\n //Setting up g++-mingw-w64-x86-64-win32 (10.3.0-14ubuntu1+24.3) ...\n // update-alternatives: using /usr/bin/x86_64-w64-mingw32-g++-win32 to provide /usr/bin/x86_64-w64-mingw32-g++ (x86_64-w64-mingw32-g++) in auto mode\n //await activateGcc(version, installationInfo.binDir)\n return installationInfo;\n return undefined;\n}\nasync function $3f19caa876428bf4$var$setupChocoMingw(version, arch) {\n await (0, $9fccd3400da2cfd8$export$9f6912bc890040b2)(\"mingw\", version);\n let binDir;\n var _process_env_ChocolateyInstall, _process_env_ChocolateyInstall1;\n if (arch === \"x64\" && await (0, $6t4SD.pathExists)(\"C:/tools/mingw64/bin\")) {\n binDir = \"C:/tools/mingw64/bin\";\n await (0, $fcca2ee3cb52e97b$export$4c25481b843feb0b)(binDir);\n } else if (arch === \"ia32\" && await (0, $6t4SD.pathExists)(\"C:/tools/mingw32/bin\")) {\n binDir = \"C:/tools/mingw32/bin\";\n await (0, $fcca2ee3cb52e97b$export$4c25481b843feb0b)(binDir);\n } else if (await (0, $6t4SD.pathExists)(`${(_process_env_ChocolateyInstall = process.env.ChocolateyInstall) !== null && _process_env_ChocolateyInstall !== void 0 ? _process_env_ChocolateyInstall : \"C:/ProgramData/chocolatey\"}/bin/g++.exe`)) binDir = `${(_process_env_ChocolateyInstall1 = process.env.ChocolateyInstall) !== null && _process_env_ChocolateyInstall1 !== void 0 ? _process_env_ChocolateyInstall1 : \"C:/ProgramData/chocolatey\"}/bin`;\n if (binDir !== undefined) return {\n binDir: binDir\n };\n return undefined;\n}\nasync function $3f19caa876428bf4$var$activateGcc(version, binDir, priority = 40) {\n const promises = [];\n // Setup gcc as the compiler\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 if (process.platform === \"win32\") promises.push((0, $fcca2ee3cb52e97b$export$f63d3080ce25e0fd)(\"CC\", (0, $eAXk4.addExeExt)(`${binDir}/gcc`)), (0, $fcca2ee3cb52e97b$export$f63d3080ce25e0fd)(\"CXX\", (0, $eAXk4.addExeExt)(`${binDir}/g++`)));\n else {\n var _semverCoerce;\n const majorVersion = (0, (/*@__PURE__*/$parcel$interopDefault($lORAA)))((_semverCoerce = (0, (/*@__PURE__*/$parcel$interopDefault($6v1Be)))(version)) !== null && _semverCoerce !== void 0 ? _semverCoerce : version);\n if (majorVersion >= 5) {\n promises.push((0, $fcca2ee3cb52e97b$export$f63d3080ce25e0fd)(\"CC\", `${binDir}/gcc-${majorVersion}`), (0, $fcca2ee3cb52e97b$export$f63d3080ce25e0fd)(\"CXX\", `${binDir}/g++-${majorVersion}`));\n if ((0, $c304217cbb6a03a7$export$da8baf1d6c6802b6)()) promises.push((0, $4574e4c050df58da$export$6fe6436bd9f53d02)(\"cc\", `${binDir}/gcc-${majorVersion}`, priority), (0, $4574e4c050df58da$export$6fe6436bd9f53d02)(\"cxx\", `${binDir}/g++-${majorVersion}`, priority), (0, $4574e4c050df58da$export$6fe6436bd9f53d02)(\"gcc\", `${binDir}/gcc-${majorVersion}`, priority), (0, $4574e4c050df58da$export$6fe6436bd9f53d02)(\"g++\", `${binDir}/g++-${majorVersion}`, priority));\n } else {\n promises.push((0, $fcca2ee3cb52e97b$export$f63d3080ce25e0fd)(\"CC\", `${binDir}/gcc-${version}`), (0, $fcca2ee3cb52e97b$export$f63d3080ce25e0fd)(\"CXX\", `${binDir}/g++-${version}`));\n if ((0, $c304217cbb6a03a7$export$da8baf1d6c6802b6)()) promises.push((0, $4574e4c050df58da$export$6fe6436bd9f53d02)(\"cc\", `${binDir}/gcc-${version}`, priority), (0, $4574e4c050df58da$export$6fe6436bd9f53d02)(\"cxx\", `${binDir}/g++-${version}`, priority), (0, $4574e4c050df58da$export$6fe6436bd9f53d02)(\"gcc\", `${binDir}/gcc-${version}`, priority), (0, $4574e4c050df58da$export$6fe6436bd9f53d02)(\"g++\", `${binDir}/g++-${version}`, priority));\n }\n }\n promises.push((0, $b1bd4a63b941b63a$export$28f5fd35e3005b7a)());\n if (0, $dAuy6.GITHUB_ACTIONS) await $3f19caa876428bf4$var$addGccLoggingMatcher();\n await Promise.all(promises);\n}\nasync function $3f19caa876428bf4$var$addGccLoggingMatcher() {\n const matcherPath = (0, $eAXk4.join)($3f19caa876428bf4$var$$parcel$__dirname, \"gcc_matcher.json\");\n if (!await (0, $6t4SD.pathExists)(matcherPath)) return (0, $hHq4F.warning)(\"the gcc_matcher.json file does not exist in the same folder as setup-cpp.js\");\n (0, $hHq4F.info)(`::add-matcher::${matcherPath}`);\n}\n\n\n\n\n\nvar $2kZmC = parcelRequire(\"2kZmC\");\n\nvar $lORAA = parcelRequire(\"lORAA\");\nfunction $88e2c066ab70c051$export$b98d69f362caf61f(version, _setupDir, _arch) {\n return (0, $13d538bb32b1caca$export$4020cb77ffa3ffac)(\"gcovr\", version);\n}\nfunction $88e2c066ab70c051$export$2a0488baf2a20c0f() {\n return (0, $fcca2ee3cb52e97b$export$f63d3080ce25e0fd)(\"GCOV\", \"llvm-cov gcov\");\n}\nfunction $88e2c066ab70c051$export$41dabde4775ee2aa(gccVersion) {\n const gccSemver = (0, (/*@__PURE__*/$parcel$interopDefault($2kZmC)))(gccVersion);\n const gccMajor = gccSemver !== null ? (0, (/*@__PURE__*/$parcel$interopDefault($lORAA)))(gccSemver) : gccVersion;\n const gcov = gccMajor !== \"\" ? `gcov-${gccMajor}` : \"gcov\";\n return (0, $fcca2ee3cb52e97b$export$f63d3080ce25e0fd)(\"GCOV\", gcov);\n}\n\n\n\n\n\nvar $eAXk4 = parcelRequire(\"eAXk4\");\n\n\n\n\n\n\n\n\n\n\n\n\n\nvar $hHq4F = parcelRequire(\"hHq4F\");\n\n\nvar $eAXk4 = parcelRequire(\"eAXk4\");\n\n\n/** Get the platform name Ninja uses in their download links */ function $33611b5480e1148e$var$getNinjaPlatform(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/** Get the platform data for ninja */ // eslint-disable-next-line @typescript-eslint/no-unused-vars\nfunction $33611b5480e1148e$var$getNinjaPackageInfo(version, platform, _arch) {\n const ninjaPlatform = $33611b5480e1148e$var$getNinjaPlatform(platform);\n return {\n binRelativeDir: \"\",\n binFileName: (0, $eAXk4.addExeExt)(\"ninja\"),\n extractedFolderName: \"\",\n extractFunction: (0, $1533841bc1073d6a$export$6411c5cbab21135b),\n url: `https://github.com/ninja-build/ninja/releases/download/v${version}/ninja-${ninjaPlatform}.zip`\n };\n}\nfunction $33611b5480e1148e$export$e6190f4bfe2ef71(version, setupDir, arch) {\n return (0, $d14c914d00b0f583$export$334f77c9844c21f6)(\"ninja\", version, $33611b5480e1148e$var$getNinjaPackageInfo, setupDir, arch);\n}\n\n\n\n\nvar $b57152bab0b5e0d6$var$$parcel$__dirname = $4umf8$path.resolve(__dirname, \"../../src/kcov\");\nfunction $b57152bab0b5e0d6$var$getDownloadKcovPackageInfo(version) {\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: (0, $eAXk4.addExeExt)(\"kcov\"),\n extractFunction: (0, $1533841bc1073d6a$export$2ab07ac150064014)\n };\n}\nfunction $b57152bab0b5e0d6$var$getBuildKcovPackageInfo(version) {\n return {\n url: `https://github.com/SimonKagstrom/kcov/archive/refs/tags/${version}.tar.gz`,\n extractedFolderName: \"\",\n binRelativeDir: \"build/src\",\n binFileName: (0, $eAXk4.addExeExt)(\"kcov\"),\n extractFunction: $b57152bab0b5e0d6$var$buildKcov\n };\n}\nasync function $b57152bab0b5e0d6$var$buildKcov(file, dest) {\n const out = await (0, $1533841bc1073d6a$export$2ab07ac150064014)(file, dest, [\n \"--strip-components=1\"\n ]);\n // build after extraction using CMake\n const cmake = await $b57152bab0b5e0d6$var$getCmake();\n if (process.platform === \"linux\") {\n if ((0, $64f7d4d3c6118037$export$d415ddb6702ec3a2)()) await Promise.all([\n (0, $48b5fe4903818be0$export$cfa75578ee2d6e6c)(\"libdwarf\"),\n (0, $48b5fe4903818be0$export$cfa75578ee2d6e6c)(\"libcurl-openssl\")\n ]);\n else if ((0, $07c9db864ea9c735$export$8ce8b4b22331a8c7)()) await (0, $5e892f3aba3794f6$export$49d4f9ba8e0dd34f)([\n {\n name: \"libdwarf-devel\"\n },\n {\n name: \"libcurl-devel\"\n }\n ]);\n else if ((0, $c304217cbb6a03a7$export$da8baf1d6c6802b6)()) await (0, $4574e4c050df58da$export$d73dc343f5abf26)([\n {\n name: \"libdw-dev\"\n },\n {\n name: \"libcurl4-openssl-dev\"\n }\n ]);\n }\n // apply gcc13.patch\n try {\n if ((0, (/*@__PURE__*/$parcel$interopDefault($71cfef4812d1fa23$exports))).sync(\"patch\", {\n nothrow: true\n }) !== null) {\n const patch = (0, $eAXk4.join)($b57152bab0b5e0d6$var$$parcel$__dirname, \"gcc13.patch\");\n await (0, $24f062d29362ada6$export$db6b1668e3758717)(\"patch\", [\n \"-N\",\n \"-p1\",\n \"-i\",\n patch\n ], {\n cwd: out,\n stdio: \"inherit\"\n });\n } else (0, $hHq4F.info)(\"`patch` not found, skipping gcc13.patch, kcov may not build on gcc 13\");\n } catch {\n // ignore\n }\n const buildDir = (0, $eAXk4.join)(out, \"build\");\n await (0, $24f062d29362ada6$export$db6b1668e3758717)(cmake, [\n \"-S\",\n out,\n \"-B\",\n buildDir,\n \"-DCMAKE_BUILD_TYPE=Release\",\n \"-G\",\n \"Ninja\"\n ], {\n cwd: out,\n stdio: \"inherit\"\n });\n await (0, $24f062d29362ada6$export$db6b1668e3758717)(cmake, [\n \"--build\",\n buildDir,\n \"--config\",\n \"Release\"\n ], {\n cwd: out,\n stdio: \"inherit\"\n });\n // execRootSync(cmake, [\"--install\", buildDir], out)\n // return \"user/local/bin\" // the cmake install prefix\n return out;\n}\nasync function $b57152bab0b5e0d6$var$getCmake() {\n let cmake = (0, (/*@__PURE__*/$parcel$interopDefault($71cfef4812d1fa23$exports))).sync(\"cmake\", {\n nothrow: true\n });\n if (cmake === null) {\n const { binDir: binDir } = await (0, $6ca1cdfc8544c646$export$c28663a621f418ce)((0, $8555a825dc64b9bc$export$c506eb22e615ba4a)(\"cmake\", undefined, await (0, $1c6f48b06ad43808$export$49c9cf1111dfa0ee)()), (0, $eAXk4.join)((0, $f19d14aa12f0fb90$export$8312d9eeba321950)(\"\"), \"cmake\"), \"\");\n cmake = (0, $eAXk4.join)(binDir, \"cmake\");\n }\n const ninja = (0, (/*@__PURE__*/$parcel$interopDefault($71cfef4812d1fa23$exports))).sync(\"ninja\", {\n nothrow: true\n });\n if (ninja === null) await (0, $33611b5480e1148e$export$e6190f4bfe2ef71)((0, $8555a825dc64b9bc$export$c506eb22e615ba4a)(\"ninja\", undefined, await (0, $1c6f48b06ad43808$export$49c9cf1111dfa0ee)()), (0, $eAXk4.join)((0, $f19d14aa12f0fb90$export$8312d9eeba321950)(\"\"), \"ninja\"), \"\");\n return cmake;\n}\nasync function $b57152bab0b5e0d6$export$abb7c2ff987b1f6b(versionGiven, setupDir, arch) {\n if (process.platform !== \"linux\") {\n (0, $hHq4F.info)(\"Kcov is not supported on non-linux\");\n return;\n }\n // parse version\n const versionSplit = versionGiven.split(\"-\");\n let version = (0, $d9c16e431e014540$export$6863a97504984656)(versionSplit[0]);\n const installMethod = versionSplit[1];\n const version_number = (0, $d9c16e431e014540$export$b19007c0050a2fcc)(version);\n // fix inconsistency in tagging\n if (version_number === 38) version = \"v38\";\n let installationInfo;\n if (installMethod === \"binary\" && version_number >= 39) {\n installationInfo = await (0, $d14c914d00b0f583$export$334f77c9844c21f6)(\"kcov\", version, $b57152bab0b5e0d6$var$getDownloadKcovPackageInfo, setupDir, arch);\n if ((0, $64f7d4d3c6118037$export$d415ddb6702ec3a2)()) await (0, $48b5fe4903818be0$export$cfa75578ee2d6e6c)(\"binutils\");\n else if ((0, $07c9db864ea9c735$export$8ce8b4b22331a8c7)()) await (0, $5e892f3aba3794f6$export$49d4f9ba8e0dd34f)([\n {\n name: \"binutils\"\n }\n ]);\n else if ((0, $c304217cbb6a03a7$export$da8baf1d6c6802b6)()) await (0, $4574e4c050df58da$export$d73dc343f5abf26)([\n {\n name: \"libbinutils\"\n }\n ]);\n return installationInfo;\n } else installationInfo = await (0, $d14c914d00b0f583$export$334f77c9844c21f6)(\"kcov\", version, $b57152bab0b5e0d6$var$getBuildKcovPackageInfo, setupDir, arch);\n return installationInfo;\n}\n\n\n\nvar $dAuy6 = parcelRequire(\"dAuy6\");\n\nvar $hHq4F = parcelRequire(\"hHq4F\");\n\n\n\nvar $6t4SD = parcelRequire(\"6t4SD\");\n\nvar $eAXk4 = parcelRequire(\"eAXk4\");\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nvar $1o3Gj = parcelRequire(\"1o3Gj\");\n\nvar $hHq4F = parcelRequire(\"hHq4F\");\n\nvar $eAXk4 = parcelRequire(\"eAXk4\");\n\n// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n// @ts-ignore\nvar $f4af675fd1cc6e59$export$3c7cae5a162b1458;\nvar $f4af675fd1cc6e59$export$704f0be24425353b;\nvar $f4af675fd1cc6e59$export$f49c12d2898d28cb;\nvar $f4af675fd1cc6e59$export$a6a3bfb882356813;\nvar $f4af675fd1cc6e59$export$443b8bb890f5027e;\n\nvar $1o3Gj = parcelRequire(\"1o3Gj\");\n\n\n\n\nconst $f4af675fd1cc6e59$var$PROGRAM_FILES_X86 = $4umf8$process.env[\"ProgramFiles(x86)\"];\nconst $f4af675fd1cc6e59$var$PROGRAM_FILES = [\n $4umf8$process.env[\"ProgramFiles(x86)\"],\n $4umf8$process.env[\"ProgramFiles\"]\n];\nconst $f4af675fd1cc6e59$var$EDITIONS = [\n \"Enterprise\",\n \"Professional\",\n \"Community\",\n \"BuildTools\"\n];\nconst $f4af675fd1cc6e59$var$YEARS = [\n \"2022\",\n \"2019\",\n \"2017\"\n];\nconst $f4af675fd1cc6e59$var$VsYearVersion = {\n \"2022\": \"17.0\",\n \"2019\": \"16.0\",\n \"2017\": \"15.0\",\n \"2015\": \"14.0\",\n \"2013\": \"12.0\"\n};\nfunction $f4af675fd1cc6e59$var$vsversion_to_versionnumber(vsversion) {\n if (Object.values($f4af675fd1cc6e59$var$VsYearVersion).includes(vsversion)) return vsversion;\n else {\n if (vsversion in $f4af675fd1cc6e59$var$VsYearVersion) return $f4af675fd1cc6e59$var$VsYearVersion[vsversion];\n }\n return vsversion;\n}\n$f4af675fd1cc6e59$export$3c7cae5a162b1458 = $f4af675fd1cc6e59$var$vsversion_to_versionnumber;\nfunction $f4af675fd1cc6e59$var$vsversion_to_year(vsversion) {\n if (Object.keys($f4af675fd1cc6e59$var$VsYearVersion).includes(vsversion)) return vsversion;\n else for (const [year, ver] of Object.entries($f4af675fd1cc6e59$var$VsYearVersion)){\n if (ver === vsversion) return year;\n }\n return vsversion;\n}\n$f4af675fd1cc6e59$export$704f0be24425353b = $f4af675fd1cc6e59$var$vsversion_to_year;\nconst $f4af675fd1cc6e59$var$VSWHERE_PATH = `${$f4af675fd1cc6e59$var$PROGRAM_FILES_X86}\\\\Microsoft Visual Studio\\\\Installer`;\nfunction $f4af675fd1cc6e59$var$findWithVswhere(pattern, version_pattern) {\n try {\n let installationPath = $4umf8$child_process.execSync(`vswhere -products * ${version_pattern} -prerelease -property installationPath`).toString().trim();\n return installationPath + \"\\\\\" + pattern;\n } catch (e) {\n $1o3Gj.warning(`vswhere failed: ${e}`);\n }\n return null;\n}\n$f4af675fd1cc6e59$export$f49c12d2898d28cb = $f4af675fd1cc6e59$var$findWithVswhere;\nfunction $f4af675fd1cc6e59$var$findVcvarsall(vsversion) {\n const vsversion_number = $f4af675fd1cc6e59$var$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 version_pattern = \"-latest\";\n // If vswhere is available, ask it about the location of the latest Visual Studio.\n let path = $f4af675fd1cc6e59$var$findWithVswhere(\"VC\\\\Auxiliary\\\\Build\\\\vcvarsall.bat\", version_pattern);\n if (path && $4umf8$fs.existsSync(path)) {\n $1o3Gj.info(`Found with vswhere: ${path}`);\n return path;\n }\n $1o3Gj.info(\"Not found with vswhere\");\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 ? [\n $f4af675fd1cc6e59$var$vsversion_to_year(vsversion)\n ] : $f4af675fd1cc6e59$var$YEARS;\n for (const prog_files of $f4af675fd1cc6e59$var$PROGRAM_FILES){\n for (const ver of years)for (const ed of $f4af675fd1cc6e59$var$EDITIONS){\n path = `${prog_files}\\\\Microsoft Visual Studio\\\\${ver}\\\\${ed}\\\\VC\\\\Auxiliary\\\\Build\\\\vcvarsall.bat`;\n $1o3Gj.info(`Trying standard location: ${path}`);\n if ($4umf8$fs.existsSync(path)) {\n $1o3Gj.info(`Found standard location: ${path}`);\n return path;\n }\n }\n }\n $1o3Gj.info(\"Not found in standard locations\");\n // Special case for Visual Studio 2015 (and maybe earlier), try it out too.\n path = `${$f4af675fd1cc6e59$var$PROGRAM_FILES_X86}\\\\Microsoft Visual C++ Build Tools\\\\vcbuildtools.bat`;\n if ($4umf8$fs.existsSync(path)) {\n $1o3Gj.info(`Found VS 2015: ${path}`);\n return path;\n }\n $1o3Gj.info(`Not found in VS 2015 location: ${path}`);\n throw new Error(\"Microsoft Visual Studio not found\");\n}\n$f4af675fd1cc6e59$export$a6a3bfb882356813 = $f4af675fd1cc6e59$var$findVcvarsall;\nfunction $f4af675fd1cc6e59$var$isPathVariable(name) {\n const pathLikeVariables = [\n \"PATH\",\n \"INCLUDE\",\n \"LIB\",\n \"LIBPATH\"\n ];\n return pathLikeVariables.indexOf(name.toUpperCase()) != -1;\n}\nfunction $f4af675fd1cc6e59$var$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/** See https://github.com/ilammy/msvc-dev-cmd#inputs */ function $f4af675fd1cc6e59$var$setupMSVCDevCmd(arch, sdk, toolset, uwp, spectre, vsversion) {\n if ($4umf8$process.platform != \"win32\") {\n $1o3Gj.info(\"This is not a Windows virtual environment, bye!\");\n return;\n }\n // Add standard location of \"vswhere\" to PATH, in case it's not there.\n $4umf8$process.env.PATH += $4umf8$path.delimiter + $f4af675fd1cc6e59$var$VSWHERE_PATH;\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) arch = arch_aliases[arch.toLowerCase()];\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 var args = [\n arch\n ];\n if (uwp == \"true\") args.push(\"uwp\");\n if (sdk) args.push(sdk);\n if (toolset) args.push(`-vcvars_ver=${toolset}`);\n if (spectre == \"true\") args.push(\"-vcvars_spectre_libs=spectre\");\n const vcvars = `\"${$f4af675fd1cc6e59$var$findVcvarsall(vsversion)}\" ${args.join(\" \")}`;\n $1o3Gj.debug(`vcvars command-line: ${vcvars}`);\n const cmd_output_string = $4umf8$child_process.execSync(`set && cls && ${vcvars} && cls && set`, {\n shell: \"cmd\"\n }).toString();\n const cmd_output_parts = cmd_output_string.split(\"\\f\");\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 // 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:$/)) return true;\n }\n return false;\n });\n if (error_messages.length > 0) throw new Error(\"invalid parameters\\r\\n\" + error_messages.join(\"\\r\\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 // 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 $1o3Gj.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(\"=\")) continue;\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 $1o3Gj.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 ($f4af675fd1cc6e59$var$isPathVariable(name)) new_value = $f4af675fd1cc6e59$var$filterPathValue(new_value);\n $1o3Gj.exportVariable(name, new_value);\n }\n }\n $1o3Gj.endGroup();\n $1o3Gj.info(`Configured Developer Command Prompt`);\n}\n$f4af675fd1cc6e59$export$443b8bb890f5027e = $f4af675fd1cc6e59$var$setupMSVCDevCmd;\n\n\n\n\nvar $hHq4F = parcelRequire(\"hHq4F\");\n\nvar $6t4SD = parcelRequire(\"6t4SD\");\nfunction $95f7608dc9d76dc5$var$getArch(arch) {\n switch(arch){\n case \"x32\":\n case \"32\":\n case \"ia32\":\n return \"x86\";\n case \"64\":\n return \"x64\";\n default:\n return arch;\n }\n}\nasync function $95f7608dc9d76dc5$export$5dcf571c91fc8369(vsversion, VCTargetsPath, arch, toolset, sdk, uwp, spectre) {\n if (VCTargetsPath !== undefined && await (0, $6t4SD.pathExists)(VCTargetsPath)) {\n (0, $hHq4F.info)(`Adding ${VCTargetsPath} to PATH`);\n await (0, $fcca2ee3cb52e97b$export$f63d3080ce25e0fd)(\"VCTargetsPath\", VCTargetsPath);\n }\n (0, $f4af675fd1cc6e59$export$443b8bb890f5027e)($95f7608dc9d76dc5$var$getArch(arch), sdk, toolset, uwp, spectre, vsversion);\n}\n\n\n\nclass $a133e2b2f2bba81b$export$66d311bf29d5c89c extends Error {\n constructor(message){\n super(message);\n this.name = \"TimeoutError\";\n }\n}\nclass $a133e2b2f2bba81b$export$18b052ffd8c84d7 extends Error {\n constructor(message){\n super();\n this.name = \"AbortError\";\n this.message = message;\n }\n}\n/**\nTODO: Remove AbortError and just throw DOMException when targeting Node 18.\n*/ const $a133e2b2f2bba81b$var$getDOMException = (errorMessage)=>globalThis.DOMException === undefined ? new $a133e2b2f2bba81b$export$18b052ffd8c84d7(errorMessage) : new DOMException(errorMessage);\n/**\nTODO: Remove below function and just 'reject(signal.reason)' when targeting Node 18.\n*/ const $a133e2b2f2bba81b$var$getAbortedReason = (signal)=>{\n const reason = signal.reason === undefined ? $a133e2b2f2bba81b$var$getDOMException(\"This operation was aborted.\") : signal.reason;\n return reason instanceof Error ? reason : $a133e2b2f2bba81b$var$getDOMException(reason);\n};\nfunction $a133e2b2f2bba81b$export$2e2bcd8739ae039(promise, options) {\n const { milliseconds: milliseconds, fallback: fallback, message: message, customTimers: customTimers = {\n setTimeout: setTimeout,\n clearTimeout: clearTimeout\n } } = options;\n let timer;\n const wrappedPromise = new Promise((resolve, reject)=>{\n if (typeof milliseconds !== \"number\" || Math.sign(milliseconds) !== 1) throw new TypeError(`Expected \\`milliseconds\\` to be a positive number, got \\`${milliseconds}\\``);\n if (options.signal) {\n const { signal: signal } = options;\n if (signal.aborted) reject($a133e2b2f2bba81b$var$getAbortedReason(signal));\n signal.addEventListener(\"abort\", ()=>{\n reject($a133e2b2f2bba81b$var$getAbortedReason(signal));\n });\n }\n if (milliseconds === Number.POSITIVE_INFINITY) {\n promise.then(resolve, reject);\n return;\n }\n // We create the error outside of `setTimeout` to preserve the stack trace.\n const timeoutError = new $a133e2b2f2bba81b$export$66d311bf29d5c89c();\n timer = customTimers.setTimeout.call(undefined, ()=>{\n if (fallback) {\n try {\n resolve(fallback());\n } catch (error) {\n reject(error);\n }\n return;\n }\n if (typeof promise.cancel === \"function\") promise.cancel();\n if (message === false) resolve();\n else if (message instanceof Error) reject(message);\n else {\n timeoutError.message = message !== null && message !== void 0 ? message : `Promise timed out after ${milliseconds} milliseconds`;\n reject(timeoutError);\n }\n }, milliseconds);\n (async ()=>{\n try {\n resolve(await promise);\n } catch (error) {\n reject(error);\n }\n })();\n });\n const cancelablePromise = wrappedPromise.finally(()=>{\n cancelablePromise.clear();\n });\n cancelablePromise.clear = ()=>{\n customTimers.clearTimeout.call(undefined, timer);\n timer = undefined;\n };\n return cancelablePromise;\n}\n\n\n\nconst $f6eafce5b5cfae6d$export$7bd623b29ec8e1eb = 1200000 // 20 minutes\n;\nasync function $f6eafce5b5cfae6d$export$ddb4b945c8581272(tool, version, osVersion, arch, setupCppDir, successMessages, errorMessages, timeout = $f6eafce5b5cfae6d$export$7bd623b29ec8e1eb) {\n (0, $1o3Gj.startGroup)(`Installing ${tool} ${version}`);\n let hasLLVM = false;\n try {\n hasLLVM = await (0, $a133e2b2f2bba81b$export$2e2bcd8739ae039)($f6eafce5b5cfae6d$var$installToolImpl(tool, version, osVersion, arch, hasLLVM, setupCppDir, successMessages), {\n milliseconds: timeout,\n message: `Timeout while installing ${tool} ${version}. You can increase the timeout from options`\n });\n } catch (e) {\n // push error message to the logger\n (0, $hHq4F.error)(e);\n errorMessages.push(`${tool} failed to install`);\n }\n (0, $1o3Gj.endGroup)();\n return hasLLVM;\n}\nasync function $f6eafce5b5cfae6d$var$installToolImpl(tool, version, osVersion, arch, hasLLVM, setupCppDir, successMessages) {\n let installationInfo;\n if (tool === \"vcvarsall\") // eslint-disable-next-line no-await-in-loop\n await (0, $95f7608dc9d76dc5$export$5dcf571c91fc8369)((0, $8555a825dc64b9bc$export$c506eb22e615ba4a)(tool, version, osVersion), undefined, arch, undefined, undefined, false, false);\n else {\n // get the setup function\n const setupFunction = (0, $5991c91eacfada05$export$18a3521ac7306af4)[tool];\n // eslint-disable-next-line no-param-reassign\n hasLLVM = [\n \"llvm\",\n \"clangformat\",\n \"clangtidy\"\n ].includes(tool);\n // the tool installation directory (for the functions that ue it)\n const setupDir = (0, $eAXk4.join)(setupCppDir, hasLLVM ? \"llvm\" : tool);\n // eslint-disable-next-line no-await-in-loop\n installationInfo = await setupFunction((0, $8555a825dc64b9bc$export$c506eb22e615ba4a)(tool, version, osVersion), setupDir, arch);\n }\n // preparing a report string\n successMessages.push((0, $5e34b9b876d96316$export$ad22d805bb3bfaf5)(tool, installationInfo));\n return hasLLVM;\n}\n\n\nconst { readFile: $a7d52bc5591bf6e8$var$readFile, writeFile: $a7d52bc5591bf6e8$var$writeFile, chmod: $a7d52bc5591bf6e8$var$chmod } = (0, $4umf8$fs.promises);\nvar $a7d52bc5591bf6e8$export$35fa309210df3df6;\n(function(LLVMPackages) {\n LLVMPackages[LLVMPackages[\"All\"] = 0] = \"All\";\n LLVMPackages[LLVMPackages[\"ClangFormat\"] = 1] = \"ClangFormat\";\n LLVMPackages[LLVMPackages[\"Core\"] = 2] = \"Core\";\n})($a7d52bc5591bf6e8$export$35fa309210df3df6 || ($a7d52bc5591bf6e8$export$35fa309210df3df6 = {}));\nasync function $a7d52bc5591bf6e8$export$a86791c88ded7e54(majorVersion, packages = 0) {\n // TODO for older versions, this also includes the minor version\n const installationFolder = `/usr/lib/llvm-${majorVersion}`;\n await (0, $4574e4c050df58da$export$d73dc343f5abf26)([\n {\n name: \"curl\"\n }\n ]);\n await (0, $24f062d29362ada6$export$db6b1668e3758717)(\"curl\", [\n \"-LJO\",\n \"https://apt.llvm.org/llvm.sh\"\n ], {\n cwd: \"/tmp\"\n });\n const neededPackages = await $a7d52bc5591bf6e8$var$patchAptLLVMScript(\"/tmp/llvm.sh\", \"/tmp/llvm-setup-cpp.sh\", majorVersion, packages);\n await (0, $4574e4c050df58da$export$d73dc343f5abf26)(neededPackages);\n await $a7d52bc5591bf6e8$var$chmod(\"/tmp/llvm-setup-cpp.sh\", \"755\");\n await (0, $c93e0191c47e5f34$export$351270479e2eef26)(\"bash\", [\n \"/tmp/llvm-setup-cpp.sh\",\n `${majorVersion}`,\n ...packages === 0 ? [\n \"all\"\n ] : []\n ], {\n stdio: \"inherit\",\n shell: true,\n timeout: (0, $f6eafce5b5cfae6d$export$7bd623b29ec8e1eb)\n });\n await (0, $fcca2ee3cb52e97b$export$4c25481b843feb0b)(`${installationFolder}/bin`);\n return {\n installDir: `${installationFolder}`,\n binDir: `${installationFolder}/bin`,\n bin: `${installationFolder}/bin/clang++`\n };\n}\nasync function $a7d52bc5591bf6e8$var$patchAptLLVMScript(path, target_path, majorVersion, packages) {\n let script = await $a7d52bc5591bf6e8$var$readFile(path, \"utf-8\");\n script = $a7d52bc5591bf6e8$var$debugScript(script);\n script = $a7d52bc5591bf6e8$var$nonInteractiveScript(script);\n script = $a7d52bc5591bf6e8$var$choosePackages(packages, script, majorVersion);\n script = await $a7d52bc5591bf6e8$var$removeConflictingPackages(script);\n script = $a7d52bc5591bf6e8$var$useNalaScript(script);\n await $a7d52bc5591bf6e8$var$writeFile(target_path, script);\n // the packages needed by the script\n return [\n {\n name: \"lsb-release\"\n },\n {\n name: \"wget\"\n },\n {\n name: \"software-properties-common\"\n },\n {\n name: \"gnupg\"\n }\n ];\n}\nfunction $a7d52bc5591bf6e8$var$debugScript(script) {\n if (!process.env.NODE_DEBUG) return script.replace(/set -eux/g, \"set -eu\");\n return script;\n}\nfunction $a7d52bc5591bf6e8$var$nonInteractiveScript(script) {\n // make the scirpt non-interactive and fix broken packages\n return script.replace(/add-apt-repository \"\\${REPO_NAME}\"/g, // eslint-disable-next-line no-template-curly-in-string\n 'add-apt-repository -y \"${REPO_NAME}\"');\n}\nasync function $a7d52bc5591bf6e8$var$removeConflictingPackages(givenScript) {\n // fix conflicts between libclang-rt and libclang\n let script = givenScript.replace(/apt-get install -y/g, 'apt-get install -o Dpkg::Options::=\"--force-overwrite\" -y --fix-broken');\n // check if these are installed and if so, remove them from the script as they conflict\n const conflictingPackages = [\n \"libc++-$LLVM_VERSION-dev\",\n \"libc++abi-$LLVM_VERSION-dev\",\n \"libunwind-$LLVM_VERSION-dev\"\n ];\n await Promise.all(conflictingPackages.map(async (pack)=>{\n const installingPack = pack.replace(\"$LLVM_VERSION\", \"*\");\n if (await (0, $4574e4c050df58da$export$ec2e4deaa1231ecf)(installingPack)) {\n (0, $4umf8$console.info)(`Removing conflicting package ${installingPack}`);\n script = script.replace(pack, \"\");\n }\n }));\n return script;\n}\nfunction $a7d52bc5591bf6e8$var$useNalaScript(script) {\n // use nala if it is available\n if ((0, $4574e4c050df58da$export$89548d91e84ae1a1)()) return script.replace(/apt-get/g, \"nala\");\n return script;\n}\nfunction $a7d52bc5591bf6e8$var$choosePackages(packages, script, majorVersion) {\n if (packages === 1) return script.replace(/ -y \\$PKG/g, ` -y clang-format-${majorVersion}`);\n return script;\n}\n\n\n\nvar $hlfY9 = parcelRequire(\"hlfY9\");\n\n\n\nvar $hHq4F = parcelRequire(\"hHq4F\");\n\nvar $eAXk4 = parcelRequire(\"eAXk4\");\n\nconst $f8b442c18c88c2f2$export$aa5307f1aca77413 = (0, $d9c16e431e014540$export$cbd9528a83fbffa1)([\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 \"15.0.0\",\n \"15.0.1\",\n \"15.0.2\",\n \"15.0.3\",\n \"15.0.4\",\n \"15.0.5\",\n \"15.0.6\",\n \"15.0.7\",\n \"16.0.0\",\n \"16.0.1\",\n \"16.0.2\",\n \"16.0.3\",\n \"16.0.4\",\n \"16.0.5\",\n \"16.0.6\",\n \"17.0.1\",\n \"17.0.2\",\n \"17.0.3\",\n \"17.0.4\",\n \"17.0.5\"\n]);\n/** The LLVM versions that were never released for the Windows platform. */ const $f8b442c18c88c2f2$var$WIN32_MISSING = new Set([\n \"10.0.1\",\n \"15.0.5\",\n \"15.0.6\",\n \"17.0.5\"\n]);\n/** The LLVM versions that were never released for the Darwin platform. */ const $f8b442c18c88c2f2$var$DARWIN_MISSING = 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 // missing x86_64\n // TODO add arm64 support\n \"15.0.4\",\n \"15.0.5\",\n \"15.0.6\",\n \"16.0.0\",\n \"16.0.1\",\n \"16.0.2\",\n \"16.0.3\",\n \"16.0.4\",\n \"16.0.5\",\n \"16.0.6\",\n \"17.0.1\",\n \"17.0.2\",\n \"17.0.3\",\n \"17.0.4\",\n \"17.0.5\"\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 */ const $f8b442c18c88c2f2$var$UBUNTU_RC = new Map();\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 */ // TODO change based on ubuntu version\nconst $f8b442c18c88c2f2$var$UBUNTU_SUFFIX_MAP = {\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 \"15.0.2\": \"-rhel86\",\n \"15.0.5\": \"-ubuntu-18.04\",\n \"15.0.6\": \"-ubuntu-18.04\",\n \"16.0.0\": \"-ubuntu-18.04\",\n \"16.0.2\": \"-ubuntu-22.04\",\n \"16.0.3\": \"-ubuntu-22.04\",\n \"16.0.4\": \"-ubuntu-22.04\",\n \"17.0.2\": \"-ubuntu-22.04\",\n \"17.0.4\": \"-ubuntu-22.04\",\n \"17.0.5\": \"-ubuntu-22.04\"\n};\n/** The latest supported LLVM version for the Linux (Ubuntu) platform. */ const $f8b442c18c88c2f2$var$MAX_UBUNTU = \"17.0.5\";\n//================================================\n// URL\n//================================================\n/** Gets a LLVM download URL for GitHub. */ function $f8b442c18c88c2f2$var$getGitHubUrl(version, prefix, suffix) {\n const file = `${prefix}${version}${suffix}`;\n return `https://github.com/llvm/llvm-project/releases/download/llvmorg-${version}/${file}`;\n}\n/** Gets a LLVM download URL for https://releases.llvm.org. */ function $f8b442c18c88c2f2$var$getReleaseUrl(version, prefix, suffix) {\n const file = `${prefix}${version}${suffix}`;\n return `https://releases.llvm.org/${version}/${file}`;\n}\n/** Gets an LLVM download URL for the Darwin platform. */ function $f8b442c18c88c2f2$var$getDarwinUrl(version) {\n if ($f8b442c18c88c2f2$var$DARWIN_MISSING.has(version)) return null;\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 ((0, (/*@__PURE__*/$parcel$interopDefault($hlfY9)))(version, \"9.0.1\")) return $f8b442c18c88c2f2$var$getReleaseUrl(version, prefix, suffix);\n else return $f8b442c18c88c2f2$var$getGitHubUrl(version, prefix, suffix);\n}\nfunction $f8b442c18c88c2f2$export$ae24f9682a44836b(versionGiven) {\n let version = versionGiven;\n const rc = $f8b442c18c88c2f2$var$UBUNTU_RC.get(version);\n if (rc !== undefined) version = rc;\n let linuxVersion;\n // ubuntu-version is specified\n if (version.includes(\"ubuntu\")) {\n const givenUbuntuVersion = version.replace(/-ubuntu-.*/, \"\");\n if (!$f8b442c18c88c2f2$export$aa5307f1aca77413.has(givenUbuntuVersion)) throw new Error(`Unsupported Ubuntu version: ${givenUbuntuVersion}`);\n linuxVersion = version.replace(givenUbuntuVersion, \"\");\n version = (0, $d9c16e431e014540$export$deb1064c8260c54c)($f8b442c18c88c2f2$export$aa5307f1aca77413, givenUbuntuVersion)[0];\n } else if (version !== \"\" && version in $f8b442c18c88c2f2$var$UBUNTU_SUFFIX_MAP) linuxVersion = $f8b442c18c88c2f2$var$UBUNTU_SUFFIX_MAP[version];\n else {\n // default to the maximum version\n linuxVersion = $f8b442c18c88c2f2$var$UBUNTU_SUFFIX_MAP[$f8b442c18c88c2f2$var$MAX_UBUNTU];\n (0, $hHq4F.warning)(`Falling back to LLVM version ${$f8b442c18c88c2f2$var$MAX_UBUNTU} ${linuxVersion} for the Ubuntu.`);\n }\n const prefix = \"clang+llvm-\";\n let suffix;\n if (version === \"5.0.0\") suffix = `-linux-x86_64${linuxVersion}.tar.xz`;\n else if (linuxVersion.includes(\"-rhel86\")) suffix = `-x86_64-unknown-linux-gnu${linuxVersion}.tar.xz`;\n else suffix = `-x86_64-linux-gnu${linuxVersion}.tar.xz`;\n if ((0, (/*@__PURE__*/$parcel$interopDefault($hlfY9)))(version, \"9.0.1\")) return $f8b442c18c88c2f2$var$getReleaseUrl(version, prefix, suffix);\n else return $f8b442c18c88c2f2$var$getGitHubUrl(version, prefix, suffix);\n}\n/** Gets an LLVM download URL for the Windows platform. */ async function $f8b442c18c88c2f2$var$getWin32Url(version) {\n if ($f8b442c18c88c2f2$var$WIN32_MISSING.has(version)) return null;\n const prefix = \"LLVM-\";\n const suffix = (0, (/*@__PURE__*/$parcel$interopDefault($hlfY9)))(version, \"3.7.0\") ? \"-win32.exe\" : \"-win64.exe\";\n const olderThan9_1 = (0, (/*@__PURE__*/$parcel$interopDefault($hlfY9)))(version, \"9.0.1\");\n let url;\n let fallback = false;\n if (olderThan9_1) {\n url = $f8b442c18c88c2f2$var$getReleaseUrl(version, prefix, suffix);\n if (!await (0, $930bb3ec7bf38c88$export$61e6a71eee2b02f9)(url)) fallback = true // fallback to github\n ;\n }\n if (fallback || !olderThan9_1) url = $f8b442c18c88c2f2$var$getGitHubUrl(version, prefix, suffix);\n return url;\n}\nfunction $f8b442c18c88c2f2$export$94df0e59ebebf4a7(platform, version) {\n switch(platform){\n case \"darwin\":\n return $f8b442c18c88c2f2$var$getDarwinUrl(version);\n case \"linux\":\n return $f8b442c18c88c2f2$export$ae24f9682a44836b(version);\n case \"win32\":\n return $f8b442c18c88c2f2$var$getWin32Url(version);\n default:\n return null;\n }\n}\nasync function $f8b442c18c88c2f2$export$f203993d12226a27(version, platform, // eslint-disable-next-line @typescript-eslint/no-unused-vars\n_arch) {\n const [specificVersion, url] = await (0, $d9c16e431e014540$export$4e4d3581f69a6d71)($f8b442c18c88c2f2$export$aa5307f1aca77413, platform, version, $f8b442c18c88c2f2$export$94df0e59ebebf4a7);\n (0, $hHq4F.info)(`specific llvm version: ${specificVersion}`);\n return {\n url: url,\n extractedFolderName: \"\",\n binRelativeDir: \"bin\",\n binFileName: (0, $eAXk4.addExeExt)(\"clang\"),\n extractFunction: platform === \"win32\" ? (0, $1533841bc1073d6a$export$7949938b2681a4f0) : (file, dest)=>{\n return (0, $1533841bc1073d6a$export$2ab07ac150064014)(file, dest, [\n \"--strip-components=1\"\n ]);\n }\n };\n}\n\n\n\nvar $6953eb5c011ad8ed$var$$parcel$__dirname = $4umf8$path.resolve(__dirname, \"../../src/llvm\");\nasync function $6953eb5c011ad8ed$export$3016de7ae9d14988(version, setupDir, arch) {\n const installationInfo = await $6953eb5c011ad8ed$var$setupLLVMWithoutActivation(version, setupDir, arch);\n var _installationInfo_installDir;\n await $6953eb5c011ad8ed$export$6238b5ebfd6640e7((_installationInfo_installDir = installationInfo.installDir) !== null && _installationInfo_installDir !== void 0 ? _installationInfo_installDir : setupDir);\n return installationInfo;\n}\nasync function $6953eb5c011ad8ed$var$setupLLVMWithoutActivation_raw(version, setupDir, arch) {\n // install LLVM and its dependencies in parallel\n const [installationInfo, _1, _2] = await Promise.all([\n $6953eb5c011ad8ed$var$setupLLVMOnly(version, setupDir, arch),\n $6953eb5c011ad8ed$var$setupLLVMDeps(arch),\n $6953eb5c011ad8ed$var$addLLVMLoggingMatcher()\n ]);\n return installationInfo;\n}\nconst $6953eb5c011ad8ed$var$setupLLVMWithoutActivation = (0, $4d02233aed1c3ded$export$2e2bcd8739ae039)($6953eb5c011ad8ed$var$setupLLVMWithoutActivation_raw, {\n isPromise: true\n});\nfunction $6953eb5c011ad8ed$export$1cf2d186cecf1f54(version, setupDir, arch) {\n return $6953eb5c011ad8ed$var$setupLLVMOnly(version, setupDir, arch, (0, $a7d52bc5591bf6e8$export$35fa309210df3df6).ClangFormat);\n}\nfunction $6953eb5c011ad8ed$export$814ccfc953503728(version, setupDir, arch) {\n return $6953eb5c011ad8ed$var$setupLLVMOnly(version, setupDir, arch);\n}\nasync function $6953eb5c011ad8ed$var$setupLLVMOnly(version, setupDir, arch, packages = (0, $a7d52bc5591bf6e8$export$35fa309210df3df6).All) {\n const coeredVersion = (0, $d9c16e431e014540$export$afd7401db249098f)(version);\n const majorVersion = parseInt(coeredVersion.split(\".\")[0], 10);\n try {\n if ((0, $c304217cbb6a03a7$export$da8baf1d6c6802b6)()) return await (0, $a7d52bc5591bf6e8$export$a86791c88ded7e54)(majorVersion, packages);\n } catch (err) {\n (0, $hHq4F.info)(`Failed to install llvm via system package manager ${err}`);\n }\n const installationInfo = await (0, $d14c914d00b0f583$export$334f77c9844c21f6)(\"llvm\", version, (0, $f8b442c18c88c2f2$export$f203993d12226a27), setupDir, arch);\n await $6953eb5c011ad8ed$var$llvmBinaryDeps(majorVersion);\n return installationInfo;\n}\nasync function $6953eb5c011ad8ed$var$llvmBinaryDeps_raw(majorVersion) {\n if ((0, $c304217cbb6a03a7$export$da8baf1d6c6802b6)()) {\n if (majorVersion <= 10) await (0, $4574e4c050df58da$export$d73dc343f5abf26)([\n {\n name: \"libtinfo5\"\n }\n ]);\n else await (0, $4574e4c050df58da$export$d73dc343f5abf26)([\n {\n name: \"libtinfo-dev\"\n }\n ]);\n }\n}\nconst $6953eb5c011ad8ed$var$llvmBinaryDeps = (0, $4d02233aed1c3ded$export$2e2bcd8739ae039)($6953eb5c011ad8ed$var$llvmBinaryDeps_raw, {\n isPromise: true\n});\nasync function $6953eb5c011ad8ed$var$setupLLVMDeps_raw(arch) {\n if (process.platform === \"linux\") // using llvm requires ld, an up to date libstdc++, etc. So, install gcc first,\n // but with a lower priority than the one used by activateLLVM()\n await (0, $3f19caa876428bf4$export$405fab3de79b77b)((0, $8555a825dc64b9bc$export$c506eb22e615ba4a)(\"gcc\", undefined, await (0, $1c6f48b06ad43808$export$49c9cf1111dfa0ee)()), \"\", arch, 40);\n}\nconst $6953eb5c011ad8ed$var$setupLLVMDeps = (0, $4d02233aed1c3ded$export$2e2bcd8739ae039)($6953eb5c011ad8ed$var$setupLLVMDeps_raw, {\n isPromise: true\n});\nasync function $6953eb5c011ad8ed$export$6238b5ebfd6640e7(directory) {\n var _process_env_LD_LIBRARY_PATH;\n const ld = (_process_env_LD_LIBRARY_PATH = process.env.LD_LIBRARY_PATH) !== null && _process_env_LD_LIBRARY_PATH !== void 0 ? _process_env_LD_LIBRARY_PATH : \"\";\n var _process_env_DYLD_LIBRARY_PATH;\n const dyld = (_process_env_DYLD_LIBRARY_PATH = process.env.DYLD_LIBRARY_PATH) !== null && _process_env_DYLD_LIBRARY_PATH !== void 0 ? _process_env_DYLD_LIBRARY_PATH : \"\";\n const actPromises = [\n // the output of this action\n (0, $fcca2ee3cb52e97b$export$f63d3080ce25e0fd)(\"LLVM_PATH\", directory),\n // Setup LLVM as the compiler\n (0, $fcca2ee3cb52e97b$export$f63d3080ce25e0fd)(\"LD_LIBRARY_PATH\", `${directory}/lib${(0, $4umf8$path.delimiter)}${ld}`),\n (0, $fcca2ee3cb52e97b$export$f63d3080ce25e0fd)(\"DYLD_LIBRARY_PATH\", `${directory}/lib${(0, $4umf8$path.delimiter)}${dyld}`),\n // compiler flags\n (0, $fcca2ee3cb52e97b$export$f63d3080ce25e0fd)(\"LDFLAGS\", `-L\"${directory}/lib\"`),\n (0, $fcca2ee3cb52e97b$export$f63d3080ce25e0fd)(\"CPPFLAGS\", `-I\"${directory}/include\"`),\n // compiler paths\n (0, $fcca2ee3cb52e97b$export$f63d3080ce25e0fd)(\"CC\", (0, $eAXk4.addExeExt)(`${directory}/bin/clang`)),\n (0, $fcca2ee3cb52e97b$export$f63d3080ce25e0fd)(\"CXX\", (0, $eAXk4.addExeExt)(`${directory}/bin/clang++`)),\n (0, $fcca2ee3cb52e97b$export$f63d3080ce25e0fd)(\"LIBRARY_PATH\", `${directory}/lib`),\n // os sdks\n (0, $b1bd4a63b941b63a$export$28f5fd35e3005b7a)()\n ];\n // TODO Causes issues with clangd\n // TODO Windows builds fail with llvm's CPATH\n // if (process.platform !== \"win32\") {\n // if (await pathExists(`${directory}/lib/clang/${version}/include`)) {\n // promises.push(addEnv(\"CPATH\", `${directory}/lib/clang/${version}/include`))\n // } else if (await pathExists(`${directory}/lib/clang/${llvmMajor}/include`)) {\n // promises.push(addEnv(\"CPATH\", `${directory}/lib/clang/${llvmMajor}/include`))\n // }\n // }\n if ((0, $c304217cbb6a03a7$export$da8baf1d6c6802b6)()) {\n const priority = 60;\n actPromises.push((0, $4574e4c050df58da$export$6fe6436bd9f53d02)(\"cc\", `${directory}/bin/clang`, priority), (0, $4574e4c050df58da$export$6fe6436bd9f53d02)(\"cxx\", `${directory}/bin/clang++`, priority), (0, $4574e4c050df58da$export$6fe6436bd9f53d02)(\"clang\", `${directory}/bin/clang`), (0, $4574e4c050df58da$export$6fe6436bd9f53d02)(\"clang++\", `${directory}/bin/clang++`), (0, $4574e4c050df58da$export$6fe6436bd9f53d02)(\"lld\", `${directory}/bin/lld`), (0, $4574e4c050df58da$export$6fe6436bd9f53d02)(\"ld.lld\", `${directory}/bin/ld.lld`), (0, $4574e4c050df58da$export$6fe6436bd9f53d02)(\"llvm-ar\", `${directory}/bin/llvm-ar`));\n }\n await Promise.all(actPromises);\n}\nasync function $6953eb5c011ad8ed$var$addLLVMLoggingMatcher() {\n if (0, $dAuy6.GITHUB_ACTIONS) {\n const matcherPath = (0, $eAXk4.join)($6953eb5c011ad8ed$var$$parcel$__dirname, \"llvm_matcher.json\");\n if (!await (0, $6t4SD.pathExists)(matcherPath)) return (0, $hHq4F.warning)(\"the llvm_matcher.json file does not exist in the same folder as setup-cpp.js\");\n (0, $hHq4F.info)(`::add-matcher::${matcherPath}`);\n }\n}\n\n\n\n\n\n\n\n\n\n\n\nasync function $90d27b925e8078c3$export$b0a9411329e2916(version, _setupDir, _arch) {\n switch(process.platform){\n case \"win32\":\n return (0, $9fccd3400da2cfd8$export$9f6912bc890040b2)(\"make\", version);\n case \"darwin\":\n await (0, $7ad09143f110687f$export$ce5d13d8a85cb784)(\"make\", version);\n await (0, $fcca2ee3cb52e97b$export$4c25481b843feb0b)(\"/usr/local/opt/make/libexec/gnubin\");\n return {\n binDir: \"/usr/local/opt/make/libexec/gnubin\"\n };\n case \"linux\":\n if ((0, $64f7d4d3c6118037$export$d415ddb6702ec3a2)()) return (0, $48b5fe4903818be0$export$cfa75578ee2d6e6c)(\"make\", version);\n else if ((0, $07c9db864ea9c735$export$8ce8b4b22331a8c7)()) return (0, $5e892f3aba3794f6$export$49d4f9ba8e0dd34f)([\n {\n name: \"make\",\n version: version\n }\n ]);\n else if ((0, $c304217cbb6a03a7$export$da8baf1d6c6802b6)()) return (0, $4574e4c050df58da$export$d73dc343f5abf26)([\n {\n name: \"make\",\n version: version\n }\n ]);\n throw new Error(`Unsupported linux distribution`);\n default:\n throw new Error(`Unsupported platform`);\n }\n}\n\n\n\nfunction $66785be328e24e8f$export$f73905553f087748(version, _setupDir, _arch) {\n return (0, $13d538bb32b1caca$export$4020cb77ffa3ffac)(\"meson\", version);\n}\n\n\n\n\n\n\nvar $dAuy6 = parcelRequire(\"dAuy6\");\n\nvar $eAXk4 = parcelRequire(\"eAXk4\");\n\nvar $hHq4F = parcelRequire(\"hHq4F\");\n\nvar $6t4SD = parcelRequire(\"6t4SD\");\n\nvar $ca61f3433f42990a$var$$parcel$__dirname = $4umf8$path.resolve(__dirname, \"../../src/msvc\");\nasync function $ca61f3433f42990a$export$a91ef0362c1a7298(versionGiven, _setupDir, arch, sdk, uwp, spectre) {\n if (process.platform !== \"win32\") return;\n const version = (0, $f4af675fd1cc6e59$export$3c7cae5a162b1458)(versionGiven);\n // check if the given version is already installed\n (0, $hHq4F.info)(`Checking if MSVC ${version} is already installed`);\n let installed = false;\n try {\n const vcvarsall_path = (0, $f4af675fd1cc6e59$export$a6a3bfb882356813)(version);\n installed = true;\n (0, $hHq4F.info)(`Found the pre-installed version of MSVC at ${vcvarsall_path}`);\n } catch {\n // not installed, try installing\n }\n let toolset;\n let VCTargetsPath;\n // https://github.com/aminya/setup-cpp/issues/1\n if (!installed) try {\n if (version === \"14.0\") {\n toolset = \"14.0\";\n await (0, $9fccd3400da2cfd8$export$9f6912bc890040b2)(\"visualcpp-build-tools\", \"14.0.25420.1\", [\n \"--ignore-dependencies\"\n ]);\n VCTargetsPath = \"C:/Program Files (x86)/MSBuild/Microsoft.Cpp/v4.0/v140\";\n } else if (version === \"15.0\") {\n toolset = \"14.16\";\n await (0, $9fccd3400da2cfd8$export$9f6912bc890040b2)(\"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 ;\n } else if (version === \"16.0\") {\n toolset = \"14.29\";\n await (0, $9fccd3400da2cfd8$export$9f6912bc890040b2)(\"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 (0, $9fccd3400da2cfd8$export$9f6912bc890040b2)(\"visualstudio2022buildtools\", \"117.0.5.0\", []);\n VCTargetsPath = undefined;\n } else (0, $hHq4F.error)(`The given MSVC versions ${versionGiven} is not supported yet.`);\n } catch (e) {\n (0, $hHq4F.error)(e);\n }\n // run vcvarsall.bat environment variables\n await (0, $95f7608dc9d76dc5$export$5dcf571c91fc8369)(version, VCTargetsPath, arch, toolset, sdk, uwp, spectre);\n if (0, $dAuy6.GITHUB_ACTIONS) await $ca61f3433f42990a$var$addMSVCLoggingMatcher();\n}\nasync function $ca61f3433f42990a$var$addMSVCLoggingMatcher() {\n const matcherPath = (0, $eAXk4.join)($ca61f3433f42990a$var$$parcel$__dirname, \"msvc_matcher.json\");\n if (!await (0, $6t4SD.pathExists)(matcherPath)) return (0, $hHq4F.warning)(\"the msvc_matcher.json file does not exist in the same folder as setup-cpp.js\");\n (0, $hHq4F.info)(`::add-matcher::${matcherPath}`);\n}\n\n\n\nvar $eAXk4 = parcelRequire(\"eAXk4\");\n\n\n\n\nlet $8ef6bee7cd8d9504$var$binDir;\nasync function $8ef6bee7cd8d9504$export$d73cbe8caeff03c5(version, _setupDir, _arch) {\n if (!(0, $c304217cbb6a03a7$export$da8baf1d6c6802b6)()) return undefined;\n if (typeof $8ef6bee7cd8d9504$var$binDir === \"string\") return {\n binDir: $8ef6bee7cd8d9504$var$binDir\n };\n const maybeBinDir = (0, (/*@__PURE__*/$parcel$interopDefault($71cfef4812d1fa23$exports))).sync(\"nala\", {\n nothrow: true\n });\n if (maybeBinDir !== null) {\n $8ef6bee7cd8d9504$var$binDir = (0, $eAXk4.dirname)(maybeBinDir);\n return {\n binDir: $8ef6bee7cd8d9504$var$binDir\n };\n }\n // https://github.com/volitank/nala#-installation\n const keyFileName = await (0, $4574e4c050df58da$export$7fb1a688af1305f0)(\"volian-archive-scar-unstable.gpg\", \"https://deb.volian.org/volian/scar.key\");\n (0, $c93e0191c47e5f34$export$58f152936f209932)(\"/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 try {\n if (version !== \"legacy\") await (0, $4574e4c050df58da$export$d73dc343f5abf26)([\n {\n name: \"nala\"\n }\n ], true);\n else await (0, $4574e4c050df58da$export$d73dc343f5abf26)([\n {\n name: \"nala-legacy\"\n }\n ], true);\n } catch (err) {\n await (0, $4574e4c050df58da$export$d73dc343f5abf26)([\n {\n name: \"nala-legacy\"\n }\n ], true);\n }\n $8ef6bee7cd8d9504$var$binDir = \"/usr/bin\" // eslint-disable-line require-atomic-updates\n ;\n return {\n binDir: $8ef6bee7cd8d9504$var$binDir\n };\n}\nfunction $8ef6bee7cd8d9504$export$2747aa8ef20f818d(script) {\n if ((0, $4574e4c050df58da$export$89548d91e84ae1a1)()) return `apt-get() { nala $@; }; export -f apt-get; ${script}; unset -f apt-get`;\n return script;\n}\n\n\n\n\n\nasync function $e30a94480cbacda6$export$6aa28a97600a8ae3(version, _setupDir, _arch) {\n if (process.platform !== \"win32\") return;\n await (0, $9fccd3400da2cfd8$export$9f6912bc890040b2)(\"opencppcoverage\", version);\n const binDir = await $e30a94480cbacda6$var$activateOpencppcoverage();\n return {\n binDir: binDir\n };\n}\nasync function $e30a94480cbacda6$var$activateOpencppcoverage() {\n const binDir = \"C:/Program Files/OpenCppCoverage\";\n await (0, $fcca2ee3cb52e97b$export$4c25481b843feb0b)(binDir);\n return binDir;\n}\n\n\n\n\n\n\n\n\n\n\n\n\n\nasync function $2c142710d07a1d78$export$1ff6ad96ee130aba(version, _setupDir, _arch) {\n switch(process.platform){\n case \"win32\":\n {\n await (0, $9fccd3400da2cfd8$export$9f6912bc890040b2)(\"powershell-core\", version);\n const binDir = \"C:/Program Files/PowerShell/7\";\n await (0, $fcca2ee3cb52e97b$export$4c25481b843feb0b)(binDir);\n return {\n binDir: binDir\n };\n }\n case \"darwin\":\n return (0, $7ad09143f110687f$export$ce5d13d8a85cb784)(\"powershell\", version, [\n \"--cask\"\n ]);\n case \"linux\":\n if ((0, $64f7d4d3c6118037$export$d415ddb6702ec3a2)()) return (0, $48b5fe4903818be0$export$cfa75578ee2d6e6c)(\"powershell-bin\", version, \"yay\");\n else if ((0, $07c9db864ea9c735$export$8ce8b4b22331a8c7)()) {\n (0, $5e892f3aba3794f6$export$49d4f9ba8e0dd34f)([\n {\n name: \"curl\"\n }\n ]);\n (0, $c93e0191c47e5f34$export$58f152936f209932)(\"/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 (0, $5e892f3aba3794f6$export$49d4f9ba8e0dd34f)([\n {\n name: \"powershell\",\n version: version\n }\n ]);\n } else if ((0, $c304217cbb6a03a7$export$da8baf1d6c6802b6)()) {\n await (0, $4574e4c050df58da$export$d73dc343f5abf26)([\n {\n name: \"curl\"\n }\n ]);\n const ubuntuVerSplitted = await (0, $1c6f48b06ad43808$export$49c9cf1111dfa0ee)();\n const ubuntuVersionString = `${ubuntuVerSplitted[0]}.0${ubuntuVerSplitted[1]}`;\n (0, $c93e0191c47e5f34$export$58f152936f209932)(\"curl\", [\n \"-LJO\",\n `https://packages.microsoft.com/config/ubuntu/${ubuntuVersionString}/packages-microsoft-prod.deb`\n ]);\n (0, $c93e0191c47e5f34$export$58f152936f209932)(\"dpkg\", [\n \"-i\",\n \"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 return (0, $4574e4c050df58da$export$d73dc343f5abf26)([\n {\n name: \"powershell\",\n version: version\n }\n ], true);\n }\n throw new Error(`Unsupported linux distribution`);\n default:\n throw new Error(`Unsupported platform`);\n }\n}\n\n\n\n\n\nfunction $87794de984c43d77$export$b963b67cda80fdc(version, _setupDir, _arch) {\n switch(process.platform){\n case \"win32\":\n return (0, $9fccd3400da2cfd8$export$9f6912bc890040b2)(\"sccache\", version);\n case \"linux\":\n case \"darwin\":\n return (0, $7ad09143f110687f$export$ce5d13d8a85cb784)(\"sccache\", version);\n default:\n throw new Error(`Unsupported platform`);\n }\n}\n\n\n\n\nvar $eAXk4 = parcelRequire(\"eAXk4\");\n\n\n/** Get the platform name task uses in their download links */ function $3633ba871f8ac84b$var$getTaskPlatform(platform) {\n switch(platform){\n case \"win32\":\n return \"windows\";\n default:\n return platform;\n }\n}\n/** Get the arch name task uses in their download links */ function $3633ba871f8ac84b$var$getTaskArch(arch) {\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/** Get the platform data for task */ function $3633ba871f8ac84b$var$getTaskPackageInfo(version, platform, arch) {\n const taskPlatform = $3633ba871f8ac84b$var$getTaskPlatform(platform);\n const taskArch = $3633ba871f8ac84b$var$getTaskArch(arch);\n const isZip = platform === \"win32\";\n const extension = isZip ? \"zip\" : \"tar.gz\";\n return {\n binRelativeDir: \"\",\n binFileName: (0, $eAXk4.addExeExt)(\"task\"),\n extractedFolderName: \"\",\n extractFunction: isZip ? (0, $1533841bc1073d6a$export$6411c5cbab21135b) : (0, $1533841bc1073d6a$export$2ab07ac150064014),\n url: `https://github.com/go-task/task/releases/download/v${version}/task_${taskPlatform}_${taskArch}.${extension}`\n };\n}\nfunction $3633ba871f8ac84b$export$4456b3a3d3540077(version, setupDir, arch) {\n return (0, $d14c914d00b0f583$export$334f77c9844c21f6)(\"task\", version, $3633ba871f8ac84b$var$getTaskPackageInfo, setupDir, arch);\n}\n\n\n\n\nvar $hHq4F = parcelRequire(\"hHq4F\");\n\nvar $6t4SD = parcelRequire(\"6t4SD\");\n\nvar $eAXk4 = parcelRequire(\"eAXk4\");\n\n\n\n\n\n\n\n\n\nlet $937e45ed2ed39257$var$hasVCPKG = false;\nasync function $937e45ed2ed39257$export$490bdba4ef3e3f82(_version, setupDir, _arch) {\n if (!$937e45ed2ed39257$var$hasVCPKG || (0, (/*@__PURE__*/$parcel$interopDefault($71cfef4812d1fa23$exports))).sync(\"vcpkg\", {\n nothrow: true\n }) === null) {\n if (process.platform === \"linux\") {\n // vcpkg download and extraction dependencies\n if ((0, $64f7d4d3c6118037$export$d415ddb6702ec3a2)()) await Promise.all([\n (0, $48b5fe4903818be0$export$cfa75578ee2d6e6c)(\"curl\"),\n (0, $48b5fe4903818be0$export$cfa75578ee2d6e6c)(\"zip\"),\n (0, $48b5fe4903818be0$export$cfa75578ee2d6e6c)(\"unzip\"),\n (0, $48b5fe4903818be0$export$cfa75578ee2d6e6c)(\"tar\"),\n (0, $48b5fe4903818be0$export$cfa75578ee2d6e6c)(\"git\"),\n (0, $48b5fe4903818be0$export$cfa75578ee2d6e6c)(\"pkg-config\")\n ]);\n else if ((0, $07c9db864ea9c735$export$8ce8b4b22331a8c7)()) await (0, $5e892f3aba3794f6$export$49d4f9ba8e0dd34f)([\n {\n name: \"curl\"\n },\n {\n name: \"zip\"\n },\n {\n name: \"unzip\"\n },\n {\n name: \"tar\"\n },\n {\n name: \"git\"\n },\n {\n name: \"pkg-config\"\n }\n ]);\n else if ((0, $c304217cbb6a03a7$export$da8baf1d6c6802b6)()) await (0, $4574e4c050df58da$export$d73dc343f5abf26)([\n {\n name: \"curl\"\n },\n {\n name: \"zip\"\n },\n {\n name: \"unzip\"\n },\n {\n name: \"tar\"\n },\n {\n name: \"git\"\n },\n {\n name: \"pkg-config\"\n }\n ]);\n }\n if (!await (0, $6t4SD.pathExists)((0, $eAXk4.join)(setupDir, (0, $eAXk4.addShExt)(\"bootstrap-vcpkg\", \".bat\")))) (0, $24f062d29362ada6$export$28823a701bb5a12d)(\"git\", [\n \"clone\",\n \"https://github.com/microsoft/vcpkg\"\n ], {\n cwd: (0, $eAXk4.dirname)(setupDir),\n stdio: \"inherit\"\n });\n else (0, $hHq4F.notice)(`Vcpkg folder already exists at ${setupDir}. This might mean that ~/vcpkg is restored from the cache.`);\n (0, $24f062d29362ada6$export$28823a701bb5a12d)((0, $eAXk4.addShExt)((0, $eAXk4.addShRelativePrefix)(\"bootstrap-vcpkg\"), \".bat\"), {\n cwd: setupDir,\n shell: true,\n stdio: \"inherit\"\n });\n await (0, $bf272871df54e58d$export$4718e061a205eab)(setupDir);\n await (0, $fcca2ee3cb52e97b$export$4c25481b843feb0b)(setupDir);\n // eslint-disable-next-line require-atomic-updates\n $937e45ed2ed39257$var$hasVCPKG = true;\n return {\n binDir: setupDir\n };\n }\n return {\n binDir: (0, $eAXk4.dirname)((0, (/*@__PURE__*/$parcel$interopDefault($71cfef4812d1fa23$exports))).sync(\"vcpkg\"))\n };\n}\n\n\n\nconst $5991c91eacfada05$export$18a3521ac7306af4 = {\n nala: (0, $8ef6bee7cd8d9504$export$d73cbe8caeff03c5),\n cmake: (0, $6ca1cdfc8544c646$export$c28663a621f418ce),\n ninja: (0, $33611b5480e1148e$export$e6190f4bfe2ef71),\n python: (0, $8e03016ecb3dd99e$export$2b0b68e9df3d4a02),\n vcpkg: (0, $937e45ed2ed39257$export$490bdba4ef3e3f82),\n bazel: (0, $671d2451576f7242$export$a66bc93580b0a849),\n conan: (0, $7fad98b8fc122c7f$export$249d0c7d779d362f),\n meson: (0, $66785be328e24e8f$export$f73905553f087748),\n gcovr: (0, $88e2c066ab70c051$export$b98d69f362caf61f),\n opencppcoverage: (0, $e30a94480cbacda6$export$6aa28a97600a8ae3),\n llvm: (0, $6953eb5c011ad8ed$export$3016de7ae9d14988),\n gcc: (0, $3f19caa876428bf4$export$405fab3de79b77b),\n choco: (0, $fd45706685edd4a7$export$b804d731cdad7ef9),\n brew: (0, $86d7dd00a0f99d9c$export$c5eeb9c87a610a0e),\n powershell: (0, $2c142710d07a1d78$export$1ff6ad96ee130aba),\n ccache: (0, $e2bfdac6c7112ded$export$111263621bbb0768),\n sccache: (0, $87794de984c43d77$export$b963b67cda80fdc),\n doxygen: (0, $befd38d449a1dd77$export$b6e6613a954051ee),\n graphviz: (0, $84a50e6b88ef38c7$export$b885bd977caaafb9),\n cppcheck: (0, $287d43a812660c62$export$13d77464c548b5d3),\n clangtidy: (0, $6953eb5c011ad8ed$export$814ccfc953503728),\n clangformat: (0, $6953eb5c011ad8ed$export$1cf2d186cecf1f54),\n msvc: (0, $ca61f3433f42990a$export$a91ef0362c1a7298),\n vcvarsall: (0, $95f7608dc9d76dc5$export$5dcf571c91fc8369),\n kcov: (0, $b57152bab0b5e0d6$export$abb7c2ff987b1f6b),\n make: (0, $90d27b925e8078c3$export$b0a9411329e2916),\n task: (0, $3633ba871f8ac84b$export$4456b3a3d3540077),\n sevenzip: (0, $9a4a93f779a8f772$export$5fc39629e14c8173)\n};\nconst $5991c91eacfada05$export$904054328df186b = Object.keys($5991c91eacfada05$export$18a3521ac7306af4);\nconst $5991c91eacfada05$export$7b388ca536128c6d = [\n \"compiler\",\n \"architecture\",\n \"timeout\",\n ...$5991c91eacfada05$export$904054328df186b\n];\n\n\nfunction $5e34b9b876d96316$export$7300a92932ee17a3(args) {\n return (0, $6973f06ebfc9a33d$export$2e2bcd8739ae039)(args, {\n string: [\n ...(0, $5991c91eacfada05$export$7b388ca536128c6d),\n \"timeout\"\n ],\n default: Object.fromEntries((0, $5991c91eacfada05$export$7b388ca536128c6d).map((inp)=>[\n inp,\n $5e34b9b876d96316$export$fc4ce4d885cb1082(inp)\n ])),\n alias: {\n h: \"help\"\n },\n boolean: \"help\"\n });\n}\nfunction $5e34b9b876d96316$export$f57ebcae4da846e4() {\n (0, $hHq4F.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--timeout\\t the timeout for the installation of each tool in minutes. By default it is 10 minutes.\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--$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`);\n console.table({\n \"compiler and analyzer\": {\n tools: `--llvm, --gcc, --msvc, --vcvarsall, --cppcheck, --clangtidy, --clangformat`\n },\n \"build system\": {\n tools: `--cmake, --ninja, --meson, --make, --task, --bazel`\n },\n \"package manager\": {\n tools: `--vcpkg, --conan, --choco, --brew, --nala`\n },\n cache: {\n tools: `--cppcache, --sccache`\n },\n documentation: {\n tools: `--doxygen, --graphviz`\n },\n coverage: {\n tools: `--gcovr, --opencppcoverage, --kcov`\n },\n other: {\n tools: `--python, --powershell, --sevenzip`\n }\n }, [\n \"tools\"\n ]);\n}\nfunction $5e34b9b876d96316$export$fc4ce4d885cb1082(key) {\n const value = (0, $1o3Gj.getInput)(key.toLowerCase());\n if (value !== \"false\" && value !== \"\") return value;\n return undefined // skip installation\n ;\n}\nfunction $5e34b9b876d96316$export$ad22d805bb3bfaf5(tool, installationInfo) {\n let msg = `\\u{2705} ${tool} was installed successfully:`;\n if (installationInfo === undefined) return msg;\n if (\"installDir\" in installationInfo) msg += `\\n- The installation directory is ${installationInfo.installDir}`;\n if (installationInfo.binDir !== \"\") msg += `\\n- The binary directory is ${installationInfo.binDir}`;\n return msg;\n}\n\n\n\nvar $1o3Gj = parcelRequire(\"1o3Gj\");\n\nvar $hHq4F = parcelRequire(\"hHq4F\");\n\n\nvar $2kZmC = parcelRequire(\"2kZmC\");\n\n\n\n\n\n\n\nfunction $378d5e7e39d04cd9$export$588248dee5258836(compilerAndVersion) {\n const compilerAndMaybeVersion = compilerAndVersion.split(\"-\");\n const compiler = compilerAndMaybeVersion[0];\n if (1 in compilerAndMaybeVersion) {\n const maybeVersion = compilerAndMaybeVersion[1];\n if ((0, (/*@__PURE__*/$parcel$interopDefault($2kZmC)))(maybeVersion) !== null) return {\n compiler: compiler,\n version: maybeVersion\n };\n else {\n (0, $hHq4F.info)(`Invalid semver version ${maybeVersion} used for the compiler.`);\n return {\n compiler: compiler,\n version: maybeVersion\n };\n }\n }\n return {\n compiler: compiler,\n version: undefined\n };\n}\nasync function $378d5e7e39d04cd9$export$4dabf89bf6376d2b(compilerAndVersion, osVersion, setupCppDir, arch, successMessages, hasLLVM, errorMessages) {\n try {\n const { compiler: compiler, version: version } = $378d5e7e39d04cd9$export$588248dee5258836(compilerAndVersion);\n // install the compiler. We allow some aliases for the compiler name\n (0, $1o3Gj.startGroup)(`Installing ${compiler} ${version !== null && version !== void 0 ? version : \"\"}`);\n switch(compiler){\n case \"llvm\":\n case \"clang\":\n case \"clang++\":\n {\n const installationInfo = await (0, $6953eb5c011ad8ed$export$3016de7ae9d14988)((0, $8555a825dc64b9bc$export$c506eb22e615ba4a)(\"llvm\", version, osVersion), (0, $4umf8$path.join)(setupCppDir, \"llvm\"), arch);\n await (0, $88e2c066ab70c051$export$2a0488baf2a20c0f)();\n successMessages.push((0, $5e34b9b876d96316$export$ad22d805bb3bfaf5)(\"llvm\", installationInfo));\n break;\n }\n case \"gcc\":\n case \"mingw\":\n case \"cygwin\":\n case \"msys\":\n {\n const gccVersion = compiler === \"mingw\" ? (0, $8555a825dc64b9bc$export$c506eb22e615ba4a)(\"mingw\", version, osVersion) : (0, $8555a825dc64b9bc$export$c506eb22e615ba4a)(\"gcc\", version, osVersion);\n const installationInfo = compiler === \"mingw\" ? await (0, $3f19caa876428bf4$export$f115c01d224b9e9a)(gccVersion, (0, $4umf8$path.join)(setupCppDir, \"gcc\"), arch) : await (0, $3f19caa876428bf4$export$405fab3de79b77b)(gccVersion, (0, $4umf8$path.join)(setupCppDir, \"gcc\"), arch);\n if (hasLLVM) // remove back the added CPPFLAGS of LLVM that include the LLVM headers\n await (0, $fcca2ee3cb52e97b$export$f63d3080ce25e0fd)(\"CPPFLAGS\", \"\");\n await (0, $88e2c066ab70c051$export$41dabde4775ee2aa)(gccVersion);\n successMessages.push((0, $5e34b9b876d96316$export$ad22d805bb3bfaf5)(\"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 {\n const installationInfo = await (0, $ca61f3433f42990a$export$a91ef0362c1a7298)((0, $8555a825dc64b9bc$export$c506eb22e615ba4a)(\"msvc\", version, osVersion), (0, $4umf8$path.join)(setupCppDir, \"msvc\"), arch);\n if (hasLLVM) // remove the CPPFLAGS of LLVM that include the LLVM headers\n await (0, $fcca2ee3cb52e97b$export$f63d3080ce25e0fd)(\"CPPFLAGS\", \"\");\n successMessages.push((0, $5e34b9b876d96316$export$ad22d805bb3bfaf5)(\"msvc\", installationInfo));\n break;\n }\n case \"appleclang\":\n case \"applellvm\":\n (0, $1o3Gj.notice)(\"Assuming apple-clang is already installed\");\n await Promise.all([\n (0, $fcca2ee3cb52e97b$export$f63d3080ce25e0fd)(\"CC\", \"clang\"),\n (0, $fcca2ee3cb52e97b$export$f63d3080ce25e0fd)(\"CXX\", \"clang++\")\n ]);\n successMessages.push((0, $5e34b9b876d96316$export$ad22d805bb3bfaf5)(\"apple-clang\", undefined));\n break;\n default:\n errorMessages.push(`Unsupported compiler ${compiler}`);\n }\n } catch (err) {\n (0, $hHq4F.error)(err);\n errorMessages.push(`Failed to install the ${compilerAndVersion}`);\n }\n (0, $1o3Gj.endGroup)();\n}\n\n\n\n\n\n\n\n\n\n/** The main entry function */ async function $1ae0f1c1ace0f6af$var$main(args) {\n let checkUpdatePromise = Promise.resolve();\n if (!(0, $dAuy6.GITHUB_ACTIONS)) {\n checkUpdatePromise = (0, $c67d54237e946289$export$31c6d94eb20a8ca7)();\n process.env.ACTIONS_ALLOW_UNSECURE_COMMANDS = \"true\";\n }\n // parse options using mri or github actions\n const opts = (0, $5e34b9b876d96316$export$7300a92932ee17a3)(args);\n // print help\n if (opts.help) (0, $5e34b9b876d96316$export$f57ebcae4da846e4)();\n var _opts_architecture;\n // cpu architecture\n const arch = (_opts_architecture = opts.architecture) !== null && _opts_architecture !== void 0 ? _opts_architecture : process.arch;\n var _process_env_SETUP_CPP_DIR;\n // the installation dir for the tools that are downloaded directly\n const setupCppDir = (_process_env_SETUP_CPP_DIR = process.env.SETUP_CPP_DIR) !== null && _process_env_SETUP_CPP_DIR !== void 0 ? _process_env_SETUP_CPP_DIR : (0, $f19d14aa12f0fb90$export$8312d9eeba321950)(\"\");\n // report messages\n const successMessages = [];\n const errorMessages = [];\n const timeFormatter = $d8d049814738d806$exports.create({\n autoloadLocales: true\n });\n $d8d049814738d806$exports.addLocale((0, (/*@__PURE__*/$parcel$interopDefault($320f558e5d3a9246$exports))));\n $6OFKY.addLocale((0, (/*@__PURE__*/$parcel$interopDefault($4af6780aae15e7aa$exports))));\n let time1;\n let time2;\n // installing the specified tools\n const osVersion = await (0, $1c6f48b06ad43808$export$49c9cf1111dfa0ee)();\n // sync the version for the llvm tools\n if (!(0, $8555a825dc64b9bc$export$dd13a1e418f5a5fe)(opts, [\n \"llvm\",\n \"clangtidy\",\n \"clangformat\"\n ])) {\n (0, $hHq4F.error)(\"The same version must be used for llvm, clangformat and clangtidy\");\n return 1;\n }\n if ((0, $64f7d4d3c6118037$export$d415ddb6702ec3a2)() && typeof opts.cppcheck === \"string\" && typeof opts.gcovr === \"string\") {\n (0, $hHq4F.info)(\"installing python-pygments to avoid conflicts with cppcheck and gcovr on Arch linux\");\n await (0, $48b5fe4903818be0$export$cfa75578ee2d6e6c)(\"python-pygments\");\n }\n /** Used to unset CPPFLAGS of LLVM when other compilers are used as the main compiler */ let hasLLVM = false;\n // loop over the tools and run their setup function\n let failedFast = false;\n for (const tool of (0, $5991c91eacfada05$export$904054328df186b)){\n // fail fast inside CI when any tool fails\n if (0, $dAuy6.isCI) {\n if (errorMessages.length !== 0) {\n failedFast = true;\n break;\n }\n }\n // get the version or \"true\" or undefined for this tool from the options\n const version = opts[tool];\n // skip if undefined\n if (version !== undefined) {\n // running the setup function for this tool\n time1 = Date.now();\n var _opts_timeout;\n // eslint-disable-next-line no-await-in-loop\n hasLLVM = await (0, $f6eafce5b5cfae6d$export$ddb4b945c8581272)(tool, version, osVersion, arch, setupCppDir, successMessages, errorMessages, parseFloat((_opts_timeout = opts.timeout) !== null && _opts_timeout !== void 0 ? _opts_timeout : \"20\") * 60000);\n time2 = Date.now();\n (0, $hHq4F.info)(`took ${timeFormatter.format(time1, time2) || \"0 seconds\"}`);\n }\n }\n if (!failedFast) {\n // installing the specified compiler\n const maybeCompiler = opts.compiler;\n if (maybeCompiler !== undefined) {\n const time1Compiler = Date.now();\n await (0, $378d5e7e39d04cd9$export$4dabf89bf6376d2b)(maybeCompiler, osVersion, setupCppDir, arch, successMessages, hasLLVM, errorMessages);\n const time2Compiler = Date.now();\n (0, $hHq4F.info)(`took ${timeFormatter.format(time1Compiler, time2Compiler) || \"0 seconds\"}`);\n }\n }\n await (0, $fcca2ee3cb52e97b$export$ca46151966bee7ba)();\n if (successMessages.length === 0 && errorMessages.length === 0) {\n (0, $hHq4F.warning)(\"setup-cpp was called without any arguments. Nothing to do.\");\n return 0;\n }\n // report the messages in the end\n successMessages.forEach((tool)=>(0, $hHq4F.success)(tool));\n errorMessages.forEach((tool)=>(0, $hHq4F.error)(tool));\n (0, $hHq4F.info)(\"setup-cpp finished\");\n if (!(0, $dAuy6.GITHUB_ACTIONS)) switch(process.platform){\n case \"win32\":\n (0, $hHq4F.warning)(\"Run `RefreshEnv.cmd` or restart your shell to update the environment.\");\n break;\n case \"linux\":\n case \"darwin\":\n (0, $hHq4F.warning)(\"Run `source ~/.cpprc` or restart your shell to update the environment.\");\n break;\n default:\n }\n await checkUpdatePromise;\n return errorMessages.length === 0 ? 0 : 1 // exit with non-zero if any error message\n ;\n}\n// Run main\n$1ae0f1c1ace0f6af$var$main(process.argv).then((ret)=>{\n process.exitCode = ret;\n}).catch((err)=>{\n (0, $hHq4F.error)(\"main() panicked!\");\n (0, $hHq4F.error)(err);\n process.exitCode = 1;\n});\n\n\n//# sourceMappingURL=setup-cpp.js.map\n","'use strict'\n\nconst vendors = require('./vendors.json')\n\nconst env = process.env\n\n// Used for testing only\nObject.defineProperty(exports, '_vendors', {\n value: vendors.map(function (v) {\n return v.constant\n })\n})\n\nexports.name = null\nexports.isPR = null\n\nvendors.forEach(function (vendor) {\n const envs = Array.isArray(vendor.env) ? vendor.env : [vendor.env]\n const isCI = envs.every(function (obj) {\n return checkEnv(obj)\n })\n\n exports[vendor.constant] = isCI\n\n if (!isCI) {\n return\n }\n\n exports.name = vendor.name\n\n switch (typeof vendor.pr) {\n case 'string':\n // \"pr\": \"CIRRUS_PR\"\n exports.isPR = !!env[vendor.pr]\n break\n case 'object':\n if ('env' in vendor.pr) {\n // \"pr\": { \"env\": \"BUILDKITE_PULL_REQUEST\", \"ne\": \"false\" }\n exports.isPR = vendor.pr.env in env && env[vendor.pr.env] !== vendor.pr.ne\n } else if ('any' in vendor.pr) {\n // \"pr\": { \"any\": [\"ghprbPullId\", \"CHANGE_ID\"] }\n exports.isPR = vendor.pr.any.some(function (key) {\n return !!env[key]\n })\n } else {\n // \"pr\": { \"DRONE_BUILD_EVENT\": \"pull_request\" }\n exports.isPR = checkEnv(vendor.pr)\n }\n break\n default:\n // PR detection not supported for this vendor\n exports.isPR = null\n }\n})\n\nexports.isCI = !!(\n env.CI !== 'false' && // Bypass all checks if CI env is explicitly set to 'false'\n (env.BUILD_ID || // Jenkins, Cloudbees\n env.BUILD_NUMBER || // Jenkins, TeamCity\n env.CI || // Travis CI, CircleCI, Cirrus CI, Gitlab CI, Appveyor, CodeShip, dsari\n env.CI_APP_ID || // Appflow\n env.CI_BUILD_ID || // Appflow\n env.CI_BUILD_NUMBER || // Appflow\n env.CI_NAME || // Codeship and others\n env.CONTINUOUS_INTEGRATION || // Travis CI, Cirrus CI\n env.RUN_ID || // TaskCluster, dsari\n exports.name ||\n false)\n)\n\nfunction checkEnv (obj) {\n // \"env\": \"CIRRUS\"\n if (typeof obj === 'string') return !!env[obj]\n\n // \"env\": { \"env\": \"NODE\", \"includes\": \"/app/.heroku/node/bin/node\" }\n if ('env' in obj) {\n // Currently there are no other types, uncomment when there are\n // if ('includes' in obj) {\n return env[obj.env] && env[obj.env].includes(obj.includes)\n // }\n }\n if ('any' in obj) {\n return obj.any.some(function (k) {\n return !!env[k]\n })\n }\n return Object.keys(obj).every(function (k) {\n return env[k] === obj[k]\n })\n}\n","[\n {\n \"name\": \"Agola CI\",\n \"constant\": \"AGOLA\",\n \"env\": \"AGOLA_GIT_REF\",\n \"pr\": \"AGOLA_PULL_REQUEST_ID\"\n },\n {\n \"name\": \"Appcircle\",\n \"constant\": \"APPCIRCLE\",\n \"env\": \"AC_APPCIRCLE\"\n },\n {\n \"name\": \"AppVeyor\",\n \"constant\": \"APPVEYOR\",\n \"env\": \"APPVEYOR\",\n \"pr\": \"APPVEYOR_PULL_REQUEST_NUMBER\"\n },\n {\n \"name\": \"AWS CodeBuild\",\n \"constant\": \"CODEBUILD\",\n \"env\": \"CODEBUILD_BUILD_ARN\"\n },\n {\n \"name\": \"Azure Pipelines\",\n \"constant\": \"AZURE_PIPELINES\",\n \"env\": \"TF_BUILD\",\n \"pr\": {\n \"BUILD_REASON\": \"PullRequest\"\n }\n },\n {\n \"name\": \"Bamboo\",\n \"constant\": \"BAMBOO\",\n \"env\": \"bamboo_planKey\"\n },\n {\n \"name\": \"Bitbucket Pipelines\",\n \"constant\": \"BITBUCKET\",\n \"env\": \"BITBUCKET_COMMIT\",\n \"pr\": \"BITBUCKET_PR_ID\"\n },\n {\n \"name\": \"Bitrise\",\n \"constant\": \"BITRISE\",\n \"env\": \"BITRISE_IO\",\n \"pr\": \"BITRISE_PULL_REQUEST\"\n },\n {\n \"name\": \"Buddy\",\n \"constant\": \"BUDDY\",\n \"env\": \"BUDDY_WORKSPACE_ID\",\n \"pr\": \"BUDDY_EXECUTION_PULL_REQUEST_ID\"\n },\n {\n \"name\": \"Buildkite\",\n \"constant\": \"BUILDKITE\",\n \"env\": \"BUILDKITE\",\n \"pr\": {\n \"env\": \"BUILDKITE_PULL_REQUEST\",\n \"ne\": \"false\"\n }\n },\n {\n \"name\": \"CircleCI\",\n \"constant\": \"CIRCLE\",\n \"env\": \"CIRCLECI\",\n \"pr\": \"CIRCLE_PULL_REQUEST\"\n },\n {\n \"name\": \"Cirrus CI\",\n \"constant\": \"CIRRUS\",\n \"env\": \"CIRRUS_CI\",\n \"pr\": \"CIRRUS_PR\"\n },\n {\n \"name\": \"Codefresh\",\n \"constant\": \"CODEFRESH\",\n \"env\": \"CF_BUILD_ID\",\n \"pr\": {\n \"any\": [\n \"CF_PULL_REQUEST_NUMBER\",\n \"CF_PULL_REQUEST_ID\"\n ]\n }\n },\n {\n \"name\": \"Codemagic\",\n \"constant\": \"CODEMAGIC\",\n \"env\": \"CM_BUILD_ID\",\n \"pr\": \"CM_PULL_REQUEST\"\n },\n {\n \"name\": \"Codeship\",\n \"constant\": \"CODESHIP\",\n \"env\": {\n \"CI_NAME\": \"codeship\"\n }\n },\n {\n \"name\": \"Drone\",\n \"constant\": \"DRONE\",\n \"env\": \"DRONE\",\n \"pr\": {\n \"DRONE_BUILD_EVENT\": \"pull_request\"\n }\n },\n {\n \"name\": \"dsari\",\n \"constant\": \"DSARI\",\n \"env\": \"DSARI\"\n },\n {\n \"name\": \"Earthly\",\n \"constant\": \"EARTHLY\",\n \"env\": \"EARTHLY_CI\"\n },\n {\n \"name\": \"Expo Application Services\",\n \"constant\": \"EAS\",\n \"env\": \"EAS_BUILD\"\n },\n {\n \"name\": \"Gerrit\",\n \"constant\": \"GERRIT\",\n \"env\": \"GERRIT_PROJECT\"\n },\n {\n \"name\": \"Gitea Actions\",\n \"constant\": \"GITEA_ACTIONS\",\n \"env\": \"GITEA_ACTIONS\"\n },\n {\n \"name\": \"GitHub Actions\",\n \"constant\": \"GITHUB_ACTIONS\",\n \"env\": \"GITHUB_ACTIONS\",\n \"pr\": {\n \"GITHUB_EVENT_NAME\": \"pull_request\"\n }\n },\n {\n \"name\": \"GitLab CI\",\n \"constant\": \"GITLAB\",\n \"env\": \"GITLAB_CI\",\n \"pr\": \"CI_MERGE_REQUEST_ID\"\n },\n {\n \"name\": \"GoCD\",\n \"constant\": \"GOCD\",\n \"env\": \"GO_PIPELINE_LABEL\"\n },\n {\n \"name\": \"Google Cloud Build\",\n \"constant\": \"GOOGLE_CLOUD_BUILD\",\n \"env\": \"BUILDER_OUTPUT\"\n },\n {\n \"name\": \"Harness CI\",\n \"constant\": \"HARNESS\",\n \"env\": \"HARNESS_BUILD_ID\"\n },\n {\n \"name\": \"Heroku\",\n \"constant\": \"HEROKU\",\n \"env\": {\n \"env\": \"NODE\",\n \"includes\": \"/app/.heroku/node/bin/node\"\n }\n },\n {\n \"name\": \"Hudson\",\n \"constant\": \"HUDSON\",\n \"env\": \"HUDSON_URL\"\n },\n {\n \"name\": \"Jenkins\",\n \"constant\": \"JENKINS\",\n \"env\": [\n \"JENKINS_URL\",\n \"BUILD_ID\"\n ],\n \"pr\": {\n \"any\": [\n \"ghprbPullId\",\n \"CHANGE_ID\"\n ]\n }\n },\n {\n \"name\": \"LayerCI\",\n \"constant\": \"LAYERCI\",\n \"env\": \"LAYERCI\",\n \"pr\": \"LAYERCI_PULL_REQUEST\"\n },\n {\n \"name\": \"Magnum CI\",\n \"constant\": \"MAGNUM\",\n \"env\": \"MAGNUM\"\n },\n {\n \"name\": \"Netlify CI\",\n \"constant\": \"NETLIFY\",\n \"env\": \"NETLIFY\",\n \"pr\": {\n \"env\": \"PULL_REQUEST\",\n \"ne\": \"false\"\n }\n },\n {\n \"name\": \"Nevercode\",\n \"constant\": \"NEVERCODE\",\n \"env\": \"NEVERCODE\",\n \"pr\": {\n \"env\": \"NEVERCODE_PULL_REQUEST\",\n \"ne\": \"false\"\n }\n },\n {\n \"name\": \"Prow\",\n \"constant\": \"PROW\",\n \"env\": \"PROW_JOB_ID\"\n },\n {\n \"name\": \"ReleaseHub\",\n \"constant\": \"RELEASEHUB\",\n \"env\": \"RELEASE_BUILD_ID\"\n },\n {\n \"name\": \"Render\",\n \"constant\": \"RENDER\",\n \"env\": \"RENDER\",\n \"pr\": {\n \"IS_PULL_REQUEST\": \"true\"\n }\n },\n {\n \"name\": \"Sail CI\",\n \"constant\": \"SAIL\",\n \"env\": \"SAILCI\",\n \"pr\": \"SAIL_PULL_REQUEST_NUMBER\"\n },\n {\n \"name\": \"Screwdriver\",\n \"constant\": \"SCREWDRIVER\",\n \"env\": \"SCREWDRIVER\",\n \"pr\": {\n \"env\": \"SD_PULL_REQUEST\",\n \"ne\": \"false\"\n }\n },\n {\n \"name\": \"Semaphore\",\n \"constant\": \"SEMAPHORE\",\n \"env\": \"SEMAPHORE\",\n \"pr\": \"PULL_REQUEST_NUMBER\"\n },\n {\n \"name\": \"Sourcehut\",\n \"constant\": \"SOURCEHUT\",\n \"env\": {\n \"CI_NAME\": \"sourcehut\"\n }\n },\n {\n \"name\": \"Strider CD\",\n \"constant\": \"STRIDER\",\n \"env\": \"STRIDER\"\n },\n {\n \"name\": \"TaskCluster\",\n \"constant\": \"TASKCLUSTER\",\n \"env\": [\n \"TASK_ID\",\n \"RUN_ID\"\n ]\n },\n {\n \"name\": \"TeamCity\",\n \"constant\": \"TEAMCITY\",\n \"env\": \"TEAMCITY_VERSION\"\n },\n {\n \"name\": \"Travis CI\",\n \"constant\": \"TRAVIS\",\n \"env\": \"TRAVIS\",\n \"pr\": {\n \"env\": \"TRAVIS_PULL_REQUEST\",\n \"ne\": \"false\"\n }\n },\n {\n \"name\": \"Vela\",\n \"constant\": \"VELA\",\n \"env\": \"VELA\",\n \"pr\": {\n \"VELA_PULL_REQUEST\": \"1\"\n }\n },\n {\n \"name\": \"Vercel\",\n \"constant\": \"VERCEL\",\n \"env\": {\n \"any\": [\n \"NOW_BUILDER\",\n \"VERCEL\"\n ]\n },\n \"pr\": \"VERCEL_GIT_PULL_REQUEST_ID\"\n },\n {\n \"name\": \"Visual Studio App Center\",\n \"constant\": \"APPCENTER\",\n \"env\": \"APPCENTER_BUILD_ID\"\n },\n {\n \"name\": \"Woodpecker\",\n \"constant\": \"WOODPECKER\",\n \"env\": {\n \"CI\": \"woodpecker\"\n },\n \"pr\": {\n \"CI_BUILD_EVENT\": \"pull_request\"\n }\n },\n {\n \"name\": \"Xcode Cloud\",\n \"constant\": \"XCODE_CLOUD\",\n \"env\": \"CI_XCODE_PROJECT\",\n \"pr\": \"CI_PULL_REQUEST_NUMBER\"\n },\n {\n \"name\": \"Xcode Server\",\n \"constant\": \"XCODE_SERVER\",\n \"env\": \"XCS\"\n }\n]\n","import * as core from \"@actions/core\"\nimport { GITHUB_ACTIONS } from \"ci-info\"\n\nexport function error(err: string | Error) {\n return 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 GITHUB_ACTIONS ? core.warning(msg) : console.log(`\\x1b[33m${msg}\\x1b[0m`)\n}\n\nexport function notice(msg: string) {\n return GITHUB_ACTIONS ? core.notice(msg) : console.log(`\\x1b[94m${msg}\\x1b[0m`)\n}\n\nexport function info(msg: string) {\n return GITHUB_ACTIONS ? core.info(msg) : console.log(msg)\n}\n",null,null,null,null,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,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,null,null,null,"(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","\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","// 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","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","// just pre-load all the stuff that index.js lazily exports\nconst internalRe = require('./internal/re')\nconst constants = require('./internal/constants')\nconst SemVer = require('./classes/semver')\nconst identifiers = require('./internal/identifiers')\nconst parse = require('./functions/parse')\nconst valid = require('./functions/valid')\nconst clean = require('./functions/clean')\nconst inc = require('./functions/inc')\nconst diff = require('./functions/diff')\nconst major = require('./functions/major')\nconst minor = require('./functions/minor')\nconst patch = require('./functions/patch')\nconst prerelease = require('./functions/prerelease')\nconst compare = require('./functions/compare')\nconst rcompare = require('./functions/rcompare')\nconst compareLoose = require('./functions/compare-loose')\nconst compareBuild = require('./functions/compare-build')\nconst sort = require('./functions/sort')\nconst rsort = require('./functions/rsort')\nconst gt = require('./functions/gt')\nconst lt = require('./functions/lt')\nconst eq = require('./functions/eq')\nconst neq = require('./functions/neq')\nconst gte = require('./functions/gte')\nconst lte = require('./functions/lte')\nconst cmp = require('./functions/cmp')\nconst coerce = require('./functions/coerce')\nconst Comparator = require('./classes/comparator')\nconst Range = require('./classes/range')\nconst satisfies = require('./functions/satisfies')\nconst toComparators = require('./ranges/to-comparators')\nconst maxSatisfying = require('./ranges/max-satisfying')\nconst minSatisfying = require('./ranges/min-satisfying')\nconst minVersion = require('./ranges/min-version')\nconst validRange = require('./ranges/valid')\nconst outside = require('./ranges/outside')\nconst gtr = require('./ranges/gtr')\nconst ltr = require('./ranges/ltr')\nconst intersects = require('./ranges/intersects')\nconst simplifyRange = require('./ranges/simplify')\nconst subset = require('./ranges/subset')\nmodule.exports = {\n parse,\n valid,\n clean,\n inc,\n diff,\n major,\n minor,\n patch,\n prerelease,\n compare,\n rcompare,\n compareLoose,\n compareBuild,\n sort,\n rsort,\n gt,\n lt,\n eq,\n neq,\n gte,\n lte,\n cmp,\n coerce,\n Comparator,\n Range,\n satisfies,\n toComparators,\n maxSatisfying,\n minSatisfying,\n minVersion,\n validRange,\n outside,\n gtr,\n ltr,\n intersects,\n simplifyRange,\n subset,\n SemVer,\n re: internalRe.re,\n src: internalRe.src,\n tokens: internalRe.t,\n SEMVER_SPEC_VERSION: constants.SEMVER_SPEC_VERSION,\n RELEASE_TYPES: constants.RELEASE_TYPES,\n compareIdentifiers: identifiers.compareIdentifiers,\n rcompareIdentifiers: identifiers.rcompareIdentifiers,\n}\n","const {\n MAX_SAFE_COMPONENT_LENGTH,\n MAX_SAFE_BUILD_LENGTH,\n MAX_LENGTH,\n} = require('./constants')\nconst debug = require('./debug')\nexports = module.exports = {}\n\n// The actual regexps go on exports.re\nconst re = exports.re = []\nconst safeRe = exports.safeRe = []\nconst src = exports.src = []\nconst t = exports.t = {}\nlet R = 0\n\nconst LETTERDASHNUMBER = '[a-zA-Z0-9-]'\n\n// Replace some greedy regex tokens to prevent regex dos issues. These regex are\n// used internally via the safeRe object since all inputs in this library get\n// normalized first to trim and collapse all extra whitespace. The original\n// regexes are exported for userland consumption and lower level usage. A\n// future breaking change could export the safer regex only with a note that\n// all input should have extra whitespace removed.\nconst safeRegexReplacements = [\n ['\\\\s', 1],\n ['\\\\d', MAX_LENGTH],\n [LETTERDASHNUMBER, MAX_SAFE_BUILD_LENGTH],\n]\n\nconst makeSafeRegex = (value) => {\n for (const [token, max] of safeRegexReplacements) {\n value = value\n .split(`${token}*`).join(`${token}{0,${max}}`)\n .split(`${token}+`).join(`${token}{1,${max}}`)\n }\n return value\n}\n\nconst createToken = (name, value, isGlobal) => {\n const safe = makeSafeRegex(value)\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 safeRe[index] = new RegExp(safe, 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', '\\\\d+')\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-]${LETTERDASHNUMBER}*`)\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', `${LETTERDASHNUMBER}+`)\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\n// Max safe length for a build identifier. The max length minus 6 characters for\n// the shortest version with a build 0.0.0+BUILD.\nconst MAX_SAFE_BUILD_LENGTH = MAX_LENGTH - 6\n\nconst RELEASE_TYPES = [\n 'major',\n 'premajor',\n 'minor',\n 'preminor',\n 'patch',\n 'prepatch',\n 'prerelease',\n]\n\nmodule.exports = {\n MAX_LENGTH,\n MAX_SAFE_COMPONENT_LENGTH,\n MAX_SAFE_BUILD_LENGTH,\n MAX_SAFE_INTEGER,\n RELEASE_TYPES,\n SEMVER_SPEC_VERSION,\n FLAG_INCLUDE_PRERELEASE: 0b001,\n FLAG_LOOSE: 0b010,\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 { safeRe: 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. Must be a string. Got type \"${typeof 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, identifierBase) {\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, identifierBase)\n break\n case 'preminor':\n this.prerelease.length = 0\n this.patch = 0\n this.minor++\n this.inc('pre', identifier, identifierBase)\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, identifierBase)\n this.inc('pre', identifier, identifierBase)\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, identifierBase)\n }\n this.inc('pre', identifier, identifierBase)\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 const base = Number(identifierBase) ? 1 : 0\n\n if (!identifier && identifierBase === false) {\n throw new Error('invalid increment argument: identifier is empty')\n }\n\n if (this.prerelease.length === 0) {\n this.prerelease = [base]\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 if (identifier === this.prerelease.join('.') && identifierBase === false) {\n throw new Error('invalid increment argument: identifier already exists')\n }\n this.prerelease.push(base)\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 let prerelease = [identifier, base]\n if (identifierBase === false) {\n prerelease = [identifier]\n }\n if (compareIdentifiers(this.prerelease[0], identifier) === 0) {\n if (isNaN(this.prerelease[1])) {\n this.prerelease = prerelease\n }\n } else {\n this.prerelease = prerelease\n }\n }\n break\n }\n default:\n throw new Error(`invalid increment argument: ${release}`)\n }\n this.raw = this.format()\n if (this.build.length) {\n this.raw += `+${this.build.join('.')}`\n }\n return this\n }\n}\n\nmodule.exports = SemVer\n","// parse out just the options we care about\nconst looseOption = Object.freeze({ loose: true })\nconst emptyOpts = Object.freeze({ })\nconst parseOptions = options => {\n if (!options) {\n return emptyOpts\n }\n\n if (typeof options !== 'object') {\n return looseOption\n }\n\n return options\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 SemVer = require('../classes/semver')\nconst parse = (version, options, throwErrors = false) => {\n if (version instanceof SemVer) {\n return version\n }\n try {\n return new SemVer(version, options)\n } catch (er) {\n if (!throwErrors) {\n return null\n }\n throw er\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, identifierBase) => {\n if (typeof (options) === 'string') {\n identifierBase = identifier\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, identifierBase).version\n } catch (er) {\n return null\n }\n}\nmodule.exports = inc\n","const parse = require('./parse.js')\n\nconst diff = (version1, version2) => {\n const v1 = parse(version1, null, true)\n const v2 = parse(version2, null, true)\n const comparison = v1.compare(v2)\n\n if (comparison === 0) {\n return null\n }\n\n const v1Higher = comparison > 0\n const highVersion = v1Higher ? v1 : v2\n const lowVersion = v1Higher ? v2 : v1\n const highHasPre = !!highVersion.prerelease.length\n const lowHasPre = !!lowVersion.prerelease.length\n\n if (lowHasPre && !highHasPre) {\n // Going from prerelease -> no prerelease requires some special casing\n\n // If the low version has only a major, then it will always be a major\n // Some examples:\n // 1.0.0-1 -> 1.0.0\n // 1.0.0-1 -> 1.1.1\n // 1.0.0-1 -> 2.0.0\n if (!lowVersion.patch && !lowVersion.minor) {\n return 'major'\n }\n\n // Otherwise it can be determined by checking the high version\n\n if (highVersion.patch) {\n // anything higher than a patch bump would result in the wrong version\n return 'patch'\n }\n\n if (highVersion.minor) {\n // anything higher than a minor bump would result in the wrong version\n return 'minor'\n }\n\n // bumping major/minor/patch all have same result\n return 'major'\n }\n\n // add the `pre` prefix if we are going to a prerelease version\n const prefix = highHasPre ? 'pre' : ''\n\n if (v1.major !== v2.major) {\n return prefix + 'major'\n }\n\n if (v1.minor !== v2.minor) {\n return prefix + 'minor'\n }\n\n if (v1.patch !== v2.patch) {\n return prefix + 'patch'\n }\n\n // high and low are preleases\n return 'prerelease'\n}\n\nmodule.exports = diff\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 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 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 eq = (a, b, loose) => compare(a, b, loose) === 0\nmodule.exports = eq\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 { safeRe: 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 comp = comp.trim().split(/\\s+/).join(' ')\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 (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 options = parseOptions(options)\n\n // Special cases where nothing can possibly be lower\n if (options.includePrerelease &&\n (this.value === '<0.0.0-0' || comp.value === '<0.0.0-0')) {\n return false\n }\n if (!options.includePrerelease &&\n (this.value.startsWith('<0.0.0') || comp.value.startsWith('<0.0.0'))) {\n return false\n }\n\n // Same direction increasing (> or >=)\n if (this.operator.startsWith('>') && comp.operator.startsWith('>')) {\n return true\n }\n // Same direction decreasing (< or <=)\n if (this.operator.startsWith('<') && comp.operator.startsWith('<')) {\n return true\n }\n // same SemVer and both sides are inclusive (<= or >=)\n if (\n (this.semver.version === comp.semver.version) &&\n this.operator.includes('=') && comp.operator.includes('=')) {\n return true\n }\n // opposite directions less than\n if (cmp(this.semver, '<', comp.semver, options) &&\n this.operator.startsWith('>') && comp.operator.startsWith('<')) {\n return true\n }\n // opposite directions greater than\n if (cmp(this.semver, '>', comp.semver, options) &&\n this.operator.startsWith('<') && comp.operator.startsWith('>')) {\n return true\n }\n return false\n }\n}\n\nmodule.exports = Comparator\n\nconst parseOptions = require('../internal/parse-options')\nconst { safeRe: 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 reduce all whitespace as much as possible so we do not have to rely\n // on potentially slow regexes like \\s*. This is then stored and used for\n // future error messages as well.\n this.raw = range\n .trim()\n .split(/\\s+/)\n .join(' ')\n\n // First, split on ||\n this.set = this.raw\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: ${this.raw}`)\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) => comps.join(' ').trim())\n .join('||')\n .trim()\n return this.range\n }\n\n toString () {\n return this.range\n }\n\n parseRange (range) {\n // memoize range parsing for performance.\n // this is a very hot path, and fully deterministic.\n const memoOpts =\n (this.options.includePrerelease && FLAG_INCLUDE_PRERELEASE) |\n (this.options.loose && FLAG_LOOSE)\n const memoKey = 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\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 debug('tilde trim', range)\n\n // `^ 1.2.3` => `^1.2.3`\n range = range.replace(re[t.CARETTRIM], caretTrimReplace)\n debug('caret trim', range)\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}\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 safeRe: re,\n t,\n comparatorTrimReplace,\n tildeTrimReplace,\n caretTrimReplace,\n} = require('../internal/re')\nconst { FLAG_INCLUDE_PRERELEASE, FLAG_LOOSE } = require('../internal/constants')\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\n// ~0.0.1 --> >=0.0.1 <0.1.0-0\nconst replaceTildes = (comp, options) => {\n return comp\n .trim()\n .split(/\\s+/)\n .map((c) => replaceTilde(c, options))\n .join(' ')\n}\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\n// ^0.0.1 --> >=0.0.1 <0.0.2-0\n// ^0.1.0 --> >=0.1.0 <0.2.0-0\nconst replaceCarets = (comp, options) => {\n return comp\n .trim()\n .split(/\\s+/)\n .map((c) => replaceCaret(c, options))\n .join(' ')\n}\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\n .split(/\\s+/)\n .map((c) => 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\n .trim()\n .replace(re[t.STAR], '')\n}\n\nconst replaceGTE0 = (comp, options) => {\n debug('replaceGTE0', comp, options)\n return comp\n .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","'use strict'\n\n// A linked list to keep track of recently-used-ness\nconst Yallist = require('yallist')\n\nconst MAX = Symbol('max')\nconst LENGTH = Symbol('length')\nconst LENGTH_CALCULATOR = Symbol('lengthCalculator')\nconst ALLOW_STALE = Symbol('allowStale')\nconst MAX_AGE = Symbol('maxAge')\nconst DISPOSE = Symbol('dispose')\nconst NO_DISPOSE_ON_SET = Symbol('noDisposeOnSet')\nconst LRU_LIST = Symbol('lruList')\nconst CACHE = Symbol('cache')\nconst UPDATE_AGE_ON_GET = Symbol('updateAgeOnGet')\n\nconst naiveLength = () => 1\n\n// lruList is a yallist where the head is the youngest\n// item, and the tail is the oldest. the list contains the Hit\n// objects as the entries.\n// Each Hit object has a reference to its Yallist.Node. This\n// never changes.\n//\n// cache is a Map (or PseudoMap) that matches the keys to\n// the Yallist.Node object.\nclass LRUCache {\n constructor (options) {\n if (typeof options === 'number')\n options = { max: options }\n\n if (!options)\n options = {}\n\n if (options.max && (typeof options.max !== 'number' || options.max < 0))\n throw new TypeError('max must be a non-negative number')\n // Kind of weird to have a default max of Infinity, but oh well.\n const max = this[MAX] = options.max || Infinity\n\n const lc = options.length || naiveLength\n this[LENGTH_CALCULATOR] = (typeof lc !== 'function') ? naiveLength : lc\n this[ALLOW_STALE] = options.stale || false\n if (options.maxAge && typeof options.maxAge !== 'number')\n throw new TypeError('maxAge must be a number')\n this[MAX_AGE] = options.maxAge || 0\n this[DISPOSE] = options.dispose\n this[NO_DISPOSE_ON_SET] = options.noDisposeOnSet || false\n this[UPDATE_AGE_ON_GET] = options.updateAgeOnGet || false\n this.reset()\n }\n\n // resize the cache when the max changes.\n set max (mL) {\n if (typeof mL !== 'number' || mL < 0)\n throw new TypeError('max must be a non-negative number')\n\n this[MAX] = mL || Infinity\n trim(this)\n }\n get max () {\n return this[MAX]\n }\n\n set allowStale (allowStale) {\n this[ALLOW_STALE] = !!allowStale\n }\n get allowStale () {\n return this[ALLOW_STALE]\n }\n\n set maxAge (mA) {\n if (typeof mA !== 'number')\n throw new TypeError('maxAge must be a non-negative number')\n\n this[MAX_AGE] = mA\n trim(this)\n }\n get maxAge () {\n return this[MAX_AGE]\n }\n\n // resize the cache when the lengthCalculator changes.\n set lengthCalculator (lC) {\n if (typeof lC !== 'function')\n lC = naiveLength\n\n if (lC !== this[LENGTH_CALCULATOR]) {\n this[LENGTH_CALCULATOR] = lC\n this[LENGTH] = 0\n this[LRU_LIST].forEach(hit => {\n hit.length = this[LENGTH_CALCULATOR](hit.value, hit.key)\n this[LENGTH] += hit.length\n })\n }\n trim(this)\n }\n get lengthCalculator () { return this[LENGTH_CALCULATOR] }\n\n get length () { return this[LENGTH] }\n get itemCount () { return this[LRU_LIST].length }\n\n rforEach (fn, thisp) {\n thisp = thisp || this\n for (let walker = this[LRU_LIST].tail; walker !== null;) {\n const prev = walker.prev\n forEachStep(this, fn, walker, thisp)\n walker = prev\n }\n }\n\n forEach (fn, thisp) {\n thisp = thisp || this\n for (let walker = this[LRU_LIST].head; walker !== null;) {\n const next = walker.next\n forEachStep(this, fn, walker, thisp)\n walker = next\n }\n }\n\n keys () {\n return this[LRU_LIST].toArray().map(k => k.key)\n }\n\n values () {\n return this[LRU_LIST].toArray().map(k => k.value)\n }\n\n reset () {\n if (this[DISPOSE] &&\n this[LRU_LIST] &&\n this[LRU_LIST].length) {\n this[LRU_LIST].forEach(hit => this[DISPOSE](hit.key, hit.value))\n }\n\n this[CACHE] = new Map() // hash of items by key\n this[LRU_LIST] = new Yallist() // list of items in order of use recency\n this[LENGTH] = 0 // length of items in the list\n }\n\n dump () {\n return this[LRU_LIST].map(hit =>\n isStale(this, hit) ? false : {\n k: hit.key,\n v: hit.value,\n e: hit.now + (hit.maxAge || 0)\n }).toArray().filter(h => h)\n }\n\n dumpLru () {\n return this[LRU_LIST]\n }\n\n set (key, value, maxAge) {\n maxAge = maxAge || this[MAX_AGE]\n\n if (maxAge && typeof maxAge !== 'number')\n throw new TypeError('maxAge must be a number')\n\n const now = maxAge ? Date.now() : 0\n const len = this[LENGTH_CALCULATOR](value, key)\n\n if (this[CACHE].has(key)) {\n if (len > this[MAX]) {\n del(this, this[CACHE].get(key))\n return false\n }\n\n const node = this[CACHE].get(key)\n const item = node.value\n\n // dispose of the old one before overwriting\n // split out into 2 ifs for better coverage tracking\n if (this[DISPOSE]) {\n if (!this[NO_DISPOSE_ON_SET])\n this[DISPOSE](key, item.value)\n }\n\n item.now = now\n item.maxAge = maxAge\n item.value = value\n this[LENGTH] += len - item.length\n item.length = len\n this.get(key)\n trim(this)\n return true\n }\n\n const hit = new Entry(key, value, len, now, maxAge)\n\n // oversized objects fall out of cache automatically.\n if (hit.length > this[MAX]) {\n if (this[DISPOSE])\n this[DISPOSE](key, value)\n\n return false\n }\n\n this[LENGTH] += hit.length\n this[LRU_LIST].unshift(hit)\n this[CACHE].set(key, this[LRU_LIST].head)\n trim(this)\n return true\n }\n\n has (key) {\n if (!this[CACHE].has(key)) return false\n const hit = this[CACHE].get(key).value\n return !isStale(this, hit)\n }\n\n get (key) {\n return get(this, key, true)\n }\n\n peek (key) {\n return get(this, key, false)\n }\n\n pop () {\n const node = this[LRU_LIST].tail\n if (!node)\n return null\n\n del(this, node)\n return node.value\n }\n\n del (key) {\n del(this, this[CACHE].get(key))\n }\n\n load (arr) {\n // reset the cache\n this.reset()\n\n const now = Date.now()\n // A previous serialized cache has the most recent items first\n for (let l = arr.length - 1; l >= 0; l--) {\n const hit = arr[l]\n const expiresAt = hit.e || 0\n if (expiresAt === 0)\n // the item was created without expiration in a non aged cache\n this.set(hit.k, hit.v)\n else {\n const maxAge = expiresAt - now\n // dont add already expired items\n if (maxAge > 0) {\n this.set(hit.k, hit.v, maxAge)\n }\n }\n }\n }\n\n prune () {\n this[CACHE].forEach((value, key) => get(this, key, false))\n }\n}\n\nconst get = (self, key, doUse) => {\n const node = self[CACHE].get(key)\n if (node) {\n const hit = node.value\n if (isStale(self, hit)) {\n del(self, node)\n if (!self[ALLOW_STALE])\n return undefined\n } else {\n if (doUse) {\n if (self[UPDATE_AGE_ON_GET])\n node.value.now = Date.now()\n self[LRU_LIST].unshiftNode(node)\n }\n }\n return hit.value\n }\n}\n\nconst isStale = (self, hit) => {\n if (!hit || (!hit.maxAge && !self[MAX_AGE]))\n return false\n\n const diff = Date.now() - hit.now\n return hit.maxAge ? diff > hit.maxAge\n : self[MAX_AGE] && (diff > self[MAX_AGE])\n}\n\nconst trim = self => {\n if (self[LENGTH] > self[MAX]) {\n for (let walker = self[LRU_LIST].tail;\n self[LENGTH] > self[MAX] && walker !== null;) {\n // We know that we're about to delete this one, and also\n // what the next least recently used key will be, so just\n // go ahead and set it now.\n const prev = walker.prev\n del(self, walker)\n walker = prev\n }\n }\n}\n\nconst del = (self, node) => {\n if (node) {\n const hit = node.value\n if (self[DISPOSE])\n self[DISPOSE](hit.key, hit.value)\n\n self[LENGTH] -= hit.length\n self[CACHE].delete(hit.key)\n self[LRU_LIST].removeNode(node)\n }\n}\n\nclass Entry {\n constructor (key, value, length, now, maxAge) {\n this.key = key\n this.value = value\n this.length = length\n this.now = now\n this.maxAge = maxAge || 0\n }\n}\n\nconst forEachStep = (self, fn, node, thisp) => {\n let hit = node.value\n if (isStale(self, hit)) {\n del(self, node)\n if (!self[ALLOW_STALE])\n hit = undefined\n }\n if (hit)\n fn.call(thisp, hit.value, hit.key, self)\n}\n\nmodule.exports = LRUCache\n","'use strict'\nmodule.exports = Yallist\n\nYallist.Node = Node\nYallist.create = Yallist\n\nfunction Yallist (list) {\n var self = this\n if (!(self instanceof Yallist)) {\n self = new Yallist()\n }\n\n self.tail = null\n self.head = null\n self.length = 0\n\n if (list && typeof list.forEach === 'function') {\n list.forEach(function (item) {\n self.push(item)\n })\n } else if (arguments.length > 0) {\n for (var i = 0, l = arguments.length; i < l; i++) {\n self.push(arguments[i])\n }\n }\n\n return self\n}\n\nYallist.prototype.removeNode = function (node) {\n if (node.list !== this) {\n throw new Error('removing node which does not belong to this list')\n }\n\n var next = node.next\n var prev = node.prev\n\n if (next) {\n next.prev = prev\n }\n\n if (prev) {\n prev.next = next\n }\n\n if (node === this.head) {\n this.head = next\n }\n if (node === this.tail) {\n this.tail = prev\n }\n\n node.list.length--\n node.next = null\n node.prev = null\n node.list = null\n\n return next\n}\n\nYallist.prototype.unshiftNode = function (node) {\n if (node === this.head) {\n return\n }\n\n if (node.list) {\n node.list.removeNode(node)\n }\n\n var head = this.head\n node.list = this\n node.next = head\n if (head) {\n head.prev = node\n }\n\n this.head = node\n if (!this.tail) {\n this.tail = node\n }\n this.length++\n}\n\nYallist.prototype.pushNode = function (node) {\n if (node === this.tail) {\n return\n }\n\n if (node.list) {\n node.list.removeNode(node)\n }\n\n var tail = this.tail\n node.list = this\n node.prev = tail\n if (tail) {\n tail.next = node\n }\n\n this.tail = node\n if (!this.head) {\n this.head = node\n }\n this.length++\n}\n\nYallist.prototype.push = function () {\n for (var i = 0, l = arguments.length; i < l; i++) {\n push(this, arguments[i])\n }\n return this.length\n}\n\nYallist.prototype.unshift = function () {\n for (var i = 0, l = arguments.length; i < l; i++) {\n unshift(this, arguments[i])\n }\n return this.length\n}\n\nYallist.prototype.pop = function () {\n if (!this.tail) {\n return undefined\n }\n\n var res = this.tail.value\n this.tail = this.tail.prev\n if (this.tail) {\n this.tail.next = null\n } else {\n this.head = null\n }\n this.length--\n return res\n}\n\nYallist.prototype.shift = function () {\n if (!this.head) {\n return undefined\n }\n\n var res = this.head.value\n this.head = this.head.next\n if (this.head) {\n this.head.prev = null\n } else {\n this.tail = null\n }\n this.length--\n return res\n}\n\nYallist.prototype.forEach = function (fn, thisp) {\n thisp = thisp || this\n for (var walker = this.head, i = 0; walker !== null; i++) {\n fn.call(thisp, walker.value, i, this)\n walker = walker.next\n }\n}\n\nYallist.prototype.forEachReverse = function (fn, thisp) {\n thisp = thisp || this\n for (var walker = this.tail, i = this.length - 1; walker !== null; i--) {\n fn.call(thisp, walker.value, i, this)\n walker = walker.prev\n }\n}\n\nYallist.prototype.get = function (n) {\n for (var i = 0, walker = this.head; walker !== null && i < n; i++) {\n // abort out of the list early if we hit a cycle\n walker = walker.next\n }\n if (i === n && walker !== null) {\n return walker.value\n }\n}\n\nYallist.prototype.getReverse = function (n) {\n for (var i = 0, walker = this.tail; walker !== null && i < n; i++) {\n // abort out of the list early if we hit a cycle\n walker = walker.prev\n }\n if (i === n && walker !== null) {\n return walker.value\n }\n}\n\nYallist.prototype.map = function (fn, thisp) {\n thisp = thisp || this\n var res = new Yallist()\n for (var walker = this.head; walker !== null;) {\n res.push(fn.call(thisp, walker.value, this))\n walker = walker.next\n }\n return res\n}\n\nYallist.prototype.mapReverse = function (fn, thisp) {\n thisp = thisp || this\n var res = new Yallist()\n for (var walker = this.tail; walker !== null;) {\n res.push(fn.call(thisp, walker.value, this))\n walker = walker.prev\n }\n return res\n}\n\nYallist.prototype.reduce = function (fn, initial) {\n var acc\n var walker = this.head\n if (arguments.length > 1) {\n acc = initial\n } else if (this.head) {\n walker = this.head.next\n acc = this.head.value\n } else {\n throw new TypeError('Reduce of empty list with no initial value')\n }\n\n for (var i = 0; walker !== null; i++) {\n acc = fn(acc, walker.value, i)\n walker = walker.next\n }\n\n return acc\n}\n\nYallist.prototype.reduceReverse = function (fn, initial) {\n var acc\n var walker = this.tail\n if (arguments.length > 1) {\n acc = initial\n } else if (this.tail) {\n walker = this.tail.prev\n acc = this.tail.value\n } else {\n throw new TypeError('Reduce of empty list with no initial value')\n }\n\n for (var i = this.length - 1; walker !== null; i--) {\n acc = fn(acc, walker.value, i)\n walker = walker.prev\n }\n\n return acc\n}\n\nYallist.prototype.toArray = function () {\n var arr = new Array(this.length)\n for (var i = 0, walker = this.head; walker !== null; i++) {\n arr[i] = walker.value\n walker = walker.next\n }\n return arr\n}\n\nYallist.prototype.toArrayReverse = function () {\n var arr = new Array(this.length)\n for (var i = 0, walker = this.tail; walker !== null; i++) {\n arr[i] = walker.value\n walker = walker.prev\n }\n return arr\n}\n\nYallist.prototype.slice = function (from, to) {\n to = to || this.length\n if (to < 0) {\n to += this.length\n }\n from = from || 0\n if (from < 0) {\n from += this.length\n }\n var ret = new Yallist()\n if (to < from || to < 0) {\n return ret\n }\n if (from < 0) {\n from = 0\n }\n if (to > this.length) {\n to = this.length\n }\n for (var i = 0, walker = this.head; walker !== null && i < from; i++) {\n walker = walker.next\n }\n for (; walker !== null && i < to; i++, walker = walker.next) {\n ret.push(walker.value)\n }\n return ret\n}\n\nYallist.prototype.sliceReverse = function (from, to) {\n to = to || this.length\n if (to < 0) {\n to += this.length\n }\n from = from || 0\n if (from < 0) {\n from += this.length\n }\n var ret = new Yallist()\n if (to < from || to < 0) {\n return ret\n }\n if (from < 0) {\n from = 0\n }\n if (to > this.length) {\n to = this.length\n }\n for (var i = this.length, walker = this.tail; walker !== null && i > to; i--) {\n walker = walker.prev\n }\n for (; walker !== null && i > from; i--, walker = walker.prev) {\n ret.push(walker.value)\n }\n return ret\n}\n\nYallist.prototype.splice = function (start, deleteCount, ...nodes) {\n if (start > this.length) {\n start = this.length - 1\n }\n if (start < 0) {\n start = this.length + start;\n }\n\n for (var i = 0, walker = this.head; walker !== null && i < start; i++) {\n walker = walker.next\n }\n\n var ret = []\n for (var i = 0; walker && i < deleteCount; i++) {\n ret.push(walker.value)\n walker = this.removeNode(walker)\n }\n if (walker === null) {\n walker = this.tail\n }\n\n if (walker !== this.head && walker !== this.tail) {\n walker = walker.prev\n }\n\n for (var i = 0; i < nodes.length; i++) {\n walker = insert(this, walker, nodes[i])\n }\n return ret;\n}\n\nYallist.prototype.reverse = function () {\n var head = this.head\n var tail = this.tail\n for (var walker = head; walker !== null; walker = walker.prev) {\n var p = walker.prev\n walker.prev = walker.next\n walker.next = p\n }\n this.head = tail\n this.tail = head\n return this\n}\n\nfunction insert (self, node, value) {\n var inserted = node === self.head ?\n new Node(value, null, node, self) :\n new Node(value, node, node.next, self)\n\n if (inserted.next === null) {\n self.tail = inserted\n }\n if (inserted.prev === null) {\n self.head = inserted\n }\n\n self.length++\n\n return inserted\n}\n\nfunction push (self, item) {\n self.tail = new Node(item, self.tail, null, self)\n if (!self.head) {\n self.head = self.tail\n }\n self.length++\n}\n\nfunction unshift (self, item) {\n self.head = new Node(item, null, self.head, self)\n if (!self.tail) {\n self.tail = self.head\n }\n self.length++\n}\n\nfunction Node (value, prev, next, list) {\n if (!(this instanceof Node)) {\n return new Node(value, prev, next, list)\n }\n\n this.list = list\n this.value = value\n\n if (prev) {\n prev.next = this\n this.prev = prev\n } else {\n this.prev = null\n }\n\n if (next) {\n next.prev = this\n this.next = next\n } else {\n this.next = null\n }\n}\n\ntry {\n // add if support for Symbol.iterator is present\n require('./iterator.js')(Yallist)\n} catch (er) {}\n","'use strict'\nmodule.exports = function (Yallist) {\n Yallist.prototype[Symbol.iterator] = function* () {\n for (let walker = this.head; walker; walker = walker.next) {\n yield walker.value\n }\n }\n}\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, options)\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 minimumVersionWithPreRelease = [new Comparator('>=0.0.0-0')]\nconst minimumVersion = [new Comparator('>=0.0.0')]\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 = minimumVersionWithPreRelease\n } else {\n sub = minimumVersion\n }\n }\n\n if (dom.length === 1 && dom[0].semver === ANY) {\n if (options.includePrerelease) {\n return true\n } else {\n dom = minimumVersion\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","'use strict';\n\nvar matchOperatorsRe = /[|\\\\{}()[\\]^$+*?.]/g;\n\nmodule.exports = function (str) {\n\tif (typeof str !== 'string') {\n\t\tthrow new TypeError('Expected a string');\n\t}\n\n\treturn str.replace(matchOperatorsRe, '\\\\$&');\n};\n","import fs, {promises as fsPromises} from 'node:fs';\n\nexport async function pathExists(path) {\n\ttry {\n\t\tawait fsPromises.access(path);\n\t\treturn true;\n\t} catch {\n\t\treturn false;\n\t}\n}\n\nexport function pathExistsSync(path) {\n\ttry {\n\t\tfs.accessSync(path);\n\t\treturn true;\n\t} catch {\n\t\treturn false;\n\t}\n}\n",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","/**\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","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","'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",null,null,null,null,null,null,"exports = module.exports = SemVer\n\nvar debug\n/* istanbul ignore next */\nif (typeof process === 'object' &&\n process.env &&\n process.env.NODE_DEBUG &&\n /\\bsemver\\b/i.test(process.env.NODE_DEBUG)) {\n debug = function () {\n var args = Array.prototype.slice.call(arguments, 0)\n args.unshift('SEMVER')\n console.log.apply(console, args)\n }\n} else {\n debug = function () {}\n}\n\n// Note: this is the semver.org version of the spec that it implements\n// Not necessarily the package version of this code.\nexports.SEMVER_SPEC_VERSION = '2.0.0'\n\nvar MAX_LENGTH = 256\nvar MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER ||\n /* istanbul ignore next */ 9007199254740991\n\n// Max safe segment length for coercion.\nvar MAX_SAFE_COMPONENT_LENGTH = 16\n\nvar MAX_SAFE_BUILD_LENGTH = MAX_LENGTH - 6\n\n// The actual regexps go on exports.re\nvar re = exports.re = []\nvar safeRe = exports.safeRe = []\nvar src = exports.src = []\nvar t = exports.tokens = {}\nvar R = 0\n\nfunction tok (n) {\n t[n] = R++\n}\n\nvar LETTERDASHNUMBER = '[a-zA-Z0-9-]'\n\n// Replace some greedy regex tokens to prevent regex dos issues. These regex are\n// used internally via the safeRe object since all inputs in this library get\n// normalized first to trim and collapse all extra whitespace. The original\n// regexes are exported for userland consumption and lower level usage. A\n// future breaking change could export the safer regex only with a note that\n// all input should have extra whitespace removed.\nvar safeRegexReplacements = [\n ['\\\\s', 1],\n ['\\\\d', MAX_LENGTH],\n [LETTERDASHNUMBER, MAX_SAFE_BUILD_LENGTH],\n]\n\nfunction makeSafeRe (value) {\n for (var i = 0; i < safeRegexReplacements.length; i++) {\n var token = safeRegexReplacements[i][0]\n var max = safeRegexReplacements[i][1]\n value = value\n .split(token + '*').join(token + '{0,' + max + '}')\n .split(token + '+').join(token + '{1,' + max + '}')\n }\n return value\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\ntok('NUMERICIDENTIFIER')\nsrc[t.NUMERICIDENTIFIER] = '0|[1-9]\\\\d*'\ntok('NUMERICIDENTIFIERLOOSE')\nsrc[t.NUMERICIDENTIFIERLOOSE] = '\\\\d+'\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\ntok('NONNUMERICIDENTIFIER')\nsrc[t.NONNUMERICIDENTIFIER] = '\\\\d*[a-zA-Z-]' + LETTERDASHNUMBER + '*'\n\n// ## Main Version\n// Three dot-separated numeric identifiers.\n\ntok('MAINVERSION')\nsrc[t.MAINVERSION] = '(' + src[t.NUMERICIDENTIFIER] + ')\\\\.' +\n '(' + src[t.NUMERICIDENTIFIER] + ')\\\\.' +\n '(' + src[t.NUMERICIDENTIFIER] + ')'\n\ntok('MAINVERSIONLOOSE')\nsrc[t.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\ntok('PRERELEASEIDENTIFIER')\nsrc[t.PRERELEASEIDENTIFIER] = '(?:' + src[t.NUMERICIDENTIFIER] +\n '|' + src[t.NONNUMERICIDENTIFIER] + ')'\n\ntok('PRERELEASEIDENTIFIERLOOSE')\nsrc[t.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\ntok('PRERELEASE')\nsrc[t.PRERELEASE] = '(?:-(' + src[t.PRERELEASEIDENTIFIER] +\n '(?:\\\\.' + src[t.PRERELEASEIDENTIFIER] + ')*))'\n\ntok('PRERELEASELOOSE')\nsrc[t.PRERELEASELOOSE] = '(?:-?(' + src[t.PRERELEASEIDENTIFIERLOOSE] +\n '(?:\\\\.' + src[t.PRERELEASEIDENTIFIERLOOSE] + ')*))'\n\n// ## Build Metadata Identifier\n// Any combination of digits, letters, or hyphens.\n\ntok('BUILDIDENTIFIER')\nsrc[t.BUILDIDENTIFIER] = LETTERDASHNUMBER + '+'\n\n// ## Build Metadata\n// Plus sign, followed by one or more period-separated build metadata\n// identifiers.\n\ntok('BUILD')\nsrc[t.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\ntok('FULL')\ntok('FULLPLAIN')\nsrc[t.FULLPLAIN] = 'v?' + src[t.MAINVERSION] +\n src[t.PRERELEASE] + '?' +\n src[t.BUILD] + '?'\n\nsrc[t.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.\ntok('LOOSEPLAIN')\nsrc[t.LOOSEPLAIN] = '[v=\\\\s]*' + src[t.MAINVERSIONLOOSE] +\n src[t.PRERELEASELOOSE] + '?' +\n src[t.BUILD] + '?'\n\ntok('LOOSE')\nsrc[t.LOOSE] = '^' + src[t.LOOSEPLAIN] + '$'\n\ntok('GTLT')\nsrc[t.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.\ntok('XRANGEIDENTIFIERLOOSE')\nsrc[t.XRANGEIDENTIFIERLOOSE] = src[t.NUMERICIDENTIFIERLOOSE] + '|x|X|\\\\*'\ntok('XRANGEIDENTIFIER')\nsrc[t.XRANGEIDENTIFIER] = src[t.NUMERICIDENTIFIER] + '|x|X|\\\\*'\n\ntok('XRANGEPLAIN')\nsrc[t.XRANGEPLAIN] = '[v=\\\\s]*(' + src[t.XRANGEIDENTIFIER] + ')' +\n '(?:\\\\.(' + src[t.XRANGEIDENTIFIER] + ')' +\n '(?:\\\\.(' + src[t.XRANGEIDENTIFIER] + ')' +\n '(?:' + src[t.PRERELEASE] + ')?' +\n src[t.BUILD] + '?' +\n ')?)?'\n\ntok('XRANGEPLAINLOOSE')\nsrc[t.XRANGEPLAINLOOSE] = '[v=\\\\s]*(' + src[t.XRANGEIDENTIFIERLOOSE] + ')' +\n '(?:\\\\.(' + src[t.XRANGEIDENTIFIERLOOSE] + ')' +\n '(?:\\\\.(' + src[t.XRANGEIDENTIFIERLOOSE] + ')' +\n '(?:' + src[t.PRERELEASELOOSE] + ')?' +\n src[t.BUILD] + '?' +\n ')?)?'\n\ntok('XRANGE')\nsrc[t.XRANGE] = '^' + src[t.GTLT] + '\\\\s*' + src[t.XRANGEPLAIN] + '$'\ntok('XRANGELOOSE')\nsrc[t.XRANGELOOSE] = '^' + src[t.GTLT] + '\\\\s*' + src[t.XRANGEPLAINLOOSE] + '$'\n\n// Coercion.\n// Extract anything that could conceivably be a part of a valid semver\ntok('COERCE')\nsrc[t.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])'\ntok('COERCERTL')\nre[t.COERCERTL] = new RegExp(src[t.COERCE], 'g')\nsafeRe[t.COERCERTL] = new RegExp(makeSafeRe(src[t.COERCE]), 'g')\n\n// Tilde ranges.\n// Meaning is \"reasonably at or greater than\"\ntok('LONETILDE')\nsrc[t.LONETILDE] = '(?:~>?)'\n\ntok('TILDETRIM')\nsrc[t.TILDETRIM] = '(\\\\s*)' + src[t.LONETILDE] + '\\\\s+'\nre[t.TILDETRIM] = new RegExp(src[t.TILDETRIM], 'g')\nsafeRe[t.TILDETRIM] = new RegExp(makeSafeRe(src[t.TILDETRIM]), 'g')\nvar tildeTrimReplace = '$1~'\n\ntok('TILDE')\nsrc[t.TILDE] = '^' + src[t.LONETILDE] + src[t.XRANGEPLAIN] + '$'\ntok('TILDELOOSE')\nsrc[t.TILDELOOSE] = '^' + src[t.LONETILDE] + src[t.XRANGEPLAINLOOSE] + '$'\n\n// Caret ranges.\n// Meaning is \"at least and backwards compatible with\"\ntok('LONECARET')\nsrc[t.LONECARET] = '(?:\\\\^)'\n\ntok('CARETTRIM')\nsrc[t.CARETTRIM] = '(\\\\s*)' + src[t.LONECARET] + '\\\\s+'\nre[t.CARETTRIM] = new RegExp(src[t.CARETTRIM], 'g')\nsafeRe[t.CARETTRIM] = new RegExp(makeSafeRe(src[t.CARETTRIM]), 'g')\nvar caretTrimReplace = '$1^'\n\ntok('CARET')\nsrc[t.CARET] = '^' + src[t.LONECARET] + src[t.XRANGEPLAIN] + '$'\ntok('CARETLOOSE')\nsrc[t.CARETLOOSE] = '^' + src[t.LONECARET] + src[t.XRANGEPLAINLOOSE] + '$'\n\n// A simple gt/lt/eq thing, or just \"\" to indicate \"any version\"\ntok('COMPARATORLOOSE')\nsrc[t.COMPARATORLOOSE] = '^' + src[t.GTLT] + '\\\\s*(' + src[t.LOOSEPLAIN] + ')$|^$'\ntok('COMPARATOR')\nsrc[t.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`\ntok('COMPARATORTRIM')\nsrc[t.COMPARATORTRIM] = '(\\\\s*)' + src[t.GTLT] +\n '\\\\s*(' + src[t.LOOSEPLAIN] + '|' + src[t.XRANGEPLAIN] + ')'\n\n// this one has to use the /g flag\nre[t.COMPARATORTRIM] = new RegExp(src[t.COMPARATORTRIM], 'g')\nsafeRe[t.COMPARATORTRIM] = new RegExp(makeSafeRe(src[t.COMPARATORTRIM]), 'g')\nvar 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.\ntok('HYPHENRANGE')\nsrc[t.HYPHENRANGE] = '^\\\\s*(' + src[t.XRANGEPLAIN] + ')' +\n '\\\\s+-\\\\s+' +\n '(' + src[t.XRANGEPLAIN] + ')' +\n '\\\\s*$'\n\ntok('HYPHENRANGELOOSE')\nsrc[t.HYPHENRANGELOOSE] = '^\\\\s*(' + src[t.XRANGEPLAINLOOSE] + ')' +\n '\\\\s+-\\\\s+' +\n '(' + src[t.XRANGEPLAINLOOSE] + ')' +\n '\\\\s*$'\n\n// Star ranges basically just allow anything at all.\ntok('STAR')\nsrc[t.STAR] = '(<|>)?=?\\\\s*\\\\*'\n\n// Compile to actual regexp objects.\n// All are flag-free, unless they were created above with a flag.\nfor (var i = 0; i < R; i++) {\n debug(i, src[i])\n if (!re[i]) {\n re[i] = new RegExp(src[i])\n\n // Replace all greedy whitespace to prevent regex dos issues. These regex are\n // used internally via the safeRe object since all inputs in this library get\n // normalized first to trim and collapse all extra whitespace. The original\n // regexes are exported for userland consumption and lower level usage. A\n // future breaking change could export the safer regex only with a note that\n // all input should have extra whitespace removed.\n safeRe[i] = new RegExp(makeSafeRe(src[i]))\n }\n}\n\nexports.parse = parse\nfunction parse (version, options) {\n if (!options || typeof options !== 'object') {\n options = {\n loose: !!options,\n includePrerelease: false\n }\n }\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 var r = options.loose ? safeRe[t.LOOSE] : safeRe[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\nexports.valid = valid\nfunction valid (version, options) {\n var v = parse(version, options)\n return v ? v.version : null\n}\n\nexports.clean = clean\nfunction clean (version, options) {\n var s = parse(version.trim().replace(/^[=v]+/, ''), options)\n return s ? s.version : null\n}\n\nexports.SemVer = SemVer\n\nfunction SemVer (version, options) {\n if (!options || typeof options !== 'object') {\n options = {\n loose: !!options,\n includePrerelease: false\n }\n }\n if (version instanceof SemVer) {\n if (version.loose === options.loose) {\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('version is longer than ' + MAX_LENGTH + ' characters')\n }\n\n if (!(this instanceof SemVer)) {\n return new SemVer(version, options)\n }\n\n debug('SemVer', version, options)\n this.options = options\n this.loose = !!options.loose\n\n var m = version.trim().match(options.loose ? safeRe[t.LOOSE] : safeRe[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(function (id) {\n if (/^[0-9]+$/.test(id)) {\n var 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\nSemVer.prototype.format = function () {\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\nSemVer.prototype.toString = function () {\n return this.version\n}\n\nSemVer.prototype.compare = function (other) {\n debug('SemVer.compare', this.version, this.options, other)\n if (!(other instanceof SemVer)) {\n other = new SemVer(other, this.options)\n }\n\n return this.compareMain(other) || this.comparePre(other)\n}\n\nSemVer.prototype.compareMain = function (other) {\n if (!(other instanceof SemVer)) {\n other = new SemVer(other, this.options)\n }\n\n return compareIdentifiers(this.major, other.major) ||\n compareIdentifiers(this.minor, other.minor) ||\n compareIdentifiers(this.patch, other.patch)\n}\n\nSemVer.prototype.comparePre = function (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 var i = 0\n do {\n var a = this.prerelease[i]\n var 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\nSemVer.prototype.compareBuild = function (other) {\n if (!(other instanceof SemVer)) {\n other = new SemVer(other, this.options)\n }\n\n var i = 0\n do {\n var a = this.build[i]\n var 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.\nSemVer.prototype.inc = function (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 (this.minor !== 0 ||\n this.patch !== 0 ||\n this.prerelease.length === 0) {\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 var 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 (this.prerelease[0] === identifier) {\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\nexports.inc = inc\nfunction inc (version, release, loose, identifier) {\n if (typeof (loose) === 'string') {\n identifier = loose\n loose = undefined\n }\n\n try {\n return new SemVer(version, loose).inc(release, identifier).version\n } catch (er) {\n return null\n }\n}\n\nexports.diff = diff\nfunction diff (version1, version2) {\n if (eq(version1, version2)) {\n return null\n } else {\n var v1 = parse(version1)\n var v2 = parse(version2)\n var prefix = ''\n if (v1.prerelease.length || v2.prerelease.length) {\n prefix = 'pre'\n var defaultResult = 'prerelease'\n }\n for (var 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}\n\nexports.compareIdentifiers = compareIdentifiers\n\nvar numeric = /^[0-9]+$/\nfunction compareIdentifiers (a, b) {\n var anum = numeric.test(a)\n var 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\nexports.rcompareIdentifiers = rcompareIdentifiers\nfunction rcompareIdentifiers (a, b) {\n return compareIdentifiers(b, a)\n}\n\nexports.major = major\nfunction major (a, loose) {\n return new SemVer(a, loose).major\n}\n\nexports.minor = minor\nfunction minor (a, loose) {\n return new SemVer(a, loose).minor\n}\n\nexports.patch = patch\nfunction patch (a, loose) {\n return new SemVer(a, loose).patch\n}\n\nexports.compare = compare\nfunction compare (a, b, loose) {\n return new SemVer(a, loose).compare(new SemVer(b, loose))\n}\n\nexports.compareLoose = compareLoose\nfunction compareLoose (a, b) {\n return compare(a, b, true)\n}\n\nexports.compareBuild = compareBuild\nfunction compareBuild (a, b, loose) {\n var versionA = new SemVer(a, loose)\n var versionB = new SemVer(b, loose)\n return versionA.compare(versionB) || versionA.compareBuild(versionB)\n}\n\nexports.rcompare = rcompare\nfunction rcompare (a, b, loose) {\n return compare(b, a, loose)\n}\n\nexports.sort = sort\nfunction sort (list, loose) {\n return list.sort(function (a, b) {\n return exports.compareBuild(a, b, loose)\n })\n}\n\nexports.rsort = rsort\nfunction rsort (list, loose) {\n return list.sort(function (a, b) {\n return exports.compareBuild(b, a, loose)\n })\n}\n\nexports.gt = gt\nfunction gt (a, b, loose) {\n return compare(a, b, loose) > 0\n}\n\nexports.lt = lt\nfunction lt (a, b, loose) {\n return compare(a, b, loose) < 0\n}\n\nexports.eq = eq\nfunction eq (a, b, loose) {\n return compare(a, b, loose) === 0\n}\n\nexports.neq = neq\nfunction neq (a, b, loose) {\n return compare(a, b, loose) !== 0\n}\n\nexports.gte = gte\nfunction gte (a, b, loose) {\n return compare(a, b, loose) >= 0\n}\n\nexports.lte = lte\nfunction lte (a, b, loose) {\n return compare(a, b, loose) <= 0\n}\n\nexports.cmp = cmp\nfunction cmp (a, op, b, loose) {\n switch (op) {\n case '===':\n if (typeof a === 'object')\n a = a.version\n if (typeof b === 'object')\n b = b.version\n return a === b\n\n case '!==':\n if (typeof a === 'object')\n a = a.version\n if (typeof b === 'object')\n b = b.version\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}\n\nexports.Comparator = Comparator\nfunction Comparator (comp, options) {\n if (!options || typeof options !== 'object') {\n options = {\n loose: !!options,\n includePrerelease: false\n }\n }\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 if (!(this instanceof Comparator)) {\n return new Comparator(comp, options)\n }\n\n comp = comp.trim().split(/\\s+/).join(' ')\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\nvar ANY = {}\nComparator.prototype.parse = function (comp) {\n var r = this.options.loose ? safeRe[t.COMPARATORLOOSE] : safeRe[t.COMPARATOR]\n var 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\nComparator.prototype.toString = function () {\n return this.value\n}\n\nComparator.prototype.test = function (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\nComparator.prototype.intersects = function (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 var rangeTmp\n\n if (this.operator === '') {\n if (this.value === '') {\n return true\n }\n rangeTmp = new Range(comp.value, options)\n return satisfies(this.value, rangeTmp, options)\n } else if (comp.operator === '') {\n if (comp.value === '') {\n return true\n }\n rangeTmp = new Range(this.value, options)\n return satisfies(comp.semver, rangeTmp, options)\n }\n\n var sameDirectionIncreasing =\n (this.operator === '>=' || this.operator === '>') &&\n (comp.operator === '>=' || comp.operator === '>')\n var sameDirectionDecreasing =\n (this.operator === '<=' || this.operator === '<') &&\n (comp.operator === '<=' || comp.operator === '<')\n var sameSemVer = this.semver.version === comp.semver.version\n var differentDirectionsInclusive =\n (this.operator === '>=' || this.operator === '<=') &&\n (comp.operator === '>=' || comp.operator === '<=')\n var oppositeDirectionsLessThan =\n cmp(this.semver, '<', comp.semver, options) &&\n ((this.operator === '>=' || this.operator === '>') &&\n (comp.operator === '<=' || comp.operator === '<'))\n var oppositeDirectionsGreaterThan =\n cmp(this.semver, '>', comp.semver, options) &&\n ((this.operator === '<=' || this.operator === '<') &&\n (comp.operator === '>=' || comp.operator === '>'))\n\n return sameDirectionIncreasing || sameDirectionDecreasing ||\n (sameSemVer && differentDirectionsInclusive) ||\n oppositeDirectionsLessThan || oppositeDirectionsGreaterThan\n}\n\nexports.Range = Range\nfunction Range (range, options) {\n if (!options || typeof options !== 'object') {\n options = {\n loose: !!options,\n includePrerelease: false\n }\n }\n\n if (range instanceof Range) {\n if (range.loose === !!options.loose &&\n range.includePrerelease === !!options.includePrerelease) {\n return range\n } else {\n return new Range(range.raw, options)\n }\n }\n\n if (range instanceof Comparator) {\n return new Range(range.value, options)\n }\n\n if (!(this instanceof Range)) {\n return new Range(range, options)\n }\n\n this.options = options\n this.loose = !!options.loose\n this.includePrerelease = !!options.includePrerelease\n\n // First reduce all whitespace as much as possible so we do not have to rely\n // on potentially slow regexes like \\s*. This is then stored and used for\n // future error messages as well.\n this.raw = range\n .trim()\n .split(/\\s+/)\n .join(' ')\n\n // First, split based on boolean or ||\n this.set = this.raw.split('||').map(function (range) {\n return this.parseRange(range.trim())\n }, this).filter(function (c) {\n // throw out any that are not relevant for whatever reason\n return c.length\n })\n\n if (!this.set.length) {\n throw new TypeError('Invalid SemVer Range: ' + this.raw)\n }\n\n this.format()\n}\n\nRange.prototype.format = function () {\n this.range = this.set.map(function (comps) {\n return comps.join(' ').trim()\n }).join('||').trim()\n return this.range\n}\n\nRange.prototype.toString = function () {\n return this.range\n}\n\nRange.prototype.parseRange = function (range) {\n var loose = this.options.loose\n // `1.2.3 - 1.2.4` => `>=1.2.3 <=1.2.4`\n var hr = loose ? safeRe[t.HYPHENRANGELOOSE] : safeRe[t.HYPHENRANGE]\n range = range.replace(hr, hyphenReplace)\n debug('hyphen replace', range)\n // `> 1.2.3 < 1.2.5` => `>1.2.3 <1.2.5`\n range = range.replace(safeRe[t.COMPARATORTRIM], comparatorTrimReplace)\n debug('comparator trim', range, safeRe[t.COMPARATORTRIM])\n\n // `~ 1.2.3` => `~1.2.3`\n range = range.replace(safeRe[t.TILDETRIM], tildeTrimReplace)\n\n // `^ 1.2.3` => `^1.2.3`\n range = range.replace(safeRe[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 var compRe = loose ? safeRe[t.COMPARATORLOOSE] : safeRe[t.COMPARATOR]\n var set = range.split(' ').map(function (comp) {\n return parseComparator(comp, this.options)\n }, this).join(' ').split(/\\s+/)\n if (this.options.loose) {\n // in loose mode, throw out any that are not valid comparators\n set = set.filter(function (comp) {\n return !!comp.match(compRe)\n })\n }\n set = set.map(function (comp) {\n return new Comparator(comp, this.options)\n }, this)\n\n return set\n}\n\nRange.prototype.intersects = function (range, options) {\n if (!(range instanceof Range)) {\n throw new TypeError('a Range is required')\n }\n\n return this.set.some(function (thisComparators) {\n return (\n isSatisfiable(thisComparators, options) &&\n range.set.some(function (rangeComparators) {\n return (\n isSatisfiable(rangeComparators, options) &&\n thisComparators.every(function (thisComparator) {\n return rangeComparators.every(function (rangeComparator) {\n return thisComparator.intersects(rangeComparator, options)\n })\n })\n )\n })\n )\n })\n}\n\n// take a set of comparators and determine whether there\n// exists a version which can satisfy it\nfunction isSatisfiable (comparators, options) {\n var result = true\n var remainingComparators = comparators.slice()\n var testComparator = remainingComparators.pop()\n\n while (result && remainingComparators.length) {\n result = remainingComparators.every(function (otherComparator) {\n return testComparator.intersects(otherComparator, options)\n })\n\n testComparator = remainingComparators.pop()\n }\n\n return result\n}\n\n// Mostly just for testing and legacy API reasons\nexports.toComparators = toComparators\nfunction toComparators (range, options) {\n return new Range(range, options).set.map(function (comp) {\n return comp.map(function (c) {\n return c.value\n }).join(' ').trim().split(' ')\n })\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.\nfunction 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\nfunction isX (id) {\n return !id || id.toLowerCase() === 'x' || id === '*'\n}\n\n// ~, ~> --> * (any, kinda silly)\n// ~2, ~2.x, ~2.x.x, ~>2, ~>2.x ~>2.x.x --> >=2.0.0 <3.0.0\n// ~2.0, ~2.0.x, ~>2.0, ~>2.0.x --> >=2.0.0 <2.1.0\n// ~1.2, ~1.2.x, ~>1.2, ~>1.2.x --> >=1.2.0 <1.3.0\n// ~1.2.3, ~>1.2.3 --> >=1.2.3 <1.3.0\n// ~1.2.0, ~>1.2.0 --> >=1.2.0 <1.3.0\nfunction replaceTildes (comp, options) {\n return comp.trim().split(/\\s+/).map(function (comp) {\n return replaceTilde(comp, options)\n }).join(' ')\n}\n\nfunction replaceTilde (comp, options) {\n var r = options.loose ? safeRe[t.TILDELOOSE] : safeRe[t.TILDE]\n return comp.replace(r, function (_, M, m, p, pr) {\n debug('tilde', comp, _, M, m, p, pr)\n var ret\n\n if (isX(M)) {\n ret = ''\n } else if (isX(m)) {\n ret = '>=' + M + '.0.0 <' + (+M + 1) + '.0.0'\n } else if (isX(p)) {\n // ~1.2 == >=1.2.0 <1.3.0\n ret = '>=' + M + '.' + m + '.0 <' + M + '.' + (+m + 1) + '.0'\n } else if (pr) {\n debug('replaceTilde pr', pr)\n ret = '>=' + M + '.' + m + '.' + p + '-' + pr +\n ' <' + M + '.' + (+m + 1) + '.0'\n } else {\n // ~1.2.3 == >=1.2.3 <1.3.0\n ret = '>=' + M + '.' + m + '.' + p +\n ' <' + M + '.' + (+m + 1) + '.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\n// ^2.0, ^2.0.x --> >=2.0.0 <3.0.0\n// ^1.2, ^1.2.x --> >=1.2.0 <2.0.0\n// ^1.2.3 --> >=1.2.3 <2.0.0\n// ^1.2.0 --> >=1.2.0 <2.0.0\nfunction replaceCarets (comp, options) {\n return comp.trim().split(/\\s+/).map(function (comp) {\n return replaceCaret(comp, options)\n }).join(' ')\n}\n\nfunction replaceCaret (comp, options) {\n debug('caret', comp, options)\n var r = options.loose ? safeRe[t.CARETLOOSE] : safeRe[t.CARET]\n return comp.replace(r, function (_, M, m, p, pr) {\n debug('caret', comp, _, M, m, p, pr)\n var ret\n\n if (isX(M)) {\n ret = ''\n } else if (isX(m)) {\n ret = '>=' + M + '.0.0 <' + (+M + 1) + '.0.0'\n } else if (isX(p)) {\n if (M === '0') {\n ret = '>=' + M + '.' + m + '.0 <' + M + '.' + (+m + 1) + '.0'\n } else {\n ret = '>=' + M + '.' + m + '.0 <' + (+M + 1) + '.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)\n } else {\n ret = '>=' + M + '.' + m + '.' + p + '-' + pr +\n ' <' + M + '.' + (+m + 1) + '.0'\n }\n } else {\n ret = '>=' + M + '.' + m + '.' + p + '-' + pr +\n ' <' + (+M + 1) + '.0.0'\n }\n } else {\n debug('no pr')\n if (M === '0') {\n if (m === '0') {\n ret = '>=' + M + '.' + m + '.' + p +\n ' <' + M + '.' + m + '.' + (+p + 1)\n } else {\n ret = '>=' + M + '.' + m + '.' + p +\n ' <' + M + '.' + (+m + 1) + '.0'\n }\n } else {\n ret = '>=' + M + '.' + m + '.' + p +\n ' <' + (+M + 1) + '.0.0'\n }\n }\n\n debug('caret return', ret)\n return ret\n })\n}\n\nfunction replaceXRanges (comp, options) {\n debug('replaceXRanges', comp, options)\n return comp.split(/\\s+/).map(function (comp) {\n return replaceXRange(comp, options)\n }).join(' ')\n}\n\nfunction replaceXRange (comp, options) {\n comp = comp.trim()\n var r = options.loose ? safeRe[t.XRANGELOOSE] : safeRe[t.XRANGE]\n return comp.replace(r, function (ret, gtlt, M, m, p, pr) {\n debug('xRange', comp, ret, gtlt, M, m, p, pr)\n var xM = isX(M)\n var xm = xM || isX(m)\n var xp = xm || isX(p)\n var 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 // >1.2.3 => >= 1.2.4\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 ret = gtlt + M + '.' + m + '.' + p + pr\n } else if (xm) {\n ret = '>=' + M + '.0.0' + pr + ' <' + (+M + 1) + '.0.0' + pr\n } else if (xp) {\n ret = '>=' + M + '.' + m + '.0' + pr +\n ' <' + M + '.' + (+m + 1) + '.0' + pr\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.\nfunction 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(safeRe[t.STAR], '')\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 Any 3.4.x will do\n// 1.2 - 3.4 => >=1.2.0 <3.5.0\nfunction hyphenReplace ($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'\n } else if (isX(fp)) {\n from = '>=' + fM + '.' + fm + '.0'\n } else {\n from = '>=' + from\n }\n\n if (isX(tM)) {\n to = ''\n } else if (isX(tm)) {\n to = '<' + (+tM + 1) + '.0.0'\n } else if (isX(tp)) {\n to = '<' + tM + '.' + (+tm + 1) + '.0'\n } else if (tpr) {\n to = '<=' + tM + '.' + tm + '.' + tp + '-' + tpr\n } else {\n to = '<=' + to\n }\n\n return (from + ' ' + to).trim()\n}\n\n// if ANY of the sets match ALL of its comparators, then pass\nRange.prototype.test = function (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 (var 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\nfunction testSet (set, version, options) {\n for (var 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 (i = 0; i < set.length; i++) {\n debug(set[i].semver)\n if (set[i].semver === ANY) {\n continue\n }\n\n if (set[i].semver.prerelease.length > 0) {\n var 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\nexports.satisfies = satisfies\nfunction 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}\n\nexports.maxSatisfying = maxSatisfying\nfunction maxSatisfying (versions, range, options) {\n var max = null\n var maxSV = null\n try {\n var rangeObj = new Range(range, options)\n } catch (er) {\n return null\n }\n versions.forEach(function (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}\n\nexports.minSatisfying = minSatisfying\nfunction minSatisfying (versions, range, options) {\n var min = null\n var minSV = null\n try {\n var rangeObj = new Range(range, options)\n } catch (er) {\n return null\n }\n versions.forEach(function (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}\n\nexports.minVersion = minVersion\nfunction minVersion (range, loose) {\n range = new Range(range, loose)\n\n var 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 (var i = 0; i < range.set.length; ++i) {\n var comparators = range.set[i]\n\n comparators.forEach(function (comparator) {\n // Clone to avoid manipulating the comparator's semver object.\n var 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 (!minver || gt(minver, compver)) {\n minver = 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 }\n\n if (minver && range.test(minver)) {\n return minver\n }\n\n return null\n}\n\nexports.validRange = validRange\nfunction 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}\n\n// Determine if version is less than all the versions possible in the range\nexports.ltr = ltr\nfunction ltr (version, range, options) {\n return outside(version, range, '<', options)\n}\n\n// Determine if version is greater than all the versions possible in the range.\nexports.gtr = gtr\nfunction gtr (version, range, options) {\n return outside(version, range, '>', options)\n}\n\nexports.outside = outside\nfunction outside (version, range, hilo, options) {\n version = new SemVer(version, options)\n range = new Range(range, options)\n\n var 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 satisifes 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 (var i = 0; i < range.set.length; ++i) {\n var comparators = range.set[i]\n\n var high = null\n var low = null\n\n comparators.forEach(function (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\nexports.prerelease = prerelease\nfunction prerelease (version, options) {\n var parsed = parse(version, options)\n return (parsed && parsed.prerelease.length) ? parsed.prerelease : null\n}\n\nexports.intersects = intersects\nfunction intersects (r1, r2, options) {\n r1 = new Range(r1, options)\n r2 = new Range(r2, options)\n return r1.intersects(r2)\n}\n\nexports.coerce = coerce\nfunction 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 var match = null\n if (!options.rtl) {\n match = version.match(safeRe[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 var next\n while ((next = safeRe[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 safeRe[t.COERCERTL].lastIndex = next.index + next[1].length + next[2].length\n }\n // leave it in a clean state\n safeRe[t.COERCERTL].lastIndex = -1\n }\n\n if (match === null) {\n return null\n }\n\n return parse(match[2] +\n '.' + (match[3] || '0') +\n '.' + (match[4] || '0'), options)\n}\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,null,null,"module.exports = (Promise.resolve(__parcel__require__(\"./\" + \"actions_python.c7411d6b.js\"))).then(() => parcelRequire('8L9T2'));","#!/usr/bin/env node\n/* eslint-disable node/shebang */\n\nimport { GITHUB_ACTIONS, isCI } from \"ci-info\"\nimport { error, info, success, warning } from \"ci-log\"\nimport * as numerous from \"numerous\"\nimport numerousLocale from \"numerous/locales/en.js\"\nimport * as timeDelta from \"time-delta\"\nimport timeDeltaLocale from \"time-delta/locales/en.js\"\nimport { untildifyUser } from \"untildify-user\"\nimport { checkUpdates } from \"./check-updates\"\nimport { parseArgs, printHelp } from \"./cli-options\"\nimport { installCompiler } from \"./compilers\"\nimport { finalizeCpprc } from \"./utils/env/addEnv\"\nimport { isArch } from \"./utils/env/isArch\"\nimport { ubuntuVersion } from \"./utils/env/ubuntu_version\"\nimport { setupPacmanPack } from \"./utils/setup/setupPacmanPack\"\nimport { syncVersions } from \"./versions/versions\"\nimport { installTool } from \"./installTool\"\nimport { tools } from \"./tool\"\n\n/** The main entry function */\nasync function main(args: string[]): Promise {\n let checkUpdatePromise = Promise.resolve()\n if (!GITHUB_ACTIONS) {\n checkUpdatePromise = checkUpdates()\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 as numerous.Locale)\n let time1: number\n let time2: number\n\n // installing the specified tools\n\n const osVersion = await ubuntuVersion()\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 if (isArch() && typeof opts.cppcheck === \"string\" && typeof opts.gcovr === \"string\") {\n info(\"installing python-pygments to avoid conflicts with cppcheck and gcovr on Arch linux\")\n await setupPacmanPack(\"python-pygments\")\n }\n\n /** Used to unset CPPFLAGS of LLVM when other compilers are used as the main compiler */\n let hasLLVM = false\n\n // loop over the tools and run their setup function\n\n let failedFast = false\n for (const tool of tools) {\n // fail fast inside CI when any tool fails\n if (isCI) {\n if (errorMessages.length !== 0) {\n failedFast = true\n break\n }\n }\n\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 // eslint-disable-next-line no-await-in-loop\n hasLLVM = await installTool(\n tool,\n version,\n osVersion,\n arch,\n setupCppDir,\n successMessages,\n errorMessages,\n parseFloat(opts.timeout ?? \"20\") * 60 * 1000,\n )\n time2 = Date.now()\n info(`took ${timeFormatter.format(time1, time2) || \"0 seconds\"}`)\n }\n }\n\n if (!failedFast) {\n // installing the specified compiler\n const maybeCompiler = opts.compiler\n if (maybeCompiler !== undefined) {\n const time1Compiler = Date.now()\n await installCompiler(maybeCompiler, osVersion, setupCppDir, arch, successMessages, hasLLVM, errorMessages)\n const time2Compiler = Date.now()\n info(`took ${timeFormatter.format(time1Compiler, time2Compiler) || \"0 seconds\"}`)\n }\n }\n\n await finalizeCpprc()\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 (!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 await checkUpdatePromise\n\n return errorMessages.length === 0 ? 0 : 1 // exit with non-zero if any error message\n}\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","(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);","\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","import { join } from \"path\"\nimport untildify from \"untildify\"\nimport { isSudo } from \"admina\"\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 os from 'node:os';\n\nconst homeDirectory = os.homedir();\n\nexport default function untildify(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","export * from \"./root.mjs\"\nexport * from \"./admin.mjs\"\nexport * from \"./user-access.mjs\"\n",null,"import which from \"which\"\nimport {\n execa,\n execaCommand,\n execaCommandSync,\n execaSync,\n SyncOptions as ExecaSyncOptions,\n ExecaSyncReturnValue,\n Options as ExecaOptions,\n ExecaChildProcess,\n} from \"execa\"\n\n/** Detect if sudo is available */\nexport function hasSudo(): boolean {\n return which.sync(\"sudo\", { nothrow: true }) !== null\n}\n\n/**\n * Detect if the process has root privilege on Posix.\n *\n * @example\n *\n * ```js\n * import { isRoot } from \"admina\"\n *\n * console.log(isRoot())\n * //=> false\n * ```\n *\n * @returns Whether the process is running as root.\n */\nexport function isRoot(): boolean {\n // TODO not all CI systems are root\n return process.getuid?.() === 0 || Boolean(process.env.CI)\n}\n\n/** Detect if sudo is available and the user has root privileges */\nexport function isSudo(): boolean {\n return isRoot() && hasSudo()\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/** Default exec options `{ stdio: \"inherit\", shell: true }` */\nexport const defaultExecOptions: ExecaSyncOptions = { stdio: \"inherit\", shell: true }\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: ExecaSyncOptions = defaultExecOptions,\n): ExecaSyncReturnValue {\n if (isSudo()) {\n const command = getSudoCommand(program, args)\n return execaCommandSync(command, execOptions)\n } else {\n return execaSync(program, quote(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: ExecaOptions = defaultExecOptions,\n): ExecaChildProcess {\n if (isSudo()) {\n const command = getSudoCommand(program, args)\n return execaCommand(command, execOptions)\n } else {\n return execa(program, quote(args), execOptions)\n }\n}\n\nfunction getSudoCommand(program: string, args: string[]) {\n return `sudo ${quote([program, ...args]).join(\" \")}`\n}\n\nfunction quote(strings: string[]) {\n return strings.map((str) => `'${str}'`)\n}\n","const { isexe, sync: isexeSync } = require('isexe')\nconst { join, delimiter, sep, posix } = require('path')\n\nconst isWindows = process.platform === 'win32'\n\n// used to check for slashed in commands passed in. always checks for the posix\n// seperator on all platforms, and checks for the current separator when not on\n// a posix platform. don't use the isWindows check for this since that is mocked\n// in tests but we still need the code to actually work when called. that is also\n// why it is ignored from coverage.\n/* istanbul ignore next */\nconst rSlash = new RegExp(`[${posix.sep}${sep === posix.sep ? '' : sep}]`.replace(/(\\\\)/g, '\\\\$1'))\nconst rRel = new RegExp(`^\\\\.${rSlash.source}`)\n\nconst getNotFoundError = (cmd) =>\n Object.assign(new Error(`not found: ${cmd}`), { code: 'ENOENT' })\n\nconst getPathInfo = (cmd, {\n path: optPath = process.env.PATH,\n pathExt: optPathExt = process.env.PATHEXT,\n delimiter: optDelimiter = delimiter,\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(rSlash) ? [''] : [\n // windows always checks the cwd first\n ...(isWindows ? [process.cwd()] : []),\n ...(optPath || /* istanbul ignore next: very unusual */ '').split(optDelimiter),\n ]\n\n if (isWindows) {\n const pathExtExe = optPathExt ||\n ['.EXE', '.CMD', '.BAT', '.COM'].join(optDelimiter)\n const pathExt = pathExtExe.split(optDelimiter).flatMap((item) => [item, item.toLowerCase()])\n if (cmd.includes('.') && pathExt[0] !== '') {\n pathExt.unshift('')\n }\n return { pathEnv, pathExt, pathExtExe }\n }\n\n return { pathEnv, pathExt: [''] }\n}\n\nconst getPathPart = (raw, cmd) => {\n const pathPart = /^\".*\"$/.test(raw) ? raw.slice(1, -1) : raw\n const prefix = !pathPart && rRel.test(cmd) ? cmd.slice(0, 2) : ''\n return prefix + join(pathPart, cmd)\n}\n\nconst which = async (cmd, opt = {}) => {\n const { pathEnv, pathExt, pathExtExe } = getPathInfo(cmd, opt)\n const found = []\n\n for (const envPart of pathEnv) {\n const p = getPathPart(envPart, cmd)\n\n for (const ext of pathExt) {\n const withExt = p + ext\n const is = await isexe(withExt, { pathExt: pathExtExe, ignoreErrors: true })\n if (is) {\n if (!opt.all) {\n return withExt\n }\n found.push(withExt)\n }\n }\n }\n\n if (opt.all && found.length) {\n return found\n }\n\n if (opt.nothrow) {\n return null\n }\n\n throw getNotFoundError(cmd)\n}\n\nconst whichSync = (cmd, opt = {}) => {\n const { pathEnv, pathExt, pathExtExe } = getPathInfo(cmd, opt)\n const found = []\n\n for (const pathEnvPart of pathEnv) {\n const p = getPathPart(pathEnvPart, cmd)\n\n for (const ext of pathExt) {\n const withExt = p + ext\n const is = isexeSync(withExt, { pathExt: pathExtExe, ignoreErrors: true })\n if (is) {\n if (!opt.all) {\n return withExt\n }\n found.push(withExt)\n }\n }\n }\n\n if (opt.all && found.length) {\n return found\n }\n\n if (opt.nothrow) {\n return null\n }\n\n throw getNotFoundError(cmd)\n}\n\nmodule.exports = which\nwhich.sync = whichSync\n",null,"import * as posix from './posix.js'\nimport * as win32 from './win32.js'\nexport * from './options.js'\nexport { win32, posix }\n\nconst platform = process.env._ISEXE_TEST_PLATFORM_ || process.platform\nconst impl = platform === 'win32' ? win32 : posix\n\n/**\n * Determine whether a path is executable on the current platform.\n */\nexport const isexe = impl.isexe\n/**\n * Synchronously determine whether a path is executable on the\n * current platform.\n */\nexport const sync = impl.sync\n",null,"/**\n * This is the Posix implementation of isexe, which uses the file\n * mode and uid/gid values.\n *\n * @module\n */\n\nimport { Stats, statSync } from 'fs'\nimport { stat } from 'fs/promises'\nimport { IsexeOptions } from './options'\n\n/**\n * Determine whether a path is executable according to the mode and\n * current (or specified) user and group IDs.\n */\nexport const isexe = async (\n path: string,\n options: IsexeOptions = {}\n): Promise => {\n const { ignoreErrors = false } = options\n try {\n return checkStat(await stat(path), options)\n } catch (e) {\n const er = e as NodeJS.ErrnoException\n if (ignoreErrors || er.code === 'EACCES') return false\n throw er\n }\n}\n\n/**\n * Synchronously determine whether a path is executable according to\n * the mode and current (or specified) user and group IDs.\n */\nexport const sync = (\n path: string,\n options: IsexeOptions = {}\n): boolean => {\n const { ignoreErrors = false } = options\n try {\n return checkStat(statSync(path), options)\n } catch (e) {\n const er = e as NodeJS.ErrnoException\n if (ignoreErrors || er.code === 'EACCES') return false\n throw er\n }\n}\n\nconst checkStat = (stat: Stats, options: IsexeOptions) =>\n stat.isFile() && checkMode(stat, options)\n\nconst checkMode = (stat: Stats, options: IsexeOptions) => {\n const myUid = options.uid ?? process.getuid?.()\n const myGroups = options.groups ?? process.getgroups?.() ?? []\n const myGid = options.gid ?? process.getgid?.() ?? myGroups[0]\n if (myUid === undefined || myGid === undefined) {\n throw new Error('cannot get uid or gid')\n }\n\n const groups = new Set([myGid, ...myGroups])\n\n const mod = stat.mode\n const uid = stat.uid\n const gid = stat.gid\n\n const u = parseInt('100', 8)\n const g = parseInt('010', 8)\n const o = parseInt('001', 8)\n const ug = u | g\n\n return !!(\n mod & o ||\n (mod & g && groups.has(gid)) ||\n (mod & u && uid === myUid) ||\n (mod & ug && myUid === 0)\n )\n}\n","import { promises } from \"fs\"\nexport default promises\n\nexport const {\n access,\n appendFile,\n chmod,\n chown,\n copyFile,\n lchmod,\n lchown,\n link,\n lstat,\n mkdir,\n mkdtemp,\n open,\n readdir,\n readFile,\n readlink,\n realpath,\n rename,\n rmdir,\n stat,\n symlink,\n truncate,\n unlink,\n utimes,\n writeFile,\n} = promises\n",null,"/**\n * This is the Windows implementation of isexe, which uses the file\n * extension and PATHEXT setting.\n *\n * @module\n */\n\nimport { Stats, statSync } from 'fs'\nimport { stat } from 'fs/promises'\nimport { IsexeOptions } from './options'\n\n/**\n * Determine whether a path is executable based on the file extension\n * and PATHEXT environment variable (or specified pathExt option)\n */\nexport const isexe = async (\n path: string,\n options: IsexeOptions = {}\n): Promise => {\n const { ignoreErrors = false } = options\n try {\n return checkStat(await stat(path), path, options)\n } catch (e) {\n const er = e as NodeJS.ErrnoException\n if (ignoreErrors || er.code === 'EACCES') return false\n throw er\n }\n}\n\n/**\n * Synchronously determine whether a path is executable based on the file\n * extension and PATHEXT environment variable (or specified pathExt option)\n */\nexport const sync = (\n path: string,\n options: IsexeOptions = {}\n): boolean => {\n const { ignoreErrors = false } = options\n try {\n return checkStat(statSync(path), path, options)\n } catch (e) {\n const er = e as NodeJS.ErrnoException\n if (ignoreErrors || er.code === 'EACCES') return false\n throw er\n }\n}\n\nconst checkPathExt = (path: string, options: IsexeOptions) => {\n const { pathExt = process.env.PATHEXT || '' } = options\n const peSplit = pathExt.split(';')\n if (peSplit.indexOf('') !== -1) {\n return true\n }\n\n for (let i = 0; i < peSplit.length; i++) {\n const p = peSplit[i].toLowerCase()\n const ext = path.substring(path.length - p.length).toLowerCase()\n\n if (p && ext === p) {\n return true\n }\n }\n return false\n}\n\nconst checkStat = (stat: Stats, path: string, options: IsexeOptions) =>\n stat.isFile() && checkPathExt(path, options)\n","export interface IsexeOptions {\n /**\n * Ignore errors arising from attempting to get file access status\n * Note that EACCES is always ignored, because that just means\n * it's not executable. If this is not set, then attempting to check\n * the executable-ness of a nonexistent file will raise ENOENT, for\n * example.\n */\n ignoreErrors?: boolean\n\n /**\n * effective uid when checking executable mode flags on posix\n * Defaults to process.getuid()\n */\n uid?: number\n\n /**\n * effective gid when checking executable mode flags on posix\n * Defaults to process.getgid()\n */\n gid?: number\n\n /**\n * effective group ID list to use when checking executable mode flags\n * on posix\n * Defaults to process.getgroups()\n */\n groups?: number[]\n\n /**\n * The ;-delimited path extension list for win32 implementation.\n * Defaults to process.env.PATHEXT\n */\n pathExt?: string\n}\n","import {Buffer} from 'node:buffer';\nimport path from 'node:path';\nimport childProcess from 'node:child_process';\nimport process from 'node:process';\nimport crossSpawn from 'cross-spawn';\nimport stripFinalNewline from 'strip-final-newline';\nimport {npmRunPathEnv} from 'npm-run-path';\nimport onetime from 'onetime';\nimport {makeError} from './lib/error.js';\nimport {normalizeStdio, normalizeStdioNode} from './lib/stdio.js';\nimport {spawnedKill, spawnedCancel, setupTimeout, validateTimeout, setExitHandler} from './lib/kill.js';\nimport {addPipeMethods} from './lib/pipe.js';\nimport {handleInput, getSpawnedResult, makeAllStream, handleInputSync} from './lib/stream.js';\nimport {mergePromise, getSpawnedPromise} from './lib/promise.js';\nimport {joinCommand, parseCommand, parseTemplates, getEscapedCommand} from './lib/command.js';\nimport {logCommand, verboseDefault} from './lib/verbose.js';\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 npmRunPathEnv({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\tverbose: verboseDefault,\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 `execaSync()` 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\nexport function execa(file, args, options) {\n\tconst parsed = handleArguments(file, args, options);\n\tconst command = joinCommand(file, args);\n\tconst escapedCommand = getEscapedCommand(file, args);\n\tlogCommand(escapedCommand, parsed.options);\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\tmergePromise(dummySpawned, errorPromise);\n\t\treturn dummySpawned;\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 || (parsed.options.signal ? parsed.options.signal.aborted : false),\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);\n\n\tspawned.all = makeAllStream(spawned, parsed.options);\n\n\taddPipeMethods(spawned);\n\tmergePromise(spawned, handlePromiseOnce);\n\treturn spawned;\n}\n\nexport function execaSync(file, args, options) {\n\tconst parsed = handleArguments(file, args, options);\n\tconst command = joinCommand(file, args);\n\tconst escapedCommand = getEscapedCommand(file, args);\n\tlogCommand(escapedCommand, parsed.options);\n\n\tconst input = handleInputSync(parsed.options);\n\n\tlet result;\n\ttry {\n\t\tresult = childProcess.spawnSync(parsed.file, parsed.args, {...parsed.options, input});\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\nconst normalizeScriptStdin = ({input, inputFile, stdio}) => input === undefined && inputFile === undefined && stdio === undefined\n\t? {stdin: 'inherit'}\n\t: {};\n\nconst normalizeScriptOptions = (options = {}) => ({\n\tpreferLocal: true,\n\t...normalizeScriptStdin(options),\n\t...options,\n});\n\nfunction create$(options) {\n\tfunction $(templatesOrOptions, ...expressions) {\n\t\tif (!Array.isArray(templatesOrOptions)) {\n\t\t\treturn create$({...options, ...templatesOrOptions});\n\t\t}\n\n\t\tconst [file, ...args] = parseTemplates(templatesOrOptions, expressions);\n\t\treturn execa(file, args, normalizeScriptOptions(options));\n\t}\n\n\t$.sync = (templates, ...expressions) => {\n\t\tif (!Array.isArray(templates)) {\n\t\t\tthrow new TypeError('Please use $(options).sync`command` instead of $.sync(options)`command`.');\n\t\t}\n\n\t\tconst [file, ...args] = parseTemplates(templates, expressions);\n\t\treturn execaSync(file, args, normalizeScriptOptions(options));\n\t};\n\n\treturn $;\n}\n\nexport const $ = create$();\n\nexport function execaCommand(command, options) {\n\tconst [file, ...args] = parseCommand(command);\n\treturn execa(file, args, options);\n}\n\nexport function execaCommandSync(command, options) {\n\tconst [file, ...args] = parseCommand(command);\n\treturn execaSync(file, args, options);\n}\n\nexport function execaNode(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 = normalizeStdioNode(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 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';\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\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","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","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","'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';\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';\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';\nmodule.exports = /^#!(.*)/;\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","export default function stripFinalNewline(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, -1);\n\t}\n\n\tif (input[input.length - 1] === CR) {\n\t\tinput = input.slice(0, -1);\n\t}\n\n\treturn input;\n}\n","import process from 'node:process';\nimport path from 'node:path';\nimport url from 'node:url';\nimport pathKey from 'path-key';\n\nexport function npmRunPath(options = {}) {\n\tconst {\n\t\tcwd = process.cwd(),\n\t\tpath: path_ = process.env[pathKey()],\n\t\texecPath = process.execPath,\n\t} = options;\n\n\tlet previous;\n\tconst execPathString = execPath instanceof URL ? url.fileURLToPath(execPath) : execPath;\n\tconst cwdString = cwd instanceof URL ? url.fileURLToPath(cwd) : cwd;\n\tlet cwdPath = path.resolve(cwdString);\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\tresult.push(path.resolve(cwdString, execPathString, '..'));\n\n\treturn [...result, path_].join(path.delimiter);\n}\n\nexport function npmRunPathEnv({env = process.env, ...options} = {}) {\n\tenv = {...env};\n\n\tconst path = pathKey({env});\n\toptions.path = env[path];\n\tenv[path] = npmRunPath(options);\n\n\treturn env;\n}\n","export default function pathKey(options = {}) {\n\tconst {\n\t\tenv = process.env,\n\t\tplatform = process.platform\n\t} = options;\n\n\tif (platform !== 'win32') {\n\t\treturn 'PATH';\n\t}\n\n\treturn Object.keys(env).reverse().find(key => key.toUpperCase() === 'PATH') || 'Path';\n}\n","import mimicFunction from '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\tmimicFunction(onetime, function_);\n\tcalledFunctions.set(onetime, callCount);\n\n\treturn onetime;\n};\n\nonetime.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\nexport default onetime;\n","const copyProperty = (to, from, property, ignoreNonConfigurable) => {\n\t// `Function#length` should reflect the parameters of `to` not `from` since we keep its body.\n\t// `Function#prototype` is non-writable and non-configurable so can never be modified.\n\tif (property === 'length' || property === 'prototype') {\n\t\treturn;\n\t}\n\n\t// `Function#arguments` and `Function#caller` should not be copied. They were reported to be present in `Reflect.ownKeys` for some devices in React Native (#41), so we explicitly ignore them here.\n\tif (property === 'arguments' || property === 'caller') {\n\t\treturn;\n\t}\n\n\tconst toDescriptor = Object.getOwnPropertyDescriptor(to, property);\n\tconst fromDescriptor = Object.getOwnPropertyDescriptor(from, property);\n\n\tif (!canCopyProperty(toDescriptor, fromDescriptor) && ignoreNonConfigurable) {\n\t\treturn;\n\t}\n\n\tObject.defineProperty(to, property, fromDescriptor);\n};\n\n// `Object.defineProperty()` throws if the property exists, is not configurable and either:\n// - one its descriptors is changed\n// - it is non-writable and its value is changed\nconst canCopyProperty = function (toDescriptor, fromDescriptor) {\n\treturn toDescriptor === undefined || toDescriptor.configurable || (\n\t\ttoDescriptor.writable === fromDescriptor.writable &&\n\t\ttoDescriptor.enumerable === fromDescriptor.enumerable &&\n\t\ttoDescriptor.configurable === fromDescriptor.configurable &&\n\t\t(toDescriptor.writable || toDescriptor.value === fromDescriptor.value)\n\t);\n};\n\nconst changePrototype = (to, from) => {\n\tconst fromPrototype = Object.getPrototypeOf(from);\n\tif (fromPrototype === Object.getPrototypeOf(to)) {\n\t\treturn;\n\t}\n\n\tObject.setPrototypeOf(to, fromPrototype);\n};\n\nconst wrappedToString = (withName, fromBody) => `/* Wrapped ${withName}*/\\n${fromBody}`;\n\nconst toStringDescriptor = Object.getOwnPropertyDescriptor(Function.prototype, 'toString');\nconst toStringName = Object.getOwnPropertyDescriptor(Function.prototype.toString, 'name');\n\n// We call `from.toString()` early (not lazily) to ensure `from` can be garbage collected.\n// We use `bind()` instead of a closure for the same reason.\n// Calling `from.toString()` early also allows caching it in case `to.toString()` is called several times.\nconst changeToString = (to, from, name) => {\n\tconst withName = name === '' ? '' : `with ${name.trim()}() `;\n\tconst newToString = wrappedToString.bind(null, withName, from.toString());\n\t// Ensure `to.toString.toString` is non-enumerable and has the same `same`\n\tObject.defineProperty(newToString, 'name', toStringName);\n\tObject.defineProperty(to, 'toString', {...toStringDescriptor, value: newToString});\n};\n\nexport default function mimicFunction(to, from, {ignoreNonConfigurable = false} = {}) {\n\tconst {name} = to;\n\n\tfor (const property of Reflect.ownKeys(from)) {\n\t\tcopyProperty(to, from, property, ignoreNonConfigurable);\n\t}\n\n\tchangePrototype(to, from);\n\tchangeToString(to, from, name);\n\n\treturn to;\n}\n","import process from 'node:process';\nimport {signalsByName} from '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\nexport const 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, cwd = process.cwd()}},\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\terror.cwd = cwd;\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","import{constants}from\"node:os\";\n\nimport{SIGRTMAX}from\"./realtime.js\";\nimport{getSignals}from\"./signals.js\";\n\n\n\nconst getSignalsByName=()=>{\nconst signals=getSignals();\nreturn Object.fromEntries(signals.map(getSignalByName));\n};\n\nconst getSignalByName=({\nname,\nnumber,\ndescription,\nsupported,\naction,\nforced,\nstandard\n})=>[name,{name,number,description,supported,action,forced,standard}];\n\nexport const signalsByName=getSignalsByName();\n\n\n\n\nconst getSignalsByNumber=()=>{\nconst signals=getSignals();\nconst length=SIGRTMAX+1;\nconst signalsA=Array.from({length},(value,number)=>\ngetSignalByNumber(number,signals));\n\nreturn Object.assign({},...signalsA);\n};\n\nconst getSignalByNumber=(number,signals)=>{\nconst signal=findSignalByNumber(number,signals);\n\nif(signal===undefined){\nreturn{};\n}\n\nconst{name,description,supported,action,forced,standard}=signal;\nreturn{\n[number]:{\nname,\nnumber,\ndescription,\nsupported,\naction,\nforced,\nstandard\n}\n};\n};\n\n\n\nconst findSignalByNumber=(number,signals)=>{\nconst signal=signals.find(({name})=>constants.signals[name]===number);\n\nif(signal!==undefined){\nreturn signal;\n}\n\nreturn signals.find((signalA)=>signalA.number===number);\n};\n\nexport const signalsByNumber=getSignalsByNumber();","\nexport const getRealtimeSignals=()=>{\nconst length=SIGRTMAX-SIGRTMIN+1;\nreturn Array.from({length},getRealtimeSignal);\n};\n\nconst getRealtimeSignal=(value,index)=>({\nname:`SIGRT${index+1}`,\nnumber:SIGRTMIN+index,\naction:\"terminate\",\ndescription:\"Application-specific signal (realtime)\",\nstandard:\"posix\"\n});\n\nconst SIGRTMIN=34;\nexport const SIGRTMAX=64;","import{constants}from\"node:os\";\n\nimport{SIGNALS}from\"./core.js\";\nimport{getRealtimeSignals}from\"./realtime.js\";\n\n\n\nexport const getSignals=()=>{\nconst realtimeSignals=getRealtimeSignals();\nconst signals=[...SIGNALS,...realtimeSignals].map(normalizeSignal);\nreturn signals;\n};\n\n\n\n\n\n\n\nconst normalizeSignal=({\nname,\nnumber:defaultNumber,\ndescription,\naction,\nforced=false,\nstandard\n})=>{\nconst{\nsignals:{[name]:constantSignal}\n}=constants;\nconst supported=constantSignal!==undefined;\nconst number=supported?constantSignal:defaultNumber;\nreturn{name,number,description,supported,action,forced,standard};\n};","\n\nexport const SIGNALS=[\n{\nname:\"SIGHUP\",\nnumber:1,\naction:\"terminate\",\ndescription:\"Terminal closed\",\nstandard:\"posix\"\n},\n{\nname:\"SIGINT\",\nnumber:2,\naction:\"terminate\",\ndescription:\"User interruption with CTRL-C\",\nstandard:\"ansi\"\n},\n{\nname:\"SIGQUIT\",\nnumber:3,\naction:\"core\",\ndescription:\"User interruption with CTRL-\\\\\",\nstandard:\"posix\"\n},\n{\nname:\"SIGILL\",\nnumber:4,\naction:\"core\",\ndescription:\"Invalid machine instruction\",\nstandard:\"ansi\"\n},\n{\nname:\"SIGTRAP\",\nnumber:5,\naction:\"core\",\ndescription:\"Debugger breakpoint\",\nstandard:\"posix\"\n},\n{\nname:\"SIGABRT\",\nnumber:6,\naction:\"core\",\ndescription:\"Aborted\",\nstandard:\"ansi\"\n},\n{\nname:\"SIGIOT\",\nnumber:6,\naction:\"core\",\ndescription:\"Aborted\",\nstandard:\"bsd\"\n},\n{\nname:\"SIGBUS\",\nnumber:7,\naction:\"core\",\ndescription:\n\"Bus error due to misaligned, non-existing address or paging error\",\nstandard:\"bsd\"\n},\n{\nname:\"SIGEMT\",\nnumber:7,\naction:\"terminate\",\ndescription:\"Command should be emulated but is not implemented\",\nstandard:\"other\"\n},\n{\nname:\"SIGFPE\",\nnumber:8,\naction:\"core\",\ndescription:\"Floating point arithmetic error\",\nstandard:\"ansi\"\n},\n{\nname:\"SIGKILL\",\nnumber:9,\naction:\"terminate\",\ndescription:\"Forced termination\",\nstandard:\"posix\",\nforced:true\n},\n{\nname:\"SIGUSR1\",\nnumber:10,\naction:\"terminate\",\ndescription:\"Application-specific signal\",\nstandard:\"posix\"\n},\n{\nname:\"SIGSEGV\",\nnumber:11,\naction:\"core\",\ndescription:\"Segmentation fault\",\nstandard:\"ansi\"\n},\n{\nname:\"SIGUSR2\",\nnumber:12,\naction:\"terminate\",\ndescription:\"Application-specific signal\",\nstandard:\"posix\"\n},\n{\nname:\"SIGPIPE\",\nnumber:13,\naction:\"terminate\",\ndescription:\"Broken pipe or socket\",\nstandard:\"posix\"\n},\n{\nname:\"SIGALRM\",\nnumber:14,\naction:\"terminate\",\ndescription:\"Timeout or timer\",\nstandard:\"posix\"\n},\n{\nname:\"SIGTERM\",\nnumber:15,\naction:\"terminate\",\ndescription:\"Termination\",\nstandard:\"ansi\"\n},\n{\nname:\"SIGSTKFLT\",\nnumber:16,\naction:\"terminate\",\ndescription:\"Stack is empty or overflowed\",\nstandard:\"other\"\n},\n{\nname:\"SIGCHLD\",\nnumber:17,\naction:\"ignore\",\ndescription:\"Child process terminated, paused or unpaused\",\nstandard:\"posix\"\n},\n{\nname:\"SIGCLD\",\nnumber:17,\naction:\"ignore\",\ndescription:\"Child process terminated, paused or unpaused\",\nstandard:\"other\"\n},\n{\nname:\"SIGCONT\",\nnumber:18,\naction:\"unpause\",\ndescription:\"Unpaused\",\nstandard:\"posix\",\nforced:true\n},\n{\nname:\"SIGSTOP\",\nnumber:19,\naction:\"pause\",\ndescription:\"Paused\",\nstandard:\"posix\",\nforced:true\n},\n{\nname:\"SIGTSTP\",\nnumber:20,\naction:\"pause\",\ndescription:\"Paused using CTRL-Z or \\\"suspend\\\"\",\nstandard:\"posix\"\n},\n{\nname:\"SIGTTIN\",\nnumber:21,\naction:\"pause\",\ndescription:\"Background process cannot read terminal input\",\nstandard:\"posix\"\n},\n{\nname:\"SIGBREAK\",\nnumber:21,\naction:\"terminate\",\ndescription:\"User interruption with CTRL-BREAK\",\nstandard:\"other\"\n},\n{\nname:\"SIGTTOU\",\nnumber:22,\naction:\"pause\",\ndescription:\"Background process cannot write to terminal output\",\nstandard:\"posix\"\n},\n{\nname:\"SIGURG\",\nnumber:23,\naction:\"ignore\",\ndescription:\"Socket received out-of-band data\",\nstandard:\"bsd\"\n},\n{\nname:\"SIGXCPU\",\nnumber:24,\naction:\"core\",\ndescription:\"Process timed out\",\nstandard:\"bsd\"\n},\n{\nname:\"SIGXFSZ\",\nnumber:25,\naction:\"core\",\ndescription:\"File too big\",\nstandard:\"bsd\"\n},\n{\nname:\"SIGVTALRM\",\nnumber:26,\naction:\"terminate\",\ndescription:\"Timeout or timer\",\nstandard:\"bsd\"\n},\n{\nname:\"SIGPROF\",\nnumber:27,\naction:\"terminate\",\ndescription:\"Timeout or timer\",\nstandard:\"bsd\"\n},\n{\nname:\"SIGWINCH\",\nnumber:28,\naction:\"ignore\",\ndescription:\"Terminal window size changed\",\nstandard:\"bsd\"\n},\n{\nname:\"SIGIO\",\nnumber:29,\naction:\"terminate\",\ndescription:\"I/O is available\",\nstandard:\"other\"\n},\n{\nname:\"SIGPOLL\",\nnumber:29,\naction:\"terminate\",\ndescription:\"Watched event\",\nstandard:\"other\"\n},\n{\nname:\"SIGINFO\",\nnumber:29,\naction:\"ignore\",\ndescription:\"Request for process information\",\nstandard:\"other\"\n},\n{\nname:\"SIGPWR\",\nnumber:30,\naction:\"terminate\",\ndescription:\"Device running out of power\",\nstandard:\"systemv\"\n},\n{\nname:\"SIGSYS\",\nnumber:31,\naction:\"core\",\ndescription:\"Invalid system call\",\nstandard:\"other\"\n},\n{\nname:\"SIGUNUSED\",\nnumber:31,\naction:\"terminate\",\ndescription:\"Invalid system call\",\nstandard:\"other\"\n}];","const aliases = ['stdin', 'stdout', 'stderr'];\n\nconst hasAlias = options => aliases.some(alias => options[alias] !== undefined);\n\nexport const 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\n// `ipc` is pushed unless it is already present\nexport const normalizeStdioNode = 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","import os from 'node:os';\nimport onExit from 'signal-exit';\n\nconst DEFAULT_FORCE_KILL_TIMEOUT = 1000 * 5;\n\n// Monkey-patches `childProcess.kill()` to add `forceKillAfterTimeout` behavior\nexport const 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) => isSigterm(signal) && forceKillAfterTimeout !== false && killResult;\n\nconst isSigterm = signal => signal === os.constants.signals.SIGTERM\n\t\t|| (typeof signal === 'string' && signal.toUpperCase() === 'SIGTERM');\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()`\nexport const 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\nexport const 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\nexport const 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\nexport const 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","// 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","import {createWriteStream} from 'node:fs';\nimport {ChildProcess} from 'node:child_process';\nimport {isWritableStream} from 'is-stream';\n\nconst isExecaChildProcess = target => target instanceof ChildProcess && typeof target.then === 'function';\n\nconst pipeToTarget = (spawned, streamName, target) => {\n\tif (typeof target === 'string') {\n\t\tspawned[streamName].pipe(createWriteStream(target));\n\t\treturn spawned;\n\t}\n\n\tif (isWritableStream(target)) {\n\t\tspawned[streamName].pipe(target);\n\t\treturn spawned;\n\t}\n\n\tif (!isExecaChildProcess(target)) {\n\t\tthrow new TypeError('The second argument must be a string, a stream or an Execa child process.');\n\t}\n\n\tif (!isWritableStream(target.stdin)) {\n\t\tthrow new TypeError('The target child process\\'s stdin must be available.');\n\t}\n\n\tspawned[streamName].pipe(target.stdin);\n\treturn target;\n};\n\nexport const addPipeMethods = spawned => {\n\tif (spawned.stdout !== null) {\n\t\tspawned.pipeStdout = pipeToTarget.bind(undefined, spawned, 'stdout');\n\t}\n\n\tif (spawned.stderr !== null) {\n\t\tspawned.pipeStderr = pipeToTarget.bind(undefined, spawned, 'stderr');\n\t}\n\n\tif (spawned.all !== undefined) {\n\t\tspawned.pipeAll = pipeToTarget.bind(undefined, spawned, 'all');\n\t}\n};\n","export function isStream(stream) {\n\treturn stream !== null\n\t\t&& typeof stream === 'object'\n\t\t&& typeof stream.pipe === 'function';\n}\n\nexport function isWritableStream(stream) {\n\treturn isStream(stream)\n\t\t&& stream.writable !== false\n\t\t&& typeof stream._write === 'function'\n\t\t&& typeof stream._writableState === 'object';\n}\n\nexport function isReadableStream(stream) {\n\treturn isStream(stream)\n\t\t&& stream.readable !== false\n\t\t&& typeof stream._read === 'function'\n\t\t&& typeof stream._readableState === 'object';\n}\n\nexport function isDuplexStream(stream) {\n\treturn isWritableStream(stream)\n\t\t&& isReadableStream(stream);\n}\n\nexport function isTransformStream(stream) {\n\treturn isDuplexStream(stream)\n\t\t&& typeof stream._transform === 'function';\n}\n","import {createReadStream, readFileSync} from 'node:fs';\nimport {isStream} from 'is-stream';\nimport getStream from 'get-stream';\nimport mergeStream from 'merge-stream';\n\nconst validateInputOptions = input => {\n\tif (input !== undefined) {\n\t\tthrow new TypeError('The `input` and `inputFile` options cannot be both set.');\n\t}\n};\n\nconst getInputSync = ({input, inputFile}) => {\n\tif (typeof inputFile !== 'string') {\n\t\treturn input;\n\t}\n\n\tvalidateInputOptions(input);\n\treturn readFileSync(inputFile);\n};\n\n// `input` and `inputFile` option in sync mode\nexport const handleInputSync = options => {\n\tconst input = getInputSync(options);\n\n\tif (isStream(input)) {\n\t\tthrow new TypeError('The `input` option cannot be a stream in sync mode');\n\t}\n\n\treturn input;\n};\n\nconst getInput = ({input, inputFile}) => {\n\tif (typeof inputFile !== 'string') {\n\t\treturn input;\n\t}\n\n\tvalidateInputOptions(input);\n\treturn createReadStream(inputFile);\n};\n\n// `input` and `inputFile` option in async mode\nexport const handleInput = (spawned, options) => {\n\tconst input = getInput(options);\n\n\tif (input === 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`\nexport const 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\t// When `buffer` is `false`, `streamPromise` is `undefined` and there is no buffered data to retrieve\n\tif (!stream || streamPromise === undefined) {\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)\nexport const 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","'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","'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","// eslint-disable-next-line unicorn/prefer-top-level-await\nconst nativePromisePrototype = (async () => {})().constructor.prototype;\n\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`\nexport const 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\t: descriptor.value.bind(promise);\n\n\t\tReflect.defineProperty(spawned, property, {...descriptor, value});\n\t}\n};\n\n// Use promises instead of `child_process` events\nexport const getSpawnedPromise = spawned => new Promise((resolve, reject) => {\n\tspawned.on('exit', (exitCode, signal) => {\n\t\tresolve({exitCode, signal});\n\t});\n\n\tspawned.on('error', error => {\n\t\treject(error);\n\t});\n\n\tif (spawned.stdin) {\n\t\tspawned.stdin.on('error', error => {\n\t\t\treject(error);\n\t\t});\n\t}\n});\n","import {Buffer} from 'node:buffer';\nimport {ChildProcess} from 'node:child_process';\n\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\nexport const joinCommand = (file, args) => normalizeArgs(file, args).join(' ');\n\nexport const getEscapedCommand = (file, args) => normalizeArgs(file, args).map(arg => escapeArg(arg)).join(' ');\n\nconst SPACES_REGEXP = / +/g;\n\n// Handle `execaCommand()`\nexport const 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\nconst parseExpression = expression => {\n\tconst typeOfExpression = typeof expression;\n\n\tif (typeOfExpression === 'string') {\n\t\treturn expression;\n\t}\n\n\tif (typeOfExpression === 'number') {\n\t\treturn String(expression);\n\t}\n\n\tif (\n\t\ttypeOfExpression === 'object'\n\t\t&& expression !== null\n\t\t&& !(expression instanceof ChildProcess)\n\t\t&& 'stdout' in expression\n\t) {\n\t\tconst typeOfStdout = typeof expression.stdout;\n\n\t\tif (typeOfStdout === 'string') {\n\t\t\treturn expression.stdout;\n\t\t}\n\n\t\tif (Buffer.isBuffer(expression.stdout)) {\n\t\t\treturn expression.stdout.toString();\n\t\t}\n\n\t\tthrow new TypeError(`Unexpected \"${typeOfStdout}\" stdout in template expression`);\n\t}\n\n\tthrow new TypeError(`Unexpected \"${typeOfExpression}\" in template expression`);\n};\n\nconst concatTokens = (tokens, nextTokens, isNew) => isNew || tokens.length === 0 || nextTokens.length === 0\n\t? [...tokens, ...nextTokens]\n\t: [\n\t\t...tokens.slice(0, -1),\n\t\t`${tokens[tokens.length - 1]}${nextTokens[0]}`,\n\t\t...nextTokens.slice(1),\n\t];\n\nconst parseTemplate = ({templates, expressions, tokens, index, template}) => {\n\tconst templateString = template ?? templates.raw[index];\n\tconst templateTokens = templateString.split(SPACES_REGEXP).filter(Boolean);\n\tconst newTokens = concatTokens(\n\t\ttokens,\n\t\ttemplateTokens,\n\t\ttemplateString.startsWith(' '),\n\t);\n\n\tif (index === expressions.length) {\n\t\treturn newTokens;\n\t}\n\n\tconst expression = expressions[index];\n\tconst expressionTokens = Array.isArray(expression)\n\t\t? expression.map(expression => parseExpression(expression))\n\t\t: [parseExpression(expression)];\n\treturn concatTokens(\n\t\tnewTokens,\n\t\texpressionTokens,\n\t\ttemplateString.endsWith(' '),\n\t);\n};\n\nexport const parseTemplates = (templates, expressions) => {\n\tlet tokens = [];\n\n\tfor (const [index, template] of templates.entries()) {\n\t\ttokens = parseTemplate({templates, expressions, tokens, index, template});\n\t}\n\n\treturn tokens;\n};\n\n","import {debuglog} from 'node:util';\nimport process from 'node:process';\n\nexport const verboseDefault = debuglog('execa').enabled;\n\nconst padField = (field, padding) => String(field).padStart(padding, '0');\n\nconst getTimestamp = () => {\n\tconst date = new Date();\n\treturn `${padField(date.getHours(), 2)}:${padField(date.getMinutes(), 2)}:${padField(date.getSeconds(), 2)}.${padField(date.getMilliseconds(), 3)}`;\n};\n\nexport const logCommand = (escapedCommand, {verbose}) => {\n\tif (!verbose) {\n\t\treturn;\n\t}\n\n\tprocess.stderr.write(`[${getTimestamp()}] ${escapedCommand}\\n`);\n};\n",null,"import { default as isAdminWindowsOrig } from \"./is-admin.mjs\"\nimport { isRoot } from \"./root.mjs\"\n\n/**\n * Check if the process is running as administrator on Windows.\n *\n * @example\n *\n * ```js\n * import { isAdminWindows } from \"admina\"\n *\n * console.log(await isAdminWindows())\n * //=> false\n * ```\n *\n * @returns Whether the process is running as administrator.\n */\nexport const isAdminWindows = isAdminWindowsOrig\n\n/**\n * Detect if the process has root privilege on Posix.\n *\n * @example\n *\n * ```js\n * import { isAdminPosix } from \"admina\"\n *\n * console.log(isAdminPosix())\n * //=> false\n * ```\n *\n * @returns Whether the process is running as root.\n */\nexport const isAdminPosix = isRoot\n\n/**\n * Detect if the code is running as admin/root\n *\n * On Windows, it checks for admin access, and on Posix, it checks for root access\n *\n * @example\n *\n * ```js\n * import { isAdmin } from \"admina\"\n *\n * console.log(isAdmin())\n * //=> false\n * ```\n *\n * @returns Whether the process is running as root or admin.\n */\nexport function isAdmin() {\n if (process.platform === \"win32\") {\n return isAdminWindows()\n } else {\n return isRoot()\n }\n}\n",null,"// From `is-admin`: updated execa\n\nimport { execa } from \"execa\"\n\n// https://stackoverflow.com/a/28268802\nasync function testFltmc() {\n try {\n await execa(\"fltmc\")\n return true\n } catch {\n return false\n }\n}\n\nexport default async function isAdmin() {\n if (process.platform !== \"win32\") {\n return false\n }\n\n try {\n // https://stackoverflow.com/a/21295806/1641422\n await execa(\"fsutil\", [\"dirty\", \"query\", process.env.systemdrive ?? \"\"])\n return true\n } catch (error) {\n if ((error as { code?: string }).code === \"ENOENT\") {\n return testFltmc()\n }\n\n return false\n }\n}\n",null,"import { isSudo, execRoot, defaultExecOptions } from \"./root.mjs\"\nimport fs from \"fs\"\n\n/**\n * Give the user access to the given path (and its sub-directories if a directory). It changes the owner to the\n * SUDO_USER. This allows the user to use the folder without sudo\n *\n * @param path The path to give the user access to\n */\nexport async function grantUserWriteAccess(path: string) {\n if (\n (process.platform === \"linux\" || process.platform === \"darwin\") &&\n isSudo() &&\n process.env.SUDO_USER !== undefined\n ) {\n const isDirectory = fs.statSync(path).isDirectory()\n await execRoot(\"chown\", [...(isDirectory ? [\"-R\"] : []), process.env.SUDO_USER, path], defaultExecOptions)\n }\n}\n","import { warning } from \"ci-log\"\nimport updateNotifier from \"simple-update-notifier\"\nimport packageJson from \"../package-version.json\"\n\n// auto self update notifier\nexport async function checkUpdates() {\n try {\n await updateNotifier({ pkg: packageJson })\n } catch (err) {\n warning(`Failed to check for updates: ${err instanceof Error ? err.message + err.stack : err}`)\n }\n}\n","'use strict';\n\nvar process$1 = require('process');\nvar semver = require('semver');\nvar os = require('os');\nvar path = require('path');\nvar fs = require('fs');\nvar https = require('https');\n\n/******************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\n\r\nfunction __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nfunction __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\n\nvar packageJson = process$1.env.npm_package_json;\nvar userAgent = process$1.env.npm_config_user_agent;\nvar isNpm6 = Boolean(userAgent && userAgent.startsWith('npm'));\nvar isNpm7 = Boolean(packageJson && packageJson.endsWith('package.json'));\nvar isNpm = isNpm6 || isNpm7;\nvar isYarn = Boolean(userAgent && userAgent.startsWith('yarn'));\nvar isNpmOrYarn = isNpm || isYarn;\n\nvar homeDirectory = os.homedir();\nvar configDir = process.env.XDG_CONFIG_HOME ||\n path.join(homeDirectory, '.config', 'simple-update-notifier');\nvar getConfigFile = function (packageName) {\n return path.join(configDir, \"\".concat(packageName.replace('@', '').replace('/', '__'), \".json\"));\n};\nvar createConfigDir = function () {\n if (!fs.existsSync(configDir)) {\n fs.mkdirSync(configDir, { recursive: true });\n }\n};\nvar getLastUpdate = function (packageName) {\n var configFile = getConfigFile(packageName);\n try {\n if (!fs.existsSync(configFile)) {\n return undefined;\n }\n var file = JSON.parse(fs.readFileSync(configFile, 'utf8'));\n return file.lastUpdateCheck;\n }\n catch (_a) {\n return undefined;\n }\n};\nvar saveLastUpdate = function (packageName) {\n var configFile = getConfigFile(packageName);\n fs.writeFileSync(configFile, JSON.stringify({ lastUpdateCheck: new Date().getTime() }));\n};\n\nvar getDistVersion = function (packageName, distTag) { return __awaiter(void 0, void 0, void 0, function () {\n var url;\n return __generator(this, function (_a) {\n url = \"https://registry.npmjs.org/-/package/\".concat(packageName, \"/dist-tags\");\n return [2 /*return*/, new Promise(function (resolve, reject) {\n https\n .get(url, function (res) {\n var body = '';\n res.on('data', function (chunk) { return (body += chunk); });\n res.on('end', function () {\n try {\n var json = JSON.parse(body);\n var version = json[distTag];\n if (!version) {\n reject(new Error('Error getting version'));\n }\n resolve(version);\n }\n catch (_a) {\n reject(new Error('Could not parse version response'));\n }\n });\n })\n .on('error', function (err) { return reject(err); });\n })];\n });\n}); };\n\nvar hasNewVersion = function (_a) {\n var pkg = _a.pkg, _b = _a.updateCheckInterval, updateCheckInterval = _b === void 0 ? 1000 * 60 * 60 * 24 : _b, _c = _a.distTag, distTag = _c === void 0 ? 'latest' : _c, alwaysRun = _a.alwaysRun, debug = _a.debug;\n return __awaiter(void 0, void 0, void 0, function () {\n var lastUpdateCheck, latestVersion;\n return __generator(this, function (_d) {\n switch (_d.label) {\n case 0:\n createConfigDir();\n lastUpdateCheck = getLastUpdate(pkg.name);\n if (!(alwaysRun ||\n !lastUpdateCheck ||\n lastUpdateCheck < new Date().getTime() - updateCheckInterval)) return [3 /*break*/, 2];\n return [4 /*yield*/, getDistVersion(pkg.name, distTag)];\n case 1:\n latestVersion = _d.sent();\n saveLastUpdate(pkg.name);\n if (semver.gt(latestVersion, pkg.version)) {\n return [2 /*return*/, latestVersion];\n }\n else if (debug) {\n console.error(\"Latest version (\".concat(latestVersion, \") not newer than current version (\").concat(pkg.version, \")\"));\n }\n return [3 /*break*/, 3];\n case 2:\n if (debug) {\n console.error(\"Too recent to check for a new update. simpleUpdateNotifier() interval set to \".concat(updateCheckInterval, \"ms but only \").concat(new Date().getTime() - lastUpdateCheck, \"ms since last check.\"));\n }\n _d.label = 3;\n case 3: return [2 /*return*/, false];\n }\n });\n });\n};\n\nvar borderedText = function (text) {\n var lines = text.split('\\n');\n var width = Math.max.apply(Math, lines.map(function (l) { return l.length; }));\n var res = [\"\\u250C\".concat('─'.repeat(width + 2), \"\\u2510\")];\n for (var _i = 0, lines_1 = lines; _i < lines_1.length; _i++) {\n var line = lines_1[_i];\n res.push(\"\\u2502 \".concat(line.padEnd(width), \" \\u2502\"));\n }\n res.push(\"\\u2514\".concat('─'.repeat(width + 2), \"\\u2518\"));\n return res.join('\\n');\n};\n\nvar simpleUpdateNotifier = function (args) { return __awaiter(void 0, void 0, void 0, function () {\n var latestVersion, err_1;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n if (!args.alwaysRun &&\n (!process.stdout.isTTY || (isNpmOrYarn && !args.shouldNotifyInNpmScript))) {\n if (args.debug) {\n console.error('Opting out of running simpleUpdateNotifier()');\n }\n return [2 /*return*/];\n }\n _a.label = 1;\n case 1:\n _a.trys.push([1, 3, , 4]);\n return [4 /*yield*/, hasNewVersion(args)];\n case 2:\n latestVersion = _a.sent();\n if (latestVersion) {\n console.error(borderedText(\"New version of \".concat(args.pkg.name, \" available!\\nCurrent Version: \").concat(args.pkg.version, \"\\nLatest Version: \").concat(latestVersion)));\n }\n return [3 /*break*/, 4];\n case 3:\n err_1 = _a.sent();\n // Catch any network errors or cache writing errors so module doesn't cause a crash\n if (args.debug && err_1 instanceof Error) {\n console.error('Unexpected error in simpleUpdateNotifier():', err_1);\n }\n return [3 /*break*/, 4];\n case 4: return [2 /*return*/];\n }\n });\n}); };\n\nmodule.exports = simpleUpdateNotifier;\n","{\n \"name\": \"setup-cpp\",\n \"version\": \"0.36.1\"\n}\n","import { getInput } from \"@actions/core\"\nimport { info } from \"ci-log\"\nimport mri from \"mri\"\nimport { InstallationInfo } from \"./utils/setup/setupBin\"\nimport { Inputs, inputs } from \"./tool\"\n\nexport function parseArgs(args: string[]): Opts {\n return mri & { help: boolean }>(args, {\n string: [...inputs, \"timeout\"],\n default: Object.fromEntries(inputs.map((inp) => [inp, maybeGetInput(inp)])),\n alias: { h: \"help\" },\n boolean: \"help\",\n })\n}\n\nexport function 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--timeout\\t the timeout for the installation of each tool in minutes. By default it is 10 minutes.\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--$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`)\n\n console.table(\n {\n \"compiler and analyzer\": { tools: `--llvm, --gcc, --msvc, --vcvarsall, --cppcheck, --clangtidy, --clangformat` },\n \"build system\": { tools: `--cmake, --ninja, --meson, --make, --task, --bazel` },\n \"package manager\": { tools: `--vcpkg, --conan, --choco, --brew, --nala` },\n cache: { tools: `--cppcache, --sccache` },\n documentation: { tools: `--doxygen, --graphviz` },\n coverage: { tools: `--gcovr, --opencppcoverage, --kcov` },\n other: { tools: `--python, --powershell, --sevenzip` },\n },\n [\"tools\"],\n )\n}\n/** Get an object from github actions */\n\nexport function maybeGetInput(key: string) {\n const value = getInput(key.toLowerCase())\n if (value !== \"false\" && value !== \"\") {\n return value\n }\n return undefined // skip installation\n}\nexport type Opts = mri.Argv<\n Record & {\n help: boolean\n timeout?: string\n }\n>\n\nexport function 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","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 { setupBazel } from \"./bazel/bazel\"\nimport { setupBrew } from \"./brew/brew\"\nimport { setupCcache } from \"./ccache/ccache\"\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 { setupGcc } from \"./gcc/gcc\"\nimport { setupGcovr } from \"./gcovr/gcovr\"\nimport { setupGraphviz } from \"./graphviz/graphviz\"\nimport { setupKcov } from \"./kcov/kcov\"\nimport { setupClangTools, setupLLVM, setupClangFormat } from \"./llvm/llvm\"\nimport { setupMake } from \"./make/make\"\nimport { setupMeson } from \"./meson/meson\"\nimport { setupMSVC } from \"./msvc/msvc\"\nimport { setupNala } from \"./nala/nala\"\nimport { setupNinja } from \"./ninja/ninja\"\nimport { setupOpencppcoverage } from \"./opencppcoverage/opencppcoverage\"\nimport { setupPowershell } from \"./powershell/powershell\"\nimport { setupPython } from \"./python/python\"\nimport { setupSccache } from \"./sccache/sccache\"\nimport { setupSevenZip } from \"./sevenzip/sevenzip\"\nimport { setupTask } from \"./task/task\"\nimport { setupVcpkg } from \"./vcpkg/vcpkg\"\nimport { setupVCVarsall } from \"./vcvarsall/vcvarsall\"\n\n/** The setup functions */\nexport const 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 sccache: setupSccache,\n doxygen: setupDoxygen,\n graphviz: setupGraphviz,\n cppcheck: setupCppcheck,\n clangtidy: setupClangTools,\n clangformat: setupClangFormat,\n msvc: setupMSVC,\n vcvarsall: setupVCVarsall,\n kcov: setupKcov,\n make: setupMake,\n task: setupTask,\n sevenzip: setupSevenZip,\n}\n\nexport type ToolName = keyof typeof setups\n\n/** The tools that can be installed */\nexport const tools = Object.keys(setups) as Array\n\n/** The possible inputs to the program */\nexport type Inputs = keyof typeof setups | \"compiler\" | \"architecture\" | \"timeout\"\n\n/** ‌ an array of possible inputs */\nexport const inputs: Array = [\"compiler\", \"architecture\", \"timeout\", ...tools]\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 \"admina\"\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 await setupDnfPack([{ name: \"dnf-plugins-core\" }])\n execRootSync(\"dnf\", [\"copr\", \"enable\", \"vbatts/bazel\"])\n return setupDnfPack([{ name: \"bazel4\" }])\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([{ name: \"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 { InstallationInfo } from \"./setupBin\"\nimport { execRoot, execRootSync } from \"admina\"\nimport { GITHUB_ACTIONS } from \"ci-info\"\nimport { addEnv, cpprc_path, setupCppInProfile } from \"../env/addEnv\"\nimport { pathExists } from \"path-exists\"\nimport { promises as fsPromises } from \"fs\"\nconst { appendFile } = fsPromises\nimport { execa, ExecaError } from \"execa\"\nimport escapeRegex from \"escape-string-regexp\"\nimport { warning, info } from \"ci-log\"\nimport which from \"which\"\n\n/* eslint-disable require-atomic-updates */\nlet didUpdate: boolean = false\nlet didInit: boolean = false\n\nexport type AptPackage = {\n name: string\n version?: string\n repositories?: string[]\n}\n\nconst retryErrors = [\n \"E: Could not get lock\",\n \"dpkg: error processing archive\",\n \"dpkg: error: dpkg status database is locked by another process\",\n]\n\n/** A function that installs a package using apt */\nexport async function setupAptPack(packages: AptPackage[], update = false): Promise {\n const apt: string = getApt()\n\n for (const { name, version } of packages) {\n info(`Installing ${name} ${version ?? \"\"} via ${apt}`)\n }\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 const allRepositories = [...new Set(packages.flatMap((pack) => pack.repositories ?? []))]\n\n if (allRepositories.length !== 0) {\n for (const repo of allRepositories) {\n // eslint-disable-next-line no-await-in-loop\n execRootSync(\"add-apt-repository\", [\"-y\", repo])\n }\n\n updateRepos(apt)\n }\n\n const aptArgs = await Promise.all(packages.map((pack) => getAptArg(pack.name, pack.version)))\n try {\n execRootSync(apt, [\"install\", \"--fix-broken\", \"-y\", ...aptArgs])\n } catch (err) {\n if (\"stderr\" in (err as ExecaError)) {\n const stderr = (err as ExecaError).stderr\n if (retryErrors.some((error) => stderr.includes(error))) {\n warning(`Failed to install packages ${aptArgs}. Retrying...`)\n execRootSync(apt, [\"install\", \"--fix-broken\", \"-y\", ...aptArgs])\n }\n } else {\n throw err\n }\n }\n\n return { binDir: \"/usr/bin/\" }\n}\n\nexport enum AptPackageType {\n NameDashVersion,\n NameEqualsVersion,\n Name,\n None,\n}\n\nexport async function aptPackageType(name: string, version: string | undefined): Promise {\n if (version !== undefined && version !== \"\") {\n const { stdout } = await execa(\"apt-cache\", [\n \"search\",\n \"--names-only\",\n `^${escapeRegex(name)}-${escapeRegex(version)}$`,\n ])\n if (stdout.trim() !== \"\") {\n return AptPackageType.NameDashVersion\n }\n\n try {\n // check if apt-get show can find the version\n // eslint-disable-next-line @typescript-eslint/no-shadow\n const { stdout } = await execa(\"apt-cache\", [\"show\", `${name}=${version}`])\n if (stdout.trim() === \"\") {\n return AptPackageType.NameEqualsVersion\n }\n } catch {\n // ignore\n }\n }\n\n try {\n const { stdout: showStdout } = await execa(\"apt-cache\", [\"show\", name])\n if (showStdout.trim() !== \"\") {\n return AptPackageType.Name\n }\n } catch {\n // ignore\n }\n\n return AptPackageType.None\n}\n\nasync function getAptArg(name: string, version: string | undefined) {\n const package_type = await aptPackageType(name, version)\n switch (package_type) {\n case AptPackageType.NameDashVersion:\n return `${name}-${version}`\n case AptPackageType.NameEqualsVersion:\n return `${name}=${version}`\n case AptPackageType.Name:\n return name\n case AptPackageType.None:\n default:\n throw new Error(`Could not find package ${name} ${version ?? \"\"}`)\n }\n}\n\nexport function hasNala() {\n return which.sync(\"nala\", { nothrow: true }) !== null\n}\n\nfunction getApt() {\n let apt: string\n if (hasNala()) {\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 const promises: Promise[] = [\n addAptKeyViaServer([\"3B4FE6ACC0B21F32\", \"40976EAF437D05B5\"], \"setup-cpp-ubuntu-archive.gpg\"),\n addAptKeyViaServer([\"1E9377A2BA9EF27F\"], \"launchpad-toolchain.gpg\"),\n ]\n if (apt === \"nala\") {\n // enable utf8 otherwise it fails because of the usage of ASCII encoding\n promises.push(\n addEnv(\"LANG\", \"C.UTF-8\", { shouldAddOnlyIfNotDefined: true }),\n addEnv(\"LC_ALL\", \"C.UTF-8\", { shouldAddOnlyIfNotDefined: true }),\n )\n }\n await Promise.all(promises)\n}\n\nfunction initGpg() {\n execRootSync(\"gpg\", [\"-k\"])\n}\n\nexport async function addAptKeyViaServer(keys: string[], name: string, server = \"keyserver.ubuntu.com\") {\n try {\n const fileName = `/etc/apt/trusted.gpg.d/${name}`\n if (!(await pathExists(fileName))) {\n initGpg()\n\n await Promise.all(\n keys.map(async (key) => {\n await execRoot(\"gpg\", [\n \"--no-default-keyring\",\n \"--keyring\",\n `gnupg-ring:${fileName}`,\n \"--keyserver\",\n server,\n \"--recv-keys\",\n key,\n ])\n await execRoot(\"chmod\", [\"644\", fileName])\n }),\n )\n }\n return fileName\n } catch (err) {\n warning(`Failed to add apt key via server ${server}: ${err}`)\n return undefined\n }\n}\n\nexport async function addAptKeyViaDownload(name: string, url: string) {\n const fileName = `/etc/apt/trusted.gpg.d/${name}`\n if (!(await pathExists(fileName))) {\n initGpg()\n await setupAptPack([{ name: \"curl\" }, { name: \"ca-certificates\" }], undefined)\n await execa(\"curl\", [\"-s\", url, \"-o\", `/tmp/${name}`])\n execRootSync(\"gpg\", [\"--no-default-keyring\", \"--keyring\", `gnupg-ring:${fileName}`, \"--import\", `/tmp/${name}`])\n execRootSync(\"chmod\", [\"644\", fileName])\n }\n return fileName\n}\n\nexport async function updateAptAlternatives(name: string, path: string, priority: number = 40) {\n if (GITHUB_ACTIONS) {\n return execRoot(\"update-alternatives\", [\"--install\", `/usr/bin/${name}`, name, path, priority.toString()])\n } else {\n await setupCppInProfile()\n return appendFile(\n cpprc_path,\n `\\nif [ $UID -eq 0 ]; then update-alternatives --install /usr/bin/${name} ${name} ${path} ${priority}; fi\\n`,\n )\n }\n}\n\nexport async function isPackageInstalled(regexp: string) {\n try {\n // check if a package matching the regexp is installed\n const { stdout } = await execa(\"dpkg\", [\"-l\", regexp])\n const lines = stdout.split(\"\\n\")\n // check if the output contains any lines that start with \"ii\"\n return lines.some((line) => line.startsWith(\"ii\"))\n } catch {\n return false\n }\n}\n","import { exportVariable, addPath as ghAddPath, info, setFailed } from \"@actions/core\"\nimport { GITHUB_ACTIONS } from \"ci-info\"\nimport { untildifyUser } from \"untildify-user\"\nimport { appendFileSync, readFileSync, writeFileSync } from \"fs\"\nimport { error, warning } from \"ci-log\"\nimport { execPowershell } from \"exec-powershell\"\nimport { delimiter } from \"path\"\nimport escapeSpace from \"escape-path-with-spaces\"\nimport { grantUserWriteAccess } from \"admina\"\nimport escapeQuote from \"escape-quotes\"\nimport { pathExists } from \"path-exists\"\n\ntype AddEnvOptions = {\n /** If true, the value will be escaped with quotes and spaces will be escaped with backslash */\n shouldEscapeSpace?: boolean\n /** If true, the variable will be only added if it is not defined */\n shouldAddOnlyIfNotDefined?: boolean\n}\n\nconst defaultAddEnvOptions: AddEnvOptions = {\n shouldEscapeSpace: false,\n shouldAddOnlyIfNotDefined: false,\n}\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(\n name: string,\n valGiven: string | undefined,\n options: AddEnvOptions = defaultAddEnvOptions,\n) {\n const val = escapeString(valGiven ?? \"\", options.shouldEscapeSpace)\n try {\n if (GITHUB_ACTIONS) {\n try {\n if (options.shouldAddOnlyIfNotDefined) {\n if (process.env[name] !== undefined) {\n info(`Environment variable ${name} is already defined. Skipping.`)\n return\n }\n }\n exportVariable(name, val)\n } catch (err) {\n error(err as Error)\n await addEnvSystem(name, val, options)\n }\n } else {\n await addEnvSystem(name, val, options)\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\nfunction escapeString(valGiven: string, shouldEscapeSpace: boolean = false) {\n const spaceEscaped = shouldEscapeSpace ? escapeSpace(valGiven) : valGiven\n return escapeQuote(spaceEscaped, '\"', \"\\\\\")\n}\n\nconst ignoredPaths = [/\\/usr\\/bin\\/?/, /\\/usr\\/local\\/bin\\/?/]\n\n/** Skip adding /usr/bin to PATH if it is already there */\nfunction isIgnoredPath(path: string) {\n if (ignoredPaths.some((checkedPath) => checkedPath.test(path))) {\n const paths = process.env.PATH?.split(delimiter) ?? []\n return paths.includes(path)\n }\n return false\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 if (isIgnoredPath(path)) {\n return\n }\n\n process.env.PATH = `${path}${delimiter}${process.env.PATH}`\n try {\n if (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, options: AddEnvOptions) {\n const val = valGiven ?? \"\"\n switch (process.platform) {\n case \"win32\": {\n if (options.shouldAddOnlyIfNotDefined) {\n if (process.env[name] !== undefined) {\n info(`Environment variable ${name} is already defined. Skipping.`)\n return\n }\n }\n // We do not use `execaSync(`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 await setupCppInProfile()\n if (options.shouldAddOnlyIfNotDefined) {\n appendFileSync(cpprc_path, `\\nif [ -z \"\\${${name}}\" ]; then export ${name}=\"${val}\"; fi\\n`)\n info(`if not defined ${name} then ${name}=\"${val}\" was added to \"${cpprc_path}`)\n } else {\n appendFileSync(cpprc_path, `\\nexport ${name}=\"${val}\"\\n`)\n info(`${name}=\"${val}\" was added to \"${cpprc_path}`)\n }\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 `execaSync(`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(\"PATH\", \"User\")); [Environment]::SetEnvironmentVariable(\"PATH\", \"${path};$USER_PATH\", \"User\")`,\n )\n info(`\"${path}\" was added to the PATH.`)\n return\n }\n case \"linux\":\n case \"darwin\": {\n await 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\n/* eslint-disable require-atomic-updates */\nlet setupCppInProfile_called = false\n\n/// handles adding conditions to source .cpprc file from .bashrc and .profile\nexport async 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 = \"# Automatically Generated by setup-cpp\\nexport SOURCE_CPPRC=0\"\n\n if (await pathExists(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 // source cpprc in bashrc/profile\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\nexport async function finalizeCpprc() {\n if (await pathExists(cpprc_path)) {\n const entries = readFileSync(cpprc_path, \"utf-8\").split(\"\\n\")\n\n const unique_entries = [...new Set(entries.reverse())].reverse() // remove duplicates, keeping the latest entry\n\n writeFileSync(cpprc_path, unique_entries.join(\"\\n\"))\n\n await grantUserWriteAccess(cpprc_path)\n }\n}\n","import * as 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.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.execaSync(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 {Buffer} from 'node:buffer';\nimport path from 'node:path';\nimport childProcess from 'node:child_process';\nimport process from 'node:process';\nimport crossSpawn from 'cross-spawn';\nimport stripFinalNewline from 'strip-final-newline';\nimport {npmRunPathEnv} from 'npm-run-path';\nimport onetime from 'onetime';\nimport {makeError} from './lib/error.js';\nimport {normalizeStdio, normalizeStdioNode} from './lib/stdio.js';\nimport {spawnedKill, spawnedCancel, setupTimeout, validateTimeout, setExitHandler} from './lib/kill.js';\nimport {addPipeMethods} from './lib/pipe.js';\nimport {handleInput, getSpawnedResult, makeAllStream, handleInputSync} from './lib/stream.js';\nimport {mergePromise, getSpawnedPromise} from './lib/promise.js';\nimport {joinCommand, parseCommand, parseTemplates, getEscapedCommand} from './lib/command.js';\nimport {logCommand, verboseDefault} from './lib/verbose.js';\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 npmRunPathEnv({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\tverbose: verboseDefault,\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 `execaSync()` 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\nexport function execa(file, args, options) {\n\tconst parsed = handleArguments(file, args, options);\n\tconst command = joinCommand(file, args);\n\tconst escapedCommand = getEscapedCommand(file, args);\n\tlogCommand(escapedCommand, parsed.options);\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\tmergePromise(dummySpawned, errorPromise);\n\t\treturn dummySpawned;\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 || (parsed.options.signal ? parsed.options.signal.aborted : false),\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);\n\n\tspawned.all = makeAllStream(spawned, parsed.options);\n\n\taddPipeMethods(spawned);\n\tmergePromise(spawned, handlePromiseOnce);\n\treturn spawned;\n}\n\nexport function execaSync(file, args, options) {\n\tconst parsed = handleArguments(file, args, options);\n\tconst command = joinCommand(file, args);\n\tconst escapedCommand = getEscapedCommand(file, args);\n\tlogCommand(escapedCommand, parsed.options);\n\n\tconst input = handleInputSync(parsed.options);\n\n\tlet result;\n\ttry {\n\t\tresult = childProcess.spawnSync(parsed.file, parsed.args, {...parsed.options, input});\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\nconst normalizeScriptStdin = ({input, inputFile, stdio}) => input === undefined && inputFile === undefined && stdio === undefined\n\t? {stdin: 'inherit'}\n\t: {};\n\nconst normalizeScriptOptions = (options = {}) => ({\n\tpreferLocal: true,\n\t...normalizeScriptStdin(options),\n\t...options,\n});\n\nfunction create$(options) {\n\tfunction $(templatesOrOptions, ...expressions) {\n\t\tif (!Array.isArray(templatesOrOptions)) {\n\t\t\treturn create$({...options, ...templatesOrOptions});\n\t\t}\n\n\t\tconst [file, ...args] = parseTemplates(templatesOrOptions, expressions);\n\t\treturn execa(file, args, normalizeScriptOptions(options));\n\t}\n\n\t$.sync = (templates, ...expressions) => {\n\t\tif (!Array.isArray(templates)) {\n\t\t\tthrow new TypeError('Please use $(options).sync`command` instead of $.sync(options)`command`.');\n\t\t}\n\n\t\tconst [file, ...args] = parseTemplates(templates, expressions);\n\t\treturn execaSync(file, args, normalizeScriptOptions(options));\n\t};\n\n\treturn $;\n}\n\nexport const $ = create$();\n\nexport function execaCommand(command, options) {\n\tconst [file, ...args] = parseCommand(command);\n\treturn execa(file, args, options);\n}\n\nexport function execaCommandSync(command, options) {\n\tconst [file, ...args] = parseCommand(command);\n\treturn execaSync(file, args, options);\n}\n\nexport function execaNode(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 = normalizeStdioNode(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","import {signalsByName} from '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\nexport const 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","const aliases = ['stdin', 'stdout', 'stderr'];\n\nconst hasAlias = options => aliases.some(alias => options[alias] !== undefined);\n\nexport const 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\n// `ipc` is pushed unless it is already present\nexport const normalizeStdioNode = 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","import os from 'node:os';\nimport onExit from 'signal-exit';\n\nconst DEFAULT_FORCE_KILL_TIMEOUT = 1000 * 5;\n\n// Monkey-patches `childProcess.kill()` to add `forceKillAfterTimeout` behavior\nexport const 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) => isSigterm(signal) && forceKillAfterTimeout !== false && killResult;\n\nconst isSigterm = signal => signal === os.constants.signals.SIGTERM\n\t\t|| (typeof signal === 'string' && signal.toUpperCase() === 'SIGTERM');\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()`\nexport const 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\nexport const 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\nexport const 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\nexport const 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","import {createWriteStream} from 'node:fs';\nimport {ChildProcess} from 'node:child_process';\nimport {isWritableStream} from 'is-stream';\n\nconst isExecaChildProcess = target => target instanceof ChildProcess && typeof target.then === 'function';\n\nconst pipeToTarget = (spawned, streamName, target) => {\n\tif (typeof target === 'string') {\n\t\tspawned[streamName].pipe(createWriteStream(target));\n\t\treturn spawned;\n\t}\n\n\tif (isWritableStream(target)) {\n\t\tspawned[streamName].pipe(target);\n\t\treturn spawned;\n\t}\n\n\tif (!isExecaChildProcess(target)) {\n\t\tthrow new TypeError('The second argument must be a string, a stream or an Execa child process.');\n\t}\n\n\tif (!isWritableStream(target.stdin)) {\n\t\tthrow new TypeError('The target child process\\'s stdin must be available.');\n\t}\n\n\tspawned[streamName].pipe(target.stdin);\n\treturn target;\n};\n\nexport const addPipeMethods = spawned => {\n\tif (spawned.stdout !== null) {\n\t\tspawned.pipeStdout = pipeToTarget.bind(undefined, spawned, 'stdout');\n\t}\n\n\tif (spawned.stderr !== null) {\n\t\tspawned.pipeStderr = pipeToTarget.bind(undefined, spawned, 'stderr');\n\t}\n\n\tif (spawned.all !== undefined) {\n\t\tspawned.pipeAll = pipeToTarget.bind(undefined, spawned, 'all');\n\t}\n};\n","import {createReadStream, readFileSync} from 'node:fs';\nimport {isStream} from 'is-stream';\nimport getStream from 'get-stream';\nimport mergeStream from 'merge-stream';\n\nconst validateInputOptions = input => {\n\tif (input !== undefined) {\n\t\tthrow new TypeError('The `input` and `inputFile` options cannot be both set.');\n\t}\n};\n\nconst getInputSync = ({input, inputFile}) => {\n\tif (typeof inputFile !== 'string') {\n\t\treturn input;\n\t}\n\n\tvalidateInputOptions(input);\n\treturn readFileSync(inputFile);\n};\n\n// `input` and `inputFile` option in sync mode\nexport const handleInputSync = options => {\n\tconst input = getInputSync(options);\n\n\tif (isStream(input)) {\n\t\tthrow new TypeError('The `input` option cannot be a stream in sync mode');\n\t}\n\n\treturn input;\n};\n\nconst getInput = ({input, inputFile}) => {\n\tif (typeof inputFile !== 'string') {\n\t\treturn input;\n\t}\n\n\tvalidateInputOptions(input);\n\treturn createReadStream(inputFile);\n};\n\n// `input` and `inputFile` option in async mode\nexport const handleInput = (spawned, options) => {\n\tconst input = getInput(options);\n\n\tif (input === 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`\nexport const 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\t// When `buffer` is `false`, `streamPromise` is `undefined` and there is no buffered data to retrieve\n\tif (!stream || streamPromise === undefined) {\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)\nexport const 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","// eslint-disable-next-line unicorn/prefer-top-level-await\nconst nativePromisePrototype = (async () => {})().constructor.prototype;\n\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`\nexport const 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\t: descriptor.value.bind(promise);\n\n\t\tReflect.defineProperty(spawned, property, {...descriptor, value});\n\t}\n};\n\n// Use promises instead of `child_process` events\nexport const getSpawnedPromise = spawned => new Promise((resolve, reject) => {\n\tspawned.on('exit', (exitCode, signal) => {\n\t\tresolve({exitCode, signal});\n\t});\n\n\tspawned.on('error', error => {\n\t\treject(error);\n\t});\n\n\tif (spawned.stdin) {\n\t\tspawned.stdin.on('error', error => {\n\t\t\treject(error);\n\t\t});\n\t}\n});\n","import {Buffer} from 'node:buffer';\nimport {ChildProcess} from 'node:child_process';\n\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\nexport const joinCommand = (file, args) => normalizeArgs(file, args).join(' ');\n\nexport const getEscapedCommand = (file, args) => normalizeArgs(file, args).map(arg => escapeArg(arg)).join(' ');\n\nconst SPACES_REGEXP = / +/g;\n\n// Handle `execaCommand()`\nexport const 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\nconst parseExpression = expression => {\n\tconst typeOfExpression = typeof expression;\n\n\tif (typeOfExpression === 'string') {\n\t\treturn expression;\n\t}\n\n\tif (typeOfExpression === 'number') {\n\t\treturn String(expression);\n\t}\n\n\tif (\n\t\ttypeOfExpression === 'object'\n\t\t&& expression !== null\n\t\t&& !(expression instanceof ChildProcess)\n\t\t&& 'stdout' in expression\n\t) {\n\t\tconst typeOfStdout = typeof expression.stdout;\n\n\t\tif (typeOfStdout === 'string') {\n\t\t\treturn expression.stdout;\n\t\t}\n\n\t\tif (Buffer.isBuffer(expression.stdout)) {\n\t\t\treturn expression.stdout.toString();\n\t\t}\n\n\t\tthrow new TypeError(`Unexpected \"${typeOfStdout}\" stdout in template expression`);\n\t}\n\n\tthrow new TypeError(`Unexpected \"${typeOfExpression}\" in template expression`);\n};\n\nconst concatTokens = (tokens, nextTokens, isNew) => isNew || tokens.length === 0 || nextTokens.length === 0\n\t? [...tokens, ...nextTokens]\n\t: [\n\t\t...tokens.slice(0, -1),\n\t\t`${tokens[tokens.length - 1]}${nextTokens[0]}`,\n\t\t...nextTokens.slice(1),\n\t];\n\nconst parseTemplate = ({templates, expressions, tokens, index, template}) => {\n\tconst templateString = template ?? templates.raw[index];\n\tconst templateTokens = templateString.split(SPACES_REGEXP).filter(Boolean);\n\tconst newTokens = concatTokens(\n\t\ttokens,\n\t\ttemplateTokens,\n\t\ttemplateString.startsWith(' '),\n\t);\n\n\tif (index === expressions.length) {\n\t\treturn newTokens;\n\t}\n\n\tconst expression = expressions[index];\n\tconst expressionTokens = Array.isArray(expression)\n\t\t? expression.map(expression => parseExpression(expression))\n\t\t: [parseExpression(expression)];\n\treturn concatTokens(\n\t\tnewTokens,\n\t\texpressionTokens,\n\t\ttemplateString.endsWith(' '),\n\t);\n};\n\nexport const parseTemplates = (templates, expressions) => {\n\tlet tokens = [];\n\n\tfor (const [index, template] of templates.entries()) {\n\t\ttokens = parseTemplate({templates, expressions, tokens, index, template});\n\t}\n\n\treturn tokens;\n};\n\n","import {debuglog} from 'node:util';\nimport process from 'node:process';\n\nexport const verboseDefault = debuglog('execa').enabled;\n\nconst padField = (field, padding) => String(field).padStart(padding, '0');\n\nconst getTimestamp = () => {\n\tconst date = new Date();\n\treturn `${padField(date.getHours(), 2)}:${padField(date.getMinutes(), 2)}:${padField(date.getSeconds(), 2)}.${padField(date.getMilliseconds(), 3)}`;\n};\n\nexport const logCommand = (escapedCommand, {verbose}) => {\n\tif (!verbose) {\n\t\treturn;\n\t}\n\n\tprocess.stderr.write(`[${getTimestamp()}] ${escapedCommand}\\n`);\n};\n","const os = require(\"os\");\r\n\r\n// to detect on with os user had used path.resolve(...)\r\nconst is_posix_os = (os.platform() !== \"win32\");\r\nconst version = os.release();\r\n\r\n// For some windows version (Windows 10 v1803), it is not useful to escape spaces in path\r\n// https://docs.microsoft.com/en-us/windows/release-information/\r\nconst windows_version_regex = /(\\d+\\.\\d+)\\.(\\d+)/;\r\nconst should_not_escape = (major_release = \"\", os_build = \"\") =>\r\n /1\\d+\\.\\d+/.test(major_release) && Number(os_build) >= 17134.1184;\r\n\r\nmodule.exports = function (given_path) {\r\n return (is_posix_os)\r\n // for posix path, escape is simple\r\n ? given_path.replace(/(\\s+)/g, '\\\\$1')\r\n // for windows, it depend of the build\r\n : (should_not_escape(...windows_version_regex.exec(version).splice(1)))\r\n // on major version, no need to escape anymore\r\n // https://support.microsoft.com/en-us/help/4467268/url-encoded-unc-paths-not-url-decoded-in-windows-10-version-1803-later\r\n ? given_path\r\n // on older version, replace space with symbol %20\r\n : given_path.replace(/(\\s+)/g, '%20');\r\n};","// Generated by CoffeeScript 1.10.0\n(function() {\n var regexEscape, reverse;\n\n regexEscape = require('escape-string-regexp');\n\n reverse = function(s) {\n return s.split('').reverse().join('');\n };\n\n module.exports = function(s, chars, escapeChar) {\n var regex;\n if (chars == null) {\n chars = '\\'';\n }\n if (escapeChar == null) {\n escapeChar = '\\\\';\n }\n if (typeof s !== 'string') {\n return s;\n }\n regex = new RegExp(\"([\" + (regexEscape(chars)) + \"])(?!\" + (regexEscape(escapeChar)) + \")\", 'g');\n return reverse(reverse(s).replace(regex, \"$1\" + escapeChar));\n };\n\n}).call(this);\n","/* eslint-disable require-atomic-updates */\nimport { info } from \"@actions/core\"\nimport { execaSync } from \"execa\"\nimport { join } from \"patha\"\nimport which from \"which\"\nimport { getBrewPath, setupBrew } from \"../../brew/brew\"\nimport { InstallationInfo } from \"./setupBin\"\n\nlet hasBrew = false\n\n/** A function that installs a package using brew */\nexport async function setupBrewPack(\n name: string,\n version?: string,\n extraArgs: string[] = [],\n): Promise {\n info(`Installing ${name} ${version ?? \"\"} via brew`)\n\n if (!hasBrew || which.sync(\"brew\", { nothrow: true }) === null) {\n await setupBrew(\"\", \"\", process.arch)\n hasBrew = true\n }\n\n const binDir = getBrewPath()\n\n // brew is not thread-safe\n execaSync(\n join(binDir, \"brew\"),\n [\"install\", version !== undefined && version !== \"\" ? `${name}@${version}` : name, ...extraArgs],\n {\n stdio: \"inherit\",\n },\n )\n\n return { binDir }\n}\n","import { execaSync } from \"execa\"\nimport { dirname } from \"patha\"\nimport which from \"which\"\nimport { tmpdir } from \"os\"\nimport path, { join } from \"path\"\nimport { mkdirP } from \"@actions/io\"\nimport { readFileSync } from \"fs\"\nimport { addPath } from \"../utils/env/addEnv\"\n\n/* eslint-disable require-atomic-updates */\nlet binDir: string | undefined\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async 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 const brewTempDirectory = path.join(tmpdir(), \"setup-cpp\", \"brew\")\n await mkdirP(brewTempDirectory)\n\n execaSync(\"curl\", [\"-LJO\", \"https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh\"], {\n cwd: brewTempDirectory,\n })\n const installSh = join(brewTempDirectory, \"install.sh\")\n\n if (process.platform === \"linux\") {\n const installShContent = readFileSync(installSh, \"utf-8\")\n\n installShContent.replace(\"#!/bin/bash\", \"\")\n }\n\n execaSync(\"/bin/bash\", [installSh], {\n stdio: \"inherit\",\n env: {\n NONINTERACTIVE: \"1\",\n },\n })\n\n binDir = getBrewPath()\n await addPath(binDir)\n\n return { binDir }\n}\n\nexport function getBrewPath() {\n if (process.platform === \"linux\") {\n return \"/home/linuxbrew/.linuxbrew/bin/\"\n } else {\n return \"/usr/local/bin/\"\n }\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 { execaSync } from \"execa\"\nimport { info } 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 execaSync(\"choco\", [\"install\", \"-y\", name, `--version=${version}`, ...args], {\n env,\n extendEnv: false,\n stdio: \"inherit\",\n })\n } else {\n try {\n execaSync(\"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 info(`${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","/* eslint-disable require-atomic-updates */\nimport { execaSync } from \"execa\"\nimport { pathExists } from \"path-exists\"\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 execaSync(\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 (await pathExists(binDir)) {\n return { binDir }\n }\n return undefined\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","import { InstallationInfo } from \"./setupBin\"\nimport { execRootSync } from \"admina\"\nimport { info, warning } from \"ci-log\"\nimport { execa } from \"execa\"\n\ntype DnfPackage = {\n name: string\n version?: string\n}\n\n/** A function that installs a package using dnf */\nexport async function setupDnfPack(packages: DnfPackage[]): Promise {\n for (const { name, version } of packages) {\n info(`Installing ${name} ${version ?? \"\"} via dnf`)\n }\n\n const dnfArgs = await Promise.all(packages.map((pack) => getDnfArg(pack.name, pack.version)))\n execRootSync(\"dnf\", [\"-y\", \"install\", ...dnfArgs])\n\n return { binDir: \"/usr/bin/\" }\n}\n\nasync function getDnfArg(name: string, version: string | undefined) {\n if (version !== undefined && version !== \"\") {\n // check if name-version is available\n const { stdout } = await execa(\"dnf\", [\"search\", \"-q\", `${name}-${version}`])\n\n if (stdout.trim() !== \"\") {\n return `${name}-${version}`\n } else {\n // try with ${name}${version}\n // eslint-disable-next-line @typescript-eslint/no-shadow\n const { stdout } = await execa(\"dnf\", [\"search\", \"-q\", `${name}${version}`])\n if (stdout.trim() !== \"\") {\n return `${name}${version}`\n }\n\n warning(`Failed to install ${name} ${version} via dnf, trying without version`)\n }\n }\n return name\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 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([{ name: \"ccache\", version }])\n } else if (isUbuntu()) {\n return setupAptPack([{ name: \"ccache\", version }])\n }\n throw new Error(`Unsupported linux distribution`)\n }\n default: {\n throw new Error(`Unsupported platform`)\n }\n }\n}\n","import { InstallationInfo } from \"./setupBin\"\nimport { execRootSync } from \"admina\"\nimport { info, warning } from \"ci-log\"\nimport { execa, execaSync } from \"execa\"\nimport which from \"which\"\n\n/* eslint-disable require-atomic-updates */\nlet didUpdate: boolean = false\nlet didInit: boolean = false\n\n/** A function that installs a package using pacman */\nexport async function setupPacmanPack(name: string, version?: string, aur?: string): Promise {\n info(`Installing ${name} ${version ?? \"\"} via pacman`)\n\n const pacman = \"pacman\"\n\n if (aur === \"yay\" && which.sync(\"yay\", { nothrow: true }) === null) {\n // TODO: install yay automatically\n throw new Error(`yay is needed for ${name}, but it is not installed, please install it manually first`)\n }\n\n // yay can't run as root, so skip update\n if (!didUpdate && aur !== \"yay\") {\n execRootSync(pacman, [\"-Sy\", \"--noconfirm\"])\n didUpdate = true\n }\n\n // install base-devel\n if (!didInit && aur !== \"yay\") {\n execRootSync(pacman, [\"-S\", \"--noconfirm\", \"base-devel\"])\n didInit = true\n }\n\n const runInstall = (arg: string) => {\n if (aur === \"yay\") {\n // run yay as non-root, ERROR: Running makepkg as root is not allowed as it can cause permanent, catastrophic damage to your system.\n return execaSync(aur, [\"-S\", \"--noconfirm\", arg])\n }\n return execRootSync(aur ?? pacman, [\"-S\", \"--noconfirm\", arg])\n }\n\n if (version !== undefined && version !== \"\") {\n // check if version is available\n const availableVersions = await availablePacmanVersions(pacman, name)\n if (availableVersions.includes(version)) {\n // try different version formats\n try {\n runInstall(`${name}=${version}`)\n } catch {\n runInstall(`${name}${version}`)\n }\n } else {\n // try without version\n info(`Failed to install ${name} ${version} via pacman, trying without version`)\n runInstall(name)\n }\n } else {\n // version not specified, install latest\n runInstall(name)\n }\n\n return { binDir: \"/usr/bin/\" }\n}\n\nconst pacmanSiVersionRegex = /Version\\s*:\\s*(.*)/g\n\n/** Query pacman for available versions */\nasync function availablePacmanVersions(pacman: string, name: string) {\n const availableVersions = []\n try {\n const { stdout } = await execa(pacman, [\"-Si\", name])\n\n for (const match of stdout.matchAll(pacmanSiVersionRegex)) {\n availableVersions.push(match[1])\n }\n } catch (err) {\n warning(`Failed to get available versions for ${name}: ${err}`)\n }\n return availableVersions\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",null,null,null,null,"import { find, downloadTool, cacheDir } from \"@actions/tool-cache\"\nimport { addPath } from \"../env/addEnv\"\nimport { join } from \"patha\"\nimport { info } from \"ci-log\"\n\nimport { tmpdir } from \"os\"\nimport { GITHUB_ACTIONS } from \"ci-info\"\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\"\nimport { pathExists } from \"path-exists\"\nimport retry from \"retry-as-promised\"\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 bin?: 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 (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 (await pathExists(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 ((await Promise.all([pathExists(binDir), pathExists(binFile)])).includes(false)) {\n try {\n info(`Download ${name} ${version}`)\n // try to download the package 4 times with 2 seconds delay\n const downloaded = await retry(\n () => {\n return downloadTool(url)\n },\n { name: url, max: 4, backoffBase: 2000, report: (err) => info(err) },\n )\n\n if (!didInit) {\n info(`Installing extraction dependencies`)\n if (process.platform === \"linux\") {\n if (isArch()) {\n await Promise.all([setupPacmanPack(\"unzip\"), setupPacmanPack(\"tar\"), setupPacmanPack(\"xz\")])\n } else if (hasDnf()) {\n await setupDnfPack([{ name: \"unzip\" }, { name: \"tar\" }, { name: \"xz\" }])\n } else if (isUbuntu()) {\n await setupAptPack([{ name: \"unzip\" }, { name: \"tar\" }, { name: \"xz-utils\" }])\n }\n }\n // eslint-disable-next-line require-atomic-updates\n didInit = true\n }\n\n info(`Extracting ${downloaded} to ${setupDir}`)\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 (GITHUB_ACTIONS && typeof process.env.RUNNER_TOOL_CACHE === \"string\") {\n await cacheDir(setupDir, name, version)\n }\n\n return { installDir, binDir }\n}\n","'use strict';\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.retryAsPromised = exports.TimeoutError = void 0;\nclass TimeoutError extends Error {\n constructor(message, previousError) {\n super(message);\n this.name = \"TimeoutError\";\n this.previous = previousError;\n }\n}\nexports.TimeoutError = TimeoutError;\nfunction matches(match, err) {\n if (typeof match === 'function') {\n try {\n if (err instanceof match)\n return true;\n }\n catch (_) {\n return !!match(err);\n }\n }\n if (match === err.toString())\n return true;\n if (match === err.message)\n return true;\n return match instanceof RegExp\n && (match.test(err.message) || match.test(err.toString()));\n}\nfunction retryAsPromised(callback, optionsInput) {\n if (!callback || !optionsInput) {\n throw new Error('retry-as-promised must be passed a callback and a options set');\n }\n optionsInput = (typeof optionsInput === \"number\" ? { max: optionsInput } : optionsInput);\n const options = {\n $current: \"$current\" in optionsInput ? optionsInput.$current : 1,\n max: optionsInput.max,\n timeout: optionsInput.timeout || undefined,\n match: optionsInput.match ? Array.isArray(optionsInput.match) ? optionsInput.match : [optionsInput.match] : [],\n backoffBase: optionsInput.backoffBase === undefined ? 100 : optionsInput.backoffBase,\n backoffExponent: optionsInput.backoffExponent || 1.1,\n report: optionsInput.report,\n name: optionsInput.name || callback.name || 'unknown'\n };\n if (options.match && !Array.isArray(options.match))\n options.match = [options.match];\n if (options.report)\n options.report('Trying ' + options.name + ' #' + options.$current + ' at ' + new Date().toLocaleTimeString(), options);\n return new Promise(function (resolve, reject) {\n let timeout;\n let backoffTimeout;\n let lastError;\n if (options.timeout) {\n timeout = setTimeout(function () {\n if (backoffTimeout)\n clearTimeout(backoffTimeout);\n reject(new TimeoutError(options.name + ' timed out', lastError));\n }, options.timeout);\n }\n Promise.resolve(callback({ current: options.$current }))\n .then(resolve)\n .then(function () {\n if (timeout)\n clearTimeout(timeout);\n if (backoffTimeout)\n clearTimeout(backoffTimeout);\n })\n .catch(function (err) {\n if (timeout)\n clearTimeout(timeout);\n if (backoffTimeout)\n clearTimeout(backoffTimeout);\n lastError = err;\n if (options.report)\n options.report((err && err.toString()) || err, options, err);\n // Should not retry if max has been reached\n var shouldRetry = options.$current < options.max;\n if (!shouldRetry)\n return reject(err);\n shouldRetry = options.match.length === 0 || options.match.some(function (match) {\n return matches(match, err);\n });\n if (!shouldRetry)\n return reject(err);\n var retryDelay = options.backoffBase * Math.pow(options.backoffExponent, options.$current - 1);\n // Do some accounting\n options.$current++;\n if (options.report)\n options.report(`Retrying ${options.name} (${options.$current})`, options);\n if (retryDelay) {\n // Use backoff function to ease retry rate\n if (options.report)\n options.report(`Delaying retry of ${options.name} by ${retryDelay}`, options);\n backoffTimeout = setTimeout(function () {\n retryAsPromised(callback, options)\n .then(resolve)\n .catch(reject);\n }, retryDelay);\n }\n else {\n retryAsPromised(callback, options)\n .then(resolve)\n .catch(reject);\n }\n });\n });\n}\nexports.retryAsPromised = retryAsPromised;\n;\nexports.default = retryAsPromised;\n","import { execa } from \"execa\"\nimport { mkdirP } from \"@actions/io\"\nimport which from \"which\"\nimport { setupSevenZip } from \"../../sevenzip/sevenzip\"\nimport { warning } from \"ci-log\"\nimport { grantUserWriteAccess } from \"admina\"\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 await grantUserWriteAccess(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 grantUserWriteAccess(dest)\n return dest\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 return setupDnfPack([\n { name: \"p7zip\", version },\n { name: \"p7zip-plugins\", version },\n ])\n } else if (isUbuntu()) {\n return setupAptPack([{ name: \"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 { setupPipPack } from \"../utils/setup/setupPipPack\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport function setupConan(version: string | undefined, _setupDir: string, _arch: string) {\n return setupPipPack(\"conan\", version)\n}\n","import { info } from \"@actions/core\"\nimport { execa, execaSync } from \"execa\"\nimport { pathExists } from \"path-exists\"\nimport { addExeExt, dirname, join } from \"patha\"\nimport which from \"which\"\nimport { addPythonBaseExecPrefix, setupPython } from \"../../python/python\"\nimport { addPath } from \"../env/addEnv\"\nimport { InstallationInfo } from \"./setupBin\"\nimport { getVersion } from \"../../versions/versions\"\nimport { ubuntuVersion } from \"../env/ubuntu_version\"\nimport memoize from \"micro-memoize\"\nimport { isArch } from \"../env/isArch\"\nimport { setupPacmanPack } from \"./setupPacmanPack\"\nimport { hasDnf } from \"../env/hasDnf\"\nimport { setupDnfPack } from \"./setupDnfPack\"\nimport { isUbuntu } from \"../env/isUbuntu\"\nimport { setupAptPack } from \"./setupAptPack\"\n\nexport type SetupPipPackOptions = {\n /** Whether to use pipx instead of pip */\n usePipx?: boolean\n /** Whether to install the package as a user */\n user?: boolean\n /** Whether to upgrade the package */\n upgrade?: boolean\n /** Whether the package is a library */\n isLibrary?: boolean\n}\n\n/** A function that installs a package using pip */\nexport async function setupPipPack(\n name: string,\n version?: string,\n options: SetupPipPackOptions = {},\n): Promise {\n return setupPipPackWithPython(await getPython(), name, version, options)\n}\n\nexport async function setupPipPackWithPython(\n givenPython: string,\n name: string,\n version?: string,\n options: SetupPipPackOptions = {},\n): Promise {\n const { usePipx = true, user = true, upgrade = false, isLibrary = false } = options\n\n const isPipx = usePipx && !isLibrary && (await hasPipx(givenPython))\n const pip = isPipx ? \"pipx\" : \"pip\"\n\n const hasPackage = await pipHasPackage(givenPython, name)\n if (hasPackage) {\n try {\n info(`Installing ${name} ${version ?? \"\"} via ${pip}`)\n\n const nameAndVersion = version !== undefined && version !== \"\" ? `${name}==${version}` : name\n const upgradeFlag = upgrade ? (isPipx ? [\"upgrade\"] : [\"install\", \"--upgrade\"]) : [\"install\"]\n const userFlag = !isPipx && user ? [\"--user\"] : []\n\n execaSync(givenPython, [\"-m\", pip, ...upgradeFlag, ...userFlag, nameAndVersion], {\n stdio: \"inherit\",\n })\n } catch (err) {\n info(`Failed to install ${name} via ${pip}: ${err}.`)\n if ((await setupPipPackSystem(name)) === null) {\n throw new Error(`Failed to install ${name} via ${pip}: ${err}.`)\n }\n }\n } else {\n if ((await setupPipPackSystem(name)) === null) {\n throw new Error(`Failed to install ${name} as it was not found via ${pip} or the system package manager`)\n }\n }\n\n const execPaths = await addPythonBaseExecPrefix(givenPython)\n const binDir = await findBinDir(execPaths, name)\n\n await addPath(binDir)\n\n return { binDir }\n}\n\nexport async function hasPipx(givenPython: string) {\n return (await execa(givenPython, [\"-m\", \"pipx\", \"--help\"], { stdio: \"ignore\", reject: false })).exitCode === 0\n}\n\nasync function getPython_raw(): Promise {\n const pythonBin = (await setupPython(getVersion(\"python\", undefined, await ubuntuVersion()), \"\", process.arch)).bin\n if (pythonBin === undefined) {\n throw new Error(\"Python binary was not found\")\n }\n return pythonBin\n}\nconst getPython = memoize(getPython_raw, { isPromise: true })\n\nasync function pipHasPackage(python: string, name: string) {\n const result = await execa(python, [\"-m\", \"pip\", \"-qq\", \"index\", \"versions\", name], {\n stdio: \"ignore\",\n reject: false,\n })\n return result.exitCode === 0\n}\n\nasync function findBinDir(dirs: string[], name: string) {\n const exists = await Promise.all(dirs.map((dir) => pathExists(join(dir, addExeExt(name)))))\n const dirIndex = exists.findIndex((exist) => exist)\n if (dirIndex !== -1) {\n const foundDir = dirs[dirIndex]\n return foundDir\n }\n\n const whichDir = which.sync(addExeExt(name), { nothrow: true })\n if (whichDir !== null) {\n return dirname(whichDir)\n }\n\n return dirs[dirs.length - 1]\n}\n\nexport function setupPipPackSystem(name: string) {\n if (process.platform === \"linux\") {\n info(`Installing ${name} via the system package manager`)\n if (isArch()) {\n return setupPacmanPack(`python-${name}`)\n } else if (hasDnf()) {\n return setupDnfPack([{ name: `python3-${name}` }])\n } else if (isUbuntu()) {\n return setupAptPack([{ name: `python3-${name}` }])\n }\n }\n return null\n}\n","/* eslint-disable require-atomic-updates */\nimport { getExecOutput } from \"@actions/exec\"\nimport assert from \"assert\"\nimport { GITHUB_ACTIONS } from \"ci-info\"\nimport { info, warning } from \"ci-log\"\nimport { execa } from \"execa\"\nimport memoize from \"micro-memoize\"\nimport { addExeExt, dirname, join } from \"patha\"\nimport which from \"which\"\nimport { addPath } from \"../utils/env/addEnv\"\nimport { hasDnf } from \"../utils/env/hasDnf\"\nimport { isArch } from \"../utils/env/isArch\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\nimport { setupAptPack } from \"../utils/setup/setupAptPack\"\nimport { InstallationInfo } from \"../utils/setup/setupBin\"\nimport { setupBrewPack } from \"../utils/setup/setupBrewPack\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack\"\nimport { isBinUptoDate } from \"../utils/setup/version\"\nimport { unique } from \"../utils/std\"\nimport { MinVersions } from \"../versions/default_versions\"\nimport { pathExists } from \"path-exists\"\nimport { hasPipx, setupPipPackSystem, setupPipPackWithPython } from \"../utils/setup/setupPipPack\"\n\nexport async function setupPython(version: string, setupDir: string, arch: string): Promise {\n const installInfo = await findOrSetupPython(version, setupDir, arch)\n assert(installInfo.bin !== undefined)\n const foundPython = installInfo.bin\n\n // setup pip\n const foundPip = await findOrSetupPip(foundPython)\n if (foundPip === undefined) {\n throw new Error(\"pip was not installed correctly\")\n }\n\n await setupPipx(foundPython)\n\n await setupWheel(foundPython)\n\n return installInfo\n}\n\nasync function setupPipx(foundPython: string) {\n try {\n if (!(await hasPipx(foundPython))) {\n await setupPipPackWithPython(foundPython, \"pipx\", undefined, { upgrade: true, usePipx: false })\n }\n await execa(foundPython, [\"-m\", \"pipx\", \"ensurepath\"], { stdio: \"inherit\" })\n await setupPipPackWithPython(foundPython, \"venv\", undefined, { upgrade: false, usePipx: false })\n } catch (err) {\n warning(`Failed to install pipx: ${(err as Error).toString()}. Ignoring...`)\n }\n}\n\n/** Setup wheel and setuptools */\nasync function setupWheel(foundPython: string) {\n try {\n await setupPipPackWithPython(foundPython, \"setuptools\", undefined, {\n upgrade: true,\n isLibrary: true,\n usePipx: false,\n })\n await setupPipPackWithPython(foundPython, \"wheel\", undefined, { upgrade: true, isLibrary: true, usePipx: false })\n } catch (err) {\n warning(`Failed to install setuptools or wheel: ${(err as Error).toString()}. Ignoring...`)\n }\n}\n\nasync function findOrSetupPython(version: string, setupDir: string, arch: string) {\n let installInfo: InstallationInfo | undefined\n let foundPython = await findPython(setupDir)\n\n if (foundPython !== undefined) {\n const binDir = dirname(foundPython)\n installInfo = { bin: foundPython, installDir: binDir, binDir }\n } else {\n // if python is not found, try to install it\n if (GITHUB_ACTIONS) {\n // install python in GitHub Actions\n try {\n info(\"Installing python in GitHub Actions\")\n const { setupActionsPython } = await import(\"./actions_python\")\n await setupActionsPython(version, setupDir, arch)\n\n foundPython = (await findPython(setupDir))!\n const binDir = dirname(foundPython)\n installInfo = { bin: foundPython, installDir: binDir, binDir }\n } catch (err) {\n warning((err as Error).toString())\n }\n }\n if (installInfo === undefined) {\n // install python via system package manager\n installInfo = await setupPythonSystem(setupDir, version)\n }\n }\n\n if (foundPython === undefined || installInfo.bin === undefined) {\n foundPython = (await findPython(setupDir))!\n installInfo.bin = foundPython\n }\n\n return installInfo\n}\n\nasync function setupPythonSystem(setupDir: string, version: string) {\n let installInfo: InstallationInfo | undefined\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 bin = (await findPython(setupDir))!\n const binDir = dirname(bin)\n /** The directory which the tool is installed to */\n await addPath(binDir)\n installInfo = { installDir: binDir, binDir, bin }\n break\n }\n case \"darwin\": {\n installInfo = await setupBrewPack(\"python3\", version)\n // add the python and pip binaries to the path\n const brewPythonPrefix = await execa(\"brew\", [\"--prefix\", \"python\"], { stdio: \"pipe\" })\n const brewPythonBin = join(brewPythonPrefix.stdout, \"libexec\", \"bin\")\n await addPath(brewPythonBin)\n\n break\n }\n case \"linux\": {\n if (isArch()) {\n installInfo = await setupPacmanPack(\"python\", version)\n } else if (hasDnf()) {\n installInfo = await setupDnfPack([{ name: \"python3\", version }])\n } else if (isUbuntu()) {\n installInfo = await setupAptPack([{ name: \"python3\", version }, { name: \"python-is-python3\" }])\n } else {\n throw new Error(\"Unsupported linux distributions\")\n }\n break\n }\n default: {\n throw new Error(\"Unsupported platform\")\n }\n }\n return installInfo\n}\n\nasync function findPython(binDir?: string) {\n for (const pythonBin of [\"python3\", \"python\"]) {\n // eslint-disable-next-line no-await-in-loop\n const foundPython = await isPythonUpToDate(pythonBin, binDir)\n if (foundPython !== undefined) {\n return foundPython\n }\n }\n return undefined\n}\n\nasync function isPythonUpToDate(candidate: string, binDir?: string) {\n try {\n if (binDir !== undefined) {\n const pythonBinPath = join(binDir, addExeExt(candidate))\n if (await pathExists(pythonBinPath)) {\n if (await isBinUptoDate(pythonBinPath, MinVersions.python!)) {\n return pythonBinPath\n }\n }\n }\n const pythonBinPaths = (await which(candidate, { nothrow: true, all: true })) ?? []\n for (const pythonBinPath of pythonBinPaths) {\n // eslint-disable-next-line no-await-in-loop\n if (await isBinUptoDate(pythonBinPath, MinVersions.python!)) {\n return pythonBinPath\n }\n }\n } catch {\n // fall through\n }\n return undefined\n}\n\nasync function findOrSetupPip(foundPython: string) {\n const maybePip = await findPip()\n\n if (maybePip === undefined) {\n // install pip if not installed\n info(\"pip was not found. Installing pip\")\n await setupPip(foundPython)\n return findPip() // recurse to check if pip is on PATH and up-to-date\n }\n\n return maybePip\n}\n\nasync function findPip() {\n for (const pipCandidate of [\"pip3\", \"pip\"]) {\n // eslint-disable-next-line no-await-in-loop\n const maybePip = await isPipUptoDate(pipCandidate)\n if (maybePip !== undefined) {\n return maybePip\n }\n }\n return undefined\n}\n\nasync function isPipUptoDate(pip: string) {\n try {\n const pipPaths = (await which(pip, { nothrow: true, all: true })) ?? []\n for (const pipPath of pipPaths) {\n // eslint-disable-next-line no-await-in-loop\n if (pipPath !== null && (await isBinUptoDate(pipPath, MinVersions.pip!))) {\n return pipPath\n }\n }\n } catch {\n // fall through\n }\n return undefined\n}\n\nasync function setupPip(foundPython: string) {\n const upgraded = await ensurePipUpgrade(foundPython)\n if (!upgraded) {\n // ensure that pip is installed on Linux (happens when python is found but pip not installed)\n await setupPipPackSystem(\"pip\")\n\n // upgrade pip\n await ensurePipUpgrade(foundPython)\n }\n}\n\nasync function ensurePipUpgrade(foundPython: string) {\n try {\n await execa(foundPython, [\"-m\", \"ensurepip\", \"-U\", \"--upgrade\"], { stdio: \"inherit\" })\n return true\n } catch (err1) {\n info((err1 as Error)?.toString?.())\n try {\n // ensure pip is disabled on Ubuntu\n await execa(foundPython, [\"-m\", \"pip\", \"install\", \"--upgrade\", \"pip\"], { stdio: \"inherit\" })\n return true\n } catch (err2) {\n info((err2 as Error)?.toString?.())\n // pip module not found\n }\n }\n // all methods failed\n return false\n}\n\nasync function addPythonBaseExecPrefix_raw(python: string) {\n const dirs: string[] = []\n\n // detection based on the platform\n if (process.platform === \"linux\") {\n dirs.push(\"/home/runner/.local/bin/\")\n } else if (process.platform === \"darwin\") {\n dirs.push(\"/usr/local/bin/\")\n }\n\n // detection using python.sys\n const base_exec_prefix = (await getExecOutput(`${python} -c \"import sys;print(sys.base_exec_prefix);\"`)).stdout.trim()\n // any of these are possible depending on the operating system!\n dirs.push(join(base_exec_prefix, \"Scripts\"), join(base_exec_prefix, \"Scripts\", \"bin\"), join(base_exec_prefix, \"bin\"))\n\n // remove duplicates\n return unique(dirs)\n}\n\n/**\n * Add the base exec prefix to the PATH. This is required for Conan, Meson, etc. to work properly.\n *\n * The answer is cached for subsequent calls\n */\nexport const addPythonBaseExecPrefix = memoize(addPythonBaseExecPrefix_raw, { isPromise: true })\n",null,null,null,null,"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((a, b) => {\n try {\n return semverCompare(a, b)\n } catch (err) {\n return a.localeCompare(b)\n }\n })\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 the given set doesn't include the version, throw an error\n if (!versions.has(version)) {\n throw new Error(\n `Unsupported target! (platform='${platform}', version='${version}'). Try one of the following: ${JSON.stringify(\n versions,\n )}`,\n )\n }\n\n const offlineUrls: string[] = []\n\n // TODO use Promise.any\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 if (url !== null) {\n // eslint-disable-next-line no-await-in-loop\n if (await isUrlOnline(url)) {\n return [specificVersion, url]\n } else {\n offlineUrls.push(url)\n }\n }\n }\n\n throw new Error(\n `Unsupported target! (platform='${platform}', version='${version}'). Try one of the following: ${JSON.stringify(\n versions,\n )}`,\n )\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 semverCoerce(version) ?? undefined\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 (givenVersion !== undefined && targetVersion !== \"\") {\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","// 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","export function unique(dirs: string[]) {\n return [...new Set(dirs)]\n}\n","import { 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\nfunction getLLVMDefault() {\n switch (process.platform) {\n case \"win32\":\n return \"17.0.4\"\n case \"linux\":\n // used for non-ubuntu (Fedora, Arch)\n return \"17.0.5-ubuntu-22.04\"\n case \"darwin\":\n return \"15.0.3\"\n default:\n return \"17.0.5\"\n }\n}\n\nexport const DefaultVersions: Record = {\n llvm: getLLVMDefault(), // https://github.com/llvm/llvm-project/releases\n clangtidy: getLLVMDefault(),\n clangformat: getLLVMDefault(),\n ninja: \"1.11.1\", // https://github.com/ninja-build/ninja/releases\n cmake: \"3.27.4\", // https://github.com/Kitware/CMake/releases\n gcovr: \"6.0\", // https://pypi.org/project/gcovr/\n conan: \"1.62.0\", // https://github.com/conan-io/conan/releases\n meson: \"1.2.3\", // https://github.com/mesonbuild/meson/releases\n kcov: \"42\", // https://github.com/SimonKagstrom/kcov/releases\n task: \"3.31.0\", // https://github.com/go-task/task/releases\n doxygen: isArch() ? \"1.9.8-1\" : \"1.9.8\", // 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: isArch() ? \"13.2.1-3\" : \"13\", // https://github.com/brechtsanders/winlibs_mingw/releases and // https://packages.ubuntu.com/search?suite=all&arch=any&searchon=names&keywords=gcc\n //mingw: isArch() ? \"12.2.0-1\" : \"8\", // https://packages.ubuntu.com/search?suite=all&arch=any&searchon=names&keywords=mingw-w64 // https://archlinux.org/packages/extra/x86_64/mingw-w64-gcc/\n}\n\nexport const MinVersions: Record = {\n pip: \"22.2.0\",\n python: \"3.7.9\",\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 \"\"\nexport const DefaultLinuxVersion: Record | undefined> = {\n gcc: {\n 22: \"13\",\n 20: \"11\",\n 18: \"11\",\n 16: \"11\",\n 14: \"11\",\n },\n mingw: {\n 22: \"8.0.0-1\",\n 20: \"7.0.0-2\",\n },\n llvm: {\n 22: \"17.0.5-ubuntu-22.04\",\n 20: \"17.0.5-ubuntu-22.04\",\n 18: \"15.0.6-ubuntu-18.04\",\n 16: \"15.0.6-ubuntu-18.04\",\n 14: \"13.0.0-ubuntu-16.04\",\n },\n clangtidy: {\n 22: \"17.0.2-ubuntu-22.04\",\n 20: \"17.0.2-ubuntu-22.04\",\n 18: \"15.0.6-ubuntu-18.04\",\n 16: \"15.0.6-ubuntu-18.04\",\n 14: \"13.0.0-ubuntu-16.04\",\n },\n clangformat: {\n 22: \"17.0.2-ubuntu-22.04\",\n 20: \"17.0.2-ubuntu-22.04\",\n 18: \"15.0.6-ubuntu-18.04\",\n 16: \"15.0.6-ubuntu-18.04\",\n 14: \"13.0.0-ubuntu-16.04\",\n },\n gcovr: {\n 22: \"6.0\",\n 20: \"6.0\",\n 18: \"5.0\",\n },\n meson: {\n 20: \"1.0.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: \"42-binary\",\n 20: \"40-binary\", // https://github.com/SimonKagstrom/kcov/releases\n 18: \"40\",\n 16: \"40\",\n 14: \"40\",\n },\n}\n","import { Opts } from \"../cli-options\"\nimport { Inputs } from \"../tool\"\nimport { DefaultLinuxVersion, DefaultVersions } from \"./default_versions\"\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 (isVersionDefault(version) && process.platform === \"linux\" && osVersion !== null && name in DefaultLinuxVersion) {\n return getDefaultLinuxVersion(osVersion, DefaultLinuxVersion[name]!)\n } else if (isVersionDefault(version) && name in DefaultVersions) {\n return DefaultVersions[name]!\n } else if (version === \"true\") {\n return \"\"\n }\n return version ?? \"\"\n}\n\nfunction isVersionDefault(version: string | undefined) {\n return version === \"true\" || version === undefined\n}\n\n/// choose the default linux version based on ubuntu version\nfunction getDefaultLinuxVersion(osVersion: number[], toolLinuxVersions: Record) {\n const osVersionMaj = osVersion[0]\n\n // find which version block the os version is in\n const satisfyingVersion = Object.keys(toolLinuxVersions)\n .map((v) => parseInt(v, 10))\n .sort((a, b) => b - a) // sort in descending order\n .find((v) => osVersionMaj >= v)\n\n return satisfyingVersion === undefined ? \"\" : toolLinuxVersions[satisfyingVersion]\n}\n\n/**\n * Sync the versions for the given inputs\n *\n * If the return is false, it means that versions don't match the target version\n */\nexport function syncVersions(opts: Opts, tools: Inputs[]): boolean {\n const toolsInUse = tools.filter((tool) => opts[tool] !== undefined)\n const toolsNonDefaultVersion = toolsInUse.filter((tool) => !isVersionDefault(opts[tool]))\n\n const targetVersion = toolsNonDefaultVersion.length >= 1 ? opts[toolsNonDefaultVersion[0]] : \"true\"\n\n if (toolsNonDefaultVersion.some((tool) => opts[tool] !== targetVersion)) {\n // error if any explicit versions don't match the target version\n return false\n }\n\n toolsInUse.forEach((tool) => {\n opts[tool] = targetVersion\n })\n\n return true\n}\n","import { warning } from \"ci-log\"\nimport { getUbuntuVersion } from \"ubuntu-version\"\nimport which from \"which\"\nimport { setupAptPack } from \"../setup/setupAptPack\"\nimport { isUbuntu } from \"./isUbuntu\"\nimport os from \"os\"\nimport memoize from \"micro-memoize\"\n\nasync function ubuntuVersion_raw(): Promise {\n try {\n if (isUbuntu()) {\n try {\n if (which.sync(\"lsb_release\", { nothrow: true }) === null) {\n await setupAptPack([{ name: \"lsb-release\" }])\n }\n } catch {\n return detectUsingOsVersion()\n }\n\n const versionSplitted = await getUbuntuVersion()\n\n if (versionSplitted.length === 0) {\n return detectUsingOsVersion()\n }\n\n return versionSplitted\n } else {\n return null\n }\n } catch (err) {\n warning((err as Error).toString())\n return null\n }\n}\n\n/** Detect Ubuntu version */\nexport const ubuntuVersion = memoize(ubuntuVersion_raw, { isPromise: true })\n\n/** Detect Ubuntu version using os.version() for Ubuntu based distros */\nfunction detectUsingOsVersion() {\n // #46~22.04.1-Ubuntu SMP ...\n const osVersion = os.version()\n const versionSplitted = osVersion.split(\".\")\n const majorVersion = parseInt(versionSplitted[0].replace(\"#\", \"\"), 10)\n const minorVersion = parseInt(versionSplitted[1].replace(\"~\", \"\"), 10)\n const patchVersion = parseInt(versionSplitted[2].split(\"-\")[0], 10)\n\n return [majorVersion, minorVersion, patchVersion]\n}\n","\"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 { 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([{ name: \"ccache\", version }])\n } else if (isUbuntu()) {\n return setupAptPack([{ name: \"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 { 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 { info, notice } from \"ci-log\"\nimport { setupGraphviz } from \"../graphviz/graphviz\"\nimport { getVersion } from \"../versions/versions\"\n\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 { pathExists } from \"path-exists\"\nimport retry from \"retry-as-promised\"\nimport { ubuntuVersion } from \"../utils/env/ubuntu_version\"\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 // try to download the package 4 times with 2 seconds delay\n await retry(\n () => {\n return setupChocoPack(\"doxygen.install\", version)\n },\n { name: \"doxygen.install\", max: 4, backoffBase: 2000, report: (err) => info(err) },\n )\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 = await setupBrewPack(\"doxygen\", undefined)\n await setupGraphviz(getVersion(\"graphviz\", undefined), \"\", arch)\n return installationInfo\n }\n case \"linux\": {\n let installationInfo: InstallationInfo\n if (version === \"\" || isArch() || hasDnf()) {\n if (isArch()) {\n installationInfo = await setupPacmanPack(\"doxygen\", version)\n } else if (hasDnf()) {\n return setupDnfPack([{ name: \"doxygen\", version }])\n } else if (isUbuntu()) {\n installationInfo = await setupAptPack([{ name: \"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([{ name: \"libclang-cpp9\" }])\n } catch (err) {\n notice(`Failed to download doxygen binary. ${err}. Falling back to apt-get.`)\n installationInfo = await setupAptPack([{ name: \"doxygen\" }])\n }\n } else {\n throw new Error(`Unsupported linux distributions`)\n }\n await setupGraphviz(getVersion(\"graphviz\", undefined, await ubuntuVersion()), \"\", 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 // eslint-disable-next-line no-await-in-loop\n if (await pathExists(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 { 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([{ name: \"graphviz\", version }])\n } else if (isUbuntu()) {\n return setupAptPack([{ name: \"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, addEnv } from \"../utils/env/addEnv\"\n\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 { GITHUB_ACTIONS } from \"ci-info\"\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\"\nimport { pathExists } from \"path-exists\"\nimport { ExecaReturnValue } from \"execa\"\n\ninterface MingwInfo {\n releaseName: string\n fileSuffix: string\n}\n\n// https://github.com/brechtsanders/winlibs_mingw/releases\nconst GccToMingwInfo = {\n \"13\": { releaseName: \"13.2.0-16.0.6-11.0.0-ucrt-r1\", fileSuffix: \"13.2.0-mingw-w64ucrt-11.0.0-r1\" },\n \"13.2-ucrt\": { releaseName: \"13.2.0-16.0.6-11.0.0-ucrt-r1\", fileSuffix: \"13.2.0-mingw-w64ucrt-11.0.0-r1\" },\n \"13.2-ucrt-mcf\": { releaseName: \"13.2.0mcf-16.0.6-11.0.1-ucrt-r2\", fileSuffix: \"13.2.0-mingw-w64ucrt-11.0.1-r2\" },\n \"13.2-msvcrt\": { releaseName: \"13.2.0-16.0.6-11.0.1-msvcrt-r1\", fileSuffix: \"13.2.0-mingw-w64msvcrt-11.0.1-r1\" },\n \"13.1-ucrt\": { releaseName: \"13.1.0posix-16.0.3-11.0.0-ucrt-r1\", fileSuffix: \"13.1.0-mingw-w64ucrt-11.0.0-r1\" },\n \"13.1-msvcrt\": { releaseName: \"13.1.0posix-16.0.3-11.0.0-msvcrt-r1\", fileSuffix: \"13.1.0-mingw-w64msvcrt-11.0.0-r1\" },\n \"12\": { releaseName: \"12.3.0-16.0.4-11.0.0-ucrt-r1\", fileSuffix: \"12.3.0-mingw-w64ucrt-11.0.0-r1\" },\n \"12.3.0-ucrt\": { releaseName: \"12.3.0-16.0.4-11.0.0-ucrt-r1\", fileSuffix: \"12.3.0-mingw-w64ucrt-11.0.0-r1\" },\n \"12.3.0-msvcrt\": { releaseName: \"12.3.0-16.0.4-11.0.0-msvcrt-r1\", fileSuffix: \"12.3.0-mingw-w64msvcrt-11.0.0-r1\" },\n \"12.2.0-ucrt\": { releaseName: \"12.2.0-14.0.6-10.0.0-ucrt-r2\", fileSuffix: \"12.2.0-mingw-w64ucrt-10.0.0-r2\" },\n \"12.2.0-msvcrt\": { releaseName: \"12.2.0-14.0.6-10.0.0-msvcrt-r2\", fileSuffix: \"12.2.0-mingw-w64msvcrt-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.5.0-11.0.1-msvcrt-r1\", fileSuffix: \"10.5.0-mingw-w64msvcrt-11.0.1-r1\" },\n \"10.5.0-msvcrt\": { releaseName: \"10.5.0-11.0.1-msvcrt-r1\", fileSuffix: \"10.5.0-mingw-w64msvcrt-11.0.1-r1\" },\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, priority: number = 40) {\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 = await setupBrewPack(\"gcc\", version)\n break\n }\n case \"linux\": {\n if (arch === \"x64\") {\n if (isArch()) {\n installationInfo = await setupPacmanPack(\"gcc\", version)\n } else if (hasDnf()) {\n installationInfo = await setupDnfPack([\n { name: \"gcc\", version },\n { name: \"gcc-c++\", version },\n { name: \"libstdc++-devel\" },\n ])\n } else if (isUbuntu()) {\n installationInfo = await setupAptPack([\n { name: \"gcc\", version, repositories: [\"ppa:ubuntu-toolchain-r/test\"] },\n { name: \"g++\", version, repositories: [\"ppa:ubuntu-toolchain-r/test\"] },\n ])\n }\n } else {\n info(`Install g++-multilib because gcc for ${arch} was requested`)\n if (isArch()) {\n await setupPacmanPack(\"gcc-multilib\", version)\n } else if (isUbuntu()) {\n await setupAptPack([{ name: \"gcc-multilib\", version, repositories: [\"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, priority)\n return installationInfo\n }\n return undefined\n}\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupMingw(version: string, setupDir: string, arch: string) {\n let installationInfo: InstallationInfo | undefined\n switch (process.platform) {\n case \"win32\":\n case \"darwin\": {\n return setupGcc(version, setupDir, arch)\n }\n case \"linux\": {\n if (isArch()) {\n installationInfo = await setupPacmanPack(\"mingw-w64-gcc\", version)\n } else if (hasDnf()) {\n installationInfo = await setupDnfPack([{ name: \"mingw64-gcc\", version }])\n } else if (isUbuntu()) {\n installationInfo = await setupAptPack([\n { name: \"mingw-w64\", version, repositories: [\"ppa:ubuntu-toolchain-r/test\"] },\n ])\n }\n break\n }\n default: {\n throw new Error(`Unsupported platform for ${arch}`)\n }\n }\n if (installationInfo !== undefined) {\n // TODO: setup alternatives and update CC/CXX env. ?\n //Setting up g++-mingw-w64-i686-win32 (10.3.0-14ubuntu1+24.3) ...\n // update-alternatives: using /usr/bin/i686-w64-mingw32-g++-win32 to provide /usr/bin/i686-w64-mingw32-g++ (i686-w64-mingw32-g++) in auto mode\n //Setting up g++-mingw-w64-x86-64-win32 (10.3.0-14ubuntu1+24.3) ...\n // update-alternatives: using /usr/bin/x86_64-w64-mingw32-g++-win32 to provide /usr/bin/x86_64-w64-mingw32-g++ (x86_64-w64-mingw32-g++) in auto mode\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\" && (await pathExists(\"C:/tools/mingw64/bin\"))) {\n binDir = \"C:/tools/mingw64/bin\"\n await addPath(binDir)\n } else if (arch === \"ia32\" && (await pathExists(\"C:/tools/mingw32/bin\"))) {\n binDir = \"C:/tools/mingw32/bin\"\n await addPath(binDir)\n } else if (await pathExists(`${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, priority: number = 40) {\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 promises.push(\n updateAptAlternatives(\"cc\", `${binDir}/gcc-${majorVersion}`, priority),\n updateAptAlternatives(\"cxx\", `${binDir}/g++-${majorVersion}`, priority),\n updateAptAlternatives(\"gcc\", `${binDir}/gcc-${majorVersion}`, priority),\n updateAptAlternatives(\"g++\", `${binDir}/g++-${majorVersion}`, priority),\n )\n }\n } else {\n promises.push(addEnv(\"CC\", `${binDir}/gcc-${version}`), addEnv(\"CXX\", `${binDir}/g++-${version}`))\n\n if (isUbuntu()) {\n promises.push(\n updateAptAlternatives(\"cc\", `${binDir}/gcc-${version}`, priority),\n updateAptAlternatives(\"cxx\", `${binDir}/g++-${version}`, priority),\n updateAptAlternatives(\"gcc\", `${binDir}/gcc-${version}`, priority),\n updateAptAlternatives(\"g++\", `${binDir}/g++-${version}`, priority),\n )\n }\n }\n }\n\n promises.push(setupMacOSSDK())\n\n if (GITHUB_ACTIONS) {\n await addGccLoggingMatcher()\n }\n\n await Promise.all(promises)\n}\n\nasync function addGccLoggingMatcher() {\n const matcherPath = join(__dirname, \"gcc_matcher.json\")\n if (!(await pathExists(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 { 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 { addEnv } from \"../utils/env/addEnv\"\nimport { setupPipPack } from \"../utils/setup/setupPipPack\"\nimport semverValid from \"semver/functions/valid\"\nimport semverMajor from \"semver/functions/major\"\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\nexport function activateGcovLLVM() {\n return addEnv(\"GCOV\", \"llvm-cov gcov\")\n}\n\nexport function activateGcovGCC(gccVersion: string) {\n const gccSemver = semverValid(gccVersion)\n const gccMajor = gccSemver !== null ? semverMajor(gccSemver) : gccVersion\n const gcov = gccMajor !== \"\" ? `gcov-${gccMajor}` : \"gcov\"\n\n return addEnv(\"GCOV\", gcov)\n}\n","import { execa } from \"execa\"\nimport { join, addExeExt } from \"patha\"\nimport which from \"which\"\nimport { setupCmake } from \"../cmake/cmake\"\nimport { getVersion } from \"../versions/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\"\nimport { ubuntuVersion } from \"../utils/env/ubuntu_version\"\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 await Promise.all([setupPacmanPack(\"libdwarf\"), setupPacmanPack(\"libcurl-openssl\")])\n } else if (hasDnf()) {\n await setupDnfPack([{ name: \"libdwarf-devel\" }, { name: \"libcurl-devel\" }])\n } else if (isUbuntu()) {\n await setupAptPack([{ name: \"libdw-dev\" }, { name: \"libcurl4-openssl-dev\" }])\n }\n }\n\n // apply gcc13.patch\n try {\n if (which.sync(\"patch\", { nothrow: true }) !== null) {\n const patch = join(__dirname, \"gcc13.patch\")\n await execa(\"patch\", [\"-N\", \"-p1\", \"-i\", patch], { cwd: out, stdio: \"inherit\" })\n } else {\n info(\"`patch` not found, skipping gcc13.patch, kcov may not build on gcc 13\")\n }\n } catch {\n // ignore\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(\n getVersion(\"cmake\", undefined, await ubuntuVersion()),\n join(untildifyUser(\"\"), \"cmake\"),\n \"\",\n )\n cmake = join(binDir, \"cmake\")\n }\n const ninja = which.sync(\"ninja\", { nothrow: true })\n if (ninja === null) {\n await setupNinja(getVersion(\"ninja\", undefined, await ubuntuVersion()), 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 await setupPacmanPack(\"binutils\")\n } else if (hasDnf()) {\n await setupDnfPack([{ name: \"binutils\" }])\n } else if (isUbuntu()) {\n await setupAptPack([{ name: \"libbinutils\" }])\n }\n return installationInfo\n } else {\n installationInfo = await setupBin(\"kcov\", version, getBuildKcovPackageInfo, setupDir, arch)\n }\n return installationInfo\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","import { GITHUB_ACTIONS } from \"ci-info\"\nimport { info, warning } from \"ci-log\"\nimport memoize from \"micro-memoize\"\nimport { delimiter } from \"path\"\nimport { pathExists } from \"path-exists\"\nimport { addExeExt, join } from \"patha\"\nimport { setupGcc } from \"../gcc/gcc\"\nimport { setupMacOSSDK } from \"../macos-sdk/macos-sdk\"\nimport { addEnv } from \"../utils/env/addEnv\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\nimport { ubuntuVersion } from \"../utils/env/ubuntu_version\"\nimport { setupAptPack, updateAptAlternatives } from \"../utils/setup/setupAptPack\"\nimport { InstallationInfo, setupBin } from \"../utils/setup/setupBin\"\nimport { semverCoerceIfInvalid } from \"../utils/setup/version\"\nimport { getVersion } from \"../versions/versions\"\nimport { LLVMPackages, setupLLVMApt } from \"./llvm_installer\"\nimport { getLLVMPackageInfo } from \"./llvm_url\"\n\nexport async function setupLLVM(version: string, setupDir: string, arch: string): Promise {\n const installationInfo = await setupLLVMWithoutActivation(version, setupDir, arch)\n await activateLLVM(installationInfo.installDir ?? setupDir)\n return installationInfo\n}\n\nasync function setupLLVMWithoutActivation_raw(version: string, setupDir: string, arch: string) {\n // install LLVM and its dependencies in parallel\n const [installationInfo, _1, _2] = await Promise.all([\n setupLLVMOnly(version, setupDir, arch),\n setupLLVMDeps(arch),\n addLLVMLoggingMatcher(),\n ])\n\n return installationInfo\n}\nconst setupLLVMWithoutActivation = memoize(setupLLVMWithoutActivation_raw, { isPromise: true })\n\n/**\n * Setup clang-format\n *\n * This uses the LLVM installer on Ubuntu, and the LLVM binaries on other platforms\n */\nexport function setupClangFormat(version: string, setupDir: string, arch: string) {\n return setupLLVMOnly(version, setupDir, arch, LLVMPackages.ClangFormat)\n}\n\n/** Setup llvm tools (clang tidy, etc.) without activating llvm and using it as the compiler */\nexport function setupClangTools(version: string, setupDir: string, arch: string) {\n return setupLLVMOnly(version, setupDir, arch)\n}\n\nasync function setupLLVMOnly(\n version: string,\n setupDir: string,\n arch: string,\n packages: LLVMPackages = LLVMPackages.All,\n) {\n const coeredVersion = semverCoerceIfInvalid(version)\n const majorVersion = parseInt(coeredVersion.split(\".\")[0], 10)\n try {\n if (isUbuntu()) {\n return await setupLLVMApt(majorVersion, packages)\n }\n } catch (err) {\n info(`Failed to install llvm via system package manager ${err}`)\n }\n\n const installationInfo = await setupBin(\"llvm\", version, getLLVMPackageInfo, setupDir, arch)\n await llvmBinaryDeps(majorVersion)\n return installationInfo\n}\n\nasync function llvmBinaryDeps_raw(majorVersion: number) {\n if (isUbuntu()) {\n if (majorVersion <= 10) {\n await setupAptPack([{ name: \"libtinfo5\" }])\n } else {\n await setupAptPack([{ name: \"libtinfo-dev\" }])\n }\n }\n}\nconst llvmBinaryDeps = memoize(llvmBinaryDeps_raw, { isPromise: true })\n\nasync function setupLLVMDeps_raw(arch: string) {\n if (process.platform === \"linux\") {\n // using llvm requires ld, an up to date libstdc++, etc. So, install gcc first,\n // but with a lower priority than the one used by activateLLVM()\n await setupGcc(getVersion(\"gcc\", undefined, await ubuntuVersion()), \"\", arch, 40)\n }\n}\nconst setupLLVMDeps = memoize(setupLLVMDeps_raw, { isPromise: true })\n\nexport async function activateLLVM(directory: string) {\n const ld = process.env.LD_LIBRARY_PATH ?? \"\"\n const dyld = process.env.DYLD_LIBRARY_PATH ?? \"\"\n\n const actPromises: Promise[] = [\n // the output of this action\n addEnv(\"LLVM_PATH\", directory),\n\n // Setup LLVM as the compiler\n addEnv(\"LD_LIBRARY_PATH\", `${directory}/lib${delimiter}${ld}`),\n addEnv(\"DYLD_LIBRARY_PATH\", `${directory}/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 // TODO Causes issues with clangd\n // TODO Windows builds fail with llvm's CPATH\n // if (process.platform !== \"win32\") {\n // if (await pathExists(`${directory}/lib/clang/${version}/include`)) {\n // promises.push(addEnv(\"CPATH\", `${directory}/lib/clang/${version}/include`))\n // } else if (await pathExists(`${directory}/lib/clang/${llvmMajor}/include`)) {\n // promises.push(addEnv(\"CPATH\", `${directory}/lib/clang/${llvmMajor}/include`))\n // }\n // }\n\n if (isUbuntu()) {\n const priority = 60\n actPromises.push(\n updateAptAlternatives(\"cc\", `${directory}/bin/clang`, priority),\n updateAptAlternatives(\"cxx\", `${directory}/bin/clang++`, priority),\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\n await Promise.all(actPromises)\n}\n\nasync function addLLVMLoggingMatcher() {\n if (GITHUB_ACTIONS) {\n const matcherPath = join(__dirname, \"llvm_matcher.json\")\n if (!(await pathExists(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}\n","import { execRoot } from \"admina\"\nimport { execa } from \"execa\"\nimport { addPath } from \"../utils/env/addEnv\"\nimport { hasNala, isPackageInstalled, setupAptPack } from \"../utils/setup/setupAptPack\"\nimport { InstallationInfo } from \"../utils/setup/setupBin\"\nimport { promises } from \"fs\"\nimport { info } from \"console\"\nimport { DEFAULT_TIMEOUT } from \"../installTool\"\nconst { readFile, writeFile, chmod } = promises\n\nexport enum LLVMPackages {\n All,\n ClangFormat,\n Core,\n}\n\nexport async function setupLLVMApt(\n majorVersion: number,\n packages: LLVMPackages = LLVMPackages.All,\n): Promise {\n // TODO for older versions, this also includes the minor version\n const installationFolder = `/usr/lib/llvm-${majorVersion}`\n\n await setupAptPack([{ name: \"curl\" }])\n await execa(\"curl\", [\"-LJO\", \"https://apt.llvm.org/llvm.sh\"], { cwd: \"/tmp\" })\n const neededPackages = await patchAptLLVMScript(\"/tmp/llvm.sh\", \"/tmp/llvm-setup-cpp.sh\", majorVersion, packages)\n await setupAptPack(neededPackages)\n await chmod(\"/tmp/llvm-setup-cpp.sh\", \"755\")\n await execRoot(\n \"bash\",\n [\"/tmp/llvm-setup-cpp.sh\", `${majorVersion}`, ...(packages === LLVMPackages.All ? [\"all\"] : [])],\n {\n stdio: \"inherit\",\n shell: true,\n timeout: DEFAULT_TIMEOUT,\n },\n )\n\n await addPath(`${installationFolder}/bin`)\n\n return {\n installDir: `${installationFolder}`,\n binDir: `${installationFolder}/bin`,\n bin: `${installationFolder}/bin/clang++`,\n }\n}\n\nasync function patchAptLLVMScript(path: string, target_path: string, majorVersion: number, packages: LLVMPackages) {\n let script = await readFile(path, \"utf-8\")\n\n script = debugScript(script)\n script = nonInteractiveScript(script)\n script = choosePackages(packages, script, majorVersion)\n script = await removeConflictingPackages(script)\n script = useNalaScript(script)\n\n await writeFile(target_path, script)\n\n // the packages needed by the script\n return [{ name: \"lsb-release\" }, { name: \"wget\" }, { name: \"software-properties-common\" }, { name: \"gnupg\" }]\n}\n\nfunction debugScript(script: string) {\n if (!process.env.NODE_DEBUG) {\n return script.replace(/set -eux/g, \"set -eu\")\n }\n return script\n}\n\nfunction nonInteractiveScript(script: string) {\n // make the scirpt non-interactive and fix broken packages\n return script.replace(\n /add-apt-repository \"\\${REPO_NAME}\"/g,\n // eslint-disable-next-line no-template-curly-in-string\n 'add-apt-repository -y \"${REPO_NAME}\"',\n )\n}\n\nasync function removeConflictingPackages(givenScript: string) {\n // fix conflicts between libclang-rt and libclang\n let script = givenScript.replace(\n /apt-get install -y/g,\n 'apt-get install -o Dpkg::Options::=\"--force-overwrite\" -y --fix-broken',\n )\n\n // check if these are installed and if so, remove them from the script as they conflict\n const conflictingPackages = [\"libc++-$LLVM_VERSION-dev\", \"libc++abi-$LLVM_VERSION-dev\", \"libunwind-$LLVM_VERSION-dev\"]\n await Promise.all(\n conflictingPackages.map(async (pack) => {\n const installingPack = pack.replace(\"$LLVM_VERSION\", \"*\")\n if (await isPackageInstalled(installingPack)) {\n info(`Removing conflicting package ${installingPack}`)\n script = script.replace(pack, \"\")\n }\n }),\n )\n return script\n}\n\nfunction useNalaScript(script: string) {\n // use nala if it is available\n if (hasNala()) {\n return script.replace(/apt-get/g, \"nala\")\n }\n return script\n}\n\nfunction choosePackages(packages: LLVMPackages, script: string, majorVersion: number) {\n if (packages === LLVMPackages.ClangFormat) {\n return script.replace(/ -y \\$PKG/g, ` -y clang-format-${majorVersion}`)\n }\n return script\n}\n","import { endGroup, startGroup } from \"@actions/core\"\nimport { error } from \"ci-log\"\nimport { join } from \"patha\"\nimport { getSuccessMessage } from \"./cli-options\"\nimport { InstallationInfo } from \"./utils/setup/setupBin\"\nimport { setupVCVarsall } from \"./vcvarsall/vcvarsall\"\nimport { getVersion } from \"./versions/versions\"\nimport pTimeout from \"p-timeout\"\nimport { ToolName, setups } from \"./tool\"\n\nexport const DEFAULT_TIMEOUT = 20 * 60 * 1000 // 20 minutes\n\nexport async function installTool(\n tool: ToolName,\n version: string,\n osVersion: number[] | null,\n arch: string,\n setupCppDir: string,\n successMessages: string[],\n errorMessages: string[],\n timeout: number = DEFAULT_TIMEOUT,\n) {\n startGroup(`Installing ${tool} ${version}`)\n let hasLLVM = false\n try {\n hasLLVM = await pTimeout(installToolImpl(tool, version, osVersion, arch, hasLLVM, setupCppDir, successMessages), {\n milliseconds: timeout,\n message: `Timeout while installing ${tool} ${version}. You can increase the timeout from options`,\n })\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 return hasLLVM\n}\n\nasync function installToolImpl(\n tool: ToolName,\n version: string,\n osVersion: number[] | null,\n arch: string,\n hasLLVM: boolean,\n setupCppDir: string,\n successMessages: string[],\n) {\n let installationInfo: InstallationInfo | undefined | void\n if (tool === \"vcvarsall\") {\n // eslint-disable-next-line no-await-in-loop\n await setupVCVarsall(getVersion(tool, version, osVersion), undefined, arch, undefined, undefined, false, false)\n } else {\n // get the setup function\n const setupFunction = setups[tool]\n\n // eslint-disable-next-line no-param-reassign\n hasLLVM = [\"llvm\", \"clangformat\", \"clangtidy\"].includes(tool)\n\n // the tool installation directory (for the functions that ue it)\n const setupDir = join(setupCppDir, hasLLVM ? \"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 return hasLLVM\n}\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\"\nimport { pathExists } from \"path-exists\"\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 && (await pathExists(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","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', 'BuildTools']\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\n","export class TimeoutError extends Error {\n\tconstructor(message) {\n\t\tsuper(message);\n\t\tthis.name = 'TimeoutError';\n\t}\n}\n\n/**\nAn error to be thrown when the request is aborted by AbortController.\nDOMException is thrown instead of this Error when DOMException is available.\n*/\nexport class AbortError extends Error {\n\tconstructor(message) {\n\t\tsuper();\n\t\tthis.name = 'AbortError';\n\t\tthis.message = message;\n\t}\n}\n\n/**\nTODO: Remove AbortError and just throw DOMException when targeting Node 18.\n*/\nconst getDOMException = errorMessage => globalThis.DOMException === undefined\n\t? new AbortError(errorMessage)\n\t: new DOMException(errorMessage);\n\n/**\nTODO: Remove below function and just 'reject(signal.reason)' when targeting Node 18.\n*/\nconst getAbortedReason = signal => {\n\tconst reason = signal.reason === undefined\n\t\t? getDOMException('This operation was aborted.')\n\t\t: signal.reason;\n\n\treturn reason instanceof Error ? reason : getDOMException(reason);\n};\n\nexport default function pTimeout(promise, options) {\n\tconst {\n\t\tmilliseconds,\n\t\tfallback,\n\t\tmessage,\n\t\tcustomTimers = {setTimeout, clearTimeout},\n\t} = options;\n\n\tlet timer;\n\n\tconst wrappedPromise = new Promise((resolve, reject) => {\n\t\tif (typeof milliseconds !== 'number' || Math.sign(milliseconds) !== 1) {\n\t\t\tthrow new TypeError(`Expected \\`milliseconds\\` to be a positive number, got \\`${milliseconds}\\``);\n\t\t}\n\n\t\tif (options.signal) {\n\t\t\tconst {signal} = options;\n\t\t\tif (signal.aborted) {\n\t\t\t\treject(getAbortedReason(signal));\n\t\t\t}\n\n\t\t\tsignal.addEventListener('abort', () => {\n\t\t\t\treject(getAbortedReason(signal));\n\t\t\t});\n\t\t}\n\n\t\tif (milliseconds === Number.POSITIVE_INFINITY) {\n\t\t\tpromise.then(resolve, reject);\n\t\t\treturn;\n\t\t}\n\n\t\t// We create the error outside of `setTimeout` to preserve the stack trace.\n\t\tconst timeoutError = new TimeoutError();\n\n\t\ttimer = customTimers.setTimeout.call(undefined, () => {\n\t\t\tif (fallback) {\n\t\t\t\ttry {\n\t\t\t\t\tresolve(fallback());\n\t\t\t\t} catch (error) {\n\t\t\t\t\treject(error);\n\t\t\t\t}\n\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tif (typeof promise.cancel === 'function') {\n\t\t\t\tpromise.cancel();\n\t\t\t}\n\n\t\t\tif (message === false) {\n\t\t\t\tresolve();\n\t\t\t} else if (message instanceof Error) {\n\t\t\t\treject(message);\n\t\t\t} else {\n\t\t\t\ttimeoutError.message = message ?? `Promise timed out after ${milliseconds} milliseconds`;\n\t\t\t\treject(timeoutError);\n\t\t\t}\n\t\t}, milliseconds);\n\n\t\t(async () => {\n\t\t\ttry {\n\t\t\t\tresolve(await promise);\n\t\t\t} catch (error) {\n\t\t\t\treject(error);\n\t\t\t}\n\t\t})();\n\t});\n\n\tconst cancelablePromise = wrappedPromise.finally(() => {\n\t\tcancelablePromise.clear();\n\t});\n\n\tcancelablePromise.clear = () => {\n\t\tcustomTimers.clearTimeout.call(undefined, timer);\n\t\ttimer = undefined;\n\t};\n\n\treturn cancelablePromise;\n}\n","import semverLte from \"semver/functions/lte\"\nimport { isUrlOnline } from \"is-url-online\"\nimport { getSpecificVersionAndUrl, getSpecificVersions, getVersions } from \"../utils/setup/version\"\nimport { info, warning } from \"ci-log\"\nimport { PackageInfo } from \"../utils/setup/setupBin\"\nimport { addExeExt } from \"patha\"\nimport { extractExe, extractTarByExe } from \"../utils/setup/extract\"\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 \"15.0.0\",\n \"15.0.1\",\n \"15.0.2\",\n \"15.0.3\",\n \"15.0.4\",\n \"15.0.5\",\n \"15.0.6\",\n \"15.0.7\",\n \"16.0.0\",\n \"16.0.1\",\n \"16.0.2\",\n \"16.0.3\",\n \"16.0.4\",\n \"16.0.5\",\n \"16.0.6\",\n \"17.0.1\",\n \"17.0.2\",\n \"17.0.3\",\n \"17.0.4\",\n \"17.0.5\",\n])\n\n/** The LLVM versions that were never released for the Windows platform. */\nconst WIN32_MISSING: Set = new Set([\"10.0.1\", \"15.0.5\", \"15.0.6\", \"17.0.5\"])\n\n/** The LLVM versions that were never released for the Darwin platform. */\nconst DARWIN_MISSING = 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 // missing x86_64\n // TODO add arm64 support\n \"15.0.4\",\n \"15.0.5\",\n \"15.0.6\",\n \"16.0.0\",\n \"16.0.1\",\n \"16.0.2\",\n \"16.0.3\",\n \"16.0.4\",\n \"16.0.5\",\n \"16.0.6\",\n \"17.0.1\",\n \"17.0.2\",\n \"17.0.3\",\n \"17.0.4\",\n \"17.0.5\",\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 \"15.0.2\": \"-rhel86\",\n \"15.0.5\": \"-ubuntu-18.04\",\n \"15.0.6\": \"-ubuntu-18.04\",\n \"16.0.0\": \"-ubuntu-18.04\",\n \"16.0.2\": \"-ubuntu-22.04\",\n \"16.0.3\": \"-ubuntu-22.04\",\n \"16.0.4\": \"-ubuntu-22.04\",\n \"17.0.2\": \"-ubuntu-22.04\",\n \"17.0.4\": \"-ubuntu-22.04\",\n \"17.0.5\": \"-ubuntu-22.04\",\n}\n\n/** The latest supported LLVM version for the Linux (Ubuntu) platform. */\nconst MAX_UBUNTU: string = \"17.0.5\"\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/** 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/** 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 linuxVersion: 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 linuxVersion = version.replace(givenUbuntuVersion, \"\")\n version = getSpecificVersions(VERSIONS, givenUbuntuVersion)[0]\n } else if (version !== \"\" && version in UBUNTU_SUFFIX_MAP) {\n linuxVersion = UBUNTU_SUFFIX_MAP[version]\n } else {\n // default to the maximum version\n linuxVersion = UBUNTU_SUFFIX_MAP[MAX_UBUNTU]\n warning(`Falling back to LLVM version ${MAX_UBUNTU} ${linuxVersion} for the Ubuntu.`)\n }\n\n const prefix = \"clang+llvm-\"\n\n let suffix: string\n if (version === \"5.0.0\") {\n suffix = `-linux-x86_64${linuxVersion}.tar.xz`\n } else if (linuxVersion.includes(\"-rhel86\")) {\n suffix = `-x86_64-unknown-linux-gnu${linuxVersion}.tar.xz`\n } else {\n suffix = `-x86_64-linux-gnu${linuxVersion}.tar.xz`\n }\n\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/** 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\nexport async function getLLVMPackageInfo(\n version: string,\n platform: NodeJS.Platform,\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n _arch: string,\n): Promise {\n const [specificVersion, url] = await getSpecificVersionAndUrl(VERSIONS, platform, version, getUrl)\n info(`specific llvm 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","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 await 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([{ name: \"make\", version }])\n } else if (isUbuntu()) {\n return setupAptPack([{ name: \"make\", version }])\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 function setupMeson(version: string | undefined, _setupDir: string, _arch: string) {\n return setupPipPack(\"meson\", version)\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 { GITHUB_ACTIONS } from \"ci-info\"\nimport { join } from \"patha\"\n\nimport { error, info, warning } from \"ci-log\"\nimport { pathExists } from \"path-exists\"\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 (GITHUB_ACTIONS) {\n await addMSVCLoggingMatcher()\n }\n}\n\nasync function addMSVCLoggingMatcher() {\n const matcherPath = join(__dirname, \"msvc_matcher.json\")\n if (!(await pathExists(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 { dirname } from \"patha\"\nimport which from \"which\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\nimport { execRootSync } from \"admina\"\nimport { addAptKeyViaDownload, hasNala, 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([{ name: \"nala\" }], true)\n } else {\n await setupAptPack([{ name: \"nala-legacy\" }], true)\n }\n } catch (err) {\n await setupAptPack([{ name: \"nala-legacy\" }], true)\n }\n\n binDir = \"/usr/bin\" // eslint-disable-line require-atomic-updates\n\n return { binDir }\n}\n\nexport function bashWithNala(script: string) {\n if (hasNala()) {\n return `apt-get() { nala $@; }; export -f apt-get; ${script}; unset -f apt-get`\n }\n return script\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 \"admina\"\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([{ name: \"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([{ name: \"powershell\", version }])\n } else if (isUbuntu()) {\n await setupAptPack([{ name: \"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([{ name: \"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 { setupBrewPack } from \"../utils/setup/setupBrewPack\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport function setupSccache(version: string, _setupDir: string, _arch: string) {\n switch (process.platform) {\n case \"win32\": {\n return setupChocoPack(\"sccache\", version)\n }\n case \"linux\":\n case \"darwin\": {\n return setupBrewPack(\"sccache\", version)\n }\n default: {\n throw new Error(`Unsupported platform`)\n }\n }\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 { execaSync } from \"execa\"\nimport { notice } from \"ci-log\"\nimport { pathExists } from \"path-exists\"\nimport { addShExt, addShRelativePrefix, dirname, join } from \"patha\"\nimport { grantUserWriteAccess } from \"admina\"\nimport which from \"which\"\nimport { addPath } from \"../utils/env/addEnv\"\nimport { hasDnf } from \"../utils/env/hasDnf\"\nimport { isArch } from \"../utils/env/isArch\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\nimport { setupAptPack } from \"../utils/setup/setupAptPack\"\nimport { InstallationInfo } from \"../utils/setup/setupBin\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack\"\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 await Promise.all([\n setupPacmanPack(\"curl\"),\n setupPacmanPack(\"zip\"),\n setupPacmanPack(\"unzip\"),\n setupPacmanPack(\"tar\"),\n setupPacmanPack(\"git\"),\n setupPacmanPack(\"pkg-config\"),\n ])\n } else if (hasDnf()) {\n await setupDnfPack([\n { name: \"curl\" },\n { name: \"zip\" },\n { name: \"unzip\" },\n { name: \"tar\" },\n { name: \"git\" },\n { name: \"pkg-config\" },\n ])\n } else if (isUbuntu()) {\n await setupAptPack([\n { name: \"curl\" },\n { name: \"zip\" },\n { name: \"unzip\" },\n { name: \"tar\" },\n { name: \"git\" },\n { name: \"pkg-config\" },\n ])\n }\n }\n\n if (!(await pathExists(join(setupDir, addShExt(\"bootstrap-vcpkg\", \".bat\"))))) {\n execaSync(\"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 execaSync(addShExt(addShRelativePrefix(\"bootstrap-vcpkg\"), \".bat\"), {\n cwd: setupDir,\n shell: true,\n stdio: \"inherit\",\n })\n\n await grantUserWriteAccess(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 { endGroup, notice, startGroup } from \"@actions/core\"\nimport { error, info } from \"ci-log\"\nimport { join } from \"path\"\nimport semverValid from \"semver/functions/valid\"\nimport { getSuccessMessage } from \"./cli-options\"\nimport { setupGcc, setupMingw } from \"./gcc/gcc\"\nimport { activateGcovGCC, activateGcovLLVM } from \"./gcovr/gcovr\"\nimport { setupLLVM } from \"./llvm/llvm\"\nimport { setupMSVC } from \"./msvc/msvc\"\nimport { addEnv } from \"./utils/env/addEnv\"\nimport { getVersion } from \"./versions/versions\"\n\n/** Detecting the compiler version. Divide the given string by `-` and use the second element as the version */\nexport function getCompilerInfo(compilerAndVersion: string) {\n const compilerAndMaybeVersion = compilerAndVersion.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\n/** Installing the specified compiler */\nexport async function installCompiler(\n compilerAndVersion: string,\n osVersion: number[] | null,\n setupCppDir: string,\n arch: string,\n successMessages: string[],\n hasLLVM: boolean,\n errorMessages: string[],\n) {\n try {\n const { compiler, version } = getCompilerInfo(compilerAndVersion)\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\n await activateGcovLLVM()\n\n successMessages.push(getSuccessMessage(\"llvm\", installationInfo))\n break\n }\n case \"gcc\":\n case \"mingw\":\n case \"cygwin\":\n case \"msys\": {\n const gccVersion =\n compiler === \"mingw\" ? getVersion(\"mingw\", version, osVersion) : getVersion(\"gcc\", version, osVersion)\n const installationInfo =\n compiler === \"mingw\"\n ? await setupMingw(gccVersion, join(setupCppDir, \"gcc\"), arch)\n : await setupGcc(gccVersion, join(setupCppDir, \"gcc\"), arch)\n\n if (hasLLVM) {\n // remove back the added CPPFLAGS of LLVM that include the LLVM headers\n await addEnv(\"CPPFLAGS\", \"\")\n }\n\n await activateGcovGCC(gccVersion)\n\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\n if (hasLLVM) {\n // remove the CPPFLAGS of LLVM that include the LLVM headers\n await addEnv(\"CPPFLAGS\", \"\")\n }\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 } catch (err) {\n error(err as string | Error)\n errorMessages.push(`Failed to install the ${compilerAndVersion}`)\n }\n\n endGroup()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AG,CAAC,YAAYzD,IAAI,CAAC5+B,CAAA,CAAS,CAAC,EAAE,EAG5C,MAAO,CAAAD,CACT,GqBxBiD,CAC/C,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACD,EAGK6gB,EAAA,CAA6B,GAAI,CAAA3S,GAAA,CAAI,CAAC,SAAU,SAAU,SAAU,SAAS,EAG7E6S,EAAA,CAAiB,GAAI,CAAA7S,GAAA,CAAI,CAC7B,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,SACA,SACA,SAGA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACD,EAOK8S,EAAA,CAAiC,GAAI,CAAA6e,GAAA,GAQrC1e,EAAA,CAA+C,CACnD,QAAS,gBACT,QAAS,GACT,QAAS,gBACT,QAAS,gBACT,QAAS,gBACT,QAAS,gBACT,QAAS,gBACT,QAAS,gBACT,QAAS,gBACT,QAAS,gBACT,QAAS,gBACT,QAAS,gBACT,QAAS,gBACT,QAAS,eACT,QAAS,gBACT,QAAS,gBACT,QAAS,gBACT,QAAS,gBACT,QAAS,gBACT,QAAS,gBACT,QAAS,gBACT,QAAS,gBACT,QAAS,gBACT,QAAS,gBACT,SAAU,gBACV,SAAU,gBACV,SAAU,gBACV,SAAU,gBACV,SAAU,gBACV,SAAU,gBACV,SAAU,gBACV,SAAU,gBACV,sBAAuB,gBACvB,sBAAuB,gBACvB,SAAU,gBACV,sBAAuB,gBACvB,SAAU,gBAEV,SAAU,UACV,SAAU,gBACV,SAAU,gBACV,S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UC,CAAA,CAAM4hB,EAAA,CAAaw8B,WAAW,CACxE,GzDQEC,IAAA,CAAM/7B,EAAA,CACNg8B,SAAA,CAAWz/B,EAAA,CACX89B,IAAA,CAAMx+B,EAAA,CACNogC,IAAA,CAAMl8B,EAAA,CACNu6B,IAAA,CuEXK,QAAAA,CAAmB98C,CAAe,CAAEC,CAAgB,CAAEC,CAAY,EACvE,MAAO,CAAA8U,EAAA,CAAS,OAAQhV,CAAA,CAASijB,EAAA,CAAoBhjB,CAAA,CAAUC,CAAA,CACjE,GvEUEw+C,QAAA,CAAU9oC,EACZ,EAKa8P,EAAA,CAAQ3jB,MAAA,CAAOuB,IAAI,CAAC2c,EAAA,EAMpBmE,EAAA,CAAwB,CAAC,WAAY,eAAgB,aAAcsB,EAAA,CAAM,C,6C/DqFtFlC,EAAA,CAAKviB,OAAA,CAAQ09C,IAAI,EACdh1C,IAAI,CAAC3J,CAAC,GACLiB,OAAA,CAAQkG,QAAQ,CAAGnH,CACrB,IACC4U,KAAK,CAAC5U,CAAC,GACN,GAAA0K,EAAA,CAAAzE,KAAI,EAAE,oBACN,GAAAyE,EAAA,CAAAzE,KAAI,EAAEjG,CAAA,EACNiB,OAAA,CAAQkG,QAAQ,CAAG,CACrB"} \ No newline at end of file diff --git a/dist/modern/actions_python.6be0dfa4.js b/dist/modern/actions_python.6be0dfa4.js new file mode 100644 index 00000000..91f6f604 --- /dev/null +++ b/dist/modern/actions_python.6be0dfa4.js @@ -0,0 +1,3 @@ +function $parcel$export(e,t,r,i){Object.defineProperty(e,t,{get:r,set:i,enumerable:!0,configurable:!0});}function $parcel$interopDefault(e){return e&&e.__esModule?e.default:e;}var $k14yv$path=require("path"),$k14yv$os=require("os"),$k14yv$fs=require("fs"),$k14yv$stream=require("stream"),$k14yv$util=require("util"),$k14yv$assert=require("assert"),$k14yv$child_process=require("child_process"),$k14yv$crypto=require("crypto"),$parcel$global=globalThis,parcelRequire=$parcel$global.parcelRequire810d,parcelRegister=parcelRequire.register;parcelRegister("4kQHk",function(e,t){var r,i,n,s,o,a,h,c,l;function u(e){return e.startsWith("pypy");}async function p(e,t,o){h.IS_MAC&&(process.env.AGENT_TOOLSDIRECTORY="/Users/runner/hostedtoolcache");let c=process.env.AGENT_TOOLSDIRECTORY?.trim();if("string"==typeof c&&""!==c&&(process.env.RUNNER_TOOL_CACHE=process.env.AGENT_TOOLSDIRECTORY),(0,s.debug)("Python is expected to be installed into "+process.env.RUNNER_TOOL_CACHE),e){let t;if(u(e)){let r=await(0,i.findPyPyVersion)(e,o,!0,d,!1);t=`${r.resolvedPyPyVersion}-${r.resolvedPythonVersion}`,(0,n.info)(`Successfully set up PyPy ${r.resolvedPyPyVersion} with Python (${r.resolvedPythonVersion})`);}else{let i=await(0,r.useCpythonVersion)(e,o,!0,d,!1);t=i.version,(0,n.info)(`Successfully set up ${i.impl} (${t})`);}}a.GITHUB_ACTIONS&&(await f());}async function f(){let e=(0,o.join)(l,"python_matcher.json");if(!(await(0,c.pathExists)(e)))return(0,n.warning)("the python_matcher.json file does not exist in the same folder as setup-cpp.js");(0,n.info)("::add-matcher::"+e);}$parcel$export(e.exports,"setupActionsPython",()=>p),r=parcelRequire("66RQi"),i=parcelRequire("9q7Zq"),n=parcelRequire("ER74K"),s=parcelRequire("4t50X"),o=parcelRequire("bzNgi"),a=parcelRequire("52cQ1"),h=parcelRequire("dm0eT"),c=parcelRequire("kY0n1"),l=$k14yv$path.resolve(__dirname,"../../src/python");let d=!1;}),parcelRegister("66RQi",function(e,t){var r,i,n,s,o;function a(e){return r.IS_WINDOWS?$k14yv$path.join(e,"Scripts"):$k14yv$path.join(e,"bin");}async function h(e,t,h,p,f){let d=null,m=u(c(e),f);if(s.debug(`Semantic version spec of ${e} is ${m}`),p){d=await n.getManifest();let e=(await n.findReleaseFromManifest(m,t,d))?.version;e?(m=e,s.info(`Resolved as '${m}'`)):s.info(`Failed to resolve version ${m} from manifest`);}let y=o.find("Python",m,t);if(!y){s.info(`Version ${m} was not found in the local cache`);let e=await n.findReleaseFromManifest(m,t,d);e&&e.files&&e.files.length>0&&(s.info(`Version ${m} is available for downloading`),await n.installCpythonFromRelease(e),y=o.find("Python",m,t));}if(!y){let i=await(0,r.getOSInfo)();throw Error([`The version '${e}' with architecture '${t}' was not found for ${i?`${i.osName} ${i.osVersion}`:"this operating system"}.`,"The list of all available versions can be found here: "+n.MANIFEST_URL].join($k14yv$os.EOL));}let E=a(y),g=r.IS_WINDOWS?".exe":"",w=$k14yv$path.join(r.IS_WINDOWS?y:E,"python"+g);if(h){if(s.exportVariable("pythonLocation",y),s.exportVariable("PKG_CONFIG_PATH",y+"/lib/pkgconfig"),s.exportVariable("pythonLocation",y),s.exportVariable("Python_ROOT_DIR",y),s.exportVariable("Python2_ROOT_DIR",y),s.exportVariable("Python3_ROOT_DIR",y),s.exportVariable("PKG_CONFIG_PATH",y+"/lib/pkgconfig"),r.IS_LINUX){let e=process.env.LD_LIBRARY_PATH?":"+process.env.LD_LIBRARY_PATH:"",t=$k14yv$path.join(y,"lib");e.split(":").includes(t)||s.exportVariable("LD_LIBRARY_PATH",t+e);}if(s.addPath(y),s.addPath(E),r.IS_WINDOWS){let e=$k14yv$path.basename($k14yv$path.dirname(y)),t=i.major(e),r=i.minor(e),n=$k14yv$path.join(process.env.APPDATA||"","Python",`Python${t}${r}`,"Scripts");s.addPath(n);}}let x=l(y);return s.setOutput("python-version",x),s.setOutput("python-path",w),{impl:"CPython",version:x};}function c(e){let t=/^(\d+)\.(\d+)-dev$/;return e.replace(t,"~$1.$2.0-0");}function l(e){let t=e.split($k14yv$path.sep),r=t.findIndex(e=>"PyPy"===e||"Python"===e);return t[r+1]||"";}function u(e,t){let r=/(\d+\.\d+\.\d+)((?:a|b|rc)\d*)/g,i=/^(\d+)\.(\d+)$/,n=e.replace(r,"$1-$2");return t&&(n=n.replace(i,"~$1.$2.0-0")),n;}$parcel$export(e.exports,"useCpythonVersion",()=>h),r=parcelRequire("dm0eT"),i=parcelRequire("bSUdl"),n=parcelRequire("2kmVU"),s=parcelRequire("4t50X"),o=parcelRequire("bG0ld");}),parcelRegister("dm0eT",function(e,t){var r,i,n;function s(e,t,r,i=!1){let n=$k14yv$path.join(e,t),s=$k14yv$path.join(e,r);$parcel$interopDefault($k14yv$fs).existsSync(s)||($parcel$interopDefault($k14yv$fs).symlinkSync(n,s),!y&&i&&$parcel$interopDefault($k14yv$fs).chmodSync(s,"755"));}function o(e){return a(e)||!!i.validRange(e);}function a(e){return"nightly"===e;}function h(e){return $k14yv$path.basename($k14yv$path.dirname(e));}function c(e){let t="",r=$k14yv$path.join(e,v);return $parcel$interopDefault($k14yv$fs).existsSync(r)&&(t=$parcel$interopDefault($k14yv$fs).readFileSync(r).toString().trim()),t;}function l(e,t){let r=$k14yv$path.join(e,v);$parcel$interopDefault($k14yv$fs).writeFileSync(r,t);}function u(e){return /^\d+\.\d+$/.test(e);}async function p(){let{stdout:e}=await n.getExecOutput('powershell -command "(Get-CimInstance -ClassName Win32_OperatingSystem).Caption"',void 0,{silent:!0});return{osName:"Windows",osVersion:e.trim().split(" ")[3]};}async function f(){let{stdout:e}=await n.getExecOutput("sw_vers",["-productVersion"],{silent:!0});return{osName:"macOS",osVersion:e.trim()};}async function d(){let{stdout:e}=await n.getExecOutput("lsb_release",["-i","-r","-s"],{silent:!0}),[t,i]=e.trim().split("\n");return r.debug(`OS Name: ${t}, Version: ${i}`),{osName:t,osVersion:i};}async function m(){let e;try{y?e=await p():E?e=await d():g&&(e=await f());}catch(t){let e=t;r.debug(e.message);}finally{return e;}}$parcel$export(e.exports,"IS_WINDOWS",()=>y),$parcel$export(e.exports,"IS_LINUX",()=>E),$parcel$export(e.exports,"IS_MAC",()=>g),$parcel$export(e.exports,"WINDOWS_ARCHS",()=>w),$parcel$export(e.exports,"WINDOWS_PLATFORMS",()=>x),$parcel$export(e.exports,"createSymlinkInFolder",()=>s),$parcel$export(e.exports,"validateVersion",()=>o),$parcel$export(e.exports,"isNightlyKeyword",()=>a),$parcel$export(e.exports,"getPyPyVersionFromPath",()=>h),$parcel$export(e.exports,"readExactPyPyVersionFile",()=>c),$parcel$export(e.exports,"writeExactPyPyVersionFile",()=>l),$parcel$export(e.exports,"validatePythonVersionFormatForPyPy",()=>u),$parcel$export(e.exports,"getOSInfo",()=>m),r=parcelRequire("4t50X"),i=parcelRequire("bSUdl"),parcelRequire("asWrE"),n=parcelRequire("1f6JF");let y="win32"===process.platform,E="linux"===process.platform,g="darwin"===process.platform,w=["x86","x64"],x=["win32","win64"],v="PYPY_VERSION";}),parcelRegister("asWrE",function(e,t){var r;$parcel$export(e.exports,"parse",()=>r,e=>r=e),r=parcelRequire("9ra5j"),parcelRequire("erM83");}),parcelRegister("9ra5j",function(e,t){e.exports=parcelRequire("k9zRI"),e.exports.async=parcelRequire("iO4Tr"),e.exports.stream=parcelRequire("ddYPD"),e.exports.prettyError=parcelRequire("c4Fk1");}),parcelRegister("k9zRI",function(e,t){var r,i;function n(e){$parcel$global.Buffer&&$parcel$global.Buffer.isBuffer(e)&&(e=e.toString("utf8"));let t=new r();try{return t.parse(e),t.finish();}catch(t){throw i(t,e);}}e.exports=n,r=parcelRequire("16AyQ"),i=parcelRequire("c4Fk1");}),parcelRegister("16AyQ",function(module,exports){var $9FJkb,$90qfX,$4xjP6,$3wXZs;let _custom;function isDigit(e){return e>=CHAR_0&&e<=CHAR_9;}function isHexit(e){return e>=CHAR_A&&e<=CHAR_F||e>=CHAR_a&&e<=CHAR_f||e>=CHAR_0&&e<=CHAR_9;}function isBit(e){return e===CHAR_1||e===CHAR_0;}function isOctit(e){return e>=CHAR_0&&e<=CHAR_7;}function isAlphaNumQuoteHyphen(e){return e>=CHAR_A&&e<=CHAR_Z||e>=CHAR_a&&e<=CHAR_z||e>=CHAR_0&&e<=CHAR_9||e===CHAR_APOS||e===CHAR_QUOT||e===CHAR_LOWBAR||e===CHAR_HYPHEN;}function isAlphaNumHyphen(e){return e>=CHAR_A&&e<=CHAR_Z||e>=CHAR_a&&e<=CHAR_z||e>=CHAR_0&&e<=CHAR_9||e===CHAR_LOWBAR||e===CHAR_HYPHEN;}function hasKey(e,t){return!!hasOwnProperty.call(e,t)||("__proto__"===t&&defineProperty(e,"__proto__",descriptor),!1);}function InlineTable(){return Object.defineProperties({},{[_type]:{value:INLINE_TABLE}});}function isInlineTable(e){return null!==e&&"object"==typeof e&&e[_type]===INLINE_TABLE;}function Table(){return Object.defineProperties({},{[_type]:{value:TABLE},[_declared]:{value:!1,writable:!0}});}function isTable(e){return null!==e&&"object"==typeof e&&e[_type]===TABLE;}function InlineList(e){return Object.defineProperties([],{[_type]:{value:INLINE_LIST},[_contentType]:{value:e}});}function isInlineList(e){return null!==e&&"object"==typeof e&&e[_type]===INLINE_LIST;}function List(){return Object.defineProperties([],{[_type]:{value:LIST}});}function isList(e){return null!==e&&"object"==typeof e&&e[_type]===LIST;}function Integer(e){let t=+e;return(Object.is(t,-0)&&(t=0),$parcel$global.BigInt&&!Number.isSafeInteger(t))?new BoxedBigInt(e):Object.defineProperties(new Number(t),{isNaN:{value:function(){return isNaN(this);}},[_type]:{value:INTEGER},[_inspect]:{value:()=>`[Integer: ${e}]`}});}function isInteger(e){return null!==e&&"object"==typeof e&&e[_type]===INTEGER;}function Float(e){return Object.defineProperties(new Number(e),{[_type]:{value:FLOAT},[_inspect]:{value:()=>`[Float: ${e}]`}});}function isFloat(e){return null!==e&&"object"==typeof e&&e[_type]===FLOAT;}function tomlType(e){let t=typeof e;if("object"===t){if(null===e)return"null";if(e instanceof Date)return"datetime";if(_type in e)switch(e[_type]){case INLINE_TABLE:return"inline-table";case INLINE_LIST:return"inline-list";case TABLE:return"table";case LIST:return"list";case FLOAT:return"float";case INTEGER:return"integer";}}return t;}function makeParserClass(e){class t extends e{constructor(){super(),this.ctx=this.obj=Table();}atEndOfWord(){return this.char===CHAR_NUM||this.char===CTRL_I||this.char===CHAR_SP||this.atEndOfLine();}atEndOfLine(){return this.char===e.END||this.char===CTRL_J||this.char===CTRL_M;}parseStart(){if(this.char===e.END)return null;if(this.char===CHAR_LSQB)return this.call(this.parseTableOrList);if(this.char===CHAR_NUM)return this.call(this.parseComment);if(this.char===CTRL_J||this.char===CHAR_SP||this.char===CTRL_I||this.char===CTRL_M)return null;if(isAlphaNumQuoteHyphen(this.char))return this.callNow(this.parseAssignStatement);else throw this.error(new TomlError(`Unknown character "${this.char}"`));}parseWhitespaceToEOL(){if(this.char===CHAR_SP||this.char===CTRL_I||this.char===CTRL_M)return null;if(this.char===CHAR_NUM)return this.goto(this.parseComment);if(this.char===e.END||this.char===CTRL_J)return this.return();throw this.error(new TomlError("Unexpected character, expected only whitespace or comments till end of line"));}parseAssignStatement(){return this.callNow(this.parseAssign,this.recordAssignStatement);}recordAssignStatement(e){let t=this.ctx,r=e.key.pop();for(let r of e.key){if(hasKey(t,r)&&(!isTable(t[r])||t[r][_declared]))throw this.error(new TomlError("Can't redefine existing key"));t=t[r]=t[r]||Table();}if(hasKey(t,r))throw this.error(new TomlError("Can't redefine existing key"));return isInteger(e.value)||isFloat(e.value)?t[r]=e.value.valueOf():t[r]=e.value,this.goto(this.parseWhitespaceToEOL);}parseAssign(){return this.callNow(this.parseKeyword,this.recordAssignKeyword);}recordAssignKeyword(e){return this.state.resultTable?this.state.resultTable.push(e):this.state.resultTable=[e],this.goto(this.parseAssignKeywordPreDot);}parseAssignKeywordPreDot(){return this.char===CHAR_PERIOD?this.next(this.parseAssignKeywordPostDot):this.char!==CHAR_SP&&this.char!==CTRL_I?this.goto(this.parseAssignEqual):void 0;}parseAssignKeywordPostDot(){if(this.char!==CHAR_SP&&this.char!==CTRL_I)return this.callNow(this.parseKeyword,this.recordAssignKeyword);}parseAssignEqual(){if(this.char===CHAR_EQUALS)return this.next(this.parseAssignPreValue);throw this.error(new TomlError('Invalid character, expected "="'));}parseAssignPreValue(){return this.char===CHAR_SP||this.char===CTRL_I?null:this.callNow(this.parseValue,this.recordAssignValue);}recordAssignValue(e){return this.returnNow({key:this.state.resultTable,value:e});}parseComment(){do if(this.char===e.END||this.char===CTRL_J)return this.return();while(this.nextChar());}parseTableOrList(){if(this.char!==CHAR_LSQB)return this.goto(this.parseTable);this.next(this.parseList);}parseTable(){return this.ctx=this.obj,this.goto(this.parseTableNext);}parseTableNext(){return this.char===CHAR_SP||this.char===CTRL_I?null:this.callNow(this.parseKeyword,this.parseTableMore);}parseTableMore(e){if(this.char===CHAR_SP||this.char===CTRL_I)return null;if(this.char===CHAR_RSQB){if(hasKey(this.ctx,e)&&(!isTable(this.ctx[e])||this.ctx[e][_declared]))throw this.error(new TomlError("Can't redefine existing key"));return this.ctx=this.ctx[e]=this.ctx[e]||Table(),this.ctx[_declared]=!0,this.next(this.parseWhitespaceToEOL);}if(this.char===CHAR_PERIOD){if(hasKey(this.ctx,e)){if(isTable(this.ctx[e]))this.ctx=this.ctx[e];else if(isList(this.ctx[e]))this.ctx=this.ctx[e][this.ctx[e].length-1];else throw this.error(new TomlError("Can't redefine existing key"));}else this.ctx=this.ctx[e]=Table();return this.next(this.parseTableNext);}throw this.error(new TomlError("Unexpected character, expected whitespace, . or ]"));}parseList(){return this.ctx=this.obj,this.goto(this.parseListNext);}parseListNext(){return this.char===CHAR_SP||this.char===CTRL_I?null:this.callNow(this.parseKeyword,this.parseListMore);}parseListMore(e){if(this.char===CHAR_SP||this.char===CTRL_I)return null;if(this.char===CHAR_RSQB){if(hasKey(this.ctx,e)||(this.ctx[e]=List()),isInlineList(this.ctx[e]))throw this.error(new TomlError("Can't extend an inline array"));if(isList(this.ctx[e])){let t=Table();this.ctx[e].push(t),this.ctx=t;}else throw this.error(new TomlError("Can't redefine an existing key"));return this.next(this.parseListEnd);}if(this.char===CHAR_PERIOD){if(hasKey(this.ctx,e)){if(isInlineList(this.ctx[e]))throw this.error(new TomlError("Can't extend an inline array"));if(isInlineTable(this.ctx[e]))throw this.error(new TomlError("Can't extend an inline table"));else if(isList(this.ctx[e]))this.ctx=this.ctx[e][this.ctx[e].length-1];else if(isTable(this.ctx[e]))this.ctx=this.ctx[e];else throw this.error(new TomlError("Can't redefine an existing key"));}else this.ctx=this.ctx[e]=Table();return this.next(this.parseListNext);}throw this.error(new TomlError("Unexpected character, expected whitespace, . or ]"));}parseListEnd(e){if(this.char===CHAR_RSQB)return this.next(this.parseWhitespaceToEOL);throw this.error(new TomlError("Unexpected character, expected whitespace, . or ]"));}parseValue(){if(this.char===e.END)throw this.error(new TomlError("Key without value"));if(this.char===CHAR_QUOT)return this.next(this.parseDoubleString);if(this.char===CHAR_APOS)return this.next(this.parseSingleString);if(this.char===CHAR_HYPHEN||this.char===CHAR_PLUS)return this.goto(this.parseNumberSign);if(this.char===CHAR_i)return this.next(this.parseInf);if(this.char===CHAR_n)return this.next(this.parseNan);if(isDigit(this.char))return this.goto(this.parseNumberOrDateTime);else if(this.char===CHAR_t||this.char===CHAR_f)return this.goto(this.parseBoolean);else if(this.char===CHAR_LSQB)return this.call(this.parseInlineList,this.recordValue);else if(this.char===CHAR_LCUB)return this.call(this.parseInlineTable,this.recordValue);else throw this.error(new TomlError("Unexpected character, expecting string, number, datetime, boolean, inline array or inline table"));}recordValue(e){return this.returnNow(e);}parseInf(){if(this.char===CHAR_n)return this.next(this.parseInf2);throw this.error(new TomlError('Unexpected character, expected "inf", "+inf" or "-inf"'));}parseInf2(){if(this.char===CHAR_f)return"-"===this.state.buf?this.return(-1/0):this.return(1/0);throw this.error(new TomlError('Unexpected character, expected "inf", "+inf" or "-inf"'));}parseNan(){if(this.char===CHAR_a)return this.next(this.parseNan2);throw this.error(new TomlError('Unexpected character, expected "nan"'));}parseNan2(){if(this.char===CHAR_n)return this.return(NaN);throw this.error(new TomlError('Unexpected character, expected "nan"'));}parseKeyword(){return this.char===CHAR_QUOT?this.next(this.parseBasicString):this.char===CHAR_APOS?this.next(this.parseLiteralString):this.goto(this.parseBareKey);}parseBareKey(){do{if(this.char===e.END)throw this.error(new TomlError("Key ended without value"));if(isAlphaNumHyphen(this.char))this.consume();else if(0!==this.state.buf.length)return this.returnNow();else throw this.error(new TomlError("Empty bare keys are not allowed"));}while(this.nextChar());}parseSingleString(){return this.char===CHAR_APOS?this.next(this.parseLiteralMultiStringMaybe):this.goto(this.parseLiteralString);}parseLiteralString(){do{if(this.char===CHAR_APOS)return this.return();if(this.atEndOfLine())throw this.error(new TomlError("Unterminated string"));if(this.char===CHAR_DEL||this.char<=CTRL_CHAR_BOUNDARY&&this.char!==CTRL_I)throw this.errorControlCharInString();else this.consume();}while(this.nextChar());}parseLiteralMultiStringMaybe(){return this.char===CHAR_APOS?this.next(this.parseLiteralMultiString):this.returnNow();}parseLiteralMultiString(){return this.char===CTRL_M?null:this.char===CTRL_J?this.next(this.parseLiteralMultiStringContent):this.goto(this.parseLiteralMultiStringContent);}parseLiteralMultiStringContent(){do{if(this.char===CHAR_APOS)return this.next(this.parseLiteralMultiEnd);if(this.char===e.END)throw this.error(new TomlError("Unterminated multi-line string"));if(this.char===CHAR_DEL||this.char<=CTRL_CHAR_BOUNDARY&&this.char!==CTRL_I&&this.char!==CTRL_J&&this.char!==CTRL_M)throw this.errorControlCharInString();else this.consume();}while(this.nextChar());}parseLiteralMultiEnd(){return this.char===CHAR_APOS?this.next(this.parseLiteralMultiEnd2):(this.state.buf+="'",this.goto(this.parseLiteralMultiStringContent));}parseLiteralMultiEnd2(){return this.char===CHAR_APOS?this.return():(this.state.buf+="''",this.goto(this.parseLiteralMultiStringContent));}parseDoubleString(){return this.char===CHAR_QUOT?this.next(this.parseMultiStringMaybe):this.goto(this.parseBasicString);}parseBasicString(){do{if(this.char===CHAR_BSOL)return this.call(this.parseEscape,this.recordEscapeReplacement);if(this.char===CHAR_QUOT)return this.return();if(this.atEndOfLine())throw this.error(new TomlError("Unterminated string"));else if(this.char===CHAR_DEL||this.char<=CTRL_CHAR_BOUNDARY&&this.char!==CTRL_I)throw this.errorControlCharInString();else this.consume();}while(this.nextChar());}recordEscapeReplacement(e){return this.state.buf+=e,this.goto(this.parseBasicString);}parseMultiStringMaybe(){return this.char===CHAR_QUOT?this.next(this.parseMultiString):this.returnNow();}parseMultiString(){return this.char===CTRL_M?null:this.char===CTRL_J?this.next(this.parseMultiStringContent):this.goto(this.parseMultiStringContent);}parseMultiStringContent(){do{if(this.char===CHAR_BSOL)return this.call(this.parseMultiEscape,this.recordMultiEscapeReplacement);if(this.char===CHAR_QUOT)return this.next(this.parseMultiEnd);if(this.char===e.END)throw this.error(new TomlError("Unterminated multi-line string"));else if(this.char===CHAR_DEL||this.char<=CTRL_CHAR_BOUNDARY&&this.char!==CTRL_I&&this.char!==CTRL_J&&this.char!==CTRL_M)throw this.errorControlCharInString();else this.consume();}while(this.nextChar());}errorControlCharInString(){let e="\\u00";return this.char<16&&(e+="0"),e+=this.char.toString(16),this.error(new TomlError(`Control characters (codes < 0x1f and 0x7f) are not allowed in strings, use ${e} instead`));}recordMultiEscapeReplacement(e){return this.state.buf+=e,this.goto(this.parseMultiStringContent);}parseMultiEnd(){return this.char===CHAR_QUOT?this.next(this.parseMultiEnd2):(this.state.buf+='"',this.goto(this.parseMultiStringContent));}parseMultiEnd2(){return this.char===CHAR_QUOT?this.return():(this.state.buf+='""',this.goto(this.parseMultiStringContent));}parseMultiEscape(){return this.char===CTRL_M||this.char===CTRL_J?this.next(this.parseMultiTrim):this.char===CHAR_SP||this.char===CTRL_I?this.next(this.parsePreMultiTrim):this.goto(this.parseEscape);}parsePreMultiTrim(){if(this.char===CHAR_SP||this.char===CTRL_I)return null;if(this.char===CTRL_M||this.char===CTRL_J)return this.next(this.parseMultiTrim);throw this.error(new TomlError("Can't escape whitespace"));}parseMultiTrim(){return this.char===CTRL_J||this.char===CHAR_SP||this.char===CTRL_I||this.char===CTRL_M?null:this.returnNow();}parseEscape(){if(this.char in escapes)return this.return(escapes[this.char]);if(this.char===CHAR_u)return this.call(this.parseSmallUnicode,this.parseUnicodeReturn);if(this.char===CHAR_U)return this.call(this.parseLargeUnicode,this.parseUnicodeReturn);throw this.error(new TomlError("Unknown escape character: "+this.char));}parseUnicodeReturn(e){try{let t=parseInt(e,16);if(t>=SURROGATE_FIRST&&t<=SURROGATE_LAST)throw this.error(new TomlError("Invalid unicode, character in range 0xD800 - 0xDFFF is reserved"));return this.returnNow(String.fromCodePoint(t));}catch(e){throw this.error(TomlError.wrap(e));}}parseSmallUnicode(){if(isHexit(this.char)){if(this.consume(),this.state.buf.length>=4)return this.return();}else throw this.error(new TomlError("Invalid character in unicode sequence, expected hex"));}parseLargeUnicode(){if(isHexit(this.char)){if(this.consume(),this.state.buf.length>=8)return this.return();}else throw this.error(new TomlError("Invalid character in unicode sequence, expected hex"));}parseNumberSign(){return this.consume(),this.next(this.parseMaybeSignedInfOrNan);}parseMaybeSignedInfOrNan(){return this.char===CHAR_i?this.next(this.parseInf):this.char===CHAR_n?this.next(this.parseNan):this.callNow(this.parseNoUnder,this.parseNumberIntegerStart);}parseNumberIntegerStart(){return this.char===CHAR_0?(this.consume(),this.next(this.parseNumberIntegerExponentOrDecimal)):this.goto(this.parseNumberInteger);}parseNumberIntegerExponentOrDecimal(){return this.char===CHAR_PERIOD?(this.consume(),this.call(this.parseNoUnder,this.parseNumberFloat)):this.char===CHAR_E||this.char===CHAR_e?(this.consume(),this.next(this.parseNumberExponentSign)):this.returnNow(Integer(this.state.buf));}parseNumberInteger(){if(isDigit(this.char))this.consume();else{if(this.char===CHAR_LOWBAR)return this.call(this.parseNoUnder);if(this.char===CHAR_E||this.char===CHAR_e)return this.consume(),this.next(this.parseNumberExponentSign);if(this.char===CHAR_PERIOD)return this.consume(),this.call(this.parseNoUnder,this.parseNumberFloat);let e=Integer(this.state.buf);if(!e.isNaN())return this.returnNow(e);throw this.error(new TomlError("Invalid number"));}}parseNoUnder(){if(this.char===CHAR_LOWBAR||this.char===CHAR_PERIOD||this.char===CHAR_E||this.char===CHAR_e)throw this.error(new TomlError("Unexpected character, expected digit"));if(this.atEndOfWord())throw this.error(new TomlError("Incomplete number"));return this.returnNow();}parseNoUnderHexOctBinLiteral(){if(this.char===CHAR_LOWBAR||this.char===CHAR_PERIOD)throw this.error(new TomlError("Unexpected character, expected digit"));if(this.atEndOfWord())throw this.error(new TomlError("Incomplete number"));return this.returnNow();}parseNumberFloat(){if(this.char===CHAR_LOWBAR)return this.call(this.parseNoUnder,this.parseNumberFloat);if(isDigit(this.char))this.consume();else if(this.char===CHAR_E||this.char===CHAR_e)return this.consume(),this.next(this.parseNumberExponentSign);else return this.returnNow(Float(this.state.buf));}parseNumberExponentSign(){if(isDigit(this.char))return this.goto(this.parseNumberExponent);if(this.char===CHAR_HYPHEN||this.char===CHAR_PLUS)this.consume(),this.call(this.parseNoUnder,this.parseNumberExponent);else throw this.error(new TomlError("Unexpected character, expected -, + or digit"));}parseNumberExponent(){if(isDigit(this.char))this.consume();else if(this.char===CHAR_LOWBAR)return this.call(this.parseNoUnder);else return this.returnNow(Float(this.state.buf));}parseNumberOrDateTime(){return this.char===CHAR_0?(this.consume(),this.next(this.parseNumberBaseOrDateTime)):this.goto(this.parseNumberOrDateTimeOnly);}parseNumberOrDateTimeOnly(){if(this.char===CHAR_LOWBAR)return this.call(this.parseNoUnder,this.parseNumberInteger);if(isDigit(this.char))this.consume(),this.state.buf.length>4&&this.next(this.parseNumberInteger);else if(this.char===CHAR_E||this.char===CHAR_e)return this.consume(),this.next(this.parseNumberExponentSign);else if(this.char===CHAR_PERIOD)return this.consume(),this.call(this.parseNoUnder,this.parseNumberFloat);else if(this.char===CHAR_HYPHEN)return this.goto(this.parseDateTime);else if(this.char===CHAR_COLON)return this.goto(this.parseOnlyTimeHour);else return this.returnNow(Integer(this.state.buf));}parseDateTimeOnly(){if(this.state.buf.length<4){if(isDigit(this.char))return this.consume();if(this.char===CHAR_COLON)return this.goto(this.parseOnlyTimeHour);throw this.error(new TomlError("Expected digit while parsing year part of a date"));}if(this.char===CHAR_HYPHEN)return this.goto(this.parseDateTime);throw this.error(new TomlError("Expected hyphen (-) while parsing year part of date"));}parseNumberBaseOrDateTime(){if(this.char===CHAR_b)return this.consume(),this.call(this.parseNoUnderHexOctBinLiteral,this.parseIntegerBin);if(this.char===CHAR_o)return this.consume(),this.call(this.parseNoUnderHexOctBinLiteral,this.parseIntegerOct);if(this.char===CHAR_x)return this.consume(),this.call(this.parseNoUnderHexOctBinLiteral,this.parseIntegerHex);if(this.char===CHAR_PERIOD)return this.goto(this.parseNumberInteger);if(isDigit(this.char))return this.goto(this.parseDateTimeOnly);else return this.returnNow(Integer(this.state.buf));}parseIntegerHex(){if(isHexit(this.char))this.consume();else{if(this.char===CHAR_LOWBAR)return this.call(this.parseNoUnderHexOctBinLiteral);let e=Integer(this.state.buf);if(!e.isNaN())return this.returnNow(e);throw this.error(new TomlError("Invalid number"));}}parseIntegerOct(){if(isOctit(this.char))this.consume();else{if(this.char===CHAR_LOWBAR)return this.call(this.parseNoUnderHexOctBinLiteral);let e=Integer(this.state.buf);if(!e.isNaN())return this.returnNow(e);throw this.error(new TomlError("Invalid number"));}}parseIntegerBin(){if(isBit(this.char))this.consume();else{if(this.char===CHAR_LOWBAR)return this.call(this.parseNoUnderHexOctBinLiteral);let e=Integer(this.state.buf);if(!e.isNaN())return this.returnNow(e);throw this.error(new TomlError("Invalid number"));}}parseDateTime(){if(this.state.buf.length<4)throw this.error(new TomlError("Years less than 1000 must be zero padded to four characters"));return this.state.result=this.state.buf,this.state.buf="",this.next(this.parseDateMonth);}parseDateMonth(){if(this.char===CHAR_HYPHEN){if(this.state.buf.length<2)throw this.error(new TomlError("Months less than 10 must be zero padded to two characters"));return this.state.result+="-"+this.state.buf,this.state.buf="",this.next(this.parseDateDay);}if(isDigit(this.char))this.consume();else throw this.error(new TomlError("Incomplete datetime"));}parseDateDay(){if(this.char===CHAR_T||this.char===CHAR_SP){if(this.state.buf.length<2)throw this.error(new TomlError("Days less than 10 must be zero padded to two characters"));return this.state.result+="-"+this.state.buf,this.state.buf="",this.next(this.parseStartTimeHour);}if(this.atEndOfWord())return this.returnNow($4xjP6(this.state.result+"-"+this.state.buf));if(isDigit(this.char))this.consume();else throw this.error(new TomlError("Incomplete datetime"));}parseStartTimeHour(){return this.atEndOfWord()?this.returnNow($4xjP6(this.state.result)):this.goto(this.parseTimeHour);}parseTimeHour(){if(this.char===CHAR_COLON){if(this.state.buf.length<2)throw this.error(new TomlError("Hours less than 10 must be zero padded to two characters"));return this.state.result+="T"+this.state.buf,this.state.buf="",this.next(this.parseTimeMin);}if(isDigit(this.char))this.consume();else throw this.error(new TomlError("Incomplete datetime"));}parseTimeMin(){if(this.state.buf.length<2&&isDigit(this.char))this.consume();else if(2===this.state.buf.length&&this.char===CHAR_COLON)return this.state.result+=":"+this.state.buf,this.state.buf="",this.next(this.parseTimeSec);else throw this.error(new TomlError("Incomplete datetime"));}parseTimeSec(){if(isDigit(this.char)){if(this.consume(),2===this.state.buf.length)return this.state.result+=":"+this.state.buf,this.state.buf="",this.next(this.parseTimeZoneOrFraction);}else throw this.error(new TomlError("Incomplete datetime"));}parseOnlyTimeHour(){if(this.char===CHAR_COLON){if(this.state.buf.length<2)throw this.error(new TomlError("Hours less than 10 must be zero padded to two characters"));return this.state.result=this.state.buf,this.state.buf="",this.next(this.parseOnlyTimeMin);}throw this.error(new TomlError("Incomplete time"));}parseOnlyTimeMin(){if(this.state.buf.length<2&&isDigit(this.char))this.consume();else if(2===this.state.buf.length&&this.char===CHAR_COLON)return this.state.result+=":"+this.state.buf,this.state.buf="",this.next(this.parseOnlyTimeSec);else throw this.error(new TomlError("Incomplete time"));}parseOnlyTimeSec(){if(isDigit(this.char)){if(this.consume(),2===this.state.buf.length)return this.next(this.parseOnlyTimeFractionMaybe);}else throw this.error(new TomlError("Incomplete time"));}parseOnlyTimeFractionMaybe(){if(this.state.result+=":"+this.state.buf,this.char!==CHAR_PERIOD)return this.return($3wXZs(this.state.result));this.state.buf="",this.next(this.parseOnlyTimeFraction);}parseOnlyTimeFraction(){if(isDigit(this.char))this.consume();else if(this.atEndOfWord()){if(0===this.state.buf.length)throw this.error(new TomlError("Expected digit in milliseconds"));return this.returnNow($3wXZs(this.state.result+"."+this.state.buf));}else throw this.error(new TomlError("Unexpected character in datetime, expected period (.), minus (-), plus (+) or Z"));}parseTimeZoneOrFraction(){if(this.char===CHAR_PERIOD)this.consume(),this.next(this.parseDateTimeFraction);else if(this.char===CHAR_HYPHEN||this.char===CHAR_PLUS)this.consume(),this.next(this.parseTimeZoneHour);else if(this.char===CHAR_Z)return this.consume(),this.return($9FJkb(this.state.result+this.state.buf));else if(this.atEndOfWord())return this.returnNow($90qfX(this.state.result+this.state.buf));else throw this.error(new TomlError("Unexpected character in datetime, expected period (.), minus (-), plus (+) or Z"));}parseDateTimeFraction(){if(isDigit(this.char))this.consume();else if(1===this.state.buf.length)throw this.error(new TomlError("Expected digit in milliseconds"));else if(this.char===CHAR_HYPHEN||this.char===CHAR_PLUS)this.consume(),this.next(this.parseTimeZoneHour);else if(this.char===CHAR_Z)return this.consume(),this.return($9FJkb(this.state.result+this.state.buf));else if(this.atEndOfWord())return this.returnNow($90qfX(this.state.result+this.state.buf));else throw this.error(new TomlError("Unexpected character in datetime, expected period (.), minus (-), plus (+) or Z"));}parseTimeZoneHour(){if(isDigit(this.char)){if(this.consume(),/\d\d$/.test(this.state.buf))return this.next(this.parseTimeZoneSep);}else throw this.error(new TomlError("Unexpected character in datetime, expected digit"));}parseTimeZoneSep(){if(this.char===CHAR_COLON)this.consume(),this.next(this.parseTimeZoneMin);else throw this.error(new TomlError("Unexpected character in datetime, expected colon"));}parseTimeZoneMin(){if(isDigit(this.char)){if(this.consume(),/\d\d$/.test(this.state.buf))return this.return($9FJkb(this.state.result+this.state.buf));}else throw this.error(new TomlError("Unexpected character in datetime, expected digit"));}parseBoolean(){return this.char===CHAR_t?(this.consume(),this.next(this.parseTrue_r)):this.char===CHAR_f?(this.consume(),this.next(this.parseFalse_a)):void 0;}parseTrue_r(){if(this.char===CHAR_r)return this.consume(),this.next(this.parseTrue_u);throw this.error(new TomlError("Invalid boolean, expected true or false"));}parseTrue_u(){if(this.char===CHAR_u)return this.consume(),this.next(this.parseTrue_e);throw this.error(new TomlError("Invalid boolean, expected true or false"));}parseTrue_e(){if(this.char===CHAR_e)return this.return(!0);throw this.error(new TomlError("Invalid boolean, expected true or false"));}parseFalse_a(){if(this.char===CHAR_a)return this.consume(),this.next(this.parseFalse_l);throw this.error(new TomlError("Invalid boolean, expected true or false"));}parseFalse_l(){if(this.char===CHAR_l)return this.consume(),this.next(this.parseFalse_s);throw this.error(new TomlError("Invalid boolean, expected true or false"));}parseFalse_s(){if(this.char===CHAR_s)return this.consume(),this.next(this.parseFalse_e);throw this.error(new TomlError("Invalid boolean, expected true or false"));}parseFalse_e(){if(this.char===CHAR_e)return this.return(!1);throw this.error(new TomlError("Invalid boolean, expected true or false"));}parseInlineList(){if(this.char===CHAR_SP||this.char===CTRL_I||this.char===CTRL_M||this.char===CTRL_J)return null;if(this.char===e.END)throw this.error(new TomlError("Unterminated inline array"));return this.char===CHAR_NUM?this.call(this.parseComment):this.char===CHAR_RSQB?this.return(this.state.resultArr||InlineList()):this.callNow(this.parseValue,this.recordInlineListValue);}recordInlineListValue(e){if(this.state.resultArr){let t=this.state.resultArr[_contentType],r=tomlType(e);if(t!==r)throw this.error(new TomlError(`Inline lists must be a single type, not a mix of ${t} and ${r}`));}else this.state.resultArr=InlineList(tomlType(e));return isFloat(e)||isInteger(e)?this.state.resultArr.push(e.valueOf()):this.state.resultArr.push(e),this.goto(this.parseInlineListNext);}parseInlineListNext(){if(this.char===CHAR_SP||this.char===CTRL_I||this.char===CTRL_M||this.char===CTRL_J)return null;if(this.char===CHAR_NUM)return this.call(this.parseComment);if(this.char===CHAR_COMMA)return this.next(this.parseInlineList);if(this.char===CHAR_RSQB)return this.goto(this.parseInlineList);throw this.error(new TomlError("Invalid character, expected whitespace, comma (,) or close bracket (])"));}parseInlineTable(){if(this.char===CHAR_SP||this.char===CTRL_I)return null;if(this.char===e.END||this.char===CHAR_NUM||this.char===CTRL_J||this.char===CTRL_M)throw this.error(new TomlError("Unterminated inline array"));return this.char===CHAR_RCUB?this.return(this.state.resultTable||InlineTable()):(this.state.resultTable||(this.state.resultTable=InlineTable()),this.callNow(this.parseAssign,this.recordInlineTableValue));}recordInlineTableValue(e){let t=this.state.resultTable,r=e.key.pop();for(let r of e.key){if(hasKey(t,r)&&(!isTable(t[r])||t[r][_declared]))throw this.error(new TomlError("Can't redefine existing key"));t=t[r]=t[r]||Table();}if(hasKey(t,r))throw this.error(new TomlError("Can't redefine existing key"));return isInteger(e.value)||isFloat(e.value)?t[r]=e.value.valueOf():t[r]=e.value,this.goto(this.parseInlineTableNext);}parseInlineTableNext(){if(this.char===CHAR_SP||this.char===CTRL_I)return null;if(this.char===e.END||this.char===CHAR_NUM||this.char===CTRL_J||this.char===CTRL_M)throw this.error(new TomlError("Unterminated inline array"));if(this.char===CHAR_COMMA)return this.next(this.parseInlineTable);if(this.char===CHAR_RCUB)return this.goto(this.parseInlineTable);throw this.error(new TomlError("Invalid character, expected whitespace, comma (,) or close bracket (])"));}}return t;}module.exports=makeParserClass(parcelRequire("liZiS")),module.exports.makeParserClass=makeParserClass;class TomlError extends Error{constructor(e){super(e),this.name="TomlError",Error.captureStackTrace&&Error.captureStackTrace(this,TomlError),this.fromTOML=!0,this.wrapped=null;}}TomlError.wrap=e=>{let t=new TomlError(e.message);return t.code=e.code,t.wrapped=e,t;},module.exports.TomlError=TomlError,$9FJkb=parcelRequire("9FJkb"),$90qfX=parcelRequire("90qfX"),$4xjP6=parcelRequire("4xjP6"),$3wXZs=parcelRequire("3wXZs");let CTRL_I=9,CTRL_J=10,CTRL_M=13,CTRL_CHAR_BOUNDARY=31,CHAR_SP=32,CHAR_QUOT=34,CHAR_NUM=35,CHAR_APOS=39,CHAR_PLUS=43,CHAR_COMMA=44,CHAR_HYPHEN=45,CHAR_PERIOD=46,CHAR_0=48,CHAR_1=49,CHAR_7=55,CHAR_9=57,CHAR_COLON=58,CHAR_EQUALS=61,CHAR_A=65,CHAR_E=69,CHAR_F=70,CHAR_T=84,CHAR_U=85,CHAR_Z=90,CHAR_LOWBAR=95,CHAR_a=97,CHAR_b=98,CHAR_e=101,CHAR_f=102,CHAR_i=105,CHAR_l=108,CHAR_n=110,CHAR_o=111,CHAR_r=114,CHAR_s=115,CHAR_t=116,CHAR_u=117,CHAR_x=120,CHAR_z=122,CHAR_LCUB=123,CHAR_RCUB=125,CHAR_LSQB=91,CHAR_BSOL=92,CHAR_RSQB=93,CHAR_DEL=127,SURROGATE_FIRST=55296,SURROGATE_LAST=57343,escapes={[CHAR_b]:"\b",[CHAR_t]:" ",[CHAR_n]:"\n",[CHAR_f]:"\f",[CHAR_r]:"\r",[CHAR_QUOT]:'"',[CHAR_BSOL]:"\\"},_type=Symbol(),_declared=Symbol(),hasOwnProperty=Object.prototype.hasOwnProperty,defineProperty=Object.defineProperty,descriptor={configurable:!0,enumerable:!0,writable:!0,value:void 0},INLINE_TABLE=Symbol(),TABLE=Symbol(),_contentType=Symbol(),INLINE_LIST=Symbol(),LIST=Symbol();try{let utilInspect=eval("require('util').inspect");_custom=utilInspect.custom;}catch(_){}let _inspect=_custom||"inspect";class BoxedBigInt{constructor(e){try{this.value=$parcel$global.BigInt.asIntN(64,e);}catch(e){this.value=null;}Object.defineProperty(this,_type,{value:INTEGER});}isNaN(){return null===this.value;}toString(){return this.value+"";}[_inspect](){return`[BigInt: ${this.toString()}]}`;}valueOf(){return this.value;}}let INTEGER=Symbol(),FLOAT=Symbol();}),parcelRegister("liZiS",function(e,t){let r=1114112;class i extends Error{constructor(e,t,r){super("[ParserError] "+e,t,r),this.name="ParserError",this.code="ParserError",Error.captureStackTrace&&Error.captureStackTrace(this,i);}}class n{constructor(e){this.parser=e,this.buf="",this.returned=null,this.result=null,this.resultTable=null,this.resultArr=null;}}class s{constructor(){this.pos=0,this.col=0,this.line=0,this.obj={},this.ctx=this.obj,this.stack=[],this._buf="",this.char=null,this.ii=0,this.state=new n(this.parseStart);}parse(e){let t;if(0!==e.length&&null!=e.length){for(this._buf=e+"",this.ii=-1,this.char=-1;!1===t||this.nextChar();)t=this.runOne();this._buf=null;}}nextChar(){return 10===this.char&&(++this.line,this.col=-1),++this.ii,this.char=this._buf.codePointAt(this.ii),++this.pos,++this.col,this.haveBuffer();}haveBuffer(){return this.ii{let t=new Date(e);if(!isNaN(t))return t;throw TypeError("Invalid Datetime");};}),parcelRegister("90qfX",function(e,t){var r=parcelRequire("iV0Sp");class i extends Date{constructor(e){super(e+"Z"),this.isFloating=!0;}toISOString(){let e=`${this.getUTCFullYear()}-${r(2,this.getUTCMonth()+1)}-${r(2,this.getUTCDate())}`,t=`${r(2,this.getUTCHours())}:${r(2,this.getUTCMinutes())}:${r(2,this.getUTCSeconds())}.${r(3,this.getUTCMilliseconds())}`;return`${e}T${t}`;}}e.exports=e=>{let t=new i(e);if(!isNaN(t))return t;throw TypeError("Invalid Datetime");};}),parcelRegister("iV0Sp",function(e,t){e.exports=(e,t)=>{for(t+="";t.length{let t=new n(e);if(!isNaN(t))return t;throw TypeError("Invalid Datetime");};}),parcelRegister("3wXZs",function(e,t){var r=parcelRequire("iV0Sp");class i extends Date{constructor(e){super(`0000-01-01T${e}Z`),this.isTime=!0;}toISOString(){return`${r(2,this.getUTCHours())}:${r(2,this.getUTCMinutes())}:${r(2,this.getUTCSeconds())}.${r(3,this.getUTCMilliseconds())}`;}}e.exports=e=>{let t=new i(e);if(!isNaN(t))return t;throw TypeError("Invalid Datetime");};}),parcelRegister("c4Fk1",function(e,t){function r(e,t){if(null==e.pos||null==e.line)return e;let r=e.message;if(r+=` at row ${e.line+1}, col ${e.col+1}, pos ${e.pos}: +`,t&&t.split){let i=t.split(/\n/),n=(Math.min(i.length,e.line+3)+"").length,s=" ";for(;s.length "+i[t]+"\n"+s+" ";for(let t=0;t=e.length)try{return s(a.finish());}catch(t){return o(i(t,e));}try{a.parse(e.slice(t,t+r)),setImmediate(n,t+r,r,s,o);}catch(t){o(i(t,e));}}t||(t={});let s=0,o=t.blocksize||40960,a=new r();return new Promise((e,t)=>{setImmediate(n,s,o,e,t);});}e.exports=n,r=parcelRequire("16AyQ"),i=parcelRequire("c4Fk1");}),parcelRegister("ddYPD",function(e,t){var r;function i(e){return e?n(e):s(e);}function n(e){let t=new r();return e.setEncoding("utf8"),new Promise((r,i)=>{let n;function s(){if(h=!0,!n)try{r(t.finish());}catch(e){i(e);}}function o(e){c=!0,i(e);}function a(){let r;for(n=!0;null!==(r=e.read());)try{t.parse(r);}catch(e){return o(e);}if(n=!1,h)return s();c||e.once("readable",a);}let h=!1,c=!1;e.once("end",s),e.once("error",o),a();});}function s(){let e=new r();return new $k14yv$stream.Transform({objectMode:!0,transform(t,r,i){try{e.parse(t.toString(r));}catch(e){this.emit("error",e);}i();},flush(t){try{this.push(e.finish());}catch(e){this.emit("error",e);}t();}});}e.exports=i,r=parcelRequire("16AyQ");}),parcelRegister("erM83",function(e,t){function r(e){if(null===e)throw i("null");if(void 0===e)throw i("undefined");if("object"!=typeof e)throw i(typeof e);if("function"==typeof e.toJSON&&(e=e.toJSON()),null==e)return null;let t=l(e);if("table"!==t)throw i(t);return h("","",e);}function i(e){return Error("Can only stringify objects, not "+e);}function n(){return Error("Array values can't have mixed types");}function s(e){return Object.keys(e).filter(t=>c(e[t]));}function o(e){return Object.keys(e).filter(t=>!c(e[t]));}function a(e){let t=Array.isArray(e)?[]:Object.prototype.hasOwnProperty.call(e,"__proto__")?{["__proto__"]:void 0}:{};for(let r of Object.keys(e))!e[r]||"function"!=typeof e[r].toJSON||"toISOString"in e[r]?t[r]=e[r]:t[r]=e[r].toJSON();return t;}function h(e,t,r){i=s(r=a(r)),n=o(r);var i,n,h=[],c=t||"";i.forEach(e=>{var t=l(r[e]);"undefined"!==t&&"null"!==t&&h.push(c+u(e)+" = "+E(r[e],!0));}),h.length>0&&h.push("");var p=e&&i.length>0?t+" ":"";return n.forEach(t=>{h.push(R(e,p,t,r[t]));}),h.join("\n");}function c(e){switch(l(e)){case"undefined":case"null":case"integer":case"nan":case"float":case"boolean":case"string":case"datetime":return!0;case"array":return 0===e.length||"table"!==l(e[0]);case"table":return 0===Object.keys(e).length;default:return!1;}}function l(e){if(void 0===e)return"undefined";if(null===e)return"null";if("bigint"==typeof e||Number.isInteger(e)&&!Object.is(e,-0))return"integer";if("number"==typeof e)return"float";if("boolean"==typeof e)return"boolean";else if("string"==typeof e)return"string";else if("toISOString"in e)return isNaN(e)?"undefined":"datetime";else if(Array.isArray(e))return"array";else return"table";}function u(e){var t=e+"";return /^[-A-Za-z0-9_]+$/.test(t)?t:p(t);}function p(e){return'"'+m(e).replace(/"/g,'\\"')+'"';}function f(e){return"'"+e+"'";}function d(e,t){for(;t.length"\\u"+d(4,e.codePointAt(0).toString(16)));}function y(e){let t=e.split(/\n/).map(e=>m(e).replace(/"(?="")/g,'\\"')).join("\n");return'"'===t.slice(-1)&&(t+="\\\n"),'"""\n'+t+'"""';}function E(e,t){let r=l(e);return"string"===r&&(t&&/\n/.test(e)?r="string-multiline":!/[\b\t\n\f\r']/.test(e)&&/"/.test(e)&&(r="string-literal")),g(e,r);}function g(e,t){switch(t||(t=l(e)),t){case"string-multiline":return y(e);case"string":return p(e);case"string-literal":return f(e);case"integer":return w(e);case"float":return x(e);case"boolean":return v(e);case"datetime":return I(e);case"array":return S(e.filter(e=>"null"!==l(e)&&"undefined"!==l(e)&&"nan"!==l(e)));case"table":return T(e);default:throw i(t);}}function w(e){return(e+"").replace(/\B(?=(\d{3})+(?!\d))/g,"_");}function x(e){if(e===1/0)return"inf";if(e===-1/0)return"-inf";if(Object.is(e,NaN))return"nan";if(Object.is(e,-0))return"-0.0";var t=(e+"").split("."),r=t[0],i=t[1]||0;return w(r)+"."+i;}function v(e){return e+"";}function I(e){return e.toISOString();}function b(e){return"float"===e||"integer"===e;}function O(e){var t=l(e[0]);return e.every(e=>l(e)===t)?t:e.every(e=>b(l(e)))?"float":"mixed";}function N(e){let t=O(e);if("mixed"===t)throw n();return t;}function S(e){let t=N(e=a(e));var r="[",i=e.map(e=>g(e,t));return i.join(", ").length>60||/\n/.test(i)?r+="\n "+i.join(",\n ")+"\n":r+=" "+i.join(", ")+(i.length>0?" ":""),r+"]";}function T(e){e=a(e);var t=[];return Object.keys(e).forEach(r=>{t.push(u(r)+" = "+E(e[r],!1));}),"{ "+t.join(", ")+(t.length>0?" ":"")+"}";}function R(e,t,r,n){var s=l(n);if("array"===s)return P(e,t,r,n);if("table"===s)return L(e,t,r,n);throw i(s);}function P(e,t,r,n){N(n=a(n));var s=l(n[0]);if("table"!==s)throw i(s);var o=e+u(r),c="";return n.forEach(e=>{c.length>0&&(c+="\n"),c+=t+"[["+o+"]]\n"+h(o+".",t,e);}),c;}function L(e,t,r,i){var n=e+u(r),o="";return s(i).length>0&&(o+=t+"["+n+"]\n"),o+h(n+".",t,i);}e.exports=r,e.exports.value=g;}),parcelRegister("2kmVU",function(e,t){var r,i,n,s;async function o(e,t,r){return r||(r=await a()),await i.findFromManifest(e,!1,r,t);}function a(){return r.debug(`Getting manifest from ${p}/${f}@${d}`),i.getManifestFromRepo(p,f,u,d);}async function h(e){let t={cwd:e,env:{...process.env,...(s.IS_LINUX&&{LD_LIBRARY_PATH:$k14yv$path.join(e,"lib")})},silent:!0,listeners:{stdout(e){r.info(e.toString().trim());},stderr(e){r.error(e.toString().trim());}}};s.IS_WINDOWS?await n.exec("powershell",["./setup.ps1"],t):await n.exec("bash",["./setup.sh"],t);}async function c(e){let t=e.files[0].download_url;r.info(`Download from "${t}"`);let n="";try{let e;n=await i.downloadTool(t,void 0,u),r.info("Extract downloaded archive"),e=s.IS_WINDOWS?await i.extractZip(n):await i.extractTar(n),r.info("Execute installation script"),await h(e);}catch(e){throw e instanceof i.HTTPError&&(403===e.httpStatusCode||429===e.httpStatusCode?r.info(`Received HTTP status code ${e.httpStatusCode}. This usually indicates the rate limit has been exceeded`):r.info(e.message),e.stack&&r.debug(e.stack)),e;}}$parcel$export(e.exports,"MANIFEST_URL",()=>m),$parcel$export(e.exports,"findReleaseFromManifest",()=>o),$parcel$export(e.exports,"getManifest",()=>a),$parcel$export(e.exports,"installCpythonFromRelease",()=>c),r=parcelRequire("4t50X"),i=parcelRequire("bG0ld"),n=parcelRequire("1f6JF"),s=parcelRequire("dm0eT");let l=r.getInput("token"),u=l?"token "+l:void 0,p="actions",f="python-versions",d="main",m=`https://raw.githubusercontent.com/${p}/${f}/${d}/versions-manifest.json`;}),parcelRegister("bG0ld",function(e,t){function r(e,t,r,n){return R(this,void 0,void 0,function*(){t=t||j.join(I(),H.default()),yield D.mkdirP(j.dirname(t)),C.debug("Downloading "+e),C.debug("Destination "+t);let s=3,o=b("TEST_DOWNLOAD_TOOL_RETRY_MIN_SECONDS",10),a=b("TEST_DOWNLOAD_TOOL_RETRY_MAX_SECONDS",20),h=new A.RetryHelper(s,o,a);return yield h.execute(()=>R(this,void 0,void 0,function*(){return yield i(e,t||"",r,n);}),e=>!(e instanceof W)||!e.httpStatusCode||!(e.httpStatusCode<500)||408===e.httpStatusCode||429===e.httpStatusCode);});}function i(e,t,r,i){return R(this,void 0,void 0,function*(){if(M.existsSync(t))throw Error(`Destination file path ${t} already exists`);let n=new U.HttpClient(q,[],{allowRetries:!1});r&&(C.debug("set auth"),void 0===i&&(i={}),i.authorization=r);let s=yield n.get(e,i);if(200!==s.message.statusCode){let t=new W(s.message.statusCode);throw C.debug(`Failed to download from "${e}". Code(${s.message.statusCode}) Message(${s.message.statusMessage})`),t;}let o=G.promisify(k.pipeline),a=b("TEST_DOWNLOAD_TOOL_RESPONSE_MESSAGE_FACTORY",()=>s.message)(),h=!1;try{return yield o(a,M.createWriteStream(t)),C.debug("download complete"),h=!0,t;}finally{if(!h){C.debug("download failed");try{yield D.rmRF(t);}catch(e){C.debug(`Failed to delete '${t}'. ${e.message}`);}}}});}function n(e,t,r){return R(this,void 0,void 0,function*(){$k14yv$assert.ok(B,"extract7z() not supported on current OS"),$k14yv$assert.ok(e,'parameter "file" is required'),t=yield y(t);let i=process.cwd();if(process.chdir(t),r)try{let t=C.isDebug()?"-bb1":"-bb0",i=["x",t,"-bd","-sccUTF-8",e],n={silent:!0};yield L.exec(`"${r}"`,i,n);}finally{process.chdir(i);}else{let r=j.join(_,"..","scripts","Invoke-7zdec.ps1").replace(/'/g,"''").replace(/"|\n|\r/g,""),n=e.replace(/'/g,"''").replace(/"|\n|\r/g,""),s=t.replace(/'/g,"''").replace(/"|\n|\r/g,""),o=["-NoLogo","-Sta","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",`& '${r}' -Source '${n}' -Target '${s}'`],a={silent:!0};try{let e=yield D.which("powershell",!0);yield L.exec(`"${e}"`,o,a);}finally{process.chdir(i);}}return t;});}function s(e,t,r="xz"){return R(this,void 0,void 0,function*(){let i;if(!e)throw Error("parameter 'file' is required");t=yield y(t),C.debug("Checking tar --version");let n="";yield L.exec("tar --version",[],{ignoreReturnCode:!0,silent:!0,listeners:{stdout:e=>n+=e.toString(),stderr:e=>n+=e.toString()}}),C.debug(n.trim());let s=n.toUpperCase().includes("GNU TAR");i=r instanceof Array?r:[r],C.isDebug()&&!r.includes("v")&&i.push("-v");let o=t,a=e;return B&&s&&(i.push("--force-local"),o=t.replace(/\\/g,"/"),a=e.replace(/\\/g,"/")),s&&(i.push("--warning=no-unknown-keyword"),i.push("--overwrite")),i.push("-C",o,"-f",a),yield L.exec("tar",i),t;});}function o(e,t,r=[]){return R(this,void 0,void 0,function*(){let i;$k14yv$assert.ok(X,"extractXar() not supported on current OS"),$k14yv$assert.ok(e,'parameter "file" is required'),t=yield y(t),(i=r instanceof Array?r:[r]).push("-x","-C",t,"-f",e),C.isDebug()&&i.push("-v");let n=yield D.which("xar",!0);return yield L.exec(`"${n}"`,O(i)),t;});}function a(e,t){return R(this,void 0,void 0,function*(){if(!e)throw Error("parameter 'file' is required");return t=yield y(t),B?yield h(e,t):yield c(e,t),t;});}function h(e,t){return R(this,void 0,void 0,function*(){let r=e.replace(/'/g,"''").replace(/"|\n|\r/g,""),i=t.replace(/'/g,"''").replace(/"|\n|\r/g,""),n=yield D.which("pwsh",!1);if(n){let 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}', '${i}', $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 '${i}' -Force } else { throw $_ } } ;`];C.debug("Using pwsh at path: "+n),yield L.exec(`"${n}"`,e);}else{let 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 '${i}' -Force } else {[System.IO.Compression.ZipFile]::ExtractToDirectory('${r}', '${i}', $true) }`],t=yield D.which("powershell",!0);C.debug("Using powershell at path: "+t),yield L.exec(`"${t}"`,e);}});}function c(e,t){return R(this,void 0,void 0,function*(){let r=yield D.which("unzip",!0),i=[e];C.isDebug()||i.unshift("-q"),i.unshift("-o"),yield L.exec(`"${r}"`,i,{cwd:t});});}function l(e,t,r,i){return R(this,void 0,void 0,function*(){if(r=V.clean(r)||r,i=i||F.arch(),C.debug(`Caching tool ${t} ${r} ${i}`),C.debug("source dir: "+e),!M.statSync(e).isDirectory())throw Error("sourceDir is not a directory");let n=yield E(t,r,i);for(let t of M.readdirSync(e)){let r=j.join(e,t);yield D.cp(r,n,{recursive:!0});}return g(t,r,i),n;});}function u(e,t,r,i,n){return R(this,void 0,void 0,function*(){if(i=V.clean(i)||i,n=n||F.arch(),C.debug(`Caching tool ${r} ${i} ${n}`),C.debug("source file: "+e),!M.statSync(e).isFile())throw Error("sourceFile is not a file");let s=yield E(r,i,n),o=j.join(s,t);return C.debug("destination file "+o),yield D.cp(e,o),g(r,i,n),s;});}function p(e,t,r){if(!e)throw Error("toolName parameter is required");if(!t)throw Error("versionSpec parameter is required");r=r||F.arch(),w(t)||(t=x(f(e,r),t));let i="";if(t){t=V.clean(t)||"";let n=j.join(v(),e,t,r);C.debug("checking cache: "+n),M.existsSync(n)&&M.existsSync(`${n}.complete`)?(C.debug(`Found tool in cache ${e} ${t} ${r}`),i=n):C.debug("not found");}return i;}function f(e,t){let r=[];t=t||F.arch();let i=j.join(v(),e);if(M.existsSync(i)){for(let e of M.readdirSync(i))if(w(e)){let n=j.join(i,e,t||"");M.existsSync(n)&&M.existsSync(`${n}.complete`)&&r.push(e);}}return r;}function d(e,t,r,i="master"){return R(this,void 0,void 0,function*(){let n=[],s=`https://api.github.com/repos/${e}/${t}/git/trees/${i}`,o=new U.HttpClient("tool-cache"),a={};r&&(C.debug("set auth"),a.authorization=r);let h=yield o.getJson(s,a);if(!h.result)return n;let c="";for(let e of h.result.tree)if("versions-manifest.json"===e.path){c=e.url;break;}a.accept="application/vnd.github.VERSION.raw";let l=yield(yield o.get(c,a)).readBody();if(l){l=l.replace(/^\uFEFF/,"");try{n=JSON.parse(l);}catch(e){C.debug("Invalid json");}}return n;});}function m(e,t,r,i=F.arch()){return R(this,void 0,void 0,function*(){return yield $._findMatch(e,t,r,i);});}function y(e){return R(this,void 0,void 0,function*(){return e||(e=j.join(I(),H.default())),yield D.mkdirP(e),e;});}function E(e,t,r){return R(this,void 0,void 0,function*(){let i=j.join(v(),e,V.clean(t)||t,r||"");C.debug("destination "+i);let n=`${i}.complete`;return yield D.rmRF(i),yield D.rmRF(n),yield D.mkdirP(i),i;});}function g(e,t,r){let i=j.join(v(),e,V.clean(t)||t,r||""),n=`${i}.complete`;M.writeFileSync(n,""),C.debug("finished caching tool");}function w(e){let t=V.clean(e)||"";C.debug("isExplicit: "+t);let r=null!=V.valid(t);return C.debug("explicit? "+r),r;}function x(e,t){let r="";C.debug(`evaluating ${e.length} versions`),e=e.sort((e,t)=>V.gt(e,t)?1:-1);for(let i=e.length-1;i>=0;i--){let n=e[i];if(V.satisfies(n,t)){r=n;break;}}return r?C.debug("matched: "+r):C.debug("match not found"),r;}function v(){let e=process.env.RUNNER_TOOL_CACHE||"";return $k14yv$assert.ok(e,"Expected RUNNER_TOOL_CACHE to be defined"),e;}function I(){let e=process.env.RUNNER_TEMP||"";return $k14yv$assert.ok(e,"Expected RUNNER_TEMP to be defined"),e;}function b(e,t){let r=$parcel$global[e];return void 0!==r?r:t;}function O(e){return Array.from(new Set(e));}var N,S,T,R,P,L,A,_=$k14yv$path.resolve(__dirname,"../../node_modules/setup-python/node_modules/@actions/tool-cache/lib");N=e.exports&&e.exports.__createBinding||(Object.create?function(e,t,r,i){void 0===i&&(i=r),Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[r];}});}:function(e,t,r,i){void 0===i&&(i=r),e[i]=t[r];}),S=e.exports&&e.exports.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),T=e.exports&&e.exports.__importStar||function(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 S(t,e),t;},R=e.exports&&e.exports.__awaiter||function(e,t,r,i){function n(e){return e instanceof r?e:new r(function(t){t(e);});}return new(r||(r=Promise))(function(r,s){function o(e){try{h(i.next(e));}catch(e){s(e);}}function a(e){try{h(i.throw(e));}catch(e){s(e);}}function h(e){e.done?r(e.value):n(e.value).then(o,a);}h((i=i.apply(e,t||[])).next());});},P=e.exports&&e.exports.__importDefault||function(e){return e&&e.__esModule?e:{default:e};},Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.evaluateVersions=e.exports.isExplicitVersion=e.exports.findFromManifest=e.exports.getManifestFromRepo=e.exports.findAllVersions=e.exports.find=e.exports.cacheFile=e.exports.cacheDir=e.exports.extractZip=e.exports.extractXar=e.exports.extractTar=e.exports.extract7z=e.exports.downloadTool=e.exports.HTTPError=void 0;let C=T(parcelRequire("4t50X")),D=T(parcelRequire("hZdK0")),M=T($k14yv$fs),$=T(parcelRequire("8rRFf")),F=T($k14yv$os),j=T($k14yv$path),U=T(parcelRequire("a7JAS")),V=T(parcelRequire("lIb6h")),k=T($k14yv$stream),G=T($k14yv$util),H=P(parcelRequire("cdVym"));L=parcelRequire("1f6JF"),A=parcelRequire("lI4Zo");class W extends Error{constructor(e){super("Unexpected HTTP response: "+e),this.httpStatusCode=e,Object.setPrototypeOf(this,new.target.prototype);}}e.exports.HTTPError=W;let B="win32"===process.platform,X="darwin"===process.platform,q="actions/tool-cache";e.exports.downloadTool=r,e.exports.extract7z=n,e.exports.extractTar=s,e.exports.extractXar=o,e.exports.extractZip=a,e.exports.cacheDir=l,e.exports.cacheFile=u,e.exports.find=p,e.exports.findAllVersions=f,e.exports.getManifestFromRepo=d,e.exports.findFromManifest=m,e.exports.isExplicitVersion=w,e.exports.evaluateVersions=x;}),parcelRegister("8rRFf",function(e,t){var r,i,n,s,o;function a(t,r,i,n){return s(this,void 0,void 0,function*(){let s,a,h;let c=$k14yv$os.platform();for(let s of i){let i=s.version;if(o.debug(`check ${i} satisfies ${t}`),l.satisfies(i,t)&&(!r||s.stable===r)&&(h=s.files.find(t=>{o.debug(`${t.arch}===${n} && ${t.platform}===${c}`);let r=t.arch===n&&t.platform===c;if(r&&t.platform_version){let i=e.exports._getOsVersion();r=i===t.platform_version||l.satisfies(i,t.platform_version);}return r;}))){o.debug("matched "+s.version),a=s;break;}}return a&&h&&((s=Object.assign({},a)).files=[h]),s;});}function h(){let t=$k14yv$os.platform(),r="";if("darwin"===t)r=$k14yv$child_process.execSync("sw_vers -productVersion").toString();else if("linux"===t){let t=e.exports._readLinuxVersionFile();if(t)for(let e of t.split("\n")){let t=e.split("=");if(2===t.length&&("VERSION_ID"===t[0].trim()||"DISTRIB_RELEASE"===t[0].trim())){r=t[1].trim().replace(/^"/,"").replace(/"$/,"");break;}}}return r;}function c(){let e="/etc/lsb-release",t="/etc/os-release",r="";return $k14yv$fs.existsSync(e)?r=$k14yv$fs.readFileSync(e).toString():$k14yv$fs.existsSync(t)&&(r=$k14yv$fs.readFileSync(t).toString()),r;}r=e.exports&&e.exports.__createBinding||(Object.create?function(e,t,r,i){void 0===i&&(i=r),Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[r];}});}:function(e,t,r,i){void 0===i&&(i=r),e[i]=t[r];}),i=e.exports&&e.exports.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),n=e.exports&&e.exports.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.hasOwnProperty.call(e,n)&&r(t,e,n);return i(t,e),t;},s=e.exports&&e.exports.__awaiter||function(e,t,r,i){function n(e){return e instanceof r?e:new r(function(t){t(e);});}return new(r||(r=Promise))(function(r,s){function o(e){try{h(i.next(e));}catch(e){s(e);}}function a(e){try{h(i.throw(e));}catch(e){s(e);}}function h(e){e.done?r(e.value):n(e.value).then(o,a);}h((i=i.apply(e,t||[])).next());});},Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports._readLinuxVersionFile=e.exports._getOsVersion=e.exports._findMatch=void 0;let l=n(parcelRequire("lIb6h"));o=parcelRequire("4t50X"),e.exports._findMatch=a,e.exports._getOsVersion=h,e.exports._readLinuxVersionFile=c;}),parcelRegister("lIb6h",function(e,t){function r(e){eh[e]=ec++;}function i(e){for(var t=0;tet||!(t.loose?eo[eh.LOOSE]:eo[eh.FULL]).test(e))return null;try{return new a(e,t);}catch(e){return null;}}function s(e,t){var r=n(e,t);return r?r.version:null;}function o(e,t){var r=n(e.trim().replace(/^[=v]+/,""),t);return r?r.version:null;}function a(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof a){if(e.loose===t.loose)return e;e=e.version;}else if("string"!=typeof e)throw TypeError("Invalid Version: "+e);if(e.length>et)throw TypeError("version is longer than "+et+" characters");if(!(this instanceof a))return new a(e,t);ee("SemVer",e,t),this.options=t,this.loose=!!t.loose;var r=e.trim().match(t.loose?eo[eh.LOOSE]:eo[eh.FULL]);if(!r)throw TypeError("Invalid Version: "+e);if(this.raw=e,this.major=+r[1],this.minor=+r[2],this.patch=+r[3],this.major>er||this.major<0)throw TypeError("Invalid major version");if(this.minor>er||this.minor<0)throw TypeError("Invalid minor version");if(this.patch>er||this.patch<0)throw TypeError("Invalid patch version");r[4]?this.prerelease=r[4].split(".").map(function(e){if(/^[0-9]+$/.test(e)){var t=+e;if(t>=0&&te?-1:1;}function u(e,t){return l(t,e);}function p(e,t){return new a(e,t).major;}function f(e,t){return new a(e,t).minor;}function d(e,t){return new a(e,t).patch;}function m(e,t,r){return new a(e,r).compare(new a(t,r));}function y(e,t){return m(e,t,!0);}function E(e,t,r){var i=new a(e,r),n=new a(t,r);return i.compare(n)||i.compareBuild(n);}function g(e,t,r){return m(t,e,r);}function w(e,r){return e.sort(function(e,i){return t.compareBuild(e,i,r);});}function x(e,r){return e.sort(function(e,i){return t.compareBuild(i,e,r);});}function v(e,t,r){return m(e,t,r)>0;}function I(e,t,r){return 0>m(e,t,r);}function b(e,t,r){return 0===m(e,t,r);}function O(e,t,r){return 0!==m(e,t,r);}function N(e,t,r){return m(e,t,r)>=0;}function S(e,t,r){return 0>=m(e,t,r);}function T(e,t,r,i){switch(t){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof r&&(r=r.version),e===r;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof r&&(r=r.version),e!==r;case"":case"=":case"==":return b(e,r,i);case"!=":return O(e,r,i);case">":return v(e,r,i);case">=":return N(e,r,i);case"<":return I(e,r,i);case"<=":return S(e,r,i);default:throw TypeError("Invalid operator: "+t);}}function R(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof R){if(!!t.loose===e.loose)return e;e=e.value;}if(!(this instanceof R))return new R(e,t);e=e.trim().split(/\s+/).join(" "),ee("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===ey?this.value="":this.value=this.operator+this.semver.version,ee("comp",this);}function P(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof P)return!!t.loose===e.loose&&!!t.includePrerelease===e.includePrerelease?e:new P(e.raw,t);if(e instanceof R)return new P(e.value,t);if(!(this instanceof P))return new P(e,t);if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map(function(e){return this.parseRange(e.trim());},this).filter(function(e){return e.length;}),!this.set.length)throw TypeError("Invalid SemVer Range: "+this.raw);this.format();}function L(e,t){for(var r=!0,i=e.slice(),n=i.pop();r&&i.length;)r=i.every(function(e){return n.intersects(e,t);}),n=i.pop();return r;}function A(e,t){return new P(e,t).set.map(function(e){return e.map(function(e){return e.value;}).join(" ").trim().split(" ");});}function _(e,t){return ee("comp",e,t),e=$(e,t),ee("caret",e),e=D(e,t),ee("tildes",e),e=j(e,t),ee("xrange",e),e=V(e,t),ee("stars",e),e;}function C(e){return!e||"x"===e.toLowerCase()||"*"===e;}function D(e,t){return e.trim().split(/\s+/).map(function(e){return M(e,t);}).join(" ");}function M(e,t){var r=t.loose?eo[eh.TILDELOOSE]:eo[eh.TILDE];return e.replace(r,function(t,r,i,n,s){var o;return ee("tilde",e,t,r,i,n,s),C(r)?o="":C(i)?o=">="+r+".0.0 <"+(+r+1)+".0.0":C(n)?o=">="+r+"."+i+".0 <"+r+"."+(+i+1)+".0":s?(ee("replaceTilde pr",s),o=">="+r+"."+i+"."+n+"-"+s+" <"+r+"."+(+i+1)+".0"):o=">="+r+"."+i+"."+n+" <"+r+"."+(+i+1)+".0",ee("tilde return",o),o;});}function $(e,t){return e.trim().split(/\s+/).map(function(e){return F(e,t);}).join(" ");}function F(e,t){ee("caret",e,t);var r=t.loose?eo[eh.CARETLOOSE]:eo[eh.CARET];return e.replace(r,function(t,r,i,n,s){var o;return ee("caret",e,t,r,i,n,s),C(r)?o="":C(i)?o=">="+r+".0.0 <"+(+r+1)+".0.0":C(n)?o="0"===r?">="+r+"."+i+".0 <"+r+"."+(+i+1)+".0":">="+r+"."+i+".0 <"+(+r+1)+".0.0":s?(ee("replaceCaret pr",s),o="0"===r?"0"===i?">="+r+"."+i+"."+n+"-"+s+" <"+r+"."+i+"."+(+n+1):">="+r+"."+i+"."+n+"-"+s+" <"+r+"."+(+i+1)+".0":">="+r+"."+i+"."+n+"-"+s+" <"+(+r+1)+".0.0"):(ee("no pr"),o="0"===r?"0"===i?">="+r+"."+i+"."+n+" <"+r+"."+i+"."+(+n+1):">="+r+"."+i+"."+n+" <"+r+"."+(+i+1)+".0":">="+r+"."+i+"."+n+" <"+(+r+1)+".0.0"),ee("caret return",o),o;});}function j(e,t){return ee("replaceXRanges",e,t),e.split(/\s+/).map(function(e){return U(e,t);}).join(" ");}function U(e,t){e=e.trim();var r=t.loose?eo[eh.XRANGELOOSE]:eo[eh.XRANGE];return e.replace(r,function(r,i,n,s,o,a){ee("xRange",e,r,i,n,s,o,a);var h=C(n),c=h||C(s),l=c||C(o),u=l;return"="===i&&u&&(i=""),a=t.includePrerelease?"-0":"",h?r=">"===i||"<"===i?"<0.0.0-0":"*":i&&u?(c&&(s=0),o=0,">"===i?(i=">=",c?(n=+n+1,s=0):s=+s+1,o=0):"<="===i&&(i="<",c?n=+n+1:s=+s+1),r=i+n+"."+s+"."+o+a):c?r=">="+n+".0.0"+a+" <"+(+n+1)+".0.0"+a:l&&(r=">="+n+"."+s+".0"+a+" <"+n+"."+(+s+1)+".0"+a),ee("xRange return",r),r;});}function V(e,t){return ee("replaceStars",e,t),e.trim().replace(eo[eh.STAR],"");}function k(e,t,r,i,n,s,o,a,h,c,l,u,p){return((t=C(r)?"":C(i)?">="+r+".0.0":C(n)?">="+r+"."+i+".0":">="+t)+" "+(a=C(h)?"":C(c)?"<"+(+h+1)+".0.0":C(l)?"<"+h+"."+(+c+1)+".0":u?"<="+h+"."+c+"."+l+"-"+u:"<="+a)).trim();}function G(e,t,r){for(var i=0;i0){var n=e[i].semver;if(n.major===t.major&&n.minor===t.minor&&n.patch===t.patch)return!0;}return!1;}return!0;}function H(e,t,r){try{t=new P(t,r);}catch(e){return!1;}return t.test(e);}function W(e,t,r){var i=null,n=null;try{var s=new P(t,r);}catch(e){return null;}return e.forEach(function(e){s.test(e)&&(!i||-1===n.compare(e))&&(n=new a(i=e,r));}),i;}function B(e,t,r){var i=null,n=null;try{var s=new P(t,r);}catch(e){return null;}return e.forEach(function(e){s.test(e)&&(!i||1===n.compare(e))&&(n=new a(i=e,r));}),i;}function X(e,t){e=new P(e,t);var r=new a("0.0.0");if(e.test(r)||(r=new a("0.0.0-0"),e.test(r)))return r;r=null;for(var i=0;i":0===t.prerelease.length?t.patch++:t.prerelease.push(0),t.raw=t.format();case"":case">=":(!r||v(r,t))&&(r=t);break;case"<":case"<=":break;default:throw Error("Unexpected operation: "+e.operator);}});return r&&e.test(r)?r:null;}function q(e,t){try{return new P(e,t).range||"*";}catch(e){return null;}}function Z(e,t,r){return K(e,t,"<",r);}function Y(e,t,r){return K(e,t,">",r);}function K(e,t,r,i){switch(e=new a(e,i),t=new P(t,i),r){case">":n=v,s=S,o=I,h=">",c=">=";break;case"<":n=I,s=N,o=v,h="<",c="<=";break;default:throw TypeError('Must provide a hilo val of "<" or ">"');}if(H(e,t,i))return!1;for(var n,s,o,h,c,l=0;l=0.0.0")),p=p||e,f=f||e,n(e.semver,p.semver,i)?p=e:o(e.semver,f.semver,i)&&(f=e);}),p.operator===h||p.operator===c||(!f.operator||f.operator===h)&&s(e,f.semver)||f.operator===c&&o(e,f.semver))return!1;}return!0;}function z(e,t){var r=n(e,t);return r&&r.prerelease.length?r.prerelease:null;}function J(e,t,r){return e=new P(e,r),t=new P(t,r),e.intersects(t);}function Q(e,t){if(e instanceof a)return e;if("number"==typeof e&&(e+=""),"string"!=typeof e)return null;var r,i=null;if((t=t||{}).rtl){for(;(r=eo[eh.COERCERTL].exec(e))&&(!i||i.index+i[0].length!==e.length);)i&&r.index+r[0].length===i.index+i[0].length||(i=r),eo[eh.COERCERTL].lastIndex=r.index+r[1].length+r[2].length;eo[eh.COERCERTL].lastIndex=-1;}else i=e.match(eo[eh.COERCE]);return null===i?null:n(i[2]+"."+(i[3]||"0")+"."+(i[4]||"0"),t);}t=e.exports=a,ee="object"==typeof process&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?function(){var e=Array.prototype.slice.call(arguments,0);e.unshift("SEMVER"),console.log.apply(console,e);}:function(){},t.SEMVER_SPEC_VERSION="2.0.0",et=256,er=Number.MAX_SAFE_INTEGER||9007199254740991,ei=16,en=et-6,es=t.re=[],eo=t.safeRe=[],ea=t.src=[],eh=t.tokens={},ec=0,eu=[["\\s",1],["\\d",et],[el="[a-zA-Z0-9-]",en]],r("NUMERICIDENTIFIER"),ea[eh.NUMERICIDENTIFIER]="0|[1-9]\\d*",r("NUMERICIDENTIFIERLOOSE"),ea[eh.NUMERICIDENTIFIERLOOSE]="\\d+",r("NONNUMERICIDENTIFIER"),ea[eh.NONNUMERICIDENTIFIER]="\\d*[a-zA-Z-]"+el+"*",r("MAINVERSION"),ea[eh.MAINVERSION]="("+ea[eh.NUMERICIDENTIFIER]+")\\.("+ea[eh.NUMERICIDENTIFIER]+")\\.("+ea[eh.NUMERICIDENTIFIER]+")",r("MAINVERSIONLOOSE"),ea[eh.MAINVERSIONLOOSE]="("+ea[eh.NUMERICIDENTIFIERLOOSE]+")\\.("+ea[eh.NUMERICIDENTIFIERLOOSE]+")\\.("+ea[eh.NUMERICIDENTIFIERLOOSE]+")",r("PRERELEASEIDENTIFIER"),ea[eh.PRERELEASEIDENTIFIER]="(?:"+ea[eh.NUMERICIDENTIFIER]+"|"+ea[eh.NONNUMERICIDENTIFIER]+")",r("PRERELEASEIDENTIFIERLOOSE"),ea[eh.PRERELEASEIDENTIFIERLOOSE]="(?:"+ea[eh.NUMERICIDENTIFIERLOOSE]+"|"+ea[eh.NONNUMERICIDENTIFIER]+")",r("PRERELEASE"),ea[eh.PRERELEASE]="(?:-("+ea[eh.PRERELEASEIDENTIFIER]+"(?:\\."+ea[eh.PRERELEASEIDENTIFIER]+")*))",r("PRERELEASELOOSE"),ea[eh.PRERELEASELOOSE]="(?:-?("+ea[eh.PRERELEASEIDENTIFIERLOOSE]+"(?:\\."+ea[eh.PRERELEASEIDENTIFIERLOOSE]+")*))",r("BUILDIDENTIFIER"),ea[eh.BUILDIDENTIFIER]=el+"+",r("BUILD"),ea[eh.BUILD]="(?:\\+("+ea[eh.BUILDIDENTIFIER]+"(?:\\."+ea[eh.BUILDIDENTIFIER]+")*))",r("FULL"),r("FULLPLAIN"),ea[eh.FULLPLAIN]="v?"+ea[eh.MAINVERSION]+ea[eh.PRERELEASE]+"?"+ea[eh.BUILD]+"?",ea[eh.FULL]="^"+ea[eh.FULLPLAIN]+"$",r("LOOSEPLAIN"),ea[eh.LOOSEPLAIN]="[v=\\s]*"+ea[eh.MAINVERSIONLOOSE]+ea[eh.PRERELEASELOOSE]+"?"+ea[eh.BUILD]+"?",r("LOOSE"),ea[eh.LOOSE]="^"+ea[eh.LOOSEPLAIN]+"$",r("GTLT"),ea[eh.GTLT]="((?:<|>)?=?)",r("XRANGEIDENTIFIERLOOSE"),ea[eh.XRANGEIDENTIFIERLOOSE]=ea[eh.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*",r("XRANGEIDENTIFIER"),ea[eh.XRANGEIDENTIFIER]=ea[eh.NUMERICIDENTIFIER]+"|x|X|\\*",r("XRANGEPLAIN"),ea[eh.XRANGEPLAIN]="[v=\\s]*("+ea[eh.XRANGEIDENTIFIER]+")(?:\\.("+ea[eh.XRANGEIDENTIFIER]+")(?:\\.("+ea[eh.XRANGEIDENTIFIER]+")(?:"+ea[eh.PRERELEASE]+")?"+ea[eh.BUILD]+"?)?)?",r("XRANGEPLAINLOOSE"),ea[eh.XRANGEPLAINLOOSE]="[v=\\s]*("+ea[eh.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+ea[eh.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+ea[eh.XRANGEIDENTIFIERLOOSE]+")(?:"+ea[eh.PRERELEASELOOSE]+")?"+ea[eh.BUILD]+"?)?)?",r("XRANGE"),ea[eh.XRANGE]="^"+ea[eh.GTLT]+"\\s*"+ea[eh.XRANGEPLAIN]+"$",r("XRANGELOOSE"),ea[eh.XRANGELOOSE]="^"+ea[eh.GTLT]+"\\s*"+ea[eh.XRANGEPLAINLOOSE]+"$",r("COERCE"),ea[eh.COERCE]="(^|[^\\d])(\\d{1,"+ei+"})(?:\\.(\\d{1,"+ei+"}))?(?:\\.(\\d{1,"+ei+"}))?(?:$|[^\\d])",r("COERCERTL"),es[eh.COERCERTL]=RegExp(ea[eh.COERCE],"g"),eo[eh.COERCERTL]=RegExp(i(ea[eh.COERCE]),"g"),r("LONETILDE"),ea[eh.LONETILDE]="(?:~>?)",r("TILDETRIM"),ea[eh.TILDETRIM]="(\\s*)"+ea[eh.LONETILDE]+"\\s+",es[eh.TILDETRIM]=RegExp(ea[eh.TILDETRIM],"g"),eo[eh.TILDETRIM]=RegExp(i(ea[eh.TILDETRIM]),"g"),ep="$1~",r("TILDE"),ea[eh.TILDE]="^"+ea[eh.LONETILDE]+ea[eh.XRANGEPLAIN]+"$",r("TILDELOOSE"),ea[eh.TILDELOOSE]="^"+ea[eh.LONETILDE]+ea[eh.XRANGEPLAINLOOSE]+"$",r("LONECARET"),ea[eh.LONECARET]="(?:\\^)",r("CARETTRIM"),ea[eh.CARETTRIM]="(\\s*)"+ea[eh.LONECARET]+"\\s+",es[eh.CARETTRIM]=RegExp(ea[eh.CARETTRIM],"g"),eo[eh.CARETTRIM]=RegExp(i(ea[eh.CARETTRIM]),"g"),ef="$1^",r("CARET"),ea[eh.CARET]="^"+ea[eh.LONECARET]+ea[eh.XRANGEPLAIN]+"$",r("CARETLOOSE"),ea[eh.CARETLOOSE]="^"+ea[eh.LONECARET]+ea[eh.XRANGEPLAINLOOSE]+"$",r("COMPARATORLOOSE"),ea[eh.COMPARATORLOOSE]="^"+ea[eh.GTLT]+"\\s*("+ea[eh.LOOSEPLAIN]+")$|^$",r("COMPARATOR"),ea[eh.COMPARATOR]="^"+ea[eh.GTLT]+"\\s*("+ea[eh.FULLPLAIN]+")$|^$",r("COMPARATORTRIM"),ea[eh.COMPARATORTRIM]="(\\s*)"+ea[eh.GTLT]+"\\s*("+ea[eh.LOOSEPLAIN]+"|"+ea[eh.XRANGEPLAIN]+")",es[eh.COMPARATORTRIM]=RegExp(ea[eh.COMPARATORTRIM],"g"),eo[eh.COMPARATORTRIM]=RegExp(i(ea[eh.COMPARATORTRIM]),"g"),ed="$1$2$3",r("HYPHENRANGE"),ea[eh.HYPHENRANGE]="^\\s*("+ea[eh.XRANGEPLAIN]+")\\s+-\\s+("+ea[eh.XRANGEPLAIN]+")\\s*$",r("HYPHENRANGELOOSE"),ea[eh.HYPHENRANGELOOSE]="^\\s*("+ea[eh.XRANGEPLAINLOOSE]+")\\s+-\\s+("+ea[eh.XRANGEPLAINLOOSE]+")\\s*$",r("STAR"),ea[eh.STAR]="(<|>)?=?\\s*\\*";for(var ee,et,er,ei,en,es,eo,ea,eh,ec,el,eu,ep,ef,ed,em,ey,eE=0;eE=0;)"number"==typeof this.prerelease[r]&&(this.prerelease[r]++,r=-2);-1===r&&this.prerelease.push(0);}t&&(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;},t.inc=h,t.diff=c,t.compareIdentifiers=l,em=/^[0-9]+$/,t.rcompareIdentifiers=u,t.major=p,t.minor=f,t.patch=d,t.compare=m,t.compareLoose=y,t.compareBuild=E,t.rcompare=g,t.sort=w,t.rsort=x,t.gt=v,t.lt=I,t.eq=b,t.neq=O,t.gte=N,t.lte=S,t.cmp=T,t.Comparator=R,ey={},R.prototype.parse=function(e){var t=this.options.loose?eo[eh.COMPARATORLOOSE]:eo[eh.COMPARATOR],r=e.match(t);if(!r)throw TypeError("Invalid comparator: "+e);this.operator=void 0!==r[1]?r[1]:"","="===this.operator&&(this.operator=""),r[2]?this.semver=new a(r[2],this.options.loose):this.semver=ey;},R.prototype.toString=function(){return this.value;},R.prototype.test=function(e){if(ee("Comparator.test",e,this.options.loose),this.semver===ey||e===ey)return!0;if("string"==typeof e)try{e=new a(e,this.options);}catch(e){return!1;}return T(e,this.operator,this.semver,this.options);},R.prototype.intersects=function(e,t){if(!(e instanceof R))throw TypeError("a Comparator is required");if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),""===this.operator)return""===this.value||(r=new P(e.value,t),H(this.value,r,t));if(""===e.operator)return""===e.value||(r=new P(this.value,t),H(e.semver,r,t));var r,i=(">="===this.operator||">"===this.operator)&&(">="===e.operator||">"===e.operator),n=("<="===this.operator||"<"===this.operator)&&("<="===e.operator||"<"===e.operator),s=this.semver.version===e.semver.version,o=(">="===this.operator||"<="===this.operator)&&(">="===e.operator||"<="===e.operator),a=T(this.semver,"<",e.semver,t)&&(">="===this.operator||">"===this.operator)&&("<="===e.operator||"<"===e.operator),h=T(this.semver,">",e.semver,t)&&("<="===this.operator||"<"===this.operator)&&(">="===e.operator||">"===e.operator);return i||n||s&&o||a||h;},t.Range=P,P.prototype.format=function(){return this.range=this.set.map(function(e){return e.join(" ").trim();}).join("||").trim(),this.range;},P.prototype.toString=function(){return this.range;},P.prototype.parseRange=function(e){var t=this.options.loose,r=t?eo[eh.HYPHENRANGELOOSE]:eo[eh.HYPHENRANGE];e=e.replace(r,k),ee("hyphen replace",e),e=e.replace(eo[eh.COMPARATORTRIM],ed),ee("comparator trim",e,eo[eh.COMPARATORTRIM]),e=(e=(e=e.replace(eo[eh.TILDETRIM],ep)).replace(eo[eh.CARETTRIM],ef)).split(/\s+/).join(" ");var i=t?eo[eh.COMPARATORLOOSE]:eo[eh.COMPARATOR],n=e.split(" ").map(function(e){return _(e,this.options);},this).join(" ").split(/\s+/);return this.options.loose&&(n=n.filter(function(e){return!!e.match(i);})),n=n.map(function(e){return new R(e,this.options);},this);},P.prototype.intersects=function(e,t){if(!(e instanceof P))throw TypeError("a Range is required");return this.set.some(function(r){return L(r,t)&&e.set.some(function(e){return L(e,t)&&r.every(function(r){return e.every(function(e){return r.intersects(e,t);});});});});},t.toComparators=A,P.prototype.test=function(e){if(!e)return!1;if("string"==typeof e)try{e=new a(e,this.options);}catch(e){return!1;}for(var t=0;tthis.maxSeconds)throw Error("min seconds should be less than or equal to max seconds");}execute(e,t){return s(this,void 0,void 0,function*(){let r=1;for(;rsetTimeout(t,1e3*e));});}}e.exports.RetryHelper=a;}),parcelRegister("9q7Zq",function(e,t){var r,i,n,s,o;async function a(e,t,n,o,a){let l,u,p="",f="",d=c(e);if(o&&(u=await r.getAvailablePyPyVersions())&&u.length>0){let e=r.findRelease(u,d.pythonVersion,d.pypyVersion,t,!1);e?(s.info(`Resolved as PyPy ${e.resolvedPyPyVersion} with Python (${e.resolvedPythonVersion})`),d.pythonVersion=e.resolvedPythonVersion,d.pypyVersion=e.resolvedPyPyVersion):s.info(`Failed to resolve PyPy ${d.pypyVersion} with Python (${d.pythonVersion}) from manifest`);}({installDir:l,resolvedPythonVersion:f,resolvedPyPyVersion:p}=h(d.pythonVersion,d.pypyVersion,t)),l||({installDir:l,resolvedPythonVersion:f,resolvedPyPyVersion:p}=await r.installPyPy(d.pypyVersion,d.pythonVersion,t,a,u));let m=i.IS_WINDOWS?"Scripts":"bin",y=$k14yv$path.join(l,m),E=i.IS_WINDOWS?".exe":"",g=$k14yv$path.join(i.IS_WINDOWS?l:y,"python"+E),w=r.getPyPyBinaryPath(l);return n&&(s.exportVariable("pythonLocation",l),s.exportVariable("Python_ROOT_DIR",l),s.exportVariable("Python2_ROOT_DIR",l),s.exportVariable("Python3_ROOT_DIR",l),s.exportVariable("PKG_CONFIG_PATH",w+"/lib/pkgconfig"),s.addPath(w),s.addPath(y)),s.setOutput("python-version","pypy"+p),s.setOutput("python-path",g),{resolvedPyPyVersion:p,resolvedPythonVersion:f};}function h(e,t,r){let a="",h="",c=i.IS_WINDOWS?l(e):o.find("PyPy",e,r);return c&&(h=(0,i.getPyPyVersionFromPath)(c),a=(0,i.readExactPyPyVersionFile)(c),n.satisfies(a,t)||(c=null,a="",h="")),c||s.info(`PyPy version ${e} (${t}) was not found in the local cache`),{installDir:c,resolvedPythonVersion:h,resolvedPyPyVersion:a};}function c(e){let t;let n=e.split("-").filter(e=>!!e);if(/^(pypy)(.+)/.test(n[0])){let e=n[0].replace("pypy","");n.splice(0,1,"pypy",e);}if(n.length<2||"pypy"!=n[0])throw Error("Invalid 'version' property for PyPy. PyPy version should be specified as 'pypy' or 'pypy-'. See README for examples and documentation.");let s=n[1];if(t=n.length>2?r.pypyVersionToSemantic(n[2]):"x",!(0,i.validateVersion)(s)||!(0,i.validateVersion)(t))throw Error("Invalid 'version' property for PyPy. Both Python version and PyPy versions should satisfy SemVer notation. See README for examples and documentation.");if(!(0,i.validatePythonVersionFormatForPyPy)(s))throw Error("Invalid format of Python version for PyPy. Python version should be specified in format 'x.y'. See README for examples and documentation.");return{pypyVersion:t,pythonVersion:s};}function l(e){let t="";return(0,i.WINDOWS_ARCHS).forEach(r=>t=t||o.find("PyPy",e,r)),t;}$parcel$export(e.exports,"findPyPyVersion",()=>a),r=parcelRequire("3Fegg"),i=parcelRequire("dm0eT"),n=parcelRequire("bSUdl"),s=parcelRequire("4t50X"),o=parcelRequire("bG0ld");}),parcelRegister("3Fegg",function(e,t){var r,i,n,s,o,a;async function h(e,t,n,s,o){let h;if(!(o=o??(await c()))||0===o.length)throw Error("No release was found in PyPy version.json");let d=p(o,t,e,n,!1);if(!s||d&&d.foundAsset||(r.info([`Stable PyPy version ${t} (${e}) with arch ${n} not found`,"Trying pre-release versions"].join($k14yv$os.EOL)),d=p(o,t,e,n,!0)),!d||!d.foundAsset)throw Error(`PyPy version ${t} (${e}) with arch ${n} not found`);let{foundAsset:m,resolvedPythonVersion:y,resolvedPyPyVersion:E}=d,g=""+m.download_url;r.info(`Downloading PyPy from "${g}" ...`);try{let e=await i.downloadTool(g);r.info("Extracting downloaded archive..."),h=a.IS_WINDOWS?await i.extractZip(e):await i.extractTar(e,void 0,"x");let t=$parcel$interopDefault($k14yv$fs).readdirSync(h)[0],s=$k14yv$path.join(h,t),o=s;(0,a.isNightlyKeyword)(E)||(o=await i.cacheDir(s,"PyPy",y,n)),(0,a.writeExactPyPyVersionFile)(o,E);let c=f(o);return await l(c,y),await u(c),{installDir:o,resolvedPythonVersion:y,resolvedPyPyVersion:E};}catch(e){throw e instanceof Error&&(e instanceof i.HTTPError&&(403===e.httpStatusCode||429===e.httpStatusCode)?r.info(`Received HTTP status code ${e.httpStatusCode}. This usually indicates the rate limit has been exceeded`):r.info(e.message),void 0!==e.stack&&r.debug(e.stack)),e;}}async function c(){let e="https://downloads.python.org/pypy/versions.json",t=new s.HttpClient("tool-cache"),r=await t.getJson(e);if(!r.result)throw Error(`Unable to retrieve the list of available PyPy versions from '${e}'`);return r.result;}async function l(e,t){let i=n.coerce(t),s=n.major(i),o=n.minor(i),h=2===s?"":"3",c=`${s}.${o}`,l=a.IS_WINDOWS?".exe":"";r.info("Creating symlinks..."),(0,a.createSymlinkInFolder)(e,`pypy${h}${l}`,`python${s}${l}`,!0),(0,a.createSymlinkInFolder)(e,`pypy${h}${l}`,"python"+l,!0),(0,a.createSymlinkInFolder)(e,`pypy${h}${l}`,`pypy${c}${l}`,!0);}async function u(e){r.info("Installing and updating pip");let t=$k14yv$path.join(e,"python");await o.exec(`${t} -m ensurepip`),await o.exec(`${e}/python -m pip install --ignore-installed pip`);}function p(e,t,r,i,s){let o={includePrerelease:s},h=e.filter(e=>{let s=n.satisfies(n.coerce(e.python_version),t),h=(0,a.isNightlyKeyword)(r)&&(0,a.isNightlyKeyword)(e.pypy_version)||n.satisfies(d(e.pypy_version),r,o),c=e.files&&(a.IS_WINDOWS?m(e,i):y(e,i,process.platform));return s&&h&&c;});if(0===h.length)return null;let c=h.sort((e,t)=>n.compare(n.coerce(d(t.pypy_version)),n.coerce(d(e.pypy_version)))||n.compare(n.coerce(t.python_version),n.coerce(e.python_version)))[0];return{foundAsset:a.IS_WINDOWS?E(c,i):g(c,i,process.platform),resolvedPythonVersion:c.python_version,resolvedPyPyVersion:c.pypy_version.trim()};}function f(e){let t=$k14yv$path.join(e,"bin");return a.IS_WINDOWS?e:t;}function d(e){let t=/(\d+\.\d+\.\d+)((?:a|b|rc))(\d*)/g;return e.replace(t,"$1-$2.$3");}function m(e,t){return t=w(t),e.files.some(e=>(0,a.WINDOWS_PLATFORMS).includes(e.platform)&&e.arch===t);}function y(e,t,r){return e.files.some(e=>e.arch===t&&e.platform===r);}function E(e,t){return t=w(t),e.files.find(e=>(0,a.WINDOWS_PLATFORMS).includes(e.platform)&&e.arch===t);}function g(e,t,r){return e.files.find(e=>e.arch===t&&e.platform===r);}function w(e){return"x32"===e&&(e="x86"),e;}$parcel$export(e.exports,"installPyPy",()=>h),$parcel$export(e.exports,"getAvailablePyPyVersions",()=>c),$parcel$export(e.exports,"findRelease",()=>p),$parcel$export(e.exports,"getPyPyBinaryPath",()=>f),$parcel$export(e.exports,"pypyVersionToSemantic",()=>d),r=parcelRequire("4t50X"),i=parcelRequire("bG0ld"),n=parcelRequire("bSUdl"),s=parcelRequire("a7JAS"),o=parcelRequire("1f6JF"),a=parcelRequire("dm0eT");}); +//# sourceMappingURL=actions_python.6be0dfa4.js.map \ No newline at end of file diff --git a/dist/modern/actions_python.6be0dfa4.js.map b/dist/modern/actions_python.6be0dfa4.js.map new file mode 100644 index 00000000..886e038a --- /dev/null +++ b/dist/modern/actions_python.6be0dfa4.js.map @@ -0,0 +1 @@ +{"version":3,"file":"actions_python.6be0dfa4.js","names":["u","e","startsWith","p","t","o","h","IS_MAC","process","env","AGENT_TOOLSDIRECTORY","c","trim","RUNNER_TOOL_CACHE","s","debug","r","i","findPyPyVersion","d","resolvedPyPyVersion","resolvedPythonVersion","n","info","useCpythonVersion","version","impl","a","GITHUB_ACTIONS","f","join","l","pathExists","warning","IS_WINDOWS","$k14yv$path","m","getManifest","findReleaseFromManifest","y","find","files","length","installCpythonFromRelease","getOSInfo","Error","osName","osVersion","MANIFEST_URL","$k14yv$os","EOL","E","g","w","exportVariable","IS_LINUX","LD_LIBRARY_PATH","split","includes","addPath","basename","dirname","major","minor","APPDATA","x","setOutput","replace","sep","findIndex","$parcel$interopDefault","$k14yv$fs","existsSync","symlinkSync","chmodSync","validRange","v","readFileSync","toString","writeFileSync","test","stdout","getExecOutput","silent","message","parcelRequire","platform","exports","async","stream","prettyError","$parcel$global","Buffer","isBuffer","parse","finish","_custom","isDigit","CHAR_0","CHAR_9","isHexit","CHAR_A","CHAR_F","CHAR_a","CHAR_f","isBit","CHAR_1","isOctit","CHAR_7","isAlphaNumQuoteHyphen","CHAR_Z","CHAR_z","CHAR_APOS","CHAR_QUOT","CHAR_LOWBAR","CHAR_HYPHEN","isAlphaNumHyphen","hasKey","hasOwnProperty","call","defineProperty","descriptor","InlineTable","Object","defineProperties","_type","value","INLINE_TABLE","isInlineTable","Table","TABLE","_declared","writable","isTable","InlineList","INLINE_LIST","_contentType","isInlineList","List","LIST","isList","Integer","is","BigInt","Number","isSafeInteger","BoxedBigInt","isNaN","INTEGER","_inspect","isInteger","Float","FLOAT","isFloat","tomlType","Date","makeParserClass","constructor","ctx","obj","atEndOfWord","char","CHAR_NUM","CTRL_I","CHAR_SP","atEndOfLine","END","CTRL_J","CTRL_M","parseStart","CHAR_LSQB","parseTableOrList","parseComment","callNow","parseAssignStatement","error","TomlError","parseWhitespaceToEOL","goto","return","parseAssign","recordAssignStatement","key","pop","valueOf","parseKeyword","recordAssignKeyword","state","resultTable","push","parseAssignKeywordPreDot","CHAR_PERIOD","next","parseAssignKeywordPostDot","parseAssignEqual","CHAR_EQUALS","parseAssignPreValue","parseValue","recordAssignValue","returnNow","nextChar","parseTable","parseList","parseTableNext","parseTableMore","CHAR_RSQB","parseListNext","parseListMore","parseListEnd","parseDoubleString","parseSingleString","CHAR_PLUS","parseNumberSign","CHAR_i","parseInf","CHAR_n","parseNan","parseNumberOrDateTime","CHAR_t","parseBoolean","parseInlineList","recordValue","CHAR_LCUB","parseInlineTable","parseInf2","buf","parseNan2","NaN","parseBasicString","parseLiteralString","parseBareKey","consume","parseLiteralMultiStringMaybe","CHAR_DEL","CTRL_CHAR_BOUNDARY","errorControlCharInString","parseLiteralMultiString","parseLiteralMultiStringContent","parseLiteralMultiEnd","parseLiteralMultiEnd2","parseMultiStringMaybe","CHAR_BSOL","parseEscape","recordEscapeReplacement","parseMultiString","parseMultiStringContent","parseMultiEscape","recordMultiEscapeReplacement","parseMultiEnd","parseMultiEnd2","parseMultiTrim","parsePreMultiTrim","escapes","CHAR_u","parseSmallUnicode","parseUnicodeReturn","CHAR_U","parseLargeUnicode","parseInt","SURROGATE_FIRST","SURROGATE_LAST","String","fromCodePoint","wrap","parseMaybeSignedInfOrNan","parseNoUnder","parseNumberIntegerStart","parseNumberIntegerExponentOrDecimal","parseNumberInteger","parseNumberFloat","CHAR_E","CHAR_e","parseNumberExponentSign","parseNoUnderHexOctBinLiteral","parseNumberExponent","parseNumberBaseOrDateTime","parseNumberOrDateTimeOnly","parseDateTime","CHAR_COLON","parseOnlyTimeHour","parseDateTimeOnly","CHAR_b","parseIntegerBin","CHAR_o","parseIntegerOct","CHAR_x","parseIntegerHex","result","parseDateMonth","parseDateDay","CHAR_T","parseStartTimeHour","$4xjP6","parseTimeHour","parseTimeMin","parseTimeSec","parseTimeZoneOrFraction","parseOnlyTimeMin","parseOnlyTimeSec","parseOnlyTimeFractionMaybe","$3wXZs","parseOnlyTimeFraction","parseDateTimeFraction","parseTimeZoneHour","$9FJkb","$90qfX","parseTimeZoneSep","parseTimeZoneMin","parseTrue_r","parseFalse_a","CHAR_r","parseTrue_u","parseTrue_e","parseFalse_l","CHAR_l","parseFalse_s","CHAR_s","parseFalse_e","resultArr","recordInlineListValue","parseInlineListNext","CHAR_COMMA","CHAR_RCUB","recordInlineTableValue","parseInlineTableNext","module","name","captureStackTrace","fromTOML","wrapped","code","Symbol","prototype","configurable","enumerable","utilInspect","eval","custom","_","asIntN","parser","returned","pos","col","line","stack","_buf","ii","runOne","codePointAt","haveBuffer","JSON","stringify","TypeError","isFloating","toISOString","getUTCFullYear","getUTCMonth","getUTCDate","getUTCHours","getUTCMinutes","getUTCSeconds","getUTCMilliseconds","isDate","isTime","Math","min","max","slice","setImmediate","blocksize","Promise","setEncoding","read","once","$k14yv$stream","Transform","objectMode","transform","emit","flush","toJSON","keys","filter","Array","isArray","forEach","R","map","I","S","T","b","O","every","N","P","L","findFromManifest","getManifestFromRepo","cwd","listeners","stderr","exec","download_url","downloadTool","extractZip","extractTar","HTTPError","httpStatusCode","getInput","j","H","default","D","mkdirP","C","A","RetryHelper","execute","W","M","U","HttpClient","q","allowRetries","authorization","get","statusCode","statusMessage","G","promisify","k","pipeline","createWriteStream","rmRF","$k14yv$assert","ok","B","chdir","isDebug","which","ignoreReturnCode","toUpperCase","X","unshift","V","clean","F","arch","statSync","isDirectory","readdirSync","cp","recursive","isFile","getJson","tree","path","url","accept","readBody","$","_findMatch","valid","sort","gt","satisfies","RUNNER_TEMP","from","Set","$k14yv$util","setPrototypeOf","new","target","extract7z","extractXar","cacheDir","cacheFile","findAllVersions","isExplicitVersion","evaluateVersions","stable","platform_version","_getOsVersion","assign","$k14yv$child_process","execSync","_readLinuxVersionFile","eh","ec","eu","loose","includePrerelease","et","eo","LOOSE","FULL","ee","options","match","raw","patch","er","prerelease","build","format","inc","em","compare","compareBuild","semver","ey","operator","set","parseRange","intersects","toLowerCase","TILDELOOSE","TILDE","CARETLOOSE","CARET","XRANGELOOSE","XRANGE","STAR","range","Z","K","Y","z","J","Q","rtl","COERCERTL","index","lastIndex","COERCE","NODE_DEBUG","arguments","console","log","apply","SEMVER_SPEC_VERSION","MAX_SAFE_INTEGER","ei","en","es","re","safeRe","ea","src","tokens","el","NUMERICIDENTIFIER","NUMERICIDENTIFIERLOOSE","NONNUMERICIDENTIFIER","MAINVERSION","MAINVERSIONLOOSE","PRERELEASEIDENTIFIER","PRERELEASEIDENTIFIERLOOSE","PRERELEASE","PRERELEASELOOSE","BUILDIDENTIFIER","BUILD","FULLPLAIN","LOOSEPLAIN","GTLT","XRANGEIDENTIFIERLOOSE","XRANGEIDENTIFIER","XRANGEPLAIN","XRANGEPLAINLOOSE","RegExp","LONETILDE","TILDETRIM","ep","LONECARET","CARETTRIM","ef","COMPARATORLOOSE","COMPARATOR","COMPARATORTRIM","ed","HYPHENRANGE","HYPHENRANGELOOSE","eE","SemVer","compareMain","comparePre","diff","compareIdentifiers","rcompareIdentifiers","compareLoose","rcompare","rsort","lt","eq","neq","gte","lte","cmp","Comparator","Range","some","toComparators","maxSatisfying","minSatisfying","minVersion","ltr","gtr","outside","coerce","random","rng","$k14yv$crypto","randomBytes","substr","maxAttempts","minSeconds","floor","maxSeconds","getSleepAmount","sleep","setTimeout","getAvailablePyPyVersions","findRelease","pythonVersion","pypyVersion","installDir","installPyPy","getPyPyBinaryPath","getPyPyVersionFromPath","readExactPyPyVersionFile","splice","pypyVersionToSemantic","validateVersion","validatePythonVersionFormatForPyPy","WINDOWS_ARCHS","foundAsset","isNightlyKeyword","writeExactPyPyVersionFile","createSymlinkInFolder","python_version","pypy_version","WINDOWS_PLATFORMS"],"sources":["../../","../../src/python/actions_python.ts","../../node_modules/setup-python/src/find-python.ts","../../node_modules/setup-python/src/utils.ts","../../node_modules/@iarna/toml/toml.js","../../node_modules/@iarna/toml/parse.js","../../node_modules/@iarna/toml/parse-string.js","../../node_modules/@iarna/toml/lib/toml-parser.js","../../node_modules/@iarna/toml/lib/parser.js","../../node_modules/@iarna/toml/lib/create-datetime.js","../../node_modules/@iarna/toml/lib/create-datetime-float.js","../../node_modules/@iarna/toml/lib/format-num.js","../../node_modules/@iarna/toml/lib/create-date.js","../../node_modules/@iarna/toml/lib/create-time.js","../../node_modules/@iarna/toml/parse-pretty-error.js","../../node_modules/@iarna/toml/parse-async.js","../../node_modules/@iarna/toml/parse-stream.js","../../node_modules/@iarna/toml/stringify.js","../../node_modules/setup-python/src/install-python.ts","../../node_modules/setup-python/node_modules/@actions/tool-cache/lib/tool-cache.js","../../node_modules/setup-python/node_modules/@actions/tool-cache/src/tool-cache.ts","../../node_modules/setup-python/node_modules/@actions/tool-cache/lib/manifest.js","../../node_modules/setup-python/node_modules/@actions/tool-cache/src/manifest.ts","../../node_modules/setup-python/node_modules/@actions/tool-cache/node_modules/semver/semver.js","../../node_modules/setup-python/node_modules/uuid/v4.js","../../node_modules/setup-python/node_modules/uuid/lib/rng.js","../../node_modules/setup-python/node_modules/uuid/lib/bytesToUuid.js","../../node_modules/setup-python/node_modules/@actions/tool-cache/lib/retry-helper.js","../../node_modules/setup-python/node_modules/@actions/tool-cache/src/retry-helper.ts","../../node_modules/setup-python/src/find-pypy.ts","../../node_modules/setup-python/src/install-pypy.ts"],"sourcesContent":["var $k14yv$path = require(\"path\");\nvar $k14yv$os = require(\"os\");\nvar $k14yv$fs = require(\"fs\");\nvar $k14yv$stream = require(\"stream\");\nvar $k14yv$util = require(\"util\");\nvar $k14yv$assert = require(\"assert\");\nvar $k14yv$child_process = require(\"child_process\");\nvar $k14yv$crypto = require(\"crypto\");\n\n\nfunction $parcel$export(e, n, v, s) {\n Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});\n}\n\nfunction $parcel$interopDefault(a) {\n return a && a.__esModule ? a.default : a;\n}\n\n var $parcel$global = globalThis;\n var parcelRequire = $parcel$global[\"parcelRequire810d\"];\nvar parcelRegister = parcelRequire.register;\nparcelRegister(\"4kQHk\", function(module, exports) {\n\n$parcel$export(module.exports, \"setupActionsPython\", () => $e56abd13265dde94$export$5655ebf4048b68d5);\n\nvar $66RQi = parcelRequire(\"66RQi\");\n\nvar $9q7Zq = parcelRequire(\"9q7Zq\");\n\nvar $ER74K = parcelRequire(\"ER74K\");\n\nvar $4t50X = parcelRequire(\"4t50X\");\n\nvar $bzNgi = parcelRequire(\"bzNgi\");\n\nvar $52cQ1 = parcelRequire(\"52cQ1\");\n\nvar $dm0eT = parcelRequire(\"dm0eT\");\n\nvar $kY0n1 = parcelRequire(\"kY0n1\");\n\nvar $e56abd13265dde94$var$$parcel$__dirname = $k14yv$path.resolve(__dirname, \"../../src/python\");\nfunction $e56abd13265dde94$var$isPyPyVersion(versionSpec) {\n return versionSpec.startsWith(\"pypy\");\n}\nconst $e56abd13265dde94$var$checkLatest = false;\nasync function $e56abd13265dde94$export$5655ebf4048b68d5(version, _setupDir, arch) {\n if (0, $dm0eT.IS_MAC) process.env.AGENT_TOOLSDIRECTORY = \"/Users/runner/hostedtoolcache\";\n const agent_toolsdirectory = process.env.AGENT_TOOLSDIRECTORY?.trim();\n if (typeof agent_toolsdirectory === \"string\" && agent_toolsdirectory !== \"\") process.env.RUNNER_TOOL_CACHE = process.env.AGENT_TOOLSDIRECTORY;\n (0, $4t50X.debug)(`Python is expected to be installed into ${process.env.RUNNER_TOOL_CACHE}`);\n if (version) {\n let pythonVersion;\n if ($e56abd13265dde94$var$isPyPyVersion(version)) {\n const installed = await (0, $9q7Zq.findPyPyVersion)(version, arch, true, $e56abd13265dde94$var$checkLatest, false);\n pythonVersion = `${installed.resolvedPyPyVersion}-${installed.resolvedPythonVersion}`;\n (0, $ER74K.info)(`Successfully set up PyPy ${installed.resolvedPyPyVersion} with Python (${installed.resolvedPythonVersion})`);\n } else {\n const installed = await (0, $66RQi.useCpythonVersion)(version, arch, true, $e56abd13265dde94$var$checkLatest, false);\n pythonVersion = installed.version;\n (0, $ER74K.info)(`Successfully set up ${installed.impl} (${pythonVersion})`);\n }\n // const cache = false\n // if (cache) {\n // const { cacheDependencies } = await import(\"setup-python/src/cache-dependencies\")\n // await cacheDependencies(\"pip\", pythonVersion)\n // }\n }\n if (0, $52cQ1.GITHUB_ACTIONS) await $e56abd13265dde94$var$addPythonLoggingMatcher();\n return undefined;\n}\nasync function $e56abd13265dde94$var$addPythonLoggingMatcher() {\n const matcherPath = (0, $bzNgi.join)($e56abd13265dde94$var$$parcel$__dirname, \"python_matcher.json\");\n if (!await (0, $kY0n1.pathExists)(matcherPath)) return (0, $ER74K.warning)(\"the python_matcher.json file does not exist in the same folder as setup-cpp.js\");\n (0, $ER74K.info)(`::add-matcher::${matcherPath}`);\n}\n\n});\nparcelRegister(\"66RQi\", function(module, exports) {\n\n$parcel$export(module.exports, \"useCpythonVersion\", () => $2e59ba5298c73fa8$export$c90655100676e173);\n\n\n\nvar $dm0eT = parcelRequire(\"dm0eT\");\n\nvar $bSUdl = parcelRequire(\"bSUdl\");\n\nvar $2kmVU = parcelRequire(\"2kmVU\");\n\nvar $4t50X = parcelRequire(\"4t50X\");\n\nvar $bG0ld = parcelRequire(\"bG0ld\");\n// Python has \"scripts\" or \"bin\" directories where command-line tools that come with packages are installed.\n// This is where pip is, along with anything that pip installs.\n// There is a separate directory for `pip install --user`.\n//\n// For reference, these directories are as follows:\n// macOS / Linux:\n// /bin (by default /usr/local/bin, but not on hosted agents -- see the `else`)\n// (--user) ~/.local/bin\n// Windows:\n// \\Scripts\n// (--user) %APPDATA%\\Python\\PythonXY\\Scripts\n// See https://docs.python.org/3/library/sysconfig.html\nfunction $2e59ba5298c73fa8$var$binDir(installDir) {\n if (0, $dm0eT.IS_WINDOWS) return $k14yv$path.join(installDir, \"Scripts\");\n else return $k14yv$path.join(installDir, \"bin\");\n}\nasync function $2e59ba5298c73fa8$export$c90655100676e173(version, architecture, updateEnvironment, checkLatest, allowPreReleases) {\n let manifest = null;\n const desugaredVersionSpec = $2e59ba5298c73fa8$var$desugarDevVersion(version);\n let semanticVersionSpec = $2e59ba5298c73fa8$export$2630b06843feee21(desugaredVersionSpec, allowPreReleases);\n $4t50X.debug(`Semantic version spec of ${version} is ${semanticVersionSpec}`);\n if (checkLatest) {\n manifest = await $2kmVU.getManifest();\n const resolvedVersion = (await $2kmVU.findReleaseFromManifest(semanticVersionSpec, architecture, manifest))?.version;\n if (resolvedVersion) {\n semanticVersionSpec = resolvedVersion;\n $4t50X.info(`Resolved as '${semanticVersionSpec}'`);\n } else $4t50X.info(`Failed to resolve version ${semanticVersionSpec} from manifest`);\n }\n let installDir = $bG0ld.find(\"Python\", semanticVersionSpec, architecture);\n if (!installDir) {\n $4t50X.info(`Version ${semanticVersionSpec} was not found in the local cache`);\n const foundRelease = await $2kmVU.findReleaseFromManifest(semanticVersionSpec, architecture, manifest);\n if (foundRelease && foundRelease.files && foundRelease.files.length > 0) {\n $4t50X.info(`Version ${semanticVersionSpec} is available for downloading`);\n await $2kmVU.installCpythonFromRelease(foundRelease);\n installDir = $bG0ld.find(\"Python\", semanticVersionSpec, architecture);\n }\n }\n if (!installDir) {\n const osInfo = await (0, $dm0eT.getOSInfo)();\n throw new Error([\n `The version '${version}' with architecture '${architecture}' was not found for ${osInfo ? `${osInfo.osName} ${osInfo.osVersion}` : \"this operating system\"}.`,\n `The list of all available versions can be found here: ${$2kmVU.MANIFEST_URL}`\n ].join($k14yv$os.EOL));\n }\n const _binDir = $2e59ba5298c73fa8$var$binDir(installDir);\n const binaryExtension = (0, $dm0eT.IS_WINDOWS) ? \".exe\" : \"\";\n const pythonPath = $k14yv$path.join((0, $dm0eT.IS_WINDOWS) ? installDir : _binDir, `python${binaryExtension}`);\n if (updateEnvironment) {\n $4t50X.exportVariable(\"pythonLocation\", installDir);\n $4t50X.exportVariable(\"PKG_CONFIG_PATH\", installDir + \"/lib/pkgconfig\");\n $4t50X.exportVariable(\"pythonLocation\", installDir);\n // https://cmake.org/cmake/help/latest/module/FindPython.html#module:FindPython\n $4t50X.exportVariable(\"Python_ROOT_DIR\", installDir);\n // https://cmake.org/cmake/help/latest/module/FindPython2.html#module:FindPython2\n $4t50X.exportVariable(\"Python2_ROOT_DIR\", installDir);\n // https://cmake.org/cmake/help/latest/module/FindPython3.html#module:FindPython3\n $4t50X.exportVariable(\"Python3_ROOT_DIR\", installDir);\n $4t50X.exportVariable(\"PKG_CONFIG_PATH\", installDir + \"/lib/pkgconfig\");\n if (0, $dm0eT.IS_LINUX) {\n const libPath = process.env.LD_LIBRARY_PATH ? `:${process.env.LD_LIBRARY_PATH}` : \"\";\n const pyLibPath = $k14yv$path.join(installDir, \"lib\");\n if (!libPath.split(\":\").includes(pyLibPath)) $4t50X.exportVariable(\"LD_LIBRARY_PATH\", pyLibPath + libPath);\n }\n $4t50X.addPath(installDir);\n $4t50X.addPath(_binDir);\n if (0, $dm0eT.IS_WINDOWS) {\n // Add --user directory\n // `installDir` from tool cache should look like $RUNNER_TOOL_CACHE/Python//x64/\n // So if `findLocalTool` succeeded above, we must have a conformant `installDir`\n const version = $k14yv$path.basename($k14yv$path.dirname(installDir));\n const major = $bSUdl.major(version);\n const minor = $bSUdl.minor(version);\n const userScriptsDir = $k14yv$path.join(process.env[\"APPDATA\"] || \"\", \"Python\", `Python${major}${minor}`, \"Scripts\");\n $4t50X.addPath(userScriptsDir);\n }\n // On Linux and macOS, pip will create the --user directory and add it to PATH as needed.\n }\n const installed = $2e59ba5298c73fa8$var$versionFromPath(installDir);\n $4t50X.setOutput(\"python-version\", installed);\n $4t50X.setOutput(\"python-path\", pythonPath);\n return {\n impl: \"CPython\",\n version: installed\n };\n}\n/** Convert versions like `3.8-dev` to a version like `~3.8.0-0`. */ function $2e59ba5298c73fa8$var$desugarDevVersion(versionSpec) {\n const devVersion = /^(\\d+)\\.(\\d+)-dev$/;\n return versionSpec.replace(devVersion, \"~$1.$2.0-0\");\n}\n/** Extracts python version from install path from hosted tool cache as described in README.md */ function $2e59ba5298c73fa8$var$versionFromPath(installDir) {\n const parts = installDir.split($k14yv$path.sep);\n const idx = parts.findIndex((part)=>part === \"PyPy\" || part === \"Python\");\n return parts[idx + 1] || \"\";\n}\nfunction $2e59ba5298c73fa8$export$2630b06843feee21(versionSpec, allowPreReleases) {\n const prereleaseVersion = /(\\d+\\.\\d+\\.\\d+)((?:a|b|rc)\\d*)/g;\n const majorMinor = /^(\\d+)\\.(\\d+)$/;\n let result = versionSpec.replace(prereleaseVersion, \"$1-$2\");\n if (allowPreReleases) result = result.replace(majorMinor, \"~$1.$2.0-0\");\n return result;\n}\n\n});\nparcelRegister(\"dm0eT\", function(module, exports) {\n\n$parcel$export(module.exports, \"IS_WINDOWS\", () => $97c3ffdc9209f441$export$82633ee808573685);\n$parcel$export(module.exports, \"IS_LINUX\", () => $97c3ffdc9209f441$export$25e95d65b6faeb9a);\n$parcel$export(module.exports, \"IS_MAC\", () => $97c3ffdc9209f441$export$ff23e6b4c4401383);\n$parcel$export(module.exports, \"WINDOWS_ARCHS\", () => $97c3ffdc9209f441$export$175751bac16078cf);\n$parcel$export(module.exports, \"WINDOWS_PLATFORMS\", () => $97c3ffdc9209f441$export$da6ba390a22488d5);\n$parcel$export(module.exports, \"createSymlinkInFolder\", () => $97c3ffdc9209f441$export$b0a6cbd0a3e3c63a);\n$parcel$export(module.exports, \"validateVersion\", () => $97c3ffdc9209f441$export$7880c8f0bb8a6afd);\n$parcel$export(module.exports, \"isNightlyKeyword\", () => $97c3ffdc9209f441$export$ea46fc8abcf9f209);\n$parcel$export(module.exports, \"getPyPyVersionFromPath\", () => $97c3ffdc9209f441$export$8a23ea91582cecbc);\n$parcel$export(module.exports, \"readExactPyPyVersionFile\", () => $97c3ffdc9209f441$export$15e4ce4ad93c8c8a);\n$parcel$export(module.exports, \"writeExactPyPyVersionFile\", () => $97c3ffdc9209f441$export$8fb7815f538587a8);\n$parcel$export(module.exports, \"validatePythonVersionFormatForPyPy\", () => $97c3ffdc9209f441$export$3dc910628be7a364);\n$parcel$export(module.exports, \"getOSInfo\", () => $97c3ffdc9209f441$export$471d7e4c229dedf);\n/* eslint no-unsafe-finally: \"off\" */ \nvar $4t50X = parcelRequire(\"4t50X\");\n\n\n\nvar $bSUdl = parcelRequire(\"bSUdl\");\n\nvar $asWrE = parcelRequire(\"asWrE\");\n\nvar $1f6JF = parcelRequire(\"1f6JF\");\nconst $97c3ffdc9209f441$export$82633ee808573685 = process.platform === \"win32\";\nconst $97c3ffdc9209f441$export$25e95d65b6faeb9a = process.platform === \"linux\";\nconst $97c3ffdc9209f441$export$ff23e6b4c4401383 = process.platform === \"darwin\";\nconst $97c3ffdc9209f441$export$175751bac16078cf = [\n \"x86\",\n \"x64\"\n];\nconst $97c3ffdc9209f441$export$da6ba390a22488d5 = [\n \"win32\",\n \"win64\"\n];\nconst $97c3ffdc9209f441$var$PYPY_VERSION_FILE = \"PYPY_VERSION\";\nfunction $97c3ffdc9209f441$export$b0a6cbd0a3e3c63a(folderPath, sourceName, targetName, setExecutable = false) {\n const sourcePath = $k14yv$path.join(folderPath, sourceName);\n const targetPath = $k14yv$path.join(folderPath, targetName);\n if ((0, ($parcel$interopDefault($k14yv$fs))).existsSync(targetPath)) return;\n (0, ($parcel$interopDefault($k14yv$fs))).symlinkSync(sourcePath, targetPath);\n if (!$97c3ffdc9209f441$export$82633ee808573685 && setExecutable) (0, ($parcel$interopDefault($k14yv$fs))).chmodSync(targetPath, \"755\");\n}\nfunction $97c3ffdc9209f441$export$7880c8f0bb8a6afd(version) {\n return $97c3ffdc9209f441$export$ea46fc8abcf9f209(version) || Boolean($bSUdl.validRange(version));\n}\nfunction $97c3ffdc9209f441$export$ea46fc8abcf9f209(pypyVersion) {\n return pypyVersion === \"nightly\";\n}\nfunction $97c3ffdc9209f441$export$8a23ea91582cecbc(installDir) {\n return $k14yv$path.basename($k14yv$path.dirname(installDir));\n}\nfunction $97c3ffdc9209f441$export$15e4ce4ad93c8c8a(installDir) {\n let pypyVersion = \"\";\n const fileVersion = $k14yv$path.join(installDir, $97c3ffdc9209f441$var$PYPY_VERSION_FILE);\n if ((0, ($parcel$interopDefault($k14yv$fs))).existsSync(fileVersion)) pypyVersion = (0, ($parcel$interopDefault($k14yv$fs))).readFileSync(fileVersion).toString().trim();\n return pypyVersion;\n}\nfunction $97c3ffdc9209f441$export$8fb7815f538587a8(installDir, resolvedPyPyVersion) {\n const pypyFilePath = $k14yv$path.join(installDir, $97c3ffdc9209f441$var$PYPY_VERSION_FILE);\n (0, ($parcel$interopDefault($k14yv$fs))).writeFileSync(pypyFilePath, resolvedPyPyVersion);\n}\nfunction $97c3ffdc9209f441$export$3dc910628be7a364(version) {\n const re = /^\\d+\\.\\d+$/;\n return re.test(version);\n}\nfunction $97c3ffdc9209f441$export$ebd6064652549ce9(message) {\n const warningPrefix = \"[warning]\";\n $4t50X.info(`${warningPrefix}${message}`);\n}\nasync function $97c3ffdc9209f441$var$getWindowsInfo() {\n const { stdout: stdout } = await $1f6JF.getExecOutput('powershell -command \"(Get-CimInstance -ClassName Win32_OperatingSystem).Caption\"', undefined, {\n silent: true\n });\n const windowsVersion = stdout.trim().split(\" \")[3];\n return {\n osName: \"Windows\",\n osVersion: windowsVersion\n };\n}\nasync function $97c3ffdc9209f441$var$getMacOSInfo() {\n const { stdout: stdout } = await $1f6JF.getExecOutput(\"sw_vers\", [\n \"-productVersion\"\n ], {\n silent: true\n });\n const macOSVersion = stdout.trim();\n return {\n osName: \"macOS\",\n osVersion: macOSVersion\n };\n}\nasync function $97c3ffdc9209f441$export$734019fa9b4b8da() {\n const { stdout: stdout } = await $1f6JF.getExecOutput(\"lsb_release\", [\n \"-i\",\n \"-r\",\n \"-s\"\n ], {\n silent: true\n });\n const [osName, osVersion] = stdout.trim().split(\"\\n\");\n $4t50X.debug(`OS Name: ${osName}, Version: ${osVersion}`);\n return {\n osName: osName,\n osVersion: osVersion\n };\n}\nasync function $97c3ffdc9209f441$export$471d7e4c229dedf() {\n let osInfo;\n try {\n if ($97c3ffdc9209f441$export$82633ee808573685) osInfo = await $97c3ffdc9209f441$var$getWindowsInfo();\n else if ($97c3ffdc9209f441$export$25e95d65b6faeb9a) osInfo = await $97c3ffdc9209f441$export$734019fa9b4b8da();\n else if ($97c3ffdc9209f441$export$ff23e6b4c4401383) osInfo = await $97c3ffdc9209f441$var$getMacOSInfo();\n } catch (err) {\n const error = err;\n $4t50X.debug(error.message);\n } finally{\n return osInfo;\n }\n}\n/**\n * Extract a value from an object by following the keys path provided.\n * If the value is present, it is returned. Otherwise undefined is returned.\n */ function $97c3ffdc9209f441$var$extractValue(obj, keys) {\n if (keys.length > 0) {\n const value = obj[keys[0]];\n if (keys.length > 1 && value !== undefined) return $97c3ffdc9209f441$var$extractValue(value, keys.slice(1));\n else return value;\n } else return;\n}\nfunction $97c3ffdc9209f441$export$62b63db2b7d00b3a(versionFile) {\n $4t50X.debug(`Trying to resolve version form ${versionFile}`);\n const pyprojectFile = (0, ($parcel$interopDefault($k14yv$fs))).readFileSync(versionFile, \"utf8\");\n const pyprojectConfig = $asWrE.parse(pyprojectFile);\n let keys = [];\n if (\"project\" in pyprojectConfig) // standard project metadata (PEP 621)\n keys = [\n \"project\",\n \"requires-python\"\n ];\n else // python poetry\n keys = [\n \"tool\",\n \"poetry\",\n \"dependencies\",\n \"python\"\n ];\n const versions = [];\n const version = $97c3ffdc9209f441$var$extractValue(pyprojectConfig, keys);\n if (version !== undefined) versions.push(version);\n $4t50X.info(`Extracted ${versions} from ${versionFile}`);\n const rawVersions = Array.from(versions, (version)=>version.split(\",\").join(\" \"));\n const validatedVersions = rawVersions.map((item)=>$bSUdl.validRange(item, true)).filter((versionRange, index)=>{\n if (!versionRange) $4t50X.debug(`The version ${rawVersions[index]} is not valid SemVer range`);\n return !!versionRange;\n });\n return validatedVersions;\n}\nfunction $97c3ffdc9209f441$export$6bdea68547837ebb(versionFile) {\n $4t50X.debug(`Trying to resolve version form ${versionFile}`);\n const version = (0, ($parcel$interopDefault($k14yv$fs))).readFileSync(versionFile, \"utf8\");\n $4t50X.info(`Resolved ${versionFile} as ${version}`);\n return [\n version\n ];\n}\nfunction $97c3ffdc9209f441$export$7ffda0a4baa8880a(versionFile) {\n if (versionFile.endsWith(\".toml\")) return $97c3ffdc9209f441$export$62b63db2b7d00b3a(versionFile);\n else return $97c3ffdc9209f441$export$6bdea68547837ebb(versionFile);\n}\n\n});\nparcelRegister(\"asWrE\", function(module, exports) {\n\n$parcel$export(module.exports, \"parse\", () => $79e9dadf76002ef6$export$98e6a39c04603d36, (v) => $79e9dadf76002ef6$export$98e6a39c04603d36 = v);\nvar $79e9dadf76002ef6$export$98e6a39c04603d36;\nvar $79e9dadf76002ef6$export$fac44ee5b035f737;\n\"use strict\";\n\n$79e9dadf76002ef6$export$98e6a39c04603d36 = (parcelRequire(\"9ra5j\"));\n\n$79e9dadf76002ef6$export$fac44ee5b035f737 = (parcelRequire(\"erM83\"));\n\n});\nparcelRegister(\"9ra5j\", function(module, exports) {\n\"use strict\";\n\nmodule.exports = (parcelRequire(\"k9zRI\"));\n\nmodule.exports.async = (parcelRequire(\"iO4Tr\"));\n\nmodule.exports.stream = (parcelRequire(\"ddYPD\"));\n\nmodule.exports.prettyError = (parcelRequire(\"c4Fk1\"));\n\n});\nparcelRegister(\"k9zRI\", function(module, exports) {\n\"use strict\";\nmodule.exports = $eac0780572f98cdf$var$parseString;\n\nvar $16AyQ = parcelRequire(\"16AyQ\");\n\nvar $c4Fk1 = parcelRequire(\"c4Fk1\");\nfunction $eac0780572f98cdf$var$parseString(str) {\n if ($parcel$global.Buffer && $parcel$global.Buffer.isBuffer(str)) str = str.toString(\"utf8\");\n const parser = new $16AyQ();\n try {\n parser.parse(str);\n return parser.finish();\n } catch (err) {\n throw $c4Fk1(err, str);\n }\n}\n\n});\nparcelRegister(\"16AyQ\", function(module, exports) {\n\"use strict\";\n\n/* eslint-disable no-new-wrappers, no-eval, camelcase, operator-linebreak */ module.exports = makeParserClass((parcelRequire(\"liZiS\")));\nmodule.exports.makeParserClass = makeParserClass;\nclass TomlError extends Error {\n constructor(msg){\n super(msg);\n this.name = \"TomlError\";\n /* istanbul ignore next */ if (Error.captureStackTrace) Error.captureStackTrace(this, TomlError);\n this.fromTOML = true;\n this.wrapped = null;\n }\n}\nTomlError.wrap = (err)=>{\n const terr = new TomlError(err.message);\n terr.code = err.code;\n terr.wrapped = err;\n return terr;\n};\nmodule.exports.TomlError = TomlError;\n\nvar $9FJkb = parcelRequire(\"9FJkb\");\n\nvar $90qfX = parcelRequire(\"90qfX\");\n\nvar $4xjP6 = parcelRequire(\"4xjP6\");\n\nvar $3wXZs = parcelRequire(\"3wXZs\");\nconst CTRL_I = 0x09;\nconst CTRL_J = 0x0A;\nconst CTRL_M = 0x0D;\nconst CTRL_CHAR_BOUNDARY = 0x1F // the last non-character in the latin1 region of unicode, except DEL\n;\nconst CHAR_SP = 0x20;\nconst CHAR_QUOT = 0x22;\nconst CHAR_NUM = 0x23;\nconst CHAR_APOS = 0x27;\nconst CHAR_PLUS = 0x2B;\nconst CHAR_COMMA = 0x2C;\nconst CHAR_HYPHEN = 0x2D;\nconst CHAR_PERIOD = 0x2E;\nconst CHAR_0 = 0x30;\nconst CHAR_1 = 0x31;\nconst CHAR_7 = 0x37;\nconst CHAR_9 = 0x39;\nconst CHAR_COLON = 0x3A;\nconst CHAR_EQUALS = 0x3D;\nconst CHAR_A = 0x41;\nconst CHAR_E = 0x45;\nconst CHAR_F = 0x46;\nconst CHAR_T = 0x54;\nconst CHAR_U = 0x55;\nconst CHAR_Z = 0x5A;\nconst CHAR_LOWBAR = 0x5F;\nconst CHAR_a = 0x61;\nconst CHAR_b = 0x62;\nconst CHAR_e = 0x65;\nconst CHAR_f = 0x66;\nconst CHAR_i = 0x69;\nconst CHAR_l = 0x6C;\nconst CHAR_n = 0x6E;\nconst CHAR_o = 0x6F;\nconst CHAR_r = 0x72;\nconst CHAR_s = 0x73;\nconst CHAR_t = 0x74;\nconst CHAR_u = 0x75;\nconst CHAR_x = 0x78;\nconst CHAR_z = 0x7A;\nconst CHAR_LCUB = 0x7B;\nconst CHAR_RCUB = 0x7D;\nconst CHAR_LSQB = 0x5B;\nconst CHAR_BSOL = 0x5C;\nconst CHAR_RSQB = 0x5D;\nconst CHAR_DEL = 0x7F;\nconst SURROGATE_FIRST = 0xD800;\nconst SURROGATE_LAST = 0xDFFF;\nconst escapes = {\n [CHAR_b]: \"\\b\",\n [CHAR_t]: \"\t\",\n [CHAR_n]: \"\\n\",\n [CHAR_f]: \"\\f\",\n [CHAR_r]: \"\\r\",\n [CHAR_QUOT]: '\"',\n [CHAR_BSOL]: \"\\\\\"\n};\nfunction isDigit(cp) {\n return cp >= CHAR_0 && cp <= CHAR_9;\n}\nfunction isHexit(cp) {\n return cp >= CHAR_A && cp <= CHAR_F || cp >= CHAR_a && cp <= CHAR_f || cp >= CHAR_0 && cp <= CHAR_9;\n}\nfunction isBit(cp) {\n return cp === CHAR_1 || cp === CHAR_0;\n}\nfunction isOctit(cp) {\n return cp >= CHAR_0 && cp <= CHAR_7;\n}\nfunction isAlphaNumQuoteHyphen(cp) {\n return cp >= CHAR_A && cp <= CHAR_Z || cp >= CHAR_a && cp <= CHAR_z || cp >= CHAR_0 && cp <= CHAR_9 || cp === CHAR_APOS || cp === CHAR_QUOT || cp === CHAR_LOWBAR || cp === CHAR_HYPHEN;\n}\nfunction isAlphaNumHyphen(cp) {\n return cp >= CHAR_A && cp <= CHAR_Z || cp >= CHAR_a && cp <= CHAR_z || cp >= CHAR_0 && cp <= CHAR_9 || cp === CHAR_LOWBAR || cp === CHAR_HYPHEN;\n}\nconst _type = Symbol(\"type\");\nconst _declared = Symbol(\"declared\");\nconst hasOwnProperty = Object.prototype.hasOwnProperty;\nconst defineProperty = Object.defineProperty;\nconst descriptor = {\n configurable: true,\n enumerable: true,\n writable: true,\n value: undefined\n};\nfunction hasKey(obj, key) {\n if (hasOwnProperty.call(obj, key)) return true;\n if (key === \"__proto__\") defineProperty(obj, \"__proto__\", descriptor);\n return false;\n}\nconst INLINE_TABLE = Symbol(\"inline-table\");\nfunction InlineTable() {\n return Object.defineProperties({}, {\n [_type]: {\n value: INLINE_TABLE\n }\n });\n}\nfunction isInlineTable(obj) {\n if (obj === null || typeof obj !== \"object\") return false;\n return obj[_type] === INLINE_TABLE;\n}\nconst TABLE = Symbol(\"table\");\nfunction Table() {\n return Object.defineProperties({}, {\n [_type]: {\n value: TABLE\n },\n [_declared]: {\n value: false,\n writable: true\n }\n });\n}\nfunction isTable(obj) {\n if (obj === null || typeof obj !== \"object\") return false;\n return obj[_type] === TABLE;\n}\nconst _contentType = Symbol(\"content-type\");\nconst INLINE_LIST = Symbol(\"inline-list\");\nfunction InlineList(type) {\n return Object.defineProperties([], {\n [_type]: {\n value: INLINE_LIST\n },\n [_contentType]: {\n value: type\n }\n });\n}\nfunction isInlineList(obj) {\n if (obj === null || typeof obj !== \"object\") return false;\n return obj[_type] === INLINE_LIST;\n}\nconst LIST = Symbol(\"list\");\nfunction List() {\n return Object.defineProperties([], {\n [_type]: {\n value: LIST\n }\n });\n}\nfunction isList(obj) {\n if (obj === null || typeof obj !== \"object\") return false;\n return obj[_type] === LIST;\n}\n// in an eval, to let bundlers not slurp in a util proxy\nlet _custom;\ntry {\n const utilInspect = eval(\"require('util').inspect\");\n _custom = utilInspect.custom;\n} catch (_) {\n/* eval require not available in transpiled bundle */ }\n/* istanbul ignore next */ const _inspect = _custom || \"inspect\";\nclass BoxedBigInt {\n constructor(value){\n try {\n this.value = $parcel$global.BigInt.asIntN(64, value);\n } catch (_) {\n /* istanbul ignore next */ this.value = null;\n }\n Object.defineProperty(this, _type, {\n value: INTEGER\n });\n }\n isNaN() {\n return this.value === null;\n }\n /* istanbul ignore next */ toString() {\n return String(this.value);\n }\n /* istanbul ignore next */ [_inspect]() {\n return `[BigInt: ${this.toString()}]}`;\n }\n valueOf() {\n return this.value;\n }\n}\nconst INTEGER = Symbol(\"integer\");\nfunction Integer(value) {\n let num = Number(value);\n // -0 is a float thing, not an int thing\n if (Object.is(num, -0)) num = 0;\n /* istanbul ignore else */ if ($parcel$global.BigInt && !Number.isSafeInteger(num)) return new BoxedBigInt(value);\n else /* istanbul ignore next */ return Object.defineProperties(new Number(num), {\n isNaN: {\n value: function() {\n return isNaN(this);\n }\n },\n [_type]: {\n value: INTEGER\n },\n [_inspect]: {\n value: ()=>`[Integer: ${value}]`\n }\n });\n}\nfunction isInteger(obj) {\n if (obj === null || typeof obj !== \"object\") return false;\n return obj[_type] === INTEGER;\n}\nconst FLOAT = Symbol(\"float\");\nfunction Float(value) {\n /* istanbul ignore next */ return Object.defineProperties(new Number(value), {\n [_type]: {\n value: FLOAT\n },\n [_inspect]: {\n value: ()=>`[Float: ${value}]`\n }\n });\n}\nfunction isFloat(obj) {\n if (obj === null || typeof obj !== \"object\") return false;\n return obj[_type] === FLOAT;\n}\nfunction tomlType(value) {\n const type = typeof value;\n if (type === \"object\") {\n /* istanbul ignore if */ if (value === null) return \"null\";\n if (value instanceof Date) return \"datetime\";\n /* istanbul ignore else */ if (_type in value) switch(value[_type]){\n case INLINE_TABLE:\n return \"inline-table\";\n case INLINE_LIST:\n return \"inline-list\";\n /* istanbul ignore next */ case TABLE:\n return \"table\";\n /* istanbul ignore next */ case LIST:\n return \"list\";\n case FLOAT:\n return \"float\";\n case INTEGER:\n return \"integer\";\n }\n }\n return type;\n}\nfunction makeParserClass(Parser) {\n class TOMLParser extends Parser {\n constructor(){\n super();\n this.ctx = this.obj = Table();\n }\n /* MATCH HELPER */ atEndOfWord() {\n return this.char === CHAR_NUM || this.char === CTRL_I || this.char === CHAR_SP || this.atEndOfLine();\n }\n atEndOfLine() {\n return this.char === Parser.END || this.char === CTRL_J || this.char === CTRL_M;\n }\n parseStart() {\n if (this.char === Parser.END) return null;\n else if (this.char === CHAR_LSQB) return this.call(this.parseTableOrList);\n else if (this.char === CHAR_NUM) return this.call(this.parseComment);\n else if (this.char === CTRL_J || this.char === CHAR_SP || this.char === CTRL_I || this.char === CTRL_M) return null;\n else if (isAlphaNumQuoteHyphen(this.char)) return this.callNow(this.parseAssignStatement);\n else throw this.error(new TomlError(`Unknown character \"${this.char}\"`));\n }\n // HELPER, this strips any whitespace and comments to the end of the line\n // then RETURNS. Last state in a production.\n parseWhitespaceToEOL() {\n if (this.char === CHAR_SP || this.char === CTRL_I || this.char === CTRL_M) return null;\n else if (this.char === CHAR_NUM) return this.goto(this.parseComment);\n else if (this.char === Parser.END || this.char === CTRL_J) return this.return();\n else throw this.error(new TomlError(\"Unexpected character, expected only whitespace or comments till end of line\"));\n }\n /* ASSIGNMENT: key = value */ parseAssignStatement() {\n return this.callNow(this.parseAssign, this.recordAssignStatement);\n }\n recordAssignStatement(kv) {\n let target = this.ctx;\n let finalKey = kv.key.pop();\n for (let kw of kv.key){\n if (hasKey(target, kw) && (!isTable(target[kw]) || target[kw][_declared])) throw this.error(new TomlError(\"Can't redefine existing key\"));\n target = target[kw] = target[kw] || Table();\n }\n if (hasKey(target, finalKey)) throw this.error(new TomlError(\"Can't redefine existing key\"));\n // unbox our numbers\n if (isInteger(kv.value) || isFloat(kv.value)) target[finalKey] = kv.value.valueOf();\n else target[finalKey] = kv.value;\n return this.goto(this.parseWhitespaceToEOL);\n }\n /* ASSSIGNMENT expression, key = value possibly inside an inline table */ parseAssign() {\n return this.callNow(this.parseKeyword, this.recordAssignKeyword);\n }\n recordAssignKeyword(key) {\n if (this.state.resultTable) this.state.resultTable.push(key);\n else this.state.resultTable = [\n key\n ];\n return this.goto(this.parseAssignKeywordPreDot);\n }\n parseAssignKeywordPreDot() {\n if (this.char === CHAR_PERIOD) return this.next(this.parseAssignKeywordPostDot);\n else if (this.char !== CHAR_SP && this.char !== CTRL_I) return this.goto(this.parseAssignEqual);\n }\n parseAssignKeywordPostDot() {\n if (this.char !== CHAR_SP && this.char !== CTRL_I) return this.callNow(this.parseKeyword, this.recordAssignKeyword);\n }\n parseAssignEqual() {\n if (this.char === CHAR_EQUALS) return this.next(this.parseAssignPreValue);\n else throw this.error(new TomlError('Invalid character, expected \"=\"'));\n }\n parseAssignPreValue() {\n if (this.char === CHAR_SP || this.char === CTRL_I) return null;\n else return this.callNow(this.parseValue, this.recordAssignValue);\n }\n recordAssignValue(value) {\n return this.returnNow({\n key: this.state.resultTable,\n value: value\n });\n }\n /* COMMENTS: #...eol */ parseComment() {\n do {\n if (this.char === Parser.END || this.char === CTRL_J) return this.return();\n }while (this.nextChar());\n }\n /* TABLES AND LISTS, [foo] and [[foo]] */ parseTableOrList() {\n if (this.char === CHAR_LSQB) this.next(this.parseList);\n else return this.goto(this.parseTable);\n }\n /* TABLE [foo.bar.baz] */ parseTable() {\n this.ctx = this.obj;\n return this.goto(this.parseTableNext);\n }\n parseTableNext() {\n if (this.char === CHAR_SP || this.char === CTRL_I) return null;\n else return this.callNow(this.parseKeyword, this.parseTableMore);\n }\n parseTableMore(keyword) {\n if (this.char === CHAR_SP || this.char === CTRL_I) return null;\n else if (this.char === CHAR_RSQB) {\n if (hasKey(this.ctx, keyword) && (!isTable(this.ctx[keyword]) || this.ctx[keyword][_declared])) throw this.error(new TomlError(\"Can't redefine existing key\"));\n else {\n this.ctx = this.ctx[keyword] = this.ctx[keyword] || Table();\n this.ctx[_declared] = true;\n }\n return this.next(this.parseWhitespaceToEOL);\n } else if (this.char === CHAR_PERIOD) {\n if (!hasKey(this.ctx, keyword)) this.ctx = this.ctx[keyword] = Table();\n else if (isTable(this.ctx[keyword])) this.ctx = this.ctx[keyword];\n else if (isList(this.ctx[keyword])) this.ctx = this.ctx[keyword][this.ctx[keyword].length - 1];\n else throw this.error(new TomlError(\"Can't redefine existing key\"));\n return this.next(this.parseTableNext);\n } else throw this.error(new TomlError(\"Unexpected character, expected whitespace, . or ]\"));\n }\n /* LIST [[a.b.c]] */ parseList() {\n this.ctx = this.obj;\n return this.goto(this.parseListNext);\n }\n parseListNext() {\n if (this.char === CHAR_SP || this.char === CTRL_I) return null;\n else return this.callNow(this.parseKeyword, this.parseListMore);\n }\n parseListMore(keyword) {\n if (this.char === CHAR_SP || this.char === CTRL_I) return null;\n else if (this.char === CHAR_RSQB) {\n if (!hasKey(this.ctx, keyword)) this.ctx[keyword] = List();\n if (isInlineList(this.ctx[keyword])) throw this.error(new TomlError(\"Can't extend an inline array\"));\n else if (isList(this.ctx[keyword])) {\n const next = Table();\n this.ctx[keyword].push(next);\n this.ctx = next;\n } else throw this.error(new TomlError(\"Can't redefine an existing key\"));\n return this.next(this.parseListEnd);\n } else if (this.char === CHAR_PERIOD) {\n if (!hasKey(this.ctx, keyword)) this.ctx = this.ctx[keyword] = Table();\n else if (isInlineList(this.ctx[keyword])) throw this.error(new TomlError(\"Can't extend an inline array\"));\n else if (isInlineTable(this.ctx[keyword])) throw this.error(new TomlError(\"Can't extend an inline table\"));\n else if (isList(this.ctx[keyword])) this.ctx = this.ctx[keyword][this.ctx[keyword].length - 1];\n else if (isTable(this.ctx[keyword])) this.ctx = this.ctx[keyword];\n else throw this.error(new TomlError(\"Can't redefine an existing key\"));\n return this.next(this.parseListNext);\n } else throw this.error(new TomlError(\"Unexpected character, expected whitespace, . or ]\"));\n }\n parseListEnd(keyword) {\n if (this.char === CHAR_RSQB) return this.next(this.parseWhitespaceToEOL);\n else throw this.error(new TomlError(\"Unexpected character, expected whitespace, . or ]\"));\n }\n /* VALUE string, number, boolean, inline list, inline object */ parseValue() {\n if (this.char === Parser.END) throw this.error(new TomlError(\"Key without value\"));\n else if (this.char === CHAR_QUOT) return this.next(this.parseDoubleString);\n if (this.char === CHAR_APOS) return this.next(this.parseSingleString);\n else if (this.char === CHAR_HYPHEN || this.char === CHAR_PLUS) return this.goto(this.parseNumberSign);\n else if (this.char === CHAR_i) return this.next(this.parseInf);\n else if (this.char === CHAR_n) return this.next(this.parseNan);\n else if (isDigit(this.char)) return this.goto(this.parseNumberOrDateTime);\n else if (this.char === CHAR_t || this.char === CHAR_f) return this.goto(this.parseBoolean);\n else if (this.char === CHAR_LSQB) return this.call(this.parseInlineList, this.recordValue);\n else if (this.char === CHAR_LCUB) return this.call(this.parseInlineTable, this.recordValue);\n else throw this.error(new TomlError(\"Unexpected character, expecting string, number, datetime, boolean, inline array or inline table\"));\n }\n recordValue(value) {\n return this.returnNow(value);\n }\n parseInf() {\n if (this.char === CHAR_n) return this.next(this.parseInf2);\n else throw this.error(new TomlError('Unexpected character, expected \"inf\", \"+inf\" or \"-inf\"'));\n }\n parseInf2() {\n if (this.char === CHAR_f) {\n if (this.state.buf === \"-\") return this.return(-Infinity);\n else return this.return(Infinity);\n } else throw this.error(new TomlError('Unexpected character, expected \"inf\", \"+inf\" or \"-inf\"'));\n }\n parseNan() {\n if (this.char === CHAR_a) return this.next(this.parseNan2);\n else throw this.error(new TomlError('Unexpected character, expected \"nan\"'));\n }\n parseNan2() {\n if (this.char === CHAR_n) return this.return(NaN);\n else throw this.error(new TomlError('Unexpected character, expected \"nan\"'));\n }\n /* KEYS, barewords or basic, literal, or dotted */ parseKeyword() {\n if (this.char === CHAR_QUOT) return this.next(this.parseBasicString);\n else if (this.char === CHAR_APOS) return this.next(this.parseLiteralString);\n else return this.goto(this.parseBareKey);\n }\n /* KEYS: barewords */ parseBareKey() {\n do {\n if (this.char === Parser.END) throw this.error(new TomlError(\"Key ended without value\"));\n else if (isAlphaNumHyphen(this.char)) this.consume();\n else if (this.state.buf.length === 0) throw this.error(new TomlError(\"Empty bare keys are not allowed\"));\n else return this.returnNow();\n }while (this.nextChar());\n }\n /* STRINGS, single quoted (literal) */ parseSingleString() {\n if (this.char === CHAR_APOS) return this.next(this.parseLiteralMultiStringMaybe);\n else return this.goto(this.parseLiteralString);\n }\n parseLiteralString() {\n do {\n if (this.char === CHAR_APOS) return this.return();\n else if (this.atEndOfLine()) throw this.error(new TomlError(\"Unterminated string\"));\n else if (this.char === CHAR_DEL || this.char <= CTRL_CHAR_BOUNDARY && this.char !== CTRL_I) throw this.errorControlCharInString();\n else this.consume();\n }while (this.nextChar());\n }\n parseLiteralMultiStringMaybe() {\n if (this.char === CHAR_APOS) return this.next(this.parseLiteralMultiString);\n else return this.returnNow();\n }\n parseLiteralMultiString() {\n if (this.char === CTRL_M) return null;\n else if (this.char === CTRL_J) return this.next(this.parseLiteralMultiStringContent);\n else return this.goto(this.parseLiteralMultiStringContent);\n }\n parseLiteralMultiStringContent() {\n do {\n if (this.char === CHAR_APOS) return this.next(this.parseLiteralMultiEnd);\n else if (this.char === Parser.END) throw this.error(new TomlError(\"Unterminated multi-line string\"));\n else if (this.char === CHAR_DEL || this.char <= CTRL_CHAR_BOUNDARY && this.char !== CTRL_I && this.char !== CTRL_J && this.char !== CTRL_M) throw this.errorControlCharInString();\n else this.consume();\n }while (this.nextChar());\n }\n parseLiteralMultiEnd() {\n if (this.char === CHAR_APOS) return this.next(this.parseLiteralMultiEnd2);\n else {\n this.state.buf += \"'\";\n return this.goto(this.parseLiteralMultiStringContent);\n }\n }\n parseLiteralMultiEnd2() {\n if (this.char === CHAR_APOS) return this.return();\n else {\n this.state.buf += \"''\";\n return this.goto(this.parseLiteralMultiStringContent);\n }\n }\n /* STRINGS double quoted */ parseDoubleString() {\n if (this.char === CHAR_QUOT) return this.next(this.parseMultiStringMaybe);\n else return this.goto(this.parseBasicString);\n }\n parseBasicString() {\n do {\n if (this.char === CHAR_BSOL) return this.call(this.parseEscape, this.recordEscapeReplacement);\n else if (this.char === CHAR_QUOT) return this.return();\n else if (this.atEndOfLine()) throw this.error(new TomlError(\"Unterminated string\"));\n else if (this.char === CHAR_DEL || this.char <= CTRL_CHAR_BOUNDARY && this.char !== CTRL_I) throw this.errorControlCharInString();\n else this.consume();\n }while (this.nextChar());\n }\n recordEscapeReplacement(replacement) {\n this.state.buf += replacement;\n return this.goto(this.parseBasicString);\n }\n parseMultiStringMaybe() {\n if (this.char === CHAR_QUOT) return this.next(this.parseMultiString);\n else return this.returnNow();\n }\n parseMultiString() {\n if (this.char === CTRL_M) return null;\n else if (this.char === CTRL_J) return this.next(this.parseMultiStringContent);\n else return this.goto(this.parseMultiStringContent);\n }\n parseMultiStringContent() {\n do {\n if (this.char === CHAR_BSOL) return this.call(this.parseMultiEscape, this.recordMultiEscapeReplacement);\n else if (this.char === CHAR_QUOT) return this.next(this.parseMultiEnd);\n else if (this.char === Parser.END) throw this.error(new TomlError(\"Unterminated multi-line string\"));\n else if (this.char === CHAR_DEL || this.char <= CTRL_CHAR_BOUNDARY && this.char !== CTRL_I && this.char !== CTRL_J && this.char !== CTRL_M) throw this.errorControlCharInString();\n else this.consume();\n }while (this.nextChar());\n }\n errorControlCharInString() {\n let displayCode = \"\\\\u00\";\n if (this.char < 16) displayCode += \"0\";\n displayCode += this.char.toString(16);\n return this.error(new TomlError(`Control characters (codes < 0x1f and 0x7f) are not allowed in strings, use ${displayCode} instead`));\n }\n recordMultiEscapeReplacement(replacement) {\n this.state.buf += replacement;\n return this.goto(this.parseMultiStringContent);\n }\n parseMultiEnd() {\n if (this.char === CHAR_QUOT) return this.next(this.parseMultiEnd2);\n else {\n this.state.buf += '\"';\n return this.goto(this.parseMultiStringContent);\n }\n }\n parseMultiEnd2() {\n if (this.char === CHAR_QUOT) return this.return();\n else {\n this.state.buf += '\"\"';\n return this.goto(this.parseMultiStringContent);\n }\n }\n parseMultiEscape() {\n if (this.char === CTRL_M || this.char === CTRL_J) return this.next(this.parseMultiTrim);\n else if (this.char === CHAR_SP || this.char === CTRL_I) return this.next(this.parsePreMultiTrim);\n else return this.goto(this.parseEscape);\n }\n parsePreMultiTrim() {\n if (this.char === CHAR_SP || this.char === CTRL_I) return null;\n else if (this.char === CTRL_M || this.char === CTRL_J) return this.next(this.parseMultiTrim);\n else throw this.error(new TomlError(\"Can't escape whitespace\"));\n }\n parseMultiTrim() {\n // explicitly whitespace here, END should follow the same path as chars\n if (this.char === CTRL_J || this.char === CHAR_SP || this.char === CTRL_I || this.char === CTRL_M) return null;\n else return this.returnNow();\n }\n parseEscape() {\n if (this.char in escapes) return this.return(escapes[this.char]);\n else if (this.char === CHAR_u) return this.call(this.parseSmallUnicode, this.parseUnicodeReturn);\n else if (this.char === CHAR_U) return this.call(this.parseLargeUnicode, this.parseUnicodeReturn);\n else throw this.error(new TomlError(\"Unknown escape character: \" + this.char));\n }\n parseUnicodeReturn(char) {\n try {\n const codePoint = parseInt(char, 16);\n if (codePoint >= SURROGATE_FIRST && codePoint <= SURROGATE_LAST) throw this.error(new TomlError(\"Invalid unicode, character in range 0xD800 - 0xDFFF is reserved\"));\n return this.returnNow(String.fromCodePoint(codePoint));\n } catch (err) {\n throw this.error(TomlError.wrap(err));\n }\n }\n parseSmallUnicode() {\n if (!isHexit(this.char)) throw this.error(new TomlError(\"Invalid character in unicode sequence, expected hex\"));\n else {\n this.consume();\n if (this.state.buf.length >= 4) return this.return();\n }\n }\n parseLargeUnicode() {\n if (!isHexit(this.char)) throw this.error(new TomlError(\"Invalid character in unicode sequence, expected hex\"));\n else {\n this.consume();\n if (this.state.buf.length >= 8) return this.return();\n }\n }\n /* NUMBERS */ parseNumberSign() {\n this.consume();\n return this.next(this.parseMaybeSignedInfOrNan);\n }\n parseMaybeSignedInfOrNan() {\n if (this.char === CHAR_i) return this.next(this.parseInf);\n else if (this.char === CHAR_n) return this.next(this.parseNan);\n else return this.callNow(this.parseNoUnder, this.parseNumberIntegerStart);\n }\n parseNumberIntegerStart() {\n if (this.char === CHAR_0) {\n this.consume();\n return this.next(this.parseNumberIntegerExponentOrDecimal);\n } else return this.goto(this.parseNumberInteger);\n }\n parseNumberIntegerExponentOrDecimal() {\n if (this.char === CHAR_PERIOD) {\n this.consume();\n return this.call(this.parseNoUnder, this.parseNumberFloat);\n } else if (this.char === CHAR_E || this.char === CHAR_e) {\n this.consume();\n return this.next(this.parseNumberExponentSign);\n } else return this.returnNow(Integer(this.state.buf));\n }\n parseNumberInteger() {\n if (isDigit(this.char)) this.consume();\n else if (this.char === CHAR_LOWBAR) return this.call(this.parseNoUnder);\n else if (this.char === CHAR_E || this.char === CHAR_e) {\n this.consume();\n return this.next(this.parseNumberExponentSign);\n } else if (this.char === CHAR_PERIOD) {\n this.consume();\n return this.call(this.parseNoUnder, this.parseNumberFloat);\n } else {\n const result = Integer(this.state.buf);\n /* istanbul ignore if */ if (result.isNaN()) throw this.error(new TomlError(\"Invalid number\"));\n else return this.returnNow(result);\n }\n }\n parseNoUnder() {\n if (this.char === CHAR_LOWBAR || this.char === CHAR_PERIOD || this.char === CHAR_E || this.char === CHAR_e) throw this.error(new TomlError(\"Unexpected character, expected digit\"));\n else if (this.atEndOfWord()) throw this.error(new TomlError(\"Incomplete number\"));\n return this.returnNow();\n }\n parseNoUnderHexOctBinLiteral() {\n if (this.char === CHAR_LOWBAR || this.char === CHAR_PERIOD) throw this.error(new TomlError(\"Unexpected character, expected digit\"));\n else if (this.atEndOfWord()) throw this.error(new TomlError(\"Incomplete number\"));\n return this.returnNow();\n }\n parseNumberFloat() {\n if (this.char === CHAR_LOWBAR) return this.call(this.parseNoUnder, this.parseNumberFloat);\n else if (isDigit(this.char)) this.consume();\n else if (this.char === CHAR_E || this.char === CHAR_e) {\n this.consume();\n return this.next(this.parseNumberExponentSign);\n } else return this.returnNow(Float(this.state.buf));\n }\n parseNumberExponentSign() {\n if (isDigit(this.char)) return this.goto(this.parseNumberExponent);\n else if (this.char === CHAR_HYPHEN || this.char === CHAR_PLUS) {\n this.consume();\n this.call(this.parseNoUnder, this.parseNumberExponent);\n } else throw this.error(new TomlError(\"Unexpected character, expected -, + or digit\"));\n }\n parseNumberExponent() {\n if (isDigit(this.char)) this.consume();\n else if (this.char === CHAR_LOWBAR) return this.call(this.parseNoUnder);\n else return this.returnNow(Float(this.state.buf));\n }\n /* NUMBERS or DATETIMES */ parseNumberOrDateTime() {\n if (this.char === CHAR_0) {\n this.consume();\n return this.next(this.parseNumberBaseOrDateTime);\n } else return this.goto(this.parseNumberOrDateTimeOnly);\n }\n parseNumberOrDateTimeOnly() {\n // note, if two zeros are in a row then it MUST be a date\n if (this.char === CHAR_LOWBAR) return this.call(this.parseNoUnder, this.parseNumberInteger);\n else if (isDigit(this.char)) {\n this.consume();\n if (this.state.buf.length > 4) this.next(this.parseNumberInteger);\n } else if (this.char === CHAR_E || this.char === CHAR_e) {\n this.consume();\n return this.next(this.parseNumberExponentSign);\n } else if (this.char === CHAR_PERIOD) {\n this.consume();\n return this.call(this.parseNoUnder, this.parseNumberFloat);\n } else if (this.char === CHAR_HYPHEN) return this.goto(this.parseDateTime);\n else if (this.char === CHAR_COLON) return this.goto(this.parseOnlyTimeHour);\n else return this.returnNow(Integer(this.state.buf));\n }\n parseDateTimeOnly() {\n if (this.state.buf.length < 4) {\n if (isDigit(this.char)) return this.consume();\n else if (this.char === CHAR_COLON) return this.goto(this.parseOnlyTimeHour);\n else throw this.error(new TomlError(\"Expected digit while parsing year part of a date\"));\n } else {\n if (this.char === CHAR_HYPHEN) return this.goto(this.parseDateTime);\n else throw this.error(new TomlError(\"Expected hyphen (-) while parsing year part of date\"));\n }\n }\n parseNumberBaseOrDateTime() {\n if (this.char === CHAR_b) {\n this.consume();\n return this.call(this.parseNoUnderHexOctBinLiteral, this.parseIntegerBin);\n } else if (this.char === CHAR_o) {\n this.consume();\n return this.call(this.parseNoUnderHexOctBinLiteral, this.parseIntegerOct);\n } else if (this.char === CHAR_x) {\n this.consume();\n return this.call(this.parseNoUnderHexOctBinLiteral, this.parseIntegerHex);\n } else if (this.char === CHAR_PERIOD) return this.goto(this.parseNumberInteger);\n else if (isDigit(this.char)) return this.goto(this.parseDateTimeOnly);\n else return this.returnNow(Integer(this.state.buf));\n }\n parseIntegerHex() {\n if (isHexit(this.char)) this.consume();\n else if (this.char === CHAR_LOWBAR) return this.call(this.parseNoUnderHexOctBinLiteral);\n else {\n const result = Integer(this.state.buf);\n /* istanbul ignore if */ if (result.isNaN()) throw this.error(new TomlError(\"Invalid number\"));\n else return this.returnNow(result);\n }\n }\n parseIntegerOct() {\n if (isOctit(this.char)) this.consume();\n else if (this.char === CHAR_LOWBAR) return this.call(this.parseNoUnderHexOctBinLiteral);\n else {\n const result = Integer(this.state.buf);\n /* istanbul ignore if */ if (result.isNaN()) throw this.error(new TomlError(\"Invalid number\"));\n else return this.returnNow(result);\n }\n }\n parseIntegerBin() {\n if (isBit(this.char)) this.consume();\n else if (this.char === CHAR_LOWBAR) return this.call(this.parseNoUnderHexOctBinLiteral);\n else {\n const result = Integer(this.state.buf);\n /* istanbul ignore if */ if (result.isNaN()) throw this.error(new TomlError(\"Invalid number\"));\n else return this.returnNow(result);\n }\n }\n /* DATETIME */ parseDateTime() {\n // we enter here having just consumed the year and about to consume the hyphen\n if (this.state.buf.length < 4) throw this.error(new TomlError(\"Years less than 1000 must be zero padded to four characters\"));\n this.state.result = this.state.buf;\n this.state.buf = \"\";\n return this.next(this.parseDateMonth);\n }\n parseDateMonth() {\n if (this.char === CHAR_HYPHEN) {\n if (this.state.buf.length < 2) throw this.error(new TomlError(\"Months less than 10 must be zero padded to two characters\"));\n this.state.result += \"-\" + this.state.buf;\n this.state.buf = \"\";\n return this.next(this.parseDateDay);\n } else if (isDigit(this.char)) this.consume();\n else throw this.error(new TomlError(\"Incomplete datetime\"));\n }\n parseDateDay() {\n if (this.char === CHAR_T || this.char === CHAR_SP) {\n if (this.state.buf.length < 2) throw this.error(new TomlError(\"Days less than 10 must be zero padded to two characters\"));\n this.state.result += \"-\" + this.state.buf;\n this.state.buf = \"\";\n return this.next(this.parseStartTimeHour);\n } else if (this.atEndOfWord()) return this.returnNow($4xjP6(this.state.result + \"-\" + this.state.buf));\n else if (isDigit(this.char)) this.consume();\n else throw this.error(new TomlError(\"Incomplete datetime\"));\n }\n parseStartTimeHour() {\n if (this.atEndOfWord()) return this.returnNow($4xjP6(this.state.result));\n else return this.goto(this.parseTimeHour);\n }\n parseTimeHour() {\n if (this.char === CHAR_COLON) {\n if (this.state.buf.length < 2) throw this.error(new TomlError(\"Hours less than 10 must be zero padded to two characters\"));\n this.state.result += \"T\" + this.state.buf;\n this.state.buf = \"\";\n return this.next(this.parseTimeMin);\n } else if (isDigit(this.char)) this.consume();\n else throw this.error(new TomlError(\"Incomplete datetime\"));\n }\n parseTimeMin() {\n if (this.state.buf.length < 2 && isDigit(this.char)) this.consume();\n else if (this.state.buf.length === 2 && this.char === CHAR_COLON) {\n this.state.result += \":\" + this.state.buf;\n this.state.buf = \"\";\n return this.next(this.parseTimeSec);\n } else throw this.error(new TomlError(\"Incomplete datetime\"));\n }\n parseTimeSec() {\n if (isDigit(this.char)) {\n this.consume();\n if (this.state.buf.length === 2) {\n this.state.result += \":\" + this.state.buf;\n this.state.buf = \"\";\n return this.next(this.parseTimeZoneOrFraction);\n }\n } else throw this.error(new TomlError(\"Incomplete datetime\"));\n }\n parseOnlyTimeHour() {\n /* istanbul ignore else */ if (this.char === CHAR_COLON) {\n if (this.state.buf.length < 2) throw this.error(new TomlError(\"Hours less than 10 must be zero padded to two characters\"));\n this.state.result = this.state.buf;\n this.state.buf = \"\";\n return this.next(this.parseOnlyTimeMin);\n } else throw this.error(new TomlError(\"Incomplete time\"));\n }\n parseOnlyTimeMin() {\n if (this.state.buf.length < 2 && isDigit(this.char)) this.consume();\n else if (this.state.buf.length === 2 && this.char === CHAR_COLON) {\n this.state.result += \":\" + this.state.buf;\n this.state.buf = \"\";\n return this.next(this.parseOnlyTimeSec);\n } else throw this.error(new TomlError(\"Incomplete time\"));\n }\n parseOnlyTimeSec() {\n if (isDigit(this.char)) {\n this.consume();\n if (this.state.buf.length === 2) return this.next(this.parseOnlyTimeFractionMaybe);\n } else throw this.error(new TomlError(\"Incomplete time\"));\n }\n parseOnlyTimeFractionMaybe() {\n this.state.result += \":\" + this.state.buf;\n if (this.char === CHAR_PERIOD) {\n this.state.buf = \"\";\n this.next(this.parseOnlyTimeFraction);\n } else return this.return($3wXZs(this.state.result));\n }\n parseOnlyTimeFraction() {\n if (isDigit(this.char)) this.consume();\n else if (this.atEndOfWord()) {\n if (this.state.buf.length === 0) throw this.error(new TomlError(\"Expected digit in milliseconds\"));\n return this.returnNow($3wXZs(this.state.result + \".\" + this.state.buf));\n } else throw this.error(new TomlError(\"Unexpected character in datetime, expected period (.), minus (-), plus (+) or Z\"));\n }\n parseTimeZoneOrFraction() {\n if (this.char === CHAR_PERIOD) {\n this.consume();\n this.next(this.parseDateTimeFraction);\n } else if (this.char === CHAR_HYPHEN || this.char === CHAR_PLUS) {\n this.consume();\n this.next(this.parseTimeZoneHour);\n } else if (this.char === CHAR_Z) {\n this.consume();\n return this.return($9FJkb(this.state.result + this.state.buf));\n } else if (this.atEndOfWord()) return this.returnNow($90qfX(this.state.result + this.state.buf));\n else throw this.error(new TomlError(\"Unexpected character in datetime, expected period (.), minus (-), plus (+) or Z\"));\n }\n parseDateTimeFraction() {\n if (isDigit(this.char)) this.consume();\n else if (this.state.buf.length === 1) throw this.error(new TomlError(\"Expected digit in milliseconds\"));\n else if (this.char === CHAR_HYPHEN || this.char === CHAR_PLUS) {\n this.consume();\n this.next(this.parseTimeZoneHour);\n } else if (this.char === CHAR_Z) {\n this.consume();\n return this.return($9FJkb(this.state.result + this.state.buf));\n } else if (this.atEndOfWord()) return this.returnNow($90qfX(this.state.result + this.state.buf));\n else throw this.error(new TomlError(\"Unexpected character in datetime, expected period (.), minus (-), plus (+) or Z\"));\n }\n parseTimeZoneHour() {\n if (isDigit(this.char)) {\n this.consume();\n // FIXME: No more regexps\n if (/\\d\\d$/.test(this.state.buf)) return this.next(this.parseTimeZoneSep);\n } else throw this.error(new TomlError(\"Unexpected character in datetime, expected digit\"));\n }\n parseTimeZoneSep() {\n if (this.char === CHAR_COLON) {\n this.consume();\n this.next(this.parseTimeZoneMin);\n } else throw this.error(new TomlError(\"Unexpected character in datetime, expected colon\"));\n }\n parseTimeZoneMin() {\n if (isDigit(this.char)) {\n this.consume();\n if (/\\d\\d$/.test(this.state.buf)) return this.return($9FJkb(this.state.result + this.state.buf));\n } else throw this.error(new TomlError(\"Unexpected character in datetime, expected digit\"));\n }\n /* BOOLEAN */ parseBoolean() {\n /* istanbul ignore else */ if (this.char === CHAR_t) {\n this.consume();\n return this.next(this.parseTrue_r);\n } else if (this.char === CHAR_f) {\n this.consume();\n return this.next(this.parseFalse_a);\n }\n }\n parseTrue_r() {\n if (this.char === CHAR_r) {\n this.consume();\n return this.next(this.parseTrue_u);\n } else throw this.error(new TomlError(\"Invalid boolean, expected true or false\"));\n }\n parseTrue_u() {\n if (this.char === CHAR_u) {\n this.consume();\n return this.next(this.parseTrue_e);\n } else throw this.error(new TomlError(\"Invalid boolean, expected true or false\"));\n }\n parseTrue_e() {\n if (this.char === CHAR_e) return this.return(true);\n else throw this.error(new TomlError(\"Invalid boolean, expected true or false\"));\n }\n parseFalse_a() {\n if (this.char === CHAR_a) {\n this.consume();\n return this.next(this.parseFalse_l);\n } else throw this.error(new TomlError(\"Invalid boolean, expected true or false\"));\n }\n parseFalse_l() {\n if (this.char === CHAR_l) {\n this.consume();\n return this.next(this.parseFalse_s);\n } else throw this.error(new TomlError(\"Invalid boolean, expected true or false\"));\n }\n parseFalse_s() {\n if (this.char === CHAR_s) {\n this.consume();\n return this.next(this.parseFalse_e);\n } else throw this.error(new TomlError(\"Invalid boolean, expected true or false\"));\n }\n parseFalse_e() {\n if (this.char === CHAR_e) return this.return(false);\n else throw this.error(new TomlError(\"Invalid boolean, expected true or false\"));\n }\n /* INLINE LISTS */ parseInlineList() {\n if (this.char === CHAR_SP || this.char === CTRL_I || this.char === CTRL_M || this.char === CTRL_J) return null;\n else if (this.char === Parser.END) throw this.error(new TomlError(\"Unterminated inline array\"));\n else if (this.char === CHAR_NUM) return this.call(this.parseComment);\n else if (this.char === CHAR_RSQB) return this.return(this.state.resultArr || InlineList());\n else return this.callNow(this.parseValue, this.recordInlineListValue);\n }\n recordInlineListValue(value) {\n if (this.state.resultArr) {\n const listType = this.state.resultArr[_contentType];\n const valueType = tomlType(value);\n if (listType !== valueType) throw this.error(new TomlError(`Inline lists must be a single type, not a mix of ${listType} and ${valueType}`));\n } else this.state.resultArr = InlineList(tomlType(value));\n if (isFloat(value) || isInteger(value)) // unbox now that we've verified they're ok\n this.state.resultArr.push(value.valueOf());\n else this.state.resultArr.push(value);\n return this.goto(this.parseInlineListNext);\n }\n parseInlineListNext() {\n if (this.char === CHAR_SP || this.char === CTRL_I || this.char === CTRL_M || this.char === CTRL_J) return null;\n else if (this.char === CHAR_NUM) return this.call(this.parseComment);\n else if (this.char === CHAR_COMMA) return this.next(this.parseInlineList);\n else if (this.char === CHAR_RSQB) return this.goto(this.parseInlineList);\n else throw this.error(new TomlError(\"Invalid character, expected whitespace, comma (,) or close bracket (])\"));\n }\n /* INLINE TABLE */ parseInlineTable() {\n if (this.char === CHAR_SP || this.char === CTRL_I) return null;\n else if (this.char === Parser.END || this.char === CHAR_NUM || this.char === CTRL_J || this.char === CTRL_M) throw this.error(new TomlError(\"Unterminated inline array\"));\n else if (this.char === CHAR_RCUB) return this.return(this.state.resultTable || InlineTable());\n else {\n if (!this.state.resultTable) this.state.resultTable = InlineTable();\n return this.callNow(this.parseAssign, this.recordInlineTableValue);\n }\n }\n recordInlineTableValue(kv) {\n let target = this.state.resultTable;\n let finalKey = kv.key.pop();\n for (let kw of kv.key){\n if (hasKey(target, kw) && (!isTable(target[kw]) || target[kw][_declared])) throw this.error(new TomlError(\"Can't redefine existing key\"));\n target = target[kw] = target[kw] || Table();\n }\n if (hasKey(target, finalKey)) throw this.error(new TomlError(\"Can't redefine existing key\"));\n if (isInteger(kv.value) || isFloat(kv.value)) target[finalKey] = kv.value.valueOf();\n else target[finalKey] = kv.value;\n return this.goto(this.parseInlineTableNext);\n }\n parseInlineTableNext() {\n if (this.char === CHAR_SP || this.char === CTRL_I) return null;\n else if (this.char === Parser.END || this.char === CHAR_NUM || this.char === CTRL_J || this.char === CTRL_M) throw this.error(new TomlError(\"Unterminated inline array\"));\n else if (this.char === CHAR_COMMA) return this.next(this.parseInlineTable);\n else if (this.char === CHAR_RCUB) return this.goto(this.parseInlineTable);\n else throw this.error(new TomlError(\"Invalid character, expected whitespace, comma (,) or close bracket (])\"));\n }\n }\n return TOMLParser;\n}\n\n});\nparcelRegister(\"liZiS\", function(module, exports) {\n\"use strict\";\nconst $f82ad506d7d168e6$var$ParserEND = 0x110000;\nclass $f82ad506d7d168e6$var$ParserError extends Error {\n /* istanbul ignore next */ constructor(msg, filename, linenumber){\n super(\"[ParserError] \" + msg, filename, linenumber);\n this.name = \"ParserError\";\n this.code = \"ParserError\";\n if (Error.captureStackTrace) Error.captureStackTrace(this, $f82ad506d7d168e6$var$ParserError);\n }\n}\nclass $f82ad506d7d168e6$var$State {\n constructor(parser){\n this.parser = parser;\n this.buf = \"\";\n this.returned = null;\n this.result = null;\n this.resultTable = null;\n this.resultArr = null;\n }\n}\nclass $f82ad506d7d168e6$var$Parser {\n constructor(){\n this.pos = 0;\n this.col = 0;\n this.line = 0;\n this.obj = {};\n this.ctx = this.obj;\n this.stack = [];\n this._buf = \"\";\n this.char = null;\n this.ii = 0;\n this.state = new $f82ad506d7d168e6$var$State(this.parseStart);\n }\n parse(str) {\n /* istanbul ignore next */ if (str.length === 0 || str.length == null) return;\n this._buf = String(str);\n this.ii = -1;\n this.char = -1;\n let getNext;\n while(getNext === false || this.nextChar())getNext = this.runOne();\n this._buf = null;\n }\n nextChar() {\n if (this.char === 0x0A) {\n ++this.line;\n this.col = -1;\n }\n ++this.ii;\n this.char = this._buf.codePointAt(this.ii);\n ++this.pos;\n ++this.col;\n return this.haveBuffer();\n }\n haveBuffer() {\n return this.ii < this._buf.length;\n }\n runOne() {\n return this.state.parser.call(this, this.state.returned);\n }\n finish() {\n this.char = $f82ad506d7d168e6$var$ParserEND;\n let last;\n do {\n last = this.state.parser;\n this.runOne();\n }while (this.state.parser !== last);\n this.ctx = null;\n this.state = null;\n this._buf = null;\n return this.obj;\n }\n next(fn) {\n /* istanbul ignore next */ if (typeof fn !== \"function\") throw new $f82ad506d7d168e6$var$ParserError(\"Tried to set state to non-existent state: \" + JSON.stringify(fn));\n this.state.parser = fn;\n }\n goto(fn) {\n this.next(fn);\n return this.runOne();\n }\n call(fn, returnWith) {\n if (returnWith) this.next(returnWith);\n this.stack.push(this.state);\n this.state = new $f82ad506d7d168e6$var$State(fn);\n }\n callNow(fn, returnWith) {\n this.call(fn, returnWith);\n return this.runOne();\n }\n return(value) {\n /* istanbul ignore next */ if (this.stack.length === 0) throw this.error(new $f82ad506d7d168e6$var$ParserError(\"Stack underflow\"));\n if (value === undefined) value = this.state.buf;\n this.state = this.stack.pop();\n this.state.returned = value;\n }\n returnNow(value) {\n this.return(value);\n return this.runOne();\n }\n consume() {\n /* istanbul ignore next */ if (this.char === $f82ad506d7d168e6$var$ParserEND) throw this.error(new $f82ad506d7d168e6$var$ParserError(\"Unexpected end-of-buffer\"));\n this.state.buf += this._buf[this.ii];\n }\n error(err) {\n err.line = this.line;\n err.col = this.col;\n err.pos = this.pos;\n return err;\n }\n /* istanbul ignore next */ parseStart() {\n throw new $f82ad506d7d168e6$var$ParserError(\"Must declare a parseStart method\");\n }\n}\n$f82ad506d7d168e6$var$Parser.END = $f82ad506d7d168e6$var$ParserEND;\n$f82ad506d7d168e6$var$Parser.Error = $f82ad506d7d168e6$var$ParserError;\nmodule.exports = $f82ad506d7d168e6$var$Parser;\n\n});\n\nparcelRegister(\"9FJkb\", function(module, exports) {\n\"use strict\";\nmodule.exports = (value)=>{\n const date = new Date(value);\n /* istanbul ignore if */ if (isNaN(date)) throw new TypeError(\"Invalid Datetime\");\n else return date;\n};\n\n});\n\nparcelRegister(\"90qfX\", function(module, exports) {\n\"use strict\";\n\nvar $iV0Sp = parcelRequire(\"iV0Sp\");\nclass $68e87b191f4d757e$var$FloatingDateTime extends Date {\n constructor(value){\n super(value + \"Z\");\n this.isFloating = true;\n }\n toISOString() {\n const date = `${this.getUTCFullYear()}-${$iV0Sp(2, this.getUTCMonth() + 1)}-${$iV0Sp(2, this.getUTCDate())}`;\n const time = `${$iV0Sp(2, this.getUTCHours())}:${$iV0Sp(2, this.getUTCMinutes())}:${$iV0Sp(2, this.getUTCSeconds())}.${$iV0Sp(3, this.getUTCMilliseconds())}`;\n return `${date}T${time}`;\n }\n}\nmodule.exports = (value)=>{\n const date = new $68e87b191f4d757e$var$FloatingDateTime(value);\n /* istanbul ignore if */ if (isNaN(date)) throw new TypeError(\"Invalid Datetime\");\n else return date;\n};\n\n});\nparcelRegister(\"iV0Sp\", function(module, exports) {\n\"use strict\";\nmodule.exports = (d, num)=>{\n num = String(num);\n while(num.length < d)num = \"0\" + num;\n return num;\n};\n\n});\n\n\nparcelRegister(\"4xjP6\", function(module, exports) {\n\"use strict\";\n\nvar $iV0Sp = parcelRequire(\"iV0Sp\");\nconst $34d99efd34f9960e$var$DateTime = $parcel$global.Date;\nclass $34d99efd34f9960e$var$Date extends $34d99efd34f9960e$var$DateTime {\n constructor(value){\n super(value);\n this.isDate = true;\n }\n toISOString() {\n return `${this.getUTCFullYear()}-${$iV0Sp(2, this.getUTCMonth() + 1)}-${$iV0Sp(2, this.getUTCDate())}`;\n }\n}\nmodule.exports = (value)=>{\n const date = new $34d99efd34f9960e$var$Date(value);\n /* istanbul ignore if */ if (isNaN(date)) throw new TypeError(\"Invalid Datetime\");\n else return date;\n};\n\n});\n\nparcelRegister(\"3wXZs\", function(module, exports) {\n\"use strict\";\n\nvar $iV0Sp = parcelRequire(\"iV0Sp\");\nclass $2922e5136a3bd44b$var$Time extends Date {\n constructor(value){\n super(`0000-01-01T${value}Z`);\n this.isTime = true;\n }\n toISOString() {\n return `${$iV0Sp(2, this.getUTCHours())}:${$iV0Sp(2, this.getUTCMinutes())}:${$iV0Sp(2, this.getUTCSeconds())}.${$iV0Sp(3, this.getUTCMilliseconds())}`;\n }\n}\nmodule.exports = (value)=>{\n const date = new $2922e5136a3bd44b$var$Time(value);\n /* istanbul ignore if */ if (isNaN(date)) throw new TypeError(\"Invalid Datetime\");\n else return date;\n};\n\n});\n\n\nparcelRegister(\"c4Fk1\", function(module, exports) {\n\"use strict\";\nmodule.exports = $8ca5e9748e441c69$var$prettyError;\nfunction $8ca5e9748e441c69$var$prettyError(err, buf) {\n /* istanbul ignore if */ if (err.pos == null || err.line == null) return err;\n let msg = err.message;\n msg += ` at row ${err.line + 1}, col ${err.col + 1}, pos ${err.pos}:\\n`;\n /* istanbul ignore else */ if (buf && buf.split) {\n const lines = buf.split(/\\n/);\n const lineNumWidth = String(Math.min(lines.length, err.line + 3)).length;\n let linePadding = \" \";\n while(linePadding.length < lineNumWidth)linePadding += \" \";\n for(let ii = Math.max(0, err.line - 1); ii < Math.min(lines.length, err.line + 2); ++ii){\n let lineNum = String(ii + 1);\n if (lineNum.length < lineNumWidth) lineNum = \" \" + lineNum;\n if (err.line === ii) {\n msg += lineNum + \"> \" + lines[ii] + \"\\n\";\n msg += linePadding + \" \";\n for(let hh = 0; hh < err.col; ++hh)msg += \" \";\n msg += \"^\\n\";\n } else msg += lineNum + \": \" + lines[ii] + \"\\n\";\n }\n }\n err.message = msg + \"\\n\";\n return err;\n}\n\n});\n\n\nparcelRegister(\"iO4Tr\", function(module, exports) {\n\"use strict\";\nmodule.exports = $db10b12be78519c6$var$parseAsync;\n\nvar $16AyQ = parcelRequire(\"16AyQ\");\n\nvar $c4Fk1 = parcelRequire(\"c4Fk1\");\nfunction $db10b12be78519c6$var$parseAsync(str, opts) {\n if (!opts) opts = {};\n const index = 0;\n const blocksize = opts.blocksize || 40960;\n const parser = new $16AyQ();\n return new Promise((resolve, reject)=>{\n setImmediate(parseAsyncNext, index, blocksize, resolve, reject);\n });\n function parseAsyncNext(index, blocksize, resolve, reject) {\n if (index >= str.length) try {\n return resolve(parser.finish());\n } catch (err) {\n return reject($c4Fk1(err, str));\n }\n try {\n parser.parse(str.slice(index, index + blocksize));\n setImmediate(parseAsyncNext, index + blocksize, blocksize, resolve, reject);\n } catch (err) {\n reject($c4Fk1(err, str));\n }\n }\n}\n\n});\n\nparcelRegister(\"ddYPD\", function(module, exports) {\n\"use strict\";\nmodule.exports = $9a0bad2bcc685870$var$parseStream;\n\n\nvar $16AyQ = parcelRequire(\"16AyQ\");\nfunction $9a0bad2bcc685870$var$parseStream(stm) {\n if (stm) return $9a0bad2bcc685870$var$parseReadable(stm);\n else return $9a0bad2bcc685870$var$parseTransform(stm);\n}\nfunction $9a0bad2bcc685870$var$parseReadable(stm) {\n const parser = new $16AyQ();\n stm.setEncoding(\"utf8\");\n return new Promise((resolve, reject)=>{\n let readable;\n let ended = false;\n let errored = false;\n function finish() {\n ended = true;\n if (readable) return;\n try {\n resolve(parser.finish());\n } catch (err) {\n reject(err);\n }\n }\n function error(err) {\n errored = true;\n reject(err);\n }\n stm.once(\"end\", finish);\n stm.once(\"error\", error);\n readNext();\n function readNext() {\n readable = true;\n let data;\n while((data = stm.read()) !== null)try {\n parser.parse(data);\n } catch (err) {\n return error(err);\n }\n readable = false;\n /* istanbul ignore if */ if (ended) return finish();\n /* istanbul ignore if */ if (errored) return;\n stm.once(\"readable\", readNext);\n }\n });\n}\nfunction $9a0bad2bcc685870$var$parseTransform() {\n const parser = new $16AyQ();\n return new $k14yv$stream.Transform({\n objectMode: true,\n transform (chunk, encoding, cb) {\n try {\n parser.parse(chunk.toString(encoding));\n } catch (err) {\n this.emit(\"error\", err);\n }\n cb();\n },\n flush (cb) {\n try {\n this.push(parser.finish());\n } catch (err) {\n this.emit(\"error\", err);\n }\n cb();\n }\n });\n}\n\n});\n\n\nparcelRegister(\"erM83\", function(module, exports) {\n\"use strict\";\nmodule.exports = $a848ebb8ba129638$var$stringify;\nmodule.exports.value = $a848ebb8ba129638$var$stringifyInline;\nfunction $a848ebb8ba129638$var$stringify(obj) {\n if (obj === null) throw $a848ebb8ba129638$var$typeError(\"null\");\n if (obj === void 0) throw $a848ebb8ba129638$var$typeError(\"undefined\");\n if (typeof obj !== \"object\") throw $a848ebb8ba129638$var$typeError(typeof obj);\n if (typeof obj.toJSON === \"function\") obj = obj.toJSON();\n if (obj == null) return null;\n const type = $a848ebb8ba129638$var$tomlType(obj);\n if (type !== \"table\") throw $a848ebb8ba129638$var$typeError(type);\n return $a848ebb8ba129638$var$stringifyObject(\"\", \"\", obj);\n}\nfunction $a848ebb8ba129638$var$typeError(type) {\n return new Error(\"Can only stringify objects, not \" + type);\n}\nfunction $a848ebb8ba129638$var$arrayOneTypeError() {\n return new Error(\"Array values can't have mixed types\");\n}\nfunction $a848ebb8ba129638$var$getInlineKeys(obj) {\n return Object.keys(obj).filter((key)=>$a848ebb8ba129638$var$isInline(obj[key]));\n}\nfunction $a848ebb8ba129638$var$getComplexKeys(obj) {\n return Object.keys(obj).filter((key)=>!$a848ebb8ba129638$var$isInline(obj[key]));\n}\nfunction $a848ebb8ba129638$var$toJSON(obj) {\n let nobj = Array.isArray(obj) ? [] : Object.prototype.hasOwnProperty.call(obj, \"__proto__\") ? {\n [\"__proto__\"]: undefined\n } : {};\n for (let prop of Object.keys(obj))if (obj[prop] && typeof obj[prop].toJSON === \"function\" && !(\"toISOString\" in obj[prop])) nobj[prop] = obj[prop].toJSON();\n else nobj[prop] = obj[prop];\n return nobj;\n}\nfunction $a848ebb8ba129638$var$stringifyObject(prefix, indent, obj) {\n obj = $a848ebb8ba129638$var$toJSON(obj);\n var inlineKeys;\n var complexKeys;\n inlineKeys = $a848ebb8ba129638$var$getInlineKeys(obj);\n complexKeys = $a848ebb8ba129638$var$getComplexKeys(obj);\n var result = [];\n var inlineIndent = indent || \"\";\n inlineKeys.forEach((key)=>{\n var type = $a848ebb8ba129638$var$tomlType(obj[key]);\n if (type !== \"undefined\" && type !== \"null\") result.push(inlineIndent + $a848ebb8ba129638$var$stringifyKey(key) + \" = \" + $a848ebb8ba129638$var$stringifyAnyInline(obj[key], true));\n });\n if (result.length > 0) result.push(\"\");\n var complexIndent = prefix && inlineKeys.length > 0 ? indent + \" \" : \"\";\n complexKeys.forEach((key)=>{\n result.push($a848ebb8ba129638$var$stringifyComplex(prefix, complexIndent, key, obj[key]));\n });\n return result.join(\"\\n\");\n}\nfunction $a848ebb8ba129638$var$isInline(value) {\n switch($a848ebb8ba129638$var$tomlType(value)){\n case \"undefined\":\n case \"null\":\n case \"integer\":\n case \"nan\":\n case \"float\":\n case \"boolean\":\n case \"string\":\n case \"datetime\":\n return true;\n case \"array\":\n return value.length === 0 || $a848ebb8ba129638$var$tomlType(value[0]) !== \"table\";\n case \"table\":\n return Object.keys(value).length === 0;\n /* istanbul ignore next */ default:\n return false;\n }\n}\nfunction $a848ebb8ba129638$var$tomlType(value) {\n if (value === undefined) return \"undefined\";\n else if (value === null) return \"null\";\n else if (typeof value === \"bigint\" || Number.isInteger(value) && !Object.is(value, -0)) return \"integer\";\n else if (typeof value === \"number\") return \"float\";\n else if (typeof value === \"boolean\") return \"boolean\";\n else if (typeof value === \"string\") return \"string\";\n else if (\"toISOString\" in value) return isNaN(value) ? \"undefined\" : \"datetime\";\n else if (Array.isArray(value)) return \"array\";\n else return \"table\";\n}\nfunction $a848ebb8ba129638$var$stringifyKey(key) {\n var keyStr = String(key);\n if (/^[-A-Za-z0-9_]+$/.test(keyStr)) return keyStr;\n else return $a848ebb8ba129638$var$stringifyBasicString(keyStr);\n}\nfunction $a848ebb8ba129638$var$stringifyBasicString(str) {\n return '\"' + $a848ebb8ba129638$var$escapeString(str).replace(/\"/g, '\\\\\"') + '\"';\n}\nfunction $a848ebb8ba129638$var$stringifyLiteralString(str) {\n return \"'\" + str + \"'\";\n}\nfunction $a848ebb8ba129638$var$numpad(num, str) {\n while(str.length < num)str = \"0\" + str;\n return str;\n}\nfunction $a848ebb8ba129638$var$escapeString(str) {\n return str.replace(/\\\\/g, \"\\\\\\\\\").replace(/[\\b]/g, \"\\\\b\").replace(/\\t/g, \"\\\\t\").replace(/\\n/g, \"\\\\n\").replace(/\\f/g, \"\\\\f\").replace(/\\r/g, \"\\\\r\")/* eslint-disable no-control-regex */ .replace(/([\\u0000-\\u001f\\u007f])/, (c)=>\"\\\\u\" + $a848ebb8ba129638$var$numpad(4, c.codePointAt(0).toString(16)));\n/* eslint-enable no-control-regex */ }\nfunction $a848ebb8ba129638$var$stringifyMultilineString(str) {\n let escaped = str.split(/\\n/).map((str)=>{\n return $a848ebb8ba129638$var$escapeString(str).replace(/\"(?=\"\")/g, '\\\\\"');\n }).join(\"\\n\");\n if (escaped.slice(-1) === '\"') escaped += \"\\\\\\n\";\n return '\"\"\"\\n' + escaped + '\"\"\"';\n}\nfunction $a848ebb8ba129638$var$stringifyAnyInline(value, multilineOk) {\n let type = $a848ebb8ba129638$var$tomlType(value);\n if (type === \"string\") {\n if (multilineOk && /\\n/.test(value)) type = \"string-multiline\";\n else if (!/[\\b\\t\\n\\f\\r']/.test(value) && /\"/.test(value)) type = \"string-literal\";\n }\n return $a848ebb8ba129638$var$stringifyInline(value, type);\n}\nfunction $a848ebb8ba129638$var$stringifyInline(value, type) {\n /* istanbul ignore if */ if (!type) type = $a848ebb8ba129638$var$tomlType(value);\n switch(type){\n case \"string-multiline\":\n return $a848ebb8ba129638$var$stringifyMultilineString(value);\n case \"string\":\n return $a848ebb8ba129638$var$stringifyBasicString(value);\n case \"string-literal\":\n return $a848ebb8ba129638$var$stringifyLiteralString(value);\n case \"integer\":\n return $a848ebb8ba129638$var$stringifyInteger(value);\n case \"float\":\n return $a848ebb8ba129638$var$stringifyFloat(value);\n case \"boolean\":\n return $a848ebb8ba129638$var$stringifyBoolean(value);\n case \"datetime\":\n return $a848ebb8ba129638$var$stringifyDatetime(value);\n case \"array\":\n return $a848ebb8ba129638$var$stringifyInlineArray(value.filter((_)=>$a848ebb8ba129638$var$tomlType(_) !== \"null\" && $a848ebb8ba129638$var$tomlType(_) !== \"undefined\" && $a848ebb8ba129638$var$tomlType(_) !== \"nan\"));\n case \"table\":\n return $a848ebb8ba129638$var$stringifyInlineTable(value);\n /* istanbul ignore next */ default:\n throw $a848ebb8ba129638$var$typeError(type);\n }\n}\nfunction $a848ebb8ba129638$var$stringifyInteger(value) {\n /* eslint-disable security/detect-unsafe-regex */ return String(value).replace(/\\B(?=(\\d{3})+(?!\\d))/g, \"_\");\n}\nfunction $a848ebb8ba129638$var$stringifyFloat(value) {\n if (value === Infinity) return \"inf\";\n else if (value === -Infinity) return \"-inf\";\n else if (Object.is(value, NaN)) return \"nan\";\n else if (Object.is(value, -0)) return \"-0.0\";\n var chunks = String(value).split(\".\");\n var int = chunks[0];\n var dec = chunks[1] || 0;\n return $a848ebb8ba129638$var$stringifyInteger(int) + \".\" + dec;\n}\nfunction $a848ebb8ba129638$var$stringifyBoolean(value) {\n return String(value);\n}\nfunction $a848ebb8ba129638$var$stringifyDatetime(value) {\n return value.toISOString();\n}\nfunction $a848ebb8ba129638$var$isNumber(type) {\n return type === \"float\" || type === \"integer\";\n}\nfunction $a848ebb8ba129638$var$arrayType(values) {\n var contentType = $a848ebb8ba129638$var$tomlType(values[0]);\n if (values.every((_)=>$a848ebb8ba129638$var$tomlType(_) === contentType)) return contentType;\n // mixed integer/float, emit as floats\n if (values.every((_)=>$a848ebb8ba129638$var$isNumber($a848ebb8ba129638$var$tomlType(_)))) return \"float\";\n return \"mixed\";\n}\nfunction $a848ebb8ba129638$var$validateArray(values) {\n const type = $a848ebb8ba129638$var$arrayType(values);\n if (type === \"mixed\") throw $a848ebb8ba129638$var$arrayOneTypeError();\n return type;\n}\nfunction $a848ebb8ba129638$var$stringifyInlineArray(values) {\n values = $a848ebb8ba129638$var$toJSON(values);\n const type = $a848ebb8ba129638$var$validateArray(values);\n var result = \"[\";\n var stringified = values.map((_)=>$a848ebb8ba129638$var$stringifyInline(_, type));\n if (stringified.join(\", \").length > 60 || /\\n/.test(stringified)) result += \"\\n \" + stringified.join(\",\\n \") + \"\\n\";\n else result += \" \" + stringified.join(\", \") + (stringified.length > 0 ? \" \" : \"\");\n return result + \"]\";\n}\nfunction $a848ebb8ba129638$var$stringifyInlineTable(value) {\n value = $a848ebb8ba129638$var$toJSON(value);\n var result = [];\n Object.keys(value).forEach((key)=>{\n result.push($a848ebb8ba129638$var$stringifyKey(key) + \" = \" + $a848ebb8ba129638$var$stringifyAnyInline(value[key], false));\n });\n return \"{ \" + result.join(\", \") + (result.length > 0 ? \" \" : \"\") + \"}\";\n}\nfunction $a848ebb8ba129638$var$stringifyComplex(prefix, indent, key, value) {\n var valueType = $a848ebb8ba129638$var$tomlType(value);\n /* istanbul ignore else */ if (valueType === \"array\") return $a848ebb8ba129638$var$stringifyArrayOfTables(prefix, indent, key, value);\n else if (valueType === \"table\") return $a848ebb8ba129638$var$stringifyComplexTable(prefix, indent, key, value);\n else throw $a848ebb8ba129638$var$typeError(valueType);\n}\nfunction $a848ebb8ba129638$var$stringifyArrayOfTables(prefix, indent, key, values) {\n values = $a848ebb8ba129638$var$toJSON(values);\n $a848ebb8ba129638$var$validateArray(values);\n var firstValueType = $a848ebb8ba129638$var$tomlType(values[0]);\n /* istanbul ignore if */ if (firstValueType !== \"table\") throw $a848ebb8ba129638$var$typeError(firstValueType);\n var fullKey = prefix + $a848ebb8ba129638$var$stringifyKey(key);\n var result = \"\";\n values.forEach((table)=>{\n if (result.length > 0) result += \"\\n\";\n result += indent + \"[[\" + fullKey + \"]]\\n\";\n result += $a848ebb8ba129638$var$stringifyObject(fullKey + \".\", indent, table);\n });\n return result;\n}\nfunction $a848ebb8ba129638$var$stringifyComplexTable(prefix, indent, key, value) {\n var fullKey = prefix + $a848ebb8ba129638$var$stringifyKey(key);\n var result = \"\";\n if ($a848ebb8ba129638$var$getInlineKeys(value).length > 0) result += indent + \"[\" + fullKey + \"]\\n\";\n return result + $a848ebb8ba129638$var$stringifyObject(fullKey + \".\", indent, value);\n}\n\n});\n\n\n\nparcelRegister(\"2kmVU\", function(module, exports) {\n\n$parcel$export(module.exports, \"MANIFEST_URL\", () => $e72d62d13fef2884$export$f3182c5cb60bb857);\n$parcel$export(module.exports, \"findReleaseFromManifest\", () => $e72d62d13fef2884$export$45bea79befbd9a23);\n$parcel$export(module.exports, \"getManifest\", () => $e72d62d13fef2884$export$39e873de56f329d8);\n$parcel$export(module.exports, \"installCpythonFromRelease\", () => $e72d62d13fef2884$export$e1ffa7cd53152881);\n\n\nvar $4t50X = parcelRequire(\"4t50X\");\n\nvar $bG0ld = parcelRequire(\"bG0ld\");\n\nvar $1f6JF = parcelRequire(\"1f6JF\");\n\nvar $dm0eT = parcelRequire(\"dm0eT\");\nconst $e72d62d13fef2884$var$TOKEN = $4t50X.getInput(\"token\");\nconst $e72d62d13fef2884$var$AUTH = !$e72d62d13fef2884$var$TOKEN ? undefined : `token ${$e72d62d13fef2884$var$TOKEN}`;\nconst $e72d62d13fef2884$var$MANIFEST_REPO_OWNER = \"actions\";\nconst $e72d62d13fef2884$var$MANIFEST_REPO_NAME = \"python-versions\";\nconst $e72d62d13fef2884$var$MANIFEST_REPO_BRANCH = \"main\";\nconst $e72d62d13fef2884$export$f3182c5cb60bb857 = `https://raw.githubusercontent.com/${$e72d62d13fef2884$var$MANIFEST_REPO_OWNER}/${$e72d62d13fef2884$var$MANIFEST_REPO_NAME}/${$e72d62d13fef2884$var$MANIFEST_REPO_BRANCH}/versions-manifest.json`;\nasync function $e72d62d13fef2884$export$45bea79befbd9a23(semanticVersionSpec, architecture, manifest) {\n if (!manifest) manifest = await $e72d62d13fef2884$export$39e873de56f329d8();\n const foundRelease = await $bG0ld.findFromManifest(semanticVersionSpec, false, manifest, architecture);\n return foundRelease;\n}\nfunction $e72d62d13fef2884$export$39e873de56f329d8() {\n $4t50X.debug(`Getting manifest from ${$e72d62d13fef2884$var$MANIFEST_REPO_OWNER}/${$e72d62d13fef2884$var$MANIFEST_REPO_NAME}@${$e72d62d13fef2884$var$MANIFEST_REPO_BRANCH}`);\n return $bG0ld.getManifestFromRepo($e72d62d13fef2884$var$MANIFEST_REPO_OWNER, $e72d62d13fef2884$var$MANIFEST_REPO_NAME, $e72d62d13fef2884$var$AUTH, $e72d62d13fef2884$var$MANIFEST_REPO_BRANCH);\n}\nasync function $e72d62d13fef2884$var$installPython(workingDirectory) {\n const options = {\n cwd: workingDirectory,\n env: {\n ...process.env,\n ...(0, $dm0eT.IS_LINUX) && {\n LD_LIBRARY_PATH: $k14yv$path.join(workingDirectory, \"lib\")\n }\n },\n silent: true,\n listeners: {\n stdout: (data)=>{\n $4t50X.info(data.toString().trim());\n },\n stderr: (data)=>{\n $4t50X.error(data.toString().trim());\n }\n }\n };\n if (0, $dm0eT.IS_WINDOWS) await $1f6JF.exec(\"powershell\", [\n \"./setup.ps1\"\n ], options);\n else await $1f6JF.exec(\"bash\", [\n \"./setup.sh\"\n ], options);\n}\nasync function $e72d62d13fef2884$export$e1ffa7cd53152881(release) {\n const downloadUrl = release.files[0].download_url;\n $4t50X.info(`Download from \"${downloadUrl}\"`);\n let pythonPath = \"\";\n try {\n pythonPath = await $bG0ld.downloadTool(downloadUrl, undefined, $e72d62d13fef2884$var$AUTH);\n $4t50X.info(\"Extract downloaded archive\");\n let pythonExtractedFolder;\n if (0, $dm0eT.IS_WINDOWS) pythonExtractedFolder = await $bG0ld.extractZip(pythonPath);\n else pythonExtractedFolder = await $bG0ld.extractTar(pythonPath);\n $4t50X.info(\"Execute installation script\");\n await $e72d62d13fef2884$var$installPython(pythonExtractedFolder);\n } catch (err) {\n if (err instanceof $bG0ld.HTTPError) {\n // Rate limit?\n if (err.httpStatusCode === 403 || err.httpStatusCode === 429) $4t50X.info(`Received HTTP status code ${err.httpStatusCode}. This usually indicates the rate limit has been exceeded`);\n else $4t50X.info(err.message);\n if (err.stack) $4t50X.debug(err.stack);\n }\n throw err;\n }\n}\n\n});\nparcelRegister(\"bG0ld\", function(module, exports) {\n\nvar $8803e1b53e21bab1$var$$parcel$__dirname = $k14yv$path.resolve(__dirname, \"../../node_modules/setup-python/node_modules/@actions/tool-cache/lib\");\n\"use strict\";\nvar $8803e1b53e21bab1$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $8803e1b53e21bab1$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $8803e1b53e21bab1$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $8803e1b53e21bab1$var$__createBinding(result, mod, k);\n }\n $8803e1b53e21bab1$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $8803e1b53e21bab1$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar $8803e1b53e21bab1$var$__importDefault = module.exports && module.exports.__importDefault || function(mod) {\n return mod && mod.__esModule ? mod : {\n \"default\": mod\n };\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.evaluateVersions = module.exports.isExplicitVersion = module.exports.findFromManifest = module.exports.getManifestFromRepo = module.exports.findAllVersions = module.exports.find = module.exports.cacheFile = module.exports.cacheDir = module.exports.extractZip = module.exports.extractXar = module.exports.extractTar = module.exports.extract7z = module.exports.downloadTool = module.exports.HTTPError = void 0;\n\nconst $8803e1b53e21bab1$var$core = $8803e1b53e21bab1$var$__importStar((parcelRequire(\"4t50X\")));\n\nconst $8803e1b53e21bab1$var$io = $8803e1b53e21bab1$var$__importStar((parcelRequire(\"hZdK0\")));\n\nconst $8803e1b53e21bab1$var$fs = $8803e1b53e21bab1$var$__importStar($k14yv$fs);\n\nconst $8803e1b53e21bab1$var$mm = $8803e1b53e21bab1$var$__importStar((parcelRequire(\"8rRFf\")));\n\nconst $8803e1b53e21bab1$var$os = $8803e1b53e21bab1$var$__importStar($k14yv$os);\n\nconst $8803e1b53e21bab1$var$path = $8803e1b53e21bab1$var$__importStar($k14yv$path);\n\nconst $8803e1b53e21bab1$var$httpm = $8803e1b53e21bab1$var$__importStar((parcelRequire(\"a7JAS\")));\n\nconst $8803e1b53e21bab1$var$semver = $8803e1b53e21bab1$var$__importStar((parcelRequire(\"lIb6h\")));\n\nconst $8803e1b53e21bab1$var$stream = $8803e1b53e21bab1$var$__importStar($k14yv$stream);\n\nconst $8803e1b53e21bab1$var$util = $8803e1b53e21bab1$var$__importStar($k14yv$util);\n\nconst $8803e1b53e21bab1$var$v4_1 = $8803e1b53e21bab1$var$__importDefault((parcelRequire(\"cdVym\")));\n\nvar $1f6JF = parcelRequire(\"1f6JF\");\n\n\nvar $lI4Zo = parcelRequire(\"lI4Zo\");\nclass $8803e1b53e21bab1$var$HTTPError extends Error {\n constructor(httpStatusCode){\n super(`Unexpected HTTP response: ${httpStatusCode}`);\n this.httpStatusCode = httpStatusCode;\n Object.setPrototypeOf(this, new.target.prototype);\n }\n}\nmodule.exports.HTTPError = $8803e1b53e21bab1$var$HTTPError;\nconst $8803e1b53e21bab1$var$IS_WINDOWS = process.platform === \"win32\";\nconst $8803e1b53e21bab1$var$IS_MAC = process.platform === \"darwin\";\nconst $8803e1b53e21bab1$var$userAgent = \"actions/tool-cache\";\n/**\n * Download a tool from an url and stream it into a file\n *\n * @param url url of tool to download\n * @param dest path to download tool\n * @param auth authorization header\n * @param headers other headers\n * @returns path to downloaded tool\n */ function $8803e1b53e21bab1$var$downloadTool(url, dest, auth, headers) {\n return $8803e1b53e21bab1$var$__awaiter(this, void 0, void 0, function*() {\n dest = dest || $8803e1b53e21bab1$var$path.join($8803e1b53e21bab1$var$_getTempDirectory(), $8803e1b53e21bab1$var$v4_1.default());\n yield $8803e1b53e21bab1$var$io.mkdirP($8803e1b53e21bab1$var$path.dirname(dest));\n $8803e1b53e21bab1$var$core.debug(`Downloading ${url}`);\n $8803e1b53e21bab1$var$core.debug(`Destination ${dest}`);\n const maxAttempts = 3;\n const minSeconds = $8803e1b53e21bab1$var$_getGlobal(\"TEST_DOWNLOAD_TOOL_RETRY_MIN_SECONDS\", 10);\n const maxSeconds = $8803e1b53e21bab1$var$_getGlobal(\"TEST_DOWNLOAD_TOOL_RETRY_MAX_SECONDS\", 20);\n const retryHelper = new $lI4Zo.RetryHelper(maxAttempts, minSeconds, maxSeconds);\n return yield retryHelper.execute(()=>$8803e1b53e21bab1$var$__awaiter(this, void 0, void 0, function*() {\n return yield $8803e1b53e21bab1$var$downloadToolAttempt(url, dest || \"\", auth, headers);\n }), (err)=>{\n if (err instanceof $8803e1b53e21bab1$var$HTTPError && err.httpStatusCode) {\n // Don't retry anything less than 500, except 408 Request Timeout and 429 Too Many Requests\n if (err.httpStatusCode < 500 && err.httpStatusCode !== 408 && err.httpStatusCode !== 429) return false;\n }\n // Otherwise retry\n return true;\n });\n });\n}\nmodule.exports.downloadTool = $8803e1b53e21bab1$var$downloadTool;\nfunction $8803e1b53e21bab1$var$downloadToolAttempt(url, dest, auth, headers) {\n return $8803e1b53e21bab1$var$__awaiter(this, void 0, void 0, function*() {\n if ($8803e1b53e21bab1$var$fs.existsSync(dest)) throw new Error(`Destination file path ${dest} already exists`);\n // Get the response headers\n const http = new $8803e1b53e21bab1$var$httpm.HttpClient($8803e1b53e21bab1$var$userAgent, [], {\n allowRetries: false\n });\n if (auth) {\n $8803e1b53e21bab1$var$core.debug(\"set auth\");\n if (headers === undefined) headers = {};\n headers.authorization = auth;\n }\n const response = yield http.get(url, headers);\n if (response.message.statusCode !== 200) {\n const err = new $8803e1b53e21bab1$var$HTTPError(response.message.statusCode);\n $8803e1b53e21bab1$var$core.debug(`Failed to download from \"${url}\". Code(${response.message.statusCode}) Message(${response.message.statusMessage})`);\n throw err;\n }\n // Download the response body\n const pipeline = $8803e1b53e21bab1$var$util.promisify($8803e1b53e21bab1$var$stream.pipeline);\n const responseMessageFactory = $8803e1b53e21bab1$var$_getGlobal(\"TEST_DOWNLOAD_TOOL_RESPONSE_MESSAGE_FACTORY\", ()=>response.message);\n const readStream = responseMessageFactory();\n let succeeded = false;\n try {\n yield pipeline(readStream, $8803e1b53e21bab1$var$fs.createWriteStream(dest));\n $8803e1b53e21bab1$var$core.debug(\"download complete\");\n succeeded = true;\n return dest;\n } finally{\n // Error, delete dest before retry\n if (!succeeded) {\n $8803e1b53e21bab1$var$core.debug(\"download failed\");\n try {\n yield $8803e1b53e21bab1$var$io.rmRF(dest);\n } catch (err) {\n $8803e1b53e21bab1$var$core.debug(`Failed to delete '${dest}'. ${err.message}`);\n }\n }\n }\n });\n}\n/**\n * Extract a .7z file\n *\n * @param file path to the .7z file\n * @param dest destination directory. Optional.\n * @param _7zPath path to 7zr.exe. Optional, for long path support. Most .7z archives do not have this\n * problem. If your .7z archive contains very long paths, you can pass the path to 7zr.exe which will\n * gracefully handle long paths. By default 7zdec.exe is used because it is a very small program and is\n * bundled with the tool lib. However it does not support long paths. 7zr.exe is the reduced command line\n * interface, it is smaller than the full command line interface, and it does support long paths. At the\n * time of this writing, it is freely available from the LZMA SDK that is available on the 7zip website.\n * Be sure to check the current license agreement. If 7zr.exe is bundled with your action, then the path\n * to 7zr.exe can be pass to this function.\n * @returns path to the destination directory\n */ function $8803e1b53e21bab1$var$extract7z(file, dest, _7zPath) {\n return $8803e1b53e21bab1$var$__awaiter(this, void 0, void 0, function*() {\n $k14yv$assert.ok($8803e1b53e21bab1$var$IS_WINDOWS, \"extract7z() not supported on current OS\");\n $k14yv$assert.ok(file, 'parameter \"file\" is required');\n dest = yield $8803e1b53e21bab1$var$_createExtractFolder(dest);\n const originalCwd = process.cwd();\n process.chdir(dest);\n if (_7zPath) try {\n const logLevel = $8803e1b53e21bab1$var$core.isDebug() ? \"-bb1\" : \"-bb0\";\n const args = [\n \"x\",\n logLevel,\n \"-bd\",\n \"-sccUTF-8\",\n file\n ];\n const options = {\n silent: true\n };\n yield $1f6JF.exec(`\"${_7zPath}\"`, args, options);\n } finally{\n process.chdir(originalCwd);\n }\n else {\n const escapedScript = $8803e1b53e21bab1$var$path.join($8803e1b53e21bab1$var$$parcel$__dirname, \"..\", \"scripts\", \"Invoke-7zdec.ps1\").replace(/'/g, \"''\").replace(/\"|\\n|\\r/g, \"\"); // double-up single quotes, remove double quotes and newlines\n const escapedFile = file.replace(/'/g, \"''\").replace(/\"|\\n|\\r/g, \"\");\n const escapedTarget = dest.replace(/'/g, \"''\").replace(/\"|\\n|\\r/g, \"\");\n const command = `& '${escapedScript}' -Source '${escapedFile}' -Target '${escapedTarget}'`;\n const args = [\n \"-NoLogo\",\n \"-Sta\",\n \"-NoProfile\",\n \"-NonInteractive\",\n \"-ExecutionPolicy\",\n \"Unrestricted\",\n \"-Command\",\n command\n ];\n const options = {\n silent: true\n };\n try {\n const powershellPath = yield $8803e1b53e21bab1$var$io.which(\"powershell\", true);\n yield $1f6JF.exec(`\"${powershellPath}\"`, args, options);\n } finally{\n process.chdir(originalCwd);\n }\n }\n return dest;\n });\n}\nmodule.exports.extract7z = $8803e1b53e21bab1$var$extract7z;\n/**\n * Extract a compressed tar archive\n *\n * @param file path to the tar\n * @param dest destination directory. Optional.\n * @param flags flags for the tar command to use for extraction. Defaults to 'xz' (extracting gzipped tars). Optional.\n * @returns path to the destination directory\n */ function $8803e1b53e21bab1$var$extractTar(file, dest, flags = \"xz\") {\n return $8803e1b53e21bab1$var$__awaiter(this, void 0, void 0, function*() {\n if (!file) throw new Error(\"parameter 'file' is required\");\n // Create dest\n dest = yield $8803e1b53e21bab1$var$_createExtractFolder(dest);\n // Determine whether GNU tar\n $8803e1b53e21bab1$var$core.debug(\"Checking tar --version\");\n let versionOutput = \"\";\n yield $1f6JF.exec(\"tar --version\", [], {\n ignoreReturnCode: true,\n silent: true,\n listeners: {\n stdout: (data)=>versionOutput += data.toString(),\n stderr: (data)=>versionOutput += data.toString()\n }\n });\n $8803e1b53e21bab1$var$core.debug(versionOutput.trim());\n const isGnuTar = versionOutput.toUpperCase().includes(\"GNU TAR\");\n // Initialize args\n let args;\n if (flags instanceof Array) args = flags;\n else args = [\n flags\n ];\n if ($8803e1b53e21bab1$var$core.isDebug() && !flags.includes(\"v\")) args.push(\"-v\");\n let destArg = dest;\n let fileArg = file;\n if ($8803e1b53e21bab1$var$IS_WINDOWS && isGnuTar) {\n args.push(\"--force-local\");\n destArg = dest.replace(/\\\\/g, \"/\");\n // Technically only the dest needs to have `/` but for aesthetic consistency\n // convert slashes in the file arg too.\n fileArg = file.replace(/\\\\/g, \"/\");\n }\n if (isGnuTar) {\n // Suppress warnings when using GNU tar to extract archives created by BSD tar\n args.push(\"--warning=no-unknown-keyword\");\n args.push(\"--overwrite\");\n }\n args.push(\"-C\", destArg, \"-f\", fileArg);\n yield $1f6JF.exec(`tar`, args);\n return dest;\n });\n}\nmodule.exports.extractTar = $8803e1b53e21bab1$var$extractTar;\n/**\n * Extract a xar compatible archive\n *\n * @param file path to the archive\n * @param dest destination directory. Optional.\n * @param flags flags for the xar. Optional.\n * @returns path to the destination directory\n */ function $8803e1b53e21bab1$var$extractXar(file, dest, flags = []) {\n return $8803e1b53e21bab1$var$__awaiter(this, void 0, void 0, function*() {\n $k14yv$assert.ok($8803e1b53e21bab1$var$IS_MAC, \"extractXar() not supported on current OS\");\n $k14yv$assert.ok(file, 'parameter \"file\" is required');\n dest = yield $8803e1b53e21bab1$var$_createExtractFolder(dest);\n let args;\n if (flags instanceof Array) args = flags;\n else args = [\n flags\n ];\n args.push(\"-x\", \"-C\", dest, \"-f\", file);\n if ($8803e1b53e21bab1$var$core.isDebug()) args.push(\"-v\");\n const xarPath = yield $8803e1b53e21bab1$var$io.which(\"xar\", true);\n yield $1f6JF.exec(`\"${xarPath}\"`, $8803e1b53e21bab1$var$_unique(args));\n return dest;\n });\n}\nmodule.exports.extractXar = $8803e1b53e21bab1$var$extractXar;\n/**\n * Extract a zip\n *\n * @param file path to the zip\n * @param dest destination directory. Optional.\n * @returns path to the destination directory\n */ function $8803e1b53e21bab1$var$extractZip(file, dest) {\n return $8803e1b53e21bab1$var$__awaiter(this, void 0, void 0, function*() {\n if (!file) throw new Error(\"parameter 'file' is required\");\n dest = yield $8803e1b53e21bab1$var$_createExtractFolder(dest);\n if ($8803e1b53e21bab1$var$IS_WINDOWS) yield $8803e1b53e21bab1$var$extractZipWin(file, dest);\n else yield $8803e1b53e21bab1$var$extractZipNix(file, dest);\n return dest;\n });\n}\nmodule.exports.extractZip = $8803e1b53e21bab1$var$extractZip;\nfunction $8803e1b53e21bab1$var$extractZipWin(file, dest) {\n return $8803e1b53e21bab1$var$__awaiter(this, void 0, void 0, function*() {\n // build the powershell command\n const escapedFile = file.replace(/'/g, \"''\").replace(/\"|\\n|\\r/g, \"\"); // double-up single quotes, remove double quotes and newlines\n const escapedDest = dest.replace(/'/g, \"''\").replace(/\"|\\n|\\r/g, \"\");\n const pwshPath = yield $8803e1b53e21bab1$var$io.which(\"pwsh\", false);\n //To match the file overwrite behavior on nix systems, we use the overwrite = true flag for ExtractToDirectory\n //and the -Force flag for Expand-Archive as a fallback\n if (pwshPath) {\n //attempt to use pwsh with ExtractToDirectory, if this fails attempt Expand-Archive\n const pwshCommand = [\n `$ErrorActionPreference = 'Stop' ;`,\n `try { Add-Type -AssemblyName System.IO.Compression.ZipFile } catch { } ;`,\n `try { [System.IO.Compression.ZipFile]::ExtractToDirectory('${escapedFile}', '${escapedDest}', $true) }`,\n `catch { if (($_.Exception.GetType().FullName -eq 'System.Management.Automation.MethodException') -or ($_.Exception.GetType().FullName -eq 'System.Management.Automation.RuntimeException') ){ Expand-Archive -LiteralPath '${escapedFile}' -DestinationPath '${escapedDest}' -Force } else { throw $_ } } ;`\n ].join(\" \");\n const args = [\n \"-NoLogo\",\n \"-NoProfile\",\n \"-NonInteractive\",\n \"-ExecutionPolicy\",\n \"Unrestricted\",\n \"-Command\",\n pwshCommand\n ];\n $8803e1b53e21bab1$var$core.debug(`Using pwsh at path: ${pwshPath}`);\n yield $1f6JF.exec(`\"${pwshPath}\"`, args);\n } else {\n const powershellCommand = [\n `$ErrorActionPreference = 'Stop' ;`,\n `try { Add-Type -AssemblyName System.IO.Compression.FileSystem } catch { } ;`,\n `if ((Get-Command -Name Expand-Archive -Module Microsoft.PowerShell.Archive -ErrorAction Ignore)) { Expand-Archive -LiteralPath '${escapedFile}' -DestinationPath '${escapedDest}' -Force }`,\n `else {[System.IO.Compression.ZipFile]::ExtractToDirectory('${escapedFile}', '${escapedDest}', $true) }`\n ].join(\" \");\n const args = [\n \"-NoLogo\",\n \"-Sta\",\n \"-NoProfile\",\n \"-NonInteractive\",\n \"-ExecutionPolicy\",\n \"Unrestricted\",\n \"-Command\",\n powershellCommand\n ];\n const powershellPath = yield $8803e1b53e21bab1$var$io.which(\"powershell\", true);\n $8803e1b53e21bab1$var$core.debug(`Using powershell at path: ${powershellPath}`);\n yield $1f6JF.exec(`\"${powershellPath}\"`, args);\n }\n });\n}\nfunction $8803e1b53e21bab1$var$extractZipNix(file, dest) {\n return $8803e1b53e21bab1$var$__awaiter(this, void 0, void 0, function*() {\n const unzipPath = yield $8803e1b53e21bab1$var$io.which(\"unzip\", true);\n const args = [\n file\n ];\n if (!$8803e1b53e21bab1$var$core.isDebug()) args.unshift(\"-q\");\n args.unshift(\"-o\"); //overwrite with -o, otherwise a prompt is shown which freezes the run\n yield $1f6JF.exec(`\"${unzipPath}\"`, args, {\n cwd: dest\n });\n });\n}\n/**\n * Caches a directory and installs it into the tool cacheDir\n *\n * @param sourceDir the directory to cache into tools\n * @param tool tool name\n * @param version version of the tool. semver format\n * @param arch architecture of the tool. Optional. Defaults to machine architecture\n */ function $8803e1b53e21bab1$var$cacheDir(sourceDir, tool, version, arch) {\n return $8803e1b53e21bab1$var$__awaiter(this, void 0, void 0, function*() {\n version = $8803e1b53e21bab1$var$semver.clean(version) || version;\n arch = arch || $8803e1b53e21bab1$var$os.arch();\n $8803e1b53e21bab1$var$core.debug(`Caching tool ${tool} ${version} ${arch}`);\n $8803e1b53e21bab1$var$core.debug(`source dir: ${sourceDir}`);\n if (!$8803e1b53e21bab1$var$fs.statSync(sourceDir).isDirectory()) throw new Error(\"sourceDir is not a directory\");\n // Create the tool dir\n const destPath = yield $8803e1b53e21bab1$var$_createToolPath(tool, version, arch);\n // copy each child item. do not move. move can fail on Windows\n // due to anti-virus software having an open handle on a file.\n for (const itemName of $8803e1b53e21bab1$var$fs.readdirSync(sourceDir)){\n const s = $8803e1b53e21bab1$var$path.join(sourceDir, itemName);\n yield $8803e1b53e21bab1$var$io.cp(s, destPath, {\n recursive: true\n });\n }\n // write .complete\n $8803e1b53e21bab1$var$_completeToolPath(tool, version, arch);\n return destPath;\n });\n}\nmodule.exports.cacheDir = $8803e1b53e21bab1$var$cacheDir;\n/**\n * Caches a downloaded file (GUID) and installs it\n * into the tool cache with a given targetName\n *\n * @param sourceFile the file to cache into tools. Typically a result of downloadTool which is a guid.\n * @param targetFile the name of the file name in the tools directory\n * @param tool tool name\n * @param version version of the tool. semver format\n * @param arch architecture of the tool. Optional. Defaults to machine architecture\n */ function $8803e1b53e21bab1$var$cacheFile(sourceFile, targetFile, tool, version, arch) {\n return $8803e1b53e21bab1$var$__awaiter(this, void 0, void 0, function*() {\n version = $8803e1b53e21bab1$var$semver.clean(version) || version;\n arch = arch || $8803e1b53e21bab1$var$os.arch();\n $8803e1b53e21bab1$var$core.debug(`Caching tool ${tool} ${version} ${arch}`);\n $8803e1b53e21bab1$var$core.debug(`source file: ${sourceFile}`);\n if (!$8803e1b53e21bab1$var$fs.statSync(sourceFile).isFile()) throw new Error(\"sourceFile is not a file\");\n // create the tool dir\n const destFolder = yield $8803e1b53e21bab1$var$_createToolPath(tool, version, arch);\n // copy instead of move. move can fail on Windows due to\n // anti-virus software having an open handle on a file.\n const destPath = $8803e1b53e21bab1$var$path.join(destFolder, targetFile);\n $8803e1b53e21bab1$var$core.debug(`destination file ${destPath}`);\n yield $8803e1b53e21bab1$var$io.cp(sourceFile, destPath);\n // write .complete\n $8803e1b53e21bab1$var$_completeToolPath(tool, version, arch);\n return destFolder;\n });\n}\nmodule.exports.cacheFile = $8803e1b53e21bab1$var$cacheFile;\n/**\n * Finds the path to a tool version in the local installed tool cache\n *\n * @param toolName name of the tool\n * @param versionSpec version of the tool\n * @param arch optional arch. defaults to arch of computer\n */ function $8803e1b53e21bab1$var$find(toolName, versionSpec, arch) {\n if (!toolName) throw new Error(\"toolName parameter is required\");\n if (!versionSpec) throw new Error(\"versionSpec parameter is required\");\n arch = arch || $8803e1b53e21bab1$var$os.arch();\n // attempt to resolve an explicit version\n if (!$8803e1b53e21bab1$var$isExplicitVersion(versionSpec)) {\n const localVersions = $8803e1b53e21bab1$var$findAllVersions(toolName, arch);\n const match = $8803e1b53e21bab1$var$evaluateVersions(localVersions, versionSpec);\n versionSpec = match;\n }\n // check for the explicit version in the cache\n let toolPath = \"\";\n if (versionSpec) {\n versionSpec = $8803e1b53e21bab1$var$semver.clean(versionSpec) || \"\";\n const cachePath = $8803e1b53e21bab1$var$path.join($8803e1b53e21bab1$var$_getCacheDirectory(), toolName, versionSpec, arch);\n $8803e1b53e21bab1$var$core.debug(`checking cache: ${cachePath}`);\n if ($8803e1b53e21bab1$var$fs.existsSync(cachePath) && $8803e1b53e21bab1$var$fs.existsSync(`${cachePath}.complete`)) {\n $8803e1b53e21bab1$var$core.debug(`Found tool in cache ${toolName} ${versionSpec} ${arch}`);\n toolPath = cachePath;\n } else $8803e1b53e21bab1$var$core.debug(\"not found\");\n }\n return toolPath;\n}\nmodule.exports.find = $8803e1b53e21bab1$var$find;\n/**\n * Finds the paths to all versions of a tool that are installed in the local tool cache\n *\n * @param toolName name of the tool\n * @param arch optional arch. defaults to arch of computer\n */ function $8803e1b53e21bab1$var$findAllVersions(toolName, arch) {\n const versions = [];\n arch = arch || $8803e1b53e21bab1$var$os.arch();\n const toolPath = $8803e1b53e21bab1$var$path.join($8803e1b53e21bab1$var$_getCacheDirectory(), toolName);\n if ($8803e1b53e21bab1$var$fs.existsSync(toolPath)) {\n const children = $8803e1b53e21bab1$var$fs.readdirSync(toolPath);\n for (const child of children)if ($8803e1b53e21bab1$var$isExplicitVersion(child)) {\n const fullPath = $8803e1b53e21bab1$var$path.join(toolPath, child, arch || \"\");\n if ($8803e1b53e21bab1$var$fs.existsSync(fullPath) && $8803e1b53e21bab1$var$fs.existsSync(`${fullPath}.complete`)) versions.push(child);\n }\n }\n return versions;\n}\nmodule.exports.findAllVersions = $8803e1b53e21bab1$var$findAllVersions;\nfunction $8803e1b53e21bab1$var$getManifestFromRepo(owner, repo, auth, branch = \"master\") {\n return $8803e1b53e21bab1$var$__awaiter(this, void 0, void 0, function*() {\n let releases = [];\n const treeUrl = `https://api.github.com/repos/${owner}/${repo}/git/trees/${branch}`;\n const http = new $8803e1b53e21bab1$var$httpm.HttpClient(\"tool-cache\");\n const headers = {};\n if (auth) {\n $8803e1b53e21bab1$var$core.debug(\"set auth\");\n headers.authorization = auth;\n }\n const response = yield http.getJson(treeUrl, headers);\n if (!response.result) return releases;\n let manifestUrl = \"\";\n for (const item of response.result.tree)if (item.path === \"versions-manifest.json\") {\n manifestUrl = item.url;\n break;\n }\n headers[\"accept\"] = \"application/vnd.github.VERSION.raw\";\n let versionsRaw = yield (yield http.get(manifestUrl, headers)).readBody();\n if (versionsRaw) {\n // shouldn't be needed but protects against invalid json saved with BOM\n versionsRaw = versionsRaw.replace(/^\\uFEFF/, \"\");\n try {\n releases = JSON.parse(versionsRaw);\n } catch (_a) {\n $8803e1b53e21bab1$var$core.debug(\"Invalid json\");\n }\n }\n return releases;\n });\n}\nmodule.exports.getManifestFromRepo = $8803e1b53e21bab1$var$getManifestFromRepo;\nfunction $8803e1b53e21bab1$var$findFromManifest(versionSpec, stable, manifest, archFilter = $8803e1b53e21bab1$var$os.arch()) {\n return $8803e1b53e21bab1$var$__awaiter(this, void 0, void 0, function*() {\n // wrap the internal impl\n const match = yield $8803e1b53e21bab1$var$mm._findMatch(versionSpec, stable, manifest, archFilter);\n return match;\n });\n}\nmodule.exports.findFromManifest = $8803e1b53e21bab1$var$findFromManifest;\nfunction $8803e1b53e21bab1$var$_createExtractFolder(dest) {\n return $8803e1b53e21bab1$var$__awaiter(this, void 0, void 0, function*() {\n if (!dest) // create a temp dir\n dest = $8803e1b53e21bab1$var$path.join($8803e1b53e21bab1$var$_getTempDirectory(), $8803e1b53e21bab1$var$v4_1.default());\n yield $8803e1b53e21bab1$var$io.mkdirP(dest);\n return dest;\n });\n}\nfunction $8803e1b53e21bab1$var$_createToolPath(tool, version, arch) {\n return $8803e1b53e21bab1$var$__awaiter(this, void 0, void 0, function*() {\n const folderPath = $8803e1b53e21bab1$var$path.join($8803e1b53e21bab1$var$_getCacheDirectory(), tool, $8803e1b53e21bab1$var$semver.clean(version) || version, arch || \"\");\n $8803e1b53e21bab1$var$core.debug(`destination ${folderPath}`);\n const markerPath = `${folderPath}.complete`;\n yield $8803e1b53e21bab1$var$io.rmRF(folderPath);\n yield $8803e1b53e21bab1$var$io.rmRF(markerPath);\n yield $8803e1b53e21bab1$var$io.mkdirP(folderPath);\n return folderPath;\n });\n}\nfunction $8803e1b53e21bab1$var$_completeToolPath(tool, version, arch) {\n const folderPath = $8803e1b53e21bab1$var$path.join($8803e1b53e21bab1$var$_getCacheDirectory(), tool, $8803e1b53e21bab1$var$semver.clean(version) || version, arch || \"\");\n const markerPath = `${folderPath}.complete`;\n $8803e1b53e21bab1$var$fs.writeFileSync(markerPath, \"\");\n $8803e1b53e21bab1$var$core.debug(\"finished caching tool\");\n}\n/**\n * Check if version string is explicit\n *\n * @param versionSpec version string to check\n */ function $8803e1b53e21bab1$var$isExplicitVersion(versionSpec) {\n const c = $8803e1b53e21bab1$var$semver.clean(versionSpec) || \"\";\n $8803e1b53e21bab1$var$core.debug(`isExplicit: ${c}`);\n const valid = $8803e1b53e21bab1$var$semver.valid(c) != null;\n $8803e1b53e21bab1$var$core.debug(`explicit? ${valid}`);\n return valid;\n}\nmodule.exports.isExplicitVersion = $8803e1b53e21bab1$var$isExplicitVersion;\n/**\n * Get the highest satisfiying semantic version in `versions` which satisfies `versionSpec`\n *\n * @param versions array of versions to evaluate\n * @param versionSpec semantic version spec to satisfy\n */ function $8803e1b53e21bab1$var$evaluateVersions(versions, versionSpec) {\n let version = \"\";\n $8803e1b53e21bab1$var$core.debug(`evaluating ${versions.length} versions`);\n versions = versions.sort((a, b)=>{\n if ($8803e1b53e21bab1$var$semver.gt(a, b)) return 1;\n return -1;\n });\n for(let i = versions.length - 1; i >= 0; i--){\n const potential = versions[i];\n const satisfied = $8803e1b53e21bab1$var$semver.satisfies(potential, versionSpec);\n if (satisfied) {\n version = potential;\n break;\n }\n }\n if (version) $8803e1b53e21bab1$var$core.debug(`matched: ${version}`);\n else $8803e1b53e21bab1$var$core.debug(\"match not found\");\n return version;\n}\nmodule.exports.evaluateVersions = $8803e1b53e21bab1$var$evaluateVersions;\n/**\n * Gets RUNNER_TOOL_CACHE\n */ function $8803e1b53e21bab1$var$_getCacheDirectory() {\n const cacheDirectory = process.env[\"RUNNER_TOOL_CACHE\"] || \"\";\n $k14yv$assert.ok(cacheDirectory, \"Expected RUNNER_TOOL_CACHE to be defined\");\n return cacheDirectory;\n}\n/**\n * Gets RUNNER_TEMP\n */ function $8803e1b53e21bab1$var$_getTempDirectory() {\n const tempDirectory = process.env[\"RUNNER_TEMP\"] || \"\";\n $k14yv$assert.ok(tempDirectory, \"Expected RUNNER_TEMP to be defined\");\n return tempDirectory;\n}\n/**\n * Gets a global variable\n */ function $8803e1b53e21bab1$var$_getGlobal(key, defaultValue) {\n /* eslint-disable @typescript-eslint/no-explicit-any */ const value = $parcel$global[key];\n /* eslint-enable @typescript-eslint/no-explicit-any */ return value !== undefined ? value : defaultValue;\n}\n/**\n * Returns an array of unique values.\n * @param values Values to make unique.\n */ function $8803e1b53e21bab1$var$_unique(values) {\n return Array.from(new Set(values));\n}\n\n});\nparcelRegister(\"8rRFf\", function(module, exports) {\n\"use strict\";\nvar $626a78fa266817f8$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $626a78fa266817f8$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $626a78fa266817f8$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $626a78fa266817f8$var$__createBinding(result, mod, k);\n }\n $626a78fa266817f8$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $626a78fa266817f8$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports._readLinuxVersionFile = module.exports._getOsVersion = module.exports._findMatch = void 0;\n\nconst $626a78fa266817f8$var$semver = $626a78fa266817f8$var$__importStar((parcelRequire(\"lIb6h\")));\n\nvar $4t50X = parcelRequire(\"4t50X\");\n\n\n\nfunction $626a78fa266817f8$var$_findMatch(versionSpec, stable, candidates, archFilter) {\n return $626a78fa266817f8$var$__awaiter(this, void 0, void 0, function*() {\n const platFilter = $k14yv$os.platform();\n let result;\n let match;\n let file;\n for (const candidate of candidates){\n const version = candidate.version;\n $4t50X.debug(`check ${version} satisfies ${versionSpec}`);\n if ($626a78fa266817f8$var$semver.satisfies(version, versionSpec) && (!stable || candidate.stable === stable)) {\n file = candidate.files.find((item)=>{\n $4t50X.debug(`${item.arch}===${archFilter} && ${item.platform}===${platFilter}`);\n let chk = item.arch === archFilter && item.platform === platFilter;\n if (chk && item.platform_version) {\n const osVersion = module.exports._getOsVersion();\n if (osVersion === item.platform_version) chk = true;\n else chk = $626a78fa266817f8$var$semver.satisfies(osVersion, item.platform_version);\n }\n return chk;\n });\n if (file) {\n $4t50X.debug(`matched ${candidate.version}`);\n match = candidate;\n break;\n }\n }\n }\n if (match && file) {\n // clone since we're mutating the file list to be only the file that matches\n result = Object.assign({}, match);\n result.files = [\n file\n ];\n }\n return result;\n });\n}\nmodule.exports._findMatch = $626a78fa266817f8$var$_findMatch;\nfunction $626a78fa266817f8$var$_getOsVersion() {\n // TODO: add windows and other linux, arm variants\n // right now filtering on version is only an ubuntu and macos scenario for tools we build for hosted (python)\n const plat = $k14yv$os.platform();\n let version = \"\";\n if (plat === \"darwin\") version = $k14yv$child_process.execSync(\"sw_vers -productVersion\").toString();\n else if (plat === \"linux\") {\n // lsb_release process not in some containers, readfile\n // Run cat /etc/lsb-release\n // DISTRIB_ID=Ubuntu\n // DISTRIB_RELEASE=18.04\n // DISTRIB_CODENAME=bionic\n // DISTRIB_DESCRIPTION=\"Ubuntu 18.04.4 LTS\"\n const lsbContents = module.exports._readLinuxVersionFile();\n if (lsbContents) {\n const lines = lsbContents.split(\"\\n\");\n for (const line of lines){\n const parts = line.split(\"=\");\n if (parts.length === 2 && (parts[0].trim() === \"VERSION_ID\" || parts[0].trim() === \"DISTRIB_RELEASE\")) {\n version = parts[1].trim().replace(/^\"/, \"\").replace(/\"$/, \"\");\n break;\n }\n }\n }\n }\n return version;\n}\nmodule.exports._getOsVersion = $626a78fa266817f8$var$_getOsVersion;\nfunction $626a78fa266817f8$var$_readLinuxVersionFile() {\n const lsbReleaseFile = \"/etc/lsb-release\";\n const osReleaseFile = \"/etc/os-release\";\n let contents = \"\";\n if ($k14yv$fs.existsSync(lsbReleaseFile)) contents = $k14yv$fs.readFileSync(lsbReleaseFile).toString();\n else if ($k14yv$fs.existsSync(osReleaseFile)) contents = $k14yv$fs.readFileSync(osReleaseFile).toString();\n return contents;\n}\nmodule.exports._readLinuxVersionFile = $626a78fa266817f8$var$_readLinuxVersionFile;\n\n});\nparcelRegister(\"lIb6h\", function(module, exports) {\nexports = module.exports = SemVer;\nvar debug;\n/* istanbul ignore next */ if (typeof process === \"object\" && process.env && process.env.NODE_DEBUG && /\\bsemver\\b/i.test(process.env.NODE_DEBUG)) debug = function() {\n var args = Array.prototype.slice.call(arguments, 0);\n args.unshift(\"SEMVER\");\n console.log.apply(console, args);\n};\nelse debug = function() {};\n// Note: this is the semver.org version of the spec that it implements\n// Not necessarily the package version of this code.\nexports.SEMVER_SPEC_VERSION = \"2.0.0\";\nvar MAX_LENGTH = 256;\nvar MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER || /* istanbul ignore next */ 9007199254740991;\n// Max safe segment length for coercion.\nvar MAX_SAFE_COMPONENT_LENGTH = 16;\nvar MAX_SAFE_BUILD_LENGTH = MAX_LENGTH - 6;\n// The actual regexps go on exports.re\nvar re = exports.re = [];\nvar safeRe = exports.safeRe = [];\nvar src = exports.src = [];\nvar t = exports.tokens = {};\nvar R = 0;\nfunction tok(n) {\n t[n] = R++;\n}\nvar LETTERDASHNUMBER = \"[a-zA-Z0-9-]\";\n// Replace some greedy regex tokens to prevent regex dos issues. These regex are\n// used internally via the safeRe object since all inputs in this library get\n// normalized first to trim and collapse all extra whitespace. The original\n// regexes are exported for userland consumption and lower level usage. A\n// future breaking change could export the safer regex only with a note that\n// all input should have extra whitespace removed.\nvar safeRegexReplacements = [\n [\n \"\\\\s\",\n 1\n ],\n [\n \"\\\\d\",\n MAX_LENGTH\n ],\n [\n LETTERDASHNUMBER,\n MAX_SAFE_BUILD_LENGTH\n ]\n];\nfunction makeSafeRe(value) {\n for(var i = 0; i < safeRegexReplacements.length; i++){\n var token = safeRegexReplacements[i][0];\n var max = safeRegexReplacements[i][1];\n value = value.split(token + \"*\").join(token + \"{0,\" + max + \"}\").split(token + \"+\").join(token + \"{1,\" + max + \"}\");\n }\n return value;\n}\n// The following Regular Expressions can be used for tokenizing,\n// validating, and parsing SemVer version strings.\n// ## Numeric Identifier\n// A single `0`, or a non-zero digit followed by zero or more digits.\ntok(\"NUMERICIDENTIFIER\");\nsrc[t.NUMERICIDENTIFIER] = \"0|[1-9]\\\\d*\";\ntok(\"NUMERICIDENTIFIERLOOSE\");\nsrc[t.NUMERICIDENTIFIERLOOSE] = \"\\\\d+\";\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.\ntok(\"NONNUMERICIDENTIFIER\");\nsrc[t.NONNUMERICIDENTIFIER] = \"\\\\d*[a-zA-Z-]\" + LETTERDASHNUMBER + \"*\";\n// ## Main Version\n// Three dot-separated numeric identifiers.\ntok(\"MAINVERSION\");\nsrc[t.MAINVERSION] = \"(\" + src[t.NUMERICIDENTIFIER] + \")\\\\.\" + \"(\" + src[t.NUMERICIDENTIFIER] + \")\\\\.\" + \"(\" + src[t.NUMERICIDENTIFIER] + \")\";\ntok(\"MAINVERSIONLOOSE\");\nsrc[t.MAINVERSIONLOOSE] = \"(\" + src[t.NUMERICIDENTIFIERLOOSE] + \")\\\\.\" + \"(\" + src[t.NUMERICIDENTIFIERLOOSE] + \")\\\\.\" + \"(\" + src[t.NUMERICIDENTIFIERLOOSE] + \")\";\n// ## Pre-release Version Identifier\n// A numeric identifier, or a non-numeric identifier.\ntok(\"PRERELEASEIDENTIFIER\");\nsrc[t.PRERELEASEIDENTIFIER] = \"(?:\" + src[t.NUMERICIDENTIFIER] + \"|\" + src[t.NONNUMERICIDENTIFIER] + \")\";\ntok(\"PRERELEASEIDENTIFIERLOOSE\");\nsrc[t.PRERELEASEIDENTIFIERLOOSE] = \"(?:\" + src[t.NUMERICIDENTIFIERLOOSE] + \"|\" + src[t.NONNUMERICIDENTIFIER] + \")\";\n// ## Pre-release Version\n// Hyphen, followed by one or more dot-separated pre-release version\n// identifiers.\ntok(\"PRERELEASE\");\nsrc[t.PRERELEASE] = \"(?:-(\" + src[t.PRERELEASEIDENTIFIER] + \"(?:\\\\.\" + src[t.PRERELEASEIDENTIFIER] + \")*))\";\ntok(\"PRERELEASELOOSE\");\nsrc[t.PRERELEASELOOSE] = \"(?:-?(\" + src[t.PRERELEASEIDENTIFIERLOOSE] + \"(?:\\\\.\" + src[t.PRERELEASEIDENTIFIERLOOSE] + \")*))\";\n// ## Build Metadata Identifier\n// Any combination of digits, letters, or hyphens.\ntok(\"BUILDIDENTIFIER\");\nsrc[t.BUILDIDENTIFIER] = LETTERDASHNUMBER + \"+\";\n// ## Build Metadata\n// Plus sign, followed by one or more period-separated build metadata\n// identifiers.\ntok(\"BUILD\");\nsrc[t.BUILD] = \"(?:\\\\+(\" + src[t.BUILDIDENTIFIER] + \"(?:\\\\.\" + src[t.BUILDIDENTIFIER] + \")*))\";\n// ## Full Version String\n// A main version, followed optionally by a pre-release version and\n// build metadata.\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.\ntok(\"FULL\");\ntok(\"FULLPLAIN\");\nsrc[t.FULLPLAIN] = \"v?\" + src[t.MAINVERSION] + src[t.PRERELEASE] + \"?\" + src[t.BUILD] + \"?\";\nsrc[t.FULL] = \"^\" + src[t.FULLPLAIN] + \"$\";\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.\ntok(\"LOOSEPLAIN\");\nsrc[t.LOOSEPLAIN] = \"[v=\\\\s]*\" + src[t.MAINVERSIONLOOSE] + src[t.PRERELEASELOOSE] + \"?\" + src[t.BUILD] + \"?\";\ntok(\"LOOSE\");\nsrc[t.LOOSE] = \"^\" + src[t.LOOSEPLAIN] + \"$\";\ntok(\"GTLT\");\nsrc[t.GTLT] = \"((?:<|>)?=?)\";\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.\ntok(\"XRANGEIDENTIFIERLOOSE\");\nsrc[t.XRANGEIDENTIFIERLOOSE] = src[t.NUMERICIDENTIFIERLOOSE] + \"|x|X|\\\\*\";\ntok(\"XRANGEIDENTIFIER\");\nsrc[t.XRANGEIDENTIFIER] = src[t.NUMERICIDENTIFIER] + \"|x|X|\\\\*\";\ntok(\"XRANGEPLAIN\");\nsrc[t.XRANGEPLAIN] = \"[v=\\\\s]*(\" + src[t.XRANGEIDENTIFIER] + \")\" + \"(?:\\\\.(\" + src[t.XRANGEIDENTIFIER] + \")\" + \"(?:\\\\.(\" + src[t.XRANGEIDENTIFIER] + \")\" + \"(?:\" + src[t.PRERELEASE] + \")?\" + src[t.BUILD] + \"?\" + \")?)?\";\ntok(\"XRANGEPLAINLOOSE\");\nsrc[t.XRANGEPLAINLOOSE] = \"[v=\\\\s]*(\" + src[t.XRANGEIDENTIFIERLOOSE] + \")\" + \"(?:\\\\.(\" + src[t.XRANGEIDENTIFIERLOOSE] + \")\" + \"(?:\\\\.(\" + src[t.XRANGEIDENTIFIERLOOSE] + \")\" + \"(?:\" + src[t.PRERELEASELOOSE] + \")?\" + src[t.BUILD] + \"?\" + \")?)?\";\ntok(\"XRANGE\");\nsrc[t.XRANGE] = \"^\" + src[t.GTLT] + \"\\\\s*\" + src[t.XRANGEPLAIN] + \"$\";\ntok(\"XRANGELOOSE\");\nsrc[t.XRANGELOOSE] = \"^\" + src[t.GTLT] + \"\\\\s*\" + src[t.XRANGEPLAINLOOSE] + \"$\";\n// Coercion.\n// Extract anything that could conceivably be a part of a valid semver\ntok(\"COERCE\");\nsrc[t.COERCE] = \"(^|[^\\\\d])(\\\\d{1,\" + MAX_SAFE_COMPONENT_LENGTH + \"})\" + \"(?:\\\\.(\\\\d{1,\" + MAX_SAFE_COMPONENT_LENGTH + \"}))?\" + \"(?:\\\\.(\\\\d{1,\" + MAX_SAFE_COMPONENT_LENGTH + \"}))?\" + \"(?:$|[^\\\\d])\";\ntok(\"COERCERTL\");\nre[t.COERCERTL] = new RegExp(src[t.COERCE], \"g\");\nsafeRe[t.COERCERTL] = new RegExp(makeSafeRe(src[t.COERCE]), \"g\");\n// Tilde ranges.\n// Meaning is \"reasonably at or greater than\"\ntok(\"LONETILDE\");\nsrc[t.LONETILDE] = \"(?:~>?)\";\ntok(\"TILDETRIM\");\nsrc[t.TILDETRIM] = \"(\\\\s*)\" + src[t.LONETILDE] + \"\\\\s+\";\nre[t.TILDETRIM] = new RegExp(src[t.TILDETRIM], \"g\");\nsafeRe[t.TILDETRIM] = new RegExp(makeSafeRe(src[t.TILDETRIM]), \"g\");\nvar tildeTrimReplace = \"$1~\";\ntok(\"TILDE\");\nsrc[t.TILDE] = \"^\" + src[t.LONETILDE] + src[t.XRANGEPLAIN] + \"$\";\ntok(\"TILDELOOSE\");\nsrc[t.TILDELOOSE] = \"^\" + src[t.LONETILDE] + src[t.XRANGEPLAINLOOSE] + \"$\";\n// Caret ranges.\n// Meaning is \"at least and backwards compatible with\"\ntok(\"LONECARET\");\nsrc[t.LONECARET] = \"(?:\\\\^)\";\ntok(\"CARETTRIM\");\nsrc[t.CARETTRIM] = \"(\\\\s*)\" + src[t.LONECARET] + \"\\\\s+\";\nre[t.CARETTRIM] = new RegExp(src[t.CARETTRIM], \"g\");\nsafeRe[t.CARETTRIM] = new RegExp(makeSafeRe(src[t.CARETTRIM]), \"g\");\nvar caretTrimReplace = \"$1^\";\ntok(\"CARET\");\nsrc[t.CARET] = \"^\" + src[t.LONECARET] + src[t.XRANGEPLAIN] + \"$\";\ntok(\"CARETLOOSE\");\nsrc[t.CARETLOOSE] = \"^\" + src[t.LONECARET] + src[t.XRANGEPLAINLOOSE] + \"$\";\n// A simple gt/lt/eq thing, or just \"\" to indicate \"any version\"\ntok(\"COMPARATORLOOSE\");\nsrc[t.COMPARATORLOOSE] = \"^\" + src[t.GTLT] + \"\\\\s*(\" + src[t.LOOSEPLAIN] + \")$|^$\";\ntok(\"COMPARATOR\");\nsrc[t.COMPARATOR] = \"^\" + src[t.GTLT] + \"\\\\s*(\" + src[t.FULLPLAIN] + \")$|^$\";\n// An expression to strip any whitespace between the gtlt and the thing\n// it modifies, so that `> 1.2.3` ==> `>1.2.3`\ntok(\"COMPARATORTRIM\");\nsrc[t.COMPARATORTRIM] = \"(\\\\s*)\" + src[t.GTLT] + \"\\\\s*(\" + src[t.LOOSEPLAIN] + \"|\" + src[t.XRANGEPLAIN] + \")\";\n// this one has to use the /g flag\nre[t.COMPARATORTRIM] = new RegExp(src[t.COMPARATORTRIM], \"g\");\nsafeRe[t.COMPARATORTRIM] = new RegExp(makeSafeRe(src[t.COMPARATORTRIM]), \"g\");\nvar comparatorTrimReplace = \"$1$2$3\";\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.\ntok(\"HYPHENRANGE\");\nsrc[t.HYPHENRANGE] = \"^\\\\s*(\" + src[t.XRANGEPLAIN] + \")\" + \"\\\\s+-\\\\s+\" + \"(\" + src[t.XRANGEPLAIN] + \")\" + \"\\\\s*$\";\ntok(\"HYPHENRANGELOOSE\");\nsrc[t.HYPHENRANGELOOSE] = \"^\\\\s*(\" + src[t.XRANGEPLAINLOOSE] + \")\" + \"\\\\s+-\\\\s+\" + \"(\" + src[t.XRANGEPLAINLOOSE] + \")\" + \"\\\\s*$\";\n// Star ranges basically just allow anything at all.\ntok(\"STAR\");\nsrc[t.STAR] = \"(<|>)?=?\\\\s*\\\\*\";\n// Compile to actual regexp objects.\n// All are flag-free, unless they were created above with a flag.\nfor(var i = 0; i < R; i++){\n debug(i, src[i]);\n if (!re[i]) {\n re[i] = new RegExp(src[i]);\n // Replace all greedy whitespace to prevent regex dos issues. These regex are\n // used internally via the safeRe object since all inputs in this library get\n // normalized first to trim and collapse all extra whitespace. The original\n // regexes are exported for userland consumption and lower level usage. A\n // future breaking change could export the safer regex only with a note that\n // all input should have extra whitespace removed.\n safeRe[i] = new RegExp(makeSafeRe(src[i]));\n }\n}\nexports.parse = parse;\nfunction parse(version, options) {\n if (!options || typeof options !== \"object\") options = {\n loose: !!options,\n includePrerelease: false\n };\n if (version instanceof SemVer) return version;\n if (typeof version !== \"string\") return null;\n if (version.length > MAX_LENGTH) return null;\n var r = options.loose ? safeRe[t.LOOSE] : safeRe[t.FULL];\n if (!r.test(version)) return null;\n try {\n return new SemVer(version, options);\n } catch (er) {\n return null;\n }\n}\nexports.valid = valid;\nfunction valid(version, options) {\n var v = parse(version, options);\n return v ? v.version : null;\n}\nexports.clean = clean;\nfunction clean(version, options) {\n var s = parse(version.trim().replace(/^[=v]+/, \"\"), options);\n return s ? s.version : null;\n}\nexports.SemVer = SemVer;\nfunction SemVer(version, options) {\n if (!options || typeof options !== \"object\") options = {\n loose: !!options,\n includePrerelease: false\n };\n if (version instanceof SemVer) {\n if (version.loose === options.loose) return version;\n else version = version.version;\n } else if (typeof version !== \"string\") throw new TypeError(\"Invalid Version: \" + version);\n if (version.length > MAX_LENGTH) throw new TypeError(\"version is longer than \" + MAX_LENGTH + \" characters\");\n if (!(this instanceof SemVer)) return new SemVer(version, options);\n debug(\"SemVer\", version, options);\n this.options = options;\n this.loose = !!options.loose;\n var m = version.trim().match(options.loose ? safeRe[t.LOOSE] : safeRe[t.FULL]);\n if (!m) throw new TypeError(\"Invalid Version: \" + version);\n this.raw = version;\n // these are actually numbers\n this.major = +m[1];\n this.minor = +m[2];\n this.patch = +m[3];\n if (this.major > MAX_SAFE_INTEGER || this.major < 0) throw new TypeError(\"Invalid major version\");\n if (this.minor > MAX_SAFE_INTEGER || this.minor < 0) throw new TypeError(\"Invalid minor version\");\n if (this.patch > MAX_SAFE_INTEGER || this.patch < 0) throw new TypeError(\"Invalid patch version\");\n // numberify any prerelease numeric ids\n if (!m[4]) this.prerelease = [];\n else this.prerelease = m[4].split(\".\").map(function(id) {\n if (/^[0-9]+$/.test(id)) {\n var num = +id;\n if (num >= 0 && num < MAX_SAFE_INTEGER) return num;\n }\n return id;\n });\n this.build = m[5] ? m[5].split(\".\") : [];\n this.format();\n}\nSemVer.prototype.format = function() {\n this.version = this.major + \".\" + this.minor + \".\" + this.patch;\n if (this.prerelease.length) this.version += \"-\" + this.prerelease.join(\".\");\n return this.version;\n};\nSemVer.prototype.toString = function() {\n return this.version;\n};\nSemVer.prototype.compare = function(other) {\n debug(\"SemVer.compare\", this.version, this.options, other);\n if (!(other instanceof SemVer)) other = new SemVer(other, this.options);\n return this.compareMain(other) || this.comparePre(other);\n};\nSemVer.prototype.compareMain = function(other) {\n if (!(other instanceof SemVer)) other = new SemVer(other, this.options);\n return compareIdentifiers(this.major, other.major) || compareIdentifiers(this.minor, other.minor) || compareIdentifiers(this.patch, other.patch);\n};\nSemVer.prototype.comparePre = function(other) {\n if (!(other instanceof SemVer)) other = new SemVer(other, this.options);\n // NOT having a prerelease is > having one\n if (this.prerelease.length && !other.prerelease.length) return -1;\n else if (!this.prerelease.length && other.prerelease.length) return 1;\n else if (!this.prerelease.length && !other.prerelease.length) return 0;\n var i = 0;\n do {\n var a = this.prerelease[i];\n var b = other.prerelease[i];\n debug(\"prerelease compare\", i, a, b);\n if (a === undefined && b === undefined) return 0;\n else if (b === undefined) return 1;\n else if (a === undefined) return -1;\n else if (a === b) continue;\n else return compareIdentifiers(a, b);\n }while (++i);\n};\nSemVer.prototype.compareBuild = function(other) {\n if (!(other instanceof SemVer)) other = new SemVer(other, this.options);\n var i = 0;\n do {\n var a = this.build[i];\n var b = other.build[i];\n debug(\"prerelease compare\", i, a, b);\n if (a === undefined && b === undefined) return 0;\n else if (b === undefined) return 1;\n else if (a === undefined) return -1;\n else if (a === b) continue;\n else return compareIdentifiers(a, b);\n }while (++i);\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.\nSemVer.prototype.inc = function(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) this.inc(\"patch\", identifier);\n this.inc(\"pre\", identifier);\n break;\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 (this.minor !== 0 || this.patch !== 0 || this.prerelease.length === 0) this.major++;\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) this.minor++;\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) this.patch++;\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) this.prerelease = [\n 0\n ];\n else {\n var i = this.prerelease.length;\n while(--i >= 0)if (typeof this.prerelease[i] === \"number\") {\n this.prerelease[i]++;\n i = -2;\n }\n if (i === -1) // didn't increment anything\n this.prerelease.push(0);\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 (this.prerelease[0] === identifier) {\n if (isNaN(this.prerelease[1])) this.prerelease = [\n identifier,\n 0\n ];\n } else this.prerelease = [\n identifier,\n 0\n ];\n }\n break;\n default:\n throw new Error(\"invalid increment argument: \" + release);\n }\n this.format();\n this.raw = this.version;\n return this;\n};\nexports.inc = inc;\nfunction inc(version, release, loose, identifier) {\n if (typeof loose === \"string\") {\n identifier = loose;\n loose = undefined;\n }\n try {\n return new SemVer(version, loose).inc(release, identifier).version;\n } catch (er) {\n return null;\n }\n}\nexports.diff = diff;\nfunction diff(version1, version2) {\n if (eq(version1, version2)) return null;\n else {\n var v1 = parse(version1);\n var v2 = parse(version2);\n var prefix = \"\";\n if (v1.prerelease.length || v2.prerelease.length) {\n prefix = \"pre\";\n var defaultResult = \"prerelease\";\n }\n for(var key in v1)if (key === \"major\" || key === \"minor\" || key === \"patch\") {\n if (v1[key] !== v2[key]) return prefix + key;\n }\n return defaultResult // may be undefined\n ;\n }\n}\nexports.compareIdentifiers = compareIdentifiers;\nvar numeric = /^[0-9]+$/;\nfunction compareIdentifiers(a, b) {\n var anum = numeric.test(a);\n var bnum = numeric.test(b);\n if (anum && bnum) {\n a = +a;\n b = +b;\n }\n return a === b ? 0 : anum && !bnum ? -1 : bnum && !anum ? 1 : a < b ? -1 : 1;\n}\nexports.rcompareIdentifiers = rcompareIdentifiers;\nfunction rcompareIdentifiers(a, b) {\n return compareIdentifiers(b, a);\n}\nexports.major = major;\nfunction major(a, loose) {\n return new SemVer(a, loose).major;\n}\nexports.minor = minor;\nfunction minor(a, loose) {\n return new SemVer(a, loose).minor;\n}\nexports.patch = patch;\nfunction patch(a, loose) {\n return new SemVer(a, loose).patch;\n}\nexports.compare = compare;\nfunction compare(a, b, loose) {\n return new SemVer(a, loose).compare(new SemVer(b, loose));\n}\nexports.compareLoose = compareLoose;\nfunction compareLoose(a, b) {\n return compare(a, b, true);\n}\nexports.compareBuild = compareBuild;\nfunction compareBuild(a, b, loose) {\n var versionA = new SemVer(a, loose);\n var versionB = new SemVer(b, loose);\n return versionA.compare(versionB) || versionA.compareBuild(versionB);\n}\nexports.rcompare = rcompare;\nfunction rcompare(a, b, loose) {\n return compare(b, a, loose);\n}\nexports.sort = sort;\nfunction sort(list, loose) {\n return list.sort(function(a, b) {\n return exports.compareBuild(a, b, loose);\n });\n}\nexports.rsort = rsort;\nfunction rsort(list, loose) {\n return list.sort(function(a, b) {\n return exports.compareBuild(b, a, loose);\n });\n}\nexports.gt = gt;\nfunction gt(a, b, loose) {\n return compare(a, b, loose) > 0;\n}\nexports.lt = lt;\nfunction lt(a, b, loose) {\n return compare(a, b, loose) < 0;\n}\nexports.eq = eq;\nfunction eq(a, b, loose) {\n return compare(a, b, loose) === 0;\n}\nexports.neq = neq;\nfunction neq(a, b, loose) {\n return compare(a, b, loose) !== 0;\n}\nexports.gte = gte;\nfunction gte(a, b, loose) {\n return compare(a, b, loose) >= 0;\n}\nexports.lte = lte;\nfunction lte(a, b, loose) {\n return compare(a, b, loose) <= 0;\n}\nexports.cmp = cmp;\nfunction cmp(a, op, b, loose) {\n switch(op){\n case \"===\":\n if (typeof a === \"object\") a = a.version;\n if (typeof b === \"object\") b = b.version;\n return a === b;\n case \"!==\":\n if (typeof a === \"object\") a = a.version;\n if (typeof b === \"object\") b = b.version;\n return a !== b;\n case \"\":\n case \"=\":\n case \"==\":\n return eq(a, b, loose);\n case \"!=\":\n return neq(a, b, loose);\n case \">\":\n return gt(a, b, loose);\n case \">=\":\n return gte(a, b, loose);\n case \"<\":\n return lt(a, b, loose);\n case \"<=\":\n return lte(a, b, loose);\n default:\n throw new TypeError(\"Invalid operator: \" + op);\n }\n}\nexports.Comparator = Comparator;\nfunction Comparator(comp, options) {\n if (!options || typeof options !== \"object\") options = {\n loose: !!options,\n includePrerelease: false\n };\n if (comp instanceof Comparator) {\n if (comp.loose === !!options.loose) return comp;\n else comp = comp.value;\n }\n if (!(this instanceof Comparator)) return new Comparator(comp, options);\n comp = comp.trim().split(/\\s+/).join(\" \");\n debug(\"comparator\", comp, options);\n this.options = options;\n this.loose = !!options.loose;\n this.parse(comp);\n if (this.semver === ANY) this.value = \"\";\n else this.value = this.operator + this.semver.version;\n debug(\"comp\", this);\n}\nvar ANY = {};\nComparator.prototype.parse = function(comp) {\n var r = this.options.loose ? safeRe[t.COMPARATORLOOSE] : safeRe[t.COMPARATOR];\n var m = comp.match(r);\n if (!m) throw new TypeError(\"Invalid comparator: \" + comp);\n this.operator = m[1] !== undefined ? m[1] : \"\";\n if (this.operator === \"=\") this.operator = \"\";\n // if it literally is just '>' or '' then allow anything.\n if (!m[2]) this.semver = ANY;\n else this.semver = new SemVer(m[2], this.options.loose);\n};\nComparator.prototype.toString = function() {\n return this.value;\n};\nComparator.prototype.test = function(version) {\n debug(\"Comparator.test\", version, this.options.loose);\n if (this.semver === ANY || version === ANY) return true;\n if (typeof version === \"string\") try {\n version = new SemVer(version, this.options);\n } catch (er) {\n return false;\n }\n return cmp(version, this.operator, this.semver, this.options);\n};\nComparator.prototype.intersects = function(comp, options) {\n if (!(comp instanceof Comparator)) throw new TypeError(\"a Comparator is required\");\n if (!options || typeof options !== \"object\") options = {\n loose: !!options,\n includePrerelease: false\n };\n var rangeTmp;\n if (this.operator === \"\") {\n if (this.value === \"\") return true;\n rangeTmp = new Range(comp.value, options);\n return satisfies(this.value, rangeTmp, options);\n } else if (comp.operator === \"\") {\n if (comp.value === \"\") return true;\n rangeTmp = new Range(this.value, options);\n return satisfies(comp.semver, rangeTmp, options);\n }\n var sameDirectionIncreasing = (this.operator === \">=\" || this.operator === \">\") && (comp.operator === \">=\" || comp.operator === \">\");\n var sameDirectionDecreasing = (this.operator === \"<=\" || this.operator === \"<\") && (comp.operator === \"<=\" || comp.operator === \"<\");\n var sameSemVer = this.semver.version === comp.semver.version;\n var differentDirectionsInclusive = (this.operator === \">=\" || this.operator === \"<=\") && (comp.operator === \">=\" || comp.operator === \"<=\");\n var oppositeDirectionsLessThan = cmp(this.semver, \"<\", comp.semver, options) && (this.operator === \">=\" || this.operator === \">\") && (comp.operator === \"<=\" || comp.operator === \"<\");\n var oppositeDirectionsGreaterThan = cmp(this.semver, \">\", comp.semver, options) && (this.operator === \"<=\" || this.operator === \"<\") && (comp.operator === \">=\" || comp.operator === \">\");\n return sameDirectionIncreasing || sameDirectionDecreasing || sameSemVer && differentDirectionsInclusive || oppositeDirectionsLessThan || oppositeDirectionsGreaterThan;\n};\nexports.Range = Range;\nfunction Range(range, options) {\n if (!options || typeof options !== \"object\") options = {\n loose: !!options,\n includePrerelease: false\n };\n if (range instanceof Range) {\n if (range.loose === !!options.loose && range.includePrerelease === !!options.includePrerelease) return range;\n else return new Range(range.raw, options);\n }\n if (range instanceof Comparator) return new Range(range.value, options);\n if (!(this instanceof Range)) return new Range(range, options);\n this.options = options;\n this.loose = !!options.loose;\n this.includePrerelease = !!options.includePrerelease;\n // First reduce all whitespace as much as possible so we do not have to rely\n // on potentially slow regexes like \\s*. This is then stored and used for\n // future error messages as well.\n this.raw = range.trim().split(/\\s+/).join(\" \");\n // First, split based on boolean or ||\n this.set = this.raw.split(\"||\").map(function(range) {\n return this.parseRange(range.trim());\n }, this).filter(function(c) {\n // throw out any that are not relevant for whatever reason\n return c.length;\n });\n if (!this.set.length) throw new TypeError(\"Invalid SemVer Range: \" + this.raw);\n this.format();\n}\nRange.prototype.format = function() {\n this.range = this.set.map(function(comps) {\n return comps.join(\" \").trim();\n }).join(\"||\").trim();\n return this.range;\n};\nRange.prototype.toString = function() {\n return this.range;\n};\nRange.prototype.parseRange = function(range) {\n var loose = this.options.loose;\n // `1.2.3 - 1.2.4` => `>=1.2.3 <=1.2.4`\n var hr = loose ? safeRe[t.HYPHENRANGELOOSE] : safeRe[t.HYPHENRANGE];\n range = range.replace(hr, hyphenReplace);\n debug(\"hyphen replace\", range);\n // `> 1.2.3 < 1.2.5` => `>1.2.3 <1.2.5`\n range = range.replace(safeRe[t.COMPARATORTRIM], comparatorTrimReplace);\n debug(\"comparator trim\", range, safeRe[t.COMPARATORTRIM]);\n // `~ 1.2.3` => `~1.2.3`\n range = range.replace(safeRe[t.TILDETRIM], tildeTrimReplace);\n // `^ 1.2.3` => `^1.2.3`\n range = range.replace(safeRe[t.CARETTRIM], caretTrimReplace);\n // normalize spaces\n range = range.split(/\\s+/).join(\" \");\n // At this point, the range is completely trimmed and\n // ready to be split into comparators.\n var compRe = loose ? safeRe[t.COMPARATORLOOSE] : safeRe[t.COMPARATOR];\n var set = range.split(\" \").map(function(comp) {\n return parseComparator(comp, this.options);\n }, this).join(\" \").split(/\\s+/);\n if (this.options.loose) // in loose mode, throw out any that are not valid comparators\n set = set.filter(function(comp) {\n return !!comp.match(compRe);\n });\n set = set.map(function(comp) {\n return new Comparator(comp, this.options);\n }, this);\n return set;\n};\nRange.prototype.intersects = function(range, options) {\n if (!(range instanceof Range)) throw new TypeError(\"a Range is required\");\n return this.set.some(function(thisComparators) {\n return isSatisfiable(thisComparators, options) && range.set.some(function(rangeComparators) {\n return isSatisfiable(rangeComparators, options) && thisComparators.every(function(thisComparator) {\n return rangeComparators.every(function(rangeComparator) {\n return thisComparator.intersects(rangeComparator, options);\n });\n });\n });\n });\n};\n// take a set of comparators and determine whether there\n// exists a version which can satisfy it\nfunction isSatisfiable(comparators, options) {\n var result = true;\n var remainingComparators = comparators.slice();\n var testComparator = remainingComparators.pop();\n while(result && remainingComparators.length){\n result = remainingComparators.every(function(otherComparator) {\n return testComparator.intersects(otherComparator, options);\n });\n testComparator = remainingComparators.pop();\n }\n return result;\n}\n// Mostly just for testing and legacy API reasons\nexports.toComparators = toComparators;\nfunction toComparators(range, options) {\n return new Range(range, options).set.map(function(comp) {\n return comp.map(function(c) {\n return c.value;\n }).join(\" \").trim().split(\" \");\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.\nfunction 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}\nfunction isX(id) {\n return !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\n// ~2.0, ~2.0.x, ~>2.0, ~>2.0.x --> >=2.0.0 <2.1.0\n// ~1.2, ~1.2.x, ~>1.2, ~>1.2.x --> >=1.2.0 <1.3.0\n// ~1.2.3, ~>1.2.3 --> >=1.2.3 <1.3.0\n// ~1.2.0, ~>1.2.0 --> >=1.2.0 <1.3.0\nfunction replaceTildes(comp, options) {\n return comp.trim().split(/\\s+/).map(function(comp) {\n return replaceTilde(comp, options);\n }).join(\" \");\n}\nfunction replaceTilde(comp, options) {\n var r = options.loose ? safeRe[t.TILDELOOSE] : safeRe[t.TILDE];\n return comp.replace(r, function(_, M, m, p, pr) {\n debug(\"tilde\", comp, _, M, m, p, pr);\n var ret;\n if (isX(M)) ret = \"\";\n else if (isX(m)) ret = \">=\" + M + \".0.0 <\" + (+M + 1) + \".0.0\";\n else if (isX(p)) // ~1.2 == >=1.2.0 <1.3.0\n ret = \">=\" + M + \".\" + m + \".0 <\" + M + \".\" + (+m + 1) + \".0\";\n else if (pr) {\n debug(\"replaceTilde pr\", pr);\n ret = \">=\" + M + \".\" + m + \".\" + p + \"-\" + pr + \" <\" + M + \".\" + (+m + 1) + \".0\";\n } else // ~1.2.3 == >=1.2.3 <1.3.0\n ret = \">=\" + M + \".\" + m + \".\" + p + \" <\" + M + \".\" + (+m + 1) + \".0\";\n debug(\"tilde return\", ret);\n return ret;\n });\n}\n// ^ --> * (any, kinda silly)\n// ^2, ^2.x, ^2.x.x --> >=2.0.0 <3.0.0\n// ^2.0, ^2.0.x --> >=2.0.0 <3.0.0\n// ^1.2, ^1.2.x --> >=1.2.0 <2.0.0\n// ^1.2.3 --> >=1.2.3 <2.0.0\n// ^1.2.0 --> >=1.2.0 <2.0.0\nfunction replaceCarets(comp, options) {\n return comp.trim().split(/\\s+/).map(function(comp) {\n return replaceCaret(comp, options);\n }).join(\" \");\n}\nfunction replaceCaret(comp, options) {\n debug(\"caret\", comp, options);\n var r = options.loose ? safeRe[t.CARETLOOSE] : safeRe[t.CARET];\n return comp.replace(r, function(_, M, m, p, pr) {\n debug(\"caret\", comp, _, M, m, p, pr);\n var ret;\n if (isX(M)) ret = \"\";\n else if (isX(m)) ret = \">=\" + M + \".0.0 <\" + (+M + 1) + \".0.0\";\n else if (isX(p)) {\n if (M === \"0\") ret = \">=\" + M + \".\" + m + \".0 <\" + M + \".\" + (+m + 1) + \".0\";\n else ret = \">=\" + M + \".\" + m + \".0 <\" + (+M + 1) + \".0.0\";\n } else if (pr) {\n debug(\"replaceCaret pr\", pr);\n if (M === \"0\") {\n if (m === \"0\") ret = \">=\" + M + \".\" + m + \".\" + p + \"-\" + pr + \" <\" + M + \".\" + m + \".\" + (+p + 1);\n else ret = \">=\" + M + \".\" + m + \".\" + p + \"-\" + pr + \" <\" + M + \".\" + (+m + 1) + \".0\";\n } else ret = \">=\" + M + \".\" + m + \".\" + p + \"-\" + pr + \" <\" + (+M + 1) + \".0.0\";\n } else {\n debug(\"no pr\");\n if (M === \"0\") {\n if (m === \"0\") ret = \">=\" + M + \".\" + m + \".\" + p + \" <\" + M + \".\" + m + \".\" + (+p + 1);\n else ret = \">=\" + M + \".\" + m + \".\" + p + \" <\" + M + \".\" + (+m + 1) + \".0\";\n } else ret = \">=\" + M + \".\" + m + \".\" + p + \" <\" + (+M + 1) + \".0.0\";\n }\n debug(\"caret return\", ret);\n return ret;\n });\n}\nfunction replaceXRanges(comp, options) {\n debug(\"replaceXRanges\", comp, options);\n return comp.split(/\\s+/).map(function(comp) {\n return replaceXRange(comp, options);\n }).join(\" \");\n}\nfunction replaceXRange(comp, options) {\n comp = comp.trim();\n var r = options.loose ? safeRe[t.XRANGELOOSE] : safeRe[t.XRANGE];\n return comp.replace(r, function(ret, gtlt, M, m, p, pr) {\n debug(\"xRange\", comp, ret, gtlt, M, m, p, pr);\n var xM = isX(M);\n var xm = xM || isX(m);\n var xp = xm || isX(p);\n var anyX = xp;\n if (gtlt === \"=\" && anyX) gtlt = \"\";\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 if (xM) {\n if (gtlt === \">\" || gtlt === \"<\") // nothing is allowed\n ret = \"<0.0.0-0\";\n else // nothing is forbidden\n ret = \"*\";\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) m = 0;\n p = 0;\n if (gtlt === \">\") {\n // >1 => >=2.0.0\n // >1.2 => >=1.3.0\n // >1.2.3 => >= 1.2.4\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) M = +M + 1;\n else m = +m + 1;\n }\n ret = gtlt + M + \".\" + m + \".\" + p + pr;\n } else if (xm) ret = \">=\" + M + \".0.0\" + pr + \" <\" + (+M + 1) + \".0.0\" + pr;\n else if (xp) ret = \">=\" + M + \".\" + m + \".0\" + pr + \" <\" + M + \".\" + (+m + 1) + \".0\" + pr;\n debug(\"xRange return\", ret);\n return ret;\n });\n}\n// Because * is AND-ed with everything else in the comparator,\n// and '' means \"any version\", just remove the *s entirely.\nfunction 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(safeRe[t.STAR], \"\");\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 Any 3.4.x will do\n// 1.2 - 3.4 => >=1.2.0 <3.5.0\nfunction hyphenReplace($0, from, fM, fm, fp, fpr, fb, to, tM, tm, tp, tpr, tb) {\n if (isX(fM)) from = \"\";\n else if (isX(fm)) from = \">=\" + fM + \".0.0\";\n else if (isX(fp)) from = \">=\" + fM + \".\" + fm + \".0\";\n else from = \">=\" + from;\n if (isX(tM)) to = \"\";\n else if (isX(tm)) to = \"<\" + (+tM + 1) + \".0.0\";\n else if (isX(tp)) to = \"<\" + tM + \".\" + (+tm + 1) + \".0\";\n else if (tpr) to = \"<=\" + tM + \".\" + tm + \".\" + tp + \"-\" + tpr;\n else to = \"<=\" + to;\n return (from + \" \" + to).trim();\n}\n// if ANY of the sets match ALL of its comparators, then pass\nRange.prototype.test = function(version) {\n if (!version) return false;\n if (typeof version === \"string\") try {\n version = new SemVer(version, this.options);\n } catch (er) {\n return false;\n }\n for(var i = 0; i < this.set.length; i++){\n if (testSet(this.set[i], version, this.options)) return true;\n }\n return false;\n};\nfunction testSet(set, version, options) {\n for(var i = 0; i < set.length; i++){\n if (!set[i].test(version)) return false;\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(i = 0; i < set.length; i++){\n debug(set[i].semver);\n if (set[i].semver === ANY) continue;\n if (set[i].semver.prerelease.length > 0) {\n var allowed = set[i].semver;\n if (allowed.major === version.major && allowed.minor === version.minor && allowed.patch === version.patch) return true;\n }\n }\n // Version has a -pre, but it's not one of the ones we like.\n return false;\n }\n return true;\n}\nexports.satisfies = satisfies;\nfunction 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}\nexports.maxSatisfying = maxSatisfying;\nfunction maxSatisfying(versions, range, options) {\n var max = null;\n var maxSV = null;\n try {\n var rangeObj = new Range(range, options);\n } catch (er) {\n return null;\n }\n versions.forEach(function(v) {\n if (rangeObj.test(v)) // satisfies(v, range, options)\n {\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}\nexports.minSatisfying = minSatisfying;\nfunction minSatisfying(versions, range, options) {\n var min = null;\n var minSV = null;\n try {\n var rangeObj = new Range(range, options);\n } catch (er) {\n return null;\n }\n versions.forEach(function(v) {\n if (rangeObj.test(v)) // satisfies(v, range, options)\n {\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}\nexports.minVersion = minVersion;\nfunction minVersion(range, loose) {\n range = new Range(range, loose);\n var minver = new SemVer(\"0.0.0\");\n if (range.test(minver)) return minver;\n minver = new SemVer(\"0.0.0-0\");\n if (range.test(minver)) return minver;\n minver = null;\n for(var i = 0; i < range.set.length; ++i){\n var comparators = range.set[i];\n comparators.forEach(function(comparator) {\n // Clone to avoid manipulating the comparator's semver object.\n var compver = new SemVer(comparator.semver.version);\n switch(comparator.operator){\n case \">\":\n if (compver.prerelease.length === 0) compver.patch++;\n else compver.prerelease.push(0);\n compver.raw = compver.format();\n /* fallthrough */ case \"\":\n case \">=\":\n if (!minver || gt(minver, compver)) minver = compver;\n break;\n case \"<\":\n case \"<=\":\n break;\n /* istanbul ignore next */ default:\n throw new Error(\"Unexpected operation: \" + comparator.operator);\n }\n });\n }\n if (minver && range.test(minver)) return minver;\n return null;\n}\nexports.validRange = validRange;\nfunction 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}\n// Determine if version is less than all the versions possible in the range\nexports.ltr = ltr;\nfunction ltr(version, range, options) {\n return outside(version, range, \"<\", options);\n}\n// Determine if version is greater than all the versions possible in the range.\nexports.gtr = gtr;\nfunction gtr(version, range, options) {\n return outside(version, range, \">\", options);\n}\nexports.outside = outside;\nfunction outside(version, range, hilo, options) {\n version = new SemVer(version, options);\n range = new Range(range, options);\n var 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 // If it satisifes the range it is not outside\n if (satisfies(version, range, options)) return false;\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 for(var i = 0; i < range.set.length; ++i){\n var comparators = range.set[i];\n var high = null;\n var low = null;\n comparators.forEach(function(comparator) {\n if (comparator.semver === ANY) comparator = new Comparator(\">=0.0.0\");\n high = high || comparator;\n low = low || comparator;\n if (gtfn(comparator.semver, high.semver, options)) high = comparator;\n else if (ltfn(comparator.semver, low.semver, options)) low = comparator;\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) return false;\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) && ltefn(version, low.semver)) return false;\n else if (low.operator === ecomp && ltfn(version, low.semver)) return false;\n }\n return true;\n}\nexports.prerelease = prerelease;\nfunction prerelease(version, options) {\n var parsed = parse(version, options);\n return parsed && parsed.prerelease.length ? parsed.prerelease : null;\n}\nexports.intersects = intersects;\nfunction intersects(r1, r2, options) {\n r1 = new Range(r1, options);\n r2 = new Range(r2, options);\n return r1.intersects(r2);\n}\nexports.coerce = coerce;\nfunction coerce(version, options) {\n if (version instanceof SemVer) return version;\n if (typeof version === \"number\") version = String(version);\n if (typeof version !== \"string\") return null;\n options = options || {};\n var match = null;\n if (!options.rtl) match = version.match(safeRe[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 var next;\n while((next = safeRe[t.COERCERTL].exec(version)) && (!match || match.index + match[0].length !== version.length)){\n if (!match || next.index + next[0].length !== match.index + match[0].length) match = next;\n safeRe[t.COERCERTL].lastIndex = next.index + next[1].length + next[2].length;\n }\n // leave it in a clean state\n safeRe[t.COERCERTL].lastIndex = -1;\n }\n if (match === null) return null;\n return parse(match[2] + \".\" + (match[3] || \"0\") + \".\" + (match[4] || \"0\"), options);\n}\n\n});\n\n\nparcelRegister(\"cdVym\", function(module, exports) {\n\nvar $lye1X = parcelRequire(\"lye1X\");\n\nvar $ay3HY = parcelRequire(\"ay3HY\");\nfunction $8e6357ca3726aeca$var$v4(options, buf, offset) {\n var i = buf && offset || 0;\n if (typeof options == \"string\") {\n buf = options === \"binary\" ? new Array(16) : null;\n options = null;\n }\n options = options || {};\n var rnds = options.random || (options.rng || $lye1X)();\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 // Copy bytes to buffer, if provided\n if (buf) for(var ii = 0; ii < 16; ++ii)buf[i + ii] = rnds[ii];\n return buf || $ay3HY(rnds);\n}\nmodule.exports = $8e6357ca3726aeca$var$v4;\n\n});\nparcelRegister(\"lye1X\", function(module, exports) {\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\nmodule.exports = function nodeRNG() {\n return $k14yv$crypto.randomBytes(16);\n};\n\n});\n\nparcelRegister(\"ay3HY\", function(module, exports) {\n/**\n * Convert array of 16 byte values to UUID string format of the form:\n * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\n */ var $7adff4bd4e838428$var$byteToHex = [];\nfor(var $7adff4bd4e838428$var$i = 0; $7adff4bd4e838428$var$i < 256; ++$7adff4bd4e838428$var$i)$7adff4bd4e838428$var$byteToHex[$7adff4bd4e838428$var$i] = ($7adff4bd4e838428$var$i + 0x100).toString(16).substr(1);\nfunction $7adff4bd4e838428$var$bytesToUuid(buf, offset) {\n var i = offset || 0;\n var bth = $7adff4bd4e838428$var$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++]],\n bth[buf[i++]],\n bth[buf[i++]],\n bth[buf[i++]],\n \"-\",\n bth[buf[i++]],\n bth[buf[i++]],\n \"-\",\n bth[buf[i++]],\n bth[buf[i++]],\n \"-\",\n bth[buf[i++]],\n bth[buf[i++]],\n \"-\",\n bth[buf[i++]],\n bth[buf[i++]],\n bth[buf[i++]],\n bth[buf[i++]],\n bth[buf[i++]],\n bth[buf[i++]]\n ].join(\"\");\n}\nmodule.exports = $7adff4bd4e838428$var$bytesToUuid;\n\n});\n\n\nparcelRegister(\"lI4Zo\", function(module, exports) {\n\"use strict\";\nvar $fce193c505a8cce0$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $fce193c505a8cce0$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $fce193c505a8cce0$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $fce193c505a8cce0$var$__createBinding(result, mod, k);\n }\n $fce193c505a8cce0$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $fce193c505a8cce0$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.RetryHelper = void 0;\n\nconst $fce193c505a8cce0$var$core = $fce193c505a8cce0$var$__importStar((parcelRequire(\"4t50X\")));\n/**\n * Internal class for retries\n */ class $fce193c505a8cce0$var$RetryHelper {\n constructor(maxAttempts, minSeconds, maxSeconds){\n if (maxAttempts < 1) throw new Error(\"max attempts should be greater than or equal to 1\");\n this.maxAttempts = maxAttempts;\n this.minSeconds = Math.floor(minSeconds);\n this.maxSeconds = Math.floor(maxSeconds);\n if (this.minSeconds > this.maxSeconds) throw new Error(\"min seconds should be less than or equal to max seconds\");\n }\n execute(action, isRetryable) {\n return $fce193c505a8cce0$var$__awaiter(this, void 0, void 0, function*() {\n let attempt = 1;\n while(attempt < this.maxAttempts){\n // Try\n try {\n return yield action();\n } catch (err) {\n if (isRetryable && !isRetryable(err)) throw err;\n $fce193c505a8cce0$var$core.info(err.message);\n }\n // Sleep\n const seconds = this.getSleepAmount();\n $fce193c505a8cce0$var$core.info(`Waiting ${seconds} seconds before trying again`);\n yield this.sleep(seconds);\n attempt++;\n }\n // Last attempt\n return yield action();\n });\n }\n getSleepAmount() {\n return Math.floor(Math.random() * (this.maxSeconds - this.minSeconds + 1)) + this.minSeconds;\n }\n sleep(seconds) {\n return $fce193c505a8cce0$var$__awaiter(this, void 0, void 0, function*() {\n return new Promise((resolve)=>setTimeout(resolve, seconds * 1000));\n });\n }\n}\nmodule.exports.RetryHelper = $fce193c505a8cce0$var$RetryHelper;\n\n});\n\n\n\n\nparcelRegister(\"9q7Zq\", function(module, exports) {\n\n$parcel$export(module.exports, \"findPyPyVersion\", () => $90342fa0f8357b29$export$43d689d19c89c31d);\n\n\nvar $3Fegg = parcelRequire(\"3Fegg\");\n\nvar $dm0eT = parcelRequire(\"dm0eT\");\n\nvar $bSUdl = parcelRequire(\"bSUdl\");\n\nvar $4t50X = parcelRequire(\"4t50X\");\n\nvar $bG0ld = parcelRequire(\"bG0ld\");\nasync function $90342fa0f8357b29$export$43d689d19c89c31d(versionSpec, architecture, updateEnvironment, checkLatest, allowPreReleases) {\n let resolvedPyPyVersion = \"\";\n let resolvedPythonVersion = \"\";\n let installDir;\n let releases;\n const pypyVersionSpec = $90342fa0f8357b29$export$4182d5bdd18177a7(versionSpec);\n if (checkLatest) {\n releases = await $3Fegg.getAvailablePyPyVersions();\n if (releases && releases.length > 0) {\n const releaseData = $3Fegg.findRelease(releases, pypyVersionSpec.pythonVersion, pypyVersionSpec.pypyVersion, architecture, false);\n if (releaseData) {\n $4t50X.info(`Resolved as PyPy ${releaseData.resolvedPyPyVersion} with Python (${releaseData.resolvedPythonVersion})`);\n pypyVersionSpec.pythonVersion = releaseData.resolvedPythonVersion;\n pypyVersionSpec.pypyVersion = releaseData.resolvedPyPyVersion;\n } else $4t50X.info(`Failed to resolve PyPy ${pypyVersionSpec.pypyVersion} with Python (${pypyVersionSpec.pythonVersion}) from manifest`);\n }\n }\n ({ installDir: installDir, resolvedPythonVersion: resolvedPythonVersion, resolvedPyPyVersion: resolvedPyPyVersion } = $90342fa0f8357b29$export$bba8aabb976a1d17(pypyVersionSpec.pythonVersion, pypyVersionSpec.pypyVersion, architecture));\n if (!installDir) ({ installDir: installDir, resolvedPythonVersion: resolvedPythonVersion, resolvedPyPyVersion: resolvedPyPyVersion } = await $3Fegg.installPyPy(pypyVersionSpec.pypyVersion, pypyVersionSpec.pythonVersion, architecture, allowPreReleases, releases));\n const pipDir = (0, $dm0eT.IS_WINDOWS) ? \"Scripts\" : \"bin\";\n const _binDir = $k14yv$path.join(installDir, pipDir);\n const binaryExtension = (0, $dm0eT.IS_WINDOWS) ? \".exe\" : \"\";\n const pythonPath = $k14yv$path.join((0, $dm0eT.IS_WINDOWS) ? installDir : _binDir, `python${binaryExtension}`);\n const pythonLocation = $3Fegg.getPyPyBinaryPath(installDir);\n if (updateEnvironment) {\n $4t50X.exportVariable(\"pythonLocation\", installDir);\n // https://cmake.org/cmake/help/latest/module/FindPython.html#module:FindPython\n $4t50X.exportVariable(\"Python_ROOT_DIR\", installDir);\n // https://cmake.org/cmake/help/latest/module/FindPython2.html#module:FindPython2\n $4t50X.exportVariable(\"Python2_ROOT_DIR\", installDir);\n // https://cmake.org/cmake/help/latest/module/FindPython3.html#module:FindPython3\n $4t50X.exportVariable(\"Python3_ROOT_DIR\", installDir);\n $4t50X.exportVariable(\"PKG_CONFIG_PATH\", pythonLocation + \"/lib/pkgconfig\");\n $4t50X.addPath(pythonLocation);\n $4t50X.addPath(_binDir);\n }\n $4t50X.setOutput(\"python-version\", \"pypy\" + resolvedPyPyVersion);\n $4t50X.setOutput(\"python-path\", pythonPath);\n return {\n resolvedPyPyVersion: resolvedPyPyVersion,\n resolvedPythonVersion: resolvedPythonVersion\n };\n}\nfunction $90342fa0f8357b29$export$bba8aabb976a1d17(pythonVersion, pypyVersion, architecture) {\n let resolvedPyPyVersion = \"\";\n let resolvedPythonVersion = \"\";\n let installDir = (0, $dm0eT.IS_WINDOWS) ? $90342fa0f8357b29$export$139298be7eb2bd(pythonVersion) : $bG0ld.find(\"PyPy\", pythonVersion, architecture);\n if (installDir) {\n // 'tc.find' finds tool based on Python version but we also need to check\n // whether PyPy version satisfies requested version.\n resolvedPythonVersion = (0, $dm0eT.getPyPyVersionFromPath)(installDir);\n resolvedPyPyVersion = (0, $dm0eT.readExactPyPyVersionFile)(installDir);\n const isPyPyVersionSatisfies = $bSUdl.satisfies(resolvedPyPyVersion, pypyVersion);\n if (!isPyPyVersionSatisfies) {\n installDir = null;\n resolvedPyPyVersion = \"\";\n resolvedPythonVersion = \"\";\n }\n }\n if (!installDir) $4t50X.info(`PyPy version ${pythonVersion} (${pypyVersion}) was not found in the local cache`);\n return {\n installDir: installDir,\n resolvedPythonVersion: resolvedPythonVersion,\n resolvedPyPyVersion: resolvedPyPyVersion\n };\n}\nfunction $90342fa0f8357b29$export$4182d5bdd18177a7(versionSpec) {\n const versions = versionSpec.split(\"-\").filter((item)=>!!item);\n if (/^(pypy)(.+)/.test(versions[0])) {\n const pythonVersion = versions[0].replace(\"pypy\", \"\");\n versions.splice(0, 1, \"pypy\", pythonVersion);\n }\n if (versions.length < 2 || versions[0] != \"pypy\") throw new Error(\"Invalid 'version' property for PyPy. PyPy version should be specified as 'pypy' or 'pypy-'. See README for examples and documentation.\");\n const pythonVersion = versions[1];\n let pypyVersion;\n if (versions.length > 2) pypyVersion = $3Fegg.pypyVersionToSemantic(versions[2]);\n else pypyVersion = \"x\";\n if (!(0, $dm0eT.validateVersion)(pythonVersion) || !(0, $dm0eT.validateVersion)(pypyVersion)) throw new Error(\"Invalid 'version' property for PyPy. Both Python version and PyPy versions should satisfy SemVer notation. See README for examples and documentation.\");\n if (!(0, $dm0eT.validatePythonVersionFormatForPyPy)(pythonVersion)) throw new Error(\"Invalid format of Python version for PyPy. Python version should be specified in format 'x.y'. See README for examples and documentation.\");\n return {\n pypyVersion: pypyVersion,\n pythonVersion: pythonVersion\n };\n}\nfunction $90342fa0f8357b29$export$139298be7eb2bd(pythonVersion) {\n let installDir = \"\";\n (0, $dm0eT.WINDOWS_ARCHS).forEach((architecture)=>installDir = installDir || $bG0ld.find(\"PyPy\", pythonVersion, architecture));\n return installDir;\n}\n\n});\nparcelRegister(\"3Fegg\", function(module, exports) {\n\n$parcel$export(module.exports, \"installPyPy\", () => $bbc9d655660b9c39$export$3573149ec5684a1d);\n$parcel$export(module.exports, \"getAvailablePyPyVersions\", () => $bbc9d655660b9c39$export$15e3ff21db62aa77);\n$parcel$export(module.exports, \"findRelease\", () => $bbc9d655660b9c39$export$4272161ba9d7d3dd);\n$parcel$export(module.exports, \"getPyPyBinaryPath\", () => $bbc9d655660b9c39$export$a053ce7a690fbb2e);\n$parcel$export(module.exports, \"pypyVersionToSemantic\", () => $bbc9d655660b9c39$export$4e25ef8c836002b9);\n\n\n\nvar $4t50X = parcelRequire(\"4t50X\");\n\nvar $bG0ld = parcelRequire(\"bG0ld\");\n\nvar $bSUdl = parcelRequire(\"bSUdl\");\n\nvar $a7JAS = parcelRequire(\"a7JAS\");\n\nvar $1f6JF = parcelRequire(\"1f6JF\");\n\n\nvar $dm0eT = parcelRequire(\"dm0eT\");\nasync function $bbc9d655660b9c39$export$3573149ec5684a1d(pypyVersion, pythonVersion, architecture, allowPreReleases, releases) {\n let downloadDir;\n releases = releases ?? await $bbc9d655660b9c39$export$15e3ff21db62aa77();\n if (!releases || releases.length === 0) throw new Error(\"No release was found in PyPy version.json\");\n let releaseData = $bbc9d655660b9c39$export$4272161ba9d7d3dd(releases, pythonVersion, pypyVersion, architecture, false);\n if (allowPreReleases && (!releaseData || !releaseData.foundAsset)) {\n // check for pre-release\n $4t50X.info([\n `Stable PyPy version ${pythonVersion} (${pypyVersion}) with arch ${architecture} not found`,\n `Trying pre-release versions`\n ].join($k14yv$os.EOL));\n releaseData = $bbc9d655660b9c39$export$4272161ba9d7d3dd(releases, pythonVersion, pypyVersion, architecture, true);\n }\n if (!releaseData || !releaseData.foundAsset) throw new Error(`PyPy version ${pythonVersion} (${pypyVersion}) with arch ${architecture} not found`);\n const { foundAsset: foundAsset, resolvedPythonVersion: resolvedPythonVersion, resolvedPyPyVersion: resolvedPyPyVersion } = releaseData;\n const downloadUrl = `${foundAsset.download_url}`;\n $4t50X.info(`Downloading PyPy from \"${downloadUrl}\" ...`);\n try {\n const pypyPath = await $bG0ld.downloadTool(downloadUrl);\n $4t50X.info(\"Extracting downloaded archive...\");\n if (0, $dm0eT.IS_WINDOWS) downloadDir = await $bG0ld.extractZip(pypyPath);\n else downloadDir = await $bG0ld.extractTar(pypyPath, undefined, \"x\");\n // root folder in archive can have unpredictable name so just take the first folder\n // downloadDir is unique folder under TEMP and can't contain any other folders\n const archiveName = (0, ($parcel$interopDefault($k14yv$fs))).readdirSync(downloadDir)[0];\n const toolDir = $k14yv$path.join(downloadDir, archiveName);\n let installDir = toolDir;\n if (!(0, $dm0eT.isNightlyKeyword)(resolvedPyPyVersion)) installDir = await $bG0ld.cacheDir(toolDir, \"PyPy\", resolvedPythonVersion, architecture);\n (0, $dm0eT.writeExactPyPyVersionFile)(installDir, resolvedPyPyVersion);\n const binaryPath = $bbc9d655660b9c39$export$a053ce7a690fbb2e(installDir);\n await $bbc9d655660b9c39$var$createPyPySymlink(binaryPath, resolvedPythonVersion);\n await $bbc9d655660b9c39$var$installPip(binaryPath);\n return {\n installDir: installDir,\n resolvedPythonVersion: resolvedPythonVersion,\n resolvedPyPyVersion: resolvedPyPyVersion\n };\n } catch (err) {\n if (err instanceof Error) {\n // Rate limit?\n if (err instanceof $bG0ld.HTTPError && (err.httpStatusCode === 403 || err.httpStatusCode === 429)) $4t50X.info(`Received HTTP status code ${err.httpStatusCode}. This usually indicates the rate limit has been exceeded`);\n else $4t50X.info(err.message);\n if (err.stack !== undefined) $4t50X.debug(err.stack);\n }\n throw err;\n }\n}\nasync function $bbc9d655660b9c39$export$15e3ff21db62aa77() {\n const url = \"https://downloads.python.org/pypy/versions.json\";\n const http = new $a7JAS.HttpClient(\"tool-cache\");\n const response = await http.getJson(url);\n if (!response.result) throw new Error(`Unable to retrieve the list of available PyPy versions from '${url}'`);\n return response.result;\n}\nasync function $bbc9d655660b9c39$var$createPyPySymlink(pypyBinaryPath, pythonVersion) {\n const version = $bSUdl.coerce(pythonVersion);\n const pythonBinaryPostfix = $bSUdl.major(version);\n const pythonMinor = $bSUdl.minor(version);\n const pypyBinaryPostfix = pythonBinaryPostfix === 2 ? \"\" : \"3\";\n const pypyMajorMinorBinaryPostfix = `${pythonBinaryPostfix}.${pythonMinor}`;\n const binaryExtension = (0, $dm0eT.IS_WINDOWS) ? \".exe\" : \"\";\n $4t50X.info(\"Creating symlinks...\");\n (0, $dm0eT.createSymlinkInFolder)(pypyBinaryPath, `pypy${pypyBinaryPostfix}${binaryExtension}`, `python${pythonBinaryPostfix}${binaryExtension}`, true);\n (0, $dm0eT.createSymlinkInFolder)(pypyBinaryPath, `pypy${pypyBinaryPostfix}${binaryExtension}`, `python${binaryExtension}`, true);\n (0, $dm0eT.createSymlinkInFolder)(pypyBinaryPath, `pypy${pypyBinaryPostfix}${binaryExtension}`, `pypy${pypyMajorMinorBinaryPostfix}${binaryExtension}`, true);\n}\nasync function $bbc9d655660b9c39$var$installPip(pythonLocation) {\n $4t50X.info(\"Installing and updating pip\");\n const pythonBinary = $k14yv$path.join(pythonLocation, \"python\");\n await $1f6JF.exec(`${pythonBinary} -m ensurepip`);\n await $1f6JF.exec(`${pythonLocation}/python -m pip install --ignore-installed pip`);\n}\nfunction $bbc9d655660b9c39$export$4272161ba9d7d3dd(releases, pythonVersion, pypyVersion, architecture, includePrerelease) {\n const options = {\n includePrerelease: includePrerelease\n };\n const filterReleases = releases.filter((item)=>{\n const isPythonVersionSatisfied = $bSUdl.satisfies($bSUdl.coerce(item.python_version), pythonVersion);\n const isPyPyNightly = (0, $dm0eT.isNightlyKeyword)(pypyVersion) && (0, $dm0eT.isNightlyKeyword)(item.pypy_version);\n const isPyPyVersionSatisfied = isPyPyNightly || $bSUdl.satisfies($bbc9d655660b9c39$export$4e25ef8c836002b9(item.pypy_version), pypyVersion, options);\n const isArchPresent = item.files && ((0, $dm0eT.IS_WINDOWS) ? $bbc9d655660b9c39$export$652444ba12a0c7bb(item, architecture) : $bbc9d655660b9c39$export$f1fafc67685dd0bf(item, architecture, process.platform));\n return isPythonVersionSatisfied && isPyPyVersionSatisfied && isArchPresent;\n });\n if (filterReleases.length === 0) return null;\n const sortedReleases = filterReleases.sort((previous, current)=>{\n return $bSUdl.compare($bSUdl.coerce($bbc9d655660b9c39$export$4e25ef8c836002b9(current.pypy_version)), $bSUdl.coerce($bbc9d655660b9c39$export$4e25ef8c836002b9(previous.pypy_version))) || $bSUdl.compare($bSUdl.coerce(current.python_version), $bSUdl.coerce(previous.python_version));\n });\n const foundRelease = sortedReleases[0];\n const foundAsset = (0, $dm0eT.IS_WINDOWS) ? $bbc9d655660b9c39$export$672a33957a3c888(foundRelease, architecture) : $bbc9d655660b9c39$export$7e0be3a86d27fcd9(foundRelease, architecture, process.platform);\n return {\n foundAsset: foundAsset,\n resolvedPythonVersion: foundRelease.python_version,\n resolvedPyPyVersion: foundRelease.pypy_version.trim()\n };\n}\nfunction $bbc9d655660b9c39$export$a053ce7a690fbb2e(installDir) {\n const _binDir = $k14yv$path.join(installDir, \"bin\");\n return (0, $dm0eT.IS_WINDOWS) ? installDir : _binDir;\n}\nfunction $bbc9d655660b9c39$export$4e25ef8c836002b9(versionSpec) {\n const prereleaseVersion = /(\\d+\\.\\d+\\.\\d+)((?:a|b|rc))(\\d*)/g;\n return versionSpec.replace(prereleaseVersion, \"$1-$2.$3\");\n}\nfunction $bbc9d655660b9c39$export$652444ba12a0c7bb(item, architecture) {\n architecture = $bbc9d655660b9c39$var$replaceX32toX86(architecture);\n return item.files.some((file)=>(0, $dm0eT.WINDOWS_PLATFORMS).includes(file.platform) && file.arch === architecture);\n}\nfunction $bbc9d655660b9c39$export$f1fafc67685dd0bf(item, architecture, platform) {\n return item.files.some((file)=>file.arch === architecture && file.platform === platform);\n}\nfunction $bbc9d655660b9c39$export$672a33957a3c888(releases, architecture) {\n architecture = $bbc9d655660b9c39$var$replaceX32toX86(architecture);\n return releases.files.find((item)=>(0, $dm0eT.WINDOWS_PLATFORMS).includes(item.platform) && item.arch === architecture);\n}\nfunction $bbc9d655660b9c39$export$7e0be3a86d27fcd9(releases, architecture, platform) {\n return releases.files.find((item)=>item.arch === architecture && item.platform === platform);\n}\nfunction $bbc9d655660b9c39$var$replaceX32toX86(architecture) {\n // convert x32 to x86 because os.arch() returns x32 for 32-bit systems but PyPy releases json has x86 arch value.\n if (architecture === \"x32\") architecture = \"x86\";\n return architecture;\n}\n\n});\n\n\n\n\n//# sourceMappingURL=actions_python.6be0dfa4.js.map\n","import { useCpythonVersion } from \"setup-python/src/find-python\"\nimport { findPyPyVersion } from \"setup-python/src/find-pypy\"\n\nimport { info, warning } from \"ci-log\"\nimport { debug } from \"@actions/core\"\nimport { join } from \"patha\"\nimport { GITHUB_ACTIONS } from \"ci-info\"\nimport { IS_MAC } from \"setup-python/src/utils\"\nimport { pathExists } from \"path-exists\"\n\nfunction isPyPyVersion(versionSpec: string) {\n return versionSpec.startsWith(\"pypy\")\n}\n\nconst checkLatest = false\n\nexport async function setupActionsPython(version: string, _setupDir: string, arch: string) {\n if (IS_MAC) {\n process.env.AGENT_TOOLSDIRECTORY = \"/Users/runner/hostedtoolcache\"\n }\n\n const agent_toolsdirectory = process.env.AGENT_TOOLSDIRECTORY?.trim()\n if (typeof agent_toolsdirectory === \"string\" && agent_toolsdirectory !== \"\") {\n process.env.RUNNER_TOOL_CACHE = process.env.AGENT_TOOLSDIRECTORY\n }\n\n debug(`Python is expected to be installed into ${process.env.RUNNER_TOOL_CACHE}`)\n\n if (version) {\n let pythonVersion: string\n if (isPyPyVersion(version)) {\n const installed = await findPyPyVersion(version, arch, true, checkLatest, false)\n pythonVersion = `${installed.resolvedPyPyVersion}-${installed.resolvedPythonVersion}`\n info(`Successfully set up PyPy ${installed.resolvedPyPyVersion} with Python (${installed.resolvedPythonVersion})`)\n } else {\n const installed = await useCpythonVersion(version, arch, true, checkLatest, false)\n pythonVersion = installed.version\n info(`Successfully set up ${installed.impl} (${pythonVersion})`)\n }\n\n // const cache = false\n // if (cache) {\n // const { cacheDependencies } = await import(\"setup-python/src/cache-dependencies\")\n // await cacheDependencies(\"pip\", pythonVersion)\n // }\n }\n\n if (GITHUB_ACTIONS) {\n await addPythonLoggingMatcher()\n }\n\n return undefined\n}\n\nasync function addPythonLoggingMatcher() {\n const matcherPath = join(__dirname, \"python_matcher.json\")\n if (!(await pathExists(matcherPath))) {\n return warning(\"the python_matcher.json file does not exist in the same folder as setup-cpp.js\")\n }\n info(`::add-matcher::${matcherPath}`)\n}\n","import * as os from 'os';\nimport * as path from 'path';\nimport {IS_WINDOWS, IS_LINUX, getOSInfo} from './utils';\n\nimport * as semver from 'semver';\n\nimport * as installer from './install-python';\n\nimport * as core from '@actions/core';\nimport * as tc from '@actions/tool-cache';\n\n// Python has \"scripts\" or \"bin\" directories where command-line tools that come with packages are installed.\n// This is where pip is, along with anything that pip installs.\n// There is a separate directory for `pip install --user`.\n//\n// For reference, these directories are as follows:\n// macOS / Linux:\n// /bin (by default /usr/local/bin, but not on hosted agents -- see the `else`)\n// (--user) ~/.local/bin\n// Windows:\n// \\Scripts\n// (--user) %APPDATA%\\Python\\PythonXY\\Scripts\n// See https://docs.python.org/3/library/sysconfig.html\n\nfunction binDir(installDir: string): string {\n if (IS_WINDOWS) {\n return path.join(installDir, 'Scripts');\n } else {\n return path.join(installDir, 'bin');\n }\n}\n\nexport async function useCpythonVersion(\n version: string,\n architecture: string,\n updateEnvironment: boolean,\n checkLatest: boolean,\n allowPreReleases: boolean\n): Promise {\n let manifest: tc.IToolRelease[] | null = null;\n const desugaredVersionSpec = desugarDevVersion(version);\n let semanticVersionSpec = pythonVersionToSemantic(\n desugaredVersionSpec,\n allowPreReleases\n );\n core.debug(`Semantic version spec of ${version} is ${semanticVersionSpec}`);\n\n if (checkLatest) {\n manifest = await installer.getManifest();\n const resolvedVersion = (\n await installer.findReleaseFromManifest(\n semanticVersionSpec,\n architecture,\n manifest\n )\n )?.version;\n\n if (resolvedVersion) {\n semanticVersionSpec = resolvedVersion;\n core.info(`Resolved as '${semanticVersionSpec}'`);\n } else {\n core.info(\n `Failed to resolve version ${semanticVersionSpec} from manifest`\n );\n }\n }\n\n let installDir: string | null = tc.find(\n 'Python',\n semanticVersionSpec,\n architecture\n );\n if (!installDir) {\n core.info(\n `Version ${semanticVersionSpec} was not found in the local cache`\n );\n const foundRelease = await installer.findReleaseFromManifest(\n semanticVersionSpec,\n architecture,\n manifest\n );\n\n if (foundRelease && foundRelease.files && foundRelease.files.length > 0) {\n core.info(`Version ${semanticVersionSpec} is available for downloading`);\n await installer.installCpythonFromRelease(foundRelease);\n\n installDir = tc.find('Python', semanticVersionSpec, architecture);\n }\n }\n\n if (!installDir) {\n const osInfo = await getOSInfo();\n throw new Error(\n [\n `The version '${version}' with architecture '${architecture}' was not found for ${\n osInfo\n ? `${osInfo.osName} ${osInfo.osVersion}`\n : 'this operating system'\n }.`,\n `The list of all available versions can be found here: ${installer.MANIFEST_URL}`\n ].join(os.EOL)\n );\n }\n\n const _binDir = binDir(installDir);\n const binaryExtension = IS_WINDOWS ? '.exe' : '';\n const pythonPath = path.join(\n IS_WINDOWS ? installDir : _binDir,\n `python${binaryExtension}`\n );\n if (updateEnvironment) {\n core.exportVariable('pythonLocation', installDir);\n core.exportVariable('PKG_CONFIG_PATH', installDir + '/lib/pkgconfig');\n core.exportVariable('pythonLocation', installDir);\n // https://cmake.org/cmake/help/latest/module/FindPython.html#module:FindPython\n core.exportVariable('Python_ROOT_DIR', installDir);\n // https://cmake.org/cmake/help/latest/module/FindPython2.html#module:FindPython2\n core.exportVariable('Python2_ROOT_DIR', installDir);\n // https://cmake.org/cmake/help/latest/module/FindPython3.html#module:FindPython3\n core.exportVariable('Python3_ROOT_DIR', installDir);\n core.exportVariable('PKG_CONFIG_PATH', installDir + '/lib/pkgconfig');\n\n if (IS_LINUX) {\n const libPath = process.env.LD_LIBRARY_PATH\n ? `:${process.env.LD_LIBRARY_PATH}`\n : '';\n const pyLibPath = path.join(installDir, 'lib');\n\n if (!libPath.split(':').includes(pyLibPath)) {\n core.exportVariable('LD_LIBRARY_PATH', pyLibPath + libPath);\n }\n }\n core.addPath(installDir);\n core.addPath(_binDir);\n\n if (IS_WINDOWS) {\n // Add --user directory\n // `installDir` from tool cache should look like $RUNNER_TOOL_CACHE/Python//x64/\n // So if `findLocalTool` succeeded above, we must have a conformant `installDir`\n const version = path.basename(path.dirname(installDir));\n const major = semver.major(version);\n const minor = semver.minor(version);\n\n const userScriptsDir = path.join(\n process.env['APPDATA'] || '',\n 'Python',\n `Python${major}${minor}`,\n 'Scripts'\n );\n core.addPath(userScriptsDir);\n }\n // On Linux and macOS, pip will create the --user directory and add it to PATH as needed.\n }\n\n const installed = versionFromPath(installDir);\n core.setOutput('python-version', installed);\n core.setOutput('python-path', pythonPath);\n\n return {impl: 'CPython', version: installed};\n}\n\n/** Convert versions like `3.8-dev` to a version like `~3.8.0-0`. */\nfunction desugarDevVersion(versionSpec: string) {\n const devVersion = /^(\\d+)\\.(\\d+)-dev$/;\n return versionSpec.replace(devVersion, '~$1.$2.0-0');\n}\n\n/** Extracts python version from install path from hosted tool cache as described in README.md */\nfunction versionFromPath(installDir: string) {\n const parts = installDir.split(path.sep);\n const idx = parts.findIndex(part => part === 'PyPy' || part === 'Python');\n\n return parts[idx + 1] || '';\n}\n\ninterface InstalledVersion {\n impl: string;\n version: string;\n}\n\n/**\n * Python's prelease versions look like `3.7.0b2`.\n * This is the one part of Python versioning that does not look like semantic versioning, which specifies `3.7.0-b2`.\n * If the version spec contains prerelease versions, we need to convert them to the semantic version equivalent.\n *\n * For easier use of the action, we also map 'x.y' to allow pre-release before 'x.y.0' release if allowPreReleases is true\n */\nexport function pythonVersionToSemantic(\n versionSpec: string,\n allowPreReleases: boolean\n) {\n const prereleaseVersion = /(\\d+\\.\\d+\\.\\d+)((?:a|b|rc)\\d*)/g;\n const majorMinor = /^(\\d+)\\.(\\d+)$/;\n let result = versionSpec.replace(prereleaseVersion, '$1-$2');\n if (allowPreReleases) {\n result = result.replace(majorMinor, '~$1.$2.0-0');\n }\n return result;\n}\n","/* eslint no-unsafe-finally: \"off\" */\nimport * as core from '@actions/core';\nimport fs from 'fs';\nimport * as path from 'path';\nimport * as semver from 'semver';\nimport * as toml from '@iarna/toml';\nimport * as exec from '@actions/exec';\n\nexport const IS_WINDOWS = process.platform === 'win32';\nexport const IS_LINUX = process.platform === 'linux';\nexport const IS_MAC = process.platform === 'darwin';\nexport const WINDOWS_ARCHS = ['x86', 'x64'];\nexport const WINDOWS_PLATFORMS = ['win32', 'win64'];\nconst PYPY_VERSION_FILE = 'PYPY_VERSION';\n\nexport interface IPyPyManifestAsset {\n filename: string;\n arch: string;\n platform: string;\n download_url: string;\n}\n\nexport interface IPyPyManifestRelease {\n pypy_version: string;\n python_version: string;\n stable: boolean;\n latest_pypy: boolean;\n files: IPyPyManifestAsset[];\n}\n\n/** create Symlinks for downloaded PyPy\n * It should be executed only for downloaded versions in runtime, because\n * toolcache versions have this setup.\n */\nexport function createSymlinkInFolder(\n folderPath: string,\n sourceName: string,\n targetName: string,\n setExecutable = false\n) {\n const sourcePath = path.join(folderPath, sourceName);\n const targetPath = path.join(folderPath, targetName);\n if (fs.existsSync(targetPath)) {\n return;\n }\n\n fs.symlinkSync(sourcePath, targetPath);\n if (!IS_WINDOWS && setExecutable) {\n fs.chmodSync(targetPath, '755');\n }\n}\n\nexport function validateVersion(version: string) {\n return isNightlyKeyword(version) || Boolean(semver.validRange(version));\n}\n\nexport function isNightlyKeyword(pypyVersion: string) {\n return pypyVersion === 'nightly';\n}\n\nexport function getPyPyVersionFromPath(installDir: string) {\n return path.basename(path.dirname(installDir));\n}\n\n/**\n * In tool-cache, we put PyPy to '/PyPy//x64'\n * There is no easy way to determine what PyPy version is located in specific folder\n * 'pypy --version' is not reliable enough since it is not set properly for preview versions\n * \"7.3.3rc1\" is marked as '7.3.3' in 'pypy --version'\n * so we put PYPY_VERSION file to PyPy directory when install it to VM and read it when we need to know version\n * PYPY_VERSION contains exact version from 'versions.json'\n */\nexport function readExactPyPyVersionFile(installDir: string) {\n let pypyVersion = '';\n const fileVersion = path.join(installDir, PYPY_VERSION_FILE);\n if (fs.existsSync(fileVersion)) {\n pypyVersion = fs.readFileSync(fileVersion).toString().trim();\n }\n\n return pypyVersion;\n}\n\nexport function writeExactPyPyVersionFile(\n installDir: string,\n resolvedPyPyVersion: string\n) {\n const pypyFilePath = path.join(installDir, PYPY_VERSION_FILE);\n fs.writeFileSync(pypyFilePath, resolvedPyPyVersion);\n}\n\n/**\n * Python version should be specified explicitly like \"x.y\" (2.7, 3.6, 3.7)\n * \"3.x\" or \"3\" are not supported\n * because it could cause ambiguity when both PyPy version and Python version are not precise\n */\nexport function validatePythonVersionFormatForPyPy(version: string) {\n const re = /^\\d+\\.\\d+$/;\n return re.test(version);\n}\n\nexport function logWarning(message: string): void {\n const warningPrefix = '[warning]';\n core.info(`${warningPrefix}${message}`);\n}\n\nasync function getWindowsInfo() {\n const {stdout} = await exec.getExecOutput(\n 'powershell -command \"(Get-CimInstance -ClassName Win32_OperatingSystem).Caption\"',\n undefined,\n {\n silent: true\n }\n );\n\n const windowsVersion = stdout.trim().split(' ')[3];\n\n return {osName: 'Windows', osVersion: windowsVersion};\n}\n\nasync function getMacOSInfo() {\n const {stdout} = await exec.getExecOutput('sw_vers', ['-productVersion'], {\n silent: true\n });\n\n const macOSVersion = stdout.trim();\n\n return {osName: 'macOS', osVersion: macOSVersion};\n}\n\nexport async function getLinuxInfo() {\n const {stdout} = await exec.getExecOutput('lsb_release', ['-i', '-r', '-s'], {\n silent: true\n });\n\n const [osName, osVersion] = stdout.trim().split('\\n');\n\n core.debug(`OS Name: ${osName}, Version: ${osVersion}`);\n\n return {osName: osName, osVersion: osVersion};\n}\n\nexport async function getOSInfo() {\n let osInfo;\n try {\n if (IS_WINDOWS) {\n osInfo = await getWindowsInfo();\n } else if (IS_LINUX) {\n osInfo = await getLinuxInfo();\n } else if (IS_MAC) {\n osInfo = await getMacOSInfo();\n }\n } catch (err) {\n const error = err as Error;\n core.debug(error.message);\n } finally {\n return osInfo;\n }\n}\n\n/**\n * Extract a value from an object by following the keys path provided.\n * If the value is present, it is returned. Otherwise undefined is returned.\n */\nfunction extractValue(obj: any, keys: string[]): string | undefined {\n if (keys.length > 0) {\n const value = obj[keys[0]];\n if (keys.length > 1 && value !== undefined) {\n return extractValue(value, keys.slice(1));\n } else {\n return value;\n }\n } else {\n return;\n }\n}\n\n/**\n * Python version extracted from the TOML file.\n * If the `project` key is present at the root level, the version is assumed to\n * be specified according to PEP 621 in `project.requires-python`.\n * Otherwise, if the `tool` key is present at the root level, the version is\n * assumed to be specified using poetry under `tool.poetry.dependencies.python`.\n * If none is present, returns an empty list.\n */\nexport function getVersionInputFromTomlFile(versionFile: string): string[] {\n core.debug(`Trying to resolve version form ${versionFile}`);\n\n const pyprojectFile = fs.readFileSync(versionFile, 'utf8');\n const pyprojectConfig = toml.parse(pyprojectFile);\n let keys = [];\n\n if ('project' in pyprojectConfig) {\n // standard project metadata (PEP 621)\n keys = ['project', 'requires-python'];\n } else {\n // python poetry\n keys = ['tool', 'poetry', 'dependencies', 'python'];\n }\n const versions = [];\n const version = extractValue(pyprojectConfig, keys);\n if (version !== undefined) {\n versions.push(version);\n }\n\n core.info(`Extracted ${versions} from ${versionFile}`);\n const rawVersions = Array.from(versions, version =>\n version.split(',').join(' ')\n );\n const validatedVersions = rawVersions\n .map(item => semver.validRange(item, true))\n .filter((versionRange, index) => {\n if (!versionRange) {\n core.debug(\n `The version ${rawVersions[index]} is not valid SemVer range`\n );\n }\n\n return !!versionRange;\n }) as string[];\n return validatedVersions;\n}\n\n/**\n * Python version extracted from a plain text file.\n */\nexport function getVersionInputFromPlainFile(versionFile: string): string[] {\n core.debug(`Trying to resolve version form ${versionFile}`);\n const version = fs.readFileSync(versionFile, 'utf8');\n core.info(`Resolved ${versionFile} as ${version}`);\n return [version];\n}\n\n/**\n * Python version extracted from a plain or TOML file.\n */\nexport function getVersionInputFromFile(versionFile: string): string[] {\n if (versionFile.endsWith('.toml')) {\n return getVersionInputFromTomlFile(versionFile);\n } else {\n return getVersionInputFromPlainFile(versionFile);\n }\n}\n","'use strict'\nexports.parse = require('./parse.js')\nexports.stringify = require('./stringify.js')\n","'use strict'\nmodule.exports = require('./parse-string.js')\nmodule.exports.async = require('./parse-async.js')\nmodule.exports.stream = require('./parse-stream.js')\nmodule.exports.prettyError = require('./parse-pretty-error.js')\n","'use strict'\nmodule.exports = parseString\n\nconst TOMLParser = require('./lib/toml-parser.js')\nconst prettyError = require('./parse-pretty-error.js')\n\nfunction parseString (str) {\n if (global.Buffer && global.Buffer.isBuffer(str)) {\n str = str.toString('utf8')\n }\n const parser = new TOMLParser()\n try {\n parser.parse(str)\n return parser.finish()\n } catch (err) {\n throw prettyError(err, str)\n }\n}\n","'use strict'\n/* eslint-disable no-new-wrappers, no-eval, camelcase, operator-linebreak */\nmodule.exports = makeParserClass(require('./parser.js'))\nmodule.exports.makeParserClass = makeParserClass\n\nclass TomlError extends Error {\n constructor (msg) {\n super(msg)\n this.name = 'TomlError'\n /* istanbul ignore next */\n if (Error.captureStackTrace) Error.captureStackTrace(this, TomlError)\n this.fromTOML = true\n this.wrapped = null\n }\n}\nTomlError.wrap = err => {\n const terr = new TomlError(err.message)\n terr.code = err.code\n terr.wrapped = err\n return terr\n}\nmodule.exports.TomlError = TomlError\n\nconst createDateTime = require('./create-datetime.js')\nconst createDateTimeFloat = require('./create-datetime-float.js')\nconst createDate = require('./create-date.js')\nconst createTime = require('./create-time.js')\n\nconst CTRL_I = 0x09\nconst CTRL_J = 0x0A\nconst CTRL_M = 0x0D\nconst CTRL_CHAR_BOUNDARY = 0x1F // the last non-character in the latin1 region of unicode, except DEL\nconst CHAR_SP = 0x20\nconst CHAR_QUOT = 0x22\nconst CHAR_NUM = 0x23\nconst CHAR_APOS = 0x27\nconst CHAR_PLUS = 0x2B\nconst CHAR_COMMA = 0x2C\nconst CHAR_HYPHEN = 0x2D\nconst CHAR_PERIOD = 0x2E\nconst CHAR_0 = 0x30\nconst CHAR_1 = 0x31\nconst CHAR_7 = 0x37\nconst CHAR_9 = 0x39\nconst CHAR_COLON = 0x3A\nconst CHAR_EQUALS = 0x3D\nconst CHAR_A = 0x41\nconst CHAR_E = 0x45\nconst CHAR_F = 0x46\nconst CHAR_T = 0x54\nconst CHAR_U = 0x55\nconst CHAR_Z = 0x5A\nconst CHAR_LOWBAR = 0x5F\nconst CHAR_a = 0x61\nconst CHAR_b = 0x62\nconst CHAR_e = 0x65\nconst CHAR_f = 0x66\nconst CHAR_i = 0x69\nconst CHAR_l = 0x6C\nconst CHAR_n = 0x6E\nconst CHAR_o = 0x6F\nconst CHAR_r = 0x72\nconst CHAR_s = 0x73\nconst CHAR_t = 0x74\nconst CHAR_u = 0x75\nconst CHAR_x = 0x78\nconst CHAR_z = 0x7A\nconst CHAR_LCUB = 0x7B\nconst CHAR_RCUB = 0x7D\nconst CHAR_LSQB = 0x5B\nconst CHAR_BSOL = 0x5C\nconst CHAR_RSQB = 0x5D\nconst CHAR_DEL = 0x7F\nconst SURROGATE_FIRST = 0xD800\nconst SURROGATE_LAST = 0xDFFF\n\nconst escapes = {\n [CHAR_b]: '\\u0008',\n [CHAR_t]: '\\u0009',\n [CHAR_n]: '\\u000A',\n [CHAR_f]: '\\u000C',\n [CHAR_r]: '\\u000D',\n [CHAR_QUOT]: '\\u0022',\n [CHAR_BSOL]: '\\u005C'\n}\n\nfunction isDigit (cp) {\n return cp >= CHAR_0 && cp <= CHAR_9\n}\nfunction isHexit (cp) {\n return (cp >= CHAR_A && cp <= CHAR_F) || (cp >= CHAR_a && cp <= CHAR_f) || (cp >= CHAR_0 && cp <= CHAR_9)\n}\nfunction isBit (cp) {\n return cp === CHAR_1 || cp === CHAR_0\n}\nfunction isOctit (cp) {\n return (cp >= CHAR_0 && cp <= CHAR_7)\n}\nfunction isAlphaNumQuoteHyphen (cp) {\n return (cp >= CHAR_A && cp <= CHAR_Z)\n || (cp >= CHAR_a && cp <= CHAR_z)\n || (cp >= CHAR_0 && cp <= CHAR_9)\n || cp === CHAR_APOS\n || cp === CHAR_QUOT\n || cp === CHAR_LOWBAR\n || cp === CHAR_HYPHEN\n}\nfunction isAlphaNumHyphen (cp) {\n return (cp >= CHAR_A && cp <= CHAR_Z)\n || (cp >= CHAR_a && cp <= CHAR_z)\n || (cp >= CHAR_0 && cp <= CHAR_9)\n || cp === CHAR_LOWBAR\n || cp === CHAR_HYPHEN\n}\nconst _type = Symbol('type')\nconst _declared = Symbol('declared')\n\nconst hasOwnProperty = Object.prototype.hasOwnProperty\nconst defineProperty = Object.defineProperty\nconst descriptor = {configurable: true, enumerable: true, writable: true, value: undefined}\n\nfunction hasKey (obj, key) {\n if (hasOwnProperty.call(obj, key)) return true\n if (key === '__proto__') defineProperty(obj, '__proto__', descriptor)\n return false\n}\n\nconst INLINE_TABLE = Symbol('inline-table')\nfunction InlineTable () {\n return Object.defineProperties({}, {\n [_type]: {value: INLINE_TABLE}\n })\n}\nfunction isInlineTable (obj) {\n if (obj === null || typeof (obj) !== 'object') return false\n return obj[_type] === INLINE_TABLE\n}\n\nconst TABLE = Symbol('table')\nfunction Table () {\n return Object.defineProperties({}, {\n [_type]: {value: TABLE},\n [_declared]: {value: false, writable: true}\n })\n}\nfunction isTable (obj) {\n if (obj === null || typeof (obj) !== 'object') return false\n return obj[_type] === TABLE\n}\n\nconst _contentType = Symbol('content-type')\nconst INLINE_LIST = Symbol('inline-list')\nfunction InlineList (type) {\n return Object.defineProperties([], {\n [_type]: {value: INLINE_LIST},\n [_contentType]: {value: type}\n })\n}\nfunction isInlineList (obj) {\n if (obj === null || typeof (obj) !== 'object') return false\n return obj[_type] === INLINE_LIST\n}\n\nconst LIST = Symbol('list')\nfunction List () {\n return Object.defineProperties([], {\n [_type]: {value: LIST}\n })\n}\nfunction isList (obj) {\n if (obj === null || typeof (obj) !== 'object') return false\n return obj[_type] === LIST\n}\n\n// in an eval, to let bundlers not slurp in a util proxy\nlet _custom\ntry {\n const utilInspect = eval(\"require('util').inspect\")\n _custom = utilInspect.custom\n} catch (_) {\n /* eval require not available in transpiled bundle */\n}\n/* istanbul ignore next */\nconst _inspect = _custom || 'inspect'\n\nclass BoxedBigInt {\n constructor (value) {\n try {\n this.value = global.BigInt.asIntN(64, value)\n } catch (_) {\n /* istanbul ignore next */\n this.value = null\n }\n Object.defineProperty(this, _type, {value: INTEGER})\n }\n isNaN () {\n return this.value === null\n }\n /* istanbul ignore next */\n toString () {\n return String(this.value)\n }\n /* istanbul ignore next */\n [_inspect] () {\n return `[BigInt: ${this.toString()}]}`\n }\n valueOf () {\n return this.value\n }\n}\n\nconst INTEGER = Symbol('integer')\nfunction Integer (value) {\n let num = Number(value)\n // -0 is a float thing, not an int thing\n if (Object.is(num, -0)) num = 0\n /* istanbul ignore else */\n if (global.BigInt && !Number.isSafeInteger(num)) {\n return new BoxedBigInt(value)\n } else {\n /* istanbul ignore next */\n return Object.defineProperties(new Number(num), {\n isNaN: {value: function () { return isNaN(this) }},\n [_type]: {value: INTEGER},\n [_inspect]: {value: () => `[Integer: ${value}]`}\n })\n }\n}\nfunction isInteger (obj) {\n if (obj === null || typeof (obj) !== 'object') return false\n return obj[_type] === INTEGER\n}\n\nconst FLOAT = Symbol('float')\nfunction Float (value) {\n /* istanbul ignore next */\n return Object.defineProperties(new Number(value), {\n [_type]: {value: FLOAT},\n [_inspect]: {value: () => `[Float: ${value}]`}\n })\n}\nfunction isFloat (obj) {\n if (obj === null || typeof (obj) !== 'object') return false\n return obj[_type] === FLOAT\n}\n\nfunction tomlType (value) {\n const type = typeof value\n if (type === 'object') {\n /* istanbul ignore if */\n if (value === null) return 'null'\n if (value instanceof Date) return 'datetime'\n /* istanbul ignore else */\n if (_type in value) {\n switch (value[_type]) {\n case INLINE_TABLE: return 'inline-table'\n case INLINE_LIST: return 'inline-list'\n /* istanbul ignore next */\n case TABLE: return 'table'\n /* istanbul ignore next */\n case LIST: return 'list'\n case FLOAT: return 'float'\n case INTEGER: return 'integer'\n }\n }\n }\n return type\n}\n\nfunction makeParserClass (Parser) {\n class TOMLParser extends Parser {\n constructor () {\n super()\n this.ctx = this.obj = Table()\n }\n\n /* MATCH HELPER */\n atEndOfWord () {\n return this.char === CHAR_NUM || this.char === CTRL_I || this.char === CHAR_SP || this.atEndOfLine()\n }\n atEndOfLine () {\n return this.char === Parser.END || this.char === CTRL_J || this.char === CTRL_M\n }\n\n parseStart () {\n if (this.char === Parser.END) {\n return null\n } else if (this.char === CHAR_LSQB) {\n return this.call(this.parseTableOrList)\n } else if (this.char === CHAR_NUM) {\n return this.call(this.parseComment)\n } else if (this.char === CTRL_J || this.char === CHAR_SP || this.char === CTRL_I || this.char === CTRL_M) {\n return null\n } else if (isAlphaNumQuoteHyphen(this.char)) {\n return this.callNow(this.parseAssignStatement)\n } else {\n throw this.error(new TomlError(`Unknown character \"${this.char}\"`))\n }\n }\n\n // HELPER, this strips any whitespace and comments to the end of the line\n // then RETURNS. Last state in a production.\n parseWhitespaceToEOL () {\n if (this.char === CHAR_SP || this.char === CTRL_I || this.char === CTRL_M) {\n return null\n } else if (this.char === CHAR_NUM) {\n return this.goto(this.parseComment)\n } else if (this.char === Parser.END || this.char === CTRL_J) {\n return this.return()\n } else {\n throw this.error(new TomlError('Unexpected character, expected only whitespace or comments till end of line'))\n }\n }\n\n /* ASSIGNMENT: key = value */\n parseAssignStatement () {\n return this.callNow(this.parseAssign, this.recordAssignStatement)\n }\n recordAssignStatement (kv) {\n let target = this.ctx\n let finalKey = kv.key.pop()\n for (let kw of kv.key) {\n if (hasKey(target, kw) && (!isTable(target[kw]) || target[kw][_declared])) {\n throw this.error(new TomlError(\"Can't redefine existing key\"))\n }\n target = target[kw] = target[kw] || Table()\n }\n if (hasKey(target, finalKey)) {\n throw this.error(new TomlError(\"Can't redefine existing key\"))\n }\n // unbox our numbers\n if (isInteger(kv.value) || isFloat(kv.value)) {\n target[finalKey] = kv.value.valueOf()\n } else {\n target[finalKey] = kv.value\n }\n return this.goto(this.parseWhitespaceToEOL)\n }\n\n /* ASSSIGNMENT expression, key = value possibly inside an inline table */\n parseAssign () {\n return this.callNow(this.parseKeyword, this.recordAssignKeyword)\n }\n recordAssignKeyword (key) {\n if (this.state.resultTable) {\n this.state.resultTable.push(key)\n } else {\n this.state.resultTable = [key]\n }\n return this.goto(this.parseAssignKeywordPreDot)\n }\n parseAssignKeywordPreDot () {\n if (this.char === CHAR_PERIOD) {\n return this.next(this.parseAssignKeywordPostDot)\n } else if (this.char !== CHAR_SP && this.char !== CTRL_I) {\n return this.goto(this.parseAssignEqual)\n }\n }\n parseAssignKeywordPostDot () {\n if (this.char !== CHAR_SP && this.char !== CTRL_I) {\n return this.callNow(this.parseKeyword, this.recordAssignKeyword)\n }\n }\n\n parseAssignEqual () {\n if (this.char === CHAR_EQUALS) {\n return this.next(this.parseAssignPreValue)\n } else {\n throw this.error(new TomlError('Invalid character, expected \"=\"'))\n }\n }\n parseAssignPreValue () {\n if (this.char === CHAR_SP || this.char === CTRL_I) {\n return null\n } else {\n return this.callNow(this.parseValue, this.recordAssignValue)\n }\n }\n recordAssignValue (value) {\n return this.returnNow({key: this.state.resultTable, value: value})\n }\n\n /* COMMENTS: #...eol */\n parseComment () {\n do {\n if (this.char === Parser.END || this.char === CTRL_J) {\n return this.return()\n }\n } while (this.nextChar())\n }\n\n /* TABLES AND LISTS, [foo] and [[foo]] */\n parseTableOrList () {\n if (this.char === CHAR_LSQB) {\n this.next(this.parseList)\n } else {\n return this.goto(this.parseTable)\n }\n }\n\n /* TABLE [foo.bar.baz] */\n parseTable () {\n this.ctx = this.obj\n return this.goto(this.parseTableNext)\n }\n parseTableNext () {\n if (this.char === CHAR_SP || this.char === CTRL_I) {\n return null\n } else {\n return this.callNow(this.parseKeyword, this.parseTableMore)\n }\n }\n parseTableMore (keyword) {\n if (this.char === CHAR_SP || this.char === CTRL_I) {\n return null\n } else if (this.char === CHAR_RSQB) {\n if (hasKey(this.ctx, keyword) && (!isTable(this.ctx[keyword]) || this.ctx[keyword][_declared])) {\n throw this.error(new TomlError(\"Can't redefine existing key\"))\n } else {\n this.ctx = this.ctx[keyword] = this.ctx[keyword] || Table()\n this.ctx[_declared] = true\n }\n return this.next(this.parseWhitespaceToEOL)\n } else if (this.char === CHAR_PERIOD) {\n if (!hasKey(this.ctx, keyword)) {\n this.ctx = this.ctx[keyword] = Table()\n } else if (isTable(this.ctx[keyword])) {\n this.ctx = this.ctx[keyword]\n } else if (isList(this.ctx[keyword])) {\n this.ctx = this.ctx[keyword][this.ctx[keyword].length - 1]\n } else {\n throw this.error(new TomlError(\"Can't redefine existing key\"))\n }\n return this.next(this.parseTableNext)\n } else {\n throw this.error(new TomlError('Unexpected character, expected whitespace, . or ]'))\n }\n }\n\n /* LIST [[a.b.c]] */\n parseList () {\n this.ctx = this.obj\n return this.goto(this.parseListNext)\n }\n parseListNext () {\n if (this.char === CHAR_SP || this.char === CTRL_I) {\n return null\n } else {\n return this.callNow(this.parseKeyword, this.parseListMore)\n }\n }\n parseListMore (keyword) {\n if (this.char === CHAR_SP || this.char === CTRL_I) {\n return null\n } else if (this.char === CHAR_RSQB) {\n if (!hasKey(this.ctx, keyword)) {\n this.ctx[keyword] = List()\n }\n if (isInlineList(this.ctx[keyword])) {\n throw this.error(new TomlError(\"Can't extend an inline array\"))\n } else if (isList(this.ctx[keyword])) {\n const next = Table()\n this.ctx[keyword].push(next)\n this.ctx = next\n } else {\n throw this.error(new TomlError(\"Can't redefine an existing key\"))\n }\n return this.next(this.parseListEnd)\n } else if (this.char === CHAR_PERIOD) {\n if (!hasKey(this.ctx, keyword)) {\n this.ctx = this.ctx[keyword] = Table()\n } else if (isInlineList(this.ctx[keyword])) {\n throw this.error(new TomlError(\"Can't extend an inline array\"))\n } else if (isInlineTable(this.ctx[keyword])) {\n throw this.error(new TomlError(\"Can't extend an inline table\"))\n } else if (isList(this.ctx[keyword])) {\n this.ctx = this.ctx[keyword][this.ctx[keyword].length - 1]\n } else if (isTable(this.ctx[keyword])) {\n this.ctx = this.ctx[keyword]\n } else {\n throw this.error(new TomlError(\"Can't redefine an existing key\"))\n }\n return this.next(this.parseListNext)\n } else {\n throw this.error(new TomlError('Unexpected character, expected whitespace, . or ]'))\n }\n }\n parseListEnd (keyword) {\n if (this.char === CHAR_RSQB) {\n return this.next(this.parseWhitespaceToEOL)\n } else {\n throw this.error(new TomlError('Unexpected character, expected whitespace, . or ]'))\n }\n }\n\n /* VALUE string, number, boolean, inline list, inline object */\n parseValue () {\n if (this.char === Parser.END) {\n throw this.error(new TomlError('Key without value'))\n } else if (this.char === CHAR_QUOT) {\n return this.next(this.parseDoubleString)\n } if (this.char === CHAR_APOS) {\n return this.next(this.parseSingleString)\n } else if (this.char === CHAR_HYPHEN || this.char === CHAR_PLUS) {\n return this.goto(this.parseNumberSign)\n } else if (this.char === CHAR_i) {\n return this.next(this.parseInf)\n } else if (this.char === CHAR_n) {\n return this.next(this.parseNan)\n } else if (isDigit(this.char)) {\n return this.goto(this.parseNumberOrDateTime)\n } else if (this.char === CHAR_t || this.char === CHAR_f) {\n return this.goto(this.parseBoolean)\n } else if (this.char === CHAR_LSQB) {\n return this.call(this.parseInlineList, this.recordValue)\n } else if (this.char === CHAR_LCUB) {\n return this.call(this.parseInlineTable, this.recordValue)\n } else {\n throw this.error(new TomlError('Unexpected character, expecting string, number, datetime, boolean, inline array or inline table'))\n }\n }\n recordValue (value) {\n return this.returnNow(value)\n }\n\n parseInf () {\n if (this.char === CHAR_n) {\n return this.next(this.parseInf2)\n } else {\n throw this.error(new TomlError('Unexpected character, expected \"inf\", \"+inf\" or \"-inf\"'))\n }\n }\n parseInf2 () {\n if (this.char === CHAR_f) {\n if (this.state.buf === '-') {\n return this.return(-Infinity)\n } else {\n return this.return(Infinity)\n }\n } else {\n throw this.error(new TomlError('Unexpected character, expected \"inf\", \"+inf\" or \"-inf\"'))\n }\n }\n\n parseNan () {\n if (this.char === CHAR_a) {\n return this.next(this.parseNan2)\n } else {\n throw this.error(new TomlError('Unexpected character, expected \"nan\"'))\n }\n }\n parseNan2 () {\n if (this.char === CHAR_n) {\n return this.return(NaN)\n } else {\n throw this.error(new TomlError('Unexpected character, expected \"nan\"'))\n }\n }\n\n /* KEYS, barewords or basic, literal, or dotted */\n parseKeyword () {\n if (this.char === CHAR_QUOT) {\n return this.next(this.parseBasicString)\n } else if (this.char === CHAR_APOS) {\n return this.next(this.parseLiteralString)\n } else {\n return this.goto(this.parseBareKey)\n }\n }\n\n /* KEYS: barewords */\n parseBareKey () {\n do {\n if (this.char === Parser.END) {\n throw this.error(new TomlError('Key ended without value'))\n } else if (isAlphaNumHyphen(this.char)) {\n this.consume()\n } else if (this.state.buf.length === 0) {\n throw this.error(new TomlError('Empty bare keys are not allowed'))\n } else {\n return this.returnNow()\n }\n } while (this.nextChar())\n }\n\n /* STRINGS, single quoted (literal) */\n parseSingleString () {\n if (this.char === CHAR_APOS) {\n return this.next(this.parseLiteralMultiStringMaybe)\n } else {\n return this.goto(this.parseLiteralString)\n }\n }\n parseLiteralString () {\n do {\n if (this.char === CHAR_APOS) {\n return this.return()\n } else if (this.atEndOfLine()) {\n throw this.error(new TomlError('Unterminated string'))\n } else if (this.char === CHAR_DEL || (this.char <= CTRL_CHAR_BOUNDARY && this.char !== CTRL_I)) {\n throw this.errorControlCharInString()\n } else {\n this.consume()\n }\n } while (this.nextChar())\n }\n parseLiteralMultiStringMaybe () {\n if (this.char === CHAR_APOS) {\n return this.next(this.parseLiteralMultiString)\n } else {\n return this.returnNow()\n }\n }\n parseLiteralMultiString () {\n if (this.char === CTRL_M) {\n return null\n } else if (this.char === CTRL_J) {\n return this.next(this.parseLiteralMultiStringContent)\n } else {\n return this.goto(this.parseLiteralMultiStringContent)\n }\n }\n parseLiteralMultiStringContent () {\n do {\n if (this.char === CHAR_APOS) {\n return this.next(this.parseLiteralMultiEnd)\n } else if (this.char === Parser.END) {\n throw this.error(new TomlError('Unterminated multi-line string'))\n } else if (this.char === CHAR_DEL || (this.char <= CTRL_CHAR_BOUNDARY && this.char !== CTRL_I && this.char !== CTRL_J && this.char !== CTRL_M)) {\n throw this.errorControlCharInString()\n } else {\n this.consume()\n }\n } while (this.nextChar())\n }\n parseLiteralMultiEnd () {\n if (this.char === CHAR_APOS) {\n return this.next(this.parseLiteralMultiEnd2)\n } else {\n this.state.buf += \"'\"\n return this.goto(this.parseLiteralMultiStringContent)\n }\n }\n parseLiteralMultiEnd2 () {\n if (this.char === CHAR_APOS) {\n return this.return()\n } else {\n this.state.buf += \"''\"\n return this.goto(this.parseLiteralMultiStringContent)\n }\n }\n\n /* STRINGS double quoted */\n parseDoubleString () {\n if (this.char === CHAR_QUOT) {\n return this.next(this.parseMultiStringMaybe)\n } else {\n return this.goto(this.parseBasicString)\n }\n }\n parseBasicString () {\n do {\n if (this.char === CHAR_BSOL) {\n return this.call(this.parseEscape, this.recordEscapeReplacement)\n } else if (this.char === CHAR_QUOT) {\n return this.return()\n } else if (this.atEndOfLine()) {\n throw this.error(new TomlError('Unterminated string'))\n } else if (this.char === CHAR_DEL || (this.char <= CTRL_CHAR_BOUNDARY && this.char !== CTRL_I)) {\n throw this.errorControlCharInString()\n } else {\n this.consume()\n }\n } while (this.nextChar())\n }\n recordEscapeReplacement (replacement) {\n this.state.buf += replacement\n return this.goto(this.parseBasicString)\n }\n parseMultiStringMaybe () {\n if (this.char === CHAR_QUOT) {\n return this.next(this.parseMultiString)\n } else {\n return this.returnNow()\n }\n }\n parseMultiString () {\n if (this.char === CTRL_M) {\n return null\n } else if (this.char === CTRL_J) {\n return this.next(this.parseMultiStringContent)\n } else {\n return this.goto(this.parseMultiStringContent)\n }\n }\n parseMultiStringContent () {\n do {\n if (this.char === CHAR_BSOL) {\n return this.call(this.parseMultiEscape, this.recordMultiEscapeReplacement)\n } else if (this.char === CHAR_QUOT) {\n return this.next(this.parseMultiEnd)\n } else if (this.char === Parser.END) {\n throw this.error(new TomlError('Unterminated multi-line string'))\n } else if (this.char === CHAR_DEL || (this.char <= CTRL_CHAR_BOUNDARY && this.char !== CTRL_I && this.char !== CTRL_J && this.char !== CTRL_M)) {\n throw this.errorControlCharInString()\n } else {\n this.consume()\n }\n } while (this.nextChar())\n }\n errorControlCharInString () {\n let displayCode = '\\\\u00'\n if (this.char < 16) {\n displayCode += '0'\n }\n displayCode += this.char.toString(16)\n\n return this.error(new TomlError(`Control characters (codes < 0x1f and 0x7f) are not allowed in strings, use ${displayCode} instead`))\n }\n recordMultiEscapeReplacement (replacement) {\n this.state.buf += replacement\n return this.goto(this.parseMultiStringContent)\n }\n parseMultiEnd () {\n if (this.char === CHAR_QUOT) {\n return this.next(this.parseMultiEnd2)\n } else {\n this.state.buf += '\"'\n return this.goto(this.parseMultiStringContent)\n }\n }\n parseMultiEnd2 () {\n if (this.char === CHAR_QUOT) {\n return this.return()\n } else {\n this.state.buf += '\"\"'\n return this.goto(this.parseMultiStringContent)\n }\n }\n parseMultiEscape () {\n if (this.char === CTRL_M || this.char === CTRL_J) {\n return this.next(this.parseMultiTrim)\n } else if (this.char === CHAR_SP || this.char === CTRL_I) {\n return this.next(this.parsePreMultiTrim)\n } else {\n return this.goto(this.parseEscape)\n }\n }\n parsePreMultiTrim () {\n if (this.char === CHAR_SP || this.char === CTRL_I) {\n return null\n } else if (this.char === CTRL_M || this.char === CTRL_J) {\n return this.next(this.parseMultiTrim)\n } else {\n throw this.error(new TomlError(\"Can't escape whitespace\"))\n }\n }\n parseMultiTrim () {\n // explicitly whitespace here, END should follow the same path as chars\n if (this.char === CTRL_J || this.char === CHAR_SP || this.char === CTRL_I || this.char === CTRL_M) {\n return null\n } else {\n return this.returnNow()\n }\n }\n parseEscape () {\n if (this.char in escapes) {\n return this.return(escapes[this.char])\n } else if (this.char === CHAR_u) {\n return this.call(this.parseSmallUnicode, this.parseUnicodeReturn)\n } else if (this.char === CHAR_U) {\n return this.call(this.parseLargeUnicode, this.parseUnicodeReturn)\n } else {\n throw this.error(new TomlError('Unknown escape character: ' + this.char))\n }\n }\n parseUnicodeReturn (char) {\n try {\n const codePoint = parseInt(char, 16)\n if (codePoint >= SURROGATE_FIRST && codePoint <= SURROGATE_LAST) {\n throw this.error(new TomlError('Invalid unicode, character in range 0xD800 - 0xDFFF is reserved'))\n }\n return this.returnNow(String.fromCodePoint(codePoint))\n } catch (err) {\n throw this.error(TomlError.wrap(err))\n }\n }\n parseSmallUnicode () {\n if (!isHexit(this.char)) {\n throw this.error(new TomlError('Invalid character in unicode sequence, expected hex'))\n } else {\n this.consume()\n if (this.state.buf.length >= 4) return this.return()\n }\n }\n parseLargeUnicode () {\n if (!isHexit(this.char)) {\n throw this.error(new TomlError('Invalid character in unicode sequence, expected hex'))\n } else {\n this.consume()\n if (this.state.buf.length >= 8) return this.return()\n }\n }\n\n /* NUMBERS */\n parseNumberSign () {\n this.consume()\n return this.next(this.parseMaybeSignedInfOrNan)\n }\n parseMaybeSignedInfOrNan () {\n if (this.char === CHAR_i) {\n return this.next(this.parseInf)\n } else if (this.char === CHAR_n) {\n return this.next(this.parseNan)\n } else {\n return this.callNow(this.parseNoUnder, this.parseNumberIntegerStart)\n }\n }\n parseNumberIntegerStart () {\n if (this.char === CHAR_0) {\n this.consume()\n return this.next(this.parseNumberIntegerExponentOrDecimal)\n } else {\n return this.goto(this.parseNumberInteger)\n }\n }\n parseNumberIntegerExponentOrDecimal () {\n if (this.char === CHAR_PERIOD) {\n this.consume()\n return this.call(this.parseNoUnder, this.parseNumberFloat)\n } else if (this.char === CHAR_E || this.char === CHAR_e) {\n this.consume()\n return this.next(this.parseNumberExponentSign)\n } else {\n return this.returnNow(Integer(this.state.buf))\n }\n }\n parseNumberInteger () {\n if (isDigit(this.char)) {\n this.consume()\n } else if (this.char === CHAR_LOWBAR) {\n return this.call(this.parseNoUnder)\n } else if (this.char === CHAR_E || this.char === CHAR_e) {\n this.consume()\n return this.next(this.parseNumberExponentSign)\n } else if (this.char === CHAR_PERIOD) {\n this.consume()\n return this.call(this.parseNoUnder, this.parseNumberFloat)\n } else {\n const result = Integer(this.state.buf)\n /* istanbul ignore if */\n if (result.isNaN()) {\n throw this.error(new TomlError('Invalid number'))\n } else {\n return this.returnNow(result)\n }\n }\n }\n parseNoUnder () {\n if (this.char === CHAR_LOWBAR || this.char === CHAR_PERIOD || this.char === CHAR_E || this.char === CHAR_e) {\n throw this.error(new TomlError('Unexpected character, expected digit'))\n } else if (this.atEndOfWord()) {\n throw this.error(new TomlError('Incomplete number'))\n }\n return this.returnNow()\n }\n parseNoUnderHexOctBinLiteral () {\n if (this.char === CHAR_LOWBAR || this.char === CHAR_PERIOD) {\n throw this.error(new TomlError('Unexpected character, expected digit'))\n } else if (this.atEndOfWord()) {\n throw this.error(new TomlError('Incomplete number'))\n }\n return this.returnNow()\n }\n parseNumberFloat () {\n if (this.char === CHAR_LOWBAR) {\n return this.call(this.parseNoUnder, this.parseNumberFloat)\n } else if (isDigit(this.char)) {\n this.consume()\n } else if (this.char === CHAR_E || this.char === CHAR_e) {\n this.consume()\n return this.next(this.parseNumberExponentSign)\n } else {\n return this.returnNow(Float(this.state.buf))\n }\n }\n parseNumberExponentSign () {\n if (isDigit(this.char)) {\n return this.goto(this.parseNumberExponent)\n } else if (this.char === CHAR_HYPHEN || this.char === CHAR_PLUS) {\n this.consume()\n this.call(this.parseNoUnder, this.parseNumberExponent)\n } else {\n throw this.error(new TomlError('Unexpected character, expected -, + or digit'))\n }\n }\n parseNumberExponent () {\n if (isDigit(this.char)) {\n this.consume()\n } else if (this.char === CHAR_LOWBAR) {\n return this.call(this.parseNoUnder)\n } else {\n return this.returnNow(Float(this.state.buf))\n }\n }\n\n /* NUMBERS or DATETIMES */\n parseNumberOrDateTime () {\n if (this.char === CHAR_0) {\n this.consume()\n return this.next(this.parseNumberBaseOrDateTime)\n } else {\n return this.goto(this.parseNumberOrDateTimeOnly)\n }\n }\n parseNumberOrDateTimeOnly () {\n // note, if two zeros are in a row then it MUST be a date\n if (this.char === CHAR_LOWBAR) {\n return this.call(this.parseNoUnder, this.parseNumberInteger)\n } else if (isDigit(this.char)) {\n this.consume()\n if (this.state.buf.length > 4) this.next(this.parseNumberInteger)\n } else if (this.char === CHAR_E || this.char === CHAR_e) {\n this.consume()\n return this.next(this.parseNumberExponentSign)\n } else if (this.char === CHAR_PERIOD) {\n this.consume()\n return this.call(this.parseNoUnder, this.parseNumberFloat)\n } else if (this.char === CHAR_HYPHEN) {\n return this.goto(this.parseDateTime)\n } else if (this.char === CHAR_COLON) {\n return this.goto(this.parseOnlyTimeHour)\n } else {\n return this.returnNow(Integer(this.state.buf))\n }\n }\n parseDateTimeOnly () {\n if (this.state.buf.length < 4) {\n if (isDigit(this.char)) {\n return this.consume()\n } else if (this.char === CHAR_COLON) {\n return this.goto(this.parseOnlyTimeHour)\n } else {\n throw this.error(new TomlError('Expected digit while parsing year part of a date'))\n }\n } else {\n if (this.char === CHAR_HYPHEN) {\n return this.goto(this.parseDateTime)\n } else {\n throw this.error(new TomlError('Expected hyphen (-) while parsing year part of date'))\n }\n }\n }\n parseNumberBaseOrDateTime () {\n if (this.char === CHAR_b) {\n this.consume()\n return this.call(this.parseNoUnderHexOctBinLiteral, this.parseIntegerBin)\n } else if (this.char === CHAR_o) {\n this.consume()\n return this.call(this.parseNoUnderHexOctBinLiteral, this.parseIntegerOct)\n } else if (this.char === CHAR_x) {\n this.consume()\n return this.call(this.parseNoUnderHexOctBinLiteral, this.parseIntegerHex)\n } else if (this.char === CHAR_PERIOD) {\n return this.goto(this.parseNumberInteger)\n } else if (isDigit(this.char)) {\n return this.goto(this.parseDateTimeOnly)\n } else {\n return this.returnNow(Integer(this.state.buf))\n }\n }\n parseIntegerHex () {\n if (isHexit(this.char)) {\n this.consume()\n } else if (this.char === CHAR_LOWBAR) {\n return this.call(this.parseNoUnderHexOctBinLiteral)\n } else {\n const result = Integer(this.state.buf)\n /* istanbul ignore if */\n if (result.isNaN()) {\n throw this.error(new TomlError('Invalid number'))\n } else {\n return this.returnNow(result)\n }\n }\n }\n parseIntegerOct () {\n if (isOctit(this.char)) {\n this.consume()\n } else if (this.char === CHAR_LOWBAR) {\n return this.call(this.parseNoUnderHexOctBinLiteral)\n } else {\n const result = Integer(this.state.buf)\n /* istanbul ignore if */\n if (result.isNaN()) {\n throw this.error(new TomlError('Invalid number'))\n } else {\n return this.returnNow(result)\n }\n }\n }\n parseIntegerBin () {\n if (isBit(this.char)) {\n this.consume()\n } else if (this.char === CHAR_LOWBAR) {\n return this.call(this.parseNoUnderHexOctBinLiteral)\n } else {\n const result = Integer(this.state.buf)\n /* istanbul ignore if */\n if (result.isNaN()) {\n throw this.error(new TomlError('Invalid number'))\n } else {\n return this.returnNow(result)\n }\n }\n }\n\n /* DATETIME */\n parseDateTime () {\n // we enter here having just consumed the year and about to consume the hyphen\n if (this.state.buf.length < 4) {\n throw this.error(new TomlError('Years less than 1000 must be zero padded to four characters'))\n }\n this.state.result = this.state.buf\n this.state.buf = ''\n return this.next(this.parseDateMonth)\n }\n parseDateMonth () {\n if (this.char === CHAR_HYPHEN) {\n if (this.state.buf.length < 2) {\n throw this.error(new TomlError('Months less than 10 must be zero padded to two characters'))\n }\n this.state.result += '-' + this.state.buf\n this.state.buf = ''\n return this.next(this.parseDateDay)\n } else if (isDigit(this.char)) {\n this.consume()\n } else {\n throw this.error(new TomlError('Incomplete datetime'))\n }\n }\n parseDateDay () {\n if (this.char === CHAR_T || this.char === CHAR_SP) {\n if (this.state.buf.length < 2) {\n throw this.error(new TomlError('Days less than 10 must be zero padded to two characters'))\n }\n this.state.result += '-' + this.state.buf\n this.state.buf = ''\n return this.next(this.parseStartTimeHour)\n } else if (this.atEndOfWord()) {\n return this.returnNow(createDate(this.state.result + '-' + this.state.buf))\n } else if (isDigit(this.char)) {\n this.consume()\n } else {\n throw this.error(new TomlError('Incomplete datetime'))\n }\n }\n parseStartTimeHour () {\n if (this.atEndOfWord()) {\n return this.returnNow(createDate(this.state.result))\n } else {\n return this.goto(this.parseTimeHour)\n }\n }\n parseTimeHour () {\n if (this.char === CHAR_COLON) {\n if (this.state.buf.length < 2) {\n throw this.error(new TomlError('Hours less than 10 must be zero padded to two characters'))\n }\n this.state.result += 'T' + this.state.buf\n this.state.buf = ''\n return this.next(this.parseTimeMin)\n } else if (isDigit(this.char)) {\n this.consume()\n } else {\n throw this.error(new TomlError('Incomplete datetime'))\n }\n }\n parseTimeMin () {\n if (this.state.buf.length < 2 && isDigit(this.char)) {\n this.consume()\n } else if (this.state.buf.length === 2 && this.char === CHAR_COLON) {\n this.state.result += ':' + this.state.buf\n this.state.buf = ''\n return this.next(this.parseTimeSec)\n } else {\n throw this.error(new TomlError('Incomplete datetime'))\n }\n }\n parseTimeSec () {\n if (isDigit(this.char)) {\n this.consume()\n if (this.state.buf.length === 2) {\n this.state.result += ':' + this.state.buf\n this.state.buf = ''\n return this.next(this.parseTimeZoneOrFraction)\n }\n } else {\n throw this.error(new TomlError('Incomplete datetime'))\n }\n }\n\n parseOnlyTimeHour () {\n /* istanbul ignore else */\n if (this.char === CHAR_COLON) {\n if (this.state.buf.length < 2) {\n throw this.error(new TomlError('Hours less than 10 must be zero padded to two characters'))\n }\n this.state.result = this.state.buf\n this.state.buf = ''\n return this.next(this.parseOnlyTimeMin)\n } else {\n throw this.error(new TomlError('Incomplete time'))\n }\n }\n parseOnlyTimeMin () {\n if (this.state.buf.length < 2 && isDigit(this.char)) {\n this.consume()\n } else if (this.state.buf.length === 2 && this.char === CHAR_COLON) {\n this.state.result += ':' + this.state.buf\n this.state.buf = ''\n return this.next(this.parseOnlyTimeSec)\n } else {\n throw this.error(new TomlError('Incomplete time'))\n }\n }\n parseOnlyTimeSec () {\n if (isDigit(this.char)) {\n this.consume()\n if (this.state.buf.length === 2) {\n return this.next(this.parseOnlyTimeFractionMaybe)\n }\n } else {\n throw this.error(new TomlError('Incomplete time'))\n }\n }\n parseOnlyTimeFractionMaybe () {\n this.state.result += ':' + this.state.buf\n if (this.char === CHAR_PERIOD) {\n this.state.buf = ''\n this.next(this.parseOnlyTimeFraction)\n } else {\n return this.return(createTime(this.state.result))\n }\n }\n parseOnlyTimeFraction () {\n if (isDigit(this.char)) {\n this.consume()\n } else if (this.atEndOfWord()) {\n if (this.state.buf.length === 0) throw this.error(new TomlError('Expected digit in milliseconds'))\n return this.returnNow(createTime(this.state.result + '.' + this.state.buf))\n } else {\n throw this.error(new TomlError('Unexpected character in datetime, expected period (.), minus (-), plus (+) or Z'))\n }\n }\n\n parseTimeZoneOrFraction () {\n if (this.char === CHAR_PERIOD) {\n this.consume()\n this.next(this.parseDateTimeFraction)\n } else if (this.char === CHAR_HYPHEN || this.char === CHAR_PLUS) {\n this.consume()\n this.next(this.parseTimeZoneHour)\n } else if (this.char === CHAR_Z) {\n this.consume()\n return this.return(createDateTime(this.state.result + this.state.buf))\n } else if (this.atEndOfWord()) {\n return this.returnNow(createDateTimeFloat(this.state.result + this.state.buf))\n } else {\n throw this.error(new TomlError('Unexpected character in datetime, expected period (.), minus (-), plus (+) or Z'))\n }\n }\n parseDateTimeFraction () {\n if (isDigit(this.char)) {\n this.consume()\n } else if (this.state.buf.length === 1) {\n throw this.error(new TomlError('Expected digit in milliseconds'))\n } else if (this.char === CHAR_HYPHEN || this.char === CHAR_PLUS) {\n this.consume()\n this.next(this.parseTimeZoneHour)\n } else if (this.char === CHAR_Z) {\n this.consume()\n return this.return(createDateTime(this.state.result + this.state.buf))\n } else if (this.atEndOfWord()) {\n return this.returnNow(createDateTimeFloat(this.state.result + this.state.buf))\n } else {\n throw this.error(new TomlError('Unexpected character in datetime, expected period (.), minus (-), plus (+) or Z'))\n }\n }\n parseTimeZoneHour () {\n if (isDigit(this.char)) {\n this.consume()\n // FIXME: No more regexps\n if (/\\d\\d$/.test(this.state.buf)) return this.next(this.parseTimeZoneSep)\n } else {\n throw this.error(new TomlError('Unexpected character in datetime, expected digit'))\n }\n }\n parseTimeZoneSep () {\n if (this.char === CHAR_COLON) {\n this.consume()\n this.next(this.parseTimeZoneMin)\n } else {\n throw this.error(new TomlError('Unexpected character in datetime, expected colon'))\n }\n }\n parseTimeZoneMin () {\n if (isDigit(this.char)) {\n this.consume()\n if (/\\d\\d$/.test(this.state.buf)) return this.return(createDateTime(this.state.result + this.state.buf))\n } else {\n throw this.error(new TomlError('Unexpected character in datetime, expected digit'))\n }\n }\n\n /* BOOLEAN */\n parseBoolean () {\n /* istanbul ignore else */\n if (this.char === CHAR_t) {\n this.consume()\n return this.next(this.parseTrue_r)\n } else if (this.char === CHAR_f) {\n this.consume()\n return this.next(this.parseFalse_a)\n }\n }\n parseTrue_r () {\n if (this.char === CHAR_r) {\n this.consume()\n return this.next(this.parseTrue_u)\n } else {\n throw this.error(new TomlError('Invalid boolean, expected true or false'))\n }\n }\n parseTrue_u () {\n if (this.char === CHAR_u) {\n this.consume()\n return this.next(this.parseTrue_e)\n } else {\n throw this.error(new TomlError('Invalid boolean, expected true or false'))\n }\n }\n parseTrue_e () {\n if (this.char === CHAR_e) {\n return this.return(true)\n } else {\n throw this.error(new TomlError('Invalid boolean, expected true or false'))\n }\n }\n\n parseFalse_a () {\n if (this.char === CHAR_a) {\n this.consume()\n return this.next(this.parseFalse_l)\n } else {\n throw this.error(new TomlError('Invalid boolean, expected true or false'))\n }\n }\n\n parseFalse_l () {\n if (this.char === CHAR_l) {\n this.consume()\n return this.next(this.parseFalse_s)\n } else {\n throw this.error(new TomlError('Invalid boolean, expected true or false'))\n }\n }\n\n parseFalse_s () {\n if (this.char === CHAR_s) {\n this.consume()\n return this.next(this.parseFalse_e)\n } else {\n throw this.error(new TomlError('Invalid boolean, expected true or false'))\n }\n }\n\n parseFalse_e () {\n if (this.char === CHAR_e) {\n return this.return(false)\n } else {\n throw this.error(new TomlError('Invalid boolean, expected true or false'))\n }\n }\n\n /* INLINE LISTS */\n parseInlineList () {\n if (this.char === CHAR_SP || this.char === CTRL_I || this.char === CTRL_M || this.char === CTRL_J) {\n return null\n } else if (this.char === Parser.END) {\n throw this.error(new TomlError('Unterminated inline array'))\n } else if (this.char === CHAR_NUM) {\n return this.call(this.parseComment)\n } else if (this.char === CHAR_RSQB) {\n return this.return(this.state.resultArr || InlineList())\n } else {\n return this.callNow(this.parseValue, this.recordInlineListValue)\n }\n }\n recordInlineListValue (value) {\n if (this.state.resultArr) {\n const listType = this.state.resultArr[_contentType]\n const valueType = tomlType(value)\n if (listType !== valueType) {\n throw this.error(new TomlError(`Inline lists must be a single type, not a mix of ${listType} and ${valueType}`))\n }\n } else {\n this.state.resultArr = InlineList(tomlType(value))\n }\n if (isFloat(value) || isInteger(value)) {\n // unbox now that we've verified they're ok\n this.state.resultArr.push(value.valueOf())\n } else {\n this.state.resultArr.push(value)\n }\n return this.goto(this.parseInlineListNext)\n }\n parseInlineListNext () {\n if (this.char === CHAR_SP || this.char === CTRL_I || this.char === CTRL_M || this.char === CTRL_J) {\n return null\n } else if (this.char === CHAR_NUM) {\n return this.call(this.parseComment)\n } else if (this.char === CHAR_COMMA) {\n return this.next(this.parseInlineList)\n } else if (this.char === CHAR_RSQB) {\n return this.goto(this.parseInlineList)\n } else {\n throw this.error(new TomlError('Invalid character, expected whitespace, comma (,) or close bracket (])'))\n }\n }\n\n /* INLINE TABLE */\n parseInlineTable () {\n if (this.char === CHAR_SP || this.char === CTRL_I) {\n return null\n } else if (this.char === Parser.END || this.char === CHAR_NUM || this.char === CTRL_J || this.char === CTRL_M) {\n throw this.error(new TomlError('Unterminated inline array'))\n } else if (this.char === CHAR_RCUB) {\n return this.return(this.state.resultTable || InlineTable())\n } else {\n if (!this.state.resultTable) this.state.resultTable = InlineTable()\n return this.callNow(this.parseAssign, this.recordInlineTableValue)\n }\n }\n recordInlineTableValue (kv) {\n let target = this.state.resultTable\n let finalKey = kv.key.pop()\n for (let kw of kv.key) {\n if (hasKey(target, kw) && (!isTable(target[kw]) || target[kw][_declared])) {\n throw this.error(new TomlError(\"Can't redefine existing key\"))\n }\n target = target[kw] = target[kw] || Table()\n }\n if (hasKey(target, finalKey)) {\n throw this.error(new TomlError(\"Can't redefine existing key\"))\n }\n if (isInteger(kv.value) || isFloat(kv.value)) {\n target[finalKey] = kv.value.valueOf()\n } else {\n target[finalKey] = kv.value\n }\n return this.goto(this.parseInlineTableNext)\n }\n parseInlineTableNext () {\n if (this.char === CHAR_SP || this.char === CTRL_I) {\n return null\n } else if (this.char === Parser.END || this.char === CHAR_NUM || this.char === CTRL_J || this.char === CTRL_M) {\n throw this.error(new TomlError('Unterminated inline array'))\n } else if (this.char === CHAR_COMMA) {\n return this.next(this.parseInlineTable)\n } else if (this.char === CHAR_RCUB) {\n return this.goto(this.parseInlineTable)\n } else {\n throw this.error(new TomlError('Invalid character, expected whitespace, comma (,) or close bracket (])'))\n }\n }\n }\n return TOMLParser\n}\n","'use strict'\nconst ParserEND = 0x110000\nclass ParserError extends Error {\n /* istanbul ignore next */\n constructor (msg, filename, linenumber) {\n super('[ParserError] ' + msg, filename, linenumber)\n this.name = 'ParserError'\n this.code = 'ParserError'\n if (Error.captureStackTrace) Error.captureStackTrace(this, ParserError)\n }\n}\nclass State {\n constructor (parser) {\n this.parser = parser\n this.buf = ''\n this.returned = null\n this.result = null\n this.resultTable = null\n this.resultArr = null\n }\n}\nclass Parser {\n constructor () {\n this.pos = 0\n this.col = 0\n this.line = 0\n this.obj = {}\n this.ctx = this.obj\n this.stack = []\n this._buf = ''\n this.char = null\n this.ii = 0\n this.state = new State(this.parseStart)\n }\n\n parse (str) {\n /* istanbul ignore next */\n if (str.length === 0 || str.length == null) return\n\n this._buf = String(str)\n this.ii = -1\n this.char = -1\n let getNext\n while (getNext === false || this.nextChar()) {\n getNext = this.runOne()\n }\n this._buf = null\n }\n nextChar () {\n if (this.char === 0x0A) {\n ++this.line\n this.col = -1\n }\n ++this.ii\n this.char = this._buf.codePointAt(this.ii)\n ++this.pos\n ++this.col\n return this.haveBuffer()\n }\n haveBuffer () {\n return this.ii < this._buf.length\n }\n runOne () {\n return this.state.parser.call(this, this.state.returned)\n }\n finish () {\n this.char = ParserEND\n let last\n do {\n last = this.state.parser\n this.runOne()\n } while (this.state.parser !== last)\n\n this.ctx = null\n this.state = null\n this._buf = null\n\n return this.obj\n }\n next (fn) {\n /* istanbul ignore next */\n if (typeof fn !== 'function') throw new ParserError('Tried to set state to non-existent state: ' + JSON.stringify(fn))\n this.state.parser = fn\n }\n goto (fn) {\n this.next(fn)\n return this.runOne()\n }\n call (fn, returnWith) {\n if (returnWith) this.next(returnWith)\n this.stack.push(this.state)\n this.state = new State(fn)\n }\n callNow (fn, returnWith) {\n this.call(fn, returnWith)\n return this.runOne()\n }\n return (value) {\n /* istanbul ignore next */\n if (this.stack.length === 0) throw this.error(new ParserError('Stack underflow'))\n if (value === undefined) value = this.state.buf\n this.state = this.stack.pop()\n this.state.returned = value\n }\n returnNow (value) {\n this.return(value)\n return this.runOne()\n }\n consume () {\n /* istanbul ignore next */\n if (this.char === ParserEND) throw this.error(new ParserError('Unexpected end-of-buffer'))\n this.state.buf += this._buf[this.ii]\n }\n error (err) {\n err.line = this.line\n err.col = this.col\n err.pos = this.pos\n return err\n }\n /* istanbul ignore next */\n parseStart () {\n throw new ParserError('Must declare a parseStart method')\n }\n}\nParser.END = ParserEND\nParser.Error = ParserError\nmodule.exports = Parser\n","'use strict'\nmodule.exports = value => {\n const date = new Date(value)\n /* istanbul ignore if */\n if (isNaN(date)) {\n throw new TypeError('Invalid Datetime')\n } else {\n return date\n }\n}\n","'use strict'\nconst f = require('./format-num.js')\n\nclass FloatingDateTime extends Date {\n constructor (value) {\n super(value + 'Z')\n this.isFloating = true\n }\n toISOString () {\n const date = `${this.getUTCFullYear()}-${f(2, this.getUTCMonth() + 1)}-${f(2, this.getUTCDate())}`\n const time = `${f(2, this.getUTCHours())}:${f(2, this.getUTCMinutes())}:${f(2, this.getUTCSeconds())}.${f(3, this.getUTCMilliseconds())}`\n return `${date}T${time}`\n }\n}\n\nmodule.exports = value => {\n const date = new FloatingDateTime(value)\n /* istanbul ignore if */\n if (isNaN(date)) {\n throw new TypeError('Invalid Datetime')\n } else {\n return date\n }\n}\n","'use strict'\nmodule.exports = (d, num) => {\n num = String(num)\n while (num.length < d) num = '0' + num\n return num\n}\n","'use strict'\nconst f = require('./format-num.js')\nconst DateTime = global.Date\n\nclass Date extends DateTime {\n constructor (value) {\n super(value)\n this.isDate = true\n }\n toISOString () {\n return `${this.getUTCFullYear()}-${f(2, this.getUTCMonth() + 1)}-${f(2, this.getUTCDate())}`\n }\n}\n\nmodule.exports = value => {\n const date = new Date(value)\n /* istanbul ignore if */\n if (isNaN(date)) {\n throw new TypeError('Invalid Datetime')\n } else {\n return date\n }\n}\n","'use strict'\nconst f = require('./format-num.js')\n\nclass Time extends Date {\n constructor (value) {\n super(`0000-01-01T${value}Z`)\n this.isTime = true\n }\n toISOString () {\n return `${f(2, this.getUTCHours())}:${f(2, this.getUTCMinutes())}:${f(2, this.getUTCSeconds())}.${f(3, this.getUTCMilliseconds())}`\n }\n}\n\nmodule.exports = value => {\n const date = new Time(value)\n /* istanbul ignore if */\n if (isNaN(date)) {\n throw new TypeError('Invalid Datetime')\n } else {\n return date\n }\n}\n","'use strict'\nmodule.exports = prettyError\n\nfunction prettyError (err, buf) {\n /* istanbul ignore if */\n if (err.pos == null || err.line == null) return err\n let msg = err.message\n msg += ` at row ${err.line + 1}, col ${err.col + 1}, pos ${err.pos}:\\n`\n\n /* istanbul ignore else */\n if (buf && buf.split) {\n const lines = buf.split(/\\n/)\n const lineNumWidth = String(Math.min(lines.length, err.line + 3)).length\n let linePadding = ' '\n while (linePadding.length < lineNumWidth) linePadding += ' '\n for (let ii = Math.max(0, err.line - 1); ii < Math.min(lines.length, err.line + 2); ++ii) {\n let lineNum = String(ii + 1)\n if (lineNum.length < lineNumWidth) lineNum = ' ' + lineNum\n if (err.line === ii) {\n msg += lineNum + '> ' + lines[ii] + '\\n'\n msg += linePadding + ' '\n for (let hh = 0; hh < err.col; ++hh) {\n msg += ' '\n }\n msg += '^\\n'\n } else {\n msg += lineNum + ': ' + lines[ii] + '\\n'\n }\n }\n }\n err.message = msg + '\\n'\n return err\n}\n","'use strict'\nmodule.exports = parseAsync\n\nconst TOMLParser = require('./lib/toml-parser.js')\nconst prettyError = require('./parse-pretty-error.js')\n\nfunction parseAsync (str, opts) {\n if (!opts) opts = {}\n const index = 0\n const blocksize = opts.blocksize || 40960\n const parser = new TOMLParser()\n return new Promise((resolve, reject) => {\n setImmediate(parseAsyncNext, index, blocksize, resolve, reject)\n })\n function parseAsyncNext (index, blocksize, resolve, reject) {\n if (index >= str.length) {\n try {\n return resolve(parser.finish())\n } catch (err) {\n return reject(prettyError(err, str))\n }\n }\n try {\n parser.parse(str.slice(index, index + blocksize))\n setImmediate(parseAsyncNext, index + blocksize, blocksize, resolve, reject)\n } catch (err) {\n reject(prettyError(err, str))\n }\n }\n}\n","'use strict'\nmodule.exports = parseStream\n\nconst stream = require('stream')\nconst TOMLParser = require('./lib/toml-parser.js')\n\nfunction parseStream (stm) {\n if (stm) {\n return parseReadable(stm)\n } else {\n return parseTransform(stm)\n }\n}\n\nfunction parseReadable (stm) {\n const parser = new TOMLParser()\n stm.setEncoding('utf8')\n return new Promise((resolve, reject) => {\n let readable\n let ended = false\n let errored = false\n function finish () {\n ended = true\n if (readable) return\n try {\n resolve(parser.finish())\n } catch (err) {\n reject(err)\n }\n }\n function error (err) {\n errored = true\n reject(err)\n }\n stm.once('end', finish)\n stm.once('error', error)\n readNext()\n\n function readNext () {\n readable = true\n let data\n while ((data = stm.read()) !== null) {\n try {\n parser.parse(data)\n } catch (err) {\n return error(err)\n }\n }\n readable = false\n /* istanbul ignore if */\n if (ended) return finish()\n /* istanbul ignore if */\n if (errored) return\n stm.once('readable', readNext)\n }\n })\n}\n\nfunction parseTransform () {\n const parser = new TOMLParser()\n return new stream.Transform({\n objectMode: true,\n transform (chunk, encoding, cb) {\n try {\n parser.parse(chunk.toString(encoding))\n } catch (err) {\n this.emit('error', err)\n }\n cb()\n },\n flush (cb) {\n try {\n this.push(parser.finish())\n } catch (err) {\n this.emit('error', err)\n }\n cb()\n }\n })\n}\n","'use strict'\nmodule.exports = stringify\nmodule.exports.value = stringifyInline\n\nfunction stringify (obj) {\n if (obj === null) throw typeError('null')\n if (obj === void (0)) throw typeError('undefined')\n if (typeof obj !== 'object') throw typeError(typeof obj)\n\n if (typeof obj.toJSON === 'function') obj = obj.toJSON()\n if (obj == null) return null\n const type = tomlType(obj)\n if (type !== 'table') throw typeError(type)\n return stringifyObject('', '', obj)\n}\n\nfunction typeError (type) {\n return new Error('Can only stringify objects, not ' + type)\n}\n\nfunction arrayOneTypeError () {\n return new Error(\"Array values can't have mixed types\")\n}\n\nfunction getInlineKeys (obj) {\n return Object.keys(obj).filter(key => isInline(obj[key]))\n}\nfunction getComplexKeys (obj) {\n return Object.keys(obj).filter(key => !isInline(obj[key]))\n}\n\nfunction toJSON (obj) {\n let nobj = Array.isArray(obj) ? [] : Object.prototype.hasOwnProperty.call(obj, '__proto__') ? {['__proto__']: undefined} : {}\n for (let prop of Object.keys(obj)) {\n if (obj[prop] && typeof obj[prop].toJSON === 'function' && !('toISOString' in obj[prop])) {\n nobj[prop] = obj[prop].toJSON()\n } else {\n nobj[prop] = obj[prop]\n }\n }\n return nobj\n}\n\nfunction stringifyObject (prefix, indent, obj) {\n obj = toJSON(obj)\n var inlineKeys\n var complexKeys\n inlineKeys = getInlineKeys(obj)\n complexKeys = getComplexKeys(obj)\n var result = []\n var inlineIndent = indent || ''\n inlineKeys.forEach(key => {\n var type = tomlType(obj[key])\n if (type !== 'undefined' && type !== 'null') {\n result.push(inlineIndent + stringifyKey(key) + ' = ' + stringifyAnyInline(obj[key], true))\n }\n })\n if (result.length > 0) result.push('')\n var complexIndent = prefix && inlineKeys.length > 0 ? indent + ' ' : ''\n complexKeys.forEach(key => {\n result.push(stringifyComplex(prefix, complexIndent, key, obj[key]))\n })\n return result.join('\\n')\n}\n\nfunction isInline (value) {\n switch (tomlType(value)) {\n case 'undefined':\n case 'null':\n case 'integer':\n case 'nan':\n case 'float':\n case 'boolean':\n case 'string':\n case 'datetime':\n return true\n case 'array':\n return value.length === 0 || tomlType(value[0]) !== 'table'\n case 'table':\n return Object.keys(value).length === 0\n /* istanbul ignore next */\n default:\n return false\n }\n}\n\nfunction tomlType (value) {\n if (value === undefined) {\n return 'undefined'\n } else if (value === null) {\n return 'null'\n /* eslint-disable valid-typeof */\n } else if (typeof value === 'bigint' || (Number.isInteger(value) && !Object.is(value, -0))) {\n return 'integer'\n } else if (typeof value === 'number') {\n return 'float'\n } else if (typeof value === 'boolean') {\n return 'boolean'\n } else if (typeof value === 'string') {\n return 'string'\n } else if ('toISOString' in value) {\n return isNaN(value) ? 'undefined' : 'datetime'\n } else if (Array.isArray(value)) {\n return 'array'\n } else {\n return 'table'\n }\n}\n\nfunction stringifyKey (key) {\n var keyStr = String(key)\n if (/^[-A-Za-z0-9_]+$/.test(keyStr)) {\n return keyStr\n } else {\n return stringifyBasicString(keyStr)\n }\n}\n\nfunction stringifyBasicString (str) {\n return '\"' + escapeString(str).replace(/\"/g, '\\\\\"') + '\"'\n}\n\nfunction stringifyLiteralString (str) {\n return \"'\" + str + \"'\"\n}\n\nfunction numpad (num, str) {\n while (str.length < num) str = '0' + str\n return str\n}\n\nfunction escapeString (str) {\n return str.replace(/\\\\/g, '\\\\\\\\')\n .replace(/[\\b]/g, '\\\\b')\n .replace(/\\t/g, '\\\\t')\n .replace(/\\n/g, '\\\\n')\n .replace(/\\f/g, '\\\\f')\n .replace(/\\r/g, '\\\\r')\n /* eslint-disable no-control-regex */\n .replace(/([\\u0000-\\u001f\\u007f])/, c => '\\\\u' + numpad(4, c.codePointAt(0).toString(16)))\n /* eslint-enable no-control-regex */\n}\n\nfunction stringifyMultilineString (str) {\n let escaped = str.split(/\\n/).map(str => {\n return escapeString(str).replace(/\"(?=\"\")/g, '\\\\\"')\n }).join('\\n')\n if (escaped.slice(-1) === '\"') escaped += '\\\\\\n'\n return '\"\"\"\\n' + escaped + '\"\"\"'\n}\n\nfunction stringifyAnyInline (value, multilineOk) {\n let type = tomlType(value)\n if (type === 'string') {\n if (multilineOk && /\\n/.test(value)) {\n type = 'string-multiline'\n } else if (!/[\\b\\t\\n\\f\\r']/.test(value) && /\"/.test(value)) {\n type = 'string-literal'\n }\n }\n return stringifyInline(value, type)\n}\n\nfunction stringifyInline (value, type) {\n /* istanbul ignore if */\n if (!type) type = tomlType(value)\n switch (type) {\n case 'string-multiline':\n return stringifyMultilineString(value)\n case 'string':\n return stringifyBasicString(value)\n case 'string-literal':\n return stringifyLiteralString(value)\n case 'integer':\n return stringifyInteger(value)\n case 'float':\n return stringifyFloat(value)\n case 'boolean':\n return stringifyBoolean(value)\n case 'datetime':\n return stringifyDatetime(value)\n case 'array':\n return stringifyInlineArray(value.filter(_ => tomlType(_) !== 'null' && tomlType(_) !== 'undefined' && tomlType(_) !== 'nan'))\n case 'table':\n return stringifyInlineTable(value)\n /* istanbul ignore next */\n default:\n throw typeError(type)\n }\n}\n\nfunction stringifyInteger (value) {\n /* eslint-disable security/detect-unsafe-regex */\n return String(value).replace(/\\B(?=(\\d{3})+(?!\\d))/g, '_')\n}\n\nfunction stringifyFloat (value) {\n if (value === Infinity) {\n return 'inf'\n } else if (value === -Infinity) {\n return '-inf'\n } else if (Object.is(value, NaN)) {\n return 'nan'\n } else if (Object.is(value, -0)) {\n return '-0.0'\n }\n var chunks = String(value).split('.')\n var int = chunks[0]\n var dec = chunks[1] || 0\n return stringifyInteger(int) + '.' + dec\n}\n\nfunction stringifyBoolean (value) {\n return String(value)\n}\n\nfunction stringifyDatetime (value) {\n return value.toISOString()\n}\n\nfunction isNumber (type) {\n return type === 'float' || type === 'integer'\n}\nfunction arrayType (values) {\n var contentType = tomlType(values[0])\n if (values.every(_ => tomlType(_) === contentType)) return contentType\n // mixed integer/float, emit as floats\n if (values.every(_ => isNumber(tomlType(_)))) return 'float'\n return 'mixed'\n}\nfunction validateArray (values) {\n const type = arrayType(values)\n if (type === 'mixed') {\n throw arrayOneTypeError()\n }\n return type\n}\n\nfunction stringifyInlineArray (values) {\n values = toJSON(values)\n const type = validateArray(values)\n var result = '['\n var stringified = values.map(_ => stringifyInline(_, type))\n if (stringified.join(', ').length > 60 || /\\n/.test(stringified)) {\n result += '\\n ' + stringified.join(',\\n ') + '\\n'\n } else {\n result += ' ' + stringified.join(', ') + (stringified.length > 0 ? ' ' : '')\n }\n return result + ']'\n}\n\nfunction stringifyInlineTable (value) {\n value = toJSON(value)\n var result = []\n Object.keys(value).forEach(key => {\n result.push(stringifyKey(key) + ' = ' + stringifyAnyInline(value[key], false))\n })\n return '{ ' + result.join(', ') + (result.length > 0 ? ' ' : '') + '}'\n}\n\nfunction stringifyComplex (prefix, indent, key, value) {\n var valueType = tomlType(value)\n /* istanbul ignore else */\n if (valueType === 'array') {\n return stringifyArrayOfTables(prefix, indent, key, value)\n } else if (valueType === 'table') {\n return stringifyComplexTable(prefix, indent, key, value)\n } else {\n throw typeError(valueType)\n }\n}\n\nfunction stringifyArrayOfTables (prefix, indent, key, values) {\n values = toJSON(values)\n validateArray(values)\n var firstValueType = tomlType(values[0])\n /* istanbul ignore if */\n if (firstValueType !== 'table') throw typeError(firstValueType)\n var fullKey = prefix + stringifyKey(key)\n var result = ''\n values.forEach(table => {\n if (result.length > 0) result += '\\n'\n result += indent + '[[' + fullKey + ']]\\n'\n result += stringifyObject(fullKey + '.', indent, table)\n })\n return result\n}\n\nfunction stringifyComplexTable (prefix, indent, key, value) {\n var fullKey = prefix + stringifyKey(key)\n var result = ''\n if (getInlineKeys(value).length > 0) {\n result += indent + '[' + fullKey + ']\\n'\n }\n return result + stringifyObject(fullKey + '.', indent, value)\n}\n","import * as path from 'path';\nimport * as core from '@actions/core';\nimport * as tc from '@actions/tool-cache';\nimport * as exec from '@actions/exec';\nimport {ExecOptions} from '@actions/exec/lib/interfaces';\nimport {IS_WINDOWS, IS_LINUX} from './utils';\n\nconst TOKEN = core.getInput('token');\nconst AUTH = !TOKEN ? undefined : `token ${TOKEN}`;\nconst MANIFEST_REPO_OWNER = 'actions';\nconst MANIFEST_REPO_NAME = 'python-versions';\nconst MANIFEST_REPO_BRANCH = 'main';\nexport const MANIFEST_URL = `https://raw.githubusercontent.com/${MANIFEST_REPO_OWNER}/${MANIFEST_REPO_NAME}/${MANIFEST_REPO_BRANCH}/versions-manifest.json`;\n\nexport async function findReleaseFromManifest(\n semanticVersionSpec: string,\n architecture: string,\n manifest: tc.IToolRelease[] | null\n): Promise {\n if (!manifest) {\n manifest = await getManifest();\n }\n\n const foundRelease = await tc.findFromManifest(\n semanticVersionSpec,\n false,\n manifest,\n architecture\n );\n\n return foundRelease;\n}\n\nexport function getManifest(): Promise {\n core.debug(\n `Getting manifest from ${MANIFEST_REPO_OWNER}/${MANIFEST_REPO_NAME}@${MANIFEST_REPO_BRANCH}`\n );\n return tc.getManifestFromRepo(\n MANIFEST_REPO_OWNER,\n MANIFEST_REPO_NAME,\n AUTH,\n MANIFEST_REPO_BRANCH\n );\n}\n\nasync function installPython(workingDirectory: string) {\n const options: ExecOptions = {\n cwd: workingDirectory,\n env: {\n ...process.env,\n ...(IS_LINUX && {LD_LIBRARY_PATH: path.join(workingDirectory, 'lib')})\n },\n silent: true,\n listeners: {\n stdout: (data: Buffer) => {\n core.info(data.toString().trim());\n },\n stderr: (data: Buffer) => {\n core.error(data.toString().trim());\n }\n }\n };\n\n if (IS_WINDOWS) {\n await exec.exec('powershell', ['./setup.ps1'], options);\n } else {\n await exec.exec('bash', ['./setup.sh'], options);\n }\n}\n\nexport async function installCpythonFromRelease(release: tc.IToolRelease) {\n const downloadUrl = release.files[0].download_url;\n\n core.info(`Download from \"${downloadUrl}\"`);\n let pythonPath = '';\n try {\n pythonPath = await tc.downloadTool(downloadUrl, undefined, AUTH);\n core.info('Extract downloaded archive');\n let pythonExtractedFolder;\n if (IS_WINDOWS) {\n pythonExtractedFolder = await tc.extractZip(pythonPath);\n } else {\n pythonExtractedFolder = await tc.extractTar(pythonPath);\n }\n\n core.info('Execute installation script');\n await installPython(pythonExtractedFolder);\n } catch (err) {\n if (err instanceof tc.HTTPError) {\n // Rate limit?\n if (err.httpStatusCode === 403 || err.httpStatusCode === 429) {\n core.info(\n `Received HTTP status code ${err.httpStatusCode}. This usually indicates the rate limit has been exceeded`\n );\n } else {\n core.info(err.message);\n }\n if (err.stack) {\n core.debug(err.stack);\n }\n }\n throw err;\n }\n}\n",null,null,null,null,"exports = module.exports = SemVer\n\nvar debug\n/* istanbul ignore next */\nif (typeof process === 'object' &&\n process.env &&\n process.env.NODE_DEBUG &&\n /\\bsemver\\b/i.test(process.env.NODE_DEBUG)) {\n debug = function () {\n var args = Array.prototype.slice.call(arguments, 0)\n args.unshift('SEMVER')\n console.log.apply(console, args)\n }\n} else {\n debug = function () {}\n}\n\n// Note: this is the semver.org version of the spec that it implements\n// Not necessarily the package version of this code.\nexports.SEMVER_SPEC_VERSION = '2.0.0'\n\nvar MAX_LENGTH = 256\nvar MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER ||\n /* istanbul ignore next */ 9007199254740991\n\n// Max safe segment length for coercion.\nvar MAX_SAFE_COMPONENT_LENGTH = 16\n\nvar MAX_SAFE_BUILD_LENGTH = MAX_LENGTH - 6\n\n// The actual regexps go on exports.re\nvar re = exports.re = []\nvar safeRe = exports.safeRe = []\nvar src = exports.src = []\nvar t = exports.tokens = {}\nvar R = 0\n\nfunction tok (n) {\n t[n] = R++\n}\n\nvar LETTERDASHNUMBER = '[a-zA-Z0-9-]'\n\n// Replace some greedy regex tokens to prevent regex dos issues. These regex are\n// used internally via the safeRe object since all inputs in this library get\n// normalized first to trim and collapse all extra whitespace. The original\n// regexes are exported for userland consumption and lower level usage. A\n// future breaking change could export the safer regex only with a note that\n// all input should have extra whitespace removed.\nvar safeRegexReplacements = [\n ['\\\\s', 1],\n ['\\\\d', MAX_LENGTH],\n [LETTERDASHNUMBER, MAX_SAFE_BUILD_LENGTH],\n]\n\nfunction makeSafeRe (value) {\n for (var i = 0; i < safeRegexReplacements.length; i++) {\n var token = safeRegexReplacements[i][0]\n var max = safeRegexReplacements[i][1]\n value = value\n .split(token + '*').join(token + '{0,' + max + '}')\n .split(token + '+').join(token + '{1,' + max + '}')\n }\n return value\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\ntok('NUMERICIDENTIFIER')\nsrc[t.NUMERICIDENTIFIER] = '0|[1-9]\\\\d*'\ntok('NUMERICIDENTIFIERLOOSE')\nsrc[t.NUMERICIDENTIFIERLOOSE] = '\\\\d+'\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\ntok('NONNUMERICIDENTIFIER')\nsrc[t.NONNUMERICIDENTIFIER] = '\\\\d*[a-zA-Z-]' + LETTERDASHNUMBER + '*'\n\n// ## Main Version\n// Three dot-separated numeric identifiers.\n\ntok('MAINVERSION')\nsrc[t.MAINVERSION] = '(' + src[t.NUMERICIDENTIFIER] + ')\\\\.' +\n '(' + src[t.NUMERICIDENTIFIER] + ')\\\\.' +\n '(' + src[t.NUMERICIDENTIFIER] + ')'\n\ntok('MAINVERSIONLOOSE')\nsrc[t.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\ntok('PRERELEASEIDENTIFIER')\nsrc[t.PRERELEASEIDENTIFIER] = '(?:' + src[t.NUMERICIDENTIFIER] +\n '|' + src[t.NONNUMERICIDENTIFIER] + ')'\n\ntok('PRERELEASEIDENTIFIERLOOSE')\nsrc[t.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\ntok('PRERELEASE')\nsrc[t.PRERELEASE] = '(?:-(' + src[t.PRERELEASEIDENTIFIER] +\n '(?:\\\\.' + src[t.PRERELEASEIDENTIFIER] + ')*))'\n\ntok('PRERELEASELOOSE')\nsrc[t.PRERELEASELOOSE] = '(?:-?(' + src[t.PRERELEASEIDENTIFIERLOOSE] +\n '(?:\\\\.' + src[t.PRERELEASEIDENTIFIERLOOSE] + ')*))'\n\n// ## Build Metadata Identifier\n// Any combination of digits, letters, or hyphens.\n\ntok('BUILDIDENTIFIER')\nsrc[t.BUILDIDENTIFIER] = LETTERDASHNUMBER + '+'\n\n// ## Build Metadata\n// Plus sign, followed by one or more period-separated build metadata\n// identifiers.\n\ntok('BUILD')\nsrc[t.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\ntok('FULL')\ntok('FULLPLAIN')\nsrc[t.FULLPLAIN] = 'v?' + src[t.MAINVERSION] +\n src[t.PRERELEASE] + '?' +\n src[t.BUILD] + '?'\n\nsrc[t.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.\ntok('LOOSEPLAIN')\nsrc[t.LOOSEPLAIN] = '[v=\\\\s]*' + src[t.MAINVERSIONLOOSE] +\n src[t.PRERELEASELOOSE] + '?' +\n src[t.BUILD] + '?'\n\ntok('LOOSE')\nsrc[t.LOOSE] = '^' + src[t.LOOSEPLAIN] + '$'\n\ntok('GTLT')\nsrc[t.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.\ntok('XRANGEIDENTIFIERLOOSE')\nsrc[t.XRANGEIDENTIFIERLOOSE] = src[t.NUMERICIDENTIFIERLOOSE] + '|x|X|\\\\*'\ntok('XRANGEIDENTIFIER')\nsrc[t.XRANGEIDENTIFIER] = src[t.NUMERICIDENTIFIER] + '|x|X|\\\\*'\n\ntok('XRANGEPLAIN')\nsrc[t.XRANGEPLAIN] = '[v=\\\\s]*(' + src[t.XRANGEIDENTIFIER] + ')' +\n '(?:\\\\.(' + src[t.XRANGEIDENTIFIER] + ')' +\n '(?:\\\\.(' + src[t.XRANGEIDENTIFIER] + ')' +\n '(?:' + src[t.PRERELEASE] + ')?' +\n src[t.BUILD] + '?' +\n ')?)?'\n\ntok('XRANGEPLAINLOOSE')\nsrc[t.XRANGEPLAINLOOSE] = '[v=\\\\s]*(' + src[t.XRANGEIDENTIFIERLOOSE] + ')' +\n '(?:\\\\.(' + src[t.XRANGEIDENTIFIERLOOSE] + ')' +\n '(?:\\\\.(' + src[t.XRANGEIDENTIFIERLOOSE] + ')' +\n '(?:' + src[t.PRERELEASELOOSE] + ')?' +\n src[t.BUILD] + '?' +\n ')?)?'\n\ntok('XRANGE')\nsrc[t.XRANGE] = '^' + src[t.GTLT] + '\\\\s*' + src[t.XRANGEPLAIN] + '$'\ntok('XRANGELOOSE')\nsrc[t.XRANGELOOSE] = '^' + src[t.GTLT] + '\\\\s*' + src[t.XRANGEPLAINLOOSE] + '$'\n\n// Coercion.\n// Extract anything that could conceivably be a part of a valid semver\ntok('COERCE')\nsrc[t.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])'\ntok('COERCERTL')\nre[t.COERCERTL] = new RegExp(src[t.COERCE], 'g')\nsafeRe[t.COERCERTL] = new RegExp(makeSafeRe(src[t.COERCE]), 'g')\n\n// Tilde ranges.\n// Meaning is \"reasonably at or greater than\"\ntok('LONETILDE')\nsrc[t.LONETILDE] = '(?:~>?)'\n\ntok('TILDETRIM')\nsrc[t.TILDETRIM] = '(\\\\s*)' + src[t.LONETILDE] + '\\\\s+'\nre[t.TILDETRIM] = new RegExp(src[t.TILDETRIM], 'g')\nsafeRe[t.TILDETRIM] = new RegExp(makeSafeRe(src[t.TILDETRIM]), 'g')\nvar tildeTrimReplace = '$1~'\n\ntok('TILDE')\nsrc[t.TILDE] = '^' + src[t.LONETILDE] + src[t.XRANGEPLAIN] + '$'\ntok('TILDELOOSE')\nsrc[t.TILDELOOSE] = '^' + src[t.LONETILDE] + src[t.XRANGEPLAINLOOSE] + '$'\n\n// Caret ranges.\n// Meaning is \"at least and backwards compatible with\"\ntok('LONECARET')\nsrc[t.LONECARET] = '(?:\\\\^)'\n\ntok('CARETTRIM')\nsrc[t.CARETTRIM] = '(\\\\s*)' + src[t.LONECARET] + '\\\\s+'\nre[t.CARETTRIM] = new RegExp(src[t.CARETTRIM], 'g')\nsafeRe[t.CARETTRIM] = new RegExp(makeSafeRe(src[t.CARETTRIM]), 'g')\nvar caretTrimReplace = '$1^'\n\ntok('CARET')\nsrc[t.CARET] = '^' + src[t.LONECARET] + src[t.XRANGEPLAIN] + '$'\ntok('CARETLOOSE')\nsrc[t.CARETLOOSE] = '^' + src[t.LONECARET] + src[t.XRANGEPLAINLOOSE] + '$'\n\n// A simple gt/lt/eq thing, or just \"\" to indicate \"any version\"\ntok('COMPARATORLOOSE')\nsrc[t.COMPARATORLOOSE] = '^' + src[t.GTLT] + '\\\\s*(' + src[t.LOOSEPLAIN] + ')$|^$'\ntok('COMPARATOR')\nsrc[t.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`\ntok('COMPARATORTRIM')\nsrc[t.COMPARATORTRIM] = '(\\\\s*)' + src[t.GTLT] +\n '\\\\s*(' + src[t.LOOSEPLAIN] + '|' + src[t.XRANGEPLAIN] + ')'\n\n// this one has to use the /g flag\nre[t.COMPARATORTRIM] = new RegExp(src[t.COMPARATORTRIM], 'g')\nsafeRe[t.COMPARATORTRIM] = new RegExp(makeSafeRe(src[t.COMPARATORTRIM]), 'g')\nvar 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.\ntok('HYPHENRANGE')\nsrc[t.HYPHENRANGE] = '^\\\\s*(' + src[t.XRANGEPLAIN] + ')' +\n '\\\\s+-\\\\s+' +\n '(' + src[t.XRANGEPLAIN] + ')' +\n '\\\\s*$'\n\ntok('HYPHENRANGELOOSE')\nsrc[t.HYPHENRANGELOOSE] = '^\\\\s*(' + src[t.XRANGEPLAINLOOSE] + ')' +\n '\\\\s+-\\\\s+' +\n '(' + src[t.XRANGEPLAINLOOSE] + ')' +\n '\\\\s*$'\n\n// Star ranges basically just allow anything at all.\ntok('STAR')\nsrc[t.STAR] = '(<|>)?=?\\\\s*\\\\*'\n\n// Compile to actual regexp objects.\n// All are flag-free, unless they were created above with a flag.\nfor (var i = 0; i < R; i++) {\n debug(i, src[i])\n if (!re[i]) {\n re[i] = new RegExp(src[i])\n\n // Replace all greedy whitespace to prevent regex dos issues. These regex are\n // used internally via the safeRe object since all inputs in this library get\n // normalized first to trim and collapse all extra whitespace. The original\n // regexes are exported for userland consumption and lower level usage. A\n // future breaking change could export the safer regex only with a note that\n // all input should have extra whitespace removed.\n safeRe[i] = new RegExp(makeSafeRe(src[i]))\n }\n}\n\nexports.parse = parse\nfunction parse (version, options) {\n if (!options || typeof options !== 'object') {\n options = {\n loose: !!options,\n includePrerelease: false\n }\n }\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 var r = options.loose ? safeRe[t.LOOSE] : safeRe[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\nexports.valid = valid\nfunction valid (version, options) {\n var v = parse(version, options)\n return v ? v.version : null\n}\n\nexports.clean = clean\nfunction clean (version, options) {\n var s = parse(version.trim().replace(/^[=v]+/, ''), options)\n return s ? s.version : null\n}\n\nexports.SemVer = SemVer\n\nfunction SemVer (version, options) {\n if (!options || typeof options !== 'object') {\n options = {\n loose: !!options,\n includePrerelease: false\n }\n }\n if (version instanceof SemVer) {\n if (version.loose === options.loose) {\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('version is longer than ' + MAX_LENGTH + ' characters')\n }\n\n if (!(this instanceof SemVer)) {\n return new SemVer(version, options)\n }\n\n debug('SemVer', version, options)\n this.options = options\n this.loose = !!options.loose\n\n var m = version.trim().match(options.loose ? safeRe[t.LOOSE] : safeRe[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(function (id) {\n if (/^[0-9]+$/.test(id)) {\n var 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\nSemVer.prototype.format = function () {\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\nSemVer.prototype.toString = function () {\n return this.version\n}\n\nSemVer.prototype.compare = function (other) {\n debug('SemVer.compare', this.version, this.options, other)\n if (!(other instanceof SemVer)) {\n other = new SemVer(other, this.options)\n }\n\n return this.compareMain(other) || this.comparePre(other)\n}\n\nSemVer.prototype.compareMain = function (other) {\n if (!(other instanceof SemVer)) {\n other = new SemVer(other, this.options)\n }\n\n return compareIdentifiers(this.major, other.major) ||\n compareIdentifiers(this.minor, other.minor) ||\n compareIdentifiers(this.patch, other.patch)\n}\n\nSemVer.prototype.comparePre = function (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 var i = 0\n do {\n var a = this.prerelease[i]\n var 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\nSemVer.prototype.compareBuild = function (other) {\n if (!(other instanceof SemVer)) {\n other = new SemVer(other, this.options)\n }\n\n var i = 0\n do {\n var a = this.build[i]\n var 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.\nSemVer.prototype.inc = function (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 (this.minor !== 0 ||\n this.patch !== 0 ||\n this.prerelease.length === 0) {\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 var 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 (this.prerelease[0] === identifier) {\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\nexports.inc = inc\nfunction inc (version, release, loose, identifier) {\n if (typeof (loose) === 'string') {\n identifier = loose\n loose = undefined\n }\n\n try {\n return new SemVer(version, loose).inc(release, identifier).version\n } catch (er) {\n return null\n }\n}\n\nexports.diff = diff\nfunction diff (version1, version2) {\n if (eq(version1, version2)) {\n return null\n } else {\n var v1 = parse(version1)\n var v2 = parse(version2)\n var prefix = ''\n if (v1.prerelease.length || v2.prerelease.length) {\n prefix = 'pre'\n var defaultResult = 'prerelease'\n }\n for (var 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}\n\nexports.compareIdentifiers = compareIdentifiers\n\nvar numeric = /^[0-9]+$/\nfunction compareIdentifiers (a, b) {\n var anum = numeric.test(a)\n var 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\nexports.rcompareIdentifiers = rcompareIdentifiers\nfunction rcompareIdentifiers (a, b) {\n return compareIdentifiers(b, a)\n}\n\nexports.major = major\nfunction major (a, loose) {\n return new SemVer(a, loose).major\n}\n\nexports.minor = minor\nfunction minor (a, loose) {\n return new SemVer(a, loose).minor\n}\n\nexports.patch = patch\nfunction patch (a, loose) {\n return new SemVer(a, loose).patch\n}\n\nexports.compare = compare\nfunction compare (a, b, loose) {\n return new SemVer(a, loose).compare(new SemVer(b, loose))\n}\n\nexports.compareLoose = compareLoose\nfunction compareLoose (a, b) {\n return compare(a, b, true)\n}\n\nexports.compareBuild = compareBuild\nfunction compareBuild (a, b, loose) {\n var versionA = new SemVer(a, loose)\n var versionB = new SemVer(b, loose)\n return versionA.compare(versionB) || versionA.compareBuild(versionB)\n}\n\nexports.rcompare = rcompare\nfunction rcompare (a, b, loose) {\n return compare(b, a, loose)\n}\n\nexports.sort = sort\nfunction sort (list, loose) {\n return list.sort(function (a, b) {\n return exports.compareBuild(a, b, loose)\n })\n}\n\nexports.rsort = rsort\nfunction rsort (list, loose) {\n return list.sort(function (a, b) {\n return exports.compareBuild(b, a, loose)\n })\n}\n\nexports.gt = gt\nfunction gt (a, b, loose) {\n return compare(a, b, loose) > 0\n}\n\nexports.lt = lt\nfunction lt (a, b, loose) {\n return compare(a, b, loose) < 0\n}\n\nexports.eq = eq\nfunction eq (a, b, loose) {\n return compare(a, b, loose) === 0\n}\n\nexports.neq = neq\nfunction neq (a, b, loose) {\n return compare(a, b, loose) !== 0\n}\n\nexports.gte = gte\nfunction gte (a, b, loose) {\n return compare(a, b, loose) >= 0\n}\n\nexports.lte = lte\nfunction lte (a, b, loose) {\n return compare(a, b, loose) <= 0\n}\n\nexports.cmp = cmp\nfunction cmp (a, op, b, loose) {\n switch (op) {\n case '===':\n if (typeof a === 'object')\n a = a.version\n if (typeof b === 'object')\n b = b.version\n return a === b\n\n case '!==':\n if (typeof a === 'object')\n a = a.version\n if (typeof b === 'object')\n b = b.version\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}\n\nexports.Comparator = Comparator\nfunction Comparator (comp, options) {\n if (!options || typeof options !== 'object') {\n options = {\n loose: !!options,\n includePrerelease: false\n }\n }\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 if (!(this instanceof Comparator)) {\n return new Comparator(comp, options)\n }\n\n comp = comp.trim().split(/\\s+/).join(' ')\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\nvar ANY = {}\nComparator.prototype.parse = function (comp) {\n var r = this.options.loose ? safeRe[t.COMPARATORLOOSE] : safeRe[t.COMPARATOR]\n var 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\nComparator.prototype.toString = function () {\n return this.value\n}\n\nComparator.prototype.test = function (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\nComparator.prototype.intersects = function (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 var rangeTmp\n\n if (this.operator === '') {\n if (this.value === '') {\n return true\n }\n rangeTmp = new Range(comp.value, options)\n return satisfies(this.value, rangeTmp, options)\n } else if (comp.operator === '') {\n if (comp.value === '') {\n return true\n }\n rangeTmp = new Range(this.value, options)\n return satisfies(comp.semver, rangeTmp, options)\n }\n\n var sameDirectionIncreasing =\n (this.operator === '>=' || this.operator === '>') &&\n (comp.operator === '>=' || comp.operator === '>')\n var sameDirectionDecreasing =\n (this.operator === '<=' || this.operator === '<') &&\n (comp.operator === '<=' || comp.operator === '<')\n var sameSemVer = this.semver.version === comp.semver.version\n var differentDirectionsInclusive =\n (this.operator === '>=' || this.operator === '<=') &&\n (comp.operator === '>=' || comp.operator === '<=')\n var oppositeDirectionsLessThan =\n cmp(this.semver, '<', comp.semver, options) &&\n ((this.operator === '>=' || this.operator === '>') &&\n (comp.operator === '<=' || comp.operator === '<'))\n var oppositeDirectionsGreaterThan =\n cmp(this.semver, '>', comp.semver, options) &&\n ((this.operator === '<=' || this.operator === '<') &&\n (comp.operator === '>=' || comp.operator === '>'))\n\n return sameDirectionIncreasing || sameDirectionDecreasing ||\n (sameSemVer && differentDirectionsInclusive) ||\n oppositeDirectionsLessThan || oppositeDirectionsGreaterThan\n}\n\nexports.Range = Range\nfunction Range (range, options) {\n if (!options || typeof options !== 'object') {\n options = {\n loose: !!options,\n includePrerelease: false\n }\n }\n\n if (range instanceof Range) {\n if (range.loose === !!options.loose &&\n range.includePrerelease === !!options.includePrerelease) {\n return range\n } else {\n return new Range(range.raw, options)\n }\n }\n\n if (range instanceof Comparator) {\n return new Range(range.value, options)\n }\n\n if (!(this instanceof Range)) {\n return new Range(range, options)\n }\n\n this.options = options\n this.loose = !!options.loose\n this.includePrerelease = !!options.includePrerelease\n\n // First reduce all whitespace as much as possible so we do not have to rely\n // on potentially slow regexes like \\s*. This is then stored and used for\n // future error messages as well.\n this.raw = range\n .trim()\n .split(/\\s+/)\n .join(' ')\n\n // First, split based on boolean or ||\n this.set = this.raw.split('||').map(function (range) {\n return this.parseRange(range.trim())\n }, this).filter(function (c) {\n // throw out any that are not relevant for whatever reason\n return c.length\n })\n\n if (!this.set.length) {\n throw new TypeError('Invalid SemVer Range: ' + this.raw)\n }\n\n this.format()\n}\n\nRange.prototype.format = function () {\n this.range = this.set.map(function (comps) {\n return comps.join(' ').trim()\n }).join('||').trim()\n return this.range\n}\n\nRange.prototype.toString = function () {\n return this.range\n}\n\nRange.prototype.parseRange = function (range) {\n var loose = this.options.loose\n // `1.2.3 - 1.2.4` => `>=1.2.3 <=1.2.4`\n var hr = loose ? safeRe[t.HYPHENRANGELOOSE] : safeRe[t.HYPHENRANGE]\n range = range.replace(hr, hyphenReplace)\n debug('hyphen replace', range)\n // `> 1.2.3 < 1.2.5` => `>1.2.3 <1.2.5`\n range = range.replace(safeRe[t.COMPARATORTRIM], comparatorTrimReplace)\n debug('comparator trim', range, safeRe[t.COMPARATORTRIM])\n\n // `~ 1.2.3` => `~1.2.3`\n range = range.replace(safeRe[t.TILDETRIM], tildeTrimReplace)\n\n // `^ 1.2.3` => `^1.2.3`\n range = range.replace(safeRe[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 var compRe = loose ? safeRe[t.COMPARATORLOOSE] : safeRe[t.COMPARATOR]\n var set = range.split(' ').map(function (comp) {\n return parseComparator(comp, this.options)\n }, this).join(' ').split(/\\s+/)\n if (this.options.loose) {\n // in loose mode, throw out any that are not valid comparators\n set = set.filter(function (comp) {\n return !!comp.match(compRe)\n })\n }\n set = set.map(function (comp) {\n return new Comparator(comp, this.options)\n }, this)\n\n return set\n}\n\nRange.prototype.intersects = function (range, options) {\n if (!(range instanceof Range)) {\n throw new TypeError('a Range is required')\n }\n\n return this.set.some(function (thisComparators) {\n return (\n isSatisfiable(thisComparators, options) &&\n range.set.some(function (rangeComparators) {\n return (\n isSatisfiable(rangeComparators, options) &&\n thisComparators.every(function (thisComparator) {\n return rangeComparators.every(function (rangeComparator) {\n return thisComparator.intersects(rangeComparator, options)\n })\n })\n )\n })\n )\n })\n}\n\n// take a set of comparators and determine whether there\n// exists a version which can satisfy it\nfunction isSatisfiable (comparators, options) {\n var result = true\n var remainingComparators = comparators.slice()\n var testComparator = remainingComparators.pop()\n\n while (result && remainingComparators.length) {\n result = remainingComparators.every(function (otherComparator) {\n return testComparator.intersects(otherComparator, options)\n })\n\n testComparator = remainingComparators.pop()\n }\n\n return result\n}\n\n// Mostly just for testing and legacy API reasons\nexports.toComparators = toComparators\nfunction toComparators (range, options) {\n return new Range(range, options).set.map(function (comp) {\n return comp.map(function (c) {\n return c.value\n }).join(' ').trim().split(' ')\n })\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.\nfunction 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\nfunction isX (id) {\n return !id || id.toLowerCase() === 'x' || id === '*'\n}\n\n// ~, ~> --> * (any, kinda silly)\n// ~2, ~2.x, ~2.x.x, ~>2, ~>2.x ~>2.x.x --> >=2.0.0 <3.0.0\n// ~2.0, ~2.0.x, ~>2.0, ~>2.0.x --> >=2.0.0 <2.1.0\n// ~1.2, ~1.2.x, ~>1.2, ~>1.2.x --> >=1.2.0 <1.3.0\n// ~1.2.3, ~>1.2.3 --> >=1.2.3 <1.3.0\n// ~1.2.0, ~>1.2.0 --> >=1.2.0 <1.3.0\nfunction replaceTildes (comp, options) {\n return comp.trim().split(/\\s+/).map(function (comp) {\n return replaceTilde(comp, options)\n }).join(' ')\n}\n\nfunction replaceTilde (comp, options) {\n var r = options.loose ? safeRe[t.TILDELOOSE] : safeRe[t.TILDE]\n return comp.replace(r, function (_, M, m, p, pr) {\n debug('tilde', comp, _, M, m, p, pr)\n var ret\n\n if (isX(M)) {\n ret = ''\n } else if (isX(m)) {\n ret = '>=' + M + '.0.0 <' + (+M + 1) + '.0.0'\n } else if (isX(p)) {\n // ~1.2 == >=1.2.0 <1.3.0\n ret = '>=' + M + '.' + m + '.0 <' + M + '.' + (+m + 1) + '.0'\n } else if (pr) {\n debug('replaceTilde pr', pr)\n ret = '>=' + M + '.' + m + '.' + p + '-' + pr +\n ' <' + M + '.' + (+m + 1) + '.0'\n } else {\n // ~1.2.3 == >=1.2.3 <1.3.0\n ret = '>=' + M + '.' + m + '.' + p +\n ' <' + M + '.' + (+m + 1) + '.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\n// ^2.0, ^2.0.x --> >=2.0.0 <3.0.0\n// ^1.2, ^1.2.x --> >=1.2.0 <2.0.0\n// ^1.2.3 --> >=1.2.3 <2.0.0\n// ^1.2.0 --> >=1.2.0 <2.0.0\nfunction replaceCarets (comp, options) {\n return comp.trim().split(/\\s+/).map(function (comp) {\n return replaceCaret(comp, options)\n }).join(' ')\n}\n\nfunction replaceCaret (comp, options) {\n debug('caret', comp, options)\n var r = options.loose ? safeRe[t.CARETLOOSE] : safeRe[t.CARET]\n return comp.replace(r, function (_, M, m, p, pr) {\n debug('caret', comp, _, M, m, p, pr)\n var ret\n\n if (isX(M)) {\n ret = ''\n } else if (isX(m)) {\n ret = '>=' + M + '.0.0 <' + (+M + 1) + '.0.0'\n } else if (isX(p)) {\n if (M === '0') {\n ret = '>=' + M + '.' + m + '.0 <' + M + '.' + (+m + 1) + '.0'\n } else {\n ret = '>=' + M + '.' + m + '.0 <' + (+M + 1) + '.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)\n } else {\n ret = '>=' + M + '.' + m + '.' + p + '-' + pr +\n ' <' + M + '.' + (+m + 1) + '.0'\n }\n } else {\n ret = '>=' + M + '.' + m + '.' + p + '-' + pr +\n ' <' + (+M + 1) + '.0.0'\n }\n } else {\n debug('no pr')\n if (M === '0') {\n if (m === '0') {\n ret = '>=' + M + '.' + m + '.' + p +\n ' <' + M + '.' + m + '.' + (+p + 1)\n } else {\n ret = '>=' + M + '.' + m + '.' + p +\n ' <' + M + '.' + (+m + 1) + '.0'\n }\n } else {\n ret = '>=' + M + '.' + m + '.' + p +\n ' <' + (+M + 1) + '.0.0'\n }\n }\n\n debug('caret return', ret)\n return ret\n })\n}\n\nfunction replaceXRanges (comp, options) {\n debug('replaceXRanges', comp, options)\n return comp.split(/\\s+/).map(function (comp) {\n return replaceXRange(comp, options)\n }).join(' ')\n}\n\nfunction replaceXRange (comp, options) {\n comp = comp.trim()\n var r = options.loose ? safeRe[t.XRANGELOOSE] : safeRe[t.XRANGE]\n return comp.replace(r, function (ret, gtlt, M, m, p, pr) {\n debug('xRange', comp, ret, gtlt, M, m, p, pr)\n var xM = isX(M)\n var xm = xM || isX(m)\n var xp = xm || isX(p)\n var 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 // >1.2.3 => >= 1.2.4\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 ret = gtlt + M + '.' + m + '.' + p + pr\n } else if (xm) {\n ret = '>=' + M + '.0.0' + pr + ' <' + (+M + 1) + '.0.0' + pr\n } else if (xp) {\n ret = '>=' + M + '.' + m + '.0' + pr +\n ' <' + M + '.' + (+m + 1) + '.0' + pr\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.\nfunction 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(safeRe[t.STAR], '')\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 Any 3.4.x will do\n// 1.2 - 3.4 => >=1.2.0 <3.5.0\nfunction hyphenReplace ($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'\n } else if (isX(fp)) {\n from = '>=' + fM + '.' + fm + '.0'\n } else {\n from = '>=' + from\n }\n\n if (isX(tM)) {\n to = ''\n } else if (isX(tm)) {\n to = '<' + (+tM + 1) + '.0.0'\n } else if (isX(tp)) {\n to = '<' + tM + '.' + (+tm + 1) + '.0'\n } else if (tpr) {\n to = '<=' + tM + '.' + tm + '.' + tp + '-' + tpr\n } else {\n to = '<=' + to\n }\n\n return (from + ' ' + to).trim()\n}\n\n// if ANY of the sets match ALL of its comparators, then pass\nRange.prototype.test = function (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 (var 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\nfunction testSet (set, version, options) {\n for (var 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 (i = 0; i < set.length; i++) {\n debug(set[i].semver)\n if (set[i].semver === ANY) {\n continue\n }\n\n if (set[i].semver.prerelease.length > 0) {\n var 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\nexports.satisfies = satisfies\nfunction 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}\n\nexports.maxSatisfying = maxSatisfying\nfunction maxSatisfying (versions, range, options) {\n var max = null\n var maxSV = null\n try {\n var rangeObj = new Range(range, options)\n } catch (er) {\n return null\n }\n versions.forEach(function (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}\n\nexports.minSatisfying = minSatisfying\nfunction minSatisfying (versions, range, options) {\n var min = null\n var minSV = null\n try {\n var rangeObj = new Range(range, options)\n } catch (er) {\n return null\n }\n versions.forEach(function (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}\n\nexports.minVersion = minVersion\nfunction minVersion (range, loose) {\n range = new Range(range, loose)\n\n var 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 (var i = 0; i < range.set.length; ++i) {\n var comparators = range.set[i]\n\n comparators.forEach(function (comparator) {\n // Clone to avoid manipulating the comparator's semver object.\n var 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 (!minver || gt(minver, compver)) {\n minver = 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 }\n\n if (minver && range.test(minver)) {\n return minver\n }\n\n return null\n}\n\nexports.validRange = validRange\nfunction 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}\n\n// Determine if version is less than all the versions possible in the range\nexports.ltr = ltr\nfunction ltr (version, range, options) {\n return outside(version, range, '<', options)\n}\n\n// Determine if version is greater than all the versions possible in the range.\nexports.gtr = gtr\nfunction gtr (version, range, options) {\n return outside(version, range, '>', options)\n}\n\nexports.outside = outside\nfunction outside (version, range, hilo, options) {\n version = new SemVer(version, options)\n range = new Range(range, options)\n\n var 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 satisifes 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 (var i = 0; i < range.set.length; ++i) {\n var comparators = range.set[i]\n\n var high = null\n var low = null\n\n comparators.forEach(function (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\nexports.prerelease = prerelease\nfunction prerelease (version, options) {\n var parsed = parse(version, options)\n return (parsed && parsed.prerelease.length) ? parsed.prerelease : null\n}\n\nexports.intersects = intersects\nfunction intersects (r1, r2, options) {\n r1 = new Range(r1, options)\n r2 = new Range(r2, options)\n return r1.intersects(r2)\n}\n\nexports.coerce = coerce\nfunction 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 var match = null\n if (!options.rtl) {\n match = version.match(safeRe[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 var next\n while ((next = safeRe[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 safeRe[t.COERCERTL].lastIndex = next.index + next[1].length + next[2].length\n }\n // leave it in a clean state\n safeRe[t.COERCERTL].lastIndex = -1\n }\n\n if (match === null) {\n return null\n }\n\n return parse(match[2] +\n '.' + (match[3] || '0') +\n '.' + (match[4] || '0'), options)\n}\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,"import * as path from 'path';\nimport * as pypyInstall from './install-pypy';\nimport {\n IS_WINDOWS,\n WINDOWS_ARCHS,\n validateVersion,\n getPyPyVersionFromPath,\n readExactPyPyVersionFile,\n validatePythonVersionFormatForPyPy,\n IPyPyManifestRelease\n} from './utils';\n\nimport * as semver from 'semver';\nimport * as core from '@actions/core';\nimport * as tc from '@actions/tool-cache';\n\ninterface IPyPyVersionSpec {\n pypyVersion: string;\n pythonVersion: string;\n}\n\nexport async function findPyPyVersion(\n versionSpec: string,\n architecture: string,\n updateEnvironment: boolean,\n checkLatest: boolean,\n allowPreReleases: boolean\n): Promise<{resolvedPyPyVersion: string; resolvedPythonVersion: string}> {\n let resolvedPyPyVersion = '';\n let resolvedPythonVersion = '';\n let installDir: string | null;\n let releases: IPyPyManifestRelease[] | undefined;\n\n const pypyVersionSpec = parsePyPyVersion(versionSpec);\n\n if (checkLatest) {\n releases = await pypyInstall.getAvailablePyPyVersions();\n if (releases && releases.length > 0) {\n const releaseData = pypyInstall.findRelease(\n releases,\n pypyVersionSpec.pythonVersion,\n pypyVersionSpec.pypyVersion,\n architecture,\n false\n );\n\n if (releaseData) {\n core.info(\n `Resolved as PyPy ${releaseData.resolvedPyPyVersion} with Python (${releaseData.resolvedPythonVersion})`\n );\n pypyVersionSpec.pythonVersion = releaseData.resolvedPythonVersion;\n pypyVersionSpec.pypyVersion = releaseData.resolvedPyPyVersion;\n } else {\n core.info(\n `Failed to resolve PyPy ${pypyVersionSpec.pypyVersion} with Python (${pypyVersionSpec.pythonVersion}) from manifest`\n );\n }\n }\n }\n\n ({installDir, resolvedPythonVersion, resolvedPyPyVersion} = findPyPyToolCache(\n pypyVersionSpec.pythonVersion,\n pypyVersionSpec.pypyVersion,\n architecture\n ));\n\n if (!installDir) {\n ({installDir, resolvedPythonVersion, resolvedPyPyVersion} =\n await pypyInstall.installPyPy(\n pypyVersionSpec.pypyVersion,\n pypyVersionSpec.pythonVersion,\n architecture,\n allowPreReleases,\n releases\n ));\n }\n\n const pipDir = IS_WINDOWS ? 'Scripts' : 'bin';\n const _binDir = path.join(installDir, pipDir);\n const binaryExtension = IS_WINDOWS ? '.exe' : '';\n const pythonPath = path.join(\n IS_WINDOWS ? installDir : _binDir,\n `python${binaryExtension}`\n );\n const pythonLocation = pypyInstall.getPyPyBinaryPath(installDir);\n if (updateEnvironment) {\n core.exportVariable('pythonLocation', installDir);\n // https://cmake.org/cmake/help/latest/module/FindPython.html#module:FindPython\n core.exportVariable('Python_ROOT_DIR', installDir);\n // https://cmake.org/cmake/help/latest/module/FindPython2.html#module:FindPython2\n core.exportVariable('Python2_ROOT_DIR', installDir);\n // https://cmake.org/cmake/help/latest/module/FindPython3.html#module:FindPython3\n core.exportVariable('Python3_ROOT_DIR', installDir);\n core.exportVariable('PKG_CONFIG_PATH', pythonLocation + '/lib/pkgconfig');\n core.addPath(pythonLocation);\n core.addPath(_binDir);\n }\n core.setOutput('python-version', 'pypy' + resolvedPyPyVersion);\n core.setOutput('python-path', pythonPath);\n\n return {resolvedPyPyVersion, resolvedPythonVersion};\n}\n\nexport function findPyPyToolCache(\n pythonVersion: string,\n pypyVersion: string,\n architecture: string\n) {\n let resolvedPyPyVersion = '';\n let resolvedPythonVersion = '';\n let installDir: string | null = IS_WINDOWS\n ? findPyPyInstallDirForWindows(pythonVersion)\n : tc.find('PyPy', pythonVersion, architecture);\n\n if (installDir) {\n // 'tc.find' finds tool based on Python version but we also need to check\n // whether PyPy version satisfies requested version.\n resolvedPythonVersion = getPyPyVersionFromPath(installDir);\n resolvedPyPyVersion = readExactPyPyVersionFile(installDir);\n\n const isPyPyVersionSatisfies = semver.satisfies(\n resolvedPyPyVersion,\n pypyVersion\n );\n if (!isPyPyVersionSatisfies) {\n installDir = null;\n resolvedPyPyVersion = '';\n resolvedPythonVersion = '';\n }\n }\n\n if (!installDir) {\n core.info(\n `PyPy version ${pythonVersion} (${pypyVersion}) was not found in the local cache`\n );\n }\n\n return {installDir, resolvedPythonVersion, resolvedPyPyVersion};\n}\n\nexport function parsePyPyVersion(versionSpec: string): IPyPyVersionSpec {\n const versions = versionSpec.split('-').filter(item => !!item);\n\n if (/^(pypy)(.+)/.test(versions[0])) {\n const pythonVersion = versions[0].replace('pypy', '');\n versions.splice(0, 1, 'pypy', pythonVersion);\n }\n\n if (versions.length < 2 || versions[0] != 'pypy') {\n throw new Error(\n \"Invalid 'version' property for PyPy. PyPy version should be specified as 'pypy' or 'pypy-'. See README for examples and documentation.\"\n );\n }\n\n const pythonVersion = versions[1];\n let pypyVersion: string;\n if (versions.length > 2) {\n pypyVersion = pypyInstall.pypyVersionToSemantic(versions[2]);\n } else {\n pypyVersion = 'x';\n }\n\n if (!validateVersion(pythonVersion) || !validateVersion(pypyVersion)) {\n throw new Error(\n \"Invalid 'version' property for PyPy. Both Python version and PyPy versions should satisfy SemVer notation. See README for examples and documentation.\"\n );\n }\n\n if (!validatePythonVersionFormatForPyPy(pythonVersion)) {\n throw new Error(\n \"Invalid format of Python version for PyPy. Python version should be specified in format 'x.y'. See README for examples and documentation.\"\n );\n }\n\n return {\n pypyVersion: pypyVersion,\n pythonVersion: pythonVersion\n };\n}\n\nexport function findPyPyInstallDirForWindows(pythonVersion: string): string {\n let installDir = '';\n\n WINDOWS_ARCHS.forEach(\n architecture =>\n (installDir = installDir || tc.find('PyPy', pythonVersion, architecture))\n );\n\n return installDir;\n}\n","import * as os from 'os';\nimport * as path from 'path';\nimport * as core from '@actions/core';\nimport * as tc from '@actions/tool-cache';\nimport * as semver from 'semver';\nimport * as httpm from '@actions/http-client';\nimport * as exec from '@actions/exec';\nimport fs from 'fs';\n\nimport {\n IS_WINDOWS,\n WINDOWS_PLATFORMS,\n IPyPyManifestRelease,\n createSymlinkInFolder,\n isNightlyKeyword,\n writeExactPyPyVersionFile\n} from './utils';\n\nexport async function installPyPy(\n pypyVersion: string,\n pythonVersion: string,\n architecture: string,\n allowPreReleases: boolean,\n releases: IPyPyManifestRelease[] | undefined\n) {\n let downloadDir;\n\n releases = releases ?? (await getAvailablePyPyVersions());\n\n if (!releases || releases.length === 0) {\n throw new Error('No release was found in PyPy version.json');\n }\n\n let releaseData = findRelease(\n releases,\n pythonVersion,\n pypyVersion,\n architecture,\n false\n );\n\n if (allowPreReleases && (!releaseData || !releaseData.foundAsset)) {\n // check for pre-release\n core.info(\n [\n `Stable PyPy version ${pythonVersion} (${pypyVersion}) with arch ${architecture} not found`,\n `Trying pre-release versions`\n ].join(os.EOL)\n );\n releaseData = findRelease(\n releases,\n pythonVersion,\n pypyVersion,\n architecture,\n true\n );\n }\n\n if (!releaseData || !releaseData.foundAsset) {\n throw new Error(\n `PyPy version ${pythonVersion} (${pypyVersion}) with arch ${architecture} not found`\n );\n }\n\n const {foundAsset, resolvedPythonVersion, resolvedPyPyVersion} = releaseData;\n const downloadUrl = `${foundAsset.download_url}`;\n\n core.info(`Downloading PyPy from \"${downloadUrl}\" ...`);\n\n try {\n const pypyPath = await tc.downloadTool(downloadUrl);\n\n core.info('Extracting downloaded archive...');\n if (IS_WINDOWS) {\n downloadDir = await tc.extractZip(pypyPath);\n } else {\n downloadDir = await tc.extractTar(pypyPath, undefined, 'x');\n }\n\n // root folder in archive can have unpredictable name so just take the first folder\n // downloadDir is unique folder under TEMP and can't contain any other folders\n const archiveName = fs.readdirSync(downloadDir)[0];\n\n const toolDir = path.join(downloadDir, archiveName);\n let installDir = toolDir;\n if (!isNightlyKeyword(resolvedPyPyVersion)) {\n installDir = await tc.cacheDir(\n toolDir,\n 'PyPy',\n resolvedPythonVersion,\n architecture\n );\n }\n\n writeExactPyPyVersionFile(installDir, resolvedPyPyVersion);\n\n const binaryPath = getPyPyBinaryPath(installDir);\n await createPyPySymlink(binaryPath, resolvedPythonVersion);\n await installPip(binaryPath);\n\n return {installDir, resolvedPythonVersion, resolvedPyPyVersion};\n } catch (err) {\n if (err instanceof Error) {\n // Rate limit?\n if (\n err instanceof tc.HTTPError &&\n (err.httpStatusCode === 403 || err.httpStatusCode === 429)\n ) {\n core.info(\n `Received HTTP status code ${err.httpStatusCode}. This usually indicates the rate limit has been exceeded`\n );\n } else {\n core.info(err.message);\n }\n if (err.stack !== undefined) {\n core.debug(err.stack);\n }\n }\n throw err;\n }\n}\n\nexport async function getAvailablePyPyVersions() {\n const url = 'https://downloads.python.org/pypy/versions.json';\n const http: httpm.HttpClient = new httpm.HttpClient('tool-cache');\n\n const response = await http.getJson(url);\n if (!response.result) {\n throw new Error(\n `Unable to retrieve the list of available PyPy versions from '${url}'`\n );\n }\n\n return response.result;\n}\n\nasync function createPyPySymlink(\n pypyBinaryPath: string,\n pythonVersion: string\n) {\n const version = semver.coerce(pythonVersion)!;\n const pythonBinaryPostfix = semver.major(version);\n const pythonMinor = semver.minor(version);\n const pypyBinaryPostfix = pythonBinaryPostfix === 2 ? '' : '3';\n const pypyMajorMinorBinaryPostfix = `${pythonBinaryPostfix}.${pythonMinor}`;\n const binaryExtension = IS_WINDOWS ? '.exe' : '';\n\n core.info('Creating symlinks...');\n createSymlinkInFolder(\n pypyBinaryPath,\n `pypy${pypyBinaryPostfix}${binaryExtension}`,\n `python${pythonBinaryPostfix}${binaryExtension}`,\n true\n );\n\n createSymlinkInFolder(\n pypyBinaryPath,\n `pypy${pypyBinaryPostfix}${binaryExtension}`,\n `python${binaryExtension}`,\n true\n );\n\n createSymlinkInFolder(\n pypyBinaryPath,\n `pypy${pypyBinaryPostfix}${binaryExtension}`,\n `pypy${pypyMajorMinorBinaryPostfix}${binaryExtension}`,\n true\n );\n}\n\nasync function installPip(pythonLocation: string) {\n core.info('Installing and updating pip');\n const pythonBinary = path.join(pythonLocation, 'python');\n await exec.exec(`${pythonBinary} -m ensurepip`);\n\n await exec.exec(\n `${pythonLocation}/python -m pip install --ignore-installed pip`\n );\n}\n\nexport function findRelease(\n releases: IPyPyManifestRelease[],\n pythonVersion: string,\n pypyVersion: string,\n architecture: string,\n includePrerelease: boolean\n) {\n const options = {includePrerelease: includePrerelease};\n const filterReleases = releases.filter(item => {\n const isPythonVersionSatisfied = semver.satisfies(\n semver.coerce(item.python_version)!,\n pythonVersion\n );\n const isPyPyNightly =\n isNightlyKeyword(pypyVersion) && isNightlyKeyword(item.pypy_version);\n const isPyPyVersionSatisfied =\n isPyPyNightly ||\n semver.satisfies(\n pypyVersionToSemantic(item.pypy_version),\n pypyVersion,\n options\n );\n const isArchPresent =\n item.files &&\n (IS_WINDOWS\n ? isArchPresentForWindows(item, architecture)\n : isArchPresentForMacOrLinux(item, architecture, process.platform));\n return isPythonVersionSatisfied && isPyPyVersionSatisfied && isArchPresent;\n });\n\n if (filterReleases.length === 0) {\n return null;\n }\n\n const sortedReleases = filterReleases.sort((previous, current) => {\n return (\n semver.compare(\n semver.coerce(pypyVersionToSemantic(current.pypy_version))!,\n semver.coerce(pypyVersionToSemantic(previous.pypy_version))!\n ) ||\n semver.compare(\n semver.coerce(current.python_version)!,\n semver.coerce(previous.python_version)!\n )\n );\n });\n\n const foundRelease = sortedReleases[0];\n const foundAsset = IS_WINDOWS\n ? findAssetForWindows(foundRelease, architecture)\n : findAssetForMacOrLinux(foundRelease, architecture, process.platform);\n\n return {\n foundAsset,\n resolvedPythonVersion: foundRelease.python_version,\n resolvedPyPyVersion: foundRelease.pypy_version.trim()\n };\n}\n\n/** Get PyPy binary location from the tool of installation directory\n * - On Linux and macOS, the Python interpreter is in 'bin'.\n * - On Windows, it is in the installation root.\n */\nexport function getPyPyBinaryPath(installDir: string) {\n const _binDir = path.join(installDir, 'bin');\n return IS_WINDOWS ? installDir : _binDir;\n}\n\nexport function pypyVersionToSemantic(versionSpec: string) {\n const prereleaseVersion = /(\\d+\\.\\d+\\.\\d+)((?:a|b|rc))(\\d*)/g;\n return versionSpec.replace(prereleaseVersion, '$1-$2.$3');\n}\n\nexport function isArchPresentForWindows(item: any, architecture: string) {\n architecture = replaceX32toX86(architecture);\n return item.files.some(\n (file: any) =>\n WINDOWS_PLATFORMS.includes(file.platform) && file.arch === architecture\n );\n}\n\nexport function isArchPresentForMacOrLinux(\n item: any,\n architecture: string,\n platform: string\n) {\n return item.files.some(\n (file: any) => file.arch === architecture && file.platform === platform\n );\n}\n\nexport function findAssetForWindows(releases: any, architecture: string) {\n architecture = replaceX32toX86(architecture);\n return releases.files.find(\n (item: any) =>\n WINDOWS_PLATFORMS.includes(item.platform) && item.arch === architecture\n );\n}\n\nexport function findAssetForMacOrLinux(\n releases: any,\n architecture: string,\n platform: string\n) {\n return releases.files.find(\n (item: any) => item.arch === architecture && item.platform === platform\n );\n}\n\nfunction replaceX32toX86(architecture: string): string {\n // convert x32 to x86 because os.arch() returns x32 for 32-bit systems but PyPy releases json has x86 arch value.\n if (architecture === 'x32') {\n architecture = 'x86';\n }\n return architecture;\n}\n"],"mappings":"olBCUA,QAAS,CAAAA,EAAcC,CAAmB,EACxC,MAAO,CAAAA,CAAA,CAAYC,UAAU,CAAC,OAChC,EAIO,cAAe,CAAAC,EAAmBF,CAAe,CAAEG,CAAiB,CAAEC,CAAY,EACnFC,CAAA,CAAAC,MAAA,GACFC,OAAA,CAAQC,GAAG,CAACC,oBAAoB,CAAG,+BADrC,EAIA,GAAM,CAAAC,CAAA,CAAuBH,OAAA,CAAQC,GAAG,CAACC,oBAAoB,EAAEE,IAAA,GAO/D,GANoC,UAAhC,MAAO,CAAAD,CAAA,EAAqC,EAAyB,GAAzBA,CAAA,GAC9CH,OAAA,CAAQC,GAAG,CAACI,iBAAiB,CAAGL,OAAA,CAAQC,GAAG,CAACC,oBAAoB,CAApB,CAG9C,GAAAI,CAAA,CAAAC,KAAI,EAAE,2CAA2CP,OAAA,CAAQC,GAAG,CAACI,iBAAiB,EAE1EZ,CAAA,CAAS,CACX,GAAI,CAAAG,CAAA,CACJ,GAAIJ,CAAA,CAAcC,CAAA,EAAU,CAC1B,GAAM,CAAAe,CAAA,CAAY,KAAM,GAAAC,CAAA,CAAAC,eAAc,EAAEjB,CAAA,CAASI,CAAA,CAAM,GAAMc,CAAA,CAAa,IAC1Ef,CAAA,CAAiB,GAAEY,CAAA,CAAUI,mBAAoB,IAAGJ,CAAA,CAAUK,qBAAsB,EAAC,CACrF,GAAAC,CAAA,CAAAC,IAAG,EAAG,4BAA2BP,CAAA,CAAUI,mBAAoB,iBAAgBJ,CAAA,CAAUK,qBAAsB,GAAE,CACnH,MAAO,CACL,GAAM,CAAAJ,CAAA,CAAY,KAAM,GAAAD,CAAA,CAAAQ,iBAAgB,EAAEvB,CAAA,CAASI,CAAA,CAAM,GAAMc,CAAA,CAAa,IAC5Ef,CAAA,CAAgBa,CAAA,CAAUQ,OAAO,CACjC,GAAAH,C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\ No newline at end of file diff --git a/dist/modern/actions_python.c36737fd.js b/dist/modern/actions_python.c36737fd.js deleted file mode 100644 index d0ad73f2..00000000 --- a/dist/modern/actions_python.c36737fd.js +++ /dev/null @@ -1,3 +0,0 @@ -function $parcel$export(e,t,r,i){Object.defineProperty(e,t,{get:r,set:i,enumerable:!0,configurable:!0});}function $parcel$interopDefault(e){return e&&e.__esModule?e.default:e;}var $k14yv$path=require("path"),$k14yv$os=require("os"),$k14yv$fs=require("fs"),$k14yv$stream=require("stream"),$k14yv$util=require("util"),$k14yv$assert=require("assert"),$k14yv$child_process=require("child_process"),$k14yv$http=require("http"),$k14yv$https=require("https"),$parcel$global="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{},parcelRequire=$parcel$global.parcelRequire810d;parcelRequire.register("4kQHk",function(e,t){var r,i,s,n,o,a,h,l,c;function u(e){return e.startsWith("pypy");}async function p(e,t,o){h.IS_MAC&&(process.env.AGENT_TOOLSDIRECTORY="/Users/runner/hostedtoolcache");let l=process.env.AGENT_TOOLSDIRECTORY?.trim();if("string"==typeof l&&""!==l&&(process.env.RUNNER_TOOL_CACHE=process.env.AGENT_TOOLSDIRECTORY),(0,n.debug)("Python is expected to be installed into "+process.env.RUNNER_TOOL_CACHE),e){let t;if(u(e)){let r=await(0,i.findPyPyVersion)(e,o,!0,d,!1);t=`${r.resolvedPyPyVersion}-${r.resolvedPythonVersion}`,(0,s.info)(`Successfully set up PyPy ${r.resolvedPyPyVersion} with Python (${r.resolvedPythonVersion})`);}else{let i=await(0,r.useCpythonVersion)(e,o,!0,d,!1);t=i.version,(0,s.info)(`Successfully set up ${i.impl} (${t})`);}}a.GITHUB_ACTIONS&&(await f());}async function f(){let e=(0,o.join)(c,"python_matcher.json");if(!(await(0,l.pathExists)(e)))return(0,s.warning)("the python_matcher.json file does not exist in the same folder as setup-cpp.js");(0,s.info)("::add-matcher::"+e);}$parcel$export(e.exports,"setupActionsPython",()=>p),r=parcelRequire("11OPo"),i=parcelRequire("dVzcM"),s=parcelRequire("ER74K"),n=parcelRequire("lcRzN"),o=parcelRequire("ceI0e"),a=parcelRequire("dTX7a"),h=parcelRequire("6PFnG"),l=parcelRequire("dOmbL"),c=$k14yv$path.resolve(__dirname,"../../src/python");let d=!1;}),parcelRequire.register("11OPo",function(e,t){var r,i,s,n,o;function a(e){return r.IS_WINDOWS?$k14yv$path.join(e,"Scripts"):$k14yv$path.join(e,"bin");}async function h(e,t,h,p,f){let d=null,y=l(e),m=u(y,f);if(n.debug(`Semantic version spec of ${e} is ${m}`),p){d=await s.getManifest();let e=(await s.findReleaseFromManifest(m,t,d))?.version;e?(m=e,n.info(`Resolved as '${m}'`)):n.info(`Failed to resolve version ${m} from manifest`);}let g=o.find("Python",m,t);if(!g){n.info(`Version ${m} was not found in the local cache`);let e=await s.findReleaseFromManifest(m,t,d);e&&e.files&&e.files.length>0&&(n.info(`Version ${m} is available for downloading`),await s.installCpythonFromRelease(e),g=o.find("Python",m,t));}if(!g){let i=await(0,r.getOSInfo)();throw Error([`The version '${e}' with architecture '${t}' was not found for ${i?`${i.osName} ${i.osVersion}`:"this operating system"}.`,"The list of all available versions can be found here: "+s.MANIFEST_URL].join($k14yv$os.EOL));}let x=a(g),w=r.IS_WINDOWS?".exe":"",b=$k14yv$path.join(r.IS_WINDOWS?g:x,"python"+w);if(h){if(n.exportVariable("pythonLocation",g),n.exportVariable("PKG_CONFIG_PATH",g+"/lib/pkgconfig"),n.exportVariable("pythonLocation",g),n.exportVariable("Python_ROOT_DIR",g),n.exportVariable("Python2_ROOT_DIR",g),n.exportVariable("Python3_ROOT_DIR",g),n.exportVariable("PKG_CONFIG_PATH",g+"/lib/pkgconfig"),r.IS_LINUX){let e=process.env.LD_LIBRARY_PATH?":"+process.env.LD_LIBRARY_PATH:"",t=$k14yv$path.join(g,"lib");e.split(":").includes(t)||n.exportVariable("LD_LIBRARY_PATH",t+e);}if(n.addPath(g),n.addPath(x),r.IS_WINDOWS){let e=$k14yv$path.basename($k14yv$path.dirname(g)),t=i.major(e),r=i.minor(e),s=$k14yv$path.join(process.env.APPDATA||"","Python",`Python${t}${r}`,"Scripts");n.addPath(s);}}let v=c(g);return n.setOutput("python-version",v),n.setOutput("python-path",b),{impl:"CPython",version:v};}function l(e){let t=/^(\d+)\.(\d+)-dev$/;return e.replace(t,"~$1.$2.0-0");}function c(e){let t=e.split($k14yv$path.sep),r=t.findIndex(e=>"PyPy"===e||"Python"===e);return t[r+1]||"";}function u(e,t){let r=/(\d+\.\d+\.\d+)((?:a|b|rc)\d*)/g,i=/^(\d+)\.(\d+)$/,s=e.replace(r,"$1-$2");return t&&(s=s.replace(i,"~$1.$2.0-0")),s;}$parcel$export(e.exports,"useCpythonVersion",()=>h),r=parcelRequire("6PFnG"),i=parcelRequire("lJEXJ"),s=parcelRequire("e5ToQ"),n=parcelRequire("lcRzN"),o=parcelRequire("4ai2V");}),parcelRequire.register("6PFnG",function(e,t){var r,i,s;function n(e,t,r,i=!1){let s=$k14yv$path.join(e,t),n=$k14yv$path.join(e,r);$parcel$interopDefault($k14yv$fs).existsSync(n)||($parcel$interopDefault($k14yv$fs).symlinkSync(s,n),!m&&i&&$parcel$interopDefault($k14yv$fs).chmodSync(n,"755"));}function o(e){return a(e)||!!i.validRange(e);}function a(e){return"nightly"===e;}function h(e){return $k14yv$path.basename($k14yv$path.dirname(e));}function l(e){let t="",r=$k14yv$path.join(e,v);return $parcel$interopDefault($k14yv$fs).existsSync(r)&&(t=$parcel$interopDefault($k14yv$fs).readFileSync(r).toString().trim()),t;}function c(e,t){let r=$k14yv$path.join(e,v);$parcel$interopDefault($k14yv$fs).writeFileSync(r,t);}function u(e){let t=/^\d+\.\d+$/;return t.test(e);}async function p(){let{stdout:e}=await s.getExecOutput('powershell -command "(Get-CimInstance -ClassName Win32_OperatingSystem).Caption"',void 0,{silent:!0}),t=e.trim().split(" ")[3];return{osName:"Windows",osVersion:t};}async function f(){let{stdout:e}=await s.getExecOutput("sw_vers",["-productVersion"],{silent:!0}),t=e.trim();return{osName:"macOS",osVersion:t};}async function d(){let{stdout:e}=await s.getExecOutput("lsb_release",["-i","-r","-s"],{silent:!0}),[t,i]=e.trim().split("\n");return r.debug(`OS Name: ${t}, Version: ${i}`),{osName:t,osVersion:i};}async function y(){let e;try{m?e=await p():g?e=await d():x&&(e=await f());}catch(t){let e=t;r.debug(e.message);}finally{return e;}}$parcel$export(e.exports,"IS_WINDOWS",()=>m),$parcel$export(e.exports,"IS_LINUX",()=>g),$parcel$export(e.exports,"IS_MAC",()=>x),$parcel$export(e.exports,"WINDOWS_ARCHS",()=>w),$parcel$export(e.exports,"WINDOWS_PLATFORMS",()=>b),$parcel$export(e.exports,"createSymlinkInFolder",()=>n),$parcel$export(e.exports,"validateVersion",()=>o),$parcel$export(e.exports,"isNightlyKeyword",()=>a),$parcel$export(e.exports,"getPyPyVersionFromPath",()=>h),$parcel$export(e.exports,"readExactPyPyVersionFile",()=>l),$parcel$export(e.exports,"writeExactPyPyVersionFile",()=>c),$parcel$export(e.exports,"validatePythonVersionFormatForPyPy",()=>u),$parcel$export(e.exports,"getOSInfo",()=>y),r=parcelRequire("lcRzN"),i=parcelRequire("lJEXJ"),parcelRequire("55W4k"),s=parcelRequire("jlr6Q");let m="win32"===process.platform,g="linux"===process.platform,x="darwin"===process.platform,w=["x86","x64"],b=["win32","win64"],v="PYPY_VERSION";}),parcelRequire.register("55W4k",function(e,t){var r;$parcel$export(e.exports,"parse",()=>r,e=>r=e),r=parcelRequire("gi4xV"),parcelRequire("5e4iL");}),parcelRequire.register("gi4xV",function(e,t){e.exports=parcelRequire("hncsJ"),e.exports.async=parcelRequire("leFFm"),e.exports.stream=parcelRequire("bIDnv"),e.exports.prettyError=parcelRequire("ckX77");}),parcelRequire.register("hncsJ",function(e,t){var r,i;function s(e){$parcel$global.Buffer&&$parcel$global.Buffer.isBuffer(e)&&(e=e.toString("utf8"));let t=new r();try{return t.parse(e),t.finish();}catch(t){throw i(t,e);}}e.exports=s,r=parcelRequire("gEhiJ"),i=parcelRequire("ckX77");}),parcelRequire.register("gEhiJ",function(module,exports){var $lPmG1,$7kLtX,$i8y9h,$l5l5L;let _custom;function isDigit(e){return e>=CHAR_0&&e<=CHAR_9;}function isHexit(e){return e>=CHAR_A&&e<=CHAR_F||e>=CHAR_a&&e<=CHAR_f||e>=CHAR_0&&e<=CHAR_9;}function isBit(e){return e===CHAR_1||e===CHAR_0;}function isOctit(e){return e>=CHAR_0&&e<=CHAR_7;}function isAlphaNumQuoteHyphen(e){return e>=CHAR_A&&e<=CHAR_Z||e>=CHAR_a&&e<=CHAR_z||e>=CHAR_0&&e<=CHAR_9||e===CHAR_APOS||e===CHAR_QUOT||e===CHAR_LOWBAR||e===CHAR_HYPHEN;}function isAlphaNumHyphen(e){return e>=CHAR_A&&e<=CHAR_Z||e>=CHAR_a&&e<=CHAR_z||e>=CHAR_0&&e<=CHAR_9||e===CHAR_LOWBAR||e===CHAR_HYPHEN;}function hasKey(e,t){return!!hasOwnProperty.call(e,t)||("__proto__"===t&&defineProperty(e,"__proto__",descriptor),!1);}function InlineTable(){return Object.defineProperties({},{[_type]:{value:INLINE_TABLE}});}function isInlineTable(e){return null!==e&&"object"==typeof e&&e[_type]===INLINE_TABLE;}function Table(){return Object.defineProperties({},{[_type]:{value:TABLE},[_declared]:{value:!1,writable:!0}});}function isTable(e){return null!==e&&"object"==typeof e&&e[_type]===TABLE;}function InlineList(e){return Object.defineProperties([],{[_type]:{value:INLINE_LIST},[_contentType]:{value:e}});}function isInlineList(e){return null!==e&&"object"==typeof e&&e[_type]===INLINE_LIST;}function List(){return Object.defineProperties([],{[_type]:{value:LIST}});}function isList(e){return null!==e&&"object"==typeof e&&e[_type]===LIST;}function Integer(e){let t=+e;return(Object.is(t,-0)&&(t=0),$parcel$global.BigInt&&!Number.isSafeInteger(t))?new BoxedBigInt(e):Object.defineProperties(new Number(t),{isNaN:{value:function(){return isNaN(this);}},[_type]:{value:INTEGER},[_inspect]:{value:()=>`[Integer: ${e}]`}});}function isInteger(e){return null!==e&&"object"==typeof e&&e[_type]===INTEGER;}function Float(e){return Object.defineProperties(new Number(e),{[_type]:{value:FLOAT},[_inspect]:{value:()=>`[Float: ${e}]`}});}function isFloat(e){return null!==e&&"object"==typeof e&&e[_type]===FLOAT;}function tomlType(e){let t=typeof e;if("object"===t){if(null===e)return"null";if(e instanceof Date)return"datetime";if(_type in e)switch(e[_type]){case INLINE_TABLE:return"inline-table";case INLINE_LIST:return"inline-list";case TABLE:return"table";case LIST:return"list";case FLOAT:return"float";case INTEGER:return"integer";}}return t;}function makeParserClass(e){class t extends e{constructor(){super(),this.ctx=this.obj=Table();}atEndOfWord(){return this.char===CHAR_NUM||this.char===CTRL_I||this.char===CHAR_SP||this.atEndOfLine();}atEndOfLine(){return this.char===e.END||this.char===CTRL_J||this.char===CTRL_M;}parseStart(){if(this.char===e.END)return null;if(this.char===CHAR_LSQB)return this.call(this.parseTableOrList);if(this.char===CHAR_NUM)return this.call(this.parseComment);if(this.char===CTRL_J||this.char===CHAR_SP||this.char===CTRL_I||this.char===CTRL_M)return null;if(isAlphaNumQuoteHyphen(this.char))return this.callNow(this.parseAssignStatement);else throw this.error(new TomlError(`Unknown character "${this.char}"`));}parseWhitespaceToEOL(){if(this.char===CHAR_SP||this.char===CTRL_I||this.char===CTRL_M)return null;if(this.char===CHAR_NUM)return this.goto(this.parseComment);if(this.char===e.END||this.char===CTRL_J)return this.return();throw this.error(new TomlError("Unexpected character, expected only whitespace or comments till end of line"));}parseAssignStatement(){return this.callNow(this.parseAssign,this.recordAssignStatement);}recordAssignStatement(e){let t=this.ctx,r=e.key.pop();for(let r of e.key){if(hasKey(t,r)&&(!isTable(t[r])||t[r][_declared]))throw this.error(new TomlError("Can't redefine existing key"));t=t[r]=t[r]||Table();}if(hasKey(t,r))throw this.error(new TomlError("Can't redefine existing key"));return isInteger(e.value)||isFloat(e.value)?t[r]=e.value.valueOf():t[r]=e.value,this.goto(this.parseWhitespaceToEOL);}parseAssign(){return this.callNow(this.parseKeyword,this.recordAssignKeyword);}recordAssignKeyword(e){return this.state.resultTable?this.state.resultTable.push(e):this.state.resultTable=[e],this.goto(this.parseAssignKeywordPreDot);}parseAssignKeywordPreDot(){return this.char===CHAR_PERIOD?this.next(this.parseAssignKeywordPostDot):this.char!==CHAR_SP&&this.char!==CTRL_I?this.goto(this.parseAssignEqual):void 0;}parseAssignKeywordPostDot(){if(this.char!==CHAR_SP&&this.char!==CTRL_I)return this.callNow(this.parseKeyword,this.recordAssignKeyword);}parseAssignEqual(){if(this.char===CHAR_EQUALS)return this.next(this.parseAssignPreValue);throw this.error(new TomlError('Invalid character, expected "="'));}parseAssignPreValue(){return this.char===CHAR_SP||this.char===CTRL_I?null:this.callNow(this.parseValue,this.recordAssignValue);}recordAssignValue(e){return this.returnNow({key:this.state.resultTable,value:e});}parseComment(){do if(this.char===e.END||this.char===CTRL_J)return this.return();while(this.nextChar());}parseTableOrList(){if(this.char!==CHAR_LSQB)return this.goto(this.parseTable);this.next(this.parseList);}parseTable(){return this.ctx=this.obj,this.goto(this.parseTableNext);}parseTableNext(){return this.char===CHAR_SP||this.char===CTRL_I?null:this.callNow(this.parseKeyword,this.parseTableMore);}parseTableMore(e){if(this.char===CHAR_SP||this.char===CTRL_I)return null;if(this.char===CHAR_RSQB){if(hasKey(this.ctx,e)&&(!isTable(this.ctx[e])||this.ctx[e][_declared]))throw this.error(new TomlError("Can't redefine existing key"));return this.ctx=this.ctx[e]=this.ctx[e]||Table(),this.ctx[_declared]=!0,this.next(this.parseWhitespaceToEOL);}if(this.char===CHAR_PERIOD){if(hasKey(this.ctx,e)){if(isTable(this.ctx[e]))this.ctx=this.ctx[e];else if(isList(this.ctx[e]))this.ctx=this.ctx[e][this.ctx[e].length-1];else throw this.error(new TomlError("Can't redefine existing key"));}else this.ctx=this.ctx[e]=Table();return this.next(this.parseTableNext);}throw this.error(new TomlError("Unexpected character, expected whitespace, . or ]"));}parseList(){return this.ctx=this.obj,this.goto(this.parseListNext);}parseListNext(){return this.char===CHAR_SP||this.char===CTRL_I?null:this.callNow(this.parseKeyword,this.parseListMore);}parseListMore(e){if(this.char===CHAR_SP||this.char===CTRL_I)return null;if(this.char===CHAR_RSQB){if(hasKey(this.ctx,e)||(this.ctx[e]=List()),isInlineList(this.ctx[e]))throw this.error(new TomlError("Can't extend an inline array"));if(isList(this.ctx[e])){let t=Table();this.ctx[e].push(t),this.ctx=t;}else throw this.error(new TomlError("Can't redefine an existing key"));return this.next(this.parseListEnd);}if(this.char===CHAR_PERIOD){if(hasKey(this.ctx,e)){if(isInlineList(this.ctx[e]))throw this.error(new TomlError("Can't extend an inline array"));if(isInlineTable(this.ctx[e]))throw this.error(new TomlError("Can't extend an inline table"));else if(isList(this.ctx[e]))this.ctx=this.ctx[e][this.ctx[e].length-1];else if(isTable(this.ctx[e]))this.ctx=this.ctx[e];else throw this.error(new TomlError("Can't redefine an existing key"));}else this.ctx=this.ctx[e]=Table();return this.next(this.parseListNext);}throw this.error(new TomlError("Unexpected character, expected whitespace, . or ]"));}parseListEnd(e){if(this.char===CHAR_RSQB)return this.next(this.parseWhitespaceToEOL);throw this.error(new TomlError("Unexpected character, expected whitespace, . or ]"));}parseValue(){if(this.char===e.END)throw this.error(new TomlError("Key without value"));if(this.char===CHAR_QUOT)return this.next(this.parseDoubleString);if(this.char===CHAR_APOS)return this.next(this.parseSingleString);if(this.char===CHAR_HYPHEN||this.char===CHAR_PLUS)return this.goto(this.parseNumberSign);if(this.char===CHAR_i)return this.next(this.parseInf);if(this.char===CHAR_n)return this.next(this.parseNan);if(isDigit(this.char))return this.goto(this.parseNumberOrDateTime);else if(this.char===CHAR_t||this.char===CHAR_f)return this.goto(this.parseBoolean);else if(this.char===CHAR_LSQB)return this.call(this.parseInlineList,this.recordValue);else if(this.char===CHAR_LCUB)return this.call(this.parseInlineTable,this.recordValue);else throw this.error(new TomlError("Unexpected character, expecting string, number, datetime, boolean, inline array or inline table"));}recordValue(e){return this.returnNow(e);}parseInf(){if(this.char===CHAR_n)return this.next(this.parseInf2);throw this.error(new TomlError('Unexpected character, expected "inf", "+inf" or "-inf"'));}parseInf2(){if(this.char===CHAR_f)return"-"===this.state.buf?this.return(-1/0):this.return(1/0);throw this.error(new TomlError('Unexpected character, expected "inf", "+inf" or "-inf"'));}parseNan(){if(this.char===CHAR_a)return this.next(this.parseNan2);throw this.error(new TomlError('Unexpected character, expected "nan"'));}parseNan2(){if(this.char===CHAR_n)return this.return(NaN);throw this.error(new TomlError('Unexpected character, expected "nan"'));}parseKeyword(){return this.char===CHAR_QUOT?this.next(this.parseBasicString):this.char===CHAR_APOS?this.next(this.parseLiteralString):this.goto(this.parseBareKey);}parseBareKey(){do{if(this.char===e.END)throw this.error(new TomlError("Key ended without value"));if(isAlphaNumHyphen(this.char))this.consume();else if(0!==this.state.buf.length)return this.returnNow();else throw this.error(new TomlError("Empty bare keys are not allowed"));}while(this.nextChar());}parseSingleString(){return this.char===CHAR_APOS?this.next(this.parseLiteralMultiStringMaybe):this.goto(this.parseLiteralString);}parseLiteralString(){do{if(this.char===CHAR_APOS)return this.return();if(this.atEndOfLine())throw this.error(new TomlError("Unterminated string"));if(this.char===CHAR_DEL||this.char<=CTRL_CHAR_BOUNDARY&&this.char!==CTRL_I)throw this.errorControlCharInString();else this.consume();}while(this.nextChar());}parseLiteralMultiStringMaybe(){return this.char===CHAR_APOS?this.next(this.parseLiteralMultiString):this.returnNow();}parseLiteralMultiString(){return this.char===CTRL_M?null:this.char===CTRL_J?this.next(this.parseLiteralMultiStringContent):this.goto(this.parseLiteralMultiStringContent);}parseLiteralMultiStringContent(){do{if(this.char===CHAR_APOS)return this.next(this.parseLiteralMultiEnd);if(this.char===e.END)throw this.error(new TomlError("Unterminated multi-line string"));if(this.char===CHAR_DEL||this.char<=CTRL_CHAR_BOUNDARY&&this.char!==CTRL_I&&this.char!==CTRL_J&&this.char!==CTRL_M)throw this.errorControlCharInString();else this.consume();}while(this.nextChar());}parseLiteralMultiEnd(){return this.char===CHAR_APOS?this.next(this.parseLiteralMultiEnd2):(this.state.buf+="'",this.goto(this.parseLiteralMultiStringContent));}parseLiteralMultiEnd2(){return this.char===CHAR_APOS?this.return():(this.state.buf+="''",this.goto(this.parseLiteralMultiStringContent));}parseDoubleString(){return this.char===CHAR_QUOT?this.next(this.parseMultiStringMaybe):this.goto(this.parseBasicString);}parseBasicString(){do{if(this.char===CHAR_BSOL)return this.call(this.parseEscape,this.recordEscapeReplacement);if(this.char===CHAR_QUOT)return this.return();if(this.atEndOfLine())throw this.error(new TomlError("Unterminated string"));else if(this.char===CHAR_DEL||this.char<=CTRL_CHAR_BOUNDARY&&this.char!==CTRL_I)throw this.errorControlCharInString();else this.consume();}while(this.nextChar());}recordEscapeReplacement(e){return this.state.buf+=e,this.goto(this.parseBasicString);}parseMultiStringMaybe(){return this.char===CHAR_QUOT?this.next(this.parseMultiString):this.returnNow();}parseMultiString(){return this.char===CTRL_M?null:this.char===CTRL_J?this.next(this.parseMultiStringContent):this.goto(this.parseMultiStringContent);}parseMultiStringContent(){do{if(this.char===CHAR_BSOL)return this.call(this.parseMultiEscape,this.recordMultiEscapeReplacement);if(this.char===CHAR_QUOT)return this.next(this.parseMultiEnd);if(this.char===e.END)throw this.error(new TomlError("Unterminated multi-line string"));else if(this.char===CHAR_DEL||this.char<=CTRL_CHAR_BOUNDARY&&this.char!==CTRL_I&&this.char!==CTRL_J&&this.char!==CTRL_M)throw this.errorControlCharInString();else this.consume();}while(this.nextChar());}errorControlCharInString(){let e="\\u00";return this.char<16&&(e+="0"),e+=this.char.toString(16),this.error(new TomlError(`Control characters (codes < 0x1f and 0x7f) are not allowed in strings, use ${e} instead`));}recordMultiEscapeReplacement(e){return this.state.buf+=e,this.goto(this.parseMultiStringContent);}parseMultiEnd(){return this.char===CHAR_QUOT?this.next(this.parseMultiEnd2):(this.state.buf+='"',this.goto(this.parseMultiStringContent));}parseMultiEnd2(){return this.char===CHAR_QUOT?this.return():(this.state.buf+='""',this.goto(this.parseMultiStringContent));}parseMultiEscape(){return this.char===CTRL_M||this.char===CTRL_J?this.next(this.parseMultiTrim):this.char===CHAR_SP||this.char===CTRL_I?this.next(this.parsePreMultiTrim):this.goto(this.parseEscape);}parsePreMultiTrim(){if(this.char===CHAR_SP||this.char===CTRL_I)return null;if(this.char===CTRL_M||this.char===CTRL_J)return this.next(this.parseMultiTrim);throw this.error(new TomlError("Can't escape whitespace"));}parseMultiTrim(){return this.char===CTRL_J||this.char===CHAR_SP||this.char===CTRL_I||this.char===CTRL_M?null:this.returnNow();}parseEscape(){if(this.char in escapes)return this.return(escapes[this.char]);if(this.char===CHAR_u)return this.call(this.parseSmallUnicode,this.parseUnicodeReturn);if(this.char===CHAR_U)return this.call(this.parseLargeUnicode,this.parseUnicodeReturn);throw this.error(new TomlError("Unknown escape character: "+this.char));}parseUnicodeReturn(e){try{let t=parseInt(e,16);if(t>=SURROGATE_FIRST&&t<=SURROGATE_LAST)throw this.error(new TomlError("Invalid unicode, character in range 0xD800 - 0xDFFF is reserved"));return this.returnNow(String.fromCodePoint(t));}catch(e){throw this.error(TomlError.wrap(e));}}parseSmallUnicode(){if(isHexit(this.char)){if(this.consume(),this.state.buf.length>=4)return this.return();}else throw this.error(new TomlError("Invalid character in unicode sequence, expected hex"));}parseLargeUnicode(){if(isHexit(this.char)){if(this.consume(),this.state.buf.length>=8)return this.return();}else throw this.error(new TomlError("Invalid character in unicode sequence, expected hex"));}parseNumberSign(){return this.consume(),this.next(this.parseMaybeSignedInfOrNan);}parseMaybeSignedInfOrNan(){return this.char===CHAR_i?this.next(this.parseInf):this.char===CHAR_n?this.next(this.parseNan):this.callNow(this.parseNoUnder,this.parseNumberIntegerStart);}parseNumberIntegerStart(){return this.char===CHAR_0?(this.consume(),this.next(this.parseNumberIntegerExponentOrDecimal)):this.goto(this.parseNumberInteger);}parseNumberIntegerExponentOrDecimal(){return this.char===CHAR_PERIOD?(this.consume(),this.call(this.parseNoUnder,this.parseNumberFloat)):this.char===CHAR_E||this.char===CHAR_e?(this.consume(),this.next(this.parseNumberExponentSign)):this.returnNow(Integer(this.state.buf));}parseNumberInteger(){if(isDigit(this.char))this.consume();else{if(this.char===CHAR_LOWBAR)return this.call(this.parseNoUnder);if(this.char===CHAR_E||this.char===CHAR_e)return this.consume(),this.next(this.parseNumberExponentSign);if(this.char===CHAR_PERIOD)return this.consume(),this.call(this.parseNoUnder,this.parseNumberFloat);let e=Integer(this.state.buf);if(!e.isNaN())return this.returnNow(e);throw this.error(new TomlError("Invalid number"));}}parseNoUnder(){if(this.char===CHAR_LOWBAR||this.char===CHAR_PERIOD||this.char===CHAR_E||this.char===CHAR_e)throw this.error(new TomlError("Unexpected character, expected digit"));if(this.atEndOfWord())throw this.error(new TomlError("Incomplete number"));return this.returnNow();}parseNoUnderHexOctBinLiteral(){if(this.char===CHAR_LOWBAR||this.char===CHAR_PERIOD)throw this.error(new TomlError("Unexpected character, expected digit"));if(this.atEndOfWord())throw this.error(new TomlError("Incomplete number"));return this.returnNow();}parseNumberFloat(){if(this.char===CHAR_LOWBAR)return this.call(this.parseNoUnder,this.parseNumberFloat);if(isDigit(this.char))this.consume();else if(this.char===CHAR_E||this.char===CHAR_e)return this.consume(),this.next(this.parseNumberExponentSign);else return this.returnNow(Float(this.state.buf));}parseNumberExponentSign(){if(isDigit(this.char))return this.goto(this.parseNumberExponent);if(this.char===CHAR_HYPHEN||this.char===CHAR_PLUS)this.consume(),this.call(this.parseNoUnder,this.parseNumberExponent);else throw this.error(new TomlError("Unexpected character, expected -, + or digit"));}parseNumberExponent(){if(isDigit(this.char))this.consume();else if(this.char===CHAR_LOWBAR)return this.call(this.parseNoUnder);else return this.returnNow(Float(this.state.buf));}parseNumberOrDateTime(){return this.char===CHAR_0?(this.consume(),this.next(this.parseNumberBaseOrDateTime)):this.goto(this.parseNumberOrDateTimeOnly);}parseNumberOrDateTimeOnly(){if(this.char===CHAR_LOWBAR)return this.call(this.parseNoUnder,this.parseNumberInteger);if(isDigit(this.char))this.consume(),this.state.buf.length>4&&this.next(this.parseNumberInteger);else if(this.char===CHAR_E||this.char===CHAR_e)return this.consume(),this.next(this.parseNumberExponentSign);else if(this.char===CHAR_PERIOD)return this.consume(),this.call(this.parseNoUnder,this.parseNumberFloat);else if(this.char===CHAR_HYPHEN)return this.goto(this.parseDateTime);else if(this.char===CHAR_COLON)return this.goto(this.parseOnlyTimeHour);else return this.returnNow(Integer(this.state.buf));}parseDateTimeOnly(){if(this.state.buf.length<4){if(isDigit(this.char))return this.consume();if(this.char===CHAR_COLON)return this.goto(this.parseOnlyTimeHour);throw this.error(new TomlError("Expected digit while parsing year part of a date"));}if(this.char===CHAR_HYPHEN)return this.goto(this.parseDateTime);throw this.error(new TomlError("Expected hyphen (-) while parsing year part of date"));}parseNumberBaseOrDateTime(){if(this.char===CHAR_b)return this.consume(),this.call(this.parseNoUnderHexOctBinLiteral,this.parseIntegerBin);if(this.char===CHAR_o)return this.consume(),this.call(this.parseNoUnderHexOctBinLiteral,this.parseIntegerOct);if(this.char===CHAR_x)return this.consume(),this.call(this.parseNoUnderHexOctBinLiteral,this.parseIntegerHex);if(this.char===CHAR_PERIOD)return this.goto(this.parseNumberInteger);if(isDigit(this.char))return this.goto(this.parseDateTimeOnly);else return this.returnNow(Integer(this.state.buf));}parseIntegerHex(){if(isHexit(this.char))this.consume();else{if(this.char===CHAR_LOWBAR)return this.call(this.parseNoUnderHexOctBinLiteral);let e=Integer(this.state.buf);if(!e.isNaN())return this.returnNow(e);throw this.error(new TomlError("Invalid number"));}}parseIntegerOct(){if(isOctit(this.char))this.consume();else{if(this.char===CHAR_LOWBAR)return this.call(this.parseNoUnderHexOctBinLiteral);let e=Integer(this.state.buf);if(!e.isNaN())return this.returnNow(e);throw this.error(new TomlError("Invalid number"));}}parseIntegerBin(){if(isBit(this.char))this.consume();else{if(this.char===CHAR_LOWBAR)return this.call(this.parseNoUnderHexOctBinLiteral);let e=Integer(this.state.buf);if(!e.isNaN())return this.returnNow(e);throw this.error(new TomlError("Invalid number"));}}parseDateTime(){if(this.state.buf.length<4)throw this.error(new TomlError("Years less than 1000 must be zero padded to four characters"));return this.state.result=this.state.buf,this.state.buf="",this.next(this.parseDateMonth);}parseDateMonth(){if(this.char===CHAR_HYPHEN){if(this.state.buf.length<2)throw this.error(new TomlError("Months less than 10 must be zero padded to two characters"));return this.state.result+="-"+this.state.buf,this.state.buf="",this.next(this.parseDateDay);}if(isDigit(this.char))this.consume();else throw this.error(new TomlError("Incomplete datetime"));}parseDateDay(){if(this.char===CHAR_T||this.char===CHAR_SP){if(this.state.buf.length<2)throw this.error(new TomlError("Days less than 10 must be zero padded to two characters"));return this.state.result+="-"+this.state.buf,this.state.buf="",this.next(this.parseStartTimeHour);}if(this.atEndOfWord())return this.returnNow($i8y9h(this.state.result+"-"+this.state.buf));if(isDigit(this.char))this.consume();else throw this.error(new TomlError("Incomplete datetime"));}parseStartTimeHour(){return this.atEndOfWord()?this.returnNow($i8y9h(this.state.result)):this.goto(this.parseTimeHour);}parseTimeHour(){if(this.char===CHAR_COLON){if(this.state.buf.length<2)throw this.error(new TomlError("Hours less than 10 must be zero padded to two characters"));return this.state.result+="T"+this.state.buf,this.state.buf="",this.next(this.parseTimeMin);}if(isDigit(this.char))this.consume();else throw this.error(new TomlError("Incomplete datetime"));}parseTimeMin(){if(this.state.buf.length<2&&isDigit(this.char))this.consume();else if(2===this.state.buf.length&&this.char===CHAR_COLON)return this.state.result+=":"+this.state.buf,this.state.buf="",this.next(this.parseTimeSec);else throw this.error(new TomlError("Incomplete datetime"));}parseTimeSec(){if(isDigit(this.char)){if(this.consume(),2===this.state.buf.length)return this.state.result+=":"+this.state.buf,this.state.buf="",this.next(this.parseTimeZoneOrFraction);}else throw this.error(new TomlError("Incomplete datetime"));}parseOnlyTimeHour(){if(this.char===CHAR_COLON){if(this.state.buf.length<2)throw this.error(new TomlError("Hours less than 10 must be zero padded to two characters"));return this.state.result=this.state.buf,this.state.buf="",this.next(this.parseOnlyTimeMin);}throw this.error(new TomlError("Incomplete time"));}parseOnlyTimeMin(){if(this.state.buf.length<2&&isDigit(this.char))this.consume();else if(2===this.state.buf.length&&this.char===CHAR_COLON)return this.state.result+=":"+this.state.buf,this.state.buf="",this.next(this.parseOnlyTimeSec);else throw this.error(new TomlError("Incomplete time"));}parseOnlyTimeSec(){if(isDigit(this.char)){if(this.consume(),2===this.state.buf.length)return this.next(this.parseOnlyTimeFractionMaybe);}else throw this.error(new TomlError("Incomplete time"));}parseOnlyTimeFractionMaybe(){if(this.state.result+=":"+this.state.buf,this.char!==CHAR_PERIOD)return this.return($l5l5L(this.state.result));this.state.buf="",this.next(this.parseOnlyTimeFraction);}parseOnlyTimeFraction(){if(isDigit(this.char))this.consume();else if(this.atEndOfWord()){if(0===this.state.buf.length)throw this.error(new TomlError("Expected digit in milliseconds"));return this.returnNow($l5l5L(this.state.result+"."+this.state.buf));}else throw this.error(new TomlError("Unexpected character in datetime, expected period (.), minus (-), plus (+) or Z"));}parseTimeZoneOrFraction(){if(this.char===CHAR_PERIOD)this.consume(),this.next(this.parseDateTimeFraction);else if(this.char===CHAR_HYPHEN||this.char===CHAR_PLUS)this.consume(),this.next(this.parseTimeZoneHour);else if(this.char===CHAR_Z)return this.consume(),this.return($lPmG1(this.state.result+this.state.buf));else if(this.atEndOfWord())return this.returnNow($7kLtX(this.state.result+this.state.buf));else throw this.error(new TomlError("Unexpected character in datetime, expected period (.), minus (-), plus (+) or Z"));}parseDateTimeFraction(){if(isDigit(this.char))this.consume();else if(1===this.state.buf.length)throw this.error(new TomlError("Expected digit in milliseconds"));else if(this.char===CHAR_HYPHEN||this.char===CHAR_PLUS)this.consume(),this.next(this.parseTimeZoneHour);else if(this.char===CHAR_Z)return this.consume(),this.return($lPmG1(this.state.result+this.state.buf));else if(this.atEndOfWord())return this.returnNow($7kLtX(this.state.result+this.state.buf));else throw this.error(new TomlError("Unexpected character in datetime, expected period (.), minus (-), plus (+) or Z"));}parseTimeZoneHour(){if(isDigit(this.char)){if(this.consume(),/\d\d$/.test(this.state.buf))return this.next(this.parseTimeZoneSep);}else throw this.error(new TomlError("Unexpected character in datetime, expected digit"));}parseTimeZoneSep(){if(this.char===CHAR_COLON)this.consume(),this.next(this.parseTimeZoneMin);else throw this.error(new TomlError("Unexpected character in datetime, expected colon"));}parseTimeZoneMin(){if(isDigit(this.char)){if(this.consume(),/\d\d$/.test(this.state.buf))return this.return($lPmG1(this.state.result+this.state.buf));}else throw this.error(new TomlError("Unexpected character in datetime, expected digit"));}parseBoolean(){return this.char===CHAR_t?(this.consume(),this.next(this.parseTrue_r)):this.char===CHAR_f?(this.consume(),this.next(this.parseFalse_a)):void 0;}parseTrue_r(){if(this.char===CHAR_r)return this.consume(),this.next(this.parseTrue_u);throw this.error(new TomlError("Invalid boolean, expected true or false"));}parseTrue_u(){if(this.char===CHAR_u)return this.consume(),this.next(this.parseTrue_e);throw this.error(new TomlError("Invalid boolean, expected true or false"));}parseTrue_e(){if(this.char===CHAR_e)return this.return(!0);throw this.error(new TomlError("Invalid boolean, expected true or false"));}parseFalse_a(){if(this.char===CHAR_a)return this.consume(),this.next(this.parseFalse_l);throw this.error(new TomlError("Invalid boolean, expected true or false"));}parseFalse_l(){if(this.char===CHAR_l)return this.consume(),this.next(this.parseFalse_s);throw this.error(new TomlError("Invalid boolean, expected true or false"));}parseFalse_s(){if(this.char===CHAR_s)return this.consume(),this.next(this.parseFalse_e);throw this.error(new TomlError("Invalid boolean, expected true or false"));}parseFalse_e(){if(this.char===CHAR_e)return this.return(!1);throw this.error(new TomlError("Invalid boolean, expected true or false"));}parseInlineList(){if(this.char===CHAR_SP||this.char===CTRL_I||this.char===CTRL_M||this.char===CTRL_J)return null;if(this.char===e.END)throw this.error(new TomlError("Unterminated inline array"));return this.char===CHAR_NUM?this.call(this.parseComment):this.char===CHAR_RSQB?this.return(this.state.resultArr||InlineList()):this.callNow(this.parseValue,this.recordInlineListValue);}recordInlineListValue(e){if(this.state.resultArr){let t=this.state.resultArr[_contentType],r=tomlType(e);if(t!==r)throw this.error(new TomlError(`Inline lists must be a single type, not a mix of ${t} and ${r}`));}else this.state.resultArr=InlineList(tomlType(e));return isFloat(e)||isInteger(e)?this.state.resultArr.push(e.valueOf()):this.state.resultArr.push(e),this.goto(this.parseInlineListNext);}parseInlineListNext(){if(this.char===CHAR_SP||this.char===CTRL_I||this.char===CTRL_M||this.char===CTRL_J)return null;if(this.char===CHAR_NUM)return this.call(this.parseComment);if(this.char===CHAR_COMMA)return this.next(this.parseInlineList);if(this.char===CHAR_RSQB)return this.goto(this.parseInlineList);throw this.error(new TomlError("Invalid character, expected whitespace, comma (,) or close bracket (])"));}parseInlineTable(){if(this.char===CHAR_SP||this.char===CTRL_I)return null;if(this.char===e.END||this.char===CHAR_NUM||this.char===CTRL_J||this.char===CTRL_M)throw this.error(new TomlError("Unterminated inline array"));return this.char===CHAR_RCUB?this.return(this.state.resultTable||InlineTable()):(this.state.resultTable||(this.state.resultTable=InlineTable()),this.callNow(this.parseAssign,this.recordInlineTableValue));}recordInlineTableValue(e){let t=this.state.resultTable,r=e.key.pop();for(let r of e.key){if(hasKey(t,r)&&(!isTable(t[r])||t[r][_declared]))throw this.error(new TomlError("Can't redefine existing key"));t=t[r]=t[r]||Table();}if(hasKey(t,r))throw this.error(new TomlError("Can't redefine existing key"));return isInteger(e.value)||isFloat(e.value)?t[r]=e.value.valueOf():t[r]=e.value,this.goto(this.parseInlineTableNext);}parseInlineTableNext(){if(this.char===CHAR_SP||this.char===CTRL_I)return null;if(this.char===e.END||this.char===CHAR_NUM||this.char===CTRL_J||this.char===CTRL_M)throw this.error(new TomlError("Unterminated inline array"));if(this.char===CHAR_COMMA)return this.next(this.parseInlineTable);if(this.char===CHAR_RCUB)return this.goto(this.parseInlineTable);throw this.error(new TomlError("Invalid character, expected whitespace, comma (,) or close bracket (])"));}}return t;}module.exports=makeParserClass(parcelRequire("lTZk9")),module.exports.makeParserClass=makeParserClass;class TomlError extends Error{constructor(e){super(e),this.name="TomlError",Error.captureStackTrace&&Error.captureStackTrace(this,TomlError),this.fromTOML=!0,this.wrapped=null;}}TomlError.wrap=e=>{let t=new TomlError(e.message);return t.code=e.code,t.wrapped=e,t;},module.exports.TomlError=TomlError,$lPmG1=parcelRequire("lPmG1"),$7kLtX=parcelRequire("7kLtX"),$i8y9h=parcelRequire("i8y9h"),$l5l5L=parcelRequire("l5l5L");let CTRL_I=9,CTRL_J=10,CTRL_M=13,CTRL_CHAR_BOUNDARY=31,CHAR_SP=32,CHAR_QUOT=34,CHAR_NUM=35,CHAR_APOS=39,CHAR_PLUS=43,CHAR_COMMA=44,CHAR_HYPHEN=45,CHAR_PERIOD=46,CHAR_0=48,CHAR_1=49,CHAR_7=55,CHAR_9=57,CHAR_COLON=58,CHAR_EQUALS=61,CHAR_A=65,CHAR_E=69,CHAR_F=70,CHAR_T=84,CHAR_U=85,CHAR_Z=90,CHAR_LOWBAR=95,CHAR_a=97,CHAR_b=98,CHAR_e=101,CHAR_f=102,CHAR_i=105,CHAR_l=108,CHAR_n=110,CHAR_o=111,CHAR_r=114,CHAR_s=115,CHAR_t=116,CHAR_u=117,CHAR_x=120,CHAR_z=122,CHAR_LCUB=123,CHAR_RCUB=125,CHAR_LSQB=91,CHAR_BSOL=92,CHAR_RSQB=93,CHAR_DEL=127,SURROGATE_FIRST=55296,SURROGATE_LAST=57343,escapes={[CHAR_b]:"\b",[CHAR_t]:" ",[CHAR_n]:"\n",[CHAR_f]:"\f",[CHAR_r]:"\r",[CHAR_QUOT]:'"',[CHAR_BSOL]:"\\"},_type=Symbol(),_declared=Symbol(),hasOwnProperty=Object.prototype.hasOwnProperty,defineProperty=Object.defineProperty,descriptor={configurable:!0,enumerable:!0,writable:!0,value:void 0},INLINE_TABLE=Symbol(),TABLE=Symbol(),_contentType=Symbol(),INLINE_LIST=Symbol(),LIST=Symbol();try{let utilInspect=eval("require('util').inspect");_custom=utilInspect.custom;}catch(_){}let _inspect=_custom||"inspect";class BoxedBigInt{constructor(e){try{this.value=$parcel$global.BigInt.asIntN(64,e);}catch(e){this.value=null;}Object.defineProperty(this,_type,{value:INTEGER});}isNaN(){return null===this.value;}toString(){return this.value+"";}[_inspect](){return`[BigInt: ${this.toString()}]}`;}valueOf(){return this.value;}}let INTEGER=Symbol(),FLOAT=Symbol();}),parcelRequire.register("lTZk9",function(e,t){let r=1114112;class i extends Error{constructor(e,t,r){super("[ParserError] "+e,t,r),this.name="ParserError",this.code="ParserError",Error.captureStackTrace&&Error.captureStackTrace(this,i);}}class s{constructor(e){this.parser=e,this.buf="",this.returned=null,this.result=null,this.resultTable=null,this.resultArr=null;}}class n{constructor(){this.pos=0,this.col=0,this.line=0,this.obj={},this.ctx=this.obj,this.stack=[],this._buf="",this.char=null,this.ii=0,this.state=new s(this.parseStart);}parse(e){let t;if(0!==e.length&&null!=e.length){for(this._buf=e+"",this.ii=-1,this.char=-1;!1===t||this.nextChar();)t=this.runOne();this._buf=null;}}nextChar(){return 10===this.char&&(++this.line,this.col=-1),++this.ii,this.char=this._buf.codePointAt(this.ii),++this.pos,++this.col,this.haveBuffer();}haveBuffer(){return this.ii{let t=new Date(e);if(!isNaN(t))return t;throw TypeError("Invalid Datetime");};}),parcelRequire.register("7kLtX",function(e,t){var r=parcelRequire("fDUHx");class i extends Date{constructor(e){super(e+"Z"),this.isFloating=!0;}toISOString(){let e=`${this.getUTCFullYear()}-${r(2,this.getUTCMonth()+1)}-${r(2,this.getUTCDate())}`,t=`${r(2,this.getUTCHours())}:${r(2,this.getUTCMinutes())}:${r(2,this.getUTCSeconds())}.${r(3,this.getUTCMilliseconds())}`;return`${e}T${t}`;}}e.exports=e=>{let t=new i(e);if(!isNaN(t))return t;throw TypeError("Invalid Datetime");};}),parcelRequire.register("fDUHx",function(e,t){e.exports=(e,t)=>{for(t+="";t.length{let t=new s(e);if(!isNaN(t))return t;throw TypeError("Invalid Datetime");};}),parcelRequire.register("l5l5L",function(e,t){var r=parcelRequire("fDUHx");class i extends Date{constructor(e){super(`0000-01-01T${e}Z`),this.isTime=!0;}toISOString(){return`${r(2,this.getUTCHours())}:${r(2,this.getUTCMinutes())}:${r(2,this.getUTCSeconds())}.${r(3,this.getUTCMilliseconds())}`;}}e.exports=e=>{let t=new i(e);if(!isNaN(t))return t;throw TypeError("Invalid Datetime");};}),parcelRequire.register("ckX77",function(e,t){function r(e,t){if(null==e.pos||null==e.line)return e;let r=e.message;if(r+=` at row ${e.line+1}, col ${e.col+1}, pos ${e.pos}: -`,t&&t.split){let i=t.split(/\n/),s=(Math.min(i.length,e.line+3)+"").length,n=" ";for(;n.length "+i[t]+"\n"+n+" ";for(let t=0;t=e.length)try{return n(a.finish());}catch(t){return o(i(t,e));}try{a.parse(e.slice(t,t+r)),setImmediate(s,t+r,r,n,o);}catch(t){o(i(t,e));}}t||(t={});let n=0,o=t.blocksize||40960,a=new r();return new Promise((e,t)=>{setImmediate(s,n,o,e,t);});}e.exports=s,r=parcelRequire("gEhiJ"),i=parcelRequire("ckX77");}),parcelRequire.register("bIDnv",function(e,t){var r;function i(e){return e?s(e):n(e);}function s(e){let t=new r();return e.setEncoding("utf8"),new Promise((r,i)=>{let s;function n(){if(h=!0,!s)try{r(t.finish());}catch(e){i(e);}}function o(e){l=!0,i(e);}function a(){let r;for(s=!0;null!==(r=e.read());)try{t.parse(r);}catch(e){return o(e);}if(s=!1,h)return n();l||e.once("readable",a);}let h=!1,l=!1;e.once("end",n),e.once("error",o),a();});}function n(){let e=new r();return new $k14yv$stream.Transform({objectMode:!0,transform(t,r,i){try{e.parse(t.toString(r));}catch(e){this.emit("error",e);}i();},flush(t){try{this.push(e.finish());}catch(e){this.emit("error",e);}t();}});}e.exports=i,r=parcelRequire("gEhiJ");}),parcelRequire.register("5e4iL",function(e,t){function r(e){if(null===e)throw i("null");if(void 0===e)throw i("undefined");if("object"!=typeof e)throw i(typeof e);if("function"==typeof e.toJSON&&(e=e.toJSON()),null==e)return null;let t=c(e);if("table"!==t)throw i(t);return h("","",e);}function i(e){return Error("Can only stringify objects, not "+e);}function s(){return Error("Array values can't have mixed types");}function n(e){return Object.keys(e).filter(t=>l(e[t]));}function o(e){return Object.keys(e).filter(t=>!l(e[t]));}function a(e){let t=Array.isArray(e)?[]:Object.prototype.hasOwnProperty.call(e,"__proto__")?{["__proto__"]:void 0}:{};for(let r of Object.keys(e))!e[r]||"function"!=typeof e[r].toJSON||"toISOString"in e[r]?t[r]=e[r]:t[r]=e[r].toJSON();return t;}function h(e,t,r){i=n(r=a(r)),s=o(r);var i,s,h=[],l=t||"";i.forEach(e=>{var t=c(r[e]);"undefined"!==t&&"null"!==t&&h.push(l+u(e)+" = "+g(r[e],!0));}),h.length>0&&h.push("");var p=e&&i.length>0?t+" ":"";return s.forEach(t=>{h.push(I(e,p,t,r[t]));}),h.join("\n");}function l(e){switch(c(e)){case"undefined":case"null":case"integer":case"nan":case"float":case"boolean":case"string":case"datetime":return!0;case"array":return 0===e.length||"table"!==c(e[0]);case"table":return 0===Object.keys(e).length;default:return!1;}}function c(e){if(void 0===e)return"undefined";if(null===e)return"null";if("bigint"==typeof e||Number.isInteger(e)&&!Object.is(e,-0))return"integer";if("number"==typeof e)return"float";if("boolean"==typeof e)return"boolean";else if("string"==typeof e)return"string";else if("toISOString"in e)return isNaN(e)?"undefined":"datetime";else if(Array.isArray(e))return"array";else return"table";}function u(e){var t=e+"";return /^[-A-Za-z0-9_]+$/.test(t)?t:p(t);}function p(e){return'"'+y(e).replace(/"/g,'\\"')+'"';}function f(e){return"'"+e+"'";}function d(e,t){for(;t.length"\\u"+d(4,e.codePointAt(0).toString(16)));}function m(e){let t=e.split(/\n/).map(e=>y(e).replace(/"(?="")/g,'\\"')).join("\n");return'"'===t.slice(-1)&&(t+="\\\n"),'"""\n'+t+'"""';}function g(e,t){let r=c(e);return"string"===r&&(t&&/\n/.test(e)?r="string-multiline":!/[\b\t\n\f\r']/.test(e)&&/"/.test(e)&&(r="string-literal")),x(e,r);}function x(e,t){switch(t||(t=c(e)),t){case"string-multiline":return m(e);case"string":return p(e);case"string-literal":return f(e);case"integer":return w(e);case"float":return b(e);case"boolean":return v(e);case"datetime":return S(e);case"array":return T(e.filter(e=>"null"!==c(e)&&"undefined"!==c(e)&&"nan"!==c(e)));case"table":return E(e);default:throw i(t);}}function w(e){return(e+"").replace(/\B(?=(\d{3})+(?!\d))/g,"_");}function b(e){if(e===1/0)return"inf";if(e===-1/0)return"-inf";if(Object.is(e,NaN))return"nan";if(Object.is(e,-0))return"-0.0";var t=(e+"").split("."),r=t[0],i=t[1]||0;return w(r)+"."+i;}function v(e){return e+"";}function S(e){return e.toISOString();}function O(e){return"float"===e||"integer"===e;}function P(e){var t=c(e[0]);return e.every(e=>c(e)===t)?t:e.every(e=>O(c(e)))?"float":"mixed";}function N(e){let t=P(e);if("mixed"===t)throw s();return t;}function T(e){e=a(e);let t=N(e);var r="[",i=e.map(e=>x(e,t));return i.join(", ").length>60||/\n/.test(i)?r+="\n "+i.join(",\n ")+"\n":r+=" "+i.join(", ")+(i.length>0?" ":""),r+"]";}function E(e){e=a(e);var t=[];return Object.keys(e).forEach(r=>{t.push(u(r)+" = "+g(e[r],!1));}),"{ "+t.join(", ")+(t.length>0?" ":"")+"}";}function I(e,t,r,s){var n=c(s);if("array"===n)return R(e,t,r,s);if("table"===n)return A(e,t,r,s);throw i(n);}function R(e,t,r,s){N(s=a(s));var n=c(s[0]);if("table"!==n)throw i(n);var o=e+u(r),l="";return s.forEach(e=>{l.length>0&&(l+="\n"),l+=t+"[["+o+"]]\n"+h(o+".",t,e);}),l;}function A(e,t,r,i){var s=e+u(r),o="";return n(i).length>0&&(o+=t+"["+s+"]\n"),o+h(s+".",t,i);}e.exports=r,e.exports.value=x;}),parcelRequire.register("e5ToQ",function(e,t){var r,i,s,n;async function o(e,t,r){r||(r=await a());let s=await i.findFromManifest(e,!1,r,t);return s;}function a(){return r.debug(`Getting manifest from ${p}/${f}@${d}`),i.getManifestFromRepo(p,f,u,d);}async function h(e){let t={cwd:e,env:{...process.env,...(n.IS_LINUX&&{LD_LIBRARY_PATH:$k14yv$path.join(e,"lib")})},silent:!0,listeners:{stdout(e){r.info(e.toString().trim());},stderr(e){r.error(e.toString().trim());}}};n.IS_WINDOWS?await s.exec("powershell",["./setup.ps1"],t):await s.exec("bash",["./setup.sh"],t);}async function l(e){let t=e.files[0].download_url;r.info(`Download from "${t}"`);let s="";try{let e;s=await i.downloadTool(t,void 0,u),r.info("Extract downloaded archive"),e=n.IS_WINDOWS?await i.extractZip(s):await i.extractTar(s),r.info("Execute installation script"),await h(e);}catch(e){throw e instanceof i.HTTPError&&(403===e.httpStatusCode||429===e.httpStatusCode?r.info(`Received HTTP status code ${e.httpStatusCode}. This usually indicates the rate limit has been exceeded`):r.info(e.message),e.stack&&r.debug(e.stack)),e;}}$parcel$export(e.exports,"MANIFEST_URL",()=>y),$parcel$export(e.exports,"findReleaseFromManifest",()=>o),$parcel$export(e.exports,"getManifest",()=>a),$parcel$export(e.exports,"installCpythonFromRelease",()=>l),r=parcelRequire("lcRzN"),i=parcelRequire("4ai2V"),s=parcelRequire("jlr6Q"),n=parcelRequire("6PFnG");let c=r.getInput("token"),u=c?"token "+c:void 0,p="actions",f="python-versions",d="main",y=`https://raw.githubusercontent.com/${p}/${f}/${d}/versions-manifest.json`;}),parcelRequire.register("4ai2V",function(e,t){function r(e,t,r,s){return I(this,void 0,void 0,function*(){t=t||j.join(S(),W.default()),yield M.mkdirP(j.dirname(t)),D.debug("Downloading "+e),D.debug("Destination "+t);let n=3,o=O("TEST_DOWNLOAD_TOOL_RETRY_MIN_SECONDS",10),a=O("TEST_DOWNLOAD_TOOL_RETRY_MAX_SECONDS",20),h=new C.RetryHelper(n,o,a);return yield h.execute(()=>I(this,void 0,void 0,function*(){return yield i(e,t||"",r,s);}),e=>!(e instanceof B)||!e.httpStatusCode||!(e.httpStatusCode<500)||408===e.httpStatusCode||429===e.httpStatusCode);});}function i(e,t,r,i){return I(this,void 0,void 0,function*(){if(U.existsSync(t))throw Error(`Destination file path ${t} already exists`);let s=new k.HttpClient(z,[],{allowRetries:!1});r&&(D.debug("set auth"),void 0===i&&(i={}),i.authorization=r);let n=yield s.get(e,i);if(200!==n.message.statusCode){let t=new B(n.message.statusCode);throw D.debug(`Failed to download from "${e}". Code(${n.message.statusCode}) Message(${n.message.statusMessage})`),t;}let o=q.promisify(H.pipeline),a=O("TEST_DOWNLOAD_TOOL_RESPONSE_MESSAGE_FACTORY",()=>n.message),h=a(),l=!1;try{return yield o(h,U.createWriteStream(t)),D.debug("download complete"),l=!0,t;}finally{if(!l){D.debug("download failed");try{yield M.rmRF(t);}catch(e){D.debug(`Failed to delete '${t}'. ${e.message}`);}}}});}function s(e,t,r){return I(this,void 0,void 0,function*(){$k14yv$assert.ok(J,"extract7z() not supported on current OS"),$k14yv$assert.ok(e,'parameter "file" is required'),t=yield m(t);let i=process.cwd();if(process.chdir(t),r)try{let t=D.isDebug()?"-bb1":"-bb0",i=["x",t,"-bd","-sccUTF-8",e],s={silent:!0};yield A.exec(`"${r}"`,i,s);}finally{process.chdir(i);}else{let r=j.join($,"..","scripts","Invoke-7zdec.ps1").replace(/'/g,"''").replace(/"|\n|\r/g,""),s=e.replace(/'/g,"''").replace(/"|\n|\r/g,""),n=t.replace(/'/g,"''").replace(/"|\n|\r/g,""),o=`& '${r}' -Source '${s}' -Target '${n}'`,a=["-NoLogo","-Sta","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",o],h={silent:!0};try{let e=yield M.which("powershell",!0);yield A.exec(`"${e}"`,a,h);}finally{process.chdir(i);}}return t;});}function n(e,t,r="xz"){return I(this,void 0,void 0,function*(){let i;if(!e)throw Error("parameter 'file' is required");t=yield m(t),D.debug("Checking tar --version");let s="";yield A.exec("tar --version",[],{ignoreReturnCode:!0,silent:!0,listeners:{stdout:e=>s+=e.toString(),stderr:e=>s+=e.toString()}}),D.debug(s.trim());let n=s.toUpperCase().includes("GNU TAR");i=r instanceof Array?r:[r],D.isDebug()&&!r.includes("v")&&i.push("-v");let o=t,a=e;return J&&n&&(i.push("--force-local"),o=t.replace(/\\/g,"/"),a=e.replace(/\\/g,"/")),n&&(i.push("--warning=no-unknown-keyword"),i.push("--overwrite")),i.push("-C",o,"-f",a),yield A.exec("tar",i),t;});}function o(e,t,r=[]){return I(this,void 0,void 0,function*(){let i;$k14yv$assert.ok(G,"extractXar() not supported on current OS"),$k14yv$assert.ok(e,'parameter "file" is required'),t=yield m(t),(i=r instanceof Array?r:[r]).push("-x","-C",t,"-f",e),D.isDebug()&&i.push("-v");let s=yield M.which("xar",!0);return yield A.exec(`"${s}"`,P(i)),t;});}function a(e,t){return I(this,void 0,void 0,function*(){if(!e)throw Error("parameter 'file' is required");return t=yield m(t),J?yield h(e,t):yield l(e,t),t;});}function h(e,t){return I(this,void 0,void 0,function*(){let r=e.replace(/'/g,"''").replace(/"|\n|\r/g,""),i=t.replace(/'/g,"''").replace(/"|\n|\r/g,""),s=yield M.which("pwsh",!1);if(s){let e=`$ErrorActionPreference = 'Stop' ; try { Add-Type -AssemblyName System.IO.Compression.ZipFile } catch { } ; try { [System.IO.Compression.ZipFile]::ExtractToDirectory('${r}', '${i}', $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 '${i}' -Force } else { throw $_ } } ;`,t=["-NoLogo","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",e];D.debug("Using pwsh at path: "+s),yield A.exec(`"${s}"`,t);}else{let e=`$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 '${i}' -Force } else {[System.IO.Compression.ZipFile]::ExtractToDirectory('${r}', '${i}', $true) }`,t=["-NoLogo","-Sta","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",e],s=yield M.which("powershell",!0);D.debug("Using powershell at path: "+s),yield A.exec(`"${s}"`,t);}});}function l(e,t){return I(this,void 0,void 0,function*(){let r=yield M.which("unzip",!0),i=[e];D.isDebug()||i.unshift("-q"),i.unshift("-o"),yield A.exec(`"${r}"`,i,{cwd:t});});}function c(e,t,r,i){return I(this,void 0,void 0,function*(){if(r=F.clean(r)||r,i=i||V.arch(),D.debug(`Caching tool ${t} ${r} ${i}`),D.debug("source dir: "+e),!U.statSync(e).isDirectory())throw Error("sourceDir is not a directory");let s=yield g(t,r,i);for(let t of U.readdirSync(e)){let r=j.join(e,t);yield M.cp(r,s,{recursive:!0});}return x(t,r,i),s;});}function u(e,t,r,i,s){return I(this,void 0,void 0,function*(){if(i=F.clean(i)||i,s=s||V.arch(),D.debug(`Caching tool ${r} ${i} ${s}`),D.debug("source file: "+e),!U.statSync(e).isFile())throw Error("sourceFile is not a file");let n=yield g(r,i,s),o=j.join(n,t);return D.debug("destination file "+o),yield M.cp(e,o),x(r,i,s),n;});}function p(e,t,r){if(!e)throw Error("toolName parameter is required");if(!t)throw Error("versionSpec parameter is required");if(r=r||V.arch(),!w(t)){let i=f(e,r),s=b(i,t);t=s;}let i="";if(t){t=F.clean(t)||"";let s=j.join(v(),e,t,r);D.debug("checking cache: "+s),U.existsSync(s)&&U.existsSync(`${s}.complete`)?(D.debug(`Found tool in cache ${e} ${t} ${r}`),i=s):D.debug("not found");}return i;}function f(e,t){let r=[];t=t||V.arch();let i=j.join(v(),e);if(U.existsSync(i)){let e=U.readdirSync(i);for(let s of e)if(w(s)){let e=j.join(i,s,t||"");U.existsSync(e)&&U.existsSync(`${e}.complete`)&&r.push(s);}}return r;}function d(e,t,r,i="master"){return I(this,void 0,void 0,function*(){let s=[],n=`https://api.github.com/repos/${e}/${t}/git/trees/${i}`,o=new k.HttpClient("tool-cache"),a={};r&&(D.debug("set auth"),a.authorization=r);let h=yield o.getJson(n,a);if(!h.result)return s;let l="";for(let e of h.result.tree)if("versions-manifest.json"===e.path){l=e.url;break;}a.accept="application/vnd.github.VERSION.raw";let c=yield(yield o.get(l,a)).readBody();if(c){c=c.replace(/^\uFEFF/,"");try{s=JSON.parse(c);}catch(e){D.debug("Invalid json");}}return s;});}function y(e,t,r,i=V.arch()){return I(this,void 0,void 0,function*(){let s=yield L._findMatch(e,t,r,i);return s;});}function m(e){return I(this,void 0,void 0,function*(){return e||(e=j.join(S(),W.default())),yield M.mkdirP(e),e;});}function g(e,t,r){return I(this,void 0,void 0,function*(){let i=j.join(v(),e,F.clean(t)||t,r||"");D.debug("destination "+i);let s=`${i}.complete`;return yield M.rmRF(i),yield M.rmRF(s),yield M.mkdirP(i),i;});}function x(e,t,r){let i=j.join(v(),e,F.clean(t)||t,r||""),s=`${i}.complete`;U.writeFileSync(s,""),D.debug("finished caching tool");}function w(e){let t=F.clean(e)||"";D.debug("isExplicit: "+t);let r=null!=F.valid(t);return D.debug("explicit? "+r),r;}function b(e,t){let r="";D.debug(`evaluating ${e.length} versions`),e=e.sort((e,t)=>F.gt(e,t)?1:-1);for(let i=e.length-1;i>=0;i--){let s=e[i],n=F.satisfies(s,t);if(n){r=s;break;}}return r?D.debug("matched: "+r):D.debug("match not found"),r;}function v(){let e=process.env.RUNNER_TOOL_CACHE||"";return $k14yv$assert.ok(e,"Expected RUNNER_TOOL_CACHE to be defined"),e;}function S(){let e=process.env.RUNNER_TEMP||"";return $k14yv$assert.ok(e,"Expected RUNNER_TEMP to be defined"),e;}function O(e,t){let r=$parcel$global[e];return void 0!==r?r:t;}function P(e){return Array.from(new Set(e));}var N,T,E,I,R,A,C,$=$k14yv$path.resolve(__dirname,"../../node_modules/.pnpm/@actions+tool-cache@1.7.2/node_modules/@actions/tool-cache/lib");N=e.exports&&e.exports.__createBinding||(Object.create?function(e,t,r,i){void 0===i&&(i=r),Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[r];}});}:function(e,t,r,i){void 0===i&&(i=r),e[i]=t[r];}),T=e.exports&&e.exports.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),E=e.exports&&e.exports.__importStar||function(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 T(t,e),t;},I=e.exports&&e.exports.__awaiter||function(e,t,r,i){function s(e){return e instanceof r?e:new r(function(t){t(e);});}return new(r||(r=Promise))(function(r,n){function o(e){try{h(i.next(e));}catch(e){n(e);}}function a(e){try{h(i.throw(e));}catch(e){n(e);}}function h(e){e.done?r(e.value):s(e.value).then(o,a);}h((i=i.apply(e,t||[])).next());});},R=e.exports&&e.exports.__importDefault||function(e){return e&&e.__esModule?e:{default:e};},Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.evaluateVersions=e.exports.isExplicitVersion=e.exports.findFromManifest=e.exports.getManifestFromRepo=e.exports.findAllVersions=e.exports.find=e.exports.cacheFile=e.exports.cacheDir=e.exports.extractZip=e.exports.extractXar=e.exports.extractTar=e.exports.extract7z=e.exports.downloadTool=e.exports.HTTPError=void 0;let D=E(parcelRequire("lcRzN")),M=E(parcelRequire("fcBgE")),U=E($k14yv$fs),L=E(parcelRequire("eMKvA")),V=E($k14yv$os),j=E($k14yv$path),k=E(parcelRequire("95990")),F=E(parcelRequire("aNgTs")),H=E($k14yv$stream),q=E($k14yv$util),W=R(parcelRequire("dGCqI"));A=parcelRequire("jlr6Q"),C=parcelRequire("8RSsC");class B extends Error{constructor(e){super("Unexpected HTTP response: "+e),this.httpStatusCode=e,Object.setPrototypeOf(this,new.target.prototype);}}e.exports.HTTPError=B;let J="win32"===process.platform,G="darwin"===process.platform,z="actions/tool-cache";e.exports.downloadTool=r,e.exports.extract7z=s,e.exports.extractTar=n,e.exports.extractXar=o,e.exports.extractZip=a,e.exports.cacheDir=c,e.exports.cacheFile=u,e.exports.find=p,e.exports.findAllVersions=f,e.exports.getManifestFromRepo=d,e.exports.findFromManifest=y,e.exports.isExplicitVersion=w,e.exports.evaluateVersions=b;}),parcelRequire.register("eMKvA",function(e,t){var r,i,s,n,o;function a(t,r,i,s){return n(this,void 0,void 0,function*(){let n,a,h;let l=$k14yv$os.platform();for(let n of i){let i=n.version;if(o.debug(`check ${i} satisfies ${t}`),c.satisfies(i,t)&&(!r||n.stable===r)&&(h=n.files.find(t=>{o.debug(`${t.arch}===${s} && ${t.platform}===${l}`);let r=t.arch===s&&t.platform===l;if(r&&t.platform_version){let i=e.exports._getOsVersion();r=i===t.platform_version||c.satisfies(i,t.platform_version);}return r;}))){o.debug("matched "+n.version),a=n;break;}}return a&&h&&((n=Object.assign({},a)).files=[h]),n;});}function h(){let t=$k14yv$os.platform(),r="";if("darwin"===t)r=$k14yv$child_process.execSync("sw_vers -productVersion").toString();else if("linux"===t){let t=e.exports._readLinuxVersionFile();if(t){let e=t.split("\n");for(let t of e){let 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;}function l(){let e="/etc/lsb-release",t="/etc/os-release",r="";return $k14yv$fs.existsSync(e)?r=$k14yv$fs.readFileSync(e).toString():$k14yv$fs.existsSync(t)&&(r=$k14yv$fs.readFileSync(t).toString()),r;}r=e.exports&&e.exports.__createBinding||(Object.create?function(e,t,r,i){void 0===i&&(i=r),Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[r];}});}:function(e,t,r,i){void 0===i&&(i=r),e[i]=t[r];}),i=e.exports&&e.exports.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),s=e.exports&&e.exports.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var s in e)"default"!==s&&Object.hasOwnProperty.call(e,s)&&r(t,e,s);return i(t,e),t;},n=e.exports&&e.exports.__awaiter||function(e,t,r,i){function s(e){return e instanceof r?e:new r(function(t){t(e);});}return new(r||(r=Promise))(function(r,n){function o(e){try{h(i.next(e));}catch(e){n(e);}}function a(e){try{h(i.throw(e));}catch(e){n(e);}}function h(e){e.done?r(e.value):s(e.value).then(o,a);}h((i=i.apply(e,t||[])).next());});},Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports._readLinuxVersionFile=e.exports._getOsVersion=e.exports._findMatch=void 0;let c=s(parcelRequire("aNgTs"));o=parcelRequire("lcRzN"),e.exports._findMatch=a,e.exports._getOsVersion=h,e.exports._readLinuxVersionFile=l;}),parcelRequire.register("95990",function(e,t){var r,i,s,n;let o;function a(e){let t=r.getProxyUrl(new URL(e));return t?t.href:"";}function h(e){return"https:"===new URL(e).protocol;}Object.defineProperty(e.exports,"__esModule",{value:!0}),r=parcelRequire("4TaKt"),function(e){e[e.OK=200]="OK",e[e.MultipleChoices=300]="MultipleChoices",e[e.MovedPermanently=301]="MovedPermanently",e[e.ResourceMoved=302]="ResourceMoved",e[e.SeeOther=303]="SeeOther",e[e.NotModified=304]="NotModified",e[e.UseProxy=305]="UseProxy",e[e.SwitchProxy=306]="SwitchProxy",e[e.TemporaryRedirect=307]="TemporaryRedirect",e[e.PermanentRedirect=308]="PermanentRedirect",e[e.BadRequest=400]="BadRequest",e[e.Unauthorized=401]="Unauthorized",e[e.PaymentRequired=402]="PaymentRequired",e[e.Forbidden=403]="Forbidden",e[e.NotFound=404]="NotFound",e[e.MethodNotAllowed=405]="MethodNotAllowed",e[e.NotAcceptable=406]="NotAcceptable",e[e.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",e[e.RequestTimeout=408]="RequestTimeout",e[e.Conflict=409]="Conflict",e[e.Gone=410]="Gone",e[e.TooManyRequests=429]="TooManyRequests",e[e.InternalServerError=500]="InternalServerError",e[e.NotImplemented=501]="NotImplemented",e[e.BadGateway=502]="BadGateway",e[e.ServiceUnavailable=503]="ServiceUnavailable",e[e.GatewayTimeout=504]="GatewayTimeout";}(i=e.exports.HttpCodes||(e.exports.HttpCodes={})),function(e){e.Accept="accept",e.ContentType="content-type";}(s=e.exports.Headers||(e.exports.Headers={})),function(e){e.ApplicationJson="application/json";}(n=e.exports.MediaTypes||(e.exports.MediaTypes={})),e.exports.getProxyUrl=a;let l=[i.MovedPermanently,i.ResourceMoved,i.SeeOther,i.TemporaryRedirect,i.PermanentRedirect],c=[i.BadGateway,i.ServiceUnavailable,i.GatewayTimeout],u=["OPTIONS","GET","DELETE","HEAD"],p=10,f=5;class d extends Error{constructor(e,t){super(e),this.name="HttpClientError",this.statusCode=t,Object.setPrototypeOf(this,d.prototype);}}e.exports.HttpClientError=d;class y{constructor(e){this.message=e;}readBody(){return new Promise(async(e,t)=>{let r=Buffer.alloc(0);this.message.on("data",e=>{r=Buffer.concat([r,e]);}),this.message.on("end",()=>{e(r.toString());});});}}e.exports.HttpClientResponse=y,e.exports.isHttps=h;class m{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 this.request("OPTIONS",e,null,t||{});}get(e,t){return this.request("GET",e,null,t||{});}del(e,t){return this.request("DELETE",e,null,t||{});}post(e,t,r){return this.request("POST",e,t,r||{});}patch(e,t,r){return this.request("PATCH",e,t,r||{});}put(e,t,r){return this.request("PUT",e,t,r||{});}head(e,t){return this.request("HEAD",e,null,t||{});}sendStream(e,t,r,i){return this.request(e,t,r,i);}async getJson(e,t={}){t[s.Accept]=this._getExistingOrDefaultHeader(t,s.Accept,n.ApplicationJson);let r=await this.get(e,t);return this._processResponse(r,this.requestOptions);}async postJson(e,t,r={}){let i=JSON.stringify(t,null,2);r[s.Accept]=this._getExistingOrDefaultHeader(r,s.Accept,n.ApplicationJson),r[s.ContentType]=this._getExistingOrDefaultHeader(r,s.ContentType,n.ApplicationJson);let o=await this.post(e,i,r);return this._processResponse(o,this.requestOptions);}async putJson(e,t,r={}){let i=JSON.stringify(t,null,2);r[s.Accept]=this._getExistingOrDefaultHeader(r,s.Accept,n.ApplicationJson),r[s.ContentType]=this._getExistingOrDefaultHeader(r,s.ContentType,n.ApplicationJson);let o=await this.put(e,i,r);return this._processResponse(o,this.requestOptions);}async patchJson(e,t,r={}){let i=JSON.stringify(t,null,2);r[s.Accept]=this._getExistingOrDefaultHeader(r,s.Accept,n.ApplicationJson),r[s.ContentType]=this._getExistingOrDefaultHeader(r,s.ContentType,n.ApplicationJson);let o=await this.patch(e,i,r);return this._processResponse(o,this.requestOptions);}async request(e,t,r,s){let n;if(this._disposed)throw Error("Client has already been disposed.");let o=new URL(t),a=this._prepareRequest(e,o,s),h=this._allowRetries&&-1!=u.indexOf(e)?this._maxRetries+1:1,p=0;for(;p0;){let i=n.message.headers.location;if(!i)break;let h=new URL(i);if("https:"==o.protocol&&o.protocol!=h.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(await n.readBody(),h.hostname!==o.hostname)for(let e in s)"authorization"===e.toLowerCase()&&delete s[e];a=this._prepareRequest(e,h,s),n=await this.requestRaw(a,r),t--;}if(-1==c.indexOf(n.message.statusCode))break;(p+=1){let s=function(e,t){e&&i(e),r(t);};this.requestRawWithCallback(e,t,s);});}requestRawWithCallback(e,t,r){let i;"string"==typeof t&&(e.options.headers["Content-Length"]=Buffer.byteLength(t,"utf8"));let s=!1,n=(e,t)=>{s||(s=!0,r(e,t));},o=e.httpModule.request(e.options,e=>{n(null,new y(e));});o.on("socket",e=>{i=e;}),o.setTimeout(this._socketTimeout||18e4,()=>{i&&i.end(),n(Error("Request timeout: "+e.options.path),null);}),o.on("error",function(e){n(e,null);}),t&&"string"==typeof t&&o.write(t,"utf8"),t&&"string"!=typeof t?(t.on("close",function(){o.end();}),t.pipe(o)):o.end();}getAgent(e){let t=new URL(e);return this._getAgent(t);}_prepareRequest(e,t,r){let i={};i.parsedUrl=t;let s="https:"===i.parsedUrl.protocol;i.httpModule=s?$k14yv$https:$k14yv$http;let n=s?443:80;return i.options={},i.options.host=i.parsedUrl.hostname,i.options.port=i.parsedUrl.port?parseInt(i.parsedUrl.port):n,i.options.path=(i.parsedUrl.pathname||"")+(i.parsedUrl.search||""),i.options.method=e,i.options.headers=this._mergeHeaders(r),null!=this.userAgent&&(i.options.headers["user-agent"]=this.userAgent),i.options.agent=this._getAgent(i.parsedUrl),this.handlers&&this.handlers.forEach(e=>{e.prepareRequest(i.options);}),i;}_mergeHeaders(e){let t=e=>Object.keys(e).reduce((t,r)=>(t[r.toLowerCase()]=e[r],t),{});return this.requestOptions&&this.requestOptions.headers?Object.assign({},t(this.requestOptions.headers),t(e)):t(e||{});}_getExistingOrDefaultHeader(e,t,r){let i;let s=e=>Object.keys(e).reduce((t,r)=>(t[r.toLowerCase()]=e[r],t),{});return this.requestOptions&&this.requestOptions.headers&&(i=s(this.requestOptions.headers)[t]),e[t]||i||r;}_getAgent(e){let t;let i=r.getProxyUrl(e),s=i&&i.hostname;if(this._keepAlive&&s&&(t=this._proxyAgent),this._keepAlive&&!s&&(t=this._agent),t)return t;let n="https:"===e.protocol,a=100;if(this.requestOptions&&(a=this.requestOptions.maxSockets||$k14yv$http.globalAgent.maxSockets),s){let e;o||(o=parcelRequire("eYDoL"));let r={maxSockets:a,keepAlive:this._keepAlive,proxy:{...((i.username||i.password)&&{proxyAuth:`${i.username}:${i.password}`}),host:i.hostname,port:i.port}},s="https:"===i.protocol;t=(e=n?s?o.httpsOverHttps:o.httpsOverHttp:s?o.httpOverHttps:o.httpOverHttp)(r),this._proxyAgent=t;}if(this._keepAlive&&!t){let e={keepAlive:this._keepAlive,maxSockets:a};t=n?new $k14yv$https.Agent(e):new $k14yv$http.Agent(e),this._agent=t;}return t||(t=n?$k14yv$https.globalAgent:$k14yv$http.globalAgent),n&&this._ignoreSslError&&(t.options=Object.assign(t.options||{},{rejectUnauthorized:!1})),t;}_performExponentialBackoff(e){e=Math.min(p,e);let t=f*Math.pow(2,e);return new Promise(e=>setTimeout(()=>e(),t));}static dateTimeDeserializer(e,t){if("string"==typeof t){let e=new Date(t);if(!isNaN(e.valueOf()))return e;}return t;}async _processResponse(e,t){return new Promise(async(r,s)=>{let n,o;let a=e.message.statusCode,h={statusCode:a,result:null,headers:{}};a==i.NotFound&&r(h);try{(o=await e.readBody())&&o.length>0&&(n=t&&t.deserializeDates?JSON.parse(o,m.dateTimeDeserializer):JSON.parse(o),h.result=n),h.headers=e.message.headers;}catch(e){}if(a>299){let e;e=n&&n.message?n.message:o&&o.length>0?o:"Failed request: ("+a+")";let t=new d(e,a);t.result=h.result,s(t);}else r(h);});}}e.exports.HttpClient=m;}),parcelRequire.register("4TaKt",function(e,t){function r(e){let t,r,s="https:"===e.protocol;return i(e)||(r=s?process.env.https_proxy||process.env.HTTPS_PROXY:process.env.http_proxy||process.env.HTTP_PROXY)&&(t=new URL(r)),t;}function i(e){let t;if(!e.hostname)return!1;let r=process.env.no_proxy||process.env.NO_PROXY||"";if(!r)return!1;e.port?t=+e.port:"http:"===e.protocol?t=80:"https:"===e.protocol&&(t=443);let i=[e.hostname.toUpperCase()];for(let e of("number"==typeof t&&i.push(`${i[0]}:${t}`),r.split(",").map(e=>e.trim().toUpperCase()).filter(e=>e)))if(i.some(t=>t===e))return!0;return!1;}Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.getProxyUrl=r,e.exports.checkBypass=i;}),parcelRequire.register("8RSsC",function(e,t){var r=e.exports&&e.exports.__createBinding||(Object.create?function(e,t,r,i){void 0===i&&(i=r),Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[r];}});}:function(e,t,r,i){void 0===i&&(i=r),e[i]=t[r];}),i=e.exports&&e.exports.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),s=e.exports&&e.exports.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var s in e)"default"!==s&&Object.hasOwnProperty.call(e,s)&&r(t,e,s);return i(t,e),t;},n=e.exports&&e.exports.__awaiter||function(e,t,r,i){function s(e){return e instanceof r?e:new r(function(t){t(e);});}return new(r||(r=Promise))(function(r,n){function o(e){try{h(i.next(e));}catch(e){n(e);}}function a(e){try{h(i.throw(e));}catch(e){n(e);}}function h(e){e.done?r(e.value):s(e.value).then(o,a);}h((i=i.apply(e,t||[])).next());});};Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.RetryHelper=void 0;let o=s(parcelRequire("lcRzN"));class a{constructor(e,t,r){if(e<1)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 n(this,void 0,void 0,function*(){let r=1;for(;rsetTimeout(t,1e3*e));});}}e.exports.RetryHelper=a;}),parcelRequire.register("dVzcM",function(e,t){var r,i,s,n,o;async function a(e,t,s,o,a){let c,u,p="",f="",d=l(e);if(o&&(u=await r.getAvailablePyPyVersions())&&u.length>0){let e=r.findRelease(u,d.pythonVersion,d.pypyVersion,t,!1);e?(n.info(`Resolved as PyPy ${e.resolvedPyPyVersion} with Python (${e.resolvedPythonVersion})`),d.pythonVersion=e.resolvedPythonVersion,d.pypyVersion=e.resolvedPyPyVersion):n.info(`Failed to resolve PyPy ${d.pypyVersion} with Python (${d.pythonVersion}) from manifest`);}({installDir:c,resolvedPythonVersion:f,resolvedPyPyVersion:p}=h(d.pythonVersion,d.pypyVersion,t)),c||({installDir:c,resolvedPythonVersion:f,resolvedPyPyVersion:p}=await r.installPyPy(d.pypyVersion,d.pythonVersion,t,a,u));let y=i.IS_WINDOWS?"Scripts":"bin",m=$k14yv$path.join(c,y),g=i.IS_WINDOWS?".exe":"",x=$k14yv$path.join(i.IS_WINDOWS?c:m,"python"+g),w=r.getPyPyBinaryPath(c);return s&&(n.exportVariable("pythonLocation",c),n.exportVariable("Python_ROOT_DIR",c),n.exportVariable("Python2_ROOT_DIR",c),n.exportVariable("Python3_ROOT_DIR",c),n.exportVariable("PKG_CONFIG_PATH",w+"/lib/pkgconfig"),n.addPath(w),n.addPath(m)),n.setOutput("python-version","pypy"+p),n.setOutput("python-path",x),{resolvedPyPyVersion:p,resolvedPythonVersion:f};}function h(e,t,r){let a="",h="",l=i.IS_WINDOWS?c(e):o.find("PyPy",e,r);if(l){h=(0,i.getPyPyVersionFromPath)(l),a=(0,i.readExactPyPyVersionFile)(l);let e=s.satisfies(a,t);e||(l=null,a="",h="");}return l||n.info(`PyPy version ${e} (${t}) was not found in the local cache`),{installDir:l,resolvedPythonVersion:h,resolvedPyPyVersion:a};}function l(e){let t;let s=e.split("-").filter(e=>!!e);if(/^(pypy)(.+)/.test(s[0])){let e=s[0].replace("pypy","");s.splice(0,1,"pypy",e);}if(s.length<2||"pypy"!=s[0])throw Error("Invalid 'version' property for PyPy. PyPy version should be specified as 'pypy' or 'pypy-'. See README for examples and documentation.");let n=s[1];if(t=s.length>2?r.pypyVersionToSemantic(s[2]):"x",!(0,i.validateVersion)(n)||!(0,i.validateVersion)(t))throw Error("Invalid 'version' property for PyPy. Both Python version and PyPy versions should satisfy SemVer notation. See README for examples and documentation.");if(!(0,i.validatePythonVersionFormatForPyPy)(n))throw Error("Invalid format of Python version for PyPy. Python version should be specified in format 'x.y'. See README for examples and documentation.");return{pypyVersion:t,pythonVersion:n};}function c(e){let t="";return(0,i.WINDOWS_ARCHS).forEach(r=>t=t||o.find("PyPy",e,r)),t;}$parcel$export(e.exports,"findPyPyVersion",()=>a),r=parcelRequire("2A3Ny"),i=parcelRequire("6PFnG"),s=parcelRequire("lJEXJ"),n=parcelRequire("lcRzN"),o=parcelRequire("4ai2V");}),parcelRequire.register("2A3Ny",function(e,t){var r,i,s,n,o,a;async function h(e,t,s,n,o){let h;if(!(o=o??(await l()))||0===o.length)throw Error("No release was found in PyPy version.json");let d=p(o,t,e,s,!1);if(!n||d&&d.foundAsset||(r.info([`Stable PyPy version ${t} (${e}) with arch ${s} not found`,"Trying pre-release versions"].join($k14yv$os.EOL)),d=p(o,t,e,s,!0)),!d||!d.foundAsset)throw Error(`PyPy version ${t} (${e}) with arch ${s} not found`);let{foundAsset:y,resolvedPythonVersion:m,resolvedPyPyVersion:g}=d,x=""+y.download_url;r.info(`Downloading PyPy from "${x}" ...`);try{let e=await i.downloadTool(x);r.info("Extracting downloaded archive..."),h=a.IS_WINDOWS?await i.extractZip(e):await i.extractTar(e,void 0,"x");let t=$parcel$interopDefault($k14yv$fs).readdirSync(h)[0],n=$k14yv$path.join(h,t),o=n;(0,a.isNightlyKeyword)(g)||(o=await i.cacheDir(n,"PyPy",m,s)),(0,a.writeExactPyPyVersionFile)(o,g);let l=f(o);return await c(l,m),await u(l),{installDir:o,resolvedPythonVersion:m,resolvedPyPyVersion:g};}catch(e){throw e instanceof Error&&(e instanceof i.HTTPError&&(403===e.httpStatusCode||429===e.httpStatusCode)?r.info(`Received HTTP status code ${e.httpStatusCode}. This usually indicates the rate limit has been exceeded`):r.info(e.message),void 0!==e.stack&&r.debug(e.stack)),e;}}async function l(){let e="https://downloads.python.org/pypy/versions.json",t=new n.HttpClient("tool-cache"),r=await t.getJson(e);if(!r.result)throw Error(`Unable to retrieve the list of available PyPy versions from '${e}'`);return r.result;}async function c(e,t){let i=s.coerce(t),n=s.major(i),o=s.minor(i),h=2===n?"":"3",l=`${n}.${o}`,c=a.IS_WINDOWS?".exe":"";r.info("Creating symlinks..."),(0,a.createSymlinkInFolder)(e,`pypy${h}${c}`,`python${n}${c}`,!0),(0,a.createSymlinkInFolder)(e,`pypy${h}${c}`,"python"+c,!0),(0,a.createSymlinkInFolder)(e,`pypy${h}${c}`,`pypy${l}${c}`,!0);}async function u(e){r.info("Installing and updating pip");let t=$k14yv$path.join(e,"python");await o.exec(`${t} -m ensurepip`),await o.exec(`${e}/python -m pip install --ignore-installed pip`);}function p(e,t,r,i,n){let o={includePrerelease:n},h=e.filter(e=>{let n=s.satisfies(s.coerce(e.python_version),t),h=(0,a.isNightlyKeyword)(r)&&(0,a.isNightlyKeyword)(e.pypy_version),l=h||s.satisfies(d(e.pypy_version),r,o),c=e.files&&(a.IS_WINDOWS?y(e,i):m(e,i,process.platform));return n&&l&&c;});if(0===h.length)return null;let l=h.sort((e,t)=>s.compare(s.coerce(d(t.pypy_version)),s.coerce(d(e.pypy_version)))||s.compare(s.coerce(t.python_version),s.coerce(e.python_version))),c=l[0],u=a.IS_WINDOWS?g(c,i):x(c,i,process.platform);return{foundAsset:u,resolvedPythonVersion:c.python_version,resolvedPyPyVersion:c.pypy_version.trim()};}function f(e){let t=$k14yv$path.join(e,"bin");return a.IS_WINDOWS?e:t;}function d(e){let t=/(\d+\.\d+\.\d+)((?:a|b|rc))(\d*)/g;return e.replace(t,"$1-$2.$3");}function y(e,t){return t=w(t),e.files.some(e=>(0,a.WINDOWS_PLATFORMS).includes(e.platform)&&e.arch===t);}function m(e,t,r){return e.files.some(e=>e.arch===t&&e.platform===r);}function g(e,t){return t=w(t),e.files.find(e=>(0,a.WINDOWS_PLATFORMS).includes(e.platform)&&e.arch===t);}function x(e,t,r){return e.files.find(e=>e.arch===t&&e.platform===r);}function w(e){return"x32"===e&&(e="x86"),e;}$parcel$export(e.exports,"installPyPy",()=>h),$parcel$export(e.exports,"getAvailablePyPyVersions",()=>l),$parcel$export(e.exports,"findRelease",()=>p),$parcel$export(e.exports,"getPyPyBinaryPath",()=>f),$parcel$export(e.exports,"pypyVersionToSemantic",()=>d),r=parcelRequire("lcRzN"),i=parcelRequire("4ai2V"),s=parcelRequire("lJEXJ"),n=parcelRequire("95990"),o=parcelRequire("jlr6Q"),a=parcelRequire("6PFnG");}); -//# sourceMappingURL=actions_python.c36737fd.js.map \ No newline at end of file diff --git a/dist/modern/actions_python.c36737fd.js.map b/dist/modern/actions_python.c36737fd.js.map deleted file mode 100644 index 84a6446a..00000000 --- a/dist/modern/actions_python.c36737fd.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"actions_python.c36737fd.js","names":["u","e","startsWith","p","t","o","h","IS_MAC","process","env","AGENT_TOOLSDIRECTORY","l","trim","RUNNER_TOOL_CACHE","n","debug","r","i","findPyPyVersion","d","resolvedPyPyVersion","resolvedPythonVersion","s","info","useCpythonVersion","version","impl","a","GITHUB_ACTIONS","f","join","c","pathExists","warning","IS_WINDOWS","$k14yv$path","y","m","getManifest","findReleaseFromManifest","g","find","files","length","installCpythonFromRelease","getOSInfo","Error","osName","osVersion","MANIFEST_URL","$k14yv$os","EOL","x","w","b","exportVariable","IS_LINUX","LD_LIBRARY_PATH","split","includes","addPath","basename","dirname","major","minor","APPDATA","v","setOutput","replace","sep","findIndex","$parcel$interopDefault","$k14yv$fs","existsSync","symlinkSync","chmodSync","validRange","readFileSync","toString","writeFileSync","test","stdout","getExecOutput","silent","message","parcelRequire","platform","exports","async","stream","prettyError","$parcel$global","Buffer","isBuffer","parse","finish","_custom","isDigit","CHAR_0","CHAR_9","isHexit","CHAR_A","CHAR_F","CHAR_a","CHAR_f","isBit","CHAR_1","isOctit","CHAR_7","isAlphaNumQuoteHyphen","CHAR_Z","CHAR_z","CHAR_APOS","CHAR_QUOT","CHAR_LOWBAR","CHAR_HYPHEN","isAlphaNumHyphen","hasKey","hasOwnProperty","call","defineProperty","descriptor","InlineTable","Object","defineProperties","_type","value","INLINE_TABLE","isInlineTable","Table","TABLE","_declared","writable","isTable","InlineList","INLINE_LIST","_contentType","isInlineList","List","LIST","isList","Integer","is","BigInt","Number","isSafeInteger","BoxedBigInt","isNaN","INTEGER","_inspect","isInteger","Float","FLOAT","isFloat","tomlType","Date","makeParserClass","constructor","ctx","obj","atEndOfWord","char","CHAR_NUM","CTRL_I","CHAR_SP","atEndOfLine","END","CTRL_J","CTRL_M","parseStart","CHAR_LSQB","parseTableOrList","parseComment","callNow","parseAssignStatement","error","TomlError","parseWhitespaceToEOL","goto","return","parseAssign","recordAssignStatement","key","pop","valueOf","parseKeyword","recordAssignKeyword","state","resultTable","push","parseAssignKeywordPreDot","CHAR_PERIOD","next","parseAssignKeywordPostDot","parseAssignEqual","CHAR_EQUALS","parseAssignPreValue","parseValue","recordAssignValue","returnNow","nextChar","parseTable","parseList","parseTableNext","parseTableMore","CHAR_RSQB","parseListNext","parseListMore","parseListEnd","parseDoubleString","parseSingleString","CHAR_PLUS","parseNumberSign","CHAR_i","parseInf","CHAR_n","parseNan","parseNumberOrDateTime","CHAR_t","parseBoolean","parseInlineList","recordValue","CHAR_LCUB","parseInlineTable","parseInf2","buf","parseNan2","NaN","parseBasicString","parseLiteralString","parseBareKey","consume","parseLiteralMultiStringMaybe","CHAR_DEL","CTRL_CHAR_BOUNDARY","errorControlCharInString","parseLiteralMultiString","parseLiteralMultiStringContent","parseLiteralMultiEnd","parseLiteralMultiEnd2","parseMultiStringMaybe","CHAR_BSOL","parseEscape","recordEscapeReplacement","parseMultiString","parseMultiStringContent","parseMultiEscape","recordMultiEscapeReplacement","parseMultiEnd","parseMultiEnd2","parseMultiTrim","parsePreMultiTrim","escapes","CHAR_u","parseSmallUnicode","parseUnicodeReturn","CHAR_U","parseLargeUnicode","parseInt","SURROGATE_FIRST","SURROGATE_LAST","String","fromCodePoint","wrap","parseMaybeSignedInfOrNan","parseNoUnder","parseNumberIntegerStart","parseNumberIntegerExponentOrDecimal","parseNumberInteger","parseNumberFloat","CHAR_E","CHAR_e","parseNumberExponentSign","parseNoUnderHexOctBinLiteral","parseNumberExponent","parseNumberBaseOrDateTime","parseNumberOrDateTimeOnly","parseDateTime","CHAR_COLON","parseOnlyTimeHour","parseDateTimeOnly","CHAR_b","parseIntegerBin","CHAR_o","parseIntegerOct","CHAR_x","parseIntegerHex","result","parseDateMonth","parseDateDay","CHAR_T","parseStartTimeHour","$i8y9h","parseTimeHour","parseTimeMin","parseTimeSec","parseTimeZoneOrFraction","parseOnlyTimeMin","parseOnlyTimeSec","parseOnlyTimeFractionMaybe","$l5l5L","parseOnlyTimeFraction","parseDateTimeFraction","parseTimeZoneHour","$lPmG1","$7kLtX","parseTimeZoneSep","parseTimeZoneMin","parseTrue_r","parseFalse_a","CHAR_r","parseTrue_u","parseTrue_e","parseFalse_l","CHAR_l","parseFalse_s","CHAR_s","parseFalse_e","resultArr","recordInlineListValue","parseInlineListNext","CHAR_COMMA","CHAR_RCUB","recordInlineTableValue","parseInlineTableNext","module","name","captureStackTrace","fromTOML","wrapped","code","Symbol","prototype","configurable","enumerable","utilInspect","eval","custom","_","asIntN","parser","returned","pos","col","line","stack","_buf","ii","runOne","codePointAt","haveBuffer","JSON","stringify","TypeError","isFloating","toISOString","getUTCFullYear","getUTCMonth","getUTCDate","getUTCHours","getUTCMinutes","getUTCSeconds","getUTCMilliseconds","isDate","isTime","Math","min","max","slice","setImmediate","blocksize","Promise","setEncoding","read","once","$k14yv$stream","Transform","objectMode","transform","emit","flush","toJSON","keys","filter","Array","isArray","forEach","I","map","S","T","E","O","P","every","N","R","A","findFromManifest","getManifestFromRepo","cwd","listeners","stderr","exec","download_url","downloadTool","extractZip","extractTar","HTTPError","httpStatusCode","getInput","j","W","default","M","mkdirP","D","C","RetryHelper","execute","B","U","k","HttpClient","z","allowRetries","authorization","get","statusCode","statusMessage","q","promisify","H","pipeline","createWriteStream","rmRF","$k14yv$assert","ok","J","chdir","isDebug","$","which","ignoreReturnCode","toUpperCase","G","unshift","F","clean","V","arch","statSync","isDirectory","readdirSync","cp","recursive","isFile","getJson","tree","path","url","accept","readBody","L","_findMatch","valid","sort","gt","satisfies","RUNNER_TEMP","from","Set","$k14yv$util","setPrototypeOf","new","target","extract7z","extractXar","cacheDir","cacheFile","findAllVersions","isExplicitVersion","evaluateVersions","stable","platform_version","_getOsVersion","assign","$k14yv$child_process","execSync","_readLinuxVersionFile","getProxyUrl","URL","href","protocol","OK","MultipleChoices","MovedPermanently","ResourceMoved","SeeOther","NotModified","UseProxy","SwitchProxy","TemporaryRedirect","PermanentRedirect","BadRequest","Unauthorized","PaymentRequired","Forbidden","NotFound","MethodNotAllowed","NotAcceptable","ProxyAuthenticationRequired","RequestTimeout","Conflict","Gone","TooManyRequests","InternalServerError","NotImplemented","BadGateway","ServiceUnavailable","GatewayTimeout","HttpCodes","Accept","ContentType","Headers","ApplicationJson","MediaTypes","HttpClientError","alloc","on","concat","HttpClientResponse","isHttps","_ignoreSslError","_allowRedirects","_allowRedirectDowngrade","_maxRedirects","_allowRetries","_maxRetries","_keepAlive","_disposed","userAgent","handlers","requestOptions","ignoreSslError","_socketTimeout","socketTimeout","allowRedirects","allowRedirectDowngrade","maxRedirects","keepAlive","maxRetries","options","request","del","post","patch","put","head","sendStream","_getExistingOrDefaultHeader","_processResponse","postJson","putJson","patchJson","_prepareRequest","indexOf","requestRaw","canHandleAuthentication","handleAuthentication","headers","location","hostname","toLowerCase","_performExponentialBackoff","dispose","_agent","destroy","requestRawWithCallback","byteLength","httpModule","setTimeout","end","write","pipe","getAgent","_getAgent","parsedUrl","$k14yv$https","$k14yv$http","host","port","pathname","search","method","_mergeHeaders","agent","prepareRequest","reduce","_proxyAgent","maxSockets","globalAgent","proxy","username","password","proxyAuth","httpsOverHttps","httpsOverHttp","httpOverHttps","httpOverHttp","Agent","rejectUnauthorized","pow","dateTimeDeserializer","deserializeDates","https_proxy","HTTPS_PROXY","http_proxy","HTTP_PROXY","no_proxy","NO_PROXY","some","checkBypass","maxAttempts","minSeconds","floor","maxSeconds","getSleepAmount","sleep","random","getAvailablePyPyVersions","findRelease","pythonVersion","pypyVersion","installDir","installPyPy","getPyPyBinaryPath","getPyPyVersionFromPath","readExactPyPyVersionFile","splice","pypyVersionToSemantic","validateVersion","validatePythonVersionFormatForPyPy","WINDOWS_ARCHS","foundAsset","isNightlyKeyword","writeExactPyPyVersionFile","coerce","createSymlinkInFolder","includePrerelease","python_version","pypy_version","compare","WINDOWS_PLATFORMS"],"sources":["../../","../../src/python/actions_python.ts","../../node_modules/.pnpm/github.com+aminya+setup-python@a783db655c6e40317e2c0c96f9d162d9c9f4a751/node_modules/setup-python/src/find-python.ts","../../node_modules/.pnpm/github.com+aminya+setup-python@a783db655c6e40317e2c0c96f9d162d9c9f4a751/node_modules/setup-python/src/utils.ts","../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/toml.js","../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/parse.js","../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/parse-string.js","../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/lib/toml-parser.js","../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/lib/parser.js","../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/lib/create-datetime.js","../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/lib/create-datetime-float.js","../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/lib/format-num.js","../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/lib/create-date.js","../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/lib/create-time.js","../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/parse-pretty-error.js","../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/parse-async.js","../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/parse-stream.js","../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/stringify.js","../../node_modules/.pnpm/github.com+aminya+setup-python@a783db655c6e40317e2c0c96f9d162d9c9f4a751/node_modules/setup-python/src/install-python.ts","../../node_modules/.pnpm/@actions+tool-cache@1.7.2/node_modules/@actions/tool-cache/lib/tool-cache.js","../../node_modules/.pnpm/@actions+tool-cache@1.7.2/node_modules/@actions/tool-cache/src/tool-cache.ts","../../node_modules/.pnpm/@actions+tool-cache@1.7.2/node_modules/@actions/tool-cache/lib/manifest.js","../../node_modules/.pnpm/@actions+tool-cache@1.7.2/node_modules/@actions/tool-cache/src/manifest.ts","../../node_modules/.pnpm/@actions+http-client@1.0.11/node_modules/@actions/http-client/index.js","../../node_modules/.pnpm/@actions+http-client@1.0.11/node_modules/@actions/http-client/proxy.js","../../node_modules/.pnpm/@actions+tool-cache@1.7.2/node_modules/@actions/tool-cache/lib/retry-helper.js","../../node_modules/.pnpm/@actions+tool-cache@1.7.2/node_modules/@actions/tool-cache/src/retry-helper.ts","../../node_modules/.pnpm/github.com+aminya+setup-python@a783db655c6e40317e2c0c96f9d162d9c9f4a751/node_modules/setup-python/src/find-pypy.ts","../../node_modules/.pnpm/github.com+aminya+setup-python@a783db655c6e40317e2c0c96f9d162d9c9f4a751/node_modules/setup-python/src/install-pypy.ts"],"sourcesContent":["var $k14yv$path = require(\"path\");\nvar $k14yv$os = require(\"os\");\nvar $k14yv$fs = require(\"fs\");\nvar $k14yv$stream = require(\"stream\");\nvar $k14yv$util = require(\"util\");\nvar $k14yv$assert = require(\"assert\");\nvar $k14yv$child_process = require(\"child_process\");\nvar $k14yv$http = require(\"http\");\nvar $k14yv$https = require(\"https\");\n\nfunction $parcel$export(e, n, v, s) {\n Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});\n}\nfunction $parcel$interopDefault(a) {\n return a && a.__esModule ? a.default : a;\n}\nvar $parcel$global =\ntypeof globalThis !== 'undefined'\n ? globalThis\n : typeof self !== 'undefined'\n ? self\n : typeof window !== 'undefined'\n ? window\n : typeof global !== 'undefined'\n ? global\n : {};\nvar parcelRequire = $parcel$global[\"parcelRequire810d\"];\nparcelRequire.register(\"4kQHk\", function(module, exports) {\n\n$parcel$export(module.exports, \"setupActionsPython\", () => $e56abd13265dde94$export$5655ebf4048b68d5);\n\nvar $11OPo = parcelRequire(\"11OPo\");\n\nvar $dVzcM = parcelRequire(\"dVzcM\");\n\nvar $ER74K = parcelRequire(\"ER74K\");\n\nvar $lcRzN = parcelRequire(\"lcRzN\");\n\nvar $ceI0e = parcelRequire(\"ceI0e\");\n\nvar $dTX7a = parcelRequire(\"dTX7a\");\n\nvar $6PFnG = parcelRequire(\"6PFnG\");\n\nvar $dOmbL = parcelRequire(\"dOmbL\");\n\nvar $e56abd13265dde94$var$$parcel$__dirname = $k14yv$path.resolve(__dirname, \"../../src/python\");\nfunction $e56abd13265dde94$var$isPyPyVersion(versionSpec) {\n return versionSpec.startsWith(\"pypy\");\n}\nconst $e56abd13265dde94$var$checkLatest = false;\nasync function $e56abd13265dde94$export$5655ebf4048b68d5(version, _setupDir, arch) {\n if (0, $6PFnG.IS_MAC) process.env.AGENT_TOOLSDIRECTORY = \"/Users/runner/hostedtoolcache\";\n const agent_toolsdirectory = process.env.AGENT_TOOLSDIRECTORY?.trim();\n if (typeof agent_toolsdirectory === \"string\" && agent_toolsdirectory !== \"\") process.env.RUNNER_TOOL_CACHE = process.env.AGENT_TOOLSDIRECTORY;\n (0, $lcRzN.debug)(`Python is expected to be installed into ${process.env.RUNNER_TOOL_CACHE}`);\n if (version) {\n let pythonVersion;\n if ($e56abd13265dde94$var$isPyPyVersion(version)) {\n const installed = await (0, $dVzcM.findPyPyVersion)(version, arch, true, $e56abd13265dde94$var$checkLatest, false);\n pythonVersion = `${installed.resolvedPyPyVersion}-${installed.resolvedPythonVersion}`;\n (0, $ER74K.info)(`Successfully set up PyPy ${installed.resolvedPyPyVersion} with Python (${installed.resolvedPythonVersion})`);\n } else {\n const installed = await (0, $11OPo.useCpythonVersion)(version, arch, true, $e56abd13265dde94$var$checkLatest, false);\n pythonVersion = installed.version;\n (0, $ER74K.info)(`Successfully set up ${installed.impl} (${pythonVersion})`);\n }\n // const cache = false\n // if (cache) {\n // const { cacheDependencies } = await import(\"setup-python/src/cache-dependencies\")\n // await cacheDependencies(\"pip\", pythonVersion)\n // }\n }\n if (0, $dTX7a.GITHUB_ACTIONS) await $e56abd13265dde94$var$addPythonLoggingMatcher();\n return undefined;\n}\nasync function $e56abd13265dde94$var$addPythonLoggingMatcher() {\n const matcherPath = (0, $ceI0e.join)($e56abd13265dde94$var$$parcel$__dirname, \"python_matcher.json\");\n if (!await (0, $dOmbL.pathExists)(matcherPath)) return (0, $ER74K.warning)(\"the python_matcher.json file does not exist in the same folder as setup-cpp.js\");\n (0, $ER74K.info)(`::add-matcher::${matcherPath}`);\n}\n\n});\nparcelRequire.register(\"11OPo\", function(module, exports) {\n\n$parcel$export(module.exports, \"useCpythonVersion\", () => $a4ed59b77f7a8bc9$export$c90655100676e173);\n\n\n\nvar $6PFnG = parcelRequire(\"6PFnG\");\n\nvar $lJEXJ = parcelRequire(\"lJEXJ\");\n\nvar $e5ToQ = parcelRequire(\"e5ToQ\");\n\nvar $lcRzN = parcelRequire(\"lcRzN\");\n\nvar $4ai2V = parcelRequire(\"4ai2V\");\n// Python has \"scripts\" or \"bin\" directories where command-line tools that come with packages are installed.\n// This is where pip is, along with anything that pip installs.\n// There is a separate directory for `pip install --user`.\n//\n// For reference, these directories are as follows:\n// macOS / Linux:\n// /bin (by default /usr/local/bin, but not on hosted agents -- see the `else`)\n// (--user) ~/.local/bin\n// Windows:\n// \\Scripts\n// (--user) %APPDATA%\\Python\\PythonXY\\Scripts\n// See https://docs.python.org/3/library/sysconfig.html\nfunction $a4ed59b77f7a8bc9$var$binDir(installDir) {\n if (0, $6PFnG.IS_WINDOWS) return $k14yv$path.join(installDir, \"Scripts\");\n else return $k14yv$path.join(installDir, \"bin\");\n}\nasync function $a4ed59b77f7a8bc9$export$c90655100676e173(version, architecture, updateEnvironment, checkLatest, allowPreReleases) {\n let manifest = null;\n const desugaredVersionSpec = $a4ed59b77f7a8bc9$var$desugarDevVersion(version);\n let semanticVersionSpec = $a4ed59b77f7a8bc9$export$2630b06843feee21(desugaredVersionSpec, allowPreReleases);\n $lcRzN.debug(`Semantic version spec of ${version} is ${semanticVersionSpec}`);\n if (checkLatest) {\n manifest = await $e5ToQ.getManifest();\n const resolvedVersion = (await $e5ToQ.findReleaseFromManifest(semanticVersionSpec, architecture, manifest))?.version;\n if (resolvedVersion) {\n semanticVersionSpec = resolvedVersion;\n $lcRzN.info(`Resolved as '${semanticVersionSpec}'`);\n } else $lcRzN.info(`Failed to resolve version ${semanticVersionSpec} from manifest`);\n }\n let installDir = $4ai2V.find(\"Python\", semanticVersionSpec, architecture);\n if (!installDir) {\n $lcRzN.info(`Version ${semanticVersionSpec} was not found in the local cache`);\n const foundRelease = await $e5ToQ.findReleaseFromManifest(semanticVersionSpec, architecture, manifest);\n if (foundRelease && foundRelease.files && foundRelease.files.length > 0) {\n $lcRzN.info(`Version ${semanticVersionSpec} is available for downloading`);\n await $e5ToQ.installCpythonFromRelease(foundRelease);\n installDir = $4ai2V.find(\"Python\", semanticVersionSpec, architecture);\n }\n }\n if (!installDir) {\n const osInfo = await (0, $6PFnG.getOSInfo)();\n throw new Error([\n `The version '${version}' with architecture '${architecture}' was not found for ${osInfo ? `${osInfo.osName} ${osInfo.osVersion}` : \"this operating system\"}.`,\n `The list of all available versions can be found here: ${$e5ToQ.MANIFEST_URL}`\n ].join($k14yv$os.EOL));\n }\n const _binDir = $a4ed59b77f7a8bc9$var$binDir(installDir);\n const binaryExtension = (0, $6PFnG.IS_WINDOWS) ? \".exe\" : \"\";\n const pythonPath = $k14yv$path.join((0, $6PFnG.IS_WINDOWS) ? installDir : _binDir, `python${binaryExtension}`);\n if (updateEnvironment) {\n $lcRzN.exportVariable(\"pythonLocation\", installDir);\n $lcRzN.exportVariable(\"PKG_CONFIG_PATH\", installDir + \"/lib/pkgconfig\");\n $lcRzN.exportVariable(\"pythonLocation\", installDir);\n // https://cmake.org/cmake/help/latest/module/FindPython.html#module:FindPython\n $lcRzN.exportVariable(\"Python_ROOT_DIR\", installDir);\n // https://cmake.org/cmake/help/latest/module/FindPython2.html#module:FindPython2\n $lcRzN.exportVariable(\"Python2_ROOT_DIR\", installDir);\n // https://cmake.org/cmake/help/latest/module/FindPython3.html#module:FindPython3\n $lcRzN.exportVariable(\"Python3_ROOT_DIR\", installDir);\n $lcRzN.exportVariable(\"PKG_CONFIG_PATH\", installDir + \"/lib/pkgconfig\");\n if (0, $6PFnG.IS_LINUX) {\n const libPath = process.env.LD_LIBRARY_PATH ? `:${process.env.LD_LIBRARY_PATH}` : \"\";\n const pyLibPath = $k14yv$path.join(installDir, \"lib\");\n if (!libPath.split(\":\").includes(pyLibPath)) $lcRzN.exportVariable(\"LD_LIBRARY_PATH\", pyLibPath + libPath);\n }\n $lcRzN.addPath(installDir);\n $lcRzN.addPath(_binDir);\n if (0, $6PFnG.IS_WINDOWS) {\n // Add --user directory\n // `installDir` from tool cache should look like $RUNNER_TOOL_CACHE/Python//x64/\n // So if `findLocalTool` succeeded above, we must have a conformant `installDir`\n const version = $k14yv$path.basename($k14yv$path.dirname(installDir));\n const major = $lJEXJ.major(version);\n const minor = $lJEXJ.minor(version);\n const userScriptsDir = $k14yv$path.join(process.env[\"APPDATA\"] || \"\", \"Python\", `Python${major}${minor}`, \"Scripts\");\n $lcRzN.addPath(userScriptsDir);\n }\n // On Linux and macOS, pip will create the --user directory and add it to PATH as needed.\n }\n const installed = $a4ed59b77f7a8bc9$var$versionFromPath(installDir);\n $lcRzN.setOutput(\"python-version\", installed);\n $lcRzN.setOutput(\"python-path\", pythonPath);\n return {\n impl: \"CPython\",\n version: installed\n };\n}\n/** Convert versions like `3.8-dev` to a version like `~3.8.0-0`. */ function $a4ed59b77f7a8bc9$var$desugarDevVersion(versionSpec) {\n const devVersion = /^(\\d+)\\.(\\d+)-dev$/;\n return versionSpec.replace(devVersion, \"~$1.$2.0-0\");\n}\n/** Extracts python version from install path from hosted tool cache as described in README.md */ function $a4ed59b77f7a8bc9$var$versionFromPath(installDir) {\n const parts = installDir.split($k14yv$path.sep);\n const idx = parts.findIndex((part)=>part === \"PyPy\" || part === \"Python\");\n return parts[idx + 1] || \"\";\n}\nfunction $a4ed59b77f7a8bc9$export$2630b06843feee21(versionSpec, allowPreReleases) {\n const prereleaseVersion = /(\\d+\\.\\d+\\.\\d+)((?:a|b|rc)\\d*)/g;\n const majorMinor = /^(\\d+)\\.(\\d+)$/;\n let result = versionSpec.replace(prereleaseVersion, \"$1-$2\");\n if (allowPreReleases) result = result.replace(majorMinor, \"~$1.$2.0-0\");\n return result;\n}\n\n});\nparcelRequire.register(\"6PFnG\", function(module, exports) {\n\n$parcel$export(module.exports, \"IS_WINDOWS\", () => $3a4f59c3cba9c07d$export$82633ee808573685);\n$parcel$export(module.exports, \"IS_LINUX\", () => $3a4f59c3cba9c07d$export$25e95d65b6faeb9a);\n$parcel$export(module.exports, \"IS_MAC\", () => $3a4f59c3cba9c07d$export$ff23e6b4c4401383);\n$parcel$export(module.exports, \"WINDOWS_ARCHS\", () => $3a4f59c3cba9c07d$export$175751bac16078cf);\n$parcel$export(module.exports, \"WINDOWS_PLATFORMS\", () => $3a4f59c3cba9c07d$export$da6ba390a22488d5);\n$parcel$export(module.exports, \"createSymlinkInFolder\", () => $3a4f59c3cba9c07d$export$b0a6cbd0a3e3c63a);\n$parcel$export(module.exports, \"validateVersion\", () => $3a4f59c3cba9c07d$export$7880c8f0bb8a6afd);\n$parcel$export(module.exports, \"isNightlyKeyword\", () => $3a4f59c3cba9c07d$export$ea46fc8abcf9f209);\n$parcel$export(module.exports, \"getPyPyVersionFromPath\", () => $3a4f59c3cba9c07d$export$8a23ea91582cecbc);\n$parcel$export(module.exports, \"readExactPyPyVersionFile\", () => $3a4f59c3cba9c07d$export$15e4ce4ad93c8c8a);\n$parcel$export(module.exports, \"writeExactPyPyVersionFile\", () => $3a4f59c3cba9c07d$export$8fb7815f538587a8);\n$parcel$export(module.exports, \"validatePythonVersionFormatForPyPy\", () => $3a4f59c3cba9c07d$export$3dc910628be7a364);\n$parcel$export(module.exports, \"getOSInfo\", () => $3a4f59c3cba9c07d$export$471d7e4c229dedf);\n/* eslint no-unsafe-finally: \"off\" */ \nvar $lcRzN = parcelRequire(\"lcRzN\");\n\n\n\nvar $lJEXJ = parcelRequire(\"lJEXJ\");\n\nvar $55W4k = parcelRequire(\"55W4k\");\n\nvar $jlr6Q = parcelRequire(\"jlr6Q\");\nconst $3a4f59c3cba9c07d$export$82633ee808573685 = process.platform === \"win32\";\nconst $3a4f59c3cba9c07d$export$25e95d65b6faeb9a = process.platform === \"linux\";\nconst $3a4f59c3cba9c07d$export$ff23e6b4c4401383 = process.platform === \"darwin\";\nconst $3a4f59c3cba9c07d$export$175751bac16078cf = [\n \"x86\",\n \"x64\"\n];\nconst $3a4f59c3cba9c07d$export$da6ba390a22488d5 = [\n \"win32\",\n \"win64\"\n];\nconst $3a4f59c3cba9c07d$var$PYPY_VERSION_FILE = \"PYPY_VERSION\";\nfunction $3a4f59c3cba9c07d$export$b0a6cbd0a3e3c63a(folderPath, sourceName, targetName, setExecutable = false) {\n const sourcePath = $k14yv$path.join(folderPath, sourceName);\n const targetPath = $k14yv$path.join(folderPath, targetName);\n if ((0, ($parcel$interopDefault($k14yv$fs))).existsSync(targetPath)) return;\n (0, ($parcel$interopDefault($k14yv$fs))).symlinkSync(sourcePath, targetPath);\n if (!$3a4f59c3cba9c07d$export$82633ee808573685 && setExecutable) (0, ($parcel$interopDefault($k14yv$fs))).chmodSync(targetPath, \"755\");\n}\nfunction $3a4f59c3cba9c07d$export$7880c8f0bb8a6afd(version) {\n return $3a4f59c3cba9c07d$export$ea46fc8abcf9f209(version) || Boolean($lJEXJ.validRange(version));\n}\nfunction $3a4f59c3cba9c07d$export$ea46fc8abcf9f209(pypyVersion) {\n return pypyVersion === \"nightly\";\n}\nfunction $3a4f59c3cba9c07d$export$8a23ea91582cecbc(installDir) {\n return $k14yv$path.basename($k14yv$path.dirname(installDir));\n}\nfunction $3a4f59c3cba9c07d$export$15e4ce4ad93c8c8a(installDir) {\n let pypyVersion = \"\";\n const fileVersion = $k14yv$path.join(installDir, $3a4f59c3cba9c07d$var$PYPY_VERSION_FILE);\n if ((0, ($parcel$interopDefault($k14yv$fs))).existsSync(fileVersion)) pypyVersion = (0, ($parcel$interopDefault($k14yv$fs))).readFileSync(fileVersion).toString().trim();\n return pypyVersion;\n}\nfunction $3a4f59c3cba9c07d$export$8fb7815f538587a8(installDir, resolvedPyPyVersion) {\n const pypyFilePath = $k14yv$path.join(installDir, $3a4f59c3cba9c07d$var$PYPY_VERSION_FILE);\n (0, ($parcel$interopDefault($k14yv$fs))).writeFileSync(pypyFilePath, resolvedPyPyVersion);\n}\nfunction $3a4f59c3cba9c07d$export$3dc910628be7a364(version) {\n const re = /^\\d+\\.\\d+$/;\n return re.test(version);\n}\nfunction $3a4f59c3cba9c07d$export$ebd6064652549ce9(message) {\n const warningPrefix = \"[warning]\";\n $lcRzN.info(`${warningPrefix}${message}`);\n}\nasync function $3a4f59c3cba9c07d$var$getWindowsInfo() {\n const { stdout: stdout } = await $jlr6Q.getExecOutput('powershell -command \"(Get-CimInstance -ClassName Win32_OperatingSystem).Caption\"', undefined, {\n silent: true\n });\n const windowsVersion = stdout.trim().split(\" \")[3];\n return {\n osName: \"Windows\",\n osVersion: windowsVersion\n };\n}\nasync function $3a4f59c3cba9c07d$var$getMacOSInfo() {\n const { stdout: stdout } = await $jlr6Q.getExecOutput(\"sw_vers\", [\n \"-productVersion\"\n ], {\n silent: true\n });\n const macOSVersion = stdout.trim();\n return {\n osName: \"macOS\",\n osVersion: macOSVersion\n };\n}\nasync function $3a4f59c3cba9c07d$export$734019fa9b4b8da() {\n const { stdout: stdout } = await $jlr6Q.getExecOutput(\"lsb_release\", [\n \"-i\",\n \"-r\",\n \"-s\"\n ], {\n silent: true\n });\n const [osName, osVersion] = stdout.trim().split(\"\\n\");\n $lcRzN.debug(`OS Name: ${osName}, Version: ${osVersion}`);\n return {\n osName: osName,\n osVersion: osVersion\n };\n}\nasync function $3a4f59c3cba9c07d$export$471d7e4c229dedf() {\n let osInfo;\n try {\n if ($3a4f59c3cba9c07d$export$82633ee808573685) osInfo = await $3a4f59c3cba9c07d$var$getWindowsInfo();\n else if ($3a4f59c3cba9c07d$export$25e95d65b6faeb9a) osInfo = await $3a4f59c3cba9c07d$export$734019fa9b4b8da();\n else if ($3a4f59c3cba9c07d$export$ff23e6b4c4401383) osInfo = await $3a4f59c3cba9c07d$var$getMacOSInfo();\n } catch (err) {\n const error = err;\n $lcRzN.debug(error.message);\n } finally{\n return osInfo;\n }\n}\n/**\n * Extract a value from an object by following the keys path provided.\n * If the value is present, it is returned. Otherwise undefined is returned.\n */ function $3a4f59c3cba9c07d$var$extractValue(obj, keys) {\n if (keys.length > 0) {\n const value = obj[keys[0]];\n if (keys.length > 1 && value !== undefined) return $3a4f59c3cba9c07d$var$extractValue(value, keys.slice(1));\n else return value;\n } else return;\n}\nfunction $3a4f59c3cba9c07d$export$62b63db2b7d00b3a(versionFile) {\n $lcRzN.debug(`Trying to resolve version form ${versionFile}`);\n const pyprojectFile = (0, ($parcel$interopDefault($k14yv$fs))).readFileSync(versionFile, \"utf8\");\n const pyprojectConfig = $55W4k.parse(pyprojectFile);\n let keys = [];\n if (\"project\" in pyprojectConfig) // standard project metadata (PEP 621)\n keys = [\n \"project\",\n \"requires-python\"\n ];\n else // python poetry\n keys = [\n \"tool\",\n \"poetry\",\n \"dependencies\",\n \"python\"\n ];\n const versions = [];\n const version = $3a4f59c3cba9c07d$var$extractValue(pyprojectConfig, keys);\n if (version !== undefined) versions.push(version);\n $lcRzN.info(`Extracted ${versions} from ${versionFile}`);\n const rawVersions = Array.from(versions, (version)=>version.split(\",\").join(\" \"));\n const validatedVersions = rawVersions.map((item)=>$lJEXJ.validRange(item, true)).filter((versionRange, index)=>{\n if (!versionRange) $lcRzN.debug(`The version ${rawVersions[index]} is not valid SemVer range`);\n return !!versionRange;\n });\n return validatedVersions;\n}\nfunction $3a4f59c3cba9c07d$export$6bdea68547837ebb(versionFile) {\n $lcRzN.debug(`Trying to resolve version form ${versionFile}`);\n const version = (0, ($parcel$interopDefault($k14yv$fs))).readFileSync(versionFile, \"utf8\");\n $lcRzN.info(`Resolved ${versionFile} as ${version}`);\n return [\n version\n ];\n}\nfunction $3a4f59c3cba9c07d$export$7ffda0a4baa8880a(versionFile) {\n if (versionFile.endsWith(\".toml\")) return $3a4f59c3cba9c07d$export$62b63db2b7d00b3a(versionFile);\n else return $3a4f59c3cba9c07d$export$6bdea68547837ebb(versionFile);\n}\n\n});\nparcelRequire.register(\"55W4k\", function(module, exports) {\n\n$parcel$export(module.exports, \"parse\", () => $3b5a76a5a5eb95d3$export$98e6a39c04603d36, (v) => $3b5a76a5a5eb95d3$export$98e6a39c04603d36 = v);\nvar $3b5a76a5a5eb95d3$export$98e6a39c04603d36;\nvar $3b5a76a5a5eb95d3$export$fac44ee5b035f737;\n\"use strict\";\n\n$3b5a76a5a5eb95d3$export$98e6a39c04603d36 = (parcelRequire(\"gi4xV\"));\n\n$3b5a76a5a5eb95d3$export$fac44ee5b035f737 = (parcelRequire(\"5e4iL\"));\n\n});\nparcelRequire.register(\"gi4xV\", function(module, exports) {\n\"use strict\";\n\nmodule.exports = (parcelRequire(\"hncsJ\"));\n\nmodule.exports.async = (parcelRequire(\"leFFm\"));\n\nmodule.exports.stream = (parcelRequire(\"bIDnv\"));\n\nmodule.exports.prettyError = (parcelRequire(\"ckX77\"));\n\n});\nparcelRequire.register(\"hncsJ\", function(module, exports) {\n\"use strict\";\nmodule.exports = $ca5e40670cce0cd1$var$parseString;\n\nvar $gEhiJ = parcelRequire(\"gEhiJ\");\n\nvar $ckX77 = parcelRequire(\"ckX77\");\nfunction $ca5e40670cce0cd1$var$parseString(str) {\n if ($parcel$global.Buffer && $parcel$global.Buffer.isBuffer(str)) str = str.toString(\"utf8\");\n const parser = new $gEhiJ();\n try {\n parser.parse(str);\n return parser.finish();\n } catch (err) {\n throw $ckX77(err, str);\n }\n}\n\n});\nparcelRequire.register(\"gEhiJ\", function(module, exports) {\n\"use strict\";\n\n/* eslint-disable no-new-wrappers, no-eval, camelcase, operator-linebreak */ module.exports = makeParserClass((parcelRequire(\"lTZk9\")));\nmodule.exports.makeParserClass = makeParserClass;\nclass TomlError extends Error {\n constructor(msg11){\n super(msg11);\n this.name = \"TomlError\";\n /* istanbul ignore next */ if (Error.captureStackTrace) Error.captureStackTrace(this, TomlError);\n this.fromTOML = true;\n this.wrapped = null;\n }\n}\nTomlError.wrap = (err11)=>{\n const terr11 = new TomlError(err11.message);\n terr11.code = err11.code;\n terr11.wrapped = err11;\n return terr11;\n};\nmodule.exports.TomlError = TomlError;\n\nvar $lPmG1 = parcelRequire(\"lPmG1\");\n\nvar $7kLtX = parcelRequire(\"7kLtX\");\n\nvar $i8y9h = parcelRequire(\"i8y9h\");\n\nvar $l5l5L = parcelRequire(\"l5l5L\");\nconst CTRL_I = 0x09;\nconst CTRL_J = 0x0A;\nconst CTRL_M = 0x0D;\nconst CTRL_CHAR_BOUNDARY = 0x1F // the last non-character in the latin1 region of unicode, except DEL\n;\nconst CHAR_SP = 0x20;\nconst CHAR_QUOT = 0x22;\nconst CHAR_NUM = 0x23;\nconst CHAR_APOS = 0x27;\nconst CHAR_PLUS = 0x2B;\nconst CHAR_COMMA = 0x2C;\nconst CHAR_HYPHEN = 0x2D;\nconst CHAR_PERIOD = 0x2E;\nconst CHAR_0 = 0x30;\nconst CHAR_1 = 0x31;\nconst CHAR_7 = 0x37;\nconst CHAR_9 = 0x39;\nconst CHAR_COLON = 0x3A;\nconst CHAR_EQUALS = 0x3D;\nconst CHAR_A = 0x41;\nconst CHAR_E = 0x45;\nconst CHAR_F = 0x46;\nconst CHAR_T = 0x54;\nconst CHAR_U = 0x55;\nconst CHAR_Z = 0x5A;\nconst CHAR_LOWBAR = 0x5F;\nconst CHAR_a = 0x61;\nconst CHAR_b = 0x62;\nconst CHAR_e = 0x65;\nconst CHAR_f = 0x66;\nconst CHAR_i = 0x69;\nconst CHAR_l = 0x6C;\nconst CHAR_n = 0x6E;\nconst CHAR_o = 0x6F;\nconst CHAR_r = 0x72;\nconst CHAR_s = 0x73;\nconst CHAR_t = 0x74;\nconst CHAR_u = 0x75;\nconst CHAR_x = 0x78;\nconst CHAR_z = 0x7A;\nconst CHAR_LCUB = 0x7B;\nconst CHAR_RCUB = 0x7D;\nconst CHAR_LSQB = 0x5B;\nconst CHAR_BSOL = 0x5C;\nconst CHAR_RSQB = 0x5D;\nconst CHAR_DEL = 0x7F;\nconst SURROGATE_FIRST = 0xD800;\nconst SURROGATE_LAST = 0xDFFF;\nconst escapes = {\n [CHAR_b]: \"\\b\",\n [CHAR_t]: \"\t\",\n [CHAR_n]: \"\\n\",\n [CHAR_f]: \"\\f\",\n [CHAR_r]: \"\\r\",\n [CHAR_QUOT]: '\"',\n [CHAR_BSOL]: \"\\\\\"\n};\nfunction isDigit(cp11) {\n return cp11 >= CHAR_0 && cp11 <= CHAR_9;\n}\nfunction isHexit(cp11) {\n return cp11 >= CHAR_A && cp11 <= CHAR_F || cp11 >= CHAR_a && cp11 <= CHAR_f || cp11 >= CHAR_0 && cp11 <= CHAR_9;\n}\nfunction isBit(cp11) {\n return cp11 === CHAR_1 || cp11 === CHAR_0;\n}\nfunction isOctit(cp11) {\n return cp11 >= CHAR_0 && cp11 <= CHAR_7;\n}\nfunction isAlphaNumQuoteHyphen(cp11) {\n return cp11 >= CHAR_A && cp11 <= CHAR_Z || cp11 >= CHAR_a && cp11 <= CHAR_z || cp11 >= CHAR_0 && cp11 <= CHAR_9 || cp11 === CHAR_APOS || cp11 === CHAR_QUOT || cp11 === CHAR_LOWBAR || cp11 === CHAR_HYPHEN;\n}\nfunction isAlphaNumHyphen(cp11) {\n return cp11 >= CHAR_A && cp11 <= CHAR_Z || cp11 >= CHAR_a && cp11 <= CHAR_z || cp11 >= CHAR_0 && cp11 <= CHAR_9 || cp11 === CHAR_LOWBAR || cp11 === CHAR_HYPHEN;\n}\nconst _type = Symbol(\"type\");\nconst _declared = Symbol(\"declared\");\nconst hasOwnProperty = Object.prototype.hasOwnProperty;\nconst defineProperty = Object.defineProperty;\nconst descriptor = {\n configurable: true,\n enumerable: true,\n writable: true,\n value: undefined\n};\nfunction hasKey(obj11, key11) {\n if (hasOwnProperty.call(obj11, key11)) return true;\n if (key11 === \"__proto__\") defineProperty(obj11, \"__proto__\", descriptor);\n return false;\n}\nconst INLINE_TABLE = Symbol(\"inline-table\");\nfunction InlineTable() {\n return Object.defineProperties({}, {\n [_type]: {\n value: INLINE_TABLE\n }\n });\n}\nfunction isInlineTable(obj11) {\n if (obj11 === null || typeof obj11 !== \"object\") return false;\n return obj11[_type] === INLINE_TABLE;\n}\nconst TABLE = Symbol(\"table\");\nfunction Table() {\n return Object.defineProperties({}, {\n [_type]: {\n value: TABLE\n },\n [_declared]: {\n value: false,\n writable: true\n }\n });\n}\nfunction isTable(obj11) {\n if (obj11 === null || typeof obj11 !== \"object\") return false;\n return obj11[_type] === TABLE;\n}\nconst _contentType = Symbol(\"content-type\");\nconst INLINE_LIST = Symbol(\"inline-list\");\nfunction InlineList(type11) {\n return Object.defineProperties([], {\n [_type]: {\n value: INLINE_LIST\n },\n [_contentType]: {\n value: type11\n }\n });\n}\nfunction isInlineList(obj11) {\n if (obj11 === null || typeof obj11 !== \"object\") return false;\n return obj11[_type] === INLINE_LIST;\n}\nconst LIST = Symbol(\"list\");\nfunction List() {\n return Object.defineProperties([], {\n [_type]: {\n value: LIST\n }\n });\n}\nfunction isList(obj11) {\n if (obj11 === null || typeof obj11 !== \"object\") return false;\n return obj11[_type] === LIST;\n}\n// in an eval, to let bundlers not slurp in a util proxy\nlet _custom;\ntry {\n const utilInspect = eval(\"require('util').inspect\");\n _custom = utilInspect.custom;\n} catch (_) {\n/* eval require not available in transpiled bundle */ }\n/* istanbul ignore next */ const _inspect = _custom || \"inspect\";\nclass BoxedBigInt {\n constructor(value11){\n try {\n this.value = $parcel$global.BigInt.asIntN(64, value11);\n } catch (_11) {\n /* istanbul ignore next */ this.value = null;\n }\n Object.defineProperty(this, _type, {\n value: INTEGER\n });\n }\n isNaN() {\n return this.value === null;\n }\n /* istanbul ignore next */ toString() {\n return String(this.value);\n }\n /* istanbul ignore next */ [_inspect]() {\n return `[BigInt: ${this.toString()}]}`;\n }\n valueOf() {\n return this.value;\n }\n}\nconst INTEGER = Symbol(\"integer\");\nfunction Integer(value11) {\n let num11 = Number(value11);\n // -0 is a float thing, not an int thing\n if (Object.is(num11, -0)) num11 = 0;\n /* istanbul ignore else */ if ($parcel$global.BigInt && !Number.isSafeInteger(num11)) return new BoxedBigInt(value11);\n else /* istanbul ignore next */ return Object.defineProperties(new Number(num11), {\n isNaN: {\n value: function() {\n return isNaN(this);\n }\n },\n [_type]: {\n value: INTEGER\n },\n [_inspect]: {\n value: ()=>`[Integer: ${value11}]`\n }\n });\n}\nfunction isInteger(obj11) {\n if (obj11 === null || typeof obj11 !== \"object\") return false;\n return obj11[_type] === INTEGER;\n}\nconst FLOAT = Symbol(\"float\");\nfunction Float(value11) {\n /* istanbul ignore next */ return Object.defineProperties(new Number(value11), {\n [_type]: {\n value: FLOAT\n },\n [_inspect]: {\n value: ()=>`[Float: ${value11}]`\n }\n });\n}\nfunction isFloat(obj11) {\n if (obj11 === null || typeof obj11 !== \"object\") return false;\n return obj11[_type] === FLOAT;\n}\nfunction tomlType(value11) {\n const type11 = typeof value11;\n if (type11 === \"object\") {\n /* istanbul ignore if */ if (value11 === null) return \"null\";\n if (value11 instanceof Date) return \"datetime\";\n /* istanbul ignore else */ if (_type in value11) switch(value11[_type]){\n case INLINE_TABLE:\n return \"inline-table\";\n case INLINE_LIST:\n return \"inline-list\";\n /* istanbul ignore next */ case TABLE:\n return \"table\";\n /* istanbul ignore next */ case LIST:\n return \"list\";\n case FLOAT:\n return \"float\";\n case INTEGER:\n return \"integer\";\n }\n }\n return type11;\n}\nfunction makeParserClass(Parser11) {\n class TOMLParser11 extends Parser11 {\n constructor(){\n super();\n this.ctx = this.obj = Table();\n }\n /* MATCH HELPER */ atEndOfWord() {\n return this.char === CHAR_NUM || this.char === CTRL_I || this.char === CHAR_SP || this.atEndOfLine();\n }\n atEndOfLine() {\n return this.char === Parser11.END || this.char === CTRL_J || this.char === CTRL_M;\n }\n parseStart() {\n if (this.char === Parser11.END) return null;\n else if (this.char === CHAR_LSQB) return this.call(this.parseTableOrList);\n else if (this.char === CHAR_NUM) return this.call(this.parseComment);\n else if (this.char === CTRL_J || this.char === CHAR_SP || this.char === CTRL_I || this.char === CTRL_M) return null;\n else if (isAlphaNumQuoteHyphen(this.char)) return this.callNow(this.parseAssignStatement);\n else throw this.error(new TomlError(`Unknown character \"${this.char}\"`));\n }\n // HELPER, this strips any whitespace and comments to the end of the line\n // then RETURNS. Last state in a production.\n parseWhitespaceToEOL() {\n if (this.char === CHAR_SP || this.char === CTRL_I || this.char === CTRL_M) return null;\n else if (this.char === CHAR_NUM) return this.goto(this.parseComment);\n else if (this.char === Parser11.END || this.char === CTRL_J) return this.return();\n else throw this.error(new TomlError(\"Unexpected character, expected only whitespace or comments till end of line\"));\n }\n /* ASSIGNMENT: key = value */ parseAssignStatement() {\n return this.callNow(this.parseAssign, this.recordAssignStatement);\n }\n recordAssignStatement(kv11) {\n let target11 = this.ctx;\n let finalKey11 = kv11.key.pop();\n for (let kw11 of kv11.key){\n if (hasKey(target11, kw11) && (!isTable(target11[kw11]) || target11[kw11][_declared])) throw this.error(new TomlError(\"Can't redefine existing key\"));\n target11 = target11[kw11] = target11[kw11] || Table();\n }\n if (hasKey(target11, finalKey11)) throw this.error(new TomlError(\"Can't redefine existing key\"));\n // unbox our numbers\n if (isInteger(kv11.value) || isFloat(kv11.value)) target11[finalKey11] = kv11.value.valueOf();\n else target11[finalKey11] = kv11.value;\n return this.goto(this.parseWhitespaceToEOL);\n }\n /* ASSSIGNMENT expression, key = value possibly inside an inline table */ parseAssign() {\n return this.callNow(this.parseKeyword, this.recordAssignKeyword);\n }\n recordAssignKeyword(key11) {\n if (this.state.resultTable) this.state.resultTable.push(key11);\n else this.state.resultTable = [\n key11\n ];\n return this.goto(this.parseAssignKeywordPreDot);\n }\n parseAssignKeywordPreDot() {\n if (this.char === CHAR_PERIOD) return this.next(this.parseAssignKeywordPostDot);\n else if (this.char !== CHAR_SP && this.char !== CTRL_I) return this.goto(this.parseAssignEqual);\n }\n parseAssignKeywordPostDot() {\n if (this.char !== CHAR_SP && this.char !== CTRL_I) return this.callNow(this.parseKeyword, this.recordAssignKeyword);\n }\n parseAssignEqual() {\n if (this.char === CHAR_EQUALS) return this.next(this.parseAssignPreValue);\n else throw this.error(new TomlError('Invalid character, expected \"=\"'));\n }\n parseAssignPreValue() {\n if (this.char === CHAR_SP || this.char === CTRL_I) return null;\n else return this.callNow(this.parseValue, this.recordAssignValue);\n }\n recordAssignValue(value11) {\n return this.returnNow({\n key: this.state.resultTable,\n value: value11\n });\n }\n /* COMMENTS: #...eol */ parseComment() {\n do {\n if (this.char === Parser11.END || this.char === CTRL_J) return this.return();\n }while (this.nextChar());\n }\n /* TABLES AND LISTS, [foo] and [[foo]] */ parseTableOrList() {\n if (this.char === CHAR_LSQB) this.next(this.parseList);\n else return this.goto(this.parseTable);\n }\n /* TABLE [foo.bar.baz] */ parseTable() {\n this.ctx = this.obj;\n return this.goto(this.parseTableNext);\n }\n parseTableNext() {\n if (this.char === CHAR_SP || this.char === CTRL_I) return null;\n else return this.callNow(this.parseKeyword, this.parseTableMore);\n }\n parseTableMore(keyword11) {\n if (this.char === CHAR_SP || this.char === CTRL_I) return null;\n else if (this.char === CHAR_RSQB) {\n if (hasKey(this.ctx, keyword11) && (!isTable(this.ctx[keyword11]) || this.ctx[keyword11][_declared])) throw this.error(new TomlError(\"Can't redefine existing key\"));\n else {\n this.ctx = this.ctx[keyword11] = this.ctx[keyword11] || Table();\n this.ctx[_declared] = true;\n }\n return this.next(this.parseWhitespaceToEOL);\n } else if (this.char === CHAR_PERIOD) {\n if (!hasKey(this.ctx, keyword11)) this.ctx = this.ctx[keyword11] = Table();\n else if (isTable(this.ctx[keyword11])) this.ctx = this.ctx[keyword11];\n else if (isList(this.ctx[keyword11])) this.ctx = this.ctx[keyword11][this.ctx[keyword11].length - 1];\n else throw this.error(new TomlError(\"Can't redefine existing key\"));\n return this.next(this.parseTableNext);\n } else throw this.error(new TomlError(\"Unexpected character, expected whitespace, . or ]\"));\n }\n /* LIST [[a.b.c]] */ parseList() {\n this.ctx = this.obj;\n return this.goto(this.parseListNext);\n }\n parseListNext() {\n if (this.char === CHAR_SP || this.char === CTRL_I) return null;\n else return this.callNow(this.parseKeyword, this.parseListMore);\n }\n parseListMore(keyword11) {\n if (this.char === CHAR_SP || this.char === CTRL_I) return null;\n else if (this.char === CHAR_RSQB) {\n if (!hasKey(this.ctx, keyword11)) this.ctx[keyword11] = List();\n if (isInlineList(this.ctx[keyword11])) throw this.error(new TomlError(\"Can't extend an inline array\"));\n else if (isList(this.ctx[keyword11])) {\n const next11 = Table();\n this.ctx[keyword11].push(next11);\n this.ctx = next11;\n } else throw this.error(new TomlError(\"Can't redefine an existing key\"));\n return this.next(this.parseListEnd);\n } else if (this.char === CHAR_PERIOD) {\n if (!hasKey(this.ctx, keyword11)) this.ctx = this.ctx[keyword11] = Table();\n else if (isInlineList(this.ctx[keyword11])) throw this.error(new TomlError(\"Can't extend an inline array\"));\n else if (isInlineTable(this.ctx[keyword11])) throw this.error(new TomlError(\"Can't extend an inline table\"));\n else if (isList(this.ctx[keyword11])) this.ctx = this.ctx[keyword11][this.ctx[keyword11].length - 1];\n else if (isTable(this.ctx[keyword11])) this.ctx = this.ctx[keyword11];\n else throw this.error(new TomlError(\"Can't redefine an existing key\"));\n return this.next(this.parseListNext);\n } else throw this.error(new TomlError(\"Unexpected character, expected whitespace, . or ]\"));\n }\n parseListEnd(keyword11) {\n if (this.char === CHAR_RSQB) return this.next(this.parseWhitespaceToEOL);\n else throw this.error(new TomlError(\"Unexpected character, expected whitespace, . or ]\"));\n }\n /* VALUE string, number, boolean, inline list, inline object */ parseValue() {\n if (this.char === Parser11.END) throw this.error(new TomlError(\"Key without value\"));\n else if (this.char === CHAR_QUOT) return this.next(this.parseDoubleString);\n if (this.char === CHAR_APOS) return this.next(this.parseSingleString);\n else if (this.char === CHAR_HYPHEN || this.char === CHAR_PLUS) return this.goto(this.parseNumberSign);\n else if (this.char === CHAR_i) return this.next(this.parseInf);\n else if (this.char === CHAR_n) return this.next(this.parseNan);\n else if (isDigit(this.char)) return this.goto(this.parseNumberOrDateTime);\n else if (this.char === CHAR_t || this.char === CHAR_f) return this.goto(this.parseBoolean);\n else if (this.char === CHAR_LSQB) return this.call(this.parseInlineList, this.recordValue);\n else if (this.char === CHAR_LCUB) return this.call(this.parseInlineTable, this.recordValue);\n else throw this.error(new TomlError(\"Unexpected character, expecting string, number, datetime, boolean, inline array or inline table\"));\n }\n recordValue(value11) {\n return this.returnNow(value11);\n }\n parseInf() {\n if (this.char === CHAR_n) return this.next(this.parseInf2);\n else throw this.error(new TomlError('Unexpected character, expected \"inf\", \"+inf\" or \"-inf\"'));\n }\n parseInf2() {\n if (this.char === CHAR_f) {\n if (this.state.buf === \"-\") return this.return(-Infinity);\n else return this.return(Infinity);\n } else throw this.error(new TomlError('Unexpected character, expected \"inf\", \"+inf\" or \"-inf\"'));\n }\n parseNan() {\n if (this.char === CHAR_a) return this.next(this.parseNan2);\n else throw this.error(new TomlError('Unexpected character, expected \"nan\"'));\n }\n parseNan2() {\n if (this.char === CHAR_n) return this.return(NaN);\n else throw this.error(new TomlError('Unexpected character, expected \"nan\"'));\n }\n /* KEYS, barewords or basic, literal, or dotted */ parseKeyword() {\n if (this.char === CHAR_QUOT) return this.next(this.parseBasicString);\n else if (this.char === CHAR_APOS) return this.next(this.parseLiteralString);\n else return this.goto(this.parseBareKey);\n }\n /* KEYS: barewords */ parseBareKey() {\n do {\n if (this.char === Parser11.END) throw this.error(new TomlError(\"Key ended without value\"));\n else if (isAlphaNumHyphen(this.char)) this.consume();\n else if (this.state.buf.length === 0) throw this.error(new TomlError(\"Empty bare keys are not allowed\"));\n else return this.returnNow();\n }while (this.nextChar());\n }\n /* STRINGS, single quoted (literal) */ parseSingleString() {\n if (this.char === CHAR_APOS) return this.next(this.parseLiteralMultiStringMaybe);\n else return this.goto(this.parseLiteralString);\n }\n parseLiteralString() {\n do {\n if (this.char === CHAR_APOS) return this.return();\n else if (this.atEndOfLine()) throw this.error(new TomlError(\"Unterminated string\"));\n else if (this.char === CHAR_DEL || this.char <= CTRL_CHAR_BOUNDARY && this.char !== CTRL_I) throw this.errorControlCharInString();\n else this.consume();\n }while (this.nextChar());\n }\n parseLiteralMultiStringMaybe() {\n if (this.char === CHAR_APOS) return this.next(this.parseLiteralMultiString);\n else return this.returnNow();\n }\n parseLiteralMultiString() {\n if (this.char === CTRL_M) return null;\n else if (this.char === CTRL_J) return this.next(this.parseLiteralMultiStringContent);\n else return this.goto(this.parseLiteralMultiStringContent);\n }\n parseLiteralMultiStringContent() {\n do {\n if (this.char === CHAR_APOS) return this.next(this.parseLiteralMultiEnd);\n else if (this.char === Parser11.END) throw this.error(new TomlError(\"Unterminated multi-line string\"));\n else if (this.char === CHAR_DEL || this.char <= CTRL_CHAR_BOUNDARY && this.char !== CTRL_I && this.char !== CTRL_J && this.char !== CTRL_M) throw this.errorControlCharInString();\n else this.consume();\n }while (this.nextChar());\n }\n parseLiteralMultiEnd() {\n if (this.char === CHAR_APOS) return this.next(this.parseLiteralMultiEnd2);\n else {\n this.state.buf += \"'\";\n return this.goto(this.parseLiteralMultiStringContent);\n }\n }\n parseLiteralMultiEnd2() {\n if (this.char === CHAR_APOS) return this.return();\n else {\n this.state.buf += \"''\";\n return this.goto(this.parseLiteralMultiStringContent);\n }\n }\n /* STRINGS double quoted */ parseDoubleString() {\n if (this.char === CHAR_QUOT) return this.next(this.parseMultiStringMaybe);\n else return this.goto(this.parseBasicString);\n }\n parseBasicString() {\n do {\n if (this.char === CHAR_BSOL) return this.call(this.parseEscape, this.recordEscapeReplacement);\n else if (this.char === CHAR_QUOT) return this.return();\n else if (this.atEndOfLine()) throw this.error(new TomlError(\"Unterminated string\"));\n else if (this.char === CHAR_DEL || this.char <= CTRL_CHAR_BOUNDARY && this.char !== CTRL_I) throw this.errorControlCharInString();\n else this.consume();\n }while (this.nextChar());\n }\n recordEscapeReplacement(replacement11) {\n this.state.buf += replacement11;\n return this.goto(this.parseBasicString);\n }\n parseMultiStringMaybe() {\n if (this.char === CHAR_QUOT) return this.next(this.parseMultiString);\n else return this.returnNow();\n }\n parseMultiString() {\n if (this.char === CTRL_M) return null;\n else if (this.char === CTRL_J) return this.next(this.parseMultiStringContent);\n else return this.goto(this.parseMultiStringContent);\n }\n parseMultiStringContent() {\n do {\n if (this.char === CHAR_BSOL) return this.call(this.parseMultiEscape, this.recordMultiEscapeReplacement);\n else if (this.char === CHAR_QUOT) return this.next(this.parseMultiEnd);\n else if (this.char === Parser11.END) throw this.error(new TomlError(\"Unterminated multi-line string\"));\n else if (this.char === CHAR_DEL || this.char <= CTRL_CHAR_BOUNDARY && this.char !== CTRL_I && this.char !== CTRL_J && this.char !== CTRL_M) throw this.errorControlCharInString();\n else this.consume();\n }while (this.nextChar());\n }\n errorControlCharInString() {\n let displayCode11 = \"\\\\u00\";\n if (this.char < 16) displayCode11 += \"0\";\n displayCode11 += this.char.toString(16);\n return this.error(new TomlError(`Control characters (codes < 0x1f and 0x7f) are not allowed in strings, use ${displayCode11} instead`));\n }\n recordMultiEscapeReplacement(replacement11) {\n this.state.buf += replacement11;\n return this.goto(this.parseMultiStringContent);\n }\n parseMultiEnd() {\n if (this.char === CHAR_QUOT) return this.next(this.parseMultiEnd2);\n else {\n this.state.buf += '\"';\n return this.goto(this.parseMultiStringContent);\n }\n }\n parseMultiEnd2() {\n if (this.char === CHAR_QUOT) return this.return();\n else {\n this.state.buf += '\"\"';\n return this.goto(this.parseMultiStringContent);\n }\n }\n parseMultiEscape() {\n if (this.char === CTRL_M || this.char === CTRL_J) return this.next(this.parseMultiTrim);\n else if (this.char === CHAR_SP || this.char === CTRL_I) return this.next(this.parsePreMultiTrim);\n else return this.goto(this.parseEscape);\n }\n parsePreMultiTrim() {\n if (this.char === CHAR_SP || this.char === CTRL_I) return null;\n else if (this.char === CTRL_M || this.char === CTRL_J) return this.next(this.parseMultiTrim);\n else throw this.error(new TomlError(\"Can't escape whitespace\"));\n }\n parseMultiTrim() {\n // explicitly whitespace here, END should follow the same path as chars\n if (this.char === CTRL_J || this.char === CHAR_SP || this.char === CTRL_I || this.char === CTRL_M) return null;\n else return this.returnNow();\n }\n parseEscape() {\n if (this.char in escapes) return this.return(escapes[this.char]);\n else if (this.char === CHAR_u) return this.call(this.parseSmallUnicode, this.parseUnicodeReturn);\n else if (this.char === CHAR_U) return this.call(this.parseLargeUnicode, this.parseUnicodeReturn);\n else throw this.error(new TomlError(\"Unknown escape character: \" + this.char));\n }\n parseUnicodeReturn(char11) {\n try {\n const codePoint11 = parseInt(char11, 16);\n if (codePoint11 >= SURROGATE_FIRST && codePoint11 <= SURROGATE_LAST) throw this.error(new TomlError(\"Invalid unicode, character in range 0xD800 - 0xDFFF is reserved\"));\n return this.returnNow(String.fromCodePoint(codePoint11));\n } catch (err11) {\n throw this.error(TomlError.wrap(err11));\n }\n }\n parseSmallUnicode() {\n if (!isHexit(this.char)) throw this.error(new TomlError(\"Invalid character in unicode sequence, expected hex\"));\n else {\n this.consume();\n if (this.state.buf.length >= 4) return this.return();\n }\n }\n parseLargeUnicode() {\n if (!isHexit(this.char)) throw this.error(new TomlError(\"Invalid character in unicode sequence, expected hex\"));\n else {\n this.consume();\n if (this.state.buf.length >= 8) return this.return();\n }\n }\n /* NUMBERS */ parseNumberSign() {\n this.consume();\n return this.next(this.parseMaybeSignedInfOrNan);\n }\n parseMaybeSignedInfOrNan() {\n if (this.char === CHAR_i) return this.next(this.parseInf);\n else if (this.char === CHAR_n) return this.next(this.parseNan);\n else return this.callNow(this.parseNoUnder, this.parseNumberIntegerStart);\n }\n parseNumberIntegerStart() {\n if (this.char === CHAR_0) {\n this.consume();\n return this.next(this.parseNumberIntegerExponentOrDecimal);\n } else return this.goto(this.parseNumberInteger);\n }\n parseNumberIntegerExponentOrDecimal() {\n if (this.char === CHAR_PERIOD) {\n this.consume();\n return this.call(this.parseNoUnder, this.parseNumberFloat);\n } else if (this.char === CHAR_E || this.char === CHAR_e) {\n this.consume();\n return this.next(this.parseNumberExponentSign);\n } else return this.returnNow(Integer(this.state.buf));\n }\n parseNumberInteger() {\n if (isDigit(this.char)) this.consume();\n else if (this.char === CHAR_LOWBAR) return this.call(this.parseNoUnder);\n else if (this.char === CHAR_E || this.char === CHAR_e) {\n this.consume();\n return this.next(this.parseNumberExponentSign);\n } else if (this.char === CHAR_PERIOD) {\n this.consume();\n return this.call(this.parseNoUnder, this.parseNumberFloat);\n } else {\n const result11 = Integer(this.state.buf);\n /* istanbul ignore if */ if (result11.isNaN()) throw this.error(new TomlError(\"Invalid number\"));\n else return this.returnNow(result11);\n }\n }\n parseNoUnder() {\n if (this.char === CHAR_LOWBAR || this.char === CHAR_PERIOD || this.char === CHAR_E || this.char === CHAR_e) throw this.error(new TomlError(\"Unexpected character, expected digit\"));\n else if (this.atEndOfWord()) throw this.error(new TomlError(\"Incomplete number\"));\n return this.returnNow();\n }\n parseNoUnderHexOctBinLiteral() {\n if (this.char === CHAR_LOWBAR || this.char === CHAR_PERIOD) throw this.error(new TomlError(\"Unexpected character, expected digit\"));\n else if (this.atEndOfWord()) throw this.error(new TomlError(\"Incomplete number\"));\n return this.returnNow();\n }\n parseNumberFloat() {\n if (this.char === CHAR_LOWBAR) return this.call(this.parseNoUnder, this.parseNumberFloat);\n else if (isDigit(this.char)) this.consume();\n else if (this.char === CHAR_E || this.char === CHAR_e) {\n this.consume();\n return this.next(this.parseNumberExponentSign);\n } else return this.returnNow(Float(this.state.buf));\n }\n parseNumberExponentSign() {\n if (isDigit(this.char)) return this.goto(this.parseNumberExponent);\n else if (this.char === CHAR_HYPHEN || this.char === CHAR_PLUS) {\n this.consume();\n this.call(this.parseNoUnder, this.parseNumberExponent);\n } else throw this.error(new TomlError(\"Unexpected character, expected -, + or digit\"));\n }\n parseNumberExponent() {\n if (isDigit(this.char)) this.consume();\n else if (this.char === CHAR_LOWBAR) return this.call(this.parseNoUnder);\n else return this.returnNow(Float(this.state.buf));\n }\n /* NUMBERS or DATETIMES */ parseNumberOrDateTime() {\n if (this.char === CHAR_0) {\n this.consume();\n return this.next(this.parseNumberBaseOrDateTime);\n } else return this.goto(this.parseNumberOrDateTimeOnly);\n }\n parseNumberOrDateTimeOnly() {\n // note, if two zeros are in a row then it MUST be a date\n if (this.char === CHAR_LOWBAR) return this.call(this.parseNoUnder, this.parseNumberInteger);\n else if (isDigit(this.char)) {\n this.consume();\n if (this.state.buf.length > 4) this.next(this.parseNumberInteger);\n } else if (this.char === CHAR_E || this.char === CHAR_e) {\n this.consume();\n return this.next(this.parseNumberExponentSign);\n } else if (this.char === CHAR_PERIOD) {\n this.consume();\n return this.call(this.parseNoUnder, this.parseNumberFloat);\n } else if (this.char === CHAR_HYPHEN) return this.goto(this.parseDateTime);\n else if (this.char === CHAR_COLON) return this.goto(this.parseOnlyTimeHour);\n else return this.returnNow(Integer(this.state.buf));\n }\n parseDateTimeOnly() {\n if (this.state.buf.length < 4) {\n if (isDigit(this.char)) return this.consume();\n else if (this.char === CHAR_COLON) return this.goto(this.parseOnlyTimeHour);\n else throw this.error(new TomlError(\"Expected digit while parsing year part of a date\"));\n } else {\n if (this.char === CHAR_HYPHEN) return this.goto(this.parseDateTime);\n else throw this.error(new TomlError(\"Expected hyphen (-) while parsing year part of date\"));\n }\n }\n parseNumberBaseOrDateTime() {\n if (this.char === CHAR_b) {\n this.consume();\n return this.call(this.parseNoUnderHexOctBinLiteral, this.parseIntegerBin);\n } else if (this.char === CHAR_o) {\n this.consume();\n return this.call(this.parseNoUnderHexOctBinLiteral, this.parseIntegerOct);\n } else if (this.char === CHAR_x) {\n this.consume();\n return this.call(this.parseNoUnderHexOctBinLiteral, this.parseIntegerHex);\n } else if (this.char === CHAR_PERIOD) return this.goto(this.parseNumberInteger);\n else if (isDigit(this.char)) return this.goto(this.parseDateTimeOnly);\n else return this.returnNow(Integer(this.state.buf));\n }\n parseIntegerHex() {\n if (isHexit(this.char)) this.consume();\n else if (this.char === CHAR_LOWBAR) return this.call(this.parseNoUnderHexOctBinLiteral);\n else {\n const result11 = Integer(this.state.buf);\n /* istanbul ignore if */ if (result11.isNaN()) throw this.error(new TomlError(\"Invalid number\"));\n else return this.returnNow(result11);\n }\n }\n parseIntegerOct() {\n if (isOctit(this.char)) this.consume();\n else if (this.char === CHAR_LOWBAR) return this.call(this.parseNoUnderHexOctBinLiteral);\n else {\n const result11 = Integer(this.state.buf);\n /* istanbul ignore if */ if (result11.isNaN()) throw this.error(new TomlError(\"Invalid number\"));\n else return this.returnNow(result11);\n }\n }\n parseIntegerBin() {\n if (isBit(this.char)) this.consume();\n else if (this.char === CHAR_LOWBAR) return this.call(this.parseNoUnderHexOctBinLiteral);\n else {\n const result11 = Integer(this.state.buf);\n /* istanbul ignore if */ if (result11.isNaN()) throw this.error(new TomlError(\"Invalid number\"));\n else return this.returnNow(result11);\n }\n }\n /* DATETIME */ parseDateTime() {\n // we enter here having just consumed the year and about to consume the hyphen\n if (this.state.buf.length < 4) throw this.error(new TomlError(\"Years less than 1000 must be zero padded to four characters\"));\n this.state.result = this.state.buf;\n this.state.buf = \"\";\n return this.next(this.parseDateMonth);\n }\n parseDateMonth() {\n if (this.char === CHAR_HYPHEN) {\n if (this.state.buf.length < 2) throw this.error(new TomlError(\"Months less than 10 must be zero padded to two characters\"));\n this.state.result += \"-\" + this.state.buf;\n this.state.buf = \"\";\n return this.next(this.parseDateDay);\n } else if (isDigit(this.char)) this.consume();\n else throw this.error(new TomlError(\"Incomplete datetime\"));\n }\n parseDateDay() {\n if (this.char === CHAR_T || this.char === CHAR_SP) {\n if (this.state.buf.length < 2) throw this.error(new TomlError(\"Days less than 10 must be zero padded to two characters\"));\n this.state.result += \"-\" + this.state.buf;\n this.state.buf = \"\";\n return this.next(this.parseStartTimeHour);\n } else if (this.atEndOfWord()) return this.returnNow($i8y9h(this.state.result + \"-\" + this.state.buf));\n else if (isDigit(this.char)) this.consume();\n else throw this.error(new TomlError(\"Incomplete datetime\"));\n }\n parseStartTimeHour() {\n if (this.atEndOfWord()) return this.returnNow($i8y9h(this.state.result));\n else return this.goto(this.parseTimeHour);\n }\n parseTimeHour() {\n if (this.char === CHAR_COLON) {\n if (this.state.buf.length < 2) throw this.error(new TomlError(\"Hours less than 10 must be zero padded to two characters\"));\n this.state.result += \"T\" + this.state.buf;\n this.state.buf = \"\";\n return this.next(this.parseTimeMin);\n } else if (isDigit(this.char)) this.consume();\n else throw this.error(new TomlError(\"Incomplete datetime\"));\n }\n parseTimeMin() {\n if (this.state.buf.length < 2 && isDigit(this.char)) this.consume();\n else if (this.state.buf.length === 2 && this.char === CHAR_COLON) {\n this.state.result += \":\" + this.state.buf;\n this.state.buf = \"\";\n return this.next(this.parseTimeSec);\n } else throw this.error(new TomlError(\"Incomplete datetime\"));\n }\n parseTimeSec() {\n if (isDigit(this.char)) {\n this.consume();\n if (this.state.buf.length === 2) {\n this.state.result += \":\" + this.state.buf;\n this.state.buf = \"\";\n return this.next(this.parseTimeZoneOrFraction);\n }\n } else throw this.error(new TomlError(\"Incomplete datetime\"));\n }\n parseOnlyTimeHour() {\n /* istanbul ignore else */ if (this.char === CHAR_COLON) {\n if (this.state.buf.length < 2) throw this.error(new TomlError(\"Hours less than 10 must be zero padded to two characters\"));\n this.state.result = this.state.buf;\n this.state.buf = \"\";\n return this.next(this.parseOnlyTimeMin);\n } else throw this.error(new TomlError(\"Incomplete time\"));\n }\n parseOnlyTimeMin() {\n if (this.state.buf.length < 2 && isDigit(this.char)) this.consume();\n else if (this.state.buf.length === 2 && this.char === CHAR_COLON) {\n this.state.result += \":\" + this.state.buf;\n this.state.buf = \"\";\n return this.next(this.parseOnlyTimeSec);\n } else throw this.error(new TomlError(\"Incomplete time\"));\n }\n parseOnlyTimeSec() {\n if (isDigit(this.char)) {\n this.consume();\n if (this.state.buf.length === 2) return this.next(this.parseOnlyTimeFractionMaybe);\n } else throw this.error(new TomlError(\"Incomplete time\"));\n }\n parseOnlyTimeFractionMaybe() {\n this.state.result += \":\" + this.state.buf;\n if (this.char === CHAR_PERIOD) {\n this.state.buf = \"\";\n this.next(this.parseOnlyTimeFraction);\n } else return this.return($l5l5L(this.state.result));\n }\n parseOnlyTimeFraction() {\n if (isDigit(this.char)) this.consume();\n else if (this.atEndOfWord()) {\n if (this.state.buf.length === 0) throw this.error(new TomlError(\"Expected digit in milliseconds\"));\n return this.returnNow($l5l5L(this.state.result + \".\" + this.state.buf));\n } else throw this.error(new TomlError(\"Unexpected character in datetime, expected period (.), minus (-), plus (+) or Z\"));\n }\n parseTimeZoneOrFraction() {\n if (this.char === CHAR_PERIOD) {\n this.consume();\n this.next(this.parseDateTimeFraction);\n } else if (this.char === CHAR_HYPHEN || this.char === CHAR_PLUS) {\n this.consume();\n this.next(this.parseTimeZoneHour);\n } else if (this.char === CHAR_Z) {\n this.consume();\n return this.return($lPmG1(this.state.result + this.state.buf));\n } else if (this.atEndOfWord()) return this.returnNow($7kLtX(this.state.result + this.state.buf));\n else throw this.error(new TomlError(\"Unexpected character in datetime, expected period (.), minus (-), plus (+) or Z\"));\n }\n parseDateTimeFraction() {\n if (isDigit(this.char)) this.consume();\n else if (this.state.buf.length === 1) throw this.error(new TomlError(\"Expected digit in milliseconds\"));\n else if (this.char === CHAR_HYPHEN || this.char === CHAR_PLUS) {\n this.consume();\n this.next(this.parseTimeZoneHour);\n } else if (this.char === CHAR_Z) {\n this.consume();\n return this.return($lPmG1(this.state.result + this.state.buf));\n } else if (this.atEndOfWord()) return this.returnNow($7kLtX(this.state.result + this.state.buf));\n else throw this.error(new TomlError(\"Unexpected character in datetime, expected period (.), minus (-), plus (+) or Z\"));\n }\n parseTimeZoneHour() {\n if (isDigit(this.char)) {\n this.consume();\n // FIXME: No more regexps\n if (/\\d\\d$/.test(this.state.buf)) return this.next(this.parseTimeZoneSep);\n } else throw this.error(new TomlError(\"Unexpected character in datetime, expected digit\"));\n }\n parseTimeZoneSep() {\n if (this.char === CHAR_COLON) {\n this.consume();\n this.next(this.parseTimeZoneMin);\n } else throw this.error(new TomlError(\"Unexpected character in datetime, expected colon\"));\n }\n parseTimeZoneMin() {\n if (isDigit(this.char)) {\n this.consume();\n if (/\\d\\d$/.test(this.state.buf)) return this.return($lPmG1(this.state.result + this.state.buf));\n } else throw this.error(new TomlError(\"Unexpected character in datetime, expected digit\"));\n }\n /* BOOLEAN */ parseBoolean() {\n /* istanbul ignore else */ if (this.char === CHAR_t) {\n this.consume();\n return this.next(this.parseTrue_r);\n } else if (this.char === CHAR_f) {\n this.consume();\n return this.next(this.parseFalse_a);\n }\n }\n parseTrue_r() {\n if (this.char === CHAR_r) {\n this.consume();\n return this.next(this.parseTrue_u);\n } else throw this.error(new TomlError(\"Invalid boolean, expected true or false\"));\n }\n parseTrue_u() {\n if (this.char === CHAR_u) {\n this.consume();\n return this.next(this.parseTrue_e);\n } else throw this.error(new TomlError(\"Invalid boolean, expected true or false\"));\n }\n parseTrue_e() {\n if (this.char === CHAR_e) return this.return(true);\n else throw this.error(new TomlError(\"Invalid boolean, expected true or false\"));\n }\n parseFalse_a() {\n if (this.char === CHAR_a) {\n this.consume();\n return this.next(this.parseFalse_l);\n } else throw this.error(new TomlError(\"Invalid boolean, expected true or false\"));\n }\n parseFalse_l() {\n if (this.char === CHAR_l) {\n this.consume();\n return this.next(this.parseFalse_s);\n } else throw this.error(new TomlError(\"Invalid boolean, expected true or false\"));\n }\n parseFalse_s() {\n if (this.char === CHAR_s) {\n this.consume();\n return this.next(this.parseFalse_e);\n } else throw this.error(new TomlError(\"Invalid boolean, expected true or false\"));\n }\n parseFalse_e() {\n if (this.char === CHAR_e) return this.return(false);\n else throw this.error(new TomlError(\"Invalid boolean, expected true or false\"));\n }\n /* INLINE LISTS */ parseInlineList() {\n if (this.char === CHAR_SP || this.char === CTRL_I || this.char === CTRL_M || this.char === CTRL_J) return null;\n else if (this.char === Parser11.END) throw this.error(new TomlError(\"Unterminated inline array\"));\n else if (this.char === CHAR_NUM) return this.call(this.parseComment);\n else if (this.char === CHAR_RSQB) return this.return(this.state.resultArr || InlineList());\n else return this.callNow(this.parseValue, this.recordInlineListValue);\n }\n recordInlineListValue(value11) {\n if (this.state.resultArr) {\n const listType11 = this.state.resultArr[_contentType];\n const valueType11 = tomlType(value11);\n if (listType11 !== valueType11) throw this.error(new TomlError(`Inline lists must be a single type, not a mix of ${listType11} and ${valueType11}`));\n } else this.state.resultArr = InlineList(tomlType(value11));\n if (isFloat(value11) || isInteger(value11)) // unbox now that we've verified they're ok\n this.state.resultArr.push(value11.valueOf());\n else this.state.resultArr.push(value11);\n return this.goto(this.parseInlineListNext);\n }\n parseInlineListNext() {\n if (this.char === CHAR_SP || this.char === CTRL_I || this.char === CTRL_M || this.char === CTRL_J) return null;\n else if (this.char === CHAR_NUM) return this.call(this.parseComment);\n else if (this.char === CHAR_COMMA) return this.next(this.parseInlineList);\n else if (this.char === CHAR_RSQB) return this.goto(this.parseInlineList);\n else throw this.error(new TomlError(\"Invalid character, expected whitespace, comma (,) or close bracket (])\"));\n }\n /* INLINE TABLE */ parseInlineTable() {\n if (this.char === CHAR_SP || this.char === CTRL_I) return null;\n else if (this.char === Parser11.END || this.char === CHAR_NUM || this.char === CTRL_J || this.char === CTRL_M) throw this.error(new TomlError(\"Unterminated inline array\"));\n else if (this.char === CHAR_RCUB) return this.return(this.state.resultTable || InlineTable());\n else {\n if (!this.state.resultTable) this.state.resultTable = InlineTable();\n return this.callNow(this.parseAssign, this.recordInlineTableValue);\n }\n }\n recordInlineTableValue(kv11) {\n let target11 = this.state.resultTable;\n let finalKey11 = kv11.key.pop();\n for (let kw11 of kv11.key){\n if (hasKey(target11, kw11) && (!isTable(target11[kw11]) || target11[kw11][_declared])) throw this.error(new TomlError(\"Can't redefine existing key\"));\n target11 = target11[kw11] = target11[kw11] || Table();\n }\n if (hasKey(target11, finalKey11)) throw this.error(new TomlError(\"Can't redefine existing key\"));\n if (isInteger(kv11.value) || isFloat(kv11.value)) target11[finalKey11] = kv11.value.valueOf();\n else target11[finalKey11] = kv11.value;\n return this.goto(this.parseInlineTableNext);\n }\n parseInlineTableNext() {\n if (this.char === CHAR_SP || this.char === CTRL_I) return null;\n else if (this.char === Parser11.END || this.char === CHAR_NUM || this.char === CTRL_J || this.char === CTRL_M) throw this.error(new TomlError(\"Unterminated inline array\"));\n else if (this.char === CHAR_COMMA) return this.next(this.parseInlineTable);\n else if (this.char === CHAR_RCUB) return this.goto(this.parseInlineTable);\n else throw this.error(new TomlError(\"Invalid character, expected whitespace, comma (,) or close bracket (])\"));\n }\n }\n return TOMLParser11;\n}\n\n});\nparcelRequire.register(\"lTZk9\", function(module, exports) {\n\"use strict\";\nconst $ff1e4dae10310384$var$ParserEND = 0x110000;\nclass $ff1e4dae10310384$var$ParserError extends Error {\n /* istanbul ignore next */ constructor(msg, filename, linenumber){\n super(\"[ParserError] \" + msg, filename, linenumber);\n this.name = \"ParserError\";\n this.code = \"ParserError\";\n if (Error.captureStackTrace) Error.captureStackTrace(this, $ff1e4dae10310384$var$ParserError);\n }\n}\nclass $ff1e4dae10310384$var$State {\n constructor(parser){\n this.parser = parser;\n this.buf = \"\";\n this.returned = null;\n this.result = null;\n this.resultTable = null;\n this.resultArr = null;\n }\n}\nclass $ff1e4dae10310384$var$Parser {\n constructor(){\n this.pos = 0;\n this.col = 0;\n this.line = 0;\n this.obj = {};\n this.ctx = this.obj;\n this.stack = [];\n this._buf = \"\";\n this.char = null;\n this.ii = 0;\n this.state = new $ff1e4dae10310384$var$State(this.parseStart);\n }\n parse(str) {\n /* istanbul ignore next */ if (str.length === 0 || str.length == null) return;\n this._buf = String(str);\n this.ii = -1;\n this.char = -1;\n let getNext;\n while(getNext === false || this.nextChar())getNext = this.runOne();\n this._buf = null;\n }\n nextChar() {\n if (this.char === 0x0A) {\n ++this.line;\n this.col = -1;\n }\n ++this.ii;\n this.char = this._buf.codePointAt(this.ii);\n ++this.pos;\n ++this.col;\n return this.haveBuffer();\n }\n haveBuffer() {\n return this.ii < this._buf.length;\n }\n runOne() {\n return this.state.parser.call(this, this.state.returned);\n }\n finish() {\n this.char = $ff1e4dae10310384$var$ParserEND;\n let last;\n do {\n last = this.state.parser;\n this.runOne();\n }while (this.state.parser !== last);\n this.ctx = null;\n this.state = null;\n this._buf = null;\n return this.obj;\n }\n next(fn) {\n /* istanbul ignore next */ if (typeof fn !== \"function\") throw new $ff1e4dae10310384$var$ParserError(\"Tried to set state to non-existent state: \" + JSON.stringify(fn));\n this.state.parser = fn;\n }\n goto(fn) {\n this.next(fn);\n return this.runOne();\n }\n call(fn, returnWith) {\n if (returnWith) this.next(returnWith);\n this.stack.push(this.state);\n this.state = new $ff1e4dae10310384$var$State(fn);\n }\n callNow(fn, returnWith) {\n this.call(fn, returnWith);\n return this.runOne();\n }\n return(value) {\n /* istanbul ignore next */ if (this.stack.length === 0) throw this.error(new $ff1e4dae10310384$var$ParserError(\"Stack underflow\"));\n if (value === undefined) value = this.state.buf;\n this.state = this.stack.pop();\n this.state.returned = value;\n }\n returnNow(value) {\n this.return(value);\n return this.runOne();\n }\n consume() {\n /* istanbul ignore next */ if (this.char === $ff1e4dae10310384$var$ParserEND) throw this.error(new $ff1e4dae10310384$var$ParserError(\"Unexpected end-of-buffer\"));\n this.state.buf += this._buf[this.ii];\n }\n error(err) {\n err.line = this.line;\n err.col = this.col;\n err.pos = this.pos;\n return err;\n }\n /* istanbul ignore next */ parseStart() {\n throw new $ff1e4dae10310384$var$ParserError(\"Must declare a parseStart method\");\n }\n}\n$ff1e4dae10310384$var$Parser.END = $ff1e4dae10310384$var$ParserEND;\n$ff1e4dae10310384$var$Parser.Error = $ff1e4dae10310384$var$ParserError;\nmodule.exports = $ff1e4dae10310384$var$Parser;\n\n});\n\nparcelRequire.register(\"lPmG1\", function(module, exports) {\n\"use strict\";\nmodule.exports = (value)=>{\n const date = new Date(value);\n /* istanbul ignore if */ if (isNaN(date)) throw new TypeError(\"Invalid Datetime\");\n else return date;\n};\n\n});\n\nparcelRequire.register(\"7kLtX\", function(module, exports) {\n\"use strict\";\n\nvar $fDUHx = parcelRequire(\"fDUHx\");\nclass $556f3ba0adfcf535$var$FloatingDateTime extends Date {\n constructor(value){\n super(value + \"Z\");\n this.isFloating = true;\n }\n toISOString() {\n const date = `${this.getUTCFullYear()}-${$fDUHx(2, this.getUTCMonth() + 1)}-${$fDUHx(2, this.getUTCDate())}`;\n const time = `${$fDUHx(2, this.getUTCHours())}:${$fDUHx(2, this.getUTCMinutes())}:${$fDUHx(2, this.getUTCSeconds())}.${$fDUHx(3, this.getUTCMilliseconds())}`;\n return `${date}T${time}`;\n }\n}\nmodule.exports = (value)=>{\n const date = new $556f3ba0adfcf535$var$FloatingDateTime(value);\n /* istanbul ignore if */ if (isNaN(date)) throw new TypeError(\"Invalid Datetime\");\n else return date;\n};\n\n});\nparcelRequire.register(\"fDUHx\", function(module, exports) {\n\"use strict\";\nmodule.exports = (d, num)=>{\n num = String(num);\n while(num.length < d)num = \"0\" + num;\n return num;\n};\n\n});\n\n\nparcelRequire.register(\"i8y9h\", function(module, exports) {\n\"use strict\";\n\nvar $fDUHx = parcelRequire(\"fDUHx\");\nconst $d343769253f79b60$var$DateTime = $parcel$global.Date;\nclass $d343769253f79b60$var$Date extends $d343769253f79b60$var$DateTime {\n constructor(value){\n super(value);\n this.isDate = true;\n }\n toISOString() {\n return `${this.getUTCFullYear()}-${$fDUHx(2, this.getUTCMonth() + 1)}-${$fDUHx(2, this.getUTCDate())}`;\n }\n}\nmodule.exports = (value)=>{\n const date = new $d343769253f79b60$var$Date(value);\n /* istanbul ignore if */ if (isNaN(date)) throw new TypeError(\"Invalid Datetime\");\n else return date;\n};\n\n});\n\nparcelRequire.register(\"l5l5L\", function(module, exports) {\n\"use strict\";\n\nvar $fDUHx = parcelRequire(\"fDUHx\");\nclass $f59a6d0c6d3555a7$var$Time extends Date {\n constructor(value){\n super(`0000-01-01T${value}Z`);\n this.isTime = true;\n }\n toISOString() {\n return `${$fDUHx(2, this.getUTCHours())}:${$fDUHx(2, this.getUTCMinutes())}:${$fDUHx(2, this.getUTCSeconds())}.${$fDUHx(3, this.getUTCMilliseconds())}`;\n }\n}\nmodule.exports = (value)=>{\n const date = new $f59a6d0c6d3555a7$var$Time(value);\n /* istanbul ignore if */ if (isNaN(date)) throw new TypeError(\"Invalid Datetime\");\n else return date;\n};\n\n});\n\n\nparcelRequire.register(\"ckX77\", function(module, exports) {\n\"use strict\";\nmodule.exports = $8fb535137a00e031$var$prettyError;\nfunction $8fb535137a00e031$var$prettyError(err, buf) {\n /* istanbul ignore if */ if (err.pos == null || err.line == null) return err;\n let msg = err.message;\n msg += ` at row ${err.line + 1}, col ${err.col + 1}, pos ${err.pos}:\\n`;\n /* istanbul ignore else */ if (buf && buf.split) {\n const lines = buf.split(/\\n/);\n const lineNumWidth = String(Math.min(lines.length, err.line + 3)).length;\n let linePadding = \" \";\n while(linePadding.length < lineNumWidth)linePadding += \" \";\n for(let ii = Math.max(0, err.line - 1); ii < Math.min(lines.length, err.line + 2); ++ii){\n let lineNum = String(ii + 1);\n if (lineNum.length < lineNumWidth) lineNum = \" \" + lineNum;\n if (err.line === ii) {\n msg += lineNum + \"> \" + lines[ii] + \"\\n\";\n msg += linePadding + \" \";\n for(let hh = 0; hh < err.col; ++hh)msg += \" \";\n msg += \"^\\n\";\n } else msg += lineNum + \": \" + lines[ii] + \"\\n\";\n }\n }\n err.message = msg + \"\\n\";\n return err;\n}\n\n});\n\n\nparcelRequire.register(\"leFFm\", function(module, exports) {\n\"use strict\";\nmodule.exports = $f75b39cca0bf0e48$var$parseAsync;\n\nvar $gEhiJ = parcelRequire(\"gEhiJ\");\n\nvar $ckX77 = parcelRequire(\"ckX77\");\nfunction $f75b39cca0bf0e48$var$parseAsync(str, opts) {\n if (!opts) opts = {};\n const index = 0;\n const blocksize = opts.blocksize || 40960;\n const parser = new $gEhiJ();\n return new Promise((resolve, reject)=>{\n setImmediate(parseAsyncNext, index, blocksize, resolve, reject);\n });\n function parseAsyncNext(index, blocksize, resolve, reject) {\n if (index >= str.length) try {\n return resolve(parser.finish());\n } catch (err) {\n return reject($ckX77(err, str));\n }\n try {\n parser.parse(str.slice(index, index + blocksize));\n setImmediate(parseAsyncNext, index + blocksize, blocksize, resolve, reject);\n } catch (err) {\n reject($ckX77(err, str));\n }\n }\n}\n\n});\n\nparcelRequire.register(\"bIDnv\", function(module, exports) {\n\"use strict\";\nmodule.exports = $888259724693c78d$var$parseStream;\n\n\nvar $gEhiJ = parcelRequire(\"gEhiJ\");\nfunction $888259724693c78d$var$parseStream(stm) {\n if (stm) return $888259724693c78d$var$parseReadable(stm);\n else return $888259724693c78d$var$parseTransform(stm);\n}\nfunction $888259724693c78d$var$parseReadable(stm) {\n const parser = new $gEhiJ();\n stm.setEncoding(\"utf8\");\n return new Promise((resolve, reject)=>{\n let readable;\n let ended = false;\n let errored = false;\n function finish() {\n ended = true;\n if (readable) return;\n try {\n resolve(parser.finish());\n } catch (err) {\n reject(err);\n }\n }\n function error(err) {\n errored = true;\n reject(err);\n }\n stm.once(\"end\", finish);\n stm.once(\"error\", error);\n readNext();\n function readNext() {\n readable = true;\n let data;\n while((data = stm.read()) !== null)try {\n parser.parse(data);\n } catch (err) {\n return error(err);\n }\n readable = false;\n /* istanbul ignore if */ if (ended) return finish();\n /* istanbul ignore if */ if (errored) return;\n stm.once(\"readable\", readNext);\n }\n });\n}\nfunction $888259724693c78d$var$parseTransform() {\n const parser = new $gEhiJ();\n return new $k14yv$stream.Transform({\n objectMode: true,\n transform (chunk, encoding, cb) {\n try {\n parser.parse(chunk.toString(encoding));\n } catch (err) {\n this.emit(\"error\", err);\n }\n cb();\n },\n flush (cb) {\n try {\n this.push(parser.finish());\n } catch (err) {\n this.emit(\"error\", err);\n }\n cb();\n }\n });\n}\n\n});\n\n\nparcelRequire.register(\"5e4iL\", function(module, exports) {\n\"use strict\";\nmodule.exports = $3ce198c99da0f55f$var$stringify;\nmodule.exports.value = $3ce198c99da0f55f$var$stringifyInline;\nfunction $3ce198c99da0f55f$var$stringify(obj) {\n if (obj === null) throw $3ce198c99da0f55f$var$typeError(\"null\");\n if (obj === void 0) throw $3ce198c99da0f55f$var$typeError(\"undefined\");\n if (typeof obj !== \"object\") throw $3ce198c99da0f55f$var$typeError(typeof obj);\n if (typeof obj.toJSON === \"function\") obj = obj.toJSON();\n if (obj == null) return null;\n const type = $3ce198c99da0f55f$var$tomlType(obj);\n if (type !== \"table\") throw $3ce198c99da0f55f$var$typeError(type);\n return $3ce198c99da0f55f$var$stringifyObject(\"\", \"\", obj);\n}\nfunction $3ce198c99da0f55f$var$typeError(type) {\n return new Error(\"Can only stringify objects, not \" + type);\n}\nfunction $3ce198c99da0f55f$var$arrayOneTypeError() {\n return new Error(\"Array values can't have mixed types\");\n}\nfunction $3ce198c99da0f55f$var$getInlineKeys(obj) {\n return Object.keys(obj).filter((key)=>$3ce198c99da0f55f$var$isInline(obj[key]));\n}\nfunction $3ce198c99da0f55f$var$getComplexKeys(obj) {\n return Object.keys(obj).filter((key)=>!$3ce198c99da0f55f$var$isInline(obj[key]));\n}\nfunction $3ce198c99da0f55f$var$toJSON(obj) {\n let nobj = Array.isArray(obj) ? [] : Object.prototype.hasOwnProperty.call(obj, \"__proto__\") ? {\n [\"__proto__\"]: undefined\n } : {};\n for (let prop of Object.keys(obj))if (obj[prop] && typeof obj[prop].toJSON === \"function\" && !(\"toISOString\" in obj[prop])) nobj[prop] = obj[prop].toJSON();\n else nobj[prop] = obj[prop];\n return nobj;\n}\nfunction $3ce198c99da0f55f$var$stringifyObject(prefix, indent, obj) {\n obj = $3ce198c99da0f55f$var$toJSON(obj);\n var inlineKeys;\n var complexKeys;\n inlineKeys = $3ce198c99da0f55f$var$getInlineKeys(obj);\n complexKeys = $3ce198c99da0f55f$var$getComplexKeys(obj);\n var result = [];\n var inlineIndent = indent || \"\";\n inlineKeys.forEach((key)=>{\n var type = $3ce198c99da0f55f$var$tomlType(obj[key]);\n if (type !== \"undefined\" && type !== \"null\") result.push(inlineIndent + $3ce198c99da0f55f$var$stringifyKey(key) + \" = \" + $3ce198c99da0f55f$var$stringifyAnyInline(obj[key], true));\n });\n if (result.length > 0) result.push(\"\");\n var complexIndent = prefix && inlineKeys.length > 0 ? indent + \" \" : \"\";\n complexKeys.forEach((key)=>{\n result.push($3ce198c99da0f55f$var$stringifyComplex(prefix, complexIndent, key, obj[key]));\n });\n return result.join(\"\\n\");\n}\nfunction $3ce198c99da0f55f$var$isInline(value) {\n switch($3ce198c99da0f55f$var$tomlType(value)){\n case \"undefined\":\n case \"null\":\n case \"integer\":\n case \"nan\":\n case \"float\":\n case \"boolean\":\n case \"string\":\n case \"datetime\":\n return true;\n case \"array\":\n return value.length === 0 || $3ce198c99da0f55f$var$tomlType(value[0]) !== \"table\";\n case \"table\":\n return Object.keys(value).length === 0;\n /* istanbul ignore next */ default:\n return false;\n }\n}\nfunction $3ce198c99da0f55f$var$tomlType(value) {\n if (value === undefined) return \"undefined\";\n else if (value === null) return \"null\";\n else if (typeof value === \"bigint\" || Number.isInteger(value) && !Object.is(value, -0)) return \"integer\";\n else if (typeof value === \"number\") return \"float\";\n else if (typeof value === \"boolean\") return \"boolean\";\n else if (typeof value === \"string\") return \"string\";\n else if (\"toISOString\" in value) return isNaN(value) ? \"undefined\" : \"datetime\";\n else if (Array.isArray(value)) return \"array\";\n else return \"table\";\n}\nfunction $3ce198c99da0f55f$var$stringifyKey(key) {\n var keyStr = String(key);\n if (/^[-A-Za-z0-9_]+$/.test(keyStr)) return keyStr;\n else return $3ce198c99da0f55f$var$stringifyBasicString(keyStr);\n}\nfunction $3ce198c99da0f55f$var$stringifyBasicString(str) {\n return '\"' + $3ce198c99da0f55f$var$escapeString(str).replace(/\"/g, '\\\\\"') + '\"';\n}\nfunction $3ce198c99da0f55f$var$stringifyLiteralString(str) {\n return \"'\" + str + \"'\";\n}\nfunction $3ce198c99da0f55f$var$numpad(num, str) {\n while(str.length < num)str = \"0\" + str;\n return str;\n}\nfunction $3ce198c99da0f55f$var$escapeString(str) {\n return str.replace(/\\\\/g, \"\\\\\\\\\").replace(/[\\b]/g, \"\\\\b\").replace(/\\t/g, \"\\\\t\").replace(/\\n/g, \"\\\\n\").replace(/\\f/g, \"\\\\f\").replace(/\\r/g, \"\\\\r\")/* eslint-disable no-control-regex */ .replace(/([\\u0000-\\u001f\\u007f])/, (c)=>\"\\\\u\" + $3ce198c99da0f55f$var$numpad(4, c.codePointAt(0).toString(16)));\n/* eslint-enable no-control-regex */ }\nfunction $3ce198c99da0f55f$var$stringifyMultilineString(str) {\n let escaped = str.split(/\\n/).map((str)=>{\n return $3ce198c99da0f55f$var$escapeString(str).replace(/\"(?=\"\")/g, '\\\\\"');\n }).join(\"\\n\");\n if (escaped.slice(-1) === '\"') escaped += \"\\\\\\n\";\n return '\"\"\"\\n' + escaped + '\"\"\"';\n}\nfunction $3ce198c99da0f55f$var$stringifyAnyInline(value, multilineOk) {\n let type = $3ce198c99da0f55f$var$tomlType(value);\n if (type === \"string\") {\n if (multilineOk && /\\n/.test(value)) type = \"string-multiline\";\n else if (!/[\\b\\t\\n\\f\\r']/.test(value) && /\"/.test(value)) type = \"string-literal\";\n }\n return $3ce198c99da0f55f$var$stringifyInline(value, type);\n}\nfunction $3ce198c99da0f55f$var$stringifyInline(value, type) {\n /* istanbul ignore if */ if (!type) type = $3ce198c99da0f55f$var$tomlType(value);\n switch(type){\n case \"string-multiline\":\n return $3ce198c99da0f55f$var$stringifyMultilineString(value);\n case \"string\":\n return $3ce198c99da0f55f$var$stringifyBasicString(value);\n case \"string-literal\":\n return $3ce198c99da0f55f$var$stringifyLiteralString(value);\n case \"integer\":\n return $3ce198c99da0f55f$var$stringifyInteger(value);\n case \"float\":\n return $3ce198c99da0f55f$var$stringifyFloat(value);\n case \"boolean\":\n return $3ce198c99da0f55f$var$stringifyBoolean(value);\n case \"datetime\":\n return $3ce198c99da0f55f$var$stringifyDatetime(value);\n case \"array\":\n return $3ce198c99da0f55f$var$stringifyInlineArray(value.filter((_)=>$3ce198c99da0f55f$var$tomlType(_) !== \"null\" && $3ce198c99da0f55f$var$tomlType(_) !== \"undefined\" && $3ce198c99da0f55f$var$tomlType(_) !== \"nan\"));\n case \"table\":\n return $3ce198c99da0f55f$var$stringifyInlineTable(value);\n /* istanbul ignore next */ default:\n throw $3ce198c99da0f55f$var$typeError(type);\n }\n}\nfunction $3ce198c99da0f55f$var$stringifyInteger(value) {\n /* eslint-disable security/detect-unsafe-regex */ return String(value).replace(/\\B(?=(\\d{3})+(?!\\d))/g, \"_\");\n}\nfunction $3ce198c99da0f55f$var$stringifyFloat(value) {\n if (value === Infinity) return \"inf\";\n else if (value === -Infinity) return \"-inf\";\n else if (Object.is(value, NaN)) return \"nan\";\n else if (Object.is(value, -0)) return \"-0.0\";\n var chunks = String(value).split(\".\");\n var int = chunks[0];\n var dec = chunks[1] || 0;\n return $3ce198c99da0f55f$var$stringifyInteger(int) + \".\" + dec;\n}\nfunction $3ce198c99da0f55f$var$stringifyBoolean(value) {\n return String(value);\n}\nfunction $3ce198c99da0f55f$var$stringifyDatetime(value) {\n return value.toISOString();\n}\nfunction $3ce198c99da0f55f$var$isNumber(type) {\n return type === \"float\" || type === \"integer\";\n}\nfunction $3ce198c99da0f55f$var$arrayType(values) {\n var contentType = $3ce198c99da0f55f$var$tomlType(values[0]);\n if (values.every((_)=>$3ce198c99da0f55f$var$tomlType(_) === contentType)) return contentType;\n // mixed integer/float, emit as floats\n if (values.every((_)=>$3ce198c99da0f55f$var$isNumber($3ce198c99da0f55f$var$tomlType(_)))) return \"float\";\n return \"mixed\";\n}\nfunction $3ce198c99da0f55f$var$validateArray(values) {\n const type = $3ce198c99da0f55f$var$arrayType(values);\n if (type === \"mixed\") throw $3ce198c99da0f55f$var$arrayOneTypeError();\n return type;\n}\nfunction $3ce198c99da0f55f$var$stringifyInlineArray(values) {\n values = $3ce198c99da0f55f$var$toJSON(values);\n const type = $3ce198c99da0f55f$var$validateArray(values);\n var result = \"[\";\n var stringified = values.map((_)=>$3ce198c99da0f55f$var$stringifyInline(_, type));\n if (stringified.join(\", \").length > 60 || /\\n/.test(stringified)) result += \"\\n \" + stringified.join(\",\\n \") + \"\\n\";\n else result += \" \" + stringified.join(\", \") + (stringified.length > 0 ? \" \" : \"\");\n return result + \"]\";\n}\nfunction $3ce198c99da0f55f$var$stringifyInlineTable(value) {\n value = $3ce198c99da0f55f$var$toJSON(value);\n var result = [];\n Object.keys(value).forEach((key)=>{\n result.push($3ce198c99da0f55f$var$stringifyKey(key) + \" = \" + $3ce198c99da0f55f$var$stringifyAnyInline(value[key], false));\n });\n return \"{ \" + result.join(\", \") + (result.length > 0 ? \" \" : \"\") + \"}\";\n}\nfunction $3ce198c99da0f55f$var$stringifyComplex(prefix, indent, key, value) {\n var valueType = $3ce198c99da0f55f$var$tomlType(value);\n /* istanbul ignore else */ if (valueType === \"array\") return $3ce198c99da0f55f$var$stringifyArrayOfTables(prefix, indent, key, value);\n else if (valueType === \"table\") return $3ce198c99da0f55f$var$stringifyComplexTable(prefix, indent, key, value);\n else throw $3ce198c99da0f55f$var$typeError(valueType);\n}\nfunction $3ce198c99da0f55f$var$stringifyArrayOfTables(prefix, indent, key, values) {\n values = $3ce198c99da0f55f$var$toJSON(values);\n $3ce198c99da0f55f$var$validateArray(values);\n var firstValueType = $3ce198c99da0f55f$var$tomlType(values[0]);\n /* istanbul ignore if */ if (firstValueType !== \"table\") throw $3ce198c99da0f55f$var$typeError(firstValueType);\n var fullKey = prefix + $3ce198c99da0f55f$var$stringifyKey(key);\n var result = \"\";\n values.forEach((table)=>{\n if (result.length > 0) result += \"\\n\";\n result += indent + \"[[\" + fullKey + \"]]\\n\";\n result += $3ce198c99da0f55f$var$stringifyObject(fullKey + \".\", indent, table);\n });\n return result;\n}\nfunction $3ce198c99da0f55f$var$stringifyComplexTable(prefix, indent, key, value) {\n var fullKey = prefix + $3ce198c99da0f55f$var$stringifyKey(key);\n var result = \"\";\n if ($3ce198c99da0f55f$var$getInlineKeys(value).length > 0) result += indent + \"[\" + fullKey + \"]\\n\";\n return result + $3ce198c99da0f55f$var$stringifyObject(fullKey + \".\", indent, value);\n}\n\n});\n\n\n\nparcelRequire.register(\"e5ToQ\", function(module, exports) {\n\n$parcel$export(module.exports, \"MANIFEST_URL\", () => $6dea3f0d1e663cb9$export$f3182c5cb60bb857);\n$parcel$export(module.exports, \"findReleaseFromManifest\", () => $6dea3f0d1e663cb9$export$45bea79befbd9a23);\n$parcel$export(module.exports, \"getManifest\", () => $6dea3f0d1e663cb9$export$39e873de56f329d8);\n$parcel$export(module.exports, \"installCpythonFromRelease\", () => $6dea3f0d1e663cb9$export$e1ffa7cd53152881);\n\n\nvar $lcRzN = parcelRequire(\"lcRzN\");\n\nvar $4ai2V = parcelRequire(\"4ai2V\");\n\nvar $jlr6Q = parcelRequire(\"jlr6Q\");\n\nvar $6PFnG = parcelRequire(\"6PFnG\");\nconst $6dea3f0d1e663cb9$var$TOKEN = $lcRzN.getInput(\"token\");\nconst $6dea3f0d1e663cb9$var$AUTH = !$6dea3f0d1e663cb9$var$TOKEN ? undefined : `token ${$6dea3f0d1e663cb9$var$TOKEN}`;\nconst $6dea3f0d1e663cb9$var$MANIFEST_REPO_OWNER = \"actions\";\nconst $6dea3f0d1e663cb9$var$MANIFEST_REPO_NAME = \"python-versions\";\nconst $6dea3f0d1e663cb9$var$MANIFEST_REPO_BRANCH = \"main\";\nconst $6dea3f0d1e663cb9$export$f3182c5cb60bb857 = `https://raw.githubusercontent.com/${$6dea3f0d1e663cb9$var$MANIFEST_REPO_OWNER}/${$6dea3f0d1e663cb9$var$MANIFEST_REPO_NAME}/${$6dea3f0d1e663cb9$var$MANIFEST_REPO_BRANCH}/versions-manifest.json`;\nasync function $6dea3f0d1e663cb9$export$45bea79befbd9a23(semanticVersionSpec, architecture, manifest) {\n if (!manifest) manifest = await $6dea3f0d1e663cb9$export$39e873de56f329d8();\n const foundRelease = await $4ai2V.findFromManifest(semanticVersionSpec, false, manifest, architecture);\n return foundRelease;\n}\nfunction $6dea3f0d1e663cb9$export$39e873de56f329d8() {\n $lcRzN.debug(`Getting manifest from ${$6dea3f0d1e663cb9$var$MANIFEST_REPO_OWNER}/${$6dea3f0d1e663cb9$var$MANIFEST_REPO_NAME}@${$6dea3f0d1e663cb9$var$MANIFEST_REPO_BRANCH}`);\n return $4ai2V.getManifestFromRepo($6dea3f0d1e663cb9$var$MANIFEST_REPO_OWNER, $6dea3f0d1e663cb9$var$MANIFEST_REPO_NAME, $6dea3f0d1e663cb9$var$AUTH, $6dea3f0d1e663cb9$var$MANIFEST_REPO_BRANCH);\n}\nasync function $6dea3f0d1e663cb9$var$installPython(workingDirectory) {\n const options = {\n cwd: workingDirectory,\n env: {\n ...process.env,\n ...(0, $6PFnG.IS_LINUX) && {\n LD_LIBRARY_PATH: $k14yv$path.join(workingDirectory, \"lib\")\n }\n },\n silent: true,\n listeners: {\n stdout: (data)=>{\n $lcRzN.info(data.toString().trim());\n },\n stderr: (data)=>{\n $lcRzN.error(data.toString().trim());\n }\n }\n };\n if (0, $6PFnG.IS_WINDOWS) await $jlr6Q.exec(\"powershell\", [\n \"./setup.ps1\"\n ], options);\n else await $jlr6Q.exec(\"bash\", [\n \"./setup.sh\"\n ], options);\n}\nasync function $6dea3f0d1e663cb9$export$e1ffa7cd53152881(release) {\n const downloadUrl = release.files[0].download_url;\n $lcRzN.info(`Download from \"${downloadUrl}\"`);\n let pythonPath = \"\";\n try {\n pythonPath = await $4ai2V.downloadTool(downloadUrl, undefined, $6dea3f0d1e663cb9$var$AUTH);\n $lcRzN.info(\"Extract downloaded archive\");\n let pythonExtractedFolder;\n if (0, $6PFnG.IS_WINDOWS) pythonExtractedFolder = await $4ai2V.extractZip(pythonPath);\n else pythonExtractedFolder = await $4ai2V.extractTar(pythonPath);\n $lcRzN.info(\"Execute installation script\");\n await $6dea3f0d1e663cb9$var$installPython(pythonExtractedFolder);\n } catch (err) {\n if (err instanceof $4ai2V.HTTPError) {\n // Rate limit?\n if (err.httpStatusCode === 403 || err.httpStatusCode === 429) $lcRzN.info(`Received HTTP status code ${err.httpStatusCode}. This usually indicates the rate limit has been exceeded`);\n else $lcRzN.info(err.message);\n if (err.stack) $lcRzN.debug(err.stack);\n }\n throw err;\n }\n}\n\n});\nparcelRequire.register(\"4ai2V\", function(module, exports) {\n\nvar $30861833c64e25df$var$$parcel$__dirname = $k14yv$path.resolve(__dirname, \"../../node_modules/.pnpm/@actions+tool-cache@1.7.2/node_modules/@actions/tool-cache/lib\");\n\"use strict\";\nvar $30861833c64e25df$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $30861833c64e25df$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $30861833c64e25df$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $30861833c64e25df$var$__createBinding(result, mod, k);\n }\n $30861833c64e25df$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $30861833c64e25df$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar $30861833c64e25df$var$__importDefault = module.exports && module.exports.__importDefault || function(mod) {\n return mod && mod.__esModule ? mod : {\n \"default\": mod\n };\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.evaluateVersions = module.exports.isExplicitVersion = module.exports.findFromManifest = module.exports.getManifestFromRepo = module.exports.findAllVersions = module.exports.find = module.exports.cacheFile = module.exports.cacheDir = module.exports.extractZip = module.exports.extractXar = module.exports.extractTar = module.exports.extract7z = module.exports.downloadTool = module.exports.HTTPError = void 0;\n\nconst $30861833c64e25df$var$core = $30861833c64e25df$var$__importStar((parcelRequire(\"lcRzN\")));\n\nconst $30861833c64e25df$var$io = $30861833c64e25df$var$__importStar((parcelRequire(\"fcBgE\")));\n\nconst $30861833c64e25df$var$fs = $30861833c64e25df$var$__importStar($k14yv$fs);\n\nconst $30861833c64e25df$var$mm = $30861833c64e25df$var$__importStar((parcelRequire(\"eMKvA\")));\n\nconst $30861833c64e25df$var$os = $30861833c64e25df$var$__importStar($k14yv$os);\n\nconst $30861833c64e25df$var$path = $30861833c64e25df$var$__importStar($k14yv$path);\n\nconst $30861833c64e25df$var$httpm = $30861833c64e25df$var$__importStar((parcelRequire(\"95990\")));\n\nconst $30861833c64e25df$var$semver = $30861833c64e25df$var$__importStar((parcelRequire(\"aNgTs\")));\n\nconst $30861833c64e25df$var$stream = $30861833c64e25df$var$__importStar($k14yv$stream);\n\nconst $30861833c64e25df$var$util = $30861833c64e25df$var$__importStar($k14yv$util);\n\nconst $30861833c64e25df$var$v4_1 = $30861833c64e25df$var$__importDefault((parcelRequire(\"dGCqI\")));\n\nvar $jlr6Q = parcelRequire(\"jlr6Q\");\n\n\nvar $8RSsC = parcelRequire(\"8RSsC\");\nclass $30861833c64e25df$var$HTTPError extends Error {\n constructor(httpStatusCode){\n super(`Unexpected HTTP response: ${httpStatusCode}`);\n this.httpStatusCode = httpStatusCode;\n Object.setPrototypeOf(this, new.target.prototype);\n }\n}\nmodule.exports.HTTPError = $30861833c64e25df$var$HTTPError;\nconst $30861833c64e25df$var$IS_WINDOWS = process.platform === \"win32\";\nconst $30861833c64e25df$var$IS_MAC = process.platform === \"darwin\";\nconst $30861833c64e25df$var$userAgent = \"actions/tool-cache\";\n/**\n * Download a tool from an url and stream it into a file\n *\n * @param url url of tool to download\n * @param dest path to download tool\n * @param auth authorization header\n * @param headers other headers\n * @returns path to downloaded tool\n */ function $30861833c64e25df$var$downloadTool(url, dest, auth, headers) {\n return $30861833c64e25df$var$__awaiter(this, void 0, void 0, function*() {\n dest = dest || $30861833c64e25df$var$path.join($30861833c64e25df$var$_getTempDirectory(), $30861833c64e25df$var$v4_1.default());\n yield $30861833c64e25df$var$io.mkdirP($30861833c64e25df$var$path.dirname(dest));\n $30861833c64e25df$var$core.debug(`Downloading ${url}`);\n $30861833c64e25df$var$core.debug(`Destination ${dest}`);\n const maxAttempts = 3;\n const minSeconds = $30861833c64e25df$var$_getGlobal(\"TEST_DOWNLOAD_TOOL_RETRY_MIN_SECONDS\", 10);\n const maxSeconds = $30861833c64e25df$var$_getGlobal(\"TEST_DOWNLOAD_TOOL_RETRY_MAX_SECONDS\", 20);\n const retryHelper = new $8RSsC.RetryHelper(maxAttempts, minSeconds, maxSeconds);\n return yield retryHelper.execute(()=>$30861833c64e25df$var$__awaiter(this, void 0, void 0, function*() {\n return yield $30861833c64e25df$var$downloadToolAttempt(url, dest || \"\", auth, headers);\n }), (err)=>{\n if (err instanceof $30861833c64e25df$var$HTTPError && err.httpStatusCode) {\n // Don't retry anything less than 500, except 408 Request Timeout and 429 Too Many Requests\n if (err.httpStatusCode < 500 && err.httpStatusCode !== 408 && err.httpStatusCode !== 429) return false;\n }\n // Otherwise retry\n return true;\n });\n });\n}\nmodule.exports.downloadTool = $30861833c64e25df$var$downloadTool;\nfunction $30861833c64e25df$var$downloadToolAttempt(url, dest, auth, headers) {\n return $30861833c64e25df$var$__awaiter(this, void 0, void 0, function*() {\n if ($30861833c64e25df$var$fs.existsSync(dest)) throw new Error(`Destination file path ${dest} already exists`);\n // Get the response headers\n const http = new $30861833c64e25df$var$httpm.HttpClient($30861833c64e25df$var$userAgent, [], {\n allowRetries: false\n });\n if (auth) {\n $30861833c64e25df$var$core.debug(\"set auth\");\n if (headers === undefined) headers = {};\n headers.authorization = auth;\n }\n const response = yield http.get(url, headers);\n if (response.message.statusCode !== 200) {\n const err = new $30861833c64e25df$var$HTTPError(response.message.statusCode);\n $30861833c64e25df$var$core.debug(`Failed to download from \"${url}\". Code(${response.message.statusCode}) Message(${response.message.statusMessage})`);\n throw err;\n }\n // Download the response body\n const pipeline = $30861833c64e25df$var$util.promisify($30861833c64e25df$var$stream.pipeline);\n const responseMessageFactory = $30861833c64e25df$var$_getGlobal(\"TEST_DOWNLOAD_TOOL_RESPONSE_MESSAGE_FACTORY\", ()=>response.message);\n const readStream = responseMessageFactory();\n let succeeded = false;\n try {\n yield pipeline(readStream, $30861833c64e25df$var$fs.createWriteStream(dest));\n $30861833c64e25df$var$core.debug(\"download complete\");\n succeeded = true;\n return dest;\n } finally{\n // Error, delete dest before retry\n if (!succeeded) {\n $30861833c64e25df$var$core.debug(\"download failed\");\n try {\n yield $30861833c64e25df$var$io.rmRF(dest);\n } catch (err) {\n $30861833c64e25df$var$core.debug(`Failed to delete '${dest}'. ${err.message}`);\n }\n }\n }\n });\n}\n/**\n * Extract a .7z file\n *\n * @param file path to the .7z file\n * @param dest destination directory. Optional.\n * @param _7zPath path to 7zr.exe. Optional, for long path support. Most .7z archives do not have this\n * problem. If your .7z archive contains very long paths, you can pass the path to 7zr.exe which will\n * gracefully handle long paths. By default 7zdec.exe is used because it is a very small program and is\n * bundled with the tool lib. However it does not support long paths. 7zr.exe is the reduced command line\n * interface, it is smaller than the full command line interface, and it does support long paths. At the\n * time of this writing, it is freely available from the LZMA SDK that is available on the 7zip website.\n * Be sure to check the current license agreement. If 7zr.exe is bundled with your action, then the path\n * to 7zr.exe can be pass to this function.\n * @returns path to the destination directory\n */ function $30861833c64e25df$var$extract7z(file, dest, _7zPath) {\n return $30861833c64e25df$var$__awaiter(this, void 0, void 0, function*() {\n $k14yv$assert.ok($30861833c64e25df$var$IS_WINDOWS, \"extract7z() not supported on current OS\");\n $k14yv$assert.ok(file, 'parameter \"file\" is required');\n dest = yield $30861833c64e25df$var$_createExtractFolder(dest);\n const originalCwd = process.cwd();\n process.chdir(dest);\n if (_7zPath) try {\n const logLevel = $30861833c64e25df$var$core.isDebug() ? \"-bb1\" : \"-bb0\";\n const args = [\n \"x\",\n logLevel,\n \"-bd\",\n \"-sccUTF-8\",\n file\n ];\n const options = {\n silent: true\n };\n yield $jlr6Q.exec(`\"${_7zPath}\"`, args, options);\n } finally{\n process.chdir(originalCwd);\n }\n else {\n const escapedScript = $30861833c64e25df$var$path.join($30861833c64e25df$var$$parcel$__dirname, \"..\", \"scripts\", \"Invoke-7zdec.ps1\").replace(/'/g, \"''\").replace(/\"|\\n|\\r/g, \"\"); // double-up single quotes, remove double quotes and newlines\n const escapedFile = file.replace(/'/g, \"''\").replace(/\"|\\n|\\r/g, \"\");\n const escapedTarget = dest.replace(/'/g, \"''\").replace(/\"|\\n|\\r/g, \"\");\n const command = `& '${escapedScript}' -Source '${escapedFile}' -Target '${escapedTarget}'`;\n const args = [\n \"-NoLogo\",\n \"-Sta\",\n \"-NoProfile\",\n \"-NonInteractive\",\n \"-ExecutionPolicy\",\n \"Unrestricted\",\n \"-Command\",\n command\n ];\n const options = {\n silent: true\n };\n try {\n const powershellPath = yield $30861833c64e25df$var$io.which(\"powershell\", true);\n yield $jlr6Q.exec(`\"${powershellPath}\"`, args, options);\n } finally{\n process.chdir(originalCwd);\n }\n }\n return dest;\n });\n}\nmodule.exports.extract7z = $30861833c64e25df$var$extract7z;\n/**\n * Extract a compressed tar archive\n *\n * @param file path to the tar\n * @param dest destination directory. Optional.\n * @param flags flags for the tar command to use for extraction. Defaults to 'xz' (extracting gzipped tars). Optional.\n * @returns path to the destination directory\n */ function $30861833c64e25df$var$extractTar(file, dest, flags = \"xz\") {\n return $30861833c64e25df$var$__awaiter(this, void 0, void 0, function*() {\n if (!file) throw new Error(\"parameter 'file' is required\");\n // Create dest\n dest = yield $30861833c64e25df$var$_createExtractFolder(dest);\n // Determine whether GNU tar\n $30861833c64e25df$var$core.debug(\"Checking tar --version\");\n let versionOutput = \"\";\n yield $jlr6Q.exec(\"tar --version\", [], {\n ignoreReturnCode: true,\n silent: true,\n listeners: {\n stdout: (data)=>versionOutput += data.toString(),\n stderr: (data)=>versionOutput += data.toString()\n }\n });\n $30861833c64e25df$var$core.debug(versionOutput.trim());\n const isGnuTar = versionOutput.toUpperCase().includes(\"GNU TAR\");\n // Initialize args\n let args;\n if (flags instanceof Array) args = flags;\n else args = [\n flags\n ];\n if ($30861833c64e25df$var$core.isDebug() && !flags.includes(\"v\")) args.push(\"-v\");\n let destArg = dest;\n let fileArg = file;\n if ($30861833c64e25df$var$IS_WINDOWS && isGnuTar) {\n args.push(\"--force-local\");\n destArg = dest.replace(/\\\\/g, \"/\");\n // Technically only the dest needs to have `/` but for aesthetic consistency\n // convert slashes in the file arg too.\n fileArg = file.replace(/\\\\/g, \"/\");\n }\n if (isGnuTar) {\n // Suppress warnings when using GNU tar to extract archives created by BSD tar\n args.push(\"--warning=no-unknown-keyword\");\n args.push(\"--overwrite\");\n }\n args.push(\"-C\", destArg, \"-f\", fileArg);\n yield $jlr6Q.exec(`tar`, args);\n return dest;\n });\n}\nmodule.exports.extractTar = $30861833c64e25df$var$extractTar;\n/**\n * Extract a xar compatible archive\n *\n * @param file path to the archive\n * @param dest destination directory. Optional.\n * @param flags flags for the xar. Optional.\n * @returns path to the destination directory\n */ function $30861833c64e25df$var$extractXar(file, dest, flags = []) {\n return $30861833c64e25df$var$__awaiter(this, void 0, void 0, function*() {\n $k14yv$assert.ok($30861833c64e25df$var$IS_MAC, \"extractXar() not supported on current OS\");\n $k14yv$assert.ok(file, 'parameter \"file\" is required');\n dest = yield $30861833c64e25df$var$_createExtractFolder(dest);\n let args;\n if (flags instanceof Array) args = flags;\n else args = [\n flags\n ];\n args.push(\"-x\", \"-C\", dest, \"-f\", file);\n if ($30861833c64e25df$var$core.isDebug()) args.push(\"-v\");\n const xarPath = yield $30861833c64e25df$var$io.which(\"xar\", true);\n yield $jlr6Q.exec(`\"${xarPath}\"`, $30861833c64e25df$var$_unique(args));\n return dest;\n });\n}\nmodule.exports.extractXar = $30861833c64e25df$var$extractXar;\n/**\n * Extract a zip\n *\n * @param file path to the zip\n * @param dest destination directory. Optional.\n * @returns path to the destination directory\n */ function $30861833c64e25df$var$extractZip(file, dest) {\n return $30861833c64e25df$var$__awaiter(this, void 0, void 0, function*() {\n if (!file) throw new Error(\"parameter 'file' is required\");\n dest = yield $30861833c64e25df$var$_createExtractFolder(dest);\n if ($30861833c64e25df$var$IS_WINDOWS) yield $30861833c64e25df$var$extractZipWin(file, dest);\n else yield $30861833c64e25df$var$extractZipNix(file, dest);\n return dest;\n });\n}\nmodule.exports.extractZip = $30861833c64e25df$var$extractZip;\nfunction $30861833c64e25df$var$extractZipWin(file, dest) {\n return $30861833c64e25df$var$__awaiter(this, void 0, void 0, function*() {\n // build the powershell command\n const escapedFile = file.replace(/'/g, \"''\").replace(/\"|\\n|\\r/g, \"\"); // double-up single quotes, remove double quotes and newlines\n const escapedDest = dest.replace(/'/g, \"''\").replace(/\"|\\n|\\r/g, \"\");\n const pwshPath = yield $30861833c64e25df$var$io.which(\"pwsh\", false);\n //To match the file overwrite behavior on nix systems, we use the overwrite = true flag for ExtractToDirectory\n //and the -Force flag for Expand-Archive as a fallback\n if (pwshPath) {\n //attempt to use pwsh with ExtractToDirectory, if this fails attempt Expand-Archive\n const pwshCommand = [\n `$ErrorActionPreference = 'Stop' ;`,\n `try { Add-Type -AssemblyName System.IO.Compression.ZipFile } catch { } ;`,\n `try { [System.IO.Compression.ZipFile]::ExtractToDirectory('${escapedFile}', '${escapedDest}', $true) }`,\n `catch { if (($_.Exception.GetType().FullName -eq 'System.Management.Automation.MethodException') -or ($_.Exception.GetType().FullName -eq 'System.Management.Automation.RuntimeException') ){ Expand-Archive -LiteralPath '${escapedFile}' -DestinationPath '${escapedDest}' -Force } else { throw $_ } } ;`\n ].join(\" \");\n const args = [\n \"-NoLogo\",\n \"-NoProfile\",\n \"-NonInteractive\",\n \"-ExecutionPolicy\",\n \"Unrestricted\",\n \"-Command\",\n pwshCommand\n ];\n $30861833c64e25df$var$core.debug(`Using pwsh at path: ${pwshPath}`);\n yield $jlr6Q.exec(`\"${pwshPath}\"`, args);\n } else {\n const powershellCommand = [\n `$ErrorActionPreference = 'Stop' ;`,\n `try { Add-Type -AssemblyName System.IO.Compression.FileSystem } catch { } ;`,\n `if ((Get-Command -Name Expand-Archive -Module Microsoft.PowerShell.Archive -ErrorAction Ignore)) { Expand-Archive -LiteralPath '${escapedFile}' -DestinationPath '${escapedDest}' -Force }`,\n `else {[System.IO.Compression.ZipFile]::ExtractToDirectory('${escapedFile}', '${escapedDest}', $true) }`\n ].join(\" \");\n const args = [\n \"-NoLogo\",\n \"-Sta\",\n \"-NoProfile\",\n \"-NonInteractive\",\n \"-ExecutionPolicy\",\n \"Unrestricted\",\n \"-Command\",\n powershellCommand\n ];\n const powershellPath = yield $30861833c64e25df$var$io.which(\"powershell\", true);\n $30861833c64e25df$var$core.debug(`Using powershell at path: ${powershellPath}`);\n yield $jlr6Q.exec(`\"${powershellPath}\"`, args);\n }\n });\n}\nfunction $30861833c64e25df$var$extractZipNix(file, dest) {\n return $30861833c64e25df$var$__awaiter(this, void 0, void 0, function*() {\n const unzipPath = yield $30861833c64e25df$var$io.which(\"unzip\", true);\n const args = [\n file\n ];\n if (!$30861833c64e25df$var$core.isDebug()) args.unshift(\"-q\");\n args.unshift(\"-o\"); //overwrite with -o, otherwise a prompt is shown which freezes the run\n yield $jlr6Q.exec(`\"${unzipPath}\"`, args, {\n cwd: dest\n });\n });\n}\n/**\n * Caches a directory and installs it into the tool cacheDir\n *\n * @param sourceDir the directory to cache into tools\n * @param tool tool name\n * @param version version of the tool. semver format\n * @param arch architecture of the tool. Optional. Defaults to machine architecture\n */ function $30861833c64e25df$var$cacheDir(sourceDir, tool, version, arch) {\n return $30861833c64e25df$var$__awaiter(this, void 0, void 0, function*() {\n version = $30861833c64e25df$var$semver.clean(version) || version;\n arch = arch || $30861833c64e25df$var$os.arch();\n $30861833c64e25df$var$core.debug(`Caching tool ${tool} ${version} ${arch}`);\n $30861833c64e25df$var$core.debug(`source dir: ${sourceDir}`);\n if (!$30861833c64e25df$var$fs.statSync(sourceDir).isDirectory()) throw new Error(\"sourceDir is not a directory\");\n // Create the tool dir\n const destPath = yield $30861833c64e25df$var$_createToolPath(tool, version, arch);\n // copy each child item. do not move. move can fail on Windows\n // due to anti-virus software having an open handle on a file.\n for (const itemName of $30861833c64e25df$var$fs.readdirSync(sourceDir)){\n const s = $30861833c64e25df$var$path.join(sourceDir, itemName);\n yield $30861833c64e25df$var$io.cp(s, destPath, {\n recursive: true\n });\n }\n // write .complete\n $30861833c64e25df$var$_completeToolPath(tool, version, arch);\n return destPath;\n });\n}\nmodule.exports.cacheDir = $30861833c64e25df$var$cacheDir;\n/**\n * Caches a downloaded file (GUID) and installs it\n * into the tool cache with a given targetName\n *\n * @param sourceFile the file to cache into tools. Typically a result of downloadTool which is a guid.\n * @param targetFile the name of the file name in the tools directory\n * @param tool tool name\n * @param version version of the tool. semver format\n * @param arch architecture of the tool. Optional. Defaults to machine architecture\n */ function $30861833c64e25df$var$cacheFile(sourceFile, targetFile, tool, version, arch) {\n return $30861833c64e25df$var$__awaiter(this, void 0, void 0, function*() {\n version = $30861833c64e25df$var$semver.clean(version) || version;\n arch = arch || $30861833c64e25df$var$os.arch();\n $30861833c64e25df$var$core.debug(`Caching tool ${tool} ${version} ${arch}`);\n $30861833c64e25df$var$core.debug(`source file: ${sourceFile}`);\n if (!$30861833c64e25df$var$fs.statSync(sourceFile).isFile()) throw new Error(\"sourceFile is not a file\");\n // create the tool dir\n const destFolder = yield $30861833c64e25df$var$_createToolPath(tool, version, arch);\n // copy instead of move. move can fail on Windows due to\n // anti-virus software having an open handle on a file.\n const destPath = $30861833c64e25df$var$path.join(destFolder, targetFile);\n $30861833c64e25df$var$core.debug(`destination file ${destPath}`);\n yield $30861833c64e25df$var$io.cp(sourceFile, destPath);\n // write .complete\n $30861833c64e25df$var$_completeToolPath(tool, version, arch);\n return destFolder;\n });\n}\nmodule.exports.cacheFile = $30861833c64e25df$var$cacheFile;\n/**\n * Finds the path to a tool version in the local installed tool cache\n *\n * @param toolName name of the tool\n * @param versionSpec version of the tool\n * @param arch optional arch. defaults to arch of computer\n */ function $30861833c64e25df$var$find(toolName, versionSpec, arch) {\n if (!toolName) throw new Error(\"toolName parameter is required\");\n if (!versionSpec) throw new Error(\"versionSpec parameter is required\");\n arch = arch || $30861833c64e25df$var$os.arch();\n // attempt to resolve an explicit version\n if (!$30861833c64e25df$var$isExplicitVersion(versionSpec)) {\n const localVersions = $30861833c64e25df$var$findAllVersions(toolName, arch);\n const match = $30861833c64e25df$var$evaluateVersions(localVersions, versionSpec);\n versionSpec = match;\n }\n // check for the explicit version in the cache\n let toolPath = \"\";\n if (versionSpec) {\n versionSpec = $30861833c64e25df$var$semver.clean(versionSpec) || \"\";\n const cachePath = $30861833c64e25df$var$path.join($30861833c64e25df$var$_getCacheDirectory(), toolName, versionSpec, arch);\n $30861833c64e25df$var$core.debug(`checking cache: ${cachePath}`);\n if ($30861833c64e25df$var$fs.existsSync(cachePath) && $30861833c64e25df$var$fs.existsSync(`${cachePath}.complete`)) {\n $30861833c64e25df$var$core.debug(`Found tool in cache ${toolName} ${versionSpec} ${arch}`);\n toolPath = cachePath;\n } else $30861833c64e25df$var$core.debug(\"not found\");\n }\n return toolPath;\n}\nmodule.exports.find = $30861833c64e25df$var$find;\n/**\n * Finds the paths to all versions of a tool that are installed in the local tool cache\n *\n * @param toolName name of the tool\n * @param arch optional arch. defaults to arch of computer\n */ function $30861833c64e25df$var$findAllVersions(toolName, arch) {\n const versions = [];\n arch = arch || $30861833c64e25df$var$os.arch();\n const toolPath = $30861833c64e25df$var$path.join($30861833c64e25df$var$_getCacheDirectory(), toolName);\n if ($30861833c64e25df$var$fs.existsSync(toolPath)) {\n const children = $30861833c64e25df$var$fs.readdirSync(toolPath);\n for (const child of children)if ($30861833c64e25df$var$isExplicitVersion(child)) {\n const fullPath = $30861833c64e25df$var$path.join(toolPath, child, arch || \"\");\n if ($30861833c64e25df$var$fs.existsSync(fullPath) && $30861833c64e25df$var$fs.existsSync(`${fullPath}.complete`)) versions.push(child);\n }\n }\n return versions;\n}\nmodule.exports.findAllVersions = $30861833c64e25df$var$findAllVersions;\nfunction $30861833c64e25df$var$getManifestFromRepo(owner, repo, auth, branch = \"master\") {\n return $30861833c64e25df$var$__awaiter(this, void 0, void 0, function*() {\n let releases = [];\n const treeUrl = `https://api.github.com/repos/${owner}/${repo}/git/trees/${branch}`;\n const http = new $30861833c64e25df$var$httpm.HttpClient(\"tool-cache\");\n const headers = {};\n if (auth) {\n $30861833c64e25df$var$core.debug(\"set auth\");\n headers.authorization = auth;\n }\n const response = yield http.getJson(treeUrl, headers);\n if (!response.result) return releases;\n let manifestUrl = \"\";\n for (const item of response.result.tree)if (item.path === \"versions-manifest.json\") {\n manifestUrl = item.url;\n break;\n }\n headers[\"accept\"] = \"application/vnd.github.VERSION.raw\";\n let versionsRaw = yield (yield http.get(manifestUrl, headers)).readBody();\n if (versionsRaw) {\n // shouldn't be needed but protects against invalid json saved with BOM\n versionsRaw = versionsRaw.replace(/^\\uFEFF/, \"\");\n try {\n releases = JSON.parse(versionsRaw);\n } catch (_a) {\n $30861833c64e25df$var$core.debug(\"Invalid json\");\n }\n }\n return releases;\n });\n}\nmodule.exports.getManifestFromRepo = $30861833c64e25df$var$getManifestFromRepo;\nfunction $30861833c64e25df$var$findFromManifest(versionSpec, stable, manifest, archFilter = $30861833c64e25df$var$os.arch()) {\n return $30861833c64e25df$var$__awaiter(this, void 0, void 0, function*() {\n // wrap the internal impl\n const match = yield $30861833c64e25df$var$mm._findMatch(versionSpec, stable, manifest, archFilter);\n return match;\n });\n}\nmodule.exports.findFromManifest = $30861833c64e25df$var$findFromManifest;\nfunction $30861833c64e25df$var$_createExtractFolder(dest) {\n return $30861833c64e25df$var$__awaiter(this, void 0, void 0, function*() {\n if (!dest) // create a temp dir\n dest = $30861833c64e25df$var$path.join($30861833c64e25df$var$_getTempDirectory(), $30861833c64e25df$var$v4_1.default());\n yield $30861833c64e25df$var$io.mkdirP(dest);\n return dest;\n });\n}\nfunction $30861833c64e25df$var$_createToolPath(tool, version, arch) {\n return $30861833c64e25df$var$__awaiter(this, void 0, void 0, function*() {\n const folderPath = $30861833c64e25df$var$path.join($30861833c64e25df$var$_getCacheDirectory(), tool, $30861833c64e25df$var$semver.clean(version) || version, arch || \"\");\n $30861833c64e25df$var$core.debug(`destination ${folderPath}`);\n const markerPath = `${folderPath}.complete`;\n yield $30861833c64e25df$var$io.rmRF(folderPath);\n yield $30861833c64e25df$var$io.rmRF(markerPath);\n yield $30861833c64e25df$var$io.mkdirP(folderPath);\n return folderPath;\n });\n}\nfunction $30861833c64e25df$var$_completeToolPath(tool, version, arch) {\n const folderPath = $30861833c64e25df$var$path.join($30861833c64e25df$var$_getCacheDirectory(), tool, $30861833c64e25df$var$semver.clean(version) || version, arch || \"\");\n const markerPath = `${folderPath}.complete`;\n $30861833c64e25df$var$fs.writeFileSync(markerPath, \"\");\n $30861833c64e25df$var$core.debug(\"finished caching tool\");\n}\n/**\n * Check if version string is explicit\n *\n * @param versionSpec version string to check\n */ function $30861833c64e25df$var$isExplicitVersion(versionSpec) {\n const c = $30861833c64e25df$var$semver.clean(versionSpec) || \"\";\n $30861833c64e25df$var$core.debug(`isExplicit: ${c}`);\n const valid = $30861833c64e25df$var$semver.valid(c) != null;\n $30861833c64e25df$var$core.debug(`explicit? ${valid}`);\n return valid;\n}\nmodule.exports.isExplicitVersion = $30861833c64e25df$var$isExplicitVersion;\n/**\n * Get the highest satisfiying semantic version in `versions` which satisfies `versionSpec`\n *\n * @param versions array of versions to evaluate\n * @param versionSpec semantic version spec to satisfy\n */ function $30861833c64e25df$var$evaluateVersions(versions, versionSpec) {\n let version = \"\";\n $30861833c64e25df$var$core.debug(`evaluating ${versions.length} versions`);\n versions = versions.sort((a, b)=>{\n if ($30861833c64e25df$var$semver.gt(a, b)) return 1;\n return -1;\n });\n for(let i = versions.length - 1; i >= 0; i--){\n const potential = versions[i];\n const satisfied = $30861833c64e25df$var$semver.satisfies(potential, versionSpec);\n if (satisfied) {\n version = potential;\n break;\n }\n }\n if (version) $30861833c64e25df$var$core.debug(`matched: ${version}`);\n else $30861833c64e25df$var$core.debug(\"match not found\");\n return version;\n}\nmodule.exports.evaluateVersions = $30861833c64e25df$var$evaluateVersions;\n/**\n * Gets RUNNER_TOOL_CACHE\n */ function $30861833c64e25df$var$_getCacheDirectory() {\n const cacheDirectory = process.env[\"RUNNER_TOOL_CACHE\"] || \"\";\n $k14yv$assert.ok(cacheDirectory, \"Expected RUNNER_TOOL_CACHE to be defined\");\n return cacheDirectory;\n}\n/**\n * Gets RUNNER_TEMP\n */ function $30861833c64e25df$var$_getTempDirectory() {\n const tempDirectory = process.env[\"RUNNER_TEMP\"] || \"\";\n $k14yv$assert.ok(tempDirectory, \"Expected RUNNER_TEMP to be defined\");\n return tempDirectory;\n}\n/**\n * Gets a global variable\n */ function $30861833c64e25df$var$_getGlobal(key, defaultValue) {\n /* eslint-disable @typescript-eslint/no-explicit-any */ const value = $parcel$global[key];\n /* eslint-enable @typescript-eslint/no-explicit-any */ return value !== undefined ? value : defaultValue;\n}\n/**\n * Returns an array of unique values.\n * @param values Values to make unique.\n */ function $30861833c64e25df$var$_unique(values) {\n return Array.from(new Set(values));\n}\n\n});\nparcelRequire.register(\"eMKvA\", function(module, exports) {\n\"use strict\";\nvar $ac39a00042463c3f$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $ac39a00042463c3f$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $ac39a00042463c3f$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $ac39a00042463c3f$var$__createBinding(result, mod, k);\n }\n $ac39a00042463c3f$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $ac39a00042463c3f$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports._readLinuxVersionFile = module.exports._getOsVersion = module.exports._findMatch = void 0;\n\nconst $ac39a00042463c3f$var$semver = $ac39a00042463c3f$var$__importStar((parcelRequire(\"aNgTs\")));\n\nvar $lcRzN = parcelRequire(\"lcRzN\");\n\n\n\nfunction $ac39a00042463c3f$var$_findMatch(versionSpec, stable, candidates, archFilter) {\n return $ac39a00042463c3f$var$__awaiter(this, void 0, void 0, function*() {\n const platFilter = $k14yv$os.platform();\n let result;\n let match;\n let file;\n for (const candidate of candidates){\n const version = candidate.version;\n $lcRzN.debug(`check ${version} satisfies ${versionSpec}`);\n if ($ac39a00042463c3f$var$semver.satisfies(version, versionSpec) && (!stable || candidate.stable === stable)) {\n file = candidate.files.find((item)=>{\n $lcRzN.debug(`${item.arch}===${archFilter} && ${item.platform}===${platFilter}`);\n let chk = item.arch === archFilter && item.platform === platFilter;\n if (chk && item.platform_version) {\n const osVersion = module.exports._getOsVersion();\n if (osVersion === item.platform_version) chk = true;\n else chk = $ac39a00042463c3f$var$semver.satisfies(osVersion, item.platform_version);\n }\n return chk;\n });\n if (file) {\n $lcRzN.debug(`matched ${candidate.version}`);\n match = candidate;\n break;\n }\n }\n }\n if (match && file) {\n // clone since we're mutating the file list to be only the file that matches\n result = Object.assign({}, match);\n result.files = [\n file\n ];\n }\n return result;\n });\n}\nmodule.exports._findMatch = $ac39a00042463c3f$var$_findMatch;\nfunction $ac39a00042463c3f$var$_getOsVersion() {\n // TODO: add windows and other linux, arm variants\n // right now filtering on version is only an ubuntu and macos scenario for tools we build for hosted (python)\n const plat = $k14yv$os.platform();\n let version = \"\";\n if (plat === \"darwin\") version = $k14yv$child_process.execSync(\"sw_vers -productVersion\").toString();\n else if (plat === \"linux\") {\n // lsb_release process not in some containers, readfile\n // Run cat /etc/lsb-release\n // DISTRIB_ID=Ubuntu\n // DISTRIB_RELEASE=18.04\n // DISTRIB_CODENAME=bionic\n // DISTRIB_DESCRIPTION=\"Ubuntu 18.04.4 LTS\"\n const lsbContents = module.exports._readLinuxVersionFile();\n if (lsbContents) {\n const lines = lsbContents.split(\"\\n\");\n for (const line of lines){\n const parts = line.split(\"=\");\n if (parts.length === 2 && (parts[0].trim() === \"VERSION_ID\" || parts[0].trim() === \"DISTRIB_RELEASE\")) {\n version = parts[1].trim().replace(/^\"/, \"\").replace(/\"$/, \"\");\n break;\n }\n }\n }\n }\n return version;\n}\nmodule.exports._getOsVersion = $ac39a00042463c3f$var$_getOsVersion;\nfunction $ac39a00042463c3f$var$_readLinuxVersionFile() {\n const lsbReleaseFile = \"/etc/lsb-release\";\n const osReleaseFile = \"/etc/os-release\";\n let contents = \"\";\n if ($k14yv$fs.existsSync(lsbReleaseFile)) contents = $k14yv$fs.readFileSync(lsbReleaseFile).toString();\n else if ($k14yv$fs.existsSync(osReleaseFile)) contents = $k14yv$fs.readFileSync(osReleaseFile).toString();\n return contents;\n}\nmodule.exports._readLinuxVersionFile = $ac39a00042463c3f$var$_readLinuxVersionFile;\n\n});\n\nparcelRequire.register(\"95990\", function(module, exports) {\n\"use strict\";\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\n\n\n\nvar $4TaKt = parcelRequire(\"4TaKt\");\nlet $69cbac88b5c0dafc$var$tunnel;\nvar $69cbac88b5c0dafc$var$HttpCodes;\n(function(HttpCodes) {\n HttpCodes[HttpCodes[\"OK\"] = 200] = \"OK\";\n HttpCodes[HttpCodes[\"MultipleChoices\"] = 300] = \"MultipleChoices\";\n HttpCodes[HttpCodes[\"MovedPermanently\"] = 301] = \"MovedPermanently\";\n HttpCodes[HttpCodes[\"ResourceMoved\"] = 302] = \"ResourceMoved\";\n HttpCodes[HttpCodes[\"SeeOther\"] = 303] = \"SeeOther\";\n HttpCodes[HttpCodes[\"NotModified\"] = 304] = \"NotModified\";\n HttpCodes[HttpCodes[\"UseProxy\"] = 305] = \"UseProxy\";\n HttpCodes[HttpCodes[\"SwitchProxy\"] = 306] = \"SwitchProxy\";\n HttpCodes[HttpCodes[\"TemporaryRedirect\"] = 307] = \"TemporaryRedirect\";\n HttpCodes[HttpCodes[\"PermanentRedirect\"] = 308] = \"PermanentRedirect\";\n HttpCodes[HttpCodes[\"BadRequest\"] = 400] = \"BadRequest\";\n HttpCodes[HttpCodes[\"Unauthorized\"] = 401] = \"Unauthorized\";\n HttpCodes[HttpCodes[\"PaymentRequired\"] = 402] = \"PaymentRequired\";\n HttpCodes[HttpCodes[\"Forbidden\"] = 403] = \"Forbidden\";\n HttpCodes[HttpCodes[\"NotFound\"] = 404] = \"NotFound\";\n HttpCodes[HttpCodes[\"MethodNotAllowed\"] = 405] = \"MethodNotAllowed\";\n HttpCodes[HttpCodes[\"NotAcceptable\"] = 406] = \"NotAcceptable\";\n HttpCodes[HttpCodes[\"ProxyAuthenticationRequired\"] = 407] = \"ProxyAuthenticationRequired\";\n HttpCodes[HttpCodes[\"RequestTimeout\"] = 408] = \"RequestTimeout\";\n HttpCodes[HttpCodes[\"Conflict\"] = 409] = \"Conflict\";\n HttpCodes[HttpCodes[\"Gone\"] = 410] = \"Gone\";\n HttpCodes[HttpCodes[\"TooManyRequests\"] = 429] = \"TooManyRequests\";\n HttpCodes[HttpCodes[\"InternalServerError\"] = 500] = \"InternalServerError\";\n HttpCodes[HttpCodes[\"NotImplemented\"] = 501] = \"NotImplemented\";\n HttpCodes[HttpCodes[\"BadGateway\"] = 502] = \"BadGateway\";\n HttpCodes[HttpCodes[\"ServiceUnavailable\"] = 503] = \"ServiceUnavailable\";\n HttpCodes[HttpCodes[\"GatewayTimeout\"] = 504] = \"GatewayTimeout\";\n})($69cbac88b5c0dafc$var$HttpCodes = module.exports.HttpCodes || (module.exports.HttpCodes = {}));\nvar $69cbac88b5c0dafc$var$Headers;\n(function(Headers) {\n Headers[\"Accept\"] = \"accept\";\n Headers[\"ContentType\"] = \"content-type\";\n})($69cbac88b5c0dafc$var$Headers = module.exports.Headers || (module.exports.Headers = {}));\nvar $69cbac88b5c0dafc$var$MediaTypes;\n(function(MediaTypes) {\n MediaTypes[\"ApplicationJson\"] = \"application/json\";\n})($69cbac88b5c0dafc$var$MediaTypes = module.exports.MediaTypes || (module.exports.MediaTypes = {}));\n/**\n * Returns the proxy URL, depending upon the supplied url and proxy environment variables.\n * @param serverUrl The server URL where the request will be sent. For example, https://api.github.com\n */ function $69cbac88b5c0dafc$var$getProxyUrl(serverUrl) {\n let proxyUrl = $4TaKt.getProxyUrl(new URL(serverUrl));\n return proxyUrl ? proxyUrl.href : \"\";\n}\nmodule.exports.getProxyUrl = $69cbac88b5c0dafc$var$getProxyUrl;\nconst $69cbac88b5c0dafc$var$HttpRedirectCodes = [\n $69cbac88b5c0dafc$var$HttpCodes.MovedPermanently,\n $69cbac88b5c0dafc$var$HttpCodes.ResourceMoved,\n $69cbac88b5c0dafc$var$HttpCodes.SeeOther,\n $69cbac88b5c0dafc$var$HttpCodes.TemporaryRedirect,\n $69cbac88b5c0dafc$var$HttpCodes.PermanentRedirect\n];\nconst $69cbac88b5c0dafc$var$HttpResponseRetryCodes = [\n $69cbac88b5c0dafc$var$HttpCodes.BadGateway,\n $69cbac88b5c0dafc$var$HttpCodes.ServiceUnavailable,\n $69cbac88b5c0dafc$var$HttpCodes.GatewayTimeout\n];\nconst $69cbac88b5c0dafc$var$RetryableHttpVerbs = [\n \"OPTIONS\",\n \"GET\",\n \"DELETE\",\n \"HEAD\"\n];\nconst $69cbac88b5c0dafc$var$ExponentialBackoffCeiling = 10;\nconst $69cbac88b5c0dafc$var$ExponentialBackoffTimeSlice = 5;\nclass $69cbac88b5c0dafc$var$HttpClientError extends Error {\n constructor(message, statusCode){\n super(message);\n this.name = \"HttpClientError\";\n this.statusCode = statusCode;\n Object.setPrototypeOf(this, $69cbac88b5c0dafc$var$HttpClientError.prototype);\n }\n}\nmodule.exports.HttpClientError = $69cbac88b5c0dafc$var$HttpClientError;\nclass $69cbac88b5c0dafc$var$HttpClientResponse {\n constructor(message){\n this.message = message;\n }\n readBody() {\n return new Promise(async (resolve, reject)=>{\n let output = Buffer.alloc(0);\n this.message.on(\"data\", (chunk)=>{\n output = Buffer.concat([\n output,\n chunk\n ]);\n });\n this.message.on(\"end\", ()=>{\n resolve(output.toString());\n });\n });\n }\n}\nmodule.exports.HttpClientResponse = $69cbac88b5c0dafc$var$HttpClientResponse;\nfunction $69cbac88b5c0dafc$var$isHttps(requestUrl) {\n let parsedUrl = new URL(requestUrl);\n return parsedUrl.protocol === \"https:\";\n}\nmodule.exports.isHttps = $69cbac88b5c0dafc$var$isHttps;\n\nclass $69cbac88b5c0dafc$var$HttpClient {\n constructor(userAgent, handlers, requestOptions){\n this._ignoreSslError = false;\n this._allowRedirects = true;\n this._allowRedirectDowngrade = false;\n this._maxRedirects = 50;\n this._allowRetries = false;\n this._maxRetries = 1;\n this._keepAlive = false;\n this._disposed = false;\n this.userAgent = userAgent;\n this.handlers = handlers || [];\n this.requestOptions = requestOptions;\n if (requestOptions) {\n if (requestOptions.ignoreSslError != null) this._ignoreSslError = requestOptions.ignoreSslError;\n this._socketTimeout = requestOptions.socketTimeout;\n if (requestOptions.allowRedirects != null) this._allowRedirects = requestOptions.allowRedirects;\n if (requestOptions.allowRedirectDowngrade != null) this._allowRedirectDowngrade = requestOptions.allowRedirectDowngrade;\n if (requestOptions.maxRedirects != null) this._maxRedirects = Math.max(requestOptions.maxRedirects, 0);\n if (requestOptions.keepAlive != null) this._keepAlive = requestOptions.keepAlive;\n if (requestOptions.allowRetries != null) this._allowRetries = requestOptions.allowRetries;\n if (requestOptions.maxRetries != null) this._maxRetries = requestOptions.maxRetries;\n }\n }\n options(requestUrl, additionalHeaders) {\n return this.request(\"OPTIONS\", requestUrl, null, additionalHeaders || {});\n }\n get(requestUrl, additionalHeaders) {\n return this.request(\"GET\", requestUrl, null, additionalHeaders || {});\n }\n del(requestUrl, additionalHeaders) {\n return this.request(\"DELETE\", requestUrl, null, additionalHeaders || {});\n }\n post(requestUrl, data, additionalHeaders) {\n return this.request(\"POST\", requestUrl, data, additionalHeaders || {});\n }\n patch(requestUrl, data, additionalHeaders) {\n return this.request(\"PATCH\", requestUrl, data, additionalHeaders || {});\n }\n put(requestUrl, data, additionalHeaders) {\n return this.request(\"PUT\", requestUrl, data, additionalHeaders || {});\n }\n head(requestUrl, additionalHeaders) {\n return this.request(\"HEAD\", requestUrl, null, additionalHeaders || {});\n }\n sendStream(verb, requestUrl, stream, additionalHeaders) {\n return this.request(verb, requestUrl, stream, additionalHeaders);\n }\n /**\n * Gets a typed object from an endpoint\n * Be aware that not found returns a null. Other errors (4xx, 5xx) reject the promise\n */ async getJson(requestUrl, additionalHeaders = {}) {\n additionalHeaders[$69cbac88b5c0dafc$var$Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, $69cbac88b5c0dafc$var$Headers.Accept, $69cbac88b5c0dafc$var$MediaTypes.ApplicationJson);\n let res = await this.get(requestUrl, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n }\n async postJson(requestUrl, obj, additionalHeaders = {}) {\n let data = JSON.stringify(obj, null, 2);\n additionalHeaders[$69cbac88b5c0dafc$var$Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, $69cbac88b5c0dafc$var$Headers.Accept, $69cbac88b5c0dafc$var$MediaTypes.ApplicationJson);\n additionalHeaders[$69cbac88b5c0dafc$var$Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, $69cbac88b5c0dafc$var$Headers.ContentType, $69cbac88b5c0dafc$var$MediaTypes.ApplicationJson);\n let res = await this.post(requestUrl, data, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n }\n async putJson(requestUrl, obj, additionalHeaders = {}) {\n let data = JSON.stringify(obj, null, 2);\n additionalHeaders[$69cbac88b5c0dafc$var$Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, $69cbac88b5c0dafc$var$Headers.Accept, $69cbac88b5c0dafc$var$MediaTypes.ApplicationJson);\n additionalHeaders[$69cbac88b5c0dafc$var$Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, $69cbac88b5c0dafc$var$Headers.ContentType, $69cbac88b5c0dafc$var$MediaTypes.ApplicationJson);\n let res = await this.put(requestUrl, data, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n }\n async patchJson(requestUrl, obj, additionalHeaders = {}) {\n let data = JSON.stringify(obj, null, 2);\n additionalHeaders[$69cbac88b5c0dafc$var$Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, $69cbac88b5c0dafc$var$Headers.Accept, $69cbac88b5c0dafc$var$MediaTypes.ApplicationJson);\n additionalHeaders[$69cbac88b5c0dafc$var$Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, $69cbac88b5c0dafc$var$Headers.ContentType, $69cbac88b5c0dafc$var$MediaTypes.ApplicationJson);\n let res = await this.patch(requestUrl, data, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n }\n /**\n * Makes a raw http request.\n * All other methods such as get, post, patch, and request ultimately call this.\n * Prefer get, del, post and patch\n */ async request(verb, requestUrl, data, headers) {\n if (this._disposed) throw new Error(\"Client has already been disposed.\");\n let parsedUrl = new URL(requestUrl);\n let info = this._prepareRequest(verb, parsedUrl, headers);\n // Only perform retries on reads since writes may not be idempotent.\n let maxTries = this._allowRetries && $69cbac88b5c0dafc$var$RetryableHttpVerbs.indexOf(verb) != -1 ? this._maxRetries + 1 : 1;\n let numTries = 0;\n let response;\n while(numTries < maxTries){\n response = await this.requestRaw(info, data);\n // Check if it's an authentication challenge\n if (response && response.message && response.message.statusCode === $69cbac88b5c0dafc$var$HttpCodes.Unauthorized) {\n let authenticationHandler;\n for(let i = 0; i < this.handlers.length; i++)if (this.handlers[i].canHandleAuthentication(response)) {\n authenticationHandler = this.handlers[i];\n break;\n }\n if (authenticationHandler) return authenticationHandler.handleAuthentication(this, info, data);\n else // We have received an unauthorized response but have no handlers to handle it.\n // Let the response return to the caller.\n return response;\n }\n let redirectsRemaining = this._maxRedirects;\n while($69cbac88b5c0dafc$var$HttpRedirectCodes.indexOf(response.message.statusCode) != -1 && this._allowRedirects && redirectsRemaining > 0){\n const redirectUrl = response.message.headers[\"location\"];\n if (!redirectUrl) break;\n let parsedRedirectUrl = new URL(redirectUrl);\n if (parsedUrl.protocol == \"https:\" && parsedUrl.protocol != parsedRedirectUrl.protocol && !this._allowRedirectDowngrade) throw new 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.\");\n // we need to finish reading the response before reassigning response\n // which will leak the open socket.\n await response.readBody();\n // strip authorization header if redirected to a different hostname\n if (parsedRedirectUrl.hostname !== parsedUrl.hostname) {\n for(let header in headers)// header names are case insensitive\n if (header.toLowerCase() === \"authorization\") delete headers[header];\n }\n // let's make the request with the new redirectUrl\n info = this._prepareRequest(verb, parsedRedirectUrl, headers);\n response = await this.requestRaw(info, data);\n redirectsRemaining--;\n }\n if ($69cbac88b5c0dafc$var$HttpResponseRetryCodes.indexOf(response.message.statusCode) == -1) // If not a retry code, return immediately instead of retrying\n return response;\n numTries += 1;\n if (numTries < maxTries) {\n await response.readBody();\n await this._performExponentialBackoff(numTries);\n }\n }\n return response;\n }\n /**\n * Needs to be called if keepAlive is set to true in request options.\n */ dispose() {\n if (this._agent) this._agent.destroy();\n this._disposed = true;\n }\n /**\n * Raw request.\n * @param info\n * @param data\n */ requestRaw(info, data) {\n return new Promise((resolve, reject)=>{\n let callbackForResult = function(err, res) {\n if (err) reject(err);\n resolve(res);\n };\n this.requestRawWithCallback(info, data, callbackForResult);\n });\n }\n /**\n * Raw request with callback.\n * @param info\n * @param data\n * @param onResult\n */ requestRawWithCallback(info, data, onResult) {\n let socket;\n if (typeof data === \"string\") info.options.headers[\"Content-Length\"] = Buffer.byteLength(data, \"utf8\");\n let callbackCalled = false;\n let handleResult = (err, res)=>{\n if (!callbackCalled) {\n callbackCalled = true;\n onResult(err, res);\n }\n };\n let req = info.httpModule.request(info.options, (msg)=>{\n let res = new $69cbac88b5c0dafc$var$HttpClientResponse(msg);\n handleResult(null, res);\n });\n req.on(\"socket\", (sock)=>{\n socket = sock;\n });\n // If we ever get disconnected, we want the socket to timeout eventually\n req.setTimeout(this._socketTimeout || 180000, ()=>{\n if (socket) socket.end();\n handleResult(new Error(\"Request timeout: \" + info.options.path), null);\n });\n req.on(\"error\", function(err) {\n // err has statusCode property\n // res should have headers\n handleResult(err, null);\n });\n if (data && typeof data === \"string\") req.write(data, \"utf8\");\n if (data && typeof data !== \"string\") {\n data.on(\"close\", function() {\n req.end();\n });\n data.pipe(req);\n } else req.end();\n }\n /**\n * Gets an http agent. This function is useful when you need an http agent that handles\n * routing through a proxy server - depending upon the url and proxy environment variables.\n * @param serverUrl The server URL where the request will be sent. For example, https://api.github.com\n */ getAgent(serverUrl) {\n let parsedUrl = new URL(serverUrl);\n return this._getAgent(parsedUrl);\n }\n _prepareRequest(method, requestUrl, headers) {\n const info = {};\n info.parsedUrl = requestUrl;\n const usingSsl = info.parsedUrl.protocol === \"https:\";\n info.httpModule = usingSsl ? $k14yv$https : $k14yv$http;\n const defaultPort = usingSsl ? 443 : 80;\n info.options = {};\n info.options.host = info.parsedUrl.hostname;\n info.options.port = info.parsedUrl.port ? parseInt(info.parsedUrl.port) : defaultPort;\n info.options.path = (info.parsedUrl.pathname || \"\") + (info.parsedUrl.search || \"\");\n info.options.method = method;\n info.options.headers = this._mergeHeaders(headers);\n if (this.userAgent != null) info.options.headers[\"user-agent\"] = this.userAgent;\n info.options.agent = this._getAgent(info.parsedUrl);\n // gives handlers an opportunity to participate\n if (this.handlers) this.handlers.forEach((handler)=>{\n handler.prepareRequest(info.options);\n });\n return info;\n }\n _mergeHeaders(headers) {\n const lowercaseKeys = (obj)=>Object.keys(obj).reduce((c, k)=>(c[k.toLowerCase()] = obj[k], c), {});\n if (this.requestOptions && this.requestOptions.headers) return Object.assign({}, lowercaseKeys(this.requestOptions.headers), lowercaseKeys(headers));\n return lowercaseKeys(headers || {});\n }\n _getExistingOrDefaultHeader(additionalHeaders, header, _default) {\n const lowercaseKeys = (obj)=>Object.keys(obj).reduce((c, k)=>(c[k.toLowerCase()] = obj[k], c), {});\n let clientHeader;\n if (this.requestOptions && this.requestOptions.headers) clientHeader = lowercaseKeys(this.requestOptions.headers)[header];\n return additionalHeaders[header] || clientHeader || _default;\n }\n _getAgent(parsedUrl) {\n let agent;\n let proxyUrl = $4TaKt.getProxyUrl(parsedUrl);\n let useProxy = proxyUrl && proxyUrl.hostname;\n if (this._keepAlive && useProxy) agent = this._proxyAgent;\n if (this._keepAlive && !useProxy) agent = this._agent;\n // if agent is already assigned use that agent.\n if (!!agent) return agent;\n const usingSsl = parsedUrl.protocol === \"https:\";\n let maxSockets = 100;\n if (!!this.requestOptions) maxSockets = this.requestOptions.maxSockets || $k14yv$http.globalAgent.maxSockets;\n if (useProxy) {\n // If using proxy, need tunnel\n if (!$69cbac88b5c0dafc$var$tunnel) $69cbac88b5c0dafc$var$tunnel = (parcelRequire(\"eYDoL\"));\n const agentOptions = {\n maxSockets: maxSockets,\n keepAlive: this._keepAlive,\n proxy: {\n ...(proxyUrl.username || proxyUrl.password) && {\n proxyAuth: `${proxyUrl.username}:${proxyUrl.password}`\n },\n host: proxyUrl.hostname,\n port: proxyUrl.port\n }\n };\n let tunnelAgent;\n const overHttps = proxyUrl.protocol === \"https:\";\n if (usingSsl) tunnelAgent = overHttps ? $69cbac88b5c0dafc$var$tunnel.httpsOverHttps : $69cbac88b5c0dafc$var$tunnel.httpsOverHttp;\n else tunnelAgent = overHttps ? $69cbac88b5c0dafc$var$tunnel.httpOverHttps : $69cbac88b5c0dafc$var$tunnel.httpOverHttp;\n agent = tunnelAgent(agentOptions);\n this._proxyAgent = agent;\n }\n // if reusing agent across request and tunneling agent isn't assigned create a new agent\n if (this._keepAlive && !agent) {\n const options = {\n keepAlive: this._keepAlive,\n maxSockets: maxSockets\n };\n agent = usingSsl ? new $k14yv$https.Agent(options) : new $k14yv$http.Agent(options);\n this._agent = agent;\n }\n // if not using private agent and tunnel agent isn't setup then use global agent\n if (!agent) agent = usingSsl ? $k14yv$https.globalAgent : $k14yv$http.globalAgent;\n if (usingSsl && this._ignoreSslError) // we don't want to set NODE_TLS_REJECT_UNAUTHORIZED=0 since that will affect request for entire process\n // http.RequestOptions doesn't expose a way to modify RequestOptions.agent.options\n // we have to cast it to any and change it directly\n agent.options = Object.assign(agent.options || {}, {\n rejectUnauthorized: false\n });\n return agent;\n }\n _performExponentialBackoff(retryNumber) {\n retryNumber = Math.min($69cbac88b5c0dafc$var$ExponentialBackoffCeiling, retryNumber);\n const ms = $69cbac88b5c0dafc$var$ExponentialBackoffTimeSlice * Math.pow(2, retryNumber);\n return new Promise((resolve)=>setTimeout(()=>resolve(), ms));\n }\n static dateTimeDeserializer(key, value) {\n if (typeof value === \"string\") {\n let a = new Date(value);\n if (!isNaN(a.valueOf())) return a;\n }\n return value;\n }\n async _processResponse(res, options) {\n return new Promise(async (resolve, reject)=>{\n const statusCode = res.message.statusCode;\n const response = {\n statusCode: statusCode,\n result: null,\n headers: {}\n };\n // not found leads to null obj returned\n if (statusCode == $69cbac88b5c0dafc$var$HttpCodes.NotFound) resolve(response);\n let obj;\n let contents;\n // get the result from the body\n try {\n contents = await res.readBody();\n if (contents && contents.length > 0) {\n if (options && options.deserializeDates) obj = JSON.parse(contents, $69cbac88b5c0dafc$var$HttpClient.dateTimeDeserializer);\n else obj = JSON.parse(contents);\n response.result = obj;\n }\n response.headers = res.message.headers;\n } catch (err) {\n // Invalid resource (contents not json); leaving result obj null\n }\n // note that 3xx redirects are handled by the http layer.\n if (statusCode > 299) {\n let msg;\n // if exception/error in body, attempt to get better error\n if (obj && obj.message) msg = obj.message;\n else if (contents && contents.length > 0) // it may be the case that the exception is in the body message as string\n msg = contents;\n else msg = \"Failed request: (\" + statusCode + \")\";\n let err = new $69cbac88b5c0dafc$var$HttpClientError(msg, statusCode);\n err.result = response.result;\n reject(err);\n } else resolve(response);\n });\n }\n}\nmodule.exports.HttpClient = $69cbac88b5c0dafc$var$HttpClient;\n\n});\nparcelRequire.register(\"4TaKt\", function(module, exports) {\n\"use strict\";\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nfunction $38f4a2ed383aafc3$var$getProxyUrl(reqUrl) {\n let usingSsl = reqUrl.protocol === \"https:\";\n let proxyUrl;\n if ($38f4a2ed383aafc3$var$checkBypass(reqUrl)) return proxyUrl;\n let proxyVar;\n if (usingSsl) proxyVar = process.env[\"https_proxy\"] || process.env[\"HTTPS_PROXY\"];\n else proxyVar = process.env[\"http_proxy\"] || process.env[\"HTTP_PROXY\"];\n if (proxyVar) proxyUrl = new URL(proxyVar);\n return proxyUrl;\n}\nmodule.exports.getProxyUrl = $38f4a2ed383aafc3$var$getProxyUrl;\nfunction $38f4a2ed383aafc3$var$checkBypass(reqUrl) {\n if (!reqUrl.hostname) return false;\n let noProxy = process.env[\"no_proxy\"] || process.env[\"NO_PROXY\"] || \"\";\n if (!noProxy) return false;\n // Determine the request port\n let reqPort;\n if (reqUrl.port) reqPort = Number(reqUrl.port);\n else if (reqUrl.protocol === \"http:\") reqPort = 80;\n else if (reqUrl.protocol === \"https:\") reqPort = 443;\n // Format the request hostname and hostname with port\n let upperReqHosts = [\n reqUrl.hostname.toUpperCase()\n ];\n if (typeof reqPort === \"number\") upperReqHosts.push(`${upperReqHosts[0]}:${reqPort}`);\n // Compare request host against noproxy\n for (let upperNoProxyItem of noProxy.split(\",\").map((x)=>x.trim().toUpperCase()).filter((x)=>x)){\n if (upperReqHosts.some((x)=>x === upperNoProxyItem)) return true;\n }\n return false;\n}\nmodule.exports.checkBypass = $38f4a2ed383aafc3$var$checkBypass;\n\n});\n\n\nparcelRequire.register(\"8RSsC\", function(module, exports) {\n\"use strict\";\nvar $674d84afd8e707d2$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $674d84afd8e707d2$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $674d84afd8e707d2$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $674d84afd8e707d2$var$__createBinding(result, mod, k);\n }\n $674d84afd8e707d2$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $674d84afd8e707d2$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.RetryHelper = void 0;\n\nconst $674d84afd8e707d2$var$core = $674d84afd8e707d2$var$__importStar((parcelRequire(\"lcRzN\")));\n/**\n * Internal class for retries\n */ class $674d84afd8e707d2$var$RetryHelper {\n constructor(maxAttempts, minSeconds, maxSeconds){\n if (maxAttempts < 1) throw new Error(\"max attempts should be greater than or equal to 1\");\n this.maxAttempts = maxAttempts;\n this.minSeconds = Math.floor(minSeconds);\n this.maxSeconds = Math.floor(maxSeconds);\n if (this.minSeconds > this.maxSeconds) throw new Error(\"min seconds should be less than or equal to max seconds\");\n }\n execute(action, isRetryable) {\n return $674d84afd8e707d2$var$__awaiter(this, void 0, void 0, function*() {\n let attempt = 1;\n while(attempt < this.maxAttempts){\n // Try\n try {\n return yield action();\n } catch (err) {\n if (isRetryable && !isRetryable(err)) throw err;\n $674d84afd8e707d2$var$core.info(err.message);\n }\n // Sleep\n const seconds = this.getSleepAmount();\n $674d84afd8e707d2$var$core.info(`Waiting ${seconds} seconds before trying again`);\n yield this.sleep(seconds);\n attempt++;\n }\n // Last attempt\n return yield action();\n });\n }\n getSleepAmount() {\n return Math.floor(Math.random() * (this.maxSeconds - this.minSeconds + 1)) + this.minSeconds;\n }\n sleep(seconds) {\n return $674d84afd8e707d2$var$__awaiter(this, void 0, void 0, function*() {\n return new Promise((resolve)=>setTimeout(resolve, seconds * 1000));\n });\n }\n}\nmodule.exports.RetryHelper = $674d84afd8e707d2$var$RetryHelper;\n\n});\n\n\n\n\nparcelRequire.register(\"dVzcM\", function(module, exports) {\n\n$parcel$export(module.exports, \"findPyPyVersion\", () => $45697a218b7d4ac1$export$43d689d19c89c31d);\n\n\nvar $2A3Ny = parcelRequire(\"2A3Ny\");\n\nvar $6PFnG = parcelRequire(\"6PFnG\");\n\nvar $lJEXJ = parcelRequire(\"lJEXJ\");\n\nvar $lcRzN = parcelRequire(\"lcRzN\");\n\nvar $4ai2V = parcelRequire(\"4ai2V\");\nasync function $45697a218b7d4ac1$export$43d689d19c89c31d(versionSpec, architecture, updateEnvironment, checkLatest, allowPreReleases) {\n let resolvedPyPyVersion = \"\";\n let resolvedPythonVersion = \"\";\n let installDir;\n let releases;\n const pypyVersionSpec = $45697a218b7d4ac1$export$4182d5bdd18177a7(versionSpec);\n if (checkLatest) {\n releases = await $2A3Ny.getAvailablePyPyVersions();\n if (releases && releases.length > 0) {\n const releaseData = $2A3Ny.findRelease(releases, pypyVersionSpec.pythonVersion, pypyVersionSpec.pypyVersion, architecture, false);\n if (releaseData) {\n $lcRzN.info(`Resolved as PyPy ${releaseData.resolvedPyPyVersion} with Python (${releaseData.resolvedPythonVersion})`);\n pypyVersionSpec.pythonVersion = releaseData.resolvedPythonVersion;\n pypyVersionSpec.pypyVersion = releaseData.resolvedPyPyVersion;\n } else $lcRzN.info(`Failed to resolve PyPy ${pypyVersionSpec.pypyVersion} with Python (${pypyVersionSpec.pythonVersion}) from manifest`);\n }\n }\n ({ installDir: installDir, resolvedPythonVersion: resolvedPythonVersion, resolvedPyPyVersion: resolvedPyPyVersion } = $45697a218b7d4ac1$export$bba8aabb976a1d17(pypyVersionSpec.pythonVersion, pypyVersionSpec.pypyVersion, architecture));\n if (!installDir) ({ installDir: installDir, resolvedPythonVersion: resolvedPythonVersion, resolvedPyPyVersion: resolvedPyPyVersion } = await $2A3Ny.installPyPy(pypyVersionSpec.pypyVersion, pypyVersionSpec.pythonVersion, architecture, allowPreReleases, releases));\n const pipDir = (0, $6PFnG.IS_WINDOWS) ? \"Scripts\" : \"bin\";\n const _binDir = $k14yv$path.join(installDir, pipDir);\n const binaryExtension = (0, $6PFnG.IS_WINDOWS) ? \".exe\" : \"\";\n const pythonPath = $k14yv$path.join((0, $6PFnG.IS_WINDOWS) ? installDir : _binDir, `python${binaryExtension}`);\n const pythonLocation = $2A3Ny.getPyPyBinaryPath(installDir);\n if (updateEnvironment) {\n $lcRzN.exportVariable(\"pythonLocation\", installDir);\n // https://cmake.org/cmake/help/latest/module/FindPython.html#module:FindPython\n $lcRzN.exportVariable(\"Python_ROOT_DIR\", installDir);\n // https://cmake.org/cmake/help/latest/module/FindPython2.html#module:FindPython2\n $lcRzN.exportVariable(\"Python2_ROOT_DIR\", installDir);\n // https://cmake.org/cmake/help/latest/module/FindPython3.html#module:FindPython3\n $lcRzN.exportVariable(\"Python3_ROOT_DIR\", installDir);\n $lcRzN.exportVariable(\"PKG_CONFIG_PATH\", pythonLocation + \"/lib/pkgconfig\");\n $lcRzN.addPath(pythonLocation);\n $lcRzN.addPath(_binDir);\n }\n $lcRzN.setOutput(\"python-version\", \"pypy\" + resolvedPyPyVersion);\n $lcRzN.setOutput(\"python-path\", pythonPath);\n return {\n resolvedPyPyVersion: resolvedPyPyVersion,\n resolvedPythonVersion: resolvedPythonVersion\n };\n}\nfunction $45697a218b7d4ac1$export$bba8aabb976a1d17(pythonVersion, pypyVersion, architecture) {\n let resolvedPyPyVersion = \"\";\n let resolvedPythonVersion = \"\";\n let installDir = (0, $6PFnG.IS_WINDOWS) ? $45697a218b7d4ac1$export$139298be7eb2bd(pythonVersion) : $4ai2V.find(\"PyPy\", pythonVersion, architecture);\n if (installDir) {\n // 'tc.find' finds tool based on Python version but we also need to check\n // whether PyPy version satisfies requested version.\n resolvedPythonVersion = (0, $6PFnG.getPyPyVersionFromPath)(installDir);\n resolvedPyPyVersion = (0, $6PFnG.readExactPyPyVersionFile)(installDir);\n const isPyPyVersionSatisfies = $lJEXJ.satisfies(resolvedPyPyVersion, pypyVersion);\n if (!isPyPyVersionSatisfies) {\n installDir = null;\n resolvedPyPyVersion = \"\";\n resolvedPythonVersion = \"\";\n }\n }\n if (!installDir) $lcRzN.info(`PyPy version ${pythonVersion} (${pypyVersion}) was not found in the local cache`);\n return {\n installDir: installDir,\n resolvedPythonVersion: resolvedPythonVersion,\n resolvedPyPyVersion: resolvedPyPyVersion\n };\n}\nfunction $45697a218b7d4ac1$export$4182d5bdd18177a7(versionSpec) {\n const versions = versionSpec.split(\"-\").filter((item)=>!!item);\n if (/^(pypy)(.+)/.test(versions[0])) {\n const pythonVersion = versions[0].replace(\"pypy\", \"\");\n versions.splice(0, 1, \"pypy\", pythonVersion);\n }\n if (versions.length < 2 || versions[0] != \"pypy\") throw new Error(\"Invalid 'version' property for PyPy. PyPy version should be specified as 'pypy' or 'pypy-'. See README for examples and documentation.\");\n const pythonVersion = versions[1];\n let pypyVersion;\n if (versions.length > 2) pypyVersion = $2A3Ny.pypyVersionToSemantic(versions[2]);\n else pypyVersion = \"x\";\n if (!(0, $6PFnG.validateVersion)(pythonVersion) || !(0, $6PFnG.validateVersion)(pypyVersion)) throw new Error(\"Invalid 'version' property for PyPy. Both Python version and PyPy versions should satisfy SemVer notation. See README for examples and documentation.\");\n if (!(0, $6PFnG.validatePythonVersionFormatForPyPy)(pythonVersion)) throw new Error(\"Invalid format of Python version for PyPy. Python version should be specified in format 'x.y'. See README for examples and documentation.\");\n return {\n pypyVersion: pypyVersion,\n pythonVersion: pythonVersion\n };\n}\nfunction $45697a218b7d4ac1$export$139298be7eb2bd(pythonVersion) {\n let installDir = \"\";\n (0, $6PFnG.WINDOWS_ARCHS).forEach((architecture)=>installDir = installDir || $4ai2V.find(\"PyPy\", pythonVersion, architecture));\n return installDir;\n}\n\n});\nparcelRequire.register(\"2A3Ny\", function(module, exports) {\n\n$parcel$export(module.exports, \"installPyPy\", () => $db9d457797f73a92$export$3573149ec5684a1d);\n$parcel$export(module.exports, \"getAvailablePyPyVersions\", () => $db9d457797f73a92$export$15e3ff21db62aa77);\n$parcel$export(module.exports, \"findRelease\", () => $db9d457797f73a92$export$4272161ba9d7d3dd);\n$parcel$export(module.exports, \"getPyPyBinaryPath\", () => $db9d457797f73a92$export$a053ce7a690fbb2e);\n$parcel$export(module.exports, \"pypyVersionToSemantic\", () => $db9d457797f73a92$export$4e25ef8c836002b9);\n\n\n\nvar $lcRzN = parcelRequire(\"lcRzN\");\n\nvar $4ai2V = parcelRequire(\"4ai2V\");\n\nvar $lJEXJ = parcelRequire(\"lJEXJ\");\n\nvar $95990 = parcelRequire(\"95990\");\n\nvar $jlr6Q = parcelRequire(\"jlr6Q\");\n\n\nvar $6PFnG = parcelRequire(\"6PFnG\");\nasync function $db9d457797f73a92$export$3573149ec5684a1d(pypyVersion, pythonVersion, architecture, allowPreReleases, releases) {\n let downloadDir;\n releases = releases ?? await $db9d457797f73a92$export$15e3ff21db62aa77();\n if (!releases || releases.length === 0) throw new Error(\"No release was found in PyPy version.json\");\n let releaseData = $db9d457797f73a92$export$4272161ba9d7d3dd(releases, pythonVersion, pypyVersion, architecture, false);\n if (allowPreReleases && (!releaseData || !releaseData.foundAsset)) {\n // check for pre-release\n $lcRzN.info([\n `Stable PyPy version ${pythonVersion} (${pypyVersion}) with arch ${architecture} not found`,\n `Trying pre-release versions`\n ].join($k14yv$os.EOL));\n releaseData = $db9d457797f73a92$export$4272161ba9d7d3dd(releases, pythonVersion, pypyVersion, architecture, true);\n }\n if (!releaseData || !releaseData.foundAsset) throw new Error(`PyPy version ${pythonVersion} (${pypyVersion}) with arch ${architecture} not found`);\n const { foundAsset: foundAsset, resolvedPythonVersion: resolvedPythonVersion, resolvedPyPyVersion: resolvedPyPyVersion } = releaseData;\n const downloadUrl = `${foundAsset.download_url}`;\n $lcRzN.info(`Downloading PyPy from \"${downloadUrl}\" ...`);\n try {\n const pypyPath = await $4ai2V.downloadTool(downloadUrl);\n $lcRzN.info(\"Extracting downloaded archive...\");\n if (0, $6PFnG.IS_WINDOWS) downloadDir = await $4ai2V.extractZip(pypyPath);\n else downloadDir = await $4ai2V.extractTar(pypyPath, undefined, \"x\");\n // root folder in archive can have unpredictable name so just take the first folder\n // downloadDir is unique folder under TEMP and can't contain any other folders\n const archiveName = (0, ($parcel$interopDefault($k14yv$fs))).readdirSync(downloadDir)[0];\n const toolDir = $k14yv$path.join(downloadDir, archiveName);\n let installDir = toolDir;\n if (!(0, $6PFnG.isNightlyKeyword)(resolvedPyPyVersion)) installDir = await $4ai2V.cacheDir(toolDir, \"PyPy\", resolvedPythonVersion, architecture);\n (0, $6PFnG.writeExactPyPyVersionFile)(installDir, resolvedPyPyVersion);\n const binaryPath = $db9d457797f73a92$export$a053ce7a690fbb2e(installDir);\n await $db9d457797f73a92$var$createPyPySymlink(binaryPath, resolvedPythonVersion);\n await $db9d457797f73a92$var$installPip(binaryPath);\n return {\n installDir: installDir,\n resolvedPythonVersion: resolvedPythonVersion,\n resolvedPyPyVersion: resolvedPyPyVersion\n };\n } catch (err) {\n if (err instanceof Error) {\n // Rate limit?\n if (err instanceof $4ai2V.HTTPError && (err.httpStatusCode === 403 || err.httpStatusCode === 429)) $lcRzN.info(`Received HTTP status code ${err.httpStatusCode}. This usually indicates the rate limit has been exceeded`);\n else $lcRzN.info(err.message);\n if (err.stack !== undefined) $lcRzN.debug(err.stack);\n }\n throw err;\n }\n}\nasync function $db9d457797f73a92$export$15e3ff21db62aa77() {\n const url = \"https://downloads.python.org/pypy/versions.json\";\n const http = new $95990.HttpClient(\"tool-cache\");\n const response = await http.getJson(url);\n if (!response.result) throw new Error(`Unable to retrieve the list of available PyPy versions from '${url}'`);\n return response.result;\n}\nasync function $db9d457797f73a92$var$createPyPySymlink(pypyBinaryPath, pythonVersion) {\n const version = $lJEXJ.coerce(pythonVersion);\n const pythonBinaryPostfix = $lJEXJ.major(version);\n const pythonMinor = $lJEXJ.minor(version);\n const pypyBinaryPostfix = pythonBinaryPostfix === 2 ? \"\" : \"3\";\n const pypyMajorMinorBinaryPostfix = `${pythonBinaryPostfix}.${pythonMinor}`;\n const binaryExtension = (0, $6PFnG.IS_WINDOWS) ? \".exe\" : \"\";\n $lcRzN.info(\"Creating symlinks...\");\n (0, $6PFnG.createSymlinkInFolder)(pypyBinaryPath, `pypy${pypyBinaryPostfix}${binaryExtension}`, `python${pythonBinaryPostfix}${binaryExtension}`, true);\n (0, $6PFnG.createSymlinkInFolder)(pypyBinaryPath, `pypy${pypyBinaryPostfix}${binaryExtension}`, `python${binaryExtension}`, true);\n (0, $6PFnG.createSymlinkInFolder)(pypyBinaryPath, `pypy${pypyBinaryPostfix}${binaryExtension}`, `pypy${pypyMajorMinorBinaryPostfix}${binaryExtension}`, true);\n}\nasync function $db9d457797f73a92$var$installPip(pythonLocation) {\n $lcRzN.info(\"Installing and updating pip\");\n const pythonBinary = $k14yv$path.join(pythonLocation, \"python\");\n await $jlr6Q.exec(`${pythonBinary} -m ensurepip`);\n await $jlr6Q.exec(`${pythonLocation}/python -m pip install --ignore-installed pip`);\n}\nfunction $db9d457797f73a92$export$4272161ba9d7d3dd(releases, pythonVersion, pypyVersion, architecture, includePrerelease) {\n const options = {\n includePrerelease: includePrerelease\n };\n const filterReleases = releases.filter((item)=>{\n const isPythonVersionSatisfied = $lJEXJ.satisfies($lJEXJ.coerce(item.python_version), pythonVersion);\n const isPyPyNightly = (0, $6PFnG.isNightlyKeyword)(pypyVersion) && (0, $6PFnG.isNightlyKeyword)(item.pypy_version);\n const isPyPyVersionSatisfied = isPyPyNightly || $lJEXJ.satisfies($db9d457797f73a92$export$4e25ef8c836002b9(item.pypy_version), pypyVersion, options);\n const isArchPresent = item.files && ((0, $6PFnG.IS_WINDOWS) ? $db9d457797f73a92$export$652444ba12a0c7bb(item, architecture) : $db9d457797f73a92$export$f1fafc67685dd0bf(item, architecture, process.platform));\n return isPythonVersionSatisfied && isPyPyVersionSatisfied && isArchPresent;\n });\n if (filterReleases.length === 0) return null;\n const sortedReleases = filterReleases.sort((previous, current)=>{\n return $lJEXJ.compare($lJEXJ.coerce($db9d457797f73a92$export$4e25ef8c836002b9(current.pypy_version)), $lJEXJ.coerce($db9d457797f73a92$export$4e25ef8c836002b9(previous.pypy_version))) || $lJEXJ.compare($lJEXJ.coerce(current.python_version), $lJEXJ.coerce(previous.python_version));\n });\n const foundRelease = sortedReleases[0];\n const foundAsset = (0, $6PFnG.IS_WINDOWS) ? $db9d457797f73a92$export$672a33957a3c888(foundRelease, architecture) : $db9d457797f73a92$export$7e0be3a86d27fcd9(foundRelease, architecture, process.platform);\n return {\n foundAsset: foundAsset,\n resolvedPythonVersion: foundRelease.python_version,\n resolvedPyPyVersion: foundRelease.pypy_version.trim()\n };\n}\nfunction $db9d457797f73a92$export$a053ce7a690fbb2e(installDir) {\n const _binDir = $k14yv$path.join(installDir, \"bin\");\n return (0, $6PFnG.IS_WINDOWS) ? installDir : _binDir;\n}\nfunction $db9d457797f73a92$export$4e25ef8c836002b9(versionSpec) {\n const prereleaseVersion = /(\\d+\\.\\d+\\.\\d+)((?:a|b|rc))(\\d*)/g;\n return versionSpec.replace(prereleaseVersion, \"$1-$2.$3\");\n}\nfunction $db9d457797f73a92$export$652444ba12a0c7bb(item, architecture) {\n architecture = $db9d457797f73a92$var$replaceX32toX86(architecture);\n return item.files.some((file)=>(0, $6PFnG.WINDOWS_PLATFORMS).includes(file.platform) && file.arch === architecture);\n}\nfunction $db9d457797f73a92$export$f1fafc67685dd0bf(item, architecture, platform) {\n return item.files.some((file)=>file.arch === architecture && file.platform === platform);\n}\nfunction $db9d457797f73a92$export$672a33957a3c888(releases, architecture) {\n architecture = $db9d457797f73a92$var$replaceX32toX86(architecture);\n return releases.files.find((item)=>(0, $6PFnG.WINDOWS_PLATFORMS).includes(item.platform) && item.arch === architecture);\n}\nfunction $db9d457797f73a92$export$7e0be3a86d27fcd9(releases, architecture, platform) {\n return releases.files.find((item)=>item.arch === architecture && item.platform === platform);\n}\nfunction $db9d457797f73a92$var$replaceX32toX86(architecture) {\n // convert x32 to x86 because os.arch() returns x32 for 32-bit systems but PyPy releases json has x86 arch value.\n if (architecture === \"x32\") architecture = \"x86\";\n return architecture;\n}\n\n});\n\n\n\n\n//# sourceMappingURL=actions_python.c36737fd.js.map\n","import { useCpythonVersion } from \"setup-python/src/find-python\"\nimport { findPyPyVersion } from \"setup-python/src/find-pypy\"\n\nimport { info, warning } from \"ci-log\"\nimport { debug } from \"@actions/core\"\nimport { join } from \"patha\"\nimport { GITHUB_ACTIONS } from \"ci-info\"\nimport { IS_MAC } from \"setup-python/src/utils\"\nimport { pathExists } from \"path-exists\"\n\nfunction isPyPyVersion(versionSpec: string) {\n return versionSpec.startsWith(\"pypy\")\n}\n\nconst checkLatest = false\n\nexport async function setupActionsPython(version: string, _setupDir: string, arch: string) {\n if (IS_MAC) {\n process.env.AGENT_TOOLSDIRECTORY = \"/Users/runner/hostedtoolcache\"\n }\n\n const agent_toolsdirectory = process.env.AGENT_TOOLSDIRECTORY?.trim()\n if (typeof agent_toolsdirectory === \"string\" && agent_toolsdirectory !== \"\") {\n process.env.RUNNER_TOOL_CACHE = process.env.AGENT_TOOLSDIRECTORY\n }\n\n debug(`Python is expected to be installed into ${process.env.RUNNER_TOOL_CACHE}`)\n\n if (version) {\n let pythonVersion: string\n if (isPyPyVersion(version)) {\n const installed = await findPyPyVersion(version, arch, true, checkLatest, false)\n pythonVersion = `${installed.resolvedPyPyVersion}-${installed.resolvedPythonVersion}`\n info(`Successfully set up PyPy ${installed.resolvedPyPyVersion} with Python (${installed.resolvedPythonVersion})`)\n } else {\n const installed = await useCpythonVersion(version, arch, true, checkLatest, false)\n pythonVersion = installed.version\n info(`Successfully set up ${installed.impl} (${pythonVersion})`)\n }\n\n // const cache = false\n // if (cache) {\n // const { cacheDependencies } = await import(\"setup-python/src/cache-dependencies\")\n // await cacheDependencies(\"pip\", pythonVersion)\n // }\n }\n\n if (GITHUB_ACTIONS) {\n await addPythonLoggingMatcher()\n }\n\n return undefined\n}\n\nasync function addPythonLoggingMatcher() {\n const matcherPath = join(__dirname, \"python_matcher.json\")\n if (!(await pathExists(matcherPath))) {\n return warning(\"the python_matcher.json file does not exist in the same folder as setup-cpp.js\")\n }\n info(`::add-matcher::${matcherPath}`)\n}\n","import * as os from 'os';\nimport * as path from 'path';\nimport {IS_WINDOWS, IS_LINUX, getOSInfo} from './utils';\n\nimport * as semver from 'semver';\n\nimport * as installer from './install-python';\n\nimport * as core from '@actions/core';\nimport * as tc from '@actions/tool-cache';\n\n// Python has \"scripts\" or \"bin\" directories where command-line tools that come with packages are installed.\n// This is where pip is, along with anything that pip installs.\n// There is a separate directory for `pip install --user`.\n//\n// For reference, these directories are as follows:\n// macOS / Linux:\n// /bin (by default /usr/local/bin, but not on hosted agents -- see the `else`)\n// (--user) ~/.local/bin\n// Windows:\n// \\Scripts\n// (--user) %APPDATA%\\Python\\PythonXY\\Scripts\n// See https://docs.python.org/3/library/sysconfig.html\n\nfunction binDir(installDir: string): string {\n if (IS_WINDOWS) {\n return path.join(installDir, 'Scripts');\n } else {\n return path.join(installDir, 'bin');\n }\n}\n\nexport async function useCpythonVersion(\n version: string,\n architecture: string,\n updateEnvironment: boolean,\n checkLatest: boolean,\n allowPreReleases: boolean\n): Promise {\n let manifest: tc.IToolRelease[] | null = null;\n const desugaredVersionSpec = desugarDevVersion(version);\n let semanticVersionSpec = pythonVersionToSemantic(\n desugaredVersionSpec,\n allowPreReleases\n );\n core.debug(`Semantic version spec of ${version} is ${semanticVersionSpec}`);\n\n if (checkLatest) {\n manifest = await installer.getManifest();\n const resolvedVersion = (\n await installer.findReleaseFromManifest(\n semanticVersionSpec,\n architecture,\n manifest\n )\n )?.version;\n\n if (resolvedVersion) {\n semanticVersionSpec = resolvedVersion;\n core.info(`Resolved as '${semanticVersionSpec}'`);\n } else {\n core.info(\n `Failed to resolve version ${semanticVersionSpec} from manifest`\n );\n }\n }\n\n let installDir: string | null = tc.find(\n 'Python',\n semanticVersionSpec,\n architecture\n );\n if (!installDir) {\n core.info(\n `Version ${semanticVersionSpec} was not found in the local cache`\n );\n const foundRelease = await installer.findReleaseFromManifest(\n semanticVersionSpec,\n architecture,\n manifest\n );\n\n if (foundRelease && foundRelease.files && foundRelease.files.length > 0) {\n core.info(`Version ${semanticVersionSpec} is available for downloading`);\n await installer.installCpythonFromRelease(foundRelease);\n\n installDir = tc.find('Python', semanticVersionSpec, architecture);\n }\n }\n\n if (!installDir) {\n const osInfo = await getOSInfo();\n throw new Error(\n [\n `The version '${version}' with architecture '${architecture}' was not found for ${\n osInfo\n ? `${osInfo.osName} ${osInfo.osVersion}`\n : 'this operating system'\n }.`,\n `The list of all available versions can be found here: ${installer.MANIFEST_URL}`\n ].join(os.EOL)\n );\n }\n\n const _binDir = binDir(installDir);\n const binaryExtension = IS_WINDOWS ? '.exe' : '';\n const pythonPath = path.join(\n IS_WINDOWS ? installDir : _binDir,\n `python${binaryExtension}`\n );\n if (updateEnvironment) {\n core.exportVariable('pythonLocation', installDir);\n core.exportVariable('PKG_CONFIG_PATH', installDir + '/lib/pkgconfig');\n core.exportVariable('pythonLocation', installDir);\n // https://cmake.org/cmake/help/latest/module/FindPython.html#module:FindPython\n core.exportVariable('Python_ROOT_DIR', installDir);\n // https://cmake.org/cmake/help/latest/module/FindPython2.html#module:FindPython2\n core.exportVariable('Python2_ROOT_DIR', installDir);\n // https://cmake.org/cmake/help/latest/module/FindPython3.html#module:FindPython3\n core.exportVariable('Python3_ROOT_DIR', installDir);\n core.exportVariable('PKG_CONFIG_PATH', installDir + '/lib/pkgconfig');\n\n if (IS_LINUX) {\n const libPath = process.env.LD_LIBRARY_PATH\n ? `:${process.env.LD_LIBRARY_PATH}`\n : '';\n const pyLibPath = path.join(installDir, 'lib');\n\n if (!libPath.split(':').includes(pyLibPath)) {\n core.exportVariable('LD_LIBRARY_PATH', pyLibPath + libPath);\n }\n }\n core.addPath(installDir);\n core.addPath(_binDir);\n\n if (IS_WINDOWS) {\n // Add --user directory\n // `installDir` from tool cache should look like $RUNNER_TOOL_CACHE/Python//x64/\n // So if `findLocalTool` succeeded above, we must have a conformant `installDir`\n const version = path.basename(path.dirname(installDir));\n const major = semver.major(version);\n const minor = semver.minor(version);\n\n const userScriptsDir = path.join(\n process.env['APPDATA'] || '',\n 'Python',\n `Python${major}${minor}`,\n 'Scripts'\n );\n core.addPath(userScriptsDir);\n }\n // On Linux and macOS, pip will create the --user directory and add it to PATH as needed.\n }\n\n const installed = versionFromPath(installDir);\n core.setOutput('python-version', installed);\n core.setOutput('python-path', pythonPath);\n\n return {impl: 'CPython', version: installed};\n}\n\n/** Convert versions like `3.8-dev` to a version like `~3.8.0-0`. */\nfunction desugarDevVersion(versionSpec: string) {\n const devVersion = /^(\\d+)\\.(\\d+)-dev$/;\n return versionSpec.replace(devVersion, '~$1.$2.0-0');\n}\n\n/** Extracts python version from install path from hosted tool cache as described in README.md */\nfunction versionFromPath(installDir: string) {\n const parts = installDir.split(path.sep);\n const idx = parts.findIndex(part => part === 'PyPy' || part === 'Python');\n\n return parts[idx + 1] || '';\n}\n\ninterface InstalledVersion {\n impl: string;\n version: string;\n}\n\n/**\n * Python's prelease versions look like `3.7.0b2`.\n * This is the one part of Python versioning that does not look like semantic versioning, which specifies `3.7.0-b2`.\n * If the version spec contains prerelease versions, we need to convert them to the semantic version equivalent.\n *\n * For easier use of the action, we also map 'x.y' to allow pre-release before 'x.y.0' release if allowPreReleases is true\n */\nexport function pythonVersionToSemantic(\n versionSpec: string,\n allowPreReleases: boolean\n) {\n const prereleaseVersion = /(\\d+\\.\\d+\\.\\d+)((?:a|b|rc)\\d*)/g;\n const majorMinor = /^(\\d+)\\.(\\d+)$/;\n let result = versionSpec.replace(prereleaseVersion, '$1-$2');\n if (allowPreReleases) {\n result = result.replace(majorMinor, '~$1.$2.0-0');\n }\n return result;\n}\n","/* eslint no-unsafe-finally: \"off\" */\nimport * as core from '@actions/core';\nimport fs from 'fs';\nimport * as path from 'path';\nimport * as semver from 'semver';\nimport * as toml from '@iarna/toml';\nimport * as exec from '@actions/exec';\n\nexport const IS_WINDOWS = process.platform === 'win32';\nexport const IS_LINUX = process.platform === 'linux';\nexport const IS_MAC = process.platform === 'darwin';\nexport const WINDOWS_ARCHS = ['x86', 'x64'];\nexport const WINDOWS_PLATFORMS = ['win32', 'win64'];\nconst PYPY_VERSION_FILE = 'PYPY_VERSION';\n\nexport interface IPyPyManifestAsset {\n filename: string;\n arch: string;\n platform: string;\n download_url: string;\n}\n\nexport interface IPyPyManifestRelease {\n pypy_version: string;\n python_version: string;\n stable: boolean;\n latest_pypy: boolean;\n files: IPyPyManifestAsset[];\n}\n\n/** create Symlinks for downloaded PyPy\n * It should be executed only for downloaded versions in runtime, because\n * toolcache versions have this setup.\n */\nexport function createSymlinkInFolder(\n folderPath: string,\n sourceName: string,\n targetName: string,\n setExecutable = false\n) {\n const sourcePath = path.join(folderPath, sourceName);\n const targetPath = path.join(folderPath, targetName);\n if (fs.existsSync(targetPath)) {\n return;\n }\n\n fs.symlinkSync(sourcePath, targetPath);\n if (!IS_WINDOWS && setExecutable) {\n fs.chmodSync(targetPath, '755');\n }\n}\n\nexport function validateVersion(version: string) {\n return isNightlyKeyword(version) || Boolean(semver.validRange(version));\n}\n\nexport function isNightlyKeyword(pypyVersion: string) {\n return pypyVersion === 'nightly';\n}\n\nexport function getPyPyVersionFromPath(installDir: string) {\n return path.basename(path.dirname(installDir));\n}\n\n/**\n * In tool-cache, we put PyPy to '/PyPy//x64'\n * There is no easy way to determine what PyPy version is located in specific folder\n * 'pypy --version' is not reliable enough since it is not set properly for preview versions\n * \"7.3.3rc1\" is marked as '7.3.3' in 'pypy --version'\n * so we put PYPY_VERSION file to PyPy directory when install it to VM and read it when we need to know version\n * PYPY_VERSION contains exact version from 'versions.json'\n */\nexport function readExactPyPyVersionFile(installDir: string) {\n let pypyVersion = '';\n const fileVersion = path.join(installDir, PYPY_VERSION_FILE);\n if (fs.existsSync(fileVersion)) {\n pypyVersion = fs.readFileSync(fileVersion).toString().trim();\n }\n\n return pypyVersion;\n}\n\nexport function writeExactPyPyVersionFile(\n installDir: string,\n resolvedPyPyVersion: string\n) {\n const pypyFilePath = path.join(installDir, PYPY_VERSION_FILE);\n fs.writeFileSync(pypyFilePath, resolvedPyPyVersion);\n}\n\n/**\n * Python version should be specified explicitly like \"x.y\" (2.7, 3.6, 3.7)\n * \"3.x\" or \"3\" are not supported\n * because it could cause ambiguity when both PyPy version and Python version are not precise\n */\nexport function validatePythonVersionFormatForPyPy(version: string) {\n const re = /^\\d+\\.\\d+$/;\n return re.test(version);\n}\n\nexport function logWarning(message: string): void {\n const warningPrefix = '[warning]';\n core.info(`${warningPrefix}${message}`);\n}\n\nasync function getWindowsInfo() {\n const {stdout} = await exec.getExecOutput(\n 'powershell -command \"(Get-CimInstance -ClassName Win32_OperatingSystem).Caption\"',\n undefined,\n {\n silent: true\n }\n );\n\n const windowsVersion = stdout.trim().split(' ')[3];\n\n return {osName: 'Windows', osVersion: windowsVersion};\n}\n\nasync function getMacOSInfo() {\n const {stdout} = await exec.getExecOutput('sw_vers', ['-productVersion'], {\n silent: true\n });\n\n const macOSVersion = stdout.trim();\n\n return {osName: 'macOS', osVersion: macOSVersion};\n}\n\nexport async function getLinuxInfo() {\n const {stdout} = await exec.getExecOutput('lsb_release', ['-i', '-r', '-s'], {\n silent: true\n });\n\n const [osName, osVersion] = stdout.trim().split('\\n');\n\n core.debug(`OS Name: ${osName}, Version: ${osVersion}`);\n\n return {osName: osName, osVersion: osVersion};\n}\n\nexport async function getOSInfo() {\n let osInfo;\n try {\n if (IS_WINDOWS) {\n osInfo = await getWindowsInfo();\n } else if (IS_LINUX) {\n osInfo = await getLinuxInfo();\n } else if (IS_MAC) {\n osInfo = await getMacOSInfo();\n }\n } catch (err) {\n const error = err as Error;\n core.debug(error.message);\n } finally {\n return osInfo;\n }\n}\n\n/**\n * Extract a value from an object by following the keys path provided.\n * If the value is present, it is returned. Otherwise undefined is returned.\n */\nfunction extractValue(obj: any, keys: string[]): string | undefined {\n if (keys.length > 0) {\n const value = obj[keys[0]];\n if (keys.length > 1 && value !== undefined) {\n return extractValue(value, keys.slice(1));\n } else {\n return value;\n }\n } else {\n return;\n }\n}\n\n/**\n * Python version extracted from the TOML file.\n * If the `project` key is present at the root level, the version is assumed to\n * be specified according to PEP 621 in `project.requires-python`.\n * Otherwise, if the `tool` key is present at the root level, the version is\n * assumed to be specified using poetry under `tool.poetry.dependencies.python`.\n * If none is present, returns an empty list.\n */\nexport function getVersionInputFromTomlFile(versionFile: string): string[] {\n core.debug(`Trying to resolve version form ${versionFile}`);\n\n const pyprojectFile = fs.readFileSync(versionFile, 'utf8');\n const pyprojectConfig = toml.parse(pyprojectFile);\n let keys = [];\n\n if ('project' in pyprojectConfig) {\n // standard project metadata (PEP 621)\n keys = ['project', 'requires-python'];\n } else {\n // python poetry\n keys = ['tool', 'poetry', 'dependencies', 'python'];\n }\n const versions = [];\n const version = extractValue(pyprojectConfig, keys);\n if (version !== undefined) {\n versions.push(version);\n }\n\n core.info(`Extracted ${versions} from ${versionFile}`);\n const rawVersions = Array.from(versions, version =>\n version.split(',').join(' ')\n );\n const validatedVersions = rawVersions\n .map(item => semver.validRange(item, true))\n .filter((versionRange, index) => {\n if (!versionRange) {\n core.debug(\n `The version ${rawVersions[index]} is not valid SemVer range`\n );\n }\n\n return !!versionRange;\n }) as string[];\n return validatedVersions;\n}\n\n/**\n * Python version extracted from a plain text file.\n */\nexport function getVersionInputFromPlainFile(versionFile: string): string[] {\n core.debug(`Trying to resolve version form ${versionFile}`);\n const version = fs.readFileSync(versionFile, 'utf8');\n core.info(`Resolved ${versionFile} as ${version}`);\n return [version];\n}\n\n/**\n * Python version extracted from a plain or TOML file.\n */\nexport function getVersionInputFromFile(versionFile: string): string[] {\n if (versionFile.endsWith('.toml')) {\n return getVersionInputFromTomlFile(versionFile);\n } else {\n return getVersionInputFromPlainFile(versionFile);\n }\n}\n","'use strict'\nexports.parse = require('./parse.js')\nexports.stringify = require('./stringify.js')\n","'use strict'\nmodule.exports = require('./parse-string.js')\nmodule.exports.async = require('./parse-async.js')\nmodule.exports.stream = require('./parse-stream.js')\nmodule.exports.prettyError = require('./parse-pretty-error.js')\n","'use strict'\nmodule.exports = parseString\n\nconst TOMLParser = require('./lib/toml-parser.js')\nconst prettyError = require('./parse-pretty-error.js')\n\nfunction parseString (str) {\n if (global.Buffer && global.Buffer.isBuffer(str)) {\n str = str.toString('utf8')\n }\n const parser = new TOMLParser()\n try {\n parser.parse(str)\n return parser.finish()\n } catch (err) {\n throw prettyError(err, str)\n }\n}\n","'use strict'\n/* eslint-disable no-new-wrappers, no-eval, camelcase, operator-linebreak */\nmodule.exports = makeParserClass(require('./parser.js'))\nmodule.exports.makeParserClass = makeParserClass\n\nclass TomlError extends Error {\n constructor (msg) {\n super(msg)\n this.name = 'TomlError'\n /* istanbul ignore next */\n if (Error.captureStackTrace) Error.captureStackTrace(this, TomlError)\n this.fromTOML = true\n this.wrapped = null\n }\n}\nTomlError.wrap = err => {\n const terr = new TomlError(err.message)\n terr.code = err.code\n terr.wrapped = err\n return terr\n}\nmodule.exports.TomlError = TomlError\n\nconst createDateTime = require('./create-datetime.js')\nconst createDateTimeFloat = require('./create-datetime-float.js')\nconst createDate = require('./create-date.js')\nconst createTime = require('./create-time.js')\n\nconst CTRL_I = 0x09\nconst CTRL_J = 0x0A\nconst CTRL_M = 0x0D\nconst CTRL_CHAR_BOUNDARY = 0x1F // the last non-character in the latin1 region of unicode, except DEL\nconst CHAR_SP = 0x20\nconst CHAR_QUOT = 0x22\nconst CHAR_NUM = 0x23\nconst CHAR_APOS = 0x27\nconst CHAR_PLUS = 0x2B\nconst CHAR_COMMA = 0x2C\nconst CHAR_HYPHEN = 0x2D\nconst CHAR_PERIOD = 0x2E\nconst CHAR_0 = 0x30\nconst CHAR_1 = 0x31\nconst CHAR_7 = 0x37\nconst CHAR_9 = 0x39\nconst CHAR_COLON = 0x3A\nconst CHAR_EQUALS = 0x3D\nconst CHAR_A = 0x41\nconst CHAR_E = 0x45\nconst CHAR_F = 0x46\nconst CHAR_T = 0x54\nconst CHAR_U = 0x55\nconst CHAR_Z = 0x5A\nconst CHAR_LOWBAR = 0x5F\nconst CHAR_a = 0x61\nconst CHAR_b = 0x62\nconst CHAR_e = 0x65\nconst CHAR_f = 0x66\nconst CHAR_i = 0x69\nconst CHAR_l = 0x6C\nconst CHAR_n = 0x6E\nconst CHAR_o = 0x6F\nconst CHAR_r = 0x72\nconst CHAR_s = 0x73\nconst CHAR_t = 0x74\nconst CHAR_u = 0x75\nconst CHAR_x = 0x78\nconst CHAR_z = 0x7A\nconst CHAR_LCUB = 0x7B\nconst CHAR_RCUB = 0x7D\nconst CHAR_LSQB = 0x5B\nconst CHAR_BSOL = 0x5C\nconst CHAR_RSQB = 0x5D\nconst CHAR_DEL = 0x7F\nconst SURROGATE_FIRST = 0xD800\nconst SURROGATE_LAST = 0xDFFF\n\nconst escapes = {\n [CHAR_b]: '\\u0008',\n [CHAR_t]: '\\u0009',\n [CHAR_n]: '\\u000A',\n [CHAR_f]: '\\u000C',\n [CHAR_r]: '\\u000D',\n [CHAR_QUOT]: '\\u0022',\n [CHAR_BSOL]: '\\u005C'\n}\n\nfunction isDigit (cp) {\n return cp >= CHAR_0 && cp <= CHAR_9\n}\nfunction isHexit (cp) {\n return (cp >= CHAR_A && cp <= CHAR_F) || (cp >= CHAR_a && cp <= CHAR_f) || (cp >= CHAR_0 && cp <= CHAR_9)\n}\nfunction isBit (cp) {\n return cp === CHAR_1 || cp === CHAR_0\n}\nfunction isOctit (cp) {\n return (cp >= CHAR_0 && cp <= CHAR_7)\n}\nfunction isAlphaNumQuoteHyphen (cp) {\n return (cp >= CHAR_A && cp <= CHAR_Z)\n || (cp >= CHAR_a && cp <= CHAR_z)\n || (cp >= CHAR_0 && cp <= CHAR_9)\n || cp === CHAR_APOS\n || cp === CHAR_QUOT\n || cp === CHAR_LOWBAR\n || cp === CHAR_HYPHEN\n}\nfunction isAlphaNumHyphen (cp) {\n return (cp >= CHAR_A && cp <= CHAR_Z)\n || (cp >= CHAR_a && cp <= CHAR_z)\n || (cp >= CHAR_0 && cp <= CHAR_9)\n || cp === CHAR_LOWBAR\n || cp === CHAR_HYPHEN\n}\nconst _type = Symbol('type')\nconst _declared = Symbol('declared')\n\nconst hasOwnProperty = Object.prototype.hasOwnProperty\nconst defineProperty = Object.defineProperty\nconst descriptor = {configurable: true, enumerable: true, writable: true, value: undefined}\n\nfunction hasKey (obj, key) {\n if (hasOwnProperty.call(obj, key)) return true\n if (key === '__proto__') defineProperty(obj, '__proto__', descriptor)\n return false\n}\n\nconst INLINE_TABLE = Symbol('inline-table')\nfunction InlineTable () {\n return Object.defineProperties({}, {\n [_type]: {value: INLINE_TABLE}\n })\n}\nfunction isInlineTable (obj) {\n if (obj === null || typeof (obj) !== 'object') return false\n return obj[_type] === INLINE_TABLE\n}\n\nconst TABLE = Symbol('table')\nfunction Table () {\n return Object.defineProperties({}, {\n [_type]: {value: TABLE},\n [_declared]: {value: false, writable: true}\n })\n}\nfunction isTable (obj) {\n if (obj === null || typeof (obj) !== 'object') return false\n return obj[_type] === TABLE\n}\n\nconst _contentType = Symbol('content-type')\nconst INLINE_LIST = Symbol('inline-list')\nfunction InlineList (type) {\n return Object.defineProperties([], {\n [_type]: {value: INLINE_LIST},\n [_contentType]: {value: type}\n })\n}\nfunction isInlineList (obj) {\n if (obj === null || typeof (obj) !== 'object') return false\n return obj[_type] === INLINE_LIST\n}\n\nconst LIST = Symbol('list')\nfunction List () {\n return Object.defineProperties([], {\n [_type]: {value: LIST}\n })\n}\nfunction isList (obj) {\n if (obj === null || typeof (obj) !== 'object') return false\n return obj[_type] === LIST\n}\n\n// in an eval, to let bundlers not slurp in a util proxy\nlet _custom\ntry {\n const utilInspect = eval(\"require('util').inspect\")\n _custom = utilInspect.custom\n} catch (_) {\n /* eval require not available in transpiled bundle */\n}\n/* istanbul ignore next */\nconst _inspect = _custom || 'inspect'\n\nclass BoxedBigInt {\n constructor (value) {\n try {\n this.value = global.BigInt.asIntN(64, value)\n } catch (_) {\n /* istanbul ignore next */\n this.value = null\n }\n Object.defineProperty(this, _type, {value: INTEGER})\n }\n isNaN () {\n return this.value === null\n }\n /* istanbul ignore next */\n toString () {\n return String(this.value)\n }\n /* istanbul ignore next */\n [_inspect] () {\n return `[BigInt: ${this.toString()}]}`\n }\n valueOf () {\n return this.value\n }\n}\n\nconst INTEGER = Symbol('integer')\nfunction Integer (value) {\n let num = Number(value)\n // -0 is a float thing, not an int thing\n if (Object.is(num, -0)) num = 0\n /* istanbul ignore else */\n if (global.BigInt && !Number.isSafeInteger(num)) {\n return new BoxedBigInt(value)\n } else {\n /* istanbul ignore next */\n return Object.defineProperties(new Number(num), {\n isNaN: {value: function () { return isNaN(this) }},\n [_type]: {value: INTEGER},\n [_inspect]: {value: () => `[Integer: ${value}]`}\n })\n }\n}\nfunction isInteger (obj) {\n if (obj === null || typeof (obj) !== 'object') return false\n return obj[_type] === INTEGER\n}\n\nconst FLOAT = Symbol('float')\nfunction Float (value) {\n /* istanbul ignore next */\n return Object.defineProperties(new Number(value), {\n [_type]: {value: FLOAT},\n [_inspect]: {value: () => `[Float: ${value}]`}\n })\n}\nfunction isFloat (obj) {\n if (obj === null || typeof (obj) !== 'object') return false\n return obj[_type] === FLOAT\n}\n\nfunction tomlType (value) {\n const type = typeof value\n if (type === 'object') {\n /* istanbul ignore if */\n if (value === null) return 'null'\n if (value instanceof Date) return 'datetime'\n /* istanbul ignore else */\n if (_type in value) {\n switch (value[_type]) {\n case INLINE_TABLE: return 'inline-table'\n case INLINE_LIST: return 'inline-list'\n /* istanbul ignore next */\n case TABLE: return 'table'\n /* istanbul ignore next */\n case LIST: return 'list'\n case FLOAT: return 'float'\n case INTEGER: return 'integer'\n }\n }\n }\n return type\n}\n\nfunction makeParserClass (Parser) {\n class TOMLParser extends Parser {\n constructor () {\n super()\n this.ctx = this.obj = Table()\n }\n\n /* MATCH HELPER */\n atEndOfWord () {\n return this.char === CHAR_NUM || this.char === CTRL_I || this.char === CHAR_SP || this.atEndOfLine()\n }\n atEndOfLine () {\n return this.char === Parser.END || this.char === CTRL_J || this.char === CTRL_M\n }\n\n parseStart () {\n if (this.char === Parser.END) {\n return null\n } else if (this.char === CHAR_LSQB) {\n return this.call(this.parseTableOrList)\n } else if (this.char === CHAR_NUM) {\n return this.call(this.parseComment)\n } else if (this.char === CTRL_J || this.char === CHAR_SP || this.char === CTRL_I || this.char === CTRL_M) {\n return null\n } else if (isAlphaNumQuoteHyphen(this.char)) {\n return this.callNow(this.parseAssignStatement)\n } else {\n throw this.error(new TomlError(`Unknown character \"${this.char}\"`))\n }\n }\n\n // HELPER, this strips any whitespace and comments to the end of the line\n // then RETURNS. Last state in a production.\n parseWhitespaceToEOL () {\n if (this.char === CHAR_SP || this.char === CTRL_I || this.char === CTRL_M) {\n return null\n } else if (this.char === CHAR_NUM) {\n return this.goto(this.parseComment)\n } else if (this.char === Parser.END || this.char === CTRL_J) {\n return this.return()\n } else {\n throw this.error(new TomlError('Unexpected character, expected only whitespace or comments till end of line'))\n }\n }\n\n /* ASSIGNMENT: key = value */\n parseAssignStatement () {\n return this.callNow(this.parseAssign, this.recordAssignStatement)\n }\n recordAssignStatement (kv) {\n let target = this.ctx\n let finalKey = kv.key.pop()\n for (let kw of kv.key) {\n if (hasKey(target, kw) && (!isTable(target[kw]) || target[kw][_declared])) {\n throw this.error(new TomlError(\"Can't redefine existing key\"))\n }\n target = target[kw] = target[kw] || Table()\n }\n if (hasKey(target, finalKey)) {\n throw this.error(new TomlError(\"Can't redefine existing key\"))\n }\n // unbox our numbers\n if (isInteger(kv.value) || isFloat(kv.value)) {\n target[finalKey] = kv.value.valueOf()\n } else {\n target[finalKey] = kv.value\n }\n return this.goto(this.parseWhitespaceToEOL)\n }\n\n /* ASSSIGNMENT expression, key = value possibly inside an inline table */\n parseAssign () {\n return this.callNow(this.parseKeyword, this.recordAssignKeyword)\n }\n recordAssignKeyword (key) {\n if (this.state.resultTable) {\n this.state.resultTable.push(key)\n } else {\n this.state.resultTable = [key]\n }\n return this.goto(this.parseAssignKeywordPreDot)\n }\n parseAssignKeywordPreDot () {\n if (this.char === CHAR_PERIOD) {\n return this.next(this.parseAssignKeywordPostDot)\n } else if (this.char !== CHAR_SP && this.char !== CTRL_I) {\n return this.goto(this.parseAssignEqual)\n }\n }\n parseAssignKeywordPostDot () {\n if (this.char !== CHAR_SP && this.char !== CTRL_I) {\n return this.callNow(this.parseKeyword, this.recordAssignKeyword)\n }\n }\n\n parseAssignEqual () {\n if (this.char === CHAR_EQUALS) {\n return this.next(this.parseAssignPreValue)\n } else {\n throw this.error(new TomlError('Invalid character, expected \"=\"'))\n }\n }\n parseAssignPreValue () {\n if (this.char === CHAR_SP || this.char === CTRL_I) {\n return null\n } else {\n return this.callNow(this.parseValue, this.recordAssignValue)\n }\n }\n recordAssignValue (value) {\n return this.returnNow({key: this.state.resultTable, value: value})\n }\n\n /* COMMENTS: #...eol */\n parseComment () {\n do {\n if (this.char === Parser.END || this.char === CTRL_J) {\n return this.return()\n }\n } while (this.nextChar())\n }\n\n /* TABLES AND LISTS, [foo] and [[foo]] */\n parseTableOrList () {\n if (this.char === CHAR_LSQB) {\n this.next(this.parseList)\n } else {\n return this.goto(this.parseTable)\n }\n }\n\n /* TABLE [foo.bar.baz] */\n parseTable () {\n this.ctx = this.obj\n return this.goto(this.parseTableNext)\n }\n parseTableNext () {\n if (this.char === CHAR_SP || this.char === CTRL_I) {\n return null\n } else {\n return this.callNow(this.parseKeyword, this.parseTableMore)\n }\n }\n parseTableMore (keyword) {\n if (this.char === CHAR_SP || this.char === CTRL_I) {\n return null\n } else if (this.char === CHAR_RSQB) {\n if (hasKey(this.ctx, keyword) && (!isTable(this.ctx[keyword]) || this.ctx[keyword][_declared])) {\n throw this.error(new TomlError(\"Can't redefine existing key\"))\n } else {\n this.ctx = this.ctx[keyword] = this.ctx[keyword] || Table()\n this.ctx[_declared] = true\n }\n return this.next(this.parseWhitespaceToEOL)\n } else if (this.char === CHAR_PERIOD) {\n if (!hasKey(this.ctx, keyword)) {\n this.ctx = this.ctx[keyword] = Table()\n } else if (isTable(this.ctx[keyword])) {\n this.ctx = this.ctx[keyword]\n } else if (isList(this.ctx[keyword])) {\n this.ctx = this.ctx[keyword][this.ctx[keyword].length - 1]\n } else {\n throw this.error(new TomlError(\"Can't redefine existing key\"))\n }\n return this.next(this.parseTableNext)\n } else {\n throw this.error(new TomlError('Unexpected character, expected whitespace, . or ]'))\n }\n }\n\n /* LIST [[a.b.c]] */\n parseList () {\n this.ctx = this.obj\n return this.goto(this.parseListNext)\n }\n parseListNext () {\n if (this.char === CHAR_SP || this.char === CTRL_I) {\n return null\n } else {\n return this.callNow(this.parseKeyword, this.parseListMore)\n }\n }\n parseListMore (keyword) {\n if (this.char === CHAR_SP || this.char === CTRL_I) {\n return null\n } else if (this.char === CHAR_RSQB) {\n if (!hasKey(this.ctx, keyword)) {\n this.ctx[keyword] = List()\n }\n if (isInlineList(this.ctx[keyword])) {\n throw this.error(new TomlError(\"Can't extend an inline array\"))\n } else if (isList(this.ctx[keyword])) {\n const next = Table()\n this.ctx[keyword].push(next)\n this.ctx = next\n } else {\n throw this.error(new TomlError(\"Can't redefine an existing key\"))\n }\n return this.next(this.parseListEnd)\n } else if (this.char === CHAR_PERIOD) {\n if (!hasKey(this.ctx, keyword)) {\n this.ctx = this.ctx[keyword] = Table()\n } else if (isInlineList(this.ctx[keyword])) {\n throw this.error(new TomlError(\"Can't extend an inline array\"))\n } else if (isInlineTable(this.ctx[keyword])) {\n throw this.error(new TomlError(\"Can't extend an inline table\"))\n } else if (isList(this.ctx[keyword])) {\n this.ctx = this.ctx[keyword][this.ctx[keyword].length - 1]\n } else if (isTable(this.ctx[keyword])) {\n this.ctx = this.ctx[keyword]\n } else {\n throw this.error(new TomlError(\"Can't redefine an existing key\"))\n }\n return this.next(this.parseListNext)\n } else {\n throw this.error(new TomlError('Unexpected character, expected whitespace, . or ]'))\n }\n }\n parseListEnd (keyword) {\n if (this.char === CHAR_RSQB) {\n return this.next(this.parseWhitespaceToEOL)\n } else {\n throw this.error(new TomlError('Unexpected character, expected whitespace, . or ]'))\n }\n }\n\n /* VALUE string, number, boolean, inline list, inline object */\n parseValue () {\n if (this.char === Parser.END) {\n throw this.error(new TomlError('Key without value'))\n } else if (this.char === CHAR_QUOT) {\n return this.next(this.parseDoubleString)\n } if (this.char === CHAR_APOS) {\n return this.next(this.parseSingleString)\n } else if (this.char === CHAR_HYPHEN || this.char === CHAR_PLUS) {\n return this.goto(this.parseNumberSign)\n } else if (this.char === CHAR_i) {\n return this.next(this.parseInf)\n } else if (this.char === CHAR_n) {\n return this.next(this.parseNan)\n } else if (isDigit(this.char)) {\n return this.goto(this.parseNumberOrDateTime)\n } else if (this.char === CHAR_t || this.char === CHAR_f) {\n return this.goto(this.parseBoolean)\n } else if (this.char === CHAR_LSQB) {\n return this.call(this.parseInlineList, this.recordValue)\n } else if (this.char === CHAR_LCUB) {\n return this.call(this.parseInlineTable, this.recordValue)\n } else {\n throw this.error(new TomlError('Unexpected character, expecting string, number, datetime, boolean, inline array or inline table'))\n }\n }\n recordValue (value) {\n return this.returnNow(value)\n }\n\n parseInf () {\n if (this.char === CHAR_n) {\n return this.next(this.parseInf2)\n } else {\n throw this.error(new TomlError('Unexpected character, expected \"inf\", \"+inf\" or \"-inf\"'))\n }\n }\n parseInf2 () {\n if (this.char === CHAR_f) {\n if (this.state.buf === '-') {\n return this.return(-Infinity)\n } else {\n return this.return(Infinity)\n }\n } else {\n throw this.error(new TomlError('Unexpected character, expected \"inf\", \"+inf\" or \"-inf\"'))\n }\n }\n\n parseNan () {\n if (this.char === CHAR_a) {\n return this.next(this.parseNan2)\n } else {\n throw this.error(new TomlError('Unexpected character, expected \"nan\"'))\n }\n }\n parseNan2 () {\n if (this.char === CHAR_n) {\n return this.return(NaN)\n } else {\n throw this.error(new TomlError('Unexpected character, expected \"nan\"'))\n }\n }\n\n /* KEYS, barewords or basic, literal, or dotted */\n parseKeyword () {\n if (this.char === CHAR_QUOT) {\n return this.next(this.parseBasicString)\n } else if (this.char === CHAR_APOS) {\n return this.next(this.parseLiteralString)\n } else {\n return this.goto(this.parseBareKey)\n }\n }\n\n /* KEYS: barewords */\n parseBareKey () {\n do {\n if (this.char === Parser.END) {\n throw this.error(new TomlError('Key ended without value'))\n } else if (isAlphaNumHyphen(this.char)) {\n this.consume()\n } else if (this.state.buf.length === 0) {\n throw this.error(new TomlError('Empty bare keys are not allowed'))\n } else {\n return this.returnNow()\n }\n } while (this.nextChar())\n }\n\n /* STRINGS, single quoted (literal) */\n parseSingleString () {\n if (this.char === CHAR_APOS) {\n return this.next(this.parseLiteralMultiStringMaybe)\n } else {\n return this.goto(this.parseLiteralString)\n }\n }\n parseLiteralString () {\n do {\n if (this.char === CHAR_APOS) {\n return this.return()\n } else if (this.atEndOfLine()) {\n throw this.error(new TomlError('Unterminated string'))\n } else if (this.char === CHAR_DEL || (this.char <= CTRL_CHAR_BOUNDARY && this.char !== CTRL_I)) {\n throw this.errorControlCharInString()\n } else {\n this.consume()\n }\n } while (this.nextChar())\n }\n parseLiteralMultiStringMaybe () {\n if (this.char === CHAR_APOS) {\n return this.next(this.parseLiteralMultiString)\n } else {\n return this.returnNow()\n }\n }\n parseLiteralMultiString () {\n if (this.char === CTRL_M) {\n return null\n } else if (this.char === CTRL_J) {\n return this.next(this.parseLiteralMultiStringContent)\n } else {\n return this.goto(this.parseLiteralMultiStringContent)\n }\n }\n parseLiteralMultiStringContent () {\n do {\n if (this.char === CHAR_APOS) {\n return this.next(this.parseLiteralMultiEnd)\n } else if (this.char === Parser.END) {\n throw this.error(new TomlError('Unterminated multi-line string'))\n } else if (this.char === CHAR_DEL || (this.char <= CTRL_CHAR_BOUNDARY && this.char !== CTRL_I && this.char !== CTRL_J && this.char !== CTRL_M)) {\n throw this.errorControlCharInString()\n } else {\n this.consume()\n }\n } while (this.nextChar())\n }\n parseLiteralMultiEnd () {\n if (this.char === CHAR_APOS) {\n return this.next(this.parseLiteralMultiEnd2)\n } else {\n this.state.buf += \"'\"\n return this.goto(this.parseLiteralMultiStringContent)\n }\n }\n parseLiteralMultiEnd2 () {\n if (this.char === CHAR_APOS) {\n return this.return()\n } else {\n this.state.buf += \"''\"\n return this.goto(this.parseLiteralMultiStringContent)\n }\n }\n\n /* STRINGS double quoted */\n parseDoubleString () {\n if (this.char === CHAR_QUOT) {\n return this.next(this.parseMultiStringMaybe)\n } else {\n return this.goto(this.parseBasicString)\n }\n }\n parseBasicString () {\n do {\n if (this.char === CHAR_BSOL) {\n return this.call(this.parseEscape, this.recordEscapeReplacement)\n } else if (this.char === CHAR_QUOT) {\n return this.return()\n } else if (this.atEndOfLine()) {\n throw this.error(new TomlError('Unterminated string'))\n } else if (this.char === CHAR_DEL || (this.char <= CTRL_CHAR_BOUNDARY && this.char !== CTRL_I)) {\n throw this.errorControlCharInString()\n } else {\n this.consume()\n }\n } while (this.nextChar())\n }\n recordEscapeReplacement (replacement) {\n this.state.buf += replacement\n return this.goto(this.parseBasicString)\n }\n parseMultiStringMaybe () {\n if (this.char === CHAR_QUOT) {\n return this.next(this.parseMultiString)\n } else {\n return this.returnNow()\n }\n }\n parseMultiString () {\n if (this.char === CTRL_M) {\n return null\n } else if (this.char === CTRL_J) {\n return this.next(this.parseMultiStringContent)\n } else {\n return this.goto(this.parseMultiStringContent)\n }\n }\n parseMultiStringContent () {\n do {\n if (this.char === CHAR_BSOL) {\n return this.call(this.parseMultiEscape, this.recordMultiEscapeReplacement)\n } else if (this.char === CHAR_QUOT) {\n return this.next(this.parseMultiEnd)\n } else if (this.char === Parser.END) {\n throw this.error(new TomlError('Unterminated multi-line string'))\n } else if (this.char === CHAR_DEL || (this.char <= CTRL_CHAR_BOUNDARY && this.char !== CTRL_I && this.char !== CTRL_J && this.char !== CTRL_M)) {\n throw this.errorControlCharInString()\n } else {\n this.consume()\n }\n } while (this.nextChar())\n }\n errorControlCharInString () {\n let displayCode = '\\\\u00'\n if (this.char < 16) {\n displayCode += '0'\n }\n displayCode += this.char.toString(16)\n\n return this.error(new TomlError(`Control characters (codes < 0x1f and 0x7f) are not allowed in strings, use ${displayCode} instead`))\n }\n recordMultiEscapeReplacement (replacement) {\n this.state.buf += replacement\n return this.goto(this.parseMultiStringContent)\n }\n parseMultiEnd () {\n if (this.char === CHAR_QUOT) {\n return this.next(this.parseMultiEnd2)\n } else {\n this.state.buf += '\"'\n return this.goto(this.parseMultiStringContent)\n }\n }\n parseMultiEnd2 () {\n if (this.char === CHAR_QUOT) {\n return this.return()\n } else {\n this.state.buf += '\"\"'\n return this.goto(this.parseMultiStringContent)\n }\n }\n parseMultiEscape () {\n if (this.char === CTRL_M || this.char === CTRL_J) {\n return this.next(this.parseMultiTrim)\n } else if (this.char === CHAR_SP || this.char === CTRL_I) {\n return this.next(this.parsePreMultiTrim)\n } else {\n return this.goto(this.parseEscape)\n }\n }\n parsePreMultiTrim () {\n if (this.char === CHAR_SP || this.char === CTRL_I) {\n return null\n } else if (this.char === CTRL_M || this.char === CTRL_J) {\n return this.next(this.parseMultiTrim)\n } else {\n throw this.error(new TomlError(\"Can't escape whitespace\"))\n }\n }\n parseMultiTrim () {\n // explicitly whitespace here, END should follow the same path as chars\n if (this.char === CTRL_J || this.char === CHAR_SP || this.char === CTRL_I || this.char === CTRL_M) {\n return null\n } else {\n return this.returnNow()\n }\n }\n parseEscape () {\n if (this.char in escapes) {\n return this.return(escapes[this.char])\n } else if (this.char === CHAR_u) {\n return this.call(this.parseSmallUnicode, this.parseUnicodeReturn)\n } else if (this.char === CHAR_U) {\n return this.call(this.parseLargeUnicode, this.parseUnicodeReturn)\n } else {\n throw this.error(new TomlError('Unknown escape character: ' + this.char))\n }\n }\n parseUnicodeReturn (char) {\n try {\n const codePoint = parseInt(char, 16)\n if (codePoint >= SURROGATE_FIRST && codePoint <= SURROGATE_LAST) {\n throw this.error(new TomlError('Invalid unicode, character in range 0xD800 - 0xDFFF is reserved'))\n }\n return this.returnNow(String.fromCodePoint(codePoint))\n } catch (err) {\n throw this.error(TomlError.wrap(err))\n }\n }\n parseSmallUnicode () {\n if (!isHexit(this.char)) {\n throw this.error(new TomlError('Invalid character in unicode sequence, expected hex'))\n } else {\n this.consume()\n if (this.state.buf.length >= 4) return this.return()\n }\n }\n parseLargeUnicode () {\n if (!isHexit(this.char)) {\n throw this.error(new TomlError('Invalid character in unicode sequence, expected hex'))\n } else {\n this.consume()\n if (this.state.buf.length >= 8) return this.return()\n }\n }\n\n /* NUMBERS */\n parseNumberSign () {\n this.consume()\n return this.next(this.parseMaybeSignedInfOrNan)\n }\n parseMaybeSignedInfOrNan () {\n if (this.char === CHAR_i) {\n return this.next(this.parseInf)\n } else if (this.char === CHAR_n) {\n return this.next(this.parseNan)\n } else {\n return this.callNow(this.parseNoUnder, this.parseNumberIntegerStart)\n }\n }\n parseNumberIntegerStart () {\n if (this.char === CHAR_0) {\n this.consume()\n return this.next(this.parseNumberIntegerExponentOrDecimal)\n } else {\n return this.goto(this.parseNumberInteger)\n }\n }\n parseNumberIntegerExponentOrDecimal () {\n if (this.char === CHAR_PERIOD) {\n this.consume()\n return this.call(this.parseNoUnder, this.parseNumberFloat)\n } else if (this.char === CHAR_E || this.char === CHAR_e) {\n this.consume()\n return this.next(this.parseNumberExponentSign)\n } else {\n return this.returnNow(Integer(this.state.buf))\n }\n }\n parseNumberInteger () {\n if (isDigit(this.char)) {\n this.consume()\n } else if (this.char === CHAR_LOWBAR) {\n return this.call(this.parseNoUnder)\n } else if (this.char === CHAR_E || this.char === CHAR_e) {\n this.consume()\n return this.next(this.parseNumberExponentSign)\n } else if (this.char === CHAR_PERIOD) {\n this.consume()\n return this.call(this.parseNoUnder, this.parseNumberFloat)\n } else {\n const result = Integer(this.state.buf)\n /* istanbul ignore if */\n if (result.isNaN()) {\n throw this.error(new TomlError('Invalid number'))\n } else {\n return this.returnNow(result)\n }\n }\n }\n parseNoUnder () {\n if (this.char === CHAR_LOWBAR || this.char === CHAR_PERIOD || this.char === CHAR_E || this.char === CHAR_e) {\n throw this.error(new TomlError('Unexpected character, expected digit'))\n } else if (this.atEndOfWord()) {\n throw this.error(new TomlError('Incomplete number'))\n }\n return this.returnNow()\n }\n parseNoUnderHexOctBinLiteral () {\n if (this.char === CHAR_LOWBAR || this.char === CHAR_PERIOD) {\n throw this.error(new TomlError('Unexpected character, expected digit'))\n } else if (this.atEndOfWord()) {\n throw this.error(new TomlError('Incomplete number'))\n }\n return this.returnNow()\n }\n parseNumberFloat () {\n if (this.char === CHAR_LOWBAR) {\n return this.call(this.parseNoUnder, this.parseNumberFloat)\n } else if (isDigit(this.char)) {\n this.consume()\n } else if (this.char === CHAR_E || this.char === CHAR_e) {\n this.consume()\n return this.next(this.parseNumberExponentSign)\n } else {\n return this.returnNow(Float(this.state.buf))\n }\n }\n parseNumberExponentSign () {\n if (isDigit(this.char)) {\n return this.goto(this.parseNumberExponent)\n } else if (this.char === CHAR_HYPHEN || this.char === CHAR_PLUS) {\n this.consume()\n this.call(this.parseNoUnder, this.parseNumberExponent)\n } else {\n throw this.error(new TomlError('Unexpected character, expected -, + or digit'))\n }\n }\n parseNumberExponent () {\n if (isDigit(this.char)) {\n this.consume()\n } else if (this.char === CHAR_LOWBAR) {\n return this.call(this.parseNoUnder)\n } else {\n return this.returnNow(Float(this.state.buf))\n }\n }\n\n /* NUMBERS or DATETIMES */\n parseNumberOrDateTime () {\n if (this.char === CHAR_0) {\n this.consume()\n return this.next(this.parseNumberBaseOrDateTime)\n } else {\n return this.goto(this.parseNumberOrDateTimeOnly)\n }\n }\n parseNumberOrDateTimeOnly () {\n // note, if two zeros are in a row then it MUST be a date\n if (this.char === CHAR_LOWBAR) {\n return this.call(this.parseNoUnder, this.parseNumberInteger)\n } else if (isDigit(this.char)) {\n this.consume()\n if (this.state.buf.length > 4) this.next(this.parseNumberInteger)\n } else if (this.char === CHAR_E || this.char === CHAR_e) {\n this.consume()\n return this.next(this.parseNumberExponentSign)\n } else if (this.char === CHAR_PERIOD) {\n this.consume()\n return this.call(this.parseNoUnder, this.parseNumberFloat)\n } else if (this.char === CHAR_HYPHEN) {\n return this.goto(this.parseDateTime)\n } else if (this.char === CHAR_COLON) {\n return this.goto(this.parseOnlyTimeHour)\n } else {\n return this.returnNow(Integer(this.state.buf))\n }\n }\n parseDateTimeOnly () {\n if (this.state.buf.length < 4) {\n if (isDigit(this.char)) {\n return this.consume()\n } else if (this.char === CHAR_COLON) {\n return this.goto(this.parseOnlyTimeHour)\n } else {\n throw this.error(new TomlError('Expected digit while parsing year part of a date'))\n }\n } else {\n if (this.char === CHAR_HYPHEN) {\n return this.goto(this.parseDateTime)\n } else {\n throw this.error(new TomlError('Expected hyphen (-) while parsing year part of date'))\n }\n }\n }\n parseNumberBaseOrDateTime () {\n if (this.char === CHAR_b) {\n this.consume()\n return this.call(this.parseNoUnderHexOctBinLiteral, this.parseIntegerBin)\n } else if (this.char === CHAR_o) {\n this.consume()\n return this.call(this.parseNoUnderHexOctBinLiteral, this.parseIntegerOct)\n } else if (this.char === CHAR_x) {\n this.consume()\n return this.call(this.parseNoUnderHexOctBinLiteral, this.parseIntegerHex)\n } else if (this.char === CHAR_PERIOD) {\n return this.goto(this.parseNumberInteger)\n } else if (isDigit(this.char)) {\n return this.goto(this.parseDateTimeOnly)\n } else {\n return this.returnNow(Integer(this.state.buf))\n }\n }\n parseIntegerHex () {\n if (isHexit(this.char)) {\n this.consume()\n } else if (this.char === CHAR_LOWBAR) {\n return this.call(this.parseNoUnderHexOctBinLiteral)\n } else {\n const result = Integer(this.state.buf)\n /* istanbul ignore if */\n if (result.isNaN()) {\n throw this.error(new TomlError('Invalid number'))\n } else {\n return this.returnNow(result)\n }\n }\n }\n parseIntegerOct () {\n if (isOctit(this.char)) {\n this.consume()\n } else if (this.char === CHAR_LOWBAR) {\n return this.call(this.parseNoUnderHexOctBinLiteral)\n } else {\n const result = Integer(this.state.buf)\n /* istanbul ignore if */\n if (result.isNaN()) {\n throw this.error(new TomlError('Invalid number'))\n } else {\n return this.returnNow(result)\n }\n }\n }\n parseIntegerBin () {\n if (isBit(this.char)) {\n this.consume()\n } else if (this.char === CHAR_LOWBAR) {\n return this.call(this.parseNoUnderHexOctBinLiteral)\n } else {\n const result = Integer(this.state.buf)\n /* istanbul ignore if */\n if (result.isNaN()) {\n throw this.error(new TomlError('Invalid number'))\n } else {\n return this.returnNow(result)\n }\n }\n }\n\n /* DATETIME */\n parseDateTime () {\n // we enter here having just consumed the year and about to consume the hyphen\n if (this.state.buf.length < 4) {\n throw this.error(new TomlError('Years less than 1000 must be zero padded to four characters'))\n }\n this.state.result = this.state.buf\n this.state.buf = ''\n return this.next(this.parseDateMonth)\n }\n parseDateMonth () {\n if (this.char === CHAR_HYPHEN) {\n if (this.state.buf.length < 2) {\n throw this.error(new TomlError('Months less than 10 must be zero padded to two characters'))\n }\n this.state.result += '-' + this.state.buf\n this.state.buf = ''\n return this.next(this.parseDateDay)\n } else if (isDigit(this.char)) {\n this.consume()\n } else {\n throw this.error(new TomlError('Incomplete datetime'))\n }\n }\n parseDateDay () {\n if (this.char === CHAR_T || this.char === CHAR_SP) {\n if (this.state.buf.length < 2) {\n throw this.error(new TomlError('Days less than 10 must be zero padded to two characters'))\n }\n this.state.result += '-' + this.state.buf\n this.state.buf = ''\n return this.next(this.parseStartTimeHour)\n } else if (this.atEndOfWord()) {\n return this.returnNow(createDate(this.state.result + '-' + this.state.buf))\n } else if (isDigit(this.char)) {\n this.consume()\n } else {\n throw this.error(new TomlError('Incomplete datetime'))\n }\n }\n parseStartTimeHour () {\n if (this.atEndOfWord()) {\n return this.returnNow(createDate(this.state.result))\n } else {\n return this.goto(this.parseTimeHour)\n }\n }\n parseTimeHour () {\n if (this.char === CHAR_COLON) {\n if (this.state.buf.length < 2) {\n throw this.error(new TomlError('Hours less than 10 must be zero padded to two characters'))\n }\n this.state.result += 'T' + this.state.buf\n this.state.buf = ''\n return this.next(this.parseTimeMin)\n } else if (isDigit(this.char)) {\n this.consume()\n } else {\n throw this.error(new TomlError('Incomplete datetime'))\n }\n }\n parseTimeMin () {\n if (this.state.buf.length < 2 && isDigit(this.char)) {\n this.consume()\n } else if (this.state.buf.length === 2 && this.char === CHAR_COLON) {\n this.state.result += ':' + this.state.buf\n this.state.buf = ''\n return this.next(this.parseTimeSec)\n } else {\n throw this.error(new TomlError('Incomplete datetime'))\n }\n }\n parseTimeSec () {\n if (isDigit(this.char)) {\n this.consume()\n if (this.state.buf.length === 2) {\n this.state.result += ':' + this.state.buf\n this.state.buf = ''\n return this.next(this.parseTimeZoneOrFraction)\n }\n } else {\n throw this.error(new TomlError('Incomplete datetime'))\n }\n }\n\n parseOnlyTimeHour () {\n /* istanbul ignore else */\n if (this.char === CHAR_COLON) {\n if (this.state.buf.length < 2) {\n throw this.error(new TomlError('Hours less than 10 must be zero padded to two characters'))\n }\n this.state.result = this.state.buf\n this.state.buf = ''\n return this.next(this.parseOnlyTimeMin)\n } else {\n throw this.error(new TomlError('Incomplete time'))\n }\n }\n parseOnlyTimeMin () {\n if (this.state.buf.length < 2 && isDigit(this.char)) {\n this.consume()\n } else if (this.state.buf.length === 2 && this.char === CHAR_COLON) {\n this.state.result += ':' + this.state.buf\n this.state.buf = ''\n return this.next(this.parseOnlyTimeSec)\n } else {\n throw this.error(new TomlError('Incomplete time'))\n }\n }\n parseOnlyTimeSec () {\n if (isDigit(this.char)) {\n this.consume()\n if (this.state.buf.length === 2) {\n return this.next(this.parseOnlyTimeFractionMaybe)\n }\n } else {\n throw this.error(new TomlError('Incomplete time'))\n }\n }\n parseOnlyTimeFractionMaybe () {\n this.state.result += ':' + this.state.buf\n if (this.char === CHAR_PERIOD) {\n this.state.buf = ''\n this.next(this.parseOnlyTimeFraction)\n } else {\n return this.return(createTime(this.state.result))\n }\n }\n parseOnlyTimeFraction () {\n if (isDigit(this.char)) {\n this.consume()\n } else if (this.atEndOfWord()) {\n if (this.state.buf.length === 0) throw this.error(new TomlError('Expected digit in milliseconds'))\n return this.returnNow(createTime(this.state.result + '.' + this.state.buf))\n } else {\n throw this.error(new TomlError('Unexpected character in datetime, expected period (.), minus (-), plus (+) or Z'))\n }\n }\n\n parseTimeZoneOrFraction () {\n if (this.char === CHAR_PERIOD) {\n this.consume()\n this.next(this.parseDateTimeFraction)\n } else if (this.char === CHAR_HYPHEN || this.char === CHAR_PLUS) {\n this.consume()\n this.next(this.parseTimeZoneHour)\n } else if (this.char === CHAR_Z) {\n this.consume()\n return this.return(createDateTime(this.state.result + this.state.buf))\n } else if (this.atEndOfWord()) {\n return this.returnNow(createDateTimeFloat(this.state.result + this.state.buf))\n } else {\n throw this.error(new TomlError('Unexpected character in datetime, expected period (.), minus (-), plus (+) or Z'))\n }\n }\n parseDateTimeFraction () {\n if (isDigit(this.char)) {\n this.consume()\n } else if (this.state.buf.length === 1) {\n throw this.error(new TomlError('Expected digit in milliseconds'))\n } else if (this.char === CHAR_HYPHEN || this.char === CHAR_PLUS) {\n this.consume()\n this.next(this.parseTimeZoneHour)\n } else if (this.char === CHAR_Z) {\n this.consume()\n return this.return(createDateTime(this.state.result + this.state.buf))\n } else if (this.atEndOfWord()) {\n return this.returnNow(createDateTimeFloat(this.state.result + this.state.buf))\n } else {\n throw this.error(new TomlError('Unexpected character in datetime, expected period (.), minus (-), plus (+) or Z'))\n }\n }\n parseTimeZoneHour () {\n if (isDigit(this.char)) {\n this.consume()\n // FIXME: No more regexps\n if (/\\d\\d$/.test(this.state.buf)) return this.next(this.parseTimeZoneSep)\n } else {\n throw this.error(new TomlError('Unexpected character in datetime, expected digit'))\n }\n }\n parseTimeZoneSep () {\n if (this.char === CHAR_COLON) {\n this.consume()\n this.next(this.parseTimeZoneMin)\n } else {\n throw this.error(new TomlError('Unexpected character in datetime, expected colon'))\n }\n }\n parseTimeZoneMin () {\n if (isDigit(this.char)) {\n this.consume()\n if (/\\d\\d$/.test(this.state.buf)) return this.return(createDateTime(this.state.result + this.state.buf))\n } else {\n throw this.error(new TomlError('Unexpected character in datetime, expected digit'))\n }\n }\n\n /* BOOLEAN */\n parseBoolean () {\n /* istanbul ignore else */\n if (this.char === CHAR_t) {\n this.consume()\n return this.next(this.parseTrue_r)\n } else if (this.char === CHAR_f) {\n this.consume()\n return this.next(this.parseFalse_a)\n }\n }\n parseTrue_r () {\n if (this.char === CHAR_r) {\n this.consume()\n return this.next(this.parseTrue_u)\n } else {\n throw this.error(new TomlError('Invalid boolean, expected true or false'))\n }\n }\n parseTrue_u () {\n if (this.char === CHAR_u) {\n this.consume()\n return this.next(this.parseTrue_e)\n } else {\n throw this.error(new TomlError('Invalid boolean, expected true or false'))\n }\n }\n parseTrue_e () {\n if (this.char === CHAR_e) {\n return this.return(true)\n } else {\n throw this.error(new TomlError('Invalid boolean, expected true or false'))\n }\n }\n\n parseFalse_a () {\n if (this.char === CHAR_a) {\n this.consume()\n return this.next(this.parseFalse_l)\n } else {\n throw this.error(new TomlError('Invalid boolean, expected true or false'))\n }\n }\n\n parseFalse_l () {\n if (this.char === CHAR_l) {\n this.consume()\n return this.next(this.parseFalse_s)\n } else {\n throw this.error(new TomlError('Invalid boolean, expected true or false'))\n }\n }\n\n parseFalse_s () {\n if (this.char === CHAR_s) {\n this.consume()\n return this.next(this.parseFalse_e)\n } else {\n throw this.error(new TomlError('Invalid boolean, expected true or false'))\n }\n }\n\n parseFalse_e () {\n if (this.char === CHAR_e) {\n return this.return(false)\n } else {\n throw this.error(new TomlError('Invalid boolean, expected true or false'))\n }\n }\n\n /* INLINE LISTS */\n parseInlineList () {\n if (this.char === CHAR_SP || this.char === CTRL_I || this.char === CTRL_M || this.char === CTRL_J) {\n return null\n } else if (this.char === Parser.END) {\n throw this.error(new TomlError('Unterminated inline array'))\n } else if (this.char === CHAR_NUM) {\n return this.call(this.parseComment)\n } else if (this.char === CHAR_RSQB) {\n return this.return(this.state.resultArr || InlineList())\n } else {\n return this.callNow(this.parseValue, this.recordInlineListValue)\n }\n }\n recordInlineListValue (value) {\n if (this.state.resultArr) {\n const listType = this.state.resultArr[_contentType]\n const valueType = tomlType(value)\n if (listType !== valueType) {\n throw this.error(new TomlError(`Inline lists must be a single type, not a mix of ${listType} and ${valueType}`))\n }\n } else {\n this.state.resultArr = InlineList(tomlType(value))\n }\n if (isFloat(value) || isInteger(value)) {\n // unbox now that we've verified they're ok\n this.state.resultArr.push(value.valueOf())\n } else {\n this.state.resultArr.push(value)\n }\n return this.goto(this.parseInlineListNext)\n }\n parseInlineListNext () {\n if (this.char === CHAR_SP || this.char === CTRL_I || this.char === CTRL_M || this.char === CTRL_J) {\n return null\n } else if (this.char === CHAR_NUM) {\n return this.call(this.parseComment)\n } else if (this.char === CHAR_COMMA) {\n return this.next(this.parseInlineList)\n } else if (this.char === CHAR_RSQB) {\n return this.goto(this.parseInlineList)\n } else {\n throw this.error(new TomlError('Invalid character, expected whitespace, comma (,) or close bracket (])'))\n }\n }\n\n /* INLINE TABLE */\n parseInlineTable () {\n if (this.char === CHAR_SP || this.char === CTRL_I) {\n return null\n } else if (this.char === Parser.END || this.char === CHAR_NUM || this.char === CTRL_J || this.char === CTRL_M) {\n throw this.error(new TomlError('Unterminated inline array'))\n } else if (this.char === CHAR_RCUB) {\n return this.return(this.state.resultTable || InlineTable())\n } else {\n if (!this.state.resultTable) this.state.resultTable = InlineTable()\n return this.callNow(this.parseAssign, this.recordInlineTableValue)\n }\n }\n recordInlineTableValue (kv) {\n let target = this.state.resultTable\n let finalKey = kv.key.pop()\n for (let kw of kv.key) {\n if (hasKey(target, kw) && (!isTable(target[kw]) || target[kw][_declared])) {\n throw this.error(new TomlError(\"Can't redefine existing key\"))\n }\n target = target[kw] = target[kw] || Table()\n }\n if (hasKey(target, finalKey)) {\n throw this.error(new TomlError(\"Can't redefine existing key\"))\n }\n if (isInteger(kv.value) || isFloat(kv.value)) {\n target[finalKey] = kv.value.valueOf()\n } else {\n target[finalKey] = kv.value\n }\n return this.goto(this.parseInlineTableNext)\n }\n parseInlineTableNext () {\n if (this.char === CHAR_SP || this.char === CTRL_I) {\n return null\n } else if (this.char === Parser.END || this.char === CHAR_NUM || this.char === CTRL_J || this.char === CTRL_M) {\n throw this.error(new TomlError('Unterminated inline array'))\n } else if (this.char === CHAR_COMMA) {\n return this.next(this.parseInlineTable)\n } else if (this.char === CHAR_RCUB) {\n return this.goto(this.parseInlineTable)\n } else {\n throw this.error(new TomlError('Invalid character, expected whitespace, comma (,) or close bracket (])'))\n }\n }\n }\n return TOMLParser\n}\n","'use strict'\nconst ParserEND = 0x110000\nclass ParserError extends Error {\n /* istanbul ignore next */\n constructor (msg, filename, linenumber) {\n super('[ParserError] ' + msg, filename, linenumber)\n this.name = 'ParserError'\n this.code = 'ParserError'\n if (Error.captureStackTrace) Error.captureStackTrace(this, ParserError)\n }\n}\nclass State {\n constructor (parser) {\n this.parser = parser\n this.buf = ''\n this.returned = null\n this.result = null\n this.resultTable = null\n this.resultArr = null\n }\n}\nclass Parser {\n constructor () {\n this.pos = 0\n this.col = 0\n this.line = 0\n this.obj = {}\n this.ctx = this.obj\n this.stack = []\n this._buf = ''\n this.char = null\n this.ii = 0\n this.state = new State(this.parseStart)\n }\n\n parse (str) {\n /* istanbul ignore next */\n if (str.length === 0 || str.length == null) return\n\n this._buf = String(str)\n this.ii = -1\n this.char = -1\n let getNext\n while (getNext === false || this.nextChar()) {\n getNext = this.runOne()\n }\n this._buf = null\n }\n nextChar () {\n if (this.char === 0x0A) {\n ++this.line\n this.col = -1\n }\n ++this.ii\n this.char = this._buf.codePointAt(this.ii)\n ++this.pos\n ++this.col\n return this.haveBuffer()\n }\n haveBuffer () {\n return this.ii < this._buf.length\n }\n runOne () {\n return this.state.parser.call(this, this.state.returned)\n }\n finish () {\n this.char = ParserEND\n let last\n do {\n last = this.state.parser\n this.runOne()\n } while (this.state.parser !== last)\n\n this.ctx = null\n this.state = null\n this._buf = null\n\n return this.obj\n }\n next (fn) {\n /* istanbul ignore next */\n if (typeof fn !== 'function') throw new ParserError('Tried to set state to non-existent state: ' + JSON.stringify(fn))\n this.state.parser = fn\n }\n goto (fn) {\n this.next(fn)\n return this.runOne()\n }\n call (fn, returnWith) {\n if (returnWith) this.next(returnWith)\n this.stack.push(this.state)\n this.state = new State(fn)\n }\n callNow (fn, returnWith) {\n this.call(fn, returnWith)\n return this.runOne()\n }\n return (value) {\n /* istanbul ignore next */\n if (this.stack.length === 0) throw this.error(new ParserError('Stack underflow'))\n if (value === undefined) value = this.state.buf\n this.state = this.stack.pop()\n this.state.returned = value\n }\n returnNow (value) {\n this.return(value)\n return this.runOne()\n }\n consume () {\n /* istanbul ignore next */\n if (this.char === ParserEND) throw this.error(new ParserError('Unexpected end-of-buffer'))\n this.state.buf += this._buf[this.ii]\n }\n error (err) {\n err.line = this.line\n err.col = this.col\n err.pos = this.pos\n return err\n }\n /* istanbul ignore next */\n parseStart () {\n throw new ParserError('Must declare a parseStart method')\n }\n}\nParser.END = ParserEND\nParser.Error = ParserError\nmodule.exports = Parser\n","'use strict'\nmodule.exports = value => {\n const date = new Date(value)\n /* istanbul ignore if */\n if (isNaN(date)) {\n throw new TypeError('Invalid Datetime')\n } else {\n return date\n }\n}\n","'use strict'\nconst f = require('./format-num.js')\n\nclass FloatingDateTime extends Date {\n constructor (value) {\n super(value + 'Z')\n this.isFloating = true\n }\n toISOString () {\n const date = `${this.getUTCFullYear()}-${f(2, this.getUTCMonth() + 1)}-${f(2, this.getUTCDate())}`\n const time = `${f(2, this.getUTCHours())}:${f(2, this.getUTCMinutes())}:${f(2, this.getUTCSeconds())}.${f(3, this.getUTCMilliseconds())}`\n return `${date}T${time}`\n }\n}\n\nmodule.exports = value => {\n const date = new FloatingDateTime(value)\n /* istanbul ignore if */\n if (isNaN(date)) {\n throw new TypeError('Invalid Datetime')\n } else {\n return date\n }\n}\n","'use strict'\nmodule.exports = (d, num) => {\n num = String(num)\n while (num.length < d) num = '0' + num\n return num\n}\n","'use strict'\nconst f = require('./format-num.js')\nconst DateTime = global.Date\n\nclass Date extends DateTime {\n constructor (value) {\n super(value)\n this.isDate = true\n }\n toISOString () {\n return `${this.getUTCFullYear()}-${f(2, this.getUTCMonth() + 1)}-${f(2, this.getUTCDate())}`\n }\n}\n\nmodule.exports = value => {\n const date = new Date(value)\n /* istanbul ignore if */\n if (isNaN(date)) {\n throw new TypeError('Invalid Datetime')\n } else {\n return date\n }\n}\n","'use strict'\nconst f = require('./format-num.js')\n\nclass Time extends Date {\n constructor (value) {\n super(`0000-01-01T${value}Z`)\n this.isTime = true\n }\n toISOString () {\n return `${f(2, this.getUTCHours())}:${f(2, this.getUTCMinutes())}:${f(2, this.getUTCSeconds())}.${f(3, this.getUTCMilliseconds())}`\n }\n}\n\nmodule.exports = value => {\n const date = new Time(value)\n /* istanbul ignore if */\n if (isNaN(date)) {\n throw new TypeError('Invalid Datetime')\n } else {\n return date\n }\n}\n","'use strict'\nmodule.exports = prettyError\n\nfunction prettyError (err, buf) {\n /* istanbul ignore if */\n if (err.pos == null || err.line == null) return err\n let msg = err.message\n msg += ` at row ${err.line + 1}, col ${err.col + 1}, pos ${err.pos}:\\n`\n\n /* istanbul ignore else */\n if (buf && buf.split) {\n const lines = buf.split(/\\n/)\n const lineNumWidth = String(Math.min(lines.length, err.line + 3)).length\n let linePadding = ' '\n while (linePadding.length < lineNumWidth) linePadding += ' '\n for (let ii = Math.max(0, err.line - 1); ii < Math.min(lines.length, err.line + 2); ++ii) {\n let lineNum = String(ii + 1)\n if (lineNum.length < lineNumWidth) lineNum = ' ' + lineNum\n if (err.line === ii) {\n msg += lineNum + '> ' + lines[ii] + '\\n'\n msg += linePadding + ' '\n for (let hh = 0; hh < err.col; ++hh) {\n msg += ' '\n }\n msg += '^\\n'\n } else {\n msg += lineNum + ': ' + lines[ii] + '\\n'\n }\n }\n }\n err.message = msg + '\\n'\n return err\n}\n","'use strict'\nmodule.exports = parseAsync\n\nconst TOMLParser = require('./lib/toml-parser.js')\nconst prettyError = require('./parse-pretty-error.js')\n\nfunction parseAsync (str, opts) {\n if (!opts) opts = {}\n const index = 0\n const blocksize = opts.blocksize || 40960\n const parser = new TOMLParser()\n return new Promise((resolve, reject) => {\n setImmediate(parseAsyncNext, index, blocksize, resolve, reject)\n })\n function parseAsyncNext (index, blocksize, resolve, reject) {\n if (index >= str.length) {\n try {\n return resolve(parser.finish())\n } catch (err) {\n return reject(prettyError(err, str))\n }\n }\n try {\n parser.parse(str.slice(index, index + blocksize))\n setImmediate(parseAsyncNext, index + blocksize, blocksize, resolve, reject)\n } catch (err) {\n reject(prettyError(err, str))\n }\n }\n}\n","'use strict'\nmodule.exports = parseStream\n\nconst stream = require('stream')\nconst TOMLParser = require('./lib/toml-parser.js')\n\nfunction parseStream (stm) {\n if (stm) {\n return parseReadable(stm)\n } else {\n return parseTransform(stm)\n }\n}\n\nfunction parseReadable (stm) {\n const parser = new TOMLParser()\n stm.setEncoding('utf8')\n return new Promise((resolve, reject) => {\n let readable\n let ended = false\n let errored = false\n function finish () {\n ended = true\n if (readable) return\n try {\n resolve(parser.finish())\n } catch (err) {\n reject(err)\n }\n }\n function error (err) {\n errored = true\n reject(err)\n }\n stm.once('end', finish)\n stm.once('error', error)\n readNext()\n\n function readNext () {\n readable = true\n let data\n while ((data = stm.read()) !== null) {\n try {\n parser.parse(data)\n } catch (err) {\n return error(err)\n }\n }\n readable = false\n /* istanbul ignore if */\n if (ended) return finish()\n /* istanbul ignore if */\n if (errored) return\n stm.once('readable', readNext)\n }\n })\n}\n\nfunction parseTransform () {\n const parser = new TOMLParser()\n return new stream.Transform({\n objectMode: true,\n transform (chunk, encoding, cb) {\n try {\n parser.parse(chunk.toString(encoding))\n } catch (err) {\n this.emit('error', err)\n }\n cb()\n },\n flush (cb) {\n try {\n this.push(parser.finish())\n } catch (err) {\n this.emit('error', err)\n }\n cb()\n }\n })\n}\n","'use strict'\nmodule.exports = stringify\nmodule.exports.value = stringifyInline\n\nfunction stringify (obj) {\n if (obj === null) throw typeError('null')\n if (obj === void (0)) throw typeError('undefined')\n if (typeof obj !== 'object') throw typeError(typeof obj)\n\n if (typeof obj.toJSON === 'function') obj = obj.toJSON()\n if (obj == null) return null\n const type = tomlType(obj)\n if (type !== 'table') throw typeError(type)\n return stringifyObject('', '', obj)\n}\n\nfunction typeError (type) {\n return new Error('Can only stringify objects, not ' + type)\n}\n\nfunction arrayOneTypeError () {\n return new Error(\"Array values can't have mixed types\")\n}\n\nfunction getInlineKeys (obj) {\n return Object.keys(obj).filter(key => isInline(obj[key]))\n}\nfunction getComplexKeys (obj) {\n return Object.keys(obj).filter(key => !isInline(obj[key]))\n}\n\nfunction toJSON (obj) {\n let nobj = Array.isArray(obj) ? [] : Object.prototype.hasOwnProperty.call(obj, '__proto__') ? {['__proto__']: undefined} : {}\n for (let prop of Object.keys(obj)) {\n if (obj[prop] && typeof obj[prop].toJSON === 'function' && !('toISOString' in obj[prop])) {\n nobj[prop] = obj[prop].toJSON()\n } else {\n nobj[prop] = obj[prop]\n }\n }\n return nobj\n}\n\nfunction stringifyObject (prefix, indent, obj) {\n obj = toJSON(obj)\n var inlineKeys\n var complexKeys\n inlineKeys = getInlineKeys(obj)\n complexKeys = getComplexKeys(obj)\n var result = []\n var inlineIndent = indent || ''\n inlineKeys.forEach(key => {\n var type = tomlType(obj[key])\n if (type !== 'undefined' && type !== 'null') {\n result.push(inlineIndent + stringifyKey(key) + ' = ' + stringifyAnyInline(obj[key], true))\n }\n })\n if (result.length > 0) result.push('')\n var complexIndent = prefix && inlineKeys.length > 0 ? indent + ' ' : ''\n complexKeys.forEach(key => {\n result.push(stringifyComplex(prefix, complexIndent, key, obj[key]))\n })\n return result.join('\\n')\n}\n\nfunction isInline (value) {\n switch (tomlType(value)) {\n case 'undefined':\n case 'null':\n case 'integer':\n case 'nan':\n case 'float':\n case 'boolean':\n case 'string':\n case 'datetime':\n return true\n case 'array':\n return value.length === 0 || tomlType(value[0]) !== 'table'\n case 'table':\n return Object.keys(value).length === 0\n /* istanbul ignore next */\n default:\n return false\n }\n}\n\nfunction tomlType (value) {\n if (value === undefined) {\n return 'undefined'\n } else if (value === null) {\n return 'null'\n /* eslint-disable valid-typeof */\n } else if (typeof value === 'bigint' || (Number.isInteger(value) && !Object.is(value, -0))) {\n return 'integer'\n } else if (typeof value === 'number') {\n return 'float'\n } else if (typeof value === 'boolean') {\n return 'boolean'\n } else if (typeof value === 'string') {\n return 'string'\n } else if ('toISOString' in value) {\n return isNaN(value) ? 'undefined' : 'datetime'\n } else if (Array.isArray(value)) {\n return 'array'\n } else {\n return 'table'\n }\n}\n\nfunction stringifyKey (key) {\n var keyStr = String(key)\n if (/^[-A-Za-z0-9_]+$/.test(keyStr)) {\n return keyStr\n } else {\n return stringifyBasicString(keyStr)\n }\n}\n\nfunction stringifyBasicString (str) {\n return '\"' + escapeString(str).replace(/\"/g, '\\\\\"') + '\"'\n}\n\nfunction stringifyLiteralString (str) {\n return \"'\" + str + \"'\"\n}\n\nfunction numpad (num, str) {\n while (str.length < num) str = '0' + str\n return str\n}\n\nfunction escapeString (str) {\n return str.replace(/\\\\/g, '\\\\\\\\')\n .replace(/[\\b]/g, '\\\\b')\n .replace(/\\t/g, '\\\\t')\n .replace(/\\n/g, '\\\\n')\n .replace(/\\f/g, '\\\\f')\n .replace(/\\r/g, '\\\\r')\n /* eslint-disable no-control-regex */\n .replace(/([\\u0000-\\u001f\\u007f])/, c => '\\\\u' + numpad(4, c.codePointAt(0).toString(16)))\n /* eslint-enable no-control-regex */\n}\n\nfunction stringifyMultilineString (str) {\n let escaped = str.split(/\\n/).map(str => {\n return escapeString(str).replace(/\"(?=\"\")/g, '\\\\\"')\n }).join('\\n')\n if (escaped.slice(-1) === '\"') escaped += '\\\\\\n'\n return '\"\"\"\\n' + escaped + '\"\"\"'\n}\n\nfunction stringifyAnyInline (value, multilineOk) {\n let type = tomlType(value)\n if (type === 'string') {\n if (multilineOk && /\\n/.test(value)) {\n type = 'string-multiline'\n } else if (!/[\\b\\t\\n\\f\\r']/.test(value) && /\"/.test(value)) {\n type = 'string-literal'\n }\n }\n return stringifyInline(value, type)\n}\n\nfunction stringifyInline (value, type) {\n /* istanbul ignore if */\n if (!type) type = tomlType(value)\n switch (type) {\n case 'string-multiline':\n return stringifyMultilineString(value)\n case 'string':\n return stringifyBasicString(value)\n case 'string-literal':\n return stringifyLiteralString(value)\n case 'integer':\n return stringifyInteger(value)\n case 'float':\n return stringifyFloat(value)\n case 'boolean':\n return stringifyBoolean(value)\n case 'datetime':\n return stringifyDatetime(value)\n case 'array':\n return stringifyInlineArray(value.filter(_ => tomlType(_) !== 'null' && tomlType(_) !== 'undefined' && tomlType(_) !== 'nan'))\n case 'table':\n return stringifyInlineTable(value)\n /* istanbul ignore next */\n default:\n throw typeError(type)\n }\n}\n\nfunction stringifyInteger (value) {\n /* eslint-disable security/detect-unsafe-regex */\n return String(value).replace(/\\B(?=(\\d{3})+(?!\\d))/g, '_')\n}\n\nfunction stringifyFloat (value) {\n if (value === Infinity) {\n return 'inf'\n } else if (value === -Infinity) {\n return '-inf'\n } else if (Object.is(value, NaN)) {\n return 'nan'\n } else if (Object.is(value, -0)) {\n return '-0.0'\n }\n var chunks = String(value).split('.')\n var int = chunks[0]\n var dec = chunks[1] || 0\n return stringifyInteger(int) + '.' + dec\n}\n\nfunction stringifyBoolean (value) {\n return String(value)\n}\n\nfunction stringifyDatetime (value) {\n return value.toISOString()\n}\n\nfunction isNumber (type) {\n return type === 'float' || type === 'integer'\n}\nfunction arrayType (values) {\n var contentType = tomlType(values[0])\n if (values.every(_ => tomlType(_) === contentType)) return contentType\n // mixed integer/float, emit as floats\n if (values.every(_ => isNumber(tomlType(_)))) return 'float'\n return 'mixed'\n}\nfunction validateArray (values) {\n const type = arrayType(values)\n if (type === 'mixed') {\n throw arrayOneTypeError()\n }\n return type\n}\n\nfunction stringifyInlineArray (values) {\n values = toJSON(values)\n const type = validateArray(values)\n var result = '['\n var stringified = values.map(_ => stringifyInline(_, type))\n if (stringified.join(', ').length > 60 || /\\n/.test(stringified)) {\n result += '\\n ' + stringified.join(',\\n ') + '\\n'\n } else {\n result += ' ' + stringified.join(', ') + (stringified.length > 0 ? ' ' : '')\n }\n return result + ']'\n}\n\nfunction stringifyInlineTable (value) {\n value = toJSON(value)\n var result = []\n Object.keys(value).forEach(key => {\n result.push(stringifyKey(key) + ' = ' + stringifyAnyInline(value[key], false))\n })\n return '{ ' + result.join(', ') + (result.length > 0 ? ' ' : '') + '}'\n}\n\nfunction stringifyComplex (prefix, indent, key, value) {\n var valueType = tomlType(value)\n /* istanbul ignore else */\n if (valueType === 'array') {\n return stringifyArrayOfTables(prefix, indent, key, value)\n } else if (valueType === 'table') {\n return stringifyComplexTable(prefix, indent, key, value)\n } else {\n throw typeError(valueType)\n }\n}\n\nfunction stringifyArrayOfTables (prefix, indent, key, values) {\n values = toJSON(values)\n validateArray(values)\n var firstValueType = tomlType(values[0])\n /* istanbul ignore if */\n if (firstValueType !== 'table') throw typeError(firstValueType)\n var fullKey = prefix + stringifyKey(key)\n var result = ''\n values.forEach(table => {\n if (result.length > 0) result += '\\n'\n result += indent + '[[' + fullKey + ']]\\n'\n result += stringifyObject(fullKey + '.', indent, table)\n })\n return result\n}\n\nfunction stringifyComplexTable (prefix, indent, key, value) {\n var fullKey = prefix + stringifyKey(key)\n var result = ''\n if (getInlineKeys(value).length > 0) {\n result += indent + '[' + fullKey + ']\\n'\n }\n return result + stringifyObject(fullKey + '.', indent, value)\n}\n","import * as path from 'path';\nimport * as core from '@actions/core';\nimport * as tc from '@actions/tool-cache';\nimport * as exec from '@actions/exec';\nimport {ExecOptions} from '@actions/exec/lib/interfaces';\nimport {IS_WINDOWS, IS_LINUX} from './utils';\n\nconst TOKEN = core.getInput('token');\nconst AUTH = !TOKEN ? undefined : `token ${TOKEN}`;\nconst MANIFEST_REPO_OWNER = 'actions';\nconst MANIFEST_REPO_NAME = 'python-versions';\nconst MANIFEST_REPO_BRANCH = 'main';\nexport const MANIFEST_URL = `https://raw.githubusercontent.com/${MANIFEST_REPO_OWNER}/${MANIFEST_REPO_NAME}/${MANIFEST_REPO_BRANCH}/versions-manifest.json`;\n\nexport async function findReleaseFromManifest(\n semanticVersionSpec: string,\n architecture: string,\n manifest: tc.IToolRelease[] | null\n): Promise {\n if (!manifest) {\n manifest = await getManifest();\n }\n\n const foundRelease = await tc.findFromManifest(\n semanticVersionSpec,\n false,\n manifest,\n architecture\n );\n\n return foundRelease;\n}\n\nexport function getManifest(): Promise {\n core.debug(\n `Getting manifest from ${MANIFEST_REPO_OWNER}/${MANIFEST_REPO_NAME}@${MANIFEST_REPO_BRANCH}`\n );\n return tc.getManifestFromRepo(\n MANIFEST_REPO_OWNER,\n MANIFEST_REPO_NAME,\n AUTH,\n MANIFEST_REPO_BRANCH\n );\n}\n\nasync function installPython(workingDirectory: string) {\n const options: ExecOptions = {\n cwd: workingDirectory,\n env: {\n ...process.env,\n ...(IS_LINUX && {LD_LIBRARY_PATH: path.join(workingDirectory, 'lib')})\n },\n silent: true,\n listeners: {\n stdout: (data: Buffer) => {\n core.info(data.toString().trim());\n },\n stderr: (data: Buffer) => {\n core.error(data.toString().trim());\n }\n }\n };\n\n if (IS_WINDOWS) {\n await exec.exec('powershell', ['./setup.ps1'], options);\n } else {\n await exec.exec('bash', ['./setup.sh'], options);\n }\n}\n\nexport async function installCpythonFromRelease(release: tc.IToolRelease) {\n const downloadUrl = release.files[0].download_url;\n\n core.info(`Download from \"${downloadUrl}\"`);\n let pythonPath = '';\n try {\n pythonPath = await tc.downloadTool(downloadUrl, undefined, AUTH);\n core.info('Extract downloaded archive');\n let pythonExtractedFolder;\n if (IS_WINDOWS) {\n pythonExtractedFolder = await tc.extractZip(pythonPath);\n } else {\n pythonExtractedFolder = await tc.extractTar(pythonPath);\n }\n\n core.info('Execute installation script');\n await installPython(pythonExtractedFolder);\n } catch (err) {\n if (err instanceof tc.HTTPError) {\n // Rate limit?\n if (err.httpStatusCode === 403 || err.httpStatusCode === 429) {\n core.info(\n `Received HTTP status code ${err.httpStatusCode}. This usually indicates the rate limit has been exceeded`\n );\n } else {\n core.info(err.message);\n }\n if (err.stack) {\n core.debug(err.stack);\n }\n }\n throw err;\n }\n}\n",null,null,null,null,"\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst http = require(\"http\");\nconst https = require(\"https\");\nconst pm = require(\"./proxy\");\nlet tunnel;\nvar HttpCodes;\n(function (HttpCodes) {\n HttpCodes[HttpCodes[\"OK\"] = 200] = \"OK\";\n HttpCodes[HttpCodes[\"MultipleChoices\"] = 300] = \"MultipleChoices\";\n HttpCodes[HttpCodes[\"MovedPermanently\"] = 301] = \"MovedPermanently\";\n HttpCodes[HttpCodes[\"ResourceMoved\"] = 302] = \"ResourceMoved\";\n HttpCodes[HttpCodes[\"SeeOther\"] = 303] = \"SeeOther\";\n HttpCodes[HttpCodes[\"NotModified\"] = 304] = \"NotModified\";\n HttpCodes[HttpCodes[\"UseProxy\"] = 305] = \"UseProxy\";\n HttpCodes[HttpCodes[\"SwitchProxy\"] = 306] = \"SwitchProxy\";\n HttpCodes[HttpCodes[\"TemporaryRedirect\"] = 307] = \"TemporaryRedirect\";\n HttpCodes[HttpCodes[\"PermanentRedirect\"] = 308] = \"PermanentRedirect\";\n HttpCodes[HttpCodes[\"BadRequest\"] = 400] = \"BadRequest\";\n HttpCodes[HttpCodes[\"Unauthorized\"] = 401] = \"Unauthorized\";\n HttpCodes[HttpCodes[\"PaymentRequired\"] = 402] = \"PaymentRequired\";\n HttpCodes[HttpCodes[\"Forbidden\"] = 403] = \"Forbidden\";\n HttpCodes[HttpCodes[\"NotFound\"] = 404] = \"NotFound\";\n HttpCodes[HttpCodes[\"MethodNotAllowed\"] = 405] = \"MethodNotAllowed\";\n HttpCodes[HttpCodes[\"NotAcceptable\"] = 406] = \"NotAcceptable\";\n HttpCodes[HttpCodes[\"ProxyAuthenticationRequired\"] = 407] = \"ProxyAuthenticationRequired\";\n HttpCodes[HttpCodes[\"RequestTimeout\"] = 408] = \"RequestTimeout\";\n HttpCodes[HttpCodes[\"Conflict\"] = 409] = \"Conflict\";\n HttpCodes[HttpCodes[\"Gone\"] = 410] = \"Gone\";\n HttpCodes[HttpCodes[\"TooManyRequests\"] = 429] = \"TooManyRequests\";\n HttpCodes[HttpCodes[\"InternalServerError\"] = 500] = \"InternalServerError\";\n HttpCodes[HttpCodes[\"NotImplemented\"] = 501] = \"NotImplemented\";\n HttpCodes[HttpCodes[\"BadGateway\"] = 502] = \"BadGateway\";\n HttpCodes[HttpCodes[\"ServiceUnavailable\"] = 503] = \"ServiceUnavailable\";\n HttpCodes[HttpCodes[\"GatewayTimeout\"] = 504] = \"GatewayTimeout\";\n})(HttpCodes = exports.HttpCodes || (exports.HttpCodes = {}));\nvar Headers;\n(function (Headers) {\n Headers[\"Accept\"] = \"accept\";\n Headers[\"ContentType\"] = \"content-type\";\n})(Headers = exports.Headers || (exports.Headers = {}));\nvar MediaTypes;\n(function (MediaTypes) {\n MediaTypes[\"ApplicationJson\"] = \"application/json\";\n})(MediaTypes = exports.MediaTypes || (exports.MediaTypes = {}));\n/**\n * Returns the proxy URL, depending upon the supplied url and proxy environment variables.\n * @param serverUrl The server URL where the request will be sent. For example, https://api.github.com\n */\nfunction getProxyUrl(serverUrl) {\n let proxyUrl = pm.getProxyUrl(new URL(serverUrl));\n return proxyUrl ? proxyUrl.href : '';\n}\nexports.getProxyUrl = getProxyUrl;\nconst HttpRedirectCodes = [\n HttpCodes.MovedPermanently,\n HttpCodes.ResourceMoved,\n HttpCodes.SeeOther,\n HttpCodes.TemporaryRedirect,\n HttpCodes.PermanentRedirect\n];\nconst HttpResponseRetryCodes = [\n HttpCodes.BadGateway,\n HttpCodes.ServiceUnavailable,\n HttpCodes.GatewayTimeout\n];\nconst RetryableHttpVerbs = ['OPTIONS', 'GET', 'DELETE', 'HEAD'];\nconst ExponentialBackoffCeiling = 10;\nconst ExponentialBackoffTimeSlice = 5;\nclass HttpClientError extends Error {\n constructor(message, statusCode) {\n super(message);\n this.name = 'HttpClientError';\n this.statusCode = statusCode;\n Object.setPrototypeOf(this, HttpClientError.prototype);\n }\n}\nexports.HttpClientError = HttpClientError;\nclass HttpClientResponse {\n constructor(message) {\n this.message = message;\n }\n readBody() {\n return new Promise(async (resolve, reject) => {\n let output = Buffer.alloc(0);\n this.message.on('data', (chunk) => {\n output = Buffer.concat([output, chunk]);\n });\n this.message.on('end', () => {\n resolve(output.toString());\n });\n });\n }\n}\nexports.HttpClientResponse = HttpClientResponse;\nfunction isHttps(requestUrl) {\n let parsedUrl = new URL(requestUrl);\n return parsedUrl.protocol === 'https:';\n}\nexports.isHttps = isHttps;\nclass HttpClient {\n constructor(userAgent, handlers, requestOptions) {\n this._ignoreSslError = false;\n this._allowRedirects = true;\n this._allowRedirectDowngrade = false;\n this._maxRedirects = 50;\n this._allowRetries = false;\n this._maxRetries = 1;\n this._keepAlive = false;\n this._disposed = false;\n this.userAgent = userAgent;\n this.handlers = handlers || [];\n this.requestOptions = requestOptions;\n if (requestOptions) {\n if (requestOptions.ignoreSslError != null) {\n this._ignoreSslError = requestOptions.ignoreSslError;\n }\n this._socketTimeout = requestOptions.socketTimeout;\n if (requestOptions.allowRedirects != null) {\n this._allowRedirects = requestOptions.allowRedirects;\n }\n if (requestOptions.allowRedirectDowngrade != null) {\n this._allowRedirectDowngrade = requestOptions.allowRedirectDowngrade;\n }\n if (requestOptions.maxRedirects != null) {\n this._maxRedirects = Math.max(requestOptions.maxRedirects, 0);\n }\n if (requestOptions.keepAlive != null) {\n this._keepAlive = requestOptions.keepAlive;\n }\n if (requestOptions.allowRetries != null) {\n this._allowRetries = requestOptions.allowRetries;\n }\n if (requestOptions.maxRetries != null) {\n this._maxRetries = requestOptions.maxRetries;\n }\n }\n }\n options(requestUrl, additionalHeaders) {\n return this.request('OPTIONS', requestUrl, null, additionalHeaders || {});\n }\n get(requestUrl, additionalHeaders) {\n return this.request('GET', requestUrl, null, additionalHeaders || {});\n }\n del(requestUrl, additionalHeaders) {\n return this.request('DELETE', requestUrl, null, additionalHeaders || {});\n }\n post(requestUrl, data, additionalHeaders) {\n return this.request('POST', requestUrl, data, additionalHeaders || {});\n }\n patch(requestUrl, data, additionalHeaders) {\n return this.request('PATCH', requestUrl, data, additionalHeaders || {});\n }\n put(requestUrl, data, additionalHeaders) {\n return this.request('PUT', requestUrl, data, additionalHeaders || {});\n }\n head(requestUrl, additionalHeaders) {\n return this.request('HEAD', requestUrl, null, additionalHeaders || {});\n }\n sendStream(verb, requestUrl, stream, additionalHeaders) {\n return this.request(verb, requestUrl, stream, additionalHeaders);\n }\n /**\n * Gets a typed object from an endpoint\n * Be aware that not found returns a null. Other errors (4xx, 5xx) reject the promise\n */\n async getJson(requestUrl, additionalHeaders = {}) {\n additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson);\n let res = await this.get(requestUrl, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n }\n async postJson(requestUrl, obj, additionalHeaders = {}) {\n let data = JSON.stringify(obj, null, 2);\n additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson);\n additionalHeaders[Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.ContentType, MediaTypes.ApplicationJson);\n let res = await this.post(requestUrl, data, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n }\n async putJson(requestUrl, obj, additionalHeaders = {}) {\n let data = JSON.stringify(obj, null, 2);\n additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson);\n additionalHeaders[Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.ContentType, MediaTypes.ApplicationJson);\n let res = await this.put(requestUrl, data, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n }\n async patchJson(requestUrl, obj, additionalHeaders = {}) {\n let data = JSON.stringify(obj, null, 2);\n additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson);\n additionalHeaders[Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.ContentType, MediaTypes.ApplicationJson);\n let res = await this.patch(requestUrl, data, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n }\n /**\n * Makes a raw http request.\n * All other methods such as get, post, patch, and request ultimately call this.\n * Prefer get, del, post and patch\n */\n async request(verb, requestUrl, data, headers) {\n if (this._disposed) {\n throw new Error('Client has already been disposed.');\n }\n let parsedUrl = new URL(requestUrl);\n let info = this._prepareRequest(verb, parsedUrl, headers);\n // Only perform retries on reads since writes may not be idempotent.\n let maxTries = this._allowRetries && RetryableHttpVerbs.indexOf(verb) != -1\n ? this._maxRetries + 1\n : 1;\n let numTries = 0;\n let response;\n while (numTries < maxTries) {\n response = await this.requestRaw(info, data);\n // Check if it's an authentication challenge\n if (response &&\n response.message &&\n response.message.statusCode === HttpCodes.Unauthorized) {\n let authenticationHandler;\n for (let i = 0; i < this.handlers.length; i++) {\n if (this.handlers[i].canHandleAuthentication(response)) {\n authenticationHandler = this.handlers[i];\n break;\n }\n }\n if (authenticationHandler) {\n return authenticationHandler.handleAuthentication(this, info, data);\n }\n else {\n // We have received an unauthorized response but have no handlers to handle it.\n // Let the response return to the caller.\n return response;\n }\n }\n let redirectsRemaining = this._maxRedirects;\n while (HttpRedirectCodes.indexOf(response.message.statusCode) != -1 &&\n this._allowRedirects &&\n redirectsRemaining > 0) {\n const redirectUrl = response.message.headers['location'];\n if (!redirectUrl) {\n // if there's no location to redirect to, we won't\n break;\n }\n let parsedRedirectUrl = new URL(redirectUrl);\n if (parsedUrl.protocol == 'https:' &&\n parsedUrl.protocol != parsedRedirectUrl.protocol &&\n !this._allowRedirectDowngrade) {\n throw new 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.');\n }\n // we need to finish reading the response before reassigning response\n // which will leak the open socket.\n await response.readBody();\n // strip authorization header if redirected to a different hostname\n if (parsedRedirectUrl.hostname !== parsedUrl.hostname) {\n for (let header in headers) {\n // header names are case insensitive\n if (header.toLowerCase() === 'authorization') {\n delete headers[header];\n }\n }\n }\n // let's make the request with the new redirectUrl\n info = this._prepareRequest(verb, parsedRedirectUrl, headers);\n response = await this.requestRaw(info, data);\n redirectsRemaining--;\n }\n if (HttpResponseRetryCodes.indexOf(response.message.statusCode) == -1) {\n // If not a retry code, return immediately instead of retrying\n return response;\n }\n numTries += 1;\n if (numTries < maxTries) {\n await response.readBody();\n await this._performExponentialBackoff(numTries);\n }\n }\n return response;\n }\n /**\n * Needs to be called if keepAlive is set to true in request options.\n */\n dispose() {\n if (this._agent) {\n this._agent.destroy();\n }\n this._disposed = true;\n }\n /**\n * Raw request.\n * @param info\n * @param data\n */\n requestRaw(info, data) {\n return new Promise((resolve, reject) => {\n let callbackForResult = function (err, res) {\n if (err) {\n reject(err);\n }\n resolve(res);\n };\n this.requestRawWithCallback(info, data, callbackForResult);\n });\n }\n /**\n * Raw request with callback.\n * @param info\n * @param data\n * @param onResult\n */\n requestRawWithCallback(info, data, onResult) {\n let socket;\n if (typeof data === 'string') {\n info.options.headers['Content-Length'] = Buffer.byteLength(data, 'utf8');\n }\n let callbackCalled = false;\n let handleResult = (err, res) => {\n if (!callbackCalled) {\n callbackCalled = true;\n onResult(err, res);\n }\n };\n let req = info.httpModule.request(info.options, (msg) => {\n let res = new HttpClientResponse(msg);\n handleResult(null, res);\n });\n req.on('socket', sock => {\n socket = sock;\n });\n // If we ever get disconnected, we want the socket to timeout eventually\n req.setTimeout(this._socketTimeout || 3 * 60000, () => {\n if (socket) {\n socket.end();\n }\n handleResult(new Error('Request timeout: ' + info.options.path), null);\n });\n req.on('error', function (err) {\n // err has statusCode property\n // res should have headers\n handleResult(err, null);\n });\n if (data && typeof data === 'string') {\n req.write(data, 'utf8');\n }\n if (data && typeof data !== 'string') {\n data.on('close', function () {\n req.end();\n });\n data.pipe(req);\n }\n else {\n req.end();\n }\n }\n /**\n * Gets an http agent. This function is useful when you need an http agent that handles\n * routing through a proxy server - depending upon the url and proxy environment variables.\n * @param serverUrl The server URL where the request will be sent. For example, https://api.github.com\n */\n getAgent(serverUrl) {\n let parsedUrl = new URL(serverUrl);\n return this._getAgent(parsedUrl);\n }\n _prepareRequest(method, requestUrl, headers) {\n const info = {};\n info.parsedUrl = requestUrl;\n const usingSsl = info.parsedUrl.protocol === 'https:';\n info.httpModule = usingSsl ? https : http;\n const defaultPort = usingSsl ? 443 : 80;\n info.options = {};\n info.options.host = info.parsedUrl.hostname;\n info.options.port = info.parsedUrl.port\n ? parseInt(info.parsedUrl.port)\n : defaultPort;\n info.options.path =\n (info.parsedUrl.pathname || '') + (info.parsedUrl.search || '');\n info.options.method = method;\n info.options.headers = this._mergeHeaders(headers);\n if (this.userAgent != null) {\n info.options.headers['user-agent'] = this.userAgent;\n }\n info.options.agent = this._getAgent(info.parsedUrl);\n // gives handlers an opportunity to participate\n if (this.handlers) {\n this.handlers.forEach(handler => {\n handler.prepareRequest(info.options);\n });\n }\n return info;\n }\n _mergeHeaders(headers) {\n const lowercaseKeys = obj => Object.keys(obj).reduce((c, k) => ((c[k.toLowerCase()] = obj[k]), c), {});\n if (this.requestOptions && this.requestOptions.headers) {\n return Object.assign({}, lowercaseKeys(this.requestOptions.headers), lowercaseKeys(headers));\n }\n return lowercaseKeys(headers || {});\n }\n _getExistingOrDefaultHeader(additionalHeaders, header, _default) {\n const lowercaseKeys = obj => Object.keys(obj).reduce((c, k) => ((c[k.toLowerCase()] = obj[k]), c), {});\n let clientHeader;\n if (this.requestOptions && this.requestOptions.headers) {\n clientHeader = lowercaseKeys(this.requestOptions.headers)[header];\n }\n return additionalHeaders[header] || clientHeader || _default;\n }\n _getAgent(parsedUrl) {\n let agent;\n let proxyUrl = pm.getProxyUrl(parsedUrl);\n let useProxy = proxyUrl && proxyUrl.hostname;\n if (this._keepAlive && useProxy) {\n agent = this._proxyAgent;\n }\n if (this._keepAlive && !useProxy) {\n agent = this._agent;\n }\n // if agent is already assigned use that agent.\n if (!!agent) {\n return agent;\n }\n const usingSsl = parsedUrl.protocol === 'https:';\n let maxSockets = 100;\n if (!!this.requestOptions) {\n maxSockets = this.requestOptions.maxSockets || http.globalAgent.maxSockets;\n }\n if (useProxy) {\n // If using proxy, need tunnel\n if (!tunnel) {\n tunnel = require('tunnel');\n }\n const agentOptions = {\n maxSockets: maxSockets,\n keepAlive: this._keepAlive,\n proxy: {\n ...((proxyUrl.username || proxyUrl.password) && {\n proxyAuth: `${proxyUrl.username}:${proxyUrl.password}`\n }),\n host: proxyUrl.hostname,\n port: proxyUrl.port\n }\n };\n let tunnelAgent;\n const overHttps = proxyUrl.protocol === 'https:';\n if (usingSsl) {\n tunnelAgent = overHttps ? tunnel.httpsOverHttps : tunnel.httpsOverHttp;\n }\n else {\n tunnelAgent = overHttps ? tunnel.httpOverHttps : tunnel.httpOverHttp;\n }\n agent = tunnelAgent(agentOptions);\n this._proxyAgent = agent;\n }\n // if reusing agent across request and tunneling agent isn't assigned create a new agent\n if (this._keepAlive && !agent) {\n const options = { keepAlive: this._keepAlive, maxSockets: maxSockets };\n agent = usingSsl ? new https.Agent(options) : new http.Agent(options);\n this._agent = agent;\n }\n // if not using private agent and tunnel agent isn't setup then use global agent\n if (!agent) {\n agent = usingSsl ? https.globalAgent : http.globalAgent;\n }\n if (usingSsl && this._ignoreSslError) {\n // we don't want to set NODE_TLS_REJECT_UNAUTHORIZED=0 since that will affect request for entire process\n // http.RequestOptions doesn't expose a way to modify RequestOptions.agent.options\n // we have to cast it to any and change it directly\n agent.options = Object.assign(agent.options || {}, {\n rejectUnauthorized: false\n });\n }\n return agent;\n }\n _performExponentialBackoff(retryNumber) {\n retryNumber = Math.min(ExponentialBackoffCeiling, retryNumber);\n const ms = ExponentialBackoffTimeSlice * Math.pow(2, retryNumber);\n return new Promise(resolve => setTimeout(() => resolve(), ms));\n }\n static dateTimeDeserializer(key, value) {\n if (typeof value === 'string') {\n let a = new Date(value);\n if (!isNaN(a.valueOf())) {\n return a;\n }\n }\n return value;\n }\n async _processResponse(res, options) {\n return new Promise(async (resolve, reject) => {\n const statusCode = res.message.statusCode;\n const response = {\n statusCode: statusCode,\n result: null,\n headers: {}\n };\n // not found leads to null obj returned\n if (statusCode == HttpCodes.NotFound) {\n resolve(response);\n }\n let obj;\n let contents;\n // get the result from the body\n try {\n contents = await res.readBody();\n if (contents && contents.length > 0) {\n if (options && options.deserializeDates) {\n obj = JSON.parse(contents, HttpClient.dateTimeDeserializer);\n }\n else {\n obj = JSON.parse(contents);\n }\n response.result = obj;\n }\n response.headers = res.message.headers;\n }\n catch (err) {\n // Invalid resource (contents not json); leaving result obj null\n }\n // note that 3xx redirects are handled by the http layer.\n if (statusCode > 299) {\n let msg;\n // if exception/error in body, attempt to get better error\n if (obj && obj.message) {\n msg = obj.message;\n }\n else if (contents && contents.length > 0) {\n // it may be the case that the exception is in the body message as string\n msg = contents;\n }\n else {\n msg = 'Failed request: (' + statusCode + ')';\n }\n let err = new HttpClientError(msg, statusCode);\n err.result = response.result;\n reject(err);\n }\n else {\n resolve(response);\n }\n });\n }\n}\nexports.HttpClient = HttpClient;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nfunction getProxyUrl(reqUrl) {\n let usingSsl = reqUrl.protocol === 'https:';\n let proxyUrl;\n if (checkBypass(reqUrl)) {\n return proxyUrl;\n }\n let proxyVar;\n if (usingSsl) {\n proxyVar = process.env['https_proxy'] || process.env['HTTPS_PROXY'];\n }\n else {\n proxyVar = process.env['http_proxy'] || process.env['HTTP_PROXY'];\n }\n if (proxyVar) {\n proxyUrl = new URL(proxyVar);\n }\n return proxyUrl;\n}\nexports.getProxyUrl = getProxyUrl;\nfunction checkBypass(reqUrl) {\n if (!reqUrl.hostname) {\n return false;\n }\n let noProxy = process.env['no_proxy'] || process.env['NO_PROXY'] || '';\n if (!noProxy) {\n return false;\n }\n // Determine the request port\n let reqPort;\n if (reqUrl.port) {\n reqPort = Number(reqUrl.port);\n }\n else if (reqUrl.protocol === 'http:') {\n reqPort = 80;\n }\n else if (reqUrl.protocol === 'https:') {\n reqPort = 443;\n }\n // Format the request hostname and hostname with port\n let upperReqHosts = [reqUrl.hostname.toUpperCase()];\n if (typeof reqPort === 'number') {\n upperReqHosts.push(`${upperReqHosts[0]}:${reqPort}`);\n }\n // Compare request host against noproxy\n for (let upperNoProxyItem of noProxy\n .split(',')\n .map(x => x.trim().toUpperCase())\n .filter(x => x)) {\n if (upperReqHosts.some(x => x === upperNoProxyItem)) {\n return true;\n }\n }\n return false;\n}\nexports.checkBypass = checkBypass;\n",null,null,"import * as path from 'path';\nimport * as pypyInstall from './install-pypy';\nimport {\n IS_WINDOWS,\n WINDOWS_ARCHS,\n validateVersion,\n getPyPyVersionFromPath,\n readExactPyPyVersionFile,\n validatePythonVersionFormatForPyPy,\n IPyPyManifestRelease\n} from './utils';\n\nimport * as semver from 'semver';\nimport * as core from '@actions/core';\nimport * as tc from '@actions/tool-cache';\n\ninterface IPyPyVersionSpec {\n pypyVersion: string;\n pythonVersion: string;\n}\n\nexport async function findPyPyVersion(\n versionSpec: string,\n architecture: string,\n updateEnvironment: boolean,\n checkLatest: boolean,\n allowPreReleases: boolean\n): Promise<{resolvedPyPyVersion: string; resolvedPythonVersion: string}> {\n let resolvedPyPyVersion = '';\n let resolvedPythonVersion = '';\n let installDir: string | null;\n let releases: IPyPyManifestRelease[] | undefined;\n\n const pypyVersionSpec = parsePyPyVersion(versionSpec);\n\n if (checkLatest) {\n releases = await pypyInstall.getAvailablePyPyVersions();\n if (releases && releases.length > 0) {\n const releaseData = pypyInstall.findRelease(\n releases,\n pypyVersionSpec.pythonVersion,\n pypyVersionSpec.pypyVersion,\n architecture,\n false\n );\n\n if (releaseData) {\n core.info(\n `Resolved as PyPy ${releaseData.resolvedPyPyVersion} with Python (${releaseData.resolvedPythonVersion})`\n );\n pypyVersionSpec.pythonVersion = releaseData.resolvedPythonVersion;\n pypyVersionSpec.pypyVersion = releaseData.resolvedPyPyVersion;\n } else {\n core.info(\n `Failed to resolve PyPy ${pypyVersionSpec.pypyVersion} with Python (${pypyVersionSpec.pythonVersion}) from manifest`\n );\n }\n }\n }\n\n ({installDir, resolvedPythonVersion, resolvedPyPyVersion} = findPyPyToolCache(\n pypyVersionSpec.pythonVersion,\n pypyVersionSpec.pypyVersion,\n architecture\n ));\n\n if (!installDir) {\n ({installDir, resolvedPythonVersion, resolvedPyPyVersion} =\n await pypyInstall.installPyPy(\n pypyVersionSpec.pypyVersion,\n pypyVersionSpec.pythonVersion,\n architecture,\n allowPreReleases,\n releases\n ));\n }\n\n const pipDir = IS_WINDOWS ? 'Scripts' : 'bin';\n const _binDir = path.join(installDir, pipDir);\n const binaryExtension = IS_WINDOWS ? '.exe' : '';\n const pythonPath = path.join(\n IS_WINDOWS ? installDir : _binDir,\n `python${binaryExtension}`\n );\n const pythonLocation = pypyInstall.getPyPyBinaryPath(installDir);\n if (updateEnvironment) {\n core.exportVariable('pythonLocation', installDir);\n // https://cmake.org/cmake/help/latest/module/FindPython.html#module:FindPython\n core.exportVariable('Python_ROOT_DIR', installDir);\n // https://cmake.org/cmake/help/latest/module/FindPython2.html#module:FindPython2\n core.exportVariable('Python2_ROOT_DIR', installDir);\n // https://cmake.org/cmake/help/latest/module/FindPython3.html#module:FindPython3\n core.exportVariable('Python3_ROOT_DIR', installDir);\n core.exportVariable('PKG_CONFIG_PATH', pythonLocation + '/lib/pkgconfig');\n core.addPath(pythonLocation);\n core.addPath(_binDir);\n }\n core.setOutput('python-version', 'pypy' + resolvedPyPyVersion);\n core.setOutput('python-path', pythonPath);\n\n return {resolvedPyPyVersion, resolvedPythonVersion};\n}\n\nexport function findPyPyToolCache(\n pythonVersion: string,\n pypyVersion: string,\n architecture: string\n) {\n let resolvedPyPyVersion = '';\n let resolvedPythonVersion = '';\n let installDir: string | null = IS_WINDOWS\n ? findPyPyInstallDirForWindows(pythonVersion)\n : tc.find('PyPy', pythonVersion, architecture);\n\n if (installDir) {\n // 'tc.find' finds tool based on Python version but we also need to check\n // whether PyPy version satisfies requested version.\n resolvedPythonVersion = getPyPyVersionFromPath(installDir);\n resolvedPyPyVersion = readExactPyPyVersionFile(installDir);\n\n const isPyPyVersionSatisfies = semver.satisfies(\n resolvedPyPyVersion,\n pypyVersion\n );\n if (!isPyPyVersionSatisfies) {\n installDir = null;\n resolvedPyPyVersion = '';\n resolvedPythonVersion = '';\n }\n }\n\n if (!installDir) {\n core.info(\n `PyPy version ${pythonVersion} (${pypyVersion}) was not found in the local cache`\n );\n }\n\n return {installDir, resolvedPythonVersion, resolvedPyPyVersion};\n}\n\nexport function parsePyPyVersion(versionSpec: string): IPyPyVersionSpec {\n const versions = versionSpec.split('-').filter(item => !!item);\n\n if (/^(pypy)(.+)/.test(versions[0])) {\n const pythonVersion = versions[0].replace('pypy', '');\n versions.splice(0, 1, 'pypy', pythonVersion);\n }\n\n if (versions.length < 2 || versions[0] != 'pypy') {\n throw new Error(\n \"Invalid 'version' property for PyPy. PyPy version should be specified as 'pypy' or 'pypy-'. See README for examples and documentation.\"\n );\n }\n\n const pythonVersion = versions[1];\n let pypyVersion: string;\n if (versions.length > 2) {\n pypyVersion = pypyInstall.pypyVersionToSemantic(versions[2]);\n } else {\n pypyVersion = 'x';\n }\n\n if (!validateVersion(pythonVersion) || !validateVersion(pypyVersion)) {\n throw new Error(\n \"Invalid 'version' property for PyPy. Both Python version and PyPy versions should satisfy SemVer notation. See README for examples and documentation.\"\n );\n }\n\n if (!validatePythonVersionFormatForPyPy(pythonVersion)) {\n throw new Error(\n \"Invalid format of Python version for PyPy. Python version should be specified in format 'x.y'. See README for examples and documentation.\"\n );\n }\n\n return {\n pypyVersion: pypyVersion,\n pythonVersion: pythonVersion\n };\n}\n\nexport function findPyPyInstallDirForWindows(pythonVersion: string): string {\n let installDir = '';\n\n WINDOWS_ARCHS.forEach(\n architecture =>\n (installDir = installDir || tc.find('PyPy', pythonVersion, architecture))\n );\n\n return installDir;\n}\n","import * as os from 'os';\nimport * as path from 'path';\nimport * as core from '@actions/core';\nimport * as tc from '@actions/tool-cache';\nimport * as semver from 'semver';\nimport * as httpm from '@actions/http-client';\nimport * as exec from '@actions/exec';\nimport fs from 'fs';\n\nimport {\n IS_WINDOWS,\n WINDOWS_PLATFORMS,\n IPyPyManifestRelease,\n createSymlinkInFolder,\n isNightlyKeyword,\n writeExactPyPyVersionFile\n} from './utils';\n\nexport async function installPyPy(\n pypyVersion: string,\n pythonVersion: string,\n architecture: string,\n allowPreReleases: boolean,\n releases: IPyPyManifestRelease[] | undefined\n) {\n let downloadDir;\n\n releases = releases ?? (await getAvailablePyPyVersions());\n\n if (!releases || releases.length === 0) {\n throw new Error('No release was found in PyPy version.json');\n }\n\n let releaseData = findRelease(\n releases,\n pythonVersion,\n pypyVersion,\n architecture,\n false\n );\n\n if (allowPreReleases && (!releaseData || !releaseData.foundAsset)) {\n // check for pre-release\n core.info(\n [\n `Stable PyPy version ${pythonVersion} (${pypyVersion}) with arch ${architecture} not found`,\n `Trying pre-release versions`\n ].join(os.EOL)\n );\n releaseData = findRelease(\n releases,\n pythonVersion,\n pypyVersion,\n architecture,\n true\n );\n }\n\n if (!releaseData || !releaseData.foundAsset) {\n throw new Error(\n `PyPy version ${pythonVersion} (${pypyVersion}) with arch ${architecture} not found`\n );\n }\n\n const {foundAsset, resolvedPythonVersion, resolvedPyPyVersion} = releaseData;\n const downloadUrl = `${foundAsset.download_url}`;\n\n core.info(`Downloading PyPy from \"${downloadUrl}\" ...`);\n\n try {\n const pypyPath = await tc.downloadTool(downloadUrl);\n\n core.info('Extracting downloaded archive...');\n if (IS_WINDOWS) {\n downloadDir = await tc.extractZip(pypyPath);\n } else {\n downloadDir = await tc.extractTar(pypyPath, undefined, 'x');\n }\n\n // root folder in archive can have unpredictable name so just take the first folder\n // downloadDir is unique folder under TEMP and can't contain any other folders\n const archiveName = fs.readdirSync(downloadDir)[0];\n\n const toolDir = path.join(downloadDir, archiveName);\n let installDir = toolDir;\n if (!isNightlyKeyword(resolvedPyPyVersion)) {\n installDir = await tc.cacheDir(\n toolDir,\n 'PyPy',\n resolvedPythonVersion,\n architecture\n );\n }\n\n writeExactPyPyVersionFile(installDir, resolvedPyPyVersion);\n\n const binaryPath = getPyPyBinaryPath(installDir);\n await createPyPySymlink(binaryPath, resolvedPythonVersion);\n await installPip(binaryPath);\n\n return {installDir, resolvedPythonVersion, resolvedPyPyVersion};\n } catch (err) {\n if (err instanceof Error) {\n // Rate limit?\n if (\n err instanceof tc.HTTPError &&\n (err.httpStatusCode === 403 || err.httpStatusCode === 429)\n ) {\n core.info(\n `Received HTTP status code ${err.httpStatusCode}. This usually indicates the rate limit has been exceeded`\n );\n } else {\n core.info(err.message);\n }\n if (err.stack !== undefined) {\n core.debug(err.stack);\n }\n }\n throw err;\n }\n}\n\nexport async function getAvailablePyPyVersions() {\n const url = 'https://downloads.python.org/pypy/versions.json';\n const http: httpm.HttpClient = new httpm.HttpClient('tool-cache');\n\n const response = await http.getJson(url);\n if (!response.result) {\n throw new Error(\n `Unable to retrieve the list of available PyPy versions from '${url}'`\n );\n }\n\n return response.result;\n}\n\nasync function createPyPySymlink(\n pypyBinaryPath: string,\n pythonVersion: string\n) {\n const version = semver.coerce(pythonVersion)!;\n const pythonBinaryPostfix = semver.major(version);\n const pythonMinor = semver.minor(version);\n const pypyBinaryPostfix = pythonBinaryPostfix === 2 ? '' : '3';\n const pypyMajorMinorBinaryPostfix = `${pythonBinaryPostfix}.${pythonMinor}`;\n const binaryExtension = IS_WINDOWS ? '.exe' : '';\n\n core.info('Creating symlinks...');\n createSymlinkInFolder(\n pypyBinaryPath,\n `pypy${pypyBinaryPostfix}${binaryExtension}`,\n `python${pythonBinaryPostfix}${binaryExtension}`,\n true\n );\n\n createSymlinkInFolder(\n pypyBinaryPath,\n `pypy${pypyBinaryPostfix}${binaryExtension}`,\n `python${binaryExtension}`,\n true\n );\n\n createSymlinkInFolder(\n pypyBinaryPath,\n `pypy${pypyBinaryPostfix}${binaryExtension}`,\n `pypy${pypyMajorMinorBinaryPostfix}${binaryExtension}`,\n true\n );\n}\n\nasync function installPip(pythonLocation: string) {\n core.info('Installing and updating pip');\n const pythonBinary = path.join(pythonLocation, 'python');\n await exec.exec(`${pythonBinary} -m ensurepip`);\n\n await exec.exec(\n `${pythonLocation}/python -m pip install --ignore-installed pip`\n );\n}\n\nexport function findRelease(\n releases: IPyPyManifestRelease[],\n pythonVersion: string,\n pypyVersion: string,\n architecture: string,\n includePrerelease: boolean\n) {\n const options = {includePrerelease: includePrerelease};\n const filterReleases = releases.filter(item => {\n const isPythonVersionSatisfied = semver.satisfies(\n semver.coerce(item.python_version)!,\n pythonVersion\n );\n const isPyPyNightly =\n isNightlyKeyword(pypyVersion) && isNightlyKeyword(item.pypy_version);\n const isPyPyVersionSatisfied =\n isPyPyNightly ||\n semver.satisfies(\n pypyVersionToSemantic(item.pypy_version),\n pypyVersion,\n options\n );\n const isArchPresent =\n item.files &&\n (IS_WINDOWS\n ? isArchPresentForWindows(item, architecture)\n : isArchPresentForMacOrLinux(item, architecture, process.platform));\n return isPythonVersionSatisfied && isPyPyVersionSatisfied && isArchPresent;\n });\n\n if (filterReleases.length === 0) {\n return null;\n }\n\n const sortedReleases = filterReleases.sort((previous, current) => {\n return (\n semver.compare(\n semver.coerce(pypyVersionToSemantic(current.pypy_version))!,\n semver.coerce(pypyVersionToSemantic(previous.pypy_version))!\n ) ||\n semver.compare(\n semver.coerce(current.python_version)!,\n semver.coerce(previous.python_version)!\n )\n );\n });\n\n const foundRelease = sortedReleases[0];\n const foundAsset = IS_WINDOWS\n ? findAssetForWindows(foundRelease, architecture)\n : findAssetForMacOrLinux(foundRelease, architecture, process.platform);\n\n return {\n foundAsset,\n resolvedPythonVersion: foundRelease.python_version,\n resolvedPyPyVersion: foundRelease.pypy_version.trim()\n };\n}\n\n/** Get PyPy binary location from the tool of installation directory\n * - On Linux and macOS, the Python interpreter is in 'bin'.\n * - On Windows, it is in the installation root.\n */\nexport function getPyPyBinaryPath(installDir: string) {\n const _binDir = path.join(installDir, 'bin');\n return IS_WINDOWS ? installDir : _binDir;\n}\n\nexport function pypyVersionToSemantic(versionSpec: string) {\n const prereleaseVersion = /(\\d+\\.\\d+\\.\\d+)((?:a|b|rc))(\\d*)/g;\n return versionSpec.replace(prereleaseVersion, '$1-$2.$3');\n}\n\nexport function isArchPresentForWindows(item: any, architecture: string) {\n architecture = replaceX32toX86(architecture);\n return item.files.some(\n (file: any) =>\n WINDOWS_PLATFORMS.includes(file.platform) && file.arch === architecture\n );\n}\n\nexport function isArchPresentForMacOrLinux(\n item: any,\n architecture: string,\n platform: string\n) {\n return item.files.some(\n (file: any) => file.arch === architecture && file.platform === platform\n );\n}\n\nexport function findAssetForWindows(releases: any, architecture: string) {\n architecture = replaceX32toX86(architecture);\n return releases.files.find(\n (item: any) =>\n WINDOWS_PLATFORMS.includes(item.platform) && item.arch === architecture\n );\n}\n\nexport function findAssetForMacOrLinux(\n releases: any,\n architecture: string,\n platform: string\n) {\n return releases.files.find(\n (item: any) => item.arch === architecture && item.platform === platform\n );\n}\n\nfunction replaceX32toX86(architecture: string): string {\n // convert x32 to x86 because os.arch() returns x32 for 32-bit systems but PyPy releases json has x86 arch value.\n if (architecture === 'x32') {\n architecture = 'x86';\n }\n return architecture;\n}\n"],"mappings":"otBCUA,QAAS,CAAAA,EAAcC,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B,EAK3C,MAHqB,QAAjBA,CAAA,GACFA,CAAA,CAAe,KADjB,EAGOA,CACT,E"} \ No newline at end of file diff --git a/dist/modern/setup-cpp.js b/dist/modern/setup-cpp.js index 38a8e606..00215859 100644 --- a/dist/modern/setup-cpp.js +++ b/dist/modern/setup-cpp.js @@ -1,18 +1,18 @@ #!/usr/bin/env node -let e,t,r,n,i,o,s,a;function l(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0});}function c(e){return e&&e.__esModule?e.default:e;}function u(e,t,r){if("function"==typeof t&&(r=t,t={}),!r){if("function"!=typeof Promise)throw TypeError("callback not provided");return new Promise(function(r,n){u(e,t||{},function(e,t){e?n(e):r(t);});});}rS(e,t||{},function(e,n){e&&("EACCES"===e.code||t&&t.ignoreErrors)&&(e=null,n=!1),r(e,n);});}function p(e,t){let r;let n=e.options.env||process.env,i=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){}try{r=rb.sync(e.command,{path:n[r$({env:n})],pathExt:t?ip.delimiter:void 0});}catch(e){}finally{s&&process.chdir(i);}return r&&(r=ip.resolve(o?e.options.cwd:"",r)),r;}function d(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 f(e,t){return iR&&1===e&&!t.file?d(t.original,"spawn"):null;}function h(e,t,r){let n=rT(e,t,r),i=t5.spawn(n.command,n.args,n.options);return r_.hookChildProcess(i,n),i;}async function m(e,t){if(!e)throw Error("Expected a stream");t={maxBuffer:1/0,...t};let{maxBuffer:r}=t,n=r4(t);return await new Promise((t,i)=>{let o=e=>{e&&n.getBufferedLength()<=r2.MAX_LENGTH&&(e.bufferedData=n.getBufferedValue()),i(e);};(async()=>{try{await ot(e,n),t();}catch(e){o(e);}})(),n.on("data",()=>{n.getBufferedLength()>r&&o(new or());});}),n.getBufferedValue();}function g(){return(process.getuid?.()===0||!!process.env.CI)&&null!==c(rb).sync("sudo",{nothrow:!0});}function v(e,t=[],r=oh){return g()?rR.commandSync("sudo "+[e,...t].map(e=>`'${e}'`).join(" "),r):rR.sync(e,t,r);}function E(e,t=[],r=oh){return g()?rR.command("sudo "+[e,...t].map(e=>`'${e}'`).join(" "),r):c(rR)(e,t,r);}async function y(e){if(("linux"===c(rt).platform||"darwin"===c(rt).platform)&&g()&&void 0!==c(rt).env.SUDO_USER){let t=(0,id.statSync)(e).isDirectory();await E("chown",[...(t?["-R"]:[]),c(rt).env.SUDO_USER,e],oh);}}function w(e){return g()&&"string"==typeof process.env.SUDO_USER?"darwin"===process.platform?(0,ip.join)("/Users/",process.env.SUDO_USER,e):(0,ip.join)("/home/",process.env.SUDO_USER,e):c(rx)("~/"+e);}function x(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e));}catch(e){o(e);}}function a(e){try{l(n.throw(e));}catch(e){o(e);}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t);})).then(s,a);}l((n=n.apply(e,t||[])).next());});}function b(e,t){function r(r){return function(l){return function(r){if(n)throw TypeError("Generator is already executing.");for(;s&&(s=0,r[0]&&(a=0)),a;)try{if(n=1,i&&(o=2&r[0]?i.return:r[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,r[1])).done)return o;switch(i=0,o&&(r=[2&r[0],o.value]),r[0]){case 0:case 1:o=r;break;case 4:return a.label++,{value:r[1],done:!1};case 5:a.label++,i=r[1],r=[0];continue;case 7:r=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===r[0]||2===r[0])){a=0;continue;}if(3===r[0]&&(!o||r[1]>o[0]&&r[1]"PATH"===e.toUpperCase())||"Path";}function T({env:e=c(ro).env,...t}={}){e={...e};let r=O({env:e});return t.path=e[r],e[r]=function(e={}){let t;let{cwd:r=c(ro).cwd(),path:n=c(ro).env[O()],execPath:i=c(ro).execPath}=e,o=r instanceof URL?c(rs).fileURLToPath(r):r,s=c(rn).resolve(o),a=[];for(;t!==s;)a.push(c(rn).join(s,"node_modules/.bin")),t=s,s=c(rn).resolve(s,"..");return a.push(c(rn).resolve(o,i,"..")),[...a,n].join(c(rn).delimiter);}(t),e;}function C(e){return null!==e&&"object"==typeof e&&"function"==typeof e.pipe;}function $(e){return C(e)&&!1!==e.writable&&"function"==typeof e._write&&"object"==typeof e._writableState;}function A(e,t,r){let n;let i=sm(e,t,r),o=si(e,t),s=so(e,t);sf(s,i.options),oz(i.options);try{n=c(ri).spawn(i.file,i.args,i.options);}catch(r){let e=new(c(ri).ChildProcess)(),t=Promise.reject(ok({error:r,stdout:"",stderr:"",all:"",command:o,escapedCommand:s,parsed:i,timedOut:!1,isCanceled:!1,killed:!1}));return se(e,t),e;}let a=st(n),l=oK(n,i.options,a),u=oW(n,i.options,l),p={isCanceled:!1};n.kill=oF.bind(null,n.kill.bind(n)),n.cancel=oX.bind(null,n,p);let d=async()=>{let[{error:e,exitCode:t,signal:r,timedOut:a},l,c,d]=await o7(n,i.options,u),f=sg(i.options,l),h=sg(i.options,c),m=sg(i.options,d);if(e||0!==t||null!==r){let l=ok({error:e,exitCode:t,signal:r,stdout:f,stderr:h,all:m,command:o,escapedCommand:s,parsed:i,timedOut:a,isCanceled:p.isCanceled||!!i.options.signal&&i.options.signal.aborted,killed:n.killed});if(!i.options.reject)return l;throw l;}return{command:o,escapedCommand:s,exitCode:0,stdout:f,stderr:h,all:m,failed:!1,timedOut:!1,isCanceled:!1,killed:!1};},f=nT(d);return o3(n,i.options),n.all=o4(n,i.options),oQ(n),se(n,f),n;}function P(t,r=["-NoProfile","-NoLogo","-NonInteractive"],n={stdio:"inherit"}){return A(function(){if(void 0===e){let t=c(rb).sync("pwsh",{nothrow:!0});null!==t&&(e=t);let r=c(rb).sync("powershell",{nothrow:!0});null!==r&&(e=r);}if(void 0===e)throw Error("Could not find powershell");return e;}(),[...r,"-c",t],n);}async function N(e,t,r=sb){let n=function(e,t=!1){let r=t?c(nC)(e):e;return c(n$)(r,'"',"\\");}(t??"",r.shouldEscapeSpace);try{if(rm.GITHUB_ACTIONS)try{if(r.shouldAddOnlyIfNotDefined&&void 0!==process.env[e]){(0,nO.info)(`Environment variable ${e} is already defined. Skipping.`);return;}(0,nO.exportVariable)(e,n);}catch(t){(0,rg.error)(t),await L(e,n,r);}else await L(e,n,r);}catch(t){(0,rg.error)(t),(0,nO.setFailed)(`Failed to export environment variable ${e}=${n}. You should add it manually.`);}}async function _(e){if(!function(e){if(sI.some(t=>t.test(e))){let t=process.env.PATH?.split(ip.delimiter)??[];return t.includes(e);}return!1;}(e)){process.env.PATH=`${e}${ip.delimiter}${process.env.PATH}`;try{if(rm.GITHUB_ACTIONS)try{(0,nO.addPath)(e);}catch(t){(0,rg.error)(t),await D(e);}else await D(e);}catch(t){(0,rg.error)(t),(0,nO.setFailed)(`Failed to add ${e} to the percistent PATH. You should add it manually.`);}}}async function L(e,t,r){let n=t??"";switch(process.platform){case"win32":if(r.shouldAddOnlyIfNotDefined&&void 0!==process.env[e]){(0,nO.info)(`Environment variable ${e} is already defined. Skipping.`);return;}await P(`[Environment]::SetEnvironmentVariable('${e}', '${n}', "User")`),(0,nO.info)(`${e}='${n}' was set in the environment.`);return;case"linux":case"darwin":await k(),r.shouldAddOnlyIfNotDefined?((0,id.appendFileSync)(sS,` +let e,t,r,n,i,o,s,a;function l(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0});}function c(e){return e&&e.__esModule?e.default:e;}function u(e,t,r){if("function"==typeof t&&(r=t,t={}),!r){if("function"!=typeof Promise)throw TypeError("callback not provided");return new Promise(function(r,n){u(e,t||{},function(e,t){e?n(e):r(t);});});}rk(e,t||{},function(e,n){e&&("EACCES"===e.code||t&&t.ignoreErrors)&&(e=null,n=!1),r(e,n);});}function p(e,t){let r;let n=e.options.env||process.env,i=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){}try{r=rL.sync(e.command,{path:n[rU({env:n})],pathExt:t?nX.delimiter:void 0});}catch(e){}finally{s&&process.chdir(i);}return r&&(r=nX.resolve(o?e.options.cwd:"",r)),r;}function d(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 f(e,t){return iF&&1===e&&!t.file?d(t.original,"spawn"):null;}function h(e,t,r){let n=rN(e,t,r),i=t7.spawn(n.command,n.args,n.options);return rG.hookChildProcess(i,n),i;}function m(e){let t="string"==typeof e?"\n":"\n".charCodeAt(),r="string"==typeof e?"\r":"\r".charCodeAt();return e[e.length-1]===t&&(e=e.slice(0,-1)),e[e.length-1]===r&&(e=e.slice(0,-1)),e;}function v(e={}){let{env:t=process.env,platform:r=process.platform}=e;return"win32"!==r?"PATH":Object.keys(t).reverse().find(e=>"PATH"===e.toUpperCase())||"Path";}function g({env:e=c(ro).env,...t}={}){let r=v({env:e={...e}});return t.path=e[r],e[r]=function(e={}){let t;let{cwd:r=c(ro).cwd(),path:n=c(ro).env[v()],execPath:i=c(ro).execPath}=e,o=i instanceof URL?c(rs).fileURLToPath(i):i,s=r instanceof URL?c(rs).fileURLToPath(r):r,a=c(rn).resolve(s),l=[];for(;t!==a;)l.push(c(rn).join(a,"node_modules/.bin")),t=a,a=c(rn).resolve(a,"..");return l.push(c(rn).resolve(s,o,"..")),[...l,n].join(c(rn).delimiter);}(t),e;}function E(e){return null!==e&&"object"==typeof e&&"function"==typeof e.pipe;}function y(e){return E(e)&&!1!==e.writable&&"function"==typeof e._write&&"object"==typeof e._writableState;}async function w(e,t){if(!e)throw Error("Expected a stream");let{maxBuffer:r}=t={maxBuffer:1/0,...t},n=rW(t);return await new Promise((t,i)=>{let o=e=>{e&&n.getBufferedLength()<=rz.MAX_LENGTH&&(e.bufferedData=n.getBufferedValue()),i(e);};(async()=>{try{await o$(e,n),t();}catch(e){o(e);}})(),n.on("data",()=>{n.getBufferedLength()>r&&o(new oA());});}),n.getBufferedValue();}function x(e,t,r){let n;let i=o3(e,t,r),o=oz(e,t),s=oX(e,t);o2(s,i.options),oI(i.options);try{n=c(ri).spawn(i.file,i.args,i.options);}catch(t){let e=new(c(ri).ChildProcess)();return oB(e,Promise.reject(i8({error:t,stdout:"",stderr:"",all:"",command:o,escapedCommand:s,parsed:i,timedOut:!1,isCanceled:!1,killed:!1}))),e;}let a=oH(n),l=oR(n,i.options,a),u=oS(n,i.options,l),p={isCanceled:!1};n.kill=ov.bind(null,n.kill.bind(n)),n.cancel=ox.bind(null,n,p);let d=rB(async()=>{let[{error:e,exitCode:t,signal:r,timedOut:a},l,c,d]=await oM(n,i.options,u),f=o6(i.options,l),h=o6(i.options,c),m=o6(i.options,d);if(e||0!==t||null!==r){let l=i8({error:e,exitCode:t,signal:r,stdout:f,stderr:h,all:m,command:o,escapedCommand:s,parsed:i,timedOut:a,isCanceled:p.isCanceled||!!i.options.signal&&i.options.signal.aborted,killed:n.killed});if(!i.options.reject)return l;throw l;}return{command:o,escapedCommand:s,exitCode:0,stdout:f,stderr:h,all:m,failed:!1,timedOut:!1,isCanceled:!1,killed:!1};});return oD(n,i.options),n.all=ok(n,i.options),oC(n),oB(n,d),n;}function b(e,t,r){let n;let i=o3(e,t,r),o=oz(e,t),s=oX(e,t);o2(s,i.options);let a=oP(i.options);try{n=c(ri).spawnSync(i.file,i.args,{...i.options,input:a});}catch(e){throw i8({error:e,stdout:"",stderr:"",all:"",command:o,escapedCommand:s,parsed:i,timedOut:!1,isCanceled:!1,killed:!1});}let l=o6(i.options,n.stdout,n.error),u=o6(i.options,n.stderr,n.error);if(n.error||0!==n.status||null!==n.signal){let e=i8({stdout:l,stderr:u,error:n.error,signal:n.signal,exitCode:n.status,command:o,escapedCommand:s,parsed:i,timedOut:n.error&&"ETIMEDOUT"===n.error.code,isCanceled:!1,killed:null!==n.signal});if(!i.options.reject)return e;throw e;}return{command:o,escapedCommand:s,exitCode:0,stdout:l,stderr:u,failed:!1,timedOut:!1,isCanceled:!1,killed:!1};}function R(){return(process.getuid?.()===0||!!process.env.CI)&&null!==c(rI).sync("sudo",{nothrow:!0});}function I(e,t=[],r=o7){return R()?function(e,t){let[r,...n]=oW(e);return b(r,n,t);}(O(e,t),r):b(e,T(t),r);}function S(e,t=[],r=o7){return R()?function(e,t){let[r,...n]=oW(e);return x(r,n,t);}(O(e,t),r):x(e,T(t),r);}function O(e,t){return"sudo "+T([e,...t]).join(" ");}function T(e){return e.map(e=>`'${e}'`);}async function C(e){if(("linux"===process.platform||"darwin"===process.platform)&&R()&&void 0!==process.env.SUDO_USER){let t=c(nW).statSync(e).isDirectory();await S("chown",[...(t?["-R"]:[]),process.env.SUDO_USER,e],o7);}}function $(e){return R()&&"string"==typeof process.env.SUDO_USER?"darwin"===process.platform?(0,nX.join)("/Users/",process.env.SUDO_USER,e):(0,nX.join)("/home/",process.env.SUDO_USER,e):function(e){if("string"!=typeof e)throw TypeError("Expected a string, got "+typeof e);return nQ?e.replace(/^~(?=$|\/|\\)/,nQ):e;}("~/"+e);}function A(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e));}catch(e){o(e);}}function a(e){try{l(n.throw(e));}catch(e){o(e);}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t);})).then(s,a);}l((n=n.apply(e,t||[])).next());});}function _(e,t){function r(r){return function(l){return function(r){if(n)throw TypeError("Generator is already executing.");for(;s&&(s=0,r[0]&&(a=0)),a;)try{if(n=1,i&&(o=2&r[0]?i.return:r[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,r[1])).done)return o;switch(i=0,o&&(r=[2&r[0],o.value]),r[0]){case 0:case 1:o=r;break;case 4:return a.label++,{value:r[1],done:!1};case 5:a.label++,i=r[1],r=[0];continue;case 7:r=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===r[0]||2===r[0])){a=0;continue;}if(3===r[0]&&(!o||r[1]>o[0]&&r[1]{let[{error:e,exitCode:t,signal:r,timedOut:a},l,c,d]=await sS(n,i.options,u),f=sq(i.options,l),h=sq(i.options,c),m=sq(i.options,d);if(e||0!==t||null!==r){let l=se({error:e,exitCode:t,signal:r,stdout:f,stderr:h,all:m,command:o,escapedCommand:s,parsed:i,timedOut:a,isCanceled:p.isCanceled||!!i.options.signal&&i.options.signal.aborted,killed:n.killed});if(!i.options.reject)return l;throw l;}return{command:o,escapedCommand:s,exitCode:0,stdout:f,stderr:h,all:m,failed:!1,timedOut:!1,isCanceled:!1,killed:!1};});return sx(n,i.options),n.all=sb(n,i.options),sv(n),sC(n,d),n;}function D(t,r=["-NoProfile","-NoLogo","-NonInteractive"],n={stdio:"inherit"}){return L(function(){if(void 0===e){let t=c(rI).sync("pwsh",{nothrow:!0});null!==t&&(e=t);let r=c(rI).sync("powershell",{nothrow:!0});null!==r&&(e=r);}if(void 0===e)throw Error("Could not find powershell");return e;}(),[...r,"-c",t],n);}async function k(e,t,r=sY){let n=function(e,t=!1){let r=t?c(ns)(e):e;return c(na)(r,'"',"\\");}(t??"",r.shouldEscapeSpace);try{if(rE.GITHUB_ACTIONS)try{if(r.shouldAddOnlyIfNotDefined&&void 0!==process.env[e]){(0,no.info)(`Environment variable ${e} is already defined. Skipping.`);return;}(0,no.exportVariable)(e,n);}catch(t){(0,ry.error)(t),await j(e,n,r);}else await j(e,n,r);}catch(t){(0,ry.error)(t),(0,no.setFailed)(`Failed to export environment variable ${e}=${n}. You should add it manually.`);}}async function U(e){if(!(sJ.some(t=>t.test(e))&&(process.env.PATH?.split(nX.delimiter)??[]).includes(e))){process.env.PATH=`${e}${nX.delimiter}${process.env.PATH}`;try{if(rE.GITHUB_ACTIONS)try{(0,no.addPath)(e);}catch(t){(0,ry.error)(t),await M(e);}else await M(e);}catch(t){(0,ry.error)(t),(0,no.setFailed)(`Failed to add ${e} to the percistent PATH. You should add it manually.`);}}}async function j(e,t,r){let n=t??"";switch(process.platform){case"win32":if(r.shouldAddOnlyIfNotDefined&&void 0!==process.env[e]){(0,no.info)(`Environment variable ${e} is already defined. Skipping.`);return;}await D(`[Environment]::SetEnvironmentVariable('${e}', '${n}', "User")`),(0,no.info)(`${e}='${n}' was set in the environment.`);return;case"linux":case"darwin":await F(),r.shouldAddOnlyIfNotDefined?((0,nW.appendFileSync)(sQ,` if [ -z "\${${e}}" ]; then export ${e}="${n}"; fi -`),(0,nO.info)(`if not defined ${e} then ${e}="${n}" was added to "${sS}`)):((0,id.appendFileSync)(sS,` +`),(0,no.info)(`if not defined ${e} then ${e}="${n}" was added to "${sQ}`)):((0,nW.appendFileSync)(sQ,` export ${e}="${n}" -`),(0,nO.info)(`${e}="${n}" was added to "${sS}`));return;}process.env[e]=n;}async function D(e){switch(process.platform){case"win32":await P(`$USER_PATH=([Environment]::GetEnvironmentVariable("PATH", "User")); [Environment]::SetEnvironmentVariable("PATH", "${e};$USER_PATH", "User")`),(0,nO.info)(`"${e}" was added to the PATH.`);return;case"linux":case"darwin":await k(),(0,id.appendFileSync)(sS,` +`),(0,no.info)(`${e}="${n}" was added to "${sQ}`));return;}process.env[e]=n;}async function M(e){switch(process.platform){case"win32":await D(`$USER_PATH=([Environment]::GetEnvironmentVariable("PATH", "User")); [Environment]::SetEnvironmentVariable("PATH", "${e};$USER_PATH", "User")`),(0,no.info)(`"${e}" was added to the PATH.`);return;case"linux":case"darwin":await F(),(0,nW.appendFileSync)(sQ,` export PATH="${e}:$PATH" -`),(0,nO.info)(`"${e}" was added to "${sS}"`);return;default:return;}}async function k(){if(sR)return;let e="# Automatically Generated by setup-cpp\nexport SOURCE_CPPRC=0";if(await(0,nA.pathExists)(sS)){let t=(0,id.readFileSync)(sS,"utf8");if(t.includes(e))return;}(0,id.appendFileSync)(sS,` +`),(0,no.info)(`"${e}" was added to "${sQ}"`);return;default:return;}}async function F(){if(sZ)return;let e="# Automatically Generated by setup-cpp\nexport SOURCE_CPPRC=0";if((await(0,nl.pathExists)(sQ))&&(0,nW.readFileSync)(sQ,"utf8").includes(e))return;(0,nW.appendFileSync)(sQ,` ${e} -`),(0,nO.info)(`Added ${e} to ${sS}`);let t=` +`),(0,no.info)(`Added ${e} to ${sQ}`);let t=` # source .cpprc if SOURCE_CPPRC is not set to 0 -if [[ "$SOURCE_CPPRC" != 0 && -f "${sS}" ]]; then source "${sS}"; fi -`;try{let e=w(".profile");(0,id.appendFileSync)(e,t),(0,nO.info)(`${t} was added to ${e}`);let r=w(".bashrc");(0,id.appendFileSync)(r,t),(0,nO.info)(`${t} was added to ${r}`);}catch(e){(0,rg.warning)(`Failed to add ${t} to .profile or .bashrc. You should add it manually: ${e}`);}sR=!0;}async function U(){if(await(0,nA.pathExists)(sS)){let e=(0,id.readFileSync)(sS,"utf-8").split("\n"),t=[...new Set(e.reverse())].reverse();(0,id.writeFileSync)(sS,t.join("\n")),await y(sS);}}function j(e,t,r){let n;let i=as(e,t,r),o=s6(e,t),s=s5(e,t);ai(s,i.options),sM(i.options);try{n=c(ri).spawn(i.file,i.args,i.options);}catch(r){let e=new(c(ri).ChildProcess)(),t=Promise.reject(sT({error:r,stdout:"",stderr:"",all:"",command:o,escapedCommand:s,parsed:i,timedOut:!1,isCanceled:!1,killed:!1}));return s1(e,t),e;}let a=s2(n),l=sj(n,i.options,a),u=sF(n,i.options,l),p={isCanceled:!1};n.kill=sP.bind(null,n.kill.bind(n)),n.cancel=sk.bind(null,n,p);let d=async()=>{let[{error:e,exitCode:t,signal:r,timedOut:a},l,c,d]=await sQ(n,i.options,u),f=aa(i.options,l),h=aa(i.options,c),m=aa(i.options,d);if(e||0!==t||null!==r){let l=sT({error:e,exitCode:t,signal:r,stdout:f,stderr:h,all:m,command:o,escapedCommand:s,parsed:i,timedOut:a,isCanceled:p.isCanceled||!!i.options.signal&&i.options.signal.aborted,killed:n.killed});if(!i.options.reject)return l;throw l;}return{command:o,escapedCommand:s,exitCode:0,stdout:f,stderr:h,all:m,failed:!1,timedOut:!1,isCanceled:!1,killed:!1};},f=nT(d);return sz(n,i.options),n.all=sW(n,i.options),sH(n),s1(n,f),n;}function M(e,t,r){let n;let i=as(e,t,r),o=s6(e,t),s=s5(e,t);ai(s,i.options);let a=sq(i.options);try{n=c(ri).spawnSync(i.file,i.args,{...i.options,input:a});}catch(e){throw sT({error:e,stdout:"",stderr:"",all:"",command:o,escapedCommand:s,parsed:i,timedOut:!1,isCanceled:!1,killed:!1});}let l=aa(i.options,n.stdout,n.error),u=aa(i.options,n.stderr,n.error);if(n.error||0!==n.status||null!==n.signal){let e=sT({stdout:l,stderr:u,error:n.error,signal:n.signal,exitCode:n.status,command:o,escapedCommand:s,parsed:i,timedOut:n.error&&"ETIMEDOUT"===n.error.code,isCanceled:!1,killed:null!==n.signal});if(!i.options.reject)return e;throw e;}return{command:o,escapedCommand:s,exitCode:0,stdout:l,stderr:u,failed:!1,timedOut:!1,isCanceled:!1,killed:!1};}async function F(e,t=!1){let r;let n=H()?"nala":"apt-get";for(let{name:t,version:r}of e)(0,rg.info)(`Installing ${t} ${r??""} via ${n}`);process.env.DEBIAN_FRONTEND="noninteractive",(!aE||t)&&(V(n),aE=!0),ay||(await X(n),ay=!0);let i=[...new Set(e.flatMap(e=>e.repositories??[]))];if(0!==i.length){for(let e of i)v("add-apt-repository",["-y",e]);V(n);}let o=await Promise.all(e.map(e=>B(e.name,e.version)));try{v(n,["install","--fix-broken","-y",...o]);}catch(e){if("stderr"in e){let t=e.stderr;aw.some(e=>t.includes(e))&&((0,rg.warning)(`Failed to install packages ${o}. Retrying...`),v(n,["install","--fix-broken","-y",...o]));}else throw e;}return{binDir:"/usr/bin/"};}async function G(e,t){if(void 0!==t&&""!==t){let{stdout:r}=await j("apt-cache",["search","--names-only",`^${(0,nP.default)(e)}-${(0,nP.default)(t)}$`]);if(""!==r.trim())return nU.NameDashVersion;try{let{stdout:r}=await j("apt-cache",["show",`${e}=${t}`]);if(""===r.trim())return nU.NameEqualsVersion;}catch{}}try{let{stdout:t}=await j("apt-cache",["show",e]);if(""!==t.trim())return nU.Name;}catch{}return nU.None;}async function B(e,t){let r=await G(e,t);switch(r){case nU.NameDashVersion:return`${e}-${t}`;case nU.NameEqualsVersion:return`${e}=${t}`;case nU.Name:return e;case nU.None:default:throw Error(`Could not find package ${e} ${t??""}`);}}function H(){return null!==c(nN).sync("nala",{nothrow:!0});}function V(e){v(e,"nala"!==e?["update","-y"]:["update"]);}async function X(e){v(e,["install","--fix-broken","-y","software-properties-common","apt-utils","ca-certificates","gnupg"]);let t=[K(["3B4FE6ACC0B21F32","40976EAF437D05B5"],"setup-cpp-ubuntu-archive.gpg"),K(["1E9377A2BA9EF27F"],"launchpad-toolchain.gpg")];"nala"===e&&t.push(N("LANG","C.UTF-8",{shouldAddOnlyIfNotDefined:!0}),N("LC_ALL","C.UTF-8",{shouldAddOnlyIfNotDefined:!0})),await Promise.all(t);}function q(){v("gpg",["-k"]);}async function K(e,t,r="keyserver.ubuntu.com"){try{let n="/etc/apt/trusted.gpg.d/"+t;return(await(0,nA.pathExists)(n))||(q(),await Promise.all(e.map(async e=>{await E("gpg",["--no-default-keyring","--keyring","gnupg-ring:"+n,"--keyserver",r,"--recv-keys",e]),await E("chmod",["644",n]);}))),n;}catch(e){(0,rg.warning)(`Failed to add apt key via server ${r}: ${e}`);return;}}async function z(e,t){let r="/etc/apt/trusted.gpg.d/"+e;return(await(0,nA.pathExists)(r))||(q(),await F([{name:"curl"},{name:"ca-certificates"}],void 0),await j("curl",["-s",t,"-o","/tmp/"+e]),v("gpg",["--no-default-keyring","--keyring","gnupg-ring:"+r,"--import","/tmp/"+e]),v("chmod",["644",r])),r;}async function W(e,t){return rm.GITHUB_ACTIONS?E("update-alternatives",["--install","/usr/bin/"+e,e,t,"40"]):(await k(),av(sS,` -if [ $UID -eq 0 ]; then update-alternatives --install /usr/bin/${e} ${e} ${t} 40; fi -`));}async function Y(e){try{let{stdout:t}=await j("dpkg",["-l",e]),r=t.split("\n");return r.some(e=>e.startsWith("ii"));}catch{return!1;}}async function J(e,r,n){if(!["darwin","linux"].includes(process.platform))return;if("string"==typeof t)return{binDir:t};let i=c(nN).sync("brew",{nothrow:!0});if(null!==i)return{binDir:t=(0,nj.dirname)(i)};let o=c(ip).join((0,iu.tmpdir)(),"setup-cpp","brew");await(0,nM.mkdirP)(o),M("curl",["-LJO","https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh"],{cwd:o});let s=(0,ip.join)(o,"install.sh");if("linux"===process.platform){let e=(0,id.readFileSync)(s,"utf-8");e.replace("#!/bin/bash","");}return M("/bin/bash",[s],{stdio:"inherit",env:{NONINTERACTIVE:"1"}}),t=Q(),await _(t),{binDir:t};}function Q(){return"linux"===process.platform?"/home/linuxbrew/.linuxbrew/bin/":"/usr/local/bin/";}async function Z(e,t,r=[]){(0,nO.info)(`Installing ${e} ${t??""} via brew`),ax&&null!==c(nN).sync("brew",{nothrow:!0})||(await J("","",process.arch),ax=!0);let n=Q();return M((0,nj.join)(n,"brew"),["install",void 0!==t&&""!==t?`${e}@${t}`:e,...r],{stdio:"inherit"}),{binDir:n};}async function ee(e,t,n){if("win32"!==process.platform)return;if("string"==typeof r)return{binDir:r};let i=c(nN).sync("choco",{nothrow:!0});if(null!==i)return{binDir:r=(0,nj.dirname)(i)};let o="powershell.exe",s=c(nN).sync(`${process.env.SystemRoot}\\System32\\WindowsPowerShell\\v1.0\\powershell.exe`,{nothrow:!0});null!==s&&(o=s),M(o,["-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"});let a=`${process.env.ALLUSERSPROFILE}\\chocolatey\\bin`;await _(a);let l=c(nN).sync("choco",{nothrow:!0});if(r=null!==l?(0,nj.dirname)(l):`${process.env.ChocolateyInstall??"C:/ProgramData/chocolatey"}/bin`,await(0,nA.pathExists)(r))return{binDir:r};}async function et(e,t,r=[]){(0,rg.info)(`Installing ${e} ${t??""} via chocolatey`),ab&&null!==c(nN).sync("choco",{nothrow:!0})||(await ee("","",process.arch),ab=!0);let n=process.env.PATH,i={...process.env};if(delete i.TMP,delete i.TEMP,delete i.Path,i.PATH=n,void 0!==t&&""!==t)M("choco",["install","-y",e,"--version="+t,...r],{env:i,extendEnv:!1,stdio:"inherit"});else try{M("choco",["install","-y",e,...r],{env:i,extendEnv:!1,stdio:"inherit"});}catch(t){if(t.message.includes("exit code 3010"))(0,rg.info)(`${e} might require a reboot for the completion of the installation.`);else throw t;}let o=`${process.env.ChocolateyInstall??"C:/ProgramData/chocolatey"}/bin`;return await _(o),{binDir:o};}function er(){return"linux"===process.platform&&(void 0===o&&(o=null!==c(nN).sync("pacman",{nothrow:!0})),o);}function en(){return"linux"===process.platform&&(void 0===s&&(s=null!==c(nN).sync("dnf",{nothrow:!0})),s);}async function ei(e){for(let{name:t,version:r}of e)(0,rg.info)(`Installing ${t} ${r??""} via dnf`);let t=await Promise.all(e.map(e=>eo(e.name,e.version)));return v("dnf",["-y","install",...t]),{binDir:"/usr/bin/"};}async function eo(e,t){if(void 0!==t&&""!==t){let{stdout:r}=await j("dnf",["search","-q",`${e}-${t}`]);if(""!==r.trim())return`${e}-${t}`;{let{stdout:r}=await j("dnf",["search","-q",`${e}${t}`]);if(""!==r.trim())return`${e}${t}`;(0,rg.warning)(`Failed to install ${e} ${t} via dnf, trying without version`);}}return e;}function es(){return"linux"===process.platform&&(void 0===a&&(a=null!==c(nN).sync("apt-get",{nothrow:!0})),a);}async function ea(e,t,r){switch(process.platform){case"win32":return et("bazelisk",e);case"darwin":return Z("bazelisk",e);case"linux":if(er())throw Error("installing bazel on Arch linux is not supported yet");if(en())return await ei([{name:"dnf-plugins-core"}]),v("dnf",["copr","enable","vbatts/bazel"]),ei([{name:"bazel4"}]);if(es()){let t=await z("bazel-archive-keyring.gpg","https://bazel.build/bazel-release.pub.gpg");return v("bash",["-c",`echo "deb [arch=amd64 signed-by=${t}] https://storage.googleapis.com/bazel-apt stable jdk1.8" | tee /etc/apt/sources.list.d/bazel.list`]),F([{name:"bazel",version:e}],!0);}throw Error("Unsupported linux distribution");default:throw Error("Unsupported platform");}}async function el(e,t,r){(0,rg.info)(`Installing ${e} ${t??""} via pacman`);let n="pacman";if("yay"===r&&null===c(nN).sync("yay",{nothrow:!0}))throw Error(`yay is needed for ${e}, but it is not installed, please install it manually first`);aI||"yay"===r||(v(n,["-Sy","--noconfirm"]),aI=!0),aS||"yay"===r||(v(n,["-S","--noconfirm","base-devel"]),aS=!0);let i=e=>"yay"===r?M(r,["-S","--noconfirm",e]):v(r??n,["-S","--noconfirm",e]);if(void 0!==t&&""!==t){let r=await ec(n,e);if(r.includes(t))try{i(`${e}=${t}`);}catch{i(`${e}${t}`);}else(0,rg.info)(`Failed to install ${e} ${t} via pacman, trying without version`),i(e);}else i(e);return{binDir:"/usr/bin/"};}async function ec(e,t){let r=[];try{let{stdout:n}=await j(e,["-Si",t]);for(let e of n.matchAll(aR))r.push(e[1]);}catch(e){(0,rg.warning)(`Failed to get available versions for ${t}: ${e}`);}return r;}function eu(e,t){let r=[];t=t||aA.arch();let n=aP.join(eg(),e);if(aC.existsSync(n)){let e=aC.readdirSync(n);for(let i of e)if(eh(i)){let e=aP.join(n,i,t||"");aC.existsSync(e)&&aC.existsSync(`${e}.complete`)&&r.push(i);}}return r;}function ep(e){return nX(this,void 0,void 0,function*(){return e||(e=aP.join(ev(),ak.default())),yield aT.mkdirP(e),e;});}function ed(e,t,r){return nX(this,void 0,void 0,function*(){let n=aP.join(eg(),e,a_.clean(t)||t,r||"");aO.debug("destination "+n);let i=`${n}.complete`;return yield aT.rmRF(n),yield aT.rmRF(i),yield aT.mkdirP(n),n;});}function ef(e,t,r){let n=aP.join(eg(),e,a_.clean(t)||t,r||""),i=`${n}.complete`;aC.writeFileSync(i,""),aO.debug("finished caching tool");}function eh(e){let t=a_.clean(e)||"";aO.debug("isExplicit: "+t);let r=null!=a_.valid(t);return aO.debug("explicit? "+r),r;}function em(e,t){let r="";aO.debug(`evaluating ${e.length} versions`),e=e.sort((e,t)=>a_.gt(e,t)?1:-1);for(let n=e.length-1;n>=0;n--){let i=e[n],o=a_.satisfies(i,t);if(o){r=i;break;}}return r?aO.debug("matched: "+r):aO.debug("match not found"),r;}function eg(){let e=process.env.RUNNER_TOOL_CACHE||"";return t3.ok(e,"Expected RUNNER_TOOL_CACHE to be defined"),e;}function ev(){let e=process.env.RUNNER_TEMP||"";return t3.ok(e,"Expected RUNNER_TEMP to be defined"),e;}function eE(e,t){let r=rp[e];return void 0!==r?r:t;}function ey(e,t){if(!e||!t)throw Error("retry-as-promised must be passed a callback and a options set");t="number"==typeof t?{max:t}:t;let r={$current:"$current"in t?t.$current:1,max:t.max,timeout:t.timeout||void 0,match:t.match?Array.isArray(t.match)?t.match:[t.match]:[],backoffBase:void 0===t.backoffBase?100:t.backoffBase,backoffExponent:t.backoffExponent||1.1,report:t.report,name:t.name||e.name||"unknown"};return r.match&&!Array.isArray(r.match)&&(r.match=[r.match]),r.report&&r.report("Trying "+r.name+" #"+r.$current+" at "+new Date().toLocaleTimeString(),r),new Promise(function(t,n){let i,o,s;r.timeout&&(i=setTimeout(function(){o&&clearTimeout(o),n(new aG(r.name+" timed out",s));},r.timeout)),Promise.resolve(e({current:r.$current})).then(t).then(function(){i&&clearTimeout(i),o&&clearTimeout(o);}).catch(function(a){i&&clearTimeout(i),o&&clearTimeout(o),s=a,r.report&&r.report(a&&a.toString()||a,r,a);var l=r.$current(0,nF.downloadTool)(o),{name:o,max:4,backoffBase:2e3,report:e=>(0,rg.info)(e)});aB||((0,rg.info)("Installing extraction dependencies"),"linux"===process.platform&&(er()?await Promise.all([el("unzip"),el("tar"),el("xz")]):en()?await ei([{name:"unzip"},{name:"tar"},{name:"xz"}]):es()&&(await F([{name:"unzip"},{name:"tar"},{name:"xz-utils"}]))),aB=!0),(0,rg.info)(`Extracting ${r} to ${n}`),await u?.(r,n);}catch(r){throw Error(`Failed to download ${e} ${t} ${i} from ${o}: ${r}`);}return(0,rg.info)(`Add ${d} to PATH`),await _(d),rm.GITHUB_ACTIONS&&"string"==typeof process.env.RUNNER_TOOL_CACHE&&(await(0,nF.cacheDir)(n,e,t)),{installDir:p,binDir:d};}function ex(e,t,r){switch(process.platform){case"win32":return et("7zip",e);case"darwin":return Z("p7zip",e);case"linux":if(er())return el("p7zip",e);if(en())return ei([{name:"p7zip",version:e},{name:"p7zip-plugins",version:e}]);if(es())return F([{name:"p7zip-full",version:e}]);throw Error("Unsupported linux distribution");default:throw Error("Unsupported platform");}}async function eb(e,t){return await j(await eI(),["x",e,"-o"+t,"-y"],{stdio:"inherit"}),await y(t),t;}async function eI(){return void 0===n&&(null===c(nN).sync("7z",{nothrow:!0})&&(await ex("","",process.arch)),n="7z"),n;}function eS(e,t){return eb(e,t);}function eR(e,t){return eb(e,t);}async function eO(e,t,r=["--strip-components=0"]){try{await(0,nM.mkdirP)(t);}catch{}try{await j("tar",["xf",e,"-C",t,...r],{stdio:"inherit"});}catch(r){"win32"===process.platform&&r.message.includes("Can't create '\\\\?\\C:")&&(0,rg.warning)(`Failed to extract symlink ${e} to ${t}. Ignoring this symlink.`);}return y(t),t;}function eT(e,t,r){let n=c(n0)(e)??e;switch(t){case"win32":{let t;let i=c(nZ)(n,"v3.19.6");t=["ia32","x86","i386","x32"].includes(r)?i?"win32-x86":"windows-i386":i?"win64-x64":"windows-x86_64";let o=`cmake-${e}-${t}`;return{binRelativeDir:"bin/",binFileName:(0,nj.addExeExt)("cmake"),extractedFolderName:o,extractFunction:eR,url:`https://github.com/Kitware/CMake/releases/download/v${e}/${o}.zip`};}case"darwin":{let t=c(nZ)(n,"v3.19.1"),r=`cmake-${e}-${t?"Darwin-x86_64":"macos-universal"}`;return{binRelativeDir:"CMake.app/Contents/bin/",binFileName:(0,nj.addExeExt)("cmake"),extractedFolderName:r,extractFunction:nF.extractTar,url:`https://github.com/Kitware/CMake/releases/download/v${e}/${r}.tar.gz`};}case"linux":{let t;let i=c(nZ)(n,"v3.19.8");t=["aarch64"].includes(r)?i?"Linux-aarch64":"linux-aarch64":i?"Linux-x86_64":"linux-x86_64";let o=`cmake-${e}-${t}`;return{binRelativeDir:"bin/",binFileName:(0,nj.addExeExt)("cmake"),extractedFolderName:o,extractFunction:nF.extractTar,url:`https://github.com/Kitware/CMake/releases/download/v${e}/${o}.tar.gz`};}default:throw Error(`Unsupported platform '${t}'`);}}function eC(e,t,r){return ew("cmake",e,eT,t,r);}function e$(e){var t=e.length;return t?1===t?[e[0]]:2===t?[e[0],e[1]]:3===t?[e[0],e[1],e[2]]:n3.call(e,0):[];}function eA(e,t){return e===t||e!=e&&t!=t;}function eP(e,t){var r={};for(var n in e)r[n]=e[n];for(var n in t)r[n]=t[n];return r;}function eN(e,t){if(void 0===t&&(t={}),"function"==typeof e&&e.isMemoized)return eN(e.fn,eP(e.options,t));if("function"!=typeof e)throw TypeError("You must pass a function to `memoize`.");var r=t.isEqual,n=t.isMatchingKey,i=t.isPromise,o=void 0!==i&&i,s=t.maxSize,a=t.onCacheAdd,l=t.onCacheChange,c=t.onCacheHit,u=t.transformKey,p=eP({isEqual:void 0===r?eA:r,isMatchingKey:n,isPromise:o,maxSize:void 0===s?1:s,onCacheAdd:a,onCacheChange:l,onCacheHit:c,transformKey:u},function(e){var t={};for(var r in e)n2[r]||(t[r]=e[r]);return t;}(t)),d=new n4(p),f=d.keys,h=d.values,m=d.canTransformKey,g=d.shouldCloneArguments,v=d.shouldUpdateOnAdd,E=d.shouldUpdateOnChange,y=d.shouldUpdateOnHit,w=function(){var t=g?e$(arguments):arguments;m&&(t=u(t));var r=f.length?d.getKeyIndex(t):-1;if(-1!==r)y&&c(d,p,w),r&&(d.orderByLru(f[r],h[r],r),E&&l(d,p,w));else{var n=e.apply(this,arguments),i=g?t:e$(arguments);d.orderByLru(i,n,f.length),o&&d.updateAsyncCache(w),v&&a(d,p,w),E&&l(d,p,w);}return h[0];};return w.cache=d,w.fn=e,w.isMemoized=!0,w.options=p,w;}function e_(e,t){return new Promise(r=>{try{let n=(0,ig.request)(e,{method:t},e=>{r(void 0!==e.statusCode&&e.statusCode>=200&&e.statusCode<=399);});n.on("error",e=>{r(!1);}),n.end();}catch{r(!1);}});}function eL(e,t){return Array.from(e).filter(e=>/^\d+\.\d+\.\d+$/.test(e)&&e.startsWith(t)).sort((e,t)=>{try{return c(n7)(e,t);}catch(r){return e.localeCompare(t);}}).reverse();}async function eD(e,t,r,n){if("linux"===t&&r.includes("ubuntu")){let e=await n(t,r);if(null!==e&&(await n5(e)))return[r,e];}if(!e.has(r))throw Error(`Unsupported target! (platform='${t}', version='${r}'). Try one of the following: ${JSON.stringify(e)}`);let i=[];for(let o of eL(e,r)){let e=await n(t,o);if(null!==e){if(await n5(e))return[o,e];i.push(e);}}throw Error(`Unsupported target! (platform='${t}', version='${r}'). Try one of the following: ${JSON.stringify(e)}`);}async function ek(e,t=aH){try{let r=await(0,nK.getExecOutput)(e,["--version"]),n=r.stdout||r.stderr||"",i=n.trim().match(t)?.[1];return c(n0)(i)??void 0;}catch(e){console.error(e);return;}}async function eU(e,t,r=aH){let n=await ek(e,r);return void 0!==n&&""!==t&&-1!==c(n7)(n,t);}function ej(){switch(process.platform){case"win32":return"17.0.4";case"linux":return"17.0.5-ubuntu-22.04";case"darwin":return"15.0.3";default:return"17.0.5";}}async function eM(e,t,r){let n=await eB(e,t,r);c(t3)(void 0!==n.bin);let i=n.bin,o=await eq(i);if(void 0===o)throw Error("pip was not installed correctly");return await eF(i),await eG(i),n;}async function eF(e){try{(await e6(e))||(await e4(e,"pipx",void 0,{upgrade:!0,usePipx:!1})),await j(e,["-m","pipx","ensurepath"],{stdio:"inherit"}),await e4(e,"venv",void 0,{upgrade:!1,usePipx:!1});}catch(e){(0,rg.warning)(`Failed to install pipx: ${e.toString()}. Ignoring...`);}}async function eG(e){try{await e4(e,"setuptools",void 0,{upgrade:!0,isLibrary:!0,usePipx:!1}),await e4(e,"wheel",void 0,{upgrade:!0,isLibrary:!0,usePipx:!1});}catch(e){(0,rg.warning)(`Failed to install setuptools or wheel: ${e.toString()}. Ignoring...`);}}async function eB(e,t,r){let n;let i=await eV(t);if(void 0!==i){let e=(0,nj.dirname)(i);n={bin:i,installDir:e,binDir:e};}else{if(rm.GITHUB_ACTIONS)try{(0,rg.info)("Installing python in GitHub Actions");let{setupActionsPython:o}=await rh("5fF9z");await o(e,t,r),i=await eV(t);let s=(0,nj.dirname)(i);n={bin:i,installDir:s,binDir:s};}catch(e){(0,rg.warning)(e.toString());}void 0===n&&(n=await eH(t,e));}return(void 0===i||void 0===n.bin)&&(i=await eV(t),n.bin=i),n;}async function eH(e,t){let r;switch(process.platform){case"win32":{e?await et("python3",t,["--params=/InstallDir:"+e]):await et("python3",t);let n=await eV(e),i=(0,nj.dirname)(n);await _(i),r={installDir:i,binDir:i,bin:n};break;}case"darwin":{r=await Z("python3",t);let e=await j("brew",["--prefix","python"],{stdio:"pipe"}),n=(0,nj.join)(e.stdout,"libexec","bin");await _(n);break;}case"linux":if(er())r=await el("python",t);else if(en())r=await ei([{name:"python3",version:t}]);else if(es())r=await F([{name:"python3",version:t},{name:"python-is-python3"}]);else throw Error("Unsupported linux distributions");break;default:throw Error("Unsupported platform");}return r;}async function eV(e){for(let t of["python3","python"]){let r=await eX(t,e);if(void 0!==r)return r;}}async function eX(e,t){try{if(void 0!==t){let r=(0,nj.join)(t,(0,nj.addExeExt)(e));if((await(0,nA.pathExists)(r))&&(await eU(r,aX.python)))return r;}let r=(await c(nN)(e,{nothrow:!0,all:!0}))??[];for(let e of r)if(await eU(e,aX.python))return e;}catch{}}async function eq(e){let t=await eK();return void 0===t?((0,rg.info)("pip was not found. Installing pip"),await eW(e),eK()):t;}async function eK(){for(let e of["pip3","pip"]){let t=await ez(e);if(void 0!==t)return t;}}async function ez(e){try{let t=(await c(nN)(e,{nothrow:!0,all:!0}))??[];for(let e of t)if(null!==e&&(await eU(e,aX.pip)))return e;}catch{}}async function eW(e){let t=await eY(e);t||(await e9("pip"),await eY(e));}async function eY(e){try{return await j(e,["-m","ensurepip","-U","--upgrade"],{stdio:"inherit"}),!0;}catch(t){(0,rg.info)(t?.toString?.());try{return await j(e,["-m","pip","install","--upgrade","pip"],{stdio:"inherit"}),!0;}catch(e){(0,rg.info)(e?.toString?.());}}return!1;}async function eJ(e){let t=[];"linux"===process.platform?t.push("/home/runner/.local/bin/"):"darwin"===process.platform&&t.push("/usr/local/bin/");let r=(await(0,nK.getExecOutput)(`${e} -c "import sys;print(sys.base_exec_prefix);"`)).stdout.trim();return t.push((0,nj.join)(r,"Scripts"),(0,nj.join)(r,"Scripts","bin"),(0,nj.join)(r,"bin")),[...new Set(t)];}function eQ(e,t,r=null){return eZ(t)&&"linux"===process.platform&&null!==r&&e in aq?function(e,t){let r=e[0],n=Object.keys(t).map(e=>parseInt(e,10)).sort((e,t)=>t-e).find(e=>r>=e);return void 0===n?"":t[n];}(r,aq[e]):eZ(t)&&e in aV?aV[e]:"true"===t?"":t??"";}function eZ(e){return"true"===e||void 0===e;}async function e0(){var e,t;if("linux"!==process.platform)return[];let r=await(e="lsb_release",t=["-a"],new Promise((r,n)=>{t5.execFile(e,t,{encoding:"utf8",shell:!1},(i,o,s)=>{if(i){if("errno"in i&&"ENOENT"===i.code){r(null);return;}n(Error(`Could not execute \`${e} ${t.join(" ")}\`: ${i} (stderr=${s})`));return;}r(o);});}));if(null===r)return[];let n=null,i=null,o=!1;for(let e of r.split("\n")){let t=e.match(/^Distributor ID:\s*(.+)$/);if(null!==t){let e=t[1];if("Ubuntu"!==e)return[];o=!0;}let r=e.match(/^Description:\s*Ubuntu\s+(\d+)\.(\d+)(?:\.(\d+))?/);r&&(n=r);let s=e.match(/^Release:\s*(\d+)\.(\d+)(?:\.(\d+))?$/);if(s&&(i=s),o&&n&&i)break;}if(!o)return[];for(let e of[n,i])if(e){let t=[e[1],e[2]];return e[3]&&t.push(e[3]),t.map(e=>parseInt(e,10));}return[];}async function e1(){try{if(!es())return null;{try{null===c(nN).sync("lsb_release",{nothrow:!0})&&(await F([{name:"lsb-release"}]));}catch{return e2();}let e=await(0,n9.getUbuntuVersion)();if(0===e.length)return e2();return e;}}catch(e){return(0,rg.warning)(e.toString()),null;}}function e2(){let e=c(iu).version(),t=e.split("."),r=parseInt(t[0].replace("#",""),10),n=parseInt(t[1].replace("~",""),10),i=parseInt(t[2].split("-")[0],10);return[r,n,i];}async function e3(e,t,r={}){return e4(await aW(),e,t,r);}async function e4(e,t,r,n={}){let{usePipx:i=!0,user:o=!0,upgrade:s=!1,isLibrary:a=!1}=n,l=i&&!a&&(await e6(e)),c=l?"pipx":"pip",u=await e7(e,t);if(u)try{(0,nO.info)(`Installing ${t} ${r??""} via ${c}`);let n=void 0!==r&&""!==r?`${t}==${r}`:t,i=!l&&o?["--user"]:[];M(e,["-m",c,...(s?l?["upgrade"]:["install","--upgrade"]:["install"]),...i,n],{stdio:"inherit"});}catch(e){if((0,nO.info)(`Failed to install ${t} via ${c}: ${e}.`),(await e9(t))===null)throw Error(`Failed to install ${t} via ${c}: ${e}.`);}else if((await e9(t))===null)throw Error(`Failed to install ${t} as it was not found via ${c} or the system package manager`);let p=await aK(e),d=await e8(p,t);return await _(d),{binDir:d};}async function e6(e){return 0===(await j(e,["-m","pipx","--help"],{stdio:"ignore",reject:!1})).exitCode;}async function e5(){let e=(await eM(eQ("python",void 0,await az()),"",process.arch)).bin;if(void 0===e)throw Error("Python binary was not found");return e;}async function e7(e,t){let r=await j(e,["-m","pip","-qq","index","versions",t],{stdio:"ignore",reject:!1});return 0===r.exitCode;}async function e8(e,t){let r=await Promise.all(e.map(e=>(0,nA.pathExists)((0,nj.join)(e,(0,nj.addExeExt)(t))))),n=r.findIndex(e=>e);if(-1!==n){let t=e[n];return t;}let i=c(nN).sync((0,nj.addExeExt)(t),{nothrow:!0});return null!==i?(0,nj.dirname)(i):e[e.length-1];}function e9(e){if("linux"===process.platform){if((0,nO.info)(`Installing ${e} via the system package manager`),er())return el("python-"+e);if(en())return ei([{name:"python3-"+e}]);if(es())return F([{name:"python3-"+e}]);}return null;}async function te(e,t,r){switch(process.platform){case"win32":{await et("cppcheck",e);let t=await tt();return{binDir:t};}case"darwin":return Z("cppcheck",e);case"linux":if(er())return el("cppcheck",e);if(en())return ei([{name:"ccache",version:e}]);if(es())return F([{name:"cppcheck",version:e}]);throw Error("Unsupported linux distribution");default:throw Error("Unsupported platform");}}async function tt(){let e="C:/Program Files/Cppcheck";return await _(e),e;}async function tr(e,t,r){switch(process.platform){case"win32":return await et("graphviz",e),tn();case"darwin":return Z("graphviz",e);case"linux":if(er())return el("graphviz",e);if(en())return ei([{name:"graphviz",version:e}]);if(es())return F([{name:"graphviz",version:e}]);throw Error("Unsupported linux distribution");default:throw Error("Unsupported platform");}}async function tn(){if("win32"===process.platform){let e="C:/Program Files/Graphviz/bin";return await _(e),{binDir:e};}throw Error("Unsupported platform");}function ti(e,t,r){switch(t){case"linux":{let t="doxygen-"+e;return{binRelativeDir:"bin/",binFileName:(0,nj.addExeExt)("doxygen"),extractedFolderName:t,extractFunction:nF.extractTar,url:`https://www.doxygen.nl/files/${t}.linux.bin.tar.gz`};}case"win32":{let t="doxygen-"+e;return{binRelativeDir:"",binFileName:(0,nj.addExeExt)("doxygen"),extractedFolderName:t,extractFunction:eR,url:`https://www.doxygen.nl/files/${t}.windows.x64.bin.zip`};}default:throw Error(`Unsupported platform '${t}'`);}}async function to(e,t,r){switch(process.platform){case"win32":{await c(n1)(()=>et("doxygen.install",e),{name:"doxygen.install",max:4,backoffBase:2e3,report:e=>(0,rg.info)(e)});let t=await ts();return await tr(eQ("graphviz",void 0),"",r),{binDir:t};}case"darwin":{let e=await Z("doxygen",void 0);return await tr(eQ("graphviz",void 0),"",r),e;}case"linux":{let n;if(""===e||er()||en()){if(er())n=await el("doxygen",e);else if(en())return ei([{name:"doxygen",version:e}]);else if(es())n=await F([{name:"doxygen",version:e}]);else throw Error("Unsupported linux distributions");}else if(es())try{n=await ew("doxygen",e,ti,t,r),await F([{name:"libclang-cpp9"}]);}catch(e){(0,rg.notice)(`Failed to download doxygen binary. ${e}. Falling back to apt-get.`),n=await F([{name:"doxygen"}]);}else throw Error("Unsupported linux distributions");return await tr(eQ("graphviz",void 0,await az()),"",r),n;}default:throw Error("Unsupported platform");}}async function ts(){if("win32"===process.platform){for(let e of["C:/ProgramData/chocolatey/bin","C:/Program Files/doxygen/bin","C:/Program Files (x86)/doxygen"])if(await(0,nA.pathExists)((0,nj.join)(e,"doxygen.exe")))return await _(e),e;throw Error("Failed to find doxygen binary");}throw Error("Unsupported platform");}async function ta(){if("darwin"===process.platform)try{let e=await(0,nK.getExecOutput)("xcrun --sdk macosx --show-sdk-path"),t=e.stdout||e.stderr;t?await N("SDKROOT",t.trim()):(0,rg.error)("SDKROOT not set");}catch(e){(0,rg.error)(e);}}function tl(e,t,r){if("win32"===t){let t=aY[e];if(void 0===t)throw Error(`mingw version ${e} is not supported`);return{binRelativeDir:"bin/",binFileName:(0,nj.addExeExt)("g++"),extractedFolderName:"mingw64",extractFunction:eb,url:`https://github.com/brechtsanders/winlibs_mingw/releases/download/${t.releaseName}/winlibs-${"ia32"===r?"i686":"x86_64"}-posix-seh-gcc-${t.fileSuffix}.7z`};}throw Error(`Unsupported platform '${t}'`);}async function tc(e,t,r){let n;switch(process.platform){case"win32":("arm"===r||"arm64"===r)&&(await et("gcc-arm-embedded",e));try{n=await ew("g++",e,tl,t,r);}catch(t){(0,rg.info)(`Failed to download g++ binary. ${t}. Falling back to chocolatey.`),n=await tp(e,r);}break;case"darwin":n=await Z("gcc",e);break;case"linux":"x64"===r?er()?n=await el("gcc",e):en()?n=await ei([{name:"gcc",version:e},{name:"gcc-c++",version:e},{name:"libstdc++-devel"}]):es()&&(n=await F([{name:"gcc",version:e,repositories:["ppa:ubuntu-toolchain-r/test"]},{name:"g++",version:e,repositories:["ppa:ubuntu-toolchain-r/test"]}])):((0,rg.info)(`Install g++-multilib because gcc for ${r} was requested`),er()?await el("gcc-multilib",e):es()&&(await F([{name:"gcc-multilib",version:e,repositories:["ppa:ubuntu-toolchain-r/test"]}])));break;default:throw Error("Unsupported platform for "+r);}if(void 0!==n)return await td(e,n.binDir),n;}async function tu(e,t,r){let n;switch(process.platform){case"win32":case"darwin":return tc(e,t,r);case"linux":er()?n=await el("mingw-w64-gcc",e):en()?n=await ei([{name:"mingw64-gcc",version:e}]):es()&&(n=await F([{name:"mingw-w64",version:e,repositories:["ppa:ubuntu-toolchain-r/test"]}]));break;default:throw Error("Unsupported platform for "+r);}if(void 0!==n)return n;}async function tp(e,t){let r;if(await et("mingw",e),"x64"===t&&(await(0,nA.pathExists)("C:/tools/mingw64/bin"))?(r="C:/tools/mingw64/bin",await _(r)):"ia32"===t&&(await(0,nA.pathExists)("C:/tools/mingw32/bin"))?(r="C:/tools/mingw32/bin",await _(r)):(await(0,nA.pathExists)(`${process.env.ChocolateyInstall??"C:/ProgramData/chocolatey"}/bin/g++.exe`))&&(r=`${process.env.ChocolateyInstall??"C:/ProgramData/chocolatey"}/bin`),void 0!==r)return{binDir:r};}async function td(e,t){let r=[];if("win32"===process.platform)r.push(N("CC",(0,nj.addExeExt)(`${t}/gcc`)),N("CXX",(0,nj.addExeExt)(`${t}/g++`)));else{let n=c(ie)(c(n0)(e)??e);n>=5?(r.push(N("CC",`${t}/gcc-${n}`),N("CXX",`${t}/g++-${n}`)),es()&&r.push(W("cc",`${t}/gcc-${n}`),W("cxx",`${t}/g++-${n}`),W("gcc",`${t}/gcc-${n}`),W("g++",`${t}/g++-${n}`))):(r.push(N("CC",`${t}/gcc-${e}`),N("CXX",`${t}/g++-${e}`)),es()&&r.push(W("cc",`${t}/gcc-${e}`),W("cxx",`${t}/g++-${e}`),W("gcc",`${t}/gcc-${e}`),W("g++",`${t}/g++-${e}`)));}r.push(ta()),rm.GITHUB_ACTIONS&&(await tf()),await Promise.all(r);}async function tf(){let e=(0,nj.join)(it,"gcc_matcher.json");if(!(await(0,nA.pathExists)(e)))return(0,rg.warning)("the gcc_matcher.json file does not exist in the same folder as setup-cpp.js");(0,rg.info)("::add-matcher::"+e);}function th(e,t,r){let n=function(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,nj.addExeExt)("ninja"),extractedFolderName:"",extractFunction:eR,url:`https://github.com/ninja-build/ninja/releases/download/v${e}/ninja-${n}.zip`};}function tm(e,t,r){return ew("ninja",e,th,t,r);}function tg(e){return{url:`https://github.com/SimonKagstrom/kcov/releases/download/${e}/kcov-amd64.tar.gz`,extractedFolderName:"",binRelativeDir:"usr/local/bin",binFileName:(0,nj.addExeExt)("kcov"),extractFunction:eO};}function tv(e){return{url:`https://github.com/SimonKagstrom/kcov/archive/refs/tags/${e}.tar.gz`,extractedFolderName:"",binRelativeDir:"build/src",binFileName:(0,nj.addExeExt)("kcov"),extractFunction:tE};}async function tE(e,t){let r=await eO(e,t,["--strip-components=1"]),n=await ty();"linux"===process.platform&&(er()?await Promise.all([el("libdwarf"),el("libcurl-openssl")]):en()?await ei([{name:"libdwarf-devel"},{name:"libcurl-devel"}]):es()&&(await F([{name:"libdw-dev"},{name:"libcurl4-openssl-dev"}])));try{if(null!==c(nN).sync("patch",{nothrow:!0})){let e=(0,nj.join)(ir,"gcc13.patch");await j("patch",["-N","-p1","-i",e],{cwd:r,stdio:"inherit"});}else(0,rg.info)("`patch` not found, skipping gcc13.patch, kcov may not build on gcc 13");}catch{}let i=(0,nj.join)(r,"build");return await j(n,["-S",r,"-B",i,"-DCMAKE_BUILD_TYPE=Release","-G","Ninja"],{cwd:r,stdio:"inherit"}),await j(n,["--build",i,"--config","Release"],{cwd:r,stdio:"inherit"}),r;}async function ty(){let e=c(nN).sync("cmake",{nothrow:!0});if(null===e){let{binDir:t}=await eC(eQ("cmake",void 0,await az()),(0,nj.join)(w(""),"cmake"),"");e=(0,nj.join)(t,"cmake");}let t=c(nN).sync("ninja",{nothrow:!0});return null===t&&(await tm(eQ("ninja",void 0,await az()),(0,nj.join)(w(""),"ninja"),"")),e;}async function tw(e,t,r){var n;let i;if("linux"!==process.platform){(0,rg.info)("Kcov is not supported on non-linux");return;}let o=e.split("-"),s=(n=o[0]).match(/^v/)?n:"v"+n,a=o[1],l=parseInt(s.replace(/^v/,""),10);return 38===l&&(s="v38"),"binary"===a&&l>=39?(i=await ew("kcov",s,tg,t,r),er()?await el("binutils"):en()?await ei([{name:"binutils"}]):es()&&(await F([{name:"libbinutils"}]))):i=await ew("kcov",s,tv,t,r),i;}function tx(e){if(Object.values(a1).includes(e));else if(e in a1)return a1[e];return e;}function tb(e){let t;let r=tx(e);if(r){let e=r.split(".")[0]+".9";t=`-version "${r},${e}"`;}else t="-latest";let n=function(e,t){try{return t5.execSync(`vswhere -products * ${t} -prerelease -property installationPath`).toString().trim()+"\\"+e;}catch(e){nO.warning("vswhere failed: "+e);}return null;}("VC\\Auxiliary\\Build\\vcvarsall.bat",t);if(n&&id.existsSync(n))return nO.info("Found with vswhere: "+n),n;nO.info("Not found with vswhere");let i=e?[function(e){if(Object.keys(a1).includes(e));else for(let[t,r]of Object.entries(a1))if(r===e)return t;return e;}(e)]:a0;for(let e of aQ)for(let t of i)for(let r of aZ)if(n=`${e}\\Microsoft Visual Studio\\${t}\\${r}\\VC\\Auxiliary\\Build\\vcvarsall.bat`,nO.info("Trying standard location: "+n),id.existsSync(n))return nO.info("Found standard location: "+n),n;if(nO.info("Not found in standard locations"),n=`${aJ}\\Microsoft Visual C++ Build Tools\\vcbuildtools.bat`,id.existsSync(n))return nO.info("Found VS 2015: "+n),n;throw nO.info("Not found in VS 2015 location: "+n),Error("Microsoft Visual Studio not found");}async function tI(e,t,r,n,i,o,s){void 0!==t&&(await(0,nA.pathExists)(t))&&((0,rg.info)(`Adding ${t} to PATH`),await N("VCTargetsPath",t)),is(function(e){switch(e){case"x32":case"32":case"ia32":return"x86";case"64":return"x64";default:return e;}}(r),i,n,o,s,e);}async function tS(e,t,r,n,i,o,s,a=a7){(0,nO.startGroup)(`Installing ${e} ${t}`);let l=!1;try{l=await function(e,t){let r;let{milliseconds:n,fallback:i,message:o,customTimers:s={setTimeout:setTimeout,clearTimeout:clearTimeout}}=t,a=new Promise((a,l)=>{if("number"!=typeof n||1!==Math.sign(n))throw TypeError(`Expected \`milliseconds\` to be a positive number, got \`${n}\``);if(t.signal){let{signal:e}=t;e.aborted&&l(a5(e)),e.addEventListener("abort",()=>{l(a5(e));});}if(n===Number.POSITIVE_INFINITY){e.then(a,l);return;}let c=new a3();r=s.setTimeout.call(void 0,()=>{if(i){try{a(i());}catch(e){l(e);}return;}"function"==typeof e.cancel&&e.cancel(),!1===o?a():o instanceof Error?l(o):(c.message=o??`Promise timed out after ${n} milliseconds`,l(c));},n),(async()=>{try{a(await e);}catch(e){l(e);}})();}),l=a.finally(()=>{l.clear();});return l.clear=()=>{s.clearTimeout.call(void 0,r),r=void 0;},l;}(tR(e,t,r,n,l,i,o),{milliseconds:a,message:`Timeout while installing ${e} ${t}. You can increase the timeout from options`});}catch(t){(0,rg.error)(t),s.push(`${e} failed to install`);}return(0,nO.endGroup)(),l;}async function tR(e,t,r,n,i,o,s){let a;if("vcvarsall"===e)await tI(eQ(e,t,r),void 0,n,void 0,void 0,!1,!1);else{let s=lp[e];i=["llvm","clangformat","clangtidy"].includes(e);let l=(0,nj.join)(o,i?"llvm":e);a=await s(eQ(e,t,r),l,n);}return s.push(tY(e,a)),i;}async function tO(e,t=ia.All){let r="/usr/lib/llvm-"+e;await F([{name:"curl"}]),await j("curl",["-LJO","https://apt.llvm.org/llvm.sh"],{cwd:"/tmp"});let n=await tT("/tmp/llvm.sh","/tmp/llvm-setup-cpp.sh",e,t);return await F(n),await le("/tmp/llvm-setup-cpp.sh","755"),await E("bash",["/tmp/llvm-setup-cpp.sh",""+e,...(t===ia.All?["all"]:[])],{stdio:"inherit",shell:!0,timeout:a7}),await _(`${r}/bin`),{installDir:""+r,binDir:`${r}/bin`,bin:`${r}/bin/clang++`};}async function tT(e,t,r,n){var i,o,s,a,l;let c=await a8(e,"utf-8");return c=(i=c,c=process.env.NODE_DEBUG?i:i.replace(/set -eux/g,"set -eu")).replace(/add-apt-repository "\${REPO_NAME}"/g,'add-apt-repository -y "${REPO_NAME}"'),o=n,s=c,a=r,c=o===ia.ClangFormat?s.replace(/ -y \$PKG/g," -y clang-format-"+a):s,l=c=await tC(c),c=H()?l.replace(/apt-get/g,"nala"):l,await a9(t,c),[{name:"lsb-release"},{name:"wget"},{name:"software-properties-common"},{name:"gnupg"}];}async function tC(e){let t=e.replace(/apt-get install -y/g,'apt-get install -o Dpkg::Options::="--force-overwrite" -y --fix-broken');return await Promise.all(["libc++-$LLVM_VERSION-dev","libc++abi-$LLVM_VERSION-dev","libunwind-$LLVM_VERSION-dev"].map(async e=>{let r=e.replace("$LLVM_VERSION","*");(await Y(r))&&((0,ru.info)("Removing conflicting package "+r),t=t.replace(e,""));})),t;}function t$(e,t,r){let n=`${t}${e}${r}`;return`https://github.com/llvm/llvm-project/releases/download/llvmorg-${e}/${n}`;}function tA(e,t,r){let n=`${t}${e}${r}`;return`https://releases.llvm.org/${e}/${n}`;}async function tP(e){let t;if(lr.has(e))return null;let r="LLVM-",n=c(nZ)(e,"3.7.0")?"-win32.exe":"-win64.exe",i=c(nZ)(e,"9.0.1"),o=!1;return i&&(t=tA(e,r,n),(await n5(t))||(o=!0)),(o||!i)&&(t=t$(e,r,n)),t;}function tN(e,t){switch(e){case"darwin":return function(e){if(ln.has(e))return null;let t="9.0.0"===e?"-darwin-apple":"-apple-darwin",r="clang+llvm-",n=`-x86_64${t}.tar.xz`;return c(nZ)(e,"9.0.1")?tA(e,r,n):t$(e,r,n);}(t);case"linux":return function(e){let t,r,n=e,i=li.get(n);if(void 0!==i&&(n=i),n.includes("ubuntu")){let e=n.replace(/-ubuntu-.*/,"");if(!lt.has(e))throw Error("Unsupported Ubuntu version: "+e);t=n.replace(e,""),n=eL(lt,e)[0];}else""!==n&&n in lo?t=lo[n]:(t=lo[ls],(0,rg.warning)(`Falling back to LLVM version ${ls} ${t} for the Ubuntu.`));let o="clang+llvm-";return(r="5.0.0"===n?`-linux-x86_64${t}.tar.xz`:t.includes("-rhel86")?`-x86_64-unknown-linux-gnu${t}.tar.xz`:`-x86_64-linux-gnu${t}.tar.xz`,c(nZ)(n,"9.0.1"))?tA(n,o,r):t$(n,o,r);}(t);case"win32":return tP(t);default:return null;}}async function t_(e,t,r){let[n,i]=await eD(lt,t,e,tN);return(0,rg.info)("specific llvm version: "+n),{url:i,extractedFolderName:"",binRelativeDir:"bin",binFileName:(0,nj.addExeExt)("clang"),extractFunction:"win32"===t?eS:(e,t)=>eO(e,t,["--strip-components=1"])};}async function tL(e,t,r){let n=await la(e,t,r);return await tM(n.installDir??t),n;}async function tD(e,t,r){let[n,i,o]=await Promise.all([tk(e,t,r),lc(r),tF()]);return n;}async function tk(e,t,r,n=ia.All){let i=function(e){if(null===c(n8)(e))try{let t=c(n0)(e);if(null!==t)return(0,rg.info)(`Coerced version '${e}' to '${t}'`),t.version;}catch(e){}return e;}(e),o=parseInt(i.split(".")[0],10);try{if(es())return await tO(o,n);}catch(e){(0,rg.info)("Failed to install llvm via system package manager "+e);}let s=await ew("llvm",e,t_,t,r);return await ll(o),s;}async function tU(e){es()&&(e<=10?await F([{name:"libtinfo5"}]):await F([{name:"libtinfo-dev"}]));}async function tj(e){"linux"===process.platform&&(await tc(eQ("gcc",void 0,await az()),"",e));}async function tM(e){let t=process.env.LD_LIBRARY_PATH??"",r=process.env.DYLD_LIBRARY_PATH??"",n=[N("LLVM_PATH",e),N("LD_LIBRARY_PATH",`${e}/lib${ip.delimiter}${t}`),N("DYLD_LIBRARY_PATH",`${e}/lib${ip.delimiter}${r}`),N("LDFLAGS",`-L"${e}/lib"`),N("CPPFLAGS",`-I"${e}/include"`),N("CC",(0,nj.addExeExt)(`${e}/bin/clang`)),N("CXX",(0,nj.addExeExt)(`${e}/bin/clang++`)),N("LIBRARY_PATH",`${e}/lib`),ta()];es()&&n.push(W("cc",`${e}/bin/clang`),W("cxx",`${e}/bin/clang++`),W("clang",`${e}/bin/clang`),W("clang++",`${e}/bin/clang++`),W("lld",`${e}/bin/lld`),W("ld.lld",`${e}/bin/ld.lld`),W("llvm-ar",`${e}/bin/llvm-ar`)),await Promise.all(n);}async function tF(){if(rm.GITHUB_ACTIONS){let e=(0,nj.join)(il,"llvm_matcher.json");if(!(await(0,nA.pathExists)(e)))return(0,rg.warning)("the llvm_matcher.json file does not exist in the same folder as setup-cpp.js");(0,rg.info)("::add-matcher::"+e);}}async function tG(e,t,r){switch(process.platform){case"win32":return et("make",e);case"darwin":return await Z("make",e),await _("/usr/local/opt/make/libexec/gnubin"),{binDir:"/usr/local/opt/make/libexec/gnubin"};case"linux":if(er())return el("make",e);if(en())return ei([{name:"make",version:e}]);if(es())return F([{name:"make",version:e}]);throw Error("Unsupported linux distribution");default:throw Error("Unsupported platform");}}async function tB(e,t,r,n,i,o){let s,a;if("win32"!==process.platform)return;let l=ii(e);(0,rg.info)(`Checking if MSVC ${l} is already installed`);let c=!1;try{let e=io(l);c=!0,(0,rg.info)("Found the pre-installed version of MSVC at "+e);}catch{}if(!c)try{"14.0"===l?(s="14.0",await et("visualcpp-build-tools","14.0.25420.1",["--ignore-dependencies"]),a="C:/Program Files (x86)/MSBuild/Microsoft.Cpp/v4.0/v140"):"15.0"===l?(s="14.16",await et("visualstudio2017buildtools","15.9.41.0",[]),a="C:/Program Files (x86)/Microsoft Visual Studio/2017/BuildTools/VC/Tools/MSVC/14.16"):"16.0"===l?(s="14.29",await et("visualstudio2019buildtools","16.11.7.0",[]),a="C:/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.29.30133"):"17.0"===l?(s=void 0,await et("visualstudio2022buildtools","117.0.5.0",[]),a=void 0):(0,rg.error)(`The given MSVC versions ${e} is not supported yet.`);}catch(e){(0,rg.error)(e);}await tI(l,a,r,s,n,i,o),rm.GITHUB_ACTIONS&&(await tH());}async function tH(){let e=(0,nj.join)(ic,"msvc_matcher.json");if(!(await(0,nA.pathExists)(e)))return(0,rg.warning)("the msvc_matcher.json file does not exist in the same folder as setup-cpp.js");(0,rg.info)("::add-matcher::"+e);}async function tV(e,t,r){if(!es())return;if("string"==typeof i)return{binDir:i};let n=c(nN).sync("nala",{nothrow:!0});if(null!==n)return{binDir:i=(0,nj.dirname)(n)};let o=await z("volian-archive-scar-unstable.gpg","https://deb.volian.org/volian/scar.key");v("/bin/bash",["-c",`echo "deb [signed-by=${o}] http://deb.volian.org/volian/ scar main" | tee /etc/apt/sources.list.d/volian-archive-scar-unstable.list`]);try{"legacy"!==e?await F([{name:"nala"}],!0):await F([{name:"nala-legacy"}],!0);}catch(e){await F([{name:"nala-legacy"}],!0);}return{binDir:i="/usr/bin"};}async function tX(e,t,r){if("win32"!==process.platform)return;await et("opencppcoverage",e);let n=await tq();return{binDir:n};}async function tq(){let e="C:/Program Files/OpenCppCoverage";return await _(e),e;}async function tK(e,t,r){switch(process.platform){case"win32":{await et("powershell-core",e);let t="C:/Program Files/PowerShell/7";return await _(t),{binDir:t};}case"darwin":return Z("powershell",e,["--cask"]);case"linux":if(er())return el("powershell-bin",e,"yay");if(en())return ei([{name:"curl"}]),v("/bin/bash",["-c","curl https://packages.microsoft.com/config/rhel/8/prod.repo | sudo tee /etc/yum.repos.d/microsoft.repo"]),ei([{name:"powershell",version:e}]);if(es()){await F([{name:"curl"}]);let t=await az(),r=`${t[0]}.0${t[1]}`;return v("curl",["-LJO",`https://packages.microsoft.com/config/ubuntu/${r}/packages-microsoft-prod.deb`]),v("dpkg",["-i","packages-microsoft-prod.deb"]),F([{name:"powershell",version:e}],!0);}throw Error("Unsupported linux distribution");default:throw Error("Unsupported platform");}}function tz(e,t,r){var n;let i="win32"===(n=t)?"windows":n,o=function(e){switch(e){case"x64":return"amd64";case"ia32":case"x86":case"i386":case"x32":return"386";default:return e;}}(r),s="win32"===t;return{binRelativeDir:"",binFileName:(0,nj.addExeExt)("task"),extractedFolderName:"",extractFunction:s?eR:eO,url:`https://github.com/go-task/task/releases/download/v${e}/task_${i}_${o}.${s?"zip":"tar.gz"}`};}async function tW(e,t,r){return lu&&null!==c(nN).sync("vcpkg",{nothrow:!0})?{binDir:(0,nj.dirname)(c(nN).sync("vcpkg"))}:("linux"===process.platform&&(er()?await Promise.all([el("curl"),el("zip"),el("unzip"),el("tar"),el("git"),el("pkg-config")]):en()?await ei([{name:"curl"},{name:"zip"},{name:"unzip"},{name:"tar"},{name:"git"},{name:"pkg-config"}]):es()&&(await F([{name:"curl"},{name:"zip"},{name:"unzip"},{name:"tar"},{name:"git"},{name:"pkg-config"}]))),(await(0,nA.pathExists)((0,nj.join)(t,(0,nj.addShExt)("bootstrap-vcpkg",".bat"))))?(0,rg.notice)(`Vcpkg folder already exists at ${t}. This might mean that ~/vcpkg is restored from the cache.`):M("git",["clone","https://github.com/microsoft/vcpkg"],{cwd:(0,nj.dirname)(t),stdio:"inherit"}),M((0,nj.addShExt)((0,nj.addShRelativePrefix)("bootstrap-vcpkg"),".bat"),{cwd:t,shell:!0,stdio:"inherit"}),await y(t),await _(t),lu=!0,{binDir:t});}function tY(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;}async function tJ(e,t,r,n,i,o,s){try{let{compiler:a,version:l}=function(e){let t=e.split("-"),r=t[0];if(1 in t){let e=t[1];return null!==c(n8)(e)||(0,rg.info)(`Invalid semver version ${e} used for the compiler.`),{compiler:r,version:e};}return{compiler:r,version:void 0};}(e);switch((0,nO.startGroup)(`Installing ${a} ${l??""}`),a){case"llvm":case"clang":case"clang++":{let e=await tL(eQ("llvm",l,t),(0,ip.join)(r,"llvm"),n);await N("GCOV","llvm-cov gcov"),i.push(tY("llvm",e));break;}case"gcc":case"mingw":case"cygwin":case"msys":{let e="mingw"===a?eQ("mingw",l,t):eQ("gcc",l,t),s="mingw"===a?await tu(e,(0,ip.join)(r,"gcc"),n):await tc(e,(0,ip.join)(r,"gcc"),n);o&&(await N("CPPFLAGS","")),await function(e){let t=c(n8)(e),r=null!==t?c(ie)(t):e;return N("GCOV",""!==r?"gcov-"+r:"gcov");}(e),i.push(tY("gcc",s));break;}case"cl":case"msvc":case"msbuild":case"vs":case"visualstudio":case"visualcpp":case"visualc++":{let e=await tB(eQ("msvc",l,t),(0,ip.join)(r,"msvc"),n);o&&(await N("CPPFLAGS","")),i.push(tY("msvc",e));break;}case"appleclang":case"applellvm":(0,nO.notice)("Assuming apple-clang is already installed"),await Promise.all([N("CC","clang"),N("CXX","clang++")]),i.push(tY("apple-clang",void 0));break;default:s.push("Unsupported compiler "+a);}}catch(t){(0,rg.error)(t),s.push("Failed to install the "+e);}(0,nO.endGroup)();}async function tQ(e){let t,r,n=Promise.resolve();rm.GITHUB_ACTIONS||(n=I(),process.env.ACTIONS_ALLOW_UNSECURE_COMMANDS="true");let i=function(e,t){t=t||{};var r,n,i,o,s,a={_:[]},l=0,c=0,u=0,p=(e=e||[]).length;let d=void 0!==t.alias,f=void 0!==t.unknown,h=void 0!==t.default;if(t.alias=t.alias||{},t.string=S(t.string),t.boolean=S(t.boolean),d)for(r in t.alias)for(l=0,n=t.alias[r]=S(t.alias[r]);l0;)for(c=(n=t.alias[t.boolean[l]]||[]).length;c-->0;)t.boolean.push(n[c]);for(l=t.string.length;l-->0;)for(c=(n=t.alias[t.string[l]]||[]).length;c-->0;)t.string.push(n[c]);if(h){for(r in t.default)if(o=typeof t.default[r],n=t.alias[r]=t.alias[r]||[],void 0!==t[o])for(t[o].push(r),l=0;ll;l++){if("--"===(i=e[l])){a._=a._.concat(e.slice(++l));break;}for(c=0;c0;)a[n.shift()]=a[r];return a;}(e,{string:[...lf,"timeout"],default:Object.fromEntries(lf.map(e=>[e,function(e){let t=(0,nO.getInput)(e.toLowerCase());if("false"!==t&&""!==t)return t;}(e)])),alias:{h:"help"},boolean:"help"});i.help&&((0,rg.info)(` +if [[ "$SOURCE_CPPRC" != 0 && -f "${sQ}" ]]; then source "${sQ}"; fi +`;try{let e=$(".profile");(0,nW.appendFileSync)(e,t),(0,no.info)(`${t} was added to ${e}`);let r=$(".bashrc");(0,nW.appendFileSync)(r,t),(0,no.info)(`${t} was added to ${r}`);}catch(e){(0,ry.warning)(`Failed to add ${t} to .profile or .bashrc. You should add it manually: ${e}`);}sZ=!0;}async function G(){if(await(0,nl.pathExists)(sQ)){let e=(0,nW.readFileSync)(sQ,"utf-8").split("\n"),t=[...new Set(e.reverse())].reverse();(0,nW.writeFileSync)(sQ,t.join("\n")),await C(sQ);}}async function B(e,t=!1){let r;let n=V()?"nala":"apt-get";for(let{name:t,version:r}of e)(0,ry.info)(`Installing ${t} ${r??""} via ${n}`);process.env.DEBIAN_FRONTEND="noninteractive",(!s1||t)&&(z(n),s1=!0),s2||(await X(n),s2=!0);let i=[...new Set(e.flatMap(e=>e.repositories??[]))];if(0!==i.length){for(let e of i)I("add-apt-repository",["-y",e]);z(n);}let o=await Promise.all(e.map(e=>q(e.name,e.version)));try{I(n,["install","--fix-broken","-y",...o]);}catch(e){if("stderr"in e){let t=e.stderr;s4.some(e=>t.includes(e))&&((0,ry.warning)(`Failed to install packages ${o}. Retrying...`),I(n,["install","--fix-broken","-y",...o]));}else throw e;}return{binDir:"/usr/bin/"};}async function H(e,t){if(void 0!==t&&""!==t){let{stdout:r}=await x("apt-cache",["search","--names-only",`^${(0,nc.default)(e)}-${(0,nc.default)(t)}$`]);if(""!==r.trim())return 0;try{let{stdout:r}=await x("apt-cache",["show",`${e}=${t}`]);if(""===r.trim())return 1;}catch{}}try{let{stdout:t}=await x("apt-cache",["show",e]);if(""!==t.trim())return 2;}catch{}return 3;}async function q(e,t){switch(await H(e,t)){case 0:return`${e}-${t}`;case 1:return`${e}=${t}`;case 2:return e;default:throw Error(`Could not find package ${e} ${t??""}`);}}function V(){return null!==c(rI).sync("nala",{nothrow:!0});}function z(e){I(e,"nala"!==e?["update","-y"]:["update"]);}async function X(e){I(e,["install","--fix-broken","-y","software-properties-common","apt-utils","ca-certificates","gnupg"]);let t=[K(["3B4FE6ACC0B21F32","40976EAF437D05B5"],"setup-cpp-ubuntu-archive.gpg"),K(["1E9377A2BA9EF27F"],"launchpad-toolchain.gpg")];"nala"===e&&t.push(k("LANG","C.UTF-8",{shouldAddOnlyIfNotDefined:!0}),k("LC_ALL","C.UTF-8",{shouldAddOnlyIfNotDefined:!0})),await Promise.all(t);}function W(){I("gpg",["-k"]);}async function K(e,t,r="keyserver.ubuntu.com"){try{let n="/etc/apt/trusted.gpg.d/"+t;return(await(0,nl.pathExists)(n))||(W(),await Promise.all(e.map(async e=>{await S("gpg",["--no-default-keyring","--keyring","gnupg-ring:"+n,"--keyserver",r,"--recv-keys",e]),await S("chmod",["644",n]);}))),n;}catch(e){(0,ry.warning)(`Failed to add apt key via server ${r}: ${e}`);return;}}async function Y(e,t){let r="/etc/apt/trusted.gpg.d/"+e;return(await(0,nl.pathExists)(r))||(W(),await B([{name:"curl"},{name:"ca-certificates"}],void 0),await x("curl",["-s",t,"-o","/tmp/"+e]),I("gpg",["--no-default-keyring","--keyring","gnupg-ring:"+r,"--import","/tmp/"+e]),I("chmod",["644",r])),r;}async function J(e,t,r=40){return rE.GITHUB_ACTIONS?S("update-alternatives",["--install","/usr/bin/"+e,e,t,r.toString()]):(await F(),s0(sQ,` +if [ $UID -eq 0 ]; then update-alternatives --install /usr/bin/${e} ${e} ${t} ${r}; fi +`));}async function Q(e){try{let{stdout:t}=await x("dpkg",["-l",e]);return t.split("\n").some(e=>e.startsWith("ii"));}catch{return!1;}}async function Z(e,r,n){if(!["darwin","linux"].includes(process.platform))return;if("string"==typeof t)return{binDir:t};let i=c(rI).sync("brew",{nothrow:!0});if(null!==i)return{binDir:t=(0,np.dirname)(i)};let o=c(nX).join((0,nz.tmpdir)(),"setup-cpp","brew");await(0,nd.mkdirP)(o),b("curl",["-LJO","https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh"],{cwd:o});let s=(0,nX.join)(o,"install.sh");return"linux"===process.platform&&(0,nW.readFileSync)(s,"utf-8").replace("#!/bin/bash",""),b("/bin/bash",[s],{stdio:"inherit",env:{NONINTERACTIVE:"1"}}),t=ee(),await U(t),{binDir:t};}function ee(){return"linux"===process.platform?"/home/linuxbrew/.linuxbrew/bin/":"/usr/local/bin/";}async function et(e,t,r=[]){(0,no.info)(`Installing ${e} ${t??""} via brew`),s3&&null!==c(rI).sync("brew",{nothrow:!0})||(await Z("","",process.arch),s3=!0);let n=ee();return b((0,np.join)(n,"brew"),["install",void 0!==t&&""!==t?`${e}@${t}`:e,...r],{stdio:"inherit"}),{binDir:n};}async function er(e,t,n){if("win32"!==process.platform)return;if("string"==typeof r)return{binDir:r};let i=c(rI).sync("choco",{nothrow:!0});if(null!==i)return{binDir:r=(0,np.dirname)(i)};let o="powershell.exe",s=c(rI).sync(`${process.env.SystemRoot}\\System32\\WindowsPowerShell\\v1.0\\powershell.exe`,{nothrow:!0});null!==s&&(o=s),b(o,["-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"});let a=`${process.env.ALLUSERSPROFILE}\\chocolatey\\bin`;await U(a);let l=c(rI).sync("choco",{nothrow:!0});if(r=null!==l?(0,np.dirname)(l):`${process.env.ChocolateyInstall??"C:/ProgramData/chocolatey"}/bin`,await(0,nl.pathExists)(r))return{binDir:r};}async function en(e,t,r=[]){(0,ry.info)(`Installing ${e} ${t??""} via chocolatey`),s6&&null!==c(rI).sync("choco",{nothrow:!0})||(await er("","",process.arch),s6=!0);let n=process.env.PATH,i={...process.env};if(delete i.TMP,delete i.TEMP,delete i.Path,i.PATH=n,void 0!==t&&""!==t)b("choco",["install","-y",e,"--version="+t,...r],{env:i,extendEnv:!1,stdio:"inherit"});else try{b("choco",["install","-y",e,...r],{env:i,extendEnv:!1,stdio:"inherit"});}catch(t){if(t.message.includes("exit code 3010"))(0,ry.info)(`${e} might require a reboot for the completion of the installation.`);else throw t;}let o=`${process.env.ChocolateyInstall??"C:/ProgramData/chocolatey"}/bin`;return await U(o),{binDir:o};}function ei(){return"linux"===process.platform&&(void 0===o&&(o=null!==c(rI).sync("pacman",{nothrow:!0})),o);}function eo(){return"linux"===process.platform&&(void 0===s&&(s=null!==c(rI).sync("dnf",{nothrow:!0})),s);}async function es(e){for(let{name:t,version:r}of e)(0,ry.info)(`Installing ${t} ${r??""} via dnf`);return I("dnf",["-y","install",...(await Promise.all(e.map(e=>ea(e.name,e.version))))]),{binDir:"/usr/bin/"};}async function ea(e,t){if(void 0!==t&&""!==t){let{stdout:r}=await x("dnf",["search","-q",`${e}-${t}`]);if(""!==r.trim())return`${e}-${t}`;{let{stdout:r}=await x("dnf",["search","-q",`${e}${t}`]);if(""!==r.trim())return`${e}${t}`;(0,ry.warning)(`Failed to install ${e} ${t} via dnf, trying without version`);}}return e;}function el(){return"linux"===process.platform&&(void 0===a&&(a=null!==c(rI).sync("apt-get",{nothrow:!0})),a);}async function ec(e,t,r){switch(process.platform){case"win32":return en("bazelisk",e);case"darwin":return et("bazelisk",e);case"linux":if(ei())throw Error("installing bazel on Arch linux is not supported yet");if(eo())return await es([{name:"dnf-plugins-core"}]),I("dnf",["copr","enable","vbatts/bazel"]),es([{name:"bazel4"}]);if(el()){let t=await Y("bazel-archive-keyring.gpg","https://bazel.build/bazel-release.pub.gpg");return I("bash",["-c",`echo "deb [arch=amd64 signed-by=${t}] https://storage.googleapis.com/bazel-apt stable jdk1.8" | tee /etc/apt/sources.list.d/bazel.list`]),B([{name:"bazel",version:e}],!0);}throw Error("Unsupported linux distribution");default:throw Error("Unsupported platform");}}async function eu(e,t,r){(0,ry.info)(`Installing ${e} ${t??""} via pacman`);let n="pacman";if("yay"===r&&null===c(rI).sync("yay",{nothrow:!0}))throw Error(`yay is needed for ${e}, but it is not installed, please install it manually first`);s5||"yay"===r||(I(n,["-Sy","--noconfirm"]),s5=!0),s8||"yay"===r||(I(n,["-S","--noconfirm","base-devel"]),s8=!0);let i=e=>"yay"===r?b(r,["-S","--noconfirm",e]):I(r??n,["-S","--noconfirm",e]);if(void 0!==t&&""!==t){if((await ep(n,e)).includes(t))try{i(`${e}=${t}`);}catch{i(`${e}${t}`);}else(0,ry.info)(`Failed to install ${e} ${t} via pacman, trying without version`),i(e);}else i(e);return{binDir:"/usr/bin/"};}async function ep(e,t){let r=[];try{let{stdout:n}=await x(e,["-Si",t]);for(let e of n.matchAll(s7))r.push(e[1]);}catch(e){(0,ry.warning)(`Failed to get available versions for ${t}: ${e}`);}return r;}function ed(e,t){let r=[];t=t||an.arch();let n=ai.join(eE(),e);if(at.existsSync(n)){for(let e of at.readdirSync(n))if(ev(e)){let i=ai.join(n,e,t||"");at.existsSync(i)&&at.existsSync(`${i}.complete`)&&r.push(e);}}return r;}function ef(e){return nE(this,void 0,void 0,function*(){return e||(e=ai.join(ey(),ac.default())),yield ae.mkdirP(e),e;});}function eh(e,t,r){return nE(this,void 0,void 0,function*(){let n=ai.join(eE(),e,as.clean(t)||t,r||"");s9.debug("destination "+n);let i=`${n}.complete`;return yield ae.rmRF(n),yield ae.rmRF(i),yield ae.mkdirP(n),n;});}function em(e,t,r){let n=ai.join(eE(),e,as.clean(t)||t,r||""),i=`${n}.complete`;at.writeFileSync(i,""),s9.debug("finished caching tool");}function ev(e){let t=as.clean(e)||"";s9.debug("isExplicit: "+t);let r=null!=as.valid(t);return s9.debug("explicit? "+r),r;}function eg(e,t){let r="";s9.debug(`evaluating ${e.length} versions`),e=e.sort((e,t)=>as.gt(e,t)?1:-1);for(let n=e.length-1;n>=0;n--){let i=e[n];if(as.satisfies(i,t)){r=i;break;}}return r?s9.debug("matched: "+r):s9.debug("match not found"),r;}function eE(){let e=process.env.RUNNER_TOOL_CACHE||"";return t6.ok(e,"Expected RUNNER_TOOL_CACHE to be defined"),e;}function ey(){let e=process.env.RUNNER_TEMP||"";return t6.ok(e,"Expected RUNNER_TEMP to be defined"),e;}function ew(e,t){let r=rf[e];return void 0!==r?r:t;}function ex(e,t){if(!e||!t)throw Error("retry-as-promised must be passed a callback and a options set");let r={$current:"$current"in(t="number"==typeof t?{max:t}:t)?t.$current:1,max:t.max,timeout:t.timeout||void 0,match:t.match?Array.isArray(t.match)?t.match:[t.match]:[],backoffBase:void 0===t.backoffBase?100:t.backoffBase,backoffExponent:t.backoffExponent||1.1,report:t.report,name:t.name||e.name||"unknown"};return r.match&&!Array.isArray(r.match)&&(r.match=[r.match]),r.report&&r.report("Trying "+r.name+" #"+r.$current+" at "+new Date().toLocaleTimeString(),r),new Promise(function(t,n){let i,o,s;r.timeout&&(i=setTimeout(function(){o&&clearTimeout(o),n(new ah(r.name+" timed out",s));},r.timeout)),Promise.resolve(e({current:r.$current})).then(t).then(function(){i&&clearTimeout(i),o&&clearTimeout(o);}).catch(function(a){i&&clearTimeout(i),o&&clearTimeout(o),s=a,r.report&&r.report(a&&a.toString()||a,r,a);var l=r.$current(0,nf.downloadTool)(o),{name:o,max:4,backoffBase:2e3,report:e=>(0,ry.info)(e)});am||((0,ry.info)("Installing extraction dependencies"),"linux"===process.platform&&(ei()?await Promise.all([eu("unzip"),eu("tar"),eu("xz")]):eo()?await es([{name:"unzip"},{name:"tar"},{name:"xz"}]):el()&&(await B([{name:"unzip"},{name:"tar"},{name:"xz-utils"}]))),am=!0),(0,ry.info)(`Extracting ${r} to ${n}`),await u?.(r,n);}catch(r){throw Error(`Failed to download ${e} ${t} ${i} from ${o}: ${r}`);}return(0,ry.info)(`Add ${d} to PATH`),await U(d),rE.GITHUB_ACTIONS&&"string"==typeof process.env.RUNNER_TOOL_CACHE&&(await(0,nf.cacheDir)(n,e,t)),{installDir:p,binDir:d};}function eR(e,t,r){switch(process.platform){case"win32":return en("7zip",e);case"darwin":return et("p7zip",e);case"linux":if(ei())return eu("p7zip",e);if(eo())return es([{name:"p7zip",version:e},{name:"p7zip-plugins",version:e}]);if(el())return B([{name:"p7zip-full",version:e}]);throw Error("Unsupported linux distribution");default:throw Error("Unsupported platform");}}async function eI(e,t){return await x(await eS(),["x",e,"-o"+t,"-y"],{stdio:"inherit"}),await C(t),t;}async function eS(){return void 0===n&&(null===c(rI).sync("7z",{nothrow:!0})&&(await eR("","",process.arch)),n="7z"),n;}function eO(e,t){return eI(e,t);}function eT(e,t){return eI(e,t);}async function eC(e,t,r=["--strip-components=0"]){try{await(0,nd.mkdirP)(t);}catch{}try{await x("tar",["xf",e,"-C",t,...r],{stdio:"inherit"});}catch(r){"win32"===process.platform&&r.message.includes("Can't create '\\\\?\\C:")&&(0,ry.warning)(`Failed to extract symlink ${e} to ${t}. Ignoring this symlink.`);}return C(t),t;}function e$(e,t,r){let n=c(nT)(e)??e;switch(t){case"win32":{let t;let i=c(nO)(n,"v3.19.6");t=["ia32","x86","i386","x32"].includes(r)?i?"win32-x86":"windows-i386":i?"win64-x64":"windows-x86_64";let o=`cmake-${e}-${t}`;return{binRelativeDir:"bin/",binFileName:(0,np.addExeExt)("cmake"),extractedFolderName:o,extractFunction:eT,url:`https://github.com/Kitware/CMake/releases/download/v${e}/${o}.zip`};}case"darwin":{let t=c(nO)(n,"v3.19.1"),r=`cmake-${e}-${t?"Darwin-x86_64":"macos-universal"}`;return{binRelativeDir:"CMake.app/Contents/bin/",binFileName:(0,np.addExeExt)("cmake"),extractedFolderName:r,extractFunction:nf.extractTar,url:`https://github.com/Kitware/CMake/releases/download/v${e}/${r}.tar.gz`};}case"linux":{let t;let i=c(nO)(n,"v3.19.8");t=["aarch64"].includes(r)?i?"Linux-aarch64":"linux-aarch64":i?"Linux-x86_64":"linux-x86_64";let o=`cmake-${e}-${t}`;return{binRelativeDir:"bin/",binFileName:(0,np.addExeExt)("cmake"),extractedFolderName:o,extractFunction:nf.extractTar,url:`https://github.com/Kitware/CMake/releases/download/v${e}/${o}.tar.gz`};}default:throw Error(`Unsupported platform '${t}'`);}}function eA(e,t,r){return eb("cmake",e,e$,t,r);}function e_(e){var t=e.length;return t?1===t?[e[0]]:2===t?[e[0],e[1]]:3===t?[e[0],e[1],e[2]]:nA.call(e,0):[];}function eN(e,t){return e===t||e!=e&&t!=t;}function eP(e,t){var r={};for(var n in e)r[n]=e[n];for(var n in t)r[n]=t[n];return r;}function eL(e,t){if(void 0===t&&(t={}),"function"==typeof e&&e.isMemoized)return eL(e.fn,eP(e.options,t));if("function"!=typeof e)throw TypeError("You must pass a function to `memoize`.");var r=t.isEqual,n=t.isMatchingKey,i=t.isPromise,o=void 0!==i&&i,s=t.maxSize,a=t.onCacheAdd,l=t.onCacheChange,c=t.onCacheHit,u=t.transformKey,p=eP({isEqual:void 0===r?eN:r,isMatchingKey:n,isPromise:o,maxSize:void 0===s?1:s,onCacheAdd:a,onCacheChange:l,onCacheHit:c,transformKey:u},function(e){var t={};for(var r in e)n$[r]||(t[r]=e[r]);return t;}(t)),d=new n_(p),f=d.keys,h=d.values,m=d.canTransformKey,v=d.shouldCloneArguments,g=d.shouldUpdateOnAdd,E=d.shouldUpdateOnChange,y=d.shouldUpdateOnHit,w=function(){var t=v?e_(arguments):arguments;m&&(t=u(t));var r=f.length?d.getKeyIndex(t):-1;if(-1!==r)y&&c(d,p,w),r&&(d.orderByLru(f[r],h[r],r),E&&l(d,p,w));else{var n=e.apply(this,arguments),i=v?t:e_(arguments);d.orderByLru(i,n,f.length),o&&d.updateAsyncCache(w),g&&a(d,p,w),E&&l(d,p,w);}return h[0];};return w.cache=d,w.fn=e,w.isMemoized=!0,w.options=p,w;}function eD(e,t){return new Promise(r=>{try{let n=(0,nJ.request)(e,{method:t},e=>{r(void 0!==e.statusCode&&e.statusCode>=200&&e.statusCode<=399);});n.on("error",e=>{r(!1);}),n.end();}catch{r(!1);}});}function ek(e,t){return Array.from(e).filter(e=>/^\d+\.\d+\.\d+$/.test(e)&&e.startsWith(t)).sort((e,t)=>{try{return c(nL)(e,t);}catch(r){return e.localeCompare(t);}}).reverse();}async function eU(e,t,r,n){if("linux"===t&&r.includes("ubuntu")){let e=await n(t,r);if(null!==e&&(await nP(e)))return[r,e];}if(!e.has(r))throw Error(`Unsupported target! (platform='${t}', version='${r}'). Try one of the following: ${JSON.stringify(e)}`);let i=[];for(let o of ek(e,r)){let e=await n(t,o);if(null!==e){if(await nP(e))return[o,e];i.push(e);}}throw Error(`Unsupported target! (platform='${t}', version='${r}'). Try one of the following: ${JSON.stringify(e)}`);}async function ej(e,t=av){try{let r=await(0,nw.getExecOutput)(e,["--version"]),n=r.stdout||r.stderr||"",i=n.trim().match(t)?.[1];return c(nT)(i)??void 0;}catch(e){console.error(e);return;}}async function eM(e,t,r=av){let n=await ej(e,r);return void 0!==n&&""!==t&&-1!==c(nL)(n,t);}function eF(){switch(process.platform){case"win32":return"17.0.4";case"linux":return"17.0.5-ubuntu-22.04";case"darwin":return"15.0.3";default:return"17.0.5";}}async function eG(e,t,r){let n=await eq(e,t,r);c(t6)(void 0!==n.bin);let i=n.bin;if(void 0===(await eW(i)))throw Error("pip was not installed correctly");return await eB(i),await eH(i),n;}async function eB(e){try{(await e8(e))||(await e5(e,"pipx",void 0,{upgrade:!0,usePipx:!1})),await x(e,["-m","pipx","ensurepath"],{stdio:"inherit"}),await e5(e,"venv",void 0,{upgrade:!1,usePipx:!1});}catch(e){(0,ry.warning)(`Failed to install pipx: ${e.toString()}. Ignoring...`);}}async function eH(e){try{await e5(e,"setuptools",void 0,{upgrade:!0,isLibrary:!0,usePipx:!1}),await e5(e,"wheel",void 0,{upgrade:!0,isLibrary:!0,usePipx:!1});}catch(e){(0,ry.warning)(`Failed to install setuptools or wheel: ${e.toString()}. Ignoring...`);}}async function eq(e,t,r){let n;let i=await ez(t);if(void 0!==i){let e=(0,np.dirname)(i);n={bin:i,installDir:e,binDir:e};}else{if(rE.GITHUB_ACTIONS)try{(0,ry.info)("Installing python in GitHub Actions");let{setupActionsPython:o}=await rv("4JiFg");await o(e,t,r),i=await ez(t);let s=(0,np.dirname)(i);n={bin:i,installDir:s,binDir:s};}catch(e){(0,ry.warning)(e.toString());}void 0===n&&(n=await eV(t,e));}return(void 0===i||void 0===n.bin)&&(i=await ez(t),n.bin=i),n;}async function eV(e,t){let r;switch(process.platform){case"win32":{e?await en("python3",t,["--params=/InstallDir:"+e]):await en("python3",t);let n=await ez(e),i=(0,np.dirname)(n);await U(i),r={installDir:i,binDir:i,bin:n};break;}case"darwin":{r=await et("python3",t);let e=await x("brew",["--prefix","python"],{stdio:"pipe"}),n=(0,np.join)(e.stdout,"libexec","bin");await U(n);break;}case"linux":if(ei())r=await eu("python",t);else if(eo())r=await es([{name:"python3",version:t}]);else if(el())r=await B([{name:"python3",version:t},{name:"python-is-python3"}]);else throw Error("Unsupported linux distributions");break;default:throw Error("Unsupported platform");}return r;}async function ez(e){for(let t of["python3","python"]){let r=await eX(t,e);if(void 0!==r)return r;}}async function eX(e,t){try{if(void 0!==t){let r=(0,np.join)(t,(0,np.addExeExt)(e));if((await(0,nl.pathExists)(r))&&(await eM(r,aE.python)))return r;}for(let t of(await c(rI)(e,{nothrow:!0,all:!0}))??[])if(await eM(t,aE.python))return t;}catch{}}async function eW(e){let t=await eK();return void 0===t?((0,ry.info)("pip was not found. Installing pip"),await eJ(e),eK()):t;}async function eK(){for(let e of["pip3","pip"]){let t=await eY(e);if(void 0!==t)return t;}}async function eY(e){try{for(let t of(await c(rI)(e,{nothrow:!0,all:!0}))??[])if(null!==t&&(await eM(t,aE.pip)))return t;}catch{}}async function eJ(e){(await eQ(e))||(await tt("pip"),await eQ(e));}async function eQ(e){try{return await x(e,["-m","ensurepip","-U","--upgrade"],{stdio:"inherit"}),!0;}catch(t){(0,ry.info)(t?.toString?.());try{return await x(e,["-m","pip","install","--upgrade","pip"],{stdio:"inherit"}),!0;}catch(e){(0,ry.info)(e?.toString?.());}}return!1;}async function eZ(e){let t=[];"linux"===process.platform?t.push("/home/runner/.local/bin/"):"darwin"===process.platform&&t.push("/usr/local/bin/");let r=(await(0,nw.getExecOutput)(`${e} -c "import sys;print(sys.base_exec_prefix);"`)).stdout.trim();return t.push((0,np.join)(r,"Scripts"),(0,np.join)(r,"Scripts","bin"),(0,np.join)(r,"bin")),[...new Set(t)];}function e0(e,t,r=null){return e1(t)&&"linux"===process.platform&&null!==r&&e in ay?function(e,t){let r=e[0],n=Object.keys(t).map(e=>parseInt(e,10)).sort((e,t)=>t-e).find(e=>r>=e);return void 0===n?"":t[n];}(r,ay[e]):e1(t)&&e in ag?ag[e]:"true"===t?"":t??"";}function e1(e){return"true"===e||void 0===e;}async function e2(){var e,t;if("linux"!==process.platform)return[];let r=await(e="lsb_release",t=["-a"],new Promise((r,n)=>{t7.execFile(e,t,{encoding:"utf8",shell:!1},(i,o,s)=>{if(i){if("errno"in i&&"ENOENT"===i.code){r(null);return;}n(Error(`Could not execute \`${e} ${t.join(" ")}\`: ${i} (stderr=${s})`));return;}r(o);});}));if(null===r)return[];let n=null,i=null,o=!1;for(let e of r.split("\n")){let t=e.match(/^Distributor ID:\s*(.+)$/);if(null!==t){if("Ubuntu"!==t[1])return[];o=!0;}let r=e.match(/^Description:\s*Ubuntu\s+(\d+)\.(\d+)(?:\.(\d+))?/);r&&(n=r);let s=e.match(/^Release:\s*(\d+)\.(\d+)(?:\.(\d+))?$/);if(s&&(i=s),o&&n&&i)break;}if(!o)return[];for(let e of[n,i])if(e){let t=[e[1],e[2]];return e[3]&&t.push(e[3]),t.map(e=>parseInt(e,10));}return[];}async function e4(){try{if(!el())return null;{try{null===c(rI).sync("lsb_release",{nothrow:!0})&&(await B([{name:"lsb-release"}]));}catch{return e3();}let e=await(0,nk.getUbuntuVersion)();if(0===e.length)return e3();return e;}}catch(e){return(0,ry.warning)(e.toString()),null;}}function e3(){let e=c(nz).version().split("."),t=parseInt(e[0].replace("#",""),10);return[t,parseInt(e[1].replace("~",""),10),parseInt(e[2].split("-")[0],10)];}async function e6(e,t,r={}){return e5(await ab(),e,t,r);}async function e5(e,t,r,n={}){let{usePipx:i=!0,user:o=!0,upgrade:s=!1,isLibrary:a=!1}=n,l=i&&!a&&(await e8(e)),c=l?"pipx":"pip";if(await e9(e,t))try{(0,no.info)(`Installing ${t} ${r??""} via ${c}`);let n=void 0!==r&&""!==r?`${t}==${r}`:t;b(e,["-m",c,...(s?l?["upgrade"]:["install","--upgrade"]:["install"]),...(!l&&o?["--user"]:[]),n],{stdio:"inherit"});}catch(e){if((0,no.info)(`Failed to install ${t} via ${c}: ${e}.`),(await tt(t))===null)throw Error(`Failed to install ${t} via ${c}: ${e}.`);}else if((await tt(t))===null)throw Error(`Failed to install ${t} as it was not found via ${c} or the system package manager`);let u=await aw(e),p=await te(u,t);return await U(p),{binDir:p};}async function e8(e){return 0===(await x(e,["-m","pipx","--help"],{stdio:"ignore",reject:!1})).exitCode;}async function e7(){let e=(await eG(e0("python",void 0,await ax()),"",process.arch)).bin;if(void 0===e)throw Error("Python binary was not found");return e;}async function e9(e,t){return 0===(await x(e,["-m","pip","-qq","index","versions",t],{stdio:"ignore",reject:!1})).exitCode;}async function te(e,t){let r=(await Promise.all(e.map(e=>(0,nl.pathExists)((0,np.join)(e,(0,np.addExeExt)(t)))))).findIndex(e=>e);if(-1!==r)return e[r];let n=c(rI).sync((0,np.addExeExt)(t),{nothrow:!0});return null!==n?(0,np.dirname)(n):e[e.length-1];}function tt(e){if("linux"===process.platform){if((0,no.info)(`Installing ${e} via the system package manager`),ei())return eu("python-"+e);if(eo())return es([{name:"python3-"+e}]);if(el())return B([{name:"python3-"+e}]);}return null;}async function tr(e,t,r){switch(process.platform){case"win32":return await en("cppcheck",e),{binDir:await tn()};case"darwin":return et("cppcheck",e);case"linux":if(ei())return eu("cppcheck",e);if(eo())return es([{name:"ccache",version:e}]);if(el())return B([{name:"cppcheck",version:e}]);throw Error("Unsupported linux distribution");default:throw Error("Unsupported platform");}}async function tn(){let e="C:/Program Files/Cppcheck";return await U(e),e;}async function ti(e,t,r){switch(process.platform){case"win32":return await en("graphviz",e),to();case"darwin":return et("graphviz",e);case"linux":if(ei())return eu("graphviz",e);if(eo())return es([{name:"graphviz",version:e}]);if(el())return B([{name:"graphviz",version:e}]);throw Error("Unsupported linux distribution");default:throw Error("Unsupported platform");}}async function to(){if("win32"===process.platform){let e="C:/Program Files/Graphviz/bin";return await U(e),{binDir:e};}throw Error("Unsupported platform");}function ts(e,t,r){switch(t){case"linux":{let t="doxygen-"+e;return{binRelativeDir:"bin/",binFileName:(0,np.addExeExt)("doxygen"),extractedFolderName:t,extractFunction:nf.extractTar,url:`https://www.doxygen.nl/files/${t}.linux.bin.tar.gz`};}case"win32":{let t="doxygen-"+e;return{binRelativeDir:"",binFileName:(0,np.addExeExt)("doxygen"),extractedFolderName:t,extractFunction:eT,url:`https://www.doxygen.nl/files/${t}.windows.x64.bin.zip`};}default:throw Error(`Unsupported platform '${t}'`);}}async function ta(e,t,r){switch(process.platform){case"win32":{await c(nC)(()=>en("doxygen.install",e),{name:"doxygen.install",max:4,backoffBase:2e3,report:e=>(0,ry.info)(e)});let t=await tl();return await ti(e0("graphviz",void 0),"",r),{binDir:t};}case"darwin":{let e=await et("doxygen",void 0);return await ti(e0("graphviz",void 0),"",r),e;}case"linux":{let n;if(""===e||ei()||eo()){if(ei())n=await eu("doxygen",e);else if(eo())return es([{name:"doxygen",version:e}]);else if(el())n=await B([{name:"doxygen",version:e}]);else throw Error("Unsupported linux distributions");}else if(el())try{n=await eb("doxygen",e,ts,t,r),await B([{name:"libclang-cpp9"}]);}catch(e){(0,ry.notice)(`Failed to download doxygen binary. ${e}. Falling back to apt-get.`),n=await B([{name:"doxygen"}]);}else throw Error("Unsupported linux distributions");return await ti(e0("graphviz",void 0,await ax()),"",r),n;}default:throw Error("Unsupported platform");}}async function tl(){if("win32"===process.platform){for(let e of["C:/ProgramData/chocolatey/bin","C:/Program Files/doxygen/bin","C:/Program Files (x86)/doxygen"])if(await(0,nl.pathExists)((0,np.join)(e,"doxygen.exe")))return await U(e),e;throw Error("Failed to find doxygen binary");}throw Error("Unsupported platform");}async function tc(){if("darwin"===process.platform)try{let e=await(0,nw.getExecOutput)("xcrun --sdk macosx --show-sdk-path"),t=e.stdout||e.stderr;t?await k("SDKROOT",t.trim()):(0,ry.error)("SDKROOT not set");}catch(e){(0,ry.error)(e);}}function tu(e,t,r){if("win32"===t){let t=aR[e];if(void 0===t)throw Error(`mingw version ${e} is not supported`);return{binRelativeDir:"bin/",binFileName:(0,np.addExeExt)("g++"),extractedFolderName:"mingw64",extractFunction:eI,url:`https://github.com/brechtsanders/winlibs_mingw/releases/download/${t.releaseName}/winlibs-${"ia32"===r?"i686":"x86_64"}-posix-seh-gcc-${t.fileSuffix}.7z`};}throw Error(`Unsupported platform '${t}'`);}async function tp(e,t,r,n=40){let i;switch(process.platform){case"win32":("arm"===r||"arm64"===r)&&(await en("gcc-arm-embedded",e));try{i=await eb("g++",e,tu,t,r);}catch(t){(0,ry.info)(`Failed to download g++ binary. ${t}. Falling back to chocolatey.`),i=await tf(e,r);}break;case"darwin":i=await et("gcc",e);break;case"linux":"x64"===r?ei()?i=await eu("gcc",e):eo()?i=await es([{name:"gcc",version:e},{name:"gcc-c++",version:e},{name:"libstdc++-devel"}]):el()&&(i=await B([{name:"gcc",version:e,repositories:["ppa:ubuntu-toolchain-r/test"]},{name:"g++",version:e,repositories:["ppa:ubuntu-toolchain-r/test"]}])):((0,ry.info)(`Install g++-multilib because gcc for ${r} was requested`),ei()?await eu("gcc-multilib",e):el()&&(await B([{name:"gcc-multilib",version:e,repositories:["ppa:ubuntu-toolchain-r/test"]}])));break;default:throw Error("Unsupported platform for "+r);}if(void 0!==i)return await th(e,i.binDir,n),i;}async function td(e,t,r){let n;switch(process.platform){case"win32":case"darwin":return tp(e,t,r);case"linux":ei()?n=await eu("mingw-w64-gcc",e):eo()?n=await es([{name:"mingw64-gcc",version:e}]):el()&&(n=await B([{name:"mingw-w64",version:e,repositories:["ppa:ubuntu-toolchain-r/test"]}]));break;default:throw Error("Unsupported platform for "+r);}if(void 0!==n)return n;}async function tf(e,t){let r;if(await en("mingw",e),"x64"===t&&(await(0,nl.pathExists)("C:/tools/mingw64/bin"))?(r="C:/tools/mingw64/bin",await U(r)):"ia32"===t&&(await(0,nl.pathExists)("C:/tools/mingw32/bin"))?(r="C:/tools/mingw32/bin",await U(r)):(await(0,nl.pathExists)(`${process.env.ChocolateyInstall??"C:/ProgramData/chocolatey"}/bin/g++.exe`))&&(r=`${process.env.ChocolateyInstall??"C:/ProgramData/chocolatey"}/bin`),void 0!==r)return{binDir:r};}async function th(e,t,r=40){let n=[];if("win32"===process.platform)n.push(k("CC",(0,np.addExeExt)(`${t}/gcc`)),k("CXX",(0,np.addExeExt)(`${t}/g++`)));else{let i=c(nU)(c(nT)(e)??e);i>=5?(n.push(k("CC",`${t}/gcc-${i}`),k("CXX",`${t}/g++-${i}`)),el()&&n.push(J("cc",`${t}/gcc-${i}`,r),J("cxx",`${t}/g++-${i}`,r),J("gcc",`${t}/gcc-${i}`,r),J("g++",`${t}/g++-${i}`,r))):(n.push(k("CC",`${t}/gcc-${e}`),k("CXX",`${t}/g++-${e}`)),el()&&n.push(J("cc",`${t}/gcc-${e}`,r),J("cxx",`${t}/g++-${e}`,r),J("gcc",`${t}/gcc-${e}`,r),J("g++",`${t}/g++-${e}`,r)));}n.push(tc()),rE.GITHUB_ACTIONS&&(await tm()),await Promise.all(n);}async function tm(){let e=(0,np.join)(nj,"gcc_matcher.json");if(!(await(0,nl.pathExists)(e)))return(0,ry.warning)("the gcc_matcher.json file does not exist in the same folder as setup-cpp.js");(0,ry.info)("::add-matcher::"+e);}function tv(e,t,r){let n=function(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,np.addExeExt)("ninja"),extractedFolderName:"",extractFunction:eT,url:`https://github.com/ninja-build/ninja/releases/download/v${e}/ninja-${n}.zip`};}function tg(e,t,r){return eb("ninja",e,tv,t,r);}function tE(e){return{url:`https://github.com/SimonKagstrom/kcov/releases/download/${e}/kcov-amd64.tar.gz`,extractedFolderName:"",binRelativeDir:"usr/local/bin",binFileName:(0,np.addExeExt)("kcov"),extractFunction:eC};}function ty(e){return{url:`https://github.com/SimonKagstrom/kcov/archive/refs/tags/${e}.tar.gz`,extractedFolderName:"",binRelativeDir:"build/src",binFileName:(0,np.addExeExt)("kcov"),extractFunction:tw};}async function tw(e,t){let r=await eC(e,t,["--strip-components=1"]),n=await tx();"linux"===process.platform&&(ei()?await Promise.all([eu("libdwarf"),eu("libcurl-openssl")]):eo()?await es([{name:"libdwarf-devel"},{name:"libcurl-devel"}]):el()&&(await B([{name:"libdw-dev"},{name:"libcurl4-openssl-dev"}])));try{if(null!==c(rI).sync("patch",{nothrow:!0})){let e=(0,np.join)(nM,"gcc13.patch");await x("patch",["-N","-p1","-i",e],{cwd:r,stdio:"inherit"});}else(0,ry.info)("`patch` not found, skipping gcc13.patch, kcov may not build on gcc 13");}catch{}let i=(0,np.join)(r,"build");return await x(n,["-S",r,"-B",i,"-DCMAKE_BUILD_TYPE=Release","-G","Ninja"],{cwd:r,stdio:"inherit"}),await x(n,["--build",i,"--config","Release"],{cwd:r,stdio:"inherit"}),r;}async function tx(){let e=c(rI).sync("cmake",{nothrow:!0});if(null===e){let{binDir:t}=await eA(e0("cmake",void 0,await ax()),(0,np.join)($(""),"cmake"),"");e=(0,np.join)(t,"cmake");}return null===c(rI).sync("ninja",{nothrow:!0})&&(await tg(e0("ninja",void 0,await ax()),(0,np.join)($(""),"ninja"),"")),e;}async function tb(e,t,r){var n;let i;if("linux"!==process.platform){(0,ry.info)("Kcov is not supported on non-linux");return;}let o=e.split("-"),s=(n=o[0]).match(/^v/)?n:"v"+n,a=o[1],l=parseInt(s.replace(/^v/,""),10);return 38===l&&(s="v38"),"binary"===a&&l>=39?(i=await eb("kcov",s,tE,t,r),ei()?await eu("binutils"):eo()?await es([{name:"binutils"}]):el()&&(await B([{name:"libbinutils"}]))):i=await eb("kcov",s,ty,t,r),i;}function tR(e){if(Object.values(aC).includes(e));else if(e in aC)return aC[e];return e;}function tI(e){let t;let r=tR(e);if(r){let e=r.split(".")[0]+".9";t=`-version "${r},${e}"`;}else t="-latest";let n=function(e,t){try{return t7.execSync(`vswhere -products * ${t} -prerelease -property installationPath`).toString().trim()+"\\"+e;}catch(e){no.warning("vswhere failed: "+e);}return null;}("VC\\Auxiliary\\Build\\vcvarsall.bat",t);if(n&&nW.existsSync(n))return no.info("Found with vswhere: "+n),n;no.info("Not found with vswhere");let i=e?[function(e){if(Object.keys(aC).includes(e));else for(let[t,r]of Object.entries(aC))if(r===e)return t;return e;}(e)]:aT;for(let e of aS)for(let t of i)for(let r of aO)if(n=`${e}\\Microsoft Visual Studio\\${t}\\${r}\\VC\\Auxiliary\\Build\\vcvarsall.bat`,no.info("Trying standard location: "+n),nW.existsSync(n))return no.info("Found standard location: "+n),n;if(no.info("Not found in standard locations"),n=`${aI}\\Microsoft Visual C++ Build Tools\\vcbuildtools.bat`,nW.existsSync(n))return no.info("Found VS 2015: "+n),n;throw no.info("Not found in VS 2015 location: "+n),Error("Microsoft Visual Studio not found");}async function tS(e,t,r,n,i,o,s){void 0!==t&&(await(0,nl.pathExists)(t))&&((0,ry.info)(`Adding ${t} to PATH`),await k("VCTargetsPath",t)),nB(function(e){switch(e){case"x32":case"32":case"ia32":return"x86";case"64":return"x64";default:return e;}}(r),i,n,o,s,e);}async function tO(e,t,r,n,i,o,s,a=aL){(0,no.startGroup)(`Installing ${e} ${t}`);let l=!1;try{l=await function(e,t){let r;let{milliseconds:n,fallback:i,message:o,customTimers:s={setTimeout:setTimeout,clearTimeout:clearTimeout}}=t,a=new Promise((a,l)=>{if("number"!=typeof n||1!==Math.sign(n))throw TypeError(`Expected \`milliseconds\` to be a positive number, got \`${n}\``);if(t.signal){let{signal:e}=t;e.aborted&&l(aP(e)),e.addEventListener("abort",()=>{l(aP(e));});}if(n===Number.POSITIVE_INFINITY){e.then(a,l);return;}let c=new aA();r=s.setTimeout.call(void 0,()=>{if(i){try{a(i());}catch(e){l(e);}return;}"function"==typeof e.cancel&&e.cancel(),!1===o?a():o instanceof Error?l(o):(c.message=o??`Promise timed out after ${n} milliseconds`,l(c));},n),(async()=>{try{a(await e);}catch(e){l(e);}})();}).finally(()=>{a.clear();});return a.clear=()=>{s.clearTimeout.call(void 0,r),r=void 0;},a;}(tT(e,t,r,n,l,i,o),{milliseconds:a,message:`Timeout while installing ${e} ${t}. You can increase the timeout from options`});}catch(t){(0,ry.error)(t),s.push(`${e} failed to install`);}return(0,no.endGroup)(),l;}async function tT(e,t,r,n,i,o,s){let a;if("vcvarsall"===e)await tS(e0(e,t,r),void 0,n,void 0,void 0,!1,!1);else{let s=aW[e];i=["llvm","clangformat","clangtidy"].includes(e);let l=(0,np.join)(o,i?"llvm":e);a=await s(e0(e,t,r),l,n);}return s.push(tQ(e,a)),i;}async function tC(e,t=0){let r="/usr/lib/llvm-"+e;await B([{name:"curl"}]),await x("curl",["-LJO","https://apt.llvm.org/llvm.sh"],{cwd:"/tmp"});let n=await t$("/tmp/llvm.sh","/tmp/llvm-setup-cpp.sh",e,t);return await B(n),await aU("/tmp/llvm-setup-cpp.sh","755"),await S("bash",["/tmp/llvm-setup-cpp.sh",""+e,...(0===t?["all"]:[])],{stdio:"inherit",shell:!0,timeout:aL}),await U(`${r}/bin`),{installDir:""+r,binDir:`${r}/bin`,bin:`${r}/bin/clang++`};}async function t$(e,t,r,n){var i,o,s,a,l;let c=await aD(e,"utf-8");return o=n,s=c=(i=c,c=process.env.NODE_DEBUG?i:i.replace(/set -eux/g,"set -eu")).replace(/add-apt-repository "\${REPO_NAME}"/g,'add-apt-repository -y "${REPO_NAME}"'),a=r,c=1===o?s.replace(/ -y \$PKG/g," -y clang-format-"+a):s,l=c=await tA(c),c=V()?l.replace(/apt-get/g,"nala"):l,await ak(t,c),[{name:"lsb-release"},{name:"wget"},{name:"software-properties-common"},{name:"gnupg"}];}async function tA(e){let t=e.replace(/apt-get install -y/g,'apt-get install -o Dpkg::Options::="--force-overwrite" -y --fix-broken');return await Promise.all(["libc++-$LLVM_VERSION-dev","libc++abi-$LLVM_VERSION-dev","libunwind-$LLVM_VERSION-dev"].map(async e=>{let r=e.replace("$LLVM_VERSION","*");(await Q(r))&&((0,rd.info)("Removing conflicting package "+r),t=t.replace(e,""));})),t;}function t_(e,t,r){let n=`${t}${e}${r}`;return`https://github.com/llvm/llvm-project/releases/download/llvmorg-${e}/${n}`;}function tN(e,t,r){let n=`${t}${e}${r}`;return`https://releases.llvm.org/${e}/${n}`;}async function tP(e){let t;if(aM.has(e))return null;let r="LLVM-",n=c(nO)(e,"3.7.0")?"-win32.exe":"-win64.exe",i=c(nO)(e,"9.0.1"),o=!1;return i&&(t=tN(e,r,n),(await nP(t))||(o=!0)),(o||!i)&&(t=t_(e,r,n)),t;}function tL(e,t){switch(e){case"darwin":return function(e){if(aF.has(e))return null;let t="9.0.0"===e?"-darwin-apple":"-apple-darwin",r="clang+llvm-",n=`-x86_64${t}.tar.xz`;return c(nO)(e,"9.0.1")?tN(e,r,n):t_(e,r,n);}(t);case"linux":return function(e){let t,r,n=e,i=aG.get(n);if(void 0!==i&&(n=i),n.includes("ubuntu")){let e=n.replace(/-ubuntu-.*/,"");if(!aj.has(e))throw Error("Unsupported Ubuntu version: "+e);t=n.replace(e,""),n=ek(aj,e)[0];}else""!==n&&n in aB?t=aB[n]:(t=aB[aH],(0,ry.warning)(`Falling back to LLVM version ${aH} ${t} for the Ubuntu.`));let o="clang+llvm-";return(r="5.0.0"===n?`-linux-x86_64${t}.tar.xz`:t.includes("-rhel86")?`-x86_64-unknown-linux-gnu${t}.tar.xz`:`-x86_64-linux-gnu${t}.tar.xz`,c(nO)(n,"9.0.1"))?tN(n,o,r):t_(n,o,r);}(t);case"win32":return tP(t);default:return null;}}async function tD(e,t,r){let[n,i]=await eU(aj,t,e,tL);return(0,ry.info)("specific llvm version: "+n),{url:i,extractedFolderName:"",binRelativeDir:"bin",binFileName:(0,np.addExeExt)("clang"),extractFunction:"win32"===t?eO:(e,t)=>eC(e,t,["--strip-components=1"])};}async function tk(e,t,r){let n=await aq(e,t,r);return await tG(n.installDir??t),n;}async function tU(e,t,r){let[n,i,o]=await Promise.all([tj(e,t,r),az(r),tB()]);return n;}async function tj(e,t,r,n=nH.All){let i=parseInt(function(e){if(null===c(nD)(e))try{let t=c(nT)(e);if(null!==t)return(0,ry.info)(`Coerced version '${e}' to '${t}'`),t.version;}catch(e){}return e;}(e).split(".")[0],10);try{if(el())return await tC(i,n);}catch(e){(0,ry.info)("Failed to install llvm via system package manager "+e);}let o=await eb("llvm",e,tD,t,r);return await aV(i),o;}async function tM(e){el()&&(e<=10?await B([{name:"libtinfo5"}]):await B([{name:"libtinfo-dev"}]));}async function tF(e){"linux"===process.platform&&(await tp(e0("gcc",void 0,await ax()),"",e,40));}async function tG(e){let t=process.env.LD_LIBRARY_PATH??"",r=process.env.DYLD_LIBRARY_PATH??"",n=[k("LLVM_PATH",e),k("LD_LIBRARY_PATH",`${e}/lib${nX.delimiter}${t}`),k("DYLD_LIBRARY_PATH",`${e}/lib${nX.delimiter}${r}`),k("LDFLAGS",`-L"${e}/lib"`),k("CPPFLAGS",`-I"${e}/include"`),k("CC",(0,np.addExeExt)(`${e}/bin/clang`)),k("CXX",(0,np.addExeExt)(`${e}/bin/clang++`)),k("LIBRARY_PATH",`${e}/lib`),tc()];el()&&n.push(J("cc",`${e}/bin/clang`,60),J("cxx",`${e}/bin/clang++`,60),J("clang",`${e}/bin/clang`),J("clang++",`${e}/bin/clang++`),J("lld",`${e}/bin/lld`),J("ld.lld",`${e}/bin/ld.lld`),J("llvm-ar",`${e}/bin/llvm-ar`)),await Promise.all(n);}async function tB(){if(rE.GITHUB_ACTIONS){let e=(0,np.join)(nq,"llvm_matcher.json");if(!(await(0,nl.pathExists)(e)))return(0,ry.warning)("the llvm_matcher.json file does not exist in the same folder as setup-cpp.js");(0,ry.info)("::add-matcher::"+e);}}async function tH(e,t,r){switch(process.platform){case"win32":return en("make",e);case"darwin":return await et("make",e),await U("/usr/local/opt/make/libexec/gnubin"),{binDir:"/usr/local/opt/make/libexec/gnubin"};case"linux":if(ei())return eu("make",e);if(eo())return es([{name:"make",version:e}]);if(el())return B([{name:"make",version:e}]);throw Error("Unsupported linux distribution");default:throw Error("Unsupported platform");}}async function tq(e,t,r,n,i,o){let s,a;if("win32"!==process.platform)return;let l=nF(e);(0,ry.info)(`Checking if MSVC ${l} is already installed`);let c=!1;try{let e=nG(l);c=!0,(0,ry.info)("Found the pre-installed version of MSVC at "+e);}catch{}if(!c)try{"14.0"===l?(s="14.0",await en("visualcpp-build-tools","14.0.25420.1",["--ignore-dependencies"]),a="C:/Program Files (x86)/MSBuild/Microsoft.Cpp/v4.0/v140"):"15.0"===l?(s="14.16",await en("visualstudio2017buildtools","15.9.41.0",[]),a="C:/Program Files (x86)/Microsoft Visual Studio/2017/BuildTools/VC/Tools/MSVC/14.16"):"16.0"===l?(s="14.29",await en("visualstudio2019buildtools","16.11.7.0",[]),a="C:/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.29.30133"):"17.0"===l?(s=void 0,await en("visualstudio2022buildtools","117.0.5.0",[]),a=void 0):(0,ry.error)(`The given MSVC versions ${e} is not supported yet.`);}catch(e){(0,ry.error)(e);}await tS(l,a,r,s,n,i,o),rE.GITHUB_ACTIONS&&(await tV());}async function tV(){let e=(0,np.join)(nV,"msvc_matcher.json");if(!(await(0,nl.pathExists)(e)))return(0,ry.warning)("the msvc_matcher.json file does not exist in the same folder as setup-cpp.js");(0,ry.info)("::add-matcher::"+e);}async function tz(e,t,r){if(!el())return;if("string"==typeof i)return{binDir:i};let n=c(rI).sync("nala",{nothrow:!0});if(null!==n)return{binDir:i=(0,np.dirname)(n)};let o=await Y("volian-archive-scar-unstable.gpg","https://deb.volian.org/volian/scar.key");I("/bin/bash",["-c",`echo "deb [signed-by=${o}] http://deb.volian.org/volian/ scar main" | tee /etc/apt/sources.list.d/volian-archive-scar-unstable.list`]);try{"legacy"!==e?await B([{name:"nala"}],!0):await B([{name:"nala-legacy"}],!0);}catch(e){await B([{name:"nala-legacy"}],!0);}return{binDir:i="/usr/bin"};}async function tX(e,t,r){if("win32"===process.platform)return await en("opencppcoverage",e),{binDir:await tW()};}async function tW(){let e="C:/Program Files/OpenCppCoverage";return await U(e),e;}async function tK(e,t,r){switch(process.platform){case"win32":{await en("powershell-core",e);let t="C:/Program Files/PowerShell/7";return await U(t),{binDir:t};}case"darwin":return et("powershell",e,["--cask"]);case"linux":if(ei())return eu("powershell-bin",e,"yay");if(eo())return es([{name:"curl"}]),I("/bin/bash",["-c","curl https://packages.microsoft.com/config/rhel/8/prod.repo | sudo tee /etc/yum.repos.d/microsoft.repo"]),es([{name:"powershell",version:e}]);if(el()){await B([{name:"curl"}]);let t=await ax(),r=`${t[0]}.0${t[1]}`;return I("curl",["-LJO",`https://packages.microsoft.com/config/ubuntu/${r}/packages-microsoft-prod.deb`]),I("dpkg",["-i","packages-microsoft-prod.deb"]),B([{name:"powershell",version:e}],!0);}throw Error("Unsupported linux distribution");default:throw Error("Unsupported platform");}}function tY(e,t,r){var n;let i="win32"===(n=t)?"windows":n,o=function(e){switch(e){case"x64":return"amd64";case"ia32":case"x86":case"i386":case"x32":return"386";default:return e;}}(r),s="win32"===t;return{binRelativeDir:"",binFileName:(0,np.addExeExt)("task"),extractedFolderName:"",extractFunction:s?eT:eC,url:`https://github.com/go-task/task/releases/download/v${e}/task_${i}_${o}.${s?"zip":"tar.gz"}`};}async function tJ(e,t,r){return aX&&null!==c(rI).sync("vcpkg",{nothrow:!0})?{binDir:(0,np.dirname)(c(rI).sync("vcpkg"))}:("linux"===process.platform&&(ei()?await Promise.all([eu("curl"),eu("zip"),eu("unzip"),eu("tar"),eu("git"),eu("pkg-config")]):eo()?await es([{name:"curl"},{name:"zip"},{name:"unzip"},{name:"tar"},{name:"git"},{name:"pkg-config"}]):el()&&(await B([{name:"curl"},{name:"zip"},{name:"unzip"},{name:"tar"},{name:"git"},{name:"pkg-config"}]))),(await(0,nl.pathExists)((0,np.join)(t,(0,np.addShExt)("bootstrap-vcpkg",".bat"))))?(0,ry.notice)(`Vcpkg folder already exists at ${t}. This might mean that ~/vcpkg is restored from the cache.`):b("git",["clone","https://github.com/microsoft/vcpkg"],{cwd:(0,np.dirname)(t),stdio:"inherit"}),b((0,np.addShExt)((0,np.addShRelativePrefix)("bootstrap-vcpkg"),".bat"),{cwd:t,shell:!0,stdio:"inherit"}),await C(t),await U(t),aX=!0,{binDir:t});}function tQ(e,t){let r=`\u{2705} ${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;}async function tZ(e,t,r,n,i,o,s){try{let{compiler:a,version:l}=function(e){let t=e.split("-"),r=t[0];if(1 in t){let e=t[1];return null!==c(nD)(e)||(0,ry.info)(`Invalid semver version ${e} used for the compiler.`),{compiler:r,version:e};}return{compiler:r,version:void 0};}(e);switch((0,no.startGroup)(`Installing ${a} ${l??""}`),a){case"llvm":case"clang":case"clang++":{let e=await tk(e0("llvm",l,t),(0,nX.join)(r,"llvm"),n);await k("GCOV","llvm-cov gcov"),i.push(tQ("llvm",e));break;}case"gcc":case"mingw":case"cygwin":case"msys":{let e="mingw"===a?e0("mingw",l,t):e0("gcc",l,t),s="mingw"===a?await td(e,(0,nX.join)(r,"gcc"),n):await tp(e,(0,nX.join)(r,"gcc"),n);o&&(await k("CPPFLAGS","")),await function(e){let t=c(nD)(e),r=null!==t?c(nU)(t):e;return k("GCOV",""!==r?"gcov-"+r:"gcov");}(e),i.push(tQ("gcc",s));break;}case"cl":case"msvc":case"msbuild":case"vs":case"visualstudio":case"visualcpp":case"visualc++":{let e=await tq(e0("msvc",l,t),(0,nX.join)(r,"msvc"),n);o&&(await k("CPPFLAGS","")),i.push(tQ("msvc",e));break;}case"appleclang":case"applellvm":(0,no.notice)("Assuming apple-clang is already installed"),await Promise.all([k("CC","clang"),k("CXX","clang++")]),i.push(tQ("apple-clang",void 0));break;default:s.push("Unsupported compiler "+a);}}catch(t){(0,ry.error)(t),s.push("Failed to install the "+e);}(0,no.endGroup)();}async function t0(e){let t,r,n=Promise.resolve();rE.GITHUB_ACTIONS||(n=N(),process.env.ACTIONS_ALLOW_UNSECURE_COMMANDS="true");let i=function(e,t){t=t||{};var r,n,i,o,s,a={_:[]},l=0,c=0,u=0,p=(e=e||[]).length;let d=void 0!==t.alias,f=void 0!==t.unknown,h=void 0!==t.default;if(t.alias=t.alias||{},t.string=P(t.string),t.boolean=P(t.boolean),d)for(r in t.alias)for(l=0,n=t.alias[r]=P(t.alias[r]);l0;)for(c=(n=t.alias[t.boolean[l]]||[]).length;c-->0;)t.boolean.push(n[c]);for(l=t.string.length;l-->0;)for(c=(n=t.alias[t.string[l]]||[]).length;c-->0;)t.string.push(n[c]);if(h){for(r in t.default)if(o=typeof t.default[r],n=t.alias[r]=t.alias[r]||[],void 0!==t[o])for(t[o].push(r),l=0;ll;l++){if("--"===(i=e[l])){a._=a._.concat(e.slice(++l));break;}for(c=0;c0;)a[n.shift()]=a[r];return a;}(e,{string:[...aY,"timeout"],default:Object.fromEntries(aY.map(e=>[e,function(e){let t=(0,no.getInput)(e.toLowerCase());if("false"!==t&&""!==t)return t;}(e)])),alias:{h:"help"},boolean:"help"});i.help&&((0,ry.info)(` setup-cpp [options] setup-cpp --compiler llvm --cmake true --ninja true --ccache true --vcpkg true @@ -25,16 +25,15 @@ Install all the tools required for building and testing C++/C projects. --$tool_name pass "true" or pass the you would like to install for this tool. e.g. --conan true or --conan "1.42.1" All the available tools: -`),console.table({"compiler and analyzer":{tools:"--llvm, --gcc, --msvc, --vcvarsall, --cppcheck, --clangtidy, --clangformat"},"build system":{tools:"--cmake, --ninja, --meson, --make, --task, --bazel"},"package manager":{tools:"--vcpkg, --conan, --choco, --brew, --nala"},cache:{tools:"--cppcache, --sccache"},documentation:{tools:"--doxygen, --graphviz"},coverage:{tools:"--gcovr, --opencppcoverage, --kcov"},other:{tools:"--python, --powershell, --sevenzip"}},["tools"]));let o=i.architecture??process.arch,s=process.env.SETUP_CPP_DIR??w(""),a=[],l=[],u=ry.create({autoloadLocales:!0});ry.addLocale(c(rw)),rv.addLocale(c(rE));let p=await az();if(!function(e,t){let r=t.filter(t=>void 0!==e[t]),n=r.filter(t=>!eZ(e[t])),i=n.length>=1?e[n[0]]:"true";return!n.some(t=>e[t]!==i)&&(r.forEach(t=>{e[t]=i;}),!0);}(i,["llvm","clangtidy","clangformat"]))return(0,rg.error)("The same version must be used for llvm, clangformat and clangtidy"),1;er()&&"string"==typeof i.cppcheck&&"string"==typeof i.gcovr&&((0,rg.info)("installing python-pygments to avoid conflicts with cppcheck and gcovr on Arch linux"),await el("python-pygments"));let d=!1,f=!1;for(let e of ld){if(rm.isCI&&0!==l.length){f=!0;break;}let n=i[e];void 0!==n&&(t=Date.now(),d=await tS(e,n,p,o,s,a,l,6e4*parseFloat(i.timeout??"20")),r=Date.now(),(0,rg.info)("took "+(u.format(t,r)||"0 seconds")));}if(!f){let e=i.compiler;if(void 0!==e){let t=Date.now();await tJ(e,p,s,o,a,d,l);let r=Date.now();(0,rg.info)("took "+(u.format(t,r)||"0 seconds"));}}if(await U(),0===a.length&&0===l.length)return(0,rg.warning)("setup-cpp was called without any arguments. Nothing to do."),0;if(a.forEach(e=>(0,rg.success)(e)),l.forEach(e=>(0,rg.error)(e)),(0,rg.info)("setup-cpp finished"),!rm.GITHUB_ACTIONS)switch(process.platform){case"win32":(0,rg.warning)("Run `RefreshEnv.cmd` or restart your shell to update the environment.");break;case"linux":case"darwin":(0,rg.warning)("Run `source ~/.cpprc` or restart your shell to update the environment.");}return await n,0===l.length?0:1;}var tZ,t0,t1,t2,t3,t4,t6,t5,t7,t8,t9,re,rt,rr,rn,ri,ro,rs,ra,rl,rc,ru,rp,rd,rf,rh,rm,rg,rv,rE,ry,rw,rx,rb,rI,rS,rR,rO,rT,rC,r$,rA,rP,rN,r_,rL,rD,rk,rU,rj,rM,rF,rG,rB,rH,rV,rX,rq,rK,rz,rW,rY,rJ,rQ,rZ,r0,r1,r2,r3,r4,r6,r5,r7,r8,r9,ne,nt,nr,nn,ni,no,ns,na,nl,nc,nu,np,nd,nf,nh,nm,ng,nv,nE,ny,nw,nx,nb,nI,nS,nR,nO,nT,nC,n$,nA,nP,nN,n_,nL,nD,nk,nU,nj,nM,nF,nG,nB,nH,nV,nX,nq,nK,nz,nW,nY,nJ,nQ,nZ,n0,n1,n2,n3,n4,n6,n5,n7,n8,n9,ie,it,ir,ii,io,is,ia,il,ic,iu=require("os"),ip=require("path"),id=require("fs"),ih=require("crypto"),im=require("http"),ig=require("https");require("net"),t1=require("tls"),t2=require("events"),t3=require("assert"),t4=require("util"),t6=require("fs"),t5=require("child_process"),t7=require("string_decoder"),t8=require("timers"),t9=require("buffer"),re=require("stream"),rt=require("process"),rr=require("buffer"),rn=require("path"),ri=require("child_process"),ro=require("process"),rs=require("url"),ra=require("os"),rl=require("util"),rc=require("url"),ru=require("console"),rp="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{},rd={},rf={},null==(rh=rp.parcelRequire810d)&&((rh=function(e){if(e in rd)return rd[e].exports;if(e in rf){var t=rf[e];delete rf[e];var r={id:e,exports:{}};return rd[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=function(e,t){rf[e]=t;},rp.parcelRequire810d=rh),rh.register("dTX7a",function(e,t){var r;function n(e){return"string"==typeof e?!!i[e]:"env"in e?i[e.env]&&i[e.env].includes(e.includes):"any"in e?e.any.some(function(e){return!!i[e];}):Object.keys(e).every(function(t){return i[t]===e[t];});}r=rh("gjIAX");let i=process.env;Object.defineProperty(e.exports,"_vendors",{value:r.map(function(e){return e.constant;})}),e.exports.name=null,e.exports.isPR=null,r.forEach(function(t){let r=Array.isArray(t.env)?t.env:[t.env],o=r.every(function(e){return n(e);});if(e.exports[t.constant]=o,o)switch(e.exports.name=t.name,typeof t.pr){case"string":e.exports.isPR=!!i[t.pr];break;case"object":"env"in t.pr?e.exports.isPR=t.pr.env in i&&i[t.pr.env]!==t.pr.ne:"any"in t.pr?e.exports.isPR=t.pr.any.some(function(e){return!!i[e];}):e.exports.isPR=n(t.pr);break;default:e.exports.isPR=null;}}),e.exports.isCI=!!("false"!==i.CI&&(i.BUILD_ID||i.BUILD_NUMBER||i.CI||i.CI_APP_ID||i.CI_BUILD_ID||i.CI_BUILD_NUMBER||i.CI_NAME||i.CONTINUOUS_INTEGRATION||i.RUN_ID||e.exports.name));}),rh.register("gjIAX",function(e,t){e.exports=JSON.parse('[{"name":"Appcircle","constant":"APPCIRCLE","env":"AC_APPCIRCLE"},{"name":"AppVeyor","constant":"APPVEYOR","env":"APPVEYOR","pr":"APPVEYOR_PULL_REQUEST_NUMBER"},{"name":"AWS CodeBuild","constant":"CODEBUILD","env":"CODEBUILD_BUILD_ARN"},{"name":"Azure Pipelines","constant":"AZURE_PIPELINES","env":"SYSTEM_TEAMFOUNDATIONCOLLECTIONURI","pr":"SYSTEM_PULLREQUEST_PULLREQUESTID"},{"name":"Bamboo","constant":"BAMBOO","env":"bamboo_planKey"},{"name":"Bitbucket Pipelines","constant":"BITBUCKET","env":"BITBUCKET_COMMIT","pr":"BITBUCKET_PR_ID"},{"name":"Bitrise","constant":"BITRISE","env":"BITRISE_IO","pr":"BITRISE_PULL_REQUEST"},{"name":"Buddy","constant":"BUDDY","env":"BUDDY_WORKSPACE_ID","pr":"BUDDY_EXECUTION_PULL_REQUEST_ID"},{"name":"Buildkite","constant":"BUILDKITE","env":"BUILDKITE","pr":{"env":"BUILDKITE_PULL_REQUEST","ne":"false"}},{"name":"CircleCI","constant":"CIRCLE","env":"CIRCLECI","pr":"CIRCLE_PULL_REQUEST"},{"name":"Cirrus CI","constant":"CIRRUS","env":"CIRRUS_CI","pr":"CIRRUS_PR"},{"name":"Codefresh","constant":"CODEFRESH","env":"CF_BUILD_ID","pr":{"any":["CF_PULL_REQUEST_NUMBER","CF_PULL_REQUEST_ID"]}},{"name":"Codemagic","constant":"CODEMAGIC","env":"CM_BUILD_ID","pr":"CM_PULL_REQUEST"},{"name":"Codeship","constant":"CODESHIP","env":{"CI_NAME":"codeship"}},{"name":"Drone","constant":"DRONE","env":"DRONE","pr":{"DRONE_BUILD_EVENT":"pull_request"}},{"name":"dsari","constant":"DSARI","env":"DSARI"},{"name":"Expo Application Services","constant":"EAS","env":"EAS_BUILD"},{"name":"Gerrit","constant":"GERRIT","env":"GERRIT_PROJECT"},{"name":"GitHub Actions","constant":"GITHUB_ACTIONS","env":"GITHUB_ACTIONS","pr":{"GITHUB_EVENT_NAME":"pull_request"}},{"name":"GitLab CI","constant":"GITLAB","env":"GITLAB_CI","pr":"CI_MERGE_REQUEST_ID"},{"name":"GoCD","constant":"GOCD","env":"GO_PIPELINE_LABEL"},{"name":"Google Cloud Build","constant":"GOOGLE_CLOUD_BUILD","env":"BUILDER_OUTPUT"},{"name":"Harness CI","constant":"HARNESS","env":"HARNESS_BUILD_ID"},{"name":"Heroku","constant":"HEROKU","env":{"env":"NODE","includes":"/app/.heroku/node/bin/node"}},{"name":"Hudson","constant":"HUDSON","env":"HUDSON_URL"},{"name":"Jenkins","constant":"JENKINS","env":["JENKINS_URL","BUILD_ID"],"pr":{"any":["ghprbPullId","CHANGE_ID"]}},{"name":"LayerCI","constant":"LAYERCI","env":"LAYERCI","pr":"LAYERCI_PULL_REQUEST"},{"name":"Magnum CI","constant":"MAGNUM","env":"MAGNUM"},{"name":"Netlify CI","constant":"NETLIFY","env":"NETLIFY","pr":{"env":"PULL_REQUEST","ne":"false"}},{"name":"Nevercode","constant":"NEVERCODE","env":"NEVERCODE","pr":{"env":"NEVERCODE_PULL_REQUEST","ne":"false"}},{"name":"ReleaseHub","constant":"RELEASEHUB","env":"RELEASE_BUILD_ID"},{"name":"Render","constant":"RENDER","env":"RENDER","pr":{"IS_PULL_REQUEST":"true"}},{"name":"Sail CI","constant":"SAIL","env":"SAILCI","pr":"SAIL_PULL_REQUEST_NUMBER"},{"name":"Screwdriver","constant":"SCREWDRIVER","env":"SCREWDRIVER","pr":{"env":"SD_PULL_REQUEST","ne":"false"}},{"name":"Semaphore","constant":"SEMAPHORE","env":"SEMAPHORE","pr":"PULL_REQUEST_NUMBER"},{"name":"Shippable","constant":"SHIPPABLE","env":"SHIPPABLE","pr":{"IS_PULL_REQUEST":"true"}},{"name":"Solano CI","constant":"SOLANO","env":"TDDIUM","pr":"TDDIUM_PR_ID"},{"name":"Sourcehut","constant":"SOURCEHUT","env":{"CI_NAME":"sourcehut"}},{"name":"Strider CD","constant":"STRIDER","env":"STRIDER"},{"name":"TaskCluster","constant":"TASKCLUSTER","env":["TASK_ID","RUN_ID"]},{"name":"TeamCity","constant":"TEAMCITY","env":"TEAMCITY_VERSION"},{"name":"Travis CI","constant":"TRAVIS","env":"TRAVIS","pr":{"env":"TRAVIS_PULL_REQUEST","ne":"false"}},{"name":"Vercel","constant":"VERCEL","env":{"any":["NOW_BUILDER","VERCEL"]}},{"name":"Visual Studio App Center","constant":"APPCENTER","env":"APPCENTER_BUILD_ID"},{"name":"Woodpecker","constant":"WOODPECKER","env":{"CI":"woodpecker"},"pr":{"CI_BUILD_EVENT":"pull_request"}},{"name":"Xcode Cloud","constant":"XCODE_CLOUD","env":"CI_XCODE_PROJECT","pr":"CI_PULL_REQUEST_NUMBER"},{"name":"Xcode Server","constant":"XCODE_SERVER","env":"XCS"}]');}),rh.register("ER74K",function(e,t){var r,n;function i(e){return n.GITHUB_ACTIONS?r.error(e):console.log(`\x1b[31m${e}\x1b[0m`);}function o(e){return console.log(`\x1b[32m${e}\x1b[0m`);}function s(e){return n.GITHUB_ACTIONS?r.warning(e):console.log(`\x1b[33m${e}\x1b[0m`);}function a(e){return n.GITHUB_ACTIONS?r.notice(e):console.log(`\x1b[94m${e}\x1b[0m`);}function c(e){return n.GITHUB_ACTIONS?r.info(e):console.log(e);}l(e.exports,"error",()=>i),l(e.exports,"success",()=>o),l(e.exports,"warning",()=>s),l(e.exports,"notice",()=>a),l(e.exports,"info",()=>c),r=rh("lcRzN"),n=rh("dTX7a");}),rh.register("lcRzN",function(e,t){var r,n,i,o,s,a,l,c,u,p,d,f;function h(e,t){let 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 m(e,t={}){s.issueCommand("error",l.toCommandProperties(t),e instanceof Error?e.toString():e);}function g(e){s.issue("group",e);}function v(){s.issue("endgroup");}r=e.exports&&e.exports.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r];}});}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r];}),n=e.exports&&e.exports.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),i=e.exports&&e.exports.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&r(t,e,i);return n(t,e),t;},o=e.exports&&e.exports.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e));}catch(e){o(e);}}function a(e){try{l(n.throw(e));}catch(e){o(e);}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t);})).then(s,a);}l((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,s=rh("17SLf"),a=rh("7PXQQ"),l=rh("6L1x9");let E=i(iu),y=i(ip);c=rh("5n2X4"),(f=u=e.exports.ExitCode||(e.exports.ExitCode={}))[f.Success=0]="Success",f[f.Failure=1]="Failure",e.exports.exportVariable=function(e,t){let r=l.toCommandValue(t);process.env[e]=r;let n=process.env.GITHUB_ENV||"";if(n)return a.issueFileCommand("ENV",a.prepareKeyValueMessage(e,t));s.issueCommand("set-env",{name:e},r);},e.exports.setSecret=function(e){s.issueCommand("add-mask",{},e);},e.exports.addPath=function(e){let t=process.env.GITHUB_PATH||"";t?a.issueFileCommand("PATH",e):s.issueCommand("add-path",{},e),process.env.PATH=`${e}${y.delimiter}${process.env.PATH}`;},e.exports.getInput=h,e.exports.getMultilineInput=function(e,t){let r=h(e,t).split("\n").filter(e=>""!==e);return t&&!1===t.trimWhitespace?r:r.map(e=>e.trim());},e.exports.getBooleanInput=function(e,t){let r=h(e,t);if(["true","True","TRUE"].includes(r))return!0;if(["false","False","FALSE"].includes(r))return!1;throw TypeError(`Input does not meet YAML 1.2 "Core Schema" specification: ${e} -Support boolean input list: \`true | True | TRUE | false | False | FALSE\``);},e.exports.setOutput=function(e,t){let r=process.env.GITHUB_OUTPUT||"";if(r)return a.issueFileCommand("OUTPUT",a.prepareKeyValueMessage(e,t));process.stdout.write(E.EOL),s.issueCommand("set-output",{name:e},l.toCommandValue(t));},e.exports.setCommandEcho=function(e){s.issue("echo",e?"on":"off");},e.exports.setFailed=function(e){process.exitCode=u.Failure,m(e);},e.exports.isDebug=function(){return"1"===process.env.RUNNER_DEBUG;},e.exports.debug=function(e){s.issueCommand("debug",{},e);},e.exports.error=m,e.exports.warning=function(e,t={}){s.issueCommand("warning",l.toCommandProperties(t),e instanceof Error?e.toString():e);},e.exports.notice=function(e,t={}){s.issueCommand("notice",l.toCommandProperties(t),e instanceof Error?e.toString():e);},e.exports.info=function(e){process.stdout.write(e+E.EOL);},e.exports.startGroup=g,e.exports.endGroup=v,e.exports.group=function(e,t){return o(this,void 0,void 0,function*(){let r;g(e);try{r=yield t();}finally{v();}return r;});},e.exports.saveState=function(e,t){let r=process.env.GITHUB_STATE||"";if(r)return a.issueFileCommand("STATE",a.prepareKeyValueMessage(e,t));s.issueCommand("save-state",{name:e},l.toCommandValue(t));},e.exports.getState=function(e){return process.env["STATE_"+e]||"";},e.exports.getIDToken=function(e){return o(this,void 0,void 0,function*(){return yield c.OidcClient.getIDToken(e);});},p=rh("4rwlm"),Object.defineProperty(e.exports,"summary",{enumerable:!0,get:function(){return p.summary;}}),p=rh("4rwlm"),Object.defineProperty(e.exports,"markdownSummary",{enumerable:!0,get:function(){return p.markdownSummary;}}),d=rh("3jp5d"),Object.defineProperty(e.exports,"toPosixPath",{enumerable:!0,get:function(){return d.toPosixPath;}}),Object.defineProperty(e.exports,"toWin32Path",{enumerable:!0,get:function(){return d.toWin32Path;}}),Object.defineProperty(e.exports,"toPlatformPath",{enumerable:!0,get:function(){return d.toPlatformPath;}});}),rh.register("17SLf",function(e,t){var r,n,i,o;function s(e,t,r){let n=new l(e,t,r);process.stdout.write(n.toString()+a.EOL);}r=e.exports&&e.exports.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r];}});}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r];}),n=e.exports&&e.exports.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),i=e.exports&&e.exports.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&r(t,e,i);return n(t,e),t;},Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.issue=e.exports.issueCommand=void 0;let a=i(iu);o=rh("6L1x9"),e.exports.issueCommand=s,e.exports.issue=function(e,t=""){s(e,{},t);};class l{constructor(e,t,r){e||(e="missing.command"),this.command=e,this.properties=t,this.message=r;}toString(){var e;let t="::"+this.command;if(this.properties&&Object.keys(this.properties).length>0){t+=" ";let e=!0;for(let r in this.properties)if(this.properties.hasOwnProperty(r)){let n=this.properties[r];n&&(e?e=!1:t+=",",t+=`${r}=${o.toCommandValue(n).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}`);}}return t+("::"+(e=this.message,o.toCommandValue(e).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")));}}}),rh.register("6L1x9",function(e,t){Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.toCommandProperties=e.exports.toCommandValue=void 0,e.exports.toCommandValue=function(e){return null==e?"":"string"==typeof e||e instanceof String?e:JSON.stringify(e);},e.exports.toCommandProperties=function(e){return Object.keys(e).length?{title:e.title,file:e.file,line:e.startLine,endLine:e.endLine,col:e.startColumn,endColumn:e.endColumn}:{};};}),rh.register("7PXQQ",function(e,t){var r,n,i,o,s;r=e.exports&&e.exports.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r];}});}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r];}),n=e.exports&&e.exports.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),i=e.exports&&e.exports.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&r(t,e,i);return n(t,e),t;},Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.prepareKeyValueMessage=e.exports.issueFileCommand=void 0;let a=i(id),l=i(iu);o=rh("4dndm"),s=rh("6L1x9"),e.exports.issueFileCommand=function(e,t){let r=process.env["GITHUB_"+e];if(!r)throw Error("Unable to find environment variable for file command "+e);if(!a.existsSync(r))throw Error("Missing file at path: "+r);a.appendFileSync(r,`${s.toCommandValue(t)}${l.EOL}`,{encoding:"utf8"});},e.exports.prepareKeyValueMessage=function(e,t){let r="ghadelimiter_"+o.default(),n=s.toCommandValue(t);if(e.includes(r))throw Error(`Unexpected input: name should not contain the delimiter "${r}"`);if(n.includes(r))throw Error(`Unexpected input: value should not contain the delimiter "${r}"`);return`${e}<<${r}${l.EOL}${n}${l.EOL}${r}`;};}),rh.register("4dndm",function(e,t){var r,n,i;l(e.exports,"default",()=>i),r=rh("5SVBN"),n=rh("38Etc"),i=function(e,t,i){e=e||{};let o=e.random||(e.rng||(0,r.default))();if(o[6]=15&o[6]|64,o[8]=63&o[8]|128,t){i=i||0;for(let e=0;e<16;++e)t[i+e]=o[e];return t;}return(0,n.default)(o);};}),rh.register("5SVBN",function(e,t){function r(){return i>n.length-16&&(c(ih).randomFillSync(n),i=0),n.slice(i,i+=16);}l(e.exports,"default",()=>r);let n=new Uint8Array(256),i=n.length;}),rh.register("38Etc",function(e,t){var r,n;l(e.exports,"default",()=>n),r=rh("f9HAa");let i=[];for(let e=0;e<256;++e)i.push((e+256).toString(16).substr(1));n=function(e,t=0){let n=(i[e[t+0]]+i[e[t+1]]+i[e[t+2]]+i[e[t+3]]+"-"+i[e[t+4]]+i[e[t+5]]+"-"+i[e[t+6]]+i[e[t+7]]+"-"+i[e[t+8]]+i[e[t+9]]+"-"+i[e[t+10]]+i[e[t+11]]+i[e[t+12]]+i[e[t+13]]+i[e[t+14]]+i[e[t+15]]).toLowerCase();if(!(0,r.default)(n))throw TypeError("Stringified UUID is invalid");return n;};}),rh.register("f9HAa",function(e,t){var r,n;l(e.exports,"default",()=>n),r=rh("bpRYF"),n=function(e){return"string"==typeof e&&(0,r.default).test(e);};}),rh.register("bpRYF",function(e,t){l(e.exports,"default",()=>r);var r=/^(?:[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;}),rh.register("5n2X4",function(e,t){var r=e.exports&&e.exports.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e));}catch(e){o(e);}}function a(e){try{l(n.throw(e));}catch(e){o(e);}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t);})).then(s,a);}l((n=n.apply(e,t||[])).next());});};Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.OidcClient=void 0;var n=rh("3bels"),i=rh("8GCMm"),o=rh("lcRzN");class s{static createHttpClient(e=!0,t=10){return new n.HttpClient("actions/oidc-client",[new i.BearerCredentialHandler(s.getRequestToken())],{allowRetries:e,maxRetries:t});}static getRequestToken(){let 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(){let 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*(){let r=s.createHttpClient(),n=yield r.getJson(e).catch(e=>{throw Error(`Failed to get ID Token. +`),console.table({"compiler and analyzer":{tools:"--llvm, --gcc, --msvc, --vcvarsall, --cppcheck, --clangtidy, --clangformat"},"build system":{tools:"--cmake, --ninja, --meson, --make, --task, --bazel"},"package manager":{tools:"--vcpkg, --conan, --choco, --brew, --nala"},cache:{tools:"--cppcache, --sccache"},documentation:{tools:"--doxygen, --graphviz"},coverage:{tools:"--gcovr, --opencppcoverage, --kcov"},other:{tools:"--python, --powershell, --sevenzip"}},["tools"]));let o=i.architecture??process.arch,s=process.env.SETUP_CPP_DIR??$(""),a=[],l=[],u=rb.create({autoloadLocales:!0});rb.addLocale(c(rR)),rw.addLocale(c(rx));let p=await ax();if(!function(e,t){let r=t.filter(t=>void 0!==e[t]),n=r.filter(t=>!e1(e[t])),i=n.length>=1?e[n[0]]:"true";return!n.some(t=>e[t]!==i)&&(r.forEach(t=>{e[t]=i;}),!0);}(i,["llvm","clangtidy","clangformat"]))return(0,ry.error)("The same version must be used for llvm, clangformat and clangtidy"),1;ei()&&"string"==typeof i.cppcheck&&"string"==typeof i.gcovr&&((0,ry.info)("installing python-pygments to avoid conflicts with cppcheck and gcovr on Arch linux"),await eu("python-pygments"));let d=!1,f=!1;for(let e of aK){if(rE.isCI&&0!==l.length){f=!0;break;}let n=i[e];void 0!==n&&(t=Date.now(),d=await tO(e,n,p,o,s,a,l,6e4*parseFloat(i.timeout??"20")),r=Date.now(),(0,ry.info)("took "+(u.format(t,r)||"0 seconds")));}if(!f){let e=i.compiler;if(void 0!==e){let t=Date.now();await tZ(e,p,s,o,a,d,l);let r=Date.now();(0,ry.info)("took "+(u.format(t,r)||"0 seconds"));}}if(await G(),0===a.length&&0===l.length)return(0,ry.warning)("setup-cpp was called without any arguments. Nothing to do."),0;if(a.forEach(e=>(0,ry.success)(e)),l.forEach(e=>(0,ry.error)(e)),(0,ry.info)("setup-cpp finished"),!rE.GITHUB_ACTIONS)switch(process.platform){case"win32":(0,ry.warning)("Run `RefreshEnv.cmd` or restart your shell to update the environment.");break;case"linux":case"darwin":(0,ry.warning)("Run `source ~/.cpprc` or restart your shell to update the environment.");}return await n,0===l.length?0:1;}var t1,t2,t4,t3,t6,t5,t8,t7,t9,re,rt,rr,rn,ri,ro,rs,ra,rl,rc,ru,rp,rd,rf,rh,rm,rv,rg,rE,ry,rw,rx,rb,rR,rI,rS,rO,rT,rC,r$,rA,r_,rN,rP,rL,rD,rk,rU,rj,rM,rF,rG,rB,rH,rq,rV,rz,rX,rW,rK,rY,rJ,rQ,rZ,r0,r1,r2,r4,r3,r6,r5,r8,r7,r9,ne,nt,nr,nn,ni,no,ns,na,nl,nc,nu,np,nd,nf,nh,nm,nv,ng,nE,ny,nw,nx,nb,nR,nI,nS,nO,nT,nC,n$,nA,n_,nN,nP,nL,nD,nk,nU,nj,nM,nF,nG,nB,nH,nq,nV,nz=require("os"),nX=require("path"),nW=require("fs"),nK=require("crypto"),nY=require("http"),nJ=require("https");require("net"),t4=require("tls"),t3=require("events"),t6=require("assert"),t5=require("util"),t8=require("fs"),t7=require("child_process"),t9=require("string_decoder"),re=require("timers"),rt=require("os"),rr=require("buffer"),rn=require("path"),ri=require("child_process"),ro=require("process"),rs=require("url"),ra=require("buffer"),rl=require("stream"),rc=require("util"),ru=require("process"),rp=require("url"),rd=require("console"),rh={},rm={},null==(rv=(rf=globalThis).parcelRequire810d)&&((rv=function(e){if(e in rh)return rh[e].exports;if(e in rm){var t=rm[e];delete rm[e];var r={id:e,exports:{}};return rh[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=function(e,t){rm[e]=t;},rf.parcelRequire810d=rv),(rg=rv.register)("52cQ1",function(e,t){var r;function n(e){return"string"==typeof e?!!i[e]:"env"in e?i[e.env]&&i[e.env].includes(e.includes):"any"in e?e.any.some(function(e){return!!i[e];}):Object.keys(e).every(function(t){return i[t]===e[t];});}r=rv("jgqtC");let i=process.env;Object.defineProperty(e.exports,"_vendors",{value:r.map(function(e){return e.constant;})}),e.exports.name=null,e.exports.isPR=null,r.forEach(function(t){let r=(Array.isArray(t.env)?t.env:[t.env]).every(function(e){return n(e);});if(e.exports[t.constant]=r,r)switch(e.exports.name=t.name,typeof t.pr){case"string":e.exports.isPR=!!i[t.pr];break;case"object":"env"in t.pr?e.exports.isPR=t.pr.env in i&&i[t.pr.env]!==t.pr.ne:"any"in t.pr?e.exports.isPR=t.pr.any.some(function(e){return!!i[e];}):e.exports.isPR=n(t.pr);break;default:e.exports.isPR=null;}}),e.exports.isCI=!!("false"!==i.CI&&(i.BUILD_ID||i.BUILD_NUMBER||i.CI||i.CI_APP_ID||i.CI_BUILD_ID||i.CI_BUILD_NUMBER||i.CI_NAME||i.CONTINUOUS_INTEGRATION||i.RUN_ID||e.exports.name));}),rg("jgqtC",function(e,t){e.exports=JSON.parse('[{"name":"Agola CI","constant":"AGOLA","env":"AGOLA_GIT_REF","pr":"AGOLA_PULL_REQUEST_ID"},{"name":"Appcircle","constant":"APPCIRCLE","env":"AC_APPCIRCLE"},{"name":"AppVeyor","constant":"APPVEYOR","env":"APPVEYOR","pr":"APPVEYOR_PULL_REQUEST_NUMBER"},{"name":"AWS CodeBuild","constant":"CODEBUILD","env":"CODEBUILD_BUILD_ARN"},{"name":"Azure Pipelines","constant":"AZURE_PIPELINES","env":"TF_BUILD","pr":{"BUILD_REASON":"PullRequest"}},{"name":"Bamboo","constant":"BAMBOO","env":"bamboo_planKey"},{"name":"Bitbucket Pipelines","constant":"BITBUCKET","env":"BITBUCKET_COMMIT","pr":"BITBUCKET_PR_ID"},{"name":"Bitrise","constant":"BITRISE","env":"BITRISE_IO","pr":"BITRISE_PULL_REQUEST"},{"name":"Buddy","constant":"BUDDY","env":"BUDDY_WORKSPACE_ID","pr":"BUDDY_EXECUTION_PULL_REQUEST_ID"},{"name":"Buildkite","constant":"BUILDKITE","env":"BUILDKITE","pr":{"env":"BUILDKITE_PULL_REQUEST","ne":"false"}},{"name":"CircleCI","constant":"CIRCLE","env":"CIRCLECI","pr":"CIRCLE_PULL_REQUEST"},{"name":"Cirrus CI","constant":"CIRRUS","env":"CIRRUS_CI","pr":"CIRRUS_PR"},{"name":"Codefresh","constant":"CODEFRESH","env":"CF_BUILD_ID","pr":{"any":["CF_PULL_REQUEST_NUMBER","CF_PULL_REQUEST_ID"]}},{"name":"Codemagic","constant":"CODEMAGIC","env":"CM_BUILD_ID","pr":"CM_PULL_REQUEST"},{"name":"Codeship","constant":"CODESHIP","env":{"CI_NAME":"codeship"}},{"name":"Drone","constant":"DRONE","env":"DRONE","pr":{"DRONE_BUILD_EVENT":"pull_request"}},{"name":"dsari","constant":"DSARI","env":"DSARI"},{"name":"Earthly","constant":"EARTHLY","env":"EARTHLY_CI"},{"name":"Expo Application Services","constant":"EAS","env":"EAS_BUILD"},{"name":"Gerrit","constant":"GERRIT","env":"GERRIT_PROJECT"},{"name":"Gitea Actions","constant":"GITEA_ACTIONS","env":"GITEA_ACTIONS"},{"name":"GitHub Actions","constant":"GITHUB_ACTIONS","env":"GITHUB_ACTIONS","pr":{"GITHUB_EVENT_NAME":"pull_request"}},{"name":"GitLab CI","constant":"GITLAB","env":"GITLAB_CI","pr":"CI_MERGE_REQUEST_ID"},{"name":"GoCD","constant":"GOCD","env":"GO_PIPELINE_LABEL"},{"name":"Google Cloud Build","constant":"GOOGLE_CLOUD_BUILD","env":"BUILDER_OUTPUT"},{"name":"Harness CI","constant":"HARNESS","env":"HARNESS_BUILD_ID"},{"name":"Heroku","constant":"HEROKU","env":{"env":"NODE","includes":"/app/.heroku/node/bin/node"}},{"name":"Hudson","constant":"HUDSON","env":"HUDSON_URL"},{"name":"Jenkins","constant":"JENKINS","env":["JENKINS_URL","BUILD_ID"],"pr":{"any":["ghprbPullId","CHANGE_ID"]}},{"name":"LayerCI","constant":"LAYERCI","env":"LAYERCI","pr":"LAYERCI_PULL_REQUEST"},{"name":"Magnum CI","constant":"MAGNUM","env":"MAGNUM"},{"name":"Netlify CI","constant":"NETLIFY","env":"NETLIFY","pr":{"env":"PULL_REQUEST","ne":"false"}},{"name":"Nevercode","constant":"NEVERCODE","env":"NEVERCODE","pr":{"env":"NEVERCODE_PULL_REQUEST","ne":"false"}},{"name":"Prow","constant":"PROW","env":"PROW_JOB_ID"},{"name":"ReleaseHub","constant":"RELEASEHUB","env":"RELEASE_BUILD_ID"},{"name":"Render","constant":"RENDER","env":"RENDER","pr":{"IS_PULL_REQUEST":"true"}},{"name":"Sail CI","constant":"SAIL","env":"SAILCI","pr":"SAIL_PULL_REQUEST_NUMBER"},{"name":"Screwdriver","constant":"SCREWDRIVER","env":"SCREWDRIVER","pr":{"env":"SD_PULL_REQUEST","ne":"false"}},{"name":"Semaphore","constant":"SEMAPHORE","env":"SEMAPHORE","pr":"PULL_REQUEST_NUMBER"},{"name":"Sourcehut","constant":"SOURCEHUT","env":{"CI_NAME":"sourcehut"}},{"name":"Strider CD","constant":"STRIDER","env":"STRIDER"},{"name":"TaskCluster","constant":"TASKCLUSTER","env":["TASK_ID","RUN_ID"]},{"name":"TeamCity","constant":"TEAMCITY","env":"TEAMCITY_VERSION"},{"name":"Travis CI","constant":"TRAVIS","env":"TRAVIS","pr":{"env":"TRAVIS_PULL_REQUEST","ne":"false"}},{"name":"Vela","constant":"VELA","env":"VELA","pr":{"VELA_PULL_REQUEST":"1"}},{"name":"Vercel","constant":"VERCEL","env":{"any":["NOW_BUILDER","VERCEL"]},"pr":"VERCEL_GIT_PULL_REQUEST_ID"},{"name":"Visual Studio App Center","constant":"APPCENTER","env":"APPCENTER_BUILD_ID"},{"name":"Woodpecker","constant":"WOODPECKER","env":{"CI":"woodpecker"},"pr":{"CI_BUILD_EVENT":"pull_request"}},{"name":"Xcode Cloud","constant":"XCODE_CLOUD","env":"CI_XCODE_PROJECT","pr":"CI_PULL_REQUEST_NUMBER"},{"name":"Xcode Server","constant":"XCODE_SERVER","env":"XCS"}]');}),rg("ER74K",function(e,t){var r,n;function i(e){return n.GITHUB_ACTIONS?r.error(e):console.log(`\x1b[31m${e}\x1b[0m`);}function o(e){return console.log(`\x1b[32m${e}\x1b[0m`);}function s(e){return n.GITHUB_ACTIONS?r.warning(e):console.log(`\x1b[33m${e}\x1b[0m`);}function a(e){return n.GITHUB_ACTIONS?r.notice(e):console.log(`\x1b[94m${e}\x1b[0m`);}function c(e){return n.GITHUB_ACTIONS?r.info(e):console.log(e);}l(e.exports,"error",()=>i),l(e.exports,"success",()=>o),l(e.exports,"warning",()=>s),l(e.exports,"notice",()=>a),l(e.exports,"info",()=>c),r=rv("4t50X"),n=rv("52cQ1");}),rg("4t50X",function(e,t){var r,n,i,o,s,a,l,c,u,p,d,f;function h(e,t){let 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 m(e,t={}){s.issueCommand("error",l.toCommandProperties(t),e instanceof Error?e.toString():e);}function v(e){s.issue("group",e);}function g(){s.issue("endgroup");}r=e.exports&&e.exports.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r];}});}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r];}),n=e.exports&&e.exports.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),i=e.exports&&e.exports.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&r(t,e,i);return n(t,e),t;},o=e.exports&&e.exports.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e));}catch(e){o(e);}}function a(e){try{l(n.throw(e));}catch(e){o(e);}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t);})).then(s,a);}l((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,s=rv("dIPEE"),a=rv("aSbHp"),l=rv("i0ItD");let E=i(nz),y=i(nX);c=rv("6dNYa"),(f=u=e.exports.ExitCode||(e.exports.ExitCode={}))[f.Success=0]="Success",f[f.Failure=1]="Failure",e.exports.exportVariable=function(e,t){let r=l.toCommandValue(t);if(process.env[e]=r,process.env.GITHUB_ENV)return a.issueFileCommand("ENV",a.prepareKeyValueMessage(e,t));s.issueCommand("set-env",{name:e},r);},e.exports.setSecret=function(e){s.issueCommand("add-mask",{},e);},e.exports.addPath=function(e){process.env.GITHUB_PATH?a.issueFileCommand("PATH",e):s.issueCommand("add-path",{},e),process.env.PATH=`${e}${y.delimiter}${process.env.PATH}`;},e.exports.getInput=h,e.exports.getMultilineInput=function(e,t){let r=h(e,t).split("\n").filter(e=>""!==e);return t&&!1===t.trimWhitespace?r:r.map(e=>e.trim());},e.exports.getBooleanInput=function(e,t){let r=h(e,t);if(["true","True","TRUE"].includes(r))return!0;if(["false","False","FALSE"].includes(r))return!1;throw TypeError(`Input does not meet YAML 1.2 "Core Schema" specification: ${e} +Support boolean input list: \`true | True | TRUE | false | False | FALSE\``);},e.exports.setOutput=function(e,t){if(process.env.GITHUB_OUTPUT)return a.issueFileCommand("OUTPUT",a.prepareKeyValueMessage(e,t));process.stdout.write(E.EOL),s.issueCommand("set-output",{name:e},l.toCommandValue(t));},e.exports.setCommandEcho=function(e){s.issue("echo",e?"on":"off");},e.exports.setFailed=function(e){process.exitCode=u.Failure,m(e);},e.exports.isDebug=function(){return"1"===process.env.RUNNER_DEBUG;},e.exports.debug=function(e){s.issueCommand("debug",{},e);},e.exports.error=m,e.exports.warning=function(e,t={}){s.issueCommand("warning",l.toCommandProperties(t),e instanceof Error?e.toString():e);},e.exports.notice=function(e,t={}){s.issueCommand("notice",l.toCommandProperties(t),e instanceof Error?e.toString():e);},e.exports.info=function(e){process.stdout.write(e+E.EOL);},e.exports.startGroup=v,e.exports.endGroup=g,e.exports.group=function(e,t){return o(this,void 0,void 0,function*(){let r;v(e);try{r=yield t();}finally{g();}return r;});},e.exports.saveState=function(e,t){if(process.env.GITHUB_STATE)return a.issueFileCommand("STATE",a.prepareKeyValueMessage(e,t));s.issueCommand("save-state",{name:e},l.toCommandValue(t));},e.exports.getState=function(e){return process.env["STATE_"+e]||"";},e.exports.getIDToken=function(e){return o(this,void 0,void 0,function*(){return yield c.OidcClient.getIDToken(e);});},p=rv("dTpO2"),Object.defineProperty(e.exports,"summary",{enumerable:!0,get:function(){return p.summary;}}),p=rv("dTpO2"),Object.defineProperty(e.exports,"markdownSummary",{enumerable:!0,get:function(){return p.markdownSummary;}}),d=rv("azKnO"),Object.defineProperty(e.exports,"toPosixPath",{enumerable:!0,get:function(){return d.toPosixPath;}}),Object.defineProperty(e.exports,"toWin32Path",{enumerable:!0,get:function(){return d.toWin32Path;}}),Object.defineProperty(e.exports,"toPlatformPath",{enumerable:!0,get:function(){return d.toPlatformPath;}});}),rg("dIPEE",function(e,t){var r,n,i,o;function s(e,t,r){let n=new l(e,t,r);process.stdout.write(n.toString()+a.EOL);}r=e.exports&&e.exports.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r];}});}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r];}),n=e.exports&&e.exports.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),i=e.exports&&e.exports.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&r(t,e,i);return n(t,e),t;},Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.issue=e.exports.issueCommand=void 0;let a=i(nz);o=rv("i0ItD"),e.exports.issueCommand=s,e.exports.issue=function(e,t=""){s(e,{},t);};class l{constructor(e,t,r){e||(e="missing.command"),this.command=e,this.properties=t,this.message=r;}toString(){var e;let t="::"+this.command;if(this.properties&&Object.keys(this.properties).length>0){t+=" ";let e=!0;for(let r in this.properties)if(this.properties.hasOwnProperty(r)){let n=this.properties[r];n&&(e?e=!1:t+=",",t+=`${r}=${o.toCommandValue(n).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}`);}}return t+("::"+(e=this.message,o.toCommandValue(e).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")));}}}),rg("i0ItD",function(e,t){Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.toCommandProperties=e.exports.toCommandValue=void 0,e.exports.toCommandValue=function(e){return null==e?"":"string"==typeof e||e instanceof String?e:JSON.stringify(e);},e.exports.toCommandProperties=function(e){return Object.keys(e).length?{title:e.title,file:e.file,line:e.startLine,endLine:e.endLine,col:e.startColumn,endColumn:e.endColumn}:{};};}),rg("aSbHp",function(e,t){var r,n,i,o,s;r=e.exports&&e.exports.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r];}});}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r];}),n=e.exports&&e.exports.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),i=e.exports&&e.exports.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&r(t,e,i);return n(t,e),t;},Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.prepareKeyValueMessage=e.exports.issueFileCommand=void 0;let a=i(nW),l=i(nz);o=rv("e3G3w"),s=rv("i0ItD"),e.exports.issueFileCommand=function(e,t){let r=process.env["GITHUB_"+e];if(!r)throw Error("Unable to find environment variable for file command "+e);if(!a.existsSync(r))throw Error("Missing file at path: "+r);a.appendFileSync(r,`${s.toCommandValue(t)}${l.EOL}`,{encoding:"utf8"});},e.exports.prepareKeyValueMessage=function(e,t){let r="ghadelimiter_"+o.default(),n=s.toCommandValue(t);if(e.includes(r))throw Error(`Unexpected input: name should not contain the delimiter "${r}"`);if(n.includes(r))throw Error(`Unexpected input: value should not contain the delimiter "${r}"`);return`${e}<<${r}${l.EOL}${n}${l.EOL}${r}`;};}),rg("e3G3w",function(e,t){var r,n,i;l(e.exports,"default",()=>i),r=rv("kDGEy"),n=rv("2ckr2"),i=function(e,t,i){let o=(e=e||{}).random||(e.rng||(0,r.default))();if(o[6]=15&o[6]|64,o[8]=63&o[8]|128,t){i=i||0;for(let e=0;e<16;++e)t[i+e]=o[e];return t;}return(0,n.default)(o);};}),rg("kDGEy",function(e,t){function r(){return i>n.length-16&&(c(nK).randomFillSync(n),i=0),n.slice(i,i+=16);}l(e.exports,"default",()=>r);let n=new Uint8Array(256),i=n.length;}),rg("2ckr2",function(e,t){var r,n;l(e.exports,"default",()=>n),r=rv("9IL8W");let i=[];for(let e=0;e<256;++e)i.push((e+256).toString(16).substr(1));n=function(e,t=0){let n=(i[e[t+0]]+i[e[t+1]]+i[e[t+2]]+i[e[t+3]]+"-"+i[e[t+4]]+i[e[t+5]]+"-"+i[e[t+6]]+i[e[t+7]]+"-"+i[e[t+8]]+i[e[t+9]]+"-"+i[e[t+10]]+i[e[t+11]]+i[e[t+12]]+i[e[t+13]]+i[e[t+14]]+i[e[t+15]]).toLowerCase();if(!(0,r.default)(n))throw TypeError("Stringified UUID is invalid");return n;};}),rg("9IL8W",function(e,t){var r,n;l(e.exports,"default",()=>n),r=rv("hDU47"),n=function(e){return"string"==typeof e&&(0,r.default).test(e);};}),rg("hDU47",function(e,t){l(e.exports,"default",()=>r);var r=/^(?:[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;}),rg("6dNYa",function(e,t){var r=e.exports&&e.exports.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e));}catch(e){o(e);}}function a(e){try{l(n.throw(e));}catch(e){o(e);}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t);})).then(s,a);}l((n=n.apply(e,t||[])).next());});};Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.OidcClient=void 0;var n=rv("a7JAS"),i=rv("3T6Pq"),o=rv("4t50X");class s{static createHttpClient(e=!0,t=10){return new n.HttpClient("actions/oidc-client",[new i.BearerCredentialHandler(s.getRequestToken())],{allowRetries:e,maxRetries:t});}static getRequestToken(){let 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(){let 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*(){let r=s.createHttpClient(),n=null===(t=(yield r.getJson(e).catch(e=>{throw Error(`Failed to get ID Token. Error Code : ${e.statusCode} - Error Message: ${e.result.message}`);}),i=null===(t=n.result)||void 0===t?void 0:t.value;if(!i)throw Error("Response json body do not have ID Token field");return i;});}static getIDToken(e){return r(this,void 0,void 0,function*(){try{let t=s.getIDTokenUrl();if(e){let r=encodeURIComponent(e);t=`${t}&audience=${r}`;}o.debug("ID token url is "+t);let r=yield s.getCall(t);return o.setSecret(r),r;}catch(e){throw Error("Error message: "+e.message);}});}}e.exports.OidcClient=s;}),rh.register("3bels",function(e,t){var r,n,i,o,s,a,l,c,u;r=e.exports&&e.exports.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r];}});}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r];}),n=e.exports&&e.exports.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),i=e.exports&&e.exports.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&r(t,e,i);return n(t,e),t;},o=e.exports&&e.exports.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e));}catch(e){o(e);}}function a(e){try{l(n.throw(e));}catch(e){o(e);}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t);})).then(s,a);}l((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;let p=i(im),d=i(ig),f=i(rh("ht6Lg")),h=i(rh("eYDoL"));(c=s=e.exports.HttpCodes||(e.exports.HttpCodes={}))[c.OK=200]="OK",c[c.MultipleChoices=300]="MultipleChoices",c[c.MovedPermanently=301]="MovedPermanently",c[c.ResourceMoved=302]="ResourceMoved",c[c.SeeOther=303]="SeeOther",c[c.NotModified=304]="NotModified",c[c.UseProxy=305]="UseProxy",c[c.SwitchProxy=306]="SwitchProxy",c[c.TemporaryRedirect=307]="TemporaryRedirect",c[c.PermanentRedirect=308]="PermanentRedirect",c[c.BadRequest=400]="BadRequest",c[c.Unauthorized=401]="Unauthorized",c[c.PaymentRequired=402]="PaymentRequired",c[c.Forbidden=403]="Forbidden",c[c.NotFound=404]="NotFound",c[c.MethodNotAllowed=405]="MethodNotAllowed",c[c.NotAcceptable=406]="NotAcceptable",c[c.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",c[c.RequestTimeout=408]="RequestTimeout",c[c.Conflict=409]="Conflict",c[c.Gone=410]="Gone",c[c.TooManyRequests=429]="TooManyRequests",c[c.InternalServerError=500]="InternalServerError",c[c.NotImplemented=501]="NotImplemented",c[c.BadGateway=502]="BadGateway",c[c.ServiceUnavailable=503]="ServiceUnavailable",c[c.GatewayTimeout=504]="GatewayTimeout",(u=a=e.exports.Headers||(e.exports.Headers={})).Accept="accept",u.ContentType="content-type",(l=e.exports.MediaTypes||(e.exports.MediaTypes={})).ApplicationJson="application/json",e.exports.getProxyUrl=function(e){let t=f.getProxyUrl(new URL(e));return t?t.href:"";};let m=[s.MovedPermanently,s.ResourceMoved,s.SeeOther,s.TemporaryRedirect,s.PermanentRedirect],g=[s.BadGateway,s.ServiceUnavailable,s.GatewayTimeout],v=["OPTIONS","GET","DELETE","HEAD"];class E extends Error{constructor(e,t){super(e),this.name="HttpClientError",this.statusCode=t,Object.setPrototypeOf(this,E.prototype);}}e.exports.HttpClientError=E;class y{constructor(e){this.message=e;}readBody(){return o(this,void 0,void 0,function*(){return new Promise(e=>o(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.toString());});}));});}}e.exports.HttpClientResponse=y,e.exports.isHttps=function(e){let t=new URL(e);return"https:"===t.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 o(this,void 0,void 0,function*(){return this.request("OPTIONS",e,null,t||{});});}get(e,t){return o(this,void 0,void 0,function*(){return this.request("GET",e,null,t||{});});}del(e,t){return o(this,void 0,void 0,function*(){return this.request("DELETE",e,null,t||{});});}post(e,t,r){return o(this,void 0,void 0,function*(){return this.request("POST",e,t,r||{});});}patch(e,t,r){return o(this,void 0,void 0,function*(){return this.request("PATCH",e,t,r||{});});}put(e,t,r){return o(this,void 0,void 0,function*(){return this.request("PUT",e,t,r||{});});}head(e,t){return o(this,void 0,void 0,function*(){return this.request("HEAD",e,null,t||{});});}sendStream(e,t,r,n){return o(this,void 0,void 0,function*(){return this.request(e,t,r,n);});}getJson(e,t={}){return o(this,void 0,void 0,function*(){t[a.Accept]=this._getExistingOrDefaultHeader(t,a.Accept,l.ApplicationJson);let r=yield this.get(e,t);return this._processResponse(r,this.requestOptions);});}postJson(e,t,r={}){return o(this,void 0,void 0,function*(){let n=JSON.stringify(t,null,2);r[a.Accept]=this._getExistingOrDefaultHeader(r,a.Accept,l.ApplicationJson),r[a.ContentType]=this._getExistingOrDefaultHeader(r,a.ContentType,l.ApplicationJson);let i=yield this.post(e,n,r);return this._processResponse(i,this.requestOptions);});}putJson(e,t,r={}){return o(this,void 0,void 0,function*(){let n=JSON.stringify(t,null,2);r[a.Accept]=this._getExistingOrDefaultHeader(r,a.Accept,l.ApplicationJson),r[a.ContentType]=this._getExistingOrDefaultHeader(r,a.ContentType,l.ApplicationJson);let i=yield this.put(e,n,r);return this._processResponse(i,this.requestOptions);});}patchJson(e,t,r={}){return o(this,void 0,void 0,function*(){let n=JSON.stringify(t,null,2);r[a.Accept]=this._getExistingOrDefaultHeader(r,a.Accept,l.ApplicationJson),r[a.ContentType]=this._getExistingOrDefaultHeader(r,a.ContentType,l.ApplicationJson);let i=yield this.patch(e,n,r);return this._processResponse(i,this.requestOptions);});}request(e,t,r,n){return o(this,void 0,void 0,function*(){let i;if(this._disposed)throw Error("Client has already been disposed.");let o=new URL(t),a=this._prepareRequest(e,o,n),l=this._allowRetries&&v.includes(e)?this._maxRetries+1:1,c=0;do{if((i=yield this.requestRaw(a,r))&&i.message&&i.message.statusCode===s.Unauthorized){let e;for(let t of this.handlers)if(t.canHandleAuthentication(i)){e=t;break;}if(e)return e.handleAuthentication(this,a,r);break;}let t=this._maxRedirects;for(;i.message.statusCode&&m.includes(i.message.statusCode)&&this._allowRedirects&&t>0;){let s=i.message.headers.location;if(!s)break;let l=new URL(s);if("https:"===o.protocol&&o.protocol!==l.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 i.readBody(),l.hostname!==o.hostname)for(let e in n)"authorization"===e.toLowerCase()&&delete n[e];a=this._prepareRequest(e,l,n),i=yield this.requestRaw(a,r),t--;}if(!i.message.statusCode||!g.includes(i.message.statusCode))break;(c+=1){this.requestRawWithCallback(e,t,function(e,t){e?n(e):t?r(t):n(Error("Unknown error"));});});});}requestRawWithCallback(e,t,r){let n;function i(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,s=e.httpModule.request(e.options,e=>{let t=new y(e);i(void 0,t);});s.on("socket",e=>{n=e;}),s.setTimeout(this._socketTimeout||18e4,()=>{n&&n.end(),i(Error("Request timeout: "+e.options.path));}),s.on("error",function(e){i(e);}),t&&"string"==typeof t&&s.write(t,"utf8"),t&&"string"!=typeof t?(t.on("close",function(){s.end();}),t.pipe(s)):s.end();}getAgent(e){let t=new URL(e);return this._getAgent(t);}_prepareRequest(e,t,r){let n={};n.parsedUrl=t;let i="https:"===n.parsedUrl.protocol;if(n.httpModule=i?d:p,n.options={},n.options.host=n.parsedUrl.hostname,n.options.port=n.parsedUrl.port?parseInt(n.parsedUrl.port):i?443:80,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(let e of this.handlers)e.prepareRequest(n.options);return n;}_mergeHeaders(e){return this.requestOptions&&this.requestOptions.headers?Object.assign({},w(this.requestOptions.headers),w(e||{})):w(e||{});}_getExistingOrDefaultHeader(e,t,r){let n;return this.requestOptions&&this.requestOptions.headers&&(n=w(this.requestOptions.headers)[t]),e[t]||n||r;}_getAgent(e){let t;let r=f.getProxyUrl(e),n=r&&r.hostname;if(this._keepAlive&&n&&(t=this._proxyAgent),this._keepAlive&&!n&&(t=this._agent),t)return t;let i="https:"===e.protocol,o=100;if(this.requestOptions&&(o=this.requestOptions.maxSockets||p.globalAgent.maxSockets),r&&r.hostname){let e;let n={maxSockets:o,keepAlive:this._keepAlive,proxy:Object.assign(Object.assign({},(r.username||r.password)&&{proxyAuth:`${r.username}:${r.password}`}),{host:r.hostname,port:r.port})},s="https:"===r.protocol;t=(i?s?h.httpsOverHttps:h.httpsOverHttp:s?h.httpOverHttps:h.httpOverHttp)(n),this._proxyAgent=t;}if(this._keepAlive&&!t){let e={keepAlive:this._keepAlive,maxSockets:o};t=i?new d.Agent(e):new p.Agent(e),this._agent=t;}return t||(t=i?d.globalAgent:p.globalAgent),i&&this._ignoreSslError&&(t.options=Object.assign(t.options||{},{rejectUnauthorized:!1})),t;}_performExponentialBackoff(e){return o(this,void 0,void 0,function*(){e=Math.min(10,e);let t=5*Math.pow(2,e);return new Promise(e=>setTimeout(()=>e(),t));});}_processResponse(e,t){return o(this,void 0,void 0,function*(){return new Promise((r,n)=>o(this,void 0,void 0,function*(){let i,o;let a=e.message.statusCode||0,l={statusCode:a,result:null,headers:{}};a===s.NotFound&&r(l);try{(o=yield e.readBody())&&o.length>0&&(i=t&&t.deserializeDates?JSON.parse(o,function(e,t){if("string"==typeof t){let e=new Date(t);if(!isNaN(e.valueOf()))return e;}return t;}):JSON.parse(o),l.result=i),l.headers=e.message.headers;}catch(e){}if(a>299){let e;e=i&&i.message?i.message:o&&o.length>0?o:`Failed request: (${a})`;let t=new E(e,a);t.result=l.result,n(t);}else r(l);}));});}};let w=e=>Object.keys(e).reduce((t,r)=>(t[r.toLowerCase()]=e[r],t),{});}),rh.register("ht6Lg",function(e,t){function r(e){let t;if(!e.hostname)return!1;let r=e.hostname;if(function(e){let t=e.toLowerCase();return"localhost"===t||t.startsWith("127.")||t.startsWith("[::1]")||t.startsWith("[0:0:0:0:0:0:0:1]");}(r))return!0;let n=process.env.no_proxy||process.env.NO_PROXY||"";if(!n)return!1;e.port?t=+e.port:"http:"===e.protocol?t=80:"https:"===e.protocol&&(t=443);let i=[e.hostname.toUpperCase()];for(let e of("number"==typeof t&&i.push(`${i[0]}:${t}`),n.split(",").map(e=>e.trim().toUpperCase()).filter(e=>e)))if("*"===e||i.some(t=>t===e||t.endsWith("."+e)||e.startsWith(".")&&t.endsWith(""+e)))return!0;return!1;}Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.checkBypass=e.exports.getProxyUrl=void 0,e.exports.getProxyUrl=function(e){let t="https:"===e.protocol;if(r(e))return;let 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;}),rh.register("eYDoL",function(e,t){e.exports=rh("gBbBa");}),rh.register("gBbBa",function(e,t){var r,n,i,o,s,a;function c(e){var t=this;t.options=e||{},t.proxyOptions=t.options.proxy||{},t.maxSockets=t.options.maxSockets||im.Agent.defaultMaxSockets,t.requests=[],t.sockets=[],t.on("free",function(e,r,n,i){for(var o=p(r,n,i),s=0,a=t.requests.length;a>s;++s){var l=t.requests[s];if(l.host===o.host&&l.port===o.port){t.requests.splice(s,1),l.request.onSocket(e);return;}}e.destroy(),t.removeSocket(e);});}function u(e,t){var r=this;c.prototype.createSocket.call(r,e,function(n){var i=e.request.getHeader("host"),o=d({},r.options,{socket:n,servername:i?i.replace(/:.*$/,""):e.host}),s=t1.connect(0,o);r.sockets[r.sockets.indexOf(n)]=s,t(s);});}function p(e,t,r){return"string"==typeof e?{host:e,port:t,localAddress:r}:e;}function d(e){for(var t=1,r=arguments.length;r>t;++t){var n=arguments[t];if("object"==typeof n)for(var i=Object.keys(n),o=0,s=i.length;s>o;++o){var a=i[o];void 0!==n[a]&&(e[a]=n[a]);}}return e;}l(e.exports,"httpOverHttp",()=>r,e=>r=e),l(e.exports,"httpsOverHttp",()=>n,e=>n=e),l(e.exports,"httpOverHttps",()=>i,e=>i=e),l(e.exports,"httpsOverHttps",()=>o,e=>o=e),l(e.exports,"debug",()=>s,e=>s=e),r=function(e){var t=new c(e);return t.request=im.request,t;},n=function(e){var t=new c(e);return t.request=im.request,t.createSocket=u,t.defaultPort=443,t;},i=function(e){var t=new c(e);return t.request=ig.request,t;},o=function(e){var t=new c(e);return t.request=ig.request,t.createSocket=u,t.defaultPort=443,t;},t4.inherits(c,t2.EventEmitter),c.prototype.addRequest=function(e,t,r,n){var i=this,o=d({request:e},i.options,p(t,r,n));if(i.sockets.length>=this.maxSockets){i.requests.push(o);return;}i.createSocket(o,function(t){function r(){i.emit("free",t,o);}function n(e){i.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);});},c.prototype.createSocket=function(e,t){function r(r,n,l){if(i.removeAllListeners(),n.removeAllListeners(),200!==r.statusCode){a("tunneling socket could not be established, statusCode=%d",r.statusCode),n.destroy();var c=Error("tunneling socket could not be established, statusCode="+r.statusCode);c.code="ECONNRESET",e.request.emit("error",c),o.removeSocket(s);return;}if(l.length>0){a("got illegal response body from proxy"),n.destroy();var c=Error("got illegal response body from proxy");c.code="ECONNRESET",e.request.emit("error",c),o.removeSocket(s);return;}return a("tunneling connection has established"),o.sockets[o.sockets.indexOf(s)]=n,t(n);}var n,i,o=this,s={};o.sockets.push(s),n=d({},o.proxyOptions,{method:"CONNECT",path:e.host+":"+e.port,agent:!1,headers:{host:e.host+":"+e.port}}),e.localAddress&&(n.localAddress=e.localAddress),n.proxyAuth&&(n.headers=n.headers||{},n.headers["Proxy-Authorization"]="Basic "+new Buffer(n.proxyAuth).toString("base64")),a("making CONNECT request"),(i=o.request(n)).useChunkedEncodingByDefault=!1,i.once("response",function(e){e.upgrade=!0;}),i.once("upgrade",function(e,t,n){process.nextTick(function(){r(e,t,n);});}),i.once("connect",r),i.once("error",function(t){i.removeAllListeners(),a("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),o.removeSocket(s);}),i.end();},c.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,function(e){r.request.onSocket(e);});}},s=a=process.env.NODE_DEBUG&&/\btunnel\b/.test(process.env.NODE_DEBUG)?function(){var e=Array.prototype.slice.call(arguments);"string"==typeof e[0]?e[0]="TUNNEL: "+e[0]:e.unshift("TUNNEL:"),console.error.apply(console,e);}:function(){};}),rh.register("8GCMm",function(e,t){var r=e.exports&&e.exports.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e));}catch(e){o(e);}}function a(e){try{l(n.throw(e));}catch(e){o(e);}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t);})).then(s,a);}l((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");});}};}),rh.register("4rwlm",function(e,t){var r=e.exports&&e.exports.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e));}catch(e){o(e);}}function a(e){try{l(n.throw(e));}catch(e){o(e);}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t);})).then(s,a);}l((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;let{access:n,appendFile:i,writeFile:o}=id.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";let s=new class{constructor(){this._buffer="";}filePath(){return r(this,void 0,void 0,function*(){if(this._filePath)return this._filePath;let 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,id.constants.R_OK|id.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={}){let 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*(){let t=!!(null==e?void 0:e.overwrite),r=yield this.filePath();return yield(t?o:i)(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(iu.EOL);}addCodeBlock(e,t){let r=Object.assign({},t&&{lang:t}),n=this.wrap("pre",this.wrap("code",e),r);return this.addRaw(n).addEOL();}addList(e,t=!1){let r=e.map(e=>this.wrap("li",e)).join(""),n=this.wrap(t?"ol":"ul",r);return this.addRaw(n).addEOL();}addTable(e){let t=e.map(e=>{let t=e.map(e=>{if("string"==typeof e)return this.wrap("td",e);let{header:t,data:r,colspan:n,rowspan:i}=e,o=Object.assign(Object.assign({},n&&{colspan:n}),i&&{rowspan:i});return this.wrap(t?"th":"td",r,o);}).join("");return this.wrap("tr",t);}).join(""),r=this.wrap("table",t);return this.addRaw(r).addEOL();}addDetails(e,t){let r=this.wrap("details",this.wrap("summary",e)+t);return this.addRaw(r).addEOL();}addImage(e,t,r){let{width:n,height:i}=r||{},o=Object.assign(Object.assign({},n&&{width:n}),i&&{height:i}),s=this.wrap("img",null,Object.assign({src:e,alt:t},o));return this.addRaw(s).addEOL();}addHeading(e,t){let r="h"+t,n=["h1","h2","h3","h4","h5","h6"].includes(r)?r:"h1",i=this.wrap(n,e);return this.addRaw(i).addEOL();}addSeparator(){let e=this.wrap("hr",null);return this.addRaw(e).addEOL();}addBreak(){let e=this.wrap("br",null);return this.addRaw(e).addEOL();}addQuote(e,t){let r=Object.assign({},t&&{cite:t}),n=this.wrap("blockquote",e,r);return this.addRaw(n).addEOL();}addLink(e,t){let r=this.wrap("a",e,{href:t});return this.addRaw(r).addEOL();}}();e.exports.markdownSummary=s,e.exports.summary=s;}),rh.register("3jp5d",function(e,t){var r,n,i;r=e.exports&&e.exports.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r];}});}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r];}),n=e.exports&&e.exports.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),i=e.exports&&e.exports.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&r(t,e,i);return n(t,e),t;},Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.toPlatformPath=e.exports.toWin32Path=e.exports.toPosixPath=void 0;let o=i(ip);e.exports.toPosixPath=function(e){return e.replace(/[\\]/g,"/");},e.exports.toWin32Path=function(e){return e.replace(/[/]/g,"\\");},e.exports.toPlatformPath=function(e){return e.replace(/[/\\]/g,o.sep);};}),rh.register("fXZh0",function(e,t){var r=ip.resolve(__dirname,"../../node_modules/.pnpm/numerous@1.0.3/node_modules/numerous/lib");(function(){var t,n;function i(e,r,n){if(o(e),"object"!=typeof n)throw Error("List of variants should be specified as an object");var i=t[e](r);return void 0!==n[i]?n[i]:null;}function o(e){!(void 0!==t[e])&&function(e){try{require(r+"/../locales/"+e+".js");}catch(t){throw Error("Failed to load the following locale: "+e);}}(e);}t={},n={create:function(e){return o(e),{pluralize:function(t,r){return i(e,t,r);}};},addLocale:function(e,r){t[e]=r;},pluralize:i},void 0!==e.exports?e.exports=n:this.numerous=n;}).call(e.exports);}),rh.register("25uEY",function(e,t){function r(e){for(let t of(Array.isArray(e)||(e=[e]),e)){let{id:e,data:r}=t;a[e]=r;}}var n=rh("ggaxg"),i=rh("crMMK");let o=[["years",290304e5],["months",24192e5],["weeks",6048e5],["days",864e5],["hours",36e5],["minutes",6e4],["seconds",1e3]],s={locale:"en",span:2,delimiter:", ",unitType:"long",unitTypeLookupOrder:["long","short","narrow"],autoloadLocales:!0},a={};e.exports={create:function(e){return e=Object.assign({},s,e||{}),{format:function(t,s,l){return function(e,t,s){if(function(e,t){let{autoload:n}=t;if(!a[e]){if(i&&n)(function(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);else throw Error(`Missing locale: ${e}, you must load it manually before using it`);}}(s.locale,{autoload:s.autoloadLocales}),!e)throw Error("Missing first date argument");if(!t)throw Error("Missing second date argument");let l=function(e,t){let r=t-e,n=[];return o.some(function(e){let t=e[0],i=e[1],o=Math.floor(r/i);if(r-=o*i,n.push([t,o]),r<=0)return!0;}),n;}(e,t),c=[];for(let e of l){let[t,r]=e;if(r>0&&c.push(function(e,t,r){let i=function(e){var t;let r=a[e.locale],n=e.unitTypeLookupOrder.slice();n.unshift(e.unitType),t=n;let i=null;if((n=Array.from(new Set(t))).some(function(e){if(void 0!==r[e])return i=r[e],!0;}),null===i)throw Error("Can not find any unit type data for locale: "+e.locale);return i;}(r),o=n.pluralize(r.locale,t,i[e]);return o.replace("{0}",t);}(t,r,s)),c.length>=s.span)break;}return c.join(s.delimiter);}(t,s,l=Object.assign({},e,l||{}));}};},addLocale:r,defaultConfig:s};}),rh.register("ggaxg",function(e,t){e.exports=rh("fXZh0");}),rh.register("crMMK",function(e,t){e.exports=!!("undefined"!=typeof process&&process.versions&&process.versions.node);}),rh.register("a3PNV",function(e,t){function r(e,t,r){return!!(e.isSymbolicLink()||e.isFile())&&function(e,t){var r=void 0!==t.pathExt?t.pathExt:process.env.PATHEXT;if(!r||-1!==(r=r.split(";")).indexOf(""))return!0;for(var n=0;n{for(let[t,r]of f)e=e.split(`${t}*`).join(`${t}{0,${r}}`).split(`${t}+`).join(`${t}{1,${r}}`);return e;},m=(e,t,r)=>{let n=h(t),i=p++;s(e,i,t),u[e]=i,c[i]=t,a[i]=new RegExp(t,r?"g":void 0),l[i]=new RegExp(n,r?"g":void 0);};m("NUMERICIDENTIFIER","0|[1-9]\\d*"),m("NUMERICIDENTIFIERLOOSE","\\d+"),m("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${d}*`),m("MAINVERSION",`(${c[u.NUMERICIDENTIFIER]})\\.(${c[u.NUMERICIDENTIFIER]})\\.(${c[u.NUMERICIDENTIFIER]})`),m("MAINVERSIONLOOSE",`(${c[u.NUMERICIDENTIFIERLOOSE]})\\.(${c[u.NUMERICIDENTIFIERLOOSE]})\\.(${c[u.NUMERICIDENTIFIERLOOSE]})`),m("PRERELEASEIDENTIFIER",`(?:${c[u.NUMERICIDENTIFIER]}|${c[u.NONNUMERICIDENTIFIER]})`),m("PRERELEASEIDENTIFIERLOOSE",`(?:${c[u.NUMERICIDENTIFIERLOOSE]}|${c[u.NONNUMERICIDENTIFIER]})`),m("PRERELEASE",`(?:-(${c[u.PRERELEASEIDENTIFIER]}(?:\\.${c[u.PRERELEASEIDENTIFIER]})*))`),m("PRERELEASELOOSE",`(?:-?(${c[u.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${c[u.PRERELEASEIDENTIFIERLOOSE]})*))`),m("BUILDIDENTIFIER",`${d}+`),m("BUILD",`(?:\\+(${c[u.BUILDIDENTIFIER]}(?:\\.${c[u.BUILDIDENTIFIER]})*))`),m("FULLPLAIN",`v?${c[u.MAINVERSION]}${c[u.PRERELEASE]}?${c[u.BUILD]}?`),m("FULL",`^${c[u.FULLPLAIN]}$`),m("LOOSEPLAIN",`[v=\\s]*${c[u.MAINVERSIONLOOSE]}${c[u.PRERELEASELOOSE]}?${c[u.BUILD]}?`),m("LOOSE",`^${c[u.LOOSEPLAIN]}$`),m("GTLT","((?:<|>)?=?)"),m("XRANGEIDENTIFIERLOOSE",`${c[u.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),m("XRANGEIDENTIFIER",`${c[u.NUMERICIDENTIFIER]}|x|X|\\*`),m("XRANGEPLAIN",`[v=\\s]*(${c[u.XRANGEIDENTIFIER]})(?:\\.(${c[u.XRANGEIDENTIFIER]})(?:\\.(${c[u.XRANGEIDENTIFIER]})(?:${c[u.PRERELEASE]})?${c[u.BUILD]}?)?)?`),m("XRANGEPLAINLOOSE",`[v=\\s]*(${c[u.XRANGEIDENTIFIERLOOSE]})(?:\\.(${c[u.XRANGEIDENTIFIERLOOSE]})(?:\\.(${c[u.XRANGEIDENTIFIERLOOSE]})(?:${c[u.PRERELEASELOOSE]})?${c[u.BUILD]}?)?)?`),m("XRANGE",`^${c[u.GTLT]}\\s*${c[u.XRANGEPLAIN]}$`),m("XRANGELOOSE",`^${c[u.GTLT]}\\s*${c[u.XRANGEPLAINLOOSE]}$`),m("COERCE",`(^|[^\\d])(\\d{1,${n}})(?:\\.(\\d{1,${n}}))?(?:\\.(\\d{1,${n}}))?(?:$|[^\\d])`),m("COERCERTL",c[u.COERCE],!0),m("LONETILDE","(?:~>?)"),m("TILDETRIM",`(\\s*)${c[u.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",m("TILDE",`^${c[u.LONETILDE]}${c[u.XRANGEPLAIN]}$`),m("TILDELOOSE",`^${c[u.LONETILDE]}${c[u.XRANGEPLAINLOOSE]}$`),m("LONECARET","(?:\\^)"),m("CARETTRIM",`(\\s*)${c[u.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",m("CARET",`^${c[u.LONECARET]}${c[u.XRANGEPLAIN]}$`),m("CARETLOOSE",`^${c[u.LONECARET]}${c[u.XRANGEPLAINLOOSE]}$`),m("COMPARATORLOOSE",`^${c[u.GTLT]}\\s*(${c[u.LOOSEPLAIN]})$|^$`),m("COMPARATOR",`^${c[u.GTLT]}\\s*(${c[u.FULLPLAIN]})$|^$`),m("COMPARATORTRIM",`(\\s*)${c[u.GTLT]}\\s*(${c[u.LOOSEPLAIN]}|${c[u.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",m("HYPHENRANGE",`^\\s*(${c[u.XRANGEPLAIN]})\\s+-\\s+(${c[u.XRANGEPLAIN]})\\s*$`),m("HYPHENRANGELOOSE",`^\\s*(${c[u.XRANGEPLAINLOOSE]})\\s+-\\s+(${c[u.XRANGEPLAINLOOSE]})\\s*$`),m("STAR","(<|>)?=?\\s*\\*"),m("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),m("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$");}),rh.register("juUXZ",function(e,t){let r=Number.MAX_SAFE_INTEGER||9007199254740991;e.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_BUILD_LENGTH:250,MAX_SAFE_INTEGER:r,RELEASE_TYPES:["major","premajor","minor","preminor","patch","prepatch","prerelease"],SEMVER_SPEC_VERSION:"2.0.0",FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2};}),rh.register("3Zcn3",function(e,t){let r="object"==typeof process&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};e.exports=r;}),rh.register("kxoMX",function(e,t){var r=rh("3Zcn3"),n=rh("juUXZ"),i=n.MAX_LENGTH,o=n.MAX_SAFE_INTEGER,s=rh("fB52W"),a=s.safeRe,l=s.t,c=rh("ifDVe"),u=rh("eT4Gq").compareIdentifiers;class p{constructor(e,t){if(t=c(t),e instanceof p){if(!!t.loose===e.loose&&!!t.includePrerelease===e.includePrerelease)return e;e=e.version;}else if("string"!=typeof e)throw TypeError(`Invalid version. Must be a string. Got type "${typeof e}".`);if(e.length>i)throw TypeError(`version is longer than ${i} characters`);r("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;let n=e.trim().match(t.loose?a[l.LOOSE]:a[l.FULL]);if(!n)throw TypeError("Invalid Version: "+e);if(this.raw=e,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>o||this.major<0)throw TypeError("Invalid major version");if(this.minor>o||this.minor<0)throw TypeError("Invalid minor version");if(this.patch>o||this.patch<0)throw TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map(e=>{if(/^[0-9]+$/.test(e)){let t=+e;if(t>=0&&t=0;)"number"==typeof this.prerelease[n]&&(this.prerelease[n]++,n=-2);if(-1===n){if(t===this.prerelease.join(".")&&!1===r)throw Error("invalid increment argument: identifier already exists");this.prerelease.push(e);}}if(t){let n=[t,e];!1===r&&(n=[t]),0===u(this.prerelease[0],t)?isNaN(this.prerelease[1])&&(this.prerelease=n):this.prerelease=n;}break;}default:throw Error("invalid increment argument: "+e);}return this.raw=this.format(),this.build.length&&(this.raw+="+"+this.build.join(".")),this;}}e.exports=p;}),rh.register("ifDVe",function(e,t){let r=Object.freeze({loose:!0}),n=Object.freeze({});e.exports=e=>e?"object"!=typeof e?r:e:n;}),rh.register("eT4Gq",function(e,t){let r=(e,t)=>{let r=/^[0-9]+$/.test(e),n=/^[0-9]+$/.test(t);return r&&n&&(e=+e,t=+t),e===t?0:r&&!n?-1:n&&!r?1:t>e?-1:1;};e.exports={compareIdentifiers:r,rcompareIdentifiers:(e,t)=>r(t,e)};}),rh.register("6moLM",function(e,t){var r=rh("kxoMX");e.exports=(e,t,n=!1)=>{if(e instanceof r)return e;try{return new r(e,t);}catch(e){if(!n)return null;throw e;}};}),rh.register("eJTZB",function(e,t){var r=rh("6moLM");e.exports=(e,t)=>{let n=r(e,t);return n?n.version:null;};}),rh.register("e3PGr",function(e,t){var r=rh("6moLM");e.exports=(e,t)=>{let n=r(e.trim().replace(/^[=v]+/,""),t);return n?n.version:null;};}),rh.register("dqKDW",function(e,t){var r=rh("kxoMX");e.exports=(e,t,n,i,o)=>{"string"==typeof n&&(o=i,i=n,n=void 0);try{return new r(e instanceof r?e.version:e,n).inc(t,i,o).version;}catch(e){return null;}};}),rh.register("gPIs5",function(e,t){var r=rh("6moLM");e.exports=(e,t)=>{let n=r(e,null,!0),i=r(t,null,!0),o=n.compare(i);if(0===o)return null;let s=o>0,a=s?n:i,l=s?i:n,c=!!a.prerelease.length,u=!!l.prerelease.length;if(u&&!c)return l.patch||l.minor?a.patch?"patch":a.minor?"minor":"major":"major";let p=c?"pre":"";return n.major!==i.major?p+"major":n.minor!==i.minor?p+"minor":n.patch!==i.patch?p+"patch":"prerelease";};}),rh.register("bX9Em",function(e,t){var r=rh("kxoMX");e.exports=(e,t)=>new r(e,t).major;}),rh.register("iAJEE",function(e,t){var r=rh("kxoMX");e.exports=(e,t)=>new r(e,t).minor;}),rh.register("fHTYs",function(e,t){var r=rh("kxoMX");e.exports=(e,t)=>new r(e,t).patch;}),rh.register("8PQ4n",function(e,t){var r=rh("6moLM");e.exports=(e,t)=>{let n=r(e,t);return n&&n.prerelease.length?n.prerelease:null;};}),rh.register("3Z6CK",function(e,t){var r=rh("kxoMX");e.exports=(e,t,n)=>new r(e,n).compare(new r(t,n));}),rh.register("6WviK",function(e,t){var r=rh("3Z6CK");e.exports=(e,t,n)=>r(t,e,n);}),rh.register("8cCiP",function(e,t){var r=rh("3Z6CK");e.exports=(e,t)=>r(e,t,!0);}),rh.register("2JTVo",function(e,t){var r=rh("kxoMX");e.exports=(e,t,n)=>{let i=new r(e,n),o=new r(t,n);return i.compare(o)||i.compareBuild(o);};}),rh.register("bizdR",function(e,t){var r=rh("2JTVo");e.exports=(e,t)=>e.sort((e,n)=>r(e,n,t));}),rh.register("2lHfL",function(e,t){var r=rh("2JTVo");e.exports=(e,t)=>e.sort((e,n)=>r(n,e,t));}),rh.register("9XGBY",function(e,t){var r=rh("3Z6CK");e.exports=(e,t,n)=>r(e,t,n)>0;}),rh.register("2zuiw",function(e,t){var r=rh("3Z6CK");e.exports=(e,t,n)=>0>r(e,t,n);}),rh.register("bDcXu",function(e,t){var r=rh("3Z6CK");e.exports=(e,t,n)=>0===r(e,t,n);}),rh.register("lvpAe",function(e,t){var r=rh("3Z6CK");e.exports=(e,t,n)=>0!==r(e,t,n);}),rh.register("1um22",function(e,t){var r=rh("3Z6CK");e.exports=(e,t,n)=>r(e,t,n)>=0;}),rh.register("1ndHP",function(e,t){var r=rh("3Z6CK");e.exports=(e,t,n)=>0>=r(e,t,n);}),rh.register("7Dt1t",function(e,t){var r=rh("bDcXu"),n=rh("lvpAe"),i=rh("9XGBY"),o=rh("1um22"),s=rh("2zuiw"),a=rh("1ndHP");e.exports=(e,t,l,c)=>{switch(t){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof l&&(l=l.version),e===l;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof l&&(l=l.version),e!==l;case"":case"=":case"==":return r(e,l,c);case"!=":return n(e,l,c);case">":return i(e,l,c);case">=":return o(e,l,c);case"<":return s(e,l,c);case"<=":return a(e,l,c);default:throw TypeError("Invalid operator: "+t);}};}),rh.register("9hSY8",function(e,t){var r=rh("kxoMX"),n=rh("6moLM"),i=rh("fB52W"),o=i.safeRe,s=i.t;e.exports=(e,t)=>{if(e instanceof r)return e;if("number"==typeof e&&(e+=""),"string"!=typeof e)return null;let i=null;if((t=t||{}).rtl){let t;for(;(t=o[s.COERCERTL].exec(e))&&(!i||i.index+i[0].length!==e.length);)i&&t.index+t[0].length===i.index+i[0].length||(i=t),o[s.COERCERTL].lastIndex=t.index+t[1].length+t[2].length;o[s.COERCERTL].lastIndex=-1;}else i=e.match(o[s.COERCE]);return null===i?null:n(`${i[2]}.${i[3]||"0"}.${i[4]||"0"}`,t);};}),rh.register("ge7Lx",function(e,t){let r=Symbol();class n{static get ANY(){return r;}constructor(e,t){if(t=i(t),e instanceof n){if(!!t.loose===e.loose)return e;e=e.value;}c("comparator",e=e.trim().split(/\s+/).join(" "),t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===r?this.value="":this.value=this.operator+this.semver.version,c("comp",this);}parse(e){let t=this.options.loose?s[a.COMPARATORLOOSE]:s[a.COMPARATOR],n=e.match(t);if(!n)throw TypeError("Invalid comparator: "+e);this.operator=void 0!==n[1]?n[1]:"","="===this.operator&&(this.operator=""),n[2]?this.semver=new u(n[2],this.options.loose):this.semver=r;}toString(){return this.value;}test(e){if(c("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 l(e,this.operator,this.semver,this.options);}intersects(e,t){if(!(e instanceof n))throw TypeError("a Comparator is required");return""===this.operator?""===this.value||new p(e.value,t).test(this.value):""===e.operator?""===e.value||new p(this.value,t).test(e.semver):!((t=i(t)).includePrerelease&&("<0.0.0-0"===this.value||"<0.0.0-0"===e.value)||!t.includePrerelease&&(this.value.startsWith("<0.0.0")||e.value.startsWith("<0.0.0")))&&!!(this.operator.startsWith(">")&&e.operator.startsWith(">")||this.operator.startsWith("<")&&e.operator.startsWith("<")||this.semver.version===e.semver.version&&this.operator.includes("=")&&e.operator.includes("=")||l(this.semver,"<",e.semver,t)&&this.operator.startsWith(">")&&e.operator.startsWith("<")||l(this.semver,">",e.semver,t)&&this.operator.startsWith("<")&&e.operator.startsWith(">"));}}e.exports=n;var i=rh("ifDVe"),o=rh("fB52W"),s=o.safeRe,a=o.t,l=rh("7Dt1t"),c=rh("3Zcn3"),u=rh("kxoMX"),p=rh("gBfHp");}),rh.register("gBfHp",function(e,t){class r{constructor(e,t){if(t=o(t),e instanceof r){if(!!t.loose===e.loose&&!!t.includePrerelease===e.includePrerelease)return e;return 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.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map(e=>this.parseRange(e.trim())).filter(e=>e.length),!this.set.length)throw TypeError("Invalid SemVer Range: "+this.raw);if(this.set.length>1){let e=this.set[0];if(this.set=this.set.filter(e=>!E(e[0])),0===this.set.length)this.set=[e];else if(this.set.length>1){for(let e of this.set)if(1===e.length&&y(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){let t=(this.options.includePrerelease&&g)|(this.options.loose&&v),r=t+":"+e,n=i.get(r);if(n)return n;let o=this.options.loose,l=o?u[p.HYPHENRANGELOOSE]:u[p.HYPHENRANGE];a("hyphen replace",e=e.replace(l,P(this.options.includePrerelease))),a("comparator trim",e=e.replace(u[p.COMPARATORTRIM],d)),a("tilde trim",e=e.replace(u[p.TILDETRIM],f)),a("caret trim",e=e.replace(u[p.CARETTRIM],h));let c=e.split(" ").map(e=>x(e,this.options)).join(" ").split(/\s+/).map(e=>A(e,this.options));o&&(c=c.filter(e=>(a("loose invalid filter",e,this.options),!!e.match(u[p.COMPARATORLOOSE])))),a("range list",c);let m=new Map(),y=c.map(e=>new s(e,this.options));for(let e of y){if(E(e))return[e];m.set(e.value,e);}m.size>1&&m.has("")&&m.delete("");let w=[...m.values()];return i.set(r,w),w;}intersects(e,t){if(!(e instanceof r))throw TypeError("a Range is required");return this.set.some(r=>w(r,t)&&e.set.some(e=>w(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 l(e,this.options);}catch(e){return!1;}for(let t=0;t"<0.0.0-0"===e.value,y=e=>""===e.value,w=(e,t)=>{let r=!0,n=e.slice(),i=n.pop();for(;r&&n.length;)r=n.every(e=>i.intersects(e,t)),i=n.pop();return r;},x=(e,t)=>(a("comp",e,t),e=R(e,t),a("caret",e),e=I(e,t),a("tildes",e),e=T(e,t),a("xrange",e),e=$(e,t),a("stars",e),e),b=e=>!e||"x"===e.toLowerCase()||"*"===e,I=(e,t)=>e.trim().split(/\s+/).map(e=>S(e,t)).join(" "),S=(e,t)=>{let r=t.loose?u[p.TILDELOOSE]:u[p.TILDE];return e.replace(r,(t,r,n,i,o)=>{let s;return a("tilde",e,t,r,n,i,o),b(r)?s="":b(n)?s=`>=${r}.0.0 <${+r+1}.0.0-0`:b(i)?s=`>=${r}.${n}.0 <${r}.${+n+1}.0-0`:o?(a("replaceTilde pr",o),s=`>=${r}.${n}.${i}-${o} <${r}.${+n+1}.0-0`):s=`>=${r}.${n}.${i} <${r}.${+n+1}.0-0`,a("tilde return",s),s;});},R=(e,t)=>e.trim().split(/\s+/).map(e=>O(e,t)).join(" "),O=(e,t)=>{a("caret",e,t);let r=t.loose?u[p.CARETLOOSE]:u[p.CARET],n=t.includePrerelease?"-0":"";return e.replace(r,(t,r,i,o,s)=>{let l;return a("caret",e,t,r,i,o,s),b(r)?l="":b(i)?l=`>=${r}.0.0${n} <${+r+1}.0.0-0`:b(o)?l="0"===r?`>=${r}.${i}.0${n} <${r}.${+i+1}.0-0`:`>=${r}.${i}.0${n} <${+r+1}.0.0-0`:s?(a("replaceCaret pr",s),l="0"===r?"0"===i?`>=${r}.${i}.${o}-${s} <${r}.${i}.${+o+1}-0`:`>=${r}.${i}.${o}-${s} <${r}.${+i+1}.0-0`:`>=${r}.${i}.${o}-${s} <${+r+1}.0.0-0`):(a("no pr"),l="0"===r?"0"===i?`>=${r}.${i}.${o}${n} <${r}.${i}.${+o+1}-0`:`>=${r}.${i}.${o}${n} <${r}.${+i+1}.0-0`:`>=${r}.${i}.${o} <${+r+1}.0.0-0`),a("caret return",l),l;});},T=(e,t)=>(a("replaceXRanges",e,t),e.split(/\s+/).map(e=>C(e,t)).join(" ")),C=(e,t)=>{e=e.trim();let r=t.loose?u[p.XRANGELOOSE]:u[p.XRANGE];return e.replace(r,(r,n,i,o,s,l)=>{a("xRange",e,r,n,i,o,s,l);let c=b(i),u=c||b(o),p=u||b(s);return"="===n&&p&&(n=""),l=t.includePrerelease?"-0":"",c?r=">"===n||"<"===n?"<0.0.0-0":"*":n&&p?(u&&(o=0),s=0,">"===n?(n=">=",u?(i=+i+1,o=0):o=+o+1,s=0):"<="===n&&(n="<",u?i=+i+1:o=+o+1),"<"===n&&(l="-0"),r=`${n+i}.${o}.${s}${l}`):u?r=`>=${i}.0.0${l} <${+i+1}.0.0-0`:p&&(r=`>=${i}.${o}.0${l} <${i}.${+o+1}.0-0`),a("xRange return",r),r;});},$=(e,t)=>(a("replaceStars",e,t),e.trim().replace(u[p.STAR],"")),A=(e,t)=>(a("replaceGTE0",e,t),e.trim().replace(u[t.includePrerelease?p.GTE0PRE:p.GTE0],"")),P=e=>(t,r,n,i,o,s,a,l,c,u,p,d,f)=>`${r=b(n)?"":b(i)?`>=${n}.0.0${e?"-0":""}`:b(o)?`>=${n}.${i}.0${e?"-0":""}`:s?">="+r:`>=${r}${e?"-0":""}`} ${l=b(c)?"":b(u)?`<${+c+1}.0.0-0`:b(p)?`<${c}.${+u+1}.0-0`:d?`<=${c}.${u}.${p}-${d}`:e?`<${c}.${u}.${+p+1}-0`:"<="+l}`.trim(),N=(e,t,r)=>{for(let r=0;r0){let n=e[r].semver;if(n.major===t.major&&n.minor===t.minor&&n.patch===t.patch)return!0;}return!1;}return!0;};}),rh.register("l6u7r",function(e,t){var r=rh("hDmTp");let n=Symbol(),i=Symbol(),o=Symbol(),s=Symbol(),a=Symbol(),l=Symbol(),c=Symbol(),u=Symbol(),p=Symbol(),d=Symbol(),f=()=>1,h=(e,t,r)=>{let n=e[p].get(t);if(n){let t=n.value;if(m(e,t)){if(v(e,n),!e[s])return;}else r&&(e[d]&&(n.value.now=Date.now()),e[u].unshiftNode(n));return t.value;}},m=(e,t)=>{if(!t||!t.maxAge&&!e[a])return!1;let r=Date.now()-t.now;return t.maxAge?r>t.maxAge:e[a]&&r>e[a];},g=e=>{if(e[i]>e[n])for(let t=e[u].tail;e[i]>e[n]&&null!==t;){let r=t.prev;v(e,t),t=r;}},v=(e,t)=>{if(t){let r=t.value;e[l]&&e[l](r.key,r.value),e[i]-=r.length,e[p].delete(r.key),e[u].removeNode(t);}};class E{constructor(e,t,r,n,i){this.key=e,this.value=t,this.length=r,this.now=n,this.maxAge=i||0;}}let y=(e,t,r,n)=>{let i=r.value;m(e,i)&&(v(e,r),e[s]||(i=void 0)),i&&t.call(n,i.value,i.key,e);};e.exports=class{constructor(e){if("number"==typeof e&&(e={max:e}),e||(e={}),e.max&&("number"!=typeof e.max||e.max<0))throw TypeError("max must be a non-negative number");this[n]=e.max||1/0;let t=e.length||f;if(this[o]="function"!=typeof t?f:t,this[s]=e.stale||!1,e.maxAge&&"number"!=typeof e.maxAge)throw TypeError("maxAge must be a number");this[a]=e.maxAge||0,this[l]=e.dispose,this[c]=e.noDisposeOnSet||!1,this[d]=e.updateAgeOnGet||!1,this.reset();}set max(e){if("number"!=typeof e||e<0)throw TypeError("max must be a non-negative number");this[n]=e||1/0,g(this);}get max(){return this[n];}set allowStale(e){this[s]=!!e;}get allowStale(){return this[s];}set maxAge(e){if("number"!=typeof e)throw TypeError("maxAge must be a non-negative number");this[a]=e,g(this);}get maxAge(){return this[a];}set lengthCalculator(e){"function"!=typeof e&&(e=f),e!==this[o]&&(this[o]=e,this[i]=0,this[u].forEach(e=>{e.length=this[o](e.value,e.key),this[i]+=e.length;})),g(this);}get lengthCalculator(){return this[o];}get length(){return this[i];}get itemCount(){return this[u].length;}rforEach(e,t){t=t||this;for(let r=this[u].tail;null!==r;){let n=r.prev;y(this,e,r,t),r=n;}}forEach(e,t){t=t||this;for(let r=this[u].head;null!==r;){let n=r.next;y(this,e,r,t),r=n;}}keys(){return this[u].toArray().map(e=>e.key);}values(){return this[u].toArray().map(e=>e.value);}reset(){this[l]&&this[u]&&this[u].length&&this[u].forEach(e=>this[l](e.key,e.value)),this[p]=new Map(),this[u]=new r(),this[i]=0;}dump(){return this[u].map(e=>!m(this,e)&&{k:e.key,v:e.value,e:e.now+(e.maxAge||0)}).toArray().filter(e=>e);}dumpLru(){return this[u];}set(e,t,r){if((r=r||this[a])&&"number"!=typeof r)throw TypeError("maxAge must be a number");let s=r?Date.now():0,d=this[o](t,e);if(this[p].has(e)){if(d>this[n])return v(this,this[p].get(e)),!1;let o=this[p].get(e),a=o.value;return this[l]&&!this[c]&&this[l](e,a.value),a.now=s,a.maxAge=r,a.value=t,this[i]+=d-a.length,a.length=d,this.get(e),g(this),!0;}let f=new E(e,t,d,s,r);return f.length>this[n]?(this[l]&&this[l](e,t),!1):(this[i]+=f.length,this[u].unshift(f),this[p].set(e,this[u].head),g(this),!0);}has(e){if(!this[p].has(e))return!1;let t=this[p].get(e).value;return!m(this,t);}get(e){return h(this,e,!0);}peek(e){return h(this,e,!1);}pop(){let e=this[u].tail;return e?(v(this,e),e.value):null;}del(e){v(this,this[p].get(e));}load(e){this.reset();let t=Date.now();for(let r=e.length-1;r>=0;r--){let n=e[r],i=n.e||0;if(0===i)this.set(n.k,n.v);else{let e=i-t;e>0&&this.set(n.k,n.v,e);}}}prune(){this[p].forEach((e,t)=>h(this,t,!1));}};}),rh.register("hDmTp",function(e,t){function r(e){var t=this;if(t instanceof r||(t=new r()),t.tail=null,t.head=null,t.length=0,e&&"function"==typeof e.forEach)e.forEach(function(e){t.push(e);});else if(arguments.length>0)for(var n=0,i=arguments.length;i>n;n++)t.push(arguments[n]);return t;}function n(e,t,r,i){if(!(this instanceof n))return new n(e,t,r,i);this.list=i,this.value=e,t?(t.next=this,this.prev=t):this.prev=null,r?(r.prev=this,this.next=r):this.next=null;}e.exports=r,r.Node=n,r.create=r,r.prototype.removeNode=function(e){if(e.list!==this)throw Error("removing node which does not belong to this list");var t=e.next,r=e.prev;return t&&(t.prev=r),r&&(r.next=t),e===this.head&&(this.head=t),e===this.tail&&(this.tail=r),e.list.length--,e.next=null,e.prev=null,e.list=null,t;},r.prototype.unshiftNode=function(e){if(e!==this.head){e.list&&e.list.removeNode(e);var t=this.head;e.list=this,e.next=t,t&&(t.prev=e),this.head=e,this.tail||(this.tail=e),this.length++;}},r.prototype.pushNode=function(e){if(e!==this.tail){e.list&&e.list.removeNode(e);var t=this.tail;e.list=this,e.prev=t,t&&(t.next=e),this.tail=e,this.head||(this.head=e),this.length++;}},r.prototype.push=function(){for(var e,t=0,r=arguments.length;r>t;t++)e=arguments[t],this.tail=new n(e,this.tail,null,this),this.head||(this.head=this.tail),this.length++;return this.length;},r.prototype.unshift=function(){for(var e,t=0,r=arguments.length;r>t;t++)e=arguments[t],this.head=new n(e,null,this.head,this),this.tail||(this.tail=this.head),this.length++;return this.length;},r.prototype.pop=function(){if(this.tail){var e=this.tail.value;return this.tail=this.tail.prev,this.tail?this.tail.next=null:this.head=null,this.length--,e;}},r.prototype.shift=function(){if(this.head){var e=this.head.value;return this.head=this.head.next,this.head?this.head.prev=null:this.tail=null,this.length--,e;}},r.prototype.forEach=function(e,t){t=t||this;for(var r=this.head,n=0;null!==r;n++)e.call(t,r.value,n,this),r=r.next;},r.prototype.forEachReverse=function(e,t){t=t||this;for(var r=this.tail,n=this.length-1;null!==r;n--)e.call(t,r.value,n,this),r=r.prev;},r.prototype.get=function(e){for(var t=0,r=this.head;null!==r&&e>t;t++)r=r.next;if(t===e&&null!==r)return r.value;},r.prototype.getReverse=function(e){for(var t=0,r=this.tail;null!==r&&e>t;t++)r=r.prev;if(t===e&&null!==r)return r.value;},r.prototype.map=function(e,t){t=t||this;for(var n=new r(),i=this.head;null!==i;)n.push(e.call(t,i.value,this)),i=i.next;return n;},r.prototype.mapReverse=function(e,t){t=t||this;for(var n=new r(),i=this.tail;null!==i;)n.push(e.call(t,i.value,this)),i=i.prev;return n;},r.prototype.reduce=function(e,t){var r,n=this.head;if(arguments.length>1)r=t;else if(this.head)n=this.head.next,r=this.head.value;else throw TypeError("Reduce of empty list with no initial value");for(var i=0;null!==n;i++)r=e(r,n.value,i),n=n.next;return r;},r.prototype.reduceReverse=function(e,t){var r,n=this.tail;if(arguments.length>1)r=t;else if(this.tail)n=this.tail.prev,r=this.tail.value;else throw TypeError("Reduce of empty list with no initial value");for(var i=this.length-1;null!==n;i--)r=e(r,n.value,i),n=n.prev;return r;},r.prototype.toArray=function(){for(var e=Array(this.length),t=0,r=this.head;null!==r;t++)e[t]=r.value,r=r.next;return e;},r.prototype.toArrayReverse=function(){for(var e=Array(this.length),t=0,r=this.tail;null!==r;t++)e[t]=r.value,r=r.prev;return e;},r.prototype.slice=function(e,t){(t=t||this.length)<0&&(t+=this.length),(e=e||0)<0&&(e+=this.length);var n=new r();if(tthis.length&&(t=this.length);for(var i=0,o=this.head;null!==o&&ii;i++,o=o.next)n.push(o.value);return n;},r.prototype.sliceReverse=function(e,t){(t=t||this.length)<0&&(t+=this.length),(e=e||0)<0&&(e+=this.length);var n=new r();if(tthis.length&&(t=this.length);for(var i=this.length,o=this.tail;null!==o&&i>t;i--)o=o.prev;for(;null!==o&&i>e;i--,o=o.prev)n.push(o.value);return n;},r.prototype.splice=function(e,t,...r){e>this.length&&(e=this.length-1),e<0&&(e=this.length+e);for(var i=0,o=this.head;null!==o&&e>i;i++)o=o.next;for(var s=[],i=0;o&&i{try{t=new r(t,n);}catch(e){return!1;}return t.test(e);};}),rh.register("eRxC5",function(e,t){var r=rh("gBfHp");e.exports=(e,t)=>new r(e,t).set.map(e=>e.map(e=>e.value).join(" ").trim().split(" "));}),rh.register("aWpPt",function(e,t){var r=rh("kxoMX"),n=rh("gBfHp");e.exports=(e,t,i)=>{let o=null,s=null,a=null;try{a=new n(t,i);}catch(e){return null;}return e.forEach(e=>{a.test(e)&&(!o||-1===s.compare(e))&&(o=e,s=new r(o,i));}),o;};}),rh.register("gGB3p",function(e,t){var r=rh("kxoMX"),n=rh("gBfHp");e.exports=(e,t,i)=>{let o=null,s=null,a=null;try{a=new n(t,i);}catch(e){return null;}return e.forEach(e=>{a.test(e)&&(!o||1===s.compare(e))&&(o=e,s=new r(o,i));}),o;};}),rh.register("hnV3l",function(e,t){var r=rh("kxoMX"),n=rh("gBfHp"),i=rh("9XGBY");e.exports=(e,t)=>{e=new n(e,t);let o=new r("0.0.0");if(e.test(o)||(o=new r("0.0.0-0"),e.test(o)))return o;o=null;for(let t=0;t{let 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">=":(!s||i(t,s))&&(s=t);break;case"<":case"<=":break;default:throw Error("Unexpected operation: "+e.operator);}}),s&&(!o||i(o,s))&&(o=s);}return o&&e.test(o)?o:null;};}),rh.register("3sVLb",function(e,t){var r=rh("gBfHp");e.exports=(e,t)=>{try{return new r(e,t).range||"*";}catch(e){return null;}};}),rh.register("iqmnd",function(e,t){var r=rh("kxoMX"),n=rh("ge7Lx");let{ANY:i}=n;var o=rh("gBfHp"),s=rh("gxgIF"),a=rh("9XGBY"),l=rh("2zuiw"),c=rh("1ndHP"),u=rh("1um22");e.exports=(e,t,p,d)=>{let f,h,m,g,v;switch(e=new r(e,d),t=new o(t,d),p){case">":f=a,h=c,m=l,g=">",v=">=";break;case"<":f=l,h=u,m=a,g="<",v="<=";break;default:throw TypeError('Must provide a hilo val of "<" or ">"');}if(s(e,t,d))return!1;for(let r=0;r{e.semver===i&&(e=new n(">=0.0.0")),s=s||e,a=a||e,f(e.semver,s.semver,d)?s=e:m(e.semver,a.semver,d)&&(a=e);}),s.operator===g||s.operator===v||(!a.operator||a.operator===g)&&h(e,a.semver)||a.operator===v&&m(e,a.semver))return!1;}return!0;};}),rh.register("bl7vX",function(e,t){var r=rh("iqmnd");e.exports=(e,t,n)=>r(e,t,">",n);}),rh.register("1K9I5",function(e,t){var r=rh("iqmnd");e.exports=(e,t,n)=>r(e,t,"<",n);}),rh.register("2qx0f",function(e,t){var r=rh("gBfHp");e.exports=(e,t,n)=>(e=new r(e,n),t=new r(t,n),e.intersects(t,n));}),rh.register("k8BEA",function(e,t){var r=rh("gxgIF"),n=rh("3Z6CK");e.exports=(e,t,i)=>{let o=[],s=null,a=null,l=e.sort((e,t)=>n(e,t,i));for(let e of l){let n=r(e,t,i);n?(a=e,s||(s=e)):(a&&o.push([s,a]),a=null,s=null);}s&&o.push([s,null]);let c=[];for(let[e,t]of o)e===t?c.push(e):t||e!==l[0]?t?e===l[0]?c.push("<="+t):c.push(`${e} - ${t}`):c.push(">="+e):c.push("*");let u=c.join(" || "),p="string"==typeof t.raw?t.raw:t+"";return u.length=0.0.0-0")],l=[new n(">=0.0.0")],c=(e,t,r)=>{let n,c,d,f,h,m,g;if(e===t)return!0;if(1===e.length&&e[0].semver===i){if(1===t.length&&t[0].semver===i)return!0;e=r.includePrerelease?a:l;}if(1===t.length&&t[0].semver===i){if(r.includePrerelease)return!0;t=l;}let v=new Set();for(let t of e)">"===t.operator||">="===t.operator?n=u(n,t,r):"<"===t.operator||"<="===t.operator?c=p(c,t,r):v.add(t.semver);if(v.size>1||n&&c&&((d=s(n.semver,c.semver,r))>0||0===d&&(">="!==n.operator||"<="!==c.operator)))return null;for(let e of v){if(n&&!o(e,n+"",r)||c&&!o(e,c+"",r))return null;for(let n of t)if(!o(e,n+"",r))return!1;return!0;}let E=!!c&&!r.includePrerelease&&!!c.semver.prerelease.length&&c.semver,y=!!n&&!r.includePrerelease&&!!n.semver.prerelease.length&&n.semver;for(let e of(E&&1===E.prerelease.length&&"<"===c.operator&&0===E.prerelease[0]&&(E=!1),t)){if(g=g||">"===e.operator||">="===e.operator,m=m||"<"===e.operator||"<="===e.operator,n){if(y&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===y.major&&e.semver.minor===y.minor&&e.semver.patch===y.patch&&(y=!1),">"===e.operator||">="===e.operator){if((f=u(n,e,r))===e&&f!==n)return!1;}else if(">="===n.operator&&!o(n.semver,e+"",r))return!1;}if(c){if(E&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===E.major&&e.semver.minor===E.minor&&e.semver.patch===E.patch&&(E=!1),"<"===e.operator||"<="===e.operator){if((h=p(c,e,r))===e&&h!==c)return!1;}else if("<="===c.operator&&!o(c.semver,e+"",r))return!1;}if(!e.operator&&(c||n)&&0!==d)return!1;}return(!n||!m||!!c||0===d)&&(!c||!g||!!n||0===d)&&!y&&!E;},u=(e,t,r)=>{if(!e)return t;let n=s(e.semver,t.semver,r);return n>0?e:n<0?t:">"===t.operator&&">="===e.operator?t:e;},p=(e,t,r)=>{if(!e)return t;let n=s(e.semver,t.semver,r);return n<0?e:n>0?t:"<"===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 i=!1;e:for(let r of e.set){for(let e of t.set){let t=c(r,e,n);if(i=i||null!==t,t)continue e;}if(i)return!1;}return!0;};}),rh.register("awj79",function(e,t){e.exports=function(e){if("string"!=typeof e)throw TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&");};}),rh.register("dOmbL",function(e,t){async function r(e){try{return await(0,t6.promises).access(e),!0;}catch{return!1;}}l(e.exports,"pathExists",()=>r);}),rh.register("ceI0e",function(e,t){var r,n,i,o,s,a,u,p,d,f,h,m,g;function v(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 E(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0});}function y(e,t=!0){return t?(0,ip.basename)(e):(0,ip.basename)(e,(0,ip.extname)(e));}function w(e){return(0,ip.normalize)(e).replace(RegExp((0,r.default)(ip.sep)+"$"),"");}function x(e,t=".exe",r=""){return"win32"===process.platform?`${e}${t}`:`${e}${r}`;}function b(e,t){let r=(0,ip.extname)(e),n=`${t}${(0,ip.basename)(e,r)}${r}`;return(0,ip.join)((0,ip.dirname)(e),n);}function I(e,t){let r=(0,ip.extname)(e),n=`${(0,ip.basename)(e,r)}${t}${r}`;return(0,ip.join)((0,ip.dirname)(e),n);}function S(e,t=".cmd",r=".sh"){return"win32"===process.platform?`${e}${t}`:`${e}${r}`;}function R(e){return"win32"===process.platform?e:"./"+e;}function O(e){let t=(0,ip.extname)(e).length;return e.slice(0,-t);}function T(e,t){return c(n)(e,t);}function C(e,t){let r=(0,ip.relative)(t,e);return!(!r||".."===r||r.startsWith(".."+ip.sep)||r===(0,ip.resolve)(e));}l(e.exports,"addExeExt",()=>x),l(e.exports,"addShExt",()=>S),l(e.exports,"addShRelativePrefix",()=>R),l(e.exports,"dirname",()=>ip.dirname),l(e.exports,"join",()=>ip.join),r=rh("9ag04"),n=rh("923E2"),i={},E(o={},"name",()=>y),E(s={},"normalizeTrim",()=>w),E(a={},"addExeExt",()=>x),E(u={},"addNamePrefix",()=>b),E(p={},"addNameSuffix",()=>I),E(d={},"addShExt",()=>S),E(f={},"addShRelativePrefix",()=>R),E(h={},"removeExt",()=>O),E(m={},"replaceExt",()=>T),E(g={},"isPathInside",()=>C),v(i,o),v(i,s),v(i,a),v(i,u),v(i,p),v(i,d),v(i,f),v(i,h),v(i,m),v(i,g);}),rh.register("9ag04",function(e,t){function r(e){if("string"!=typeof e)throw TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d");}l(e.exports,"default",()=>r);}),rh.register("923E2",function(e,t){e.exports=function(e,t){if("string"!=typeof e||0===e.length)return e;var r,n=ip.basename(e,ip.extname(e))+t,i=ip.join(ip.dirname(e),n);return(r=e.slice(0,2),r==="."+ip.sep||"./"===r)?"."+ip.sep+i:i;};}),rh.register("fcBgE",function(e,t){var r,n,i,o;function s(e){return o(this,void 0,void 0,function*(){if(p.IS_WINDOWS&&/[*"<>|]/.test(e))throw Error('File path must not contain `*`, `"`, `<`, `>` or `|` on Windows');try{yield p.rm(e,{force:!0,maxRetries:3,recursive:!0,retryDelay:300});}catch(e){throw Error("File was unable to be removed "+e);}});}function a(e){return o(this,void 0,void 0,function*(){t3.ok(e,"a path argument must be provided"),yield p.mkdir(e,{recursive:!0});});}function l(e){return o(this,void 0,void 0,function*(){if(!e)throw Error("parameter 'tool' is required");let t=[];if(p.IS_WINDOWS&&process.env.PATHEXT)for(let e of process.env.PATHEXT.split(u.delimiter))e&&t.push(e);if(p.isRooted(e)){let r=yield p.tryGetExecutablePath(e,t);return r?[r]:[];}if(e.includes(u.sep))return[];let r=[];if(process.env.PATH)for(let e of process.env.PATH.split(u.delimiter))e&&r.push(e);let n=[];for(let i of r){let r=yield p.tryGetExecutablePath(u.join(i,e),t);r&&n.push(r);}return n;});}function c(e,t,r){return o(this,void 0,void 0,function*(){if((yield p.lstat(e)).isSymbolicLink()){try{yield p.lstat(t),yield p.unlink(t);}catch(e){"EPERM"===e.code&&(yield p.chmod(t,"0666"),yield p.unlink(t));}let r=yield p.readlink(e);yield p.symlink(r,t,p.IS_WINDOWS?"junction":null);}else(!(yield p.exists(t))||r)&&(yield p.copyFile(e,t));});}r=e.exports&&e.exports.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r];}});}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r];}),n=e.exports&&e.exports.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),i=e.exports&&e.exports.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&r(t,e,i);return n(t,e),t;},o=e.exports&&e.exports.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e));}catch(e){o(e);}}function a(e){try{l(n.throw(e));}catch(e){o(e);}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t);})).then(s,a);}l((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;let u=i(ip),p=i(rh("ejt9m"));e.exports.cp=function(e,t,r={}){return o(this,void 0,void 0,function*(){let{force:n,recursive:i,copySourceDirectory:s}=function(e){let t=null==e.force||e.force,r=!!e.recursive,n=null==e.copySourceDirectory||!!e.copySourceDirectory;return{force:t,recursive:r,copySourceDirectory:n};}(r),l=(yield p.exists(t))?yield p.stat(t):null;if(l&&l.isFile()&&!n)return;let d=l&&l.isDirectory()&&s?u.join(t,u.basename(e)):t;if(!(yield p.exists(e)))throw Error("no such file or directory: "+e);let f=yield p.stat(e);if(f.isDirectory()){if(i)yield function e(t,r,n,i){return o(this,void 0,void 0,function*(){if(n>=255)return;n++,yield a(r);let o=yield p.readdir(t);for(let s of o){let o=`${t}/${s}`,a=`${r}/${s}`,l=yield p.lstat(o);l.isDirectory()?yield e(o,a,n,i):yield c(o,a,i);}yield p.chmod(r,(yield p.stat(t)).mode);});}(e,d,0,n);else throw Error(`Failed to copy. ${e} is a directory, but tried to copy without recursive flag.`);}else{if(""===u.relative(e,d))throw Error(`'${d}' and '${e}' are the same file`);yield c(e,d,n);}});},e.exports.mv=function(e,t,r={}){return o(this,void 0,void 0,function*(){if(yield p.exists(t)){let n=!0;if((yield p.isDirectory(t))&&(t=u.join(t,u.basename(e)),n=yield p.exists(t)),n){if(null==r.force||r.force)yield s(t);else throw Error("Destination already exists");}}yield a(u.dirname(t)),yield p.rename(e,t);});},e.exports.rmRF=s,e.exports.mkdirP=a,e.exports.which=function e(t,r){return o(this,void 0,void 0,function*(){if(!t)throw Error("parameter 'tool' is required");if(r){let r=yield e(t,!1);if(!r){if(p.IS_WINDOWS)throw Error(`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.`);throw Error(`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;}let n=yield l(t);return n&&n.length>0?n[0]:"";});},e.exports.findInPath=l;}),rh.register("ejt9m",function(e,t){var r,n,i,o,s;function a(e){return(1&e.mode)>0||(8&e.mode)>0&&e.gid===process.getgid()||(64&e.mode)>0&&e.uid===process.getuid();}r=e.exports&&e.exports.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r];}});}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r];}),n=e.exports&&e.exports.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),i=e.exports&&e.exports.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&r(t,e,i);return n(t,e),t;},o=e.exports&&e.exports.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e));}catch(e){o(e);}}function a(e){try{l(n.throw(e));}catch(e){o(e);}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t);})).then(s,a);}l((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.READONLY=e.exports.UV_FS_O_EXLOCK=e.exports.IS_WINDOWS=e.exports.unlink=e.exports.symlink=e.exports.stat=e.exports.rmdir=e.exports.rm=e.exports.rename=e.exports.readlink=e.exports.readdir=e.exports.open=e.exports.mkdir=e.exports.lstat=e.exports.copyFile=e.exports.chmod=void 0;let l=i(id),c=i(ip);s=l.promises,e.exports.chmod=s.chmod,e.exports.copyFile=s.copyFile,e.exports.lstat=s.lstat,e.exports.mkdir=s.mkdir,e.exports.open=s.open,e.exports.readdir=s.readdir,e.exports.readlink=s.readlink,e.exports.rename=s.rename,e.exports.rm=s.rm,e.exports.rmdir=s.rmdir,e.exports.stat=s.stat,e.exports.symlink=s.symlink,e.exports.unlink=s.unlink,e.exports.IS_WINDOWS="win32"===process.platform,e.exports.UV_FS_O_EXLOCK=268435456,e.exports.READONLY=l.constants.O_RDONLY,e.exports.exists=function(t){return o(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 o(this,void 0,void 0,function*(){let n=r?yield e.exports.stat(t):yield e.exports.lstat(t);return n.isDirectory();});},e.exports.isRooted=function(t){var r;if(r=(r=t)||"",!(t=e.exports.IS_WINDOWS?(r=r.replace(/\//g,"\\")).replace(/\\\\+/g,"\\"):r.replace(/\/\/+/g,"/")))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,r){return o(this,void 0,void 0,function*(){let n;try{n=yield e.exports.stat(t);}catch(e){"ENOENT"!==e.code&&console.log(`Unexpected error attempting to determine if executable file exists '${t}': ${e}`);}if(n&&n.isFile()){if(e.exports.IS_WINDOWS){let e=c.extname(t).toUpperCase();if(r.some(t=>t.toUpperCase()===e))return t;}else if(a(n))return t;}let i=t;for(let o of r){t=i+o,n=void 0;try{n=yield e.exports.stat(t);}catch(e){"ENOENT"!==e.code&&console.log(`Unexpected error attempting to determine if executable file exists '${t}': ${e}`);}if(n&&n.isFile()){if(e.exports.IS_WINDOWS){try{let r=c.dirname(t),n=c.basename(t).toUpperCase();for(let i of yield e.exports.readdir(r))if(n===i.toUpperCase()){t=c.join(r,i);break;}}catch(e){console.log(`Unexpected error attempting to determine the actual case of the file '${t}': ${e}`);}return t;}if(a(n))return t;}}return"";});},e.exports.getCmdPath=function(){var e;return null!==(e=process.env.COMSPEC)&&void 0!==e?e:"cmd.exe";};}),rh.register("ktIRP",function(e,t){var r,n,i,o,s;r=e.exports&&e.exports.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r];}});}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r];}),n=e.exports&&e.exports.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),i=e.exports&&e.exports.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&r(t,e,i);return n(t,e),t;},o=e.exports&&e.exports.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e));}catch(e){o(e);}}function a(e){try{l(n.throw(e));}catch(e){o(e);}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t);})).then(s,a);}l((n=n.apply(e,t||[])).next());});},Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports._readLinuxVersionFile=e.exports._getOsVersion=e.exports._findMatch=void 0;let a=i(rh("aNgTs"));s=rh("lcRzN"),e.exports._findMatch=function(t,r,n,i){return o(this,void 0,void 0,function*(){let o,l,c;let u=iu.platform();for(let o of n){let n=o.version;if(s.debug(`check ${n} satisfies ${t}`),a.satisfies(n,t)&&(!r||o.stable===r)&&(c=o.files.find(t=>{s.debug(`${t.arch}===${i} && ${t.platform}===${u}`);let r=t.arch===i&&t.platform===u;if(r&&t.platform_version){let n=e.exports._getOsVersion();r=n===t.platform_version||a.satisfies(n,t.platform_version);}return r;}))){s.debug("matched "+o.version),l=o;break;}}return l&&c&&((o=Object.assign({},l)).files=[c]),o;});},e.exports._getOsVersion=function(){let t=iu.platform(),r="";if("darwin"===t)r=t5.execSync("sw_vers -productVersion").toString();else if("linux"===t){let t=e.exports._readLinuxVersionFile();if(t){let e=t.split("\n");for(let t of e){let 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=function(){let e="/etc/lsb-release",t="/etc/os-release",r="";return id.existsSync(e)?r=id.readFileSync(e).toString():id.existsSync(t)&&(r=id.readFileSync(t).toString()),r;};}),rh.register("aNgTs",function(e,t){function r(e){$[e]=A++;}function n(e){for(var t=0;tI||!(t.loose?T[$.LOOSE]:T[$.FULL]).test(e))return null;try{return new o(e,t);}catch(e){return null;}}function o(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof o){if(e.loose===t.loose)return e;e=e.version;}else if("string"!=typeof e)throw TypeError("Invalid Version: "+e);if(e.length>I)throw TypeError("version is longer than "+I+" characters");if(!(this instanceof o))return new o(e,t);b("SemVer",e,t),this.options=t,this.loose=!!t.loose;var r=e.trim().match(t.loose?T[$.LOOSE]:T[$.FULL]);if(!r)throw TypeError("Invalid Version: "+e);if(this.raw=e,this.major=+r[1],this.minor=+r[2],this.patch=+r[3],this.major>S||this.major<0)throw TypeError("Invalid major version");if(this.minor>S||this.minor<0)throw TypeError("Invalid minor version");if(this.patch>S||this.patch<0)throw TypeError("Invalid patch version");r[4]?this.prerelease=r[4].split(".").map(function(e){if(/^[0-9]+$/.test(e)){var t=+e;if(t>=0&&te?-1:1;}function a(e,t,r){return new o(e,r).compare(new o(t,r));}function l(e,t,r){return a(e,t,r)>0;}function c(e,t,r){return 0>a(e,t,r);}function u(e,t,r){return 0===a(e,t,r);}function p(e,t,r){return 0!==a(e,t,r);}function d(e,t,r){return a(e,t,r)>=0;}function f(e,t,r){return 0>=a(e,t,r);}function h(e,t,r,n){switch(t){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof r&&(r=r.version),e===r;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof r&&(r=r.version),e!==r;case"":case"=":case"==":return u(e,r,n);case"!=":return p(e,r,n);case">":return l(e,r,n);case">=":return d(e,r,n);case"<":return c(e,r,n);case"<=":return f(e,r,n);default:throw TypeError("Invalid operator: "+t);}}function m(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof m){if(!!t.loose===e.loose)return e;e=e.value;}if(!(this instanceof m))return new m(e,t);b("comparator",e=e.trim().split(/\s+/).join(" "),t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===L?this.value="":this.value=this.operator+this.semver.version,b("comp",this);}function g(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof g)return!!t.loose===e.loose&&!!t.includePrerelease===e.includePrerelease?e:new g(e.raw,t);if(e instanceof m)return new g(e.value,t);if(!(this instanceof g))return new g(e,t);if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map(function(e){return this.parseRange(e.trim());},this).filter(function(e){return e.length;}),!this.set.length)throw TypeError("Invalid SemVer Range: "+this.raw);this.format();}function v(e,t){for(var r=!0,n=e.slice(),i=n.pop();r&&n.length;)r=n.every(function(e){return i.intersects(e,t);}),i=n.pop();return r;}function E(e){return!e||"x"===e.toLowerCase()||"*"===e;}function y(e,t,r,n,i,o,s,a,l,c,u,p,d){return((t=E(r)?"":E(n)?">="+r+".0.0":E(i)?">="+r+"."+n+".0":">="+t)+" "+(a=E(l)?"":E(c)?"<"+(+l+1)+".0.0":E(u)?"<"+l+"."+(+c+1)+".0":p?"<="+l+"."+c+"."+u+"-"+p:"<="+a)).trim();}function w(e,t,r){try{t=new g(t,r);}catch(e){return!1;}return t.test(e);}function x(e,t,r,n){switch(e=new o(e,n),t=new g(t,n),r){case">":i=l,s=f,a=c,u=">",p=">=";break;case"<":i=c,s=d,a=l,u="<",p="<=";break;default:throw TypeError('Must provide a hilo val of "<" or ">"');}if(w(e,t,n))return!1;for(var i,s,a,u,p,h=0;h=0.0.0")),E=E||e,y=y||e,i(e.semver,E.semver,n)?E=e:a(e.semver,y.semver,n)&&(y=e);}),E.operator===u||E.operator===p||(!y.operator||y.operator===u)&&s(e,y.semver)||y.operator===p&&a(e,y.semver))return!1;}return!0;}t=e.exports=o,b="object"==typeof process&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?function(){var e=Array.prototype.slice.call(arguments,0);e.unshift("SEMVER"),console.log.apply(console,e);}:function(){},t.SEMVER_SPEC_VERSION="2.0.0",I=256,S=Number.MAX_SAFE_INTEGER||9007199254740991,R=I-6,O=t.re=[],T=t.safeRe=[],C=t.src=[],$=t.tokens={},A=0,N=[["\\s",1],["\\d",I],[P="[a-zA-Z0-9-]",R]],r("NUMERICIDENTIFIER"),C[$.NUMERICIDENTIFIER]="0|[1-9]\\d*",r("NUMERICIDENTIFIERLOOSE"),C[$.NUMERICIDENTIFIERLOOSE]="\\d+",r("NONNUMERICIDENTIFIER"),C[$.NONNUMERICIDENTIFIER]="\\d*[a-zA-Z-]"+P+"*",r("MAINVERSION"),C[$.MAINVERSION]="("+C[$.NUMERICIDENTIFIER]+")\\.("+C[$.NUMERICIDENTIFIER]+")\\.("+C[$.NUMERICIDENTIFIER]+")",r("MAINVERSIONLOOSE"),C[$.MAINVERSIONLOOSE]="("+C[$.NUMERICIDENTIFIERLOOSE]+")\\.("+C[$.NUMERICIDENTIFIERLOOSE]+")\\.("+C[$.NUMERICIDENTIFIERLOOSE]+")",r("PRERELEASEIDENTIFIER"),C[$.PRERELEASEIDENTIFIER]="(?:"+C[$.NUMERICIDENTIFIER]+"|"+C[$.NONNUMERICIDENTIFIER]+")",r("PRERELEASEIDENTIFIERLOOSE"),C[$.PRERELEASEIDENTIFIERLOOSE]="(?:"+C[$.NUMERICIDENTIFIERLOOSE]+"|"+C[$.NONNUMERICIDENTIFIER]+")",r("PRERELEASE"),C[$.PRERELEASE]="(?:-("+C[$.PRERELEASEIDENTIFIER]+"(?:\\."+C[$.PRERELEASEIDENTIFIER]+")*))",r("PRERELEASELOOSE"),C[$.PRERELEASELOOSE]="(?:-?("+C[$.PRERELEASEIDENTIFIERLOOSE]+"(?:\\."+C[$.PRERELEASEIDENTIFIERLOOSE]+")*))",r("BUILDIDENTIFIER"),C[$.BUILDIDENTIFIER]=P+"+",r("BUILD"),C[$.BUILD]="(?:\\+("+C[$.BUILDIDENTIFIER]+"(?:\\."+C[$.BUILDIDENTIFIER]+")*))",r("FULL"),r("FULLPLAIN"),C[$.FULLPLAIN]="v?"+C[$.MAINVERSION]+C[$.PRERELEASE]+"?"+C[$.BUILD]+"?",C[$.FULL]="^"+C[$.FULLPLAIN]+"$",r("LOOSEPLAIN"),C[$.LOOSEPLAIN]="[v=\\s]*"+C[$.MAINVERSIONLOOSE]+C[$.PRERELEASELOOSE]+"?"+C[$.BUILD]+"?",r("LOOSE"),C[$.LOOSE]="^"+C[$.LOOSEPLAIN]+"$",r("GTLT"),C[$.GTLT]="((?:<|>)?=?)",r("XRANGEIDENTIFIERLOOSE"),C[$.XRANGEIDENTIFIERLOOSE]=C[$.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*",r("XRANGEIDENTIFIER"),C[$.XRANGEIDENTIFIER]=C[$.NUMERICIDENTIFIER]+"|x|X|\\*",r("XRANGEPLAIN"),C[$.XRANGEPLAIN]="[v=\\s]*("+C[$.XRANGEIDENTIFIER]+")(?:\\.("+C[$.XRANGEIDENTIFIER]+")(?:\\.("+C[$.XRANGEIDENTIFIER]+")(?:"+C[$.PRERELEASE]+")?"+C[$.BUILD]+"?)?)?",r("XRANGEPLAINLOOSE"),C[$.XRANGEPLAINLOOSE]="[v=\\s]*("+C[$.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+C[$.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+C[$.XRANGEIDENTIFIERLOOSE]+")(?:"+C[$.PRERELEASELOOSE]+")?"+C[$.BUILD]+"?)?)?",r("XRANGE"),C[$.XRANGE]="^"+C[$.GTLT]+"\\s*"+C[$.XRANGEPLAIN]+"$",r("XRANGELOOSE"),C[$.XRANGELOOSE]="^"+C[$.GTLT]+"\\s*"+C[$.XRANGEPLAINLOOSE]+"$",r("COERCE"),C[$.COERCE]="(^|[^\\d])(\\d{1,16})(?:\\.(\\d{1,16}))?(?:\\.(\\d{1,16}))?(?:$|[^\\d])",r("COERCERTL"),O[$.COERCERTL]=RegExp(C[$.COERCE],"g"),T[$.COERCERTL]=RegExp(n(C[$.COERCE]),"g"),r("LONETILDE"),C[$.LONETILDE]="(?:~>?)",r("TILDETRIM"),C[$.TILDETRIM]="(\\s*)"+C[$.LONETILDE]+"\\s+",O[$.TILDETRIM]=RegExp(C[$.TILDETRIM],"g"),T[$.TILDETRIM]=RegExp(n(C[$.TILDETRIM]),"g"),r("TILDE"),C[$.TILDE]="^"+C[$.LONETILDE]+C[$.XRANGEPLAIN]+"$",r("TILDELOOSE"),C[$.TILDELOOSE]="^"+C[$.LONETILDE]+C[$.XRANGEPLAINLOOSE]+"$",r("LONECARET"),C[$.LONECARET]="(?:\\^)",r("CARETTRIM"),C[$.CARETTRIM]="(\\s*)"+C[$.LONECARET]+"\\s+",O[$.CARETTRIM]=RegExp(C[$.CARETTRIM],"g"),T[$.CARETTRIM]=RegExp(n(C[$.CARETTRIM]),"g"),r("CARET"),C[$.CARET]="^"+C[$.LONECARET]+C[$.XRANGEPLAIN]+"$",r("CARETLOOSE"),C[$.CARETLOOSE]="^"+C[$.LONECARET]+C[$.XRANGEPLAINLOOSE]+"$",r("COMPARATORLOOSE"),C[$.COMPARATORLOOSE]="^"+C[$.GTLT]+"\\s*("+C[$.LOOSEPLAIN]+")$|^$",r("COMPARATOR"),C[$.COMPARATOR]="^"+C[$.GTLT]+"\\s*("+C[$.FULLPLAIN]+")$|^$",r("COMPARATORTRIM"),C[$.COMPARATORTRIM]="(\\s*)"+C[$.GTLT]+"\\s*("+C[$.LOOSEPLAIN]+"|"+C[$.XRANGEPLAIN]+")",O[$.COMPARATORTRIM]=RegExp(C[$.COMPARATORTRIM],"g"),T[$.COMPARATORTRIM]=RegExp(n(C[$.COMPARATORTRIM]),"g"),r("HYPHENRANGE"),C[$.HYPHENRANGE]="^\\s*("+C[$.XRANGEPLAIN]+")\\s+-\\s+("+C[$.XRANGEPLAIN]+")\\s*$",r("HYPHENRANGELOOSE"),C[$.HYPHENRANGELOOSE]="^\\s*("+C[$.XRANGEPLAINLOOSE]+")\\s+-\\s+("+C[$.XRANGEPLAINLOOSE]+")\\s*$",r("STAR"),C[$.STAR]="(<|>)?=?\\s*\\*";for(var b,I,S,R,O,T,C,$,A,P,N,_,L,D=0;D=0;)"number"==typeof this.prerelease[r]&&(this.prerelease[r]++,r=-2);-1===r&&this.prerelease.push(0);}t&&(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;},t.inc=function(e,t,r,n){"string"==typeof r&&(n=r,r=void 0);try{return new o(e,r).inc(t,n).version;}catch(e){return null;}},t.diff=function(e,t){if(u(e,t))return null;var r=i(e),n=i(t),o="";if(r.prerelease.length||n.prerelease.length){o="pre";var s="prerelease";}for(var a in r)if(("major"===a||"minor"===a||"patch"===a)&&r[a]!==n[a])return o+a;return s;},t.compareIdentifiers=s,_=/^[0-9]+$/,t.rcompareIdentifiers=function(e,t){return s(t,e);},t.major=function(e,t){return new o(e,t).major;},t.minor=function(e,t){return new o(e,t).minor;},t.patch=function(e,t){return new o(e,t).patch;},t.compare=a,t.compareLoose=function(e,t){return a(e,t,!0);},t.compareBuild=function(e,t,r){var n=new o(e,r),i=new o(t,r);return n.compare(i)||n.compareBuild(i);},t.rcompare=function(e,t,r){return a(t,e,r);},t.sort=function(e,r){return e.sort(function(e,n){return t.compareBuild(e,n,r);});},t.rsort=function(e,r){return e.sort(function(e,n){return t.compareBuild(n,e,r);});},t.gt=l,t.lt=c,t.eq=u,t.neq=p,t.gte=d,t.lte=f,t.cmp=h,t.Comparator=m,L={},m.prototype.parse=function(e){var t=this.options.loose?T[$.COMPARATORLOOSE]:T[$.COMPARATOR],r=e.match(t);if(!r)throw TypeError("Invalid comparator: "+e);this.operator=void 0!==r[1]?r[1]:"","="===this.operator&&(this.operator=""),r[2]?this.semver=new o(r[2],this.options.loose):this.semver=L;},m.prototype.toString=function(){return this.value;},m.prototype.test=function(e){if(b("Comparator.test",e,this.options.loose),this.semver===L||e===L)return!0;if("string"==typeof e)try{e=new o(e,this.options);}catch(e){return!1;}return h(e,this.operator,this.semver,this.options);},m.prototype.intersects=function(e,t){if(!(e instanceof m))throw TypeError("a Comparator is required");if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),""===this.operator)return""===this.value||(r=new g(e.value,t),w(this.value,r,t));if(""===e.operator)return""===e.value||(r=new g(this.value,t),w(e.semver,r,t));var r,n=(">="===this.operator||">"===this.operator)&&(">="===e.operator||">"===e.operator),i=("<="===this.operator||"<"===this.operator)&&("<="===e.operator||"<"===e.operator),o=this.semver.version===e.semver.version,s=(">="===this.operator||"<="===this.operator)&&(">="===e.operator||"<="===e.operator),a=h(this.semver,"<",e.semver,t)&&(">="===this.operator||">"===this.operator)&&("<="===e.operator||"<"===e.operator),l=h(this.semver,">",e.semver,t)&&("<="===this.operator||"<"===this.operator)&&(">="===e.operator||">"===e.operator);return n||i||o&&s||a||l;},t.Range=g,g.prototype.format=function(){return this.range=this.set.map(function(e){return e.join(" ").trim();}).join("||").trim(),this.range;},g.prototype.toString=function(){return this.range;},g.prototype.parseRange=function(e){var t=this.options.loose,r=t?T[$.HYPHENRANGELOOSE]:T[$.HYPHENRANGE];b("hyphen replace",e=e.replace(r,y)),b("comparator trim",e=e.replace(T[$.COMPARATORTRIM],"$1$2$3"),T[$.COMPARATORTRIM]),e=(e=(e=e.replace(T[$.TILDETRIM],"$1~")).replace(T[$.CARETTRIM],"$1^")).split(/\s+/).join(" ");var n=t?T[$.COMPARATORLOOSE]:T[$.COMPARATOR],i=e.split(" ").map(function(e){var t,r,n,i,o,s,a,l,c;return b("comp",t=e,r=this.options),b("caret",(n=t,i=r,t=n.trim().split(/\s+/).map(function(e){var t,r,n;return b("caret",t=e,r=i),n=r.loose?T[$.CARETLOOSE]:T[$.CARET],t.replace(n,function(e,r,n,i,o){var s;return b("caret",t,e,r,n,i,o),E(r)?s="":E(n)?s=">="+r+".0.0 <"+(+r+1)+".0.0":E(i)?s="0"===r?">="+r+"."+n+".0 <"+r+"."+(+n+1)+".0":">="+r+"."+n+".0 <"+(+r+1)+".0.0":o?(b("replaceCaret pr",o),s="0"===r?"0"===n?">="+r+"."+n+"."+i+"-"+o+" <"+r+"."+n+"."+(+i+1):">="+r+"."+n+"."+i+"-"+o+" <"+r+"."+(+n+1)+".0":">="+r+"."+n+"."+i+"-"+o+" <"+(+r+1)+".0.0"):(b("no pr"),s="0"===r?"0"===n?">="+r+"."+n+"."+i+" <"+r+"."+n+"."+(+i+1):">="+r+"."+n+"."+i+" <"+r+"."+(+n+1)+".0":">="+r+"."+n+"."+i+" <"+(+r+1)+".0.0"),b("caret return",s),s;});}).join(" "))),b("tildes",(o=t,s=r,t=o.trim().split(/\s+/).map(function(e){var t,r;return t=e,r=s.loose?T[$.TILDELOOSE]:T[$.TILDE],t.replace(r,function(e,r,n,i,o){var s;return b("tilde",t,e,r,n,i,o),E(r)?s="":E(n)?s=">="+r+".0.0 <"+(+r+1)+".0.0":E(i)?s=">="+r+"."+n+".0 <"+r+"."+(+n+1)+".0":o?(b("replaceTilde pr",o),s=">="+r+"."+n+"."+i+"-"+o+" <"+r+"."+(+n+1)+".0"):s=">="+r+"."+n+"."+i+" <"+r+"."+(+n+1)+".0",b("tilde return",s),s;});}).join(" "))),b("xrange",(b("replaceXRanges",a=t,l=r),t=a.split(/\s+/).map(function(e){var t,r,n;return t=e,r=l,t=t.trim(),n=r.loose?T[$.XRANGELOOSE]:T[$.XRANGE],t.replace(n,function(e,n,i,o,s,a){b("xRange",t,e,n,i,o,s,a);var l=E(i),c=l||E(o),u=c||E(s);return"="===n&&u&&(n=""),a=r.includePrerelease?"-0":"",l?e=">"===n||"<"===n?"<0.0.0-0":"*":n&&u?(c&&(o=0),s=0,">"===n?(n=">=",c?(i=+i+1,o=0):o=+o+1,s=0):"<="===n&&(n="<",c?i=+i+1:o=+o+1),e=n+i+"."+o+"."+s+a):c?e=">="+i+".0.0"+a+" <"+(+i+1)+".0.0"+a:u&&(e=">="+i+"."+o+".0"+a+" <"+i+"."+(+o+1)+".0"+a),b("xRange return",e),e;});}).join(" "))),b("stars",(b("replaceStars",c=t,r),t=c.trim().replace(T[$.STAR],""))),t;},this).join(" ").split(/\s+/);return this.options.loose&&(i=i.filter(function(e){return!!e.match(n);})),i=i.map(function(e){return new m(e,this.options);},this);},g.prototype.intersects=function(e,t){if(!(e instanceof g))throw TypeError("a Range is required");return this.set.some(function(r){return v(r,t)&&e.set.some(function(e){return v(e,t)&&r.every(function(r){return e.every(function(e){return r.intersects(e,t);});});});});},t.toComparators=function(e,t){return new g(e,t).set.map(function(e){return e.map(function(e){return e.value;}).join(" ").trim().split(" ");});},g.prototype.test=function(e){if(!e)return!1;if("string"==typeof e)try{e=new o(e,this.options);}catch(e){return!1;}for(var t=0;t0){var i=e[n].semver;if(i.major===t.major&&i.minor===t.minor&&i.patch===t.patch)return!0;}return!1;}return!0;}(this.set[t],e,this.options))return!0;return!1;},t.satisfies=w,t.maxSatisfying=function(e,t,r){var n=null,i=null;try{var s=new g(t,r);}catch(e){return null;}return e.forEach(function(e){s.test(e)&&(!n||-1===i.compare(e))&&(n=e,i=new o(n,r));}),n;},t.minSatisfying=function(e,t,r){var n=null,i=null;try{var s=new g(t,r);}catch(e){return null;}return e.forEach(function(e){s.test(e)&&(!n||1===i.compare(e))&&(n=e,i=new o(n,r));}),n;},t.minVersion=function(e,t){e=new g(e,t);var r=new o("0.0.0");if(e.test(r)||(r=new o("0.0.0-0"),e.test(r)))return r;r=null;for(var n=0;n":0===t.prerelease.length?t.patch++:t.prerelease.push(0),t.raw=t.format();case"":case">=":(!r||l(r,t))&&(r=t);break;case"<":case"<=":break;default:throw Error("Unexpected operation: "+e.operator);}});return r&&e.test(r)?r:null;},t.validRange=function(e,t){try{return new g(e,t).range||"*";}catch(e){return null;}},t.ltr=function(e,t,r){return x(e,t,"<",r);},t.gtr=function(e,t,r){return x(e,t,">",r);},t.outside=x,t.prerelease=function(e,t){var r=i(e,t);return r&&r.prerelease.length?r.prerelease:null;},t.intersects=function(e,t,r){return e=new g(e,r),t=new g(t,r),e.intersects(t);},t.coerce=function(e,t){if(e instanceof o)return e;if("number"==typeof e&&(e+=""),"string"!=typeof e)return null;var r,n=null;if((t=t||{}).rtl){for(;(r=T[$.COERCERTL].exec(e))&&(!n||n.index+n[0].length!==e.length);)n&&r.index+r[0].length===n.index+n[0].length||(n=r),T[$.COERCERTL].lastIndex=r.index+r[1].length+r[2].length;T[$.COERCERTL].lastIndex=-1;}else n=e.match(T[$.COERCE]);return null===n?null:i(n[2]+"."+(n[3]||"0")+"."+(n[4]||"0"),t);};}),rh.register("dGCqI",function(e,t){var r=rh("fVQSr"),n=rh("3MZit");e.exports=function(e,t,i){var o=t&&i||0;"string"==typeof e&&(t="binary"===e?Array(16):null,e=null);var s=(e=e||{}).random||(e.rng||r)();if(s[6]=15&s[6]|64,s[8]=63&s[8]|128,t)for(var a=0;a<16;++a)t[o+a]=s[a];return t||n(s);};}),rh.register("fVQSr",function(e,t){e.exports=function(){return ih.randomBytes(16);};}),rh.register("3MZit",function(e,t){for(var r=[],n=0;n<256;++n)r[n]=(n+256).toString(16).substr(1);e.exports=function(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++]]].join("");};}),rh.register("jlr6Q",function(e,t){var r,n,i,o;function s(e,t,r){return o(this,void 0,void 0,function*(){let n=a.argStringToArray(e);if(0===n.length)throw Error("Parameter 'commandLine' cannot be null or empty.");let i=n[0];t=n.slice(1).concat(t||[]);let o=new a.ToolRunner(i,t,r);return o.exec();});}r=e.exports&&e.exports.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r];}});}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r];}),n=e.exports&&e.exports.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),i=e.exports&&e.exports.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&r(t,e,i);return n(t,e),t;},o=e.exports&&e.exports.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e));}catch(e){o(e);}}function a(e){try{l(n.throw(e));}catch(e){o(e);}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t);})).then(s,a);}l((n=n.apply(e,t||[])).next());});},Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.getExecOutput=e.exports.exec=void 0;let a=i(rh("jbxr5"));e.exports.exec=s,e.exports.getExecOutput=function(e,t,r){var n,i;return o(this,void 0,void 0,function*(){let o="",a="",l=new t7.StringDecoder("utf8"),c=new t7.StringDecoder("utf8"),u=null===(n=null==r?void 0:r.listeners)||void 0===n?void 0:n.stdout,p=null===(i=null==r?void 0:r.listeners)||void 0===i?void 0:i.stderr,d=Object.assign(Object.assign({},null==r?void 0:r.listeners),{stdout(e){o+=l.write(e),u&&u(e);},stderr(e){a+=c.write(e),p&&p(e);}}),f=yield s(e,t,Object.assign(Object.assign({},r),{listeners:d}));return{exitCode:f,stdout:o+=l.end(),stderr:a+=c.end()};});};}),rh.register("jbxr5",function(e,t){var r,n,i,o;r=e.exports&&e.exports.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r];}});}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r];}),n=e.exports&&e.exports.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),i=e.exports&&e.exports.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&r(t,e,i);return n(t,e),t;},o=e.exports&&e.exports.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e));}catch(e){o(e);}}function a(e){try{l(n.throw(e));}catch(e){o(e);}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t);})).then(s,a);}l((n=n.apply(e,t||[])).next());});},Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.argStringToArray=e.exports.ToolRunner=void 0;let s=i(iu),a=i(t2),l=i(t5),c=i(ip),u=i(rh("fcBgE")),p=i(rh("ejt9m")),d="win32"===process.platform;class f 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){let r=this._getSpawnFileName(),n=this._getSpawnArgs(e),i=t?"":"[command]";if(d){if(this._isCmdFile())for(let e of(i+=r,n))i+=" "+e;else if(e.windowsVerbatimArguments)for(let e of(i+=`"${r}"`,n))i+=" "+e;else for(let e of(i+=this._windowsQuoteCmdArg(r),n))i+=" "+this._windowsQuoteCmdArg(e);}else for(let e of(i+=r,n))i+=" "+e;return i;}_processLineBuffer(e,t,r){try{let n=t+e.toString(),i=n.indexOf(s.EOL);for(;i>-1;){let e=n.substring(0,i);r(e),i=(n=n.substring(i+s.EOL.length)).indexOf(s.EOL);}return n;}catch(e){return this._debug("error processing line. Failed with error "+e),"";}}_getSpawnFileName(){return d&&this._isCmdFile()?process.env.COMSPEC||"cmd.exe":this.toolPath;}_getSpawnArgs(e){if(d&&this._isCmdFile()){let t='/D /S /C "'+this._windowsQuoteCmdArg(this.toolPath);for(let r of this.args)t+=" "+(e.windowsVerbatimArguments?r:this._windowsQuoteCmdArg(r));return[t+='"'];}return this.args;}_endsWith(e,t){return e.endsWith(t);}_isCmdFile(){let 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'""';let t=[" "," ","&","(",")","[","]","{","}","^","=",";","!","'","+",",","`","~","|","<",">",'"'],r=!1;for(let n of e)if(t.some(e=>e===n)){r=!0;break;}if(!r)return e;let n='"',i=!0;for(let t=e.length;t>0;t--)n+=e[t-1],i&&"\\"===e[t-1]?n+="\\":'"'===e[t-1]?(i=!0,n+='"'):i=!1;return(n+='"').split("").reverse().join("");}_uvQuoteCmdArg(e){if(!e)return'""';if(!e.includes(" ")&&!e.includes(" ")&&!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+='"').split("").reverse().join("");}_cloneExecOptions(e){e=e||{};let t={cwd: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){e=e||{};let r={};return r.cwd=e.cwd,r.env=e.env,r.windowsVerbatimArguments=e.windowsVerbatimArguments||this._isCmdFile(),e.windowsVerbatimArguments&&(r.argv0=`"${t}"`),r;}exec(){return o(this,void 0,void 0,function*(){return!p.isRooted(this.toolPath)&&(this.toolPath.includes("/")||d&&this.toolPath.includes("\\"))&&(this.toolPath=c.resolve(process.cwd(),this.options.cwd||process.cwd(),this.toolPath)),this.toolPath=yield u.which(this.toolPath,!0),new Promise((e,t)=>o(this,void 0,void 0,function*(){for(let e of(this._debug("exec tool: "+this.toolPath),this._debug("arguments:"),this.args))this._debug(" "+e);let r=this._cloneExecOptions(this.options);!r.silent&&r.outStream&&r.outStream.write(this._getCommandString(r)+s.EOL);let n=new h(r,this.toolPath);if(n.on("debug",e=>{this._debug(e);}),this.options.cwd&&!(yield p.exists(this.options.cwd)))return t(Error(`The cwd: ${this.options.cwd} does not exist!`));let i=this._getSpawnFileName(),o=l.spawn(i,this._getSpawnArgs(r),this._getSpawnOptions(this.options,i)),a="";o.stdout&&o.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 c="";if(o.stderr&&o.stderr.on("data",e=>{if(n.processStderr=!0,this.options.listeners&&this.options.listeners.stderr&&this.options.listeners.stderr(e),!r.silent&&r.errStream&&r.outStream){let t=r.failOnStdErr?r.errStream:r.outStream;t.write(e);}c=this._processLineBuffer(e,c,e=>{this.options.listeners&&this.options.listeners.errline&&this.options.listeners.errline(e);});}),o.on("error",e=>{n.processError=e.message,n.processExited=!0,n.processClosed=!0,n.CheckComplete();}),o.on("exit",e=>{n.processExitCode=e,n.processExited=!0,this._debug(`Exit code ${e} received from tool '${this.toolPath}'`),n.CheckComplete();}),o.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),c.length>0&&this.emit("errline",c),o.removeAllListeners(),r?t(r):e(n);}),this.options.input){if(!o.stdin)throw Error("child process missing stdin");o.stdin.end(this.options.input);}}));});}}e.exports.ToolRunner=f,e.exports.argStringToArray=function(e){function t(e){i&&'"'!==e&&(o+="\\"),o+=e,i=!1;}let r=[],n=!1,i=!1,o="";for(let s=0;s0&&(r.push(o),o="");continue;}t(a);}return o.length>0&&r.push(o.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=t8.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){if(!e.done){if(!e.processClosed&&e.processExited){let t=`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._debug(t);}e._setResult();}}}}),rh.register("5fF9z",function(e,t){e.exports=Promise.resolve(require("./actions_python.c36737fd.js")).then(()=>rh("4kQHk"));}),rm=rh("dTX7a"),rg=rh("ER74K"),rv=rh("ggaxg"),function(){rh("fXZh0").addLocale("en",function(e){var t=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return("string"==typeof e&&(e=parseInt(e,10)),1===t&&0===r)?"one":"other";});}.call(rE={}),ry={},ry=rh("25uEY"),rw={},rw={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"}}}},rx={};const iv=iu.homedir();rx=e=>{if("string"!=typeof e)throw TypeError("Expected a string, got "+typeof e);return iv?e.replace(/^~(?=$|\/|\\)/,iv):e;},rb={};const iE="win32"===process.platform||"cygwin"===process.env.OSTYPE||"msys"===process.env.OSTYPE,iy=iE?";":":";rI={},rS="win32"===process.platform||rp.TESTING_WINDOWS?rh("a3PNV"):rh("7gw6J"),rI=u,u.sync=function(e,t){try{return rS.sync(e,t||{});}catch(e){if(t&&t.ignoreErrors||"EACCES"===e.code)return!1;throw e;}};const iw=e=>Object.assign(Error("not found: "+e),{code:"ENOENT"}),ix=(e,t)=>{let r=t.colon||iy,n=e.match(/\//)||iE&&e.match(/\\/)?[""]:[...(iE?[process.cwd()]:[]),...(t.path||process.env.PATH||"").split(r)],i=iE?t.pathExt||process.env.PATHEXT||".EXE;.CMD;.BAT;.COM":"",o=iE?i.split(r):[""];return iE&&-1!==e.indexOf(".")&&""!==o[0]&&o.unshift(""),{pathEnv:n,pathExt:o,pathExtExe:i};},ib=(e,t,r)=>{"function"==typeof t&&(r=t,t={}),t||(t={});let{pathEnv:n,pathExt:i,pathExtExe:o}=ix(e,t),s=[],a=r=>new Promise((i,o)=>{if(r===n.length)return t.all&&s.length?i(s):o(iw(e));let a=n[r],c=/^".*"$/.test(a)?a.slice(1,-1):a,u=ip.join(c,e),p=!c&&/^\.[\\\/]/.test(e)?e.slice(0,2)+u:u;i(l(p,r,0));}),l=(e,r,n)=>new Promise((c,u)=>{if(n===i.length)return c(a(r+1));let p=i[n];rI(e+p,{pathExt:o},(i,o)=>{if(!i&&o){if(!t.all)return c(e+p);s.push(e+p);}return c(l(e,r,n+1));});});return r?a(0).then(e=>r(null,e),r):a(0);};rb=ib,ib.sync=(e,t)=>{t=t||{};let{pathEnv:r,pathExt:n,pathExtExe:i}=ix(e,t),o=[];for(let s=0;s{let t=e.env||process.env,r=e.platform||process.platform;return"win32"!==r?"PATH":Object.keys(t).reverse().find(e=>"PATH"===e.toUpperCase())||"Path";};(r$=iI).default=iI,rC=function(e){return p(e)||p(e,!0);};rA={},rP={},rN={},rN=/^#!(.*)/,rP=(e="")=>{let t=e.match(rN);if(!t)return null;let[r,n]=t[0].replace(/#! ?/,"").split(" "),i=r.split("/").pop();return"env"===i?n:n?`${i} ${n}`:i;},rA=function(e){let t;let r=Buffer.alloc(150);try{t=id.openSync(e,"r"),id.readSync(t,r,0,150,0),id.closeSync(t);}catch(e){}return rP(r.toString());};const iS="win32"===process.platform;rT=function(e,t,r){t&&!Array.isArray(t)&&(r=t,t=null),t=t?t.slice(0):[],r=Object.assign({},r);let n={command:e,args:t,options:r,file:void 0,original:{command:e,args:t}};return r.shell?n:function(e){if(!iS)return e;let t=function(e){e.file=rC(e);let t=e.file&&rA(e.file);return t?(e.args.unshift(e.file),e.command=t,rC(e)):e.file;}(e),r=!/\.(?:com|exe)$/i.test(t);if(e.options.forceShell||r){var n;let r=/node_modules[\\/].bin[\\/][^\\/]+\.cmd$/i.test(t);e.command=ip.normalize(e.command),e.command=n=(n=e.command).replace(/([()\][%!^"`<>&|;, *?])/g,"^$1"),e.args=e.args.map(e=>{var t,n;return t=e,n=r,t=(t=`"${t=(t=(t=""+t).replace(/(\\*)"/g,'$1$1\\"')).replace(/(\\*)$/,"$1$1")}"`).replace(/([()\][%!^"`<>&|;, *?])/g,"^$1"),n&&(t=t.replace(/([()\][%!^"`<>&|;, *?])/g,"^$1")),t;});let i=[e.command].concat(e.args).join(" ");e.args=["/d","/s","/c",`"${i}"`],e.command=process.env.comspec||"cmd.exe",e.options.windowsVerbatimArguments=!0;}return e;}(n);},r_={};const iR="win32"===process.platform;r_={hookChildProcess:function(e,t){if(!iR)return;let r=e.emit;e.emit=function(n,i){if("exit"===n){let n=f(i,t,"spawn");if(n)return r.call(e,"error",n);}return r.apply(e,arguments);};},verifyENOENT:f,verifyENOENTSync:function(e,t){return iR&&1===e&&!t.file?d(t.original,"spawnSync"):null;},notFoundError:d},(rO=h).spawn=h,rO.sync=function(e,t,r){let n=rT(e,t,r),i=t5.spawnSync(n.command,n.args,n.options);return i.error=i.error||r_.verifyENOENTSync(i.status,n),i;},rO._parse=rT,rO._enoent=r_,rL={},rL=e=>{let t="string"==typeof e?"\n":"\n".charCodeAt(),r="string"==typeof e?"\r":"\r".charCodeAt();return e[e.length-1]===t&&(e=e.slice(0,e.length-1)),e[e.length-1]===r&&(e=e.slice(0,e.length-1)),e;},rD={};const iO=e=>{let t;e={cwd:process.cwd(),path:process.env[r$()],execPath:process.execPath,...e};let r=ip.resolve(e.cwd),n=[];for(;t!==r;)n.push(ip.join(r,"node_modules/.bin")),t=r,r=ip.resolve(r,"..");let i=ip.resolve(e.cwd,e.execPath,"..");return n.push(i),n.concat(e.path).join(ip.delimiter);};(rD=iO).default=iO,rD.env=e=>{e={env:process.env,...e};let t={...e.env},r=r$({env:t});return e.path=t[r],t[r]=rD(e),t;},rk={},rU={};const iT=(e,t)=>{for(let r of Reflect.ownKeys(t))Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r));return e;};(rU=iT).default=iT;const iC=new WeakMap(),i$=(e,t={})=>{let r;if("function"!=typeof e)throw TypeError("Expected a function");let n=0,i=e.displayName||e.name||"",o=function(...s){if(iC.set(o,++n),1===n)r=e.apply(this,s),e=null;else if(!0===t.throw)throw Error(`Function \`${i}\` can only be called once`);return r;};return rU(o,e),iC.set(o,n),o;};(rk=i$).default=i$,rk.callCount=e=>{if(!iC.has(e))throw Error(`The given function \`${e.name}\` is not wrapped by the \`onetime\` package`);return iC.get(e);},rj={},Object.defineProperty(rM={},"__esModule",{value:!0}),rM.signalsByNumber=rM.signalsByName=void 0,Object.defineProperty(rF={},"__esModule",{value:!0}),rF.getSignals=void 0,Object.defineProperty(rG={},"__esModule",{value:!0}),rG.SIGNALS=void 0,rG.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"}],Object.defineProperty(rB={},"__esModule",{value:!0}),rB.SIGRTMAX=rB.getRealtimeSignals=void 0,rB.getRealtimeSignals=function(){return Array.from({length:iN-iP+1},iA);};const iA=function(e,t){return{name:"SIGRT"+(t+1),number:iP+t,action:"terminate",description:"Application-specific signal (realtime)",standard:"posix"};},iP=34,iN=64;rB.SIGRTMAX=iN,rF.getSignals=function(){let e=(0,rB.getRealtimeSignals)(),t=[...rG.SIGNALS,...e].map(i_);return t;};const i_=function({name:e,number:t,description:r,action:n,forced:i=!1,standard:o}){let{signals:{[e]:s}}=iu.constants,a=void 0!==s;return{name:e,number:a?s:t,description:r,supported:a,action:n,forced:i,standard:o};},iL=function(e,{name:t,number:r,description:n,supported:i,action:o,forced:s,standard:a}){return{...e,[t]:{name:t,number:r,description:n,supported:i,action:o,forced:s,standard:a}};},iD=function(){let e=(0,rF.getSignals)();return e.reduce(iL,{});}();rM.signalsByName=iD;const ik=function(e,t){let r=iU(e,t);if(void 0===r)return{};let{name:n,description:i,supported:o,action:s,forced:a,standard:l}=r;return{[e]:{name:n,number:e,description:i,supported:o,action:s,forced:a,standard:l}};},iU=function(e,t){let r=t.find(({name:t})=>iu.constants.signals[t]===e);return void 0!==r?r:t.find(t=>t.number===e);},ij=function(){let e=(0,rF.getSignals)(),t=rB.SIGRTMAX+1,r=Array.from({length:t},(t,r)=>ik(r,e));return Object.assign({},...r);}();rM.signalsByNumber=ij,rH=rM.signalsByName;const iM=({timedOut:e,timeout:t,errorCode:r,signal:n,signalDescription:i,exitCode:o,isCanceled:s})=>e?`timed out after ${t} milliseconds`:s?"was canceled":void 0!==r?"failed with "+r:void 0!==n?`was killed with ${n} (${i})`:void 0!==o?"failed with exit code "+o:"failed";rj=({stdout:e,stderr:t,all:r,error:n,signal:i,exitCode:o,command:s,escapedCommand:a,timedOut:l,isCanceled:c,killed:u,parsed:{options:{timeout:p}}})=>{o=null===o?void 0:o,i=null===i?void 0:i;let d=void 0===i?void 0:rH[i].description,f=n&&n.code,h=iM({timedOut:l,timeout:p,errorCode:f,signal:i,signalDescription:d,exitCode:o,isCanceled:c}),m=`Command ${h}: ${s}`,g="[object Error]"===Object.prototype.toString.call(n),v=g?`${m} -${n.message}`:m,E=[v,t,e].filter(Boolean).join("\n");return g?(n.originalMessage=n.message,n.message=E):n=Error(E),n.shortMessage=v,n.command=s,n.escapedCommand=a,n.exitCode=o,n.signal=i,n.signalDescription=d,n.stdout=e,n.stderr=t,void 0!==r&&(n.all=r),"bufferedData"in n&&delete n.bufferedData,n.failed=!0,n.timedOut=!!l,n.isCanceled=c,n.killed=u&&!l,n;},rV={};const iF=["stdin","stdout","stderr"],iG=e=>iF.some(t=>void 0!==e[t]),iB=e=>{if(!e)return;let{stdio:t}=e;if(void 0===t)return iF.map(t=>e[t]);if(iG(e))throw Error("It's not possible to provide `stdio` in combination with one of "+iF.map(e=>`\`${e}\``).join(", "));if("string"==typeof t)return t;if(!Array.isArray(t))throw TypeError(`Expected \`stdio\` to be of type \`string\` or \`Array\`, got \`${typeof t}\``);let r=Math.max(t.length,iF.length);return Array.from({length:r},(e,r)=>t[r]);};(rV=iB).node=e=>{let t=iB(e);return"ipc"===t?"ipc":void 0===t||"string"==typeof t?[t,t,t,"ipc"]:t.includes("ipc")?t:[...t,"ipc"];},rX={},rq={},rK=rp.process;const iH=function(e){return 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(iH(rK)){var iV,iX=t3,iq=rh("1YMV0"),iK=/^win/i.test(rK.platform),iz=t2;"function"!=typeof iz&&(iz=iz.EventEmitter),rK.__signal_exit_emitter__?iV=rK.__signal_exit_emitter__:((iV=rK.__signal_exit_emitter__=new iz()).count=0,iV.emitted={}),iV.infinite||(iV.setMaxListeners(1/0),iV.infinite=!0);var iW=function(){iQ&&iH(rp.process)&&(iQ=!1,iq.forEach(function(e){try{rK.removeListener(e,iJ[e]);}catch(e){}}),rK.emit=i2,rK.reallyExit=i0,iV.count-=1);};(rq=function(e,t){if(!iH(rp.process))return function(){};iX.equal(typeof e,"function","a callback must be provided for exit handler"),!1===iQ&&iZ();var r="exit";return t&&t.alwaysLast&&(r="afterexit"),iV.on(r,e),function(){iV.removeListener(r,e),0===iV.listeners("exit").length&&0===iV.listeners("afterexit").length&&iW();};}).unload=iW;var iY=function(e,t,r){iV.emitted[e]||(iV.emitted[e]=!0,iV.emit(e,t,r));},iJ={};iq.forEach(function(e){iJ[e]=function(){iH(rp.process)&&rK.listeners(e).length===iV.count&&(iW(),iY("exit",null,e),iY("afterexit",null,e),iK&&"SIGHUP"===e&&(e="SIGINT"),rK.kill(rK.pid,e));};}),rq.signals=function(){return iq;};var iQ=!1,iZ=function(){!iQ&&iH(rp.process)&&(iQ=!0,iV.count+=1,iq=iq.filter(function(e){try{return rK.on(e,iJ[e]),!0;}catch(e){return!1;}}),rK.emit=i3,rK.reallyExit=i1);};rq.load=iZ;var i0=rK.reallyExit,i1=function(e){iH(rp.process)&&(rK.exitCode=e||0,iY("exit",rK.exitCode,null),iY("afterexit",rK.exitCode,null),i0.call(rK,rK.exitCode));},i2=rK.emit,i3=function(e,t){if(!("exit"===e&&iH(rp.process)))return i2.apply(this,arguments);void 0!==t&&(rK.exitCode=t);var r=i2.apply(this,arguments);return iY("exit",rK.exitCode,null),iY("afterexit",rK.exitCode,null),r;};}else rq=function(){return function(){};};const i4=(e,t,r,n)=>{if(!i6(t,r,n))return;let i=i7(r),o=setTimeout(()=>{e("SIGKILL");},i);o.unref&&o.unref();},i6=(e,{forceKillAfterTimeout:t},r)=>i5(e)&&!1!==t&&r,i5=e=>e===iu.constants.signals.SIGTERM||"string"==typeof e&&"SIGTERM"===e.toUpperCase(),i7=({forceKillAfterTimeout:e=!0})=>{if(!0===e)return 5e3;if(!Number.isFinite(e)||e<0)throw TypeError(`Expected the \`forceKillAfterTimeout\` option to be a non-negative integer, got \`${e}\` (${typeof e})`);return e;},i8=(e,t,r)=>{e.kill(t),r(Object.assign(Error("Timed out"),{timedOut:!0,signal:t}));},i9=async(e,{cleanup:t,detached:r},n)=>{if(!t||r)return n;let i=rq(()=>{e.kill();});return n.finally(()=>{i();});};rz=(rX={spawnedKill(e,t="SIGTERM",r={}){let n=e(t);return i4(e,t,r,n),n;},spawnedCancel(e,t){let r=e.kill();r&&(t.isCanceled=!0);},setupTimeout(e,{timeout:t,killSignal:r="SIGTERM"},n){let i;if(0===t||void 0===t)return n;let o=new Promise((n,o)=>{i=setTimeout(()=>{i8(e,r,o);},t);}),s=n.finally(()=>{clearTimeout(i);});return Promise.race([o,s]);},validateTimeout({timeout:e}){if(void 0!==e&&(!Number.isFinite(e)||e<0))throw TypeError(`Expected the \`timeout\` option to be a non-negative integer, got \`${e}\` (${typeof e})`);},setExitHandler:i9}).spawnedKill,rW=rX.spawnedCancel,rY=rX.setupTimeout,rJ=rX.validateTimeout,rQ=rX.setExitHandler,rZ={},r0={};const oe=e=>null!==e&&"object"==typeof e&&"function"==typeof e.pipe;oe.writable=e=>oe(e)&&!1!==e.writable&&"function"==typeof e._write&&"object"==typeof e._writableState,oe.readable=e=>oe(e)&&!1!==e.readable&&"function"==typeof e._read&&"object"==typeof e._readableState,oe.duplex=e=>oe.writable(e)&&oe.readable(e),oe.transform=e=>oe.duplex(e)&&"function"==typeof e._transform,r0=oe,r1={},r2=t9.constants,r3=t4.promisify,r4={},r6=re.PassThrough,r4=e=>{e={...e};let{array:t}=e,{encoding:r}=e,n="buffer"===r,i=!1;t?i=!(r||n):r=r||"utf8",n&&(r=null);let o=new r6({objectMode:i});r&&o.setEncoding(r);let s=0,a=[];return o.on("data",e=>{a.push(e),i?s=a.length:s+=e.length;}),o.getBufferedValue=()=>t?a:n?Buffer.concat(a,s):a.join(""),o.getBufferedLength=()=>s,o;};const ot=r3(re.pipeline);class or extends Error{constructor(){super("maxBuffer exceeded"),this.name="MaxBufferError";}}(r1=m).buffer=(e,t)=>m(e,{...t,encoding:"buffer"}),r1.array=(e,t)=>m(e,{...t,array:!0}),r1.MaxBufferError=or,r5={},r7=re.PassThrough,r5=function(){function e(i){return Array.isArray(i)?i.forEach(e):(r.push(i),i.once("end",t.bind(null,i)),i.once("error",n.emit.bind(n,"error")),i.pipe(n,{end:!1})),this;}function t(e){!(r=r.filter(function(t){return t!==e;})).length&&n.readable&&n.end();}var r=[],n=new r7({objectMode:!0});return n.setMaxListeners(0),n.add=e,n.isEmpty=function(){return 0==r.length;},n.on("unpipe",t),Array.prototype.slice.call(arguments).forEach(e),n;};const on=async(e,t)=>{if(e){e.destroy();try{return await t;}catch(e){return e.bufferedData;}}},oi=(e,{encoding:t,buffer:r,maxBuffer:n})=>{if(e&&r)return t?r1(e,{encoding:t,maxBuffer:n}):r1.buffer(e,{maxBuffer:n});},oo=async({stdout:e,stderr:t,all:r},{encoding:n,buffer:i,maxBuffer:o},s)=>{let a=oi(e,{encoding:n,buffer:i,maxBuffer:o}),l=oi(t,{encoding:n,buffer:i,maxBuffer:o}),c=oi(r,{encoding:n,buffer:i,maxBuffer:2*o});try{return await Promise.all([s,a,l,c]);}catch(n){return Promise.all([{error:n,signal:n.signal,timedOut:n.timedOut},on(e,a),on(t,l),on(r,c)]);}};r8=(rZ={handleInput(e,t){void 0!==t&&void 0!==e.stdin&&(r0(t)?t.pipe(e.stdin):e.stdin.end(t));},makeAllStream(e,{all:t}){if(!t||!e.stdout&&!e.stderr)return;let r=r5();return e.stdout&&r.add(e.stdout),e.stderr&&r.add(e.stderr),r;},getSpawnedResult:oo,validateInputSync({input:e}){if(r0(e))throw TypeError("The `input` option cannot be a stream in sync mode");}}).handleInput,r9=rZ.getSpawnedResult,ne=rZ.makeAllStream,nt=rZ.validateInputSync,nr={};const os=(async()=>{})().constructor.prototype,oa=["then","catch","finally"].map(e=>[e,Reflect.getOwnPropertyDescriptor(os,e)]);nn=(nr={mergePromise(e,t){for(let[r,n]of oa){let i="function"==typeof t?(...e)=>Reflect.apply(n.value,t(),e):n.value.bind(t);Reflect.defineProperty(e,r,{...n,value:i});}return e;},getSpawnedPromise:e=>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,ni=nr.getSpawnedPromise,no={};const ol=(e,t=[])=>Array.isArray(t)?[e,...t]:[e],oc=e=>"string"!=typeof e||/^[\w.-]+$/.test(e)?e:`"${e.replace(/"/g,'\\"')}"`;ns=(no={joinCommand:(e,t)=>ol(e,t).join(" "),getEscapedCommand:(e,t)=>ol(e,t).map(e=>oc(e)).join(" "),parseCommand(e){let t=[];for(let r of e.trim().split(/ +/g)){let e=t[t.length-1];e&&e.endsWith("\\")?t[t.length-1]=`${e.slice(0,-1)} ${r}`:t.push(r);}return t;}}).joinCommand,na=no.parseCommand,nl=no.getEscapedCommand;const ou=({env:e,extendEnv:t,preferLocal:r,localDir:n,execPath:i})=>{let o=t?{...process.env,...e}:e;return r?rD.env({env:o,cwd:n,execPath:i}):o;},op=(e,t,r={})=>{let n=rO._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=ou(r),r.stdio=rV(r),"win32"===process.platform&&"cmd"===ip.basename(e,".exe")&&t.unshift("/q"),{file:e,args:t,options:r,parsed:n};},od=(e,t,r)=>"string"==typeof t||Buffer.isBuffer(t)?e.stripFinalNewline?rL(t):t:void 0===r?void 0:"",of=(e,t,r)=>{let n;let i=op(e,t,r),o=ns(e,t),s=nl(e,t);rJ(i.options);try{n=t5.spawn(i.file,i.args,i.options);}catch(r){let e=new t5.ChildProcess(),t=Promise.reject(rj({error:r,stdout:"",stderr:"",all:"",command:o,escapedCommand:s,parsed:i,timedOut:!1,isCanceled:!1,killed:!1}));return nn(e,t);}let a=ni(n),l=rY(n,i.options,a),c=rQ(n,i.options,l),u={isCanceled:!1};n.kill=rz.bind(null,n.kill.bind(n)),n.cancel=rW.bind(null,n,u);let p=async()=>{let[{error:e,exitCode:t,signal:r,timedOut:a},l,p,d]=await r9(n,i.options,c),f=od(i.options,l),h=od(i.options,p),m=od(i.options,d);if(e||0!==t||null!==r){let l=rj({error:e,exitCode:t,signal:r,stdout:f,stderr:h,all:m,command:o,escapedCommand:s,parsed:i,timedOut:a,isCanceled:u.isCanceled,killed:n.killed});if(!i.options.reject)return l;throw l;}return{command:o,escapedCommand:s,exitCode:0,stdout:f,stderr:h,all:m,failed:!1,timedOut:!1,isCanceled:!1,killed:!1};},d=rk(p);return r8(n,i.options.input),n.all=ne(n,i.options),nn(n,d);};(rR=of).sync=(e,t,r)=>{let n;let i=op(e,t,r),o=ns(e,t),s=nl(e,t);nt(i.options);try{n=t5.spawnSync(i.file,i.args,i.options);}catch(e){throw rj({error:e,stdout:"",stderr:"",all:"",command:o,escapedCommand:s,parsed:i,timedOut:!1,isCanceled:!1,killed:!1});}let a=od(i.options,n.stdout,n.error),l=od(i.options,n.stderr,n.error);if(n.error||0!==n.status||null!==n.signal){let e=rj({stdout:a,stderr:l,error:n.error,signal:n.signal,exitCode:n.status,command:o,escapedCommand:s,parsed:i,timedOut:n.error&&"ETIMEDOUT"===n.error.code,isCanceled:!1,killed:null!==n.signal});if(!i.options.reject)return e;throw e;}return{command:o,escapedCommand:s,exitCode:0,stdout:a,stderr:l,failed:!1,timedOut:!1,isCanceled:!1,killed:!1};},rR.command=(e,t)=>{let[r,...n]=na(e);return of(r,n,t);},rR.commandSync=(e,t)=>{let[r,...n]=na(e);return of.sync(r,n,t);},rR.node=(e,t,r={})=>{t&&!Array.isArray(t)&&"object"==typeof t&&(r=t,t=[]);let n=rV.node(r),i=process.execArgv.filter(e=>!e.startsWith("--inspect")),{nodePath:o=process.execPath,nodeOptions:s=i}=r;return of(o,[...s,e,...(Array.isArray(t)?t:[])],{...r,stdin:void 0,stdout:void 0,stderr:void 0,stdio:n,shell:!1});};const oh={stdio:"inherit",shell:!0};rg=rh("ER74K"),nc={},nu=rh("lJEXJ"),np=rt.env.npm_package_json,nf=!!((nd=rt.env.npm_config_user_agent)&&nd.startsWith("npm")),nh=!!(np&&np.endsWith("package.json")),nm=!!(nd&&nd.startsWith("yarn")),ng=nf||nh||nm,nv=iu.homedir(),nE=process.env.XDG_CONFIG_HOME||ip.join(nv,".config","simple-update-notifier"),ny=function(e){return ip.join(nE,"".concat(e.replace("@","").replace("/","__"),".json"));},nw=function(){id.existsSync(nE)||id.mkdirSync(nE,{recursive:!0});},nx=function(e){var t=ny(e);try{if(!id.existsSync(t))return;return JSON.parse(id.readFileSync(t,"utf8")).lastUpdateCheck;}catch(e){return;}},nb=function(e){var t=ny(e);id.writeFileSync(t,JSON.stringify({lastUpdateCheck:new Date().getTime()}));},nI=function(e){var t=e.pkg,r=e.updateCheckInterval,n=void 0===r?864e5:r,i=e.distTag,o=void 0===i?"latest":i,s=e.alwaysRun,a=e.debug;return x(void 0,void 0,void 0,function(){var e,r;return b(this,function(i){switch(i.label){case 0:var l;if(nw(),e=nx(t.name),!(s||!e||e{if("length"===r||"prototype"===r||"arguments"===r||"caller"===r)return;let i=Object.getOwnPropertyDescriptor(e,r),o=Object.getOwnPropertyDescriptor(t,r);(og(i,o)||!n)&&Object.defineProperty(e,r,o);},og=function(e,t){return void 0===e||e.configurable||e.writable===t.writable&&e.enumerable===t.enumerable&&e.configurable===t.configurable&&(e.writable||e.value===t.value);},ov=(e,t)=>{let r=Object.getPrototypeOf(t);r!==Object.getPrototypeOf(e)&&Object.setPrototypeOf(e,r);},oE=(e,t)=>`/* Wrapped ${e}*/ -${t}`,oy=Object.getOwnPropertyDescriptor(Function.prototype,"toString"),ow=Object.getOwnPropertyDescriptor(Function.prototype.toString,"name"),ox=(e,t,r)=>{let n=""===r?"":`with ${r.trim()}() `,i=oE.bind(null,n,t.toString());Object.defineProperty(i,"name",ow),Object.defineProperty(e,"toString",{...oy,value:i});},ob=new WeakMap(),oI=(e,t={})=>{let r;if("function"!=typeof e)throw TypeError("Expected a function");let n=0,i=e.displayName||e.name||"",o=function(...s){if(ob.set(o,++n),1===n)r=e.apply(this,s),e=null;else if(!0===t.throw)throw Error(`Function \`${i}\` can only be called once`);return r;};return!function(e,t,{ignoreNonConfigurable:r=!1}={}){let{name:n}=e;for(let n of Reflect.ownKeys(t))om(e,t,n,r);ov(e,t),ox(e,t,n);}(o,e),ob.set(o,n),o;};oI.callCount=e=>{if(!ob.has(e))throw Error(`The given function \`${e.name}\` is not wrapped by the \`onetime\` package`);return ob.get(e);},nT=oI;const oS=()=>Array.from({length:oT-oO+1},oR),oR=(e,t)=>({name:"SIGRT"+(t+1),number:oO+t,action:"terminate",description:"Application-specific signal (realtime)",standard:"posix"}),oO=34,oT=64,oC=[{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"}],o$=()=>{let e=oS(),t=[...oC,...e].map(oA);return t;},oA=({name:e,number:t,description:r,action:n,forced:i=!1,standard:o})=>{let{signals:{[e]:s}}=ra.constants,a=void 0!==s;return{name:e,number:a?s:t,description:r,supported:a,action:n,forced:i,standard:o};},oP=({name:e,number:t,description:r,supported:n,action:i,forced:o,standard:s})=>[e,{name:e,number:t,description:r,supported:n,action:i,forced:o,standard:s}],oN=(()=>{let e=o$();return Object.fromEntries(e.map(oP));})(),o_=(e,t)=>{let r=oL(e,t);if(void 0===r)return{};let{name:n,description:i,supported:o,action:s,forced:a,standard:l}=r;return{[e]:{name:n,number:e,description:i,supported:o,action:s,forced:a,standard:l}};},oL=(e,t)=>{let r=t.find(({name:t})=>ra.constants.signals[t]===e);return void 0!==r?r:t.find(t=>t.number===e);};(()=>{let e=o$(),t=Array.from({length:oT+1},(t,r)=>o_(r,e));return Object.assign({},...t);})();const oD=({timedOut:e,timeout:t,errorCode:r,signal:n,signalDescription:i,exitCode:o,isCanceled:s})=>e?`timed out after ${t} milliseconds`:s?"was canceled":void 0!==r?"failed with "+r:void 0!==n?`was killed with ${n} (${i})`:void 0!==o?"failed with exit code "+o:"failed",ok=({stdout:e,stderr:t,all:r,error:n,signal:i,exitCode:o,command:s,escapedCommand:a,timedOut:l,isCanceled:c,killed:u,parsed:{options:{timeout:p}}})=>{o=null===o?void 0:o,i=null===i?void 0:i;let d=void 0===i?void 0:oN[i].description,f=n&&n.code,h=oD({timedOut:l,timeout:p,errorCode:f,signal:i,signalDescription:d,exitCode:o,isCanceled:c}),m=`Command ${h}: ${s}`,g="[object Error]"===Object.prototype.toString.call(n),v=g?`${m} -${n.message}`:m,E=[v,t,e].filter(Boolean).join("\n");return g?(n.originalMessage=n.message,n.message=E):n=Error(E),n.shortMessage=v,n.command=s,n.escapedCommand=a,n.exitCode=o,n.signal=i,n.signalDescription=d,n.stdout=e,n.stderr=t,void 0!==r&&(n.all=r),"bufferedData"in n&&delete n.bufferedData,n.failed=!0,n.timedOut=!!l,n.isCanceled=c,n.killed=u&&!l,n;},oU=["stdin","stdout","stderr"],oj=e=>oU.some(t=>void 0!==e[t]),oM=e=>{if(!e)return;let{stdio:t}=e;if(void 0===t)return oU.map(t=>e[t]);if(oj(e))throw Error("It's not possible to provide `stdio` in combination with one of "+oU.map(e=>`\`${e}\``).join(", "));if("string"==typeof t)return t;if(!Array.isArray(t))throw TypeError(`Expected \`stdio\` to be of type \`string\` or \`Array\`, got \`${typeof t}\``);let r=Math.max(t.length,oU.length);return Array.from({length:r},(e,r)=>t[r]);},oF=(e,t="SIGTERM",r={})=>{let n=e(t);return oG(e,t,r,n),n;},oG=(e,t,r,n)=>{if(!oB(t,r,n))return;let i=oV(r),o=setTimeout(()=>{e("SIGKILL");},i);o.unref&&o.unref();},oB=(e,{forceKillAfterTimeout:t},r)=>oH(e)&&!1!==t&&r,oH=e=>e===c(ra).constants.signals.SIGTERM||"string"==typeof e&&"SIGTERM"===e.toUpperCase(),oV=({forceKillAfterTimeout:e=!0})=>{if(!0===e)return 5e3;if(!Number.isFinite(e)||e<0)throw TypeError(`Expected the \`forceKillAfterTimeout\` option to be a non-negative integer, got \`${e}\` (${typeof e})`);return e;},oX=(e,t)=>{let r=e.kill();r&&(t.isCanceled=!0);},oq=(e,t,r)=>{e.kill(t),r(Object.assign(Error("Timed out"),{timedOut:!0,signal:t}));},oK=(e,{timeout:t,killSignal:r="SIGTERM"},n)=>{let i;if(0===t||void 0===t)return n;let o=new Promise((n,o)=>{i=setTimeout(()=>{oq(e,r,o);},t);}),s=n.finally(()=>{clearTimeout(i);});return Promise.race([o,s]);},oz=({timeout:e})=>{if(void 0!==e&&(!Number.isFinite(e)||e<0))throw TypeError(`Expected the \`timeout\` option to be a non-negative integer, got \`${e}\` (${typeof e})`);},oW=async(e,{cleanup:t,detached:r},n)=>{if(!t||r)return n;let i=c(rq)(()=>{e.kill();});return n.finally(()=>{i();});},oY=e=>e instanceof ri.ChildProcess&&"function"==typeof e.then,oJ=(e,t,r)=>{if("string"==typeof r)return e[t].pipe((0,t6.createWriteStream)(r)),e;if($(r))return e[t].pipe(r),e;if(!oY(r))throw TypeError("The second argument must be a string, a stream or an Execa child process.");if(!$(r.stdin))throw TypeError("The target child process's stdin must be available.");return e[t].pipe(r.stdin),r;},oQ=e=>{null!==e.stdout&&(e.pipeStdout=oJ.bind(void 0,e,"stdout")),null!==e.stderr&&(e.pipeStderr=oJ.bind(void 0,e,"stderr")),void 0!==e.all&&(e.pipeAll=oJ.bind(void 0,e,"all"));},oZ=e=>{if(void 0!==e)throw TypeError("The `input` and `inputFile` options cannot be both set.");},o0=({input:e,inputFile:t})=>"string"!=typeof t?e:(oZ(e),(0,t6.readFileSync)(t)),o1=e=>{let t=o0(e);if(C(t))throw TypeError("The `input` option cannot be a stream in sync mode");return t;},o2=({input:e,inputFile:t})=>"string"!=typeof t?e:(oZ(e),(0,t6.createReadStream)(t)),o3=(e,t)=>{let r=o2(t);void 0!==r&&(C(r)?r.pipe(e.stdin):e.stdin.end(r));},o4=(e,{all:t})=>{if(!t||!e.stdout&&!e.stderr)return;let r=c(r5)();return e.stdout&&r.add(e.stdout),e.stderr&&r.add(e.stderr),r;},o6=async(e,t)=>{if(e&&void 0!==t){e.destroy();try{return await t;}catch(e){return e.bufferedData;}}},o5=(e,{encoding:t,buffer:r,maxBuffer:n})=>{if(e&&r)return t?c(r1)(e,{encoding:t,maxBuffer:n}):c(r1).buffer(e,{maxBuffer:n});},o7=async({stdout:e,stderr:t,all:r},{encoding:n,buffer:i,maxBuffer:o},s)=>{let a=o5(e,{encoding:n,buffer:i,maxBuffer:o}),l=o5(t,{encoding:n,buffer:i,maxBuffer:o}),c=o5(r,{encoding:n,buffer:i,maxBuffer:2*o});try{return await Promise.all([s,a,l,c]);}catch(n){return Promise.all([{error:n,signal:n.signal,timedOut:n.timedOut},o6(e,a),o6(t,l),o6(r,c)]);}},o8=(async()=>{})().constructor.prototype,o9=["then","catch","finally"].map(e=>[e,Reflect.getOwnPropertyDescriptor(o8,e)]),se=(e,t)=>{for(let[r,n]of o9){let i="function"==typeof t?(...e)=>Reflect.apply(n.value,t(),e):n.value.bind(t);Reflect.defineProperty(e,r,{...n,value:i});}},st=e=>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);});}),sr=(e,t=[])=>Array.isArray(t)?[e,...t]:[e],sn=e=>"string"!=typeof e||/^[\w.-]+$/.test(e)?e:`"${e.replace(/"/g,'\\"')}"`,si=(e,t)=>sr(e,t).join(" "),so=(e,t)=>sr(e,t).map(e=>sn(e)).join(" "),ss=e=>{let t=typeof e;if("string"===t)return e;if("number"===t)return e+"";if("object"===t&&null!==e&&!(e instanceof ri.ChildProcess)&&"stdout"in e){let t=typeof e.stdout;if("string"===t)return e.stdout;if((0,rr.Buffer).isBuffer(e.stdout))return e.stdout.toString();throw TypeError(`Unexpected "${t}" stdout in template expression`);}throw TypeError(`Unexpected "${t}" in template expression`);},sa=(e,t,r)=>r||0===e.length||0===t.length?[...e,...t]:[...e.slice(0,-1),`${e[e.length-1]}${t[0]}`,...t.slice(1)],sl=({templates:e,expressions:t,tokens:r,index:n,template:i})=>{let o=i??e.raw[n],s=o.split(/ +/g).filter(Boolean),a=sa(r,s,o.startsWith(" "));if(n===t.length)return a;let l=t[n],c=Array.isArray(l)?l.map(e=>ss(e)):[ss(l)];return sa(a,c,o.endsWith(" "));},sc=(e,t)=>{let r=[];for(let[n,i]of e.entries())r=sl({templates:e,expressions:t,tokens:r,index:n,template:i});return r;},su=(0,rl.debuglog)("execa").enabled,sp=(e,t)=>(e+"").padStart(t,"0"),sd=()=>{let e=new Date();return`${sp(e.getHours(),2)}:${sp(e.getMinutes(),2)}:${sp(e.getSeconds(),2)}.${sp(e.getMilliseconds(),3)}`;},sf=(e,{verbose:t})=>{t&&c(ro).stderr.write(`[${sd()}] ${e} -`);},sh=({env:e,extendEnv:t,preferLocal:r,localDir:n,execPath:i})=>{let o=t?{...c(ro).env,...e}:e;return r?T({env:o,cwd:n,execPath:i}):o;},sm=(e,t,r={})=>{let n=c(rO)._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||c(ro).cwd(),execPath:c(ro).execPath,encoding:"utf8",reject:!0,cleanup:!0,all:!1,windowsHide:!0,verbose:su,...r}).env=sh(r),r.stdio=oM(r),"win32"===c(ro).platform&&"cmd"===c(rn).basename(e,".exe")&&t.unshift("/q"),{file:e,args:t,options:r,parsed:n};},sg=(e,t,r)=>"string"==typeof t||(0,rr.Buffer).isBuffer(t)?e.stripFinalNewline?R(t):t:void 0===r?void 0:"",sv=({input:e,inputFile:t,stdio:r})=>void 0===e&&void 0===t&&void 0===r?{stdin:"inherit"}:{},sE=(e={})=>({preferLocal:!0,...sv(e),...e});!function e(t){function r(n,...i){if(!Array.isArray(n))return e({...t,...n});let[o,...s]=sc(n,i);return A(o,s,sE(t));}return r.sync=(e,...r)=>{if(!Array.isArray(e))throw TypeError("Please use $(options).sync`command` instead of $.sync(options)`command`.");let[n,...i]=sc(e,r);return function(e,t,r){let n;let i=sm(e,t,r),o=si(e,t),s=so(e,t);sf(s,i.options);let a=o1(i.options);try{n=c(ri).spawnSync(i.file,i.args,{...i.options,input:a});}catch(e){throw ok({error:e,stdout:"",stderr:"",all:"",command:o,escapedCommand:s,parsed:i,timedOut:!1,isCanceled:!1,killed:!1});}let l=sg(i.options,n.stdout,n.error),u=sg(i.options,n.stderr,n.error);if(n.error||0!==n.status||null!==n.signal){let e=ok({stdout:l,stderr:u,error:n.error,signal:n.signal,exitCode:n.status,command:o,escapedCommand:s,parsed:i,timedOut:n.error&&"ETIMEDOUT"===n.error.code,isCanceled:!1,killed:null!==n.signal});if(!i.options.reject)return e;throw e;}return{command:o,escapedCommand:s,exitCode:0,stdout:l,stderr:u,failed:!1,timedOut:!1,isCanceled:!1,killed:!1};}(n,i,sE(t));},r;}(),nC={};const sy="win32"!==iu.platform(),sw=iu.release(),sx=(e="",t="")=>/1\d+\.\d+/.test(e)&&+t>=17134.1184;nC=function(e){return sy?e.replace(/(\s+)/g,"\\$1"):sx(.../(\d+\.\d+)\.(\d+)/.exec(sw).splice(1))?e:e.replace(/(\s+)/g,"%20");},function(){var e,t;e=rh("awj79"),t=function(e){return e.split("").reverse().join("");},n$=function(r,n,i){var o;return(null==n&&(n="'"),null==i&&(i="\\"),"string"!=typeof r)?r:(o=RegExp("(["+e(n)+"])(?!"+e(i)+")","g"),t(t(r).replace(o,"$1"+i)));};}.call(n$={}),nA=rh("dOmbL");const sb={shouldEscapeSpace:!1,shouldAddOnlyIfNotDefined:!1},sI=[/\/usr\/bin\/?/,/\/usr\/local\/bin\/?/],sS=w(".cpprc");let sR=!1;nA=rh("dOmbL");const sO=({timedOut:e,timeout:t,errorCode:r,signal:n,signalDescription:i,exitCode:o,isCanceled:s})=>e?`timed out after ${t} milliseconds`:s?"was canceled":void 0!==r?"failed with "+r:void 0!==n?`was killed with ${n} (${i})`:void 0!==o?"failed with exit code "+o:"failed",sT=({stdout:e,stderr:t,all:r,error:n,signal:i,exitCode:o,command:s,escapedCommand:a,timedOut:l,isCanceled:u,killed:p,parsed:{options:{timeout:d,cwd:f=c(ro).cwd()}}})=>{o=null===o?void 0:o,i=null===i?void 0:i;let h=void 0===i?void 0:oN[i].description,m=n&&n.code,g=sO({timedOut:l,timeout:d,errorCode:m,signal:i,signalDescription:h,exitCode:o,isCanceled:u}),v=`Command ${g}: ${s}`,E="[object Error]"===Object.prototype.toString.call(n),y=E?`${v} -${n.message}`:v,w=[y,t,e].filter(Boolean).join("\n");return E?(n.originalMessage=n.message,n.message=w):n=Error(w),n.shortMessage=y,n.command=s,n.escapedCommand=a,n.exitCode=o,n.signal=i,n.signalDescription=h,n.stdout=e,n.stderr=t,n.cwd=f,void 0!==r&&(n.all=r),"bufferedData"in n&&delete n.bufferedData,n.failed=!0,n.timedOut=!!l,n.isCanceled=u,n.killed=p&&!l,n;},sC=["stdin","stdout","stderr"],s$=e=>sC.some(t=>void 0!==e[t]),sA=e=>{if(!e)return;let{stdio:t}=e;if(void 0===t)return sC.map(t=>e[t]);if(s$(e))throw Error("It's not possible to provide `stdio` in combination with one of "+sC.map(e=>`\`${e}\``).join(", "));if("string"==typeof t)return t;if(!Array.isArray(t))throw TypeError(`Expected \`stdio\` to be of type \`string\` or \`Array\`, got \`${typeof t}\``);let r=Math.max(t.length,sC.length);return Array.from({length:r},(e,r)=>t[r]);},sP=(e,t="SIGTERM",r={})=>{let n=e(t);return sN(e,t,r,n),n;},sN=(e,t,r,n)=>{if(!s_(t,r,n))return;let i=sD(r),o=setTimeout(()=>{e("SIGKILL");},i);o.unref&&o.unref();},s_=(e,{forceKillAfterTimeout:t},r)=>sL(e)&&!1!==t&&r,sL=e=>e===c(ra).constants.signals.SIGTERM||"string"==typeof e&&"SIGTERM"===e.toUpperCase(),sD=({forceKillAfterTimeout:e=!0})=>{if(!0===e)return 5e3;if(!Number.isFinite(e)||e<0)throw TypeError(`Expected the \`forceKillAfterTimeout\` option to be a non-negative integer, got \`${e}\` (${typeof e})`);return e;},sk=(e,t)=>{let r=e.kill();r&&(t.isCanceled=!0);},sU=(e,t,r)=>{e.kill(t),r(Object.assign(Error("Timed out"),{timedOut:!0,signal:t}));},sj=(e,{timeout:t,killSignal:r="SIGTERM"},n)=>{let i;if(0===t||void 0===t)return n;let o=new Promise((n,o)=>{i=setTimeout(()=>{sU(e,r,o);},t);}),s=n.finally(()=>{clearTimeout(i);});return Promise.race([o,s]);},sM=({timeout:e})=>{if(void 0!==e&&(!Number.isFinite(e)||e<0))throw TypeError(`Expected the \`timeout\` option to be a non-negative integer, got \`${e}\` (${typeof e})`);},sF=async(e,{cleanup:t,detached:r},n)=>{if(!t||r)return n;let i=c(rq)(()=>{e.kill();});return n.finally(()=>{i();});},sG=e=>e instanceof ri.ChildProcess&&"function"==typeof e.then,sB=(e,t,r)=>{if("string"==typeof r)return e[t].pipe((0,t6.createWriteStream)(r)),e;if($(r))return e[t].pipe(r),e;if(!sG(r))throw TypeError("The second argument must be a string, a stream or an Execa child process.");if(!$(r.stdin))throw TypeError("The target child process's stdin must be available.");return e[t].pipe(r.stdin),r;},sH=e=>{null!==e.stdout&&(e.pipeStdout=sB.bind(void 0,e,"stdout")),null!==e.stderr&&(e.pipeStderr=sB.bind(void 0,e,"stderr")),void 0!==e.all&&(e.pipeAll=sB.bind(void 0,e,"all"));},sV=e=>{if(void 0!==e)throw TypeError("The `input` and `inputFile` options cannot be both set.");},sX=({input:e,inputFile:t})=>"string"!=typeof t?e:(sV(e),(0,t6.readFileSync)(t)),sq=e=>{let t=sX(e);if(C(t))throw TypeError("The `input` option cannot be a stream in sync mode");return t;},sK=({input:e,inputFile:t})=>"string"!=typeof t?e:(sV(e),(0,t6.createReadStream)(t)),sz=(e,t)=>{let r=sK(t);void 0!==r&&(C(r)?r.pipe(e.stdin):e.stdin.end(r));},sW=(e,{all:t})=>{if(!t||!e.stdout&&!e.stderr)return;let r=c(r5)();return e.stdout&&r.add(e.stdout),e.stderr&&r.add(e.stderr),r;},sY=async(e,t)=>{if(e&&void 0!==t){e.destroy();try{return await t;}catch(e){return e.bufferedData;}}},sJ=(e,{encoding:t,buffer:r,maxBuffer:n})=>{if(e&&r)return t?c(r1)(e,{encoding:t,maxBuffer:n}):c(r1).buffer(e,{maxBuffer:n});},sQ=async({stdout:e,stderr:t,all:r},{encoding:n,buffer:i,maxBuffer:o},s)=>{let a=sJ(e,{encoding:n,buffer:i,maxBuffer:o}),l=sJ(t,{encoding:n,buffer:i,maxBuffer:o}),c=sJ(r,{encoding:n,buffer:i,maxBuffer:2*o});try{return await Promise.all([s,a,l,c]);}catch(n){return Promise.all([{error:n,signal:n.signal,timedOut:n.timedOut},sY(e,a),sY(t,l),sY(r,c)]);}},sZ=(async()=>{})().constructor.prototype,s0=["then","catch","finally"].map(e=>[e,Reflect.getOwnPropertyDescriptor(sZ,e)]),s1=(e,t)=>{for(let[r,n]of s0){let i="function"==typeof t?(...e)=>Reflect.apply(n.value,t(),e):n.value.bind(t);Reflect.defineProperty(e,r,{...n,value:i});}},s2=e=>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);});}),s3=(e,t=[])=>Array.isArray(t)?[e,...t]:[e],s4=e=>"string"!=typeof e||/^[\w.-]+$/.test(e)?e:`"${e.replace(/"/g,'\\"')}"`,s6=(e,t)=>s3(e,t).join(" "),s5=(e,t)=>s3(e,t).map(e=>s4(e)).join(" "),s7=e=>{let t=typeof e;if("string"===t)return e;if("number"===t)return e+"";if("object"===t&&null!==e&&!(e instanceof ri.ChildProcess)&&"stdout"in e){let t=typeof e.stdout;if("string"===t)return e.stdout;if((0,rr.Buffer).isBuffer(e.stdout))return e.stdout.toString();throw TypeError(`Unexpected "${t}" stdout in template expression`);}throw TypeError(`Unexpected "${t}" in template expression`);},s8=(e,t,r)=>r||0===e.length||0===t.length?[...e,...t]:[...e.slice(0,-1),`${e[e.length-1]}${t[0]}`,...t.slice(1)],s9=({templates:e,expressions:t,tokens:r,index:n,template:i})=>{let o=i??e.raw[n],s=o.split(/ +/g).filter(Boolean),a=s8(r,s,o.startsWith(" "));if(n===t.length)return a;let l=t[n],c=Array.isArray(l)?l.map(e=>s7(e)):[s7(l)];return s8(a,c,o.endsWith(" "));},ae=(e,t)=>{let r=[];for(let[n,i]of e.entries())r=s9({templates:e,expressions:t,tokens:r,index:n,template:i});return r;},at=(0,rl.debuglog)("execa").enabled,ar=(e,t)=>(e+"").padStart(t,"0"),an=()=>{let e=new Date();return`${ar(e.getHours(),2)}:${ar(e.getMinutes(),2)}:${ar(e.getSeconds(),2)}.${ar(e.getMilliseconds(),3)}`;},ai=(e,{verbose:t})=>{t&&c(ro).stderr.write(`[${an()}] ${e} -`);},ao=({env:e,extendEnv:t,preferLocal:r,localDir:n,execPath:i})=>{let o=t?{...c(ro).env,...e}:e;return r?T({env:o,cwd:n,execPath:i}):o;},as=(e,t,r={})=>{let n=c(rO)._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||c(ro).cwd(),execPath:c(ro).execPath,encoding:"utf8",reject:!0,cleanup:!0,all:!1,windowsHide:!0,verbose:at,...r}).env=ao(r),r.stdio=sA(r),"win32"===c(ro).platform&&"cmd"===c(rn).basename(e,".exe")&&t.unshift("/q"),{file:e,args:t,options:r,parsed:n};},aa=(e,t,r)=>"string"==typeof t||(0,rr.Buffer).isBuffer(t)?e.stripFinalNewline?R(t):t:void 0===r?void 0:"",al=({input:e,inputFile:t,stdio:r})=>void 0===e&&void 0===t&&void 0===r?{stdin:"inherit"}:{},ac=(e={})=>({preferLocal:!0,...al(e),...e});!function e(t){function r(n,...i){if(!Array.isArray(n))return e({...t,...n});let[o,...s]=ae(n,i);return j(o,s,ac(t));}return r.sync=(e,...r)=>{if(!Array.isArray(e))throw TypeError("Please use $(options).sync`command` instead of $.sync(options)`command`.");let[n,...i]=ae(e,r);return M(n,i,ac(t));},r;}(),nP=rh("9ag04"),rg=rh("ER74K"),nN={},n_=ip.join,nL=ip.delimiter,nD=ip.sep,nk=ip.posix;const au="win32"===process.platform,ap=new RegExp(`[${nk.sep}${nD===nk.sep?"":nD}]`.replace(/(\\)/g,"\\$1")),ad=RegExp("^\\."+ap.source),af=e=>Object.assign(Error("not found: "+e),{code:"ENOENT"}),ah=(e,{path:t=process.env.PATH,pathExt:r=process.env.PATHEXT,delimiter:n=nL})=>{let i=e.match(ap)?[""]:[...(au?[process.cwd()]:[]),...(t||"").split(n)];if(au){let t=r||[".EXE",".CMD",".BAT",".COM"].join(n),o=t.split(n).reduce((e,t)=>(e.push(t),e.push(t.toLowerCase()),e),[]);return e.includes(".")&&""!==o[0]&&o.unshift(""),{pathEnv:i,pathExt:o,pathExtExe:t};}return{pathEnv:i,pathExt:[""]};},am=(e,t)=>{let r=/^".*"$/.test(e)?e.slice(1,-1):e,n=!r&&ad.test(t)?t.slice(0,2):"";return n+n_(r,t);},ag=async(e,t={})=>{let{pathEnv:r,pathExt:n,pathExtExe:i}=ah(e,t),o=[];for(let s of r){let r=am(s,e);for(let e of n){let n=r+e,s=await rI(n,{pathExt:i,ignoreErrors:!0});if(s){if(!t.all)return n;o.push(n);}}}if(t.all&&o.length)return o;if(t.nothrow)return null;throw af(e);};nN=ag,ag.sync=(e,t={})=>{let{pathEnv:r,pathExt:n,pathExtExe:i}=ah(e,t),o=[];for(let s of r){let r=am(s,e);for(let e of n){let n=r+e,s=rI.sync(n,{pathExt:i,ignoreErrors:!0});if(s){if(!t.all)return n;o.push(n);}}}if(t.all&&o.length)return o;if(t.nothrow)return null;throw af(e);};const{appendFile:av}=id.promises;let aE=!1,ay=!1;const aw=["E: Could not get lock","dpkg: error processing archive","dpkg: error: dpkg status database is locked by another process"];(tZ=nU||(nU={}))[tZ.NameDashVersion=0]="NameDashVersion",tZ[tZ.NameEqualsVersion=1]="NameEqualsVersion",tZ[tZ.Name=2]="Name",tZ[tZ.None=3]="None",nO=rh("lcRzN"),nj=rh("ceI0e"),nj=rh("ceI0e"),nM=rh("fcBgE");let ax=!1;nA=rh("dOmbL"),nj=rh("ceI0e"),rg=rh("ER74K");let ab=!1;rg=rh("ER74K"),rg=rh("ER74K");let aI=!1,aS=!1;const aR=/Version\s*:\s*(.*)/g;nF={},nG=ip.resolve(__dirname,"../../node_modules/.pnpm/@actions+tool-cache@2.0.1/node_modules/@actions/tool-cache/lib"),nB=nF&&nF.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r];}});}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r];}),nH=nF&&nF.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),nV=nF&&nF.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.hasOwnProperty.call(e,r)&&nB(t,e,r);return nH(t,e),t;},nX=nF&&nF.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e));}catch(e){o(e);}}function a(e){try{l(n.throw(e));}catch(e){o(e);}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t);})).then(s,a);}l((n=n.apply(e,t||[])).next());});},nq=nF&&nF.__importDefault||function(e){return e&&e.__esModule?e:{default:e};},Object.defineProperty(nF,"__esModule",{value:!0}),nF.evaluateVersions=nF.isExplicitVersion=nF.findFromManifest=nF.getManifestFromRepo=nF.findAllVersions=nF.find=nF.cacheFile=nF.cacheDir=nF.extractZip=nF.extractXar=nF.extractTar=nF.extract7z=nF.downloadTool=nF.HTTPError=void 0;const aO=nV(rh("lcRzN")),aT=nV(rh("fcBgE")),aC=nV(id),a$=nV(rh("ktIRP")),aA=nV(iu),aP=nV(ip),aN=nV(rh("3bels")),a_=nV(rh("aNgTs")),aL=nV(re),aD=nV(t4),ak=nq(rh("dGCqI"));nK=rh("jlr6Q"),nW=(nz={},nz.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r];}});}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r];})),nY=nz&&nz.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),nJ=nz&&nz.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.hasOwnProperty.call(e,r)&&nW(t,e,r);return nY(t,e),t;},nQ=nz&&nz.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e));}catch(e){o(e);}}function a(e){try{l(n.throw(e));}catch(e){o(e);}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t);})).then(s,a);}l((n=n.apply(e,t||[])).next());});},Object.defineProperty(nz,"__esModule",{value:!0}),nz.RetryHelper=void 0;const aU=nJ(rh("lcRzN"));nz.RetryHelper=class{constructor(e,t,r){if(e<1)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 nQ(this,void 0,void 0,function*(){let r=1;for(;rsetTimeout(t,1e3*e));});}};class aj extends Error{constructor(e){super("Unexpected HTTP response: "+e),this.httpStatusCode=e,Object.setPrototypeOf(this,new.target.prototype);}}nF.HTTPError=aj;const aM="win32"===process.platform,aF="darwin"===process.platform;nF.downloadTool=function(e,t,r,n){return nX(this,void 0,void 0,function*(){t=t||aP.join(ev(),ak.default()),yield aT.mkdirP(aP.dirname(t)),aO.debug("Downloading "+e),aO.debug("Destination "+t);let i=eE("TEST_DOWNLOAD_TOOL_RETRY_MIN_SECONDS",10),o=eE("TEST_DOWNLOAD_TOOL_RETRY_MAX_SECONDS",20),s=new nz.RetryHelper(3,i,o);return yield s.execute(()=>nX(this,void 0,void 0,function*(){return yield function(e,t,r,n){return nX(this,void 0,void 0,function*(){if(aC.existsSync(t))throw Error(`Destination file path ${t} already exists`);let i=new aN.HttpClient("actions/tool-cache",[],{allowRetries:!1});r&&(aO.debug("set auth"),void 0===n&&(n={}),n.authorization=r);let o=yield i.get(e,n);if(200!==o.message.statusCode){let t=new aj(o.message.statusCode);throw aO.debug(`Failed to download from "${e}". Code(${o.message.statusCode}) Message(${o.message.statusMessage})`),t;}let s=aD.promisify(aL.pipeline),a=eE("TEST_DOWNLOAD_TOOL_RESPONSE_MESSAGE_FACTORY",()=>o.message),l=a(),c=!1;try{return yield s(l,aC.createWriteStream(t)),aO.debug("download complete"),c=!0,t;}finally{if(!c){aO.debug("download failed");try{yield aT.rmRF(t);}catch(e){aO.debug(`Failed to delete '${t}'. ${e.message}`);}}}});}(e,t||"",r,n);}),e=>!(e instanceof aj)||!e.httpStatusCode||!(e.httpStatusCode<500)||408===e.httpStatusCode||429===e.httpStatusCode);});},nF.extract7z=function(e,t,r){return nX(this,void 0,void 0,function*(){t3.ok(aM,"extract7z() not supported on current OS"),t3.ok(e,'parameter "file" is required'),t=yield ep(t);let n=process.cwd();if(process.chdir(t),r)try{let t=aO.isDebug()?"-bb1":"-bb0",n=["x",t,"-bd","-sccUTF-8",e];yield nK.exec(`"${r}"`,n,{silent:!0});}finally{process.chdir(n);}else{let r=aP.join(nG,"..","scripts","Invoke-7zdec.ps1").replace(/'/g,"''").replace(/"|\n|\r/g,""),i=e.replace(/'/g,"''").replace(/"|\n|\r/g,""),o=t.replace(/'/g,"''").replace(/"|\n|\r/g,""),s=`& '${r}' -Source '${i}' -Target '${o}'`;try{let e=yield aT.which("powershell",!0);yield nK.exec(`"${e}"`,["-NoLogo","-Sta","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",s],{silent:!0});}finally{process.chdir(n);}}return t;});},nF.extractTar=function(e,t,r="xz"){return nX(this,void 0,void 0,function*(){let n;if(!e)throw Error("parameter 'file' is required");t=yield ep(t),aO.debug("Checking tar --version");let i="";yield nK.exec("tar --version",[],{ignoreReturnCode:!0,silent:!0,listeners:{stdout:e=>i+=e.toString(),stderr:e=>i+=e.toString()}}),aO.debug(i.trim());let o=i.toUpperCase().includes("GNU TAR");n=r instanceof Array?r:[r],aO.isDebug()&&!r.includes("v")&&n.push("-v");let s=t,a=e;return aM&&o&&(n.push("--force-local"),s=t.replace(/\\/g,"/"),a=e.replace(/\\/g,"/")),o&&(n.push("--warning=no-unknown-keyword"),n.push("--overwrite")),n.push("-C",s,"-f",a),yield nK.exec("tar",n),t;});},nF.extractXar=function(e,t,r=[]){return nX(this,void 0,void 0,function*(){var n;let i;t3.ok(aF,"extractXar() not supported on current OS"),t3.ok(e,'parameter "file" is required'),t=yield ep(t),(i=r instanceof Array?r:[r]).push("-x","-C",t,"-f",e),aO.isDebug()&&i.push("-v");let o=yield aT.which("xar",!0);return yield nK.exec(`"${o}"`,(n=i,Array.from(new Set(n)))),t;});},nF.extractZip=function(e,t){return nX(this,void 0,void 0,function*(){if(!e)throw Error("parameter 'file' is required");return t=yield ep(t),aM?yield function(e,t){return nX(this,void 0,void 0,function*(){let r=e.replace(/'/g,"''").replace(/"|\n|\r/g,""),n=t.replace(/'/g,"''").replace(/"|\n|\r/g,""),i=yield aT.which("pwsh",!1);if(i){let e=`$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 $_ } } ;`,t=["-NoLogo","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",e];aO.debug("Using pwsh at path: "+i),yield nK.exec(`"${i}"`,t);}else{let e=`$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) }`,t=["-NoLogo","-Sta","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",e],i=yield aT.which("powershell",!0);aO.debug("Using powershell at path: "+i),yield nK.exec(`"${i}"`,t);}});}(e,t):yield function(e,t){return nX(this,void 0,void 0,function*(){let r=yield aT.which("unzip",!0),n=[e];aO.isDebug()||n.unshift("-q"),n.unshift("-o"),yield nK.exec(`"${r}"`,n,{cwd:t});});}(e,t),t;});},nF.cacheDir=function(e,t,r,n){return nX(this,void 0,void 0,function*(){if(r=a_.clean(r)||r,n=n||aA.arch(),aO.debug(`Caching tool ${t} ${r} ${n}`),aO.debug("source dir: "+e),!aC.statSync(e).isDirectory())throw Error("sourceDir is not a directory");let i=yield ed(t,r,n);for(let t of aC.readdirSync(e)){let r=aP.join(e,t);yield aT.cp(r,i,{recursive:!0});}return ef(t,r,n),i;});},nF.cacheFile=function(e,t,r,n,i){return nX(this,void 0,void 0,function*(){if(n=a_.clean(n)||n,i=i||aA.arch(),aO.debug(`Caching tool ${r} ${n} ${i}`),aO.debug("source file: "+e),!aC.statSync(e).isFile())throw Error("sourceFile is not a file");let o=yield ed(r,n,i),s=aP.join(o,t);return aO.debug("destination file "+s),yield aT.cp(e,s),ef(r,n,i),o;});},nF.find=function(e,t,r){if(!e)throw Error("toolName parameter is required");if(!t)throw Error("versionSpec parameter is required");if(r=r||aA.arch(),!eh(t)){let n=eu(e,r),i=em(n,t);t=i;}let n="";if(t){t=a_.clean(t)||"";let i=aP.join(eg(),e,t,r);aO.debug("checking cache: "+i),aC.existsSync(i)&&aC.existsSync(`${i}.complete`)?(aO.debug(`Found tool in cache ${e} ${t} ${r}`),n=i):aO.debug("not found");}return n;},nF.findAllVersions=eu,nF.getManifestFromRepo=function(e,t,r,n="master"){return nX(this,void 0,void 0,function*(){let i=[],o=`https://api.github.com/repos/${e}/${t}/git/trees/${n}`,s=new aN.HttpClient("tool-cache"),a={};r&&(aO.debug("set auth"),a.authorization=r);let l=yield s.getJson(o,a);if(!l.result)return i;let c="";for(let e of l.result.tree)if("versions-manifest.json"===e.path){c=e.url;break;}a.accept="application/vnd.github.VERSION.raw";let u=yield(yield s.get(c,a)).readBody();if(u){u=u.replace(/^\uFEFF/,"");try{i=JSON.parse(u);}catch(e){aO.debug("Invalid json");}}return i;});},nF.findFromManifest=function(e,t,r,n=aA.arch()){return nX(this,void 0,void 0,function*(){let i=yield a$._findMatch(e,t,r,n);return i;});},nF.isExplicitVersion=eh,nF.evaluateVersions=em,nZ=rh("1ndHP"),n0=rh("9hSY8"),nj=rh("ceI0e"),rg=rh("ER74K"),rm=rh("dTX7a"),nA=rh("dOmbL"),Object.defineProperty(n1={},"__esModule",{value:!0}),n1.retryAsPromised=n1.TimeoutError=void 0;class aG extends Error{constructor(e,t){super(e),this.name="TimeoutError",this.previous=t;}}n1.TimeoutError=aG,n1.retryAsPromised=ey,n1.default=ey;let aB=!1;nj=rh("ceI0e"),nM=rh("fcBgE"),rg=rh("ER74K"),nO=rh("lcRzN"),nA=rh("dOmbL"),nj=rh("ceI0e"),nK=rh("jlr6Q"),rm=rh("dTX7a"),rg=rh("ER74K"),n2={isEqual:!0,isMatchingKey:!0,isPromise:!0,maxSize:!0,onCacheAdd:!0,onCacheChange:!0,onCacheHit:!0,transformKey:!0},n3=Array.prototype.slice,n4=function(){function e(e){this.keys=[],this.values=[],this.options=e;var t="function"==typeof e.isMatchingKey;t?this.getKeyIndex=this._getKeyIndexFromMatchingKey:e.maxSize>1?this.getKeyIndex=this._getKeyIndexForMany:this.getKeyIndex=this._getKeyIndexForSingle,this.canTransformKey="function"==typeof e.transformKey,this.shouldCloneArguments=this.canTransformKey||t,this.shouldUpdateOnAdd="function"==typeof e.onCacheAdd,this.shouldUpdateOnChange="function"==typeof e.onCacheChange,this.shouldUpdateOnHit="function"==typeof e.onCacheHit;}return Object.defineProperty(e.prototype,"size",{get:function(){return this.keys.length;},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"snapshot",{get:function(){return{keys:e$(this.keys),size:this.size,values:e$(this.values)};},enumerable:!1,configurable:!0}),e.prototype._getKeyIndexFromMatchingKey=function(e){var t=this.options,r=t.isMatchingKey,n=t.maxSize,i=this.keys,o=i.length;if(!o)return-1;if(r(i[0],e))return 0;if(n>1){for(var s=1;o>s;s++)if(r(i[s],e))return s;}return-1;},e.prototype._getKeyIndexForMany=function(e){var t,r,n=this.options.isEqual,i=this.keys,o=i.length;if(!o)return-1;if(1===o)return this._getKeyIndexForSingle(e);var s=e.length;if(s>1){for(var a=0;o>a;a++)if((t=i[a]).length===s){for(r=0;s>r&&n(t[r],e[r]);r++);if(r===s)return a;}}else for(var a=0;o>a;a++)if((t=i[a]).length===s&&n(t[0],e[0]))return a;return-1;},e.prototype._getKeyIndexForSingle=function(e){var t=this.keys;if(!t.length)return-1;var r=t[0],n=r.length;if(e.length!==n)return-1;var i=this.options.isEqual;if(n>1){for(var o=0;n>o;o++)if(!i(r[o],e[o]))return-1;return 0;}return i(r[0],e[0])?0:-1;},e.prototype.orderByLru=function(e,t,r){for(var n=this.keys,i=this.values,o=n.length,s=r;s--;)n[s+1]=n[s],i[s+1]=i[s];n[0]=e,i[0]=t;var a=this.options.maxSize;o===a&&r===o?(n.pop(),i.pop()):r>=a&&(n.length=i.length=a);},e.prototype.updateAsyncCache=function(e){var t=this,r=this.options,n=r.onCacheChange,i=r.onCacheHit,o=this.keys[0],s=this.values[0];this.values[0]=s.then(function(r){return t.shouldUpdateOnHit&&i(t,t.options,e),t.shouldUpdateOnChange&&n(t,t.options,e),r;},function(e){var r=t.getKeyIndex(o);throw-1!==r&&(t.keys.splice(r,1),t.values.splice(r,1)),e;});},e;}(),nj=rh("ceI0e"),n6=e=>{if("string"!=typeof e)return!1;let t=e.trim();if(t.includes(" "))return!1;try{return new rc.URL(t),!0;}catch{return!1;}},n5=async e=>{let t=n6(e);if(!t)return!1;let r=await e_(e,"HEAD");return!!r||!!(r=await e_(e,"GET"));},n7=rh("3Z6CK"),n0=rh("9hSY8"),n8=rh("eJTZB"),nK=rh("jlr6Q"),rg=rh("ER74K");const aH=/v?(\d\S*)/,aV={llvm:ej(),clangtidy:ej(),clangformat:ej(),ninja:"1.11.1",cmake:"3.27.4",gcovr:"6.0",conan:"1.62.0",meson:"1.2.3",kcov:"42",task:"3.31.0",doxygen:er()?"1.9.8-1":"1.9.8",gcc:er()?"13.2.1-3":"13"},aX={pip:"22.2.0",python:"3.7.9"},aq={gcc:{22:"13",20:"11",18:"11",16:"11",14:"11"},mingw:{22:"8.0.0-1",20:"7.0.0-2"},llvm:{22:"17.0.5-ubuntu-22.04",20:"17.0.5-ubuntu-22.04",18:"15.0.6-ubuntu-18.04",16:"15.0.6-ubuntu-18.04",14:"13.0.0-ubuntu-16.04"},clangtidy:{22:"17.0.2-ubuntu-22.04",20:"17.0.2-ubuntu-22.04",18:"15.0.6-ubuntu-18.04",16:"15.0.6-ubuntu-18.04",14:"13.0.0-ubuntu-16.04"},clangformat:{22:"17.0.2-ubuntu-22.04",20:"17.0.2-ubuntu-22.04",18:"15.0.6-ubuntu-18.04",16:"15.0.6-ubuntu-18.04",14:"13.0.0-ubuntu-16.04"},gcovr:{22:"6.0",20:"6.0",18:"5.0"},meson:{20:"1.0.0",18:"0.61.4"},nala:{22:"",21:"legacy",20:"legacy",18:"legacy",16:"legacy",14:"legacy"},kcov:{22:"42-binary",20:"40-binary",18:"40",16:"40",14:"40"}};nA=rh("dOmbL");const aK=eN(eJ,{isPromise:!0});rg=rh("ER74K"),Object.defineProperty(n9={},"__esModule",{value:!0}),n9.getUbuntuVersion=void 0,n9.getUbuntuVersion=e0;const az=eN(e1,{isPromise:!0}),aW=eN(e5,{isPromise:!0});nj=rh("ceI0e"),rg=rh("ER74K"),nA=rh("dOmbL"),ie=rh("bX9Em"),n0=rh("9hSY8"),nK=rh("jlr6Q"),rg=rh("ER74K"),nj=rh("ceI0e"),rg=rh("ER74K"),rm=rh("dTX7a"),nA=rh("dOmbL"),it=ip.resolve(__dirname,"../../src/gcc");const aY={13:{releaseName:"13.2.0-16.0.6-11.0.0-ucrt-r1",fileSuffix:"13.2.0-mingw-w64ucrt-11.0.0-r1"},"13.2-ucrt":{releaseName:"13.2.0-16.0.6-11.0.0-ucrt-r1",fileSuffix:"13.2.0-mingw-w64ucrt-11.0.0-r1"},"13.2-ucrt-mcf":{releaseName:"13.2.0mcf-16.0.6-11.0.1-ucrt-r2",fileSuffix:"13.2.0-mingw-w64ucrt-11.0.1-r2"},"13.2-msvcrt":{releaseName:"13.2.0-16.0.6-11.0.1-msvcrt-r1",fileSuffix:"13.2.0-mingw-w64msvcrt-11.0.1-r1"},"13.1-ucrt":{releaseName:"13.1.0posix-16.0.3-11.0.0-ucrt-r1",fileSuffix:"13.1.0-mingw-w64ucrt-11.0.0-r1"},"13.1-msvcrt":{releaseName:"13.1.0posix-16.0.3-11.0.0-msvcrt-r1",fileSuffix:"13.1.0-mingw-w64msvcrt-11.0.0-r1"},12:{releaseName:"12.3.0-16.0.4-11.0.0-ucrt-r1",fileSuffix:"12.3.0-mingw-w64ucrt-11.0.0-r1"},"12.3.0-ucrt":{releaseName:"12.3.0-16.0.4-11.0.0-ucrt-r1",fileSuffix:"12.3.0-mingw-w64ucrt-11.0.0-r1"},"12.3.0-msvcrt":{releaseName:"12.3.0-16.0.4-11.0.0-msvcrt-r1",fileSuffix:"12.3.0-mingw-w64msvcrt-11.0.0-r1"},"12.2.0-ucrt":{releaseName:"12.2.0-14.0.6-10.0.0-ucrt-r2",fileSuffix:"12.2.0-mingw-w64ucrt-10.0.0-r2"},"12.2.0-msvcrt":{releaseName:"12.2.0-14.0.6-10.0.0-msvcrt-r2",fileSuffix:"12.2.0-mingw-w64msvcrt-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.5.0-11.0.1-msvcrt-r1",fileSuffix:"10.5.0-mingw-w64msvcrt-11.0.1-r1"},"10.5.0-msvcrt":{releaseName:"10.5.0-11.0.1-msvcrt-r1",fileSuffix:"10.5.0-mingw-w64msvcrt-11.0.1-r1"},"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"}};n8=rh("eJTZB"),ie=rh("bX9Em"),nj=rh("ceI0e"),rg=rh("ER74K"),nj=rh("ceI0e"),ir=ip.resolve(__dirname,"../../src/kcov"),rm=rh("dTX7a"),rg=rh("ER74K"),nA=rh("dOmbL"),nj=rh("ceI0e"),nO=rh("lcRzN"),rg=rh("ER74K"),nj=rh("ceI0e"),nO=rh("lcRzN");const aJ=rt.env["ProgramFiles(x86)"],aQ=[rt.env["ProgramFiles(x86)"],rt.env.ProgramFiles],aZ=["Enterprise","Professional","Community","BuildTools"],a0=["2022","2019","2017"],a1={2022:"17.0",2019:"16.0",2017:"15.0",2015:"14.0",2013:"12.0"};ii=tx;const a2=`${aJ}\\Microsoft Visual Studio\\Installer`;io=tb,is=function(e,t,r,n,i,o){if("win32"!=rt.platform){nO.info("This is not a Windows virtual environment, bye!");return;}rt.env.PATH+=ip.delimiter+a2;let s={win32:"x86",win64:"x64",x86_64:"x64","x86-64":"x64"};e.toLowerCase()in s&&(e=s[e.toLowerCase()]);var a=[e];"true"==n&&a.push("uwp"),t&&a.push(t),r&&a.push("-vcvars_ver="+r),"true"==i&&a.push("-vcvars_spectre_libs=spectre");let l=`"${tb(o)}" ${a.join(" ")}`;nO.debug("vcvars command-line: "+l);let c=t5.execSync(`set && cls && ${l} && cls && set`,{shell:"cmd"}).toString(),u=c.split("\f"),p=u[0].split("\r\n"),d=u[1].split("\r\n"),f=u[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 m={};for(let e of p){let[t,r]=e.split("=");m[t]=r;}for(let e of(nO.startGroup("Environment variables"),f)){if(!e.includes("="))continue;let[t,r]=e.split("=");r!==m[t]&&(nO.info("Setting "+t),-1!=["PATH","INCLUDE","LIB","LIBPATH"].indexOf(t.toUpperCase())&&(r=r.split(";").filter(function(e,t,r){return r.indexOf(e)===t;}).join(";")),nO.exportVariable(t,r));}nO.endGroup(),nO.info("Configured Developer Command Prompt");},rg=rh("ER74K"),nA=rh("dOmbL");class a3 extends Error{constructor(e){super(e),this.name="TimeoutError";}}class a4 extends Error{constructor(e){super(),this.name="AbortError",this.message=e;}}const a6=e=>void 0===globalThis.DOMException?new a4(e):new DOMException(e),a5=e=>{let t=void 0===e.reason?a6("This operation was aborted."):e.reason;return t instanceof Error?t:a6(t);},a7=12e5,{readFile:a8,writeFile:a9,chmod:le}=id.promises;(t0=ia||(ia={}))[t0.All=0]="All",t0[t0.ClangFormat=1]="ClangFormat",t0[t0.Core=2]="Core",nZ=rh("1ndHP"),rg=rh("ER74K"),nj=rh("ceI0e");const lt=function(e){let t=new Set(e);for(let 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","15.0.0","15.0.1","15.0.2","15.0.3","15.0.4","15.0.5","15.0.6","15.0.7","16.0.0","16.0.1","16.0.2","16.0.3","16.0.4","16.0.5","16.0.6","17.0.1","17.0.2","17.0.3","17.0.4","17.0.5"]),lr=new Set(["10.0.1","15.0.5","15.0.6","17.0.5"]),ln=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","15.0.4","15.0.5","15.0.6","16.0.0","16.0.1","16.0.2","16.0.3","16.0.4","16.0.5","16.0.6","17.0.1","17.0.2","17.0.3","17.0.4","17.0.5"]),li=new Map(),lo={"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","15.0.2":"-rhel86","15.0.5":"-ubuntu-18.04","15.0.6":"-ubuntu-18.04","16.0.0":"-ubuntu-18.04","16.0.2":"-ubuntu-22.04","16.0.3":"-ubuntu-22.04","16.0.4":"-ubuntu-22.04","17.0.2":"-ubuntu-22.04","17.0.4":"-ubuntu-22.04","17.0.5":"-ubuntu-22.04"},ls="17.0.5";il=ip.resolve(__dirname,"../../src/llvm");const la=eN(tD,{isPromise:!0}),ll=eN(tU,{isPromise:!0}),lc=eN(tj,{isPromise:!0});rm=rh("dTX7a"),nj=rh("ceI0e"),rg=rh("ER74K"),nA=rh("dOmbL"),ic=ip.resolve(__dirname,"../../src/msvc"),nj=rh("ceI0e"),nj=rh("ceI0e"),rg=rh("ER74K"),nA=rh("dOmbL"),nj=rh("ceI0e");let lu=!1;const lp={nala:tV,cmake:eC,ninja:tm,python:eM,vcpkg:tW,bazel:ea,conan:function(e,t,r){return e3("conan",e);},meson:function(e,t,r){return e3("meson",e);},gcovr:function(e,t,r){return e3("gcovr",e);},opencppcoverage:tX,llvm:tL,gcc:tc,choco:ee,brew:J,powershell:tK,ccache:function(e,t,r){switch(process.platform){case"win32":return et("ccache",e);case"darwin":return Z("ccache",e);case"linux":if(er())return el("ccache",e);if(en())return ei([{name:"ccache",version:e}]);if(es())return F([{name:"ccache",version:e}]);throw Error("Unsupported linux distribution");default:throw Error("Unsupported platform");}},sccache:function(e,t,r){switch(process.platform){case"win32":return et("sccache",e);case"linux":case"darwin":return Z("sccache",e);default:throw Error("Unsupported platform");}},doxygen:to,graphviz:tr,cppcheck:te,clangtidy:function(e,t,r){return tk(e,t,r);},clangformat:function(e,t,r){return tk(e,t,r,ia.ClangFormat);},msvc:tB,vcvarsall:tI,kcov:tw,make:tG,task:function(e,t,r){return ew("task",e,tz,t,r);},sevenzip:ex},ld=Object.keys(lp),lf=["compiler","architecture","timeout",...ld];nO=rh("lcRzN"),rg=rh("ER74K"),n8=rh("eJTZB"),tQ(process.argv).then(e=>{process.exitCode=e;}).catch(e=>{(0,rg.error)("main() panicked!"),(0,rg.error)(e),process.exitCode=1;}); + Error Message: ${e.message}`);})).result)||void 0===t?void 0:t.value;if(!n)throw Error("Response json body do not have ID Token field");return n;});}static getIDToken(e){return r(this,void 0,void 0,function*(){try{let t=s.getIDTokenUrl();if(e){let r=encodeURIComponent(e);t=`${t}&audience=${r}`;}o.debug("ID token url is "+t);let r=yield s.getCall(t);return o.setSecret(r),r;}catch(e){throw Error("Error message: "+e.message);}});}}e.exports.OidcClient=s;}),rg("a7JAS",function(e,t){var r,n,i,o,s,a,l,c,u;r=e.exports&&e.exports.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r];}});}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r];}),n=e.exports&&e.exports.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),i=e.exports&&e.exports.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&r(t,e,i);return n(t,e),t;},o=e.exports&&e.exports.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e));}catch(e){o(e);}}function a(e){try{l(n.throw(e));}catch(e){o(e);}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t);})).then(s,a);}l((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;let p=i(nY),d=i(nJ),f=i(rv("8gh3V")),h=i(rv("7i1qo"));(c=s=e.exports.HttpCodes||(e.exports.HttpCodes={}))[c.OK=200]="OK",c[c.MultipleChoices=300]="MultipleChoices",c[c.MovedPermanently=301]="MovedPermanently",c[c.ResourceMoved=302]="ResourceMoved",c[c.SeeOther=303]="SeeOther",c[c.NotModified=304]="NotModified",c[c.UseProxy=305]="UseProxy",c[c.SwitchProxy=306]="SwitchProxy",c[c.TemporaryRedirect=307]="TemporaryRedirect",c[c.PermanentRedirect=308]="PermanentRedirect",c[c.BadRequest=400]="BadRequest",c[c.Unauthorized=401]="Unauthorized",c[c.PaymentRequired=402]="PaymentRequired",c[c.Forbidden=403]="Forbidden",c[c.NotFound=404]="NotFound",c[c.MethodNotAllowed=405]="MethodNotAllowed",c[c.NotAcceptable=406]="NotAcceptable",c[c.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",c[c.RequestTimeout=408]="RequestTimeout",c[c.Conflict=409]="Conflict",c[c.Gone=410]="Gone",c[c.TooManyRequests=429]="TooManyRequests",c[c.InternalServerError=500]="InternalServerError",c[c.NotImplemented=501]="NotImplemented",c[c.BadGateway=502]="BadGateway",c[c.ServiceUnavailable=503]="ServiceUnavailable",c[c.GatewayTimeout=504]="GatewayTimeout",(u=a=e.exports.Headers||(e.exports.Headers={})).Accept="accept",u.ContentType="content-type",(l=e.exports.MediaTypes||(e.exports.MediaTypes={})).ApplicationJson="application/json",e.exports.getProxyUrl=function(e){let t=f.getProxyUrl(new URL(e));return t?t.href:"";};let m=[s.MovedPermanently,s.ResourceMoved,s.SeeOther,s.TemporaryRedirect,s.PermanentRedirect],v=[s.BadGateway,s.ServiceUnavailable,s.GatewayTimeout],g=["OPTIONS","GET","DELETE","HEAD"];class E extends Error{constructor(e,t){super(e),this.name="HttpClientError",this.statusCode=t,Object.setPrototypeOf(this,E.prototype);}}e.exports.HttpClientError=E;class y{constructor(e){this.message=e;}readBody(){return o(this,void 0,void 0,function*(){return new Promise(e=>o(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.toString());});}));});}}e.exports.HttpClientResponse=y,e.exports.isHttps=function(e){return"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 o(this,void 0,void 0,function*(){return this.request("OPTIONS",e,null,t||{});});}get(e,t){return o(this,void 0,void 0,function*(){return this.request("GET",e,null,t||{});});}del(e,t){return o(this,void 0,void 0,function*(){return this.request("DELETE",e,null,t||{});});}post(e,t,r){return o(this,void 0,void 0,function*(){return this.request("POST",e,t,r||{});});}patch(e,t,r){return o(this,void 0,void 0,function*(){return this.request("PATCH",e,t,r||{});});}put(e,t,r){return o(this,void 0,void 0,function*(){return this.request("PUT",e,t,r||{});});}head(e,t){return o(this,void 0,void 0,function*(){return this.request("HEAD",e,null,t||{});});}sendStream(e,t,r,n){return o(this,void 0,void 0,function*(){return this.request(e,t,r,n);});}getJson(e,t={}){return o(this,void 0,void 0,function*(){t[a.Accept]=this._getExistingOrDefaultHeader(t,a.Accept,l.ApplicationJson);let r=yield this.get(e,t);return this._processResponse(r,this.requestOptions);});}postJson(e,t,r={}){return o(this,void 0,void 0,function*(){let n=JSON.stringify(t,null,2);r[a.Accept]=this._getExistingOrDefaultHeader(r,a.Accept,l.ApplicationJson),r[a.ContentType]=this._getExistingOrDefaultHeader(r,a.ContentType,l.ApplicationJson);let i=yield this.post(e,n,r);return this._processResponse(i,this.requestOptions);});}putJson(e,t,r={}){return o(this,void 0,void 0,function*(){let n=JSON.stringify(t,null,2);r[a.Accept]=this._getExistingOrDefaultHeader(r,a.Accept,l.ApplicationJson),r[a.ContentType]=this._getExistingOrDefaultHeader(r,a.ContentType,l.ApplicationJson);let i=yield this.put(e,n,r);return this._processResponse(i,this.requestOptions);});}patchJson(e,t,r={}){return o(this,void 0,void 0,function*(){let n=JSON.stringify(t,null,2);r[a.Accept]=this._getExistingOrDefaultHeader(r,a.Accept,l.ApplicationJson),r[a.ContentType]=this._getExistingOrDefaultHeader(r,a.ContentType,l.ApplicationJson);let i=yield this.patch(e,n,r);return this._processResponse(i,this.requestOptions);});}request(e,t,r,n){return o(this,void 0,void 0,function*(){let i;if(this._disposed)throw Error("Client has already been disposed.");let o=new URL(t),a=this._prepareRequest(e,o,n),l=this._allowRetries&&g.includes(e)?this._maxRetries+1:1,c=0;do{if((i=yield this.requestRaw(a,r))&&i.message&&i.message.statusCode===s.Unauthorized){let e;for(let t of this.handlers)if(t.canHandleAuthentication(i)){e=t;break;}if(e)return e.handleAuthentication(this,a,r);break;}let t=this._maxRedirects;for(;i.message.statusCode&&m.includes(i.message.statusCode)&&this._allowRedirects&&t>0;){let s=i.message.headers.location;if(!s)break;let l=new URL(s);if("https:"===o.protocol&&o.protocol!==l.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 i.readBody(),l.hostname!==o.hostname)for(let e in n)"authorization"===e.toLowerCase()&&delete n[e];a=this._prepareRequest(e,l,n),i=yield this.requestRaw(a,r),t--;}if(!i.message.statusCode||!v.includes(i.message.statusCode))break;(c+=1){this.requestRawWithCallback(e,t,function(e,t){e?n(e):t?r(t):n(Error("Unknown error"));});});});}requestRawWithCallback(e,t,r){let n;function i(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,s=e.httpModule.request(e.options,e=>{i(void 0,new y(e));});s.on("socket",e=>{n=e;}),s.setTimeout(this._socketTimeout||18e4,()=>{n&&n.end(),i(Error("Request timeout: "+e.options.path));}),s.on("error",function(e){i(e);}),t&&"string"==typeof t&&s.write(t,"utf8"),t&&"string"!=typeof t?(t.on("close",function(){s.end();}),t.pipe(s)):s.end();}getAgent(e){let t=new URL(e);return this._getAgent(t);}_prepareRequest(e,t,r){let n={};n.parsedUrl=t;let i="https:"===n.parsedUrl.protocol;if(n.httpModule=i?d:p,n.options={},n.options.host=n.parsedUrl.hostname,n.options.port=n.parsedUrl.port?parseInt(n.parsedUrl.port):i?443:80,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(let e of this.handlers)e.prepareRequest(n.options);return n;}_mergeHeaders(e){return this.requestOptions&&this.requestOptions.headers?Object.assign({},w(this.requestOptions.headers),w(e||{})):w(e||{});}_getExistingOrDefaultHeader(e,t,r){let n;return this.requestOptions&&this.requestOptions.headers&&(n=w(this.requestOptions.headers)[t]),e[t]||n||r;}_getAgent(e){let t;let r=f.getProxyUrl(e),n=r&&r.hostname;if(this._keepAlive&&n&&(t=this._proxyAgent),this._keepAlive&&!n&&(t=this._agent),t)return t;let i="https:"===e.protocol,o=100;if(this.requestOptions&&(o=this.requestOptions.maxSockets||p.globalAgent.maxSockets),r&&r.hostname){let e;let n={maxSockets:o,keepAlive:this._keepAlive,proxy:Object.assign(Object.assign({},(r.username||r.password)&&{proxyAuth:`${r.username}:${r.password}`}),{host:r.hostname,port:r.port})},s="https:"===r.protocol;t=(i?s?h.httpsOverHttps:h.httpsOverHttp:s?h.httpOverHttps:h.httpOverHttp)(n),this._proxyAgent=t;}if(this._keepAlive&&!t){let e={keepAlive:this._keepAlive,maxSockets:o};t=i?new d.Agent(e):new p.Agent(e),this._agent=t;}return t||(t=i?d.globalAgent:p.globalAgent),i&&this._ignoreSslError&&(t.options=Object.assign(t.options||{},{rejectUnauthorized:!1})),t;}_performExponentialBackoff(e){return o(this,void 0,void 0,function*(){let t=5*Math.pow(2,e=Math.min(10,e));return new Promise(e=>setTimeout(()=>e(),t));});}_processResponse(e,t){return o(this,void 0,void 0,function*(){return new Promise((r,n)=>o(this,void 0,void 0,function*(){let i,o;let a=e.message.statusCode||0,l={statusCode:a,result:null,headers:{}};a===s.NotFound&&r(l);try{(o=yield e.readBody())&&o.length>0&&(i=t&&t.deserializeDates?JSON.parse(o,function(e,t){if("string"==typeof t){let e=new Date(t);if(!isNaN(e.valueOf()))return e;}return t;}):JSON.parse(o),l.result=i),l.headers=e.message.headers;}catch(e){}if(a>299){let e;let t=new E(i&&i.message?i.message:o&&o.length>0?o:`Failed request: (${a})`,a);t.result=l.result,n(t);}else r(l);}));});}};let w=e=>Object.keys(e).reduce((t,r)=>(t[r.toLowerCase()]=e[r],t),{});}),rg("8gh3V",function(e,t){function r(e){let t;if(!e.hostname)return!1;if(function(e){let t=e.toLowerCase();return"localhost"===t||t.startsWith("127.")||t.startsWith("[::1]")||t.startsWith("[0:0:0:0:0:0:0:1]");}(e.hostname))return!0;let r=process.env.no_proxy||process.env.NO_PROXY||"";if(!r)return!1;e.port?t=+e.port:"http:"===e.protocol?t=80:"https:"===e.protocol&&(t=443);let n=[e.hostname.toUpperCase()];for(let e of("number"==typeof t&&n.push(`${n[0]}:${t}`),r.split(",").map(e=>e.trim().toUpperCase()).filter(e=>e)))if("*"===e||n.some(t=>t===e||t.endsWith("."+e)||e.startsWith(".")&&t.endsWith(""+e)))return!0;return!1;}Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.checkBypass=e.exports.getProxyUrl=void 0,e.exports.getProxyUrl=function(e){let t="https:"===e.protocol;if(r(e))return;let 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;}),rg("7i1qo",function(e,t){e.exports=rv("fbmJm");}),rg("fbmJm",function(e,t){var r,n,i,o,s,a;function c(e){var t=this;t.options=e||{},t.proxyOptions=t.options.proxy||{},t.maxSockets=t.options.maxSockets||nY.Agent.defaultMaxSockets,t.requests=[],t.sockets=[],t.on("free",function(e,r,n,i){for(var o=p(r,n,i),s=0,a=t.requests.length;a>s;++s){var l=t.requests[s];if(l.host===o.host&&l.port===o.port){t.requests.splice(s,1),l.request.onSocket(e);return;}}e.destroy(),t.removeSocket(e);});}function u(e,t){var r=this;c.prototype.createSocket.call(r,e,function(n){var i=e.request.getHeader("host"),o=d({},r.options,{socket:n,servername:i?i.replace(/:.*$/,""):e.host}),s=t4.connect(0,o);r.sockets[r.sockets.indexOf(n)]=s,t(s);});}function p(e,t,r){return"string"==typeof e?{host:e,port:t,localAddress:r}:e;}function d(e){for(var t=1,r=arguments.length;r>t;++t){var n=arguments[t];if("object"==typeof n)for(var i=Object.keys(n),o=0,s=i.length;s>o;++o){var a=i[o];void 0!==n[a]&&(e[a]=n[a]);}}return e;}l(e.exports,"httpOverHttp",()=>r,e=>r=e),l(e.exports,"httpsOverHttp",()=>n,e=>n=e),l(e.exports,"httpOverHttps",()=>i,e=>i=e),l(e.exports,"httpsOverHttps",()=>o,e=>o=e),l(e.exports,"debug",()=>s,e=>s=e),r=function(e){var t=new c(e);return t.request=nY.request,t;},n=function(e){var t=new c(e);return t.request=nY.request,t.createSocket=u,t.defaultPort=443,t;},i=function(e){var t=new c(e);return t.request=nJ.request,t;},o=function(e){var t=new c(e);return t.request=nJ.request,t.createSocket=u,t.defaultPort=443,t;},t5.inherits(c,t3.EventEmitter),c.prototype.addRequest=function(e,t,r,n){var i=this,o=d({request:e},i.options,p(t,r,n));if(i.sockets.length>=this.maxSockets){i.requests.push(o);return;}i.createSocket(o,function(t){function r(){i.emit("free",t,o);}function n(e){i.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);});},c.prototype.createSocket=function(e,t){function r(r,n,l){if(i.removeAllListeners(),n.removeAllListeners(),200!==r.statusCode){a("tunneling socket could not be established, statusCode=%d",r.statusCode),n.destroy();var c=Error("tunneling socket could not be established, statusCode="+r.statusCode);c.code="ECONNRESET",e.request.emit("error",c),o.removeSocket(s);return;}if(l.length>0){a("got illegal response body from proxy"),n.destroy();var c=Error("got illegal response body from proxy");c.code="ECONNRESET",e.request.emit("error",c),o.removeSocket(s);return;}return a("tunneling connection has established"),o.sockets[o.sockets.indexOf(s)]=n,t(n);}var n,i,o=this,s={};o.sockets.push(s),n=d({},o.proxyOptions,{method:"CONNECT",path:e.host+":"+e.port,agent:!1,headers:{host:e.host+":"+e.port}}),e.localAddress&&(n.localAddress=e.localAddress),n.proxyAuth&&(n.headers=n.headers||{},n.headers["Proxy-Authorization"]="Basic "+new Buffer(n.proxyAuth).toString("base64")),a("making CONNECT request"),(i=o.request(n)).useChunkedEncodingByDefault=!1,i.once("response",function(e){e.upgrade=!0;}),i.once("upgrade",function(e,t,n){process.nextTick(function(){r(e,t,n);});}),i.once("connect",r),i.once("error",function(t){i.removeAllListeners(),a("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),o.removeSocket(s);}),i.end();},c.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,function(e){r.request.onSocket(e);});}},s=a=process.env.NODE_DEBUG&&/\btunnel\b/.test(process.env.NODE_DEBUG)?function(){var e=Array.prototype.slice.call(arguments);"string"==typeof e[0]?e[0]="TUNNEL: "+e[0]:e.unshift("TUNNEL:"),console.error.apply(console,e);}:function(){};}),rg("3T6Pq",function(e,t){var r=e.exports&&e.exports.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e));}catch(e){o(e);}}function a(e){try{l(n.throw(e));}catch(e){o(e);}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t);})).then(s,a);}l((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");});}};}),rg("dTpO2",function(e,t){var r=e.exports&&e.exports.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e));}catch(e){o(e);}}function a(e){try{l(n.throw(e));}catch(e){o(e);}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t);})).then(s,a);}l((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;let{access:n,appendFile:i,writeFile:o}=nW.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";let s=new class{constructor(){this._buffer="";}filePath(){return r(this,void 0,void 0,function*(){if(this._filePath)return this._filePath;let 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,nW.constants.R_OK|nW.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={}){let 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*(){let t=!!(null==e?void 0:e.overwrite),r=yield this.filePath();return yield(t?o:i)(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(nz.EOL);}addCodeBlock(e,t){let r=Object.assign({},t&&{lang:t}),n=this.wrap("pre",this.wrap("code",e),r);return this.addRaw(n).addEOL();}addList(e,t=!1){let r=e.map(e=>this.wrap("li",e)).join(""),n=this.wrap(t?"ol":"ul",r);return this.addRaw(n).addEOL();}addTable(e){let t=e.map(e=>{let t=e.map(e=>{if("string"==typeof e)return this.wrap("td",e);let{header:t,data:r,colspan:n,rowspan:i}=e,o=Object.assign(Object.assign({},n&&{colspan:n}),i&&{rowspan:i});return this.wrap(t?"th":"td",r,o);}).join("");return this.wrap("tr",t);}).join(""),r=this.wrap("table",t);return this.addRaw(r).addEOL();}addDetails(e,t){let r=this.wrap("details",this.wrap("summary",e)+t);return this.addRaw(r).addEOL();}addImage(e,t,r){let{width:n,height:i}=r||{},o=Object.assign(Object.assign({},n&&{width:n}),i&&{height:i}),s=this.wrap("img",null,Object.assign({src:e,alt:t},o));return this.addRaw(s).addEOL();}addHeading(e,t){let r="h"+t,n=["h1","h2","h3","h4","h5","h6"].includes(r)?r:"h1",i=this.wrap(n,e);return this.addRaw(i).addEOL();}addSeparator(){let e=this.wrap("hr",null);return this.addRaw(e).addEOL();}addBreak(){let e=this.wrap("br",null);return this.addRaw(e).addEOL();}addQuote(e,t){let r=Object.assign({},t&&{cite:t}),n=this.wrap("blockquote",e,r);return this.addRaw(n).addEOL();}addLink(e,t){let r=this.wrap("a",e,{href:t});return this.addRaw(r).addEOL();}}();e.exports.markdownSummary=s,e.exports.summary=s;}),rg("azKnO",function(e,t){var r,n,i;r=e.exports&&e.exports.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r];}});}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r];}),n=e.exports&&e.exports.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),i=e.exports&&e.exports.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&r(t,e,i);return n(t,e),t;},Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.toPlatformPath=e.exports.toWin32Path=e.exports.toPosixPath=void 0;let o=i(nX);e.exports.toPosixPath=function(e){return e.replace(/[\\]/g,"/");},e.exports.toWin32Path=function(e){return e.replace(/[/]/g,"\\");},e.exports.toPlatformPath=function(e){return e.replace(/[/\\]/g,o.sep);};}),rg("eCDnw",function(e,t){var r=nX.resolve(__dirname,"../../node_modules/numerous/lib");(function(){var t,n;function i(e,r,n){if(o(e),"object"!=typeof n)throw Error("List of variants should be specified as an object");var i=t[e](r);return void 0!==n[i]?n[i]:null;}function o(e){!(void 0!==t[e])&&function(e){try{require(r+"/../locales/"+e+".js");}catch(t){throw Error("Failed to load the following locale: "+e);}}(e);}t={},n={create:function(e){return o(e),{pluralize:function(t,r){return i(e,t,r);}};},addLocale:function(e,r){t[e]=r;},pluralize:i},void 0!==e.exports?e.exports=n:this.numerous=n;}).call(e.exports);}),rg("gMm9F",function(e,t){function r(e){for(let t of(Array.isArray(e)||(e=[e]),e)){let{id:e,data:r}=t;a[e]=r;}}var n=rv("iWDmx"),i=rv("9xs9T");let o=[["years",290304e5],["months",24192e5],["weeks",6048e5],["days",864e5],["hours",36e5],["minutes",6e4],["seconds",1e3]],s={locale:"en",span:2,delimiter:", ",unitType:"long",unitTypeLookupOrder:["long","short","narrow"],autoloadLocales:!0},a={};e.exports={create:function(e){return e=Object.assign({},s,e||{}),{format:function(t,s,l){return function(e,t,s){if(function(e,t){let{autoload:n}=t;if(!a[e]){if(i&&n)(function(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);else throw Error(`Missing locale: ${e}, you must load it manually before using it`);}}(s.locale,{autoload:s.autoloadLocales}),!e)throw Error("Missing first date argument");if(!t)throw Error("Missing second date argument");let l=function(e,t){let r=t-e,n=[];return o.some(function(e){let t=e[0],i=e[1],o=Math.floor(r/i);if(r-=o*i,n.push([t,o]),r<=0)return!0;}),n;}(e,t),c=[];for(let e of l){let[t,r]=e;if(r>0&&c.push(function(e,t,r){let i=function(e){var t;let r=a[e.locale],n=e.unitTypeLookupOrder.slice();n.unshift(e.unitType),t=n;let i=null;if((n=Array.from(new Set(t))).some(function(e){if(void 0!==r[e])return i=r[e],!0;}),null===i)throw Error("Can not find any unit type data for locale: "+e.locale);return i;}(r);return n.pluralize(r.locale,t,i[e]).replace("{0}",t);}(t,r,s)),c.length>=s.span)break;}return c.join(s.delimiter);}(t,s,l=Object.assign({},e,l||{}));}};},addLocale:r,defaultConfig:s};}),rg("iWDmx",function(e,t){e.exports=rv("eCDnw");}),rg("9xs9T",function(e,t){e.exports=!!("undefined"!=typeof process&&process.versions&&process.versions.node);}),rg("bGwAu",function(e,t){function r(e,t,r){return!!(e.isSymbolicLink()||e.isFile())&&function(e,t){var r=void 0!==t.pathExt?t.pathExt:process.env.PATHEXT;if(!r||-1!==(r=r.split(";")).indexOf(""))return!0;for(var n=0;n{for(let[t,r]of f)e=e.split(`${t}*`).join(`${t}{0,${r}}`).split(`${t}+`).join(`${t}{1,${r}}`);return e;},m=(e,t,r)=>{let n=h(t),i=p++;s(e,i,t),u[e]=i,c[i]=t,a[i]=new RegExp(t,r?"g":void 0),l[i]=new RegExp(n,r?"g":void 0);};m("NUMERICIDENTIFIER","0|[1-9]\\d*"),m("NUMERICIDENTIFIERLOOSE","\\d+"),m("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${d}*`),m("MAINVERSION",`(${c[u.NUMERICIDENTIFIER]})\\.(${c[u.NUMERICIDENTIFIER]})\\.(${c[u.NUMERICIDENTIFIER]})`),m("MAINVERSIONLOOSE",`(${c[u.NUMERICIDENTIFIERLOOSE]})\\.(${c[u.NUMERICIDENTIFIERLOOSE]})\\.(${c[u.NUMERICIDENTIFIERLOOSE]})`),m("PRERELEASEIDENTIFIER",`(?:${c[u.NUMERICIDENTIFIER]}|${c[u.NONNUMERICIDENTIFIER]})`),m("PRERELEASEIDENTIFIERLOOSE",`(?:${c[u.NUMERICIDENTIFIERLOOSE]}|${c[u.NONNUMERICIDENTIFIER]})`),m("PRERELEASE",`(?:-(${c[u.PRERELEASEIDENTIFIER]}(?:\\.${c[u.PRERELEASEIDENTIFIER]})*))`),m("PRERELEASELOOSE",`(?:-?(${c[u.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${c[u.PRERELEASEIDENTIFIERLOOSE]})*))`),m("BUILDIDENTIFIER",`${d}+`),m("BUILD",`(?:\\+(${c[u.BUILDIDENTIFIER]}(?:\\.${c[u.BUILDIDENTIFIER]})*))`),m("FULLPLAIN",`v?${c[u.MAINVERSION]}${c[u.PRERELEASE]}?${c[u.BUILD]}?`),m("FULL",`^${c[u.FULLPLAIN]}$`),m("LOOSEPLAIN",`[v=\\s]*${c[u.MAINVERSIONLOOSE]}${c[u.PRERELEASELOOSE]}?${c[u.BUILD]}?`),m("LOOSE",`^${c[u.LOOSEPLAIN]}$`),m("GTLT","((?:<|>)?=?)"),m("XRANGEIDENTIFIERLOOSE",`${c[u.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),m("XRANGEIDENTIFIER",`${c[u.NUMERICIDENTIFIER]}|x|X|\\*`),m("XRANGEPLAIN",`[v=\\s]*(${c[u.XRANGEIDENTIFIER]})(?:\\.(${c[u.XRANGEIDENTIFIER]})(?:\\.(${c[u.XRANGEIDENTIFIER]})(?:${c[u.PRERELEASE]})?${c[u.BUILD]}?)?)?`),m("XRANGEPLAINLOOSE",`[v=\\s]*(${c[u.XRANGEIDENTIFIERLOOSE]})(?:\\.(${c[u.XRANGEIDENTIFIERLOOSE]})(?:\\.(${c[u.XRANGEIDENTIFIERLOOSE]})(?:${c[u.PRERELEASELOOSE]})?${c[u.BUILD]}?)?)?`),m("XRANGE",`^${c[u.GTLT]}\\s*${c[u.XRANGEPLAIN]}$`),m("XRANGELOOSE",`^${c[u.GTLT]}\\s*${c[u.XRANGEPLAINLOOSE]}$`),m("COERCE",`(^|[^\\d])(\\d{1,${n}})(?:\\.(\\d{1,${n}}))?(?:\\.(\\d{1,${n}}))?(?:$|[^\\d])`),m("COERCERTL",c[u.COERCE],!0),m("LONETILDE","(?:~>?)"),m("TILDETRIM",`(\\s*)${c[u.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",m("TILDE",`^${c[u.LONETILDE]}${c[u.XRANGEPLAIN]}$`),m("TILDELOOSE",`^${c[u.LONETILDE]}${c[u.XRANGEPLAINLOOSE]}$`),m("LONECARET","(?:\\^)"),m("CARETTRIM",`(\\s*)${c[u.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",m("CARET",`^${c[u.LONECARET]}${c[u.XRANGEPLAIN]}$`),m("CARETLOOSE",`^${c[u.LONECARET]}${c[u.XRANGEPLAINLOOSE]}$`),m("COMPARATORLOOSE",`^${c[u.GTLT]}\\s*(${c[u.LOOSEPLAIN]})$|^$`),m("COMPARATOR",`^${c[u.GTLT]}\\s*(${c[u.FULLPLAIN]})$|^$`),m("COMPARATORTRIM",`(\\s*)${c[u.GTLT]}\\s*(${c[u.LOOSEPLAIN]}|${c[u.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",m("HYPHENRANGE",`^\\s*(${c[u.XRANGEPLAIN]})\\s+-\\s+(${c[u.XRANGEPLAIN]})\\s*$`),m("HYPHENRANGELOOSE",`^\\s*(${c[u.XRANGEPLAINLOOSE]})\\s+-\\s+(${c[u.XRANGEPLAINLOOSE]})\\s*$`),m("STAR","(<|>)?=?\\s*\\*"),m("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),m("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$");}),rg("3qgxS",function(e,t){let r=Number.MAX_SAFE_INTEGER||9007199254740991;e.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_BUILD_LENGTH:250,MAX_SAFE_INTEGER:r,RELEASE_TYPES:["major","premajor","minor","preminor","patch","prepatch","prerelease"],SEMVER_SPEC_VERSION:"2.0.0",FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2};}),rg("3CqZ1",function(e,t){let r="object"==typeof process&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};e.exports=r;}),rg("aMLnW",function(e,t){var r=rv("3CqZ1"),n=rv("3qgxS"),i=n.MAX_LENGTH,o=n.MAX_SAFE_INTEGER,s=rv("9J5od"),a=s.safeRe,l=s.t,c=rv("6omBt"),u=rv("fx8Ft").compareIdentifiers;class p{constructor(e,t){if(t=c(t),e instanceof p){if(!!t.loose===e.loose&&!!t.includePrerelease===e.includePrerelease)return e;e=e.version;}else if("string"!=typeof e)throw TypeError(`Invalid version. Must be a string. Got type "${typeof e}".`);if(e.length>i)throw TypeError(`version is longer than ${i} characters`);r("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;let n=e.trim().match(t.loose?a[l.LOOSE]:a[l.FULL]);if(!n)throw TypeError("Invalid Version: "+e);if(this.raw=e,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>o||this.major<0)throw TypeError("Invalid major version");if(this.minor>o||this.minor<0)throw TypeError("Invalid minor version");if(this.patch>o||this.patch<0)throw TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map(e=>{if(/^[0-9]+$/.test(e)){let t=+e;if(t>=0&&t=0;)"number"==typeof this.prerelease[n]&&(this.prerelease[n]++,n=-2);if(-1===n){if(t===this.prerelease.join(".")&&!1===r)throw Error("invalid increment argument: identifier already exists");this.prerelease.push(e);}}if(t){let n=[t,e];!1===r&&(n=[t]),0===u(this.prerelease[0],t)?isNaN(this.prerelease[1])&&(this.prerelease=n):this.prerelease=n;}break;}default:throw Error("invalid increment argument: "+e);}return this.raw=this.format(),this.build.length&&(this.raw+="+"+this.build.join(".")),this;}}e.exports=p;}),rg("6omBt",function(e,t){let r=Object.freeze({loose:!0}),n=Object.freeze({});e.exports=e=>e?"object"!=typeof e?r:e:n;}),rg("fx8Ft",function(e,t){let r=(e,t)=>{let r=/^[0-9]+$/.test(e),n=/^[0-9]+$/.test(t);return r&&n&&(e=+e,t=+t),e===t?0:r&&!n?-1:n&&!r?1:t>e?-1:1;};e.exports={compareIdentifiers:r,rcompareIdentifiers:(e,t)=>r(t,e)};}),rg("UI3XL",function(e,t){var r=rv("aMLnW");e.exports=(e,t,n=!1)=>{if(e instanceof r)return e;try{return new r(e,t);}catch(e){if(!n)return null;throw e;}};}),rg("l655J",function(e,t){var r=rv("UI3XL");e.exports=(e,t)=>{let n=r(e,t);return n?n.version:null;};}),rg("jzJq8",function(e,t){var r=rv("UI3XL");e.exports=(e,t)=>{let n=r(e.trim().replace(/^[=v]+/,""),t);return n?n.version:null;};}),rg("b1nH1",function(e,t){var r=rv("aMLnW");e.exports=(e,t,n,i,o)=>{"string"==typeof n&&(o=i,i=n,n=void 0);try{return new r(e instanceof r?e.version:e,n).inc(t,i,o).version;}catch(e){return null;}};}),rg("inG4j",function(e,t){var r=rv("UI3XL");e.exports=(e,t)=>{let n=r(e,null,!0),i=r(t,null,!0),o=n.compare(i);if(0===o)return null;let s=o>0,a=s?n:i,l=s?i:n,c=!!a.prerelease.length;if(l.prerelease.length&&!c)return l.patch||l.minor?a.patch?"patch":a.minor?"minor":"major":"major";let u=c?"pre":"";return n.major!==i.major?u+"major":n.minor!==i.minor?u+"minor":n.patch!==i.patch?u+"patch":"prerelease";};}),rg("2aJGP",function(e,t){var r=rv("aMLnW");e.exports=(e,t)=>new r(e,t).major;}),rg("h6Ixq",function(e,t){var r=rv("aMLnW");e.exports=(e,t)=>new r(e,t).minor;}),rg("90ROK",function(e,t){var r=rv("aMLnW");e.exports=(e,t)=>new r(e,t).patch;}),rg("8m4O1",function(e,t){var r=rv("UI3XL");e.exports=(e,t)=>{let n=r(e,t);return n&&n.prerelease.length?n.prerelease:null;};}),rg("3uysP",function(e,t){var r=rv("aMLnW");e.exports=(e,t,n)=>new r(e,n).compare(new r(t,n));}),rg("hYBTv",function(e,t){var r=rv("3uysP");e.exports=(e,t,n)=>r(t,e,n);}),rg("ftcZo",function(e,t){var r=rv("3uysP");e.exports=(e,t)=>r(e,t,!0);}),rg("1CIrW",function(e,t){var r=rv("aMLnW");e.exports=(e,t,n)=>{let i=new r(e,n),o=new r(t,n);return i.compare(o)||i.compareBuild(o);};}),rg("exBHN",function(e,t){var r=rv("1CIrW");e.exports=(e,t)=>e.sort((e,n)=>r(e,n,t));}),rg("lm1lq",function(e,t){var r=rv("1CIrW");e.exports=(e,t)=>e.sort((e,n)=>r(n,e,t));}),rg("cPjhN",function(e,t){var r=rv("3uysP");e.exports=(e,t,n)=>r(e,t,n)>0;}),rg("avz3V",function(e,t){var r=rv("3uysP");e.exports=(e,t,n)=>0>r(e,t,n);}),rg("fXQFJ",function(e,t){var r=rv("3uysP");e.exports=(e,t,n)=>0===r(e,t,n);}),rg("bu0Ra",function(e,t){var r=rv("3uysP");e.exports=(e,t,n)=>0!==r(e,t,n);}),rg("9xdhv",function(e,t){var r=rv("3uysP");e.exports=(e,t,n)=>r(e,t,n)>=0;}),rg("8aNoG",function(e,t){var r=rv("3uysP");e.exports=(e,t,n)=>0>=r(e,t,n);}),rg("8gipG",function(e,t){var r=rv("fXQFJ"),n=rv("bu0Ra"),i=rv("cPjhN"),o=rv("9xdhv"),s=rv("avz3V"),a=rv("8aNoG");e.exports=(e,t,l,c)=>{switch(t){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof l&&(l=l.version),e===l;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof l&&(l=l.version),e!==l;case"":case"=":case"==":return r(e,l,c);case"!=":return n(e,l,c);case">":return i(e,l,c);case">=":return o(e,l,c);case"<":return s(e,l,c);case"<=":return a(e,l,c);default:throw TypeError("Invalid operator: "+t);}};}),rg("l8hao",function(e,t){var r=rv("aMLnW"),n=rv("UI3XL"),i=rv("9J5od"),o=i.safeRe,s=i.t;e.exports=(e,t)=>{if(e instanceof r)return e;if("number"==typeof e&&(e+=""),"string"!=typeof e)return null;let i=null;if((t=t||{}).rtl){let t;for(;(t=o[s.COERCERTL].exec(e))&&(!i||i.index+i[0].length!==e.length);)i&&t.index+t[0].length===i.index+i[0].length||(i=t),o[s.COERCERTL].lastIndex=t.index+t[1].length+t[2].length;o[s.COERCERTL].lastIndex=-1;}else i=e.match(o[s.COERCE]);return null===i?null:n(`${i[2]}.${i[3]||"0"}.${i[4]||"0"}`,t);};}),rg("dSz9p",function(e,t){let r=Symbol();class n{static get ANY(){return r;}constructor(e,t){if(t=i(t),e instanceof n){if(!!t.loose===e.loose)return e;e=e.value;}c("comparator",e=e.trim().split(/\s+/).join(" "),t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===r?this.value="":this.value=this.operator+this.semver.version,c("comp",this);}parse(e){let t=this.options.loose?s[a.COMPARATORLOOSE]:s[a.COMPARATOR],n=e.match(t);if(!n)throw TypeError("Invalid comparator: "+e);this.operator=void 0!==n[1]?n[1]:"","="===this.operator&&(this.operator=""),n[2]?this.semver=new u(n[2],this.options.loose):this.semver=r;}toString(){return this.value;}test(e){if(c("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 l(e,this.operator,this.semver,this.options);}intersects(e,t){if(!(e instanceof n))throw TypeError("a Comparator is required");return""===this.operator?""===this.value||new p(e.value,t).test(this.value):""===e.operator?""===e.value||new p(this.value,t).test(e.semver):!((t=i(t)).includePrerelease&&("<0.0.0-0"===this.value||"<0.0.0-0"===e.value)||!t.includePrerelease&&(this.value.startsWith("<0.0.0")||e.value.startsWith("<0.0.0")))&&!!(this.operator.startsWith(">")&&e.operator.startsWith(">")||this.operator.startsWith("<")&&e.operator.startsWith("<")||this.semver.version===e.semver.version&&this.operator.includes("=")&&e.operator.includes("=")||l(this.semver,"<",e.semver,t)&&this.operator.startsWith(">")&&e.operator.startsWith("<")||l(this.semver,">",e.semver,t)&&this.operator.startsWith("<")&&e.operator.startsWith(">"));}}e.exports=n;var i=rv("6omBt"),o=rv("9J5od"),s=o.safeRe,a=o.t,l=rv("8gipG"),c=rv("3CqZ1"),u=rv("aMLnW"),p=rv("4FTez");}),rg("4FTez",function(e,t){class r{constructor(e,t){if(t=i(t),e instanceof r){if(!!t.loose===e.loose&&!!t.includePrerelease===e.includePrerelease)return e;return new r(e.raw,t);}if(e instanceof o)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.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map(e=>this.parseRange(e.trim())).filter(e=>e.length),!this.set.length)throw TypeError("Invalid SemVer Range: "+this.raw);if(this.set.length>1){let e=this.set[0];if(this.set=this.set.filter(e=>!g(e[0])),0===this.set.length)this.set=[e];else if(this.set.length>1){for(let e of this.set)if(1===e.length&&E(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){let t=((this.options.includePrerelease&&m)|(this.options.loose&&v))+":"+e,r=n.get(t);if(r)return r;let i=this.options.loose,a=i?c[u.HYPHENRANGELOOSE]:c[u.HYPHENRANGE];s("hyphen replace",e=e.replace(a,A(this.options.includePrerelease))),s("comparator trim",e=e.replace(c[u.COMPARATORTRIM],p)),s("tilde trim",e=e.replace(c[u.TILDETRIM],d)),s("caret trim",e=e.replace(c[u.CARETTRIM],f));let l=e.split(" ").map(e=>w(e,this.options)).join(" ").split(/\s+/).map(e=>$(e,this.options));i&&(l=l.filter(e=>(s("loose invalid filter",e,this.options),!!e.match(c[u.COMPARATORLOOSE])))),s("range list",l);let h=new Map();for(let e of l.map(e=>new o(e,this.options))){if(g(e))return[e];h.set(e.value,e);}h.size>1&&h.has("")&&h.delete("");let E=[...h.values()];return n.set(t,E),E;}intersects(e,t){if(!(e instanceof r))throw TypeError("a Range is required");return this.set.some(r=>y(r,t)&&e.set.some(e=>y(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;t"<0.0.0-0"===e.value,E=e=>""===e.value,y=(e,t)=>{let r=!0,n=e.slice(),i=n.pop();for(;r&&n.length;)r=n.every(e=>i.intersects(e,t)),i=n.pop();return r;},w=(e,t)=>(s("comp",e,t),s("caret",e=I(e,t)),s("tildes",e=b(e,t)),s("xrange",e=O(e,t)),s("stars",e=C(e,t)),e),x=e=>!e||"x"===e.toLowerCase()||"*"===e,b=(e,t)=>e.trim().split(/\s+/).map(e=>R(e,t)).join(" "),R=(e,t)=>{let r=t.loose?c[u.TILDELOOSE]:c[u.TILDE];return e.replace(r,(t,r,n,i,o)=>{let a;return s("tilde",e,t,r,n,i,o),x(r)?a="":x(n)?a=`>=${r}.0.0 <${+r+1}.0.0-0`:x(i)?a=`>=${r}.${n}.0 <${r}.${+n+1}.0-0`:o?(s("replaceTilde pr",o),a=`>=${r}.${n}.${i}-${o} <${r}.${+n+1}.0-0`):a=`>=${r}.${n}.${i} <${r}.${+n+1}.0-0`,s("tilde return",a),a;});},I=(e,t)=>e.trim().split(/\s+/).map(e=>S(e,t)).join(" "),S=(e,t)=>{s("caret",e,t);let r=t.loose?c[u.CARETLOOSE]:c[u.CARET],n=t.includePrerelease?"-0":"";return e.replace(r,(t,r,i,o,a)=>{let l;return s("caret",e,t,r,i,o,a),x(r)?l="":x(i)?l=`>=${r}.0.0${n} <${+r+1}.0.0-0`:x(o)?l="0"===r?`>=${r}.${i}.0${n} <${r}.${+i+1}.0-0`:`>=${r}.${i}.0${n} <${+r+1}.0.0-0`:a?(s("replaceCaret pr",a),l="0"===r?"0"===i?`>=${r}.${i}.${o}-${a} <${r}.${i}.${+o+1}-0`:`>=${r}.${i}.${o}-${a} <${r}.${+i+1}.0-0`:`>=${r}.${i}.${o}-${a} <${+r+1}.0.0-0`):(s("no pr"),l="0"===r?"0"===i?`>=${r}.${i}.${o}${n} <${r}.${i}.${+o+1}-0`:`>=${r}.${i}.${o}${n} <${r}.${+i+1}.0-0`:`>=${r}.${i}.${o} <${+r+1}.0.0-0`),s("caret return",l),l;});},O=(e,t)=>(s("replaceXRanges",e,t),e.split(/\s+/).map(e=>T(e,t)).join(" ")),T=(e,t)=>{e=e.trim();let r=t.loose?c[u.XRANGELOOSE]:c[u.XRANGE];return e.replace(r,(r,n,i,o,a,l)=>{s("xRange",e,r,n,i,o,a,l);let c=x(i),u=c||x(o),p=u||x(a);return"="===n&&p&&(n=""),l=t.includePrerelease?"-0":"",c?r=">"===n||"<"===n?"<0.0.0-0":"*":n&&p?(u&&(o=0),a=0,">"===n?(n=">=",u?(i=+i+1,o=0):o=+o+1,a=0):"<="===n&&(n="<",u?i=+i+1:o=+o+1),"<"===n&&(l="-0"),r=`${n+i}.${o}.${a}${l}`):u?r=`>=${i}.0.0${l} <${+i+1}.0.0-0`:p&&(r=`>=${i}.${o}.0${l} <${i}.${+o+1}.0-0`),s("xRange return",r),r;});},C=(e,t)=>(s("replaceStars",e,t),e.trim().replace(c[u.STAR],"")),$=(e,t)=>(s("replaceGTE0",e,t),e.trim().replace(c[t.includePrerelease?u.GTE0PRE:u.GTE0],"")),A=e=>(t,r,n,i,o,s,a,l,c,u,p,d,f)=>(r=x(n)?"":x(i)?`>=${n}.0.0${e?"-0":""}`:x(o)?`>=${n}.${i}.0${e?"-0":""}`:s?">="+r:`>=${r}${e?"-0":""}`,l=x(c)?"":x(u)?`<${+c+1}.0.0-0`:x(p)?`<${c}.${+u+1}.0-0`:d?`<=${c}.${u}.${p}-${d}`:e?`<${c}.${u}.${+p+1}-0`:"<="+l,`${r} ${l}`.trim()),_=(e,t,r)=>{for(let r=0;r0){let n=e[r].semver;if(n.major===t.major&&n.minor===t.minor&&n.patch===t.patch)return!0;}return!1;}return!0;};}),rg("eGCLk",function(e,t){var r=rv("JD6z9");let n=Symbol(),i=Symbol(),o=Symbol(),s=Symbol(),a=Symbol(),l=Symbol(),c=Symbol(),u=Symbol(),p=Symbol(),d=Symbol(),f=()=>1,h=(e,t,r)=>{let n=e[p].get(t);if(n){let t=n.value;if(m(e,t)){if(g(e,n),!e[s])return;}else r&&(e[d]&&(n.value.now=Date.now()),e[u].unshiftNode(n));return t.value;}},m=(e,t)=>{if(!t||!t.maxAge&&!e[a])return!1;let r=Date.now()-t.now;return t.maxAge?r>t.maxAge:e[a]&&r>e[a];},v=e=>{if(e[i]>e[n])for(let t=e[u].tail;e[i]>e[n]&&null!==t;){let r=t.prev;g(e,t),t=r;}},g=(e,t)=>{if(t){let r=t.value;e[l]&&e[l](r.key,r.value),e[i]-=r.length,e[p].delete(r.key),e[u].removeNode(t);}};class E{constructor(e,t,r,n,i){this.key=e,this.value=t,this.length=r,this.now=n,this.maxAge=i||0;}}let y=(e,t,r,n)=>{let i=r.value;m(e,i)&&(g(e,r),e[s]||(i=void 0)),i&&t.call(n,i.value,i.key,e);};e.exports=class{constructor(e){if("number"==typeof e&&(e={max:e}),e||(e={}),e.max&&("number"!=typeof e.max||e.max<0))throw TypeError("max must be a non-negative number");this[n]=e.max||1/0;let t=e.length||f;if(this[o]="function"!=typeof t?f:t,this[s]=e.stale||!1,e.maxAge&&"number"!=typeof e.maxAge)throw TypeError("maxAge must be a number");this[a]=e.maxAge||0,this[l]=e.dispose,this[c]=e.noDisposeOnSet||!1,this[d]=e.updateAgeOnGet||!1,this.reset();}set max(e){if("number"!=typeof e||e<0)throw TypeError("max must be a non-negative number");this[n]=e||1/0,v(this);}get max(){return this[n];}set allowStale(e){this[s]=!!e;}get allowStale(){return this[s];}set maxAge(e){if("number"!=typeof e)throw TypeError("maxAge must be a non-negative number");this[a]=e,v(this);}get maxAge(){return this[a];}set lengthCalculator(e){"function"!=typeof e&&(e=f),e!==this[o]&&(this[o]=e,this[i]=0,this[u].forEach(e=>{e.length=this[o](e.value,e.key),this[i]+=e.length;})),v(this);}get lengthCalculator(){return this[o];}get length(){return this[i];}get itemCount(){return this[u].length;}rforEach(e,t){t=t||this;for(let r=this[u].tail;null!==r;){let n=r.prev;y(this,e,r,t),r=n;}}forEach(e,t){t=t||this;for(let r=this[u].head;null!==r;){let n=r.next;y(this,e,r,t),r=n;}}keys(){return this[u].toArray().map(e=>e.key);}values(){return this[u].toArray().map(e=>e.value);}reset(){this[l]&&this[u]&&this[u].length&&this[u].forEach(e=>this[l](e.key,e.value)),this[p]=new Map(),this[u]=new r(),this[i]=0;}dump(){return this[u].map(e=>!m(this,e)&&{k:e.key,v:e.value,e:e.now+(e.maxAge||0)}).toArray().filter(e=>e);}dumpLru(){return this[u];}set(e,t,r){if((r=r||this[a])&&"number"!=typeof r)throw TypeError("maxAge must be a number");let s=r?Date.now():0,d=this[o](t,e);if(this[p].has(e)){if(d>this[n])return g(this,this[p].get(e)),!1;let o=this[p].get(e).value;return this[l]&&!this[c]&&this[l](e,o.value),o.now=s,o.maxAge=r,o.value=t,this[i]+=d-o.length,o.length=d,this.get(e),v(this),!0;}let f=new E(e,t,d,s,r);return f.length>this[n]?(this[l]&&this[l](e,t),!1):(this[i]+=f.length,this[u].unshift(f),this[p].set(e,this[u].head),v(this),!0);}has(e){return!!this[p].has(e)&&!m(this,this[p].get(e).value);}get(e){return h(this,e,!0);}peek(e){return h(this,e,!1);}pop(){let e=this[u].tail;return e?(g(this,e),e.value):null;}del(e){g(this,this[p].get(e));}load(e){this.reset();let t=Date.now();for(let r=e.length-1;r>=0;r--){let n=e[r],i=n.e||0;if(0===i)this.set(n.k,n.v);else{let e=i-t;e>0&&this.set(n.k,n.v,e);}}}prune(){this[p].forEach((e,t)=>h(this,t,!1));}};}),rg("JD6z9",function(e,t){function r(e){var t=this;if(t instanceof r||(t=new r()),t.tail=null,t.head=null,t.length=0,e&&"function"==typeof e.forEach)e.forEach(function(e){t.push(e);});else if(arguments.length>0)for(var n=0,i=arguments.length;i>n;n++)t.push(arguments[n]);return t;}function n(e,t,r,i){if(!(this instanceof n))return new n(e,t,r,i);this.list=i,this.value=e,t?(t.next=this,this.prev=t):this.prev=null,r?(r.prev=this,this.next=r):this.next=null;}e.exports=r,r.Node=n,r.create=r,r.prototype.removeNode=function(e){if(e.list!==this)throw Error("removing node which does not belong to this list");var t=e.next,r=e.prev;return t&&(t.prev=r),r&&(r.next=t),e===this.head&&(this.head=t),e===this.tail&&(this.tail=r),e.list.length--,e.next=null,e.prev=null,e.list=null,t;},r.prototype.unshiftNode=function(e){if(e!==this.head){e.list&&e.list.removeNode(e);var t=this.head;e.list=this,e.next=t,t&&(t.prev=e),this.head=e,this.tail||(this.tail=e),this.length++;}},r.prototype.pushNode=function(e){if(e!==this.tail){e.list&&e.list.removeNode(e);var t=this.tail;e.list=this,e.prev=t,t&&(t.next=e),this.tail=e,this.head||(this.head=e),this.length++;}},r.prototype.push=function(){for(var e,t=0,r=arguments.length;r>t;t++)e=arguments[t],this.tail=new n(e,this.tail,null,this),this.head||(this.head=this.tail),this.length++;return this.length;},r.prototype.unshift=function(){for(var e,t=0,r=arguments.length;r>t;t++)e=arguments[t],this.head=new n(e,null,this.head,this),this.tail||(this.tail=this.head),this.length++;return this.length;},r.prototype.pop=function(){if(this.tail){var e=this.tail.value;return this.tail=this.tail.prev,this.tail?this.tail.next=null:this.head=null,this.length--,e;}},r.prototype.shift=function(){if(this.head){var e=this.head.value;return this.head=this.head.next,this.head?this.head.prev=null:this.tail=null,this.length--,e;}},r.prototype.forEach=function(e,t){t=t||this;for(var r=this.head,n=0;null!==r;n++)e.call(t,r.value,n,this),r=r.next;},r.prototype.forEachReverse=function(e,t){t=t||this;for(var r=this.tail,n=this.length-1;null!==r;n--)e.call(t,r.value,n,this),r=r.prev;},r.prototype.get=function(e){for(var t=0,r=this.head;null!==r&&e>t;t++)r=r.next;if(t===e&&null!==r)return r.value;},r.prototype.getReverse=function(e){for(var t=0,r=this.tail;null!==r&&e>t;t++)r=r.prev;if(t===e&&null!==r)return r.value;},r.prototype.map=function(e,t){t=t||this;for(var n=new r(),i=this.head;null!==i;)n.push(e.call(t,i.value,this)),i=i.next;return n;},r.prototype.mapReverse=function(e,t){t=t||this;for(var n=new r(),i=this.tail;null!==i;)n.push(e.call(t,i.value,this)),i=i.prev;return n;},r.prototype.reduce=function(e,t){var r,n=this.head;if(arguments.length>1)r=t;else if(this.head)n=this.head.next,r=this.head.value;else throw TypeError("Reduce of empty list with no initial value");for(var i=0;null!==n;i++)r=e(r,n.value,i),n=n.next;return r;},r.prototype.reduceReverse=function(e,t){var r,n=this.tail;if(arguments.length>1)r=t;else if(this.tail)n=this.tail.prev,r=this.tail.value;else throw TypeError("Reduce of empty list with no initial value");for(var i=this.length-1;null!==n;i--)r=e(r,n.value,i),n=n.prev;return r;},r.prototype.toArray=function(){for(var e=Array(this.length),t=0,r=this.head;null!==r;t++)e[t]=r.value,r=r.next;return e;},r.prototype.toArrayReverse=function(){for(var e=Array(this.length),t=0,r=this.tail;null!==r;t++)e[t]=r.value,r=r.prev;return e;},r.prototype.slice=function(e,t){(t=t||this.length)<0&&(t+=this.length),(e=e||0)<0&&(e+=this.length);var n=new r();if(tthis.length&&(t=this.length);for(var i=0,o=this.head;null!==o&&ii;i++,o=o.next)n.push(o.value);return n;},r.prototype.sliceReverse=function(e,t){(t=t||this.length)<0&&(t+=this.length),(e=e||0)<0&&(e+=this.length);var n=new r();if(tthis.length&&(t=this.length);for(var i=this.length,o=this.tail;null!==o&&i>t;i--)o=o.prev;for(;null!==o&&i>e;i--,o=o.prev)n.push(o.value);return n;},r.prototype.splice=function(e,t,...r){e>this.length&&(e=this.length-1),e<0&&(e=this.length+e);for(var i=0,o=this.head;null!==o&&e>i;i++)o=o.next;for(var s=[],i=0;o&&i{try{t=new r(t,n);}catch(e){return!1;}return t.test(e);};}),rg("eRnrA",function(e,t){var r=rv("4FTez");e.exports=(e,t)=>new r(e,t).set.map(e=>e.map(e=>e.value).join(" ").trim().split(" "));}),rg("aAvhf",function(e,t){var r=rv("aMLnW"),n=rv("4FTez");e.exports=(e,t,i)=>{let o=null,s=null,a=null;try{a=new n(t,i);}catch(e){return null;}return e.forEach(e=>{a.test(e)&&(!o||-1===s.compare(e))&&(s=new r(o=e,i));}),o;};}),rg("iWAcu",function(e,t){var r=rv("aMLnW"),n=rv("4FTez");e.exports=(e,t,i)=>{let o=null,s=null,a=null;try{a=new n(t,i);}catch(e){return null;}return e.forEach(e=>{a.test(e)&&(!o||1===s.compare(e))&&(s=new r(o=e,i));}),o;};}),rg("32TwK",function(e,t){var r=rv("aMLnW"),n=rv("4FTez"),i=rv("cPjhN");e.exports=(e,t)=>{e=new n(e,t);let o=new r("0.0.0");if(e.test(o)||(o=new r("0.0.0-0"),e.test(o)))return o;o=null;for(let t=0;t{let 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">=":(!s||i(t,s))&&(s=t);break;case"<":case"<=":break;default:throw Error("Unexpected operation: "+e.operator);}}),s&&(!o||i(o,s))&&(o=s);}return o&&e.test(o)?o:null;};}),rg("194Ox",function(e,t){var r=rv("4FTez");e.exports=(e,t)=>{try{return new r(e,t).range||"*";}catch(e){return null;}};}),rg("a8VZj",function(e,t){var r=rv("aMLnW"),n=rv("dSz9p");let{ANY:i}=n;var o=rv("4FTez"),s=rv("2bU8Y"),a=rv("cPjhN"),l=rv("avz3V"),c=rv("8aNoG"),u=rv("9xdhv");e.exports=(e,t,p,d)=>{let f,h,m,v,g;switch(e=new r(e,d),t=new o(t,d),p){case">":f=a,h=c,m=l,v=">",g=">=";break;case"<":f=l,h=u,m=a,v="<",g="<=";break;default:throw TypeError('Must provide a hilo val of "<" or ">"');}if(s(e,t,d))return!1;for(let r=0;r{e.semver===i&&(e=new n(">=0.0.0")),s=s||e,a=a||e,f(e.semver,s.semver,d)?s=e:m(e.semver,a.semver,d)&&(a=e);}),s.operator===v||s.operator===g||(!a.operator||a.operator===v)&&h(e,a.semver)||a.operator===g&&m(e,a.semver))return!1;}return!0;};}),rg("2yv5J",function(e,t){var r=rv("a8VZj");e.exports=(e,t,n)=>r(e,t,">",n);}),rg("46KXA",function(e,t){var r=rv("a8VZj");e.exports=(e,t,n)=>r(e,t,"<",n);}),rg("e3Thp",function(e,t){var r=rv("4FTez");e.exports=(e,t,n)=>(e=new r(e,n),t=new r(t,n),e.intersects(t,n));}),rg("8g51l",function(e,t){var r=rv("2bU8Y"),n=rv("3uysP");e.exports=(e,t,i)=>{let o=[],s=null,a=null,l=e.sort((e,t)=>n(e,t,i));for(let e of l)r(e,t,i)?(a=e,s||(s=e)):(a&&o.push([s,a]),a=null,s=null);s&&o.push([s,null]);let c=[];for(let[e,t]of o)e===t?c.push(e):t||e!==l[0]?t?e===l[0]?c.push("<="+t):c.push(`${e} - ${t}`):c.push(">="+e):c.push("*");let u=c.join(" || "),p="string"==typeof t.raw?t.raw:t+"";return u.length=0.0.0-0")],l=[new n(">=0.0.0")],c=(e,t,r)=>{let n,c,d,f,h,m,v;if(e===t)return!0;if(1===e.length&&e[0].semver===i){if(1===t.length&&t[0].semver===i)return!0;e=r.includePrerelease?a:l;}if(1===t.length&&t[0].semver===i){if(r.includePrerelease)return!0;t=l;}let g=new Set();for(let t of e)">"===t.operator||">="===t.operator?n=u(n,t,r):"<"===t.operator||"<="===t.operator?c=p(c,t,r):g.add(t.semver);if(g.size>1||n&&c&&((d=s(n.semver,c.semver,r))>0||0===d&&(">="!==n.operator||"<="!==c.operator)))return null;for(let e of g){if(n&&!o(e,n+"",r)||c&&!o(e,c+"",r))return null;for(let n of t)if(!o(e,n+"",r))return!1;return!0;}let E=!!c&&!r.includePrerelease&&!!c.semver.prerelease.length&&c.semver,y=!!n&&!r.includePrerelease&&!!n.semver.prerelease.length&&n.semver;for(let e of(E&&1===E.prerelease.length&&"<"===c.operator&&0===E.prerelease[0]&&(E=!1),t)){if(v=v||">"===e.operator||">="===e.operator,m=m||"<"===e.operator||"<="===e.operator,n){if(y&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===y.major&&e.semver.minor===y.minor&&e.semver.patch===y.patch&&(y=!1),">"===e.operator||">="===e.operator){if((f=u(n,e,r))===e&&f!==n)return!1;}else if(">="===n.operator&&!o(n.semver,e+"",r))return!1;}if(c){if(E&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===E.major&&e.semver.minor===E.minor&&e.semver.patch===E.patch&&(E=!1),"<"===e.operator||"<="===e.operator){if((h=p(c,e,r))===e&&h!==c)return!1;}else if("<="===c.operator&&!o(c.semver,e+"",r))return!1;}if(!e.operator&&(c||n)&&0!==d)return!1;}return(!n||!m||!!c||0===d)&&(!c||!v||!!n||0===d)&&!y&&!E;},u=(e,t,r)=>{if(!e)return t;let n=s(e.semver,t.semver,r);return n>0?e:n<0?t:">"===t.operator&&">="===e.operator?t:e;},p=(e,t,r)=>{if(!e)return t;let n=s(e.semver,t.semver,r);return n<0?e:n>0?t:"<"===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 i=!1;e:for(let r of e.set){for(let e of t.set){let t=c(r,e,n);if(i=i||null!==t,t)continue e;}if(i)return!1;}return!0;};}),rg("i8A01",function(e,t){e.exports=function(e){if("string"!=typeof e)throw TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&");};}),rg("kY0n1",function(e,t){async function r(e){try{return await(0,t8.promises).access(e),!0;}catch{return!1;}}l(e.exports,"pathExists",()=>r);}),rg("bzNgi",function(e,t){var r,n,i,o,s,a,u,p,d,f,h,m,v;function g(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 E(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0});}function y(e,t=!0){return t?(0,nX.basename)(e):(0,nX.basename)(e,(0,nX.extname)(e));}function w(e){return(0,nX.normalize)(e).replace(RegExp((0,r.default)(nX.sep)+"$"),"");}function x(e,t=".exe",r=""){return"win32"===process.platform?`${e}${t}`:`${e}${r}`;}function b(e,t){let r=(0,nX.extname)(e),n=`${t}${(0,nX.basename)(e,r)}${r}`;return(0,nX.join)((0,nX.dirname)(e),n);}function R(e,t){let r=(0,nX.extname)(e),n=`${(0,nX.basename)(e,r)}${t}${r}`;return(0,nX.join)((0,nX.dirname)(e),n);}function I(e,t=".cmd",r=".sh"){return"win32"===process.platform?`${e}${t}`:`${e}${r}`;}function S(e){return"win32"===process.platform?e:"./"+e;}function O(e){let t=(0,nX.extname)(e).length;return e.slice(0,-t);}function T(e,t){return c(n)(e,t);}function C(e,t){let r=(0,nX.relative)(t,e);return!(!r||".."===r||r.startsWith(".."+nX.sep)||r===(0,nX.resolve)(e));}l(e.exports,"addExeExt",()=>x),l(e.exports,"addShExt",()=>I),l(e.exports,"addShRelativePrefix",()=>S),l(e.exports,"dirname",()=>nX.dirname),l(e.exports,"join",()=>nX.join),r=rv("iNGpn"),n=rv("axeRu"),i={},E(o={},"name",()=>y),E(s={},"normalizeTrim",()=>w),E(a={},"addExeExt",()=>x),E(u={},"addNamePrefix",()=>b),E(p={},"addNameSuffix",()=>R),E(d={},"addShExt",()=>I),E(f={},"addShRelativePrefix",()=>S),E(h={},"removeExt",()=>O),E(m={},"replaceExt",()=>T),E(v={},"isPathInside",()=>C),g(i,o),g(i,s),g(i,a),g(i,u),g(i,p),g(i,d),g(i,f),g(i,h),g(i,m),g(i,v);}),rg("iNGpn",function(e,t){function r(e){if("string"!=typeof e)throw TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d");}l(e.exports,"default",()=>r);}),rg("axeRu",function(e,t){e.exports=function(e,t){if("string"!=typeof e||0===e.length)return e;var r,n=nX.basename(e,nX.extname(e))+t,i=nX.join(nX.dirname(e),n);return(r=e.slice(0,2))==="."+nX.sep||"./"===r?"."+nX.sep+i:i;};}),rg("hZdK0",function(e,t){var r,n,i,o;function s(e){return o(this,void 0,void 0,function*(){if(p.IS_WINDOWS&&/[*"<>|]/.test(e))throw Error('File path must not contain `*`, `"`, `<`, `>` or `|` on Windows');try{yield p.rm(e,{force:!0,maxRetries:3,recursive:!0,retryDelay:300});}catch(e){throw Error("File was unable to be removed "+e);}});}function a(e){return o(this,void 0,void 0,function*(){t6.ok(e,"a path argument must be provided"),yield p.mkdir(e,{recursive:!0});});}function l(e){return o(this,void 0,void 0,function*(){if(!e)throw Error("parameter 'tool' is required");let t=[];if(p.IS_WINDOWS&&process.env.PATHEXT)for(let e of process.env.PATHEXT.split(u.delimiter))e&&t.push(e);if(p.isRooted(e)){let r=yield p.tryGetExecutablePath(e,t);return r?[r]:[];}if(e.includes(u.sep))return[];let r=[];if(process.env.PATH)for(let e of process.env.PATH.split(u.delimiter))e&&r.push(e);let n=[];for(let i of r){let r=yield p.tryGetExecutablePath(u.join(i,e),t);r&&n.push(r);}return n;});}function c(e,t,r){return o(this,void 0,void 0,function*(){if((yield p.lstat(e)).isSymbolicLink()){try{yield p.lstat(t),yield p.unlink(t);}catch(e){"EPERM"===e.code&&(yield p.chmod(t,"0666"),yield p.unlink(t));}let r=yield p.readlink(e);yield p.symlink(r,t,p.IS_WINDOWS?"junction":null);}else(!(yield p.exists(t))||r)&&(yield p.copyFile(e,t));});}r=e.exports&&e.exports.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r];}});}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r];}),n=e.exports&&e.exports.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),i=e.exports&&e.exports.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&r(t,e,i);return n(t,e),t;},o=e.exports&&e.exports.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e));}catch(e){o(e);}}function a(e){try{l(n.throw(e));}catch(e){o(e);}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t);})).then(s,a);}l((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;let u=i(nX),p=i(rv("ipB3d"));e.exports.cp=function(e,t,r={}){return o(this,void 0,void 0,function*(){let{force:n,recursive:i,copySourceDirectory:s}=function(e){let t=null==e.force||e.force;return{force:t,recursive:!!e.recursive,copySourceDirectory:null==e.copySourceDirectory||!!e.copySourceDirectory};}(r),l=(yield p.exists(t))?yield p.stat(t):null;if(l&&l.isFile()&&!n)return;let d=l&&l.isDirectory()&&s?u.join(t,u.basename(e)):t;if(!(yield p.exists(e)))throw Error("no such file or directory: "+e);if((yield p.stat(e)).isDirectory()){if(i)yield function e(t,r,n,i){return o(this,void 0,void 0,function*(){if(!(n>=255)){for(let o of(n++,yield a(r),yield p.readdir(t))){let s=`${t}/${o}`,a=`${r}/${o}`;(yield p.lstat(s)).isDirectory()?yield e(s,a,n,i):yield c(s,a,i);}yield p.chmod(r,(yield p.stat(t)).mode);}});}(e,d,0,n);else throw Error(`Failed to copy. ${e} is a directory, but tried to copy without recursive flag.`);}else{if(""===u.relative(e,d))throw Error(`'${d}' and '${e}' are the same file`);yield c(e,d,n);}});},e.exports.mv=function(e,t,r={}){return o(this,void 0,void 0,function*(){if(yield p.exists(t)){let n=!0;if((yield p.isDirectory(t))&&(t=u.join(t,u.basename(e)),n=yield p.exists(t)),n){if(null==r.force||r.force)yield s(t);else throw Error("Destination already exists");}}yield a(u.dirname(t)),yield p.rename(e,t);});},e.exports.rmRF=s,e.exports.mkdirP=a,e.exports.which=function e(t,r){return o(this,void 0,void 0,function*(){if(!t)throw Error("parameter 'tool' is required");if(r){let r=yield e(t,!1);if(!r){if(p.IS_WINDOWS)throw Error(`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.`);throw Error(`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;}let n=yield l(t);return n&&n.length>0?n[0]:"";});},e.exports.findInPath=l;}),rg("ipB3d",function(e,t){var r,n,i,o,s;function a(e){return(1&e.mode)>0||(8&e.mode)>0&&e.gid===process.getgid()||(64&e.mode)>0&&e.uid===process.getuid();}r=e.exports&&e.exports.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r];}});}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r];}),n=e.exports&&e.exports.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),i=e.exports&&e.exports.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&r(t,e,i);return n(t,e),t;},o=e.exports&&e.exports.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e));}catch(e){o(e);}}function a(e){try{l(n.throw(e));}catch(e){o(e);}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t);})).then(s,a);}l((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.READONLY=e.exports.UV_FS_O_EXLOCK=e.exports.IS_WINDOWS=e.exports.unlink=e.exports.symlink=e.exports.stat=e.exports.rmdir=e.exports.rm=e.exports.rename=e.exports.readlink=e.exports.readdir=e.exports.open=e.exports.mkdir=e.exports.lstat=e.exports.copyFile=e.exports.chmod=void 0;let l=i(nW),c=i(nX);s=l.promises,e.exports.chmod=s.chmod,e.exports.copyFile=s.copyFile,e.exports.lstat=s.lstat,e.exports.mkdir=s.mkdir,e.exports.open=s.open,e.exports.readdir=s.readdir,e.exports.readlink=s.readlink,e.exports.rename=s.rename,e.exports.rm=s.rm,e.exports.rmdir=s.rmdir,e.exports.stat=s.stat,e.exports.symlink=s.symlink,e.exports.unlink=s.unlink,e.exports.IS_WINDOWS="win32"===process.platform,e.exports.UV_FS_O_EXLOCK=268435456,e.exports.READONLY=l.constants.O_RDONLY,e.exports.exists=function(t){return o(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 o(this,void 0,void 0,function*(){return(r?yield e.exports.stat(t):yield e.exports.lstat(t)).isDirectory();});},e.exports.isRooted=function(t){var r;if(r=(r=t)||"",!(t=e.exports.IS_WINDOWS?(r=r.replace(/\//g,"\\")).replace(/\\\\+/g,"\\"):r.replace(/\/\/+/g,"/")))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,r){return o(this,void 0,void 0,function*(){let n;try{n=yield e.exports.stat(t);}catch(e){"ENOENT"!==e.code&&console.log(`Unexpected error attempting to determine if executable file exists '${t}': ${e}`);}if(n&&n.isFile()){if(e.exports.IS_WINDOWS){let e=c.extname(t).toUpperCase();if(r.some(t=>t.toUpperCase()===e))return t;}else if(a(n))return t;}let i=t;for(let o of r){t=i+o,n=void 0;try{n=yield e.exports.stat(t);}catch(e){"ENOENT"!==e.code&&console.log(`Unexpected error attempting to determine if executable file exists '${t}': ${e}`);}if(n&&n.isFile()){if(e.exports.IS_WINDOWS){try{let r=c.dirname(t),n=c.basename(t).toUpperCase();for(let i of yield e.exports.readdir(r))if(n===i.toUpperCase()){t=c.join(r,i);break;}}catch(e){console.log(`Unexpected error attempting to determine the actual case of the file '${t}': ${e}`);}return t;}if(a(n))return t;}}return"";});},e.exports.getCmdPath=function(){var e;return null!==(e=process.env.COMSPEC)&&void 0!==e?e:"cmd.exe";};}),rg("42L4Y",function(e,t){var r,n,i,o,s;r=e.exports&&e.exports.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r];}});}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r];}),n=e.exports&&e.exports.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),i=e.exports&&e.exports.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&r(t,e,i);return n(t,e),t;},o=e.exports&&e.exports.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e));}catch(e){o(e);}}function a(e){try{l(n.throw(e));}catch(e){o(e);}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t);})).then(s,a);}l((n=n.apply(e,t||[])).next());});},Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports._readLinuxVersionFile=e.exports._getOsVersion=e.exports._findMatch=void 0;let a=i(rv("lroIv"));s=rv("4t50X"),e.exports._findMatch=function(t,r,n,i){return o(this,void 0,void 0,function*(){let o,l,c;let u=nz.platform();for(let o of n){let n=o.version;if(s.debug(`check ${n} satisfies ${t}`),a.satisfies(n,t)&&(!r||o.stable===r)&&(c=o.files.find(t=>{s.debug(`${t.arch}===${i} && ${t.platform}===${u}`);let r=t.arch===i&&t.platform===u;if(r&&t.platform_version){let n=e.exports._getOsVersion();r=n===t.platform_version||a.satisfies(n,t.platform_version);}return r;}))){s.debug("matched "+o.version),l=o;break;}}return l&&c&&((o=Object.assign({},l)).files=[c]),o;});},e.exports._getOsVersion=function(){let t=nz.platform(),r="";if("darwin"===t)r=t7.execSync("sw_vers -productVersion").toString();else if("linux"===t){let t=e.exports._readLinuxVersionFile();if(t)for(let e of t.split("\n")){let t=e.split("=");if(2===t.length&&("VERSION_ID"===t[0].trim()||"DISTRIB_RELEASE"===t[0].trim())){r=t[1].trim().replace(/^"/,"").replace(/"$/,"");break;}}}return r;},e.exports._readLinuxVersionFile=function(){let e="/etc/lsb-release",t="/etc/os-release",r="";return nW.existsSync(e)?r=nW.readFileSync(e).toString():nW.existsSync(t)&&(r=nW.readFileSync(t).toString()),r;};}),rg("lroIv",function(e,t){function r(e){$[e]=A++;}function n(e){for(var t=0;tR||!(t.loose?T[$.LOOSE]:T[$.FULL]).test(e))return null;try{return new o(e,t);}catch(e){return null;}}function o(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof o){if(e.loose===t.loose)return e;e=e.version;}else if("string"!=typeof e)throw TypeError("Invalid Version: "+e);if(e.length>R)throw TypeError("version is longer than "+R+" characters");if(!(this instanceof o))return new o(e,t);b("SemVer",e,t),this.options=t,this.loose=!!t.loose;var r=e.trim().match(t.loose?T[$.LOOSE]:T[$.FULL]);if(!r)throw TypeError("Invalid Version: "+e);if(this.raw=e,this.major=+r[1],this.minor=+r[2],this.patch=+r[3],this.major>I||this.major<0)throw TypeError("Invalid major version");if(this.minor>I||this.minor<0)throw TypeError("Invalid minor version");if(this.patch>I||this.patch<0)throw TypeError("Invalid patch version");r[4]?this.prerelease=r[4].split(".").map(function(e){if(/^[0-9]+$/.test(e)){var t=+e;if(t>=0&&te?-1:1;}function a(e,t,r){return new o(e,r).compare(new o(t,r));}function l(e,t,r){return a(e,t,r)>0;}function c(e,t,r){return 0>a(e,t,r);}function u(e,t,r){return 0===a(e,t,r);}function p(e,t,r){return 0!==a(e,t,r);}function d(e,t,r){return a(e,t,r)>=0;}function f(e,t,r){return 0>=a(e,t,r);}function h(e,t,r,n){switch(t){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof r&&(r=r.version),e===r;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof r&&(r=r.version),e!==r;case"":case"=":case"==":return u(e,r,n);case"!=":return p(e,r,n);case">":return l(e,r,n);case">=":return d(e,r,n);case"<":return c(e,r,n);case"<=":return f(e,r,n);default:throw TypeError("Invalid operator: "+t);}}function m(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof m){if(!!t.loose===e.loose)return e;e=e.value;}if(!(this instanceof m))return new m(e,t);e=e.trim().split(/\s+/).join(" "),b("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===L?this.value="":this.value=this.operator+this.semver.version,b("comp",this);}function v(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof v)return!!t.loose===e.loose&&!!t.includePrerelease===e.includePrerelease?e:new v(e.raw,t);if(e instanceof m)return new v(e.value,t);if(!(this instanceof v))return new v(e,t);if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map(function(e){return this.parseRange(e.trim());},this).filter(function(e){return e.length;}),!this.set.length)throw TypeError("Invalid SemVer Range: "+this.raw);this.format();}function g(e,t){for(var r=!0,n=e.slice(),i=n.pop();r&&n.length;)r=n.every(function(e){return i.intersects(e,t);}),i=n.pop();return r;}function E(e){return!e||"x"===e.toLowerCase()||"*"===e;}function y(e,t,r,n,i,o,s,a,l,c,u,p,d){return((t=E(r)?"":E(n)?">="+r+".0.0":E(i)?">="+r+"."+n+".0":">="+t)+" "+(a=E(l)?"":E(c)?"<"+(+l+1)+".0.0":E(u)?"<"+l+"."+(+c+1)+".0":p?"<="+l+"."+c+"."+u+"-"+p:"<="+a)).trim();}function w(e,t,r){try{t=new v(t,r);}catch(e){return!1;}return t.test(e);}function x(e,t,r,n){switch(e=new o(e,n),t=new v(t,n),r){case">":i=l,s=f,a=c,u=">",p=">=";break;case"<":i=c,s=d,a=l,u="<",p="<=";break;default:throw TypeError('Must provide a hilo val of "<" or ">"');}if(w(e,t,n))return!1;for(var i,s,a,u,p,h=0;h=0.0.0")),E=E||e,y=y||e,i(e.semver,E.semver,n)?E=e:a(e.semver,y.semver,n)&&(y=e);}),E.operator===u||E.operator===p||(!y.operator||y.operator===u)&&s(e,y.semver)||y.operator===p&&a(e,y.semver))return!1;}return!0;}t=e.exports=o,b="object"==typeof process&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?function(){var e=Array.prototype.slice.call(arguments,0);e.unshift("SEMVER"),console.log.apply(console,e);}:function(){},t.SEMVER_SPEC_VERSION="2.0.0",R=256,I=Number.MAX_SAFE_INTEGER||9007199254740991,S=R-6,O=t.re=[],T=t.safeRe=[],C=t.src=[],$=t.tokens={},A=0,N=[["\\s",1],["\\d",R],[_="[a-zA-Z0-9-]",S]],r("NUMERICIDENTIFIER"),C[$.NUMERICIDENTIFIER]="0|[1-9]\\d*",r("NUMERICIDENTIFIERLOOSE"),C[$.NUMERICIDENTIFIERLOOSE]="\\d+",r("NONNUMERICIDENTIFIER"),C[$.NONNUMERICIDENTIFIER]="\\d*[a-zA-Z-]"+_+"*",r("MAINVERSION"),C[$.MAINVERSION]="("+C[$.NUMERICIDENTIFIER]+")\\.("+C[$.NUMERICIDENTIFIER]+")\\.("+C[$.NUMERICIDENTIFIER]+")",r("MAINVERSIONLOOSE"),C[$.MAINVERSIONLOOSE]="("+C[$.NUMERICIDENTIFIERLOOSE]+")\\.("+C[$.NUMERICIDENTIFIERLOOSE]+")\\.("+C[$.NUMERICIDENTIFIERLOOSE]+")",r("PRERELEASEIDENTIFIER"),C[$.PRERELEASEIDENTIFIER]="(?:"+C[$.NUMERICIDENTIFIER]+"|"+C[$.NONNUMERICIDENTIFIER]+")",r("PRERELEASEIDENTIFIERLOOSE"),C[$.PRERELEASEIDENTIFIERLOOSE]="(?:"+C[$.NUMERICIDENTIFIERLOOSE]+"|"+C[$.NONNUMERICIDENTIFIER]+")",r("PRERELEASE"),C[$.PRERELEASE]="(?:-("+C[$.PRERELEASEIDENTIFIER]+"(?:\\."+C[$.PRERELEASEIDENTIFIER]+")*))",r("PRERELEASELOOSE"),C[$.PRERELEASELOOSE]="(?:-?("+C[$.PRERELEASEIDENTIFIERLOOSE]+"(?:\\."+C[$.PRERELEASEIDENTIFIERLOOSE]+")*))",r("BUILDIDENTIFIER"),C[$.BUILDIDENTIFIER]=_+"+",r("BUILD"),C[$.BUILD]="(?:\\+("+C[$.BUILDIDENTIFIER]+"(?:\\."+C[$.BUILDIDENTIFIER]+")*))",r("FULL"),r("FULLPLAIN"),C[$.FULLPLAIN]="v?"+C[$.MAINVERSION]+C[$.PRERELEASE]+"?"+C[$.BUILD]+"?",C[$.FULL]="^"+C[$.FULLPLAIN]+"$",r("LOOSEPLAIN"),C[$.LOOSEPLAIN]="[v=\\s]*"+C[$.MAINVERSIONLOOSE]+C[$.PRERELEASELOOSE]+"?"+C[$.BUILD]+"?",r("LOOSE"),C[$.LOOSE]="^"+C[$.LOOSEPLAIN]+"$",r("GTLT"),C[$.GTLT]="((?:<|>)?=?)",r("XRANGEIDENTIFIERLOOSE"),C[$.XRANGEIDENTIFIERLOOSE]=C[$.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*",r("XRANGEIDENTIFIER"),C[$.XRANGEIDENTIFIER]=C[$.NUMERICIDENTIFIER]+"|x|X|\\*",r("XRANGEPLAIN"),C[$.XRANGEPLAIN]="[v=\\s]*("+C[$.XRANGEIDENTIFIER]+")(?:\\.("+C[$.XRANGEIDENTIFIER]+")(?:\\.("+C[$.XRANGEIDENTIFIER]+")(?:"+C[$.PRERELEASE]+")?"+C[$.BUILD]+"?)?)?",r("XRANGEPLAINLOOSE"),C[$.XRANGEPLAINLOOSE]="[v=\\s]*("+C[$.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+C[$.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+C[$.XRANGEIDENTIFIERLOOSE]+")(?:"+C[$.PRERELEASELOOSE]+")?"+C[$.BUILD]+"?)?)?",r("XRANGE"),C[$.XRANGE]="^"+C[$.GTLT]+"\\s*"+C[$.XRANGEPLAIN]+"$",r("XRANGELOOSE"),C[$.XRANGELOOSE]="^"+C[$.GTLT]+"\\s*"+C[$.XRANGEPLAINLOOSE]+"$",r("COERCE"),C[$.COERCE]="(^|[^\\d])(\\d{1,16})(?:\\.(\\d{1,16}))?(?:\\.(\\d{1,16}))?(?:$|[^\\d])",r("COERCERTL"),O[$.COERCERTL]=RegExp(C[$.COERCE],"g"),T[$.COERCERTL]=RegExp(n(C[$.COERCE]),"g"),r("LONETILDE"),C[$.LONETILDE]="(?:~>?)",r("TILDETRIM"),C[$.TILDETRIM]="(\\s*)"+C[$.LONETILDE]+"\\s+",O[$.TILDETRIM]=RegExp(C[$.TILDETRIM],"g"),T[$.TILDETRIM]=RegExp(n(C[$.TILDETRIM]),"g"),r("TILDE"),C[$.TILDE]="^"+C[$.LONETILDE]+C[$.XRANGEPLAIN]+"$",r("TILDELOOSE"),C[$.TILDELOOSE]="^"+C[$.LONETILDE]+C[$.XRANGEPLAINLOOSE]+"$",r("LONECARET"),C[$.LONECARET]="(?:\\^)",r("CARETTRIM"),C[$.CARETTRIM]="(\\s*)"+C[$.LONECARET]+"\\s+",O[$.CARETTRIM]=RegExp(C[$.CARETTRIM],"g"),T[$.CARETTRIM]=RegExp(n(C[$.CARETTRIM]),"g"),r("CARET"),C[$.CARET]="^"+C[$.LONECARET]+C[$.XRANGEPLAIN]+"$",r("CARETLOOSE"),C[$.CARETLOOSE]="^"+C[$.LONECARET]+C[$.XRANGEPLAINLOOSE]+"$",r("COMPARATORLOOSE"),C[$.COMPARATORLOOSE]="^"+C[$.GTLT]+"\\s*("+C[$.LOOSEPLAIN]+")$|^$",r("COMPARATOR"),C[$.COMPARATOR]="^"+C[$.GTLT]+"\\s*("+C[$.FULLPLAIN]+")$|^$",r("COMPARATORTRIM"),C[$.COMPARATORTRIM]="(\\s*)"+C[$.GTLT]+"\\s*("+C[$.LOOSEPLAIN]+"|"+C[$.XRANGEPLAIN]+")",O[$.COMPARATORTRIM]=RegExp(C[$.COMPARATORTRIM],"g"),T[$.COMPARATORTRIM]=RegExp(n(C[$.COMPARATORTRIM]),"g"),r("HYPHENRANGE"),C[$.HYPHENRANGE]="^\\s*("+C[$.XRANGEPLAIN]+")\\s+-\\s+("+C[$.XRANGEPLAIN]+")\\s*$",r("HYPHENRANGELOOSE"),C[$.HYPHENRANGELOOSE]="^\\s*("+C[$.XRANGEPLAINLOOSE]+")\\s+-\\s+("+C[$.XRANGEPLAINLOOSE]+")\\s*$",r("STAR"),C[$.STAR]="(<|>)?=?\\s*\\*";for(var b,R,I,S,O,T,C,$,A,_,N,P,L,D=0;D=0;)"number"==typeof this.prerelease[r]&&(this.prerelease[r]++,r=-2);-1===r&&this.prerelease.push(0);}t&&(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;},t.inc=function(e,t,r,n){"string"==typeof r&&(n=r,r=void 0);try{return new o(e,r).inc(t,n).version;}catch(e){return null;}},t.diff=function(e,t){if(u(e,t))return null;var r=i(e),n=i(t),o="";if(r.prerelease.length||n.prerelease.length){o="pre";var s="prerelease";}for(var a in r)if(("major"===a||"minor"===a||"patch"===a)&&r[a]!==n[a])return o+a;return s;},t.compareIdentifiers=s,P=/^[0-9]+$/,t.rcompareIdentifiers=function(e,t){return s(t,e);},t.major=function(e,t){return new o(e,t).major;},t.minor=function(e,t){return new o(e,t).minor;},t.patch=function(e,t){return new o(e,t).patch;},t.compare=a,t.compareLoose=function(e,t){return a(e,t,!0);},t.compareBuild=function(e,t,r){var n=new o(e,r),i=new o(t,r);return n.compare(i)||n.compareBuild(i);},t.rcompare=function(e,t,r){return a(t,e,r);},t.sort=function(e,r){return e.sort(function(e,n){return t.compareBuild(e,n,r);});},t.rsort=function(e,r){return e.sort(function(e,n){return t.compareBuild(n,e,r);});},t.gt=l,t.lt=c,t.eq=u,t.neq=p,t.gte=d,t.lte=f,t.cmp=h,t.Comparator=m,L={},m.prototype.parse=function(e){var t=this.options.loose?T[$.COMPARATORLOOSE]:T[$.COMPARATOR],r=e.match(t);if(!r)throw TypeError("Invalid comparator: "+e);this.operator=void 0!==r[1]?r[1]:"","="===this.operator&&(this.operator=""),r[2]?this.semver=new o(r[2],this.options.loose):this.semver=L;},m.prototype.toString=function(){return this.value;},m.prototype.test=function(e){if(b("Comparator.test",e,this.options.loose),this.semver===L||e===L)return!0;if("string"==typeof e)try{e=new o(e,this.options);}catch(e){return!1;}return h(e,this.operator,this.semver,this.options);},m.prototype.intersects=function(e,t){if(!(e instanceof m))throw TypeError("a Comparator is required");if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),""===this.operator)return""===this.value||(r=new v(e.value,t),w(this.value,r,t));if(""===e.operator)return""===e.value||(r=new v(this.value,t),w(e.semver,r,t));var r,n=(">="===this.operator||">"===this.operator)&&(">="===e.operator||">"===e.operator),i=("<="===this.operator||"<"===this.operator)&&("<="===e.operator||"<"===e.operator),o=this.semver.version===e.semver.version,s=(">="===this.operator||"<="===this.operator)&&(">="===e.operator||"<="===e.operator),a=h(this.semver,"<",e.semver,t)&&(">="===this.operator||">"===this.operator)&&("<="===e.operator||"<"===e.operator),l=h(this.semver,">",e.semver,t)&&("<="===this.operator||"<"===this.operator)&&(">="===e.operator||">"===e.operator);return n||i||o&&s||a||l;},t.Range=v,v.prototype.format=function(){return this.range=this.set.map(function(e){return e.join(" ").trim();}).join("||").trim(),this.range;},v.prototype.toString=function(){return this.range;},v.prototype.parseRange=function(e){var t=this.options.loose,r=t?T[$.HYPHENRANGELOOSE]:T[$.HYPHENRANGE];e=e.replace(r,y),b("hyphen replace",e),e=e.replace(T[$.COMPARATORTRIM],"$1$2$3"),b("comparator trim",e,T[$.COMPARATORTRIM]),e=(e=(e=e.replace(T[$.TILDETRIM],"$1~")).replace(T[$.CARETTRIM],"$1^")).split(/\s+/).join(" ");var n=t?T[$.COMPARATORLOOSE]:T[$.COMPARATOR],i=e.split(" ").map(function(e){var t,r,n,i,o,s,a,l,c;return t=e,r=this.options,b("comp",t,r),n=t,i=r,t=n.trim().split(/\s+/).map(function(e){var t,r,n;return b("caret",t=e,r=i),n=r.loose?T[$.CARETLOOSE]:T[$.CARET],t.replace(n,function(e,r,n,i,o){var s;return b("caret",t,e,r,n,i,o),E(r)?s="":E(n)?s=">="+r+".0.0 <"+(+r+1)+".0.0":E(i)?s="0"===r?">="+r+"."+n+".0 <"+r+"."+(+n+1)+".0":">="+r+"."+n+".0 <"+(+r+1)+".0.0":o?(b("replaceCaret pr",o),s="0"===r?"0"===n?">="+r+"."+n+"."+i+"-"+o+" <"+r+"."+n+"."+(+i+1):">="+r+"."+n+"."+i+"-"+o+" <"+r+"."+(+n+1)+".0":">="+r+"."+n+"."+i+"-"+o+" <"+(+r+1)+".0.0"):(b("no pr"),s="0"===r?"0"===n?">="+r+"."+n+"."+i+" <"+r+"."+n+"."+(+i+1):">="+r+"."+n+"."+i+" <"+r+"."+(+n+1)+".0":">="+r+"."+n+"."+i+" <"+(+r+1)+".0.0"),b("caret return",s),s;});}).join(" "),b("caret",t),o=t,s=r,t=o.trim().split(/\s+/).map(function(e){var t,r;return t=e,r=s.loose?T[$.TILDELOOSE]:T[$.TILDE],t.replace(r,function(e,r,n,i,o){var s;return b("tilde",t,e,r,n,i,o),E(r)?s="":E(n)?s=">="+r+".0.0 <"+(+r+1)+".0.0":E(i)?s=">="+r+"."+n+".0 <"+r+"."+(+n+1)+".0":o?(b("replaceTilde pr",o),s=">="+r+"."+n+"."+i+"-"+o+" <"+r+"."+(+n+1)+".0"):s=">="+r+"."+n+"."+i+" <"+r+"."+(+n+1)+".0",b("tilde return",s),s;});}).join(" "),b("tildes",t),b("replaceXRanges",a=t,l=r),t=a.split(/\s+/).map(function(e){var t,r,n;return t=e,r=l,t=t.trim(),n=r.loose?T[$.XRANGELOOSE]:T[$.XRANGE],t.replace(n,function(e,n,i,o,s,a){b("xRange",t,e,n,i,o,s,a);var l=E(i),c=l||E(o),u=c||E(s);return"="===n&&u&&(n=""),a=r.includePrerelease?"-0":"",l?e=">"===n||"<"===n?"<0.0.0-0":"*":n&&u?(c&&(o=0),s=0,">"===n?(n=">=",c?(i=+i+1,o=0):o=+o+1,s=0):"<="===n&&(n="<",c?i=+i+1:o=+o+1),e=n+i+"."+o+"."+s+a):c?e=">="+i+".0.0"+a+" <"+(+i+1)+".0.0"+a:u&&(e=">="+i+"."+o+".0"+a+" <"+i+"."+(+o+1)+".0"+a),b("xRange return",e),e;});}).join(" "),b("xrange",t),b("replaceStars",c=t,r),t=c.trim().replace(T[$.STAR],""),b("stars",t),t;},this).join(" ").split(/\s+/);return this.options.loose&&(i=i.filter(function(e){return!!e.match(n);})),i=i.map(function(e){return new m(e,this.options);},this);},v.prototype.intersects=function(e,t){if(!(e instanceof v))throw TypeError("a Range is required");return this.set.some(function(r){return g(r,t)&&e.set.some(function(e){return g(e,t)&&r.every(function(r){return e.every(function(e){return r.intersects(e,t);});});});});},t.toComparators=function(e,t){return new v(e,t).set.map(function(e){return e.map(function(e){return e.value;}).join(" ").trim().split(" ");});},v.prototype.test=function(e){if(!e)return!1;if("string"==typeof e)try{e=new o(e,this.options);}catch(e){return!1;}for(var t=0;t0){var i=e[n].semver;if(i.major===t.major&&i.minor===t.minor&&i.patch===t.patch)return!0;}return!1;}return!0;}(this.set[t],e,this.options))return!0;return!1;},t.satisfies=w,t.maxSatisfying=function(e,t,r){var n=null,i=null;try{var s=new v(t,r);}catch(e){return null;}return e.forEach(function(e){s.test(e)&&(!n||-1===i.compare(e))&&(i=new o(n=e,r));}),n;},t.minSatisfying=function(e,t,r){var n=null,i=null;try{var s=new v(t,r);}catch(e){return null;}return e.forEach(function(e){s.test(e)&&(!n||1===i.compare(e))&&(i=new o(n=e,r));}),n;},t.minVersion=function(e,t){e=new v(e,t);var r=new o("0.0.0");if(e.test(r)||(r=new o("0.0.0-0"),e.test(r)))return r;r=null;for(var n=0;n":0===t.prerelease.length?t.patch++:t.prerelease.push(0),t.raw=t.format();case"":case">=":(!r||l(r,t))&&(r=t);break;case"<":case"<=":break;default:throw Error("Unexpected operation: "+e.operator);}});return r&&e.test(r)?r:null;},t.validRange=function(e,t){try{return new v(e,t).range||"*";}catch(e){return null;}},t.ltr=function(e,t,r){return x(e,t,"<",r);},t.gtr=function(e,t,r){return x(e,t,">",r);},t.outside=x,t.prerelease=function(e,t){var r=i(e,t);return r&&r.prerelease.length?r.prerelease:null;},t.intersects=function(e,t,r){return e=new v(e,r),t=new v(t,r),e.intersects(t);},t.coerce=function(e,t){if(e instanceof o)return e;if("number"==typeof e&&(e+=""),"string"!=typeof e)return null;var r,n=null;if((t=t||{}).rtl){for(;(r=T[$.COERCERTL].exec(e))&&(!n||n.index+n[0].length!==e.length);)n&&r.index+r[0].length===n.index+n[0].length||(n=r),T[$.COERCERTL].lastIndex=r.index+r[1].length+r[2].length;T[$.COERCERTL].lastIndex=-1;}else n=e.match(T[$.COERCE]);return null===n?null:i(n[2]+"."+(n[3]||"0")+"."+(n[4]||"0"),t);};}),rg("eAF86",function(e,t){var r=rv("1W8as"),n=rv("hTpVN");e.exports=function(e,t,i){var o=t&&i||0;"string"==typeof e&&(t="binary"===e?Array(16):null,e=null);var s=(e=e||{}).random||(e.rng||r)();if(s[6]=15&s[6]|64,s[8]=63&s[8]|128,t)for(var a=0;a<16;++a)t[o+a]=s[a];return t||n(s);};}),rg("1W8as",function(e,t){e.exports=function(){return nK.randomBytes(16);};}),rg("hTpVN",function(e,t){for(var r=[],n=0;n<256;++n)r[n]=(n+256).toString(16).substr(1);e.exports=function(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++]]].join("");};}),rg("1f6JF",function(e,t){var r,n,i,o;function s(e,t,r){return o(this,void 0,void 0,function*(){let n=a.argStringToArray(e);if(0===n.length)throw Error("Parameter 'commandLine' cannot be null or empty.");let i=n[0];return t=n.slice(1).concat(t||[]),new a.ToolRunner(i,t,r).exec();});}r=e.exports&&e.exports.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r];}});}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r];}),n=e.exports&&e.exports.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),i=e.exports&&e.exports.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&r(t,e,i);return n(t,e),t;},o=e.exports&&e.exports.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e));}catch(e){o(e);}}function a(e){try{l(n.throw(e));}catch(e){o(e);}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t);})).then(s,a);}l((n=n.apply(e,t||[])).next());});},Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.getExecOutput=e.exports.exec=void 0;let a=i(rv("4B2AJ"));e.exports.exec=s,e.exports.getExecOutput=function(e,t,r){var n,i;return o(this,void 0,void 0,function*(){let o="",a="",l=new t9.StringDecoder("utf8"),c=new t9.StringDecoder("utf8"),u=null===(n=null==r?void 0:r.listeners)||void 0===n?void 0:n.stdout,p=null===(i=null==r?void 0:r.listeners)||void 0===i?void 0:i.stderr,d=Object.assign(Object.assign({},null==r?void 0:r.listeners),{stdout(e){o+=l.write(e),u&&u(e);},stderr(e){a+=c.write(e),p&&p(e);}}),f=yield s(e,t,Object.assign(Object.assign({},r),{listeners:d}));return o+=l.end(),a+=c.end(),{exitCode:f,stdout:o,stderr:a};});};}),rg("4B2AJ",function(e,t){var r,n,i,o;r=e.exports&&e.exports.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r];}});}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r];}),n=e.exports&&e.exports.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),i=e.exports&&e.exports.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&r(t,e,i);return n(t,e),t;},o=e.exports&&e.exports.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e));}catch(e){o(e);}}function a(e){try{l(n.throw(e));}catch(e){o(e);}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t);})).then(s,a);}l((n=n.apply(e,t||[])).next());});},Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.argStringToArray=e.exports.ToolRunner=void 0;let s=i(nz),a=i(t3),l=i(t7),c=i(nX),u=i(rv("hZdK0")),p=i(rv("ipB3d")),d="win32"===process.platform;class f 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){let r=this._getSpawnFileName(),n=this._getSpawnArgs(e),i=t?"":"[command]";if(d){if(this._isCmdFile())for(let e of(i+=r,n))i+=" "+e;else if(e.windowsVerbatimArguments)for(let e of(i+=`"${r}"`,n))i+=" "+e;else for(let e of(i+=this._windowsQuoteCmdArg(r),n))i+=" "+this._windowsQuoteCmdArg(e);}else for(let e of(i+=r,n))i+=" "+e;return i;}_processLineBuffer(e,t,r){try{let n=t+e.toString(),i=n.indexOf(s.EOL);for(;i>-1;){let e=n.substring(0,i);r(e),i=(n=n.substring(i+s.EOL.length)).indexOf(s.EOL);}return n;}catch(e){return this._debug("error processing line. Failed with error "+e),"";}}_getSpawnFileName(){return d&&this._isCmdFile()?process.env.COMSPEC||"cmd.exe":this.toolPath;}_getSpawnArgs(e){if(d&&this._isCmdFile()){let t='/D /S /C "'+this._windowsQuoteCmdArg(this.toolPath);for(let r of this.args)t+=" "+(e.windowsVerbatimArguments?r:this._windowsQuoteCmdArg(r));return[t+='"'];}return this.args;}_endsWith(e,t){return e.endsWith(t);}_isCmdFile(){let 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'""';let t=[" "," ","&","(",")","[","]","{","}","^","=",";","!","'","+",",","`","~","|","<",">",'"'],r=!1;for(let n of e)if(t.some(e=>e===n)){r=!0;break;}if(!r)return e;let n='"',i=!0;for(let t=e.length;t>0;t--)n+=e[t-1],i&&"\\"===e[t-1]?n+="\\":'"'===e[t-1]?(i=!0,n+='"'):i=!1;return(n+='"').split("").reverse().join("");}_uvQuoteCmdArg(e){if(!e)return'""';if(!e.includes(" ")&&!e.includes(" ")&&!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+='"').split("").reverse().join("");}_cloneExecOptions(e){let 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){e=e||{};let r={};return r.cwd=e.cwd,r.env=e.env,r.windowsVerbatimArguments=e.windowsVerbatimArguments||this._isCmdFile(),e.windowsVerbatimArguments&&(r.argv0=`"${t}"`),r;}exec(){return o(this,void 0,void 0,function*(){return!p.isRooted(this.toolPath)&&(this.toolPath.includes("/")||d&&this.toolPath.includes("\\"))&&(this.toolPath=c.resolve(process.cwd(),this.options.cwd||process.cwd(),this.toolPath)),this.toolPath=yield u.which(this.toolPath,!0),new Promise((e,t)=>o(this,void 0,void 0,function*(){for(let e of(this._debug("exec tool: "+this.toolPath),this._debug("arguments:"),this.args))this._debug(" "+e);let r=this._cloneExecOptions(this.options);!r.silent&&r.outStream&&r.outStream.write(this._getCommandString(r)+s.EOL);let n=new h(r,this.toolPath);if(n.on("debug",e=>{this._debug(e);}),this.options.cwd&&!(yield p.exists(this.options.cwd)))return t(Error(`The cwd: ${this.options.cwd} does not exist!`));let i=this._getSpawnFileName(),o=l.spawn(i,this._getSpawnArgs(r),this._getSpawnOptions(this.options,i)),a="";o.stdout&&o.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 c="";if(o.stderr&&o.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),c=this._processLineBuffer(e,c,e=>{this.options.listeners&&this.options.listeners.errline&&this.options.listeners.errline(e);});}),o.on("error",e=>{n.processError=e.message,n.processExited=!0,n.processClosed=!0,n.CheckComplete();}),o.on("exit",e=>{n.processExitCode=e,n.processExited=!0,this._debug(`Exit code ${e} received from tool '${this.toolPath}'`),n.CheckComplete();}),o.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),c.length>0&&this.emit("errline",c),o.removeAllListeners(),r?t(r):e(n);}),this.options.input){if(!o.stdin)throw Error("child process missing stdin");o.stdin.end(this.options.input);}}));});}}e.exports.ToolRunner=f,e.exports.argStringToArray=function(e){function t(e){i&&'"'!==e&&(o+="\\"),o+=e,i=!1;}let r=[],n=!1,i=!1,o="";for(let s=0;s0&&(r.push(o),o="");continue;}t(a);}return o.length>0&&r.push(o.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=re.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){if(!e.done){if(!e.processClosed&&e.processExited){let t=`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._debug(t);}e._setResult();}}}}),rg("4JiFg",function(e,t){e.exports=Promise.resolve(require("./actions_python.6be0dfa4.js")).then(()=>rv("4kQHk"));}),rE=rv("52cQ1"),ry=rv("ER74K"),rw=rv("iWDmx"),function(){rv("eCDnw").addLocale("en",function(e){var t=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return("string"==typeof e&&(e=parseInt(e,10)),1===t&&0===r)?"one":"other";});}.call(rx={}),rb={},rb=rv("gMm9F"),rR={},rR={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"}}}};const nQ=c(rt).homedir();rI={},l(rS={},"isexe",()=>im),l(rS,"sync",()=>iv),nW.promises;const{access:nZ,appendFile:n0,chmod:n1,chown:n2,copyFile:n4,lchmod:n3,lchown:n6,link:n5,lstat:n8,mkdir:n7,mkdtemp:n9,open:ie,readdir:it,readFile:ir,readlink:ii,realpath:io,rename:is,rmdir:ia,stat:il,symlink:ic,truncate:iu,unlink:ip,utimes:id,writeFile:ih}=nW.promises,im=async(e,t={})=>{let{ignoreErrors:r=!1}=t;try{return ig(await il(e),t);}catch(e){if(r||"EACCES"===e.code)return!1;throw e;}},iv=(e,t={})=>{let{ignoreErrors:r=!1}=t;try{return ig((0,nW.statSync)(e),t);}catch(e){if(r||"EACCES"===e.code)return!1;throw e;}},ig=(e,t)=>e.isFile()&&iE(e,t),iE=(e,t)=>{let r=t.uid??process.getuid?.(),n=t.groups??process.getgroups?.()??[],i=t.gid??process.getgid?.()??n[0];if(void 0===r||void 0===i)throw Error("cannot get uid or gid");let o=new Set([i,...n]),s=e.mode,a=e.uid,l=e.gid,c=parseInt("100",8),u=parseInt("010",8);return!!(s&parseInt("001",8)||s&u&&o.has(l)||s&c&&a===r||s&(c|u)&&0===r);};l(rO={},"isexe",()=>iy),l(rO,"sync",()=>iw);const iy=async(e,t={})=>{let{ignoreErrors:r=!1}=t;try{return ib(await il(e),e,t);}catch(e){if(r||"EACCES"===e.code)return!1;throw e;}},iw=(e,t={})=>{let{ignoreErrors:r=!1}=t;try{return ib((0,nW.statSync)(e),e,t);}catch(e){if(r||"EACCES"===e.code)return!1;throw e;}},ix=(e,t)=>{let{pathExt:r=process.env.PATHEXT||""}=t,n=r.split(";");if(-1!==n.indexOf(""))return!0;for(let t=0;te.isFile()&&ix(t,r),iR="win32"===(process.env._ISEXE_TEST_PLATFORM_||process.platform)?rO:rS,iI=iR.isexe,iS=iR.sync;rT=nX.join,rC=nX.delimiter,r$=nX.sep,rA=nX.posix;const iO="win32"===process.platform,iT=new RegExp(`[${rA.sep}${r$===rA.sep?"":r$}]`.replace(/(\\)/g,"\\$1")),iC=RegExp("^\\."+iT.source),i$=e=>Object.assign(Error("not found: "+e),{code:"ENOENT"}),iA=(e,{path:t=process.env.PATH,pathExt:r=process.env.PATHEXT,delimiter:n=rC})=>{let i=e.match(iT)?[""]:[...(iO?[process.cwd()]:[]),...(t||"").split(n)];if(iO){let t=r||[".EXE",".CMD",".BAT",".COM"].join(n),o=t.split(n).flatMap(e=>[e,e.toLowerCase()]);return e.includes(".")&&""!==o[0]&&o.unshift(""),{pathEnv:i,pathExt:o,pathExtExe:t};}return{pathEnv:i,pathExt:[""]};},i_=(e,t)=>{let r=/^".*"$/.test(e)?e.slice(1,-1):e;return(!r&&iC.test(t)?t.slice(0,2):"")+rT(r,t);},iN=async(e,t={})=>{let{pathEnv:r,pathExt:n,pathExtExe:i}=iA(e,t),o=[];for(let s of r){let r=i_(s,e);for(let e of n){let n=r+e;if(await iI(n,{pathExt:i,ignoreErrors:!0})){if(!t.all)return n;o.push(n);}}}if(t.all&&o.length)return o;if(t.nothrow)return null;throw i$(e);};rI=iN,iN.sync=(e,t={})=>{let{pathEnv:r,pathExt:n,pathExtExe:i}=iA(e,t),o=[];for(let s of r){let r=i_(s,e);for(let e of n){let n=r+e;if(iS(n,{pathExt:i,ignoreErrors:!0})){if(!t.all)return n;o.push(n);}}}if(t.all&&o.length)return o;if(t.nothrow)return null;throw i$(e);},r_={},rN={},rP={},rL={};const iP="win32"===process.platform||"cygwin"===process.env.OSTYPE||"msys"===process.env.OSTYPE,iL=iP?";":":";rD={},rk="win32"===process.platform||rf.TESTING_WINDOWS?rv("bGwAu"):rv("d3qS7"),rD=u,u.sync=function(e,t){try{return rk.sync(e,t||{});}catch(e){if(t&&t.ignoreErrors||"EACCES"===e.code)return!1;throw e;}};const iD=e=>Object.assign(Error("not found: "+e),{code:"ENOENT"}),ik=(e,t)=>{let r=t.colon||iL,n=e.match(/\//)||iP&&e.match(/\\/)?[""]:[...(iP?[process.cwd()]:[]),...(t.path||process.env.PATH||"").split(r)],i=iP?t.pathExt||process.env.PATHEXT||".EXE;.CMD;.BAT;.COM":"",o=iP?i.split(r):[""];return iP&&-1!==e.indexOf(".")&&""!==o[0]&&o.unshift(""),{pathEnv:n,pathExt:o,pathExtExe:i};},iU=(e,t,r)=>{"function"==typeof t&&(r=t,t={}),t||(t={});let{pathEnv:n,pathExt:i,pathExtExe:o}=ik(e,t),s=[],a=r=>new Promise((i,o)=>{if(r===n.length)return t.all&&s.length?i(s):o(iD(e));let a=n[r],c=/^".*"$/.test(a)?a.slice(1,-1):a,u=nX.join(c,e);i(l(!c&&/^\.[\\\/]/.test(e)?e.slice(0,2)+u:u,r,0));}),l=(e,r,n)=>new Promise((c,u)=>{if(n===i.length)return c(a(r+1));let p=i[n];rD(e+p,{pathExt:o},(i,o)=>{if(!i&&o){if(!t.all)return c(e+p);s.push(e+p);}return c(l(e,r,n+1));});});return r?a(0).then(e=>r(null,e),r):a(0);};rL=iU,iU.sync=(e,t)=>{let{pathEnv:r,pathExt:n,pathExtExe:i}=ik(e,t=t||{}),o=[];for(let s=0;s{let t=e.env||process.env;return"win32"!==(e.platform||process.platform)?"PATH":Object.keys(t).reverse().find(e=>"PATH"===e.toUpperCase())||"Path";};(rU=ij).default=ij,rP=function(e){return p(e)||p(e,!0);};rj={},rM={},rF={},rF=/^#!(.*)/,rM=(e="")=>{let t=e.match(rF);if(!t)return null;let[r,n]=t[0].replace(/#! ?/,"").split(" "),i=r.split("/").pop();return"env"===i?n:n?`${i} ${n}`:i;},rj=function(e){let t;let r=Buffer.alloc(150);try{t=nW.openSync(e,"r"),nW.readSync(t,r,0,150,0),nW.closeSync(t);}catch(e){}return rM(r.toString());};const iM="win32"===process.platform;rN=function(e,t,r){t&&!Array.isArray(t)&&(r=t,t=null);let 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:function(e){if(!iM)return e;let t=function(e){e.file=rP(e);let t=e.file&&rj(e.file);return t?(e.args.unshift(e.file),e.command=t,rP(e)):e.file;}(e),r=!/\.(?:com|exe)$/i.test(t);if(e.options.forceShell||r){var n;let r=/node_modules[\\/].bin[\\/][^\\/]+\.cmd$/i.test(t);e.command=nX.normalize(e.command),e.command=n=(n=e.command).replace(/([()\][%!^"`<>&|;, *?])/g,"^$1"),e.args=e.args.map(e=>{var t,n;return t=e,n=r,t=(t=(t=""+t).replace(/(\\*)"/g,'$1$1\\"')).replace(/(\\*)$/,"$1$1"),t=(t=`"${t}"`).replace(/([()\][%!^"`<>&|;, *?])/g,"^$1"),n&&(t=t.replace(/([()\][%!^"`<>&|;, *?])/g,"^$1")),t;});let i=[e.command].concat(e.args).join(" ");e.args=["/d","/s","/c",`"${i}"`],e.command=process.env.comspec||"cmd.exe",e.options.windowsVerbatimArguments=!0;}return e;}(n);},rG={};const iF="win32"===process.platform;rG={hookChildProcess:function(e,t){if(!iF)return;let r=e.emit;e.emit=function(n,i){if("exit"===n){let n=f(i,t,"spawn");if(n)return r.call(e,"error",n);}return r.apply(e,arguments);};},verifyENOENT:f,verifyENOENTSync:function(e,t){return iF&&1===e&&!t.file?d(t.original,"spawnSync"):null;},notFoundError:d},(r_=h).spawn=h,r_.sync=function(e,t,r){let n=rN(e,t,r),i=t7.spawnSync(n.command,n.args,n.options);return i.error=i.error||rG.verifyENOENTSync(i.status,n),i;},r_._parse=rN,r_._enoent=rG;const iG=(e,t,r,n)=>{if("length"===r||"prototype"===r||"arguments"===r||"caller"===r)return;let i=Object.getOwnPropertyDescriptor(e,r),o=Object.getOwnPropertyDescriptor(t,r);(iB(i,o)||!n)&&Object.defineProperty(e,r,o);},iB=function(e,t){return void 0===e||e.configurable||e.writable===t.writable&&e.enumerable===t.enumerable&&e.configurable===t.configurable&&(e.writable||e.value===t.value);},iH=(e,t)=>{let r=Object.getPrototypeOf(t);r!==Object.getPrototypeOf(e)&&Object.setPrototypeOf(e,r);},iq=(e,t)=>`/* Wrapped ${e}*/ +${t}`,iV=Object.getOwnPropertyDescriptor(Function.prototype,"toString"),iz=Object.getOwnPropertyDescriptor(Function.prototype.toString,"name"),iX=(e,t,r)=>{let n=""===r?"":`with ${r.trim()}() `,i=iq.bind(null,n,t.toString());Object.defineProperty(i,"name",iz),Object.defineProperty(e,"toString",{...iV,value:i});},iW=new WeakMap(),iK=(e,t={})=>{let r;if("function"!=typeof e)throw TypeError("Expected a function");let n=0,i=e.displayName||e.name||"",o=function(...s){if(iW.set(o,++n),1===n)r=e.apply(this,s),e=null;else if(!0===t.throw)throw Error(`Function \`${i}\` can only be called once`);return r;};return!function(e,t,{ignoreNonConfigurable:r=!1}={}){let{name:n}=e;for(let n of Reflect.ownKeys(t))iG(e,t,n,r);iH(e,t),iX(e,t,n);}(o,e),iW.set(o,n),o;};iK.callCount=e=>{if(!iW.has(e))throw Error(`The given function \`${e.name}\` is not wrapped by the \`onetime\` package`);return iW.get(e);},rB=iK;const iY=()=>Array.from({length:iZ-iQ+1},iJ),iJ=(e,t)=>({name:"SIGRT"+(t+1),number:iQ+t,action:"terminate",description:"Application-specific signal (realtime)",standard:"posix"}),iQ=34,iZ=64,i0=[{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"}],i1=()=>[...i0,...iY()].map(i2),i2=({name:e,number:t,description:r,action:n,forced:i=!1,standard:o})=>{let{signals:{[e]:s}}=rt.constants,a=void 0!==s;return{name:e,number:a?s:t,description:r,supported:a,action:n,forced:i,standard:o};},i4=Object.fromEntries(i1().map(({name:e,number:t,description:r,supported:n,action:i,forced:o,standard:s})=>[e,{name:e,number:t,description:r,supported:n,action:i,forced:o,standard:s}])),i3=(e,t)=>{let r=i6(e,t);if(void 0===r)return{};let{name:n,description:i,supported:o,action:s,forced:a,standard:l}=r;return{[e]:{name:n,number:e,description:i,supported:o,action:s,forced:a,standard:l}};},i6=(e,t)=>{let r=t.find(({name:t})=>rt.constants.signals[t]===e);return void 0!==r?r:t.find(t=>t.number===e);};(()=>{let e=i1();return Object.assign({},...Array.from({length:iZ+1},(t,r)=>i3(r,e)));})();const i5=({timedOut:e,timeout:t,errorCode:r,signal:n,signalDescription:i,exitCode:o,isCanceled:s})=>e?`timed out after ${t} milliseconds`:s?"was canceled":void 0!==r?"failed with "+r:void 0!==n?`was killed with ${n} (${i})`:void 0!==o?"failed with exit code "+o:"failed",i8=({stdout:e,stderr:t,all:r,error:n,signal:i,exitCode:o,command:s,escapedCommand:a,timedOut:l,isCanceled:u,killed:p,parsed:{options:{timeout:d,cwd:f=c(ro).cwd()}}})=>{o=null===o?void 0:o;let h=void 0===(i=null===i?void 0:i)?void 0:i4[i].description,m=i5({timedOut:l,timeout:d,errorCode:n&&n.code,signal:i,signalDescription:h,exitCode:o,isCanceled:u}),v=`Command ${m}: ${s}`,g="[object Error]"===Object.prototype.toString.call(n),E=g?`${v} +${n.message}`:v,y=[E,t,e].filter(Boolean).join("\n");return g?(n.originalMessage=n.message,n.message=y):n=Error(y),n.shortMessage=E,n.command=s,n.escapedCommand=a,n.exitCode=o,n.signal=i,n.signalDescription=h,n.stdout=e,n.stderr=t,n.cwd=f,void 0!==r&&(n.all=r),"bufferedData"in n&&delete n.bufferedData,n.failed=!0,n.timedOut=!!l,n.isCanceled=u,n.killed=p&&!l,n;},i7=["stdin","stdout","stderr"],i9=e=>i7.some(t=>void 0!==e[t]),oe=e=>{if(!e)return;let{stdio:t}=e;if(void 0===t)return i7.map(t=>e[t]);if(i9(e))throw Error("It's not possible to provide `stdio` in combination with one of "+i7.map(e=>`\`${e}\``).join(", "));if("string"==typeof t)return t;if(!Array.isArray(t))throw TypeError(`Expected \`stdio\` to be of type \`string\` or \`Array\`, got \`${typeof t}\``);return Array.from({length:Math.max(t.length,i7.length)},(e,r)=>t[r]);};rH={};const ot=function(e){return 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(ot(rq=rf.process)){var or,on=t6,oi=rv("e1Rfe"),oo=/^win/i.test(rq.platform),os=t3;"function"!=typeof os&&(os=os.EventEmitter),rq.__signal_exit_emitter__?or=rq.__signal_exit_emitter__:((or=rq.__signal_exit_emitter__=new os()).count=0,or.emitted={}),or.infinite||(or.setMaxListeners(1/0),or.infinite=!0);var oa=function(){ou&&ot(rf.process)&&(ou=!1,oi.forEach(function(e){try{rq.removeListener(e,oc[e]);}catch(e){}}),rq.emit=oh,rq.reallyExit=od,or.count-=1);};(rH=function(e,t){if(!ot(rf.process))return function(){};on.equal(typeof e,"function","a callback must be provided for exit handler"),!1===ou&&op();var r="exit";return t&&t.alwaysLast&&(r="afterexit"),or.on(r,e),function(){or.removeListener(r,e),0===or.listeners("exit").length&&0===or.listeners("afterexit").length&&oa();};}).unload=oa;var ol=function(e,t,r){or.emitted[e]||(or.emitted[e]=!0,or.emit(e,t,r));},oc={};oi.forEach(function(e){oc[e]=function(){ot(rf.process)&&rq.listeners(e).length===or.count&&(oa(),ol("exit",null,e),ol("afterexit",null,e),oo&&"SIGHUP"===e&&(e="SIGINT"),rq.kill(rq.pid,e));};}),rH.signals=function(){return oi;};var ou=!1,op=function(){!ou&&ot(rf.process)&&(ou=!0,or.count+=1,oi=oi.filter(function(e){try{return rq.on(e,oc[e]),!0;}catch(e){return!1;}}),rq.emit=om,rq.reallyExit=of);};rH.load=op;var od=rq.reallyExit,of=function(e){ot(rf.process)&&(rq.exitCode=e||0,ol("exit",rq.exitCode,null),ol("afterexit",rq.exitCode,null),od.call(rq,rq.exitCode));},oh=rq.emit,om=function(e,t){if(!("exit"===e&&ot(rf.process)))return oh.apply(this,arguments);void 0!==t&&(rq.exitCode=t);var r=oh.apply(this,arguments);return ol("exit",rq.exitCode,null),ol("afterexit",rq.exitCode,null),r;};}else rH=function(){return function(){};};const ov=(e,t="SIGTERM",r={})=>{let n=e(t);return og(e,t,r,n),n;},og=(e,t,r,n)=>{if(!oE(t,r,n))return;let i=setTimeout(()=>{e("SIGKILL");},ow(r));i.unref&&i.unref();},oE=(e,{forceKillAfterTimeout:t},r)=>oy(e)&&!1!==t&&r,oy=e=>e===c(rt).constants.signals.SIGTERM||"string"==typeof e&&"SIGTERM"===e.toUpperCase(),ow=({forceKillAfterTimeout:e=!0})=>{if(!0===e)return 5e3;if(!Number.isFinite(e)||e<0)throw TypeError(`Expected the \`forceKillAfterTimeout\` option to be a non-negative integer, got \`${e}\` (${typeof e})`);return e;},ox=(e,t)=>{e.kill()&&(t.isCanceled=!0);},ob=(e,t,r)=>{e.kill(t),r(Object.assign(Error("Timed out"),{timedOut:!0,signal:t}));},oR=(e,{timeout:t,killSignal:r="SIGTERM"},n)=>{let i;return 0===t||void 0===t?n:Promise.race([new Promise((n,o)=>{i=setTimeout(()=>{ob(e,r,o);},t);}),n.finally(()=>{clearTimeout(i);})]);},oI=({timeout:e})=>{if(void 0!==e&&(!Number.isFinite(e)||e<0))throw TypeError(`Expected the \`timeout\` option to be a non-negative integer, got \`${e}\` (${typeof e})`);},oS=async(e,{cleanup:t,detached:r},n)=>{if(!t||r)return n;let i=c(rH)(()=>{e.kill();});return n.finally(()=>{i();});},oO=e=>e instanceof ri.ChildProcess&&"function"==typeof e.then,oT=(e,t,r)=>{if("string"==typeof r)return e[t].pipe((0,t8.createWriteStream)(r)),e;if(y(r))return e[t].pipe(r),e;if(!oO(r))throw TypeError("The second argument must be a string, a stream or an Execa child process.");if(!y(r.stdin))throw TypeError("The target child process's stdin must be available.");return e[t].pipe(r.stdin),r;},oC=e=>{null!==e.stdout&&(e.pipeStdout=oT.bind(void 0,e,"stdout")),null!==e.stderr&&(e.pipeStderr=oT.bind(void 0,e,"stderr")),void 0!==e.all&&(e.pipeAll=oT.bind(void 0,e,"all"));};rV={},rz=ra.constants,rX=t5.promisify,rW={},rK=rl.PassThrough,rW=e=>{let{array:t}=e={...e},{encoding:r}=e,n="buffer"===r,i=!1;t?i=!(r||n):r=r||"utf8",n&&(r=null);let o=new rK({objectMode:i});r&&o.setEncoding(r);let s=0,a=[];return o.on("data",e=>{a.push(e),i?s=a.length:s+=e.length;}),o.getBufferedValue=()=>t?a:n?Buffer.concat(a,s):a.join(""),o.getBufferedLength=()=>s,o;};const o$=rX(rl.pipeline);class oA extends Error{constructor(){super("maxBuffer exceeded"),this.name="MaxBufferError";}}(rV=w).buffer=(e,t)=>w(e,{...t,encoding:"buffer"}),rV.array=(e,t)=>w(e,{...t,array:!0}),rV.MaxBufferError=oA,rY={},rJ=rl.PassThrough,rY=function(){function e(i){return Array.isArray(i)?i.forEach(e):(r.push(i),i.once("end",t.bind(null,i)),i.once("error",n.emit.bind(n,"error")),i.pipe(n,{end:!1})),this;}function t(e){!(r=r.filter(function(t){return t!==e;})).length&&n.readable&&n.end();}var r=[],n=new rJ({objectMode:!0});return n.setMaxListeners(0),n.add=e,n.isEmpty=function(){return 0==r.length;},n.on("unpipe",t),Array.prototype.slice.call(arguments).forEach(e),n;};const o_=e=>{if(void 0!==e)throw TypeError("The `input` and `inputFile` options cannot be both set.");},oN=({input:e,inputFile:t})=>"string"!=typeof t?e:(o_(e),(0,t8.readFileSync)(t)),oP=e=>{let t=oN(e);if(E(t))throw TypeError("The `input` option cannot be a stream in sync mode");return t;},oL=({input:e,inputFile:t})=>"string"!=typeof t?e:(o_(e),(0,t8.createReadStream)(t)),oD=(e,t)=>{let r=oL(t);void 0!==r&&(E(r)?r.pipe(e.stdin):e.stdin.end(r));},ok=(e,{all:t})=>{if(!t||!e.stdout&&!e.stderr)return;let r=c(rY)();return e.stdout&&r.add(e.stdout),e.stderr&&r.add(e.stderr),r;},oU=async(e,t)=>{if(e&&void 0!==t){e.destroy();try{return await t;}catch(e){return e.bufferedData;}}},oj=(e,{encoding:t,buffer:r,maxBuffer:n})=>{if(e&&r)return t?c(rV)(e,{encoding:t,maxBuffer:n}):c(rV).buffer(e,{maxBuffer:n});},oM=async({stdout:e,stderr:t,all:r},{encoding:n,buffer:i,maxBuffer:o},s)=>{let a=oj(e,{encoding:n,buffer:i,maxBuffer:o}),l=oj(t,{encoding:n,buffer:i,maxBuffer:o}),c=oj(r,{encoding:n,buffer:i,maxBuffer:2*o});try{return await Promise.all([s,a,l,c]);}catch(n){return Promise.all([{error:n,signal:n.signal,timedOut:n.timedOut},oU(e,a),oU(t,l),oU(r,c)]);}},oF=(async()=>{})().constructor.prototype,oG=["then","catch","finally"].map(e=>[e,Reflect.getOwnPropertyDescriptor(oF,e)]),oB=(e,t)=>{for(let[r,n]of oG){let i="function"==typeof t?(...e)=>Reflect.apply(n.value,t(),e):n.value.bind(t);Reflect.defineProperty(e,r,{...n,value:i});}},oH=e=>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);});}),oq=(e,t=[])=>Array.isArray(t)?[e,...t]:[e],oV=e=>"string"!=typeof e||/^[\w.-]+$/.test(e)?e:`"${e.replace(/"/g,'\\"')}"`,oz=(e,t)=>oq(e,t).join(" "),oX=(e,t)=>oq(e,t).map(e=>oV(e)).join(" "),oW=e=>{let t=[];for(let r of e.trim().split(/ +/g)){let e=t[t.length-1];e&&e.endsWith("\\")?t[t.length-1]=`${e.slice(0,-1)} ${r}`:t.push(r);}return t;},oK=e=>{let t=typeof e;if("string"===t)return e;if("number"===t)return e+"";if("object"===t&&null!==e&&!(e instanceof ri.ChildProcess)&&"stdout"in e){let t=typeof e.stdout;if("string"===t)return e.stdout;if((0,rr.Buffer).isBuffer(e.stdout))return e.stdout.toString();throw TypeError(`Unexpected "${t}" stdout in template expression`);}throw TypeError(`Unexpected "${t}" in template expression`);},oY=(e,t,r)=>r||0===e.length||0===t.length?[...e,...t]:[...e.slice(0,-1),`${e[e.length-1]}${t[0]}`,...t.slice(1)],oJ=({templates:e,expressions:t,tokens:r,index:n,template:i})=>{let o=i??e.raw[n],s=oY(r,o.split(/ +/g).filter(Boolean),o.startsWith(" "));if(n===t.length)return s;let a=t[n];return oY(s,Array.isArray(a)?a.map(e=>oK(e)):[oK(a)],o.endsWith(" "));},oQ=(e,t)=>{let r=[];for(let[n,i]of e.entries())r=oJ({templates:e,expressions:t,tokens:r,index:n,template:i});return r;},oZ=(0,rc.debuglog)("execa").enabled,o0=(e,t)=>(e+"").padStart(t,"0"),o1=()=>{let e=new Date();return`${o0(e.getHours(),2)}:${o0(e.getMinutes(),2)}:${o0(e.getSeconds(),2)}.${o0(e.getMilliseconds(),3)}`;},o2=(e,{verbose:t})=>{t&&c(ro).stderr.write(`[${o1()}] ${e} +`);},o4=({env:e,extendEnv:t,preferLocal:r,localDir:n,execPath:i})=>{let o=t?{...c(ro).env,...e}:e;return r?g({env:o,cwd:n,execPath:i}):o;},o3=(e,t,r={})=>{let n=c(r_)._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||c(ro).cwd(),execPath:c(ro).execPath,encoding:"utf8",reject:!0,cleanup:!0,all:!1,windowsHide:!0,verbose:oZ,...r}).env=o4(r),r.stdio=oe(r),"win32"===c(ro).platform&&"cmd"===c(rn).basename(e,".exe")&&t.unshift("/q"),{file:e,args:t,options:r,parsed:n};},o6=(e,t,r)=>"string"==typeof t||(0,rr.Buffer).isBuffer(t)?e.stripFinalNewline?m(t):t:void 0===r?void 0:"",o5=({input:e,inputFile:t,stdio:r})=>void 0===e&&void 0===t&&void 0===r?{stdin:"inherit"}:{},o8=(e={})=>({preferLocal:!0,...o5(e),...e});!function e(t){function r(n,...i){if(!Array.isArray(n))return e({...t,...n});let[o,...s]=oQ(n,i);return x(o,s,o8(t));}return r.sync=(e,...r)=>{if(!Array.isArray(e))throw TypeError("Please use $(options).sync`command` instead of $.sync(options)`command`.");let[n,...i]=oQ(e,r);return b(n,i,o8(t));},r;}();const o7={stdio:"inherit",shell:!0};ry=rv("ER74K"),rQ={},rZ=rv("bSUdl"),r0=ru.env.npm_package_json,r2=!!((r1=ru.env.npm_config_user_agent)&&r1.startsWith("npm")),r4=!!(r0&&r0.endsWith("package.json")),r3=!!(r1&&r1.startsWith("yarn")),r6=r2||r4||r3,r5=nz.homedir(),r8=process.env.XDG_CONFIG_HOME||nX.join(r5,".config","simple-update-notifier"),r7=function(e){return nX.join(r8,"".concat(e.replace("@","").replace("/","__"),".json"));},r9=function(){nW.existsSync(r8)||nW.mkdirSync(r8,{recursive:!0});},ne=function(e){var t=r7(e);try{if(!nW.existsSync(t))return;return JSON.parse(nW.readFileSync(t,"utf8")).lastUpdateCheck;}catch(e){return;}},nt=function(e){var t=r7(e);nW.writeFileSync(t,JSON.stringify({lastUpdateCheck:new Date().getTime()}));},nr=function(e){var t=e.pkg,r=e.updateCheckInterval,n=void 0===r?864e5:r,i=e.distTag,o=void 0===i?"latest":i,s=e.alwaysRun,a=e.debug;return A(void 0,void 0,void 0,function(){var e,r;return _(this,function(i){switch(i.label){case 0:var l;if(r9(),e=ne(t.name),!(s||!e||ee?`timed out after ${t} milliseconds`:s?"was canceled":void 0!==r?"failed with "+r:void 0!==n?`was killed with ${n} (${i})`:void 0!==o?"failed with exit code "+o:"failed",se=({stdout:e,stderr:t,all:r,error:n,signal:i,exitCode:o,command:s,escapedCommand:a,timedOut:l,isCanceled:c,killed:u,parsed:{options:{timeout:p}}})=>{o=null===o?void 0:o;let d=void 0===(i=null===i?void 0:i)?void 0:i4[i].description,f=o9({timedOut:l,timeout:p,errorCode:n&&n.code,signal:i,signalDescription:d,exitCode:o,isCanceled:c}),h=`Command ${f}: ${s}`,m="[object Error]"===Object.prototype.toString.call(n),v=m?`${h} +${n.message}`:h,g=[v,t,e].filter(Boolean).join("\n");return m?(n.originalMessage=n.message,n.message=g):n=Error(g),n.shortMessage=v,n.command=s,n.escapedCommand=a,n.exitCode=o,n.signal=i,n.signalDescription=d,n.stdout=e,n.stderr=t,void 0!==r&&(n.all=r),"bufferedData"in n&&delete n.bufferedData,n.failed=!0,n.timedOut=!!l,n.isCanceled=c,n.killed=u&&!l,n;},st=["stdin","stdout","stderr"],sr=e=>st.some(t=>void 0!==e[t]),sn=e=>{if(!e)return;let{stdio:t}=e;if(void 0===t)return st.map(t=>e[t]);if(sr(e))throw Error("It's not possible to provide `stdio` in combination with one of "+st.map(e=>`\`${e}\``).join(", "));if("string"==typeof t)return t;if(!Array.isArray(t))throw TypeError(`Expected \`stdio\` to be of type \`string\` or \`Array\`, got \`${typeof t}\``);return Array.from({length:Math.max(t.length,st.length)},(e,r)=>t[r]);},si=(e,t="SIGTERM",r={})=>{let n=e(t);return so(e,t,r,n),n;},so=(e,t,r,n)=>{if(!ss(t,r,n))return;let i=setTimeout(()=>{e("SIGKILL");},sl(r));i.unref&&i.unref();},ss=(e,{forceKillAfterTimeout:t},r)=>sa(e)&&!1!==t&&r,sa=e=>e===c(rt).constants.signals.SIGTERM||"string"==typeof e&&"SIGTERM"===e.toUpperCase(),sl=({forceKillAfterTimeout:e=!0})=>{if(!0===e)return 5e3;if(!Number.isFinite(e)||e<0)throw TypeError(`Expected the \`forceKillAfterTimeout\` option to be a non-negative integer, got \`${e}\` (${typeof e})`);return e;},sc=(e,t)=>{e.kill()&&(t.isCanceled=!0);},su=(e,t,r)=>{e.kill(t),r(Object.assign(Error("Timed out"),{timedOut:!0,signal:t}));},sp=(e,{timeout:t,killSignal:r="SIGTERM"},n)=>{let i;return 0===t||void 0===t?n:Promise.race([new Promise((n,o)=>{i=setTimeout(()=>{su(e,r,o);},t);}),n.finally(()=>{clearTimeout(i);})]);},sd=({timeout:e})=>{if(void 0!==e&&(!Number.isFinite(e)||e<0))throw TypeError(`Expected the \`timeout\` option to be a non-negative integer, got \`${e}\` (${typeof e})`);},sf=async(e,{cleanup:t,detached:r},n)=>{if(!t||r)return n;let i=c(rH)(()=>{e.kill();});return n.finally(()=>{i();});},sh=e=>e instanceof ri.ChildProcess&&"function"==typeof e.then,sm=(e,t,r)=>{if("string"==typeof r)return e[t].pipe((0,t8.createWriteStream)(r)),e;if(y(r))return e[t].pipe(r),e;if(!sh(r))throw TypeError("The second argument must be a string, a stream or an Execa child process.");if(!y(r.stdin))throw TypeError("The target child process's stdin must be available.");return e[t].pipe(r.stdin),r;},sv=e=>{null!==e.stdout&&(e.pipeStdout=sm.bind(void 0,e,"stdout")),null!==e.stderr&&(e.pipeStderr=sm.bind(void 0,e,"stderr")),void 0!==e.all&&(e.pipeAll=sm.bind(void 0,e,"all"));},sg=e=>{if(void 0!==e)throw TypeError("The `input` and `inputFile` options cannot be both set.");},sE=({input:e,inputFile:t})=>"string"!=typeof t?e:(sg(e),(0,t8.readFileSync)(t)),sy=e=>{let t=sE(e);if(E(t))throw TypeError("The `input` option cannot be a stream in sync mode");return t;},sw=({input:e,inputFile:t})=>"string"!=typeof t?e:(sg(e),(0,t8.createReadStream)(t)),sx=(e,t)=>{let r=sw(t);void 0!==r&&(E(r)?r.pipe(e.stdin):e.stdin.end(r));},sb=(e,{all:t})=>{if(!t||!e.stdout&&!e.stderr)return;let r=c(rY)();return e.stdout&&r.add(e.stdout),e.stderr&&r.add(e.stderr),r;},sR=async(e,t)=>{if(e&&void 0!==t){e.destroy();try{return await t;}catch(e){return e.bufferedData;}}},sI=(e,{encoding:t,buffer:r,maxBuffer:n})=>{if(e&&r)return t?c(rV)(e,{encoding:t,maxBuffer:n}):c(rV).buffer(e,{maxBuffer:n});},sS=async({stdout:e,stderr:t,all:r},{encoding:n,buffer:i,maxBuffer:o},s)=>{let a=sI(e,{encoding:n,buffer:i,maxBuffer:o}),l=sI(t,{encoding:n,buffer:i,maxBuffer:o}),c=sI(r,{encoding:n,buffer:i,maxBuffer:2*o});try{return await Promise.all([s,a,l,c]);}catch(n){return Promise.all([{error:n,signal:n.signal,timedOut:n.timedOut},sR(e,a),sR(t,l),sR(r,c)]);}},sO=(async()=>{})().constructor.prototype,sT=["then","catch","finally"].map(e=>[e,Reflect.getOwnPropertyDescriptor(sO,e)]),sC=(e,t)=>{for(let[r,n]of sT){let i="function"==typeof t?(...e)=>Reflect.apply(n.value,t(),e):n.value.bind(t);Reflect.defineProperty(e,r,{...n,value:i});}},s$=e=>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);});}),sA=(e,t=[])=>Array.isArray(t)?[e,...t]:[e],s_=e=>"string"!=typeof e||/^[\w.-]+$/.test(e)?e:`"${e.replace(/"/g,'\\"')}"`,sN=(e,t)=>sA(e,t).join(" "),sP=(e,t)=>sA(e,t).map(e=>s_(e)).join(" "),sL=e=>{let t=typeof e;if("string"===t)return e;if("number"===t)return e+"";if("object"===t&&null!==e&&!(e instanceof ri.ChildProcess)&&"stdout"in e){let t=typeof e.stdout;if("string"===t)return e.stdout;if((0,rr.Buffer).isBuffer(e.stdout))return e.stdout.toString();throw TypeError(`Unexpected "${t}" stdout in template expression`);}throw TypeError(`Unexpected "${t}" in template expression`);},sD=(e,t,r)=>r||0===e.length||0===t.length?[...e,...t]:[...e.slice(0,-1),`${e[e.length-1]}${t[0]}`,...t.slice(1)],sk=({templates:e,expressions:t,tokens:r,index:n,template:i})=>{let o=i??e.raw[n],s=sD(r,o.split(/ +/g).filter(Boolean),o.startsWith(" "));if(n===t.length)return s;let a=t[n];return sD(s,Array.isArray(a)?a.map(e=>sL(e)):[sL(a)],o.endsWith(" "));},sU=(e,t)=>{let r=[];for(let[n,i]of e.entries())r=sk({templates:e,expressions:t,tokens:r,index:n,template:i});return r;},sj=(0,rc.debuglog)("execa").enabled,sM=(e,t)=>(e+"").padStart(t,"0"),sF=()=>{let e=new Date();return`${sM(e.getHours(),2)}:${sM(e.getMinutes(),2)}:${sM(e.getSeconds(),2)}.${sM(e.getMilliseconds(),3)}`;},sG=(e,{verbose:t})=>{t&&c(ro).stderr.write(`[${sF()}] ${e} +`);},sB=({env:e,extendEnv:t,preferLocal:r,localDir:n,execPath:i})=>{let o=t?{...c(ro).env,...e}:e;return r?g({env:o,cwd:n,execPath:i}):o;},sH=(e,t,r={})=>{let n=c(r_)._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||c(ro).cwd(),execPath:c(ro).execPath,encoding:"utf8",reject:!0,cleanup:!0,all:!1,windowsHide:!0,verbose:sj,...r}).env=sB(r),r.stdio=sn(r),"win32"===c(ro).platform&&"cmd"===c(rn).basename(e,".exe")&&t.unshift("/q"),{file:e,args:t,options:r,parsed:n};},sq=(e,t,r)=>"string"==typeof t||(0,rr.Buffer).isBuffer(t)?e.stripFinalNewline?m(t):t:void 0===r?void 0:"",sV=({input:e,inputFile:t,stdio:r})=>void 0===e&&void 0===t&&void 0===r?{stdin:"inherit"}:{},sz=(e={})=>({preferLocal:!0,...sV(e),...e});!function e(t){function r(n,...i){if(!Array.isArray(n))return e({...t,...n});let[o,...s]=sU(n,i);return L(o,s,sz(t));}return r.sync=(e,...r)=>{if(!Array.isArray(e))throw TypeError("Please use $(options).sync`command` instead of $.sync(options)`command`.");let[n,...i]=sU(e,r);return function(e,t,r){let n;let i=sH(e,t,r),o=sN(e,t),s=sP(e,t);sG(s,i.options);let a=sy(i.options);try{n=c(ri).spawnSync(i.file,i.args,{...i.options,input:a});}catch(e){throw se({error:e,stdout:"",stderr:"",all:"",command:o,escapedCommand:s,parsed:i,timedOut:!1,isCanceled:!1,killed:!1});}let l=sq(i.options,n.stdout,n.error),u=sq(i.options,n.stderr,n.error);if(n.error||0!==n.status||null!==n.signal){let e=se({stdout:l,stderr:u,error:n.error,signal:n.signal,exitCode:n.status,command:o,escapedCommand:s,parsed:i,timedOut:n.error&&"ETIMEDOUT"===n.error.code,isCanceled:!1,killed:null!==n.signal});if(!i.options.reject)return e;throw e;}return{command:o,escapedCommand:s,exitCode:0,stdout:l,stderr:u,failed:!1,timedOut:!1,isCanceled:!1,killed:!1};}(n,i,sz(t));},r;}(),ns={};const sX="win32"!==nz.platform(),sW=nz.release(),sK=(e="",t="")=>/1\d+\.\d+/.test(e)&&+t>=17134.1184;ns=function(e){return sX?e.replace(/(\s+)/g,"\\$1"):sK(.../(\d+\.\d+)\.(\d+)/.exec(sW).splice(1))?e:e.replace(/(\s+)/g,"%20");},function(){var e,t;e=rv("i8A01"),t=function(e){return e.split("").reverse().join("");},na=function(r,n,i){var o;return(null==n&&(n="'"),null==i&&(i="\\"),"string"!=typeof r)?r:(o=RegExp("(["+e(n)+"])(?!"+e(i)+")","g"),t(t(r).replace(o,"$1"+i)));};}.call(na={}),nl=rv("kY0n1");const sY={shouldEscapeSpace:!1,shouldAddOnlyIfNotDefined:!1},sJ=[/\/usr\/bin\/?/,/\/usr\/local\/bin\/?/],sQ=$(".cpprc");let sZ=!1;nl=rv("kY0n1"),nc=rv("iNGpn"),ry=rv("ER74K");const{appendFile:s0}=nW.promises;let s1=!1,s2=!1;const s4=["E: Could not get lock","dpkg: error processing archive","dpkg: error: dpkg status database is locked by another process"];(t1=nu||(nu={}))[t1.NameDashVersion=0]="NameDashVersion",t1[t1.NameEqualsVersion=1]="NameEqualsVersion",t1[t1.Name=2]="Name",t1[t1.None=3]="None",no=rv("4t50X"),np=rv("bzNgi"),np=rv("bzNgi"),nd=rv("hZdK0");let s3=!1;nl=rv("kY0n1"),np=rv("bzNgi"),ry=rv("ER74K");let s6=!1;ry=rv("ER74K"),ry=rv("ER74K");let s5=!1,s8=!1;const s7=/Version\s*:\s*(.*)/g;nf={},nh=nX.resolve(__dirname,"../../node_modules/@actions/tool-cache/lib"),nm=nf&&nf.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r];}});}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r];}),nv=nf&&nf.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),ng=nf&&nf.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.hasOwnProperty.call(e,r)&&nm(t,e,r);return nv(t,e),t;},nE=nf&&nf.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e));}catch(e){o(e);}}function a(e){try{l(n.throw(e));}catch(e){o(e);}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t);})).then(s,a);}l((n=n.apply(e,t||[])).next());});},ny=nf&&nf.__importDefault||function(e){return e&&e.__esModule?e:{default:e};},Object.defineProperty(nf,"__esModule",{value:!0}),nf.evaluateVersions=nf.isExplicitVersion=nf.findFromManifest=nf.getManifestFromRepo=nf.findAllVersions=nf.find=nf.cacheFile=nf.cacheDir=nf.extractZip=nf.extractXar=nf.extractTar=nf.extract7z=nf.downloadTool=nf.HTTPError=void 0;const s9=ng(rv("4t50X")),ae=ng(rv("hZdK0")),at=ng(nW),ar=ng(rv("42L4Y")),an=ng(nz),ai=ng(nX),ao=ng(rv("a7JAS")),as=ng(rv("lroIv")),aa=ng(rl),al=ng(t5),ac=ny(rv("eAF86"));nw=rv("1f6JF"),nb=(nx={},nx.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r];}});}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r];})),nR=nx&&nx.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t});}:function(e,t){e.default=t;}),nI=nx&&nx.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.hasOwnProperty.call(e,r)&&nb(t,e,r);return nR(t,e),t;},nS=nx&&nx.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e));}catch(e){o(e);}}function a(e){try{l(n.throw(e));}catch(e){o(e);}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t);})).then(s,a);}l((n=n.apply(e,t||[])).next());});},Object.defineProperty(nx,"__esModule",{value:!0}),nx.RetryHelper=void 0;const au=nI(rv("4t50X"));nx.RetryHelper=class{constructor(e,t,r){if(e<1)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 nS(this,void 0,void 0,function*(){let r=1;for(;rsetTimeout(t,1e3*e));});}};class ap extends Error{constructor(e){super("Unexpected HTTP response: "+e),this.httpStatusCode=e,Object.setPrototypeOf(this,new.target.prototype);}}nf.HTTPError=ap;const ad="win32"===process.platform,af="darwin"===process.platform;nf.downloadTool=function(e,t,r,n){return nE(this,void 0,void 0,function*(){t=t||ai.join(ey(),ac.default()),yield ae.mkdirP(ai.dirname(t)),s9.debug("Downloading "+e),s9.debug("Destination "+t);let i=ew("TEST_DOWNLOAD_TOOL_RETRY_MIN_SECONDS",10),o=ew("TEST_DOWNLOAD_TOOL_RETRY_MAX_SECONDS",20),s=new nx.RetryHelper(3,i,o);return yield s.execute(()=>nE(this,void 0,void 0,function*(){return yield function(e,t,r,n){return nE(this,void 0,void 0,function*(){if(at.existsSync(t))throw Error(`Destination file path ${t} already exists`);let i=new ao.HttpClient("actions/tool-cache",[],{allowRetries:!1});r&&(s9.debug("set auth"),void 0===n&&(n={}),n.authorization=r);let o=yield i.get(e,n);if(200!==o.message.statusCode){let t=new ap(o.message.statusCode);throw s9.debug(`Failed to download from "${e}". Code(${o.message.statusCode}) Message(${o.message.statusMessage})`),t;}let s=al.promisify(aa.pipeline),a=ew("TEST_DOWNLOAD_TOOL_RESPONSE_MESSAGE_FACTORY",()=>o.message)(),l=!1;try{return yield s(a,at.createWriteStream(t)),s9.debug("download complete"),l=!0,t;}finally{if(!l){s9.debug("download failed");try{yield ae.rmRF(t);}catch(e){s9.debug(`Failed to delete '${t}'. ${e.message}`);}}}});}(e,t||"",r,n);}),e=>!(e instanceof ap)||!e.httpStatusCode||!(e.httpStatusCode<500)||408===e.httpStatusCode||429===e.httpStatusCode);});},nf.extract7z=function(e,t,r){return nE(this,void 0,void 0,function*(){t6.ok(ad,"extract7z() not supported on current OS"),t6.ok(e,'parameter "file" is required'),t=yield ef(t);let n=process.cwd();if(process.chdir(t),r)try{let t=s9.isDebug()?"-bb1":"-bb0";yield nw.exec(`"${r}"`,["x",t,"-bd","-sccUTF-8",e],{silent:!0});}finally{process.chdir(n);}else{let r=ai.join(nh,"..","scripts","Invoke-7zdec.ps1").replace(/'/g,"''").replace(/"|\n|\r/g,""),i=e.replace(/'/g,"''").replace(/"|\n|\r/g,""),o=t.replace(/'/g,"''").replace(/"|\n|\r/g,""),s=`& '${r}' -Source '${i}' -Target '${o}'`;try{let e=yield ae.which("powershell",!0);yield nw.exec(`"${e}"`,["-NoLogo","-Sta","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",s],{silent:!0});}finally{process.chdir(n);}}return t;});},nf.extractTar=function(e,t,r="xz"){return nE(this,void 0,void 0,function*(){let n;if(!e)throw Error("parameter 'file' is required");t=yield ef(t),s9.debug("Checking tar --version");let i="";yield nw.exec("tar --version",[],{ignoreReturnCode:!0,silent:!0,listeners:{stdout:e=>i+=e.toString(),stderr:e=>i+=e.toString()}}),s9.debug(i.trim());let o=i.toUpperCase().includes("GNU TAR");n=r instanceof Array?r:[r],s9.isDebug()&&!r.includes("v")&&n.push("-v");let s=t,a=e;return ad&&o&&(n.push("--force-local"),s=t.replace(/\\/g,"/"),a=e.replace(/\\/g,"/")),o&&(n.push("--warning=no-unknown-keyword"),n.push("--overwrite")),n.push("-C",s,"-f",a),yield nw.exec("tar",n),t;});},nf.extractXar=function(e,t,r=[]){return nE(this,void 0,void 0,function*(){var n;let i;t6.ok(af,"extractXar() not supported on current OS"),t6.ok(e,'parameter "file" is required'),t=yield ef(t),(i=r instanceof Array?r:[r]).push("-x","-C",t,"-f",e),s9.isDebug()&&i.push("-v");let o=yield ae.which("xar",!0);return yield nw.exec(`"${o}"`,(n=i,Array.from(new Set(n)))),t;});},nf.extractZip=function(e,t){return nE(this,void 0,void 0,function*(){if(!e)throw Error("parameter 'file' is required");return t=yield ef(t),ad?yield function(e,t){return nE(this,void 0,void 0,function*(){let r=e.replace(/'/g,"''").replace(/"|\n|\r/g,""),n=t.replace(/'/g,"''").replace(/"|\n|\r/g,""),i=yield ae.which("pwsh",!1);if(i){let e=`$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 $_ } } ;`;s9.debug("Using pwsh at path: "+i),yield nw.exec(`"${i}"`,["-NoLogo","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",e]);}else{let e=`$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) }`,t=yield ae.which("powershell",!0);s9.debug("Using powershell at path: "+t),yield nw.exec(`"${t}"`,["-NoLogo","-Sta","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",e]);}});}(e,t):yield function(e,t){return nE(this,void 0,void 0,function*(){let r=yield ae.which("unzip",!0),n=[e];s9.isDebug()||n.unshift("-q"),n.unshift("-o"),yield nw.exec(`"${r}"`,n,{cwd:t});});}(e,t),t;});},nf.cacheDir=function(e,t,r,n){return nE(this,void 0,void 0,function*(){if(r=as.clean(r)||r,n=n||an.arch(),s9.debug(`Caching tool ${t} ${r} ${n}`),s9.debug("source dir: "+e),!at.statSync(e).isDirectory())throw Error("sourceDir is not a directory");let i=yield eh(t,r,n);for(let t of at.readdirSync(e)){let r=ai.join(e,t);yield ae.cp(r,i,{recursive:!0});}return em(t,r,n),i;});},nf.cacheFile=function(e,t,r,n,i){return nE(this,void 0,void 0,function*(){if(n=as.clean(n)||n,i=i||an.arch(),s9.debug(`Caching tool ${r} ${n} ${i}`),s9.debug("source file: "+e),!at.statSync(e).isFile())throw Error("sourceFile is not a file");let o=yield eh(r,n,i),s=ai.join(o,t);return s9.debug("destination file "+s),yield ae.cp(e,s),em(r,n,i),o;});},nf.find=function(e,t,r){if(!e)throw Error("toolName parameter is required");if(!t)throw Error("versionSpec parameter is required");r=r||an.arch(),ev(t)||(t=eg(ed(e,r),t));let n="";if(t){t=as.clean(t)||"";let i=ai.join(eE(),e,t,r);s9.debug("checking cache: "+i),at.existsSync(i)&&at.existsSync(`${i}.complete`)?(s9.debug(`Found tool in cache ${e} ${t} ${r}`),n=i):s9.debug("not found");}return n;},nf.findAllVersions=ed,nf.getManifestFromRepo=function(e,t,r,n="master"){return nE(this,void 0,void 0,function*(){let i=[],o=`https://api.github.com/repos/${e}/${t}/git/trees/${n}`,s=new ao.HttpClient("tool-cache"),a={};r&&(s9.debug("set auth"),a.authorization=r);let l=yield s.getJson(o,a);if(!l.result)return i;let c="";for(let e of l.result.tree)if("versions-manifest.json"===e.path){c=e.url;break;}a.accept="application/vnd.github.VERSION.raw";let u=yield(yield s.get(c,a)).readBody();if(u){u=u.replace(/^\uFEFF/,"");try{i=JSON.parse(u);}catch(e){s9.debug("Invalid json");}}return i;});},nf.findFromManifest=function(e,t,r,n=an.arch()){return nE(this,void 0,void 0,function*(){return yield ar._findMatch(e,t,r,n);});},nf.isExplicitVersion=ev,nf.evaluateVersions=eg,nO=rv("8aNoG"),nT=rv("l8hao"),np=rv("bzNgi"),ry=rv("ER74K"),rE=rv("52cQ1"),nl=rv("kY0n1"),Object.defineProperty(nC={},"__esModule",{value:!0}),nC.retryAsPromised=nC.TimeoutError=void 0;class ah extends Error{constructor(e,t){super(e),this.name="TimeoutError",this.previous=t;}}nC.TimeoutError=ah,nC.retryAsPromised=ex,nC.default=ex;let am=!1;np=rv("bzNgi"),nd=rv("hZdK0"),ry=rv("ER74K"),no=rv("4t50X"),nl=rv("kY0n1"),np=rv("bzNgi"),nw=rv("1f6JF"),rE=rv("52cQ1"),ry=rv("ER74K"),n$={isEqual:!0,isMatchingKey:!0,isPromise:!0,maxSize:!0,onCacheAdd:!0,onCacheChange:!0,onCacheHit:!0,transformKey:!0},nA=Array.prototype.slice,n_=function(){function e(e){this.keys=[],this.values=[],this.options=e;var t="function"==typeof e.isMatchingKey;t?this.getKeyIndex=this._getKeyIndexFromMatchingKey:e.maxSize>1?this.getKeyIndex=this._getKeyIndexForMany:this.getKeyIndex=this._getKeyIndexForSingle,this.canTransformKey="function"==typeof e.transformKey,this.shouldCloneArguments=this.canTransformKey||t,this.shouldUpdateOnAdd="function"==typeof e.onCacheAdd,this.shouldUpdateOnChange="function"==typeof e.onCacheChange,this.shouldUpdateOnHit="function"==typeof e.onCacheHit;}return Object.defineProperty(e.prototype,"size",{get:function(){return this.keys.length;},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"snapshot",{get:function(){return{keys:e_(this.keys),size:this.size,values:e_(this.values)};},enumerable:!1,configurable:!0}),e.prototype._getKeyIndexFromMatchingKey=function(e){var t=this.options,r=t.isMatchingKey,n=t.maxSize,i=this.keys,o=i.length;if(!o)return-1;if(r(i[0],e))return 0;if(n>1){for(var s=1;o>s;s++)if(r(i[s],e))return s;}return-1;},e.prototype._getKeyIndexForMany=function(e){var t,r,n=this.options.isEqual,i=this.keys,o=i.length;if(!o)return-1;if(1===o)return this._getKeyIndexForSingle(e);var s=e.length;if(s>1){for(var a=0;o>a;a++)if((t=i[a]).length===s){for(r=0;s>r&&n(t[r],e[r]);r++);if(r===s)return a;}}else for(var a=0;o>a;a++)if((t=i[a]).length===s&&n(t[0],e[0]))return a;return-1;},e.prototype._getKeyIndexForSingle=function(e){var t=this.keys;if(!t.length)return-1;var r=t[0],n=r.length;if(e.length!==n)return-1;var i=this.options.isEqual;if(n>1){for(var o=0;n>o;o++)if(!i(r[o],e[o]))return-1;return 0;}return i(r[0],e[0])?0:-1;},e.prototype.orderByLru=function(e,t,r){for(var n=this.keys,i=this.values,o=n.length,s=r;s--;)n[s+1]=n[s],i[s+1]=i[s];n[0]=e,i[0]=t;var a=this.options.maxSize;o===a&&r===o?(n.pop(),i.pop()):r>=a&&(n.length=i.length=a);},e.prototype.updateAsyncCache=function(e){var t=this,r=this.options,n=r.onCacheChange,i=r.onCacheHit,o=this.keys[0],s=this.values[0];this.values[0]=s.then(function(r){return t.shouldUpdateOnHit&&i(t,t.options,e),t.shouldUpdateOnChange&&n(t,t.options,e),r;},function(e){var r=t.getKeyIndex(o);throw-1!==r&&(t.keys.splice(r,1),t.values.splice(r,1)),e;});},e;}(),np=rv("bzNgi"),nN=e=>{if("string"!=typeof e)return!1;let t=e.trim();if(t.includes(" "))return!1;try{return new rp.URL(t),!0;}catch{return!1;}},nP=async e=>{if(!nN(e))return!1;let t=await eD(e,"HEAD");return!!t||!!(t=await eD(e,"GET"));},nL=rv("3uysP"),nT=rv("l8hao"),nD=rv("l655J"),nw=rv("1f6JF"),ry=rv("ER74K");const av=/v?(\d\S*)/,ag={llvm:eF(),clangtidy:eF(),clangformat:eF(),ninja:"1.11.1",cmake:"3.27.4",gcovr:"6.0",conan:"1.62.0",meson:"1.2.3",kcov:"42",task:"3.31.0",doxygen:ei()?"1.9.8-1":"1.9.8",gcc:ei()?"13.2.1-3":"13"},aE={pip:"22.2.0",python:"3.7.9"},ay={gcc:{22:"13",20:"11",18:"11",16:"11",14:"11"},mingw:{22:"8.0.0-1",20:"7.0.0-2"},llvm:{22:"17.0.5-ubuntu-22.04",20:"17.0.5-ubuntu-22.04",18:"15.0.6-ubuntu-18.04",16:"15.0.6-ubuntu-18.04",14:"13.0.0-ubuntu-16.04"},clangtidy:{22:"17.0.2-ubuntu-22.04",20:"17.0.2-ubuntu-22.04",18:"15.0.6-ubuntu-18.04",16:"15.0.6-ubuntu-18.04",14:"13.0.0-ubuntu-16.04"},clangformat:{22:"17.0.2-ubuntu-22.04",20:"17.0.2-ubuntu-22.04",18:"15.0.6-ubuntu-18.04",16:"15.0.6-ubuntu-18.04",14:"13.0.0-ubuntu-16.04"},gcovr:{22:"6.0",20:"6.0",18:"5.0"},meson:{20:"1.0.0",18:"0.61.4"},nala:{22:"",21:"legacy",20:"legacy",18:"legacy",16:"legacy",14:"legacy"},kcov:{22:"42-binary",20:"40-binary",18:"40",16:"40",14:"40"}};nl=rv("kY0n1");const aw=eL(eZ,{isPromise:!0});ry=rv("ER74K"),Object.defineProperty(nk={},"__esModule",{value:!0}),nk.getUbuntuVersion=void 0,nk.getUbuntuVersion=e2;const ax=eL(e4,{isPromise:!0}),ab=eL(e7,{isPromise:!0});np=rv("bzNgi"),ry=rv("ER74K"),nl=rv("kY0n1"),nU=rv("2aJGP"),nT=rv("l8hao"),nw=rv("1f6JF"),ry=rv("ER74K"),np=rv("bzNgi"),ry=rv("ER74K"),rE=rv("52cQ1"),nl=rv("kY0n1"),nj=nX.resolve(__dirname,"../../src/gcc");const aR={13:{releaseName:"13.2.0-16.0.6-11.0.0-ucrt-r1",fileSuffix:"13.2.0-mingw-w64ucrt-11.0.0-r1"},"13.2-ucrt":{releaseName:"13.2.0-16.0.6-11.0.0-ucrt-r1",fileSuffix:"13.2.0-mingw-w64ucrt-11.0.0-r1"},"13.2-ucrt-mcf":{releaseName:"13.2.0mcf-16.0.6-11.0.1-ucrt-r2",fileSuffix:"13.2.0-mingw-w64ucrt-11.0.1-r2"},"13.2-msvcrt":{releaseName:"13.2.0-16.0.6-11.0.1-msvcrt-r1",fileSuffix:"13.2.0-mingw-w64msvcrt-11.0.1-r1"},"13.1-ucrt":{releaseName:"13.1.0posix-16.0.3-11.0.0-ucrt-r1",fileSuffix:"13.1.0-mingw-w64ucrt-11.0.0-r1"},"13.1-msvcrt":{releaseName:"13.1.0posix-16.0.3-11.0.0-msvcrt-r1",fileSuffix:"13.1.0-mingw-w64msvcrt-11.0.0-r1"},12:{releaseName:"12.3.0-16.0.4-11.0.0-ucrt-r1",fileSuffix:"12.3.0-mingw-w64ucrt-11.0.0-r1"},"12.3.0-ucrt":{releaseName:"12.3.0-16.0.4-11.0.0-ucrt-r1",fileSuffix:"12.3.0-mingw-w64ucrt-11.0.0-r1"},"12.3.0-msvcrt":{releaseName:"12.3.0-16.0.4-11.0.0-msvcrt-r1",fileSuffix:"12.3.0-mingw-w64msvcrt-11.0.0-r1"},"12.2.0-ucrt":{releaseName:"12.2.0-14.0.6-10.0.0-ucrt-r2",fileSuffix:"12.2.0-mingw-w64ucrt-10.0.0-r2"},"12.2.0-msvcrt":{releaseName:"12.2.0-14.0.6-10.0.0-msvcrt-r2",fileSuffix:"12.2.0-mingw-w64msvcrt-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.5.0-11.0.1-msvcrt-r1",fileSuffix:"10.5.0-mingw-w64msvcrt-11.0.1-r1"},"10.5.0-msvcrt":{releaseName:"10.5.0-11.0.1-msvcrt-r1",fileSuffix:"10.5.0-mingw-w64msvcrt-11.0.1-r1"},"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"}};nD=rv("l655J"),nU=rv("2aJGP"),np=rv("bzNgi"),ry=rv("ER74K"),np=rv("bzNgi"),nM=nX.resolve(__dirname,"../../src/kcov"),rE=rv("52cQ1"),ry=rv("ER74K"),nl=rv("kY0n1"),np=rv("bzNgi"),no=rv("4t50X"),ry=rv("ER74K"),np=rv("bzNgi"),no=rv("4t50X");const aI=ru.env["ProgramFiles(x86)"],aS=[ru.env["ProgramFiles(x86)"],ru.env.ProgramFiles],aO=["Enterprise","Professional","Community","BuildTools"],aT=["2022","2019","2017"],aC={2022:"17.0",2019:"16.0",2017:"15.0",2015:"14.0",2013:"12.0"};nF=tR;const a$=`${aI}\\Microsoft Visual Studio\\Installer`;nG=tI,nB=function(e,t,r,n,i,o){if("win32"!=ru.platform){no.info("This is not a Windows virtual environment, bye!");return;}ru.env.PATH+=nX.delimiter+a$;let s={win32:"x86",win64:"x64",x86_64:"x64","x86-64":"x64"};e.toLowerCase()in s&&(e=s[e.toLowerCase()]);var a=[e];"true"==n&&a.push("uwp"),t&&a.push(t),r&&a.push("-vcvars_ver="+r),"true"==i&&a.push("-vcvars_spectre_libs=spectre");let l=`"${tI(o)}" ${a.join(" ")}`;no.debug("vcvars command-line: "+l);let c=t7.execSync(`set && cls && ${l} && cls && set`,{shell:"cmd"}).toString().split("\f"),u=c[0].split("\r\n"),p=c[1].split("\r\n"),d=c[2].split("\r\n"),f=p.filter(e=>!!e.match(/^\[ERROR.*\]/)&&!e.match(/Error in script usage. The correct usage is:$/));if(f.length>0)throw Error("invalid parameters\r\n"+f.join("\r\n"));let h={};for(let e of u){let[t,r]=e.split("=");h[t]=r;}for(let e of(no.startGroup("Environment variables"),d)){if(!e.includes("="))continue;let[t,r]=e.split("=");r!==h[t]&&(no.info("Setting "+t),-1!=["PATH","INCLUDE","LIB","LIBPATH"].indexOf(t.toUpperCase())&&(r=r.split(";").filter(function(e,t,r){return r.indexOf(e)===t;}).join(";")),no.exportVariable(t,r));}no.endGroup(),no.info("Configured Developer Command Prompt");},ry=rv("ER74K"),nl=rv("kY0n1");class aA extends Error{constructor(e){super(e),this.name="TimeoutError";}}class a_ extends Error{constructor(e){super(),this.name="AbortError",this.message=e;}}const aN=e=>void 0===globalThis.DOMException?new a_(e):new DOMException(e),aP=e=>{let t=void 0===e.reason?aN("This operation was aborted."):e.reason;return t instanceof Error?t:aN(t);},aL=12e5,{readFile:aD,writeFile:ak,chmod:aU}=nW.promises;(t2=nH||(nH={}))[t2.All=0]="All",t2[t2.ClangFormat=1]="ClangFormat",t2[t2.Core=2]="Core",nO=rv("8aNoG"),ry=rv("ER74K"),np=rv("bzNgi");const aj=function(e){let t=new Set(e);for(let 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","15.0.0","15.0.1","15.0.2","15.0.3","15.0.4","15.0.5","15.0.6","15.0.7","16.0.0","16.0.1","16.0.2","16.0.3","16.0.4","16.0.5","16.0.6","17.0.1","17.0.2","17.0.3","17.0.4","17.0.5"]),aM=new Set(["10.0.1","15.0.5","15.0.6","17.0.5"]),aF=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","15.0.4","15.0.5","15.0.6","16.0.0","16.0.1","16.0.2","16.0.3","16.0.4","16.0.5","16.0.6","17.0.1","17.0.2","17.0.3","17.0.4","17.0.5"]),aG=new Map(),aB={"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","15.0.2":"-rhel86","15.0.5":"-ubuntu-18.04","15.0.6":"-ubuntu-18.04","16.0.0":"-ubuntu-18.04","16.0.2":"-ubuntu-22.04","16.0.3":"-ubuntu-22.04","16.0.4":"-ubuntu-22.04","17.0.2":"-ubuntu-22.04","17.0.4":"-ubuntu-22.04","17.0.5":"-ubuntu-22.04"},aH="17.0.5";nq=nX.resolve(__dirname,"../../src/llvm");const aq=eL(tU,{isPromise:!0}),aV=eL(tM,{isPromise:!0}),az=eL(tF,{isPromise:!0});rE=rv("52cQ1"),np=rv("bzNgi"),ry=rv("ER74K"),nl=rv("kY0n1"),nV=nX.resolve(__dirname,"../../src/msvc"),np=rv("bzNgi"),np=rv("bzNgi"),ry=rv("ER74K"),nl=rv("kY0n1"),np=rv("bzNgi");let aX=!1;const aW={nala:tz,cmake:eA,ninja:tg,python:eG,vcpkg:tJ,bazel:ec,conan:function(e,t,r){return e6("conan",e);},meson:function(e,t,r){return e6("meson",e);},gcovr:function(e,t,r){return e6("gcovr",e);},opencppcoverage:tX,llvm:tk,gcc:tp,choco:er,brew:Z,powershell:tK,ccache:function(e,t,r){switch(process.platform){case"win32":return en("ccache",e);case"darwin":return et("ccache",e);case"linux":if(ei())return eu("ccache",e);if(eo())return es([{name:"ccache",version:e}]);if(el())return B([{name:"ccache",version:e}]);throw Error("Unsupported linux distribution");default:throw Error("Unsupported platform");}},sccache:function(e,t,r){switch(process.platform){case"win32":return en("sccache",e);case"linux":case"darwin":return et("sccache",e);default:throw Error("Unsupported platform");}},doxygen:ta,graphviz:ti,cppcheck:tr,clangtidy:function(e,t,r){return tj(e,t,r);},clangformat:function(e,t,r){return tj(e,t,r,nH.ClangFormat);},msvc:tq,vcvarsall:tS,kcov:tb,make:tH,task:function(e,t,r){return eb("task",e,tY,t,r);},sevenzip:eR},aK=Object.keys(aW),aY=["compiler","architecture","timeout",...aK];no=rv("4t50X"),ry=rv("ER74K"),nD=rv("l655J"),t0(process.argv).then(e=>{process.exitCode=e;}).catch(e=>{(0,ry.error)("main() panicked!"),(0,ry.error)(e),process.exitCode=1;}); //# sourceMappingURL=setup-cpp.js.map \ No newline at end of file diff --git a/dist/modern/setup-cpp.js.map b/dist/modern/setup-cpp.js.map index 9c9a4d4f..e61fe1b7 100644 --- a/dist/modern/setup-cpp.js.map +++ b/dist/modern/setup-cpp.js.map @@ -1 +1 @@ -{"version":3,"file":"setup-cpp.js","names":["e","t","r","n","i","o","s","a","u","Promise","TypeError","rS","code","ignoreErrors","p","options","env","process","cwd","chdir","disabled","rb","sync","command","path","r$","pathExt","ip","delimiter","resolve","d","Object","assign","Error","errno","syscall","spawnargs","args","f","iR","file","original","h","rT","t5","spawn","r_","hookChildProcess","m","maxBuffer","r4","getBufferedLength","r2","MAX_LENGTH","bufferedData","getBufferedValue","ot","on","or","g","getuid","CI","c","nothrow","v","oh","rR","commandSync","map","join","E","y","rt","platform","SUDO_USER","id","statSync","isDirectory","w","rx","x","l","next","throw","done","value","then","apply","b","return","call","label","ops","pop","trys","length","push","sent","Symbol","iterator","I","nc","pkg","nR","rg","warning","message","stack","S","Array","isArray","R","charCodeAt","slice","O","keys","reverse","find","toUpperCase","T","ro","execPath","URL","rs","fileURLToPath","rn","C","pipe","$","writable","_write","_writableState","A","sm","si","so","sf","oz","ri","ChildProcess","reject","ok","error","stdout","stderr","all","escapedCommand","parsed","timedOut","isCanceled","killed","se","st","oK","oW","kill","oF","bind","cancel","oX","exitCode","signal","o7","sg","aborted","failed","nT","o3","o4","oQ","P","stdio","N","sb","nC","n$","shouldEscapeSpace","rm","GITHUB_ACTIONS","shouldAddOnlyIfNotDefined","nO","info","exportVariable","L","setFailed","_","sI","some","test","PATH","split","includes","addPath","D","k","appendFileSync","sS","sR","nA","pathExists","readFileSync","U","Set","writeFileSync","j","as","s6","s5","ai","sM","sT","s1","s2","sj","sF","sP","sk","sQ","aa","sz","sW","sH","M","sq","spawnSync","input","status","F","H","name","version","DEBIAN_FRONTEND","aE","V","ay","X","flatMap","repositories","B","aw","binDir","G","nP","default","trim","nU","NameDashVersion","NameEqualsVersion","Name","None","nN","K","q","z","W","av","Y","startsWith","J","nj","dirname","iu","tmpdir","nM","mkdirP","replace","NONINTERACTIVE","Q","Z","ax","arch","ee","SystemRoot","ALLUSERSPROFILE","ChocolateyInstall","et","ab","TMP","TEMP","Path","extendEnv","er","en","ei","eo","es","ea","el","aI","aS","ec","matchAll","aR","eu","aA","aP","eg","aC","existsSync","readdirSync","eh","ep","ev","ak","aT","ed","a_","clean","aO","debug","rmRF","ef","valid","em","sort","gt","satisfies","RUNNER_TOOL_CACHE","t3","RUNNER_TEMP","eE","rp","ey","max","$current","timeout","match","backoffBase","backoffExponent","report","Date","toLocaleTimeString","setTimeout","clearTimeout","aG","current","catch","toString","RegExp","Math","pow","ew","url","binRelativeDir","binFileName","extractedFolderName","extractFunction","nF","installDir","n1","downloadTool","aB","cacheDir","ex","eb","eI","eS","eR","eO","eT","n0","nZ","addExeExt","extractTar","eC","e$","n3","eA","eP","eN","isMemoized","fn","isEqual","isMatchingKey","isPromise","maxSize","onCacheAdd","onCacheChange","onCacheHit","transformKey","n2","n4","values","canTransformKey","shouldCloneArguments","shouldUpdateOnAdd","shouldUpdateOnChange","shouldUpdateOnHit","arguments","getKeyIndex","orderByLru","updateAsyncCache","cache","e_","ig","request","method","statusCode","end","eL","from","filter","n7","localeCompare","eD","n5","has","JSON","stringify","ek","aH","nK","getExecOutput","console","eU","ej","eM","eB","bin","eq","eF","eG","e6","e4","upgrade","usePipx","isLibrary","eV","setupActionsPython","rh","eH","eX","aX","python","eK","eW","ez","pip","eY","e9","eJ","eQ","eZ","aq","parseInt","aV","e0","execFile","encoding","shell","e1","e2","n9","getUbuntuVersion","e3","aW","user","e7","aK","e8","e5","az","findIndex","te","tt","tr","tn","ti","to","ts","notice","ta","tl","aY","releaseName","fileSuffix","tc","tp","td","tu","ie","tf","it","th","tm","tg","tv","tE","ty","ir","tw","tx","a1","tb","execSync","entries","a0","aQ","aZ","aJ","tI","is","tS","a7","startGroup","milliseconds","fallback","customTimers","sign","a5","addEventListener","Number","POSITIVE_INFINITY","a3","finally","clear","tR","endGroup","lp","tY","tO","ia","All","tT","le","a8","NODE_DEBUG","ClangFormat","tC","a9","ru","t$","tA","tP","lr","tN","ln","li","get","lt","lo","ls","t_","tL","la","tM","tD","tk","lc","tF","n8","ll","tU","tj","LD_LIBRARY_PATH","DYLD_LIBRARY_PATH","il","tG","tB","ii","io","tH","ic","tV","tX","tq","tK","tz","tW","lu","addShExt","addShRelativePrefix","tJ","compiler","tQ","ACTIONS_ALLOW_UNSECURE_COMMANDS","alias","unknown","string","boolean","concat","splice","substring","indexOf","repeat","shift","lf","fromEntries","getInput","toLowerCase","help","table","tools","documentation","coverage","other","architecture","SETUP_CPP_DIR","ry","create","autoloadLocales","addLocale","rw","rv","rE","forEach","cppcheck","gcovr","ld","isCI","now","parseFloat","format","success","tZ","t0","rH","rK","rz","rW","rY","rJ","rQ","r3","r6","r7","r8","r9","ne","nt","nn","ni","ns","na","nl","np","nd","nf","nh","nm","ng","nv","nE","ny","nw","nx","nb","nI","nS","n_","nL","nD","nk","n6","any","every","defineProperty","exports","constant","isPR","pr","BUILD_ID","BUILD_NUMBER","CI_APP_ID","CI_BUILD_ID","CI_BUILD_NUMBER","CI_NAME","CONTINUOUS_INTEGRATION","RUN_ID","parse","log","required","trimWhitespace","issueCommand","toCommandProperties","issue","ExitCode","Success","Failure","toCommandValue","GITHUB_ENV","issueFileCommand","prepareKeyValueMessage","setSecret","GITHUB_PATH","getMultilineInput","getBooleanInput","setOutput","GITHUB_OUTPUT","write","EOL","setCommandEcho","isDebug","RUNNER_DEBUG","group","saveState","GITHUB_STATE","getState","getIDToken","OidcClient","enumerable","summary","markdownSummary","toPosixPath","toWin32Path","toPlatformPath","constructor","properties","hasOwnProperty","String","title","line","startLine","endLine","col","startColumn","endColumn","random","rng","ih","randomFillSync","Uint8Array","substr","createHttpClient","HttpClient","BearerCredentialHandler","getRequestToken","allowRetries","maxRetries","ACTIONS_ID_TOKEN_REQUEST_TOKEN","getIDTokenUrl","ACTIONS_ID_TOKEN_REQUEST_URL","getCall","getJson","result","encodeURIComponent","im","HttpCodes","OK","MultipleChoices","MovedPermanently","ResourceMoved","SeeOther","NotModified","UseProxy","SwitchProxy","TemporaryRedirect","PermanentRedirect","BadRequest","Unauthorized","PaymentRequired","Forbidden","NotFound","MethodNotAllowed","NotAcceptable","ProxyAuthenticationRequired","RequestTimeout","Conflict","Gone","TooManyRequests","InternalServerError","NotImplemented","BadGateway","ServiceUnavailable","GatewayTimeout","Headers","Accept","ContentType","MediaTypes","ApplicationJson","getProxyUrl","href","setPrototypeOf","prototype","HttpClientError","readBody","Buffer","alloc","HttpClientResponse","isHttps","protocol","_ignoreSslError","_allowRedirects","_allowRedirectDowngrade","_maxRedirects","_allowRetries","_maxRetries","_keepAlive","_disposed","userAgent","handlers","requestOptions","ignoreSslError","_socketTimeout","socketTimeout","allowRedirects","allowRedirectDowngrade","maxRedirects","keepAlive","del","post","patch","put","head","sendStream","_getExistingOrDefaultHeader","_processResponse","postJson","putJson","patchJson","_prepareRequest","requestRaw","canHandleAuthentication","handleAuthentication","headers","location","hostname","_performExponentialBackoff","dispose","_agent","destroy","requestRawWithCallback","byteLength","httpModule","getAgent","_getAgent","parsedUrl","host","port","pathname","search","_mergeHeaders","agent","prepareRequest","_proxyAgent","maxSockets","globalAgent","proxy","username","password","proxyAuth","httpsOverHttps","httpsOverHttp","httpOverHttps","httpOverHttp","Agent","rejectUnauthorized","min","deserializeDates","isNaN","valueOf","reduce","no_proxy","NO_PROXY","endsWith","https_proxy","HTTPS_PROXY","http_proxy","HTTP_PROXY","checkBypass","proxyOptions","defaultMaxSockets","requests","sockets","onSocket","removeSocket","createSocket","getHeader","socket","servername","t1","connect","localAddress","defaultPort","t4","inherits","t2","EventEmitter","addRequest","emit","removeListener","removeAllListeners","useChunkedEncodingByDefault","once","nextTick","unshift","BasicCredentialHandler","Authorization","token","PersonalAccessTokenCredentialHandler","access","appendFile","writeFile","promises","SUMMARY_ENV_VAR","SUMMARY_DOCS_URL","_buffer","filePath","_filePath","constants","R_OK","W_OK","wrap","overwrite","emptyBuffer","isEmptyBuffer","addRaw","addEOL","addCodeBlock","lang","addList","addTable","header","data","colspan","rowspan","addDetails","addImage","width","height","src","alt","addHeading","addSeparator","addBreak","addQuote","cite","addLink","sep","require","pluralize","numerous","locale","span","unitType","unitTypeLookupOrder","autoload","floor","defaultConfig","versions","node","isSymbolicLink","isFile","PATHEXT","stat","mode","uid","gid","getgid","inc","diff","major","minor","prerelease","compare","rcompare","compareLoose","compareBuild","rsort","neq","gte","lte","cmp","coerce","Comparator","Range","toComparators","maxSatisfying","minSatisfying","minVersion","validRange","outside","gtr","ltr","intersects","simplifyRange","subset","SemVer","re","tokens","SEMVER_SPEC_VERSION","RELEASE_TYPES","compareIdentifiers","rcompareIdentifiers","MAX_SAFE_COMPONENT_LENGTH","MAX_SAFE_BUILD_LENGTH","safeRe","NUMERICIDENTIFIER","NUMERICIDENTIFIERLOOSE","NONNUMERICIDENTIFIER","PRERELEASEIDENTIFIER","PRERELEASEIDENTIFIERLOOSE","BUILDIDENTIFIER","MAINVERSION","PRERELEASE","BUILD","FULLPLAIN","MAINVERSIONLOOSE","PRERELEASELOOSE","LOOSEPLAIN","XRANGEIDENTIFIER","XRANGEIDENTIFIERLOOSE","GTLT","XRANGEPLAIN","XRANGEPLAINLOOSE","COERCE","LONETILDE","tildeTrimReplace","LONECARET","caretTrimReplace","comparatorTrimReplace","MAX_SAFE_INTEGER","FLAG_INCLUDE_PRERELEASE","FLAG_LOOSE","loose","includePrerelease","LOOSE","FULL","raw","build","compareMain","comparePre","freeze","rtl","COERCERTL","exec","index","lastIndex","ANY","semver","operator","COMPARATORLOOSE","COMPARATOR","set","parseRange","range","HYPHENRANGELOOSE","HYPHENRANGE","COMPARATORTRIM","TILDETRIM","CARETTRIM","Map","size","delete","TILDELOOSE","TILDE","CARETLOOSE","CARET","XRANGELOOSE","XRANGE","STAR","GTE0PRE","GTE0","unshiftNode","maxAge","tail","prev","key","removeNode","stale","noDisposeOnSet","updateAgeOnGet","reset","allowStale","lengthCalculator","itemCount","rforEach","toArray","dump","dumpLru","peek","load","prune","list","Node","pushNode","forEachReverse","getReverse","mapReverse","reduceReverse","toArrayReverse","sliceReverse","add","t6","configurable","basename","extname","normalize","relative","IS_WINDOWS","force","recursive","retryDelay","mkdir","isRooted","tryGetExecutablePath","lstat","unlink","chmod","readlink","symlink","exists","copyFile","cp","copySourceDirectory","readdir","mv","rename","which","findInPath","open","rmdir","UV_FS_O_EXLOCK","READONLY","O_RDONLY","getCmdPath","COMSPEC","_findMatch","stable","files","platform_version","_getOsVersion","_readLinuxVersionFile","randomBytes","argStringToArray","ToolRunner","t7","StringDecoder","listeners","toolPath","_debug","_getCommandString","_getSpawnFileName","_getSpawnArgs","_isCmdFile","windowsVerbatimArguments","_windowsQuoteCmdArg","_processLineBuffer","_endsWith","_uvQuoteCmdArg","_cloneExecOptions","silent","failOnStdErr","ignoreReturnCode","delay","outStream","errStream","_getSpawnOptions","argv0","stdline","processStderr","errline","processError","processExited","processClosed","CheckComplete","processExitCode","stdin","charAt","_setResult","t8","HandleTimeout","abs","long","years","one","months","weeks","days","hours","minutes","seconds","narrow","short","iv","iE","OSTYPE","iy","rI","TESTING_WINDOWS","iw","ix","colon","pathEnv","pathExtExe","ib","rO","iI","rC","rA","rP","rN","openSync","readSync","closeSync","iS","forceShell","comspec","verifyENOENT","verifyENOENTSync","notFoundError","_parse","_enoent","rL","rD","iO","rk","rU","Reflect","ownKeys","getOwnPropertyDescriptor","iT","iC","WeakMap","i$","displayName","callCount","rj","rM","signalsByNumber","signalsByName","rF","getSignals","number","action","description","standard","forced","iN","iP","iA","SIGRTMIN","rB","SIGRTMAX","getRealtimeSignals","rG","SIGNALS","i_","normalizeSignal","signals","supported","iL","iD","ik","iU","ij","iM","errorCode","signalDescription","Boolean","originalMessage","shortMessage","iF","iG","iB","rV","iH","reallyExit","pid","iV","iX","iq","iK","iz","__signal_exit_emitter__","count","emitted","infinite","setMaxListeners","iW","iQ","iJ","i2","i0","rq","equal","iZ","alwaysLast","unload","iY","i3","i1","i4","i6","i7","unref","forceKillAfterTimeout","i5","SIGTERM","isFinite","i8","i9","cleanup","detached","rX","spawnedKill","spawnedCancel","setupTimeout","killSignal","race","validateTimeout","setExitHandler","oe","readable","_read","_readableState","duplex","transform","_transform","r0","t9","promisify","PassThrough","array","objectMode","setEncoding","pipeline","r1","buffer","MaxBufferError","r5","isEmpty","oi","oo","rZ","handleInput","makeAllStream","getSpawnedResult","validateInputSync","os","oa","nr","mergePromise","getSpawnedPromise","ol","oc","no","joinCommand","getEscapedCommand","parseCommand","ou","preferLocal","localDir","op","stripFinalNewline","windowsHide","od","isBuffer","of","execArgv","nodePath","nodeOptions","npm_package_json","npm_config_user_agent","homedir","XDG_CONFIG_HOME","mkdirSync","lastUpdateCheck","getTime","updateCheckInterval","distTag","alwaysRun","nu","padEnd","isTTY","shouldNotifyInNpmScript","om","og","ov","getPrototypeOf","oE","oy","Function","ow","ox","ob","oI","ignoreNonConfigurable","oS","oT","oO","oR","oC","o$","oA","ra","oP","oN","o_","oL","oD","oU","oj","oM","oG","oB","oV","oH","oq","oY","oJ","createWriteStream","pipeStdout","pipeStderr","pipeAll","oZ","o0","inputFile","o1","o2","createReadStream","o6","o5","o8","o9","sr","sn","ss","rr","sa","sl","templates","expressions","template","sc","su","rl","debuglog","enabled","sp","padStart","sd","getHours","getMinutes","getSeconds","getMilliseconds","verbose","sh","sv","sE","sy","sw","release","sx","sO","sC","s$","sA","sN","s_","sD","sL","sU","sG","sB","sV","sX","sK","sY","sJ","sZ","s0","s3","s4","s7","s8","s9","ae","at","ar","an","ao","al","ac","posix","au","ap","ad","source","af","ah","am","ag","nV","a$","aN","aL","aD","nq","aU","nJ","nz","RetryHelper","maxAttempts","minSeconds","maxSeconds","execute","getSleepAmount","sleep","aj","httpStatusCode","new","target","HTTPError","aM","aF","nX","authorization","statusMessage","extract7z","nG","extractXar","extractZip","cacheFile","findAllVersions","getManifestFromRepo","tree","accept","findFromManifest","isExplicitVersion","evaluateVersions","retryAsPromised","TimeoutError","previous","_getKeyIndexFromMatchingKey","_getKeyIndexForMany","_getKeyIndexForSingle","rc","llvm","clangtidy","clangformat","ninja","cmake","conan","meson","kcov","task","doxygen","gcc","mingw","nala","ProgramFiles","a2","win32","win64","x86_64","a4","a6","globalThis","DOMException","reason","readFile","Core","vcpkg","bazel","opencppcoverage","choco","brew","powershell","ccache","sccache","graphviz","msvc","vcvarsall","make","sevenzip","argv"],"sources":["../../","../../node_modules/.pnpm/ci-info@3.8.0/node_modules/ci-info/index.js","../../node_modules/.pnpm/ci-info@3.8.0/node_modules/ci-info/vendors.json","../../packages/ci-log/src/index.ts","../../node_modules/.pnpm/@actions+core@1.10.0/node_modules/@actions/core/lib/core.js","../../node_modules/.pnpm/@actions+core@1.10.0/node_modules/@actions/core/src/core.ts","../../node_modules/.pnpm/@actions+core@1.10.0/node_modules/@actions/core/lib/command.js","../../node_modules/.pnpm/@actions+core@1.10.0/node_modules/@actions/core/src/command.ts","../../node_modules/.pnpm/@actions+core@1.10.0/node_modules/@actions/core/lib/utils.js","../../node_modules/.pnpm/@actions+core@1.10.0/node_modules/@actions/core/src/utils.ts","../../node_modules/.pnpm/@actions+core@1.10.0/node_modules/@actions/core/lib/file-command.js","../../node_modules/.pnpm/@actions+core@1.10.0/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.10.0/node_modules/@actions/core/lib/oidc-utils.js","../../node_modules/.pnpm/@actions+core@1.10.0/node_modules/@actions/core/src/oidc-utils.ts","../../node_modules/.pnpm/@actions+http-client@2.1.0/node_modules/@actions/http-client/lib/index.js","../../node_modules/.pnpm/@actions+http-client@2.1.0/node_modules/@actions/http-client/src/index.ts","../../node_modules/.pnpm/@actions+http-client@2.1.0/node_modules/@actions/http-client/lib/proxy.js","../../node_modules/.pnpm/@actions+http-client@2.1.0/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.1.0/node_modules/@actions/http-client/lib/auth.js","../../node_modules/.pnpm/@actions+http-client@2.1.0/node_modules/@actions/http-client/src/auth.ts","../../node_modules/.pnpm/@actions+core@1.10.0/node_modules/@actions/core/lib/summary.js","../../node_modules/.pnpm/@actions+core@1.10.0/node_modules/@actions/core/src/summary.ts","../../node_modules/.pnpm/@actions+core@1.10.0/node_modules/@actions/core/lib/path-utils.js","../../node_modules/.pnpm/@actions+core@1.10.0/node_modules/@actions/core/src/path-utils.ts","../../node_modules/.pnpm/numerous@1.0.3/node_modules/numerous/lib/numerous.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/is-node@1.0.2/node_modules/is-node/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/semver@7.5.4/node_modules/semver/index.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/internal/re.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/internal/constants.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/internal/debug.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/classes/semver.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/internal/parse-options.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/internal/identifiers.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/parse.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/valid.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/clean.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/inc.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/diff.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/major.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/minor.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/patch.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/prerelease.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/compare.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/rcompare.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/compare-loose.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/compare-build.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/sort.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/rsort.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/gt.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/lt.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/eq.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/neq.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/gte.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/lte.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/cmp.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/coerce.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/classes/comparator.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/classes/range.js","../../node_modules/.pnpm/lru-cache@6.0.0/node_modules/lru-cache/index.js","../../node_modules/.pnpm/yallist@4.0.0/node_modules/yallist/yallist.js","../../node_modules/.pnpm/yallist@4.0.0/node_modules/yallist/iterator.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/functions/satisfies.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/ranges/to-comparators.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/ranges/max-satisfying.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/ranges/min-satisfying.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/ranges/min-version.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/ranges/valid.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/ranges/outside.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/ranges/gtr.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/ranges/ltr.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/ranges/intersects.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/ranges/simplify.js","../../node_modules/.pnpm/semver@7.5.4/node_modules/semver/ranges/subset.js","../../node_modules/.pnpm/escape-string-regexp@1.0.5/node_modules/escape-string-regexp/index.js","../../node_modules/.pnpm/path-exists@5.0.0/node_modules/path-exists/index.js","../../node_modules/.pnpm/patha@0.4.1/node_modules/patha/dist/index.node.mjs","../../node_modules/.pnpm/patha@0.4.1/node_modules/patha/src/name.ts","../../node_modules/.pnpm/patha@0.4.1/node_modules/patha/src/normalize-trim.ts","../../node_modules/.pnpm/patha@0.4.1/node_modules/patha/src/add-exe-ext.ts","../../node_modules/.pnpm/patha@0.4.1/node_modules/patha/src/add-name-prefix.ts","../../node_modules/.pnpm/patha@0.4.1/node_modules/patha/src/add-name-suffix.ts","../../node_modules/.pnpm/patha@0.4.1/node_modules/patha/src/add-sh-ext.ts","../../node_modules/.pnpm/patha@0.4.1/node_modules/patha/src/add-sh-relative-prefix.ts","../../node_modules/.pnpm/patha@0.4.1/node_modules/patha/src/remove-ext.ts","../../node_modules/.pnpm/patha@0.4.1/node_modules/patha/src/replace-ext.ts","../../node_modules/.pnpm/patha@0.4.1/node_modules/patha/src/is-path-inside.ts","../../node_modules/.pnpm/escape-string-regexp@5.0.0/node_modules/escape-string-regexp/index.js","../../node_modules/.pnpm/replace-ext@2.0.0/node_modules/replace-ext/index.js","../../node_modules/.pnpm/@actions+io@1.1.3/node_modules/@actions/io/lib/io.js","../../node_modules/.pnpm/@actions+io@1.1.3/node_modules/@actions/io/src/io.ts","../../node_modules/.pnpm/@actions+io@1.1.3/node_modules/@actions/io/lib/io-util.js","../../node_modules/.pnpm/@actions+io@1.1.3/node_modules/@actions/io/src/io-util.ts","../../node_modules/.pnpm/@actions+tool-cache@2.0.1/node_modules/@actions/tool-cache/lib/manifest.js","../../node_modules/.pnpm/@actions+tool-cache@2.0.1/node_modules/@actions/tool-cache/src/manifest.ts","../../node_modules/.pnpm/semver@6.3.1/node_modules/semver/semver.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/lib/exec.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/lib/toolrunner.js","../../node_modules/.pnpm/@actions+exec@1.1.1/node_modules/@actions/exec/src/toolrunner.ts","../../node_modules/.pnpm/@parcel+runtime-js@2.9.3_@parcel+core@2.9.3/node_modules/@parcel/runtime-js/lib/runtime-fd61ca5b164aabc9.js","../../src/main.ts","../../node_modules/.pnpm/numerous@1.0.3/node_modules/numerous/locales/en.js","../../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","../../packages/untildify-user/src/index.ts","../../node_modules/.pnpm/untildify@4.0.0/node_modules/untildify/index.js","../../node_modules/.pnpm/admina@0.2.2/node_modules/admina/src/index.ts","../../node_modules/.pnpm/admina@0.2.2/node_modules/admina/dist/root.mjs","../../node_modules/.pnpm/admina@0.2.2/node_modules/admina/src/root.ts","../../node_modules/.pnpm/which@2.0.2/node_modules/which/which.js","../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/index.js","../../node_modules/.pnpm/execa@5.1.1/node_modules/execa/index.js","../../node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/index.js","../../node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/parse.js","../../node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/util/resolveCommand.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/cross-spawn@7.0.3/node_modules/cross-spawn/lib/util/readShebang.js","../../node_modules/.pnpm/shebang-command@2.0.0/node_modules/shebang-command/index.js","../../node_modules/.pnpm/shebang-regex@3.0.0/node_modules/shebang-regex/index.js","../../node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/enoent.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/onetime@5.1.2/node_modules/onetime/index.js","../../node_modules/.pnpm/mimic-fn@2.1.0/node_modules/mimic-fn/index.js","../../node_modules/.pnpm/execa@5.1.1/node_modules/execa/lib/error.js","../../node_modules/.pnpm/human-signals@2.1.0/node_modules/human-signals/build/src/main.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/build/src/signals.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/build/src/core.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/build/src/realtime.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/stdio.js","../../node_modules/.pnpm/execa@5.1.1/node_modules/execa/lib/kill.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/stream.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/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/promise.js","../../node_modules/.pnpm/execa@5.1.1/node_modules/execa/lib/command.js","../../node_modules/.pnpm/admina@0.2.2/node_modules/admina/dist/admin.mjs","../../node_modules/.pnpm/admina@0.2.2/node_modules/admina/src/admin.ts","../../node_modules/.pnpm/admina@0.2.2/node_modules/admina/dist/is-admin.mjs","../../node_modules/.pnpm/admina@0.2.2/node_modules/admina/src/is-admin.ts","../../node_modules/.pnpm/admina@0.2.2/node_modules/admina/dist/user-access.mjs","../../node_modules/.pnpm/admina@0.2.2/node_modules/admina/src/user-access.ts","../../src/check-updates.ts","../../node_modules/.pnpm/simple-update-notifier@2.0.0/node_modules/simple-update-notifier/build/index.js","../../package-version.json","../../src/cli-options.ts","../../node_modules/.pnpm/mri@1.2.0/node_modules/mri/lib/index.mjs","../../src/tool.ts","../../src/bazel/bazel.ts","../../src/utils/setup/setupAptPack.ts","../../src/utils/env/addEnv.ts","../../packages/exec-powershell/src/index.ts","../../node_modules/.pnpm/execa@7.1.1/node_modules/execa/index.js","../../node_modules/.pnpm/strip-final-newline@3.0.0/node_modules/strip-final-newline/index.js","../../node_modules/.pnpm/npm-run-path@5.1.0/node_modules/npm-run-path/index.js","../../node_modules/.pnpm/path-key@4.0.0/node_modules/path-key/index.js","../../node_modules/.pnpm/onetime@6.0.0/node_modules/onetime/index.js","../../node_modules/.pnpm/mimic-fn@4.0.0/node_modules/mimic-fn/index.js","../../node_modules/.pnpm/execa@7.1.1/node_modules/execa/lib/error.js","../../node_modules/.pnpm/human-signals@4.3.1/node_modules/human-signals/build/src/main.js","../../node_modules/.pnpm/human-signals@4.3.1/node_modules/human-signals/build/src/realtime.js","../../node_modules/.pnpm/human-signals@4.3.1/node_modules/human-signals/build/src/signals.js","../../node_modules/.pnpm/human-signals@4.3.1/node_modules/human-signals/build/src/core.js","../../node_modules/.pnpm/execa@7.1.1/node_modules/execa/lib/stdio.js","../../node_modules/.pnpm/execa@7.1.1/node_modules/execa/lib/kill.js","../../node_modules/.pnpm/execa@7.1.1/node_modules/execa/lib/pipe.js","../../node_modules/.pnpm/is-stream@3.0.0/node_modules/is-stream/index.js","../../node_modules/.pnpm/execa@7.1.1/node_modules/execa/lib/stream.js","../../node_modules/.pnpm/execa@7.1.1/node_modules/execa/lib/promise.js","../../node_modules/.pnpm/execa@7.1.1/node_modules/execa/lib/command.js","../../node_modules/.pnpm/execa@7.1.1/node_modules/execa/lib/verbose.js","../../node_modules/.pnpm/escape-path-with-spaces@1.0.2/node_modules/escape-path-with-spaces/index.js","../../node_modules/.pnpm/escape-quotes@1.0.2/node_modules/escape-quotes/lib/escape-quotes.js","../../node_modules/.pnpm/execa@7.2.0/node_modules/execa/index.js","../../node_modules/.pnpm/execa@7.2.0/node_modules/execa/lib/error.js","../../node_modules/.pnpm/execa@7.2.0/node_modules/execa/lib/stdio.js","../../node_modules/.pnpm/execa@7.2.0/node_modules/execa/lib/kill.js","../../node_modules/.pnpm/execa@7.2.0/node_modules/execa/lib/pipe.js","../../node_modules/.pnpm/execa@7.2.0/node_modules/execa/lib/stream.js","../../node_modules/.pnpm/execa@7.2.0/node_modules/execa/lib/promise.js","../../node_modules/.pnpm/execa@7.2.0/node_modules/execa/lib/command.js","../../node_modules/.pnpm/execa@7.2.0/node_modules/execa/lib/verbose.js","../../node_modules/.pnpm/which@3.0.1/node_modules/which/lib/index.js","../../src/utils/setup/setupBrewPack.ts","../../src/brew/brew.ts","../../src/utils/setup/setupChocoPack.ts","../../src/chocolatey/chocolatey.ts","../../src/utils/env/isArch.ts","../../src/utils/env/hasDnf.ts","../../src/utils/setup/setupDnfPack.ts","../../src/utils/env/isUbuntu.ts","../../src/ccache/ccache.ts","../../src/utils/setup/setupPacmanPack.ts","../../src/cmake/cmake.ts","../../node_modules/.pnpm/@actions+tool-cache@2.0.1/node_modules/@actions/tool-cache/lib/tool-cache.js","../../node_modules/.pnpm/@actions+tool-cache@2.0.1/node_modules/@actions/tool-cache/src/tool-cache.ts","../../node_modules/.pnpm/@actions+tool-cache@2.0.1/node_modules/@actions/tool-cache/lib/retry-helper.js","../../node_modules/.pnpm/@actions+tool-cache@2.0.1/node_modules/@actions/tool-cache/src/retry-helper.ts","../../src/utils/setup/setupBin.ts","../../node_modules/.pnpm/retry-as-promised@7.0.4/node_modules/retry-as-promised/dist/index.js","../../src/utils/setup/extract.ts","../../src/sevenzip/sevenzip.ts","../../src/conan/conan.ts","../../src/utils/setup/setupPipPack.ts","../../src/python/python.ts","../../node_modules/.pnpm/micro-memoize@4.1.2/node_modules/micro-memoize/dist/micro-memoize.esm.js","../../node_modules/.pnpm/micro-memoize@4.1.2/node_modules/micro-memoize/src/utils.ts","../../node_modules/.pnpm/micro-memoize@4.1.2/node_modules/micro-memoize/src/Cache.ts","../../node_modules/.pnpm/micro-memoize@4.1.2/node_modules/micro-memoize/src/index.ts","../../src/utils/setup/version.ts","../../node_modules/.pnpm/is-url-online@1.5.0/node_modules/is-url-online/dist/index.mjs","../../src/utils/std/index.ts","../../src/versions/default_versions.ts","../../src/versions/versions.ts","../../src/utils/env/ubuntu_version.ts","../../node_modules/.pnpm/ubuntu-version@2.0.0/node_modules/ubuntu-version/index.js","../../src/cppcheck/cppcheck.ts","../../src/doxygen/doxygen.ts","../../src/graphviz/graphviz.ts","../../src/gcc/gcc.ts","../../src/macos-sdk/macos-sdk.ts","../../src/gcovr/gcovr.ts","../../src/kcov/kcov.ts","../../src/ninja/ninja.ts","../../src/llvm/llvm.ts","../../src/llvm/llvm_installer.ts","../../src/installTool.ts","../../src/vcvarsall/vcvarsall.ts","../../node_modules/.pnpm/github.com+aminya+msvc-dev-cmd@97843d525947e3f3776ee359b597316909754c4d/node_modules/msvc-dev-cmd/lib.js","../../node_modules/.pnpm/p-timeout@6.1.2/node_modules/p-timeout/index.js","../../src/llvm/llvm_url.ts","../../src/make/make.ts","../../src/meson/meson.ts","../../src/msvc/msvc.ts","../../src/nala/nala.ts","../../src/opencppcoverage/opencppcoverage.ts","../../src/powershell/powershell.ts","../../src/sccache/sccache.ts","../../src/task/task.ts","../../src/vcpkg/vcpkg.ts","../../src/compilers.ts"],"sourcesContent":["#!/usr/bin/env node\nvar $d7DIX$os = require(\"os\");\nvar $d7DIX$path = require(\"path\");\nvar $d7DIX$fs = require(\"fs\");\nvar $d7DIX$crypto = require(\"crypto\");\nvar $d7DIX$http = require(\"http\");\nvar $d7DIX$https = require(\"https\");\nrequire(\"net\");\nvar $d7DIX$tls = require(\"tls\");\nvar $d7DIX$events = require(\"events\");\nvar $d7DIX$assert = require(\"assert\");\nvar $d7DIX$util = require(\"util\");\nvar $d7DIX$nodefs = require(\"node:fs\");\nvar $d7DIX$child_process = require(\"child_process\");\nvar $d7DIX$string_decoder = require(\"string_decoder\");\nvar $d7DIX$timers = require(\"timers\");\nvar $d7DIX$buffer = require(\"buffer\");\nvar $d7DIX$stream = require(\"stream\");\nvar $d7DIX$process = require(\"process\");\nvar $d7DIX$nodebuffer = require(\"node:buffer\");\nvar $d7DIX$nodepath = require(\"node:path\");\nvar $d7DIX$nodechild_process = require(\"node:child_process\");\nvar $d7DIX$nodeprocess = require(\"node:process\");\nvar $d7DIX$nodeurl = require(\"node:url\");\nvar $d7DIX$nodeos = require(\"node:os\");\nvar $d7DIX$nodeutil = require(\"node:util\");\nvar $d7DIX$url = require(\"url\");\nvar $d7DIX$console = require(\"console\");\n\nfunction $parcel$export(e, n, v, s) {\n Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});\n}\nfunction $parcel$interopDefault(a) {\n return a && a.__esModule ? a.default : a;\n}\nvar $parcel$global =\ntypeof globalThis !== 'undefined'\n ? globalThis\n : typeof self !== 'undefined'\n ? self\n : typeof window !== 'undefined'\n ? window\n : typeof global !== 'undefined'\n ? global\n : {};\nvar $parcel$modules = {};\nvar $parcel$inits = {};\n\nvar parcelRequire = $parcel$global[\"parcelRequire810d\"];\nif (parcelRequire == null) {\n parcelRequire = function(id) {\n if (id in $parcel$modules) {\n return $parcel$modules[id].exports;\n }\n if (id in $parcel$inits) {\n var init = $parcel$inits[id];\n delete $parcel$inits[id];\n var module = {id: id, exports: {}};\n $parcel$modules[id] = module;\n init.call(module.exports, module, module.exports);\n return module.exports;\n }\n var err = new Error(\"Cannot find module '\" + id + \"'\");\n err.code = 'MODULE_NOT_FOUND';\n throw err;\n };\n\n parcelRequire.register = function register(id, init) {\n $parcel$inits[id] = init;\n };\n\n $parcel$global[\"parcelRequire810d\"] = parcelRequire;\n}\nparcelRequire.register(\"dTX7a\", function(module, exports) {\n\"use strict\";\n\nvar $gjIAX = parcelRequire(\"gjIAX\");\nconst $a1ee445651e00d7a$var$env = process.env;\n// Used for testing only\nObject.defineProperty(module.exports, \"_vendors\", {\n value: $gjIAX.map(function(v) {\n return v.constant;\n })\n});\nmodule.exports.name = null;\nmodule.exports.isPR = null;\n$gjIAX.forEach(function(vendor) {\n const envs = Array.isArray(vendor.env) ? vendor.env : [\n vendor.env\n ];\n const isCI = envs.every(function(obj) {\n return $a1ee445651e00d7a$var$checkEnv(obj);\n });\n module.exports[vendor.constant] = isCI;\n if (!isCI) return;\n module.exports.name = vendor.name;\n switch(typeof vendor.pr){\n case \"string\":\n // \"pr\": \"CIRRUS_PR\"\n module.exports.isPR = !!$a1ee445651e00d7a$var$env[vendor.pr];\n break;\n case \"object\":\n if (\"env\" in vendor.pr) // \"pr\": { \"env\": \"BUILDKITE_PULL_REQUEST\", \"ne\": \"false\" }\n module.exports.isPR = vendor.pr.env in $a1ee445651e00d7a$var$env && $a1ee445651e00d7a$var$env[vendor.pr.env] !== vendor.pr.ne;\n else if (\"any\" in vendor.pr) // \"pr\": { \"any\": [\"ghprbPullId\", \"CHANGE_ID\"] }\n module.exports.isPR = vendor.pr.any.some(function(key) {\n return !!$a1ee445651e00d7a$var$env[key];\n });\n else // \"pr\": { \"DRONE_BUILD_EVENT\": \"pull_request\" }\n module.exports.isPR = $a1ee445651e00d7a$var$checkEnv(vendor.pr);\n break;\n default:\n // PR detection not supported for this vendor\n module.exports.isPR = null;\n }\n});\nmodule.exports.isCI = !!($a1ee445651e00d7a$var$env.CI !== \"false\" && // Bypass all checks if CI env is explicitly set to 'false'\n($a1ee445651e00d7a$var$env.BUILD_ID || // Jenkins, Cloudbees\n$a1ee445651e00d7a$var$env.BUILD_NUMBER || // Jenkins, TeamCity\n$a1ee445651e00d7a$var$env.CI || // Travis CI, CircleCI, Cirrus CI, Gitlab CI, Appveyor, CodeShip, dsari\n$a1ee445651e00d7a$var$env.CI_APP_ID || // Appflow\n$a1ee445651e00d7a$var$env.CI_BUILD_ID || // Appflow\n$a1ee445651e00d7a$var$env.CI_BUILD_NUMBER || // Appflow\n$a1ee445651e00d7a$var$env.CI_NAME || // Codeship and others\n$a1ee445651e00d7a$var$env.CONTINUOUS_INTEGRATION || // Travis CI, Cirrus CI\n$a1ee445651e00d7a$var$env.RUN_ID || // TaskCluster, dsari\nmodule.exports.name || false));\nfunction $a1ee445651e00d7a$var$checkEnv(obj) {\n // \"env\": \"CIRRUS\"\n if (typeof obj === \"string\") return !!$a1ee445651e00d7a$var$env[obj];\n // \"env\": { \"env\": \"NODE\", \"includes\": \"/app/.heroku/node/bin/node\" }\n if (\"env\" in obj) // Currently there are no other types, uncomment when there are\n // if ('includes' in obj) {\n return $a1ee445651e00d7a$var$env[obj.env] && $a1ee445651e00d7a$var$env[obj.env].includes(obj.includes);\n if (\"any\" in obj) return obj.any.some(function(k) {\n return !!$a1ee445651e00d7a$var$env[k];\n });\n return Object.keys(obj).every(function(k) {\n return $a1ee445651e00d7a$var$env[k] === obj[k];\n });\n}\n\n});\nparcelRequire.register(\"gjIAX\", function(module, exports) {\nmodule.exports = JSON.parse('[{\"name\":\"Appcircle\",\"constant\":\"APPCIRCLE\",\"env\":\"AC_APPCIRCLE\"},{\"name\":\"AppVeyor\",\"constant\":\"APPVEYOR\",\"env\":\"APPVEYOR\",\"pr\":\"APPVEYOR_PULL_REQUEST_NUMBER\"},{\"name\":\"AWS CodeBuild\",\"constant\":\"CODEBUILD\",\"env\":\"CODEBUILD_BUILD_ARN\"},{\"name\":\"Azure Pipelines\",\"constant\":\"AZURE_PIPELINES\",\"env\":\"SYSTEM_TEAMFOUNDATIONCOLLECTIONURI\",\"pr\":\"SYSTEM_PULLREQUEST_PULLREQUESTID\"},{\"name\":\"Bamboo\",\"constant\":\"BAMBOO\",\"env\":\"bamboo_planKey\"},{\"name\":\"Bitbucket Pipelines\",\"constant\":\"BITBUCKET\",\"env\":\"BITBUCKET_COMMIT\",\"pr\":\"BITBUCKET_PR_ID\"},{\"name\":\"Bitrise\",\"constant\":\"BITRISE\",\"env\":\"BITRISE_IO\",\"pr\":\"BITRISE_PULL_REQUEST\"},{\"name\":\"Buddy\",\"constant\":\"BUDDY\",\"env\":\"BUDDY_WORKSPACE_ID\",\"pr\":\"BUDDY_EXECUTION_PULL_REQUEST_ID\"},{\"name\":\"Buildkite\",\"constant\":\"BUILDKITE\",\"env\":\"BUILDKITE\",\"pr\":{\"env\":\"BUILDKITE_PULL_REQUEST\",\"ne\":\"false\"}},{\"name\":\"CircleCI\",\"constant\":\"CIRCLE\",\"env\":\"CIRCLECI\",\"pr\":\"CIRCLE_PULL_REQUEST\"},{\"name\":\"Cirrus CI\",\"constant\":\"CIRRUS\",\"env\":\"CIRRUS_CI\",\"pr\":\"CIRRUS_PR\"},{\"name\":\"Codefresh\",\"constant\":\"CODEFRESH\",\"env\":\"CF_BUILD_ID\",\"pr\":{\"any\":[\"CF_PULL_REQUEST_NUMBER\",\"CF_PULL_REQUEST_ID\"]}},{\"name\":\"Codemagic\",\"constant\":\"CODEMAGIC\",\"env\":\"CM_BUILD_ID\",\"pr\":\"CM_PULL_REQUEST\"},{\"name\":\"Codeship\",\"constant\":\"CODESHIP\",\"env\":{\"CI_NAME\":\"codeship\"}},{\"name\":\"Drone\",\"constant\":\"DRONE\",\"env\":\"DRONE\",\"pr\":{\"DRONE_BUILD_EVENT\":\"pull_request\"}},{\"name\":\"dsari\",\"constant\":\"DSARI\",\"env\":\"DSARI\"},{\"name\":\"Expo Application Services\",\"constant\":\"EAS\",\"env\":\"EAS_BUILD\"},{\"name\":\"Gerrit\",\"constant\":\"GERRIT\",\"env\":\"GERRIT_PROJECT\"},{\"name\":\"GitHub Actions\",\"constant\":\"GITHUB_ACTIONS\",\"env\":\"GITHUB_ACTIONS\",\"pr\":{\"GITHUB_EVENT_NAME\":\"pull_request\"}},{\"name\":\"GitLab CI\",\"constant\":\"GITLAB\",\"env\":\"GITLAB_CI\",\"pr\":\"CI_MERGE_REQUEST_ID\"},{\"name\":\"GoCD\",\"constant\":\"GOCD\",\"env\":\"GO_PIPELINE_LABEL\"},{\"name\":\"Google Cloud Build\",\"constant\":\"GOOGLE_CLOUD_BUILD\",\"env\":\"BUILDER_OUTPUT\"},{\"name\":\"Harness CI\",\"constant\":\"HARNESS\",\"env\":\"HARNESS_BUILD_ID\"},{\"name\":\"Heroku\",\"constant\":\"HEROKU\",\"env\":{\"env\":\"NODE\",\"includes\":\"/app/.heroku/node/bin/node\"}},{\"name\":\"Hudson\",\"constant\":\"HUDSON\",\"env\":\"HUDSON_URL\"},{\"name\":\"Jenkins\",\"constant\":\"JENKINS\",\"env\":[\"JENKINS_URL\",\"BUILD_ID\"],\"pr\":{\"any\":[\"ghprbPullId\",\"CHANGE_ID\"]}},{\"name\":\"LayerCI\",\"constant\":\"LAYERCI\",\"env\":\"LAYERCI\",\"pr\":\"LAYERCI_PULL_REQUEST\"},{\"name\":\"Magnum CI\",\"constant\":\"MAGNUM\",\"env\":\"MAGNUM\"},{\"name\":\"Netlify CI\",\"constant\":\"NETLIFY\",\"env\":\"NETLIFY\",\"pr\":{\"env\":\"PULL_REQUEST\",\"ne\":\"false\"}},{\"name\":\"Nevercode\",\"constant\":\"NEVERCODE\",\"env\":\"NEVERCODE\",\"pr\":{\"env\":\"NEVERCODE_PULL_REQUEST\",\"ne\":\"false\"}},{\"name\":\"ReleaseHub\",\"constant\":\"RELEASEHUB\",\"env\":\"RELEASE_BUILD_ID\"},{\"name\":\"Render\",\"constant\":\"RENDER\",\"env\":\"RENDER\",\"pr\":{\"IS_PULL_REQUEST\":\"true\"}},{\"name\":\"Sail CI\",\"constant\":\"SAIL\",\"env\":\"SAILCI\",\"pr\":\"SAIL_PULL_REQUEST_NUMBER\"},{\"name\":\"Screwdriver\",\"constant\":\"SCREWDRIVER\",\"env\":\"SCREWDRIVER\",\"pr\":{\"env\":\"SD_PULL_REQUEST\",\"ne\":\"false\"}},{\"name\":\"Semaphore\",\"constant\":\"SEMAPHORE\",\"env\":\"SEMAPHORE\",\"pr\":\"PULL_REQUEST_NUMBER\"},{\"name\":\"Shippable\",\"constant\":\"SHIPPABLE\",\"env\":\"SHIPPABLE\",\"pr\":{\"IS_PULL_REQUEST\":\"true\"}},{\"name\":\"Solano CI\",\"constant\":\"SOLANO\",\"env\":\"TDDIUM\",\"pr\":\"TDDIUM_PR_ID\"},{\"name\":\"Sourcehut\",\"constant\":\"SOURCEHUT\",\"env\":{\"CI_NAME\":\"sourcehut\"}},{\"name\":\"Strider CD\",\"constant\":\"STRIDER\",\"env\":\"STRIDER\"},{\"name\":\"TaskCluster\",\"constant\":\"TASKCLUSTER\",\"env\":[\"TASK_ID\",\"RUN_ID\"]},{\"name\":\"TeamCity\",\"constant\":\"TEAMCITY\",\"env\":\"TEAMCITY_VERSION\"},{\"name\":\"Travis CI\",\"constant\":\"TRAVIS\",\"env\":\"TRAVIS\",\"pr\":{\"env\":\"TRAVIS_PULL_REQUEST\",\"ne\":\"false\"}},{\"name\":\"Vercel\",\"constant\":\"VERCEL\",\"env\":{\"any\":[\"NOW_BUILDER\",\"VERCEL\"]}},{\"name\":\"Visual Studio App Center\",\"constant\":\"APPCENTER\",\"env\":\"APPCENTER_BUILD_ID\"},{\"name\":\"Woodpecker\",\"constant\":\"WOODPECKER\",\"env\":{\"CI\":\"woodpecker\"},\"pr\":{\"CI_BUILD_EVENT\":\"pull_request\"}},{\"name\":\"Xcode Cloud\",\"constant\":\"XCODE_CLOUD\",\"env\":\"CI_XCODE_PROJECT\",\"pr\":\"CI_PULL_REQUEST_NUMBER\"},{\"name\":\"Xcode Server\",\"constant\":\"XCODE_SERVER\",\"env\":\"XCS\"}]');\n\n});\n\n\nparcelRequire.register(\"ER74K\", function(module, exports) {\n\n$parcel$export(module.exports, \"error\", () => $59a05e0535061862$export$a3bc9b8ed74fc);\n$parcel$export(module.exports, \"success\", () => $59a05e0535061862$export$fe7c49d056ea1d88);\n$parcel$export(module.exports, \"warning\", () => $59a05e0535061862$export$491112666e282270);\n$parcel$export(module.exports, \"notice\", () => $59a05e0535061862$export$b31f6ae88848cf15);\n$parcel$export(module.exports, \"info\", () => $59a05e0535061862$export$a80b3bd66acc52ff);\n\nvar $lcRzN = parcelRequire(\"lcRzN\");\n\nvar $dTX7a = parcelRequire(\"dTX7a\");\nfunction $59a05e0535061862$export$a3bc9b8ed74fc(err) {\n return (0, $dTX7a.GITHUB_ACTIONS) ? $lcRzN.error(err) : console.log(`\\x1b[31m${err}\\x1b[0m`);\n}\nfunction $59a05e0535061862$export$fe7c49d056ea1d88(msg) {\n return console.log(`\\x1b[32m${msg}\\x1b[0m`);\n}\nfunction $59a05e0535061862$export$491112666e282270(msg) {\n return (0, $dTX7a.GITHUB_ACTIONS) ? $lcRzN.warning(msg) : console.log(`\\x1b[33m${msg}\\x1b[0m`);\n}\nfunction $59a05e0535061862$export$b31f6ae88848cf15(msg) {\n return (0, $dTX7a.GITHUB_ACTIONS) ? $lcRzN.notice(msg) : console.log(`\\x1b[94m${msg}\\x1b[0m`);\n}\nfunction $59a05e0535061862$export$a80b3bd66acc52ff(msg) {\n return (0, $dTX7a.GITHUB_ACTIONS) ? $lcRzN.info(msg) : console.log(msg);\n}\n\n});\nparcelRequire.register(\"lcRzN\", function(module, exports) {\n\"use strict\";\nvar $f704471fd4196e44$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $f704471fd4196e44$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $f704471fd4196e44$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $f704471fd4196e44$var$__createBinding(result, mod, k);\n }\n $f704471fd4196e44$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $f704471fd4196e44$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.getIDToken = module.exports.getState = module.exports.saveState = module.exports.group = module.exports.endGroup = module.exports.startGroup = module.exports.info = module.exports.notice = module.exports.warning = module.exports.error = module.exports.debug = module.exports.isDebug = module.exports.setFailed = module.exports.setCommandEcho = module.exports.setOutput = module.exports.getBooleanInput = module.exports.getMultilineInput = module.exports.getInput = module.exports.addPath = module.exports.setSecret = module.exports.exportVariable = module.exports.ExitCode = void 0;\n\nvar $17SLf = parcelRequire(\"17SLf\");\n\nvar $7PXQQ = parcelRequire(\"7PXQQ\");\n\nvar $6L1x9 = parcelRequire(\"6L1x9\");\n\nconst $f704471fd4196e44$var$os = $f704471fd4196e44$var$__importStar($d7DIX$os);\n\nconst $f704471fd4196e44$var$path = $f704471fd4196e44$var$__importStar($d7DIX$path);\n\nvar $5n2X4 = parcelRequire(\"5n2X4\");\n/**\n * The code to exit an action\n */ var $f704471fd4196e44$var$ExitCode;\n(function(ExitCode) {\n /**\n * A code indicating that the action was successful\n */ ExitCode[ExitCode[\"Success\"] = 0] = \"Success\";\n /**\n * A code indicating that the action was a failure\n */ ExitCode[ExitCode[\"Failure\"] = 1] = \"Failure\";\n})($f704471fd4196e44$var$ExitCode = module.exports.ExitCode || (module.exports.ExitCode = {}));\n//-----------------------------------------------------------------------\n// Variables\n//-----------------------------------------------------------------------\n/**\n * Sets env variable for this action and future actions in the job\n * @param name the name of the variable to set\n * @param val the value of the variable. Non-string values will be converted to a string via JSON.stringify\n */ // eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction $f704471fd4196e44$var$exportVariable(name, val) {\n const convertedVal = $6L1x9.toCommandValue(val);\n process.env[name] = convertedVal;\n const filePath = process.env[\"GITHUB_ENV\"] || \"\";\n if (filePath) return $7PXQQ.issueFileCommand(\"ENV\", $7PXQQ.prepareKeyValueMessage(name, val));\n $17SLf.issueCommand(\"set-env\", {\n name: name\n }, convertedVal);\n}\nmodule.exports.exportVariable = $f704471fd4196e44$var$exportVariable;\n/**\n * Registers a secret which will get masked from logs\n * @param secret value of the secret\n */ function $f704471fd4196e44$var$setSecret(secret) {\n $17SLf.issueCommand(\"add-mask\", {}, secret);\n}\nmodule.exports.setSecret = $f704471fd4196e44$var$setSecret;\n/**\n * Prepends inputPath to the PATH (for this action and future actions)\n * @param inputPath\n */ function $f704471fd4196e44$var$addPath(inputPath) {\n const filePath = process.env[\"GITHUB_PATH\"] || \"\";\n if (filePath) $7PXQQ.issueFileCommand(\"PATH\", inputPath);\n else $17SLf.issueCommand(\"add-path\", {}, inputPath);\n process.env[\"PATH\"] = `${inputPath}${$f704471fd4196e44$var$path.delimiter}${process.env[\"PATH\"]}`;\n}\nmodule.exports.addPath = $f704471fd4196e44$var$addPath;\n/**\n * Gets the value of an input.\n * Unless trimWhitespace is set to false in InputOptions, the value is also trimmed.\n * Returns an empty string if the value is not defined.\n *\n * @param name name of the input to get\n * @param options optional. See InputOptions.\n * @returns string\n */ function $f704471fd4196e44$var$getInput(name, options) {\n const val = process.env[`INPUT_${name.replace(/ /g, \"_\").toUpperCase()}`] || \"\";\n if (options && options.required && !val) throw new Error(`Input required and not supplied: ${name}`);\n if (options && options.trimWhitespace === false) return val;\n return val.trim();\n}\nmodule.exports.getInput = $f704471fd4196e44$var$getInput;\n/**\n * Gets the values of an multiline input. Each value is also trimmed.\n *\n * @param name name of the input to get\n * @param options optional. See InputOptions.\n * @returns string[]\n *\n */ function $f704471fd4196e44$var$getMultilineInput(name, options) {\n const inputs = $f704471fd4196e44$var$getInput(name, options).split(\"\\n\").filter((x)=>x !== \"\");\n if (options && options.trimWhitespace === false) return inputs;\n return inputs.map((input)=>input.trim());\n}\nmodule.exports.getMultilineInput = $f704471fd4196e44$var$getMultilineInput;\n/**\n * Gets the input value of the boolean type in the YAML 1.2 \"core schema\" specification.\n * Support boolean input list: `true | True | TRUE | false | False | FALSE` .\n * The return value is also in boolean type.\n * ref: https://yaml.org/spec/1.2/spec.html#id2804923\n *\n * @param name name of the input to get\n * @param options optional. See InputOptions.\n * @returns boolean\n */ function $f704471fd4196e44$var$getBooleanInput(name, options) {\n const trueValue = [\n \"true\",\n \"True\",\n \"TRUE\"\n ];\n const falseValue = [\n \"false\",\n \"False\",\n \"FALSE\"\n ];\n const val = $f704471fd4196e44$var$getInput(name, options);\n if (trueValue.includes(val)) return true;\n if (falseValue.includes(val)) return false;\n throw new TypeError(`Input does not meet YAML 1.2 \"Core Schema\" specification: ${name}\\n` + `Support boolean input list: \\`true | True | TRUE | false | False | FALSE\\``);\n}\nmodule.exports.getBooleanInput = $f704471fd4196e44$var$getBooleanInput;\n/**\n * Sets the value of an output.\n *\n * @param name name of the output to set\n * @param value value to store. Non-string values will be converted to a string via JSON.stringify\n */ // eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction $f704471fd4196e44$var$setOutput(name, value) {\n const filePath = process.env[\"GITHUB_OUTPUT\"] || \"\";\n if (filePath) return $7PXQQ.issueFileCommand(\"OUTPUT\", $7PXQQ.prepareKeyValueMessage(name, value));\n process.stdout.write($f704471fd4196e44$var$os.EOL);\n $17SLf.issueCommand(\"set-output\", {\n name: name\n }, $6L1x9.toCommandValue(value));\n}\nmodule.exports.setOutput = $f704471fd4196e44$var$setOutput;\n/**\n * Enables or disables the echoing of commands into stdout for the rest of the step.\n * Echoing is disabled by default if ACTIONS_STEP_DEBUG is not set.\n *\n */ function $f704471fd4196e44$var$setCommandEcho(enabled) {\n $17SLf.issue(\"echo\", enabled ? \"on\" : \"off\");\n}\nmodule.exports.setCommandEcho = $f704471fd4196e44$var$setCommandEcho;\n//-----------------------------------------------------------------------\n// Results\n//-----------------------------------------------------------------------\n/**\n * Sets the action status to failed.\n * When the action exits it will be with an exit code of 1\n * @param message add error issue message\n */ function $f704471fd4196e44$var$setFailed(message) {\n process.exitCode = $f704471fd4196e44$var$ExitCode.Failure;\n $f704471fd4196e44$var$error(message);\n}\nmodule.exports.setFailed = $f704471fd4196e44$var$setFailed;\n//-----------------------------------------------------------------------\n// Logging Commands\n//-----------------------------------------------------------------------\n/**\n * Gets whether Actions Step Debug is on or not\n */ function $f704471fd4196e44$var$isDebug() {\n return process.env[\"RUNNER_DEBUG\"] === \"1\";\n}\nmodule.exports.isDebug = $f704471fd4196e44$var$isDebug;\n/**\n * Writes debug message to user log\n * @param message debug message\n */ function $f704471fd4196e44$var$debug(message) {\n $17SLf.issueCommand(\"debug\", {}, message);\n}\nmodule.exports.debug = $f704471fd4196e44$var$debug;\n/**\n * Adds an error issue\n * @param message error issue message. Errors will be converted to string via toString()\n * @param properties optional properties to add to the annotation.\n */ function $f704471fd4196e44$var$error(message, properties = {}) {\n $17SLf.issueCommand(\"error\", $6L1x9.toCommandProperties(properties), message instanceof Error ? message.toString() : message);\n}\nmodule.exports.error = $f704471fd4196e44$var$error;\n/**\n * Adds a warning issue\n * @param message warning issue message. Errors will be converted to string via toString()\n * @param properties optional properties to add to the annotation.\n */ function $f704471fd4196e44$var$warning(message, properties = {}) {\n $17SLf.issueCommand(\"warning\", $6L1x9.toCommandProperties(properties), message instanceof Error ? message.toString() : message);\n}\nmodule.exports.warning = $f704471fd4196e44$var$warning;\n/**\n * Adds a notice issue\n * @param message notice issue message. Errors will be converted to string via toString()\n * @param properties optional properties to add to the annotation.\n */ function $f704471fd4196e44$var$notice(message, properties = {}) {\n $17SLf.issueCommand(\"notice\", $6L1x9.toCommandProperties(properties), message instanceof Error ? message.toString() : message);\n}\nmodule.exports.notice = $f704471fd4196e44$var$notice;\n/**\n * Writes info to log with console.log.\n * @param message info message\n */ function $f704471fd4196e44$var$info(message) {\n process.stdout.write(message + $f704471fd4196e44$var$os.EOL);\n}\nmodule.exports.info = $f704471fd4196e44$var$info;\n/**\n * Begin an output group.\n *\n * Output until the next `groupEnd` will be foldable in this group\n *\n * @param name The name of the output group\n */ function $f704471fd4196e44$var$startGroup(name) {\n $17SLf.issue(\"group\", name);\n}\nmodule.exports.startGroup = $f704471fd4196e44$var$startGroup;\n/**\n * End an output group.\n */ function $f704471fd4196e44$var$endGroup() {\n $17SLf.issue(\"endgroup\");\n}\nmodule.exports.endGroup = $f704471fd4196e44$var$endGroup;\n/**\n * Wrap an asynchronous function call in a group.\n *\n * Returns the same type as the function itself.\n *\n * @param name The name of the group\n * @param fn The function to wrap in the group\n */ function $f704471fd4196e44$var$group(name, fn) {\n return $f704471fd4196e44$var$__awaiter(this, void 0, void 0, function*() {\n $f704471fd4196e44$var$startGroup(name);\n let result;\n try {\n result = yield fn();\n } finally{\n $f704471fd4196e44$var$endGroup();\n }\n return result;\n });\n}\nmodule.exports.group = $f704471fd4196e44$var$group;\n//-----------------------------------------------------------------------\n// Wrapper action state\n//-----------------------------------------------------------------------\n/**\n * Saves state for current action, the state can only be retrieved by this action's post job execution.\n *\n * @param name name of the state to store\n * @param value value to store. Non-string values will be converted to a string via JSON.stringify\n */ // eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction $f704471fd4196e44$var$saveState(name, value) {\n const filePath = process.env[\"GITHUB_STATE\"] || \"\";\n if (filePath) return $7PXQQ.issueFileCommand(\"STATE\", $7PXQQ.prepareKeyValueMessage(name, value));\n $17SLf.issueCommand(\"save-state\", {\n name: name\n }, $6L1x9.toCommandValue(value));\n}\nmodule.exports.saveState = $f704471fd4196e44$var$saveState;\n/**\n * Gets the value of an state set by this action's main execution.\n *\n * @param name name of the state to get\n * @returns string\n */ function $f704471fd4196e44$var$getState(name) {\n return process.env[`STATE_${name}`] || \"\";\n}\nmodule.exports.getState = $f704471fd4196e44$var$getState;\nfunction $f704471fd4196e44$var$getIDToken(aud) {\n return $f704471fd4196e44$var$__awaiter(this, void 0, void 0, function*() {\n return yield $5n2X4.OidcClient.getIDToken(aud);\n });\n}\nmodule.exports.getIDToken = $f704471fd4196e44$var$getIDToken;\n\nvar $4rwlm = parcelRequire(\"4rwlm\");\nObject.defineProperty(module.exports, \"summary\", {\n enumerable: true,\n get: function() {\n return $4rwlm.summary;\n }\n});\n\nvar $4rwlm = parcelRequire(\"4rwlm\");\nObject.defineProperty(module.exports, \"markdownSummary\", {\n enumerable: true,\n get: function() {\n return $4rwlm.markdownSummary;\n }\n});\n\nvar $3jp5d = parcelRequire(\"3jp5d\");\nObject.defineProperty(module.exports, \"toPosixPath\", {\n enumerable: true,\n get: function() {\n return $3jp5d.toPosixPath;\n }\n});\nObject.defineProperty(module.exports, \"toWin32Path\", {\n enumerable: true,\n get: function() {\n return $3jp5d.toWin32Path;\n }\n});\nObject.defineProperty(module.exports, \"toPlatformPath\", {\n enumerable: true,\n get: function() {\n return $3jp5d.toPlatformPath;\n }\n});\n\n});\nparcelRequire.register(\"17SLf\", function(module, exports) {\n\"use strict\";\nvar $0d20ec4afd568906$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $0d20ec4afd568906$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $0d20ec4afd568906$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $0d20ec4afd568906$var$__createBinding(result, mod, k);\n }\n $0d20ec4afd568906$var$__setModuleDefault(result, mod);\n return result;\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.issue = module.exports.issueCommand = void 0;\n\nconst $0d20ec4afd568906$var$os = $0d20ec4afd568906$var$__importStar($d7DIX$os);\n\nvar $6L1x9 = parcelRequire(\"6L1x9\");\n/**\n * Commands\n *\n * Command Format:\n * ::name key=value,key=value::message\n *\n * Examples:\n * ::warning::This is the message\n * ::set-env name=MY_VAR::some value\n */ function $0d20ec4afd568906$var$issueCommand(command, properties, message) {\n const cmd = new $0d20ec4afd568906$var$Command(command, properties, message);\n process.stdout.write(cmd.toString() + $0d20ec4afd568906$var$os.EOL);\n}\nmodule.exports.issueCommand = $0d20ec4afd568906$var$issueCommand;\nfunction $0d20ec4afd568906$var$issue(name, message = \"\") {\n $0d20ec4afd568906$var$issueCommand(name, {}, message);\n}\nmodule.exports.issue = $0d20ec4afd568906$var$issue;\nconst $0d20ec4afd568906$var$CMD_STRING = \"::\";\nclass $0d20ec4afd568906$var$Command {\n constructor(command, properties, message){\n if (!command) command = \"missing.command\";\n this.command = command;\n this.properties = properties;\n this.message = message;\n }\n toString() {\n let cmdStr = $0d20ec4afd568906$var$CMD_STRING + this.command;\n if (this.properties && Object.keys(this.properties).length > 0) {\n cmdStr += \" \";\n let first = true;\n for(const key in this.properties)if (this.properties.hasOwnProperty(key)) {\n const val = this.properties[key];\n if (val) {\n if (first) first = false;\n else cmdStr += \",\";\n cmdStr += `${key}=${$0d20ec4afd568906$var$escapeProperty(val)}`;\n }\n }\n }\n cmdStr += `${$0d20ec4afd568906$var$CMD_STRING}${$0d20ec4afd568906$var$escapeData(this.message)}`;\n return cmdStr;\n }\n}\nfunction $0d20ec4afd568906$var$escapeData(s) {\n return $6L1x9.toCommandValue(s).replace(/%/g, \"%25\").replace(/\\r/g, \"%0D\").replace(/\\n/g, \"%0A\");\n}\nfunction $0d20ec4afd568906$var$escapeProperty(s) {\n return $6L1x9.toCommandValue(s).replace(/%/g, \"%25\").replace(/\\r/g, \"%0D\").replace(/\\n/g, \"%0A\").replace(/:/g, \"%3A\").replace(/,/g, \"%2C\");\n}\n\n});\nparcelRequire.register(\"6L1x9\", function(module, exports) {\n\"use strict\";\n// We use any as a valid input type\n/* eslint-disable @typescript-eslint/no-explicit-any */ Object.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.toCommandProperties = module.exports.toCommandValue = void 0;\n/**\n * Sanitizes an input into a string so it can be passed into issueCommand safely\n * @param input input to sanitize into a string\n */ function $4eb8526c1d3a2985$var$toCommandValue(input) {\n if (input === null || input === undefined) return \"\";\n else if (typeof input === \"string\" || input instanceof String) return input;\n return JSON.stringify(input);\n}\nmodule.exports.toCommandValue = $4eb8526c1d3a2985$var$toCommandValue;\n/**\n *\n * @param annotationProperties\n * @returns The command properties to send with the actual annotation command\n * See IssueCommandProperties: https://github.com/actions/runner/blob/main/src/Runner.Worker/ActionCommandManager.cs#L646\n */ function $4eb8526c1d3a2985$var$toCommandProperties(annotationProperties) {\n if (!Object.keys(annotationProperties).length) return {};\n return {\n title: annotationProperties.title,\n file: annotationProperties.file,\n line: annotationProperties.startLine,\n endLine: annotationProperties.endLine,\n col: annotationProperties.startColumn,\n endColumn: annotationProperties.endColumn\n };\n}\nmodule.exports.toCommandProperties = $4eb8526c1d3a2985$var$toCommandProperties;\n\n});\n\n\nparcelRequire.register(\"7PXQQ\", function(module, exports) {\n\"use strict\";\n// For internal use, subject to change.\nvar $5b4bb907da67ab2d$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $5b4bb907da67ab2d$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $5b4bb907da67ab2d$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $5b4bb907da67ab2d$var$__createBinding(result, mod, k);\n }\n $5b4bb907da67ab2d$var$__setModuleDefault(result, mod);\n return result;\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.prepareKeyValueMessage = module.exports.issueFileCommand = void 0;\n\n// We use any as a valid input type\n/* eslint-disable @typescript-eslint/no-explicit-any */ const $5b4bb907da67ab2d$var$fs = $5b4bb907da67ab2d$var$__importStar($d7DIX$fs);\n\nconst $5b4bb907da67ab2d$var$os = $5b4bb907da67ab2d$var$__importStar($d7DIX$os);\n\nvar $4dndm = parcelRequire(\"4dndm\");\n\nvar $6L1x9 = parcelRequire(\"6L1x9\");\nfunction $5b4bb907da67ab2d$var$issueFileCommand(command, message) {\n const filePath = process.env[`GITHUB_${command}`];\n if (!filePath) throw new Error(`Unable to find environment variable for file command ${command}`);\n if (!$5b4bb907da67ab2d$var$fs.existsSync(filePath)) throw new Error(`Missing file at path: ${filePath}`);\n $5b4bb907da67ab2d$var$fs.appendFileSync(filePath, `${$6L1x9.toCommandValue(message)}${$5b4bb907da67ab2d$var$os.EOL}`, {\n encoding: \"utf8\"\n });\n}\nmodule.exports.issueFileCommand = $5b4bb907da67ab2d$var$issueFileCommand;\nfunction $5b4bb907da67ab2d$var$prepareKeyValueMessage(key, value) {\n const delimiter = `ghadelimiter_${$4dndm.default()}`;\n const convertedValue = $6L1x9.toCommandValue(value);\n // These should realistically never happen, but just in case someone finds a\n // way to exploit uuid generation let's not allow keys or values that contain\n // the delimiter.\n if (key.includes(delimiter)) throw new Error(`Unexpected input: name should not contain the delimiter \"${delimiter}\"`);\n if (convertedValue.includes(delimiter)) throw new Error(`Unexpected input: value should not contain the delimiter \"${delimiter}\"`);\n return `${key}<<${delimiter}${$5b4bb907da67ab2d$var$os.EOL}${convertedValue}${$5b4bb907da67ab2d$var$os.EOL}${delimiter}`;\n}\nmodule.exports.prepareKeyValueMessage = $5b4bb907da67ab2d$var$prepareKeyValueMessage;\n\n});\nparcelRequire.register(\"4dndm\", function(module, exports) {\n\n$parcel$export(module.exports, \"default\", () => $311a623cba3d6708$export$2e2bcd8739ae039);\n\nvar $5SVBN = parcelRequire(\"5SVBN\");\n\nvar $38Etc = parcelRequire(\"38Etc\");\nfunction $311a623cba3d6708$var$v4(options, buf, offset) {\n options = options || {};\n const rnds = options.random || (options.rng || (0, $5SVBN.default))(); // 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; // Copy bytes to buffer, if provided\n if (buf) {\n offset = offset || 0;\n for(let i = 0; i < 16; ++i)buf[offset + i] = rnds[i];\n return buf;\n }\n return (0, $38Etc.default)(rnds);\n}\nvar $311a623cba3d6708$export$2e2bcd8739ae039 = $311a623cba3d6708$var$v4;\n\n});\nparcelRequire.register(\"5SVBN\", function(module, exports) {\n\n$parcel$export(module.exports, \"default\", () => $448eaec0ed646784$export$2e2bcd8739ae039);\n\nconst $448eaec0ed646784$var$rnds8Pool = new Uint8Array(256); // # of random values to pre-allocate\nlet $448eaec0ed646784$var$poolPtr = $448eaec0ed646784$var$rnds8Pool.length;\nfunction $448eaec0ed646784$export$2e2bcd8739ae039() {\n if ($448eaec0ed646784$var$poolPtr > $448eaec0ed646784$var$rnds8Pool.length - 16) {\n (0, ($parcel$interopDefault($d7DIX$crypto))).randomFillSync($448eaec0ed646784$var$rnds8Pool);\n $448eaec0ed646784$var$poolPtr = 0;\n }\n return $448eaec0ed646784$var$rnds8Pool.slice($448eaec0ed646784$var$poolPtr, $448eaec0ed646784$var$poolPtr += 16);\n}\n\n});\n\nparcelRequire.register(\"38Etc\", function(module, exports) {\n\n$parcel$export(module.exports, \"default\", () => $249182ed347396a3$export$2e2bcd8739ae039);\n\nvar $f9HAa = parcelRequire(\"f9HAa\");\n/**\n * Convert array of 16 byte values to UUID string format of the form:\n * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\n */ const $249182ed347396a3$var$byteToHex = [];\nfor(let i = 0; i < 256; ++i)$249182ed347396a3$var$byteToHex.push((i + 0x100).toString(16).substr(1));\nfunction $249182ed347396a3$var$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 = ($249182ed347396a3$var$byteToHex[arr[offset + 0]] + $249182ed347396a3$var$byteToHex[arr[offset + 1]] + $249182ed347396a3$var$byteToHex[arr[offset + 2]] + $249182ed347396a3$var$byteToHex[arr[offset + 3]] + \"-\" + $249182ed347396a3$var$byteToHex[arr[offset + 4]] + $249182ed347396a3$var$byteToHex[arr[offset + 5]] + \"-\" + $249182ed347396a3$var$byteToHex[arr[offset + 6]] + $249182ed347396a3$var$byteToHex[arr[offset + 7]] + \"-\" + $249182ed347396a3$var$byteToHex[arr[offset + 8]] + $249182ed347396a3$var$byteToHex[arr[offset + 9]] + \"-\" + $249182ed347396a3$var$byteToHex[arr[offset + 10]] + $249182ed347396a3$var$byteToHex[arr[offset + 11]] + $249182ed347396a3$var$byteToHex[arr[offset + 12]] + $249182ed347396a3$var$byteToHex[arr[offset + 13]] + $249182ed347396a3$var$byteToHex[arr[offset + 14]] + $249182ed347396a3$var$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 if (!(0, $f9HAa.default)(uuid)) throw TypeError(\"Stringified UUID is invalid\");\n return uuid;\n}\nvar $249182ed347396a3$export$2e2bcd8739ae039 = $249182ed347396a3$var$stringify;\n\n});\nparcelRequire.register(\"f9HAa\", function(module, exports) {\n\n$parcel$export(module.exports, \"default\", () => $b08980d5911a1fe8$export$2e2bcd8739ae039);\n\nvar $bpRYF = parcelRequire(\"bpRYF\");\nfunction $b08980d5911a1fe8$var$validate(uuid) {\n return typeof uuid === \"string\" && (0, $bpRYF.default).test(uuid);\n}\nvar $b08980d5911a1fe8$export$2e2bcd8739ae039 = $b08980d5911a1fe8$var$validate;\n\n});\nparcelRequire.register(\"bpRYF\", function(module, exports) {\n\n$parcel$export(module.exports, \"default\", () => $0225185c16cb00a7$export$2e2bcd8739ae039);\nvar $0225185c16cb00a7$export$2e2bcd8739ae039 = /^(?:[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;\n\n});\n\n\n\n\n\nparcelRequire.register(\"5n2X4\", function(module, exports) {\n\"use strict\";\nvar $3e9163e31345998a$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.OidcClient = void 0;\n\nvar $3bels = parcelRequire(\"3bels\");\n\nvar $8GCMm = parcelRequire(\"8GCMm\");\n\nvar $lcRzN = parcelRequire(\"lcRzN\");\nclass $3e9163e31345998a$var$OidcClient {\n static createHttpClient(allowRetry = true, maxRetry = 10) {\n const requestOptions = {\n allowRetries: allowRetry,\n maxRetries: maxRetry\n };\n return new $3bels.HttpClient(\"actions/oidc-client\", [\n new $8GCMm.BearerCredentialHandler($3e9163e31345998a$var$OidcClient.getRequestToken())\n ], requestOptions);\n }\n static getRequestToken() {\n const token = process.env[\"ACTIONS_ID_TOKEN_REQUEST_TOKEN\"];\n if (!token) throw new Error(\"Unable to get ACTIONS_ID_TOKEN_REQUEST_TOKEN env variable\");\n return token;\n }\n static getIDTokenUrl() {\n const runtimeUrl = process.env[\"ACTIONS_ID_TOKEN_REQUEST_URL\"];\n if (!runtimeUrl) throw new Error(\"Unable to get ACTIONS_ID_TOKEN_REQUEST_URL env variable\");\n return runtimeUrl;\n }\n static getCall(id_token_url) {\n var _a;\n return $3e9163e31345998a$var$__awaiter(this, void 0, void 0, function*() {\n const httpclient = $3e9163e31345998a$var$OidcClient.createHttpClient();\n const res = yield httpclient.getJson(id_token_url).catch((error)=>{\n throw new Error(`Failed to get ID Token. \\n \n Error Code : ${error.statusCode}\\n \n Error Message: ${error.result.message}`);\n });\n const id_token = (_a = res.result) === null || _a === void 0 ? void 0 : _a.value;\n if (!id_token) throw new Error(\"Response json body do not have ID Token field\");\n return id_token;\n });\n }\n static getIDToken(audience) {\n return $3e9163e31345998a$var$__awaiter(this, void 0, void 0, function*() {\n try {\n // New ID Token is requested from action service\n let id_token_url = $3e9163e31345998a$var$OidcClient.getIDTokenUrl();\n if (audience) {\n const encodedAudience = encodeURIComponent(audience);\n id_token_url = `${id_token_url}&audience=${encodedAudience}`;\n }\n $lcRzN.debug(`ID token url is ${id_token_url}`);\n const id_token = yield $3e9163e31345998a$var$OidcClient.getCall(id_token_url);\n $lcRzN.setSecret(id_token);\n return id_token;\n } catch (error) {\n throw new Error(`Error message: ${error.message}`);\n }\n });\n }\n}\nmodule.exports.OidcClient = $3e9163e31345998a$var$OidcClient;\n\n});\nparcelRequire.register(\"3bels\", function(module, exports) {\n\"use strict\";\n/* eslint-disable @typescript-eslint/no-explicit-any */ var $250d86cb9ce65094$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $250d86cb9ce65094$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $250d86cb9ce65094$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $250d86cb9ce65094$var$__createBinding(result, mod, k);\n }\n $250d86cb9ce65094$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $250d86cb9ce65094$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.HttpClient = module.exports.isHttps = module.exports.HttpClientResponse = module.exports.HttpClientError = module.exports.getProxyUrl = module.exports.MediaTypes = module.exports.Headers = module.exports.HttpCodes = void 0;\n\nconst $250d86cb9ce65094$var$http = $250d86cb9ce65094$var$__importStar($d7DIX$http);\n\nconst $250d86cb9ce65094$var$https = $250d86cb9ce65094$var$__importStar($d7DIX$https);\n\nconst $250d86cb9ce65094$var$pm = $250d86cb9ce65094$var$__importStar((parcelRequire(\"ht6Lg\")));\n\nconst $250d86cb9ce65094$var$tunnel = $250d86cb9ce65094$var$__importStar((parcelRequire(\"eYDoL\")));\nvar $250d86cb9ce65094$var$HttpCodes;\n(function(HttpCodes) {\n HttpCodes[HttpCodes[\"OK\"] = 200] = \"OK\";\n HttpCodes[HttpCodes[\"MultipleChoices\"] = 300] = \"MultipleChoices\";\n HttpCodes[HttpCodes[\"MovedPermanently\"] = 301] = \"MovedPermanently\";\n HttpCodes[HttpCodes[\"ResourceMoved\"] = 302] = \"ResourceMoved\";\n HttpCodes[HttpCodes[\"SeeOther\"] = 303] = \"SeeOther\";\n HttpCodes[HttpCodes[\"NotModified\"] = 304] = \"NotModified\";\n HttpCodes[HttpCodes[\"UseProxy\"] = 305] = \"UseProxy\";\n HttpCodes[HttpCodes[\"SwitchProxy\"] = 306] = \"SwitchProxy\";\n HttpCodes[HttpCodes[\"TemporaryRedirect\"] = 307] = \"TemporaryRedirect\";\n HttpCodes[HttpCodes[\"PermanentRedirect\"] = 308] = \"PermanentRedirect\";\n HttpCodes[HttpCodes[\"BadRequest\"] = 400] = \"BadRequest\";\n HttpCodes[HttpCodes[\"Unauthorized\"] = 401] = \"Unauthorized\";\n HttpCodes[HttpCodes[\"PaymentRequired\"] = 402] = \"PaymentRequired\";\n HttpCodes[HttpCodes[\"Forbidden\"] = 403] = \"Forbidden\";\n HttpCodes[HttpCodes[\"NotFound\"] = 404] = \"NotFound\";\n HttpCodes[HttpCodes[\"MethodNotAllowed\"] = 405] = \"MethodNotAllowed\";\n HttpCodes[HttpCodes[\"NotAcceptable\"] = 406] = \"NotAcceptable\";\n HttpCodes[HttpCodes[\"ProxyAuthenticationRequired\"] = 407] = \"ProxyAuthenticationRequired\";\n HttpCodes[HttpCodes[\"RequestTimeout\"] = 408] = \"RequestTimeout\";\n HttpCodes[HttpCodes[\"Conflict\"] = 409] = \"Conflict\";\n HttpCodes[HttpCodes[\"Gone\"] = 410] = \"Gone\";\n HttpCodes[HttpCodes[\"TooManyRequests\"] = 429] = \"TooManyRequests\";\n HttpCodes[HttpCodes[\"InternalServerError\"] = 500] = \"InternalServerError\";\n HttpCodes[HttpCodes[\"NotImplemented\"] = 501] = \"NotImplemented\";\n HttpCodes[HttpCodes[\"BadGateway\"] = 502] = \"BadGateway\";\n HttpCodes[HttpCodes[\"ServiceUnavailable\"] = 503] = \"ServiceUnavailable\";\n HttpCodes[HttpCodes[\"GatewayTimeout\"] = 504] = \"GatewayTimeout\";\n})($250d86cb9ce65094$var$HttpCodes = module.exports.HttpCodes || (module.exports.HttpCodes = {}));\nvar $250d86cb9ce65094$var$Headers;\n(function(Headers) {\n Headers[\"Accept\"] = \"accept\";\n Headers[\"ContentType\"] = \"content-type\";\n})($250d86cb9ce65094$var$Headers = module.exports.Headers || (module.exports.Headers = {}));\nvar $250d86cb9ce65094$var$MediaTypes;\n(function(MediaTypes) {\n MediaTypes[\"ApplicationJson\"] = \"application/json\";\n})($250d86cb9ce65094$var$MediaTypes = module.exports.MediaTypes || (module.exports.MediaTypes = {}));\n/**\n * Returns the proxy URL, depending upon the supplied url and proxy environment variables.\n * @param serverUrl The server URL where the request will be sent. For example, https://api.github.com\n */ function $250d86cb9ce65094$var$getProxyUrl(serverUrl) {\n const proxyUrl = $250d86cb9ce65094$var$pm.getProxyUrl(new URL(serverUrl));\n return proxyUrl ? proxyUrl.href : \"\";\n}\nmodule.exports.getProxyUrl = $250d86cb9ce65094$var$getProxyUrl;\nconst $250d86cb9ce65094$var$HttpRedirectCodes = [\n $250d86cb9ce65094$var$HttpCodes.MovedPermanently,\n $250d86cb9ce65094$var$HttpCodes.ResourceMoved,\n $250d86cb9ce65094$var$HttpCodes.SeeOther,\n $250d86cb9ce65094$var$HttpCodes.TemporaryRedirect,\n $250d86cb9ce65094$var$HttpCodes.PermanentRedirect\n];\nconst $250d86cb9ce65094$var$HttpResponseRetryCodes = [\n $250d86cb9ce65094$var$HttpCodes.BadGateway,\n $250d86cb9ce65094$var$HttpCodes.ServiceUnavailable,\n $250d86cb9ce65094$var$HttpCodes.GatewayTimeout\n];\nconst $250d86cb9ce65094$var$RetryableHttpVerbs = [\n \"OPTIONS\",\n \"GET\",\n \"DELETE\",\n \"HEAD\"\n];\nconst $250d86cb9ce65094$var$ExponentialBackoffCeiling = 10;\nconst $250d86cb9ce65094$var$ExponentialBackoffTimeSlice = 5;\nclass $250d86cb9ce65094$var$HttpClientError extends Error {\n constructor(message, statusCode){\n super(message);\n this.name = \"HttpClientError\";\n this.statusCode = statusCode;\n Object.setPrototypeOf(this, $250d86cb9ce65094$var$HttpClientError.prototype);\n }\n}\nmodule.exports.HttpClientError = $250d86cb9ce65094$var$HttpClientError;\nclass $250d86cb9ce65094$var$HttpClientResponse {\n constructor(message){\n this.message = message;\n }\n readBody() {\n return $250d86cb9ce65094$var$__awaiter(this, void 0, void 0, function*() {\n return new Promise((resolve)=>$250d86cb9ce65094$var$__awaiter(this, void 0, void 0, function*() {\n let output = Buffer.alloc(0);\n this.message.on(\"data\", (chunk)=>{\n output = Buffer.concat([\n output,\n chunk\n ]);\n });\n this.message.on(\"end\", ()=>{\n resolve(output.toString());\n });\n }));\n });\n }\n}\nmodule.exports.HttpClientResponse = $250d86cb9ce65094$var$HttpClientResponse;\nfunction $250d86cb9ce65094$var$isHttps(requestUrl) {\n const parsedUrl = new URL(requestUrl);\n return parsedUrl.protocol === \"https:\";\n}\nmodule.exports.isHttps = $250d86cb9ce65094$var$isHttps;\nclass $250d86cb9ce65094$var$HttpClient {\n constructor(userAgent, handlers, requestOptions){\n this._ignoreSslError = false;\n this._allowRedirects = true;\n this._allowRedirectDowngrade = false;\n this._maxRedirects = 50;\n this._allowRetries = false;\n this._maxRetries = 1;\n this._keepAlive = false;\n this._disposed = false;\n this.userAgent = userAgent;\n this.handlers = handlers || [];\n this.requestOptions = requestOptions;\n if (requestOptions) {\n if (requestOptions.ignoreSslError != null) this._ignoreSslError = requestOptions.ignoreSslError;\n this._socketTimeout = requestOptions.socketTimeout;\n if (requestOptions.allowRedirects != null) this._allowRedirects = requestOptions.allowRedirects;\n if (requestOptions.allowRedirectDowngrade != null) this._allowRedirectDowngrade = requestOptions.allowRedirectDowngrade;\n if (requestOptions.maxRedirects != null) this._maxRedirects = Math.max(requestOptions.maxRedirects, 0);\n if (requestOptions.keepAlive != null) this._keepAlive = requestOptions.keepAlive;\n if (requestOptions.allowRetries != null) this._allowRetries = requestOptions.allowRetries;\n if (requestOptions.maxRetries != null) this._maxRetries = requestOptions.maxRetries;\n }\n }\n options(requestUrl, additionalHeaders) {\n return $250d86cb9ce65094$var$__awaiter(this, void 0, void 0, function*() {\n return this.request(\"OPTIONS\", requestUrl, null, additionalHeaders || {});\n });\n }\n get(requestUrl, additionalHeaders) {\n return $250d86cb9ce65094$var$__awaiter(this, void 0, void 0, function*() {\n return this.request(\"GET\", requestUrl, null, additionalHeaders || {});\n });\n }\n del(requestUrl, additionalHeaders) {\n return $250d86cb9ce65094$var$__awaiter(this, void 0, void 0, function*() {\n return this.request(\"DELETE\", requestUrl, null, additionalHeaders || {});\n });\n }\n post(requestUrl, data, additionalHeaders) {\n return $250d86cb9ce65094$var$__awaiter(this, void 0, void 0, function*() {\n return this.request(\"POST\", requestUrl, data, additionalHeaders || {});\n });\n }\n patch(requestUrl, data, additionalHeaders) {\n return $250d86cb9ce65094$var$__awaiter(this, void 0, void 0, function*() {\n return this.request(\"PATCH\", requestUrl, data, additionalHeaders || {});\n });\n }\n put(requestUrl, data, additionalHeaders) {\n return $250d86cb9ce65094$var$__awaiter(this, void 0, void 0, function*() {\n return this.request(\"PUT\", requestUrl, data, additionalHeaders || {});\n });\n }\n head(requestUrl, additionalHeaders) {\n return $250d86cb9ce65094$var$__awaiter(this, void 0, void 0, function*() {\n return this.request(\"HEAD\", requestUrl, null, additionalHeaders || {});\n });\n }\n sendStream(verb, requestUrl, stream, additionalHeaders) {\n return $250d86cb9ce65094$var$__awaiter(this, void 0, void 0, function*() {\n return this.request(verb, requestUrl, stream, additionalHeaders);\n });\n }\n /**\n * Gets a typed object from an endpoint\n * Be aware that not found returns a null. Other errors (4xx, 5xx) reject the promise\n */ getJson(requestUrl, additionalHeaders = {}) {\n return $250d86cb9ce65094$var$__awaiter(this, void 0, void 0, function*() {\n additionalHeaders[$250d86cb9ce65094$var$Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, $250d86cb9ce65094$var$Headers.Accept, $250d86cb9ce65094$var$MediaTypes.ApplicationJson);\n const res = yield this.get(requestUrl, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n });\n }\n postJson(requestUrl, obj, additionalHeaders = {}) {\n return $250d86cb9ce65094$var$__awaiter(this, void 0, void 0, function*() {\n const data = JSON.stringify(obj, null, 2);\n additionalHeaders[$250d86cb9ce65094$var$Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, $250d86cb9ce65094$var$Headers.Accept, $250d86cb9ce65094$var$MediaTypes.ApplicationJson);\n additionalHeaders[$250d86cb9ce65094$var$Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, $250d86cb9ce65094$var$Headers.ContentType, $250d86cb9ce65094$var$MediaTypes.ApplicationJson);\n const res = yield this.post(requestUrl, data, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n });\n }\n putJson(requestUrl, obj, additionalHeaders = {}) {\n return $250d86cb9ce65094$var$__awaiter(this, void 0, void 0, function*() {\n const data = JSON.stringify(obj, null, 2);\n additionalHeaders[$250d86cb9ce65094$var$Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, $250d86cb9ce65094$var$Headers.Accept, $250d86cb9ce65094$var$MediaTypes.ApplicationJson);\n additionalHeaders[$250d86cb9ce65094$var$Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, $250d86cb9ce65094$var$Headers.ContentType, $250d86cb9ce65094$var$MediaTypes.ApplicationJson);\n const res = yield this.put(requestUrl, data, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n });\n }\n patchJson(requestUrl, obj, additionalHeaders = {}) {\n return $250d86cb9ce65094$var$__awaiter(this, void 0, void 0, function*() {\n const data = JSON.stringify(obj, null, 2);\n additionalHeaders[$250d86cb9ce65094$var$Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, $250d86cb9ce65094$var$Headers.Accept, $250d86cb9ce65094$var$MediaTypes.ApplicationJson);\n additionalHeaders[$250d86cb9ce65094$var$Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, $250d86cb9ce65094$var$Headers.ContentType, $250d86cb9ce65094$var$MediaTypes.ApplicationJson);\n const res = yield this.patch(requestUrl, data, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n });\n }\n /**\n * Makes a raw http request.\n * All other methods such as get, post, patch, and request ultimately call this.\n * Prefer get, del, post and patch\n */ request(verb, requestUrl, data, headers) {\n return $250d86cb9ce65094$var$__awaiter(this, void 0, void 0, function*() {\n if (this._disposed) throw new Error(\"Client has already been disposed.\");\n const parsedUrl = new URL(requestUrl);\n let info = this._prepareRequest(verb, parsedUrl, headers);\n // Only perform retries on reads since writes may not be idempotent.\n const maxTries = this._allowRetries && $250d86cb9ce65094$var$RetryableHttpVerbs.includes(verb) ? this._maxRetries + 1 : 1;\n let numTries = 0;\n let response;\n do {\n response = yield this.requestRaw(info, data);\n // Check if it's an authentication challenge\n if (response && response.message && response.message.statusCode === $250d86cb9ce65094$var$HttpCodes.Unauthorized) {\n let authenticationHandler;\n for (const handler of this.handlers)if (handler.canHandleAuthentication(response)) {\n authenticationHandler = handler;\n break;\n }\n if (authenticationHandler) return authenticationHandler.handleAuthentication(this, info, data);\n else // We have received an unauthorized response but have no handlers to handle it.\n // Let the response return to the caller.\n return response;\n }\n let redirectsRemaining = this._maxRedirects;\n while(response.message.statusCode && $250d86cb9ce65094$var$HttpRedirectCodes.includes(response.message.statusCode) && this._allowRedirects && redirectsRemaining > 0){\n const redirectUrl = response.message.headers[\"location\"];\n if (!redirectUrl) break;\n const parsedRedirectUrl = new URL(redirectUrl);\n if (parsedUrl.protocol === \"https:\" && parsedUrl.protocol !== parsedRedirectUrl.protocol && !this._allowRedirectDowngrade) throw new 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.\");\n // we need to finish reading the response before reassigning response\n // which will leak the open socket.\n yield response.readBody();\n // strip authorization header if redirected to a different hostname\n if (parsedRedirectUrl.hostname !== parsedUrl.hostname) {\n for(const header in headers)// header names are case insensitive\n if (header.toLowerCase() === \"authorization\") delete headers[header];\n }\n // let's make the request with the new redirectUrl\n info = this._prepareRequest(verb, parsedRedirectUrl, headers);\n response = yield this.requestRaw(info, data);\n redirectsRemaining--;\n }\n if (!response.message.statusCode || !$250d86cb9ce65094$var$HttpResponseRetryCodes.includes(response.message.statusCode)) // If not a retry code, return immediately instead of retrying\n return response;\n numTries += 1;\n if (numTries < maxTries) {\n yield response.readBody();\n yield this._performExponentialBackoff(numTries);\n }\n }while (numTries < maxTries);\n return response;\n });\n }\n /**\n * Needs to be called if keepAlive is set to true in request options.\n */ dispose() {\n if (this._agent) this._agent.destroy();\n this._disposed = true;\n }\n /**\n * Raw request.\n * @param info\n * @param data\n */ requestRaw(info, data) {\n return $250d86cb9ce65094$var$__awaiter(this, void 0, void 0, function*() {\n return new Promise((resolve, reject)=>{\n function callbackForResult(err, res) {\n if (err) reject(err);\n else if (!res) // If `err` is not passed, then `res` must be passed.\n reject(new Error(\"Unknown error\"));\n else resolve(res);\n }\n this.requestRawWithCallback(info, data, callbackForResult);\n });\n });\n }\n /**\n * Raw request with callback.\n * @param info\n * @param data\n * @param onResult\n */ requestRawWithCallback(info, data, onResult) {\n if (typeof data === \"string\") {\n if (!info.options.headers) info.options.headers = {};\n info.options.headers[\"Content-Length\"] = Buffer.byteLength(data, \"utf8\");\n }\n let callbackCalled = false;\n function handleResult(err, res) {\n if (!callbackCalled) {\n callbackCalled = true;\n onResult(err, res);\n }\n }\n const req = info.httpModule.request(info.options, (msg)=>{\n const res = new $250d86cb9ce65094$var$HttpClientResponse(msg);\n handleResult(undefined, res);\n });\n let socket;\n req.on(\"socket\", (sock)=>{\n socket = sock;\n });\n // If we ever get disconnected, we want the socket to timeout eventually\n req.setTimeout(this._socketTimeout || 180000, ()=>{\n if (socket) socket.end();\n handleResult(new Error(`Request timeout: ${info.options.path}`));\n });\n req.on(\"error\", function(err) {\n // err has statusCode property\n // res should have headers\n handleResult(err);\n });\n if (data && typeof data === \"string\") req.write(data, \"utf8\");\n if (data && typeof data !== \"string\") {\n data.on(\"close\", function() {\n req.end();\n });\n data.pipe(req);\n } else req.end();\n }\n /**\n * Gets an http agent. This function is useful when you need an http agent that handles\n * routing through a proxy server - depending upon the url and proxy environment variables.\n * @param serverUrl The server URL where the request will be sent. For example, https://api.github.com\n */ getAgent(serverUrl) {\n const parsedUrl = new URL(serverUrl);\n return this._getAgent(parsedUrl);\n }\n _prepareRequest(method, requestUrl, headers) {\n const info = {};\n info.parsedUrl = requestUrl;\n const usingSsl = info.parsedUrl.protocol === \"https:\";\n info.httpModule = usingSsl ? $250d86cb9ce65094$var$https : $250d86cb9ce65094$var$http;\n const defaultPort = usingSsl ? 443 : 80;\n info.options = {};\n info.options.host = info.parsedUrl.hostname;\n info.options.port = info.parsedUrl.port ? parseInt(info.parsedUrl.port) : defaultPort;\n info.options.path = (info.parsedUrl.pathname || \"\") + (info.parsedUrl.search || \"\");\n info.options.method = method;\n info.options.headers = this._mergeHeaders(headers);\n if (this.userAgent != null) info.options.headers[\"user-agent\"] = this.userAgent;\n info.options.agent = this._getAgent(info.parsedUrl);\n // gives handlers an opportunity to participate\n if (this.handlers) for (const handler of this.handlers)handler.prepareRequest(info.options);\n return info;\n }\n _mergeHeaders(headers) {\n if (this.requestOptions && this.requestOptions.headers) return Object.assign({}, $250d86cb9ce65094$var$lowercaseKeys(this.requestOptions.headers), $250d86cb9ce65094$var$lowercaseKeys(headers || {}));\n return $250d86cb9ce65094$var$lowercaseKeys(headers || {});\n }\n _getExistingOrDefaultHeader(additionalHeaders, header, _default) {\n let clientHeader;\n if (this.requestOptions && this.requestOptions.headers) clientHeader = $250d86cb9ce65094$var$lowercaseKeys(this.requestOptions.headers)[header];\n return additionalHeaders[header] || clientHeader || _default;\n }\n _getAgent(parsedUrl) {\n let agent;\n const proxyUrl = $250d86cb9ce65094$var$pm.getProxyUrl(parsedUrl);\n const useProxy = proxyUrl && proxyUrl.hostname;\n if (this._keepAlive && useProxy) agent = this._proxyAgent;\n if (this._keepAlive && !useProxy) agent = this._agent;\n // if agent is already assigned use that agent.\n if (agent) return agent;\n const usingSsl = parsedUrl.protocol === \"https:\";\n let maxSockets = 100;\n if (this.requestOptions) maxSockets = this.requestOptions.maxSockets || $250d86cb9ce65094$var$http.globalAgent.maxSockets;\n // This is `useProxy` again, but we need to check `proxyURl` directly for TypeScripts's flow analysis.\n if (proxyUrl && proxyUrl.hostname) {\n const agentOptions = {\n maxSockets: maxSockets,\n keepAlive: this._keepAlive,\n proxy: Object.assign(Object.assign({}, (proxyUrl.username || proxyUrl.password) && {\n proxyAuth: `${proxyUrl.username}:${proxyUrl.password}`\n }), {\n host: proxyUrl.hostname,\n port: proxyUrl.port\n })\n };\n let tunnelAgent;\n const overHttps = proxyUrl.protocol === \"https:\";\n if (usingSsl) tunnelAgent = overHttps ? $250d86cb9ce65094$var$tunnel.httpsOverHttps : $250d86cb9ce65094$var$tunnel.httpsOverHttp;\n else tunnelAgent = overHttps ? $250d86cb9ce65094$var$tunnel.httpOverHttps : $250d86cb9ce65094$var$tunnel.httpOverHttp;\n agent = tunnelAgent(agentOptions);\n this._proxyAgent = agent;\n }\n // if reusing agent across request and tunneling agent isn't assigned create a new agent\n if (this._keepAlive && !agent) {\n const options = {\n keepAlive: this._keepAlive,\n maxSockets: maxSockets\n };\n agent = usingSsl ? new $250d86cb9ce65094$var$https.Agent(options) : new $250d86cb9ce65094$var$http.Agent(options);\n this._agent = agent;\n }\n // if not using private agent and tunnel agent isn't setup then use global agent\n if (!agent) agent = usingSsl ? $250d86cb9ce65094$var$https.globalAgent : $250d86cb9ce65094$var$http.globalAgent;\n if (usingSsl && this._ignoreSslError) // we don't want to set NODE_TLS_REJECT_UNAUTHORIZED=0 since that will affect request for entire process\n // http.RequestOptions doesn't expose a way to modify RequestOptions.agent.options\n // we have to cast it to any and change it directly\n agent.options = Object.assign(agent.options || {}, {\n rejectUnauthorized: false\n });\n return agent;\n }\n _performExponentialBackoff(retryNumber) {\n return $250d86cb9ce65094$var$__awaiter(this, void 0, void 0, function*() {\n retryNumber = Math.min($250d86cb9ce65094$var$ExponentialBackoffCeiling, retryNumber);\n const ms = $250d86cb9ce65094$var$ExponentialBackoffTimeSlice * Math.pow(2, retryNumber);\n return new Promise((resolve)=>setTimeout(()=>resolve(), ms));\n });\n }\n _processResponse(res, options) {\n return $250d86cb9ce65094$var$__awaiter(this, void 0, void 0, function*() {\n return new Promise((resolve, reject)=>$250d86cb9ce65094$var$__awaiter(this, void 0, void 0, function*() {\n const statusCode = res.message.statusCode || 0;\n const response = {\n statusCode: statusCode,\n result: null,\n headers: {}\n };\n // not found leads to null obj returned\n if (statusCode === $250d86cb9ce65094$var$HttpCodes.NotFound) resolve(response);\n // get the result from the body\n function dateTimeDeserializer(key, value) {\n if (typeof value === \"string\") {\n const a = new Date(value);\n if (!isNaN(a.valueOf())) return a;\n }\n return value;\n }\n let obj;\n let contents;\n try {\n contents = yield res.readBody();\n if (contents && contents.length > 0) {\n if (options && options.deserializeDates) obj = JSON.parse(contents, dateTimeDeserializer);\n else obj = JSON.parse(contents);\n response.result = obj;\n }\n response.headers = res.message.headers;\n } catch (err) {\n // Invalid resource (contents not json); leaving result obj null\n }\n // note that 3xx redirects are handled by the http layer.\n if (statusCode > 299) {\n let msg;\n // if exception/error in body, attempt to get better error\n if (obj && obj.message) msg = obj.message;\n else if (contents && contents.length > 0) // it may be the case that the exception is in the body message as string\n msg = contents;\n else msg = `Failed request: (${statusCode})`;\n const err = new $250d86cb9ce65094$var$HttpClientError(msg, statusCode);\n err.result = response.result;\n reject(err);\n } else resolve(response);\n }));\n });\n }\n}\nmodule.exports.HttpClient = $250d86cb9ce65094$var$HttpClient;\nconst $250d86cb9ce65094$var$lowercaseKeys = (obj)=>Object.keys(obj).reduce((c, k)=>(c[k.toLowerCase()] = obj[k], c), {});\n\n});\nparcelRequire.register(\"ht6Lg\", function(module, exports) {\n\"use strict\";\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.checkBypass = module.exports.getProxyUrl = void 0;\nfunction $cb7a63bcb554e710$var$getProxyUrl(reqUrl) {\n const usingSsl = reqUrl.protocol === \"https:\";\n if ($cb7a63bcb554e710$var$checkBypass(reqUrl)) return undefined;\n const proxyVar = (()=>{\n if (usingSsl) return process.env[\"https_proxy\"] || process.env[\"HTTPS_PROXY\"];\n else return process.env[\"http_proxy\"] || process.env[\"HTTP_PROXY\"];\n })();\n if (proxyVar) return new URL(proxyVar);\n else return undefined;\n}\nmodule.exports.getProxyUrl = $cb7a63bcb554e710$var$getProxyUrl;\nfunction $cb7a63bcb554e710$var$checkBypass(reqUrl) {\n if (!reqUrl.hostname) return false;\n const reqHost = reqUrl.hostname;\n if ($cb7a63bcb554e710$var$isLoopbackAddress(reqHost)) return true;\n const noProxy = process.env[\"no_proxy\"] || process.env[\"NO_PROXY\"] || \"\";\n if (!noProxy) return false;\n // Determine the request port\n let reqPort;\n if (reqUrl.port) reqPort = Number(reqUrl.port);\n else if (reqUrl.protocol === \"http:\") reqPort = 80;\n else if (reqUrl.protocol === \"https:\") reqPort = 443;\n // Format the request hostname and hostname with port\n const upperReqHosts = [\n reqUrl.hostname.toUpperCase()\n ];\n if (typeof reqPort === \"number\") upperReqHosts.push(`${upperReqHosts[0]}:${reqPort}`);\n // Compare request host against noproxy\n for (const upperNoProxyItem of noProxy.split(\",\").map((x)=>x.trim().toUpperCase()).filter((x)=>x)){\n if (upperNoProxyItem === \"*\" || upperReqHosts.some((x)=>x === upperNoProxyItem || x.endsWith(`.${upperNoProxyItem}`) || upperNoProxyItem.startsWith(\".\") && x.endsWith(`${upperNoProxyItem}`))) return true;\n }\n return false;\n}\nmodule.exports.checkBypass = $cb7a63bcb554e710$var$checkBypass;\nfunction $cb7a63bcb554e710$var$isLoopbackAddress(host) {\n const hostLower = host.toLowerCase();\n return hostLower === \"localhost\" || hostLower.startsWith(\"127.\") || hostLower.startsWith(\"[::1]\") || hostLower.startsWith(\"[0:0:0:0:0:0:0:1]\");\n}\n\n});\n\nparcelRequire.register(\"eYDoL\", function(module, exports) {\n\nmodule.exports = (parcelRequire(\"gBbBa\"));\n\n});\nparcelRequire.register(\"gBbBa\", function(module, exports) {\n\n$parcel$export(module.exports, \"httpOverHttp\", () => $c159194268ce8bad$export$25cbd437c61a3835, (v) => $c159194268ce8bad$export$25cbd437c61a3835 = v);\n$parcel$export(module.exports, \"httpsOverHttp\", () => $c159194268ce8bad$export$c06e3df7111bae43, (v) => $c159194268ce8bad$export$c06e3df7111bae43 = v);\n$parcel$export(module.exports, \"httpOverHttps\", () => $c159194268ce8bad$export$5d50e36ef656139f, (v) => $c159194268ce8bad$export$5d50e36ef656139f = v);\n$parcel$export(module.exports, \"httpsOverHttps\", () => $c159194268ce8bad$export$212d6605025321cc, (v) => $c159194268ce8bad$export$212d6605025321cc = v);\n$parcel$export(module.exports, \"debug\", () => $c159194268ce8bad$export$1c9f709888824e05, (v) => $c159194268ce8bad$export$1c9f709888824e05 = v);\nvar $c159194268ce8bad$export$25cbd437c61a3835;\nvar $c159194268ce8bad$export$c06e3df7111bae43;\nvar $c159194268ce8bad$export$5d50e36ef656139f;\nvar $c159194268ce8bad$export$212d6605025321cc;\nvar $c159194268ce8bad$export$1c9f709888824e05;\n\"use strict\";\n\n\n\n\n\n\n\n$c159194268ce8bad$export$25cbd437c61a3835 = $c159194268ce8bad$var$httpOverHttp;\n$c159194268ce8bad$export$c06e3df7111bae43 = $c159194268ce8bad$var$httpsOverHttp;\n$c159194268ce8bad$export$5d50e36ef656139f = $c159194268ce8bad$var$httpOverHttps;\n$c159194268ce8bad$export$212d6605025321cc = $c159194268ce8bad$var$httpsOverHttps;\nfunction $c159194268ce8bad$var$httpOverHttp(options) {\n var agent = new $c159194268ce8bad$var$TunnelingAgent(options);\n agent.request = $d7DIX$http.request;\n return agent;\n}\nfunction $c159194268ce8bad$var$httpsOverHttp(options) {\n var agent = new $c159194268ce8bad$var$TunnelingAgent(options);\n agent.request = $d7DIX$http.request;\n agent.createSocket = $c159194268ce8bad$var$createSecureSocket;\n agent.defaultPort = 443;\n return agent;\n}\nfunction $c159194268ce8bad$var$httpOverHttps(options) {\n var agent = new $c159194268ce8bad$var$TunnelingAgent(options);\n agent.request = $d7DIX$https.request;\n return agent;\n}\nfunction $c159194268ce8bad$var$httpsOverHttps(options) {\n var agent = new $c159194268ce8bad$var$TunnelingAgent(options);\n agent.request = $d7DIX$https.request;\n agent.createSocket = $c159194268ce8bad$var$createSecureSocket;\n agent.defaultPort = 443;\n return agent;\n}\nfunction $c159194268ce8bad$var$TunnelingAgent(options) {\n var self = this;\n self.options = options || {};\n self.proxyOptions = self.options.proxy || {};\n self.maxSockets = self.options.maxSockets || $d7DIX$http.Agent.defaultMaxSockets;\n self.requests = [];\n self.sockets = [];\n self.on(\"free\", function onFree(socket, host, port, localAddress) {\n var options = $c159194268ce8bad$var$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}\n$d7DIX$util.inherits($c159194268ce8bad$var$TunnelingAgent, $d7DIX$events.EventEmitter);\n$c159194268ce8bad$var$TunnelingAgent.prototype.addRequest = function addRequest(req, host, port, localAddress) {\n var self = this;\n var options = $c159194268ce8bad$var$mergeOptions({\n request: req\n }, self.options, $c159194268ce8bad$var$toOptions(host, port, localAddress));\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 // 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 function onFree() {\n self.emit(\"free\", socket, options);\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$c159194268ce8bad$var$TunnelingAgent.prototype.createSocket = function createSocket(options, cb) {\n var self = this;\n var placeholder = {};\n self.sockets.push(placeholder);\n var connectOptions = $c159194268ce8bad$var$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) connectOptions.localAddress = options.localAddress;\n if (connectOptions.proxyAuth) {\n connectOptions.headers = connectOptions.headers || {};\n connectOptions.headers[\"Proxy-Authorization\"] = \"Basic \" + new Buffer(connectOptions.proxyAuth).toString(\"base64\");\n }\n $c159194268ce8bad$var$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 function onResponse(res) {\n // Very hacky. This is necessary to avoid http-parser leaks.\n res.upgrade = true;\n }\n function onUpgrade(res, socket, head) {\n // Hacky.\n process.nextTick(function() {\n onConnect(res, socket, head);\n });\n }\n function onConnect(res, socket, head) {\n connectReq.removeAllListeners();\n socket.removeAllListeners();\n if (res.statusCode !== 200) {\n $c159194268ce8bad$var$debug(\"tunneling socket could not be established, statusCode=%d\", res.statusCode);\n socket.destroy();\n var error = new Error(\"tunneling socket could not be established, 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 $c159194268ce8bad$var$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 $c159194268ce8bad$var$debug(\"tunneling connection has established\");\n self.sockets[self.sockets.indexOf(placeholder)] = socket;\n return cb(socket);\n }\n function onError(cause) {\n connectReq.removeAllListeners();\n $c159194268ce8bad$var$debug(\"tunneling socket could not be established, cause=%s\\n\", cause.message, cause.stack);\n var error = new Error(\"tunneling socket could not be established, cause=\" + cause.message);\n error.code = \"ECONNRESET\";\n options.request.emit(\"error\", error);\n self.removeSocket(placeholder);\n }\n};\n$c159194268ce8bad$var$TunnelingAgent.prototype.removeSocket = function removeSocket(socket) {\n var pos = this.sockets.indexOf(socket);\n if (pos === -1) return;\n this.sockets.splice(pos, 1);\n var pending = this.requests.shift();\n if (pending) // 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};\nfunction $c159194268ce8bad$var$createSecureSocket(options, cb) {\n var self = this;\n $c159194268ce8bad$var$TunnelingAgent.prototype.createSocket.call(self, options, function(socket) {\n var hostHeader = options.request.getHeader(\"host\");\n var tlsOptions = $c159194268ce8bad$var$mergeOptions({}, self.options, {\n socket: socket,\n servername: hostHeader ? hostHeader.replace(/:.*$/, \"\") : options.host\n });\n // 0 is dummy port for v0.6\n var secureSocket = $d7DIX$tls.connect(0, tlsOptions);\n self.sockets[self.sockets.indexOf(socket)] = secureSocket;\n cb(secureSocket);\n });\n}\nfunction $c159194268ce8bad$var$toOptions(host, port, localAddress) {\n if (typeof host === \"string\") return {\n host: host,\n port: port,\n localAddress: localAddress\n };\n return host; // for v0.11 or later\n}\nfunction $c159194268ce8bad$var$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) target[k] = overrides[k];\n }\n }\n }\n return target;\n}\nvar $c159194268ce8bad$var$debug;\nif (process.env.NODE_DEBUG && /\\btunnel\\b/.test(process.env.NODE_DEBUG)) $c159194268ce8bad$var$debug = function() {\n var args = Array.prototype.slice.call(arguments);\n if (typeof args[0] === \"string\") args[0] = \"TUNNEL: \" + args[0];\n else args.unshift(\"TUNNEL:\");\n console.error.apply(console, args);\n};\nelse $c159194268ce8bad$var$debug = function() {};\n$c159194268ce8bad$export$1c9f709888824e05 = $c159194268ce8bad$var$debug; // for test\n\n});\n\n\n\nparcelRequire.register(\"8GCMm\", function(module, exports) {\n\"use strict\";\nvar $653053af826140b7$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.PersonalAccessTokenCredentialHandler = module.exports.BearerCredentialHandler = module.exports.BasicCredentialHandler = void 0;\nclass $653053af826140b7$var$BasicCredentialHandler {\n constructor(username, password){\n this.username = username;\n this.password = password;\n }\n prepareRequest(options) {\n if (!options.headers) throw Error(\"The request has no headers\");\n options.headers[\"Authorization\"] = `Basic ${Buffer.from(`${this.username}:${this.password}`).toString(\"base64\")}`;\n }\n // This handler cannot handle 401\n canHandleAuthentication() {\n return false;\n }\n handleAuthentication() {\n return $653053af826140b7$var$__awaiter(this, void 0, void 0, function*() {\n throw new Error(\"not implemented\");\n });\n }\n}\nmodule.exports.BasicCredentialHandler = $653053af826140b7$var$BasicCredentialHandler;\nclass $653053af826140b7$var$BearerCredentialHandler {\n constructor(token){\n this.token = token;\n }\n // currently implements pre-authorization\n // TODO: support preAuth = false where it hooks on 401\n prepareRequest(options) {\n if (!options.headers) throw Error(\"The request has no headers\");\n options.headers[\"Authorization\"] = `Bearer ${this.token}`;\n }\n // This handler cannot handle 401\n canHandleAuthentication() {\n return false;\n }\n handleAuthentication() {\n return $653053af826140b7$var$__awaiter(this, void 0, void 0, function*() {\n throw new Error(\"not implemented\");\n });\n }\n}\nmodule.exports.BearerCredentialHandler = $653053af826140b7$var$BearerCredentialHandler;\nclass $653053af826140b7$var$PersonalAccessTokenCredentialHandler {\n constructor(token){\n this.token = token;\n }\n // currently implements pre-authorization\n // TODO: support preAuth = false where it hooks on 401\n prepareRequest(options) {\n if (!options.headers) throw Error(\"The request has no headers\");\n options.headers[\"Authorization\"] = `Basic ${Buffer.from(`PAT:${this.token}`).toString(\"base64\")}`;\n }\n // This handler cannot handle 401\n canHandleAuthentication() {\n return false;\n }\n handleAuthentication() {\n return $653053af826140b7$var$__awaiter(this, void 0, void 0, function*() {\n throw new Error(\"not implemented\");\n });\n }\n}\nmodule.exports.PersonalAccessTokenCredentialHandler = $653053af826140b7$var$PersonalAccessTokenCredentialHandler;\n\n});\n\n\nparcelRequire.register(\"4rwlm\", function(module, exports) {\n\"use strict\";\nvar $33c2c5c61b0fac44$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.summary = module.exports.markdownSummary = module.exports.SUMMARY_DOCS_URL = module.exports.SUMMARY_ENV_VAR = void 0;\n\n\nconst { access: $33c2c5c61b0fac44$var$access, appendFile: $33c2c5c61b0fac44$var$appendFile, writeFile: $33c2c5c61b0fac44$var$writeFile } = $d7DIX$fs.promises;\nmodule.exports.SUMMARY_ENV_VAR = \"GITHUB_STEP_SUMMARY\";\nmodule.exports.SUMMARY_DOCS_URL = \"https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions#adding-a-job-summary\";\nclass $33c2c5c61b0fac44$var$Summary {\n constructor(){\n this._buffer = \"\";\n }\n /**\n * Finds the summary file path from the environment, rejects if env var is not found or file does not exist\n * Also checks r/w permissions.\n *\n * @returns step summary file path\n */ filePath() {\n return $33c2c5c61b0fac44$var$__awaiter(this, void 0, void 0, function*() {\n if (this._filePath) return this._filePath;\n const pathFromEnv = process.env[module.exports.SUMMARY_ENV_VAR];\n if (!pathFromEnv) throw new Error(`Unable to find environment variable for $${module.exports.SUMMARY_ENV_VAR}. Check if your runtime environment supports job summaries.`);\n try {\n yield $33c2c5c61b0fac44$var$access(pathFromEnv, $d7DIX$fs.constants.R_OK | $d7DIX$fs.constants.W_OK);\n } catch (_a) {\n throw new Error(`Unable to access summary file: '${pathFromEnv}'. Check if the file has correct read/write permissions.`);\n }\n this._filePath = pathFromEnv;\n return this._filePath;\n });\n }\n /**\n * Wraps content in an HTML tag, adding any HTML attributes\n *\n * @param {string} tag HTML tag to wrap\n * @param {string | null} content content within the tag\n * @param {[attribute: string]: string} attrs key-value list of HTML attributes to add\n *\n * @returns {string} content wrapped in HTML element\n */ wrap(tag, content, attrs = {}) {\n const htmlAttrs = Object.entries(attrs).map(([key, value])=>` ${key}=\"${value}\"`).join(\"\");\n if (!content) return `<${tag}${htmlAttrs}>`;\n return `<${tag}${htmlAttrs}>${content}`;\n }\n /**\n * Writes text in the buffer to the summary buffer file and empties buffer. Will append by default.\n *\n * @param {SummaryWriteOptions} [options] (optional) options for write operation\n *\n * @returns {Promise} summary instance\n */ write(options) {\n return $33c2c5c61b0fac44$var$__awaiter(this, void 0, void 0, function*() {\n const overwrite = !!(options === null || options === void 0 ? void 0 : options.overwrite);\n const filePath = yield this.filePath();\n const writeFunc = overwrite ? $33c2c5c61b0fac44$var$writeFile : $33c2c5c61b0fac44$var$appendFile;\n yield writeFunc(filePath, this._buffer, {\n encoding: \"utf8\"\n });\n return this.emptyBuffer();\n });\n }\n /**\n * Clears the summary buffer and wipes the summary file\n *\n * @returns {Summary} summary instance\n */ clear() {\n return $33c2c5c61b0fac44$var$__awaiter(this, void 0, void 0, function*() {\n return this.emptyBuffer().write({\n overwrite: true\n });\n });\n }\n /**\n * Returns the current summary buffer as a string\n *\n * @returns {string} string of summary buffer\n */ stringify() {\n return this._buffer;\n }\n /**\n * If the summary buffer is empty\n *\n * @returns {boolen} true if the buffer is empty\n */ isEmptyBuffer() {\n return this._buffer.length === 0;\n }\n /**\n * Resets the summary buffer without writing to summary file\n *\n * @returns {Summary} summary instance\n */ emptyBuffer() {\n this._buffer = \"\";\n return this;\n }\n /**\n * Adds raw text to the summary buffer\n *\n * @param {string} text content to add\n * @param {boolean} [addEOL=false] (optional) append an EOL to the raw text (default: false)\n *\n * @returns {Summary} summary instance\n */ addRaw(text, addEOL = false) {\n this._buffer += text;\n return addEOL ? this.addEOL() : this;\n }\n /**\n * Adds the operating system-specific end-of-line marker to the buffer\n *\n * @returns {Summary} summary instance\n */ addEOL() {\n return this.addRaw($d7DIX$os.EOL);\n }\n /**\n * Adds an HTML codeblock to the summary buffer\n *\n * @param {string} code content to render within fenced code block\n * @param {string} lang (optional) language to syntax highlight code\n *\n * @returns {Summary} summary instance\n */ addCodeBlock(code, lang) {\n const attrs = Object.assign({}, lang && {\n lang: lang\n });\n const element = this.wrap(\"pre\", this.wrap(\"code\", code), attrs);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML list to the summary buffer\n *\n * @param {string[]} items list of items to render\n * @param {boolean} [ordered=false] (optional) if the rendered list should be ordered or not (default: false)\n *\n * @returns {Summary} summary instance\n */ addList(items, ordered = false) {\n const tag = ordered ? \"ol\" : \"ul\";\n const listItems = items.map((item)=>this.wrap(\"li\", item)).join(\"\");\n const element = this.wrap(tag, listItems);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML table to the summary buffer\n *\n * @param {SummaryTableCell[]} rows table rows\n *\n * @returns {Summary} summary instance\n */ addTable(rows) {\n const tableBody = rows.map((row)=>{\n const cells = row.map((cell)=>{\n if (typeof cell === \"string\") return this.wrap(\"td\", cell);\n const { header: header, data: data, colspan: colspan, rowspan: rowspan } = cell;\n const tag = header ? \"th\" : \"td\";\n const attrs = Object.assign(Object.assign({}, colspan && {\n colspan: colspan\n }), rowspan && {\n rowspan: rowspan\n });\n return this.wrap(tag, data, attrs);\n }).join(\"\");\n return this.wrap(\"tr\", cells);\n }).join(\"\");\n const element = this.wrap(\"table\", tableBody);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds a collapsable HTML details element to the summary buffer\n *\n * @param {string} label text for the closed state\n * @param {string} content collapsable content\n *\n * @returns {Summary} summary instance\n */ addDetails(label, content) {\n const element = this.wrap(\"details\", this.wrap(\"summary\", label) + content);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML image tag to the summary buffer\n *\n * @param {string} src path to the image you to embed\n * @param {string} alt text description of the image\n * @param {SummaryImageOptions} options (optional) addition image attributes\n *\n * @returns {Summary} summary instance\n */ addImage(src, alt, options) {\n const { width: width, height: height } = options || {};\n const attrs = Object.assign(Object.assign({}, width && {\n width: width\n }), height && {\n height: height\n });\n const element = this.wrap(\"img\", null, Object.assign({\n src: src,\n alt: alt\n }, attrs));\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML section heading element\n *\n * @param {string} text heading text\n * @param {number | string} [level=1] (optional) the heading level, default: 1\n *\n * @returns {Summary} summary instance\n */ addHeading(text, level) {\n const tag = `h${level}`;\n const allowedTag = [\n \"h1\",\n \"h2\",\n \"h3\",\n \"h4\",\n \"h5\",\n \"h6\"\n ].includes(tag) ? tag : \"h1\";\n const element = this.wrap(allowedTag, text);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML thematic break (
) to the summary buffer\n *\n * @returns {Summary} summary instance\n */ addSeparator() {\n const element = this.wrap(\"hr\", null);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML line break (
) to the summary buffer\n *\n * @returns {Summary} summary instance\n */ addBreak() {\n const element = this.wrap(\"br\", null);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML blockquote to the summary buffer\n *\n * @param {string} text quote text\n * @param {string} cite (optional) citation url\n *\n * @returns {Summary} summary instance\n */ addQuote(text, cite) {\n const attrs = Object.assign({}, cite && {\n cite: cite\n });\n const element = this.wrap(\"blockquote\", text, attrs);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML anchor tag to the summary buffer\n *\n * @param {string} text link text/content\n * @param {string} href hyperlink\n *\n * @returns {Summary} summary instance\n */ addLink(text, href) {\n const element = this.wrap(\"a\", text, {\n href: href\n });\n return this.addRaw(element).addEOL();\n }\n}\nconst $33c2c5c61b0fac44$var$_summary = new $33c2c5c61b0fac44$var$Summary();\n/**\n * @deprecated use `core.summary`\n */ module.exports.markdownSummary = $33c2c5c61b0fac44$var$_summary;\nmodule.exports.summary = $33c2c5c61b0fac44$var$_summary;\n\n});\n\nparcelRequire.register(\"3jp5d\", function(module, exports) {\n\"use strict\";\nvar $26969a68354991ee$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $26969a68354991ee$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $26969a68354991ee$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $26969a68354991ee$var$__createBinding(result, mod, k);\n }\n $26969a68354991ee$var$__setModuleDefault(result, mod);\n return result;\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.toPlatformPath = module.exports.toWin32Path = module.exports.toPosixPath = void 0;\n\nconst $26969a68354991ee$var$path = $26969a68354991ee$var$__importStar($d7DIX$path);\n/**\n * toPosixPath converts the given path to the posix form. On Windows, \\\\ will be\n * replaced with /.\n *\n * @param pth. Path to transform.\n * @return string Posix path.\n */ function $26969a68354991ee$var$toPosixPath(pth) {\n return pth.replace(/[\\\\]/g, \"/\");\n}\nmodule.exports.toPosixPath = $26969a68354991ee$var$toPosixPath;\n/**\n * toWin32Path converts the given path to the win32 form. On Linux, / will be\n * replaced with \\\\.\n *\n * @param pth. Path to transform.\n * @return string Win32 path.\n */ function $26969a68354991ee$var$toWin32Path(pth) {\n return pth.replace(/[/]/g, \"\\\\\");\n}\nmodule.exports.toWin32Path = $26969a68354991ee$var$toWin32Path;\n/**\n * toPlatformPath converts the given path to a platform-specific path. It does\n * this by replacing instances of / and \\ with the platform-specific path\n * separator.\n *\n * @param pth The path to platformize.\n * @return string The platform-specific path.\n */ function $26969a68354991ee$var$toPlatformPath(pth) {\n return pth.replace(/[/\\\\]/g, $26969a68354991ee$var$path.sep);\n}\nmodule.exports.toPlatformPath = $26969a68354991ee$var$toPlatformPath;\n\n});\n\n\n\nparcelRequire.register(\"fXZh0\", function(module, exports) {\n\nvar $b9fbe5501defe232$var$$parcel$__dirname = $d7DIX$path.resolve(__dirname, \"../../node_modules/.pnpm/numerous@1.0.3/node_modules/numerous/lib\");\n(function() {\n \"use strict\";\n var root = this;\n //=========//\n // GLOBALS //\n //=========//\n var locales = {};\n //==========//\n // EXPOSING //\n //==========//\n var moduleDefinition = {\n create: factory,\n addLocale: addLocale,\n pluralize: pluralize\n };\n if (\"undefined\" !== typeof module.exports) module.exports = moduleDefinition;\n else root.numerous = moduleDefinition;\n //==================//\n // PUBLIC FUNCTIONS //\n //==================//\n /**\n * Creates new instance of numerous.\n *\n * @param {string} locale\n * @returns {object}\n */ function factory(locale) {\n checkLocale(locale);\n return {\n pluralize: function(value, variants) {\n return pluralize(locale, value, variants);\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 */ function addLocale(locale, callable) {\n locales[locale] = callable;\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 */ function pluralize(locale, value, variants) {\n checkLocale(locale);\n if (\"object\" !== typeof variants) throw new Error(\"List of variants should be specified as an object\");\n var key = locales[locale](value);\n return \"undefined\" !== typeof variants[key] ? variants[key] : null;\n }\n //===================//\n // PRIVATE FUNCTIONS //\n //===================//\n /**\n * Returns true if specified locale is loaded, false otherwise.\n *\n * @param {string} locale\n *\n * @returns {boolean}\n */ function hasLocale(locale) {\n return \"undefined\" !== typeof locales[locale];\n }\n /**\n * Checks if locale is loaded. If not, tries to load it.\n *\n * @param {string} locale\n */ function checkLocale(locale) {\n if (!hasLocale(locale)) requireLocale(locale);\n }\n /**\n * Tries to load the specified locale.\n *\n * @param {string} locale\n */ function requireLocale(locale) {\n try {\n require($b9fbe5501defe232$var$$parcel$__dirname + \"/../locales/\" + locale + \".js\");\n } catch (error) {\n throw Error(\"Failed to load the following locale: \" + locale);\n }\n }\n}).call(module.exports);\n\n});\n\nparcelRequire.register(\"25uEY\", function(module, exports) {\n//==============//\n// DEPENDENCIES //\n//==============//\n\nvar $ggaxg = parcelRequire(\"ggaxg\");\n\nvar $crMMK = parcelRequire(\"crMMK\");\n//================//\n// MODULE GLOBALS //\n//================//\n/**\n * Pre-calculating millisecond values for each time unit.\n */ const $1853d4d27a1c8507$var$timeUnits = [\n [\n \"years\",\n 29030400000\n ],\n [\n \"months\",\n 2419200000\n ],\n [\n \"weeks\",\n 604800000\n ],\n [\n \"days\",\n 86400000\n ],\n [\n \"hours\",\n 3600000\n ],\n [\n \"minutes\",\n 60000\n ],\n [\n \"seconds\",\n 1000\n ]\n];\nconst $1853d4d27a1c8507$var$defaultConfig = {\n locale: \"en\",\n span: 2,\n delimiter: \", \",\n unitType: \"long\",\n unitTypeLookupOrder: [\n \"long\",\n \"short\",\n \"narrow\"\n ],\n autoloadLocales: true\n};\n/**\n * Contains data of loaded locales.\n * @type {Object}\n */ const $1853d4d27a1c8507$var$locales = {};\n//=========//\n// EXPORTS //\n//=========//\nmodule.exports = {\n create: $1853d4d27a1c8507$var$timeDeltaFactory,\n addLocale: $1853d4d27a1c8507$var$addLocale,\n defaultConfig: $1853d4d27a1c8507$var$defaultConfig\n};\n//===========//\n// FUNCTIONS //\n//===========//\n/**\n * Adds pluralization data for the specified locale.\n * Should be called in browser.\n *\n * @param {Object|Object[]} localeData\n */ function $1853d4d27a1c8507$var$addLocale(localeData) {\n // Normalizing input\n if (!Array.isArray(localeData)) localeData = [\n localeData\n ];\n for (const item of localeData){\n const { id: id, data: data } = item;\n $1853d4d27a1c8507$var$locales[id] = data;\n }\n}\n/**\n * Creates new instance.\n *\n * @param {object?} config\n *\n * @returns {object}\n */ function $1853d4d27a1c8507$var$timeDeltaFactory(config) {\n // Initializing config by extending the default one\n config = Object.assign({}, $1853d4d27a1c8507$var$defaultConfig, config || {});\n return {\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 */ format: function(firstDate, secondDate, options) {\n // Allowing to override config with each individual call\n options = Object.assign({}, config, options || {});\n return $1853d4d27a1c8507$var$format(firstDate, secondDate, options);\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 */ function $1853d4d27a1c8507$var$format(firstDate, secondDate, config) {\n $1853d4d27a1c8507$var$ensureLocaleLoadedOrThrow(config.locale, {\n autoload: config.autoloadLocales\n });\n // Handling input arguments\n // -----\n if (!firstDate) throw new Error(\"Missing first date argument\");\n if (!secondDate) throw new Error(\"Missing second date argument\");\n // Calculating\n // -----\n const difference = $1853d4d27a1c8507$var$getDifference(firstDate, secondDate);\n const parts = [];\n for (const unit of difference){\n const [name, value] = unit;\n if (value > 0) parts.push($1853d4d27a1c8507$var$pluralize(name, value, config));\n if (parts.length >= config.span) break;\n }\n // Returning the string value\n return parts.join(config.delimiter);\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 */ function $1853d4d27a1c8507$var$ensureLocaleLoadedOrThrow(locale, options) {\n const { autoload: autoload } = options;\n if ($1853d4d27a1c8507$var$hasLocale(locale)) return;\n if ($crMMK && autoload) $1853d4d27a1c8507$var$requireLocale(locale);\n else throw new Error(`Missing locale: ${locale}, you must load it manually before using it`);\n}\n/**\n * Returns true if specified locale is loaded, false otherwise.\n *\n * @param {string} localeId\n *\n * @returns {boolean}\n */ function $1853d4d27a1c8507$var$hasLocale(localeId) {\n return Boolean($1853d4d27a1c8507$var$locales[localeId]);\n}\n/**\n * Tries to load the specified locale.\n *\n * @param {string} localeId\n */ function $1853d4d27a1c8507$var$requireLocale(localeId) {\n try {\n $1853d4d27a1c8507$var$addLocale(require(`../locales/${localeId}.js`));\n } catch (error) {\n throw Error(`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 * Returns difference as separate time units.\n *\n * @param {Date} firstDate\n * @param {Date} secondDate\n *\n * @returns {Array}\n */ function $1853d4d27a1c8507$var$getDifference(firstDate, secondDate) {\n let difference = secondDate - firstDate;\n const results = [];\n $1853d4d27a1c8507$var$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([\n name,\n value\n ]);\n if (difference <= 0) // Breaking the loop.\n return true;\n });\n return results;\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 */ function $1853d4d27a1c8507$var$pluralize(unit, value, config) {\n const unitTypeData = $1853d4d27a1c8507$var$getLocaleDataForUnitType(config);\n const unitString = $ggaxg.pluralize(config.locale, value, unitTypeData[unit]);\n return unitString.replace(\"{0}\", value);\n}\n/**\n * Returns locale data for preferred unit type.\n *\n * @param {object} config\n *\n * @returns {Array}\n */ function $1853d4d27a1c8507$var$getLocaleDataForUnitType(config) {\n const localeData = $1853d4d27a1c8507$var$locales[config.locale];\n // Making a copy of array from config.\n let lookupOrder = config.unitTypeLookupOrder.slice();\n // Adding interested type to the top.\n lookupOrder.unshift(config.unitType);\n // Making sure only unique items are present.\n lookupOrder = $1853d4d27a1c8507$var$arrayUnique(lookupOrder);\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 if (null === unitTypeData) throw new Error(\"Can not find any unit type data for locale: \" + config.locale);\n return unitTypeData;\n}\n/**\n * Returns array with only unique items.\n *\n * @param {Array} array\n *\n * @returns {Array}\n */ function $1853d4d27a1c8507$var$arrayUnique(array) {\n return Array.from(new Set(array));\n}\n\n});\nparcelRequire.register(\"ggaxg\", function(module, exports) {\n\nmodule.exports = (parcelRequire(\"fXZh0\"));\n\n});\n\nparcelRequire.register(\"crMMK\", function(module, exports) {\n// Coding standard for this project defined @ https://github.com/MatthewSH/standards/blob/master/JavaScript.md\n\"use strict\";\nexports = module.exports = !!(typeof process !== \"undefined\" && process.versions && process.versions.node);\n\n});\n\n\nparcelRequire.register(\"a3PNV\", function(module, exports) {\nmodule.exports = $75325e6c99dba15d$var$isexe;\n$75325e6c99dba15d$var$isexe.sync = $75325e6c99dba15d$var$sync;\n\nfunction $75325e6c99dba15d$var$checkPathExt(path, options) {\n var pathext = options.pathExt !== undefined ? options.pathExt : process.env.PATHEXT;\n if (!pathext) return true;\n pathext = pathext.split(\";\");\n if (pathext.indexOf(\"\") !== -1) return true;\n for(var i = 0; i < pathext.length; i++){\n var p = pathext[i].toLowerCase();\n if (p && path.substr(-p.length).toLowerCase() === p) return true;\n }\n return false;\n}\nfunction $75325e6c99dba15d$var$checkStat(stat, path, options) {\n if (!stat.isSymbolicLink() && !stat.isFile()) return false;\n return $75325e6c99dba15d$var$checkPathExt(path, options);\n}\nfunction $75325e6c99dba15d$var$isexe(path, options, cb) {\n $d7DIX$fs.stat(path, function(er, stat) {\n cb(er, er ? false : $75325e6c99dba15d$var$checkStat(stat, path, options));\n });\n}\nfunction $75325e6c99dba15d$var$sync(path, options) {\n return $75325e6c99dba15d$var$checkStat($d7DIX$fs.statSync(path), path, options);\n}\n\n});\n\nparcelRequire.register(\"7gw6J\", function(module, exports) {\nmodule.exports = $54a2eef118d51a70$var$isexe;\n$54a2eef118d51a70$var$isexe.sync = $54a2eef118d51a70$var$sync;\n\nfunction $54a2eef118d51a70$var$isexe(path, options, cb) {\n $d7DIX$fs.stat(path, function(er, stat) {\n cb(er, er ? false : $54a2eef118d51a70$var$checkStat(stat, options));\n });\n}\nfunction $54a2eef118d51a70$var$sync(path, options) {\n return $54a2eef118d51a70$var$checkStat($d7DIX$fs.statSync(path), options);\n}\nfunction $54a2eef118d51a70$var$checkStat(stat, options) {\n return stat.isFile() && $54a2eef118d51a70$var$checkMode(stat, options);\n}\nfunction $54a2eef118d51a70$var$checkMode(stat, options) {\n var mod = stat.mode;\n var uid = stat.uid;\n var gid = stat.gid;\n var myUid = options.uid !== undefined ? options.uid : process.getuid && process.getuid();\n var myGid = options.gid !== undefined ? options.gid : process.getgid && process.getgid();\n var u = parseInt(\"100\", 8);\n var g = parseInt(\"010\", 8);\n var o = parseInt(\"001\", 8);\n var ug = u | g;\n var ret = mod & o || mod & g && gid === myGid || mod & u && uid === myUid || mod & ug && myUid === 0;\n return ret;\n}\n\n});\n\nparcelRequire.register(\"1YMV0\", function(module, exports) {\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];\nif (process.platform !== \"win32\") module.exports.push(\"SIGVTALRM\", \"SIGXCPU\", \"SIGXFSZ\", \"SIGUSR2\", \"SIGTRAP\", \"SIGSYS\", \"SIGQUIT\", \"SIGIOT\");\nif (process.platform === \"linux\") module.exports.push(\"SIGIO\", \"SIGPOLL\", \"SIGPWR\", \"SIGSTKFLT\", \"SIGUNUSED\");\n\n});\n\nparcelRequire.register(\"lJEXJ\", function(module, exports) {\n// just pre-load all the stuff that index.js lazily exports\n\nvar $fB52W = parcelRequire(\"fB52W\");\n\nvar $juUXZ = parcelRequire(\"juUXZ\");\n\nvar $kxoMX = parcelRequire(\"kxoMX\");\n\nvar $eT4Gq = parcelRequire(\"eT4Gq\");\n\nvar $6moLM = parcelRequire(\"6moLM\");\n\nvar $eJTZB = parcelRequire(\"eJTZB\");\n\nvar $e3PGr = parcelRequire(\"e3PGr\");\n\nvar $dqKDW = parcelRequire(\"dqKDW\");\n\nvar $gPIs5 = parcelRequire(\"gPIs5\");\n\nvar $bX9Em = parcelRequire(\"bX9Em\");\n\nvar $iAJEE = parcelRequire(\"iAJEE\");\n\nvar $fHTYs = parcelRequire(\"fHTYs\");\n\nvar $8PQ4n = parcelRequire(\"8PQ4n\");\n\nvar $3Z6CK = parcelRequire(\"3Z6CK\");\n\nvar $6WviK = parcelRequire(\"6WviK\");\n\nvar $8cCiP = parcelRequire(\"8cCiP\");\n\nvar $2JTVo = parcelRequire(\"2JTVo\");\n\nvar $bizdR = parcelRequire(\"bizdR\");\n\nvar $2lHfL = parcelRequire(\"2lHfL\");\n\nvar $9XGBY = parcelRequire(\"9XGBY\");\n\nvar $2zuiw = parcelRequire(\"2zuiw\");\n\nvar $bDcXu = parcelRequire(\"bDcXu\");\n\nvar $lvpAe = parcelRequire(\"lvpAe\");\n\nvar $1um22 = parcelRequire(\"1um22\");\n\nvar $1ndHP = parcelRequire(\"1ndHP\");\n\nvar $7Dt1t = parcelRequire(\"7Dt1t\");\n\nvar $9hSY8 = parcelRequire(\"9hSY8\");\n\nvar $ge7Lx = parcelRequire(\"ge7Lx\");\n\nvar $gBfHp = parcelRequire(\"gBfHp\");\n\nvar $gxgIF = parcelRequire(\"gxgIF\");\n\nvar $eRxC5 = parcelRequire(\"eRxC5\");\n\nvar $aWpPt = parcelRequire(\"aWpPt\");\n\nvar $gGB3p = parcelRequire(\"gGB3p\");\n\nvar $hnV3l = parcelRequire(\"hnV3l\");\n\nvar $3sVLb = parcelRequire(\"3sVLb\");\n\nvar $iqmnd = parcelRequire(\"iqmnd\");\n\nvar $bl7vX = parcelRequire(\"bl7vX\");\n\nvar $1K9I5 = parcelRequire(\"1K9I5\");\n\nvar $2qx0f = parcelRequire(\"2qx0f\");\n\nvar $k8BEA = parcelRequire(\"k8BEA\");\n\nvar $4B26j = parcelRequire(\"4B26j\");\nmodule.exports = {\n parse: $6moLM,\n valid: $eJTZB,\n clean: $e3PGr,\n inc: $dqKDW,\n diff: $gPIs5,\n major: $bX9Em,\n minor: $iAJEE,\n patch: $fHTYs,\n prerelease: $8PQ4n,\n compare: $3Z6CK,\n rcompare: $6WviK,\n compareLoose: $8cCiP,\n compareBuild: $2JTVo,\n sort: $bizdR,\n rsort: $2lHfL,\n gt: $9XGBY,\n lt: $2zuiw,\n eq: $bDcXu,\n neq: $lvpAe,\n gte: $1um22,\n lte: $1ndHP,\n cmp: $7Dt1t,\n coerce: $9hSY8,\n Comparator: $ge7Lx,\n Range: $gBfHp,\n satisfies: $gxgIF,\n toComparators: $eRxC5,\n maxSatisfying: $aWpPt,\n minSatisfying: $gGB3p,\n minVersion: $hnV3l,\n validRange: $3sVLb,\n outside: $iqmnd,\n gtr: $bl7vX,\n ltr: $1K9I5,\n intersects: $2qx0f,\n simplifyRange: $k8BEA,\n subset: $4B26j,\n SemVer: $kxoMX,\n re: $fB52W.re,\n src: $fB52W.src,\n tokens: $fB52W.t,\n SEMVER_SPEC_VERSION: $juUXZ.SEMVER_SPEC_VERSION,\n RELEASE_TYPES: $juUXZ.RELEASE_TYPES,\n compareIdentifiers: $eT4Gq.compareIdentifiers,\n rcompareIdentifiers: $eT4Gq.rcompareIdentifiers\n};\n\n});\nparcelRequire.register(\"fB52W\", function(module, exports) {\n\nvar $juUXZ = parcelRequire(\"juUXZ\");\nvar $b5ae39da57542d44$require$MAX_SAFE_COMPONENT_LENGTH = $juUXZ.MAX_SAFE_COMPONENT_LENGTH;\nvar $b5ae39da57542d44$require$MAX_SAFE_BUILD_LENGTH = $juUXZ.MAX_SAFE_BUILD_LENGTH;\nvar $b5ae39da57542d44$require$MAX_LENGTH = $juUXZ.MAX_LENGTH;\n\nvar $3Zcn3 = parcelRequire(\"3Zcn3\");\nexports = module.exports = {};\n// The actual regexps go on exports.re\nconst re = exports.re = [];\nconst safeRe = exports.safeRe = [];\nconst src = exports.src = [];\nconst t = exports.t = {};\nlet R = 0;\nconst LETTERDASHNUMBER = \"[a-zA-Z0-9-]\";\n// Replace some greedy regex tokens to prevent regex dos issues. These regex are\n// used internally via the safeRe object since all inputs in this library get\n// normalized first to trim and collapse all extra whitespace. The original\n// regexes are exported for userland consumption and lower level usage. A\n// future breaking change could export the safer regex only with a note that\n// all input should have extra whitespace removed.\nconst safeRegexReplacements = [\n [\n \"\\\\s\",\n 1\n ],\n [\n \"\\\\d\",\n $b5ae39da57542d44$require$MAX_LENGTH\n ],\n [\n LETTERDASHNUMBER,\n $b5ae39da57542d44$require$MAX_SAFE_BUILD_LENGTH\n ]\n];\nconst makeSafeRegex = (value)=>{\n for (const [token, max] of safeRegexReplacements)value = value.split(`${token}*`).join(`${token}{0,${max}}`).split(`${token}+`).join(`${token}{1,${max}}`);\n return value;\n};\nconst createToken = (name, value, isGlobal)=>{\n const safe = makeSafeRegex(value);\n const index = R++;\n $3Zcn3(name, index, value);\n t[name] = index;\n src[index] = value;\n re[index] = new RegExp(value, isGlobal ? \"g\" : undefined);\n safeRe[index] = new RegExp(safe, isGlobal ? \"g\" : undefined);\n};\n// The following Regular Expressions can be used for tokenizing,\n// validating, and parsing SemVer version strings.\n// ## Numeric Identifier\n// A single `0`, or a non-zero digit followed by zero or more digits.\ncreateToken(\"NUMERICIDENTIFIER\", \"0|[1-9]\\\\d*\");\ncreateToken(\"NUMERICIDENTIFIERLOOSE\", \"\\\\d+\");\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.\ncreateToken(\"NONNUMERICIDENTIFIER\", `\\\\d*[a-zA-Z-]${LETTERDASHNUMBER}*`);\n// ## Main Version\n// Three dot-separated numeric identifiers.\ncreateToken(\"MAINVERSION\", `(${src[t.NUMERICIDENTIFIER]})\\\\.` + `(${src[t.NUMERICIDENTIFIER]})\\\\.` + `(${src[t.NUMERICIDENTIFIER]})`);\ncreateToken(\"MAINVERSIONLOOSE\", `(${src[t.NUMERICIDENTIFIERLOOSE]})\\\\.` + `(${src[t.NUMERICIDENTIFIERLOOSE]})\\\\.` + `(${src[t.NUMERICIDENTIFIERLOOSE]})`);\n// ## Pre-release Version Identifier\n// A numeric identifier, or a non-numeric identifier.\ncreateToken(\"PRERELEASEIDENTIFIER\", `(?:${src[t.NUMERICIDENTIFIER]}|${src[t.NONNUMERICIDENTIFIER]})`);\ncreateToken(\"PRERELEASEIDENTIFIERLOOSE\", `(?:${src[t.NUMERICIDENTIFIERLOOSE]}|${src[t.NONNUMERICIDENTIFIER]})`);\n// ## Pre-release Version\n// Hyphen, followed by one or more dot-separated pre-release version\n// identifiers.\ncreateToken(\"PRERELEASE\", `(?:-(${src[t.PRERELEASEIDENTIFIER]}(?:\\\\.${src[t.PRERELEASEIDENTIFIER]})*))`);\ncreateToken(\"PRERELEASELOOSE\", `(?:-?(${src[t.PRERELEASEIDENTIFIERLOOSE]}(?:\\\\.${src[t.PRERELEASEIDENTIFIERLOOSE]})*))`);\n// ## Build Metadata Identifier\n// Any combination of digits, letters, or hyphens.\ncreateToken(\"BUILDIDENTIFIER\", `${LETTERDASHNUMBER}+`);\n// ## Build Metadata\n// Plus sign, followed by one or more period-separated build metadata\n// identifiers.\ncreateToken(\"BUILD\", `(?:\\\\+(${src[t.BUILDIDENTIFIER]}(?:\\\\.${src[t.BUILDIDENTIFIER]})*))`);\n// ## Full Version String\n// A main version, followed optionally by a pre-release version and\n// build metadata.\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.\ncreateToken(\"FULLPLAIN\", `v?${src[t.MAINVERSION]}${src[t.PRERELEASE]}?${src[t.BUILD]}?`);\ncreateToken(\"FULL\", `^${src[t.FULLPLAIN]}$`);\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]}${src[t.PRERELEASELOOSE]}?${src[t.BUILD]}?`);\ncreateToken(\"LOOSE\", `^${src[t.LOOSEPLAIN]}$`);\ncreateToken(\"GTLT\", \"((?:<|>)?=?)\");\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|\\\\*`);\ncreateToken(\"XRANGEPLAIN\", `[v=\\\\s]*(${src[t.XRANGEIDENTIFIER]})` + `(?:\\\\.(${src[t.XRANGEIDENTIFIER]})` + `(?:\\\\.(${src[t.XRANGEIDENTIFIER]})` + `(?:${src[t.PRERELEASE]})?${src[t.BUILD]}?` + `)?)?`);\ncreateToken(\"XRANGEPLAINLOOSE\", `[v=\\\\s]*(${src[t.XRANGEIDENTIFIERLOOSE]})` + `(?:\\\\.(${src[t.XRANGEIDENTIFIERLOOSE]})` + `(?:\\\\.(${src[t.XRANGEIDENTIFIERLOOSE]})` + `(?:${src[t.PRERELEASELOOSE]})?${src[t.BUILD]}?` + `)?)?`);\ncreateToken(\"XRANGE\", `^${src[t.GTLT]}\\\\s*${src[t.XRANGEPLAIN]}$`);\ncreateToken(\"XRANGELOOSE\", `^${src[t.GTLT]}\\\\s*${src[t.XRANGEPLAINLOOSE]}$`);\n// Coercion.\n// Extract anything that could conceivably be a part of a valid semver\ncreateToken(\"COERCE\", `${\"(^|[^\\\\d])(\\\\d{1,\"}${$b5ae39da57542d44$require$MAX_SAFE_COMPONENT_LENGTH}})` + `(?:\\\\.(\\\\d{1,${$b5ae39da57542d44$require$MAX_SAFE_COMPONENT_LENGTH}}))?` + `(?:\\\\.(\\\\d{1,${$b5ae39da57542d44$require$MAX_SAFE_COMPONENT_LENGTH}}))?` + `(?:$|[^\\\\d])`);\ncreateToken(\"COERCERTL\", src[t.COERCE], true);\n// Tilde ranges.\n// Meaning is \"reasonably at or greater than\"\ncreateToken(\"LONETILDE\", \"(?:~>?)\");\ncreateToken(\"TILDETRIM\", `(\\\\s*)${src[t.LONETILDE]}\\\\s+`, true);\nexports.tildeTrimReplace = \"$1~\";\ncreateToken(\"TILDE\", `^${src[t.LONETILDE]}${src[t.XRANGEPLAIN]}$`);\ncreateToken(\"TILDELOOSE\", `^${src[t.LONETILDE]}${src[t.XRANGEPLAINLOOSE]}$`);\n// Caret ranges.\n// Meaning is \"at least and backwards compatible with\"\ncreateToken(\"LONECARET\", \"(?:\\\\^)\");\ncreateToken(\"CARETTRIM\", `(\\\\s*)${src[t.LONECARET]}\\\\s+`, true);\nexports.caretTrimReplace = \"$1^\";\ncreateToken(\"CARET\", `^${src[t.LONECARET]}${src[t.XRANGEPLAIN]}$`);\ncreateToken(\"CARETLOOSE\", `^${src[t.LONECARET]}${src[t.XRANGEPLAINLOOSE]}$`);\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// 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]}\\\\s*(${src[t.LOOSEPLAIN]}|${src[t.XRANGEPLAIN]})`, true);\nexports.comparatorTrimReplace = \"$1$2$3\";\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]})` + `\\\\s+-\\\\s+` + `(${src[t.XRANGEPLAIN]})` + `\\\\s*$`);\ncreateToken(\"HYPHENRANGELOOSE\", `^\\\\s*(${src[t.XRANGEPLAINLOOSE]})` + `\\\\s+-\\\\s+` + `(${src[t.XRANGEPLAINLOOSE]})` + `\\\\s*$`);\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\n});\nparcelRequire.register(\"juUXZ\", function(module, exports) {\n// Note: this is the semver.org version of the spec that it implements\n// Not necessarily the package version of this code.\nconst $e31d020d9753a7a8$var$SEMVER_SPEC_VERSION = \"2.0.0\";\nconst $e31d020d9753a7a8$var$MAX_LENGTH = 256;\nconst $e31d020d9753a7a8$var$MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER || /* istanbul ignore next */ 9007199254740991;\n// Max safe segment length for coercion.\nconst $e31d020d9753a7a8$var$MAX_SAFE_COMPONENT_LENGTH = 16;\n// Max safe length for a build identifier. The max length minus 6 characters for\n// the shortest version with a build 0.0.0+BUILD.\nconst $e31d020d9753a7a8$var$MAX_SAFE_BUILD_LENGTH = $e31d020d9753a7a8$var$MAX_LENGTH - 6;\nconst $e31d020d9753a7a8$var$RELEASE_TYPES = [\n \"major\",\n \"premajor\",\n \"minor\",\n \"preminor\",\n \"patch\",\n \"prepatch\",\n \"prerelease\"\n];\nmodule.exports = {\n MAX_LENGTH: $e31d020d9753a7a8$var$MAX_LENGTH,\n MAX_SAFE_COMPONENT_LENGTH: $e31d020d9753a7a8$var$MAX_SAFE_COMPONENT_LENGTH,\n MAX_SAFE_BUILD_LENGTH: $e31d020d9753a7a8$var$MAX_SAFE_BUILD_LENGTH,\n MAX_SAFE_INTEGER: $e31d020d9753a7a8$var$MAX_SAFE_INTEGER,\n RELEASE_TYPES: $e31d020d9753a7a8$var$RELEASE_TYPES,\n SEMVER_SPEC_VERSION: $e31d020d9753a7a8$var$SEMVER_SPEC_VERSION,\n FLAG_INCLUDE_PRERELEASE: 1,\n FLAG_LOOSE: 2\n};\n\n});\n\nparcelRequire.register(\"3Zcn3\", function(module, exports) {\nconst $2e70aa371957dfc0$var$debug = typeof process === \"object\" && process.env && process.env.NODE_DEBUG && /\\bsemver\\b/i.test(process.env.NODE_DEBUG) ? (...args)=>console.error(\"SEMVER\", ...args) : ()=>{};\nmodule.exports = $2e70aa371957dfc0$var$debug;\n\n});\n\n\nparcelRequire.register(\"kxoMX\", function(module, exports) {\n\nvar $3Zcn3 = parcelRequire(\"3Zcn3\");\n\nvar $juUXZ = parcelRequire(\"juUXZ\");\nvar $ef3a1e346a8143ed$require$MAX_LENGTH = $juUXZ.MAX_LENGTH;\nvar $ef3a1e346a8143ed$require$MAX_SAFE_INTEGER = $juUXZ.MAX_SAFE_INTEGER;\n\nvar $fB52W = parcelRequire(\"fB52W\");\nvar $ef3a1e346a8143ed$require$re = $fB52W.safeRe;\nvar $ef3a1e346a8143ed$require$t = $fB52W.t;\n\nvar $ifDVe = parcelRequire(\"ifDVe\");\n\nvar $eT4Gq = parcelRequire(\"eT4Gq\");\nvar $ef3a1e346a8143ed$require$compareIdentifiers = $eT4Gq.compareIdentifiers;\nclass $ef3a1e346a8143ed$var$SemVer {\n constructor(version, options){\n options = $ifDVe(options);\n if (version instanceof $ef3a1e346a8143ed$var$SemVer) {\n if (version.loose === !!options.loose && version.includePrerelease === !!options.includePrerelease) return version;\n else version = version.version;\n } else if (typeof version !== \"string\") throw new TypeError(`Invalid version. Must be a string. Got type \"${typeof version}\".`);\n if (version.length > $ef3a1e346a8143ed$require$MAX_LENGTH) throw new TypeError(`version is longer than ${$ef3a1e346a8143ed$require$MAX_LENGTH} characters`);\n $3Zcn3(\"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 const m = version.trim().match(options.loose ? $ef3a1e346a8143ed$require$re[$ef3a1e346a8143ed$require$t.LOOSE] : $ef3a1e346a8143ed$require$re[$ef3a1e346a8143ed$require$t.FULL]);\n if (!m) throw new TypeError(`Invalid Version: ${version}`);\n this.raw = version;\n // these are actually numbers\n this.major = +m[1];\n this.minor = +m[2];\n this.patch = +m[3];\n if (this.major > $ef3a1e346a8143ed$require$MAX_SAFE_INTEGER || this.major < 0) throw new TypeError(\"Invalid major version\");\n if (this.minor > $ef3a1e346a8143ed$require$MAX_SAFE_INTEGER || this.minor < 0) throw new TypeError(\"Invalid minor version\");\n if (this.patch > $ef3a1e346a8143ed$require$MAX_SAFE_INTEGER || this.patch < 0) throw new TypeError(\"Invalid patch version\");\n // numberify any prerelease numeric ids\n if (!m[4]) this.prerelease = [];\n else this.prerelease = m[4].split(\".\").map((id)=>{\n if (/^[0-9]+$/.test(id)) {\n const num = +id;\n if (num >= 0 && num < $ef3a1e346a8143ed$require$MAX_SAFE_INTEGER) return num;\n }\n return id;\n });\n this.build = m[5] ? m[5].split(\".\") : [];\n this.format();\n }\n format() {\n this.version = `${this.major}.${this.minor}.${this.patch}`;\n if (this.prerelease.length) this.version += `-${this.prerelease.join(\".\")}`;\n return this.version;\n }\n toString() {\n return this.version;\n }\n compare(other) {\n $3Zcn3(\"SemVer.compare\", this.version, this.options, other);\n if (!(other instanceof $ef3a1e346a8143ed$var$SemVer)) {\n if (typeof other === \"string\" && other === this.version) return 0;\n other = new $ef3a1e346a8143ed$var$SemVer(other, this.options);\n }\n if (other.version === this.version) return 0;\n return this.compareMain(other) || this.comparePre(other);\n }\n compareMain(other) {\n if (!(other instanceof $ef3a1e346a8143ed$var$SemVer)) other = new $ef3a1e346a8143ed$var$SemVer(other, this.options);\n return $ef3a1e346a8143ed$require$compareIdentifiers(this.major, other.major) || $ef3a1e346a8143ed$require$compareIdentifiers(this.minor, other.minor) || $ef3a1e346a8143ed$require$compareIdentifiers(this.patch, other.patch);\n }\n comparePre(other) {\n if (!(other instanceof $ef3a1e346a8143ed$var$SemVer)) other = new $ef3a1e346a8143ed$var$SemVer(other, this.options);\n // NOT having a prerelease is > having one\n if (this.prerelease.length && !other.prerelease.length) return -1;\n else if (!this.prerelease.length && other.prerelease.length) return 1;\n else if (!this.prerelease.length && !other.prerelease.length) return 0;\n let i = 0;\n do {\n const a = this.prerelease[i];\n const b = other.prerelease[i];\n $3Zcn3(\"prerelease compare\", i, a, b);\n if (a === undefined && b === undefined) return 0;\n else if (b === undefined) return 1;\n else if (a === undefined) return -1;\n else if (a === b) continue;\n else return $ef3a1e346a8143ed$require$compareIdentifiers(a, b);\n }while (++i);\n }\n compareBuild(other) {\n if (!(other instanceof $ef3a1e346a8143ed$var$SemVer)) other = new $ef3a1e346a8143ed$var$SemVer(other, this.options);\n let i = 0;\n do {\n const a = this.build[i];\n const b = other.build[i];\n $3Zcn3(\"prerelease compare\", i, a, b);\n if (a === undefined && b === undefined) return 0;\n else if (b === undefined) return 1;\n else if (a === undefined) return -1;\n else if (a === b) continue;\n else return $ef3a1e346a8143ed$require$compareIdentifiers(a, b);\n }while (++i);\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, identifierBase) {\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, identifierBase);\n break;\n case \"preminor\":\n this.prerelease.length = 0;\n this.patch = 0;\n this.minor++;\n this.inc(\"pre\", identifier, identifierBase);\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, identifierBase);\n this.inc(\"pre\", identifier, identifierBase);\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) this.inc(\"patch\", identifier, identifierBase);\n this.inc(\"pre\", identifier, identifierBase);\n break;\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 (this.minor !== 0 || this.patch !== 0 || this.prerelease.length === 0) this.major++;\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) this.minor++;\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) this.patch++;\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 {\n const base = Number(identifierBase) ? 1 : 0;\n if (!identifier && identifierBase === false) throw new Error(\"invalid increment argument: identifier is empty\");\n if (this.prerelease.length === 0) this.prerelease = [\n base\n ];\n else {\n let i = this.prerelease.length;\n while(--i >= 0)if (typeof this.prerelease[i] === \"number\") {\n this.prerelease[i]++;\n i = -2;\n }\n if (i === -1) {\n // didn't increment anything\n if (identifier === this.prerelease.join(\".\") && identifierBase === false) throw new Error(\"invalid increment argument: identifier already exists\");\n this.prerelease.push(base);\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 let prerelease = [\n identifier,\n base\n ];\n if (identifierBase === false) prerelease = [\n identifier\n ];\n if ($ef3a1e346a8143ed$require$compareIdentifiers(this.prerelease[0], identifier) === 0) {\n if (isNaN(this.prerelease[1])) this.prerelease = prerelease;\n } else this.prerelease = prerelease;\n }\n break;\n }\n default:\n throw new Error(`invalid increment argument: ${release}`);\n }\n this.raw = this.format();\n if (this.build.length) this.raw += `+${this.build.join(\".\")}`;\n return this;\n }\n}\nmodule.exports = $ef3a1e346a8143ed$var$SemVer;\n\n});\nparcelRequire.register(\"ifDVe\", function(module, exports) {\n// parse out just the options we care about\nconst $d4989867d79b3598$var$looseOption = Object.freeze({\n loose: true\n});\nconst $d4989867d79b3598$var$emptyOpts = Object.freeze({});\nconst $d4989867d79b3598$var$parseOptions = (options)=>{\n if (!options) return $d4989867d79b3598$var$emptyOpts;\n if (typeof options !== \"object\") return $d4989867d79b3598$var$looseOption;\n return options;\n};\nmodule.exports = $d4989867d79b3598$var$parseOptions;\n\n});\n\nparcelRequire.register(\"eT4Gq\", function(module, exports) {\nconst $ad69d5b9530f9666$var$numeric = /^[0-9]+$/;\nconst $ad69d5b9530f9666$var$compareIdentifiers = (a, b)=>{\n const anum = $ad69d5b9530f9666$var$numeric.test(a);\n const bnum = $ad69d5b9530f9666$var$numeric.test(b);\n if (anum && bnum) {\n a = +a;\n b = +b;\n }\n return a === b ? 0 : anum && !bnum ? -1 : bnum && !anum ? 1 : a < b ? -1 : 1;\n};\nconst $ad69d5b9530f9666$var$rcompareIdentifiers = (a, b)=>$ad69d5b9530f9666$var$compareIdentifiers(b, a);\nmodule.exports = {\n compareIdentifiers: $ad69d5b9530f9666$var$compareIdentifiers,\n rcompareIdentifiers: $ad69d5b9530f9666$var$rcompareIdentifiers\n};\n\n});\n\n\nparcelRequire.register(\"6moLM\", function(module, exports) {\n\nvar $kxoMX = parcelRequire(\"kxoMX\");\nconst $4a1802e5dd23d485$var$parse = (version, options, throwErrors = false)=>{\n if (version instanceof $kxoMX) return version;\n try {\n return new $kxoMX(version, options);\n } catch (er) {\n if (!throwErrors) return null;\n throw er;\n }\n};\nmodule.exports = $4a1802e5dd23d485$var$parse;\n\n});\n\nparcelRequire.register(\"eJTZB\", function(module, exports) {\n\nvar $6moLM = parcelRequire(\"6moLM\");\nconst $abb0b398cdda46df$var$valid = (version, options)=>{\n const v = $6moLM(version, options);\n return v ? v.version : null;\n};\nmodule.exports = $abb0b398cdda46df$var$valid;\n\n});\n\nparcelRequire.register(\"e3PGr\", function(module, exports) {\n\nvar $6moLM = parcelRequire(\"6moLM\");\nconst $a3c96fc702c757d0$var$clean = (version, options)=>{\n const s = $6moLM(version.trim().replace(/^[=v]+/, \"\"), options);\n return s ? s.version : null;\n};\nmodule.exports = $a3c96fc702c757d0$var$clean;\n\n});\n\nparcelRequire.register(\"dqKDW\", function(module, exports) {\n\nvar $kxoMX = parcelRequire(\"kxoMX\");\nconst $9c71e26abb63693c$var$inc = (version, release, options, identifier, identifierBase)=>{\n if (typeof options === \"string\") {\n identifierBase = identifier;\n identifier = options;\n options = undefined;\n }\n try {\n return new $kxoMX(version instanceof $kxoMX ? version.version : version, options).inc(release, identifier, identifierBase).version;\n } catch (er) {\n return null;\n }\n};\nmodule.exports = $9c71e26abb63693c$var$inc;\n\n});\n\nparcelRequire.register(\"gPIs5\", function(module, exports) {\n\nvar $6moLM = parcelRequire(\"6moLM\");\nconst $c413e405a16963f9$var$diff = (version1, version2)=>{\n const v1 = $6moLM(version1, null, true);\n const v2 = $6moLM(version2, null, true);\n const comparison = v1.compare(v2);\n if (comparison === 0) return null;\n const v1Higher = comparison > 0;\n const highVersion = v1Higher ? v1 : v2;\n const lowVersion = v1Higher ? v2 : v1;\n const highHasPre = !!highVersion.prerelease.length;\n const lowHasPre = !!lowVersion.prerelease.length;\n if (lowHasPre && !highHasPre) {\n // Going from prerelease -> no prerelease requires some special casing\n // If the low version has only a major, then it will always be a major\n // Some examples:\n // 1.0.0-1 -> 1.0.0\n // 1.0.0-1 -> 1.1.1\n // 1.0.0-1 -> 2.0.0\n if (!lowVersion.patch && !lowVersion.minor) return \"major\";\n // Otherwise it can be determined by checking the high version\n if (highVersion.patch) // anything higher than a patch bump would result in the wrong version\n return \"patch\";\n if (highVersion.minor) // anything higher than a minor bump would result in the wrong version\n return \"minor\";\n // bumping major/minor/patch all have same result\n return \"major\";\n }\n // add the `pre` prefix if we are going to a prerelease version\n const prefix = highHasPre ? \"pre\" : \"\";\n if (v1.major !== v2.major) return prefix + \"major\";\n if (v1.minor !== v2.minor) return prefix + \"minor\";\n if (v1.patch !== v2.patch) return prefix + \"patch\";\n // high and low are preleases\n return \"prerelease\";\n};\nmodule.exports = $c413e405a16963f9$var$diff;\n\n});\n\nparcelRequire.register(\"bX9Em\", function(module, exports) {\n\nvar $kxoMX = parcelRequire(\"kxoMX\");\nconst $8b3cb0b50271b490$var$major = (a, loose)=>new $kxoMX(a, loose).major;\nmodule.exports = $8b3cb0b50271b490$var$major;\n\n});\n\nparcelRequire.register(\"iAJEE\", function(module, exports) {\n\nvar $kxoMX = parcelRequire(\"kxoMX\");\nconst $d88f00d9f9103d82$var$minor = (a, loose)=>new $kxoMX(a, loose).minor;\nmodule.exports = $d88f00d9f9103d82$var$minor;\n\n});\n\nparcelRequire.register(\"fHTYs\", function(module, exports) {\n\nvar $kxoMX = parcelRequire(\"kxoMX\");\nconst $b6f64a74ea619b6f$var$patch = (a, loose)=>new $kxoMX(a, loose).patch;\nmodule.exports = $b6f64a74ea619b6f$var$patch;\n\n});\n\nparcelRequire.register(\"8PQ4n\", function(module, exports) {\n\nvar $6moLM = parcelRequire(\"6moLM\");\nconst $66eb7a18bfaf4361$var$prerelease = (version, options)=>{\n const parsed = $6moLM(version, options);\n return parsed && parsed.prerelease.length ? parsed.prerelease : null;\n};\nmodule.exports = $66eb7a18bfaf4361$var$prerelease;\n\n});\n\nparcelRequire.register(\"3Z6CK\", function(module, exports) {\n\nvar $kxoMX = parcelRequire(\"kxoMX\");\nconst $2e6c34f82396fe43$var$compare = (a, b, loose)=>new $kxoMX(a, loose).compare(new $kxoMX(b, loose));\nmodule.exports = $2e6c34f82396fe43$var$compare;\n\n});\n\nparcelRequire.register(\"6WviK\", function(module, exports) {\n\nvar $3Z6CK = parcelRequire(\"3Z6CK\");\nconst $50e070ae9196b931$var$rcompare = (a, b, loose)=>$3Z6CK(b, a, loose);\nmodule.exports = $50e070ae9196b931$var$rcompare;\n\n});\n\nparcelRequire.register(\"8cCiP\", function(module, exports) {\n\nvar $3Z6CK = parcelRequire(\"3Z6CK\");\nconst $5f8d27d96c939903$var$compareLoose = (a, b)=>$3Z6CK(a, b, true);\nmodule.exports = $5f8d27d96c939903$var$compareLoose;\n\n});\n\nparcelRequire.register(\"2JTVo\", function(module, exports) {\n\nvar $kxoMX = parcelRequire(\"kxoMX\");\nconst $1feb2a3b4b5899fa$var$compareBuild = (a, b, loose)=>{\n const versionA = new $kxoMX(a, loose);\n const versionB = new $kxoMX(b, loose);\n return versionA.compare(versionB) || versionA.compareBuild(versionB);\n};\nmodule.exports = $1feb2a3b4b5899fa$var$compareBuild;\n\n});\n\nparcelRequire.register(\"bizdR\", function(module, exports) {\n\nvar $2JTVo = parcelRequire(\"2JTVo\");\nconst $839cb2a413b05b3f$var$sort = (list, loose)=>list.sort((a, b)=>$2JTVo(a, b, loose));\nmodule.exports = $839cb2a413b05b3f$var$sort;\n\n});\n\nparcelRequire.register(\"2lHfL\", function(module, exports) {\n\nvar $2JTVo = parcelRequire(\"2JTVo\");\nconst $1b5f181e56f526c9$var$rsort = (list, loose)=>list.sort((a, b)=>$2JTVo(b, a, loose));\nmodule.exports = $1b5f181e56f526c9$var$rsort;\n\n});\n\nparcelRequire.register(\"9XGBY\", function(module, exports) {\n\nvar $3Z6CK = parcelRequire(\"3Z6CK\");\nconst $740aad7ea6686f07$var$gt = (a, b, loose)=>$3Z6CK(a, b, loose) > 0;\nmodule.exports = $740aad7ea6686f07$var$gt;\n\n});\n\nparcelRequire.register(\"2zuiw\", function(module, exports) {\n\nvar $3Z6CK = parcelRequire(\"3Z6CK\");\nconst $1df65a24756bf0cc$var$lt = (a, b, loose)=>$3Z6CK(a, b, loose) < 0;\nmodule.exports = $1df65a24756bf0cc$var$lt;\n\n});\n\nparcelRequire.register(\"bDcXu\", function(module, exports) {\n\nvar $3Z6CK = parcelRequire(\"3Z6CK\");\nconst $877d6386d35a604f$var$eq = (a, b, loose)=>$3Z6CK(a, b, loose) === 0;\nmodule.exports = $877d6386d35a604f$var$eq;\n\n});\n\nparcelRequire.register(\"lvpAe\", function(module, exports) {\n\nvar $3Z6CK = parcelRequire(\"3Z6CK\");\nconst $fa80568b6700566c$var$neq = (a, b, loose)=>$3Z6CK(a, b, loose) !== 0;\nmodule.exports = $fa80568b6700566c$var$neq;\n\n});\n\nparcelRequire.register(\"1um22\", function(module, exports) {\n\nvar $3Z6CK = parcelRequire(\"3Z6CK\");\nconst $1159aede061328ab$var$gte = (a, b, loose)=>$3Z6CK(a, b, loose) >= 0;\nmodule.exports = $1159aede061328ab$var$gte;\n\n});\n\nparcelRequire.register(\"1ndHP\", function(module, exports) {\n\nvar $3Z6CK = parcelRequire(\"3Z6CK\");\nconst $10029225ed3e6fde$var$lte = (a, b, loose)=>$3Z6CK(a, b, loose) <= 0;\nmodule.exports = $10029225ed3e6fde$var$lte;\n\n});\n\nparcelRequire.register(\"7Dt1t\", function(module, exports) {\n\nvar $bDcXu = parcelRequire(\"bDcXu\");\n\nvar $lvpAe = parcelRequire(\"lvpAe\");\n\nvar $9XGBY = parcelRequire(\"9XGBY\");\n\nvar $1um22 = parcelRequire(\"1um22\");\n\nvar $2zuiw = parcelRequire(\"2zuiw\");\n\nvar $1ndHP = parcelRequire(\"1ndHP\");\nconst $58f2b04032197f67$var$cmp = (a, op, b, loose)=>{\n switch(op){\n case \"===\":\n if (typeof a === \"object\") a = a.version;\n if (typeof b === \"object\") b = b.version;\n return a === b;\n case \"!==\":\n if (typeof a === \"object\") a = a.version;\n if (typeof b === \"object\") b = b.version;\n return a !== b;\n case \"\":\n case \"=\":\n case \"==\":\n return $bDcXu(a, b, loose);\n case \"!=\":\n return $lvpAe(a, b, loose);\n case \">\":\n return $9XGBY(a, b, loose);\n case \">=\":\n return $1um22(a, b, loose);\n case \"<\":\n return $2zuiw(a, b, loose);\n case \"<=\":\n return $1ndHP(a, b, loose);\n default:\n throw new TypeError(`Invalid operator: ${op}`);\n }\n};\nmodule.exports = $58f2b04032197f67$var$cmp;\n\n});\n\nparcelRequire.register(\"9hSY8\", function(module, exports) {\n\nvar $kxoMX = parcelRequire(\"kxoMX\");\n\nvar $6moLM = parcelRequire(\"6moLM\");\n\nvar $fB52W = parcelRequire(\"fB52W\");\nvar $6c30573f209fca41$require$re = $fB52W.safeRe;\nvar $6c30573f209fca41$require$t = $fB52W.t;\nconst $6c30573f209fca41$var$coerce = (version, options)=>{\n if (version instanceof $kxoMX) return version;\n if (typeof version === \"number\") version = String(version);\n if (typeof version !== \"string\") return null;\n options = options || {};\n let match = null;\n if (!options.rtl) match = version.match($6c30573f209fca41$require$re[$6c30573f209fca41$require$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 = $6c30573f209fca41$require$re[$6c30573f209fca41$require$t.COERCERTL].exec(version)) && (!match || match.index + match[0].length !== version.length)){\n if (!match || next.index + next[0].length !== match.index + match[0].length) match = next;\n $6c30573f209fca41$require$re[$6c30573f209fca41$require$t.COERCERTL].lastIndex = next.index + next[1].length + next[2].length;\n }\n // leave it in a clean state\n $6c30573f209fca41$require$re[$6c30573f209fca41$require$t.COERCERTL].lastIndex = -1;\n }\n if (match === null) return null;\n return $6moLM(`${match[2]}.${match[3] || \"0\"}.${match[4] || \"0\"}`, options);\n};\nmodule.exports = $6c30573f209fca41$var$coerce;\n\n});\n\nparcelRequire.register(\"ge7Lx\", function(module, exports) {\nconst $bd03fa49269d03a7$var$ANY = Symbol(\"SemVer ANY\");\n// hoisted class for cyclic dependency\nclass $bd03fa49269d03a7$var$Comparator {\n static get ANY() {\n return $bd03fa49269d03a7$var$ANY;\n }\n constructor(comp, options){\n options = $ifDVe(options);\n if (comp instanceof $bd03fa49269d03a7$var$Comparator) {\n if (comp.loose === !!options.loose) return comp;\n else comp = comp.value;\n }\n comp = comp.trim().split(/\\s+/).join(\" \");\n $3Zcn3(\"comparator\", comp, options);\n this.options = options;\n this.loose = !!options.loose;\n this.parse(comp);\n if (this.semver === $bd03fa49269d03a7$var$ANY) this.value = \"\";\n else this.value = this.operator + this.semver.version;\n $3Zcn3(\"comp\", this);\n }\n parse(comp) {\n const r = this.options.loose ? $bd03fa49269d03a7$require$re[$bd03fa49269d03a7$require$t.COMPARATORLOOSE] : $bd03fa49269d03a7$require$re[$bd03fa49269d03a7$require$t.COMPARATOR];\n const m = comp.match(r);\n if (!m) throw new TypeError(`Invalid comparator: ${comp}`);\n this.operator = m[1] !== undefined ? m[1] : \"\";\n if (this.operator === \"=\") this.operator = \"\";\n // if it literally is just '>' or '' then allow anything.\n if (!m[2]) this.semver = $bd03fa49269d03a7$var$ANY;\n else this.semver = new $kxoMX(m[2], this.options.loose);\n }\n toString() {\n return this.value;\n }\n test(version) {\n $3Zcn3(\"Comparator.test\", version, this.options.loose);\n if (this.semver === $bd03fa49269d03a7$var$ANY || version === $bd03fa49269d03a7$var$ANY) return true;\n if (typeof version === \"string\") try {\n version = new $kxoMX(version, this.options);\n } catch (er) {\n return false;\n }\n return $7Dt1t(version, this.operator, this.semver, this.options);\n }\n intersects(comp, options) {\n if (!(comp instanceof $bd03fa49269d03a7$var$Comparator)) throw new TypeError(\"a Comparator is required\");\n if (this.operator === \"\") {\n if (this.value === \"\") return true;\n return new $gBfHp(comp.value, options).test(this.value);\n } else if (comp.operator === \"\") {\n if (comp.value === \"\") return true;\n return new $gBfHp(this.value, options).test(comp.semver);\n }\n options = $ifDVe(options);\n // Special cases where nothing can possibly be lower\n if (options.includePrerelease && (this.value === \"<0.0.0-0\" || comp.value === \"<0.0.0-0\")) return false;\n if (!options.includePrerelease && (this.value.startsWith(\"<0.0.0\") || comp.value.startsWith(\"<0.0.0\"))) return false;\n // Same direction increasing (> or >=)\n if (this.operator.startsWith(\">\") && comp.operator.startsWith(\">\")) return true;\n // Same direction decreasing (< or <=)\n if (this.operator.startsWith(\"<\") && comp.operator.startsWith(\"<\")) return true;\n // same SemVer and both sides are inclusive (<= or >=)\n if (this.semver.version === comp.semver.version && this.operator.includes(\"=\") && comp.operator.includes(\"=\")) return true;\n // opposite directions less than\n if ($7Dt1t(this.semver, \"<\", comp.semver, options) && this.operator.startsWith(\">\") && comp.operator.startsWith(\"<\")) return true;\n // opposite directions greater than\n if ($7Dt1t(this.semver, \">\", comp.semver, options) && this.operator.startsWith(\"<\") && comp.operator.startsWith(\">\")) return true;\n return false;\n }\n}\nmodule.exports = $bd03fa49269d03a7$var$Comparator;\n\nvar $ifDVe = parcelRequire(\"ifDVe\");\n\nvar $fB52W = parcelRequire(\"fB52W\");\nvar $bd03fa49269d03a7$require$re = $fB52W.safeRe;\nvar $bd03fa49269d03a7$require$t = $fB52W.t;\n\nvar $7Dt1t = parcelRequire(\"7Dt1t\");\n\nvar $3Zcn3 = parcelRequire(\"3Zcn3\");\n\nvar $kxoMX = parcelRequire(\"kxoMX\");\n\nvar $gBfHp = parcelRequire(\"gBfHp\");\n\n});\nparcelRequire.register(\"gBfHp\", function(module, exports) {\n// hoisted class for cyclic dependency\nclass $c15c478d879ca9ca$var$Range {\n constructor(range, options){\n options = $ifDVe(options);\n if (range instanceof $c15c478d879ca9ca$var$Range) {\n if (range.loose === !!options.loose && range.includePrerelease === !!options.includePrerelease) return range;\n else return new $c15c478d879ca9ca$var$Range(range.raw, options);\n }\n if (range instanceof $ge7Lx) {\n // just put it in the set and return\n this.raw = range.value;\n this.set = [\n [\n range\n ]\n ];\n this.format();\n return this;\n }\n this.options = options;\n this.loose = !!options.loose;\n this.includePrerelease = !!options.includePrerelease;\n // First reduce all whitespace as much as possible so we do not have to rely\n // on potentially slow regexes like \\s*. This is then stored and used for\n // future error messages as well.\n this.raw = range.trim().split(/\\s+/).join(\" \");\n // First, split on ||\n this.set = this.raw.split(\"||\")// map the range to a 2d array of comparators\n .map((r)=>this.parseRange(r.trim()))// 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 if (!this.set.length) throw new TypeError(`Invalid SemVer Range: ${this.raw}`);\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)=>!$c15c478d879ca9ca$var$isNullSet(c[0]));\n if (this.set.length === 0) this.set = [\n first\n ];\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)if (c.length === 1 && $c15c478d879ca9ca$var$isAny(c[0])) {\n this.set = [\n c\n ];\n break;\n }\n }\n }\n this.format();\n }\n format() {\n this.range = this.set.map((comps)=>comps.join(\" \").trim()).join(\"||\").trim();\n return this.range;\n }\n toString() {\n return this.range;\n }\n parseRange(range) {\n // memoize range parsing for performance.\n // this is a very hot path, and fully deterministic.\n const memoOpts = (this.options.includePrerelease && $c15c478d879ca9ca$require$FLAG_INCLUDE_PRERELEASE) | (this.options.loose && $c15c478d879ca9ca$require$FLAG_LOOSE);\n const memoKey = memoOpts + \":\" + range;\n const cached = $c15c478d879ca9ca$var$cache.get(memoKey);\n if (cached) return cached;\n const loose = this.options.loose;\n // `1.2.3 - 1.2.4` => `>=1.2.3 <=1.2.4`\n const hr = loose ? $c15c478d879ca9ca$require$re[$c15c478d879ca9ca$require$t.HYPHENRANGELOOSE] : $c15c478d879ca9ca$require$re[$c15c478d879ca9ca$require$t.HYPHENRANGE];\n range = range.replace(hr, $c15c478d879ca9ca$var$hyphenReplace(this.options.includePrerelease));\n $3Zcn3(\"hyphen replace\", range);\n // `> 1.2.3 < 1.2.5` => `>1.2.3 <1.2.5`\n range = range.replace($c15c478d879ca9ca$require$re[$c15c478d879ca9ca$require$t.COMPARATORTRIM], $c15c478d879ca9ca$require$comparatorTrimReplace);\n $3Zcn3(\"comparator trim\", range);\n // `~ 1.2.3` => `~1.2.3`\n range = range.replace($c15c478d879ca9ca$require$re[$c15c478d879ca9ca$require$t.TILDETRIM], $c15c478d879ca9ca$require$tildeTrimReplace);\n $3Zcn3(\"tilde trim\", range);\n // `^ 1.2.3` => `^1.2.3`\n range = range.replace($c15c478d879ca9ca$require$re[$c15c478d879ca9ca$require$t.CARETTRIM], $c15c478d879ca9ca$require$caretTrimReplace);\n $3Zcn3(\"caret trim\", range);\n // At this point, the range is completely trimmed and\n // ready to be split into comparators.\n let rangeList = range.split(\" \").map((comp)=>$c15c478d879ca9ca$var$parseComparator(comp, this.options)).join(\" \").split(/\\s+/)// >=0.0.0 is equivalent to *\n .map((comp)=>$c15c478d879ca9ca$var$replaceGTE0(comp, this.options));\n if (loose) // in loose mode, throw out any that are not valid comparators\n rangeList = rangeList.filter((comp)=>{\n $3Zcn3(\"loose invalid filter\", comp, this.options);\n return !!comp.match($c15c478d879ca9ca$require$re[$c15c478d879ca9ca$require$t.COMPARATORLOOSE]);\n });\n $3Zcn3(\"range list\", rangeList);\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 $ge7Lx(comp, this.options));\n for (const comp of comparators){\n if ($c15c478d879ca9ca$var$isNullSet(comp)) return [\n comp\n ];\n rangeMap.set(comp.value, comp);\n }\n if (rangeMap.size > 1 && rangeMap.has(\"\")) rangeMap.delete(\"\");\n const result = [\n ...rangeMap.values()\n ];\n $c15c478d879ca9ca$var$cache.set(memoKey, result);\n return result;\n }\n intersects(range, options) {\n if (!(range instanceof $c15c478d879ca9ca$var$Range)) throw new TypeError(\"a Range is required\");\n return this.set.some((thisComparators)=>{\n return $c15c478d879ca9ca$var$isSatisfiable(thisComparators, options) && range.set.some((rangeComparators)=>{\n return $c15c478d879ca9ca$var$isSatisfiable(rangeComparators, options) && thisComparators.every((thisComparator)=>{\n return rangeComparators.every((rangeComparator)=>{\n return thisComparator.intersects(rangeComparator, options);\n });\n });\n });\n });\n }\n // if ANY of the sets match ALL of its comparators, then pass\n test(version) {\n if (!version) return false;\n if (typeof version === \"string\") try {\n version = new $kxoMX(version, this.options);\n } catch (er) {\n return false;\n }\n for(let i = 0; i < this.set.length; i++){\n if ($c15c478d879ca9ca$var$testSet(this.set[i], version, this.options)) return true;\n }\n return false;\n }\n}\nmodule.exports = $c15c478d879ca9ca$var$Range;\n\nvar $l6u7r = parcelRequire(\"l6u7r\");\nconst $c15c478d879ca9ca$var$cache = new $l6u7r({\n max: 1000\n});\n\nvar $ifDVe = parcelRequire(\"ifDVe\");\n\nvar $ge7Lx = parcelRequire(\"ge7Lx\");\n\nvar $3Zcn3 = parcelRequire(\"3Zcn3\");\n\nvar $kxoMX = parcelRequire(\"kxoMX\");\n\nvar $fB52W = parcelRequire(\"fB52W\");\nvar $c15c478d879ca9ca$require$re = $fB52W.safeRe;\nvar $c15c478d879ca9ca$require$t = $fB52W.t;\nvar $c15c478d879ca9ca$require$comparatorTrimReplace = $fB52W.comparatorTrimReplace;\nvar $c15c478d879ca9ca$require$tildeTrimReplace = $fB52W.tildeTrimReplace;\nvar $c15c478d879ca9ca$require$caretTrimReplace = $fB52W.caretTrimReplace;\n\nvar $juUXZ = parcelRequire(\"juUXZ\");\nvar $c15c478d879ca9ca$require$FLAG_INCLUDE_PRERELEASE = $juUXZ.FLAG_INCLUDE_PRERELEASE;\nvar $c15c478d879ca9ca$require$FLAG_LOOSE = $juUXZ.FLAG_LOOSE;\nconst $c15c478d879ca9ca$var$isNullSet = (c)=>c.value === \"<0.0.0-0\";\nconst $c15c478d879ca9ca$var$isAny = (c)=>c.value === \"\";\n// take a set of comparators and determine whether there\n// exists a version which can satisfy it\nconst $c15c478d879ca9ca$var$isSatisfiable = (comparators, options)=>{\n let result = true;\n const remainingComparators = comparators.slice();\n let testComparator = remainingComparators.pop();\n while(result && remainingComparators.length){\n result = remainingComparators.every((otherComparator)=>{\n return testComparator.intersects(otherComparator, options);\n });\n testComparator = remainingComparators.pop();\n }\n return result;\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 $c15c478d879ca9ca$var$parseComparator = (comp, options)=>{\n $3Zcn3(\"comp\", comp, options);\n comp = $c15c478d879ca9ca$var$replaceCarets(comp, options);\n $3Zcn3(\"caret\", comp);\n comp = $c15c478d879ca9ca$var$replaceTildes(comp, options);\n $3Zcn3(\"tildes\", comp);\n comp = $c15c478d879ca9ca$var$replaceXRanges(comp, options);\n $3Zcn3(\"xrange\", comp);\n comp = $c15c478d879ca9ca$var$replaceStars(comp, options);\n $3Zcn3(\"stars\", comp);\n return comp;\n};\nconst $c15c478d879ca9ca$var$isX = (id)=>!id || id.toLowerCase() === \"x\" || id === \"*\";\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\n// ~0.0.1 --> >=0.0.1 <0.1.0-0\nconst $c15c478d879ca9ca$var$replaceTildes = (comp, options)=>{\n return comp.trim().split(/\\s+/).map((c)=>$c15c478d879ca9ca$var$replaceTilde(c, options)).join(\" \");\n};\nconst $c15c478d879ca9ca$var$replaceTilde = (comp, options)=>{\n const r = options.loose ? $c15c478d879ca9ca$require$re[$c15c478d879ca9ca$require$t.TILDELOOSE] : $c15c478d879ca9ca$require$re[$c15c478d879ca9ca$require$t.TILDE];\n return comp.replace(r, (_, M, m, p, pr)=>{\n $3Zcn3(\"tilde\", comp, _, M, m, p, pr);\n let ret;\n if ($c15c478d879ca9ca$var$isX(M)) ret = \"\";\n else if ($c15c478d879ca9ca$var$isX(m)) ret = `>=${M}.0.0 <${+M + 1}.0.0-0`;\n else if ($c15c478d879ca9ca$var$isX(p)) // ~1.2 == >=1.2.0 <1.3.0-0\n ret = `>=${M}.${m}.0 <${M}.${+m + 1}.0-0`;\n else if (pr) {\n $3Zcn3(\"replaceTilde pr\", pr);\n ret = `>=${M}.${m}.${p}-${pr} <${M}.${+m + 1}.0-0`;\n } else // ~1.2.3 == >=1.2.3 <1.3.0-0\n ret = `>=${M}.${m}.${p} <${M}.${+m + 1}.0-0`;\n $3Zcn3(\"tilde return\", ret);\n return ret;\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\n// ^0.0.1 --> >=0.0.1 <0.0.2-0\n// ^0.1.0 --> >=0.1.0 <0.2.0-0\nconst $c15c478d879ca9ca$var$replaceCarets = (comp, options)=>{\n return comp.trim().split(/\\s+/).map((c)=>$c15c478d879ca9ca$var$replaceCaret(c, options)).join(\" \");\n};\nconst $c15c478d879ca9ca$var$replaceCaret = (comp, options)=>{\n $3Zcn3(\"caret\", comp, options);\n const r = options.loose ? $c15c478d879ca9ca$require$re[$c15c478d879ca9ca$require$t.CARETLOOSE] : $c15c478d879ca9ca$require$re[$c15c478d879ca9ca$require$t.CARET];\n const z = options.includePrerelease ? \"-0\" : \"\";\n return comp.replace(r, (_, M, m, p, pr)=>{\n $3Zcn3(\"caret\", comp, _, M, m, p, pr);\n let ret;\n if ($c15c478d879ca9ca$var$isX(M)) ret = \"\";\n else if ($c15c478d879ca9ca$var$isX(m)) ret = `>=${M}.0.0${z} <${+M + 1}.0.0-0`;\n else if ($c15c478d879ca9ca$var$isX(p)) {\n if (M === \"0\") ret = `>=${M}.${m}.0${z} <${M}.${+m + 1}.0-0`;\n else ret = `>=${M}.${m}.0${z} <${+M + 1}.0.0-0`;\n } else if (pr) {\n $3Zcn3(\"replaceCaret pr\", pr);\n if (M === \"0\") {\n if (m === \"0\") ret = `>=${M}.${m}.${p}-${pr} <${M}.${m}.${+p + 1}-0`;\n else ret = `>=${M}.${m}.${p}-${pr} <${M}.${+m + 1}.0-0`;\n } else ret = `>=${M}.${m}.${p}-${pr} <${+M + 1}.0.0-0`;\n } else {\n $3Zcn3(\"no pr\");\n if (M === \"0\") {\n if (m === \"0\") ret = `>=${M}.${m}.${p}${z} <${M}.${m}.${+p + 1}-0`;\n else ret = `>=${M}.${m}.${p}${z} <${M}.${+m + 1}.0-0`;\n } else ret = `>=${M}.${m}.${p} <${+M + 1}.0.0-0`;\n }\n $3Zcn3(\"caret return\", ret);\n return ret;\n });\n};\nconst $c15c478d879ca9ca$var$replaceXRanges = (comp, options)=>{\n $3Zcn3(\"replaceXRanges\", comp, options);\n return comp.split(/\\s+/).map((c)=>$c15c478d879ca9ca$var$replaceXRange(c, options)).join(\" \");\n};\nconst $c15c478d879ca9ca$var$replaceXRange = (comp, options)=>{\n comp = comp.trim();\n const r = options.loose ? $c15c478d879ca9ca$require$re[$c15c478d879ca9ca$require$t.XRANGELOOSE] : $c15c478d879ca9ca$require$re[$c15c478d879ca9ca$require$t.XRANGE];\n return comp.replace(r, (ret, gtlt, M, m, p, pr)=>{\n $3Zcn3(\"xRange\", comp, ret, gtlt, M, m, p, pr);\n const xM = $c15c478d879ca9ca$var$isX(M);\n const xm = xM || $c15c478d879ca9ca$var$isX(m);\n const xp = xm || $c15c478d879ca9ca$var$isX(p);\n const anyX = xp;\n if (gtlt === \"=\" && anyX) gtlt = \"\";\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 if (xM) {\n if (gtlt === \">\" || gtlt === \"<\") // nothing is allowed\n ret = \"<0.0.0-0\";\n else // nothing is forbidden\n ret = \"*\";\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) m = 0;\n p = 0;\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) M = +M + 1;\n else m = +m + 1;\n }\n if (gtlt === \"<\") pr = \"-0\";\n ret = `${gtlt + M}.${m}.${p}${pr}`;\n } else if (xm) ret = `>=${M}.0.0${pr} <${+M + 1}.0.0-0`;\n else if (xp) ret = `>=${M}.${m}.0${pr} <${M}.${+m + 1}.0-0`;\n $3Zcn3(\"xRange return\", ret);\n return ret;\n });\n};\n// Because * is AND-ed with everything else in the comparator,\n// and '' means \"any version\", just remove the *s entirely.\nconst $c15c478d879ca9ca$var$replaceStars = (comp, options)=>{\n $3Zcn3(\"replaceStars\", comp, options);\n // Looseness is ignored here. star is always as loose as it gets!\n return comp.trim().replace($c15c478d879ca9ca$require$re[$c15c478d879ca9ca$require$t.STAR], \"\");\n};\nconst $c15c478d879ca9ca$var$replaceGTE0 = (comp, options)=>{\n $3Zcn3(\"replaceGTE0\", comp, options);\n return comp.trim().replace($c15c478d879ca9ca$require$re[options.includePrerelease ? $c15c478d879ca9ca$require$t.GTE0PRE : $c15c478d879ca9ca$require$t.GTE0], \"\");\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 $c15c478d879ca9ca$var$hyphenReplace = (incPr)=>($0, from, fM, fm, fp, fpr, fb, to, tM, tm, tp, tpr, tb)=>{\n if ($c15c478d879ca9ca$var$isX(fM)) from = \"\";\n else if ($c15c478d879ca9ca$var$isX(fm)) from = `>=${fM}.0.0${incPr ? \"-0\" : \"\"}`;\n else if ($c15c478d879ca9ca$var$isX(fp)) from = `>=${fM}.${fm}.0${incPr ? \"-0\" : \"\"}`;\n else if (fpr) from = `>=${from}`;\n else from = `>=${from}${incPr ? \"-0\" : \"\"}`;\n if ($c15c478d879ca9ca$var$isX(tM)) to = \"\";\n else if ($c15c478d879ca9ca$var$isX(tm)) to = `<${+tM + 1}.0.0-0`;\n else if ($c15c478d879ca9ca$var$isX(tp)) to = `<${tM}.${+tm + 1}.0-0`;\n else if (tpr) to = `<=${tM}.${tm}.${tp}-${tpr}`;\n else if (incPr) to = `<${tM}.${tm}.${+tp + 1}-0`;\n else to = `<=${to}`;\n return `${from} ${to}`.trim();\n };\nconst $c15c478d879ca9ca$var$testSet = (set, version, options)=>{\n for(let i = 0; i < set.length; i++){\n if (!set[i].test(version)) return false;\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 $3Zcn3(set[i].semver);\n if (set[i].semver === $ge7Lx.ANY) continue;\n if (set[i].semver.prerelease.length > 0) {\n const allowed = set[i].semver;\n if (allowed.major === version.major && allowed.minor === version.minor && allowed.patch === version.patch) return true;\n }\n }\n // Version has a -pre, but it's not one of the ones we like.\n return false;\n }\n return true;\n};\n\n});\nparcelRequire.register(\"l6u7r\", function(module, exports) {\n\"use strict\";\n\nvar $hDmTp = parcelRequire(\"hDmTp\");\nconst $f5d185890bd7fcf1$var$MAX = Symbol(\"max\");\nconst $f5d185890bd7fcf1$var$LENGTH = Symbol(\"length\");\nconst $f5d185890bd7fcf1$var$LENGTH_CALCULATOR = Symbol(\"lengthCalculator\");\nconst $f5d185890bd7fcf1$var$ALLOW_STALE = Symbol(\"allowStale\");\nconst $f5d185890bd7fcf1$var$MAX_AGE = Symbol(\"maxAge\");\nconst $f5d185890bd7fcf1$var$DISPOSE = Symbol(\"dispose\");\nconst $f5d185890bd7fcf1$var$NO_DISPOSE_ON_SET = Symbol(\"noDisposeOnSet\");\nconst $f5d185890bd7fcf1$var$LRU_LIST = Symbol(\"lruList\");\nconst $f5d185890bd7fcf1$var$CACHE = Symbol(\"cache\");\nconst $f5d185890bd7fcf1$var$UPDATE_AGE_ON_GET = Symbol(\"updateAgeOnGet\");\nconst $f5d185890bd7fcf1$var$naiveLength = ()=>1;\n// lruList is a yallist where the head is the youngest\n// item, and the tail is the oldest. the list contains the Hit\n// objects as the entries.\n// Each Hit object has a reference to its Yallist.Node. This\n// never changes.\n//\n// cache is a Map (or PseudoMap) that matches the keys to\n// the Yallist.Node object.\nclass $f5d185890bd7fcf1$var$LRUCache {\n constructor(options){\n if (typeof options === \"number\") options = {\n max: options\n };\n if (!options) options = {};\n if (options.max && (typeof options.max !== \"number\" || options.max < 0)) throw new TypeError(\"max must be a non-negative number\");\n // Kind of weird to have a default max of Infinity, but oh well.\n const max = this[$f5d185890bd7fcf1$var$MAX] = options.max || Infinity;\n const lc = options.length || $f5d185890bd7fcf1$var$naiveLength;\n this[$f5d185890bd7fcf1$var$LENGTH_CALCULATOR] = typeof lc !== \"function\" ? $f5d185890bd7fcf1$var$naiveLength : lc;\n this[$f5d185890bd7fcf1$var$ALLOW_STALE] = options.stale || false;\n if (options.maxAge && typeof options.maxAge !== \"number\") throw new TypeError(\"maxAge must be a number\");\n this[$f5d185890bd7fcf1$var$MAX_AGE] = options.maxAge || 0;\n this[$f5d185890bd7fcf1$var$DISPOSE] = options.dispose;\n this[$f5d185890bd7fcf1$var$NO_DISPOSE_ON_SET] = options.noDisposeOnSet || false;\n this[$f5d185890bd7fcf1$var$UPDATE_AGE_ON_GET] = options.updateAgeOnGet || false;\n this.reset();\n }\n // resize the cache when the max changes.\n set max(mL) {\n if (typeof mL !== \"number\" || mL < 0) throw new TypeError(\"max must be a non-negative number\");\n this[$f5d185890bd7fcf1$var$MAX] = mL || Infinity;\n $f5d185890bd7fcf1$var$trim(this);\n }\n get max() {\n return this[$f5d185890bd7fcf1$var$MAX];\n }\n set allowStale(allowStale) {\n this[$f5d185890bd7fcf1$var$ALLOW_STALE] = !!allowStale;\n }\n get allowStale() {\n return this[$f5d185890bd7fcf1$var$ALLOW_STALE];\n }\n set maxAge(mA) {\n if (typeof mA !== \"number\") throw new TypeError(\"maxAge must be a non-negative number\");\n this[$f5d185890bd7fcf1$var$MAX_AGE] = mA;\n $f5d185890bd7fcf1$var$trim(this);\n }\n get maxAge() {\n return this[$f5d185890bd7fcf1$var$MAX_AGE];\n }\n // resize the cache when the lengthCalculator changes.\n set lengthCalculator(lC) {\n if (typeof lC !== \"function\") lC = $f5d185890bd7fcf1$var$naiveLength;\n if (lC !== this[$f5d185890bd7fcf1$var$LENGTH_CALCULATOR]) {\n this[$f5d185890bd7fcf1$var$LENGTH_CALCULATOR] = lC;\n this[$f5d185890bd7fcf1$var$LENGTH] = 0;\n this[$f5d185890bd7fcf1$var$LRU_LIST].forEach((hit)=>{\n hit.length = this[$f5d185890bd7fcf1$var$LENGTH_CALCULATOR](hit.value, hit.key);\n this[$f5d185890bd7fcf1$var$LENGTH] += hit.length;\n });\n }\n $f5d185890bd7fcf1$var$trim(this);\n }\n get lengthCalculator() {\n return this[$f5d185890bd7fcf1$var$LENGTH_CALCULATOR];\n }\n get length() {\n return this[$f5d185890bd7fcf1$var$LENGTH];\n }\n get itemCount() {\n return this[$f5d185890bd7fcf1$var$LRU_LIST].length;\n }\n rforEach(fn, thisp) {\n thisp = thisp || this;\n for(let walker = this[$f5d185890bd7fcf1$var$LRU_LIST].tail; walker !== null;){\n const prev = walker.prev;\n $f5d185890bd7fcf1$var$forEachStep(this, fn, walker, thisp);\n walker = prev;\n }\n }\n forEach(fn, thisp) {\n thisp = thisp || this;\n for(let walker = this[$f5d185890bd7fcf1$var$LRU_LIST].head; walker !== null;){\n const next = walker.next;\n $f5d185890bd7fcf1$var$forEachStep(this, fn, walker, thisp);\n walker = next;\n }\n }\n keys() {\n return this[$f5d185890bd7fcf1$var$LRU_LIST].toArray().map((k)=>k.key);\n }\n values() {\n return this[$f5d185890bd7fcf1$var$LRU_LIST].toArray().map((k)=>k.value);\n }\n reset() {\n if (this[$f5d185890bd7fcf1$var$DISPOSE] && this[$f5d185890bd7fcf1$var$LRU_LIST] && this[$f5d185890bd7fcf1$var$LRU_LIST].length) this[$f5d185890bd7fcf1$var$LRU_LIST].forEach((hit)=>this[$f5d185890bd7fcf1$var$DISPOSE](hit.key, hit.value));\n this[$f5d185890bd7fcf1$var$CACHE] = new Map() // hash of items by key\n ;\n this[$f5d185890bd7fcf1$var$LRU_LIST] = new $hDmTp() // list of items in order of use recency\n ;\n this[$f5d185890bd7fcf1$var$LENGTH] = 0 // length of items in the list\n ;\n }\n dump() {\n return this[$f5d185890bd7fcf1$var$LRU_LIST].map((hit)=>$f5d185890bd7fcf1$var$isStale(this, hit) ? false : {\n k: hit.key,\n v: hit.value,\n e: hit.now + (hit.maxAge || 0)\n }).toArray().filter((h)=>h);\n }\n dumpLru() {\n return this[$f5d185890bd7fcf1$var$LRU_LIST];\n }\n set(key, value, maxAge) {\n maxAge = maxAge || this[$f5d185890bd7fcf1$var$MAX_AGE];\n if (maxAge && typeof maxAge !== \"number\") throw new TypeError(\"maxAge must be a number\");\n const now = maxAge ? Date.now() : 0;\n const len = this[$f5d185890bd7fcf1$var$LENGTH_CALCULATOR](value, key);\n if (this[$f5d185890bd7fcf1$var$CACHE].has(key)) {\n if (len > this[$f5d185890bd7fcf1$var$MAX]) {\n $f5d185890bd7fcf1$var$del(this, this[$f5d185890bd7fcf1$var$CACHE].get(key));\n return false;\n }\n const node = this[$f5d185890bd7fcf1$var$CACHE].get(key);\n const item = node.value;\n // dispose of the old one before overwriting\n // split out into 2 ifs for better coverage tracking\n if (this[$f5d185890bd7fcf1$var$DISPOSE]) {\n if (!this[$f5d185890bd7fcf1$var$NO_DISPOSE_ON_SET]) this[$f5d185890bd7fcf1$var$DISPOSE](key, item.value);\n }\n item.now = now;\n item.maxAge = maxAge;\n item.value = value;\n this[$f5d185890bd7fcf1$var$LENGTH] += len - item.length;\n item.length = len;\n this.get(key);\n $f5d185890bd7fcf1$var$trim(this);\n return true;\n }\n const hit = new $f5d185890bd7fcf1$var$Entry(key, value, len, now, maxAge);\n // oversized objects fall out of cache automatically.\n if (hit.length > this[$f5d185890bd7fcf1$var$MAX]) {\n if (this[$f5d185890bd7fcf1$var$DISPOSE]) this[$f5d185890bd7fcf1$var$DISPOSE](key, value);\n return false;\n }\n this[$f5d185890bd7fcf1$var$LENGTH] += hit.length;\n this[$f5d185890bd7fcf1$var$LRU_LIST].unshift(hit);\n this[$f5d185890bd7fcf1$var$CACHE].set(key, this[$f5d185890bd7fcf1$var$LRU_LIST].head);\n $f5d185890bd7fcf1$var$trim(this);\n return true;\n }\n has(key) {\n if (!this[$f5d185890bd7fcf1$var$CACHE].has(key)) return false;\n const hit = this[$f5d185890bd7fcf1$var$CACHE].get(key).value;\n return !$f5d185890bd7fcf1$var$isStale(this, hit);\n }\n get(key) {\n return $f5d185890bd7fcf1$var$get(this, key, true);\n }\n peek(key) {\n return $f5d185890bd7fcf1$var$get(this, key, false);\n }\n pop() {\n const node = this[$f5d185890bd7fcf1$var$LRU_LIST].tail;\n if (!node) return null;\n $f5d185890bd7fcf1$var$del(this, node);\n return node.value;\n }\n del(key) {\n $f5d185890bd7fcf1$var$del(this, this[$f5d185890bd7fcf1$var$CACHE].get(key));\n }\n load(arr) {\n // reset the cache\n this.reset();\n const now = Date.now();\n // A previous serialized cache has the most recent items first\n for(let l = arr.length - 1; l >= 0; l--){\n const hit = arr[l];\n const expiresAt = hit.e || 0;\n if (expiresAt === 0) // the item was created without expiration in a non aged cache\n this.set(hit.k, hit.v);\n else {\n const maxAge = expiresAt - now;\n // dont add already expired items\n if (maxAge > 0) this.set(hit.k, hit.v, maxAge);\n }\n }\n }\n prune() {\n this[$f5d185890bd7fcf1$var$CACHE].forEach((value, key)=>$f5d185890bd7fcf1$var$get(this, key, false));\n }\n}\nconst $f5d185890bd7fcf1$var$get = (self, key, doUse)=>{\n const node = self[$f5d185890bd7fcf1$var$CACHE].get(key);\n if (node) {\n const hit = node.value;\n if ($f5d185890bd7fcf1$var$isStale(self, hit)) {\n $f5d185890bd7fcf1$var$del(self, node);\n if (!self[$f5d185890bd7fcf1$var$ALLOW_STALE]) return undefined;\n } else if (doUse) {\n if (self[$f5d185890bd7fcf1$var$UPDATE_AGE_ON_GET]) node.value.now = Date.now();\n self[$f5d185890bd7fcf1$var$LRU_LIST].unshiftNode(node);\n }\n return hit.value;\n }\n};\nconst $f5d185890bd7fcf1$var$isStale = (self, hit)=>{\n if (!hit || !hit.maxAge && !self[$f5d185890bd7fcf1$var$MAX_AGE]) return false;\n const diff = Date.now() - hit.now;\n return hit.maxAge ? diff > hit.maxAge : self[$f5d185890bd7fcf1$var$MAX_AGE] && diff > self[$f5d185890bd7fcf1$var$MAX_AGE];\n};\nconst $f5d185890bd7fcf1$var$trim = (self)=>{\n if (self[$f5d185890bd7fcf1$var$LENGTH] > self[$f5d185890bd7fcf1$var$MAX]) for(let walker = self[$f5d185890bd7fcf1$var$LRU_LIST].tail; self[$f5d185890bd7fcf1$var$LENGTH] > self[$f5d185890bd7fcf1$var$MAX] && walker !== null;){\n // We know that we're about to delete this one, and also\n // what the next least recently used key will be, so just\n // go ahead and set it now.\n const prev = walker.prev;\n $f5d185890bd7fcf1$var$del(self, walker);\n walker = prev;\n }\n};\nconst $f5d185890bd7fcf1$var$del = (self, node)=>{\n if (node) {\n const hit = node.value;\n if (self[$f5d185890bd7fcf1$var$DISPOSE]) self[$f5d185890bd7fcf1$var$DISPOSE](hit.key, hit.value);\n self[$f5d185890bd7fcf1$var$LENGTH] -= hit.length;\n self[$f5d185890bd7fcf1$var$CACHE].delete(hit.key);\n self[$f5d185890bd7fcf1$var$LRU_LIST].removeNode(node);\n }\n};\nclass $f5d185890bd7fcf1$var$Entry {\n constructor(key, value, length, now, maxAge){\n this.key = key;\n this.value = value;\n this.length = length;\n this.now = now;\n this.maxAge = maxAge || 0;\n }\n}\nconst $f5d185890bd7fcf1$var$forEachStep = (self, fn, node, thisp)=>{\n let hit = node.value;\n if ($f5d185890bd7fcf1$var$isStale(self, hit)) {\n $f5d185890bd7fcf1$var$del(self, node);\n if (!self[$f5d185890bd7fcf1$var$ALLOW_STALE]) hit = undefined;\n }\n if (hit) fn.call(thisp, hit.value, hit.key, self);\n};\nmodule.exports = $f5d185890bd7fcf1$var$LRUCache;\n\n});\nparcelRequire.register(\"hDmTp\", function(module, exports) {\n\"use strict\";\nmodule.exports = $cd67d63788a88f0d$var$Yallist;\n$cd67d63788a88f0d$var$Yallist.Node = $cd67d63788a88f0d$var$Node;\n$cd67d63788a88f0d$var$Yallist.create = $cd67d63788a88f0d$var$Yallist;\nfunction $cd67d63788a88f0d$var$Yallist(list) {\n var self = this;\n if (!(self instanceof $cd67d63788a88f0d$var$Yallist)) self = new $cd67d63788a88f0d$var$Yallist();\n self.tail = null;\n self.head = null;\n self.length = 0;\n if (list && typeof list.forEach === \"function\") list.forEach(function(item) {\n self.push(item);\n });\n else if (arguments.length > 0) for(var i = 0, l = arguments.length; i < l; i++)self.push(arguments[i]);\n return self;\n}\n$cd67d63788a88f0d$var$Yallist.prototype.removeNode = function(node) {\n if (node.list !== this) throw new Error(\"removing node which does not belong to this list\");\n var next = node.next;\n var prev = node.prev;\n if (next) next.prev = prev;\n if (prev) prev.next = next;\n if (node === this.head) this.head = next;\n if (node === this.tail) this.tail = prev;\n node.list.length--;\n node.next = null;\n node.prev = null;\n node.list = null;\n return next;\n};\n$cd67d63788a88f0d$var$Yallist.prototype.unshiftNode = function(node) {\n if (node === this.head) return;\n if (node.list) node.list.removeNode(node);\n var head = this.head;\n node.list = this;\n node.next = head;\n if (head) head.prev = node;\n this.head = node;\n if (!this.tail) this.tail = node;\n this.length++;\n};\n$cd67d63788a88f0d$var$Yallist.prototype.pushNode = function(node) {\n if (node === this.tail) return;\n if (node.list) node.list.removeNode(node);\n var tail = this.tail;\n node.list = this;\n node.prev = tail;\n if (tail) tail.next = node;\n this.tail = node;\n if (!this.head) this.head = node;\n this.length++;\n};\n$cd67d63788a88f0d$var$Yallist.prototype.push = function() {\n for(var i = 0, l = arguments.length; i < l; i++)$cd67d63788a88f0d$var$push(this, arguments[i]);\n return this.length;\n};\n$cd67d63788a88f0d$var$Yallist.prototype.unshift = function() {\n for(var i = 0, l = arguments.length; i < l; i++)$cd67d63788a88f0d$var$unshift(this, arguments[i]);\n return this.length;\n};\n$cd67d63788a88f0d$var$Yallist.prototype.pop = function() {\n if (!this.tail) return undefined;\n var res = this.tail.value;\n this.tail = this.tail.prev;\n if (this.tail) this.tail.next = null;\n else this.head = null;\n this.length--;\n return res;\n};\n$cd67d63788a88f0d$var$Yallist.prototype.shift = function() {\n if (!this.head) return undefined;\n var res = this.head.value;\n this.head = this.head.next;\n if (this.head) this.head.prev = null;\n else this.tail = null;\n this.length--;\n return res;\n};\n$cd67d63788a88f0d$var$Yallist.prototype.forEach = function(fn, thisp) {\n thisp = thisp || this;\n for(var walker = this.head, i = 0; walker !== null; i++){\n fn.call(thisp, walker.value, i, this);\n walker = walker.next;\n }\n};\n$cd67d63788a88f0d$var$Yallist.prototype.forEachReverse = function(fn, thisp) {\n thisp = thisp || this;\n for(var walker = this.tail, i = this.length - 1; walker !== null; i--){\n fn.call(thisp, walker.value, i, this);\n walker = walker.prev;\n }\n};\n$cd67d63788a88f0d$var$Yallist.prototype.get = function(n) {\n for(var i = 0, walker = this.head; walker !== null && i < n; i++)// abort out of the list early if we hit a cycle\n walker = walker.next;\n if (i === n && walker !== null) return walker.value;\n};\n$cd67d63788a88f0d$var$Yallist.prototype.getReverse = function(n) {\n for(var i = 0, walker = this.tail; walker !== null && i < n; i++)// abort out of the list early if we hit a cycle\n walker = walker.prev;\n if (i === n && walker !== null) return walker.value;\n};\n$cd67d63788a88f0d$var$Yallist.prototype.map = function(fn, thisp) {\n thisp = thisp || this;\n var res = new $cd67d63788a88f0d$var$Yallist();\n for(var walker = this.head; walker !== null;){\n res.push(fn.call(thisp, walker.value, this));\n walker = walker.next;\n }\n return res;\n};\n$cd67d63788a88f0d$var$Yallist.prototype.mapReverse = function(fn, thisp) {\n thisp = thisp || this;\n var res = new $cd67d63788a88f0d$var$Yallist();\n for(var walker = this.tail; walker !== null;){\n res.push(fn.call(thisp, walker.value, this));\n walker = walker.prev;\n }\n return res;\n};\n$cd67d63788a88f0d$var$Yallist.prototype.reduce = function(fn, initial) {\n var acc;\n var walker = this.head;\n if (arguments.length > 1) acc = initial;\n else if (this.head) {\n walker = this.head.next;\n acc = this.head.value;\n } else throw new TypeError(\"Reduce of empty list with no initial value\");\n for(var i = 0; walker !== null; i++){\n acc = fn(acc, walker.value, i);\n walker = walker.next;\n }\n return acc;\n};\n$cd67d63788a88f0d$var$Yallist.prototype.reduceReverse = function(fn, initial) {\n var acc;\n var walker = this.tail;\n if (arguments.length > 1) acc = initial;\n else if (this.tail) {\n walker = this.tail.prev;\n acc = this.tail.value;\n } else throw new TypeError(\"Reduce of empty list with no initial value\");\n for(var i = this.length - 1; walker !== null; i--){\n acc = fn(acc, walker.value, i);\n walker = walker.prev;\n }\n return acc;\n};\n$cd67d63788a88f0d$var$Yallist.prototype.toArray = function() {\n var arr = new Array(this.length);\n for(var i = 0, walker = this.head; walker !== null; i++){\n arr[i] = walker.value;\n walker = walker.next;\n }\n return arr;\n};\n$cd67d63788a88f0d$var$Yallist.prototype.toArrayReverse = function() {\n var arr = new Array(this.length);\n for(var i = 0, walker = this.tail; walker !== null; i++){\n arr[i] = walker.value;\n walker = walker.prev;\n }\n return arr;\n};\n$cd67d63788a88f0d$var$Yallist.prototype.slice = function(from, to) {\n to = to || this.length;\n if (to < 0) to += this.length;\n from = from || 0;\n if (from < 0) from += this.length;\n var ret = new $cd67d63788a88f0d$var$Yallist();\n if (to < from || to < 0) return ret;\n if (from < 0) from = 0;\n if (to > this.length) to = this.length;\n for(var i = 0, walker = this.head; walker !== null && i < from; i++)walker = walker.next;\n for(; walker !== null && i < to; i++, walker = walker.next)ret.push(walker.value);\n return ret;\n};\n$cd67d63788a88f0d$var$Yallist.prototype.sliceReverse = function(from, to) {\n to = to || this.length;\n if (to < 0) to += this.length;\n from = from || 0;\n if (from < 0) from += this.length;\n var ret = new $cd67d63788a88f0d$var$Yallist();\n if (to < from || to < 0) return ret;\n if (from < 0) from = 0;\n if (to > this.length) to = this.length;\n for(var i = this.length, walker = this.tail; walker !== null && i > to; i--)walker = walker.prev;\n for(; walker !== null && i > from; i--, walker = walker.prev)ret.push(walker.value);\n return ret;\n};\n$cd67d63788a88f0d$var$Yallist.prototype.splice = function(start, deleteCount, ...nodes) {\n if (start > this.length) start = this.length - 1;\n if (start < 0) start = this.length + start;\n for(var i = 0, walker = this.head; walker !== null && i < start; i++)walker = walker.next;\n var ret = [];\n for(var i = 0; walker && i < deleteCount; i++){\n ret.push(walker.value);\n walker = this.removeNode(walker);\n }\n if (walker === null) walker = this.tail;\n if (walker !== this.head && walker !== this.tail) walker = walker.prev;\n for(var i = 0; i < nodes.length; i++)walker = $cd67d63788a88f0d$var$insert(this, walker, nodes[i]);\n return ret;\n};\n$cd67d63788a88f0d$var$Yallist.prototype.reverse = function() {\n var head = this.head;\n var tail = this.tail;\n for(var walker = head; walker !== null; walker = walker.prev){\n var p = walker.prev;\n walker.prev = walker.next;\n walker.next = p;\n }\n this.head = tail;\n this.tail = head;\n return this;\n};\nfunction $cd67d63788a88f0d$var$insert(self, node, value) {\n var inserted = node === self.head ? new $cd67d63788a88f0d$var$Node(value, null, node, self) : new $cd67d63788a88f0d$var$Node(value, node, node.next, self);\n if (inserted.next === null) self.tail = inserted;\n if (inserted.prev === null) self.head = inserted;\n self.length++;\n return inserted;\n}\nfunction $cd67d63788a88f0d$var$push(self, item) {\n self.tail = new $cd67d63788a88f0d$var$Node(item, self.tail, null, self);\n if (!self.head) self.head = self.tail;\n self.length++;\n}\nfunction $cd67d63788a88f0d$var$unshift(self, item) {\n self.head = new $cd67d63788a88f0d$var$Node(item, null, self.head, self);\n if (!self.tail) self.tail = self.head;\n self.length++;\n}\nfunction $cd67d63788a88f0d$var$Node(value, prev, next, list) {\n if (!(this instanceof $cd67d63788a88f0d$var$Node)) return new $cd67d63788a88f0d$var$Node(value, prev, next, list);\n this.list = list;\n this.value = value;\n if (prev) {\n prev.next = this;\n this.prev = prev;\n } else this.prev = null;\n if (next) {\n next.prev = this;\n this.next = next;\n } else this.next = null;\n}\n\ntry {\n // add if support for Symbol.iterator is present\n (parcelRequire(\"hSPNO\"))($cd67d63788a88f0d$var$Yallist);\n} catch (er) {}\n\n});\nparcelRequire.register(\"hSPNO\", function(module, exports) {\n\"use strict\";\nmodule.exports = function(Yallist) {\n Yallist.prototype[Symbol.iterator] = function*() {\n for(let walker = this.head; walker; walker = walker.next)yield walker.value;\n };\n};\n\n});\n\n\n\n\n\nparcelRequire.register(\"gxgIF\", function(module, exports) {\n\nvar $gBfHp = parcelRequire(\"gBfHp\");\nconst $c09cb28c0925629b$var$satisfies = (version, range, options)=>{\n try {\n range = new $gBfHp(range, options);\n } catch (er) {\n return false;\n }\n return range.test(version);\n};\nmodule.exports = $c09cb28c0925629b$var$satisfies;\n\n});\n\nparcelRequire.register(\"eRxC5\", function(module, exports) {\n\nvar $gBfHp = parcelRequire(\"gBfHp\");\n// Mostly just for testing and legacy API reasons\nconst $ad2016d5e2d53fee$var$toComparators = (range, options)=>new $gBfHp(range, options).set.map((comp)=>comp.map((c)=>c.value).join(\" \").trim().split(\" \"));\nmodule.exports = $ad2016d5e2d53fee$var$toComparators;\n\n});\n\nparcelRequire.register(\"aWpPt\", function(module, exports) {\n\nvar $kxoMX = parcelRequire(\"kxoMX\");\n\nvar $gBfHp = parcelRequire(\"gBfHp\");\nconst $7f735b53955107f3$var$maxSatisfying = (versions, range, options)=>{\n let max = null;\n let maxSV = null;\n let rangeObj = null;\n try {\n rangeObj = new $gBfHp(range, options);\n } catch (er) {\n return null;\n }\n versions.forEach((v)=>{\n if (rangeObj.test(v)) // satisfies(v, range, options)\n {\n if (!max || maxSV.compare(v) === -1) {\n // compare(max, v, true)\n max = v;\n maxSV = new $kxoMX(max, options);\n }\n }\n });\n return max;\n};\nmodule.exports = $7f735b53955107f3$var$maxSatisfying;\n\n});\n\nparcelRequire.register(\"gGB3p\", function(module, exports) {\n\nvar $kxoMX = parcelRequire(\"kxoMX\");\n\nvar $gBfHp = parcelRequire(\"gBfHp\");\nconst $c25d4fbbe1c398f2$var$minSatisfying = (versions, range, options)=>{\n let min = null;\n let minSV = null;\n let rangeObj = null;\n try {\n rangeObj = new $gBfHp(range, options);\n } catch (er) {\n return null;\n }\n versions.forEach((v)=>{\n if (rangeObj.test(v)) // satisfies(v, range, options)\n {\n if (!min || minSV.compare(v) === 1) {\n // compare(min, v, true)\n min = v;\n minSV = new $kxoMX(min, options);\n }\n }\n });\n return min;\n};\nmodule.exports = $c25d4fbbe1c398f2$var$minSatisfying;\n\n});\n\nparcelRequire.register(\"hnV3l\", function(module, exports) {\n\nvar $kxoMX = parcelRequire(\"kxoMX\");\n\nvar $gBfHp = parcelRequire(\"gBfHp\");\n\nvar $9XGBY = parcelRequire(\"9XGBY\");\nconst $ca80d72c8af8328a$var$minVersion = (range, loose)=>{\n range = new $gBfHp(range, loose);\n let minver = new $kxoMX(\"0.0.0\");\n if (range.test(minver)) return minver;\n minver = new $kxoMX(\"0.0.0-0\");\n if (range.test(minver)) return minver;\n minver = null;\n for(let i = 0; i < range.set.length; ++i){\n const comparators = range.set[i];\n let setMin = null;\n comparators.forEach((comparator)=>{\n // Clone to avoid manipulating the comparator's semver object.\n const compver = new $kxoMX(comparator.semver.version);\n switch(comparator.operator){\n case \">\":\n if (compver.prerelease.length === 0) compver.patch++;\n else compver.prerelease.push(0);\n compver.raw = compver.format();\n /* fallthrough */ case \"\":\n case \">=\":\n if (!setMin || $9XGBY(compver, setMin)) setMin = compver;\n break;\n case \"<\":\n case \"<=\":\n break;\n /* istanbul ignore next */ default:\n throw new Error(`Unexpected operation: ${comparator.operator}`);\n }\n });\n if (setMin && (!minver || $9XGBY(minver, setMin))) minver = setMin;\n }\n if (minver && range.test(minver)) return minver;\n return null;\n};\nmodule.exports = $ca80d72c8af8328a$var$minVersion;\n\n});\n\nparcelRequire.register(\"3sVLb\", function(module, exports) {\n\nvar $gBfHp = parcelRequire(\"gBfHp\");\nconst $2860ca95dd930019$var$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 $gBfHp(range, options).range || \"*\";\n } catch (er) {\n return null;\n }\n};\nmodule.exports = $2860ca95dd930019$var$validRange;\n\n});\n\nparcelRequire.register(\"iqmnd\", function(module, exports) {\n\nvar $kxoMX = parcelRequire(\"kxoMX\");\n\nvar $ge7Lx = parcelRequire(\"ge7Lx\");\nconst { ANY: $d69c029addcfa296$var$ANY } = $ge7Lx;\n\nvar $gBfHp = parcelRequire(\"gBfHp\");\n\nvar $gxgIF = parcelRequire(\"gxgIF\");\n\nvar $9XGBY = parcelRequire(\"9XGBY\");\n\nvar $2zuiw = parcelRequire(\"2zuiw\");\n\nvar $1ndHP = parcelRequire(\"1ndHP\");\n\nvar $1um22 = parcelRequire(\"1um22\");\nconst $d69c029addcfa296$var$outside = (version, range, hilo, options)=>{\n version = new $kxoMX(version, options);\n range = new $gBfHp(range, options);\n let gtfn, ltefn, ltfn, comp, ecomp;\n switch(hilo){\n case \">\":\n gtfn = $9XGBY;\n ltefn = $1ndHP;\n ltfn = $2zuiw;\n comp = \">\";\n ecomp = \">=\";\n break;\n case \"<\":\n gtfn = $2zuiw;\n ltefn = $1um22;\n ltfn = $9XGBY;\n comp = \"<\";\n ecomp = \"<=\";\n break;\n default:\n throw new TypeError('Must provide a hilo val of \"<\" or \">\"');\n }\n // If it satisfies the range it is not outside\n if ($gxgIF(version, range, options)) return false;\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 for(let i = 0; i < range.set.length; ++i){\n const comparators = range.set[i];\n let high = null;\n let low = null;\n comparators.forEach((comparator)=>{\n if (comparator.semver === $d69c029addcfa296$var$ANY) comparator = new $ge7Lx(\">=0.0.0\");\n high = high || comparator;\n low = low || comparator;\n if (gtfn(comparator.semver, high.semver, options)) high = comparator;\n else if (ltfn(comparator.semver, low.semver, options)) low = comparator;\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) return false;\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) && ltefn(version, low.semver)) return false;\n else if (low.operator === ecomp && ltfn(version, low.semver)) return false;\n }\n return true;\n};\nmodule.exports = $d69c029addcfa296$var$outside;\n\n});\n\nparcelRequire.register(\"bl7vX\", function(module, exports) {\n// Determine if version is greater than all the versions possible in the range.\n\nvar $iqmnd = parcelRequire(\"iqmnd\");\nconst $84177c11c839c0d2$var$gtr = (version, range, options)=>$iqmnd(version, range, \">\", options);\nmodule.exports = $84177c11c839c0d2$var$gtr;\n\n});\n\nparcelRequire.register(\"1K9I5\", function(module, exports) {\n\nvar $iqmnd = parcelRequire(\"iqmnd\");\n// Determine if version is less than all the versions possible in the range\nconst $14519e8be2f1249c$var$ltr = (version, range, options)=>$iqmnd(version, range, \"<\", options);\nmodule.exports = $14519e8be2f1249c$var$ltr;\n\n});\n\nparcelRequire.register(\"2qx0f\", function(module, exports) {\n\nvar $gBfHp = parcelRequire(\"gBfHp\");\nconst $1c479c2f4b66f1c9$var$intersects = (r1, r2, options)=>{\n r1 = new $gBfHp(r1, options);\n r2 = new $gBfHp(r2, options);\n return r1.intersects(r2, options);\n};\nmodule.exports = $1c479c2f4b66f1c9$var$intersects;\n\n});\n\nparcelRequire.register(\"k8BEA\", function(module, exports) {\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.\n\nvar $gxgIF = parcelRequire(\"gxgIF\");\n\nvar $3Z6CK = parcelRequire(\"3Z6CK\");\nmodule.exports = (versions, range, options)=>{\n const set = [];\n let first = null;\n let prev = null;\n const v = versions.sort((a, b)=>$3Z6CK(a, b, options));\n for (const version of v){\n const included = $gxgIF(version, range, options);\n if (included) {\n prev = version;\n if (!first) first = version;\n } else {\n if (prev) set.push([\n first,\n prev\n ]);\n prev = null;\n first = null;\n }\n }\n if (first) set.push([\n first,\n null\n ]);\n const ranges = [];\n for (const [min, max] of set){\n if (min === max) ranges.push(min);\n else if (!max && min === v[0]) ranges.push(\"*\");\n else if (!max) ranges.push(`>=${min}`);\n else if (min === v[0]) ranges.push(`<=${max}`);\n else ranges.push(`${min} - ${max}`);\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\n});\n\nparcelRequire.register(\"4B26j\", function(module, exports) {\n\nvar $gBfHp = parcelRequire(\"gBfHp\");\n\nvar $ge7Lx = parcelRequire(\"ge7Lx\");\nconst { ANY: $358c3f5255949169$var$ANY } = $ge7Lx;\n\nvar $gxgIF = parcelRequire(\"gxgIF\");\n\nvar $3Z6CK = parcelRequire(\"3Z6CK\");\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\nconst $358c3f5255949169$var$subset = (sub, dom, options = {})=>{\n if (sub === dom) return true;\n sub = new $gBfHp(sub, options);\n dom = new $gBfHp(dom, options);\n let sawNonNull = false;\n OUTER: for (const simpleSub of sub.set){\n for (const simpleDom of dom.set){\n const isSub = $358c3f5255949169$var$simpleSubset(simpleSub, simpleDom, options);\n sawNonNull = sawNonNull || isSub !== null;\n if (isSub) continue OUTER;\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) return false;\n }\n return true;\n};\nconst $358c3f5255949169$var$minimumVersionWithPreRelease = [\n new $ge7Lx(\">=0.0.0-0\")\n];\nconst $358c3f5255949169$var$minimumVersion = [\n new $ge7Lx(\">=0.0.0\")\n];\nconst $358c3f5255949169$var$simpleSubset = (sub, dom, options)=>{\n if (sub === dom) return true;\n if (sub.length === 1 && sub[0].semver === $358c3f5255949169$var$ANY) {\n if (dom.length === 1 && dom[0].semver === $358c3f5255949169$var$ANY) return true;\n else if (options.includePrerelease) sub = $358c3f5255949169$var$minimumVersionWithPreRelease;\n else sub = $358c3f5255949169$var$minimumVersion;\n }\n if (dom.length === 1 && dom[0].semver === $358c3f5255949169$var$ANY) {\n if (options.includePrerelease) return true;\n else dom = $358c3f5255949169$var$minimumVersion;\n }\n const eqSet = new Set();\n let gt, lt;\n for (const c of sub){\n if (c.operator === \">\" || c.operator === \">=\") gt = $358c3f5255949169$var$higherGT(gt, c, options);\n else if (c.operator === \"<\" || c.operator === \"<=\") lt = $358c3f5255949169$var$lowerLT(lt, c, options);\n else eqSet.add(c.semver);\n }\n if (eqSet.size > 1) return null;\n let gtltComp;\n if (gt && lt) {\n gtltComp = $3Z6CK(gt.semver, lt.semver, options);\n if (gtltComp > 0) return null;\n else if (gtltComp === 0 && (gt.operator !== \">=\" || lt.operator !== \"<=\")) return null;\n }\n // will iterate one or zero times\n for (const eq of eqSet){\n if (gt && !$gxgIF(eq, String(gt), options)) return null;\n if (lt && !$gxgIF(eq, String(lt), options)) return null;\n for (const c of dom){\n if (!$gxgIF(eq, String(c), options)) return false;\n }\n return true;\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 && !options.includePrerelease && lt.semver.prerelease.length ? lt.semver : false;\n let needDomGTPre = gt && !options.includePrerelease && 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 && lt.operator === \"<\" && needDomLTPre.prerelease[0] === 0) needDomLTPre = false;\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 && c.semver.major === needDomGTPre.major && c.semver.minor === needDomGTPre.minor && c.semver.patch === needDomGTPre.patch) needDomGTPre = false;\n }\n if (c.operator === \">\" || c.operator === \">=\") {\n higher = $358c3f5255949169$var$higherGT(gt, c, options);\n if (higher === c && higher !== gt) return false;\n } else if (gt.operator === \">=\" && !$gxgIF(gt.semver, String(c), options)) return false;\n }\n if (lt) {\n if (needDomLTPre) {\n if (c.semver.prerelease && c.semver.prerelease.length && c.semver.major === needDomLTPre.major && c.semver.minor === needDomLTPre.minor && c.semver.patch === needDomLTPre.patch) needDomLTPre = false;\n }\n if (c.operator === \"<\" || c.operator === \"<=\") {\n lower = $358c3f5255949169$var$lowerLT(lt, c, options);\n if (lower === c && lower !== lt) return false;\n } else if (lt.operator === \"<=\" && !$gxgIF(lt.semver, String(c), options)) return false;\n }\n if (!c.operator && (lt || gt) && gtltComp !== 0) return false;\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) return false;\n if (lt && hasDomGT && !gt && gtltComp !== 0) return false;\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) return false;\n return true;\n};\n// >=1.2.3 is lower than >1.2.3\nconst $358c3f5255949169$var$higherGT = (a, b, options)=>{\n if (!a) return b;\n const comp = $3Z6CK(a.semver, b.semver, options);\n return comp > 0 ? a : comp < 0 ? b : b.operator === \">\" && a.operator === \">=\" ? b : a;\n};\n// <=1.2.3 is higher than <1.2.3\nconst $358c3f5255949169$var$lowerLT = (a, b, options)=>{\n if (!a) return b;\n const comp = $3Z6CK(a.semver, b.semver, options);\n return comp < 0 ? a : comp > 0 ? b : b.operator === \"<\" && a.operator === \"<=\" ? b : a;\n};\nmodule.exports = $358c3f5255949169$var$subset;\n\n});\n\n\nparcelRequire.register(\"awj79\", function(module, exports) {\n\"use strict\";\nvar $7a8bb83d1ba056f9$var$matchOperatorsRe = /[|\\\\{}()[\\]^$+*?.]/g;\nmodule.exports = function(str) {\n if (typeof str !== \"string\") throw new TypeError(\"Expected a string\");\n return str.replace($7a8bb83d1ba056f9$var$matchOperatorsRe, \"\\\\$&\");\n};\n\n});\n\nparcelRequire.register(\"dOmbL\", function(module, exports) {\n\n$parcel$export(module.exports, \"pathExists\", () => $a0e12815be477d21$export$f8b9fb4db095815b);\n\nasync function $a0e12815be477d21$export$f8b9fb4db095815b(path) {\n try {\n await (0, $d7DIX$nodefs.promises).access(path);\n return true;\n } catch {\n return false;\n }\n}\nfunction $a0e12815be477d21$export$d878061e34fd0f5a(path) {\n try {\n (0, ($parcel$interopDefault($d7DIX$nodefs))).accessSync(path);\n return true;\n } catch {\n return false;\n }\n}\n\n});\n\nparcelRequire.register(\"ceI0e\", function(module, exports) {\n\n$parcel$export(module.exports, \"addExeExt\", () => $c4a4e66c88c6a351$export$2d20c564cade3c93);\n$parcel$export(module.exports, \"addShExt\", () => $c4a4e66c88c6a351$export$609be29b80b555e1);\n$parcel$export(module.exports, \"addShRelativePrefix\", () => $c4a4e66c88c6a351$export$e1f23f8d3e53fe6);\n$parcel$export(module.exports, \"dirname\", () => $d7DIX$path.dirname);\n$parcel$export(module.exports, \"join\", () => $d7DIX$path.join);\n\n\nvar $9ag04 = parcelRequire(\"9ag04\");\n\nvar $923E2 = parcelRequire(\"923E2\");\nfunction $c4a4e66c88c6a351$var$e(e, a) {\n return Object.keys(a).forEach((r)=>{\n \"default\" === r || \"__esModule\" === r || e.hasOwnProperty(r) || Object.defineProperty(e, r, {\n enumerable: !0,\n get () {\n return a[r];\n }\n });\n }), e;\n}\nfunction $c4a4e66c88c6a351$var$a(e, a, r, s) {\n Object.defineProperty(e, a, {\n get: r,\n set: s,\n enumerable: !0,\n configurable: !0\n });\n}\nfunction $c4a4e66c88c6a351$export$a8ff84c12d48cfa6(e, a = !0) {\n return a ? (0, $d7DIX$path.basename)(e) : (0, $d7DIX$path.basename)(e, (0, $d7DIX$path.extname)(e));\n}\nfunction $c4a4e66c88c6a351$export$873fead74fe2f1ff(e) {\n return (0, $d7DIX$path.normalize)(e).replace(RegExp((0, $9ag04.default)((0, $d7DIX$path.sep)) + \"$\"), \"\");\n}\nfunction $c4a4e66c88c6a351$export$2d20c564cade3c93(e, a = \".exe\", r = \"\") {\n return \"win32\" === process.platform ? `${e}${a}` : `${e}${r}`;\n}\nfunction $c4a4e66c88c6a351$export$3e333f8cb13439c(e, a) {\n const r = (0, $d7DIX$path.extname)(e), s = `${a}${(0, $d7DIX$path.basename)(e, r)}${r}`;\n return (0, $d7DIX$path.join)((0, $d7DIX$path.dirname)(e), s);\n}\nfunction $c4a4e66c88c6a351$export$3b60a3e9bd1aef9d(e, a) {\n const r = (0, $d7DIX$path.extname)(e), s = `${(0, $d7DIX$path.basename)(e, r)}${a}${r}`;\n return (0, $d7DIX$path.join)((0, $d7DIX$path.dirname)(e), s);\n}\nfunction $c4a4e66c88c6a351$export$609be29b80b555e1(e, a = \".cmd\", r = \".sh\") {\n return \"win32\" === process.platform ? `${e}${a}` : `${e}${r}`;\n}\nfunction $c4a4e66c88c6a351$export$e1f23f8d3e53fe6(e) {\n return \"win32\" === process.platform ? e : \"./\" + e;\n}\nfunction $c4a4e66c88c6a351$export$19c5468f88f6e968(e) {\n const a = (0, $d7DIX$path.extname)(e).length;\n return e.slice(0, -a);\n}\nfunction $c4a4e66c88c6a351$export$e9c34737ac8e53d2(e, a) {\n return (0, (/*@__PURE__*/$parcel$interopDefault($923E2)))(e, a);\n}\nfunction $c4a4e66c88c6a351$export$7d0573375890d05c(e, a) {\n const r = (0, $d7DIX$path.relative)(a, e);\n return !(!r || \"..\" === r || r.startsWith(\"..\" + (0, $d7DIX$path.sep)) || r === (0, $d7DIX$path.resolve)(e));\n}\nvar $c4a4e66c88c6a351$var$O = {}, $c4a4e66c88c6a351$var$R = {};\n$c4a4e66c88c6a351$var$a($c4a4e66c88c6a351$var$R, \"name\", ()=>$c4a4e66c88c6a351$export$a8ff84c12d48cfa6);\nvar $c4a4e66c88c6a351$var$A = {};\n$c4a4e66c88c6a351$var$a($c4a4e66c88c6a351$var$A, \"normalizeTrim\", ()=>$c4a4e66c88c6a351$export$873fead74fe2f1ff);\nvar $c4a4e66c88c6a351$var$I = {};\n$c4a4e66c88c6a351$var$a($c4a4e66c88c6a351$var$I, \"addExeExt\", ()=>$c4a4e66c88c6a351$export$2d20c564cade3c93);\nvar $c4a4e66c88c6a351$var$T = {};\n$c4a4e66c88c6a351$var$a($c4a4e66c88c6a351$var$T, \"addNamePrefix\", ()=>$c4a4e66c88c6a351$export$3e333f8cb13439c);\nvar $c4a4e66c88c6a351$var$_ = {};\n$c4a4e66c88c6a351$var$a($c4a4e66c88c6a351$var$_, \"addNameSuffix\", ()=>$c4a4e66c88c6a351$export$3b60a3e9bd1aef9d);\nvar $c4a4e66c88c6a351$var$k = {};\n$c4a4e66c88c6a351$var$a($c4a4e66c88c6a351$var$k, \"addShExt\", ()=>$c4a4e66c88c6a351$export$609be29b80b555e1);\nvar $c4a4e66c88c6a351$var$M = {};\n$c4a4e66c88c6a351$var$a($c4a4e66c88c6a351$var$M, \"addShRelativePrefix\", ()=>$c4a4e66c88c6a351$export$e1f23f8d3e53fe6);\nvar $c4a4e66c88c6a351$var$W = {};\n$c4a4e66c88c6a351$var$a($c4a4e66c88c6a351$var$W, \"removeExt\", ()=>$c4a4e66c88c6a351$export$19c5468f88f6e968);\nvar $c4a4e66c88c6a351$var$q = {};\n$c4a4e66c88c6a351$var$a($c4a4e66c88c6a351$var$q, \"replaceExt\", ()=>$c4a4e66c88c6a351$export$e9c34737ac8e53d2);\nvar $c4a4e66c88c6a351$var$B = {};\n$c4a4e66c88c6a351$var$a($c4a4e66c88c6a351$var$B, \"isPathInside\", ()=>$c4a4e66c88c6a351$export$7d0573375890d05c), $c4a4e66c88c6a351$var$e($c4a4e66c88c6a351$var$O, $c4a4e66c88c6a351$var$R), $c4a4e66c88c6a351$var$e($c4a4e66c88c6a351$var$O, $c4a4e66c88c6a351$var$A), $c4a4e66c88c6a351$var$e($c4a4e66c88c6a351$var$O, $c4a4e66c88c6a351$var$I), $c4a4e66c88c6a351$var$e($c4a4e66c88c6a351$var$O, $c4a4e66c88c6a351$var$T), $c4a4e66c88c6a351$var$e($c4a4e66c88c6a351$var$O, $c4a4e66c88c6a351$var$_), $c4a4e66c88c6a351$var$e($c4a4e66c88c6a351$var$O, $c4a4e66c88c6a351$var$k), $c4a4e66c88c6a351$var$e($c4a4e66c88c6a351$var$O, $c4a4e66c88c6a351$var$M), $c4a4e66c88c6a351$var$e($c4a4e66c88c6a351$var$O, $c4a4e66c88c6a351$var$W), $c4a4e66c88c6a351$var$e($c4a4e66c88c6a351$var$O, $c4a4e66c88c6a351$var$q), $c4a4e66c88c6a351$var$e($c4a4e66c88c6a351$var$O, $c4a4e66c88c6a351$var$B);\n\n});\nparcelRequire.register(\"9ag04\", function(module, exports) {\n\n$parcel$export(module.exports, \"default\", () => $6ac1758338af6957$export$2e2bcd8739ae039);\nfunction $6ac1758338af6957$export$2e2bcd8739ae039(string) {\n if (typeof string !== \"string\") throw new TypeError(\"Expected a string\");\n // Escape characters with special meaning either inside or outside character sets.\n // 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 return string.replace(/[|\\\\{}()[\\]^$+*?.]/g, \"\\\\$&\").replace(/-/g, \"\\\\x2d\");\n}\n\n});\n\nparcelRequire.register(\"923E2\", function(module, exports) {\n\"use strict\";\n\nfunction $693720bda980a8cc$var$replaceExt(npath, ext) {\n if (typeof npath !== \"string\") return npath;\n if (npath.length === 0) return npath;\n var nFileName = $d7DIX$path.basename(npath, $d7DIX$path.extname(npath)) + ext;\n var nFilepath = $d7DIX$path.join($d7DIX$path.dirname(npath), nFileName);\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 ($693720bda980a8cc$var$startsWithSingleDot(npath)) return \".\" + $d7DIX$path.sep + nFilepath;\n return nFilepath;\n}\nfunction $693720bda980a8cc$var$startsWithSingleDot(fpath) {\n var first2chars = fpath.slice(0, 2);\n return first2chars === \".\" + $d7DIX$path.sep || first2chars === \"./\";\n}\nmodule.exports = $693720bda980a8cc$var$replaceExt;\n\n});\n\n\nparcelRequire.register(\"fcBgE\", function(module, exports) {\n\"use strict\";\nvar $b114e28ec2b1dab2$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $b114e28ec2b1dab2$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $b114e28ec2b1dab2$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $b114e28ec2b1dab2$var$__createBinding(result, mod, k);\n }\n $b114e28ec2b1dab2$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $b114e28ec2b1dab2$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.findInPath = module.exports.which = module.exports.mkdirP = module.exports.rmRF = module.exports.mv = module.exports.cp = void 0;\n\n\nconst $b114e28ec2b1dab2$var$path = $b114e28ec2b1dab2$var$__importStar($d7DIX$path);\n\nconst $b114e28ec2b1dab2$var$ioUtil = $b114e28ec2b1dab2$var$__importStar((parcelRequire(\"ejt9m\")));\n/**\n * Copies a file or folder.\n * Based off of shelljs - https://github.com/shelljs/shelljs/blob/9237f66c52e5daa40458f94f9565e18e8132f5a6/src/cp.js\n *\n * @param source source path\n * @param dest destination path\n * @param options optional. See CopyOptions.\n */ function $b114e28ec2b1dab2$var$cp(source, dest, options = {}) {\n return $b114e28ec2b1dab2$var$__awaiter(this, void 0, void 0, function*() {\n const { force: force, recursive: recursive, copySourceDirectory: copySourceDirectory } = $b114e28ec2b1dab2$var$readCopyOptions(options);\n const destStat = (yield $b114e28ec2b1dab2$var$ioUtil.exists(dest)) ? yield $b114e28ec2b1dab2$var$ioUtil.stat(dest) : null;\n // Dest is an existing file, but not forcing\n if (destStat && destStat.isFile() && !force) return;\n // If dest is an existing directory, should copy inside.\n const newDest = destStat && destStat.isDirectory() && copySourceDirectory ? $b114e28ec2b1dab2$var$path.join(dest, $b114e28ec2b1dab2$var$path.basename(source)) : dest;\n if (!(yield $b114e28ec2b1dab2$var$ioUtil.exists(source))) throw new Error(`no such file or directory: ${source}`);\n const sourceStat = yield $b114e28ec2b1dab2$var$ioUtil.stat(source);\n if (sourceStat.isDirectory()) {\n if (!recursive) throw new Error(`Failed to copy. ${source} is a directory, but tried to copy without recursive flag.`);\n else yield $b114e28ec2b1dab2$var$cpDirRecursive(source, newDest, 0, force);\n } else {\n if ($b114e28ec2b1dab2$var$path.relative(source, newDest) === \"\") // a file cannot be copied to itself\n throw new Error(`'${newDest}' and '${source}' are the same file`);\n yield $b114e28ec2b1dab2$var$copyFile(source, newDest, force);\n }\n });\n}\nmodule.exports.cp = $b114e28ec2b1dab2$var$cp;\n/**\n * Moves a path.\n *\n * @param source source path\n * @param dest destination path\n * @param options optional. See MoveOptions.\n */ function $b114e28ec2b1dab2$var$mv(source, dest, options = {}) {\n return $b114e28ec2b1dab2$var$__awaiter(this, void 0, void 0, function*() {\n if (yield $b114e28ec2b1dab2$var$ioUtil.exists(dest)) {\n let destExists = true;\n if (yield $b114e28ec2b1dab2$var$ioUtil.isDirectory(dest)) {\n // If dest is directory copy src into dest\n dest = $b114e28ec2b1dab2$var$path.join(dest, $b114e28ec2b1dab2$var$path.basename(source));\n destExists = yield $b114e28ec2b1dab2$var$ioUtil.exists(dest);\n }\n if (destExists) {\n if (options.force == null || options.force) yield $b114e28ec2b1dab2$var$rmRF(dest);\n else throw new Error(\"Destination already exists\");\n }\n }\n yield $b114e28ec2b1dab2$var$mkdirP($b114e28ec2b1dab2$var$path.dirname(dest));\n yield $b114e28ec2b1dab2$var$ioUtil.rename(source, dest);\n });\n}\nmodule.exports.mv = $b114e28ec2b1dab2$var$mv;\n/**\n * Remove a path recursively with force\n *\n * @param inputPath path to remove\n */ function $b114e28ec2b1dab2$var$rmRF(inputPath) {\n return $b114e28ec2b1dab2$var$__awaiter(this, void 0, void 0, function*() {\n if ($b114e28ec2b1dab2$var$ioUtil.IS_WINDOWS) {\n // Check for invalid characters\n // https://docs.microsoft.com/en-us/windows/win32/fileio/naming-a-file\n if (/[*\"<>|]/.test(inputPath)) throw new Error('File path must not contain `*`, `\"`, `<`, `>` or `|` on Windows');\n }\n try {\n // note if path does not exist, error is silent\n yield $b114e28ec2b1dab2$var$ioUtil.rm(inputPath, {\n force: true,\n maxRetries: 3,\n recursive: true,\n retryDelay: 300\n });\n } catch (err) {\n throw new Error(`File was unable to be removed ${err}`);\n }\n });\n}\nmodule.exports.rmRF = $b114e28ec2b1dab2$var$rmRF;\n/**\n * Make a directory. Creates the full path with folders in between\n * Will throw if it fails\n *\n * @param fsPath path to create\n * @returns Promise\n */ function $b114e28ec2b1dab2$var$mkdirP(fsPath) {\n return $b114e28ec2b1dab2$var$__awaiter(this, void 0, void 0, function*() {\n $d7DIX$assert.ok(fsPath, \"a path argument must be provided\");\n yield $b114e28ec2b1dab2$var$ioUtil.mkdir(fsPath, {\n recursive: true\n });\n });\n}\nmodule.exports.mkdirP = $b114e28ec2b1dab2$var$mkdirP;\n/**\n * Returns path of a tool had the tool actually been invoked. Resolves via paths.\n * If you check and the tool does not exist, it will throw.\n *\n * @param tool name of the tool\n * @param check whether to check if tool exists\n * @returns Promise path to tool\n */ function $b114e28ec2b1dab2$var$which(tool, check) {\n return $b114e28ec2b1dab2$var$__awaiter(this, void 0, void 0, function*() {\n if (!tool) throw new Error(\"parameter 'tool' is required\");\n // recursive when check=true\n if (check) {\n const result = yield $b114e28ec2b1dab2$var$which(tool, false);\n if (!result) {\n if ($b114e28ec2b1dab2$var$ioUtil.IS_WINDOWS) throw new Error(`Unable to locate executable file: ${tool}. 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.`);\n else throw new Error(`Unable to locate executable file: ${tool}. 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.`);\n }\n return result;\n }\n const matches = yield $b114e28ec2b1dab2$var$findInPath(tool);\n if (matches && matches.length > 0) return matches[0];\n return \"\";\n });\n}\nmodule.exports.which = $b114e28ec2b1dab2$var$which;\n/**\n * Returns a list of all occurrences of the given tool on the system path.\n *\n * @returns Promise the paths of the tool\n */ function $b114e28ec2b1dab2$var$findInPath(tool) {\n return $b114e28ec2b1dab2$var$__awaiter(this, void 0, void 0, function*() {\n if (!tool) throw new Error(\"parameter 'tool' is required\");\n // build the list of extensions to try\n const extensions = [];\n if ($b114e28ec2b1dab2$var$ioUtil.IS_WINDOWS && process.env[\"PATHEXT\"]) {\n for (const extension of process.env[\"PATHEXT\"].split($b114e28ec2b1dab2$var$path.delimiter))if (extension) extensions.push(extension);\n }\n // if it's rooted, return it if exists. otherwise return empty.\n if ($b114e28ec2b1dab2$var$ioUtil.isRooted(tool)) {\n const filePath = yield $b114e28ec2b1dab2$var$ioUtil.tryGetExecutablePath(tool, extensions);\n if (filePath) return [\n filePath\n ];\n return [];\n }\n // if any path separators, return empty\n if (tool.includes($b114e28ec2b1dab2$var$path.sep)) return [];\n // build the list of directories\n //\n // Note, technically \"where\" checks the current directory on Windows. From a toolkit perspective,\n // it feels like we should not do this. Checking the current directory seems like more of a use\n // case of a shell, and the which() function exposed by the toolkit should strive for consistency\n // across platforms.\n const directories = [];\n if (process.env.PATH) {\n for (const p of process.env.PATH.split($b114e28ec2b1dab2$var$path.delimiter))if (p) directories.push(p);\n }\n // find all matches\n const matches = [];\n for (const directory of directories){\n const filePath = yield $b114e28ec2b1dab2$var$ioUtil.tryGetExecutablePath($b114e28ec2b1dab2$var$path.join(directory, tool), extensions);\n if (filePath) matches.push(filePath);\n }\n return matches;\n });\n}\nmodule.exports.findInPath = $b114e28ec2b1dab2$var$findInPath;\nfunction $b114e28ec2b1dab2$var$readCopyOptions(options) {\n const force = options.force == null ? true : options.force;\n const recursive = Boolean(options.recursive);\n const copySourceDirectory = options.copySourceDirectory == null ? true : Boolean(options.copySourceDirectory);\n return {\n force: force,\n recursive: recursive,\n copySourceDirectory: copySourceDirectory\n };\n}\nfunction $b114e28ec2b1dab2$var$cpDirRecursive(sourceDir, destDir, currentDepth, force) {\n return $b114e28ec2b1dab2$var$__awaiter(this, void 0, void 0, function*() {\n // Ensure there is not a run away recursive copy\n if (currentDepth >= 255) return;\n currentDepth++;\n yield $b114e28ec2b1dab2$var$mkdirP(destDir);\n const files = yield $b114e28ec2b1dab2$var$ioUtil.readdir(sourceDir);\n for (const fileName of files){\n const srcFile = `${sourceDir}/${fileName}`;\n const destFile = `${destDir}/${fileName}`;\n const srcFileStat = yield $b114e28ec2b1dab2$var$ioUtil.lstat(srcFile);\n if (srcFileStat.isDirectory()) // Recurse\n yield $b114e28ec2b1dab2$var$cpDirRecursive(srcFile, destFile, currentDepth, force);\n else yield $b114e28ec2b1dab2$var$copyFile(srcFile, destFile, force);\n }\n // Change the mode for the newly created directory\n yield $b114e28ec2b1dab2$var$ioUtil.chmod(destDir, (yield $b114e28ec2b1dab2$var$ioUtil.stat(sourceDir)).mode);\n });\n}\n// Buffered file copy\nfunction $b114e28ec2b1dab2$var$copyFile(srcFile, destFile, force) {\n return $b114e28ec2b1dab2$var$__awaiter(this, void 0, void 0, function*() {\n if ((yield $b114e28ec2b1dab2$var$ioUtil.lstat(srcFile)).isSymbolicLink()) {\n // unlink/re-link it\n try {\n yield $b114e28ec2b1dab2$var$ioUtil.lstat(destFile);\n yield $b114e28ec2b1dab2$var$ioUtil.unlink(destFile);\n } catch (e) {\n // Try to override file permission\n if (e.code === \"EPERM\") {\n yield $b114e28ec2b1dab2$var$ioUtil.chmod(destFile, \"0666\");\n yield $b114e28ec2b1dab2$var$ioUtil.unlink(destFile);\n }\n // other errors = it doesn't exist, no work to do\n }\n // Copy over symlink\n const symlinkFull = yield $b114e28ec2b1dab2$var$ioUtil.readlink(srcFile);\n yield $b114e28ec2b1dab2$var$ioUtil.symlink(symlinkFull, destFile, $b114e28ec2b1dab2$var$ioUtil.IS_WINDOWS ? \"junction\" : null);\n } else if (!(yield $b114e28ec2b1dab2$var$ioUtil.exists(destFile)) || force) yield $b114e28ec2b1dab2$var$ioUtil.copyFile(srcFile, destFile);\n });\n}\n\n});\nparcelRequire.register(\"ejt9m\", function(module, exports) {\n\"use strict\";\nvar $a6b97397ae88c6aa$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $a6b97397ae88c6aa$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $a6b97397ae88c6aa$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $a6b97397ae88c6aa$var$__createBinding(result, mod, k);\n }\n $a6b97397ae88c6aa$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $a6b97397ae88c6aa$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar $a6b97397ae88c6aa$var$_a;\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.getCmdPath = module.exports.tryGetExecutablePath = module.exports.isRooted = module.exports.isDirectory = module.exports.exists = module.exports.READONLY = module.exports.UV_FS_O_EXLOCK = module.exports.IS_WINDOWS = module.exports.unlink = module.exports.symlink = module.exports.stat = module.exports.rmdir = module.exports.rm = module.exports.rename = module.exports.readlink = module.exports.readdir = module.exports.open = module.exports.mkdir = module.exports.lstat = module.exports.copyFile = module.exports.chmod = void 0;\n\nconst $a6b97397ae88c6aa$var$fs = $a6b97397ae88c6aa$var$__importStar($d7DIX$fs);\n\nconst $a6b97397ae88c6aa$var$path = $a6b97397ae88c6aa$var$__importStar($d7DIX$path);\n$a6b97397ae88c6aa$var$_a = $a6b97397ae88c6aa$var$fs.promises, module.exports.chmod = $a6b97397ae88c6aa$var$_a.chmod, module.exports.copyFile = $a6b97397ae88c6aa$var$_a.copyFile, module.exports.lstat = $a6b97397ae88c6aa$var$_a.lstat, module.exports.mkdir = $a6b97397ae88c6aa$var$_a.mkdir, module.exports.open = $a6b97397ae88c6aa$var$_a.open, module.exports.readdir = $a6b97397ae88c6aa$var$_a.readdir, module.exports.readlink = $a6b97397ae88c6aa$var$_a.readlink, module.exports.rename = $a6b97397ae88c6aa$var$_a.rename, module.exports.rm = $a6b97397ae88c6aa$var$_a.rm, module.exports.rmdir = $a6b97397ae88c6aa$var$_a.rmdir, module.exports.stat = $a6b97397ae88c6aa$var$_a.stat, module.exports.symlink = $a6b97397ae88c6aa$var$_a.symlink, module.exports.unlink = $a6b97397ae88c6aa$var$_a.unlink;\n// export const {open} = 'fs'\nmodule.exports.IS_WINDOWS = process.platform === \"win32\";\n// See https://github.com/nodejs/node/blob/d0153aee367422d0858105abec186da4dff0a0c5/deps/uv/include/uv/win.h#L691\nmodule.exports.UV_FS_O_EXLOCK = 0x10000000;\nmodule.exports.READONLY = $a6b97397ae88c6aa$var$fs.constants.O_RDONLY;\nfunction $a6b97397ae88c6aa$var$exists(fsPath) {\n return $a6b97397ae88c6aa$var$__awaiter(this, void 0, void 0, function*() {\n try {\n yield module.exports.stat(fsPath);\n } catch (err) {\n if (err.code === \"ENOENT\") return false;\n throw err;\n }\n return true;\n });\n}\nmodule.exports.exists = $a6b97397ae88c6aa$var$exists;\nfunction $a6b97397ae88c6aa$var$isDirectory(fsPath, useStat = false) {\n return $a6b97397ae88c6aa$var$__awaiter(this, void 0, void 0, function*() {\n const stats = useStat ? yield module.exports.stat(fsPath) : yield module.exports.lstat(fsPath);\n return stats.isDirectory();\n });\n}\nmodule.exports.isDirectory = $a6b97397ae88c6aa$var$isDirectory;\n/**\n * On OSX/Linux, true if path starts with '/'. On Windows, true for paths like:\n * \\, \\hello, \\\\hello\\share, C:, and C:\\hello (and corresponding alternate separator cases).\n */ function $a6b97397ae88c6aa$var$isRooted(p) {\n p = $a6b97397ae88c6aa$var$normalizeSeparators(p);\n if (!p) throw new Error('isRooted() parameter \"p\" cannot be empty');\n if (module.exports.IS_WINDOWS) return p.startsWith(\"\\\\\") || /^[A-Z]:/i.test(p) // e.g. \\ or \\hello or \\\\hello\n ; // e.g. C: or C:\\hello\n return p.startsWith(\"/\");\n}\nmodule.exports.isRooted = $a6b97397ae88c6aa$var$isRooted;\n/**\n * Best effort attempt to determine whether a file exists and is executable.\n * @param filePath file path to check\n * @param extensions additional file extensions to try\n * @return if file exists and is executable, returns the file path. otherwise empty string.\n */ function $a6b97397ae88c6aa$var$tryGetExecutablePath(filePath, extensions) {\n return $a6b97397ae88c6aa$var$__awaiter(this, void 0, void 0, function*() {\n let stats = undefined;\n try {\n // test file exists\n stats = yield module.exports.stat(filePath);\n } catch (err) {\n if (err.code !== \"ENOENT\") // eslint-disable-next-line no-console\n console.log(`Unexpected error attempting to determine if executable file exists '${filePath}': ${err}`);\n }\n if (stats && stats.isFile()) {\n if (module.exports.IS_WINDOWS) {\n // on Windows, test for valid extension\n const upperExt = $a6b97397ae88c6aa$var$path.extname(filePath).toUpperCase();\n if (extensions.some((validExt)=>validExt.toUpperCase() === upperExt)) return filePath;\n } else {\n if ($a6b97397ae88c6aa$var$isUnixExecutable(stats)) return filePath;\n }\n }\n // try each extension\n const originalFilePath = filePath;\n for (const extension of extensions){\n filePath = originalFilePath + extension;\n stats = undefined;\n try {\n stats = yield module.exports.stat(filePath);\n } catch (err) {\n if (err.code !== \"ENOENT\") // eslint-disable-next-line no-console\n console.log(`Unexpected error attempting to determine if executable file exists '${filePath}': ${err}`);\n }\n if (stats && stats.isFile()) {\n if (module.exports.IS_WINDOWS) {\n // preserve the case of the actual file (since an extension was appended)\n try {\n const directory = $a6b97397ae88c6aa$var$path.dirname(filePath);\n const upperName = $a6b97397ae88c6aa$var$path.basename(filePath).toUpperCase();\n for (const actualName of yield module.exports.readdir(directory))if (upperName === actualName.toUpperCase()) {\n filePath = $a6b97397ae88c6aa$var$path.join(directory, actualName);\n break;\n }\n } catch (err) {\n // eslint-disable-next-line no-console\n console.log(`Unexpected error attempting to determine the actual case of the file '${filePath}': ${err}`);\n }\n return filePath;\n } else {\n if ($a6b97397ae88c6aa$var$isUnixExecutable(stats)) return filePath;\n }\n }\n }\n return \"\";\n });\n}\nmodule.exports.tryGetExecutablePath = $a6b97397ae88c6aa$var$tryGetExecutablePath;\nfunction $a6b97397ae88c6aa$var$normalizeSeparators(p) {\n p = p || \"\";\n if (module.exports.IS_WINDOWS) {\n // convert slashes on Windows\n p = p.replace(/\\//g, \"\\\\\");\n // remove redundant slashes\n return p.replace(/\\\\\\\\+/g, \"\\\\\");\n }\n // remove redundant slashes\n return p.replace(/\\/\\/+/g, \"/\");\n}\n// on Mac/Linux, test the execute bit\n// R W X R W X R W X\n// 256 128 64 32 16 8 4 2 1\nfunction $a6b97397ae88c6aa$var$isUnixExecutable(stats) {\n return (stats.mode & 1) > 0 || (stats.mode & 8) > 0 && stats.gid === process.getgid() || (stats.mode & 64) > 0 && stats.uid === process.getuid();\n}\n// Get the path of cmd.exe in windows\nfunction $a6b97397ae88c6aa$var$getCmdPath() {\n var _a;\n return (_a = process.env[\"COMSPEC\"]) !== null && _a !== void 0 ? _a : `cmd.exe`;\n}\nmodule.exports.getCmdPath = $a6b97397ae88c6aa$var$getCmdPath;\n\n});\n\n\nparcelRequire.register(\"ktIRP\", function(module, exports) {\n\"use strict\";\nvar $ee8951c0913480f3$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $ee8951c0913480f3$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $ee8951c0913480f3$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $ee8951c0913480f3$var$__createBinding(result, mod, k);\n }\n $ee8951c0913480f3$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $ee8951c0913480f3$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports._readLinuxVersionFile = module.exports._getOsVersion = module.exports._findMatch = void 0;\n\nconst $ee8951c0913480f3$var$semver = $ee8951c0913480f3$var$__importStar((parcelRequire(\"aNgTs\")));\n\nvar $lcRzN = parcelRequire(\"lcRzN\");\n\n\n\nfunction $ee8951c0913480f3$var$_findMatch(versionSpec, stable, candidates, archFilter) {\n return $ee8951c0913480f3$var$__awaiter(this, void 0, void 0, function*() {\n const platFilter = $d7DIX$os.platform();\n let result;\n let match;\n let file;\n for (const candidate of candidates){\n const version = candidate.version;\n $lcRzN.debug(`check ${version} satisfies ${versionSpec}`);\n if ($ee8951c0913480f3$var$semver.satisfies(version, versionSpec) && (!stable || candidate.stable === stable)) {\n file = candidate.files.find((item)=>{\n $lcRzN.debug(`${item.arch}===${archFilter} && ${item.platform}===${platFilter}`);\n let chk = item.arch === archFilter && item.platform === platFilter;\n if (chk && item.platform_version) {\n const osVersion = module.exports._getOsVersion();\n if (osVersion === item.platform_version) chk = true;\n else chk = $ee8951c0913480f3$var$semver.satisfies(osVersion, item.platform_version);\n }\n return chk;\n });\n if (file) {\n $lcRzN.debug(`matched ${candidate.version}`);\n match = candidate;\n break;\n }\n }\n }\n if (match && file) {\n // clone since we're mutating the file list to be only the file that matches\n result = Object.assign({}, match);\n result.files = [\n file\n ];\n }\n return result;\n });\n}\nmodule.exports._findMatch = $ee8951c0913480f3$var$_findMatch;\nfunction $ee8951c0913480f3$var$_getOsVersion() {\n // TODO: add windows and other linux, arm variants\n // right now filtering on version is only an ubuntu and macos scenario for tools we build for hosted (python)\n const plat = $d7DIX$os.platform();\n let version = \"\";\n if (plat === \"darwin\") version = $d7DIX$child_process.execSync(\"sw_vers -productVersion\").toString();\n else if (plat === \"linux\") {\n // lsb_release process not in some containers, readfile\n // Run cat /etc/lsb-release\n // DISTRIB_ID=Ubuntu\n // DISTRIB_RELEASE=18.04\n // DISTRIB_CODENAME=bionic\n // DISTRIB_DESCRIPTION=\"Ubuntu 18.04.4 LTS\"\n const lsbContents = module.exports._readLinuxVersionFile();\n if (lsbContents) {\n const lines = lsbContents.split(\"\\n\");\n for (const line of lines){\n const parts = line.split(\"=\");\n if (parts.length === 2 && (parts[0].trim() === \"VERSION_ID\" || parts[0].trim() === \"DISTRIB_RELEASE\")) {\n version = parts[1].trim().replace(/^\"/, \"\").replace(/\"$/, \"\");\n break;\n }\n }\n }\n }\n return version;\n}\nmodule.exports._getOsVersion = $ee8951c0913480f3$var$_getOsVersion;\nfunction $ee8951c0913480f3$var$_readLinuxVersionFile() {\n const lsbReleaseFile = \"/etc/lsb-release\";\n const osReleaseFile = \"/etc/os-release\";\n let contents = \"\";\n if ($d7DIX$fs.existsSync(lsbReleaseFile)) contents = $d7DIX$fs.readFileSync(lsbReleaseFile).toString();\n else if ($d7DIX$fs.existsSync(osReleaseFile)) contents = $d7DIX$fs.readFileSync(osReleaseFile).toString();\n return contents;\n}\nmodule.exports._readLinuxVersionFile = $ee8951c0913480f3$var$_readLinuxVersionFile;\n\n});\nparcelRequire.register(\"aNgTs\", function(module, exports) {\nexports = module.exports = SemVer;\nvar debug;\n/* istanbul ignore next */ if (typeof process === \"object\" && process.env && process.env.NODE_DEBUG && /\\bsemver\\b/i.test(process.env.NODE_DEBUG)) debug = function() {\n var args = Array.prototype.slice.call(arguments, 0);\n args.unshift(\"SEMVER\");\n console.log.apply(console, args);\n};\nelse debug = function() {};\n// Note: this is the semver.org version of the spec that it implements\n// Not necessarily the package version of this code.\nexports.SEMVER_SPEC_VERSION = \"2.0.0\";\nvar MAX_LENGTH = 256;\nvar MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER || /* istanbul ignore next */ 9007199254740991;\n// Max safe segment length for coercion.\nvar MAX_SAFE_COMPONENT_LENGTH = 16;\nvar MAX_SAFE_BUILD_LENGTH = MAX_LENGTH - 6;\n// The actual regexps go on exports.re\nvar re = exports.re = [];\nvar safeRe = exports.safeRe = [];\nvar src = exports.src = [];\nvar t = exports.tokens = {};\nvar R = 0;\nfunction tok(n) {\n t[n] = R++;\n}\nvar LETTERDASHNUMBER = \"[a-zA-Z0-9-]\";\n// Replace some greedy regex tokens to prevent regex dos issues. These regex are\n// used internally via the safeRe object since all inputs in this library get\n// normalized first to trim and collapse all extra whitespace. The original\n// regexes are exported for userland consumption and lower level usage. A\n// future breaking change could export the safer regex only with a note that\n// all input should have extra whitespace removed.\nvar safeRegexReplacements = [\n [\n \"\\\\s\",\n 1\n ],\n [\n \"\\\\d\",\n MAX_LENGTH\n ],\n [\n LETTERDASHNUMBER,\n MAX_SAFE_BUILD_LENGTH\n ]\n];\nfunction makeSafeRe(value) {\n for(var i = 0; i < safeRegexReplacements.length; i++){\n var token = safeRegexReplacements[i][0];\n var max = safeRegexReplacements[i][1];\n value = value.split(token + \"*\").join(token + \"{0,\" + max + \"}\").split(token + \"+\").join(token + \"{1,\" + max + \"}\");\n }\n return value;\n}\n// The following Regular Expressions can be used for tokenizing,\n// validating, and parsing SemVer version strings.\n// ## Numeric Identifier\n// A single `0`, or a non-zero digit followed by zero or more digits.\ntok(\"NUMERICIDENTIFIER\");\nsrc[t.NUMERICIDENTIFIER] = \"0|[1-9]\\\\d*\";\ntok(\"NUMERICIDENTIFIERLOOSE\");\nsrc[t.NUMERICIDENTIFIERLOOSE] = \"\\\\d+\";\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.\ntok(\"NONNUMERICIDENTIFIER\");\nsrc[t.NONNUMERICIDENTIFIER] = \"\\\\d*[a-zA-Z-]\" + LETTERDASHNUMBER + \"*\";\n// ## Main Version\n// Three dot-separated numeric identifiers.\ntok(\"MAINVERSION\");\nsrc[t.MAINVERSION] = \"(\" + src[t.NUMERICIDENTIFIER] + \")\\\\.\" + \"(\" + src[t.NUMERICIDENTIFIER] + \")\\\\.\" + \"(\" + src[t.NUMERICIDENTIFIER] + \")\";\ntok(\"MAINVERSIONLOOSE\");\nsrc[t.MAINVERSIONLOOSE] = \"(\" + src[t.NUMERICIDENTIFIERLOOSE] + \")\\\\.\" + \"(\" + src[t.NUMERICIDENTIFIERLOOSE] + \")\\\\.\" + \"(\" + src[t.NUMERICIDENTIFIERLOOSE] + \")\";\n// ## Pre-release Version Identifier\n// A numeric identifier, or a non-numeric identifier.\ntok(\"PRERELEASEIDENTIFIER\");\nsrc[t.PRERELEASEIDENTIFIER] = \"(?:\" + src[t.NUMERICIDENTIFIER] + \"|\" + src[t.NONNUMERICIDENTIFIER] + \")\";\ntok(\"PRERELEASEIDENTIFIERLOOSE\");\nsrc[t.PRERELEASEIDENTIFIERLOOSE] = \"(?:\" + src[t.NUMERICIDENTIFIERLOOSE] + \"|\" + src[t.NONNUMERICIDENTIFIER] + \")\";\n// ## Pre-release Version\n// Hyphen, followed by one or more dot-separated pre-release version\n// identifiers.\ntok(\"PRERELEASE\");\nsrc[t.PRERELEASE] = \"(?:-(\" + src[t.PRERELEASEIDENTIFIER] + \"(?:\\\\.\" + src[t.PRERELEASEIDENTIFIER] + \")*))\";\ntok(\"PRERELEASELOOSE\");\nsrc[t.PRERELEASELOOSE] = \"(?:-?(\" + src[t.PRERELEASEIDENTIFIERLOOSE] + \"(?:\\\\.\" + src[t.PRERELEASEIDENTIFIERLOOSE] + \")*))\";\n// ## Build Metadata Identifier\n// Any combination of digits, letters, or hyphens.\ntok(\"BUILDIDENTIFIER\");\nsrc[t.BUILDIDENTIFIER] = LETTERDASHNUMBER + \"+\";\n// ## Build Metadata\n// Plus sign, followed by one or more period-separated build metadata\n// identifiers.\ntok(\"BUILD\");\nsrc[t.BUILD] = \"(?:\\\\+(\" + src[t.BUILDIDENTIFIER] + \"(?:\\\\.\" + src[t.BUILDIDENTIFIER] + \")*))\";\n// ## Full Version String\n// A main version, followed optionally by a pre-release version and\n// build metadata.\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.\ntok(\"FULL\");\ntok(\"FULLPLAIN\");\nsrc[t.FULLPLAIN] = \"v?\" + src[t.MAINVERSION] + src[t.PRERELEASE] + \"?\" + src[t.BUILD] + \"?\";\nsrc[t.FULL] = \"^\" + src[t.FULLPLAIN] + \"$\";\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.\ntok(\"LOOSEPLAIN\");\nsrc[t.LOOSEPLAIN] = \"[v=\\\\s]*\" + src[t.MAINVERSIONLOOSE] + src[t.PRERELEASELOOSE] + \"?\" + src[t.BUILD] + \"?\";\ntok(\"LOOSE\");\nsrc[t.LOOSE] = \"^\" + src[t.LOOSEPLAIN] + \"$\";\ntok(\"GTLT\");\nsrc[t.GTLT] = \"((?:<|>)?=?)\";\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.\ntok(\"XRANGEIDENTIFIERLOOSE\");\nsrc[t.XRANGEIDENTIFIERLOOSE] = src[t.NUMERICIDENTIFIERLOOSE] + \"|x|X|\\\\*\";\ntok(\"XRANGEIDENTIFIER\");\nsrc[t.XRANGEIDENTIFIER] = src[t.NUMERICIDENTIFIER] + \"|x|X|\\\\*\";\ntok(\"XRANGEPLAIN\");\nsrc[t.XRANGEPLAIN] = \"[v=\\\\s]*(\" + src[t.XRANGEIDENTIFIER] + \")\" + \"(?:\\\\.(\" + src[t.XRANGEIDENTIFIER] + \")\" + \"(?:\\\\.(\" + src[t.XRANGEIDENTIFIER] + \")\" + \"(?:\" + src[t.PRERELEASE] + \")?\" + src[t.BUILD] + \"?\" + \")?)?\";\ntok(\"XRANGEPLAINLOOSE\");\nsrc[t.XRANGEPLAINLOOSE] = \"[v=\\\\s]*(\" + src[t.XRANGEIDENTIFIERLOOSE] + \")\" + \"(?:\\\\.(\" + src[t.XRANGEIDENTIFIERLOOSE] + \")\" + \"(?:\\\\.(\" + src[t.XRANGEIDENTIFIERLOOSE] + \")\" + \"(?:\" + src[t.PRERELEASELOOSE] + \")?\" + src[t.BUILD] + \"?\" + \")?)?\";\ntok(\"XRANGE\");\nsrc[t.XRANGE] = \"^\" + src[t.GTLT] + \"\\\\s*\" + src[t.XRANGEPLAIN] + \"$\";\ntok(\"XRANGELOOSE\");\nsrc[t.XRANGELOOSE] = \"^\" + src[t.GTLT] + \"\\\\s*\" + src[t.XRANGEPLAINLOOSE] + \"$\";\n// Coercion.\n// Extract anything that could conceivably be a part of a valid semver\ntok(\"COERCE\");\nsrc[t.COERCE] = \"(^|[^\\\\d])(\\\\d{1,\" + MAX_SAFE_COMPONENT_LENGTH + \"})\" + \"(?:\\\\.(\\\\d{1,\" + MAX_SAFE_COMPONENT_LENGTH + \"}))?\" + \"(?:\\\\.(\\\\d{1,\" + MAX_SAFE_COMPONENT_LENGTH + \"}))?\" + \"(?:$|[^\\\\d])\";\ntok(\"COERCERTL\");\nre[t.COERCERTL] = new RegExp(src[t.COERCE], \"g\");\nsafeRe[t.COERCERTL] = new RegExp(makeSafeRe(src[t.COERCE]), \"g\");\n// Tilde ranges.\n// Meaning is \"reasonably at or greater than\"\ntok(\"LONETILDE\");\nsrc[t.LONETILDE] = \"(?:~>?)\";\ntok(\"TILDETRIM\");\nsrc[t.TILDETRIM] = \"(\\\\s*)\" + src[t.LONETILDE] + \"\\\\s+\";\nre[t.TILDETRIM] = new RegExp(src[t.TILDETRIM], \"g\");\nsafeRe[t.TILDETRIM] = new RegExp(makeSafeRe(src[t.TILDETRIM]), \"g\");\nvar tildeTrimReplace = \"$1~\";\ntok(\"TILDE\");\nsrc[t.TILDE] = \"^\" + src[t.LONETILDE] + src[t.XRANGEPLAIN] + \"$\";\ntok(\"TILDELOOSE\");\nsrc[t.TILDELOOSE] = \"^\" + src[t.LONETILDE] + src[t.XRANGEPLAINLOOSE] + \"$\";\n// Caret ranges.\n// Meaning is \"at least and backwards compatible with\"\ntok(\"LONECARET\");\nsrc[t.LONECARET] = \"(?:\\\\^)\";\ntok(\"CARETTRIM\");\nsrc[t.CARETTRIM] = \"(\\\\s*)\" + src[t.LONECARET] + \"\\\\s+\";\nre[t.CARETTRIM] = new RegExp(src[t.CARETTRIM], \"g\");\nsafeRe[t.CARETTRIM] = new RegExp(makeSafeRe(src[t.CARETTRIM]), \"g\");\nvar caretTrimReplace = \"$1^\";\ntok(\"CARET\");\nsrc[t.CARET] = \"^\" + src[t.LONECARET] + src[t.XRANGEPLAIN] + \"$\";\ntok(\"CARETLOOSE\");\nsrc[t.CARETLOOSE] = \"^\" + src[t.LONECARET] + src[t.XRANGEPLAINLOOSE] + \"$\";\n// A simple gt/lt/eq thing, or just \"\" to indicate \"any version\"\ntok(\"COMPARATORLOOSE\");\nsrc[t.COMPARATORLOOSE] = \"^\" + src[t.GTLT] + \"\\\\s*(\" + src[t.LOOSEPLAIN] + \")$|^$\";\ntok(\"COMPARATOR\");\nsrc[t.COMPARATOR] = \"^\" + src[t.GTLT] + \"\\\\s*(\" + src[t.FULLPLAIN] + \")$|^$\";\n// An expression to strip any whitespace between the gtlt and the thing\n// it modifies, so that `> 1.2.3` ==> `>1.2.3`\ntok(\"COMPARATORTRIM\");\nsrc[t.COMPARATORTRIM] = \"(\\\\s*)\" + src[t.GTLT] + \"\\\\s*(\" + src[t.LOOSEPLAIN] + \"|\" + src[t.XRANGEPLAIN] + \")\";\n// this one has to use the /g flag\nre[t.COMPARATORTRIM] = new RegExp(src[t.COMPARATORTRIM], \"g\");\nsafeRe[t.COMPARATORTRIM] = new RegExp(makeSafeRe(src[t.COMPARATORTRIM]), \"g\");\nvar comparatorTrimReplace = \"$1$2$3\";\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.\ntok(\"HYPHENRANGE\");\nsrc[t.HYPHENRANGE] = \"^\\\\s*(\" + src[t.XRANGEPLAIN] + \")\" + \"\\\\s+-\\\\s+\" + \"(\" + src[t.XRANGEPLAIN] + \")\" + \"\\\\s*$\";\ntok(\"HYPHENRANGELOOSE\");\nsrc[t.HYPHENRANGELOOSE] = \"^\\\\s*(\" + src[t.XRANGEPLAINLOOSE] + \")\" + \"\\\\s+-\\\\s+\" + \"(\" + src[t.XRANGEPLAINLOOSE] + \")\" + \"\\\\s*$\";\n// Star ranges basically just allow anything at all.\ntok(\"STAR\");\nsrc[t.STAR] = \"(<|>)?=?\\\\s*\\\\*\";\n// Compile to actual regexp objects.\n// All are flag-free, unless they were created above with a flag.\nfor(var i = 0; i < R; i++){\n debug(i, src[i]);\n if (!re[i]) {\n re[i] = new RegExp(src[i]);\n // Replace all greedy whitespace to prevent regex dos issues. These regex are\n // used internally via the safeRe object since all inputs in this library get\n // normalized first to trim and collapse all extra whitespace. The original\n // regexes are exported for userland consumption and lower level usage. A\n // future breaking change could export the safer regex only with a note that\n // all input should have extra whitespace removed.\n safeRe[i] = new RegExp(makeSafeRe(src[i]));\n }\n}\nexports.parse = parse;\nfunction parse(version, options) {\n if (!options || typeof options !== \"object\") options = {\n loose: !!options,\n includePrerelease: false\n };\n if (version instanceof SemVer) return version;\n if (typeof version !== \"string\") return null;\n if (version.length > MAX_LENGTH) return null;\n var r = options.loose ? safeRe[t.LOOSE] : safeRe[t.FULL];\n if (!r.test(version)) return null;\n try {\n return new SemVer(version, options);\n } catch (er) {\n return null;\n }\n}\nexports.valid = valid;\nfunction valid(version, options) {\n var v = parse(version, options);\n return v ? v.version : null;\n}\nexports.clean = clean;\nfunction clean(version, options) {\n var s = parse(version.trim().replace(/^[=v]+/, \"\"), options);\n return s ? s.version : null;\n}\nexports.SemVer = SemVer;\nfunction SemVer(version, options) {\n if (!options || typeof options !== \"object\") options = {\n loose: !!options,\n includePrerelease: false\n };\n if (version instanceof SemVer) {\n if (version.loose === options.loose) return version;\n else version = version.version;\n } else if (typeof version !== \"string\") throw new TypeError(\"Invalid Version: \" + version);\n if (version.length > MAX_LENGTH) throw new TypeError(\"version is longer than \" + MAX_LENGTH + \" characters\");\n if (!(this instanceof SemVer)) return new SemVer(version, options);\n debug(\"SemVer\", version, options);\n this.options = options;\n this.loose = !!options.loose;\n var m = version.trim().match(options.loose ? safeRe[t.LOOSE] : safeRe[t.FULL]);\n if (!m) throw new TypeError(\"Invalid Version: \" + version);\n this.raw = version;\n // these are actually numbers\n this.major = +m[1];\n this.minor = +m[2];\n this.patch = +m[3];\n if (this.major > MAX_SAFE_INTEGER || this.major < 0) throw new TypeError(\"Invalid major version\");\n if (this.minor > MAX_SAFE_INTEGER || this.minor < 0) throw new TypeError(\"Invalid minor version\");\n if (this.patch > MAX_SAFE_INTEGER || this.patch < 0) throw new TypeError(\"Invalid patch version\");\n // numberify any prerelease numeric ids\n if (!m[4]) this.prerelease = [];\n else this.prerelease = m[4].split(\".\").map(function(id) {\n if (/^[0-9]+$/.test(id)) {\n var num = +id;\n if (num >= 0 && num < MAX_SAFE_INTEGER) return num;\n }\n return id;\n });\n this.build = m[5] ? m[5].split(\".\") : [];\n this.format();\n}\nSemVer.prototype.format = function() {\n this.version = this.major + \".\" + this.minor + \".\" + this.patch;\n if (this.prerelease.length) this.version += \"-\" + this.prerelease.join(\".\");\n return this.version;\n};\nSemVer.prototype.toString = function() {\n return this.version;\n};\nSemVer.prototype.compare = function(other) {\n debug(\"SemVer.compare\", this.version, this.options, other);\n if (!(other instanceof SemVer)) other = new SemVer(other, this.options);\n return this.compareMain(other) || this.comparePre(other);\n};\nSemVer.prototype.compareMain = function(other) {\n if (!(other instanceof SemVer)) other = new SemVer(other, this.options);\n return compareIdentifiers(this.major, other.major) || compareIdentifiers(this.minor, other.minor) || compareIdentifiers(this.patch, other.patch);\n};\nSemVer.prototype.comparePre = function(other) {\n if (!(other instanceof SemVer)) other = new SemVer(other, this.options);\n // NOT having a prerelease is > having one\n if (this.prerelease.length && !other.prerelease.length) return -1;\n else if (!this.prerelease.length && other.prerelease.length) return 1;\n else if (!this.prerelease.length && !other.prerelease.length) return 0;\n var i = 0;\n do {\n var a = this.prerelease[i];\n var b = other.prerelease[i];\n debug(\"prerelease compare\", i, a, b);\n if (a === undefined && b === undefined) return 0;\n else if (b === undefined) return 1;\n else if (a === undefined) return -1;\n else if (a === b) continue;\n else return compareIdentifiers(a, b);\n }while (++i);\n};\nSemVer.prototype.compareBuild = function(other) {\n if (!(other instanceof SemVer)) other = new SemVer(other, this.options);\n var i = 0;\n do {\n var a = this.build[i];\n var b = other.build[i];\n debug(\"prerelease compare\", i, a, b);\n if (a === undefined && b === undefined) return 0;\n else if (b === undefined) return 1;\n else if (a === undefined) return -1;\n else if (a === b) continue;\n else return compareIdentifiers(a, b);\n }while (++i);\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.\nSemVer.prototype.inc = function(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) this.inc(\"patch\", identifier);\n this.inc(\"pre\", identifier);\n break;\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 (this.minor !== 0 || this.patch !== 0 || this.prerelease.length === 0) this.major++;\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) this.minor++;\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) this.patch++;\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) this.prerelease = [\n 0\n ];\n else {\n var i = this.prerelease.length;\n while(--i >= 0)if (typeof this.prerelease[i] === \"number\") {\n this.prerelease[i]++;\n i = -2;\n }\n if (i === -1) // didn't increment anything\n this.prerelease.push(0);\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 (this.prerelease[0] === identifier) {\n if (isNaN(this.prerelease[1])) this.prerelease = [\n identifier,\n 0\n ];\n } else this.prerelease = [\n identifier,\n 0\n ];\n }\n break;\n default:\n throw new Error(\"invalid increment argument: \" + release);\n }\n this.format();\n this.raw = this.version;\n return this;\n};\nexports.inc = inc;\nfunction inc(version, release, loose, identifier) {\n if (typeof loose === \"string\") {\n identifier = loose;\n loose = undefined;\n }\n try {\n return new SemVer(version, loose).inc(release, identifier).version;\n } catch (er) {\n return null;\n }\n}\nexports.diff = diff;\nfunction diff(version1, version2) {\n if (eq(version1, version2)) return null;\n else {\n var v1 = parse(version1);\n var v2 = parse(version2);\n var prefix = \"\";\n if (v1.prerelease.length || v2.prerelease.length) {\n prefix = \"pre\";\n var defaultResult = \"prerelease\";\n }\n for(var key in v1)if (key === \"major\" || key === \"minor\" || key === \"patch\") {\n if (v1[key] !== v2[key]) return prefix + key;\n }\n return defaultResult // may be undefined\n ;\n }\n}\nexports.compareIdentifiers = compareIdentifiers;\nvar numeric = /^[0-9]+$/;\nfunction compareIdentifiers(a, b) {\n var anum = numeric.test(a);\n var bnum = numeric.test(b);\n if (anum && bnum) {\n a = +a;\n b = +b;\n }\n return a === b ? 0 : anum && !bnum ? -1 : bnum && !anum ? 1 : a < b ? -1 : 1;\n}\nexports.rcompareIdentifiers = rcompareIdentifiers;\nfunction rcompareIdentifiers(a, b) {\n return compareIdentifiers(b, a);\n}\nexports.major = major;\nfunction major(a, loose) {\n return new SemVer(a, loose).major;\n}\nexports.minor = minor;\nfunction minor(a, loose) {\n return new SemVer(a, loose).minor;\n}\nexports.patch = patch;\nfunction patch(a, loose) {\n return new SemVer(a, loose).patch;\n}\nexports.compare = compare;\nfunction compare(a, b, loose) {\n return new SemVer(a, loose).compare(new SemVer(b, loose));\n}\nexports.compareLoose = compareLoose;\nfunction compareLoose(a, b) {\n return compare(a, b, true);\n}\nexports.compareBuild = compareBuild;\nfunction compareBuild(a, b, loose) {\n var versionA = new SemVer(a, loose);\n var versionB = new SemVer(b, loose);\n return versionA.compare(versionB) || versionA.compareBuild(versionB);\n}\nexports.rcompare = rcompare;\nfunction rcompare(a, b, loose) {\n return compare(b, a, loose);\n}\nexports.sort = sort;\nfunction sort(list, loose) {\n return list.sort(function(a, b) {\n return exports.compareBuild(a, b, loose);\n });\n}\nexports.rsort = rsort;\nfunction rsort(list, loose) {\n return list.sort(function(a, b) {\n return exports.compareBuild(b, a, loose);\n });\n}\nexports.gt = gt;\nfunction gt(a, b, loose) {\n return compare(a, b, loose) > 0;\n}\nexports.lt = lt;\nfunction lt(a, b, loose) {\n return compare(a, b, loose) < 0;\n}\nexports.eq = eq;\nfunction eq(a, b, loose) {\n return compare(a, b, loose) === 0;\n}\nexports.neq = neq;\nfunction neq(a, b, loose) {\n return compare(a, b, loose) !== 0;\n}\nexports.gte = gte;\nfunction gte(a, b, loose) {\n return compare(a, b, loose) >= 0;\n}\nexports.lte = lte;\nfunction lte(a, b, loose) {\n return compare(a, b, loose) <= 0;\n}\nexports.cmp = cmp;\nfunction cmp(a, op, b, loose) {\n switch(op){\n case \"===\":\n if (typeof a === \"object\") a = a.version;\n if (typeof b === \"object\") b = b.version;\n return a === b;\n case \"!==\":\n if (typeof a === \"object\") a = a.version;\n if (typeof b === \"object\") b = b.version;\n return a !== b;\n case \"\":\n case \"=\":\n case \"==\":\n return eq(a, b, loose);\n case \"!=\":\n return neq(a, b, loose);\n case \">\":\n return gt(a, b, loose);\n case \">=\":\n return gte(a, b, loose);\n case \"<\":\n return lt(a, b, loose);\n case \"<=\":\n return lte(a, b, loose);\n default:\n throw new TypeError(\"Invalid operator: \" + op);\n }\n}\nexports.Comparator = Comparator;\nfunction Comparator(comp, options) {\n if (!options || typeof options !== \"object\") options = {\n loose: !!options,\n includePrerelease: false\n };\n if (comp instanceof Comparator) {\n if (comp.loose === !!options.loose) return comp;\n else comp = comp.value;\n }\n if (!(this instanceof Comparator)) return new Comparator(comp, options);\n comp = comp.trim().split(/\\s+/).join(\" \");\n debug(\"comparator\", comp, options);\n this.options = options;\n this.loose = !!options.loose;\n this.parse(comp);\n if (this.semver === ANY) this.value = \"\";\n else this.value = this.operator + this.semver.version;\n debug(\"comp\", this);\n}\nvar ANY = {};\nComparator.prototype.parse = function(comp) {\n var r = this.options.loose ? safeRe[t.COMPARATORLOOSE] : safeRe[t.COMPARATOR];\n var m = comp.match(r);\n if (!m) throw new TypeError(\"Invalid comparator: \" + comp);\n this.operator = m[1] !== undefined ? m[1] : \"\";\n if (this.operator === \"=\") this.operator = \"\";\n // if it literally is just '>' or '' then allow anything.\n if (!m[2]) this.semver = ANY;\n else this.semver = new SemVer(m[2], this.options.loose);\n};\nComparator.prototype.toString = function() {\n return this.value;\n};\nComparator.prototype.test = function(version) {\n debug(\"Comparator.test\", version, this.options.loose);\n if (this.semver === ANY || version === ANY) return true;\n if (typeof version === \"string\") try {\n version = new SemVer(version, this.options);\n } catch (er) {\n return false;\n }\n return cmp(version, this.operator, this.semver, this.options);\n};\nComparator.prototype.intersects = function(comp, options) {\n if (!(comp instanceof Comparator)) throw new TypeError(\"a Comparator is required\");\n if (!options || typeof options !== \"object\") options = {\n loose: !!options,\n includePrerelease: false\n };\n var rangeTmp;\n if (this.operator === \"\") {\n if (this.value === \"\") return true;\n rangeTmp = new Range(comp.value, options);\n return satisfies(this.value, rangeTmp, options);\n } else if (comp.operator === \"\") {\n if (comp.value === \"\") return true;\n rangeTmp = new Range(this.value, options);\n return satisfies(comp.semver, rangeTmp, options);\n }\n var sameDirectionIncreasing = (this.operator === \">=\" || this.operator === \">\") && (comp.operator === \">=\" || comp.operator === \">\");\n var sameDirectionDecreasing = (this.operator === \"<=\" || this.operator === \"<\") && (comp.operator === \"<=\" || comp.operator === \"<\");\n var sameSemVer = this.semver.version === comp.semver.version;\n var differentDirectionsInclusive = (this.operator === \">=\" || this.operator === \"<=\") && (comp.operator === \">=\" || comp.operator === \"<=\");\n var oppositeDirectionsLessThan = cmp(this.semver, \"<\", comp.semver, options) && (this.operator === \">=\" || this.operator === \">\") && (comp.operator === \"<=\" || comp.operator === \"<\");\n var oppositeDirectionsGreaterThan = cmp(this.semver, \">\", comp.semver, options) && (this.operator === \"<=\" || this.operator === \"<\") && (comp.operator === \">=\" || comp.operator === \">\");\n return sameDirectionIncreasing || sameDirectionDecreasing || sameSemVer && differentDirectionsInclusive || oppositeDirectionsLessThan || oppositeDirectionsGreaterThan;\n};\nexports.Range = Range;\nfunction Range(range, options) {\n if (!options || typeof options !== \"object\") options = {\n loose: !!options,\n includePrerelease: false\n };\n if (range instanceof Range) {\n if (range.loose === !!options.loose && range.includePrerelease === !!options.includePrerelease) return range;\n else return new Range(range.raw, options);\n }\n if (range instanceof Comparator) return new Range(range.value, options);\n if (!(this instanceof Range)) return new Range(range, options);\n this.options = options;\n this.loose = !!options.loose;\n this.includePrerelease = !!options.includePrerelease;\n // First reduce all whitespace as much as possible so we do not have to rely\n // on potentially slow regexes like \\s*. This is then stored and used for\n // future error messages as well.\n this.raw = range.trim().split(/\\s+/).join(\" \");\n // First, split based on boolean or ||\n this.set = this.raw.split(\"||\").map(function(range) {\n return this.parseRange(range.trim());\n }, this).filter(function(c) {\n // throw out any that are not relevant for whatever reason\n return c.length;\n });\n if (!this.set.length) throw new TypeError(\"Invalid SemVer Range: \" + this.raw);\n this.format();\n}\nRange.prototype.format = function() {\n this.range = this.set.map(function(comps) {\n return comps.join(\" \").trim();\n }).join(\"||\").trim();\n return this.range;\n};\nRange.prototype.toString = function() {\n return this.range;\n};\nRange.prototype.parseRange = function(range) {\n var loose = this.options.loose;\n // `1.2.3 - 1.2.4` => `>=1.2.3 <=1.2.4`\n var hr = loose ? safeRe[t.HYPHENRANGELOOSE] : safeRe[t.HYPHENRANGE];\n range = range.replace(hr, hyphenReplace);\n debug(\"hyphen replace\", range);\n // `> 1.2.3 < 1.2.5` => `>1.2.3 <1.2.5`\n range = range.replace(safeRe[t.COMPARATORTRIM], comparatorTrimReplace);\n debug(\"comparator trim\", range, safeRe[t.COMPARATORTRIM]);\n // `~ 1.2.3` => `~1.2.3`\n range = range.replace(safeRe[t.TILDETRIM], tildeTrimReplace);\n // `^ 1.2.3` => `^1.2.3`\n range = range.replace(safeRe[t.CARETTRIM], caretTrimReplace);\n // normalize spaces\n range = range.split(/\\s+/).join(\" \");\n // At this point, the range is completely trimmed and\n // ready to be split into comparators.\n var compRe = loose ? safeRe[t.COMPARATORLOOSE] : safeRe[t.COMPARATOR];\n var set = range.split(\" \").map(function(comp) {\n return parseComparator(comp, this.options);\n }, this).join(\" \").split(/\\s+/);\n if (this.options.loose) // in loose mode, throw out any that are not valid comparators\n set = set.filter(function(comp) {\n return !!comp.match(compRe);\n });\n set = set.map(function(comp) {\n return new Comparator(comp, this.options);\n }, this);\n return set;\n};\nRange.prototype.intersects = function(range, options) {\n if (!(range instanceof Range)) throw new TypeError(\"a Range is required\");\n return this.set.some(function(thisComparators) {\n return isSatisfiable(thisComparators, options) && range.set.some(function(rangeComparators) {\n return isSatisfiable(rangeComparators, options) && thisComparators.every(function(thisComparator) {\n return rangeComparators.every(function(rangeComparator) {\n return thisComparator.intersects(rangeComparator, options);\n });\n });\n });\n });\n};\n// take a set of comparators and determine whether there\n// exists a version which can satisfy it\nfunction isSatisfiable(comparators, options) {\n var result = true;\n var remainingComparators = comparators.slice();\n var testComparator = remainingComparators.pop();\n while(result && remainingComparators.length){\n result = remainingComparators.every(function(otherComparator) {\n return testComparator.intersects(otherComparator, options);\n });\n testComparator = remainingComparators.pop();\n }\n return result;\n}\n// Mostly just for testing and legacy API reasons\nexports.toComparators = toComparators;\nfunction toComparators(range, options) {\n return new Range(range, options).set.map(function(comp) {\n return comp.map(function(c) {\n return c.value;\n }).join(\" \").trim().split(\" \");\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.\nfunction 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}\nfunction isX(id) {\n return !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\n// ~2.0, ~2.0.x, ~>2.0, ~>2.0.x --> >=2.0.0 <2.1.0\n// ~1.2, ~1.2.x, ~>1.2, ~>1.2.x --> >=1.2.0 <1.3.0\n// ~1.2.3, ~>1.2.3 --> >=1.2.3 <1.3.0\n// ~1.2.0, ~>1.2.0 --> >=1.2.0 <1.3.0\nfunction replaceTildes(comp, options) {\n return comp.trim().split(/\\s+/).map(function(comp) {\n return replaceTilde(comp, options);\n }).join(\" \");\n}\nfunction replaceTilde(comp, options) {\n var r = options.loose ? safeRe[t.TILDELOOSE] : safeRe[t.TILDE];\n return comp.replace(r, function(_, M, m, p, pr) {\n debug(\"tilde\", comp, _, M, m, p, pr);\n var ret;\n if (isX(M)) ret = \"\";\n else if (isX(m)) ret = \">=\" + M + \".0.0 <\" + (+M + 1) + \".0.0\";\n else if (isX(p)) // ~1.2 == >=1.2.0 <1.3.0\n ret = \">=\" + M + \".\" + m + \".0 <\" + M + \".\" + (+m + 1) + \".0\";\n else if (pr) {\n debug(\"replaceTilde pr\", pr);\n ret = \">=\" + M + \".\" + m + \".\" + p + \"-\" + pr + \" <\" + M + \".\" + (+m + 1) + \".0\";\n } else // ~1.2.3 == >=1.2.3 <1.3.0\n ret = \">=\" + M + \".\" + m + \".\" + p + \" <\" + M + \".\" + (+m + 1) + \".0\";\n debug(\"tilde return\", ret);\n return ret;\n });\n}\n// ^ --> * (any, kinda silly)\n// ^2, ^2.x, ^2.x.x --> >=2.0.0 <3.0.0\n// ^2.0, ^2.0.x --> >=2.0.0 <3.0.0\n// ^1.2, ^1.2.x --> >=1.2.0 <2.0.0\n// ^1.2.3 --> >=1.2.3 <2.0.0\n// ^1.2.0 --> >=1.2.0 <2.0.0\nfunction replaceCarets(comp, options) {\n return comp.trim().split(/\\s+/).map(function(comp) {\n return replaceCaret(comp, options);\n }).join(\" \");\n}\nfunction replaceCaret(comp, options) {\n debug(\"caret\", comp, options);\n var r = options.loose ? safeRe[t.CARETLOOSE] : safeRe[t.CARET];\n return comp.replace(r, function(_, M, m, p, pr) {\n debug(\"caret\", comp, _, M, m, p, pr);\n var ret;\n if (isX(M)) ret = \"\";\n else if (isX(m)) ret = \">=\" + M + \".0.0 <\" + (+M + 1) + \".0.0\";\n else if (isX(p)) {\n if (M === \"0\") ret = \">=\" + M + \".\" + m + \".0 <\" + M + \".\" + (+m + 1) + \".0\";\n else ret = \">=\" + M + \".\" + m + \".0 <\" + (+M + 1) + \".0.0\";\n } else if (pr) {\n debug(\"replaceCaret pr\", pr);\n if (M === \"0\") {\n if (m === \"0\") ret = \">=\" + M + \".\" + m + \".\" + p + \"-\" + pr + \" <\" + M + \".\" + m + \".\" + (+p + 1);\n else ret = \">=\" + M + \".\" + m + \".\" + p + \"-\" + pr + \" <\" + M + \".\" + (+m + 1) + \".0\";\n } else ret = \">=\" + M + \".\" + m + \".\" + p + \"-\" + pr + \" <\" + (+M + 1) + \".0.0\";\n } else {\n debug(\"no pr\");\n if (M === \"0\") {\n if (m === \"0\") ret = \">=\" + M + \".\" + m + \".\" + p + \" <\" + M + \".\" + m + \".\" + (+p + 1);\n else ret = \">=\" + M + \".\" + m + \".\" + p + \" <\" + M + \".\" + (+m + 1) + \".0\";\n } else ret = \">=\" + M + \".\" + m + \".\" + p + \" <\" + (+M + 1) + \".0.0\";\n }\n debug(\"caret return\", ret);\n return ret;\n });\n}\nfunction replaceXRanges(comp, options) {\n debug(\"replaceXRanges\", comp, options);\n return comp.split(/\\s+/).map(function(comp) {\n return replaceXRange(comp, options);\n }).join(\" \");\n}\nfunction replaceXRange(comp, options) {\n comp = comp.trim();\n var r = options.loose ? safeRe[t.XRANGELOOSE] : safeRe[t.XRANGE];\n return comp.replace(r, function(ret, gtlt, M, m, p, pr) {\n debug(\"xRange\", comp, ret, gtlt, M, m, p, pr);\n var xM = isX(M);\n var xm = xM || isX(m);\n var xp = xm || isX(p);\n var anyX = xp;\n if (gtlt === \"=\" && anyX) gtlt = \"\";\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 if (xM) {\n if (gtlt === \">\" || gtlt === \"<\") // nothing is allowed\n ret = \"<0.0.0-0\";\n else // nothing is forbidden\n ret = \"*\";\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) m = 0;\n p = 0;\n if (gtlt === \">\") {\n // >1 => >=2.0.0\n // >1.2 => >=1.3.0\n // >1.2.3 => >= 1.2.4\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) M = +M + 1;\n else m = +m + 1;\n }\n ret = gtlt + M + \".\" + m + \".\" + p + pr;\n } else if (xm) ret = \">=\" + M + \".0.0\" + pr + \" <\" + (+M + 1) + \".0.0\" + pr;\n else if (xp) ret = \">=\" + M + \".\" + m + \".0\" + pr + \" <\" + M + \".\" + (+m + 1) + \".0\" + pr;\n debug(\"xRange return\", ret);\n return ret;\n });\n}\n// Because * is AND-ed with everything else in the comparator,\n// and '' means \"any version\", just remove the *s entirely.\nfunction 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(safeRe[t.STAR], \"\");\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 Any 3.4.x will do\n// 1.2 - 3.4 => >=1.2.0 <3.5.0\nfunction hyphenReplace($0, from, fM, fm, fp, fpr, fb, to, tM, tm, tp, tpr, tb) {\n if (isX(fM)) from = \"\";\n else if (isX(fm)) from = \">=\" + fM + \".0.0\";\n else if (isX(fp)) from = \">=\" + fM + \".\" + fm + \".0\";\n else from = \">=\" + from;\n if (isX(tM)) to = \"\";\n else if (isX(tm)) to = \"<\" + (+tM + 1) + \".0.0\";\n else if (isX(tp)) to = \"<\" + tM + \".\" + (+tm + 1) + \".0\";\n else if (tpr) to = \"<=\" + tM + \".\" + tm + \".\" + tp + \"-\" + tpr;\n else to = \"<=\" + to;\n return (from + \" \" + to).trim();\n}\n// if ANY of the sets match ALL of its comparators, then pass\nRange.prototype.test = function(version) {\n if (!version) return false;\n if (typeof version === \"string\") try {\n version = new SemVer(version, this.options);\n } catch (er) {\n return false;\n }\n for(var i = 0; i < this.set.length; i++){\n if (testSet(this.set[i], version, this.options)) return true;\n }\n return false;\n};\nfunction testSet(set, version, options) {\n for(var i = 0; i < set.length; i++){\n if (!set[i].test(version)) return false;\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(i = 0; i < set.length; i++){\n debug(set[i].semver);\n if (set[i].semver === ANY) continue;\n if (set[i].semver.prerelease.length > 0) {\n var allowed = set[i].semver;\n if (allowed.major === version.major && allowed.minor === version.minor && allowed.patch === version.patch) return true;\n }\n }\n // Version has a -pre, but it's not one of the ones we like.\n return false;\n }\n return true;\n}\nexports.satisfies = satisfies;\nfunction 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}\nexports.maxSatisfying = maxSatisfying;\nfunction maxSatisfying(versions, range, options) {\n var max = null;\n var maxSV = null;\n try {\n var rangeObj = new Range(range, options);\n } catch (er) {\n return null;\n }\n versions.forEach(function(v) {\n if (rangeObj.test(v)) // satisfies(v, range, options)\n {\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}\nexports.minSatisfying = minSatisfying;\nfunction minSatisfying(versions, range, options) {\n var min = null;\n var minSV = null;\n try {\n var rangeObj = new Range(range, options);\n } catch (er) {\n return null;\n }\n versions.forEach(function(v) {\n if (rangeObj.test(v)) // satisfies(v, range, options)\n {\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}\nexports.minVersion = minVersion;\nfunction minVersion(range, loose) {\n range = new Range(range, loose);\n var minver = new SemVer(\"0.0.0\");\n if (range.test(minver)) return minver;\n minver = new SemVer(\"0.0.0-0\");\n if (range.test(minver)) return minver;\n minver = null;\n for(var i = 0; i < range.set.length; ++i){\n var comparators = range.set[i];\n comparators.forEach(function(comparator) {\n // Clone to avoid manipulating the comparator's semver object.\n var compver = new SemVer(comparator.semver.version);\n switch(comparator.operator){\n case \">\":\n if (compver.prerelease.length === 0) compver.patch++;\n else compver.prerelease.push(0);\n compver.raw = compver.format();\n /* fallthrough */ case \"\":\n case \">=\":\n if (!minver || gt(minver, compver)) minver = compver;\n break;\n case \"<\":\n case \"<=\":\n break;\n /* istanbul ignore next */ default:\n throw new Error(\"Unexpected operation: \" + comparator.operator);\n }\n });\n }\n if (minver && range.test(minver)) return minver;\n return null;\n}\nexports.validRange = validRange;\nfunction 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}\n// Determine if version is less than all the versions possible in the range\nexports.ltr = ltr;\nfunction ltr(version, range, options) {\n return outside(version, range, \"<\", options);\n}\n// Determine if version is greater than all the versions possible in the range.\nexports.gtr = gtr;\nfunction gtr(version, range, options) {\n return outside(version, range, \">\", options);\n}\nexports.outside = outside;\nfunction outside(version, range, hilo, options) {\n version = new SemVer(version, options);\n range = new Range(range, options);\n var 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 // If it satisifes the range it is not outside\n if (satisfies(version, range, options)) return false;\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 for(var i = 0; i < range.set.length; ++i){\n var comparators = range.set[i];\n var high = null;\n var low = null;\n comparators.forEach(function(comparator) {\n if (comparator.semver === ANY) comparator = new Comparator(\">=0.0.0\");\n high = high || comparator;\n low = low || comparator;\n if (gtfn(comparator.semver, high.semver, options)) high = comparator;\n else if (ltfn(comparator.semver, low.semver, options)) low = comparator;\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) return false;\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) && ltefn(version, low.semver)) return false;\n else if (low.operator === ecomp && ltfn(version, low.semver)) return false;\n }\n return true;\n}\nexports.prerelease = prerelease;\nfunction prerelease(version, options) {\n var parsed = parse(version, options);\n return parsed && parsed.prerelease.length ? parsed.prerelease : null;\n}\nexports.intersects = intersects;\nfunction intersects(r1, r2, options) {\n r1 = new Range(r1, options);\n r2 = new Range(r2, options);\n return r1.intersects(r2);\n}\nexports.coerce = coerce;\nfunction coerce(version, options) {\n if (version instanceof SemVer) return version;\n if (typeof version === \"number\") version = String(version);\n if (typeof version !== \"string\") return null;\n options = options || {};\n var match = null;\n if (!options.rtl) match = version.match(safeRe[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 var next;\n while((next = safeRe[t.COERCERTL].exec(version)) && (!match || match.index + match[0].length !== version.length)){\n if (!match || next.index + next[0].length !== match.index + match[0].length) match = next;\n safeRe[t.COERCERTL].lastIndex = next.index + next[1].length + next[2].length;\n }\n // leave it in a clean state\n safeRe[t.COERCERTL].lastIndex = -1;\n }\n if (match === null) return null;\n return parse(match[2] + \".\" + (match[3] || \"0\") + \".\" + (match[4] || \"0\"), options);\n}\n\n});\n\n\nparcelRequire.register(\"dGCqI\", function(module, exports) {\n\nvar $fVQSr = parcelRequire(\"fVQSr\");\n\nvar $3MZit = parcelRequire(\"3MZit\");\nfunction $9f6d01fe1d33d468$var$v4(options, buf, offset) {\n var i = buf && offset || 0;\n if (typeof options == \"string\") {\n buf = options === \"binary\" ? new Array(16) : null;\n options = null;\n }\n options = options || {};\n var rnds = options.random || (options.rng || $fVQSr)();\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 // Copy bytes to buffer, if provided\n if (buf) for(var ii = 0; ii < 16; ++ii)buf[i + ii] = rnds[ii];\n return buf || $3MZit(rnds);\n}\nmodule.exports = $9f6d01fe1d33d468$var$v4;\n\n});\nparcelRequire.register(\"fVQSr\", function(module, exports) {\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\nmodule.exports = function nodeRNG() {\n return $d7DIX$crypto.randomBytes(16);\n};\n\n});\n\nparcelRequire.register(\"3MZit\", function(module, exports) {\n/**\n * Convert array of 16 byte values to UUID string format of the form:\n * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\n */ var $2c25671a93697bfe$var$byteToHex = [];\nfor(var $2c25671a93697bfe$var$i = 0; $2c25671a93697bfe$var$i < 256; ++$2c25671a93697bfe$var$i)$2c25671a93697bfe$var$byteToHex[$2c25671a93697bfe$var$i] = ($2c25671a93697bfe$var$i + 0x100).toString(16).substr(1);\nfunction $2c25671a93697bfe$var$bytesToUuid(buf, offset) {\n var i = offset || 0;\n var bth = $2c25671a93697bfe$var$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++]],\n bth[buf[i++]],\n bth[buf[i++]],\n bth[buf[i++]],\n \"-\",\n bth[buf[i++]],\n bth[buf[i++]],\n \"-\",\n bth[buf[i++]],\n bth[buf[i++]],\n \"-\",\n bth[buf[i++]],\n bth[buf[i++]],\n \"-\",\n bth[buf[i++]],\n bth[buf[i++]],\n bth[buf[i++]],\n bth[buf[i++]],\n bth[buf[i++]],\n bth[buf[i++]]\n ].join(\"\");\n}\nmodule.exports = $2c25671a93697bfe$var$bytesToUuid;\n\n});\n\n\nparcelRequire.register(\"jlr6Q\", function(module, exports) {\n\"use strict\";\nvar $e15501dac30ed2d7$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $e15501dac30ed2d7$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $e15501dac30ed2d7$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $e15501dac30ed2d7$var$__createBinding(result, mod, k);\n }\n $e15501dac30ed2d7$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $e15501dac30ed2d7$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.getExecOutput = module.exports.exec = void 0;\n\n\nconst $e15501dac30ed2d7$var$tr = $e15501dac30ed2d7$var$__importStar((parcelRequire(\"jbxr5\")));\n/**\n * Exec a command.\n * Output will be streamed to the live console.\n * Returns promise with return code\n *\n * @param commandLine command to execute (can include additional args). Must be correctly escaped.\n * @param args optional arguments for tool. Escaping is handled by the lib.\n * @param options optional exec options. See ExecOptions\n * @returns Promise exit code\n */ function $e15501dac30ed2d7$var$exec(commandLine, args, options) {\n return $e15501dac30ed2d7$var$__awaiter(this, void 0, void 0, function*() {\n const commandArgs = $e15501dac30ed2d7$var$tr.argStringToArray(commandLine);\n if (commandArgs.length === 0) throw new Error(`Parameter 'commandLine' cannot be null or empty.`);\n // Path to tool to execute should be first arg\n const toolPath = commandArgs[0];\n args = commandArgs.slice(1).concat(args || []);\n const runner = new $e15501dac30ed2d7$var$tr.ToolRunner(toolPath, args, options);\n return runner.exec();\n });\n}\nmodule.exports.exec = $e15501dac30ed2d7$var$exec;\n/**\n * Exec a command and get the output.\n * Output will be streamed to the live console.\n * Returns promise with the exit code and collected stdout and stderr\n *\n * @param commandLine command to execute (can include additional args). Must be correctly escaped.\n * @param args optional arguments for tool. Escaping is handled by the lib.\n * @param options optional exec options. See ExecOptions\n * @returns Promise exit code, stdout, and stderr\n */ function $e15501dac30ed2d7$var$getExecOutput(commandLine, args, options) {\n var _a, _b;\n return $e15501dac30ed2d7$var$__awaiter(this, void 0, void 0, function*() {\n let stdout = \"\";\n let stderr = \"\";\n //Using string decoder covers the case where a mult-byte character is split\n const stdoutDecoder = new $d7DIX$string_decoder.StringDecoder(\"utf8\");\n const stderrDecoder = new $d7DIX$string_decoder.StringDecoder(\"utf8\");\n const originalStdoutListener = (_a = options === null || options === void 0 ? void 0 : options.listeners) === null || _a === void 0 ? void 0 : _a.stdout;\n const originalStdErrListener = (_b = options === null || options === void 0 ? void 0 : options.listeners) === null || _b === void 0 ? void 0 : _b.stderr;\n const stdErrListener = (data)=>{\n stderr += stderrDecoder.write(data);\n if (originalStdErrListener) originalStdErrListener(data);\n };\n const stdOutListener = (data)=>{\n stdout += stdoutDecoder.write(data);\n if (originalStdoutListener) originalStdoutListener(data);\n };\n const listeners = Object.assign(Object.assign({}, options === null || options === void 0 ? void 0 : options.listeners), {\n stdout: stdOutListener,\n stderr: stdErrListener\n });\n const exitCode = yield $e15501dac30ed2d7$var$exec(commandLine, args, Object.assign(Object.assign({}, options), {\n listeners: listeners\n }));\n //flush any remaining characters\n stdout += stdoutDecoder.end();\n stderr += stderrDecoder.end();\n return {\n exitCode: exitCode,\n stdout: stdout,\n stderr: stderr\n };\n });\n}\nmodule.exports.getExecOutput = $e15501dac30ed2d7$var$getExecOutput;\n\n});\nparcelRequire.register(\"jbxr5\", function(module, exports) {\n\"use strict\";\nvar $df78fb148e5cacf0$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $df78fb148e5cacf0$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $df78fb148e5cacf0$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $df78fb148e5cacf0$var$__createBinding(result, mod, k);\n }\n $df78fb148e5cacf0$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $df78fb148e5cacf0$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.argStringToArray = module.exports.ToolRunner = void 0;\n\nconst $df78fb148e5cacf0$var$os = $df78fb148e5cacf0$var$__importStar($d7DIX$os);\n\nconst $df78fb148e5cacf0$var$events = $df78fb148e5cacf0$var$__importStar($d7DIX$events);\n\nconst $df78fb148e5cacf0$var$child = $df78fb148e5cacf0$var$__importStar($d7DIX$child_process);\n\nconst $df78fb148e5cacf0$var$path = $df78fb148e5cacf0$var$__importStar($d7DIX$path);\n\nconst $df78fb148e5cacf0$var$io = $df78fb148e5cacf0$var$__importStar((parcelRequire(\"fcBgE\")));\n\nconst $df78fb148e5cacf0$var$ioUtil = $df78fb148e5cacf0$var$__importStar((parcelRequire(\"ejt9m\")));\n\n/* eslint-disable @typescript-eslint/unbound-method */ const $df78fb148e5cacf0$var$IS_WINDOWS = process.platform === \"win32\";\n/*\n * Class for running command line tools. Handles quoting and arg parsing in a platform agnostic way.\n */ class $df78fb148e5cacf0$var$ToolRunner extends $df78fb148e5cacf0$var$events.EventEmitter {\n constructor(toolPath, args, options){\n super();\n if (!toolPath) throw new Error(\"Parameter 'toolPath' cannot be null or empty.\");\n this.toolPath = toolPath;\n this.args = args || [];\n this.options = options || {};\n }\n _debug(message) {\n if (this.options.listeners && this.options.listeners.debug) this.options.listeners.debug(message);\n }\n _getCommandString(options, noPrefix) {\n const toolPath = this._getSpawnFileName();\n const args = this._getSpawnArgs(options);\n let cmd = noPrefix ? \"\" : \"[command]\"; // omit prefix when piped to a second tool\n if ($df78fb148e5cacf0$var$IS_WINDOWS) {\n // Windows + cmd file\n if (this._isCmdFile()) {\n cmd += toolPath;\n for (const a of args)cmd += ` ${a}`;\n } else if (options.windowsVerbatimArguments) {\n cmd += `\"${toolPath}\"`;\n for (const a of args)cmd += ` ${a}`;\n } else {\n cmd += this._windowsQuoteCmdArg(toolPath);\n for (const a of args)cmd += ` ${this._windowsQuoteCmdArg(a)}`;\n }\n } else {\n // OSX/Linux - this can likely be improved with some form of quoting.\n // creating processes on Unix is fundamentally different than Windows.\n // on Unix, execvp() takes an arg array.\n cmd += toolPath;\n for (const a of args)cmd += ` ${a}`;\n }\n return cmd;\n }\n _processLineBuffer(data, strBuffer, onLine) {\n try {\n let s = strBuffer + data.toString();\n let n = s.indexOf($df78fb148e5cacf0$var$os.EOL);\n while(n > -1){\n const line = s.substring(0, n);\n onLine(line);\n // the rest of the string ...\n s = s.substring(n + $df78fb148e5cacf0$var$os.EOL.length);\n n = s.indexOf($df78fb148e5cacf0$var$os.EOL);\n }\n return s;\n } catch (err) {\n // streaming lines to console is best effort. Don't fail a build.\n this._debug(`error processing line. Failed with error ${err}`);\n return \"\";\n }\n }\n _getSpawnFileName() {\n if ($df78fb148e5cacf0$var$IS_WINDOWS) {\n if (this._isCmdFile()) return process.env[\"COMSPEC\"] || \"cmd.exe\";\n }\n return this.toolPath;\n }\n _getSpawnArgs(options) {\n if ($df78fb148e5cacf0$var$IS_WINDOWS) {\n if (this._isCmdFile()) {\n let argline = `/D /S /C \"${this._windowsQuoteCmdArg(this.toolPath)}`;\n for (const a of this.args){\n argline += \" \";\n argline += options.windowsVerbatimArguments ? a : this._windowsQuoteCmdArg(a);\n }\n argline += '\"';\n return [\n argline\n ];\n }\n }\n return this.args;\n }\n _endsWith(str, end) {\n return str.endsWith(end);\n }\n _isCmdFile() {\n const upperToolPath = this.toolPath.toUpperCase();\n return this._endsWith(upperToolPath, \".CMD\") || this._endsWith(upperToolPath, \".BAT\");\n }\n _windowsQuoteCmdArg(arg) {\n // for .exe, apply the normal quoting rules that libuv applies\n if (!this._isCmdFile()) return this._uvQuoteCmdArg(arg);\n // otherwise apply quoting rules specific to the cmd.exe command line parser.\n // the libuv rules are generic and are not designed specifically for cmd.exe\n // command line parser.\n //\n // for a detailed description of the cmd.exe command line parser, refer to\n // http://stackoverflow.com/questions/4094699/how-does-the-windows-command-interpreter-cmd-exe-parse-scripts/7970912#7970912\n // need quotes for empty arg\n if (!arg) return '\"\"';\n // determine whether the arg needs to be quoted\n const cmdSpecialChars = [\n \" \",\n \"\t\",\n \"&\",\n \"(\",\n \")\",\n \"[\",\n \"]\",\n \"{\",\n \"}\",\n \"^\",\n \"=\",\n \";\",\n \"!\",\n \"'\",\n \"+\",\n \",\",\n \"`\",\n \"~\",\n \"|\",\n \"<\",\n \">\",\n '\"'\n ];\n let needsQuotes = false;\n for (const char of arg)if (cmdSpecialChars.some((x)=>x === char)) {\n needsQuotes = true;\n break;\n }\n // short-circuit if quotes not needed\n if (!needsQuotes) return arg;\n // the following quoting rules are very similar to the rules that by libuv applies.\n //\n // 1) wrap the string in quotes\n //\n // 2) double-up quotes - i.e. \" => \"\"\n //\n // this is different from the libuv quoting rules. libuv replaces \" with \\\", which unfortunately\n // doesn't work well with a cmd.exe command line.\n //\n // note, replacing \" with \"\" also works well if the arg is passed to a downstream .NET console app.\n // for example, the command line:\n // foo.exe \"myarg:\"\"my val\"\"\"\n // is parsed by a .NET console app into an arg array:\n // [ \"myarg:\\\"my val\\\"\" ]\n // which is the same end result when applying libuv quoting rules. although the actual\n // command line from libuv quoting rules would look like:\n // foo.exe \"myarg:\\\"my val\\\"\"\n //\n // 3) double-up slashes that precede a quote,\n // e.g. hello \\world => \"hello \\world\"\n // hello\\\"world => \"hello\\\\\"\"world\"\n // hello\\\\\"world => \"hello\\\\\\\\\"\"world\"\n // hello world\\ => \"hello world\\\\\"\n //\n // technically this is not required for a cmd.exe command line, or the batch argument parser.\n // the reasons for including this as a .cmd quoting rule are:\n //\n // a) this is optimized for the scenario where the argument is passed from the .cmd file to an\n // external program. many programs (e.g. .NET console apps) rely on the slash-doubling rule.\n //\n // b) it's what we've been doing previously (by deferring to node default behavior) and we\n // haven't heard any complaints about that aspect.\n //\n // note, a weakness of the quoting rules chosen here, is that % is not escaped. in fact, % cannot be\n // escaped when used on the command line directly - even though within a .cmd file % can be escaped\n // by using %%.\n //\n // the saving grace is, on the command line, %var% is left as-is if var is not defined. this contrasts\n // the line parsing rules within a .cmd file, where if var is not defined it is replaced with nothing.\n //\n // one option that was explored was replacing % with ^% - i.e. %var% => ^%var^%. this hack would\n // often work, since it is unlikely that var^ would exist, and the ^ character is removed when the\n // variable is used. the problem, however, is that ^ is not removed when %* is used to pass the args\n // to an external program.\n //\n // an unexplored potential solution for the % escaping problem, is to create a wrapper .cmd file.\n // % can be escaped within a .cmd file.\n let reverse = '\"';\n let quoteHit = true;\n for(let i = arg.length; i > 0; i--){\n // walk the string in reverse\n reverse += arg[i - 1];\n if (quoteHit && arg[i - 1] === \"\\\\\") reverse += \"\\\\\"; // double the slash\n else if (arg[i - 1] === '\"') {\n quoteHit = true;\n reverse += '\"'; // double the quote\n } else quoteHit = false;\n }\n reverse += '\"';\n return reverse.split(\"\").reverse().join(\"\");\n }\n _uvQuoteCmdArg(arg) {\n // Tool runner wraps child_process.spawn() and needs to apply the same quoting as\n // Node in certain cases where the undocumented spawn option windowsVerbatimArguments\n // is used.\n //\n // Since this function is a port of quote_cmd_arg from Node 4.x (technically, lib UV,\n // see https://github.com/nodejs/node/blob/v4.x/deps/uv/src/win/process.c for details),\n // pasting copyright notice from Node within this function:\n //\n // Copyright Joyent, Inc. and other Node contributors. All rights reserved.\n //\n // Permission is hereby granted, free of charge, to any person obtaining a copy\n // of this software and associated documentation files (the \"Software\"), to\n // deal in the Software without restriction, including without limitation the\n // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or\n // sell copies of the Software, and to permit persons to whom the Software is\n // furnished to do so, subject to the following conditions:\n //\n // The above copyright notice and this permission notice shall be included in\n // all copies or substantial portions of the Software.\n //\n // THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\n // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS\n // IN THE SOFTWARE.\n if (!arg) // Need double quotation for empty argument\n return '\"\"';\n if (!arg.includes(\" \") && !arg.includes(\"\t\") && !arg.includes('\"')) // No quotation needed\n return arg;\n if (!arg.includes('\"') && !arg.includes(\"\\\\\")) // No embedded double quotes or backslashes, so I can just wrap\n // quote marks around the whole thing.\n return `\"${arg}\"`;\n // Expected input/output:\n // input : hello\"world\n // output: \"hello\\\"world\"\n // input : hello\"\"world\n // output: \"hello\\\"\\\"world\"\n // input : hello\\world\n // output: hello\\world\n // input : hello\\\\world\n // output: hello\\\\world\n // input : hello\\\"world\n // output: \"hello\\\\\\\"world\"\n // input : hello\\\\\"world\n // output: \"hello\\\\\\\\\\\"world\"\n // input : hello world\\\n // output: \"hello world\\\\\" - note the comment in libuv actually reads \"hello world\\\"\n // but it appears the comment is wrong, it should be \"hello world\\\\\"\n let reverse = '\"';\n let quoteHit = true;\n for(let i = arg.length; i > 0; i--){\n // walk the string in reverse\n reverse += arg[i - 1];\n if (quoteHit && arg[i - 1] === \"\\\\\") reverse += \"\\\\\";\n else if (arg[i - 1] === '\"') {\n quoteHit = true;\n reverse += \"\\\\\";\n } else quoteHit = false;\n }\n reverse += '\"';\n return reverse.split(\"\").reverse().join(\"\");\n }\n _cloneExecOptions(options) {\n options = options || {};\n const result = {\n cwd: options.cwd || process.cwd(),\n env: options.env || process.env,\n silent: options.silent || false,\n windowsVerbatimArguments: options.windowsVerbatimArguments || false,\n failOnStdErr: options.failOnStdErr || false,\n ignoreReturnCode: options.ignoreReturnCode || false,\n delay: options.delay || 10000\n };\n result.outStream = options.outStream || process.stdout;\n result.errStream = options.errStream || process.stderr;\n return result;\n }\n _getSpawnOptions(options, toolPath) {\n options = options || {};\n const result = {};\n result.cwd = options.cwd;\n result.env = options.env;\n result[\"windowsVerbatimArguments\"] = options.windowsVerbatimArguments || this._isCmdFile();\n if (options.windowsVerbatimArguments) result.argv0 = `\"${toolPath}\"`;\n return result;\n }\n /**\n * Exec a tool.\n * Output will be streamed to the live console.\n * Returns promise with return code\n *\n * @param tool path to tool to exec\n * @param options optional exec options. See ExecOptions\n * @returns number\n */ exec() {\n return $df78fb148e5cacf0$var$__awaiter(this, void 0, void 0, function*() {\n // root the tool path if it is unrooted and contains relative pathing\n if (!$df78fb148e5cacf0$var$ioUtil.isRooted(this.toolPath) && (this.toolPath.includes(\"/\") || $df78fb148e5cacf0$var$IS_WINDOWS && this.toolPath.includes(\"\\\\\"))) // prefer options.cwd if it is specified, however options.cwd may also need to be rooted\n this.toolPath = $df78fb148e5cacf0$var$path.resolve(process.cwd(), this.options.cwd || process.cwd(), this.toolPath);\n // if the tool is only a file name, then resolve it from the PATH\n // otherwise verify it exists (add extension on Windows if necessary)\n this.toolPath = yield $df78fb148e5cacf0$var$io.which(this.toolPath, true);\n return new Promise((resolve, reject)=>$df78fb148e5cacf0$var$__awaiter(this, void 0, void 0, function*() {\n this._debug(`exec tool: ${this.toolPath}`);\n this._debug(\"arguments:\");\n for (const arg of this.args)this._debug(` ${arg}`);\n const optionsNonNull = this._cloneExecOptions(this.options);\n if (!optionsNonNull.silent && optionsNonNull.outStream) optionsNonNull.outStream.write(this._getCommandString(optionsNonNull) + $df78fb148e5cacf0$var$os.EOL);\n const state = new $df78fb148e5cacf0$var$ExecState(optionsNonNull, this.toolPath);\n state.on(\"debug\", (message)=>{\n this._debug(message);\n });\n if (this.options.cwd && !(yield $df78fb148e5cacf0$var$ioUtil.exists(this.options.cwd))) return reject(new Error(`The cwd: ${this.options.cwd} does not exist!`));\n const fileName = this._getSpawnFileName();\n const cp = $df78fb148e5cacf0$var$child.spawn(fileName, this._getSpawnArgs(optionsNonNull), this._getSpawnOptions(this.options, fileName));\n let stdbuffer = \"\";\n if (cp.stdout) cp.stdout.on(\"data\", (data)=>{\n if (this.options.listeners && this.options.listeners.stdout) this.options.listeners.stdout(data);\n if (!optionsNonNull.silent && optionsNonNull.outStream) optionsNonNull.outStream.write(data);\n stdbuffer = this._processLineBuffer(data, stdbuffer, (line)=>{\n if (this.options.listeners && this.options.listeners.stdline) this.options.listeners.stdline(line);\n });\n });\n let errbuffer = \"\";\n if (cp.stderr) cp.stderr.on(\"data\", (data)=>{\n state.processStderr = true;\n if (this.options.listeners && this.options.listeners.stderr) this.options.listeners.stderr(data);\n if (!optionsNonNull.silent && optionsNonNull.errStream && optionsNonNull.outStream) {\n const s = optionsNonNull.failOnStdErr ? optionsNonNull.errStream : optionsNonNull.outStream;\n s.write(data);\n }\n errbuffer = this._processLineBuffer(data, errbuffer, (line)=>{\n if (this.options.listeners && this.options.listeners.errline) this.options.listeners.errline(line);\n });\n });\n cp.on(\"error\", (err)=>{\n state.processError = err.message;\n state.processExited = true;\n state.processClosed = true;\n state.CheckComplete();\n });\n cp.on(\"exit\", (code)=>{\n state.processExitCode = code;\n state.processExited = true;\n this._debug(`Exit code ${code} received from tool '${this.toolPath}'`);\n state.CheckComplete();\n });\n cp.on(\"close\", (code)=>{\n state.processExitCode = code;\n state.processExited = true;\n state.processClosed = true;\n this._debug(`STDIO streams have closed for tool '${this.toolPath}'`);\n state.CheckComplete();\n });\n state.on(\"done\", (error, exitCode)=>{\n if (stdbuffer.length > 0) this.emit(\"stdline\", stdbuffer);\n if (errbuffer.length > 0) this.emit(\"errline\", errbuffer);\n cp.removeAllListeners();\n if (error) reject(error);\n else resolve(exitCode);\n });\n if (this.options.input) {\n if (!cp.stdin) throw new Error(\"child process missing stdin\");\n cp.stdin.end(this.options.input);\n }\n }));\n });\n }\n}\nmodule.exports.ToolRunner = $df78fb148e5cacf0$var$ToolRunner;\n/**\n * Convert an arg string to an array of args. Handles escaping\n *\n * @param argString string of arguments\n * @returns string[] array of arguments\n */ function $df78fb148e5cacf0$var$argStringToArray(argString) {\n const args = [];\n let inQuotes = false;\n let escaped = false;\n let arg = \"\";\n function append(c) {\n // we only escape double quotes.\n if (escaped && c !== '\"') arg += \"\\\\\";\n arg += c;\n escaped = false;\n }\n for(let i = 0; i < argString.length; i++){\n const c = argString.charAt(i);\n if (c === '\"') {\n if (!escaped) inQuotes = !inQuotes;\n else append(c);\n continue;\n }\n if (c === \"\\\\\" && escaped) {\n append(c);\n continue;\n }\n if (c === \"\\\\\" && inQuotes) {\n escaped = true;\n continue;\n }\n if (c === \" \" && !inQuotes) {\n if (arg.length > 0) {\n args.push(arg);\n arg = \"\";\n }\n continue;\n }\n append(c);\n }\n if (arg.length > 0) args.push(arg.trim());\n return args;\n}\nmodule.exports.argStringToArray = $df78fb148e5cacf0$var$argStringToArray;\nclass $df78fb148e5cacf0$var$ExecState extends $df78fb148e5cacf0$var$events.EventEmitter {\n constructor(options, toolPath){\n super();\n this.processClosed = false; // tracks whether the process has exited and stdio is closed\n this.processError = \"\";\n this.processExitCode = 0;\n this.processExited = false; // tracks whether the process has exited\n this.processStderr = false; // tracks whether stderr was written to\n this.delay = 10000; // 10 seconds\n this.done = false;\n this.timeout = null;\n if (!toolPath) throw new Error(\"toolPath must not be empty\");\n this.options = options;\n this.toolPath = toolPath;\n if (options.delay) this.delay = options.delay;\n }\n CheckComplete() {\n if (this.done) return;\n if (this.processClosed) this._setResult();\n else if (this.processExited) this.timeout = $d7DIX$timers.setTimeout($df78fb148e5cacf0$var$ExecState.HandleTimeout, this.delay, this);\n }\n _debug(message) {\n this.emit(\"debug\", message);\n }\n _setResult() {\n // determine whether there is an error\n let error;\n if (this.processExited) {\n if (this.processError) error = new Error(`There was an error when attempting to execute the process '${this.toolPath}'. This may indicate the process failed to start. Error: ${this.processError}`);\n else if (this.processExitCode !== 0 && !this.options.ignoreReturnCode) error = new Error(`The process '${this.toolPath}' failed with exit code ${this.processExitCode}`);\n else if (this.processStderr && this.options.failOnStdErr) error = new Error(`The process '${this.toolPath}' failed because one or more lines were written to the STDERR stream`);\n }\n // clear the timeout\n if (this.timeout) {\n clearTimeout(this.timeout);\n this.timeout = null;\n }\n this.done = true;\n this.emit(\"done\", error, this.processExitCode);\n }\n static HandleTimeout(state) {\n if (state.done) return;\n if (!state.processClosed && state.processExited) {\n const message = `The STDIO streams did not close within ${state.delay / 1000} seconds of the exit event from process '${state.toolPath}'. This may indicate a child process inherited the STDIO streams and has not yet exited.`;\n state._debug(message);\n }\n state._setResult();\n }\n}\n\n});\n\n\nparcelRequire.register(\"5fF9z\", function(module, exports) {\nmodule.exports = Promise.resolve(require(\"./actions_python.c36737fd.js\")).then(()=>parcelRequire(\"4kQHk\"));\n\n});\n\n\nvar $dTX7a = parcelRequire(\"dTX7a\");\n\nvar $ER74K = parcelRequire(\"ER74K\");\n\nvar $ggaxg = parcelRequire(\"ggaxg\");\nvar $77f70800b555d1e7$exports = {};\n\n(function() {\n var root = this;\n var numerous;\n numerous = (parcelRequire(\"fXZh0\"));\n numerous.addLocale(\"en\", function pluralize_en(n /*``*/ ) {\n var i = Math.floor(Math.abs(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($77f70800b555d1e7$exports);\n\n\nvar $4ba97ccf92dfb41c$exports = {};\n\n$4ba97ccf92dfb41c$exports = (parcelRequire(\"25uEY\"));\n\n\nvar $498ff720bdcc9abb$exports = {};\n$498ff720bdcc9abb$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\n\n\nvar $3bf27a0c0259fd00$exports = {};\n\"use strict\";\n\nconst $3bf27a0c0259fd00$var$homeDirectory = $d7DIX$os.homedir();\n$3bf27a0c0259fd00$exports = (pathWithTilde)=>{\n if (typeof pathWithTilde !== \"string\") throw new TypeError(`Expected a string, got ${typeof pathWithTilde}`);\n return $3bf27a0c0259fd00$var$homeDirectory ? pathWithTilde.replace(/^~(?=$|\\/|\\\\)/, $3bf27a0c0259fd00$var$homeDirectory) : pathWithTilde;\n};\n\n\nvar $a144cf96e3e9a15c$exports = {};\nconst $a144cf96e3e9a15c$var$isWindows = process.platform === \"win32\" || process.env.OSTYPE === \"cygwin\" || process.env.OSTYPE === \"msys\";\n\nconst $a144cf96e3e9a15c$var$COLON = $a144cf96e3e9a15c$var$isWindows ? \";\" : \":\";\nvar $ff1862185d1397df$exports = {};\n\nvar $ff1862185d1397df$var$core;\n\n\nif (process.platform === \"win32\" || $parcel$global.TESTING_WINDOWS) $ff1862185d1397df$var$core = (parcelRequire(\"a3PNV\"));\nelse $ff1862185d1397df$var$core = (parcelRequire(\"7gw6J\"));\n$ff1862185d1397df$exports = $ff1862185d1397df$var$isexe;\n$ff1862185d1397df$var$isexe.sync = $ff1862185d1397df$var$sync;\nfunction $ff1862185d1397df$var$isexe(path, options, cb) {\n if (typeof options === \"function\") {\n cb = options;\n options = {};\n }\n if (!cb) {\n if (typeof Promise !== \"function\") throw new TypeError(\"callback not provided\");\n return new Promise(function(resolve, reject) {\n $ff1862185d1397df$var$isexe(path, options || {}, function(er, is) {\n if (er) reject(er);\n else resolve(is);\n });\n });\n }\n $ff1862185d1397df$var$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}\nfunction $ff1862185d1397df$var$sync(path, options) {\n // my kingdom for a filtered catch\n try {\n return $ff1862185d1397df$var$core.sync(path, options || {});\n } catch (er) {\n if (options && options.ignoreErrors || er.code === \"EACCES\") return false;\n else throw er;\n }\n}\n\n\nconst $a144cf96e3e9a15c$var$getNotFoundError = (cmd)=>Object.assign(new Error(`not found: ${cmd}`), {\n code: \"ENOENT\"\n });\nconst $a144cf96e3e9a15c$var$getPathInfo = (cmd, opt)=>{\n const colon = opt.colon || $a144cf96e3e9a15c$var$COLON;\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(/\\//) || $a144cf96e3e9a15c$var$isWindows && cmd.match(/\\\\/) ? [\n \"\"\n ] : [\n // windows always checks the cwd first\n ...$a144cf96e3e9a15c$var$isWindows ? [\n process.cwd()\n ] : [],\n ...(opt.path || process.env.PATH || /* istanbul ignore next: very unusual */ \"\").split(colon)\n ];\n const pathExtExe = $a144cf96e3e9a15c$var$isWindows ? opt.pathExt || process.env.PATHEXT || \".EXE;.CMD;.BAT;.COM\" : \"\";\n const pathExt = $a144cf96e3e9a15c$var$isWindows ? pathExtExe.split(colon) : [\n \"\"\n ];\n if ($a144cf96e3e9a15c$var$isWindows) {\n if (cmd.indexOf(\".\") !== -1 && pathExt[0] !== \"\") pathExt.unshift(\"\");\n }\n return {\n pathEnv: pathEnv,\n pathExt: pathExt,\n pathExtExe: pathExtExe\n };\n};\nconst $a144cf96e3e9a15c$var$which = (cmd, opt, cb)=>{\n if (typeof opt === \"function\") {\n cb = opt;\n opt = {};\n }\n if (!opt) opt = {};\n const { pathEnv: pathEnv, pathExt: pathExt, pathExtExe: pathExtExe } = $a144cf96e3e9a15c$var$getPathInfo(cmd, opt);\n const found = [];\n const step = (i)=>new Promise((resolve, reject)=>{\n if (i === pathEnv.length) return opt.all && found.length ? resolve(found) : reject($a144cf96e3e9a15c$var$getNotFoundError(cmd));\n const ppRaw = pathEnv[i];\n const pathPart = /^\".*\"$/.test(ppRaw) ? ppRaw.slice(1, -1) : ppRaw;\n const pCmd = $d7DIX$path.join(pathPart, cmd);\n const p = !pathPart && /^\\.[\\\\\\/]/.test(cmd) ? cmd.slice(0, 2) + pCmd : pCmd;\n resolve(subStep(p, i, 0));\n });\n const subStep = (p, i, ii)=>new Promise((resolve, reject)=>{\n if (ii === pathExt.length) return resolve(step(i + 1));\n const ext = pathExt[ii];\n $ff1862185d1397df$exports(p + ext, {\n pathExt: pathExtExe\n }, (er, is)=>{\n if (!er && is) {\n if (opt.all) found.push(p + ext);\n else return resolve(p + ext);\n }\n return resolve(subStep(p, i, ii + 1));\n });\n });\n return cb ? step(0).then((res)=>cb(null, res), cb) : step(0);\n};\nconst $a144cf96e3e9a15c$var$whichSync = (cmd, opt)=>{\n opt = opt || {};\n const { pathEnv: pathEnv, pathExt: pathExt, pathExtExe: pathExtExe } = $a144cf96e3e9a15c$var$getPathInfo(cmd, opt);\n const found = [];\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 const pCmd = $d7DIX$path.join(pathPart, cmd);\n const p = !pathPart && /^\\.[\\\\\\/]/.test(cmd) ? cmd.slice(0, 2) + pCmd : pCmd;\n for(let j = 0; j < pathExt.length; j++){\n const cur = p + pathExt[j];\n try {\n const is = $ff1862185d1397df$exports.sync(cur, {\n pathExt: pathExtExe\n });\n if (is) {\n if (opt.all) found.push(cur);\n else return cur;\n }\n } catch (ex) {}\n }\n }\n if (opt.all && found.length) return found;\n if (opt.nothrow) return null;\n throw $a144cf96e3e9a15c$var$getNotFoundError(cmd);\n};\n$a144cf96e3e9a15c$exports = $a144cf96e3e9a15c$var$which;\n$a144cf96e3e9a15c$var$which.sync = $a144cf96e3e9a15c$var$whichSync;\n\n\nvar $875a6e6d11e2ed2f$exports = {};\n\"use strict\";\n\n\nvar $c7dd3a41c12bbb5b$exports = {};\n\"use strict\";\n\nvar $3a725e5932cc672a$exports = {};\n\"use strict\";\n\nvar $a819f7a726783acc$exports = {};\n\"use strict\";\n\n\nvar $21a0412ea0df2284$exports = {};\n\"use strict\";\nconst $21a0412ea0df2284$var$pathKey = (options = {})=>{\n const environment = options.env || process.env;\n const platform = options.platform || process.platform;\n if (platform !== \"win32\") return \"PATH\";\n return Object.keys(environment).reverse().find((key)=>key.toUpperCase() === \"PATH\") || \"Path\";\n};\n$21a0412ea0df2284$exports = $21a0412ea0df2284$var$pathKey;\n// TODO: Remove this for the next major release\n$21a0412ea0df2284$exports.default = $21a0412ea0df2284$var$pathKey;\n\n\nfunction $a819f7a726783acc$var$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 // 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) try {\n process.chdir(parsed.options.cwd);\n } catch (err) {\n /* Empty */ }\n let resolved;\n try {\n resolved = $a144cf96e3e9a15c$exports.sync(parsed.command, {\n path: env[$21a0412ea0df2284$exports({\n env: env\n })],\n pathExt: withoutPathExt ? $d7DIX$path.delimiter : undefined\n });\n } catch (e) {\n /* Empty */ } finally{\n if (shouldSwitchCwd) process.chdir(cwd);\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) resolved = $d7DIX$path.resolve(hasCustomCwd ? parsed.options.cwd : \"\", resolved);\n return resolved;\n}\nfunction $a819f7a726783acc$var$resolveCommand(parsed) {\n return $a819f7a726783acc$var$resolveCommandAttempt(parsed) || $a819f7a726783acc$var$resolveCommandAttempt(parsed, true);\n}\n$a819f7a726783acc$exports = $a819f7a726783acc$var$resolveCommand;\n\n\nvar $1384d7bdf71358ff$export$ae50443ffc990749;\nvar $1384d7bdf71358ff$export$6ea29ee575e3f5ff;\n\"use strict\";\n// See http://www.robvanderwoude.com/escapechars.php\nconst $1384d7bdf71358ff$var$metaCharsRegExp = /([()\\][%!^\"`<>&|;, *?])/g;\nfunction $1384d7bdf71358ff$var$escapeCommand(arg) {\n // Escape meta chars\n arg = arg.replace($1384d7bdf71358ff$var$metaCharsRegExp, \"^$1\");\n return arg;\n}\nfunction $1384d7bdf71358ff$var$escapeArgument(arg, doubleEscapeMetaChars) {\n // Convert to string\n arg = `${arg}`;\n // Algorithm below is based on https://qntm.org/cmd\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 // 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 // All other backslashes occur literally\n // Quote the whole thing:\n arg = `\"${arg}\"`;\n // Escape meta chars\n arg = arg.replace($1384d7bdf71358ff$var$metaCharsRegExp, \"^$1\");\n // Double escape meta chars if necessary\n if (doubleEscapeMetaChars) arg = arg.replace($1384d7bdf71358ff$var$metaCharsRegExp, \"^$1\");\n return arg;\n}\n$1384d7bdf71358ff$export$ae50443ffc990749 = $1384d7bdf71358ff$var$escapeCommand;\n$1384d7bdf71358ff$export$6ea29ee575e3f5ff = $1384d7bdf71358ff$var$escapeArgument;\n\n\nvar $10624ba8b1855359$exports = {};\n\"use strict\";\n\nvar $a029f1528dbf601b$exports = {};\n\"use strict\";\nvar $8262b66a7385d3da$exports = {};\n\"use strict\";\n$8262b66a7385d3da$exports = /^#!(.*)/;\n\n\n$a029f1528dbf601b$exports = (string = \"\")=>{\n const match = string.match($8262b66a7385d3da$exports);\n if (!match) return null;\n const [path, argument] = match[0].replace(/#! ?/, \"\").split(\" \");\n const binary = path.split(\"/\").pop();\n if (binary === \"env\") return argument;\n return argument ? `${binary} ${argument}` : binary;\n};\n\n\nfunction $10624ba8b1855359$var$readShebang(command) {\n // Read the first 150 bytes from the file\n const size = 150;\n const buffer = Buffer.alloc(size);\n let fd;\n try {\n fd = $d7DIX$fs.openSync(command, \"r\");\n $d7DIX$fs.readSync(fd, buffer, 0, size, 0);\n $d7DIX$fs.closeSync(fd);\n } catch (e) {}\n // Attempt to extract shebang (null is returned if not a shebang)\n return $a029f1528dbf601b$exports(buffer.toString());\n}\n$10624ba8b1855359$exports = $10624ba8b1855359$var$readShebang;\n\n\nconst $3a725e5932cc672a$var$isWin = process.platform === \"win32\";\nconst $3a725e5932cc672a$var$isExecutableRegExp = /\\.(?:com|exe)$/i;\nconst $3a725e5932cc672a$var$isCmdShimRegExp = /node_modules[\\\\/].bin[\\\\/][^\\\\/]+\\.cmd$/i;\nfunction $3a725e5932cc672a$var$detectShebang(parsed) {\n parsed.file = $a819f7a726783acc$exports(parsed);\n const shebang = parsed.file && $10624ba8b1855359$exports(parsed.file);\n if (shebang) {\n parsed.args.unshift(parsed.file);\n parsed.command = shebang;\n return $a819f7a726783acc$exports(parsed);\n }\n return parsed.file;\n}\nfunction $3a725e5932cc672a$var$parseNonShell(parsed) {\n if (!$3a725e5932cc672a$var$isWin) return parsed;\n // Detect & add support for shebangs\n const commandFile = $3a725e5932cc672a$var$detectShebang(parsed);\n // We don't need a shell if the command filename is an executable\n const needsShell = !$3a725e5932cc672a$var$isExecutableRegExp.test(commandFile);\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 = $3a725e5932cc672a$var$isCmdShimRegExp.test(commandFile);\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 = $d7DIX$path.normalize(parsed.command);\n // Escape command & arguments\n parsed.command = $1384d7bdf71358ff$export$ae50443ffc990749(parsed.command);\n parsed.args = parsed.args.map((arg)=>$1384d7bdf71358ff$export$6ea29ee575e3f5ff(arg, needsDoubleEscapeMetaChars));\n const shellCommand = [\n parsed.command\n ].concat(parsed.args).join(\" \");\n parsed.args = [\n \"/d\",\n \"/s\",\n \"/c\",\n `\"${shellCommand}\"`\n ];\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 return parsed;\n}\nfunction $3a725e5932cc672a$var$parse(command, args, options) {\n // Normalize arguments, similar to nodejs\n if (args && !Array.isArray(args)) {\n options = args;\n args = null;\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 // Build our parsed object\n const parsed = {\n command: command,\n args: args,\n options: options,\n file: undefined,\n original: {\n command: command,\n args: args\n }\n };\n // Delegate further parsing to shell or non-shell\n return options.shell ? parsed : $3a725e5932cc672a$var$parseNonShell(parsed);\n}\n$3a725e5932cc672a$exports = $3a725e5932cc672a$var$parse;\n\n\nvar $04034165e615e404$exports = {};\n\"use strict\";\nconst $04034165e615e404$var$isWin = process.platform === \"win32\";\nfunction $04034165e615e404$var$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}\nfunction $04034165e615e404$var$hookChildProcess(cp, parsed) {\n if (!$04034165e615e404$var$isWin) return;\n const originalEmit = cp.emit;\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 = $04034165e615e404$var$verifyENOENT(arg1, parsed, \"spawn\");\n if (err) return originalEmit.call(cp, \"error\", err);\n }\n return originalEmit.apply(cp, arguments); // eslint-disable-line prefer-rest-params\n };\n}\nfunction $04034165e615e404$var$verifyENOENT(status, parsed) {\n if ($04034165e615e404$var$isWin && status === 1 && !parsed.file) return $04034165e615e404$var$notFoundError(parsed.original, \"spawn\");\n return null;\n}\nfunction $04034165e615e404$var$verifyENOENTSync(status, parsed) {\n if ($04034165e615e404$var$isWin && status === 1 && !parsed.file) return $04034165e615e404$var$notFoundError(parsed.original, \"spawnSync\");\n return null;\n}\n$04034165e615e404$exports = {\n hookChildProcess: $04034165e615e404$var$hookChildProcess,\n verifyENOENT: $04034165e615e404$var$verifyENOENT,\n verifyENOENTSync: $04034165e615e404$var$verifyENOENTSync,\n notFoundError: $04034165e615e404$var$notFoundError\n};\n\n\nfunction $c7dd3a41c12bbb5b$var$spawn(command, args, options) {\n // Parse the arguments\n const parsed = $3a725e5932cc672a$exports(command, args, options);\n // Spawn the child process\n const spawned = $d7DIX$child_process.spawn(parsed.command, parsed.args, parsed.options);\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 $04034165e615e404$exports.hookChildProcess(spawned, parsed);\n return spawned;\n}\nfunction $c7dd3a41c12bbb5b$var$spawnSync(command, args, options) {\n // Parse the arguments\n const parsed = $3a725e5932cc672a$exports(command, args, options);\n // Spawn the child process\n const result = $d7DIX$child_process.spawnSync(parsed.command, parsed.args, parsed.options);\n // Analyze if the command does not exist, see: https://github.com/IndigoUnited/node-cross-spawn/issues/16\n result.error = result.error || $04034165e615e404$exports.verifyENOENTSync(result.status, parsed);\n return result;\n}\n$c7dd3a41c12bbb5b$exports = $c7dd3a41c12bbb5b$var$spawn;\n$c7dd3a41c12bbb5b$exports.spawn = $c7dd3a41c12bbb5b$var$spawn;\n$c7dd3a41c12bbb5b$exports.sync = $c7dd3a41c12bbb5b$var$spawnSync;\n$c7dd3a41c12bbb5b$exports._parse = $3a725e5932cc672a$exports;\n$c7dd3a41c12bbb5b$exports._enoent = $04034165e615e404$exports;\n\n\nvar $c6c34cab6d11f47e$exports = {};\n\"use strict\";\n$c6c34cab6d11f47e$exports = (input)=>{\n const LF = typeof input === \"string\" ? \"\\n\" : \"\\n\".charCodeAt();\n const CR = typeof input === \"string\" ? \"\\r\" : \"\\r\".charCodeAt();\n if (input[input.length - 1] === LF) input = input.slice(0, input.length - 1);\n if (input[input.length - 1] === CR) input = input.slice(0, input.length - 1);\n return input;\n};\n\n\nvar $020b45bf5d462a46$exports = {};\n\"use strict\";\n\n\nconst $020b45bf5d462a46$var$npmRunPath = (options)=>{\n options = {\n cwd: process.cwd(),\n path: process.env[$21a0412ea0df2284$exports()],\n execPath: process.execPath,\n ...options\n };\n let previous;\n let cwdPath = $d7DIX$path.resolve(options.cwd);\n const result = [];\n while(previous !== cwdPath){\n result.push($d7DIX$path.join(cwdPath, \"node_modules/.bin\"));\n previous = cwdPath;\n cwdPath = $d7DIX$path.resolve(cwdPath, \"..\");\n }\n // Ensure the running `node` binary is used\n const execPathDir = $d7DIX$path.resolve(options.cwd, options.execPath, \"..\");\n result.push(execPathDir);\n return result.concat(options.path).join($d7DIX$path.delimiter);\n};\n$020b45bf5d462a46$exports = $020b45bf5d462a46$var$npmRunPath;\n// TODO: Remove this for the next major release\n$020b45bf5d462a46$exports.default = $020b45bf5d462a46$var$npmRunPath;\n$020b45bf5d462a46$exports.env = (options)=>{\n options = {\n env: process.env,\n ...options\n };\n const env = {\n ...options.env\n };\n const path = $21a0412ea0df2284$exports({\n env: env\n });\n options.path = env[path];\n env[path] = $020b45bf5d462a46$exports(options);\n return env;\n};\n\n\nvar $f1134ba5c844ad01$exports = {};\n\"use strict\";\nvar $a3a2a3f28e4966ed$exports = {};\n\"use strict\";\nconst $a3a2a3f28e4966ed$var$mimicFn = (to, from)=>{\n for (const prop of Reflect.ownKeys(from))Object.defineProperty(to, prop, Object.getOwnPropertyDescriptor(from, prop));\n return to;\n};\n$a3a2a3f28e4966ed$exports = $a3a2a3f28e4966ed$var$mimicFn;\n// TODO: Remove this for the next major release\n$a3a2a3f28e4966ed$exports.default = $a3a2a3f28e4966ed$var$mimicFn;\n\n\nconst $f1134ba5c844ad01$var$calledFunctions = new WeakMap();\nconst $f1134ba5c844ad01$var$onetime = (function_, options = {})=>{\n if (typeof function_ !== \"function\") throw new TypeError(\"Expected a function\");\n let returnValue;\n let callCount = 0;\n const functionName = function_.displayName || function_.name || \"\";\n const onetime = function(...arguments_) {\n $f1134ba5c844ad01$var$calledFunctions.set(onetime, ++callCount);\n if (callCount === 1) {\n returnValue = function_.apply(this, arguments_);\n function_ = null;\n } else if (options.throw === true) throw new Error(`Function \\`${functionName}\\` can only be called once`);\n return returnValue;\n };\n $a3a2a3f28e4966ed$exports(onetime, function_);\n $f1134ba5c844ad01$var$calledFunctions.set(onetime, callCount);\n return onetime;\n};\n$f1134ba5c844ad01$exports = $f1134ba5c844ad01$var$onetime;\n// TODO: Remove this for the next major release\n$f1134ba5c844ad01$exports.default = $f1134ba5c844ad01$var$onetime;\n$f1134ba5c844ad01$exports.callCount = (function_)=>{\n if (!$f1134ba5c844ad01$var$calledFunctions.has(function_)) throw new Error(`The given function \\`${function_.name}\\` is not wrapped by the \\`onetime\\` package`);\n return $f1134ba5c844ad01$var$calledFunctions.get(function_);\n};\n\n\nvar $fe0749d2cd50e67f$exports = {};\n\"use strict\";\nvar $d3295d2905495902$exports = {};\n\"use strict\";\nObject.defineProperty($d3295d2905495902$exports, \"__esModule\", {\n value: true\n});\n$d3295d2905495902$exports.signalsByNumber = $d3295d2905495902$exports.signalsByName = void 0;\n\nvar $0e9b315178036cad$exports = {};\n\"use strict\";\nObject.defineProperty($0e9b315178036cad$exports, \"__esModule\", {\n value: true\n});\n$0e9b315178036cad$exports.getSignals = void 0;\n\nvar $f18406d95ca9d0c1$exports = {};\n\"use strict\";\nObject.defineProperty($f18406d95ca9d0c1$exports, \"__esModule\", {\n value: true\n});\n$f18406d95ca9d0c1$exports.SIGNALS = void 0;\nconst $f18406d95ca9d0c1$var$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: \"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$f18406d95ca9d0c1$exports.SIGNALS = $f18406d95ca9d0c1$var$SIGNALS;\n\n\nvar $261fa5710718787b$exports = {};\n\"use strict\";\nObject.defineProperty($261fa5710718787b$exports, \"__esModule\", {\n value: true\n});\n$261fa5710718787b$exports.SIGRTMAX = $261fa5710718787b$exports.getRealtimeSignals = void 0;\nconst $261fa5710718787b$var$getRealtimeSignals = function() {\n const length = $261fa5710718787b$var$SIGRTMAX - $261fa5710718787b$var$SIGRTMIN + 1;\n return Array.from({\n length: length\n }, $261fa5710718787b$var$getRealtimeSignal);\n};\n$261fa5710718787b$exports.getRealtimeSignals = $261fa5710718787b$var$getRealtimeSignals;\nconst $261fa5710718787b$var$getRealtimeSignal = function(value, index) {\n return {\n name: `SIGRT${index + 1}`,\n number: $261fa5710718787b$var$SIGRTMIN + index,\n action: \"terminate\",\n description: \"Application-specific signal (realtime)\",\n standard: \"posix\"\n };\n};\nconst $261fa5710718787b$var$SIGRTMIN = 34;\nconst $261fa5710718787b$var$SIGRTMAX = 64;\n$261fa5710718787b$exports.SIGRTMAX = $261fa5710718787b$var$SIGRTMAX;\n\n\nconst $0e9b315178036cad$var$getSignals = function() {\n const realtimeSignals = (0, $261fa5710718787b$exports.getRealtimeSignals)();\n const signals = [\n ...$f18406d95ca9d0c1$exports.SIGNALS,\n ...realtimeSignals\n ].map($0e9b315178036cad$var$normalizeSignal);\n return signals;\n};\n$0e9b315178036cad$exports.getSignals = $0e9b315178036cad$var$getSignals;\nconst $0e9b315178036cad$var$normalizeSignal = function({ name: name, number: defaultNumber, description: description, action: action, forced: forced = false, standard: standard }) {\n const { signals: { [name]: constantSignal } } = $d7DIX$os.constants;\n const supported = constantSignal !== undefined;\n const number = supported ? constantSignal : defaultNumber;\n return {\n name: name,\n number: number,\n description: description,\n supported: supported,\n action: action,\n forced: forced,\n standard: standard\n };\n};\n\n\n\nconst $d3295d2905495902$var$getSignalsByName = function() {\n const signals = (0, $0e9b315178036cad$exports.getSignals)();\n return signals.reduce($d3295d2905495902$var$getSignalByName, {});\n};\nconst $d3295d2905495902$var$getSignalByName = function(signalByNameMemo, { name: name, number: number, description: description, supported: supported, action: action, forced: forced, standard: standard }) {\n return {\n ...signalByNameMemo,\n [name]: {\n name: name,\n number: number,\n description: description,\n supported: supported,\n action: action,\n forced: forced,\n standard: standard\n }\n };\n};\nconst $d3295d2905495902$var$signalsByName = $d3295d2905495902$var$getSignalsByName();\n$d3295d2905495902$exports.signalsByName = $d3295d2905495902$var$signalsByName;\nconst $d3295d2905495902$var$getSignalsByNumber = function() {\n const signals = (0, $0e9b315178036cad$exports.getSignals)();\n const length = $261fa5710718787b$exports.SIGRTMAX + 1;\n const signalsA = Array.from({\n length: length\n }, (value, number)=>$d3295d2905495902$var$getSignalByNumber(number, signals));\n return Object.assign({}, ...signalsA);\n};\nconst $d3295d2905495902$var$getSignalByNumber = function(number, signals) {\n const signal = $d3295d2905495902$var$findSignalByNumber(number, signals);\n if (signal === undefined) return {};\n const { name: name, description: description, supported: supported, action: action, forced: forced, standard: standard } = signal;\n return {\n [number]: {\n name: name,\n number: number,\n description: description,\n supported: supported,\n action: action,\n forced: forced,\n standard: standard\n }\n };\n};\nconst $d3295d2905495902$var$findSignalByNumber = function(number, signals) {\n const signal = signals.find(({ name: name })=>$d7DIX$os.constants.signals[name] === number);\n if (signal !== undefined) return signal;\n return signals.find((signalA)=>signalA.number === number);\n};\nconst $d3295d2905495902$var$signalsByNumber = $d3295d2905495902$var$getSignalsByNumber();\n$d3295d2905495902$exports.signalsByNumber = $d3295d2905495902$var$signalsByNumber;\n\n\nvar $fe0749d2cd50e67f$require$signalsByName = $d3295d2905495902$exports.signalsByName;\nconst $fe0749d2cd50e67f$var$getErrorPrefix = ({ timedOut: timedOut, timeout: timeout, errorCode: errorCode, signal: signal, signalDescription: signalDescription, exitCode: exitCode, isCanceled: isCanceled })=>{\n if (timedOut) return `timed out after ${timeout} milliseconds`;\n if (isCanceled) return \"was canceled\";\n if (errorCode !== undefined) return `failed with ${errorCode}`;\n if (signal !== undefined) return `was killed with ${signal} (${signalDescription})`;\n if (exitCode !== undefined) return `failed with exit code ${exitCode}`;\n return \"failed\";\n};\nconst $fe0749d2cd50e67f$var$makeError = ({ stdout: stdout, stderr: stderr, all: all, error: error, signal: signal, exitCode: exitCode, command: command, escapedCommand: escapedCommand, timedOut: timedOut, isCanceled: isCanceled, killed: killed, parsed: { options: { timeout: timeout } } })=>{\n // `signal` and `exitCode` emitted on `spawned.on('exit')` event can be `null`.\n // We normalize them to `undefined`\n exitCode = exitCode === null ? undefined : exitCode;\n signal = signal === null ? undefined : signal;\n const signalDescription = signal === undefined ? undefined : $fe0749d2cd50e67f$require$signalsByName[signal].description;\n const errorCode = error && error.code;\n const prefix = $fe0749d2cd50e67f$var$getErrorPrefix({\n timedOut: timedOut,\n timeout: timeout,\n errorCode: errorCode,\n signal: signal,\n signalDescription: signalDescription,\n exitCode: exitCode,\n isCanceled: isCanceled\n });\n const execaMessage = `Command ${prefix}: ${command}`;\n const isError = Object.prototype.toString.call(error) === \"[object Error]\";\n const shortMessage = isError ? `${execaMessage}\\n${error.message}` : execaMessage;\n const message = [\n shortMessage,\n stderr,\n stdout\n ].filter(Boolean).join(\"\\n\");\n if (isError) {\n error.originalMessage = error.message;\n error.message = message;\n } else error = new Error(message);\n error.shortMessage = shortMessage;\n error.command = command;\n error.escapedCommand = escapedCommand;\n error.exitCode = exitCode;\n error.signal = signal;\n error.signalDescription = signalDescription;\n error.stdout = stdout;\n error.stderr = stderr;\n if (all !== undefined) error.all = all;\n if (\"bufferedData\" in error) delete error.bufferedData;\n error.failed = true;\n error.timedOut = Boolean(timedOut);\n error.isCanceled = isCanceled;\n error.killed = killed && !timedOut;\n return error;\n};\n$fe0749d2cd50e67f$exports = $fe0749d2cd50e67f$var$makeError;\n\n\nvar $c678cc3f77a5df8f$exports = {};\n\"use strict\";\nconst $c678cc3f77a5df8f$var$aliases = [\n \"stdin\",\n \"stdout\",\n \"stderr\"\n];\nconst $c678cc3f77a5df8f$var$hasAlias = (options)=>$c678cc3f77a5df8f$var$aliases.some((alias)=>options[alias] !== undefined);\nconst $c678cc3f77a5df8f$var$normalizeStdio = (options)=>{\n if (!options) return;\n const { stdio: stdio } = options;\n if (stdio === undefined) return $c678cc3f77a5df8f$var$aliases.map((alias)=>options[alias]);\n if ($c678cc3f77a5df8f$var$hasAlias(options)) throw new Error(`It's not possible to provide \\`stdio\\` in combination with one of ${$c678cc3f77a5df8f$var$aliases.map((alias)=>`\\`${alias}\\``).join(\", \")}`);\n if (typeof stdio === \"string\") return stdio;\n if (!Array.isArray(stdio)) throw new TypeError(`Expected \\`stdio\\` to be of type \\`string\\` or \\`Array\\`, got \\`${typeof stdio}\\``);\n const length = Math.max(stdio.length, $c678cc3f77a5df8f$var$aliases.length);\n return Array.from({\n length: length\n }, (value, index)=>stdio[index]);\n};\n$c678cc3f77a5df8f$exports = $c678cc3f77a5df8f$var$normalizeStdio;\n// `ipc` is pushed unless it is already present\n$c678cc3f77a5df8f$exports.node = (options)=>{\n const stdio = $c678cc3f77a5df8f$var$normalizeStdio(options);\n if (stdio === \"ipc\") return \"ipc\";\n if (stdio === undefined || typeof stdio === \"string\") return [\n stdio,\n stdio,\n stdio,\n \"ipc\"\n ];\n if (stdio.includes(\"ipc\")) return stdio;\n return [\n ...stdio,\n \"ipc\"\n ];\n};\n\n\nvar $5add7917bf680282$exports = {};\n\"use strict\";\n\nvar $7a0875ae79160463$exports = {};\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 $7a0875ae79160463$var$process = $parcel$global.process;\nconst $7a0875ae79160463$var$processOk = function(process) {\n return process && typeof process === \"object\" && typeof process.removeListener === \"function\" && typeof process.emit === \"function\" && typeof process.reallyExit === \"function\" && typeof process.listeners === \"function\" && typeof process.kill === \"function\" && typeof process.pid === \"number\" && typeof process.on === \"function\";\n};\n\n\n\n// some kind of non-node environment, just no-op\n/* istanbul ignore if */ if (!$7a0875ae79160463$var$processOk($7a0875ae79160463$var$process)) $7a0875ae79160463$exports = function() {\n return function() {};\n};\nelse {\n var $7a0875ae79160463$var$assert = $d7DIX$assert;\n var $7a0875ae79160463$var$signals = (parcelRequire(\"1YMV0\"));\n var $7a0875ae79160463$var$isWin = /^win/i.test($7a0875ae79160463$var$process.platform);\n var $7a0875ae79160463$var$EE = $d7DIX$events;\n /* istanbul ignore if */ if (typeof $7a0875ae79160463$var$EE !== \"function\") $7a0875ae79160463$var$EE = $7a0875ae79160463$var$EE.EventEmitter;\n var $7a0875ae79160463$var$emitter;\n if ($7a0875ae79160463$var$process.__signal_exit_emitter__) $7a0875ae79160463$var$emitter = $7a0875ae79160463$var$process.__signal_exit_emitter__;\n else {\n $7a0875ae79160463$var$emitter = $7a0875ae79160463$var$process.__signal_exit_emitter__ = new $7a0875ae79160463$var$EE();\n $7a0875ae79160463$var$emitter.count = 0;\n $7a0875ae79160463$var$emitter.emitted = {};\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 (!$7a0875ae79160463$var$emitter.infinite) {\n $7a0875ae79160463$var$emitter.setMaxListeners(Infinity);\n $7a0875ae79160463$var$emitter.infinite = true;\n }\n $7a0875ae79160463$exports = function(cb, opts) {\n /* istanbul ignore if */ if (!$7a0875ae79160463$var$processOk($parcel$global.process)) return function() {};\n $7a0875ae79160463$var$assert.equal(typeof cb, \"function\", \"a callback must be provided for exit handler\");\n if ($7a0875ae79160463$var$loaded === false) $7a0875ae79160463$var$load();\n var ev = \"exit\";\n if (opts && opts.alwaysLast) ev = \"afterexit\";\n var remove = function() {\n $7a0875ae79160463$var$emitter.removeListener(ev, cb);\n if ($7a0875ae79160463$var$emitter.listeners(\"exit\").length === 0 && $7a0875ae79160463$var$emitter.listeners(\"afterexit\").length === 0) $7a0875ae79160463$var$unload();\n };\n $7a0875ae79160463$var$emitter.on(ev, cb);\n return remove;\n };\n var $7a0875ae79160463$var$unload = function unload() {\n if (!$7a0875ae79160463$var$loaded || !$7a0875ae79160463$var$processOk($parcel$global.process)) return;\n $7a0875ae79160463$var$loaded = false;\n $7a0875ae79160463$var$signals.forEach(function(sig) {\n try {\n $7a0875ae79160463$var$process.removeListener(sig, $7a0875ae79160463$var$sigListeners[sig]);\n } catch (er) {}\n });\n $7a0875ae79160463$var$process.emit = $7a0875ae79160463$var$originalProcessEmit;\n $7a0875ae79160463$var$process.reallyExit = $7a0875ae79160463$var$originalProcessReallyExit;\n $7a0875ae79160463$var$emitter.count -= 1;\n };\n $7a0875ae79160463$exports.unload = $7a0875ae79160463$var$unload;\n var $7a0875ae79160463$var$emit = function emit(event, code, signal) {\n /* istanbul ignore if */ if ($7a0875ae79160463$var$emitter.emitted[event]) return;\n $7a0875ae79160463$var$emitter.emitted[event] = true;\n $7a0875ae79160463$var$emitter.emit(event, code, signal);\n };\n // { : , ... }\n var $7a0875ae79160463$var$sigListeners = {};\n $7a0875ae79160463$var$signals.forEach(function(sig) {\n $7a0875ae79160463$var$sigListeners[sig] = function listener() {\n /* istanbul ignore if */ if (!$7a0875ae79160463$var$processOk($parcel$global.process)) return;\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 = $7a0875ae79160463$var$process.listeners(sig);\n if (listeners.length === $7a0875ae79160463$var$emitter.count) {\n $7a0875ae79160463$var$unload();\n $7a0875ae79160463$var$emit(\"exit\", null, sig);\n /* istanbul ignore next */ $7a0875ae79160463$var$emit(\"afterexit\", null, sig);\n /* istanbul ignore next */ if ($7a0875ae79160463$var$isWin && sig === \"SIGHUP\") // \"SIGHUP\" throws an `ENOSYS` error on Windows,\n // so use a supported signal instead\n sig = \"SIGINT\";\n /* istanbul ignore next */ $7a0875ae79160463$var$process.kill($7a0875ae79160463$var$process.pid, sig);\n }\n };\n });\n $7a0875ae79160463$exports.signals = function() {\n return $7a0875ae79160463$var$signals;\n };\n var $7a0875ae79160463$var$loaded = false;\n var $7a0875ae79160463$var$load = function load() {\n if ($7a0875ae79160463$var$loaded || !$7a0875ae79160463$var$processOk($parcel$global.process)) return;\n $7a0875ae79160463$var$loaded = true;\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 $7a0875ae79160463$var$emitter.count += 1;\n $7a0875ae79160463$var$signals = $7a0875ae79160463$var$signals.filter(function(sig) {\n try {\n $7a0875ae79160463$var$process.on(sig, $7a0875ae79160463$var$sigListeners[sig]);\n return true;\n } catch (er) {\n return false;\n }\n });\n $7a0875ae79160463$var$process.emit = $7a0875ae79160463$var$processEmit;\n $7a0875ae79160463$var$process.reallyExit = $7a0875ae79160463$var$processReallyExit;\n };\n $7a0875ae79160463$exports.load = $7a0875ae79160463$var$load;\n var $7a0875ae79160463$var$originalProcessReallyExit = $7a0875ae79160463$var$process.reallyExit;\n var $7a0875ae79160463$var$processReallyExit = function processReallyExit(code) {\n /* istanbul ignore if */ if (!$7a0875ae79160463$var$processOk($parcel$global.process)) return;\n $7a0875ae79160463$var$process.exitCode = code || /* istanbul ignore next */ 0;\n $7a0875ae79160463$var$emit(\"exit\", $7a0875ae79160463$var$process.exitCode, null);\n /* istanbul ignore next */ $7a0875ae79160463$var$emit(\"afterexit\", $7a0875ae79160463$var$process.exitCode, null);\n /* istanbul ignore next */ $7a0875ae79160463$var$originalProcessReallyExit.call($7a0875ae79160463$var$process, $7a0875ae79160463$var$process.exitCode);\n };\n var $7a0875ae79160463$var$originalProcessEmit = $7a0875ae79160463$var$process.emit;\n var $7a0875ae79160463$var$processEmit = function processEmit(ev, arg) {\n if (ev === \"exit\" && $7a0875ae79160463$var$processOk($parcel$global.process)) {\n /* istanbul ignore else */ if (arg !== undefined) $7a0875ae79160463$var$process.exitCode = arg;\n var ret = $7a0875ae79160463$var$originalProcessEmit.apply(this, arguments);\n /* istanbul ignore next */ $7a0875ae79160463$var$emit(\"exit\", $7a0875ae79160463$var$process.exitCode, null);\n /* istanbul ignore next */ $7a0875ae79160463$var$emit(\"afterexit\", $7a0875ae79160463$var$process.exitCode, null);\n /* istanbul ignore next */ return ret;\n } else return $7a0875ae79160463$var$originalProcessEmit.apply(this, arguments);\n };\n}\n\n\nconst $5add7917bf680282$var$DEFAULT_FORCE_KILL_TIMEOUT = 5000;\n// Monkey-patches `childProcess.kill()` to add `forceKillAfterTimeout` behavior\nconst $5add7917bf680282$var$spawnedKill = (kill, signal = \"SIGTERM\", options = {})=>{\n const killResult = kill(signal);\n $5add7917bf680282$var$setKillTimeout(kill, signal, options, killResult);\n return killResult;\n};\nconst $5add7917bf680282$var$setKillTimeout = (kill, signal, options, killResult)=>{\n if (!$5add7917bf680282$var$shouldForceKill(signal, options, killResult)) return;\n const timeout = $5add7917bf680282$var$getForceKillAfterTimeout(options);\n const t = setTimeout(()=>{\n kill(\"SIGKILL\");\n }, timeout);\n // Guarded because there's no `.unref()` when `execa` is used in the renderer\n // process in Electron. This cannot be tested since we don't run tests in\n // Electron.\n // istanbul ignore else\n if (t.unref) t.unref();\n};\nconst $5add7917bf680282$var$shouldForceKill = (signal, { forceKillAfterTimeout: forceKillAfterTimeout }, killResult)=>{\n return $5add7917bf680282$var$isSigterm(signal) && forceKillAfterTimeout !== false && killResult;\n};\nconst $5add7917bf680282$var$isSigterm = (signal)=>{\n return signal === $d7DIX$os.constants.signals.SIGTERM || typeof signal === \"string\" && signal.toUpperCase() === \"SIGTERM\";\n};\nconst $5add7917bf680282$var$getForceKillAfterTimeout = ({ forceKillAfterTimeout: forceKillAfterTimeout = true })=>{\n if (forceKillAfterTimeout === true) return $5add7917bf680282$var$DEFAULT_FORCE_KILL_TIMEOUT;\n if (!Number.isFinite(forceKillAfterTimeout) || forceKillAfterTimeout < 0) throw new TypeError(`Expected the \\`forceKillAfterTimeout\\` option to be a non-negative integer, got \\`${forceKillAfterTimeout}\\` (${typeof forceKillAfterTimeout})`);\n return forceKillAfterTimeout;\n};\n// `childProcess.cancel()`\nconst $5add7917bf680282$var$spawnedCancel = (spawned, context)=>{\n const killResult = spawned.kill();\n if (killResult) context.isCanceled = true;\n};\nconst $5add7917bf680282$var$timeoutKill = (spawned, signal, reject)=>{\n spawned.kill(signal);\n reject(Object.assign(new Error(\"Timed out\"), {\n timedOut: true,\n signal: signal\n }));\n};\n// `timeout` option handling\nconst $5add7917bf680282$var$setupTimeout = (spawned, { timeout: timeout, killSignal: killSignal = \"SIGTERM\" }, spawnedPromise)=>{\n if (timeout === 0 || timeout === undefined) return spawnedPromise;\n let timeoutId;\n const timeoutPromise = new Promise((resolve, reject)=>{\n timeoutId = setTimeout(()=>{\n $5add7917bf680282$var$timeoutKill(spawned, killSignal, reject);\n }, timeout);\n });\n const safeSpawnedPromise = spawnedPromise.finally(()=>{\n clearTimeout(timeoutId);\n });\n return Promise.race([\n timeoutPromise,\n safeSpawnedPromise\n ]);\n};\nconst $5add7917bf680282$var$validateTimeout = ({ timeout: timeout })=>{\n if (timeout !== undefined && (!Number.isFinite(timeout) || timeout < 0)) throw new TypeError(`Expected the \\`timeout\\` option to be a non-negative integer, got \\`${timeout}\\` (${typeof timeout})`);\n};\n// `cleanup` option handling\nconst $5add7917bf680282$var$setExitHandler = async (spawned, { cleanup: cleanup, detached: detached }, timedPromise)=>{\n if (!cleanup || detached) return timedPromise;\n const removeExitHandler = $7a0875ae79160463$exports(()=>{\n spawned.kill();\n });\n return timedPromise.finally(()=>{\n removeExitHandler();\n });\n};\n$5add7917bf680282$exports = {\n spawnedKill: $5add7917bf680282$var$spawnedKill,\n spawnedCancel: $5add7917bf680282$var$spawnedCancel,\n setupTimeout: $5add7917bf680282$var$setupTimeout,\n validateTimeout: $5add7917bf680282$var$validateTimeout,\n setExitHandler: $5add7917bf680282$var$setExitHandler\n};\n\n\nvar $875a6e6d11e2ed2f$require$spawnedKill = $5add7917bf680282$exports.spawnedKill;\nvar $875a6e6d11e2ed2f$require$spawnedCancel = $5add7917bf680282$exports.spawnedCancel;\nvar $875a6e6d11e2ed2f$require$setupTimeout = $5add7917bf680282$exports.setupTimeout;\nvar $875a6e6d11e2ed2f$require$validateTimeout = $5add7917bf680282$exports.validateTimeout;\nvar $875a6e6d11e2ed2f$require$setExitHandler = $5add7917bf680282$exports.setExitHandler;\nvar $0af9692fa471673a$exports = {};\n\"use strict\";\nvar $a742a541a3a7aca9$exports = {};\n\"use strict\";\nconst $a742a541a3a7aca9$var$isStream = (stream)=>stream !== null && typeof stream === \"object\" && typeof stream.pipe === \"function\";\n$a742a541a3a7aca9$var$isStream.writable = (stream)=>$a742a541a3a7aca9$var$isStream(stream) && stream.writable !== false && typeof stream._write === \"function\" && typeof stream._writableState === \"object\";\n$a742a541a3a7aca9$var$isStream.readable = (stream)=>$a742a541a3a7aca9$var$isStream(stream) && stream.readable !== false && typeof stream._read === \"function\" && typeof stream._readableState === \"object\";\n$a742a541a3a7aca9$var$isStream.duplex = (stream)=>$a742a541a3a7aca9$var$isStream.writable(stream) && $a742a541a3a7aca9$var$isStream.readable(stream);\n$a742a541a3a7aca9$var$isStream.transform = (stream)=>$a742a541a3a7aca9$var$isStream.duplex(stream) && typeof stream._transform === \"function\";\n$a742a541a3a7aca9$exports = $a742a541a3a7aca9$var$isStream;\n\n\nvar $51bb95e1718a9e99$exports = {};\n\"use strict\";\n\nvar $51bb95e1718a9e99$require$BufferConstants = $d7DIX$buffer.constants;\n\n\nvar $51bb95e1718a9e99$require$promisify = $d7DIX$util.promisify;\nvar $4d91ceac3d29e594$exports = {};\n\"use strict\";\n\nvar $4d91ceac3d29e594$require$PassThroughStream = $d7DIX$stream.PassThrough;\n$4d91ceac3d29e594$exports = (options)=>{\n options = {\n ...options\n };\n const { array: array } = options;\n let { encoding: encoding } = options;\n const isBuffer = encoding === \"buffer\";\n let objectMode = false;\n if (array) objectMode = !(encoding || isBuffer);\n else encoding = encoding || \"utf8\";\n if (isBuffer) encoding = null;\n const stream = new $4d91ceac3d29e594$require$PassThroughStream({\n objectMode: objectMode\n });\n if (encoding) stream.setEncoding(encoding);\n let length = 0;\n const chunks = [];\n stream.on(\"data\", (chunk)=>{\n chunks.push(chunk);\n if (objectMode) length = chunks.length;\n else length += chunk.length;\n });\n stream.getBufferedValue = ()=>{\n if (array) return chunks;\n return isBuffer ? Buffer.concat(chunks, length) : chunks.join(\"\");\n };\n stream.getBufferedLength = ()=>length;\n return stream;\n};\n\n\nconst $51bb95e1718a9e99$var$streamPipelinePromisified = $51bb95e1718a9e99$require$promisify($d7DIX$stream.pipeline);\nclass $51bb95e1718a9e99$var$MaxBufferError extends Error {\n constructor(){\n super(\"maxBuffer exceeded\");\n this.name = \"MaxBufferError\";\n }\n}\nasync function $51bb95e1718a9e99$var$getStream(inputStream, options) {\n if (!inputStream) throw new Error(\"Expected a stream\");\n options = {\n maxBuffer: Infinity,\n ...options\n };\n const { maxBuffer: maxBuffer } = options;\n const stream = $4d91ceac3d29e594$exports(options);\n await new Promise((resolve, reject)=>{\n const rejectPromise = (error)=>{\n // Don't retrieve an oversized buffer.\n if (error && stream.getBufferedLength() <= $51bb95e1718a9e99$require$BufferConstants.MAX_LENGTH) error.bufferedData = stream.getBufferedValue();\n reject(error);\n };\n (async ()=>{\n try {\n await $51bb95e1718a9e99$var$streamPipelinePromisified(inputStream, stream);\n resolve();\n } catch (error) {\n rejectPromise(error);\n }\n })();\n stream.on(\"data\", ()=>{\n if (stream.getBufferedLength() > maxBuffer) rejectPromise(new $51bb95e1718a9e99$var$MaxBufferError());\n });\n });\n return stream.getBufferedValue();\n}\n$51bb95e1718a9e99$exports = $51bb95e1718a9e99$var$getStream;\n$51bb95e1718a9e99$exports.buffer = (stream, options)=>$51bb95e1718a9e99$var$getStream(stream, {\n ...options,\n encoding: \"buffer\"\n });\n$51bb95e1718a9e99$exports.array = (stream, options)=>$51bb95e1718a9e99$var$getStream(stream, {\n ...options,\n array: true\n });\n$51bb95e1718a9e99$exports.MaxBufferError = $51bb95e1718a9e99$var$MaxBufferError;\n\n\nvar $50d0883357807da8$exports = {};\n\"use strict\";\n\nvar $50d0883357807da8$require$PassThrough = $d7DIX$stream.PassThrough;\n$50d0883357807da8$exports = function() {\n var sources = [];\n var output = new $50d0883357807da8$require$PassThrough({\n objectMode: true\n });\n output.setMaxListeners(0);\n output.add = add;\n output.isEmpty = isEmpty;\n output.on(\"unpipe\", remove);\n Array.prototype.slice.call(arguments).forEach(add);\n return output;\n function add(source) {\n if (Array.isArray(source)) {\n source.forEach(add);\n return this;\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, {\n end: false\n });\n return this;\n }\n function isEmpty() {\n return sources.length == 0;\n }\n function remove(source) {\n sources = sources.filter(function(it) {\n return it !== source;\n });\n if (!sources.length && output.readable) output.end();\n }\n};\n\n\n// `input` option\nconst $0af9692fa471673a$var$handleInput = (spawned, input)=>{\n // Checking for stdin is workaround for https://github.com/nodejs/node/issues/26852\n // @todo remove `|| spawned.stdin === undefined` once we drop support for Node.js <=12.2.0\n if (input === undefined || spawned.stdin === undefined) return;\n if ($a742a541a3a7aca9$exports(input)) input.pipe(spawned.stdin);\n else spawned.stdin.end(input);\n};\n// `all` interleaves `stdout` and `stderr`\nconst $0af9692fa471673a$var$makeAllStream = (spawned, { all: all })=>{\n if (!all || !spawned.stdout && !spawned.stderr) return;\n const mixed = $50d0883357807da8$exports();\n if (spawned.stdout) mixed.add(spawned.stdout);\n if (spawned.stderr) mixed.add(spawned.stderr);\n return mixed;\n};\n// On failure, `result.stdout|stderr|all` should contain the currently buffered stream\nconst $0af9692fa471673a$var$getBufferedData = async (stream, streamPromise)=>{\n if (!stream) return;\n stream.destroy();\n try {\n return await streamPromise;\n } catch (error) {\n return error.bufferedData;\n }\n};\nconst $0af9692fa471673a$var$getStreamPromise = (stream, { encoding: encoding, buffer: buffer, maxBuffer: maxBuffer })=>{\n if (!stream || !buffer) return;\n if (encoding) return $51bb95e1718a9e99$exports(stream, {\n encoding: encoding,\n maxBuffer: maxBuffer\n });\n return $51bb95e1718a9e99$exports.buffer(stream, {\n maxBuffer: maxBuffer\n });\n};\n// Retrieve result of child process: exit code, signal, error, streams (stdout/stderr/all)\nconst $0af9692fa471673a$var$getSpawnedResult = async ({ stdout: stdout, stderr: stderr, all: all }, { encoding: encoding, buffer: buffer, maxBuffer: maxBuffer }, processDone)=>{\n const stdoutPromise = $0af9692fa471673a$var$getStreamPromise(stdout, {\n encoding: encoding,\n buffer: buffer,\n maxBuffer: maxBuffer\n });\n const stderrPromise = $0af9692fa471673a$var$getStreamPromise(stderr, {\n encoding: encoding,\n buffer: buffer,\n maxBuffer: maxBuffer\n });\n const allPromise = $0af9692fa471673a$var$getStreamPromise(all, {\n encoding: encoding,\n buffer: buffer,\n maxBuffer: maxBuffer * 2\n });\n try {\n return await Promise.all([\n processDone,\n stdoutPromise,\n stderrPromise,\n allPromise\n ]);\n } catch (error) {\n return Promise.all([\n {\n error: error,\n signal: error.signal,\n timedOut: error.timedOut\n },\n $0af9692fa471673a$var$getBufferedData(stdout, stdoutPromise),\n $0af9692fa471673a$var$getBufferedData(stderr, stderrPromise),\n $0af9692fa471673a$var$getBufferedData(all, allPromise)\n ]);\n }\n};\nconst $0af9692fa471673a$var$validateInputSync = ({ input: input })=>{\n if ($a742a541a3a7aca9$exports(input)) throw new TypeError(\"The `input` option cannot be a stream in sync mode\");\n};\n$0af9692fa471673a$exports = {\n handleInput: $0af9692fa471673a$var$handleInput,\n makeAllStream: $0af9692fa471673a$var$makeAllStream,\n getSpawnedResult: $0af9692fa471673a$var$getSpawnedResult,\n validateInputSync: $0af9692fa471673a$var$validateInputSync\n};\n\n\nvar $875a6e6d11e2ed2f$require$handleInput = $0af9692fa471673a$exports.handleInput;\nvar $875a6e6d11e2ed2f$require$getSpawnedResult = $0af9692fa471673a$exports.getSpawnedResult;\nvar $875a6e6d11e2ed2f$require$makeAllStream = $0af9692fa471673a$exports.makeAllStream;\nvar $875a6e6d11e2ed2f$require$validateInputSync = $0af9692fa471673a$exports.validateInputSync;\nvar $095266db841971ea$exports = {};\n\"use strict\";\nconst $095266db841971ea$var$nativePromisePrototype = (async ()=>{})().constructor.prototype;\nconst $095266db841971ea$var$descriptors = [\n \"then\",\n \"catch\",\n \"finally\"\n].map((property)=>[\n property,\n Reflect.getOwnPropertyDescriptor($095266db841971ea$var$nativePromisePrototype, property)\n ]);\n// The return value is a mixin of `childProcess` and `Promise`\nconst $095266db841971ea$var$mergePromise = (spawned, promise)=>{\n for (const [property, descriptor] of $095266db841971ea$var$descriptors){\n // Starting the main `promise` is deferred to avoid consuming streams\n const value = typeof promise === \"function\" ? (...args)=>Reflect.apply(descriptor.value, promise(), args) : descriptor.value.bind(promise);\n Reflect.defineProperty(spawned, property, {\n ...descriptor,\n value: value\n });\n }\n return spawned;\n};\n// Use promises instead of `child_process` events\nconst $095266db841971ea$var$getSpawnedPromise = (spawned)=>{\n return new Promise((resolve, reject)=>{\n spawned.on(\"exit\", (exitCode, signal)=>{\n resolve({\n exitCode: exitCode,\n signal: signal\n });\n });\n spawned.on(\"error\", (error)=>{\n reject(error);\n });\n if (spawned.stdin) spawned.stdin.on(\"error\", (error)=>{\n reject(error);\n });\n });\n};\n$095266db841971ea$exports = {\n mergePromise: $095266db841971ea$var$mergePromise,\n getSpawnedPromise: $095266db841971ea$var$getSpawnedPromise\n};\n\n\nvar $875a6e6d11e2ed2f$require$mergePromise = $095266db841971ea$exports.mergePromise;\nvar $875a6e6d11e2ed2f$require$getSpawnedPromise = $095266db841971ea$exports.getSpawnedPromise;\nvar $0e4224b860f141fe$exports = {};\n\"use strict\";\nconst $0e4224b860f141fe$var$normalizeArgs = (file, args = [])=>{\n if (!Array.isArray(args)) return [\n file\n ];\n return [\n file,\n ...args\n ];\n};\nconst $0e4224b860f141fe$var$NO_ESCAPE_REGEXP = /^[\\w.-]+$/;\nconst $0e4224b860f141fe$var$DOUBLE_QUOTES_REGEXP = /\"/g;\nconst $0e4224b860f141fe$var$escapeArg = (arg)=>{\n if (typeof arg !== \"string\" || $0e4224b860f141fe$var$NO_ESCAPE_REGEXP.test(arg)) return arg;\n return `\"${arg.replace($0e4224b860f141fe$var$DOUBLE_QUOTES_REGEXP, '\\\\\"')}\"`;\n};\nconst $0e4224b860f141fe$var$joinCommand = (file, args)=>{\n return $0e4224b860f141fe$var$normalizeArgs(file, args).join(\" \");\n};\nconst $0e4224b860f141fe$var$getEscapedCommand = (file, args)=>{\n return $0e4224b860f141fe$var$normalizeArgs(file, args).map((arg)=>$0e4224b860f141fe$var$escapeArg(arg)).join(\" \");\n};\nconst $0e4224b860f141fe$var$SPACES_REGEXP = / +/g;\n// Handle `execa.command()`\nconst $0e4224b860f141fe$var$parseCommand = (command)=>{\n const tokens = [];\n for (const token of command.trim().split($0e4224b860f141fe$var$SPACES_REGEXP)){\n // Allow spaces to be escaped by a backslash if not meant as a delimiter\n const previousToken = tokens[tokens.length - 1];\n if (previousToken && previousToken.endsWith(\"\\\\\")) // Merge previous token with current one\n tokens[tokens.length - 1] = `${previousToken.slice(0, -1)} ${token}`;\n else tokens.push(token);\n }\n return tokens;\n};\n$0e4224b860f141fe$exports = {\n joinCommand: $0e4224b860f141fe$var$joinCommand,\n getEscapedCommand: $0e4224b860f141fe$var$getEscapedCommand,\n parseCommand: $0e4224b860f141fe$var$parseCommand\n};\n\n\nvar $875a6e6d11e2ed2f$require$joinCommand = $0e4224b860f141fe$exports.joinCommand;\nvar $875a6e6d11e2ed2f$require$parseCommand = $0e4224b860f141fe$exports.parseCommand;\nvar $875a6e6d11e2ed2f$require$getEscapedCommand = $0e4224b860f141fe$exports.getEscapedCommand;\nconst $875a6e6d11e2ed2f$var$DEFAULT_MAX_BUFFER = 100000000;\nconst $875a6e6d11e2ed2f$var$getEnv = ({ env: envOption, extendEnv: extendEnv, preferLocal: preferLocal, localDir: localDir, execPath: execPath })=>{\n const env = extendEnv ? {\n ...process.env,\n ...envOption\n } : envOption;\n if (preferLocal) return $020b45bf5d462a46$exports.env({\n env: env,\n cwd: localDir,\n execPath: execPath\n });\n return env;\n};\nconst $875a6e6d11e2ed2f$var$handleArguments = (file, args, options = {})=>{\n const parsed = $c7dd3a41c12bbb5b$exports._parse(file, args, options);\n file = parsed.command;\n args = parsed.args;\n options = parsed.options;\n options = {\n maxBuffer: $875a6e6d11e2ed2f$var$DEFAULT_MAX_BUFFER,\n buffer: true,\n stripFinalNewline: true,\n extendEnv: true,\n preferLocal: false,\n localDir: options.cwd || process.cwd(),\n execPath: process.execPath,\n encoding: \"utf8\",\n reject: true,\n cleanup: true,\n all: false,\n windowsHide: true,\n ...options\n };\n options.env = $875a6e6d11e2ed2f$var$getEnv(options);\n options.stdio = $c678cc3f77a5df8f$exports(options);\n if (process.platform === \"win32\" && $d7DIX$path.basename(file, \".exe\") === \"cmd\") // #116\n args.unshift(\"/q\");\n return {\n file: file,\n args: args,\n options: options,\n parsed: parsed\n };\n};\nconst $875a6e6d11e2ed2f$var$handleOutput = (options, value, error)=>{\n if (typeof value !== \"string\" && !Buffer.isBuffer(value)) // When `execa.sync()` errors, we normalize it to '' to mimic `execa()`\n return error === undefined ? undefined : \"\";\n if (options.stripFinalNewline) return $c6c34cab6d11f47e$exports(value);\n return value;\n};\nconst $875a6e6d11e2ed2f$var$execa = (file, args, options)=>{\n const parsed = $875a6e6d11e2ed2f$var$handleArguments(file, args, options);\n const command = $875a6e6d11e2ed2f$require$joinCommand(file, args);\n const escapedCommand = $875a6e6d11e2ed2f$require$getEscapedCommand(file, args);\n $875a6e6d11e2ed2f$require$validateTimeout(parsed.options);\n let spawned;\n try {\n spawned = $d7DIX$child_process.spawn(parsed.file, parsed.args, parsed.options);\n } catch (error) {\n // Ensure the returned error is always both a promise and a child process\n const dummySpawned = new $d7DIX$child_process.ChildProcess();\n const errorPromise = Promise.reject($fe0749d2cd50e67f$exports({\n error: error,\n stdout: \"\",\n stderr: \"\",\n all: \"\",\n command: command,\n escapedCommand: escapedCommand,\n parsed: parsed,\n timedOut: false,\n isCanceled: false,\n killed: false\n }));\n return $875a6e6d11e2ed2f$require$mergePromise(dummySpawned, errorPromise);\n }\n const spawnedPromise = $875a6e6d11e2ed2f$require$getSpawnedPromise(spawned);\n const timedPromise = $875a6e6d11e2ed2f$require$setupTimeout(spawned, parsed.options, spawnedPromise);\n const processDone = $875a6e6d11e2ed2f$require$setExitHandler(spawned, parsed.options, timedPromise);\n const context = {\n isCanceled: false\n };\n spawned.kill = $875a6e6d11e2ed2f$require$spawnedKill.bind(null, spawned.kill.bind(spawned));\n spawned.cancel = $875a6e6d11e2ed2f$require$spawnedCancel.bind(null, spawned, context);\n const handlePromise = async ()=>{\n const [{ error: error, exitCode: exitCode, signal: signal, timedOut: timedOut }, stdoutResult, stderrResult, allResult] = await $875a6e6d11e2ed2f$require$getSpawnedResult(spawned, parsed.options, processDone);\n const stdout = $875a6e6d11e2ed2f$var$handleOutput(parsed.options, stdoutResult);\n const stderr = $875a6e6d11e2ed2f$var$handleOutput(parsed.options, stderrResult);\n const all = $875a6e6d11e2ed2f$var$handleOutput(parsed.options, allResult);\n if (error || exitCode !== 0 || signal !== null) {\n const returnedError = $fe0749d2cd50e67f$exports({\n error: error,\n exitCode: exitCode,\n signal: signal,\n stdout: stdout,\n stderr: stderr,\n all: all,\n command: command,\n escapedCommand: escapedCommand,\n parsed: parsed,\n timedOut: timedOut,\n isCanceled: context.isCanceled,\n killed: spawned.killed\n });\n if (!parsed.options.reject) return returnedError;\n throw returnedError;\n }\n return {\n command: command,\n escapedCommand: escapedCommand,\n exitCode: 0,\n stdout: stdout,\n stderr: stderr,\n all: all,\n failed: false,\n timedOut: false,\n isCanceled: false,\n killed: false\n };\n };\n const handlePromiseOnce = $f1134ba5c844ad01$exports(handlePromise);\n $875a6e6d11e2ed2f$require$handleInput(spawned, parsed.options.input);\n spawned.all = $875a6e6d11e2ed2f$require$makeAllStream(spawned, parsed.options);\n return $875a6e6d11e2ed2f$require$mergePromise(spawned, handlePromiseOnce);\n};\n$875a6e6d11e2ed2f$exports = $875a6e6d11e2ed2f$var$execa;\n$875a6e6d11e2ed2f$exports.sync = (file, args, options)=>{\n const parsed = $875a6e6d11e2ed2f$var$handleArguments(file, args, options);\n const command = $875a6e6d11e2ed2f$require$joinCommand(file, args);\n const escapedCommand = $875a6e6d11e2ed2f$require$getEscapedCommand(file, args);\n $875a6e6d11e2ed2f$require$validateInputSync(parsed.options);\n let result;\n try {\n result = $d7DIX$child_process.spawnSync(parsed.file, parsed.args, parsed.options);\n } catch (error) {\n throw $fe0749d2cd50e67f$exports({\n error: error,\n stdout: \"\",\n stderr: \"\",\n all: \"\",\n command: command,\n escapedCommand: escapedCommand,\n parsed: parsed,\n timedOut: false,\n isCanceled: false,\n killed: false\n });\n }\n const stdout = $875a6e6d11e2ed2f$var$handleOutput(parsed.options, result.stdout, result.error);\n const stderr = $875a6e6d11e2ed2f$var$handleOutput(parsed.options, result.stderr, result.error);\n if (result.error || result.status !== 0 || result.signal !== null) {\n const error = $fe0749d2cd50e67f$exports({\n stdout: stdout,\n stderr: stderr,\n error: result.error,\n signal: result.signal,\n exitCode: result.status,\n command: command,\n escapedCommand: escapedCommand,\n parsed: parsed,\n timedOut: result.error && result.error.code === \"ETIMEDOUT\",\n isCanceled: false,\n killed: result.signal !== null\n });\n if (!parsed.options.reject) return error;\n throw error;\n }\n return {\n command: command,\n escapedCommand: escapedCommand,\n exitCode: 0,\n stdout: stdout,\n stderr: stderr,\n failed: false,\n timedOut: false,\n isCanceled: false,\n killed: false\n };\n};\n$875a6e6d11e2ed2f$exports.command = (command, options)=>{\n const [file, ...args] = $875a6e6d11e2ed2f$require$parseCommand(command);\n return $875a6e6d11e2ed2f$var$execa(file, args, options);\n};\n$875a6e6d11e2ed2f$exports.commandSync = (command, options)=>{\n const [file, ...args] = $875a6e6d11e2ed2f$require$parseCommand(command);\n return $875a6e6d11e2ed2f$var$execa.sync(file, args, options);\n};\n$875a6e6d11e2ed2f$exports.node = (scriptPath, args, options = {})=>{\n if (args && !Array.isArray(args) && typeof args === \"object\") {\n options = args;\n args = [];\n }\n const stdio = $c678cc3f77a5df8f$exports.node(options);\n const defaultExecArgv = process.execArgv.filter((arg)=>!arg.startsWith(\"--inspect\"));\n const { nodePath: nodePath = process.execPath, nodeOptions: nodeOptions = defaultExecArgv } = options;\n return $875a6e6d11e2ed2f$var$execa(nodePath, [\n ...nodeOptions,\n scriptPath,\n ...Array.isArray(args) ? args : []\n ], {\n ...options,\n stdin: undefined,\n stdout: undefined,\n stderr: undefined,\n stdio: stdio,\n shell: false\n });\n};\n\n\nfunction $f52a2f1a707749bf$export$7683bf1311d8252() {\n return (0, (/*@__PURE__*/$parcel$interopDefault($a144cf96e3e9a15c$exports))).sync(\"sudo\", {\n nothrow: true\n }) !== null;\n}\nfunction $f52a2f1a707749bf$export$e3140dc7d0c35e48() {\n // TODO not all CI systems are root\n return process.getuid?.() === 0 || Boolean(process.env.CI);\n}\nfunction $f52a2f1a707749bf$export$316200228f28b8ce() {\n return $f52a2f1a707749bf$export$e3140dc7d0c35e48() && $f52a2f1a707749bf$export$7683bf1311d8252();\n}\nfunction $f52a2f1a707749bf$export$d976d47922ae9667(command) {\n if ($f52a2f1a707749bf$export$316200228f28b8ce()) return `sudo ${command}`;\n return command;\n}\nconst $f52a2f1a707749bf$export$151aeb0ade3989e1 = {\n stdio: \"inherit\",\n shell: true\n};\nfunction $f52a2f1a707749bf$export$58f152936f209932(program, args = [], execOptions = $f52a2f1a707749bf$export$151aeb0ade3989e1) {\n if ($f52a2f1a707749bf$export$316200228f28b8ce()) return $875a6e6d11e2ed2f$exports.commandSync(`sudo ${[\n program,\n ...args\n ].map((arg)=>`'${arg}'`).join(\" \")}`, execOptions);\n else return $875a6e6d11e2ed2f$exports.sync(program, args, execOptions);\n}\nfunction $f52a2f1a707749bf$export$351270479e2eef26(program, args = [], execOptions = $f52a2f1a707749bf$export$151aeb0ade3989e1) {\n if ($f52a2f1a707749bf$export$316200228f28b8ce()) return $875a6e6d11e2ed2f$exports.command(`sudo ${[\n program,\n ...args\n ].map((arg)=>`'${arg}'`).join(\" \")}`, execOptions);\n else return (/*@__PURE__*/$parcel$interopDefault($875a6e6d11e2ed2f$exports))(program, args, execOptions);\n}\n\n\n// From `is-admin`: removed `node:proces` so that the code works on Deno and Node 12\n// cspell:disable\n\n// https://stackoverflow.com/a/28268802\nasync function $339be6afeffc552c$var$testFltmc() {\n try {\n await (0, (/*@__PURE__*/$parcel$interopDefault($875a6e6d11e2ed2f$exports)))(\"fltmc\");\n return true;\n } catch {\n return false;\n }\n}\nasync function $339be6afeffc552c$export$2e2bcd8739ae039() {\n if (process.platform !== \"win32\") return false;\n try {\n // https://stackoverflow.com/a/21295806/1641422\n await (0, (/*@__PURE__*/$parcel$interopDefault($875a6e6d11e2ed2f$exports)))(\"fsutil\", [\n \"dirty\",\n \"query\",\n process.env.systemdrive ?? \"\"\n ]);\n return true;\n } catch (error) {\n if (error.code === \"ENOENT\") return $339be6afeffc552c$var$testFltmc();\n return false;\n }\n}\n\n\n\nconst $89b46295c7fce434$export$36ad181701cee597 = (0, $339be6afeffc552c$export$2e2bcd8739ae039);\nconst $89b46295c7fce434$export$2ebf12717e6b5bb8 = (0, $f52a2f1a707749bf$export$e3140dc7d0c35e48);\nfunction $89b46295c7fce434$export$fc970ed23da99565() {\n if (process.platform === \"win32\") return $89b46295c7fce434$export$36ad181701cee597();\n else return (0, $f52a2f1a707749bf$export$e3140dc7d0c35e48)();\n}\n\n\n\n\n\nasync function $eaac287486c3124b$export$4718e061a205eab(path) {\n if (((0, ($parcel$interopDefault($d7DIX$process))).platform === \"linux\" || (0, ($parcel$interopDefault($d7DIX$process))).platform === \"darwin\") && (0, $f52a2f1a707749bf$export$316200228f28b8ce)() && (0, ($parcel$interopDefault($d7DIX$process))).env.SUDO_USER !== undefined) {\n const isDirectory = (0, $d7DIX$fs.statSync)(path).isDirectory();\n await (0, $f52a2f1a707749bf$export$351270479e2eef26)(\"chown\", [\n ...isDirectory ? [\n \"-R\"\n ] : [],\n (0, ($parcel$interopDefault($d7DIX$process))).env.SUDO_USER,\n path\n ], (0, $f52a2f1a707749bf$export$151aeb0ade3989e1));\n }\n}\n\n\n\n\nfunction $cc03115747abd396$export$8312d9eeba321950(path) {\n if ((0, $f52a2f1a707749bf$export$316200228f28b8ce)() && typeof process.env.SUDO_USER === \"string\") {\n // use the user profile even if root\n if (process.platform === \"darwin\") return (0, $d7DIX$path.join)(\"/Users/\", process.env.SUDO_USER, path);\n else return (0, $d7DIX$path.join)(\"/home/\", process.env.SUDO_USER, path);\n } else return (0, (/*@__PURE__*/$parcel$interopDefault($3bf27a0c0259fd00$exports)))(`~/${path}`);\n}\n\n\n\nvar $ER74K = parcelRequire(\"ER74K\");\nvar $4fe3cd2ecda1db90$exports = {};\n\"use strict\";\n\n\nvar $lJEXJ = parcelRequire(\"lJEXJ\");\n\n\n\n\n/******************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */ /* global Reflect, Promise */ function $4fe3cd2ecda1db90$var$__awaiter(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n}\nfunction $4fe3cd2ecda1db90$var$__generator(thisArg, body) {\n var _ = {\n label: 0,\n sent: function() {\n if (t[0] & 1) throw t[1];\n return t[1];\n },\n trys: [],\n ops: []\n }, f, y, t, g;\n return g = {\n next: verb(0),\n \"throw\": verb(1),\n \"return\": verb(2)\n }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() {\n return this;\n }), g;\n function verb(n) {\n return function(v) {\n return step([\n n,\n v\n ]);\n };\n }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while(g && (g = 0, op[0] && (_ = 0)), _)try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [\n op[0] & 2,\n t.value\n ];\n switch(op[0]){\n case 0:\n case 1:\n t = op;\n break;\n case 4:\n _.label++;\n return {\n value: op[1],\n done: false\n };\n case 5:\n _.label++;\n y = op[1];\n op = [\n 0\n ];\n continue;\n case 7:\n op = _.ops.pop();\n _.trys.pop();\n continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {\n _ = 0;\n continue;\n }\n if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {\n _.label = op[1];\n break;\n }\n if (op[0] === 6 && _.label < t[1]) {\n _.label = t[1];\n t = op;\n break;\n }\n if (t && _.label < t[2]) {\n _.label = t[2];\n _.ops.push(op);\n break;\n }\n if (t[2]) _.ops.pop();\n _.trys.pop();\n continue;\n }\n op = body.call(thisArg, _);\n } catch (e) {\n op = [\n 6,\n e\n ];\n y = 0;\n } finally{\n f = t = 0;\n }\n if (op[0] & 5) throw op[1];\n return {\n value: op[0] ? op[1] : void 0,\n done: true\n };\n }\n}\nvar $4fe3cd2ecda1db90$var$packageJson = $d7DIX$process.env.npm_package_json;\nvar $4fe3cd2ecda1db90$var$userAgent = $d7DIX$process.env.npm_config_user_agent;\nvar $4fe3cd2ecda1db90$var$isNpm6 = Boolean($4fe3cd2ecda1db90$var$userAgent && $4fe3cd2ecda1db90$var$userAgent.startsWith(\"npm\"));\nvar $4fe3cd2ecda1db90$var$isNpm7 = Boolean($4fe3cd2ecda1db90$var$packageJson && $4fe3cd2ecda1db90$var$packageJson.endsWith(\"package.json\"));\nvar $4fe3cd2ecda1db90$var$isNpm = $4fe3cd2ecda1db90$var$isNpm6 || $4fe3cd2ecda1db90$var$isNpm7;\nvar $4fe3cd2ecda1db90$var$isYarn = Boolean($4fe3cd2ecda1db90$var$userAgent && $4fe3cd2ecda1db90$var$userAgent.startsWith(\"yarn\"));\nvar $4fe3cd2ecda1db90$var$isNpmOrYarn = $4fe3cd2ecda1db90$var$isNpm || $4fe3cd2ecda1db90$var$isYarn;\nvar $4fe3cd2ecda1db90$var$homeDirectory = $d7DIX$os.homedir();\nvar $4fe3cd2ecda1db90$var$configDir = process.env.XDG_CONFIG_HOME || $d7DIX$path.join($4fe3cd2ecda1db90$var$homeDirectory, \".config\", \"simple-update-notifier\");\nvar $4fe3cd2ecda1db90$var$getConfigFile = function(packageName) {\n return $d7DIX$path.join($4fe3cd2ecda1db90$var$configDir, \"\".concat(packageName.replace(\"@\", \"\").replace(\"/\", \"__\"), \".json\"));\n};\nvar $4fe3cd2ecda1db90$var$createConfigDir = function() {\n if (!$d7DIX$fs.existsSync($4fe3cd2ecda1db90$var$configDir)) $d7DIX$fs.mkdirSync($4fe3cd2ecda1db90$var$configDir, {\n recursive: true\n });\n};\nvar $4fe3cd2ecda1db90$var$getLastUpdate = function(packageName) {\n var configFile = $4fe3cd2ecda1db90$var$getConfigFile(packageName);\n try {\n if (!$d7DIX$fs.existsSync(configFile)) return undefined;\n var file = JSON.parse($d7DIX$fs.readFileSync(configFile, \"utf8\"));\n return file.lastUpdateCheck;\n } catch (_a) {\n return undefined;\n }\n};\nvar $4fe3cd2ecda1db90$var$saveLastUpdate = function(packageName) {\n var configFile = $4fe3cd2ecda1db90$var$getConfigFile(packageName);\n $d7DIX$fs.writeFileSync(configFile, JSON.stringify({\n lastUpdateCheck: new Date().getTime()\n }));\n};\nvar $4fe3cd2ecda1db90$var$getDistVersion = function(packageName, distTag) {\n return $4fe3cd2ecda1db90$var$__awaiter(void 0, void 0, void 0, function() {\n var url;\n return $4fe3cd2ecda1db90$var$__generator(this, function(_a) {\n url = \"https://registry.npmjs.org/-/package/\".concat(packageName, \"/dist-tags\");\n return [\n 2 /*return*/ ,\n new Promise(function(resolve, reject) {\n $d7DIX$https.get(url, function(res) {\n var body = \"\";\n res.on(\"data\", function(chunk) {\n return body += chunk;\n });\n res.on(\"end\", function() {\n try {\n var json = JSON.parse(body);\n var version = json[distTag];\n if (!version) reject(new Error(\"Error getting version\"));\n resolve(version);\n } catch (_a) {\n reject(new Error(\"Could not parse version response\"));\n }\n });\n }).on(\"error\", function(err) {\n return reject(err);\n });\n })\n ];\n });\n });\n};\nvar $4fe3cd2ecda1db90$var$hasNewVersion = function(_a) {\n var pkg = _a.pkg, _b = _a.updateCheckInterval, updateCheckInterval = _b === void 0 ? 86400000 : _b, _c = _a.distTag, distTag = _c === void 0 ? \"latest\" : _c, alwaysRun = _a.alwaysRun, debug = _a.debug;\n return $4fe3cd2ecda1db90$var$__awaiter(void 0, void 0, void 0, function() {\n var lastUpdateCheck, latestVersion;\n return $4fe3cd2ecda1db90$var$__generator(this, function(_d) {\n switch(_d.label){\n case 0:\n $4fe3cd2ecda1db90$var$createConfigDir();\n lastUpdateCheck = $4fe3cd2ecda1db90$var$getLastUpdate(pkg.name);\n if (!(alwaysRun || !lastUpdateCheck || lastUpdateCheck < new Date().getTime() - updateCheckInterval)) return [\n 3 /*break*/ ,\n 2\n ];\n return [\n 4 /*yield*/ ,\n $4fe3cd2ecda1db90$var$getDistVersion(pkg.name, distTag)\n ];\n case 1:\n latestVersion = _d.sent();\n $4fe3cd2ecda1db90$var$saveLastUpdate(pkg.name);\n if ($lJEXJ.gt(latestVersion, pkg.version)) return [\n 2 /*return*/ ,\n latestVersion\n ];\n else if (debug) console.error(\"Latest version (\".concat(latestVersion, \") not newer than current version (\").concat(pkg.version, \")\"));\n return [\n 3 /*break*/ ,\n 3\n ];\n case 2:\n if (debug) console.error(\"Too recent to check for a new update. simpleUpdateNotifier() interval set to \".concat(updateCheckInterval, \"ms but only \").concat(new Date().getTime() - lastUpdateCheck, \"ms since last check.\"));\n _d.label = 3;\n case 3:\n return [\n 2 /*return*/ ,\n false\n ];\n }\n });\n });\n};\nvar $4fe3cd2ecda1db90$var$borderedText = function(text) {\n var lines = text.split(\"\\n\");\n var width = Math.max.apply(Math, lines.map(function(l) {\n return l.length;\n }));\n var res = [\n \"┌\".concat(\"─\".repeat(width + 2), \"┐\")\n ];\n for(var _i = 0, lines_1 = lines; _i < lines_1.length; _i++){\n var line = lines_1[_i];\n res.push(\"│ \".concat(line.padEnd(width), \" │\"));\n }\n res.push(\"└\".concat(\"─\".repeat(width + 2), \"┘\"));\n return res.join(\"\\n\");\n};\nvar $4fe3cd2ecda1db90$var$simpleUpdateNotifier = function(args) {\n return $4fe3cd2ecda1db90$var$__awaiter(void 0, void 0, void 0, function() {\n var latestVersion, err_1;\n return $4fe3cd2ecda1db90$var$__generator(this, function(_a) {\n switch(_a.label){\n case 0:\n if (!args.alwaysRun && (!process.stdout.isTTY || $4fe3cd2ecda1db90$var$isNpmOrYarn && !args.shouldNotifyInNpmScript)) {\n if (args.debug) console.error(\"Opting out of running simpleUpdateNotifier()\");\n return [\n 2 /*return*/ \n ];\n }\n _a.label = 1;\n case 1:\n _a.trys.push([\n 1,\n 3,\n ,\n 4\n ]);\n return [\n 4 /*yield*/ ,\n $4fe3cd2ecda1db90$var$hasNewVersion(args)\n ];\n case 2:\n latestVersion = _a.sent();\n if (latestVersion) console.error($4fe3cd2ecda1db90$var$borderedText(\"New version of \".concat(args.pkg.name, \" available!\\nCurrent Version: \").concat(args.pkg.version, \"\\nLatest Version: \").concat(latestVersion)));\n return [\n 3 /*break*/ ,\n 4\n ];\n case 3:\n err_1 = _a.sent();\n // Catch any network errors or cache writing errors so module doesn't cause a crash\n if (args.debug && err_1 instanceof Error) console.error(\"Unexpected error in simpleUpdateNotifier():\", err_1);\n return [\n 3 /*break*/ ,\n 4\n ];\n case 4:\n return [\n 2 /*return*/ \n ];\n }\n });\n });\n};\n$4fe3cd2ecda1db90$exports = $4fe3cd2ecda1db90$var$simpleUpdateNotifier;\n\n\nvar $276f0975e227ff36$exports = {};\n$276f0975e227ff36$exports = JSON.parse('{\"name\":\"setup-cpp\",\"version\":\"0.36.1\"}');\n\n\nasync function $cb87868918740ed3$export$31c6d94eb20a8ca7() {\n try {\n await (0, (/*@__PURE__*/$parcel$interopDefault($4fe3cd2ecda1db90$exports)))({\n pkg: (0, (/*@__PURE__*/$parcel$interopDefault($276f0975e227ff36$exports)))\n });\n } catch (err) {\n (0, $ER74K.warning)(`Failed to check for updates: ${err instanceof Error ? err.message + err.stack : err}`);\n }\n}\n\n\n\nvar $lcRzN = parcelRequire(\"lcRzN\");\n\nvar $ER74K = parcelRequire(\"ER74K\");\nfunction $2fdf9153abf9f994$var$toArr(any) {\n return any == null ? [] : Array.isArray(any) ? any : [\n any\n ];\n}\nfunction $2fdf9153abf9f994$var$toVal(out, key, val, opts) {\n var x, old = out[key], nxt = !!~opts.string.indexOf(key) ? val == null || val === true ? \"\" : String(val) : typeof val === \"boolean\" ? val : !!~opts.boolean.indexOf(key) ? val === \"false\" ? false : val === \"true\" || (out._.push((x = +val, x * 0 === 0) ? x : val), !!val) : (x = +val, x * 0 === 0) ? x : val;\n out[key] = old == null ? nxt : Array.isArray(old) ? old.concat(nxt) : [\n old,\n nxt\n ];\n}\nfunction $2fdf9153abf9f994$export$2e2bcd8739ae039(args, opts) {\n args = args || [];\n opts = opts || {};\n var k, arr, arg, name, val, out = {\n _: []\n };\n var i = 0, j = 0, idx = 0, len = args.length;\n const alibi = opts.alias !== void 0;\n const strict = opts.unknown !== void 0;\n const defaults = opts.default !== void 0;\n opts.alias = opts.alias || {};\n opts.string = $2fdf9153abf9f994$var$toArr(opts.string);\n opts.boolean = $2fdf9153abf9f994$var$toArr(opts.boolean);\n if (alibi) for(k in opts.alias){\n arr = opts.alias[k] = $2fdf9153abf9f994$var$toArr(opts.alias[k]);\n for(i = 0; i < arr.length; i++)(opts.alias[arr[i]] = arr.concat(k)).splice(i, 1);\n }\n for(i = opts.boolean.length; i-- > 0;){\n arr = opts.alias[opts.boolean[i]] || [];\n for(j = arr.length; j-- > 0;)opts.boolean.push(arr[j]);\n }\n for(i = opts.string.length; i-- > 0;){\n arr = opts.alias[opts.string[i]] || [];\n for(j = arr.length; j-- > 0;)opts.string.push(arr[j]);\n }\n if (defaults) for(k in opts.default){\n name = typeof opts.default[k];\n arr = opts.alias[k] = opts.alias[k] || [];\n if (opts[name] !== void 0) {\n opts[name].push(k);\n for(i = 0; i < arr.length; i++)opts[name].push(arr[i]);\n }\n }\n const keys = strict ? Object.keys(opts.alias) : [];\n for(i = 0; i < len; i++){\n arg = args[i];\n if (arg === \"--\") {\n out._ = out._.concat(args.slice(++i));\n break;\n }\n for(j = 0; j < arg.length; j++){\n if (arg.charCodeAt(j) !== 45) break; // \"-\"\n }\n if (j === 0) out._.push(arg);\n else if (arg.substring(j, j + 3) === \"no-\") {\n name = arg.substring(j + 3);\n if (strict && !~keys.indexOf(name)) return opts.unknown(arg);\n out[name] = false;\n } else {\n for(idx = j + 1; idx < arg.length; idx++){\n if (arg.charCodeAt(idx) === 61) break; // \"=\"\n }\n name = arg.substring(j, idx);\n val = arg.substring(++idx) || i + 1 === len || (\"\" + args[i + 1]).charCodeAt(0) === 45 || args[++i];\n arr = j === 2 ? [\n name\n ] : name;\n for(idx = 0; idx < arr.length; idx++){\n name = arr[idx];\n if (strict && !~keys.indexOf(name)) return opts.unknown(\"-\".repeat(j) + name);\n $2fdf9153abf9f994$var$toVal(out, name, idx + 1 < arr.length || val, opts);\n }\n }\n }\n if (defaults) {\n for(k in opts.default)if (out[k] === void 0) out[k] = opts.default[k];\n }\n if (alibi) for(k in out){\n arr = opts.alias[k] || [];\n while(arr.length > 0)out[arr.shift()] = out[k];\n }\n return out;\n}\n\n\n\n\nvar $dTX7a = parcelRequire(\"dTX7a\");\n\nvar $lcRzN = parcelRequire(\"lcRzN\");\n\nvar $dTX7a = parcelRequire(\"dTX7a\");\n\n\n\nvar $ER74K = parcelRequire(\"ER74K\");\n\n\n\n\n\nfunction $2ab7bac94b4dccca$export$2e2bcd8739ae039(input) {\n const LF = typeof input === \"string\" ? \"\\n\" : \"\\n\".charCodeAt();\n const CR = typeof input === \"string\" ? \"\\r\" : \"\\r\".charCodeAt();\n if (input[input.length - 1] === LF) input = input.slice(0, -1);\n if (input[input.length - 1] === CR) input = input.slice(0, -1);\n return input;\n}\n\n\n\n\n\nfunction $ac6213fd5778797d$export$2e2bcd8739ae039(options = {}) {\n const { env: env = process.env, platform: platform = process.platform } = options;\n if (platform !== \"win32\") return \"PATH\";\n return Object.keys(env).reverse().find((key)=>key.toUpperCase() === \"PATH\") || \"Path\";\n}\n\n\nfunction $377ad15e76cc6af3$export$62a298cbef08d65c(options = {}) {\n const { cwd: cwd = (0, ($parcel$interopDefault($d7DIX$nodeprocess))).cwd(), path: path_ = (0, ($parcel$interopDefault($d7DIX$nodeprocess))).env[(0, $ac6213fd5778797d$export$2e2bcd8739ae039)()], execPath: execPath = (0, ($parcel$interopDefault($d7DIX$nodeprocess))).execPath } = options;\n let previous;\n const cwdString = cwd instanceof URL ? (0, ($parcel$interopDefault($d7DIX$nodeurl))).fileURLToPath(cwd) : cwd;\n let cwdPath = (0, ($parcel$interopDefault($d7DIX$nodepath))).resolve(cwdString);\n const result = [];\n while(previous !== cwdPath){\n result.push((0, ($parcel$interopDefault($d7DIX$nodepath))).join(cwdPath, \"node_modules/.bin\"));\n previous = cwdPath;\n cwdPath = (0, ($parcel$interopDefault($d7DIX$nodepath))).resolve(cwdPath, \"..\");\n }\n // Ensure the running `node` binary is used.\n result.push((0, ($parcel$interopDefault($d7DIX$nodepath))).resolve(cwdString, execPath, \"..\"));\n return [\n ...result,\n path_\n ].join((0, ($parcel$interopDefault($d7DIX$nodepath))).delimiter);\n}\nfunction $377ad15e76cc6af3$export$340e1fbaac04248b({ env: env = (0, ($parcel$interopDefault($d7DIX$nodeprocess))).env, ...options } = {}) {\n env = {\n ...env\n };\n const path = (0, $ac6213fd5778797d$export$2e2bcd8739ae039)({\n env: env\n });\n options.path = env[path];\n env[path] = $377ad15e76cc6af3$export$62a298cbef08d65c(options);\n return env;\n}\n\n\nconst $aaee6e25a3997d84$var$copyProperty = (to, from, property, ignoreNonConfigurable)=>{\n // `Function#length` should reflect the parameters of `to` not `from` since we keep its body.\n // `Function#prototype` is non-writable and non-configurable so can never be modified.\n if (property === \"length\" || property === \"prototype\") return;\n // `Function#arguments` and `Function#caller` should not be copied. They were reported to be present in `Reflect.ownKeys` for some devices in React Native (#41), so we explicitly ignore them here.\n if (property === \"arguments\" || property === \"caller\") return;\n const toDescriptor = Object.getOwnPropertyDescriptor(to, property);\n const fromDescriptor = Object.getOwnPropertyDescriptor(from, property);\n if (!$aaee6e25a3997d84$var$canCopyProperty(toDescriptor, fromDescriptor) && ignoreNonConfigurable) return;\n Object.defineProperty(to, property, fromDescriptor);\n};\n// `Object.defineProperty()` throws if the property exists, is not configurable and either:\n// - one its descriptors is changed\n// - it is non-writable and its value is changed\nconst $aaee6e25a3997d84$var$canCopyProperty = function(toDescriptor, fromDescriptor) {\n return toDescriptor === undefined || toDescriptor.configurable || toDescriptor.writable === fromDescriptor.writable && toDescriptor.enumerable === fromDescriptor.enumerable && toDescriptor.configurable === fromDescriptor.configurable && (toDescriptor.writable || toDescriptor.value === fromDescriptor.value);\n};\nconst $aaee6e25a3997d84$var$changePrototype = (to, from)=>{\n const fromPrototype = Object.getPrototypeOf(from);\n if (fromPrototype === Object.getPrototypeOf(to)) return;\n Object.setPrototypeOf(to, fromPrototype);\n};\nconst $aaee6e25a3997d84$var$wrappedToString = (withName, fromBody)=>`/* Wrapped ${withName}*/\\n${fromBody}`;\nconst $aaee6e25a3997d84$var$toStringDescriptor = Object.getOwnPropertyDescriptor(Function.prototype, \"toString\");\nconst $aaee6e25a3997d84$var$toStringName = Object.getOwnPropertyDescriptor(Function.prototype.toString, \"name\");\n// We call `from.toString()` early (not lazily) to ensure `from` can be garbage collected.\n// We use `bind()` instead of a closure for the same reason.\n// Calling `from.toString()` early also allows caching it in case `to.toString()` is called several times.\nconst $aaee6e25a3997d84$var$changeToString = (to, from, name)=>{\n const withName = name === \"\" ? \"\" : `with ${name.trim()}() `;\n const newToString = $aaee6e25a3997d84$var$wrappedToString.bind(null, withName, from.toString());\n // Ensure `to.toString.toString` is non-enumerable and has the same `same`\n Object.defineProperty(newToString, \"name\", $aaee6e25a3997d84$var$toStringName);\n Object.defineProperty(to, \"toString\", {\n ...$aaee6e25a3997d84$var$toStringDescriptor,\n value: newToString\n });\n};\nfunction $aaee6e25a3997d84$export$2e2bcd8739ae039(to, from, { ignoreNonConfigurable: ignoreNonConfigurable = false } = {}) {\n const { name: name } = to;\n for (const property of Reflect.ownKeys(from))$aaee6e25a3997d84$var$copyProperty(to, from, property, ignoreNonConfigurable);\n $aaee6e25a3997d84$var$changePrototype(to, from);\n $aaee6e25a3997d84$var$changeToString(to, from, name);\n return to;\n}\n\n\nconst $7b1fd4cd812d5227$var$calledFunctions = new WeakMap();\nconst $7b1fd4cd812d5227$var$onetime = (function_, options = {})=>{\n if (typeof function_ !== \"function\") throw new TypeError(\"Expected a function\");\n let returnValue;\n let callCount = 0;\n const functionName = function_.displayName || function_.name || \"\";\n const onetime = function(...arguments_) {\n $7b1fd4cd812d5227$var$calledFunctions.set(onetime, ++callCount);\n if (callCount === 1) {\n returnValue = function_.apply(this, arguments_);\n function_ = null;\n } else if (options.throw === true) throw new Error(`Function \\`${functionName}\\` can only be called once`);\n return returnValue;\n };\n (0, $aaee6e25a3997d84$export$2e2bcd8739ae039)(onetime, function_);\n $7b1fd4cd812d5227$var$calledFunctions.set(onetime, callCount);\n return onetime;\n};\n$7b1fd4cd812d5227$var$onetime.callCount = (function_)=>{\n if (!$7b1fd4cd812d5227$var$calledFunctions.has(function_)) throw new Error(`The given function \\`${function_.name}\\` is not wrapped by the \\`onetime\\` package`);\n return $7b1fd4cd812d5227$var$calledFunctions.get(function_);\n};\nvar $7b1fd4cd812d5227$export$2e2bcd8739ae039 = $7b1fd4cd812d5227$var$onetime;\n\n\n\nconst $431d023be48e6a32$export$e221a98f4fd84d36 = ()=>{\n const length = $431d023be48e6a32$export$dc8812f2f8882ff4 - $431d023be48e6a32$var$SIGRTMIN + 1;\n return Array.from({\n length: length\n }, $431d023be48e6a32$var$getRealtimeSignal);\n};\nconst $431d023be48e6a32$var$getRealtimeSignal = (value, index)=>({\n name: `SIGRT${index + 1}`,\n number: $431d023be48e6a32$var$SIGRTMIN + index,\n action: \"terminate\",\n description: \"Application-specific signal (realtime)\",\n standard: \"posix\"\n });\nconst $431d023be48e6a32$var$SIGRTMIN = 34;\nconst $431d023be48e6a32$export$dc8812f2f8882ff4 = 64;\n\n\n\nconst $b1a9bb7d4240f2b8$export$a43bf6822cc694af = [\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: \"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\n\n\nconst $d94c33523db6959d$export$c50078d4faa171f0 = ()=>{\n const realtimeSignals = (0, $431d023be48e6a32$export$e221a98f4fd84d36)();\n const signals = [\n ...(0, $b1a9bb7d4240f2b8$export$a43bf6822cc694af),\n ...realtimeSignals\n ].map($d94c33523db6959d$var$normalizeSignal);\n return signals;\n};\nconst $d94c33523db6959d$var$normalizeSignal = ({ name: name, number: defaultNumber, description: description, action: action, forced: forced = false, standard: standard })=>{\n const { signals: { [name]: constantSignal } } = (0, $d7DIX$nodeos.constants);\n const supported = constantSignal !== undefined;\n const number = supported ? constantSignal : defaultNumber;\n return {\n name: name,\n number: number,\n description: description,\n supported: supported,\n action: action,\n forced: forced,\n standard: standard\n };\n};\n\n\nconst $fdad0395637cfe30$var$getSignalsByName = ()=>{\n const signals = (0, $d94c33523db6959d$export$c50078d4faa171f0)();\n return Object.fromEntries(signals.map($fdad0395637cfe30$var$getSignalByName));\n};\nconst $fdad0395637cfe30$var$getSignalByName = ({ name: name, number: number, description: description, supported: supported, action: action, forced: forced, standard: standard })=>[\n name,\n {\n name: name,\n number: number,\n description: description,\n supported: supported,\n action: action,\n forced: forced,\n standard: standard\n }\n ];\nconst $fdad0395637cfe30$export$c3fcb39d6848c78d = $fdad0395637cfe30$var$getSignalsByName();\nconst $fdad0395637cfe30$var$getSignalsByNumber = ()=>{\n const signals = (0, $d94c33523db6959d$export$c50078d4faa171f0)();\n const length = (0, $431d023be48e6a32$export$dc8812f2f8882ff4) + 1;\n const signalsA = Array.from({\n length: length\n }, (value, number)=>$fdad0395637cfe30$var$getSignalByNumber(number, signals));\n return Object.assign({}, ...signalsA);\n};\nconst $fdad0395637cfe30$var$getSignalByNumber = (number, signals)=>{\n const signal = $fdad0395637cfe30$var$findSignalByNumber(number, signals);\n if (signal === undefined) return {};\n const { name: name, description: description, supported: supported, action: action, forced: forced, standard: standard } = signal;\n return {\n [number]: {\n name: name,\n number: number,\n description: description,\n supported: supported,\n action: action,\n forced: forced,\n standard: standard\n }\n };\n};\nconst $fdad0395637cfe30$var$findSignalByNumber = (number, signals)=>{\n const signal = signals.find(({ name: name })=>(0, $d7DIX$nodeos.constants).signals[name] === number);\n if (signal !== undefined) return signal;\n return signals.find((signalA)=>signalA.number === number);\n};\nconst $fdad0395637cfe30$export$12f57f97a08d2468 = $fdad0395637cfe30$var$getSignalsByNumber();\n\n\nconst $8032d85e7907774f$var$getErrorPrefix = ({ timedOut: timedOut, timeout: timeout, errorCode: errorCode, signal: signal, signalDescription: signalDescription, exitCode: exitCode, isCanceled: isCanceled })=>{\n if (timedOut) return `timed out after ${timeout} milliseconds`;\n if (isCanceled) return \"was canceled\";\n if (errorCode !== undefined) return `failed with ${errorCode}`;\n if (signal !== undefined) return `was killed with ${signal} (${signalDescription})`;\n if (exitCode !== undefined) return `failed with exit code ${exitCode}`;\n return \"failed\";\n};\nconst $8032d85e7907774f$export$5a4bb2b1c89bdce7 = ({ stdout: stdout, stderr: stderr, all: all, error: error, signal: signal, exitCode: exitCode, command: command, escapedCommand: escapedCommand, timedOut: timedOut, isCanceled: isCanceled, killed: killed, parsed: { options: { timeout: timeout } } })=>{\n // `signal` and `exitCode` emitted on `spawned.on('exit')` event can be `null`.\n // We normalize them to `undefined`\n exitCode = exitCode === null ? undefined : exitCode;\n signal = signal === null ? undefined : signal;\n const signalDescription = signal === undefined ? undefined : (0, $fdad0395637cfe30$export$c3fcb39d6848c78d)[signal].description;\n const errorCode = error && error.code;\n const prefix = $8032d85e7907774f$var$getErrorPrefix({\n timedOut: timedOut,\n timeout: timeout,\n errorCode: errorCode,\n signal: signal,\n signalDescription: signalDescription,\n exitCode: exitCode,\n isCanceled: isCanceled\n });\n const execaMessage = `Command ${prefix}: ${command}`;\n const isError = Object.prototype.toString.call(error) === \"[object Error]\";\n const shortMessage = isError ? `${execaMessage}\\n${error.message}` : execaMessage;\n const message = [\n shortMessage,\n stderr,\n stdout\n ].filter(Boolean).join(\"\\n\");\n if (isError) {\n error.originalMessage = error.message;\n error.message = message;\n } else error = new Error(message);\n error.shortMessage = shortMessage;\n error.command = command;\n error.escapedCommand = escapedCommand;\n error.exitCode = exitCode;\n error.signal = signal;\n error.signalDescription = signalDescription;\n error.stdout = stdout;\n error.stderr = stderr;\n if (all !== undefined) error.all = all;\n if (\"bufferedData\" in error) delete error.bufferedData;\n error.failed = true;\n error.timedOut = Boolean(timedOut);\n error.isCanceled = isCanceled;\n error.killed = killed && !timedOut;\n return error;\n};\n\n\nconst $8f67569ac89dd688$var$aliases = [\n \"stdin\",\n \"stdout\",\n \"stderr\"\n];\nconst $8f67569ac89dd688$var$hasAlias = (options)=>$8f67569ac89dd688$var$aliases.some((alias)=>options[alias] !== undefined);\nconst $8f67569ac89dd688$export$a581401a57fac02e = (options)=>{\n if (!options) return;\n const { stdio: stdio } = options;\n if (stdio === undefined) return $8f67569ac89dd688$var$aliases.map((alias)=>options[alias]);\n if ($8f67569ac89dd688$var$hasAlias(options)) throw new Error(`It's not possible to provide \\`stdio\\` in combination with one of ${$8f67569ac89dd688$var$aliases.map((alias)=>`\\`${alias}\\``).join(\", \")}`);\n if (typeof stdio === \"string\") return stdio;\n if (!Array.isArray(stdio)) throw new TypeError(`Expected \\`stdio\\` to be of type \\`string\\` or \\`Array\\`, got \\`${typeof stdio}\\``);\n const length = Math.max(stdio.length, $8f67569ac89dd688$var$aliases.length);\n return Array.from({\n length: length\n }, (value, index)=>stdio[index]);\n};\nconst $8f67569ac89dd688$export$889423b478ae2ba = (options)=>{\n const stdio = $8f67569ac89dd688$export$a581401a57fac02e(options);\n if (stdio === \"ipc\") return \"ipc\";\n if (stdio === undefined || typeof stdio === \"string\") return [\n stdio,\n stdio,\n stdio,\n \"ipc\"\n ];\n if (stdio.includes(\"ipc\")) return stdio;\n return [\n ...stdio,\n \"ipc\"\n ];\n};\n\n\n\n\nconst $20676f95373976d8$var$DEFAULT_FORCE_KILL_TIMEOUT = 5000;\nconst $20676f95373976d8$export$971fa1b57c7f00b = (kill, signal = \"SIGTERM\", options = {})=>{\n const killResult = kill(signal);\n $20676f95373976d8$var$setKillTimeout(kill, signal, options, killResult);\n return killResult;\n};\nconst $20676f95373976d8$var$setKillTimeout = (kill, signal, options, killResult)=>{\n if (!$20676f95373976d8$var$shouldForceKill(signal, options, killResult)) return;\n const timeout = $20676f95373976d8$var$getForceKillAfterTimeout(options);\n const t = setTimeout(()=>{\n kill(\"SIGKILL\");\n }, timeout);\n // Guarded because there's no `.unref()` when `execa` is used in the renderer\n // process in Electron. This cannot be tested since we don't run tests in\n // Electron.\n // istanbul ignore else\n if (t.unref) t.unref();\n};\nconst $20676f95373976d8$var$shouldForceKill = (signal, { forceKillAfterTimeout: forceKillAfterTimeout }, killResult)=>$20676f95373976d8$var$isSigterm(signal) && forceKillAfterTimeout !== false && killResult;\nconst $20676f95373976d8$var$isSigterm = (signal)=>signal === (0, ($parcel$interopDefault($d7DIX$nodeos))).constants.signals.SIGTERM || typeof signal === \"string\" && signal.toUpperCase() === \"SIGTERM\";\nconst $20676f95373976d8$var$getForceKillAfterTimeout = ({ forceKillAfterTimeout: forceKillAfterTimeout = true })=>{\n if (forceKillAfterTimeout === true) return $20676f95373976d8$var$DEFAULT_FORCE_KILL_TIMEOUT;\n if (!Number.isFinite(forceKillAfterTimeout) || forceKillAfterTimeout < 0) throw new TypeError(`Expected the \\`forceKillAfterTimeout\\` option to be a non-negative integer, got \\`${forceKillAfterTimeout}\\` (${typeof forceKillAfterTimeout})`);\n return forceKillAfterTimeout;\n};\nconst $20676f95373976d8$export$667e13cd9b70ca17 = (spawned, context)=>{\n const killResult = spawned.kill();\n if (killResult) context.isCanceled = true;\n};\nconst $20676f95373976d8$var$timeoutKill = (spawned, signal, reject)=>{\n spawned.kill(signal);\n reject(Object.assign(new Error(\"Timed out\"), {\n timedOut: true,\n signal: signal\n }));\n};\nconst $20676f95373976d8$export$6bcc98999eb82896 = (spawned, { timeout: timeout, killSignal: killSignal = \"SIGTERM\" }, spawnedPromise)=>{\n if (timeout === 0 || timeout === undefined) return spawnedPromise;\n let timeoutId;\n const timeoutPromise = new Promise((resolve, reject)=>{\n timeoutId = setTimeout(()=>{\n $20676f95373976d8$var$timeoutKill(spawned, killSignal, reject);\n }, timeout);\n });\n const safeSpawnedPromise = spawnedPromise.finally(()=>{\n clearTimeout(timeoutId);\n });\n return Promise.race([\n timeoutPromise,\n safeSpawnedPromise\n ]);\n};\nconst $20676f95373976d8$export$3186f8866f616f9f = ({ timeout: timeout })=>{\n if (timeout !== undefined && (!Number.isFinite(timeout) || timeout < 0)) throw new TypeError(`Expected the \\`timeout\\` option to be a non-negative integer, got \\`${timeout}\\` (${typeof timeout})`);\n};\nconst $20676f95373976d8$export$79fc3056c9ca4ada = async (spawned, { cleanup: cleanup, detached: detached }, timedPromise)=>{\n if (!cleanup || detached) return timedPromise;\n const removeExitHandler = (0, (/*@__PURE__*/$parcel$interopDefault($7a0875ae79160463$exports)))(()=>{\n spawned.kill();\n });\n return timedPromise.finally(()=>{\n removeExitHandler();\n });\n};\n\n\n\n\nfunction $1b845941fd0b06aa$export$294a92d8f7b3979(stream) {\n return stream !== null && typeof stream === \"object\" && typeof stream.pipe === \"function\";\n}\nfunction $1b845941fd0b06aa$export$b58a61c52edb4f66(stream) {\n return $1b845941fd0b06aa$export$294a92d8f7b3979(stream) && stream.writable !== false && typeof stream._write === \"function\" && typeof stream._writableState === \"object\";\n}\nfunction $1b845941fd0b06aa$export$ac613ff475b69d05(stream) {\n return $1b845941fd0b06aa$export$294a92d8f7b3979(stream) && stream.readable !== false && typeof stream._read === \"function\" && typeof stream._readableState === \"object\";\n}\nfunction $1b845941fd0b06aa$export$f92d8ccfaec172d4(stream) {\n return $1b845941fd0b06aa$export$b58a61c52edb4f66(stream) && $1b845941fd0b06aa$export$ac613ff475b69d05(stream);\n}\nfunction $1b845941fd0b06aa$export$3053cdc6f2e088fd(stream) {\n return $1b845941fd0b06aa$export$f92d8ccfaec172d4(stream) && typeof stream._transform === \"function\";\n}\n\n\nconst $fa9359749316c783$var$isExecaChildProcess = (target)=>target instanceof (0, $d7DIX$nodechild_process.ChildProcess) && typeof target.then === \"function\";\nconst $fa9359749316c783$var$pipeToTarget = (spawned, streamName, target)=>{\n if (typeof target === \"string\") {\n spawned[streamName].pipe((0, $d7DIX$nodefs.createWriteStream)(target));\n return spawned;\n }\n if ((0, $1b845941fd0b06aa$export$b58a61c52edb4f66)(target)) {\n spawned[streamName].pipe(target);\n return spawned;\n }\n if (!$fa9359749316c783$var$isExecaChildProcess(target)) throw new TypeError(\"The second argument must be a string, a stream or an Execa child process.\");\n if (!(0, $1b845941fd0b06aa$export$b58a61c52edb4f66)(target.stdin)) throw new TypeError(\"The target child process's stdin must be available.\");\n spawned[streamName].pipe(target.stdin);\n return target;\n};\nconst $fa9359749316c783$export$14becf8d91886424 = (spawned)=>{\n if (spawned.stdout !== null) spawned.pipeStdout = $fa9359749316c783$var$pipeToTarget.bind(undefined, spawned, \"stdout\");\n if (spawned.stderr !== null) spawned.pipeStderr = $fa9359749316c783$var$pipeToTarget.bind(undefined, spawned, \"stderr\");\n if (spawned.all !== undefined) spawned.pipeAll = $fa9359749316c783$var$pipeToTarget.bind(undefined, spawned, \"all\");\n};\n\n\n\n\n\n\nconst $f01023e574f93d07$var$validateInputOptions = (input)=>{\n if (input !== undefined) throw new TypeError(\"The `input` and `inputFile` options cannot be both set.\");\n};\nconst $f01023e574f93d07$var$getInputSync = ({ input: input, inputFile: inputFile })=>{\n if (typeof inputFile !== \"string\") return input;\n $f01023e574f93d07$var$validateInputOptions(input);\n return (0, $d7DIX$nodefs.readFileSync)(inputFile);\n};\nconst $f01023e574f93d07$export$7f2f9b6457412b41 = (options)=>{\n const input = $f01023e574f93d07$var$getInputSync(options);\n if ((0, $1b845941fd0b06aa$export$294a92d8f7b3979)(input)) throw new TypeError(\"The `input` option cannot be a stream in sync mode\");\n return input;\n};\nconst $f01023e574f93d07$var$getInput = ({ input: input, inputFile: inputFile })=>{\n if (typeof inputFile !== \"string\") return input;\n $f01023e574f93d07$var$validateInputOptions(input);\n return (0, $d7DIX$nodefs.createReadStream)(inputFile);\n};\nconst $f01023e574f93d07$export$412508d679148d5c = (spawned, options)=>{\n const input = $f01023e574f93d07$var$getInput(options);\n if (input === undefined) return;\n if ((0, $1b845941fd0b06aa$export$294a92d8f7b3979)(input)) input.pipe(spawned.stdin);\n else spawned.stdin.end(input);\n};\nconst $f01023e574f93d07$export$41f5c0c12dadd6ae = (spawned, { all: all })=>{\n if (!all || !spawned.stdout && !spawned.stderr) return;\n const mixed = (0, (/*@__PURE__*/$parcel$interopDefault($50d0883357807da8$exports)))();\n if (spawned.stdout) mixed.add(spawned.stdout);\n if (spawned.stderr) mixed.add(spawned.stderr);\n return mixed;\n};\n// On failure, `result.stdout|stderr|all` should contain the currently buffered stream\nconst $f01023e574f93d07$var$getBufferedData = async (stream, streamPromise)=>{\n // When `buffer` is `false`, `streamPromise` is `undefined` and there is no buffered data to retrieve\n if (!stream || streamPromise === undefined) return;\n stream.destroy();\n try {\n return await streamPromise;\n } catch (error) {\n return error.bufferedData;\n }\n};\nconst $f01023e574f93d07$var$getStreamPromise = (stream, { encoding: encoding, buffer: buffer, maxBuffer: maxBuffer })=>{\n if (!stream || !buffer) return;\n if (encoding) return (0, (/*@__PURE__*/$parcel$interopDefault($51bb95e1718a9e99$exports)))(stream, {\n encoding: encoding,\n maxBuffer: maxBuffer\n });\n return (0, (/*@__PURE__*/$parcel$interopDefault($51bb95e1718a9e99$exports))).buffer(stream, {\n maxBuffer: maxBuffer\n });\n};\nconst $f01023e574f93d07$export$67b768ac9e1c70fa = async ({ stdout: stdout, stderr: stderr, all: all }, { encoding: encoding, buffer: buffer, maxBuffer: maxBuffer }, processDone)=>{\n const stdoutPromise = $f01023e574f93d07$var$getStreamPromise(stdout, {\n encoding: encoding,\n buffer: buffer,\n maxBuffer: maxBuffer\n });\n const stderrPromise = $f01023e574f93d07$var$getStreamPromise(stderr, {\n encoding: encoding,\n buffer: buffer,\n maxBuffer: maxBuffer\n });\n const allPromise = $f01023e574f93d07$var$getStreamPromise(all, {\n encoding: encoding,\n buffer: buffer,\n maxBuffer: maxBuffer * 2\n });\n try {\n return await Promise.all([\n processDone,\n stdoutPromise,\n stderrPromise,\n allPromise\n ]);\n } catch (error) {\n return Promise.all([\n {\n error: error,\n signal: error.signal,\n timedOut: error.timedOut\n },\n $f01023e574f93d07$var$getBufferedData(stdout, stdoutPromise),\n $f01023e574f93d07$var$getBufferedData(stderr, stderrPromise),\n $f01023e574f93d07$var$getBufferedData(all, allPromise)\n ]);\n }\n};\n\n\n// eslint-disable-next-line unicorn/prefer-top-level-await\nconst $1758c2801846994d$var$nativePromisePrototype = (async ()=>{})().constructor.prototype;\nconst $1758c2801846994d$var$descriptors = [\n \"then\",\n \"catch\",\n \"finally\"\n].map((property)=>[\n property,\n Reflect.getOwnPropertyDescriptor($1758c2801846994d$var$nativePromisePrototype, property)\n ]);\nconst $1758c2801846994d$export$e6eb0007fd542aba = (spawned, promise)=>{\n for (const [property, descriptor] of $1758c2801846994d$var$descriptors){\n // Starting the main `promise` is deferred to avoid consuming streams\n const value = typeof promise === \"function\" ? (...args)=>Reflect.apply(descriptor.value, promise(), args) : descriptor.value.bind(promise);\n Reflect.defineProperty(spawned, property, {\n ...descriptor,\n value: value\n });\n }\n};\nconst $1758c2801846994d$export$6e3a9b5342d42997 = (spawned)=>new Promise((resolve, reject)=>{\n spawned.on(\"exit\", (exitCode, signal)=>{\n resolve({\n exitCode: exitCode,\n signal: signal\n });\n });\n spawned.on(\"error\", (error)=>{\n reject(error);\n });\n if (spawned.stdin) spawned.stdin.on(\"error\", (error)=>{\n reject(error);\n });\n });\n\n\n\n\nconst $8ce568eb6882b236$var$normalizeArgs = (file, args = [])=>{\n if (!Array.isArray(args)) return [\n file\n ];\n return [\n file,\n ...args\n ];\n};\nconst $8ce568eb6882b236$var$NO_ESCAPE_REGEXP = /^[\\w.-]+$/;\nconst $8ce568eb6882b236$var$DOUBLE_QUOTES_REGEXP = /\"/g;\nconst $8ce568eb6882b236$var$escapeArg = (arg)=>{\n if (typeof arg !== \"string\" || $8ce568eb6882b236$var$NO_ESCAPE_REGEXP.test(arg)) return arg;\n return `\"${arg.replace($8ce568eb6882b236$var$DOUBLE_QUOTES_REGEXP, '\\\\\"')}\"`;\n};\nconst $8ce568eb6882b236$export$ab3db8fe5ebf3a1 = (file, args)=>$8ce568eb6882b236$var$normalizeArgs(file, args).join(\" \");\nconst $8ce568eb6882b236$export$9d3099014bd914f8 = (file, args)=>$8ce568eb6882b236$var$normalizeArgs(file, args).map((arg)=>$8ce568eb6882b236$var$escapeArg(arg)).join(\" \");\nconst $8ce568eb6882b236$var$SPACES_REGEXP = / +/g;\nconst $8ce568eb6882b236$export$78bcee23e0849f6a = (command)=>{\n const tokens = [];\n for (const token of command.trim().split($8ce568eb6882b236$var$SPACES_REGEXP)){\n // Allow spaces to be escaped by a backslash if not meant as a delimiter\n const previousToken = tokens[tokens.length - 1];\n if (previousToken && previousToken.endsWith(\"\\\\\")) // Merge previous token with current one\n tokens[tokens.length - 1] = `${previousToken.slice(0, -1)} ${token}`;\n else tokens.push(token);\n }\n return tokens;\n};\nconst $8ce568eb6882b236$var$parseExpression = (expression)=>{\n const typeOfExpression = typeof expression;\n if (typeOfExpression === \"string\") return expression;\n if (typeOfExpression === \"number\") return String(expression);\n if (typeOfExpression === \"object\" && expression !== null && !(expression instanceof (0, $d7DIX$nodechild_process.ChildProcess)) && \"stdout\" in expression) {\n const typeOfStdout = typeof expression.stdout;\n if (typeOfStdout === \"string\") return expression.stdout;\n if ((0, $d7DIX$nodebuffer.Buffer).isBuffer(expression.stdout)) return expression.stdout.toString();\n throw new TypeError(`Unexpected \"${typeOfStdout}\" stdout in template expression`);\n }\n throw new TypeError(`Unexpected \"${typeOfExpression}\" in template expression`);\n};\nconst $8ce568eb6882b236$var$concatTokens = (tokens, nextTokens, isNew)=>isNew || tokens.length === 0 || nextTokens.length === 0 ? [\n ...tokens,\n ...nextTokens\n ] : [\n ...tokens.slice(0, -1),\n `${tokens[tokens.length - 1]}${nextTokens[0]}`,\n ...nextTokens.slice(1)\n ];\nconst $8ce568eb6882b236$var$parseTemplate = ({ templates: templates, expressions: expressions, tokens: tokens, index: index, template: template })=>{\n const templateString = template ?? templates.raw[index];\n const templateTokens = templateString.split($8ce568eb6882b236$var$SPACES_REGEXP).filter(Boolean);\n const newTokens = $8ce568eb6882b236$var$concatTokens(tokens, templateTokens, templateString.startsWith(\" \"));\n if (index === expressions.length) return newTokens;\n const expression = expressions[index];\n const expressionTokens = Array.isArray(expression) ? expression.map((expression)=>$8ce568eb6882b236$var$parseExpression(expression)) : [\n $8ce568eb6882b236$var$parseExpression(expression)\n ];\n return $8ce568eb6882b236$var$concatTokens(newTokens, expressionTokens, templateString.endsWith(\" \"));\n};\nconst $8ce568eb6882b236$export$4a6ee54de9b0f25d = (templates, expressions)=>{\n let tokens = [];\n for (const [index, template] of templates.entries())tokens = $8ce568eb6882b236$var$parseTemplate({\n templates: templates,\n expressions: expressions,\n tokens: tokens,\n index: index,\n template: template\n });\n return tokens;\n};\n\n\n\n\nconst $a1a26e26c6ed219b$export$38bb3c1fbaa0bdcf = (0, $d7DIX$nodeutil.debuglog)(\"execa\").enabled;\nconst $a1a26e26c6ed219b$var$padField = (field, padding)=>String(field).padStart(padding, \"0\");\nconst $a1a26e26c6ed219b$var$getTimestamp = ()=>{\n const date = new Date();\n return `${$a1a26e26c6ed219b$var$padField(date.getHours(), 2)}:${$a1a26e26c6ed219b$var$padField(date.getMinutes(), 2)}:${$a1a26e26c6ed219b$var$padField(date.getSeconds(), 2)}.${$a1a26e26c6ed219b$var$padField(date.getMilliseconds(), 3)}`;\n};\nconst $a1a26e26c6ed219b$export$3bb886c4c1352118 = (escapedCommand, { verbose: verbose })=>{\n if (!verbose) return;\n (0, ($parcel$interopDefault($d7DIX$nodeprocess))).stderr.write(`[${$a1a26e26c6ed219b$var$getTimestamp()}] ${escapedCommand}\\n`);\n};\n\n\nconst $0793fb0b6d3aab2f$var$DEFAULT_MAX_BUFFER = 100000000;\nconst $0793fb0b6d3aab2f$var$getEnv = ({ env: envOption, extendEnv: extendEnv, preferLocal: preferLocal, localDir: localDir, execPath: execPath })=>{\n const env = extendEnv ? {\n ...(0, ($parcel$interopDefault($d7DIX$nodeprocess))).env,\n ...envOption\n } : envOption;\n if (preferLocal) return (0, $377ad15e76cc6af3$export$340e1fbaac04248b)({\n env: env,\n cwd: localDir,\n execPath: execPath\n });\n return env;\n};\nconst $0793fb0b6d3aab2f$var$handleArguments = (file, args, options = {})=>{\n const parsed = (0, (/*@__PURE__*/$parcel$interopDefault($c7dd3a41c12bbb5b$exports)))._parse(file, args, options);\n file = parsed.command;\n args = parsed.args;\n options = parsed.options;\n options = {\n maxBuffer: $0793fb0b6d3aab2f$var$DEFAULT_MAX_BUFFER,\n buffer: true,\n stripFinalNewline: true,\n extendEnv: true,\n preferLocal: false,\n localDir: options.cwd || (0, ($parcel$interopDefault($d7DIX$nodeprocess))).cwd(),\n execPath: (0, ($parcel$interopDefault($d7DIX$nodeprocess))).execPath,\n encoding: \"utf8\",\n reject: true,\n cleanup: true,\n all: false,\n windowsHide: true,\n verbose: (0, $a1a26e26c6ed219b$export$38bb3c1fbaa0bdcf),\n ...options\n };\n options.env = $0793fb0b6d3aab2f$var$getEnv(options);\n options.stdio = (0, $8f67569ac89dd688$export$a581401a57fac02e)(options);\n if ((0, ($parcel$interopDefault($d7DIX$nodeprocess))).platform === \"win32\" && (0, ($parcel$interopDefault($d7DIX$nodepath))).basename(file, \".exe\") === \"cmd\") // #116\n args.unshift(\"/q\");\n return {\n file: file,\n args: args,\n options: options,\n parsed: parsed\n };\n};\nconst $0793fb0b6d3aab2f$var$handleOutput = (options, value, error)=>{\n if (typeof value !== \"string\" && !(0, $d7DIX$nodebuffer.Buffer).isBuffer(value)) // When `execaSync()` errors, we normalize it to '' to mimic `execa()`\n return error === undefined ? undefined : \"\";\n if (options.stripFinalNewline) return (0, $2ab7bac94b4dccca$export$2e2bcd8739ae039)(value);\n return value;\n};\nfunction $0793fb0b6d3aab2f$export$db6b1668e3758717(file, args, options) {\n const parsed = $0793fb0b6d3aab2f$var$handleArguments(file, args, options);\n const command = (0, $8ce568eb6882b236$export$ab3db8fe5ebf3a1)(file, args);\n const escapedCommand = (0, $8ce568eb6882b236$export$9d3099014bd914f8)(file, args);\n (0, $a1a26e26c6ed219b$export$3bb886c4c1352118)(escapedCommand, parsed.options);\n (0, $20676f95373976d8$export$3186f8866f616f9f)(parsed.options);\n let spawned;\n try {\n spawned = (0, ($parcel$interopDefault($d7DIX$nodechild_process))).spawn(parsed.file, parsed.args, parsed.options);\n } catch (error) {\n // Ensure the returned error is always both a promise and a child process\n const dummySpawned = new (0, ($parcel$interopDefault($d7DIX$nodechild_process))).ChildProcess();\n const errorPromise = Promise.reject((0, $8032d85e7907774f$export$5a4bb2b1c89bdce7)({\n error: error,\n stdout: \"\",\n stderr: \"\",\n all: \"\",\n command: command,\n escapedCommand: escapedCommand,\n parsed: parsed,\n timedOut: false,\n isCanceled: false,\n killed: false\n }));\n (0, $1758c2801846994d$export$e6eb0007fd542aba)(dummySpawned, errorPromise);\n return dummySpawned;\n }\n const spawnedPromise = (0, $1758c2801846994d$export$6e3a9b5342d42997)(spawned);\n const timedPromise = (0, $20676f95373976d8$export$6bcc98999eb82896)(spawned, parsed.options, spawnedPromise);\n const processDone = (0, $20676f95373976d8$export$79fc3056c9ca4ada)(spawned, parsed.options, timedPromise);\n const context = {\n isCanceled: false\n };\n spawned.kill = (0, $20676f95373976d8$export$971fa1b57c7f00b).bind(null, spawned.kill.bind(spawned));\n spawned.cancel = (0, $20676f95373976d8$export$667e13cd9b70ca17).bind(null, spawned, context);\n const handlePromise = async ()=>{\n const [{ error: error, exitCode: exitCode, signal: signal, timedOut: timedOut }, stdoutResult, stderrResult, allResult] = await (0, $f01023e574f93d07$export$67b768ac9e1c70fa)(spawned, parsed.options, processDone);\n const stdout = $0793fb0b6d3aab2f$var$handleOutput(parsed.options, stdoutResult);\n const stderr = $0793fb0b6d3aab2f$var$handleOutput(parsed.options, stderrResult);\n const all = $0793fb0b6d3aab2f$var$handleOutput(parsed.options, allResult);\n if (error || exitCode !== 0 || signal !== null) {\n const returnedError = (0, $8032d85e7907774f$export$5a4bb2b1c89bdce7)({\n error: error,\n exitCode: exitCode,\n signal: signal,\n stdout: stdout,\n stderr: stderr,\n all: all,\n command: command,\n escapedCommand: escapedCommand,\n parsed: parsed,\n timedOut: timedOut,\n isCanceled: context.isCanceled || (parsed.options.signal ? parsed.options.signal.aborted : false),\n killed: spawned.killed\n });\n if (!parsed.options.reject) return returnedError;\n throw returnedError;\n }\n return {\n command: command,\n escapedCommand: escapedCommand,\n exitCode: 0,\n stdout: stdout,\n stderr: stderr,\n all: all,\n failed: false,\n timedOut: false,\n isCanceled: false,\n killed: false\n };\n };\n const handlePromiseOnce = (0, $7b1fd4cd812d5227$export$2e2bcd8739ae039)(handlePromise);\n (0, $f01023e574f93d07$export$412508d679148d5c)(spawned, parsed.options);\n spawned.all = (0, $f01023e574f93d07$export$41f5c0c12dadd6ae)(spawned, parsed.options);\n (0, $fa9359749316c783$export$14becf8d91886424)(spawned);\n (0, $1758c2801846994d$export$e6eb0007fd542aba)(spawned, handlePromiseOnce);\n return spawned;\n}\nfunction $0793fb0b6d3aab2f$export$28823a701bb5a12d(file, args, options) {\n const parsed = $0793fb0b6d3aab2f$var$handleArguments(file, args, options);\n const command = (0, $8ce568eb6882b236$export$ab3db8fe5ebf3a1)(file, args);\n const escapedCommand = (0, $8ce568eb6882b236$export$9d3099014bd914f8)(file, args);\n (0, $a1a26e26c6ed219b$export$3bb886c4c1352118)(escapedCommand, parsed.options);\n const input = (0, $f01023e574f93d07$export$7f2f9b6457412b41)(parsed.options);\n let result;\n try {\n result = (0, ($parcel$interopDefault($d7DIX$nodechild_process))).spawnSync(parsed.file, parsed.args, {\n ...parsed.options,\n input: input\n });\n } catch (error) {\n throw (0, $8032d85e7907774f$export$5a4bb2b1c89bdce7)({\n error: error,\n stdout: \"\",\n stderr: \"\",\n all: \"\",\n command: command,\n escapedCommand: escapedCommand,\n parsed: parsed,\n timedOut: false,\n isCanceled: false,\n killed: false\n });\n }\n const stdout = $0793fb0b6d3aab2f$var$handleOutput(parsed.options, result.stdout, result.error);\n const stderr = $0793fb0b6d3aab2f$var$handleOutput(parsed.options, result.stderr, result.error);\n if (result.error || result.status !== 0 || result.signal !== null) {\n const error = (0, $8032d85e7907774f$export$5a4bb2b1c89bdce7)({\n stdout: stdout,\n stderr: stderr,\n error: result.error,\n signal: result.signal,\n exitCode: result.status,\n command: command,\n escapedCommand: escapedCommand,\n parsed: parsed,\n timedOut: result.error && result.error.code === \"ETIMEDOUT\",\n isCanceled: false,\n killed: result.signal !== null\n });\n if (!parsed.options.reject) return error;\n throw error;\n }\n return {\n command: command,\n escapedCommand: escapedCommand,\n exitCode: 0,\n stdout: stdout,\n stderr: stderr,\n failed: false,\n timedOut: false,\n isCanceled: false,\n killed: false\n };\n}\nconst $0793fb0b6d3aab2f$var$normalizeScriptStdin = ({ input: input, inputFile: inputFile, stdio: stdio })=>input === undefined && inputFile === undefined && stdio === undefined ? {\n stdin: \"inherit\"\n } : {};\nconst $0793fb0b6d3aab2f$var$normalizeScriptOptions = (options = {})=>({\n preferLocal: true,\n ...$0793fb0b6d3aab2f$var$normalizeScriptStdin(options),\n ...options\n });\nfunction $0793fb0b6d3aab2f$var$create$(options) {\n function $(templatesOrOptions, ...expressions) {\n if (!Array.isArray(templatesOrOptions)) return $0793fb0b6d3aab2f$var$create$({\n ...options,\n ...templatesOrOptions\n });\n const [file, ...args] = (0, $8ce568eb6882b236$export$4a6ee54de9b0f25d)(templatesOrOptions, expressions);\n return $0793fb0b6d3aab2f$export$db6b1668e3758717(file, args, $0793fb0b6d3aab2f$var$normalizeScriptOptions(options));\n }\n $.sync = (templates, ...expressions)=>{\n if (!Array.isArray(templates)) throw new TypeError(\"Please use $(options).sync`command` instead of $.sync(options)`command`.\");\n const [file, ...args] = (0, $8ce568eb6882b236$export$4a6ee54de9b0f25d)(templates, expressions);\n return $0793fb0b6d3aab2f$export$28823a701bb5a12d(file, args, $0793fb0b6d3aab2f$var$normalizeScriptOptions(options));\n };\n return $;\n}\nconst $0793fb0b6d3aab2f$export$3d8c2f653ac9d0b9 = $0793fb0b6d3aab2f$var$create$();\nfunction $0793fb0b6d3aab2f$export$eb9ed1222071f2f6(command, options) {\n const [file, ...args] = (0, $8ce568eb6882b236$export$78bcee23e0849f6a)(command);\n return $0793fb0b6d3aab2f$export$db6b1668e3758717(file, args, options);\n}\nfunction $0793fb0b6d3aab2f$export$5c60dbe76a54db4(command, options) {\n const [file, ...args] = (0, $8ce568eb6882b236$export$78bcee23e0849f6a)(command);\n return $0793fb0b6d3aab2f$export$28823a701bb5a12d(file, args, options);\n}\nfunction $0793fb0b6d3aab2f$export$c004ac68fdb98119(scriptPath, args, options = {}) {\n if (args && !Array.isArray(args) && typeof args === \"object\") {\n options = args;\n args = [];\n }\n const stdio = (0, $8f67569ac89dd688$export$889423b478ae2ba)(options);\n const defaultExecArgv = (0, ($parcel$interopDefault($d7DIX$nodeprocess))).execArgv.filter((arg)=>!arg.startsWith(\"--inspect\"));\n const { nodePath: nodePath = (0, ($parcel$interopDefault($d7DIX$nodeprocess))).execPath, nodeOptions: nodeOptions = defaultExecArgv } = options;\n return $0793fb0b6d3aab2f$export$db6b1668e3758717(nodePath, [\n ...nodeOptions,\n scriptPath,\n ...Array.isArray(args) ? args : []\n ], {\n ...options,\n stdin: undefined,\n stdout: undefined,\n stderr: undefined,\n stdio: stdio,\n shell: false\n });\n}\n\n\n\n/** The cached powershell path */ let $beaad862f625dcb6$var$powershell;\nfunction $beaad862f625dcb6$export$43324456a02f71b0(command, startupFlags = [\n \"-NoProfile\",\n \"-NoLogo\",\n \"-NonInteractive\"\n], execOptions = {\n stdio: \"inherit\"\n}) {\n return $0793fb0b6d3aab2f$export$db6b1668e3758717($beaad862f625dcb6$export$4dfdd3964d242d20(), [\n ...startupFlags,\n \"-c\",\n command\n ], execOptions);\n}\nfunction $beaad862f625dcb6$export$395ec453f890f6a3(command, startupFlags = [\n \"-NoProfile\",\n \"-NoLogo\",\n \"-NonInteractive\"\n], execOptions = {\n stdio: \"inherit\"\n}) {\n return $0793fb0b6d3aab2f$export$28823a701bb5a12d($beaad862f625dcb6$export$4dfdd3964d242d20(), [\n ...startupFlags,\n \"-c\",\n command\n ], execOptions);\n}\nfunction $beaad862f625dcb6$export$4dfdd3964d242d20() {\n if ($beaad862f625dcb6$var$powershell === undefined) {\n const maybePwsh = (0, (/*@__PURE__*/$parcel$interopDefault($a144cf96e3e9a15c$exports))).sync(\"pwsh\", {\n nothrow: true\n });\n if (maybePwsh !== null) $beaad862f625dcb6$var$powershell = maybePwsh;\n const maybePowerShell = (0, (/*@__PURE__*/$parcel$interopDefault($a144cf96e3e9a15c$exports))).sync(\"powershell\", {\n nothrow: true\n });\n if (maybePowerShell !== null) $beaad862f625dcb6$var$powershell = maybePowerShell;\n }\n if ($beaad862f625dcb6$var$powershell === undefined) throw new Error(\"Could not find powershell\");\n return $beaad862f625dcb6$var$powershell;\n}\n\n\n\nvar $ff873c95cf07adf2$exports = {};\n\n// to detect on with os user had used path.resolve(...)\nconst $ff873c95cf07adf2$var$is_posix_os = $d7DIX$os.platform() !== \"win32\";\nconst $ff873c95cf07adf2$var$version = $d7DIX$os.release();\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 $ff873c95cf07adf2$var$windows_version_regex = /(\\d+\\.\\d+)\\.(\\d+)/;\nconst $ff873c95cf07adf2$var$should_not_escape = (major_release = \"\", os_build = \"\")=>/1\\d+\\.\\d+/.test(major_release) && Number(os_build) >= 17134.1184;\n$ff873c95cf07adf2$exports = function(given_path) {\n return $ff873c95cf07adf2$var$is_posix_os ? given_path.replace(/(\\s+)/g, \"\\\\$1\") : $ff873c95cf07adf2$var$should_not_escape(...$ff873c95cf07adf2$var$windows_version_regex.exec($ff873c95cf07adf2$var$version).splice(1)) ? given_path : given_path.replace(/(\\s+)/g, \"%20\");\n};\n\n\n\nvar $440f4387ee1a7906$exports = {};\n\n// Generated by CoffeeScript 1.10.0\n(function() {\n var regexEscape, reverse;\n regexEscape = (parcelRequire(\"awj79\"));\n reverse = function(s) {\n return s.split(\"\").reverse().join(\"\");\n };\n $440f4387ee1a7906$exports = function(s, chars, escapeChar) {\n var regex;\n if (chars == null) chars = \"'\";\n if (escapeChar == null) escapeChar = \"\\\\\";\n if (typeof s !== \"string\") return s;\n regex = new RegExp(\"([\" + regexEscape(chars) + \"])(?!\" + regexEscape(escapeChar) + \")\", \"g\");\n return reverse(reverse(s).replace(regex, \"$1\" + escapeChar));\n };\n}).call($440f4387ee1a7906$exports);\n\n\n\nvar $dOmbL = parcelRequire(\"dOmbL\");\nconst $85fd7153285bfba5$var$defaultAddEnvOptions = {\n shouldEscapeSpace: false,\n shouldAddOnlyIfNotDefined: false\n};\nasync function $85fd7153285bfba5$export$f63d3080ce25e0fd(name, valGiven, options = $85fd7153285bfba5$var$defaultAddEnvOptions) {\n const val = $85fd7153285bfba5$var$escapeString(valGiven ?? \"\", options.shouldEscapeSpace);\n try {\n if (0, $dTX7a.GITHUB_ACTIONS) try {\n if (options.shouldAddOnlyIfNotDefined) {\n if (process.env[name] !== undefined) {\n (0, $lcRzN.info)(`Environment variable ${name} is already defined. Skipping.`);\n return;\n }\n }\n (0, $lcRzN.exportVariable)(name, val);\n } catch (err) {\n (0, $ER74K.error)(err);\n await $85fd7153285bfba5$var$addEnvSystem(name, val, options);\n }\n else await $85fd7153285bfba5$var$addEnvSystem(name, val, options);\n } catch (err) {\n (0, $ER74K.error)(err);\n (0, $lcRzN.setFailed)(`Failed to export environment variable ${name}=${val}. You should add it manually.`);\n }\n}\nfunction $85fd7153285bfba5$var$escapeString(valGiven, shouldEscapeSpace = false) {\n const spaceEscaped = shouldEscapeSpace ? (0, (/*@__PURE__*/$parcel$interopDefault($ff873c95cf07adf2$exports)))(valGiven) : valGiven;\n return (0, (/*@__PURE__*/$parcel$interopDefault($440f4387ee1a7906$exports)))(spaceEscaped, '\"', \"\\\\\");\n}\nconst $85fd7153285bfba5$var$ignoredPaths = [\n /\\/usr\\/bin\\/?/,\n /\\/usr\\/local\\/bin\\/?/\n];\n/** Skip adding /usr/bin to PATH if it is already there */ function $85fd7153285bfba5$var$isIgnoredPath(path) {\n if ($85fd7153285bfba5$var$ignoredPaths.some((checkedPath)=>checkedPath.test(path))) {\n const paths = process.env.PATH?.split((0, $d7DIX$path.delimiter)) ?? [];\n return paths.includes(path);\n }\n return false;\n}\nasync function $85fd7153285bfba5$export$4c25481b843feb0b(path) {\n if ($85fd7153285bfba5$var$isIgnoredPath(path)) return;\n process.env.PATH = `${path}${0, $d7DIX$path.delimiter}${process.env.PATH}`;\n try {\n if (0, $dTX7a.GITHUB_ACTIONS) try {\n (0, $lcRzN.addPath)(path);\n } catch (err) {\n (0, $ER74K.error)(err);\n await $85fd7153285bfba5$var$addPathSystem(path);\n }\n else await $85fd7153285bfba5$var$addPathSystem(path);\n } catch (err) {\n (0, $ER74K.error)(err);\n (0, $lcRzN.setFailed)(`Failed to add ${path} to the percistent PATH. You should add it manually.`);\n }\n}\nconst $85fd7153285bfba5$export$1bbbc3a810c5799d = (0, $cc03115747abd396$export$8312d9eeba321950)(\".cpprc\");\nasync function $85fd7153285bfba5$var$addEnvSystem(name, valGiven, options) {\n const val = valGiven ?? \"\";\n switch(process.platform){\n case \"win32\":\n if (options.shouldAddOnlyIfNotDefined) {\n if (process.env[name] !== undefined) {\n (0, $lcRzN.info)(`Environment variable ${name} is already defined. Skipping.`);\n return;\n }\n }\n // We do not use `execaSync(`setx PATH \"${path};%PATH%\"`)` because of its character limit\n await (0, $beaad862f625dcb6$export$43324456a02f71b0)(`[Environment]::SetEnvironmentVariable('${name}', '${val}', \"User\")`);\n (0, $lcRzN.info)(`${name}='${val}' was set in the environment.`);\n return;\n case \"linux\":\n case \"darwin\":\n await $85fd7153285bfba5$export$bd1dffd792f43c41();\n if (options.shouldAddOnlyIfNotDefined) {\n (0, $d7DIX$fs.appendFileSync)($85fd7153285bfba5$export$1bbbc3a810c5799d, `\\nif [ -z \"\\${${name}}\" ]; then export ${name}=\"${val}\"; fi\\n`);\n (0, $lcRzN.info)(`if not defined ${name} then ${name}=\"${val}\" was added to \"${$85fd7153285bfba5$export$1bbbc3a810c5799d}`);\n } else {\n (0, $d7DIX$fs.appendFileSync)($85fd7153285bfba5$export$1bbbc3a810c5799d, `\\nexport ${name}=\"${val}\"\\n`);\n (0, $lcRzN.info)(`${name}=\"${val}\" was added to \"${$85fd7153285bfba5$export$1bbbc3a810c5799d}`);\n }\n return;\n default:\n }\n process.env[name] = val;\n}\nasync function $85fd7153285bfba5$var$addPathSystem(path) {\n switch(process.platform){\n case \"win32\":\n // We do not use `execaSync(`setx PATH \"${path};%PATH%\"`)` because of its character limit and also because %PATH% is different for user and system\n await (0, $beaad862f625dcb6$export$43324456a02f71b0)(`$USER_PATH=([Environment]::GetEnvironmentVariable(\"PATH\", \"User\")); [Environment]::SetEnvironmentVariable(\"PATH\", \"${path};$USER_PATH\", \"User\")`);\n (0, $lcRzN.info)(`\"${path}\" was added to the PATH.`);\n return;\n case \"linux\":\n case \"darwin\":\n await $85fd7153285bfba5$export$bd1dffd792f43c41();\n (0, $d7DIX$fs.appendFileSync)($85fd7153285bfba5$export$1bbbc3a810c5799d, `\\nexport PATH=\"${path}:$PATH\"\\n`);\n (0, $lcRzN.info)(`\"${path}\" was added to \"${$85fd7153285bfba5$export$1bbbc3a810c5799d}\"`);\n return;\n default:\n return;\n }\n}\n/* eslint-disable require-atomic-updates */ let $85fd7153285bfba5$var$setupCppInProfile_called = false;\nasync function $85fd7153285bfba5$export$bd1dffd792f43c41() {\n if ($85fd7153285bfba5$var$setupCppInProfile_called) return;\n // a variable that prevents source_cpprc from being called from .bashrc and .profile\n const source_cpprc_str = \"# Automatically Generated by setup-cpp\\nexport SOURCE_CPPRC=0\";\n if (await (0, $dOmbL.pathExists)($85fd7153285bfba5$export$1bbbc3a810c5799d)) {\n const cpprc_content = (0, $d7DIX$fs.readFileSync)($85fd7153285bfba5$export$1bbbc3a810c5799d, \"utf8\");\n if (cpprc_content.includes(source_cpprc_str)) // already executed setupCppInProfile\n return;\n }\n (0, $d7DIX$fs.appendFileSync)($85fd7153285bfba5$export$1bbbc3a810c5799d, `\\n${source_cpprc_str}\\n`);\n (0, $lcRzN.info)(`Added ${source_cpprc_str} to ${$85fd7153285bfba5$export$1bbbc3a810c5799d}`);\n // source cpprc in bashrc/profile\n const source_cpprc_string = `\\n# source .cpprc if SOURCE_CPPRC is not set to 0\\nif [[ \"$SOURCE_CPPRC\" != 0 && -f \"${$85fd7153285bfba5$export$1bbbc3a810c5799d}\" ]]; then source \"${$85fd7153285bfba5$export$1bbbc3a810c5799d}\"; fi\\n`;\n try {\n // source cpprc in .profile\n const profile_path = (0, $cc03115747abd396$export$8312d9eeba321950)(\".profile\");\n (0, $d7DIX$fs.appendFileSync)(profile_path, source_cpprc_string);\n (0, $lcRzN.info)(`${source_cpprc_string} was added to ${profile_path}`);\n // source cpprc in .bashrc too\n const bashrc_path = (0, $cc03115747abd396$export$8312d9eeba321950)(\".bashrc\");\n (0, $d7DIX$fs.appendFileSync)(bashrc_path, source_cpprc_string);\n (0, $lcRzN.info)(`${source_cpprc_string} was added to ${bashrc_path}`);\n } catch (err) {\n (0, $ER74K.warning)(`Failed to add ${source_cpprc_string} to .profile or .bashrc. You should add it manually: ${err}`);\n }\n $85fd7153285bfba5$var$setupCppInProfile_called = true;\n}\nasync function $85fd7153285bfba5$export$ca46151966bee7ba() {\n if (await (0, $dOmbL.pathExists)($85fd7153285bfba5$export$1bbbc3a810c5799d)) {\n const entries = (0, $d7DIX$fs.readFileSync)($85fd7153285bfba5$export$1bbbc3a810c5799d, \"utf-8\").split(\"\\n\");\n const unique_entries = [\n ...new Set(entries.reverse())\n ].reverse() // remove duplicates, keeping the latest entry\n ;\n (0, $d7DIX$fs.writeFileSync)($85fd7153285bfba5$export$1bbbc3a810c5799d, unique_entries.join(\"\\n\"));\n await (0, $eaac287486c3124b$export$4718e061a205eab)($85fd7153285bfba5$export$1bbbc3a810c5799d);\n }\n}\n\n\n\nvar $dOmbL = parcelRequire(\"dOmbL\");\n\n\n\n\n\n\n\n\n\n\n\nconst $52e31e2dff38816d$var$getErrorPrefix = ({ timedOut: timedOut, timeout: timeout, errorCode: errorCode, signal: signal, signalDescription: signalDescription, exitCode: exitCode, isCanceled: isCanceled })=>{\n if (timedOut) return `timed out after ${timeout} milliseconds`;\n if (isCanceled) return \"was canceled\";\n if (errorCode !== undefined) return `failed with ${errorCode}`;\n if (signal !== undefined) return `was killed with ${signal} (${signalDescription})`;\n if (exitCode !== undefined) return `failed with exit code ${exitCode}`;\n return \"failed\";\n};\nconst $52e31e2dff38816d$export$5a4bb2b1c89bdce7 = ({ stdout: stdout, stderr: stderr, all: all, error: error, signal: signal, exitCode: exitCode, command: command, escapedCommand: escapedCommand, timedOut: timedOut, isCanceled: isCanceled, killed: killed, parsed: { options: { timeout: timeout, cwd: cwd = (0, ($parcel$interopDefault($d7DIX$nodeprocess))).cwd() } } })=>{\n // `signal` and `exitCode` emitted on `spawned.on('exit')` event can be `null`.\n // We normalize them to `undefined`\n exitCode = exitCode === null ? undefined : exitCode;\n signal = signal === null ? undefined : signal;\n const signalDescription = signal === undefined ? undefined : (0, $fdad0395637cfe30$export$c3fcb39d6848c78d)[signal].description;\n const errorCode = error && error.code;\n const prefix = $52e31e2dff38816d$var$getErrorPrefix({\n timedOut: timedOut,\n timeout: timeout,\n errorCode: errorCode,\n signal: signal,\n signalDescription: signalDescription,\n exitCode: exitCode,\n isCanceled: isCanceled\n });\n const execaMessage = `Command ${prefix}: ${command}`;\n const isError = Object.prototype.toString.call(error) === \"[object Error]\";\n const shortMessage = isError ? `${execaMessage}\\n${error.message}` : execaMessage;\n const message = [\n shortMessage,\n stderr,\n stdout\n ].filter(Boolean).join(\"\\n\");\n if (isError) {\n error.originalMessage = error.message;\n error.message = message;\n } else error = new Error(message);\n error.shortMessage = shortMessage;\n error.command = command;\n error.escapedCommand = escapedCommand;\n error.exitCode = exitCode;\n error.signal = signal;\n error.signalDescription = signalDescription;\n error.stdout = stdout;\n error.stderr = stderr;\n error.cwd = cwd;\n if (all !== undefined) error.all = all;\n if (\"bufferedData\" in error) delete error.bufferedData;\n error.failed = true;\n error.timedOut = Boolean(timedOut);\n error.isCanceled = isCanceled;\n error.killed = killed && !timedOut;\n return error;\n};\n\n\nconst $7a40f7ba7330c654$var$aliases = [\n \"stdin\",\n \"stdout\",\n \"stderr\"\n];\nconst $7a40f7ba7330c654$var$hasAlias = (options)=>$7a40f7ba7330c654$var$aliases.some((alias)=>options[alias] !== undefined);\nconst $7a40f7ba7330c654$export$a581401a57fac02e = (options)=>{\n if (!options) return;\n const { stdio: stdio } = options;\n if (stdio === undefined) return $7a40f7ba7330c654$var$aliases.map((alias)=>options[alias]);\n if ($7a40f7ba7330c654$var$hasAlias(options)) throw new Error(`It's not possible to provide \\`stdio\\` in combination with one of ${$7a40f7ba7330c654$var$aliases.map((alias)=>`\\`${alias}\\``).join(\", \")}`);\n if (typeof stdio === \"string\") return stdio;\n if (!Array.isArray(stdio)) throw new TypeError(`Expected \\`stdio\\` to be of type \\`string\\` or \\`Array\\`, got \\`${typeof stdio}\\``);\n const length = Math.max(stdio.length, $7a40f7ba7330c654$var$aliases.length);\n return Array.from({\n length: length\n }, (value, index)=>stdio[index]);\n};\nconst $7a40f7ba7330c654$export$889423b478ae2ba = (options)=>{\n const stdio = $7a40f7ba7330c654$export$a581401a57fac02e(options);\n if (stdio === \"ipc\") return \"ipc\";\n if (stdio === undefined || typeof stdio === \"string\") return [\n stdio,\n stdio,\n stdio,\n \"ipc\"\n ];\n if (stdio.includes(\"ipc\")) return stdio;\n return [\n ...stdio,\n \"ipc\"\n ];\n};\n\n\n\n\nconst $2cd6bd8b1ebe5794$var$DEFAULT_FORCE_KILL_TIMEOUT = 5000;\nconst $2cd6bd8b1ebe5794$export$971fa1b57c7f00b = (kill, signal = \"SIGTERM\", options = {})=>{\n const killResult = kill(signal);\n $2cd6bd8b1ebe5794$var$setKillTimeout(kill, signal, options, killResult);\n return killResult;\n};\nconst $2cd6bd8b1ebe5794$var$setKillTimeout = (kill, signal, options, killResult)=>{\n if (!$2cd6bd8b1ebe5794$var$shouldForceKill(signal, options, killResult)) return;\n const timeout = $2cd6bd8b1ebe5794$var$getForceKillAfterTimeout(options);\n const t = setTimeout(()=>{\n kill(\"SIGKILL\");\n }, timeout);\n // Guarded because there's no `.unref()` when `execa` is used in the renderer\n // process in Electron. This cannot be tested since we don't run tests in\n // Electron.\n // istanbul ignore else\n if (t.unref) t.unref();\n};\nconst $2cd6bd8b1ebe5794$var$shouldForceKill = (signal, { forceKillAfterTimeout: forceKillAfterTimeout }, killResult)=>$2cd6bd8b1ebe5794$var$isSigterm(signal) && forceKillAfterTimeout !== false && killResult;\nconst $2cd6bd8b1ebe5794$var$isSigterm = (signal)=>signal === (0, ($parcel$interopDefault($d7DIX$nodeos))).constants.signals.SIGTERM || typeof signal === \"string\" && signal.toUpperCase() === \"SIGTERM\";\nconst $2cd6bd8b1ebe5794$var$getForceKillAfterTimeout = ({ forceKillAfterTimeout: forceKillAfterTimeout = true })=>{\n if (forceKillAfterTimeout === true) return $2cd6bd8b1ebe5794$var$DEFAULT_FORCE_KILL_TIMEOUT;\n if (!Number.isFinite(forceKillAfterTimeout) || forceKillAfterTimeout < 0) throw new TypeError(`Expected the \\`forceKillAfterTimeout\\` option to be a non-negative integer, got \\`${forceKillAfterTimeout}\\` (${typeof forceKillAfterTimeout})`);\n return forceKillAfterTimeout;\n};\nconst $2cd6bd8b1ebe5794$export$667e13cd9b70ca17 = (spawned, context)=>{\n const killResult = spawned.kill();\n if (killResult) context.isCanceled = true;\n};\nconst $2cd6bd8b1ebe5794$var$timeoutKill = (spawned, signal, reject)=>{\n spawned.kill(signal);\n reject(Object.assign(new Error(\"Timed out\"), {\n timedOut: true,\n signal: signal\n }));\n};\nconst $2cd6bd8b1ebe5794$export$6bcc98999eb82896 = (spawned, { timeout: timeout, killSignal: killSignal = \"SIGTERM\" }, spawnedPromise)=>{\n if (timeout === 0 || timeout === undefined) return spawnedPromise;\n let timeoutId;\n const timeoutPromise = new Promise((resolve, reject)=>{\n timeoutId = setTimeout(()=>{\n $2cd6bd8b1ebe5794$var$timeoutKill(spawned, killSignal, reject);\n }, timeout);\n });\n const safeSpawnedPromise = spawnedPromise.finally(()=>{\n clearTimeout(timeoutId);\n });\n return Promise.race([\n timeoutPromise,\n safeSpawnedPromise\n ]);\n};\nconst $2cd6bd8b1ebe5794$export$3186f8866f616f9f = ({ timeout: timeout })=>{\n if (timeout !== undefined && (!Number.isFinite(timeout) || timeout < 0)) throw new TypeError(`Expected the \\`timeout\\` option to be a non-negative integer, got \\`${timeout}\\` (${typeof timeout})`);\n};\nconst $2cd6bd8b1ebe5794$export$79fc3056c9ca4ada = async (spawned, { cleanup: cleanup, detached: detached }, timedPromise)=>{\n if (!cleanup || detached) return timedPromise;\n const removeExitHandler = (0, (/*@__PURE__*/$parcel$interopDefault($7a0875ae79160463$exports)))(()=>{\n spawned.kill();\n });\n return timedPromise.finally(()=>{\n removeExitHandler();\n });\n};\n\n\n\n\n\nconst $d7ebb04b4e65e48e$var$isExecaChildProcess = (target)=>target instanceof (0, $d7DIX$nodechild_process.ChildProcess) && typeof target.then === \"function\";\nconst $d7ebb04b4e65e48e$var$pipeToTarget = (spawned, streamName, target)=>{\n if (typeof target === \"string\") {\n spawned[streamName].pipe((0, $d7DIX$nodefs.createWriteStream)(target));\n return spawned;\n }\n if ((0, $1b845941fd0b06aa$export$b58a61c52edb4f66)(target)) {\n spawned[streamName].pipe(target);\n return spawned;\n }\n if (!$d7ebb04b4e65e48e$var$isExecaChildProcess(target)) throw new TypeError(\"The second argument must be a string, a stream or an Execa child process.\");\n if (!(0, $1b845941fd0b06aa$export$b58a61c52edb4f66)(target.stdin)) throw new TypeError(\"The target child process's stdin must be available.\");\n spawned[streamName].pipe(target.stdin);\n return target;\n};\nconst $d7ebb04b4e65e48e$export$14becf8d91886424 = (spawned)=>{\n if (spawned.stdout !== null) spawned.pipeStdout = $d7ebb04b4e65e48e$var$pipeToTarget.bind(undefined, spawned, \"stdout\");\n if (spawned.stderr !== null) spawned.pipeStderr = $d7ebb04b4e65e48e$var$pipeToTarget.bind(undefined, spawned, \"stderr\");\n if (spawned.all !== undefined) spawned.pipeAll = $d7ebb04b4e65e48e$var$pipeToTarget.bind(undefined, spawned, \"all\");\n};\n\n\n\n\n\n\nconst $45a146706e83d45f$var$validateInputOptions = (input)=>{\n if (input !== undefined) throw new TypeError(\"The `input` and `inputFile` options cannot be both set.\");\n};\nconst $45a146706e83d45f$var$getInputSync = ({ input: input, inputFile: inputFile })=>{\n if (typeof inputFile !== \"string\") return input;\n $45a146706e83d45f$var$validateInputOptions(input);\n return (0, $d7DIX$nodefs.readFileSync)(inputFile);\n};\nconst $45a146706e83d45f$export$7f2f9b6457412b41 = (options)=>{\n const input = $45a146706e83d45f$var$getInputSync(options);\n if ((0, $1b845941fd0b06aa$export$294a92d8f7b3979)(input)) throw new TypeError(\"The `input` option cannot be a stream in sync mode\");\n return input;\n};\nconst $45a146706e83d45f$var$getInput = ({ input: input, inputFile: inputFile })=>{\n if (typeof inputFile !== \"string\") return input;\n $45a146706e83d45f$var$validateInputOptions(input);\n return (0, $d7DIX$nodefs.createReadStream)(inputFile);\n};\nconst $45a146706e83d45f$export$412508d679148d5c = (spawned, options)=>{\n const input = $45a146706e83d45f$var$getInput(options);\n if (input === undefined) return;\n if ((0, $1b845941fd0b06aa$export$294a92d8f7b3979)(input)) input.pipe(spawned.stdin);\n else spawned.stdin.end(input);\n};\nconst $45a146706e83d45f$export$41f5c0c12dadd6ae = (spawned, { all: all })=>{\n if (!all || !spawned.stdout && !spawned.stderr) return;\n const mixed = (0, (/*@__PURE__*/$parcel$interopDefault($50d0883357807da8$exports)))();\n if (spawned.stdout) mixed.add(spawned.stdout);\n if (spawned.stderr) mixed.add(spawned.stderr);\n return mixed;\n};\n// On failure, `result.stdout|stderr|all` should contain the currently buffered stream\nconst $45a146706e83d45f$var$getBufferedData = async (stream, streamPromise)=>{\n // When `buffer` is `false`, `streamPromise` is `undefined` and there is no buffered data to retrieve\n if (!stream || streamPromise === undefined) return;\n stream.destroy();\n try {\n return await streamPromise;\n } catch (error) {\n return error.bufferedData;\n }\n};\nconst $45a146706e83d45f$var$getStreamPromise = (stream, { encoding: encoding, buffer: buffer, maxBuffer: maxBuffer })=>{\n if (!stream || !buffer) return;\n if (encoding) return (0, (/*@__PURE__*/$parcel$interopDefault($51bb95e1718a9e99$exports)))(stream, {\n encoding: encoding,\n maxBuffer: maxBuffer\n });\n return (0, (/*@__PURE__*/$parcel$interopDefault($51bb95e1718a9e99$exports))).buffer(stream, {\n maxBuffer: maxBuffer\n });\n};\nconst $45a146706e83d45f$export$67b768ac9e1c70fa = async ({ stdout: stdout, stderr: stderr, all: all }, { encoding: encoding, buffer: buffer, maxBuffer: maxBuffer }, processDone)=>{\n const stdoutPromise = $45a146706e83d45f$var$getStreamPromise(stdout, {\n encoding: encoding,\n buffer: buffer,\n maxBuffer: maxBuffer\n });\n const stderrPromise = $45a146706e83d45f$var$getStreamPromise(stderr, {\n encoding: encoding,\n buffer: buffer,\n maxBuffer: maxBuffer\n });\n const allPromise = $45a146706e83d45f$var$getStreamPromise(all, {\n encoding: encoding,\n buffer: buffer,\n maxBuffer: maxBuffer * 2\n });\n try {\n return await Promise.all([\n processDone,\n stdoutPromise,\n stderrPromise,\n allPromise\n ]);\n } catch (error) {\n return Promise.all([\n {\n error: error,\n signal: error.signal,\n timedOut: error.timedOut\n },\n $45a146706e83d45f$var$getBufferedData(stdout, stdoutPromise),\n $45a146706e83d45f$var$getBufferedData(stderr, stderrPromise),\n $45a146706e83d45f$var$getBufferedData(all, allPromise)\n ]);\n }\n};\n\n\n// eslint-disable-next-line unicorn/prefer-top-level-await\nconst $98ef30edcc446ac2$var$nativePromisePrototype = (async ()=>{})().constructor.prototype;\nconst $98ef30edcc446ac2$var$descriptors = [\n \"then\",\n \"catch\",\n \"finally\"\n].map((property)=>[\n property,\n Reflect.getOwnPropertyDescriptor($98ef30edcc446ac2$var$nativePromisePrototype, property)\n ]);\nconst $98ef30edcc446ac2$export$e6eb0007fd542aba = (spawned, promise)=>{\n for (const [property, descriptor] of $98ef30edcc446ac2$var$descriptors){\n // Starting the main `promise` is deferred to avoid consuming streams\n const value = typeof promise === \"function\" ? (...args)=>Reflect.apply(descriptor.value, promise(), args) : descriptor.value.bind(promise);\n Reflect.defineProperty(spawned, property, {\n ...descriptor,\n value: value\n });\n }\n};\nconst $98ef30edcc446ac2$export$6e3a9b5342d42997 = (spawned)=>new Promise((resolve, reject)=>{\n spawned.on(\"exit\", (exitCode, signal)=>{\n resolve({\n exitCode: exitCode,\n signal: signal\n });\n });\n spawned.on(\"error\", (error)=>{\n reject(error);\n });\n if (spawned.stdin) spawned.stdin.on(\"error\", (error)=>{\n reject(error);\n });\n });\n\n\n\n\nconst $78552e5bb63d35e7$var$normalizeArgs = (file, args = [])=>{\n if (!Array.isArray(args)) return [\n file\n ];\n return [\n file,\n ...args\n ];\n};\nconst $78552e5bb63d35e7$var$NO_ESCAPE_REGEXP = /^[\\w.-]+$/;\nconst $78552e5bb63d35e7$var$DOUBLE_QUOTES_REGEXP = /\"/g;\nconst $78552e5bb63d35e7$var$escapeArg = (arg)=>{\n if (typeof arg !== \"string\" || $78552e5bb63d35e7$var$NO_ESCAPE_REGEXP.test(arg)) return arg;\n return `\"${arg.replace($78552e5bb63d35e7$var$DOUBLE_QUOTES_REGEXP, '\\\\\"')}\"`;\n};\nconst $78552e5bb63d35e7$export$ab3db8fe5ebf3a1 = (file, args)=>$78552e5bb63d35e7$var$normalizeArgs(file, args).join(\" \");\nconst $78552e5bb63d35e7$export$9d3099014bd914f8 = (file, args)=>$78552e5bb63d35e7$var$normalizeArgs(file, args).map((arg)=>$78552e5bb63d35e7$var$escapeArg(arg)).join(\" \");\nconst $78552e5bb63d35e7$var$SPACES_REGEXP = / +/g;\nconst $78552e5bb63d35e7$export$78bcee23e0849f6a = (command)=>{\n const tokens = [];\n for (const token of command.trim().split($78552e5bb63d35e7$var$SPACES_REGEXP)){\n // Allow spaces to be escaped by a backslash if not meant as a delimiter\n const previousToken = tokens[tokens.length - 1];\n if (previousToken && previousToken.endsWith(\"\\\\\")) // Merge previous token with current one\n tokens[tokens.length - 1] = `${previousToken.slice(0, -1)} ${token}`;\n else tokens.push(token);\n }\n return tokens;\n};\nconst $78552e5bb63d35e7$var$parseExpression = (expression)=>{\n const typeOfExpression = typeof expression;\n if (typeOfExpression === \"string\") return expression;\n if (typeOfExpression === \"number\") return String(expression);\n if (typeOfExpression === \"object\" && expression !== null && !(expression instanceof (0, $d7DIX$nodechild_process.ChildProcess)) && \"stdout\" in expression) {\n const typeOfStdout = typeof expression.stdout;\n if (typeOfStdout === \"string\") return expression.stdout;\n if ((0, $d7DIX$nodebuffer.Buffer).isBuffer(expression.stdout)) return expression.stdout.toString();\n throw new TypeError(`Unexpected \"${typeOfStdout}\" stdout in template expression`);\n }\n throw new TypeError(`Unexpected \"${typeOfExpression}\" in template expression`);\n};\nconst $78552e5bb63d35e7$var$concatTokens = (tokens, nextTokens, isNew)=>isNew || tokens.length === 0 || nextTokens.length === 0 ? [\n ...tokens,\n ...nextTokens\n ] : [\n ...tokens.slice(0, -1),\n `${tokens[tokens.length - 1]}${nextTokens[0]}`,\n ...nextTokens.slice(1)\n ];\nconst $78552e5bb63d35e7$var$parseTemplate = ({ templates: templates, expressions: expressions, tokens: tokens, index: index, template: template })=>{\n const templateString = template ?? templates.raw[index];\n const templateTokens = templateString.split($78552e5bb63d35e7$var$SPACES_REGEXP).filter(Boolean);\n const newTokens = $78552e5bb63d35e7$var$concatTokens(tokens, templateTokens, templateString.startsWith(\" \"));\n if (index === expressions.length) return newTokens;\n const expression = expressions[index];\n const expressionTokens = Array.isArray(expression) ? expression.map((expression)=>$78552e5bb63d35e7$var$parseExpression(expression)) : [\n $78552e5bb63d35e7$var$parseExpression(expression)\n ];\n return $78552e5bb63d35e7$var$concatTokens(newTokens, expressionTokens, templateString.endsWith(\" \"));\n};\nconst $78552e5bb63d35e7$export$4a6ee54de9b0f25d = (templates, expressions)=>{\n let tokens = [];\n for (const [index, template] of templates.entries())tokens = $78552e5bb63d35e7$var$parseTemplate({\n templates: templates,\n expressions: expressions,\n tokens: tokens,\n index: index,\n template: template\n });\n return tokens;\n};\n\n\n\n\nconst $9f9390de39813be1$export$38bb3c1fbaa0bdcf = (0, $d7DIX$nodeutil.debuglog)(\"execa\").enabled;\nconst $9f9390de39813be1$var$padField = (field, padding)=>String(field).padStart(padding, \"0\");\nconst $9f9390de39813be1$var$getTimestamp = ()=>{\n const date = new Date();\n return `${$9f9390de39813be1$var$padField(date.getHours(), 2)}:${$9f9390de39813be1$var$padField(date.getMinutes(), 2)}:${$9f9390de39813be1$var$padField(date.getSeconds(), 2)}.${$9f9390de39813be1$var$padField(date.getMilliseconds(), 3)}`;\n};\nconst $9f9390de39813be1$export$3bb886c4c1352118 = (escapedCommand, { verbose: verbose })=>{\n if (!verbose) return;\n (0, ($parcel$interopDefault($d7DIX$nodeprocess))).stderr.write(`[${$9f9390de39813be1$var$getTimestamp()}] ${escapedCommand}\\n`);\n};\n\n\nconst $8991d7a42fe4b480$var$DEFAULT_MAX_BUFFER = 100000000;\nconst $8991d7a42fe4b480$var$getEnv = ({ env: envOption, extendEnv: extendEnv, preferLocal: preferLocal, localDir: localDir, execPath: execPath })=>{\n const env = extendEnv ? {\n ...(0, ($parcel$interopDefault($d7DIX$nodeprocess))).env,\n ...envOption\n } : envOption;\n if (preferLocal) return (0, $377ad15e76cc6af3$export$340e1fbaac04248b)({\n env: env,\n cwd: localDir,\n execPath: execPath\n });\n return env;\n};\nconst $8991d7a42fe4b480$var$handleArguments = (file, args, options = {})=>{\n const parsed = (0, (/*@__PURE__*/$parcel$interopDefault($c7dd3a41c12bbb5b$exports)))._parse(file, args, options);\n file = parsed.command;\n args = parsed.args;\n options = parsed.options;\n options = {\n maxBuffer: $8991d7a42fe4b480$var$DEFAULT_MAX_BUFFER,\n buffer: true,\n stripFinalNewline: true,\n extendEnv: true,\n preferLocal: false,\n localDir: options.cwd || (0, ($parcel$interopDefault($d7DIX$nodeprocess))).cwd(),\n execPath: (0, ($parcel$interopDefault($d7DIX$nodeprocess))).execPath,\n encoding: \"utf8\",\n reject: true,\n cleanup: true,\n all: false,\n windowsHide: true,\n verbose: (0, $9f9390de39813be1$export$38bb3c1fbaa0bdcf),\n ...options\n };\n options.env = $8991d7a42fe4b480$var$getEnv(options);\n options.stdio = (0, $7a40f7ba7330c654$export$a581401a57fac02e)(options);\n if ((0, ($parcel$interopDefault($d7DIX$nodeprocess))).platform === \"win32\" && (0, ($parcel$interopDefault($d7DIX$nodepath))).basename(file, \".exe\") === \"cmd\") // #116\n args.unshift(\"/q\");\n return {\n file: file,\n args: args,\n options: options,\n parsed: parsed\n };\n};\nconst $8991d7a42fe4b480$var$handleOutput = (options, value, error)=>{\n if (typeof value !== \"string\" && !(0, $d7DIX$nodebuffer.Buffer).isBuffer(value)) // When `execaSync()` errors, we normalize it to '' to mimic `execa()`\n return error === undefined ? undefined : \"\";\n if (options.stripFinalNewline) return (0, $2ab7bac94b4dccca$export$2e2bcd8739ae039)(value);\n return value;\n};\nfunction $8991d7a42fe4b480$export$db6b1668e3758717(file, args, options) {\n const parsed = $8991d7a42fe4b480$var$handleArguments(file, args, options);\n const command = (0, $78552e5bb63d35e7$export$ab3db8fe5ebf3a1)(file, args);\n const escapedCommand = (0, $78552e5bb63d35e7$export$9d3099014bd914f8)(file, args);\n (0, $9f9390de39813be1$export$3bb886c4c1352118)(escapedCommand, parsed.options);\n (0, $2cd6bd8b1ebe5794$export$3186f8866f616f9f)(parsed.options);\n let spawned;\n try {\n spawned = (0, ($parcel$interopDefault($d7DIX$nodechild_process))).spawn(parsed.file, parsed.args, parsed.options);\n } catch (error) {\n // Ensure the returned error is always both a promise and a child process\n const dummySpawned = new (0, ($parcel$interopDefault($d7DIX$nodechild_process))).ChildProcess();\n const errorPromise = Promise.reject((0, $52e31e2dff38816d$export$5a4bb2b1c89bdce7)({\n error: error,\n stdout: \"\",\n stderr: \"\",\n all: \"\",\n command: command,\n escapedCommand: escapedCommand,\n parsed: parsed,\n timedOut: false,\n isCanceled: false,\n killed: false\n }));\n (0, $98ef30edcc446ac2$export$e6eb0007fd542aba)(dummySpawned, errorPromise);\n return dummySpawned;\n }\n const spawnedPromise = (0, $98ef30edcc446ac2$export$6e3a9b5342d42997)(spawned);\n const timedPromise = (0, $2cd6bd8b1ebe5794$export$6bcc98999eb82896)(spawned, parsed.options, spawnedPromise);\n const processDone = (0, $2cd6bd8b1ebe5794$export$79fc3056c9ca4ada)(spawned, parsed.options, timedPromise);\n const context = {\n isCanceled: false\n };\n spawned.kill = (0, $2cd6bd8b1ebe5794$export$971fa1b57c7f00b).bind(null, spawned.kill.bind(spawned));\n spawned.cancel = (0, $2cd6bd8b1ebe5794$export$667e13cd9b70ca17).bind(null, spawned, context);\n const handlePromise = async ()=>{\n const [{ error: error, exitCode: exitCode, signal: signal, timedOut: timedOut }, stdoutResult, stderrResult, allResult] = await (0, $45a146706e83d45f$export$67b768ac9e1c70fa)(spawned, parsed.options, processDone);\n const stdout = $8991d7a42fe4b480$var$handleOutput(parsed.options, stdoutResult);\n const stderr = $8991d7a42fe4b480$var$handleOutput(parsed.options, stderrResult);\n const all = $8991d7a42fe4b480$var$handleOutput(parsed.options, allResult);\n if (error || exitCode !== 0 || signal !== null) {\n const returnedError = (0, $52e31e2dff38816d$export$5a4bb2b1c89bdce7)({\n error: error,\n exitCode: exitCode,\n signal: signal,\n stdout: stdout,\n stderr: stderr,\n all: all,\n command: command,\n escapedCommand: escapedCommand,\n parsed: parsed,\n timedOut: timedOut,\n isCanceled: context.isCanceled || (parsed.options.signal ? parsed.options.signal.aborted : false),\n killed: spawned.killed\n });\n if (!parsed.options.reject) return returnedError;\n throw returnedError;\n }\n return {\n command: command,\n escapedCommand: escapedCommand,\n exitCode: 0,\n stdout: stdout,\n stderr: stderr,\n all: all,\n failed: false,\n timedOut: false,\n isCanceled: false,\n killed: false\n };\n };\n const handlePromiseOnce = (0, $7b1fd4cd812d5227$export$2e2bcd8739ae039)(handlePromise);\n (0, $45a146706e83d45f$export$412508d679148d5c)(spawned, parsed.options);\n spawned.all = (0, $45a146706e83d45f$export$41f5c0c12dadd6ae)(spawned, parsed.options);\n (0, $d7ebb04b4e65e48e$export$14becf8d91886424)(spawned);\n (0, $98ef30edcc446ac2$export$e6eb0007fd542aba)(spawned, handlePromiseOnce);\n return spawned;\n}\nfunction $8991d7a42fe4b480$export$28823a701bb5a12d(file, args, options) {\n const parsed = $8991d7a42fe4b480$var$handleArguments(file, args, options);\n const command = (0, $78552e5bb63d35e7$export$ab3db8fe5ebf3a1)(file, args);\n const escapedCommand = (0, $78552e5bb63d35e7$export$9d3099014bd914f8)(file, args);\n (0, $9f9390de39813be1$export$3bb886c4c1352118)(escapedCommand, parsed.options);\n const input = (0, $45a146706e83d45f$export$7f2f9b6457412b41)(parsed.options);\n let result;\n try {\n result = (0, ($parcel$interopDefault($d7DIX$nodechild_process))).spawnSync(parsed.file, parsed.args, {\n ...parsed.options,\n input: input\n });\n } catch (error) {\n throw (0, $52e31e2dff38816d$export$5a4bb2b1c89bdce7)({\n error: error,\n stdout: \"\",\n stderr: \"\",\n all: \"\",\n command: command,\n escapedCommand: escapedCommand,\n parsed: parsed,\n timedOut: false,\n isCanceled: false,\n killed: false\n });\n }\n const stdout = $8991d7a42fe4b480$var$handleOutput(parsed.options, result.stdout, result.error);\n const stderr = $8991d7a42fe4b480$var$handleOutput(parsed.options, result.stderr, result.error);\n if (result.error || result.status !== 0 || result.signal !== null) {\n const error = (0, $52e31e2dff38816d$export$5a4bb2b1c89bdce7)({\n stdout: stdout,\n stderr: stderr,\n error: result.error,\n signal: result.signal,\n exitCode: result.status,\n command: command,\n escapedCommand: escapedCommand,\n parsed: parsed,\n timedOut: result.error && result.error.code === \"ETIMEDOUT\",\n isCanceled: false,\n killed: result.signal !== null\n });\n if (!parsed.options.reject) return error;\n throw error;\n }\n return {\n command: command,\n escapedCommand: escapedCommand,\n exitCode: 0,\n stdout: stdout,\n stderr: stderr,\n failed: false,\n timedOut: false,\n isCanceled: false,\n killed: false\n };\n}\nconst $8991d7a42fe4b480$var$normalizeScriptStdin = ({ input: input, inputFile: inputFile, stdio: stdio })=>input === undefined && inputFile === undefined && stdio === undefined ? {\n stdin: \"inherit\"\n } : {};\nconst $8991d7a42fe4b480$var$normalizeScriptOptions = (options = {})=>({\n preferLocal: true,\n ...$8991d7a42fe4b480$var$normalizeScriptStdin(options),\n ...options\n });\nfunction $8991d7a42fe4b480$var$create$(options) {\n function $(templatesOrOptions, ...expressions) {\n if (!Array.isArray(templatesOrOptions)) return $8991d7a42fe4b480$var$create$({\n ...options,\n ...templatesOrOptions\n });\n const [file, ...args] = (0, $78552e5bb63d35e7$export$4a6ee54de9b0f25d)(templatesOrOptions, expressions);\n return $8991d7a42fe4b480$export$db6b1668e3758717(file, args, $8991d7a42fe4b480$var$normalizeScriptOptions(options));\n }\n $.sync = (templates, ...expressions)=>{\n if (!Array.isArray(templates)) throw new TypeError(\"Please use $(options).sync`command` instead of $.sync(options)`command`.\");\n const [file, ...args] = (0, $78552e5bb63d35e7$export$4a6ee54de9b0f25d)(templates, expressions);\n return $8991d7a42fe4b480$export$28823a701bb5a12d(file, args, $8991d7a42fe4b480$var$normalizeScriptOptions(options));\n };\n return $;\n}\nconst $8991d7a42fe4b480$export$3d8c2f653ac9d0b9 = $8991d7a42fe4b480$var$create$();\nfunction $8991d7a42fe4b480$export$eb9ed1222071f2f6(command, options) {\n const [file, ...args] = (0, $78552e5bb63d35e7$export$78bcee23e0849f6a)(command);\n return $8991d7a42fe4b480$export$db6b1668e3758717(file, args, options);\n}\nfunction $8991d7a42fe4b480$export$5c60dbe76a54db4(command, options) {\n const [file, ...args] = (0, $78552e5bb63d35e7$export$78bcee23e0849f6a)(command);\n return $8991d7a42fe4b480$export$28823a701bb5a12d(file, args, options);\n}\nfunction $8991d7a42fe4b480$export$c004ac68fdb98119(scriptPath, args, options = {}) {\n if (args && !Array.isArray(args) && typeof args === \"object\") {\n options = args;\n args = [];\n }\n const stdio = (0, $7a40f7ba7330c654$export$889423b478ae2ba)(options);\n const defaultExecArgv = (0, ($parcel$interopDefault($d7DIX$nodeprocess))).execArgv.filter((arg)=>!arg.startsWith(\"--inspect\"));\n const { nodePath: nodePath = (0, ($parcel$interopDefault($d7DIX$nodeprocess))).execPath, nodeOptions: nodeOptions = defaultExecArgv } = options;\n return $8991d7a42fe4b480$export$db6b1668e3758717(nodePath, [\n ...nodeOptions,\n scriptPath,\n ...Array.isArray(args) ? args : []\n ], {\n ...options,\n stdin: undefined,\n stdout: undefined,\n stderr: undefined,\n stdio: stdio,\n shell: false\n });\n}\n\n\n\nvar $9ag04 = parcelRequire(\"9ag04\");\n\nvar $ER74K = parcelRequire(\"ER74K\");\nvar $44f23bb49826ca87$exports = {};\n\n\nvar $44f23bb49826ca87$require$join = $d7DIX$path.join;\nvar $44f23bb49826ca87$require$delimiter = $d7DIX$path.delimiter;\nvar $44f23bb49826ca87$require$sep = $d7DIX$path.sep;\nvar $44f23bb49826ca87$require$posix = $d7DIX$path.posix;\nconst $44f23bb49826ca87$var$isWindows = process.platform === \"win32\";\n// used to check for slashed in commands passed in. always checks for the posix\n// seperator on all platforms, and checks for the current separator when not on\n// a posix platform. don't use the isWindows check for this since that is mocked\n// in tests but we still need the code to actually work when called. that is also\n// why it is ignored from coverage.\n/* istanbul ignore next */ const $44f23bb49826ca87$var$rSlash = new RegExp(`[${$44f23bb49826ca87$require$posix.sep}${$44f23bb49826ca87$require$sep === $44f23bb49826ca87$require$posix.sep ? \"\" : $44f23bb49826ca87$require$sep}]`.replace(/(\\\\)/g, \"\\\\$1\"));\nconst $44f23bb49826ca87$var$rRel = new RegExp(`^\\\\.${$44f23bb49826ca87$var$rSlash.source}`);\nconst $44f23bb49826ca87$var$getNotFoundError = (cmd)=>Object.assign(new Error(`not found: ${cmd}`), {\n code: \"ENOENT\"\n });\nconst $44f23bb49826ca87$var$getPathInfo = (cmd, { path: optPath = process.env.PATH, pathExt: optPathExt = process.env.PATHEXT, delimiter: optDelimiter = $44f23bb49826ca87$require$delimiter })=>{\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($44f23bb49826ca87$var$rSlash) ? [\n \"\"\n ] : [\n // windows always checks the cwd first\n ...$44f23bb49826ca87$var$isWindows ? [\n process.cwd()\n ] : [],\n ...(optPath || /* istanbul ignore next: very unusual */ \"\").split(optDelimiter)\n ];\n if ($44f23bb49826ca87$var$isWindows) {\n const pathExtExe = optPathExt || [\n \".EXE\",\n \".CMD\",\n \".BAT\",\n \".COM\"\n ].join(optDelimiter);\n const pathExt = pathExtExe.split(optDelimiter).reduce((acc, item)=>{\n acc.push(item);\n acc.push(item.toLowerCase());\n return acc;\n }, []);\n if (cmd.includes(\".\") && pathExt[0] !== \"\") pathExt.unshift(\"\");\n return {\n pathEnv: pathEnv,\n pathExt: pathExt,\n pathExtExe: pathExtExe\n };\n }\n return {\n pathEnv: pathEnv,\n pathExt: [\n \"\"\n ]\n };\n};\nconst $44f23bb49826ca87$var$getPathPart = (raw, cmd)=>{\n const pathPart = /^\".*\"$/.test(raw) ? raw.slice(1, -1) : raw;\n const prefix = !pathPart && $44f23bb49826ca87$var$rRel.test(cmd) ? cmd.slice(0, 2) : \"\";\n return prefix + $44f23bb49826ca87$require$join(pathPart, cmd);\n};\nconst $44f23bb49826ca87$var$which = async (cmd, opt = {})=>{\n const { pathEnv: pathEnv, pathExt: pathExt, pathExtExe: pathExtExe } = $44f23bb49826ca87$var$getPathInfo(cmd, opt);\n const found = [];\n for (const envPart of pathEnv){\n const p = $44f23bb49826ca87$var$getPathPart(envPart, cmd);\n for (const ext of pathExt){\n const withExt = p + ext;\n const is = await $ff1862185d1397df$exports(withExt, {\n pathExt: pathExtExe,\n ignoreErrors: true\n });\n if (is) {\n if (!opt.all) return withExt;\n found.push(withExt);\n }\n }\n }\n if (opt.all && found.length) return found;\n if (opt.nothrow) return null;\n throw $44f23bb49826ca87$var$getNotFoundError(cmd);\n};\nconst $44f23bb49826ca87$var$whichSync = (cmd, opt = {})=>{\n const { pathEnv: pathEnv, pathExt: pathExt, pathExtExe: pathExtExe } = $44f23bb49826ca87$var$getPathInfo(cmd, opt);\n const found = [];\n for (const pathEnvPart of pathEnv){\n const p = $44f23bb49826ca87$var$getPathPart(pathEnvPart, cmd);\n for (const ext of pathExt){\n const withExt = p + ext;\n const is = $ff1862185d1397df$exports.sync(withExt, {\n pathExt: pathExtExe,\n ignoreErrors: true\n });\n if (is) {\n if (!opt.all) return withExt;\n found.push(withExt);\n }\n }\n }\n if (opt.all && found.length) return found;\n if (opt.nothrow) return null;\n throw $44f23bb49826ca87$var$getNotFoundError(cmd);\n};\n$44f23bb49826ca87$exports = $44f23bb49826ca87$var$which;\n$44f23bb49826ca87$var$which.sync = $44f23bb49826ca87$var$whichSync;\n\n\nconst { appendFile: $f0410b58de32386f$var$appendFile } = (0, $d7DIX$fs.promises);\n/* eslint-disable require-atomic-updates */ let $f0410b58de32386f$var$didUpdate = false;\nlet $f0410b58de32386f$var$didInit = false;\nconst $f0410b58de32386f$var$retryErrors = [\n \"E: Could not get lock\",\n \"dpkg: error processing archive\",\n \"dpkg: error: dpkg status database is locked by another process\"\n];\nasync function $f0410b58de32386f$export$d73dc343f5abf26(packages, update = false) {\n const apt = $f0410b58de32386f$var$getApt();\n for (const { name: name, version: version } of packages)(0, $ER74K.info)(`Installing ${name} ${version ?? \"\"} via ${apt}`);\n process.env.DEBIAN_FRONTEND = \"noninteractive\";\n if (!$f0410b58de32386f$var$didUpdate || update) {\n $f0410b58de32386f$var$updateRepos(apt);\n $f0410b58de32386f$var$didUpdate = true;\n }\n if (!$f0410b58de32386f$var$didInit) {\n await $f0410b58de32386f$var$initApt(apt);\n $f0410b58de32386f$var$didInit = true;\n }\n const allRepositories = [\n ...new Set(packages.flatMap((pack)=>pack.repositories ?? []))\n ];\n if (allRepositories.length !== 0) {\n for (const repo of allRepositories)// eslint-disable-next-line no-await-in-loop\n (0, $f52a2f1a707749bf$export$58f152936f209932)(\"add-apt-repository\", [\n \"-y\",\n repo\n ]);\n $f0410b58de32386f$var$updateRepos(apt);\n }\n const aptArgs = await Promise.all(packages.map((pack)=>$f0410b58de32386f$var$getAptArg(pack.name, pack.version)));\n try {\n (0, $f52a2f1a707749bf$export$58f152936f209932)(apt, [\n \"install\",\n \"--fix-broken\",\n \"-y\",\n ...aptArgs\n ]);\n } catch (err) {\n if (\"stderr\" in err) {\n const stderr = err.stderr;\n if ($f0410b58de32386f$var$retryErrors.some((error)=>stderr.includes(error))) {\n (0, $ER74K.warning)(`Failed to install packages ${aptArgs}. Retrying...`);\n (0, $f52a2f1a707749bf$export$58f152936f209932)(apt, [\n \"install\",\n \"--fix-broken\",\n \"-y\",\n ...aptArgs\n ]);\n }\n } else throw err;\n }\n return {\n binDir: \"/usr/bin/\"\n };\n}\nvar $f0410b58de32386f$export$e6e2160a140a491e;\n(function(AptPackageType) {\n AptPackageType[AptPackageType[\"NameDashVersion\"] = 0] = \"NameDashVersion\";\n AptPackageType[AptPackageType[\"NameEqualsVersion\"] = 1] = \"NameEqualsVersion\";\n AptPackageType[AptPackageType[\"Name\"] = 2] = \"Name\";\n AptPackageType[AptPackageType[\"None\"] = 3] = \"None\";\n})($f0410b58de32386f$export$e6e2160a140a491e || ($f0410b58de32386f$export$e6e2160a140a491e = {}));\nasync function $f0410b58de32386f$export$41cba414fa0bee03(name, version) {\n if (version !== undefined && version !== \"\") {\n const { stdout: stdout } = await (0, $8991d7a42fe4b480$export$db6b1668e3758717)(\"apt-cache\", [\n \"search\",\n \"--names-only\",\n `^${(0, $9ag04.default)(name)}-${(0, $9ag04.default)(version)}$`\n ]);\n if (stdout.trim() !== \"\") return $f0410b58de32386f$export$e6e2160a140a491e.NameDashVersion;\n try {\n // check if apt-get show can find the version\n // eslint-disable-next-line @typescript-eslint/no-shadow\n const { stdout: stdout } = await (0, $8991d7a42fe4b480$export$db6b1668e3758717)(\"apt-cache\", [\n \"show\",\n `${name}=${version}`\n ]);\n if (stdout.trim() === \"\") return $f0410b58de32386f$export$e6e2160a140a491e.NameEqualsVersion;\n } catch {\n // ignore\n }\n }\n try {\n const { stdout: showStdout } = await (0, $8991d7a42fe4b480$export$db6b1668e3758717)(\"apt-cache\", [\n \"show\",\n name\n ]);\n if (showStdout.trim() !== \"\") return $f0410b58de32386f$export$e6e2160a140a491e.Name;\n } catch {\n // ignore\n }\n return $f0410b58de32386f$export$e6e2160a140a491e.None;\n}\nasync function $f0410b58de32386f$var$getAptArg(name, version) {\n const package_type = await $f0410b58de32386f$export$41cba414fa0bee03(name, version);\n switch(package_type){\n case $f0410b58de32386f$export$e6e2160a140a491e.NameDashVersion:\n return `${name}-${version}`;\n case $f0410b58de32386f$export$e6e2160a140a491e.NameEqualsVersion:\n return `${name}=${version}`;\n case $f0410b58de32386f$export$e6e2160a140a491e.Name:\n return name;\n case $f0410b58de32386f$export$e6e2160a140a491e.None:\n default:\n throw new Error(`Could not find package ${name} ${version ?? \"\"}`);\n }\n}\nfunction $f0410b58de32386f$export$89548d91e84ae1a1() {\n return (0, (/*@__PURE__*/$parcel$interopDefault($44f23bb49826ca87$exports))).sync(\"nala\", {\n nothrow: true\n }) !== null;\n}\nfunction $f0410b58de32386f$var$getApt() {\n let apt;\n if ($f0410b58de32386f$export$89548d91e84ae1a1()) apt = \"nala\";\n else apt = \"apt-get\";\n return apt;\n}\nfunction $f0410b58de32386f$var$updateRepos(apt) {\n (0, $f52a2f1a707749bf$export$58f152936f209932)(apt, apt !== \"nala\" ? [\n \"update\",\n \"-y\"\n ] : [\n \"update\"\n ]);\n}\n/** Install apt utils and certificates (usually missing from docker containers) */ async function $f0410b58de32386f$var$initApt(apt) {\n (0, $f52a2f1a707749bf$export$58f152936f209932)(apt, [\n \"install\",\n \"--fix-broken\",\n \"-y\",\n \"software-properties-common\",\n \"apt-utils\",\n \"ca-certificates\",\n \"gnupg\"\n ]);\n const promises = [\n $f0410b58de32386f$export$11aa10c05ada0934([\n \"3B4FE6ACC0B21F32\",\n \"40976EAF437D05B5\"\n ], \"setup-cpp-ubuntu-archive.gpg\"),\n $f0410b58de32386f$export$11aa10c05ada0934([\n \"1E9377A2BA9EF27F\"\n ], \"launchpad-toolchain.gpg\")\n ];\n if (apt === \"nala\") // enable utf8 otherwise it fails because of the usage of ASCII encoding\n promises.push((0, $85fd7153285bfba5$export$f63d3080ce25e0fd)(\"LANG\", \"C.UTF-8\", {\n shouldAddOnlyIfNotDefined: true\n }), (0, $85fd7153285bfba5$export$f63d3080ce25e0fd)(\"LC_ALL\", \"C.UTF-8\", {\n shouldAddOnlyIfNotDefined: true\n }));\n await Promise.all(promises);\n}\nfunction $f0410b58de32386f$var$initGpg() {\n (0, $f52a2f1a707749bf$export$58f152936f209932)(\"gpg\", [\n \"-k\"\n ]);\n}\nasync function $f0410b58de32386f$export$11aa10c05ada0934(keys, name, server = \"keyserver.ubuntu.com\") {\n try {\n const fileName = `/etc/apt/trusted.gpg.d/${name}`;\n if (!await (0, $dOmbL.pathExists)(fileName)) {\n $f0410b58de32386f$var$initGpg();\n await Promise.all(keys.map(async (key)=>{\n await (0, $f52a2f1a707749bf$export$351270479e2eef26)(\"gpg\", [\n \"--no-default-keyring\",\n \"--keyring\",\n `gnupg-ring:${fileName}`,\n \"--keyserver\",\n server,\n \"--recv-keys\",\n key\n ]);\n await (0, $f52a2f1a707749bf$export$351270479e2eef26)(\"chmod\", [\n \"644\",\n fileName\n ]);\n }));\n }\n return fileName;\n } catch (err) {\n (0, $ER74K.warning)(`Failed to add apt key via server ${server}: ${err}`);\n return undefined;\n }\n}\nasync function $f0410b58de32386f$export$7fb1a688af1305f0(name, url) {\n const fileName = `/etc/apt/trusted.gpg.d/${name}`;\n if (!await (0, $dOmbL.pathExists)(fileName)) {\n $f0410b58de32386f$var$initGpg();\n await $f0410b58de32386f$export$d73dc343f5abf26([\n {\n name: \"curl\"\n },\n {\n name: \"ca-certificates\"\n }\n ], undefined);\n await (0, $8991d7a42fe4b480$export$db6b1668e3758717)(\"curl\", [\n \"-s\",\n url,\n \"-o\",\n `/tmp/${name}`\n ]);\n (0, $f52a2f1a707749bf$export$58f152936f209932)(\"gpg\", [\n \"--no-default-keyring\",\n \"--keyring\",\n `gnupg-ring:${fileName}`,\n \"--import\",\n `/tmp/${name}`\n ]);\n (0, $f52a2f1a707749bf$export$58f152936f209932)(\"chmod\", [\n \"644\",\n fileName\n ]);\n }\n return fileName;\n}\nasync function $f0410b58de32386f$export$6fe6436bd9f53d02(name, path) {\n if (0, $dTX7a.GITHUB_ACTIONS) return (0, $f52a2f1a707749bf$export$351270479e2eef26)(\"update-alternatives\", [\n \"--install\",\n `/usr/bin/${name}`,\n name,\n path,\n \"40\"\n ]);\n else {\n await (0, $85fd7153285bfba5$export$bd1dffd792f43c41)();\n return $f0410b58de32386f$var$appendFile((0, $85fd7153285bfba5$export$1bbbc3a810c5799d), `\\nif [ $UID -eq 0 ]; then update-alternatives --install /usr/bin/${name} ${name} ${path} 40; fi\\n`);\n }\n}\nasync function $f0410b58de32386f$export$ec2e4deaa1231ecf(regexp) {\n try {\n // check if a package matching the regexp is installed\n const { stdout: stdout } = await (0, $8991d7a42fe4b480$export$db6b1668e3758717)(\"dpkg\", [\n \"-l\",\n regexp\n ]);\n const lines = stdout.split(\"\\n\");\n // check if the output contains any lines that start with \"ii\"\n return lines.some((line)=>line.startsWith(\"ii\"));\n } catch {\n return false;\n }\n}\n\n\n/* eslint-disable require-atomic-updates */ \nvar $lcRzN = parcelRequire(\"lcRzN\");\n\n\nvar $ceI0e = parcelRequire(\"ceI0e\");\n\n\n\nvar $ceI0e = parcelRequire(\"ceI0e\");\n\n\n\n\nvar $fcBgE = parcelRequire(\"fcBgE\");\n\n\n/* eslint-disable require-atomic-updates */ let $b05e6e28215ee948$var$binDir;\nasync function $b05e6e28215ee948$export$c5eeb9c87a610a0e(_version, _setupDir, _arch) {\n if (![\n \"darwin\",\n \"linux\"\n ].includes(process.platform)) return undefined;\n if (typeof $b05e6e28215ee948$var$binDir === \"string\") return {\n binDir: $b05e6e28215ee948$var$binDir\n };\n const maybeBinDir = (0, (/*@__PURE__*/$parcel$interopDefault($44f23bb49826ca87$exports))).sync(\"brew\", {\n nothrow: true\n });\n if (maybeBinDir !== null) {\n $b05e6e28215ee948$var$binDir = (0, $ceI0e.dirname)(maybeBinDir);\n return {\n binDir: $b05e6e28215ee948$var$binDir\n };\n }\n // brew is not thread-safe\n const brewTempDirectory = (0, ($parcel$interopDefault($d7DIX$path))).join((0, $d7DIX$os.tmpdir)(), \"setup-cpp\", \"brew\");\n await (0, $fcBgE.mkdirP)(brewTempDirectory);\n (0, $8991d7a42fe4b480$export$28823a701bb5a12d)(\"curl\", [\n \"-LJO\",\n \"https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh\"\n ], {\n cwd: brewTempDirectory\n });\n const installSh = (0, $d7DIX$path.join)(brewTempDirectory, \"install.sh\");\n if (process.platform === \"linux\") {\n const installShContent = (0, $d7DIX$fs.readFileSync)(installSh, \"utf-8\");\n installShContent.replace(\"#!/bin/bash\", \"\");\n }\n (0, $8991d7a42fe4b480$export$28823a701bb5a12d)(\"/bin/bash\", [\n installSh\n ], {\n stdio: \"inherit\",\n env: {\n NONINTERACTIVE: \"1\"\n }\n });\n $b05e6e28215ee948$var$binDir = $b05e6e28215ee948$export$cba19b0564b654bf();\n await (0, $85fd7153285bfba5$export$4c25481b843feb0b)($b05e6e28215ee948$var$binDir);\n return {\n binDir: $b05e6e28215ee948$var$binDir\n };\n}\nfunction $b05e6e28215ee948$export$cba19b0564b654bf() {\n if (process.platform === \"linux\") return \"/home/linuxbrew/.linuxbrew/bin/\";\n else return \"/usr/local/bin/\";\n}\n\n\nlet $10ddbd636565d4da$var$hasBrew = false;\nasync function $10ddbd636565d4da$export$ce5d13d8a85cb784(name, version, extraArgs = []) {\n (0, $lcRzN.info)(`Installing ${name} ${version ?? \"\"} via brew`);\n if (!$10ddbd636565d4da$var$hasBrew || (0, (/*@__PURE__*/$parcel$interopDefault($44f23bb49826ca87$exports))).sync(\"brew\", {\n nothrow: true\n }) === null) {\n await (0, $b05e6e28215ee948$export$c5eeb9c87a610a0e)(\"\", \"\", process.arch);\n $10ddbd636565d4da$var$hasBrew = true;\n }\n const binDir = (0, $b05e6e28215ee948$export$cba19b0564b654bf)();\n // brew is not thread-safe\n (0, $8991d7a42fe4b480$export$28823a701bb5a12d)((0, $ceI0e.join)(binDir, \"brew\"), [\n \"install\",\n version !== undefined && version !== \"\" ? `${name}@${version}` : name,\n ...extraArgs\n ], {\n stdio: \"inherit\"\n });\n return {\n binDir: binDir\n };\n}\n\n\n/* eslint-disable require-atomic-updates */ \n\n/* eslint-disable require-atomic-updates */ \n\nvar $dOmbL = parcelRequire(\"dOmbL\");\n\nvar $ceI0e = parcelRequire(\"ceI0e\");\n\n\nlet $5540d46c90af649b$var$binDir;\nasync function $5540d46c90af649b$export$b804d731cdad7ef9(// eslint-disable-next-line @typescript-eslint/no-unused-vars\n_version, // eslint-disable-next-line @typescript-eslint/no-unused-vars\n_setupDir, // eslint-disable-next-line @typescript-eslint/no-unused-vars\n_arch) {\n if (process.platform !== \"win32\") return undefined;\n if (typeof $5540d46c90af649b$var$binDir === \"string\") return {\n binDir: $5540d46c90af649b$var$binDir\n };\n const maybeBinDir = (0, (/*@__PURE__*/$parcel$interopDefault($44f23bb49826ca87$exports))).sync(\"choco\", {\n nothrow: true\n });\n if (maybeBinDir !== null) {\n $5540d46c90af649b$var$binDir = (0, $ceI0e.dirname)(maybeBinDir);\n return {\n binDir: $5540d46c90af649b$var$binDir\n };\n }\n let powershell = \"powershell.exe\";\n const maybePowerShell = (0, (/*@__PURE__*/$parcel$interopDefault($44f23bb49826ca87$exports))).sync(`${process.env.SystemRoot}\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\powershell.exe`, {\n nothrow: true\n });\n if (maybePowerShell !== null) powershell = maybePowerShell;\n // https://docs.chocolatey.org/en-us/choco/setup#install-with-cmd.exe\n (0, $8991d7a42fe4b480$export$28823a701bb5a12d)(powershell, [\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 const chocoPath = `${process.env.ALLUSERSPROFILE}\\\\chocolatey\\\\bin`;\n await (0, $85fd7153285bfba5$export$4c25481b843feb0b)(chocoPath);\n const maybeChoco = (0, (/*@__PURE__*/$parcel$interopDefault($44f23bb49826ca87$exports))).sync(\"choco\", {\n nothrow: true\n });\n if (maybeChoco !== null) $5540d46c90af649b$var$binDir = (0, $ceI0e.dirname)(maybeChoco);\n else $5540d46c90af649b$var$binDir = `${process.env.ChocolateyInstall ?? \"C:/ProgramData/chocolatey\"}/bin`;\n if (await (0, $dOmbL.pathExists)($5540d46c90af649b$var$binDir)) return {\n binDir: $5540d46c90af649b$var$binDir\n };\n return undefined;\n}\n\n\n\n\nvar $ER74K = parcelRequire(\"ER74K\");\nlet $ca3ee4fd324ae5e9$var$hasChoco = false;\nasync function $ca3ee4fd324ae5e9$export$9f6912bc890040b2(name, version, args = []) {\n (0, $ER74K.info)(`Installing ${name} ${version ?? \"\"} via chocolatey`);\n if (!$ca3ee4fd324ae5e9$var$hasChoco || (0, (/*@__PURE__*/$parcel$interopDefault($44f23bb49826ca87$exports))).sync(\"choco\", {\n nothrow: true\n }) === null) {\n await (0, $5540d46c90af649b$export$b804d731cdad7ef9)(\"\", \"\", process.arch);\n $ca3ee4fd324ae5e9$var$hasChoco = true;\n }\n // https://github.com/jberezanski/ChocolateyPackages/issues/97#issuecomment-986825694\n const PATH = process.env.PATH;\n const env = {\n ...process.env\n };\n delete env.TMP;\n delete env.TEMP;\n delete env.Path;\n env.PATH = PATH;\n if (version !== undefined && version !== \"\") (0, $8991d7a42fe4b480$export$28823a701bb5a12d)(\"choco\", [\n \"install\",\n \"-y\",\n name,\n `--version=${version}`,\n ...args\n ], {\n env: env,\n extendEnv: false,\n stdio: \"inherit\"\n });\n else try {\n (0, $8991d7a42fe4b480$export$28823a701bb5a12d)(\"choco\", [\n \"install\",\n \"-y\",\n name,\n ...args\n ], {\n env: env,\n extendEnv: false,\n stdio: \"inherit\"\n });\n } catch (err) {\n // if the package requires a reboot, downgrade the error to a notice\n if (err.message.includes(\"exit code 3010\")) (0, $ER74K.info)(`${name} might require a reboot for the completion of the installation.`);\n else throw err;\n }\n const binDir = `${process.env.ChocolateyInstall ?? \"C:/ProgramData/chocolatey\"}/bin`;\n await (0, $85fd7153285bfba5$export$4c25481b843feb0b)(binDir);\n return {\n binDir: binDir\n };\n}\n\n\n\nlet $84785c71f430250a$var$isArchCache = undefined;\nfunction $84785c71f430250a$export$d415ddb6702ec3a2() {\n if (process.platform !== \"linux\") return false;\n if ($84785c71f430250a$var$isArchCache === undefined) // detect arch by checking if pacman exists\n $84785c71f430250a$var$isArchCache = (0, (/*@__PURE__*/$parcel$interopDefault($44f23bb49826ca87$exports))).sync(\"pacman\", {\n nothrow: true\n }) !== null;\n return $84785c71f430250a$var$isArchCache;\n}\n\n\n\nlet $3cbfee605ac1e082$var$hasDnfCache = undefined;\nfunction $3cbfee605ac1e082$export$8ce8b4b22331a8c7() {\n if (process.platform !== \"linux\") return false;\n if ($3cbfee605ac1e082$var$hasDnfCache === undefined) $3cbfee605ac1e082$var$hasDnfCache = (0, (/*@__PURE__*/$parcel$interopDefault($44f23bb49826ca87$exports))).sync(\"dnf\", {\n nothrow: true\n }) !== null;\n return $3cbfee605ac1e082$var$hasDnfCache;\n}\n\n\n\n\nvar $ER74K = parcelRequire(\"ER74K\");\n\nasync function $7e2451edad050552$export$49d4f9ba8e0dd34f(packages) {\n for (const { name: name, version: version } of packages)(0, $ER74K.info)(`Installing ${name} ${version ?? \"\"} via dnf`);\n const dnfArgs = await Promise.all(packages.map((pack)=>$7e2451edad050552$var$getDnfArg(pack.name, pack.version)));\n (0, $f52a2f1a707749bf$export$58f152936f209932)(\"dnf\", [\n \"-y\",\n \"install\",\n ...dnfArgs\n ]);\n return {\n binDir: \"/usr/bin/\"\n };\n}\nasync function $7e2451edad050552$var$getDnfArg(name, version) {\n if (version !== undefined && version !== \"\") {\n // check if name-version is available\n const { stdout: stdout } = await (0, $8991d7a42fe4b480$export$db6b1668e3758717)(\"dnf\", [\n \"search\",\n \"-q\",\n `${name}-${version}`\n ]);\n if (stdout.trim() !== \"\") return `${name}-${version}`;\n else {\n // try with ${name}${version}\n // eslint-disable-next-line @typescript-eslint/no-shadow\n const { stdout: stdout } = await (0, $8991d7a42fe4b480$export$db6b1668e3758717)(\"dnf\", [\n \"search\",\n \"-q\",\n `${name}${version}`\n ]);\n if (stdout.trim() !== \"\") return `${name}${version}`;\n (0, $ER74K.warning)(`Failed to install ${name} ${version} via dnf, trying without version`);\n }\n }\n return name;\n}\n\n\n\nlet $7b55ac603b97ae6e$var$isUbuntuCache = undefined;\nfunction $7b55ac603b97ae6e$export$da8baf1d6c6802b6() {\n if (process.platform !== \"linux\") return false;\n if ($7b55ac603b97ae6e$var$isUbuntuCache === undefined) {\n const apt = \"apt-get\";\n $7b55ac603b97ae6e$var$isUbuntuCache = (0, (/*@__PURE__*/$parcel$interopDefault($44f23bb49826ca87$exports))).sync(apt, {\n nothrow: true\n }) !== null;\n }\n return $7b55ac603b97ae6e$var$isUbuntuCache;\n}\n\n\n\nasync function $8550ac0edfced131$export$a66bc93580b0a849(version, _setupDir, _arch) {\n switch(process.platform){\n case \"win32\":\n // install bazelisk because it contains both\n return (0, $ca3ee4fd324ae5e9$export$9f6912bc890040b2)(\"bazelisk\", version);\n case \"darwin\":\n // install bazelisk because it contains both\n return (0, $10ddbd636565d4da$export$ce5d13d8a85cb784)(\"bazelisk\", version);\n case \"linux\":\n if ((0, $84785c71f430250a$export$d415ddb6702ec3a2)()) throw new Error(\"installing bazel on Arch linux is not supported yet\");\n else if ((0, $3cbfee605ac1e082$export$8ce8b4b22331a8c7)()) {\n // https://bazel.build/install/redhat\n await (0, $7e2451edad050552$export$49d4f9ba8e0dd34f)([\n {\n name: \"dnf-plugins-core\"\n }\n ]);\n (0, $f52a2f1a707749bf$export$58f152936f209932)(\"dnf\", [\n \"copr\",\n \"enable\",\n \"vbatts/bazel\"\n ]);\n return (0, $7e2451edad050552$export$49d4f9ba8e0dd34f)([\n {\n name: \"bazel4\"\n }\n ]);\n } else if ((0, $7b55ac603b97ae6e$export$da8baf1d6c6802b6)()) {\n // https://bazel.build/install/ubuntu\n const keyFileName = await (0, $f0410b58de32386f$export$7fb1a688af1305f0)(\"bazel-archive-keyring.gpg\", \"https://bazel.build/bazel-release.pub.gpg\");\n (0, $f52a2f1a707749bf$export$58f152936f209932)(\"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 (0, $f0410b58de32386f$export$d73dc343f5abf26)([\n {\n name: \"bazel\",\n version: version\n }\n ], true);\n }\n throw new Error(`Unsupported linux distribution`);\n default:\n throw new Error(`Unsupported platform`);\n }\n}\n\n\n\n\n\n\nvar $ER74K = parcelRequire(\"ER74K\");\n\n\n/* eslint-disable require-atomic-updates */ let $6f126e8fe01fa080$var$didUpdate = false;\nlet $6f126e8fe01fa080$var$didInit = false;\nasync function $6f126e8fe01fa080$export$cfa75578ee2d6e6c(name, version, aur) {\n (0, $ER74K.info)(`Installing ${name} ${version ?? \"\"} via pacman`);\n const pacman = \"pacman\";\n if (aur === \"yay\" && (0, (/*@__PURE__*/$parcel$interopDefault($44f23bb49826ca87$exports))).sync(\"yay\", {\n nothrow: true\n }) === null) // TODO: install yay automatically\n throw new Error(`yay is needed for ${name}, but it is not installed, please install it manually first`);\n // yay can't run as root, so skip update\n if (!$6f126e8fe01fa080$var$didUpdate && aur !== \"yay\") {\n (0, $f52a2f1a707749bf$export$58f152936f209932)(pacman, [\n \"-Sy\",\n \"--noconfirm\"\n ]);\n $6f126e8fe01fa080$var$didUpdate = true;\n }\n // install base-devel\n if (!$6f126e8fe01fa080$var$didInit && aur !== \"yay\") {\n (0, $f52a2f1a707749bf$export$58f152936f209932)(pacman, [\n \"-S\",\n \"--noconfirm\",\n \"base-devel\"\n ]);\n $6f126e8fe01fa080$var$didInit = true;\n }\n const runInstall = (arg)=>{\n if (aur === \"yay\") // run yay as non-root, ERROR: Running makepkg as root is not allowed as it can cause permanent, catastrophic damage to your system.\n return (0, $8991d7a42fe4b480$export$28823a701bb5a12d)(aur, [\n \"-S\",\n \"--noconfirm\",\n arg\n ]);\n return (0, $f52a2f1a707749bf$export$58f152936f209932)(aur ?? pacman, [\n \"-S\",\n \"--noconfirm\",\n arg\n ]);\n };\n if (version !== undefined && version !== \"\") {\n // check if version is available\n const availableVersions = await $6f126e8fe01fa080$var$availablePacmanVersions(pacman, name);\n if (availableVersions.includes(version)) // try different version formats\n try {\n runInstall(`${name}=${version}`);\n } catch {\n runInstall(`${name}${version}`);\n }\n else {\n // try without version\n (0, $ER74K.info)(`Failed to install ${name} ${version} via pacman, trying without version`);\n runInstall(name);\n }\n } else // version not specified, install latest\n runInstall(name);\n return {\n binDir: \"/usr/bin/\"\n };\n}\nconst $6f126e8fe01fa080$var$pacmanSiVersionRegex = /Version\\s*:\\s*(.*)/g;\n/** Query pacman for available versions */ async function $6f126e8fe01fa080$var$availablePacmanVersions(pacman, name) {\n const availableVersions = [];\n try {\n const { stdout: stdout } = await (0, $8991d7a42fe4b480$export$db6b1668e3758717)(pacman, [\n \"-Si\",\n name\n ]);\n for (const match of stdout.matchAll($6f126e8fe01fa080$var$pacmanSiVersionRegex))availableVersions.push(match[1]);\n } catch (err) {\n (0, $ER74K.warning)(`Failed to get available versions for ${name}: ${err}`);\n }\n return availableVersions;\n}\n\n\n\n\n\n\n\n\nfunction $37a450505a669dce$export$111263621bbb0768(version, _setupDir, _arch) {\n switch(process.platform){\n case \"win32\":\n return (0, $ca3ee4fd324ae5e9$export$9f6912bc890040b2)(\"ccache\", version);\n case \"darwin\":\n return (0, $10ddbd636565d4da$export$ce5d13d8a85cb784)(\"ccache\", version);\n case \"linux\":\n if ((0, $84785c71f430250a$export$d415ddb6702ec3a2)()) return (0, $6f126e8fe01fa080$export$cfa75578ee2d6e6c)(\"ccache\", version);\n else if ((0, $3cbfee605ac1e082$export$8ce8b4b22331a8c7)()) return (0, $7e2451edad050552$export$49d4f9ba8e0dd34f)([\n {\n name: \"ccache\",\n version: version\n }\n ]);\n else if ((0, $7b55ac603b97ae6e$export$da8baf1d6c6802b6)()) return (0, $f0410b58de32386f$export$d73dc343f5abf26)([\n {\n name: \"ccache\",\n version: version\n }\n ]);\n throw new Error(`Unsupported linux distribution`);\n default:\n throw new Error(`Unsupported platform`);\n }\n}\n\n\n\nvar $b6359893e987d0a9$exports = {};\n\nvar $b6359893e987d0a9$var$$parcel$__dirname = $d7DIX$path.resolve(__dirname, \"../../node_modules/.pnpm/@actions+tool-cache@2.0.1/node_modules/@actions/tool-cache/lib\");\n\"use strict\";\nvar $b6359893e987d0a9$var$__createBinding = $b6359893e987d0a9$exports && $b6359893e987d0a9$exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $b6359893e987d0a9$var$__setModuleDefault = $b6359893e987d0a9$exports && $b6359893e987d0a9$exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $b6359893e987d0a9$var$__importStar = $b6359893e987d0a9$exports && $b6359893e987d0a9$exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $b6359893e987d0a9$var$__createBinding(result, mod, k);\n }\n $b6359893e987d0a9$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $b6359893e987d0a9$var$__awaiter = $b6359893e987d0a9$exports && $b6359893e987d0a9$exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar $b6359893e987d0a9$var$__importDefault = $b6359893e987d0a9$exports && $b6359893e987d0a9$exports.__importDefault || function(mod) {\n return mod && mod.__esModule ? mod : {\n \"default\": mod\n };\n};\nObject.defineProperty($b6359893e987d0a9$exports, \"__esModule\", {\n value: true\n});\n$b6359893e987d0a9$exports.evaluateVersions = $b6359893e987d0a9$exports.isExplicitVersion = $b6359893e987d0a9$exports.findFromManifest = $b6359893e987d0a9$exports.getManifestFromRepo = $b6359893e987d0a9$exports.findAllVersions = $b6359893e987d0a9$exports.find = $b6359893e987d0a9$exports.cacheFile = $b6359893e987d0a9$exports.cacheDir = $b6359893e987d0a9$exports.extractZip = $b6359893e987d0a9$exports.extractXar = $b6359893e987d0a9$exports.extractTar = $b6359893e987d0a9$exports.extract7z = $b6359893e987d0a9$exports.downloadTool = $b6359893e987d0a9$exports.HTTPError = void 0;\n\nconst $b6359893e987d0a9$var$core = $b6359893e987d0a9$var$__importStar((parcelRequire(\"lcRzN\")));\n\nconst $b6359893e987d0a9$var$io = $b6359893e987d0a9$var$__importStar((parcelRequire(\"fcBgE\")));\n\nconst $b6359893e987d0a9$var$fs = $b6359893e987d0a9$var$__importStar($d7DIX$fs);\n\nconst $b6359893e987d0a9$var$mm = $b6359893e987d0a9$var$__importStar((parcelRequire(\"ktIRP\")));\n\nconst $b6359893e987d0a9$var$os = $b6359893e987d0a9$var$__importStar($d7DIX$os);\n\nconst $b6359893e987d0a9$var$path = $b6359893e987d0a9$var$__importStar($d7DIX$path);\n\nconst $b6359893e987d0a9$var$httpm = $b6359893e987d0a9$var$__importStar((parcelRequire(\"3bels\")));\n\nconst $b6359893e987d0a9$var$semver = $b6359893e987d0a9$var$__importStar((parcelRequire(\"aNgTs\")));\n\nconst $b6359893e987d0a9$var$stream = $b6359893e987d0a9$var$__importStar($d7DIX$stream);\n\nconst $b6359893e987d0a9$var$util = $b6359893e987d0a9$var$__importStar($d7DIX$util);\n\n\nconst $b6359893e987d0a9$var$v4_1 = $b6359893e987d0a9$var$__importDefault((parcelRequire(\"dGCqI\")));\n\nvar $jlr6Q = parcelRequire(\"jlr6Q\");\nvar $339994c479086605$exports = {};\n\"use strict\";\nvar $339994c479086605$var$__createBinding = $339994c479086605$exports && $339994c479086605$exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $339994c479086605$var$__setModuleDefault = $339994c479086605$exports && $339994c479086605$exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $339994c479086605$var$__importStar = $339994c479086605$exports && $339994c479086605$exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $339994c479086605$var$__createBinding(result, mod, k);\n }\n $339994c479086605$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $339994c479086605$var$__awaiter = $339994c479086605$exports && $339994c479086605$exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty($339994c479086605$exports, \"__esModule\", {\n value: true\n});\n$339994c479086605$exports.RetryHelper = void 0;\n\nconst $339994c479086605$var$core = $339994c479086605$var$__importStar((parcelRequire(\"lcRzN\")));\n/**\n * Internal class for retries\n */ class $339994c479086605$var$RetryHelper {\n constructor(maxAttempts, minSeconds, maxSeconds){\n if (maxAttempts < 1) throw new Error(\"max attempts should be greater than or equal to 1\");\n this.maxAttempts = maxAttempts;\n this.minSeconds = Math.floor(minSeconds);\n this.maxSeconds = Math.floor(maxSeconds);\n if (this.minSeconds > this.maxSeconds) throw new Error(\"min seconds should be less than or equal to max seconds\");\n }\n execute(action, isRetryable) {\n return $339994c479086605$var$__awaiter(this, void 0, void 0, function*() {\n let attempt = 1;\n while(attempt < this.maxAttempts){\n // Try\n try {\n return yield action();\n } catch (err) {\n if (isRetryable && !isRetryable(err)) throw err;\n $339994c479086605$var$core.info(err.message);\n }\n // Sleep\n const seconds = this.getSleepAmount();\n $339994c479086605$var$core.info(`Waiting ${seconds} seconds before trying again`);\n yield this.sleep(seconds);\n attempt++;\n }\n // Last attempt\n return yield action();\n });\n }\n getSleepAmount() {\n return Math.floor(Math.random() * (this.maxSeconds - this.minSeconds + 1)) + this.minSeconds;\n }\n sleep(seconds) {\n return $339994c479086605$var$__awaiter(this, void 0, void 0, function*() {\n return new Promise((resolve)=>setTimeout(resolve, seconds * 1000));\n });\n }\n}\n$339994c479086605$exports.RetryHelper = $339994c479086605$var$RetryHelper;\n\n\nclass $b6359893e987d0a9$var$HTTPError extends Error {\n constructor(httpStatusCode){\n super(`Unexpected HTTP response: ${httpStatusCode}`);\n this.httpStatusCode = httpStatusCode;\n Object.setPrototypeOf(this, new.target.prototype);\n }\n}\n$b6359893e987d0a9$exports.HTTPError = $b6359893e987d0a9$var$HTTPError;\nconst $b6359893e987d0a9$var$IS_WINDOWS = process.platform === \"win32\";\nconst $b6359893e987d0a9$var$IS_MAC = process.platform === \"darwin\";\nconst $b6359893e987d0a9$var$userAgent = \"actions/tool-cache\";\n/**\n * Download a tool from an url and stream it into a file\n *\n * @param url url of tool to download\n * @param dest path to download tool\n * @param auth authorization header\n * @param headers other headers\n * @returns path to downloaded tool\n */ function $b6359893e987d0a9$var$downloadTool(url, dest, auth, headers) {\n return $b6359893e987d0a9$var$__awaiter(this, void 0, void 0, function*() {\n dest = dest || $b6359893e987d0a9$var$path.join($b6359893e987d0a9$var$_getTempDirectory(), $b6359893e987d0a9$var$v4_1.default());\n yield $b6359893e987d0a9$var$io.mkdirP($b6359893e987d0a9$var$path.dirname(dest));\n $b6359893e987d0a9$var$core.debug(`Downloading ${url}`);\n $b6359893e987d0a9$var$core.debug(`Destination ${dest}`);\n const maxAttempts = 3;\n const minSeconds = $b6359893e987d0a9$var$_getGlobal(\"TEST_DOWNLOAD_TOOL_RETRY_MIN_SECONDS\", 10);\n const maxSeconds = $b6359893e987d0a9$var$_getGlobal(\"TEST_DOWNLOAD_TOOL_RETRY_MAX_SECONDS\", 20);\n const retryHelper = new $339994c479086605$exports.RetryHelper(maxAttempts, minSeconds, maxSeconds);\n return yield retryHelper.execute(()=>$b6359893e987d0a9$var$__awaiter(this, void 0, void 0, function*() {\n return yield $b6359893e987d0a9$var$downloadToolAttempt(url, dest || \"\", auth, headers);\n }), (err)=>{\n if (err instanceof $b6359893e987d0a9$var$HTTPError && err.httpStatusCode) {\n // Don't retry anything less than 500, except 408 Request Timeout and 429 Too Many Requests\n if (err.httpStatusCode < 500 && err.httpStatusCode !== 408 && err.httpStatusCode !== 429) return false;\n }\n // Otherwise retry\n return true;\n });\n });\n}\n$b6359893e987d0a9$exports.downloadTool = $b6359893e987d0a9$var$downloadTool;\nfunction $b6359893e987d0a9$var$downloadToolAttempt(url, dest, auth, headers) {\n return $b6359893e987d0a9$var$__awaiter(this, void 0, void 0, function*() {\n if ($b6359893e987d0a9$var$fs.existsSync(dest)) throw new Error(`Destination file path ${dest} already exists`);\n // Get the response headers\n const http = new $b6359893e987d0a9$var$httpm.HttpClient($b6359893e987d0a9$var$userAgent, [], {\n allowRetries: false\n });\n if (auth) {\n $b6359893e987d0a9$var$core.debug(\"set auth\");\n if (headers === undefined) headers = {};\n headers.authorization = auth;\n }\n const response = yield http.get(url, headers);\n if (response.message.statusCode !== 200) {\n const err = new $b6359893e987d0a9$var$HTTPError(response.message.statusCode);\n $b6359893e987d0a9$var$core.debug(`Failed to download from \"${url}\". Code(${response.message.statusCode}) Message(${response.message.statusMessage})`);\n throw err;\n }\n // Download the response body\n const pipeline = $b6359893e987d0a9$var$util.promisify($b6359893e987d0a9$var$stream.pipeline);\n const responseMessageFactory = $b6359893e987d0a9$var$_getGlobal(\"TEST_DOWNLOAD_TOOL_RESPONSE_MESSAGE_FACTORY\", ()=>response.message);\n const readStream = responseMessageFactory();\n let succeeded = false;\n try {\n yield pipeline(readStream, $b6359893e987d0a9$var$fs.createWriteStream(dest));\n $b6359893e987d0a9$var$core.debug(\"download complete\");\n succeeded = true;\n return dest;\n } finally{\n // Error, delete dest before retry\n if (!succeeded) {\n $b6359893e987d0a9$var$core.debug(\"download failed\");\n try {\n yield $b6359893e987d0a9$var$io.rmRF(dest);\n } catch (err) {\n $b6359893e987d0a9$var$core.debug(`Failed to delete '${dest}'. ${err.message}`);\n }\n }\n }\n });\n}\n/**\n * Extract a .7z file\n *\n * @param file path to the .7z file\n * @param dest destination directory. Optional.\n * @param _7zPath path to 7zr.exe. Optional, for long path support. Most .7z archives do not have this\n * problem. If your .7z archive contains very long paths, you can pass the path to 7zr.exe which will\n * gracefully handle long paths. By default 7zdec.exe is used because it is a very small program and is\n * bundled with the tool lib. However it does not support long paths. 7zr.exe is the reduced command line\n * interface, it is smaller than the full command line interface, and it does support long paths. At the\n * time of this writing, it is freely available from the LZMA SDK that is available on the 7zip website.\n * Be sure to check the current license agreement. If 7zr.exe is bundled with your action, then the path\n * to 7zr.exe can be pass to this function.\n * @returns path to the destination directory\n */ function $b6359893e987d0a9$var$extract7z(file, dest, _7zPath) {\n return $b6359893e987d0a9$var$__awaiter(this, void 0, void 0, function*() {\n $d7DIX$assert.ok($b6359893e987d0a9$var$IS_WINDOWS, \"extract7z() not supported on current OS\");\n $d7DIX$assert.ok(file, 'parameter \"file\" is required');\n dest = yield $b6359893e987d0a9$var$_createExtractFolder(dest);\n const originalCwd = process.cwd();\n process.chdir(dest);\n if (_7zPath) try {\n const logLevel = $b6359893e987d0a9$var$core.isDebug() ? \"-bb1\" : \"-bb0\";\n const args = [\n \"x\",\n logLevel,\n \"-bd\",\n \"-sccUTF-8\",\n file\n ];\n const options = {\n silent: true\n };\n yield $jlr6Q.exec(`\"${_7zPath}\"`, args, options);\n } finally{\n process.chdir(originalCwd);\n }\n else {\n const escapedScript = $b6359893e987d0a9$var$path.join($b6359893e987d0a9$var$$parcel$__dirname, \"..\", \"scripts\", \"Invoke-7zdec.ps1\").replace(/'/g, \"''\").replace(/\"|\\n|\\r/g, \"\"); // double-up single quotes, remove double quotes and newlines\n const escapedFile = file.replace(/'/g, \"''\").replace(/\"|\\n|\\r/g, \"\");\n const escapedTarget = dest.replace(/'/g, \"''\").replace(/\"|\\n|\\r/g, \"\");\n const command = `& '${escapedScript}' -Source '${escapedFile}' -Target '${escapedTarget}'`;\n const args = [\n \"-NoLogo\",\n \"-Sta\",\n \"-NoProfile\",\n \"-NonInteractive\",\n \"-ExecutionPolicy\",\n \"Unrestricted\",\n \"-Command\",\n command\n ];\n const options = {\n silent: true\n };\n try {\n const powershellPath = yield $b6359893e987d0a9$var$io.which(\"powershell\", true);\n yield $jlr6Q.exec(`\"${powershellPath}\"`, args, options);\n } finally{\n process.chdir(originalCwd);\n }\n }\n return dest;\n });\n}\n$b6359893e987d0a9$exports.extract7z = $b6359893e987d0a9$var$extract7z;\n/**\n * Extract a compressed tar archive\n *\n * @param file path to the tar\n * @param dest destination directory. Optional.\n * @param flags flags for the tar command to use for extraction. Defaults to 'xz' (extracting gzipped tars). Optional.\n * @returns path to the destination directory\n */ function $b6359893e987d0a9$var$extractTar(file, dest, flags = \"xz\") {\n return $b6359893e987d0a9$var$__awaiter(this, void 0, void 0, function*() {\n if (!file) throw new Error(\"parameter 'file' is required\");\n // Create dest\n dest = yield $b6359893e987d0a9$var$_createExtractFolder(dest);\n // Determine whether GNU tar\n $b6359893e987d0a9$var$core.debug(\"Checking tar --version\");\n let versionOutput = \"\";\n yield $jlr6Q.exec(\"tar --version\", [], {\n ignoreReturnCode: true,\n silent: true,\n listeners: {\n stdout: (data)=>versionOutput += data.toString(),\n stderr: (data)=>versionOutput += data.toString()\n }\n });\n $b6359893e987d0a9$var$core.debug(versionOutput.trim());\n const isGnuTar = versionOutput.toUpperCase().includes(\"GNU TAR\");\n // Initialize args\n let args;\n if (flags instanceof Array) args = flags;\n else args = [\n flags\n ];\n if ($b6359893e987d0a9$var$core.isDebug() && !flags.includes(\"v\")) args.push(\"-v\");\n let destArg = dest;\n let fileArg = file;\n if ($b6359893e987d0a9$var$IS_WINDOWS && isGnuTar) {\n args.push(\"--force-local\");\n destArg = dest.replace(/\\\\/g, \"/\");\n // Technically only the dest needs to have `/` but for aesthetic consistency\n // convert slashes in the file arg too.\n fileArg = file.replace(/\\\\/g, \"/\");\n }\n if (isGnuTar) {\n // Suppress warnings when using GNU tar to extract archives created by BSD tar\n args.push(\"--warning=no-unknown-keyword\");\n args.push(\"--overwrite\");\n }\n args.push(\"-C\", destArg, \"-f\", fileArg);\n yield $jlr6Q.exec(`tar`, args);\n return dest;\n });\n}\n$b6359893e987d0a9$exports.extractTar = $b6359893e987d0a9$var$extractTar;\n/**\n * Extract a xar compatible archive\n *\n * @param file path to the archive\n * @param dest destination directory. Optional.\n * @param flags flags for the xar. Optional.\n * @returns path to the destination directory\n */ function $b6359893e987d0a9$var$extractXar(file, dest, flags = []) {\n return $b6359893e987d0a9$var$__awaiter(this, void 0, void 0, function*() {\n $d7DIX$assert.ok($b6359893e987d0a9$var$IS_MAC, \"extractXar() not supported on current OS\");\n $d7DIX$assert.ok(file, 'parameter \"file\" is required');\n dest = yield $b6359893e987d0a9$var$_createExtractFolder(dest);\n let args;\n if (flags instanceof Array) args = flags;\n else args = [\n flags\n ];\n args.push(\"-x\", \"-C\", dest, \"-f\", file);\n if ($b6359893e987d0a9$var$core.isDebug()) args.push(\"-v\");\n const xarPath = yield $b6359893e987d0a9$var$io.which(\"xar\", true);\n yield $jlr6Q.exec(`\"${xarPath}\"`, $b6359893e987d0a9$var$_unique(args));\n return dest;\n });\n}\n$b6359893e987d0a9$exports.extractXar = $b6359893e987d0a9$var$extractXar;\n/**\n * Extract a zip\n *\n * @param file path to the zip\n * @param dest destination directory. Optional.\n * @returns path to the destination directory\n */ function $b6359893e987d0a9$var$extractZip(file, dest) {\n return $b6359893e987d0a9$var$__awaiter(this, void 0, void 0, function*() {\n if (!file) throw new Error(\"parameter 'file' is required\");\n dest = yield $b6359893e987d0a9$var$_createExtractFolder(dest);\n if ($b6359893e987d0a9$var$IS_WINDOWS) yield $b6359893e987d0a9$var$extractZipWin(file, dest);\n else yield $b6359893e987d0a9$var$extractZipNix(file, dest);\n return dest;\n });\n}\n$b6359893e987d0a9$exports.extractZip = $b6359893e987d0a9$var$extractZip;\nfunction $b6359893e987d0a9$var$extractZipWin(file, dest) {\n return $b6359893e987d0a9$var$__awaiter(this, void 0, void 0, function*() {\n // build the powershell command\n const escapedFile = file.replace(/'/g, \"''\").replace(/\"|\\n|\\r/g, \"\"); // double-up single quotes, remove double quotes and newlines\n const escapedDest = dest.replace(/'/g, \"''\").replace(/\"|\\n|\\r/g, \"\");\n const pwshPath = yield $b6359893e987d0a9$var$io.which(\"pwsh\", false);\n //To match the file overwrite behavior on nix systems, we use the overwrite = true flag for ExtractToDirectory\n //and the -Force flag for Expand-Archive as a fallback\n if (pwshPath) {\n //attempt to use pwsh with ExtractToDirectory, if this fails attempt Expand-Archive\n const pwshCommand = [\n `$ErrorActionPreference = 'Stop' ;`,\n `try { Add-Type -AssemblyName System.IO.Compression.ZipFile } catch { } ;`,\n `try { [System.IO.Compression.ZipFile]::ExtractToDirectory('${escapedFile}', '${escapedDest}', $true) }`,\n `catch { if (($_.Exception.GetType().FullName -eq 'System.Management.Automation.MethodException') -or ($_.Exception.GetType().FullName -eq 'System.Management.Automation.RuntimeException') ){ Expand-Archive -LiteralPath '${escapedFile}' -DestinationPath '${escapedDest}' -Force } else { throw $_ } } ;`\n ].join(\" \");\n const args = [\n \"-NoLogo\",\n \"-NoProfile\",\n \"-NonInteractive\",\n \"-ExecutionPolicy\",\n \"Unrestricted\",\n \"-Command\",\n pwshCommand\n ];\n $b6359893e987d0a9$var$core.debug(`Using pwsh at path: ${pwshPath}`);\n yield $jlr6Q.exec(`\"${pwshPath}\"`, args);\n } else {\n const powershellCommand = [\n `$ErrorActionPreference = 'Stop' ;`,\n `try { Add-Type -AssemblyName System.IO.Compression.FileSystem } catch { } ;`,\n `if ((Get-Command -Name Expand-Archive -Module Microsoft.PowerShell.Archive -ErrorAction Ignore)) { Expand-Archive -LiteralPath '${escapedFile}' -DestinationPath '${escapedDest}' -Force }`,\n `else {[System.IO.Compression.ZipFile]::ExtractToDirectory('${escapedFile}', '${escapedDest}', $true) }`\n ].join(\" \");\n const args = [\n \"-NoLogo\",\n \"-Sta\",\n \"-NoProfile\",\n \"-NonInteractive\",\n \"-ExecutionPolicy\",\n \"Unrestricted\",\n \"-Command\",\n powershellCommand\n ];\n const powershellPath = yield $b6359893e987d0a9$var$io.which(\"powershell\", true);\n $b6359893e987d0a9$var$core.debug(`Using powershell at path: ${powershellPath}`);\n yield $jlr6Q.exec(`\"${powershellPath}\"`, args);\n }\n });\n}\nfunction $b6359893e987d0a9$var$extractZipNix(file, dest) {\n return $b6359893e987d0a9$var$__awaiter(this, void 0, void 0, function*() {\n const unzipPath = yield $b6359893e987d0a9$var$io.which(\"unzip\", true);\n const args = [\n file\n ];\n if (!$b6359893e987d0a9$var$core.isDebug()) args.unshift(\"-q\");\n args.unshift(\"-o\"); //overwrite with -o, otherwise a prompt is shown which freezes the run\n yield $jlr6Q.exec(`\"${unzipPath}\"`, args, {\n cwd: dest\n });\n });\n}\n/**\n * Caches a directory and installs it into the tool cacheDir\n *\n * @param sourceDir the directory to cache into tools\n * @param tool tool name\n * @param version version of the tool. semver format\n * @param arch architecture of the tool. Optional. Defaults to machine architecture\n */ function $b6359893e987d0a9$var$cacheDir(sourceDir, tool, version, arch) {\n return $b6359893e987d0a9$var$__awaiter(this, void 0, void 0, function*() {\n version = $b6359893e987d0a9$var$semver.clean(version) || version;\n arch = arch || $b6359893e987d0a9$var$os.arch();\n $b6359893e987d0a9$var$core.debug(`Caching tool ${tool} ${version} ${arch}`);\n $b6359893e987d0a9$var$core.debug(`source dir: ${sourceDir}`);\n if (!$b6359893e987d0a9$var$fs.statSync(sourceDir).isDirectory()) throw new Error(\"sourceDir is not a directory\");\n // Create the tool dir\n const destPath = yield $b6359893e987d0a9$var$_createToolPath(tool, version, arch);\n // copy each child item. do not move. move can fail on Windows\n // due to anti-virus software having an open handle on a file.\n for (const itemName of $b6359893e987d0a9$var$fs.readdirSync(sourceDir)){\n const s = $b6359893e987d0a9$var$path.join(sourceDir, itemName);\n yield $b6359893e987d0a9$var$io.cp(s, destPath, {\n recursive: true\n });\n }\n // write .complete\n $b6359893e987d0a9$var$_completeToolPath(tool, version, arch);\n return destPath;\n });\n}\n$b6359893e987d0a9$exports.cacheDir = $b6359893e987d0a9$var$cacheDir;\n/**\n * Caches a downloaded file (GUID) and installs it\n * into the tool cache with a given targetName\n *\n * @param sourceFile the file to cache into tools. Typically a result of downloadTool which is a guid.\n * @param targetFile the name of the file name in the tools directory\n * @param tool tool name\n * @param version version of the tool. semver format\n * @param arch architecture of the tool. Optional. Defaults to machine architecture\n */ function $b6359893e987d0a9$var$cacheFile(sourceFile, targetFile, tool, version, arch) {\n return $b6359893e987d0a9$var$__awaiter(this, void 0, void 0, function*() {\n version = $b6359893e987d0a9$var$semver.clean(version) || version;\n arch = arch || $b6359893e987d0a9$var$os.arch();\n $b6359893e987d0a9$var$core.debug(`Caching tool ${tool} ${version} ${arch}`);\n $b6359893e987d0a9$var$core.debug(`source file: ${sourceFile}`);\n if (!$b6359893e987d0a9$var$fs.statSync(sourceFile).isFile()) throw new Error(\"sourceFile is not a file\");\n // create the tool dir\n const destFolder = yield $b6359893e987d0a9$var$_createToolPath(tool, version, arch);\n // copy instead of move. move can fail on Windows due to\n // anti-virus software having an open handle on a file.\n const destPath = $b6359893e987d0a9$var$path.join(destFolder, targetFile);\n $b6359893e987d0a9$var$core.debug(`destination file ${destPath}`);\n yield $b6359893e987d0a9$var$io.cp(sourceFile, destPath);\n // write .complete\n $b6359893e987d0a9$var$_completeToolPath(tool, version, arch);\n return destFolder;\n });\n}\n$b6359893e987d0a9$exports.cacheFile = $b6359893e987d0a9$var$cacheFile;\n/**\n * Finds the path to a tool version in the local installed tool cache\n *\n * @param toolName name of the tool\n * @param versionSpec version of the tool\n * @param arch optional arch. defaults to arch of computer\n */ function $b6359893e987d0a9$var$find(toolName, versionSpec, arch) {\n if (!toolName) throw new Error(\"toolName parameter is required\");\n if (!versionSpec) throw new Error(\"versionSpec parameter is required\");\n arch = arch || $b6359893e987d0a9$var$os.arch();\n // attempt to resolve an explicit version\n if (!$b6359893e987d0a9$var$isExplicitVersion(versionSpec)) {\n const localVersions = $b6359893e987d0a9$var$findAllVersions(toolName, arch);\n const match = $b6359893e987d0a9$var$evaluateVersions(localVersions, versionSpec);\n versionSpec = match;\n }\n // check for the explicit version in the cache\n let toolPath = \"\";\n if (versionSpec) {\n versionSpec = $b6359893e987d0a9$var$semver.clean(versionSpec) || \"\";\n const cachePath = $b6359893e987d0a9$var$path.join($b6359893e987d0a9$var$_getCacheDirectory(), toolName, versionSpec, arch);\n $b6359893e987d0a9$var$core.debug(`checking cache: ${cachePath}`);\n if ($b6359893e987d0a9$var$fs.existsSync(cachePath) && $b6359893e987d0a9$var$fs.existsSync(`${cachePath}.complete`)) {\n $b6359893e987d0a9$var$core.debug(`Found tool in cache ${toolName} ${versionSpec} ${arch}`);\n toolPath = cachePath;\n } else $b6359893e987d0a9$var$core.debug(\"not found\");\n }\n return toolPath;\n}\n$b6359893e987d0a9$exports.find = $b6359893e987d0a9$var$find;\n/**\n * Finds the paths to all versions of a tool that are installed in the local tool cache\n *\n * @param toolName name of the tool\n * @param arch optional arch. defaults to arch of computer\n */ function $b6359893e987d0a9$var$findAllVersions(toolName, arch) {\n const versions = [];\n arch = arch || $b6359893e987d0a9$var$os.arch();\n const toolPath = $b6359893e987d0a9$var$path.join($b6359893e987d0a9$var$_getCacheDirectory(), toolName);\n if ($b6359893e987d0a9$var$fs.existsSync(toolPath)) {\n const children = $b6359893e987d0a9$var$fs.readdirSync(toolPath);\n for (const child of children)if ($b6359893e987d0a9$var$isExplicitVersion(child)) {\n const fullPath = $b6359893e987d0a9$var$path.join(toolPath, child, arch || \"\");\n if ($b6359893e987d0a9$var$fs.existsSync(fullPath) && $b6359893e987d0a9$var$fs.existsSync(`${fullPath}.complete`)) versions.push(child);\n }\n }\n return versions;\n}\n$b6359893e987d0a9$exports.findAllVersions = $b6359893e987d0a9$var$findAllVersions;\nfunction $b6359893e987d0a9$var$getManifestFromRepo(owner, repo, auth, branch = \"master\") {\n return $b6359893e987d0a9$var$__awaiter(this, void 0, void 0, function*() {\n let releases = [];\n const treeUrl = `https://api.github.com/repos/${owner}/${repo}/git/trees/${branch}`;\n const http = new $b6359893e987d0a9$var$httpm.HttpClient(\"tool-cache\");\n const headers = {};\n if (auth) {\n $b6359893e987d0a9$var$core.debug(\"set auth\");\n headers.authorization = auth;\n }\n const response = yield http.getJson(treeUrl, headers);\n if (!response.result) return releases;\n let manifestUrl = \"\";\n for (const item of response.result.tree)if (item.path === \"versions-manifest.json\") {\n manifestUrl = item.url;\n break;\n }\n headers[\"accept\"] = \"application/vnd.github.VERSION.raw\";\n let versionsRaw = yield (yield http.get(manifestUrl, headers)).readBody();\n if (versionsRaw) {\n // shouldn't be needed but protects against invalid json saved with BOM\n versionsRaw = versionsRaw.replace(/^\\uFEFF/, \"\");\n try {\n releases = JSON.parse(versionsRaw);\n } catch (_a) {\n $b6359893e987d0a9$var$core.debug(\"Invalid json\");\n }\n }\n return releases;\n });\n}\n$b6359893e987d0a9$exports.getManifestFromRepo = $b6359893e987d0a9$var$getManifestFromRepo;\nfunction $b6359893e987d0a9$var$findFromManifest(versionSpec, stable, manifest, archFilter = $b6359893e987d0a9$var$os.arch()) {\n return $b6359893e987d0a9$var$__awaiter(this, void 0, void 0, function*() {\n // wrap the internal impl\n const match = yield $b6359893e987d0a9$var$mm._findMatch(versionSpec, stable, manifest, archFilter);\n return match;\n });\n}\n$b6359893e987d0a9$exports.findFromManifest = $b6359893e987d0a9$var$findFromManifest;\nfunction $b6359893e987d0a9$var$_createExtractFolder(dest) {\n return $b6359893e987d0a9$var$__awaiter(this, void 0, void 0, function*() {\n if (!dest) // create a temp dir\n dest = $b6359893e987d0a9$var$path.join($b6359893e987d0a9$var$_getTempDirectory(), $b6359893e987d0a9$var$v4_1.default());\n yield $b6359893e987d0a9$var$io.mkdirP(dest);\n return dest;\n });\n}\nfunction $b6359893e987d0a9$var$_createToolPath(tool, version, arch) {\n return $b6359893e987d0a9$var$__awaiter(this, void 0, void 0, function*() {\n const folderPath = $b6359893e987d0a9$var$path.join($b6359893e987d0a9$var$_getCacheDirectory(), tool, $b6359893e987d0a9$var$semver.clean(version) || version, arch || \"\");\n $b6359893e987d0a9$var$core.debug(`destination ${folderPath}`);\n const markerPath = `${folderPath}.complete`;\n yield $b6359893e987d0a9$var$io.rmRF(folderPath);\n yield $b6359893e987d0a9$var$io.rmRF(markerPath);\n yield $b6359893e987d0a9$var$io.mkdirP(folderPath);\n return folderPath;\n });\n}\nfunction $b6359893e987d0a9$var$_completeToolPath(tool, version, arch) {\n const folderPath = $b6359893e987d0a9$var$path.join($b6359893e987d0a9$var$_getCacheDirectory(), tool, $b6359893e987d0a9$var$semver.clean(version) || version, arch || \"\");\n const markerPath = `${folderPath}.complete`;\n $b6359893e987d0a9$var$fs.writeFileSync(markerPath, \"\");\n $b6359893e987d0a9$var$core.debug(\"finished caching tool\");\n}\n/**\n * Check if version string is explicit\n *\n * @param versionSpec version string to check\n */ function $b6359893e987d0a9$var$isExplicitVersion(versionSpec) {\n const c = $b6359893e987d0a9$var$semver.clean(versionSpec) || \"\";\n $b6359893e987d0a9$var$core.debug(`isExplicit: ${c}`);\n const valid = $b6359893e987d0a9$var$semver.valid(c) != null;\n $b6359893e987d0a9$var$core.debug(`explicit? ${valid}`);\n return valid;\n}\n$b6359893e987d0a9$exports.isExplicitVersion = $b6359893e987d0a9$var$isExplicitVersion;\n/**\n * Get the highest satisfiying semantic version in `versions` which satisfies `versionSpec`\n *\n * @param versions array of versions to evaluate\n * @param versionSpec semantic version spec to satisfy\n */ function $b6359893e987d0a9$var$evaluateVersions(versions, versionSpec) {\n let version = \"\";\n $b6359893e987d0a9$var$core.debug(`evaluating ${versions.length} versions`);\n versions = versions.sort((a, b)=>{\n if ($b6359893e987d0a9$var$semver.gt(a, b)) return 1;\n return -1;\n });\n for(let i = versions.length - 1; i >= 0; i--){\n const potential = versions[i];\n const satisfied = $b6359893e987d0a9$var$semver.satisfies(potential, versionSpec);\n if (satisfied) {\n version = potential;\n break;\n }\n }\n if (version) $b6359893e987d0a9$var$core.debug(`matched: ${version}`);\n else $b6359893e987d0a9$var$core.debug(\"match not found\");\n return version;\n}\n$b6359893e987d0a9$exports.evaluateVersions = $b6359893e987d0a9$var$evaluateVersions;\n/**\n * Gets RUNNER_TOOL_CACHE\n */ function $b6359893e987d0a9$var$_getCacheDirectory() {\n const cacheDirectory = process.env[\"RUNNER_TOOL_CACHE\"] || \"\";\n $d7DIX$assert.ok(cacheDirectory, \"Expected RUNNER_TOOL_CACHE to be defined\");\n return cacheDirectory;\n}\n/**\n * Gets RUNNER_TEMP\n */ function $b6359893e987d0a9$var$_getTempDirectory() {\n const tempDirectory = process.env[\"RUNNER_TEMP\"] || \"\";\n $d7DIX$assert.ok(tempDirectory, \"Expected RUNNER_TEMP to be defined\");\n return tempDirectory;\n}\n/**\n * Gets a global variable\n */ function $b6359893e987d0a9$var$_getGlobal(key, defaultValue) {\n /* eslint-disable @typescript-eslint/no-explicit-any */ const value = $parcel$global[key];\n /* eslint-enable @typescript-eslint/no-explicit-any */ return value !== undefined ? value : defaultValue;\n}\n/**\n * Returns an array of unique values.\n * @param values Values to make unique.\n */ function $b6359893e987d0a9$var$_unique(values) {\n return Array.from(new Set(values));\n}\n\n\n\nvar $1ndHP = parcelRequire(\"1ndHP\");\n\nvar $9hSY8 = parcelRequire(\"9hSY8\");\n\n\n\nvar $ceI0e = parcelRequire(\"ceI0e\");\n\nvar $ER74K = parcelRequire(\"ER74K\");\n\n\nvar $dTX7a = parcelRequire(\"dTX7a\");\n\n\n\n\n\n\n\nvar $dOmbL = parcelRequire(\"dOmbL\");\nvar $ba82889b517d2eb4$exports = {};\n\"use strict\";\nObject.defineProperty($ba82889b517d2eb4$exports, \"__esModule\", {\n value: true\n});\n$ba82889b517d2eb4$exports.retryAsPromised = $ba82889b517d2eb4$exports.TimeoutError = void 0;\nclass $ba82889b517d2eb4$var$TimeoutError extends Error {\n constructor(message, previousError){\n super(message);\n this.name = \"TimeoutError\";\n this.previous = previousError;\n }\n}\n$ba82889b517d2eb4$exports.TimeoutError = $ba82889b517d2eb4$var$TimeoutError;\nfunction $ba82889b517d2eb4$var$matches(match, err) {\n if (typeof match === \"function\") try {\n if (err instanceof match) return true;\n } catch (_) {\n return !!match(err);\n }\n if (match === err.toString()) return true;\n if (match === err.message) return true;\n return match instanceof RegExp && (match.test(err.message) || match.test(err.toString()));\n}\nfunction $ba82889b517d2eb4$var$retryAsPromised(callback, optionsInput) {\n if (!callback || !optionsInput) throw new Error(\"retry-as-promised must be passed a callback and a options set\");\n optionsInput = typeof optionsInput === \"number\" ? {\n max: optionsInput\n } : optionsInput;\n const options = {\n $current: \"$current\" in optionsInput ? optionsInput.$current : 1,\n max: optionsInput.max,\n timeout: optionsInput.timeout || undefined,\n match: optionsInput.match ? Array.isArray(optionsInput.match) ? optionsInput.match : [\n optionsInput.match\n ] : [],\n backoffBase: optionsInput.backoffBase === undefined ? 100 : optionsInput.backoffBase,\n backoffExponent: optionsInput.backoffExponent || 1.1,\n report: optionsInput.report,\n name: optionsInput.name || callback.name || \"unknown\"\n };\n if (options.match && !Array.isArray(options.match)) options.match = [\n options.match\n ];\n if (options.report) options.report(\"Trying \" + options.name + \" #\" + options.$current + \" at \" + new Date().toLocaleTimeString(), options);\n return new Promise(function(resolve, reject) {\n let timeout;\n let backoffTimeout;\n let lastError;\n if (options.timeout) timeout = setTimeout(function() {\n if (backoffTimeout) clearTimeout(backoffTimeout);\n reject(new $ba82889b517d2eb4$var$TimeoutError(options.name + \" timed out\", lastError));\n }, options.timeout);\n Promise.resolve(callback({\n current: options.$current\n })).then(resolve).then(function() {\n if (timeout) clearTimeout(timeout);\n if (backoffTimeout) clearTimeout(backoffTimeout);\n }).catch(function(err) {\n if (timeout) clearTimeout(timeout);\n if (backoffTimeout) clearTimeout(backoffTimeout);\n lastError = err;\n if (options.report) options.report(err && err.toString() || err, options, err);\n // Should not retry if max has been reached\n var shouldRetry = options.$current < options.max;\n if (!shouldRetry) return reject(err);\n shouldRetry = options.match.length === 0 || options.match.some(function(match) {\n return $ba82889b517d2eb4$var$matches(match, err);\n });\n if (!shouldRetry) return reject(err);\n var retryDelay = options.backoffBase * Math.pow(options.backoffExponent, options.$current - 1);\n // Do some accounting\n options.$current++;\n if (options.report) options.report(`Retrying ${options.name} (${options.$current})`, options);\n if (retryDelay) {\n // Use backoff function to ease retry rate\n if (options.report) options.report(`Delaying retry of ${options.name} by ${retryDelay}`, options);\n backoffTimeout = setTimeout(function() {\n $ba82889b517d2eb4$var$retryAsPromised(callback, options).then(resolve).catch(reject);\n }, retryDelay);\n } else $ba82889b517d2eb4$var$retryAsPromised(callback, options).then(resolve).catch(reject);\n });\n });\n}\n$ba82889b517d2eb4$exports.retryAsPromised = $ba82889b517d2eb4$var$retryAsPromised;\n$ba82889b517d2eb4$exports.default = $ba82889b517d2eb4$var$retryAsPromised;\n\n\nlet $d81b351c18e56f74$var$didInit = false;\nasync function $d81b351c18e56f74$export$334f77c9844c21f6(name, version, getPackageInfo, setupDir, arch) {\n (0, $ER74K.info)(`Installing ${name} ${version} ${arch} via direct downloading`);\n process.env.RUNNER_TEMP = process.env.RUNNER_TEMP ?? (0, $d7DIX$os.tmpdir)();\n process.env.RUNNER_TOOL_CACHE = process.env.RUNNER_TOOL_CACHE ?? (0, $ceI0e.join)((0, $d7DIX$os.tmpdir)(), \"setup-cpp\", \"hostedtoolcache\");\n const { url: url, binRelativeDir: binRelativeDir, binFileName: binFileName, extractedFolderName: extractedFolderName, extractFunction: extractFunction } = await getPackageInfo(version, process.platform, arch);\n // Restore from cache (if found).\n if (0, $dTX7a.GITHUB_ACTIONS) try {\n const dir = (0, $b6359893e987d0a9$exports.find)(name, version);\n if (dir) {\n const installDir = (0, $ceI0e.join)(dir, extractedFolderName);\n const binDir = (0, $ceI0e.join)(installDir, binRelativeDir);\n if (await (0, $dOmbL.pathExists)((0, $ceI0e.join)(binDir, binFileName))) {\n (0, $ER74K.info)(`${name} ${version} was found in the cache at ${binDir}.`);\n await (0, $85fd7153285bfba5$export$4c25481b843feb0b)(binDir);\n return {\n installDir: installDir,\n binDir: binDir\n };\n }\n }\n } catch {\n // fails on a local machine?\n }\n const installDir = (0, $ceI0e.join)(setupDir, extractedFolderName);\n const binDir = (0, $ceI0e.join)(installDir, binRelativeDir);\n const binFile = (0, $ceI0e.join)(binDir, binFileName);\n // download ane extract the package into the installation directory.\n if ((await Promise.all([\n (0, $dOmbL.pathExists)(binDir),\n (0, $dOmbL.pathExists)(binFile)\n ])).includes(false)) try {\n (0, $ER74K.info)(`Download ${name} ${version}`);\n // try to download the package 4 times with 2 seconds delay\n const downloaded = await (0, (/*@__PURE__*/$parcel$interopDefault($ba82889b517d2eb4$exports)))(()=>{\n return (0, $b6359893e987d0a9$exports.downloadTool)(url);\n }, {\n name: url,\n max: 4,\n backoffBase: 2000,\n report: (err)=>(0, $ER74K.info)(err)\n });\n if (!$d81b351c18e56f74$var$didInit) {\n (0, $ER74K.info)(`Installing extraction dependencies`);\n if (process.platform === \"linux\") {\n if ((0, $84785c71f430250a$export$d415ddb6702ec3a2)()) await Promise.all([\n (0, $6f126e8fe01fa080$export$cfa75578ee2d6e6c)(\"unzip\"),\n (0, $6f126e8fe01fa080$export$cfa75578ee2d6e6c)(\"tar\"),\n (0, $6f126e8fe01fa080$export$cfa75578ee2d6e6c)(\"xz\")\n ]);\n else if ((0, $3cbfee605ac1e082$export$8ce8b4b22331a8c7)()) await (0, $7e2451edad050552$export$49d4f9ba8e0dd34f)([\n {\n name: \"unzip\"\n },\n {\n name: \"tar\"\n },\n {\n name: \"xz\"\n }\n ]);\n else if ((0, $7b55ac603b97ae6e$export$da8baf1d6c6802b6)()) await (0, $f0410b58de32386f$export$d73dc343f5abf26)([\n {\n name: \"unzip\"\n },\n {\n name: \"tar\"\n },\n {\n name: \"xz-utils\"\n }\n ]);\n }\n // eslint-disable-next-line require-atomic-updates\n $d81b351c18e56f74$var$didInit = true;\n }\n (0, $ER74K.info)(`Extracting ${downloaded} to ${setupDir}`);\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 // Adding the bin dir to the path\n /** The directory which the tool is installed to */ (0, $ER74K.info)(`Add ${binDir} to PATH`);\n await (0, $85fd7153285bfba5$export$4c25481b843feb0b)(binDir);\n // check if inside Github Actions. If so, cache the installation\n if ((0, $dTX7a.GITHUB_ACTIONS) && typeof process.env.RUNNER_TOOL_CACHE === \"string\") await (0, $b6359893e987d0a9$exports.cacheDir)(setupDir, name, version);\n return {\n installDir: installDir,\n binDir: binDir\n };\n}\n\n\n\nvar $ceI0e = parcelRequire(\"ceI0e\");\n\n\nvar $fcBgE = parcelRequire(\"fcBgE\");\n\n\n\n\n\n\n\n\n\nfunction $6285d3d29afbf608$export$5fc39629e14c8173(version, _setupDir, _arch) {\n switch(process.platform){\n case \"win32\":\n return (0, $ca3ee4fd324ae5e9$export$9f6912bc890040b2)(\"7zip\", version);\n case \"darwin\":\n return (0, $10ddbd636565d4da$export$ce5d13d8a85cb784)(\"p7zip\", version);\n case \"linux\":\n if ((0, $84785c71f430250a$export$d415ddb6702ec3a2)()) return (0, $6f126e8fe01fa080$export$cfa75578ee2d6e6c)(\"p7zip\", version);\n else if ((0, $3cbfee605ac1e082$export$8ce8b4b22331a8c7)()) return (0, $7e2451edad050552$export$49d4f9ba8e0dd34f)([\n {\n name: \"p7zip\",\n version: version\n },\n {\n name: \"p7zip-plugins\",\n version: version\n }\n ]);\n else if ((0, $7b55ac603b97ae6e$export$da8baf1d6c6802b6)()) return (0, $f0410b58de32386f$export$d73dc343f5abf26)([\n {\n name: \"p7zip-full\",\n version: version\n }\n ]);\n throw new Error(`Unsupported linux distribution`);\n default:\n throw new Error(`Unsupported platform`);\n }\n}\n\n\n\nvar $ER74K = parcelRequire(\"ER74K\");\n\n\nlet $4615baf4c3b031c2$var$sevenZip;\nasync function $4615baf4c3b031c2$export$eecfe186811d4a20(file, dest) {\n await (0, $8991d7a42fe4b480$export$db6b1668e3758717)(await $4615baf4c3b031c2$var$getSevenZip(), [\n \"x\",\n file,\n `-o${dest}`,\n \"-y\"\n ], {\n stdio: \"inherit\"\n });\n await (0, $eaac287486c3124b$export$4718e061a205eab)(dest);\n return dest;\n}\n/// install 7z if needed\nasync function $4615baf4c3b031c2$var$getSevenZip() {\n if ($4615baf4c3b031c2$var$sevenZip === undefined) {\n if ((0, (/*@__PURE__*/$parcel$interopDefault($44f23bb49826ca87$exports))).sync(\"7z\", {\n nothrow: true\n }) === null) await (0, $6285d3d29afbf608$export$5fc39629e14c8173)(\"\", \"\", process.arch);\n // eslint-disable-next-line require-atomic-updates\n $4615baf4c3b031c2$var$sevenZip = \"7z\";\n }\n return $4615baf4c3b031c2$var$sevenZip;\n}\nfunction $4615baf4c3b031c2$export$7949938b2681a4f0(file, dest) {\n return $4615baf4c3b031c2$export$eecfe186811d4a20(file, dest);\n}\nfunction $4615baf4c3b031c2$export$6411c5cbab21135b(file, dest) {\n return $4615baf4c3b031c2$export$eecfe186811d4a20(file, dest);\n}\nasync function $4615baf4c3b031c2$export$2ab07ac150064014(file, dest, flags = [\n \"--strip-components=0\"\n]) {\n try {\n await (0, $fcBgE.mkdirP)(dest);\n } catch {\n // ignore\n }\n // TODO windows fails to create symlinks\n // https://github.com/heroku/heroku-slugs/issues/3\n try {\n await (0, $8991d7a42fe4b480$export$db6b1668e3758717)(\"tar\", [\n \"xf\",\n file,\n \"-C\",\n dest,\n ...flags\n ], {\n stdio: \"inherit\"\n });\n } catch (e) {\n if (process.platform === \"win32\" && e.message.includes(\"Can't create '\\\\\\\\?\\\\C:\")) (0, $ER74K.warning)(`Failed to extract symlink ${file} to ${dest}. Ignoring this symlink.`);\n }\n (0, $eaac287486c3124b$export$4718e061a205eab)(dest);\n return dest;\n}\n\n\n/** Get the platform data for cmake */ function $cd6a37a8a2760b1d$var$getCmakePackageInfo(version, platform, arch) {\n const semVersion = (0, (/*@__PURE__*/$parcel$interopDefault($9hSY8)))(version) ?? version;\n switch(platform){\n case \"win32\":\n {\n const isOld = (0, (/*@__PURE__*/$parcel$interopDefault($1ndHP)))(semVersion, \"v3.19.6\");\n let osArchStr;\n if ([\n \"ia32\",\n \"x86\",\n \"i386\",\n \"x32\"\n ].includes(arch)) osArchStr = isOld ? \"win32-x86\" : \"windows-i386\";\n else osArchStr = isOld ? \"win64-x64\" : \"windows-x86_64\";\n const folderName = `cmake-${version}-${osArchStr}`;\n return {\n binRelativeDir: \"bin/\",\n binFileName: (0, $ceI0e.addExeExt)(\"cmake\"),\n extractedFolderName: folderName,\n extractFunction: (0, $4615baf4c3b031c2$export$6411c5cbab21135b),\n url: `https://github.com/Kitware/CMake/releases/download/v${version}/${folderName}.zip`\n };\n }\n case \"darwin\":\n {\n const isOld = (0, (/*@__PURE__*/$parcel$interopDefault($1ndHP)))(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: (0, $ceI0e.addExeExt)(\"cmake\"),\n extractedFolderName: folderName,\n extractFunction: (0, $b6359893e987d0a9$exports.extractTar),\n url: `https://github.com/Kitware/CMake/releases/download/v${version}/${folderName}.tar.gz`\n };\n }\n case \"linux\":\n {\n const isOld = (0, (/*@__PURE__*/$parcel$interopDefault($1ndHP)))(semVersion, \"v3.19.8\");\n let osArchStr;\n if ([\n \"aarch64\"\n ].includes(arch)) osArchStr = isOld ? \"Linux-aarch64\" : \"linux-aarch64\";\n else osArchStr = isOld ? \"Linux-x86_64\" : \"linux-x86_64\";\n const folderName = `cmake-${version}-${osArchStr}`;\n return {\n binRelativeDir: \"bin/\",\n binFileName: (0, $ceI0e.addExeExt)(\"cmake\"),\n extractedFolderName: folderName,\n extractFunction: (0, $b6359893e987d0a9$exports.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}\nfunction $cd6a37a8a2760b1d$export$c28663a621f418ce(version, setupDir, arch) {\n return (0, $d81b351c18e56f74$export$334f77c9844c21f6)(\"cmake\", version, $cd6a37a8a2760b1d$var$getCmakePackageInfo, setupDir, arch);\n}\n\n\n\nvar $lcRzN = parcelRequire(\"lcRzN\");\n\n\nvar $dOmbL = parcelRequire(\"dOmbL\");\n\nvar $ceI0e = parcelRequire(\"ceI0e\");\n\n/* eslint-disable require-atomic-updates */ \nvar $jlr6Q = parcelRequire(\"jlr6Q\");\n\n\nvar $dTX7a = parcelRequire(\"dTX7a\");\n\nvar $ER74K = parcelRequire(\"ER74K\");\n\n/**\n * @constant DEFAULT_OPTIONS_KEYS the default options keys\n */ var $f854d4009763317c$var$DEFAULT_OPTIONS_KEYS = {\n isEqual: true,\n isMatchingKey: true,\n isPromise: true,\n maxSize: true,\n onCacheAdd: true,\n onCacheChange: true,\n onCacheHit: true,\n transformKey: true\n};\n/**\n * @function slice\n *\n * @description\n * slice.call() pre-bound\n */ var $f854d4009763317c$var$slice = Array.prototype.slice;\n/**\n * @function cloneArray\n *\n * @description\n * clone the array-like object and return the new array\n *\n * @param arrayLike the array-like object to clone\n * @returns the clone as an array\n */ function $f854d4009763317c$var$cloneArray(arrayLike) {\n var length = arrayLike.length;\n if (!length) return [];\n if (length === 1) return [\n arrayLike[0]\n ];\n if (length === 2) return [\n arrayLike[0],\n arrayLike[1]\n ];\n if (length === 3) return [\n arrayLike[0],\n arrayLike[1],\n arrayLike[2]\n ];\n return $f854d4009763317c$var$slice.call(arrayLike, 0);\n}\n/**\n * @function getCustomOptions\n *\n * @description\n * get the custom options on the object passed\n *\n * @param options the memoization options passed\n * @returns the custom options passed\n */ function $f854d4009763317c$var$getCustomOptions(options) {\n var customOptions = {};\n /* eslint-disable no-restricted-syntax */ for(var key in options)if (!$f854d4009763317c$var$DEFAULT_OPTIONS_KEYS[key]) customOptions[key] = options[key];\n /* eslint-enable */ return customOptions;\n}\n/**\n * @function isMemoized\n *\n * @description\n * is the function passed already memoized\n *\n * @param fn the function to test\n * @returns is the function already memoized\n */ function $f854d4009763317c$var$isMemoized(fn) {\n return typeof fn === \"function\" && fn.isMemoized;\n}\n/**\n * @function isSameValueZero\n *\n * @description\n * are the objects equal based on SameValueZero equality\n *\n * @param object1 the first object to compare\n * @param object2 the second object to compare\n * @returns are the two objects equal\n */ function $f854d4009763317c$var$isSameValueZero(object1, object2) {\n // eslint-disable-next-line no-self-compare\n return object1 === object2 || object1 !== object1 && object2 !== object2;\n}\n/**\n * @function mergeOptions\n *\n * @description\n * merge the options into the target\n *\n * @param existingOptions the options provided\n * @param newOptions the options to include\n * @returns the merged options\n */ function $f854d4009763317c$var$mergeOptions(existingOptions, newOptions) {\n var target = {};\n /* eslint-disable no-restricted-syntax */ for(var key in existingOptions)target[key] = existingOptions[key];\n for(var key in newOptions)target[key] = newOptions[key];\n /* eslint-enable */ return target;\n}\n// utils\nvar $f854d4009763317c$var$Cache = /** @class */ function() {\n function Cache(options) {\n this.keys = [];\n this.values = [];\n this.options = options;\n var isMatchingKeyFunction = typeof options.isMatchingKey === \"function\";\n if (isMatchingKeyFunction) this.getKeyIndex = this._getKeyIndexFromMatchingKey;\n else if (options.maxSize > 1) this.getKeyIndex = this._getKeyIndexForMany;\n else this.getKeyIndex = this._getKeyIndexForSingle;\n this.canTransformKey = typeof options.transformKey === \"function\";\n this.shouldCloneArguments = this.canTransformKey || isMatchingKeyFunction;\n this.shouldUpdateOnAdd = typeof options.onCacheAdd === \"function\";\n this.shouldUpdateOnChange = typeof options.onCacheChange === \"function\";\n this.shouldUpdateOnHit = typeof options.onCacheHit === \"function\";\n }\n Object.defineProperty(Cache.prototype, \"size\", {\n /**\n * The number of cached [key,value] results.\n */ get: function() {\n return this.keys.length;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(Cache.prototype, \"snapshot\", {\n /**\n * A copy of the cache at a moment in time. This is useful\n * to compare changes over time, since the cache mutates\n * internally for performance reasons.\n */ get: function() {\n return {\n keys: $f854d4009763317c$var$cloneArray(this.keys),\n size: this.size,\n values: $f854d4009763317c$var$cloneArray(this.values)\n };\n },\n enumerable: false,\n configurable: true\n });\n /**\n * Gets the matching key index when a custom key matcher is used.\n */ Cache.prototype._getKeyIndexFromMatchingKey = function(keyToMatch) {\n var _a = this.options, isMatchingKey = _a.isMatchingKey, maxSize = _a.maxSize;\n var keys = this.keys;\n var keysLength = keys.length;\n if (!keysLength) return -1;\n if (isMatchingKey(keys[0], keyToMatch)) return 0;\n if (maxSize > 1) for(var index = 1; index < keysLength; index++){\n if (isMatchingKey(keys[index], keyToMatch)) return index;\n }\n return -1;\n };\n /**\n * Gets the matching key index when multiple keys are used.\n */ Cache.prototype._getKeyIndexForMany = function(keyToMatch) {\n var isEqual = this.options.isEqual;\n var keys = this.keys;\n var keysLength = keys.length;\n if (!keysLength) return -1;\n if (keysLength === 1) return this._getKeyIndexForSingle(keyToMatch);\n var keyLength = keyToMatch.length;\n var existingKey;\n var argIndex;\n if (keyLength > 1) for(var index = 0; index < keysLength; index++){\n existingKey = keys[index];\n if (existingKey.length === keyLength) {\n argIndex = 0;\n for(; argIndex < keyLength; argIndex++){\n if (!isEqual(existingKey[argIndex], keyToMatch[argIndex])) break;\n }\n if (argIndex === keyLength) return index;\n }\n }\n else for(var index = 0; index < keysLength; index++){\n existingKey = keys[index];\n if (existingKey.length === keyLength && isEqual(existingKey[0], keyToMatch[0])) return index;\n }\n return -1;\n };\n /**\n * Gets the matching key index when a single key is used.\n */ Cache.prototype._getKeyIndexForSingle = function(keyToMatch) {\n var keys = this.keys;\n if (!keys.length) return -1;\n var existingKey = keys[0];\n var length = existingKey.length;\n if (keyToMatch.length !== length) return -1;\n var isEqual = this.options.isEqual;\n if (length > 1) {\n for(var index = 0; index < length; index++){\n if (!isEqual(existingKey[index], keyToMatch[index])) return -1;\n }\n return 0;\n }\n return isEqual(existingKey[0], keyToMatch[0]) ? 0 : -1;\n };\n /**\n * Order the array based on a Least-Recently-Used basis.\n */ Cache.prototype.orderByLru = function(key, value, startingIndex) {\n var keys = this.keys;\n var values = this.values;\n var currentLength = keys.length;\n var index = startingIndex;\n while(index--){\n keys[index + 1] = keys[index];\n values[index + 1] = values[index];\n }\n keys[0] = key;\n values[0] = value;\n var maxSize = this.options.maxSize;\n if (currentLength === maxSize && startingIndex === currentLength) {\n keys.pop();\n values.pop();\n } else if (startingIndex >= maxSize) // eslint-disable-next-line no-multi-assign\n keys.length = values.length = maxSize;\n };\n /**\n * Update the promise method to auto-remove from cache if rejected, and\n * if resolved then fire cache hit / changed.\n */ Cache.prototype.updateAsyncCache = function(memoized) {\n var _this = this;\n var _a = this.options, onCacheChange = _a.onCacheChange, onCacheHit = _a.onCacheHit;\n var firstKey = this.keys[0];\n var firstValue = this.values[0];\n this.values[0] = firstValue.then(function(value) {\n if (_this.shouldUpdateOnHit) onCacheHit(_this, _this.options, memoized);\n if (_this.shouldUpdateOnChange) onCacheChange(_this, _this.options, memoized);\n return value;\n }, function(error) {\n var keyIndex = _this.getKeyIndex(firstKey);\n if (keyIndex !== -1) {\n _this.keys.splice(keyIndex, 1);\n _this.values.splice(keyIndex, 1);\n }\n throw error;\n });\n };\n return Cache;\n}();\nfunction $f854d4009763317c$export$2e2bcd8739ae039(fn, options) {\n if (options === void 0) options = {};\n if ($f854d4009763317c$var$isMemoized(fn)) return $f854d4009763317c$export$2e2bcd8739ae039(fn.fn, $f854d4009763317c$var$mergeOptions(fn.options, options));\n if (typeof fn !== \"function\") throw new TypeError(\"You must pass a function to `memoize`.\");\n var _a = options.isEqual, isEqual = _a === void 0 ? $f854d4009763317c$var$isSameValueZero : _a, isMatchingKey = options.isMatchingKey, _b = options.isPromise, isPromise = _b === void 0 ? false : _b, _c = options.maxSize, maxSize = _c === void 0 ? 1 : _c, onCacheAdd = options.onCacheAdd, onCacheChange = options.onCacheChange, onCacheHit = options.onCacheHit, transformKey = options.transformKey;\n var normalizedOptions = $f854d4009763317c$var$mergeOptions({\n isEqual: isEqual,\n isMatchingKey: isMatchingKey,\n isPromise: isPromise,\n maxSize: maxSize,\n onCacheAdd: onCacheAdd,\n onCacheChange: onCacheChange,\n onCacheHit: onCacheHit,\n transformKey: transformKey\n }, $f854d4009763317c$var$getCustomOptions(options));\n var cache = new $f854d4009763317c$var$Cache(normalizedOptions);\n var keys = cache.keys, values = cache.values, canTransformKey = cache.canTransformKey, shouldCloneArguments = cache.shouldCloneArguments, shouldUpdateOnAdd = cache.shouldUpdateOnAdd, shouldUpdateOnChange = cache.shouldUpdateOnChange, shouldUpdateOnHit = cache.shouldUpdateOnHit;\n var memoized = function() {\n var key = shouldCloneArguments ? $f854d4009763317c$var$cloneArray(arguments) : arguments;\n if (canTransformKey) key = transformKey(key);\n var keyIndex = keys.length ? cache.getKeyIndex(key) : -1;\n if (keyIndex !== -1) {\n if (shouldUpdateOnHit) onCacheHit(cache, normalizedOptions, memoized);\n if (keyIndex) {\n cache.orderByLru(keys[keyIndex], values[keyIndex], keyIndex);\n if (shouldUpdateOnChange) onCacheChange(cache, normalizedOptions, memoized);\n }\n } else {\n var newValue = fn.apply(this, arguments);\n var newKey = shouldCloneArguments ? key : $f854d4009763317c$var$cloneArray(arguments);\n cache.orderByLru(newKey, newValue, keys.length);\n if (isPromise) cache.updateAsyncCache(memoized);\n if (shouldUpdateOnAdd) onCacheAdd(cache, normalizedOptions, memoized);\n if (shouldUpdateOnChange) onCacheChange(cache, normalizedOptions, memoized);\n }\n return values[0];\n };\n memoized.cache = cache;\n memoized.fn = fn;\n memoized.isMemoized = true;\n memoized.options = normalizedOptions;\n return memoized;\n}\n\n\n\nvar $ceI0e = parcelRequire(\"ceI0e\");\n\n\n\n\n\n\n\n\n\n\n// src/modules/https-utils.ts\n\n\nfunction $4292e7ca85c2347c$var$isStatusOK(result) {\n return result.statusCode !== void 0 && result.statusCode >= 200 && result.statusCode <= 399;\n}\nfunction $4292e7ca85c2347c$var$requestWorks(url, method) {\n return new Promise((resolve)=>{\n try {\n const req = (0, $d7DIX$https.request)(url, {\n method: method\n }, (result)=>{\n resolve($4292e7ca85c2347c$var$isStatusOK(result));\n });\n req.on(\"error\", (_error)=>{\n resolve(false);\n });\n req.end();\n } catch {\n resolve(false);\n }\n });\n}\nvar $4292e7ca85c2347c$export$8092cb61b2731942 = (url)=>{\n if (typeof url !== \"string\") return false;\n const trimmedUrl = url.trim();\n if (trimmedUrl.includes(\" \")) return false;\n try {\n new (0, $d7DIX$url.URL)(trimmedUrl);\n return true;\n } catch {\n return false;\n }\n};\n// src/modules/isUrlOnline.ts\nvar $4292e7ca85c2347c$export$61e6a71eee2b02f9 = async (url)=>{\n const isUrl = $4292e7ca85c2347c$export$8092cb61b2731942(url);\n if (!isUrl) return false;\n let response = await $4292e7ca85c2347c$var$requestWorks(url, \"HEAD\");\n if (response) return true;\n response = await $4292e7ca85c2347c$var$requestWorks(url, \"GET\");\n return !!response;\n};\n// src/modules/prependHttp.ts\nvar $4292e7ca85c2347c$export$b9a79b9e9f921305 = ({ url: url, https: https = true })=>{\n const trimmedUrl = url.trim();\n if (/^\\.*\\/|^(?!localhost)\\w+:/u.test(trimmedUrl)) return url;\n return trimmedUrl.replace(/^(?!(?:\\w+:)?\\/\\/)/u, https ? \"https://\" : \"http://\");\n};\n\n\n\nvar $3Z6CK = parcelRequire(\"3Z6CK\");\n\nvar $9hSY8 = parcelRequire(\"9hSY8\");\n\nvar $eJTZB = parcelRequire(\"eJTZB\");\n\nvar $jlr6Q = parcelRequire(\"jlr6Q\");\n\nvar $ER74K = parcelRequire(\"ER74K\");\nfunction $5683decf99cdafe6$export$deb1064c8260c54c(versions, semversion) {\n return Array.from(versions).filter((v)=>/^\\d+\\.\\d+\\.\\d+$/.test(v) && v.startsWith(semversion)).sort((a, b)=>{\n try {\n return (0, (/*@__PURE__*/$parcel$interopDefault($3Z6CK)))(a, b);\n } catch (err) {\n return a.localeCompare(b);\n }\n }).reverse();\n}\nfunction $5683decf99cdafe6$export$cbd9528a83fbffa1(specific) {\n const versions = new Set(specific);\n for (const version of specific){\n versions.add(/^\\d+/.exec(version)[0]);\n versions.add(/^\\d+\\.\\d+/.exec(version)[0]);\n }\n return versions;\n}\nasync function $5683decf99cdafe6$export$4e4d3581f69a6d71(versions, platform, version, getUrl) {\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 (0, $4292e7ca85c2347c$export$61e6a71eee2b02f9)(url)) return [\n version,\n url\n ];\n }\n // if the given set doesn't include the version, throw an error\n if (!versions.has(version)) throw new Error(`Unsupported target! (platform='${platform}', version='${version}'). Try one of the following: ${JSON.stringify(versions)}`);\n const offlineUrls = [];\n // TODO use Promise.any\n for (const specificVersion of $5683decf99cdafe6$export$deb1064c8260c54c(versions, version)){\n // eslint-disable-next-line no-await-in-loop\n const url = await getUrl(platform, specificVersion);\n if (url !== null) {\n // eslint-disable-next-line no-await-in-loop\n if (await (0, $4292e7ca85c2347c$export$61e6a71eee2b02f9)(url)) return [\n specificVersion,\n url\n ];\n else offlineUrls.push(url);\n }\n }\n throw new Error(`Unsupported target! (platform='${platform}', version='${version}'). Try one of the following: ${JSON.stringify(versions)}`);\n}\nconst $5683decf99cdafe6$export$d7ab5e2d33b06cd5 = /v?(\\d\\S*)/;\nasync function $5683decf99cdafe6$export$5b54ecc7386538f(file, versionRegex = $5683decf99cdafe6$export$d7ab5e2d33b06cd5) {\n try {\n const execout = await (0, $jlr6Q.getExecOutput)(file, [\n \"--version\"\n ]);\n const version_output = execout.stdout || execout.stderr || \"\";\n const version = version_output.trim().match(versionRegex)?.[1];\n return (0, (/*@__PURE__*/$parcel$interopDefault($9hSY8)))(version) ?? undefined;\n } catch (e) {\n console.error(e);\n return undefined;\n }\n}\nasync function $5683decf99cdafe6$export$d1f0d32b896ba08(givenFile, targetVersion, versionRegex = $5683decf99cdafe6$export$d7ab5e2d33b06cd5) {\n const givenVersion = await $5683decf99cdafe6$export$5b54ecc7386538f(givenFile, versionRegex);\n if (givenVersion !== undefined && targetVersion !== \"\") return (0, (/*@__PURE__*/$parcel$interopDefault($3Z6CK)))(givenVersion, targetVersion) !== -1;\n else // assume given version is old\n return false;\n}\nfunction $5683decf99cdafe6$export$afd7401db249098f(version) {\n if ((0, (/*@__PURE__*/$parcel$interopDefault($eJTZB)))(version) === null) // version coercion\n try {\n // find the semver version of an integer\n const coercedVersion = (0, (/*@__PURE__*/$parcel$interopDefault($9hSY8)))(version);\n if (coercedVersion !== null) {\n (0, $ER74K.info)(`Coerced version '${version}' to '${coercedVersion}'`);\n return coercedVersion.version;\n }\n } catch (err) {\n // handled below\n }\n return version;\n}\nfunction $5683decf99cdafe6$export$b19007c0050a2fcc(version) {\n return parseInt(version.replace(/^v/, \"\"), 10);\n}\nfunction $5683decf99cdafe6$export$6863a97504984656(version) {\n if (!version.match(/^v/)) return `v${version}`;\n return version;\n}\n\n\nfunction $eac35b7c3e82d235$export$7a5d5c156e7dc406(dirs) {\n return [\n ...new Set(dirs)\n ];\n}\n\n\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).\nfunction $0965eaed961dcb55$var$getLLVMDefault() {\n switch(process.platform){\n case \"win32\":\n return \"17.0.4\";\n case \"linux\":\n // used for non-ubuntu (Fedora, Arch)\n return \"17.0.5-ubuntu-22.04\";\n case \"darwin\":\n return \"15.0.3\";\n default:\n return \"17.0.5\";\n }\n}\nconst $0965eaed961dcb55$export$5fb1985a02d8f66f = {\n llvm: $0965eaed961dcb55$var$getLLVMDefault(),\n clangtidy: $0965eaed961dcb55$var$getLLVMDefault(),\n clangformat: $0965eaed961dcb55$var$getLLVMDefault(),\n ninja: \"1.11.1\",\n cmake: \"3.27.4\",\n gcovr: \"6.0\",\n conan: \"1.62.0\",\n meson: \"1.2.3\",\n kcov: \"42\",\n task: \"3.31.0\",\n doxygen: (0, $84785c71f430250a$export$d415ddb6702ec3a2)() ? \"1.9.8-1\" : \"1.9.8\",\n gcc: (0, $84785c71f430250a$export$d415ddb6702ec3a2)() ? \"13.2.1-3\" : \"13\"\n};\nconst $0965eaed961dcb55$export$b0fc8ac572b39938 = {\n pip: \"22.2.0\",\n python: \"3.7.9\"\n};\nconst $0965eaed961dcb55$export$1bb63c984aa6e760 = {\n gcc: {\n 22: \"13\",\n 20: \"11\",\n 18: \"11\",\n 16: \"11\",\n 14: \"11\"\n },\n mingw: {\n 22: \"8.0.0-1\",\n 20: \"7.0.0-2\"\n },\n llvm: {\n 22: \"17.0.5-ubuntu-22.04\",\n 20: \"17.0.5-ubuntu-22.04\",\n 18: \"15.0.6-ubuntu-18.04\",\n 16: \"15.0.6-ubuntu-18.04\",\n 14: \"13.0.0-ubuntu-16.04\"\n },\n clangtidy: {\n 22: \"17.0.2-ubuntu-22.04\",\n 20: \"17.0.2-ubuntu-22.04\",\n 18: \"15.0.6-ubuntu-18.04\",\n 16: \"15.0.6-ubuntu-18.04\",\n 14: \"13.0.0-ubuntu-16.04\"\n },\n clangformat: {\n 22: \"17.0.2-ubuntu-22.04\",\n 20: \"17.0.2-ubuntu-22.04\",\n 18: \"15.0.6-ubuntu-18.04\",\n 16: \"15.0.6-ubuntu-18.04\",\n 14: \"13.0.0-ubuntu-16.04\"\n },\n gcovr: {\n 22: \"6.0\",\n 20: \"6.0\",\n 18: \"5.0\"\n },\n meson: {\n 20: \"1.0.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: \"42-binary\",\n 20: \"40-binary\",\n 18: \"40\",\n 16: \"40\",\n 14: \"40\"\n }\n};\n\n\n\nvar $dOmbL = parcelRequire(\"dOmbL\");\n\nasync function $ae5265b0f840d575$export$2b0b68e9df3d4a02(version, setupDir, arch) {\n const installInfo = await $ae5265b0f840d575$var$findOrSetupPython(version, setupDir, arch);\n (0, ($parcel$interopDefault($d7DIX$assert)))(installInfo.bin !== undefined);\n const foundPython = installInfo.bin;\n // setup pip\n const foundPip = await $ae5265b0f840d575$var$findOrSetupPip(foundPython);\n if (foundPip === undefined) throw new Error(\"pip was not installed correctly\");\n await $ae5265b0f840d575$var$setupPipx(foundPython);\n await $ae5265b0f840d575$var$setupWheel(foundPython);\n return installInfo;\n}\nasync function $ae5265b0f840d575$var$setupPipx(foundPython) {\n try {\n if (!await (0, $cfebcec0830c9a7b$export$ffe24b8e86dbc863)(foundPython)) await (0, $cfebcec0830c9a7b$export$7c60aea099ad1c1d)(foundPython, \"pipx\", undefined, {\n upgrade: true,\n usePipx: false\n });\n await (0, $8991d7a42fe4b480$export$db6b1668e3758717)(foundPython, [\n \"-m\",\n \"pipx\",\n \"ensurepath\"\n ], {\n stdio: \"inherit\"\n });\n await (0, $cfebcec0830c9a7b$export$7c60aea099ad1c1d)(foundPython, \"venv\", undefined, {\n upgrade: false,\n usePipx: false\n });\n } catch (err) {\n (0, $ER74K.warning)(`Failed to install pipx: ${err.toString()}. Ignoring...`);\n }\n}\n/** Setup wheel and setuptools */ async function $ae5265b0f840d575$var$setupWheel(foundPython) {\n try {\n await (0, $cfebcec0830c9a7b$export$7c60aea099ad1c1d)(foundPython, \"setuptools\", undefined, {\n upgrade: true,\n isLibrary: true,\n usePipx: false\n });\n await (0, $cfebcec0830c9a7b$export$7c60aea099ad1c1d)(foundPython, \"wheel\", undefined, {\n upgrade: true,\n isLibrary: true,\n usePipx: false\n });\n } catch (err) {\n (0, $ER74K.warning)(`Failed to install setuptools or wheel: ${err.toString()}. Ignoring...`);\n }\n}\n\nasync function $ae5265b0f840d575$var$findOrSetupPython(version, setupDir, arch) {\n let installInfo;\n let foundPython = await $ae5265b0f840d575$var$findPython(setupDir);\n if (foundPython !== undefined) {\n const binDir = (0, $ceI0e.dirname)(foundPython);\n installInfo = {\n bin: foundPython,\n installDir: binDir,\n binDir: binDir\n };\n } else {\n // if python is not found, try to install it\n if (0, $dTX7a.GITHUB_ACTIONS) // install python in GitHub Actions\n try {\n (0, $ER74K.info)(\"Installing python in GitHub Actions\");\n const { setupActionsPython: setupActionsPython } = await (parcelRequire(\"5fF9z\"));\n await setupActionsPython(version, setupDir, arch);\n foundPython = await $ae5265b0f840d575$var$findPython(setupDir);\n const binDir = (0, $ceI0e.dirname)(foundPython);\n installInfo = {\n bin: foundPython,\n installDir: binDir,\n binDir: binDir\n };\n } catch (err) {\n (0, $ER74K.warning)(err.toString());\n }\n if (installInfo === undefined) // install python via system package manager\n installInfo = await $ae5265b0f840d575$var$setupPythonSystem(setupDir, version);\n }\n if (foundPython === undefined || installInfo.bin === undefined) {\n foundPython = await $ae5265b0f840d575$var$findPython(setupDir);\n installInfo.bin = foundPython;\n }\n return installInfo;\n}\nasync function $ae5265b0f840d575$var$setupPythonSystem(setupDir, version) {\n let installInfo;\n switch(process.platform){\n case \"win32\":\n {\n if (setupDir) await (0, $ca3ee4fd324ae5e9$export$9f6912bc890040b2)(\"python3\", version, [\n `--params=/InstallDir:${setupDir}`\n ]);\n else await (0, $ca3ee4fd324ae5e9$export$9f6912bc890040b2)(\"python3\", version);\n // Adding the bin dir to the path\n const bin = await $ae5265b0f840d575$var$findPython(setupDir);\n const binDir = (0, $ceI0e.dirname)(bin);\n /** The directory which the tool is installed to */ await (0, $85fd7153285bfba5$export$4c25481b843feb0b)(binDir);\n installInfo = {\n installDir: binDir,\n binDir: binDir,\n bin: bin\n };\n break;\n }\n case \"darwin\":\n {\n installInfo = await (0, $10ddbd636565d4da$export$ce5d13d8a85cb784)(\"python3\", version);\n // add the python and pip binaries to the path\n const brewPythonPrefix = await (0, $8991d7a42fe4b480$export$db6b1668e3758717)(\"brew\", [\n \"--prefix\",\n \"python\"\n ], {\n stdio: \"pipe\"\n });\n const brewPythonBin = (0, $ceI0e.join)(brewPythonPrefix.stdout, \"libexec\", \"bin\");\n await (0, $85fd7153285bfba5$export$4c25481b843feb0b)(brewPythonBin);\n break;\n }\n case \"linux\":\n if ((0, $84785c71f430250a$export$d415ddb6702ec3a2)()) installInfo = await (0, $6f126e8fe01fa080$export$cfa75578ee2d6e6c)(\"python\", version);\n else if ((0, $3cbfee605ac1e082$export$8ce8b4b22331a8c7)()) installInfo = await (0, $7e2451edad050552$export$49d4f9ba8e0dd34f)([\n {\n name: \"python3\",\n version: version\n }\n ]);\n else if ((0, $7b55ac603b97ae6e$export$da8baf1d6c6802b6)()) installInfo = await (0, $f0410b58de32386f$export$d73dc343f5abf26)([\n {\n name: \"python3\",\n version: version\n },\n {\n name: \"python-is-python3\"\n }\n ]);\n else throw new Error(\"Unsupported linux distributions\");\n break;\n default:\n throw new Error(\"Unsupported platform\");\n }\n return installInfo;\n}\nasync function $ae5265b0f840d575$var$findPython(binDir) {\n for (const pythonBin of [\n \"python3\",\n \"python\"\n ]){\n // eslint-disable-next-line no-await-in-loop\n const foundPython = await $ae5265b0f840d575$var$isPythonUpToDate(pythonBin, binDir);\n if (foundPython !== undefined) return foundPython;\n }\n return undefined;\n}\nasync function $ae5265b0f840d575$var$isPythonUpToDate(candidate, binDir) {\n try {\n if (binDir !== undefined) {\n const pythonBinPath = (0, $ceI0e.join)(binDir, (0, $ceI0e.addExeExt)(candidate));\n if (await (0, $dOmbL.pathExists)(pythonBinPath)) {\n if (await (0, $5683decf99cdafe6$export$d1f0d32b896ba08)(pythonBinPath, (0, $0965eaed961dcb55$export$b0fc8ac572b39938).python)) return pythonBinPath;\n }\n }\n const pythonBinPaths = await (0, (/*@__PURE__*/$parcel$interopDefault($44f23bb49826ca87$exports)))(candidate, {\n nothrow: true,\n all: true\n }) ?? [];\n for (const pythonBinPath of pythonBinPaths){\n // eslint-disable-next-line no-await-in-loop\n if (await (0, $5683decf99cdafe6$export$d1f0d32b896ba08)(pythonBinPath, (0, $0965eaed961dcb55$export$b0fc8ac572b39938).python)) return pythonBinPath;\n }\n } catch {\n // fall through\n }\n return undefined;\n}\nasync function $ae5265b0f840d575$var$findOrSetupPip(foundPython) {\n const maybePip = await $ae5265b0f840d575$var$findPip();\n if (maybePip === undefined) {\n // install pip if not installed\n (0, $ER74K.info)(\"pip was not found. Installing pip\");\n await $ae5265b0f840d575$var$setupPip(foundPython);\n return $ae5265b0f840d575$var$findPip() // recurse to check if pip is on PATH and up-to-date\n ;\n }\n return maybePip;\n}\nasync function $ae5265b0f840d575$var$findPip() {\n for (const pipCandidate of [\n \"pip3\",\n \"pip\"\n ]){\n // eslint-disable-next-line no-await-in-loop\n const maybePip = await $ae5265b0f840d575$var$isPipUptoDate(pipCandidate);\n if (maybePip !== undefined) return maybePip;\n }\n return undefined;\n}\nasync function $ae5265b0f840d575$var$isPipUptoDate(pip) {\n try {\n const pipPaths = await (0, (/*@__PURE__*/$parcel$interopDefault($44f23bb49826ca87$exports)))(pip, {\n nothrow: true,\n all: true\n }) ?? [];\n for (const pipPath of pipPaths){\n // eslint-disable-next-line no-await-in-loop\n if (pipPath !== null && await (0, $5683decf99cdafe6$export$d1f0d32b896ba08)(pipPath, (0, $0965eaed961dcb55$export$b0fc8ac572b39938).pip)) return pipPath;\n }\n } catch {\n // fall through\n }\n return undefined;\n}\nasync function $ae5265b0f840d575$var$setupPip(foundPython) {\n const upgraded = await $ae5265b0f840d575$var$ensurePipUpgrade(foundPython);\n if (!upgraded) {\n // ensure that pip is installed on Linux (happens when python is found but pip not installed)\n await (0, $cfebcec0830c9a7b$export$6de3fef38027e326)(\"pip\");\n // upgrade pip\n await $ae5265b0f840d575$var$ensurePipUpgrade(foundPython);\n }\n}\nasync function $ae5265b0f840d575$var$ensurePipUpgrade(foundPython) {\n try {\n await (0, $8991d7a42fe4b480$export$db6b1668e3758717)(foundPython, [\n \"-m\",\n \"ensurepip\",\n \"-U\",\n \"--upgrade\"\n ], {\n stdio: \"inherit\"\n });\n return true;\n } catch (err1) {\n (0, $ER74K.info)(err1?.toString?.());\n try {\n // ensure pip is disabled on Ubuntu\n await (0, $8991d7a42fe4b480$export$db6b1668e3758717)(foundPython, [\n \"-m\",\n \"pip\",\n \"install\",\n \"--upgrade\",\n \"pip\"\n ], {\n stdio: \"inherit\"\n });\n return true;\n } catch (err2) {\n (0, $ER74K.info)(err2?.toString?.());\n // pip module not found\n }\n }\n // all methods failed\n return false;\n}\nasync function $ae5265b0f840d575$var$addPythonBaseExecPrefix_raw(python) {\n const dirs = [];\n // detection based on the platform\n if (process.platform === \"linux\") dirs.push(\"/home/runner/.local/bin/\");\n else if (process.platform === \"darwin\") dirs.push(\"/usr/local/bin/\");\n // detection using python.sys\n const base_exec_prefix = (await (0, $jlr6Q.getExecOutput)(`${python} -c \"import sys;print(sys.base_exec_prefix);\"`)).stdout.trim();\n // any of these are possible depending on the operating system!\n dirs.push((0, $ceI0e.join)(base_exec_prefix, \"Scripts\"), (0, $ceI0e.join)(base_exec_prefix, \"Scripts\", \"bin\"), (0, $ceI0e.join)(base_exec_prefix, \"bin\"));\n // remove duplicates\n return (0, $eac35b7c3e82d235$export$7a5d5c156e7dc406)(dirs);\n}\nconst $ae5265b0f840d575$export$4bf645347c3b7001 = (0, $f854d4009763317c$export$2e2bcd8739ae039)($ae5265b0f840d575$var$addPythonBaseExecPrefix_raw, {\n isPromise: true\n});\n\n\n\n\nfunction $cb3b5dc5a4eadeb1$export$c506eb22e615ba4a(name, version, osVersion = null) {\n if ($cb3b5dc5a4eadeb1$var$isVersionDefault(version) && process.platform === \"linux\" && osVersion !== null && name in (0, $0965eaed961dcb55$export$1bb63c984aa6e760)) return $cb3b5dc5a4eadeb1$var$getDefaultLinuxVersion(osVersion, (0, $0965eaed961dcb55$export$1bb63c984aa6e760)[name]);\n else if ($cb3b5dc5a4eadeb1$var$isVersionDefault(version) && name in (0, $0965eaed961dcb55$export$5fb1985a02d8f66f)) return (0, $0965eaed961dcb55$export$5fb1985a02d8f66f)[name];\n else if (version === \"true\") return \"\";\n return version ?? \"\";\n}\nfunction $cb3b5dc5a4eadeb1$var$isVersionDefault(version) {\n return version === \"true\" || version === undefined;\n}\n/// choose the default linux version based on ubuntu version\nfunction $cb3b5dc5a4eadeb1$var$getDefaultLinuxVersion(osVersion, toolLinuxVersions) {\n const osVersionMaj = osVersion[0];\n // find which version block the os version is in\n const satisfyingVersion = Object.keys(toolLinuxVersions).map((v)=>parseInt(v, 10)).sort((a, b)=>b - a) // sort in descending order\n .find((v)=>osVersionMaj >= v);\n return satisfyingVersion === undefined ? \"\" : toolLinuxVersions[satisfyingVersion];\n}\nfunction $cb3b5dc5a4eadeb1$export$dd13a1e418f5a5fe(opts, tools) {\n const toolsInUse = tools.filter((tool)=>opts[tool] !== undefined);\n const toolsNonDefaultVersion = toolsInUse.filter((tool)=>!$cb3b5dc5a4eadeb1$var$isVersionDefault(opts[tool]));\n const targetVersion = toolsNonDefaultVersion.length >= 1 ? opts[toolsNonDefaultVersion[0]] : \"true\";\n if (toolsNonDefaultVersion.some((tool)=>opts[tool] !== targetVersion)) // error if any explicit versions don't match the target version\n return false;\n toolsInUse.forEach((tool)=>{\n opts[tool] = targetVersion;\n });\n return true;\n}\n\n\n\nvar $ER74K = parcelRequire(\"ER74K\");\nvar $41d8846c4231ef5c$exports = {};\n\"use strict\";\nObject.defineProperty($41d8846c4231ef5c$exports, \"__esModule\", {\n value: true\n});\n$41d8846c4231ef5c$exports.getUbuntuVersion = void 0;\n\nfunction $41d8846c4231ef5c$var$isSystemError(e) {\n return \"errno\" in e;\n}\nfunction $41d8846c4231ef5c$var$command(exe, args) {\n return new Promise((resolve, reject)=>{\n $d7DIX$child_process.execFile(exe, args, {\n encoding: \"utf8\",\n shell: false\n }, (error, stdout, stderr)=>{\n if (error) {\n if ($41d8846c4231ef5c$var$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 $41d8846c4231ef5c$var$getUbuntuVersion() {\n if (process.platform !== \"linux\") return [];\n const stdout = await $41d8846c4231ef5c$var$command(\"lsb_release\", [\n \"-a\"\n ]);\n if (stdout === null) return [];\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\") return [];\n distributorFound = true;\n }\n const desc = line.match(reDescription);\n if (desc) description = desc;\n const rel = line.match(reRelease);\n if (rel) release = rel;\n if (distributorFound && description && release) break;\n }\n if (!distributorFound) return [];\n for (const m of [\n description,\n release\n ])if (m) {\n const ss = [\n m[1],\n m[2]\n ];\n if (m[3]) ss.push(m[3]);\n return ss.map((s)=>parseInt(s, 10));\n }\n return [];\n}\n$41d8846c4231ef5c$exports.getUbuntuVersion = $41d8846c4231ef5c$var$getUbuntuVersion; //# sourceMappingURL=index.js.map\n\n\n\n\n\n\n\nasync function $d6a4ad0ff65d0a5e$var$ubuntuVersion_raw() {\n try {\n if ((0, $7b55ac603b97ae6e$export$da8baf1d6c6802b6)()) {\n try {\n if ((0, (/*@__PURE__*/$parcel$interopDefault($44f23bb49826ca87$exports))).sync(\"lsb_release\", {\n nothrow: true\n }) === null) await (0, $f0410b58de32386f$export$d73dc343f5abf26)([\n {\n name: \"lsb-release\"\n }\n ]);\n } catch {\n return $d6a4ad0ff65d0a5e$var$detectUsingOsVersion();\n }\n const versionSplitted = await (0, $41d8846c4231ef5c$exports.getUbuntuVersion)();\n if (versionSplitted.length === 0) return $d6a4ad0ff65d0a5e$var$detectUsingOsVersion();\n return versionSplitted;\n } else return null;\n } catch (err) {\n (0, $ER74K.warning)(err.toString());\n return null;\n }\n}\nconst $d6a4ad0ff65d0a5e$export$49c9cf1111dfa0ee = (0, $f854d4009763317c$export$2e2bcd8739ae039)($d6a4ad0ff65d0a5e$var$ubuntuVersion_raw, {\n isPromise: true\n});\n/** Detect Ubuntu version using os.version() for Ubuntu based distros */ function $d6a4ad0ff65d0a5e$var$detectUsingOsVersion() {\n // #46~22.04.1-Ubuntu SMP ...\n const osVersion = (0, ($parcel$interopDefault($d7DIX$os))).version();\n const versionSplitted = osVersion.split(\".\");\n const majorVersion = parseInt(versionSplitted[0].replace(\"#\", \"\"), 10);\n const minorVersion = parseInt(versionSplitted[1].replace(\"~\", \"\"), 10);\n const patchVersion = parseInt(versionSplitted[2].split(\"-\")[0], 10);\n return [\n majorVersion,\n minorVersion,\n patchVersion\n ];\n}\n\n\n\n\n\n\n\n\n\nasync function $cfebcec0830c9a7b$export$4020cb77ffa3ffac(name, version, options = {}) {\n return $cfebcec0830c9a7b$export$7c60aea099ad1c1d(await $cfebcec0830c9a7b$var$getPython(), name, version, options);\n}\nasync function $cfebcec0830c9a7b$export$7c60aea099ad1c1d(givenPython, name, version, options = {}) {\n const { usePipx: usePipx = true, user: user = true, upgrade: upgrade = false, isLibrary: isLibrary = false } = options;\n const isPipx = usePipx && !isLibrary && await $cfebcec0830c9a7b$export$ffe24b8e86dbc863(givenPython);\n const pip = isPipx ? \"pipx\" : \"pip\";\n const hasPackage = await $cfebcec0830c9a7b$var$pipHasPackage(givenPython, name);\n if (hasPackage) try {\n (0, $lcRzN.info)(`Installing ${name} ${version ?? \"\"} via ${pip}`);\n const nameAndVersion = version !== undefined && version !== \"\" ? `${name}==${version}` : name;\n const upgradeFlag = upgrade ? isPipx ? [\n \"upgrade\"\n ] : [\n \"install\",\n \"--upgrade\"\n ] : [\n \"install\"\n ];\n const userFlag = !isPipx && user ? [\n \"--user\"\n ] : [];\n (0, $8991d7a42fe4b480$export$28823a701bb5a12d)(givenPython, [\n \"-m\",\n pip,\n ...upgradeFlag,\n ...userFlag,\n nameAndVersion\n ], {\n stdio: \"inherit\"\n });\n } catch (err) {\n (0, $lcRzN.info)(`Failed to install ${name} via ${pip}: ${err}.`);\n if (await $cfebcec0830c9a7b$export$6de3fef38027e326(name) === null) throw new Error(`Failed to install ${name} via ${pip}: ${err}.`);\n }\n else {\n if (await $cfebcec0830c9a7b$export$6de3fef38027e326(name) === null) throw new Error(`Failed to install ${name} as it was not found via ${pip} or the system package manager`);\n }\n const execPaths = await (0, $ae5265b0f840d575$export$4bf645347c3b7001)(givenPython);\n const binDir = await $cfebcec0830c9a7b$var$findBinDir(execPaths, name);\n await (0, $85fd7153285bfba5$export$4c25481b843feb0b)(binDir);\n return {\n binDir: binDir\n };\n}\nasync function $cfebcec0830c9a7b$export$ffe24b8e86dbc863(givenPython) {\n return (await (0, $8991d7a42fe4b480$export$db6b1668e3758717)(givenPython, [\n \"-m\",\n \"pipx\",\n \"--help\"\n ], {\n stdio: \"ignore\",\n reject: false\n })).exitCode === 0;\n}\nasync function $cfebcec0830c9a7b$var$getPython_raw() {\n const pythonBin = (await (0, $ae5265b0f840d575$export$2b0b68e9df3d4a02)((0, $cb3b5dc5a4eadeb1$export$c506eb22e615ba4a)(\"python\", undefined, await (0, $d6a4ad0ff65d0a5e$export$49c9cf1111dfa0ee)()), \"\", process.arch)).bin;\n if (pythonBin === undefined) throw new Error(\"Python binary was not found\");\n return pythonBin;\n}\nconst $cfebcec0830c9a7b$var$getPython = (0, $f854d4009763317c$export$2e2bcd8739ae039)($cfebcec0830c9a7b$var$getPython_raw, {\n isPromise: true\n});\nasync function $cfebcec0830c9a7b$var$pipHasPackage(python, name) {\n const result = await (0, $8991d7a42fe4b480$export$db6b1668e3758717)(python, [\n \"-m\",\n \"pip\",\n \"-qq\",\n \"index\",\n \"versions\",\n name\n ], {\n stdio: \"ignore\",\n reject: false\n });\n return result.exitCode === 0;\n}\nasync function $cfebcec0830c9a7b$var$findBinDir(dirs, name) {\n const exists = await Promise.all(dirs.map((dir)=>(0, $dOmbL.pathExists)((0, $ceI0e.join)(dir, (0, $ceI0e.addExeExt)(name)))));\n const dirIndex = exists.findIndex((exist)=>exist);\n if (dirIndex !== -1) {\n const foundDir = dirs[dirIndex];\n return foundDir;\n }\n const whichDir = (0, (/*@__PURE__*/$parcel$interopDefault($44f23bb49826ca87$exports))).sync((0, $ceI0e.addExeExt)(name), {\n nothrow: true\n });\n if (whichDir !== null) return (0, $ceI0e.dirname)(whichDir);\n return dirs[dirs.length - 1];\n}\nfunction $cfebcec0830c9a7b$export$6de3fef38027e326(name) {\n if (process.platform === \"linux\") {\n (0, $lcRzN.info)(`Installing ${name} via the system package manager`);\n if ((0, $84785c71f430250a$export$d415ddb6702ec3a2)()) return (0, $6f126e8fe01fa080$export$cfa75578ee2d6e6c)(`python-${name}`);\n else if ((0, $3cbfee605ac1e082$export$8ce8b4b22331a8c7)()) return (0, $7e2451edad050552$export$49d4f9ba8e0dd34f)([\n {\n name: `python3-${name}`\n }\n ]);\n else if ((0, $7b55ac603b97ae6e$export$da8baf1d6c6802b6)()) return (0, $f0410b58de32386f$export$d73dc343f5abf26)([\n {\n name: `python3-${name}`\n }\n ]);\n }\n return null;\n}\n\n\nfunction $928be18130bb437a$export$249d0c7d779d362f(version, _setupDir, _arch) {\n return (0, $cfebcec0830c9a7b$export$4020cb77ffa3ffac)(\"conan\", version);\n}\n\n\n\n\n\n\n\n\n\n\n\nasync function $6f659008f4a1ac73$export$13d77464c548b5d3(version, _setupDir, _arch) {\n switch(process.platform){\n case \"win32\":\n {\n await (0, $ca3ee4fd324ae5e9$export$9f6912bc890040b2)(\"cppcheck\", version);\n const binDir = await $6f659008f4a1ac73$var$activateWinCppcheck();\n return {\n binDir: binDir\n };\n }\n case \"darwin\":\n return (0, $10ddbd636565d4da$export$ce5d13d8a85cb784)(\"cppcheck\", version);\n case \"linux\":\n if ((0, $84785c71f430250a$export$d415ddb6702ec3a2)()) return (0, $6f126e8fe01fa080$export$cfa75578ee2d6e6c)(\"cppcheck\", version);\n else if ((0, $3cbfee605ac1e082$export$8ce8b4b22331a8c7)()) return (0, $7e2451edad050552$export$49d4f9ba8e0dd34f)([\n {\n name: \"ccache\",\n version: version\n }\n ]);\n else if ((0, $7b55ac603b97ae6e$export$da8baf1d6c6802b6)()) return (0, $f0410b58de32386f$export$d73dc343f5abf26)([\n {\n name: \"cppcheck\",\n version: version\n }\n ]);\n throw new Error(`Unsupported linux distribution`);\n default:\n throw new Error(`Unsupported platform`);\n }\n}\nasync function $6f659008f4a1ac73$var$activateWinCppcheck() {\n const binDir = \"C:/Program Files/Cppcheck\";\n await (0, $85fd7153285bfba5$export$4c25481b843feb0b)(binDir);\n return binDir;\n}\n\n\n\n\n\n\n\n\n\nvar $ceI0e = parcelRequire(\"ceI0e\");\n\n\nvar $ER74K = parcelRequire(\"ER74K\");\n\n\n\n\n\n\n\n\n\nasync function $9f6a19f1eee9e3b6$export$b885bd977caaafb9(version, _setupDir, _arch) {\n switch(process.platform){\n case \"win32\":\n await (0, $ca3ee4fd324ae5e9$export$9f6912bc890040b2)(\"graphviz\", version);\n return $9f6a19f1eee9e3b6$var$activateGraphviz();\n case \"darwin\":\n return (0, $10ddbd636565d4da$export$ce5d13d8a85cb784)(\"graphviz\", version);\n case \"linux\":\n if ((0, $84785c71f430250a$export$d415ddb6702ec3a2)()) return (0, $6f126e8fe01fa080$export$cfa75578ee2d6e6c)(\"graphviz\", version);\n else if ((0, $3cbfee605ac1e082$export$8ce8b4b22331a8c7)()) return (0, $7e2451edad050552$export$49d4f9ba8e0dd34f)([\n {\n name: \"graphviz\",\n version: version\n }\n ]);\n else if ((0, $7b55ac603b97ae6e$export$da8baf1d6c6802b6)()) return (0, $f0410b58de32386f$export$d73dc343f5abf26)([\n {\n name: \"graphviz\",\n version: version\n }\n ]);\n throw new Error(`Unsupported linux distribution`);\n default:\n throw new Error(`Unsupported platform`);\n }\n}\nasync function $9f6a19f1eee9e3b6$var$activateGraphviz() {\n switch(process.platform){\n case \"win32\":\n {\n const binDir = \"C:/Program Files/Graphviz/bin\";\n await (0, $85fd7153285bfba5$export$4c25481b843feb0b)(binDir);\n return {\n binDir: binDir\n };\n }\n default:\n throw new Error(`Unsupported platform`);\n }\n}\n\n\n\n\n\n\n\n\nvar $dOmbL = parcelRequire(\"dOmbL\");\n\n\n/** Get the platform data for cmake */ // eslint-disable-next-line @typescript-eslint/no-unused-vars\nfunction $4b1f70d03c91cebd$var$getDoxygenPackageInfo(version, platform, _arch) {\n switch(platform){\n case \"linux\":\n {\n const folderName = `doxygen-${version}`;\n return {\n binRelativeDir: \"bin/\",\n binFileName: (0, $ceI0e.addExeExt)(\"doxygen\"),\n extractedFolderName: folderName,\n extractFunction: (0, $b6359893e987d0a9$exports.extractTar),\n url: `https://www.doxygen.nl/files/${folderName}.linux.bin.tar.gz`\n };\n }\n case \"win32\":\n {\n const folderName = `doxygen-${version}`;\n return {\n binRelativeDir: \"\",\n binFileName: (0, $ceI0e.addExeExt)(\"doxygen\"),\n extractedFolderName: folderName,\n extractFunction: (0, $4615baf4c3b031c2$export$6411c5cbab21135b),\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}\nasync function $4b1f70d03c91cebd$export$b6e6613a954051ee(version, setupDir, arch) {\n switch(process.platform){\n case \"win32\":\n {\n // try to download the package 4 times with 2 seconds delay\n await (0, (/*@__PURE__*/$parcel$interopDefault($ba82889b517d2eb4$exports)))(()=>{\n return (0, $ca3ee4fd324ae5e9$export$9f6912bc890040b2)(\"doxygen.install\", version);\n }, {\n name: \"doxygen.install\",\n max: 4,\n backoffBase: 2000,\n report: (err)=>(0, $ER74K.info)(err)\n });\n const binDir = await $4b1f70d03c91cebd$var$activateWinDoxygen();\n const installationInfo = {\n binDir: binDir\n };\n await (0, $9f6a19f1eee9e3b6$export$b885bd977caaafb9)((0, $cb3b5dc5a4eadeb1$export$c506eb22e615ba4a)(\"graphviz\", undefined), \"\", arch);\n return installationInfo;\n }\n case \"darwin\":\n {\n const installationInfo = await (0, $10ddbd636565d4da$export$ce5d13d8a85cb784)(\"doxygen\", undefined);\n await (0, $9f6a19f1eee9e3b6$export$b885bd977caaafb9)((0, $cb3b5dc5a4eadeb1$export$c506eb22e615ba4a)(\"graphviz\", undefined), \"\", arch);\n return installationInfo;\n }\n case \"linux\":\n {\n let installationInfo;\n if (version === \"\" || (0, $84785c71f430250a$export$d415ddb6702ec3a2)() || (0, $3cbfee605ac1e082$export$8ce8b4b22331a8c7)()) {\n if ((0, $84785c71f430250a$export$d415ddb6702ec3a2)()) installationInfo = await (0, $6f126e8fe01fa080$export$cfa75578ee2d6e6c)(\"doxygen\", version);\n else if ((0, $3cbfee605ac1e082$export$8ce8b4b22331a8c7)()) return (0, $7e2451edad050552$export$49d4f9ba8e0dd34f)([\n {\n name: \"doxygen\",\n version: version\n }\n ]);\n else if ((0, $7b55ac603b97ae6e$export$da8baf1d6c6802b6)()) installationInfo = await (0, $f0410b58de32386f$export$d73dc343f5abf26)([\n {\n name: \"doxygen\",\n version: version\n }\n ]);\n else throw new Error(`Unsupported linux distributions`);\n } else if ((0, $7b55ac603b97ae6e$export$da8baf1d6c6802b6)()) try {\n // doxygen on stable Ubuntu repositories is very old. So, we use get the binary from the website itself\n installationInfo = await (0, $d81b351c18e56f74$export$334f77c9844c21f6)(\"doxygen\", version, $4b1f70d03c91cebd$var$getDoxygenPackageInfo, setupDir, arch);\n await (0, $f0410b58de32386f$export$d73dc343f5abf26)([\n {\n name: \"libclang-cpp9\"\n }\n ]);\n } catch (err) {\n (0, $ER74K.notice)(`Failed to download doxygen binary. ${err}. Falling back to apt-get.`);\n installationInfo = await (0, $f0410b58de32386f$export$d73dc343f5abf26)([\n {\n name: \"doxygen\"\n }\n ]);\n }\n else throw new Error(`Unsupported linux distributions`);\n await (0, $9f6a19f1eee9e3b6$export$b885bd977caaafb9)((0, $cb3b5dc5a4eadeb1$export$c506eb22e615ba4a)(\"graphviz\", undefined, await (0, $d6a4ad0ff65d0a5e$export$49c9cf1111dfa0ee)()), \"\", arch);\n return installationInfo;\n }\n default:\n throw new Error(`Unsupported platform`);\n }\n}\nasync function $4b1f70d03c91cebd$var$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 ])// eslint-disable-next-line no-await-in-loop\n if (await (0, $dOmbL.pathExists)((0, $ceI0e.join)(binDir, \"doxygen.exe\"))) {\n // eslint-disable-next-line no-await-in-loop\n await (0, $85fd7153285bfba5$export$4c25481b843feb0b)(binDir);\n return binDir;\n }\n throw new Error(\"Failed to find doxygen binary\");\n default:\n throw new Error(`Unsupported platform`);\n }\n}\n\n\n\n\n\n\n\n\nvar $bX9Em = parcelRequire(\"bX9Em\");\n\nvar $9hSY8 = parcelRequire(\"9hSY8\");\n\nvar $jlr6Q = parcelRequire(\"jlr6Q\");\n\n\nvar $ER74K = parcelRequire(\"ER74K\");\nasync function $1ebfc945e4f5b17a$export$28f5fd35e3005b7a() {\n if (process.platform === \"darwin\") try {\n const xcrun = await (0, $jlr6Q.getExecOutput)(\"xcrun --sdk macosx --show-sdk-path\");\n const sdkroot = xcrun.stdout || xcrun.stderr;\n if (sdkroot) await (0, $85fd7153285bfba5$export$f63d3080ce25e0fd)(\"SDKROOT\", sdkroot.trim());\n else (0, $ER74K.error)(`SDKROOT not set`);\n } catch (e) {\n (0, $ER74K.error)(e);\n }\n}\n\n\n\nvar $ceI0e = parcelRequire(\"ceI0e\");\n\nvar $ER74K = parcelRequire(\"ER74K\");\n\nvar $dTX7a = parcelRequire(\"dTX7a\");\n\n\n\n\n\n\n\nvar $dOmbL = parcelRequire(\"dOmbL\");\n\nvar $bd769018416dc7f2$var$$parcel$__dirname = $d7DIX$path.resolve(__dirname, \"../../src/gcc\");\n// https://github.com/brechtsanders/winlibs_mingw/releases\nconst $bd769018416dc7f2$var$GccToMingwInfo = {\n \"13\": {\n releaseName: \"13.2.0-16.0.6-11.0.0-ucrt-r1\",\n fileSuffix: \"13.2.0-mingw-w64ucrt-11.0.0-r1\"\n },\n \"13.2-ucrt\": {\n releaseName: \"13.2.0-16.0.6-11.0.0-ucrt-r1\",\n fileSuffix: \"13.2.0-mingw-w64ucrt-11.0.0-r1\"\n },\n \"13.2-ucrt-mcf\": {\n releaseName: \"13.2.0mcf-16.0.6-11.0.1-ucrt-r2\",\n fileSuffix: \"13.2.0-mingw-w64ucrt-11.0.1-r2\"\n },\n \"13.2-msvcrt\": {\n releaseName: \"13.2.0-16.0.6-11.0.1-msvcrt-r1\",\n fileSuffix: \"13.2.0-mingw-w64msvcrt-11.0.1-r1\"\n },\n \"13.1-ucrt\": {\n releaseName: \"13.1.0posix-16.0.3-11.0.0-ucrt-r1\",\n fileSuffix: \"13.1.0-mingw-w64ucrt-11.0.0-r1\"\n },\n \"13.1-msvcrt\": {\n releaseName: \"13.1.0posix-16.0.3-11.0.0-msvcrt-r1\",\n fileSuffix: \"13.1.0-mingw-w64msvcrt-11.0.0-r1\"\n },\n \"12\": {\n releaseName: \"12.3.0-16.0.4-11.0.0-ucrt-r1\",\n fileSuffix: \"12.3.0-mingw-w64ucrt-11.0.0-r1\"\n },\n \"12.3.0-ucrt\": {\n releaseName: \"12.3.0-16.0.4-11.0.0-ucrt-r1\",\n fileSuffix: \"12.3.0-mingw-w64ucrt-11.0.0-r1\"\n },\n \"12.3.0-msvcrt\": {\n releaseName: \"12.3.0-16.0.4-11.0.0-msvcrt-r1\",\n fileSuffix: \"12.3.0-mingw-w64msvcrt-11.0.0-r1\"\n },\n \"12.2.0-ucrt\": {\n releaseName: \"12.2.0-14.0.6-10.0.0-ucrt-r2\",\n fileSuffix: \"12.2.0-mingw-w64ucrt-10.0.0-r2\"\n },\n \"12.2.0-msvcrt\": {\n releaseName: \"12.2.0-14.0.6-10.0.0-msvcrt-r2\",\n fileSuffix: \"12.2.0-mingw-w64msvcrt-10.0.0-r2\"\n },\n \"12.1.0-ucrt\": {\n releaseName: \"12.1.0-14.0.4-10.0.0-ucrt-r2\",\n fileSuffix: \"12.1.0-mingw-w64ucrt-10.0.0-r2\"\n },\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\": {\n releaseName: \"11.3.0-14.0.3-10.0.0-ucrt-r3\",\n fileSuffix: \"11.3.0-mingw-w64ucrt-10.0.0-r3\"\n },\n \"11.3.0-ucrt\": {\n releaseName: \"11.3.0-14.0.3-10.0.0-ucrt-r3\",\n fileSuffix: \"11.3.0-mingw-w64ucrt-10.0.0-r3\"\n },\n \"11.3.0-msvcrt\": {\n releaseName: \"11.3.0-14.0.3-10.0.0-msvcrt-r3\",\n fileSuffix: \"11.3.0-mingw-w64msvcrt-10.0.0-r3\"\n },\n \"11.2.0-ucrt\": {\n releaseName: \"11.2.0-9.0.0-ucrt-r5\",\n fileSuffix: \"11.2.0-mingw-w64ucrt-9.0.0-r5\"\n },\n \"11.2.0-msvcrt\": {\n releaseName: \"11.2.0-9.0.0-msvcrt-r5\",\n fileSuffix: \"11.2.0-mingw-w64msvcrt-9.0.0-r5\"\n },\n \"10\": {\n releaseName: \"10.5.0-11.0.1-msvcrt-r1\",\n fileSuffix: \"10.5.0-mingw-w64msvcrt-11.0.1-r1\"\n },\n \"10.5.0-msvcrt\": {\n releaseName: \"10.5.0-11.0.1-msvcrt-r1\",\n fileSuffix: \"10.5.0-mingw-w64msvcrt-11.0.1-r1\"\n },\n \"10.3.0\": {\n releaseName: \"10.3.0-12.0.0-9.0.0-r2\",\n fileSuffix: \"10.3.0-llvm-12.0.0-mingw-w64-9.0.0-r2\"\n },\n \"10.2.0\": {\n releaseName: \"10.2.0-7.0.0-r4\",\n fileSuffix: \"10.2.0-llvm-10.0.1-mingw-w64-7.0.0-r4\"\n },\n \"9\": {\n releaseName: \"9.4.0-9.0.0-r1\",\n fileSuffix: \"9.4.0-mingw-w64-9.0.0-r1\"\n },\n \"9.4.0\": {\n releaseName: \"9.4.0-9.0.0-r1\",\n fileSuffix: \"9.4.0-mingw-w64-9.0.0-r1\"\n }\n};\nfunction $bd769018416dc7f2$var$getGccPackageInfo(version, platform, arch) {\n switch(platform){\n case \"win32\":\n {\n const mingwInfo = $bd769018416dc7f2$var$GccToMingwInfo[version];\n if (mingwInfo === undefined) throw new Error(`mingw version ${version} is not supported`);\n const mingwArch = arch === \"ia32\" ? \"i686\" : \"x86_64\";\n const exceptionModel = \"seh\" // SEH is native windows exception model https://github.com/brechtsanders/winlibs_mingw/issues/4#issuecomment-599296483\n ;\n return {\n binRelativeDir: \"bin/\",\n binFileName: (0, $ceI0e.addExeExt)(\"g++\"),\n extractedFolderName: \"mingw64\",\n extractFunction: (0, $4615baf4c3b031c2$export$eecfe186811d4a20),\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}\nasync function $bd769018416dc7f2$export$405fab3de79b77b(version, setupDir, arch) {\n let installationInfo;\n switch(process.platform){\n case \"win32\":\n if (arch === \"arm\" || arch === \"arm64\") await (0, $ca3ee4fd324ae5e9$export$9f6912bc890040b2)(\"gcc-arm-embedded\", version);\n try {\n installationInfo = await (0, $d81b351c18e56f74$export$334f77c9844c21f6)(\"g++\", version, $bd769018416dc7f2$var$getGccPackageInfo, setupDir, arch);\n } catch (err) {\n (0, $ER74K.info)(`Failed to download g++ binary. ${err}. Falling back to chocolatey.`);\n installationInfo = await $bd769018416dc7f2$var$setupChocoMingw(version, arch);\n }\n break;\n case \"darwin\":\n installationInfo = await (0, $10ddbd636565d4da$export$ce5d13d8a85cb784)(\"gcc\", version);\n break;\n case \"linux\":\n if (arch === \"x64\") {\n if ((0, $84785c71f430250a$export$d415ddb6702ec3a2)()) installationInfo = await (0, $6f126e8fe01fa080$export$cfa75578ee2d6e6c)(\"gcc\", version);\n else if ((0, $3cbfee605ac1e082$export$8ce8b4b22331a8c7)()) installationInfo = await (0, $7e2451edad050552$export$49d4f9ba8e0dd34f)([\n {\n name: \"gcc\",\n version: version\n },\n {\n name: \"gcc-c++\",\n version: version\n },\n {\n name: \"libstdc++-devel\"\n }\n ]);\n else if ((0, $7b55ac603b97ae6e$export$da8baf1d6c6802b6)()) installationInfo = await (0, $f0410b58de32386f$export$d73dc343f5abf26)([\n {\n name: \"gcc\",\n version: version,\n repositories: [\n \"ppa:ubuntu-toolchain-r/test\"\n ]\n },\n {\n name: \"g++\",\n version: version,\n repositories: [\n \"ppa:ubuntu-toolchain-r/test\"\n ]\n }\n ]);\n } else {\n (0, $ER74K.info)(`Install g++-multilib because gcc for ${arch} was requested`);\n if ((0, $84785c71f430250a$export$d415ddb6702ec3a2)()) await (0, $6f126e8fe01fa080$export$cfa75578ee2d6e6c)(\"gcc-multilib\", version);\n else if ((0, $7b55ac603b97ae6e$export$da8baf1d6c6802b6)()) await (0, $f0410b58de32386f$export$d73dc343f5abf26)([\n {\n name: \"gcc-multilib\",\n version: version,\n repositories: [\n \"ppa:ubuntu-toolchain-r/test\"\n ]\n }\n ]);\n }\n break;\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 if (installationInfo !== undefined) {\n await $bd769018416dc7f2$var$activateGcc(version, installationInfo.binDir);\n return installationInfo;\n }\n return undefined;\n}\nasync function $bd769018416dc7f2$export$f115c01d224b9e9a(version, setupDir, arch) {\n let installationInfo;\n switch(process.platform){\n case \"win32\":\n case \"darwin\":\n return $bd769018416dc7f2$export$405fab3de79b77b(version, setupDir, arch);\n case \"linux\":\n if ((0, $84785c71f430250a$export$d415ddb6702ec3a2)()) installationInfo = await (0, $6f126e8fe01fa080$export$cfa75578ee2d6e6c)(\"mingw-w64-gcc\", version);\n else if ((0, $3cbfee605ac1e082$export$8ce8b4b22331a8c7)()) installationInfo = await (0, $7e2451edad050552$export$49d4f9ba8e0dd34f)([\n {\n name: \"mingw64-gcc\",\n version: version\n }\n ]);\n else if ((0, $7b55ac603b97ae6e$export$da8baf1d6c6802b6)()) installationInfo = await (0, $f0410b58de32386f$export$d73dc343f5abf26)([\n {\n name: \"mingw-w64\",\n version: version,\n repositories: [\n \"ppa:ubuntu-toolchain-r/test\"\n ]\n }\n ]);\n break;\n default:\n throw new Error(`Unsupported platform for ${arch}`);\n }\n if (installationInfo !== undefined) // TODO: setup alternatives and update CC/CXX env. ?\n //Setting up g++-mingw-w64-i686-win32 (10.3.0-14ubuntu1+24.3) ...\n // update-alternatives: using /usr/bin/i686-w64-mingw32-g++-win32 to provide /usr/bin/i686-w64-mingw32-g++ (i686-w64-mingw32-g++) in auto mode\n //Setting up g++-mingw-w64-x86-64-win32 (10.3.0-14ubuntu1+24.3) ...\n // update-alternatives: using /usr/bin/x86_64-w64-mingw32-g++-win32 to provide /usr/bin/x86_64-w64-mingw32-g++ (x86_64-w64-mingw32-g++) in auto mode\n //await activateGcc(version, installationInfo.binDir)\n return installationInfo;\n return undefined;\n}\nasync function $bd769018416dc7f2$var$setupChocoMingw(version, arch) {\n await (0, $ca3ee4fd324ae5e9$export$9f6912bc890040b2)(\"mingw\", version);\n let binDir;\n if (arch === \"x64\" && await (0, $dOmbL.pathExists)(\"C:/tools/mingw64/bin\")) {\n binDir = \"C:/tools/mingw64/bin\";\n await (0, $85fd7153285bfba5$export$4c25481b843feb0b)(binDir);\n } else if (arch === \"ia32\" && await (0, $dOmbL.pathExists)(\"C:/tools/mingw32/bin\")) {\n binDir = \"C:/tools/mingw32/bin\";\n await (0, $85fd7153285bfba5$export$4c25481b843feb0b)(binDir);\n } else if (await (0, $dOmbL.pathExists)(`${process.env.ChocolateyInstall ?? \"C:/ProgramData/chocolatey\"}/bin/g++.exe`)) binDir = `${process.env.ChocolateyInstall ?? \"C:/ProgramData/chocolatey\"}/bin`;\n if (binDir !== undefined) return {\n binDir: binDir\n };\n return undefined;\n}\nasync function $bd769018416dc7f2$var$activateGcc(version, binDir) {\n const promises = [];\n // Setup gcc as the compiler\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 if (process.platform === \"win32\") promises.push((0, $85fd7153285bfba5$export$f63d3080ce25e0fd)(\"CC\", (0, $ceI0e.addExeExt)(`${binDir}/gcc`)), (0, $85fd7153285bfba5$export$f63d3080ce25e0fd)(\"CXX\", (0, $ceI0e.addExeExt)(`${binDir}/g++`)));\n else {\n const majorVersion = (0, (/*@__PURE__*/$parcel$interopDefault($bX9Em)))((0, (/*@__PURE__*/$parcel$interopDefault($9hSY8)))(version) ?? version);\n if (majorVersion >= 5) {\n promises.push((0, $85fd7153285bfba5$export$f63d3080ce25e0fd)(\"CC\", `${binDir}/gcc-${majorVersion}`), (0, $85fd7153285bfba5$export$f63d3080ce25e0fd)(\"CXX\", `${binDir}/g++-${majorVersion}`));\n if ((0, $7b55ac603b97ae6e$export$da8baf1d6c6802b6)()) promises.push((0, $f0410b58de32386f$export$6fe6436bd9f53d02)(\"cc\", `${binDir}/gcc-${majorVersion}`), (0, $f0410b58de32386f$export$6fe6436bd9f53d02)(\"cxx\", `${binDir}/g++-${majorVersion}`), (0, $f0410b58de32386f$export$6fe6436bd9f53d02)(\"gcc\", `${binDir}/gcc-${majorVersion}`), (0, $f0410b58de32386f$export$6fe6436bd9f53d02)(\"g++\", `${binDir}/g++-${majorVersion}`));\n } else {\n promises.push((0, $85fd7153285bfba5$export$f63d3080ce25e0fd)(\"CC\", `${binDir}/gcc-${version}`), (0, $85fd7153285bfba5$export$f63d3080ce25e0fd)(\"CXX\", `${binDir}/g++-${version}`));\n if ((0, $7b55ac603b97ae6e$export$da8baf1d6c6802b6)()) promises.push((0, $f0410b58de32386f$export$6fe6436bd9f53d02)(\"cc\", `${binDir}/gcc-${version}`), (0, $f0410b58de32386f$export$6fe6436bd9f53d02)(\"cxx\", `${binDir}/g++-${version}`), (0, $f0410b58de32386f$export$6fe6436bd9f53d02)(\"gcc\", `${binDir}/gcc-${version}`), (0, $f0410b58de32386f$export$6fe6436bd9f53d02)(\"g++\", `${binDir}/g++-${version}`));\n }\n }\n promises.push((0, $1ebfc945e4f5b17a$export$28f5fd35e3005b7a)());\n if (0, $dTX7a.GITHUB_ACTIONS) await $bd769018416dc7f2$var$addGccLoggingMatcher();\n await Promise.all(promises);\n}\nasync function $bd769018416dc7f2$var$addGccLoggingMatcher() {\n const matcherPath = (0, $ceI0e.join)($bd769018416dc7f2$var$$parcel$__dirname, \"gcc_matcher.json\");\n if (!await (0, $dOmbL.pathExists)(matcherPath)) return (0, $ER74K.warning)(\"the gcc_matcher.json file does not exist in the same folder as setup-cpp.js\");\n (0, $ER74K.info)(`::add-matcher::${matcherPath}`);\n}\n\n\n\n\n\nvar $eJTZB = parcelRequire(\"eJTZB\");\n\nvar $bX9Em = parcelRequire(\"bX9Em\");\nfunction $9e5689f497201ccc$export$b98d69f362caf61f(version, _setupDir, _arch) {\n return (0, $cfebcec0830c9a7b$export$4020cb77ffa3ffac)(\"gcovr\", version);\n}\nfunction $9e5689f497201ccc$export$2a0488baf2a20c0f() {\n return (0, $85fd7153285bfba5$export$f63d3080ce25e0fd)(\"GCOV\", \"llvm-cov gcov\");\n}\nfunction $9e5689f497201ccc$export$41dabde4775ee2aa(gccVersion) {\n const gccSemver = (0, (/*@__PURE__*/$parcel$interopDefault($eJTZB)))(gccVersion);\n const gccMajor = gccSemver !== null ? (0, (/*@__PURE__*/$parcel$interopDefault($bX9Em)))(gccSemver) : gccVersion;\n const gcov = gccMajor !== \"\" ? `gcov-${gccMajor}` : \"gcov\";\n return (0, $85fd7153285bfba5$export$f63d3080ce25e0fd)(\"GCOV\", gcov);\n}\n\n\n\n\n\nvar $ceI0e = parcelRequire(\"ceI0e\");\n\n\n\n\n\n\n\n\n\n\n\n\n\nvar $ER74K = parcelRequire(\"ER74K\");\n\n\nvar $ceI0e = parcelRequire(\"ceI0e\");\n\n\n/** Get the platform name Ninja uses in their download links */ function $c8e436f083063bf5$var$getNinjaPlatform(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/** Get the platform data for ninja */ // eslint-disable-next-line @typescript-eslint/no-unused-vars\nfunction $c8e436f083063bf5$var$getNinjaPackageInfo(version, platform, _arch) {\n const ninjaPlatform = $c8e436f083063bf5$var$getNinjaPlatform(platform);\n return {\n binRelativeDir: \"\",\n binFileName: (0, $ceI0e.addExeExt)(\"ninja\"),\n extractedFolderName: \"\",\n extractFunction: (0, $4615baf4c3b031c2$export$6411c5cbab21135b),\n url: `https://github.com/ninja-build/ninja/releases/download/v${version}/ninja-${ninjaPlatform}.zip`\n };\n}\nfunction $c8e436f083063bf5$export$e6190f4bfe2ef71(version, setupDir, arch) {\n return (0, $d81b351c18e56f74$export$334f77c9844c21f6)(\"ninja\", version, $c8e436f083063bf5$var$getNinjaPackageInfo, setupDir, arch);\n}\n\n\n\n\nvar $a32e41fd6d9c05e4$var$$parcel$__dirname = $d7DIX$path.resolve(__dirname, \"../../src/kcov\");\nfunction $a32e41fd6d9c05e4$var$getDownloadKcovPackageInfo(version) {\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: (0, $ceI0e.addExeExt)(\"kcov\"),\n extractFunction: (0, $4615baf4c3b031c2$export$2ab07ac150064014)\n };\n}\nfunction $a32e41fd6d9c05e4$var$getBuildKcovPackageInfo(version) {\n return {\n url: `https://github.com/SimonKagstrom/kcov/archive/refs/tags/${version}.tar.gz`,\n extractedFolderName: \"\",\n binRelativeDir: \"build/src\",\n binFileName: (0, $ceI0e.addExeExt)(\"kcov\"),\n extractFunction: $a32e41fd6d9c05e4$var$buildKcov\n };\n}\nasync function $a32e41fd6d9c05e4$var$buildKcov(file, dest) {\n const out = await (0, $4615baf4c3b031c2$export$2ab07ac150064014)(file, dest, [\n \"--strip-components=1\"\n ]);\n // build after extraction using CMake\n const cmake = await $a32e41fd6d9c05e4$var$getCmake();\n if (process.platform === \"linux\") {\n if ((0, $84785c71f430250a$export$d415ddb6702ec3a2)()) await Promise.all([\n (0, $6f126e8fe01fa080$export$cfa75578ee2d6e6c)(\"libdwarf\"),\n (0, $6f126e8fe01fa080$export$cfa75578ee2d6e6c)(\"libcurl-openssl\")\n ]);\n else if ((0, $3cbfee605ac1e082$export$8ce8b4b22331a8c7)()) await (0, $7e2451edad050552$export$49d4f9ba8e0dd34f)([\n {\n name: \"libdwarf-devel\"\n },\n {\n name: \"libcurl-devel\"\n }\n ]);\n else if ((0, $7b55ac603b97ae6e$export$da8baf1d6c6802b6)()) await (0, $f0410b58de32386f$export$d73dc343f5abf26)([\n {\n name: \"libdw-dev\"\n },\n {\n name: \"libcurl4-openssl-dev\"\n }\n ]);\n }\n // apply gcc13.patch\n try {\n if ((0, (/*@__PURE__*/$parcel$interopDefault($44f23bb49826ca87$exports))).sync(\"patch\", {\n nothrow: true\n }) !== null) {\n const patch = (0, $ceI0e.join)($a32e41fd6d9c05e4$var$$parcel$__dirname, \"gcc13.patch\");\n await (0, $8991d7a42fe4b480$export$db6b1668e3758717)(\"patch\", [\n \"-N\",\n \"-p1\",\n \"-i\",\n patch\n ], {\n cwd: out,\n stdio: \"inherit\"\n });\n } else (0, $ER74K.info)(\"`patch` not found, skipping gcc13.patch, kcov may not build on gcc 13\");\n } catch {\n // ignore\n }\n const buildDir = (0, $ceI0e.join)(out, \"build\");\n await (0, $8991d7a42fe4b480$export$db6b1668e3758717)(cmake, [\n \"-S\",\n out,\n \"-B\",\n buildDir,\n \"-DCMAKE_BUILD_TYPE=Release\",\n \"-G\",\n \"Ninja\"\n ], {\n cwd: out,\n stdio: \"inherit\"\n });\n await (0, $8991d7a42fe4b480$export$db6b1668e3758717)(cmake, [\n \"--build\",\n buildDir,\n \"--config\",\n \"Release\"\n ], {\n cwd: out,\n stdio: \"inherit\"\n });\n // execRootSync(cmake, [\"--install\", buildDir], out)\n // return \"user/local/bin\" // the cmake install prefix\n return out;\n}\nasync function $a32e41fd6d9c05e4$var$getCmake() {\n let cmake = (0, (/*@__PURE__*/$parcel$interopDefault($44f23bb49826ca87$exports))).sync(\"cmake\", {\n nothrow: true\n });\n if (cmake === null) {\n const { binDir: binDir } = await (0, $cd6a37a8a2760b1d$export$c28663a621f418ce)((0, $cb3b5dc5a4eadeb1$export$c506eb22e615ba4a)(\"cmake\", undefined, await (0, $d6a4ad0ff65d0a5e$export$49c9cf1111dfa0ee)()), (0, $ceI0e.join)((0, $cc03115747abd396$export$8312d9eeba321950)(\"\"), \"cmake\"), \"\");\n cmake = (0, $ceI0e.join)(binDir, \"cmake\");\n }\n const ninja = (0, (/*@__PURE__*/$parcel$interopDefault($44f23bb49826ca87$exports))).sync(\"ninja\", {\n nothrow: true\n });\n if (ninja === null) await (0, $c8e436f083063bf5$export$e6190f4bfe2ef71)((0, $cb3b5dc5a4eadeb1$export$c506eb22e615ba4a)(\"ninja\", undefined, await (0, $d6a4ad0ff65d0a5e$export$49c9cf1111dfa0ee)()), (0, $ceI0e.join)((0, $cc03115747abd396$export$8312d9eeba321950)(\"\"), \"ninja\"), \"\");\n return cmake;\n}\nasync function $a32e41fd6d9c05e4$export$abb7c2ff987b1f6b(versionGiven, setupDir, arch) {\n if (process.platform !== \"linux\") {\n (0, $ER74K.info)(\"Kcov is not supported on non-linux\");\n return;\n }\n // parse version\n const versionSplit = versionGiven.split(\"-\");\n let version = (0, $5683decf99cdafe6$export$6863a97504984656)(versionSplit[0]);\n const installMethod = versionSplit[1];\n const version_number = (0, $5683decf99cdafe6$export$b19007c0050a2fcc)(version);\n // fix inconsistency in tagging\n if (version_number === 38) version = \"v38\";\n let installationInfo;\n if (installMethod === \"binary\" && version_number >= 39) {\n installationInfo = await (0, $d81b351c18e56f74$export$334f77c9844c21f6)(\"kcov\", version, $a32e41fd6d9c05e4$var$getDownloadKcovPackageInfo, setupDir, arch);\n if ((0, $84785c71f430250a$export$d415ddb6702ec3a2)()) await (0, $6f126e8fe01fa080$export$cfa75578ee2d6e6c)(\"binutils\");\n else if ((0, $3cbfee605ac1e082$export$8ce8b4b22331a8c7)()) await (0, $7e2451edad050552$export$49d4f9ba8e0dd34f)([\n {\n name: \"binutils\"\n }\n ]);\n else if ((0, $7b55ac603b97ae6e$export$da8baf1d6c6802b6)()) await (0, $f0410b58de32386f$export$d73dc343f5abf26)([\n {\n name: \"libbinutils\"\n }\n ]);\n return installationInfo;\n } else installationInfo = await (0, $d81b351c18e56f74$export$334f77c9844c21f6)(\"kcov\", version, $a32e41fd6d9c05e4$var$getBuildKcovPackageInfo, setupDir, arch);\n return installationInfo;\n}\n\n\n\nvar $dTX7a = parcelRequire(\"dTX7a\");\n\nvar $ER74K = parcelRequire(\"ER74K\");\n\n\n\nvar $dOmbL = parcelRequire(\"dOmbL\");\n\nvar $ceI0e = parcelRequire(\"ceI0e\");\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nvar $lcRzN = parcelRequire(\"lcRzN\");\n\nvar $ER74K = parcelRequire(\"ER74K\");\n\nvar $ceI0e = parcelRequire(\"ceI0e\");\n\n// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n// @ts-ignore\nvar $d03a25efbfca5b51$export$3c7cae5a162b1458;\nvar $d03a25efbfca5b51$export$704f0be24425353b;\nvar $d03a25efbfca5b51$export$f49c12d2898d28cb;\nvar $d03a25efbfca5b51$export$a6a3bfb882356813;\nvar $d03a25efbfca5b51$export$443b8bb890f5027e;\n\nvar $lcRzN = parcelRequire(\"lcRzN\");\n\n\n\n\nconst $d03a25efbfca5b51$var$PROGRAM_FILES_X86 = $d7DIX$process.env[\"ProgramFiles(x86)\"];\nconst $d03a25efbfca5b51$var$PROGRAM_FILES = [\n $d7DIX$process.env[\"ProgramFiles(x86)\"],\n $d7DIX$process.env[\"ProgramFiles\"]\n];\nconst $d03a25efbfca5b51$var$EDITIONS = [\n \"Enterprise\",\n \"Professional\",\n \"Community\",\n \"BuildTools\"\n];\nconst $d03a25efbfca5b51$var$YEARS = [\n \"2022\",\n \"2019\",\n \"2017\"\n];\nconst $d03a25efbfca5b51$var$VsYearVersion = {\n \"2022\": \"17.0\",\n \"2019\": \"16.0\",\n \"2017\": \"15.0\",\n \"2015\": \"14.0\",\n \"2013\": \"12.0\"\n};\nfunction $d03a25efbfca5b51$var$vsversion_to_versionnumber(vsversion) {\n if (Object.values($d03a25efbfca5b51$var$VsYearVersion).includes(vsversion)) return vsversion;\n else {\n if (vsversion in $d03a25efbfca5b51$var$VsYearVersion) return $d03a25efbfca5b51$var$VsYearVersion[vsversion];\n }\n return vsversion;\n}\n$d03a25efbfca5b51$export$3c7cae5a162b1458 = $d03a25efbfca5b51$var$vsversion_to_versionnumber;\nfunction $d03a25efbfca5b51$var$vsversion_to_year(vsversion) {\n if (Object.keys($d03a25efbfca5b51$var$VsYearVersion).includes(vsversion)) return vsversion;\n else for (const [year, ver] of Object.entries($d03a25efbfca5b51$var$VsYearVersion)){\n if (ver === vsversion) return year;\n }\n return vsversion;\n}\n$d03a25efbfca5b51$export$704f0be24425353b = $d03a25efbfca5b51$var$vsversion_to_year;\nconst $d03a25efbfca5b51$var$VSWHERE_PATH = `${$d03a25efbfca5b51$var$PROGRAM_FILES_X86}\\\\Microsoft Visual Studio\\\\Installer`;\nfunction $d03a25efbfca5b51$var$findWithVswhere(pattern, version_pattern) {\n try {\n let installationPath = $d7DIX$child_process.execSync(`vswhere -products * ${version_pattern} -prerelease -property installationPath`).toString().trim();\n return installationPath + \"\\\\\" + pattern;\n } catch (e) {\n $lcRzN.warning(`vswhere failed: ${e}`);\n }\n return null;\n}\n$d03a25efbfca5b51$export$f49c12d2898d28cb = $d03a25efbfca5b51$var$findWithVswhere;\nfunction $d03a25efbfca5b51$var$findVcvarsall(vsversion) {\n const vsversion_number = $d03a25efbfca5b51$var$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 version_pattern = \"-latest\";\n // If vswhere is available, ask it about the location of the latest Visual Studio.\n let path = $d03a25efbfca5b51$var$findWithVswhere(\"VC\\\\Auxiliary\\\\Build\\\\vcvarsall.bat\", version_pattern);\n if (path && $d7DIX$fs.existsSync(path)) {\n $lcRzN.info(`Found with vswhere: ${path}`);\n return path;\n }\n $lcRzN.info(\"Not found with vswhere\");\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 ? [\n $d03a25efbfca5b51$var$vsversion_to_year(vsversion)\n ] : $d03a25efbfca5b51$var$YEARS;\n for (const prog_files of $d03a25efbfca5b51$var$PROGRAM_FILES){\n for (const ver of years)for (const ed of $d03a25efbfca5b51$var$EDITIONS){\n path = `${prog_files}\\\\Microsoft Visual Studio\\\\${ver}\\\\${ed}\\\\VC\\\\Auxiliary\\\\Build\\\\vcvarsall.bat`;\n $lcRzN.info(`Trying standard location: ${path}`);\n if ($d7DIX$fs.existsSync(path)) {\n $lcRzN.info(`Found standard location: ${path}`);\n return path;\n }\n }\n }\n $lcRzN.info(\"Not found in standard locations\");\n // Special case for Visual Studio 2015 (and maybe earlier), try it out too.\n path = `${$d03a25efbfca5b51$var$PROGRAM_FILES_X86}\\\\Microsoft Visual C++ Build Tools\\\\vcbuildtools.bat`;\n if ($d7DIX$fs.existsSync(path)) {\n $lcRzN.info(`Found VS 2015: ${path}`);\n return path;\n }\n $lcRzN.info(`Not found in VS 2015 location: ${path}`);\n throw new Error(\"Microsoft Visual Studio not found\");\n}\n$d03a25efbfca5b51$export$a6a3bfb882356813 = $d03a25efbfca5b51$var$findVcvarsall;\nfunction $d03a25efbfca5b51$var$isPathVariable(name) {\n const pathLikeVariables = [\n \"PATH\",\n \"INCLUDE\",\n \"LIB\",\n \"LIBPATH\"\n ];\n return pathLikeVariables.indexOf(name.toUpperCase()) != -1;\n}\nfunction $d03a25efbfca5b51$var$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/** See https://github.com/ilammy/msvc-dev-cmd#inputs */ function $d03a25efbfca5b51$var$setupMSVCDevCmd(arch, sdk, toolset, uwp, spectre, vsversion) {\n if ($d7DIX$process.platform != \"win32\") {\n $lcRzN.info(\"This is not a Windows virtual environment, bye!\");\n return;\n }\n // Add standard location of \"vswhere\" to PATH, in case it's not there.\n $d7DIX$process.env.PATH += $d7DIX$path.delimiter + $d03a25efbfca5b51$var$VSWHERE_PATH;\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) arch = arch_aliases[arch.toLowerCase()];\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 var args = [\n arch\n ];\n if (uwp == \"true\") args.push(\"uwp\");\n if (sdk) args.push(sdk);\n if (toolset) args.push(`-vcvars_ver=${toolset}`);\n if (spectre == \"true\") args.push(\"-vcvars_spectre_libs=spectre\");\n const vcvars = `\"${$d03a25efbfca5b51$var$findVcvarsall(vsversion)}\" ${args.join(\" \")}`;\n $lcRzN.debug(`vcvars command-line: ${vcvars}`);\n const cmd_output_string = $d7DIX$child_process.execSync(`set && cls && ${vcvars} && cls && set`, {\n shell: \"cmd\"\n }).toString();\n const cmd_output_parts = cmd_output_string.split(\"\\f\");\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 // 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:$/)) return true;\n }\n return false;\n });\n if (error_messages.length > 0) throw new Error(\"invalid parameters\\r\\n\" + error_messages.join(\"\\r\\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 // 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 $lcRzN.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(\"=\")) continue;\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 $lcRzN.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 ($d03a25efbfca5b51$var$isPathVariable(name)) new_value = $d03a25efbfca5b51$var$filterPathValue(new_value);\n $lcRzN.exportVariable(name, new_value);\n }\n }\n $lcRzN.endGroup();\n $lcRzN.info(`Configured Developer Command Prompt`);\n}\n$d03a25efbfca5b51$export$443b8bb890f5027e = $d03a25efbfca5b51$var$setupMSVCDevCmd;\n\n\n\n\nvar $ER74K = parcelRequire(\"ER74K\");\n\nvar $dOmbL = parcelRequire(\"dOmbL\");\nfunction $ffa3775f67868b5f$var$getArch(arch) {\n switch(arch){\n case \"x32\":\n case \"32\":\n case \"ia32\":\n return \"x86\";\n case \"64\":\n return \"x64\";\n default:\n return arch;\n }\n}\nasync function $ffa3775f67868b5f$export$5dcf571c91fc8369(vsversion, VCTargetsPath, arch, toolset, sdk, uwp, spectre) {\n if (VCTargetsPath !== undefined && await (0, $dOmbL.pathExists)(VCTargetsPath)) {\n (0, $ER74K.info)(`Adding ${VCTargetsPath} to PATH`);\n await (0, $85fd7153285bfba5$export$f63d3080ce25e0fd)(\"VCTargetsPath\", VCTargetsPath);\n }\n (0, $d03a25efbfca5b51$export$443b8bb890f5027e)($ffa3775f67868b5f$var$getArch(arch), sdk, toolset, uwp, spectre, vsversion);\n}\n\n\n\nclass $f9a171a8ebc27dbc$export$66d311bf29d5c89c extends Error {\n constructor(message){\n super(message);\n this.name = \"TimeoutError\";\n }\n}\nclass $f9a171a8ebc27dbc$export$18b052ffd8c84d7 extends Error {\n constructor(message){\n super();\n this.name = \"AbortError\";\n this.message = message;\n }\n}\n/**\nTODO: Remove AbortError and just throw DOMException when targeting Node 18.\n*/ const $f9a171a8ebc27dbc$var$getDOMException = (errorMessage)=>globalThis.DOMException === undefined ? new $f9a171a8ebc27dbc$export$18b052ffd8c84d7(errorMessage) : new DOMException(errorMessage);\n/**\nTODO: Remove below function and just 'reject(signal.reason)' when targeting Node 18.\n*/ const $f9a171a8ebc27dbc$var$getAbortedReason = (signal)=>{\n const reason = signal.reason === undefined ? $f9a171a8ebc27dbc$var$getDOMException(\"This operation was aborted.\") : signal.reason;\n return reason instanceof Error ? reason : $f9a171a8ebc27dbc$var$getDOMException(reason);\n};\nfunction $f9a171a8ebc27dbc$export$2e2bcd8739ae039(promise, options) {\n const { milliseconds: milliseconds, fallback: fallback, message: message, customTimers: customTimers = {\n setTimeout: setTimeout,\n clearTimeout: clearTimeout\n } } = options;\n let timer;\n const wrappedPromise = new Promise((resolve, reject)=>{\n if (typeof milliseconds !== \"number\" || Math.sign(milliseconds) !== 1) throw new TypeError(`Expected \\`milliseconds\\` to be a positive number, got \\`${milliseconds}\\``);\n if (options.signal) {\n const { signal: signal } = options;\n if (signal.aborted) reject($f9a171a8ebc27dbc$var$getAbortedReason(signal));\n signal.addEventListener(\"abort\", ()=>{\n reject($f9a171a8ebc27dbc$var$getAbortedReason(signal));\n });\n }\n if (milliseconds === Number.POSITIVE_INFINITY) {\n promise.then(resolve, reject);\n return;\n }\n // We create the error outside of `setTimeout` to preserve the stack trace.\n const timeoutError = new $f9a171a8ebc27dbc$export$66d311bf29d5c89c();\n timer = customTimers.setTimeout.call(undefined, ()=>{\n if (fallback) {\n try {\n resolve(fallback());\n } catch (error) {\n reject(error);\n }\n return;\n }\n if (typeof promise.cancel === \"function\") promise.cancel();\n if (message === false) resolve();\n else if (message instanceof Error) reject(message);\n else {\n timeoutError.message = message ?? `Promise timed out after ${milliseconds} milliseconds`;\n reject(timeoutError);\n }\n }, milliseconds);\n (async ()=>{\n try {\n resolve(await promise);\n } catch (error) {\n reject(error);\n }\n })();\n });\n const cancelablePromise = wrappedPromise.finally(()=>{\n cancelablePromise.clear();\n });\n cancelablePromise.clear = ()=>{\n customTimers.clearTimeout.call(undefined, timer);\n timer = undefined;\n };\n return cancelablePromise;\n}\n\n\n\nconst $38b6fc81fd22ef04$export$7bd623b29ec8e1eb = 1200000 // 20 minutes\n;\nasync function $38b6fc81fd22ef04$export$ddb4b945c8581272(tool, version, osVersion, arch, setupCppDir, successMessages, errorMessages, timeout = $38b6fc81fd22ef04$export$7bd623b29ec8e1eb) {\n (0, $lcRzN.startGroup)(`Installing ${tool} ${version}`);\n let hasLLVM = false;\n try {\n hasLLVM = await (0, $f9a171a8ebc27dbc$export$2e2bcd8739ae039)($38b6fc81fd22ef04$var$installToolImpl(tool, version, osVersion, arch, hasLLVM, setupCppDir, successMessages), {\n milliseconds: timeout,\n message: `Timeout while installing ${tool} ${version}. You can increase the timeout from options`\n });\n } catch (e) {\n // push error message to the logger\n (0, $ER74K.error)(e);\n errorMessages.push(`${tool} failed to install`);\n }\n (0, $lcRzN.endGroup)();\n return hasLLVM;\n}\nasync function $38b6fc81fd22ef04$var$installToolImpl(tool, version, osVersion, arch, hasLLVM, setupCppDir, successMessages) {\n let installationInfo;\n if (tool === \"vcvarsall\") // eslint-disable-next-line no-await-in-loop\n await (0, $ffa3775f67868b5f$export$5dcf571c91fc8369)((0, $cb3b5dc5a4eadeb1$export$c506eb22e615ba4a)(tool, version, osVersion), undefined, arch, undefined, undefined, false, false);\n else {\n // get the setup function\n const setupFunction = (0, $f58f76cc72dbc50d$export$18a3521ac7306af4)[tool];\n // eslint-disable-next-line no-param-reassign\n hasLLVM = [\n \"llvm\",\n \"clangformat\",\n \"clangtidy\"\n ].includes(tool);\n // the tool installation directory (for the functions that ue it)\n const setupDir = (0, $ceI0e.join)(setupCppDir, hasLLVM ? \"llvm\" : tool);\n // eslint-disable-next-line no-await-in-loop\n installationInfo = await setupFunction((0, $cb3b5dc5a4eadeb1$export$c506eb22e615ba4a)(tool, version, osVersion), setupDir, arch);\n }\n // preparing a report string\n successMessages.push((0, $447038b429c54f91$export$ad22d805bb3bfaf5)(tool, installationInfo));\n return hasLLVM;\n}\n\n\nconst { readFile: $cf098dcb81ecb127$var$readFile, writeFile: $cf098dcb81ecb127$var$writeFile, chmod: $cf098dcb81ecb127$var$chmod } = (0, $d7DIX$fs.promises);\nvar $cf098dcb81ecb127$export$35fa309210df3df6;\n(function(LLVMPackages) {\n LLVMPackages[LLVMPackages[\"All\"] = 0] = \"All\";\n LLVMPackages[LLVMPackages[\"ClangFormat\"] = 1] = \"ClangFormat\";\n LLVMPackages[LLVMPackages[\"Core\"] = 2] = \"Core\";\n})($cf098dcb81ecb127$export$35fa309210df3df6 || ($cf098dcb81ecb127$export$35fa309210df3df6 = {}));\nasync function $cf098dcb81ecb127$export$a86791c88ded7e54(majorVersion, packages = $cf098dcb81ecb127$export$35fa309210df3df6.All) {\n // TODO for older versions, this also includes the minor version\n const installationFolder = `/usr/lib/llvm-${majorVersion}`;\n await (0, $f0410b58de32386f$export$d73dc343f5abf26)([\n {\n name: \"curl\"\n }\n ]);\n await (0, $8991d7a42fe4b480$export$db6b1668e3758717)(\"curl\", [\n \"-LJO\",\n \"https://apt.llvm.org/llvm.sh\"\n ], {\n cwd: \"/tmp\"\n });\n const neededPackages = await $cf098dcb81ecb127$var$patchAptLLVMScript(\"/tmp/llvm.sh\", \"/tmp/llvm-setup-cpp.sh\", majorVersion, packages);\n await (0, $f0410b58de32386f$export$d73dc343f5abf26)(neededPackages);\n await $cf098dcb81ecb127$var$chmod(\"/tmp/llvm-setup-cpp.sh\", \"755\");\n await (0, $f52a2f1a707749bf$export$351270479e2eef26)(\"bash\", [\n \"/tmp/llvm-setup-cpp.sh\",\n `${majorVersion}`,\n ...packages === $cf098dcb81ecb127$export$35fa309210df3df6.All ? [\n \"all\"\n ] : []\n ], {\n stdio: \"inherit\",\n shell: true,\n timeout: (0, $38b6fc81fd22ef04$export$7bd623b29ec8e1eb)\n });\n await (0, $85fd7153285bfba5$export$4c25481b843feb0b)(`${installationFolder}/bin`);\n return {\n installDir: `${installationFolder}`,\n binDir: `${installationFolder}/bin`,\n bin: `${installationFolder}/bin/clang++`\n };\n}\nasync function $cf098dcb81ecb127$var$patchAptLLVMScript(path, target_path, majorVersion, packages) {\n let script = await $cf098dcb81ecb127$var$readFile(path, \"utf-8\");\n script = $cf098dcb81ecb127$var$debugScript(script);\n script = $cf098dcb81ecb127$var$nonInteractiveScript(script);\n script = $cf098dcb81ecb127$var$choosePackages(packages, script, majorVersion);\n script = await $cf098dcb81ecb127$var$removeConflictingPackages(script);\n script = $cf098dcb81ecb127$var$useNalaScript(script);\n await $cf098dcb81ecb127$var$writeFile(target_path, script);\n // the packages needed by the script\n return [\n {\n name: \"lsb-release\"\n },\n {\n name: \"wget\"\n },\n {\n name: \"software-properties-common\"\n },\n {\n name: \"gnupg\"\n }\n ];\n}\nfunction $cf098dcb81ecb127$var$debugScript(script) {\n if (!process.env.NODE_DEBUG) return script.replace(/set -eux/g, \"set -eu\");\n return script;\n}\nfunction $cf098dcb81ecb127$var$nonInteractiveScript(script) {\n // make the scirpt non-interactive and fix broken packages\n return script.replace(/add-apt-repository \"\\${REPO_NAME}\"/g, // eslint-disable-next-line no-template-curly-in-string\n 'add-apt-repository -y \"${REPO_NAME}\"');\n}\nasync function $cf098dcb81ecb127$var$removeConflictingPackages(givenScript) {\n // fix conflicts between libclang-rt and libclang\n let script = givenScript.replace(/apt-get install -y/g, 'apt-get install -o Dpkg::Options::=\"--force-overwrite\" -y --fix-broken');\n // check if these are installed and if so, remove them from the script as they conflict\n const conflictingPackages = [\n \"libc++-$LLVM_VERSION-dev\",\n \"libc++abi-$LLVM_VERSION-dev\",\n \"libunwind-$LLVM_VERSION-dev\"\n ];\n await Promise.all(conflictingPackages.map(async (pack)=>{\n const installingPack = pack.replace(\"$LLVM_VERSION\", \"*\");\n if (await (0, $f0410b58de32386f$export$ec2e4deaa1231ecf)(installingPack)) {\n (0, $d7DIX$console.info)(`Removing conflicting package ${installingPack}`);\n script = script.replace(pack, \"\");\n }\n }));\n return script;\n}\nfunction $cf098dcb81ecb127$var$useNalaScript(script) {\n // use nala if it is available\n if ((0, $f0410b58de32386f$export$89548d91e84ae1a1)()) return script.replace(/apt-get/g, \"nala\");\n return script;\n}\nfunction $cf098dcb81ecb127$var$choosePackages(packages, script, majorVersion) {\n if (packages === $cf098dcb81ecb127$export$35fa309210df3df6.ClangFormat) return script.replace(/ -y \\$PKG/g, ` -y clang-format-${majorVersion}`);\n return script;\n}\n\n\n\nvar $1ndHP = parcelRequire(\"1ndHP\");\n\n\n\nvar $ER74K = parcelRequire(\"ER74K\");\n\nvar $ceI0e = parcelRequire(\"ceI0e\");\n\nconst $83abdd9bf69b2f6a$export$aa5307f1aca77413 = (0, $5683decf99cdafe6$export$cbd9528a83fbffa1)([\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 \"15.0.0\",\n \"15.0.1\",\n \"15.0.2\",\n \"15.0.3\",\n \"15.0.4\",\n \"15.0.5\",\n \"15.0.6\",\n \"15.0.7\",\n \"16.0.0\",\n \"16.0.1\",\n \"16.0.2\",\n \"16.0.3\",\n \"16.0.4\",\n \"16.0.5\",\n \"16.0.6\",\n \"17.0.1\",\n \"17.0.2\",\n \"17.0.3\",\n \"17.0.4\",\n \"17.0.5\"\n]);\n/** The LLVM versions that were never released for the Windows platform. */ const $83abdd9bf69b2f6a$var$WIN32_MISSING = new Set([\n \"10.0.1\",\n \"15.0.5\",\n \"15.0.6\",\n \"17.0.5\"\n]);\n/** The LLVM versions that were never released for the Darwin platform. */ const $83abdd9bf69b2f6a$var$DARWIN_MISSING = 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 // missing x86_64\n // TODO add arm64 support\n \"15.0.4\",\n \"15.0.5\",\n \"15.0.6\",\n \"16.0.0\",\n \"16.0.1\",\n \"16.0.2\",\n \"16.0.3\",\n \"16.0.4\",\n \"16.0.5\",\n \"16.0.6\",\n \"17.0.1\",\n \"17.0.2\",\n \"17.0.3\",\n \"17.0.4\",\n \"17.0.5\"\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 */ const $83abdd9bf69b2f6a$var$UBUNTU_RC = new Map();\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 */ // TODO change based on ubuntu version\nconst $83abdd9bf69b2f6a$var$UBUNTU_SUFFIX_MAP = {\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 \"15.0.2\": \"-rhel86\",\n \"15.0.5\": \"-ubuntu-18.04\",\n \"15.0.6\": \"-ubuntu-18.04\",\n \"16.0.0\": \"-ubuntu-18.04\",\n \"16.0.2\": \"-ubuntu-22.04\",\n \"16.0.3\": \"-ubuntu-22.04\",\n \"16.0.4\": \"-ubuntu-22.04\",\n \"17.0.2\": \"-ubuntu-22.04\",\n \"17.0.4\": \"-ubuntu-22.04\",\n \"17.0.5\": \"-ubuntu-22.04\"\n};\n/** The latest supported LLVM version for the Linux (Ubuntu) platform. */ const $83abdd9bf69b2f6a$var$MAX_UBUNTU = \"17.0.5\";\n//================================================\n// URL\n//================================================\n/** Gets a LLVM download URL for GitHub. */ function $83abdd9bf69b2f6a$var$getGitHubUrl(version, prefix, suffix) {\n const file = `${prefix}${version}${suffix}`;\n return `https://github.com/llvm/llvm-project/releases/download/llvmorg-${version}/${file}`;\n}\n/** Gets a LLVM download URL for https://releases.llvm.org. */ function $83abdd9bf69b2f6a$var$getReleaseUrl(version, prefix, suffix) {\n const file = `${prefix}${version}${suffix}`;\n return `https://releases.llvm.org/${version}/${file}`;\n}\n/** Gets an LLVM download URL for the Darwin platform. */ function $83abdd9bf69b2f6a$var$getDarwinUrl(version) {\n if ($83abdd9bf69b2f6a$var$DARWIN_MISSING.has(version)) return null;\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 ((0, (/*@__PURE__*/$parcel$interopDefault($1ndHP)))(version, \"9.0.1\")) return $83abdd9bf69b2f6a$var$getReleaseUrl(version, prefix, suffix);\n else return $83abdd9bf69b2f6a$var$getGitHubUrl(version, prefix, suffix);\n}\nfunction $83abdd9bf69b2f6a$export$ae24f9682a44836b(versionGiven) {\n let version = versionGiven;\n const rc = $83abdd9bf69b2f6a$var$UBUNTU_RC.get(version);\n if (rc !== undefined) version = rc;\n let linuxVersion;\n // ubuntu-version is specified\n if (version.includes(\"ubuntu\")) {\n const givenUbuntuVersion = version.replace(/-ubuntu-.*/, \"\");\n if (!$83abdd9bf69b2f6a$export$aa5307f1aca77413.has(givenUbuntuVersion)) throw new Error(`Unsupported Ubuntu version: ${givenUbuntuVersion}`);\n linuxVersion = version.replace(givenUbuntuVersion, \"\");\n version = (0, $5683decf99cdafe6$export$deb1064c8260c54c)($83abdd9bf69b2f6a$export$aa5307f1aca77413, givenUbuntuVersion)[0];\n } else if (version !== \"\" && version in $83abdd9bf69b2f6a$var$UBUNTU_SUFFIX_MAP) linuxVersion = $83abdd9bf69b2f6a$var$UBUNTU_SUFFIX_MAP[version];\n else {\n // default to the maximum version\n linuxVersion = $83abdd9bf69b2f6a$var$UBUNTU_SUFFIX_MAP[$83abdd9bf69b2f6a$var$MAX_UBUNTU];\n (0, $ER74K.warning)(`Falling back to LLVM version ${$83abdd9bf69b2f6a$var$MAX_UBUNTU} ${linuxVersion} for the Ubuntu.`);\n }\n const prefix = \"clang+llvm-\";\n let suffix;\n if (version === \"5.0.0\") suffix = `-linux-x86_64${linuxVersion}.tar.xz`;\n else if (linuxVersion.includes(\"-rhel86\")) suffix = `-x86_64-unknown-linux-gnu${linuxVersion}.tar.xz`;\n else suffix = `-x86_64-linux-gnu${linuxVersion}.tar.xz`;\n if ((0, (/*@__PURE__*/$parcel$interopDefault($1ndHP)))(version, \"9.0.1\")) return $83abdd9bf69b2f6a$var$getReleaseUrl(version, prefix, suffix);\n else return $83abdd9bf69b2f6a$var$getGitHubUrl(version, prefix, suffix);\n}\n/** Gets an LLVM download URL for the Windows platform. */ async function $83abdd9bf69b2f6a$var$getWin32Url(version) {\n if ($83abdd9bf69b2f6a$var$WIN32_MISSING.has(version)) return null;\n const prefix = \"LLVM-\";\n const suffix = (0, (/*@__PURE__*/$parcel$interopDefault($1ndHP)))(version, \"3.7.0\") ? \"-win32.exe\" : \"-win64.exe\";\n const olderThan9_1 = (0, (/*@__PURE__*/$parcel$interopDefault($1ndHP)))(version, \"9.0.1\");\n let url;\n let fallback = false;\n if (olderThan9_1) {\n url = $83abdd9bf69b2f6a$var$getReleaseUrl(version, prefix, suffix);\n if (!await (0, $4292e7ca85c2347c$export$61e6a71eee2b02f9)(url)) fallback = true // fallback to github\n ;\n }\n if (fallback || !olderThan9_1) url = $83abdd9bf69b2f6a$var$getGitHubUrl(version, prefix, suffix);\n return url;\n}\nfunction $83abdd9bf69b2f6a$export$94df0e59ebebf4a7(platform, version) {\n switch(platform){\n case \"darwin\":\n return $83abdd9bf69b2f6a$var$getDarwinUrl(version);\n case \"linux\":\n return $83abdd9bf69b2f6a$export$ae24f9682a44836b(version);\n case \"win32\":\n return $83abdd9bf69b2f6a$var$getWin32Url(version);\n default:\n return null;\n }\n}\nasync function $83abdd9bf69b2f6a$export$f203993d12226a27(version, platform, // eslint-disable-next-line @typescript-eslint/no-unused-vars\n_arch) {\n const [specificVersion, url] = await (0, $5683decf99cdafe6$export$4e4d3581f69a6d71)($83abdd9bf69b2f6a$export$aa5307f1aca77413, platform, version, $83abdd9bf69b2f6a$export$94df0e59ebebf4a7);\n (0, $ER74K.info)(`specific llvm version: ${specificVersion}`);\n return {\n url: url,\n extractedFolderName: \"\",\n binRelativeDir: \"bin\",\n binFileName: (0, $ceI0e.addExeExt)(\"clang\"),\n extractFunction: platform === \"win32\" ? (0, $4615baf4c3b031c2$export$7949938b2681a4f0) : (file, dest)=>{\n return (0, $4615baf4c3b031c2$export$2ab07ac150064014)(file, dest, [\n \"--strip-components=1\"\n ]);\n }\n };\n}\n\n\n\nvar $0213127e07869fde$var$$parcel$__dirname = $d7DIX$path.resolve(__dirname, \"../../src/llvm\");\nasync function $0213127e07869fde$export$3016de7ae9d14988(version, setupDir, arch) {\n const installationInfo = await $0213127e07869fde$var$setupLLVMWithoutActivation(version, setupDir, arch);\n await $0213127e07869fde$export$6238b5ebfd6640e7(installationInfo.installDir ?? setupDir);\n return installationInfo;\n}\nasync function $0213127e07869fde$var$setupLLVMWithoutActivation_raw(version, setupDir, arch) {\n // install LLVM and its dependencies in parallel\n const [installationInfo, _1, _2] = await Promise.all([\n $0213127e07869fde$var$setupLLVMOnly(version, setupDir, arch),\n $0213127e07869fde$var$setupLLVMDeps(arch),\n $0213127e07869fde$var$addLLVMLoggingMatcher()\n ]);\n return installationInfo;\n}\nconst $0213127e07869fde$var$setupLLVMWithoutActivation = (0, $f854d4009763317c$export$2e2bcd8739ae039)($0213127e07869fde$var$setupLLVMWithoutActivation_raw, {\n isPromise: true\n});\nfunction $0213127e07869fde$export$1cf2d186cecf1f54(version, setupDir, arch) {\n return $0213127e07869fde$var$setupLLVMOnly(version, setupDir, arch, (0, $cf098dcb81ecb127$export$35fa309210df3df6).ClangFormat);\n}\nfunction $0213127e07869fde$export$814ccfc953503728(version, setupDir, arch) {\n return $0213127e07869fde$var$setupLLVMOnly(version, setupDir, arch);\n}\nasync function $0213127e07869fde$var$setupLLVMOnly(version, setupDir, arch, packages = (0, $cf098dcb81ecb127$export$35fa309210df3df6).All) {\n const coeredVersion = (0, $5683decf99cdafe6$export$afd7401db249098f)(version);\n const majorVersion = parseInt(coeredVersion.split(\".\")[0], 10);\n try {\n if ((0, $7b55ac603b97ae6e$export$da8baf1d6c6802b6)()) return await (0, $cf098dcb81ecb127$export$a86791c88ded7e54)(majorVersion, packages);\n } catch (err) {\n (0, $ER74K.info)(`Failed to install llvm via system package manager ${err}`);\n }\n const installationInfo = await (0, $d81b351c18e56f74$export$334f77c9844c21f6)(\"llvm\", version, (0, $83abdd9bf69b2f6a$export$f203993d12226a27), setupDir, arch);\n await $0213127e07869fde$var$llvmBinaryDeps(majorVersion);\n return installationInfo;\n}\nasync function $0213127e07869fde$var$llvmBinaryDeps_raw(majorVersion) {\n if ((0, $7b55ac603b97ae6e$export$da8baf1d6c6802b6)()) {\n if (majorVersion <= 10) await (0, $f0410b58de32386f$export$d73dc343f5abf26)([\n {\n name: \"libtinfo5\"\n }\n ]);\n else await (0, $f0410b58de32386f$export$d73dc343f5abf26)([\n {\n name: \"libtinfo-dev\"\n }\n ]);\n }\n}\nconst $0213127e07869fde$var$llvmBinaryDeps = (0, $f854d4009763317c$export$2e2bcd8739ae039)($0213127e07869fde$var$llvmBinaryDeps_raw, {\n isPromise: true\n});\nasync function $0213127e07869fde$var$setupLLVMDeps_raw(arch) {\n if (process.platform === \"linux\") // using llvm requires ld, an up to date libstdc++, etc. So, install gcc first\n await (0, $bd769018416dc7f2$export$405fab3de79b77b)((0, $cb3b5dc5a4eadeb1$export$c506eb22e615ba4a)(\"gcc\", undefined, await (0, $d6a4ad0ff65d0a5e$export$49c9cf1111dfa0ee)()), \"\", arch);\n}\nconst $0213127e07869fde$var$setupLLVMDeps = (0, $f854d4009763317c$export$2e2bcd8739ae039)($0213127e07869fde$var$setupLLVMDeps_raw, {\n isPromise: true\n});\nasync function $0213127e07869fde$export$6238b5ebfd6640e7(directory) {\n const ld = process.env.LD_LIBRARY_PATH ?? \"\";\n const dyld = process.env.DYLD_LIBRARY_PATH ?? \"\";\n const actPromises = [\n // the output of this action\n (0, $85fd7153285bfba5$export$f63d3080ce25e0fd)(\"LLVM_PATH\", directory),\n // Setup LLVM as the compiler\n (0, $85fd7153285bfba5$export$f63d3080ce25e0fd)(\"LD_LIBRARY_PATH\", `${directory}/lib${(0, $d7DIX$path.delimiter)}${ld}`),\n (0, $85fd7153285bfba5$export$f63d3080ce25e0fd)(\"DYLD_LIBRARY_PATH\", `${directory}/lib${(0, $d7DIX$path.delimiter)}${dyld}`),\n // compiler flags\n (0, $85fd7153285bfba5$export$f63d3080ce25e0fd)(\"LDFLAGS\", `-L\"${directory}/lib\"`),\n (0, $85fd7153285bfba5$export$f63d3080ce25e0fd)(\"CPPFLAGS\", `-I\"${directory}/include\"`),\n // compiler paths\n (0, $85fd7153285bfba5$export$f63d3080ce25e0fd)(\"CC\", (0, $ceI0e.addExeExt)(`${directory}/bin/clang`)),\n (0, $85fd7153285bfba5$export$f63d3080ce25e0fd)(\"CXX\", (0, $ceI0e.addExeExt)(`${directory}/bin/clang++`)),\n (0, $85fd7153285bfba5$export$f63d3080ce25e0fd)(\"LIBRARY_PATH\", `${directory}/lib`),\n // os sdks\n (0, $1ebfc945e4f5b17a$export$28f5fd35e3005b7a)()\n ];\n // TODO Causes issues with clangd\n // TODO Windows builds fail with llvm's CPATH\n // if (process.platform !== \"win32\") {\n // if (await pathExists(`${directory}/lib/clang/${version}/include`)) {\n // promises.push(addEnv(\"CPATH\", `${directory}/lib/clang/${version}/include`))\n // } else if (await pathExists(`${directory}/lib/clang/${llvmMajor}/include`)) {\n // promises.push(addEnv(\"CPATH\", `${directory}/lib/clang/${llvmMajor}/include`))\n // }\n // }\n if ((0, $7b55ac603b97ae6e$export$da8baf1d6c6802b6)()) actPromises.push((0, $f0410b58de32386f$export$6fe6436bd9f53d02)(\"cc\", `${directory}/bin/clang`), (0, $f0410b58de32386f$export$6fe6436bd9f53d02)(\"cxx\", `${directory}/bin/clang++`), (0, $f0410b58de32386f$export$6fe6436bd9f53d02)(\"clang\", `${directory}/bin/clang`), (0, $f0410b58de32386f$export$6fe6436bd9f53d02)(\"clang++\", `${directory}/bin/clang++`), (0, $f0410b58de32386f$export$6fe6436bd9f53d02)(\"lld\", `${directory}/bin/lld`), (0, $f0410b58de32386f$export$6fe6436bd9f53d02)(\"ld.lld\", `${directory}/bin/ld.lld`), (0, $f0410b58de32386f$export$6fe6436bd9f53d02)(\"llvm-ar\", `${directory}/bin/llvm-ar`));\n await Promise.all(actPromises);\n}\nasync function $0213127e07869fde$var$addLLVMLoggingMatcher() {\n if (0, $dTX7a.GITHUB_ACTIONS) {\n const matcherPath = (0, $ceI0e.join)($0213127e07869fde$var$$parcel$__dirname, \"llvm_matcher.json\");\n if (!await (0, $dOmbL.pathExists)(matcherPath)) return (0, $ER74K.warning)(\"the llvm_matcher.json file does not exist in the same folder as setup-cpp.js\");\n (0, $ER74K.info)(`::add-matcher::${matcherPath}`);\n }\n}\n\n\n\n\n\n\n\n\n\n\n\nasync function $b2527beb3f2e4071$export$b0a9411329e2916(version, _setupDir, _arch) {\n switch(process.platform){\n case \"win32\":\n return (0, $ca3ee4fd324ae5e9$export$9f6912bc890040b2)(\"make\", version);\n case \"darwin\":\n await (0, $10ddbd636565d4da$export$ce5d13d8a85cb784)(\"make\", version);\n await (0, $85fd7153285bfba5$export$4c25481b843feb0b)(\"/usr/local/opt/make/libexec/gnubin\");\n return {\n binDir: \"/usr/local/opt/make/libexec/gnubin\"\n };\n case \"linux\":\n if ((0, $84785c71f430250a$export$d415ddb6702ec3a2)()) return (0, $6f126e8fe01fa080$export$cfa75578ee2d6e6c)(\"make\", version);\n else if ((0, $3cbfee605ac1e082$export$8ce8b4b22331a8c7)()) return (0, $7e2451edad050552$export$49d4f9ba8e0dd34f)([\n {\n name: \"make\",\n version: version\n }\n ]);\n else if ((0, $7b55ac603b97ae6e$export$da8baf1d6c6802b6)()) return (0, $f0410b58de32386f$export$d73dc343f5abf26)([\n {\n name: \"make\",\n version: version\n }\n ]);\n throw new Error(`Unsupported linux distribution`);\n default:\n throw new Error(`Unsupported platform`);\n }\n}\n\n\n\nfunction $841211d84f4a44cd$export$f73905553f087748(version, _setupDir, _arch) {\n return (0, $cfebcec0830c9a7b$export$4020cb77ffa3ffac)(\"meson\", version);\n}\n\n\n\n\n\n\nvar $dTX7a = parcelRequire(\"dTX7a\");\n\nvar $ceI0e = parcelRequire(\"ceI0e\");\n\nvar $ER74K = parcelRequire(\"ER74K\");\n\nvar $dOmbL = parcelRequire(\"dOmbL\");\n\nvar $756746e991f4f289$var$$parcel$__dirname = $d7DIX$path.resolve(__dirname, \"../../src/msvc\");\nasync function $756746e991f4f289$export$a91ef0362c1a7298(versionGiven, _setupDir, arch, sdk, uwp, spectre) {\n if (process.platform !== \"win32\") return;\n const version = (0, $d03a25efbfca5b51$export$3c7cae5a162b1458)(versionGiven);\n // check if the given version is already installed\n (0, $ER74K.info)(`Checking if MSVC ${version} is already installed`);\n let installed = false;\n try {\n const vcvarsall_path = (0, $d03a25efbfca5b51$export$a6a3bfb882356813)(version);\n installed = true;\n (0, $ER74K.info)(`Found the pre-installed version of MSVC at ${vcvarsall_path}`);\n } catch {\n // not installed, try installing\n }\n let toolset;\n let VCTargetsPath;\n // https://github.com/aminya/setup-cpp/issues/1\n if (!installed) try {\n if (version === \"14.0\") {\n toolset = \"14.0\";\n await (0, $ca3ee4fd324ae5e9$export$9f6912bc890040b2)(\"visualcpp-build-tools\", \"14.0.25420.1\", [\n \"--ignore-dependencies\"\n ]);\n VCTargetsPath = \"C:/Program Files (x86)/MSBuild/Microsoft.Cpp/v4.0/v140\";\n } else if (version === \"15.0\") {\n toolset = \"14.16\";\n await (0, $ca3ee4fd324ae5e9$export$9f6912bc890040b2)(\"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 ;\n } else if (version === \"16.0\") {\n toolset = \"14.29\";\n await (0, $ca3ee4fd324ae5e9$export$9f6912bc890040b2)(\"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 (0, $ca3ee4fd324ae5e9$export$9f6912bc890040b2)(\"visualstudio2022buildtools\", \"117.0.5.0\", []);\n VCTargetsPath = undefined;\n } else (0, $ER74K.error)(`The given MSVC versions ${versionGiven} is not supported yet.`);\n } catch (e) {\n (0, $ER74K.error)(e);\n }\n // run vcvarsall.bat environment variables\n await (0, $ffa3775f67868b5f$export$5dcf571c91fc8369)(version, VCTargetsPath, arch, toolset, sdk, uwp, spectre);\n if (0, $dTX7a.GITHUB_ACTIONS) await $756746e991f4f289$var$addMSVCLoggingMatcher();\n}\nasync function $756746e991f4f289$var$addMSVCLoggingMatcher() {\n const matcherPath = (0, $ceI0e.join)($756746e991f4f289$var$$parcel$__dirname, \"msvc_matcher.json\");\n if (!await (0, $dOmbL.pathExists)(matcherPath)) return (0, $ER74K.warning)(\"the msvc_matcher.json file does not exist in the same folder as setup-cpp.js\");\n (0, $ER74K.info)(`::add-matcher::${matcherPath}`);\n}\n\n\n\nvar $ceI0e = parcelRequire(\"ceI0e\");\n\n\n\n\nlet $24fc56c48fbaa7ba$var$binDir;\nasync function $24fc56c48fbaa7ba$export$d73cbe8caeff03c5(version, _setupDir, _arch) {\n if (!(0, $7b55ac603b97ae6e$export$da8baf1d6c6802b6)()) return undefined;\n if (typeof $24fc56c48fbaa7ba$var$binDir === \"string\") return {\n binDir: $24fc56c48fbaa7ba$var$binDir\n };\n const maybeBinDir = (0, (/*@__PURE__*/$parcel$interopDefault($44f23bb49826ca87$exports))).sync(\"nala\", {\n nothrow: true\n });\n if (maybeBinDir !== null) {\n $24fc56c48fbaa7ba$var$binDir = (0, $ceI0e.dirname)(maybeBinDir);\n return {\n binDir: $24fc56c48fbaa7ba$var$binDir\n };\n }\n // https://github.com/volitank/nala#-installation\n const keyFileName = await (0, $f0410b58de32386f$export$7fb1a688af1305f0)(\"volian-archive-scar-unstable.gpg\", \"https://deb.volian.org/volian/scar.key\");\n (0, $f52a2f1a707749bf$export$58f152936f209932)(\"/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 try {\n if (version !== \"legacy\") await (0, $f0410b58de32386f$export$d73dc343f5abf26)([\n {\n name: \"nala\"\n }\n ], true);\n else await (0, $f0410b58de32386f$export$d73dc343f5abf26)([\n {\n name: \"nala-legacy\"\n }\n ], true);\n } catch (err) {\n await (0, $f0410b58de32386f$export$d73dc343f5abf26)([\n {\n name: \"nala-legacy\"\n }\n ], true);\n }\n $24fc56c48fbaa7ba$var$binDir = \"/usr/bin\" // eslint-disable-line require-atomic-updates\n ;\n return {\n binDir: $24fc56c48fbaa7ba$var$binDir\n };\n}\nfunction $24fc56c48fbaa7ba$export$2747aa8ef20f818d(script) {\n if ((0, $f0410b58de32386f$export$89548d91e84ae1a1)()) return `apt-get() { nala $@; }; export -f apt-get; ${script}; unset -f apt-get`;\n return script;\n}\n\n\n\n\n\nasync function $54ef9c824222402f$export$6aa28a97600a8ae3(version, _setupDir, _arch) {\n if (process.platform !== \"win32\") return;\n await (0, $ca3ee4fd324ae5e9$export$9f6912bc890040b2)(\"opencppcoverage\", version);\n const binDir = await $54ef9c824222402f$var$activateOpencppcoverage();\n return {\n binDir: binDir\n };\n}\nasync function $54ef9c824222402f$var$activateOpencppcoverage() {\n const binDir = \"C:/Program Files/OpenCppCoverage\";\n await (0, $85fd7153285bfba5$export$4c25481b843feb0b)(binDir);\n return binDir;\n}\n\n\n\n\n\n\n\n\n\n\n\n\n\nasync function $772fce954f353e90$export$1ff6ad96ee130aba(version, _setupDir, _arch) {\n switch(process.platform){\n case \"win32\":\n {\n await (0, $ca3ee4fd324ae5e9$export$9f6912bc890040b2)(\"powershell-core\", version);\n const binDir = \"C:/Program Files/PowerShell/7\";\n await (0, $85fd7153285bfba5$export$4c25481b843feb0b)(binDir);\n return {\n binDir: binDir\n };\n }\n case \"darwin\":\n return (0, $10ddbd636565d4da$export$ce5d13d8a85cb784)(\"powershell\", version, [\n \"--cask\"\n ]);\n case \"linux\":\n if ((0, $84785c71f430250a$export$d415ddb6702ec3a2)()) return (0, $6f126e8fe01fa080$export$cfa75578ee2d6e6c)(\"powershell-bin\", version, \"yay\");\n else if ((0, $3cbfee605ac1e082$export$8ce8b4b22331a8c7)()) {\n (0, $7e2451edad050552$export$49d4f9ba8e0dd34f)([\n {\n name: \"curl\"\n }\n ]);\n (0, $f52a2f1a707749bf$export$58f152936f209932)(\"/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 (0, $7e2451edad050552$export$49d4f9ba8e0dd34f)([\n {\n name: \"powershell\",\n version: version\n }\n ]);\n } else if ((0, $7b55ac603b97ae6e$export$da8baf1d6c6802b6)()) {\n await (0, $f0410b58de32386f$export$d73dc343f5abf26)([\n {\n name: \"curl\"\n }\n ]);\n const ubuntuVerSplitted = await (0, $d6a4ad0ff65d0a5e$export$49c9cf1111dfa0ee)();\n const ubuntuVersionString = `${ubuntuVerSplitted[0]}.0${ubuntuVerSplitted[1]}`;\n (0, $f52a2f1a707749bf$export$58f152936f209932)(\"curl\", [\n \"-LJO\",\n `https://packages.microsoft.com/config/ubuntu/${ubuntuVersionString}/packages-microsoft-prod.deb`\n ]);\n (0, $f52a2f1a707749bf$export$58f152936f209932)(\"dpkg\", [\n \"-i\",\n \"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 return (0, $f0410b58de32386f$export$d73dc343f5abf26)([\n {\n name: \"powershell\",\n version: version\n }\n ], true);\n }\n throw new Error(`Unsupported linux distribution`);\n default:\n throw new Error(`Unsupported platform`);\n }\n}\n\n\n\n\n\nfunction $bcbacc5f1ce862e1$export$b963b67cda80fdc(version, _setupDir, _arch) {\n switch(process.platform){\n case \"win32\":\n return (0, $ca3ee4fd324ae5e9$export$9f6912bc890040b2)(\"sccache\", version);\n case \"linux\":\n case \"darwin\":\n return (0, $10ddbd636565d4da$export$ce5d13d8a85cb784)(\"sccache\", version);\n default:\n throw new Error(`Unsupported platform`);\n }\n}\n\n\n\n\nvar $ceI0e = parcelRequire(\"ceI0e\");\n\n\n/** Get the platform name task uses in their download links */ function $19fb71dac36c98fd$var$getTaskPlatform(platform) {\n switch(platform){\n case \"win32\":\n return \"windows\";\n default:\n return platform;\n }\n}\n/** Get the arch name task uses in their download links */ function $19fb71dac36c98fd$var$getTaskArch(arch) {\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/** Get the platform data for task */ function $19fb71dac36c98fd$var$getTaskPackageInfo(version, platform, arch) {\n const taskPlatform = $19fb71dac36c98fd$var$getTaskPlatform(platform);\n const taskArch = $19fb71dac36c98fd$var$getTaskArch(arch);\n const isZip = platform === \"win32\";\n const extension = isZip ? \"zip\" : \"tar.gz\";\n return {\n binRelativeDir: \"\",\n binFileName: (0, $ceI0e.addExeExt)(\"task\"),\n extractedFolderName: \"\",\n extractFunction: isZip ? (0, $4615baf4c3b031c2$export$6411c5cbab21135b) : (0, $4615baf4c3b031c2$export$2ab07ac150064014),\n url: `https://github.com/go-task/task/releases/download/v${version}/task_${taskPlatform}_${taskArch}.${extension}`\n };\n}\nfunction $19fb71dac36c98fd$export$4456b3a3d3540077(version, setupDir, arch) {\n return (0, $d81b351c18e56f74$export$334f77c9844c21f6)(\"task\", version, $19fb71dac36c98fd$var$getTaskPackageInfo, setupDir, arch);\n}\n\n\n\n\nvar $ER74K = parcelRequire(\"ER74K\");\n\nvar $dOmbL = parcelRequire(\"dOmbL\");\n\nvar $ceI0e = parcelRequire(\"ceI0e\");\n\n\n\n\n\n\n\n\n\nlet $6de10099eaeb725f$var$hasVCPKG = false;\nasync function $6de10099eaeb725f$export$490bdba4ef3e3f82(_version, setupDir, _arch) {\n if (!$6de10099eaeb725f$var$hasVCPKG || (0, (/*@__PURE__*/$parcel$interopDefault($44f23bb49826ca87$exports))).sync(\"vcpkg\", {\n nothrow: true\n }) === null) {\n if (process.platform === \"linux\") {\n // vcpkg download and extraction dependencies\n if ((0, $84785c71f430250a$export$d415ddb6702ec3a2)()) await Promise.all([\n (0, $6f126e8fe01fa080$export$cfa75578ee2d6e6c)(\"curl\"),\n (0, $6f126e8fe01fa080$export$cfa75578ee2d6e6c)(\"zip\"),\n (0, $6f126e8fe01fa080$export$cfa75578ee2d6e6c)(\"unzip\"),\n (0, $6f126e8fe01fa080$export$cfa75578ee2d6e6c)(\"tar\"),\n (0, $6f126e8fe01fa080$export$cfa75578ee2d6e6c)(\"git\"),\n (0, $6f126e8fe01fa080$export$cfa75578ee2d6e6c)(\"pkg-config\")\n ]);\n else if ((0, $3cbfee605ac1e082$export$8ce8b4b22331a8c7)()) await (0, $7e2451edad050552$export$49d4f9ba8e0dd34f)([\n {\n name: \"curl\"\n },\n {\n name: \"zip\"\n },\n {\n name: \"unzip\"\n },\n {\n name: \"tar\"\n },\n {\n name: \"git\"\n },\n {\n name: \"pkg-config\"\n }\n ]);\n else if ((0, $7b55ac603b97ae6e$export$da8baf1d6c6802b6)()) await (0, $f0410b58de32386f$export$d73dc343f5abf26)([\n {\n name: \"curl\"\n },\n {\n name: \"zip\"\n },\n {\n name: \"unzip\"\n },\n {\n name: \"tar\"\n },\n {\n name: \"git\"\n },\n {\n name: \"pkg-config\"\n }\n ]);\n }\n if (!await (0, $dOmbL.pathExists)((0, $ceI0e.join)(setupDir, (0, $ceI0e.addShExt)(\"bootstrap-vcpkg\", \".bat\")))) (0, $8991d7a42fe4b480$export$28823a701bb5a12d)(\"git\", [\n \"clone\",\n \"https://github.com/microsoft/vcpkg\"\n ], {\n cwd: (0, $ceI0e.dirname)(setupDir),\n stdio: \"inherit\"\n });\n else (0, $ER74K.notice)(`Vcpkg folder already exists at ${setupDir}. This might mean that ~/vcpkg is restored from the cache.`);\n (0, $8991d7a42fe4b480$export$28823a701bb5a12d)((0, $ceI0e.addShExt)((0, $ceI0e.addShRelativePrefix)(\"bootstrap-vcpkg\"), \".bat\"), {\n cwd: setupDir,\n shell: true,\n stdio: \"inherit\"\n });\n await (0, $eaac287486c3124b$export$4718e061a205eab)(setupDir);\n await (0, $85fd7153285bfba5$export$4c25481b843feb0b)(setupDir);\n // eslint-disable-next-line require-atomic-updates\n $6de10099eaeb725f$var$hasVCPKG = true;\n return {\n binDir: setupDir\n };\n }\n return {\n binDir: (0, $ceI0e.dirname)((0, (/*@__PURE__*/$parcel$interopDefault($44f23bb49826ca87$exports))).sync(\"vcpkg\"))\n };\n}\n\n\n\nconst $f58f76cc72dbc50d$export$18a3521ac7306af4 = {\n nala: (0, $24fc56c48fbaa7ba$export$d73cbe8caeff03c5),\n cmake: (0, $cd6a37a8a2760b1d$export$c28663a621f418ce),\n ninja: (0, $c8e436f083063bf5$export$e6190f4bfe2ef71),\n python: (0, $ae5265b0f840d575$export$2b0b68e9df3d4a02),\n vcpkg: (0, $6de10099eaeb725f$export$490bdba4ef3e3f82),\n bazel: (0, $8550ac0edfced131$export$a66bc93580b0a849),\n conan: (0, $928be18130bb437a$export$249d0c7d779d362f),\n meson: (0, $841211d84f4a44cd$export$f73905553f087748),\n gcovr: (0, $9e5689f497201ccc$export$b98d69f362caf61f),\n opencppcoverage: (0, $54ef9c824222402f$export$6aa28a97600a8ae3),\n llvm: (0, $0213127e07869fde$export$3016de7ae9d14988),\n gcc: (0, $bd769018416dc7f2$export$405fab3de79b77b),\n choco: (0, $5540d46c90af649b$export$b804d731cdad7ef9),\n brew: (0, $b05e6e28215ee948$export$c5eeb9c87a610a0e),\n powershell: (0, $772fce954f353e90$export$1ff6ad96ee130aba),\n ccache: (0, $37a450505a669dce$export$111263621bbb0768),\n sccache: (0, $bcbacc5f1ce862e1$export$b963b67cda80fdc),\n doxygen: (0, $4b1f70d03c91cebd$export$b6e6613a954051ee),\n graphviz: (0, $9f6a19f1eee9e3b6$export$b885bd977caaafb9),\n cppcheck: (0, $6f659008f4a1ac73$export$13d77464c548b5d3),\n clangtidy: (0, $0213127e07869fde$export$814ccfc953503728),\n clangformat: (0, $0213127e07869fde$export$1cf2d186cecf1f54),\n msvc: (0, $756746e991f4f289$export$a91ef0362c1a7298),\n vcvarsall: (0, $ffa3775f67868b5f$export$5dcf571c91fc8369),\n kcov: (0, $a32e41fd6d9c05e4$export$abb7c2ff987b1f6b),\n make: (0, $b2527beb3f2e4071$export$b0a9411329e2916),\n task: (0, $19fb71dac36c98fd$export$4456b3a3d3540077),\n sevenzip: (0, $6285d3d29afbf608$export$5fc39629e14c8173)\n};\nconst $f58f76cc72dbc50d$export$904054328df186b = Object.keys($f58f76cc72dbc50d$export$18a3521ac7306af4);\nconst $f58f76cc72dbc50d$export$7b388ca536128c6d = [\n \"compiler\",\n \"architecture\",\n \"timeout\",\n ...$f58f76cc72dbc50d$export$904054328df186b\n];\n\n\nfunction $447038b429c54f91$export$7300a92932ee17a3(args) {\n return (0, $2fdf9153abf9f994$export$2e2bcd8739ae039)(args, {\n string: [\n ...(0, $f58f76cc72dbc50d$export$7b388ca536128c6d),\n \"timeout\"\n ],\n default: Object.fromEntries((0, $f58f76cc72dbc50d$export$7b388ca536128c6d).map((inp)=>[\n inp,\n $447038b429c54f91$export$fc4ce4d885cb1082(inp)\n ])),\n alias: {\n h: \"help\"\n },\n boolean: \"help\"\n });\n}\nfunction $447038b429c54f91$export$f57ebcae4da846e4() {\n (0, $ER74K.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--timeout\\t the timeout for the installation of each tool in minutes. By default it is 10 minutes.\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--$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`);\n console.table({\n \"compiler and analyzer\": {\n tools: `--llvm, --gcc, --msvc, --vcvarsall, --cppcheck, --clangtidy, --clangformat`\n },\n \"build system\": {\n tools: `--cmake, --ninja, --meson, --make, --task, --bazel`\n },\n \"package manager\": {\n tools: `--vcpkg, --conan, --choco, --brew, --nala`\n },\n cache: {\n tools: `--cppcache, --sccache`\n },\n documentation: {\n tools: `--doxygen, --graphviz`\n },\n coverage: {\n tools: `--gcovr, --opencppcoverage, --kcov`\n },\n other: {\n tools: `--python, --powershell, --sevenzip`\n }\n }, [\n \"tools\"\n ]);\n}\nfunction $447038b429c54f91$export$fc4ce4d885cb1082(key) {\n const value = (0, $lcRzN.getInput)(key.toLowerCase());\n if (value !== \"false\" && value !== \"\") return value;\n return undefined // skip installation\n ;\n}\nfunction $447038b429c54f91$export$ad22d805bb3bfaf5(tool, installationInfo) {\n let msg = `✅ ${tool} was installed successfully:`;\n if (installationInfo === undefined) return msg;\n if (\"installDir\" in installationInfo) msg += `\\n- The installation directory is ${installationInfo.installDir}`;\n if (installationInfo.binDir !== \"\") msg += `\\n- The binary directory is ${installationInfo.binDir}`;\n return msg;\n}\n\n\n\nvar $lcRzN = parcelRequire(\"lcRzN\");\n\nvar $ER74K = parcelRequire(\"ER74K\");\n\n\nvar $eJTZB = parcelRequire(\"eJTZB\");\n\n\n\n\n\n\n\nfunction $546e05b24c5c5b72$export$588248dee5258836(compilerAndVersion) {\n const compilerAndMaybeVersion = compilerAndVersion.split(\"-\");\n const compiler = compilerAndMaybeVersion[0];\n if (1 in compilerAndMaybeVersion) {\n const maybeVersion = compilerAndMaybeVersion[1];\n if ((0, (/*@__PURE__*/$parcel$interopDefault($eJTZB)))(maybeVersion) !== null) return {\n compiler: compiler,\n version: maybeVersion\n };\n else {\n (0, $ER74K.info)(`Invalid semver version ${maybeVersion} used for the compiler.`);\n return {\n compiler: compiler,\n version: maybeVersion\n };\n }\n }\n return {\n compiler: compiler,\n version: undefined\n };\n}\nasync function $546e05b24c5c5b72$export$4dabf89bf6376d2b(compilerAndVersion, osVersion, setupCppDir, arch, successMessages, hasLLVM, errorMessages) {\n try {\n const { compiler: compiler, version: version } = $546e05b24c5c5b72$export$588248dee5258836(compilerAndVersion);\n // install the compiler. We allow some aliases for the compiler name\n (0, $lcRzN.startGroup)(`Installing ${compiler} ${version ?? \"\"}`);\n switch(compiler){\n case \"llvm\":\n case \"clang\":\n case \"clang++\":\n {\n const installationInfo = await (0, $0213127e07869fde$export$3016de7ae9d14988)((0, $cb3b5dc5a4eadeb1$export$c506eb22e615ba4a)(\"llvm\", version, osVersion), (0, $d7DIX$path.join)(setupCppDir, \"llvm\"), arch);\n await (0, $9e5689f497201ccc$export$2a0488baf2a20c0f)();\n successMessages.push((0, $447038b429c54f91$export$ad22d805bb3bfaf5)(\"llvm\", installationInfo));\n break;\n }\n case \"gcc\":\n case \"mingw\":\n case \"cygwin\":\n case \"msys\":\n {\n const gccVersion = compiler === \"mingw\" ? (0, $cb3b5dc5a4eadeb1$export$c506eb22e615ba4a)(\"mingw\", version, osVersion) : (0, $cb3b5dc5a4eadeb1$export$c506eb22e615ba4a)(\"gcc\", version, osVersion);\n const installationInfo = compiler === \"mingw\" ? await (0, $bd769018416dc7f2$export$f115c01d224b9e9a)(gccVersion, (0, $d7DIX$path.join)(setupCppDir, \"gcc\"), arch) : await (0, $bd769018416dc7f2$export$405fab3de79b77b)(gccVersion, (0, $d7DIX$path.join)(setupCppDir, \"gcc\"), arch);\n if (hasLLVM) // remove back the added CPPFLAGS of LLVM that include the LLVM headers\n await (0, $85fd7153285bfba5$export$f63d3080ce25e0fd)(\"CPPFLAGS\", \"\");\n await (0, $9e5689f497201ccc$export$41dabde4775ee2aa)(gccVersion);\n successMessages.push((0, $447038b429c54f91$export$ad22d805bb3bfaf5)(\"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 {\n const installationInfo = await (0, $756746e991f4f289$export$a91ef0362c1a7298)((0, $cb3b5dc5a4eadeb1$export$c506eb22e615ba4a)(\"msvc\", version, osVersion), (0, $d7DIX$path.join)(setupCppDir, \"msvc\"), arch);\n if (hasLLVM) // remove the CPPFLAGS of LLVM that include the LLVM headers\n await (0, $85fd7153285bfba5$export$f63d3080ce25e0fd)(\"CPPFLAGS\", \"\");\n successMessages.push((0, $447038b429c54f91$export$ad22d805bb3bfaf5)(\"msvc\", installationInfo));\n break;\n }\n case \"appleclang\":\n case \"applellvm\":\n (0, $lcRzN.notice)(\"Assuming apple-clang is already installed\");\n await Promise.all([\n (0, $85fd7153285bfba5$export$f63d3080ce25e0fd)(\"CC\", \"clang\"),\n (0, $85fd7153285bfba5$export$f63d3080ce25e0fd)(\"CXX\", \"clang++\")\n ]);\n successMessages.push((0, $447038b429c54f91$export$ad22d805bb3bfaf5)(\"apple-clang\", undefined));\n break;\n default:\n errorMessages.push(`Unsupported compiler ${compiler}`);\n }\n } catch (err) {\n (0, $ER74K.error)(err);\n errorMessages.push(`Failed to install the ${compilerAndVersion}`);\n }\n (0, $lcRzN.endGroup)();\n}\n\n\n\n\n\n\n\n\n\n/** The main entry function */ async function $0e55037d0c830549$var$main(args) {\n let checkUpdatePromise = Promise.resolve();\n if (!(0, $dTX7a.GITHUB_ACTIONS)) {\n checkUpdatePromise = (0, $cb87868918740ed3$export$31c6d94eb20a8ca7)();\n process.env.ACTIONS_ALLOW_UNSECURE_COMMANDS = \"true\";\n }\n // parse options using mri or github actions\n const opts = (0, $447038b429c54f91$export$7300a92932ee17a3)(args);\n // print help\n if (opts.help) (0, $447038b429c54f91$export$f57ebcae4da846e4)();\n // cpu architecture\n const arch = opts.architecture ?? process.arch;\n // the installation dir for the tools that are downloaded directly\n const setupCppDir = process.env.SETUP_CPP_DIR ?? (0, $cc03115747abd396$export$8312d9eeba321950)(\"\");\n // report messages\n const successMessages = [];\n const errorMessages = [];\n const timeFormatter = $4ba97ccf92dfb41c$exports.create({\n autoloadLocales: true\n });\n $4ba97ccf92dfb41c$exports.addLocale((0, (/*@__PURE__*/$parcel$interopDefault($498ff720bdcc9abb$exports))));\n $ggaxg.addLocale((0, (/*@__PURE__*/$parcel$interopDefault($77f70800b555d1e7$exports))));\n let time1;\n let time2;\n // installing the specified tools\n const osVersion = await (0, $d6a4ad0ff65d0a5e$export$49c9cf1111dfa0ee)();\n // sync the version for the llvm tools\n if (!(0, $cb3b5dc5a4eadeb1$export$dd13a1e418f5a5fe)(opts, [\n \"llvm\",\n \"clangtidy\",\n \"clangformat\"\n ])) {\n (0, $ER74K.error)(\"The same version must be used for llvm, clangformat and clangtidy\");\n return 1;\n }\n if ((0, $84785c71f430250a$export$d415ddb6702ec3a2)() && typeof opts.cppcheck === \"string\" && typeof opts.gcovr === \"string\") {\n (0, $ER74K.info)(\"installing python-pygments to avoid conflicts with cppcheck and gcovr on Arch linux\");\n await (0, $6f126e8fe01fa080$export$cfa75578ee2d6e6c)(\"python-pygments\");\n }\n /** Used to unset CPPFLAGS of LLVM when other compilers are used as the main compiler */ let hasLLVM = false;\n // loop over the tools and run their setup function\n let failedFast = false;\n for (const tool of (0, $f58f76cc72dbc50d$export$904054328df186b)){\n // fail fast inside CI when any tool fails\n if (0, $dTX7a.isCI) {\n if (errorMessages.length !== 0) {\n failedFast = true;\n break;\n }\n }\n // get the version or \"true\" or undefined for this tool from the options\n const version = opts[tool];\n // skip if undefined\n if (version !== undefined) {\n // running the setup function for this tool\n time1 = Date.now();\n // eslint-disable-next-line no-await-in-loop\n hasLLVM = await (0, $38b6fc81fd22ef04$export$ddb4b945c8581272)(tool, version, osVersion, arch, setupCppDir, successMessages, errorMessages, parseFloat(opts.timeout ?? \"20\") * 60000);\n time2 = Date.now();\n (0, $ER74K.info)(`took ${timeFormatter.format(time1, time2) || \"0 seconds\"}`);\n }\n }\n if (!failedFast) {\n // installing the specified compiler\n const maybeCompiler = opts.compiler;\n if (maybeCompiler !== undefined) {\n const time1Compiler = Date.now();\n await (0, $546e05b24c5c5b72$export$4dabf89bf6376d2b)(maybeCompiler, osVersion, setupCppDir, arch, successMessages, hasLLVM, errorMessages);\n const time2Compiler = Date.now();\n (0, $ER74K.info)(`took ${timeFormatter.format(time1Compiler, time2Compiler) || \"0 seconds\"}`);\n }\n }\n await (0, $85fd7153285bfba5$export$ca46151966bee7ba)();\n if (successMessages.length === 0 && errorMessages.length === 0) {\n (0, $ER74K.warning)(\"setup-cpp was called without any arguments. Nothing to do.\");\n return 0;\n }\n // report the messages in the end\n successMessages.forEach((tool)=>(0, $ER74K.success)(tool));\n errorMessages.forEach((tool)=>(0, $ER74K.error)(tool));\n (0, $ER74K.info)(\"setup-cpp finished\");\n if (!(0, $dTX7a.GITHUB_ACTIONS)) switch(process.platform){\n case \"win32\":\n (0, $ER74K.warning)(\"Run `RefreshEnv.cmd` or restart your shell to update the environment.\");\n break;\n case \"linux\":\n case \"darwin\":\n (0, $ER74K.warning)(\"Run `source ~/.cpprc` or restart your shell to update the environment.\");\n break;\n default:\n }\n await checkUpdatePromise;\n return errorMessages.length === 0 ? 0 : 1 // exit with non-zero if any error message\n ;\n}\n// Run main\n$0e55037d0c830549$var$main(process.argv).then((ret)=>{\n process.exitCode = ret;\n}).catch((err)=>{\n (0, $ER74K.error)(\"main() panicked!\");\n (0, $ER74K.error)(err);\n process.exitCode = 1;\n});\n\n\n//# sourceMappingURL=setup-cpp.js.map\n","'use strict'\n\nconst vendors = require('./vendors.json')\n\nconst env = process.env\n\n// Used for testing only\nObject.defineProperty(exports, '_vendors', {\n value: vendors.map(function (v) {\n return v.constant\n })\n})\n\nexports.name = null\nexports.isPR = null\n\nvendors.forEach(function (vendor) {\n const envs = Array.isArray(vendor.env) ? vendor.env : [vendor.env]\n const isCI = envs.every(function (obj) {\n return checkEnv(obj)\n })\n\n exports[vendor.constant] = isCI\n\n if (!isCI) {\n return\n }\n\n exports.name = vendor.name\n\n switch (typeof vendor.pr) {\n case 'string':\n // \"pr\": \"CIRRUS_PR\"\n exports.isPR = !!env[vendor.pr]\n break\n case 'object':\n if ('env' in vendor.pr) {\n // \"pr\": { \"env\": \"BUILDKITE_PULL_REQUEST\", \"ne\": \"false\" }\n exports.isPR = vendor.pr.env in env && env[vendor.pr.env] !== vendor.pr.ne\n } else if ('any' in vendor.pr) {\n // \"pr\": { \"any\": [\"ghprbPullId\", \"CHANGE_ID\"] }\n exports.isPR = vendor.pr.any.some(function (key) {\n return !!env[key]\n })\n } else {\n // \"pr\": { \"DRONE_BUILD_EVENT\": \"pull_request\" }\n exports.isPR = checkEnv(vendor.pr)\n }\n break\n default:\n // PR detection not supported for this vendor\n exports.isPR = null\n }\n})\n\nexports.isCI = !!(\n env.CI !== 'false' && // Bypass all checks if CI env is explicitly set to 'false'\n (env.BUILD_ID || // Jenkins, Cloudbees\n env.BUILD_NUMBER || // Jenkins, TeamCity\n env.CI || // Travis CI, CircleCI, Cirrus CI, Gitlab CI, Appveyor, CodeShip, dsari\n env.CI_APP_ID || // Appflow\n env.CI_BUILD_ID || // Appflow\n env.CI_BUILD_NUMBER || // Appflow\n env.CI_NAME || // Codeship and others\n env.CONTINUOUS_INTEGRATION || // Travis CI, Cirrus CI\n env.RUN_ID || // TaskCluster, dsari\n exports.name ||\n false)\n)\n\nfunction checkEnv (obj) {\n // \"env\": \"CIRRUS\"\n if (typeof obj === 'string') return !!env[obj]\n\n // \"env\": { \"env\": \"NODE\", \"includes\": \"/app/.heroku/node/bin/node\" }\n if ('env' in obj) {\n // Currently there are no other types, uncomment when there are\n // if ('includes' in obj) {\n return env[obj.env] && env[obj.env].includes(obj.includes)\n // }\n }\n if ('any' in obj) {\n return obj.any.some(function (k) {\n return !!env[k]\n })\n }\n return Object.keys(obj).every(function (k) {\n return env[k] === obj[k]\n })\n}\n","[\n {\n \"name\": \"Appcircle\",\n \"constant\": \"APPCIRCLE\",\n \"env\": \"AC_APPCIRCLE\"\n },\n {\n \"name\": \"AppVeyor\",\n \"constant\": \"APPVEYOR\",\n \"env\": \"APPVEYOR\",\n \"pr\": \"APPVEYOR_PULL_REQUEST_NUMBER\"\n },\n {\n \"name\": \"AWS CodeBuild\",\n \"constant\": \"CODEBUILD\",\n \"env\": \"CODEBUILD_BUILD_ARN\"\n },\n {\n \"name\": \"Azure Pipelines\",\n \"constant\": \"AZURE_PIPELINES\",\n \"env\": \"SYSTEM_TEAMFOUNDATIONCOLLECTIONURI\",\n \"pr\": \"SYSTEM_PULLREQUEST_PULLREQUESTID\"\n },\n {\n \"name\": \"Bamboo\",\n \"constant\": \"BAMBOO\",\n \"env\": \"bamboo_planKey\"\n },\n {\n \"name\": \"Bitbucket Pipelines\",\n \"constant\": \"BITBUCKET\",\n \"env\": \"BITBUCKET_COMMIT\",\n \"pr\": \"BITBUCKET_PR_ID\"\n },\n {\n \"name\": \"Bitrise\",\n \"constant\": \"BITRISE\",\n \"env\": \"BITRISE_IO\",\n \"pr\": \"BITRISE_PULL_REQUEST\"\n },\n {\n \"name\": \"Buddy\",\n \"constant\": \"BUDDY\",\n \"env\": \"BUDDY_WORKSPACE_ID\",\n \"pr\": \"BUDDY_EXECUTION_PULL_REQUEST_ID\"\n },\n {\n \"name\": \"Buildkite\",\n \"constant\": \"BUILDKITE\",\n \"env\": \"BUILDKITE\",\n \"pr\": {\n \"env\": \"BUILDKITE_PULL_REQUEST\",\n \"ne\": \"false\"\n }\n },\n {\n \"name\": \"CircleCI\",\n \"constant\": \"CIRCLE\",\n \"env\": \"CIRCLECI\",\n \"pr\": \"CIRCLE_PULL_REQUEST\"\n },\n {\n \"name\": \"Cirrus CI\",\n \"constant\": \"CIRRUS\",\n \"env\": \"CIRRUS_CI\",\n \"pr\": \"CIRRUS_PR\"\n },\n {\n \"name\": \"Codefresh\",\n \"constant\": \"CODEFRESH\",\n \"env\": \"CF_BUILD_ID\",\n \"pr\": {\n \"any\": [\n \"CF_PULL_REQUEST_NUMBER\",\n \"CF_PULL_REQUEST_ID\"\n ]\n }\n },\n {\n \"name\": \"Codemagic\",\n \"constant\": \"CODEMAGIC\",\n \"env\": \"CM_BUILD_ID\",\n \"pr\": \"CM_PULL_REQUEST\"\n },\n {\n \"name\": \"Codeship\",\n \"constant\": \"CODESHIP\",\n \"env\": {\n \"CI_NAME\": \"codeship\"\n }\n },\n {\n \"name\": \"Drone\",\n \"constant\": \"DRONE\",\n \"env\": \"DRONE\",\n \"pr\": {\n \"DRONE_BUILD_EVENT\": \"pull_request\"\n }\n },\n {\n \"name\": \"dsari\",\n \"constant\": \"DSARI\",\n \"env\": \"DSARI\"\n },\n {\n \"name\": \"Expo Application Services\",\n \"constant\": \"EAS\",\n \"env\": \"EAS_BUILD\"\n },\n {\n \"name\": \"Gerrit\",\n \"constant\": \"GERRIT\",\n \"env\": \"GERRIT_PROJECT\"\n },\n {\n \"name\": \"GitHub Actions\",\n \"constant\": \"GITHUB_ACTIONS\",\n \"env\": \"GITHUB_ACTIONS\",\n \"pr\": {\n \"GITHUB_EVENT_NAME\": \"pull_request\"\n }\n },\n {\n \"name\": \"GitLab CI\",\n \"constant\": \"GITLAB\",\n \"env\": \"GITLAB_CI\",\n \"pr\": \"CI_MERGE_REQUEST_ID\"\n },\n {\n \"name\": \"GoCD\",\n \"constant\": \"GOCD\",\n \"env\": \"GO_PIPELINE_LABEL\"\n },\n {\n \"name\": \"Google Cloud Build\",\n \"constant\": \"GOOGLE_CLOUD_BUILD\",\n \"env\": \"BUILDER_OUTPUT\"\n },\n {\n \"name\": \"Harness CI\",\n \"constant\": \"HARNESS\",\n \"env\": \"HARNESS_BUILD_ID\"\n },\n {\n \"name\": \"Heroku\",\n \"constant\": \"HEROKU\",\n \"env\": {\n \"env\": \"NODE\",\n \"includes\": \"/app/.heroku/node/bin/node\"\n }\n },\n {\n \"name\": \"Hudson\",\n \"constant\": \"HUDSON\",\n \"env\": \"HUDSON_URL\"\n },\n {\n \"name\": \"Jenkins\",\n \"constant\": \"JENKINS\",\n \"env\": [\n \"JENKINS_URL\",\n \"BUILD_ID\"\n ],\n \"pr\": {\n \"any\": [\n \"ghprbPullId\",\n \"CHANGE_ID\"\n ]\n }\n },\n {\n \"name\": \"LayerCI\",\n \"constant\": \"LAYERCI\",\n \"env\": \"LAYERCI\",\n \"pr\": \"LAYERCI_PULL_REQUEST\"\n },\n {\n \"name\": \"Magnum CI\",\n \"constant\": \"MAGNUM\",\n \"env\": \"MAGNUM\"\n },\n {\n \"name\": \"Netlify CI\",\n \"constant\": \"NETLIFY\",\n \"env\": \"NETLIFY\",\n \"pr\": {\n \"env\": \"PULL_REQUEST\",\n \"ne\": \"false\"\n }\n },\n {\n \"name\": \"Nevercode\",\n \"constant\": \"NEVERCODE\",\n \"env\": \"NEVERCODE\",\n \"pr\": {\n \"env\": \"NEVERCODE_PULL_REQUEST\",\n \"ne\": \"false\"\n }\n },\n {\n \"name\": \"ReleaseHub\",\n \"constant\": \"RELEASEHUB\",\n \"env\": \"RELEASE_BUILD_ID\"\n },\n {\n \"name\": \"Render\",\n \"constant\": \"RENDER\",\n \"env\": \"RENDER\",\n \"pr\": {\n \"IS_PULL_REQUEST\": \"true\"\n }\n },\n {\n \"name\": \"Sail CI\",\n \"constant\": \"SAIL\",\n \"env\": \"SAILCI\",\n \"pr\": \"SAIL_PULL_REQUEST_NUMBER\"\n },\n {\n \"name\": \"Screwdriver\",\n \"constant\": \"SCREWDRIVER\",\n \"env\": \"SCREWDRIVER\",\n \"pr\": {\n \"env\": \"SD_PULL_REQUEST\",\n \"ne\": \"false\"\n }\n },\n {\n \"name\": \"Semaphore\",\n \"constant\": \"SEMAPHORE\",\n \"env\": \"SEMAPHORE\",\n \"pr\": \"PULL_REQUEST_NUMBER\"\n },\n {\n \"name\": \"Shippable\",\n \"constant\": \"SHIPPABLE\",\n \"env\": \"SHIPPABLE\",\n \"pr\": {\n \"IS_PULL_REQUEST\": \"true\"\n }\n },\n {\n \"name\": \"Solano CI\",\n \"constant\": \"SOLANO\",\n \"env\": \"TDDIUM\",\n \"pr\": \"TDDIUM_PR_ID\"\n },\n {\n \"name\": \"Sourcehut\",\n \"constant\": \"SOURCEHUT\",\n \"env\": {\n \"CI_NAME\": \"sourcehut\"\n }\n },\n {\n \"name\": \"Strider CD\",\n \"constant\": \"STRIDER\",\n \"env\": \"STRIDER\"\n },\n {\n \"name\": \"TaskCluster\",\n \"constant\": \"TASKCLUSTER\",\n \"env\": [\n \"TASK_ID\",\n \"RUN_ID\"\n ]\n },\n {\n \"name\": \"TeamCity\",\n \"constant\": \"TEAMCITY\",\n \"env\": \"TEAMCITY_VERSION\"\n },\n {\n \"name\": \"Travis CI\",\n \"constant\": \"TRAVIS\",\n \"env\": \"TRAVIS\",\n \"pr\": {\n \"env\": \"TRAVIS_PULL_REQUEST\",\n \"ne\": \"false\"\n }\n },\n {\n \"name\": \"Vercel\",\n \"constant\": \"VERCEL\",\n \"env\": {\n \"any\": [\n \"NOW_BUILDER\",\n \"VERCEL\"\n ]\n }\n },\n {\n \"name\": \"Visual Studio App Center\",\n \"constant\": \"APPCENTER\",\n \"env\": \"APPCENTER_BUILD_ID\"\n },\n {\n \"name\": \"Woodpecker\",\n \"constant\": \"WOODPECKER\",\n \"env\": {\n \"CI\": \"woodpecker\"\n },\n \"pr\": {\n \"CI_BUILD_EVENT\": \"pull_request\"\n }\n },\n {\n \"name\": \"Xcode Cloud\",\n \"constant\": \"XCODE_CLOUD\",\n \"env\": \"CI_XCODE_PROJECT\",\n \"pr\": \"CI_PULL_REQUEST_NUMBER\"\n },\n {\n \"name\": \"Xcode Server\",\n \"constant\": \"XCODE_SERVER\",\n \"env\": \"XCS\"\n }\n]\n","import * as core from \"@actions/core\"\nimport { GITHUB_ACTIONS } from \"ci-info\"\n\nexport function error(err: string | Error) {\n return 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 GITHUB_ACTIONS ? core.warning(msg) : console.log(`\\x1b[33m${msg}\\x1b[0m`)\n}\n\nexport function notice(msg: string) {\n return GITHUB_ACTIONS ? core.notice(msg) : console.log(`\\x1b[94m${msg}\\x1b[0m`)\n}\n\nexport function info(msg: string) {\n return GITHUB_ACTIONS ? core.info(msg) : console.log(msg)\n}\n",null,null,null,null,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,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,null,null,null,"(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","\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","// 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","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","// just pre-load all the stuff that index.js lazily exports\nconst internalRe = require('./internal/re')\nconst constants = require('./internal/constants')\nconst SemVer = require('./classes/semver')\nconst identifiers = require('./internal/identifiers')\nconst parse = require('./functions/parse')\nconst valid = require('./functions/valid')\nconst clean = require('./functions/clean')\nconst inc = require('./functions/inc')\nconst diff = require('./functions/diff')\nconst major = require('./functions/major')\nconst minor = require('./functions/minor')\nconst patch = require('./functions/patch')\nconst prerelease = require('./functions/prerelease')\nconst compare = require('./functions/compare')\nconst rcompare = require('./functions/rcompare')\nconst compareLoose = require('./functions/compare-loose')\nconst compareBuild = require('./functions/compare-build')\nconst sort = require('./functions/sort')\nconst rsort = require('./functions/rsort')\nconst gt = require('./functions/gt')\nconst lt = require('./functions/lt')\nconst eq = require('./functions/eq')\nconst neq = require('./functions/neq')\nconst gte = require('./functions/gte')\nconst lte = require('./functions/lte')\nconst cmp = require('./functions/cmp')\nconst coerce = require('./functions/coerce')\nconst Comparator = require('./classes/comparator')\nconst Range = require('./classes/range')\nconst satisfies = require('./functions/satisfies')\nconst toComparators = require('./ranges/to-comparators')\nconst maxSatisfying = require('./ranges/max-satisfying')\nconst minSatisfying = require('./ranges/min-satisfying')\nconst minVersion = require('./ranges/min-version')\nconst validRange = require('./ranges/valid')\nconst outside = require('./ranges/outside')\nconst gtr = require('./ranges/gtr')\nconst ltr = require('./ranges/ltr')\nconst intersects = require('./ranges/intersects')\nconst simplifyRange = require('./ranges/simplify')\nconst subset = require('./ranges/subset')\nmodule.exports = {\n parse,\n valid,\n clean,\n inc,\n diff,\n major,\n minor,\n patch,\n prerelease,\n compare,\n rcompare,\n compareLoose,\n compareBuild,\n sort,\n rsort,\n gt,\n lt,\n eq,\n neq,\n gte,\n lte,\n cmp,\n coerce,\n Comparator,\n Range,\n satisfies,\n toComparators,\n maxSatisfying,\n minSatisfying,\n minVersion,\n validRange,\n outside,\n gtr,\n ltr,\n intersects,\n simplifyRange,\n subset,\n SemVer,\n re: internalRe.re,\n src: internalRe.src,\n tokens: internalRe.t,\n SEMVER_SPEC_VERSION: constants.SEMVER_SPEC_VERSION,\n RELEASE_TYPES: constants.RELEASE_TYPES,\n compareIdentifiers: identifiers.compareIdentifiers,\n rcompareIdentifiers: identifiers.rcompareIdentifiers,\n}\n","const {\n MAX_SAFE_COMPONENT_LENGTH,\n MAX_SAFE_BUILD_LENGTH,\n MAX_LENGTH,\n} = require('./constants')\nconst debug = require('./debug')\nexports = module.exports = {}\n\n// The actual regexps go on exports.re\nconst re = exports.re = []\nconst safeRe = exports.safeRe = []\nconst src = exports.src = []\nconst t = exports.t = {}\nlet R = 0\n\nconst LETTERDASHNUMBER = '[a-zA-Z0-9-]'\n\n// Replace some greedy regex tokens to prevent regex dos issues. These regex are\n// used internally via the safeRe object since all inputs in this library get\n// normalized first to trim and collapse all extra whitespace. The original\n// regexes are exported for userland consumption and lower level usage. A\n// future breaking change could export the safer regex only with a note that\n// all input should have extra whitespace removed.\nconst safeRegexReplacements = [\n ['\\\\s', 1],\n ['\\\\d', MAX_LENGTH],\n [LETTERDASHNUMBER, MAX_SAFE_BUILD_LENGTH],\n]\n\nconst makeSafeRegex = (value) => {\n for (const [token, max] of safeRegexReplacements) {\n value = value\n .split(`${token}*`).join(`${token}{0,${max}}`)\n .split(`${token}+`).join(`${token}{1,${max}}`)\n }\n return value\n}\n\nconst createToken = (name, value, isGlobal) => {\n const safe = makeSafeRegex(value)\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 safeRe[index] = new RegExp(safe, 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', '\\\\d+')\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-]${LETTERDASHNUMBER}*`)\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', `${LETTERDASHNUMBER}+`)\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\n// Max safe length for a build identifier. The max length minus 6 characters for\n// the shortest version with a build 0.0.0+BUILD.\nconst MAX_SAFE_BUILD_LENGTH = MAX_LENGTH - 6\n\nconst RELEASE_TYPES = [\n 'major',\n 'premajor',\n 'minor',\n 'preminor',\n 'patch',\n 'prepatch',\n 'prerelease',\n]\n\nmodule.exports = {\n MAX_LENGTH,\n MAX_SAFE_COMPONENT_LENGTH,\n MAX_SAFE_BUILD_LENGTH,\n MAX_SAFE_INTEGER,\n RELEASE_TYPES,\n SEMVER_SPEC_VERSION,\n FLAG_INCLUDE_PRERELEASE: 0b001,\n FLAG_LOOSE: 0b010,\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 { safeRe: 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. Must be a string. Got type \"${typeof 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, identifierBase) {\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, identifierBase)\n break\n case 'preminor':\n this.prerelease.length = 0\n this.patch = 0\n this.minor++\n this.inc('pre', identifier, identifierBase)\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, identifierBase)\n this.inc('pre', identifier, identifierBase)\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, identifierBase)\n }\n this.inc('pre', identifier, identifierBase)\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 const base = Number(identifierBase) ? 1 : 0\n\n if (!identifier && identifierBase === false) {\n throw new Error('invalid increment argument: identifier is empty')\n }\n\n if (this.prerelease.length === 0) {\n this.prerelease = [base]\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 if (identifier === this.prerelease.join('.') && identifierBase === false) {\n throw new Error('invalid increment argument: identifier already exists')\n }\n this.prerelease.push(base)\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 let prerelease = [identifier, base]\n if (identifierBase === false) {\n prerelease = [identifier]\n }\n if (compareIdentifiers(this.prerelease[0], identifier) === 0) {\n if (isNaN(this.prerelease[1])) {\n this.prerelease = prerelease\n }\n } else {\n this.prerelease = prerelease\n }\n }\n break\n }\n default:\n throw new Error(`invalid increment argument: ${release}`)\n }\n this.raw = this.format()\n if (this.build.length) {\n this.raw += `+${this.build.join('.')}`\n }\n return this\n }\n}\n\nmodule.exports = SemVer\n","// parse out just the options we care about\nconst looseOption = Object.freeze({ loose: true })\nconst emptyOpts = Object.freeze({ })\nconst parseOptions = options => {\n if (!options) {\n return emptyOpts\n }\n\n if (typeof options !== 'object') {\n return looseOption\n }\n\n return options\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 SemVer = require('../classes/semver')\nconst parse = (version, options, throwErrors = false) => {\n if (version instanceof SemVer) {\n return version\n }\n try {\n return new SemVer(version, options)\n } catch (er) {\n if (!throwErrors) {\n return null\n }\n throw er\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, identifierBase) => {\n if (typeof (options) === 'string') {\n identifierBase = identifier\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, identifierBase).version\n } catch (er) {\n return null\n }\n}\nmodule.exports = inc\n","const parse = require('./parse.js')\n\nconst diff = (version1, version2) => {\n const v1 = parse(version1, null, true)\n const v2 = parse(version2, null, true)\n const comparison = v1.compare(v2)\n\n if (comparison === 0) {\n return null\n }\n\n const v1Higher = comparison > 0\n const highVersion = v1Higher ? v1 : v2\n const lowVersion = v1Higher ? v2 : v1\n const highHasPre = !!highVersion.prerelease.length\n const lowHasPre = !!lowVersion.prerelease.length\n\n if (lowHasPre && !highHasPre) {\n // Going from prerelease -> no prerelease requires some special casing\n\n // If the low version has only a major, then it will always be a major\n // Some examples:\n // 1.0.0-1 -> 1.0.0\n // 1.0.0-1 -> 1.1.1\n // 1.0.0-1 -> 2.0.0\n if (!lowVersion.patch && !lowVersion.minor) {\n return 'major'\n }\n\n // Otherwise it can be determined by checking the high version\n\n if (highVersion.patch) {\n // anything higher than a patch bump would result in the wrong version\n return 'patch'\n }\n\n if (highVersion.minor) {\n // anything higher than a minor bump would result in the wrong version\n return 'minor'\n }\n\n // bumping major/minor/patch all have same result\n return 'major'\n }\n\n // add the `pre` prefix if we are going to a prerelease version\n const prefix = highHasPre ? 'pre' : ''\n\n if (v1.major !== v2.major) {\n return prefix + 'major'\n }\n\n if (v1.minor !== v2.minor) {\n return prefix + 'minor'\n }\n\n if (v1.patch !== v2.patch) {\n return prefix + 'patch'\n }\n\n // high and low are preleases\n return 'prerelease'\n}\n\nmodule.exports = diff\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 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 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 eq = (a, b, loose) => compare(a, b, loose) === 0\nmodule.exports = eq\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 { safeRe: 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 comp = comp.trim().split(/\\s+/).join(' ')\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 (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 options = parseOptions(options)\n\n // Special cases where nothing can possibly be lower\n if (options.includePrerelease &&\n (this.value === '<0.0.0-0' || comp.value === '<0.0.0-0')) {\n return false\n }\n if (!options.includePrerelease &&\n (this.value.startsWith('<0.0.0') || comp.value.startsWith('<0.0.0'))) {\n return false\n }\n\n // Same direction increasing (> or >=)\n if (this.operator.startsWith('>') && comp.operator.startsWith('>')) {\n return true\n }\n // Same direction decreasing (< or <=)\n if (this.operator.startsWith('<') && comp.operator.startsWith('<')) {\n return true\n }\n // same SemVer and both sides are inclusive (<= or >=)\n if (\n (this.semver.version === comp.semver.version) &&\n this.operator.includes('=') && comp.operator.includes('=')) {\n return true\n }\n // opposite directions less than\n if (cmp(this.semver, '<', comp.semver, options) &&\n this.operator.startsWith('>') && comp.operator.startsWith('<')) {\n return true\n }\n // opposite directions greater than\n if (cmp(this.semver, '>', comp.semver, options) &&\n this.operator.startsWith('<') && comp.operator.startsWith('>')) {\n return true\n }\n return false\n }\n}\n\nmodule.exports = Comparator\n\nconst parseOptions = require('../internal/parse-options')\nconst { safeRe: 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 reduce all whitespace as much as possible so we do not have to rely\n // on potentially slow regexes like \\s*. This is then stored and used for\n // future error messages as well.\n this.raw = range\n .trim()\n .split(/\\s+/)\n .join(' ')\n\n // First, split on ||\n this.set = this.raw\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: ${this.raw}`)\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) => comps.join(' ').trim())\n .join('||')\n .trim()\n return this.range\n }\n\n toString () {\n return this.range\n }\n\n parseRange (range) {\n // memoize range parsing for performance.\n // this is a very hot path, and fully deterministic.\n const memoOpts =\n (this.options.includePrerelease && FLAG_INCLUDE_PRERELEASE) |\n (this.options.loose && FLAG_LOOSE)\n const memoKey = 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\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 debug('tilde trim', range)\n\n // `^ 1.2.3` => `^1.2.3`\n range = range.replace(re[t.CARETTRIM], caretTrimReplace)\n debug('caret trim', range)\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}\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 safeRe: re,\n t,\n comparatorTrimReplace,\n tildeTrimReplace,\n caretTrimReplace,\n} = require('../internal/re')\nconst { FLAG_INCLUDE_PRERELEASE, FLAG_LOOSE } = require('../internal/constants')\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\n// ~0.0.1 --> >=0.0.1 <0.1.0-0\nconst replaceTildes = (comp, options) => {\n return comp\n .trim()\n .split(/\\s+/)\n .map((c) => replaceTilde(c, options))\n .join(' ')\n}\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\n// ^0.0.1 --> >=0.0.1 <0.0.2-0\n// ^0.1.0 --> >=0.1.0 <0.2.0-0\nconst replaceCarets = (comp, options) => {\n return comp\n .trim()\n .split(/\\s+/)\n .map((c) => replaceCaret(c, options))\n .join(' ')\n}\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\n .split(/\\s+/)\n .map((c) => 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\n .trim()\n .replace(re[t.STAR], '')\n}\n\nconst replaceGTE0 = (comp, options) => {\n debug('replaceGTE0', comp, options)\n return comp\n .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","'use strict'\n\n// A linked list to keep track of recently-used-ness\nconst Yallist = require('yallist')\n\nconst MAX = Symbol('max')\nconst LENGTH = Symbol('length')\nconst LENGTH_CALCULATOR = Symbol('lengthCalculator')\nconst ALLOW_STALE = Symbol('allowStale')\nconst MAX_AGE = Symbol('maxAge')\nconst DISPOSE = Symbol('dispose')\nconst NO_DISPOSE_ON_SET = Symbol('noDisposeOnSet')\nconst LRU_LIST = Symbol('lruList')\nconst CACHE = Symbol('cache')\nconst UPDATE_AGE_ON_GET = Symbol('updateAgeOnGet')\n\nconst naiveLength = () => 1\n\n// lruList is a yallist where the head is the youngest\n// item, and the tail is the oldest. the list contains the Hit\n// objects as the entries.\n// Each Hit object has a reference to its Yallist.Node. This\n// never changes.\n//\n// cache is a Map (or PseudoMap) that matches the keys to\n// the Yallist.Node object.\nclass LRUCache {\n constructor (options) {\n if (typeof options === 'number')\n options = { max: options }\n\n if (!options)\n options = {}\n\n if (options.max && (typeof options.max !== 'number' || options.max < 0))\n throw new TypeError('max must be a non-negative number')\n // Kind of weird to have a default max of Infinity, but oh well.\n const max = this[MAX] = options.max || Infinity\n\n const lc = options.length || naiveLength\n this[LENGTH_CALCULATOR] = (typeof lc !== 'function') ? naiveLength : lc\n this[ALLOW_STALE] = options.stale || false\n if (options.maxAge && typeof options.maxAge !== 'number')\n throw new TypeError('maxAge must be a number')\n this[MAX_AGE] = options.maxAge || 0\n this[DISPOSE] = options.dispose\n this[NO_DISPOSE_ON_SET] = options.noDisposeOnSet || false\n this[UPDATE_AGE_ON_GET] = options.updateAgeOnGet || false\n this.reset()\n }\n\n // resize the cache when the max changes.\n set max (mL) {\n if (typeof mL !== 'number' || mL < 0)\n throw new TypeError('max must be a non-negative number')\n\n this[MAX] = mL || Infinity\n trim(this)\n }\n get max () {\n return this[MAX]\n }\n\n set allowStale (allowStale) {\n this[ALLOW_STALE] = !!allowStale\n }\n get allowStale () {\n return this[ALLOW_STALE]\n }\n\n set maxAge (mA) {\n if (typeof mA !== 'number')\n throw new TypeError('maxAge must be a non-negative number')\n\n this[MAX_AGE] = mA\n trim(this)\n }\n get maxAge () {\n return this[MAX_AGE]\n }\n\n // resize the cache when the lengthCalculator changes.\n set lengthCalculator (lC) {\n if (typeof lC !== 'function')\n lC = naiveLength\n\n if (lC !== this[LENGTH_CALCULATOR]) {\n this[LENGTH_CALCULATOR] = lC\n this[LENGTH] = 0\n this[LRU_LIST].forEach(hit => {\n hit.length = this[LENGTH_CALCULATOR](hit.value, hit.key)\n this[LENGTH] += hit.length\n })\n }\n trim(this)\n }\n get lengthCalculator () { return this[LENGTH_CALCULATOR] }\n\n get length () { return this[LENGTH] }\n get itemCount () { return this[LRU_LIST].length }\n\n rforEach (fn, thisp) {\n thisp = thisp || this\n for (let walker = this[LRU_LIST].tail; walker !== null;) {\n const prev = walker.prev\n forEachStep(this, fn, walker, thisp)\n walker = prev\n }\n }\n\n forEach (fn, thisp) {\n thisp = thisp || this\n for (let walker = this[LRU_LIST].head; walker !== null;) {\n const next = walker.next\n forEachStep(this, fn, walker, thisp)\n walker = next\n }\n }\n\n keys () {\n return this[LRU_LIST].toArray().map(k => k.key)\n }\n\n values () {\n return this[LRU_LIST].toArray().map(k => k.value)\n }\n\n reset () {\n if (this[DISPOSE] &&\n this[LRU_LIST] &&\n this[LRU_LIST].length) {\n this[LRU_LIST].forEach(hit => this[DISPOSE](hit.key, hit.value))\n }\n\n this[CACHE] = new Map() // hash of items by key\n this[LRU_LIST] = new Yallist() // list of items in order of use recency\n this[LENGTH] = 0 // length of items in the list\n }\n\n dump () {\n return this[LRU_LIST].map(hit =>\n isStale(this, hit) ? false : {\n k: hit.key,\n v: hit.value,\n e: hit.now + (hit.maxAge || 0)\n }).toArray().filter(h => h)\n }\n\n dumpLru () {\n return this[LRU_LIST]\n }\n\n set (key, value, maxAge) {\n maxAge = maxAge || this[MAX_AGE]\n\n if (maxAge && typeof maxAge !== 'number')\n throw new TypeError('maxAge must be a number')\n\n const now = maxAge ? Date.now() : 0\n const len = this[LENGTH_CALCULATOR](value, key)\n\n if (this[CACHE].has(key)) {\n if (len > this[MAX]) {\n del(this, this[CACHE].get(key))\n return false\n }\n\n const node = this[CACHE].get(key)\n const item = node.value\n\n // dispose of the old one before overwriting\n // split out into 2 ifs for better coverage tracking\n if (this[DISPOSE]) {\n if (!this[NO_DISPOSE_ON_SET])\n this[DISPOSE](key, item.value)\n }\n\n item.now = now\n item.maxAge = maxAge\n item.value = value\n this[LENGTH] += len - item.length\n item.length = len\n this.get(key)\n trim(this)\n return true\n }\n\n const hit = new Entry(key, value, len, now, maxAge)\n\n // oversized objects fall out of cache automatically.\n if (hit.length > this[MAX]) {\n if (this[DISPOSE])\n this[DISPOSE](key, value)\n\n return false\n }\n\n this[LENGTH] += hit.length\n this[LRU_LIST].unshift(hit)\n this[CACHE].set(key, this[LRU_LIST].head)\n trim(this)\n return true\n }\n\n has (key) {\n if (!this[CACHE].has(key)) return false\n const hit = this[CACHE].get(key).value\n return !isStale(this, hit)\n }\n\n get (key) {\n return get(this, key, true)\n }\n\n peek (key) {\n return get(this, key, false)\n }\n\n pop () {\n const node = this[LRU_LIST].tail\n if (!node)\n return null\n\n del(this, node)\n return node.value\n }\n\n del (key) {\n del(this, this[CACHE].get(key))\n }\n\n load (arr) {\n // reset the cache\n this.reset()\n\n const now = Date.now()\n // A previous serialized cache has the most recent items first\n for (let l = arr.length - 1; l >= 0; l--) {\n const hit = arr[l]\n const expiresAt = hit.e || 0\n if (expiresAt === 0)\n // the item was created without expiration in a non aged cache\n this.set(hit.k, hit.v)\n else {\n const maxAge = expiresAt - now\n // dont add already expired items\n if (maxAge > 0) {\n this.set(hit.k, hit.v, maxAge)\n }\n }\n }\n }\n\n prune () {\n this[CACHE].forEach((value, key) => get(this, key, false))\n }\n}\n\nconst get = (self, key, doUse) => {\n const node = self[CACHE].get(key)\n if (node) {\n const hit = node.value\n if (isStale(self, hit)) {\n del(self, node)\n if (!self[ALLOW_STALE])\n return undefined\n } else {\n if (doUse) {\n if (self[UPDATE_AGE_ON_GET])\n node.value.now = Date.now()\n self[LRU_LIST].unshiftNode(node)\n }\n }\n return hit.value\n }\n}\n\nconst isStale = (self, hit) => {\n if (!hit || (!hit.maxAge && !self[MAX_AGE]))\n return false\n\n const diff = Date.now() - hit.now\n return hit.maxAge ? diff > hit.maxAge\n : self[MAX_AGE] && (diff > self[MAX_AGE])\n}\n\nconst trim = self => {\n if (self[LENGTH] > self[MAX]) {\n for (let walker = self[LRU_LIST].tail;\n self[LENGTH] > self[MAX] && walker !== null;) {\n // We know that we're about to delete this one, and also\n // what the next least recently used key will be, so just\n // go ahead and set it now.\n const prev = walker.prev\n del(self, walker)\n walker = prev\n }\n }\n}\n\nconst del = (self, node) => {\n if (node) {\n const hit = node.value\n if (self[DISPOSE])\n self[DISPOSE](hit.key, hit.value)\n\n self[LENGTH] -= hit.length\n self[CACHE].delete(hit.key)\n self[LRU_LIST].removeNode(node)\n }\n}\n\nclass Entry {\n constructor (key, value, length, now, maxAge) {\n this.key = key\n this.value = value\n this.length = length\n this.now = now\n this.maxAge = maxAge || 0\n }\n}\n\nconst forEachStep = (self, fn, node, thisp) => {\n let hit = node.value\n if (isStale(self, hit)) {\n del(self, node)\n if (!self[ALLOW_STALE])\n hit = undefined\n }\n if (hit)\n fn.call(thisp, hit.value, hit.key, self)\n}\n\nmodule.exports = LRUCache\n","'use strict'\nmodule.exports = Yallist\n\nYallist.Node = Node\nYallist.create = Yallist\n\nfunction Yallist (list) {\n var self = this\n if (!(self instanceof Yallist)) {\n self = new Yallist()\n }\n\n self.tail = null\n self.head = null\n self.length = 0\n\n if (list && typeof list.forEach === 'function') {\n list.forEach(function (item) {\n self.push(item)\n })\n } else if (arguments.length > 0) {\n for (var i = 0, l = arguments.length; i < l; i++) {\n self.push(arguments[i])\n }\n }\n\n return self\n}\n\nYallist.prototype.removeNode = function (node) {\n if (node.list !== this) {\n throw new Error('removing node which does not belong to this list')\n }\n\n var next = node.next\n var prev = node.prev\n\n if (next) {\n next.prev = prev\n }\n\n if (prev) {\n prev.next = next\n }\n\n if (node === this.head) {\n this.head = next\n }\n if (node === this.tail) {\n this.tail = prev\n }\n\n node.list.length--\n node.next = null\n node.prev = null\n node.list = null\n\n return next\n}\n\nYallist.prototype.unshiftNode = function (node) {\n if (node === this.head) {\n return\n }\n\n if (node.list) {\n node.list.removeNode(node)\n }\n\n var head = this.head\n node.list = this\n node.next = head\n if (head) {\n head.prev = node\n }\n\n this.head = node\n if (!this.tail) {\n this.tail = node\n }\n this.length++\n}\n\nYallist.prototype.pushNode = function (node) {\n if (node === this.tail) {\n return\n }\n\n if (node.list) {\n node.list.removeNode(node)\n }\n\n var tail = this.tail\n node.list = this\n node.prev = tail\n if (tail) {\n tail.next = node\n }\n\n this.tail = node\n if (!this.head) {\n this.head = node\n }\n this.length++\n}\n\nYallist.prototype.push = function () {\n for (var i = 0, l = arguments.length; i < l; i++) {\n push(this, arguments[i])\n }\n return this.length\n}\n\nYallist.prototype.unshift = function () {\n for (var i = 0, l = arguments.length; i < l; i++) {\n unshift(this, arguments[i])\n }\n return this.length\n}\n\nYallist.prototype.pop = function () {\n if (!this.tail) {\n return undefined\n }\n\n var res = this.tail.value\n this.tail = this.tail.prev\n if (this.tail) {\n this.tail.next = null\n } else {\n this.head = null\n }\n this.length--\n return res\n}\n\nYallist.prototype.shift = function () {\n if (!this.head) {\n return undefined\n }\n\n var res = this.head.value\n this.head = this.head.next\n if (this.head) {\n this.head.prev = null\n } else {\n this.tail = null\n }\n this.length--\n return res\n}\n\nYallist.prototype.forEach = function (fn, thisp) {\n thisp = thisp || this\n for (var walker = this.head, i = 0; walker !== null; i++) {\n fn.call(thisp, walker.value, i, this)\n walker = walker.next\n }\n}\n\nYallist.prototype.forEachReverse = function (fn, thisp) {\n thisp = thisp || this\n for (var walker = this.tail, i = this.length - 1; walker !== null; i--) {\n fn.call(thisp, walker.value, i, this)\n walker = walker.prev\n }\n}\n\nYallist.prototype.get = function (n) {\n for (var i = 0, walker = this.head; walker !== null && i < n; i++) {\n // abort out of the list early if we hit a cycle\n walker = walker.next\n }\n if (i === n && walker !== null) {\n return walker.value\n }\n}\n\nYallist.prototype.getReverse = function (n) {\n for (var i = 0, walker = this.tail; walker !== null && i < n; i++) {\n // abort out of the list early if we hit a cycle\n walker = walker.prev\n }\n if (i === n && walker !== null) {\n return walker.value\n }\n}\n\nYallist.prototype.map = function (fn, thisp) {\n thisp = thisp || this\n var res = new Yallist()\n for (var walker = this.head; walker !== null;) {\n res.push(fn.call(thisp, walker.value, this))\n walker = walker.next\n }\n return res\n}\n\nYallist.prototype.mapReverse = function (fn, thisp) {\n thisp = thisp || this\n var res = new Yallist()\n for (var walker = this.tail; walker !== null;) {\n res.push(fn.call(thisp, walker.value, this))\n walker = walker.prev\n }\n return res\n}\n\nYallist.prototype.reduce = function (fn, initial) {\n var acc\n var walker = this.head\n if (arguments.length > 1) {\n acc = initial\n } else if (this.head) {\n walker = this.head.next\n acc = this.head.value\n } else {\n throw new TypeError('Reduce of empty list with no initial value')\n }\n\n for (var i = 0; walker !== null; i++) {\n acc = fn(acc, walker.value, i)\n walker = walker.next\n }\n\n return acc\n}\n\nYallist.prototype.reduceReverse = function (fn, initial) {\n var acc\n var walker = this.tail\n if (arguments.length > 1) {\n acc = initial\n } else if (this.tail) {\n walker = this.tail.prev\n acc = this.tail.value\n } else {\n throw new TypeError('Reduce of empty list with no initial value')\n }\n\n for (var i = this.length - 1; walker !== null; i--) {\n acc = fn(acc, walker.value, i)\n walker = walker.prev\n }\n\n return acc\n}\n\nYallist.prototype.toArray = function () {\n var arr = new Array(this.length)\n for (var i = 0, walker = this.head; walker !== null; i++) {\n arr[i] = walker.value\n walker = walker.next\n }\n return arr\n}\n\nYallist.prototype.toArrayReverse = function () {\n var arr = new Array(this.length)\n for (var i = 0, walker = this.tail; walker !== null; i++) {\n arr[i] = walker.value\n walker = walker.prev\n }\n return arr\n}\n\nYallist.prototype.slice = function (from, to) {\n to = to || this.length\n if (to < 0) {\n to += this.length\n }\n from = from || 0\n if (from < 0) {\n from += this.length\n }\n var ret = new Yallist()\n if (to < from || to < 0) {\n return ret\n }\n if (from < 0) {\n from = 0\n }\n if (to > this.length) {\n to = this.length\n }\n for (var i = 0, walker = this.head; walker !== null && i < from; i++) {\n walker = walker.next\n }\n for (; walker !== null && i < to; i++, walker = walker.next) {\n ret.push(walker.value)\n }\n return ret\n}\n\nYallist.prototype.sliceReverse = function (from, to) {\n to = to || this.length\n if (to < 0) {\n to += this.length\n }\n from = from || 0\n if (from < 0) {\n from += this.length\n }\n var ret = new Yallist()\n if (to < from || to < 0) {\n return ret\n }\n if (from < 0) {\n from = 0\n }\n if (to > this.length) {\n to = this.length\n }\n for (var i = this.length, walker = this.tail; walker !== null && i > to; i--) {\n walker = walker.prev\n }\n for (; walker !== null && i > from; i--, walker = walker.prev) {\n ret.push(walker.value)\n }\n return ret\n}\n\nYallist.prototype.splice = function (start, deleteCount, ...nodes) {\n if (start > this.length) {\n start = this.length - 1\n }\n if (start < 0) {\n start = this.length + start;\n }\n\n for (var i = 0, walker = this.head; walker !== null && i < start; i++) {\n walker = walker.next\n }\n\n var ret = []\n for (var i = 0; walker && i < deleteCount; i++) {\n ret.push(walker.value)\n walker = this.removeNode(walker)\n }\n if (walker === null) {\n walker = this.tail\n }\n\n if (walker !== this.head && walker !== this.tail) {\n walker = walker.prev\n }\n\n for (var i = 0; i < nodes.length; i++) {\n walker = insert(this, walker, nodes[i])\n }\n return ret;\n}\n\nYallist.prototype.reverse = function () {\n var head = this.head\n var tail = this.tail\n for (var walker = head; walker !== null; walker = walker.prev) {\n var p = walker.prev\n walker.prev = walker.next\n walker.next = p\n }\n this.head = tail\n this.tail = head\n return this\n}\n\nfunction insert (self, node, value) {\n var inserted = node === self.head ?\n new Node(value, null, node, self) :\n new Node(value, node, node.next, self)\n\n if (inserted.next === null) {\n self.tail = inserted\n }\n if (inserted.prev === null) {\n self.head = inserted\n }\n\n self.length++\n\n return inserted\n}\n\nfunction push (self, item) {\n self.tail = new Node(item, self.tail, null, self)\n if (!self.head) {\n self.head = self.tail\n }\n self.length++\n}\n\nfunction unshift (self, item) {\n self.head = new Node(item, null, self.head, self)\n if (!self.tail) {\n self.tail = self.head\n }\n self.length++\n}\n\nfunction Node (value, prev, next, list) {\n if (!(this instanceof Node)) {\n return new Node(value, prev, next, list)\n }\n\n this.list = list\n this.value = value\n\n if (prev) {\n prev.next = this\n this.prev = prev\n } else {\n this.prev = null\n }\n\n if (next) {\n next.prev = this\n this.next = next\n } else {\n this.next = null\n }\n}\n\ntry {\n // add if support for Symbol.iterator is present\n require('./iterator.js')(Yallist)\n} catch (er) {}\n","'use strict'\nmodule.exports = function (Yallist) {\n Yallist.prototype[Symbol.iterator] = function* () {\n for (let walker = this.head; walker; walker = walker.next) {\n yield walker.value\n }\n }\n}\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, options)\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 minimumVersionWithPreRelease = [new Comparator('>=0.0.0-0')]\nconst minimumVersion = [new Comparator('>=0.0.0')]\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 = minimumVersionWithPreRelease\n } else {\n sub = minimumVersion\n }\n }\n\n if (dom.length === 1 && dom[0].semver === ANY) {\n if (options.includePrerelease) {\n return true\n } else {\n dom = minimumVersion\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","'use strict';\n\nvar matchOperatorsRe = /[|\\\\{}()[\\]^$+*?.]/g;\n\nmodule.exports = function (str) {\n\tif (typeof str !== 'string') {\n\t\tthrow new TypeError('Expected a string');\n\t}\n\n\treturn str.replace(matchOperatorsRe, '\\\\$&');\n};\n","import fs, {promises as fsPromises} from 'node:fs';\n\nexport async function pathExists(path) {\n\ttry {\n\t\tawait fsPromises.access(path);\n\t\treturn true;\n\t} catch {\n\t\treturn false;\n\t}\n}\n\nexport function pathExistsSync(path) {\n\ttry {\n\t\tfs.accessSync(path);\n\t\treturn true;\n\t} catch {\n\t\treturn false;\n\t}\n}\n",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","/**\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","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","'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",null,null,null,null,null,null,"exports = module.exports = SemVer\n\nvar debug\n/* istanbul ignore next */\nif (typeof process === 'object' &&\n process.env &&\n process.env.NODE_DEBUG &&\n /\\bsemver\\b/i.test(process.env.NODE_DEBUG)) {\n debug = function () {\n var args = Array.prototype.slice.call(arguments, 0)\n args.unshift('SEMVER')\n console.log.apply(console, args)\n }\n} else {\n debug = function () {}\n}\n\n// Note: this is the semver.org version of the spec that it implements\n// Not necessarily the package version of this code.\nexports.SEMVER_SPEC_VERSION = '2.0.0'\n\nvar MAX_LENGTH = 256\nvar MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER ||\n /* istanbul ignore next */ 9007199254740991\n\n// Max safe segment length for coercion.\nvar MAX_SAFE_COMPONENT_LENGTH = 16\n\nvar MAX_SAFE_BUILD_LENGTH = MAX_LENGTH - 6\n\n// The actual regexps go on exports.re\nvar re = exports.re = []\nvar safeRe = exports.safeRe = []\nvar src = exports.src = []\nvar t = exports.tokens = {}\nvar R = 0\n\nfunction tok (n) {\n t[n] = R++\n}\n\nvar LETTERDASHNUMBER = '[a-zA-Z0-9-]'\n\n// Replace some greedy regex tokens to prevent regex dos issues. These regex are\n// used internally via the safeRe object since all inputs in this library get\n// normalized first to trim and collapse all extra whitespace. The original\n// regexes are exported for userland consumption and lower level usage. A\n// future breaking change could export the safer regex only with a note that\n// all input should have extra whitespace removed.\nvar safeRegexReplacements = [\n ['\\\\s', 1],\n ['\\\\d', MAX_LENGTH],\n [LETTERDASHNUMBER, MAX_SAFE_BUILD_LENGTH],\n]\n\nfunction makeSafeRe (value) {\n for (var i = 0; i < safeRegexReplacements.length; i++) {\n var token = safeRegexReplacements[i][0]\n var max = safeRegexReplacements[i][1]\n value = value\n .split(token + '*').join(token + '{0,' + max + '}')\n .split(token + '+').join(token + '{1,' + max + '}')\n }\n return value\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\ntok('NUMERICIDENTIFIER')\nsrc[t.NUMERICIDENTIFIER] = '0|[1-9]\\\\d*'\ntok('NUMERICIDENTIFIERLOOSE')\nsrc[t.NUMERICIDENTIFIERLOOSE] = '\\\\d+'\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\ntok('NONNUMERICIDENTIFIER')\nsrc[t.NONNUMERICIDENTIFIER] = '\\\\d*[a-zA-Z-]' + LETTERDASHNUMBER + '*'\n\n// ## Main Version\n// Three dot-separated numeric identifiers.\n\ntok('MAINVERSION')\nsrc[t.MAINVERSION] = '(' + src[t.NUMERICIDENTIFIER] + ')\\\\.' +\n '(' + src[t.NUMERICIDENTIFIER] + ')\\\\.' +\n '(' + src[t.NUMERICIDENTIFIER] + ')'\n\ntok('MAINVERSIONLOOSE')\nsrc[t.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\ntok('PRERELEASEIDENTIFIER')\nsrc[t.PRERELEASEIDENTIFIER] = '(?:' + src[t.NUMERICIDENTIFIER] +\n '|' + src[t.NONNUMERICIDENTIFIER] + ')'\n\ntok('PRERELEASEIDENTIFIERLOOSE')\nsrc[t.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\ntok('PRERELEASE')\nsrc[t.PRERELEASE] = '(?:-(' + src[t.PRERELEASEIDENTIFIER] +\n '(?:\\\\.' + src[t.PRERELEASEIDENTIFIER] + ')*))'\n\ntok('PRERELEASELOOSE')\nsrc[t.PRERELEASELOOSE] = '(?:-?(' + src[t.PRERELEASEIDENTIFIERLOOSE] +\n '(?:\\\\.' + src[t.PRERELEASEIDENTIFIERLOOSE] + ')*))'\n\n// ## Build Metadata Identifier\n// Any combination of digits, letters, or hyphens.\n\ntok('BUILDIDENTIFIER')\nsrc[t.BUILDIDENTIFIER] = LETTERDASHNUMBER + '+'\n\n// ## Build Metadata\n// Plus sign, followed by one or more period-separated build metadata\n// identifiers.\n\ntok('BUILD')\nsrc[t.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\ntok('FULL')\ntok('FULLPLAIN')\nsrc[t.FULLPLAIN] = 'v?' + src[t.MAINVERSION] +\n src[t.PRERELEASE] + '?' +\n src[t.BUILD] + '?'\n\nsrc[t.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.\ntok('LOOSEPLAIN')\nsrc[t.LOOSEPLAIN] = '[v=\\\\s]*' + src[t.MAINVERSIONLOOSE] +\n src[t.PRERELEASELOOSE] + '?' +\n src[t.BUILD] + '?'\n\ntok('LOOSE')\nsrc[t.LOOSE] = '^' + src[t.LOOSEPLAIN] + '$'\n\ntok('GTLT')\nsrc[t.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.\ntok('XRANGEIDENTIFIERLOOSE')\nsrc[t.XRANGEIDENTIFIERLOOSE] = src[t.NUMERICIDENTIFIERLOOSE] + '|x|X|\\\\*'\ntok('XRANGEIDENTIFIER')\nsrc[t.XRANGEIDENTIFIER] = src[t.NUMERICIDENTIFIER] + '|x|X|\\\\*'\n\ntok('XRANGEPLAIN')\nsrc[t.XRANGEPLAIN] = '[v=\\\\s]*(' + src[t.XRANGEIDENTIFIER] + ')' +\n '(?:\\\\.(' + src[t.XRANGEIDENTIFIER] + ')' +\n '(?:\\\\.(' + src[t.XRANGEIDENTIFIER] + ')' +\n '(?:' + src[t.PRERELEASE] + ')?' +\n src[t.BUILD] + '?' +\n ')?)?'\n\ntok('XRANGEPLAINLOOSE')\nsrc[t.XRANGEPLAINLOOSE] = '[v=\\\\s]*(' + src[t.XRANGEIDENTIFIERLOOSE] + ')' +\n '(?:\\\\.(' + src[t.XRANGEIDENTIFIERLOOSE] + ')' +\n '(?:\\\\.(' + src[t.XRANGEIDENTIFIERLOOSE] + ')' +\n '(?:' + src[t.PRERELEASELOOSE] + ')?' +\n src[t.BUILD] + '?' +\n ')?)?'\n\ntok('XRANGE')\nsrc[t.XRANGE] = '^' + src[t.GTLT] + '\\\\s*' + src[t.XRANGEPLAIN] + '$'\ntok('XRANGELOOSE')\nsrc[t.XRANGELOOSE] = '^' + src[t.GTLT] + '\\\\s*' + src[t.XRANGEPLAINLOOSE] + '$'\n\n// Coercion.\n// Extract anything that could conceivably be a part of a valid semver\ntok('COERCE')\nsrc[t.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])'\ntok('COERCERTL')\nre[t.COERCERTL] = new RegExp(src[t.COERCE], 'g')\nsafeRe[t.COERCERTL] = new RegExp(makeSafeRe(src[t.COERCE]), 'g')\n\n// Tilde ranges.\n// Meaning is \"reasonably at or greater than\"\ntok('LONETILDE')\nsrc[t.LONETILDE] = '(?:~>?)'\n\ntok('TILDETRIM')\nsrc[t.TILDETRIM] = '(\\\\s*)' + src[t.LONETILDE] + '\\\\s+'\nre[t.TILDETRIM] = new RegExp(src[t.TILDETRIM], 'g')\nsafeRe[t.TILDETRIM] = new RegExp(makeSafeRe(src[t.TILDETRIM]), 'g')\nvar tildeTrimReplace = '$1~'\n\ntok('TILDE')\nsrc[t.TILDE] = '^' + src[t.LONETILDE] + src[t.XRANGEPLAIN] + '$'\ntok('TILDELOOSE')\nsrc[t.TILDELOOSE] = '^' + src[t.LONETILDE] + src[t.XRANGEPLAINLOOSE] + '$'\n\n// Caret ranges.\n// Meaning is \"at least and backwards compatible with\"\ntok('LONECARET')\nsrc[t.LONECARET] = '(?:\\\\^)'\n\ntok('CARETTRIM')\nsrc[t.CARETTRIM] = '(\\\\s*)' + src[t.LONECARET] + '\\\\s+'\nre[t.CARETTRIM] = new RegExp(src[t.CARETTRIM], 'g')\nsafeRe[t.CARETTRIM] = new RegExp(makeSafeRe(src[t.CARETTRIM]), 'g')\nvar caretTrimReplace = '$1^'\n\ntok('CARET')\nsrc[t.CARET] = '^' + src[t.LONECARET] + src[t.XRANGEPLAIN] + '$'\ntok('CARETLOOSE')\nsrc[t.CARETLOOSE] = '^' + src[t.LONECARET] + src[t.XRANGEPLAINLOOSE] + '$'\n\n// A simple gt/lt/eq thing, or just \"\" to indicate \"any version\"\ntok('COMPARATORLOOSE')\nsrc[t.COMPARATORLOOSE] = '^' + src[t.GTLT] + '\\\\s*(' + src[t.LOOSEPLAIN] + ')$|^$'\ntok('COMPARATOR')\nsrc[t.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`\ntok('COMPARATORTRIM')\nsrc[t.COMPARATORTRIM] = '(\\\\s*)' + src[t.GTLT] +\n '\\\\s*(' + src[t.LOOSEPLAIN] + '|' + src[t.XRANGEPLAIN] + ')'\n\n// this one has to use the /g flag\nre[t.COMPARATORTRIM] = new RegExp(src[t.COMPARATORTRIM], 'g')\nsafeRe[t.COMPARATORTRIM] = new RegExp(makeSafeRe(src[t.COMPARATORTRIM]), 'g')\nvar 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.\ntok('HYPHENRANGE')\nsrc[t.HYPHENRANGE] = '^\\\\s*(' + src[t.XRANGEPLAIN] + ')' +\n '\\\\s+-\\\\s+' +\n '(' + src[t.XRANGEPLAIN] + ')' +\n '\\\\s*$'\n\ntok('HYPHENRANGELOOSE')\nsrc[t.HYPHENRANGELOOSE] = '^\\\\s*(' + src[t.XRANGEPLAINLOOSE] + ')' +\n '\\\\s+-\\\\s+' +\n '(' + src[t.XRANGEPLAINLOOSE] + ')' +\n '\\\\s*$'\n\n// Star ranges basically just allow anything at all.\ntok('STAR')\nsrc[t.STAR] = '(<|>)?=?\\\\s*\\\\*'\n\n// Compile to actual regexp objects.\n// All are flag-free, unless they were created above with a flag.\nfor (var i = 0; i < R; i++) {\n debug(i, src[i])\n if (!re[i]) {\n re[i] = new RegExp(src[i])\n\n // Replace all greedy whitespace to prevent regex dos issues. These regex are\n // used internally via the safeRe object since all inputs in this library get\n // normalized first to trim and collapse all extra whitespace. The original\n // regexes are exported for userland consumption and lower level usage. A\n // future breaking change could export the safer regex only with a note that\n // all input should have extra whitespace removed.\n safeRe[i] = new RegExp(makeSafeRe(src[i]))\n }\n}\n\nexports.parse = parse\nfunction parse (version, options) {\n if (!options || typeof options !== 'object') {\n options = {\n loose: !!options,\n includePrerelease: false\n }\n }\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 var r = options.loose ? safeRe[t.LOOSE] : safeRe[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\nexports.valid = valid\nfunction valid (version, options) {\n var v = parse(version, options)\n return v ? v.version : null\n}\n\nexports.clean = clean\nfunction clean (version, options) {\n var s = parse(version.trim().replace(/^[=v]+/, ''), options)\n return s ? s.version : null\n}\n\nexports.SemVer = SemVer\n\nfunction SemVer (version, options) {\n if (!options || typeof options !== 'object') {\n options = {\n loose: !!options,\n includePrerelease: false\n }\n }\n if (version instanceof SemVer) {\n if (version.loose === options.loose) {\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('version is longer than ' + MAX_LENGTH + ' characters')\n }\n\n if (!(this instanceof SemVer)) {\n return new SemVer(version, options)\n }\n\n debug('SemVer', version, options)\n this.options = options\n this.loose = !!options.loose\n\n var m = version.trim().match(options.loose ? safeRe[t.LOOSE] : safeRe[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(function (id) {\n if (/^[0-9]+$/.test(id)) {\n var 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\nSemVer.prototype.format = function () {\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\nSemVer.prototype.toString = function () {\n return this.version\n}\n\nSemVer.prototype.compare = function (other) {\n debug('SemVer.compare', this.version, this.options, other)\n if (!(other instanceof SemVer)) {\n other = new SemVer(other, this.options)\n }\n\n return this.compareMain(other) || this.comparePre(other)\n}\n\nSemVer.prototype.compareMain = function (other) {\n if (!(other instanceof SemVer)) {\n other = new SemVer(other, this.options)\n }\n\n return compareIdentifiers(this.major, other.major) ||\n compareIdentifiers(this.minor, other.minor) ||\n compareIdentifiers(this.patch, other.patch)\n}\n\nSemVer.prototype.comparePre = function (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 var i = 0\n do {\n var a = this.prerelease[i]\n var 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\nSemVer.prototype.compareBuild = function (other) {\n if (!(other instanceof SemVer)) {\n other = new SemVer(other, this.options)\n }\n\n var i = 0\n do {\n var a = this.build[i]\n var 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.\nSemVer.prototype.inc = function (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 (this.minor !== 0 ||\n this.patch !== 0 ||\n this.prerelease.length === 0) {\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 var 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 (this.prerelease[0] === identifier) {\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\nexports.inc = inc\nfunction inc (version, release, loose, identifier) {\n if (typeof (loose) === 'string') {\n identifier = loose\n loose = undefined\n }\n\n try {\n return new SemVer(version, loose).inc(release, identifier).version\n } catch (er) {\n return null\n }\n}\n\nexports.diff = diff\nfunction diff (version1, version2) {\n if (eq(version1, version2)) {\n return null\n } else {\n var v1 = parse(version1)\n var v2 = parse(version2)\n var prefix = ''\n if (v1.prerelease.length || v2.prerelease.length) {\n prefix = 'pre'\n var defaultResult = 'prerelease'\n }\n for (var 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}\n\nexports.compareIdentifiers = compareIdentifiers\n\nvar numeric = /^[0-9]+$/\nfunction compareIdentifiers (a, b) {\n var anum = numeric.test(a)\n var 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\nexports.rcompareIdentifiers = rcompareIdentifiers\nfunction rcompareIdentifiers (a, b) {\n return compareIdentifiers(b, a)\n}\n\nexports.major = major\nfunction major (a, loose) {\n return new SemVer(a, loose).major\n}\n\nexports.minor = minor\nfunction minor (a, loose) {\n return new SemVer(a, loose).minor\n}\n\nexports.patch = patch\nfunction patch (a, loose) {\n return new SemVer(a, loose).patch\n}\n\nexports.compare = compare\nfunction compare (a, b, loose) {\n return new SemVer(a, loose).compare(new SemVer(b, loose))\n}\n\nexports.compareLoose = compareLoose\nfunction compareLoose (a, b) {\n return compare(a, b, true)\n}\n\nexports.compareBuild = compareBuild\nfunction compareBuild (a, b, loose) {\n var versionA = new SemVer(a, loose)\n var versionB = new SemVer(b, loose)\n return versionA.compare(versionB) || versionA.compareBuild(versionB)\n}\n\nexports.rcompare = rcompare\nfunction rcompare (a, b, loose) {\n return compare(b, a, loose)\n}\n\nexports.sort = sort\nfunction sort (list, loose) {\n return list.sort(function (a, b) {\n return exports.compareBuild(a, b, loose)\n })\n}\n\nexports.rsort = rsort\nfunction rsort (list, loose) {\n return list.sort(function (a, b) {\n return exports.compareBuild(b, a, loose)\n })\n}\n\nexports.gt = gt\nfunction gt (a, b, loose) {\n return compare(a, b, loose) > 0\n}\n\nexports.lt = lt\nfunction lt (a, b, loose) {\n return compare(a, b, loose) < 0\n}\n\nexports.eq = eq\nfunction eq (a, b, loose) {\n return compare(a, b, loose) === 0\n}\n\nexports.neq = neq\nfunction neq (a, b, loose) {\n return compare(a, b, loose) !== 0\n}\n\nexports.gte = gte\nfunction gte (a, b, loose) {\n return compare(a, b, loose) >= 0\n}\n\nexports.lte = lte\nfunction lte (a, b, loose) {\n return compare(a, b, loose) <= 0\n}\n\nexports.cmp = cmp\nfunction cmp (a, op, b, loose) {\n switch (op) {\n case '===':\n if (typeof a === 'object')\n a = a.version\n if (typeof b === 'object')\n b = b.version\n return a === b\n\n case '!==':\n if (typeof a === 'object')\n a = a.version\n if (typeof b === 'object')\n b = b.version\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}\n\nexports.Comparator = Comparator\nfunction Comparator (comp, options) {\n if (!options || typeof options !== 'object') {\n options = {\n loose: !!options,\n includePrerelease: false\n }\n }\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 if (!(this instanceof Comparator)) {\n return new Comparator(comp, options)\n }\n\n comp = comp.trim().split(/\\s+/).join(' ')\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\nvar ANY = {}\nComparator.prototype.parse = function (comp) {\n var r = this.options.loose ? safeRe[t.COMPARATORLOOSE] : safeRe[t.COMPARATOR]\n var 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\nComparator.prototype.toString = function () {\n return this.value\n}\n\nComparator.prototype.test = function (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\nComparator.prototype.intersects = function (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 var rangeTmp\n\n if (this.operator === '') {\n if (this.value === '') {\n return true\n }\n rangeTmp = new Range(comp.value, options)\n return satisfies(this.value, rangeTmp, options)\n } else if (comp.operator === '') {\n if (comp.value === '') {\n return true\n }\n rangeTmp = new Range(this.value, options)\n return satisfies(comp.semver, rangeTmp, options)\n }\n\n var sameDirectionIncreasing =\n (this.operator === '>=' || this.operator === '>') &&\n (comp.operator === '>=' || comp.operator === '>')\n var sameDirectionDecreasing =\n (this.operator === '<=' || this.operator === '<') &&\n (comp.operator === '<=' || comp.operator === '<')\n var sameSemVer = this.semver.version === comp.semver.version\n var differentDirectionsInclusive =\n (this.operator === '>=' || this.operator === '<=') &&\n (comp.operator === '>=' || comp.operator === '<=')\n var oppositeDirectionsLessThan =\n cmp(this.semver, '<', comp.semver, options) &&\n ((this.operator === '>=' || this.operator === '>') &&\n (comp.operator === '<=' || comp.operator === '<'))\n var oppositeDirectionsGreaterThan =\n cmp(this.semver, '>', comp.semver, options) &&\n ((this.operator === '<=' || this.operator === '<') &&\n (comp.operator === '>=' || comp.operator === '>'))\n\n return sameDirectionIncreasing || sameDirectionDecreasing ||\n (sameSemVer && differentDirectionsInclusive) ||\n oppositeDirectionsLessThan || oppositeDirectionsGreaterThan\n}\n\nexports.Range = Range\nfunction Range (range, options) {\n if (!options || typeof options !== 'object') {\n options = {\n loose: !!options,\n includePrerelease: false\n }\n }\n\n if (range instanceof Range) {\n if (range.loose === !!options.loose &&\n range.includePrerelease === !!options.includePrerelease) {\n return range\n } else {\n return new Range(range.raw, options)\n }\n }\n\n if (range instanceof Comparator) {\n return new Range(range.value, options)\n }\n\n if (!(this instanceof Range)) {\n return new Range(range, options)\n }\n\n this.options = options\n this.loose = !!options.loose\n this.includePrerelease = !!options.includePrerelease\n\n // First reduce all whitespace as much as possible so we do not have to rely\n // on potentially slow regexes like \\s*. This is then stored and used for\n // future error messages as well.\n this.raw = range\n .trim()\n .split(/\\s+/)\n .join(' ')\n\n // First, split based on boolean or ||\n this.set = this.raw.split('||').map(function (range) {\n return this.parseRange(range.trim())\n }, this).filter(function (c) {\n // throw out any that are not relevant for whatever reason\n return c.length\n })\n\n if (!this.set.length) {\n throw new TypeError('Invalid SemVer Range: ' + this.raw)\n }\n\n this.format()\n}\n\nRange.prototype.format = function () {\n this.range = this.set.map(function (comps) {\n return comps.join(' ').trim()\n }).join('||').trim()\n return this.range\n}\n\nRange.prototype.toString = function () {\n return this.range\n}\n\nRange.prototype.parseRange = function (range) {\n var loose = this.options.loose\n // `1.2.3 - 1.2.4` => `>=1.2.3 <=1.2.4`\n var hr = loose ? safeRe[t.HYPHENRANGELOOSE] : safeRe[t.HYPHENRANGE]\n range = range.replace(hr, hyphenReplace)\n debug('hyphen replace', range)\n // `> 1.2.3 < 1.2.5` => `>1.2.3 <1.2.5`\n range = range.replace(safeRe[t.COMPARATORTRIM], comparatorTrimReplace)\n debug('comparator trim', range, safeRe[t.COMPARATORTRIM])\n\n // `~ 1.2.3` => `~1.2.3`\n range = range.replace(safeRe[t.TILDETRIM], tildeTrimReplace)\n\n // `^ 1.2.3` => `^1.2.3`\n range = range.replace(safeRe[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 var compRe = loose ? safeRe[t.COMPARATORLOOSE] : safeRe[t.COMPARATOR]\n var set = range.split(' ').map(function (comp) {\n return parseComparator(comp, this.options)\n }, this).join(' ').split(/\\s+/)\n if (this.options.loose) {\n // in loose mode, throw out any that are not valid comparators\n set = set.filter(function (comp) {\n return !!comp.match(compRe)\n })\n }\n set = set.map(function (comp) {\n return new Comparator(comp, this.options)\n }, this)\n\n return set\n}\n\nRange.prototype.intersects = function (range, options) {\n if (!(range instanceof Range)) {\n throw new TypeError('a Range is required')\n }\n\n return this.set.some(function (thisComparators) {\n return (\n isSatisfiable(thisComparators, options) &&\n range.set.some(function (rangeComparators) {\n return (\n isSatisfiable(rangeComparators, options) &&\n thisComparators.every(function (thisComparator) {\n return rangeComparators.every(function (rangeComparator) {\n return thisComparator.intersects(rangeComparator, options)\n })\n })\n )\n })\n )\n })\n}\n\n// take a set of comparators and determine whether there\n// exists a version which can satisfy it\nfunction isSatisfiable (comparators, options) {\n var result = true\n var remainingComparators = comparators.slice()\n var testComparator = remainingComparators.pop()\n\n while (result && remainingComparators.length) {\n result = remainingComparators.every(function (otherComparator) {\n return testComparator.intersects(otherComparator, options)\n })\n\n testComparator = remainingComparators.pop()\n }\n\n return result\n}\n\n// Mostly just for testing and legacy API reasons\nexports.toComparators = toComparators\nfunction toComparators (range, options) {\n return new Range(range, options).set.map(function (comp) {\n return comp.map(function (c) {\n return c.value\n }).join(' ').trim().split(' ')\n })\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.\nfunction 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\nfunction isX (id) {\n return !id || id.toLowerCase() === 'x' || id === '*'\n}\n\n// ~, ~> --> * (any, kinda silly)\n// ~2, ~2.x, ~2.x.x, ~>2, ~>2.x ~>2.x.x --> >=2.0.0 <3.0.0\n// ~2.0, ~2.0.x, ~>2.0, ~>2.0.x --> >=2.0.0 <2.1.0\n// ~1.2, ~1.2.x, ~>1.2, ~>1.2.x --> >=1.2.0 <1.3.0\n// ~1.2.3, ~>1.2.3 --> >=1.2.3 <1.3.0\n// ~1.2.0, ~>1.2.0 --> >=1.2.0 <1.3.0\nfunction replaceTildes (comp, options) {\n return comp.trim().split(/\\s+/).map(function (comp) {\n return replaceTilde(comp, options)\n }).join(' ')\n}\n\nfunction replaceTilde (comp, options) {\n var r = options.loose ? safeRe[t.TILDELOOSE] : safeRe[t.TILDE]\n return comp.replace(r, function (_, M, m, p, pr) {\n debug('tilde', comp, _, M, m, p, pr)\n var ret\n\n if (isX(M)) {\n ret = ''\n } else if (isX(m)) {\n ret = '>=' + M + '.0.0 <' + (+M + 1) + '.0.0'\n } else if (isX(p)) {\n // ~1.2 == >=1.2.0 <1.3.0\n ret = '>=' + M + '.' + m + '.0 <' + M + '.' + (+m + 1) + '.0'\n } else if (pr) {\n debug('replaceTilde pr', pr)\n ret = '>=' + M + '.' + m + '.' + p + '-' + pr +\n ' <' + M + '.' + (+m + 1) + '.0'\n } else {\n // ~1.2.3 == >=1.2.3 <1.3.0\n ret = '>=' + M + '.' + m + '.' + p +\n ' <' + M + '.' + (+m + 1) + '.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\n// ^2.0, ^2.0.x --> >=2.0.0 <3.0.0\n// ^1.2, ^1.2.x --> >=1.2.0 <2.0.0\n// ^1.2.3 --> >=1.2.3 <2.0.0\n// ^1.2.0 --> >=1.2.0 <2.0.0\nfunction replaceCarets (comp, options) {\n return comp.trim().split(/\\s+/).map(function (comp) {\n return replaceCaret(comp, options)\n }).join(' ')\n}\n\nfunction replaceCaret (comp, options) {\n debug('caret', comp, options)\n var r = options.loose ? safeRe[t.CARETLOOSE] : safeRe[t.CARET]\n return comp.replace(r, function (_, M, m, p, pr) {\n debug('caret', comp, _, M, m, p, pr)\n var ret\n\n if (isX(M)) {\n ret = ''\n } else if (isX(m)) {\n ret = '>=' + M + '.0.0 <' + (+M + 1) + '.0.0'\n } else if (isX(p)) {\n if (M === '0') {\n ret = '>=' + M + '.' + m + '.0 <' + M + '.' + (+m + 1) + '.0'\n } else {\n ret = '>=' + M + '.' + m + '.0 <' + (+M + 1) + '.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)\n } else {\n ret = '>=' + M + '.' + m + '.' + p + '-' + pr +\n ' <' + M + '.' + (+m + 1) + '.0'\n }\n } else {\n ret = '>=' + M + '.' + m + '.' + p + '-' + pr +\n ' <' + (+M + 1) + '.0.0'\n }\n } else {\n debug('no pr')\n if (M === '0') {\n if (m === '0') {\n ret = '>=' + M + '.' + m + '.' + p +\n ' <' + M + '.' + m + '.' + (+p + 1)\n } else {\n ret = '>=' + M + '.' + m + '.' + p +\n ' <' + M + '.' + (+m + 1) + '.0'\n }\n } else {\n ret = '>=' + M + '.' + m + '.' + p +\n ' <' + (+M + 1) + '.0.0'\n }\n }\n\n debug('caret return', ret)\n return ret\n })\n}\n\nfunction replaceXRanges (comp, options) {\n debug('replaceXRanges', comp, options)\n return comp.split(/\\s+/).map(function (comp) {\n return replaceXRange(comp, options)\n }).join(' ')\n}\n\nfunction replaceXRange (comp, options) {\n comp = comp.trim()\n var r = options.loose ? safeRe[t.XRANGELOOSE] : safeRe[t.XRANGE]\n return comp.replace(r, function (ret, gtlt, M, m, p, pr) {\n debug('xRange', comp, ret, gtlt, M, m, p, pr)\n var xM = isX(M)\n var xm = xM || isX(m)\n var xp = xm || isX(p)\n var 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 // >1.2.3 => >= 1.2.4\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 ret = gtlt + M + '.' + m + '.' + p + pr\n } else if (xm) {\n ret = '>=' + M + '.0.0' + pr + ' <' + (+M + 1) + '.0.0' + pr\n } else if (xp) {\n ret = '>=' + M + '.' + m + '.0' + pr +\n ' <' + M + '.' + (+m + 1) + '.0' + pr\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.\nfunction 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(safeRe[t.STAR], '')\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 Any 3.4.x will do\n// 1.2 - 3.4 => >=1.2.0 <3.5.0\nfunction hyphenReplace ($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'\n } else if (isX(fp)) {\n from = '>=' + fM + '.' + fm + '.0'\n } else {\n from = '>=' + from\n }\n\n if (isX(tM)) {\n to = ''\n } else if (isX(tm)) {\n to = '<' + (+tM + 1) + '.0.0'\n } else if (isX(tp)) {\n to = '<' + tM + '.' + (+tm + 1) + '.0'\n } else if (tpr) {\n to = '<=' + tM + '.' + tm + '.' + tp + '-' + tpr\n } else {\n to = '<=' + to\n }\n\n return (from + ' ' + to).trim()\n}\n\n// if ANY of the sets match ALL of its comparators, then pass\nRange.prototype.test = function (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 (var 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\nfunction testSet (set, version, options) {\n for (var 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 (i = 0; i < set.length; i++) {\n debug(set[i].semver)\n if (set[i].semver === ANY) {\n continue\n }\n\n if (set[i].semver.prerelease.length > 0) {\n var 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\nexports.satisfies = satisfies\nfunction 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}\n\nexports.maxSatisfying = maxSatisfying\nfunction maxSatisfying (versions, range, options) {\n var max = null\n var maxSV = null\n try {\n var rangeObj = new Range(range, options)\n } catch (er) {\n return null\n }\n versions.forEach(function (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}\n\nexports.minSatisfying = minSatisfying\nfunction minSatisfying (versions, range, options) {\n var min = null\n var minSV = null\n try {\n var rangeObj = new Range(range, options)\n } catch (er) {\n return null\n }\n versions.forEach(function (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}\n\nexports.minVersion = minVersion\nfunction minVersion (range, loose) {\n range = new Range(range, loose)\n\n var 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 (var i = 0; i < range.set.length; ++i) {\n var comparators = range.set[i]\n\n comparators.forEach(function (comparator) {\n // Clone to avoid manipulating the comparator's semver object.\n var 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 (!minver || gt(minver, compver)) {\n minver = 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 }\n\n if (minver && range.test(minver)) {\n return minver\n }\n\n return null\n}\n\nexports.validRange = validRange\nfunction 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}\n\n// Determine if version is less than all the versions possible in the range\nexports.ltr = ltr\nfunction ltr (version, range, options) {\n return outside(version, range, '<', options)\n}\n\n// Determine if version is greater than all the versions possible in the range.\nexports.gtr = gtr\nfunction gtr (version, range, options) {\n return outside(version, range, '>', options)\n}\n\nexports.outside = outside\nfunction outside (version, range, hilo, options) {\n version = new SemVer(version, options)\n range = new Range(range, options)\n\n var 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 satisifes 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 (var i = 0; i < range.set.length; ++i) {\n var comparators = range.set[i]\n\n var high = null\n var low = null\n\n comparators.forEach(function (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\nexports.prerelease = prerelease\nfunction prerelease (version, options) {\n var parsed = parse(version, options)\n return (parsed && parsed.prerelease.length) ? parsed.prerelease : null\n}\n\nexports.intersects = intersects\nfunction intersects (r1, r2, options) {\n r1 = new Range(r1, options)\n r2 = new Range(r2, options)\n return r1.intersects(r2)\n}\n\nexports.coerce = coerce\nfunction 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 var match = null\n if (!options.rtl) {\n match = version.match(safeRe[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 var next\n while ((next = safeRe[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 safeRe[t.COERCERTL].lastIndex = next.index + next[1].length + next[2].length\n }\n // leave it in a clean state\n safeRe[t.COERCERTL].lastIndex = -1\n }\n\n if (match === null) {\n return null\n }\n\n return parse(match[2] +\n '.' + (match[3] || '0') +\n '.' + (match[4] || '0'), options)\n}\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,null,null,"module.exports = (Promise.resolve(__parcel__require__(\"./\" + \"actions_python.c36737fd.js\"))).then(() => parcelRequire('4kQHk'));","#!/usr/bin/env node\n/* eslint-disable node/shebang */\n\nimport { GITHUB_ACTIONS, isCI } from \"ci-info\"\nimport { error, info, success, warning } from \"ci-log\"\nimport * as numerous from \"numerous\"\nimport numerousLocale from \"numerous/locales/en.js\"\nimport * as timeDelta from \"time-delta\"\nimport timeDeltaLocale from \"time-delta/locales/en.js\"\nimport { untildifyUser } from \"untildify-user\"\nimport { checkUpdates } from \"./check-updates\"\nimport { parseArgs, printHelp } from \"./cli-options\"\nimport { installCompiler } from \"./compilers\"\nimport { finalizeCpprc } from \"./utils/env/addEnv\"\nimport { isArch } from \"./utils/env/isArch\"\nimport { ubuntuVersion } from \"./utils/env/ubuntu_version\"\nimport { setupPacmanPack } from \"./utils/setup/setupPacmanPack\"\nimport { syncVersions } from \"./versions/versions\"\nimport { installTool } from \"./installTool\"\nimport { tools } from \"./tool\"\n\n/** The main entry function */\nasync function main(args: string[]): Promise {\n let checkUpdatePromise = Promise.resolve()\n if (!GITHUB_ACTIONS) {\n checkUpdatePromise = checkUpdates()\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 as numerous.Locale)\n let time1: number\n let time2: number\n\n // installing the specified tools\n\n const osVersion = await ubuntuVersion()\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 if (isArch() && typeof opts.cppcheck === \"string\" && typeof opts.gcovr === \"string\") {\n info(\"installing python-pygments to avoid conflicts with cppcheck and gcovr on Arch linux\")\n await setupPacmanPack(\"python-pygments\")\n }\n\n /** Used to unset CPPFLAGS of LLVM when other compilers are used as the main compiler */\n let hasLLVM = false\n\n // loop over the tools and run their setup function\n\n let failedFast = false\n for (const tool of tools) {\n // fail fast inside CI when any tool fails\n if (isCI) {\n if (errorMessages.length !== 0) {\n failedFast = true\n break\n }\n }\n\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 // eslint-disable-next-line no-await-in-loop\n hasLLVM = await installTool(\n tool,\n version,\n osVersion,\n arch,\n setupCppDir,\n successMessages,\n errorMessages,\n parseFloat(opts.timeout ?? \"20\") * 60 * 1000,\n )\n time2 = Date.now()\n info(`took ${timeFormatter.format(time1, time2) || \"0 seconds\"}`)\n }\n }\n\n if (!failedFast) {\n // installing the specified compiler\n const maybeCompiler = opts.compiler\n if (maybeCompiler !== undefined) {\n const time1Compiler = Date.now()\n await installCompiler(maybeCompiler, osVersion, setupCppDir, arch, successMessages, hasLLVM, errorMessages)\n const time2Compiler = Date.now()\n info(`took ${timeFormatter.format(time1Compiler, time2Compiler) || \"0 seconds\"}`)\n }\n }\n\n await finalizeCpprc()\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 (!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 await checkUpdatePromise\n\n return errorMessages.length === 0 ? 0 : 1 // exit with non-zero if any error message\n}\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","(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);","\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","import { join } from \"path\"\nimport untildify from \"untildify\"\nimport { isSudo } from \"admina\"\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","'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","export * from \"./root\"\nexport * from \"./admin\"\nexport * from \"./user-access\"\n",null,"import which from \"which\"\nimport * as execa from \"execa\"\n\n/** Detect if sudo is available */\nexport function hasSudo(): boolean {\n return which.sync(\"sudo\", { nothrow: true }) !== null\n}\n\n/**\n * Detect if the process has root privilege on Posix.\n *\n * @example\n *\n * ```js\n * import { isRoot } from \"admina\"\n *\n * console.log(isRoot())\n * //=> false\n * ```\n *\n * @returns Whether the process is running as root.\n */\nexport function isRoot(): boolean {\n // TODO not all CI systems are root\n return process.getuid?.() === 0 || Boolean(process.env.CI)\n}\n\n/** Detect if sudo is available and the user has root privileges */\nexport function isSudo(): boolean {\n return isRoot() && hasSudo()\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/** Default exec options `{ stdio: \"inherit\", shell: true }` */\nexport const defaultExecOptions: execa.SyncOptions = { stdio: \"inherit\", shell: true }\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 = defaultExecOptions\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 = defaultExecOptions\n): execa.ExecaChildProcess {\n if (isSudo()) {\n return execa.command(`sudo ${[program, ...args].map((arg) => `'${arg}'`).join(\" \")}`, execOptions)\n } else {\n return execa.default(program, args, execOptions)\n }\n}\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","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","'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 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';\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\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 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';\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';\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';\nmodule.exports = /^#!(.*)/;\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\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';\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","'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 {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",null,"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",null,"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",null,"/* 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",null,"// 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 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","'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","// 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 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 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 {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","'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';\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",null,"import { default as isAdminWindowsOrig } from \"./is-admin\"\nimport { isRoot } from \"./root\"\n\n/**\n * Check if the process is running as administrator on Windows.\n *\n * @example\n *\n * ```js\n * import { isAdminWindows } from \"admina\"\n *\n * console.log(await isAdminWindows())\n * //=> false\n * ```\n *\n * @returns Whether the process is running as administrator.\n */\nexport const isAdminWindows = isAdminWindowsOrig\n\n/**\n * Detect if the process has root privilege on Posix.\n *\n * @example\n *\n * ```js\n * import { isAdminPosix } from \"admina\"\n *\n * console.log(isAdminPosix())\n * //=> false\n * ```\n *\n * @returns Whether the process is running as root.\n */\nexport const isAdminPosix = isRoot\n\n/**\n * Detect if the code is running as admin/root\n *\n * On Windows, it checks for admin access, and on Posix, it checks for root access\n *\n * @example\n *\n * ```js\n * import { isAdmin } from \"admina\"\n *\n * console.log(isAdmin())\n * //=> false\n * ```\n *\n * @returns Whether the process is running as root or admin.\n */\nexport function isAdmin() {\n if (process.platform === \"win32\") {\n return isAdminWindows()\n } else {\n return isRoot()\n }\n}\n",null,"// From `is-admin`: removed `node:proces` so that the code works on Deno and Node 12\n\n// cspell:disable\n\nimport execa from \"execa\"\n\n// https://stackoverflow.com/a/28268802\nasync function testFltmc() {\n try {\n await execa(\"fltmc\")\n return true\n } catch {\n return false\n }\n}\n\nexport default async function isAdmin() {\n if (process.platform !== \"win32\") {\n return false\n }\n\n try {\n // https://stackoverflow.com/a/21295806/1641422\n await execa(\"fsutil\", [\"dirty\", \"query\", process.env.systemdrive ?? \"\"])\n return true\n } catch (error) {\n if ((error as { code?: string }).code === \"ENOENT\") {\n return testFltmc()\n }\n\n return false\n }\n}\n",null,"import { isSudo, execRoot, defaultExecOptions } from \"./root\"\nimport { statSync } from \"fs\"\nimport process from \"process\"\n\n/**\n * Give the user access to the given path (and its sub-directories if a directory). It changes the owner to the\n * SUDO_USER. This allows the user to use the folder without sudo\n *\n * @param path The path to give the user access to\n */\nexport async function grantUserWriteAccess(path: string) {\n if (\n (process.platform === \"linux\" || process.platform === \"darwin\") &&\n isSudo() &&\n process.env.SUDO_USER !== undefined\n ) {\n const isDirectory = statSync(path).isDirectory()\n await execRoot(\"chown\", [...(isDirectory ? [\"-R\"] : []), process.env.SUDO_USER, path], defaultExecOptions)\n }\n}\n","import { warning } from \"ci-log\"\nimport updateNotifier from \"simple-update-notifier\"\nimport packageJson from \"../package-version.json\"\n\n// auto self update notifier\nexport async function checkUpdates() {\n try {\n await updateNotifier({ pkg: packageJson })\n } catch (err) {\n warning(`Failed to check for updates: ${err instanceof Error ? err.message + err.stack : err}`)\n }\n}\n","'use strict';\n\nvar process$1 = require('process');\nvar semver = require('semver');\nvar os = require('os');\nvar path = require('path');\nvar fs = require('fs');\nvar https = require('https');\n\n/******************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\n\r\nfunction __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nfunction __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\n\nvar packageJson = process$1.env.npm_package_json;\nvar userAgent = process$1.env.npm_config_user_agent;\nvar isNpm6 = Boolean(userAgent && userAgent.startsWith('npm'));\nvar isNpm7 = Boolean(packageJson && packageJson.endsWith('package.json'));\nvar isNpm = isNpm6 || isNpm7;\nvar isYarn = Boolean(userAgent && userAgent.startsWith('yarn'));\nvar isNpmOrYarn = isNpm || isYarn;\n\nvar homeDirectory = os.homedir();\nvar configDir = process.env.XDG_CONFIG_HOME ||\n path.join(homeDirectory, '.config', 'simple-update-notifier');\nvar getConfigFile = function (packageName) {\n return path.join(configDir, \"\".concat(packageName.replace('@', '').replace('/', '__'), \".json\"));\n};\nvar createConfigDir = function () {\n if (!fs.existsSync(configDir)) {\n fs.mkdirSync(configDir, { recursive: true });\n }\n};\nvar getLastUpdate = function (packageName) {\n var configFile = getConfigFile(packageName);\n try {\n if (!fs.existsSync(configFile)) {\n return undefined;\n }\n var file = JSON.parse(fs.readFileSync(configFile, 'utf8'));\n return file.lastUpdateCheck;\n }\n catch (_a) {\n return undefined;\n }\n};\nvar saveLastUpdate = function (packageName) {\n var configFile = getConfigFile(packageName);\n fs.writeFileSync(configFile, JSON.stringify({ lastUpdateCheck: new Date().getTime() }));\n};\n\nvar getDistVersion = function (packageName, distTag) { return __awaiter(void 0, void 0, void 0, function () {\n var url;\n return __generator(this, function (_a) {\n url = \"https://registry.npmjs.org/-/package/\".concat(packageName, \"/dist-tags\");\n return [2 /*return*/, new Promise(function (resolve, reject) {\n https\n .get(url, function (res) {\n var body = '';\n res.on('data', function (chunk) { return (body += chunk); });\n res.on('end', function () {\n try {\n var json = JSON.parse(body);\n var version = json[distTag];\n if (!version) {\n reject(new Error('Error getting version'));\n }\n resolve(version);\n }\n catch (_a) {\n reject(new Error('Could not parse version response'));\n }\n });\n })\n .on('error', function (err) { return reject(err); });\n })];\n });\n}); };\n\nvar hasNewVersion = function (_a) {\n var pkg = _a.pkg, _b = _a.updateCheckInterval, updateCheckInterval = _b === void 0 ? 1000 * 60 * 60 * 24 : _b, _c = _a.distTag, distTag = _c === void 0 ? 'latest' : _c, alwaysRun = _a.alwaysRun, debug = _a.debug;\n return __awaiter(void 0, void 0, void 0, function () {\n var lastUpdateCheck, latestVersion;\n return __generator(this, function (_d) {\n switch (_d.label) {\n case 0:\n createConfigDir();\n lastUpdateCheck = getLastUpdate(pkg.name);\n if (!(alwaysRun ||\n !lastUpdateCheck ||\n lastUpdateCheck < new Date().getTime() - updateCheckInterval)) return [3 /*break*/, 2];\n return [4 /*yield*/, getDistVersion(pkg.name, distTag)];\n case 1:\n latestVersion = _d.sent();\n saveLastUpdate(pkg.name);\n if (semver.gt(latestVersion, pkg.version)) {\n return [2 /*return*/, latestVersion];\n }\n else if (debug) {\n console.error(\"Latest version (\".concat(latestVersion, \") not newer than current version (\").concat(pkg.version, \")\"));\n }\n return [3 /*break*/, 3];\n case 2:\n if (debug) {\n console.error(\"Too recent to check for a new update. simpleUpdateNotifier() interval set to \".concat(updateCheckInterval, \"ms but only \").concat(new Date().getTime() - lastUpdateCheck, \"ms since last check.\"));\n }\n _d.label = 3;\n case 3: return [2 /*return*/, false];\n }\n });\n });\n};\n\nvar borderedText = function (text) {\n var lines = text.split('\\n');\n var width = Math.max.apply(Math, lines.map(function (l) { return l.length; }));\n var res = [\"\\u250C\".concat('─'.repeat(width + 2), \"\\u2510\")];\n for (var _i = 0, lines_1 = lines; _i < lines_1.length; _i++) {\n var line = lines_1[_i];\n res.push(\"\\u2502 \".concat(line.padEnd(width), \" \\u2502\"));\n }\n res.push(\"\\u2514\".concat('─'.repeat(width + 2), \"\\u2518\"));\n return res.join('\\n');\n};\n\nvar simpleUpdateNotifier = function (args) { return __awaiter(void 0, void 0, void 0, function () {\n var latestVersion, err_1;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n if (!args.alwaysRun &&\n (!process.stdout.isTTY || (isNpmOrYarn && !args.shouldNotifyInNpmScript))) {\n if (args.debug) {\n console.error('Opting out of running simpleUpdateNotifier()');\n }\n return [2 /*return*/];\n }\n _a.label = 1;\n case 1:\n _a.trys.push([1, 3, , 4]);\n return [4 /*yield*/, hasNewVersion(args)];\n case 2:\n latestVersion = _a.sent();\n if (latestVersion) {\n console.error(borderedText(\"New version of \".concat(args.pkg.name, \" available!\\nCurrent Version: \").concat(args.pkg.version, \"\\nLatest Version: \").concat(latestVersion)));\n }\n return [3 /*break*/, 4];\n case 3:\n err_1 = _a.sent();\n // Catch any network errors or cache writing errors so module doesn't cause a crash\n if (args.debug && err_1 instanceof Error) {\n console.error('Unexpected error in simpleUpdateNotifier():', err_1);\n }\n return [3 /*break*/, 4];\n case 4: return [2 /*return*/];\n }\n });\n}); };\n\nmodule.exports = simpleUpdateNotifier;\n","{\n \"name\": \"setup-cpp\",\n \"version\": \"0.36.1\"\n}\n","import { getInput } from \"@actions/core\"\nimport { info } from \"ci-log\"\nimport mri from \"mri\"\nimport { InstallationInfo } from \"./utils/setup/setupBin\"\nimport { Inputs, inputs } from \"./tool\"\n\nexport function parseArgs(args: string[]): Opts {\n return mri & { help: boolean }>(args, {\n string: [...inputs, \"timeout\"],\n default: Object.fromEntries(inputs.map((inp) => [inp, maybeGetInput(inp)])),\n alias: { h: \"help\" },\n boolean: \"help\",\n })\n}\n\nexport function 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--timeout\\t the timeout for the installation of each tool in minutes. By default it is 10 minutes.\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--$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`)\n\n console.table(\n {\n \"compiler and analyzer\": { tools: `--llvm, --gcc, --msvc, --vcvarsall, --cppcheck, --clangtidy, --clangformat` },\n \"build system\": { tools: `--cmake, --ninja, --meson, --make, --task, --bazel` },\n \"package manager\": { tools: `--vcpkg, --conan, --choco, --brew, --nala` },\n cache: { tools: `--cppcache, --sccache` },\n documentation: { tools: `--doxygen, --graphviz` },\n coverage: { tools: `--gcovr, --opencppcoverage, --kcov` },\n other: { tools: `--python, --powershell, --sevenzip` },\n },\n [\"tools\"],\n )\n}\n/** Get an object from github actions */\n\nexport function maybeGetInput(key: string) {\n const value = getInput(key.toLowerCase())\n if (value !== \"false\" && value !== \"\") {\n return value\n }\n return undefined // skip installation\n}\nexport type Opts = mri.Argv<\n Record & {\n help: boolean\n timeout?: string\n }\n>\n\nexport function 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","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 { setupBazel } from \"./bazel/bazel\"\nimport { setupBrew } from \"./brew/brew\"\nimport { setupCcache } from \"./ccache/ccache\"\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 { setupGcc } from \"./gcc/gcc\"\nimport { setupGcovr } from \"./gcovr/gcovr\"\nimport { setupGraphviz } from \"./graphviz/graphviz\"\nimport { setupKcov } from \"./kcov/kcov\"\nimport { setupClangTools, setupLLVM, setupClangFormat } from \"./llvm/llvm\"\nimport { setupMake } from \"./make/make\"\nimport { setupMeson } from \"./meson/meson\"\nimport { setupMSVC } from \"./msvc/msvc\"\nimport { setupNala } from \"./nala/nala\"\nimport { setupNinja } from \"./ninja/ninja\"\nimport { setupOpencppcoverage } from \"./opencppcoverage/opencppcoverage\"\nimport { setupPowershell } from \"./powershell/powershell\"\nimport { setupPython } from \"./python/python\"\nimport { setupSccache } from \"./sccache/sccache\"\nimport { setupSevenZip } from \"./sevenzip/sevenzip\"\nimport { setupTask } from \"./task/task\"\nimport { setupVcpkg } from \"./vcpkg/vcpkg\"\nimport { setupVCVarsall } from \"./vcvarsall/vcvarsall\"\n\n/** The setup functions */\nexport const 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 sccache: setupSccache,\n doxygen: setupDoxygen,\n graphviz: setupGraphviz,\n cppcheck: setupCppcheck,\n clangtidy: setupClangTools,\n clangformat: setupClangFormat,\n msvc: setupMSVC,\n vcvarsall: setupVCVarsall,\n kcov: setupKcov,\n make: setupMake,\n task: setupTask,\n sevenzip: setupSevenZip,\n}\n\nexport type ToolName = keyof typeof setups\n\n/** The tools that can be installed */\nexport const tools = Object.keys(setups) as Array\n\n/** The possible inputs to the program */\nexport type Inputs = keyof typeof setups | \"compiler\" | \"architecture\" | \"timeout\"\n\n/** ‌ an array of possible inputs */\nexport const inputs: Array = [\"compiler\", \"architecture\", \"timeout\", ...tools]\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 \"admina\"\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 await setupDnfPack([{ name: \"dnf-plugins-core\" }])\n execRootSync(\"dnf\", [\"copr\", \"enable\", \"vbatts/bazel\"])\n return setupDnfPack([{ name: \"bazel4\" }])\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([{ name: \"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 { InstallationInfo } from \"./setupBin\"\nimport { execRoot, execRootSync } from \"admina\"\nimport { GITHUB_ACTIONS } from \"ci-info\"\nimport { addEnv, cpprc_path, setupCppInProfile } from \"../env/addEnv\"\nimport { pathExists } from \"path-exists\"\nimport { promises as fsPromises } from \"fs\"\nconst { appendFile } = fsPromises\nimport { execa, ExecaError } from \"execa\"\nimport escapeRegex from \"escape-string-regexp\"\nimport { warning, info } from \"ci-log\"\nimport which from \"which\"\n\n/* eslint-disable require-atomic-updates */\nlet didUpdate: boolean = false\nlet didInit: boolean = false\n\nexport type AptPackage = {\n name: string\n version?: string\n repositories?: string[]\n}\n\nconst retryErrors = [\n \"E: Could not get lock\",\n \"dpkg: error processing archive\",\n \"dpkg: error: dpkg status database is locked by another process\",\n]\n\n/** A function that installs a package using apt */\nexport async function setupAptPack(packages: AptPackage[], update = false): Promise {\n const apt: string = getApt()\n\n for (const { name, version } of packages) {\n info(`Installing ${name} ${version ?? \"\"} via ${apt}`)\n }\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 const allRepositories = [...new Set(packages.flatMap((pack) => pack.repositories ?? []))]\n\n if (allRepositories.length !== 0) {\n for (const repo of allRepositories) {\n // eslint-disable-next-line no-await-in-loop\n execRootSync(\"add-apt-repository\", [\"-y\", repo])\n }\n\n updateRepos(apt)\n }\n\n const aptArgs = await Promise.all(packages.map((pack) => getAptArg(pack.name, pack.version)))\n try {\n execRootSync(apt, [\"install\", \"--fix-broken\", \"-y\", ...aptArgs])\n } catch (err) {\n if (\"stderr\" in (err as ExecaError)) {\n const stderr = (err as ExecaError).stderr\n if (retryErrors.some((error) => stderr.includes(error))) {\n warning(`Failed to install packages ${aptArgs}. Retrying...`)\n execRootSync(apt, [\"install\", \"--fix-broken\", \"-y\", ...aptArgs])\n }\n } else {\n throw err\n }\n }\n\n return { binDir: \"/usr/bin/\" }\n}\n\nexport enum AptPackageType {\n NameDashVersion,\n NameEqualsVersion,\n Name,\n None,\n}\n\nexport async function aptPackageType(name: string, version: string | undefined): Promise {\n if (version !== undefined && version !== \"\") {\n const { stdout } = await execa(\"apt-cache\", [\n \"search\",\n \"--names-only\",\n `^${escapeRegex(name)}-${escapeRegex(version)}$`,\n ])\n if (stdout.trim() !== \"\") {\n return AptPackageType.NameDashVersion\n }\n\n try {\n // check if apt-get show can find the version\n // eslint-disable-next-line @typescript-eslint/no-shadow\n const { stdout } = await execa(\"apt-cache\", [\"show\", `${name}=${version}`])\n if (stdout.trim() === \"\") {\n return AptPackageType.NameEqualsVersion\n }\n } catch {\n // ignore\n }\n }\n\n try {\n const { stdout: showStdout } = await execa(\"apt-cache\", [\"show\", name])\n if (showStdout.trim() !== \"\") {\n return AptPackageType.Name\n }\n } catch {\n // ignore\n }\n\n return AptPackageType.None\n}\n\nasync function getAptArg(name: string, version: string | undefined) {\n const package_type = await aptPackageType(name, version)\n switch (package_type) {\n case AptPackageType.NameDashVersion:\n return `${name}-${version}`\n case AptPackageType.NameEqualsVersion:\n return `${name}=${version}`\n case AptPackageType.Name:\n return name\n case AptPackageType.None:\n default:\n throw new Error(`Could not find package ${name} ${version ?? \"\"}`)\n }\n}\n\nexport function hasNala() {\n return which.sync(\"nala\", { nothrow: true }) !== null\n}\n\nfunction getApt() {\n let apt: string\n if (hasNala()) {\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 const promises: Promise[] = [\n addAptKeyViaServer([\"3B4FE6ACC0B21F32\", \"40976EAF437D05B5\"], \"setup-cpp-ubuntu-archive.gpg\"),\n addAptKeyViaServer([\"1E9377A2BA9EF27F\"], \"launchpad-toolchain.gpg\"),\n ]\n if (apt === \"nala\") {\n // enable utf8 otherwise it fails because of the usage of ASCII encoding\n promises.push(\n addEnv(\"LANG\", \"C.UTF-8\", { shouldAddOnlyIfNotDefined: true }),\n addEnv(\"LC_ALL\", \"C.UTF-8\", { shouldAddOnlyIfNotDefined: true }),\n )\n }\n await Promise.all(promises)\n}\n\nfunction initGpg() {\n execRootSync(\"gpg\", [\"-k\"])\n}\n\nexport async function addAptKeyViaServer(keys: string[], name: string, server = \"keyserver.ubuntu.com\") {\n try {\n const fileName = `/etc/apt/trusted.gpg.d/${name}`\n if (!(await pathExists(fileName))) {\n initGpg()\n\n await Promise.all(\n keys.map(async (key) => {\n await execRoot(\"gpg\", [\n \"--no-default-keyring\",\n \"--keyring\",\n `gnupg-ring:${fileName}`,\n \"--keyserver\",\n server,\n \"--recv-keys\",\n key,\n ])\n await execRoot(\"chmod\", [\"644\", fileName])\n }),\n )\n }\n return fileName\n } catch (err) {\n warning(`Failed to add apt key via server ${server}: ${err}`)\n return undefined\n }\n}\n\nexport async function addAptKeyViaDownload(name: string, url: string) {\n const fileName = `/etc/apt/trusted.gpg.d/${name}`\n if (!(await pathExists(fileName))) {\n initGpg()\n await setupAptPack([{ name: \"curl\" }, { name: \"ca-certificates\" }], undefined)\n await execa(\"curl\", [\"-s\", url, \"-o\", `/tmp/${name}`])\n execRootSync(\"gpg\", [\"--no-default-keyring\", \"--keyring\", `gnupg-ring:${fileName}`, \"--import\", `/tmp/${name}`])\n execRootSync(\"chmod\", [\"644\", fileName])\n }\n return fileName\n}\n\nexport async function updateAptAlternatives(name: string, path: string) {\n if (GITHUB_ACTIONS) {\n return execRoot(\"update-alternatives\", [\"--install\", `/usr/bin/${name}`, name, path, \"40\"])\n } else {\n await setupCppInProfile()\n return appendFile(\n cpprc_path,\n `\\nif [ $UID -eq 0 ]; then update-alternatives --install /usr/bin/${name} ${name} ${path} 40; fi\\n`,\n )\n }\n}\n\nexport async function isPackageInstalled(regexp: string) {\n try {\n // check if a package matching the regexp is installed\n const { stdout } = await execa(\"dpkg\", [\"-l\", regexp])\n const lines = stdout.split(\"\\n\")\n // check if the output contains any lines that start with \"ii\"\n return lines.some((line) => line.startsWith(\"ii\"))\n } catch {\n return false\n }\n}\n","import { exportVariable, addPath as ghAddPath, info, setFailed } from \"@actions/core\"\nimport { GITHUB_ACTIONS } from \"ci-info\"\nimport { untildifyUser } from \"untildify-user\"\nimport { appendFileSync, readFileSync, writeFileSync } from \"fs\"\nimport { error, warning } from \"ci-log\"\nimport { execPowershell } from \"exec-powershell\"\nimport { delimiter } from \"path\"\nimport escapeSpace from \"escape-path-with-spaces\"\nimport { grantUserWriteAccess } from \"admina\"\nimport escapeQuote from \"escape-quotes\"\nimport { pathExists } from \"path-exists\"\n\ntype AddEnvOptions = {\n /** If true, the value will be escaped with quotes and spaces will be escaped with backslash */\n shouldEscapeSpace?: boolean\n /** If true, the variable will be only added if it is not defined */\n shouldAddOnlyIfNotDefined?: boolean\n}\n\nconst defaultAddEnvOptions: AddEnvOptions = {\n shouldEscapeSpace: false,\n shouldAddOnlyIfNotDefined: false,\n}\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(\n name: string,\n valGiven: string | undefined,\n options: AddEnvOptions = defaultAddEnvOptions,\n) {\n const val = escapeString(valGiven ?? \"\", options.shouldEscapeSpace)\n try {\n if (GITHUB_ACTIONS) {\n try {\n if (options.shouldAddOnlyIfNotDefined) {\n if (process.env[name] !== undefined) {\n info(`Environment variable ${name} is already defined. Skipping.`)\n return\n }\n }\n exportVariable(name, val)\n } catch (err) {\n error(err as Error)\n await addEnvSystem(name, val, options)\n }\n } else {\n await addEnvSystem(name, val, options)\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\nfunction escapeString(valGiven: string, shouldEscapeSpace: boolean = false) {\n const spaceEscaped = shouldEscapeSpace ? escapeSpace(valGiven) : valGiven\n return escapeQuote(spaceEscaped, '\"', \"\\\\\")\n}\n\nconst ignoredPaths = [/\\/usr\\/bin\\/?/, /\\/usr\\/local\\/bin\\/?/]\n\n/** Skip adding /usr/bin to PATH if it is already there */\nfunction isIgnoredPath(path: string) {\n if (ignoredPaths.some((checkedPath) => checkedPath.test(path))) {\n const paths = process.env.PATH?.split(delimiter) ?? []\n return paths.includes(path)\n }\n return false\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 if (isIgnoredPath(path)) {\n return\n }\n\n process.env.PATH = `${path}${delimiter}${process.env.PATH}`\n try {\n if (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, options: AddEnvOptions) {\n const val = valGiven ?? \"\"\n switch (process.platform) {\n case \"win32\": {\n if (options.shouldAddOnlyIfNotDefined) {\n if (process.env[name] !== undefined) {\n info(`Environment variable ${name} is already defined. Skipping.`)\n return\n }\n }\n // We do not use `execaSync(`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 await setupCppInProfile()\n if (options.shouldAddOnlyIfNotDefined) {\n appendFileSync(cpprc_path, `\\nif [ -z \"\\${${name}}\" ]; then export ${name}=\"${val}\"; fi\\n`)\n info(`if not defined ${name} then ${name}=\"${val}\" was added to \"${cpprc_path}`)\n } else {\n appendFileSync(cpprc_path, `\\nexport ${name}=\"${val}\"\\n`)\n info(`${name}=\"${val}\" was added to \"${cpprc_path}`)\n }\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 `execaSync(`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(\"PATH\", \"User\")); [Environment]::SetEnvironmentVariable(\"PATH\", \"${path};$USER_PATH\", \"User\")`,\n )\n info(`\"${path}\" was added to the PATH.`)\n return\n }\n case \"linux\":\n case \"darwin\": {\n await 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\n/* eslint-disable require-atomic-updates */\nlet setupCppInProfile_called = false\n\n/// handles adding conditions to source .cpprc file from .bashrc and .profile\nexport async 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 = \"# Automatically Generated by setup-cpp\\nexport SOURCE_CPPRC=0\"\n\n if (await pathExists(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 // source cpprc in bashrc/profile\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\nexport async function finalizeCpprc() {\n if (await pathExists(cpprc_path)) {\n const entries = readFileSync(cpprc_path, \"utf-8\").split(\"\\n\")\n\n const unique_entries = [...new Set(entries.reverse())].reverse() // remove duplicates, keeping the latest entry\n\n writeFileSync(cpprc_path, unique_entries.join(\"\\n\"))\n\n await grantUserWriteAccess(cpprc_path)\n }\n}\n","import * as 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.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.execaSync(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 {Buffer} from 'node:buffer';\nimport path from 'node:path';\nimport childProcess from 'node:child_process';\nimport process from 'node:process';\nimport crossSpawn from 'cross-spawn';\nimport stripFinalNewline from 'strip-final-newline';\nimport {npmRunPathEnv} from 'npm-run-path';\nimport onetime from 'onetime';\nimport {makeError} from './lib/error.js';\nimport {normalizeStdio, normalizeStdioNode} from './lib/stdio.js';\nimport {spawnedKill, spawnedCancel, setupTimeout, validateTimeout, setExitHandler} from './lib/kill.js';\nimport {addPipeMethods} from './lib/pipe.js';\nimport {handleInput, getSpawnedResult, makeAllStream, handleInputSync} from './lib/stream.js';\nimport {mergePromise, getSpawnedPromise} from './lib/promise.js';\nimport {joinCommand, parseCommand, parseTemplates, getEscapedCommand} from './lib/command.js';\nimport {logCommand, verboseDefault} from './lib/verbose.js';\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 npmRunPathEnv({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\tverbose: verboseDefault,\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 `execaSync()` 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\nexport function execa(file, args, options) {\n\tconst parsed = handleArguments(file, args, options);\n\tconst command = joinCommand(file, args);\n\tconst escapedCommand = getEscapedCommand(file, args);\n\tlogCommand(escapedCommand, parsed.options);\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\tmergePromise(dummySpawned, errorPromise);\n\t\treturn dummySpawned;\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 || (parsed.options.signal ? parsed.options.signal.aborted : false),\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);\n\n\tspawned.all = makeAllStream(spawned, parsed.options);\n\n\taddPipeMethods(spawned);\n\tmergePromise(spawned, handlePromiseOnce);\n\treturn spawned;\n}\n\nexport function execaSync(file, args, options) {\n\tconst parsed = handleArguments(file, args, options);\n\tconst command = joinCommand(file, args);\n\tconst escapedCommand = getEscapedCommand(file, args);\n\tlogCommand(escapedCommand, parsed.options);\n\n\tconst input = handleInputSync(parsed.options);\n\n\tlet result;\n\ttry {\n\t\tresult = childProcess.spawnSync(parsed.file, parsed.args, {...parsed.options, input});\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\nconst normalizeScriptStdin = ({input, inputFile, stdio}) => input === undefined && inputFile === undefined && stdio === undefined\n\t? {stdin: 'inherit'}\n\t: {};\n\nconst normalizeScriptOptions = (options = {}) => ({\n\tpreferLocal: true,\n\t...normalizeScriptStdin(options),\n\t...options,\n});\n\nfunction create$(options) {\n\tfunction $(templatesOrOptions, ...expressions) {\n\t\tif (!Array.isArray(templatesOrOptions)) {\n\t\t\treturn create$({...options, ...templatesOrOptions});\n\t\t}\n\n\t\tconst [file, ...args] = parseTemplates(templatesOrOptions, expressions);\n\t\treturn execa(file, args, normalizeScriptOptions(options));\n\t}\n\n\t$.sync = (templates, ...expressions) => {\n\t\tif (!Array.isArray(templates)) {\n\t\t\tthrow new TypeError('Please use $(options).sync`command` instead of $.sync(options)`command`.');\n\t\t}\n\n\t\tconst [file, ...args] = parseTemplates(templates, expressions);\n\t\treturn execaSync(file, args, normalizeScriptOptions(options));\n\t};\n\n\treturn $;\n}\n\nexport const $ = create$();\n\nexport function execaCommand(command, options) {\n\tconst [file, ...args] = parseCommand(command);\n\treturn execa(file, args, options);\n}\n\nexport function execaCommandSync(command, options) {\n\tconst [file, ...args] = parseCommand(command);\n\treturn execaSync(file, args, options);\n}\n\nexport function execaNode(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 = normalizeStdioNode(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","export default function stripFinalNewline(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, -1);\n\t}\n\n\tif (input[input.length - 1] === CR) {\n\t\tinput = input.slice(0, -1);\n\t}\n\n\treturn input;\n}\n","import process from 'node:process';\nimport path from 'node:path';\nimport url from 'node:url';\nimport pathKey from 'path-key';\n\nexport function npmRunPath(options = {}) {\n\tconst {\n\t\tcwd = process.cwd(),\n\t\tpath: path_ = process.env[pathKey()],\n\t\texecPath = process.execPath,\n\t} = options;\n\n\tlet previous;\n\tconst cwdString = cwd instanceof URL ? url.fileURLToPath(cwd) : cwd;\n\tlet cwdPath = path.resolve(cwdString);\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\tresult.push(path.resolve(cwdString, execPath, '..'));\n\n\treturn [...result, path_].join(path.delimiter);\n}\n\nexport function npmRunPathEnv({env = process.env, ...options} = {}) {\n\tenv = {...env};\n\n\tconst path = pathKey({env});\n\toptions.path = env[path];\n\tenv[path] = npmRunPath(options);\n\n\treturn env;\n}\n","export default function pathKey(options = {}) {\n\tconst {\n\t\tenv = process.env,\n\t\tplatform = process.platform\n\t} = options;\n\n\tif (platform !== 'win32') {\n\t\treturn 'PATH';\n\t}\n\n\treturn Object.keys(env).reverse().find(key => key.toUpperCase() === 'PATH') || 'Path';\n}\n","import mimicFunction from '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\tmimicFunction(onetime, function_);\n\tcalledFunctions.set(onetime, callCount);\n\n\treturn onetime;\n};\n\nonetime.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\nexport default onetime;\n","const copyProperty = (to, from, property, ignoreNonConfigurable) => {\n\t// `Function#length` should reflect the parameters of `to` not `from` since we keep its body.\n\t// `Function#prototype` is non-writable and non-configurable so can never be modified.\n\tif (property === 'length' || property === 'prototype') {\n\t\treturn;\n\t}\n\n\t// `Function#arguments` and `Function#caller` should not be copied. They were reported to be present in `Reflect.ownKeys` for some devices in React Native (#41), so we explicitly ignore them here.\n\tif (property === 'arguments' || property === 'caller') {\n\t\treturn;\n\t}\n\n\tconst toDescriptor = Object.getOwnPropertyDescriptor(to, property);\n\tconst fromDescriptor = Object.getOwnPropertyDescriptor(from, property);\n\n\tif (!canCopyProperty(toDescriptor, fromDescriptor) && ignoreNonConfigurable) {\n\t\treturn;\n\t}\n\n\tObject.defineProperty(to, property, fromDescriptor);\n};\n\n// `Object.defineProperty()` throws if the property exists, is not configurable and either:\n// - one its descriptors is changed\n// - it is non-writable and its value is changed\nconst canCopyProperty = function (toDescriptor, fromDescriptor) {\n\treturn toDescriptor === undefined || toDescriptor.configurable || (\n\t\ttoDescriptor.writable === fromDescriptor.writable &&\n\t\ttoDescriptor.enumerable === fromDescriptor.enumerable &&\n\t\ttoDescriptor.configurable === fromDescriptor.configurable &&\n\t\t(toDescriptor.writable || toDescriptor.value === fromDescriptor.value)\n\t);\n};\n\nconst changePrototype = (to, from) => {\n\tconst fromPrototype = Object.getPrototypeOf(from);\n\tif (fromPrototype === Object.getPrototypeOf(to)) {\n\t\treturn;\n\t}\n\n\tObject.setPrototypeOf(to, fromPrototype);\n};\n\nconst wrappedToString = (withName, fromBody) => `/* Wrapped ${withName}*/\\n${fromBody}`;\n\nconst toStringDescriptor = Object.getOwnPropertyDescriptor(Function.prototype, 'toString');\nconst toStringName = Object.getOwnPropertyDescriptor(Function.prototype.toString, 'name');\n\n// We call `from.toString()` early (not lazily) to ensure `from` can be garbage collected.\n// We use `bind()` instead of a closure for the same reason.\n// Calling `from.toString()` early also allows caching it in case `to.toString()` is called several times.\nconst changeToString = (to, from, name) => {\n\tconst withName = name === '' ? '' : `with ${name.trim()}() `;\n\tconst newToString = wrappedToString.bind(null, withName, from.toString());\n\t// Ensure `to.toString.toString` is non-enumerable and has the same `same`\n\tObject.defineProperty(newToString, 'name', toStringName);\n\tObject.defineProperty(to, 'toString', {...toStringDescriptor, value: newToString});\n};\n\nexport default function mimicFunction(to, from, {ignoreNonConfigurable = false} = {}) {\n\tconst {name} = to;\n\n\tfor (const property of Reflect.ownKeys(from)) {\n\t\tcopyProperty(to, from, property, ignoreNonConfigurable);\n\t}\n\n\tchangePrototype(to, from);\n\tchangeToString(to, from, name);\n\n\treturn to;\n}\n","import {signalsByName} from '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\nexport const 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","import{constants}from\"node:os\";\n\nimport{SIGRTMAX}from\"./realtime.js\";\nimport{getSignals}from\"./signals.js\";\n\n\n\nconst getSignalsByName=()=>{\nconst signals=getSignals();\nreturn Object.fromEntries(signals.map(getSignalByName));\n};\n\nconst getSignalByName=({\nname,\nnumber,\ndescription,\nsupported,\naction,\nforced,\nstandard\n})=>[name,{name,number,description,supported,action,forced,standard}];\n\nexport const signalsByName=getSignalsByName();\n\n\n\n\nconst getSignalsByNumber=()=>{\nconst signals=getSignals();\nconst length=SIGRTMAX+1;\nconst signalsA=Array.from({length},(value,number)=>\ngetSignalByNumber(number,signals));\n\nreturn Object.assign({},...signalsA);\n};\n\nconst getSignalByNumber=(number,signals)=>{\nconst signal=findSignalByNumber(number,signals);\n\nif(signal===undefined){\nreturn{};\n}\n\nconst{name,description,supported,action,forced,standard}=signal;\nreturn{\n[number]:{\nname,\nnumber,\ndescription,\nsupported,\naction,\nforced,\nstandard\n}\n};\n};\n\n\n\nconst findSignalByNumber=(number,signals)=>{\nconst signal=signals.find(({name})=>constants.signals[name]===number);\n\nif(signal!==undefined){\nreturn signal;\n}\n\nreturn signals.find((signalA)=>signalA.number===number);\n};\n\nexport const signalsByNumber=getSignalsByNumber();","\nexport const getRealtimeSignals=()=>{\nconst length=SIGRTMAX-SIGRTMIN+1;\nreturn Array.from({length},getRealtimeSignal);\n};\n\nconst getRealtimeSignal=(value,index)=>({\nname:`SIGRT${index+1}`,\nnumber:SIGRTMIN+index,\naction:\"terminate\",\ndescription:\"Application-specific signal (realtime)\",\nstandard:\"posix\"\n});\n\nconst SIGRTMIN=34;\nexport const SIGRTMAX=64;","import{constants}from\"node:os\";\n\nimport{SIGNALS}from\"./core.js\";\nimport{getRealtimeSignals}from\"./realtime.js\";\n\n\n\nexport const getSignals=()=>{\nconst realtimeSignals=getRealtimeSignals();\nconst signals=[...SIGNALS,...realtimeSignals].map(normalizeSignal);\nreturn signals;\n};\n\n\n\n\n\n\n\nconst normalizeSignal=({\nname,\nnumber:defaultNumber,\ndescription,\naction,\nforced=false,\nstandard\n})=>{\nconst{\nsignals:{[name]:constantSignal}\n}=constants;\nconst supported=constantSignal!==undefined;\nconst number=supported?constantSignal:defaultNumber;\nreturn{name,number,description,supported,action,forced,standard};\n};","\n\nexport const SIGNALS=[\n{\nname:\"SIGHUP\",\nnumber:1,\naction:\"terminate\",\ndescription:\"Terminal closed\",\nstandard:\"posix\"\n},\n{\nname:\"SIGINT\",\nnumber:2,\naction:\"terminate\",\ndescription:\"User interruption with CTRL-C\",\nstandard:\"ansi\"\n},\n{\nname:\"SIGQUIT\",\nnumber:3,\naction:\"core\",\ndescription:\"User interruption with CTRL-\\\\\",\nstandard:\"posix\"\n},\n{\nname:\"SIGILL\",\nnumber:4,\naction:\"core\",\ndescription:\"Invalid machine instruction\",\nstandard:\"ansi\"\n},\n{\nname:\"SIGTRAP\",\nnumber:5,\naction:\"core\",\ndescription:\"Debugger breakpoint\",\nstandard:\"posix\"\n},\n{\nname:\"SIGABRT\",\nnumber:6,\naction:\"core\",\ndescription:\"Aborted\",\nstandard:\"ansi\"\n},\n{\nname:\"SIGIOT\",\nnumber:6,\naction:\"core\",\ndescription:\"Aborted\",\nstandard:\"bsd\"\n},\n{\nname:\"SIGBUS\",\nnumber:7,\naction:\"core\",\ndescription:\n\"Bus error due to misaligned, non-existing address or paging error\",\nstandard:\"bsd\"\n},\n{\nname:\"SIGEMT\",\nnumber:7,\naction:\"terminate\",\ndescription:\"Command should be emulated but is not implemented\",\nstandard:\"other\"\n},\n{\nname:\"SIGFPE\",\nnumber:8,\naction:\"core\",\ndescription:\"Floating point arithmetic error\",\nstandard:\"ansi\"\n},\n{\nname:\"SIGKILL\",\nnumber:9,\naction:\"terminate\",\ndescription:\"Forced termination\",\nstandard:\"posix\",\nforced:true\n},\n{\nname:\"SIGUSR1\",\nnumber:10,\naction:\"terminate\",\ndescription:\"Application-specific signal\",\nstandard:\"posix\"\n},\n{\nname:\"SIGSEGV\",\nnumber:11,\naction:\"core\",\ndescription:\"Segmentation fault\",\nstandard:\"ansi\"\n},\n{\nname:\"SIGUSR2\",\nnumber:12,\naction:\"terminate\",\ndescription:\"Application-specific signal\",\nstandard:\"posix\"\n},\n{\nname:\"SIGPIPE\",\nnumber:13,\naction:\"terminate\",\ndescription:\"Broken pipe or socket\",\nstandard:\"posix\"\n},\n{\nname:\"SIGALRM\",\nnumber:14,\naction:\"terminate\",\ndescription:\"Timeout or timer\",\nstandard:\"posix\"\n},\n{\nname:\"SIGTERM\",\nnumber:15,\naction:\"terminate\",\ndescription:\"Termination\",\nstandard:\"ansi\"\n},\n{\nname:\"SIGSTKFLT\",\nnumber:16,\naction:\"terminate\",\ndescription:\"Stack is empty or overflowed\",\nstandard:\"other\"\n},\n{\nname:\"SIGCHLD\",\nnumber:17,\naction:\"ignore\",\ndescription:\"Child process terminated, paused or unpaused\",\nstandard:\"posix\"\n},\n{\nname:\"SIGCLD\",\nnumber:17,\naction:\"ignore\",\ndescription:\"Child process terminated, paused or unpaused\",\nstandard:\"other\"\n},\n{\nname:\"SIGCONT\",\nnumber:18,\naction:\"unpause\",\ndescription:\"Unpaused\",\nstandard:\"posix\",\nforced:true\n},\n{\nname:\"SIGSTOP\",\nnumber:19,\naction:\"pause\",\ndescription:\"Paused\",\nstandard:\"posix\",\nforced:true\n},\n{\nname:\"SIGTSTP\",\nnumber:20,\naction:\"pause\",\ndescription:\"Paused using CTRL-Z or \\\"suspend\\\"\",\nstandard:\"posix\"\n},\n{\nname:\"SIGTTIN\",\nnumber:21,\naction:\"pause\",\ndescription:\"Background process cannot read terminal input\",\nstandard:\"posix\"\n},\n{\nname:\"SIGBREAK\",\nnumber:21,\naction:\"terminate\",\ndescription:\"User interruption with CTRL-BREAK\",\nstandard:\"other\"\n},\n{\nname:\"SIGTTOU\",\nnumber:22,\naction:\"pause\",\ndescription:\"Background process cannot write to terminal output\",\nstandard:\"posix\"\n},\n{\nname:\"SIGURG\",\nnumber:23,\naction:\"ignore\",\ndescription:\"Socket received out-of-band data\",\nstandard:\"bsd\"\n},\n{\nname:\"SIGXCPU\",\nnumber:24,\naction:\"core\",\ndescription:\"Process timed out\",\nstandard:\"bsd\"\n},\n{\nname:\"SIGXFSZ\",\nnumber:25,\naction:\"core\",\ndescription:\"File too big\",\nstandard:\"bsd\"\n},\n{\nname:\"SIGVTALRM\",\nnumber:26,\naction:\"terminate\",\ndescription:\"Timeout or timer\",\nstandard:\"bsd\"\n},\n{\nname:\"SIGPROF\",\nnumber:27,\naction:\"terminate\",\ndescription:\"Timeout or timer\",\nstandard:\"bsd\"\n},\n{\nname:\"SIGWINCH\",\nnumber:28,\naction:\"ignore\",\ndescription:\"Terminal window size changed\",\nstandard:\"bsd\"\n},\n{\nname:\"SIGIO\",\nnumber:29,\naction:\"terminate\",\ndescription:\"I/O is available\",\nstandard:\"other\"\n},\n{\nname:\"SIGPOLL\",\nnumber:29,\naction:\"terminate\",\ndescription:\"Watched event\",\nstandard:\"other\"\n},\n{\nname:\"SIGINFO\",\nnumber:29,\naction:\"ignore\",\ndescription:\"Request for process information\",\nstandard:\"other\"\n},\n{\nname:\"SIGPWR\",\nnumber:30,\naction:\"terminate\",\ndescription:\"Device running out of power\",\nstandard:\"systemv\"\n},\n{\nname:\"SIGSYS\",\nnumber:31,\naction:\"core\",\ndescription:\"Invalid system call\",\nstandard:\"other\"\n},\n{\nname:\"SIGUNUSED\",\nnumber:31,\naction:\"terminate\",\ndescription:\"Invalid system call\",\nstandard:\"other\"\n}];","const aliases = ['stdin', 'stdout', 'stderr'];\n\nconst hasAlias = options => aliases.some(alias => options[alias] !== undefined);\n\nexport const 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\n// `ipc` is pushed unless it is already present\nexport const normalizeStdioNode = 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","import os from 'node:os';\nimport onExit from 'signal-exit';\n\nconst DEFAULT_FORCE_KILL_TIMEOUT = 1000 * 5;\n\n// Monkey-patches `childProcess.kill()` to add `forceKillAfterTimeout` behavior\nexport const 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) => isSigterm(signal) && forceKillAfterTimeout !== false && killResult;\n\nconst isSigterm = signal => signal === os.constants.signals.SIGTERM\n\t\t|| (typeof signal === 'string' && signal.toUpperCase() === 'SIGTERM');\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()`\nexport const 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\nexport const 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\nexport const 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\nexport const 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","import {createWriteStream} from 'node:fs';\nimport {ChildProcess} from 'node:child_process';\nimport {isWritableStream} from 'is-stream';\n\nconst isExecaChildProcess = target => target instanceof ChildProcess && typeof target.then === 'function';\n\nconst pipeToTarget = (spawned, streamName, target) => {\n\tif (typeof target === 'string') {\n\t\tspawned[streamName].pipe(createWriteStream(target));\n\t\treturn spawned;\n\t}\n\n\tif (isWritableStream(target)) {\n\t\tspawned[streamName].pipe(target);\n\t\treturn spawned;\n\t}\n\n\tif (!isExecaChildProcess(target)) {\n\t\tthrow new TypeError('The second argument must be a string, a stream or an Execa child process.');\n\t}\n\n\tif (!isWritableStream(target.stdin)) {\n\t\tthrow new TypeError('The target child process\\'s stdin must be available.');\n\t}\n\n\tspawned[streamName].pipe(target.stdin);\n\treturn target;\n};\n\nexport const addPipeMethods = spawned => {\n\tif (spawned.stdout !== null) {\n\t\tspawned.pipeStdout = pipeToTarget.bind(undefined, spawned, 'stdout');\n\t}\n\n\tif (spawned.stderr !== null) {\n\t\tspawned.pipeStderr = pipeToTarget.bind(undefined, spawned, 'stderr');\n\t}\n\n\tif (spawned.all !== undefined) {\n\t\tspawned.pipeAll = pipeToTarget.bind(undefined, spawned, 'all');\n\t}\n};\n","export function isStream(stream) {\n\treturn stream !== null\n\t\t&& typeof stream === 'object'\n\t\t&& typeof stream.pipe === 'function';\n}\n\nexport function isWritableStream(stream) {\n\treturn isStream(stream)\n\t\t&& stream.writable !== false\n\t\t&& typeof stream._write === 'function'\n\t\t&& typeof stream._writableState === 'object';\n}\n\nexport function isReadableStream(stream) {\n\treturn isStream(stream)\n\t\t&& stream.readable !== false\n\t\t&& typeof stream._read === 'function'\n\t\t&& typeof stream._readableState === 'object';\n}\n\nexport function isDuplexStream(stream) {\n\treturn isWritableStream(stream)\n\t\t&& isReadableStream(stream);\n}\n\nexport function isTransformStream(stream) {\n\treturn isDuplexStream(stream)\n\t\t&& typeof stream._transform === 'function';\n}\n","import {createReadStream, readFileSync} from 'node:fs';\nimport {isStream} from 'is-stream';\nimport getStream from 'get-stream';\nimport mergeStream from 'merge-stream';\n\nconst validateInputOptions = input => {\n\tif (input !== undefined) {\n\t\tthrow new TypeError('The `input` and `inputFile` options cannot be both set.');\n\t}\n};\n\nconst getInputSync = ({input, inputFile}) => {\n\tif (typeof inputFile !== 'string') {\n\t\treturn input;\n\t}\n\n\tvalidateInputOptions(input);\n\treturn readFileSync(inputFile);\n};\n\n// `input` and `inputFile` option in sync mode\nexport const handleInputSync = options => {\n\tconst input = getInputSync(options);\n\n\tif (isStream(input)) {\n\t\tthrow new TypeError('The `input` option cannot be a stream in sync mode');\n\t}\n\n\treturn input;\n};\n\nconst getInput = ({input, inputFile}) => {\n\tif (typeof inputFile !== 'string') {\n\t\treturn input;\n\t}\n\n\tvalidateInputOptions(input);\n\treturn createReadStream(inputFile);\n};\n\n// `input` and `inputFile` option in async mode\nexport const handleInput = (spawned, options) => {\n\tconst input = getInput(options);\n\n\tif (input === 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`\nexport const 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\t// When `buffer` is `false`, `streamPromise` is `undefined` and there is no buffered data to retrieve\n\tif (!stream || streamPromise === undefined) {\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)\nexport const 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","// eslint-disable-next-line unicorn/prefer-top-level-await\nconst nativePromisePrototype = (async () => {})().constructor.prototype;\n\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`\nexport const 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\t: descriptor.value.bind(promise);\n\n\t\tReflect.defineProperty(spawned, property, {...descriptor, value});\n\t}\n};\n\n// Use promises instead of `child_process` events\nexport const getSpawnedPromise = spawned => new Promise((resolve, reject) => {\n\tspawned.on('exit', (exitCode, signal) => {\n\t\tresolve({exitCode, signal});\n\t});\n\n\tspawned.on('error', error => {\n\t\treject(error);\n\t});\n\n\tif (spawned.stdin) {\n\t\tspawned.stdin.on('error', error => {\n\t\t\treject(error);\n\t\t});\n\t}\n});\n","import {Buffer} from 'node:buffer';\nimport {ChildProcess} from 'node:child_process';\n\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\nexport const joinCommand = (file, args) => normalizeArgs(file, args).join(' ');\n\nexport const getEscapedCommand = (file, args) => normalizeArgs(file, args).map(arg => escapeArg(arg)).join(' ');\n\nconst SPACES_REGEXP = / +/g;\n\n// Handle `execaCommand()`\nexport const 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\nconst parseExpression = expression => {\n\tconst typeOfExpression = typeof expression;\n\n\tif (typeOfExpression === 'string') {\n\t\treturn expression;\n\t}\n\n\tif (typeOfExpression === 'number') {\n\t\treturn String(expression);\n\t}\n\n\tif (\n\t\ttypeOfExpression === 'object'\n\t\t&& expression !== null\n\t\t&& !(expression instanceof ChildProcess)\n\t\t&& 'stdout' in expression\n\t) {\n\t\tconst typeOfStdout = typeof expression.stdout;\n\n\t\tif (typeOfStdout === 'string') {\n\t\t\treturn expression.stdout;\n\t\t}\n\n\t\tif (Buffer.isBuffer(expression.stdout)) {\n\t\t\treturn expression.stdout.toString();\n\t\t}\n\n\t\tthrow new TypeError(`Unexpected \"${typeOfStdout}\" stdout in template expression`);\n\t}\n\n\tthrow new TypeError(`Unexpected \"${typeOfExpression}\" in template expression`);\n};\n\nconst concatTokens = (tokens, nextTokens, isNew) => isNew || tokens.length === 0 || nextTokens.length === 0\n\t? [...tokens, ...nextTokens]\n\t: [\n\t\t...tokens.slice(0, -1),\n\t\t`${tokens[tokens.length - 1]}${nextTokens[0]}`,\n\t\t...nextTokens.slice(1),\n\t];\n\nconst parseTemplate = ({templates, expressions, tokens, index, template}) => {\n\tconst templateString = template ?? templates.raw[index];\n\tconst templateTokens = templateString.split(SPACES_REGEXP).filter(Boolean);\n\tconst newTokens = concatTokens(\n\t\ttokens,\n\t\ttemplateTokens,\n\t\ttemplateString.startsWith(' '),\n\t);\n\n\tif (index === expressions.length) {\n\t\treturn newTokens;\n\t}\n\n\tconst expression = expressions[index];\n\tconst expressionTokens = Array.isArray(expression)\n\t\t? expression.map(expression => parseExpression(expression))\n\t\t: [parseExpression(expression)];\n\treturn concatTokens(\n\t\tnewTokens,\n\t\texpressionTokens,\n\t\ttemplateString.endsWith(' '),\n\t);\n};\n\nexport const parseTemplates = (templates, expressions) => {\n\tlet tokens = [];\n\n\tfor (const [index, template] of templates.entries()) {\n\t\ttokens = parseTemplate({templates, expressions, tokens, index, template});\n\t}\n\n\treturn tokens;\n};\n\n","import {debuglog} from 'node:util';\nimport process from 'node:process';\n\nexport const verboseDefault = debuglog('execa').enabled;\n\nconst padField = (field, padding) => String(field).padStart(padding, '0');\n\nconst getTimestamp = () => {\n\tconst date = new Date();\n\treturn `${padField(date.getHours(), 2)}:${padField(date.getMinutes(), 2)}:${padField(date.getSeconds(), 2)}.${padField(date.getMilliseconds(), 3)}`;\n};\n\nexport const logCommand = (escapedCommand, {verbose}) => {\n\tif (!verbose) {\n\t\treturn;\n\t}\n\n\tprocess.stderr.write(`[${getTimestamp()}] ${escapedCommand}\\n`);\n};\n","const os = require(\"os\");\r\n\r\n// to detect on with os user had used path.resolve(...)\r\nconst is_posix_os = (os.platform() !== \"win32\");\r\nconst version = os.release();\r\n\r\n// For some windows version (Windows 10 v1803), it is not useful to escape spaces in path\r\n// https://docs.microsoft.com/en-us/windows/release-information/\r\nconst windows_version_regex = /(\\d+\\.\\d+)\\.(\\d+)/;\r\nconst should_not_escape = (major_release = \"\", os_build = \"\") =>\r\n /1\\d+\\.\\d+/.test(major_release) && Number(os_build) >= 17134.1184;\r\n\r\nmodule.exports = function (given_path) {\r\n return (is_posix_os)\r\n // for posix path, escape is simple\r\n ? given_path.replace(/(\\s+)/g, '\\\\$1')\r\n // for windows, it depend of the build\r\n : (should_not_escape(...windows_version_regex.exec(version).splice(1)))\r\n // on major version, no need to escape anymore\r\n // https://support.microsoft.com/en-us/help/4467268/url-encoded-unc-paths-not-url-decoded-in-windows-10-version-1803-later\r\n ? given_path\r\n // on older version, replace space with symbol %20\r\n : given_path.replace(/(\\s+)/g, '%20');\r\n};","// Generated by CoffeeScript 1.10.0\n(function() {\n var regexEscape, reverse;\n\n regexEscape = require('escape-string-regexp');\n\n reverse = function(s) {\n return s.split('').reverse().join('');\n };\n\n module.exports = function(s, chars, escapeChar) {\n var regex;\n if (chars == null) {\n chars = '\\'';\n }\n if (escapeChar == null) {\n escapeChar = '\\\\';\n }\n if (typeof s !== 'string') {\n return s;\n }\n regex = new RegExp(\"([\" + (regexEscape(chars)) + \"])(?!\" + (regexEscape(escapeChar)) + \")\", 'g');\n return reverse(reverse(s).replace(regex, \"$1\" + escapeChar));\n };\n\n}).call(this);\n","import {Buffer} from 'node:buffer';\nimport path from 'node:path';\nimport childProcess from 'node:child_process';\nimport process from 'node:process';\nimport crossSpawn from 'cross-spawn';\nimport stripFinalNewline from 'strip-final-newline';\nimport {npmRunPathEnv} from 'npm-run-path';\nimport onetime from 'onetime';\nimport {makeError} from './lib/error.js';\nimport {normalizeStdio, normalizeStdioNode} from './lib/stdio.js';\nimport {spawnedKill, spawnedCancel, setupTimeout, validateTimeout, setExitHandler} from './lib/kill.js';\nimport {addPipeMethods} from './lib/pipe.js';\nimport {handleInput, getSpawnedResult, makeAllStream, handleInputSync} from './lib/stream.js';\nimport {mergePromise, getSpawnedPromise} from './lib/promise.js';\nimport {joinCommand, parseCommand, parseTemplates, getEscapedCommand} from './lib/command.js';\nimport {logCommand, verboseDefault} from './lib/verbose.js';\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 npmRunPathEnv({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\tverbose: verboseDefault,\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 `execaSync()` 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\nexport function execa(file, args, options) {\n\tconst parsed = handleArguments(file, args, options);\n\tconst command = joinCommand(file, args);\n\tconst escapedCommand = getEscapedCommand(file, args);\n\tlogCommand(escapedCommand, parsed.options);\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\tmergePromise(dummySpawned, errorPromise);\n\t\treturn dummySpawned;\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 || (parsed.options.signal ? parsed.options.signal.aborted : false),\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);\n\n\tspawned.all = makeAllStream(spawned, parsed.options);\n\n\taddPipeMethods(spawned);\n\tmergePromise(spawned, handlePromiseOnce);\n\treturn spawned;\n}\n\nexport function execaSync(file, args, options) {\n\tconst parsed = handleArguments(file, args, options);\n\tconst command = joinCommand(file, args);\n\tconst escapedCommand = getEscapedCommand(file, args);\n\tlogCommand(escapedCommand, parsed.options);\n\n\tconst input = handleInputSync(parsed.options);\n\n\tlet result;\n\ttry {\n\t\tresult = childProcess.spawnSync(parsed.file, parsed.args, {...parsed.options, input});\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\nconst normalizeScriptStdin = ({input, inputFile, stdio}) => input === undefined && inputFile === undefined && stdio === undefined\n\t? {stdin: 'inherit'}\n\t: {};\n\nconst normalizeScriptOptions = (options = {}) => ({\n\tpreferLocal: true,\n\t...normalizeScriptStdin(options),\n\t...options,\n});\n\nfunction create$(options) {\n\tfunction $(templatesOrOptions, ...expressions) {\n\t\tif (!Array.isArray(templatesOrOptions)) {\n\t\t\treturn create$({...options, ...templatesOrOptions});\n\t\t}\n\n\t\tconst [file, ...args] = parseTemplates(templatesOrOptions, expressions);\n\t\treturn execa(file, args, normalizeScriptOptions(options));\n\t}\n\n\t$.sync = (templates, ...expressions) => {\n\t\tif (!Array.isArray(templates)) {\n\t\t\tthrow new TypeError('Please use $(options).sync`command` instead of $.sync(options)`command`.');\n\t\t}\n\n\t\tconst [file, ...args] = parseTemplates(templates, expressions);\n\t\treturn execaSync(file, args, normalizeScriptOptions(options));\n\t};\n\n\treturn $;\n}\n\nexport const $ = create$();\n\nexport function execaCommand(command, options) {\n\tconst [file, ...args] = parseCommand(command);\n\treturn execa(file, args, options);\n}\n\nexport function execaCommandSync(command, options) {\n\tconst [file, ...args] = parseCommand(command);\n\treturn execaSync(file, args, options);\n}\n\nexport function execaNode(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 = normalizeStdioNode(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","import process from 'node:process';\nimport {signalsByName} from '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\nexport const 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, cwd = process.cwd()}},\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\terror.cwd = cwd;\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","const aliases = ['stdin', 'stdout', 'stderr'];\n\nconst hasAlias = options => aliases.some(alias => options[alias] !== undefined);\n\nexport const 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\n// `ipc` is pushed unless it is already present\nexport const normalizeStdioNode = 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","import os from 'node:os';\nimport onExit from 'signal-exit';\n\nconst DEFAULT_FORCE_KILL_TIMEOUT = 1000 * 5;\n\n// Monkey-patches `childProcess.kill()` to add `forceKillAfterTimeout` behavior\nexport const 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) => isSigterm(signal) && forceKillAfterTimeout !== false && killResult;\n\nconst isSigterm = signal => signal === os.constants.signals.SIGTERM\n\t\t|| (typeof signal === 'string' && signal.toUpperCase() === 'SIGTERM');\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()`\nexport const 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\nexport const 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\nexport const 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\nexport const 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","import {createWriteStream} from 'node:fs';\nimport {ChildProcess} from 'node:child_process';\nimport {isWritableStream} from 'is-stream';\n\nconst isExecaChildProcess = target => target instanceof ChildProcess && typeof target.then === 'function';\n\nconst pipeToTarget = (spawned, streamName, target) => {\n\tif (typeof target === 'string') {\n\t\tspawned[streamName].pipe(createWriteStream(target));\n\t\treturn spawned;\n\t}\n\n\tif (isWritableStream(target)) {\n\t\tspawned[streamName].pipe(target);\n\t\treturn spawned;\n\t}\n\n\tif (!isExecaChildProcess(target)) {\n\t\tthrow new TypeError('The second argument must be a string, a stream or an Execa child process.');\n\t}\n\n\tif (!isWritableStream(target.stdin)) {\n\t\tthrow new TypeError('The target child process\\'s stdin must be available.');\n\t}\n\n\tspawned[streamName].pipe(target.stdin);\n\treturn target;\n};\n\nexport const addPipeMethods = spawned => {\n\tif (spawned.stdout !== null) {\n\t\tspawned.pipeStdout = pipeToTarget.bind(undefined, spawned, 'stdout');\n\t}\n\n\tif (spawned.stderr !== null) {\n\t\tspawned.pipeStderr = pipeToTarget.bind(undefined, spawned, 'stderr');\n\t}\n\n\tif (spawned.all !== undefined) {\n\t\tspawned.pipeAll = pipeToTarget.bind(undefined, spawned, 'all');\n\t}\n};\n","import {createReadStream, readFileSync} from 'node:fs';\nimport {isStream} from 'is-stream';\nimport getStream from 'get-stream';\nimport mergeStream from 'merge-stream';\n\nconst validateInputOptions = input => {\n\tif (input !== undefined) {\n\t\tthrow new TypeError('The `input` and `inputFile` options cannot be both set.');\n\t}\n};\n\nconst getInputSync = ({input, inputFile}) => {\n\tif (typeof inputFile !== 'string') {\n\t\treturn input;\n\t}\n\n\tvalidateInputOptions(input);\n\treturn readFileSync(inputFile);\n};\n\n// `input` and `inputFile` option in sync mode\nexport const handleInputSync = options => {\n\tconst input = getInputSync(options);\n\n\tif (isStream(input)) {\n\t\tthrow new TypeError('The `input` option cannot be a stream in sync mode');\n\t}\n\n\treturn input;\n};\n\nconst getInput = ({input, inputFile}) => {\n\tif (typeof inputFile !== 'string') {\n\t\treturn input;\n\t}\n\n\tvalidateInputOptions(input);\n\treturn createReadStream(inputFile);\n};\n\n// `input` and `inputFile` option in async mode\nexport const handleInput = (spawned, options) => {\n\tconst input = getInput(options);\n\n\tif (input === 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`\nexport const 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\t// When `buffer` is `false`, `streamPromise` is `undefined` and there is no buffered data to retrieve\n\tif (!stream || streamPromise === undefined) {\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)\nexport const 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","// eslint-disable-next-line unicorn/prefer-top-level-await\nconst nativePromisePrototype = (async () => {})().constructor.prototype;\n\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`\nexport const 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\t: descriptor.value.bind(promise);\n\n\t\tReflect.defineProperty(spawned, property, {...descriptor, value});\n\t}\n};\n\n// Use promises instead of `child_process` events\nexport const getSpawnedPromise = spawned => new Promise((resolve, reject) => {\n\tspawned.on('exit', (exitCode, signal) => {\n\t\tresolve({exitCode, signal});\n\t});\n\n\tspawned.on('error', error => {\n\t\treject(error);\n\t});\n\n\tif (spawned.stdin) {\n\t\tspawned.stdin.on('error', error => {\n\t\t\treject(error);\n\t\t});\n\t}\n});\n","import {Buffer} from 'node:buffer';\nimport {ChildProcess} from 'node:child_process';\n\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\nexport const joinCommand = (file, args) => normalizeArgs(file, args).join(' ');\n\nexport const getEscapedCommand = (file, args) => normalizeArgs(file, args).map(arg => escapeArg(arg)).join(' ');\n\nconst SPACES_REGEXP = / +/g;\n\n// Handle `execaCommand()`\nexport const 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\nconst parseExpression = expression => {\n\tconst typeOfExpression = typeof expression;\n\n\tif (typeOfExpression === 'string') {\n\t\treturn expression;\n\t}\n\n\tif (typeOfExpression === 'number') {\n\t\treturn String(expression);\n\t}\n\n\tif (\n\t\ttypeOfExpression === 'object'\n\t\t&& expression !== null\n\t\t&& !(expression instanceof ChildProcess)\n\t\t&& 'stdout' in expression\n\t) {\n\t\tconst typeOfStdout = typeof expression.stdout;\n\n\t\tif (typeOfStdout === 'string') {\n\t\t\treturn expression.stdout;\n\t\t}\n\n\t\tif (Buffer.isBuffer(expression.stdout)) {\n\t\t\treturn expression.stdout.toString();\n\t\t}\n\n\t\tthrow new TypeError(`Unexpected \"${typeOfStdout}\" stdout in template expression`);\n\t}\n\n\tthrow new TypeError(`Unexpected \"${typeOfExpression}\" in template expression`);\n};\n\nconst concatTokens = (tokens, nextTokens, isNew) => isNew || tokens.length === 0 || nextTokens.length === 0\n\t? [...tokens, ...nextTokens]\n\t: [\n\t\t...tokens.slice(0, -1),\n\t\t`${tokens[tokens.length - 1]}${nextTokens[0]}`,\n\t\t...nextTokens.slice(1),\n\t];\n\nconst parseTemplate = ({templates, expressions, tokens, index, template}) => {\n\tconst templateString = template ?? templates.raw[index];\n\tconst templateTokens = templateString.split(SPACES_REGEXP).filter(Boolean);\n\tconst newTokens = concatTokens(\n\t\ttokens,\n\t\ttemplateTokens,\n\t\ttemplateString.startsWith(' '),\n\t);\n\n\tif (index === expressions.length) {\n\t\treturn newTokens;\n\t}\n\n\tconst expression = expressions[index];\n\tconst expressionTokens = Array.isArray(expression)\n\t\t? expression.map(expression => parseExpression(expression))\n\t\t: [parseExpression(expression)];\n\treturn concatTokens(\n\t\tnewTokens,\n\t\texpressionTokens,\n\t\ttemplateString.endsWith(' '),\n\t);\n};\n\nexport const parseTemplates = (templates, expressions) => {\n\tlet tokens = [];\n\n\tfor (const [index, template] of templates.entries()) {\n\t\ttokens = parseTemplate({templates, expressions, tokens, index, template});\n\t}\n\n\treturn tokens;\n};\n\n","import {debuglog} from 'node:util';\nimport process from 'node:process';\n\nexport const verboseDefault = debuglog('execa').enabled;\n\nconst padField = (field, padding) => String(field).padStart(padding, '0');\n\nconst getTimestamp = () => {\n\tconst date = new Date();\n\treturn `${padField(date.getHours(), 2)}:${padField(date.getMinutes(), 2)}:${padField(date.getSeconds(), 2)}.${padField(date.getMilliseconds(), 3)}`;\n};\n\nexport const logCommand = (escapedCommand, {verbose}) => {\n\tif (!verbose) {\n\t\treturn;\n\t}\n\n\tprocess.stderr.write(`[${getTimestamp()}] ${escapedCommand}\\n`);\n};\n","const isexe = require('isexe')\nconst { join, delimiter, sep, posix } = require('path')\n\nconst isWindows = process.platform === 'win32'\n\n// used to check for slashed in commands passed in. always checks for the posix\n// seperator on all platforms, and checks for the current separator when not on\n// a posix platform. don't use the isWindows check for this since that is mocked\n// in tests but we still need the code to actually work when called. that is also\n// why it is ignored from coverage.\n/* istanbul ignore next */\nconst rSlash = new RegExp(`[${posix.sep}${sep === posix.sep ? '' : sep}]`.replace(/(\\\\)/g, '\\\\$1'))\nconst rRel = new RegExp(`^\\\\.${rSlash.source}`)\n\nconst getNotFoundError = (cmd) =>\n Object.assign(new Error(`not found: ${cmd}`), { code: 'ENOENT' })\n\nconst getPathInfo = (cmd, {\n path: optPath = process.env.PATH,\n pathExt: optPathExt = process.env.PATHEXT,\n delimiter: optDelimiter = delimiter,\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(rSlash) ? [''] : [\n // windows always checks the cwd first\n ...(isWindows ? [process.cwd()] : []),\n ...(optPath || /* istanbul ignore next: very unusual */ '').split(optDelimiter),\n ]\n\n if (isWindows) {\n const pathExtExe = optPathExt ||\n ['.EXE', '.CMD', '.BAT', '.COM'].join(optDelimiter)\n const pathExt = pathExtExe.split(optDelimiter).reduce((acc, item) => {\n acc.push(item)\n acc.push(item.toLowerCase())\n return acc\n }, [])\n if (cmd.includes('.') && pathExt[0] !== '') {\n pathExt.unshift('')\n }\n return { pathEnv, pathExt, pathExtExe }\n }\n\n return { pathEnv, pathExt: [''] }\n}\n\nconst getPathPart = (raw, cmd) => {\n const pathPart = /^\".*\"$/.test(raw) ? raw.slice(1, -1) : raw\n const prefix = !pathPart && rRel.test(cmd) ? cmd.slice(0, 2) : ''\n return prefix + join(pathPart, cmd)\n}\n\nconst which = async (cmd, opt = {}) => {\n const { pathEnv, pathExt, pathExtExe } = getPathInfo(cmd, opt)\n const found = []\n\n for (const envPart of pathEnv) {\n const p = getPathPart(envPart, cmd)\n\n for (const ext of pathExt) {\n const withExt = p + ext\n const is = await isexe(withExt, { pathExt: pathExtExe, ignoreErrors: true })\n if (is) {\n if (!opt.all) {\n return withExt\n }\n found.push(withExt)\n }\n }\n }\n\n if (opt.all && found.length) {\n return found\n }\n\n if (opt.nothrow) {\n return null\n }\n\n throw getNotFoundError(cmd)\n}\n\nconst whichSync = (cmd, opt = {}) => {\n const { pathEnv, pathExt, pathExtExe } = getPathInfo(cmd, opt)\n const found = []\n\n for (const pathEnvPart of pathEnv) {\n const p = getPathPart(pathEnvPart, cmd)\n\n for (const ext of pathExt) {\n const withExt = p + ext\n const is = isexe.sync(withExt, { pathExt: pathExtExe, ignoreErrors: true })\n if (is) {\n if (!opt.all) {\n return withExt\n }\n found.push(withExt)\n }\n }\n }\n\n if (opt.all && found.length) {\n return found\n }\n\n if (opt.nothrow) {\n return null\n }\n\n throw getNotFoundError(cmd)\n}\n\nmodule.exports = which\nwhich.sync = whichSync\n","/* eslint-disable require-atomic-updates */\nimport { info } from \"@actions/core\"\nimport { execaSync } from \"execa\"\nimport { join } from \"patha\"\nimport which from \"which\"\nimport { getBrewPath, setupBrew } from \"../../brew/brew\"\nimport { InstallationInfo } from \"./setupBin\"\n\nlet hasBrew = false\n\n/** A function that installs a package using brew */\nexport async function setupBrewPack(\n name: string,\n version?: string,\n extraArgs: string[] = [],\n): Promise {\n info(`Installing ${name} ${version ?? \"\"} via brew`)\n\n if (!hasBrew || which.sync(\"brew\", { nothrow: true }) === null) {\n await setupBrew(\"\", \"\", process.arch)\n hasBrew = true\n }\n\n const binDir = getBrewPath()\n\n // brew is not thread-safe\n execaSync(\n join(binDir, \"brew\"),\n [\"install\", version !== undefined && version !== \"\" ? `${name}@${version}` : name, ...extraArgs],\n {\n stdio: \"inherit\",\n },\n )\n\n return { binDir }\n}\n","import { execaSync } from \"execa\"\nimport { dirname } from \"patha\"\nimport which from \"which\"\nimport { tmpdir } from \"os\"\nimport path, { join } from \"path\"\nimport { mkdirP } from \"@actions/io\"\nimport { readFileSync } from \"fs\"\nimport { addPath } from \"../utils/env/addEnv\"\n\n/* eslint-disable require-atomic-updates */\nlet binDir: string | undefined\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async 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 const brewTempDirectory = path.join(tmpdir(), \"setup-cpp\", \"brew\")\n await mkdirP(brewTempDirectory)\n\n execaSync(\"curl\", [\"-LJO\", \"https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh\"], {\n cwd: brewTempDirectory,\n })\n const installSh = join(brewTempDirectory, \"install.sh\")\n\n if (process.platform === \"linux\") {\n const installShContent = readFileSync(installSh, \"utf-8\")\n\n installShContent.replace(\"#!/bin/bash\", \"\")\n }\n\n execaSync(\"/bin/bash\", [installSh], {\n stdio: \"inherit\",\n env: {\n NONINTERACTIVE: \"1\",\n },\n })\n\n binDir = getBrewPath()\n await addPath(binDir)\n\n return { binDir }\n}\n\nexport function getBrewPath() {\n if (process.platform === \"linux\") {\n return \"/home/linuxbrew/.linuxbrew/bin/\"\n } else {\n return \"/usr/local/bin/\"\n }\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 { execaSync } from \"execa\"\nimport { info } 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 execaSync(\"choco\", [\"install\", \"-y\", name, `--version=${version}`, ...args], {\n env,\n extendEnv: false,\n stdio: \"inherit\",\n })\n } else {\n try {\n execaSync(\"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 info(`${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","/* eslint-disable require-atomic-updates */\nimport { execaSync } from \"execa\"\nimport { pathExists } from \"path-exists\"\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 execaSync(\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 (await pathExists(binDir)) {\n return { binDir }\n }\n return undefined\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","import { InstallationInfo } from \"./setupBin\"\nimport { execRootSync } from \"admina\"\nimport { info, warning } from \"ci-log\"\nimport { execa } from \"execa\"\n\ntype DnfPackage = {\n name: string\n version?: string\n}\n\n/** A function that installs a package using dnf */\nexport async function setupDnfPack(packages: DnfPackage[]): Promise {\n for (const { name, version } of packages) {\n info(`Installing ${name} ${version ?? \"\"} via dnf`)\n }\n\n const dnfArgs = await Promise.all(packages.map((pack) => getDnfArg(pack.name, pack.version)))\n execRootSync(\"dnf\", [\"-y\", \"install\", ...dnfArgs])\n\n return { binDir: \"/usr/bin/\" }\n}\n\nasync function getDnfArg(name: string, version: string | undefined) {\n if (version !== undefined && version !== \"\") {\n // check if name-version is available\n const { stdout } = await execa(\"dnf\", [\"search\", \"-q\", `${name}-${version}`])\n\n if (stdout.trim() !== \"\") {\n return `${name}-${version}`\n } else {\n // try with ${name}${version}\n // eslint-disable-next-line @typescript-eslint/no-shadow\n const { stdout } = await execa(\"dnf\", [\"search\", \"-q\", `${name}${version}`])\n if (stdout.trim() !== \"\") {\n return `${name}${version}`\n }\n\n warning(`Failed to install ${name} ${version} via dnf, trying without version`)\n }\n }\n return name\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 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([{ name: \"ccache\", version }])\n } else if (isUbuntu()) {\n return setupAptPack([{ name: \"ccache\", version }])\n }\n throw new Error(`Unsupported linux distribution`)\n }\n default: {\n throw new Error(`Unsupported platform`)\n }\n }\n}\n","import { InstallationInfo } from \"./setupBin\"\nimport { execRootSync } from \"admina\"\nimport { info, warning } from \"ci-log\"\nimport { execa, execaSync } from \"execa\"\nimport which from \"which\"\n\n/* eslint-disable require-atomic-updates */\nlet didUpdate: boolean = false\nlet didInit: boolean = false\n\n/** A function that installs a package using pacman */\nexport async function setupPacmanPack(name: string, version?: string, aur?: string): Promise {\n info(`Installing ${name} ${version ?? \"\"} via pacman`)\n\n const pacman = \"pacman\"\n\n if (aur === \"yay\" && which.sync(\"yay\", { nothrow: true }) === null) {\n // TODO: install yay automatically\n throw new Error(`yay is needed for ${name}, but it is not installed, please install it manually first`)\n }\n\n // yay can't run as root, so skip update\n if (!didUpdate && aur !== \"yay\") {\n execRootSync(pacman, [\"-Sy\", \"--noconfirm\"])\n didUpdate = true\n }\n\n // install base-devel\n if (!didInit && aur !== \"yay\") {\n execRootSync(pacman, [\"-S\", \"--noconfirm\", \"base-devel\"])\n didInit = true\n }\n\n const runInstall = (arg: string) => {\n if (aur === \"yay\") {\n // run yay as non-root, ERROR: Running makepkg as root is not allowed as it can cause permanent, catastrophic damage to your system.\n return execaSync(aur, [\"-S\", \"--noconfirm\", arg])\n }\n return execRootSync(aur ?? pacman, [\"-S\", \"--noconfirm\", arg])\n }\n\n if (version !== undefined && version !== \"\") {\n // check if version is available\n const availableVersions = await availablePacmanVersions(pacman, name)\n if (availableVersions.includes(version)) {\n // try different version formats\n try {\n runInstall(`${name}=${version}`)\n } catch {\n runInstall(`${name}${version}`)\n }\n } else {\n // try without version\n info(`Failed to install ${name} ${version} via pacman, trying without version`)\n runInstall(name)\n }\n } else {\n // version not specified, install latest\n runInstall(name)\n }\n\n return { binDir: \"/usr/bin/\" }\n}\n\nconst pacmanSiVersionRegex = /Version\\s*:\\s*(.*)/g\n\n/** Query pacman for available versions */\nasync function availablePacmanVersions(pacman: string, name: string) {\n const availableVersions = []\n try {\n const { stdout } = await execa(pacman, [\"-Si\", name])\n\n for (const match of stdout.matchAll(pacmanSiVersionRegex)) {\n availableVersions.push(match[1])\n }\n } catch (err) {\n warning(`Failed to get available versions for ${name}: ${err}`)\n }\n return availableVersions\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",null,null,null,null,"import { find, downloadTool, cacheDir } from \"@actions/tool-cache\"\nimport { addPath } from \"../env/addEnv\"\nimport { join } from \"patha\"\nimport { info } from \"ci-log\"\n\nimport { tmpdir } from \"os\"\nimport { GITHUB_ACTIONS } from \"ci-info\"\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\"\nimport { pathExists } from \"path-exists\"\nimport retry from \"retry-as-promised\"\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 bin?: 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 (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 (await pathExists(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 ((await Promise.all([pathExists(binDir), pathExists(binFile)])).includes(false)) {\n try {\n info(`Download ${name} ${version}`)\n // try to download the package 4 times with 2 seconds delay\n const downloaded = await retry(\n () => {\n return downloadTool(url)\n },\n { name: url, max: 4, backoffBase: 2000, report: (err) => info(err) },\n )\n\n if (!didInit) {\n info(`Installing extraction dependencies`)\n if (process.platform === \"linux\") {\n if (isArch()) {\n await Promise.all([setupPacmanPack(\"unzip\"), setupPacmanPack(\"tar\"), setupPacmanPack(\"xz\")])\n } else if (hasDnf()) {\n await setupDnfPack([{ name: \"unzip\" }, { name: \"tar\" }, { name: \"xz\" }])\n } else if (isUbuntu()) {\n await setupAptPack([{ name: \"unzip\" }, { name: \"tar\" }, { name: \"xz-utils\" }])\n }\n }\n // eslint-disable-next-line require-atomic-updates\n didInit = true\n }\n\n info(`Extracting ${downloaded} to ${setupDir}`)\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 (GITHUB_ACTIONS && typeof process.env.RUNNER_TOOL_CACHE === \"string\") {\n await cacheDir(setupDir, name, version)\n }\n\n return { installDir, binDir }\n}\n","'use strict';\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.retryAsPromised = exports.TimeoutError = void 0;\nclass TimeoutError extends Error {\n constructor(message, previousError) {\n super(message);\n this.name = \"TimeoutError\";\n this.previous = previousError;\n }\n}\nexports.TimeoutError = TimeoutError;\nfunction matches(match, err) {\n if (typeof match === 'function') {\n try {\n if (err instanceof match)\n return true;\n }\n catch (_) {\n return !!match(err);\n }\n }\n if (match === err.toString())\n return true;\n if (match === err.message)\n return true;\n return match instanceof RegExp\n && (match.test(err.message) || match.test(err.toString()));\n}\nfunction retryAsPromised(callback, optionsInput) {\n if (!callback || !optionsInput) {\n throw new Error('retry-as-promised must be passed a callback and a options set');\n }\n optionsInput = (typeof optionsInput === \"number\" ? { max: optionsInput } : optionsInput);\n const options = {\n $current: \"$current\" in optionsInput ? optionsInput.$current : 1,\n max: optionsInput.max,\n timeout: optionsInput.timeout || undefined,\n match: optionsInput.match ? Array.isArray(optionsInput.match) ? optionsInput.match : [optionsInput.match] : [],\n backoffBase: optionsInput.backoffBase === undefined ? 100 : optionsInput.backoffBase,\n backoffExponent: optionsInput.backoffExponent || 1.1,\n report: optionsInput.report,\n name: optionsInput.name || callback.name || 'unknown'\n };\n if (options.match && !Array.isArray(options.match))\n options.match = [options.match];\n if (options.report)\n options.report('Trying ' + options.name + ' #' + options.$current + ' at ' + new Date().toLocaleTimeString(), options);\n return new Promise(function (resolve, reject) {\n let timeout;\n let backoffTimeout;\n let lastError;\n if (options.timeout) {\n timeout = setTimeout(function () {\n if (backoffTimeout)\n clearTimeout(backoffTimeout);\n reject(new TimeoutError(options.name + ' timed out', lastError));\n }, options.timeout);\n }\n Promise.resolve(callback({ current: options.$current }))\n .then(resolve)\n .then(function () {\n if (timeout)\n clearTimeout(timeout);\n if (backoffTimeout)\n clearTimeout(backoffTimeout);\n })\n .catch(function (err) {\n if (timeout)\n clearTimeout(timeout);\n if (backoffTimeout)\n clearTimeout(backoffTimeout);\n lastError = err;\n if (options.report)\n options.report((err && err.toString()) || err, options, err);\n // Should not retry if max has been reached\n var shouldRetry = options.$current < options.max;\n if (!shouldRetry)\n return reject(err);\n shouldRetry = options.match.length === 0 || options.match.some(function (match) {\n return matches(match, err);\n });\n if (!shouldRetry)\n return reject(err);\n var retryDelay = options.backoffBase * Math.pow(options.backoffExponent, options.$current - 1);\n // Do some accounting\n options.$current++;\n if (options.report)\n options.report(`Retrying ${options.name} (${options.$current})`, options);\n if (retryDelay) {\n // Use backoff function to ease retry rate\n if (options.report)\n options.report(`Delaying retry of ${options.name} by ${retryDelay}`, options);\n backoffTimeout = setTimeout(function () {\n retryAsPromised(callback, options)\n .then(resolve)\n .catch(reject);\n }, retryDelay);\n }\n else {\n retryAsPromised(callback, options)\n .then(resolve)\n .catch(reject);\n }\n });\n });\n}\nexports.retryAsPromised = retryAsPromised;\n;\nexports.default = retryAsPromised;\n","import { execa } from \"execa\"\nimport { mkdirP } from \"@actions/io\"\nimport which from \"which\"\nimport { setupSevenZip } from \"../../sevenzip/sevenzip\"\nimport { warning } from \"ci-log\"\nimport { grantUserWriteAccess } from \"admina\"\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 await grantUserWriteAccess(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 grantUserWriteAccess(dest)\n return dest\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 return setupDnfPack([\n { name: \"p7zip\", version },\n { name: \"p7zip-plugins\", version },\n ])\n } else if (isUbuntu()) {\n return setupAptPack([{ name: \"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 { setupPipPack } from \"../utils/setup/setupPipPack\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport function setupConan(version: string | undefined, _setupDir: string, _arch: string) {\n return setupPipPack(\"conan\", version)\n}\n","import { info } from \"@actions/core\"\nimport { execa, execaSync } from \"execa\"\nimport { pathExists } from \"path-exists\"\nimport { addExeExt, dirname, join } from \"patha\"\nimport which from \"which\"\nimport { addPythonBaseExecPrefix, setupPython } from \"../../python/python\"\nimport { addPath } from \"../env/addEnv\"\nimport { InstallationInfo } from \"./setupBin\"\nimport { getVersion } from \"../../versions/versions\"\nimport { ubuntuVersion } from \"../env/ubuntu_version\"\nimport memoize from \"micro-memoize\"\nimport { isArch } from \"../env/isArch\"\nimport { setupPacmanPack } from \"./setupPacmanPack\"\nimport { hasDnf } from \"../env/hasDnf\"\nimport { setupDnfPack } from \"./setupDnfPack\"\nimport { isUbuntu } from \"../env/isUbuntu\"\nimport { setupAptPack } from \"./setupAptPack\"\n\nexport type SetupPipPackOptions = {\n /** Whether to use pipx instead of pip */\n usePipx?: boolean\n /** Whether to install the package as a user */\n user?: boolean\n /** Whether to upgrade the package */\n upgrade?: boolean\n /** Whether the package is a library */\n isLibrary?: boolean\n}\n\n/** A function that installs a package using pip */\nexport async function setupPipPack(\n name: string,\n version?: string,\n options: SetupPipPackOptions = {},\n): Promise {\n return setupPipPackWithPython(await getPython(), name, version, options)\n}\n\nexport async function setupPipPackWithPython(\n givenPython: string,\n name: string,\n version?: string,\n options: SetupPipPackOptions = {},\n): Promise {\n const { usePipx = true, user = true, upgrade = false, isLibrary = false } = options\n\n const isPipx = usePipx && !isLibrary && (await hasPipx(givenPython))\n const pip = isPipx ? \"pipx\" : \"pip\"\n\n const hasPackage = await pipHasPackage(givenPython, name)\n if (hasPackage) {\n try {\n info(`Installing ${name} ${version ?? \"\"} via ${pip}`)\n\n const nameAndVersion = version !== undefined && version !== \"\" ? `${name}==${version}` : name\n const upgradeFlag = upgrade ? (isPipx ? [\"upgrade\"] : [\"install\", \"--upgrade\"]) : [\"install\"]\n const userFlag = !isPipx && user ? [\"--user\"] : []\n\n execaSync(givenPython, [\"-m\", pip, ...upgradeFlag, ...userFlag, nameAndVersion], {\n stdio: \"inherit\",\n })\n } catch (err) {\n info(`Failed to install ${name} via ${pip}: ${err}.`)\n if ((await setupPipPackSystem(name)) === null) {\n throw new Error(`Failed to install ${name} via ${pip}: ${err}.`)\n }\n }\n } else {\n if ((await setupPipPackSystem(name)) === null) {\n throw new Error(`Failed to install ${name} as it was not found via ${pip} or the system package manager`)\n }\n }\n\n const execPaths = await addPythonBaseExecPrefix(givenPython)\n const binDir = await findBinDir(execPaths, name)\n\n await addPath(binDir)\n\n return { binDir }\n}\n\nexport async function hasPipx(givenPython: string) {\n return (await execa(givenPython, [\"-m\", \"pipx\", \"--help\"], { stdio: \"ignore\", reject: false })).exitCode === 0\n}\n\nasync function getPython_raw(): Promise {\n const pythonBin = (await setupPython(getVersion(\"python\", undefined, await ubuntuVersion()), \"\", process.arch)).bin\n if (pythonBin === undefined) {\n throw new Error(\"Python binary was not found\")\n }\n return pythonBin\n}\nconst getPython = memoize(getPython_raw, { isPromise: true })\n\nasync function pipHasPackage(python: string, name: string) {\n const result = await execa(python, [\"-m\", \"pip\", \"-qq\", \"index\", \"versions\", name], {\n stdio: \"ignore\",\n reject: false,\n })\n return result.exitCode === 0\n}\n\nasync function findBinDir(dirs: string[], name: string) {\n const exists = await Promise.all(dirs.map((dir) => pathExists(join(dir, addExeExt(name)))))\n const dirIndex = exists.findIndex((exist) => exist)\n if (dirIndex !== -1) {\n const foundDir = dirs[dirIndex]\n return foundDir\n }\n\n const whichDir = which.sync(addExeExt(name), { nothrow: true })\n if (whichDir !== null) {\n return dirname(whichDir)\n }\n\n return dirs[dirs.length - 1]\n}\n\nexport function setupPipPackSystem(name: string) {\n if (process.platform === \"linux\") {\n info(`Installing ${name} via the system package manager`)\n if (isArch()) {\n return setupPacmanPack(`python-${name}`)\n } else if (hasDnf()) {\n return setupDnfPack([{ name: `python3-${name}` }])\n } else if (isUbuntu()) {\n return setupAptPack([{ name: `python3-${name}` }])\n }\n }\n return null\n}\n","/* eslint-disable require-atomic-updates */\nimport { getExecOutput } from \"@actions/exec\"\nimport assert from \"assert\"\nimport { GITHUB_ACTIONS } from \"ci-info\"\nimport { info, warning } from \"ci-log\"\nimport { execa } from \"execa\"\nimport memoize from \"micro-memoize\"\nimport { addExeExt, dirname, join } from \"patha\"\nimport which from \"which\"\nimport { addPath } from \"../utils/env/addEnv\"\nimport { hasDnf } from \"../utils/env/hasDnf\"\nimport { isArch } from \"../utils/env/isArch\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\nimport { setupAptPack } from \"../utils/setup/setupAptPack\"\nimport { InstallationInfo } from \"../utils/setup/setupBin\"\nimport { setupBrewPack } from \"../utils/setup/setupBrewPack\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack\"\nimport { isBinUptoDate } from \"../utils/setup/version\"\nimport { unique } from \"../utils/std\"\nimport { MinVersions } from \"../versions/default_versions\"\nimport { pathExists } from \"path-exists\"\nimport { hasPipx, setupPipPackSystem, setupPipPackWithPython } from \"../utils/setup/setupPipPack\"\n\nexport async function setupPython(version: string, setupDir: string, arch: string): Promise {\n const installInfo = await findOrSetupPython(version, setupDir, arch)\n assert(installInfo.bin !== undefined)\n const foundPython = installInfo.bin\n\n // setup pip\n const foundPip = await findOrSetupPip(foundPython)\n if (foundPip === undefined) {\n throw new Error(\"pip was not installed correctly\")\n }\n\n await setupPipx(foundPython)\n\n await setupWheel(foundPython)\n\n return installInfo\n}\n\nasync function setupPipx(foundPython: string) {\n try {\n if (!(await hasPipx(foundPython))) {\n await setupPipPackWithPython(foundPython, \"pipx\", undefined, { upgrade: true, usePipx: false })\n }\n await execa(foundPython, [\"-m\", \"pipx\", \"ensurepath\"], { stdio: \"inherit\" })\n await setupPipPackWithPython(foundPython, \"venv\", undefined, { upgrade: false, usePipx: false })\n } catch (err) {\n warning(`Failed to install pipx: ${(err as Error).toString()}. Ignoring...`)\n }\n}\n\n/** Setup wheel and setuptools */\nasync function setupWheel(foundPython: string) {\n try {\n await setupPipPackWithPython(foundPython, \"setuptools\", undefined, {\n upgrade: true,\n isLibrary: true,\n usePipx: false,\n })\n await setupPipPackWithPython(foundPython, \"wheel\", undefined, { upgrade: true, isLibrary: true, usePipx: false })\n } catch (err) {\n warning(`Failed to install setuptools or wheel: ${(err as Error).toString()}. Ignoring...`)\n }\n}\n\nasync function findOrSetupPython(version: string, setupDir: string, arch: string) {\n let installInfo: InstallationInfo | undefined\n let foundPython = await findPython(setupDir)\n\n if (foundPython !== undefined) {\n const binDir = dirname(foundPython)\n installInfo = { bin: foundPython, installDir: binDir, binDir }\n } else {\n // if python is not found, try to install it\n if (GITHUB_ACTIONS) {\n // install python in GitHub Actions\n try {\n info(\"Installing python in GitHub Actions\")\n const { setupActionsPython } = await import(\"./actions_python\")\n await setupActionsPython(version, setupDir, arch)\n\n foundPython = (await findPython(setupDir))!\n const binDir = dirname(foundPython)\n installInfo = { bin: foundPython, installDir: binDir, binDir }\n } catch (err) {\n warning((err as Error).toString())\n }\n }\n if (installInfo === undefined) {\n // install python via system package manager\n installInfo = await setupPythonSystem(setupDir, version)\n }\n }\n\n if (foundPython === undefined || installInfo.bin === undefined) {\n foundPython = (await findPython(setupDir))!\n installInfo.bin = foundPython\n }\n\n return installInfo\n}\n\nasync function setupPythonSystem(setupDir: string, version: string) {\n let installInfo: InstallationInfo | undefined\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 bin = (await findPython(setupDir))!\n const binDir = dirname(bin)\n /** The directory which the tool is installed to */\n await addPath(binDir)\n installInfo = { installDir: binDir, binDir, bin }\n break\n }\n case \"darwin\": {\n installInfo = await setupBrewPack(\"python3\", version)\n // add the python and pip binaries to the path\n const brewPythonPrefix = await execa(\"brew\", [\"--prefix\", \"python\"], { stdio: \"pipe\" })\n const brewPythonBin = join(brewPythonPrefix.stdout, \"libexec\", \"bin\")\n await addPath(brewPythonBin)\n\n break\n }\n case \"linux\": {\n if (isArch()) {\n installInfo = await setupPacmanPack(\"python\", version)\n } else if (hasDnf()) {\n installInfo = await setupDnfPack([{ name: \"python3\", version }])\n } else if (isUbuntu()) {\n installInfo = await setupAptPack([{ name: \"python3\", version }, { name: \"python-is-python3\" }])\n } else {\n throw new Error(\"Unsupported linux distributions\")\n }\n break\n }\n default: {\n throw new Error(\"Unsupported platform\")\n }\n }\n return installInfo\n}\n\nasync function findPython(binDir?: string) {\n for (const pythonBin of [\"python3\", \"python\"]) {\n // eslint-disable-next-line no-await-in-loop\n const foundPython = await isPythonUpToDate(pythonBin, binDir)\n if (foundPython !== undefined) {\n return foundPython\n }\n }\n return undefined\n}\n\nasync function isPythonUpToDate(candidate: string, binDir?: string) {\n try {\n if (binDir !== undefined) {\n const pythonBinPath = join(binDir, addExeExt(candidate))\n if (await pathExists(pythonBinPath)) {\n if (await isBinUptoDate(pythonBinPath, MinVersions.python!)) {\n return pythonBinPath\n }\n }\n }\n const pythonBinPaths = (await which(candidate, { nothrow: true, all: true })) ?? []\n for (const pythonBinPath of pythonBinPaths) {\n // eslint-disable-next-line no-await-in-loop\n if (await isBinUptoDate(pythonBinPath, MinVersions.python!)) {\n return pythonBinPath\n }\n }\n } catch {\n // fall through\n }\n return undefined\n}\n\nasync function findOrSetupPip(foundPython: string) {\n const maybePip = await findPip()\n\n if (maybePip === undefined) {\n // install pip if not installed\n info(\"pip was not found. Installing pip\")\n await setupPip(foundPython)\n return findPip() // recurse to check if pip is on PATH and up-to-date\n }\n\n return maybePip\n}\n\nasync function findPip() {\n for (const pipCandidate of [\"pip3\", \"pip\"]) {\n // eslint-disable-next-line no-await-in-loop\n const maybePip = await isPipUptoDate(pipCandidate)\n if (maybePip !== undefined) {\n return maybePip\n }\n }\n return undefined\n}\n\nasync function isPipUptoDate(pip: string) {\n try {\n const pipPaths = (await which(pip, { nothrow: true, all: true })) ?? []\n for (const pipPath of pipPaths) {\n // eslint-disable-next-line no-await-in-loop\n if (pipPath !== null && (await isBinUptoDate(pipPath, MinVersions.pip!))) {\n return pipPath\n }\n }\n } catch {\n // fall through\n }\n return undefined\n}\n\nasync function setupPip(foundPython: string) {\n const upgraded = await ensurePipUpgrade(foundPython)\n if (!upgraded) {\n // ensure that pip is installed on Linux (happens when python is found but pip not installed)\n await setupPipPackSystem(\"pip\")\n\n // upgrade pip\n await ensurePipUpgrade(foundPython)\n }\n}\n\nasync function ensurePipUpgrade(foundPython: string) {\n try {\n await execa(foundPython, [\"-m\", \"ensurepip\", \"-U\", \"--upgrade\"], { stdio: \"inherit\" })\n return true\n } catch (err1) {\n info((err1 as Error)?.toString?.())\n try {\n // ensure pip is disabled on Ubuntu\n await execa(foundPython, [\"-m\", \"pip\", \"install\", \"--upgrade\", \"pip\"], { stdio: \"inherit\" })\n return true\n } catch (err2) {\n info((err2 as Error)?.toString?.())\n // pip module not found\n }\n }\n // all methods failed\n return false\n}\n\nasync function addPythonBaseExecPrefix_raw(python: string) {\n const dirs: string[] = []\n\n // detection based on the platform\n if (process.platform === \"linux\") {\n dirs.push(\"/home/runner/.local/bin/\")\n } else if (process.platform === \"darwin\") {\n dirs.push(\"/usr/local/bin/\")\n }\n\n // detection using python.sys\n const base_exec_prefix = (await getExecOutput(`${python} -c \"import sys;print(sys.base_exec_prefix);\"`)).stdout.trim()\n // any of these are possible depending on the operating system!\n dirs.push(join(base_exec_prefix, \"Scripts\"), join(base_exec_prefix, \"Scripts\", \"bin\"), join(base_exec_prefix, \"bin\"))\n\n // remove duplicates\n return unique(dirs)\n}\n\n/**\n * Add the base exec prefix to the PATH. This is required for Conan, Meson, etc. to work properly.\n *\n * The answer is cached for subsequent calls\n */\nexport const addPythonBaseExecPrefix = memoize(addPythonBaseExecPrefix_raw, { isPromise: true })\n",null,null,null,null,"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((a, b) => {\n try {\n return semverCompare(a, b)\n } catch (err) {\n return a.localeCompare(b)\n }\n })\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 the given set doesn't include the version, throw an error\n if (!versions.has(version)) {\n throw new Error(\n `Unsupported target! (platform='${platform}', version='${version}'). Try one of the following: ${JSON.stringify(\n versions,\n )}`,\n )\n }\n\n const offlineUrls: string[] = []\n\n // TODO use Promise.any\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 if (url !== null) {\n // eslint-disable-next-line no-await-in-loop\n if (await isUrlOnline(url)) {\n return [specificVersion, url]\n } else {\n offlineUrls.push(url)\n }\n }\n }\n\n throw new Error(\n `Unsupported target! (platform='${platform}', version='${version}'). Try one of the following: ${JSON.stringify(\n versions,\n )}`,\n )\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 semverCoerce(version) ?? undefined\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 (givenVersion !== undefined && targetVersion !== \"\") {\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","// 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","export function unique(dirs: string[]) {\n return [...new Set(dirs)]\n}\n","import { 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\nfunction getLLVMDefault() {\n switch (process.platform) {\n case \"win32\":\n return \"17.0.4\"\n case \"linux\":\n // used for non-ubuntu (Fedora, Arch)\n return \"17.0.5-ubuntu-22.04\"\n case \"darwin\":\n return \"15.0.3\"\n default:\n return \"17.0.5\"\n }\n}\n\nexport const DefaultVersions: Record = {\n llvm: getLLVMDefault(), // https://github.com/llvm/llvm-project/releases\n clangtidy: getLLVMDefault(),\n clangformat: getLLVMDefault(),\n ninja: \"1.11.1\", // https://github.com/ninja-build/ninja/releases\n cmake: \"3.27.4\", // https://github.com/Kitware/CMake/releases\n gcovr: \"6.0\", // https://pypi.org/project/gcovr/\n conan: \"1.62.0\", // https://github.com/conan-io/conan/releases\n meson: \"1.2.3\", // https://github.com/mesonbuild/meson/releases\n kcov: \"42\", // https://github.com/SimonKagstrom/kcov/releases\n task: \"3.31.0\", // https://github.com/go-task/task/releases\n doxygen: isArch() ? \"1.9.8-1\" : \"1.9.8\", // 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: isArch() ? \"13.2.1-3\" : \"13\", // https://github.com/brechtsanders/winlibs_mingw/releases and // https://packages.ubuntu.com/search?suite=all&arch=any&searchon=names&keywords=gcc\n //mingw: isArch() ? \"12.2.0-1\" : \"8\", // https://packages.ubuntu.com/search?suite=all&arch=any&searchon=names&keywords=mingw-w64 // https://archlinux.org/packages/extra/x86_64/mingw-w64-gcc/\n}\n\nexport const MinVersions: Record = {\n pip: \"22.2.0\",\n python: \"3.7.9\",\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 \"\"\nexport const DefaultLinuxVersion: Record | undefined> = {\n gcc: {\n 22: \"13\",\n 20: \"11\",\n 18: \"11\",\n 16: \"11\",\n 14: \"11\",\n },\n mingw: {\n 22: \"8.0.0-1\",\n 20: \"7.0.0-2\",\n },\n llvm: {\n 22: \"17.0.5-ubuntu-22.04\",\n 20: \"17.0.5-ubuntu-22.04\",\n 18: \"15.0.6-ubuntu-18.04\",\n 16: \"15.0.6-ubuntu-18.04\",\n 14: \"13.0.0-ubuntu-16.04\",\n },\n clangtidy: {\n 22: \"17.0.2-ubuntu-22.04\",\n 20: \"17.0.2-ubuntu-22.04\",\n 18: \"15.0.6-ubuntu-18.04\",\n 16: \"15.0.6-ubuntu-18.04\",\n 14: \"13.0.0-ubuntu-16.04\",\n },\n clangformat: {\n 22: \"17.0.2-ubuntu-22.04\",\n 20: \"17.0.2-ubuntu-22.04\",\n 18: \"15.0.6-ubuntu-18.04\",\n 16: \"15.0.6-ubuntu-18.04\",\n 14: \"13.0.0-ubuntu-16.04\",\n },\n gcovr: {\n 22: \"6.0\",\n 20: \"6.0\",\n 18: \"5.0\",\n },\n meson: {\n 20: \"1.0.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: \"42-binary\",\n 20: \"40-binary\", // https://github.com/SimonKagstrom/kcov/releases\n 18: \"40\",\n 16: \"40\",\n 14: \"40\",\n },\n}\n","import { Opts } from \"../cli-options\"\nimport { Inputs } from \"../tool\"\nimport { DefaultLinuxVersion, DefaultVersions } from \"./default_versions\"\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 (isVersionDefault(version) && process.platform === \"linux\" && osVersion !== null && name in DefaultLinuxVersion) {\n return getDefaultLinuxVersion(osVersion, DefaultLinuxVersion[name]!)\n } else if (isVersionDefault(version) && name in DefaultVersions) {\n return DefaultVersions[name]!\n } else if (version === \"true\") {\n return \"\"\n }\n return version ?? \"\"\n}\n\nfunction isVersionDefault(version: string | undefined) {\n return version === \"true\" || version === undefined\n}\n\n/// choose the default linux version based on ubuntu version\nfunction getDefaultLinuxVersion(osVersion: number[], toolLinuxVersions: Record) {\n const osVersionMaj = osVersion[0]\n\n // find which version block the os version is in\n const satisfyingVersion = Object.keys(toolLinuxVersions)\n .map((v) => parseInt(v, 10))\n .sort((a, b) => b - a) // sort in descending order\n .find((v) => osVersionMaj >= v)\n\n return satisfyingVersion === undefined ? \"\" : toolLinuxVersions[satisfyingVersion]\n}\n\n/**\n * Sync the versions for the given inputs\n *\n * If the return is false, it means that versions don't match the target version\n */\nexport function syncVersions(opts: Opts, tools: Inputs[]): boolean {\n const toolsInUse = tools.filter((tool) => opts[tool] !== undefined)\n const toolsNonDefaultVersion = toolsInUse.filter((tool) => !isVersionDefault(opts[tool]))\n\n const targetVersion = toolsNonDefaultVersion.length >= 1 ? opts[toolsNonDefaultVersion[0]] : \"true\"\n\n if (toolsNonDefaultVersion.some((tool) => opts[tool] !== targetVersion)) {\n // error if any explicit versions don't match the target version\n return false\n }\n\n toolsInUse.forEach((tool) => {\n opts[tool] = targetVersion\n })\n\n return true\n}\n","import { warning } from \"ci-log\"\nimport { getUbuntuVersion } from \"ubuntu-version\"\nimport which from \"which\"\nimport { setupAptPack } from \"../setup/setupAptPack\"\nimport { isUbuntu } from \"./isUbuntu\"\nimport os from \"os\"\nimport memoize from \"micro-memoize\"\n\nasync function ubuntuVersion_raw(): Promise {\n try {\n if (isUbuntu()) {\n try {\n if (which.sync(\"lsb_release\", { nothrow: true }) === null) {\n await setupAptPack([{ name: \"lsb-release\" }])\n }\n } catch {\n return detectUsingOsVersion()\n }\n\n const versionSplitted = await getUbuntuVersion()\n\n if (versionSplitted.length === 0) {\n return detectUsingOsVersion()\n }\n\n return versionSplitted\n } else {\n return null\n }\n } catch (err) {\n warning((err as Error).toString())\n return null\n }\n}\n\n/** Detect Ubuntu version */\nexport const ubuntuVersion = memoize(ubuntuVersion_raw, { isPromise: true })\n\n/** Detect Ubuntu version using os.version() for Ubuntu based distros */\nfunction detectUsingOsVersion() {\n // #46~22.04.1-Ubuntu SMP ...\n const osVersion = os.version()\n const versionSplitted = osVersion.split(\".\")\n const majorVersion = parseInt(versionSplitted[0].replace(\"#\", \"\"), 10)\n const minorVersion = parseInt(versionSplitted[1].replace(\"~\", \"\"), 10)\n const patchVersion = parseInt(versionSplitted[2].split(\"-\")[0], 10)\n\n return [majorVersion, minorVersion, patchVersion]\n}\n","\"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\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([{ name: \"ccache\", version }])\n } else if (isUbuntu()) {\n return setupAptPack([{ name: \"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 { 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 { info, notice } from \"ci-log\"\nimport { setupGraphviz } from \"../graphviz/graphviz\"\nimport { getVersion } from \"../versions/versions\"\n\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 { pathExists } from \"path-exists\"\nimport retry from \"retry-as-promised\"\nimport { ubuntuVersion } from \"../utils/env/ubuntu_version\"\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 // try to download the package 4 times with 2 seconds delay\n await retry(\n () => {\n return setupChocoPack(\"doxygen.install\", version)\n },\n { name: \"doxygen.install\", max: 4, backoffBase: 2000, report: (err) => info(err) },\n )\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 = await setupBrewPack(\"doxygen\", undefined)\n await setupGraphviz(getVersion(\"graphviz\", undefined), \"\", arch)\n return installationInfo\n }\n case \"linux\": {\n let installationInfo: InstallationInfo\n if (version === \"\" || isArch() || hasDnf()) {\n if (isArch()) {\n installationInfo = await setupPacmanPack(\"doxygen\", version)\n } else if (hasDnf()) {\n return setupDnfPack([{ name: \"doxygen\", version }])\n } else if (isUbuntu()) {\n installationInfo = await setupAptPack([{ name: \"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([{ name: \"libclang-cpp9\" }])\n } catch (err) {\n notice(`Failed to download doxygen binary. ${err}. Falling back to apt-get.`)\n installationInfo = await setupAptPack([{ name: \"doxygen\" }])\n }\n } else {\n throw new Error(`Unsupported linux distributions`)\n }\n await setupGraphviz(getVersion(\"graphviz\", undefined, await ubuntuVersion()), \"\", 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 // eslint-disable-next-line no-await-in-loop\n if (await pathExists(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 { 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([{ name: \"graphviz\", version }])\n } else if (isUbuntu()) {\n return setupAptPack([{ name: \"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, addEnv } from \"../utils/env/addEnv\"\n\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 { GITHUB_ACTIONS } from \"ci-info\"\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\"\nimport { pathExists } from \"path-exists\"\nimport { ExecaReturnValue } from \"execa\"\n\ninterface MingwInfo {\n releaseName: string\n fileSuffix: string\n}\n\n// https://github.com/brechtsanders/winlibs_mingw/releases\nconst GccToMingwInfo = {\n \"13\": { releaseName: \"13.2.0-16.0.6-11.0.0-ucrt-r1\", fileSuffix: \"13.2.0-mingw-w64ucrt-11.0.0-r1\" },\n \"13.2-ucrt\": { releaseName: \"13.2.0-16.0.6-11.0.0-ucrt-r1\", fileSuffix: \"13.2.0-mingw-w64ucrt-11.0.0-r1\" },\n \"13.2-ucrt-mcf\": { releaseName: \"13.2.0mcf-16.0.6-11.0.1-ucrt-r2\", fileSuffix: \"13.2.0-mingw-w64ucrt-11.0.1-r2\" },\n \"13.2-msvcrt\": { releaseName: \"13.2.0-16.0.6-11.0.1-msvcrt-r1\", fileSuffix: \"13.2.0-mingw-w64msvcrt-11.0.1-r1\" },\n \"13.1-ucrt\": { releaseName: \"13.1.0posix-16.0.3-11.0.0-ucrt-r1\", fileSuffix: \"13.1.0-mingw-w64ucrt-11.0.0-r1\" },\n \"13.1-msvcrt\": { releaseName: \"13.1.0posix-16.0.3-11.0.0-msvcrt-r1\", fileSuffix: \"13.1.0-mingw-w64msvcrt-11.0.0-r1\" },\n \"12\": { releaseName: \"12.3.0-16.0.4-11.0.0-ucrt-r1\", fileSuffix: \"12.3.0-mingw-w64ucrt-11.0.0-r1\" },\n \"12.3.0-ucrt\": { releaseName: \"12.3.0-16.0.4-11.0.0-ucrt-r1\", fileSuffix: \"12.3.0-mingw-w64ucrt-11.0.0-r1\" },\n \"12.3.0-msvcrt\": { releaseName: \"12.3.0-16.0.4-11.0.0-msvcrt-r1\", fileSuffix: \"12.3.0-mingw-w64msvcrt-11.0.0-r1\" },\n \"12.2.0-ucrt\": { releaseName: \"12.2.0-14.0.6-10.0.0-ucrt-r2\", fileSuffix: \"12.2.0-mingw-w64ucrt-10.0.0-r2\" },\n \"12.2.0-msvcrt\": { releaseName: \"12.2.0-14.0.6-10.0.0-msvcrt-r2\", fileSuffix: \"12.2.0-mingw-w64msvcrt-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.5.0-11.0.1-msvcrt-r1\", fileSuffix: \"10.5.0-mingw-w64msvcrt-11.0.1-r1\" },\n \"10.5.0-msvcrt\": { releaseName: \"10.5.0-11.0.1-msvcrt-r1\", fileSuffix: \"10.5.0-mingw-w64msvcrt-11.0.1-r1\" },\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 = await setupBrewPack(\"gcc\", version)\n break\n }\n case \"linux\": {\n if (arch === \"x64\") {\n if (isArch()) {\n installationInfo = await setupPacmanPack(\"gcc\", version)\n } else if (hasDnf()) {\n installationInfo = await setupDnfPack([\n { name: \"gcc\", version },\n { name: \"gcc-c++\", version },\n { name: \"libstdc++-devel\" },\n ])\n } else if (isUbuntu()) {\n installationInfo = await setupAptPack([\n { name: \"gcc\", version, repositories: [\"ppa:ubuntu-toolchain-r/test\"] },\n { name: \"g++\", version, repositories: [\"ppa:ubuntu-toolchain-r/test\"] },\n ])\n }\n } else {\n info(`Install g++-multilib because gcc for ${arch} was requested`)\n if (isArch()) {\n await setupPacmanPack(\"gcc-multilib\", version)\n } else if (isUbuntu()) {\n await setupAptPack([{ name: \"gcc-multilib\", version, repositories: [\"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\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupMingw(version: string, setupDir: string, arch: string) {\n let installationInfo: InstallationInfo | undefined\n switch (process.platform) {\n case \"win32\":\n case \"darwin\": {\n return setupGcc(version, setupDir, arch)\n }\n case \"linux\": {\n if (isArch()) {\n installationInfo = await setupPacmanPack(\"mingw-w64-gcc\", version)\n } else if (hasDnf()) {\n installationInfo = await setupDnfPack([{ name: \"mingw64-gcc\", version }])\n } else if (isUbuntu()) {\n installationInfo = await setupAptPack([\n { name: \"mingw-w64\", version, repositories: [\"ppa:ubuntu-toolchain-r/test\"] },\n ])\n }\n break\n }\n default: {\n throw new Error(`Unsupported platform for ${arch}`)\n }\n }\n if (installationInfo !== undefined) {\n // TODO: setup alternatives and update CC/CXX env. ?\n //Setting up g++-mingw-w64-i686-win32 (10.3.0-14ubuntu1+24.3) ...\n // update-alternatives: using /usr/bin/i686-w64-mingw32-g++-win32 to provide /usr/bin/i686-w64-mingw32-g++ (i686-w64-mingw32-g++) in auto mode\n //Setting up g++-mingw-w64-x86-64-win32 (10.3.0-14ubuntu1+24.3) ...\n // update-alternatives: using /usr/bin/x86_64-w64-mingw32-g++-win32 to provide /usr/bin/x86_64-w64-mingw32-g++ (x86_64-w64-mingw32-g++) in auto mode\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\" && (await pathExists(\"C:/tools/mingw64/bin\"))) {\n binDir = \"C:/tools/mingw64/bin\"\n await addPath(binDir)\n } else if (arch === \"ia32\" && (await pathExists(\"C:/tools/mingw32/bin\"))) {\n binDir = \"C:/tools/mingw32/bin\"\n await addPath(binDir)\n } else if (await pathExists(`${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 promises.push(\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 }\n } else {\n promises.push(addEnv(\"CC\", `${binDir}/gcc-${version}`), addEnv(\"CXX\", `${binDir}/g++-${version}`))\n\n if (isUbuntu()) {\n promises.push(\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\n promises.push(setupMacOSSDK())\n\n if (GITHUB_ACTIONS) {\n await addGccLoggingMatcher()\n }\n\n await Promise.all(promises)\n}\n\nasync function addGccLoggingMatcher() {\n const matcherPath = join(__dirname, \"gcc_matcher.json\")\n if (!(await pathExists(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 { 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 { addEnv } from \"../utils/env/addEnv\"\nimport { setupPipPack } from \"../utils/setup/setupPipPack\"\nimport semverValid from \"semver/functions/valid\"\nimport semverMajor from \"semver/functions/major\"\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\nexport function activateGcovLLVM() {\n return addEnv(\"GCOV\", \"llvm-cov gcov\")\n}\n\nexport function activateGcovGCC(gccVersion: string) {\n const gccSemver = semverValid(gccVersion)\n const gccMajor = gccSemver !== null ? semverMajor(gccSemver) : gccVersion\n const gcov = gccMajor !== \"\" ? `gcov-${gccMajor}` : \"gcov\"\n\n return addEnv(\"GCOV\", gcov)\n}\n","import { execa } from \"execa\"\nimport { join, addExeExt } from \"patha\"\nimport which from \"which\"\nimport { setupCmake } from \"../cmake/cmake\"\nimport { getVersion } from \"../versions/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\"\nimport { ubuntuVersion } from \"../utils/env/ubuntu_version\"\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 await Promise.all([setupPacmanPack(\"libdwarf\"), setupPacmanPack(\"libcurl-openssl\")])\n } else if (hasDnf()) {\n await setupDnfPack([{ name: \"libdwarf-devel\" }, { name: \"libcurl-devel\" }])\n } else if (isUbuntu()) {\n await setupAptPack([{ name: \"libdw-dev\" }, { name: \"libcurl4-openssl-dev\" }])\n }\n }\n\n // apply gcc13.patch\n try {\n if (which.sync(\"patch\", { nothrow: true }) !== null) {\n const patch = join(__dirname, \"gcc13.patch\")\n await execa(\"patch\", [\"-N\", \"-p1\", \"-i\", patch], { cwd: out, stdio: \"inherit\" })\n } else {\n info(\"`patch` not found, skipping gcc13.patch, kcov may not build on gcc 13\")\n }\n } catch {\n // ignore\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(\n getVersion(\"cmake\", undefined, await ubuntuVersion()),\n join(untildifyUser(\"\"), \"cmake\"),\n \"\",\n )\n cmake = join(binDir, \"cmake\")\n }\n const ninja = which.sync(\"ninja\", { nothrow: true })\n if (ninja === null) {\n await setupNinja(getVersion(\"ninja\", undefined, await ubuntuVersion()), 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 await setupPacmanPack(\"binutils\")\n } else if (hasDnf()) {\n await setupDnfPack([{ name: \"binutils\" }])\n } else if (isUbuntu()) {\n await setupAptPack([{ name: \"libbinutils\" }])\n }\n return installationInfo\n } else {\n installationInfo = await setupBin(\"kcov\", version, getBuildKcovPackageInfo, setupDir, arch)\n }\n return installationInfo\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","import { GITHUB_ACTIONS } from \"ci-info\"\nimport { info, warning } from \"ci-log\"\nimport memoize from \"micro-memoize\"\nimport { delimiter } from \"path\"\nimport { pathExists } from \"path-exists\"\nimport { addExeExt, join } from \"patha\"\nimport { setupGcc } from \"../gcc/gcc\"\nimport { setupMacOSSDK } from \"../macos-sdk/macos-sdk\"\nimport { addEnv } from \"../utils/env/addEnv\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\nimport { ubuntuVersion } from \"../utils/env/ubuntu_version\"\nimport { setupAptPack, updateAptAlternatives } from \"../utils/setup/setupAptPack\"\nimport { InstallationInfo, setupBin } from \"../utils/setup/setupBin\"\nimport { semverCoerceIfInvalid } from \"../utils/setup/version\"\nimport { getVersion } from \"../versions/versions\"\nimport { LLVMPackages, setupLLVMApt } from \"./llvm_installer\"\nimport { getLLVMPackageInfo } from \"./llvm_url\"\n\nexport async function setupLLVM(version: string, setupDir: string, arch: string): Promise {\n const installationInfo = await setupLLVMWithoutActivation(version, setupDir, arch)\n await activateLLVM(installationInfo.installDir ?? setupDir)\n return installationInfo\n}\n\nasync function setupLLVMWithoutActivation_raw(version: string, setupDir: string, arch: string) {\n // install LLVM and its dependencies in parallel\n const [installationInfo, _1, _2] = await Promise.all([\n setupLLVMOnly(version, setupDir, arch),\n setupLLVMDeps(arch),\n addLLVMLoggingMatcher(),\n ])\n\n return installationInfo\n}\nconst setupLLVMWithoutActivation = memoize(setupLLVMWithoutActivation_raw, { isPromise: true })\n\n/**\n * Setup clang-format\n *\n * This uses the LLVM installer on Ubuntu, and the LLVM binaries on other platforms\n */\nexport function setupClangFormat(version: string, setupDir: string, arch: string) {\n return setupLLVMOnly(version, setupDir, arch, LLVMPackages.ClangFormat)\n}\n\n/** Setup llvm tools (clang tidy, etc.) without activating llvm and using it as the compiler */\nexport function setupClangTools(version: string, setupDir: string, arch: string) {\n return setupLLVMOnly(version, setupDir, arch)\n}\n\nasync function setupLLVMOnly(\n version: string,\n setupDir: string,\n arch: string,\n packages: LLVMPackages = LLVMPackages.All,\n) {\n const coeredVersion = semverCoerceIfInvalid(version)\n const majorVersion = parseInt(coeredVersion.split(\".\")[0], 10)\n try {\n if (isUbuntu()) {\n return await setupLLVMApt(majorVersion, packages)\n }\n } catch (err) {\n info(`Failed to install llvm via system package manager ${err}`)\n }\n\n const installationInfo = await setupBin(\"llvm\", version, getLLVMPackageInfo, setupDir, arch)\n await llvmBinaryDeps(majorVersion)\n return installationInfo\n}\n\nasync function llvmBinaryDeps_raw(majorVersion: number) {\n if (isUbuntu()) {\n if (majorVersion <= 10) {\n await setupAptPack([{ name: \"libtinfo5\" }])\n } else {\n await setupAptPack([{ name: \"libtinfo-dev\" }])\n }\n }\n}\nconst llvmBinaryDeps = memoize(llvmBinaryDeps_raw, { isPromise: true })\n\nasync function setupLLVMDeps_raw(arch: string) {\n if (process.platform === \"linux\") {\n // using llvm requires ld, an up to date libstdc++, etc. So, install gcc first\n await setupGcc(getVersion(\"gcc\", undefined, await ubuntuVersion()), \"\", arch)\n }\n}\nconst setupLLVMDeps = memoize(setupLLVMDeps_raw, { isPromise: true })\n\nexport async function activateLLVM(directory: string) {\n const ld = process.env.LD_LIBRARY_PATH ?? \"\"\n const dyld = process.env.DYLD_LIBRARY_PATH ?? \"\"\n\n const actPromises: Promise[] = [\n // the output of this action\n addEnv(\"LLVM_PATH\", directory),\n\n // Setup LLVM as the compiler\n addEnv(\"LD_LIBRARY_PATH\", `${directory}/lib${delimiter}${ld}`),\n addEnv(\"DYLD_LIBRARY_PATH\", `${directory}/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 // TODO Causes issues with clangd\n // TODO Windows builds fail with llvm's CPATH\n // if (process.platform !== \"win32\") {\n // if (await pathExists(`${directory}/lib/clang/${version}/include`)) {\n // promises.push(addEnv(\"CPATH\", `${directory}/lib/clang/${version}/include`))\n // } else if (await pathExists(`${directory}/lib/clang/${llvmMajor}/include`)) {\n // promises.push(addEnv(\"CPATH\", `${directory}/lib/clang/${llvmMajor}/include`))\n // }\n // }\n\n if (isUbuntu()) {\n actPromises.push(\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\n await Promise.all(actPromises)\n}\n\nasync function addLLVMLoggingMatcher() {\n if (GITHUB_ACTIONS) {\n const matcherPath = join(__dirname, \"llvm_matcher.json\")\n if (!(await pathExists(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}\n","import { execRoot } from \"admina\"\nimport { execa } from \"execa\"\nimport { addPath } from \"../utils/env/addEnv\"\nimport { hasNala, isPackageInstalled, setupAptPack } from \"../utils/setup/setupAptPack\"\nimport { InstallationInfo } from \"../utils/setup/setupBin\"\nimport { promises } from \"fs\"\nimport { info } from \"console\"\nimport { DEFAULT_TIMEOUT } from \"../installTool\"\nconst { readFile, writeFile, chmod } = promises\n\nexport enum LLVMPackages {\n All,\n ClangFormat,\n Core,\n}\n\nexport async function setupLLVMApt(\n majorVersion: number,\n packages: LLVMPackages = LLVMPackages.All,\n): Promise {\n // TODO for older versions, this also includes the minor version\n const installationFolder = `/usr/lib/llvm-${majorVersion}`\n\n await setupAptPack([{ name: \"curl\" }])\n await execa(\"curl\", [\"-LJO\", \"https://apt.llvm.org/llvm.sh\"], { cwd: \"/tmp\" })\n const neededPackages = await patchAptLLVMScript(\"/tmp/llvm.sh\", \"/tmp/llvm-setup-cpp.sh\", majorVersion, packages)\n await setupAptPack(neededPackages)\n await chmod(\"/tmp/llvm-setup-cpp.sh\", \"755\")\n await execRoot(\n \"bash\",\n [\"/tmp/llvm-setup-cpp.sh\", `${majorVersion}`, ...(packages === LLVMPackages.All ? [\"all\"] : [])],\n {\n stdio: \"inherit\",\n shell: true,\n timeout: DEFAULT_TIMEOUT,\n },\n )\n\n await addPath(`${installationFolder}/bin`)\n\n return {\n installDir: `${installationFolder}`,\n binDir: `${installationFolder}/bin`,\n bin: `${installationFolder}/bin/clang++`,\n }\n}\n\nasync function patchAptLLVMScript(path: string, target_path: string, majorVersion: number, packages: LLVMPackages) {\n let script = await readFile(path, \"utf-8\")\n\n script = debugScript(script)\n script = nonInteractiveScript(script)\n script = choosePackages(packages, script, majorVersion)\n script = await removeConflictingPackages(script)\n script = useNalaScript(script)\n\n await writeFile(target_path, script)\n\n // the packages needed by the script\n return [{ name: \"lsb-release\" }, { name: \"wget\" }, { name: \"software-properties-common\" }, { name: \"gnupg\" }]\n}\n\nfunction debugScript(script: string) {\n if (!process.env.NODE_DEBUG) {\n return script.replace(/set -eux/g, \"set -eu\")\n }\n return script\n}\n\nfunction nonInteractiveScript(script: string) {\n // make the scirpt non-interactive and fix broken packages\n return script.replace(\n /add-apt-repository \"\\${REPO_NAME}\"/g,\n // eslint-disable-next-line no-template-curly-in-string\n 'add-apt-repository -y \"${REPO_NAME}\"',\n )\n}\n\nasync function removeConflictingPackages(givenScript: string) {\n // fix conflicts between libclang-rt and libclang\n let script = givenScript.replace(\n /apt-get install -y/g,\n 'apt-get install -o Dpkg::Options::=\"--force-overwrite\" -y --fix-broken',\n )\n\n // check if these are installed and if so, remove them from the script as they conflict\n const conflictingPackages = [\"libc++-$LLVM_VERSION-dev\", \"libc++abi-$LLVM_VERSION-dev\", \"libunwind-$LLVM_VERSION-dev\"]\n await Promise.all(\n conflictingPackages.map(async (pack) => {\n const installingPack = pack.replace(\"$LLVM_VERSION\", \"*\")\n if (await isPackageInstalled(installingPack)) {\n info(`Removing conflicting package ${installingPack}`)\n script = script.replace(pack, \"\")\n }\n }),\n )\n return script\n}\n\nfunction useNalaScript(script: string) {\n // use nala if it is available\n if (hasNala()) {\n return script.replace(/apt-get/g, \"nala\")\n }\n return script\n}\n\nfunction choosePackages(packages: LLVMPackages, script: string, majorVersion: number) {\n if (packages === LLVMPackages.ClangFormat) {\n return script.replace(/ -y \\$PKG/g, ` -y clang-format-${majorVersion}`)\n }\n return script\n}\n","import { endGroup, startGroup } from \"@actions/core\"\nimport { error } from \"ci-log\"\nimport { join } from \"patha\"\nimport { getSuccessMessage } from \"./cli-options\"\nimport { InstallationInfo } from \"./utils/setup/setupBin\"\nimport { setupVCVarsall } from \"./vcvarsall/vcvarsall\"\nimport { getVersion } from \"./versions/versions\"\nimport pTimeout from \"p-timeout\"\nimport { ToolName, setups } from \"./tool\"\n\nexport const DEFAULT_TIMEOUT = 20 * 60 * 1000 // 20 minutes\n\nexport async function installTool(\n tool: ToolName,\n version: string,\n osVersion: number[] | null,\n arch: string,\n setupCppDir: string,\n successMessages: string[],\n errorMessages: string[],\n timeout: number = DEFAULT_TIMEOUT,\n) {\n startGroup(`Installing ${tool} ${version}`)\n let hasLLVM = false\n try {\n hasLLVM = await pTimeout(installToolImpl(tool, version, osVersion, arch, hasLLVM, setupCppDir, successMessages), {\n milliseconds: timeout,\n message: `Timeout while installing ${tool} ${version}. You can increase the timeout from options`,\n })\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 return hasLLVM\n}\n\nasync function installToolImpl(\n tool: ToolName,\n version: string,\n osVersion: number[] | null,\n arch: string,\n hasLLVM: boolean,\n setupCppDir: string,\n successMessages: string[],\n) {\n let installationInfo: InstallationInfo | undefined | void\n if (tool === \"vcvarsall\") {\n // eslint-disable-next-line no-await-in-loop\n await setupVCVarsall(getVersion(tool, version, osVersion), undefined, arch, undefined, undefined, false, false)\n } else {\n // get the setup function\n const setupFunction = setups[tool]\n\n // eslint-disable-next-line no-param-reassign\n hasLLVM = [\"llvm\", \"clangformat\", \"clangtidy\"].includes(tool)\n\n // the tool installation directory (for the functions that ue it)\n const setupDir = join(setupCppDir, hasLLVM ? \"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 return hasLLVM\n}\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\"\nimport { pathExists } from \"path-exists\"\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 && (await pathExists(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","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', 'BuildTools']\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\n","export class TimeoutError extends Error {\n\tconstructor(message) {\n\t\tsuper(message);\n\t\tthis.name = 'TimeoutError';\n\t}\n}\n\n/**\nAn error to be thrown when the request is aborted by AbortController.\nDOMException is thrown instead of this Error when DOMException is available.\n*/\nexport class AbortError extends Error {\n\tconstructor(message) {\n\t\tsuper();\n\t\tthis.name = 'AbortError';\n\t\tthis.message = message;\n\t}\n}\n\n/**\nTODO: Remove AbortError and just throw DOMException when targeting Node 18.\n*/\nconst getDOMException = errorMessage => globalThis.DOMException === undefined\n\t? new AbortError(errorMessage)\n\t: new DOMException(errorMessage);\n\n/**\nTODO: Remove below function and just 'reject(signal.reason)' when targeting Node 18.\n*/\nconst getAbortedReason = signal => {\n\tconst reason = signal.reason === undefined\n\t\t? getDOMException('This operation was aborted.')\n\t\t: signal.reason;\n\n\treturn reason instanceof Error ? reason : getDOMException(reason);\n};\n\nexport default function pTimeout(promise, options) {\n\tconst {\n\t\tmilliseconds,\n\t\tfallback,\n\t\tmessage,\n\t\tcustomTimers = {setTimeout, clearTimeout},\n\t} = options;\n\n\tlet timer;\n\n\tconst wrappedPromise = new Promise((resolve, reject) => {\n\t\tif (typeof milliseconds !== 'number' || Math.sign(milliseconds) !== 1) {\n\t\t\tthrow new TypeError(`Expected \\`milliseconds\\` to be a positive number, got \\`${milliseconds}\\``);\n\t\t}\n\n\t\tif (options.signal) {\n\t\t\tconst {signal} = options;\n\t\t\tif (signal.aborted) {\n\t\t\t\treject(getAbortedReason(signal));\n\t\t\t}\n\n\t\t\tsignal.addEventListener('abort', () => {\n\t\t\t\treject(getAbortedReason(signal));\n\t\t\t});\n\t\t}\n\n\t\tif (milliseconds === Number.POSITIVE_INFINITY) {\n\t\t\tpromise.then(resolve, reject);\n\t\t\treturn;\n\t\t}\n\n\t\t// We create the error outside of `setTimeout` to preserve the stack trace.\n\t\tconst timeoutError = new TimeoutError();\n\n\t\ttimer = customTimers.setTimeout.call(undefined, () => {\n\t\t\tif (fallback) {\n\t\t\t\ttry {\n\t\t\t\t\tresolve(fallback());\n\t\t\t\t} catch (error) {\n\t\t\t\t\treject(error);\n\t\t\t\t}\n\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tif (typeof promise.cancel === 'function') {\n\t\t\t\tpromise.cancel();\n\t\t\t}\n\n\t\t\tif (message === false) {\n\t\t\t\tresolve();\n\t\t\t} else if (message instanceof Error) {\n\t\t\t\treject(message);\n\t\t\t} else {\n\t\t\t\ttimeoutError.message = message ?? `Promise timed out after ${milliseconds} milliseconds`;\n\t\t\t\treject(timeoutError);\n\t\t\t}\n\t\t}, milliseconds);\n\n\t\t(async () => {\n\t\t\ttry {\n\t\t\t\tresolve(await promise);\n\t\t\t} catch (error) {\n\t\t\t\treject(error);\n\t\t\t}\n\t\t})();\n\t});\n\n\tconst cancelablePromise = wrappedPromise.finally(() => {\n\t\tcancelablePromise.clear();\n\t});\n\n\tcancelablePromise.clear = () => {\n\t\tcustomTimers.clearTimeout.call(undefined, timer);\n\t\ttimer = undefined;\n\t};\n\n\treturn cancelablePromise;\n}\n","import semverLte from \"semver/functions/lte\"\nimport { isUrlOnline } from \"is-url-online\"\nimport { getSpecificVersionAndUrl, getSpecificVersions, getVersions } from \"../utils/setup/version\"\nimport { info, warning } from \"ci-log\"\nimport { PackageInfo } from \"../utils/setup/setupBin\"\nimport { addExeExt } from \"patha\"\nimport { extractExe, extractTarByExe } from \"../utils/setup/extract\"\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 \"15.0.0\",\n \"15.0.1\",\n \"15.0.2\",\n \"15.0.3\",\n \"15.0.4\",\n \"15.0.5\",\n \"15.0.6\",\n \"15.0.7\",\n \"16.0.0\",\n \"16.0.1\",\n \"16.0.2\",\n \"16.0.3\",\n \"16.0.4\",\n \"16.0.5\",\n \"16.0.6\",\n \"17.0.1\",\n \"17.0.2\",\n \"17.0.3\",\n \"17.0.4\",\n \"17.0.5\",\n])\n\n/** The LLVM versions that were never released for the Windows platform. */\nconst WIN32_MISSING: Set = new Set([\"10.0.1\", \"15.0.5\", \"15.0.6\", \"17.0.5\"])\n\n/** The LLVM versions that were never released for the Darwin platform. */\nconst DARWIN_MISSING = 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 // missing x86_64\n // TODO add arm64 support\n \"15.0.4\",\n \"15.0.5\",\n \"15.0.6\",\n \"16.0.0\",\n \"16.0.1\",\n \"16.0.2\",\n \"16.0.3\",\n \"16.0.4\",\n \"16.0.5\",\n \"16.0.6\",\n \"17.0.1\",\n \"17.0.2\",\n \"17.0.3\",\n \"17.0.4\",\n \"17.0.5\",\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 \"15.0.2\": \"-rhel86\",\n \"15.0.5\": \"-ubuntu-18.04\",\n \"15.0.6\": \"-ubuntu-18.04\",\n \"16.0.0\": \"-ubuntu-18.04\",\n \"16.0.2\": \"-ubuntu-22.04\",\n \"16.0.3\": \"-ubuntu-22.04\",\n \"16.0.4\": \"-ubuntu-22.04\",\n \"17.0.2\": \"-ubuntu-22.04\",\n \"17.0.4\": \"-ubuntu-22.04\",\n \"17.0.5\": \"-ubuntu-22.04\",\n}\n\n/** The latest supported LLVM version for the Linux (Ubuntu) platform. */\nconst MAX_UBUNTU: string = \"17.0.5\"\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/** 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/** 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 linuxVersion: 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 linuxVersion = version.replace(givenUbuntuVersion, \"\")\n version = getSpecificVersions(VERSIONS, givenUbuntuVersion)[0]\n } else if (version !== \"\" && version in UBUNTU_SUFFIX_MAP) {\n linuxVersion = UBUNTU_SUFFIX_MAP[version]\n } else {\n // default to the maximum version\n linuxVersion = UBUNTU_SUFFIX_MAP[MAX_UBUNTU]\n warning(`Falling back to LLVM version ${MAX_UBUNTU} ${linuxVersion} for the Ubuntu.`)\n }\n\n const prefix = \"clang+llvm-\"\n\n let suffix: string\n if (version === \"5.0.0\") {\n suffix = `-linux-x86_64${linuxVersion}.tar.xz`\n } else if (linuxVersion.includes(\"-rhel86\")) {\n suffix = `-x86_64-unknown-linux-gnu${linuxVersion}.tar.xz`\n } else {\n suffix = `-x86_64-linux-gnu${linuxVersion}.tar.xz`\n }\n\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/** 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\nexport async function getLLVMPackageInfo(\n version: string,\n platform: NodeJS.Platform,\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n _arch: string,\n): Promise {\n const [specificVersion, url] = await getSpecificVersionAndUrl(VERSIONS, platform, version, getUrl)\n info(`specific llvm 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","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 await 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([{ name: \"make\", version }])\n } else if (isUbuntu()) {\n return setupAptPack([{ name: \"make\", version }])\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 function setupMeson(version: string | undefined, _setupDir: string, _arch: string) {\n return setupPipPack(\"meson\", version)\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 { GITHUB_ACTIONS } from \"ci-info\"\nimport { join } from \"patha\"\n\nimport { error, info, warning } from \"ci-log\"\nimport { pathExists } from \"path-exists\"\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 (GITHUB_ACTIONS) {\n await addMSVCLoggingMatcher()\n }\n}\n\nasync function addMSVCLoggingMatcher() {\n const matcherPath = join(__dirname, \"msvc_matcher.json\")\n if (!(await pathExists(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 { dirname } from \"patha\"\nimport which from \"which\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\nimport { execRootSync } from \"admina\"\nimport { addAptKeyViaDownload, hasNala, 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([{ name: \"nala\" }], true)\n } else {\n await setupAptPack([{ name: \"nala-legacy\" }], true)\n }\n } catch (err) {\n await setupAptPack([{ name: \"nala-legacy\" }], true)\n }\n\n binDir = \"/usr/bin\" // eslint-disable-line require-atomic-updates\n\n return { binDir }\n}\n\nexport function bashWithNala(script: string) {\n if (hasNala()) {\n return `apt-get() { nala $@; }; export -f apt-get; ${script}; unset -f apt-get`\n }\n return script\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 \"admina\"\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([{ name: \"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([{ name: \"powershell\", version }])\n } else if (isUbuntu()) {\n await setupAptPack([{ name: \"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([{ name: \"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 { setupBrewPack } from \"../utils/setup/setupBrewPack\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport function setupSccache(version: string, _setupDir: string, _arch: string) {\n switch (process.platform) {\n case \"win32\": {\n return setupChocoPack(\"sccache\", version)\n }\n case \"linux\":\n case \"darwin\": {\n return setupBrewPack(\"sccache\", version)\n }\n default: {\n throw new Error(`Unsupported platform`)\n }\n }\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 { execaSync } from \"execa\"\nimport { notice } from \"ci-log\"\nimport { pathExists } from \"path-exists\"\nimport { addShExt, addShRelativePrefix, dirname, join } from \"patha\"\nimport { grantUserWriteAccess } from \"admina\"\nimport which from \"which\"\nimport { addPath } from \"../utils/env/addEnv\"\nimport { hasDnf } from \"../utils/env/hasDnf\"\nimport { isArch } from \"../utils/env/isArch\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\nimport { setupAptPack } from \"../utils/setup/setupAptPack\"\nimport { InstallationInfo } from \"../utils/setup/setupBin\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack\"\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 await Promise.all([\n setupPacmanPack(\"curl\"),\n setupPacmanPack(\"zip\"),\n setupPacmanPack(\"unzip\"),\n setupPacmanPack(\"tar\"),\n setupPacmanPack(\"git\"),\n setupPacmanPack(\"pkg-config\"),\n ])\n } else if (hasDnf()) {\n await setupDnfPack([\n { name: \"curl\" },\n { name: \"zip\" },\n { name: \"unzip\" },\n { name: \"tar\" },\n { name: \"git\" },\n { name: \"pkg-config\" },\n ])\n } else if (isUbuntu()) {\n await setupAptPack([\n { name: \"curl\" },\n { name: \"zip\" },\n { name: \"unzip\" },\n { name: \"tar\" },\n { name: \"git\" },\n { name: \"pkg-config\" },\n ])\n }\n }\n\n if (!(await pathExists(join(setupDir, addShExt(\"bootstrap-vcpkg\", \".bat\"))))) {\n execaSync(\"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 execaSync(addShExt(addShRelativePrefix(\"bootstrap-vcpkg\"), \".bat\"), {\n cwd: setupDir,\n shell: true,\n stdio: \"inherit\",\n })\n\n await grantUserWriteAccess(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 { endGroup, notice, startGroup } from \"@actions/core\"\nimport { error, info } from \"ci-log\"\nimport { join } from \"path\"\nimport semverValid from \"semver/functions/valid\"\nimport { getSuccessMessage } from \"./cli-options\"\nimport { setupGcc, setupMingw } from \"./gcc/gcc\"\nimport { activateGcovGCC, activateGcovLLVM } from \"./gcovr/gcovr\"\nimport { setupLLVM } from \"./llvm/llvm\"\nimport { setupMSVC } from \"./msvc/msvc\"\nimport { addEnv } from \"./utils/env/addEnv\"\nimport { getVersion } from \"./versions/versions\"\n\n/** Detecting the compiler version. Divide the given string by `-` and use the second element as the version */\nexport function getCompilerInfo(compilerAndVersion: string) {\n const compilerAndMaybeVersion = compilerAndVersion.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\n/** Installing the specified compiler */\nexport async function installCompiler(\n compilerAndVersion: string,\n osVersion: number[] | null,\n setupCppDir: string,\n arch: string,\n successMessages: string[],\n hasLLVM: boolean,\n errorMessages: string[],\n) {\n try {\n const { compiler, version } = getCompilerInfo(compilerAndVersion)\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\n await activateGcovLLVM()\n\n successMessages.push(getSuccessMessage(\"llvm\", installationInfo))\n break\n }\n case \"gcc\":\n case \"mingw\":\n case \"cygwin\":\n case \"msys\": {\n const gccVersion =\n compiler === \"mingw\" ? getVersion(\"mingw\", version, osVersion) : getVersion(\"gcc\", version, osVersion)\n const installationInfo =\n compiler === \"mingw\"\n ? await setupMingw(gccVersion, join(setupCppDir, \"gcc\"), arch)\n : await setupGcc(gccVersion, join(setupCppDir, \"gcc\"), arch)\n\n if (hasLLVM) {\n // remove back the added CPPFLAGS of LLVM that include the LLVM headers\n await addEnv(\"CPPFLAGS\", \"\")\n }\n\n await activateGcovGCC(gccVersion)\n\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\n if (hasLLVM) {\n // remove the CPPFLAGS of LLVM that include the LLVM headers\n await addEnv(\"CPPFLAGS\", \"\")\n }\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 } catch (err) {\n error(err as string | Error)\n errorMessages.push(`Failed to install the ${compilerAndVersion}`)\n }\n\n endGroup()\n}\n"],"mappings":";G8KII,CAAAA,CAAA,CiCMAC,CA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C5C,GAAM,CAAAC,CAAA,CAAW,GAAI,CAAAyM,GAAA,CAAI1M,CAAA,EAEzB,IAAK,GAAM,CAAAE,CAAA,GAAW,CAAAF,CAAA,CACpBC,CAAA,CAASyjC,GAAA,CAAI,OAAOzD,IAAA,CAAK//B,CAAA,CAAS,CAAC,EAAE,EACrCD,CAAA,CAASyjC,GAAA,CAAI,YAAYzD,IAAA,CAAK//B,CAAA,CAAS,CAAC,EAAE,EAG5C,MAAO,CAAAD,CACT,GqBxBiD,CAC/C,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACD,EAGKqhB,EAAA,CAA6B,GAAI,CAAA5U,GAAA,CAAI,CAAC,SAAU,SAAU,SAAU,SAAS,EAG7E8U,EAAA,CAAiB,GAAI,CAAA9U,GAAA,CAAI,CAC7B,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,SACA,SACA,SAGA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACD,EAOK+U,EAAA,CAAiC,GAAI,CAAAwf,GAAA,GAQrCrf,EAAA,CAA+C,CACnD,QAAS,gBACT,QAAS,GACT,QAAS,gBACT,QAAS,gBACT,QAAS,gBACT,QAAS,gBACT,QAAS,gBACT,QAAS,gBACT,QAAS,gBACT,QAAS,gBACT,QAAS,gBACT,QAAS,gBACT,QAAS,gBACT,QAAS,eACT,QAAS,gBACT,QAAS,gBACT,QAAS,gBACT,QAAS,gBACT,QAAS,gBACT,QAAS,gBACT,QAAS,gBACT,QAAS,gBACT,QAAS,gB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B,CAAEC,CAAY,EAC7E,MAAO,CAAAiiB,EAAA,CAAcniB,CAAA,CAASC,CAAA,CAAUC,CAAA,CAC1C,G7EEEw/C,WAAA,C6ETK,QAAAA,CAA0B1/C,CAAe,CAAEC,CAAgB,CAAEC,CAAY,EAC9E,MAAO,CAAAiiB,EAAA,CAAcniB,CAAA,CAASC,CAAA,CAAUC,CAAA,CAAMugB,EAAA,CAAaM,WAA3D,CACF,G7EQE2gC,IAAA,CAAM5+B,EAAA,CACN6+B,SAAA,CAAWviC,EAAA,CACX2gC,IAAA,CAAMrhC,EAAA,CACNkjC,IAAA,CAAM/+B,EAAA,CACNm9B,IAAA,C2FXK,QAAAA,CAAmBhgD,CAAe,CAAEC,CAAgB,CAAEC,CAAY,EACvE,MAAO,CAAAmV,EAAA,CAAS,OAAQrV,CAAA,CAASujB,EAAA,CAAoBtjB,CAAA,CAAUC,CAAA,CACjE,G3FUE2hD,QAAA,CAAU5rC,EACZ,EAKa+P,EAAA,CAAQjkB,MAAA,CAAOoF,IAAA,CAAKmZ,EAAA,EAMpBoE,EAAA,CAAwB,CAAC,WAAY,eAAgB,aAAcsB,EAAA,CAAM,C,6CvDqFtFlC,EAAA,CAAK7iB,OAAA,CAAQ6gD,IAAA,EACVx8C,IAAA,CAAKtF,CAAC,GACLiB,OAAA,CAAQ+I,QAAA,CAAWhK,CACrB,IACCgV,KAAA,CAAMhV,CAAC,GACN,GAAAwG,EAAA,CAAAsC,KAAI,EAAE,oBACN,GAAAtC,EAAA,CAAAsC,KAAI,EAAE9I,CAAA,EACNiB,OAAA,CAAQ+I,QAAA,CAAW,CACrB"} \ No newline at end of file +{"version":3,"file":"setup-cpp.js","names":["e","t","r","n","i","o","s","a","u","Promise","TypeError","rk","code","ignoreErrors","p","options","env","process","cwd","chdir","disabled","rL","sync","command","path","rU","pathExt","nX","delimiter","resolve","d","Object","assign","Error","errno","syscall","spawnargs","args","f","iF","file","original","h","rN","t7","spawn","rG","hookChildProcess","m","charCodeAt","length","slice","v","platform","keys","reverse","find","toUpperCase","g","c","ro","execPath","URL","rs","fileURLToPath","rn","l","push","join","E","pipe","y","writable","_write","_writableState","w","maxBuffer","rW","getBufferedLength","rz","MAX_LENGTH","bufferedData","getBufferedValue","o$","on","oA","x","o3","oz","oX","o2","oI","ri","ChildProcess","oB","reject","i8","error","stdout","stderr","all","escapedCommand","parsed","timedOut","isCanceled","killed","oH","oR","oS","kill","ov","bind","cancel","ox","rB","exitCode","signal","oM","o6","aborted","failed","oD","ok","oC","b","oP","spawnSync","input","status","R","getuid","CI","rI","nothrow","I","o7","oW","O","T","S","map","C","SUDO_USER","nW","statSync","isDirectory","$","nQ","replace","A","next","throw","done","value","then","apply","_","return","call","label","ops","pop","trys","sent","Symbol","iterator","N","rQ","pkg","ni","ry","warning","message","stack","P","Array","isArray","L","sH","sN","sP","sG","sd","sC","se","s$","sp","sf","si","sc","sS","sq","sx","sb","sv","D","stdio","k","sY","ns","na","shouldEscapeSpace","rE","GITHUB_ACTIONS","shouldAddOnlyIfNotDefined","no","info","exportVariable","j","setFailed","U","sJ","some","test","PATH","split","includes","addPath","M","F","appendFileSync","sQ","sZ","nl","pathExists","readFileSync","G","Set","writeFileSync","B","V","name","version","DEBIAN_FRONTEND","s1","z","s2","X","flatMap","repositories","q","s4","binDir","H","nc","default","trim","K","W","Y","J","toString","s0","Q","startsWith","Z","np","dirname","nz","tmpdir","nd","mkdirP","NONINTERACTIVE","ee","et","s3","arch","er","SystemRoot","ALLUSERSPROFILE","ChocolateyInstall","en","s6","TMP","TEMP","Path","extendEnv","ei","eo","es","ea","el","ec","eu","s5","s8","ep","matchAll","s7","ed","an","ai","eE","at","existsSync","readdirSync","ev","ef","ey","ac","ae","eh","as","clean","s9","debug","rmRF","em","valid","eg","sort","gt","satisfies","RUNNER_TOOL_CACHE","t6","RUNNER_TEMP","ew","rf","ex","$current","max","timeout","match","backoffBase","backoffExponent","report","Date","toLocaleTimeString","setTimeout","clearTimeout","ah","current","catch","RegExp","Math","pow","eb","url","binRelativeDir","binFileName","extractedFolderName","extractFunction","nf","installDir","nC","downloadTool","am","cacheDir","eR","eI","eS","eO","eT","eC","e$","nT","nO","addExeExt","extractTar","eA","e_","nA","eN","eP","eL","isMemoized","fn","isEqual","isMatchingKey","isPromise","maxSize","onCacheAdd","onCacheChange","onCacheHit","transformKey","n$","n_","values","canTransformKey","shouldCloneArguments","shouldUpdateOnAdd","shouldUpdateOnChange","shouldUpdateOnHit","arguments","getKeyIndex","orderByLru","updateAsyncCache","cache","eD","nJ","request","method","statusCode","end","ek","from","filter","nL","localeCompare","eU","nP","has","JSON","stringify","ej","av","nw","getExecOutput","console","eM","eF","eG","eq","bin","eW","eB","eH","e8","e5","upgrade","usePipx","isLibrary","ez","setupActionsPython","rv","eV","eX","aE","python","eK","eJ","eY","pip","eQ","tt","eZ","e0","e1","ay","parseInt","ag","e2","execFile","encoding","shell","e4","e3","nk","getUbuntuVersion","e6","ab","user","e9","aw","te","e7","ax","findIndex","tr","tn","ti","to","ts","ta","tl","notice","tc","tu","aR","releaseName","fileSuffix","tp","tf","th","td","nU","tm","nj","tv","tg","tE","ty","tw","tx","nM","tb","tR","aC","tI","execSync","entries","aT","aS","aO","aI","tS","nB","tO","aL","startGroup","milliseconds","fallback","customTimers","sign","aP","addEventListener","Number","POSITIVE_INFINITY","aA","finally","clear","tT","endGroup","aW","tQ","tC","t$","aU","aD","NODE_DEBUG","tA","ak","rd","t_","tN","tP","aM","tL","aF","aG","get","aj","aB","aH","tD","tk","aq","tG","tU","tj","az","tB","nH","All","nD","aV","tM","tF","LD_LIBRARY_PATH","DYLD_LIBRARY_PATH","nq","tH","tq","nF","nG","tV","nV","tz","tX","tW","tK","tY","tJ","aX","addShExt","addShRelativePrefix","tZ","compiler","t0","ACTIONS_ALLOW_UNSECURE_COMMANDS","alias","unknown","string","boolean","concat","splice","substring","indexOf","repeat","shift","aY","fromEntries","getInput","toLowerCase","help","table","tools","documentation","coverage","other","architecture","SETUP_CPP_DIR","rb","create","autoloadLocales","addLocale","rR","rw","rx","forEach","cppcheck","gcovr","aK","isCI","now","parseFloat","format","success","t1","t2","rT","rC","r$","rA","rq","rX","rK","rJ","r0","r1","r2","r4","r3","r6","r5","r8","r7","r9","ne","nt","nr","nn","nN","any","every","defineProperty","exports","constant","isPR","pr","BUILD_ID","BUILD_NUMBER","CI_APP_ID","CI_BUILD_ID","CI_BUILD_NUMBER","CI_NAME","CONTINUOUS_INTEGRATION","RUN_ID","parse","log","required","trimWhitespace","issueCommand","toCommandProperties","issue","ExitCode","Success","Failure","toCommandValue","GITHUB_ENV","issueFileCommand","prepareKeyValueMessage","setSecret","GITHUB_PATH","getMultilineInput","getBooleanInput","setOutput","GITHUB_OUTPUT","write","EOL","setCommandEcho","isDebug","RUNNER_DEBUG","group","saveState","GITHUB_STATE","getState","getIDToken","OidcClient","enumerable","summary","markdownSummary","toPosixPath","toWin32Path","toPlatformPath","constructor","properties","hasOwnProperty","String","title","line","startLine","endLine","col","startColumn","endColumn","random","rng","nK","randomFillSync","Uint8Array","substr","createHttpClient","HttpClient","BearerCredentialHandler","getRequestToken","allowRetries","maxRetries","ACTIONS_ID_TOKEN_REQUEST_TOKEN","getIDTokenUrl","ACTIONS_ID_TOKEN_REQUEST_URL","getCall","getJson","result","encodeURIComponent","nY","HttpCodes","OK","MultipleChoices","MovedPermanently","ResourceMoved","SeeOther","NotModified","UseProxy","SwitchProxy","TemporaryRedirect","PermanentRedirect","BadRequest","Unauthorized","PaymentRequired","Forbidden","NotFound","MethodNotAllowed","NotAcceptable","ProxyAuthenticationRequired","RequestTimeout","Conflict","Gone","TooManyRequests","InternalServerError","NotImplemented","BadGateway","ServiceUnavailable","GatewayTimeout","Headers","Accept","ContentType","MediaTypes","ApplicationJson","getProxyUrl","href","setPrototypeOf","prototype","HttpClientError","readBody","Buffer","alloc","HttpClientResponse","isHttps","protocol","_ignoreSslError","_allowRedirects","_allowRedirectDowngrade","_maxRedirects","_allowRetries","_maxRetries","_keepAlive","_disposed","userAgent","handlers","requestOptions","ignoreSslError","_socketTimeout","socketTimeout","allowRedirects","allowRedirectDowngrade","maxRedirects","keepAlive","del","post","patch","put","head","sendStream","_getExistingOrDefaultHeader","_processResponse","postJson","putJson","patchJson","_prepareRequest","requestRaw","canHandleAuthentication","handleAuthentication","headers","location","hostname","_performExponentialBackoff","dispose","_agent","destroy","requestRawWithCallback","byteLength","httpModule","getAgent","_getAgent","parsedUrl","host","port","pathname","search","_mergeHeaders","agent","prepareRequest","_proxyAgent","maxSockets","globalAgent","proxy","username","password","proxyAuth","httpsOverHttps","httpsOverHttp","httpOverHttps","httpOverHttp","Agent","rejectUnauthorized","min","deserializeDates","isNaN","valueOf","reduce","no_proxy","NO_PROXY","endsWith","https_proxy","HTTPS_PROXY","http_proxy","HTTP_PROXY","checkBypass","proxyOptions","defaultMaxSockets","requests","sockets","onSocket","removeSocket","createSocket","getHeader","socket","servername","t4","connect","localAddress","defaultPort","t5","inherits","t3","EventEmitter","addRequest","emit","removeListener","removeAllListeners","useChunkedEncodingByDefault","once","nextTick","unshift","BasicCredentialHandler","Authorization","token","PersonalAccessTokenCredentialHandler","access","appendFile","writeFile","promises","SUMMARY_ENV_VAR","SUMMARY_DOCS_URL","_buffer","filePath","_filePath","constants","R_OK","W_OK","wrap","overwrite","emptyBuffer","isEmptyBuffer","addRaw","addEOL","addCodeBlock","lang","addList","addTable","header","data","colspan","rowspan","addDetails","addImage","width","height","src","alt","addHeading","addSeparator","addBreak","addQuote","cite","addLink","sep","require","pluralize","numerous","id","locale","span","unitType","unitTypeLookupOrder","autoload","floor","defaultConfig","versions","node","isSymbolicLink","isFile","PATHEXT","stat","mode","uid","gid","getgid","inc","diff","major","minor","prerelease","compare","rcompare","compareLoose","compareBuild","rsort","lt","neq","gte","lte","cmp","coerce","Comparator","Range","toComparators","maxSatisfying","minSatisfying","minVersion","validRange","outside","gtr","ltr","intersects","simplifyRange","subset","SemVer","re","tokens","SEMVER_SPEC_VERSION","RELEASE_TYPES","compareIdentifiers","rcompareIdentifiers","MAX_SAFE_COMPONENT_LENGTH","MAX_SAFE_BUILD_LENGTH","safeRe","NUMERICIDENTIFIER","NUMERICIDENTIFIERLOOSE","NONNUMERICIDENTIFIER","PRERELEASEIDENTIFIER","PRERELEASEIDENTIFIERLOOSE","BUILDIDENTIFIER","MAINVERSION","PRERELEASE","BUILD","FULLPLAIN","MAINVERSIONLOOSE","PRERELEASELOOSE","LOOSEPLAIN","XRANGEIDENTIFIER","XRANGEIDENTIFIERLOOSE","GTLT","XRANGEPLAIN","XRANGEPLAINLOOSE","COERCE","LONETILDE","tildeTrimReplace","LONECARET","caretTrimReplace","comparatorTrimReplace","MAX_SAFE_INTEGER","FLAG_INCLUDE_PRERELEASE","FLAG_LOOSE","loose","includePrerelease","LOOSE","FULL","raw","build","compareMain","comparePre","freeze","rtl","COERCERTL","exec","index","lastIndex","ANY","semver","operator","COMPARATORLOOSE","COMPARATOR","set","parseRange","range","HYPHENRANGELOOSE","HYPHENRANGE","COMPARATORTRIM","TILDETRIM","CARETTRIM","Map","size","delete","TILDELOOSE","TILDE","CARETLOOSE","CARET","XRANGELOOSE","XRANGE","STAR","GTE0PRE","GTE0","unshiftNode","maxAge","tail","prev","key","removeNode","stale","noDisposeOnSet","updateAgeOnGet","reset","allowStale","lengthCalculator","itemCount","rforEach","toArray","dump","dumpLru","peek","load","prune","list","Node","pushNode","forEachReverse","getReverse","mapReverse","reduceReverse","toArrayReverse","sliceReverse","add","t8","configurable","basename","extname","normalize","relative","IS_WINDOWS","rm","force","recursive","retryDelay","mkdir","isRooted","tryGetExecutablePath","lstat","unlink","chmod","readlink","symlink","exists","copyFile","cp","copySourceDirectory","readdir","mv","rename","which","findInPath","open","rmdir","UV_FS_O_EXLOCK","READONLY","O_RDONLY","getCmdPath","COMSPEC","_findMatch","stable","files","platform_version","_getOsVersion","_readLinuxVersionFile","randomBytes","argStringToArray","ToolRunner","t9","StringDecoder","listeners","toolPath","_debug","_getCommandString","_getSpawnFileName","_getSpawnArgs","_isCmdFile","windowsVerbatimArguments","_windowsQuoteCmdArg","_processLineBuffer","_endsWith","_uvQuoteCmdArg","_cloneExecOptions","silent","failOnStdErr","ignoreReturnCode","delay","outStream","errStream","_getSpawnOptions","argv0","stdline","processStderr","errline","processError","processExited","processClosed","CheckComplete","processExitCode","stdin","charAt","_setResult","HandleTimeout","abs","long","years","one","months","weeks","days","hours","minutes","seconds","narrow","short","rt","homedir","rS","nZ","n0","n1","chown","n2","n4","lchmod","n3","lchown","n6","link","n5","n8","n7","mkdtemp","n9","ie","it","readFile","ir","ii","realpath","io","is","ia","il","ic","truncate","iu","ip","utimes","ih","im","ig","iv","iE","groups","getgroups","rO","ib","iw","ix","iR","_ISEXE_TEST_PLATFORM_","iI","isexe","iS","posix","iO","iT","iC","source","i$","iA","pathEnv","pathExtExe","i_","iN","r_","rP","OSTYPE","iL","iP","rD","TESTING_WINDOWS","iD","ik","colon","iU","ij","rj","rM","rF","openSync","readSync","closeSync","iM","forceShell","comspec","verifyENOENT","verifyENOENTSync","notFoundError","_parse","_enoent","iG","getOwnPropertyDescriptor","iB","iH","getPrototypeOf","iq","iV","Function","iz","iX","iW","WeakMap","iK","displayName","ignoreNonConfigurable","Reflect","ownKeys","callCount","iY","iZ","iQ","iJ","number","action","description","standard","i0","forced","i1","i2","signals","supported","i4","i3","i6","i5","errorCode","signalDescription","Boolean","originalMessage","shortMessage","i7","i9","oe","ot","reallyExit","pid","or","oi","oo","os","__signal_exit_emitter__","count","emitted","infinite","setMaxListeners","oa","ou","oc","oh","od","rH","equal","op","alwaysLast","unload","ol","om","of","og","oE","ow","unref","forceKillAfterTimeout","oy","SIGTERM","isFinite","ob","killSignal","race","cleanup","detached","oO","oT","createWriteStream","pipeStdout","pipeStderr","pipeAll","ra","promisify","rl","PassThrough","array","objectMode","setEncoding","pipeline","rV","buffer","MaxBufferError","rY","readable","isEmpty","o_","oN","inputFile","oL","createReadStream","oU","oj","oF","oG","oq","oV","oK","rr","isBuffer","oY","oJ","templates","expressions","template","oQ","oZ","rc","debuglog","enabled","o0","padStart","o1","getHours","getMinutes","getSeconds","getMilliseconds","verbose","o4","preferLocal","localDir","stripFinalNewline","windowsHide","o5","o8","ru","npm_package_json","npm_config_user_agent","XDG_CONFIG_HOME","mkdirSync","lastUpdateCheck","getTime","updateCheckInterval","distTag","alwaysRun","rZ","padEnd","isTTY","shouldNotifyInNpmScript","o9","st","sr","sn","so","ss","sl","sa","su","sh","sm","sg","sE","sy","sw","sR","sI","sO","sT","sA","s_","sL","sD","sk","sU","sj","sM","sF","sB","sV","sz","sX","sW","release","sK","nu","ng","ar","ao","aa","al","ny","au","nI","nx","RetryHelper","maxAttempts","minSeconds","maxSeconds","execute","getSleepAmount","sleep","ap","httpStatusCode","new","target","HTTPError","ad","af","nE","authorization","statusMessage","extract7z","nh","extractXar","extractZip","cacheFile","findAllVersions","getManifestFromRepo","tree","accept","findFromManifest","isExplicitVersion","evaluateVersions","retryAsPromised","TimeoutError","previous","_getKeyIndexFromMatchingKey","_getKeyIndexForMany","_getKeyIndexForSingle","rp","llvm","clangtidy","clangformat","ninja","cmake","conan","meson","kcov","task","doxygen","gcc","mingw","nala","ProgramFiles","a$","win32","win64","x86_64","a_","aN","globalThis","DOMException","reason","vcpkg","bazel","opencppcoverage","choco","brew","powershell","ccache","sccache","graphviz","ClangFormat","msvc","vcvarsall","make","sevenzip","argv"],"sources":["../../","../../node_modules/ci-info/index.js","../../node_modules/ci-info/vendors.json","../../packages/ci-log/src/index.ts","../../node_modules/@actions/core/lib/core.js","../../node_modules/@actions/core/src/core.ts","../../node_modules/@actions/core/lib/command.js","../../node_modules/@actions/core/src/command.ts","../../node_modules/@actions/core/lib/utils.js","../../node_modules/@actions/core/src/utils.ts","../../node_modules/@actions/core/lib/file-command.js","../../node_modules/@actions/core/src/file-command.ts","../../node_modules/uuid/dist/esm-node/v4.js","../../node_modules/uuid/dist/esm-node/rng.js","../../node_modules/uuid/dist/esm-node/stringify.js","../../node_modules/uuid/dist/esm-node/validate.js","../../node_modules/uuid/dist/esm-node/regex.js","../../node_modules/@actions/core/lib/oidc-utils.js","../../node_modules/@actions/core/src/oidc-utils.ts","../../node_modules/@actions/http-client/lib/index.js","../../node_modules/@actions/http-client/src/index.ts","../../node_modules/@actions/http-client/lib/proxy.js","../../node_modules/@actions/http-client/src/proxy.ts","../../node_modules/tunnel/index.js","../../node_modules/tunnel/lib/tunnel.js","../../node_modules/@actions/http-client/lib/auth.js","../../node_modules/@actions/http-client/src/auth.ts","../../node_modules/@actions/core/lib/summary.js","../../node_modules/@actions/core/src/summary.ts","../../node_modules/@actions/core/lib/path-utils.js","../../node_modules/@actions/core/src/path-utils.ts","../../node_modules/numerous/lib/numerous.js","../../node_modules/time-delta/lib/time-delta.js","../../node_modules/numerous/index.js","../../node_modules/is-node/index.js","../../node_modules/isexe/windows.js","../../node_modules/isexe/mode.js","../../node_modules/signal-exit/signals.js","../../node_modules/semver/index.js","../../node_modules/semver/internal/re.js","../../node_modules/semver/internal/constants.js","../../node_modules/semver/internal/debug.js","../../node_modules/semver/classes/semver.js","../../node_modules/semver/internal/parse-options.js","../../node_modules/semver/internal/identifiers.js","../../node_modules/semver/functions/parse.js","../../node_modules/semver/functions/valid.js","../../node_modules/semver/functions/clean.js","../../node_modules/semver/functions/inc.js","../../node_modules/semver/functions/diff.js","../../node_modules/semver/functions/major.js","../../node_modules/semver/functions/minor.js","../../node_modules/semver/functions/patch.js","../../node_modules/semver/functions/prerelease.js","../../node_modules/semver/functions/compare.js","../../node_modules/semver/functions/rcompare.js","../../node_modules/semver/functions/compare-loose.js","../../node_modules/semver/functions/compare-build.js","../../node_modules/semver/functions/sort.js","../../node_modules/semver/functions/rsort.js","../../node_modules/semver/functions/gt.js","../../node_modules/semver/functions/lt.js","../../node_modules/semver/functions/eq.js","../../node_modules/semver/functions/neq.js","../../node_modules/semver/functions/gte.js","../../node_modules/semver/functions/lte.js","../../node_modules/semver/functions/cmp.js","../../node_modules/semver/functions/coerce.js","../../node_modules/semver/classes/comparator.js","../../node_modules/semver/classes/range.js","../../node_modules/semver/node_modules/lru-cache/index.js","../../node_modules/yallist/yallist.js","../../node_modules/yallist/iterator.js","../../node_modules/semver/functions/satisfies.js","../../node_modules/semver/ranges/to-comparators.js","../../node_modules/semver/ranges/max-satisfying.js","../../node_modules/semver/ranges/min-satisfying.js","../../node_modules/semver/ranges/min-version.js","../../node_modules/semver/ranges/valid.js","../../node_modules/semver/ranges/outside.js","../../node_modules/semver/ranges/gtr.js","../../node_modules/semver/ranges/ltr.js","../../node_modules/semver/ranges/intersects.js","../../node_modules/semver/ranges/simplify.js","../../node_modules/semver/ranges/subset.js","../../node_modules/escape-quotes/node_modules/escape-string-regexp/index.js","../../node_modules/path-exists/index.js","../../node_modules/patha/dist/index.node.mjs","../../node_modules/patha/src/name.ts","../../node_modules/patha/src/normalize-trim.ts","../../node_modules/patha/src/add-exe-ext.ts","../../node_modules/patha/src/add-name-prefix.ts","../../node_modules/patha/src/add-name-suffix.ts","../../node_modules/patha/src/add-sh-ext.ts","../../node_modules/patha/src/add-sh-relative-prefix.ts","../../node_modules/patha/src/remove-ext.ts","../../node_modules/patha/src/replace-ext.ts","../../node_modules/patha/src/is-path-inside.ts","../../node_modules/escape-string-regexp/index.js","../../node_modules/replace-ext/index.js","../../node_modules/@actions/io/lib/io.js","../../node_modules/@actions/io/src/io.ts","../../node_modules/@actions/io/lib/io-util.js","../../node_modules/@actions/io/src/io-util.ts","../../node_modules/@actions/tool-cache/lib/manifest.js","../../node_modules/@actions/tool-cache/src/manifest.ts","../../node_modules/@actions/tool-cache/node_modules/semver/semver.js","../../node_modules/@actions/tool-cache/node_modules/uuid/v4.js","../../node_modules/@actions/tool-cache/node_modules/uuid/lib/rng.js","../../node_modules/@actions/tool-cache/node_modules/uuid/lib/bytesToUuid.js","../../node_modules/@actions/exec/lib/exec.js","../../node_modules/@actions/exec/src/exec.ts","../../node_modules/@actions/exec/lib/toolrunner.js","../../node_modules/@actions/exec/src/toolrunner.ts","../../node_modules/@parcel/runtime-js/lib/runtime-fd61ca5b164aabc9.js","../../src/main.ts","../../node_modules/numerous/locales/en.js","../../node_modules/time-delta/index.js","../../node_modules/time-delta/locales/en.js","../../packages/untildify-user/src/index.ts","../../packages/untildify-user/node_modules/untildify/index.js","../../node_modules/admina/src/index.mts","../../node_modules/admina/dist/root.mjs","../../node_modules/admina/src/root.mts","../../node_modules/which/lib/index.js","../../node_modules/which/node_modules/isexe/dist/mjs/index.js","../../node_modules/which/node_modules/isexe/src/index.ts","../../node_modules/which/node_modules/isexe/dist/mjs/posix.js","../../node_modules/which/node_modules/isexe/src/posix.ts","../../src/utils/compat/fs/promises.ts","../../node_modules/which/node_modules/isexe/dist/mjs/win32.js","../../node_modules/which/node_modules/isexe/src/win32.ts","../../node_modules/which/node_modules/isexe/src/options.ts","../../node_modules/execa/index.js","../../node_modules/cross-spawn/index.js","../../node_modules/cross-spawn/lib/parse.js","../../node_modules/cross-spawn/lib/util/resolveCommand.js","../../node_modules/cross-spawn/node_modules/which/which.js","../../node_modules/isexe/index.js","../../node_modules/path-key/index.js","../../node_modules/cross-spawn/lib/util/escape.js","../../node_modules/cross-spawn/lib/util/readShebang.js","../../node_modules/shebang-command/index.js","../../node_modules/shebang-regex/index.js","../../node_modules/cross-spawn/lib/enoent.js","../../node_modules/strip-final-newline/index.js","../../node_modules/npm-run-path/index.js","../../node_modules/npm-run-path/node_modules/path-key/index.js","../../node_modules/onetime/index.js","../../node_modules/mimic-fn/index.js","../../node_modules/execa/lib/error.js","../../node_modules/human-signals/build/src/main.js","../../node_modules/human-signals/build/src/realtime.js","../../node_modules/human-signals/build/src/signals.js","../../node_modules/human-signals/build/src/core.js","../../node_modules/execa/lib/stdio.js","../../node_modules/execa/lib/kill.js","../../node_modules/signal-exit/index.js","../../node_modules/execa/lib/pipe.js","../../node_modules/is-stream/index.js","../../node_modules/execa/lib/stream.js","../../node_modules/get-stream/index.js","../../node_modules/get-stream/buffer-stream.js","../../node_modules/merge-stream/index.js","../../node_modules/execa/lib/promise.js","../../node_modules/execa/lib/command.js","../../node_modules/execa/lib/verbose.js","../../node_modules/admina/dist/admin.mjs","../../node_modules/admina/src/admin.mts","../../node_modules/admina/dist/is-admin.mjs","../../node_modules/admina/src/is-admin.mts","../../node_modules/admina/dist/user-access.mjs","../../node_modules/admina/src/user-access.mts","../../src/check-updates.ts","../../node_modules/simple-update-notifier/build/index.js","../../package-version.json","../../src/cli-options.ts","../../node_modules/mri/lib/index.mjs","../../src/tool.ts","../../src/bazel/bazel.ts","../../src/utils/setup/setupAptPack.ts","../../src/utils/env/addEnv.ts","../../packages/exec-powershell/src/index.ts","../../packages/exec-powershell/node_modules/execa/index.js","../../packages/exec-powershell/node_modules/execa/lib/error.js","../../packages/exec-powershell/node_modules/execa/lib/stdio.js","../../packages/exec-powershell/node_modules/execa/lib/kill.js","../../packages/exec-powershell/node_modules/execa/lib/pipe.js","../../packages/exec-powershell/node_modules/execa/lib/stream.js","../../packages/exec-powershell/node_modules/execa/lib/promise.js","../../packages/exec-powershell/node_modules/execa/lib/command.js","../../packages/exec-powershell/node_modules/execa/lib/verbose.js","../../node_modules/escape-path-with-spaces/index.js","../../node_modules/escape-quotes/lib/escape-quotes.js","../../src/utils/setup/setupBrewPack.ts","../../src/brew/brew.ts","../../src/utils/setup/setupChocoPack.ts","../../src/chocolatey/chocolatey.ts","../../src/utils/env/isArch.ts","../../src/utils/env/hasDnf.ts","../../src/utils/setup/setupDnfPack.ts","../../src/utils/env/isUbuntu.ts","../../src/ccache/ccache.ts","../../src/utils/setup/setupPacmanPack.ts","../../src/cmake/cmake.ts","../../node_modules/@actions/tool-cache/lib/tool-cache.js","../../node_modules/@actions/tool-cache/src/tool-cache.ts","../../node_modules/@actions/tool-cache/lib/retry-helper.js","../../node_modules/@actions/tool-cache/src/retry-helper.ts","../../src/utils/setup/setupBin.ts","../../node_modules/retry-as-promised/dist/index.js","../../src/utils/setup/extract.ts","../../src/sevenzip/sevenzip.ts","../../src/conan/conan.ts","../../src/utils/setup/setupPipPack.ts","../../src/python/python.ts","../../node_modules/micro-memoize/dist/micro-memoize.esm.js","../../node_modules/micro-memoize/src/utils.ts","../../node_modules/micro-memoize/src/Cache.ts","../../node_modules/micro-memoize/src/index.ts","../../src/utils/setup/version.ts","../../node_modules/is-url-online/dist/index.mjs","../../src/utils/std/index.ts","../../src/versions/default_versions.ts","../../src/versions/versions.ts","../../src/utils/env/ubuntu_version.ts","../../node_modules/ubuntu-version/index.js","../../src/cppcheck/cppcheck.ts","../../src/doxygen/doxygen.ts","../../src/graphviz/graphviz.ts","../../src/gcc/gcc.ts","../../src/macos-sdk/macos-sdk.ts","../../src/gcovr/gcovr.ts","../../src/kcov/kcov.ts","../../src/ninja/ninja.ts","../../src/llvm/llvm.ts","../../src/llvm/llvm_installer.ts","../../src/installTool.ts","../../src/vcvarsall/vcvarsall.ts","../../node_modules/msvc-dev-cmd/lib.js","../../node_modules/p-timeout/index.js","../../src/llvm/llvm_url.ts","../../src/make/make.ts","../../src/meson/meson.ts","../../src/msvc/msvc.ts","../../src/nala/nala.ts","../../src/opencppcoverage/opencppcoverage.ts","../../src/powershell/powershell.ts","../../src/sccache/sccache.ts","../../src/task/task.ts","../../src/vcpkg/vcpkg.ts","../../src/compilers.ts"],"sourcesContent":["#!/usr/bin/env node\nvar $d7DIX$os = require(\"os\");\nvar $d7DIX$path = require(\"path\");\nvar $d7DIX$fs = require(\"fs\");\nvar $d7DIX$crypto = require(\"crypto\");\nvar $d7DIX$http = require(\"http\");\nvar $d7DIX$https = require(\"https\");\nrequire(\"net\");\nvar $d7DIX$tls = require(\"tls\");\nvar $d7DIX$events = require(\"events\");\nvar $d7DIX$assert = require(\"assert\");\nvar $d7DIX$util = require(\"util\");\nvar $d7DIX$nodefs = require(\"node:fs\");\nvar $d7DIX$child_process = require(\"child_process\");\nvar $d7DIX$string_decoder = require(\"string_decoder\");\nvar $d7DIX$timers = require(\"timers\");\nvar $d7DIX$nodeos = require(\"node:os\");\nvar $d7DIX$nodebuffer = require(\"node:buffer\");\nvar $d7DIX$nodepath = require(\"node:path\");\nvar $d7DIX$nodechild_process = require(\"node:child_process\");\nvar $d7DIX$nodeprocess = require(\"node:process\");\nvar $d7DIX$nodeurl = require(\"node:url\");\nvar $d7DIX$buffer = require(\"buffer\");\nvar $d7DIX$stream = require(\"stream\");\nvar $d7DIX$nodeutil = require(\"node:util\");\nvar $d7DIX$process = require(\"process\");\nvar $d7DIX$url = require(\"url\");\nvar $d7DIX$console = require(\"console\");\n\n\nfunction $parcel$export(e, n, v, s) {\n Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});\n}\n\nfunction $parcel$interopDefault(a) {\n return a && a.__esModule ? a.default : a;\n}\n\n var $parcel$global = globalThis;\n \nvar $parcel$modules = {};\nvar $parcel$inits = {};\n\nvar parcelRequire = $parcel$global[\"parcelRequire810d\"];\n\nif (parcelRequire == null) {\n parcelRequire = function(id) {\n if (id in $parcel$modules) {\n return $parcel$modules[id].exports;\n }\n if (id in $parcel$inits) {\n var init = $parcel$inits[id];\n delete $parcel$inits[id];\n var module = {id: id, exports: {}};\n $parcel$modules[id] = module;\n init.call(module.exports, module, module.exports);\n return module.exports;\n }\n var err = new Error(\"Cannot find module '\" + id + \"'\");\n err.code = 'MODULE_NOT_FOUND';\n throw err;\n };\n\n parcelRequire.register = function register(id, init) {\n $parcel$inits[id] = init;\n };\n\n $parcel$global[\"parcelRequire810d\"] = parcelRequire;\n}\n\nvar parcelRegister = parcelRequire.register;\nparcelRegister(\"52cQ1\", function(module, exports) {\n\"use strict\";\n\nvar $jgqtC = parcelRequire(\"jgqtC\");\nconst $3aa719050363449a$var$env = process.env;\n// Used for testing only\nObject.defineProperty(module.exports, \"_vendors\", {\n value: $jgqtC.map(function(v) {\n return v.constant;\n })\n});\nmodule.exports.name = null;\nmodule.exports.isPR = null;\n$jgqtC.forEach(function(vendor) {\n const envs = Array.isArray(vendor.env) ? vendor.env : [\n vendor.env\n ];\n const isCI = envs.every(function(obj) {\n return $3aa719050363449a$var$checkEnv(obj);\n });\n module.exports[vendor.constant] = isCI;\n if (!isCI) return;\n module.exports.name = vendor.name;\n switch(typeof vendor.pr){\n case \"string\":\n // \"pr\": \"CIRRUS_PR\"\n module.exports.isPR = !!$3aa719050363449a$var$env[vendor.pr];\n break;\n case \"object\":\n if (\"env\" in vendor.pr) // \"pr\": { \"env\": \"BUILDKITE_PULL_REQUEST\", \"ne\": \"false\" }\n module.exports.isPR = vendor.pr.env in $3aa719050363449a$var$env && $3aa719050363449a$var$env[vendor.pr.env] !== vendor.pr.ne;\n else if (\"any\" in vendor.pr) // \"pr\": { \"any\": [\"ghprbPullId\", \"CHANGE_ID\"] }\n module.exports.isPR = vendor.pr.any.some(function(key) {\n return !!$3aa719050363449a$var$env[key];\n });\n else // \"pr\": { \"DRONE_BUILD_EVENT\": \"pull_request\" }\n module.exports.isPR = $3aa719050363449a$var$checkEnv(vendor.pr);\n break;\n default:\n // PR detection not supported for this vendor\n module.exports.isPR = null;\n }\n});\nmodule.exports.isCI = !!($3aa719050363449a$var$env.CI !== \"false\" && // Bypass all checks if CI env is explicitly set to 'false'\n($3aa719050363449a$var$env.BUILD_ID || // Jenkins, Cloudbees\n$3aa719050363449a$var$env.BUILD_NUMBER || // Jenkins, TeamCity\n$3aa719050363449a$var$env.CI || // Travis CI, CircleCI, Cirrus CI, Gitlab CI, Appveyor, CodeShip, dsari\n$3aa719050363449a$var$env.CI_APP_ID || // Appflow\n$3aa719050363449a$var$env.CI_BUILD_ID || // Appflow\n$3aa719050363449a$var$env.CI_BUILD_NUMBER || // Appflow\n$3aa719050363449a$var$env.CI_NAME || // Codeship and others\n$3aa719050363449a$var$env.CONTINUOUS_INTEGRATION || // Travis CI, Cirrus CI\n$3aa719050363449a$var$env.RUN_ID || // TaskCluster, dsari\nmodule.exports.name || false));\nfunction $3aa719050363449a$var$checkEnv(obj) {\n // \"env\": \"CIRRUS\"\n if (typeof obj === \"string\") return !!$3aa719050363449a$var$env[obj];\n // \"env\": { \"env\": \"NODE\", \"includes\": \"/app/.heroku/node/bin/node\" }\n if (\"env\" in obj) // Currently there are no other types, uncomment when there are\n // if ('includes' in obj) {\n return $3aa719050363449a$var$env[obj.env] && $3aa719050363449a$var$env[obj.env].includes(obj.includes);\n if (\"any\" in obj) return obj.any.some(function(k) {\n return !!$3aa719050363449a$var$env[k];\n });\n return Object.keys(obj).every(function(k) {\n return $3aa719050363449a$var$env[k] === obj[k];\n });\n}\n\n});\nparcelRegister(\"jgqtC\", function(module, exports) {\nmodule.exports = JSON.parse('[{\"name\":\"Agola CI\",\"constant\":\"AGOLA\",\"env\":\"AGOLA_GIT_REF\",\"pr\":\"AGOLA_PULL_REQUEST_ID\"},{\"name\":\"Appcircle\",\"constant\":\"APPCIRCLE\",\"env\":\"AC_APPCIRCLE\"},{\"name\":\"AppVeyor\",\"constant\":\"APPVEYOR\",\"env\":\"APPVEYOR\",\"pr\":\"APPVEYOR_PULL_REQUEST_NUMBER\"},{\"name\":\"AWS CodeBuild\",\"constant\":\"CODEBUILD\",\"env\":\"CODEBUILD_BUILD_ARN\"},{\"name\":\"Azure Pipelines\",\"constant\":\"AZURE_PIPELINES\",\"env\":\"TF_BUILD\",\"pr\":{\"BUILD_REASON\":\"PullRequest\"}},{\"name\":\"Bamboo\",\"constant\":\"BAMBOO\",\"env\":\"bamboo_planKey\"},{\"name\":\"Bitbucket Pipelines\",\"constant\":\"BITBUCKET\",\"env\":\"BITBUCKET_COMMIT\",\"pr\":\"BITBUCKET_PR_ID\"},{\"name\":\"Bitrise\",\"constant\":\"BITRISE\",\"env\":\"BITRISE_IO\",\"pr\":\"BITRISE_PULL_REQUEST\"},{\"name\":\"Buddy\",\"constant\":\"BUDDY\",\"env\":\"BUDDY_WORKSPACE_ID\",\"pr\":\"BUDDY_EXECUTION_PULL_REQUEST_ID\"},{\"name\":\"Buildkite\",\"constant\":\"BUILDKITE\",\"env\":\"BUILDKITE\",\"pr\":{\"env\":\"BUILDKITE_PULL_REQUEST\",\"ne\":\"false\"}},{\"name\":\"CircleCI\",\"constant\":\"CIRCLE\",\"env\":\"CIRCLECI\",\"pr\":\"CIRCLE_PULL_REQUEST\"},{\"name\":\"Cirrus CI\",\"constant\":\"CIRRUS\",\"env\":\"CIRRUS_CI\",\"pr\":\"CIRRUS_PR\"},{\"name\":\"Codefresh\",\"constant\":\"CODEFRESH\",\"env\":\"CF_BUILD_ID\",\"pr\":{\"any\":[\"CF_PULL_REQUEST_NUMBER\",\"CF_PULL_REQUEST_ID\"]}},{\"name\":\"Codemagic\",\"constant\":\"CODEMAGIC\",\"env\":\"CM_BUILD_ID\",\"pr\":\"CM_PULL_REQUEST\"},{\"name\":\"Codeship\",\"constant\":\"CODESHIP\",\"env\":{\"CI_NAME\":\"codeship\"}},{\"name\":\"Drone\",\"constant\":\"DRONE\",\"env\":\"DRONE\",\"pr\":{\"DRONE_BUILD_EVENT\":\"pull_request\"}},{\"name\":\"dsari\",\"constant\":\"DSARI\",\"env\":\"DSARI\"},{\"name\":\"Earthly\",\"constant\":\"EARTHLY\",\"env\":\"EARTHLY_CI\"},{\"name\":\"Expo Application Services\",\"constant\":\"EAS\",\"env\":\"EAS_BUILD\"},{\"name\":\"Gerrit\",\"constant\":\"GERRIT\",\"env\":\"GERRIT_PROJECT\"},{\"name\":\"Gitea Actions\",\"constant\":\"GITEA_ACTIONS\",\"env\":\"GITEA_ACTIONS\"},{\"name\":\"GitHub Actions\",\"constant\":\"GITHUB_ACTIONS\",\"env\":\"GITHUB_ACTIONS\",\"pr\":{\"GITHUB_EVENT_NAME\":\"pull_request\"}},{\"name\":\"GitLab CI\",\"constant\":\"GITLAB\",\"env\":\"GITLAB_CI\",\"pr\":\"CI_MERGE_REQUEST_ID\"},{\"name\":\"GoCD\",\"constant\":\"GOCD\",\"env\":\"GO_PIPELINE_LABEL\"},{\"name\":\"Google Cloud Build\",\"constant\":\"GOOGLE_CLOUD_BUILD\",\"env\":\"BUILDER_OUTPUT\"},{\"name\":\"Harness CI\",\"constant\":\"HARNESS\",\"env\":\"HARNESS_BUILD_ID\"},{\"name\":\"Heroku\",\"constant\":\"HEROKU\",\"env\":{\"env\":\"NODE\",\"includes\":\"/app/.heroku/node/bin/node\"}},{\"name\":\"Hudson\",\"constant\":\"HUDSON\",\"env\":\"HUDSON_URL\"},{\"name\":\"Jenkins\",\"constant\":\"JENKINS\",\"env\":[\"JENKINS_URL\",\"BUILD_ID\"],\"pr\":{\"any\":[\"ghprbPullId\",\"CHANGE_ID\"]}},{\"name\":\"LayerCI\",\"constant\":\"LAYERCI\",\"env\":\"LAYERCI\",\"pr\":\"LAYERCI_PULL_REQUEST\"},{\"name\":\"Magnum CI\",\"constant\":\"MAGNUM\",\"env\":\"MAGNUM\"},{\"name\":\"Netlify CI\",\"constant\":\"NETLIFY\",\"env\":\"NETLIFY\",\"pr\":{\"env\":\"PULL_REQUEST\",\"ne\":\"false\"}},{\"name\":\"Nevercode\",\"constant\":\"NEVERCODE\",\"env\":\"NEVERCODE\",\"pr\":{\"env\":\"NEVERCODE_PULL_REQUEST\",\"ne\":\"false\"}},{\"name\":\"Prow\",\"constant\":\"PROW\",\"env\":\"PROW_JOB_ID\"},{\"name\":\"ReleaseHub\",\"constant\":\"RELEASEHUB\",\"env\":\"RELEASE_BUILD_ID\"},{\"name\":\"Render\",\"constant\":\"RENDER\",\"env\":\"RENDER\",\"pr\":{\"IS_PULL_REQUEST\":\"true\"}},{\"name\":\"Sail CI\",\"constant\":\"SAIL\",\"env\":\"SAILCI\",\"pr\":\"SAIL_PULL_REQUEST_NUMBER\"},{\"name\":\"Screwdriver\",\"constant\":\"SCREWDRIVER\",\"env\":\"SCREWDRIVER\",\"pr\":{\"env\":\"SD_PULL_REQUEST\",\"ne\":\"false\"}},{\"name\":\"Semaphore\",\"constant\":\"SEMAPHORE\",\"env\":\"SEMAPHORE\",\"pr\":\"PULL_REQUEST_NUMBER\"},{\"name\":\"Sourcehut\",\"constant\":\"SOURCEHUT\",\"env\":{\"CI_NAME\":\"sourcehut\"}},{\"name\":\"Strider CD\",\"constant\":\"STRIDER\",\"env\":\"STRIDER\"},{\"name\":\"TaskCluster\",\"constant\":\"TASKCLUSTER\",\"env\":[\"TASK_ID\",\"RUN_ID\"]},{\"name\":\"TeamCity\",\"constant\":\"TEAMCITY\",\"env\":\"TEAMCITY_VERSION\"},{\"name\":\"Travis CI\",\"constant\":\"TRAVIS\",\"env\":\"TRAVIS\",\"pr\":{\"env\":\"TRAVIS_PULL_REQUEST\",\"ne\":\"false\"}},{\"name\":\"Vela\",\"constant\":\"VELA\",\"env\":\"VELA\",\"pr\":{\"VELA_PULL_REQUEST\":\"1\"}},{\"name\":\"Vercel\",\"constant\":\"VERCEL\",\"env\":{\"any\":[\"NOW_BUILDER\",\"VERCEL\"]},\"pr\":\"VERCEL_GIT_PULL_REQUEST_ID\"},{\"name\":\"Visual Studio App Center\",\"constant\":\"APPCENTER\",\"env\":\"APPCENTER_BUILD_ID\"},{\"name\":\"Woodpecker\",\"constant\":\"WOODPECKER\",\"env\":{\"CI\":\"woodpecker\"},\"pr\":{\"CI_BUILD_EVENT\":\"pull_request\"}},{\"name\":\"Xcode Cloud\",\"constant\":\"XCODE_CLOUD\",\"env\":\"CI_XCODE_PROJECT\",\"pr\":\"CI_PULL_REQUEST_NUMBER\"},{\"name\":\"Xcode Server\",\"constant\":\"XCODE_SERVER\",\"env\":\"XCS\"}]');\n\n});\n\n\nparcelRegister(\"ER74K\", function(module, exports) {\n\n$parcel$export(module.exports, \"error\", () => $59a05e0535061862$export$a3bc9b8ed74fc);\n$parcel$export(module.exports, \"success\", () => $59a05e0535061862$export$fe7c49d056ea1d88);\n$parcel$export(module.exports, \"warning\", () => $59a05e0535061862$export$491112666e282270);\n$parcel$export(module.exports, \"notice\", () => $59a05e0535061862$export$b31f6ae88848cf15);\n$parcel$export(module.exports, \"info\", () => $59a05e0535061862$export$a80b3bd66acc52ff);\n\nvar $4t50X = parcelRequire(\"4t50X\");\n\nvar $52cQ1 = parcelRequire(\"52cQ1\");\nfunction $59a05e0535061862$export$a3bc9b8ed74fc(err) {\n return (0, $52cQ1.GITHUB_ACTIONS) ? $4t50X.error(err) : console.log(`\\x1b[31m${err}\\x1b[0m`);\n}\nfunction $59a05e0535061862$export$fe7c49d056ea1d88(msg) {\n return console.log(`\\x1b[32m${msg}\\x1b[0m`);\n}\nfunction $59a05e0535061862$export$491112666e282270(msg) {\n return (0, $52cQ1.GITHUB_ACTIONS) ? $4t50X.warning(msg) : console.log(`\\x1b[33m${msg}\\x1b[0m`);\n}\nfunction $59a05e0535061862$export$b31f6ae88848cf15(msg) {\n return (0, $52cQ1.GITHUB_ACTIONS) ? $4t50X.notice(msg) : console.log(`\\x1b[94m${msg}\\x1b[0m`);\n}\nfunction $59a05e0535061862$export$a80b3bd66acc52ff(msg) {\n return (0, $52cQ1.GITHUB_ACTIONS) ? $4t50X.info(msg) : console.log(msg);\n}\n\n});\nparcelRegister(\"4t50X\", function(module, exports) {\n\"use strict\";\nvar $340dc29cb75a8fc5$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $340dc29cb75a8fc5$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $340dc29cb75a8fc5$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $340dc29cb75a8fc5$var$__createBinding(result, mod, k);\n }\n $340dc29cb75a8fc5$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $340dc29cb75a8fc5$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.getIDToken = module.exports.getState = module.exports.saveState = module.exports.group = module.exports.endGroup = module.exports.startGroup = module.exports.info = module.exports.notice = module.exports.warning = module.exports.error = module.exports.debug = module.exports.isDebug = module.exports.setFailed = module.exports.setCommandEcho = module.exports.setOutput = module.exports.getBooleanInput = module.exports.getMultilineInput = module.exports.getInput = module.exports.addPath = module.exports.setSecret = module.exports.exportVariable = module.exports.ExitCode = void 0;\n\nvar $dIPEE = parcelRequire(\"dIPEE\");\n\nvar $aSbHp = parcelRequire(\"aSbHp\");\n\nvar $i0ItD = parcelRequire(\"i0ItD\");\n\nconst $340dc29cb75a8fc5$var$os = $340dc29cb75a8fc5$var$__importStar($d7DIX$os);\n\nconst $340dc29cb75a8fc5$var$path = $340dc29cb75a8fc5$var$__importStar($d7DIX$path);\n\nvar $6dNYa = parcelRequire(\"6dNYa\");\n/**\n * The code to exit an action\n */ var $340dc29cb75a8fc5$var$ExitCode;\n(function(ExitCode) {\n /**\n * A code indicating that the action was successful\n */ ExitCode[ExitCode[\"Success\"] = 0] = \"Success\";\n /**\n * A code indicating that the action was a failure\n */ ExitCode[ExitCode[\"Failure\"] = 1] = \"Failure\";\n})($340dc29cb75a8fc5$var$ExitCode = module.exports.ExitCode || (module.exports.ExitCode = {}));\n//-----------------------------------------------------------------------\n// Variables\n//-----------------------------------------------------------------------\n/**\n * Sets env variable for this action and future actions in the job\n * @param name the name of the variable to set\n * @param val the value of the variable. Non-string values will be converted to a string via JSON.stringify\n */ // eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction $340dc29cb75a8fc5$var$exportVariable(name, val) {\n const convertedVal = $i0ItD.toCommandValue(val);\n process.env[name] = convertedVal;\n const filePath = process.env[\"GITHUB_ENV\"] || \"\";\n if (filePath) return $aSbHp.issueFileCommand(\"ENV\", $aSbHp.prepareKeyValueMessage(name, val));\n $dIPEE.issueCommand(\"set-env\", {\n name: name\n }, convertedVal);\n}\nmodule.exports.exportVariable = $340dc29cb75a8fc5$var$exportVariable;\n/**\n * Registers a secret which will get masked from logs\n * @param secret value of the secret\n */ function $340dc29cb75a8fc5$var$setSecret(secret) {\n $dIPEE.issueCommand(\"add-mask\", {}, secret);\n}\nmodule.exports.setSecret = $340dc29cb75a8fc5$var$setSecret;\n/**\n * Prepends inputPath to the PATH (for this action and future actions)\n * @param inputPath\n */ function $340dc29cb75a8fc5$var$addPath(inputPath) {\n const filePath = process.env[\"GITHUB_PATH\"] || \"\";\n if (filePath) $aSbHp.issueFileCommand(\"PATH\", inputPath);\n else $dIPEE.issueCommand(\"add-path\", {}, inputPath);\n process.env[\"PATH\"] = `${inputPath}${$340dc29cb75a8fc5$var$path.delimiter}${process.env[\"PATH\"]}`;\n}\nmodule.exports.addPath = $340dc29cb75a8fc5$var$addPath;\n/**\n * Gets the value of an input.\n * Unless trimWhitespace is set to false in InputOptions, the value is also trimmed.\n * Returns an empty string if the value is not defined.\n *\n * @param name name of the input to get\n * @param options optional. See InputOptions.\n * @returns string\n */ function $340dc29cb75a8fc5$var$getInput(name, options) {\n const val = process.env[`INPUT_${name.replace(/ /g, \"_\").toUpperCase()}`] || \"\";\n if (options && options.required && !val) throw new Error(`Input required and not supplied: ${name}`);\n if (options && options.trimWhitespace === false) return val;\n return val.trim();\n}\nmodule.exports.getInput = $340dc29cb75a8fc5$var$getInput;\n/**\n * Gets the values of an multiline input. Each value is also trimmed.\n *\n * @param name name of the input to get\n * @param options optional. See InputOptions.\n * @returns string[]\n *\n */ function $340dc29cb75a8fc5$var$getMultilineInput(name, options) {\n const inputs = $340dc29cb75a8fc5$var$getInput(name, options).split(\"\\n\").filter((x)=>x !== \"\");\n if (options && options.trimWhitespace === false) return inputs;\n return inputs.map((input)=>input.trim());\n}\nmodule.exports.getMultilineInput = $340dc29cb75a8fc5$var$getMultilineInput;\n/**\n * Gets the input value of the boolean type in the YAML 1.2 \"core schema\" specification.\n * Support boolean input list: `true | True | TRUE | false | False | FALSE` .\n * The return value is also in boolean type.\n * ref: https://yaml.org/spec/1.2/spec.html#id2804923\n *\n * @param name name of the input to get\n * @param options optional. See InputOptions.\n * @returns boolean\n */ function $340dc29cb75a8fc5$var$getBooleanInput(name, options) {\n const trueValue = [\n \"true\",\n \"True\",\n \"TRUE\"\n ];\n const falseValue = [\n \"false\",\n \"False\",\n \"FALSE\"\n ];\n const val = $340dc29cb75a8fc5$var$getInput(name, options);\n if (trueValue.includes(val)) return true;\n if (falseValue.includes(val)) return false;\n throw new TypeError(`Input does not meet YAML 1.2 \"Core Schema\" specification: ${name}\\n` + `Support boolean input list: \\`true | True | TRUE | false | False | FALSE\\``);\n}\nmodule.exports.getBooleanInput = $340dc29cb75a8fc5$var$getBooleanInput;\n/**\n * Sets the value of an output.\n *\n * @param name name of the output to set\n * @param value value to store. Non-string values will be converted to a string via JSON.stringify\n */ // eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction $340dc29cb75a8fc5$var$setOutput(name, value) {\n const filePath = process.env[\"GITHUB_OUTPUT\"] || \"\";\n if (filePath) return $aSbHp.issueFileCommand(\"OUTPUT\", $aSbHp.prepareKeyValueMessage(name, value));\n process.stdout.write($340dc29cb75a8fc5$var$os.EOL);\n $dIPEE.issueCommand(\"set-output\", {\n name: name\n }, $i0ItD.toCommandValue(value));\n}\nmodule.exports.setOutput = $340dc29cb75a8fc5$var$setOutput;\n/**\n * Enables or disables the echoing of commands into stdout for the rest of the step.\n * Echoing is disabled by default if ACTIONS_STEP_DEBUG is not set.\n *\n */ function $340dc29cb75a8fc5$var$setCommandEcho(enabled) {\n $dIPEE.issue(\"echo\", enabled ? \"on\" : \"off\");\n}\nmodule.exports.setCommandEcho = $340dc29cb75a8fc5$var$setCommandEcho;\n//-----------------------------------------------------------------------\n// Results\n//-----------------------------------------------------------------------\n/**\n * Sets the action status to failed.\n * When the action exits it will be with an exit code of 1\n * @param message add error issue message\n */ function $340dc29cb75a8fc5$var$setFailed(message) {\n process.exitCode = $340dc29cb75a8fc5$var$ExitCode.Failure;\n $340dc29cb75a8fc5$var$error(message);\n}\nmodule.exports.setFailed = $340dc29cb75a8fc5$var$setFailed;\n//-----------------------------------------------------------------------\n// Logging Commands\n//-----------------------------------------------------------------------\n/**\n * Gets whether Actions Step Debug is on or not\n */ function $340dc29cb75a8fc5$var$isDebug() {\n return process.env[\"RUNNER_DEBUG\"] === \"1\";\n}\nmodule.exports.isDebug = $340dc29cb75a8fc5$var$isDebug;\n/**\n * Writes debug message to user log\n * @param message debug message\n */ function $340dc29cb75a8fc5$var$debug(message) {\n $dIPEE.issueCommand(\"debug\", {}, message);\n}\nmodule.exports.debug = $340dc29cb75a8fc5$var$debug;\n/**\n * Adds an error issue\n * @param message error issue message. Errors will be converted to string via toString()\n * @param properties optional properties to add to the annotation.\n */ function $340dc29cb75a8fc5$var$error(message, properties = {}) {\n $dIPEE.issueCommand(\"error\", $i0ItD.toCommandProperties(properties), message instanceof Error ? message.toString() : message);\n}\nmodule.exports.error = $340dc29cb75a8fc5$var$error;\n/**\n * Adds a warning issue\n * @param message warning issue message. Errors will be converted to string via toString()\n * @param properties optional properties to add to the annotation.\n */ function $340dc29cb75a8fc5$var$warning(message, properties = {}) {\n $dIPEE.issueCommand(\"warning\", $i0ItD.toCommandProperties(properties), message instanceof Error ? message.toString() : message);\n}\nmodule.exports.warning = $340dc29cb75a8fc5$var$warning;\n/**\n * Adds a notice issue\n * @param message notice issue message. Errors will be converted to string via toString()\n * @param properties optional properties to add to the annotation.\n */ function $340dc29cb75a8fc5$var$notice(message, properties = {}) {\n $dIPEE.issueCommand(\"notice\", $i0ItD.toCommandProperties(properties), message instanceof Error ? message.toString() : message);\n}\nmodule.exports.notice = $340dc29cb75a8fc5$var$notice;\n/**\n * Writes info to log with console.log.\n * @param message info message\n */ function $340dc29cb75a8fc5$var$info(message) {\n process.stdout.write(message + $340dc29cb75a8fc5$var$os.EOL);\n}\nmodule.exports.info = $340dc29cb75a8fc5$var$info;\n/**\n * Begin an output group.\n *\n * Output until the next `groupEnd` will be foldable in this group\n *\n * @param name The name of the output group\n */ function $340dc29cb75a8fc5$var$startGroup(name) {\n $dIPEE.issue(\"group\", name);\n}\nmodule.exports.startGroup = $340dc29cb75a8fc5$var$startGroup;\n/**\n * End an output group.\n */ function $340dc29cb75a8fc5$var$endGroup() {\n $dIPEE.issue(\"endgroup\");\n}\nmodule.exports.endGroup = $340dc29cb75a8fc5$var$endGroup;\n/**\n * Wrap an asynchronous function call in a group.\n *\n * Returns the same type as the function itself.\n *\n * @param name The name of the group\n * @param fn The function to wrap in the group\n */ function $340dc29cb75a8fc5$var$group(name, fn) {\n return $340dc29cb75a8fc5$var$__awaiter(this, void 0, void 0, function*() {\n $340dc29cb75a8fc5$var$startGroup(name);\n let result;\n try {\n result = yield fn();\n } finally{\n $340dc29cb75a8fc5$var$endGroup();\n }\n return result;\n });\n}\nmodule.exports.group = $340dc29cb75a8fc5$var$group;\n//-----------------------------------------------------------------------\n// Wrapper action state\n//-----------------------------------------------------------------------\n/**\n * Saves state for current action, the state can only be retrieved by this action's post job execution.\n *\n * @param name name of the state to store\n * @param value value to store. Non-string values will be converted to a string via JSON.stringify\n */ // eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction $340dc29cb75a8fc5$var$saveState(name, value) {\n const filePath = process.env[\"GITHUB_STATE\"] || \"\";\n if (filePath) return $aSbHp.issueFileCommand(\"STATE\", $aSbHp.prepareKeyValueMessage(name, value));\n $dIPEE.issueCommand(\"save-state\", {\n name: name\n }, $i0ItD.toCommandValue(value));\n}\nmodule.exports.saveState = $340dc29cb75a8fc5$var$saveState;\n/**\n * Gets the value of an state set by this action's main execution.\n *\n * @param name name of the state to get\n * @returns string\n */ function $340dc29cb75a8fc5$var$getState(name) {\n return process.env[`STATE_${name}`] || \"\";\n}\nmodule.exports.getState = $340dc29cb75a8fc5$var$getState;\nfunction $340dc29cb75a8fc5$var$getIDToken(aud) {\n return $340dc29cb75a8fc5$var$__awaiter(this, void 0, void 0, function*() {\n return yield $6dNYa.OidcClient.getIDToken(aud);\n });\n}\nmodule.exports.getIDToken = $340dc29cb75a8fc5$var$getIDToken;\n\nvar $dTpO2 = parcelRequire(\"dTpO2\");\nObject.defineProperty(module.exports, \"summary\", {\n enumerable: true,\n get: function() {\n return $dTpO2.summary;\n }\n});\n\nvar $dTpO2 = parcelRequire(\"dTpO2\");\nObject.defineProperty(module.exports, \"markdownSummary\", {\n enumerable: true,\n get: function() {\n return $dTpO2.markdownSummary;\n }\n});\n\nvar $azKnO = parcelRequire(\"azKnO\");\nObject.defineProperty(module.exports, \"toPosixPath\", {\n enumerable: true,\n get: function() {\n return $azKnO.toPosixPath;\n }\n});\nObject.defineProperty(module.exports, \"toWin32Path\", {\n enumerable: true,\n get: function() {\n return $azKnO.toWin32Path;\n }\n});\nObject.defineProperty(module.exports, \"toPlatformPath\", {\n enumerable: true,\n get: function() {\n return $azKnO.toPlatformPath;\n }\n});\n\n});\nparcelRegister(\"dIPEE\", function(module, exports) {\n\"use strict\";\nvar $9fd773f80bf7d36c$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $9fd773f80bf7d36c$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $9fd773f80bf7d36c$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $9fd773f80bf7d36c$var$__createBinding(result, mod, k);\n }\n $9fd773f80bf7d36c$var$__setModuleDefault(result, mod);\n return result;\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.issue = module.exports.issueCommand = void 0;\n\nconst $9fd773f80bf7d36c$var$os = $9fd773f80bf7d36c$var$__importStar($d7DIX$os);\n\nvar $i0ItD = parcelRequire(\"i0ItD\");\n/**\n * Commands\n *\n * Command Format:\n * ::name key=value,key=value::message\n *\n * Examples:\n * ::warning::This is the message\n * ::set-env name=MY_VAR::some value\n */ function $9fd773f80bf7d36c$var$issueCommand(command, properties, message) {\n const cmd = new $9fd773f80bf7d36c$var$Command(command, properties, message);\n process.stdout.write(cmd.toString() + $9fd773f80bf7d36c$var$os.EOL);\n}\nmodule.exports.issueCommand = $9fd773f80bf7d36c$var$issueCommand;\nfunction $9fd773f80bf7d36c$var$issue(name, message = \"\") {\n $9fd773f80bf7d36c$var$issueCommand(name, {}, message);\n}\nmodule.exports.issue = $9fd773f80bf7d36c$var$issue;\nconst $9fd773f80bf7d36c$var$CMD_STRING = \"::\";\nclass $9fd773f80bf7d36c$var$Command {\n constructor(command, properties, message){\n if (!command) command = \"missing.command\";\n this.command = command;\n this.properties = properties;\n this.message = message;\n }\n toString() {\n let cmdStr = $9fd773f80bf7d36c$var$CMD_STRING + this.command;\n if (this.properties && Object.keys(this.properties).length > 0) {\n cmdStr += \" \";\n let first = true;\n for(const key in this.properties)if (this.properties.hasOwnProperty(key)) {\n const val = this.properties[key];\n if (val) {\n if (first) first = false;\n else cmdStr += \",\";\n cmdStr += `${key}=${$9fd773f80bf7d36c$var$escapeProperty(val)}`;\n }\n }\n }\n cmdStr += `${$9fd773f80bf7d36c$var$CMD_STRING}${$9fd773f80bf7d36c$var$escapeData(this.message)}`;\n return cmdStr;\n }\n}\nfunction $9fd773f80bf7d36c$var$escapeData(s) {\n return $i0ItD.toCommandValue(s).replace(/%/g, \"%25\").replace(/\\r/g, \"%0D\").replace(/\\n/g, \"%0A\");\n}\nfunction $9fd773f80bf7d36c$var$escapeProperty(s) {\n return $i0ItD.toCommandValue(s).replace(/%/g, \"%25\").replace(/\\r/g, \"%0D\").replace(/\\n/g, \"%0A\").replace(/:/g, \"%3A\").replace(/,/g, \"%2C\");\n}\n\n});\nparcelRegister(\"i0ItD\", function(module, exports) {\n\"use strict\";\n// We use any as a valid input type\n/* eslint-disable @typescript-eslint/no-explicit-any */ Object.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.toCommandProperties = module.exports.toCommandValue = void 0;\n/**\n * Sanitizes an input into a string so it can be passed into issueCommand safely\n * @param input input to sanitize into a string\n */ function $d1caba43517904de$var$toCommandValue(input) {\n if (input === null || input === undefined) return \"\";\n else if (typeof input === \"string\" || input instanceof String) return input;\n return JSON.stringify(input);\n}\nmodule.exports.toCommandValue = $d1caba43517904de$var$toCommandValue;\n/**\n *\n * @param annotationProperties\n * @returns The command properties to send with the actual annotation command\n * See IssueCommandProperties: https://github.com/actions/runner/blob/main/src/Runner.Worker/ActionCommandManager.cs#L646\n */ function $d1caba43517904de$var$toCommandProperties(annotationProperties) {\n if (!Object.keys(annotationProperties).length) return {};\n return {\n title: annotationProperties.title,\n file: annotationProperties.file,\n line: annotationProperties.startLine,\n endLine: annotationProperties.endLine,\n col: annotationProperties.startColumn,\n endColumn: annotationProperties.endColumn\n };\n}\nmodule.exports.toCommandProperties = $d1caba43517904de$var$toCommandProperties;\n\n});\n\n\nparcelRegister(\"aSbHp\", function(module, exports) {\n\"use strict\";\n// For internal use, subject to change.\nvar $7ea805c232758762$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $7ea805c232758762$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $7ea805c232758762$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $7ea805c232758762$var$__createBinding(result, mod, k);\n }\n $7ea805c232758762$var$__setModuleDefault(result, mod);\n return result;\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.prepareKeyValueMessage = module.exports.issueFileCommand = void 0;\n\n// We use any as a valid input type\n/* eslint-disable @typescript-eslint/no-explicit-any */ const $7ea805c232758762$var$fs = $7ea805c232758762$var$__importStar($d7DIX$fs);\n\nconst $7ea805c232758762$var$os = $7ea805c232758762$var$__importStar($d7DIX$os);\n\nvar $e3G3w = parcelRequire(\"e3G3w\");\n\nvar $i0ItD = parcelRequire(\"i0ItD\");\nfunction $7ea805c232758762$var$issueFileCommand(command, message) {\n const filePath = process.env[`GITHUB_${command}`];\n if (!filePath) throw new Error(`Unable to find environment variable for file command ${command}`);\n if (!$7ea805c232758762$var$fs.existsSync(filePath)) throw new Error(`Missing file at path: ${filePath}`);\n $7ea805c232758762$var$fs.appendFileSync(filePath, `${$i0ItD.toCommandValue(message)}${$7ea805c232758762$var$os.EOL}`, {\n encoding: \"utf8\"\n });\n}\nmodule.exports.issueFileCommand = $7ea805c232758762$var$issueFileCommand;\nfunction $7ea805c232758762$var$prepareKeyValueMessage(key, value) {\n const delimiter = `ghadelimiter_${$e3G3w.default()}`;\n const convertedValue = $i0ItD.toCommandValue(value);\n // These should realistically never happen, but just in case someone finds a\n // way to exploit uuid generation let's not allow keys or values that contain\n // the delimiter.\n if (key.includes(delimiter)) throw new Error(`Unexpected input: name should not contain the delimiter \"${delimiter}\"`);\n if (convertedValue.includes(delimiter)) throw new Error(`Unexpected input: value should not contain the delimiter \"${delimiter}\"`);\n return `${key}<<${delimiter}${$7ea805c232758762$var$os.EOL}${convertedValue}${$7ea805c232758762$var$os.EOL}${delimiter}`;\n}\nmodule.exports.prepareKeyValueMessage = $7ea805c232758762$var$prepareKeyValueMessage;\n\n});\nparcelRegister(\"e3G3w\", function(module, exports) {\n\n$parcel$export(module.exports, \"default\", () => $a3c1f7e44989a758$export$2e2bcd8739ae039);\n\nvar $kDGEy = parcelRequire(\"kDGEy\");\n\nvar $2ckr2 = parcelRequire(\"2ckr2\");\nfunction $a3c1f7e44989a758$var$v4(options, buf, offset) {\n options = options || {};\n const rnds = options.random || (options.rng || (0, $kDGEy.default))(); // 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; // Copy bytes to buffer, if provided\n if (buf) {\n offset = offset || 0;\n for(let i = 0; i < 16; ++i)buf[offset + i] = rnds[i];\n return buf;\n }\n return (0, $2ckr2.default)(rnds);\n}\nvar $a3c1f7e44989a758$export$2e2bcd8739ae039 = $a3c1f7e44989a758$var$v4;\n\n});\nparcelRegister(\"kDGEy\", function(module, exports) {\n\n$parcel$export(module.exports, \"default\", () => $f0688929972e8cca$export$2e2bcd8739ae039);\n\nconst $f0688929972e8cca$var$rnds8Pool = new Uint8Array(256); // # of random values to pre-allocate\nlet $f0688929972e8cca$var$poolPtr = $f0688929972e8cca$var$rnds8Pool.length;\nfunction $f0688929972e8cca$export$2e2bcd8739ae039() {\n if ($f0688929972e8cca$var$poolPtr > $f0688929972e8cca$var$rnds8Pool.length - 16) {\n (0, ($parcel$interopDefault($d7DIX$crypto))).randomFillSync($f0688929972e8cca$var$rnds8Pool);\n $f0688929972e8cca$var$poolPtr = 0;\n }\n return $f0688929972e8cca$var$rnds8Pool.slice($f0688929972e8cca$var$poolPtr, $f0688929972e8cca$var$poolPtr += 16);\n}\n\n});\n\nparcelRegister(\"2ckr2\", function(module, exports) {\n\n$parcel$export(module.exports, \"default\", () => $199c8db8e94efcb9$export$2e2bcd8739ae039);\n\nvar $9IL8W = parcelRequire(\"9IL8W\");\n/**\n * Convert array of 16 byte values to UUID string format of the form:\n * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\n */ const $199c8db8e94efcb9$var$byteToHex = [];\nfor(let i = 0; i < 256; ++i)$199c8db8e94efcb9$var$byteToHex.push((i + 0x100).toString(16).substr(1));\nfunction $199c8db8e94efcb9$var$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 = ($199c8db8e94efcb9$var$byteToHex[arr[offset + 0]] + $199c8db8e94efcb9$var$byteToHex[arr[offset + 1]] + $199c8db8e94efcb9$var$byteToHex[arr[offset + 2]] + $199c8db8e94efcb9$var$byteToHex[arr[offset + 3]] + \"-\" + $199c8db8e94efcb9$var$byteToHex[arr[offset + 4]] + $199c8db8e94efcb9$var$byteToHex[arr[offset + 5]] + \"-\" + $199c8db8e94efcb9$var$byteToHex[arr[offset + 6]] + $199c8db8e94efcb9$var$byteToHex[arr[offset + 7]] + \"-\" + $199c8db8e94efcb9$var$byteToHex[arr[offset + 8]] + $199c8db8e94efcb9$var$byteToHex[arr[offset + 9]] + \"-\" + $199c8db8e94efcb9$var$byteToHex[arr[offset + 10]] + $199c8db8e94efcb9$var$byteToHex[arr[offset + 11]] + $199c8db8e94efcb9$var$byteToHex[arr[offset + 12]] + $199c8db8e94efcb9$var$byteToHex[arr[offset + 13]] + $199c8db8e94efcb9$var$byteToHex[arr[offset + 14]] + $199c8db8e94efcb9$var$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 if (!(0, $9IL8W.default)(uuid)) throw TypeError(\"Stringified UUID is invalid\");\n return uuid;\n}\nvar $199c8db8e94efcb9$export$2e2bcd8739ae039 = $199c8db8e94efcb9$var$stringify;\n\n});\nparcelRegister(\"9IL8W\", function(module, exports) {\n\n$parcel$export(module.exports, \"default\", () => $713ccacc4438b458$export$2e2bcd8739ae039);\n\nvar $hDU47 = parcelRequire(\"hDU47\");\nfunction $713ccacc4438b458$var$validate(uuid) {\n return typeof uuid === \"string\" && (0, $hDU47.default).test(uuid);\n}\nvar $713ccacc4438b458$export$2e2bcd8739ae039 = $713ccacc4438b458$var$validate;\n\n});\nparcelRegister(\"hDU47\", function(module, exports) {\n\n$parcel$export(module.exports, \"default\", () => $cd81919c4b3b9e01$export$2e2bcd8739ae039);\nvar $cd81919c4b3b9e01$export$2e2bcd8739ae039 = /^(?:[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;\n\n});\n\n\n\n\n\nparcelRegister(\"6dNYa\", function(module, exports) {\n\"use strict\";\nvar $487ab7ded41d44aa$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.OidcClient = void 0;\n\nvar $a7JAS = parcelRequire(\"a7JAS\");\n\nvar $3T6Pq = parcelRequire(\"3T6Pq\");\n\nvar $4t50X = parcelRequire(\"4t50X\");\nclass $487ab7ded41d44aa$var$OidcClient {\n static createHttpClient(allowRetry = true, maxRetry = 10) {\n const requestOptions = {\n allowRetries: allowRetry,\n maxRetries: maxRetry\n };\n return new $a7JAS.HttpClient(\"actions/oidc-client\", [\n new $3T6Pq.BearerCredentialHandler($487ab7ded41d44aa$var$OidcClient.getRequestToken())\n ], requestOptions);\n }\n static getRequestToken() {\n const token = process.env[\"ACTIONS_ID_TOKEN_REQUEST_TOKEN\"];\n if (!token) throw new Error(\"Unable to get ACTIONS_ID_TOKEN_REQUEST_TOKEN env variable\");\n return token;\n }\n static getIDTokenUrl() {\n const runtimeUrl = process.env[\"ACTIONS_ID_TOKEN_REQUEST_URL\"];\n if (!runtimeUrl) throw new Error(\"Unable to get ACTIONS_ID_TOKEN_REQUEST_URL env variable\");\n return runtimeUrl;\n }\n static getCall(id_token_url) {\n var _a;\n return $487ab7ded41d44aa$var$__awaiter(this, void 0, void 0, function*() {\n const httpclient = $487ab7ded41d44aa$var$OidcClient.createHttpClient();\n const res = yield httpclient.getJson(id_token_url).catch((error)=>{\n throw new Error(`Failed to get ID Token. \\n \n Error Code : ${error.statusCode}\\n \n Error Message: ${error.message}`);\n });\n const id_token = (_a = res.result) === null || _a === void 0 ? void 0 : _a.value;\n if (!id_token) throw new Error(\"Response json body do not have ID Token field\");\n return id_token;\n });\n }\n static getIDToken(audience) {\n return $487ab7ded41d44aa$var$__awaiter(this, void 0, void 0, function*() {\n try {\n // New ID Token is requested from action service\n let id_token_url = $487ab7ded41d44aa$var$OidcClient.getIDTokenUrl();\n if (audience) {\n const encodedAudience = encodeURIComponent(audience);\n id_token_url = `${id_token_url}&audience=${encodedAudience}`;\n }\n $4t50X.debug(`ID token url is ${id_token_url}`);\n const id_token = yield $487ab7ded41d44aa$var$OidcClient.getCall(id_token_url);\n $4t50X.setSecret(id_token);\n return id_token;\n } catch (error) {\n throw new Error(`Error message: ${error.message}`);\n }\n });\n }\n}\nmodule.exports.OidcClient = $487ab7ded41d44aa$var$OidcClient;\n\n});\nparcelRegister(\"a7JAS\", function(module, exports) {\n\"use strict\";\n/* eslint-disable @typescript-eslint/no-explicit-any */ var $75edecd1a4092d7a$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $75edecd1a4092d7a$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $75edecd1a4092d7a$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $75edecd1a4092d7a$var$__createBinding(result, mod, k);\n }\n $75edecd1a4092d7a$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $75edecd1a4092d7a$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.HttpClient = module.exports.isHttps = module.exports.HttpClientResponse = module.exports.HttpClientError = module.exports.getProxyUrl = module.exports.MediaTypes = module.exports.Headers = module.exports.HttpCodes = void 0;\n\nconst $75edecd1a4092d7a$var$http = $75edecd1a4092d7a$var$__importStar($d7DIX$http);\n\nconst $75edecd1a4092d7a$var$https = $75edecd1a4092d7a$var$__importStar($d7DIX$https);\n\nconst $75edecd1a4092d7a$var$pm = $75edecd1a4092d7a$var$__importStar((parcelRequire(\"8gh3V\")));\n\nconst $75edecd1a4092d7a$var$tunnel = $75edecd1a4092d7a$var$__importStar((parcelRequire(\"7i1qo\")));\nvar $75edecd1a4092d7a$var$HttpCodes;\n(function(HttpCodes) {\n HttpCodes[HttpCodes[\"OK\"] = 200] = \"OK\";\n HttpCodes[HttpCodes[\"MultipleChoices\"] = 300] = \"MultipleChoices\";\n HttpCodes[HttpCodes[\"MovedPermanently\"] = 301] = \"MovedPermanently\";\n HttpCodes[HttpCodes[\"ResourceMoved\"] = 302] = \"ResourceMoved\";\n HttpCodes[HttpCodes[\"SeeOther\"] = 303] = \"SeeOther\";\n HttpCodes[HttpCodes[\"NotModified\"] = 304] = \"NotModified\";\n HttpCodes[HttpCodes[\"UseProxy\"] = 305] = \"UseProxy\";\n HttpCodes[HttpCodes[\"SwitchProxy\"] = 306] = \"SwitchProxy\";\n HttpCodes[HttpCodes[\"TemporaryRedirect\"] = 307] = \"TemporaryRedirect\";\n HttpCodes[HttpCodes[\"PermanentRedirect\"] = 308] = \"PermanentRedirect\";\n HttpCodes[HttpCodes[\"BadRequest\"] = 400] = \"BadRequest\";\n HttpCodes[HttpCodes[\"Unauthorized\"] = 401] = \"Unauthorized\";\n HttpCodes[HttpCodes[\"PaymentRequired\"] = 402] = \"PaymentRequired\";\n HttpCodes[HttpCodes[\"Forbidden\"] = 403] = \"Forbidden\";\n HttpCodes[HttpCodes[\"NotFound\"] = 404] = \"NotFound\";\n HttpCodes[HttpCodes[\"MethodNotAllowed\"] = 405] = \"MethodNotAllowed\";\n HttpCodes[HttpCodes[\"NotAcceptable\"] = 406] = \"NotAcceptable\";\n HttpCodes[HttpCodes[\"ProxyAuthenticationRequired\"] = 407] = \"ProxyAuthenticationRequired\";\n HttpCodes[HttpCodes[\"RequestTimeout\"] = 408] = \"RequestTimeout\";\n HttpCodes[HttpCodes[\"Conflict\"] = 409] = \"Conflict\";\n HttpCodes[HttpCodes[\"Gone\"] = 410] = \"Gone\";\n HttpCodes[HttpCodes[\"TooManyRequests\"] = 429] = \"TooManyRequests\";\n HttpCodes[HttpCodes[\"InternalServerError\"] = 500] = \"InternalServerError\";\n HttpCodes[HttpCodes[\"NotImplemented\"] = 501] = \"NotImplemented\";\n HttpCodes[HttpCodes[\"BadGateway\"] = 502] = \"BadGateway\";\n HttpCodes[HttpCodes[\"ServiceUnavailable\"] = 503] = \"ServiceUnavailable\";\n HttpCodes[HttpCodes[\"GatewayTimeout\"] = 504] = \"GatewayTimeout\";\n})($75edecd1a4092d7a$var$HttpCodes = module.exports.HttpCodes || (module.exports.HttpCodes = {}));\nvar $75edecd1a4092d7a$var$Headers;\n(function(Headers) {\n Headers[\"Accept\"] = \"accept\";\n Headers[\"ContentType\"] = \"content-type\";\n})($75edecd1a4092d7a$var$Headers = module.exports.Headers || (module.exports.Headers = {}));\nvar $75edecd1a4092d7a$var$MediaTypes;\n(function(MediaTypes) {\n MediaTypes[\"ApplicationJson\"] = \"application/json\";\n})($75edecd1a4092d7a$var$MediaTypes = module.exports.MediaTypes || (module.exports.MediaTypes = {}));\n/**\n * Returns the proxy URL, depending upon the supplied url and proxy environment variables.\n * @param serverUrl The server URL where the request will be sent. For example, https://api.github.com\n */ function $75edecd1a4092d7a$var$getProxyUrl(serverUrl) {\n const proxyUrl = $75edecd1a4092d7a$var$pm.getProxyUrl(new URL(serverUrl));\n return proxyUrl ? proxyUrl.href : \"\";\n}\nmodule.exports.getProxyUrl = $75edecd1a4092d7a$var$getProxyUrl;\nconst $75edecd1a4092d7a$var$HttpRedirectCodes = [\n $75edecd1a4092d7a$var$HttpCodes.MovedPermanently,\n $75edecd1a4092d7a$var$HttpCodes.ResourceMoved,\n $75edecd1a4092d7a$var$HttpCodes.SeeOther,\n $75edecd1a4092d7a$var$HttpCodes.TemporaryRedirect,\n $75edecd1a4092d7a$var$HttpCodes.PermanentRedirect\n];\nconst $75edecd1a4092d7a$var$HttpResponseRetryCodes = [\n $75edecd1a4092d7a$var$HttpCodes.BadGateway,\n $75edecd1a4092d7a$var$HttpCodes.ServiceUnavailable,\n $75edecd1a4092d7a$var$HttpCodes.GatewayTimeout\n];\nconst $75edecd1a4092d7a$var$RetryableHttpVerbs = [\n \"OPTIONS\",\n \"GET\",\n \"DELETE\",\n \"HEAD\"\n];\nconst $75edecd1a4092d7a$var$ExponentialBackoffCeiling = 10;\nconst $75edecd1a4092d7a$var$ExponentialBackoffTimeSlice = 5;\nclass $75edecd1a4092d7a$var$HttpClientError extends Error {\n constructor(message, statusCode){\n super(message);\n this.name = \"HttpClientError\";\n this.statusCode = statusCode;\n Object.setPrototypeOf(this, $75edecd1a4092d7a$var$HttpClientError.prototype);\n }\n}\nmodule.exports.HttpClientError = $75edecd1a4092d7a$var$HttpClientError;\nclass $75edecd1a4092d7a$var$HttpClientResponse {\n constructor(message){\n this.message = message;\n }\n readBody() {\n return $75edecd1a4092d7a$var$__awaiter(this, void 0, void 0, function*() {\n return new Promise((resolve)=>$75edecd1a4092d7a$var$__awaiter(this, void 0, void 0, function*() {\n let output = Buffer.alloc(0);\n this.message.on(\"data\", (chunk)=>{\n output = Buffer.concat([\n output,\n chunk\n ]);\n });\n this.message.on(\"end\", ()=>{\n resolve(output.toString());\n });\n }));\n });\n }\n}\nmodule.exports.HttpClientResponse = $75edecd1a4092d7a$var$HttpClientResponse;\nfunction $75edecd1a4092d7a$var$isHttps(requestUrl) {\n const parsedUrl = new URL(requestUrl);\n return parsedUrl.protocol === \"https:\";\n}\nmodule.exports.isHttps = $75edecd1a4092d7a$var$isHttps;\nclass $75edecd1a4092d7a$var$HttpClient {\n constructor(userAgent, handlers, requestOptions){\n this._ignoreSslError = false;\n this._allowRedirects = true;\n this._allowRedirectDowngrade = false;\n this._maxRedirects = 50;\n this._allowRetries = false;\n this._maxRetries = 1;\n this._keepAlive = false;\n this._disposed = false;\n this.userAgent = userAgent;\n this.handlers = handlers || [];\n this.requestOptions = requestOptions;\n if (requestOptions) {\n if (requestOptions.ignoreSslError != null) this._ignoreSslError = requestOptions.ignoreSslError;\n this._socketTimeout = requestOptions.socketTimeout;\n if (requestOptions.allowRedirects != null) this._allowRedirects = requestOptions.allowRedirects;\n if (requestOptions.allowRedirectDowngrade != null) this._allowRedirectDowngrade = requestOptions.allowRedirectDowngrade;\n if (requestOptions.maxRedirects != null) this._maxRedirects = Math.max(requestOptions.maxRedirects, 0);\n if (requestOptions.keepAlive != null) this._keepAlive = requestOptions.keepAlive;\n if (requestOptions.allowRetries != null) this._allowRetries = requestOptions.allowRetries;\n if (requestOptions.maxRetries != null) this._maxRetries = requestOptions.maxRetries;\n }\n }\n options(requestUrl, additionalHeaders) {\n return $75edecd1a4092d7a$var$__awaiter(this, void 0, void 0, function*() {\n return this.request(\"OPTIONS\", requestUrl, null, additionalHeaders || {});\n });\n }\n get(requestUrl, additionalHeaders) {\n return $75edecd1a4092d7a$var$__awaiter(this, void 0, void 0, function*() {\n return this.request(\"GET\", requestUrl, null, additionalHeaders || {});\n });\n }\n del(requestUrl, additionalHeaders) {\n return $75edecd1a4092d7a$var$__awaiter(this, void 0, void 0, function*() {\n return this.request(\"DELETE\", requestUrl, null, additionalHeaders || {});\n });\n }\n post(requestUrl, data, additionalHeaders) {\n return $75edecd1a4092d7a$var$__awaiter(this, void 0, void 0, function*() {\n return this.request(\"POST\", requestUrl, data, additionalHeaders || {});\n });\n }\n patch(requestUrl, data, additionalHeaders) {\n return $75edecd1a4092d7a$var$__awaiter(this, void 0, void 0, function*() {\n return this.request(\"PATCH\", requestUrl, data, additionalHeaders || {});\n });\n }\n put(requestUrl, data, additionalHeaders) {\n return $75edecd1a4092d7a$var$__awaiter(this, void 0, void 0, function*() {\n return this.request(\"PUT\", requestUrl, data, additionalHeaders || {});\n });\n }\n head(requestUrl, additionalHeaders) {\n return $75edecd1a4092d7a$var$__awaiter(this, void 0, void 0, function*() {\n return this.request(\"HEAD\", requestUrl, null, additionalHeaders || {});\n });\n }\n sendStream(verb, requestUrl, stream, additionalHeaders) {\n return $75edecd1a4092d7a$var$__awaiter(this, void 0, void 0, function*() {\n return this.request(verb, requestUrl, stream, additionalHeaders);\n });\n }\n /**\n * Gets a typed object from an endpoint\n * Be aware that not found returns a null. Other errors (4xx, 5xx) reject the promise\n */ getJson(requestUrl, additionalHeaders = {}) {\n return $75edecd1a4092d7a$var$__awaiter(this, void 0, void 0, function*() {\n additionalHeaders[$75edecd1a4092d7a$var$Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, $75edecd1a4092d7a$var$Headers.Accept, $75edecd1a4092d7a$var$MediaTypes.ApplicationJson);\n const res = yield this.get(requestUrl, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n });\n }\n postJson(requestUrl, obj, additionalHeaders = {}) {\n return $75edecd1a4092d7a$var$__awaiter(this, void 0, void 0, function*() {\n const data = JSON.stringify(obj, null, 2);\n additionalHeaders[$75edecd1a4092d7a$var$Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, $75edecd1a4092d7a$var$Headers.Accept, $75edecd1a4092d7a$var$MediaTypes.ApplicationJson);\n additionalHeaders[$75edecd1a4092d7a$var$Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, $75edecd1a4092d7a$var$Headers.ContentType, $75edecd1a4092d7a$var$MediaTypes.ApplicationJson);\n const res = yield this.post(requestUrl, data, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n });\n }\n putJson(requestUrl, obj, additionalHeaders = {}) {\n return $75edecd1a4092d7a$var$__awaiter(this, void 0, void 0, function*() {\n const data = JSON.stringify(obj, null, 2);\n additionalHeaders[$75edecd1a4092d7a$var$Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, $75edecd1a4092d7a$var$Headers.Accept, $75edecd1a4092d7a$var$MediaTypes.ApplicationJson);\n additionalHeaders[$75edecd1a4092d7a$var$Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, $75edecd1a4092d7a$var$Headers.ContentType, $75edecd1a4092d7a$var$MediaTypes.ApplicationJson);\n const res = yield this.put(requestUrl, data, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n });\n }\n patchJson(requestUrl, obj, additionalHeaders = {}) {\n return $75edecd1a4092d7a$var$__awaiter(this, void 0, void 0, function*() {\n const data = JSON.stringify(obj, null, 2);\n additionalHeaders[$75edecd1a4092d7a$var$Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, $75edecd1a4092d7a$var$Headers.Accept, $75edecd1a4092d7a$var$MediaTypes.ApplicationJson);\n additionalHeaders[$75edecd1a4092d7a$var$Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, $75edecd1a4092d7a$var$Headers.ContentType, $75edecd1a4092d7a$var$MediaTypes.ApplicationJson);\n const res = yield this.patch(requestUrl, data, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n });\n }\n /**\n * Makes a raw http request.\n * All other methods such as get, post, patch, and request ultimately call this.\n * Prefer get, del, post and patch\n */ request(verb, requestUrl, data, headers) {\n return $75edecd1a4092d7a$var$__awaiter(this, void 0, void 0, function*() {\n if (this._disposed) throw new Error(\"Client has already been disposed.\");\n const parsedUrl = new URL(requestUrl);\n let info = this._prepareRequest(verb, parsedUrl, headers);\n // Only perform retries on reads since writes may not be idempotent.\n const maxTries = this._allowRetries && $75edecd1a4092d7a$var$RetryableHttpVerbs.includes(verb) ? this._maxRetries + 1 : 1;\n let numTries = 0;\n let response;\n do {\n response = yield this.requestRaw(info, data);\n // Check if it's an authentication challenge\n if (response && response.message && response.message.statusCode === $75edecd1a4092d7a$var$HttpCodes.Unauthorized) {\n let authenticationHandler;\n for (const handler of this.handlers)if (handler.canHandleAuthentication(response)) {\n authenticationHandler = handler;\n break;\n }\n if (authenticationHandler) return authenticationHandler.handleAuthentication(this, info, data);\n else // We have received an unauthorized response but have no handlers to handle it.\n // Let the response return to the caller.\n return response;\n }\n let redirectsRemaining = this._maxRedirects;\n while(response.message.statusCode && $75edecd1a4092d7a$var$HttpRedirectCodes.includes(response.message.statusCode) && this._allowRedirects && redirectsRemaining > 0){\n const redirectUrl = response.message.headers[\"location\"];\n if (!redirectUrl) break;\n const parsedRedirectUrl = new URL(redirectUrl);\n if (parsedUrl.protocol === \"https:\" && parsedUrl.protocol !== parsedRedirectUrl.protocol && !this._allowRedirectDowngrade) throw new 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.\");\n // we need to finish reading the response before reassigning response\n // which will leak the open socket.\n yield response.readBody();\n // strip authorization header if redirected to a different hostname\n if (parsedRedirectUrl.hostname !== parsedUrl.hostname) {\n for(const header in headers)// header names are case insensitive\n if (header.toLowerCase() === \"authorization\") delete headers[header];\n }\n // let's make the request with the new redirectUrl\n info = this._prepareRequest(verb, parsedRedirectUrl, headers);\n response = yield this.requestRaw(info, data);\n redirectsRemaining--;\n }\n if (!response.message.statusCode || !$75edecd1a4092d7a$var$HttpResponseRetryCodes.includes(response.message.statusCode)) // If not a retry code, return immediately instead of retrying\n return response;\n numTries += 1;\n if (numTries < maxTries) {\n yield response.readBody();\n yield this._performExponentialBackoff(numTries);\n }\n }while (numTries < maxTries);\n return response;\n });\n }\n /**\n * Needs to be called if keepAlive is set to true in request options.\n */ dispose() {\n if (this._agent) this._agent.destroy();\n this._disposed = true;\n }\n /**\n * Raw request.\n * @param info\n * @param data\n */ requestRaw(info, data) {\n return $75edecd1a4092d7a$var$__awaiter(this, void 0, void 0, function*() {\n return new Promise((resolve, reject)=>{\n function callbackForResult(err, res) {\n if (err) reject(err);\n else if (!res) // If `err` is not passed, then `res` must be passed.\n reject(new Error(\"Unknown error\"));\n else resolve(res);\n }\n this.requestRawWithCallback(info, data, callbackForResult);\n });\n });\n }\n /**\n * Raw request with callback.\n * @param info\n * @param data\n * @param onResult\n */ requestRawWithCallback(info, data, onResult) {\n if (typeof data === \"string\") {\n if (!info.options.headers) info.options.headers = {};\n info.options.headers[\"Content-Length\"] = Buffer.byteLength(data, \"utf8\");\n }\n let callbackCalled = false;\n function handleResult(err, res) {\n if (!callbackCalled) {\n callbackCalled = true;\n onResult(err, res);\n }\n }\n const req = info.httpModule.request(info.options, (msg)=>{\n const res = new $75edecd1a4092d7a$var$HttpClientResponse(msg);\n handleResult(undefined, res);\n });\n let socket;\n req.on(\"socket\", (sock)=>{\n socket = sock;\n });\n // If we ever get disconnected, we want the socket to timeout eventually\n req.setTimeout(this._socketTimeout || 180000, ()=>{\n if (socket) socket.end();\n handleResult(new Error(`Request timeout: ${info.options.path}`));\n });\n req.on(\"error\", function(err) {\n // err has statusCode property\n // res should have headers\n handleResult(err);\n });\n if (data && typeof data === \"string\") req.write(data, \"utf8\");\n if (data && typeof data !== \"string\") {\n data.on(\"close\", function() {\n req.end();\n });\n data.pipe(req);\n } else req.end();\n }\n /**\n * Gets an http agent. This function is useful when you need an http agent that handles\n * routing through a proxy server - depending upon the url and proxy environment variables.\n * @param serverUrl The server URL where the request will be sent. For example, https://api.github.com\n */ getAgent(serverUrl) {\n const parsedUrl = new URL(serverUrl);\n return this._getAgent(parsedUrl);\n }\n _prepareRequest(method, requestUrl, headers) {\n const info = {};\n info.parsedUrl = requestUrl;\n const usingSsl = info.parsedUrl.protocol === \"https:\";\n info.httpModule = usingSsl ? $75edecd1a4092d7a$var$https : $75edecd1a4092d7a$var$http;\n const defaultPort = usingSsl ? 443 : 80;\n info.options = {};\n info.options.host = info.parsedUrl.hostname;\n info.options.port = info.parsedUrl.port ? parseInt(info.parsedUrl.port) : defaultPort;\n info.options.path = (info.parsedUrl.pathname || \"\") + (info.parsedUrl.search || \"\");\n info.options.method = method;\n info.options.headers = this._mergeHeaders(headers);\n if (this.userAgent != null) info.options.headers[\"user-agent\"] = this.userAgent;\n info.options.agent = this._getAgent(info.parsedUrl);\n // gives handlers an opportunity to participate\n if (this.handlers) for (const handler of this.handlers)handler.prepareRequest(info.options);\n return info;\n }\n _mergeHeaders(headers) {\n if (this.requestOptions && this.requestOptions.headers) return Object.assign({}, $75edecd1a4092d7a$var$lowercaseKeys(this.requestOptions.headers), $75edecd1a4092d7a$var$lowercaseKeys(headers || {}));\n return $75edecd1a4092d7a$var$lowercaseKeys(headers || {});\n }\n _getExistingOrDefaultHeader(additionalHeaders, header, _default) {\n let clientHeader;\n if (this.requestOptions && this.requestOptions.headers) clientHeader = $75edecd1a4092d7a$var$lowercaseKeys(this.requestOptions.headers)[header];\n return additionalHeaders[header] || clientHeader || _default;\n }\n _getAgent(parsedUrl) {\n let agent;\n const proxyUrl = $75edecd1a4092d7a$var$pm.getProxyUrl(parsedUrl);\n const useProxy = proxyUrl && proxyUrl.hostname;\n if (this._keepAlive && useProxy) agent = this._proxyAgent;\n if (this._keepAlive && !useProxy) agent = this._agent;\n // if agent is already assigned use that agent.\n if (agent) return agent;\n const usingSsl = parsedUrl.protocol === \"https:\";\n let maxSockets = 100;\n if (this.requestOptions) maxSockets = this.requestOptions.maxSockets || $75edecd1a4092d7a$var$http.globalAgent.maxSockets;\n // This is `useProxy` again, but we need to check `proxyURl` directly for TypeScripts's flow analysis.\n if (proxyUrl && proxyUrl.hostname) {\n const agentOptions = {\n maxSockets: maxSockets,\n keepAlive: this._keepAlive,\n proxy: Object.assign(Object.assign({}, (proxyUrl.username || proxyUrl.password) && {\n proxyAuth: `${proxyUrl.username}:${proxyUrl.password}`\n }), {\n host: proxyUrl.hostname,\n port: proxyUrl.port\n })\n };\n let tunnelAgent;\n const overHttps = proxyUrl.protocol === \"https:\";\n if (usingSsl) tunnelAgent = overHttps ? $75edecd1a4092d7a$var$tunnel.httpsOverHttps : $75edecd1a4092d7a$var$tunnel.httpsOverHttp;\n else tunnelAgent = overHttps ? $75edecd1a4092d7a$var$tunnel.httpOverHttps : $75edecd1a4092d7a$var$tunnel.httpOverHttp;\n agent = tunnelAgent(agentOptions);\n this._proxyAgent = agent;\n }\n // if reusing agent across request and tunneling agent isn't assigned create a new agent\n if (this._keepAlive && !agent) {\n const options = {\n keepAlive: this._keepAlive,\n maxSockets: maxSockets\n };\n agent = usingSsl ? new $75edecd1a4092d7a$var$https.Agent(options) : new $75edecd1a4092d7a$var$http.Agent(options);\n this._agent = agent;\n }\n // if not using private agent and tunnel agent isn't setup then use global agent\n if (!agent) agent = usingSsl ? $75edecd1a4092d7a$var$https.globalAgent : $75edecd1a4092d7a$var$http.globalAgent;\n if (usingSsl && this._ignoreSslError) // we don't want to set NODE_TLS_REJECT_UNAUTHORIZED=0 since that will affect request for entire process\n // http.RequestOptions doesn't expose a way to modify RequestOptions.agent.options\n // we have to cast it to any and change it directly\n agent.options = Object.assign(agent.options || {}, {\n rejectUnauthorized: false\n });\n return agent;\n }\n _performExponentialBackoff(retryNumber) {\n return $75edecd1a4092d7a$var$__awaiter(this, void 0, void 0, function*() {\n retryNumber = Math.min($75edecd1a4092d7a$var$ExponentialBackoffCeiling, retryNumber);\n const ms = $75edecd1a4092d7a$var$ExponentialBackoffTimeSlice * Math.pow(2, retryNumber);\n return new Promise((resolve)=>setTimeout(()=>resolve(), ms));\n });\n }\n _processResponse(res, options) {\n return $75edecd1a4092d7a$var$__awaiter(this, void 0, void 0, function*() {\n return new Promise((resolve, reject)=>$75edecd1a4092d7a$var$__awaiter(this, void 0, void 0, function*() {\n const statusCode = res.message.statusCode || 0;\n const response = {\n statusCode: statusCode,\n result: null,\n headers: {}\n };\n // not found leads to null obj returned\n if (statusCode === $75edecd1a4092d7a$var$HttpCodes.NotFound) resolve(response);\n // get the result from the body\n function dateTimeDeserializer(key, value) {\n if (typeof value === \"string\") {\n const a = new Date(value);\n if (!isNaN(a.valueOf())) return a;\n }\n return value;\n }\n let obj;\n let contents;\n try {\n contents = yield res.readBody();\n if (contents && contents.length > 0) {\n if (options && options.deserializeDates) obj = JSON.parse(contents, dateTimeDeserializer);\n else obj = JSON.parse(contents);\n response.result = obj;\n }\n response.headers = res.message.headers;\n } catch (err) {\n // Invalid resource (contents not json); leaving result obj null\n }\n // note that 3xx redirects are handled by the http layer.\n if (statusCode > 299) {\n let msg;\n // if exception/error in body, attempt to get better error\n if (obj && obj.message) msg = obj.message;\n else if (contents && contents.length > 0) // it may be the case that the exception is in the body message as string\n msg = contents;\n else msg = `Failed request: (${statusCode})`;\n const err = new $75edecd1a4092d7a$var$HttpClientError(msg, statusCode);\n err.result = response.result;\n reject(err);\n } else resolve(response);\n }));\n });\n }\n}\nmodule.exports.HttpClient = $75edecd1a4092d7a$var$HttpClient;\nconst $75edecd1a4092d7a$var$lowercaseKeys = (obj)=>Object.keys(obj).reduce((c, k)=>(c[k.toLowerCase()] = obj[k], c), {});\n\n});\nparcelRegister(\"8gh3V\", function(module, exports) {\n\"use strict\";\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.checkBypass = module.exports.getProxyUrl = void 0;\nfunction $603d0d99277438f4$var$getProxyUrl(reqUrl) {\n const usingSsl = reqUrl.protocol === \"https:\";\n if ($603d0d99277438f4$var$checkBypass(reqUrl)) return undefined;\n const proxyVar = (()=>{\n if (usingSsl) return process.env[\"https_proxy\"] || process.env[\"HTTPS_PROXY\"];\n else return process.env[\"http_proxy\"] || process.env[\"HTTP_PROXY\"];\n })();\n if (proxyVar) return new URL(proxyVar);\n else return undefined;\n}\nmodule.exports.getProxyUrl = $603d0d99277438f4$var$getProxyUrl;\nfunction $603d0d99277438f4$var$checkBypass(reqUrl) {\n if (!reqUrl.hostname) return false;\n const reqHost = reqUrl.hostname;\n if ($603d0d99277438f4$var$isLoopbackAddress(reqHost)) return true;\n const noProxy = process.env[\"no_proxy\"] || process.env[\"NO_PROXY\"] || \"\";\n if (!noProxy) return false;\n // Determine the request port\n let reqPort;\n if (reqUrl.port) reqPort = Number(reqUrl.port);\n else if (reqUrl.protocol === \"http:\") reqPort = 80;\n else if (reqUrl.protocol === \"https:\") reqPort = 443;\n // Format the request hostname and hostname with port\n const upperReqHosts = [\n reqUrl.hostname.toUpperCase()\n ];\n if (typeof reqPort === \"number\") upperReqHosts.push(`${upperReqHosts[0]}:${reqPort}`);\n // Compare request host against noproxy\n for (const upperNoProxyItem of noProxy.split(\",\").map((x)=>x.trim().toUpperCase()).filter((x)=>x)){\n if (upperNoProxyItem === \"*\" || upperReqHosts.some((x)=>x === upperNoProxyItem || x.endsWith(`.${upperNoProxyItem}`) || upperNoProxyItem.startsWith(\".\") && x.endsWith(`${upperNoProxyItem}`))) return true;\n }\n return false;\n}\nmodule.exports.checkBypass = $603d0d99277438f4$var$checkBypass;\nfunction $603d0d99277438f4$var$isLoopbackAddress(host) {\n const hostLower = host.toLowerCase();\n return hostLower === \"localhost\" || hostLower.startsWith(\"127.\") || hostLower.startsWith(\"[::1]\") || hostLower.startsWith(\"[0:0:0:0:0:0:0:1]\");\n}\n\n});\n\nparcelRegister(\"7i1qo\", function(module, exports) {\n\nmodule.exports = (parcelRequire(\"fbmJm\"));\n\n});\nparcelRegister(\"fbmJm\", function(module, exports) {\n\n$parcel$export(module.exports, \"httpOverHttp\", () => $b0d983e8249a2cc9$export$25cbd437c61a3835, (v) => $b0d983e8249a2cc9$export$25cbd437c61a3835 = v);\n$parcel$export(module.exports, \"httpsOverHttp\", () => $b0d983e8249a2cc9$export$c06e3df7111bae43, (v) => $b0d983e8249a2cc9$export$c06e3df7111bae43 = v);\n$parcel$export(module.exports, \"httpOverHttps\", () => $b0d983e8249a2cc9$export$5d50e36ef656139f, (v) => $b0d983e8249a2cc9$export$5d50e36ef656139f = v);\n$parcel$export(module.exports, \"httpsOverHttps\", () => $b0d983e8249a2cc9$export$212d6605025321cc, (v) => $b0d983e8249a2cc9$export$212d6605025321cc = v);\n$parcel$export(module.exports, \"debug\", () => $b0d983e8249a2cc9$export$1c9f709888824e05, (v) => $b0d983e8249a2cc9$export$1c9f709888824e05 = v);\nvar $b0d983e8249a2cc9$export$25cbd437c61a3835;\nvar $b0d983e8249a2cc9$export$c06e3df7111bae43;\nvar $b0d983e8249a2cc9$export$5d50e36ef656139f;\nvar $b0d983e8249a2cc9$export$212d6605025321cc;\nvar $b0d983e8249a2cc9$export$1c9f709888824e05;\n\"use strict\";\n\n\n\n\n\n\n\n$b0d983e8249a2cc9$export$25cbd437c61a3835 = $b0d983e8249a2cc9$var$httpOverHttp;\n$b0d983e8249a2cc9$export$c06e3df7111bae43 = $b0d983e8249a2cc9$var$httpsOverHttp;\n$b0d983e8249a2cc9$export$5d50e36ef656139f = $b0d983e8249a2cc9$var$httpOverHttps;\n$b0d983e8249a2cc9$export$212d6605025321cc = $b0d983e8249a2cc9$var$httpsOverHttps;\nfunction $b0d983e8249a2cc9$var$httpOverHttp(options) {\n var agent = new $b0d983e8249a2cc9$var$TunnelingAgent(options);\n agent.request = $d7DIX$http.request;\n return agent;\n}\nfunction $b0d983e8249a2cc9$var$httpsOverHttp(options) {\n var agent = new $b0d983e8249a2cc9$var$TunnelingAgent(options);\n agent.request = $d7DIX$http.request;\n agent.createSocket = $b0d983e8249a2cc9$var$createSecureSocket;\n agent.defaultPort = 443;\n return agent;\n}\nfunction $b0d983e8249a2cc9$var$httpOverHttps(options) {\n var agent = new $b0d983e8249a2cc9$var$TunnelingAgent(options);\n agent.request = $d7DIX$https.request;\n return agent;\n}\nfunction $b0d983e8249a2cc9$var$httpsOverHttps(options) {\n var agent = new $b0d983e8249a2cc9$var$TunnelingAgent(options);\n agent.request = $d7DIX$https.request;\n agent.createSocket = $b0d983e8249a2cc9$var$createSecureSocket;\n agent.defaultPort = 443;\n return agent;\n}\nfunction $b0d983e8249a2cc9$var$TunnelingAgent(options) {\n var self = this;\n self.options = options || {};\n self.proxyOptions = self.options.proxy || {};\n self.maxSockets = self.options.maxSockets || $d7DIX$http.Agent.defaultMaxSockets;\n self.requests = [];\n self.sockets = [];\n self.on(\"free\", function onFree(socket, host, port, localAddress) {\n var options = $b0d983e8249a2cc9$var$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}\n$d7DIX$util.inherits($b0d983e8249a2cc9$var$TunnelingAgent, $d7DIX$events.EventEmitter);\n$b0d983e8249a2cc9$var$TunnelingAgent.prototype.addRequest = function addRequest(req, host, port, localAddress) {\n var self = this;\n var options = $b0d983e8249a2cc9$var$mergeOptions({\n request: req\n }, self.options, $b0d983e8249a2cc9$var$toOptions(host, port, localAddress));\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 // 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 function onFree() {\n self.emit(\"free\", socket, options);\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$b0d983e8249a2cc9$var$TunnelingAgent.prototype.createSocket = function createSocket(options, cb) {\n var self = this;\n var placeholder = {};\n self.sockets.push(placeholder);\n var connectOptions = $b0d983e8249a2cc9$var$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) connectOptions.localAddress = options.localAddress;\n if (connectOptions.proxyAuth) {\n connectOptions.headers = connectOptions.headers || {};\n connectOptions.headers[\"Proxy-Authorization\"] = \"Basic \" + new Buffer(connectOptions.proxyAuth).toString(\"base64\");\n }\n $b0d983e8249a2cc9$var$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 function onResponse(res) {\n // Very hacky. This is necessary to avoid http-parser leaks.\n res.upgrade = true;\n }\n function onUpgrade(res, socket, head) {\n // Hacky.\n process.nextTick(function() {\n onConnect(res, socket, head);\n });\n }\n function onConnect(res, socket, head) {\n connectReq.removeAllListeners();\n socket.removeAllListeners();\n if (res.statusCode !== 200) {\n $b0d983e8249a2cc9$var$debug(\"tunneling socket could not be established, statusCode=%d\", res.statusCode);\n socket.destroy();\n var error = new Error(\"tunneling socket could not be established, 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 $b0d983e8249a2cc9$var$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 $b0d983e8249a2cc9$var$debug(\"tunneling connection has established\");\n self.sockets[self.sockets.indexOf(placeholder)] = socket;\n return cb(socket);\n }\n function onError(cause) {\n connectReq.removeAllListeners();\n $b0d983e8249a2cc9$var$debug(\"tunneling socket could not be established, cause=%s\\n\", cause.message, cause.stack);\n var error = new Error(\"tunneling socket could not be established, cause=\" + cause.message);\n error.code = \"ECONNRESET\";\n options.request.emit(\"error\", error);\n self.removeSocket(placeholder);\n }\n};\n$b0d983e8249a2cc9$var$TunnelingAgent.prototype.removeSocket = function removeSocket(socket) {\n var pos = this.sockets.indexOf(socket);\n if (pos === -1) return;\n this.sockets.splice(pos, 1);\n var pending = this.requests.shift();\n if (pending) // 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};\nfunction $b0d983e8249a2cc9$var$createSecureSocket(options, cb) {\n var self = this;\n $b0d983e8249a2cc9$var$TunnelingAgent.prototype.createSocket.call(self, options, function(socket) {\n var hostHeader = options.request.getHeader(\"host\");\n var tlsOptions = $b0d983e8249a2cc9$var$mergeOptions({}, self.options, {\n socket: socket,\n servername: hostHeader ? hostHeader.replace(/:.*$/, \"\") : options.host\n });\n // 0 is dummy port for v0.6\n var secureSocket = $d7DIX$tls.connect(0, tlsOptions);\n self.sockets[self.sockets.indexOf(socket)] = secureSocket;\n cb(secureSocket);\n });\n}\nfunction $b0d983e8249a2cc9$var$toOptions(host, port, localAddress) {\n if (typeof host === \"string\") return {\n host: host,\n port: port,\n localAddress: localAddress\n };\n return host; // for v0.11 or later\n}\nfunction $b0d983e8249a2cc9$var$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) target[k] = overrides[k];\n }\n }\n }\n return target;\n}\nvar $b0d983e8249a2cc9$var$debug;\nif (process.env.NODE_DEBUG && /\\btunnel\\b/.test(process.env.NODE_DEBUG)) $b0d983e8249a2cc9$var$debug = function() {\n var args = Array.prototype.slice.call(arguments);\n if (typeof args[0] === \"string\") args[0] = \"TUNNEL: \" + args[0];\n else args.unshift(\"TUNNEL:\");\n console.error.apply(console, args);\n};\nelse $b0d983e8249a2cc9$var$debug = function() {};\n$b0d983e8249a2cc9$export$1c9f709888824e05 = $b0d983e8249a2cc9$var$debug; // for test\n\n});\n\n\n\nparcelRegister(\"3T6Pq\", function(module, exports) {\n\"use strict\";\nvar $2d4bce26bfd1284d$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.PersonalAccessTokenCredentialHandler = module.exports.BearerCredentialHandler = module.exports.BasicCredentialHandler = void 0;\nclass $2d4bce26bfd1284d$var$BasicCredentialHandler {\n constructor(username, password){\n this.username = username;\n this.password = password;\n }\n prepareRequest(options) {\n if (!options.headers) throw Error(\"The request has no headers\");\n options.headers[\"Authorization\"] = `Basic ${Buffer.from(`${this.username}:${this.password}`).toString(\"base64\")}`;\n }\n // This handler cannot handle 401\n canHandleAuthentication() {\n return false;\n }\n handleAuthentication() {\n return $2d4bce26bfd1284d$var$__awaiter(this, void 0, void 0, function*() {\n throw new Error(\"not implemented\");\n });\n }\n}\nmodule.exports.BasicCredentialHandler = $2d4bce26bfd1284d$var$BasicCredentialHandler;\nclass $2d4bce26bfd1284d$var$BearerCredentialHandler {\n constructor(token){\n this.token = token;\n }\n // currently implements pre-authorization\n // TODO: support preAuth = false where it hooks on 401\n prepareRequest(options) {\n if (!options.headers) throw Error(\"The request has no headers\");\n options.headers[\"Authorization\"] = `Bearer ${this.token}`;\n }\n // This handler cannot handle 401\n canHandleAuthentication() {\n return false;\n }\n handleAuthentication() {\n return $2d4bce26bfd1284d$var$__awaiter(this, void 0, void 0, function*() {\n throw new Error(\"not implemented\");\n });\n }\n}\nmodule.exports.BearerCredentialHandler = $2d4bce26bfd1284d$var$BearerCredentialHandler;\nclass $2d4bce26bfd1284d$var$PersonalAccessTokenCredentialHandler {\n constructor(token){\n this.token = token;\n }\n // currently implements pre-authorization\n // TODO: support preAuth = false where it hooks on 401\n prepareRequest(options) {\n if (!options.headers) throw Error(\"The request has no headers\");\n options.headers[\"Authorization\"] = `Basic ${Buffer.from(`PAT:${this.token}`).toString(\"base64\")}`;\n }\n // This handler cannot handle 401\n canHandleAuthentication() {\n return false;\n }\n handleAuthentication() {\n return $2d4bce26bfd1284d$var$__awaiter(this, void 0, void 0, function*() {\n throw new Error(\"not implemented\");\n });\n }\n}\nmodule.exports.PersonalAccessTokenCredentialHandler = $2d4bce26bfd1284d$var$PersonalAccessTokenCredentialHandler;\n\n});\n\n\nparcelRegister(\"dTpO2\", function(module, exports) {\n\"use strict\";\nvar $a1d46df778449c59$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.summary = module.exports.markdownSummary = module.exports.SUMMARY_DOCS_URL = module.exports.SUMMARY_ENV_VAR = void 0;\n\n\nconst { access: $a1d46df778449c59$var$access, appendFile: $a1d46df778449c59$var$appendFile, writeFile: $a1d46df778449c59$var$writeFile } = $d7DIX$fs.promises;\nmodule.exports.SUMMARY_ENV_VAR = \"GITHUB_STEP_SUMMARY\";\nmodule.exports.SUMMARY_DOCS_URL = \"https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions#adding-a-job-summary\";\nclass $a1d46df778449c59$var$Summary {\n constructor(){\n this._buffer = \"\";\n }\n /**\n * Finds the summary file path from the environment, rejects if env var is not found or file does not exist\n * Also checks r/w permissions.\n *\n * @returns step summary file path\n */ filePath() {\n return $a1d46df778449c59$var$__awaiter(this, void 0, void 0, function*() {\n if (this._filePath) return this._filePath;\n const pathFromEnv = process.env[module.exports.SUMMARY_ENV_VAR];\n if (!pathFromEnv) throw new Error(`Unable to find environment variable for $${module.exports.SUMMARY_ENV_VAR}. Check if your runtime environment supports job summaries.`);\n try {\n yield $a1d46df778449c59$var$access(pathFromEnv, $d7DIX$fs.constants.R_OK | $d7DIX$fs.constants.W_OK);\n } catch (_a) {\n throw new Error(`Unable to access summary file: '${pathFromEnv}'. Check if the file has correct read/write permissions.`);\n }\n this._filePath = pathFromEnv;\n return this._filePath;\n });\n }\n /**\n * Wraps content in an HTML tag, adding any HTML attributes\n *\n * @param {string} tag HTML tag to wrap\n * @param {string | null} content content within the tag\n * @param {[attribute: string]: string} attrs key-value list of HTML attributes to add\n *\n * @returns {string} content wrapped in HTML element\n */ wrap(tag, content, attrs = {}) {\n const htmlAttrs = Object.entries(attrs).map(([key, value])=>` ${key}=\"${value}\"`).join(\"\");\n if (!content) return `<${tag}${htmlAttrs}>`;\n return `<${tag}${htmlAttrs}>${content}`;\n }\n /**\n * Writes text in the buffer to the summary buffer file and empties buffer. Will append by default.\n *\n * @param {SummaryWriteOptions} [options] (optional) options for write operation\n *\n * @returns {Promise} summary instance\n */ write(options) {\n return $a1d46df778449c59$var$__awaiter(this, void 0, void 0, function*() {\n const overwrite = !!(options === null || options === void 0 ? void 0 : options.overwrite);\n const filePath = yield this.filePath();\n const writeFunc = overwrite ? $a1d46df778449c59$var$writeFile : $a1d46df778449c59$var$appendFile;\n yield writeFunc(filePath, this._buffer, {\n encoding: \"utf8\"\n });\n return this.emptyBuffer();\n });\n }\n /**\n * Clears the summary buffer and wipes the summary file\n *\n * @returns {Summary} summary instance\n */ clear() {\n return $a1d46df778449c59$var$__awaiter(this, void 0, void 0, function*() {\n return this.emptyBuffer().write({\n overwrite: true\n });\n });\n }\n /**\n * Returns the current summary buffer as a string\n *\n * @returns {string} string of summary buffer\n */ stringify() {\n return this._buffer;\n }\n /**\n * If the summary buffer is empty\n *\n * @returns {boolen} true if the buffer is empty\n */ isEmptyBuffer() {\n return this._buffer.length === 0;\n }\n /**\n * Resets the summary buffer without writing to summary file\n *\n * @returns {Summary} summary instance\n */ emptyBuffer() {\n this._buffer = \"\";\n return this;\n }\n /**\n * Adds raw text to the summary buffer\n *\n * @param {string} text content to add\n * @param {boolean} [addEOL=false] (optional) append an EOL to the raw text (default: false)\n *\n * @returns {Summary} summary instance\n */ addRaw(text, addEOL = false) {\n this._buffer += text;\n return addEOL ? this.addEOL() : this;\n }\n /**\n * Adds the operating system-specific end-of-line marker to the buffer\n *\n * @returns {Summary} summary instance\n */ addEOL() {\n return this.addRaw($d7DIX$os.EOL);\n }\n /**\n * Adds an HTML codeblock to the summary buffer\n *\n * @param {string} code content to render within fenced code block\n * @param {string} lang (optional) language to syntax highlight code\n *\n * @returns {Summary} summary instance\n */ addCodeBlock(code, lang) {\n const attrs = Object.assign({}, lang && {\n lang: lang\n });\n const element = this.wrap(\"pre\", this.wrap(\"code\", code), attrs);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML list to the summary buffer\n *\n * @param {string[]} items list of items to render\n * @param {boolean} [ordered=false] (optional) if the rendered list should be ordered or not (default: false)\n *\n * @returns {Summary} summary instance\n */ addList(items, ordered = false) {\n const tag = ordered ? \"ol\" : \"ul\";\n const listItems = items.map((item)=>this.wrap(\"li\", item)).join(\"\");\n const element = this.wrap(tag, listItems);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML table to the summary buffer\n *\n * @param {SummaryTableCell[]} rows table rows\n *\n * @returns {Summary} summary instance\n */ addTable(rows) {\n const tableBody = rows.map((row)=>{\n const cells = row.map((cell)=>{\n if (typeof cell === \"string\") return this.wrap(\"td\", cell);\n const { header: header, data: data, colspan: colspan, rowspan: rowspan } = cell;\n const tag = header ? \"th\" : \"td\";\n const attrs = Object.assign(Object.assign({}, colspan && {\n colspan: colspan\n }), rowspan && {\n rowspan: rowspan\n });\n return this.wrap(tag, data, attrs);\n }).join(\"\");\n return this.wrap(\"tr\", cells);\n }).join(\"\");\n const element = this.wrap(\"table\", tableBody);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds a collapsable HTML details element to the summary buffer\n *\n * @param {string} label text for the closed state\n * @param {string} content collapsable content\n *\n * @returns {Summary} summary instance\n */ addDetails(label, content) {\n const element = this.wrap(\"details\", this.wrap(\"summary\", label) + content);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML image tag to the summary buffer\n *\n * @param {string} src path to the image you to embed\n * @param {string} alt text description of the image\n * @param {SummaryImageOptions} options (optional) addition image attributes\n *\n * @returns {Summary} summary instance\n */ addImage(src, alt, options) {\n const { width: width, height: height } = options || {};\n const attrs = Object.assign(Object.assign({}, width && {\n width: width\n }), height && {\n height: height\n });\n const element = this.wrap(\"img\", null, Object.assign({\n src: src,\n alt: alt\n }, attrs));\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML section heading element\n *\n * @param {string} text heading text\n * @param {number | string} [level=1] (optional) the heading level, default: 1\n *\n * @returns {Summary} summary instance\n */ addHeading(text, level) {\n const tag = `h${level}`;\n const allowedTag = [\n \"h1\",\n \"h2\",\n \"h3\",\n \"h4\",\n \"h5\",\n \"h6\"\n ].includes(tag) ? tag : \"h1\";\n const element = this.wrap(allowedTag, text);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML thematic break (
) to the summary buffer\n *\n * @returns {Summary} summary instance\n */ addSeparator() {\n const element = this.wrap(\"hr\", null);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML line break (
) to the summary buffer\n *\n * @returns {Summary} summary instance\n */ addBreak() {\n const element = this.wrap(\"br\", null);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML blockquote to the summary buffer\n *\n * @param {string} text quote text\n * @param {string} cite (optional) citation url\n *\n * @returns {Summary} summary instance\n */ addQuote(text, cite) {\n const attrs = Object.assign({}, cite && {\n cite: cite\n });\n const element = this.wrap(\"blockquote\", text, attrs);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML anchor tag to the summary buffer\n *\n * @param {string} text link text/content\n * @param {string} href hyperlink\n *\n * @returns {Summary} summary instance\n */ addLink(text, href) {\n const element = this.wrap(\"a\", text, {\n href: href\n });\n return this.addRaw(element).addEOL();\n }\n}\nconst $a1d46df778449c59$var$_summary = new $a1d46df778449c59$var$Summary();\n/**\n * @deprecated use `core.summary`\n */ module.exports.markdownSummary = $a1d46df778449c59$var$_summary;\nmodule.exports.summary = $a1d46df778449c59$var$_summary;\n\n});\n\nparcelRegister(\"azKnO\", function(module, exports) {\n\"use strict\";\nvar $7b3126f8d7bd7b01$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $7b3126f8d7bd7b01$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $7b3126f8d7bd7b01$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $7b3126f8d7bd7b01$var$__createBinding(result, mod, k);\n }\n $7b3126f8d7bd7b01$var$__setModuleDefault(result, mod);\n return result;\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.toPlatformPath = module.exports.toWin32Path = module.exports.toPosixPath = void 0;\n\nconst $7b3126f8d7bd7b01$var$path = $7b3126f8d7bd7b01$var$__importStar($d7DIX$path);\n/**\n * toPosixPath converts the given path to the posix form. On Windows, \\\\ will be\n * replaced with /.\n *\n * @param pth. Path to transform.\n * @return string Posix path.\n */ function $7b3126f8d7bd7b01$var$toPosixPath(pth) {\n return pth.replace(/[\\\\]/g, \"/\");\n}\nmodule.exports.toPosixPath = $7b3126f8d7bd7b01$var$toPosixPath;\n/**\n * toWin32Path converts the given path to the win32 form. On Linux, / will be\n * replaced with \\\\.\n *\n * @param pth. Path to transform.\n * @return string Win32 path.\n */ function $7b3126f8d7bd7b01$var$toWin32Path(pth) {\n return pth.replace(/[/]/g, \"\\\\\");\n}\nmodule.exports.toWin32Path = $7b3126f8d7bd7b01$var$toWin32Path;\n/**\n * toPlatformPath converts the given path to a platform-specific path. It does\n * this by replacing instances of / and \\ with the platform-specific path\n * separator.\n *\n * @param pth The path to platformize.\n * @return string The platform-specific path.\n */ function $7b3126f8d7bd7b01$var$toPlatformPath(pth) {\n return pth.replace(/[/\\\\]/g, $7b3126f8d7bd7b01$var$path.sep);\n}\nmodule.exports.toPlatformPath = $7b3126f8d7bd7b01$var$toPlatformPath;\n\n});\n\n\n\nparcelRegister(\"eCDnw\", function(module, exports) {\n\nvar $aa532906b08b4bb5$var$$parcel$__dirname = $d7DIX$path.resolve(__dirname, \"../../node_modules/numerous/lib\");\n(function() {\n \"use strict\";\n var root = this;\n //=========//\n // GLOBALS //\n //=========//\n var locales = {};\n //==========//\n // EXPOSING //\n //==========//\n var moduleDefinition = {\n create: factory,\n addLocale: addLocale,\n pluralize: pluralize\n };\n if (\"undefined\" !== typeof module.exports) module.exports = moduleDefinition;\n else root.numerous = moduleDefinition;\n //==================//\n // PUBLIC FUNCTIONS //\n //==================//\n /**\n * Creates new instance of numerous.\n *\n * @param {string} locale\n * @returns {object}\n */ function factory(locale) {\n checkLocale(locale);\n return {\n pluralize: function(value, variants) {\n return pluralize(locale, value, variants);\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 */ function addLocale(locale, callable) {\n locales[locale] = callable;\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 */ function pluralize(locale, value, variants) {\n checkLocale(locale);\n if (\"object\" !== typeof variants) throw new Error(\"List of variants should be specified as an object\");\n var key = locales[locale](value);\n return \"undefined\" !== typeof variants[key] ? variants[key] : null;\n }\n //===================//\n // PRIVATE FUNCTIONS //\n //===================//\n /**\n * Returns true if specified locale is loaded, false otherwise.\n *\n * @param {string} locale\n *\n * @returns {boolean}\n */ function hasLocale(locale) {\n return \"undefined\" !== typeof locales[locale];\n }\n /**\n * Checks if locale is loaded. If not, tries to load it.\n *\n * @param {string} locale\n */ function checkLocale(locale) {\n if (!hasLocale(locale)) requireLocale(locale);\n }\n /**\n * Tries to load the specified locale.\n *\n * @param {string} locale\n */ function requireLocale(locale) {\n try {\n require($aa532906b08b4bb5$var$$parcel$__dirname + \"/../locales/\" + locale + \".js\");\n } catch (error) {\n throw Error(\"Failed to load the following locale: \" + locale);\n }\n }\n}).call(module.exports);\n\n});\n\nparcelRegister(\"gMm9F\", function(module, exports) {\n//==============//\n// DEPENDENCIES //\n//==============//\n\nvar $iWDmx = parcelRequire(\"iWDmx\");\n\nvar $9xs9T = parcelRequire(\"9xs9T\");\n//================//\n// MODULE GLOBALS //\n//================//\n/**\n * Pre-calculating millisecond values for each time unit.\n */ const $c372508a6b96a969$var$timeUnits = [\n [\n \"years\",\n 29030400000\n ],\n [\n \"months\",\n 2419200000\n ],\n [\n \"weeks\",\n 604800000\n ],\n [\n \"days\",\n 86400000\n ],\n [\n \"hours\",\n 3600000\n ],\n [\n \"minutes\",\n 60000\n ],\n [\n \"seconds\",\n 1000\n ]\n];\nconst $c372508a6b96a969$var$defaultConfig = {\n locale: \"en\",\n span: 2,\n delimiter: \", \",\n unitType: \"long\",\n unitTypeLookupOrder: [\n \"long\",\n \"short\",\n \"narrow\"\n ],\n autoloadLocales: true\n};\n/**\n * Contains data of loaded locales.\n * @type {Object}\n */ const $c372508a6b96a969$var$locales = {};\n//=========//\n// EXPORTS //\n//=========//\nmodule.exports = {\n create: $c372508a6b96a969$var$timeDeltaFactory,\n addLocale: $c372508a6b96a969$var$addLocale,\n defaultConfig: $c372508a6b96a969$var$defaultConfig\n};\n//===========//\n// FUNCTIONS //\n//===========//\n/**\n * Adds pluralization data for the specified locale.\n * Should be called in browser.\n *\n * @param {Object|Object[]} localeData\n */ function $c372508a6b96a969$var$addLocale(localeData) {\n // Normalizing input\n if (!Array.isArray(localeData)) localeData = [\n localeData\n ];\n for (const item of localeData){\n const { id: id, data: data } = item;\n $c372508a6b96a969$var$locales[id] = data;\n }\n}\n/**\n * Creates new instance.\n *\n * @param {object?} config\n *\n * @returns {object}\n */ function $c372508a6b96a969$var$timeDeltaFactory(config) {\n // Initializing config by extending the default one\n config = Object.assign({}, $c372508a6b96a969$var$defaultConfig, config || {});\n return {\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 */ format: function(firstDate, secondDate, options) {\n // Allowing to override config with each individual call\n options = Object.assign({}, config, options || {});\n return $c372508a6b96a969$var$format(firstDate, secondDate, options);\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 */ function $c372508a6b96a969$var$format(firstDate, secondDate, config) {\n $c372508a6b96a969$var$ensureLocaleLoadedOrThrow(config.locale, {\n autoload: config.autoloadLocales\n });\n // Handling input arguments\n // -----\n if (!firstDate) throw new Error(\"Missing first date argument\");\n if (!secondDate) throw new Error(\"Missing second date argument\");\n // Calculating\n // -----\n const difference = $c372508a6b96a969$var$getDifference(firstDate, secondDate);\n const parts = [];\n for (const unit of difference){\n const [name, value] = unit;\n if (value > 0) parts.push($c372508a6b96a969$var$pluralize(name, value, config));\n if (parts.length >= config.span) break;\n }\n // Returning the string value\n return parts.join(config.delimiter);\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 */ function $c372508a6b96a969$var$ensureLocaleLoadedOrThrow(locale, options) {\n const { autoload: autoload } = options;\n if ($c372508a6b96a969$var$hasLocale(locale)) return;\n if ($9xs9T && autoload) $c372508a6b96a969$var$requireLocale(locale);\n else throw new Error(`Missing locale: ${locale}, you must load it manually before using it`);\n}\n/**\n * Returns true if specified locale is loaded, false otherwise.\n *\n * @param {string} localeId\n *\n * @returns {boolean}\n */ function $c372508a6b96a969$var$hasLocale(localeId) {\n return Boolean($c372508a6b96a969$var$locales[localeId]);\n}\n/**\n * Tries to load the specified locale.\n *\n * @param {string} localeId\n */ function $c372508a6b96a969$var$requireLocale(localeId) {\n try {\n $c372508a6b96a969$var$addLocale(require(`../locales/${localeId}.js`));\n } catch (error) {\n throw Error(`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 * Returns difference as separate time units.\n *\n * @param {Date} firstDate\n * @param {Date} secondDate\n *\n * @returns {Array}\n */ function $c372508a6b96a969$var$getDifference(firstDate, secondDate) {\n let difference = secondDate - firstDate;\n const results = [];\n $c372508a6b96a969$var$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([\n name,\n value\n ]);\n if (difference <= 0) // Breaking the loop.\n return true;\n });\n return results;\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 */ function $c372508a6b96a969$var$pluralize(unit, value, config) {\n const unitTypeData = $c372508a6b96a969$var$getLocaleDataForUnitType(config);\n const unitString = $iWDmx.pluralize(config.locale, value, unitTypeData[unit]);\n return unitString.replace(\"{0}\", value);\n}\n/**\n * Returns locale data for preferred unit type.\n *\n * @param {object} config\n *\n * @returns {Array}\n */ function $c372508a6b96a969$var$getLocaleDataForUnitType(config) {\n const localeData = $c372508a6b96a969$var$locales[config.locale];\n // Making a copy of array from config.\n let lookupOrder = config.unitTypeLookupOrder.slice();\n // Adding interested type to the top.\n lookupOrder.unshift(config.unitType);\n // Making sure only unique items are present.\n lookupOrder = $c372508a6b96a969$var$arrayUnique(lookupOrder);\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 if (null === unitTypeData) throw new Error(\"Can not find any unit type data for locale: \" + config.locale);\n return unitTypeData;\n}\n/**\n * Returns array with only unique items.\n *\n * @param {Array} array\n *\n * @returns {Array}\n */ function $c372508a6b96a969$var$arrayUnique(array) {\n return Array.from(new Set(array));\n}\n\n});\nparcelRegister(\"iWDmx\", function(module, exports) {\n\nmodule.exports = (parcelRequire(\"eCDnw\"));\n\n});\n\nparcelRegister(\"9xs9T\", function(module, exports) {\n// Coding standard for this project defined @ https://github.com/MatthewSH/standards/blob/master/JavaScript.md\n\"use strict\";\nexports = module.exports = !!(typeof process !== \"undefined\" && process.versions && process.versions.node);\n\n});\n\n\nparcelRegister(\"bGwAu\", function(module, exports) {\nmodule.exports = $881ce52b35d88d20$var$isexe;\n$881ce52b35d88d20$var$isexe.sync = $881ce52b35d88d20$var$sync;\n\nfunction $881ce52b35d88d20$var$checkPathExt(path, options) {\n var pathext = options.pathExt !== undefined ? options.pathExt : process.env.PATHEXT;\n if (!pathext) return true;\n pathext = pathext.split(\";\");\n if (pathext.indexOf(\"\") !== -1) return true;\n for(var i = 0; i < pathext.length; i++){\n var p = pathext[i].toLowerCase();\n if (p && path.substr(-p.length).toLowerCase() === p) return true;\n }\n return false;\n}\nfunction $881ce52b35d88d20$var$checkStat(stat, path, options) {\n if (!stat.isSymbolicLink() && !stat.isFile()) return false;\n return $881ce52b35d88d20$var$checkPathExt(path, options);\n}\nfunction $881ce52b35d88d20$var$isexe(path, options, cb) {\n $d7DIX$fs.stat(path, function(er, stat) {\n cb(er, er ? false : $881ce52b35d88d20$var$checkStat(stat, path, options));\n });\n}\nfunction $881ce52b35d88d20$var$sync(path, options) {\n return $881ce52b35d88d20$var$checkStat($d7DIX$fs.statSync(path), path, options);\n}\n\n});\n\nparcelRegister(\"d3qS7\", function(module, exports) {\nmodule.exports = $9810665efbefe038$var$isexe;\n$9810665efbefe038$var$isexe.sync = $9810665efbefe038$var$sync;\n\nfunction $9810665efbefe038$var$isexe(path, options, cb) {\n $d7DIX$fs.stat(path, function(er, stat) {\n cb(er, er ? false : $9810665efbefe038$var$checkStat(stat, options));\n });\n}\nfunction $9810665efbefe038$var$sync(path, options) {\n return $9810665efbefe038$var$checkStat($d7DIX$fs.statSync(path), options);\n}\nfunction $9810665efbefe038$var$checkStat(stat, options) {\n return stat.isFile() && $9810665efbefe038$var$checkMode(stat, options);\n}\nfunction $9810665efbefe038$var$checkMode(stat, options) {\n var mod = stat.mode;\n var uid = stat.uid;\n var gid = stat.gid;\n var myUid = options.uid !== undefined ? options.uid : process.getuid && process.getuid();\n var myGid = options.gid !== undefined ? options.gid : process.getgid && process.getgid();\n var u = parseInt(\"100\", 8);\n var g = parseInt(\"010\", 8);\n var o = parseInt(\"001\", 8);\n var ug = u | g;\n var ret = mod & o || mod & g && gid === myGid || mod & u && uid === myUid || mod & ug && myUid === 0;\n return ret;\n}\n\n});\n\nparcelRegister(\"e1Rfe\", function(module, exports) {\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];\nif (process.platform !== \"win32\") module.exports.push(\"SIGVTALRM\", \"SIGXCPU\", \"SIGXFSZ\", \"SIGUSR2\", \"SIGTRAP\", \"SIGSYS\", \"SIGQUIT\", \"SIGIOT\");\nif (process.platform === \"linux\") module.exports.push(\"SIGIO\", \"SIGPOLL\", \"SIGPWR\", \"SIGSTKFLT\", \"SIGUNUSED\");\n\n});\n\nparcelRegister(\"bSUdl\", function(module, exports) {\n// just pre-load all the stuff that index.js lazily exports\n\nvar $9J5od = parcelRequire(\"9J5od\");\n\nvar $3qgxS = parcelRequire(\"3qgxS\");\n\nvar $aMLnW = parcelRequire(\"aMLnW\");\n\nvar $fx8Ft = parcelRequire(\"fx8Ft\");\n\nvar $UI3XL = parcelRequire(\"UI3XL\");\n\nvar $l655J = parcelRequire(\"l655J\");\n\nvar $jzJq8 = parcelRequire(\"jzJq8\");\n\nvar $b1nH1 = parcelRequire(\"b1nH1\");\n\nvar $inG4j = parcelRequire(\"inG4j\");\n\nvar $2aJGP = parcelRequire(\"2aJGP\");\n\nvar $h6Ixq = parcelRequire(\"h6Ixq\");\n\nvar $90ROK = parcelRequire(\"90ROK\");\n\nvar $8m4O1 = parcelRequire(\"8m4O1\");\n\nvar $3uysP = parcelRequire(\"3uysP\");\n\nvar $hYBTv = parcelRequire(\"hYBTv\");\n\nvar $ftcZo = parcelRequire(\"ftcZo\");\n\nvar $1CIrW = parcelRequire(\"1CIrW\");\n\nvar $exBHN = parcelRequire(\"exBHN\");\n\nvar $lm1lq = parcelRequire(\"lm1lq\");\n\nvar $cPjhN = parcelRequire(\"cPjhN\");\n\nvar $avz3V = parcelRequire(\"avz3V\");\n\nvar $fXQFJ = parcelRequire(\"fXQFJ\");\n\nvar $bu0Ra = parcelRequire(\"bu0Ra\");\n\nvar $9xdhv = parcelRequire(\"9xdhv\");\n\nvar $8aNoG = parcelRequire(\"8aNoG\");\n\nvar $8gipG = parcelRequire(\"8gipG\");\n\nvar $l8hao = parcelRequire(\"l8hao\");\n\nvar $dSz9p = parcelRequire(\"dSz9p\");\n\nvar $4FTez = parcelRequire(\"4FTez\");\n\nvar $2bU8Y = parcelRequire(\"2bU8Y\");\n\nvar $eRnrA = parcelRequire(\"eRnrA\");\n\nvar $aAvhf = parcelRequire(\"aAvhf\");\n\nvar $iWAcu = parcelRequire(\"iWAcu\");\n\nvar $32TwK = parcelRequire(\"32TwK\");\n\nvar $194Ox = parcelRequire(\"194Ox\");\n\nvar $a8VZj = parcelRequire(\"a8VZj\");\n\nvar $2yv5J = parcelRequire(\"2yv5J\");\n\nvar $46KXA = parcelRequire(\"46KXA\");\n\nvar $e3Thp = parcelRequire(\"e3Thp\");\n\nvar $8g51l = parcelRequire(\"8g51l\");\n\nvar $96YVB = parcelRequire(\"96YVB\");\nmodule.exports = {\n parse: $UI3XL,\n valid: $l655J,\n clean: $jzJq8,\n inc: $b1nH1,\n diff: $inG4j,\n major: $2aJGP,\n minor: $h6Ixq,\n patch: $90ROK,\n prerelease: $8m4O1,\n compare: $3uysP,\n rcompare: $hYBTv,\n compareLoose: $ftcZo,\n compareBuild: $1CIrW,\n sort: $exBHN,\n rsort: $lm1lq,\n gt: $cPjhN,\n lt: $avz3V,\n eq: $fXQFJ,\n neq: $bu0Ra,\n gte: $9xdhv,\n lte: $8aNoG,\n cmp: $8gipG,\n coerce: $l8hao,\n Comparator: $dSz9p,\n Range: $4FTez,\n satisfies: $2bU8Y,\n toComparators: $eRnrA,\n maxSatisfying: $aAvhf,\n minSatisfying: $iWAcu,\n minVersion: $32TwK,\n validRange: $194Ox,\n outside: $a8VZj,\n gtr: $2yv5J,\n ltr: $46KXA,\n intersects: $e3Thp,\n simplifyRange: $8g51l,\n subset: $96YVB,\n SemVer: $aMLnW,\n re: $9J5od.re,\n src: $9J5od.src,\n tokens: $9J5od.t,\n SEMVER_SPEC_VERSION: $3qgxS.SEMVER_SPEC_VERSION,\n RELEASE_TYPES: $3qgxS.RELEASE_TYPES,\n compareIdentifiers: $fx8Ft.compareIdentifiers,\n rcompareIdentifiers: $fx8Ft.rcompareIdentifiers\n};\n\n});\nparcelRegister(\"9J5od\", function(module, exports) {\n\nvar $3qgxS = parcelRequire(\"3qgxS\");\nvar $714c7f42b7f0e43a$require$MAX_SAFE_COMPONENT_LENGTH = $3qgxS.MAX_SAFE_COMPONENT_LENGTH;\nvar $714c7f42b7f0e43a$require$MAX_SAFE_BUILD_LENGTH = $3qgxS.MAX_SAFE_BUILD_LENGTH;\nvar $714c7f42b7f0e43a$require$MAX_LENGTH = $3qgxS.MAX_LENGTH;\n\nvar $3CqZ1 = parcelRequire(\"3CqZ1\");\nexports = module.exports = {};\n// The actual regexps go on exports.re\nconst re = exports.re = [];\nconst safeRe = exports.safeRe = [];\nconst src = exports.src = [];\nconst t = exports.t = {};\nlet R = 0;\nconst LETTERDASHNUMBER = \"[a-zA-Z0-9-]\";\n// Replace some greedy regex tokens to prevent regex dos issues. These regex are\n// used internally via the safeRe object since all inputs in this library get\n// normalized first to trim and collapse all extra whitespace. The original\n// regexes are exported for userland consumption and lower level usage. A\n// future breaking change could export the safer regex only with a note that\n// all input should have extra whitespace removed.\nconst safeRegexReplacements = [\n [\n \"\\\\s\",\n 1\n ],\n [\n \"\\\\d\",\n $714c7f42b7f0e43a$require$MAX_LENGTH\n ],\n [\n LETTERDASHNUMBER,\n $714c7f42b7f0e43a$require$MAX_SAFE_BUILD_LENGTH\n ]\n];\nconst makeSafeRegex = (value)=>{\n for (const [token, max] of safeRegexReplacements)value = value.split(`${token}*`).join(`${token}{0,${max}}`).split(`${token}+`).join(`${token}{1,${max}}`);\n return value;\n};\nconst createToken = (name, value, isGlobal)=>{\n const safe = makeSafeRegex(value);\n const index = R++;\n $3CqZ1(name, index, value);\n t[name] = index;\n src[index] = value;\n re[index] = new RegExp(value, isGlobal ? \"g\" : undefined);\n safeRe[index] = new RegExp(safe, isGlobal ? \"g\" : undefined);\n};\n// The following Regular Expressions can be used for tokenizing,\n// validating, and parsing SemVer version strings.\n// ## Numeric Identifier\n// A single `0`, or a non-zero digit followed by zero or more digits.\ncreateToken(\"NUMERICIDENTIFIER\", \"0|[1-9]\\\\d*\");\ncreateToken(\"NUMERICIDENTIFIERLOOSE\", \"\\\\d+\");\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.\ncreateToken(\"NONNUMERICIDENTIFIER\", `\\\\d*[a-zA-Z-]${LETTERDASHNUMBER}*`);\n// ## Main Version\n// Three dot-separated numeric identifiers.\ncreateToken(\"MAINVERSION\", `(${src[t.NUMERICIDENTIFIER]})\\\\.` + `(${src[t.NUMERICIDENTIFIER]})\\\\.` + `(${src[t.NUMERICIDENTIFIER]})`);\ncreateToken(\"MAINVERSIONLOOSE\", `(${src[t.NUMERICIDENTIFIERLOOSE]})\\\\.` + `(${src[t.NUMERICIDENTIFIERLOOSE]})\\\\.` + `(${src[t.NUMERICIDENTIFIERLOOSE]})`);\n// ## Pre-release Version Identifier\n// A numeric identifier, or a non-numeric identifier.\ncreateToken(\"PRERELEASEIDENTIFIER\", `(?:${src[t.NUMERICIDENTIFIER]}|${src[t.NONNUMERICIDENTIFIER]})`);\ncreateToken(\"PRERELEASEIDENTIFIERLOOSE\", `(?:${src[t.NUMERICIDENTIFIERLOOSE]}|${src[t.NONNUMERICIDENTIFIER]})`);\n// ## Pre-release Version\n// Hyphen, followed by one or more dot-separated pre-release version\n// identifiers.\ncreateToken(\"PRERELEASE\", `(?:-(${src[t.PRERELEASEIDENTIFIER]}(?:\\\\.${src[t.PRERELEASEIDENTIFIER]})*))`);\ncreateToken(\"PRERELEASELOOSE\", `(?:-?(${src[t.PRERELEASEIDENTIFIERLOOSE]}(?:\\\\.${src[t.PRERELEASEIDENTIFIERLOOSE]})*))`);\n// ## Build Metadata Identifier\n// Any combination of digits, letters, or hyphens.\ncreateToken(\"BUILDIDENTIFIER\", `${LETTERDASHNUMBER}+`);\n// ## Build Metadata\n// Plus sign, followed by one or more period-separated build metadata\n// identifiers.\ncreateToken(\"BUILD\", `(?:\\\\+(${src[t.BUILDIDENTIFIER]}(?:\\\\.${src[t.BUILDIDENTIFIER]})*))`);\n// ## Full Version String\n// A main version, followed optionally by a pre-release version and\n// build metadata.\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.\ncreateToken(\"FULLPLAIN\", `v?${src[t.MAINVERSION]}${src[t.PRERELEASE]}?${src[t.BUILD]}?`);\ncreateToken(\"FULL\", `^${src[t.FULLPLAIN]}$`);\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]}${src[t.PRERELEASELOOSE]}?${src[t.BUILD]}?`);\ncreateToken(\"LOOSE\", `^${src[t.LOOSEPLAIN]}$`);\ncreateToken(\"GTLT\", \"((?:<|>)?=?)\");\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|\\\\*`);\ncreateToken(\"XRANGEPLAIN\", `[v=\\\\s]*(${src[t.XRANGEIDENTIFIER]})` + `(?:\\\\.(${src[t.XRANGEIDENTIFIER]})` + `(?:\\\\.(${src[t.XRANGEIDENTIFIER]})` + `(?:${src[t.PRERELEASE]})?${src[t.BUILD]}?` + `)?)?`);\ncreateToken(\"XRANGEPLAINLOOSE\", `[v=\\\\s]*(${src[t.XRANGEIDENTIFIERLOOSE]})` + `(?:\\\\.(${src[t.XRANGEIDENTIFIERLOOSE]})` + `(?:\\\\.(${src[t.XRANGEIDENTIFIERLOOSE]})` + `(?:${src[t.PRERELEASELOOSE]})?${src[t.BUILD]}?` + `)?)?`);\ncreateToken(\"XRANGE\", `^${src[t.GTLT]}\\\\s*${src[t.XRANGEPLAIN]}$`);\ncreateToken(\"XRANGELOOSE\", `^${src[t.GTLT]}\\\\s*${src[t.XRANGEPLAINLOOSE]}$`);\n// Coercion.\n// Extract anything that could conceivably be a part of a valid semver\ncreateToken(\"COERCE\", `${\"(^|[^\\\\d])(\\\\d{1,\"}${$714c7f42b7f0e43a$require$MAX_SAFE_COMPONENT_LENGTH}})` + `(?:\\\\.(\\\\d{1,${$714c7f42b7f0e43a$require$MAX_SAFE_COMPONENT_LENGTH}}))?` + `(?:\\\\.(\\\\d{1,${$714c7f42b7f0e43a$require$MAX_SAFE_COMPONENT_LENGTH}}))?` + `(?:$|[^\\\\d])`);\ncreateToken(\"COERCERTL\", src[t.COERCE], true);\n// Tilde ranges.\n// Meaning is \"reasonably at or greater than\"\ncreateToken(\"LONETILDE\", \"(?:~>?)\");\ncreateToken(\"TILDETRIM\", `(\\\\s*)${src[t.LONETILDE]}\\\\s+`, true);\nexports.tildeTrimReplace = \"$1~\";\ncreateToken(\"TILDE\", `^${src[t.LONETILDE]}${src[t.XRANGEPLAIN]}$`);\ncreateToken(\"TILDELOOSE\", `^${src[t.LONETILDE]}${src[t.XRANGEPLAINLOOSE]}$`);\n// Caret ranges.\n// Meaning is \"at least and backwards compatible with\"\ncreateToken(\"LONECARET\", \"(?:\\\\^)\");\ncreateToken(\"CARETTRIM\", `(\\\\s*)${src[t.LONECARET]}\\\\s+`, true);\nexports.caretTrimReplace = \"$1^\";\ncreateToken(\"CARET\", `^${src[t.LONECARET]}${src[t.XRANGEPLAIN]}$`);\ncreateToken(\"CARETLOOSE\", `^${src[t.LONECARET]}${src[t.XRANGEPLAINLOOSE]}$`);\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// 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]}\\\\s*(${src[t.LOOSEPLAIN]}|${src[t.XRANGEPLAIN]})`, true);\nexports.comparatorTrimReplace = \"$1$2$3\";\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]})` + `\\\\s+-\\\\s+` + `(${src[t.XRANGEPLAIN]})` + `\\\\s*$`);\ncreateToken(\"HYPHENRANGELOOSE\", `^\\\\s*(${src[t.XRANGEPLAINLOOSE]})` + `\\\\s+-\\\\s+` + `(${src[t.XRANGEPLAINLOOSE]})` + `\\\\s*$`);\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\n});\nparcelRegister(\"3qgxS\", function(module, exports) {\n// Note: this is the semver.org version of the spec that it implements\n// Not necessarily the package version of this code.\nconst $27e0a264f9f9f368$var$SEMVER_SPEC_VERSION = \"2.0.0\";\nconst $27e0a264f9f9f368$var$MAX_LENGTH = 256;\nconst $27e0a264f9f9f368$var$MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER || /* istanbul ignore next */ 9007199254740991;\n// Max safe segment length for coercion.\nconst $27e0a264f9f9f368$var$MAX_SAFE_COMPONENT_LENGTH = 16;\n// Max safe length for a build identifier. The max length minus 6 characters for\n// the shortest version with a build 0.0.0+BUILD.\nconst $27e0a264f9f9f368$var$MAX_SAFE_BUILD_LENGTH = $27e0a264f9f9f368$var$MAX_LENGTH - 6;\nconst $27e0a264f9f9f368$var$RELEASE_TYPES = [\n \"major\",\n \"premajor\",\n \"minor\",\n \"preminor\",\n \"patch\",\n \"prepatch\",\n \"prerelease\"\n];\nmodule.exports = {\n MAX_LENGTH: $27e0a264f9f9f368$var$MAX_LENGTH,\n MAX_SAFE_COMPONENT_LENGTH: $27e0a264f9f9f368$var$MAX_SAFE_COMPONENT_LENGTH,\n MAX_SAFE_BUILD_LENGTH: $27e0a264f9f9f368$var$MAX_SAFE_BUILD_LENGTH,\n MAX_SAFE_INTEGER: $27e0a264f9f9f368$var$MAX_SAFE_INTEGER,\n RELEASE_TYPES: $27e0a264f9f9f368$var$RELEASE_TYPES,\n SEMVER_SPEC_VERSION: $27e0a264f9f9f368$var$SEMVER_SPEC_VERSION,\n FLAG_INCLUDE_PRERELEASE: 1,\n FLAG_LOOSE: 2\n};\n\n});\n\nparcelRegister(\"3CqZ1\", function(module, exports) {\nconst $2a29da066bedbbfc$var$debug = typeof process === \"object\" && process.env && process.env.NODE_DEBUG && /\\bsemver\\b/i.test(process.env.NODE_DEBUG) ? (...args)=>console.error(\"SEMVER\", ...args) : ()=>{};\nmodule.exports = $2a29da066bedbbfc$var$debug;\n\n});\n\n\nparcelRegister(\"aMLnW\", function(module, exports) {\n\nvar $3CqZ1 = parcelRequire(\"3CqZ1\");\n\nvar $3qgxS = parcelRequire(\"3qgxS\");\nvar $7da324c382d6a88a$require$MAX_LENGTH = $3qgxS.MAX_LENGTH;\nvar $7da324c382d6a88a$require$MAX_SAFE_INTEGER = $3qgxS.MAX_SAFE_INTEGER;\n\nvar $9J5od = parcelRequire(\"9J5od\");\nvar $7da324c382d6a88a$require$re = $9J5od.safeRe;\nvar $7da324c382d6a88a$require$t = $9J5od.t;\n\nvar $6omBt = parcelRequire(\"6omBt\");\n\nvar $fx8Ft = parcelRequire(\"fx8Ft\");\nvar $7da324c382d6a88a$require$compareIdentifiers = $fx8Ft.compareIdentifiers;\nclass $7da324c382d6a88a$var$SemVer {\n constructor(version, options){\n options = $6omBt(options);\n if (version instanceof $7da324c382d6a88a$var$SemVer) {\n if (version.loose === !!options.loose && version.includePrerelease === !!options.includePrerelease) return version;\n else version = version.version;\n } else if (typeof version !== \"string\") throw new TypeError(`Invalid version. Must be a string. Got type \"${typeof version}\".`);\n if (version.length > $7da324c382d6a88a$require$MAX_LENGTH) throw new TypeError(`version is longer than ${$7da324c382d6a88a$require$MAX_LENGTH} characters`);\n $3CqZ1(\"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 const m = version.trim().match(options.loose ? $7da324c382d6a88a$require$re[$7da324c382d6a88a$require$t.LOOSE] : $7da324c382d6a88a$require$re[$7da324c382d6a88a$require$t.FULL]);\n if (!m) throw new TypeError(`Invalid Version: ${version}`);\n this.raw = version;\n // these are actually numbers\n this.major = +m[1];\n this.minor = +m[2];\n this.patch = +m[3];\n if (this.major > $7da324c382d6a88a$require$MAX_SAFE_INTEGER || this.major < 0) throw new TypeError(\"Invalid major version\");\n if (this.minor > $7da324c382d6a88a$require$MAX_SAFE_INTEGER || this.minor < 0) throw new TypeError(\"Invalid minor version\");\n if (this.patch > $7da324c382d6a88a$require$MAX_SAFE_INTEGER || this.patch < 0) throw new TypeError(\"Invalid patch version\");\n // numberify any prerelease numeric ids\n if (!m[4]) this.prerelease = [];\n else this.prerelease = m[4].split(\".\").map((id)=>{\n if (/^[0-9]+$/.test(id)) {\n const num = +id;\n if (num >= 0 && num < $7da324c382d6a88a$require$MAX_SAFE_INTEGER) return num;\n }\n return id;\n });\n this.build = m[5] ? m[5].split(\".\") : [];\n this.format();\n }\n format() {\n this.version = `${this.major}.${this.minor}.${this.patch}`;\n if (this.prerelease.length) this.version += `-${this.prerelease.join(\".\")}`;\n return this.version;\n }\n toString() {\n return this.version;\n }\n compare(other) {\n $3CqZ1(\"SemVer.compare\", this.version, this.options, other);\n if (!(other instanceof $7da324c382d6a88a$var$SemVer)) {\n if (typeof other === \"string\" && other === this.version) return 0;\n other = new $7da324c382d6a88a$var$SemVer(other, this.options);\n }\n if (other.version === this.version) return 0;\n return this.compareMain(other) || this.comparePre(other);\n }\n compareMain(other) {\n if (!(other instanceof $7da324c382d6a88a$var$SemVer)) other = new $7da324c382d6a88a$var$SemVer(other, this.options);\n return $7da324c382d6a88a$require$compareIdentifiers(this.major, other.major) || $7da324c382d6a88a$require$compareIdentifiers(this.minor, other.minor) || $7da324c382d6a88a$require$compareIdentifiers(this.patch, other.patch);\n }\n comparePre(other) {\n if (!(other instanceof $7da324c382d6a88a$var$SemVer)) other = new $7da324c382d6a88a$var$SemVer(other, this.options);\n // NOT having a prerelease is > having one\n if (this.prerelease.length && !other.prerelease.length) return -1;\n else if (!this.prerelease.length && other.prerelease.length) return 1;\n else if (!this.prerelease.length && !other.prerelease.length) return 0;\n let i = 0;\n do {\n const a = this.prerelease[i];\n const b = other.prerelease[i];\n $3CqZ1(\"prerelease compare\", i, a, b);\n if (a === undefined && b === undefined) return 0;\n else if (b === undefined) return 1;\n else if (a === undefined) return -1;\n else if (a === b) continue;\n else return $7da324c382d6a88a$require$compareIdentifiers(a, b);\n }while (++i);\n }\n compareBuild(other) {\n if (!(other instanceof $7da324c382d6a88a$var$SemVer)) other = new $7da324c382d6a88a$var$SemVer(other, this.options);\n let i = 0;\n do {\n const a = this.build[i];\n const b = other.build[i];\n $3CqZ1(\"prerelease compare\", i, a, b);\n if (a === undefined && b === undefined) return 0;\n else if (b === undefined) return 1;\n else if (a === undefined) return -1;\n else if (a === b) continue;\n else return $7da324c382d6a88a$require$compareIdentifiers(a, b);\n }while (++i);\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, identifierBase) {\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, identifierBase);\n break;\n case \"preminor\":\n this.prerelease.length = 0;\n this.patch = 0;\n this.minor++;\n this.inc(\"pre\", identifier, identifierBase);\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, identifierBase);\n this.inc(\"pre\", identifier, identifierBase);\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) this.inc(\"patch\", identifier, identifierBase);\n this.inc(\"pre\", identifier, identifierBase);\n break;\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 (this.minor !== 0 || this.patch !== 0 || this.prerelease.length === 0) this.major++;\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) this.minor++;\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) this.patch++;\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 {\n const base = Number(identifierBase) ? 1 : 0;\n if (!identifier && identifierBase === false) throw new Error(\"invalid increment argument: identifier is empty\");\n if (this.prerelease.length === 0) this.prerelease = [\n base\n ];\n else {\n let i = this.prerelease.length;\n while(--i >= 0)if (typeof this.prerelease[i] === \"number\") {\n this.prerelease[i]++;\n i = -2;\n }\n if (i === -1) {\n // didn't increment anything\n if (identifier === this.prerelease.join(\".\") && identifierBase === false) throw new Error(\"invalid increment argument: identifier already exists\");\n this.prerelease.push(base);\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 let prerelease = [\n identifier,\n base\n ];\n if (identifierBase === false) prerelease = [\n identifier\n ];\n if ($7da324c382d6a88a$require$compareIdentifiers(this.prerelease[0], identifier) === 0) {\n if (isNaN(this.prerelease[1])) this.prerelease = prerelease;\n } else this.prerelease = prerelease;\n }\n break;\n }\n default:\n throw new Error(`invalid increment argument: ${release}`);\n }\n this.raw = this.format();\n if (this.build.length) this.raw += `+${this.build.join(\".\")}`;\n return this;\n }\n}\nmodule.exports = $7da324c382d6a88a$var$SemVer;\n\n});\nparcelRegister(\"6omBt\", function(module, exports) {\n// parse out just the options we care about\nconst $4a7684854438b3a8$var$looseOption = Object.freeze({\n loose: true\n});\nconst $4a7684854438b3a8$var$emptyOpts = Object.freeze({});\nconst $4a7684854438b3a8$var$parseOptions = (options)=>{\n if (!options) return $4a7684854438b3a8$var$emptyOpts;\n if (typeof options !== \"object\") return $4a7684854438b3a8$var$looseOption;\n return options;\n};\nmodule.exports = $4a7684854438b3a8$var$parseOptions;\n\n});\n\nparcelRegister(\"fx8Ft\", function(module, exports) {\nconst $b4f0a9608bfa578c$var$numeric = /^[0-9]+$/;\nconst $b4f0a9608bfa578c$var$compareIdentifiers = (a, b)=>{\n const anum = $b4f0a9608bfa578c$var$numeric.test(a);\n const bnum = $b4f0a9608bfa578c$var$numeric.test(b);\n if (anum && bnum) {\n a = +a;\n b = +b;\n }\n return a === b ? 0 : anum && !bnum ? -1 : bnum && !anum ? 1 : a < b ? -1 : 1;\n};\nconst $b4f0a9608bfa578c$var$rcompareIdentifiers = (a, b)=>$b4f0a9608bfa578c$var$compareIdentifiers(b, a);\nmodule.exports = {\n compareIdentifiers: $b4f0a9608bfa578c$var$compareIdentifiers,\n rcompareIdentifiers: $b4f0a9608bfa578c$var$rcompareIdentifiers\n};\n\n});\n\n\nparcelRegister(\"UI3XL\", function(module, exports) {\n\nvar $aMLnW = parcelRequire(\"aMLnW\");\nconst $0aa7690e2bf9b583$var$parse = (version, options, throwErrors = false)=>{\n if (version instanceof $aMLnW) return version;\n try {\n return new $aMLnW(version, options);\n } catch (er) {\n if (!throwErrors) return null;\n throw er;\n }\n};\nmodule.exports = $0aa7690e2bf9b583$var$parse;\n\n});\n\nparcelRegister(\"l655J\", function(module, exports) {\n\nvar $UI3XL = parcelRequire(\"UI3XL\");\nconst $f5be1b9124e8a995$var$valid = (version, options)=>{\n const v = $UI3XL(version, options);\n return v ? v.version : null;\n};\nmodule.exports = $f5be1b9124e8a995$var$valid;\n\n});\n\nparcelRegister(\"jzJq8\", function(module, exports) {\n\nvar $UI3XL = parcelRequire(\"UI3XL\");\nconst $e40484ca80391047$var$clean = (version, options)=>{\n const s = $UI3XL(version.trim().replace(/^[=v]+/, \"\"), options);\n return s ? s.version : null;\n};\nmodule.exports = $e40484ca80391047$var$clean;\n\n});\n\nparcelRegister(\"b1nH1\", function(module, exports) {\n\nvar $aMLnW = parcelRequire(\"aMLnW\");\nconst $80622aa1b4dfbc9d$var$inc = (version, release, options, identifier, identifierBase)=>{\n if (typeof options === \"string\") {\n identifierBase = identifier;\n identifier = options;\n options = undefined;\n }\n try {\n return new $aMLnW(version instanceof $aMLnW ? version.version : version, options).inc(release, identifier, identifierBase).version;\n } catch (er) {\n return null;\n }\n};\nmodule.exports = $80622aa1b4dfbc9d$var$inc;\n\n});\n\nparcelRegister(\"inG4j\", function(module, exports) {\n\nvar $UI3XL = parcelRequire(\"UI3XL\");\nconst $d61b01eb687284bf$var$diff = (version1, version2)=>{\n const v1 = $UI3XL(version1, null, true);\n const v2 = $UI3XL(version2, null, true);\n const comparison = v1.compare(v2);\n if (comparison === 0) return null;\n const v1Higher = comparison > 0;\n const highVersion = v1Higher ? v1 : v2;\n const lowVersion = v1Higher ? v2 : v1;\n const highHasPre = !!highVersion.prerelease.length;\n const lowHasPre = !!lowVersion.prerelease.length;\n if (lowHasPre && !highHasPre) {\n // Going from prerelease -> no prerelease requires some special casing\n // If the low version has only a major, then it will always be a major\n // Some examples:\n // 1.0.0-1 -> 1.0.0\n // 1.0.0-1 -> 1.1.1\n // 1.0.0-1 -> 2.0.0\n if (!lowVersion.patch && !lowVersion.minor) return \"major\";\n // Otherwise it can be determined by checking the high version\n if (highVersion.patch) // anything higher than a patch bump would result in the wrong version\n return \"patch\";\n if (highVersion.minor) // anything higher than a minor bump would result in the wrong version\n return \"minor\";\n // bumping major/minor/patch all have same result\n return \"major\";\n }\n // add the `pre` prefix if we are going to a prerelease version\n const prefix = highHasPre ? \"pre\" : \"\";\n if (v1.major !== v2.major) return prefix + \"major\";\n if (v1.minor !== v2.minor) return prefix + \"minor\";\n if (v1.patch !== v2.patch) return prefix + \"patch\";\n // high and low are preleases\n return \"prerelease\";\n};\nmodule.exports = $d61b01eb687284bf$var$diff;\n\n});\n\nparcelRegister(\"2aJGP\", function(module, exports) {\n\nvar $aMLnW = parcelRequire(\"aMLnW\");\nconst $194ff4fade75e049$var$major = (a, loose)=>new $aMLnW(a, loose).major;\nmodule.exports = $194ff4fade75e049$var$major;\n\n});\n\nparcelRegister(\"h6Ixq\", function(module, exports) {\n\nvar $aMLnW = parcelRequire(\"aMLnW\");\nconst $c7458b89940ed03b$var$minor = (a, loose)=>new $aMLnW(a, loose).minor;\nmodule.exports = $c7458b89940ed03b$var$minor;\n\n});\n\nparcelRegister(\"90ROK\", function(module, exports) {\n\nvar $aMLnW = parcelRequire(\"aMLnW\");\nconst $68fddc2c226bc011$var$patch = (a, loose)=>new $aMLnW(a, loose).patch;\nmodule.exports = $68fddc2c226bc011$var$patch;\n\n});\n\nparcelRegister(\"8m4O1\", function(module, exports) {\n\nvar $UI3XL = parcelRequire(\"UI3XL\");\nconst $61541b255fd4fd5d$var$prerelease = (version, options)=>{\n const parsed = $UI3XL(version, options);\n return parsed && parsed.prerelease.length ? parsed.prerelease : null;\n};\nmodule.exports = $61541b255fd4fd5d$var$prerelease;\n\n});\n\nparcelRegister(\"3uysP\", function(module, exports) {\n\nvar $aMLnW = parcelRequire(\"aMLnW\");\nconst $28aee843a4df7f72$var$compare = (a, b, loose)=>new $aMLnW(a, loose).compare(new $aMLnW(b, loose));\nmodule.exports = $28aee843a4df7f72$var$compare;\n\n});\n\nparcelRegister(\"hYBTv\", function(module, exports) {\n\nvar $3uysP = parcelRequire(\"3uysP\");\nconst $d1656f45798b406b$var$rcompare = (a, b, loose)=>$3uysP(b, a, loose);\nmodule.exports = $d1656f45798b406b$var$rcompare;\n\n});\n\nparcelRegister(\"ftcZo\", function(module, exports) {\n\nvar $3uysP = parcelRequire(\"3uysP\");\nconst $b433a3da1df2f705$var$compareLoose = (a, b)=>$3uysP(a, b, true);\nmodule.exports = $b433a3da1df2f705$var$compareLoose;\n\n});\n\nparcelRegister(\"1CIrW\", function(module, exports) {\n\nvar $aMLnW = parcelRequire(\"aMLnW\");\nconst $12ebd1da918dc016$var$compareBuild = (a, b, loose)=>{\n const versionA = new $aMLnW(a, loose);\n const versionB = new $aMLnW(b, loose);\n return versionA.compare(versionB) || versionA.compareBuild(versionB);\n};\nmodule.exports = $12ebd1da918dc016$var$compareBuild;\n\n});\n\nparcelRegister(\"exBHN\", function(module, exports) {\n\nvar $1CIrW = parcelRequire(\"1CIrW\");\nconst $a96165462e76b234$var$sort = (list, loose)=>list.sort((a, b)=>$1CIrW(a, b, loose));\nmodule.exports = $a96165462e76b234$var$sort;\n\n});\n\nparcelRegister(\"lm1lq\", function(module, exports) {\n\nvar $1CIrW = parcelRequire(\"1CIrW\");\nconst $f8bcb207b3a73186$var$rsort = (list, loose)=>list.sort((a, b)=>$1CIrW(b, a, loose));\nmodule.exports = $f8bcb207b3a73186$var$rsort;\n\n});\n\nparcelRegister(\"cPjhN\", function(module, exports) {\n\nvar $3uysP = parcelRequire(\"3uysP\");\nconst $0268ec36b6100c2c$var$gt = (a, b, loose)=>$3uysP(a, b, loose) > 0;\nmodule.exports = $0268ec36b6100c2c$var$gt;\n\n});\n\nparcelRegister(\"avz3V\", function(module, exports) {\n\nvar $3uysP = parcelRequire(\"3uysP\");\nconst $7a67ff4b4e69975e$var$lt = (a, b, loose)=>$3uysP(a, b, loose) < 0;\nmodule.exports = $7a67ff4b4e69975e$var$lt;\n\n});\n\nparcelRegister(\"fXQFJ\", function(module, exports) {\n\nvar $3uysP = parcelRequire(\"3uysP\");\nconst $b9f539425bdf4b62$var$eq = (a, b, loose)=>$3uysP(a, b, loose) === 0;\nmodule.exports = $b9f539425bdf4b62$var$eq;\n\n});\n\nparcelRegister(\"bu0Ra\", function(module, exports) {\n\nvar $3uysP = parcelRequire(\"3uysP\");\nconst $85c32928d6534f6b$var$neq = (a, b, loose)=>$3uysP(a, b, loose) !== 0;\nmodule.exports = $85c32928d6534f6b$var$neq;\n\n});\n\nparcelRegister(\"9xdhv\", function(module, exports) {\n\nvar $3uysP = parcelRequire(\"3uysP\");\nconst $6f117f82d38ad331$var$gte = (a, b, loose)=>$3uysP(a, b, loose) >= 0;\nmodule.exports = $6f117f82d38ad331$var$gte;\n\n});\n\nparcelRegister(\"8aNoG\", function(module, exports) {\n\nvar $3uysP = parcelRequire(\"3uysP\");\nconst $5f359321e34a81b1$var$lte = (a, b, loose)=>$3uysP(a, b, loose) <= 0;\nmodule.exports = $5f359321e34a81b1$var$lte;\n\n});\n\nparcelRegister(\"8gipG\", function(module, exports) {\n\nvar $fXQFJ = parcelRequire(\"fXQFJ\");\n\nvar $bu0Ra = parcelRequire(\"bu0Ra\");\n\nvar $cPjhN = parcelRequire(\"cPjhN\");\n\nvar $9xdhv = parcelRequire(\"9xdhv\");\n\nvar $avz3V = parcelRequire(\"avz3V\");\n\nvar $8aNoG = parcelRequire(\"8aNoG\");\nconst $603e19dc5fbb1a16$var$cmp = (a, op, b, loose)=>{\n switch(op){\n case \"===\":\n if (typeof a === \"object\") a = a.version;\n if (typeof b === \"object\") b = b.version;\n return a === b;\n case \"!==\":\n if (typeof a === \"object\") a = a.version;\n if (typeof b === \"object\") b = b.version;\n return a !== b;\n case \"\":\n case \"=\":\n case \"==\":\n return $fXQFJ(a, b, loose);\n case \"!=\":\n return $bu0Ra(a, b, loose);\n case \">\":\n return $cPjhN(a, b, loose);\n case \">=\":\n return $9xdhv(a, b, loose);\n case \"<\":\n return $avz3V(a, b, loose);\n case \"<=\":\n return $8aNoG(a, b, loose);\n default:\n throw new TypeError(`Invalid operator: ${op}`);\n }\n};\nmodule.exports = $603e19dc5fbb1a16$var$cmp;\n\n});\n\nparcelRegister(\"l8hao\", function(module, exports) {\n\nvar $aMLnW = parcelRequire(\"aMLnW\");\n\nvar $UI3XL = parcelRequire(\"UI3XL\");\n\nvar $9J5od = parcelRequire(\"9J5od\");\nvar $f627a93f3b8c4872$require$re = $9J5od.safeRe;\nvar $f627a93f3b8c4872$require$t = $9J5od.t;\nconst $f627a93f3b8c4872$var$coerce = (version, options)=>{\n if (version instanceof $aMLnW) return version;\n if (typeof version === \"number\") version = String(version);\n if (typeof version !== \"string\") return null;\n options = options || {};\n let match = null;\n if (!options.rtl) match = version.match($f627a93f3b8c4872$require$re[$f627a93f3b8c4872$require$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 = $f627a93f3b8c4872$require$re[$f627a93f3b8c4872$require$t.COERCERTL].exec(version)) && (!match || match.index + match[0].length !== version.length)){\n if (!match || next.index + next[0].length !== match.index + match[0].length) match = next;\n $f627a93f3b8c4872$require$re[$f627a93f3b8c4872$require$t.COERCERTL].lastIndex = next.index + next[1].length + next[2].length;\n }\n // leave it in a clean state\n $f627a93f3b8c4872$require$re[$f627a93f3b8c4872$require$t.COERCERTL].lastIndex = -1;\n }\n if (match === null) return null;\n return $UI3XL(`${match[2]}.${match[3] || \"0\"}.${match[4] || \"0\"}`, options);\n};\nmodule.exports = $f627a93f3b8c4872$var$coerce;\n\n});\n\nparcelRegister(\"dSz9p\", function(module, exports) {\nconst $a1ab95b4a6509cb8$var$ANY = Symbol(\"SemVer ANY\");\n// hoisted class for cyclic dependency\nclass $a1ab95b4a6509cb8$var$Comparator {\n static get ANY() {\n return $a1ab95b4a6509cb8$var$ANY;\n }\n constructor(comp, options){\n options = $6omBt(options);\n if (comp instanceof $a1ab95b4a6509cb8$var$Comparator) {\n if (comp.loose === !!options.loose) return comp;\n else comp = comp.value;\n }\n comp = comp.trim().split(/\\s+/).join(\" \");\n $3CqZ1(\"comparator\", comp, options);\n this.options = options;\n this.loose = !!options.loose;\n this.parse(comp);\n if (this.semver === $a1ab95b4a6509cb8$var$ANY) this.value = \"\";\n else this.value = this.operator + this.semver.version;\n $3CqZ1(\"comp\", this);\n }\n parse(comp) {\n const r = this.options.loose ? $a1ab95b4a6509cb8$require$re[$a1ab95b4a6509cb8$require$t.COMPARATORLOOSE] : $a1ab95b4a6509cb8$require$re[$a1ab95b4a6509cb8$require$t.COMPARATOR];\n const m = comp.match(r);\n if (!m) throw new TypeError(`Invalid comparator: ${comp}`);\n this.operator = m[1] !== undefined ? m[1] : \"\";\n if (this.operator === \"=\") this.operator = \"\";\n // if it literally is just '>' or '' then allow anything.\n if (!m[2]) this.semver = $a1ab95b4a6509cb8$var$ANY;\n else this.semver = new $aMLnW(m[2], this.options.loose);\n }\n toString() {\n return this.value;\n }\n test(version) {\n $3CqZ1(\"Comparator.test\", version, this.options.loose);\n if (this.semver === $a1ab95b4a6509cb8$var$ANY || version === $a1ab95b4a6509cb8$var$ANY) return true;\n if (typeof version === \"string\") try {\n version = new $aMLnW(version, this.options);\n } catch (er) {\n return false;\n }\n return $8gipG(version, this.operator, this.semver, this.options);\n }\n intersects(comp, options) {\n if (!(comp instanceof $a1ab95b4a6509cb8$var$Comparator)) throw new TypeError(\"a Comparator is required\");\n if (this.operator === \"\") {\n if (this.value === \"\") return true;\n return new $4FTez(comp.value, options).test(this.value);\n } else if (comp.operator === \"\") {\n if (comp.value === \"\") return true;\n return new $4FTez(this.value, options).test(comp.semver);\n }\n options = $6omBt(options);\n // Special cases where nothing can possibly be lower\n if (options.includePrerelease && (this.value === \"<0.0.0-0\" || comp.value === \"<0.0.0-0\")) return false;\n if (!options.includePrerelease && (this.value.startsWith(\"<0.0.0\") || comp.value.startsWith(\"<0.0.0\"))) return false;\n // Same direction increasing (> or >=)\n if (this.operator.startsWith(\">\") && comp.operator.startsWith(\">\")) return true;\n // Same direction decreasing (< or <=)\n if (this.operator.startsWith(\"<\") && comp.operator.startsWith(\"<\")) return true;\n // same SemVer and both sides are inclusive (<= or >=)\n if (this.semver.version === comp.semver.version && this.operator.includes(\"=\") && comp.operator.includes(\"=\")) return true;\n // opposite directions less than\n if ($8gipG(this.semver, \"<\", comp.semver, options) && this.operator.startsWith(\">\") && comp.operator.startsWith(\"<\")) return true;\n // opposite directions greater than\n if ($8gipG(this.semver, \">\", comp.semver, options) && this.operator.startsWith(\"<\") && comp.operator.startsWith(\">\")) return true;\n return false;\n }\n}\nmodule.exports = $a1ab95b4a6509cb8$var$Comparator;\n\nvar $6omBt = parcelRequire(\"6omBt\");\n\nvar $9J5od = parcelRequire(\"9J5od\");\nvar $a1ab95b4a6509cb8$require$re = $9J5od.safeRe;\nvar $a1ab95b4a6509cb8$require$t = $9J5od.t;\n\nvar $8gipG = parcelRequire(\"8gipG\");\n\nvar $3CqZ1 = parcelRequire(\"3CqZ1\");\n\nvar $aMLnW = parcelRequire(\"aMLnW\");\n\nvar $4FTez = parcelRequire(\"4FTez\");\n\n});\nparcelRegister(\"4FTez\", function(module, exports) {\n// hoisted class for cyclic dependency\nclass $3675d6171478137e$var$Range {\n constructor(range, options){\n options = $6omBt(options);\n if (range instanceof $3675d6171478137e$var$Range) {\n if (range.loose === !!options.loose && range.includePrerelease === !!options.includePrerelease) return range;\n else return new $3675d6171478137e$var$Range(range.raw, options);\n }\n if (range instanceof $dSz9p) {\n // just put it in the set and return\n this.raw = range.value;\n this.set = [\n [\n range\n ]\n ];\n this.format();\n return this;\n }\n this.options = options;\n this.loose = !!options.loose;\n this.includePrerelease = !!options.includePrerelease;\n // First reduce all whitespace as much as possible so we do not have to rely\n // on potentially slow regexes like \\s*. This is then stored and used for\n // future error messages as well.\n this.raw = range.trim().split(/\\s+/).join(\" \");\n // First, split on ||\n this.set = this.raw.split(\"||\")// map the range to a 2d array of comparators\n .map((r)=>this.parseRange(r.trim()))// 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 if (!this.set.length) throw new TypeError(`Invalid SemVer Range: ${this.raw}`);\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)=>!$3675d6171478137e$var$isNullSet(c[0]));\n if (this.set.length === 0) this.set = [\n first\n ];\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)if (c.length === 1 && $3675d6171478137e$var$isAny(c[0])) {\n this.set = [\n c\n ];\n break;\n }\n }\n }\n this.format();\n }\n format() {\n this.range = this.set.map((comps)=>comps.join(\" \").trim()).join(\"||\").trim();\n return this.range;\n }\n toString() {\n return this.range;\n }\n parseRange(range) {\n // memoize range parsing for performance.\n // this is a very hot path, and fully deterministic.\n const memoOpts = (this.options.includePrerelease && $3675d6171478137e$require$FLAG_INCLUDE_PRERELEASE) | (this.options.loose && $3675d6171478137e$require$FLAG_LOOSE);\n const memoKey = memoOpts + \":\" + range;\n const cached = $3675d6171478137e$var$cache.get(memoKey);\n if (cached) return cached;\n const loose = this.options.loose;\n // `1.2.3 - 1.2.4` => `>=1.2.3 <=1.2.4`\n const hr = loose ? $3675d6171478137e$require$re[$3675d6171478137e$require$t.HYPHENRANGELOOSE] : $3675d6171478137e$require$re[$3675d6171478137e$require$t.HYPHENRANGE];\n range = range.replace(hr, $3675d6171478137e$var$hyphenReplace(this.options.includePrerelease));\n $3CqZ1(\"hyphen replace\", range);\n // `> 1.2.3 < 1.2.5` => `>1.2.3 <1.2.5`\n range = range.replace($3675d6171478137e$require$re[$3675d6171478137e$require$t.COMPARATORTRIM], $3675d6171478137e$require$comparatorTrimReplace);\n $3CqZ1(\"comparator trim\", range);\n // `~ 1.2.3` => `~1.2.3`\n range = range.replace($3675d6171478137e$require$re[$3675d6171478137e$require$t.TILDETRIM], $3675d6171478137e$require$tildeTrimReplace);\n $3CqZ1(\"tilde trim\", range);\n // `^ 1.2.3` => `^1.2.3`\n range = range.replace($3675d6171478137e$require$re[$3675d6171478137e$require$t.CARETTRIM], $3675d6171478137e$require$caretTrimReplace);\n $3CqZ1(\"caret trim\", range);\n // At this point, the range is completely trimmed and\n // ready to be split into comparators.\n let rangeList = range.split(\" \").map((comp)=>$3675d6171478137e$var$parseComparator(comp, this.options)).join(\" \").split(/\\s+/)// >=0.0.0 is equivalent to *\n .map((comp)=>$3675d6171478137e$var$replaceGTE0(comp, this.options));\n if (loose) // in loose mode, throw out any that are not valid comparators\n rangeList = rangeList.filter((comp)=>{\n $3CqZ1(\"loose invalid filter\", comp, this.options);\n return !!comp.match($3675d6171478137e$require$re[$3675d6171478137e$require$t.COMPARATORLOOSE]);\n });\n $3CqZ1(\"range list\", rangeList);\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 $dSz9p(comp, this.options));\n for (const comp of comparators){\n if ($3675d6171478137e$var$isNullSet(comp)) return [\n comp\n ];\n rangeMap.set(comp.value, comp);\n }\n if (rangeMap.size > 1 && rangeMap.has(\"\")) rangeMap.delete(\"\");\n const result = [\n ...rangeMap.values()\n ];\n $3675d6171478137e$var$cache.set(memoKey, result);\n return result;\n }\n intersects(range, options) {\n if (!(range instanceof $3675d6171478137e$var$Range)) throw new TypeError(\"a Range is required\");\n return this.set.some((thisComparators)=>{\n return $3675d6171478137e$var$isSatisfiable(thisComparators, options) && range.set.some((rangeComparators)=>{\n return $3675d6171478137e$var$isSatisfiable(rangeComparators, options) && thisComparators.every((thisComparator)=>{\n return rangeComparators.every((rangeComparator)=>{\n return thisComparator.intersects(rangeComparator, options);\n });\n });\n });\n });\n }\n // if ANY of the sets match ALL of its comparators, then pass\n test(version) {\n if (!version) return false;\n if (typeof version === \"string\") try {\n version = new $aMLnW(version, this.options);\n } catch (er) {\n return false;\n }\n for(let i = 0; i < this.set.length; i++){\n if ($3675d6171478137e$var$testSet(this.set[i], version, this.options)) return true;\n }\n return false;\n }\n}\nmodule.exports = $3675d6171478137e$var$Range;\n\nvar $eGCLk = parcelRequire(\"eGCLk\");\nconst $3675d6171478137e$var$cache = new $eGCLk({\n max: 1000\n});\n\nvar $6omBt = parcelRequire(\"6omBt\");\n\nvar $dSz9p = parcelRequire(\"dSz9p\");\n\nvar $3CqZ1 = parcelRequire(\"3CqZ1\");\n\nvar $aMLnW = parcelRequire(\"aMLnW\");\n\nvar $9J5od = parcelRequire(\"9J5od\");\nvar $3675d6171478137e$require$re = $9J5od.safeRe;\nvar $3675d6171478137e$require$t = $9J5od.t;\nvar $3675d6171478137e$require$comparatorTrimReplace = $9J5od.comparatorTrimReplace;\nvar $3675d6171478137e$require$tildeTrimReplace = $9J5od.tildeTrimReplace;\nvar $3675d6171478137e$require$caretTrimReplace = $9J5od.caretTrimReplace;\n\nvar $3qgxS = parcelRequire(\"3qgxS\");\nvar $3675d6171478137e$require$FLAG_INCLUDE_PRERELEASE = $3qgxS.FLAG_INCLUDE_PRERELEASE;\nvar $3675d6171478137e$require$FLAG_LOOSE = $3qgxS.FLAG_LOOSE;\nconst $3675d6171478137e$var$isNullSet = (c)=>c.value === \"<0.0.0-0\";\nconst $3675d6171478137e$var$isAny = (c)=>c.value === \"\";\n// take a set of comparators and determine whether there\n// exists a version which can satisfy it\nconst $3675d6171478137e$var$isSatisfiable = (comparators, options)=>{\n let result = true;\n const remainingComparators = comparators.slice();\n let testComparator = remainingComparators.pop();\n while(result && remainingComparators.length){\n result = remainingComparators.every((otherComparator)=>{\n return testComparator.intersects(otherComparator, options);\n });\n testComparator = remainingComparators.pop();\n }\n return result;\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 $3675d6171478137e$var$parseComparator = (comp, options)=>{\n $3CqZ1(\"comp\", comp, options);\n comp = $3675d6171478137e$var$replaceCarets(comp, options);\n $3CqZ1(\"caret\", comp);\n comp = $3675d6171478137e$var$replaceTildes(comp, options);\n $3CqZ1(\"tildes\", comp);\n comp = $3675d6171478137e$var$replaceXRanges(comp, options);\n $3CqZ1(\"xrange\", comp);\n comp = $3675d6171478137e$var$replaceStars(comp, options);\n $3CqZ1(\"stars\", comp);\n return comp;\n};\nconst $3675d6171478137e$var$isX = (id)=>!id || id.toLowerCase() === \"x\" || id === \"*\";\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\n// ~0.0.1 --> >=0.0.1 <0.1.0-0\nconst $3675d6171478137e$var$replaceTildes = (comp, options)=>{\n return comp.trim().split(/\\s+/).map((c)=>$3675d6171478137e$var$replaceTilde(c, options)).join(\" \");\n};\nconst $3675d6171478137e$var$replaceTilde = (comp, options)=>{\n const r = options.loose ? $3675d6171478137e$require$re[$3675d6171478137e$require$t.TILDELOOSE] : $3675d6171478137e$require$re[$3675d6171478137e$require$t.TILDE];\n return comp.replace(r, (_, M, m, p, pr)=>{\n $3CqZ1(\"tilde\", comp, _, M, m, p, pr);\n let ret;\n if ($3675d6171478137e$var$isX(M)) ret = \"\";\n else if ($3675d6171478137e$var$isX(m)) ret = `>=${M}.0.0 <${+M + 1}.0.0-0`;\n else if ($3675d6171478137e$var$isX(p)) // ~1.2 == >=1.2.0 <1.3.0-0\n ret = `>=${M}.${m}.0 <${M}.${+m + 1}.0-0`;\n else if (pr) {\n $3CqZ1(\"replaceTilde pr\", pr);\n ret = `>=${M}.${m}.${p}-${pr} <${M}.${+m + 1}.0-0`;\n } else // ~1.2.3 == >=1.2.3 <1.3.0-0\n ret = `>=${M}.${m}.${p} <${M}.${+m + 1}.0-0`;\n $3CqZ1(\"tilde return\", ret);\n return ret;\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\n// ^0.0.1 --> >=0.0.1 <0.0.2-0\n// ^0.1.0 --> >=0.1.0 <0.2.0-0\nconst $3675d6171478137e$var$replaceCarets = (comp, options)=>{\n return comp.trim().split(/\\s+/).map((c)=>$3675d6171478137e$var$replaceCaret(c, options)).join(\" \");\n};\nconst $3675d6171478137e$var$replaceCaret = (comp, options)=>{\n $3CqZ1(\"caret\", comp, options);\n const r = options.loose ? $3675d6171478137e$require$re[$3675d6171478137e$require$t.CARETLOOSE] : $3675d6171478137e$require$re[$3675d6171478137e$require$t.CARET];\n const z = options.includePrerelease ? \"-0\" : \"\";\n return comp.replace(r, (_, M, m, p, pr)=>{\n $3CqZ1(\"caret\", comp, _, M, m, p, pr);\n let ret;\n if ($3675d6171478137e$var$isX(M)) ret = \"\";\n else if ($3675d6171478137e$var$isX(m)) ret = `>=${M}.0.0${z} <${+M + 1}.0.0-0`;\n else if ($3675d6171478137e$var$isX(p)) {\n if (M === \"0\") ret = `>=${M}.${m}.0${z} <${M}.${+m + 1}.0-0`;\n else ret = `>=${M}.${m}.0${z} <${+M + 1}.0.0-0`;\n } else if (pr) {\n $3CqZ1(\"replaceCaret pr\", pr);\n if (M === \"0\") {\n if (m === \"0\") ret = `>=${M}.${m}.${p}-${pr} <${M}.${m}.${+p + 1}-0`;\n else ret = `>=${M}.${m}.${p}-${pr} <${M}.${+m + 1}.0-0`;\n } else ret = `>=${M}.${m}.${p}-${pr} <${+M + 1}.0.0-0`;\n } else {\n $3CqZ1(\"no pr\");\n if (M === \"0\") {\n if (m === \"0\") ret = `>=${M}.${m}.${p}${z} <${M}.${m}.${+p + 1}-0`;\n else ret = `>=${M}.${m}.${p}${z} <${M}.${+m + 1}.0-0`;\n } else ret = `>=${M}.${m}.${p} <${+M + 1}.0.0-0`;\n }\n $3CqZ1(\"caret return\", ret);\n return ret;\n });\n};\nconst $3675d6171478137e$var$replaceXRanges = (comp, options)=>{\n $3CqZ1(\"replaceXRanges\", comp, options);\n return comp.split(/\\s+/).map((c)=>$3675d6171478137e$var$replaceXRange(c, options)).join(\" \");\n};\nconst $3675d6171478137e$var$replaceXRange = (comp, options)=>{\n comp = comp.trim();\n const r = options.loose ? $3675d6171478137e$require$re[$3675d6171478137e$require$t.XRANGELOOSE] : $3675d6171478137e$require$re[$3675d6171478137e$require$t.XRANGE];\n return comp.replace(r, (ret, gtlt, M, m, p, pr)=>{\n $3CqZ1(\"xRange\", comp, ret, gtlt, M, m, p, pr);\n const xM = $3675d6171478137e$var$isX(M);\n const xm = xM || $3675d6171478137e$var$isX(m);\n const xp = xm || $3675d6171478137e$var$isX(p);\n const anyX = xp;\n if (gtlt === \"=\" && anyX) gtlt = \"\";\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 if (xM) {\n if (gtlt === \">\" || gtlt === \"<\") // nothing is allowed\n ret = \"<0.0.0-0\";\n else // nothing is forbidden\n ret = \"*\";\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) m = 0;\n p = 0;\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) M = +M + 1;\n else m = +m + 1;\n }\n if (gtlt === \"<\") pr = \"-0\";\n ret = `${gtlt + M}.${m}.${p}${pr}`;\n } else if (xm) ret = `>=${M}.0.0${pr} <${+M + 1}.0.0-0`;\n else if (xp) ret = `>=${M}.${m}.0${pr} <${M}.${+m + 1}.0-0`;\n $3CqZ1(\"xRange return\", ret);\n return ret;\n });\n};\n// Because * is AND-ed with everything else in the comparator,\n// and '' means \"any version\", just remove the *s entirely.\nconst $3675d6171478137e$var$replaceStars = (comp, options)=>{\n $3CqZ1(\"replaceStars\", comp, options);\n // Looseness is ignored here. star is always as loose as it gets!\n return comp.trim().replace($3675d6171478137e$require$re[$3675d6171478137e$require$t.STAR], \"\");\n};\nconst $3675d6171478137e$var$replaceGTE0 = (comp, options)=>{\n $3CqZ1(\"replaceGTE0\", comp, options);\n return comp.trim().replace($3675d6171478137e$require$re[options.includePrerelease ? $3675d6171478137e$require$t.GTE0PRE : $3675d6171478137e$require$t.GTE0], \"\");\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 $3675d6171478137e$var$hyphenReplace = (incPr)=>($0, from, fM, fm, fp, fpr, fb, to, tM, tm, tp, tpr, tb)=>{\n if ($3675d6171478137e$var$isX(fM)) from = \"\";\n else if ($3675d6171478137e$var$isX(fm)) from = `>=${fM}.0.0${incPr ? \"-0\" : \"\"}`;\n else if ($3675d6171478137e$var$isX(fp)) from = `>=${fM}.${fm}.0${incPr ? \"-0\" : \"\"}`;\n else if (fpr) from = `>=${from}`;\n else from = `>=${from}${incPr ? \"-0\" : \"\"}`;\n if ($3675d6171478137e$var$isX(tM)) to = \"\";\n else if ($3675d6171478137e$var$isX(tm)) to = `<${+tM + 1}.0.0-0`;\n else if ($3675d6171478137e$var$isX(tp)) to = `<${tM}.${+tm + 1}.0-0`;\n else if (tpr) to = `<=${tM}.${tm}.${tp}-${tpr}`;\n else if (incPr) to = `<${tM}.${tm}.${+tp + 1}-0`;\n else to = `<=${to}`;\n return `${from} ${to}`.trim();\n };\nconst $3675d6171478137e$var$testSet = (set, version, options)=>{\n for(let i = 0; i < set.length; i++){\n if (!set[i].test(version)) return false;\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 $3CqZ1(set[i].semver);\n if (set[i].semver === $dSz9p.ANY) continue;\n if (set[i].semver.prerelease.length > 0) {\n const allowed = set[i].semver;\n if (allowed.major === version.major && allowed.minor === version.minor && allowed.patch === version.patch) return true;\n }\n }\n // Version has a -pre, but it's not one of the ones we like.\n return false;\n }\n return true;\n};\n\n});\nparcelRegister(\"eGCLk\", function(module, exports) {\n\"use strict\";\n\nvar $JD6z9 = parcelRequire(\"JD6z9\");\nconst $ab130e548a2d4b38$var$MAX = Symbol(\"max\");\nconst $ab130e548a2d4b38$var$LENGTH = Symbol(\"length\");\nconst $ab130e548a2d4b38$var$LENGTH_CALCULATOR = Symbol(\"lengthCalculator\");\nconst $ab130e548a2d4b38$var$ALLOW_STALE = Symbol(\"allowStale\");\nconst $ab130e548a2d4b38$var$MAX_AGE = Symbol(\"maxAge\");\nconst $ab130e548a2d4b38$var$DISPOSE = Symbol(\"dispose\");\nconst $ab130e548a2d4b38$var$NO_DISPOSE_ON_SET = Symbol(\"noDisposeOnSet\");\nconst $ab130e548a2d4b38$var$LRU_LIST = Symbol(\"lruList\");\nconst $ab130e548a2d4b38$var$CACHE = Symbol(\"cache\");\nconst $ab130e548a2d4b38$var$UPDATE_AGE_ON_GET = Symbol(\"updateAgeOnGet\");\nconst $ab130e548a2d4b38$var$naiveLength = ()=>1;\n// lruList is a yallist where the head is the youngest\n// item, and the tail is the oldest. the list contains the Hit\n// objects as the entries.\n// Each Hit object has a reference to its Yallist.Node. This\n// never changes.\n//\n// cache is a Map (or PseudoMap) that matches the keys to\n// the Yallist.Node object.\nclass $ab130e548a2d4b38$var$LRUCache {\n constructor(options){\n if (typeof options === \"number\") options = {\n max: options\n };\n if (!options) options = {};\n if (options.max && (typeof options.max !== \"number\" || options.max < 0)) throw new TypeError(\"max must be a non-negative number\");\n // Kind of weird to have a default max of Infinity, but oh well.\n const max = this[$ab130e548a2d4b38$var$MAX] = options.max || Infinity;\n const lc = options.length || $ab130e548a2d4b38$var$naiveLength;\n this[$ab130e548a2d4b38$var$LENGTH_CALCULATOR] = typeof lc !== \"function\" ? $ab130e548a2d4b38$var$naiveLength : lc;\n this[$ab130e548a2d4b38$var$ALLOW_STALE] = options.stale || false;\n if (options.maxAge && typeof options.maxAge !== \"number\") throw new TypeError(\"maxAge must be a number\");\n this[$ab130e548a2d4b38$var$MAX_AGE] = options.maxAge || 0;\n this[$ab130e548a2d4b38$var$DISPOSE] = options.dispose;\n this[$ab130e548a2d4b38$var$NO_DISPOSE_ON_SET] = options.noDisposeOnSet || false;\n this[$ab130e548a2d4b38$var$UPDATE_AGE_ON_GET] = options.updateAgeOnGet || false;\n this.reset();\n }\n // resize the cache when the max changes.\n set max(mL) {\n if (typeof mL !== \"number\" || mL < 0) throw new TypeError(\"max must be a non-negative number\");\n this[$ab130e548a2d4b38$var$MAX] = mL || Infinity;\n $ab130e548a2d4b38$var$trim(this);\n }\n get max() {\n return this[$ab130e548a2d4b38$var$MAX];\n }\n set allowStale(allowStale) {\n this[$ab130e548a2d4b38$var$ALLOW_STALE] = !!allowStale;\n }\n get allowStale() {\n return this[$ab130e548a2d4b38$var$ALLOW_STALE];\n }\n set maxAge(mA) {\n if (typeof mA !== \"number\") throw new TypeError(\"maxAge must be a non-negative number\");\n this[$ab130e548a2d4b38$var$MAX_AGE] = mA;\n $ab130e548a2d4b38$var$trim(this);\n }\n get maxAge() {\n return this[$ab130e548a2d4b38$var$MAX_AGE];\n }\n // resize the cache when the lengthCalculator changes.\n set lengthCalculator(lC) {\n if (typeof lC !== \"function\") lC = $ab130e548a2d4b38$var$naiveLength;\n if (lC !== this[$ab130e548a2d4b38$var$LENGTH_CALCULATOR]) {\n this[$ab130e548a2d4b38$var$LENGTH_CALCULATOR] = lC;\n this[$ab130e548a2d4b38$var$LENGTH] = 0;\n this[$ab130e548a2d4b38$var$LRU_LIST].forEach((hit)=>{\n hit.length = this[$ab130e548a2d4b38$var$LENGTH_CALCULATOR](hit.value, hit.key);\n this[$ab130e548a2d4b38$var$LENGTH] += hit.length;\n });\n }\n $ab130e548a2d4b38$var$trim(this);\n }\n get lengthCalculator() {\n return this[$ab130e548a2d4b38$var$LENGTH_CALCULATOR];\n }\n get length() {\n return this[$ab130e548a2d4b38$var$LENGTH];\n }\n get itemCount() {\n return this[$ab130e548a2d4b38$var$LRU_LIST].length;\n }\n rforEach(fn, thisp) {\n thisp = thisp || this;\n for(let walker = this[$ab130e548a2d4b38$var$LRU_LIST].tail; walker !== null;){\n const prev = walker.prev;\n $ab130e548a2d4b38$var$forEachStep(this, fn, walker, thisp);\n walker = prev;\n }\n }\n forEach(fn, thisp) {\n thisp = thisp || this;\n for(let walker = this[$ab130e548a2d4b38$var$LRU_LIST].head; walker !== null;){\n const next = walker.next;\n $ab130e548a2d4b38$var$forEachStep(this, fn, walker, thisp);\n walker = next;\n }\n }\n keys() {\n return this[$ab130e548a2d4b38$var$LRU_LIST].toArray().map((k)=>k.key);\n }\n values() {\n return this[$ab130e548a2d4b38$var$LRU_LIST].toArray().map((k)=>k.value);\n }\n reset() {\n if (this[$ab130e548a2d4b38$var$DISPOSE] && this[$ab130e548a2d4b38$var$LRU_LIST] && this[$ab130e548a2d4b38$var$LRU_LIST].length) this[$ab130e548a2d4b38$var$LRU_LIST].forEach((hit)=>this[$ab130e548a2d4b38$var$DISPOSE](hit.key, hit.value));\n this[$ab130e548a2d4b38$var$CACHE] = new Map() // hash of items by key\n ;\n this[$ab130e548a2d4b38$var$LRU_LIST] = new $JD6z9() // list of items in order of use recency\n ;\n this[$ab130e548a2d4b38$var$LENGTH] = 0 // length of items in the list\n ;\n }\n dump() {\n return this[$ab130e548a2d4b38$var$LRU_LIST].map((hit)=>$ab130e548a2d4b38$var$isStale(this, hit) ? false : {\n k: hit.key,\n v: hit.value,\n e: hit.now + (hit.maxAge || 0)\n }).toArray().filter((h)=>h);\n }\n dumpLru() {\n return this[$ab130e548a2d4b38$var$LRU_LIST];\n }\n set(key, value, maxAge) {\n maxAge = maxAge || this[$ab130e548a2d4b38$var$MAX_AGE];\n if (maxAge && typeof maxAge !== \"number\") throw new TypeError(\"maxAge must be a number\");\n const now = maxAge ? Date.now() : 0;\n const len = this[$ab130e548a2d4b38$var$LENGTH_CALCULATOR](value, key);\n if (this[$ab130e548a2d4b38$var$CACHE].has(key)) {\n if (len > this[$ab130e548a2d4b38$var$MAX]) {\n $ab130e548a2d4b38$var$del(this, this[$ab130e548a2d4b38$var$CACHE].get(key));\n return false;\n }\n const node = this[$ab130e548a2d4b38$var$CACHE].get(key);\n const item = node.value;\n // dispose of the old one before overwriting\n // split out into 2 ifs for better coverage tracking\n if (this[$ab130e548a2d4b38$var$DISPOSE]) {\n if (!this[$ab130e548a2d4b38$var$NO_DISPOSE_ON_SET]) this[$ab130e548a2d4b38$var$DISPOSE](key, item.value);\n }\n item.now = now;\n item.maxAge = maxAge;\n item.value = value;\n this[$ab130e548a2d4b38$var$LENGTH] += len - item.length;\n item.length = len;\n this.get(key);\n $ab130e548a2d4b38$var$trim(this);\n return true;\n }\n const hit = new $ab130e548a2d4b38$var$Entry(key, value, len, now, maxAge);\n // oversized objects fall out of cache automatically.\n if (hit.length > this[$ab130e548a2d4b38$var$MAX]) {\n if (this[$ab130e548a2d4b38$var$DISPOSE]) this[$ab130e548a2d4b38$var$DISPOSE](key, value);\n return false;\n }\n this[$ab130e548a2d4b38$var$LENGTH] += hit.length;\n this[$ab130e548a2d4b38$var$LRU_LIST].unshift(hit);\n this[$ab130e548a2d4b38$var$CACHE].set(key, this[$ab130e548a2d4b38$var$LRU_LIST].head);\n $ab130e548a2d4b38$var$trim(this);\n return true;\n }\n has(key) {\n if (!this[$ab130e548a2d4b38$var$CACHE].has(key)) return false;\n const hit = this[$ab130e548a2d4b38$var$CACHE].get(key).value;\n return !$ab130e548a2d4b38$var$isStale(this, hit);\n }\n get(key) {\n return $ab130e548a2d4b38$var$get(this, key, true);\n }\n peek(key) {\n return $ab130e548a2d4b38$var$get(this, key, false);\n }\n pop() {\n const node = this[$ab130e548a2d4b38$var$LRU_LIST].tail;\n if (!node) return null;\n $ab130e548a2d4b38$var$del(this, node);\n return node.value;\n }\n del(key) {\n $ab130e548a2d4b38$var$del(this, this[$ab130e548a2d4b38$var$CACHE].get(key));\n }\n load(arr) {\n // reset the cache\n this.reset();\n const now = Date.now();\n // A previous serialized cache has the most recent items first\n for(let l = arr.length - 1; l >= 0; l--){\n const hit = arr[l];\n const expiresAt = hit.e || 0;\n if (expiresAt === 0) // the item was created without expiration in a non aged cache\n this.set(hit.k, hit.v);\n else {\n const maxAge = expiresAt - now;\n // dont add already expired items\n if (maxAge > 0) this.set(hit.k, hit.v, maxAge);\n }\n }\n }\n prune() {\n this[$ab130e548a2d4b38$var$CACHE].forEach((value, key)=>$ab130e548a2d4b38$var$get(this, key, false));\n }\n}\nconst $ab130e548a2d4b38$var$get = (self, key, doUse)=>{\n const node = self[$ab130e548a2d4b38$var$CACHE].get(key);\n if (node) {\n const hit = node.value;\n if ($ab130e548a2d4b38$var$isStale(self, hit)) {\n $ab130e548a2d4b38$var$del(self, node);\n if (!self[$ab130e548a2d4b38$var$ALLOW_STALE]) return undefined;\n } else if (doUse) {\n if (self[$ab130e548a2d4b38$var$UPDATE_AGE_ON_GET]) node.value.now = Date.now();\n self[$ab130e548a2d4b38$var$LRU_LIST].unshiftNode(node);\n }\n return hit.value;\n }\n};\nconst $ab130e548a2d4b38$var$isStale = (self, hit)=>{\n if (!hit || !hit.maxAge && !self[$ab130e548a2d4b38$var$MAX_AGE]) return false;\n const diff = Date.now() - hit.now;\n return hit.maxAge ? diff > hit.maxAge : self[$ab130e548a2d4b38$var$MAX_AGE] && diff > self[$ab130e548a2d4b38$var$MAX_AGE];\n};\nconst $ab130e548a2d4b38$var$trim = (self)=>{\n if (self[$ab130e548a2d4b38$var$LENGTH] > self[$ab130e548a2d4b38$var$MAX]) for(let walker = self[$ab130e548a2d4b38$var$LRU_LIST].tail; self[$ab130e548a2d4b38$var$LENGTH] > self[$ab130e548a2d4b38$var$MAX] && walker !== null;){\n // We know that we're about to delete this one, and also\n // what the next least recently used key will be, so just\n // go ahead and set it now.\n const prev = walker.prev;\n $ab130e548a2d4b38$var$del(self, walker);\n walker = prev;\n }\n};\nconst $ab130e548a2d4b38$var$del = (self, node)=>{\n if (node) {\n const hit = node.value;\n if (self[$ab130e548a2d4b38$var$DISPOSE]) self[$ab130e548a2d4b38$var$DISPOSE](hit.key, hit.value);\n self[$ab130e548a2d4b38$var$LENGTH] -= hit.length;\n self[$ab130e548a2d4b38$var$CACHE].delete(hit.key);\n self[$ab130e548a2d4b38$var$LRU_LIST].removeNode(node);\n }\n};\nclass $ab130e548a2d4b38$var$Entry {\n constructor(key, value, length, now, maxAge){\n this.key = key;\n this.value = value;\n this.length = length;\n this.now = now;\n this.maxAge = maxAge || 0;\n }\n}\nconst $ab130e548a2d4b38$var$forEachStep = (self, fn, node, thisp)=>{\n let hit = node.value;\n if ($ab130e548a2d4b38$var$isStale(self, hit)) {\n $ab130e548a2d4b38$var$del(self, node);\n if (!self[$ab130e548a2d4b38$var$ALLOW_STALE]) hit = undefined;\n }\n if (hit) fn.call(thisp, hit.value, hit.key, self);\n};\nmodule.exports = $ab130e548a2d4b38$var$LRUCache;\n\n});\nparcelRegister(\"JD6z9\", function(module, exports) {\n\"use strict\";\nmodule.exports = $08928980bda7e450$var$Yallist;\n$08928980bda7e450$var$Yallist.Node = $08928980bda7e450$var$Node;\n$08928980bda7e450$var$Yallist.create = $08928980bda7e450$var$Yallist;\nfunction $08928980bda7e450$var$Yallist(list) {\n var self = this;\n if (!(self instanceof $08928980bda7e450$var$Yallist)) self = new $08928980bda7e450$var$Yallist();\n self.tail = null;\n self.head = null;\n self.length = 0;\n if (list && typeof list.forEach === \"function\") list.forEach(function(item) {\n self.push(item);\n });\n else if (arguments.length > 0) for(var i = 0, l = arguments.length; i < l; i++)self.push(arguments[i]);\n return self;\n}\n$08928980bda7e450$var$Yallist.prototype.removeNode = function(node) {\n if (node.list !== this) throw new Error(\"removing node which does not belong to this list\");\n var next = node.next;\n var prev = node.prev;\n if (next) next.prev = prev;\n if (prev) prev.next = next;\n if (node === this.head) this.head = next;\n if (node === this.tail) this.tail = prev;\n node.list.length--;\n node.next = null;\n node.prev = null;\n node.list = null;\n return next;\n};\n$08928980bda7e450$var$Yallist.prototype.unshiftNode = function(node) {\n if (node === this.head) return;\n if (node.list) node.list.removeNode(node);\n var head = this.head;\n node.list = this;\n node.next = head;\n if (head) head.prev = node;\n this.head = node;\n if (!this.tail) this.tail = node;\n this.length++;\n};\n$08928980bda7e450$var$Yallist.prototype.pushNode = function(node) {\n if (node === this.tail) return;\n if (node.list) node.list.removeNode(node);\n var tail = this.tail;\n node.list = this;\n node.prev = tail;\n if (tail) tail.next = node;\n this.tail = node;\n if (!this.head) this.head = node;\n this.length++;\n};\n$08928980bda7e450$var$Yallist.prototype.push = function() {\n for(var i = 0, l = arguments.length; i < l; i++)$08928980bda7e450$var$push(this, arguments[i]);\n return this.length;\n};\n$08928980bda7e450$var$Yallist.prototype.unshift = function() {\n for(var i = 0, l = arguments.length; i < l; i++)$08928980bda7e450$var$unshift(this, arguments[i]);\n return this.length;\n};\n$08928980bda7e450$var$Yallist.prototype.pop = function() {\n if (!this.tail) return undefined;\n var res = this.tail.value;\n this.tail = this.tail.prev;\n if (this.tail) this.tail.next = null;\n else this.head = null;\n this.length--;\n return res;\n};\n$08928980bda7e450$var$Yallist.prototype.shift = function() {\n if (!this.head) return undefined;\n var res = this.head.value;\n this.head = this.head.next;\n if (this.head) this.head.prev = null;\n else this.tail = null;\n this.length--;\n return res;\n};\n$08928980bda7e450$var$Yallist.prototype.forEach = function(fn, thisp) {\n thisp = thisp || this;\n for(var walker = this.head, i = 0; walker !== null; i++){\n fn.call(thisp, walker.value, i, this);\n walker = walker.next;\n }\n};\n$08928980bda7e450$var$Yallist.prototype.forEachReverse = function(fn, thisp) {\n thisp = thisp || this;\n for(var walker = this.tail, i = this.length - 1; walker !== null; i--){\n fn.call(thisp, walker.value, i, this);\n walker = walker.prev;\n }\n};\n$08928980bda7e450$var$Yallist.prototype.get = function(n) {\n for(var i = 0, walker = this.head; walker !== null && i < n; i++)// abort out of the list early if we hit a cycle\n walker = walker.next;\n if (i === n && walker !== null) return walker.value;\n};\n$08928980bda7e450$var$Yallist.prototype.getReverse = function(n) {\n for(var i = 0, walker = this.tail; walker !== null && i < n; i++)// abort out of the list early if we hit a cycle\n walker = walker.prev;\n if (i === n && walker !== null) return walker.value;\n};\n$08928980bda7e450$var$Yallist.prototype.map = function(fn, thisp) {\n thisp = thisp || this;\n var res = new $08928980bda7e450$var$Yallist();\n for(var walker = this.head; walker !== null;){\n res.push(fn.call(thisp, walker.value, this));\n walker = walker.next;\n }\n return res;\n};\n$08928980bda7e450$var$Yallist.prototype.mapReverse = function(fn, thisp) {\n thisp = thisp || this;\n var res = new $08928980bda7e450$var$Yallist();\n for(var walker = this.tail; walker !== null;){\n res.push(fn.call(thisp, walker.value, this));\n walker = walker.prev;\n }\n return res;\n};\n$08928980bda7e450$var$Yallist.prototype.reduce = function(fn, initial) {\n var acc;\n var walker = this.head;\n if (arguments.length > 1) acc = initial;\n else if (this.head) {\n walker = this.head.next;\n acc = this.head.value;\n } else throw new TypeError(\"Reduce of empty list with no initial value\");\n for(var i = 0; walker !== null; i++){\n acc = fn(acc, walker.value, i);\n walker = walker.next;\n }\n return acc;\n};\n$08928980bda7e450$var$Yallist.prototype.reduceReverse = function(fn, initial) {\n var acc;\n var walker = this.tail;\n if (arguments.length > 1) acc = initial;\n else if (this.tail) {\n walker = this.tail.prev;\n acc = this.tail.value;\n } else throw new TypeError(\"Reduce of empty list with no initial value\");\n for(var i = this.length - 1; walker !== null; i--){\n acc = fn(acc, walker.value, i);\n walker = walker.prev;\n }\n return acc;\n};\n$08928980bda7e450$var$Yallist.prototype.toArray = function() {\n var arr = new Array(this.length);\n for(var i = 0, walker = this.head; walker !== null; i++){\n arr[i] = walker.value;\n walker = walker.next;\n }\n return arr;\n};\n$08928980bda7e450$var$Yallist.prototype.toArrayReverse = function() {\n var arr = new Array(this.length);\n for(var i = 0, walker = this.tail; walker !== null; i++){\n arr[i] = walker.value;\n walker = walker.prev;\n }\n return arr;\n};\n$08928980bda7e450$var$Yallist.prototype.slice = function(from, to) {\n to = to || this.length;\n if (to < 0) to += this.length;\n from = from || 0;\n if (from < 0) from += this.length;\n var ret = new $08928980bda7e450$var$Yallist();\n if (to < from || to < 0) return ret;\n if (from < 0) from = 0;\n if (to > this.length) to = this.length;\n for(var i = 0, walker = this.head; walker !== null && i < from; i++)walker = walker.next;\n for(; walker !== null && i < to; i++, walker = walker.next)ret.push(walker.value);\n return ret;\n};\n$08928980bda7e450$var$Yallist.prototype.sliceReverse = function(from, to) {\n to = to || this.length;\n if (to < 0) to += this.length;\n from = from || 0;\n if (from < 0) from += this.length;\n var ret = new $08928980bda7e450$var$Yallist();\n if (to < from || to < 0) return ret;\n if (from < 0) from = 0;\n if (to > this.length) to = this.length;\n for(var i = this.length, walker = this.tail; walker !== null && i > to; i--)walker = walker.prev;\n for(; walker !== null && i > from; i--, walker = walker.prev)ret.push(walker.value);\n return ret;\n};\n$08928980bda7e450$var$Yallist.prototype.splice = function(start, deleteCount, ...nodes) {\n if (start > this.length) start = this.length - 1;\n if (start < 0) start = this.length + start;\n for(var i = 0, walker = this.head; walker !== null && i < start; i++)walker = walker.next;\n var ret = [];\n for(var i = 0; walker && i < deleteCount; i++){\n ret.push(walker.value);\n walker = this.removeNode(walker);\n }\n if (walker === null) walker = this.tail;\n if (walker !== this.head && walker !== this.tail) walker = walker.prev;\n for(var i = 0; i < nodes.length; i++)walker = $08928980bda7e450$var$insert(this, walker, nodes[i]);\n return ret;\n};\n$08928980bda7e450$var$Yallist.prototype.reverse = function() {\n var head = this.head;\n var tail = this.tail;\n for(var walker = head; walker !== null; walker = walker.prev){\n var p = walker.prev;\n walker.prev = walker.next;\n walker.next = p;\n }\n this.head = tail;\n this.tail = head;\n return this;\n};\nfunction $08928980bda7e450$var$insert(self, node, value) {\n var inserted = node === self.head ? new $08928980bda7e450$var$Node(value, null, node, self) : new $08928980bda7e450$var$Node(value, node, node.next, self);\n if (inserted.next === null) self.tail = inserted;\n if (inserted.prev === null) self.head = inserted;\n self.length++;\n return inserted;\n}\nfunction $08928980bda7e450$var$push(self, item) {\n self.tail = new $08928980bda7e450$var$Node(item, self.tail, null, self);\n if (!self.head) self.head = self.tail;\n self.length++;\n}\nfunction $08928980bda7e450$var$unshift(self, item) {\n self.head = new $08928980bda7e450$var$Node(item, null, self.head, self);\n if (!self.tail) self.tail = self.head;\n self.length++;\n}\nfunction $08928980bda7e450$var$Node(value, prev, next, list) {\n if (!(this instanceof $08928980bda7e450$var$Node)) return new $08928980bda7e450$var$Node(value, prev, next, list);\n this.list = list;\n this.value = value;\n if (prev) {\n prev.next = this;\n this.prev = prev;\n } else this.prev = null;\n if (next) {\n next.prev = this;\n this.next = next;\n } else this.next = null;\n}\n\ntry {\n // add if support for Symbol.iterator is present\n (parcelRequire(\"6mmJJ\"))($08928980bda7e450$var$Yallist);\n} catch (er) {}\n\n});\nparcelRegister(\"6mmJJ\", function(module, exports) {\n\"use strict\";\nmodule.exports = function(Yallist) {\n Yallist.prototype[Symbol.iterator] = function*() {\n for(let walker = this.head; walker; walker = walker.next)yield walker.value;\n };\n};\n\n});\n\n\n\n\n\nparcelRegister(\"2bU8Y\", function(module, exports) {\n\nvar $4FTez = parcelRequire(\"4FTez\");\nconst $198828d4690f72ab$var$satisfies = (version, range, options)=>{\n try {\n range = new $4FTez(range, options);\n } catch (er) {\n return false;\n }\n return range.test(version);\n};\nmodule.exports = $198828d4690f72ab$var$satisfies;\n\n});\n\nparcelRegister(\"eRnrA\", function(module, exports) {\n\nvar $4FTez = parcelRequire(\"4FTez\");\n// Mostly just for testing and legacy API reasons\nconst $ad183366a1601ea2$var$toComparators = (range, options)=>new $4FTez(range, options).set.map((comp)=>comp.map((c)=>c.value).join(\" \").trim().split(\" \"));\nmodule.exports = $ad183366a1601ea2$var$toComparators;\n\n});\n\nparcelRegister(\"aAvhf\", function(module, exports) {\n\nvar $aMLnW = parcelRequire(\"aMLnW\");\n\nvar $4FTez = parcelRequire(\"4FTez\");\nconst $7b55873206bf39b9$var$maxSatisfying = (versions, range, options)=>{\n let max = null;\n let maxSV = null;\n let rangeObj = null;\n try {\n rangeObj = new $4FTez(range, options);\n } catch (er) {\n return null;\n }\n versions.forEach((v)=>{\n if (rangeObj.test(v)) // satisfies(v, range, options)\n {\n if (!max || maxSV.compare(v) === -1) {\n // compare(max, v, true)\n max = v;\n maxSV = new $aMLnW(max, options);\n }\n }\n });\n return max;\n};\nmodule.exports = $7b55873206bf39b9$var$maxSatisfying;\n\n});\n\nparcelRegister(\"iWAcu\", function(module, exports) {\n\nvar $aMLnW = parcelRequire(\"aMLnW\");\n\nvar $4FTez = parcelRequire(\"4FTez\");\nconst $dca9b97392366ccd$var$minSatisfying = (versions, range, options)=>{\n let min = null;\n let minSV = null;\n let rangeObj = null;\n try {\n rangeObj = new $4FTez(range, options);\n } catch (er) {\n return null;\n }\n versions.forEach((v)=>{\n if (rangeObj.test(v)) // satisfies(v, range, options)\n {\n if (!min || minSV.compare(v) === 1) {\n // compare(min, v, true)\n min = v;\n minSV = new $aMLnW(min, options);\n }\n }\n });\n return min;\n};\nmodule.exports = $dca9b97392366ccd$var$minSatisfying;\n\n});\n\nparcelRegister(\"32TwK\", function(module, exports) {\n\nvar $aMLnW = parcelRequire(\"aMLnW\");\n\nvar $4FTez = parcelRequire(\"4FTez\");\n\nvar $cPjhN = parcelRequire(\"cPjhN\");\nconst $237ca191c3ae55cc$var$minVersion = (range, loose)=>{\n range = new $4FTez(range, loose);\n let minver = new $aMLnW(\"0.0.0\");\n if (range.test(minver)) return minver;\n minver = new $aMLnW(\"0.0.0-0\");\n if (range.test(minver)) return minver;\n minver = null;\n for(let i = 0; i < range.set.length; ++i){\n const comparators = range.set[i];\n let setMin = null;\n comparators.forEach((comparator)=>{\n // Clone to avoid manipulating the comparator's semver object.\n const compver = new $aMLnW(comparator.semver.version);\n switch(comparator.operator){\n case \">\":\n if (compver.prerelease.length === 0) compver.patch++;\n else compver.prerelease.push(0);\n compver.raw = compver.format();\n /* fallthrough */ case \"\":\n case \">=\":\n if (!setMin || $cPjhN(compver, setMin)) setMin = compver;\n break;\n case \"<\":\n case \"<=\":\n break;\n /* istanbul ignore next */ default:\n throw new Error(`Unexpected operation: ${comparator.operator}`);\n }\n });\n if (setMin && (!minver || $cPjhN(minver, setMin))) minver = setMin;\n }\n if (minver && range.test(minver)) return minver;\n return null;\n};\nmodule.exports = $237ca191c3ae55cc$var$minVersion;\n\n});\n\nparcelRegister(\"194Ox\", function(module, exports) {\n\nvar $4FTez = parcelRequire(\"4FTez\");\nconst $0d5a5dad0eeb3de1$var$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 $4FTez(range, options).range || \"*\";\n } catch (er) {\n return null;\n }\n};\nmodule.exports = $0d5a5dad0eeb3de1$var$validRange;\n\n});\n\nparcelRegister(\"a8VZj\", function(module, exports) {\n\nvar $aMLnW = parcelRequire(\"aMLnW\");\n\nvar $dSz9p = parcelRequire(\"dSz9p\");\nconst { ANY: $7627a1f1d8b68e56$var$ANY } = $dSz9p;\n\nvar $4FTez = parcelRequire(\"4FTez\");\n\nvar $2bU8Y = parcelRequire(\"2bU8Y\");\n\nvar $cPjhN = parcelRequire(\"cPjhN\");\n\nvar $avz3V = parcelRequire(\"avz3V\");\n\nvar $8aNoG = parcelRequire(\"8aNoG\");\n\nvar $9xdhv = parcelRequire(\"9xdhv\");\nconst $7627a1f1d8b68e56$var$outside = (version, range, hilo, options)=>{\n version = new $aMLnW(version, options);\n range = new $4FTez(range, options);\n let gtfn, ltefn, ltfn, comp, ecomp;\n switch(hilo){\n case \">\":\n gtfn = $cPjhN;\n ltefn = $8aNoG;\n ltfn = $avz3V;\n comp = \">\";\n ecomp = \">=\";\n break;\n case \"<\":\n gtfn = $avz3V;\n ltefn = $9xdhv;\n ltfn = $cPjhN;\n comp = \"<\";\n ecomp = \"<=\";\n break;\n default:\n throw new TypeError('Must provide a hilo val of \"<\" or \">\"');\n }\n // If it satisfies the range it is not outside\n if ($2bU8Y(version, range, options)) return false;\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 for(let i = 0; i < range.set.length; ++i){\n const comparators = range.set[i];\n let high = null;\n let low = null;\n comparators.forEach((comparator)=>{\n if (comparator.semver === $7627a1f1d8b68e56$var$ANY) comparator = new $dSz9p(\">=0.0.0\");\n high = high || comparator;\n low = low || comparator;\n if (gtfn(comparator.semver, high.semver, options)) high = comparator;\n else if (ltfn(comparator.semver, low.semver, options)) low = comparator;\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) return false;\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) && ltefn(version, low.semver)) return false;\n else if (low.operator === ecomp && ltfn(version, low.semver)) return false;\n }\n return true;\n};\nmodule.exports = $7627a1f1d8b68e56$var$outside;\n\n});\n\nparcelRegister(\"2yv5J\", function(module, exports) {\n// Determine if version is greater than all the versions possible in the range.\n\nvar $a8VZj = parcelRequire(\"a8VZj\");\nconst $1dc6dfd60f6d4b61$var$gtr = (version, range, options)=>$a8VZj(version, range, \">\", options);\nmodule.exports = $1dc6dfd60f6d4b61$var$gtr;\n\n});\n\nparcelRegister(\"46KXA\", function(module, exports) {\n\nvar $a8VZj = parcelRequire(\"a8VZj\");\n// Determine if version is less than all the versions possible in the range\nconst $2fdc264220ba3549$var$ltr = (version, range, options)=>$a8VZj(version, range, \"<\", options);\nmodule.exports = $2fdc264220ba3549$var$ltr;\n\n});\n\nparcelRegister(\"e3Thp\", function(module, exports) {\n\nvar $4FTez = parcelRequire(\"4FTez\");\nconst $a3cc39e8e39a0af8$var$intersects = (r1, r2, options)=>{\n r1 = new $4FTez(r1, options);\n r2 = new $4FTez(r2, options);\n return r1.intersects(r2, options);\n};\nmodule.exports = $a3cc39e8e39a0af8$var$intersects;\n\n});\n\nparcelRegister(\"8g51l\", function(module, exports) {\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.\n\nvar $2bU8Y = parcelRequire(\"2bU8Y\");\n\nvar $3uysP = parcelRequire(\"3uysP\");\nmodule.exports = (versions, range, options)=>{\n const set = [];\n let first = null;\n let prev = null;\n const v = versions.sort((a, b)=>$3uysP(a, b, options));\n for (const version of v){\n const included = $2bU8Y(version, range, options);\n if (included) {\n prev = version;\n if (!first) first = version;\n } else {\n if (prev) set.push([\n first,\n prev\n ]);\n prev = null;\n first = null;\n }\n }\n if (first) set.push([\n first,\n null\n ]);\n const ranges = [];\n for (const [min, max] of set){\n if (min === max) ranges.push(min);\n else if (!max && min === v[0]) ranges.push(\"*\");\n else if (!max) ranges.push(`>=${min}`);\n else if (min === v[0]) ranges.push(`<=${max}`);\n else ranges.push(`${min} - ${max}`);\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\n});\n\nparcelRegister(\"96YVB\", function(module, exports) {\n\nvar $4FTez = parcelRequire(\"4FTez\");\n\nvar $dSz9p = parcelRequire(\"dSz9p\");\nconst { ANY: $6a23efa6855afc70$var$ANY } = $dSz9p;\n\nvar $2bU8Y = parcelRequire(\"2bU8Y\");\n\nvar $3uysP = parcelRequire(\"3uysP\");\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\nconst $6a23efa6855afc70$var$subset = (sub, dom, options = {})=>{\n if (sub === dom) return true;\n sub = new $4FTez(sub, options);\n dom = new $4FTez(dom, options);\n let sawNonNull = false;\n OUTER: for (const simpleSub of sub.set){\n for (const simpleDom of dom.set){\n const isSub = $6a23efa6855afc70$var$simpleSubset(simpleSub, simpleDom, options);\n sawNonNull = sawNonNull || isSub !== null;\n if (isSub) continue OUTER;\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) return false;\n }\n return true;\n};\nconst $6a23efa6855afc70$var$minimumVersionWithPreRelease = [\n new $dSz9p(\">=0.0.0-0\")\n];\nconst $6a23efa6855afc70$var$minimumVersion = [\n new $dSz9p(\">=0.0.0\")\n];\nconst $6a23efa6855afc70$var$simpleSubset = (sub, dom, options)=>{\n if (sub === dom) return true;\n if (sub.length === 1 && sub[0].semver === $6a23efa6855afc70$var$ANY) {\n if (dom.length === 1 && dom[0].semver === $6a23efa6855afc70$var$ANY) return true;\n else if (options.includePrerelease) sub = $6a23efa6855afc70$var$minimumVersionWithPreRelease;\n else sub = $6a23efa6855afc70$var$minimumVersion;\n }\n if (dom.length === 1 && dom[0].semver === $6a23efa6855afc70$var$ANY) {\n if (options.includePrerelease) return true;\n else dom = $6a23efa6855afc70$var$minimumVersion;\n }\n const eqSet = new Set();\n let gt, lt;\n for (const c of sub){\n if (c.operator === \">\" || c.operator === \">=\") gt = $6a23efa6855afc70$var$higherGT(gt, c, options);\n else if (c.operator === \"<\" || c.operator === \"<=\") lt = $6a23efa6855afc70$var$lowerLT(lt, c, options);\n else eqSet.add(c.semver);\n }\n if (eqSet.size > 1) return null;\n let gtltComp;\n if (gt && lt) {\n gtltComp = $3uysP(gt.semver, lt.semver, options);\n if (gtltComp > 0) return null;\n else if (gtltComp === 0 && (gt.operator !== \">=\" || lt.operator !== \"<=\")) return null;\n }\n // will iterate one or zero times\n for (const eq of eqSet){\n if (gt && !$2bU8Y(eq, String(gt), options)) return null;\n if (lt && !$2bU8Y(eq, String(lt), options)) return null;\n for (const c of dom){\n if (!$2bU8Y(eq, String(c), options)) return false;\n }\n return true;\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 && !options.includePrerelease && lt.semver.prerelease.length ? lt.semver : false;\n let needDomGTPre = gt && !options.includePrerelease && 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 && lt.operator === \"<\" && needDomLTPre.prerelease[0] === 0) needDomLTPre = false;\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 && c.semver.major === needDomGTPre.major && c.semver.minor === needDomGTPre.minor && c.semver.patch === needDomGTPre.patch) needDomGTPre = false;\n }\n if (c.operator === \">\" || c.operator === \">=\") {\n higher = $6a23efa6855afc70$var$higherGT(gt, c, options);\n if (higher === c && higher !== gt) return false;\n } else if (gt.operator === \">=\" && !$2bU8Y(gt.semver, String(c), options)) return false;\n }\n if (lt) {\n if (needDomLTPre) {\n if (c.semver.prerelease && c.semver.prerelease.length && c.semver.major === needDomLTPre.major && c.semver.minor === needDomLTPre.minor && c.semver.patch === needDomLTPre.patch) needDomLTPre = false;\n }\n if (c.operator === \"<\" || c.operator === \"<=\") {\n lower = $6a23efa6855afc70$var$lowerLT(lt, c, options);\n if (lower === c && lower !== lt) return false;\n } else if (lt.operator === \"<=\" && !$2bU8Y(lt.semver, String(c), options)) return false;\n }\n if (!c.operator && (lt || gt) && gtltComp !== 0) return false;\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) return false;\n if (lt && hasDomGT && !gt && gtltComp !== 0) return false;\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) return false;\n return true;\n};\n// >=1.2.3 is lower than >1.2.3\nconst $6a23efa6855afc70$var$higherGT = (a, b, options)=>{\n if (!a) return b;\n const comp = $3uysP(a.semver, b.semver, options);\n return comp > 0 ? a : comp < 0 ? b : b.operator === \">\" && a.operator === \">=\" ? b : a;\n};\n// <=1.2.3 is higher than <1.2.3\nconst $6a23efa6855afc70$var$lowerLT = (a, b, options)=>{\n if (!a) return b;\n const comp = $3uysP(a.semver, b.semver, options);\n return comp < 0 ? a : comp > 0 ? b : b.operator === \"<\" && a.operator === \"<=\" ? b : a;\n};\nmodule.exports = $6a23efa6855afc70$var$subset;\n\n});\n\n\nparcelRegister(\"i8A01\", function(module, exports) {\n\"use strict\";\nvar $d344e60cef0315df$var$matchOperatorsRe = /[|\\\\{}()[\\]^$+*?.]/g;\nmodule.exports = function(str) {\n if (typeof str !== \"string\") throw new TypeError(\"Expected a string\");\n return str.replace($d344e60cef0315df$var$matchOperatorsRe, \"\\\\$&\");\n};\n\n});\n\nparcelRegister(\"kY0n1\", function(module, exports) {\n\n$parcel$export(module.exports, \"pathExists\", () => $f439b2cda090cb68$export$f8b9fb4db095815b);\n\nasync function $f439b2cda090cb68$export$f8b9fb4db095815b(path) {\n try {\n await (0, $d7DIX$nodefs.promises).access(path);\n return true;\n } catch {\n return false;\n }\n}\nfunction $f439b2cda090cb68$export$d878061e34fd0f5a(path) {\n try {\n (0, ($parcel$interopDefault($d7DIX$nodefs))).accessSync(path);\n return true;\n } catch {\n return false;\n }\n}\n\n});\n\nparcelRegister(\"bzNgi\", function(module, exports) {\n\n$parcel$export(module.exports, \"addExeExt\", () => $3294af0a12e8cafb$export$2d20c564cade3c93);\n$parcel$export(module.exports, \"addShExt\", () => $3294af0a12e8cafb$export$609be29b80b555e1);\n$parcel$export(module.exports, \"addShRelativePrefix\", () => $3294af0a12e8cafb$export$e1f23f8d3e53fe6);\n$parcel$export(module.exports, \"dirname\", () => $d7DIX$path.dirname);\n$parcel$export(module.exports, \"join\", () => $d7DIX$path.join);\n\n\nvar $iNGpn = parcelRequire(\"iNGpn\");\n\nvar $axeRu = parcelRequire(\"axeRu\");\nfunction $3294af0a12e8cafb$var$e(e, a) {\n return Object.keys(a).forEach((r)=>{\n \"default\" === r || \"__esModule\" === r || e.hasOwnProperty(r) || Object.defineProperty(e, r, {\n enumerable: !0,\n get () {\n return a[r];\n }\n });\n }), e;\n}\nfunction $3294af0a12e8cafb$var$a(e, a, r, s) {\n Object.defineProperty(e, a, {\n get: r,\n set: s,\n enumerable: !0,\n configurable: !0\n });\n}\nfunction $3294af0a12e8cafb$export$a8ff84c12d48cfa6(e, a = !0) {\n return a ? (0, $d7DIX$path.basename)(e) : (0, $d7DIX$path.basename)(e, (0, $d7DIX$path.extname)(e));\n}\nfunction $3294af0a12e8cafb$export$873fead74fe2f1ff(e) {\n return (0, $d7DIX$path.normalize)(e).replace(RegExp((0, $iNGpn.default)((0, $d7DIX$path.sep)) + \"$\"), \"\");\n}\nfunction $3294af0a12e8cafb$export$2d20c564cade3c93(e, a = \".exe\", r = \"\") {\n return \"win32\" === process.platform ? `${e}${a}` : `${e}${r}`;\n}\nfunction $3294af0a12e8cafb$export$3e333f8cb13439c(e, a) {\n const r = (0, $d7DIX$path.extname)(e), s = `${a}${(0, $d7DIX$path.basename)(e, r)}${r}`;\n return (0, $d7DIX$path.join)((0, $d7DIX$path.dirname)(e), s);\n}\nfunction $3294af0a12e8cafb$export$3b60a3e9bd1aef9d(e, a) {\n const r = (0, $d7DIX$path.extname)(e), s = `${(0, $d7DIX$path.basename)(e, r)}${a}${r}`;\n return (0, $d7DIX$path.join)((0, $d7DIX$path.dirname)(e), s);\n}\nfunction $3294af0a12e8cafb$export$609be29b80b555e1(e, a = \".cmd\", r = \".sh\") {\n return \"win32\" === process.platform ? `${e}${a}` : `${e}${r}`;\n}\nfunction $3294af0a12e8cafb$export$e1f23f8d3e53fe6(e) {\n return \"win32\" === process.platform ? e : \"./\" + e;\n}\nfunction $3294af0a12e8cafb$export$19c5468f88f6e968(e) {\n const a = (0, $d7DIX$path.extname)(e).length;\n return e.slice(0, -a);\n}\nfunction $3294af0a12e8cafb$export$e9c34737ac8e53d2(e, a) {\n return (0, (/*@__PURE__*/$parcel$interopDefault($axeRu)))(e, a);\n}\nfunction $3294af0a12e8cafb$export$7d0573375890d05c(e, a) {\n const r = (0, $d7DIX$path.relative)(a, e);\n return !(!r || \"..\" === r || r.startsWith(\"..\" + (0, $d7DIX$path.sep)) || r === (0, $d7DIX$path.resolve)(e));\n}\nvar $3294af0a12e8cafb$var$O = {}, $3294af0a12e8cafb$var$R = {};\n$3294af0a12e8cafb$var$a($3294af0a12e8cafb$var$R, \"name\", ()=>$3294af0a12e8cafb$export$a8ff84c12d48cfa6);\nvar $3294af0a12e8cafb$var$A = {};\n$3294af0a12e8cafb$var$a($3294af0a12e8cafb$var$A, \"normalizeTrim\", ()=>$3294af0a12e8cafb$export$873fead74fe2f1ff);\nvar $3294af0a12e8cafb$var$I = {};\n$3294af0a12e8cafb$var$a($3294af0a12e8cafb$var$I, \"addExeExt\", ()=>$3294af0a12e8cafb$export$2d20c564cade3c93);\nvar $3294af0a12e8cafb$var$T = {};\n$3294af0a12e8cafb$var$a($3294af0a12e8cafb$var$T, \"addNamePrefix\", ()=>$3294af0a12e8cafb$export$3e333f8cb13439c);\nvar $3294af0a12e8cafb$var$_ = {};\n$3294af0a12e8cafb$var$a($3294af0a12e8cafb$var$_, \"addNameSuffix\", ()=>$3294af0a12e8cafb$export$3b60a3e9bd1aef9d);\nvar $3294af0a12e8cafb$var$k = {};\n$3294af0a12e8cafb$var$a($3294af0a12e8cafb$var$k, \"addShExt\", ()=>$3294af0a12e8cafb$export$609be29b80b555e1);\nvar $3294af0a12e8cafb$var$M = {};\n$3294af0a12e8cafb$var$a($3294af0a12e8cafb$var$M, \"addShRelativePrefix\", ()=>$3294af0a12e8cafb$export$e1f23f8d3e53fe6);\nvar $3294af0a12e8cafb$var$W = {};\n$3294af0a12e8cafb$var$a($3294af0a12e8cafb$var$W, \"removeExt\", ()=>$3294af0a12e8cafb$export$19c5468f88f6e968);\nvar $3294af0a12e8cafb$var$q = {};\n$3294af0a12e8cafb$var$a($3294af0a12e8cafb$var$q, \"replaceExt\", ()=>$3294af0a12e8cafb$export$e9c34737ac8e53d2);\nvar $3294af0a12e8cafb$var$B = {};\n$3294af0a12e8cafb$var$a($3294af0a12e8cafb$var$B, \"isPathInside\", ()=>$3294af0a12e8cafb$export$7d0573375890d05c), $3294af0a12e8cafb$var$e($3294af0a12e8cafb$var$O, $3294af0a12e8cafb$var$R), $3294af0a12e8cafb$var$e($3294af0a12e8cafb$var$O, $3294af0a12e8cafb$var$A), $3294af0a12e8cafb$var$e($3294af0a12e8cafb$var$O, $3294af0a12e8cafb$var$I), $3294af0a12e8cafb$var$e($3294af0a12e8cafb$var$O, $3294af0a12e8cafb$var$T), $3294af0a12e8cafb$var$e($3294af0a12e8cafb$var$O, $3294af0a12e8cafb$var$_), $3294af0a12e8cafb$var$e($3294af0a12e8cafb$var$O, $3294af0a12e8cafb$var$k), $3294af0a12e8cafb$var$e($3294af0a12e8cafb$var$O, $3294af0a12e8cafb$var$M), $3294af0a12e8cafb$var$e($3294af0a12e8cafb$var$O, $3294af0a12e8cafb$var$W), $3294af0a12e8cafb$var$e($3294af0a12e8cafb$var$O, $3294af0a12e8cafb$var$q), $3294af0a12e8cafb$var$e($3294af0a12e8cafb$var$O, $3294af0a12e8cafb$var$B);\n\n});\nparcelRegister(\"iNGpn\", function(module, exports) {\n\n$parcel$export(module.exports, \"default\", () => $dafdb304e43595c1$export$2e2bcd8739ae039);\nfunction $dafdb304e43595c1$export$2e2bcd8739ae039(string) {\n if (typeof string !== \"string\") throw new TypeError(\"Expected a string\");\n // Escape characters with special meaning either inside or outside character sets.\n // 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 return string.replace(/[|\\\\{}()[\\]^$+*?.]/g, \"\\\\$&\").replace(/-/g, \"\\\\x2d\");\n}\n\n});\n\nparcelRegister(\"axeRu\", function(module, exports) {\n\"use strict\";\n\nfunction $7ab883abb47fe1b1$var$replaceExt(npath, ext) {\n if (typeof npath !== \"string\") return npath;\n if (npath.length === 0) return npath;\n var nFileName = $d7DIX$path.basename(npath, $d7DIX$path.extname(npath)) + ext;\n var nFilepath = $d7DIX$path.join($d7DIX$path.dirname(npath), nFileName);\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 ($7ab883abb47fe1b1$var$startsWithSingleDot(npath)) return \".\" + $d7DIX$path.sep + nFilepath;\n return nFilepath;\n}\nfunction $7ab883abb47fe1b1$var$startsWithSingleDot(fpath) {\n var first2chars = fpath.slice(0, 2);\n return first2chars === \".\" + $d7DIX$path.sep || first2chars === \"./\";\n}\nmodule.exports = $7ab883abb47fe1b1$var$replaceExt;\n\n});\n\n\nparcelRegister(\"hZdK0\", function(module, exports) {\n\"use strict\";\nvar $d182cae0c6b8c393$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $d182cae0c6b8c393$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $d182cae0c6b8c393$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $d182cae0c6b8c393$var$__createBinding(result, mod, k);\n }\n $d182cae0c6b8c393$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $d182cae0c6b8c393$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.findInPath = module.exports.which = module.exports.mkdirP = module.exports.rmRF = module.exports.mv = module.exports.cp = void 0;\n\n\nconst $d182cae0c6b8c393$var$path = $d182cae0c6b8c393$var$__importStar($d7DIX$path);\n\nconst $d182cae0c6b8c393$var$ioUtil = $d182cae0c6b8c393$var$__importStar((parcelRequire(\"ipB3d\")));\n/**\n * Copies a file or folder.\n * Based off of shelljs - https://github.com/shelljs/shelljs/blob/9237f66c52e5daa40458f94f9565e18e8132f5a6/src/cp.js\n *\n * @param source source path\n * @param dest destination path\n * @param options optional. See CopyOptions.\n */ function $d182cae0c6b8c393$var$cp(source, dest, options = {}) {\n return $d182cae0c6b8c393$var$__awaiter(this, void 0, void 0, function*() {\n const { force: force, recursive: recursive, copySourceDirectory: copySourceDirectory } = $d182cae0c6b8c393$var$readCopyOptions(options);\n const destStat = (yield $d182cae0c6b8c393$var$ioUtil.exists(dest)) ? yield $d182cae0c6b8c393$var$ioUtil.stat(dest) : null;\n // Dest is an existing file, but not forcing\n if (destStat && destStat.isFile() && !force) return;\n // If dest is an existing directory, should copy inside.\n const newDest = destStat && destStat.isDirectory() && copySourceDirectory ? $d182cae0c6b8c393$var$path.join(dest, $d182cae0c6b8c393$var$path.basename(source)) : dest;\n if (!(yield $d182cae0c6b8c393$var$ioUtil.exists(source))) throw new Error(`no such file or directory: ${source}`);\n const sourceStat = yield $d182cae0c6b8c393$var$ioUtil.stat(source);\n if (sourceStat.isDirectory()) {\n if (!recursive) throw new Error(`Failed to copy. ${source} is a directory, but tried to copy without recursive flag.`);\n else yield $d182cae0c6b8c393$var$cpDirRecursive(source, newDest, 0, force);\n } else {\n if ($d182cae0c6b8c393$var$path.relative(source, newDest) === \"\") // a file cannot be copied to itself\n throw new Error(`'${newDest}' and '${source}' are the same file`);\n yield $d182cae0c6b8c393$var$copyFile(source, newDest, force);\n }\n });\n}\nmodule.exports.cp = $d182cae0c6b8c393$var$cp;\n/**\n * Moves a path.\n *\n * @param source source path\n * @param dest destination path\n * @param options optional. See MoveOptions.\n */ function $d182cae0c6b8c393$var$mv(source, dest, options = {}) {\n return $d182cae0c6b8c393$var$__awaiter(this, void 0, void 0, function*() {\n if (yield $d182cae0c6b8c393$var$ioUtil.exists(dest)) {\n let destExists = true;\n if (yield $d182cae0c6b8c393$var$ioUtil.isDirectory(dest)) {\n // If dest is directory copy src into dest\n dest = $d182cae0c6b8c393$var$path.join(dest, $d182cae0c6b8c393$var$path.basename(source));\n destExists = yield $d182cae0c6b8c393$var$ioUtil.exists(dest);\n }\n if (destExists) {\n if (options.force == null || options.force) yield $d182cae0c6b8c393$var$rmRF(dest);\n else throw new Error(\"Destination already exists\");\n }\n }\n yield $d182cae0c6b8c393$var$mkdirP($d182cae0c6b8c393$var$path.dirname(dest));\n yield $d182cae0c6b8c393$var$ioUtil.rename(source, dest);\n });\n}\nmodule.exports.mv = $d182cae0c6b8c393$var$mv;\n/**\n * Remove a path recursively with force\n *\n * @param inputPath path to remove\n */ function $d182cae0c6b8c393$var$rmRF(inputPath) {\n return $d182cae0c6b8c393$var$__awaiter(this, void 0, void 0, function*() {\n if ($d182cae0c6b8c393$var$ioUtil.IS_WINDOWS) {\n // Check for invalid characters\n // https://docs.microsoft.com/en-us/windows/win32/fileio/naming-a-file\n if (/[*\"<>|]/.test(inputPath)) throw new Error('File path must not contain `*`, `\"`, `<`, `>` or `|` on Windows');\n }\n try {\n // note if path does not exist, error is silent\n yield $d182cae0c6b8c393$var$ioUtil.rm(inputPath, {\n force: true,\n maxRetries: 3,\n recursive: true,\n retryDelay: 300\n });\n } catch (err) {\n throw new Error(`File was unable to be removed ${err}`);\n }\n });\n}\nmodule.exports.rmRF = $d182cae0c6b8c393$var$rmRF;\n/**\n * Make a directory. Creates the full path with folders in between\n * Will throw if it fails\n *\n * @param fsPath path to create\n * @returns Promise\n */ function $d182cae0c6b8c393$var$mkdirP(fsPath) {\n return $d182cae0c6b8c393$var$__awaiter(this, void 0, void 0, function*() {\n $d7DIX$assert.ok(fsPath, \"a path argument must be provided\");\n yield $d182cae0c6b8c393$var$ioUtil.mkdir(fsPath, {\n recursive: true\n });\n });\n}\nmodule.exports.mkdirP = $d182cae0c6b8c393$var$mkdirP;\n/**\n * Returns path of a tool had the tool actually been invoked. Resolves via paths.\n * If you check and the tool does not exist, it will throw.\n *\n * @param tool name of the tool\n * @param check whether to check if tool exists\n * @returns Promise path to tool\n */ function $d182cae0c6b8c393$var$which(tool, check) {\n return $d182cae0c6b8c393$var$__awaiter(this, void 0, void 0, function*() {\n if (!tool) throw new Error(\"parameter 'tool' is required\");\n // recursive when check=true\n if (check) {\n const result = yield $d182cae0c6b8c393$var$which(tool, false);\n if (!result) {\n if ($d182cae0c6b8c393$var$ioUtil.IS_WINDOWS) throw new Error(`Unable to locate executable file: ${tool}. 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.`);\n else throw new Error(`Unable to locate executable file: ${tool}. 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.`);\n }\n return result;\n }\n const matches = yield $d182cae0c6b8c393$var$findInPath(tool);\n if (matches && matches.length > 0) return matches[0];\n return \"\";\n });\n}\nmodule.exports.which = $d182cae0c6b8c393$var$which;\n/**\n * Returns a list of all occurrences of the given tool on the system path.\n *\n * @returns Promise the paths of the tool\n */ function $d182cae0c6b8c393$var$findInPath(tool) {\n return $d182cae0c6b8c393$var$__awaiter(this, void 0, void 0, function*() {\n if (!tool) throw new Error(\"parameter 'tool' is required\");\n // build the list of extensions to try\n const extensions = [];\n if ($d182cae0c6b8c393$var$ioUtil.IS_WINDOWS && process.env[\"PATHEXT\"]) {\n for (const extension of process.env[\"PATHEXT\"].split($d182cae0c6b8c393$var$path.delimiter))if (extension) extensions.push(extension);\n }\n // if it's rooted, return it if exists. otherwise return empty.\n if ($d182cae0c6b8c393$var$ioUtil.isRooted(tool)) {\n const filePath = yield $d182cae0c6b8c393$var$ioUtil.tryGetExecutablePath(tool, extensions);\n if (filePath) return [\n filePath\n ];\n return [];\n }\n // if any path separators, return empty\n if (tool.includes($d182cae0c6b8c393$var$path.sep)) return [];\n // build the list of directories\n //\n // Note, technically \"where\" checks the current directory on Windows. From a toolkit perspective,\n // it feels like we should not do this. Checking the current directory seems like more of a use\n // case of a shell, and the which() function exposed by the toolkit should strive for consistency\n // across platforms.\n const directories = [];\n if (process.env.PATH) {\n for (const p of process.env.PATH.split($d182cae0c6b8c393$var$path.delimiter))if (p) directories.push(p);\n }\n // find all matches\n const matches = [];\n for (const directory of directories){\n const filePath = yield $d182cae0c6b8c393$var$ioUtil.tryGetExecutablePath($d182cae0c6b8c393$var$path.join(directory, tool), extensions);\n if (filePath) matches.push(filePath);\n }\n return matches;\n });\n}\nmodule.exports.findInPath = $d182cae0c6b8c393$var$findInPath;\nfunction $d182cae0c6b8c393$var$readCopyOptions(options) {\n const force = options.force == null ? true : options.force;\n const recursive = Boolean(options.recursive);\n const copySourceDirectory = options.copySourceDirectory == null ? true : Boolean(options.copySourceDirectory);\n return {\n force: force,\n recursive: recursive,\n copySourceDirectory: copySourceDirectory\n };\n}\nfunction $d182cae0c6b8c393$var$cpDirRecursive(sourceDir, destDir, currentDepth, force) {\n return $d182cae0c6b8c393$var$__awaiter(this, void 0, void 0, function*() {\n // Ensure there is not a run away recursive copy\n if (currentDepth >= 255) return;\n currentDepth++;\n yield $d182cae0c6b8c393$var$mkdirP(destDir);\n const files = yield $d182cae0c6b8c393$var$ioUtil.readdir(sourceDir);\n for (const fileName of files){\n const srcFile = `${sourceDir}/${fileName}`;\n const destFile = `${destDir}/${fileName}`;\n const srcFileStat = yield $d182cae0c6b8c393$var$ioUtil.lstat(srcFile);\n if (srcFileStat.isDirectory()) // Recurse\n yield $d182cae0c6b8c393$var$cpDirRecursive(srcFile, destFile, currentDepth, force);\n else yield $d182cae0c6b8c393$var$copyFile(srcFile, destFile, force);\n }\n // Change the mode for the newly created directory\n yield $d182cae0c6b8c393$var$ioUtil.chmod(destDir, (yield $d182cae0c6b8c393$var$ioUtil.stat(sourceDir)).mode);\n });\n}\n// Buffered file copy\nfunction $d182cae0c6b8c393$var$copyFile(srcFile, destFile, force) {\n return $d182cae0c6b8c393$var$__awaiter(this, void 0, void 0, function*() {\n if ((yield $d182cae0c6b8c393$var$ioUtil.lstat(srcFile)).isSymbolicLink()) {\n // unlink/re-link it\n try {\n yield $d182cae0c6b8c393$var$ioUtil.lstat(destFile);\n yield $d182cae0c6b8c393$var$ioUtil.unlink(destFile);\n } catch (e) {\n // Try to override file permission\n if (e.code === \"EPERM\") {\n yield $d182cae0c6b8c393$var$ioUtil.chmod(destFile, \"0666\");\n yield $d182cae0c6b8c393$var$ioUtil.unlink(destFile);\n }\n // other errors = it doesn't exist, no work to do\n }\n // Copy over symlink\n const symlinkFull = yield $d182cae0c6b8c393$var$ioUtil.readlink(srcFile);\n yield $d182cae0c6b8c393$var$ioUtil.symlink(symlinkFull, destFile, $d182cae0c6b8c393$var$ioUtil.IS_WINDOWS ? \"junction\" : null);\n } else if (!(yield $d182cae0c6b8c393$var$ioUtil.exists(destFile)) || force) yield $d182cae0c6b8c393$var$ioUtil.copyFile(srcFile, destFile);\n });\n}\n\n});\nparcelRegister(\"ipB3d\", function(module, exports) {\n\"use strict\";\nvar $d6774d525a29799d$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $d6774d525a29799d$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $d6774d525a29799d$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $d6774d525a29799d$var$__createBinding(result, mod, k);\n }\n $d6774d525a29799d$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $d6774d525a29799d$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar $d6774d525a29799d$var$_a;\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.getCmdPath = module.exports.tryGetExecutablePath = module.exports.isRooted = module.exports.isDirectory = module.exports.exists = module.exports.READONLY = module.exports.UV_FS_O_EXLOCK = module.exports.IS_WINDOWS = module.exports.unlink = module.exports.symlink = module.exports.stat = module.exports.rmdir = module.exports.rm = module.exports.rename = module.exports.readlink = module.exports.readdir = module.exports.open = module.exports.mkdir = module.exports.lstat = module.exports.copyFile = module.exports.chmod = void 0;\n\nconst $d6774d525a29799d$var$fs = $d6774d525a29799d$var$__importStar($d7DIX$fs);\n\nconst $d6774d525a29799d$var$path = $d6774d525a29799d$var$__importStar($d7DIX$path);\n$d6774d525a29799d$var$_a = $d6774d525a29799d$var$fs.promises, module.exports.chmod = $d6774d525a29799d$var$_a.chmod, module.exports.copyFile = $d6774d525a29799d$var$_a.copyFile, module.exports.lstat = $d6774d525a29799d$var$_a.lstat, module.exports.mkdir = $d6774d525a29799d$var$_a.mkdir, module.exports.open = $d6774d525a29799d$var$_a.open, module.exports.readdir = $d6774d525a29799d$var$_a.readdir, module.exports.readlink = $d6774d525a29799d$var$_a.readlink, module.exports.rename = $d6774d525a29799d$var$_a.rename, module.exports.rm = $d6774d525a29799d$var$_a.rm, module.exports.rmdir = $d6774d525a29799d$var$_a.rmdir, module.exports.stat = $d6774d525a29799d$var$_a.stat, module.exports.symlink = $d6774d525a29799d$var$_a.symlink, module.exports.unlink = $d6774d525a29799d$var$_a.unlink;\n// export const {open} = 'fs'\nmodule.exports.IS_WINDOWS = process.platform === \"win32\";\n// See https://github.com/nodejs/node/blob/d0153aee367422d0858105abec186da4dff0a0c5/deps/uv/include/uv/win.h#L691\nmodule.exports.UV_FS_O_EXLOCK = 0x10000000;\nmodule.exports.READONLY = $d6774d525a29799d$var$fs.constants.O_RDONLY;\nfunction $d6774d525a29799d$var$exists(fsPath) {\n return $d6774d525a29799d$var$__awaiter(this, void 0, void 0, function*() {\n try {\n yield module.exports.stat(fsPath);\n } catch (err) {\n if (err.code === \"ENOENT\") return false;\n throw err;\n }\n return true;\n });\n}\nmodule.exports.exists = $d6774d525a29799d$var$exists;\nfunction $d6774d525a29799d$var$isDirectory(fsPath, useStat = false) {\n return $d6774d525a29799d$var$__awaiter(this, void 0, void 0, function*() {\n const stats = useStat ? yield module.exports.stat(fsPath) : yield module.exports.lstat(fsPath);\n return stats.isDirectory();\n });\n}\nmodule.exports.isDirectory = $d6774d525a29799d$var$isDirectory;\n/**\n * On OSX/Linux, true if path starts with '/'. On Windows, true for paths like:\n * \\, \\hello, \\\\hello\\share, C:, and C:\\hello (and corresponding alternate separator cases).\n */ function $d6774d525a29799d$var$isRooted(p) {\n p = $d6774d525a29799d$var$normalizeSeparators(p);\n if (!p) throw new Error('isRooted() parameter \"p\" cannot be empty');\n if (module.exports.IS_WINDOWS) return p.startsWith(\"\\\\\") || /^[A-Z]:/i.test(p) // e.g. \\ or \\hello or \\\\hello\n ; // e.g. C: or C:\\hello\n return p.startsWith(\"/\");\n}\nmodule.exports.isRooted = $d6774d525a29799d$var$isRooted;\n/**\n * Best effort attempt to determine whether a file exists and is executable.\n * @param filePath file path to check\n * @param extensions additional file extensions to try\n * @return if file exists and is executable, returns the file path. otherwise empty string.\n */ function $d6774d525a29799d$var$tryGetExecutablePath(filePath, extensions) {\n return $d6774d525a29799d$var$__awaiter(this, void 0, void 0, function*() {\n let stats = undefined;\n try {\n // test file exists\n stats = yield module.exports.stat(filePath);\n } catch (err) {\n if (err.code !== \"ENOENT\") // eslint-disable-next-line no-console\n console.log(`Unexpected error attempting to determine if executable file exists '${filePath}': ${err}`);\n }\n if (stats && stats.isFile()) {\n if (module.exports.IS_WINDOWS) {\n // on Windows, test for valid extension\n const upperExt = $d6774d525a29799d$var$path.extname(filePath).toUpperCase();\n if (extensions.some((validExt)=>validExt.toUpperCase() === upperExt)) return filePath;\n } else {\n if ($d6774d525a29799d$var$isUnixExecutable(stats)) return filePath;\n }\n }\n // try each extension\n const originalFilePath = filePath;\n for (const extension of extensions){\n filePath = originalFilePath + extension;\n stats = undefined;\n try {\n stats = yield module.exports.stat(filePath);\n } catch (err) {\n if (err.code !== \"ENOENT\") // eslint-disable-next-line no-console\n console.log(`Unexpected error attempting to determine if executable file exists '${filePath}': ${err}`);\n }\n if (stats && stats.isFile()) {\n if (module.exports.IS_WINDOWS) {\n // preserve the case of the actual file (since an extension was appended)\n try {\n const directory = $d6774d525a29799d$var$path.dirname(filePath);\n const upperName = $d6774d525a29799d$var$path.basename(filePath).toUpperCase();\n for (const actualName of yield module.exports.readdir(directory))if (upperName === actualName.toUpperCase()) {\n filePath = $d6774d525a29799d$var$path.join(directory, actualName);\n break;\n }\n } catch (err) {\n // eslint-disable-next-line no-console\n console.log(`Unexpected error attempting to determine the actual case of the file '${filePath}': ${err}`);\n }\n return filePath;\n } else {\n if ($d6774d525a29799d$var$isUnixExecutable(stats)) return filePath;\n }\n }\n }\n return \"\";\n });\n}\nmodule.exports.tryGetExecutablePath = $d6774d525a29799d$var$tryGetExecutablePath;\nfunction $d6774d525a29799d$var$normalizeSeparators(p) {\n p = p || \"\";\n if (module.exports.IS_WINDOWS) {\n // convert slashes on Windows\n p = p.replace(/\\//g, \"\\\\\");\n // remove redundant slashes\n return p.replace(/\\\\\\\\+/g, \"\\\\\");\n }\n // remove redundant slashes\n return p.replace(/\\/\\/+/g, \"/\");\n}\n// on Mac/Linux, test the execute bit\n// R W X R W X R W X\n// 256 128 64 32 16 8 4 2 1\nfunction $d6774d525a29799d$var$isUnixExecutable(stats) {\n return (stats.mode & 1) > 0 || (stats.mode & 8) > 0 && stats.gid === process.getgid() || (stats.mode & 64) > 0 && stats.uid === process.getuid();\n}\n// Get the path of cmd.exe in windows\nfunction $d6774d525a29799d$var$getCmdPath() {\n var _a;\n return (_a = process.env[\"COMSPEC\"]) !== null && _a !== void 0 ? _a : `cmd.exe`;\n}\nmodule.exports.getCmdPath = $d6774d525a29799d$var$getCmdPath;\n\n});\n\n\nparcelRegister(\"42L4Y\", function(module, exports) {\n\"use strict\";\nvar $2f1bde43f3e1d36b$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $2f1bde43f3e1d36b$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $2f1bde43f3e1d36b$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $2f1bde43f3e1d36b$var$__createBinding(result, mod, k);\n }\n $2f1bde43f3e1d36b$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $2f1bde43f3e1d36b$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports._readLinuxVersionFile = module.exports._getOsVersion = module.exports._findMatch = void 0;\n\nconst $2f1bde43f3e1d36b$var$semver = $2f1bde43f3e1d36b$var$__importStar((parcelRequire(\"lroIv\")));\n\nvar $4t50X = parcelRequire(\"4t50X\");\n\n\n\nfunction $2f1bde43f3e1d36b$var$_findMatch(versionSpec, stable, candidates, archFilter) {\n return $2f1bde43f3e1d36b$var$__awaiter(this, void 0, void 0, function*() {\n const platFilter = $d7DIX$os.platform();\n let result;\n let match;\n let file;\n for (const candidate of candidates){\n const version = candidate.version;\n $4t50X.debug(`check ${version} satisfies ${versionSpec}`);\n if ($2f1bde43f3e1d36b$var$semver.satisfies(version, versionSpec) && (!stable || candidate.stable === stable)) {\n file = candidate.files.find((item)=>{\n $4t50X.debug(`${item.arch}===${archFilter} && ${item.platform}===${platFilter}`);\n let chk = item.arch === archFilter && item.platform === platFilter;\n if (chk && item.platform_version) {\n const osVersion = module.exports._getOsVersion();\n if (osVersion === item.platform_version) chk = true;\n else chk = $2f1bde43f3e1d36b$var$semver.satisfies(osVersion, item.platform_version);\n }\n return chk;\n });\n if (file) {\n $4t50X.debug(`matched ${candidate.version}`);\n match = candidate;\n break;\n }\n }\n }\n if (match && file) {\n // clone since we're mutating the file list to be only the file that matches\n result = Object.assign({}, match);\n result.files = [\n file\n ];\n }\n return result;\n });\n}\nmodule.exports._findMatch = $2f1bde43f3e1d36b$var$_findMatch;\nfunction $2f1bde43f3e1d36b$var$_getOsVersion() {\n // TODO: add windows and other linux, arm variants\n // right now filtering on version is only an ubuntu and macos scenario for tools we build for hosted (python)\n const plat = $d7DIX$os.platform();\n let version = \"\";\n if (plat === \"darwin\") version = $d7DIX$child_process.execSync(\"sw_vers -productVersion\").toString();\n else if (plat === \"linux\") {\n // lsb_release process not in some containers, readfile\n // Run cat /etc/lsb-release\n // DISTRIB_ID=Ubuntu\n // DISTRIB_RELEASE=18.04\n // DISTRIB_CODENAME=bionic\n // DISTRIB_DESCRIPTION=\"Ubuntu 18.04.4 LTS\"\n const lsbContents = module.exports._readLinuxVersionFile();\n if (lsbContents) {\n const lines = lsbContents.split(\"\\n\");\n for (const line of lines){\n const parts = line.split(\"=\");\n if (parts.length === 2 && (parts[0].trim() === \"VERSION_ID\" || parts[0].trim() === \"DISTRIB_RELEASE\")) {\n version = parts[1].trim().replace(/^\"/, \"\").replace(/\"$/, \"\");\n break;\n }\n }\n }\n }\n return version;\n}\nmodule.exports._getOsVersion = $2f1bde43f3e1d36b$var$_getOsVersion;\nfunction $2f1bde43f3e1d36b$var$_readLinuxVersionFile() {\n const lsbReleaseFile = \"/etc/lsb-release\";\n const osReleaseFile = \"/etc/os-release\";\n let contents = \"\";\n if ($d7DIX$fs.existsSync(lsbReleaseFile)) contents = $d7DIX$fs.readFileSync(lsbReleaseFile).toString();\n else if ($d7DIX$fs.existsSync(osReleaseFile)) contents = $d7DIX$fs.readFileSync(osReleaseFile).toString();\n return contents;\n}\nmodule.exports._readLinuxVersionFile = $2f1bde43f3e1d36b$var$_readLinuxVersionFile;\n\n});\nparcelRegister(\"lroIv\", function(module, exports) {\nexports = module.exports = SemVer;\nvar debug;\n/* istanbul ignore next */ if (typeof process === \"object\" && process.env && process.env.NODE_DEBUG && /\\bsemver\\b/i.test(process.env.NODE_DEBUG)) debug = function() {\n var args = Array.prototype.slice.call(arguments, 0);\n args.unshift(\"SEMVER\");\n console.log.apply(console, args);\n};\nelse debug = function() {};\n// Note: this is the semver.org version of the spec that it implements\n// Not necessarily the package version of this code.\nexports.SEMVER_SPEC_VERSION = \"2.0.0\";\nvar MAX_LENGTH = 256;\nvar MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER || /* istanbul ignore next */ 9007199254740991;\n// Max safe segment length for coercion.\nvar MAX_SAFE_COMPONENT_LENGTH = 16;\nvar MAX_SAFE_BUILD_LENGTH = MAX_LENGTH - 6;\n// The actual regexps go on exports.re\nvar re = exports.re = [];\nvar safeRe = exports.safeRe = [];\nvar src = exports.src = [];\nvar t = exports.tokens = {};\nvar R = 0;\nfunction tok(n) {\n t[n] = R++;\n}\nvar LETTERDASHNUMBER = \"[a-zA-Z0-9-]\";\n// Replace some greedy regex tokens to prevent regex dos issues. These regex are\n// used internally via the safeRe object since all inputs in this library get\n// normalized first to trim and collapse all extra whitespace. The original\n// regexes are exported for userland consumption and lower level usage. A\n// future breaking change could export the safer regex only with a note that\n// all input should have extra whitespace removed.\nvar safeRegexReplacements = [\n [\n \"\\\\s\",\n 1\n ],\n [\n \"\\\\d\",\n MAX_LENGTH\n ],\n [\n LETTERDASHNUMBER,\n MAX_SAFE_BUILD_LENGTH\n ]\n];\nfunction makeSafeRe(value) {\n for(var i = 0; i < safeRegexReplacements.length; i++){\n var token = safeRegexReplacements[i][0];\n var max = safeRegexReplacements[i][1];\n value = value.split(token + \"*\").join(token + \"{0,\" + max + \"}\").split(token + \"+\").join(token + \"{1,\" + max + \"}\");\n }\n return value;\n}\n// The following Regular Expressions can be used for tokenizing,\n// validating, and parsing SemVer version strings.\n// ## Numeric Identifier\n// A single `0`, or a non-zero digit followed by zero or more digits.\ntok(\"NUMERICIDENTIFIER\");\nsrc[t.NUMERICIDENTIFIER] = \"0|[1-9]\\\\d*\";\ntok(\"NUMERICIDENTIFIERLOOSE\");\nsrc[t.NUMERICIDENTIFIERLOOSE] = \"\\\\d+\";\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.\ntok(\"NONNUMERICIDENTIFIER\");\nsrc[t.NONNUMERICIDENTIFIER] = \"\\\\d*[a-zA-Z-]\" + LETTERDASHNUMBER + \"*\";\n// ## Main Version\n// Three dot-separated numeric identifiers.\ntok(\"MAINVERSION\");\nsrc[t.MAINVERSION] = \"(\" + src[t.NUMERICIDENTIFIER] + \")\\\\.\" + \"(\" + src[t.NUMERICIDENTIFIER] + \")\\\\.\" + \"(\" + src[t.NUMERICIDENTIFIER] + \")\";\ntok(\"MAINVERSIONLOOSE\");\nsrc[t.MAINVERSIONLOOSE] = \"(\" + src[t.NUMERICIDENTIFIERLOOSE] + \")\\\\.\" + \"(\" + src[t.NUMERICIDENTIFIERLOOSE] + \")\\\\.\" + \"(\" + src[t.NUMERICIDENTIFIERLOOSE] + \")\";\n// ## Pre-release Version Identifier\n// A numeric identifier, or a non-numeric identifier.\ntok(\"PRERELEASEIDENTIFIER\");\nsrc[t.PRERELEASEIDENTIFIER] = \"(?:\" + src[t.NUMERICIDENTIFIER] + \"|\" + src[t.NONNUMERICIDENTIFIER] + \")\";\ntok(\"PRERELEASEIDENTIFIERLOOSE\");\nsrc[t.PRERELEASEIDENTIFIERLOOSE] = \"(?:\" + src[t.NUMERICIDENTIFIERLOOSE] + \"|\" + src[t.NONNUMERICIDENTIFIER] + \")\";\n// ## Pre-release Version\n// Hyphen, followed by one or more dot-separated pre-release version\n// identifiers.\ntok(\"PRERELEASE\");\nsrc[t.PRERELEASE] = \"(?:-(\" + src[t.PRERELEASEIDENTIFIER] + \"(?:\\\\.\" + src[t.PRERELEASEIDENTIFIER] + \")*))\";\ntok(\"PRERELEASELOOSE\");\nsrc[t.PRERELEASELOOSE] = \"(?:-?(\" + src[t.PRERELEASEIDENTIFIERLOOSE] + \"(?:\\\\.\" + src[t.PRERELEASEIDENTIFIERLOOSE] + \")*))\";\n// ## Build Metadata Identifier\n// Any combination of digits, letters, or hyphens.\ntok(\"BUILDIDENTIFIER\");\nsrc[t.BUILDIDENTIFIER] = LETTERDASHNUMBER + \"+\";\n// ## Build Metadata\n// Plus sign, followed by one or more period-separated build metadata\n// identifiers.\ntok(\"BUILD\");\nsrc[t.BUILD] = \"(?:\\\\+(\" + src[t.BUILDIDENTIFIER] + \"(?:\\\\.\" + src[t.BUILDIDENTIFIER] + \")*))\";\n// ## Full Version String\n// A main version, followed optionally by a pre-release version and\n// build metadata.\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.\ntok(\"FULL\");\ntok(\"FULLPLAIN\");\nsrc[t.FULLPLAIN] = \"v?\" + src[t.MAINVERSION] + src[t.PRERELEASE] + \"?\" + src[t.BUILD] + \"?\";\nsrc[t.FULL] = \"^\" + src[t.FULLPLAIN] + \"$\";\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.\ntok(\"LOOSEPLAIN\");\nsrc[t.LOOSEPLAIN] = \"[v=\\\\s]*\" + src[t.MAINVERSIONLOOSE] + src[t.PRERELEASELOOSE] + \"?\" + src[t.BUILD] + \"?\";\ntok(\"LOOSE\");\nsrc[t.LOOSE] = \"^\" + src[t.LOOSEPLAIN] + \"$\";\ntok(\"GTLT\");\nsrc[t.GTLT] = \"((?:<|>)?=?)\";\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.\ntok(\"XRANGEIDENTIFIERLOOSE\");\nsrc[t.XRANGEIDENTIFIERLOOSE] = src[t.NUMERICIDENTIFIERLOOSE] + \"|x|X|\\\\*\";\ntok(\"XRANGEIDENTIFIER\");\nsrc[t.XRANGEIDENTIFIER] = src[t.NUMERICIDENTIFIER] + \"|x|X|\\\\*\";\ntok(\"XRANGEPLAIN\");\nsrc[t.XRANGEPLAIN] = \"[v=\\\\s]*(\" + src[t.XRANGEIDENTIFIER] + \")\" + \"(?:\\\\.(\" + src[t.XRANGEIDENTIFIER] + \")\" + \"(?:\\\\.(\" + src[t.XRANGEIDENTIFIER] + \")\" + \"(?:\" + src[t.PRERELEASE] + \")?\" + src[t.BUILD] + \"?\" + \")?)?\";\ntok(\"XRANGEPLAINLOOSE\");\nsrc[t.XRANGEPLAINLOOSE] = \"[v=\\\\s]*(\" + src[t.XRANGEIDENTIFIERLOOSE] + \")\" + \"(?:\\\\.(\" + src[t.XRANGEIDENTIFIERLOOSE] + \")\" + \"(?:\\\\.(\" + src[t.XRANGEIDENTIFIERLOOSE] + \")\" + \"(?:\" + src[t.PRERELEASELOOSE] + \")?\" + src[t.BUILD] + \"?\" + \")?)?\";\ntok(\"XRANGE\");\nsrc[t.XRANGE] = \"^\" + src[t.GTLT] + \"\\\\s*\" + src[t.XRANGEPLAIN] + \"$\";\ntok(\"XRANGELOOSE\");\nsrc[t.XRANGELOOSE] = \"^\" + src[t.GTLT] + \"\\\\s*\" + src[t.XRANGEPLAINLOOSE] + \"$\";\n// Coercion.\n// Extract anything that could conceivably be a part of a valid semver\ntok(\"COERCE\");\nsrc[t.COERCE] = \"(^|[^\\\\d])(\\\\d{1,\" + MAX_SAFE_COMPONENT_LENGTH + \"})\" + \"(?:\\\\.(\\\\d{1,\" + MAX_SAFE_COMPONENT_LENGTH + \"}))?\" + \"(?:\\\\.(\\\\d{1,\" + MAX_SAFE_COMPONENT_LENGTH + \"}))?\" + \"(?:$|[^\\\\d])\";\ntok(\"COERCERTL\");\nre[t.COERCERTL] = new RegExp(src[t.COERCE], \"g\");\nsafeRe[t.COERCERTL] = new RegExp(makeSafeRe(src[t.COERCE]), \"g\");\n// Tilde ranges.\n// Meaning is \"reasonably at or greater than\"\ntok(\"LONETILDE\");\nsrc[t.LONETILDE] = \"(?:~>?)\";\ntok(\"TILDETRIM\");\nsrc[t.TILDETRIM] = \"(\\\\s*)\" + src[t.LONETILDE] + \"\\\\s+\";\nre[t.TILDETRIM] = new RegExp(src[t.TILDETRIM], \"g\");\nsafeRe[t.TILDETRIM] = new RegExp(makeSafeRe(src[t.TILDETRIM]), \"g\");\nvar tildeTrimReplace = \"$1~\";\ntok(\"TILDE\");\nsrc[t.TILDE] = \"^\" + src[t.LONETILDE] + src[t.XRANGEPLAIN] + \"$\";\ntok(\"TILDELOOSE\");\nsrc[t.TILDELOOSE] = \"^\" + src[t.LONETILDE] + src[t.XRANGEPLAINLOOSE] + \"$\";\n// Caret ranges.\n// Meaning is \"at least and backwards compatible with\"\ntok(\"LONECARET\");\nsrc[t.LONECARET] = \"(?:\\\\^)\";\ntok(\"CARETTRIM\");\nsrc[t.CARETTRIM] = \"(\\\\s*)\" + src[t.LONECARET] + \"\\\\s+\";\nre[t.CARETTRIM] = new RegExp(src[t.CARETTRIM], \"g\");\nsafeRe[t.CARETTRIM] = new RegExp(makeSafeRe(src[t.CARETTRIM]), \"g\");\nvar caretTrimReplace = \"$1^\";\ntok(\"CARET\");\nsrc[t.CARET] = \"^\" + src[t.LONECARET] + src[t.XRANGEPLAIN] + \"$\";\ntok(\"CARETLOOSE\");\nsrc[t.CARETLOOSE] = \"^\" + src[t.LONECARET] + src[t.XRANGEPLAINLOOSE] + \"$\";\n// A simple gt/lt/eq thing, or just \"\" to indicate \"any version\"\ntok(\"COMPARATORLOOSE\");\nsrc[t.COMPARATORLOOSE] = \"^\" + src[t.GTLT] + \"\\\\s*(\" + src[t.LOOSEPLAIN] + \")$|^$\";\ntok(\"COMPARATOR\");\nsrc[t.COMPARATOR] = \"^\" + src[t.GTLT] + \"\\\\s*(\" + src[t.FULLPLAIN] + \")$|^$\";\n// An expression to strip any whitespace between the gtlt and the thing\n// it modifies, so that `> 1.2.3` ==> `>1.2.3`\ntok(\"COMPARATORTRIM\");\nsrc[t.COMPARATORTRIM] = \"(\\\\s*)\" + src[t.GTLT] + \"\\\\s*(\" + src[t.LOOSEPLAIN] + \"|\" + src[t.XRANGEPLAIN] + \")\";\n// this one has to use the /g flag\nre[t.COMPARATORTRIM] = new RegExp(src[t.COMPARATORTRIM], \"g\");\nsafeRe[t.COMPARATORTRIM] = new RegExp(makeSafeRe(src[t.COMPARATORTRIM]), \"g\");\nvar comparatorTrimReplace = \"$1$2$3\";\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.\ntok(\"HYPHENRANGE\");\nsrc[t.HYPHENRANGE] = \"^\\\\s*(\" + src[t.XRANGEPLAIN] + \")\" + \"\\\\s+-\\\\s+\" + \"(\" + src[t.XRANGEPLAIN] + \")\" + \"\\\\s*$\";\ntok(\"HYPHENRANGELOOSE\");\nsrc[t.HYPHENRANGELOOSE] = \"^\\\\s*(\" + src[t.XRANGEPLAINLOOSE] + \")\" + \"\\\\s+-\\\\s+\" + \"(\" + src[t.XRANGEPLAINLOOSE] + \")\" + \"\\\\s*$\";\n// Star ranges basically just allow anything at all.\ntok(\"STAR\");\nsrc[t.STAR] = \"(<|>)?=?\\\\s*\\\\*\";\n// Compile to actual regexp objects.\n// All are flag-free, unless they were created above with a flag.\nfor(var i = 0; i < R; i++){\n debug(i, src[i]);\n if (!re[i]) {\n re[i] = new RegExp(src[i]);\n // Replace all greedy whitespace to prevent regex dos issues. These regex are\n // used internally via the safeRe object since all inputs in this library get\n // normalized first to trim and collapse all extra whitespace. The original\n // regexes are exported for userland consumption and lower level usage. A\n // future breaking change could export the safer regex only with a note that\n // all input should have extra whitespace removed.\n safeRe[i] = new RegExp(makeSafeRe(src[i]));\n }\n}\nexports.parse = parse;\nfunction parse(version, options) {\n if (!options || typeof options !== \"object\") options = {\n loose: !!options,\n includePrerelease: false\n };\n if (version instanceof SemVer) return version;\n if (typeof version !== \"string\") return null;\n if (version.length > MAX_LENGTH) return null;\n var r = options.loose ? safeRe[t.LOOSE] : safeRe[t.FULL];\n if (!r.test(version)) return null;\n try {\n return new SemVer(version, options);\n } catch (er) {\n return null;\n }\n}\nexports.valid = valid;\nfunction valid(version, options) {\n var v = parse(version, options);\n return v ? v.version : null;\n}\nexports.clean = clean;\nfunction clean(version, options) {\n var s = parse(version.trim().replace(/^[=v]+/, \"\"), options);\n return s ? s.version : null;\n}\nexports.SemVer = SemVer;\nfunction SemVer(version, options) {\n if (!options || typeof options !== \"object\") options = {\n loose: !!options,\n includePrerelease: false\n };\n if (version instanceof SemVer) {\n if (version.loose === options.loose) return version;\n else version = version.version;\n } else if (typeof version !== \"string\") throw new TypeError(\"Invalid Version: \" + version);\n if (version.length > MAX_LENGTH) throw new TypeError(\"version is longer than \" + MAX_LENGTH + \" characters\");\n if (!(this instanceof SemVer)) return new SemVer(version, options);\n debug(\"SemVer\", version, options);\n this.options = options;\n this.loose = !!options.loose;\n var m = version.trim().match(options.loose ? safeRe[t.LOOSE] : safeRe[t.FULL]);\n if (!m) throw new TypeError(\"Invalid Version: \" + version);\n this.raw = version;\n // these are actually numbers\n this.major = +m[1];\n this.minor = +m[2];\n this.patch = +m[3];\n if (this.major > MAX_SAFE_INTEGER || this.major < 0) throw new TypeError(\"Invalid major version\");\n if (this.minor > MAX_SAFE_INTEGER || this.minor < 0) throw new TypeError(\"Invalid minor version\");\n if (this.patch > MAX_SAFE_INTEGER || this.patch < 0) throw new TypeError(\"Invalid patch version\");\n // numberify any prerelease numeric ids\n if (!m[4]) this.prerelease = [];\n else this.prerelease = m[4].split(\".\").map(function(id) {\n if (/^[0-9]+$/.test(id)) {\n var num = +id;\n if (num >= 0 && num < MAX_SAFE_INTEGER) return num;\n }\n return id;\n });\n this.build = m[5] ? m[5].split(\".\") : [];\n this.format();\n}\nSemVer.prototype.format = function() {\n this.version = this.major + \".\" + this.minor + \".\" + this.patch;\n if (this.prerelease.length) this.version += \"-\" + this.prerelease.join(\".\");\n return this.version;\n};\nSemVer.prototype.toString = function() {\n return this.version;\n};\nSemVer.prototype.compare = function(other) {\n debug(\"SemVer.compare\", this.version, this.options, other);\n if (!(other instanceof SemVer)) other = new SemVer(other, this.options);\n return this.compareMain(other) || this.comparePre(other);\n};\nSemVer.prototype.compareMain = function(other) {\n if (!(other instanceof SemVer)) other = new SemVer(other, this.options);\n return compareIdentifiers(this.major, other.major) || compareIdentifiers(this.minor, other.minor) || compareIdentifiers(this.patch, other.patch);\n};\nSemVer.prototype.comparePre = function(other) {\n if (!(other instanceof SemVer)) other = new SemVer(other, this.options);\n // NOT having a prerelease is > having one\n if (this.prerelease.length && !other.prerelease.length) return -1;\n else if (!this.prerelease.length && other.prerelease.length) return 1;\n else if (!this.prerelease.length && !other.prerelease.length) return 0;\n var i = 0;\n do {\n var a = this.prerelease[i];\n var b = other.prerelease[i];\n debug(\"prerelease compare\", i, a, b);\n if (a === undefined && b === undefined) return 0;\n else if (b === undefined) return 1;\n else if (a === undefined) return -1;\n else if (a === b) continue;\n else return compareIdentifiers(a, b);\n }while (++i);\n};\nSemVer.prototype.compareBuild = function(other) {\n if (!(other instanceof SemVer)) other = new SemVer(other, this.options);\n var i = 0;\n do {\n var a = this.build[i];\n var b = other.build[i];\n debug(\"prerelease compare\", i, a, b);\n if (a === undefined && b === undefined) return 0;\n else if (b === undefined) return 1;\n else if (a === undefined) return -1;\n else if (a === b) continue;\n else return compareIdentifiers(a, b);\n }while (++i);\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.\nSemVer.prototype.inc = function(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) this.inc(\"patch\", identifier);\n this.inc(\"pre\", identifier);\n break;\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 (this.minor !== 0 || this.patch !== 0 || this.prerelease.length === 0) this.major++;\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) this.minor++;\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) this.patch++;\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) this.prerelease = [\n 0\n ];\n else {\n var i = this.prerelease.length;\n while(--i >= 0)if (typeof this.prerelease[i] === \"number\") {\n this.prerelease[i]++;\n i = -2;\n }\n if (i === -1) // didn't increment anything\n this.prerelease.push(0);\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 (this.prerelease[0] === identifier) {\n if (isNaN(this.prerelease[1])) this.prerelease = [\n identifier,\n 0\n ];\n } else this.prerelease = [\n identifier,\n 0\n ];\n }\n break;\n default:\n throw new Error(\"invalid increment argument: \" + release);\n }\n this.format();\n this.raw = this.version;\n return this;\n};\nexports.inc = inc;\nfunction inc(version, release, loose, identifier) {\n if (typeof loose === \"string\") {\n identifier = loose;\n loose = undefined;\n }\n try {\n return new SemVer(version, loose).inc(release, identifier).version;\n } catch (er) {\n return null;\n }\n}\nexports.diff = diff;\nfunction diff(version1, version2) {\n if (eq(version1, version2)) return null;\n else {\n var v1 = parse(version1);\n var v2 = parse(version2);\n var prefix = \"\";\n if (v1.prerelease.length || v2.prerelease.length) {\n prefix = \"pre\";\n var defaultResult = \"prerelease\";\n }\n for(var key in v1)if (key === \"major\" || key === \"minor\" || key === \"patch\") {\n if (v1[key] !== v2[key]) return prefix + key;\n }\n return defaultResult // may be undefined\n ;\n }\n}\nexports.compareIdentifiers = compareIdentifiers;\nvar numeric = /^[0-9]+$/;\nfunction compareIdentifiers(a, b) {\n var anum = numeric.test(a);\n var bnum = numeric.test(b);\n if (anum && bnum) {\n a = +a;\n b = +b;\n }\n return a === b ? 0 : anum && !bnum ? -1 : bnum && !anum ? 1 : a < b ? -1 : 1;\n}\nexports.rcompareIdentifiers = rcompareIdentifiers;\nfunction rcompareIdentifiers(a, b) {\n return compareIdentifiers(b, a);\n}\nexports.major = major;\nfunction major(a, loose) {\n return new SemVer(a, loose).major;\n}\nexports.minor = minor;\nfunction minor(a, loose) {\n return new SemVer(a, loose).minor;\n}\nexports.patch = patch;\nfunction patch(a, loose) {\n return new SemVer(a, loose).patch;\n}\nexports.compare = compare;\nfunction compare(a, b, loose) {\n return new SemVer(a, loose).compare(new SemVer(b, loose));\n}\nexports.compareLoose = compareLoose;\nfunction compareLoose(a, b) {\n return compare(a, b, true);\n}\nexports.compareBuild = compareBuild;\nfunction compareBuild(a, b, loose) {\n var versionA = new SemVer(a, loose);\n var versionB = new SemVer(b, loose);\n return versionA.compare(versionB) || versionA.compareBuild(versionB);\n}\nexports.rcompare = rcompare;\nfunction rcompare(a, b, loose) {\n return compare(b, a, loose);\n}\nexports.sort = sort;\nfunction sort(list, loose) {\n return list.sort(function(a, b) {\n return exports.compareBuild(a, b, loose);\n });\n}\nexports.rsort = rsort;\nfunction rsort(list, loose) {\n return list.sort(function(a, b) {\n return exports.compareBuild(b, a, loose);\n });\n}\nexports.gt = gt;\nfunction gt(a, b, loose) {\n return compare(a, b, loose) > 0;\n}\nexports.lt = lt;\nfunction lt(a, b, loose) {\n return compare(a, b, loose) < 0;\n}\nexports.eq = eq;\nfunction eq(a, b, loose) {\n return compare(a, b, loose) === 0;\n}\nexports.neq = neq;\nfunction neq(a, b, loose) {\n return compare(a, b, loose) !== 0;\n}\nexports.gte = gte;\nfunction gte(a, b, loose) {\n return compare(a, b, loose) >= 0;\n}\nexports.lte = lte;\nfunction lte(a, b, loose) {\n return compare(a, b, loose) <= 0;\n}\nexports.cmp = cmp;\nfunction cmp(a, op, b, loose) {\n switch(op){\n case \"===\":\n if (typeof a === \"object\") a = a.version;\n if (typeof b === \"object\") b = b.version;\n return a === b;\n case \"!==\":\n if (typeof a === \"object\") a = a.version;\n if (typeof b === \"object\") b = b.version;\n return a !== b;\n case \"\":\n case \"=\":\n case \"==\":\n return eq(a, b, loose);\n case \"!=\":\n return neq(a, b, loose);\n case \">\":\n return gt(a, b, loose);\n case \">=\":\n return gte(a, b, loose);\n case \"<\":\n return lt(a, b, loose);\n case \"<=\":\n return lte(a, b, loose);\n default:\n throw new TypeError(\"Invalid operator: \" + op);\n }\n}\nexports.Comparator = Comparator;\nfunction Comparator(comp, options) {\n if (!options || typeof options !== \"object\") options = {\n loose: !!options,\n includePrerelease: false\n };\n if (comp instanceof Comparator) {\n if (comp.loose === !!options.loose) return comp;\n else comp = comp.value;\n }\n if (!(this instanceof Comparator)) return new Comparator(comp, options);\n comp = comp.trim().split(/\\s+/).join(\" \");\n debug(\"comparator\", comp, options);\n this.options = options;\n this.loose = !!options.loose;\n this.parse(comp);\n if (this.semver === ANY) this.value = \"\";\n else this.value = this.operator + this.semver.version;\n debug(\"comp\", this);\n}\nvar ANY = {};\nComparator.prototype.parse = function(comp) {\n var r = this.options.loose ? safeRe[t.COMPARATORLOOSE] : safeRe[t.COMPARATOR];\n var m = comp.match(r);\n if (!m) throw new TypeError(\"Invalid comparator: \" + comp);\n this.operator = m[1] !== undefined ? m[1] : \"\";\n if (this.operator === \"=\") this.operator = \"\";\n // if it literally is just '>' or '' then allow anything.\n if (!m[2]) this.semver = ANY;\n else this.semver = new SemVer(m[2], this.options.loose);\n};\nComparator.prototype.toString = function() {\n return this.value;\n};\nComparator.prototype.test = function(version) {\n debug(\"Comparator.test\", version, this.options.loose);\n if (this.semver === ANY || version === ANY) return true;\n if (typeof version === \"string\") try {\n version = new SemVer(version, this.options);\n } catch (er) {\n return false;\n }\n return cmp(version, this.operator, this.semver, this.options);\n};\nComparator.prototype.intersects = function(comp, options) {\n if (!(comp instanceof Comparator)) throw new TypeError(\"a Comparator is required\");\n if (!options || typeof options !== \"object\") options = {\n loose: !!options,\n includePrerelease: false\n };\n var rangeTmp;\n if (this.operator === \"\") {\n if (this.value === \"\") return true;\n rangeTmp = new Range(comp.value, options);\n return satisfies(this.value, rangeTmp, options);\n } else if (comp.operator === \"\") {\n if (comp.value === \"\") return true;\n rangeTmp = new Range(this.value, options);\n return satisfies(comp.semver, rangeTmp, options);\n }\n var sameDirectionIncreasing = (this.operator === \">=\" || this.operator === \">\") && (comp.operator === \">=\" || comp.operator === \">\");\n var sameDirectionDecreasing = (this.operator === \"<=\" || this.operator === \"<\") && (comp.operator === \"<=\" || comp.operator === \"<\");\n var sameSemVer = this.semver.version === comp.semver.version;\n var differentDirectionsInclusive = (this.operator === \">=\" || this.operator === \"<=\") && (comp.operator === \">=\" || comp.operator === \"<=\");\n var oppositeDirectionsLessThan = cmp(this.semver, \"<\", comp.semver, options) && (this.operator === \">=\" || this.operator === \">\") && (comp.operator === \"<=\" || comp.operator === \"<\");\n var oppositeDirectionsGreaterThan = cmp(this.semver, \">\", comp.semver, options) && (this.operator === \"<=\" || this.operator === \"<\") && (comp.operator === \">=\" || comp.operator === \">\");\n return sameDirectionIncreasing || sameDirectionDecreasing || sameSemVer && differentDirectionsInclusive || oppositeDirectionsLessThan || oppositeDirectionsGreaterThan;\n};\nexports.Range = Range;\nfunction Range(range, options) {\n if (!options || typeof options !== \"object\") options = {\n loose: !!options,\n includePrerelease: false\n };\n if (range instanceof Range) {\n if (range.loose === !!options.loose && range.includePrerelease === !!options.includePrerelease) return range;\n else return new Range(range.raw, options);\n }\n if (range instanceof Comparator) return new Range(range.value, options);\n if (!(this instanceof Range)) return new Range(range, options);\n this.options = options;\n this.loose = !!options.loose;\n this.includePrerelease = !!options.includePrerelease;\n // First reduce all whitespace as much as possible so we do not have to rely\n // on potentially slow regexes like \\s*. This is then stored and used for\n // future error messages as well.\n this.raw = range.trim().split(/\\s+/).join(\" \");\n // First, split based on boolean or ||\n this.set = this.raw.split(\"||\").map(function(range) {\n return this.parseRange(range.trim());\n }, this).filter(function(c) {\n // throw out any that are not relevant for whatever reason\n return c.length;\n });\n if (!this.set.length) throw new TypeError(\"Invalid SemVer Range: \" + this.raw);\n this.format();\n}\nRange.prototype.format = function() {\n this.range = this.set.map(function(comps) {\n return comps.join(\" \").trim();\n }).join(\"||\").trim();\n return this.range;\n};\nRange.prototype.toString = function() {\n return this.range;\n};\nRange.prototype.parseRange = function(range) {\n var loose = this.options.loose;\n // `1.2.3 - 1.2.4` => `>=1.2.3 <=1.2.4`\n var hr = loose ? safeRe[t.HYPHENRANGELOOSE] : safeRe[t.HYPHENRANGE];\n range = range.replace(hr, hyphenReplace);\n debug(\"hyphen replace\", range);\n // `> 1.2.3 < 1.2.5` => `>1.2.3 <1.2.5`\n range = range.replace(safeRe[t.COMPARATORTRIM], comparatorTrimReplace);\n debug(\"comparator trim\", range, safeRe[t.COMPARATORTRIM]);\n // `~ 1.2.3` => `~1.2.3`\n range = range.replace(safeRe[t.TILDETRIM], tildeTrimReplace);\n // `^ 1.2.3` => `^1.2.3`\n range = range.replace(safeRe[t.CARETTRIM], caretTrimReplace);\n // normalize spaces\n range = range.split(/\\s+/).join(\" \");\n // At this point, the range is completely trimmed and\n // ready to be split into comparators.\n var compRe = loose ? safeRe[t.COMPARATORLOOSE] : safeRe[t.COMPARATOR];\n var set = range.split(\" \").map(function(comp) {\n return parseComparator(comp, this.options);\n }, this).join(\" \").split(/\\s+/);\n if (this.options.loose) // in loose mode, throw out any that are not valid comparators\n set = set.filter(function(comp) {\n return !!comp.match(compRe);\n });\n set = set.map(function(comp) {\n return new Comparator(comp, this.options);\n }, this);\n return set;\n};\nRange.prototype.intersects = function(range, options) {\n if (!(range instanceof Range)) throw new TypeError(\"a Range is required\");\n return this.set.some(function(thisComparators) {\n return isSatisfiable(thisComparators, options) && range.set.some(function(rangeComparators) {\n return isSatisfiable(rangeComparators, options) && thisComparators.every(function(thisComparator) {\n return rangeComparators.every(function(rangeComparator) {\n return thisComparator.intersects(rangeComparator, options);\n });\n });\n });\n });\n};\n// take a set of comparators and determine whether there\n// exists a version which can satisfy it\nfunction isSatisfiable(comparators, options) {\n var result = true;\n var remainingComparators = comparators.slice();\n var testComparator = remainingComparators.pop();\n while(result && remainingComparators.length){\n result = remainingComparators.every(function(otherComparator) {\n return testComparator.intersects(otherComparator, options);\n });\n testComparator = remainingComparators.pop();\n }\n return result;\n}\n// Mostly just for testing and legacy API reasons\nexports.toComparators = toComparators;\nfunction toComparators(range, options) {\n return new Range(range, options).set.map(function(comp) {\n return comp.map(function(c) {\n return c.value;\n }).join(\" \").trim().split(\" \");\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.\nfunction 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}\nfunction isX(id) {\n return !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\n// ~2.0, ~2.0.x, ~>2.0, ~>2.0.x --> >=2.0.0 <2.1.0\n// ~1.2, ~1.2.x, ~>1.2, ~>1.2.x --> >=1.2.0 <1.3.0\n// ~1.2.3, ~>1.2.3 --> >=1.2.3 <1.3.0\n// ~1.2.0, ~>1.2.0 --> >=1.2.0 <1.3.0\nfunction replaceTildes(comp, options) {\n return comp.trim().split(/\\s+/).map(function(comp) {\n return replaceTilde(comp, options);\n }).join(\" \");\n}\nfunction replaceTilde(comp, options) {\n var r = options.loose ? safeRe[t.TILDELOOSE] : safeRe[t.TILDE];\n return comp.replace(r, function(_, M, m, p, pr) {\n debug(\"tilde\", comp, _, M, m, p, pr);\n var ret;\n if (isX(M)) ret = \"\";\n else if (isX(m)) ret = \">=\" + M + \".0.0 <\" + (+M + 1) + \".0.0\";\n else if (isX(p)) // ~1.2 == >=1.2.0 <1.3.0\n ret = \">=\" + M + \".\" + m + \".0 <\" + M + \".\" + (+m + 1) + \".0\";\n else if (pr) {\n debug(\"replaceTilde pr\", pr);\n ret = \">=\" + M + \".\" + m + \".\" + p + \"-\" + pr + \" <\" + M + \".\" + (+m + 1) + \".0\";\n } else // ~1.2.3 == >=1.2.3 <1.3.0\n ret = \">=\" + M + \".\" + m + \".\" + p + \" <\" + M + \".\" + (+m + 1) + \".0\";\n debug(\"tilde return\", ret);\n return ret;\n });\n}\n// ^ --> * (any, kinda silly)\n// ^2, ^2.x, ^2.x.x --> >=2.0.0 <3.0.0\n// ^2.0, ^2.0.x --> >=2.0.0 <3.0.0\n// ^1.2, ^1.2.x --> >=1.2.0 <2.0.0\n// ^1.2.3 --> >=1.2.3 <2.0.0\n// ^1.2.0 --> >=1.2.0 <2.0.0\nfunction replaceCarets(comp, options) {\n return comp.trim().split(/\\s+/).map(function(comp) {\n return replaceCaret(comp, options);\n }).join(\" \");\n}\nfunction replaceCaret(comp, options) {\n debug(\"caret\", comp, options);\n var r = options.loose ? safeRe[t.CARETLOOSE] : safeRe[t.CARET];\n return comp.replace(r, function(_, M, m, p, pr) {\n debug(\"caret\", comp, _, M, m, p, pr);\n var ret;\n if (isX(M)) ret = \"\";\n else if (isX(m)) ret = \">=\" + M + \".0.0 <\" + (+M + 1) + \".0.0\";\n else if (isX(p)) {\n if (M === \"0\") ret = \">=\" + M + \".\" + m + \".0 <\" + M + \".\" + (+m + 1) + \".0\";\n else ret = \">=\" + M + \".\" + m + \".0 <\" + (+M + 1) + \".0.0\";\n } else if (pr) {\n debug(\"replaceCaret pr\", pr);\n if (M === \"0\") {\n if (m === \"0\") ret = \">=\" + M + \".\" + m + \".\" + p + \"-\" + pr + \" <\" + M + \".\" + m + \".\" + (+p + 1);\n else ret = \">=\" + M + \".\" + m + \".\" + p + \"-\" + pr + \" <\" + M + \".\" + (+m + 1) + \".0\";\n } else ret = \">=\" + M + \".\" + m + \".\" + p + \"-\" + pr + \" <\" + (+M + 1) + \".0.0\";\n } else {\n debug(\"no pr\");\n if (M === \"0\") {\n if (m === \"0\") ret = \">=\" + M + \".\" + m + \".\" + p + \" <\" + M + \".\" + m + \".\" + (+p + 1);\n else ret = \">=\" + M + \".\" + m + \".\" + p + \" <\" + M + \".\" + (+m + 1) + \".0\";\n } else ret = \">=\" + M + \".\" + m + \".\" + p + \" <\" + (+M + 1) + \".0.0\";\n }\n debug(\"caret return\", ret);\n return ret;\n });\n}\nfunction replaceXRanges(comp, options) {\n debug(\"replaceXRanges\", comp, options);\n return comp.split(/\\s+/).map(function(comp) {\n return replaceXRange(comp, options);\n }).join(\" \");\n}\nfunction replaceXRange(comp, options) {\n comp = comp.trim();\n var r = options.loose ? safeRe[t.XRANGELOOSE] : safeRe[t.XRANGE];\n return comp.replace(r, function(ret, gtlt, M, m, p, pr) {\n debug(\"xRange\", comp, ret, gtlt, M, m, p, pr);\n var xM = isX(M);\n var xm = xM || isX(m);\n var xp = xm || isX(p);\n var anyX = xp;\n if (gtlt === \"=\" && anyX) gtlt = \"\";\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 if (xM) {\n if (gtlt === \">\" || gtlt === \"<\") // nothing is allowed\n ret = \"<0.0.0-0\";\n else // nothing is forbidden\n ret = \"*\";\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) m = 0;\n p = 0;\n if (gtlt === \">\") {\n // >1 => >=2.0.0\n // >1.2 => >=1.3.0\n // >1.2.3 => >= 1.2.4\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) M = +M + 1;\n else m = +m + 1;\n }\n ret = gtlt + M + \".\" + m + \".\" + p + pr;\n } else if (xm) ret = \">=\" + M + \".0.0\" + pr + \" <\" + (+M + 1) + \".0.0\" + pr;\n else if (xp) ret = \">=\" + M + \".\" + m + \".0\" + pr + \" <\" + M + \".\" + (+m + 1) + \".0\" + pr;\n debug(\"xRange return\", ret);\n return ret;\n });\n}\n// Because * is AND-ed with everything else in the comparator,\n// and '' means \"any version\", just remove the *s entirely.\nfunction 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(safeRe[t.STAR], \"\");\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 Any 3.4.x will do\n// 1.2 - 3.4 => >=1.2.0 <3.5.0\nfunction hyphenReplace($0, from, fM, fm, fp, fpr, fb, to, tM, tm, tp, tpr, tb) {\n if (isX(fM)) from = \"\";\n else if (isX(fm)) from = \">=\" + fM + \".0.0\";\n else if (isX(fp)) from = \">=\" + fM + \".\" + fm + \".0\";\n else from = \">=\" + from;\n if (isX(tM)) to = \"\";\n else if (isX(tm)) to = \"<\" + (+tM + 1) + \".0.0\";\n else if (isX(tp)) to = \"<\" + tM + \".\" + (+tm + 1) + \".0\";\n else if (tpr) to = \"<=\" + tM + \".\" + tm + \".\" + tp + \"-\" + tpr;\n else to = \"<=\" + to;\n return (from + \" \" + to).trim();\n}\n// if ANY of the sets match ALL of its comparators, then pass\nRange.prototype.test = function(version) {\n if (!version) return false;\n if (typeof version === \"string\") try {\n version = new SemVer(version, this.options);\n } catch (er) {\n return false;\n }\n for(var i = 0; i < this.set.length; i++){\n if (testSet(this.set[i], version, this.options)) return true;\n }\n return false;\n};\nfunction testSet(set, version, options) {\n for(var i = 0; i < set.length; i++){\n if (!set[i].test(version)) return false;\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(i = 0; i < set.length; i++){\n debug(set[i].semver);\n if (set[i].semver === ANY) continue;\n if (set[i].semver.prerelease.length > 0) {\n var allowed = set[i].semver;\n if (allowed.major === version.major && allowed.minor === version.minor && allowed.patch === version.patch) return true;\n }\n }\n // Version has a -pre, but it's not one of the ones we like.\n return false;\n }\n return true;\n}\nexports.satisfies = satisfies;\nfunction 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}\nexports.maxSatisfying = maxSatisfying;\nfunction maxSatisfying(versions, range, options) {\n var max = null;\n var maxSV = null;\n try {\n var rangeObj = new Range(range, options);\n } catch (er) {\n return null;\n }\n versions.forEach(function(v) {\n if (rangeObj.test(v)) // satisfies(v, range, options)\n {\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}\nexports.minSatisfying = minSatisfying;\nfunction minSatisfying(versions, range, options) {\n var min = null;\n var minSV = null;\n try {\n var rangeObj = new Range(range, options);\n } catch (er) {\n return null;\n }\n versions.forEach(function(v) {\n if (rangeObj.test(v)) // satisfies(v, range, options)\n {\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}\nexports.minVersion = minVersion;\nfunction minVersion(range, loose) {\n range = new Range(range, loose);\n var minver = new SemVer(\"0.0.0\");\n if (range.test(minver)) return minver;\n minver = new SemVer(\"0.0.0-0\");\n if (range.test(minver)) return minver;\n minver = null;\n for(var i = 0; i < range.set.length; ++i){\n var comparators = range.set[i];\n comparators.forEach(function(comparator) {\n // Clone to avoid manipulating the comparator's semver object.\n var compver = new SemVer(comparator.semver.version);\n switch(comparator.operator){\n case \">\":\n if (compver.prerelease.length === 0) compver.patch++;\n else compver.prerelease.push(0);\n compver.raw = compver.format();\n /* fallthrough */ case \"\":\n case \">=\":\n if (!minver || gt(minver, compver)) minver = compver;\n break;\n case \"<\":\n case \"<=\":\n break;\n /* istanbul ignore next */ default:\n throw new Error(\"Unexpected operation: \" + comparator.operator);\n }\n });\n }\n if (minver && range.test(minver)) return minver;\n return null;\n}\nexports.validRange = validRange;\nfunction 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}\n// Determine if version is less than all the versions possible in the range\nexports.ltr = ltr;\nfunction ltr(version, range, options) {\n return outside(version, range, \"<\", options);\n}\n// Determine if version is greater than all the versions possible in the range.\nexports.gtr = gtr;\nfunction gtr(version, range, options) {\n return outside(version, range, \">\", options);\n}\nexports.outside = outside;\nfunction outside(version, range, hilo, options) {\n version = new SemVer(version, options);\n range = new Range(range, options);\n var 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 // If it satisifes the range it is not outside\n if (satisfies(version, range, options)) return false;\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 for(var i = 0; i < range.set.length; ++i){\n var comparators = range.set[i];\n var high = null;\n var low = null;\n comparators.forEach(function(comparator) {\n if (comparator.semver === ANY) comparator = new Comparator(\">=0.0.0\");\n high = high || comparator;\n low = low || comparator;\n if (gtfn(comparator.semver, high.semver, options)) high = comparator;\n else if (ltfn(comparator.semver, low.semver, options)) low = comparator;\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) return false;\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) && ltefn(version, low.semver)) return false;\n else if (low.operator === ecomp && ltfn(version, low.semver)) return false;\n }\n return true;\n}\nexports.prerelease = prerelease;\nfunction prerelease(version, options) {\n var parsed = parse(version, options);\n return parsed && parsed.prerelease.length ? parsed.prerelease : null;\n}\nexports.intersects = intersects;\nfunction intersects(r1, r2, options) {\n r1 = new Range(r1, options);\n r2 = new Range(r2, options);\n return r1.intersects(r2);\n}\nexports.coerce = coerce;\nfunction coerce(version, options) {\n if (version instanceof SemVer) return version;\n if (typeof version === \"number\") version = String(version);\n if (typeof version !== \"string\") return null;\n options = options || {};\n var match = null;\n if (!options.rtl) match = version.match(safeRe[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 var next;\n while((next = safeRe[t.COERCERTL].exec(version)) && (!match || match.index + match[0].length !== version.length)){\n if (!match || next.index + next[0].length !== match.index + match[0].length) match = next;\n safeRe[t.COERCERTL].lastIndex = next.index + next[1].length + next[2].length;\n }\n // leave it in a clean state\n safeRe[t.COERCERTL].lastIndex = -1;\n }\n if (match === null) return null;\n return parse(match[2] + \".\" + (match[3] || \"0\") + \".\" + (match[4] || \"0\"), options);\n}\n\n});\n\n\nparcelRegister(\"eAF86\", function(module, exports) {\n\nvar $1W8as = parcelRequire(\"1W8as\");\n\nvar $hTpVN = parcelRequire(\"hTpVN\");\nfunction $a9f454f8e288d649$var$v4(options, buf, offset) {\n var i = buf && offset || 0;\n if (typeof options == \"string\") {\n buf = options === \"binary\" ? new Array(16) : null;\n options = null;\n }\n options = options || {};\n var rnds = options.random || (options.rng || $1W8as)();\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 // Copy bytes to buffer, if provided\n if (buf) for(var ii = 0; ii < 16; ++ii)buf[i + ii] = rnds[ii];\n return buf || $hTpVN(rnds);\n}\nmodule.exports = $a9f454f8e288d649$var$v4;\n\n});\nparcelRegister(\"1W8as\", function(module, exports) {\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\nmodule.exports = function nodeRNG() {\n return $d7DIX$crypto.randomBytes(16);\n};\n\n});\n\nparcelRegister(\"hTpVN\", function(module, exports) {\n/**\n * Convert array of 16 byte values to UUID string format of the form:\n * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\n */ var $d06bb019f71e9144$var$byteToHex = [];\nfor(var $d06bb019f71e9144$var$i = 0; $d06bb019f71e9144$var$i < 256; ++$d06bb019f71e9144$var$i)$d06bb019f71e9144$var$byteToHex[$d06bb019f71e9144$var$i] = ($d06bb019f71e9144$var$i + 0x100).toString(16).substr(1);\nfunction $d06bb019f71e9144$var$bytesToUuid(buf, offset) {\n var i = offset || 0;\n var bth = $d06bb019f71e9144$var$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++]],\n bth[buf[i++]],\n bth[buf[i++]],\n bth[buf[i++]],\n \"-\",\n bth[buf[i++]],\n bth[buf[i++]],\n \"-\",\n bth[buf[i++]],\n bth[buf[i++]],\n \"-\",\n bth[buf[i++]],\n bth[buf[i++]],\n \"-\",\n bth[buf[i++]],\n bth[buf[i++]],\n bth[buf[i++]],\n bth[buf[i++]],\n bth[buf[i++]],\n bth[buf[i++]]\n ].join(\"\");\n}\nmodule.exports = $d06bb019f71e9144$var$bytesToUuid;\n\n});\n\n\nparcelRegister(\"1f6JF\", function(module, exports) {\n\"use strict\";\nvar $0e7c6aae7f120a88$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $0e7c6aae7f120a88$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $0e7c6aae7f120a88$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $0e7c6aae7f120a88$var$__createBinding(result, mod, k);\n }\n $0e7c6aae7f120a88$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $0e7c6aae7f120a88$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.getExecOutput = module.exports.exec = void 0;\n\n\nconst $0e7c6aae7f120a88$var$tr = $0e7c6aae7f120a88$var$__importStar((parcelRequire(\"4B2AJ\")));\n/**\n * Exec a command.\n * Output will be streamed to the live console.\n * Returns promise with return code\n *\n * @param commandLine command to execute (can include additional args). Must be correctly escaped.\n * @param args optional arguments for tool. Escaping is handled by the lib.\n * @param options optional exec options. See ExecOptions\n * @returns Promise exit code\n */ function $0e7c6aae7f120a88$var$exec(commandLine, args, options) {\n return $0e7c6aae7f120a88$var$__awaiter(this, void 0, void 0, function*() {\n const commandArgs = $0e7c6aae7f120a88$var$tr.argStringToArray(commandLine);\n if (commandArgs.length === 0) throw new Error(`Parameter 'commandLine' cannot be null or empty.`);\n // Path to tool to execute should be first arg\n const toolPath = commandArgs[0];\n args = commandArgs.slice(1).concat(args || []);\n const runner = new $0e7c6aae7f120a88$var$tr.ToolRunner(toolPath, args, options);\n return runner.exec();\n });\n}\nmodule.exports.exec = $0e7c6aae7f120a88$var$exec;\n/**\n * Exec a command and get the output.\n * Output will be streamed to the live console.\n * Returns promise with the exit code and collected stdout and stderr\n *\n * @param commandLine command to execute (can include additional args). Must be correctly escaped.\n * @param args optional arguments for tool. Escaping is handled by the lib.\n * @param options optional exec options. See ExecOptions\n * @returns Promise exit code, stdout, and stderr\n */ function $0e7c6aae7f120a88$var$getExecOutput(commandLine, args, options) {\n var _a, _b;\n return $0e7c6aae7f120a88$var$__awaiter(this, void 0, void 0, function*() {\n let stdout = \"\";\n let stderr = \"\";\n //Using string decoder covers the case where a mult-byte character is split\n const stdoutDecoder = new $d7DIX$string_decoder.StringDecoder(\"utf8\");\n const stderrDecoder = new $d7DIX$string_decoder.StringDecoder(\"utf8\");\n const originalStdoutListener = (_a = options === null || options === void 0 ? void 0 : options.listeners) === null || _a === void 0 ? void 0 : _a.stdout;\n const originalStdErrListener = (_b = options === null || options === void 0 ? void 0 : options.listeners) === null || _b === void 0 ? void 0 : _b.stderr;\n const stdErrListener = (data)=>{\n stderr += stderrDecoder.write(data);\n if (originalStdErrListener) originalStdErrListener(data);\n };\n const stdOutListener = (data)=>{\n stdout += stdoutDecoder.write(data);\n if (originalStdoutListener) originalStdoutListener(data);\n };\n const listeners = Object.assign(Object.assign({}, options === null || options === void 0 ? void 0 : options.listeners), {\n stdout: stdOutListener,\n stderr: stdErrListener\n });\n const exitCode = yield $0e7c6aae7f120a88$var$exec(commandLine, args, Object.assign(Object.assign({}, options), {\n listeners: listeners\n }));\n //flush any remaining characters\n stdout += stdoutDecoder.end();\n stderr += stderrDecoder.end();\n return {\n exitCode: exitCode,\n stdout: stdout,\n stderr: stderr\n };\n });\n}\nmodule.exports.getExecOutput = $0e7c6aae7f120a88$var$getExecOutput;\n\n});\nparcelRegister(\"4B2AJ\", function(module, exports) {\n\"use strict\";\nvar $358ca0c13f34538f$var$__createBinding = module.exports && module.exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $358ca0c13f34538f$var$__setModuleDefault = module.exports && module.exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $358ca0c13f34538f$var$__importStar = module.exports && module.exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $358ca0c13f34538f$var$__createBinding(result, mod, k);\n }\n $358ca0c13f34538f$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $358ca0c13f34538f$var$__awaiter = module.exports && module.exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(module.exports, \"__esModule\", {\n value: true\n});\nmodule.exports.argStringToArray = module.exports.ToolRunner = void 0;\n\nconst $358ca0c13f34538f$var$os = $358ca0c13f34538f$var$__importStar($d7DIX$os);\n\nconst $358ca0c13f34538f$var$events = $358ca0c13f34538f$var$__importStar($d7DIX$events);\n\nconst $358ca0c13f34538f$var$child = $358ca0c13f34538f$var$__importStar($d7DIX$child_process);\n\nconst $358ca0c13f34538f$var$path = $358ca0c13f34538f$var$__importStar($d7DIX$path);\n\nconst $358ca0c13f34538f$var$io = $358ca0c13f34538f$var$__importStar((parcelRequire(\"hZdK0\")));\n\nconst $358ca0c13f34538f$var$ioUtil = $358ca0c13f34538f$var$__importStar((parcelRequire(\"ipB3d\")));\n\n/* eslint-disable @typescript-eslint/unbound-method */ const $358ca0c13f34538f$var$IS_WINDOWS = process.platform === \"win32\";\n/*\n * Class for running command line tools. Handles quoting and arg parsing in a platform agnostic way.\n */ class $358ca0c13f34538f$var$ToolRunner extends $358ca0c13f34538f$var$events.EventEmitter {\n constructor(toolPath, args, options){\n super();\n if (!toolPath) throw new Error(\"Parameter 'toolPath' cannot be null or empty.\");\n this.toolPath = toolPath;\n this.args = args || [];\n this.options = options || {};\n }\n _debug(message) {\n if (this.options.listeners && this.options.listeners.debug) this.options.listeners.debug(message);\n }\n _getCommandString(options, noPrefix) {\n const toolPath = this._getSpawnFileName();\n const args = this._getSpawnArgs(options);\n let cmd = noPrefix ? \"\" : \"[command]\"; // omit prefix when piped to a second tool\n if ($358ca0c13f34538f$var$IS_WINDOWS) {\n // Windows + cmd file\n if (this._isCmdFile()) {\n cmd += toolPath;\n for (const a of args)cmd += ` ${a}`;\n } else if (options.windowsVerbatimArguments) {\n cmd += `\"${toolPath}\"`;\n for (const a of args)cmd += ` ${a}`;\n } else {\n cmd += this._windowsQuoteCmdArg(toolPath);\n for (const a of args)cmd += ` ${this._windowsQuoteCmdArg(a)}`;\n }\n } else {\n // OSX/Linux - this can likely be improved with some form of quoting.\n // creating processes on Unix is fundamentally different than Windows.\n // on Unix, execvp() takes an arg array.\n cmd += toolPath;\n for (const a of args)cmd += ` ${a}`;\n }\n return cmd;\n }\n _processLineBuffer(data, strBuffer, onLine) {\n try {\n let s = strBuffer + data.toString();\n let n = s.indexOf($358ca0c13f34538f$var$os.EOL);\n while(n > -1){\n const line = s.substring(0, n);\n onLine(line);\n // the rest of the string ...\n s = s.substring(n + $358ca0c13f34538f$var$os.EOL.length);\n n = s.indexOf($358ca0c13f34538f$var$os.EOL);\n }\n return s;\n } catch (err) {\n // streaming lines to console is best effort. Don't fail a build.\n this._debug(`error processing line. Failed with error ${err}`);\n return \"\";\n }\n }\n _getSpawnFileName() {\n if ($358ca0c13f34538f$var$IS_WINDOWS) {\n if (this._isCmdFile()) return process.env[\"COMSPEC\"] || \"cmd.exe\";\n }\n return this.toolPath;\n }\n _getSpawnArgs(options) {\n if ($358ca0c13f34538f$var$IS_WINDOWS) {\n if (this._isCmdFile()) {\n let argline = `/D /S /C \"${this._windowsQuoteCmdArg(this.toolPath)}`;\n for (const a of this.args){\n argline += \" \";\n argline += options.windowsVerbatimArguments ? a : this._windowsQuoteCmdArg(a);\n }\n argline += '\"';\n return [\n argline\n ];\n }\n }\n return this.args;\n }\n _endsWith(str, end) {\n return str.endsWith(end);\n }\n _isCmdFile() {\n const upperToolPath = this.toolPath.toUpperCase();\n return this._endsWith(upperToolPath, \".CMD\") || this._endsWith(upperToolPath, \".BAT\");\n }\n _windowsQuoteCmdArg(arg) {\n // for .exe, apply the normal quoting rules that libuv applies\n if (!this._isCmdFile()) return this._uvQuoteCmdArg(arg);\n // otherwise apply quoting rules specific to the cmd.exe command line parser.\n // the libuv rules are generic and are not designed specifically for cmd.exe\n // command line parser.\n //\n // for a detailed description of the cmd.exe command line parser, refer to\n // http://stackoverflow.com/questions/4094699/how-does-the-windows-command-interpreter-cmd-exe-parse-scripts/7970912#7970912\n // need quotes for empty arg\n if (!arg) return '\"\"';\n // determine whether the arg needs to be quoted\n const cmdSpecialChars = [\n \" \",\n \"\t\",\n \"&\",\n \"(\",\n \")\",\n \"[\",\n \"]\",\n \"{\",\n \"}\",\n \"^\",\n \"=\",\n \";\",\n \"!\",\n \"'\",\n \"+\",\n \",\",\n \"`\",\n \"~\",\n \"|\",\n \"<\",\n \">\",\n '\"'\n ];\n let needsQuotes = false;\n for (const char of arg)if (cmdSpecialChars.some((x)=>x === char)) {\n needsQuotes = true;\n break;\n }\n // short-circuit if quotes not needed\n if (!needsQuotes) return arg;\n // the following quoting rules are very similar to the rules that by libuv applies.\n //\n // 1) wrap the string in quotes\n //\n // 2) double-up quotes - i.e. \" => \"\"\n //\n // this is different from the libuv quoting rules. libuv replaces \" with \\\", which unfortunately\n // doesn't work well with a cmd.exe command line.\n //\n // note, replacing \" with \"\" also works well if the arg is passed to a downstream .NET console app.\n // for example, the command line:\n // foo.exe \"myarg:\"\"my val\"\"\"\n // is parsed by a .NET console app into an arg array:\n // [ \"myarg:\\\"my val\\\"\" ]\n // which is the same end result when applying libuv quoting rules. although the actual\n // command line from libuv quoting rules would look like:\n // foo.exe \"myarg:\\\"my val\\\"\"\n //\n // 3) double-up slashes that precede a quote,\n // e.g. hello \\world => \"hello \\world\"\n // hello\\\"world => \"hello\\\\\"\"world\"\n // hello\\\\\"world => \"hello\\\\\\\\\"\"world\"\n // hello world\\ => \"hello world\\\\\"\n //\n // technically this is not required for a cmd.exe command line, or the batch argument parser.\n // the reasons for including this as a .cmd quoting rule are:\n //\n // a) this is optimized for the scenario where the argument is passed from the .cmd file to an\n // external program. many programs (e.g. .NET console apps) rely on the slash-doubling rule.\n //\n // b) it's what we've been doing previously (by deferring to node default behavior) and we\n // haven't heard any complaints about that aspect.\n //\n // note, a weakness of the quoting rules chosen here, is that % is not escaped. in fact, % cannot be\n // escaped when used on the command line directly - even though within a .cmd file % can be escaped\n // by using %%.\n //\n // the saving grace is, on the command line, %var% is left as-is if var is not defined. this contrasts\n // the line parsing rules within a .cmd file, where if var is not defined it is replaced with nothing.\n //\n // one option that was explored was replacing % with ^% - i.e. %var% => ^%var^%. this hack would\n // often work, since it is unlikely that var^ would exist, and the ^ character is removed when the\n // variable is used. the problem, however, is that ^ is not removed when %* is used to pass the args\n // to an external program.\n //\n // an unexplored potential solution for the % escaping problem, is to create a wrapper .cmd file.\n // % can be escaped within a .cmd file.\n let reverse = '\"';\n let quoteHit = true;\n for(let i = arg.length; i > 0; i--){\n // walk the string in reverse\n reverse += arg[i - 1];\n if (quoteHit && arg[i - 1] === \"\\\\\") reverse += \"\\\\\"; // double the slash\n else if (arg[i - 1] === '\"') {\n quoteHit = true;\n reverse += '\"'; // double the quote\n } else quoteHit = false;\n }\n reverse += '\"';\n return reverse.split(\"\").reverse().join(\"\");\n }\n _uvQuoteCmdArg(arg) {\n // Tool runner wraps child_process.spawn() and needs to apply the same quoting as\n // Node in certain cases where the undocumented spawn option windowsVerbatimArguments\n // is used.\n //\n // Since this function is a port of quote_cmd_arg from Node 4.x (technically, lib UV,\n // see https://github.com/nodejs/node/blob/v4.x/deps/uv/src/win/process.c for details),\n // pasting copyright notice from Node within this function:\n //\n // Copyright Joyent, Inc. and other Node contributors. All rights reserved.\n //\n // Permission is hereby granted, free of charge, to any person obtaining a copy\n // of this software and associated documentation files (the \"Software\"), to\n // deal in the Software without restriction, including without limitation the\n // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or\n // sell copies of the Software, and to permit persons to whom the Software is\n // furnished to do so, subject to the following conditions:\n //\n // The above copyright notice and this permission notice shall be included in\n // all copies or substantial portions of the Software.\n //\n // THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\n // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS\n // IN THE SOFTWARE.\n if (!arg) // Need double quotation for empty argument\n return '\"\"';\n if (!arg.includes(\" \") && !arg.includes(\"\t\") && !arg.includes('\"')) // No quotation needed\n return arg;\n if (!arg.includes('\"') && !arg.includes(\"\\\\\")) // No embedded double quotes or backslashes, so I can just wrap\n // quote marks around the whole thing.\n return `\"${arg}\"`;\n // Expected input/output:\n // input : hello\"world\n // output: \"hello\\\"world\"\n // input : hello\"\"world\n // output: \"hello\\\"\\\"world\"\n // input : hello\\world\n // output: hello\\world\n // input : hello\\\\world\n // output: hello\\\\world\n // input : hello\\\"world\n // output: \"hello\\\\\\\"world\"\n // input : hello\\\\\"world\n // output: \"hello\\\\\\\\\\\"world\"\n // input : hello world\\\n // output: \"hello world\\\\\" - note the comment in libuv actually reads \"hello world\\\"\n // but it appears the comment is wrong, it should be \"hello world\\\\\"\n let reverse = '\"';\n let quoteHit = true;\n for(let i = arg.length; i > 0; i--){\n // walk the string in reverse\n reverse += arg[i - 1];\n if (quoteHit && arg[i - 1] === \"\\\\\") reverse += \"\\\\\";\n else if (arg[i - 1] === '\"') {\n quoteHit = true;\n reverse += \"\\\\\";\n } else quoteHit = false;\n }\n reverse += '\"';\n return reverse.split(\"\").reverse().join(\"\");\n }\n _cloneExecOptions(options) {\n options = options || {};\n const result = {\n cwd: options.cwd || process.cwd(),\n env: options.env || process.env,\n silent: options.silent || false,\n windowsVerbatimArguments: options.windowsVerbatimArguments || false,\n failOnStdErr: options.failOnStdErr || false,\n ignoreReturnCode: options.ignoreReturnCode || false,\n delay: options.delay || 10000\n };\n result.outStream = options.outStream || process.stdout;\n result.errStream = options.errStream || process.stderr;\n return result;\n }\n _getSpawnOptions(options, toolPath) {\n options = options || {};\n const result = {};\n result.cwd = options.cwd;\n result.env = options.env;\n result[\"windowsVerbatimArguments\"] = options.windowsVerbatimArguments || this._isCmdFile();\n if (options.windowsVerbatimArguments) result.argv0 = `\"${toolPath}\"`;\n return result;\n }\n /**\n * Exec a tool.\n * Output will be streamed to the live console.\n * Returns promise with return code\n *\n * @param tool path to tool to exec\n * @param options optional exec options. See ExecOptions\n * @returns number\n */ exec() {\n return $358ca0c13f34538f$var$__awaiter(this, void 0, void 0, function*() {\n // root the tool path if it is unrooted and contains relative pathing\n if (!$358ca0c13f34538f$var$ioUtil.isRooted(this.toolPath) && (this.toolPath.includes(\"/\") || $358ca0c13f34538f$var$IS_WINDOWS && this.toolPath.includes(\"\\\\\"))) // prefer options.cwd if it is specified, however options.cwd may also need to be rooted\n this.toolPath = $358ca0c13f34538f$var$path.resolve(process.cwd(), this.options.cwd || process.cwd(), this.toolPath);\n // if the tool is only a file name, then resolve it from the PATH\n // otherwise verify it exists (add extension on Windows if necessary)\n this.toolPath = yield $358ca0c13f34538f$var$io.which(this.toolPath, true);\n return new Promise((resolve, reject)=>$358ca0c13f34538f$var$__awaiter(this, void 0, void 0, function*() {\n this._debug(`exec tool: ${this.toolPath}`);\n this._debug(\"arguments:\");\n for (const arg of this.args)this._debug(` ${arg}`);\n const optionsNonNull = this._cloneExecOptions(this.options);\n if (!optionsNonNull.silent && optionsNonNull.outStream) optionsNonNull.outStream.write(this._getCommandString(optionsNonNull) + $358ca0c13f34538f$var$os.EOL);\n const state = new $358ca0c13f34538f$var$ExecState(optionsNonNull, this.toolPath);\n state.on(\"debug\", (message)=>{\n this._debug(message);\n });\n if (this.options.cwd && !(yield $358ca0c13f34538f$var$ioUtil.exists(this.options.cwd))) return reject(new Error(`The cwd: ${this.options.cwd} does not exist!`));\n const fileName = this._getSpawnFileName();\n const cp = $358ca0c13f34538f$var$child.spawn(fileName, this._getSpawnArgs(optionsNonNull), this._getSpawnOptions(this.options, fileName));\n let stdbuffer = \"\";\n if (cp.stdout) cp.stdout.on(\"data\", (data)=>{\n if (this.options.listeners && this.options.listeners.stdout) this.options.listeners.stdout(data);\n if (!optionsNonNull.silent && optionsNonNull.outStream) optionsNonNull.outStream.write(data);\n stdbuffer = this._processLineBuffer(data, stdbuffer, (line)=>{\n if (this.options.listeners && this.options.listeners.stdline) this.options.listeners.stdline(line);\n });\n });\n let errbuffer = \"\";\n if (cp.stderr) cp.stderr.on(\"data\", (data)=>{\n state.processStderr = true;\n if (this.options.listeners && this.options.listeners.stderr) this.options.listeners.stderr(data);\n if (!optionsNonNull.silent && optionsNonNull.errStream && optionsNonNull.outStream) {\n const s = optionsNonNull.failOnStdErr ? optionsNonNull.errStream : optionsNonNull.outStream;\n s.write(data);\n }\n errbuffer = this._processLineBuffer(data, errbuffer, (line)=>{\n if (this.options.listeners && this.options.listeners.errline) this.options.listeners.errline(line);\n });\n });\n cp.on(\"error\", (err)=>{\n state.processError = err.message;\n state.processExited = true;\n state.processClosed = true;\n state.CheckComplete();\n });\n cp.on(\"exit\", (code)=>{\n state.processExitCode = code;\n state.processExited = true;\n this._debug(`Exit code ${code} received from tool '${this.toolPath}'`);\n state.CheckComplete();\n });\n cp.on(\"close\", (code)=>{\n state.processExitCode = code;\n state.processExited = true;\n state.processClosed = true;\n this._debug(`STDIO streams have closed for tool '${this.toolPath}'`);\n state.CheckComplete();\n });\n state.on(\"done\", (error, exitCode)=>{\n if (stdbuffer.length > 0) this.emit(\"stdline\", stdbuffer);\n if (errbuffer.length > 0) this.emit(\"errline\", errbuffer);\n cp.removeAllListeners();\n if (error) reject(error);\n else resolve(exitCode);\n });\n if (this.options.input) {\n if (!cp.stdin) throw new Error(\"child process missing stdin\");\n cp.stdin.end(this.options.input);\n }\n }));\n });\n }\n}\nmodule.exports.ToolRunner = $358ca0c13f34538f$var$ToolRunner;\n/**\n * Convert an arg string to an array of args. Handles escaping\n *\n * @param argString string of arguments\n * @returns string[] array of arguments\n */ function $358ca0c13f34538f$var$argStringToArray(argString) {\n const args = [];\n let inQuotes = false;\n let escaped = false;\n let arg = \"\";\n function append(c) {\n // we only escape double quotes.\n if (escaped && c !== '\"') arg += \"\\\\\";\n arg += c;\n escaped = false;\n }\n for(let i = 0; i < argString.length; i++){\n const c = argString.charAt(i);\n if (c === '\"') {\n if (!escaped) inQuotes = !inQuotes;\n else append(c);\n continue;\n }\n if (c === \"\\\\\" && escaped) {\n append(c);\n continue;\n }\n if (c === \"\\\\\" && inQuotes) {\n escaped = true;\n continue;\n }\n if (c === \" \" && !inQuotes) {\n if (arg.length > 0) {\n args.push(arg);\n arg = \"\";\n }\n continue;\n }\n append(c);\n }\n if (arg.length > 0) args.push(arg.trim());\n return args;\n}\nmodule.exports.argStringToArray = $358ca0c13f34538f$var$argStringToArray;\nclass $358ca0c13f34538f$var$ExecState extends $358ca0c13f34538f$var$events.EventEmitter {\n constructor(options, toolPath){\n super();\n this.processClosed = false; // tracks whether the process has exited and stdio is closed\n this.processError = \"\";\n this.processExitCode = 0;\n this.processExited = false; // tracks whether the process has exited\n this.processStderr = false; // tracks whether stderr was written to\n this.delay = 10000; // 10 seconds\n this.done = false;\n this.timeout = null;\n if (!toolPath) throw new Error(\"toolPath must not be empty\");\n this.options = options;\n this.toolPath = toolPath;\n if (options.delay) this.delay = options.delay;\n }\n CheckComplete() {\n if (this.done) return;\n if (this.processClosed) this._setResult();\n else if (this.processExited) this.timeout = $d7DIX$timers.setTimeout($358ca0c13f34538f$var$ExecState.HandleTimeout, this.delay, this);\n }\n _debug(message) {\n this.emit(\"debug\", message);\n }\n _setResult() {\n // determine whether there is an error\n let error;\n if (this.processExited) {\n if (this.processError) error = new Error(`There was an error when attempting to execute the process '${this.toolPath}'. This may indicate the process failed to start. Error: ${this.processError}`);\n else if (this.processExitCode !== 0 && !this.options.ignoreReturnCode) error = new Error(`The process '${this.toolPath}' failed with exit code ${this.processExitCode}`);\n else if (this.processStderr && this.options.failOnStdErr) error = new Error(`The process '${this.toolPath}' failed because one or more lines were written to the STDERR stream`);\n }\n // clear the timeout\n if (this.timeout) {\n clearTimeout(this.timeout);\n this.timeout = null;\n }\n this.done = true;\n this.emit(\"done\", error, this.processExitCode);\n }\n static HandleTimeout(state) {\n if (state.done) return;\n if (!state.processClosed && state.processExited) {\n const message = `The STDIO streams did not close within ${state.delay / 1000} seconds of the exit event from process '${state.toolPath}'. This may indicate a child process inherited the STDIO streams and has not yet exited.`;\n state._debug(message);\n }\n state._setResult();\n }\n}\n\n});\n\n\nparcelRegister(\"4JiFg\", function(module, exports) {\nmodule.exports = Promise.resolve(require(\"./actions_python.6be0dfa4.js\")).then(()=>parcelRequire(\"4kQHk\"));\n\n});\n\n\nvar $52cQ1 = parcelRequire(\"52cQ1\");\n\nvar $ER74K = parcelRequire(\"ER74K\");\n\nvar $iWDmx = parcelRequire(\"iWDmx\");\nvar $adccf2292ac17dc9$exports = {};\n\n(function() {\n var root = this;\n var numerous;\n numerous = (parcelRequire(\"eCDnw\"));\n numerous.addLocale(\"en\", function pluralize_en(n /*``*/ ) {\n var i = Math.floor(Math.abs(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($adccf2292ac17dc9$exports);\n\n\nvar $0759e10a4c20508a$exports = {};\n\n$0759e10a4c20508a$exports = (parcelRequire(\"gMm9F\"));\n\n\nvar $7bf1341a48aa89d2$exports = {};\n$7bf1341a48aa89d2$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\n\n\n\nconst $9e68a7eb82f0b753$var$homeDirectory = (0, ($parcel$interopDefault($d7DIX$nodeos))).homedir();\nfunction $9e68a7eb82f0b753$export$2e2bcd8739ae039(pathWithTilde) {\n if (typeof pathWithTilde !== \"string\") throw new TypeError(`Expected a string, got ${typeof pathWithTilde}`);\n return $9e68a7eb82f0b753$var$homeDirectory ? pathWithTilde.replace(/^~(?=$|\\/|\\\\)/, $9e68a7eb82f0b753$var$homeDirectory) : pathWithTilde;\n}\n\n\nvar $851ef3bcd445adf9$exports = {};\nvar $ecfbb3ffe7838491$exports = {};\n\n$parcel$export($ecfbb3ffe7838491$exports, \"isexe\", () => $ecfbb3ffe7838491$export$35888d6059c232d4);\n$parcel$export($ecfbb3ffe7838491$exports, \"sync\", () => $ecfbb3ffe7838491$export$92d6409d68f0739a);\n/**\n * This is the Posix implementation of isexe, which uses the file\n * mode and uid/gid values.\n *\n * @module\n */ \n\nvar $5873751dcaaa8049$export$2e2bcd8739ae039 = (0, $d7DIX$fs.promises);\nconst { access: $5873751dcaaa8049$export$9bb0e144ba4929ca, appendFile: $5873751dcaaa8049$export$31f54b44f813a103, chmod: $5873751dcaaa8049$export$fe07cae62e774a05, chown: $5873751dcaaa8049$export$86560bc0b866a003, copyFile: $5873751dcaaa8049$export$c763efb2c06e223f, lchmod: $5873751dcaaa8049$export$4d4374c7ea08c49f, lchown: $5873751dcaaa8049$export$b34a65c440b523a2, link: $5873751dcaaa8049$export$9c30223ca0a664fb, lstat: $5873751dcaaa8049$export$c29f07eab13966a4, mkdir: $5873751dcaaa8049$export$d9fa9670717a639d, mkdtemp: $5873751dcaaa8049$export$bb440dc863a3b46a, open: $5873751dcaaa8049$export$3ce6949f20cea765, readdir: $5873751dcaaa8049$export$b1e07c405f785337, readFile: $5873751dcaaa8049$export$72c04af63de9061a, readlink: $5873751dcaaa8049$export$3d3ca76659ee9f39, realpath: $5873751dcaaa8049$export$9f2c45015a422c45, rename: $5873751dcaaa8049$export$7ac989ec0c9c279, rmdir: $5873751dcaaa8049$export$3f660f6332b9a01d, stat: $5873751dcaaa8049$export$f82f04a91eb6144a, symlink: $5873751dcaaa8049$export$ed42c6f39f07f97, truncate: $5873751dcaaa8049$export$6a506b36fdea397d, unlink: $5873751dcaaa8049$export$5e0808041271ce04, utimes: $5873751dcaaa8049$export$d85d919a687a608f, writeFile: $5873751dcaaa8049$export$552bfb764b5cd2b4 } = (0, $d7DIX$fs.promises);\n\n\nconst $ecfbb3ffe7838491$export$35888d6059c232d4 = async (path, options = {})=>{\n const { ignoreErrors: ignoreErrors = false } = options;\n try {\n return $ecfbb3ffe7838491$var$checkStat(await (0, $5873751dcaaa8049$export$f82f04a91eb6144a)(path), options);\n } catch (e) {\n const er = e;\n if (ignoreErrors || er.code === \"EACCES\") return false;\n throw er;\n }\n};\nconst $ecfbb3ffe7838491$export$92d6409d68f0739a = (path, options = {})=>{\n const { ignoreErrors: ignoreErrors = false } = options;\n try {\n return $ecfbb3ffe7838491$var$checkStat((0, $d7DIX$fs.statSync)(path), options);\n } catch (e) {\n const er = e;\n if (ignoreErrors || er.code === \"EACCES\") return false;\n throw er;\n }\n};\nconst $ecfbb3ffe7838491$var$checkStat = (stat, options)=>stat.isFile() && $ecfbb3ffe7838491$var$checkMode(stat, options);\nconst $ecfbb3ffe7838491$var$checkMode = (stat, options)=>{\n const myUid = options.uid ?? process.getuid?.();\n const myGroups = options.groups ?? process.getgroups?.() ?? [];\n const myGid = options.gid ?? process.getgid?.() ?? myGroups[0];\n if (myUid === undefined || myGid === undefined) throw new Error(\"cannot get uid or gid\");\n const groups = new Set([\n myGid,\n ...myGroups\n ]);\n const mod = stat.mode;\n const uid = stat.uid;\n const gid = stat.gid;\n const u = parseInt(\"100\", 8);\n const g = parseInt(\"010\", 8);\n const o = parseInt(\"001\", 8);\n const ug = u | g;\n return !!(mod & o || mod & g && groups.has(gid) || mod & u && uid === myUid || mod & ug && myUid === 0);\n};\n\n\nvar $ffc0b2c0400971fb$exports = {};\n\n$parcel$export($ffc0b2c0400971fb$exports, \"isexe\", () => $ffc0b2c0400971fb$export$35888d6059c232d4);\n$parcel$export($ffc0b2c0400971fb$exports, \"sync\", () => $ffc0b2c0400971fb$export$92d6409d68f0739a);\n/**\n * This is the Windows implementation of isexe, which uses the file\n * extension and PATHEXT setting.\n *\n * @module\n */ \n\nconst $ffc0b2c0400971fb$export$35888d6059c232d4 = async (path, options = {})=>{\n const { ignoreErrors: ignoreErrors = false } = options;\n try {\n return $ffc0b2c0400971fb$var$checkStat(await (0, $5873751dcaaa8049$export$f82f04a91eb6144a)(path), path, options);\n } catch (e) {\n const er = e;\n if (ignoreErrors || er.code === \"EACCES\") return false;\n throw er;\n }\n};\nconst $ffc0b2c0400971fb$export$92d6409d68f0739a = (path, options = {})=>{\n const { ignoreErrors: ignoreErrors = false } = options;\n try {\n return $ffc0b2c0400971fb$var$checkStat((0, $d7DIX$fs.statSync)(path), path, options);\n } catch (e) {\n const er = e;\n if (ignoreErrors || er.code === \"EACCES\") return false;\n throw er;\n }\n};\nconst $ffc0b2c0400971fb$var$checkPathExt = (path, options)=>{\n const { pathExt: pathExt = process.env.PATHEXT || \"\" } = options;\n const peSplit = pathExt.split(\";\");\n if (peSplit.indexOf(\"\") !== -1) return true;\n for(let i = 0; i < peSplit.length; i++){\n const p = peSplit[i].toLowerCase();\n const ext = path.substring(path.length - p.length).toLowerCase();\n if (p && ext === p) return true;\n }\n return false;\n};\nconst $ffc0b2c0400971fb$var$checkStat = (stat, path, options)=>stat.isFile() && $ffc0b2c0400971fb$var$checkPathExt(path, options);\n\n\n\n\nconst $9ff644244aa23fe9$var$platform = process.env._ISEXE_TEST_PLATFORM_ || process.platform;\nconst $9ff644244aa23fe9$var$impl = $9ff644244aa23fe9$var$platform === \"win32\" ? $ffc0b2c0400971fb$exports : $ecfbb3ffe7838491$exports;\nconst $9ff644244aa23fe9$export$35888d6059c232d4 = $9ff644244aa23fe9$var$impl.isexe;\nconst $9ff644244aa23fe9$export$92d6409d68f0739a = $9ff644244aa23fe9$var$impl.sync;\n\n\nvar $851ef3bcd445adf9$require$isexe = $9ff644244aa23fe9$export$35888d6059c232d4;\nvar $851ef3bcd445adf9$require$isexeSync = $9ff644244aa23fe9$export$92d6409d68f0739a;\n\nvar $851ef3bcd445adf9$require$join = $d7DIX$path.join;\nvar $851ef3bcd445adf9$require$delimiter = $d7DIX$path.delimiter;\nvar $851ef3bcd445adf9$require$sep = $d7DIX$path.sep;\nvar $851ef3bcd445adf9$require$posix = $d7DIX$path.posix;\nconst $851ef3bcd445adf9$var$isWindows = process.platform === \"win32\";\n// used to check for slashed in commands passed in. always checks for the posix\n// seperator on all platforms, and checks for the current separator when not on\n// a posix platform. don't use the isWindows check for this since that is mocked\n// in tests but we still need the code to actually work when called. that is also\n// why it is ignored from coverage.\n/* istanbul ignore next */ const $851ef3bcd445adf9$var$rSlash = new RegExp(`[${$851ef3bcd445adf9$require$posix.sep}${$851ef3bcd445adf9$require$sep === $851ef3bcd445adf9$require$posix.sep ? \"\" : $851ef3bcd445adf9$require$sep}]`.replace(/(\\\\)/g, \"\\\\$1\"));\nconst $851ef3bcd445adf9$var$rRel = new RegExp(`^\\\\.${$851ef3bcd445adf9$var$rSlash.source}`);\nconst $851ef3bcd445adf9$var$getNotFoundError = (cmd)=>Object.assign(new Error(`not found: ${cmd}`), {\n code: \"ENOENT\"\n });\nconst $851ef3bcd445adf9$var$getPathInfo = (cmd, { path: optPath = process.env.PATH, pathExt: optPathExt = process.env.PATHEXT, delimiter: optDelimiter = $851ef3bcd445adf9$require$delimiter })=>{\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($851ef3bcd445adf9$var$rSlash) ? [\n \"\"\n ] : [\n // windows always checks the cwd first\n ...$851ef3bcd445adf9$var$isWindows ? [\n process.cwd()\n ] : [],\n ...(optPath || /* istanbul ignore next: very unusual */ \"\").split(optDelimiter)\n ];\n if ($851ef3bcd445adf9$var$isWindows) {\n const pathExtExe = optPathExt || [\n \".EXE\",\n \".CMD\",\n \".BAT\",\n \".COM\"\n ].join(optDelimiter);\n const pathExt = pathExtExe.split(optDelimiter).flatMap((item)=>[\n item,\n item.toLowerCase()\n ]);\n if (cmd.includes(\".\") && pathExt[0] !== \"\") pathExt.unshift(\"\");\n return {\n pathEnv: pathEnv,\n pathExt: pathExt,\n pathExtExe: pathExtExe\n };\n }\n return {\n pathEnv: pathEnv,\n pathExt: [\n \"\"\n ]\n };\n};\nconst $851ef3bcd445adf9$var$getPathPart = (raw, cmd)=>{\n const pathPart = /^\".*\"$/.test(raw) ? raw.slice(1, -1) : raw;\n const prefix = !pathPart && $851ef3bcd445adf9$var$rRel.test(cmd) ? cmd.slice(0, 2) : \"\";\n return prefix + $851ef3bcd445adf9$require$join(pathPart, cmd);\n};\nconst $851ef3bcd445adf9$var$which = async (cmd, opt = {})=>{\n const { pathEnv: pathEnv, pathExt: pathExt, pathExtExe: pathExtExe } = $851ef3bcd445adf9$var$getPathInfo(cmd, opt);\n const found = [];\n for (const envPart of pathEnv){\n const p = $851ef3bcd445adf9$var$getPathPart(envPart, cmd);\n for (const ext of pathExt){\n const withExt = p + ext;\n const is = await $851ef3bcd445adf9$require$isexe(withExt, {\n pathExt: pathExtExe,\n ignoreErrors: true\n });\n if (is) {\n if (!opt.all) return withExt;\n found.push(withExt);\n }\n }\n }\n if (opt.all && found.length) return found;\n if (opt.nothrow) return null;\n throw $851ef3bcd445adf9$var$getNotFoundError(cmd);\n};\nconst $851ef3bcd445adf9$var$whichSync = (cmd, opt = {})=>{\n const { pathEnv: pathEnv, pathExt: pathExt, pathExtExe: pathExtExe } = $851ef3bcd445adf9$var$getPathInfo(cmd, opt);\n const found = [];\n for (const pathEnvPart of pathEnv){\n const p = $851ef3bcd445adf9$var$getPathPart(pathEnvPart, cmd);\n for (const ext of pathExt){\n const withExt = p + ext;\n const is = $851ef3bcd445adf9$require$isexeSync(withExt, {\n pathExt: pathExtExe,\n ignoreErrors: true\n });\n if (is) {\n if (!opt.all) return withExt;\n found.push(withExt);\n }\n }\n }\n if (opt.all && found.length) return found;\n if (opt.nothrow) return null;\n throw $851ef3bcd445adf9$var$getNotFoundError(cmd);\n};\n$851ef3bcd445adf9$exports = $851ef3bcd445adf9$var$which;\n$851ef3bcd445adf9$var$which.sync = $851ef3bcd445adf9$var$whichSync;\n\n\n\n\n\n\nvar $8b1434f30c2df0f5$exports = {};\n\"use strict\";\n\nvar $da7da1299c2703da$exports = {};\n\"use strict\";\n\nvar $cd28c864980cfd0f$exports = {};\n\"use strict\";\n\nvar $27b76a3de3367027$exports = {};\nconst $27b76a3de3367027$var$isWindows = process.platform === \"win32\" || process.env.OSTYPE === \"cygwin\" || process.env.OSTYPE === \"msys\";\n\nconst $27b76a3de3367027$var$COLON = $27b76a3de3367027$var$isWindows ? \";\" : \":\";\nvar $4812ae26153c6e1d$exports = {};\n\nvar $4812ae26153c6e1d$var$core;\n\n\nif (process.platform === \"win32\" || $parcel$global.TESTING_WINDOWS) $4812ae26153c6e1d$var$core = (parcelRequire(\"bGwAu\"));\nelse $4812ae26153c6e1d$var$core = (parcelRequire(\"d3qS7\"));\n$4812ae26153c6e1d$exports = $4812ae26153c6e1d$var$isexe;\n$4812ae26153c6e1d$var$isexe.sync = $4812ae26153c6e1d$var$sync;\nfunction $4812ae26153c6e1d$var$isexe(path, options, cb) {\n if (typeof options === \"function\") {\n cb = options;\n options = {};\n }\n if (!cb) {\n if (typeof Promise !== \"function\") throw new TypeError(\"callback not provided\");\n return new Promise(function(resolve, reject) {\n $4812ae26153c6e1d$var$isexe(path, options || {}, function(er, is) {\n if (er) reject(er);\n else resolve(is);\n });\n });\n }\n $4812ae26153c6e1d$var$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}\nfunction $4812ae26153c6e1d$var$sync(path, options) {\n // my kingdom for a filtered catch\n try {\n return $4812ae26153c6e1d$var$core.sync(path, options || {});\n } catch (er) {\n if (options && options.ignoreErrors || er.code === \"EACCES\") return false;\n else throw er;\n }\n}\n\n\nconst $27b76a3de3367027$var$getNotFoundError = (cmd)=>Object.assign(new Error(`not found: ${cmd}`), {\n code: \"ENOENT\"\n });\nconst $27b76a3de3367027$var$getPathInfo = (cmd, opt)=>{\n const colon = opt.colon || $27b76a3de3367027$var$COLON;\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(/\\//) || $27b76a3de3367027$var$isWindows && cmd.match(/\\\\/) ? [\n \"\"\n ] : [\n // windows always checks the cwd first\n ...$27b76a3de3367027$var$isWindows ? [\n process.cwd()\n ] : [],\n ...(opt.path || process.env.PATH || /* istanbul ignore next: very unusual */ \"\").split(colon)\n ];\n const pathExtExe = $27b76a3de3367027$var$isWindows ? opt.pathExt || process.env.PATHEXT || \".EXE;.CMD;.BAT;.COM\" : \"\";\n const pathExt = $27b76a3de3367027$var$isWindows ? pathExtExe.split(colon) : [\n \"\"\n ];\n if ($27b76a3de3367027$var$isWindows) {\n if (cmd.indexOf(\".\") !== -1 && pathExt[0] !== \"\") pathExt.unshift(\"\");\n }\n return {\n pathEnv: pathEnv,\n pathExt: pathExt,\n pathExtExe: pathExtExe\n };\n};\nconst $27b76a3de3367027$var$which = (cmd, opt, cb)=>{\n if (typeof opt === \"function\") {\n cb = opt;\n opt = {};\n }\n if (!opt) opt = {};\n const { pathEnv: pathEnv, pathExt: pathExt, pathExtExe: pathExtExe } = $27b76a3de3367027$var$getPathInfo(cmd, opt);\n const found = [];\n const step = (i)=>new Promise((resolve, reject)=>{\n if (i === pathEnv.length) return opt.all && found.length ? resolve(found) : reject($27b76a3de3367027$var$getNotFoundError(cmd));\n const ppRaw = pathEnv[i];\n const pathPart = /^\".*\"$/.test(ppRaw) ? ppRaw.slice(1, -1) : ppRaw;\n const pCmd = $d7DIX$path.join(pathPart, cmd);\n const p = !pathPart && /^\\.[\\\\\\/]/.test(cmd) ? cmd.slice(0, 2) + pCmd : pCmd;\n resolve(subStep(p, i, 0));\n });\n const subStep = (p, i, ii)=>new Promise((resolve, reject)=>{\n if (ii === pathExt.length) return resolve(step(i + 1));\n const ext = pathExt[ii];\n $4812ae26153c6e1d$exports(p + ext, {\n pathExt: pathExtExe\n }, (er, is)=>{\n if (!er && is) {\n if (opt.all) found.push(p + ext);\n else return resolve(p + ext);\n }\n return resolve(subStep(p, i, ii + 1));\n });\n });\n return cb ? step(0).then((res)=>cb(null, res), cb) : step(0);\n};\nconst $27b76a3de3367027$var$whichSync = (cmd, opt)=>{\n opt = opt || {};\n const { pathEnv: pathEnv, pathExt: pathExt, pathExtExe: pathExtExe } = $27b76a3de3367027$var$getPathInfo(cmd, opt);\n const found = [];\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 const pCmd = $d7DIX$path.join(pathPart, cmd);\n const p = !pathPart && /^\\.[\\\\\\/]/.test(cmd) ? cmd.slice(0, 2) + pCmd : pCmd;\n for(let j = 0; j < pathExt.length; j++){\n const cur = p + pathExt[j];\n try {\n const is = $4812ae26153c6e1d$exports.sync(cur, {\n pathExt: pathExtExe\n });\n if (is) {\n if (opt.all) found.push(cur);\n else return cur;\n }\n } catch (ex) {}\n }\n }\n if (opt.all && found.length) return found;\n if (opt.nothrow) return null;\n throw $27b76a3de3367027$var$getNotFoundError(cmd);\n};\n$27b76a3de3367027$exports = $27b76a3de3367027$var$which;\n$27b76a3de3367027$var$which.sync = $27b76a3de3367027$var$whichSync;\n\n\nvar $2543a0baf4fc0f49$exports = {};\n\"use strict\";\nconst $2543a0baf4fc0f49$var$pathKey = (options = {})=>{\n const environment = options.env || process.env;\n const platform = options.platform || process.platform;\n if (platform !== \"win32\") return \"PATH\";\n return Object.keys(environment).reverse().find((key)=>key.toUpperCase() === \"PATH\") || \"Path\";\n};\n$2543a0baf4fc0f49$exports = $2543a0baf4fc0f49$var$pathKey;\n// TODO: Remove this for the next major release\n$2543a0baf4fc0f49$exports.default = $2543a0baf4fc0f49$var$pathKey;\n\n\nfunction $cd28c864980cfd0f$var$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 // 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) try {\n process.chdir(parsed.options.cwd);\n } catch (err) {\n /* Empty */ }\n let resolved;\n try {\n resolved = $27b76a3de3367027$exports.sync(parsed.command, {\n path: env[$2543a0baf4fc0f49$exports({\n env: env\n })],\n pathExt: withoutPathExt ? $d7DIX$path.delimiter : undefined\n });\n } catch (e) {\n /* Empty */ } finally{\n if (shouldSwitchCwd) process.chdir(cwd);\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) resolved = $d7DIX$path.resolve(hasCustomCwd ? parsed.options.cwd : \"\", resolved);\n return resolved;\n}\nfunction $cd28c864980cfd0f$var$resolveCommand(parsed) {\n return $cd28c864980cfd0f$var$resolveCommandAttempt(parsed) || $cd28c864980cfd0f$var$resolveCommandAttempt(parsed, true);\n}\n$cd28c864980cfd0f$exports = $cd28c864980cfd0f$var$resolveCommand;\n\n\nvar $fc5e53341be77269$export$ae50443ffc990749;\nvar $fc5e53341be77269$export$6ea29ee575e3f5ff;\n\"use strict\";\n// See http://www.robvanderwoude.com/escapechars.php\nconst $fc5e53341be77269$var$metaCharsRegExp = /([()\\][%!^\"`<>&|;, *?])/g;\nfunction $fc5e53341be77269$var$escapeCommand(arg) {\n // Escape meta chars\n arg = arg.replace($fc5e53341be77269$var$metaCharsRegExp, \"^$1\");\n return arg;\n}\nfunction $fc5e53341be77269$var$escapeArgument(arg, doubleEscapeMetaChars) {\n // Convert to string\n arg = `${arg}`;\n // Algorithm below is based on https://qntm.org/cmd\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 // 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 // All other backslashes occur literally\n // Quote the whole thing:\n arg = `\"${arg}\"`;\n // Escape meta chars\n arg = arg.replace($fc5e53341be77269$var$metaCharsRegExp, \"^$1\");\n // Double escape meta chars if necessary\n if (doubleEscapeMetaChars) arg = arg.replace($fc5e53341be77269$var$metaCharsRegExp, \"^$1\");\n return arg;\n}\n$fc5e53341be77269$export$ae50443ffc990749 = $fc5e53341be77269$var$escapeCommand;\n$fc5e53341be77269$export$6ea29ee575e3f5ff = $fc5e53341be77269$var$escapeArgument;\n\n\nvar $fe8eaff5ac0ea2ba$exports = {};\n\"use strict\";\n\nvar $f0c7da0bdc12447f$exports = {};\n\"use strict\";\nvar $ced97cb735cf4572$exports = {};\n\"use strict\";\n$ced97cb735cf4572$exports = /^#!(.*)/;\n\n\n$f0c7da0bdc12447f$exports = (string = \"\")=>{\n const match = string.match($ced97cb735cf4572$exports);\n if (!match) return null;\n const [path, argument] = match[0].replace(/#! ?/, \"\").split(\" \");\n const binary = path.split(\"/\").pop();\n if (binary === \"env\") return argument;\n return argument ? `${binary} ${argument}` : binary;\n};\n\n\nfunction $fe8eaff5ac0ea2ba$var$readShebang(command) {\n // Read the first 150 bytes from the file\n const size = 150;\n const buffer = Buffer.alloc(size);\n let fd;\n try {\n fd = $d7DIX$fs.openSync(command, \"r\");\n $d7DIX$fs.readSync(fd, buffer, 0, size, 0);\n $d7DIX$fs.closeSync(fd);\n } catch (e) {}\n // Attempt to extract shebang (null is returned if not a shebang)\n return $f0c7da0bdc12447f$exports(buffer.toString());\n}\n$fe8eaff5ac0ea2ba$exports = $fe8eaff5ac0ea2ba$var$readShebang;\n\n\nconst $da7da1299c2703da$var$isWin = process.platform === \"win32\";\nconst $da7da1299c2703da$var$isExecutableRegExp = /\\.(?:com|exe)$/i;\nconst $da7da1299c2703da$var$isCmdShimRegExp = /node_modules[\\\\/].bin[\\\\/][^\\\\/]+\\.cmd$/i;\nfunction $da7da1299c2703da$var$detectShebang(parsed) {\n parsed.file = $cd28c864980cfd0f$exports(parsed);\n const shebang = parsed.file && $fe8eaff5ac0ea2ba$exports(parsed.file);\n if (shebang) {\n parsed.args.unshift(parsed.file);\n parsed.command = shebang;\n return $cd28c864980cfd0f$exports(parsed);\n }\n return parsed.file;\n}\nfunction $da7da1299c2703da$var$parseNonShell(parsed) {\n if (!$da7da1299c2703da$var$isWin) return parsed;\n // Detect & add support for shebangs\n const commandFile = $da7da1299c2703da$var$detectShebang(parsed);\n // We don't need a shell if the command filename is an executable\n const needsShell = !$da7da1299c2703da$var$isExecutableRegExp.test(commandFile);\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 = $da7da1299c2703da$var$isCmdShimRegExp.test(commandFile);\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 = $d7DIX$path.normalize(parsed.command);\n // Escape command & arguments\n parsed.command = $fc5e53341be77269$export$ae50443ffc990749(parsed.command);\n parsed.args = parsed.args.map((arg)=>$fc5e53341be77269$export$6ea29ee575e3f5ff(arg, needsDoubleEscapeMetaChars));\n const shellCommand = [\n parsed.command\n ].concat(parsed.args).join(\" \");\n parsed.args = [\n \"/d\",\n \"/s\",\n \"/c\",\n `\"${shellCommand}\"`\n ];\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 return parsed;\n}\nfunction $da7da1299c2703da$var$parse(command, args, options) {\n // Normalize arguments, similar to nodejs\n if (args && !Array.isArray(args)) {\n options = args;\n args = null;\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 // Build our parsed object\n const parsed = {\n command: command,\n args: args,\n options: options,\n file: undefined,\n original: {\n command: command,\n args: args\n }\n };\n // Delegate further parsing to shell or non-shell\n return options.shell ? parsed : $da7da1299c2703da$var$parseNonShell(parsed);\n}\n$da7da1299c2703da$exports = $da7da1299c2703da$var$parse;\n\n\nvar $1b55d4feb1802c97$exports = {};\n\"use strict\";\nconst $1b55d4feb1802c97$var$isWin = process.platform === \"win32\";\nfunction $1b55d4feb1802c97$var$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}\nfunction $1b55d4feb1802c97$var$hookChildProcess(cp, parsed) {\n if (!$1b55d4feb1802c97$var$isWin) return;\n const originalEmit = cp.emit;\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 = $1b55d4feb1802c97$var$verifyENOENT(arg1, parsed, \"spawn\");\n if (err) return originalEmit.call(cp, \"error\", err);\n }\n return originalEmit.apply(cp, arguments); // eslint-disable-line prefer-rest-params\n };\n}\nfunction $1b55d4feb1802c97$var$verifyENOENT(status, parsed) {\n if ($1b55d4feb1802c97$var$isWin && status === 1 && !parsed.file) return $1b55d4feb1802c97$var$notFoundError(parsed.original, \"spawn\");\n return null;\n}\nfunction $1b55d4feb1802c97$var$verifyENOENTSync(status, parsed) {\n if ($1b55d4feb1802c97$var$isWin && status === 1 && !parsed.file) return $1b55d4feb1802c97$var$notFoundError(parsed.original, \"spawnSync\");\n return null;\n}\n$1b55d4feb1802c97$exports = {\n hookChildProcess: $1b55d4feb1802c97$var$hookChildProcess,\n verifyENOENT: $1b55d4feb1802c97$var$verifyENOENT,\n verifyENOENTSync: $1b55d4feb1802c97$var$verifyENOENTSync,\n notFoundError: $1b55d4feb1802c97$var$notFoundError\n};\n\n\nfunction $8b1434f30c2df0f5$var$spawn(command, args, options) {\n // Parse the arguments\n const parsed = $da7da1299c2703da$exports(command, args, options);\n // Spawn the child process\n const spawned = $d7DIX$child_process.spawn(parsed.command, parsed.args, parsed.options);\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 $1b55d4feb1802c97$exports.hookChildProcess(spawned, parsed);\n return spawned;\n}\nfunction $8b1434f30c2df0f5$var$spawnSync(command, args, options) {\n // Parse the arguments\n const parsed = $da7da1299c2703da$exports(command, args, options);\n // Spawn the child process\n const result = $d7DIX$child_process.spawnSync(parsed.command, parsed.args, parsed.options);\n // Analyze if the command does not exist, see: https://github.com/IndigoUnited/node-cross-spawn/issues/16\n result.error = result.error || $1b55d4feb1802c97$exports.verifyENOENTSync(result.status, parsed);\n return result;\n}\n$8b1434f30c2df0f5$exports = $8b1434f30c2df0f5$var$spawn;\n$8b1434f30c2df0f5$exports.spawn = $8b1434f30c2df0f5$var$spawn;\n$8b1434f30c2df0f5$exports.sync = $8b1434f30c2df0f5$var$spawnSync;\n$8b1434f30c2df0f5$exports._parse = $da7da1299c2703da$exports;\n$8b1434f30c2df0f5$exports._enoent = $1b55d4feb1802c97$exports;\n\n\nfunction $c36cfccc5e0479d9$export$2e2bcd8739ae039(input) {\n const LF = typeof input === \"string\" ? \"\\n\" : \"\\n\".charCodeAt();\n const CR = typeof input === \"string\" ? \"\\r\" : \"\\r\".charCodeAt();\n if (input[input.length - 1] === LF) input = input.slice(0, -1);\n if (input[input.length - 1] === CR) input = input.slice(0, -1);\n return input;\n}\n\n\n\n\n\nfunction $42db316b4a96ee74$export$2e2bcd8739ae039(options = {}) {\n const { env: env = process.env, platform: platform = process.platform } = options;\n if (platform !== \"win32\") return \"PATH\";\n return Object.keys(env).reverse().find((key)=>key.toUpperCase() === \"PATH\") || \"Path\";\n}\n\n\nfunction $79a4a337e08e5260$export$62a298cbef08d65c(options = {}) {\n const { cwd: cwd = (0, ($parcel$interopDefault($d7DIX$nodeprocess))).cwd(), path: path_ = (0, ($parcel$interopDefault($d7DIX$nodeprocess))).env[(0, $42db316b4a96ee74$export$2e2bcd8739ae039)()], execPath: execPath = (0, ($parcel$interopDefault($d7DIX$nodeprocess))).execPath } = options;\n let previous;\n const execPathString = execPath instanceof URL ? (0, ($parcel$interopDefault($d7DIX$nodeurl))).fileURLToPath(execPath) : execPath;\n const cwdString = cwd instanceof URL ? (0, ($parcel$interopDefault($d7DIX$nodeurl))).fileURLToPath(cwd) : cwd;\n let cwdPath = (0, ($parcel$interopDefault($d7DIX$nodepath))).resolve(cwdString);\n const result = [];\n while(previous !== cwdPath){\n result.push((0, ($parcel$interopDefault($d7DIX$nodepath))).join(cwdPath, \"node_modules/.bin\"));\n previous = cwdPath;\n cwdPath = (0, ($parcel$interopDefault($d7DIX$nodepath))).resolve(cwdPath, \"..\");\n }\n // Ensure the running `node` binary is used.\n result.push((0, ($parcel$interopDefault($d7DIX$nodepath))).resolve(cwdString, execPathString, \"..\"));\n return [\n ...result,\n path_\n ].join((0, ($parcel$interopDefault($d7DIX$nodepath))).delimiter);\n}\nfunction $79a4a337e08e5260$export$340e1fbaac04248b({ env: env = (0, ($parcel$interopDefault($d7DIX$nodeprocess))).env, ...options } = {}) {\n env = {\n ...env\n };\n const path = (0, $42db316b4a96ee74$export$2e2bcd8739ae039)({\n env: env\n });\n options.path = env[path];\n env[path] = $79a4a337e08e5260$export$62a298cbef08d65c(options);\n return env;\n}\n\n\nconst $702ede05dcd57805$var$copyProperty = (to, from, property, ignoreNonConfigurable)=>{\n // `Function#length` should reflect the parameters of `to` not `from` since we keep its body.\n // `Function#prototype` is non-writable and non-configurable so can never be modified.\n if (property === \"length\" || property === \"prototype\") return;\n // `Function#arguments` and `Function#caller` should not be copied. They were reported to be present in `Reflect.ownKeys` for some devices in React Native (#41), so we explicitly ignore them here.\n if (property === \"arguments\" || property === \"caller\") return;\n const toDescriptor = Object.getOwnPropertyDescriptor(to, property);\n const fromDescriptor = Object.getOwnPropertyDescriptor(from, property);\n if (!$702ede05dcd57805$var$canCopyProperty(toDescriptor, fromDescriptor) && ignoreNonConfigurable) return;\n Object.defineProperty(to, property, fromDescriptor);\n};\n// `Object.defineProperty()` throws if the property exists, is not configurable and either:\n// - one its descriptors is changed\n// - it is non-writable and its value is changed\nconst $702ede05dcd57805$var$canCopyProperty = function(toDescriptor, fromDescriptor) {\n return toDescriptor === undefined || toDescriptor.configurable || toDescriptor.writable === fromDescriptor.writable && toDescriptor.enumerable === fromDescriptor.enumerable && toDescriptor.configurable === fromDescriptor.configurable && (toDescriptor.writable || toDescriptor.value === fromDescriptor.value);\n};\nconst $702ede05dcd57805$var$changePrototype = (to, from)=>{\n const fromPrototype = Object.getPrototypeOf(from);\n if (fromPrototype === Object.getPrototypeOf(to)) return;\n Object.setPrototypeOf(to, fromPrototype);\n};\nconst $702ede05dcd57805$var$wrappedToString = (withName, fromBody)=>`/* Wrapped ${withName}*/\\n${fromBody}`;\nconst $702ede05dcd57805$var$toStringDescriptor = Object.getOwnPropertyDescriptor(Function.prototype, \"toString\");\nconst $702ede05dcd57805$var$toStringName = Object.getOwnPropertyDescriptor(Function.prototype.toString, \"name\");\n// We call `from.toString()` early (not lazily) to ensure `from` can be garbage collected.\n// We use `bind()` instead of a closure for the same reason.\n// Calling `from.toString()` early also allows caching it in case `to.toString()` is called several times.\nconst $702ede05dcd57805$var$changeToString = (to, from, name)=>{\n const withName = name === \"\" ? \"\" : `with ${name.trim()}() `;\n const newToString = $702ede05dcd57805$var$wrappedToString.bind(null, withName, from.toString());\n // Ensure `to.toString.toString` is non-enumerable and has the same `same`\n Object.defineProperty(newToString, \"name\", $702ede05dcd57805$var$toStringName);\n Object.defineProperty(to, \"toString\", {\n ...$702ede05dcd57805$var$toStringDescriptor,\n value: newToString\n });\n};\nfunction $702ede05dcd57805$export$2e2bcd8739ae039(to, from, { ignoreNonConfigurable: ignoreNonConfigurable = false } = {}) {\n const { name: name } = to;\n for (const property of Reflect.ownKeys(from))$702ede05dcd57805$var$copyProperty(to, from, property, ignoreNonConfigurable);\n $702ede05dcd57805$var$changePrototype(to, from);\n $702ede05dcd57805$var$changeToString(to, from, name);\n return to;\n}\n\n\nconst $a257f7b521fbcd70$var$calledFunctions = new WeakMap();\nconst $a257f7b521fbcd70$var$onetime = (function_, options = {})=>{\n if (typeof function_ !== \"function\") throw new TypeError(\"Expected a function\");\n let returnValue;\n let callCount = 0;\n const functionName = function_.displayName || function_.name || \"\";\n const onetime = function(...arguments_) {\n $a257f7b521fbcd70$var$calledFunctions.set(onetime, ++callCount);\n if (callCount === 1) {\n returnValue = function_.apply(this, arguments_);\n function_ = null;\n } else if (options.throw === true) throw new Error(`Function \\`${functionName}\\` can only be called once`);\n return returnValue;\n };\n (0, $702ede05dcd57805$export$2e2bcd8739ae039)(onetime, function_);\n $a257f7b521fbcd70$var$calledFunctions.set(onetime, callCount);\n return onetime;\n};\n$a257f7b521fbcd70$var$onetime.callCount = (function_)=>{\n if (!$a257f7b521fbcd70$var$calledFunctions.has(function_)) throw new Error(`The given function \\`${function_.name}\\` is not wrapped by the \\`onetime\\` package`);\n return $a257f7b521fbcd70$var$calledFunctions.get(function_);\n};\nvar $a257f7b521fbcd70$export$2e2bcd8739ae039 = $a257f7b521fbcd70$var$onetime;\n\n\n\n\nconst $d2c8ffb2ce6a67dd$export$e221a98f4fd84d36 = ()=>{\n const length = $d2c8ffb2ce6a67dd$export$dc8812f2f8882ff4 - $d2c8ffb2ce6a67dd$var$SIGRTMIN + 1;\n return Array.from({\n length: length\n }, $d2c8ffb2ce6a67dd$var$getRealtimeSignal);\n};\nconst $d2c8ffb2ce6a67dd$var$getRealtimeSignal = (value, index)=>({\n name: `SIGRT${index + 1}`,\n number: $d2c8ffb2ce6a67dd$var$SIGRTMIN + index,\n action: \"terminate\",\n description: \"Application-specific signal (realtime)\",\n standard: \"posix\"\n });\nconst $d2c8ffb2ce6a67dd$var$SIGRTMIN = 34;\nconst $d2c8ffb2ce6a67dd$export$dc8812f2f8882ff4 = 64;\n\n\n\nconst $446e774b21157476$export$a43bf6822cc694af = [\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: \"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\n\n\nconst $7e8da5d5d06f2cc3$export$c50078d4faa171f0 = ()=>{\n const realtimeSignals = (0, $d2c8ffb2ce6a67dd$export$e221a98f4fd84d36)();\n const signals = [\n ...(0, $446e774b21157476$export$a43bf6822cc694af),\n ...realtimeSignals\n ].map($7e8da5d5d06f2cc3$var$normalizeSignal);\n return signals;\n};\nconst $7e8da5d5d06f2cc3$var$normalizeSignal = ({ name: name, number: defaultNumber, description: description, action: action, forced: forced = false, standard: standard })=>{\n const { signals: { [name]: constantSignal } } = (0, $d7DIX$nodeos.constants);\n const supported = constantSignal !== undefined;\n const number = supported ? constantSignal : defaultNumber;\n return {\n name: name,\n number: number,\n description: description,\n supported: supported,\n action: action,\n forced: forced,\n standard: standard\n };\n};\n\n\nconst $e8ce250ce43ec2f1$var$getSignalsByName = ()=>{\n const signals = (0, $7e8da5d5d06f2cc3$export$c50078d4faa171f0)();\n return Object.fromEntries(signals.map($e8ce250ce43ec2f1$var$getSignalByName));\n};\nconst $e8ce250ce43ec2f1$var$getSignalByName = ({ name: name, number: number, description: description, supported: supported, action: action, forced: forced, standard: standard })=>[\n name,\n {\n name: name,\n number: number,\n description: description,\n supported: supported,\n action: action,\n forced: forced,\n standard: standard\n }\n ];\nconst $e8ce250ce43ec2f1$export$c3fcb39d6848c78d = $e8ce250ce43ec2f1$var$getSignalsByName();\nconst $e8ce250ce43ec2f1$var$getSignalsByNumber = ()=>{\n const signals = (0, $7e8da5d5d06f2cc3$export$c50078d4faa171f0)();\n const length = (0, $d2c8ffb2ce6a67dd$export$dc8812f2f8882ff4) + 1;\n const signalsA = Array.from({\n length: length\n }, (value, number)=>$e8ce250ce43ec2f1$var$getSignalByNumber(number, signals));\n return Object.assign({}, ...signalsA);\n};\nconst $e8ce250ce43ec2f1$var$getSignalByNumber = (number, signals)=>{\n const signal = $e8ce250ce43ec2f1$var$findSignalByNumber(number, signals);\n if (signal === undefined) return {};\n const { name: name, description: description, supported: supported, action: action, forced: forced, standard: standard } = signal;\n return {\n [number]: {\n name: name,\n number: number,\n description: description,\n supported: supported,\n action: action,\n forced: forced,\n standard: standard\n }\n };\n};\nconst $e8ce250ce43ec2f1$var$findSignalByNumber = (number, signals)=>{\n const signal = signals.find(({ name: name })=>(0, $d7DIX$nodeos.constants).signals[name] === number);\n if (signal !== undefined) return signal;\n return signals.find((signalA)=>signalA.number === number);\n};\nconst $e8ce250ce43ec2f1$export$12f57f97a08d2468 = $e8ce250ce43ec2f1$var$getSignalsByNumber();\n\n\nconst $db32f6282de80f14$var$getErrorPrefix = ({ timedOut: timedOut, timeout: timeout, errorCode: errorCode, signal: signal, signalDescription: signalDescription, exitCode: exitCode, isCanceled: isCanceled })=>{\n if (timedOut) return `timed out after ${timeout} milliseconds`;\n if (isCanceled) return \"was canceled\";\n if (errorCode !== undefined) return `failed with ${errorCode}`;\n if (signal !== undefined) return `was killed with ${signal} (${signalDescription})`;\n if (exitCode !== undefined) return `failed with exit code ${exitCode}`;\n return \"failed\";\n};\nconst $db32f6282de80f14$export$5a4bb2b1c89bdce7 = ({ stdout: stdout, stderr: stderr, all: all, error: error, signal: signal, exitCode: exitCode, command: command, escapedCommand: escapedCommand, timedOut: timedOut, isCanceled: isCanceled, killed: killed, parsed: { options: { timeout: timeout, cwd: cwd = (0, ($parcel$interopDefault($d7DIX$nodeprocess))).cwd() } } })=>{\n // `signal` and `exitCode` emitted on `spawned.on('exit')` event can be `null`.\n // We normalize them to `undefined`\n exitCode = exitCode === null ? undefined : exitCode;\n signal = signal === null ? undefined : signal;\n const signalDescription = signal === undefined ? undefined : (0, $e8ce250ce43ec2f1$export$c3fcb39d6848c78d)[signal].description;\n const errorCode = error && error.code;\n const prefix = $db32f6282de80f14$var$getErrorPrefix({\n timedOut: timedOut,\n timeout: timeout,\n errorCode: errorCode,\n signal: signal,\n signalDescription: signalDescription,\n exitCode: exitCode,\n isCanceled: isCanceled\n });\n const execaMessage = `Command ${prefix}: ${command}`;\n const isError = Object.prototype.toString.call(error) === \"[object Error]\";\n const shortMessage = isError ? `${execaMessage}\\n${error.message}` : execaMessage;\n const message = [\n shortMessage,\n stderr,\n stdout\n ].filter(Boolean).join(\"\\n\");\n if (isError) {\n error.originalMessage = error.message;\n error.message = message;\n } else error = new Error(message);\n error.shortMessage = shortMessage;\n error.command = command;\n error.escapedCommand = escapedCommand;\n error.exitCode = exitCode;\n error.signal = signal;\n error.signalDescription = signalDescription;\n error.stdout = stdout;\n error.stderr = stderr;\n error.cwd = cwd;\n if (all !== undefined) error.all = all;\n if (\"bufferedData\" in error) delete error.bufferedData;\n error.failed = true;\n error.timedOut = Boolean(timedOut);\n error.isCanceled = isCanceled;\n error.killed = killed && !timedOut;\n return error;\n};\n\n\nconst $af1945b2831f1830$var$aliases = [\n \"stdin\",\n \"stdout\",\n \"stderr\"\n];\nconst $af1945b2831f1830$var$hasAlias = (options)=>$af1945b2831f1830$var$aliases.some((alias)=>options[alias] !== undefined);\nconst $af1945b2831f1830$export$a581401a57fac02e = (options)=>{\n if (!options) return;\n const { stdio: stdio } = options;\n if (stdio === undefined) return $af1945b2831f1830$var$aliases.map((alias)=>options[alias]);\n if ($af1945b2831f1830$var$hasAlias(options)) throw new Error(`It's not possible to provide \\`stdio\\` in combination with one of ${$af1945b2831f1830$var$aliases.map((alias)=>`\\`${alias}\\``).join(\", \")}`);\n if (typeof stdio === \"string\") return stdio;\n if (!Array.isArray(stdio)) throw new TypeError(`Expected \\`stdio\\` to be of type \\`string\\` or \\`Array\\`, got \\`${typeof stdio}\\``);\n const length = Math.max(stdio.length, $af1945b2831f1830$var$aliases.length);\n return Array.from({\n length: length\n }, (value, index)=>stdio[index]);\n};\nconst $af1945b2831f1830$export$889423b478ae2ba = (options)=>{\n const stdio = $af1945b2831f1830$export$a581401a57fac02e(options);\n if (stdio === \"ipc\") return \"ipc\";\n if (stdio === undefined || typeof stdio === \"string\") return [\n stdio,\n stdio,\n stdio,\n \"ipc\"\n ];\n if (stdio.includes(\"ipc\")) return stdio;\n return [\n ...stdio,\n \"ipc\"\n ];\n};\n\n\n\nvar $4f2755c484ab0bb9$exports = {};\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 $4f2755c484ab0bb9$var$process = $parcel$global.process;\nconst $4f2755c484ab0bb9$var$processOk = function(process) {\n return process && typeof process === \"object\" && typeof process.removeListener === \"function\" && typeof process.emit === \"function\" && typeof process.reallyExit === \"function\" && typeof process.listeners === \"function\" && typeof process.kill === \"function\" && typeof process.pid === \"number\" && typeof process.on === \"function\";\n};\n\n\n\n// some kind of non-node environment, just no-op\n/* istanbul ignore if */ if (!$4f2755c484ab0bb9$var$processOk($4f2755c484ab0bb9$var$process)) $4f2755c484ab0bb9$exports = function() {\n return function() {};\n};\nelse {\n var $4f2755c484ab0bb9$var$assert = $d7DIX$assert;\n var $4f2755c484ab0bb9$var$signals = (parcelRequire(\"e1Rfe\"));\n var $4f2755c484ab0bb9$var$isWin = /^win/i.test($4f2755c484ab0bb9$var$process.platform);\n var $4f2755c484ab0bb9$var$EE = $d7DIX$events;\n /* istanbul ignore if */ if (typeof $4f2755c484ab0bb9$var$EE !== \"function\") $4f2755c484ab0bb9$var$EE = $4f2755c484ab0bb9$var$EE.EventEmitter;\n var $4f2755c484ab0bb9$var$emitter;\n if ($4f2755c484ab0bb9$var$process.__signal_exit_emitter__) $4f2755c484ab0bb9$var$emitter = $4f2755c484ab0bb9$var$process.__signal_exit_emitter__;\n else {\n $4f2755c484ab0bb9$var$emitter = $4f2755c484ab0bb9$var$process.__signal_exit_emitter__ = new $4f2755c484ab0bb9$var$EE();\n $4f2755c484ab0bb9$var$emitter.count = 0;\n $4f2755c484ab0bb9$var$emitter.emitted = {};\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 (!$4f2755c484ab0bb9$var$emitter.infinite) {\n $4f2755c484ab0bb9$var$emitter.setMaxListeners(Infinity);\n $4f2755c484ab0bb9$var$emitter.infinite = true;\n }\n $4f2755c484ab0bb9$exports = function(cb, opts) {\n /* istanbul ignore if */ if (!$4f2755c484ab0bb9$var$processOk($parcel$global.process)) return function() {};\n $4f2755c484ab0bb9$var$assert.equal(typeof cb, \"function\", \"a callback must be provided for exit handler\");\n if ($4f2755c484ab0bb9$var$loaded === false) $4f2755c484ab0bb9$var$load();\n var ev = \"exit\";\n if (opts && opts.alwaysLast) ev = \"afterexit\";\n var remove = function() {\n $4f2755c484ab0bb9$var$emitter.removeListener(ev, cb);\n if ($4f2755c484ab0bb9$var$emitter.listeners(\"exit\").length === 0 && $4f2755c484ab0bb9$var$emitter.listeners(\"afterexit\").length === 0) $4f2755c484ab0bb9$var$unload();\n };\n $4f2755c484ab0bb9$var$emitter.on(ev, cb);\n return remove;\n };\n var $4f2755c484ab0bb9$var$unload = function unload() {\n if (!$4f2755c484ab0bb9$var$loaded || !$4f2755c484ab0bb9$var$processOk($parcel$global.process)) return;\n $4f2755c484ab0bb9$var$loaded = false;\n $4f2755c484ab0bb9$var$signals.forEach(function(sig) {\n try {\n $4f2755c484ab0bb9$var$process.removeListener(sig, $4f2755c484ab0bb9$var$sigListeners[sig]);\n } catch (er) {}\n });\n $4f2755c484ab0bb9$var$process.emit = $4f2755c484ab0bb9$var$originalProcessEmit;\n $4f2755c484ab0bb9$var$process.reallyExit = $4f2755c484ab0bb9$var$originalProcessReallyExit;\n $4f2755c484ab0bb9$var$emitter.count -= 1;\n };\n $4f2755c484ab0bb9$exports.unload = $4f2755c484ab0bb9$var$unload;\n var $4f2755c484ab0bb9$var$emit = function emit(event, code, signal) {\n /* istanbul ignore if */ if ($4f2755c484ab0bb9$var$emitter.emitted[event]) return;\n $4f2755c484ab0bb9$var$emitter.emitted[event] = true;\n $4f2755c484ab0bb9$var$emitter.emit(event, code, signal);\n };\n // { : , ... }\n var $4f2755c484ab0bb9$var$sigListeners = {};\n $4f2755c484ab0bb9$var$signals.forEach(function(sig) {\n $4f2755c484ab0bb9$var$sigListeners[sig] = function listener() {\n /* istanbul ignore if */ if (!$4f2755c484ab0bb9$var$processOk($parcel$global.process)) return;\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 = $4f2755c484ab0bb9$var$process.listeners(sig);\n if (listeners.length === $4f2755c484ab0bb9$var$emitter.count) {\n $4f2755c484ab0bb9$var$unload();\n $4f2755c484ab0bb9$var$emit(\"exit\", null, sig);\n /* istanbul ignore next */ $4f2755c484ab0bb9$var$emit(\"afterexit\", null, sig);\n /* istanbul ignore next */ if ($4f2755c484ab0bb9$var$isWin && sig === \"SIGHUP\") // \"SIGHUP\" throws an `ENOSYS` error on Windows,\n // so use a supported signal instead\n sig = \"SIGINT\";\n /* istanbul ignore next */ $4f2755c484ab0bb9$var$process.kill($4f2755c484ab0bb9$var$process.pid, sig);\n }\n };\n });\n $4f2755c484ab0bb9$exports.signals = function() {\n return $4f2755c484ab0bb9$var$signals;\n };\n var $4f2755c484ab0bb9$var$loaded = false;\n var $4f2755c484ab0bb9$var$load = function load() {\n if ($4f2755c484ab0bb9$var$loaded || !$4f2755c484ab0bb9$var$processOk($parcel$global.process)) return;\n $4f2755c484ab0bb9$var$loaded = true;\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 $4f2755c484ab0bb9$var$emitter.count += 1;\n $4f2755c484ab0bb9$var$signals = $4f2755c484ab0bb9$var$signals.filter(function(sig) {\n try {\n $4f2755c484ab0bb9$var$process.on(sig, $4f2755c484ab0bb9$var$sigListeners[sig]);\n return true;\n } catch (er) {\n return false;\n }\n });\n $4f2755c484ab0bb9$var$process.emit = $4f2755c484ab0bb9$var$processEmit;\n $4f2755c484ab0bb9$var$process.reallyExit = $4f2755c484ab0bb9$var$processReallyExit;\n };\n $4f2755c484ab0bb9$exports.load = $4f2755c484ab0bb9$var$load;\n var $4f2755c484ab0bb9$var$originalProcessReallyExit = $4f2755c484ab0bb9$var$process.reallyExit;\n var $4f2755c484ab0bb9$var$processReallyExit = function processReallyExit(code) {\n /* istanbul ignore if */ if (!$4f2755c484ab0bb9$var$processOk($parcel$global.process)) return;\n $4f2755c484ab0bb9$var$process.exitCode = code || /* istanbul ignore next */ 0;\n $4f2755c484ab0bb9$var$emit(\"exit\", $4f2755c484ab0bb9$var$process.exitCode, null);\n /* istanbul ignore next */ $4f2755c484ab0bb9$var$emit(\"afterexit\", $4f2755c484ab0bb9$var$process.exitCode, null);\n /* istanbul ignore next */ $4f2755c484ab0bb9$var$originalProcessReallyExit.call($4f2755c484ab0bb9$var$process, $4f2755c484ab0bb9$var$process.exitCode);\n };\n var $4f2755c484ab0bb9$var$originalProcessEmit = $4f2755c484ab0bb9$var$process.emit;\n var $4f2755c484ab0bb9$var$processEmit = function processEmit(ev, arg) {\n if (ev === \"exit\" && $4f2755c484ab0bb9$var$processOk($parcel$global.process)) {\n /* istanbul ignore else */ if (arg !== undefined) $4f2755c484ab0bb9$var$process.exitCode = arg;\n var ret = $4f2755c484ab0bb9$var$originalProcessEmit.apply(this, arguments);\n /* istanbul ignore next */ $4f2755c484ab0bb9$var$emit(\"exit\", $4f2755c484ab0bb9$var$process.exitCode, null);\n /* istanbul ignore next */ $4f2755c484ab0bb9$var$emit(\"afterexit\", $4f2755c484ab0bb9$var$process.exitCode, null);\n /* istanbul ignore next */ return ret;\n } else return $4f2755c484ab0bb9$var$originalProcessEmit.apply(this, arguments);\n };\n}\n\n\nconst $fa741d3d5361c52d$var$DEFAULT_FORCE_KILL_TIMEOUT = 5000;\nconst $fa741d3d5361c52d$export$971fa1b57c7f00b = (kill, signal = \"SIGTERM\", options = {})=>{\n const killResult = kill(signal);\n $fa741d3d5361c52d$var$setKillTimeout(kill, signal, options, killResult);\n return killResult;\n};\nconst $fa741d3d5361c52d$var$setKillTimeout = (kill, signal, options, killResult)=>{\n if (!$fa741d3d5361c52d$var$shouldForceKill(signal, options, killResult)) return;\n const timeout = $fa741d3d5361c52d$var$getForceKillAfterTimeout(options);\n const t = setTimeout(()=>{\n kill(\"SIGKILL\");\n }, timeout);\n // Guarded because there's no `.unref()` when `execa` is used in the renderer\n // process in Electron. This cannot be tested since we don't run tests in\n // Electron.\n // istanbul ignore else\n if (t.unref) t.unref();\n};\nconst $fa741d3d5361c52d$var$shouldForceKill = (signal, { forceKillAfterTimeout: forceKillAfterTimeout }, killResult)=>$fa741d3d5361c52d$var$isSigterm(signal) && forceKillAfterTimeout !== false && killResult;\nconst $fa741d3d5361c52d$var$isSigterm = (signal)=>signal === (0, ($parcel$interopDefault($d7DIX$nodeos))).constants.signals.SIGTERM || typeof signal === \"string\" && signal.toUpperCase() === \"SIGTERM\";\nconst $fa741d3d5361c52d$var$getForceKillAfterTimeout = ({ forceKillAfterTimeout: forceKillAfterTimeout = true })=>{\n if (forceKillAfterTimeout === true) return $fa741d3d5361c52d$var$DEFAULT_FORCE_KILL_TIMEOUT;\n if (!Number.isFinite(forceKillAfterTimeout) || forceKillAfterTimeout < 0) throw new TypeError(`Expected the \\`forceKillAfterTimeout\\` option to be a non-negative integer, got \\`${forceKillAfterTimeout}\\` (${typeof forceKillAfterTimeout})`);\n return forceKillAfterTimeout;\n};\nconst $fa741d3d5361c52d$export$667e13cd9b70ca17 = (spawned, context)=>{\n const killResult = spawned.kill();\n if (killResult) context.isCanceled = true;\n};\nconst $fa741d3d5361c52d$var$timeoutKill = (spawned, signal, reject)=>{\n spawned.kill(signal);\n reject(Object.assign(new Error(\"Timed out\"), {\n timedOut: true,\n signal: signal\n }));\n};\nconst $fa741d3d5361c52d$export$6bcc98999eb82896 = (spawned, { timeout: timeout, killSignal: killSignal = \"SIGTERM\" }, spawnedPromise)=>{\n if (timeout === 0 || timeout === undefined) return spawnedPromise;\n let timeoutId;\n const timeoutPromise = new Promise((resolve, reject)=>{\n timeoutId = setTimeout(()=>{\n $fa741d3d5361c52d$var$timeoutKill(spawned, killSignal, reject);\n }, timeout);\n });\n const safeSpawnedPromise = spawnedPromise.finally(()=>{\n clearTimeout(timeoutId);\n });\n return Promise.race([\n timeoutPromise,\n safeSpawnedPromise\n ]);\n};\nconst $fa741d3d5361c52d$export$3186f8866f616f9f = ({ timeout: timeout })=>{\n if (timeout !== undefined && (!Number.isFinite(timeout) || timeout < 0)) throw new TypeError(`Expected the \\`timeout\\` option to be a non-negative integer, got \\`${timeout}\\` (${typeof timeout})`);\n};\nconst $fa741d3d5361c52d$export$79fc3056c9ca4ada = async (spawned, { cleanup: cleanup, detached: detached }, timedPromise)=>{\n if (!cleanup || detached) return timedPromise;\n const removeExitHandler = (0, (/*@__PURE__*/$parcel$interopDefault($4f2755c484ab0bb9$exports)))(()=>{\n spawned.kill();\n });\n return timedPromise.finally(()=>{\n removeExitHandler();\n });\n};\n\n\n\n\nfunction $a56021186667e1ae$export$294a92d8f7b3979(stream) {\n return stream !== null && typeof stream === \"object\" && typeof stream.pipe === \"function\";\n}\nfunction $a56021186667e1ae$export$b58a61c52edb4f66(stream) {\n return $a56021186667e1ae$export$294a92d8f7b3979(stream) && stream.writable !== false && typeof stream._write === \"function\" && typeof stream._writableState === \"object\";\n}\nfunction $a56021186667e1ae$export$ac613ff475b69d05(stream) {\n return $a56021186667e1ae$export$294a92d8f7b3979(stream) && stream.readable !== false && typeof stream._read === \"function\" && typeof stream._readableState === \"object\";\n}\nfunction $a56021186667e1ae$export$f92d8ccfaec172d4(stream) {\n return $a56021186667e1ae$export$b58a61c52edb4f66(stream) && $a56021186667e1ae$export$ac613ff475b69d05(stream);\n}\nfunction $a56021186667e1ae$export$3053cdc6f2e088fd(stream) {\n return $a56021186667e1ae$export$f92d8ccfaec172d4(stream) && typeof stream._transform === \"function\";\n}\n\n\nconst $1116c8395866a081$var$isExecaChildProcess = (target)=>target instanceof (0, $d7DIX$nodechild_process.ChildProcess) && typeof target.then === \"function\";\nconst $1116c8395866a081$var$pipeToTarget = (spawned, streamName, target)=>{\n if (typeof target === \"string\") {\n spawned[streamName].pipe((0, $d7DIX$nodefs.createWriteStream)(target));\n return spawned;\n }\n if ((0, $a56021186667e1ae$export$b58a61c52edb4f66)(target)) {\n spawned[streamName].pipe(target);\n return spawned;\n }\n if (!$1116c8395866a081$var$isExecaChildProcess(target)) throw new TypeError(\"The second argument must be a string, a stream or an Execa child process.\");\n if (!(0, $a56021186667e1ae$export$b58a61c52edb4f66)(target.stdin)) throw new TypeError(\"The target child process's stdin must be available.\");\n spawned[streamName].pipe(target.stdin);\n return target;\n};\nconst $1116c8395866a081$export$14becf8d91886424 = (spawned)=>{\n if (spawned.stdout !== null) spawned.pipeStdout = $1116c8395866a081$var$pipeToTarget.bind(undefined, spawned, \"stdout\");\n if (spawned.stderr !== null) spawned.pipeStderr = $1116c8395866a081$var$pipeToTarget.bind(undefined, spawned, \"stderr\");\n if (spawned.all !== undefined) spawned.pipeAll = $1116c8395866a081$var$pipeToTarget.bind(undefined, spawned, \"all\");\n};\n\n\n\n\nvar $7797ec8e8589a175$exports = {};\n\"use strict\";\n\nvar $7797ec8e8589a175$require$BufferConstants = $d7DIX$buffer.constants;\n\n\nvar $7797ec8e8589a175$require$promisify = $d7DIX$util.promisify;\nvar $dc2cdad9b6bc28de$exports = {};\n\"use strict\";\n\nvar $dc2cdad9b6bc28de$require$PassThroughStream = $d7DIX$stream.PassThrough;\n$dc2cdad9b6bc28de$exports = (options)=>{\n options = {\n ...options\n };\n const { array: array } = options;\n let { encoding: encoding } = options;\n const isBuffer = encoding === \"buffer\";\n let objectMode = false;\n if (array) objectMode = !(encoding || isBuffer);\n else encoding = encoding || \"utf8\";\n if (isBuffer) encoding = null;\n const stream = new $dc2cdad9b6bc28de$require$PassThroughStream({\n objectMode: objectMode\n });\n if (encoding) stream.setEncoding(encoding);\n let length = 0;\n const chunks = [];\n stream.on(\"data\", (chunk)=>{\n chunks.push(chunk);\n if (objectMode) length = chunks.length;\n else length += chunk.length;\n });\n stream.getBufferedValue = ()=>{\n if (array) return chunks;\n return isBuffer ? Buffer.concat(chunks, length) : chunks.join(\"\");\n };\n stream.getBufferedLength = ()=>length;\n return stream;\n};\n\n\nconst $7797ec8e8589a175$var$streamPipelinePromisified = $7797ec8e8589a175$require$promisify($d7DIX$stream.pipeline);\nclass $7797ec8e8589a175$var$MaxBufferError extends Error {\n constructor(){\n super(\"maxBuffer exceeded\");\n this.name = \"MaxBufferError\";\n }\n}\nasync function $7797ec8e8589a175$var$getStream(inputStream, options) {\n if (!inputStream) throw new Error(\"Expected a stream\");\n options = {\n maxBuffer: Infinity,\n ...options\n };\n const { maxBuffer: maxBuffer } = options;\n const stream = $dc2cdad9b6bc28de$exports(options);\n await new Promise((resolve, reject)=>{\n const rejectPromise = (error)=>{\n // Don't retrieve an oversized buffer.\n if (error && stream.getBufferedLength() <= $7797ec8e8589a175$require$BufferConstants.MAX_LENGTH) error.bufferedData = stream.getBufferedValue();\n reject(error);\n };\n (async ()=>{\n try {\n await $7797ec8e8589a175$var$streamPipelinePromisified(inputStream, stream);\n resolve();\n } catch (error) {\n rejectPromise(error);\n }\n })();\n stream.on(\"data\", ()=>{\n if (stream.getBufferedLength() > maxBuffer) rejectPromise(new $7797ec8e8589a175$var$MaxBufferError());\n });\n });\n return stream.getBufferedValue();\n}\n$7797ec8e8589a175$exports = $7797ec8e8589a175$var$getStream;\n$7797ec8e8589a175$exports.buffer = (stream, options)=>$7797ec8e8589a175$var$getStream(stream, {\n ...options,\n encoding: \"buffer\"\n });\n$7797ec8e8589a175$exports.array = (stream, options)=>$7797ec8e8589a175$var$getStream(stream, {\n ...options,\n array: true\n });\n$7797ec8e8589a175$exports.MaxBufferError = $7797ec8e8589a175$var$MaxBufferError;\n\n\nvar $c96fa5900af93c80$exports = {};\n\"use strict\";\n\nvar $c96fa5900af93c80$require$PassThrough = $d7DIX$stream.PassThrough;\n$c96fa5900af93c80$exports = function() {\n var sources = [];\n var output = new $c96fa5900af93c80$require$PassThrough({\n objectMode: true\n });\n output.setMaxListeners(0);\n output.add = add;\n output.isEmpty = isEmpty;\n output.on(\"unpipe\", remove);\n Array.prototype.slice.call(arguments).forEach(add);\n return output;\n function add(source) {\n if (Array.isArray(source)) {\n source.forEach(add);\n return this;\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, {\n end: false\n });\n return this;\n }\n function isEmpty() {\n return sources.length == 0;\n }\n function remove(source) {\n sources = sources.filter(function(it) {\n return it !== source;\n });\n if (!sources.length && output.readable) output.end();\n }\n};\n\n\nconst $cd75f6210a259c45$var$validateInputOptions = (input)=>{\n if (input !== undefined) throw new TypeError(\"The `input` and `inputFile` options cannot be both set.\");\n};\nconst $cd75f6210a259c45$var$getInputSync = ({ input: input, inputFile: inputFile })=>{\n if (typeof inputFile !== \"string\") return input;\n $cd75f6210a259c45$var$validateInputOptions(input);\n return (0, $d7DIX$nodefs.readFileSync)(inputFile);\n};\nconst $cd75f6210a259c45$export$7f2f9b6457412b41 = (options)=>{\n const input = $cd75f6210a259c45$var$getInputSync(options);\n if ((0, $a56021186667e1ae$export$294a92d8f7b3979)(input)) throw new TypeError(\"The `input` option cannot be a stream in sync mode\");\n return input;\n};\nconst $cd75f6210a259c45$var$getInput = ({ input: input, inputFile: inputFile })=>{\n if (typeof inputFile !== \"string\") return input;\n $cd75f6210a259c45$var$validateInputOptions(input);\n return (0, $d7DIX$nodefs.createReadStream)(inputFile);\n};\nconst $cd75f6210a259c45$export$412508d679148d5c = (spawned, options)=>{\n const input = $cd75f6210a259c45$var$getInput(options);\n if (input === undefined) return;\n if ((0, $a56021186667e1ae$export$294a92d8f7b3979)(input)) input.pipe(spawned.stdin);\n else spawned.stdin.end(input);\n};\nconst $cd75f6210a259c45$export$41f5c0c12dadd6ae = (spawned, { all: all })=>{\n if (!all || !spawned.stdout && !spawned.stderr) return;\n const mixed = (0, (/*@__PURE__*/$parcel$interopDefault($c96fa5900af93c80$exports)))();\n if (spawned.stdout) mixed.add(spawned.stdout);\n if (spawned.stderr) mixed.add(spawned.stderr);\n return mixed;\n};\n// On failure, `result.stdout|stderr|all` should contain the currently buffered stream\nconst $cd75f6210a259c45$var$getBufferedData = async (stream, streamPromise)=>{\n // When `buffer` is `false`, `streamPromise` is `undefined` and there is no buffered data to retrieve\n if (!stream || streamPromise === undefined) return;\n stream.destroy();\n try {\n return await streamPromise;\n } catch (error) {\n return error.bufferedData;\n }\n};\nconst $cd75f6210a259c45$var$getStreamPromise = (stream, { encoding: encoding, buffer: buffer, maxBuffer: maxBuffer })=>{\n if (!stream || !buffer) return;\n if (encoding) return (0, (/*@__PURE__*/$parcel$interopDefault($7797ec8e8589a175$exports)))(stream, {\n encoding: encoding,\n maxBuffer: maxBuffer\n });\n return (0, (/*@__PURE__*/$parcel$interopDefault($7797ec8e8589a175$exports))).buffer(stream, {\n maxBuffer: maxBuffer\n });\n};\nconst $cd75f6210a259c45$export$67b768ac9e1c70fa = async ({ stdout: stdout, stderr: stderr, all: all }, { encoding: encoding, buffer: buffer, maxBuffer: maxBuffer }, processDone)=>{\n const stdoutPromise = $cd75f6210a259c45$var$getStreamPromise(stdout, {\n encoding: encoding,\n buffer: buffer,\n maxBuffer: maxBuffer\n });\n const stderrPromise = $cd75f6210a259c45$var$getStreamPromise(stderr, {\n encoding: encoding,\n buffer: buffer,\n maxBuffer: maxBuffer\n });\n const allPromise = $cd75f6210a259c45$var$getStreamPromise(all, {\n encoding: encoding,\n buffer: buffer,\n maxBuffer: maxBuffer * 2\n });\n try {\n return await Promise.all([\n processDone,\n stdoutPromise,\n stderrPromise,\n allPromise\n ]);\n } catch (error) {\n return Promise.all([\n {\n error: error,\n signal: error.signal,\n timedOut: error.timedOut\n },\n $cd75f6210a259c45$var$getBufferedData(stdout, stdoutPromise),\n $cd75f6210a259c45$var$getBufferedData(stderr, stderrPromise),\n $cd75f6210a259c45$var$getBufferedData(all, allPromise)\n ]);\n }\n};\n\n\n// eslint-disable-next-line unicorn/prefer-top-level-await\nconst $bff0e92d62b2f2ec$var$nativePromisePrototype = (async ()=>{})().constructor.prototype;\nconst $bff0e92d62b2f2ec$var$descriptors = [\n \"then\",\n \"catch\",\n \"finally\"\n].map((property)=>[\n property,\n Reflect.getOwnPropertyDescriptor($bff0e92d62b2f2ec$var$nativePromisePrototype, property)\n ]);\nconst $bff0e92d62b2f2ec$export$e6eb0007fd542aba = (spawned, promise)=>{\n for (const [property, descriptor] of $bff0e92d62b2f2ec$var$descriptors){\n // Starting the main `promise` is deferred to avoid consuming streams\n const value = typeof promise === \"function\" ? (...args)=>Reflect.apply(descriptor.value, promise(), args) : descriptor.value.bind(promise);\n Reflect.defineProperty(spawned, property, {\n ...descriptor,\n value: value\n });\n }\n};\nconst $bff0e92d62b2f2ec$export$6e3a9b5342d42997 = (spawned)=>new Promise((resolve, reject)=>{\n spawned.on(\"exit\", (exitCode, signal)=>{\n resolve({\n exitCode: exitCode,\n signal: signal\n });\n });\n spawned.on(\"error\", (error)=>{\n reject(error);\n });\n if (spawned.stdin) spawned.stdin.on(\"error\", (error)=>{\n reject(error);\n });\n });\n\n\n\n\nconst $5b3216da0133be0b$var$normalizeArgs = (file, args = [])=>{\n if (!Array.isArray(args)) return [\n file\n ];\n return [\n file,\n ...args\n ];\n};\nconst $5b3216da0133be0b$var$NO_ESCAPE_REGEXP = /^[\\w.-]+$/;\nconst $5b3216da0133be0b$var$DOUBLE_QUOTES_REGEXP = /\"/g;\nconst $5b3216da0133be0b$var$escapeArg = (arg)=>{\n if (typeof arg !== \"string\" || $5b3216da0133be0b$var$NO_ESCAPE_REGEXP.test(arg)) return arg;\n return `\"${arg.replace($5b3216da0133be0b$var$DOUBLE_QUOTES_REGEXP, '\\\\\"')}\"`;\n};\nconst $5b3216da0133be0b$export$ab3db8fe5ebf3a1 = (file, args)=>$5b3216da0133be0b$var$normalizeArgs(file, args).join(\" \");\nconst $5b3216da0133be0b$export$9d3099014bd914f8 = (file, args)=>$5b3216da0133be0b$var$normalizeArgs(file, args).map((arg)=>$5b3216da0133be0b$var$escapeArg(arg)).join(\" \");\nconst $5b3216da0133be0b$var$SPACES_REGEXP = / +/g;\nconst $5b3216da0133be0b$export$78bcee23e0849f6a = (command)=>{\n const tokens = [];\n for (const token of command.trim().split($5b3216da0133be0b$var$SPACES_REGEXP)){\n // Allow spaces to be escaped by a backslash if not meant as a delimiter\n const previousToken = tokens[tokens.length - 1];\n if (previousToken && previousToken.endsWith(\"\\\\\")) // Merge previous token with current one\n tokens[tokens.length - 1] = `${previousToken.slice(0, -1)} ${token}`;\n else tokens.push(token);\n }\n return tokens;\n};\nconst $5b3216da0133be0b$var$parseExpression = (expression)=>{\n const typeOfExpression = typeof expression;\n if (typeOfExpression === \"string\") return expression;\n if (typeOfExpression === \"number\") return String(expression);\n if (typeOfExpression === \"object\" && expression !== null && !(expression instanceof (0, $d7DIX$nodechild_process.ChildProcess)) && \"stdout\" in expression) {\n const typeOfStdout = typeof expression.stdout;\n if (typeOfStdout === \"string\") return expression.stdout;\n if ((0, $d7DIX$nodebuffer.Buffer).isBuffer(expression.stdout)) return expression.stdout.toString();\n throw new TypeError(`Unexpected \"${typeOfStdout}\" stdout in template expression`);\n }\n throw new TypeError(`Unexpected \"${typeOfExpression}\" in template expression`);\n};\nconst $5b3216da0133be0b$var$concatTokens = (tokens, nextTokens, isNew)=>isNew || tokens.length === 0 || nextTokens.length === 0 ? [\n ...tokens,\n ...nextTokens\n ] : [\n ...tokens.slice(0, -1),\n `${tokens[tokens.length - 1]}${nextTokens[0]}`,\n ...nextTokens.slice(1)\n ];\nconst $5b3216da0133be0b$var$parseTemplate = ({ templates: templates, expressions: expressions, tokens: tokens, index: index, template: template })=>{\n const templateString = template ?? templates.raw[index];\n const templateTokens = templateString.split($5b3216da0133be0b$var$SPACES_REGEXP).filter(Boolean);\n const newTokens = $5b3216da0133be0b$var$concatTokens(tokens, templateTokens, templateString.startsWith(\" \"));\n if (index === expressions.length) return newTokens;\n const expression = expressions[index];\n const expressionTokens = Array.isArray(expression) ? expression.map((expression)=>$5b3216da0133be0b$var$parseExpression(expression)) : [\n $5b3216da0133be0b$var$parseExpression(expression)\n ];\n return $5b3216da0133be0b$var$concatTokens(newTokens, expressionTokens, templateString.endsWith(\" \"));\n};\nconst $5b3216da0133be0b$export$4a6ee54de9b0f25d = (templates, expressions)=>{\n let tokens = [];\n for (const [index, template] of templates.entries())tokens = $5b3216da0133be0b$var$parseTemplate({\n templates: templates,\n expressions: expressions,\n tokens: tokens,\n index: index,\n template: template\n });\n return tokens;\n};\n\n\n\n\nconst $8619df7f75275a6d$export$38bb3c1fbaa0bdcf = (0, $d7DIX$nodeutil.debuglog)(\"execa\").enabled;\nconst $8619df7f75275a6d$var$padField = (field, padding)=>String(field).padStart(padding, \"0\");\nconst $8619df7f75275a6d$var$getTimestamp = ()=>{\n const date = new Date();\n return `${$8619df7f75275a6d$var$padField(date.getHours(), 2)}:${$8619df7f75275a6d$var$padField(date.getMinutes(), 2)}:${$8619df7f75275a6d$var$padField(date.getSeconds(), 2)}.${$8619df7f75275a6d$var$padField(date.getMilliseconds(), 3)}`;\n};\nconst $8619df7f75275a6d$export$3bb886c4c1352118 = (escapedCommand, { verbose: verbose })=>{\n if (!verbose) return;\n (0, ($parcel$interopDefault($d7DIX$nodeprocess))).stderr.write(`[${$8619df7f75275a6d$var$getTimestamp()}] ${escapedCommand}\\n`);\n};\n\n\nconst $54908482e02f4b6d$var$DEFAULT_MAX_BUFFER = 100000000;\nconst $54908482e02f4b6d$var$getEnv = ({ env: envOption, extendEnv: extendEnv, preferLocal: preferLocal, localDir: localDir, execPath: execPath })=>{\n const env = extendEnv ? {\n ...(0, ($parcel$interopDefault($d7DIX$nodeprocess))).env,\n ...envOption\n } : envOption;\n if (preferLocal) return (0, $79a4a337e08e5260$export$340e1fbaac04248b)({\n env: env,\n cwd: localDir,\n execPath: execPath\n });\n return env;\n};\nconst $54908482e02f4b6d$var$handleArguments = (file, args, options = {})=>{\n const parsed = (0, (/*@__PURE__*/$parcel$interopDefault($8b1434f30c2df0f5$exports)))._parse(file, args, options);\n file = parsed.command;\n args = parsed.args;\n options = parsed.options;\n options = {\n maxBuffer: $54908482e02f4b6d$var$DEFAULT_MAX_BUFFER,\n buffer: true,\n stripFinalNewline: true,\n extendEnv: true,\n preferLocal: false,\n localDir: options.cwd || (0, ($parcel$interopDefault($d7DIX$nodeprocess))).cwd(),\n execPath: (0, ($parcel$interopDefault($d7DIX$nodeprocess))).execPath,\n encoding: \"utf8\",\n reject: true,\n cleanup: true,\n all: false,\n windowsHide: true,\n verbose: (0, $8619df7f75275a6d$export$38bb3c1fbaa0bdcf),\n ...options\n };\n options.env = $54908482e02f4b6d$var$getEnv(options);\n options.stdio = (0, $af1945b2831f1830$export$a581401a57fac02e)(options);\n if ((0, ($parcel$interopDefault($d7DIX$nodeprocess))).platform === \"win32\" && (0, ($parcel$interopDefault($d7DIX$nodepath))).basename(file, \".exe\") === \"cmd\") // #116\n args.unshift(\"/q\");\n return {\n file: file,\n args: args,\n options: options,\n parsed: parsed\n };\n};\nconst $54908482e02f4b6d$var$handleOutput = (options, value, error)=>{\n if (typeof value !== \"string\" && !(0, $d7DIX$nodebuffer.Buffer).isBuffer(value)) // When `execaSync()` errors, we normalize it to '' to mimic `execa()`\n return error === undefined ? undefined : \"\";\n if (options.stripFinalNewline) return (0, $c36cfccc5e0479d9$export$2e2bcd8739ae039)(value);\n return value;\n};\nfunction $54908482e02f4b6d$export$db6b1668e3758717(file, args, options) {\n const parsed = $54908482e02f4b6d$var$handleArguments(file, args, options);\n const command = (0, $5b3216da0133be0b$export$ab3db8fe5ebf3a1)(file, args);\n const escapedCommand = (0, $5b3216da0133be0b$export$9d3099014bd914f8)(file, args);\n (0, $8619df7f75275a6d$export$3bb886c4c1352118)(escapedCommand, parsed.options);\n (0, $fa741d3d5361c52d$export$3186f8866f616f9f)(parsed.options);\n let spawned;\n try {\n spawned = (0, ($parcel$interopDefault($d7DIX$nodechild_process))).spawn(parsed.file, parsed.args, parsed.options);\n } catch (error) {\n // Ensure the returned error is always both a promise and a child process\n const dummySpawned = new (0, ($parcel$interopDefault($d7DIX$nodechild_process))).ChildProcess();\n const errorPromise = Promise.reject((0, $db32f6282de80f14$export$5a4bb2b1c89bdce7)({\n error: error,\n stdout: \"\",\n stderr: \"\",\n all: \"\",\n command: command,\n escapedCommand: escapedCommand,\n parsed: parsed,\n timedOut: false,\n isCanceled: false,\n killed: false\n }));\n (0, $bff0e92d62b2f2ec$export$e6eb0007fd542aba)(dummySpawned, errorPromise);\n return dummySpawned;\n }\n const spawnedPromise = (0, $bff0e92d62b2f2ec$export$6e3a9b5342d42997)(spawned);\n const timedPromise = (0, $fa741d3d5361c52d$export$6bcc98999eb82896)(spawned, parsed.options, spawnedPromise);\n const processDone = (0, $fa741d3d5361c52d$export$79fc3056c9ca4ada)(spawned, parsed.options, timedPromise);\n const context = {\n isCanceled: false\n };\n spawned.kill = (0, $fa741d3d5361c52d$export$971fa1b57c7f00b).bind(null, spawned.kill.bind(spawned));\n spawned.cancel = (0, $fa741d3d5361c52d$export$667e13cd9b70ca17).bind(null, spawned, context);\n const handlePromise = async ()=>{\n const [{ error: error, exitCode: exitCode, signal: signal, timedOut: timedOut }, stdoutResult, stderrResult, allResult] = await (0, $cd75f6210a259c45$export$67b768ac9e1c70fa)(spawned, parsed.options, processDone);\n const stdout = $54908482e02f4b6d$var$handleOutput(parsed.options, stdoutResult);\n const stderr = $54908482e02f4b6d$var$handleOutput(parsed.options, stderrResult);\n const all = $54908482e02f4b6d$var$handleOutput(parsed.options, allResult);\n if (error || exitCode !== 0 || signal !== null) {\n const returnedError = (0, $db32f6282de80f14$export$5a4bb2b1c89bdce7)({\n error: error,\n exitCode: exitCode,\n signal: signal,\n stdout: stdout,\n stderr: stderr,\n all: all,\n command: command,\n escapedCommand: escapedCommand,\n parsed: parsed,\n timedOut: timedOut,\n isCanceled: context.isCanceled || (parsed.options.signal ? parsed.options.signal.aborted : false),\n killed: spawned.killed\n });\n if (!parsed.options.reject) return returnedError;\n throw returnedError;\n }\n return {\n command: command,\n escapedCommand: escapedCommand,\n exitCode: 0,\n stdout: stdout,\n stderr: stderr,\n all: all,\n failed: false,\n timedOut: false,\n isCanceled: false,\n killed: false\n };\n };\n const handlePromiseOnce = (0, $a257f7b521fbcd70$export$2e2bcd8739ae039)(handlePromise);\n (0, $cd75f6210a259c45$export$412508d679148d5c)(spawned, parsed.options);\n spawned.all = (0, $cd75f6210a259c45$export$41f5c0c12dadd6ae)(spawned, parsed.options);\n (0, $1116c8395866a081$export$14becf8d91886424)(spawned);\n (0, $bff0e92d62b2f2ec$export$e6eb0007fd542aba)(spawned, handlePromiseOnce);\n return spawned;\n}\nfunction $54908482e02f4b6d$export$28823a701bb5a12d(file, args, options) {\n const parsed = $54908482e02f4b6d$var$handleArguments(file, args, options);\n const command = (0, $5b3216da0133be0b$export$ab3db8fe5ebf3a1)(file, args);\n const escapedCommand = (0, $5b3216da0133be0b$export$9d3099014bd914f8)(file, args);\n (0, $8619df7f75275a6d$export$3bb886c4c1352118)(escapedCommand, parsed.options);\n const input = (0, $cd75f6210a259c45$export$7f2f9b6457412b41)(parsed.options);\n let result;\n try {\n result = (0, ($parcel$interopDefault($d7DIX$nodechild_process))).spawnSync(parsed.file, parsed.args, {\n ...parsed.options,\n input: input\n });\n } catch (error) {\n throw (0, $db32f6282de80f14$export$5a4bb2b1c89bdce7)({\n error: error,\n stdout: \"\",\n stderr: \"\",\n all: \"\",\n command: command,\n escapedCommand: escapedCommand,\n parsed: parsed,\n timedOut: false,\n isCanceled: false,\n killed: false\n });\n }\n const stdout = $54908482e02f4b6d$var$handleOutput(parsed.options, result.stdout, result.error);\n const stderr = $54908482e02f4b6d$var$handleOutput(parsed.options, result.stderr, result.error);\n if (result.error || result.status !== 0 || result.signal !== null) {\n const error = (0, $db32f6282de80f14$export$5a4bb2b1c89bdce7)({\n stdout: stdout,\n stderr: stderr,\n error: result.error,\n signal: result.signal,\n exitCode: result.status,\n command: command,\n escapedCommand: escapedCommand,\n parsed: parsed,\n timedOut: result.error && result.error.code === \"ETIMEDOUT\",\n isCanceled: false,\n killed: result.signal !== null\n });\n if (!parsed.options.reject) return error;\n throw error;\n }\n return {\n command: command,\n escapedCommand: escapedCommand,\n exitCode: 0,\n stdout: stdout,\n stderr: stderr,\n failed: false,\n timedOut: false,\n isCanceled: false,\n killed: false\n };\n}\nconst $54908482e02f4b6d$var$normalizeScriptStdin = ({ input: input, inputFile: inputFile, stdio: stdio })=>input === undefined && inputFile === undefined && stdio === undefined ? {\n stdin: \"inherit\"\n } : {};\nconst $54908482e02f4b6d$var$normalizeScriptOptions = (options = {})=>({\n preferLocal: true,\n ...$54908482e02f4b6d$var$normalizeScriptStdin(options),\n ...options\n });\nfunction $54908482e02f4b6d$var$create$(options) {\n function $(templatesOrOptions, ...expressions) {\n if (!Array.isArray(templatesOrOptions)) return $54908482e02f4b6d$var$create$({\n ...options,\n ...templatesOrOptions\n });\n const [file, ...args] = (0, $5b3216da0133be0b$export$4a6ee54de9b0f25d)(templatesOrOptions, expressions);\n return $54908482e02f4b6d$export$db6b1668e3758717(file, args, $54908482e02f4b6d$var$normalizeScriptOptions(options));\n }\n $.sync = (templates, ...expressions)=>{\n if (!Array.isArray(templates)) throw new TypeError(\"Please use $(options).sync`command` instead of $.sync(options)`command`.\");\n const [file, ...args] = (0, $5b3216da0133be0b$export$4a6ee54de9b0f25d)(templates, expressions);\n return $54908482e02f4b6d$export$28823a701bb5a12d(file, args, $54908482e02f4b6d$var$normalizeScriptOptions(options));\n };\n return $;\n}\nconst $54908482e02f4b6d$export$3d8c2f653ac9d0b9 = $54908482e02f4b6d$var$create$();\nfunction $54908482e02f4b6d$export$eb9ed1222071f2f6(command, options) {\n const [file, ...args] = (0, $5b3216da0133be0b$export$78bcee23e0849f6a)(command);\n return $54908482e02f4b6d$export$db6b1668e3758717(file, args, options);\n}\nfunction $54908482e02f4b6d$export$5c60dbe76a54db4(command, options) {\n const [file, ...args] = (0, $5b3216da0133be0b$export$78bcee23e0849f6a)(command);\n return $54908482e02f4b6d$export$28823a701bb5a12d(file, args, options);\n}\nfunction $54908482e02f4b6d$export$c004ac68fdb98119(scriptPath, args, options = {}) {\n if (args && !Array.isArray(args) && typeof args === \"object\") {\n options = args;\n args = [];\n }\n const stdio = (0, $af1945b2831f1830$export$889423b478ae2ba)(options);\n const defaultExecArgv = (0, ($parcel$interopDefault($d7DIX$nodeprocess))).execArgv.filter((arg)=>!arg.startsWith(\"--inspect\"));\n const { nodePath: nodePath = (0, ($parcel$interopDefault($d7DIX$nodeprocess))).execPath, nodeOptions: nodeOptions = defaultExecArgv } = options;\n return $54908482e02f4b6d$export$db6b1668e3758717(nodePath, [\n ...nodeOptions,\n scriptPath,\n ...Array.isArray(args) ? args : []\n ], {\n ...options,\n stdin: undefined,\n stdout: undefined,\n stderr: undefined,\n stdio: stdio,\n shell: false\n });\n}\n\n\nfunction $4467f131fc22cbb2$export$7683bf1311d8252() {\n return (0, (/*@__PURE__*/$parcel$interopDefault($851ef3bcd445adf9$exports))).sync(\"sudo\", {\n nothrow: true\n }) !== null;\n}\nfunction $4467f131fc22cbb2$export$e3140dc7d0c35e48() {\n // TODO not all CI systems are root\n return process.getuid?.() === 0 || Boolean(process.env.CI);\n}\nfunction $4467f131fc22cbb2$export$316200228f28b8ce() {\n return $4467f131fc22cbb2$export$e3140dc7d0c35e48() && $4467f131fc22cbb2$export$7683bf1311d8252();\n}\nfunction $4467f131fc22cbb2$export$d976d47922ae9667(command) {\n if ($4467f131fc22cbb2$export$316200228f28b8ce()) return `sudo ${command}`;\n return command;\n}\nconst $4467f131fc22cbb2$export$151aeb0ade3989e1 = {\n stdio: \"inherit\",\n shell: true\n};\nfunction $4467f131fc22cbb2$export$58f152936f209932(program, args = [], execOptions = $4467f131fc22cbb2$export$151aeb0ade3989e1) {\n if ($4467f131fc22cbb2$export$316200228f28b8ce()) {\n const command = $4467f131fc22cbb2$var$getSudoCommand(program, args);\n return (0, $54908482e02f4b6d$export$5c60dbe76a54db4)(command, execOptions);\n } else return (0, $54908482e02f4b6d$export$28823a701bb5a12d)(program, $4467f131fc22cbb2$var$quote(args), execOptions);\n}\nfunction $4467f131fc22cbb2$export$351270479e2eef26(program, args = [], execOptions = $4467f131fc22cbb2$export$151aeb0ade3989e1) {\n if ($4467f131fc22cbb2$export$316200228f28b8ce()) {\n const command = $4467f131fc22cbb2$var$getSudoCommand(program, args);\n return (0, $54908482e02f4b6d$export$eb9ed1222071f2f6)(command, execOptions);\n } else return (0, $54908482e02f4b6d$export$db6b1668e3758717)(program, $4467f131fc22cbb2$var$quote(args), execOptions);\n}\nfunction $4467f131fc22cbb2$var$getSudoCommand(program, args) {\n return `sudo ${$4467f131fc22cbb2$var$quote([\n program,\n ...args\n ]).join(\" \")}`;\n}\nfunction $4467f131fc22cbb2$var$quote(strings) {\n return strings.map((str)=>`'${str}'`);\n}\n\n\n// From `is-admin`: updated execa\n\n// https://stackoverflow.com/a/28268802\nasync function $7020ab17cd399ddb$var$testFltmc() {\n try {\n await (0, $54908482e02f4b6d$export$db6b1668e3758717)(\"fltmc\");\n return true;\n } catch {\n return false;\n }\n}\nasync function $7020ab17cd399ddb$export$2e2bcd8739ae039() {\n if (process.platform !== \"win32\") return false;\n try {\n // https://stackoverflow.com/a/21295806/1641422\n await (0, $54908482e02f4b6d$export$db6b1668e3758717)(\"fsutil\", [\n \"dirty\",\n \"query\",\n process.env.systemdrive ?? \"\"\n ]);\n return true;\n } catch (error) {\n if (error.code === \"ENOENT\") return $7020ab17cd399ddb$var$testFltmc();\n return false;\n }\n}\n\n\n\nconst $04f5a339f0d90ee6$export$36ad181701cee597 = (0, $7020ab17cd399ddb$export$2e2bcd8739ae039);\nconst $04f5a339f0d90ee6$export$2ebf12717e6b5bb8 = (0, $4467f131fc22cbb2$export$e3140dc7d0c35e48);\nfunction $04f5a339f0d90ee6$export$fc970ed23da99565() {\n if (process.platform === \"win32\") return $04f5a339f0d90ee6$export$36ad181701cee597();\n else return (0, $4467f131fc22cbb2$export$e3140dc7d0c35e48)();\n}\n\n\n\n\nasync function $8c9709291dc275bc$export$4718e061a205eab(path) {\n if ((process.platform === \"linux\" || process.platform === \"darwin\") && (0, $4467f131fc22cbb2$export$316200228f28b8ce)() && process.env.SUDO_USER !== undefined) {\n const isDirectory = (0, ($parcel$interopDefault($d7DIX$fs))).statSync(path).isDirectory();\n await (0, $4467f131fc22cbb2$export$351270479e2eef26)(\"chown\", [\n ...isDirectory ? [\n \"-R\"\n ] : [],\n process.env.SUDO_USER,\n path\n ], (0, $4467f131fc22cbb2$export$151aeb0ade3989e1));\n }\n}\n\n\n\n\nfunction $cc03115747abd396$export$8312d9eeba321950(path) {\n if ((0, $4467f131fc22cbb2$export$316200228f28b8ce)() && typeof process.env.SUDO_USER === \"string\") {\n // use the user profile even if root\n if (process.platform === \"darwin\") return (0, $d7DIX$path.join)(\"/Users/\", process.env.SUDO_USER, path);\n else return (0, $d7DIX$path.join)(\"/home/\", process.env.SUDO_USER, path);\n } else return (0, $9e68a7eb82f0b753$export$2e2bcd8739ae039)(`~/${path}`);\n}\n\n\n\nvar $ER74K = parcelRequire(\"ER74K\");\nvar $fdb448df0bdfb0de$exports = {};\n\"use strict\";\n\n\nvar $bSUdl = parcelRequire(\"bSUdl\");\n\n\n\n\n/******************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */ /* global Reflect, Promise */ function $fdb448df0bdfb0de$var$__awaiter(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n}\nfunction $fdb448df0bdfb0de$var$__generator(thisArg, body) {\n var _ = {\n label: 0,\n sent: function() {\n if (t[0] & 1) throw t[1];\n return t[1];\n },\n trys: [],\n ops: []\n }, f, y, t, g;\n return g = {\n next: verb(0),\n \"throw\": verb(1),\n \"return\": verb(2)\n }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() {\n return this;\n }), g;\n function verb(n) {\n return function(v) {\n return step([\n n,\n v\n ]);\n };\n }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while(g && (g = 0, op[0] && (_ = 0)), _)try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [\n op[0] & 2,\n t.value\n ];\n switch(op[0]){\n case 0:\n case 1:\n t = op;\n break;\n case 4:\n _.label++;\n return {\n value: op[1],\n done: false\n };\n case 5:\n _.label++;\n y = op[1];\n op = [\n 0\n ];\n continue;\n case 7:\n op = _.ops.pop();\n _.trys.pop();\n continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {\n _ = 0;\n continue;\n }\n if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {\n _.label = op[1];\n break;\n }\n if (op[0] === 6 && _.label < t[1]) {\n _.label = t[1];\n t = op;\n break;\n }\n if (t && _.label < t[2]) {\n _.label = t[2];\n _.ops.push(op);\n break;\n }\n if (t[2]) _.ops.pop();\n _.trys.pop();\n continue;\n }\n op = body.call(thisArg, _);\n } catch (e) {\n op = [\n 6,\n e\n ];\n y = 0;\n } finally{\n f = t = 0;\n }\n if (op[0] & 5) throw op[1];\n return {\n value: op[0] ? op[1] : void 0,\n done: true\n };\n }\n}\nvar $fdb448df0bdfb0de$var$packageJson = $d7DIX$process.env.npm_package_json;\nvar $fdb448df0bdfb0de$var$userAgent = $d7DIX$process.env.npm_config_user_agent;\nvar $fdb448df0bdfb0de$var$isNpm6 = Boolean($fdb448df0bdfb0de$var$userAgent && $fdb448df0bdfb0de$var$userAgent.startsWith(\"npm\"));\nvar $fdb448df0bdfb0de$var$isNpm7 = Boolean($fdb448df0bdfb0de$var$packageJson && $fdb448df0bdfb0de$var$packageJson.endsWith(\"package.json\"));\nvar $fdb448df0bdfb0de$var$isNpm = $fdb448df0bdfb0de$var$isNpm6 || $fdb448df0bdfb0de$var$isNpm7;\nvar $fdb448df0bdfb0de$var$isYarn = Boolean($fdb448df0bdfb0de$var$userAgent && $fdb448df0bdfb0de$var$userAgent.startsWith(\"yarn\"));\nvar $fdb448df0bdfb0de$var$isNpmOrYarn = $fdb448df0bdfb0de$var$isNpm || $fdb448df0bdfb0de$var$isYarn;\nvar $fdb448df0bdfb0de$var$homeDirectory = $d7DIX$os.homedir();\nvar $fdb448df0bdfb0de$var$configDir = process.env.XDG_CONFIG_HOME || $d7DIX$path.join($fdb448df0bdfb0de$var$homeDirectory, \".config\", \"simple-update-notifier\");\nvar $fdb448df0bdfb0de$var$getConfigFile = function(packageName) {\n return $d7DIX$path.join($fdb448df0bdfb0de$var$configDir, \"\".concat(packageName.replace(\"@\", \"\").replace(\"/\", \"__\"), \".json\"));\n};\nvar $fdb448df0bdfb0de$var$createConfigDir = function() {\n if (!$d7DIX$fs.existsSync($fdb448df0bdfb0de$var$configDir)) $d7DIX$fs.mkdirSync($fdb448df0bdfb0de$var$configDir, {\n recursive: true\n });\n};\nvar $fdb448df0bdfb0de$var$getLastUpdate = function(packageName) {\n var configFile = $fdb448df0bdfb0de$var$getConfigFile(packageName);\n try {\n if (!$d7DIX$fs.existsSync(configFile)) return undefined;\n var file = JSON.parse($d7DIX$fs.readFileSync(configFile, \"utf8\"));\n return file.lastUpdateCheck;\n } catch (_a) {\n return undefined;\n }\n};\nvar $fdb448df0bdfb0de$var$saveLastUpdate = function(packageName) {\n var configFile = $fdb448df0bdfb0de$var$getConfigFile(packageName);\n $d7DIX$fs.writeFileSync(configFile, JSON.stringify({\n lastUpdateCheck: new Date().getTime()\n }));\n};\nvar $fdb448df0bdfb0de$var$getDistVersion = function(packageName, distTag) {\n return $fdb448df0bdfb0de$var$__awaiter(void 0, void 0, void 0, function() {\n var url;\n return $fdb448df0bdfb0de$var$__generator(this, function(_a) {\n url = \"https://registry.npmjs.org/-/package/\".concat(packageName, \"/dist-tags\");\n return [\n 2 /*return*/ ,\n new Promise(function(resolve, reject) {\n $d7DIX$https.get(url, function(res) {\n var body = \"\";\n res.on(\"data\", function(chunk) {\n return body += chunk;\n });\n res.on(\"end\", function() {\n try {\n var json = JSON.parse(body);\n var version = json[distTag];\n if (!version) reject(new Error(\"Error getting version\"));\n resolve(version);\n } catch (_a) {\n reject(new Error(\"Could not parse version response\"));\n }\n });\n }).on(\"error\", function(err) {\n return reject(err);\n });\n })\n ];\n });\n });\n};\nvar $fdb448df0bdfb0de$var$hasNewVersion = function(_a) {\n var pkg = _a.pkg, _b = _a.updateCheckInterval, updateCheckInterval = _b === void 0 ? 86400000 : _b, _c = _a.distTag, distTag = _c === void 0 ? \"latest\" : _c, alwaysRun = _a.alwaysRun, debug = _a.debug;\n return $fdb448df0bdfb0de$var$__awaiter(void 0, void 0, void 0, function() {\n var lastUpdateCheck, latestVersion;\n return $fdb448df0bdfb0de$var$__generator(this, function(_d) {\n switch(_d.label){\n case 0:\n $fdb448df0bdfb0de$var$createConfigDir();\n lastUpdateCheck = $fdb448df0bdfb0de$var$getLastUpdate(pkg.name);\n if (!(alwaysRun || !lastUpdateCheck || lastUpdateCheck < new Date().getTime() - updateCheckInterval)) return [\n 3 /*break*/ ,\n 2\n ];\n return [\n 4 /*yield*/ ,\n $fdb448df0bdfb0de$var$getDistVersion(pkg.name, distTag)\n ];\n case 1:\n latestVersion = _d.sent();\n $fdb448df0bdfb0de$var$saveLastUpdate(pkg.name);\n if ($bSUdl.gt(latestVersion, pkg.version)) return [\n 2 /*return*/ ,\n latestVersion\n ];\n else if (debug) console.error(\"Latest version (\".concat(latestVersion, \") not newer than current version (\").concat(pkg.version, \")\"));\n return [\n 3 /*break*/ ,\n 3\n ];\n case 2:\n if (debug) console.error(\"Too recent to check for a new update. simpleUpdateNotifier() interval set to \".concat(updateCheckInterval, \"ms but only \").concat(new Date().getTime() - lastUpdateCheck, \"ms since last check.\"));\n _d.label = 3;\n case 3:\n return [\n 2 /*return*/ ,\n false\n ];\n }\n });\n });\n};\nvar $fdb448df0bdfb0de$var$borderedText = function(text) {\n var lines = text.split(\"\\n\");\n var width = Math.max.apply(Math, lines.map(function(l) {\n return l.length;\n }));\n var res = [\n \"\\u250C\".concat(\"\\u2500\".repeat(width + 2), \"\\u2510\")\n ];\n for(var _i = 0, lines_1 = lines; _i < lines_1.length; _i++){\n var line = lines_1[_i];\n res.push(\"\\u2502 \".concat(line.padEnd(width), \" \\u2502\"));\n }\n res.push(\"\\u2514\".concat(\"\\u2500\".repeat(width + 2), \"\\u2518\"));\n return res.join(\"\\n\");\n};\nvar $fdb448df0bdfb0de$var$simpleUpdateNotifier = function(args) {\n return $fdb448df0bdfb0de$var$__awaiter(void 0, void 0, void 0, function() {\n var latestVersion, err_1;\n return $fdb448df0bdfb0de$var$__generator(this, function(_a) {\n switch(_a.label){\n case 0:\n if (!args.alwaysRun && (!process.stdout.isTTY || $fdb448df0bdfb0de$var$isNpmOrYarn && !args.shouldNotifyInNpmScript)) {\n if (args.debug) console.error(\"Opting out of running simpleUpdateNotifier()\");\n return [\n 2 /*return*/ \n ];\n }\n _a.label = 1;\n case 1:\n _a.trys.push([\n 1,\n 3,\n ,\n 4\n ]);\n return [\n 4 /*yield*/ ,\n $fdb448df0bdfb0de$var$hasNewVersion(args)\n ];\n case 2:\n latestVersion = _a.sent();\n if (latestVersion) console.error($fdb448df0bdfb0de$var$borderedText(\"New version of \".concat(args.pkg.name, \" available!\\nCurrent Version: \").concat(args.pkg.version, \"\\nLatest Version: \").concat(latestVersion)));\n return [\n 3 /*break*/ ,\n 4\n ];\n case 3:\n err_1 = _a.sent();\n // Catch any network errors or cache writing errors so module doesn't cause a crash\n if (args.debug && err_1 instanceof Error) console.error(\"Unexpected error in simpleUpdateNotifier():\", err_1);\n return [\n 3 /*break*/ ,\n 4\n ];\n case 4:\n return [\n 2 /*return*/ \n ];\n }\n });\n });\n};\n$fdb448df0bdfb0de$exports = $fdb448df0bdfb0de$var$simpleUpdateNotifier;\n\n\nvar $276f0975e227ff36$exports = {};\n$276f0975e227ff36$exports = JSON.parse('{\"name\":\"setup-cpp\",\"version\":\"0.36.1\"}');\n\n\nasync function $cb87868918740ed3$export$31c6d94eb20a8ca7() {\n try {\n await (0, (/*@__PURE__*/$parcel$interopDefault($fdb448df0bdfb0de$exports)))({\n pkg: (0, (/*@__PURE__*/$parcel$interopDefault($276f0975e227ff36$exports)))\n });\n } catch (err) {\n (0, $ER74K.warning)(`Failed to check for updates: ${err instanceof Error ? err.message + err.stack : err}`);\n }\n}\n\n\n\nvar $4t50X = parcelRequire(\"4t50X\");\n\nvar $ER74K = parcelRequire(\"ER74K\");\nfunction $9db6cbd493c17e7d$var$toArr(any) {\n return any == null ? [] : Array.isArray(any) ? any : [\n any\n ];\n}\nfunction $9db6cbd493c17e7d$var$toVal(out, key, val, opts) {\n var x, old = out[key], nxt = !!~opts.string.indexOf(key) ? val == null || val === true ? \"\" : String(val) : typeof val === \"boolean\" ? val : !!~opts.boolean.indexOf(key) ? val === \"false\" ? false : val === \"true\" || (out._.push((x = +val, x * 0 === 0) ? x : val), !!val) : (x = +val, x * 0 === 0) ? x : val;\n out[key] = old == null ? nxt : Array.isArray(old) ? old.concat(nxt) : [\n old,\n nxt\n ];\n}\nfunction $9db6cbd493c17e7d$export$2e2bcd8739ae039(args, opts) {\n args = args || [];\n opts = opts || {};\n var k, arr, arg, name, val, out = {\n _: []\n };\n var i = 0, j = 0, idx = 0, len = args.length;\n const alibi = opts.alias !== void 0;\n const strict = opts.unknown !== void 0;\n const defaults = opts.default !== void 0;\n opts.alias = opts.alias || {};\n opts.string = $9db6cbd493c17e7d$var$toArr(opts.string);\n opts.boolean = $9db6cbd493c17e7d$var$toArr(opts.boolean);\n if (alibi) for(k in opts.alias){\n arr = opts.alias[k] = $9db6cbd493c17e7d$var$toArr(opts.alias[k]);\n for(i = 0; i < arr.length; i++)(opts.alias[arr[i]] = arr.concat(k)).splice(i, 1);\n }\n for(i = opts.boolean.length; i-- > 0;){\n arr = opts.alias[opts.boolean[i]] || [];\n for(j = arr.length; j-- > 0;)opts.boolean.push(arr[j]);\n }\n for(i = opts.string.length; i-- > 0;){\n arr = opts.alias[opts.string[i]] || [];\n for(j = arr.length; j-- > 0;)opts.string.push(arr[j]);\n }\n if (defaults) for(k in opts.default){\n name = typeof opts.default[k];\n arr = opts.alias[k] = opts.alias[k] || [];\n if (opts[name] !== void 0) {\n opts[name].push(k);\n for(i = 0; i < arr.length; i++)opts[name].push(arr[i]);\n }\n }\n const keys = strict ? Object.keys(opts.alias) : [];\n for(i = 0; i < len; i++){\n arg = args[i];\n if (arg === \"--\") {\n out._ = out._.concat(args.slice(++i));\n break;\n }\n for(j = 0; j < arg.length; j++){\n if (arg.charCodeAt(j) !== 45) break; // \"-\"\n }\n if (j === 0) out._.push(arg);\n else if (arg.substring(j, j + 3) === \"no-\") {\n name = arg.substring(j + 3);\n if (strict && !~keys.indexOf(name)) return opts.unknown(arg);\n out[name] = false;\n } else {\n for(idx = j + 1; idx < arg.length; idx++){\n if (arg.charCodeAt(idx) === 61) break; // \"=\"\n }\n name = arg.substring(j, idx);\n val = arg.substring(++idx) || i + 1 === len || (\"\" + args[i + 1]).charCodeAt(0) === 45 || args[++i];\n arr = j === 2 ? [\n name\n ] : name;\n for(idx = 0; idx < arr.length; idx++){\n name = arr[idx];\n if (strict && !~keys.indexOf(name)) return opts.unknown(\"-\".repeat(j) + name);\n $9db6cbd493c17e7d$var$toVal(out, name, idx + 1 < arr.length || val, opts);\n }\n }\n }\n if (defaults) {\n for(k in opts.default)if (out[k] === void 0) out[k] = opts.default[k];\n }\n if (alibi) for(k in out){\n arr = opts.alias[k] || [];\n while(arr.length > 0)out[arr.shift()] = out[k];\n }\n return out;\n}\n\n\n\n\nvar $52cQ1 = parcelRequire(\"52cQ1\");\n\nvar $4t50X = parcelRequire(\"4t50X\");\n\nvar $52cQ1 = parcelRequire(\"52cQ1\");\n\n\n\nvar $ER74K = parcelRequire(\"ER74K\");\n\n\n\n\n\n\n\n\n\nconst $66be15f27277e552$var$getErrorPrefix = ({ timedOut: timedOut, timeout: timeout, errorCode: errorCode, signal: signal, signalDescription: signalDescription, exitCode: exitCode, isCanceled: isCanceled })=>{\n if (timedOut) return `timed out after ${timeout} milliseconds`;\n if (isCanceled) return \"was canceled\";\n if (errorCode !== undefined) return `failed with ${errorCode}`;\n if (signal !== undefined) return `was killed with ${signal} (${signalDescription})`;\n if (exitCode !== undefined) return `failed with exit code ${exitCode}`;\n return \"failed\";\n};\nconst $66be15f27277e552$export$5a4bb2b1c89bdce7 = ({ stdout: stdout, stderr: stderr, all: all, error: error, signal: signal, exitCode: exitCode, command: command, escapedCommand: escapedCommand, timedOut: timedOut, isCanceled: isCanceled, killed: killed, parsed: { options: { timeout: timeout } } })=>{\n // `signal` and `exitCode` emitted on `spawned.on('exit')` event can be `null`.\n // We normalize them to `undefined`\n exitCode = exitCode === null ? undefined : exitCode;\n signal = signal === null ? undefined : signal;\n const signalDescription = signal === undefined ? undefined : (0, $e8ce250ce43ec2f1$export$c3fcb39d6848c78d)[signal].description;\n const errorCode = error && error.code;\n const prefix = $66be15f27277e552$var$getErrorPrefix({\n timedOut: timedOut,\n timeout: timeout,\n errorCode: errorCode,\n signal: signal,\n signalDescription: signalDescription,\n exitCode: exitCode,\n isCanceled: isCanceled\n });\n const execaMessage = `Command ${prefix}: ${command}`;\n const isError = Object.prototype.toString.call(error) === \"[object Error]\";\n const shortMessage = isError ? `${execaMessage}\\n${error.message}` : execaMessage;\n const message = [\n shortMessage,\n stderr,\n stdout\n ].filter(Boolean).join(\"\\n\");\n if (isError) {\n error.originalMessage = error.message;\n error.message = message;\n } else error = new Error(message);\n error.shortMessage = shortMessage;\n error.command = command;\n error.escapedCommand = escapedCommand;\n error.exitCode = exitCode;\n error.signal = signal;\n error.signalDescription = signalDescription;\n error.stdout = stdout;\n error.stderr = stderr;\n if (all !== undefined) error.all = all;\n if (\"bufferedData\" in error) delete error.bufferedData;\n error.failed = true;\n error.timedOut = Boolean(timedOut);\n error.isCanceled = isCanceled;\n error.killed = killed && !timedOut;\n return error;\n};\n\n\nconst $e3142e39d503d843$var$aliases = [\n \"stdin\",\n \"stdout\",\n \"stderr\"\n];\nconst $e3142e39d503d843$var$hasAlias = (options)=>$e3142e39d503d843$var$aliases.some((alias)=>options[alias] !== undefined);\nconst $e3142e39d503d843$export$a581401a57fac02e = (options)=>{\n if (!options) return;\n const { stdio: stdio } = options;\n if (stdio === undefined) return $e3142e39d503d843$var$aliases.map((alias)=>options[alias]);\n if ($e3142e39d503d843$var$hasAlias(options)) throw new Error(`It's not possible to provide \\`stdio\\` in combination with one of ${$e3142e39d503d843$var$aliases.map((alias)=>`\\`${alias}\\``).join(\", \")}`);\n if (typeof stdio === \"string\") return stdio;\n if (!Array.isArray(stdio)) throw new TypeError(`Expected \\`stdio\\` to be of type \\`string\\` or \\`Array\\`, got \\`${typeof stdio}\\``);\n const length = Math.max(stdio.length, $e3142e39d503d843$var$aliases.length);\n return Array.from({\n length: length\n }, (value, index)=>stdio[index]);\n};\nconst $e3142e39d503d843$export$889423b478ae2ba = (options)=>{\n const stdio = $e3142e39d503d843$export$a581401a57fac02e(options);\n if (stdio === \"ipc\") return \"ipc\";\n if (stdio === undefined || typeof stdio === \"string\") return [\n stdio,\n stdio,\n stdio,\n \"ipc\"\n ];\n if (stdio.includes(\"ipc\")) return stdio;\n return [\n ...stdio,\n \"ipc\"\n ];\n};\n\n\n\n\nconst $ae33ff7ab47dac97$var$DEFAULT_FORCE_KILL_TIMEOUT = 5000;\nconst $ae33ff7ab47dac97$export$971fa1b57c7f00b = (kill, signal = \"SIGTERM\", options = {})=>{\n const killResult = kill(signal);\n $ae33ff7ab47dac97$var$setKillTimeout(kill, signal, options, killResult);\n return killResult;\n};\nconst $ae33ff7ab47dac97$var$setKillTimeout = (kill, signal, options, killResult)=>{\n if (!$ae33ff7ab47dac97$var$shouldForceKill(signal, options, killResult)) return;\n const timeout = $ae33ff7ab47dac97$var$getForceKillAfterTimeout(options);\n const t = setTimeout(()=>{\n kill(\"SIGKILL\");\n }, timeout);\n // Guarded because there's no `.unref()` when `execa` is used in the renderer\n // process in Electron. This cannot be tested since we don't run tests in\n // Electron.\n // istanbul ignore else\n if (t.unref) t.unref();\n};\nconst $ae33ff7ab47dac97$var$shouldForceKill = (signal, { forceKillAfterTimeout: forceKillAfterTimeout }, killResult)=>$ae33ff7ab47dac97$var$isSigterm(signal) && forceKillAfterTimeout !== false && killResult;\nconst $ae33ff7ab47dac97$var$isSigterm = (signal)=>signal === (0, ($parcel$interopDefault($d7DIX$nodeos))).constants.signals.SIGTERM || typeof signal === \"string\" && signal.toUpperCase() === \"SIGTERM\";\nconst $ae33ff7ab47dac97$var$getForceKillAfterTimeout = ({ forceKillAfterTimeout: forceKillAfterTimeout = true })=>{\n if (forceKillAfterTimeout === true) return $ae33ff7ab47dac97$var$DEFAULT_FORCE_KILL_TIMEOUT;\n if (!Number.isFinite(forceKillAfterTimeout) || forceKillAfterTimeout < 0) throw new TypeError(`Expected the \\`forceKillAfterTimeout\\` option to be a non-negative integer, got \\`${forceKillAfterTimeout}\\` (${typeof forceKillAfterTimeout})`);\n return forceKillAfterTimeout;\n};\nconst $ae33ff7ab47dac97$export$667e13cd9b70ca17 = (spawned, context)=>{\n const killResult = spawned.kill();\n if (killResult) context.isCanceled = true;\n};\nconst $ae33ff7ab47dac97$var$timeoutKill = (spawned, signal, reject)=>{\n spawned.kill(signal);\n reject(Object.assign(new Error(\"Timed out\"), {\n timedOut: true,\n signal: signal\n }));\n};\nconst $ae33ff7ab47dac97$export$6bcc98999eb82896 = (spawned, { timeout: timeout, killSignal: killSignal = \"SIGTERM\" }, spawnedPromise)=>{\n if (timeout === 0 || timeout === undefined) return spawnedPromise;\n let timeoutId;\n const timeoutPromise = new Promise((resolve, reject)=>{\n timeoutId = setTimeout(()=>{\n $ae33ff7ab47dac97$var$timeoutKill(spawned, killSignal, reject);\n }, timeout);\n });\n const safeSpawnedPromise = spawnedPromise.finally(()=>{\n clearTimeout(timeoutId);\n });\n return Promise.race([\n timeoutPromise,\n safeSpawnedPromise\n ]);\n};\nconst $ae33ff7ab47dac97$export$3186f8866f616f9f = ({ timeout: timeout })=>{\n if (timeout !== undefined && (!Number.isFinite(timeout) || timeout < 0)) throw new TypeError(`Expected the \\`timeout\\` option to be a non-negative integer, got \\`${timeout}\\` (${typeof timeout})`);\n};\nconst $ae33ff7ab47dac97$export$79fc3056c9ca4ada = async (spawned, { cleanup: cleanup, detached: detached }, timedPromise)=>{\n if (!cleanup || detached) return timedPromise;\n const removeExitHandler = (0, (/*@__PURE__*/$parcel$interopDefault($4f2755c484ab0bb9$exports)))(()=>{\n spawned.kill();\n });\n return timedPromise.finally(()=>{\n removeExitHandler();\n });\n};\n\n\n\n\n\nconst $37b6e981f68ce4cf$var$isExecaChildProcess = (target)=>target instanceof (0, $d7DIX$nodechild_process.ChildProcess) && typeof target.then === \"function\";\nconst $37b6e981f68ce4cf$var$pipeToTarget = (spawned, streamName, target)=>{\n if (typeof target === \"string\") {\n spawned[streamName].pipe((0, $d7DIX$nodefs.createWriteStream)(target));\n return spawned;\n }\n if ((0, $a56021186667e1ae$export$b58a61c52edb4f66)(target)) {\n spawned[streamName].pipe(target);\n return spawned;\n }\n if (!$37b6e981f68ce4cf$var$isExecaChildProcess(target)) throw new TypeError(\"The second argument must be a string, a stream or an Execa child process.\");\n if (!(0, $a56021186667e1ae$export$b58a61c52edb4f66)(target.stdin)) throw new TypeError(\"The target child process's stdin must be available.\");\n spawned[streamName].pipe(target.stdin);\n return target;\n};\nconst $37b6e981f68ce4cf$export$14becf8d91886424 = (spawned)=>{\n if (spawned.stdout !== null) spawned.pipeStdout = $37b6e981f68ce4cf$var$pipeToTarget.bind(undefined, spawned, \"stdout\");\n if (spawned.stderr !== null) spawned.pipeStderr = $37b6e981f68ce4cf$var$pipeToTarget.bind(undefined, spawned, \"stderr\");\n if (spawned.all !== undefined) spawned.pipeAll = $37b6e981f68ce4cf$var$pipeToTarget.bind(undefined, spawned, \"all\");\n};\n\n\n\n\n\n\nconst $b766a69ffb9d264e$var$validateInputOptions = (input)=>{\n if (input !== undefined) throw new TypeError(\"The `input` and `inputFile` options cannot be both set.\");\n};\nconst $b766a69ffb9d264e$var$getInputSync = ({ input: input, inputFile: inputFile })=>{\n if (typeof inputFile !== \"string\") return input;\n $b766a69ffb9d264e$var$validateInputOptions(input);\n return (0, $d7DIX$nodefs.readFileSync)(inputFile);\n};\nconst $b766a69ffb9d264e$export$7f2f9b6457412b41 = (options)=>{\n const input = $b766a69ffb9d264e$var$getInputSync(options);\n if ((0, $a56021186667e1ae$export$294a92d8f7b3979)(input)) throw new TypeError(\"The `input` option cannot be a stream in sync mode\");\n return input;\n};\nconst $b766a69ffb9d264e$var$getInput = ({ input: input, inputFile: inputFile })=>{\n if (typeof inputFile !== \"string\") return input;\n $b766a69ffb9d264e$var$validateInputOptions(input);\n return (0, $d7DIX$nodefs.createReadStream)(inputFile);\n};\nconst $b766a69ffb9d264e$export$412508d679148d5c = (spawned, options)=>{\n const input = $b766a69ffb9d264e$var$getInput(options);\n if (input === undefined) return;\n if ((0, $a56021186667e1ae$export$294a92d8f7b3979)(input)) input.pipe(spawned.stdin);\n else spawned.stdin.end(input);\n};\nconst $b766a69ffb9d264e$export$41f5c0c12dadd6ae = (spawned, { all: all })=>{\n if (!all || !spawned.stdout && !spawned.stderr) return;\n const mixed = (0, (/*@__PURE__*/$parcel$interopDefault($c96fa5900af93c80$exports)))();\n if (spawned.stdout) mixed.add(spawned.stdout);\n if (spawned.stderr) mixed.add(spawned.stderr);\n return mixed;\n};\n// On failure, `result.stdout|stderr|all` should contain the currently buffered stream\nconst $b766a69ffb9d264e$var$getBufferedData = async (stream, streamPromise)=>{\n // When `buffer` is `false`, `streamPromise` is `undefined` and there is no buffered data to retrieve\n if (!stream || streamPromise === undefined) return;\n stream.destroy();\n try {\n return await streamPromise;\n } catch (error) {\n return error.bufferedData;\n }\n};\nconst $b766a69ffb9d264e$var$getStreamPromise = (stream, { encoding: encoding, buffer: buffer, maxBuffer: maxBuffer })=>{\n if (!stream || !buffer) return;\n if (encoding) return (0, (/*@__PURE__*/$parcel$interopDefault($7797ec8e8589a175$exports)))(stream, {\n encoding: encoding,\n maxBuffer: maxBuffer\n });\n return (0, (/*@__PURE__*/$parcel$interopDefault($7797ec8e8589a175$exports))).buffer(stream, {\n maxBuffer: maxBuffer\n });\n};\nconst $b766a69ffb9d264e$export$67b768ac9e1c70fa = async ({ stdout: stdout, stderr: stderr, all: all }, { encoding: encoding, buffer: buffer, maxBuffer: maxBuffer }, processDone)=>{\n const stdoutPromise = $b766a69ffb9d264e$var$getStreamPromise(stdout, {\n encoding: encoding,\n buffer: buffer,\n maxBuffer: maxBuffer\n });\n const stderrPromise = $b766a69ffb9d264e$var$getStreamPromise(stderr, {\n encoding: encoding,\n buffer: buffer,\n maxBuffer: maxBuffer\n });\n const allPromise = $b766a69ffb9d264e$var$getStreamPromise(all, {\n encoding: encoding,\n buffer: buffer,\n maxBuffer: maxBuffer * 2\n });\n try {\n return await Promise.all([\n processDone,\n stdoutPromise,\n stderrPromise,\n allPromise\n ]);\n } catch (error) {\n return Promise.all([\n {\n error: error,\n signal: error.signal,\n timedOut: error.timedOut\n },\n $b766a69ffb9d264e$var$getBufferedData(stdout, stdoutPromise),\n $b766a69ffb9d264e$var$getBufferedData(stderr, stderrPromise),\n $b766a69ffb9d264e$var$getBufferedData(all, allPromise)\n ]);\n }\n};\n\n\n// eslint-disable-next-line unicorn/prefer-top-level-await\nconst $7e356ac2b63932e6$var$nativePromisePrototype = (async ()=>{})().constructor.prototype;\nconst $7e356ac2b63932e6$var$descriptors = [\n \"then\",\n \"catch\",\n \"finally\"\n].map((property)=>[\n property,\n Reflect.getOwnPropertyDescriptor($7e356ac2b63932e6$var$nativePromisePrototype, property)\n ]);\nconst $7e356ac2b63932e6$export$e6eb0007fd542aba = (spawned, promise)=>{\n for (const [property, descriptor] of $7e356ac2b63932e6$var$descriptors){\n // Starting the main `promise` is deferred to avoid consuming streams\n const value = typeof promise === \"function\" ? (...args)=>Reflect.apply(descriptor.value, promise(), args) : descriptor.value.bind(promise);\n Reflect.defineProperty(spawned, property, {\n ...descriptor,\n value: value\n });\n }\n};\nconst $7e356ac2b63932e6$export$6e3a9b5342d42997 = (spawned)=>new Promise((resolve, reject)=>{\n spawned.on(\"exit\", (exitCode, signal)=>{\n resolve({\n exitCode: exitCode,\n signal: signal\n });\n });\n spawned.on(\"error\", (error)=>{\n reject(error);\n });\n if (spawned.stdin) spawned.stdin.on(\"error\", (error)=>{\n reject(error);\n });\n });\n\n\n\n\nconst $7e1026ca054d0f7e$var$normalizeArgs = (file, args = [])=>{\n if (!Array.isArray(args)) return [\n file\n ];\n return [\n file,\n ...args\n ];\n};\nconst $7e1026ca054d0f7e$var$NO_ESCAPE_REGEXP = /^[\\w.-]+$/;\nconst $7e1026ca054d0f7e$var$DOUBLE_QUOTES_REGEXP = /\"/g;\nconst $7e1026ca054d0f7e$var$escapeArg = (arg)=>{\n if (typeof arg !== \"string\" || $7e1026ca054d0f7e$var$NO_ESCAPE_REGEXP.test(arg)) return arg;\n return `\"${arg.replace($7e1026ca054d0f7e$var$DOUBLE_QUOTES_REGEXP, '\\\\\"')}\"`;\n};\nconst $7e1026ca054d0f7e$export$ab3db8fe5ebf3a1 = (file, args)=>$7e1026ca054d0f7e$var$normalizeArgs(file, args).join(\" \");\nconst $7e1026ca054d0f7e$export$9d3099014bd914f8 = (file, args)=>$7e1026ca054d0f7e$var$normalizeArgs(file, args).map((arg)=>$7e1026ca054d0f7e$var$escapeArg(arg)).join(\" \");\nconst $7e1026ca054d0f7e$var$SPACES_REGEXP = / +/g;\nconst $7e1026ca054d0f7e$export$78bcee23e0849f6a = (command)=>{\n const tokens = [];\n for (const token of command.trim().split($7e1026ca054d0f7e$var$SPACES_REGEXP)){\n // Allow spaces to be escaped by a backslash if not meant as a delimiter\n const previousToken = tokens[tokens.length - 1];\n if (previousToken && previousToken.endsWith(\"\\\\\")) // Merge previous token with current one\n tokens[tokens.length - 1] = `${previousToken.slice(0, -1)} ${token}`;\n else tokens.push(token);\n }\n return tokens;\n};\nconst $7e1026ca054d0f7e$var$parseExpression = (expression)=>{\n const typeOfExpression = typeof expression;\n if (typeOfExpression === \"string\") return expression;\n if (typeOfExpression === \"number\") return String(expression);\n if (typeOfExpression === \"object\" && expression !== null && !(expression instanceof (0, $d7DIX$nodechild_process.ChildProcess)) && \"stdout\" in expression) {\n const typeOfStdout = typeof expression.stdout;\n if (typeOfStdout === \"string\") return expression.stdout;\n if ((0, $d7DIX$nodebuffer.Buffer).isBuffer(expression.stdout)) return expression.stdout.toString();\n throw new TypeError(`Unexpected \"${typeOfStdout}\" stdout in template expression`);\n }\n throw new TypeError(`Unexpected \"${typeOfExpression}\" in template expression`);\n};\nconst $7e1026ca054d0f7e$var$concatTokens = (tokens, nextTokens, isNew)=>isNew || tokens.length === 0 || nextTokens.length === 0 ? [\n ...tokens,\n ...nextTokens\n ] : [\n ...tokens.slice(0, -1),\n `${tokens[tokens.length - 1]}${nextTokens[0]}`,\n ...nextTokens.slice(1)\n ];\nconst $7e1026ca054d0f7e$var$parseTemplate = ({ templates: templates, expressions: expressions, tokens: tokens, index: index, template: template })=>{\n const templateString = template ?? templates.raw[index];\n const templateTokens = templateString.split($7e1026ca054d0f7e$var$SPACES_REGEXP).filter(Boolean);\n const newTokens = $7e1026ca054d0f7e$var$concatTokens(tokens, templateTokens, templateString.startsWith(\" \"));\n if (index === expressions.length) return newTokens;\n const expression = expressions[index];\n const expressionTokens = Array.isArray(expression) ? expression.map((expression)=>$7e1026ca054d0f7e$var$parseExpression(expression)) : [\n $7e1026ca054d0f7e$var$parseExpression(expression)\n ];\n return $7e1026ca054d0f7e$var$concatTokens(newTokens, expressionTokens, templateString.endsWith(\" \"));\n};\nconst $7e1026ca054d0f7e$export$4a6ee54de9b0f25d = (templates, expressions)=>{\n let tokens = [];\n for (const [index, template] of templates.entries())tokens = $7e1026ca054d0f7e$var$parseTemplate({\n templates: templates,\n expressions: expressions,\n tokens: tokens,\n index: index,\n template: template\n });\n return tokens;\n};\n\n\n\n\nconst $7f710d5fbb2d2f32$export$38bb3c1fbaa0bdcf = (0, $d7DIX$nodeutil.debuglog)(\"execa\").enabled;\nconst $7f710d5fbb2d2f32$var$padField = (field, padding)=>String(field).padStart(padding, \"0\");\nconst $7f710d5fbb2d2f32$var$getTimestamp = ()=>{\n const date = new Date();\n return `${$7f710d5fbb2d2f32$var$padField(date.getHours(), 2)}:${$7f710d5fbb2d2f32$var$padField(date.getMinutes(), 2)}:${$7f710d5fbb2d2f32$var$padField(date.getSeconds(), 2)}.${$7f710d5fbb2d2f32$var$padField(date.getMilliseconds(), 3)}`;\n};\nconst $7f710d5fbb2d2f32$export$3bb886c4c1352118 = (escapedCommand, { verbose: verbose })=>{\n if (!verbose) return;\n (0, ($parcel$interopDefault($d7DIX$nodeprocess))).stderr.write(`[${$7f710d5fbb2d2f32$var$getTimestamp()}] ${escapedCommand}\\n`);\n};\n\n\nconst $1198021bdb6b74fc$var$DEFAULT_MAX_BUFFER = 100000000;\nconst $1198021bdb6b74fc$var$getEnv = ({ env: envOption, extendEnv: extendEnv, preferLocal: preferLocal, localDir: localDir, execPath: execPath })=>{\n const env = extendEnv ? {\n ...(0, ($parcel$interopDefault($d7DIX$nodeprocess))).env,\n ...envOption\n } : envOption;\n if (preferLocal) return (0, $79a4a337e08e5260$export$340e1fbaac04248b)({\n env: env,\n cwd: localDir,\n execPath: execPath\n });\n return env;\n};\nconst $1198021bdb6b74fc$var$handleArguments = (file, args, options = {})=>{\n const parsed = (0, (/*@__PURE__*/$parcel$interopDefault($8b1434f30c2df0f5$exports)))._parse(file, args, options);\n file = parsed.command;\n args = parsed.args;\n options = parsed.options;\n options = {\n maxBuffer: $1198021bdb6b74fc$var$DEFAULT_MAX_BUFFER,\n buffer: true,\n stripFinalNewline: true,\n extendEnv: true,\n preferLocal: false,\n localDir: options.cwd || (0, ($parcel$interopDefault($d7DIX$nodeprocess))).cwd(),\n execPath: (0, ($parcel$interopDefault($d7DIX$nodeprocess))).execPath,\n encoding: \"utf8\",\n reject: true,\n cleanup: true,\n all: false,\n windowsHide: true,\n verbose: (0, $7f710d5fbb2d2f32$export$38bb3c1fbaa0bdcf),\n ...options\n };\n options.env = $1198021bdb6b74fc$var$getEnv(options);\n options.stdio = (0, $e3142e39d503d843$export$a581401a57fac02e)(options);\n if ((0, ($parcel$interopDefault($d7DIX$nodeprocess))).platform === \"win32\" && (0, ($parcel$interopDefault($d7DIX$nodepath))).basename(file, \".exe\") === \"cmd\") // #116\n args.unshift(\"/q\");\n return {\n file: file,\n args: args,\n options: options,\n parsed: parsed\n };\n};\nconst $1198021bdb6b74fc$var$handleOutput = (options, value, error)=>{\n if (typeof value !== \"string\" && !(0, $d7DIX$nodebuffer.Buffer).isBuffer(value)) // When `execaSync()` errors, we normalize it to '' to mimic `execa()`\n return error === undefined ? undefined : \"\";\n if (options.stripFinalNewline) return (0, $c36cfccc5e0479d9$export$2e2bcd8739ae039)(value);\n return value;\n};\nfunction $1198021bdb6b74fc$export$db6b1668e3758717(file, args, options) {\n const parsed = $1198021bdb6b74fc$var$handleArguments(file, args, options);\n const command = (0, $7e1026ca054d0f7e$export$ab3db8fe5ebf3a1)(file, args);\n const escapedCommand = (0, $7e1026ca054d0f7e$export$9d3099014bd914f8)(file, args);\n (0, $7f710d5fbb2d2f32$export$3bb886c4c1352118)(escapedCommand, parsed.options);\n (0, $ae33ff7ab47dac97$export$3186f8866f616f9f)(parsed.options);\n let spawned;\n try {\n spawned = (0, ($parcel$interopDefault($d7DIX$nodechild_process))).spawn(parsed.file, parsed.args, parsed.options);\n } catch (error) {\n // Ensure the returned error is always both a promise and a child process\n const dummySpawned = new (0, ($parcel$interopDefault($d7DIX$nodechild_process))).ChildProcess();\n const errorPromise = Promise.reject((0, $66be15f27277e552$export$5a4bb2b1c89bdce7)({\n error: error,\n stdout: \"\",\n stderr: \"\",\n all: \"\",\n command: command,\n escapedCommand: escapedCommand,\n parsed: parsed,\n timedOut: false,\n isCanceled: false,\n killed: false\n }));\n (0, $7e356ac2b63932e6$export$e6eb0007fd542aba)(dummySpawned, errorPromise);\n return dummySpawned;\n }\n const spawnedPromise = (0, $7e356ac2b63932e6$export$6e3a9b5342d42997)(spawned);\n const timedPromise = (0, $ae33ff7ab47dac97$export$6bcc98999eb82896)(spawned, parsed.options, spawnedPromise);\n const processDone = (0, $ae33ff7ab47dac97$export$79fc3056c9ca4ada)(spawned, parsed.options, timedPromise);\n const context = {\n isCanceled: false\n };\n spawned.kill = (0, $ae33ff7ab47dac97$export$971fa1b57c7f00b).bind(null, spawned.kill.bind(spawned));\n spawned.cancel = (0, $ae33ff7ab47dac97$export$667e13cd9b70ca17).bind(null, spawned, context);\n const handlePromise = async ()=>{\n const [{ error: error, exitCode: exitCode, signal: signal, timedOut: timedOut }, stdoutResult, stderrResult, allResult] = await (0, $b766a69ffb9d264e$export$67b768ac9e1c70fa)(spawned, parsed.options, processDone);\n const stdout = $1198021bdb6b74fc$var$handleOutput(parsed.options, stdoutResult);\n const stderr = $1198021bdb6b74fc$var$handleOutput(parsed.options, stderrResult);\n const all = $1198021bdb6b74fc$var$handleOutput(parsed.options, allResult);\n if (error || exitCode !== 0 || signal !== null) {\n const returnedError = (0, $66be15f27277e552$export$5a4bb2b1c89bdce7)({\n error: error,\n exitCode: exitCode,\n signal: signal,\n stdout: stdout,\n stderr: stderr,\n all: all,\n command: command,\n escapedCommand: escapedCommand,\n parsed: parsed,\n timedOut: timedOut,\n isCanceled: context.isCanceled || (parsed.options.signal ? parsed.options.signal.aborted : false),\n killed: spawned.killed\n });\n if (!parsed.options.reject) return returnedError;\n throw returnedError;\n }\n return {\n command: command,\n escapedCommand: escapedCommand,\n exitCode: 0,\n stdout: stdout,\n stderr: stderr,\n all: all,\n failed: false,\n timedOut: false,\n isCanceled: false,\n killed: false\n };\n };\n const handlePromiseOnce = (0, $a257f7b521fbcd70$export$2e2bcd8739ae039)(handlePromise);\n (0, $b766a69ffb9d264e$export$412508d679148d5c)(spawned, parsed.options);\n spawned.all = (0, $b766a69ffb9d264e$export$41f5c0c12dadd6ae)(spawned, parsed.options);\n (0, $37b6e981f68ce4cf$export$14becf8d91886424)(spawned);\n (0, $7e356ac2b63932e6$export$e6eb0007fd542aba)(spawned, handlePromiseOnce);\n return spawned;\n}\nfunction $1198021bdb6b74fc$export$28823a701bb5a12d(file, args, options) {\n const parsed = $1198021bdb6b74fc$var$handleArguments(file, args, options);\n const command = (0, $7e1026ca054d0f7e$export$ab3db8fe5ebf3a1)(file, args);\n const escapedCommand = (0, $7e1026ca054d0f7e$export$9d3099014bd914f8)(file, args);\n (0, $7f710d5fbb2d2f32$export$3bb886c4c1352118)(escapedCommand, parsed.options);\n const input = (0, $b766a69ffb9d264e$export$7f2f9b6457412b41)(parsed.options);\n let result;\n try {\n result = (0, ($parcel$interopDefault($d7DIX$nodechild_process))).spawnSync(parsed.file, parsed.args, {\n ...parsed.options,\n input: input\n });\n } catch (error) {\n throw (0, $66be15f27277e552$export$5a4bb2b1c89bdce7)({\n error: error,\n stdout: \"\",\n stderr: \"\",\n all: \"\",\n command: command,\n escapedCommand: escapedCommand,\n parsed: parsed,\n timedOut: false,\n isCanceled: false,\n killed: false\n });\n }\n const stdout = $1198021bdb6b74fc$var$handleOutput(parsed.options, result.stdout, result.error);\n const stderr = $1198021bdb6b74fc$var$handleOutput(parsed.options, result.stderr, result.error);\n if (result.error || result.status !== 0 || result.signal !== null) {\n const error = (0, $66be15f27277e552$export$5a4bb2b1c89bdce7)({\n stdout: stdout,\n stderr: stderr,\n error: result.error,\n signal: result.signal,\n exitCode: result.status,\n command: command,\n escapedCommand: escapedCommand,\n parsed: parsed,\n timedOut: result.error && result.error.code === \"ETIMEDOUT\",\n isCanceled: false,\n killed: result.signal !== null\n });\n if (!parsed.options.reject) return error;\n throw error;\n }\n return {\n command: command,\n escapedCommand: escapedCommand,\n exitCode: 0,\n stdout: stdout,\n stderr: stderr,\n failed: false,\n timedOut: false,\n isCanceled: false,\n killed: false\n };\n}\nconst $1198021bdb6b74fc$var$normalizeScriptStdin = ({ input: input, inputFile: inputFile, stdio: stdio })=>input === undefined && inputFile === undefined && stdio === undefined ? {\n stdin: \"inherit\"\n } : {};\nconst $1198021bdb6b74fc$var$normalizeScriptOptions = (options = {})=>({\n preferLocal: true,\n ...$1198021bdb6b74fc$var$normalizeScriptStdin(options),\n ...options\n });\nfunction $1198021bdb6b74fc$var$create$(options) {\n function $(templatesOrOptions, ...expressions) {\n if (!Array.isArray(templatesOrOptions)) return $1198021bdb6b74fc$var$create$({\n ...options,\n ...templatesOrOptions\n });\n const [file, ...args] = (0, $7e1026ca054d0f7e$export$4a6ee54de9b0f25d)(templatesOrOptions, expressions);\n return $1198021bdb6b74fc$export$db6b1668e3758717(file, args, $1198021bdb6b74fc$var$normalizeScriptOptions(options));\n }\n $.sync = (templates, ...expressions)=>{\n if (!Array.isArray(templates)) throw new TypeError(\"Please use $(options).sync`command` instead of $.sync(options)`command`.\");\n const [file, ...args] = (0, $7e1026ca054d0f7e$export$4a6ee54de9b0f25d)(templates, expressions);\n return $1198021bdb6b74fc$export$28823a701bb5a12d(file, args, $1198021bdb6b74fc$var$normalizeScriptOptions(options));\n };\n return $;\n}\nconst $1198021bdb6b74fc$export$3d8c2f653ac9d0b9 = $1198021bdb6b74fc$var$create$();\nfunction $1198021bdb6b74fc$export$eb9ed1222071f2f6(command, options) {\n const [file, ...args] = (0, $7e1026ca054d0f7e$export$78bcee23e0849f6a)(command);\n return $1198021bdb6b74fc$export$db6b1668e3758717(file, args, options);\n}\nfunction $1198021bdb6b74fc$export$5c60dbe76a54db4(command, options) {\n const [file, ...args] = (0, $7e1026ca054d0f7e$export$78bcee23e0849f6a)(command);\n return $1198021bdb6b74fc$export$28823a701bb5a12d(file, args, options);\n}\nfunction $1198021bdb6b74fc$export$c004ac68fdb98119(scriptPath, args, options = {}) {\n if (args && !Array.isArray(args) && typeof args === \"object\") {\n options = args;\n args = [];\n }\n const stdio = (0, $e3142e39d503d843$export$889423b478ae2ba)(options);\n const defaultExecArgv = (0, ($parcel$interopDefault($d7DIX$nodeprocess))).execArgv.filter((arg)=>!arg.startsWith(\"--inspect\"));\n const { nodePath: nodePath = (0, ($parcel$interopDefault($d7DIX$nodeprocess))).execPath, nodeOptions: nodeOptions = defaultExecArgv } = options;\n return $1198021bdb6b74fc$export$db6b1668e3758717(nodePath, [\n ...nodeOptions,\n scriptPath,\n ...Array.isArray(args) ? args : []\n ], {\n ...options,\n stdin: undefined,\n stdout: undefined,\n stderr: undefined,\n stdio: stdio,\n shell: false\n });\n}\n\n\n\n/** The cached powershell path */ let $beaad862f625dcb6$var$powershell;\nfunction $beaad862f625dcb6$export$43324456a02f71b0(command, startupFlags = [\n \"-NoProfile\",\n \"-NoLogo\",\n \"-NonInteractive\"\n], execOptions = {\n stdio: \"inherit\"\n}) {\n return $1198021bdb6b74fc$export$db6b1668e3758717($beaad862f625dcb6$export$4dfdd3964d242d20(), [\n ...startupFlags,\n \"-c\",\n command\n ], execOptions);\n}\nfunction $beaad862f625dcb6$export$395ec453f890f6a3(command, startupFlags = [\n \"-NoProfile\",\n \"-NoLogo\",\n \"-NonInteractive\"\n], execOptions = {\n stdio: \"inherit\"\n}) {\n return $1198021bdb6b74fc$export$28823a701bb5a12d($beaad862f625dcb6$export$4dfdd3964d242d20(), [\n ...startupFlags,\n \"-c\",\n command\n ], execOptions);\n}\nfunction $beaad862f625dcb6$export$4dfdd3964d242d20() {\n if ($beaad862f625dcb6$var$powershell === undefined) {\n const maybePwsh = (0, (/*@__PURE__*/$parcel$interopDefault($851ef3bcd445adf9$exports))).sync(\"pwsh\", {\n nothrow: true\n });\n if (maybePwsh !== null) $beaad862f625dcb6$var$powershell = maybePwsh;\n const maybePowerShell = (0, (/*@__PURE__*/$parcel$interopDefault($851ef3bcd445adf9$exports))).sync(\"powershell\", {\n nothrow: true\n });\n if (maybePowerShell !== null) $beaad862f625dcb6$var$powershell = maybePowerShell;\n }\n if ($beaad862f625dcb6$var$powershell === undefined) throw new Error(\"Could not find powershell\");\n return $beaad862f625dcb6$var$powershell;\n}\n\n\n\nvar $2adb2deed09dfe8c$exports = {};\n\n// to detect on with os user had used path.resolve(...)\nconst $2adb2deed09dfe8c$var$is_posix_os = $d7DIX$os.platform() !== \"win32\";\nconst $2adb2deed09dfe8c$var$version = $d7DIX$os.release();\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 $2adb2deed09dfe8c$var$windows_version_regex = /(\\d+\\.\\d+)\\.(\\d+)/;\nconst $2adb2deed09dfe8c$var$should_not_escape = (major_release = \"\", os_build = \"\")=>/1\\d+\\.\\d+/.test(major_release) && Number(os_build) >= 17134.1184;\n$2adb2deed09dfe8c$exports = function(given_path) {\n return $2adb2deed09dfe8c$var$is_posix_os ? given_path.replace(/(\\s+)/g, \"\\\\$1\") : $2adb2deed09dfe8c$var$should_not_escape(...$2adb2deed09dfe8c$var$windows_version_regex.exec($2adb2deed09dfe8c$var$version).splice(1)) ? given_path : given_path.replace(/(\\s+)/g, \"%20\");\n};\n\n\n\nvar $6fbce53baf96bc95$exports = {};\n\n// Generated by CoffeeScript 1.10.0\n(function() {\n var regexEscape, reverse;\n regexEscape = (parcelRequire(\"i8A01\"));\n reverse = function(s) {\n return s.split(\"\").reverse().join(\"\");\n };\n $6fbce53baf96bc95$exports = function(s, chars, escapeChar) {\n var regex;\n if (chars == null) chars = \"'\";\n if (escapeChar == null) escapeChar = \"\\\\\";\n if (typeof s !== \"string\") return s;\n regex = new RegExp(\"([\" + regexEscape(chars) + \"])(?!\" + regexEscape(escapeChar) + \")\", \"g\");\n return reverse(reverse(s).replace(regex, \"$1\" + escapeChar));\n };\n}).call($6fbce53baf96bc95$exports);\n\n\n\nvar $kY0n1 = parcelRequire(\"kY0n1\");\nconst $85fd7153285bfba5$var$defaultAddEnvOptions = {\n shouldEscapeSpace: false,\n shouldAddOnlyIfNotDefined: false\n};\nasync function $85fd7153285bfba5$export$f63d3080ce25e0fd(name, valGiven, options = $85fd7153285bfba5$var$defaultAddEnvOptions) {\n const val = $85fd7153285bfba5$var$escapeString(valGiven ?? \"\", options.shouldEscapeSpace);\n try {\n if (0, $52cQ1.GITHUB_ACTIONS) try {\n if (options.shouldAddOnlyIfNotDefined) {\n if (process.env[name] !== undefined) {\n (0, $4t50X.info)(`Environment variable ${name} is already defined. Skipping.`);\n return;\n }\n }\n (0, $4t50X.exportVariable)(name, val);\n } catch (err) {\n (0, $ER74K.error)(err);\n await $85fd7153285bfba5$var$addEnvSystem(name, val, options);\n }\n else await $85fd7153285bfba5$var$addEnvSystem(name, val, options);\n } catch (err) {\n (0, $ER74K.error)(err);\n (0, $4t50X.setFailed)(`Failed to export environment variable ${name}=${val}. You should add it manually.`);\n }\n}\nfunction $85fd7153285bfba5$var$escapeString(valGiven, shouldEscapeSpace = false) {\n const spaceEscaped = shouldEscapeSpace ? (0, (/*@__PURE__*/$parcel$interopDefault($2adb2deed09dfe8c$exports)))(valGiven) : valGiven;\n return (0, (/*@__PURE__*/$parcel$interopDefault($6fbce53baf96bc95$exports)))(spaceEscaped, '\"', \"\\\\\");\n}\nconst $85fd7153285bfba5$var$ignoredPaths = [\n /\\/usr\\/bin\\/?/,\n /\\/usr\\/local\\/bin\\/?/\n];\n/** Skip adding /usr/bin to PATH if it is already there */ function $85fd7153285bfba5$var$isIgnoredPath(path) {\n if ($85fd7153285bfba5$var$ignoredPaths.some((checkedPath)=>checkedPath.test(path))) {\n const paths = process.env.PATH?.split((0, $d7DIX$path.delimiter)) ?? [];\n return paths.includes(path);\n }\n return false;\n}\nasync function $85fd7153285bfba5$export$4c25481b843feb0b(path) {\n if ($85fd7153285bfba5$var$isIgnoredPath(path)) return;\n process.env.PATH = `${path}${0, $d7DIX$path.delimiter}${process.env.PATH}`;\n try {\n if (0, $52cQ1.GITHUB_ACTIONS) try {\n (0, $4t50X.addPath)(path);\n } catch (err) {\n (0, $ER74K.error)(err);\n await $85fd7153285bfba5$var$addPathSystem(path);\n }\n else await $85fd7153285bfba5$var$addPathSystem(path);\n } catch (err) {\n (0, $ER74K.error)(err);\n (0, $4t50X.setFailed)(`Failed to add ${path} to the percistent PATH. You should add it manually.`);\n }\n}\nconst $85fd7153285bfba5$export$1bbbc3a810c5799d = (0, $cc03115747abd396$export$8312d9eeba321950)(\".cpprc\");\nasync function $85fd7153285bfba5$var$addEnvSystem(name, valGiven, options) {\n const val = valGiven ?? \"\";\n switch(process.platform){\n case \"win32\":\n if (options.shouldAddOnlyIfNotDefined) {\n if (process.env[name] !== undefined) {\n (0, $4t50X.info)(`Environment variable ${name} is already defined. Skipping.`);\n return;\n }\n }\n // We do not use `execaSync(`setx PATH \"${path};%PATH%\"`)` because of its character limit\n await (0, $beaad862f625dcb6$export$43324456a02f71b0)(`[Environment]::SetEnvironmentVariable('${name}', '${val}', \"User\")`);\n (0, $4t50X.info)(`${name}='${val}' was set in the environment.`);\n return;\n case \"linux\":\n case \"darwin\":\n await $85fd7153285bfba5$export$bd1dffd792f43c41();\n if (options.shouldAddOnlyIfNotDefined) {\n (0, $d7DIX$fs.appendFileSync)($85fd7153285bfba5$export$1bbbc3a810c5799d, `\\nif [ -z \"\\${${name}}\" ]; then export ${name}=\"${val}\"; fi\\n`);\n (0, $4t50X.info)(`if not defined ${name} then ${name}=\"${val}\" was added to \"${$85fd7153285bfba5$export$1bbbc3a810c5799d}`);\n } else {\n (0, $d7DIX$fs.appendFileSync)($85fd7153285bfba5$export$1bbbc3a810c5799d, `\\nexport ${name}=\"${val}\"\\n`);\n (0, $4t50X.info)(`${name}=\"${val}\" was added to \"${$85fd7153285bfba5$export$1bbbc3a810c5799d}`);\n }\n return;\n default:\n }\n process.env[name] = val;\n}\nasync function $85fd7153285bfba5$var$addPathSystem(path) {\n switch(process.platform){\n case \"win32\":\n // We do not use `execaSync(`setx PATH \"${path};%PATH%\"`)` because of its character limit and also because %PATH% is different for user and system\n await (0, $beaad862f625dcb6$export$43324456a02f71b0)(`$USER_PATH=([Environment]::GetEnvironmentVariable(\"PATH\", \"User\")); [Environment]::SetEnvironmentVariable(\"PATH\", \"${path};$USER_PATH\", \"User\")`);\n (0, $4t50X.info)(`\"${path}\" was added to the PATH.`);\n return;\n case \"linux\":\n case \"darwin\":\n await $85fd7153285bfba5$export$bd1dffd792f43c41();\n (0, $d7DIX$fs.appendFileSync)($85fd7153285bfba5$export$1bbbc3a810c5799d, `\\nexport PATH=\"${path}:$PATH\"\\n`);\n (0, $4t50X.info)(`\"${path}\" was added to \"${$85fd7153285bfba5$export$1bbbc3a810c5799d}\"`);\n return;\n default:\n return;\n }\n}\n/* eslint-disable require-atomic-updates */ let $85fd7153285bfba5$var$setupCppInProfile_called = false;\nasync function $85fd7153285bfba5$export$bd1dffd792f43c41() {\n if ($85fd7153285bfba5$var$setupCppInProfile_called) return;\n // a variable that prevents source_cpprc from being called from .bashrc and .profile\n const source_cpprc_str = \"# Automatically Generated by setup-cpp\\nexport SOURCE_CPPRC=0\";\n if (await (0, $kY0n1.pathExists)($85fd7153285bfba5$export$1bbbc3a810c5799d)) {\n const cpprc_content = (0, $d7DIX$fs.readFileSync)($85fd7153285bfba5$export$1bbbc3a810c5799d, \"utf8\");\n if (cpprc_content.includes(source_cpprc_str)) // already executed setupCppInProfile\n return;\n }\n (0, $d7DIX$fs.appendFileSync)($85fd7153285bfba5$export$1bbbc3a810c5799d, `\\n${source_cpprc_str}\\n`);\n (0, $4t50X.info)(`Added ${source_cpprc_str} to ${$85fd7153285bfba5$export$1bbbc3a810c5799d}`);\n // source cpprc in bashrc/profile\n const source_cpprc_string = `\\n# source .cpprc if SOURCE_CPPRC is not set to 0\\nif [[ \"$SOURCE_CPPRC\" != 0 && -f \"${$85fd7153285bfba5$export$1bbbc3a810c5799d}\" ]]; then source \"${$85fd7153285bfba5$export$1bbbc3a810c5799d}\"; fi\\n`;\n try {\n // source cpprc in .profile\n const profile_path = (0, $cc03115747abd396$export$8312d9eeba321950)(\".profile\");\n (0, $d7DIX$fs.appendFileSync)(profile_path, source_cpprc_string);\n (0, $4t50X.info)(`${source_cpprc_string} was added to ${profile_path}`);\n // source cpprc in .bashrc too\n const bashrc_path = (0, $cc03115747abd396$export$8312d9eeba321950)(\".bashrc\");\n (0, $d7DIX$fs.appendFileSync)(bashrc_path, source_cpprc_string);\n (0, $4t50X.info)(`${source_cpprc_string} was added to ${bashrc_path}`);\n } catch (err) {\n (0, $ER74K.warning)(`Failed to add ${source_cpprc_string} to .profile or .bashrc. You should add it manually: ${err}`);\n }\n $85fd7153285bfba5$var$setupCppInProfile_called = true;\n}\nasync function $85fd7153285bfba5$export$ca46151966bee7ba() {\n if (await (0, $kY0n1.pathExists)($85fd7153285bfba5$export$1bbbc3a810c5799d)) {\n const entries = (0, $d7DIX$fs.readFileSync)($85fd7153285bfba5$export$1bbbc3a810c5799d, \"utf-8\").split(\"\\n\");\n const unique_entries = [\n ...new Set(entries.reverse())\n ].reverse() // remove duplicates, keeping the latest entry\n ;\n (0, $d7DIX$fs.writeFileSync)($85fd7153285bfba5$export$1bbbc3a810c5799d, unique_entries.join(\"\\n\"));\n await (0, $8c9709291dc275bc$export$4718e061a205eab)($85fd7153285bfba5$export$1bbbc3a810c5799d);\n }\n}\n\n\n\nvar $kY0n1 = parcelRequire(\"kY0n1\");\n\n\n\nvar $iNGpn = parcelRequire(\"iNGpn\");\n\nvar $ER74K = parcelRequire(\"ER74K\");\n\nconst { appendFile: $f0410b58de32386f$var$appendFile } = (0, $d7DIX$fs.promises);\n/* eslint-disable require-atomic-updates */ let $f0410b58de32386f$var$didUpdate = false;\nlet $f0410b58de32386f$var$didInit = false;\nconst $f0410b58de32386f$var$retryErrors = [\n \"E: Could not get lock\",\n \"dpkg: error processing archive\",\n \"dpkg: error: dpkg status database is locked by another process\"\n];\nasync function $f0410b58de32386f$export$d73dc343f5abf26(packages, update = false) {\n const apt = $f0410b58de32386f$var$getApt();\n for (const { name: name, version: version } of packages)(0, $ER74K.info)(`Installing ${name} ${version ?? \"\"} via ${apt}`);\n process.env.DEBIAN_FRONTEND = \"noninteractive\";\n if (!$f0410b58de32386f$var$didUpdate || update) {\n $f0410b58de32386f$var$updateRepos(apt);\n $f0410b58de32386f$var$didUpdate = true;\n }\n if (!$f0410b58de32386f$var$didInit) {\n await $f0410b58de32386f$var$initApt(apt);\n $f0410b58de32386f$var$didInit = true;\n }\n const allRepositories = [\n ...new Set(packages.flatMap((pack)=>pack.repositories ?? []))\n ];\n if (allRepositories.length !== 0) {\n for (const repo of allRepositories)// eslint-disable-next-line no-await-in-loop\n (0, $4467f131fc22cbb2$export$58f152936f209932)(\"add-apt-repository\", [\n \"-y\",\n repo\n ]);\n $f0410b58de32386f$var$updateRepos(apt);\n }\n const aptArgs = await Promise.all(packages.map((pack)=>$f0410b58de32386f$var$getAptArg(pack.name, pack.version)));\n try {\n (0, $4467f131fc22cbb2$export$58f152936f209932)(apt, [\n \"install\",\n \"--fix-broken\",\n \"-y\",\n ...aptArgs\n ]);\n } catch (err) {\n if (\"stderr\" in err) {\n const stderr = err.stderr;\n if ($f0410b58de32386f$var$retryErrors.some((error)=>stderr.includes(error))) {\n (0, $ER74K.warning)(`Failed to install packages ${aptArgs}. Retrying...`);\n (0, $4467f131fc22cbb2$export$58f152936f209932)(apt, [\n \"install\",\n \"--fix-broken\",\n \"-y\",\n ...aptArgs\n ]);\n }\n } else throw err;\n }\n return {\n binDir: \"/usr/bin/\"\n };\n}\nvar $f0410b58de32386f$export$e6e2160a140a491e;\n(function(AptPackageType) {\n AptPackageType[AptPackageType[\"NameDashVersion\"] = 0] = \"NameDashVersion\";\n AptPackageType[AptPackageType[\"NameEqualsVersion\"] = 1] = \"NameEqualsVersion\";\n AptPackageType[AptPackageType[\"Name\"] = 2] = \"Name\";\n AptPackageType[AptPackageType[\"None\"] = 3] = \"None\";\n})($f0410b58de32386f$export$e6e2160a140a491e || ($f0410b58de32386f$export$e6e2160a140a491e = {}));\nasync function $f0410b58de32386f$export$41cba414fa0bee03(name, version) {\n if (version !== undefined && version !== \"\") {\n const { stdout: stdout } = await (0, $54908482e02f4b6d$export$db6b1668e3758717)(\"apt-cache\", [\n \"search\",\n \"--names-only\",\n `^${(0, $iNGpn.default)(name)}-${(0, $iNGpn.default)(version)}$`\n ]);\n if (stdout.trim() !== \"\") return 0;\n try {\n // check if apt-get show can find the version\n // eslint-disable-next-line @typescript-eslint/no-shadow\n const { stdout: stdout } = await (0, $54908482e02f4b6d$export$db6b1668e3758717)(\"apt-cache\", [\n \"show\",\n `${name}=${version}`\n ]);\n if (stdout.trim() === \"\") return 1;\n } catch {\n // ignore\n }\n }\n try {\n const { stdout: showStdout } = await (0, $54908482e02f4b6d$export$db6b1668e3758717)(\"apt-cache\", [\n \"show\",\n name\n ]);\n if (showStdout.trim() !== \"\") return 2;\n } catch {\n // ignore\n }\n return 3;\n}\nasync function $f0410b58de32386f$var$getAptArg(name, version) {\n const package_type = await $f0410b58de32386f$export$41cba414fa0bee03(name, version);\n switch(package_type){\n case 0:\n return `${name}-${version}`;\n case 1:\n return `${name}=${version}`;\n case 2:\n return name;\n case 3:\n default:\n throw new Error(`Could not find package ${name} ${version ?? \"\"}`);\n }\n}\nfunction $f0410b58de32386f$export$89548d91e84ae1a1() {\n return (0, (/*@__PURE__*/$parcel$interopDefault($851ef3bcd445adf9$exports))).sync(\"nala\", {\n nothrow: true\n }) !== null;\n}\nfunction $f0410b58de32386f$var$getApt() {\n let apt;\n if ($f0410b58de32386f$export$89548d91e84ae1a1()) apt = \"nala\";\n else apt = \"apt-get\";\n return apt;\n}\nfunction $f0410b58de32386f$var$updateRepos(apt) {\n (0, $4467f131fc22cbb2$export$58f152936f209932)(apt, apt !== \"nala\" ? [\n \"update\",\n \"-y\"\n ] : [\n \"update\"\n ]);\n}\n/** Install apt utils and certificates (usually missing from docker containers) */ async function $f0410b58de32386f$var$initApt(apt) {\n (0, $4467f131fc22cbb2$export$58f152936f209932)(apt, [\n \"install\",\n \"--fix-broken\",\n \"-y\",\n \"software-properties-common\",\n \"apt-utils\",\n \"ca-certificates\",\n \"gnupg\"\n ]);\n const promises = [\n $f0410b58de32386f$export$11aa10c05ada0934([\n \"3B4FE6ACC0B21F32\",\n \"40976EAF437D05B5\"\n ], \"setup-cpp-ubuntu-archive.gpg\"),\n $f0410b58de32386f$export$11aa10c05ada0934([\n \"1E9377A2BA9EF27F\"\n ], \"launchpad-toolchain.gpg\")\n ];\n if (apt === \"nala\") // enable utf8 otherwise it fails because of the usage of ASCII encoding\n promises.push((0, $85fd7153285bfba5$export$f63d3080ce25e0fd)(\"LANG\", \"C.UTF-8\", {\n shouldAddOnlyIfNotDefined: true\n }), (0, $85fd7153285bfba5$export$f63d3080ce25e0fd)(\"LC_ALL\", \"C.UTF-8\", {\n shouldAddOnlyIfNotDefined: true\n }));\n await Promise.all(promises);\n}\nfunction $f0410b58de32386f$var$initGpg() {\n (0, $4467f131fc22cbb2$export$58f152936f209932)(\"gpg\", [\n \"-k\"\n ]);\n}\nasync function $f0410b58de32386f$export$11aa10c05ada0934(keys, name, server = \"keyserver.ubuntu.com\") {\n try {\n const fileName = `/etc/apt/trusted.gpg.d/${name}`;\n if (!await (0, $kY0n1.pathExists)(fileName)) {\n $f0410b58de32386f$var$initGpg();\n await Promise.all(keys.map(async (key)=>{\n await (0, $4467f131fc22cbb2$export$351270479e2eef26)(\"gpg\", [\n \"--no-default-keyring\",\n \"--keyring\",\n `gnupg-ring:${fileName}`,\n \"--keyserver\",\n server,\n \"--recv-keys\",\n key\n ]);\n await (0, $4467f131fc22cbb2$export$351270479e2eef26)(\"chmod\", [\n \"644\",\n fileName\n ]);\n }));\n }\n return fileName;\n } catch (err) {\n (0, $ER74K.warning)(`Failed to add apt key via server ${server}: ${err}`);\n return undefined;\n }\n}\nasync function $f0410b58de32386f$export$7fb1a688af1305f0(name, url) {\n const fileName = `/etc/apt/trusted.gpg.d/${name}`;\n if (!await (0, $kY0n1.pathExists)(fileName)) {\n $f0410b58de32386f$var$initGpg();\n await $f0410b58de32386f$export$d73dc343f5abf26([\n {\n name: \"curl\"\n },\n {\n name: \"ca-certificates\"\n }\n ], undefined);\n await (0, $54908482e02f4b6d$export$db6b1668e3758717)(\"curl\", [\n \"-s\",\n url,\n \"-o\",\n `/tmp/${name}`\n ]);\n (0, $4467f131fc22cbb2$export$58f152936f209932)(\"gpg\", [\n \"--no-default-keyring\",\n \"--keyring\",\n `gnupg-ring:${fileName}`,\n \"--import\",\n `/tmp/${name}`\n ]);\n (0, $4467f131fc22cbb2$export$58f152936f209932)(\"chmod\", [\n \"644\",\n fileName\n ]);\n }\n return fileName;\n}\nasync function $f0410b58de32386f$export$6fe6436bd9f53d02(name, path, priority = 40) {\n if (0, $52cQ1.GITHUB_ACTIONS) return (0, $4467f131fc22cbb2$export$351270479e2eef26)(\"update-alternatives\", [\n \"--install\",\n `/usr/bin/${name}`,\n name,\n path,\n priority.toString()\n ]);\n else {\n await (0, $85fd7153285bfba5$export$bd1dffd792f43c41)();\n return $f0410b58de32386f$var$appendFile((0, $85fd7153285bfba5$export$1bbbc3a810c5799d), `\\nif [ $UID -eq 0 ]; then update-alternatives --install /usr/bin/${name} ${name} ${path} ${priority}; fi\\n`);\n }\n}\nasync function $f0410b58de32386f$export$ec2e4deaa1231ecf(regexp) {\n try {\n // check if a package matching the regexp is installed\n const { stdout: stdout } = await (0, $54908482e02f4b6d$export$db6b1668e3758717)(\"dpkg\", [\n \"-l\",\n regexp\n ]);\n const lines = stdout.split(\"\\n\");\n // check if the output contains any lines that start with \"ii\"\n return lines.some((line)=>line.startsWith(\"ii\"));\n } catch {\n return false;\n }\n}\n\n\n/* eslint-disable require-atomic-updates */ \nvar $4t50X = parcelRequire(\"4t50X\");\n\n\nvar $bzNgi = parcelRequire(\"bzNgi\");\n\n\n\nvar $bzNgi = parcelRequire(\"bzNgi\");\n\n\n\n\nvar $hZdK0 = parcelRequire(\"hZdK0\");\n\n\n/* eslint-disable require-atomic-updates */ let $b05e6e28215ee948$var$binDir;\nasync function $b05e6e28215ee948$export$c5eeb9c87a610a0e(_version, _setupDir, _arch) {\n if (![\n \"darwin\",\n \"linux\"\n ].includes(process.platform)) return undefined;\n if (typeof $b05e6e28215ee948$var$binDir === \"string\") return {\n binDir: $b05e6e28215ee948$var$binDir\n };\n const maybeBinDir = (0, (/*@__PURE__*/$parcel$interopDefault($851ef3bcd445adf9$exports))).sync(\"brew\", {\n nothrow: true\n });\n if (maybeBinDir !== null) {\n $b05e6e28215ee948$var$binDir = (0, $bzNgi.dirname)(maybeBinDir);\n return {\n binDir: $b05e6e28215ee948$var$binDir\n };\n }\n // brew is not thread-safe\n const brewTempDirectory = (0, ($parcel$interopDefault($d7DIX$path))).join((0, $d7DIX$os.tmpdir)(), \"setup-cpp\", \"brew\");\n await (0, $hZdK0.mkdirP)(brewTempDirectory);\n (0, $54908482e02f4b6d$export$28823a701bb5a12d)(\"curl\", [\n \"-LJO\",\n \"https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh\"\n ], {\n cwd: brewTempDirectory\n });\n const installSh = (0, $d7DIX$path.join)(brewTempDirectory, \"install.sh\");\n if (process.platform === \"linux\") {\n const installShContent = (0, $d7DIX$fs.readFileSync)(installSh, \"utf-8\");\n installShContent.replace(\"#!/bin/bash\", \"\");\n }\n (0, $54908482e02f4b6d$export$28823a701bb5a12d)(\"/bin/bash\", [\n installSh\n ], {\n stdio: \"inherit\",\n env: {\n NONINTERACTIVE: \"1\"\n }\n });\n $b05e6e28215ee948$var$binDir = $b05e6e28215ee948$export$cba19b0564b654bf();\n await (0, $85fd7153285bfba5$export$4c25481b843feb0b)($b05e6e28215ee948$var$binDir);\n return {\n binDir: $b05e6e28215ee948$var$binDir\n };\n}\nfunction $b05e6e28215ee948$export$cba19b0564b654bf() {\n if (process.platform === \"linux\") return \"/home/linuxbrew/.linuxbrew/bin/\";\n else return \"/usr/local/bin/\";\n}\n\n\nlet $10ddbd636565d4da$var$hasBrew = false;\nasync function $10ddbd636565d4da$export$ce5d13d8a85cb784(name, version, extraArgs = []) {\n (0, $4t50X.info)(`Installing ${name} ${version ?? \"\"} via brew`);\n if (!$10ddbd636565d4da$var$hasBrew || (0, (/*@__PURE__*/$parcel$interopDefault($851ef3bcd445adf9$exports))).sync(\"brew\", {\n nothrow: true\n }) === null) {\n await (0, $b05e6e28215ee948$export$c5eeb9c87a610a0e)(\"\", \"\", process.arch);\n $10ddbd636565d4da$var$hasBrew = true;\n }\n const binDir = (0, $b05e6e28215ee948$export$cba19b0564b654bf)();\n // brew is not thread-safe\n (0, $54908482e02f4b6d$export$28823a701bb5a12d)((0, $bzNgi.join)(binDir, \"brew\"), [\n \"install\",\n version !== undefined && version !== \"\" ? `${name}@${version}` : name,\n ...extraArgs\n ], {\n stdio: \"inherit\"\n });\n return {\n binDir: binDir\n };\n}\n\n\n/* eslint-disable require-atomic-updates */ \n\n/* eslint-disable require-atomic-updates */ \n\nvar $kY0n1 = parcelRequire(\"kY0n1\");\n\nvar $bzNgi = parcelRequire(\"bzNgi\");\n\n\nlet $5540d46c90af649b$var$binDir;\nasync function $5540d46c90af649b$export$b804d731cdad7ef9(// eslint-disable-next-line @typescript-eslint/no-unused-vars\n_version, // eslint-disable-next-line @typescript-eslint/no-unused-vars\n_setupDir, // eslint-disable-next-line @typescript-eslint/no-unused-vars\n_arch) {\n if (process.platform !== \"win32\") return undefined;\n if (typeof $5540d46c90af649b$var$binDir === \"string\") return {\n binDir: $5540d46c90af649b$var$binDir\n };\n const maybeBinDir = (0, (/*@__PURE__*/$parcel$interopDefault($851ef3bcd445adf9$exports))).sync(\"choco\", {\n nothrow: true\n });\n if (maybeBinDir !== null) {\n $5540d46c90af649b$var$binDir = (0, $bzNgi.dirname)(maybeBinDir);\n return {\n binDir: $5540d46c90af649b$var$binDir\n };\n }\n let powershell = \"powershell.exe\";\n const maybePowerShell = (0, (/*@__PURE__*/$parcel$interopDefault($851ef3bcd445adf9$exports))).sync(`${process.env.SystemRoot}\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\powershell.exe`, {\n nothrow: true\n });\n if (maybePowerShell !== null) powershell = maybePowerShell;\n // https://docs.chocolatey.org/en-us/choco/setup#install-with-cmd.exe\n (0, $54908482e02f4b6d$export$28823a701bb5a12d)(powershell, [\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 const chocoPath = `${process.env.ALLUSERSPROFILE}\\\\chocolatey\\\\bin`;\n await (0, $85fd7153285bfba5$export$4c25481b843feb0b)(chocoPath);\n const maybeChoco = (0, (/*@__PURE__*/$parcel$interopDefault($851ef3bcd445adf9$exports))).sync(\"choco\", {\n nothrow: true\n });\n if (maybeChoco !== null) $5540d46c90af649b$var$binDir = (0, $bzNgi.dirname)(maybeChoco);\n else $5540d46c90af649b$var$binDir = `${process.env.ChocolateyInstall ?? \"C:/ProgramData/chocolatey\"}/bin`;\n if (await (0, $kY0n1.pathExists)($5540d46c90af649b$var$binDir)) return {\n binDir: $5540d46c90af649b$var$binDir\n };\n return undefined;\n}\n\n\n\n\nvar $ER74K = parcelRequire(\"ER74K\");\nlet $ca3ee4fd324ae5e9$var$hasChoco = false;\nasync function $ca3ee4fd324ae5e9$export$9f6912bc890040b2(name, version, args = []) {\n (0, $ER74K.info)(`Installing ${name} ${version ?? \"\"} via chocolatey`);\n if (!$ca3ee4fd324ae5e9$var$hasChoco || (0, (/*@__PURE__*/$parcel$interopDefault($851ef3bcd445adf9$exports))).sync(\"choco\", {\n nothrow: true\n }) === null) {\n await (0, $5540d46c90af649b$export$b804d731cdad7ef9)(\"\", \"\", process.arch);\n $ca3ee4fd324ae5e9$var$hasChoco = true;\n }\n // https://github.com/jberezanski/ChocolateyPackages/issues/97#issuecomment-986825694\n const PATH = process.env.PATH;\n const env = {\n ...process.env\n };\n delete env.TMP;\n delete env.TEMP;\n delete env.Path;\n env.PATH = PATH;\n if (version !== undefined && version !== \"\") (0, $54908482e02f4b6d$export$28823a701bb5a12d)(\"choco\", [\n \"install\",\n \"-y\",\n name,\n `--version=${version}`,\n ...args\n ], {\n env: env,\n extendEnv: false,\n stdio: \"inherit\"\n });\n else try {\n (0, $54908482e02f4b6d$export$28823a701bb5a12d)(\"choco\", [\n \"install\",\n \"-y\",\n name,\n ...args\n ], {\n env: env,\n extendEnv: false,\n stdio: \"inherit\"\n });\n } catch (err) {\n // if the package requires a reboot, downgrade the error to a notice\n if (err.message.includes(\"exit code 3010\")) (0, $ER74K.info)(`${name} might require a reboot for the completion of the installation.`);\n else throw err;\n }\n const binDir = `${process.env.ChocolateyInstall ?? \"C:/ProgramData/chocolatey\"}/bin`;\n await (0, $85fd7153285bfba5$export$4c25481b843feb0b)(binDir);\n return {\n binDir: binDir\n };\n}\n\n\n\nlet $84785c71f430250a$var$isArchCache = undefined;\nfunction $84785c71f430250a$export$d415ddb6702ec3a2() {\n if (process.platform !== \"linux\") return false;\n if ($84785c71f430250a$var$isArchCache === undefined) // detect arch by checking if pacman exists\n $84785c71f430250a$var$isArchCache = (0, (/*@__PURE__*/$parcel$interopDefault($851ef3bcd445adf9$exports))).sync(\"pacman\", {\n nothrow: true\n }) !== null;\n return $84785c71f430250a$var$isArchCache;\n}\n\n\n\nlet $3cbfee605ac1e082$var$hasDnfCache = undefined;\nfunction $3cbfee605ac1e082$export$8ce8b4b22331a8c7() {\n if (process.platform !== \"linux\") return false;\n if ($3cbfee605ac1e082$var$hasDnfCache === undefined) $3cbfee605ac1e082$var$hasDnfCache = (0, (/*@__PURE__*/$parcel$interopDefault($851ef3bcd445adf9$exports))).sync(\"dnf\", {\n nothrow: true\n }) !== null;\n return $3cbfee605ac1e082$var$hasDnfCache;\n}\n\n\n\n\nvar $ER74K = parcelRequire(\"ER74K\");\n\nasync function $7e2451edad050552$export$49d4f9ba8e0dd34f(packages) {\n for (const { name: name, version: version } of packages)(0, $ER74K.info)(`Installing ${name} ${version ?? \"\"} via dnf`);\n const dnfArgs = await Promise.all(packages.map((pack)=>$7e2451edad050552$var$getDnfArg(pack.name, pack.version)));\n (0, $4467f131fc22cbb2$export$58f152936f209932)(\"dnf\", [\n \"-y\",\n \"install\",\n ...dnfArgs\n ]);\n return {\n binDir: \"/usr/bin/\"\n };\n}\nasync function $7e2451edad050552$var$getDnfArg(name, version) {\n if (version !== undefined && version !== \"\") {\n // check if name-version is available\n const { stdout: stdout } = await (0, $54908482e02f4b6d$export$db6b1668e3758717)(\"dnf\", [\n \"search\",\n \"-q\",\n `${name}-${version}`\n ]);\n if (stdout.trim() !== \"\") return `${name}-${version}`;\n else {\n // try with ${name}${version}\n // eslint-disable-next-line @typescript-eslint/no-shadow\n const { stdout: stdout } = await (0, $54908482e02f4b6d$export$db6b1668e3758717)(\"dnf\", [\n \"search\",\n \"-q\",\n `${name}${version}`\n ]);\n if (stdout.trim() !== \"\") return `${name}${version}`;\n (0, $ER74K.warning)(`Failed to install ${name} ${version} via dnf, trying without version`);\n }\n }\n return name;\n}\n\n\n\nlet $7b55ac603b97ae6e$var$isUbuntuCache = undefined;\nfunction $7b55ac603b97ae6e$export$da8baf1d6c6802b6() {\n if (process.platform !== \"linux\") return false;\n if ($7b55ac603b97ae6e$var$isUbuntuCache === undefined) {\n const apt = \"apt-get\";\n $7b55ac603b97ae6e$var$isUbuntuCache = (0, (/*@__PURE__*/$parcel$interopDefault($851ef3bcd445adf9$exports))).sync(apt, {\n nothrow: true\n }) !== null;\n }\n return $7b55ac603b97ae6e$var$isUbuntuCache;\n}\n\n\n\nasync function $8550ac0edfced131$export$a66bc93580b0a849(version, _setupDir, _arch) {\n switch(process.platform){\n case \"win32\":\n // install bazelisk because it contains both\n return (0, $ca3ee4fd324ae5e9$export$9f6912bc890040b2)(\"bazelisk\", version);\n case \"darwin\":\n // install bazelisk because it contains both\n return (0, $10ddbd636565d4da$export$ce5d13d8a85cb784)(\"bazelisk\", version);\n case \"linux\":\n if ((0, $84785c71f430250a$export$d415ddb6702ec3a2)()) throw new Error(\"installing bazel on Arch linux is not supported yet\");\n else if ((0, $3cbfee605ac1e082$export$8ce8b4b22331a8c7)()) {\n // https://bazel.build/install/redhat\n await (0, $7e2451edad050552$export$49d4f9ba8e0dd34f)([\n {\n name: \"dnf-plugins-core\"\n }\n ]);\n (0, $4467f131fc22cbb2$export$58f152936f209932)(\"dnf\", [\n \"copr\",\n \"enable\",\n \"vbatts/bazel\"\n ]);\n return (0, $7e2451edad050552$export$49d4f9ba8e0dd34f)([\n {\n name: \"bazel4\"\n }\n ]);\n } else if ((0, $7b55ac603b97ae6e$export$da8baf1d6c6802b6)()) {\n // https://bazel.build/install/ubuntu\n const keyFileName = await (0, $f0410b58de32386f$export$7fb1a688af1305f0)(\"bazel-archive-keyring.gpg\", \"https://bazel.build/bazel-release.pub.gpg\");\n (0, $4467f131fc22cbb2$export$58f152936f209932)(\"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 (0, $f0410b58de32386f$export$d73dc343f5abf26)([\n {\n name: \"bazel\",\n version: version\n }\n ], true);\n }\n throw new Error(`Unsupported linux distribution`);\n default:\n throw new Error(`Unsupported platform`);\n }\n}\n\n\n\n\n\n\nvar $ER74K = parcelRequire(\"ER74K\");\n\n\n/* eslint-disable require-atomic-updates */ let $6f126e8fe01fa080$var$didUpdate = false;\nlet $6f126e8fe01fa080$var$didInit = false;\nasync function $6f126e8fe01fa080$export$cfa75578ee2d6e6c(name, version, aur) {\n (0, $ER74K.info)(`Installing ${name} ${version ?? \"\"} via pacman`);\n const pacman = \"pacman\";\n if (aur === \"yay\" && (0, (/*@__PURE__*/$parcel$interopDefault($851ef3bcd445adf9$exports))).sync(\"yay\", {\n nothrow: true\n }) === null) // TODO: install yay automatically\n throw new Error(`yay is needed for ${name}, but it is not installed, please install it manually first`);\n // yay can't run as root, so skip update\n if (!$6f126e8fe01fa080$var$didUpdate && aur !== \"yay\") {\n (0, $4467f131fc22cbb2$export$58f152936f209932)(pacman, [\n \"-Sy\",\n \"--noconfirm\"\n ]);\n $6f126e8fe01fa080$var$didUpdate = true;\n }\n // install base-devel\n if (!$6f126e8fe01fa080$var$didInit && aur !== \"yay\") {\n (0, $4467f131fc22cbb2$export$58f152936f209932)(pacman, [\n \"-S\",\n \"--noconfirm\",\n \"base-devel\"\n ]);\n $6f126e8fe01fa080$var$didInit = true;\n }\n const runInstall = (arg)=>{\n if (aur === \"yay\") // run yay as non-root, ERROR: Running makepkg as root is not allowed as it can cause permanent, catastrophic damage to your system.\n return (0, $54908482e02f4b6d$export$28823a701bb5a12d)(aur, [\n \"-S\",\n \"--noconfirm\",\n arg\n ]);\n return (0, $4467f131fc22cbb2$export$58f152936f209932)(aur ?? pacman, [\n \"-S\",\n \"--noconfirm\",\n arg\n ]);\n };\n if (version !== undefined && version !== \"\") {\n // check if version is available\n const availableVersions = await $6f126e8fe01fa080$var$availablePacmanVersions(pacman, name);\n if (availableVersions.includes(version)) // try different version formats\n try {\n runInstall(`${name}=${version}`);\n } catch {\n runInstall(`${name}${version}`);\n }\n else {\n // try without version\n (0, $ER74K.info)(`Failed to install ${name} ${version} via pacman, trying without version`);\n runInstall(name);\n }\n } else // version not specified, install latest\n runInstall(name);\n return {\n binDir: \"/usr/bin/\"\n };\n}\nconst $6f126e8fe01fa080$var$pacmanSiVersionRegex = /Version\\s*:\\s*(.*)/g;\n/** Query pacman for available versions */ async function $6f126e8fe01fa080$var$availablePacmanVersions(pacman, name) {\n const availableVersions = [];\n try {\n const { stdout: stdout } = await (0, $54908482e02f4b6d$export$db6b1668e3758717)(pacman, [\n \"-Si\",\n name\n ]);\n for (const match of stdout.matchAll($6f126e8fe01fa080$var$pacmanSiVersionRegex))availableVersions.push(match[1]);\n } catch (err) {\n (0, $ER74K.warning)(`Failed to get available versions for ${name}: ${err}`);\n }\n return availableVersions;\n}\n\n\n\n\n\n\n\n\nfunction $37a450505a669dce$export$111263621bbb0768(version, _setupDir, _arch) {\n switch(process.platform){\n case \"win32\":\n return (0, $ca3ee4fd324ae5e9$export$9f6912bc890040b2)(\"ccache\", version);\n case \"darwin\":\n return (0, $10ddbd636565d4da$export$ce5d13d8a85cb784)(\"ccache\", version);\n case \"linux\":\n if ((0, $84785c71f430250a$export$d415ddb6702ec3a2)()) return (0, $6f126e8fe01fa080$export$cfa75578ee2d6e6c)(\"ccache\", version);\n else if ((0, $3cbfee605ac1e082$export$8ce8b4b22331a8c7)()) return (0, $7e2451edad050552$export$49d4f9ba8e0dd34f)([\n {\n name: \"ccache\",\n version: version\n }\n ]);\n else if ((0, $7b55ac603b97ae6e$export$da8baf1d6c6802b6)()) return (0, $f0410b58de32386f$export$d73dc343f5abf26)([\n {\n name: \"ccache\",\n version: version\n }\n ]);\n throw new Error(`Unsupported linux distribution`);\n default:\n throw new Error(`Unsupported platform`);\n }\n}\n\n\n\nvar $0106ac245720b572$exports = {};\n\nvar $0106ac245720b572$var$$parcel$__dirname = $d7DIX$path.resolve(__dirname, \"../../node_modules/@actions/tool-cache/lib\");\n\"use strict\";\nvar $0106ac245720b572$var$__createBinding = $0106ac245720b572$exports && $0106ac245720b572$exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $0106ac245720b572$var$__setModuleDefault = $0106ac245720b572$exports && $0106ac245720b572$exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $0106ac245720b572$var$__importStar = $0106ac245720b572$exports && $0106ac245720b572$exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $0106ac245720b572$var$__createBinding(result, mod, k);\n }\n $0106ac245720b572$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $0106ac245720b572$var$__awaiter = $0106ac245720b572$exports && $0106ac245720b572$exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar $0106ac245720b572$var$__importDefault = $0106ac245720b572$exports && $0106ac245720b572$exports.__importDefault || function(mod) {\n return mod && mod.__esModule ? mod : {\n \"default\": mod\n };\n};\nObject.defineProperty($0106ac245720b572$exports, \"__esModule\", {\n value: true\n});\n$0106ac245720b572$exports.evaluateVersions = $0106ac245720b572$exports.isExplicitVersion = $0106ac245720b572$exports.findFromManifest = $0106ac245720b572$exports.getManifestFromRepo = $0106ac245720b572$exports.findAllVersions = $0106ac245720b572$exports.find = $0106ac245720b572$exports.cacheFile = $0106ac245720b572$exports.cacheDir = $0106ac245720b572$exports.extractZip = $0106ac245720b572$exports.extractXar = $0106ac245720b572$exports.extractTar = $0106ac245720b572$exports.extract7z = $0106ac245720b572$exports.downloadTool = $0106ac245720b572$exports.HTTPError = void 0;\n\nconst $0106ac245720b572$var$core = $0106ac245720b572$var$__importStar((parcelRequire(\"4t50X\")));\n\nconst $0106ac245720b572$var$io = $0106ac245720b572$var$__importStar((parcelRequire(\"hZdK0\")));\n\nconst $0106ac245720b572$var$fs = $0106ac245720b572$var$__importStar($d7DIX$fs);\n\nconst $0106ac245720b572$var$mm = $0106ac245720b572$var$__importStar((parcelRequire(\"42L4Y\")));\n\nconst $0106ac245720b572$var$os = $0106ac245720b572$var$__importStar($d7DIX$os);\n\nconst $0106ac245720b572$var$path = $0106ac245720b572$var$__importStar($d7DIX$path);\n\nconst $0106ac245720b572$var$httpm = $0106ac245720b572$var$__importStar((parcelRequire(\"a7JAS\")));\n\nconst $0106ac245720b572$var$semver = $0106ac245720b572$var$__importStar((parcelRequire(\"lroIv\")));\n\nconst $0106ac245720b572$var$stream = $0106ac245720b572$var$__importStar($d7DIX$stream);\n\nconst $0106ac245720b572$var$util = $0106ac245720b572$var$__importStar($d7DIX$util);\n\n\nconst $0106ac245720b572$var$v4_1 = $0106ac245720b572$var$__importDefault((parcelRequire(\"eAF86\")));\n\nvar $1f6JF = parcelRequire(\"1f6JF\");\nvar $6dd61cb0b432635a$exports = {};\n\"use strict\";\nvar $6dd61cb0b432635a$var$__createBinding = $6dd61cb0b432635a$exports && $6dd61cb0b432635a$exports.__createBinding || (Object.create ? function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, {\n enumerable: true,\n get: function() {\n return m[k];\n }\n });\n} : function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\nvar $6dd61cb0b432635a$var$__setModuleDefault = $6dd61cb0b432635a$exports && $6dd61cb0b432635a$exports.__setModuleDefault || (Object.create ? function(o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function(o, v) {\n o[\"default\"] = v;\n});\nvar $6dd61cb0b432635a$var$__importStar = $6dd61cb0b432635a$exports && $6dd61cb0b432635a$exports.__importStar || function(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) {\n for(var k in mod)if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) $6dd61cb0b432635a$var$__createBinding(result, mod, k);\n }\n $6dd61cb0b432635a$var$__setModuleDefault(result, mod);\n return result;\n};\nvar $6dd61cb0b432635a$var$__awaiter = $6dd61cb0b432635a$exports && $6dd61cb0b432635a$exports.__awaiter || function(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function(resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function(resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty($6dd61cb0b432635a$exports, \"__esModule\", {\n value: true\n});\n$6dd61cb0b432635a$exports.RetryHelper = void 0;\n\nconst $6dd61cb0b432635a$var$core = $6dd61cb0b432635a$var$__importStar((parcelRequire(\"4t50X\")));\n/**\n * Internal class for retries\n */ class $6dd61cb0b432635a$var$RetryHelper {\n constructor(maxAttempts, minSeconds, maxSeconds){\n if (maxAttempts < 1) throw new Error(\"max attempts should be greater than or equal to 1\");\n this.maxAttempts = maxAttempts;\n this.minSeconds = Math.floor(minSeconds);\n this.maxSeconds = Math.floor(maxSeconds);\n if (this.minSeconds > this.maxSeconds) throw new Error(\"min seconds should be less than or equal to max seconds\");\n }\n execute(action, isRetryable) {\n return $6dd61cb0b432635a$var$__awaiter(this, void 0, void 0, function*() {\n let attempt = 1;\n while(attempt < this.maxAttempts){\n // Try\n try {\n return yield action();\n } catch (err) {\n if (isRetryable && !isRetryable(err)) throw err;\n $6dd61cb0b432635a$var$core.info(err.message);\n }\n // Sleep\n const seconds = this.getSleepAmount();\n $6dd61cb0b432635a$var$core.info(`Waiting ${seconds} seconds before trying again`);\n yield this.sleep(seconds);\n attempt++;\n }\n // Last attempt\n return yield action();\n });\n }\n getSleepAmount() {\n return Math.floor(Math.random() * (this.maxSeconds - this.minSeconds + 1)) + this.minSeconds;\n }\n sleep(seconds) {\n return $6dd61cb0b432635a$var$__awaiter(this, void 0, void 0, function*() {\n return new Promise((resolve)=>setTimeout(resolve, seconds * 1000));\n });\n }\n}\n$6dd61cb0b432635a$exports.RetryHelper = $6dd61cb0b432635a$var$RetryHelper;\n\n\nclass $0106ac245720b572$var$HTTPError extends Error {\n constructor(httpStatusCode){\n super(`Unexpected HTTP response: ${httpStatusCode}`);\n this.httpStatusCode = httpStatusCode;\n Object.setPrototypeOf(this, new.target.prototype);\n }\n}\n$0106ac245720b572$exports.HTTPError = $0106ac245720b572$var$HTTPError;\nconst $0106ac245720b572$var$IS_WINDOWS = process.platform === \"win32\";\nconst $0106ac245720b572$var$IS_MAC = process.platform === \"darwin\";\nconst $0106ac245720b572$var$userAgent = \"actions/tool-cache\";\n/**\n * Download a tool from an url and stream it into a file\n *\n * @param url url of tool to download\n * @param dest path to download tool\n * @param auth authorization header\n * @param headers other headers\n * @returns path to downloaded tool\n */ function $0106ac245720b572$var$downloadTool(url, dest, auth, headers) {\n return $0106ac245720b572$var$__awaiter(this, void 0, void 0, function*() {\n dest = dest || $0106ac245720b572$var$path.join($0106ac245720b572$var$_getTempDirectory(), $0106ac245720b572$var$v4_1.default());\n yield $0106ac245720b572$var$io.mkdirP($0106ac245720b572$var$path.dirname(dest));\n $0106ac245720b572$var$core.debug(`Downloading ${url}`);\n $0106ac245720b572$var$core.debug(`Destination ${dest}`);\n const maxAttempts = 3;\n const minSeconds = $0106ac245720b572$var$_getGlobal(\"TEST_DOWNLOAD_TOOL_RETRY_MIN_SECONDS\", 10);\n const maxSeconds = $0106ac245720b572$var$_getGlobal(\"TEST_DOWNLOAD_TOOL_RETRY_MAX_SECONDS\", 20);\n const retryHelper = new $6dd61cb0b432635a$exports.RetryHelper(maxAttempts, minSeconds, maxSeconds);\n return yield retryHelper.execute(()=>$0106ac245720b572$var$__awaiter(this, void 0, void 0, function*() {\n return yield $0106ac245720b572$var$downloadToolAttempt(url, dest || \"\", auth, headers);\n }), (err)=>{\n if (err instanceof $0106ac245720b572$var$HTTPError && err.httpStatusCode) {\n // Don't retry anything less than 500, except 408 Request Timeout and 429 Too Many Requests\n if (err.httpStatusCode < 500 && err.httpStatusCode !== 408 && err.httpStatusCode !== 429) return false;\n }\n // Otherwise retry\n return true;\n });\n });\n}\n$0106ac245720b572$exports.downloadTool = $0106ac245720b572$var$downloadTool;\nfunction $0106ac245720b572$var$downloadToolAttempt(url, dest, auth, headers) {\n return $0106ac245720b572$var$__awaiter(this, void 0, void 0, function*() {\n if ($0106ac245720b572$var$fs.existsSync(dest)) throw new Error(`Destination file path ${dest} already exists`);\n // Get the response headers\n const http = new $0106ac245720b572$var$httpm.HttpClient($0106ac245720b572$var$userAgent, [], {\n allowRetries: false\n });\n if (auth) {\n $0106ac245720b572$var$core.debug(\"set auth\");\n if (headers === undefined) headers = {};\n headers.authorization = auth;\n }\n const response = yield http.get(url, headers);\n if (response.message.statusCode !== 200) {\n const err = new $0106ac245720b572$var$HTTPError(response.message.statusCode);\n $0106ac245720b572$var$core.debug(`Failed to download from \"${url}\". Code(${response.message.statusCode}) Message(${response.message.statusMessage})`);\n throw err;\n }\n // Download the response body\n const pipeline = $0106ac245720b572$var$util.promisify($0106ac245720b572$var$stream.pipeline);\n const responseMessageFactory = $0106ac245720b572$var$_getGlobal(\"TEST_DOWNLOAD_TOOL_RESPONSE_MESSAGE_FACTORY\", ()=>response.message);\n const readStream = responseMessageFactory();\n let succeeded = false;\n try {\n yield pipeline(readStream, $0106ac245720b572$var$fs.createWriteStream(dest));\n $0106ac245720b572$var$core.debug(\"download complete\");\n succeeded = true;\n return dest;\n } finally{\n // Error, delete dest before retry\n if (!succeeded) {\n $0106ac245720b572$var$core.debug(\"download failed\");\n try {\n yield $0106ac245720b572$var$io.rmRF(dest);\n } catch (err) {\n $0106ac245720b572$var$core.debug(`Failed to delete '${dest}'. ${err.message}`);\n }\n }\n }\n });\n}\n/**\n * Extract a .7z file\n *\n * @param file path to the .7z file\n * @param dest destination directory. Optional.\n * @param _7zPath path to 7zr.exe. Optional, for long path support. Most .7z archives do not have this\n * problem. If your .7z archive contains very long paths, you can pass the path to 7zr.exe which will\n * gracefully handle long paths. By default 7zdec.exe is used because it is a very small program and is\n * bundled with the tool lib. However it does not support long paths. 7zr.exe is the reduced command line\n * interface, it is smaller than the full command line interface, and it does support long paths. At the\n * time of this writing, it is freely available from the LZMA SDK that is available on the 7zip website.\n * Be sure to check the current license agreement. If 7zr.exe is bundled with your action, then the path\n * to 7zr.exe can be pass to this function.\n * @returns path to the destination directory\n */ function $0106ac245720b572$var$extract7z(file, dest, _7zPath) {\n return $0106ac245720b572$var$__awaiter(this, void 0, void 0, function*() {\n $d7DIX$assert.ok($0106ac245720b572$var$IS_WINDOWS, \"extract7z() not supported on current OS\");\n $d7DIX$assert.ok(file, 'parameter \"file\" is required');\n dest = yield $0106ac245720b572$var$_createExtractFolder(dest);\n const originalCwd = process.cwd();\n process.chdir(dest);\n if (_7zPath) try {\n const logLevel = $0106ac245720b572$var$core.isDebug() ? \"-bb1\" : \"-bb0\";\n const args = [\n \"x\",\n logLevel,\n \"-bd\",\n \"-sccUTF-8\",\n file\n ];\n const options = {\n silent: true\n };\n yield $1f6JF.exec(`\"${_7zPath}\"`, args, options);\n } finally{\n process.chdir(originalCwd);\n }\n else {\n const escapedScript = $0106ac245720b572$var$path.join($0106ac245720b572$var$$parcel$__dirname, \"..\", \"scripts\", \"Invoke-7zdec.ps1\").replace(/'/g, \"''\").replace(/\"|\\n|\\r/g, \"\"); // double-up single quotes, remove double quotes and newlines\n const escapedFile = file.replace(/'/g, \"''\").replace(/\"|\\n|\\r/g, \"\");\n const escapedTarget = dest.replace(/'/g, \"''\").replace(/\"|\\n|\\r/g, \"\");\n const command = `& '${escapedScript}' -Source '${escapedFile}' -Target '${escapedTarget}'`;\n const args = [\n \"-NoLogo\",\n \"-Sta\",\n \"-NoProfile\",\n \"-NonInteractive\",\n \"-ExecutionPolicy\",\n \"Unrestricted\",\n \"-Command\",\n command\n ];\n const options = {\n silent: true\n };\n try {\n const powershellPath = yield $0106ac245720b572$var$io.which(\"powershell\", true);\n yield $1f6JF.exec(`\"${powershellPath}\"`, args, options);\n } finally{\n process.chdir(originalCwd);\n }\n }\n return dest;\n });\n}\n$0106ac245720b572$exports.extract7z = $0106ac245720b572$var$extract7z;\n/**\n * Extract a compressed tar archive\n *\n * @param file path to the tar\n * @param dest destination directory. Optional.\n * @param flags flags for the tar command to use for extraction. Defaults to 'xz' (extracting gzipped tars). Optional.\n * @returns path to the destination directory\n */ function $0106ac245720b572$var$extractTar(file, dest, flags = \"xz\") {\n return $0106ac245720b572$var$__awaiter(this, void 0, void 0, function*() {\n if (!file) throw new Error(\"parameter 'file' is required\");\n // Create dest\n dest = yield $0106ac245720b572$var$_createExtractFolder(dest);\n // Determine whether GNU tar\n $0106ac245720b572$var$core.debug(\"Checking tar --version\");\n let versionOutput = \"\";\n yield $1f6JF.exec(\"tar --version\", [], {\n ignoreReturnCode: true,\n silent: true,\n listeners: {\n stdout: (data)=>versionOutput += data.toString(),\n stderr: (data)=>versionOutput += data.toString()\n }\n });\n $0106ac245720b572$var$core.debug(versionOutput.trim());\n const isGnuTar = versionOutput.toUpperCase().includes(\"GNU TAR\");\n // Initialize args\n let args;\n if (flags instanceof Array) args = flags;\n else args = [\n flags\n ];\n if ($0106ac245720b572$var$core.isDebug() && !flags.includes(\"v\")) args.push(\"-v\");\n let destArg = dest;\n let fileArg = file;\n if ($0106ac245720b572$var$IS_WINDOWS && isGnuTar) {\n args.push(\"--force-local\");\n destArg = dest.replace(/\\\\/g, \"/\");\n // Technically only the dest needs to have `/` but for aesthetic consistency\n // convert slashes in the file arg too.\n fileArg = file.replace(/\\\\/g, \"/\");\n }\n if (isGnuTar) {\n // Suppress warnings when using GNU tar to extract archives created by BSD tar\n args.push(\"--warning=no-unknown-keyword\");\n args.push(\"--overwrite\");\n }\n args.push(\"-C\", destArg, \"-f\", fileArg);\n yield $1f6JF.exec(`tar`, args);\n return dest;\n });\n}\n$0106ac245720b572$exports.extractTar = $0106ac245720b572$var$extractTar;\n/**\n * Extract a xar compatible archive\n *\n * @param file path to the archive\n * @param dest destination directory. Optional.\n * @param flags flags for the xar. Optional.\n * @returns path to the destination directory\n */ function $0106ac245720b572$var$extractXar(file, dest, flags = []) {\n return $0106ac245720b572$var$__awaiter(this, void 0, void 0, function*() {\n $d7DIX$assert.ok($0106ac245720b572$var$IS_MAC, \"extractXar() not supported on current OS\");\n $d7DIX$assert.ok(file, 'parameter \"file\" is required');\n dest = yield $0106ac245720b572$var$_createExtractFolder(dest);\n let args;\n if (flags instanceof Array) args = flags;\n else args = [\n flags\n ];\n args.push(\"-x\", \"-C\", dest, \"-f\", file);\n if ($0106ac245720b572$var$core.isDebug()) args.push(\"-v\");\n const xarPath = yield $0106ac245720b572$var$io.which(\"xar\", true);\n yield $1f6JF.exec(`\"${xarPath}\"`, $0106ac245720b572$var$_unique(args));\n return dest;\n });\n}\n$0106ac245720b572$exports.extractXar = $0106ac245720b572$var$extractXar;\n/**\n * Extract a zip\n *\n * @param file path to the zip\n * @param dest destination directory. Optional.\n * @returns path to the destination directory\n */ function $0106ac245720b572$var$extractZip(file, dest) {\n return $0106ac245720b572$var$__awaiter(this, void 0, void 0, function*() {\n if (!file) throw new Error(\"parameter 'file' is required\");\n dest = yield $0106ac245720b572$var$_createExtractFolder(dest);\n if ($0106ac245720b572$var$IS_WINDOWS) yield $0106ac245720b572$var$extractZipWin(file, dest);\n else yield $0106ac245720b572$var$extractZipNix(file, dest);\n return dest;\n });\n}\n$0106ac245720b572$exports.extractZip = $0106ac245720b572$var$extractZip;\nfunction $0106ac245720b572$var$extractZipWin(file, dest) {\n return $0106ac245720b572$var$__awaiter(this, void 0, void 0, function*() {\n // build the powershell command\n const escapedFile = file.replace(/'/g, \"''\").replace(/\"|\\n|\\r/g, \"\"); // double-up single quotes, remove double quotes and newlines\n const escapedDest = dest.replace(/'/g, \"''\").replace(/\"|\\n|\\r/g, \"\");\n const pwshPath = yield $0106ac245720b572$var$io.which(\"pwsh\", false);\n //To match the file overwrite behavior on nix systems, we use the overwrite = true flag for ExtractToDirectory\n //and the -Force flag for Expand-Archive as a fallback\n if (pwshPath) {\n //attempt to use pwsh with ExtractToDirectory, if this fails attempt Expand-Archive\n const pwshCommand = [\n `$ErrorActionPreference = 'Stop' ;`,\n `try { Add-Type -AssemblyName System.IO.Compression.ZipFile } catch { } ;`,\n `try { [System.IO.Compression.ZipFile]::ExtractToDirectory('${escapedFile}', '${escapedDest}', $true) }`,\n `catch { if (($_.Exception.GetType().FullName -eq 'System.Management.Automation.MethodException') -or ($_.Exception.GetType().FullName -eq 'System.Management.Automation.RuntimeException') ){ Expand-Archive -LiteralPath '${escapedFile}' -DestinationPath '${escapedDest}' -Force } else { throw $_ } } ;`\n ].join(\" \");\n const args = [\n \"-NoLogo\",\n \"-NoProfile\",\n \"-NonInteractive\",\n \"-ExecutionPolicy\",\n \"Unrestricted\",\n \"-Command\",\n pwshCommand\n ];\n $0106ac245720b572$var$core.debug(`Using pwsh at path: ${pwshPath}`);\n yield $1f6JF.exec(`\"${pwshPath}\"`, args);\n } else {\n const powershellCommand = [\n `$ErrorActionPreference = 'Stop' ;`,\n `try { Add-Type -AssemblyName System.IO.Compression.FileSystem } catch { } ;`,\n `if ((Get-Command -Name Expand-Archive -Module Microsoft.PowerShell.Archive -ErrorAction Ignore)) { Expand-Archive -LiteralPath '${escapedFile}' -DestinationPath '${escapedDest}' -Force }`,\n `else {[System.IO.Compression.ZipFile]::ExtractToDirectory('${escapedFile}', '${escapedDest}', $true) }`\n ].join(\" \");\n const args = [\n \"-NoLogo\",\n \"-Sta\",\n \"-NoProfile\",\n \"-NonInteractive\",\n \"-ExecutionPolicy\",\n \"Unrestricted\",\n \"-Command\",\n powershellCommand\n ];\n const powershellPath = yield $0106ac245720b572$var$io.which(\"powershell\", true);\n $0106ac245720b572$var$core.debug(`Using powershell at path: ${powershellPath}`);\n yield $1f6JF.exec(`\"${powershellPath}\"`, args);\n }\n });\n}\nfunction $0106ac245720b572$var$extractZipNix(file, dest) {\n return $0106ac245720b572$var$__awaiter(this, void 0, void 0, function*() {\n const unzipPath = yield $0106ac245720b572$var$io.which(\"unzip\", true);\n const args = [\n file\n ];\n if (!$0106ac245720b572$var$core.isDebug()) args.unshift(\"-q\");\n args.unshift(\"-o\"); //overwrite with -o, otherwise a prompt is shown which freezes the run\n yield $1f6JF.exec(`\"${unzipPath}\"`, args, {\n cwd: dest\n });\n });\n}\n/**\n * Caches a directory and installs it into the tool cacheDir\n *\n * @param sourceDir the directory to cache into tools\n * @param tool tool name\n * @param version version of the tool. semver format\n * @param arch architecture of the tool. Optional. Defaults to machine architecture\n */ function $0106ac245720b572$var$cacheDir(sourceDir, tool, version, arch) {\n return $0106ac245720b572$var$__awaiter(this, void 0, void 0, function*() {\n version = $0106ac245720b572$var$semver.clean(version) || version;\n arch = arch || $0106ac245720b572$var$os.arch();\n $0106ac245720b572$var$core.debug(`Caching tool ${tool} ${version} ${arch}`);\n $0106ac245720b572$var$core.debug(`source dir: ${sourceDir}`);\n if (!$0106ac245720b572$var$fs.statSync(sourceDir).isDirectory()) throw new Error(\"sourceDir is not a directory\");\n // Create the tool dir\n const destPath = yield $0106ac245720b572$var$_createToolPath(tool, version, arch);\n // copy each child item. do not move. move can fail on Windows\n // due to anti-virus software having an open handle on a file.\n for (const itemName of $0106ac245720b572$var$fs.readdirSync(sourceDir)){\n const s = $0106ac245720b572$var$path.join(sourceDir, itemName);\n yield $0106ac245720b572$var$io.cp(s, destPath, {\n recursive: true\n });\n }\n // write .complete\n $0106ac245720b572$var$_completeToolPath(tool, version, arch);\n return destPath;\n });\n}\n$0106ac245720b572$exports.cacheDir = $0106ac245720b572$var$cacheDir;\n/**\n * Caches a downloaded file (GUID) and installs it\n * into the tool cache with a given targetName\n *\n * @param sourceFile the file to cache into tools. Typically a result of downloadTool which is a guid.\n * @param targetFile the name of the file name in the tools directory\n * @param tool tool name\n * @param version version of the tool. semver format\n * @param arch architecture of the tool. Optional. Defaults to machine architecture\n */ function $0106ac245720b572$var$cacheFile(sourceFile, targetFile, tool, version, arch) {\n return $0106ac245720b572$var$__awaiter(this, void 0, void 0, function*() {\n version = $0106ac245720b572$var$semver.clean(version) || version;\n arch = arch || $0106ac245720b572$var$os.arch();\n $0106ac245720b572$var$core.debug(`Caching tool ${tool} ${version} ${arch}`);\n $0106ac245720b572$var$core.debug(`source file: ${sourceFile}`);\n if (!$0106ac245720b572$var$fs.statSync(sourceFile).isFile()) throw new Error(\"sourceFile is not a file\");\n // create the tool dir\n const destFolder = yield $0106ac245720b572$var$_createToolPath(tool, version, arch);\n // copy instead of move. move can fail on Windows due to\n // anti-virus software having an open handle on a file.\n const destPath = $0106ac245720b572$var$path.join(destFolder, targetFile);\n $0106ac245720b572$var$core.debug(`destination file ${destPath}`);\n yield $0106ac245720b572$var$io.cp(sourceFile, destPath);\n // write .complete\n $0106ac245720b572$var$_completeToolPath(tool, version, arch);\n return destFolder;\n });\n}\n$0106ac245720b572$exports.cacheFile = $0106ac245720b572$var$cacheFile;\n/**\n * Finds the path to a tool version in the local installed tool cache\n *\n * @param toolName name of the tool\n * @param versionSpec version of the tool\n * @param arch optional arch. defaults to arch of computer\n */ function $0106ac245720b572$var$find(toolName, versionSpec, arch) {\n if (!toolName) throw new Error(\"toolName parameter is required\");\n if (!versionSpec) throw new Error(\"versionSpec parameter is required\");\n arch = arch || $0106ac245720b572$var$os.arch();\n // attempt to resolve an explicit version\n if (!$0106ac245720b572$var$isExplicitVersion(versionSpec)) {\n const localVersions = $0106ac245720b572$var$findAllVersions(toolName, arch);\n const match = $0106ac245720b572$var$evaluateVersions(localVersions, versionSpec);\n versionSpec = match;\n }\n // check for the explicit version in the cache\n let toolPath = \"\";\n if (versionSpec) {\n versionSpec = $0106ac245720b572$var$semver.clean(versionSpec) || \"\";\n const cachePath = $0106ac245720b572$var$path.join($0106ac245720b572$var$_getCacheDirectory(), toolName, versionSpec, arch);\n $0106ac245720b572$var$core.debug(`checking cache: ${cachePath}`);\n if ($0106ac245720b572$var$fs.existsSync(cachePath) && $0106ac245720b572$var$fs.existsSync(`${cachePath}.complete`)) {\n $0106ac245720b572$var$core.debug(`Found tool in cache ${toolName} ${versionSpec} ${arch}`);\n toolPath = cachePath;\n } else $0106ac245720b572$var$core.debug(\"not found\");\n }\n return toolPath;\n}\n$0106ac245720b572$exports.find = $0106ac245720b572$var$find;\n/**\n * Finds the paths to all versions of a tool that are installed in the local tool cache\n *\n * @param toolName name of the tool\n * @param arch optional arch. defaults to arch of computer\n */ function $0106ac245720b572$var$findAllVersions(toolName, arch) {\n const versions = [];\n arch = arch || $0106ac245720b572$var$os.arch();\n const toolPath = $0106ac245720b572$var$path.join($0106ac245720b572$var$_getCacheDirectory(), toolName);\n if ($0106ac245720b572$var$fs.existsSync(toolPath)) {\n const children = $0106ac245720b572$var$fs.readdirSync(toolPath);\n for (const child of children)if ($0106ac245720b572$var$isExplicitVersion(child)) {\n const fullPath = $0106ac245720b572$var$path.join(toolPath, child, arch || \"\");\n if ($0106ac245720b572$var$fs.existsSync(fullPath) && $0106ac245720b572$var$fs.existsSync(`${fullPath}.complete`)) versions.push(child);\n }\n }\n return versions;\n}\n$0106ac245720b572$exports.findAllVersions = $0106ac245720b572$var$findAllVersions;\nfunction $0106ac245720b572$var$getManifestFromRepo(owner, repo, auth, branch = \"master\") {\n return $0106ac245720b572$var$__awaiter(this, void 0, void 0, function*() {\n let releases = [];\n const treeUrl = `https://api.github.com/repos/${owner}/${repo}/git/trees/${branch}`;\n const http = new $0106ac245720b572$var$httpm.HttpClient(\"tool-cache\");\n const headers = {};\n if (auth) {\n $0106ac245720b572$var$core.debug(\"set auth\");\n headers.authorization = auth;\n }\n const response = yield http.getJson(treeUrl, headers);\n if (!response.result) return releases;\n let manifestUrl = \"\";\n for (const item of response.result.tree)if (item.path === \"versions-manifest.json\") {\n manifestUrl = item.url;\n break;\n }\n headers[\"accept\"] = \"application/vnd.github.VERSION.raw\";\n let versionsRaw = yield (yield http.get(manifestUrl, headers)).readBody();\n if (versionsRaw) {\n // shouldn't be needed but protects against invalid json saved with BOM\n versionsRaw = versionsRaw.replace(/^\\uFEFF/, \"\");\n try {\n releases = JSON.parse(versionsRaw);\n } catch (_a) {\n $0106ac245720b572$var$core.debug(\"Invalid json\");\n }\n }\n return releases;\n });\n}\n$0106ac245720b572$exports.getManifestFromRepo = $0106ac245720b572$var$getManifestFromRepo;\nfunction $0106ac245720b572$var$findFromManifest(versionSpec, stable, manifest, archFilter = $0106ac245720b572$var$os.arch()) {\n return $0106ac245720b572$var$__awaiter(this, void 0, void 0, function*() {\n // wrap the internal impl\n const match = yield $0106ac245720b572$var$mm._findMatch(versionSpec, stable, manifest, archFilter);\n return match;\n });\n}\n$0106ac245720b572$exports.findFromManifest = $0106ac245720b572$var$findFromManifest;\nfunction $0106ac245720b572$var$_createExtractFolder(dest) {\n return $0106ac245720b572$var$__awaiter(this, void 0, void 0, function*() {\n if (!dest) // create a temp dir\n dest = $0106ac245720b572$var$path.join($0106ac245720b572$var$_getTempDirectory(), $0106ac245720b572$var$v4_1.default());\n yield $0106ac245720b572$var$io.mkdirP(dest);\n return dest;\n });\n}\nfunction $0106ac245720b572$var$_createToolPath(tool, version, arch) {\n return $0106ac245720b572$var$__awaiter(this, void 0, void 0, function*() {\n const folderPath = $0106ac245720b572$var$path.join($0106ac245720b572$var$_getCacheDirectory(), tool, $0106ac245720b572$var$semver.clean(version) || version, arch || \"\");\n $0106ac245720b572$var$core.debug(`destination ${folderPath}`);\n const markerPath = `${folderPath}.complete`;\n yield $0106ac245720b572$var$io.rmRF(folderPath);\n yield $0106ac245720b572$var$io.rmRF(markerPath);\n yield $0106ac245720b572$var$io.mkdirP(folderPath);\n return folderPath;\n });\n}\nfunction $0106ac245720b572$var$_completeToolPath(tool, version, arch) {\n const folderPath = $0106ac245720b572$var$path.join($0106ac245720b572$var$_getCacheDirectory(), tool, $0106ac245720b572$var$semver.clean(version) || version, arch || \"\");\n const markerPath = `${folderPath}.complete`;\n $0106ac245720b572$var$fs.writeFileSync(markerPath, \"\");\n $0106ac245720b572$var$core.debug(\"finished caching tool\");\n}\n/**\n * Check if version string is explicit\n *\n * @param versionSpec version string to check\n */ function $0106ac245720b572$var$isExplicitVersion(versionSpec) {\n const c = $0106ac245720b572$var$semver.clean(versionSpec) || \"\";\n $0106ac245720b572$var$core.debug(`isExplicit: ${c}`);\n const valid = $0106ac245720b572$var$semver.valid(c) != null;\n $0106ac245720b572$var$core.debug(`explicit? ${valid}`);\n return valid;\n}\n$0106ac245720b572$exports.isExplicitVersion = $0106ac245720b572$var$isExplicitVersion;\n/**\n * Get the highest satisfiying semantic version in `versions` which satisfies `versionSpec`\n *\n * @param versions array of versions to evaluate\n * @param versionSpec semantic version spec to satisfy\n */ function $0106ac245720b572$var$evaluateVersions(versions, versionSpec) {\n let version = \"\";\n $0106ac245720b572$var$core.debug(`evaluating ${versions.length} versions`);\n versions = versions.sort((a, b)=>{\n if ($0106ac245720b572$var$semver.gt(a, b)) return 1;\n return -1;\n });\n for(let i = versions.length - 1; i >= 0; i--){\n const potential = versions[i];\n const satisfied = $0106ac245720b572$var$semver.satisfies(potential, versionSpec);\n if (satisfied) {\n version = potential;\n break;\n }\n }\n if (version) $0106ac245720b572$var$core.debug(`matched: ${version}`);\n else $0106ac245720b572$var$core.debug(\"match not found\");\n return version;\n}\n$0106ac245720b572$exports.evaluateVersions = $0106ac245720b572$var$evaluateVersions;\n/**\n * Gets RUNNER_TOOL_CACHE\n */ function $0106ac245720b572$var$_getCacheDirectory() {\n const cacheDirectory = process.env[\"RUNNER_TOOL_CACHE\"] || \"\";\n $d7DIX$assert.ok(cacheDirectory, \"Expected RUNNER_TOOL_CACHE to be defined\");\n return cacheDirectory;\n}\n/**\n * Gets RUNNER_TEMP\n */ function $0106ac245720b572$var$_getTempDirectory() {\n const tempDirectory = process.env[\"RUNNER_TEMP\"] || \"\";\n $d7DIX$assert.ok(tempDirectory, \"Expected RUNNER_TEMP to be defined\");\n return tempDirectory;\n}\n/**\n * Gets a global variable\n */ function $0106ac245720b572$var$_getGlobal(key, defaultValue) {\n /* eslint-disable @typescript-eslint/no-explicit-any */ const value = $parcel$global[key];\n /* eslint-enable @typescript-eslint/no-explicit-any */ return value !== undefined ? value : defaultValue;\n}\n/**\n * Returns an array of unique values.\n * @param values Values to make unique.\n */ function $0106ac245720b572$var$_unique(values) {\n return Array.from(new Set(values));\n}\n\n\n\nvar $8aNoG = parcelRequire(\"8aNoG\");\n\nvar $l8hao = parcelRequire(\"l8hao\");\n\n\n\nvar $bzNgi = parcelRequire(\"bzNgi\");\n\nvar $ER74K = parcelRequire(\"ER74K\");\n\n\nvar $52cQ1 = parcelRequire(\"52cQ1\");\n\n\n\n\n\n\n\nvar $kY0n1 = parcelRequire(\"kY0n1\");\nvar $9a76aa2467c494ea$exports = {};\n\"use strict\";\nObject.defineProperty($9a76aa2467c494ea$exports, \"__esModule\", {\n value: true\n});\n$9a76aa2467c494ea$exports.retryAsPromised = $9a76aa2467c494ea$exports.TimeoutError = void 0;\nclass $9a76aa2467c494ea$var$TimeoutError extends Error {\n constructor(message, previousError){\n super(message);\n this.name = \"TimeoutError\";\n this.previous = previousError;\n }\n}\n$9a76aa2467c494ea$exports.TimeoutError = $9a76aa2467c494ea$var$TimeoutError;\nfunction $9a76aa2467c494ea$var$matches(match, err) {\n if (typeof match === \"function\") try {\n if (err instanceof match) return true;\n } catch (_) {\n return !!match(err);\n }\n if (match === err.toString()) return true;\n if (match === err.message) return true;\n return match instanceof RegExp && (match.test(err.message) || match.test(err.toString()));\n}\nfunction $9a76aa2467c494ea$var$retryAsPromised(callback, optionsInput) {\n if (!callback || !optionsInput) throw new Error(\"retry-as-promised must be passed a callback and a options set\");\n optionsInput = typeof optionsInput === \"number\" ? {\n max: optionsInput\n } : optionsInput;\n const options = {\n $current: \"$current\" in optionsInput ? optionsInput.$current : 1,\n max: optionsInput.max,\n timeout: optionsInput.timeout || undefined,\n match: optionsInput.match ? Array.isArray(optionsInput.match) ? optionsInput.match : [\n optionsInput.match\n ] : [],\n backoffBase: optionsInput.backoffBase === undefined ? 100 : optionsInput.backoffBase,\n backoffExponent: optionsInput.backoffExponent || 1.1,\n report: optionsInput.report,\n name: optionsInput.name || callback.name || \"unknown\"\n };\n if (options.match && !Array.isArray(options.match)) options.match = [\n options.match\n ];\n if (options.report) options.report(\"Trying \" + options.name + \" #\" + options.$current + \" at \" + new Date().toLocaleTimeString(), options);\n return new Promise(function(resolve, reject) {\n let timeout;\n let backoffTimeout;\n let lastError;\n if (options.timeout) timeout = setTimeout(function() {\n if (backoffTimeout) clearTimeout(backoffTimeout);\n reject(new $9a76aa2467c494ea$var$TimeoutError(options.name + \" timed out\", lastError));\n }, options.timeout);\n Promise.resolve(callback({\n current: options.$current\n })).then(resolve).then(function() {\n if (timeout) clearTimeout(timeout);\n if (backoffTimeout) clearTimeout(backoffTimeout);\n }).catch(function(err) {\n if (timeout) clearTimeout(timeout);\n if (backoffTimeout) clearTimeout(backoffTimeout);\n lastError = err;\n if (options.report) options.report(err && err.toString() || err, options, err);\n // Should not retry if max has been reached\n var shouldRetry = options.$current < options.max;\n if (!shouldRetry) return reject(err);\n shouldRetry = options.match.length === 0 || options.match.some(function(match) {\n return $9a76aa2467c494ea$var$matches(match, err);\n });\n if (!shouldRetry) return reject(err);\n var retryDelay = options.backoffBase * Math.pow(options.backoffExponent, options.$current - 1);\n // Do some accounting\n options.$current++;\n if (options.report) options.report(`Retrying ${options.name} (${options.$current})`, options);\n if (retryDelay) {\n // Use backoff function to ease retry rate\n if (options.report) options.report(`Delaying retry of ${options.name} by ${retryDelay}`, options);\n backoffTimeout = setTimeout(function() {\n $9a76aa2467c494ea$var$retryAsPromised(callback, options).then(resolve).catch(reject);\n }, retryDelay);\n } else $9a76aa2467c494ea$var$retryAsPromised(callback, options).then(resolve).catch(reject);\n });\n });\n}\n$9a76aa2467c494ea$exports.retryAsPromised = $9a76aa2467c494ea$var$retryAsPromised;\n$9a76aa2467c494ea$exports.default = $9a76aa2467c494ea$var$retryAsPromised;\n\n\nlet $d81b351c18e56f74$var$didInit = false;\nasync function $d81b351c18e56f74$export$334f77c9844c21f6(name, version, getPackageInfo, setupDir, arch) {\n (0, $ER74K.info)(`Installing ${name} ${version} ${arch} via direct downloading`);\n process.env.RUNNER_TEMP = process.env.RUNNER_TEMP ?? (0, $d7DIX$os.tmpdir)();\n process.env.RUNNER_TOOL_CACHE = process.env.RUNNER_TOOL_CACHE ?? (0, $bzNgi.join)((0, $d7DIX$os.tmpdir)(), \"setup-cpp\", \"hostedtoolcache\");\n const { url: url, binRelativeDir: binRelativeDir, binFileName: binFileName, extractedFolderName: extractedFolderName, extractFunction: extractFunction } = await getPackageInfo(version, process.platform, arch);\n // Restore from cache (if found).\n if (0, $52cQ1.GITHUB_ACTIONS) try {\n const dir = (0, $0106ac245720b572$exports.find)(name, version);\n if (dir) {\n const installDir = (0, $bzNgi.join)(dir, extractedFolderName);\n const binDir = (0, $bzNgi.join)(installDir, binRelativeDir);\n if (await (0, $kY0n1.pathExists)((0, $bzNgi.join)(binDir, binFileName))) {\n (0, $ER74K.info)(`${name} ${version} was found in the cache at ${binDir}.`);\n await (0, $85fd7153285bfba5$export$4c25481b843feb0b)(binDir);\n return {\n installDir: installDir,\n binDir: binDir\n };\n }\n }\n } catch {\n // fails on a local machine?\n }\n const installDir = (0, $bzNgi.join)(setupDir, extractedFolderName);\n const binDir = (0, $bzNgi.join)(installDir, binRelativeDir);\n const binFile = (0, $bzNgi.join)(binDir, binFileName);\n // download ane extract the package into the installation directory.\n if ((await Promise.all([\n (0, $kY0n1.pathExists)(binDir),\n (0, $kY0n1.pathExists)(binFile)\n ])).includes(false)) try {\n (0, $ER74K.info)(`Download ${name} ${version}`);\n // try to download the package 4 times with 2 seconds delay\n const downloaded = await (0, (/*@__PURE__*/$parcel$interopDefault($9a76aa2467c494ea$exports)))(()=>{\n return (0, $0106ac245720b572$exports.downloadTool)(url);\n }, {\n name: url,\n max: 4,\n backoffBase: 2000,\n report: (err)=>(0, $ER74K.info)(err)\n });\n if (!$d81b351c18e56f74$var$didInit) {\n (0, $ER74K.info)(`Installing extraction dependencies`);\n if (process.platform === \"linux\") {\n if ((0, $84785c71f430250a$export$d415ddb6702ec3a2)()) await Promise.all([\n (0, $6f126e8fe01fa080$export$cfa75578ee2d6e6c)(\"unzip\"),\n (0, $6f126e8fe01fa080$export$cfa75578ee2d6e6c)(\"tar\"),\n (0, $6f126e8fe01fa080$export$cfa75578ee2d6e6c)(\"xz\")\n ]);\n else if ((0, $3cbfee605ac1e082$export$8ce8b4b22331a8c7)()) await (0, $7e2451edad050552$export$49d4f9ba8e0dd34f)([\n {\n name: \"unzip\"\n },\n {\n name: \"tar\"\n },\n {\n name: \"xz\"\n }\n ]);\n else if ((0, $7b55ac603b97ae6e$export$da8baf1d6c6802b6)()) await (0, $f0410b58de32386f$export$d73dc343f5abf26)([\n {\n name: \"unzip\"\n },\n {\n name: \"tar\"\n },\n {\n name: \"xz-utils\"\n }\n ]);\n }\n // eslint-disable-next-line require-atomic-updates\n $d81b351c18e56f74$var$didInit = true;\n }\n (0, $ER74K.info)(`Extracting ${downloaded} to ${setupDir}`);\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 // Adding the bin dir to the path\n /** The directory which the tool is installed to */ (0, $ER74K.info)(`Add ${binDir} to PATH`);\n await (0, $85fd7153285bfba5$export$4c25481b843feb0b)(binDir);\n // check if inside Github Actions. If so, cache the installation\n if ((0, $52cQ1.GITHUB_ACTIONS) && typeof process.env.RUNNER_TOOL_CACHE === \"string\") await (0, $0106ac245720b572$exports.cacheDir)(setupDir, name, version);\n return {\n installDir: installDir,\n binDir: binDir\n };\n}\n\n\n\nvar $bzNgi = parcelRequire(\"bzNgi\");\n\n\nvar $hZdK0 = parcelRequire(\"hZdK0\");\n\n\n\n\n\n\n\n\n\nfunction $6285d3d29afbf608$export$5fc39629e14c8173(version, _setupDir, _arch) {\n switch(process.platform){\n case \"win32\":\n return (0, $ca3ee4fd324ae5e9$export$9f6912bc890040b2)(\"7zip\", version);\n case \"darwin\":\n return (0, $10ddbd636565d4da$export$ce5d13d8a85cb784)(\"p7zip\", version);\n case \"linux\":\n if ((0, $84785c71f430250a$export$d415ddb6702ec3a2)()) return (0, $6f126e8fe01fa080$export$cfa75578ee2d6e6c)(\"p7zip\", version);\n else if ((0, $3cbfee605ac1e082$export$8ce8b4b22331a8c7)()) return (0, $7e2451edad050552$export$49d4f9ba8e0dd34f)([\n {\n name: \"p7zip\",\n version: version\n },\n {\n name: \"p7zip-plugins\",\n version: version\n }\n ]);\n else if ((0, $7b55ac603b97ae6e$export$da8baf1d6c6802b6)()) return (0, $f0410b58de32386f$export$d73dc343f5abf26)([\n {\n name: \"p7zip-full\",\n version: version\n }\n ]);\n throw new Error(`Unsupported linux distribution`);\n default:\n throw new Error(`Unsupported platform`);\n }\n}\n\n\n\nvar $ER74K = parcelRequire(\"ER74K\");\n\n\nlet $4615baf4c3b031c2$var$sevenZip;\nasync function $4615baf4c3b031c2$export$eecfe186811d4a20(file, dest) {\n await (0, $54908482e02f4b6d$export$db6b1668e3758717)(await $4615baf4c3b031c2$var$getSevenZip(), [\n \"x\",\n file,\n `-o${dest}`,\n \"-y\"\n ], {\n stdio: \"inherit\"\n });\n await (0, $8c9709291dc275bc$export$4718e061a205eab)(dest);\n return dest;\n}\n/// install 7z if needed\nasync function $4615baf4c3b031c2$var$getSevenZip() {\n if ($4615baf4c3b031c2$var$sevenZip === undefined) {\n if ((0, (/*@__PURE__*/$parcel$interopDefault($851ef3bcd445adf9$exports))).sync(\"7z\", {\n nothrow: true\n }) === null) await (0, $6285d3d29afbf608$export$5fc39629e14c8173)(\"\", \"\", process.arch);\n // eslint-disable-next-line require-atomic-updates\n $4615baf4c3b031c2$var$sevenZip = \"7z\";\n }\n return $4615baf4c3b031c2$var$sevenZip;\n}\nfunction $4615baf4c3b031c2$export$7949938b2681a4f0(file, dest) {\n return $4615baf4c3b031c2$export$eecfe186811d4a20(file, dest);\n}\nfunction $4615baf4c3b031c2$export$6411c5cbab21135b(file, dest) {\n return $4615baf4c3b031c2$export$eecfe186811d4a20(file, dest);\n}\nasync function $4615baf4c3b031c2$export$2ab07ac150064014(file, dest, flags = [\n \"--strip-components=0\"\n]) {\n try {\n await (0, $hZdK0.mkdirP)(dest);\n } catch {\n // ignore\n }\n // TODO windows fails to create symlinks\n // https://github.com/heroku/heroku-slugs/issues/3\n try {\n await (0, $54908482e02f4b6d$export$db6b1668e3758717)(\"tar\", [\n \"xf\",\n file,\n \"-C\",\n dest,\n ...flags\n ], {\n stdio: \"inherit\"\n });\n } catch (e) {\n if (process.platform === \"win32\" && e.message.includes(\"Can't create '\\\\\\\\?\\\\C:\")) (0, $ER74K.warning)(`Failed to extract symlink ${file} to ${dest}. Ignoring this symlink.`);\n }\n (0, $8c9709291dc275bc$export$4718e061a205eab)(dest);\n return dest;\n}\n\n\n/** Get the platform data for cmake */ function $cd6a37a8a2760b1d$var$getCmakePackageInfo(version, platform, arch) {\n const semVersion = (0, (/*@__PURE__*/$parcel$interopDefault($l8hao)))(version) ?? version;\n switch(platform){\n case \"win32\":\n {\n const isOld = (0, (/*@__PURE__*/$parcel$interopDefault($8aNoG)))(semVersion, \"v3.19.6\");\n let osArchStr;\n if ([\n \"ia32\",\n \"x86\",\n \"i386\",\n \"x32\"\n ].includes(arch)) osArchStr = isOld ? \"win32-x86\" : \"windows-i386\";\n else osArchStr = isOld ? \"win64-x64\" : \"windows-x86_64\";\n const folderName = `cmake-${version}-${osArchStr}`;\n return {\n binRelativeDir: \"bin/\",\n binFileName: (0, $bzNgi.addExeExt)(\"cmake\"),\n extractedFolderName: folderName,\n extractFunction: (0, $4615baf4c3b031c2$export$6411c5cbab21135b),\n url: `https://github.com/Kitware/CMake/releases/download/v${version}/${folderName}.zip`\n };\n }\n case \"darwin\":\n {\n const isOld = (0, (/*@__PURE__*/$parcel$interopDefault($8aNoG)))(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: (0, $bzNgi.addExeExt)(\"cmake\"),\n extractedFolderName: folderName,\n extractFunction: (0, $0106ac245720b572$exports.extractTar),\n url: `https://github.com/Kitware/CMake/releases/download/v${version}/${folderName}.tar.gz`\n };\n }\n case \"linux\":\n {\n const isOld = (0, (/*@__PURE__*/$parcel$interopDefault($8aNoG)))(semVersion, \"v3.19.8\");\n let osArchStr;\n if ([\n \"aarch64\"\n ].includes(arch)) osArchStr = isOld ? \"Linux-aarch64\" : \"linux-aarch64\";\n else osArchStr = isOld ? \"Linux-x86_64\" : \"linux-x86_64\";\n const folderName = `cmake-${version}-${osArchStr}`;\n return {\n binRelativeDir: \"bin/\",\n binFileName: (0, $bzNgi.addExeExt)(\"cmake\"),\n extractedFolderName: folderName,\n extractFunction: (0, $0106ac245720b572$exports.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}\nfunction $cd6a37a8a2760b1d$export$c28663a621f418ce(version, setupDir, arch) {\n return (0, $d81b351c18e56f74$export$334f77c9844c21f6)(\"cmake\", version, $cd6a37a8a2760b1d$var$getCmakePackageInfo, setupDir, arch);\n}\n\n\n\nvar $4t50X = parcelRequire(\"4t50X\");\n\n\nvar $kY0n1 = parcelRequire(\"kY0n1\");\n\nvar $bzNgi = parcelRequire(\"bzNgi\");\n\n/* eslint-disable require-atomic-updates */ \nvar $1f6JF = parcelRequire(\"1f6JF\");\n\n\nvar $52cQ1 = parcelRequire(\"52cQ1\");\n\nvar $ER74K = parcelRequire(\"ER74K\");\n\n/**\n * @constant DEFAULT_OPTIONS_KEYS the default options keys\n */ var $429c83835ea21620$var$DEFAULT_OPTIONS_KEYS = {\n isEqual: true,\n isMatchingKey: true,\n isPromise: true,\n maxSize: true,\n onCacheAdd: true,\n onCacheChange: true,\n onCacheHit: true,\n transformKey: true\n};\n/**\n * @function slice\n *\n * @description\n * slice.call() pre-bound\n */ var $429c83835ea21620$var$slice = Array.prototype.slice;\n/**\n * @function cloneArray\n *\n * @description\n * clone the array-like object and return the new array\n *\n * @param arrayLike the array-like object to clone\n * @returns the clone as an array\n */ function $429c83835ea21620$var$cloneArray(arrayLike) {\n var length = arrayLike.length;\n if (!length) return [];\n if (length === 1) return [\n arrayLike[0]\n ];\n if (length === 2) return [\n arrayLike[0],\n arrayLike[1]\n ];\n if (length === 3) return [\n arrayLike[0],\n arrayLike[1],\n arrayLike[2]\n ];\n return $429c83835ea21620$var$slice.call(arrayLike, 0);\n}\n/**\n * @function getCustomOptions\n *\n * @description\n * get the custom options on the object passed\n *\n * @param options the memoization options passed\n * @returns the custom options passed\n */ function $429c83835ea21620$var$getCustomOptions(options) {\n var customOptions = {};\n /* eslint-disable no-restricted-syntax */ for(var key in options)if (!$429c83835ea21620$var$DEFAULT_OPTIONS_KEYS[key]) customOptions[key] = options[key];\n /* eslint-enable */ return customOptions;\n}\n/**\n * @function isMemoized\n *\n * @description\n * is the function passed already memoized\n *\n * @param fn the function to test\n * @returns is the function already memoized\n */ function $429c83835ea21620$var$isMemoized(fn) {\n return typeof fn === \"function\" && fn.isMemoized;\n}\n/**\n * @function isSameValueZero\n *\n * @description\n * are the objects equal based on SameValueZero equality\n *\n * @param object1 the first object to compare\n * @param object2 the second object to compare\n * @returns are the two objects equal\n */ function $429c83835ea21620$var$isSameValueZero(object1, object2) {\n // eslint-disable-next-line no-self-compare\n return object1 === object2 || object1 !== object1 && object2 !== object2;\n}\n/**\n * @function mergeOptions\n *\n * @description\n * merge the options into the target\n *\n * @param existingOptions the options provided\n * @param newOptions the options to include\n * @returns the merged options\n */ function $429c83835ea21620$var$mergeOptions(existingOptions, newOptions) {\n var target = {};\n /* eslint-disable no-restricted-syntax */ for(var key in existingOptions)target[key] = existingOptions[key];\n for(var key in newOptions)target[key] = newOptions[key];\n /* eslint-enable */ return target;\n}\n// utils\nvar $429c83835ea21620$var$Cache = /** @class */ function() {\n function Cache(options) {\n this.keys = [];\n this.values = [];\n this.options = options;\n var isMatchingKeyFunction = typeof options.isMatchingKey === \"function\";\n if (isMatchingKeyFunction) this.getKeyIndex = this._getKeyIndexFromMatchingKey;\n else if (options.maxSize > 1) this.getKeyIndex = this._getKeyIndexForMany;\n else this.getKeyIndex = this._getKeyIndexForSingle;\n this.canTransformKey = typeof options.transformKey === \"function\";\n this.shouldCloneArguments = this.canTransformKey || isMatchingKeyFunction;\n this.shouldUpdateOnAdd = typeof options.onCacheAdd === \"function\";\n this.shouldUpdateOnChange = typeof options.onCacheChange === \"function\";\n this.shouldUpdateOnHit = typeof options.onCacheHit === \"function\";\n }\n Object.defineProperty(Cache.prototype, \"size\", {\n /**\n * The number of cached [key,value] results.\n */ get: function() {\n return this.keys.length;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(Cache.prototype, \"snapshot\", {\n /**\n * A copy of the cache at a moment in time. This is useful\n * to compare changes over time, since the cache mutates\n * internally for performance reasons.\n */ get: function() {\n return {\n keys: $429c83835ea21620$var$cloneArray(this.keys),\n size: this.size,\n values: $429c83835ea21620$var$cloneArray(this.values)\n };\n },\n enumerable: false,\n configurable: true\n });\n /**\n * Gets the matching key index when a custom key matcher is used.\n */ Cache.prototype._getKeyIndexFromMatchingKey = function(keyToMatch) {\n var _a = this.options, isMatchingKey = _a.isMatchingKey, maxSize = _a.maxSize;\n var keys = this.keys;\n var keysLength = keys.length;\n if (!keysLength) return -1;\n if (isMatchingKey(keys[0], keyToMatch)) return 0;\n if (maxSize > 1) for(var index = 1; index < keysLength; index++){\n if (isMatchingKey(keys[index], keyToMatch)) return index;\n }\n return -1;\n };\n /**\n * Gets the matching key index when multiple keys are used.\n */ Cache.prototype._getKeyIndexForMany = function(keyToMatch) {\n var isEqual = this.options.isEqual;\n var keys = this.keys;\n var keysLength = keys.length;\n if (!keysLength) return -1;\n if (keysLength === 1) return this._getKeyIndexForSingle(keyToMatch);\n var keyLength = keyToMatch.length;\n var existingKey;\n var argIndex;\n if (keyLength > 1) for(var index = 0; index < keysLength; index++){\n existingKey = keys[index];\n if (existingKey.length === keyLength) {\n argIndex = 0;\n for(; argIndex < keyLength; argIndex++){\n if (!isEqual(existingKey[argIndex], keyToMatch[argIndex])) break;\n }\n if (argIndex === keyLength) return index;\n }\n }\n else for(var index = 0; index < keysLength; index++){\n existingKey = keys[index];\n if (existingKey.length === keyLength && isEqual(existingKey[0], keyToMatch[0])) return index;\n }\n return -1;\n };\n /**\n * Gets the matching key index when a single key is used.\n */ Cache.prototype._getKeyIndexForSingle = function(keyToMatch) {\n var keys = this.keys;\n if (!keys.length) return -1;\n var existingKey = keys[0];\n var length = existingKey.length;\n if (keyToMatch.length !== length) return -1;\n var isEqual = this.options.isEqual;\n if (length > 1) {\n for(var index = 0; index < length; index++){\n if (!isEqual(existingKey[index], keyToMatch[index])) return -1;\n }\n return 0;\n }\n return isEqual(existingKey[0], keyToMatch[0]) ? 0 : -1;\n };\n /**\n * Order the array based on a Least-Recently-Used basis.\n */ Cache.prototype.orderByLru = function(key, value, startingIndex) {\n var keys = this.keys;\n var values = this.values;\n var currentLength = keys.length;\n var index = startingIndex;\n while(index--){\n keys[index + 1] = keys[index];\n values[index + 1] = values[index];\n }\n keys[0] = key;\n values[0] = value;\n var maxSize = this.options.maxSize;\n if (currentLength === maxSize && startingIndex === currentLength) {\n keys.pop();\n values.pop();\n } else if (startingIndex >= maxSize) // eslint-disable-next-line no-multi-assign\n keys.length = values.length = maxSize;\n };\n /**\n * Update the promise method to auto-remove from cache if rejected, and\n * if resolved then fire cache hit / changed.\n */ Cache.prototype.updateAsyncCache = function(memoized) {\n var _this = this;\n var _a = this.options, onCacheChange = _a.onCacheChange, onCacheHit = _a.onCacheHit;\n var firstKey = this.keys[0];\n var firstValue = this.values[0];\n this.values[0] = firstValue.then(function(value) {\n if (_this.shouldUpdateOnHit) onCacheHit(_this, _this.options, memoized);\n if (_this.shouldUpdateOnChange) onCacheChange(_this, _this.options, memoized);\n return value;\n }, function(error) {\n var keyIndex = _this.getKeyIndex(firstKey);\n if (keyIndex !== -1) {\n _this.keys.splice(keyIndex, 1);\n _this.values.splice(keyIndex, 1);\n }\n throw error;\n });\n };\n return Cache;\n}();\nfunction $429c83835ea21620$export$2e2bcd8739ae039(fn, options) {\n if (options === void 0) options = {};\n if ($429c83835ea21620$var$isMemoized(fn)) return $429c83835ea21620$export$2e2bcd8739ae039(fn.fn, $429c83835ea21620$var$mergeOptions(fn.options, options));\n if (typeof fn !== \"function\") throw new TypeError(\"You must pass a function to `memoize`.\");\n var _a = options.isEqual, isEqual = _a === void 0 ? $429c83835ea21620$var$isSameValueZero : _a, isMatchingKey = options.isMatchingKey, _b = options.isPromise, isPromise = _b === void 0 ? false : _b, _c = options.maxSize, maxSize = _c === void 0 ? 1 : _c, onCacheAdd = options.onCacheAdd, onCacheChange = options.onCacheChange, onCacheHit = options.onCacheHit, transformKey = options.transformKey;\n var normalizedOptions = $429c83835ea21620$var$mergeOptions({\n isEqual: isEqual,\n isMatchingKey: isMatchingKey,\n isPromise: isPromise,\n maxSize: maxSize,\n onCacheAdd: onCacheAdd,\n onCacheChange: onCacheChange,\n onCacheHit: onCacheHit,\n transformKey: transformKey\n }, $429c83835ea21620$var$getCustomOptions(options));\n var cache = new $429c83835ea21620$var$Cache(normalizedOptions);\n var keys = cache.keys, values = cache.values, canTransformKey = cache.canTransformKey, shouldCloneArguments = cache.shouldCloneArguments, shouldUpdateOnAdd = cache.shouldUpdateOnAdd, shouldUpdateOnChange = cache.shouldUpdateOnChange, shouldUpdateOnHit = cache.shouldUpdateOnHit;\n var memoized = function() {\n var key = shouldCloneArguments ? $429c83835ea21620$var$cloneArray(arguments) : arguments;\n if (canTransformKey) key = transformKey(key);\n var keyIndex = keys.length ? cache.getKeyIndex(key) : -1;\n if (keyIndex !== -1) {\n if (shouldUpdateOnHit) onCacheHit(cache, normalizedOptions, memoized);\n if (keyIndex) {\n cache.orderByLru(keys[keyIndex], values[keyIndex], keyIndex);\n if (shouldUpdateOnChange) onCacheChange(cache, normalizedOptions, memoized);\n }\n } else {\n var newValue = fn.apply(this, arguments);\n var newKey = shouldCloneArguments ? key : $429c83835ea21620$var$cloneArray(arguments);\n cache.orderByLru(newKey, newValue, keys.length);\n if (isPromise) cache.updateAsyncCache(memoized);\n if (shouldUpdateOnAdd) onCacheAdd(cache, normalizedOptions, memoized);\n if (shouldUpdateOnChange) onCacheChange(cache, normalizedOptions, memoized);\n }\n return values[0];\n };\n memoized.cache = cache;\n memoized.fn = fn;\n memoized.isMemoized = true;\n memoized.options = normalizedOptions;\n return memoized;\n}\n\n\n\nvar $bzNgi = parcelRequire(\"bzNgi\");\n\n\n\n\n\n\n\n\n\n\n// src/modules/https-utils.ts\n\n\nfunction $19873b61ea31f597$var$isStatusOK(result) {\n return result.statusCode !== void 0 && result.statusCode >= 200 && result.statusCode <= 399;\n}\nfunction $19873b61ea31f597$var$requestWorks(url, method) {\n return new Promise((resolve)=>{\n try {\n const req = (0, $d7DIX$https.request)(url, {\n method: method\n }, (result)=>{\n resolve($19873b61ea31f597$var$isStatusOK(result));\n });\n req.on(\"error\", (_error)=>{\n resolve(false);\n });\n req.end();\n } catch {\n resolve(false);\n }\n });\n}\nvar $19873b61ea31f597$export$8092cb61b2731942 = (url)=>{\n if (typeof url !== \"string\") return false;\n const trimmedUrl = url.trim();\n if (trimmedUrl.includes(\" \")) return false;\n try {\n new (0, $d7DIX$url.URL)(trimmedUrl);\n return true;\n } catch {\n return false;\n }\n};\n// src/modules/isUrlOnline.ts\nvar $19873b61ea31f597$export$61e6a71eee2b02f9 = async (url)=>{\n const isUrl = $19873b61ea31f597$export$8092cb61b2731942(url);\n if (!isUrl) return false;\n let response = await $19873b61ea31f597$var$requestWorks(url, \"HEAD\");\n if (response) return true;\n response = await $19873b61ea31f597$var$requestWorks(url, \"GET\");\n return !!response;\n};\n// src/modules/prependHttp.ts\nvar $19873b61ea31f597$export$b9a79b9e9f921305 = ({ url: url, https: https = true })=>{\n const trimmedUrl = url.trim();\n if (/^\\.*\\/|^(?!localhost)\\w+:/u.test(trimmedUrl)) return url;\n return trimmedUrl.replace(/^(?!(?:\\w+:)?\\/\\/)/u, https ? \"https://\" : \"http://\");\n};\n\n\n\nvar $3uysP = parcelRequire(\"3uysP\");\n\nvar $l8hao = parcelRequire(\"l8hao\");\n\nvar $l655J = parcelRequire(\"l655J\");\n\nvar $1f6JF = parcelRequire(\"1f6JF\");\n\nvar $ER74K = parcelRequire(\"ER74K\");\nfunction $5683decf99cdafe6$export$deb1064c8260c54c(versions, semversion) {\n return Array.from(versions).filter((v)=>/^\\d+\\.\\d+\\.\\d+$/.test(v) && v.startsWith(semversion)).sort((a, b)=>{\n try {\n return (0, (/*@__PURE__*/$parcel$interopDefault($3uysP)))(a, b);\n } catch (err) {\n return a.localeCompare(b);\n }\n }).reverse();\n}\nfunction $5683decf99cdafe6$export$cbd9528a83fbffa1(specific) {\n const versions = new Set(specific);\n for (const version of specific){\n versions.add(/^\\d+/.exec(version)[0]);\n versions.add(/^\\d+\\.\\d+/.exec(version)[0]);\n }\n return versions;\n}\nasync function $5683decf99cdafe6$export$4e4d3581f69a6d71(versions, platform, version, getUrl) {\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 (0, $19873b61ea31f597$export$61e6a71eee2b02f9)(url)) return [\n version,\n url\n ];\n }\n // if the given set doesn't include the version, throw an error\n if (!versions.has(version)) throw new Error(`Unsupported target! (platform='${platform}', version='${version}'). Try one of the following: ${JSON.stringify(versions)}`);\n const offlineUrls = [];\n // TODO use Promise.any\n for (const specificVersion of $5683decf99cdafe6$export$deb1064c8260c54c(versions, version)){\n // eslint-disable-next-line no-await-in-loop\n const url = await getUrl(platform, specificVersion);\n if (url !== null) {\n // eslint-disable-next-line no-await-in-loop\n if (await (0, $19873b61ea31f597$export$61e6a71eee2b02f9)(url)) return [\n specificVersion,\n url\n ];\n else offlineUrls.push(url);\n }\n }\n throw new Error(`Unsupported target! (platform='${platform}', version='${version}'). Try one of the following: ${JSON.stringify(versions)}`);\n}\nconst $5683decf99cdafe6$export$d7ab5e2d33b06cd5 = /v?(\\d\\S*)/;\nasync function $5683decf99cdafe6$export$5b54ecc7386538f(file, versionRegex = $5683decf99cdafe6$export$d7ab5e2d33b06cd5) {\n try {\n const execout = await (0, $1f6JF.getExecOutput)(file, [\n \"--version\"\n ]);\n const version_output = execout.stdout || execout.stderr || \"\";\n const version = version_output.trim().match(versionRegex)?.[1];\n return (0, (/*@__PURE__*/$parcel$interopDefault($l8hao)))(version) ?? undefined;\n } catch (e) {\n console.error(e);\n return undefined;\n }\n}\nasync function $5683decf99cdafe6$export$d1f0d32b896ba08(givenFile, targetVersion, versionRegex = $5683decf99cdafe6$export$d7ab5e2d33b06cd5) {\n const givenVersion = await $5683decf99cdafe6$export$5b54ecc7386538f(givenFile, versionRegex);\n if (givenVersion !== undefined && targetVersion !== \"\") return (0, (/*@__PURE__*/$parcel$interopDefault($3uysP)))(givenVersion, targetVersion) !== -1;\n else // assume given version is old\n return false;\n}\nfunction $5683decf99cdafe6$export$afd7401db249098f(version) {\n if ((0, (/*@__PURE__*/$parcel$interopDefault($l655J)))(version) === null) // version coercion\n try {\n // find the semver version of an integer\n const coercedVersion = (0, (/*@__PURE__*/$parcel$interopDefault($l8hao)))(version);\n if (coercedVersion !== null) {\n (0, $ER74K.info)(`Coerced version '${version}' to '${coercedVersion}'`);\n return coercedVersion.version;\n }\n } catch (err) {\n // handled below\n }\n return version;\n}\nfunction $5683decf99cdafe6$export$b19007c0050a2fcc(version) {\n return parseInt(version.replace(/^v/, \"\"), 10);\n}\nfunction $5683decf99cdafe6$export$6863a97504984656(version) {\n if (!version.match(/^v/)) return `v${version}`;\n return version;\n}\n\n\nfunction $eac35b7c3e82d235$export$7a5d5c156e7dc406(dirs) {\n return [\n ...new Set(dirs)\n ];\n}\n\n\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).\nfunction $0965eaed961dcb55$var$getLLVMDefault() {\n switch(process.platform){\n case \"win32\":\n return \"17.0.4\";\n case \"linux\":\n // used for non-ubuntu (Fedora, Arch)\n return \"17.0.5-ubuntu-22.04\";\n case \"darwin\":\n return \"15.0.3\";\n default:\n return \"17.0.5\";\n }\n}\nconst $0965eaed961dcb55$export$5fb1985a02d8f66f = {\n llvm: $0965eaed961dcb55$var$getLLVMDefault(),\n clangtidy: $0965eaed961dcb55$var$getLLVMDefault(),\n clangformat: $0965eaed961dcb55$var$getLLVMDefault(),\n ninja: \"1.11.1\",\n cmake: \"3.27.4\",\n gcovr: \"6.0\",\n conan: \"1.62.0\",\n meson: \"1.2.3\",\n kcov: \"42\",\n task: \"3.31.0\",\n doxygen: (0, $84785c71f430250a$export$d415ddb6702ec3a2)() ? \"1.9.8-1\" : \"1.9.8\",\n gcc: (0, $84785c71f430250a$export$d415ddb6702ec3a2)() ? \"13.2.1-3\" : \"13\"\n};\nconst $0965eaed961dcb55$export$b0fc8ac572b39938 = {\n pip: \"22.2.0\",\n python: \"3.7.9\"\n};\nconst $0965eaed961dcb55$export$1bb63c984aa6e760 = {\n gcc: {\n 22: \"13\",\n 20: \"11\",\n 18: \"11\",\n 16: \"11\",\n 14: \"11\"\n },\n mingw: {\n 22: \"8.0.0-1\",\n 20: \"7.0.0-2\"\n },\n llvm: {\n 22: \"17.0.5-ubuntu-22.04\",\n 20: \"17.0.5-ubuntu-22.04\",\n 18: \"15.0.6-ubuntu-18.04\",\n 16: \"15.0.6-ubuntu-18.04\",\n 14: \"13.0.0-ubuntu-16.04\"\n },\n clangtidy: {\n 22: \"17.0.2-ubuntu-22.04\",\n 20: \"17.0.2-ubuntu-22.04\",\n 18: \"15.0.6-ubuntu-18.04\",\n 16: \"15.0.6-ubuntu-18.04\",\n 14: \"13.0.0-ubuntu-16.04\"\n },\n clangformat: {\n 22: \"17.0.2-ubuntu-22.04\",\n 20: \"17.0.2-ubuntu-22.04\",\n 18: \"15.0.6-ubuntu-18.04\",\n 16: \"15.0.6-ubuntu-18.04\",\n 14: \"13.0.0-ubuntu-16.04\"\n },\n gcovr: {\n 22: \"6.0\",\n 20: \"6.0\",\n 18: \"5.0\"\n },\n meson: {\n 20: \"1.0.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: \"42-binary\",\n 20: \"40-binary\",\n 18: \"40\",\n 16: \"40\",\n 14: \"40\"\n }\n};\n\n\n\nvar $kY0n1 = parcelRequire(\"kY0n1\");\n\nasync function $ae5265b0f840d575$export$2b0b68e9df3d4a02(version, setupDir, arch) {\n const installInfo = await $ae5265b0f840d575$var$findOrSetupPython(version, setupDir, arch);\n (0, ($parcel$interopDefault($d7DIX$assert)))(installInfo.bin !== undefined);\n const foundPython = installInfo.bin;\n // setup pip\n const foundPip = await $ae5265b0f840d575$var$findOrSetupPip(foundPython);\n if (foundPip === undefined) throw new Error(\"pip was not installed correctly\");\n await $ae5265b0f840d575$var$setupPipx(foundPython);\n await $ae5265b0f840d575$var$setupWheel(foundPython);\n return installInfo;\n}\nasync function $ae5265b0f840d575$var$setupPipx(foundPython) {\n try {\n if (!await (0, $cfebcec0830c9a7b$export$ffe24b8e86dbc863)(foundPython)) await (0, $cfebcec0830c9a7b$export$7c60aea099ad1c1d)(foundPython, \"pipx\", undefined, {\n upgrade: true,\n usePipx: false\n });\n await (0, $54908482e02f4b6d$export$db6b1668e3758717)(foundPython, [\n \"-m\",\n \"pipx\",\n \"ensurepath\"\n ], {\n stdio: \"inherit\"\n });\n await (0, $cfebcec0830c9a7b$export$7c60aea099ad1c1d)(foundPython, \"venv\", undefined, {\n upgrade: false,\n usePipx: false\n });\n } catch (err) {\n (0, $ER74K.warning)(`Failed to install pipx: ${err.toString()}. Ignoring...`);\n }\n}\n/** Setup wheel and setuptools */ async function $ae5265b0f840d575$var$setupWheel(foundPython) {\n try {\n await (0, $cfebcec0830c9a7b$export$7c60aea099ad1c1d)(foundPython, \"setuptools\", undefined, {\n upgrade: true,\n isLibrary: true,\n usePipx: false\n });\n await (0, $cfebcec0830c9a7b$export$7c60aea099ad1c1d)(foundPython, \"wheel\", undefined, {\n upgrade: true,\n isLibrary: true,\n usePipx: false\n });\n } catch (err) {\n (0, $ER74K.warning)(`Failed to install setuptools or wheel: ${err.toString()}. Ignoring...`);\n }\n}\n\nasync function $ae5265b0f840d575$var$findOrSetupPython(version, setupDir, arch) {\n let installInfo;\n let foundPython = await $ae5265b0f840d575$var$findPython(setupDir);\n if (foundPython !== undefined) {\n const binDir = (0, $bzNgi.dirname)(foundPython);\n installInfo = {\n bin: foundPython,\n installDir: binDir,\n binDir: binDir\n };\n } else {\n // if python is not found, try to install it\n if (0, $52cQ1.GITHUB_ACTIONS) // install python in GitHub Actions\n try {\n (0, $ER74K.info)(\"Installing python in GitHub Actions\");\n const { setupActionsPython: setupActionsPython } = await (parcelRequire(\"4JiFg\"));\n await setupActionsPython(version, setupDir, arch);\n foundPython = await $ae5265b0f840d575$var$findPython(setupDir);\n const binDir = (0, $bzNgi.dirname)(foundPython);\n installInfo = {\n bin: foundPython,\n installDir: binDir,\n binDir: binDir\n };\n } catch (err) {\n (0, $ER74K.warning)(err.toString());\n }\n if (installInfo === undefined) // install python via system package manager\n installInfo = await $ae5265b0f840d575$var$setupPythonSystem(setupDir, version);\n }\n if (foundPython === undefined || installInfo.bin === undefined) {\n foundPython = await $ae5265b0f840d575$var$findPython(setupDir);\n installInfo.bin = foundPython;\n }\n return installInfo;\n}\nasync function $ae5265b0f840d575$var$setupPythonSystem(setupDir, version) {\n let installInfo;\n switch(process.platform){\n case \"win32\":\n {\n if (setupDir) await (0, $ca3ee4fd324ae5e9$export$9f6912bc890040b2)(\"python3\", version, [\n `--params=/InstallDir:${setupDir}`\n ]);\n else await (0, $ca3ee4fd324ae5e9$export$9f6912bc890040b2)(\"python3\", version);\n // Adding the bin dir to the path\n const bin = await $ae5265b0f840d575$var$findPython(setupDir);\n const binDir = (0, $bzNgi.dirname)(bin);\n /** The directory which the tool is installed to */ await (0, $85fd7153285bfba5$export$4c25481b843feb0b)(binDir);\n installInfo = {\n installDir: binDir,\n binDir: binDir,\n bin: bin\n };\n break;\n }\n case \"darwin\":\n {\n installInfo = await (0, $10ddbd636565d4da$export$ce5d13d8a85cb784)(\"python3\", version);\n // add the python and pip binaries to the path\n const brewPythonPrefix = await (0, $54908482e02f4b6d$export$db6b1668e3758717)(\"brew\", [\n \"--prefix\",\n \"python\"\n ], {\n stdio: \"pipe\"\n });\n const brewPythonBin = (0, $bzNgi.join)(brewPythonPrefix.stdout, \"libexec\", \"bin\");\n await (0, $85fd7153285bfba5$export$4c25481b843feb0b)(brewPythonBin);\n break;\n }\n case \"linux\":\n if ((0, $84785c71f430250a$export$d415ddb6702ec3a2)()) installInfo = await (0, $6f126e8fe01fa080$export$cfa75578ee2d6e6c)(\"python\", version);\n else if ((0, $3cbfee605ac1e082$export$8ce8b4b22331a8c7)()) installInfo = await (0, $7e2451edad050552$export$49d4f9ba8e0dd34f)([\n {\n name: \"python3\",\n version: version\n }\n ]);\n else if ((0, $7b55ac603b97ae6e$export$da8baf1d6c6802b6)()) installInfo = await (0, $f0410b58de32386f$export$d73dc343f5abf26)([\n {\n name: \"python3\",\n version: version\n },\n {\n name: \"python-is-python3\"\n }\n ]);\n else throw new Error(\"Unsupported linux distributions\");\n break;\n default:\n throw new Error(\"Unsupported platform\");\n }\n return installInfo;\n}\nasync function $ae5265b0f840d575$var$findPython(binDir) {\n for (const pythonBin of [\n \"python3\",\n \"python\"\n ]){\n // eslint-disable-next-line no-await-in-loop\n const foundPython = await $ae5265b0f840d575$var$isPythonUpToDate(pythonBin, binDir);\n if (foundPython !== undefined) return foundPython;\n }\n return undefined;\n}\nasync function $ae5265b0f840d575$var$isPythonUpToDate(candidate, binDir) {\n try {\n if (binDir !== undefined) {\n const pythonBinPath = (0, $bzNgi.join)(binDir, (0, $bzNgi.addExeExt)(candidate));\n if (await (0, $kY0n1.pathExists)(pythonBinPath)) {\n if (await (0, $5683decf99cdafe6$export$d1f0d32b896ba08)(pythonBinPath, (0, $0965eaed961dcb55$export$b0fc8ac572b39938).python)) return pythonBinPath;\n }\n }\n const pythonBinPaths = await (0, (/*@__PURE__*/$parcel$interopDefault($851ef3bcd445adf9$exports)))(candidate, {\n nothrow: true,\n all: true\n }) ?? [];\n for (const pythonBinPath of pythonBinPaths){\n // eslint-disable-next-line no-await-in-loop\n if (await (0, $5683decf99cdafe6$export$d1f0d32b896ba08)(pythonBinPath, (0, $0965eaed961dcb55$export$b0fc8ac572b39938).python)) return pythonBinPath;\n }\n } catch {\n // fall through\n }\n return undefined;\n}\nasync function $ae5265b0f840d575$var$findOrSetupPip(foundPython) {\n const maybePip = await $ae5265b0f840d575$var$findPip();\n if (maybePip === undefined) {\n // install pip if not installed\n (0, $ER74K.info)(\"pip was not found. Installing pip\");\n await $ae5265b0f840d575$var$setupPip(foundPython);\n return $ae5265b0f840d575$var$findPip() // recurse to check if pip is on PATH and up-to-date\n ;\n }\n return maybePip;\n}\nasync function $ae5265b0f840d575$var$findPip() {\n for (const pipCandidate of [\n \"pip3\",\n \"pip\"\n ]){\n // eslint-disable-next-line no-await-in-loop\n const maybePip = await $ae5265b0f840d575$var$isPipUptoDate(pipCandidate);\n if (maybePip !== undefined) return maybePip;\n }\n return undefined;\n}\nasync function $ae5265b0f840d575$var$isPipUptoDate(pip) {\n try {\n const pipPaths = await (0, (/*@__PURE__*/$parcel$interopDefault($851ef3bcd445adf9$exports)))(pip, {\n nothrow: true,\n all: true\n }) ?? [];\n for (const pipPath of pipPaths){\n // eslint-disable-next-line no-await-in-loop\n if (pipPath !== null && await (0, $5683decf99cdafe6$export$d1f0d32b896ba08)(pipPath, (0, $0965eaed961dcb55$export$b0fc8ac572b39938).pip)) return pipPath;\n }\n } catch {\n // fall through\n }\n return undefined;\n}\nasync function $ae5265b0f840d575$var$setupPip(foundPython) {\n const upgraded = await $ae5265b0f840d575$var$ensurePipUpgrade(foundPython);\n if (!upgraded) {\n // ensure that pip is installed on Linux (happens when python is found but pip not installed)\n await (0, $cfebcec0830c9a7b$export$6de3fef38027e326)(\"pip\");\n // upgrade pip\n await $ae5265b0f840d575$var$ensurePipUpgrade(foundPython);\n }\n}\nasync function $ae5265b0f840d575$var$ensurePipUpgrade(foundPython) {\n try {\n await (0, $54908482e02f4b6d$export$db6b1668e3758717)(foundPython, [\n \"-m\",\n \"ensurepip\",\n \"-U\",\n \"--upgrade\"\n ], {\n stdio: \"inherit\"\n });\n return true;\n } catch (err1) {\n (0, $ER74K.info)(err1?.toString?.());\n try {\n // ensure pip is disabled on Ubuntu\n await (0, $54908482e02f4b6d$export$db6b1668e3758717)(foundPython, [\n \"-m\",\n \"pip\",\n \"install\",\n \"--upgrade\",\n \"pip\"\n ], {\n stdio: \"inherit\"\n });\n return true;\n } catch (err2) {\n (0, $ER74K.info)(err2?.toString?.());\n // pip module not found\n }\n }\n // all methods failed\n return false;\n}\nasync function $ae5265b0f840d575$var$addPythonBaseExecPrefix_raw(python) {\n const dirs = [];\n // detection based on the platform\n if (process.platform === \"linux\") dirs.push(\"/home/runner/.local/bin/\");\n else if (process.platform === \"darwin\") dirs.push(\"/usr/local/bin/\");\n // detection using python.sys\n const base_exec_prefix = (await (0, $1f6JF.getExecOutput)(`${python} -c \"import sys;print(sys.base_exec_prefix);\"`)).stdout.trim();\n // any of these are possible depending on the operating system!\n dirs.push((0, $bzNgi.join)(base_exec_prefix, \"Scripts\"), (0, $bzNgi.join)(base_exec_prefix, \"Scripts\", \"bin\"), (0, $bzNgi.join)(base_exec_prefix, \"bin\"));\n // remove duplicates\n return (0, $eac35b7c3e82d235$export$7a5d5c156e7dc406)(dirs);\n}\nconst $ae5265b0f840d575$export$4bf645347c3b7001 = (0, $429c83835ea21620$export$2e2bcd8739ae039)($ae5265b0f840d575$var$addPythonBaseExecPrefix_raw, {\n isPromise: true\n});\n\n\n\n\nfunction $cb3b5dc5a4eadeb1$export$c506eb22e615ba4a(name, version, osVersion = null) {\n if ($cb3b5dc5a4eadeb1$var$isVersionDefault(version) && process.platform === \"linux\" && osVersion !== null && name in (0, $0965eaed961dcb55$export$1bb63c984aa6e760)) return $cb3b5dc5a4eadeb1$var$getDefaultLinuxVersion(osVersion, (0, $0965eaed961dcb55$export$1bb63c984aa6e760)[name]);\n else if ($cb3b5dc5a4eadeb1$var$isVersionDefault(version) && name in (0, $0965eaed961dcb55$export$5fb1985a02d8f66f)) return (0, $0965eaed961dcb55$export$5fb1985a02d8f66f)[name];\n else if (version === \"true\") return \"\";\n return version ?? \"\";\n}\nfunction $cb3b5dc5a4eadeb1$var$isVersionDefault(version) {\n return version === \"true\" || version === undefined;\n}\n/// choose the default linux version based on ubuntu version\nfunction $cb3b5dc5a4eadeb1$var$getDefaultLinuxVersion(osVersion, toolLinuxVersions) {\n const osVersionMaj = osVersion[0];\n // find which version block the os version is in\n const satisfyingVersion = Object.keys(toolLinuxVersions).map((v)=>parseInt(v, 10)).sort((a, b)=>b - a) // sort in descending order\n .find((v)=>osVersionMaj >= v);\n return satisfyingVersion === undefined ? \"\" : toolLinuxVersions[satisfyingVersion];\n}\nfunction $cb3b5dc5a4eadeb1$export$dd13a1e418f5a5fe(opts, tools) {\n const toolsInUse = tools.filter((tool)=>opts[tool] !== undefined);\n const toolsNonDefaultVersion = toolsInUse.filter((tool)=>!$cb3b5dc5a4eadeb1$var$isVersionDefault(opts[tool]));\n const targetVersion = toolsNonDefaultVersion.length >= 1 ? opts[toolsNonDefaultVersion[0]] : \"true\";\n if (toolsNonDefaultVersion.some((tool)=>opts[tool] !== targetVersion)) // error if any explicit versions don't match the target version\n return false;\n toolsInUse.forEach((tool)=>{\n opts[tool] = targetVersion;\n });\n return true;\n}\n\n\n\nvar $ER74K = parcelRequire(\"ER74K\");\nvar $59102f0f5954cddd$exports = {};\n\"use strict\";\nObject.defineProperty($59102f0f5954cddd$exports, \"__esModule\", {\n value: true\n});\n$59102f0f5954cddd$exports.getUbuntuVersion = void 0;\n\nfunction $59102f0f5954cddd$var$isSystemError(e) {\n return \"errno\" in e;\n}\nfunction $59102f0f5954cddd$var$command(exe, args) {\n return new Promise((resolve, reject)=>{\n $d7DIX$child_process.execFile(exe, args, {\n encoding: \"utf8\",\n shell: false\n }, (error, stdout, stderr)=>{\n if (error) {\n if ($59102f0f5954cddd$var$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 $59102f0f5954cddd$var$getUbuntuVersion() {\n if (process.platform !== \"linux\") return [];\n const stdout = await $59102f0f5954cddd$var$command(\"lsb_release\", [\n \"-a\"\n ]);\n if (stdout === null) return [];\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\") return [];\n distributorFound = true;\n }\n const desc = line.match(reDescription);\n if (desc) description = desc;\n const rel = line.match(reRelease);\n if (rel) release = rel;\n if (distributorFound && description && release) break;\n }\n if (!distributorFound) return [];\n for (const m of [\n description,\n release\n ])if (m) {\n const ss = [\n m[1],\n m[2]\n ];\n if (m[3]) ss.push(m[3]);\n return ss.map((s)=>parseInt(s, 10));\n }\n return [];\n}\n$59102f0f5954cddd$exports.getUbuntuVersion = $59102f0f5954cddd$var$getUbuntuVersion; //# sourceMappingURL=index.js.map\n\n\n\n\n\n\n\nasync function $d6a4ad0ff65d0a5e$var$ubuntuVersion_raw() {\n try {\n if ((0, $7b55ac603b97ae6e$export$da8baf1d6c6802b6)()) {\n try {\n if ((0, (/*@__PURE__*/$parcel$interopDefault($851ef3bcd445adf9$exports))).sync(\"lsb_release\", {\n nothrow: true\n }) === null) await (0, $f0410b58de32386f$export$d73dc343f5abf26)([\n {\n name: \"lsb-release\"\n }\n ]);\n } catch {\n return $d6a4ad0ff65d0a5e$var$detectUsingOsVersion();\n }\n const versionSplitted = await (0, $59102f0f5954cddd$exports.getUbuntuVersion)();\n if (versionSplitted.length === 0) return $d6a4ad0ff65d0a5e$var$detectUsingOsVersion();\n return versionSplitted;\n } else return null;\n } catch (err) {\n (0, $ER74K.warning)(err.toString());\n return null;\n }\n}\nconst $d6a4ad0ff65d0a5e$export$49c9cf1111dfa0ee = (0, $429c83835ea21620$export$2e2bcd8739ae039)($d6a4ad0ff65d0a5e$var$ubuntuVersion_raw, {\n isPromise: true\n});\n/** Detect Ubuntu version using os.version() for Ubuntu based distros */ function $d6a4ad0ff65d0a5e$var$detectUsingOsVersion() {\n // #46~22.04.1-Ubuntu SMP ...\n const osVersion = (0, ($parcel$interopDefault($d7DIX$os))).version();\n const versionSplitted = osVersion.split(\".\");\n const majorVersion = parseInt(versionSplitted[0].replace(\"#\", \"\"), 10);\n const minorVersion = parseInt(versionSplitted[1].replace(\"~\", \"\"), 10);\n const patchVersion = parseInt(versionSplitted[2].split(\"-\")[0], 10);\n return [\n majorVersion,\n minorVersion,\n patchVersion\n ];\n}\n\n\n\n\n\n\n\n\n\nasync function $cfebcec0830c9a7b$export$4020cb77ffa3ffac(name, version, options = {}) {\n return $cfebcec0830c9a7b$export$7c60aea099ad1c1d(await $cfebcec0830c9a7b$var$getPython(), name, version, options);\n}\nasync function $cfebcec0830c9a7b$export$7c60aea099ad1c1d(givenPython, name, version, options = {}) {\n const { usePipx: usePipx = true, user: user = true, upgrade: upgrade = false, isLibrary: isLibrary = false } = options;\n const isPipx = usePipx && !isLibrary && await $cfebcec0830c9a7b$export$ffe24b8e86dbc863(givenPython);\n const pip = isPipx ? \"pipx\" : \"pip\";\n const hasPackage = await $cfebcec0830c9a7b$var$pipHasPackage(givenPython, name);\n if (hasPackage) try {\n (0, $4t50X.info)(`Installing ${name} ${version ?? \"\"} via ${pip}`);\n const nameAndVersion = version !== undefined && version !== \"\" ? `${name}==${version}` : name;\n const upgradeFlag = upgrade ? isPipx ? [\n \"upgrade\"\n ] : [\n \"install\",\n \"--upgrade\"\n ] : [\n \"install\"\n ];\n const userFlag = !isPipx && user ? [\n \"--user\"\n ] : [];\n (0, $54908482e02f4b6d$export$28823a701bb5a12d)(givenPython, [\n \"-m\",\n pip,\n ...upgradeFlag,\n ...userFlag,\n nameAndVersion\n ], {\n stdio: \"inherit\"\n });\n } catch (err) {\n (0, $4t50X.info)(`Failed to install ${name} via ${pip}: ${err}.`);\n if (await $cfebcec0830c9a7b$export$6de3fef38027e326(name) === null) throw new Error(`Failed to install ${name} via ${pip}: ${err}.`);\n }\n else {\n if (await $cfebcec0830c9a7b$export$6de3fef38027e326(name) === null) throw new Error(`Failed to install ${name} as it was not found via ${pip} or the system package manager`);\n }\n const execPaths = await (0, $ae5265b0f840d575$export$4bf645347c3b7001)(givenPython);\n const binDir = await $cfebcec0830c9a7b$var$findBinDir(execPaths, name);\n await (0, $85fd7153285bfba5$export$4c25481b843feb0b)(binDir);\n return {\n binDir: binDir\n };\n}\nasync function $cfebcec0830c9a7b$export$ffe24b8e86dbc863(givenPython) {\n return (await (0, $54908482e02f4b6d$export$db6b1668e3758717)(givenPython, [\n \"-m\",\n \"pipx\",\n \"--help\"\n ], {\n stdio: \"ignore\",\n reject: false\n })).exitCode === 0;\n}\nasync function $cfebcec0830c9a7b$var$getPython_raw() {\n const pythonBin = (await (0, $ae5265b0f840d575$export$2b0b68e9df3d4a02)((0, $cb3b5dc5a4eadeb1$export$c506eb22e615ba4a)(\"python\", undefined, await (0, $d6a4ad0ff65d0a5e$export$49c9cf1111dfa0ee)()), \"\", process.arch)).bin;\n if (pythonBin === undefined) throw new Error(\"Python binary was not found\");\n return pythonBin;\n}\nconst $cfebcec0830c9a7b$var$getPython = (0, $429c83835ea21620$export$2e2bcd8739ae039)($cfebcec0830c9a7b$var$getPython_raw, {\n isPromise: true\n});\nasync function $cfebcec0830c9a7b$var$pipHasPackage(python, name) {\n const result = await (0, $54908482e02f4b6d$export$db6b1668e3758717)(python, [\n \"-m\",\n \"pip\",\n \"-qq\",\n \"index\",\n \"versions\",\n name\n ], {\n stdio: \"ignore\",\n reject: false\n });\n return result.exitCode === 0;\n}\nasync function $cfebcec0830c9a7b$var$findBinDir(dirs, name) {\n const exists = await Promise.all(dirs.map((dir)=>(0, $kY0n1.pathExists)((0, $bzNgi.join)(dir, (0, $bzNgi.addExeExt)(name)))));\n const dirIndex = exists.findIndex((exist)=>exist);\n if (dirIndex !== -1) {\n const foundDir = dirs[dirIndex];\n return foundDir;\n }\n const whichDir = (0, (/*@__PURE__*/$parcel$interopDefault($851ef3bcd445adf9$exports))).sync((0, $bzNgi.addExeExt)(name), {\n nothrow: true\n });\n if (whichDir !== null) return (0, $bzNgi.dirname)(whichDir);\n return dirs[dirs.length - 1];\n}\nfunction $cfebcec0830c9a7b$export$6de3fef38027e326(name) {\n if (process.platform === \"linux\") {\n (0, $4t50X.info)(`Installing ${name} via the system package manager`);\n if ((0, $84785c71f430250a$export$d415ddb6702ec3a2)()) return (0, $6f126e8fe01fa080$export$cfa75578ee2d6e6c)(`python-${name}`);\n else if ((0, $3cbfee605ac1e082$export$8ce8b4b22331a8c7)()) return (0, $7e2451edad050552$export$49d4f9ba8e0dd34f)([\n {\n name: `python3-${name}`\n }\n ]);\n else if ((0, $7b55ac603b97ae6e$export$da8baf1d6c6802b6)()) return (0, $f0410b58de32386f$export$d73dc343f5abf26)([\n {\n name: `python3-${name}`\n }\n ]);\n }\n return null;\n}\n\n\nfunction $928be18130bb437a$export$249d0c7d779d362f(version, _setupDir, _arch) {\n return (0, $cfebcec0830c9a7b$export$4020cb77ffa3ffac)(\"conan\", version);\n}\n\n\n\n\n\n\n\n\n\n\n\nasync function $6f659008f4a1ac73$export$13d77464c548b5d3(version, _setupDir, _arch) {\n switch(process.platform){\n case \"win32\":\n {\n await (0, $ca3ee4fd324ae5e9$export$9f6912bc890040b2)(\"cppcheck\", version);\n const binDir = await $6f659008f4a1ac73$var$activateWinCppcheck();\n return {\n binDir: binDir\n };\n }\n case \"darwin\":\n return (0, $10ddbd636565d4da$export$ce5d13d8a85cb784)(\"cppcheck\", version);\n case \"linux\":\n if ((0, $84785c71f430250a$export$d415ddb6702ec3a2)()) return (0, $6f126e8fe01fa080$export$cfa75578ee2d6e6c)(\"cppcheck\", version);\n else if ((0, $3cbfee605ac1e082$export$8ce8b4b22331a8c7)()) return (0, $7e2451edad050552$export$49d4f9ba8e0dd34f)([\n {\n name: \"ccache\",\n version: version\n }\n ]);\n else if ((0, $7b55ac603b97ae6e$export$da8baf1d6c6802b6)()) return (0, $f0410b58de32386f$export$d73dc343f5abf26)([\n {\n name: \"cppcheck\",\n version: version\n }\n ]);\n throw new Error(`Unsupported linux distribution`);\n default:\n throw new Error(`Unsupported platform`);\n }\n}\nasync function $6f659008f4a1ac73$var$activateWinCppcheck() {\n const binDir = \"C:/Program Files/Cppcheck\";\n await (0, $85fd7153285bfba5$export$4c25481b843feb0b)(binDir);\n return binDir;\n}\n\n\n\n\n\n\n\n\n\nvar $bzNgi = parcelRequire(\"bzNgi\");\n\n\nvar $ER74K = parcelRequire(\"ER74K\");\n\n\n\n\n\n\n\n\n\nasync function $9f6a19f1eee9e3b6$export$b885bd977caaafb9(version, _setupDir, _arch) {\n switch(process.platform){\n case \"win32\":\n await (0, $ca3ee4fd324ae5e9$export$9f6912bc890040b2)(\"graphviz\", version);\n return $9f6a19f1eee9e3b6$var$activateGraphviz();\n case \"darwin\":\n return (0, $10ddbd636565d4da$export$ce5d13d8a85cb784)(\"graphviz\", version);\n case \"linux\":\n if ((0, $84785c71f430250a$export$d415ddb6702ec3a2)()) return (0, $6f126e8fe01fa080$export$cfa75578ee2d6e6c)(\"graphviz\", version);\n else if ((0, $3cbfee605ac1e082$export$8ce8b4b22331a8c7)()) return (0, $7e2451edad050552$export$49d4f9ba8e0dd34f)([\n {\n name: \"graphviz\",\n version: version\n }\n ]);\n else if ((0, $7b55ac603b97ae6e$export$da8baf1d6c6802b6)()) return (0, $f0410b58de32386f$export$d73dc343f5abf26)([\n {\n name: \"graphviz\",\n version: version\n }\n ]);\n throw new Error(`Unsupported linux distribution`);\n default:\n throw new Error(`Unsupported platform`);\n }\n}\nasync function $9f6a19f1eee9e3b6$var$activateGraphviz() {\n switch(process.platform){\n case \"win32\":\n {\n const binDir = \"C:/Program Files/Graphviz/bin\";\n await (0, $85fd7153285bfba5$export$4c25481b843feb0b)(binDir);\n return {\n binDir: binDir\n };\n }\n default:\n throw new Error(`Unsupported platform`);\n }\n}\n\n\n\n\n\n\n\n\nvar $kY0n1 = parcelRequire(\"kY0n1\");\n\n\n/** Get the platform data for cmake */ // eslint-disable-next-line @typescript-eslint/no-unused-vars\nfunction $4b1f70d03c91cebd$var$getDoxygenPackageInfo(version, platform, _arch) {\n switch(platform){\n case \"linux\":\n {\n const folderName = `doxygen-${version}`;\n return {\n binRelativeDir: \"bin/\",\n binFileName: (0, $bzNgi.addExeExt)(\"doxygen\"),\n extractedFolderName: folderName,\n extractFunction: (0, $0106ac245720b572$exports.extractTar),\n url: `https://www.doxygen.nl/files/${folderName}.linux.bin.tar.gz`\n };\n }\n case \"win32\":\n {\n const folderName = `doxygen-${version}`;\n return {\n binRelativeDir: \"\",\n binFileName: (0, $bzNgi.addExeExt)(\"doxygen\"),\n extractedFolderName: folderName,\n extractFunction: (0, $4615baf4c3b031c2$export$6411c5cbab21135b),\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}\nasync function $4b1f70d03c91cebd$export$b6e6613a954051ee(version, setupDir, arch) {\n switch(process.platform){\n case \"win32\":\n {\n // try to download the package 4 times with 2 seconds delay\n await (0, (/*@__PURE__*/$parcel$interopDefault($9a76aa2467c494ea$exports)))(()=>{\n return (0, $ca3ee4fd324ae5e9$export$9f6912bc890040b2)(\"doxygen.install\", version);\n }, {\n name: \"doxygen.install\",\n max: 4,\n backoffBase: 2000,\n report: (err)=>(0, $ER74K.info)(err)\n });\n const binDir = await $4b1f70d03c91cebd$var$activateWinDoxygen();\n const installationInfo = {\n binDir: binDir\n };\n await (0, $9f6a19f1eee9e3b6$export$b885bd977caaafb9)((0, $cb3b5dc5a4eadeb1$export$c506eb22e615ba4a)(\"graphviz\", undefined), \"\", arch);\n return installationInfo;\n }\n case \"darwin\":\n {\n const installationInfo = await (0, $10ddbd636565d4da$export$ce5d13d8a85cb784)(\"doxygen\", undefined);\n await (0, $9f6a19f1eee9e3b6$export$b885bd977caaafb9)((0, $cb3b5dc5a4eadeb1$export$c506eb22e615ba4a)(\"graphviz\", undefined), \"\", arch);\n return installationInfo;\n }\n case \"linux\":\n {\n let installationInfo;\n if (version === \"\" || (0, $84785c71f430250a$export$d415ddb6702ec3a2)() || (0, $3cbfee605ac1e082$export$8ce8b4b22331a8c7)()) {\n if ((0, $84785c71f430250a$export$d415ddb6702ec3a2)()) installationInfo = await (0, $6f126e8fe01fa080$export$cfa75578ee2d6e6c)(\"doxygen\", version);\n else if ((0, $3cbfee605ac1e082$export$8ce8b4b22331a8c7)()) return (0, $7e2451edad050552$export$49d4f9ba8e0dd34f)([\n {\n name: \"doxygen\",\n version: version\n }\n ]);\n else if ((0, $7b55ac603b97ae6e$export$da8baf1d6c6802b6)()) installationInfo = await (0, $f0410b58de32386f$export$d73dc343f5abf26)([\n {\n name: \"doxygen\",\n version: version\n }\n ]);\n else throw new Error(`Unsupported linux distributions`);\n } else if ((0, $7b55ac603b97ae6e$export$da8baf1d6c6802b6)()) try {\n // doxygen on stable Ubuntu repositories is very old. So, we use get the binary from the website itself\n installationInfo = await (0, $d81b351c18e56f74$export$334f77c9844c21f6)(\"doxygen\", version, $4b1f70d03c91cebd$var$getDoxygenPackageInfo, setupDir, arch);\n await (0, $f0410b58de32386f$export$d73dc343f5abf26)([\n {\n name: \"libclang-cpp9\"\n }\n ]);\n } catch (err) {\n (0, $ER74K.notice)(`Failed to download doxygen binary. ${err}. Falling back to apt-get.`);\n installationInfo = await (0, $f0410b58de32386f$export$d73dc343f5abf26)([\n {\n name: \"doxygen\"\n }\n ]);\n }\n else throw new Error(`Unsupported linux distributions`);\n await (0, $9f6a19f1eee9e3b6$export$b885bd977caaafb9)((0, $cb3b5dc5a4eadeb1$export$c506eb22e615ba4a)(\"graphviz\", undefined, await (0, $d6a4ad0ff65d0a5e$export$49c9cf1111dfa0ee)()), \"\", arch);\n return installationInfo;\n }\n default:\n throw new Error(`Unsupported platform`);\n }\n}\nasync function $4b1f70d03c91cebd$var$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 ])// eslint-disable-next-line no-await-in-loop\n if (await (0, $kY0n1.pathExists)((0, $bzNgi.join)(binDir, \"doxygen.exe\"))) {\n // eslint-disable-next-line no-await-in-loop\n await (0, $85fd7153285bfba5$export$4c25481b843feb0b)(binDir);\n return binDir;\n }\n throw new Error(\"Failed to find doxygen binary\");\n default:\n throw new Error(`Unsupported platform`);\n }\n}\n\n\n\n\n\n\n\n\nvar $2aJGP = parcelRequire(\"2aJGP\");\n\nvar $l8hao = parcelRequire(\"l8hao\");\n\nvar $1f6JF = parcelRequire(\"1f6JF\");\n\n\nvar $ER74K = parcelRequire(\"ER74K\");\nasync function $1ebfc945e4f5b17a$export$28f5fd35e3005b7a() {\n if (process.platform === \"darwin\") try {\n const xcrun = await (0, $1f6JF.getExecOutput)(\"xcrun --sdk macosx --show-sdk-path\");\n const sdkroot = xcrun.stdout || xcrun.stderr;\n if (sdkroot) await (0, $85fd7153285bfba5$export$f63d3080ce25e0fd)(\"SDKROOT\", sdkroot.trim());\n else (0, $ER74K.error)(`SDKROOT not set`);\n } catch (e) {\n (0, $ER74K.error)(e);\n }\n}\n\n\n\nvar $bzNgi = parcelRequire(\"bzNgi\");\n\nvar $ER74K = parcelRequire(\"ER74K\");\n\nvar $52cQ1 = parcelRequire(\"52cQ1\");\n\n\n\n\n\n\n\nvar $kY0n1 = parcelRequire(\"kY0n1\");\n\nvar $bd769018416dc7f2$var$$parcel$__dirname = $d7DIX$path.resolve(__dirname, \"../../src/gcc\");\n// https://github.com/brechtsanders/winlibs_mingw/releases\nconst $bd769018416dc7f2$var$GccToMingwInfo = {\n \"13\": {\n releaseName: \"13.2.0-16.0.6-11.0.0-ucrt-r1\",\n fileSuffix: \"13.2.0-mingw-w64ucrt-11.0.0-r1\"\n },\n \"13.2-ucrt\": {\n releaseName: \"13.2.0-16.0.6-11.0.0-ucrt-r1\",\n fileSuffix: \"13.2.0-mingw-w64ucrt-11.0.0-r1\"\n },\n \"13.2-ucrt-mcf\": {\n releaseName: \"13.2.0mcf-16.0.6-11.0.1-ucrt-r2\",\n fileSuffix: \"13.2.0-mingw-w64ucrt-11.0.1-r2\"\n },\n \"13.2-msvcrt\": {\n releaseName: \"13.2.0-16.0.6-11.0.1-msvcrt-r1\",\n fileSuffix: \"13.2.0-mingw-w64msvcrt-11.0.1-r1\"\n },\n \"13.1-ucrt\": {\n releaseName: \"13.1.0posix-16.0.3-11.0.0-ucrt-r1\",\n fileSuffix: \"13.1.0-mingw-w64ucrt-11.0.0-r1\"\n },\n \"13.1-msvcrt\": {\n releaseName: \"13.1.0posix-16.0.3-11.0.0-msvcrt-r1\",\n fileSuffix: \"13.1.0-mingw-w64msvcrt-11.0.0-r1\"\n },\n \"12\": {\n releaseName: \"12.3.0-16.0.4-11.0.0-ucrt-r1\",\n fileSuffix: \"12.3.0-mingw-w64ucrt-11.0.0-r1\"\n },\n \"12.3.0-ucrt\": {\n releaseName: \"12.3.0-16.0.4-11.0.0-ucrt-r1\",\n fileSuffix: \"12.3.0-mingw-w64ucrt-11.0.0-r1\"\n },\n \"12.3.0-msvcrt\": {\n releaseName: \"12.3.0-16.0.4-11.0.0-msvcrt-r1\",\n fileSuffix: \"12.3.0-mingw-w64msvcrt-11.0.0-r1\"\n },\n \"12.2.0-ucrt\": {\n releaseName: \"12.2.0-14.0.6-10.0.0-ucrt-r2\",\n fileSuffix: \"12.2.0-mingw-w64ucrt-10.0.0-r2\"\n },\n \"12.2.0-msvcrt\": {\n releaseName: \"12.2.0-14.0.6-10.0.0-msvcrt-r2\",\n fileSuffix: \"12.2.0-mingw-w64msvcrt-10.0.0-r2\"\n },\n \"12.1.0-ucrt\": {\n releaseName: \"12.1.0-14.0.4-10.0.0-ucrt-r2\",\n fileSuffix: \"12.1.0-mingw-w64ucrt-10.0.0-r2\"\n },\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\": {\n releaseName: \"11.3.0-14.0.3-10.0.0-ucrt-r3\",\n fileSuffix: \"11.3.0-mingw-w64ucrt-10.0.0-r3\"\n },\n \"11.3.0-ucrt\": {\n releaseName: \"11.3.0-14.0.3-10.0.0-ucrt-r3\",\n fileSuffix: \"11.3.0-mingw-w64ucrt-10.0.0-r3\"\n },\n \"11.3.0-msvcrt\": {\n releaseName: \"11.3.0-14.0.3-10.0.0-msvcrt-r3\",\n fileSuffix: \"11.3.0-mingw-w64msvcrt-10.0.0-r3\"\n },\n \"11.2.0-ucrt\": {\n releaseName: \"11.2.0-9.0.0-ucrt-r5\",\n fileSuffix: \"11.2.0-mingw-w64ucrt-9.0.0-r5\"\n },\n \"11.2.0-msvcrt\": {\n releaseName: \"11.2.0-9.0.0-msvcrt-r5\",\n fileSuffix: \"11.2.0-mingw-w64msvcrt-9.0.0-r5\"\n },\n \"10\": {\n releaseName: \"10.5.0-11.0.1-msvcrt-r1\",\n fileSuffix: \"10.5.0-mingw-w64msvcrt-11.0.1-r1\"\n },\n \"10.5.0-msvcrt\": {\n releaseName: \"10.5.0-11.0.1-msvcrt-r1\",\n fileSuffix: \"10.5.0-mingw-w64msvcrt-11.0.1-r1\"\n },\n \"10.3.0\": {\n releaseName: \"10.3.0-12.0.0-9.0.0-r2\",\n fileSuffix: \"10.3.0-llvm-12.0.0-mingw-w64-9.0.0-r2\"\n },\n \"10.2.0\": {\n releaseName: \"10.2.0-7.0.0-r4\",\n fileSuffix: \"10.2.0-llvm-10.0.1-mingw-w64-7.0.0-r4\"\n },\n \"9\": {\n releaseName: \"9.4.0-9.0.0-r1\",\n fileSuffix: \"9.4.0-mingw-w64-9.0.0-r1\"\n },\n \"9.4.0\": {\n releaseName: \"9.4.0-9.0.0-r1\",\n fileSuffix: \"9.4.0-mingw-w64-9.0.0-r1\"\n }\n};\nfunction $bd769018416dc7f2$var$getGccPackageInfo(version, platform, arch) {\n switch(platform){\n case \"win32\":\n {\n const mingwInfo = $bd769018416dc7f2$var$GccToMingwInfo[version];\n if (mingwInfo === undefined) throw new Error(`mingw version ${version} is not supported`);\n const mingwArch = arch === \"ia32\" ? \"i686\" : \"x86_64\";\n const exceptionModel = \"seh\" // SEH is native windows exception model https://github.com/brechtsanders/winlibs_mingw/issues/4#issuecomment-599296483\n ;\n return {\n binRelativeDir: \"bin/\",\n binFileName: (0, $bzNgi.addExeExt)(\"g++\"),\n extractedFolderName: \"mingw64\",\n extractFunction: (0, $4615baf4c3b031c2$export$eecfe186811d4a20),\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}\nasync function $bd769018416dc7f2$export$405fab3de79b77b(version, setupDir, arch, priority = 40) {\n let installationInfo;\n switch(process.platform){\n case \"win32\":\n if (arch === \"arm\" || arch === \"arm64\") await (0, $ca3ee4fd324ae5e9$export$9f6912bc890040b2)(\"gcc-arm-embedded\", version);\n try {\n installationInfo = await (0, $d81b351c18e56f74$export$334f77c9844c21f6)(\"g++\", version, $bd769018416dc7f2$var$getGccPackageInfo, setupDir, arch);\n } catch (err) {\n (0, $ER74K.info)(`Failed to download g++ binary. ${err}. Falling back to chocolatey.`);\n installationInfo = await $bd769018416dc7f2$var$setupChocoMingw(version, arch);\n }\n break;\n case \"darwin\":\n installationInfo = await (0, $10ddbd636565d4da$export$ce5d13d8a85cb784)(\"gcc\", version);\n break;\n case \"linux\":\n if (arch === \"x64\") {\n if ((0, $84785c71f430250a$export$d415ddb6702ec3a2)()) installationInfo = await (0, $6f126e8fe01fa080$export$cfa75578ee2d6e6c)(\"gcc\", version);\n else if ((0, $3cbfee605ac1e082$export$8ce8b4b22331a8c7)()) installationInfo = await (0, $7e2451edad050552$export$49d4f9ba8e0dd34f)([\n {\n name: \"gcc\",\n version: version\n },\n {\n name: \"gcc-c++\",\n version: version\n },\n {\n name: \"libstdc++-devel\"\n }\n ]);\n else if ((0, $7b55ac603b97ae6e$export$da8baf1d6c6802b6)()) installationInfo = await (0, $f0410b58de32386f$export$d73dc343f5abf26)([\n {\n name: \"gcc\",\n version: version,\n repositories: [\n \"ppa:ubuntu-toolchain-r/test\"\n ]\n },\n {\n name: \"g++\",\n version: version,\n repositories: [\n \"ppa:ubuntu-toolchain-r/test\"\n ]\n }\n ]);\n } else {\n (0, $ER74K.info)(`Install g++-multilib because gcc for ${arch} was requested`);\n if ((0, $84785c71f430250a$export$d415ddb6702ec3a2)()) await (0, $6f126e8fe01fa080$export$cfa75578ee2d6e6c)(\"gcc-multilib\", version);\n else if ((0, $7b55ac603b97ae6e$export$da8baf1d6c6802b6)()) await (0, $f0410b58de32386f$export$d73dc343f5abf26)([\n {\n name: \"gcc-multilib\",\n version: version,\n repositories: [\n \"ppa:ubuntu-toolchain-r/test\"\n ]\n }\n ]);\n }\n break;\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 if (installationInfo !== undefined) {\n await $bd769018416dc7f2$var$activateGcc(version, installationInfo.binDir, priority);\n return installationInfo;\n }\n return undefined;\n}\nasync function $bd769018416dc7f2$export$f115c01d224b9e9a(version, setupDir, arch) {\n let installationInfo;\n switch(process.platform){\n case \"win32\":\n case \"darwin\":\n return $bd769018416dc7f2$export$405fab3de79b77b(version, setupDir, arch);\n case \"linux\":\n if ((0, $84785c71f430250a$export$d415ddb6702ec3a2)()) installationInfo = await (0, $6f126e8fe01fa080$export$cfa75578ee2d6e6c)(\"mingw-w64-gcc\", version);\n else if ((0, $3cbfee605ac1e082$export$8ce8b4b22331a8c7)()) installationInfo = await (0, $7e2451edad050552$export$49d4f9ba8e0dd34f)([\n {\n name: \"mingw64-gcc\",\n version: version\n }\n ]);\n else if ((0, $7b55ac603b97ae6e$export$da8baf1d6c6802b6)()) installationInfo = await (0, $f0410b58de32386f$export$d73dc343f5abf26)([\n {\n name: \"mingw-w64\",\n version: version,\n repositories: [\n \"ppa:ubuntu-toolchain-r/test\"\n ]\n }\n ]);\n break;\n default:\n throw new Error(`Unsupported platform for ${arch}`);\n }\n if (installationInfo !== undefined) // TODO: setup alternatives and update CC/CXX env. ?\n //Setting up g++-mingw-w64-i686-win32 (10.3.0-14ubuntu1+24.3) ...\n // update-alternatives: using /usr/bin/i686-w64-mingw32-g++-win32 to provide /usr/bin/i686-w64-mingw32-g++ (i686-w64-mingw32-g++) in auto mode\n //Setting up g++-mingw-w64-x86-64-win32 (10.3.0-14ubuntu1+24.3) ...\n // update-alternatives: using /usr/bin/x86_64-w64-mingw32-g++-win32 to provide /usr/bin/x86_64-w64-mingw32-g++ (x86_64-w64-mingw32-g++) in auto mode\n //await activateGcc(version, installationInfo.binDir)\n return installationInfo;\n return undefined;\n}\nasync function $bd769018416dc7f2$var$setupChocoMingw(version, arch) {\n await (0, $ca3ee4fd324ae5e9$export$9f6912bc890040b2)(\"mingw\", version);\n let binDir;\n if (arch === \"x64\" && await (0, $kY0n1.pathExists)(\"C:/tools/mingw64/bin\")) {\n binDir = \"C:/tools/mingw64/bin\";\n await (0, $85fd7153285bfba5$export$4c25481b843feb0b)(binDir);\n } else if (arch === \"ia32\" && await (0, $kY0n1.pathExists)(\"C:/tools/mingw32/bin\")) {\n binDir = \"C:/tools/mingw32/bin\";\n await (0, $85fd7153285bfba5$export$4c25481b843feb0b)(binDir);\n } else if (await (0, $kY0n1.pathExists)(`${process.env.ChocolateyInstall ?? \"C:/ProgramData/chocolatey\"}/bin/g++.exe`)) binDir = `${process.env.ChocolateyInstall ?? \"C:/ProgramData/chocolatey\"}/bin`;\n if (binDir !== undefined) return {\n binDir: binDir\n };\n return undefined;\n}\nasync function $bd769018416dc7f2$var$activateGcc(version, binDir, priority = 40) {\n const promises = [];\n // Setup gcc as the compiler\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 if (process.platform === \"win32\") promises.push((0, $85fd7153285bfba5$export$f63d3080ce25e0fd)(\"CC\", (0, $bzNgi.addExeExt)(`${binDir}/gcc`)), (0, $85fd7153285bfba5$export$f63d3080ce25e0fd)(\"CXX\", (0, $bzNgi.addExeExt)(`${binDir}/g++`)));\n else {\n const majorVersion = (0, (/*@__PURE__*/$parcel$interopDefault($2aJGP)))((0, (/*@__PURE__*/$parcel$interopDefault($l8hao)))(version) ?? version);\n if (majorVersion >= 5) {\n promises.push((0, $85fd7153285bfba5$export$f63d3080ce25e0fd)(\"CC\", `${binDir}/gcc-${majorVersion}`), (0, $85fd7153285bfba5$export$f63d3080ce25e0fd)(\"CXX\", `${binDir}/g++-${majorVersion}`));\n if ((0, $7b55ac603b97ae6e$export$da8baf1d6c6802b6)()) promises.push((0, $f0410b58de32386f$export$6fe6436bd9f53d02)(\"cc\", `${binDir}/gcc-${majorVersion}`, priority), (0, $f0410b58de32386f$export$6fe6436bd9f53d02)(\"cxx\", `${binDir}/g++-${majorVersion}`, priority), (0, $f0410b58de32386f$export$6fe6436bd9f53d02)(\"gcc\", `${binDir}/gcc-${majorVersion}`, priority), (0, $f0410b58de32386f$export$6fe6436bd9f53d02)(\"g++\", `${binDir}/g++-${majorVersion}`, priority));\n } else {\n promises.push((0, $85fd7153285bfba5$export$f63d3080ce25e0fd)(\"CC\", `${binDir}/gcc-${version}`), (0, $85fd7153285bfba5$export$f63d3080ce25e0fd)(\"CXX\", `${binDir}/g++-${version}`));\n if ((0, $7b55ac603b97ae6e$export$da8baf1d6c6802b6)()) promises.push((0, $f0410b58de32386f$export$6fe6436bd9f53d02)(\"cc\", `${binDir}/gcc-${version}`, priority), (0, $f0410b58de32386f$export$6fe6436bd9f53d02)(\"cxx\", `${binDir}/g++-${version}`, priority), (0, $f0410b58de32386f$export$6fe6436bd9f53d02)(\"gcc\", `${binDir}/gcc-${version}`, priority), (0, $f0410b58de32386f$export$6fe6436bd9f53d02)(\"g++\", `${binDir}/g++-${version}`, priority));\n }\n }\n promises.push((0, $1ebfc945e4f5b17a$export$28f5fd35e3005b7a)());\n if (0, $52cQ1.GITHUB_ACTIONS) await $bd769018416dc7f2$var$addGccLoggingMatcher();\n await Promise.all(promises);\n}\nasync function $bd769018416dc7f2$var$addGccLoggingMatcher() {\n const matcherPath = (0, $bzNgi.join)($bd769018416dc7f2$var$$parcel$__dirname, \"gcc_matcher.json\");\n if (!await (0, $kY0n1.pathExists)(matcherPath)) return (0, $ER74K.warning)(\"the gcc_matcher.json file does not exist in the same folder as setup-cpp.js\");\n (0, $ER74K.info)(`::add-matcher::${matcherPath}`);\n}\n\n\n\n\n\nvar $l655J = parcelRequire(\"l655J\");\n\nvar $2aJGP = parcelRequire(\"2aJGP\");\nfunction $9e5689f497201ccc$export$b98d69f362caf61f(version, _setupDir, _arch) {\n return (0, $cfebcec0830c9a7b$export$4020cb77ffa3ffac)(\"gcovr\", version);\n}\nfunction $9e5689f497201ccc$export$2a0488baf2a20c0f() {\n return (0, $85fd7153285bfba5$export$f63d3080ce25e0fd)(\"GCOV\", \"llvm-cov gcov\");\n}\nfunction $9e5689f497201ccc$export$41dabde4775ee2aa(gccVersion) {\n const gccSemver = (0, (/*@__PURE__*/$parcel$interopDefault($l655J)))(gccVersion);\n const gccMajor = gccSemver !== null ? (0, (/*@__PURE__*/$parcel$interopDefault($2aJGP)))(gccSemver) : gccVersion;\n const gcov = gccMajor !== \"\" ? `gcov-${gccMajor}` : \"gcov\";\n return (0, $85fd7153285bfba5$export$f63d3080ce25e0fd)(\"GCOV\", gcov);\n}\n\n\n\n\n\nvar $bzNgi = parcelRequire(\"bzNgi\");\n\n\n\n\n\n\n\n\n\n\n\n\n\nvar $ER74K = parcelRequire(\"ER74K\");\n\n\nvar $bzNgi = parcelRequire(\"bzNgi\");\n\n\n/** Get the platform name Ninja uses in their download links */ function $c8e436f083063bf5$var$getNinjaPlatform(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/** Get the platform data for ninja */ // eslint-disable-next-line @typescript-eslint/no-unused-vars\nfunction $c8e436f083063bf5$var$getNinjaPackageInfo(version, platform, _arch) {\n const ninjaPlatform = $c8e436f083063bf5$var$getNinjaPlatform(platform);\n return {\n binRelativeDir: \"\",\n binFileName: (0, $bzNgi.addExeExt)(\"ninja\"),\n extractedFolderName: \"\",\n extractFunction: (0, $4615baf4c3b031c2$export$6411c5cbab21135b),\n url: `https://github.com/ninja-build/ninja/releases/download/v${version}/ninja-${ninjaPlatform}.zip`\n };\n}\nfunction $c8e436f083063bf5$export$e6190f4bfe2ef71(version, setupDir, arch) {\n return (0, $d81b351c18e56f74$export$334f77c9844c21f6)(\"ninja\", version, $c8e436f083063bf5$var$getNinjaPackageInfo, setupDir, arch);\n}\n\n\n\n\nvar $a32e41fd6d9c05e4$var$$parcel$__dirname = $d7DIX$path.resolve(__dirname, \"../../src/kcov\");\nfunction $a32e41fd6d9c05e4$var$getDownloadKcovPackageInfo(version) {\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: (0, $bzNgi.addExeExt)(\"kcov\"),\n extractFunction: (0, $4615baf4c3b031c2$export$2ab07ac150064014)\n };\n}\nfunction $a32e41fd6d9c05e4$var$getBuildKcovPackageInfo(version) {\n return {\n url: `https://github.com/SimonKagstrom/kcov/archive/refs/tags/${version}.tar.gz`,\n extractedFolderName: \"\",\n binRelativeDir: \"build/src\",\n binFileName: (0, $bzNgi.addExeExt)(\"kcov\"),\n extractFunction: $a32e41fd6d9c05e4$var$buildKcov\n };\n}\nasync function $a32e41fd6d9c05e4$var$buildKcov(file, dest) {\n const out = await (0, $4615baf4c3b031c2$export$2ab07ac150064014)(file, dest, [\n \"--strip-components=1\"\n ]);\n // build after extraction using CMake\n const cmake = await $a32e41fd6d9c05e4$var$getCmake();\n if (process.platform === \"linux\") {\n if ((0, $84785c71f430250a$export$d415ddb6702ec3a2)()) await Promise.all([\n (0, $6f126e8fe01fa080$export$cfa75578ee2d6e6c)(\"libdwarf\"),\n (0, $6f126e8fe01fa080$export$cfa75578ee2d6e6c)(\"libcurl-openssl\")\n ]);\n else if ((0, $3cbfee605ac1e082$export$8ce8b4b22331a8c7)()) await (0, $7e2451edad050552$export$49d4f9ba8e0dd34f)([\n {\n name: \"libdwarf-devel\"\n },\n {\n name: \"libcurl-devel\"\n }\n ]);\n else if ((0, $7b55ac603b97ae6e$export$da8baf1d6c6802b6)()) await (0, $f0410b58de32386f$export$d73dc343f5abf26)([\n {\n name: \"libdw-dev\"\n },\n {\n name: \"libcurl4-openssl-dev\"\n }\n ]);\n }\n // apply gcc13.patch\n try {\n if ((0, (/*@__PURE__*/$parcel$interopDefault($851ef3bcd445adf9$exports))).sync(\"patch\", {\n nothrow: true\n }) !== null) {\n const patch = (0, $bzNgi.join)($a32e41fd6d9c05e4$var$$parcel$__dirname, \"gcc13.patch\");\n await (0, $54908482e02f4b6d$export$db6b1668e3758717)(\"patch\", [\n \"-N\",\n \"-p1\",\n \"-i\",\n patch\n ], {\n cwd: out,\n stdio: \"inherit\"\n });\n } else (0, $ER74K.info)(\"`patch` not found, skipping gcc13.patch, kcov may not build on gcc 13\");\n } catch {\n // ignore\n }\n const buildDir = (0, $bzNgi.join)(out, \"build\");\n await (0, $54908482e02f4b6d$export$db6b1668e3758717)(cmake, [\n \"-S\",\n out,\n \"-B\",\n buildDir,\n \"-DCMAKE_BUILD_TYPE=Release\",\n \"-G\",\n \"Ninja\"\n ], {\n cwd: out,\n stdio: \"inherit\"\n });\n await (0, $54908482e02f4b6d$export$db6b1668e3758717)(cmake, [\n \"--build\",\n buildDir,\n \"--config\",\n \"Release\"\n ], {\n cwd: out,\n stdio: \"inherit\"\n });\n // execRootSync(cmake, [\"--install\", buildDir], out)\n // return \"user/local/bin\" // the cmake install prefix\n return out;\n}\nasync function $a32e41fd6d9c05e4$var$getCmake() {\n let cmake = (0, (/*@__PURE__*/$parcel$interopDefault($851ef3bcd445adf9$exports))).sync(\"cmake\", {\n nothrow: true\n });\n if (cmake === null) {\n const { binDir: binDir } = await (0, $cd6a37a8a2760b1d$export$c28663a621f418ce)((0, $cb3b5dc5a4eadeb1$export$c506eb22e615ba4a)(\"cmake\", undefined, await (0, $d6a4ad0ff65d0a5e$export$49c9cf1111dfa0ee)()), (0, $bzNgi.join)((0, $cc03115747abd396$export$8312d9eeba321950)(\"\"), \"cmake\"), \"\");\n cmake = (0, $bzNgi.join)(binDir, \"cmake\");\n }\n const ninja = (0, (/*@__PURE__*/$parcel$interopDefault($851ef3bcd445adf9$exports))).sync(\"ninja\", {\n nothrow: true\n });\n if (ninja === null) await (0, $c8e436f083063bf5$export$e6190f4bfe2ef71)((0, $cb3b5dc5a4eadeb1$export$c506eb22e615ba4a)(\"ninja\", undefined, await (0, $d6a4ad0ff65d0a5e$export$49c9cf1111dfa0ee)()), (0, $bzNgi.join)((0, $cc03115747abd396$export$8312d9eeba321950)(\"\"), \"ninja\"), \"\");\n return cmake;\n}\nasync function $a32e41fd6d9c05e4$export$abb7c2ff987b1f6b(versionGiven, setupDir, arch) {\n if (process.platform !== \"linux\") {\n (0, $ER74K.info)(\"Kcov is not supported on non-linux\");\n return;\n }\n // parse version\n const versionSplit = versionGiven.split(\"-\");\n let version = (0, $5683decf99cdafe6$export$6863a97504984656)(versionSplit[0]);\n const installMethod = versionSplit[1];\n const version_number = (0, $5683decf99cdafe6$export$b19007c0050a2fcc)(version);\n // fix inconsistency in tagging\n if (version_number === 38) version = \"v38\";\n let installationInfo;\n if (installMethod === \"binary\" && version_number >= 39) {\n installationInfo = await (0, $d81b351c18e56f74$export$334f77c9844c21f6)(\"kcov\", version, $a32e41fd6d9c05e4$var$getDownloadKcovPackageInfo, setupDir, arch);\n if ((0, $84785c71f430250a$export$d415ddb6702ec3a2)()) await (0, $6f126e8fe01fa080$export$cfa75578ee2d6e6c)(\"binutils\");\n else if ((0, $3cbfee605ac1e082$export$8ce8b4b22331a8c7)()) await (0, $7e2451edad050552$export$49d4f9ba8e0dd34f)([\n {\n name: \"binutils\"\n }\n ]);\n else if ((0, $7b55ac603b97ae6e$export$da8baf1d6c6802b6)()) await (0, $f0410b58de32386f$export$d73dc343f5abf26)([\n {\n name: \"libbinutils\"\n }\n ]);\n return installationInfo;\n } else installationInfo = await (0, $d81b351c18e56f74$export$334f77c9844c21f6)(\"kcov\", version, $a32e41fd6d9c05e4$var$getBuildKcovPackageInfo, setupDir, arch);\n return installationInfo;\n}\n\n\n\nvar $52cQ1 = parcelRequire(\"52cQ1\");\n\nvar $ER74K = parcelRequire(\"ER74K\");\n\n\n\nvar $kY0n1 = parcelRequire(\"kY0n1\");\n\nvar $bzNgi = parcelRequire(\"bzNgi\");\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nvar $4t50X = parcelRequire(\"4t50X\");\n\nvar $ER74K = parcelRequire(\"ER74K\");\n\nvar $bzNgi = parcelRequire(\"bzNgi\");\n\n// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n// @ts-ignore\nvar $832772e652e526f0$export$3c7cae5a162b1458;\nvar $832772e652e526f0$export$704f0be24425353b;\nvar $832772e652e526f0$export$f49c12d2898d28cb;\nvar $832772e652e526f0$export$a6a3bfb882356813;\nvar $832772e652e526f0$export$443b8bb890f5027e;\n\nvar $4t50X = parcelRequire(\"4t50X\");\n\n\n\n\nconst $832772e652e526f0$var$PROGRAM_FILES_X86 = $d7DIX$process.env[\"ProgramFiles(x86)\"];\nconst $832772e652e526f0$var$PROGRAM_FILES = [\n $d7DIX$process.env[\"ProgramFiles(x86)\"],\n $d7DIX$process.env[\"ProgramFiles\"]\n];\nconst $832772e652e526f0$var$EDITIONS = [\n \"Enterprise\",\n \"Professional\",\n \"Community\",\n \"BuildTools\"\n];\nconst $832772e652e526f0$var$YEARS = [\n \"2022\",\n \"2019\",\n \"2017\"\n];\nconst $832772e652e526f0$var$VsYearVersion = {\n \"2022\": \"17.0\",\n \"2019\": \"16.0\",\n \"2017\": \"15.0\",\n \"2015\": \"14.0\",\n \"2013\": \"12.0\"\n};\nfunction $832772e652e526f0$var$vsversion_to_versionnumber(vsversion) {\n if (Object.values($832772e652e526f0$var$VsYearVersion).includes(vsversion)) return vsversion;\n else {\n if (vsversion in $832772e652e526f0$var$VsYearVersion) return $832772e652e526f0$var$VsYearVersion[vsversion];\n }\n return vsversion;\n}\n$832772e652e526f0$export$3c7cae5a162b1458 = $832772e652e526f0$var$vsversion_to_versionnumber;\nfunction $832772e652e526f0$var$vsversion_to_year(vsversion) {\n if (Object.keys($832772e652e526f0$var$VsYearVersion).includes(vsversion)) return vsversion;\n else for (const [year, ver] of Object.entries($832772e652e526f0$var$VsYearVersion)){\n if (ver === vsversion) return year;\n }\n return vsversion;\n}\n$832772e652e526f0$export$704f0be24425353b = $832772e652e526f0$var$vsversion_to_year;\nconst $832772e652e526f0$var$VSWHERE_PATH = `${$832772e652e526f0$var$PROGRAM_FILES_X86}\\\\Microsoft Visual Studio\\\\Installer`;\nfunction $832772e652e526f0$var$findWithVswhere(pattern, version_pattern) {\n try {\n let installationPath = $d7DIX$child_process.execSync(`vswhere -products * ${version_pattern} -prerelease -property installationPath`).toString().trim();\n return installationPath + \"\\\\\" + pattern;\n } catch (e) {\n $4t50X.warning(`vswhere failed: ${e}`);\n }\n return null;\n}\n$832772e652e526f0$export$f49c12d2898d28cb = $832772e652e526f0$var$findWithVswhere;\nfunction $832772e652e526f0$var$findVcvarsall(vsversion) {\n const vsversion_number = $832772e652e526f0$var$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 version_pattern = \"-latest\";\n // If vswhere is available, ask it about the location of the latest Visual Studio.\n let path = $832772e652e526f0$var$findWithVswhere(\"VC\\\\Auxiliary\\\\Build\\\\vcvarsall.bat\", version_pattern);\n if (path && $d7DIX$fs.existsSync(path)) {\n $4t50X.info(`Found with vswhere: ${path}`);\n return path;\n }\n $4t50X.info(\"Not found with vswhere\");\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 ? [\n $832772e652e526f0$var$vsversion_to_year(vsversion)\n ] : $832772e652e526f0$var$YEARS;\n for (const prog_files of $832772e652e526f0$var$PROGRAM_FILES){\n for (const ver of years)for (const ed of $832772e652e526f0$var$EDITIONS){\n path = `${prog_files}\\\\Microsoft Visual Studio\\\\${ver}\\\\${ed}\\\\VC\\\\Auxiliary\\\\Build\\\\vcvarsall.bat`;\n $4t50X.info(`Trying standard location: ${path}`);\n if ($d7DIX$fs.existsSync(path)) {\n $4t50X.info(`Found standard location: ${path}`);\n return path;\n }\n }\n }\n $4t50X.info(\"Not found in standard locations\");\n // Special case for Visual Studio 2015 (and maybe earlier), try it out too.\n path = `${$832772e652e526f0$var$PROGRAM_FILES_X86}\\\\Microsoft Visual C++ Build Tools\\\\vcbuildtools.bat`;\n if ($d7DIX$fs.existsSync(path)) {\n $4t50X.info(`Found VS 2015: ${path}`);\n return path;\n }\n $4t50X.info(`Not found in VS 2015 location: ${path}`);\n throw new Error(\"Microsoft Visual Studio not found\");\n}\n$832772e652e526f0$export$a6a3bfb882356813 = $832772e652e526f0$var$findVcvarsall;\nfunction $832772e652e526f0$var$isPathVariable(name) {\n const pathLikeVariables = [\n \"PATH\",\n \"INCLUDE\",\n \"LIB\",\n \"LIBPATH\"\n ];\n return pathLikeVariables.indexOf(name.toUpperCase()) != -1;\n}\nfunction $832772e652e526f0$var$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/** See https://github.com/ilammy/msvc-dev-cmd#inputs */ function $832772e652e526f0$var$setupMSVCDevCmd(arch, sdk, toolset, uwp, spectre, vsversion) {\n if ($d7DIX$process.platform != \"win32\") {\n $4t50X.info(\"This is not a Windows virtual environment, bye!\");\n return;\n }\n // Add standard location of \"vswhere\" to PATH, in case it's not there.\n $d7DIX$process.env.PATH += $d7DIX$path.delimiter + $832772e652e526f0$var$VSWHERE_PATH;\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) arch = arch_aliases[arch.toLowerCase()];\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 var args = [\n arch\n ];\n if (uwp == \"true\") args.push(\"uwp\");\n if (sdk) args.push(sdk);\n if (toolset) args.push(`-vcvars_ver=${toolset}`);\n if (spectre == \"true\") args.push(\"-vcvars_spectre_libs=spectre\");\n const vcvars = `\"${$832772e652e526f0$var$findVcvarsall(vsversion)}\" ${args.join(\" \")}`;\n $4t50X.debug(`vcvars command-line: ${vcvars}`);\n const cmd_output_string = $d7DIX$child_process.execSync(`set && cls && ${vcvars} && cls && set`, {\n shell: \"cmd\"\n }).toString();\n const cmd_output_parts = cmd_output_string.split(\"\\f\");\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 // 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:$/)) return true;\n }\n return false;\n });\n if (error_messages.length > 0) throw new Error(\"invalid parameters\\r\\n\" + error_messages.join(\"\\r\\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 // 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 $4t50X.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(\"=\")) continue;\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 $4t50X.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 ($832772e652e526f0$var$isPathVariable(name)) new_value = $832772e652e526f0$var$filterPathValue(new_value);\n $4t50X.exportVariable(name, new_value);\n }\n }\n $4t50X.endGroup();\n $4t50X.info(`Configured Developer Command Prompt`);\n}\n$832772e652e526f0$export$443b8bb890f5027e = $832772e652e526f0$var$setupMSVCDevCmd;\n\n\n\n\nvar $ER74K = parcelRequire(\"ER74K\");\n\nvar $kY0n1 = parcelRequire(\"kY0n1\");\nfunction $ffa3775f67868b5f$var$getArch(arch) {\n switch(arch){\n case \"x32\":\n case \"32\":\n case \"ia32\":\n return \"x86\";\n case \"64\":\n return \"x64\";\n default:\n return arch;\n }\n}\nasync function $ffa3775f67868b5f$export$5dcf571c91fc8369(vsversion, VCTargetsPath, arch, toolset, sdk, uwp, spectre) {\n if (VCTargetsPath !== undefined && await (0, $kY0n1.pathExists)(VCTargetsPath)) {\n (0, $ER74K.info)(`Adding ${VCTargetsPath} to PATH`);\n await (0, $85fd7153285bfba5$export$f63d3080ce25e0fd)(\"VCTargetsPath\", VCTargetsPath);\n }\n (0, $832772e652e526f0$export$443b8bb890f5027e)($ffa3775f67868b5f$var$getArch(arch), sdk, toolset, uwp, spectre, vsversion);\n}\n\n\n\nclass $b9333a802c23edcc$export$66d311bf29d5c89c extends Error {\n constructor(message){\n super(message);\n this.name = \"TimeoutError\";\n }\n}\nclass $b9333a802c23edcc$export$18b052ffd8c84d7 extends Error {\n constructor(message){\n super();\n this.name = \"AbortError\";\n this.message = message;\n }\n}\n/**\nTODO: Remove AbortError and just throw DOMException when targeting Node 18.\n*/ const $b9333a802c23edcc$var$getDOMException = (errorMessage)=>globalThis.DOMException === undefined ? new $b9333a802c23edcc$export$18b052ffd8c84d7(errorMessage) : new DOMException(errorMessage);\n/**\nTODO: Remove below function and just 'reject(signal.reason)' when targeting Node 18.\n*/ const $b9333a802c23edcc$var$getAbortedReason = (signal)=>{\n const reason = signal.reason === undefined ? $b9333a802c23edcc$var$getDOMException(\"This operation was aborted.\") : signal.reason;\n return reason instanceof Error ? reason : $b9333a802c23edcc$var$getDOMException(reason);\n};\nfunction $b9333a802c23edcc$export$2e2bcd8739ae039(promise, options) {\n const { milliseconds: milliseconds, fallback: fallback, message: message, customTimers: customTimers = {\n setTimeout: setTimeout,\n clearTimeout: clearTimeout\n } } = options;\n let timer;\n const wrappedPromise = new Promise((resolve, reject)=>{\n if (typeof milliseconds !== \"number\" || Math.sign(milliseconds) !== 1) throw new TypeError(`Expected \\`milliseconds\\` to be a positive number, got \\`${milliseconds}\\``);\n if (options.signal) {\n const { signal: signal } = options;\n if (signal.aborted) reject($b9333a802c23edcc$var$getAbortedReason(signal));\n signal.addEventListener(\"abort\", ()=>{\n reject($b9333a802c23edcc$var$getAbortedReason(signal));\n });\n }\n if (milliseconds === Number.POSITIVE_INFINITY) {\n promise.then(resolve, reject);\n return;\n }\n // We create the error outside of `setTimeout` to preserve the stack trace.\n const timeoutError = new $b9333a802c23edcc$export$66d311bf29d5c89c();\n timer = customTimers.setTimeout.call(undefined, ()=>{\n if (fallback) {\n try {\n resolve(fallback());\n } catch (error) {\n reject(error);\n }\n return;\n }\n if (typeof promise.cancel === \"function\") promise.cancel();\n if (message === false) resolve();\n else if (message instanceof Error) reject(message);\n else {\n timeoutError.message = message ?? `Promise timed out after ${milliseconds} milliseconds`;\n reject(timeoutError);\n }\n }, milliseconds);\n (async ()=>{\n try {\n resolve(await promise);\n } catch (error) {\n reject(error);\n }\n })();\n });\n const cancelablePromise = wrappedPromise.finally(()=>{\n cancelablePromise.clear();\n });\n cancelablePromise.clear = ()=>{\n customTimers.clearTimeout.call(undefined, timer);\n timer = undefined;\n };\n return cancelablePromise;\n}\n\n\n\nconst $38b6fc81fd22ef04$export$7bd623b29ec8e1eb = 1200000 // 20 minutes\n;\nasync function $38b6fc81fd22ef04$export$ddb4b945c8581272(tool, version, osVersion, arch, setupCppDir, successMessages, errorMessages, timeout = $38b6fc81fd22ef04$export$7bd623b29ec8e1eb) {\n (0, $4t50X.startGroup)(`Installing ${tool} ${version}`);\n let hasLLVM = false;\n try {\n hasLLVM = await (0, $b9333a802c23edcc$export$2e2bcd8739ae039)($38b6fc81fd22ef04$var$installToolImpl(tool, version, osVersion, arch, hasLLVM, setupCppDir, successMessages), {\n milliseconds: timeout,\n message: `Timeout while installing ${tool} ${version}. You can increase the timeout from options`\n });\n } catch (e) {\n // push error message to the logger\n (0, $ER74K.error)(e);\n errorMessages.push(`${tool} failed to install`);\n }\n (0, $4t50X.endGroup)();\n return hasLLVM;\n}\nasync function $38b6fc81fd22ef04$var$installToolImpl(tool, version, osVersion, arch, hasLLVM, setupCppDir, successMessages) {\n let installationInfo;\n if (tool === \"vcvarsall\") // eslint-disable-next-line no-await-in-loop\n await (0, $ffa3775f67868b5f$export$5dcf571c91fc8369)((0, $cb3b5dc5a4eadeb1$export$c506eb22e615ba4a)(tool, version, osVersion), undefined, arch, undefined, undefined, false, false);\n else {\n // get the setup function\n const setupFunction = (0, $f58f76cc72dbc50d$export$18a3521ac7306af4)[tool];\n // eslint-disable-next-line no-param-reassign\n hasLLVM = [\n \"llvm\",\n \"clangformat\",\n \"clangtidy\"\n ].includes(tool);\n // the tool installation directory (for the functions that ue it)\n const setupDir = (0, $bzNgi.join)(setupCppDir, hasLLVM ? \"llvm\" : tool);\n // eslint-disable-next-line no-await-in-loop\n installationInfo = await setupFunction((0, $cb3b5dc5a4eadeb1$export$c506eb22e615ba4a)(tool, version, osVersion), setupDir, arch);\n }\n // preparing a report string\n successMessages.push((0, $447038b429c54f91$export$ad22d805bb3bfaf5)(tool, installationInfo));\n return hasLLVM;\n}\n\n\nconst { readFile: $cf098dcb81ecb127$var$readFile, writeFile: $cf098dcb81ecb127$var$writeFile, chmod: $cf098dcb81ecb127$var$chmod } = (0, $d7DIX$fs.promises);\nvar $cf098dcb81ecb127$export$35fa309210df3df6;\n(function(LLVMPackages) {\n LLVMPackages[LLVMPackages[\"All\"] = 0] = \"All\";\n LLVMPackages[LLVMPackages[\"ClangFormat\"] = 1] = \"ClangFormat\";\n LLVMPackages[LLVMPackages[\"Core\"] = 2] = \"Core\";\n})($cf098dcb81ecb127$export$35fa309210df3df6 || ($cf098dcb81ecb127$export$35fa309210df3df6 = {}));\nasync function $cf098dcb81ecb127$export$a86791c88ded7e54(majorVersion, packages = 0) {\n // TODO for older versions, this also includes the minor version\n const installationFolder = `/usr/lib/llvm-${majorVersion}`;\n await (0, $f0410b58de32386f$export$d73dc343f5abf26)([\n {\n name: \"curl\"\n }\n ]);\n await (0, $54908482e02f4b6d$export$db6b1668e3758717)(\"curl\", [\n \"-LJO\",\n \"https://apt.llvm.org/llvm.sh\"\n ], {\n cwd: \"/tmp\"\n });\n const neededPackages = await $cf098dcb81ecb127$var$patchAptLLVMScript(\"/tmp/llvm.sh\", \"/tmp/llvm-setup-cpp.sh\", majorVersion, packages);\n await (0, $f0410b58de32386f$export$d73dc343f5abf26)(neededPackages);\n await $cf098dcb81ecb127$var$chmod(\"/tmp/llvm-setup-cpp.sh\", \"755\");\n await (0, $4467f131fc22cbb2$export$351270479e2eef26)(\"bash\", [\n \"/tmp/llvm-setup-cpp.sh\",\n `${majorVersion}`,\n ...packages === 0 ? [\n \"all\"\n ] : []\n ], {\n stdio: \"inherit\",\n shell: true,\n timeout: (0, $38b6fc81fd22ef04$export$7bd623b29ec8e1eb)\n });\n await (0, $85fd7153285bfba5$export$4c25481b843feb0b)(`${installationFolder}/bin`);\n return {\n installDir: `${installationFolder}`,\n binDir: `${installationFolder}/bin`,\n bin: `${installationFolder}/bin/clang++`\n };\n}\nasync function $cf098dcb81ecb127$var$patchAptLLVMScript(path, target_path, majorVersion, packages) {\n let script = await $cf098dcb81ecb127$var$readFile(path, \"utf-8\");\n script = $cf098dcb81ecb127$var$debugScript(script);\n script = $cf098dcb81ecb127$var$nonInteractiveScript(script);\n script = $cf098dcb81ecb127$var$choosePackages(packages, script, majorVersion);\n script = await $cf098dcb81ecb127$var$removeConflictingPackages(script);\n script = $cf098dcb81ecb127$var$useNalaScript(script);\n await $cf098dcb81ecb127$var$writeFile(target_path, script);\n // the packages needed by the script\n return [\n {\n name: \"lsb-release\"\n },\n {\n name: \"wget\"\n },\n {\n name: \"software-properties-common\"\n },\n {\n name: \"gnupg\"\n }\n ];\n}\nfunction $cf098dcb81ecb127$var$debugScript(script) {\n if (!process.env.NODE_DEBUG) return script.replace(/set -eux/g, \"set -eu\");\n return script;\n}\nfunction $cf098dcb81ecb127$var$nonInteractiveScript(script) {\n // make the scirpt non-interactive and fix broken packages\n return script.replace(/add-apt-repository \"\\${REPO_NAME}\"/g, // eslint-disable-next-line no-template-curly-in-string\n 'add-apt-repository -y \"${REPO_NAME}\"');\n}\nasync function $cf098dcb81ecb127$var$removeConflictingPackages(givenScript) {\n // fix conflicts between libclang-rt and libclang\n let script = givenScript.replace(/apt-get install -y/g, 'apt-get install -o Dpkg::Options::=\"--force-overwrite\" -y --fix-broken');\n // check if these are installed and if so, remove them from the script as they conflict\n const conflictingPackages = [\n \"libc++-$LLVM_VERSION-dev\",\n \"libc++abi-$LLVM_VERSION-dev\",\n \"libunwind-$LLVM_VERSION-dev\"\n ];\n await Promise.all(conflictingPackages.map(async (pack)=>{\n const installingPack = pack.replace(\"$LLVM_VERSION\", \"*\");\n if (await (0, $f0410b58de32386f$export$ec2e4deaa1231ecf)(installingPack)) {\n (0, $d7DIX$console.info)(`Removing conflicting package ${installingPack}`);\n script = script.replace(pack, \"\");\n }\n }));\n return script;\n}\nfunction $cf098dcb81ecb127$var$useNalaScript(script) {\n // use nala if it is available\n if ((0, $f0410b58de32386f$export$89548d91e84ae1a1)()) return script.replace(/apt-get/g, \"nala\");\n return script;\n}\nfunction $cf098dcb81ecb127$var$choosePackages(packages, script, majorVersion) {\n if (packages === 1) return script.replace(/ -y \\$PKG/g, ` -y clang-format-${majorVersion}`);\n return script;\n}\n\n\n\nvar $8aNoG = parcelRequire(\"8aNoG\");\n\n\n\nvar $ER74K = parcelRequire(\"ER74K\");\n\nvar $bzNgi = parcelRequire(\"bzNgi\");\n\nconst $83abdd9bf69b2f6a$export$aa5307f1aca77413 = (0, $5683decf99cdafe6$export$cbd9528a83fbffa1)([\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 \"15.0.0\",\n \"15.0.1\",\n \"15.0.2\",\n \"15.0.3\",\n \"15.0.4\",\n \"15.0.5\",\n \"15.0.6\",\n \"15.0.7\",\n \"16.0.0\",\n \"16.0.1\",\n \"16.0.2\",\n \"16.0.3\",\n \"16.0.4\",\n \"16.0.5\",\n \"16.0.6\",\n \"17.0.1\",\n \"17.0.2\",\n \"17.0.3\",\n \"17.0.4\",\n \"17.0.5\"\n]);\n/** The LLVM versions that were never released for the Windows platform. */ const $83abdd9bf69b2f6a$var$WIN32_MISSING = new Set([\n \"10.0.1\",\n \"15.0.5\",\n \"15.0.6\",\n \"17.0.5\"\n]);\n/** The LLVM versions that were never released for the Darwin platform. */ const $83abdd9bf69b2f6a$var$DARWIN_MISSING = 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 // missing x86_64\n // TODO add arm64 support\n \"15.0.4\",\n \"15.0.5\",\n \"15.0.6\",\n \"16.0.0\",\n \"16.0.1\",\n \"16.0.2\",\n \"16.0.3\",\n \"16.0.4\",\n \"16.0.5\",\n \"16.0.6\",\n \"17.0.1\",\n \"17.0.2\",\n \"17.0.3\",\n \"17.0.4\",\n \"17.0.5\"\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 */ const $83abdd9bf69b2f6a$var$UBUNTU_RC = new Map();\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 */ // TODO change based on ubuntu version\nconst $83abdd9bf69b2f6a$var$UBUNTU_SUFFIX_MAP = {\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 \"15.0.2\": \"-rhel86\",\n \"15.0.5\": \"-ubuntu-18.04\",\n \"15.0.6\": \"-ubuntu-18.04\",\n \"16.0.0\": \"-ubuntu-18.04\",\n \"16.0.2\": \"-ubuntu-22.04\",\n \"16.0.3\": \"-ubuntu-22.04\",\n \"16.0.4\": \"-ubuntu-22.04\",\n \"17.0.2\": \"-ubuntu-22.04\",\n \"17.0.4\": \"-ubuntu-22.04\",\n \"17.0.5\": \"-ubuntu-22.04\"\n};\n/** The latest supported LLVM version for the Linux (Ubuntu) platform. */ const $83abdd9bf69b2f6a$var$MAX_UBUNTU = \"17.0.5\";\n//================================================\n// URL\n//================================================\n/** Gets a LLVM download URL for GitHub. */ function $83abdd9bf69b2f6a$var$getGitHubUrl(version, prefix, suffix) {\n const file = `${prefix}${version}${suffix}`;\n return `https://github.com/llvm/llvm-project/releases/download/llvmorg-${version}/${file}`;\n}\n/** Gets a LLVM download URL for https://releases.llvm.org. */ function $83abdd9bf69b2f6a$var$getReleaseUrl(version, prefix, suffix) {\n const file = `${prefix}${version}${suffix}`;\n return `https://releases.llvm.org/${version}/${file}`;\n}\n/** Gets an LLVM download URL for the Darwin platform. */ function $83abdd9bf69b2f6a$var$getDarwinUrl(version) {\n if ($83abdd9bf69b2f6a$var$DARWIN_MISSING.has(version)) return null;\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 ((0, (/*@__PURE__*/$parcel$interopDefault($8aNoG)))(version, \"9.0.1\")) return $83abdd9bf69b2f6a$var$getReleaseUrl(version, prefix, suffix);\n else return $83abdd9bf69b2f6a$var$getGitHubUrl(version, prefix, suffix);\n}\nfunction $83abdd9bf69b2f6a$export$ae24f9682a44836b(versionGiven) {\n let version = versionGiven;\n const rc = $83abdd9bf69b2f6a$var$UBUNTU_RC.get(version);\n if (rc !== undefined) version = rc;\n let linuxVersion;\n // ubuntu-version is specified\n if (version.includes(\"ubuntu\")) {\n const givenUbuntuVersion = version.replace(/-ubuntu-.*/, \"\");\n if (!$83abdd9bf69b2f6a$export$aa5307f1aca77413.has(givenUbuntuVersion)) throw new Error(`Unsupported Ubuntu version: ${givenUbuntuVersion}`);\n linuxVersion = version.replace(givenUbuntuVersion, \"\");\n version = (0, $5683decf99cdafe6$export$deb1064c8260c54c)($83abdd9bf69b2f6a$export$aa5307f1aca77413, givenUbuntuVersion)[0];\n } else if (version !== \"\" && version in $83abdd9bf69b2f6a$var$UBUNTU_SUFFIX_MAP) linuxVersion = $83abdd9bf69b2f6a$var$UBUNTU_SUFFIX_MAP[version];\n else {\n // default to the maximum version\n linuxVersion = $83abdd9bf69b2f6a$var$UBUNTU_SUFFIX_MAP[$83abdd9bf69b2f6a$var$MAX_UBUNTU];\n (0, $ER74K.warning)(`Falling back to LLVM version ${$83abdd9bf69b2f6a$var$MAX_UBUNTU} ${linuxVersion} for the Ubuntu.`);\n }\n const prefix = \"clang+llvm-\";\n let suffix;\n if (version === \"5.0.0\") suffix = `-linux-x86_64${linuxVersion}.tar.xz`;\n else if (linuxVersion.includes(\"-rhel86\")) suffix = `-x86_64-unknown-linux-gnu${linuxVersion}.tar.xz`;\n else suffix = `-x86_64-linux-gnu${linuxVersion}.tar.xz`;\n if ((0, (/*@__PURE__*/$parcel$interopDefault($8aNoG)))(version, \"9.0.1\")) return $83abdd9bf69b2f6a$var$getReleaseUrl(version, prefix, suffix);\n else return $83abdd9bf69b2f6a$var$getGitHubUrl(version, prefix, suffix);\n}\n/** Gets an LLVM download URL for the Windows platform. */ async function $83abdd9bf69b2f6a$var$getWin32Url(version) {\n if ($83abdd9bf69b2f6a$var$WIN32_MISSING.has(version)) return null;\n const prefix = \"LLVM-\";\n const suffix = (0, (/*@__PURE__*/$parcel$interopDefault($8aNoG)))(version, \"3.7.0\") ? \"-win32.exe\" : \"-win64.exe\";\n const olderThan9_1 = (0, (/*@__PURE__*/$parcel$interopDefault($8aNoG)))(version, \"9.0.1\");\n let url;\n let fallback = false;\n if (olderThan9_1) {\n url = $83abdd9bf69b2f6a$var$getReleaseUrl(version, prefix, suffix);\n if (!await (0, $19873b61ea31f597$export$61e6a71eee2b02f9)(url)) fallback = true // fallback to github\n ;\n }\n if (fallback || !olderThan9_1) url = $83abdd9bf69b2f6a$var$getGitHubUrl(version, prefix, suffix);\n return url;\n}\nfunction $83abdd9bf69b2f6a$export$94df0e59ebebf4a7(platform, version) {\n switch(platform){\n case \"darwin\":\n return $83abdd9bf69b2f6a$var$getDarwinUrl(version);\n case \"linux\":\n return $83abdd9bf69b2f6a$export$ae24f9682a44836b(version);\n case \"win32\":\n return $83abdd9bf69b2f6a$var$getWin32Url(version);\n default:\n return null;\n }\n}\nasync function $83abdd9bf69b2f6a$export$f203993d12226a27(version, platform, // eslint-disable-next-line @typescript-eslint/no-unused-vars\n_arch) {\n const [specificVersion, url] = await (0, $5683decf99cdafe6$export$4e4d3581f69a6d71)($83abdd9bf69b2f6a$export$aa5307f1aca77413, platform, version, $83abdd9bf69b2f6a$export$94df0e59ebebf4a7);\n (0, $ER74K.info)(`specific llvm version: ${specificVersion}`);\n return {\n url: url,\n extractedFolderName: \"\",\n binRelativeDir: \"bin\",\n binFileName: (0, $bzNgi.addExeExt)(\"clang\"),\n extractFunction: platform === \"win32\" ? (0, $4615baf4c3b031c2$export$7949938b2681a4f0) : (file, dest)=>{\n return (0, $4615baf4c3b031c2$export$2ab07ac150064014)(file, dest, [\n \"--strip-components=1\"\n ]);\n }\n };\n}\n\n\n\nvar $0213127e07869fde$var$$parcel$__dirname = $d7DIX$path.resolve(__dirname, \"../../src/llvm\");\nasync function $0213127e07869fde$export$3016de7ae9d14988(version, setupDir, arch) {\n const installationInfo = await $0213127e07869fde$var$setupLLVMWithoutActivation(version, setupDir, arch);\n await $0213127e07869fde$export$6238b5ebfd6640e7(installationInfo.installDir ?? setupDir);\n return installationInfo;\n}\nasync function $0213127e07869fde$var$setupLLVMWithoutActivation_raw(version, setupDir, arch) {\n // install LLVM and its dependencies in parallel\n const [installationInfo, _1, _2] = await Promise.all([\n $0213127e07869fde$var$setupLLVMOnly(version, setupDir, arch),\n $0213127e07869fde$var$setupLLVMDeps(arch),\n $0213127e07869fde$var$addLLVMLoggingMatcher()\n ]);\n return installationInfo;\n}\nconst $0213127e07869fde$var$setupLLVMWithoutActivation = (0, $429c83835ea21620$export$2e2bcd8739ae039)($0213127e07869fde$var$setupLLVMWithoutActivation_raw, {\n isPromise: true\n});\nfunction $0213127e07869fde$export$1cf2d186cecf1f54(version, setupDir, arch) {\n return $0213127e07869fde$var$setupLLVMOnly(version, setupDir, arch, (0, $cf098dcb81ecb127$export$35fa309210df3df6).ClangFormat);\n}\nfunction $0213127e07869fde$export$814ccfc953503728(version, setupDir, arch) {\n return $0213127e07869fde$var$setupLLVMOnly(version, setupDir, arch);\n}\nasync function $0213127e07869fde$var$setupLLVMOnly(version, setupDir, arch, packages = (0, $cf098dcb81ecb127$export$35fa309210df3df6).All) {\n const coeredVersion = (0, $5683decf99cdafe6$export$afd7401db249098f)(version);\n const majorVersion = parseInt(coeredVersion.split(\".\")[0], 10);\n try {\n if ((0, $7b55ac603b97ae6e$export$da8baf1d6c6802b6)()) return await (0, $cf098dcb81ecb127$export$a86791c88ded7e54)(majorVersion, packages);\n } catch (err) {\n (0, $ER74K.info)(`Failed to install llvm via system package manager ${err}`);\n }\n const installationInfo = await (0, $d81b351c18e56f74$export$334f77c9844c21f6)(\"llvm\", version, (0, $83abdd9bf69b2f6a$export$f203993d12226a27), setupDir, arch);\n await $0213127e07869fde$var$llvmBinaryDeps(majorVersion);\n return installationInfo;\n}\nasync function $0213127e07869fde$var$llvmBinaryDeps_raw(majorVersion) {\n if ((0, $7b55ac603b97ae6e$export$da8baf1d6c6802b6)()) {\n if (majorVersion <= 10) await (0, $f0410b58de32386f$export$d73dc343f5abf26)([\n {\n name: \"libtinfo5\"\n }\n ]);\n else await (0, $f0410b58de32386f$export$d73dc343f5abf26)([\n {\n name: \"libtinfo-dev\"\n }\n ]);\n }\n}\nconst $0213127e07869fde$var$llvmBinaryDeps = (0, $429c83835ea21620$export$2e2bcd8739ae039)($0213127e07869fde$var$llvmBinaryDeps_raw, {\n isPromise: true\n});\nasync function $0213127e07869fde$var$setupLLVMDeps_raw(arch) {\n if (process.platform === \"linux\") // using llvm requires ld, an up to date libstdc++, etc. So, install gcc first,\n // but with a lower priority than the one used by activateLLVM()\n await (0, $bd769018416dc7f2$export$405fab3de79b77b)((0, $cb3b5dc5a4eadeb1$export$c506eb22e615ba4a)(\"gcc\", undefined, await (0, $d6a4ad0ff65d0a5e$export$49c9cf1111dfa0ee)()), \"\", arch, 40);\n}\nconst $0213127e07869fde$var$setupLLVMDeps = (0, $429c83835ea21620$export$2e2bcd8739ae039)($0213127e07869fde$var$setupLLVMDeps_raw, {\n isPromise: true\n});\nasync function $0213127e07869fde$export$6238b5ebfd6640e7(directory) {\n const ld = process.env.LD_LIBRARY_PATH ?? \"\";\n const dyld = process.env.DYLD_LIBRARY_PATH ?? \"\";\n const actPromises = [\n // the output of this action\n (0, $85fd7153285bfba5$export$f63d3080ce25e0fd)(\"LLVM_PATH\", directory),\n // Setup LLVM as the compiler\n (0, $85fd7153285bfba5$export$f63d3080ce25e0fd)(\"LD_LIBRARY_PATH\", `${directory}/lib${(0, $d7DIX$path.delimiter)}${ld}`),\n (0, $85fd7153285bfba5$export$f63d3080ce25e0fd)(\"DYLD_LIBRARY_PATH\", `${directory}/lib${(0, $d7DIX$path.delimiter)}${dyld}`),\n // compiler flags\n (0, $85fd7153285bfba5$export$f63d3080ce25e0fd)(\"LDFLAGS\", `-L\"${directory}/lib\"`),\n (0, $85fd7153285bfba5$export$f63d3080ce25e0fd)(\"CPPFLAGS\", `-I\"${directory}/include\"`),\n // compiler paths\n (0, $85fd7153285bfba5$export$f63d3080ce25e0fd)(\"CC\", (0, $bzNgi.addExeExt)(`${directory}/bin/clang`)),\n (0, $85fd7153285bfba5$export$f63d3080ce25e0fd)(\"CXX\", (0, $bzNgi.addExeExt)(`${directory}/bin/clang++`)),\n (0, $85fd7153285bfba5$export$f63d3080ce25e0fd)(\"LIBRARY_PATH\", `${directory}/lib`),\n // os sdks\n (0, $1ebfc945e4f5b17a$export$28f5fd35e3005b7a)()\n ];\n // TODO Causes issues with clangd\n // TODO Windows builds fail with llvm's CPATH\n // if (process.platform !== \"win32\") {\n // if (await pathExists(`${directory}/lib/clang/${version}/include`)) {\n // promises.push(addEnv(\"CPATH\", `${directory}/lib/clang/${version}/include`))\n // } else if (await pathExists(`${directory}/lib/clang/${llvmMajor}/include`)) {\n // promises.push(addEnv(\"CPATH\", `${directory}/lib/clang/${llvmMajor}/include`))\n // }\n // }\n if ((0, $7b55ac603b97ae6e$export$da8baf1d6c6802b6)()) {\n const priority = 60;\n actPromises.push((0, $f0410b58de32386f$export$6fe6436bd9f53d02)(\"cc\", `${directory}/bin/clang`, priority), (0, $f0410b58de32386f$export$6fe6436bd9f53d02)(\"cxx\", `${directory}/bin/clang++`, priority), (0, $f0410b58de32386f$export$6fe6436bd9f53d02)(\"clang\", `${directory}/bin/clang`), (0, $f0410b58de32386f$export$6fe6436bd9f53d02)(\"clang++\", `${directory}/bin/clang++`), (0, $f0410b58de32386f$export$6fe6436bd9f53d02)(\"lld\", `${directory}/bin/lld`), (0, $f0410b58de32386f$export$6fe6436bd9f53d02)(\"ld.lld\", `${directory}/bin/ld.lld`), (0, $f0410b58de32386f$export$6fe6436bd9f53d02)(\"llvm-ar\", `${directory}/bin/llvm-ar`));\n }\n await Promise.all(actPromises);\n}\nasync function $0213127e07869fde$var$addLLVMLoggingMatcher() {\n if (0, $52cQ1.GITHUB_ACTIONS) {\n const matcherPath = (0, $bzNgi.join)($0213127e07869fde$var$$parcel$__dirname, \"llvm_matcher.json\");\n if (!await (0, $kY0n1.pathExists)(matcherPath)) return (0, $ER74K.warning)(\"the llvm_matcher.json file does not exist in the same folder as setup-cpp.js\");\n (0, $ER74K.info)(`::add-matcher::${matcherPath}`);\n }\n}\n\n\n\n\n\n\n\n\n\n\n\nasync function $b2527beb3f2e4071$export$b0a9411329e2916(version, _setupDir, _arch) {\n switch(process.platform){\n case \"win32\":\n return (0, $ca3ee4fd324ae5e9$export$9f6912bc890040b2)(\"make\", version);\n case \"darwin\":\n await (0, $10ddbd636565d4da$export$ce5d13d8a85cb784)(\"make\", version);\n await (0, $85fd7153285bfba5$export$4c25481b843feb0b)(\"/usr/local/opt/make/libexec/gnubin\");\n return {\n binDir: \"/usr/local/opt/make/libexec/gnubin\"\n };\n case \"linux\":\n if ((0, $84785c71f430250a$export$d415ddb6702ec3a2)()) return (0, $6f126e8fe01fa080$export$cfa75578ee2d6e6c)(\"make\", version);\n else if ((0, $3cbfee605ac1e082$export$8ce8b4b22331a8c7)()) return (0, $7e2451edad050552$export$49d4f9ba8e0dd34f)([\n {\n name: \"make\",\n version: version\n }\n ]);\n else if ((0, $7b55ac603b97ae6e$export$da8baf1d6c6802b6)()) return (0, $f0410b58de32386f$export$d73dc343f5abf26)([\n {\n name: \"make\",\n version: version\n }\n ]);\n throw new Error(`Unsupported linux distribution`);\n default:\n throw new Error(`Unsupported platform`);\n }\n}\n\n\n\nfunction $841211d84f4a44cd$export$f73905553f087748(version, _setupDir, _arch) {\n return (0, $cfebcec0830c9a7b$export$4020cb77ffa3ffac)(\"meson\", version);\n}\n\n\n\n\n\n\nvar $52cQ1 = parcelRequire(\"52cQ1\");\n\nvar $bzNgi = parcelRequire(\"bzNgi\");\n\nvar $ER74K = parcelRequire(\"ER74K\");\n\nvar $kY0n1 = parcelRequire(\"kY0n1\");\n\nvar $756746e991f4f289$var$$parcel$__dirname = $d7DIX$path.resolve(__dirname, \"../../src/msvc\");\nasync function $756746e991f4f289$export$a91ef0362c1a7298(versionGiven, _setupDir, arch, sdk, uwp, spectre) {\n if (process.platform !== \"win32\") return;\n const version = (0, $832772e652e526f0$export$3c7cae5a162b1458)(versionGiven);\n // check if the given version is already installed\n (0, $ER74K.info)(`Checking if MSVC ${version} is already installed`);\n let installed = false;\n try {\n const vcvarsall_path = (0, $832772e652e526f0$export$a6a3bfb882356813)(version);\n installed = true;\n (0, $ER74K.info)(`Found the pre-installed version of MSVC at ${vcvarsall_path}`);\n } catch {\n // not installed, try installing\n }\n let toolset;\n let VCTargetsPath;\n // https://github.com/aminya/setup-cpp/issues/1\n if (!installed) try {\n if (version === \"14.0\") {\n toolset = \"14.0\";\n await (0, $ca3ee4fd324ae5e9$export$9f6912bc890040b2)(\"visualcpp-build-tools\", \"14.0.25420.1\", [\n \"--ignore-dependencies\"\n ]);\n VCTargetsPath = \"C:/Program Files (x86)/MSBuild/Microsoft.Cpp/v4.0/v140\";\n } else if (version === \"15.0\") {\n toolset = \"14.16\";\n await (0, $ca3ee4fd324ae5e9$export$9f6912bc890040b2)(\"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 ;\n } else if (version === \"16.0\") {\n toolset = \"14.29\";\n await (0, $ca3ee4fd324ae5e9$export$9f6912bc890040b2)(\"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 (0, $ca3ee4fd324ae5e9$export$9f6912bc890040b2)(\"visualstudio2022buildtools\", \"117.0.5.0\", []);\n VCTargetsPath = undefined;\n } else (0, $ER74K.error)(`The given MSVC versions ${versionGiven} is not supported yet.`);\n } catch (e) {\n (0, $ER74K.error)(e);\n }\n // run vcvarsall.bat environment variables\n await (0, $ffa3775f67868b5f$export$5dcf571c91fc8369)(version, VCTargetsPath, arch, toolset, sdk, uwp, spectre);\n if (0, $52cQ1.GITHUB_ACTIONS) await $756746e991f4f289$var$addMSVCLoggingMatcher();\n}\nasync function $756746e991f4f289$var$addMSVCLoggingMatcher() {\n const matcherPath = (0, $bzNgi.join)($756746e991f4f289$var$$parcel$__dirname, \"msvc_matcher.json\");\n if (!await (0, $kY0n1.pathExists)(matcherPath)) return (0, $ER74K.warning)(\"the msvc_matcher.json file does not exist in the same folder as setup-cpp.js\");\n (0, $ER74K.info)(`::add-matcher::${matcherPath}`);\n}\n\n\n\nvar $bzNgi = parcelRequire(\"bzNgi\");\n\n\n\n\nlet $24fc56c48fbaa7ba$var$binDir;\nasync function $24fc56c48fbaa7ba$export$d73cbe8caeff03c5(version, _setupDir, _arch) {\n if (!(0, $7b55ac603b97ae6e$export$da8baf1d6c6802b6)()) return undefined;\n if (typeof $24fc56c48fbaa7ba$var$binDir === \"string\") return {\n binDir: $24fc56c48fbaa7ba$var$binDir\n };\n const maybeBinDir = (0, (/*@__PURE__*/$parcel$interopDefault($851ef3bcd445adf9$exports))).sync(\"nala\", {\n nothrow: true\n });\n if (maybeBinDir !== null) {\n $24fc56c48fbaa7ba$var$binDir = (0, $bzNgi.dirname)(maybeBinDir);\n return {\n binDir: $24fc56c48fbaa7ba$var$binDir\n };\n }\n // https://github.com/volitank/nala#-installation\n const keyFileName = await (0, $f0410b58de32386f$export$7fb1a688af1305f0)(\"volian-archive-scar-unstable.gpg\", \"https://deb.volian.org/volian/scar.key\");\n (0, $4467f131fc22cbb2$export$58f152936f209932)(\"/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 try {\n if (version !== \"legacy\") await (0, $f0410b58de32386f$export$d73dc343f5abf26)([\n {\n name: \"nala\"\n }\n ], true);\n else await (0, $f0410b58de32386f$export$d73dc343f5abf26)([\n {\n name: \"nala-legacy\"\n }\n ], true);\n } catch (err) {\n await (0, $f0410b58de32386f$export$d73dc343f5abf26)([\n {\n name: \"nala-legacy\"\n }\n ], true);\n }\n $24fc56c48fbaa7ba$var$binDir = \"/usr/bin\" // eslint-disable-line require-atomic-updates\n ;\n return {\n binDir: $24fc56c48fbaa7ba$var$binDir\n };\n}\nfunction $24fc56c48fbaa7ba$export$2747aa8ef20f818d(script) {\n if ((0, $f0410b58de32386f$export$89548d91e84ae1a1)()) return `apt-get() { nala $@; }; export -f apt-get; ${script}; unset -f apt-get`;\n return script;\n}\n\n\n\n\n\nasync function $54ef9c824222402f$export$6aa28a97600a8ae3(version, _setupDir, _arch) {\n if (process.platform !== \"win32\") return;\n await (0, $ca3ee4fd324ae5e9$export$9f6912bc890040b2)(\"opencppcoverage\", version);\n const binDir = await $54ef9c824222402f$var$activateOpencppcoverage();\n return {\n binDir: binDir\n };\n}\nasync function $54ef9c824222402f$var$activateOpencppcoverage() {\n const binDir = \"C:/Program Files/OpenCppCoverage\";\n await (0, $85fd7153285bfba5$export$4c25481b843feb0b)(binDir);\n return binDir;\n}\n\n\n\n\n\n\n\n\n\n\n\n\n\nasync function $772fce954f353e90$export$1ff6ad96ee130aba(version, _setupDir, _arch) {\n switch(process.platform){\n case \"win32\":\n {\n await (0, $ca3ee4fd324ae5e9$export$9f6912bc890040b2)(\"powershell-core\", version);\n const binDir = \"C:/Program Files/PowerShell/7\";\n await (0, $85fd7153285bfba5$export$4c25481b843feb0b)(binDir);\n return {\n binDir: binDir\n };\n }\n case \"darwin\":\n return (0, $10ddbd636565d4da$export$ce5d13d8a85cb784)(\"powershell\", version, [\n \"--cask\"\n ]);\n case \"linux\":\n if ((0, $84785c71f430250a$export$d415ddb6702ec3a2)()) return (0, $6f126e8fe01fa080$export$cfa75578ee2d6e6c)(\"powershell-bin\", version, \"yay\");\n else if ((0, $3cbfee605ac1e082$export$8ce8b4b22331a8c7)()) {\n (0, $7e2451edad050552$export$49d4f9ba8e0dd34f)([\n {\n name: \"curl\"\n }\n ]);\n (0, $4467f131fc22cbb2$export$58f152936f209932)(\"/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 (0, $7e2451edad050552$export$49d4f9ba8e0dd34f)([\n {\n name: \"powershell\",\n version: version\n }\n ]);\n } else if ((0, $7b55ac603b97ae6e$export$da8baf1d6c6802b6)()) {\n await (0, $f0410b58de32386f$export$d73dc343f5abf26)([\n {\n name: \"curl\"\n }\n ]);\n const ubuntuVerSplitted = await (0, $d6a4ad0ff65d0a5e$export$49c9cf1111dfa0ee)();\n const ubuntuVersionString = `${ubuntuVerSplitted[0]}.0${ubuntuVerSplitted[1]}`;\n (0, $4467f131fc22cbb2$export$58f152936f209932)(\"curl\", [\n \"-LJO\",\n `https://packages.microsoft.com/config/ubuntu/${ubuntuVersionString}/packages-microsoft-prod.deb`\n ]);\n (0, $4467f131fc22cbb2$export$58f152936f209932)(\"dpkg\", [\n \"-i\",\n \"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 return (0, $f0410b58de32386f$export$d73dc343f5abf26)([\n {\n name: \"powershell\",\n version: version\n }\n ], true);\n }\n throw new Error(`Unsupported linux distribution`);\n default:\n throw new Error(`Unsupported platform`);\n }\n}\n\n\n\n\n\nfunction $bcbacc5f1ce862e1$export$b963b67cda80fdc(version, _setupDir, _arch) {\n switch(process.platform){\n case \"win32\":\n return (0, $ca3ee4fd324ae5e9$export$9f6912bc890040b2)(\"sccache\", version);\n case \"linux\":\n case \"darwin\":\n return (0, $10ddbd636565d4da$export$ce5d13d8a85cb784)(\"sccache\", version);\n default:\n throw new Error(`Unsupported platform`);\n }\n}\n\n\n\n\nvar $bzNgi = parcelRequire(\"bzNgi\");\n\n\n/** Get the platform name task uses in their download links */ function $19fb71dac36c98fd$var$getTaskPlatform(platform) {\n switch(platform){\n case \"win32\":\n return \"windows\";\n default:\n return platform;\n }\n}\n/** Get the arch name task uses in their download links */ function $19fb71dac36c98fd$var$getTaskArch(arch) {\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/** Get the platform data for task */ function $19fb71dac36c98fd$var$getTaskPackageInfo(version, platform, arch) {\n const taskPlatform = $19fb71dac36c98fd$var$getTaskPlatform(platform);\n const taskArch = $19fb71dac36c98fd$var$getTaskArch(arch);\n const isZip = platform === \"win32\";\n const extension = isZip ? \"zip\" : \"tar.gz\";\n return {\n binRelativeDir: \"\",\n binFileName: (0, $bzNgi.addExeExt)(\"task\"),\n extractedFolderName: \"\",\n extractFunction: isZip ? (0, $4615baf4c3b031c2$export$6411c5cbab21135b) : (0, $4615baf4c3b031c2$export$2ab07ac150064014),\n url: `https://github.com/go-task/task/releases/download/v${version}/task_${taskPlatform}_${taskArch}.${extension}`\n };\n}\nfunction $19fb71dac36c98fd$export$4456b3a3d3540077(version, setupDir, arch) {\n return (0, $d81b351c18e56f74$export$334f77c9844c21f6)(\"task\", version, $19fb71dac36c98fd$var$getTaskPackageInfo, setupDir, arch);\n}\n\n\n\n\nvar $ER74K = parcelRequire(\"ER74K\");\n\nvar $kY0n1 = parcelRequire(\"kY0n1\");\n\nvar $bzNgi = parcelRequire(\"bzNgi\");\n\n\n\n\n\n\n\n\n\nlet $6de10099eaeb725f$var$hasVCPKG = false;\nasync function $6de10099eaeb725f$export$490bdba4ef3e3f82(_version, setupDir, _arch) {\n if (!$6de10099eaeb725f$var$hasVCPKG || (0, (/*@__PURE__*/$parcel$interopDefault($851ef3bcd445adf9$exports))).sync(\"vcpkg\", {\n nothrow: true\n }) === null) {\n if (process.platform === \"linux\") {\n // vcpkg download and extraction dependencies\n if ((0, $84785c71f430250a$export$d415ddb6702ec3a2)()) await Promise.all([\n (0, $6f126e8fe01fa080$export$cfa75578ee2d6e6c)(\"curl\"),\n (0, $6f126e8fe01fa080$export$cfa75578ee2d6e6c)(\"zip\"),\n (0, $6f126e8fe01fa080$export$cfa75578ee2d6e6c)(\"unzip\"),\n (0, $6f126e8fe01fa080$export$cfa75578ee2d6e6c)(\"tar\"),\n (0, $6f126e8fe01fa080$export$cfa75578ee2d6e6c)(\"git\"),\n (0, $6f126e8fe01fa080$export$cfa75578ee2d6e6c)(\"pkg-config\")\n ]);\n else if ((0, $3cbfee605ac1e082$export$8ce8b4b22331a8c7)()) await (0, $7e2451edad050552$export$49d4f9ba8e0dd34f)([\n {\n name: \"curl\"\n },\n {\n name: \"zip\"\n },\n {\n name: \"unzip\"\n },\n {\n name: \"tar\"\n },\n {\n name: \"git\"\n },\n {\n name: \"pkg-config\"\n }\n ]);\n else if ((0, $7b55ac603b97ae6e$export$da8baf1d6c6802b6)()) await (0, $f0410b58de32386f$export$d73dc343f5abf26)([\n {\n name: \"curl\"\n },\n {\n name: \"zip\"\n },\n {\n name: \"unzip\"\n },\n {\n name: \"tar\"\n },\n {\n name: \"git\"\n },\n {\n name: \"pkg-config\"\n }\n ]);\n }\n if (!await (0, $kY0n1.pathExists)((0, $bzNgi.join)(setupDir, (0, $bzNgi.addShExt)(\"bootstrap-vcpkg\", \".bat\")))) (0, $54908482e02f4b6d$export$28823a701bb5a12d)(\"git\", [\n \"clone\",\n \"https://github.com/microsoft/vcpkg\"\n ], {\n cwd: (0, $bzNgi.dirname)(setupDir),\n stdio: \"inherit\"\n });\n else (0, $ER74K.notice)(`Vcpkg folder already exists at ${setupDir}. This might mean that ~/vcpkg is restored from the cache.`);\n (0, $54908482e02f4b6d$export$28823a701bb5a12d)((0, $bzNgi.addShExt)((0, $bzNgi.addShRelativePrefix)(\"bootstrap-vcpkg\"), \".bat\"), {\n cwd: setupDir,\n shell: true,\n stdio: \"inherit\"\n });\n await (0, $8c9709291dc275bc$export$4718e061a205eab)(setupDir);\n await (0, $85fd7153285bfba5$export$4c25481b843feb0b)(setupDir);\n // eslint-disable-next-line require-atomic-updates\n $6de10099eaeb725f$var$hasVCPKG = true;\n return {\n binDir: setupDir\n };\n }\n return {\n binDir: (0, $bzNgi.dirname)((0, (/*@__PURE__*/$parcel$interopDefault($851ef3bcd445adf9$exports))).sync(\"vcpkg\"))\n };\n}\n\n\n\nconst $f58f76cc72dbc50d$export$18a3521ac7306af4 = {\n nala: (0, $24fc56c48fbaa7ba$export$d73cbe8caeff03c5),\n cmake: (0, $cd6a37a8a2760b1d$export$c28663a621f418ce),\n ninja: (0, $c8e436f083063bf5$export$e6190f4bfe2ef71),\n python: (0, $ae5265b0f840d575$export$2b0b68e9df3d4a02),\n vcpkg: (0, $6de10099eaeb725f$export$490bdba4ef3e3f82),\n bazel: (0, $8550ac0edfced131$export$a66bc93580b0a849),\n conan: (0, $928be18130bb437a$export$249d0c7d779d362f),\n meson: (0, $841211d84f4a44cd$export$f73905553f087748),\n gcovr: (0, $9e5689f497201ccc$export$b98d69f362caf61f),\n opencppcoverage: (0, $54ef9c824222402f$export$6aa28a97600a8ae3),\n llvm: (0, $0213127e07869fde$export$3016de7ae9d14988),\n gcc: (0, $bd769018416dc7f2$export$405fab3de79b77b),\n choco: (0, $5540d46c90af649b$export$b804d731cdad7ef9),\n brew: (0, $b05e6e28215ee948$export$c5eeb9c87a610a0e),\n powershell: (0, $772fce954f353e90$export$1ff6ad96ee130aba),\n ccache: (0, $37a450505a669dce$export$111263621bbb0768),\n sccache: (0, $bcbacc5f1ce862e1$export$b963b67cda80fdc),\n doxygen: (0, $4b1f70d03c91cebd$export$b6e6613a954051ee),\n graphviz: (0, $9f6a19f1eee9e3b6$export$b885bd977caaafb9),\n cppcheck: (0, $6f659008f4a1ac73$export$13d77464c548b5d3),\n clangtidy: (0, $0213127e07869fde$export$814ccfc953503728),\n clangformat: (0, $0213127e07869fde$export$1cf2d186cecf1f54),\n msvc: (0, $756746e991f4f289$export$a91ef0362c1a7298),\n vcvarsall: (0, $ffa3775f67868b5f$export$5dcf571c91fc8369),\n kcov: (0, $a32e41fd6d9c05e4$export$abb7c2ff987b1f6b),\n make: (0, $b2527beb3f2e4071$export$b0a9411329e2916),\n task: (0, $19fb71dac36c98fd$export$4456b3a3d3540077),\n sevenzip: (0, $6285d3d29afbf608$export$5fc39629e14c8173)\n};\nconst $f58f76cc72dbc50d$export$904054328df186b = Object.keys($f58f76cc72dbc50d$export$18a3521ac7306af4);\nconst $f58f76cc72dbc50d$export$7b388ca536128c6d = [\n \"compiler\",\n \"architecture\",\n \"timeout\",\n ...$f58f76cc72dbc50d$export$904054328df186b\n];\n\n\nfunction $447038b429c54f91$export$7300a92932ee17a3(args) {\n return (0, $9db6cbd493c17e7d$export$2e2bcd8739ae039)(args, {\n string: [\n ...(0, $f58f76cc72dbc50d$export$7b388ca536128c6d),\n \"timeout\"\n ],\n default: Object.fromEntries((0, $f58f76cc72dbc50d$export$7b388ca536128c6d).map((inp)=>[\n inp,\n $447038b429c54f91$export$fc4ce4d885cb1082(inp)\n ])),\n alias: {\n h: \"help\"\n },\n boolean: \"help\"\n });\n}\nfunction $447038b429c54f91$export$f57ebcae4da846e4() {\n (0, $ER74K.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--timeout\\t the timeout for the installation of each tool in minutes. By default it is 10 minutes.\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--$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`);\n console.table({\n \"compiler and analyzer\": {\n tools: `--llvm, --gcc, --msvc, --vcvarsall, --cppcheck, --clangtidy, --clangformat`\n },\n \"build system\": {\n tools: `--cmake, --ninja, --meson, --make, --task, --bazel`\n },\n \"package manager\": {\n tools: `--vcpkg, --conan, --choco, --brew, --nala`\n },\n cache: {\n tools: `--cppcache, --sccache`\n },\n documentation: {\n tools: `--doxygen, --graphviz`\n },\n coverage: {\n tools: `--gcovr, --opencppcoverage, --kcov`\n },\n other: {\n tools: `--python, --powershell, --sevenzip`\n }\n }, [\n \"tools\"\n ]);\n}\nfunction $447038b429c54f91$export$fc4ce4d885cb1082(key) {\n const value = (0, $4t50X.getInput)(key.toLowerCase());\n if (value !== \"false\" && value !== \"\") return value;\n return undefined // skip installation\n ;\n}\nfunction $447038b429c54f91$export$ad22d805bb3bfaf5(tool, installationInfo) {\n let msg = `\\u{2705} ${tool} was installed successfully:`;\n if (installationInfo === undefined) return msg;\n if (\"installDir\" in installationInfo) msg += `\\n- The installation directory is ${installationInfo.installDir}`;\n if (installationInfo.binDir !== \"\") msg += `\\n- The binary directory is ${installationInfo.binDir}`;\n return msg;\n}\n\n\n\nvar $4t50X = parcelRequire(\"4t50X\");\n\nvar $ER74K = parcelRequire(\"ER74K\");\n\n\nvar $l655J = parcelRequire(\"l655J\");\n\n\n\n\n\n\n\nfunction $546e05b24c5c5b72$export$588248dee5258836(compilerAndVersion) {\n const compilerAndMaybeVersion = compilerAndVersion.split(\"-\");\n const compiler = compilerAndMaybeVersion[0];\n if (1 in compilerAndMaybeVersion) {\n const maybeVersion = compilerAndMaybeVersion[1];\n if ((0, (/*@__PURE__*/$parcel$interopDefault($l655J)))(maybeVersion) !== null) return {\n compiler: compiler,\n version: maybeVersion\n };\n else {\n (0, $ER74K.info)(`Invalid semver version ${maybeVersion} used for the compiler.`);\n return {\n compiler: compiler,\n version: maybeVersion\n };\n }\n }\n return {\n compiler: compiler,\n version: undefined\n };\n}\nasync function $546e05b24c5c5b72$export$4dabf89bf6376d2b(compilerAndVersion, osVersion, setupCppDir, arch, successMessages, hasLLVM, errorMessages) {\n try {\n const { compiler: compiler, version: version } = $546e05b24c5c5b72$export$588248dee5258836(compilerAndVersion);\n // install the compiler. We allow some aliases for the compiler name\n (0, $4t50X.startGroup)(`Installing ${compiler} ${version ?? \"\"}`);\n switch(compiler){\n case \"llvm\":\n case \"clang\":\n case \"clang++\":\n {\n const installationInfo = await (0, $0213127e07869fde$export$3016de7ae9d14988)((0, $cb3b5dc5a4eadeb1$export$c506eb22e615ba4a)(\"llvm\", version, osVersion), (0, $d7DIX$path.join)(setupCppDir, \"llvm\"), arch);\n await (0, $9e5689f497201ccc$export$2a0488baf2a20c0f)();\n successMessages.push((0, $447038b429c54f91$export$ad22d805bb3bfaf5)(\"llvm\", installationInfo));\n break;\n }\n case \"gcc\":\n case \"mingw\":\n case \"cygwin\":\n case \"msys\":\n {\n const gccVersion = compiler === \"mingw\" ? (0, $cb3b5dc5a4eadeb1$export$c506eb22e615ba4a)(\"mingw\", version, osVersion) : (0, $cb3b5dc5a4eadeb1$export$c506eb22e615ba4a)(\"gcc\", version, osVersion);\n const installationInfo = compiler === \"mingw\" ? await (0, $bd769018416dc7f2$export$f115c01d224b9e9a)(gccVersion, (0, $d7DIX$path.join)(setupCppDir, \"gcc\"), arch) : await (0, $bd769018416dc7f2$export$405fab3de79b77b)(gccVersion, (0, $d7DIX$path.join)(setupCppDir, \"gcc\"), arch);\n if (hasLLVM) // remove back the added CPPFLAGS of LLVM that include the LLVM headers\n await (0, $85fd7153285bfba5$export$f63d3080ce25e0fd)(\"CPPFLAGS\", \"\");\n await (0, $9e5689f497201ccc$export$41dabde4775ee2aa)(gccVersion);\n successMessages.push((0, $447038b429c54f91$export$ad22d805bb3bfaf5)(\"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 {\n const installationInfo = await (0, $756746e991f4f289$export$a91ef0362c1a7298)((0, $cb3b5dc5a4eadeb1$export$c506eb22e615ba4a)(\"msvc\", version, osVersion), (0, $d7DIX$path.join)(setupCppDir, \"msvc\"), arch);\n if (hasLLVM) // remove the CPPFLAGS of LLVM that include the LLVM headers\n await (0, $85fd7153285bfba5$export$f63d3080ce25e0fd)(\"CPPFLAGS\", \"\");\n successMessages.push((0, $447038b429c54f91$export$ad22d805bb3bfaf5)(\"msvc\", installationInfo));\n break;\n }\n case \"appleclang\":\n case \"applellvm\":\n (0, $4t50X.notice)(\"Assuming apple-clang is already installed\");\n await Promise.all([\n (0, $85fd7153285bfba5$export$f63d3080ce25e0fd)(\"CC\", \"clang\"),\n (0, $85fd7153285bfba5$export$f63d3080ce25e0fd)(\"CXX\", \"clang++\")\n ]);\n successMessages.push((0, $447038b429c54f91$export$ad22d805bb3bfaf5)(\"apple-clang\", undefined));\n break;\n default:\n errorMessages.push(`Unsupported compiler ${compiler}`);\n }\n } catch (err) {\n (0, $ER74K.error)(err);\n errorMessages.push(`Failed to install the ${compilerAndVersion}`);\n }\n (0, $4t50X.endGroup)();\n}\n\n\n\n\n\n\n\n\n\n/** The main entry function */ async function $0e55037d0c830549$var$main(args) {\n let checkUpdatePromise = Promise.resolve();\n if (!(0, $52cQ1.GITHUB_ACTIONS)) {\n checkUpdatePromise = (0, $cb87868918740ed3$export$31c6d94eb20a8ca7)();\n process.env.ACTIONS_ALLOW_UNSECURE_COMMANDS = \"true\";\n }\n // parse options using mri or github actions\n const opts = (0, $447038b429c54f91$export$7300a92932ee17a3)(args);\n // print help\n if (opts.help) (0, $447038b429c54f91$export$f57ebcae4da846e4)();\n // cpu architecture\n const arch = opts.architecture ?? process.arch;\n // the installation dir for the tools that are downloaded directly\n const setupCppDir = process.env.SETUP_CPP_DIR ?? (0, $cc03115747abd396$export$8312d9eeba321950)(\"\");\n // report messages\n const successMessages = [];\n const errorMessages = [];\n const timeFormatter = $0759e10a4c20508a$exports.create({\n autoloadLocales: true\n });\n $0759e10a4c20508a$exports.addLocale((0, (/*@__PURE__*/$parcel$interopDefault($7bf1341a48aa89d2$exports))));\n $iWDmx.addLocale((0, (/*@__PURE__*/$parcel$interopDefault($adccf2292ac17dc9$exports))));\n let time1;\n let time2;\n // installing the specified tools\n const osVersion = await (0, $d6a4ad0ff65d0a5e$export$49c9cf1111dfa0ee)();\n // sync the version for the llvm tools\n if (!(0, $cb3b5dc5a4eadeb1$export$dd13a1e418f5a5fe)(opts, [\n \"llvm\",\n \"clangtidy\",\n \"clangformat\"\n ])) {\n (0, $ER74K.error)(\"The same version must be used for llvm, clangformat and clangtidy\");\n return 1;\n }\n if ((0, $84785c71f430250a$export$d415ddb6702ec3a2)() && typeof opts.cppcheck === \"string\" && typeof opts.gcovr === \"string\") {\n (0, $ER74K.info)(\"installing python-pygments to avoid conflicts with cppcheck and gcovr on Arch linux\");\n await (0, $6f126e8fe01fa080$export$cfa75578ee2d6e6c)(\"python-pygments\");\n }\n /** Used to unset CPPFLAGS of LLVM when other compilers are used as the main compiler */ let hasLLVM = false;\n // loop over the tools and run their setup function\n let failedFast = false;\n for (const tool of (0, $f58f76cc72dbc50d$export$904054328df186b)){\n // fail fast inside CI when any tool fails\n if (0, $52cQ1.isCI) {\n if (errorMessages.length !== 0) {\n failedFast = true;\n break;\n }\n }\n // get the version or \"true\" or undefined for this tool from the options\n const version = opts[tool];\n // skip if undefined\n if (version !== undefined) {\n // running the setup function for this tool\n time1 = Date.now();\n // eslint-disable-next-line no-await-in-loop\n hasLLVM = await (0, $38b6fc81fd22ef04$export$ddb4b945c8581272)(tool, version, osVersion, arch, setupCppDir, successMessages, errorMessages, parseFloat(opts.timeout ?? \"20\") * 60000);\n time2 = Date.now();\n (0, $ER74K.info)(`took ${timeFormatter.format(time1, time2) || \"0 seconds\"}`);\n }\n }\n if (!failedFast) {\n // installing the specified compiler\n const maybeCompiler = opts.compiler;\n if (maybeCompiler !== undefined) {\n const time1Compiler = Date.now();\n await (0, $546e05b24c5c5b72$export$4dabf89bf6376d2b)(maybeCompiler, osVersion, setupCppDir, arch, successMessages, hasLLVM, errorMessages);\n const time2Compiler = Date.now();\n (0, $ER74K.info)(`took ${timeFormatter.format(time1Compiler, time2Compiler) || \"0 seconds\"}`);\n }\n }\n await (0, $85fd7153285bfba5$export$ca46151966bee7ba)();\n if (successMessages.length === 0 && errorMessages.length === 0) {\n (0, $ER74K.warning)(\"setup-cpp was called without any arguments. Nothing to do.\");\n return 0;\n }\n // report the messages in the end\n successMessages.forEach((tool)=>(0, $ER74K.success)(tool));\n errorMessages.forEach((tool)=>(0, $ER74K.error)(tool));\n (0, $ER74K.info)(\"setup-cpp finished\");\n if (!(0, $52cQ1.GITHUB_ACTIONS)) switch(process.platform){\n case \"win32\":\n (0, $ER74K.warning)(\"Run `RefreshEnv.cmd` or restart your shell to update the environment.\");\n break;\n case \"linux\":\n case \"darwin\":\n (0, $ER74K.warning)(\"Run `source ~/.cpprc` or restart your shell to update the environment.\");\n break;\n default:\n }\n await checkUpdatePromise;\n return errorMessages.length === 0 ? 0 : 1 // exit with non-zero if any error message\n ;\n}\n// Run main\n$0e55037d0c830549$var$main(process.argv).then((ret)=>{\n process.exitCode = ret;\n}).catch((err)=>{\n (0, $ER74K.error)(\"main() panicked!\");\n (0, $ER74K.error)(err);\n process.exitCode = 1;\n});\n\n\n//# sourceMappingURL=setup-cpp.js.map\n","'use strict'\n\nconst vendors = require('./vendors.json')\n\nconst env = process.env\n\n// Used for testing only\nObject.defineProperty(exports, '_vendors', {\n value: vendors.map(function (v) {\n return v.constant\n })\n})\n\nexports.name = null\nexports.isPR = null\n\nvendors.forEach(function (vendor) {\n const envs = Array.isArray(vendor.env) ? vendor.env : [vendor.env]\n const isCI = envs.every(function (obj) {\n return checkEnv(obj)\n })\n\n exports[vendor.constant] = isCI\n\n if (!isCI) {\n return\n }\n\n exports.name = vendor.name\n\n switch (typeof vendor.pr) {\n case 'string':\n // \"pr\": \"CIRRUS_PR\"\n exports.isPR = !!env[vendor.pr]\n break\n case 'object':\n if ('env' in vendor.pr) {\n // \"pr\": { \"env\": \"BUILDKITE_PULL_REQUEST\", \"ne\": \"false\" }\n exports.isPR = vendor.pr.env in env && env[vendor.pr.env] !== vendor.pr.ne\n } else if ('any' in vendor.pr) {\n // \"pr\": { \"any\": [\"ghprbPullId\", \"CHANGE_ID\"] }\n exports.isPR = vendor.pr.any.some(function (key) {\n return !!env[key]\n })\n } else {\n // \"pr\": { \"DRONE_BUILD_EVENT\": \"pull_request\" }\n exports.isPR = checkEnv(vendor.pr)\n }\n break\n default:\n // PR detection not supported for this vendor\n exports.isPR = null\n }\n})\n\nexports.isCI = !!(\n env.CI !== 'false' && // Bypass all checks if CI env is explicitly set to 'false'\n (env.BUILD_ID || // Jenkins, Cloudbees\n env.BUILD_NUMBER || // Jenkins, TeamCity\n env.CI || // Travis CI, CircleCI, Cirrus CI, Gitlab CI, Appveyor, CodeShip, dsari\n env.CI_APP_ID || // Appflow\n env.CI_BUILD_ID || // Appflow\n env.CI_BUILD_NUMBER || // Appflow\n env.CI_NAME || // Codeship and others\n env.CONTINUOUS_INTEGRATION || // Travis CI, Cirrus CI\n env.RUN_ID || // TaskCluster, dsari\n exports.name ||\n false)\n)\n\nfunction checkEnv (obj) {\n // \"env\": \"CIRRUS\"\n if (typeof obj === 'string') return !!env[obj]\n\n // \"env\": { \"env\": \"NODE\", \"includes\": \"/app/.heroku/node/bin/node\" }\n if ('env' in obj) {\n // Currently there are no other types, uncomment when there are\n // if ('includes' in obj) {\n return env[obj.env] && env[obj.env].includes(obj.includes)\n // }\n }\n if ('any' in obj) {\n return obj.any.some(function (k) {\n return !!env[k]\n })\n }\n return Object.keys(obj).every(function (k) {\n return env[k] === obj[k]\n })\n}\n","[\n {\n \"name\": \"Agola CI\",\n \"constant\": \"AGOLA\",\n \"env\": \"AGOLA_GIT_REF\",\n \"pr\": \"AGOLA_PULL_REQUEST_ID\"\n },\n {\n \"name\": \"Appcircle\",\n \"constant\": \"APPCIRCLE\",\n \"env\": \"AC_APPCIRCLE\"\n },\n {\n \"name\": \"AppVeyor\",\n \"constant\": \"APPVEYOR\",\n \"env\": \"APPVEYOR\",\n \"pr\": \"APPVEYOR_PULL_REQUEST_NUMBER\"\n },\n {\n \"name\": \"AWS CodeBuild\",\n \"constant\": \"CODEBUILD\",\n \"env\": \"CODEBUILD_BUILD_ARN\"\n },\n {\n \"name\": \"Azure Pipelines\",\n \"constant\": \"AZURE_PIPELINES\",\n \"env\": \"TF_BUILD\",\n \"pr\": {\n \"BUILD_REASON\": \"PullRequest\"\n }\n },\n {\n \"name\": \"Bamboo\",\n \"constant\": \"BAMBOO\",\n \"env\": \"bamboo_planKey\"\n },\n {\n \"name\": \"Bitbucket Pipelines\",\n \"constant\": \"BITBUCKET\",\n \"env\": \"BITBUCKET_COMMIT\",\n \"pr\": \"BITBUCKET_PR_ID\"\n },\n {\n \"name\": \"Bitrise\",\n \"constant\": \"BITRISE\",\n \"env\": \"BITRISE_IO\",\n \"pr\": \"BITRISE_PULL_REQUEST\"\n },\n {\n \"name\": \"Buddy\",\n \"constant\": \"BUDDY\",\n \"env\": \"BUDDY_WORKSPACE_ID\",\n \"pr\": \"BUDDY_EXECUTION_PULL_REQUEST_ID\"\n },\n {\n \"name\": \"Buildkite\",\n \"constant\": \"BUILDKITE\",\n \"env\": \"BUILDKITE\",\n \"pr\": {\n \"env\": \"BUILDKITE_PULL_REQUEST\",\n \"ne\": \"false\"\n }\n },\n {\n \"name\": \"CircleCI\",\n \"constant\": \"CIRCLE\",\n \"env\": \"CIRCLECI\",\n \"pr\": \"CIRCLE_PULL_REQUEST\"\n },\n {\n \"name\": \"Cirrus CI\",\n \"constant\": \"CIRRUS\",\n \"env\": \"CIRRUS_CI\",\n \"pr\": \"CIRRUS_PR\"\n },\n {\n \"name\": \"Codefresh\",\n \"constant\": \"CODEFRESH\",\n \"env\": \"CF_BUILD_ID\",\n \"pr\": {\n \"any\": [\n \"CF_PULL_REQUEST_NUMBER\",\n \"CF_PULL_REQUEST_ID\"\n ]\n }\n },\n {\n \"name\": \"Codemagic\",\n \"constant\": \"CODEMAGIC\",\n \"env\": \"CM_BUILD_ID\",\n \"pr\": \"CM_PULL_REQUEST\"\n },\n {\n \"name\": \"Codeship\",\n \"constant\": \"CODESHIP\",\n \"env\": {\n \"CI_NAME\": \"codeship\"\n }\n },\n {\n \"name\": \"Drone\",\n \"constant\": \"DRONE\",\n \"env\": \"DRONE\",\n \"pr\": {\n \"DRONE_BUILD_EVENT\": \"pull_request\"\n }\n },\n {\n \"name\": \"dsari\",\n \"constant\": \"DSARI\",\n \"env\": \"DSARI\"\n },\n {\n \"name\": \"Earthly\",\n \"constant\": \"EARTHLY\",\n \"env\": \"EARTHLY_CI\"\n },\n {\n \"name\": \"Expo Application Services\",\n \"constant\": \"EAS\",\n \"env\": \"EAS_BUILD\"\n },\n {\n \"name\": \"Gerrit\",\n \"constant\": \"GERRIT\",\n \"env\": \"GERRIT_PROJECT\"\n },\n {\n \"name\": \"Gitea Actions\",\n \"constant\": \"GITEA_ACTIONS\",\n \"env\": \"GITEA_ACTIONS\"\n },\n {\n \"name\": \"GitHub Actions\",\n \"constant\": \"GITHUB_ACTIONS\",\n \"env\": \"GITHUB_ACTIONS\",\n \"pr\": {\n \"GITHUB_EVENT_NAME\": \"pull_request\"\n }\n },\n {\n \"name\": \"GitLab CI\",\n \"constant\": \"GITLAB\",\n \"env\": \"GITLAB_CI\",\n \"pr\": \"CI_MERGE_REQUEST_ID\"\n },\n {\n \"name\": \"GoCD\",\n \"constant\": \"GOCD\",\n \"env\": \"GO_PIPELINE_LABEL\"\n },\n {\n \"name\": \"Google Cloud Build\",\n \"constant\": \"GOOGLE_CLOUD_BUILD\",\n \"env\": \"BUILDER_OUTPUT\"\n },\n {\n \"name\": \"Harness CI\",\n \"constant\": \"HARNESS\",\n \"env\": \"HARNESS_BUILD_ID\"\n },\n {\n \"name\": \"Heroku\",\n \"constant\": \"HEROKU\",\n \"env\": {\n \"env\": \"NODE\",\n \"includes\": \"/app/.heroku/node/bin/node\"\n }\n },\n {\n \"name\": \"Hudson\",\n \"constant\": \"HUDSON\",\n \"env\": \"HUDSON_URL\"\n },\n {\n \"name\": \"Jenkins\",\n \"constant\": \"JENKINS\",\n \"env\": [\n \"JENKINS_URL\",\n \"BUILD_ID\"\n ],\n \"pr\": {\n \"any\": [\n \"ghprbPullId\",\n \"CHANGE_ID\"\n ]\n }\n },\n {\n \"name\": \"LayerCI\",\n \"constant\": \"LAYERCI\",\n \"env\": \"LAYERCI\",\n \"pr\": \"LAYERCI_PULL_REQUEST\"\n },\n {\n \"name\": \"Magnum CI\",\n \"constant\": \"MAGNUM\",\n \"env\": \"MAGNUM\"\n },\n {\n \"name\": \"Netlify CI\",\n \"constant\": \"NETLIFY\",\n \"env\": \"NETLIFY\",\n \"pr\": {\n \"env\": \"PULL_REQUEST\",\n \"ne\": \"false\"\n }\n },\n {\n \"name\": \"Nevercode\",\n \"constant\": \"NEVERCODE\",\n \"env\": \"NEVERCODE\",\n \"pr\": {\n \"env\": \"NEVERCODE_PULL_REQUEST\",\n \"ne\": \"false\"\n }\n },\n {\n \"name\": \"Prow\",\n \"constant\": \"PROW\",\n \"env\": \"PROW_JOB_ID\"\n },\n {\n \"name\": \"ReleaseHub\",\n \"constant\": \"RELEASEHUB\",\n \"env\": \"RELEASE_BUILD_ID\"\n },\n {\n \"name\": \"Render\",\n \"constant\": \"RENDER\",\n \"env\": \"RENDER\",\n \"pr\": {\n \"IS_PULL_REQUEST\": \"true\"\n }\n },\n {\n \"name\": \"Sail CI\",\n \"constant\": \"SAIL\",\n \"env\": \"SAILCI\",\n \"pr\": \"SAIL_PULL_REQUEST_NUMBER\"\n },\n {\n \"name\": \"Screwdriver\",\n \"constant\": \"SCREWDRIVER\",\n \"env\": \"SCREWDRIVER\",\n \"pr\": {\n \"env\": \"SD_PULL_REQUEST\",\n \"ne\": \"false\"\n }\n },\n {\n \"name\": \"Semaphore\",\n \"constant\": \"SEMAPHORE\",\n \"env\": \"SEMAPHORE\",\n \"pr\": \"PULL_REQUEST_NUMBER\"\n },\n {\n \"name\": \"Sourcehut\",\n \"constant\": \"SOURCEHUT\",\n \"env\": {\n \"CI_NAME\": \"sourcehut\"\n }\n },\n {\n \"name\": \"Strider CD\",\n \"constant\": \"STRIDER\",\n \"env\": \"STRIDER\"\n },\n {\n \"name\": \"TaskCluster\",\n \"constant\": \"TASKCLUSTER\",\n \"env\": [\n \"TASK_ID\",\n \"RUN_ID\"\n ]\n },\n {\n \"name\": \"TeamCity\",\n \"constant\": \"TEAMCITY\",\n \"env\": \"TEAMCITY_VERSION\"\n },\n {\n \"name\": \"Travis CI\",\n \"constant\": \"TRAVIS\",\n \"env\": \"TRAVIS\",\n \"pr\": {\n \"env\": \"TRAVIS_PULL_REQUEST\",\n \"ne\": \"false\"\n }\n },\n {\n \"name\": \"Vela\",\n \"constant\": \"VELA\",\n \"env\": \"VELA\",\n \"pr\": {\n \"VELA_PULL_REQUEST\": \"1\"\n }\n },\n {\n \"name\": \"Vercel\",\n \"constant\": \"VERCEL\",\n \"env\": {\n \"any\": [\n \"NOW_BUILDER\",\n \"VERCEL\"\n ]\n },\n \"pr\": \"VERCEL_GIT_PULL_REQUEST_ID\"\n },\n {\n \"name\": \"Visual Studio App Center\",\n \"constant\": \"APPCENTER\",\n \"env\": \"APPCENTER_BUILD_ID\"\n },\n {\n \"name\": \"Woodpecker\",\n \"constant\": \"WOODPECKER\",\n \"env\": {\n \"CI\": \"woodpecker\"\n },\n \"pr\": {\n \"CI_BUILD_EVENT\": \"pull_request\"\n }\n },\n {\n \"name\": \"Xcode Cloud\",\n \"constant\": \"XCODE_CLOUD\",\n \"env\": \"CI_XCODE_PROJECT\",\n \"pr\": \"CI_PULL_REQUEST_NUMBER\"\n },\n {\n \"name\": \"Xcode Server\",\n \"constant\": \"XCODE_SERVER\",\n \"env\": \"XCS\"\n }\n]\n","import * as core from \"@actions/core\"\nimport { GITHUB_ACTIONS } from \"ci-info\"\n\nexport function error(err: string | Error) {\n return 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 GITHUB_ACTIONS ? core.warning(msg) : console.log(`\\x1b[33m${msg}\\x1b[0m`)\n}\n\nexport function notice(msg: string) {\n return GITHUB_ACTIONS ? core.notice(msg) : console.log(`\\x1b[94m${msg}\\x1b[0m`)\n}\n\nexport function info(msg: string) {\n return GITHUB_ACTIONS ? core.info(msg) : console.log(msg)\n}\n",null,null,null,null,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,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,null,null,null,"(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","\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","// 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","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","// just pre-load all the stuff that index.js lazily exports\nconst internalRe = require('./internal/re')\nconst constants = require('./internal/constants')\nconst SemVer = require('./classes/semver')\nconst identifiers = require('./internal/identifiers')\nconst parse = require('./functions/parse')\nconst valid = require('./functions/valid')\nconst clean = require('./functions/clean')\nconst inc = require('./functions/inc')\nconst diff = require('./functions/diff')\nconst major = require('./functions/major')\nconst minor = require('./functions/minor')\nconst patch = require('./functions/patch')\nconst prerelease = require('./functions/prerelease')\nconst compare = require('./functions/compare')\nconst rcompare = require('./functions/rcompare')\nconst compareLoose = require('./functions/compare-loose')\nconst compareBuild = require('./functions/compare-build')\nconst sort = require('./functions/sort')\nconst rsort = require('./functions/rsort')\nconst gt = require('./functions/gt')\nconst lt = require('./functions/lt')\nconst eq = require('./functions/eq')\nconst neq = require('./functions/neq')\nconst gte = require('./functions/gte')\nconst lte = require('./functions/lte')\nconst cmp = require('./functions/cmp')\nconst coerce = require('./functions/coerce')\nconst Comparator = require('./classes/comparator')\nconst Range = require('./classes/range')\nconst satisfies = require('./functions/satisfies')\nconst toComparators = require('./ranges/to-comparators')\nconst maxSatisfying = require('./ranges/max-satisfying')\nconst minSatisfying = require('./ranges/min-satisfying')\nconst minVersion = require('./ranges/min-version')\nconst validRange = require('./ranges/valid')\nconst outside = require('./ranges/outside')\nconst gtr = require('./ranges/gtr')\nconst ltr = require('./ranges/ltr')\nconst intersects = require('./ranges/intersects')\nconst simplifyRange = require('./ranges/simplify')\nconst subset = require('./ranges/subset')\nmodule.exports = {\n parse,\n valid,\n clean,\n inc,\n diff,\n major,\n minor,\n patch,\n prerelease,\n compare,\n rcompare,\n compareLoose,\n compareBuild,\n sort,\n rsort,\n gt,\n lt,\n eq,\n neq,\n gte,\n lte,\n cmp,\n coerce,\n Comparator,\n Range,\n satisfies,\n toComparators,\n maxSatisfying,\n minSatisfying,\n minVersion,\n validRange,\n outside,\n gtr,\n ltr,\n intersects,\n simplifyRange,\n subset,\n SemVer,\n re: internalRe.re,\n src: internalRe.src,\n tokens: internalRe.t,\n SEMVER_SPEC_VERSION: constants.SEMVER_SPEC_VERSION,\n RELEASE_TYPES: constants.RELEASE_TYPES,\n compareIdentifiers: identifiers.compareIdentifiers,\n rcompareIdentifiers: identifiers.rcompareIdentifiers,\n}\n","const {\n MAX_SAFE_COMPONENT_LENGTH,\n MAX_SAFE_BUILD_LENGTH,\n MAX_LENGTH,\n} = require('./constants')\nconst debug = require('./debug')\nexports = module.exports = {}\n\n// The actual regexps go on exports.re\nconst re = exports.re = []\nconst safeRe = exports.safeRe = []\nconst src = exports.src = []\nconst t = exports.t = {}\nlet R = 0\n\nconst LETTERDASHNUMBER = '[a-zA-Z0-9-]'\n\n// Replace some greedy regex tokens to prevent regex dos issues. These regex are\n// used internally via the safeRe object since all inputs in this library get\n// normalized first to trim and collapse all extra whitespace. The original\n// regexes are exported for userland consumption and lower level usage. A\n// future breaking change could export the safer regex only with a note that\n// all input should have extra whitespace removed.\nconst safeRegexReplacements = [\n ['\\\\s', 1],\n ['\\\\d', MAX_LENGTH],\n [LETTERDASHNUMBER, MAX_SAFE_BUILD_LENGTH],\n]\n\nconst makeSafeRegex = (value) => {\n for (const [token, max] of safeRegexReplacements) {\n value = value\n .split(`${token}*`).join(`${token}{0,${max}}`)\n .split(`${token}+`).join(`${token}{1,${max}}`)\n }\n return value\n}\n\nconst createToken = (name, value, isGlobal) => {\n const safe = makeSafeRegex(value)\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 safeRe[index] = new RegExp(safe, 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', '\\\\d+')\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-]${LETTERDASHNUMBER}*`)\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', `${LETTERDASHNUMBER}+`)\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\n// Max safe length for a build identifier. The max length minus 6 characters for\n// the shortest version with a build 0.0.0+BUILD.\nconst MAX_SAFE_BUILD_LENGTH = MAX_LENGTH - 6\n\nconst RELEASE_TYPES = [\n 'major',\n 'premajor',\n 'minor',\n 'preminor',\n 'patch',\n 'prepatch',\n 'prerelease',\n]\n\nmodule.exports = {\n MAX_LENGTH,\n MAX_SAFE_COMPONENT_LENGTH,\n MAX_SAFE_BUILD_LENGTH,\n MAX_SAFE_INTEGER,\n RELEASE_TYPES,\n SEMVER_SPEC_VERSION,\n FLAG_INCLUDE_PRERELEASE: 0b001,\n FLAG_LOOSE: 0b010,\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 { safeRe: 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. Must be a string. Got type \"${typeof 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, identifierBase) {\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, identifierBase)\n break\n case 'preminor':\n this.prerelease.length = 0\n this.patch = 0\n this.minor++\n this.inc('pre', identifier, identifierBase)\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, identifierBase)\n this.inc('pre', identifier, identifierBase)\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, identifierBase)\n }\n this.inc('pre', identifier, identifierBase)\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 const base = Number(identifierBase) ? 1 : 0\n\n if (!identifier && identifierBase === false) {\n throw new Error('invalid increment argument: identifier is empty')\n }\n\n if (this.prerelease.length === 0) {\n this.prerelease = [base]\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 if (identifier === this.prerelease.join('.') && identifierBase === false) {\n throw new Error('invalid increment argument: identifier already exists')\n }\n this.prerelease.push(base)\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 let prerelease = [identifier, base]\n if (identifierBase === false) {\n prerelease = [identifier]\n }\n if (compareIdentifiers(this.prerelease[0], identifier) === 0) {\n if (isNaN(this.prerelease[1])) {\n this.prerelease = prerelease\n }\n } else {\n this.prerelease = prerelease\n }\n }\n break\n }\n default:\n throw new Error(`invalid increment argument: ${release}`)\n }\n this.raw = this.format()\n if (this.build.length) {\n this.raw += `+${this.build.join('.')}`\n }\n return this\n }\n}\n\nmodule.exports = SemVer\n","// parse out just the options we care about\nconst looseOption = Object.freeze({ loose: true })\nconst emptyOpts = Object.freeze({ })\nconst parseOptions = options => {\n if (!options) {\n return emptyOpts\n }\n\n if (typeof options !== 'object') {\n return looseOption\n }\n\n return options\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 SemVer = require('../classes/semver')\nconst parse = (version, options, throwErrors = false) => {\n if (version instanceof SemVer) {\n return version\n }\n try {\n return new SemVer(version, options)\n } catch (er) {\n if (!throwErrors) {\n return null\n }\n throw er\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, identifierBase) => {\n if (typeof (options) === 'string') {\n identifierBase = identifier\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, identifierBase).version\n } catch (er) {\n return null\n }\n}\nmodule.exports = inc\n","const parse = require('./parse.js')\n\nconst diff = (version1, version2) => {\n const v1 = parse(version1, null, true)\n const v2 = parse(version2, null, true)\n const comparison = v1.compare(v2)\n\n if (comparison === 0) {\n return null\n }\n\n const v1Higher = comparison > 0\n const highVersion = v1Higher ? v1 : v2\n const lowVersion = v1Higher ? v2 : v1\n const highHasPre = !!highVersion.prerelease.length\n const lowHasPre = !!lowVersion.prerelease.length\n\n if (lowHasPre && !highHasPre) {\n // Going from prerelease -> no prerelease requires some special casing\n\n // If the low version has only a major, then it will always be a major\n // Some examples:\n // 1.0.0-1 -> 1.0.0\n // 1.0.0-1 -> 1.1.1\n // 1.0.0-1 -> 2.0.0\n if (!lowVersion.patch && !lowVersion.minor) {\n return 'major'\n }\n\n // Otherwise it can be determined by checking the high version\n\n if (highVersion.patch) {\n // anything higher than a patch bump would result in the wrong version\n return 'patch'\n }\n\n if (highVersion.minor) {\n // anything higher than a minor bump would result in the wrong version\n return 'minor'\n }\n\n // bumping major/minor/patch all have same result\n return 'major'\n }\n\n // add the `pre` prefix if we are going to a prerelease version\n const prefix = highHasPre ? 'pre' : ''\n\n if (v1.major !== v2.major) {\n return prefix + 'major'\n }\n\n if (v1.minor !== v2.minor) {\n return prefix + 'minor'\n }\n\n if (v1.patch !== v2.patch) {\n return prefix + 'patch'\n }\n\n // high and low are preleases\n return 'prerelease'\n}\n\nmodule.exports = diff\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 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 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 eq = (a, b, loose) => compare(a, b, loose) === 0\nmodule.exports = eq\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 { safeRe: 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 comp = comp.trim().split(/\\s+/).join(' ')\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 (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 options = parseOptions(options)\n\n // Special cases where nothing can possibly be lower\n if (options.includePrerelease &&\n (this.value === '<0.0.0-0' || comp.value === '<0.0.0-0')) {\n return false\n }\n if (!options.includePrerelease &&\n (this.value.startsWith('<0.0.0') || comp.value.startsWith('<0.0.0'))) {\n return false\n }\n\n // Same direction increasing (> or >=)\n if (this.operator.startsWith('>') && comp.operator.startsWith('>')) {\n return true\n }\n // Same direction decreasing (< or <=)\n if (this.operator.startsWith('<') && comp.operator.startsWith('<')) {\n return true\n }\n // same SemVer and both sides are inclusive (<= or >=)\n if (\n (this.semver.version === comp.semver.version) &&\n this.operator.includes('=') && comp.operator.includes('=')) {\n return true\n }\n // opposite directions less than\n if (cmp(this.semver, '<', comp.semver, options) &&\n this.operator.startsWith('>') && comp.operator.startsWith('<')) {\n return true\n }\n // opposite directions greater than\n if (cmp(this.semver, '>', comp.semver, options) &&\n this.operator.startsWith('<') && comp.operator.startsWith('>')) {\n return true\n }\n return false\n }\n}\n\nmodule.exports = Comparator\n\nconst parseOptions = require('../internal/parse-options')\nconst { safeRe: 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 reduce all whitespace as much as possible so we do not have to rely\n // on potentially slow regexes like \\s*. This is then stored and used for\n // future error messages as well.\n this.raw = range\n .trim()\n .split(/\\s+/)\n .join(' ')\n\n // First, split on ||\n this.set = this.raw\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: ${this.raw}`)\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) => comps.join(' ').trim())\n .join('||')\n .trim()\n return this.range\n }\n\n toString () {\n return this.range\n }\n\n parseRange (range) {\n // memoize range parsing for performance.\n // this is a very hot path, and fully deterministic.\n const memoOpts =\n (this.options.includePrerelease && FLAG_INCLUDE_PRERELEASE) |\n (this.options.loose && FLAG_LOOSE)\n const memoKey = 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\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 debug('tilde trim', range)\n\n // `^ 1.2.3` => `^1.2.3`\n range = range.replace(re[t.CARETTRIM], caretTrimReplace)\n debug('caret trim', range)\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}\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 safeRe: re,\n t,\n comparatorTrimReplace,\n tildeTrimReplace,\n caretTrimReplace,\n} = require('../internal/re')\nconst { FLAG_INCLUDE_PRERELEASE, FLAG_LOOSE } = require('../internal/constants')\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\n// ~0.0.1 --> >=0.0.1 <0.1.0-0\nconst replaceTildes = (comp, options) => {\n return comp\n .trim()\n .split(/\\s+/)\n .map((c) => replaceTilde(c, options))\n .join(' ')\n}\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\n// ^0.0.1 --> >=0.0.1 <0.0.2-0\n// ^0.1.0 --> >=0.1.0 <0.2.0-0\nconst replaceCarets = (comp, options) => {\n return comp\n .trim()\n .split(/\\s+/)\n .map((c) => replaceCaret(c, options))\n .join(' ')\n}\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\n .split(/\\s+/)\n .map((c) => 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\n .trim()\n .replace(re[t.STAR], '')\n}\n\nconst replaceGTE0 = (comp, options) => {\n debug('replaceGTE0', comp, options)\n return comp\n .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","'use strict'\n\n// A linked list to keep track of recently-used-ness\nconst Yallist = require('yallist')\n\nconst MAX = Symbol('max')\nconst LENGTH = Symbol('length')\nconst LENGTH_CALCULATOR = Symbol('lengthCalculator')\nconst ALLOW_STALE = Symbol('allowStale')\nconst MAX_AGE = Symbol('maxAge')\nconst DISPOSE = Symbol('dispose')\nconst NO_DISPOSE_ON_SET = Symbol('noDisposeOnSet')\nconst LRU_LIST = Symbol('lruList')\nconst CACHE = Symbol('cache')\nconst UPDATE_AGE_ON_GET = Symbol('updateAgeOnGet')\n\nconst naiveLength = () => 1\n\n// lruList is a yallist where the head is the youngest\n// item, and the tail is the oldest. the list contains the Hit\n// objects as the entries.\n// Each Hit object has a reference to its Yallist.Node. This\n// never changes.\n//\n// cache is a Map (or PseudoMap) that matches the keys to\n// the Yallist.Node object.\nclass LRUCache {\n constructor (options) {\n if (typeof options === 'number')\n options = { max: options }\n\n if (!options)\n options = {}\n\n if (options.max && (typeof options.max !== 'number' || options.max < 0))\n throw new TypeError('max must be a non-negative number')\n // Kind of weird to have a default max of Infinity, but oh well.\n const max = this[MAX] = options.max || Infinity\n\n const lc = options.length || naiveLength\n this[LENGTH_CALCULATOR] = (typeof lc !== 'function') ? naiveLength : lc\n this[ALLOW_STALE] = options.stale || false\n if (options.maxAge && typeof options.maxAge !== 'number')\n throw new TypeError('maxAge must be a number')\n this[MAX_AGE] = options.maxAge || 0\n this[DISPOSE] = options.dispose\n this[NO_DISPOSE_ON_SET] = options.noDisposeOnSet || false\n this[UPDATE_AGE_ON_GET] = options.updateAgeOnGet || false\n this.reset()\n }\n\n // resize the cache when the max changes.\n set max (mL) {\n if (typeof mL !== 'number' || mL < 0)\n throw new TypeError('max must be a non-negative number')\n\n this[MAX] = mL || Infinity\n trim(this)\n }\n get max () {\n return this[MAX]\n }\n\n set allowStale (allowStale) {\n this[ALLOW_STALE] = !!allowStale\n }\n get allowStale () {\n return this[ALLOW_STALE]\n }\n\n set maxAge (mA) {\n if (typeof mA !== 'number')\n throw new TypeError('maxAge must be a non-negative number')\n\n this[MAX_AGE] = mA\n trim(this)\n }\n get maxAge () {\n return this[MAX_AGE]\n }\n\n // resize the cache when the lengthCalculator changes.\n set lengthCalculator (lC) {\n if (typeof lC !== 'function')\n lC = naiveLength\n\n if (lC !== this[LENGTH_CALCULATOR]) {\n this[LENGTH_CALCULATOR] = lC\n this[LENGTH] = 0\n this[LRU_LIST].forEach(hit => {\n hit.length = this[LENGTH_CALCULATOR](hit.value, hit.key)\n this[LENGTH] += hit.length\n })\n }\n trim(this)\n }\n get lengthCalculator () { return this[LENGTH_CALCULATOR] }\n\n get length () { return this[LENGTH] }\n get itemCount () { return this[LRU_LIST].length }\n\n rforEach (fn, thisp) {\n thisp = thisp || this\n for (let walker = this[LRU_LIST].tail; walker !== null;) {\n const prev = walker.prev\n forEachStep(this, fn, walker, thisp)\n walker = prev\n }\n }\n\n forEach (fn, thisp) {\n thisp = thisp || this\n for (let walker = this[LRU_LIST].head; walker !== null;) {\n const next = walker.next\n forEachStep(this, fn, walker, thisp)\n walker = next\n }\n }\n\n keys () {\n return this[LRU_LIST].toArray().map(k => k.key)\n }\n\n values () {\n return this[LRU_LIST].toArray().map(k => k.value)\n }\n\n reset () {\n if (this[DISPOSE] &&\n this[LRU_LIST] &&\n this[LRU_LIST].length) {\n this[LRU_LIST].forEach(hit => this[DISPOSE](hit.key, hit.value))\n }\n\n this[CACHE] = new Map() // hash of items by key\n this[LRU_LIST] = new Yallist() // list of items in order of use recency\n this[LENGTH] = 0 // length of items in the list\n }\n\n dump () {\n return this[LRU_LIST].map(hit =>\n isStale(this, hit) ? false : {\n k: hit.key,\n v: hit.value,\n e: hit.now + (hit.maxAge || 0)\n }).toArray().filter(h => h)\n }\n\n dumpLru () {\n return this[LRU_LIST]\n }\n\n set (key, value, maxAge) {\n maxAge = maxAge || this[MAX_AGE]\n\n if (maxAge && typeof maxAge !== 'number')\n throw new TypeError('maxAge must be a number')\n\n const now = maxAge ? Date.now() : 0\n const len = this[LENGTH_CALCULATOR](value, key)\n\n if (this[CACHE].has(key)) {\n if (len > this[MAX]) {\n del(this, this[CACHE].get(key))\n return false\n }\n\n const node = this[CACHE].get(key)\n const item = node.value\n\n // dispose of the old one before overwriting\n // split out into 2 ifs for better coverage tracking\n if (this[DISPOSE]) {\n if (!this[NO_DISPOSE_ON_SET])\n this[DISPOSE](key, item.value)\n }\n\n item.now = now\n item.maxAge = maxAge\n item.value = value\n this[LENGTH] += len - item.length\n item.length = len\n this.get(key)\n trim(this)\n return true\n }\n\n const hit = new Entry(key, value, len, now, maxAge)\n\n // oversized objects fall out of cache automatically.\n if (hit.length > this[MAX]) {\n if (this[DISPOSE])\n this[DISPOSE](key, value)\n\n return false\n }\n\n this[LENGTH] += hit.length\n this[LRU_LIST].unshift(hit)\n this[CACHE].set(key, this[LRU_LIST].head)\n trim(this)\n return true\n }\n\n has (key) {\n if (!this[CACHE].has(key)) return false\n const hit = this[CACHE].get(key).value\n return !isStale(this, hit)\n }\n\n get (key) {\n return get(this, key, true)\n }\n\n peek (key) {\n return get(this, key, false)\n }\n\n pop () {\n const node = this[LRU_LIST].tail\n if (!node)\n return null\n\n del(this, node)\n return node.value\n }\n\n del (key) {\n del(this, this[CACHE].get(key))\n }\n\n load (arr) {\n // reset the cache\n this.reset()\n\n const now = Date.now()\n // A previous serialized cache has the most recent items first\n for (let l = arr.length - 1; l >= 0; l--) {\n const hit = arr[l]\n const expiresAt = hit.e || 0\n if (expiresAt === 0)\n // the item was created without expiration in a non aged cache\n this.set(hit.k, hit.v)\n else {\n const maxAge = expiresAt - now\n // dont add already expired items\n if (maxAge > 0) {\n this.set(hit.k, hit.v, maxAge)\n }\n }\n }\n }\n\n prune () {\n this[CACHE].forEach((value, key) => get(this, key, false))\n }\n}\n\nconst get = (self, key, doUse) => {\n const node = self[CACHE].get(key)\n if (node) {\n const hit = node.value\n if (isStale(self, hit)) {\n del(self, node)\n if (!self[ALLOW_STALE])\n return undefined\n } else {\n if (doUse) {\n if (self[UPDATE_AGE_ON_GET])\n node.value.now = Date.now()\n self[LRU_LIST].unshiftNode(node)\n }\n }\n return hit.value\n }\n}\n\nconst isStale = (self, hit) => {\n if (!hit || (!hit.maxAge && !self[MAX_AGE]))\n return false\n\n const diff = Date.now() - hit.now\n return hit.maxAge ? diff > hit.maxAge\n : self[MAX_AGE] && (diff > self[MAX_AGE])\n}\n\nconst trim = self => {\n if (self[LENGTH] > self[MAX]) {\n for (let walker = self[LRU_LIST].tail;\n self[LENGTH] > self[MAX] && walker !== null;) {\n // We know that we're about to delete this one, and also\n // what the next least recently used key will be, so just\n // go ahead and set it now.\n const prev = walker.prev\n del(self, walker)\n walker = prev\n }\n }\n}\n\nconst del = (self, node) => {\n if (node) {\n const hit = node.value\n if (self[DISPOSE])\n self[DISPOSE](hit.key, hit.value)\n\n self[LENGTH] -= hit.length\n self[CACHE].delete(hit.key)\n self[LRU_LIST].removeNode(node)\n }\n}\n\nclass Entry {\n constructor (key, value, length, now, maxAge) {\n this.key = key\n this.value = value\n this.length = length\n this.now = now\n this.maxAge = maxAge || 0\n }\n}\n\nconst forEachStep = (self, fn, node, thisp) => {\n let hit = node.value\n if (isStale(self, hit)) {\n del(self, node)\n if (!self[ALLOW_STALE])\n hit = undefined\n }\n if (hit)\n fn.call(thisp, hit.value, hit.key, self)\n}\n\nmodule.exports = LRUCache\n","'use strict'\nmodule.exports = Yallist\n\nYallist.Node = Node\nYallist.create = Yallist\n\nfunction Yallist (list) {\n var self = this\n if (!(self instanceof Yallist)) {\n self = new Yallist()\n }\n\n self.tail = null\n self.head = null\n self.length = 0\n\n if (list && typeof list.forEach === 'function') {\n list.forEach(function (item) {\n self.push(item)\n })\n } else if (arguments.length > 0) {\n for (var i = 0, l = arguments.length; i < l; i++) {\n self.push(arguments[i])\n }\n }\n\n return self\n}\n\nYallist.prototype.removeNode = function (node) {\n if (node.list !== this) {\n throw new Error('removing node which does not belong to this list')\n }\n\n var next = node.next\n var prev = node.prev\n\n if (next) {\n next.prev = prev\n }\n\n if (prev) {\n prev.next = next\n }\n\n if (node === this.head) {\n this.head = next\n }\n if (node === this.tail) {\n this.tail = prev\n }\n\n node.list.length--\n node.next = null\n node.prev = null\n node.list = null\n\n return next\n}\n\nYallist.prototype.unshiftNode = function (node) {\n if (node === this.head) {\n return\n }\n\n if (node.list) {\n node.list.removeNode(node)\n }\n\n var head = this.head\n node.list = this\n node.next = head\n if (head) {\n head.prev = node\n }\n\n this.head = node\n if (!this.tail) {\n this.tail = node\n }\n this.length++\n}\n\nYallist.prototype.pushNode = function (node) {\n if (node === this.tail) {\n return\n }\n\n if (node.list) {\n node.list.removeNode(node)\n }\n\n var tail = this.tail\n node.list = this\n node.prev = tail\n if (tail) {\n tail.next = node\n }\n\n this.tail = node\n if (!this.head) {\n this.head = node\n }\n this.length++\n}\n\nYallist.prototype.push = function () {\n for (var i = 0, l = arguments.length; i < l; i++) {\n push(this, arguments[i])\n }\n return this.length\n}\n\nYallist.prototype.unshift = function () {\n for (var i = 0, l = arguments.length; i < l; i++) {\n unshift(this, arguments[i])\n }\n return this.length\n}\n\nYallist.prototype.pop = function () {\n if (!this.tail) {\n return undefined\n }\n\n var res = this.tail.value\n this.tail = this.tail.prev\n if (this.tail) {\n this.tail.next = null\n } else {\n this.head = null\n }\n this.length--\n return res\n}\n\nYallist.prototype.shift = function () {\n if (!this.head) {\n return undefined\n }\n\n var res = this.head.value\n this.head = this.head.next\n if (this.head) {\n this.head.prev = null\n } else {\n this.tail = null\n }\n this.length--\n return res\n}\n\nYallist.prototype.forEach = function (fn, thisp) {\n thisp = thisp || this\n for (var walker = this.head, i = 0; walker !== null; i++) {\n fn.call(thisp, walker.value, i, this)\n walker = walker.next\n }\n}\n\nYallist.prototype.forEachReverse = function (fn, thisp) {\n thisp = thisp || this\n for (var walker = this.tail, i = this.length - 1; walker !== null; i--) {\n fn.call(thisp, walker.value, i, this)\n walker = walker.prev\n }\n}\n\nYallist.prototype.get = function (n) {\n for (var i = 0, walker = this.head; walker !== null && i < n; i++) {\n // abort out of the list early if we hit a cycle\n walker = walker.next\n }\n if (i === n && walker !== null) {\n return walker.value\n }\n}\n\nYallist.prototype.getReverse = function (n) {\n for (var i = 0, walker = this.tail; walker !== null && i < n; i++) {\n // abort out of the list early if we hit a cycle\n walker = walker.prev\n }\n if (i === n && walker !== null) {\n return walker.value\n }\n}\n\nYallist.prototype.map = function (fn, thisp) {\n thisp = thisp || this\n var res = new Yallist()\n for (var walker = this.head; walker !== null;) {\n res.push(fn.call(thisp, walker.value, this))\n walker = walker.next\n }\n return res\n}\n\nYallist.prototype.mapReverse = function (fn, thisp) {\n thisp = thisp || this\n var res = new Yallist()\n for (var walker = this.tail; walker !== null;) {\n res.push(fn.call(thisp, walker.value, this))\n walker = walker.prev\n }\n return res\n}\n\nYallist.prototype.reduce = function (fn, initial) {\n var acc\n var walker = this.head\n if (arguments.length > 1) {\n acc = initial\n } else if (this.head) {\n walker = this.head.next\n acc = this.head.value\n } else {\n throw new TypeError('Reduce of empty list with no initial value')\n }\n\n for (var i = 0; walker !== null; i++) {\n acc = fn(acc, walker.value, i)\n walker = walker.next\n }\n\n return acc\n}\n\nYallist.prototype.reduceReverse = function (fn, initial) {\n var acc\n var walker = this.tail\n if (arguments.length > 1) {\n acc = initial\n } else if (this.tail) {\n walker = this.tail.prev\n acc = this.tail.value\n } else {\n throw new TypeError('Reduce of empty list with no initial value')\n }\n\n for (var i = this.length - 1; walker !== null; i--) {\n acc = fn(acc, walker.value, i)\n walker = walker.prev\n }\n\n return acc\n}\n\nYallist.prototype.toArray = function () {\n var arr = new Array(this.length)\n for (var i = 0, walker = this.head; walker !== null; i++) {\n arr[i] = walker.value\n walker = walker.next\n }\n return arr\n}\n\nYallist.prototype.toArrayReverse = function () {\n var arr = new Array(this.length)\n for (var i = 0, walker = this.tail; walker !== null; i++) {\n arr[i] = walker.value\n walker = walker.prev\n }\n return arr\n}\n\nYallist.prototype.slice = function (from, to) {\n to = to || this.length\n if (to < 0) {\n to += this.length\n }\n from = from || 0\n if (from < 0) {\n from += this.length\n }\n var ret = new Yallist()\n if (to < from || to < 0) {\n return ret\n }\n if (from < 0) {\n from = 0\n }\n if (to > this.length) {\n to = this.length\n }\n for (var i = 0, walker = this.head; walker !== null && i < from; i++) {\n walker = walker.next\n }\n for (; walker !== null && i < to; i++, walker = walker.next) {\n ret.push(walker.value)\n }\n return ret\n}\n\nYallist.prototype.sliceReverse = function (from, to) {\n to = to || this.length\n if (to < 0) {\n to += this.length\n }\n from = from || 0\n if (from < 0) {\n from += this.length\n }\n var ret = new Yallist()\n if (to < from || to < 0) {\n return ret\n }\n if (from < 0) {\n from = 0\n }\n if (to > this.length) {\n to = this.length\n }\n for (var i = this.length, walker = this.tail; walker !== null && i > to; i--) {\n walker = walker.prev\n }\n for (; walker !== null && i > from; i--, walker = walker.prev) {\n ret.push(walker.value)\n }\n return ret\n}\n\nYallist.prototype.splice = function (start, deleteCount, ...nodes) {\n if (start > this.length) {\n start = this.length - 1\n }\n if (start < 0) {\n start = this.length + start;\n }\n\n for (var i = 0, walker = this.head; walker !== null && i < start; i++) {\n walker = walker.next\n }\n\n var ret = []\n for (var i = 0; walker && i < deleteCount; i++) {\n ret.push(walker.value)\n walker = this.removeNode(walker)\n }\n if (walker === null) {\n walker = this.tail\n }\n\n if (walker !== this.head && walker !== this.tail) {\n walker = walker.prev\n }\n\n for (var i = 0; i < nodes.length; i++) {\n walker = insert(this, walker, nodes[i])\n }\n return ret;\n}\n\nYallist.prototype.reverse = function () {\n var head = this.head\n var tail = this.tail\n for (var walker = head; walker !== null; walker = walker.prev) {\n var p = walker.prev\n walker.prev = walker.next\n walker.next = p\n }\n this.head = tail\n this.tail = head\n return this\n}\n\nfunction insert (self, node, value) {\n var inserted = node === self.head ?\n new Node(value, null, node, self) :\n new Node(value, node, node.next, self)\n\n if (inserted.next === null) {\n self.tail = inserted\n }\n if (inserted.prev === null) {\n self.head = inserted\n }\n\n self.length++\n\n return inserted\n}\n\nfunction push (self, item) {\n self.tail = new Node(item, self.tail, null, self)\n if (!self.head) {\n self.head = self.tail\n }\n self.length++\n}\n\nfunction unshift (self, item) {\n self.head = new Node(item, null, self.head, self)\n if (!self.tail) {\n self.tail = self.head\n }\n self.length++\n}\n\nfunction Node (value, prev, next, list) {\n if (!(this instanceof Node)) {\n return new Node(value, prev, next, list)\n }\n\n this.list = list\n this.value = value\n\n if (prev) {\n prev.next = this\n this.prev = prev\n } else {\n this.prev = null\n }\n\n if (next) {\n next.prev = this\n this.next = next\n } else {\n this.next = null\n }\n}\n\ntry {\n // add if support for Symbol.iterator is present\n require('./iterator.js')(Yallist)\n} catch (er) {}\n","'use strict'\nmodule.exports = function (Yallist) {\n Yallist.prototype[Symbol.iterator] = function* () {\n for (let walker = this.head; walker; walker = walker.next) {\n yield walker.value\n }\n }\n}\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, options)\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 minimumVersionWithPreRelease = [new Comparator('>=0.0.0-0')]\nconst minimumVersion = [new Comparator('>=0.0.0')]\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 = minimumVersionWithPreRelease\n } else {\n sub = minimumVersion\n }\n }\n\n if (dom.length === 1 && dom[0].semver === ANY) {\n if (options.includePrerelease) {\n return true\n } else {\n dom = minimumVersion\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","'use strict';\n\nvar matchOperatorsRe = /[|\\\\{}()[\\]^$+*?.]/g;\n\nmodule.exports = function (str) {\n\tif (typeof str !== 'string') {\n\t\tthrow new TypeError('Expected a string');\n\t}\n\n\treturn str.replace(matchOperatorsRe, '\\\\$&');\n};\n","import fs, {promises as fsPromises} from 'node:fs';\n\nexport async function pathExists(path) {\n\ttry {\n\t\tawait fsPromises.access(path);\n\t\treturn true;\n\t} catch {\n\t\treturn false;\n\t}\n}\n\nexport function pathExistsSync(path) {\n\ttry {\n\t\tfs.accessSync(path);\n\t\treturn true;\n\t} catch {\n\t\treturn false;\n\t}\n}\n",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","/**\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","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","'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",null,null,null,null,null,null,"exports = module.exports = SemVer\n\nvar debug\n/* istanbul ignore next */\nif (typeof process === 'object' &&\n process.env &&\n process.env.NODE_DEBUG &&\n /\\bsemver\\b/i.test(process.env.NODE_DEBUG)) {\n debug = function () {\n var args = Array.prototype.slice.call(arguments, 0)\n args.unshift('SEMVER')\n console.log.apply(console, args)\n }\n} else {\n debug = function () {}\n}\n\n// Note: this is the semver.org version of the spec that it implements\n// Not necessarily the package version of this code.\nexports.SEMVER_SPEC_VERSION = '2.0.0'\n\nvar MAX_LENGTH = 256\nvar MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER ||\n /* istanbul ignore next */ 9007199254740991\n\n// Max safe segment length for coercion.\nvar MAX_SAFE_COMPONENT_LENGTH = 16\n\nvar MAX_SAFE_BUILD_LENGTH = MAX_LENGTH - 6\n\n// The actual regexps go on exports.re\nvar re = exports.re = []\nvar safeRe = exports.safeRe = []\nvar src = exports.src = []\nvar t = exports.tokens = {}\nvar R = 0\n\nfunction tok (n) {\n t[n] = R++\n}\n\nvar LETTERDASHNUMBER = '[a-zA-Z0-9-]'\n\n// Replace some greedy regex tokens to prevent regex dos issues. These regex are\n// used internally via the safeRe object since all inputs in this library get\n// normalized first to trim and collapse all extra whitespace. The original\n// regexes are exported for userland consumption and lower level usage. A\n// future breaking change could export the safer regex only with a note that\n// all input should have extra whitespace removed.\nvar safeRegexReplacements = [\n ['\\\\s', 1],\n ['\\\\d', MAX_LENGTH],\n [LETTERDASHNUMBER, MAX_SAFE_BUILD_LENGTH],\n]\n\nfunction makeSafeRe (value) {\n for (var i = 0; i < safeRegexReplacements.length; i++) {\n var token = safeRegexReplacements[i][0]\n var max = safeRegexReplacements[i][1]\n value = value\n .split(token + '*').join(token + '{0,' + max + '}')\n .split(token + '+').join(token + '{1,' + max + '}')\n }\n return value\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\ntok('NUMERICIDENTIFIER')\nsrc[t.NUMERICIDENTIFIER] = '0|[1-9]\\\\d*'\ntok('NUMERICIDENTIFIERLOOSE')\nsrc[t.NUMERICIDENTIFIERLOOSE] = '\\\\d+'\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\ntok('NONNUMERICIDENTIFIER')\nsrc[t.NONNUMERICIDENTIFIER] = '\\\\d*[a-zA-Z-]' + LETTERDASHNUMBER + '*'\n\n// ## Main Version\n// Three dot-separated numeric identifiers.\n\ntok('MAINVERSION')\nsrc[t.MAINVERSION] = '(' + src[t.NUMERICIDENTIFIER] + ')\\\\.' +\n '(' + src[t.NUMERICIDENTIFIER] + ')\\\\.' +\n '(' + src[t.NUMERICIDENTIFIER] + ')'\n\ntok('MAINVERSIONLOOSE')\nsrc[t.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\ntok('PRERELEASEIDENTIFIER')\nsrc[t.PRERELEASEIDENTIFIER] = '(?:' + src[t.NUMERICIDENTIFIER] +\n '|' + src[t.NONNUMERICIDENTIFIER] + ')'\n\ntok('PRERELEASEIDENTIFIERLOOSE')\nsrc[t.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\ntok('PRERELEASE')\nsrc[t.PRERELEASE] = '(?:-(' + src[t.PRERELEASEIDENTIFIER] +\n '(?:\\\\.' + src[t.PRERELEASEIDENTIFIER] + ')*))'\n\ntok('PRERELEASELOOSE')\nsrc[t.PRERELEASELOOSE] = '(?:-?(' + src[t.PRERELEASEIDENTIFIERLOOSE] +\n '(?:\\\\.' + src[t.PRERELEASEIDENTIFIERLOOSE] + ')*))'\n\n// ## Build Metadata Identifier\n// Any combination of digits, letters, or hyphens.\n\ntok('BUILDIDENTIFIER')\nsrc[t.BUILDIDENTIFIER] = LETTERDASHNUMBER + '+'\n\n// ## Build Metadata\n// Plus sign, followed by one or more period-separated build metadata\n// identifiers.\n\ntok('BUILD')\nsrc[t.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\ntok('FULL')\ntok('FULLPLAIN')\nsrc[t.FULLPLAIN] = 'v?' + src[t.MAINVERSION] +\n src[t.PRERELEASE] + '?' +\n src[t.BUILD] + '?'\n\nsrc[t.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.\ntok('LOOSEPLAIN')\nsrc[t.LOOSEPLAIN] = '[v=\\\\s]*' + src[t.MAINVERSIONLOOSE] +\n src[t.PRERELEASELOOSE] + '?' +\n src[t.BUILD] + '?'\n\ntok('LOOSE')\nsrc[t.LOOSE] = '^' + src[t.LOOSEPLAIN] + '$'\n\ntok('GTLT')\nsrc[t.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.\ntok('XRANGEIDENTIFIERLOOSE')\nsrc[t.XRANGEIDENTIFIERLOOSE] = src[t.NUMERICIDENTIFIERLOOSE] + '|x|X|\\\\*'\ntok('XRANGEIDENTIFIER')\nsrc[t.XRANGEIDENTIFIER] = src[t.NUMERICIDENTIFIER] + '|x|X|\\\\*'\n\ntok('XRANGEPLAIN')\nsrc[t.XRANGEPLAIN] = '[v=\\\\s]*(' + src[t.XRANGEIDENTIFIER] + ')' +\n '(?:\\\\.(' + src[t.XRANGEIDENTIFIER] + ')' +\n '(?:\\\\.(' + src[t.XRANGEIDENTIFIER] + ')' +\n '(?:' + src[t.PRERELEASE] + ')?' +\n src[t.BUILD] + '?' +\n ')?)?'\n\ntok('XRANGEPLAINLOOSE')\nsrc[t.XRANGEPLAINLOOSE] = '[v=\\\\s]*(' + src[t.XRANGEIDENTIFIERLOOSE] + ')' +\n '(?:\\\\.(' + src[t.XRANGEIDENTIFIERLOOSE] + ')' +\n '(?:\\\\.(' + src[t.XRANGEIDENTIFIERLOOSE] + ')' +\n '(?:' + src[t.PRERELEASELOOSE] + ')?' +\n src[t.BUILD] + '?' +\n ')?)?'\n\ntok('XRANGE')\nsrc[t.XRANGE] = '^' + src[t.GTLT] + '\\\\s*' + src[t.XRANGEPLAIN] + '$'\ntok('XRANGELOOSE')\nsrc[t.XRANGELOOSE] = '^' + src[t.GTLT] + '\\\\s*' + src[t.XRANGEPLAINLOOSE] + '$'\n\n// Coercion.\n// Extract anything that could conceivably be a part of a valid semver\ntok('COERCE')\nsrc[t.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])'\ntok('COERCERTL')\nre[t.COERCERTL] = new RegExp(src[t.COERCE], 'g')\nsafeRe[t.COERCERTL] = new RegExp(makeSafeRe(src[t.COERCE]), 'g')\n\n// Tilde ranges.\n// Meaning is \"reasonably at or greater than\"\ntok('LONETILDE')\nsrc[t.LONETILDE] = '(?:~>?)'\n\ntok('TILDETRIM')\nsrc[t.TILDETRIM] = '(\\\\s*)' + src[t.LONETILDE] + '\\\\s+'\nre[t.TILDETRIM] = new RegExp(src[t.TILDETRIM], 'g')\nsafeRe[t.TILDETRIM] = new RegExp(makeSafeRe(src[t.TILDETRIM]), 'g')\nvar tildeTrimReplace = '$1~'\n\ntok('TILDE')\nsrc[t.TILDE] = '^' + src[t.LONETILDE] + src[t.XRANGEPLAIN] + '$'\ntok('TILDELOOSE')\nsrc[t.TILDELOOSE] = '^' + src[t.LONETILDE] + src[t.XRANGEPLAINLOOSE] + '$'\n\n// Caret ranges.\n// Meaning is \"at least and backwards compatible with\"\ntok('LONECARET')\nsrc[t.LONECARET] = '(?:\\\\^)'\n\ntok('CARETTRIM')\nsrc[t.CARETTRIM] = '(\\\\s*)' + src[t.LONECARET] + '\\\\s+'\nre[t.CARETTRIM] = new RegExp(src[t.CARETTRIM], 'g')\nsafeRe[t.CARETTRIM] = new RegExp(makeSafeRe(src[t.CARETTRIM]), 'g')\nvar caretTrimReplace = '$1^'\n\ntok('CARET')\nsrc[t.CARET] = '^' + src[t.LONECARET] + src[t.XRANGEPLAIN] + '$'\ntok('CARETLOOSE')\nsrc[t.CARETLOOSE] = '^' + src[t.LONECARET] + src[t.XRANGEPLAINLOOSE] + '$'\n\n// A simple gt/lt/eq thing, or just \"\" to indicate \"any version\"\ntok('COMPARATORLOOSE')\nsrc[t.COMPARATORLOOSE] = '^' + src[t.GTLT] + '\\\\s*(' + src[t.LOOSEPLAIN] + ')$|^$'\ntok('COMPARATOR')\nsrc[t.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`\ntok('COMPARATORTRIM')\nsrc[t.COMPARATORTRIM] = '(\\\\s*)' + src[t.GTLT] +\n '\\\\s*(' + src[t.LOOSEPLAIN] + '|' + src[t.XRANGEPLAIN] + ')'\n\n// this one has to use the /g flag\nre[t.COMPARATORTRIM] = new RegExp(src[t.COMPARATORTRIM], 'g')\nsafeRe[t.COMPARATORTRIM] = new RegExp(makeSafeRe(src[t.COMPARATORTRIM]), 'g')\nvar 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.\ntok('HYPHENRANGE')\nsrc[t.HYPHENRANGE] = '^\\\\s*(' + src[t.XRANGEPLAIN] + ')' +\n '\\\\s+-\\\\s+' +\n '(' + src[t.XRANGEPLAIN] + ')' +\n '\\\\s*$'\n\ntok('HYPHENRANGELOOSE')\nsrc[t.HYPHENRANGELOOSE] = '^\\\\s*(' + src[t.XRANGEPLAINLOOSE] + ')' +\n '\\\\s+-\\\\s+' +\n '(' + src[t.XRANGEPLAINLOOSE] + ')' +\n '\\\\s*$'\n\n// Star ranges basically just allow anything at all.\ntok('STAR')\nsrc[t.STAR] = '(<|>)?=?\\\\s*\\\\*'\n\n// Compile to actual regexp objects.\n// All are flag-free, unless they were created above with a flag.\nfor (var i = 0; i < R; i++) {\n debug(i, src[i])\n if (!re[i]) {\n re[i] = new RegExp(src[i])\n\n // Replace all greedy whitespace to prevent regex dos issues. These regex are\n // used internally via the safeRe object since all inputs in this library get\n // normalized first to trim and collapse all extra whitespace. The original\n // regexes are exported for userland consumption and lower level usage. A\n // future breaking change could export the safer regex only with a note that\n // all input should have extra whitespace removed.\n safeRe[i] = new RegExp(makeSafeRe(src[i]))\n }\n}\n\nexports.parse = parse\nfunction parse (version, options) {\n if (!options || typeof options !== 'object') {\n options = {\n loose: !!options,\n includePrerelease: false\n }\n }\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 var r = options.loose ? safeRe[t.LOOSE] : safeRe[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\nexports.valid = valid\nfunction valid (version, options) {\n var v = parse(version, options)\n return v ? v.version : null\n}\n\nexports.clean = clean\nfunction clean (version, options) {\n var s = parse(version.trim().replace(/^[=v]+/, ''), options)\n return s ? s.version : null\n}\n\nexports.SemVer = SemVer\n\nfunction SemVer (version, options) {\n if (!options || typeof options !== 'object') {\n options = {\n loose: !!options,\n includePrerelease: false\n }\n }\n if (version instanceof SemVer) {\n if (version.loose === options.loose) {\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('version is longer than ' + MAX_LENGTH + ' characters')\n }\n\n if (!(this instanceof SemVer)) {\n return new SemVer(version, options)\n }\n\n debug('SemVer', version, options)\n this.options = options\n this.loose = !!options.loose\n\n var m = version.trim().match(options.loose ? safeRe[t.LOOSE] : safeRe[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(function (id) {\n if (/^[0-9]+$/.test(id)) {\n var 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\nSemVer.prototype.format = function () {\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\nSemVer.prototype.toString = function () {\n return this.version\n}\n\nSemVer.prototype.compare = function (other) {\n debug('SemVer.compare', this.version, this.options, other)\n if (!(other instanceof SemVer)) {\n other = new SemVer(other, this.options)\n }\n\n return this.compareMain(other) || this.comparePre(other)\n}\n\nSemVer.prototype.compareMain = function (other) {\n if (!(other instanceof SemVer)) {\n other = new SemVer(other, this.options)\n }\n\n return compareIdentifiers(this.major, other.major) ||\n compareIdentifiers(this.minor, other.minor) ||\n compareIdentifiers(this.patch, other.patch)\n}\n\nSemVer.prototype.comparePre = function (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 var i = 0\n do {\n var a = this.prerelease[i]\n var 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\nSemVer.prototype.compareBuild = function (other) {\n if (!(other instanceof SemVer)) {\n other = new SemVer(other, this.options)\n }\n\n var i = 0\n do {\n var a = this.build[i]\n var 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.\nSemVer.prototype.inc = function (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 (this.minor !== 0 ||\n this.patch !== 0 ||\n this.prerelease.length === 0) {\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 var 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 (this.prerelease[0] === identifier) {\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\nexports.inc = inc\nfunction inc (version, release, loose, identifier) {\n if (typeof (loose) === 'string') {\n identifier = loose\n loose = undefined\n }\n\n try {\n return new SemVer(version, loose).inc(release, identifier).version\n } catch (er) {\n return null\n }\n}\n\nexports.diff = diff\nfunction diff (version1, version2) {\n if (eq(version1, version2)) {\n return null\n } else {\n var v1 = parse(version1)\n var v2 = parse(version2)\n var prefix = ''\n if (v1.prerelease.length || v2.prerelease.length) {\n prefix = 'pre'\n var defaultResult = 'prerelease'\n }\n for (var 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}\n\nexports.compareIdentifiers = compareIdentifiers\n\nvar numeric = /^[0-9]+$/\nfunction compareIdentifiers (a, b) {\n var anum = numeric.test(a)\n var 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\nexports.rcompareIdentifiers = rcompareIdentifiers\nfunction rcompareIdentifiers (a, b) {\n return compareIdentifiers(b, a)\n}\n\nexports.major = major\nfunction major (a, loose) {\n return new SemVer(a, loose).major\n}\n\nexports.minor = minor\nfunction minor (a, loose) {\n return new SemVer(a, loose).minor\n}\n\nexports.patch = patch\nfunction patch (a, loose) {\n return new SemVer(a, loose).patch\n}\n\nexports.compare = compare\nfunction compare (a, b, loose) {\n return new SemVer(a, loose).compare(new SemVer(b, loose))\n}\n\nexports.compareLoose = compareLoose\nfunction compareLoose (a, b) {\n return compare(a, b, true)\n}\n\nexports.compareBuild = compareBuild\nfunction compareBuild (a, b, loose) {\n var versionA = new SemVer(a, loose)\n var versionB = new SemVer(b, loose)\n return versionA.compare(versionB) || versionA.compareBuild(versionB)\n}\n\nexports.rcompare = rcompare\nfunction rcompare (a, b, loose) {\n return compare(b, a, loose)\n}\n\nexports.sort = sort\nfunction sort (list, loose) {\n return list.sort(function (a, b) {\n return exports.compareBuild(a, b, loose)\n })\n}\n\nexports.rsort = rsort\nfunction rsort (list, loose) {\n return list.sort(function (a, b) {\n return exports.compareBuild(b, a, loose)\n })\n}\n\nexports.gt = gt\nfunction gt (a, b, loose) {\n return compare(a, b, loose) > 0\n}\n\nexports.lt = lt\nfunction lt (a, b, loose) {\n return compare(a, b, loose) < 0\n}\n\nexports.eq = eq\nfunction eq (a, b, loose) {\n return compare(a, b, loose) === 0\n}\n\nexports.neq = neq\nfunction neq (a, b, loose) {\n return compare(a, b, loose) !== 0\n}\n\nexports.gte = gte\nfunction gte (a, b, loose) {\n return compare(a, b, loose) >= 0\n}\n\nexports.lte = lte\nfunction lte (a, b, loose) {\n return compare(a, b, loose) <= 0\n}\n\nexports.cmp = cmp\nfunction cmp (a, op, b, loose) {\n switch (op) {\n case '===':\n if (typeof a === 'object')\n a = a.version\n if (typeof b === 'object')\n b = b.version\n return a === b\n\n case '!==':\n if (typeof a === 'object')\n a = a.version\n if (typeof b === 'object')\n b = b.version\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}\n\nexports.Comparator = Comparator\nfunction Comparator (comp, options) {\n if (!options || typeof options !== 'object') {\n options = {\n loose: !!options,\n includePrerelease: false\n }\n }\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 if (!(this instanceof Comparator)) {\n return new Comparator(comp, options)\n }\n\n comp = comp.trim().split(/\\s+/).join(' ')\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\nvar ANY = {}\nComparator.prototype.parse = function (comp) {\n var r = this.options.loose ? safeRe[t.COMPARATORLOOSE] : safeRe[t.COMPARATOR]\n var 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\nComparator.prototype.toString = function () {\n return this.value\n}\n\nComparator.prototype.test = function (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\nComparator.prototype.intersects = function (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 var rangeTmp\n\n if (this.operator === '') {\n if (this.value === '') {\n return true\n }\n rangeTmp = new Range(comp.value, options)\n return satisfies(this.value, rangeTmp, options)\n } else if (comp.operator === '') {\n if (comp.value === '') {\n return true\n }\n rangeTmp = new Range(this.value, options)\n return satisfies(comp.semver, rangeTmp, options)\n }\n\n var sameDirectionIncreasing =\n (this.operator === '>=' || this.operator === '>') &&\n (comp.operator === '>=' || comp.operator === '>')\n var sameDirectionDecreasing =\n (this.operator === '<=' || this.operator === '<') &&\n (comp.operator === '<=' || comp.operator === '<')\n var sameSemVer = this.semver.version === comp.semver.version\n var differentDirectionsInclusive =\n (this.operator === '>=' || this.operator === '<=') &&\n (comp.operator === '>=' || comp.operator === '<=')\n var oppositeDirectionsLessThan =\n cmp(this.semver, '<', comp.semver, options) &&\n ((this.operator === '>=' || this.operator === '>') &&\n (comp.operator === '<=' || comp.operator === '<'))\n var oppositeDirectionsGreaterThan =\n cmp(this.semver, '>', comp.semver, options) &&\n ((this.operator === '<=' || this.operator === '<') &&\n (comp.operator === '>=' || comp.operator === '>'))\n\n return sameDirectionIncreasing || sameDirectionDecreasing ||\n (sameSemVer && differentDirectionsInclusive) ||\n oppositeDirectionsLessThan || oppositeDirectionsGreaterThan\n}\n\nexports.Range = Range\nfunction Range (range, options) {\n if (!options || typeof options !== 'object') {\n options = {\n loose: !!options,\n includePrerelease: false\n }\n }\n\n if (range instanceof Range) {\n if (range.loose === !!options.loose &&\n range.includePrerelease === !!options.includePrerelease) {\n return range\n } else {\n return new Range(range.raw, options)\n }\n }\n\n if (range instanceof Comparator) {\n return new Range(range.value, options)\n }\n\n if (!(this instanceof Range)) {\n return new Range(range, options)\n }\n\n this.options = options\n this.loose = !!options.loose\n this.includePrerelease = !!options.includePrerelease\n\n // First reduce all whitespace as much as possible so we do not have to rely\n // on potentially slow regexes like \\s*. This is then stored and used for\n // future error messages as well.\n this.raw = range\n .trim()\n .split(/\\s+/)\n .join(' ')\n\n // First, split based on boolean or ||\n this.set = this.raw.split('||').map(function (range) {\n return this.parseRange(range.trim())\n }, this).filter(function (c) {\n // throw out any that are not relevant for whatever reason\n return c.length\n })\n\n if (!this.set.length) {\n throw new TypeError('Invalid SemVer Range: ' + this.raw)\n }\n\n this.format()\n}\n\nRange.prototype.format = function () {\n this.range = this.set.map(function (comps) {\n return comps.join(' ').trim()\n }).join('||').trim()\n return this.range\n}\n\nRange.prototype.toString = function () {\n return this.range\n}\n\nRange.prototype.parseRange = function (range) {\n var loose = this.options.loose\n // `1.2.3 - 1.2.4` => `>=1.2.3 <=1.2.4`\n var hr = loose ? safeRe[t.HYPHENRANGELOOSE] : safeRe[t.HYPHENRANGE]\n range = range.replace(hr, hyphenReplace)\n debug('hyphen replace', range)\n // `> 1.2.3 < 1.2.5` => `>1.2.3 <1.2.5`\n range = range.replace(safeRe[t.COMPARATORTRIM], comparatorTrimReplace)\n debug('comparator trim', range, safeRe[t.COMPARATORTRIM])\n\n // `~ 1.2.3` => `~1.2.3`\n range = range.replace(safeRe[t.TILDETRIM], tildeTrimReplace)\n\n // `^ 1.2.3` => `^1.2.3`\n range = range.replace(safeRe[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 var compRe = loose ? safeRe[t.COMPARATORLOOSE] : safeRe[t.COMPARATOR]\n var set = range.split(' ').map(function (comp) {\n return parseComparator(comp, this.options)\n }, this).join(' ').split(/\\s+/)\n if (this.options.loose) {\n // in loose mode, throw out any that are not valid comparators\n set = set.filter(function (comp) {\n return !!comp.match(compRe)\n })\n }\n set = set.map(function (comp) {\n return new Comparator(comp, this.options)\n }, this)\n\n return set\n}\n\nRange.prototype.intersects = function (range, options) {\n if (!(range instanceof Range)) {\n throw new TypeError('a Range is required')\n }\n\n return this.set.some(function (thisComparators) {\n return (\n isSatisfiable(thisComparators, options) &&\n range.set.some(function (rangeComparators) {\n return (\n isSatisfiable(rangeComparators, options) &&\n thisComparators.every(function (thisComparator) {\n return rangeComparators.every(function (rangeComparator) {\n return thisComparator.intersects(rangeComparator, options)\n })\n })\n )\n })\n )\n })\n}\n\n// take a set of comparators and determine whether there\n// exists a version which can satisfy it\nfunction isSatisfiable (comparators, options) {\n var result = true\n var remainingComparators = comparators.slice()\n var testComparator = remainingComparators.pop()\n\n while (result && remainingComparators.length) {\n result = remainingComparators.every(function (otherComparator) {\n return testComparator.intersects(otherComparator, options)\n })\n\n testComparator = remainingComparators.pop()\n }\n\n return result\n}\n\n// Mostly just for testing and legacy API reasons\nexports.toComparators = toComparators\nfunction toComparators (range, options) {\n return new Range(range, options).set.map(function (comp) {\n return comp.map(function (c) {\n return c.value\n }).join(' ').trim().split(' ')\n })\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.\nfunction 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\nfunction isX (id) {\n return !id || id.toLowerCase() === 'x' || id === '*'\n}\n\n// ~, ~> --> * (any, kinda silly)\n// ~2, ~2.x, ~2.x.x, ~>2, ~>2.x ~>2.x.x --> >=2.0.0 <3.0.0\n// ~2.0, ~2.0.x, ~>2.0, ~>2.0.x --> >=2.0.0 <2.1.0\n// ~1.2, ~1.2.x, ~>1.2, ~>1.2.x --> >=1.2.0 <1.3.0\n// ~1.2.3, ~>1.2.3 --> >=1.2.3 <1.3.0\n// ~1.2.0, ~>1.2.0 --> >=1.2.0 <1.3.0\nfunction replaceTildes (comp, options) {\n return comp.trim().split(/\\s+/).map(function (comp) {\n return replaceTilde(comp, options)\n }).join(' ')\n}\n\nfunction replaceTilde (comp, options) {\n var r = options.loose ? safeRe[t.TILDELOOSE] : safeRe[t.TILDE]\n return comp.replace(r, function (_, M, m, p, pr) {\n debug('tilde', comp, _, M, m, p, pr)\n var ret\n\n if (isX(M)) {\n ret = ''\n } else if (isX(m)) {\n ret = '>=' + M + '.0.0 <' + (+M + 1) + '.0.0'\n } else if (isX(p)) {\n // ~1.2 == >=1.2.0 <1.3.0\n ret = '>=' + M + '.' + m + '.0 <' + M + '.' + (+m + 1) + '.0'\n } else if (pr) {\n debug('replaceTilde pr', pr)\n ret = '>=' + M + '.' + m + '.' + p + '-' + pr +\n ' <' + M + '.' + (+m + 1) + '.0'\n } else {\n // ~1.2.3 == >=1.2.3 <1.3.0\n ret = '>=' + M + '.' + m + '.' + p +\n ' <' + M + '.' + (+m + 1) + '.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\n// ^2.0, ^2.0.x --> >=2.0.0 <3.0.0\n// ^1.2, ^1.2.x --> >=1.2.0 <2.0.0\n// ^1.2.3 --> >=1.2.3 <2.0.0\n// ^1.2.0 --> >=1.2.0 <2.0.0\nfunction replaceCarets (comp, options) {\n return comp.trim().split(/\\s+/).map(function (comp) {\n return replaceCaret(comp, options)\n }).join(' ')\n}\n\nfunction replaceCaret (comp, options) {\n debug('caret', comp, options)\n var r = options.loose ? safeRe[t.CARETLOOSE] : safeRe[t.CARET]\n return comp.replace(r, function (_, M, m, p, pr) {\n debug('caret', comp, _, M, m, p, pr)\n var ret\n\n if (isX(M)) {\n ret = ''\n } else if (isX(m)) {\n ret = '>=' + M + '.0.0 <' + (+M + 1) + '.0.0'\n } else if (isX(p)) {\n if (M === '0') {\n ret = '>=' + M + '.' + m + '.0 <' + M + '.' + (+m + 1) + '.0'\n } else {\n ret = '>=' + M + '.' + m + '.0 <' + (+M + 1) + '.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)\n } else {\n ret = '>=' + M + '.' + m + '.' + p + '-' + pr +\n ' <' + M + '.' + (+m + 1) + '.0'\n }\n } else {\n ret = '>=' + M + '.' + m + '.' + p + '-' + pr +\n ' <' + (+M + 1) + '.0.0'\n }\n } else {\n debug('no pr')\n if (M === '0') {\n if (m === '0') {\n ret = '>=' + M + '.' + m + '.' + p +\n ' <' + M + '.' + m + '.' + (+p + 1)\n } else {\n ret = '>=' + M + '.' + m + '.' + p +\n ' <' + M + '.' + (+m + 1) + '.0'\n }\n } else {\n ret = '>=' + M + '.' + m + '.' + p +\n ' <' + (+M + 1) + '.0.0'\n }\n }\n\n debug('caret return', ret)\n return ret\n })\n}\n\nfunction replaceXRanges (comp, options) {\n debug('replaceXRanges', comp, options)\n return comp.split(/\\s+/).map(function (comp) {\n return replaceXRange(comp, options)\n }).join(' ')\n}\n\nfunction replaceXRange (comp, options) {\n comp = comp.trim()\n var r = options.loose ? safeRe[t.XRANGELOOSE] : safeRe[t.XRANGE]\n return comp.replace(r, function (ret, gtlt, M, m, p, pr) {\n debug('xRange', comp, ret, gtlt, M, m, p, pr)\n var xM = isX(M)\n var xm = xM || isX(m)\n var xp = xm || isX(p)\n var 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 // >1.2.3 => >= 1.2.4\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 ret = gtlt + M + '.' + m + '.' + p + pr\n } else if (xm) {\n ret = '>=' + M + '.0.0' + pr + ' <' + (+M + 1) + '.0.0' + pr\n } else if (xp) {\n ret = '>=' + M + '.' + m + '.0' + pr +\n ' <' + M + '.' + (+m + 1) + '.0' + pr\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.\nfunction 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(safeRe[t.STAR], '')\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 Any 3.4.x will do\n// 1.2 - 3.4 => >=1.2.0 <3.5.0\nfunction hyphenReplace ($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'\n } else if (isX(fp)) {\n from = '>=' + fM + '.' + fm + '.0'\n } else {\n from = '>=' + from\n }\n\n if (isX(tM)) {\n to = ''\n } else if (isX(tm)) {\n to = '<' + (+tM + 1) + '.0.0'\n } else if (isX(tp)) {\n to = '<' + tM + '.' + (+tm + 1) + '.0'\n } else if (tpr) {\n to = '<=' + tM + '.' + tm + '.' + tp + '-' + tpr\n } else {\n to = '<=' + to\n }\n\n return (from + ' ' + to).trim()\n}\n\n// if ANY of the sets match ALL of its comparators, then pass\nRange.prototype.test = function (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 (var 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\nfunction testSet (set, version, options) {\n for (var 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 (i = 0; i < set.length; i++) {\n debug(set[i].semver)\n if (set[i].semver === ANY) {\n continue\n }\n\n if (set[i].semver.prerelease.length > 0) {\n var 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\nexports.satisfies = satisfies\nfunction 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}\n\nexports.maxSatisfying = maxSatisfying\nfunction maxSatisfying (versions, range, options) {\n var max = null\n var maxSV = null\n try {\n var rangeObj = new Range(range, options)\n } catch (er) {\n return null\n }\n versions.forEach(function (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}\n\nexports.minSatisfying = minSatisfying\nfunction minSatisfying (versions, range, options) {\n var min = null\n var minSV = null\n try {\n var rangeObj = new Range(range, options)\n } catch (er) {\n return null\n }\n versions.forEach(function (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}\n\nexports.minVersion = minVersion\nfunction minVersion (range, loose) {\n range = new Range(range, loose)\n\n var 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 (var i = 0; i < range.set.length; ++i) {\n var comparators = range.set[i]\n\n comparators.forEach(function (comparator) {\n // Clone to avoid manipulating the comparator's semver object.\n var 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 (!minver || gt(minver, compver)) {\n minver = 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 }\n\n if (minver && range.test(minver)) {\n return minver\n }\n\n return null\n}\n\nexports.validRange = validRange\nfunction 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}\n\n// Determine if version is less than all the versions possible in the range\nexports.ltr = ltr\nfunction ltr (version, range, options) {\n return outside(version, range, '<', options)\n}\n\n// Determine if version is greater than all the versions possible in the range.\nexports.gtr = gtr\nfunction gtr (version, range, options) {\n return outside(version, range, '>', options)\n}\n\nexports.outside = outside\nfunction outside (version, range, hilo, options) {\n version = new SemVer(version, options)\n range = new Range(range, options)\n\n var 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 satisifes 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 (var i = 0; i < range.set.length; ++i) {\n var comparators = range.set[i]\n\n var high = null\n var low = null\n\n comparators.forEach(function (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\nexports.prerelease = prerelease\nfunction prerelease (version, options) {\n var parsed = parse(version, options)\n return (parsed && parsed.prerelease.length) ? parsed.prerelease : null\n}\n\nexports.intersects = intersects\nfunction intersects (r1, r2, options) {\n r1 = new Range(r1, options)\n r2 = new Range(r2, options)\n return r1.intersects(r2)\n}\n\nexports.coerce = coerce\nfunction 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 var match = null\n if (!options.rtl) {\n match = version.match(safeRe[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 var next\n while ((next = safeRe[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 safeRe[t.COERCERTL].lastIndex = next.index + next[1].length + next[2].length\n }\n // leave it in a clean state\n safeRe[t.COERCERTL].lastIndex = -1\n }\n\n if (match === null) {\n return null\n }\n\n return parse(match[2] +\n '.' + (match[3] || '0') +\n '.' + (match[4] || '0'), options)\n}\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,null,null,"module.exports = (Promise.resolve(__parcel__require__(\"./\" + \"actions_python.6be0dfa4.js\"))).then(() => parcelRequire('4kQHk'));","#!/usr/bin/env node\n/* eslint-disable node/shebang */\n\nimport { GITHUB_ACTIONS, isCI } from \"ci-info\"\nimport { error, info, success, warning } from \"ci-log\"\nimport * as numerous from \"numerous\"\nimport numerousLocale from \"numerous/locales/en.js\"\nimport * as timeDelta from \"time-delta\"\nimport timeDeltaLocale from \"time-delta/locales/en.js\"\nimport { untildifyUser } from \"untildify-user\"\nimport { checkUpdates } from \"./check-updates\"\nimport { parseArgs, printHelp } from \"./cli-options\"\nimport { installCompiler } from \"./compilers\"\nimport { finalizeCpprc } from \"./utils/env/addEnv\"\nimport { isArch } from \"./utils/env/isArch\"\nimport { ubuntuVersion } from \"./utils/env/ubuntu_version\"\nimport { setupPacmanPack } from \"./utils/setup/setupPacmanPack\"\nimport { syncVersions } from \"./versions/versions\"\nimport { installTool } from \"./installTool\"\nimport { tools } from \"./tool\"\n\n/** The main entry function */\nasync function main(args: string[]): Promise {\n let checkUpdatePromise = Promise.resolve()\n if (!GITHUB_ACTIONS) {\n checkUpdatePromise = checkUpdates()\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 as numerous.Locale)\n let time1: number\n let time2: number\n\n // installing the specified tools\n\n const osVersion = await ubuntuVersion()\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 if (isArch() && typeof opts.cppcheck === \"string\" && typeof opts.gcovr === \"string\") {\n info(\"installing python-pygments to avoid conflicts with cppcheck and gcovr on Arch linux\")\n await setupPacmanPack(\"python-pygments\")\n }\n\n /** Used to unset CPPFLAGS of LLVM when other compilers are used as the main compiler */\n let hasLLVM = false\n\n // loop over the tools and run their setup function\n\n let failedFast = false\n for (const tool of tools) {\n // fail fast inside CI when any tool fails\n if (isCI) {\n if (errorMessages.length !== 0) {\n failedFast = true\n break\n }\n }\n\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 // eslint-disable-next-line no-await-in-loop\n hasLLVM = await installTool(\n tool,\n version,\n osVersion,\n arch,\n setupCppDir,\n successMessages,\n errorMessages,\n parseFloat(opts.timeout ?? \"20\") * 60 * 1000,\n )\n time2 = Date.now()\n info(`took ${timeFormatter.format(time1, time2) || \"0 seconds\"}`)\n }\n }\n\n if (!failedFast) {\n // installing the specified compiler\n const maybeCompiler = opts.compiler\n if (maybeCompiler !== undefined) {\n const time1Compiler = Date.now()\n await installCompiler(maybeCompiler, osVersion, setupCppDir, arch, successMessages, hasLLVM, errorMessages)\n const time2Compiler = Date.now()\n info(`took ${timeFormatter.format(time1Compiler, time2Compiler) || \"0 seconds\"}`)\n }\n }\n\n await finalizeCpprc()\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 (!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 await checkUpdatePromise\n\n return errorMessages.length === 0 ? 0 : 1 // exit with non-zero if any error message\n}\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","(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);","\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","import { join } from \"path\"\nimport untildify from \"untildify\"\nimport { isSudo } from \"admina\"\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 os from 'node:os';\n\nconst homeDirectory = os.homedir();\n\nexport default function untildify(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","export * from \"./root.mjs\"\nexport * from \"./admin.mjs\"\nexport * from \"./user-access.mjs\"\n",null,"import which from \"which\"\nimport {\n execa,\n execaCommand,\n execaCommandSync,\n execaSync,\n SyncOptions as ExecaSyncOptions,\n ExecaSyncReturnValue,\n Options as ExecaOptions,\n ExecaChildProcess,\n} from \"execa\"\n\n/** Detect if sudo is available */\nexport function hasSudo(): boolean {\n return which.sync(\"sudo\", { nothrow: true }) !== null\n}\n\n/**\n * Detect if the process has root privilege on Posix.\n *\n * @example\n *\n * ```js\n * import { isRoot } from \"admina\"\n *\n * console.log(isRoot())\n * //=> false\n * ```\n *\n * @returns Whether the process is running as root.\n */\nexport function isRoot(): boolean {\n // TODO not all CI systems are root\n return process.getuid?.() === 0 || Boolean(process.env.CI)\n}\n\n/** Detect if sudo is available and the user has root privileges */\nexport function isSudo(): boolean {\n return isRoot() && hasSudo()\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/** Default exec options `{ stdio: \"inherit\", shell: true }` */\nexport const defaultExecOptions: ExecaSyncOptions = { stdio: \"inherit\", shell: true }\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: ExecaSyncOptions = defaultExecOptions,\n): ExecaSyncReturnValue {\n if (isSudo()) {\n const command = getSudoCommand(program, args)\n return execaCommandSync(command, execOptions)\n } else {\n return execaSync(program, quote(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: ExecaOptions = defaultExecOptions,\n): ExecaChildProcess {\n if (isSudo()) {\n const command = getSudoCommand(program, args)\n return execaCommand(command, execOptions)\n } else {\n return execa(program, quote(args), execOptions)\n }\n}\n\nfunction getSudoCommand(program: string, args: string[]) {\n return `sudo ${quote([program, ...args]).join(\" \")}`\n}\n\nfunction quote(strings: string[]) {\n return strings.map((str) => `'${str}'`)\n}\n","const { isexe, sync: isexeSync } = require('isexe')\nconst { join, delimiter, sep, posix } = require('path')\n\nconst isWindows = process.platform === 'win32'\n\n// used to check for slashed in commands passed in. always checks for the posix\n// seperator on all platforms, and checks for the current separator when not on\n// a posix platform. don't use the isWindows check for this since that is mocked\n// in tests but we still need the code to actually work when called. that is also\n// why it is ignored from coverage.\n/* istanbul ignore next */\nconst rSlash = new RegExp(`[${posix.sep}${sep === posix.sep ? '' : sep}]`.replace(/(\\\\)/g, '\\\\$1'))\nconst rRel = new RegExp(`^\\\\.${rSlash.source}`)\n\nconst getNotFoundError = (cmd) =>\n Object.assign(new Error(`not found: ${cmd}`), { code: 'ENOENT' })\n\nconst getPathInfo = (cmd, {\n path: optPath = process.env.PATH,\n pathExt: optPathExt = process.env.PATHEXT,\n delimiter: optDelimiter = delimiter,\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(rSlash) ? [''] : [\n // windows always checks the cwd first\n ...(isWindows ? [process.cwd()] : []),\n ...(optPath || /* istanbul ignore next: very unusual */ '').split(optDelimiter),\n ]\n\n if (isWindows) {\n const pathExtExe = optPathExt ||\n ['.EXE', '.CMD', '.BAT', '.COM'].join(optDelimiter)\n const pathExt = pathExtExe.split(optDelimiter).flatMap((item) => [item, item.toLowerCase()])\n if (cmd.includes('.') && pathExt[0] !== '') {\n pathExt.unshift('')\n }\n return { pathEnv, pathExt, pathExtExe }\n }\n\n return { pathEnv, pathExt: [''] }\n}\n\nconst getPathPart = (raw, cmd) => {\n const pathPart = /^\".*\"$/.test(raw) ? raw.slice(1, -1) : raw\n const prefix = !pathPart && rRel.test(cmd) ? cmd.slice(0, 2) : ''\n return prefix + join(pathPart, cmd)\n}\n\nconst which = async (cmd, opt = {}) => {\n const { pathEnv, pathExt, pathExtExe } = getPathInfo(cmd, opt)\n const found = []\n\n for (const envPart of pathEnv) {\n const p = getPathPart(envPart, cmd)\n\n for (const ext of pathExt) {\n const withExt = p + ext\n const is = await isexe(withExt, { pathExt: pathExtExe, ignoreErrors: true })\n if (is) {\n if (!opt.all) {\n return withExt\n }\n found.push(withExt)\n }\n }\n }\n\n if (opt.all && found.length) {\n return found\n }\n\n if (opt.nothrow) {\n return null\n }\n\n throw getNotFoundError(cmd)\n}\n\nconst whichSync = (cmd, opt = {}) => {\n const { pathEnv, pathExt, pathExtExe } = getPathInfo(cmd, opt)\n const found = []\n\n for (const pathEnvPart of pathEnv) {\n const p = getPathPart(pathEnvPart, cmd)\n\n for (const ext of pathExt) {\n const withExt = p + ext\n const is = isexeSync(withExt, { pathExt: pathExtExe, ignoreErrors: true })\n if (is) {\n if (!opt.all) {\n return withExt\n }\n found.push(withExt)\n }\n }\n }\n\n if (opt.all && found.length) {\n return found\n }\n\n if (opt.nothrow) {\n return null\n }\n\n throw getNotFoundError(cmd)\n}\n\nmodule.exports = which\nwhich.sync = whichSync\n",null,"import * as posix from './posix.js'\nimport * as win32 from './win32.js'\nexport * from './options.js'\nexport { win32, posix }\n\nconst platform = process.env._ISEXE_TEST_PLATFORM_ || process.platform\nconst impl = platform === 'win32' ? win32 : posix\n\n/**\n * Determine whether a path is executable on the current platform.\n */\nexport const isexe = impl.isexe\n/**\n * Synchronously determine whether a path is executable on the\n * current platform.\n */\nexport const sync = impl.sync\n",null,"/**\n * This is the Posix implementation of isexe, which uses the file\n * mode and uid/gid values.\n *\n * @module\n */\n\nimport { Stats, statSync } from 'fs'\nimport { stat } from 'fs/promises'\nimport { IsexeOptions } from './options'\n\n/**\n * Determine whether a path is executable according to the mode and\n * current (or specified) user and group IDs.\n */\nexport const isexe = async (\n path: string,\n options: IsexeOptions = {}\n): Promise => {\n const { ignoreErrors = false } = options\n try {\n return checkStat(await stat(path), options)\n } catch (e) {\n const er = e as NodeJS.ErrnoException\n if (ignoreErrors || er.code === 'EACCES') return false\n throw er\n }\n}\n\n/**\n * Synchronously determine whether a path is executable according to\n * the mode and current (or specified) user and group IDs.\n */\nexport const sync = (\n path: string,\n options: IsexeOptions = {}\n): boolean => {\n const { ignoreErrors = false } = options\n try {\n return checkStat(statSync(path), options)\n } catch (e) {\n const er = e as NodeJS.ErrnoException\n if (ignoreErrors || er.code === 'EACCES') return false\n throw er\n }\n}\n\nconst checkStat = (stat: Stats, options: IsexeOptions) =>\n stat.isFile() && checkMode(stat, options)\n\nconst checkMode = (stat: Stats, options: IsexeOptions) => {\n const myUid = options.uid ?? process.getuid?.()\n const myGroups = options.groups ?? process.getgroups?.() ?? []\n const myGid = options.gid ?? process.getgid?.() ?? myGroups[0]\n if (myUid === undefined || myGid === undefined) {\n throw new Error('cannot get uid or gid')\n }\n\n const groups = new Set([myGid, ...myGroups])\n\n const mod = stat.mode\n const uid = stat.uid\n const gid = stat.gid\n\n const u = parseInt('100', 8)\n const g = parseInt('010', 8)\n const o = parseInt('001', 8)\n const ug = u | g\n\n return !!(\n mod & o ||\n (mod & g && groups.has(gid)) ||\n (mod & u && uid === myUid) ||\n (mod & ug && myUid === 0)\n )\n}\n","import { promises } from \"fs\"\nexport default promises\n\nexport const {\n access,\n appendFile,\n chmod,\n chown,\n copyFile,\n lchmod,\n lchown,\n link,\n lstat,\n mkdir,\n mkdtemp,\n open,\n readdir,\n readFile,\n readlink,\n realpath,\n rename,\n rmdir,\n stat,\n symlink,\n truncate,\n unlink,\n utimes,\n writeFile,\n} = promises\n",null,"/**\n * This is the Windows implementation of isexe, which uses the file\n * extension and PATHEXT setting.\n *\n * @module\n */\n\nimport { Stats, statSync } from 'fs'\nimport { stat } from 'fs/promises'\nimport { IsexeOptions } from './options'\n\n/**\n * Determine whether a path is executable based on the file extension\n * and PATHEXT environment variable (or specified pathExt option)\n */\nexport const isexe = async (\n path: string,\n options: IsexeOptions = {}\n): Promise => {\n const { ignoreErrors = false } = options\n try {\n return checkStat(await stat(path), path, options)\n } catch (e) {\n const er = e as NodeJS.ErrnoException\n if (ignoreErrors || er.code === 'EACCES') return false\n throw er\n }\n}\n\n/**\n * Synchronously determine whether a path is executable based on the file\n * extension and PATHEXT environment variable (or specified pathExt option)\n */\nexport const sync = (\n path: string,\n options: IsexeOptions = {}\n): boolean => {\n const { ignoreErrors = false } = options\n try {\n return checkStat(statSync(path), path, options)\n } catch (e) {\n const er = e as NodeJS.ErrnoException\n if (ignoreErrors || er.code === 'EACCES') return false\n throw er\n }\n}\n\nconst checkPathExt = (path: string, options: IsexeOptions) => {\n const { pathExt = process.env.PATHEXT || '' } = options\n const peSplit = pathExt.split(';')\n if (peSplit.indexOf('') !== -1) {\n return true\n }\n\n for (let i = 0; i < peSplit.length; i++) {\n const p = peSplit[i].toLowerCase()\n const ext = path.substring(path.length - p.length).toLowerCase()\n\n if (p && ext === p) {\n return true\n }\n }\n return false\n}\n\nconst checkStat = (stat: Stats, path: string, options: IsexeOptions) =>\n stat.isFile() && checkPathExt(path, options)\n","export interface IsexeOptions {\n /**\n * Ignore errors arising from attempting to get file access status\n * Note that EACCES is always ignored, because that just means\n * it's not executable. If this is not set, then attempting to check\n * the executable-ness of a nonexistent file will raise ENOENT, for\n * example.\n */\n ignoreErrors?: boolean\n\n /**\n * effective uid when checking executable mode flags on posix\n * Defaults to process.getuid()\n */\n uid?: number\n\n /**\n * effective gid when checking executable mode flags on posix\n * Defaults to process.getgid()\n */\n gid?: number\n\n /**\n * effective group ID list to use when checking executable mode flags\n * on posix\n * Defaults to process.getgroups()\n */\n groups?: number[]\n\n /**\n * The ;-delimited path extension list for win32 implementation.\n * Defaults to process.env.PATHEXT\n */\n pathExt?: string\n}\n","import {Buffer} from 'node:buffer';\nimport path from 'node:path';\nimport childProcess from 'node:child_process';\nimport process from 'node:process';\nimport crossSpawn from 'cross-spawn';\nimport stripFinalNewline from 'strip-final-newline';\nimport {npmRunPathEnv} from 'npm-run-path';\nimport onetime from 'onetime';\nimport {makeError} from './lib/error.js';\nimport {normalizeStdio, normalizeStdioNode} from './lib/stdio.js';\nimport {spawnedKill, spawnedCancel, setupTimeout, validateTimeout, setExitHandler} from './lib/kill.js';\nimport {addPipeMethods} from './lib/pipe.js';\nimport {handleInput, getSpawnedResult, makeAllStream, handleInputSync} from './lib/stream.js';\nimport {mergePromise, getSpawnedPromise} from './lib/promise.js';\nimport {joinCommand, parseCommand, parseTemplates, getEscapedCommand} from './lib/command.js';\nimport {logCommand, verboseDefault} from './lib/verbose.js';\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 npmRunPathEnv({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\tverbose: verboseDefault,\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 `execaSync()` 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\nexport function execa(file, args, options) {\n\tconst parsed = handleArguments(file, args, options);\n\tconst command = joinCommand(file, args);\n\tconst escapedCommand = getEscapedCommand(file, args);\n\tlogCommand(escapedCommand, parsed.options);\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\tmergePromise(dummySpawned, errorPromise);\n\t\treturn dummySpawned;\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 || (parsed.options.signal ? parsed.options.signal.aborted : false),\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);\n\n\tspawned.all = makeAllStream(spawned, parsed.options);\n\n\taddPipeMethods(spawned);\n\tmergePromise(spawned, handlePromiseOnce);\n\treturn spawned;\n}\n\nexport function execaSync(file, args, options) {\n\tconst parsed = handleArguments(file, args, options);\n\tconst command = joinCommand(file, args);\n\tconst escapedCommand = getEscapedCommand(file, args);\n\tlogCommand(escapedCommand, parsed.options);\n\n\tconst input = handleInputSync(parsed.options);\n\n\tlet result;\n\ttry {\n\t\tresult = childProcess.spawnSync(parsed.file, parsed.args, {...parsed.options, input});\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\nconst normalizeScriptStdin = ({input, inputFile, stdio}) => input === undefined && inputFile === undefined && stdio === undefined\n\t? {stdin: 'inherit'}\n\t: {};\n\nconst normalizeScriptOptions = (options = {}) => ({\n\tpreferLocal: true,\n\t...normalizeScriptStdin(options),\n\t...options,\n});\n\nfunction create$(options) {\n\tfunction $(templatesOrOptions, ...expressions) {\n\t\tif (!Array.isArray(templatesOrOptions)) {\n\t\t\treturn create$({...options, ...templatesOrOptions});\n\t\t}\n\n\t\tconst [file, ...args] = parseTemplates(templatesOrOptions, expressions);\n\t\treturn execa(file, args, normalizeScriptOptions(options));\n\t}\n\n\t$.sync = (templates, ...expressions) => {\n\t\tif (!Array.isArray(templates)) {\n\t\t\tthrow new TypeError('Please use $(options).sync`command` instead of $.sync(options)`command`.');\n\t\t}\n\n\t\tconst [file, ...args] = parseTemplates(templates, expressions);\n\t\treturn execaSync(file, args, normalizeScriptOptions(options));\n\t};\n\n\treturn $;\n}\n\nexport const $ = create$();\n\nexport function execaCommand(command, options) {\n\tconst [file, ...args] = parseCommand(command);\n\treturn execa(file, args, options);\n}\n\nexport function execaCommandSync(command, options) {\n\tconst [file, ...args] = parseCommand(command);\n\treturn execaSync(file, args, options);\n}\n\nexport function execaNode(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 = normalizeStdioNode(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 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';\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\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","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","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","'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';\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';\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';\nmodule.exports = /^#!(.*)/;\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","export default function stripFinalNewline(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, -1);\n\t}\n\n\tif (input[input.length - 1] === CR) {\n\t\tinput = input.slice(0, -1);\n\t}\n\n\treturn input;\n}\n","import process from 'node:process';\nimport path from 'node:path';\nimport url from 'node:url';\nimport pathKey from 'path-key';\n\nexport function npmRunPath(options = {}) {\n\tconst {\n\t\tcwd = process.cwd(),\n\t\tpath: path_ = process.env[pathKey()],\n\t\texecPath = process.execPath,\n\t} = options;\n\n\tlet previous;\n\tconst execPathString = execPath instanceof URL ? url.fileURLToPath(execPath) : execPath;\n\tconst cwdString = cwd instanceof URL ? url.fileURLToPath(cwd) : cwd;\n\tlet cwdPath = path.resolve(cwdString);\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\tresult.push(path.resolve(cwdString, execPathString, '..'));\n\n\treturn [...result, path_].join(path.delimiter);\n}\n\nexport function npmRunPathEnv({env = process.env, ...options} = {}) {\n\tenv = {...env};\n\n\tconst path = pathKey({env});\n\toptions.path = env[path];\n\tenv[path] = npmRunPath(options);\n\n\treturn env;\n}\n","export default function pathKey(options = {}) {\n\tconst {\n\t\tenv = process.env,\n\t\tplatform = process.platform\n\t} = options;\n\n\tif (platform !== 'win32') {\n\t\treturn 'PATH';\n\t}\n\n\treturn Object.keys(env).reverse().find(key => key.toUpperCase() === 'PATH') || 'Path';\n}\n","import mimicFunction from '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\tmimicFunction(onetime, function_);\n\tcalledFunctions.set(onetime, callCount);\n\n\treturn onetime;\n};\n\nonetime.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\nexport default onetime;\n","const copyProperty = (to, from, property, ignoreNonConfigurable) => {\n\t// `Function#length` should reflect the parameters of `to` not `from` since we keep its body.\n\t// `Function#prototype` is non-writable and non-configurable so can never be modified.\n\tif (property === 'length' || property === 'prototype') {\n\t\treturn;\n\t}\n\n\t// `Function#arguments` and `Function#caller` should not be copied. They were reported to be present in `Reflect.ownKeys` for some devices in React Native (#41), so we explicitly ignore them here.\n\tif (property === 'arguments' || property === 'caller') {\n\t\treturn;\n\t}\n\n\tconst toDescriptor = Object.getOwnPropertyDescriptor(to, property);\n\tconst fromDescriptor = Object.getOwnPropertyDescriptor(from, property);\n\n\tif (!canCopyProperty(toDescriptor, fromDescriptor) && ignoreNonConfigurable) {\n\t\treturn;\n\t}\n\n\tObject.defineProperty(to, property, fromDescriptor);\n};\n\n// `Object.defineProperty()` throws if the property exists, is not configurable and either:\n// - one its descriptors is changed\n// - it is non-writable and its value is changed\nconst canCopyProperty = function (toDescriptor, fromDescriptor) {\n\treturn toDescriptor === undefined || toDescriptor.configurable || (\n\t\ttoDescriptor.writable === fromDescriptor.writable &&\n\t\ttoDescriptor.enumerable === fromDescriptor.enumerable &&\n\t\ttoDescriptor.configurable === fromDescriptor.configurable &&\n\t\t(toDescriptor.writable || toDescriptor.value === fromDescriptor.value)\n\t);\n};\n\nconst changePrototype = (to, from) => {\n\tconst fromPrototype = Object.getPrototypeOf(from);\n\tif (fromPrototype === Object.getPrototypeOf(to)) {\n\t\treturn;\n\t}\n\n\tObject.setPrototypeOf(to, fromPrototype);\n};\n\nconst wrappedToString = (withName, fromBody) => `/* Wrapped ${withName}*/\\n${fromBody}`;\n\nconst toStringDescriptor = Object.getOwnPropertyDescriptor(Function.prototype, 'toString');\nconst toStringName = Object.getOwnPropertyDescriptor(Function.prototype.toString, 'name');\n\n// We call `from.toString()` early (not lazily) to ensure `from` can be garbage collected.\n// We use `bind()` instead of a closure for the same reason.\n// Calling `from.toString()` early also allows caching it in case `to.toString()` is called several times.\nconst changeToString = (to, from, name) => {\n\tconst withName = name === '' ? '' : `with ${name.trim()}() `;\n\tconst newToString = wrappedToString.bind(null, withName, from.toString());\n\t// Ensure `to.toString.toString` is non-enumerable and has the same `same`\n\tObject.defineProperty(newToString, 'name', toStringName);\n\tObject.defineProperty(to, 'toString', {...toStringDescriptor, value: newToString});\n};\n\nexport default function mimicFunction(to, from, {ignoreNonConfigurable = false} = {}) {\n\tconst {name} = to;\n\n\tfor (const property of Reflect.ownKeys(from)) {\n\t\tcopyProperty(to, from, property, ignoreNonConfigurable);\n\t}\n\n\tchangePrototype(to, from);\n\tchangeToString(to, from, name);\n\n\treturn to;\n}\n","import process from 'node:process';\nimport {signalsByName} from '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\nexport const 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, cwd = process.cwd()}},\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\terror.cwd = cwd;\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","import{constants}from\"node:os\";\n\nimport{SIGRTMAX}from\"./realtime.js\";\nimport{getSignals}from\"./signals.js\";\n\n\n\nconst getSignalsByName=()=>{\nconst signals=getSignals();\nreturn Object.fromEntries(signals.map(getSignalByName));\n};\n\nconst getSignalByName=({\nname,\nnumber,\ndescription,\nsupported,\naction,\nforced,\nstandard\n})=>[name,{name,number,description,supported,action,forced,standard}];\n\nexport const signalsByName=getSignalsByName();\n\n\n\n\nconst getSignalsByNumber=()=>{\nconst signals=getSignals();\nconst length=SIGRTMAX+1;\nconst signalsA=Array.from({length},(value,number)=>\ngetSignalByNumber(number,signals));\n\nreturn Object.assign({},...signalsA);\n};\n\nconst getSignalByNumber=(number,signals)=>{\nconst signal=findSignalByNumber(number,signals);\n\nif(signal===undefined){\nreturn{};\n}\n\nconst{name,description,supported,action,forced,standard}=signal;\nreturn{\n[number]:{\nname,\nnumber,\ndescription,\nsupported,\naction,\nforced,\nstandard\n}\n};\n};\n\n\n\nconst findSignalByNumber=(number,signals)=>{\nconst signal=signals.find(({name})=>constants.signals[name]===number);\n\nif(signal!==undefined){\nreturn signal;\n}\n\nreturn signals.find((signalA)=>signalA.number===number);\n};\n\nexport const signalsByNumber=getSignalsByNumber();","\nexport const getRealtimeSignals=()=>{\nconst length=SIGRTMAX-SIGRTMIN+1;\nreturn Array.from({length},getRealtimeSignal);\n};\n\nconst getRealtimeSignal=(value,index)=>({\nname:`SIGRT${index+1}`,\nnumber:SIGRTMIN+index,\naction:\"terminate\",\ndescription:\"Application-specific signal (realtime)\",\nstandard:\"posix\"\n});\n\nconst SIGRTMIN=34;\nexport const SIGRTMAX=64;","import{constants}from\"node:os\";\n\nimport{SIGNALS}from\"./core.js\";\nimport{getRealtimeSignals}from\"./realtime.js\";\n\n\n\nexport const getSignals=()=>{\nconst realtimeSignals=getRealtimeSignals();\nconst signals=[...SIGNALS,...realtimeSignals].map(normalizeSignal);\nreturn signals;\n};\n\n\n\n\n\n\n\nconst normalizeSignal=({\nname,\nnumber:defaultNumber,\ndescription,\naction,\nforced=false,\nstandard\n})=>{\nconst{\nsignals:{[name]:constantSignal}\n}=constants;\nconst supported=constantSignal!==undefined;\nconst number=supported?constantSignal:defaultNumber;\nreturn{name,number,description,supported,action,forced,standard};\n};","\n\nexport const SIGNALS=[\n{\nname:\"SIGHUP\",\nnumber:1,\naction:\"terminate\",\ndescription:\"Terminal closed\",\nstandard:\"posix\"\n},\n{\nname:\"SIGINT\",\nnumber:2,\naction:\"terminate\",\ndescription:\"User interruption with CTRL-C\",\nstandard:\"ansi\"\n},\n{\nname:\"SIGQUIT\",\nnumber:3,\naction:\"core\",\ndescription:\"User interruption with CTRL-\\\\\",\nstandard:\"posix\"\n},\n{\nname:\"SIGILL\",\nnumber:4,\naction:\"core\",\ndescription:\"Invalid machine instruction\",\nstandard:\"ansi\"\n},\n{\nname:\"SIGTRAP\",\nnumber:5,\naction:\"core\",\ndescription:\"Debugger breakpoint\",\nstandard:\"posix\"\n},\n{\nname:\"SIGABRT\",\nnumber:6,\naction:\"core\",\ndescription:\"Aborted\",\nstandard:\"ansi\"\n},\n{\nname:\"SIGIOT\",\nnumber:6,\naction:\"core\",\ndescription:\"Aborted\",\nstandard:\"bsd\"\n},\n{\nname:\"SIGBUS\",\nnumber:7,\naction:\"core\",\ndescription:\n\"Bus error due to misaligned, non-existing address or paging error\",\nstandard:\"bsd\"\n},\n{\nname:\"SIGEMT\",\nnumber:7,\naction:\"terminate\",\ndescription:\"Command should be emulated but is not implemented\",\nstandard:\"other\"\n},\n{\nname:\"SIGFPE\",\nnumber:8,\naction:\"core\",\ndescription:\"Floating point arithmetic error\",\nstandard:\"ansi\"\n},\n{\nname:\"SIGKILL\",\nnumber:9,\naction:\"terminate\",\ndescription:\"Forced termination\",\nstandard:\"posix\",\nforced:true\n},\n{\nname:\"SIGUSR1\",\nnumber:10,\naction:\"terminate\",\ndescription:\"Application-specific signal\",\nstandard:\"posix\"\n},\n{\nname:\"SIGSEGV\",\nnumber:11,\naction:\"core\",\ndescription:\"Segmentation fault\",\nstandard:\"ansi\"\n},\n{\nname:\"SIGUSR2\",\nnumber:12,\naction:\"terminate\",\ndescription:\"Application-specific signal\",\nstandard:\"posix\"\n},\n{\nname:\"SIGPIPE\",\nnumber:13,\naction:\"terminate\",\ndescription:\"Broken pipe or socket\",\nstandard:\"posix\"\n},\n{\nname:\"SIGALRM\",\nnumber:14,\naction:\"terminate\",\ndescription:\"Timeout or timer\",\nstandard:\"posix\"\n},\n{\nname:\"SIGTERM\",\nnumber:15,\naction:\"terminate\",\ndescription:\"Termination\",\nstandard:\"ansi\"\n},\n{\nname:\"SIGSTKFLT\",\nnumber:16,\naction:\"terminate\",\ndescription:\"Stack is empty or overflowed\",\nstandard:\"other\"\n},\n{\nname:\"SIGCHLD\",\nnumber:17,\naction:\"ignore\",\ndescription:\"Child process terminated, paused or unpaused\",\nstandard:\"posix\"\n},\n{\nname:\"SIGCLD\",\nnumber:17,\naction:\"ignore\",\ndescription:\"Child process terminated, paused or unpaused\",\nstandard:\"other\"\n},\n{\nname:\"SIGCONT\",\nnumber:18,\naction:\"unpause\",\ndescription:\"Unpaused\",\nstandard:\"posix\",\nforced:true\n},\n{\nname:\"SIGSTOP\",\nnumber:19,\naction:\"pause\",\ndescription:\"Paused\",\nstandard:\"posix\",\nforced:true\n},\n{\nname:\"SIGTSTP\",\nnumber:20,\naction:\"pause\",\ndescription:\"Paused using CTRL-Z or \\\"suspend\\\"\",\nstandard:\"posix\"\n},\n{\nname:\"SIGTTIN\",\nnumber:21,\naction:\"pause\",\ndescription:\"Background process cannot read terminal input\",\nstandard:\"posix\"\n},\n{\nname:\"SIGBREAK\",\nnumber:21,\naction:\"terminate\",\ndescription:\"User interruption with CTRL-BREAK\",\nstandard:\"other\"\n},\n{\nname:\"SIGTTOU\",\nnumber:22,\naction:\"pause\",\ndescription:\"Background process cannot write to terminal output\",\nstandard:\"posix\"\n},\n{\nname:\"SIGURG\",\nnumber:23,\naction:\"ignore\",\ndescription:\"Socket received out-of-band data\",\nstandard:\"bsd\"\n},\n{\nname:\"SIGXCPU\",\nnumber:24,\naction:\"core\",\ndescription:\"Process timed out\",\nstandard:\"bsd\"\n},\n{\nname:\"SIGXFSZ\",\nnumber:25,\naction:\"core\",\ndescription:\"File too big\",\nstandard:\"bsd\"\n},\n{\nname:\"SIGVTALRM\",\nnumber:26,\naction:\"terminate\",\ndescription:\"Timeout or timer\",\nstandard:\"bsd\"\n},\n{\nname:\"SIGPROF\",\nnumber:27,\naction:\"terminate\",\ndescription:\"Timeout or timer\",\nstandard:\"bsd\"\n},\n{\nname:\"SIGWINCH\",\nnumber:28,\naction:\"ignore\",\ndescription:\"Terminal window size changed\",\nstandard:\"bsd\"\n},\n{\nname:\"SIGIO\",\nnumber:29,\naction:\"terminate\",\ndescription:\"I/O is available\",\nstandard:\"other\"\n},\n{\nname:\"SIGPOLL\",\nnumber:29,\naction:\"terminate\",\ndescription:\"Watched event\",\nstandard:\"other\"\n},\n{\nname:\"SIGINFO\",\nnumber:29,\naction:\"ignore\",\ndescription:\"Request for process information\",\nstandard:\"other\"\n},\n{\nname:\"SIGPWR\",\nnumber:30,\naction:\"terminate\",\ndescription:\"Device running out of power\",\nstandard:\"systemv\"\n},\n{\nname:\"SIGSYS\",\nnumber:31,\naction:\"core\",\ndescription:\"Invalid system call\",\nstandard:\"other\"\n},\n{\nname:\"SIGUNUSED\",\nnumber:31,\naction:\"terminate\",\ndescription:\"Invalid system call\",\nstandard:\"other\"\n}];","const aliases = ['stdin', 'stdout', 'stderr'];\n\nconst hasAlias = options => aliases.some(alias => options[alias] !== undefined);\n\nexport const 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\n// `ipc` is pushed unless it is already present\nexport const normalizeStdioNode = 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","import os from 'node:os';\nimport onExit from 'signal-exit';\n\nconst DEFAULT_FORCE_KILL_TIMEOUT = 1000 * 5;\n\n// Monkey-patches `childProcess.kill()` to add `forceKillAfterTimeout` behavior\nexport const 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) => isSigterm(signal) && forceKillAfterTimeout !== false && killResult;\n\nconst isSigterm = signal => signal === os.constants.signals.SIGTERM\n\t\t|| (typeof signal === 'string' && signal.toUpperCase() === 'SIGTERM');\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()`\nexport const 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\nexport const 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\nexport const 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\nexport const 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","// 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","import {createWriteStream} from 'node:fs';\nimport {ChildProcess} from 'node:child_process';\nimport {isWritableStream} from 'is-stream';\n\nconst isExecaChildProcess = target => target instanceof ChildProcess && typeof target.then === 'function';\n\nconst pipeToTarget = (spawned, streamName, target) => {\n\tif (typeof target === 'string') {\n\t\tspawned[streamName].pipe(createWriteStream(target));\n\t\treturn spawned;\n\t}\n\n\tif (isWritableStream(target)) {\n\t\tspawned[streamName].pipe(target);\n\t\treturn spawned;\n\t}\n\n\tif (!isExecaChildProcess(target)) {\n\t\tthrow new TypeError('The second argument must be a string, a stream or an Execa child process.');\n\t}\n\n\tif (!isWritableStream(target.stdin)) {\n\t\tthrow new TypeError('The target child process\\'s stdin must be available.');\n\t}\n\n\tspawned[streamName].pipe(target.stdin);\n\treturn target;\n};\n\nexport const addPipeMethods = spawned => {\n\tif (spawned.stdout !== null) {\n\t\tspawned.pipeStdout = pipeToTarget.bind(undefined, spawned, 'stdout');\n\t}\n\n\tif (spawned.stderr !== null) {\n\t\tspawned.pipeStderr = pipeToTarget.bind(undefined, spawned, 'stderr');\n\t}\n\n\tif (spawned.all !== undefined) {\n\t\tspawned.pipeAll = pipeToTarget.bind(undefined, spawned, 'all');\n\t}\n};\n","export function isStream(stream) {\n\treturn stream !== null\n\t\t&& typeof stream === 'object'\n\t\t&& typeof stream.pipe === 'function';\n}\n\nexport function isWritableStream(stream) {\n\treturn isStream(stream)\n\t\t&& stream.writable !== false\n\t\t&& typeof stream._write === 'function'\n\t\t&& typeof stream._writableState === 'object';\n}\n\nexport function isReadableStream(stream) {\n\treturn isStream(stream)\n\t\t&& stream.readable !== false\n\t\t&& typeof stream._read === 'function'\n\t\t&& typeof stream._readableState === 'object';\n}\n\nexport function isDuplexStream(stream) {\n\treturn isWritableStream(stream)\n\t\t&& isReadableStream(stream);\n}\n\nexport function isTransformStream(stream) {\n\treturn isDuplexStream(stream)\n\t\t&& typeof stream._transform === 'function';\n}\n","import {createReadStream, readFileSync} from 'node:fs';\nimport {isStream} from 'is-stream';\nimport getStream from 'get-stream';\nimport mergeStream from 'merge-stream';\n\nconst validateInputOptions = input => {\n\tif (input !== undefined) {\n\t\tthrow new TypeError('The `input` and `inputFile` options cannot be both set.');\n\t}\n};\n\nconst getInputSync = ({input, inputFile}) => {\n\tif (typeof inputFile !== 'string') {\n\t\treturn input;\n\t}\n\n\tvalidateInputOptions(input);\n\treturn readFileSync(inputFile);\n};\n\n// `input` and `inputFile` option in sync mode\nexport const handleInputSync = options => {\n\tconst input = getInputSync(options);\n\n\tif (isStream(input)) {\n\t\tthrow new TypeError('The `input` option cannot be a stream in sync mode');\n\t}\n\n\treturn input;\n};\n\nconst getInput = ({input, inputFile}) => {\n\tif (typeof inputFile !== 'string') {\n\t\treturn input;\n\t}\n\n\tvalidateInputOptions(input);\n\treturn createReadStream(inputFile);\n};\n\n// `input` and `inputFile` option in async mode\nexport const handleInput = (spawned, options) => {\n\tconst input = getInput(options);\n\n\tif (input === 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`\nexport const 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\t// When `buffer` is `false`, `streamPromise` is `undefined` and there is no buffered data to retrieve\n\tif (!stream || streamPromise === undefined) {\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)\nexport const 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","'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","'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","// eslint-disable-next-line unicorn/prefer-top-level-await\nconst nativePromisePrototype = (async () => {})().constructor.prototype;\n\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`\nexport const 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\t: descriptor.value.bind(promise);\n\n\t\tReflect.defineProperty(spawned, property, {...descriptor, value});\n\t}\n};\n\n// Use promises instead of `child_process` events\nexport const getSpawnedPromise = spawned => new Promise((resolve, reject) => {\n\tspawned.on('exit', (exitCode, signal) => {\n\t\tresolve({exitCode, signal});\n\t});\n\n\tspawned.on('error', error => {\n\t\treject(error);\n\t});\n\n\tif (spawned.stdin) {\n\t\tspawned.stdin.on('error', error => {\n\t\t\treject(error);\n\t\t});\n\t}\n});\n","import {Buffer} from 'node:buffer';\nimport {ChildProcess} from 'node:child_process';\n\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\nexport const joinCommand = (file, args) => normalizeArgs(file, args).join(' ');\n\nexport const getEscapedCommand = (file, args) => normalizeArgs(file, args).map(arg => escapeArg(arg)).join(' ');\n\nconst SPACES_REGEXP = / +/g;\n\n// Handle `execaCommand()`\nexport const 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\nconst parseExpression = expression => {\n\tconst typeOfExpression = typeof expression;\n\n\tif (typeOfExpression === 'string') {\n\t\treturn expression;\n\t}\n\n\tif (typeOfExpression === 'number') {\n\t\treturn String(expression);\n\t}\n\n\tif (\n\t\ttypeOfExpression === 'object'\n\t\t&& expression !== null\n\t\t&& !(expression instanceof ChildProcess)\n\t\t&& 'stdout' in expression\n\t) {\n\t\tconst typeOfStdout = typeof expression.stdout;\n\n\t\tif (typeOfStdout === 'string') {\n\t\t\treturn expression.stdout;\n\t\t}\n\n\t\tif (Buffer.isBuffer(expression.stdout)) {\n\t\t\treturn expression.stdout.toString();\n\t\t}\n\n\t\tthrow new TypeError(`Unexpected \"${typeOfStdout}\" stdout in template expression`);\n\t}\n\n\tthrow new TypeError(`Unexpected \"${typeOfExpression}\" in template expression`);\n};\n\nconst concatTokens = (tokens, nextTokens, isNew) => isNew || tokens.length === 0 || nextTokens.length === 0\n\t? [...tokens, ...nextTokens]\n\t: [\n\t\t...tokens.slice(0, -1),\n\t\t`${tokens[tokens.length - 1]}${nextTokens[0]}`,\n\t\t...nextTokens.slice(1),\n\t];\n\nconst parseTemplate = ({templates, expressions, tokens, index, template}) => {\n\tconst templateString = template ?? templates.raw[index];\n\tconst templateTokens = templateString.split(SPACES_REGEXP).filter(Boolean);\n\tconst newTokens = concatTokens(\n\t\ttokens,\n\t\ttemplateTokens,\n\t\ttemplateString.startsWith(' '),\n\t);\n\n\tif (index === expressions.length) {\n\t\treturn newTokens;\n\t}\n\n\tconst expression = expressions[index];\n\tconst expressionTokens = Array.isArray(expression)\n\t\t? expression.map(expression => parseExpression(expression))\n\t\t: [parseExpression(expression)];\n\treturn concatTokens(\n\t\tnewTokens,\n\t\texpressionTokens,\n\t\ttemplateString.endsWith(' '),\n\t);\n};\n\nexport const parseTemplates = (templates, expressions) => {\n\tlet tokens = [];\n\n\tfor (const [index, template] of templates.entries()) {\n\t\ttokens = parseTemplate({templates, expressions, tokens, index, template});\n\t}\n\n\treturn tokens;\n};\n\n","import {debuglog} from 'node:util';\nimport process from 'node:process';\n\nexport const verboseDefault = debuglog('execa').enabled;\n\nconst padField = (field, padding) => String(field).padStart(padding, '0');\n\nconst getTimestamp = () => {\n\tconst date = new Date();\n\treturn `${padField(date.getHours(), 2)}:${padField(date.getMinutes(), 2)}:${padField(date.getSeconds(), 2)}.${padField(date.getMilliseconds(), 3)}`;\n};\n\nexport const logCommand = (escapedCommand, {verbose}) => {\n\tif (!verbose) {\n\t\treturn;\n\t}\n\n\tprocess.stderr.write(`[${getTimestamp()}] ${escapedCommand}\\n`);\n};\n",null,"import { default as isAdminWindowsOrig } from \"./is-admin.mjs\"\nimport { isRoot } from \"./root.mjs\"\n\n/**\n * Check if the process is running as administrator on Windows.\n *\n * @example\n *\n * ```js\n * import { isAdminWindows } from \"admina\"\n *\n * console.log(await isAdminWindows())\n * //=> false\n * ```\n *\n * @returns Whether the process is running as administrator.\n */\nexport const isAdminWindows = isAdminWindowsOrig\n\n/**\n * Detect if the process has root privilege on Posix.\n *\n * @example\n *\n * ```js\n * import { isAdminPosix } from \"admina\"\n *\n * console.log(isAdminPosix())\n * //=> false\n * ```\n *\n * @returns Whether the process is running as root.\n */\nexport const isAdminPosix = isRoot\n\n/**\n * Detect if the code is running as admin/root\n *\n * On Windows, it checks for admin access, and on Posix, it checks for root access\n *\n * @example\n *\n * ```js\n * import { isAdmin } from \"admina\"\n *\n * console.log(isAdmin())\n * //=> false\n * ```\n *\n * @returns Whether the process is running as root or admin.\n */\nexport function isAdmin() {\n if (process.platform === \"win32\") {\n return isAdminWindows()\n } else {\n return isRoot()\n }\n}\n",null,"// From `is-admin`: updated execa\n\nimport { execa } from \"execa\"\n\n// https://stackoverflow.com/a/28268802\nasync function testFltmc() {\n try {\n await execa(\"fltmc\")\n return true\n } catch {\n return false\n }\n}\n\nexport default async function isAdmin() {\n if (process.platform !== \"win32\") {\n return false\n }\n\n try {\n // https://stackoverflow.com/a/21295806/1641422\n await execa(\"fsutil\", [\"dirty\", \"query\", process.env.systemdrive ?? \"\"])\n return true\n } catch (error) {\n if ((error as { code?: string }).code === \"ENOENT\") {\n return testFltmc()\n }\n\n return false\n }\n}\n",null,"import { isSudo, execRoot, defaultExecOptions } from \"./root.mjs\"\nimport fs from \"fs\"\n\n/**\n * Give the user access to the given path (and its sub-directories if a directory). It changes the owner to the\n * SUDO_USER. This allows the user to use the folder without sudo\n *\n * @param path The path to give the user access to\n */\nexport async function grantUserWriteAccess(path: string) {\n if (\n (process.platform === \"linux\" || process.platform === \"darwin\") &&\n isSudo() &&\n process.env.SUDO_USER !== undefined\n ) {\n const isDirectory = fs.statSync(path).isDirectory()\n await execRoot(\"chown\", [...(isDirectory ? [\"-R\"] : []), process.env.SUDO_USER, path], defaultExecOptions)\n }\n}\n","import { warning } from \"ci-log\"\nimport updateNotifier from \"simple-update-notifier\"\nimport packageJson from \"../package-version.json\"\n\n// auto self update notifier\nexport async function checkUpdates() {\n try {\n await updateNotifier({ pkg: packageJson })\n } catch (err) {\n warning(`Failed to check for updates: ${err instanceof Error ? err.message + err.stack : err}`)\n }\n}\n","'use strict';\n\nvar process$1 = require('process');\nvar semver = require('semver');\nvar os = require('os');\nvar path = require('path');\nvar fs = require('fs');\nvar https = require('https');\n\n/******************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\n\r\nfunction __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nfunction __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\n\nvar packageJson = process$1.env.npm_package_json;\nvar userAgent = process$1.env.npm_config_user_agent;\nvar isNpm6 = Boolean(userAgent && userAgent.startsWith('npm'));\nvar isNpm7 = Boolean(packageJson && packageJson.endsWith('package.json'));\nvar isNpm = isNpm6 || isNpm7;\nvar isYarn = Boolean(userAgent && userAgent.startsWith('yarn'));\nvar isNpmOrYarn = isNpm || isYarn;\n\nvar homeDirectory = os.homedir();\nvar configDir = process.env.XDG_CONFIG_HOME ||\n path.join(homeDirectory, '.config', 'simple-update-notifier');\nvar getConfigFile = function (packageName) {\n return path.join(configDir, \"\".concat(packageName.replace('@', '').replace('/', '__'), \".json\"));\n};\nvar createConfigDir = function () {\n if (!fs.existsSync(configDir)) {\n fs.mkdirSync(configDir, { recursive: true });\n }\n};\nvar getLastUpdate = function (packageName) {\n var configFile = getConfigFile(packageName);\n try {\n if (!fs.existsSync(configFile)) {\n return undefined;\n }\n var file = JSON.parse(fs.readFileSync(configFile, 'utf8'));\n return file.lastUpdateCheck;\n }\n catch (_a) {\n return undefined;\n }\n};\nvar saveLastUpdate = function (packageName) {\n var configFile = getConfigFile(packageName);\n fs.writeFileSync(configFile, JSON.stringify({ lastUpdateCheck: new Date().getTime() }));\n};\n\nvar getDistVersion = function (packageName, distTag) { return __awaiter(void 0, void 0, void 0, function () {\n var url;\n return __generator(this, function (_a) {\n url = \"https://registry.npmjs.org/-/package/\".concat(packageName, \"/dist-tags\");\n return [2 /*return*/, new Promise(function (resolve, reject) {\n https\n .get(url, function (res) {\n var body = '';\n res.on('data', function (chunk) { return (body += chunk); });\n res.on('end', function () {\n try {\n var json = JSON.parse(body);\n var version = json[distTag];\n if (!version) {\n reject(new Error('Error getting version'));\n }\n resolve(version);\n }\n catch (_a) {\n reject(new Error('Could not parse version response'));\n }\n });\n })\n .on('error', function (err) { return reject(err); });\n })];\n });\n}); };\n\nvar hasNewVersion = function (_a) {\n var pkg = _a.pkg, _b = _a.updateCheckInterval, updateCheckInterval = _b === void 0 ? 1000 * 60 * 60 * 24 : _b, _c = _a.distTag, distTag = _c === void 0 ? 'latest' : _c, alwaysRun = _a.alwaysRun, debug = _a.debug;\n return __awaiter(void 0, void 0, void 0, function () {\n var lastUpdateCheck, latestVersion;\n return __generator(this, function (_d) {\n switch (_d.label) {\n case 0:\n createConfigDir();\n lastUpdateCheck = getLastUpdate(pkg.name);\n if (!(alwaysRun ||\n !lastUpdateCheck ||\n lastUpdateCheck < new Date().getTime() - updateCheckInterval)) return [3 /*break*/, 2];\n return [4 /*yield*/, getDistVersion(pkg.name, distTag)];\n case 1:\n latestVersion = _d.sent();\n saveLastUpdate(pkg.name);\n if (semver.gt(latestVersion, pkg.version)) {\n return [2 /*return*/, latestVersion];\n }\n else if (debug) {\n console.error(\"Latest version (\".concat(latestVersion, \") not newer than current version (\").concat(pkg.version, \")\"));\n }\n return [3 /*break*/, 3];\n case 2:\n if (debug) {\n console.error(\"Too recent to check for a new update. simpleUpdateNotifier() interval set to \".concat(updateCheckInterval, \"ms but only \").concat(new Date().getTime() - lastUpdateCheck, \"ms since last check.\"));\n }\n _d.label = 3;\n case 3: return [2 /*return*/, false];\n }\n });\n });\n};\n\nvar borderedText = function (text) {\n var lines = text.split('\\n');\n var width = Math.max.apply(Math, lines.map(function (l) { return l.length; }));\n var res = [\"\\u250C\".concat('─'.repeat(width + 2), \"\\u2510\")];\n for (var _i = 0, lines_1 = lines; _i < lines_1.length; _i++) {\n var line = lines_1[_i];\n res.push(\"\\u2502 \".concat(line.padEnd(width), \" \\u2502\"));\n }\n res.push(\"\\u2514\".concat('─'.repeat(width + 2), \"\\u2518\"));\n return res.join('\\n');\n};\n\nvar simpleUpdateNotifier = function (args) { return __awaiter(void 0, void 0, void 0, function () {\n var latestVersion, err_1;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n if (!args.alwaysRun &&\n (!process.stdout.isTTY || (isNpmOrYarn && !args.shouldNotifyInNpmScript))) {\n if (args.debug) {\n console.error('Opting out of running simpleUpdateNotifier()');\n }\n return [2 /*return*/];\n }\n _a.label = 1;\n case 1:\n _a.trys.push([1, 3, , 4]);\n return [4 /*yield*/, hasNewVersion(args)];\n case 2:\n latestVersion = _a.sent();\n if (latestVersion) {\n console.error(borderedText(\"New version of \".concat(args.pkg.name, \" available!\\nCurrent Version: \").concat(args.pkg.version, \"\\nLatest Version: \").concat(latestVersion)));\n }\n return [3 /*break*/, 4];\n case 3:\n err_1 = _a.sent();\n // Catch any network errors or cache writing errors so module doesn't cause a crash\n if (args.debug && err_1 instanceof Error) {\n console.error('Unexpected error in simpleUpdateNotifier():', err_1);\n }\n return [3 /*break*/, 4];\n case 4: return [2 /*return*/];\n }\n });\n}); };\n\nmodule.exports = simpleUpdateNotifier;\n","{\n \"name\": \"setup-cpp\",\n \"version\": \"0.36.1\"\n}\n","import { getInput } from \"@actions/core\"\nimport { info } from \"ci-log\"\nimport mri from \"mri\"\nimport { InstallationInfo } from \"./utils/setup/setupBin\"\nimport { Inputs, inputs } from \"./tool\"\n\nexport function parseArgs(args: string[]): Opts {\n return mri & { help: boolean }>(args, {\n string: [...inputs, \"timeout\"],\n default: Object.fromEntries(inputs.map((inp) => [inp, maybeGetInput(inp)])),\n alias: { h: \"help\" },\n boolean: \"help\",\n })\n}\n\nexport function 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--timeout\\t the timeout for the installation of each tool in minutes. By default it is 10 minutes.\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--$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`)\n\n console.table(\n {\n \"compiler and analyzer\": { tools: `--llvm, --gcc, --msvc, --vcvarsall, --cppcheck, --clangtidy, --clangformat` },\n \"build system\": { tools: `--cmake, --ninja, --meson, --make, --task, --bazel` },\n \"package manager\": { tools: `--vcpkg, --conan, --choco, --brew, --nala` },\n cache: { tools: `--cppcache, --sccache` },\n documentation: { tools: `--doxygen, --graphviz` },\n coverage: { tools: `--gcovr, --opencppcoverage, --kcov` },\n other: { tools: `--python, --powershell, --sevenzip` },\n },\n [\"tools\"],\n )\n}\n/** Get an object from github actions */\n\nexport function maybeGetInput(key: string) {\n const value = getInput(key.toLowerCase())\n if (value !== \"false\" && value !== \"\") {\n return value\n }\n return undefined // skip installation\n}\nexport type Opts = mri.Argv<\n Record & {\n help: boolean\n timeout?: string\n }\n>\n\nexport function 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","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 { setupBazel } from \"./bazel/bazel\"\nimport { setupBrew } from \"./brew/brew\"\nimport { setupCcache } from \"./ccache/ccache\"\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 { setupGcc } from \"./gcc/gcc\"\nimport { setupGcovr } from \"./gcovr/gcovr\"\nimport { setupGraphviz } from \"./graphviz/graphviz\"\nimport { setupKcov } from \"./kcov/kcov\"\nimport { setupClangTools, setupLLVM, setupClangFormat } from \"./llvm/llvm\"\nimport { setupMake } from \"./make/make\"\nimport { setupMeson } from \"./meson/meson\"\nimport { setupMSVC } from \"./msvc/msvc\"\nimport { setupNala } from \"./nala/nala\"\nimport { setupNinja } from \"./ninja/ninja\"\nimport { setupOpencppcoverage } from \"./opencppcoverage/opencppcoverage\"\nimport { setupPowershell } from \"./powershell/powershell\"\nimport { setupPython } from \"./python/python\"\nimport { setupSccache } from \"./sccache/sccache\"\nimport { setupSevenZip } from \"./sevenzip/sevenzip\"\nimport { setupTask } from \"./task/task\"\nimport { setupVcpkg } from \"./vcpkg/vcpkg\"\nimport { setupVCVarsall } from \"./vcvarsall/vcvarsall\"\n\n/** The setup functions */\nexport const 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 sccache: setupSccache,\n doxygen: setupDoxygen,\n graphviz: setupGraphviz,\n cppcheck: setupCppcheck,\n clangtidy: setupClangTools,\n clangformat: setupClangFormat,\n msvc: setupMSVC,\n vcvarsall: setupVCVarsall,\n kcov: setupKcov,\n make: setupMake,\n task: setupTask,\n sevenzip: setupSevenZip,\n}\n\nexport type ToolName = keyof typeof setups\n\n/** The tools that can be installed */\nexport const tools = Object.keys(setups) as Array\n\n/** The possible inputs to the program */\nexport type Inputs = keyof typeof setups | \"compiler\" | \"architecture\" | \"timeout\"\n\n/** ‌ an array of possible inputs */\nexport const inputs: Array = [\"compiler\", \"architecture\", \"timeout\", ...tools]\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 \"admina\"\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 await setupDnfPack([{ name: \"dnf-plugins-core\" }])\n execRootSync(\"dnf\", [\"copr\", \"enable\", \"vbatts/bazel\"])\n return setupDnfPack([{ name: \"bazel4\" }])\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([{ name: \"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 { InstallationInfo } from \"./setupBin\"\nimport { execRoot, execRootSync } from \"admina\"\nimport { GITHUB_ACTIONS } from \"ci-info\"\nimport { addEnv, cpprc_path, setupCppInProfile } from \"../env/addEnv\"\nimport { pathExists } from \"path-exists\"\nimport { promises as fsPromises } from \"fs\"\nconst { appendFile } = fsPromises\nimport { execa, ExecaError } from \"execa\"\nimport escapeRegex from \"escape-string-regexp\"\nimport { warning, info } from \"ci-log\"\nimport which from \"which\"\n\n/* eslint-disable require-atomic-updates */\nlet didUpdate: boolean = false\nlet didInit: boolean = false\n\nexport type AptPackage = {\n name: string\n version?: string\n repositories?: string[]\n}\n\nconst retryErrors = [\n \"E: Could not get lock\",\n \"dpkg: error processing archive\",\n \"dpkg: error: dpkg status database is locked by another process\",\n]\n\n/** A function that installs a package using apt */\nexport async function setupAptPack(packages: AptPackage[], update = false): Promise {\n const apt: string = getApt()\n\n for (const { name, version } of packages) {\n info(`Installing ${name} ${version ?? \"\"} via ${apt}`)\n }\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 const allRepositories = [...new Set(packages.flatMap((pack) => pack.repositories ?? []))]\n\n if (allRepositories.length !== 0) {\n for (const repo of allRepositories) {\n // eslint-disable-next-line no-await-in-loop\n execRootSync(\"add-apt-repository\", [\"-y\", repo])\n }\n\n updateRepos(apt)\n }\n\n const aptArgs = await Promise.all(packages.map((pack) => getAptArg(pack.name, pack.version)))\n try {\n execRootSync(apt, [\"install\", \"--fix-broken\", \"-y\", ...aptArgs])\n } catch (err) {\n if (\"stderr\" in (err as ExecaError)) {\n const stderr = (err as ExecaError).stderr\n if (retryErrors.some((error) => stderr.includes(error))) {\n warning(`Failed to install packages ${aptArgs}. Retrying...`)\n execRootSync(apt, [\"install\", \"--fix-broken\", \"-y\", ...aptArgs])\n }\n } else {\n throw err\n }\n }\n\n return { binDir: \"/usr/bin/\" }\n}\n\nexport enum AptPackageType {\n NameDashVersion,\n NameEqualsVersion,\n Name,\n None,\n}\n\nexport async function aptPackageType(name: string, version: string | undefined): Promise {\n if (version !== undefined && version !== \"\") {\n const { stdout } = await execa(\"apt-cache\", [\n \"search\",\n \"--names-only\",\n `^${escapeRegex(name)}-${escapeRegex(version)}$`,\n ])\n if (stdout.trim() !== \"\") {\n return AptPackageType.NameDashVersion\n }\n\n try {\n // check if apt-get show can find the version\n // eslint-disable-next-line @typescript-eslint/no-shadow\n const { stdout } = await execa(\"apt-cache\", [\"show\", `${name}=${version}`])\n if (stdout.trim() === \"\") {\n return AptPackageType.NameEqualsVersion\n }\n } catch {\n // ignore\n }\n }\n\n try {\n const { stdout: showStdout } = await execa(\"apt-cache\", [\"show\", name])\n if (showStdout.trim() !== \"\") {\n return AptPackageType.Name\n }\n } catch {\n // ignore\n }\n\n return AptPackageType.None\n}\n\nasync function getAptArg(name: string, version: string | undefined) {\n const package_type = await aptPackageType(name, version)\n switch (package_type) {\n case AptPackageType.NameDashVersion:\n return `${name}-${version}`\n case AptPackageType.NameEqualsVersion:\n return `${name}=${version}`\n case AptPackageType.Name:\n return name\n case AptPackageType.None:\n default:\n throw new Error(`Could not find package ${name} ${version ?? \"\"}`)\n }\n}\n\nexport function hasNala() {\n return which.sync(\"nala\", { nothrow: true }) !== null\n}\n\nfunction getApt() {\n let apt: string\n if (hasNala()) {\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 const promises: Promise[] = [\n addAptKeyViaServer([\"3B4FE6ACC0B21F32\", \"40976EAF437D05B5\"], \"setup-cpp-ubuntu-archive.gpg\"),\n addAptKeyViaServer([\"1E9377A2BA9EF27F\"], \"launchpad-toolchain.gpg\"),\n ]\n if (apt === \"nala\") {\n // enable utf8 otherwise it fails because of the usage of ASCII encoding\n promises.push(\n addEnv(\"LANG\", \"C.UTF-8\", { shouldAddOnlyIfNotDefined: true }),\n addEnv(\"LC_ALL\", \"C.UTF-8\", { shouldAddOnlyIfNotDefined: true }),\n )\n }\n await Promise.all(promises)\n}\n\nfunction initGpg() {\n execRootSync(\"gpg\", [\"-k\"])\n}\n\nexport async function addAptKeyViaServer(keys: string[], name: string, server = \"keyserver.ubuntu.com\") {\n try {\n const fileName = `/etc/apt/trusted.gpg.d/${name}`\n if (!(await pathExists(fileName))) {\n initGpg()\n\n await Promise.all(\n keys.map(async (key) => {\n await execRoot(\"gpg\", [\n \"--no-default-keyring\",\n \"--keyring\",\n `gnupg-ring:${fileName}`,\n \"--keyserver\",\n server,\n \"--recv-keys\",\n key,\n ])\n await execRoot(\"chmod\", [\"644\", fileName])\n }),\n )\n }\n return fileName\n } catch (err) {\n warning(`Failed to add apt key via server ${server}: ${err}`)\n return undefined\n }\n}\n\nexport async function addAptKeyViaDownload(name: string, url: string) {\n const fileName = `/etc/apt/trusted.gpg.d/${name}`\n if (!(await pathExists(fileName))) {\n initGpg()\n await setupAptPack([{ name: \"curl\" }, { name: \"ca-certificates\" }], undefined)\n await execa(\"curl\", [\"-s\", url, \"-o\", `/tmp/${name}`])\n execRootSync(\"gpg\", [\"--no-default-keyring\", \"--keyring\", `gnupg-ring:${fileName}`, \"--import\", `/tmp/${name}`])\n execRootSync(\"chmod\", [\"644\", fileName])\n }\n return fileName\n}\n\nexport async function updateAptAlternatives(name: string, path: string, priority: number = 40) {\n if (GITHUB_ACTIONS) {\n return execRoot(\"update-alternatives\", [\"--install\", `/usr/bin/${name}`, name, path, priority.toString()])\n } else {\n await setupCppInProfile()\n return appendFile(\n cpprc_path,\n `\\nif [ $UID -eq 0 ]; then update-alternatives --install /usr/bin/${name} ${name} ${path} ${priority}; fi\\n`,\n )\n }\n}\n\nexport async function isPackageInstalled(regexp: string) {\n try {\n // check if a package matching the regexp is installed\n const { stdout } = await execa(\"dpkg\", [\"-l\", regexp])\n const lines = stdout.split(\"\\n\")\n // check if the output contains any lines that start with \"ii\"\n return lines.some((line) => line.startsWith(\"ii\"))\n } catch {\n return false\n }\n}\n","import { exportVariable, addPath as ghAddPath, info, setFailed } from \"@actions/core\"\nimport { GITHUB_ACTIONS } from \"ci-info\"\nimport { untildifyUser } from \"untildify-user\"\nimport { appendFileSync, readFileSync, writeFileSync } from \"fs\"\nimport { error, warning } from \"ci-log\"\nimport { execPowershell } from \"exec-powershell\"\nimport { delimiter } from \"path\"\nimport escapeSpace from \"escape-path-with-spaces\"\nimport { grantUserWriteAccess } from \"admina\"\nimport escapeQuote from \"escape-quotes\"\nimport { pathExists } from \"path-exists\"\n\ntype AddEnvOptions = {\n /** If true, the value will be escaped with quotes and spaces will be escaped with backslash */\n shouldEscapeSpace?: boolean\n /** If true, the variable will be only added if it is not defined */\n shouldAddOnlyIfNotDefined?: boolean\n}\n\nconst defaultAddEnvOptions: AddEnvOptions = {\n shouldEscapeSpace: false,\n shouldAddOnlyIfNotDefined: false,\n}\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(\n name: string,\n valGiven: string | undefined,\n options: AddEnvOptions = defaultAddEnvOptions,\n) {\n const val = escapeString(valGiven ?? \"\", options.shouldEscapeSpace)\n try {\n if (GITHUB_ACTIONS) {\n try {\n if (options.shouldAddOnlyIfNotDefined) {\n if (process.env[name] !== undefined) {\n info(`Environment variable ${name} is already defined. Skipping.`)\n return\n }\n }\n exportVariable(name, val)\n } catch (err) {\n error(err as Error)\n await addEnvSystem(name, val, options)\n }\n } else {\n await addEnvSystem(name, val, options)\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\nfunction escapeString(valGiven: string, shouldEscapeSpace: boolean = false) {\n const spaceEscaped = shouldEscapeSpace ? escapeSpace(valGiven) : valGiven\n return escapeQuote(spaceEscaped, '\"', \"\\\\\")\n}\n\nconst ignoredPaths = [/\\/usr\\/bin\\/?/, /\\/usr\\/local\\/bin\\/?/]\n\n/** Skip adding /usr/bin to PATH if it is already there */\nfunction isIgnoredPath(path: string) {\n if (ignoredPaths.some((checkedPath) => checkedPath.test(path))) {\n const paths = process.env.PATH?.split(delimiter) ?? []\n return paths.includes(path)\n }\n return false\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 if (isIgnoredPath(path)) {\n return\n }\n\n process.env.PATH = `${path}${delimiter}${process.env.PATH}`\n try {\n if (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, options: AddEnvOptions) {\n const val = valGiven ?? \"\"\n switch (process.platform) {\n case \"win32\": {\n if (options.shouldAddOnlyIfNotDefined) {\n if (process.env[name] !== undefined) {\n info(`Environment variable ${name} is already defined. Skipping.`)\n return\n }\n }\n // We do not use `execaSync(`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 await setupCppInProfile()\n if (options.shouldAddOnlyIfNotDefined) {\n appendFileSync(cpprc_path, `\\nif [ -z \"\\${${name}}\" ]; then export ${name}=\"${val}\"; fi\\n`)\n info(`if not defined ${name} then ${name}=\"${val}\" was added to \"${cpprc_path}`)\n } else {\n appendFileSync(cpprc_path, `\\nexport ${name}=\"${val}\"\\n`)\n info(`${name}=\"${val}\" was added to \"${cpprc_path}`)\n }\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 `execaSync(`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(\"PATH\", \"User\")); [Environment]::SetEnvironmentVariable(\"PATH\", \"${path};$USER_PATH\", \"User\")`,\n )\n info(`\"${path}\" was added to the PATH.`)\n return\n }\n case \"linux\":\n case \"darwin\": {\n await 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\n/* eslint-disable require-atomic-updates */\nlet setupCppInProfile_called = false\n\n/// handles adding conditions to source .cpprc file from .bashrc and .profile\nexport async 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 = \"# Automatically Generated by setup-cpp\\nexport SOURCE_CPPRC=0\"\n\n if (await pathExists(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 // source cpprc in bashrc/profile\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\nexport async function finalizeCpprc() {\n if (await pathExists(cpprc_path)) {\n const entries = readFileSync(cpprc_path, \"utf-8\").split(\"\\n\")\n\n const unique_entries = [...new Set(entries.reverse())].reverse() // remove duplicates, keeping the latest entry\n\n writeFileSync(cpprc_path, unique_entries.join(\"\\n\"))\n\n await grantUserWriteAccess(cpprc_path)\n }\n}\n","import * as 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.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.execaSync(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 {Buffer} from 'node:buffer';\nimport path from 'node:path';\nimport childProcess from 'node:child_process';\nimport process from 'node:process';\nimport crossSpawn from 'cross-spawn';\nimport stripFinalNewline from 'strip-final-newline';\nimport {npmRunPathEnv} from 'npm-run-path';\nimport onetime from 'onetime';\nimport {makeError} from './lib/error.js';\nimport {normalizeStdio, normalizeStdioNode} from './lib/stdio.js';\nimport {spawnedKill, spawnedCancel, setupTimeout, validateTimeout, setExitHandler} from './lib/kill.js';\nimport {addPipeMethods} from './lib/pipe.js';\nimport {handleInput, getSpawnedResult, makeAllStream, handleInputSync} from './lib/stream.js';\nimport {mergePromise, getSpawnedPromise} from './lib/promise.js';\nimport {joinCommand, parseCommand, parseTemplates, getEscapedCommand} from './lib/command.js';\nimport {logCommand, verboseDefault} from './lib/verbose.js';\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 npmRunPathEnv({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\tverbose: verboseDefault,\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 `execaSync()` 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\nexport function execa(file, args, options) {\n\tconst parsed = handleArguments(file, args, options);\n\tconst command = joinCommand(file, args);\n\tconst escapedCommand = getEscapedCommand(file, args);\n\tlogCommand(escapedCommand, parsed.options);\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\tmergePromise(dummySpawned, errorPromise);\n\t\treturn dummySpawned;\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 || (parsed.options.signal ? parsed.options.signal.aborted : false),\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);\n\n\tspawned.all = makeAllStream(spawned, parsed.options);\n\n\taddPipeMethods(spawned);\n\tmergePromise(spawned, handlePromiseOnce);\n\treturn spawned;\n}\n\nexport function execaSync(file, args, options) {\n\tconst parsed = handleArguments(file, args, options);\n\tconst command = joinCommand(file, args);\n\tconst escapedCommand = getEscapedCommand(file, args);\n\tlogCommand(escapedCommand, parsed.options);\n\n\tconst input = handleInputSync(parsed.options);\n\n\tlet result;\n\ttry {\n\t\tresult = childProcess.spawnSync(parsed.file, parsed.args, {...parsed.options, input});\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\nconst normalizeScriptStdin = ({input, inputFile, stdio}) => input === undefined && inputFile === undefined && stdio === undefined\n\t? {stdin: 'inherit'}\n\t: {};\n\nconst normalizeScriptOptions = (options = {}) => ({\n\tpreferLocal: true,\n\t...normalizeScriptStdin(options),\n\t...options,\n});\n\nfunction create$(options) {\n\tfunction $(templatesOrOptions, ...expressions) {\n\t\tif (!Array.isArray(templatesOrOptions)) {\n\t\t\treturn create$({...options, ...templatesOrOptions});\n\t\t}\n\n\t\tconst [file, ...args] = parseTemplates(templatesOrOptions, expressions);\n\t\treturn execa(file, args, normalizeScriptOptions(options));\n\t}\n\n\t$.sync = (templates, ...expressions) => {\n\t\tif (!Array.isArray(templates)) {\n\t\t\tthrow new TypeError('Please use $(options).sync`command` instead of $.sync(options)`command`.');\n\t\t}\n\n\t\tconst [file, ...args] = parseTemplates(templates, expressions);\n\t\treturn execaSync(file, args, normalizeScriptOptions(options));\n\t};\n\n\treturn $;\n}\n\nexport const $ = create$();\n\nexport function execaCommand(command, options) {\n\tconst [file, ...args] = parseCommand(command);\n\treturn execa(file, args, options);\n}\n\nexport function execaCommandSync(command, options) {\n\tconst [file, ...args] = parseCommand(command);\n\treturn execaSync(file, args, options);\n}\n\nexport function execaNode(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 = normalizeStdioNode(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","import {signalsByName} from '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\nexport const 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","const aliases = ['stdin', 'stdout', 'stderr'];\n\nconst hasAlias = options => aliases.some(alias => options[alias] !== undefined);\n\nexport const 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\n// `ipc` is pushed unless it is already present\nexport const normalizeStdioNode = 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","import os from 'node:os';\nimport onExit from 'signal-exit';\n\nconst DEFAULT_FORCE_KILL_TIMEOUT = 1000 * 5;\n\n// Monkey-patches `childProcess.kill()` to add `forceKillAfterTimeout` behavior\nexport const 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) => isSigterm(signal) && forceKillAfterTimeout !== false && killResult;\n\nconst isSigterm = signal => signal === os.constants.signals.SIGTERM\n\t\t|| (typeof signal === 'string' && signal.toUpperCase() === 'SIGTERM');\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()`\nexport const 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\nexport const 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\nexport const 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\nexport const 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","import {createWriteStream} from 'node:fs';\nimport {ChildProcess} from 'node:child_process';\nimport {isWritableStream} from 'is-stream';\n\nconst isExecaChildProcess = target => target instanceof ChildProcess && typeof target.then === 'function';\n\nconst pipeToTarget = (spawned, streamName, target) => {\n\tif (typeof target === 'string') {\n\t\tspawned[streamName].pipe(createWriteStream(target));\n\t\treturn spawned;\n\t}\n\n\tif (isWritableStream(target)) {\n\t\tspawned[streamName].pipe(target);\n\t\treturn spawned;\n\t}\n\n\tif (!isExecaChildProcess(target)) {\n\t\tthrow new TypeError('The second argument must be a string, a stream or an Execa child process.');\n\t}\n\n\tif (!isWritableStream(target.stdin)) {\n\t\tthrow new TypeError('The target child process\\'s stdin must be available.');\n\t}\n\n\tspawned[streamName].pipe(target.stdin);\n\treturn target;\n};\n\nexport const addPipeMethods = spawned => {\n\tif (spawned.stdout !== null) {\n\t\tspawned.pipeStdout = pipeToTarget.bind(undefined, spawned, 'stdout');\n\t}\n\n\tif (spawned.stderr !== null) {\n\t\tspawned.pipeStderr = pipeToTarget.bind(undefined, spawned, 'stderr');\n\t}\n\n\tif (spawned.all !== undefined) {\n\t\tspawned.pipeAll = pipeToTarget.bind(undefined, spawned, 'all');\n\t}\n};\n","import {createReadStream, readFileSync} from 'node:fs';\nimport {isStream} from 'is-stream';\nimport getStream from 'get-stream';\nimport mergeStream from 'merge-stream';\n\nconst validateInputOptions = input => {\n\tif (input !== undefined) {\n\t\tthrow new TypeError('The `input` and `inputFile` options cannot be both set.');\n\t}\n};\n\nconst getInputSync = ({input, inputFile}) => {\n\tif (typeof inputFile !== 'string') {\n\t\treturn input;\n\t}\n\n\tvalidateInputOptions(input);\n\treturn readFileSync(inputFile);\n};\n\n// `input` and `inputFile` option in sync mode\nexport const handleInputSync = options => {\n\tconst input = getInputSync(options);\n\n\tif (isStream(input)) {\n\t\tthrow new TypeError('The `input` option cannot be a stream in sync mode');\n\t}\n\n\treturn input;\n};\n\nconst getInput = ({input, inputFile}) => {\n\tif (typeof inputFile !== 'string') {\n\t\treturn input;\n\t}\n\n\tvalidateInputOptions(input);\n\treturn createReadStream(inputFile);\n};\n\n// `input` and `inputFile` option in async mode\nexport const handleInput = (spawned, options) => {\n\tconst input = getInput(options);\n\n\tif (input === 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`\nexport const 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\t// When `buffer` is `false`, `streamPromise` is `undefined` and there is no buffered data to retrieve\n\tif (!stream || streamPromise === undefined) {\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)\nexport const 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","// eslint-disable-next-line unicorn/prefer-top-level-await\nconst nativePromisePrototype = (async () => {})().constructor.prototype;\n\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`\nexport const 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\t: descriptor.value.bind(promise);\n\n\t\tReflect.defineProperty(spawned, property, {...descriptor, value});\n\t}\n};\n\n// Use promises instead of `child_process` events\nexport const getSpawnedPromise = spawned => new Promise((resolve, reject) => {\n\tspawned.on('exit', (exitCode, signal) => {\n\t\tresolve({exitCode, signal});\n\t});\n\n\tspawned.on('error', error => {\n\t\treject(error);\n\t});\n\n\tif (spawned.stdin) {\n\t\tspawned.stdin.on('error', error => {\n\t\t\treject(error);\n\t\t});\n\t}\n});\n","import {Buffer} from 'node:buffer';\nimport {ChildProcess} from 'node:child_process';\n\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\nexport const joinCommand = (file, args) => normalizeArgs(file, args).join(' ');\n\nexport const getEscapedCommand = (file, args) => normalizeArgs(file, args).map(arg => escapeArg(arg)).join(' ');\n\nconst SPACES_REGEXP = / +/g;\n\n// Handle `execaCommand()`\nexport const 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\nconst parseExpression = expression => {\n\tconst typeOfExpression = typeof expression;\n\n\tif (typeOfExpression === 'string') {\n\t\treturn expression;\n\t}\n\n\tif (typeOfExpression === 'number') {\n\t\treturn String(expression);\n\t}\n\n\tif (\n\t\ttypeOfExpression === 'object'\n\t\t&& expression !== null\n\t\t&& !(expression instanceof ChildProcess)\n\t\t&& 'stdout' in expression\n\t) {\n\t\tconst typeOfStdout = typeof expression.stdout;\n\n\t\tif (typeOfStdout === 'string') {\n\t\t\treturn expression.stdout;\n\t\t}\n\n\t\tif (Buffer.isBuffer(expression.stdout)) {\n\t\t\treturn expression.stdout.toString();\n\t\t}\n\n\t\tthrow new TypeError(`Unexpected \"${typeOfStdout}\" stdout in template expression`);\n\t}\n\n\tthrow new TypeError(`Unexpected \"${typeOfExpression}\" in template expression`);\n};\n\nconst concatTokens = (tokens, nextTokens, isNew) => isNew || tokens.length === 0 || nextTokens.length === 0\n\t? [...tokens, ...nextTokens]\n\t: [\n\t\t...tokens.slice(0, -1),\n\t\t`${tokens[tokens.length - 1]}${nextTokens[0]}`,\n\t\t...nextTokens.slice(1),\n\t];\n\nconst parseTemplate = ({templates, expressions, tokens, index, template}) => {\n\tconst templateString = template ?? templates.raw[index];\n\tconst templateTokens = templateString.split(SPACES_REGEXP).filter(Boolean);\n\tconst newTokens = concatTokens(\n\t\ttokens,\n\t\ttemplateTokens,\n\t\ttemplateString.startsWith(' '),\n\t);\n\n\tif (index === expressions.length) {\n\t\treturn newTokens;\n\t}\n\n\tconst expression = expressions[index];\n\tconst expressionTokens = Array.isArray(expression)\n\t\t? expression.map(expression => parseExpression(expression))\n\t\t: [parseExpression(expression)];\n\treturn concatTokens(\n\t\tnewTokens,\n\t\texpressionTokens,\n\t\ttemplateString.endsWith(' '),\n\t);\n};\n\nexport const parseTemplates = (templates, expressions) => {\n\tlet tokens = [];\n\n\tfor (const [index, template] of templates.entries()) {\n\t\ttokens = parseTemplate({templates, expressions, tokens, index, template});\n\t}\n\n\treturn tokens;\n};\n\n","import {debuglog} from 'node:util';\nimport process from 'node:process';\n\nexport const verboseDefault = debuglog('execa').enabled;\n\nconst padField = (field, padding) => String(field).padStart(padding, '0');\n\nconst getTimestamp = () => {\n\tconst date = new Date();\n\treturn `${padField(date.getHours(), 2)}:${padField(date.getMinutes(), 2)}:${padField(date.getSeconds(), 2)}.${padField(date.getMilliseconds(), 3)}`;\n};\n\nexport const logCommand = (escapedCommand, {verbose}) => {\n\tif (!verbose) {\n\t\treturn;\n\t}\n\n\tprocess.stderr.write(`[${getTimestamp()}] ${escapedCommand}\\n`);\n};\n","const os = require(\"os\");\r\n\r\n// to detect on with os user had used path.resolve(...)\r\nconst is_posix_os = (os.platform() !== \"win32\");\r\nconst version = os.release();\r\n\r\n// For some windows version (Windows 10 v1803), it is not useful to escape spaces in path\r\n// https://docs.microsoft.com/en-us/windows/release-information/\r\nconst windows_version_regex = /(\\d+\\.\\d+)\\.(\\d+)/;\r\nconst should_not_escape = (major_release = \"\", os_build = \"\") =>\r\n /1\\d+\\.\\d+/.test(major_release) && Number(os_build) >= 17134.1184;\r\n\r\nmodule.exports = function (given_path) {\r\n return (is_posix_os)\r\n // for posix path, escape is simple\r\n ? given_path.replace(/(\\s+)/g, '\\\\$1')\r\n // for windows, it depend of the build\r\n : (should_not_escape(...windows_version_regex.exec(version).splice(1)))\r\n // on major version, no need to escape anymore\r\n // https://support.microsoft.com/en-us/help/4467268/url-encoded-unc-paths-not-url-decoded-in-windows-10-version-1803-later\r\n ? given_path\r\n // on older version, replace space with symbol %20\r\n : given_path.replace(/(\\s+)/g, '%20');\r\n};","// Generated by CoffeeScript 1.10.0\n(function() {\n var regexEscape, reverse;\n\n regexEscape = require('escape-string-regexp');\n\n reverse = function(s) {\n return s.split('').reverse().join('');\n };\n\n module.exports = function(s, chars, escapeChar) {\n var regex;\n if (chars == null) {\n chars = '\\'';\n }\n if (escapeChar == null) {\n escapeChar = '\\\\';\n }\n if (typeof s !== 'string') {\n return s;\n }\n regex = new RegExp(\"([\" + (regexEscape(chars)) + \"])(?!\" + (regexEscape(escapeChar)) + \")\", 'g');\n return reverse(reverse(s).replace(regex, \"$1\" + escapeChar));\n };\n\n}).call(this);\n","/* eslint-disable require-atomic-updates */\nimport { info } from \"@actions/core\"\nimport { execaSync } from \"execa\"\nimport { join } from \"patha\"\nimport which from \"which\"\nimport { getBrewPath, setupBrew } from \"../../brew/brew\"\nimport { InstallationInfo } from \"./setupBin\"\n\nlet hasBrew = false\n\n/** A function that installs a package using brew */\nexport async function setupBrewPack(\n name: string,\n version?: string,\n extraArgs: string[] = [],\n): Promise {\n info(`Installing ${name} ${version ?? \"\"} via brew`)\n\n if (!hasBrew || which.sync(\"brew\", { nothrow: true }) === null) {\n await setupBrew(\"\", \"\", process.arch)\n hasBrew = true\n }\n\n const binDir = getBrewPath()\n\n // brew is not thread-safe\n execaSync(\n join(binDir, \"brew\"),\n [\"install\", version !== undefined && version !== \"\" ? `${name}@${version}` : name, ...extraArgs],\n {\n stdio: \"inherit\",\n },\n )\n\n return { binDir }\n}\n","import { execaSync } from \"execa\"\nimport { dirname } from \"patha\"\nimport which from \"which\"\nimport { tmpdir } from \"os\"\nimport path, { join } from \"path\"\nimport { mkdirP } from \"@actions/io\"\nimport { readFileSync } from \"fs\"\nimport { addPath } from \"../utils/env/addEnv\"\n\n/* eslint-disable require-atomic-updates */\nlet binDir: string | undefined\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async 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 const brewTempDirectory = path.join(tmpdir(), \"setup-cpp\", \"brew\")\n await mkdirP(brewTempDirectory)\n\n execaSync(\"curl\", [\"-LJO\", \"https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh\"], {\n cwd: brewTempDirectory,\n })\n const installSh = join(brewTempDirectory, \"install.sh\")\n\n if (process.platform === \"linux\") {\n const installShContent = readFileSync(installSh, \"utf-8\")\n\n installShContent.replace(\"#!/bin/bash\", \"\")\n }\n\n execaSync(\"/bin/bash\", [installSh], {\n stdio: \"inherit\",\n env: {\n NONINTERACTIVE: \"1\",\n },\n })\n\n binDir = getBrewPath()\n await addPath(binDir)\n\n return { binDir }\n}\n\nexport function getBrewPath() {\n if (process.platform === \"linux\") {\n return \"/home/linuxbrew/.linuxbrew/bin/\"\n } else {\n return \"/usr/local/bin/\"\n }\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 { execaSync } from \"execa\"\nimport { info } 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 execaSync(\"choco\", [\"install\", \"-y\", name, `--version=${version}`, ...args], {\n env,\n extendEnv: false,\n stdio: \"inherit\",\n })\n } else {\n try {\n execaSync(\"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 info(`${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","/* eslint-disable require-atomic-updates */\nimport { execaSync } from \"execa\"\nimport { pathExists } from \"path-exists\"\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 execaSync(\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 (await pathExists(binDir)) {\n return { binDir }\n }\n return undefined\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","import { InstallationInfo } from \"./setupBin\"\nimport { execRootSync } from \"admina\"\nimport { info, warning } from \"ci-log\"\nimport { execa } from \"execa\"\n\ntype DnfPackage = {\n name: string\n version?: string\n}\n\n/** A function that installs a package using dnf */\nexport async function setupDnfPack(packages: DnfPackage[]): Promise {\n for (const { name, version } of packages) {\n info(`Installing ${name} ${version ?? \"\"} via dnf`)\n }\n\n const dnfArgs = await Promise.all(packages.map((pack) => getDnfArg(pack.name, pack.version)))\n execRootSync(\"dnf\", [\"-y\", \"install\", ...dnfArgs])\n\n return { binDir: \"/usr/bin/\" }\n}\n\nasync function getDnfArg(name: string, version: string | undefined) {\n if (version !== undefined && version !== \"\") {\n // check if name-version is available\n const { stdout } = await execa(\"dnf\", [\"search\", \"-q\", `${name}-${version}`])\n\n if (stdout.trim() !== \"\") {\n return `${name}-${version}`\n } else {\n // try with ${name}${version}\n // eslint-disable-next-line @typescript-eslint/no-shadow\n const { stdout } = await execa(\"dnf\", [\"search\", \"-q\", `${name}${version}`])\n if (stdout.trim() !== \"\") {\n return `${name}${version}`\n }\n\n warning(`Failed to install ${name} ${version} via dnf, trying without version`)\n }\n }\n return name\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 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([{ name: \"ccache\", version }])\n } else if (isUbuntu()) {\n return setupAptPack([{ name: \"ccache\", version }])\n }\n throw new Error(`Unsupported linux distribution`)\n }\n default: {\n throw new Error(`Unsupported platform`)\n }\n }\n}\n","import { InstallationInfo } from \"./setupBin\"\nimport { execRootSync } from \"admina\"\nimport { info, warning } from \"ci-log\"\nimport { execa, execaSync } from \"execa\"\nimport which from \"which\"\n\n/* eslint-disable require-atomic-updates */\nlet didUpdate: boolean = false\nlet didInit: boolean = false\n\n/** A function that installs a package using pacman */\nexport async function setupPacmanPack(name: string, version?: string, aur?: string): Promise {\n info(`Installing ${name} ${version ?? \"\"} via pacman`)\n\n const pacman = \"pacman\"\n\n if (aur === \"yay\" && which.sync(\"yay\", { nothrow: true }) === null) {\n // TODO: install yay automatically\n throw new Error(`yay is needed for ${name}, but it is not installed, please install it manually first`)\n }\n\n // yay can't run as root, so skip update\n if (!didUpdate && aur !== \"yay\") {\n execRootSync(pacman, [\"-Sy\", \"--noconfirm\"])\n didUpdate = true\n }\n\n // install base-devel\n if (!didInit && aur !== \"yay\") {\n execRootSync(pacman, [\"-S\", \"--noconfirm\", \"base-devel\"])\n didInit = true\n }\n\n const runInstall = (arg: string) => {\n if (aur === \"yay\") {\n // run yay as non-root, ERROR: Running makepkg as root is not allowed as it can cause permanent, catastrophic damage to your system.\n return execaSync(aur, [\"-S\", \"--noconfirm\", arg])\n }\n return execRootSync(aur ?? pacman, [\"-S\", \"--noconfirm\", arg])\n }\n\n if (version !== undefined && version !== \"\") {\n // check if version is available\n const availableVersions = await availablePacmanVersions(pacman, name)\n if (availableVersions.includes(version)) {\n // try different version formats\n try {\n runInstall(`${name}=${version}`)\n } catch {\n runInstall(`${name}${version}`)\n }\n } else {\n // try without version\n info(`Failed to install ${name} ${version} via pacman, trying without version`)\n runInstall(name)\n }\n } else {\n // version not specified, install latest\n runInstall(name)\n }\n\n return { binDir: \"/usr/bin/\" }\n}\n\nconst pacmanSiVersionRegex = /Version\\s*:\\s*(.*)/g\n\n/** Query pacman for available versions */\nasync function availablePacmanVersions(pacman: string, name: string) {\n const availableVersions = []\n try {\n const { stdout } = await execa(pacman, [\"-Si\", name])\n\n for (const match of stdout.matchAll(pacmanSiVersionRegex)) {\n availableVersions.push(match[1])\n }\n } catch (err) {\n warning(`Failed to get available versions for ${name}: ${err}`)\n }\n return availableVersions\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",null,null,null,null,"import { find, downloadTool, cacheDir } from \"@actions/tool-cache\"\nimport { addPath } from \"../env/addEnv\"\nimport { join } from \"patha\"\nimport { info } from \"ci-log\"\n\nimport { tmpdir } from \"os\"\nimport { GITHUB_ACTIONS } from \"ci-info\"\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\"\nimport { pathExists } from \"path-exists\"\nimport retry from \"retry-as-promised\"\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 bin?: 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 (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 (await pathExists(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 ((await Promise.all([pathExists(binDir), pathExists(binFile)])).includes(false)) {\n try {\n info(`Download ${name} ${version}`)\n // try to download the package 4 times with 2 seconds delay\n const downloaded = await retry(\n () => {\n return downloadTool(url)\n },\n { name: url, max: 4, backoffBase: 2000, report: (err) => info(err) },\n )\n\n if (!didInit) {\n info(`Installing extraction dependencies`)\n if (process.platform === \"linux\") {\n if (isArch()) {\n await Promise.all([setupPacmanPack(\"unzip\"), setupPacmanPack(\"tar\"), setupPacmanPack(\"xz\")])\n } else if (hasDnf()) {\n await setupDnfPack([{ name: \"unzip\" }, { name: \"tar\" }, { name: \"xz\" }])\n } else if (isUbuntu()) {\n await setupAptPack([{ name: \"unzip\" }, { name: \"tar\" }, { name: \"xz-utils\" }])\n }\n }\n // eslint-disable-next-line require-atomic-updates\n didInit = true\n }\n\n info(`Extracting ${downloaded} to ${setupDir}`)\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 (GITHUB_ACTIONS && typeof process.env.RUNNER_TOOL_CACHE === \"string\") {\n await cacheDir(setupDir, name, version)\n }\n\n return { installDir, binDir }\n}\n","'use strict';\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.retryAsPromised = exports.TimeoutError = void 0;\nclass TimeoutError extends Error {\n constructor(message, previousError) {\n super(message);\n this.name = \"TimeoutError\";\n this.previous = previousError;\n }\n}\nexports.TimeoutError = TimeoutError;\nfunction matches(match, err) {\n if (typeof match === 'function') {\n try {\n if (err instanceof match)\n return true;\n }\n catch (_) {\n return !!match(err);\n }\n }\n if (match === err.toString())\n return true;\n if (match === err.message)\n return true;\n return match instanceof RegExp\n && (match.test(err.message) || match.test(err.toString()));\n}\nfunction retryAsPromised(callback, optionsInput) {\n if (!callback || !optionsInput) {\n throw new Error('retry-as-promised must be passed a callback and a options set');\n }\n optionsInput = (typeof optionsInput === \"number\" ? { max: optionsInput } : optionsInput);\n const options = {\n $current: \"$current\" in optionsInput ? optionsInput.$current : 1,\n max: optionsInput.max,\n timeout: optionsInput.timeout || undefined,\n match: optionsInput.match ? Array.isArray(optionsInput.match) ? optionsInput.match : [optionsInput.match] : [],\n backoffBase: optionsInput.backoffBase === undefined ? 100 : optionsInput.backoffBase,\n backoffExponent: optionsInput.backoffExponent || 1.1,\n report: optionsInput.report,\n name: optionsInput.name || callback.name || 'unknown'\n };\n if (options.match && !Array.isArray(options.match))\n options.match = [options.match];\n if (options.report)\n options.report('Trying ' + options.name + ' #' + options.$current + ' at ' + new Date().toLocaleTimeString(), options);\n return new Promise(function (resolve, reject) {\n let timeout;\n let backoffTimeout;\n let lastError;\n if (options.timeout) {\n timeout = setTimeout(function () {\n if (backoffTimeout)\n clearTimeout(backoffTimeout);\n reject(new TimeoutError(options.name + ' timed out', lastError));\n }, options.timeout);\n }\n Promise.resolve(callback({ current: options.$current }))\n .then(resolve)\n .then(function () {\n if (timeout)\n clearTimeout(timeout);\n if (backoffTimeout)\n clearTimeout(backoffTimeout);\n })\n .catch(function (err) {\n if (timeout)\n clearTimeout(timeout);\n if (backoffTimeout)\n clearTimeout(backoffTimeout);\n lastError = err;\n if (options.report)\n options.report((err && err.toString()) || err, options, err);\n // Should not retry if max has been reached\n var shouldRetry = options.$current < options.max;\n if (!shouldRetry)\n return reject(err);\n shouldRetry = options.match.length === 0 || options.match.some(function (match) {\n return matches(match, err);\n });\n if (!shouldRetry)\n return reject(err);\n var retryDelay = options.backoffBase * Math.pow(options.backoffExponent, options.$current - 1);\n // Do some accounting\n options.$current++;\n if (options.report)\n options.report(`Retrying ${options.name} (${options.$current})`, options);\n if (retryDelay) {\n // Use backoff function to ease retry rate\n if (options.report)\n options.report(`Delaying retry of ${options.name} by ${retryDelay}`, options);\n backoffTimeout = setTimeout(function () {\n retryAsPromised(callback, options)\n .then(resolve)\n .catch(reject);\n }, retryDelay);\n }\n else {\n retryAsPromised(callback, options)\n .then(resolve)\n .catch(reject);\n }\n });\n });\n}\nexports.retryAsPromised = retryAsPromised;\n;\nexports.default = retryAsPromised;\n","import { execa } from \"execa\"\nimport { mkdirP } from \"@actions/io\"\nimport which from \"which\"\nimport { setupSevenZip } from \"../../sevenzip/sevenzip\"\nimport { warning } from \"ci-log\"\nimport { grantUserWriteAccess } from \"admina\"\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 await grantUserWriteAccess(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 grantUserWriteAccess(dest)\n return dest\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 return setupDnfPack([\n { name: \"p7zip\", version },\n { name: \"p7zip-plugins\", version },\n ])\n } else if (isUbuntu()) {\n return setupAptPack([{ name: \"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 { setupPipPack } from \"../utils/setup/setupPipPack\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport function setupConan(version: string | undefined, _setupDir: string, _arch: string) {\n return setupPipPack(\"conan\", version)\n}\n","import { info } from \"@actions/core\"\nimport { execa, execaSync } from \"execa\"\nimport { pathExists } from \"path-exists\"\nimport { addExeExt, dirname, join } from \"patha\"\nimport which from \"which\"\nimport { addPythonBaseExecPrefix, setupPython } from \"../../python/python\"\nimport { addPath } from \"../env/addEnv\"\nimport { InstallationInfo } from \"./setupBin\"\nimport { getVersion } from \"../../versions/versions\"\nimport { ubuntuVersion } from \"../env/ubuntu_version\"\nimport memoize from \"micro-memoize\"\nimport { isArch } from \"../env/isArch\"\nimport { setupPacmanPack } from \"./setupPacmanPack\"\nimport { hasDnf } from \"../env/hasDnf\"\nimport { setupDnfPack } from \"./setupDnfPack\"\nimport { isUbuntu } from \"../env/isUbuntu\"\nimport { setupAptPack } from \"./setupAptPack\"\n\nexport type SetupPipPackOptions = {\n /** Whether to use pipx instead of pip */\n usePipx?: boolean\n /** Whether to install the package as a user */\n user?: boolean\n /** Whether to upgrade the package */\n upgrade?: boolean\n /** Whether the package is a library */\n isLibrary?: boolean\n}\n\n/** A function that installs a package using pip */\nexport async function setupPipPack(\n name: string,\n version?: string,\n options: SetupPipPackOptions = {},\n): Promise {\n return setupPipPackWithPython(await getPython(), name, version, options)\n}\n\nexport async function setupPipPackWithPython(\n givenPython: string,\n name: string,\n version?: string,\n options: SetupPipPackOptions = {},\n): Promise {\n const { usePipx = true, user = true, upgrade = false, isLibrary = false } = options\n\n const isPipx = usePipx && !isLibrary && (await hasPipx(givenPython))\n const pip = isPipx ? \"pipx\" : \"pip\"\n\n const hasPackage = await pipHasPackage(givenPython, name)\n if (hasPackage) {\n try {\n info(`Installing ${name} ${version ?? \"\"} via ${pip}`)\n\n const nameAndVersion = version !== undefined && version !== \"\" ? `${name}==${version}` : name\n const upgradeFlag = upgrade ? (isPipx ? [\"upgrade\"] : [\"install\", \"--upgrade\"]) : [\"install\"]\n const userFlag = !isPipx && user ? [\"--user\"] : []\n\n execaSync(givenPython, [\"-m\", pip, ...upgradeFlag, ...userFlag, nameAndVersion], {\n stdio: \"inherit\",\n })\n } catch (err) {\n info(`Failed to install ${name} via ${pip}: ${err}.`)\n if ((await setupPipPackSystem(name)) === null) {\n throw new Error(`Failed to install ${name} via ${pip}: ${err}.`)\n }\n }\n } else {\n if ((await setupPipPackSystem(name)) === null) {\n throw new Error(`Failed to install ${name} as it was not found via ${pip} or the system package manager`)\n }\n }\n\n const execPaths = await addPythonBaseExecPrefix(givenPython)\n const binDir = await findBinDir(execPaths, name)\n\n await addPath(binDir)\n\n return { binDir }\n}\n\nexport async function hasPipx(givenPython: string) {\n return (await execa(givenPython, [\"-m\", \"pipx\", \"--help\"], { stdio: \"ignore\", reject: false })).exitCode === 0\n}\n\nasync function getPython_raw(): Promise {\n const pythonBin = (await setupPython(getVersion(\"python\", undefined, await ubuntuVersion()), \"\", process.arch)).bin\n if (pythonBin === undefined) {\n throw new Error(\"Python binary was not found\")\n }\n return pythonBin\n}\nconst getPython = memoize(getPython_raw, { isPromise: true })\n\nasync function pipHasPackage(python: string, name: string) {\n const result = await execa(python, [\"-m\", \"pip\", \"-qq\", \"index\", \"versions\", name], {\n stdio: \"ignore\",\n reject: false,\n })\n return result.exitCode === 0\n}\n\nasync function findBinDir(dirs: string[], name: string) {\n const exists = await Promise.all(dirs.map((dir) => pathExists(join(dir, addExeExt(name)))))\n const dirIndex = exists.findIndex((exist) => exist)\n if (dirIndex !== -1) {\n const foundDir = dirs[dirIndex]\n return foundDir\n }\n\n const whichDir = which.sync(addExeExt(name), { nothrow: true })\n if (whichDir !== null) {\n return dirname(whichDir)\n }\n\n return dirs[dirs.length - 1]\n}\n\nexport function setupPipPackSystem(name: string) {\n if (process.platform === \"linux\") {\n info(`Installing ${name} via the system package manager`)\n if (isArch()) {\n return setupPacmanPack(`python-${name}`)\n } else if (hasDnf()) {\n return setupDnfPack([{ name: `python3-${name}` }])\n } else if (isUbuntu()) {\n return setupAptPack([{ name: `python3-${name}` }])\n }\n }\n return null\n}\n","/* eslint-disable require-atomic-updates */\nimport { getExecOutput } from \"@actions/exec\"\nimport assert from \"assert\"\nimport { GITHUB_ACTIONS } from \"ci-info\"\nimport { info, warning } from \"ci-log\"\nimport { execa } from \"execa\"\nimport memoize from \"micro-memoize\"\nimport { addExeExt, dirname, join } from \"patha\"\nimport which from \"which\"\nimport { addPath } from \"../utils/env/addEnv\"\nimport { hasDnf } from \"../utils/env/hasDnf\"\nimport { isArch } from \"../utils/env/isArch\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\nimport { setupAptPack } from \"../utils/setup/setupAptPack\"\nimport { InstallationInfo } from \"../utils/setup/setupBin\"\nimport { setupBrewPack } from \"../utils/setup/setupBrewPack\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack\"\nimport { isBinUptoDate } from \"../utils/setup/version\"\nimport { unique } from \"../utils/std\"\nimport { MinVersions } from \"../versions/default_versions\"\nimport { pathExists } from \"path-exists\"\nimport { hasPipx, setupPipPackSystem, setupPipPackWithPython } from \"../utils/setup/setupPipPack\"\n\nexport async function setupPython(version: string, setupDir: string, arch: string): Promise {\n const installInfo = await findOrSetupPython(version, setupDir, arch)\n assert(installInfo.bin !== undefined)\n const foundPython = installInfo.bin\n\n // setup pip\n const foundPip = await findOrSetupPip(foundPython)\n if (foundPip === undefined) {\n throw new Error(\"pip was not installed correctly\")\n }\n\n await setupPipx(foundPython)\n\n await setupWheel(foundPython)\n\n return installInfo\n}\n\nasync function setupPipx(foundPython: string) {\n try {\n if (!(await hasPipx(foundPython))) {\n await setupPipPackWithPython(foundPython, \"pipx\", undefined, { upgrade: true, usePipx: false })\n }\n await execa(foundPython, [\"-m\", \"pipx\", \"ensurepath\"], { stdio: \"inherit\" })\n await setupPipPackWithPython(foundPython, \"venv\", undefined, { upgrade: false, usePipx: false })\n } catch (err) {\n warning(`Failed to install pipx: ${(err as Error).toString()}. Ignoring...`)\n }\n}\n\n/** Setup wheel and setuptools */\nasync function setupWheel(foundPython: string) {\n try {\n await setupPipPackWithPython(foundPython, \"setuptools\", undefined, {\n upgrade: true,\n isLibrary: true,\n usePipx: false,\n })\n await setupPipPackWithPython(foundPython, \"wheel\", undefined, { upgrade: true, isLibrary: true, usePipx: false })\n } catch (err) {\n warning(`Failed to install setuptools or wheel: ${(err as Error).toString()}. Ignoring...`)\n }\n}\n\nasync function findOrSetupPython(version: string, setupDir: string, arch: string) {\n let installInfo: InstallationInfo | undefined\n let foundPython = await findPython(setupDir)\n\n if (foundPython !== undefined) {\n const binDir = dirname(foundPython)\n installInfo = { bin: foundPython, installDir: binDir, binDir }\n } else {\n // if python is not found, try to install it\n if (GITHUB_ACTIONS) {\n // install python in GitHub Actions\n try {\n info(\"Installing python in GitHub Actions\")\n const { setupActionsPython } = await import(\"./actions_python\")\n await setupActionsPython(version, setupDir, arch)\n\n foundPython = (await findPython(setupDir))!\n const binDir = dirname(foundPython)\n installInfo = { bin: foundPython, installDir: binDir, binDir }\n } catch (err) {\n warning((err as Error).toString())\n }\n }\n if (installInfo === undefined) {\n // install python via system package manager\n installInfo = await setupPythonSystem(setupDir, version)\n }\n }\n\n if (foundPython === undefined || installInfo.bin === undefined) {\n foundPython = (await findPython(setupDir))!\n installInfo.bin = foundPython\n }\n\n return installInfo\n}\n\nasync function setupPythonSystem(setupDir: string, version: string) {\n let installInfo: InstallationInfo | undefined\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 bin = (await findPython(setupDir))!\n const binDir = dirname(bin)\n /** The directory which the tool is installed to */\n await addPath(binDir)\n installInfo = { installDir: binDir, binDir, bin }\n break\n }\n case \"darwin\": {\n installInfo = await setupBrewPack(\"python3\", version)\n // add the python and pip binaries to the path\n const brewPythonPrefix = await execa(\"brew\", [\"--prefix\", \"python\"], { stdio: \"pipe\" })\n const brewPythonBin = join(brewPythonPrefix.stdout, \"libexec\", \"bin\")\n await addPath(brewPythonBin)\n\n break\n }\n case \"linux\": {\n if (isArch()) {\n installInfo = await setupPacmanPack(\"python\", version)\n } else if (hasDnf()) {\n installInfo = await setupDnfPack([{ name: \"python3\", version }])\n } else if (isUbuntu()) {\n installInfo = await setupAptPack([{ name: \"python3\", version }, { name: \"python-is-python3\" }])\n } else {\n throw new Error(\"Unsupported linux distributions\")\n }\n break\n }\n default: {\n throw new Error(\"Unsupported platform\")\n }\n }\n return installInfo\n}\n\nasync function findPython(binDir?: string) {\n for (const pythonBin of [\"python3\", \"python\"]) {\n // eslint-disable-next-line no-await-in-loop\n const foundPython = await isPythonUpToDate(pythonBin, binDir)\n if (foundPython !== undefined) {\n return foundPython\n }\n }\n return undefined\n}\n\nasync function isPythonUpToDate(candidate: string, binDir?: string) {\n try {\n if (binDir !== undefined) {\n const pythonBinPath = join(binDir, addExeExt(candidate))\n if (await pathExists(pythonBinPath)) {\n if (await isBinUptoDate(pythonBinPath, MinVersions.python!)) {\n return pythonBinPath\n }\n }\n }\n const pythonBinPaths = (await which(candidate, { nothrow: true, all: true })) ?? []\n for (const pythonBinPath of pythonBinPaths) {\n // eslint-disable-next-line no-await-in-loop\n if (await isBinUptoDate(pythonBinPath, MinVersions.python!)) {\n return pythonBinPath\n }\n }\n } catch {\n // fall through\n }\n return undefined\n}\n\nasync function findOrSetupPip(foundPython: string) {\n const maybePip = await findPip()\n\n if (maybePip === undefined) {\n // install pip if not installed\n info(\"pip was not found. Installing pip\")\n await setupPip(foundPython)\n return findPip() // recurse to check if pip is on PATH and up-to-date\n }\n\n return maybePip\n}\n\nasync function findPip() {\n for (const pipCandidate of [\"pip3\", \"pip\"]) {\n // eslint-disable-next-line no-await-in-loop\n const maybePip = await isPipUptoDate(pipCandidate)\n if (maybePip !== undefined) {\n return maybePip\n }\n }\n return undefined\n}\n\nasync function isPipUptoDate(pip: string) {\n try {\n const pipPaths = (await which(pip, { nothrow: true, all: true })) ?? []\n for (const pipPath of pipPaths) {\n // eslint-disable-next-line no-await-in-loop\n if (pipPath !== null && (await isBinUptoDate(pipPath, MinVersions.pip!))) {\n return pipPath\n }\n }\n } catch {\n // fall through\n }\n return undefined\n}\n\nasync function setupPip(foundPython: string) {\n const upgraded = await ensurePipUpgrade(foundPython)\n if (!upgraded) {\n // ensure that pip is installed on Linux (happens when python is found but pip not installed)\n await setupPipPackSystem(\"pip\")\n\n // upgrade pip\n await ensurePipUpgrade(foundPython)\n }\n}\n\nasync function ensurePipUpgrade(foundPython: string) {\n try {\n await execa(foundPython, [\"-m\", \"ensurepip\", \"-U\", \"--upgrade\"], { stdio: \"inherit\" })\n return true\n } catch (err1) {\n info((err1 as Error)?.toString?.())\n try {\n // ensure pip is disabled on Ubuntu\n await execa(foundPython, [\"-m\", \"pip\", \"install\", \"--upgrade\", \"pip\"], { stdio: \"inherit\" })\n return true\n } catch (err2) {\n info((err2 as Error)?.toString?.())\n // pip module not found\n }\n }\n // all methods failed\n return false\n}\n\nasync function addPythonBaseExecPrefix_raw(python: string) {\n const dirs: string[] = []\n\n // detection based on the platform\n if (process.platform === \"linux\") {\n dirs.push(\"/home/runner/.local/bin/\")\n } else if (process.platform === \"darwin\") {\n dirs.push(\"/usr/local/bin/\")\n }\n\n // detection using python.sys\n const base_exec_prefix = (await getExecOutput(`${python} -c \"import sys;print(sys.base_exec_prefix);\"`)).stdout.trim()\n // any of these are possible depending on the operating system!\n dirs.push(join(base_exec_prefix, \"Scripts\"), join(base_exec_prefix, \"Scripts\", \"bin\"), join(base_exec_prefix, \"bin\"))\n\n // remove duplicates\n return unique(dirs)\n}\n\n/**\n * Add the base exec prefix to the PATH. This is required for Conan, Meson, etc. to work properly.\n *\n * The answer is cached for subsequent calls\n */\nexport const addPythonBaseExecPrefix = memoize(addPythonBaseExecPrefix_raw, { isPromise: true })\n",null,null,null,null,"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((a, b) => {\n try {\n return semverCompare(a, b)\n } catch (err) {\n return a.localeCompare(b)\n }\n })\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 the given set doesn't include the version, throw an error\n if (!versions.has(version)) {\n throw new Error(\n `Unsupported target! (platform='${platform}', version='${version}'). Try one of the following: ${JSON.stringify(\n versions,\n )}`,\n )\n }\n\n const offlineUrls: string[] = []\n\n // TODO use Promise.any\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 if (url !== null) {\n // eslint-disable-next-line no-await-in-loop\n if (await isUrlOnline(url)) {\n return [specificVersion, url]\n } else {\n offlineUrls.push(url)\n }\n }\n }\n\n throw new Error(\n `Unsupported target! (platform='${platform}', version='${version}'). Try one of the following: ${JSON.stringify(\n versions,\n )}`,\n )\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 semverCoerce(version) ?? undefined\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 (givenVersion !== undefined && targetVersion !== \"\") {\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","// 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","export function unique(dirs: string[]) {\n return [...new Set(dirs)]\n}\n","import { 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\nfunction getLLVMDefault() {\n switch (process.platform) {\n case \"win32\":\n return \"17.0.4\"\n case \"linux\":\n // used for non-ubuntu (Fedora, Arch)\n return \"17.0.5-ubuntu-22.04\"\n case \"darwin\":\n return \"15.0.3\"\n default:\n return \"17.0.5\"\n }\n}\n\nexport const DefaultVersions: Record = {\n llvm: getLLVMDefault(), // https://github.com/llvm/llvm-project/releases\n clangtidy: getLLVMDefault(),\n clangformat: getLLVMDefault(),\n ninja: \"1.11.1\", // https://github.com/ninja-build/ninja/releases\n cmake: \"3.27.4\", // https://github.com/Kitware/CMake/releases\n gcovr: \"6.0\", // https://pypi.org/project/gcovr/\n conan: \"1.62.0\", // https://github.com/conan-io/conan/releases\n meson: \"1.2.3\", // https://github.com/mesonbuild/meson/releases\n kcov: \"42\", // https://github.com/SimonKagstrom/kcov/releases\n task: \"3.31.0\", // https://github.com/go-task/task/releases\n doxygen: isArch() ? \"1.9.8-1\" : \"1.9.8\", // 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: isArch() ? \"13.2.1-3\" : \"13\", // https://github.com/brechtsanders/winlibs_mingw/releases and // https://packages.ubuntu.com/search?suite=all&arch=any&searchon=names&keywords=gcc\n //mingw: isArch() ? \"12.2.0-1\" : \"8\", // https://packages.ubuntu.com/search?suite=all&arch=any&searchon=names&keywords=mingw-w64 // https://archlinux.org/packages/extra/x86_64/mingw-w64-gcc/\n}\n\nexport const MinVersions: Record = {\n pip: \"22.2.0\",\n python: \"3.7.9\",\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 \"\"\nexport const DefaultLinuxVersion: Record | undefined> = {\n gcc: {\n 22: \"13\",\n 20: \"11\",\n 18: \"11\",\n 16: \"11\",\n 14: \"11\",\n },\n mingw: {\n 22: \"8.0.0-1\",\n 20: \"7.0.0-2\",\n },\n llvm: {\n 22: \"17.0.5-ubuntu-22.04\",\n 20: \"17.0.5-ubuntu-22.04\",\n 18: \"15.0.6-ubuntu-18.04\",\n 16: \"15.0.6-ubuntu-18.04\",\n 14: \"13.0.0-ubuntu-16.04\",\n },\n clangtidy: {\n 22: \"17.0.2-ubuntu-22.04\",\n 20: \"17.0.2-ubuntu-22.04\",\n 18: \"15.0.6-ubuntu-18.04\",\n 16: \"15.0.6-ubuntu-18.04\",\n 14: \"13.0.0-ubuntu-16.04\",\n },\n clangformat: {\n 22: \"17.0.2-ubuntu-22.04\",\n 20: \"17.0.2-ubuntu-22.04\",\n 18: \"15.0.6-ubuntu-18.04\",\n 16: \"15.0.6-ubuntu-18.04\",\n 14: \"13.0.0-ubuntu-16.04\",\n },\n gcovr: {\n 22: \"6.0\",\n 20: \"6.0\",\n 18: \"5.0\",\n },\n meson: {\n 20: \"1.0.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: \"42-binary\",\n 20: \"40-binary\", // https://github.com/SimonKagstrom/kcov/releases\n 18: \"40\",\n 16: \"40\",\n 14: \"40\",\n },\n}\n","import { Opts } from \"../cli-options\"\nimport { Inputs } from \"../tool\"\nimport { DefaultLinuxVersion, DefaultVersions } from \"./default_versions\"\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 (isVersionDefault(version) && process.platform === \"linux\" && osVersion !== null && name in DefaultLinuxVersion) {\n return getDefaultLinuxVersion(osVersion, DefaultLinuxVersion[name]!)\n } else if (isVersionDefault(version) && name in DefaultVersions) {\n return DefaultVersions[name]!\n } else if (version === \"true\") {\n return \"\"\n }\n return version ?? \"\"\n}\n\nfunction isVersionDefault(version: string | undefined) {\n return version === \"true\" || version === undefined\n}\n\n/// choose the default linux version based on ubuntu version\nfunction getDefaultLinuxVersion(osVersion: number[], toolLinuxVersions: Record) {\n const osVersionMaj = osVersion[0]\n\n // find which version block the os version is in\n const satisfyingVersion = Object.keys(toolLinuxVersions)\n .map((v) => parseInt(v, 10))\n .sort((a, b) => b - a) // sort in descending order\n .find((v) => osVersionMaj >= v)\n\n return satisfyingVersion === undefined ? \"\" : toolLinuxVersions[satisfyingVersion]\n}\n\n/**\n * Sync the versions for the given inputs\n *\n * If the return is false, it means that versions don't match the target version\n */\nexport function syncVersions(opts: Opts, tools: Inputs[]): boolean {\n const toolsInUse = tools.filter((tool) => opts[tool] !== undefined)\n const toolsNonDefaultVersion = toolsInUse.filter((tool) => !isVersionDefault(opts[tool]))\n\n const targetVersion = toolsNonDefaultVersion.length >= 1 ? opts[toolsNonDefaultVersion[0]] : \"true\"\n\n if (toolsNonDefaultVersion.some((tool) => opts[tool] !== targetVersion)) {\n // error if any explicit versions don't match the target version\n return false\n }\n\n toolsInUse.forEach((tool) => {\n opts[tool] = targetVersion\n })\n\n return true\n}\n","import { warning } from \"ci-log\"\nimport { getUbuntuVersion } from \"ubuntu-version\"\nimport which from \"which\"\nimport { setupAptPack } from \"../setup/setupAptPack\"\nimport { isUbuntu } from \"./isUbuntu\"\nimport os from \"os\"\nimport memoize from \"micro-memoize\"\n\nasync function ubuntuVersion_raw(): Promise {\n try {\n if (isUbuntu()) {\n try {\n if (which.sync(\"lsb_release\", { nothrow: true }) === null) {\n await setupAptPack([{ name: \"lsb-release\" }])\n }\n } catch {\n return detectUsingOsVersion()\n }\n\n const versionSplitted = await getUbuntuVersion()\n\n if (versionSplitted.length === 0) {\n return detectUsingOsVersion()\n }\n\n return versionSplitted\n } else {\n return null\n }\n } catch (err) {\n warning((err as Error).toString())\n return null\n }\n}\n\n/** Detect Ubuntu version */\nexport const ubuntuVersion = memoize(ubuntuVersion_raw, { isPromise: true })\n\n/** Detect Ubuntu version using os.version() for Ubuntu based distros */\nfunction detectUsingOsVersion() {\n // #46~22.04.1-Ubuntu SMP ...\n const osVersion = os.version()\n const versionSplitted = osVersion.split(\".\")\n const majorVersion = parseInt(versionSplitted[0].replace(\"#\", \"\"), 10)\n const minorVersion = parseInt(versionSplitted[1].replace(\"~\", \"\"), 10)\n const patchVersion = parseInt(versionSplitted[2].split(\"-\")[0], 10)\n\n return [majorVersion, minorVersion, patchVersion]\n}\n","\"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 { 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([{ name: \"ccache\", version }])\n } else if (isUbuntu()) {\n return setupAptPack([{ name: \"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 { 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 { info, notice } from \"ci-log\"\nimport { setupGraphviz } from \"../graphviz/graphviz\"\nimport { getVersion } from \"../versions/versions\"\n\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 { pathExists } from \"path-exists\"\nimport retry from \"retry-as-promised\"\nimport { ubuntuVersion } from \"../utils/env/ubuntu_version\"\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 // try to download the package 4 times with 2 seconds delay\n await retry(\n () => {\n return setupChocoPack(\"doxygen.install\", version)\n },\n { name: \"doxygen.install\", max: 4, backoffBase: 2000, report: (err) => info(err) },\n )\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 = await setupBrewPack(\"doxygen\", undefined)\n await setupGraphviz(getVersion(\"graphviz\", undefined), \"\", arch)\n return installationInfo\n }\n case \"linux\": {\n let installationInfo: InstallationInfo\n if (version === \"\" || isArch() || hasDnf()) {\n if (isArch()) {\n installationInfo = await setupPacmanPack(\"doxygen\", version)\n } else if (hasDnf()) {\n return setupDnfPack([{ name: \"doxygen\", version }])\n } else if (isUbuntu()) {\n installationInfo = await setupAptPack([{ name: \"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([{ name: \"libclang-cpp9\" }])\n } catch (err) {\n notice(`Failed to download doxygen binary. ${err}. Falling back to apt-get.`)\n installationInfo = await setupAptPack([{ name: \"doxygen\" }])\n }\n } else {\n throw new Error(`Unsupported linux distributions`)\n }\n await setupGraphviz(getVersion(\"graphviz\", undefined, await ubuntuVersion()), \"\", 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 // eslint-disable-next-line no-await-in-loop\n if (await pathExists(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 { 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([{ name: \"graphviz\", version }])\n } else if (isUbuntu()) {\n return setupAptPack([{ name: \"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, addEnv } from \"../utils/env/addEnv\"\n\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 { GITHUB_ACTIONS } from \"ci-info\"\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\"\nimport { pathExists } from \"path-exists\"\nimport { ExecaReturnValue } from \"execa\"\n\ninterface MingwInfo {\n releaseName: string\n fileSuffix: string\n}\n\n// https://github.com/brechtsanders/winlibs_mingw/releases\nconst GccToMingwInfo = {\n \"13\": { releaseName: \"13.2.0-16.0.6-11.0.0-ucrt-r1\", fileSuffix: \"13.2.0-mingw-w64ucrt-11.0.0-r1\" },\n \"13.2-ucrt\": { releaseName: \"13.2.0-16.0.6-11.0.0-ucrt-r1\", fileSuffix: \"13.2.0-mingw-w64ucrt-11.0.0-r1\" },\n \"13.2-ucrt-mcf\": { releaseName: \"13.2.0mcf-16.0.6-11.0.1-ucrt-r2\", fileSuffix: \"13.2.0-mingw-w64ucrt-11.0.1-r2\" },\n \"13.2-msvcrt\": { releaseName: \"13.2.0-16.0.6-11.0.1-msvcrt-r1\", fileSuffix: \"13.2.0-mingw-w64msvcrt-11.0.1-r1\" },\n \"13.1-ucrt\": { releaseName: \"13.1.0posix-16.0.3-11.0.0-ucrt-r1\", fileSuffix: \"13.1.0-mingw-w64ucrt-11.0.0-r1\" },\n \"13.1-msvcrt\": { releaseName: \"13.1.0posix-16.0.3-11.0.0-msvcrt-r1\", fileSuffix: \"13.1.0-mingw-w64msvcrt-11.0.0-r1\" },\n \"12\": { releaseName: \"12.3.0-16.0.4-11.0.0-ucrt-r1\", fileSuffix: \"12.3.0-mingw-w64ucrt-11.0.0-r1\" },\n \"12.3.0-ucrt\": { releaseName: \"12.3.0-16.0.4-11.0.0-ucrt-r1\", fileSuffix: \"12.3.0-mingw-w64ucrt-11.0.0-r1\" },\n \"12.3.0-msvcrt\": { releaseName: \"12.3.0-16.0.4-11.0.0-msvcrt-r1\", fileSuffix: \"12.3.0-mingw-w64msvcrt-11.0.0-r1\" },\n \"12.2.0-ucrt\": { releaseName: \"12.2.0-14.0.6-10.0.0-ucrt-r2\", fileSuffix: \"12.2.0-mingw-w64ucrt-10.0.0-r2\" },\n \"12.2.0-msvcrt\": { releaseName: \"12.2.0-14.0.6-10.0.0-msvcrt-r2\", fileSuffix: \"12.2.0-mingw-w64msvcrt-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.5.0-11.0.1-msvcrt-r1\", fileSuffix: \"10.5.0-mingw-w64msvcrt-11.0.1-r1\" },\n \"10.5.0-msvcrt\": { releaseName: \"10.5.0-11.0.1-msvcrt-r1\", fileSuffix: \"10.5.0-mingw-w64msvcrt-11.0.1-r1\" },\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, priority: number = 40) {\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 = await setupBrewPack(\"gcc\", version)\n break\n }\n case \"linux\": {\n if (arch === \"x64\") {\n if (isArch()) {\n installationInfo = await setupPacmanPack(\"gcc\", version)\n } else if (hasDnf()) {\n installationInfo = await setupDnfPack([\n { name: \"gcc\", version },\n { name: \"gcc-c++\", version },\n { name: \"libstdc++-devel\" },\n ])\n } else if (isUbuntu()) {\n installationInfo = await setupAptPack([\n { name: \"gcc\", version, repositories: [\"ppa:ubuntu-toolchain-r/test\"] },\n { name: \"g++\", version, repositories: [\"ppa:ubuntu-toolchain-r/test\"] },\n ])\n }\n } else {\n info(`Install g++-multilib because gcc for ${arch} was requested`)\n if (isArch()) {\n await setupPacmanPack(\"gcc-multilib\", version)\n } else if (isUbuntu()) {\n await setupAptPack([{ name: \"gcc-multilib\", version, repositories: [\"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, priority)\n return installationInfo\n }\n return undefined\n}\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupMingw(version: string, setupDir: string, arch: string) {\n let installationInfo: InstallationInfo | undefined\n switch (process.platform) {\n case \"win32\":\n case \"darwin\": {\n return setupGcc(version, setupDir, arch)\n }\n case \"linux\": {\n if (isArch()) {\n installationInfo = await setupPacmanPack(\"mingw-w64-gcc\", version)\n } else if (hasDnf()) {\n installationInfo = await setupDnfPack([{ name: \"mingw64-gcc\", version }])\n } else if (isUbuntu()) {\n installationInfo = await setupAptPack([\n { name: \"mingw-w64\", version, repositories: [\"ppa:ubuntu-toolchain-r/test\"] },\n ])\n }\n break\n }\n default: {\n throw new Error(`Unsupported platform for ${arch}`)\n }\n }\n if (installationInfo !== undefined) {\n // TODO: setup alternatives and update CC/CXX env. ?\n //Setting up g++-mingw-w64-i686-win32 (10.3.0-14ubuntu1+24.3) ...\n // update-alternatives: using /usr/bin/i686-w64-mingw32-g++-win32 to provide /usr/bin/i686-w64-mingw32-g++ (i686-w64-mingw32-g++) in auto mode\n //Setting up g++-mingw-w64-x86-64-win32 (10.3.0-14ubuntu1+24.3) ...\n // update-alternatives: using /usr/bin/x86_64-w64-mingw32-g++-win32 to provide /usr/bin/x86_64-w64-mingw32-g++ (x86_64-w64-mingw32-g++) in auto mode\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\" && (await pathExists(\"C:/tools/mingw64/bin\"))) {\n binDir = \"C:/tools/mingw64/bin\"\n await addPath(binDir)\n } else if (arch === \"ia32\" && (await pathExists(\"C:/tools/mingw32/bin\"))) {\n binDir = \"C:/tools/mingw32/bin\"\n await addPath(binDir)\n } else if (await pathExists(`${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, priority: number = 40) {\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 promises.push(\n updateAptAlternatives(\"cc\", `${binDir}/gcc-${majorVersion}`, priority),\n updateAptAlternatives(\"cxx\", `${binDir}/g++-${majorVersion}`, priority),\n updateAptAlternatives(\"gcc\", `${binDir}/gcc-${majorVersion}`, priority),\n updateAptAlternatives(\"g++\", `${binDir}/g++-${majorVersion}`, priority),\n )\n }\n } else {\n promises.push(addEnv(\"CC\", `${binDir}/gcc-${version}`), addEnv(\"CXX\", `${binDir}/g++-${version}`))\n\n if (isUbuntu()) {\n promises.push(\n updateAptAlternatives(\"cc\", `${binDir}/gcc-${version}`, priority),\n updateAptAlternatives(\"cxx\", `${binDir}/g++-${version}`, priority),\n updateAptAlternatives(\"gcc\", `${binDir}/gcc-${version}`, priority),\n updateAptAlternatives(\"g++\", `${binDir}/g++-${version}`, priority),\n )\n }\n }\n }\n\n promises.push(setupMacOSSDK())\n\n if (GITHUB_ACTIONS) {\n await addGccLoggingMatcher()\n }\n\n await Promise.all(promises)\n}\n\nasync function addGccLoggingMatcher() {\n const matcherPath = join(__dirname, \"gcc_matcher.json\")\n if (!(await pathExists(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 { 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 { addEnv } from \"../utils/env/addEnv\"\nimport { setupPipPack } from \"../utils/setup/setupPipPack\"\nimport semverValid from \"semver/functions/valid\"\nimport semverMajor from \"semver/functions/major\"\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\nexport function activateGcovLLVM() {\n return addEnv(\"GCOV\", \"llvm-cov gcov\")\n}\n\nexport function activateGcovGCC(gccVersion: string) {\n const gccSemver = semverValid(gccVersion)\n const gccMajor = gccSemver !== null ? semverMajor(gccSemver) : gccVersion\n const gcov = gccMajor !== \"\" ? `gcov-${gccMajor}` : \"gcov\"\n\n return addEnv(\"GCOV\", gcov)\n}\n","import { execa } from \"execa\"\nimport { join, addExeExt } from \"patha\"\nimport which from \"which\"\nimport { setupCmake } from \"../cmake/cmake\"\nimport { getVersion } from \"../versions/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\"\nimport { ubuntuVersion } from \"../utils/env/ubuntu_version\"\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 await Promise.all([setupPacmanPack(\"libdwarf\"), setupPacmanPack(\"libcurl-openssl\")])\n } else if (hasDnf()) {\n await setupDnfPack([{ name: \"libdwarf-devel\" }, { name: \"libcurl-devel\" }])\n } else if (isUbuntu()) {\n await setupAptPack([{ name: \"libdw-dev\" }, { name: \"libcurl4-openssl-dev\" }])\n }\n }\n\n // apply gcc13.patch\n try {\n if (which.sync(\"patch\", { nothrow: true }) !== null) {\n const patch = join(__dirname, \"gcc13.patch\")\n await execa(\"patch\", [\"-N\", \"-p1\", \"-i\", patch], { cwd: out, stdio: \"inherit\" })\n } else {\n info(\"`patch` not found, skipping gcc13.patch, kcov may not build on gcc 13\")\n }\n } catch {\n // ignore\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(\n getVersion(\"cmake\", undefined, await ubuntuVersion()),\n join(untildifyUser(\"\"), \"cmake\"),\n \"\",\n )\n cmake = join(binDir, \"cmake\")\n }\n const ninja = which.sync(\"ninja\", { nothrow: true })\n if (ninja === null) {\n await setupNinja(getVersion(\"ninja\", undefined, await ubuntuVersion()), 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 await setupPacmanPack(\"binutils\")\n } else if (hasDnf()) {\n await setupDnfPack([{ name: \"binutils\" }])\n } else if (isUbuntu()) {\n await setupAptPack([{ name: \"libbinutils\" }])\n }\n return installationInfo\n } else {\n installationInfo = await setupBin(\"kcov\", version, getBuildKcovPackageInfo, setupDir, arch)\n }\n return installationInfo\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","import { GITHUB_ACTIONS } from \"ci-info\"\nimport { info, warning } from \"ci-log\"\nimport memoize from \"micro-memoize\"\nimport { delimiter } from \"path\"\nimport { pathExists } from \"path-exists\"\nimport { addExeExt, join } from \"patha\"\nimport { setupGcc } from \"../gcc/gcc\"\nimport { setupMacOSSDK } from \"../macos-sdk/macos-sdk\"\nimport { addEnv } from \"../utils/env/addEnv\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\nimport { ubuntuVersion } from \"../utils/env/ubuntu_version\"\nimport { setupAptPack, updateAptAlternatives } from \"../utils/setup/setupAptPack\"\nimport { InstallationInfo, setupBin } from \"../utils/setup/setupBin\"\nimport { semverCoerceIfInvalid } from \"../utils/setup/version\"\nimport { getVersion } from \"../versions/versions\"\nimport { LLVMPackages, setupLLVMApt } from \"./llvm_installer\"\nimport { getLLVMPackageInfo } from \"./llvm_url\"\n\nexport async function setupLLVM(version: string, setupDir: string, arch: string): Promise {\n const installationInfo = await setupLLVMWithoutActivation(version, setupDir, arch)\n await activateLLVM(installationInfo.installDir ?? setupDir)\n return installationInfo\n}\n\nasync function setupLLVMWithoutActivation_raw(version: string, setupDir: string, arch: string) {\n // install LLVM and its dependencies in parallel\n const [installationInfo, _1, _2] = await Promise.all([\n setupLLVMOnly(version, setupDir, arch),\n setupLLVMDeps(arch),\n addLLVMLoggingMatcher(),\n ])\n\n return installationInfo\n}\nconst setupLLVMWithoutActivation = memoize(setupLLVMWithoutActivation_raw, { isPromise: true })\n\n/**\n * Setup clang-format\n *\n * This uses the LLVM installer on Ubuntu, and the LLVM binaries on other platforms\n */\nexport function setupClangFormat(version: string, setupDir: string, arch: string) {\n return setupLLVMOnly(version, setupDir, arch, LLVMPackages.ClangFormat)\n}\n\n/** Setup llvm tools (clang tidy, etc.) without activating llvm and using it as the compiler */\nexport function setupClangTools(version: string, setupDir: string, arch: string) {\n return setupLLVMOnly(version, setupDir, arch)\n}\n\nasync function setupLLVMOnly(\n version: string,\n setupDir: string,\n arch: string,\n packages: LLVMPackages = LLVMPackages.All,\n) {\n const coeredVersion = semverCoerceIfInvalid(version)\n const majorVersion = parseInt(coeredVersion.split(\".\")[0], 10)\n try {\n if (isUbuntu()) {\n return await setupLLVMApt(majorVersion, packages)\n }\n } catch (err) {\n info(`Failed to install llvm via system package manager ${err}`)\n }\n\n const installationInfo = await setupBin(\"llvm\", version, getLLVMPackageInfo, setupDir, arch)\n await llvmBinaryDeps(majorVersion)\n return installationInfo\n}\n\nasync function llvmBinaryDeps_raw(majorVersion: number) {\n if (isUbuntu()) {\n if (majorVersion <= 10) {\n await setupAptPack([{ name: \"libtinfo5\" }])\n } else {\n await setupAptPack([{ name: \"libtinfo-dev\" }])\n }\n }\n}\nconst llvmBinaryDeps = memoize(llvmBinaryDeps_raw, { isPromise: true })\n\nasync function setupLLVMDeps_raw(arch: string) {\n if (process.platform === \"linux\") {\n // using llvm requires ld, an up to date libstdc++, etc. So, install gcc first,\n // but with a lower priority than the one used by activateLLVM()\n await setupGcc(getVersion(\"gcc\", undefined, await ubuntuVersion()), \"\", arch, 40)\n }\n}\nconst setupLLVMDeps = memoize(setupLLVMDeps_raw, { isPromise: true })\n\nexport async function activateLLVM(directory: string) {\n const ld = process.env.LD_LIBRARY_PATH ?? \"\"\n const dyld = process.env.DYLD_LIBRARY_PATH ?? \"\"\n\n const actPromises: Promise[] = [\n // the output of this action\n addEnv(\"LLVM_PATH\", directory),\n\n // Setup LLVM as the compiler\n addEnv(\"LD_LIBRARY_PATH\", `${directory}/lib${delimiter}${ld}`),\n addEnv(\"DYLD_LIBRARY_PATH\", `${directory}/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 // TODO Causes issues with clangd\n // TODO Windows builds fail with llvm's CPATH\n // if (process.platform !== \"win32\") {\n // if (await pathExists(`${directory}/lib/clang/${version}/include`)) {\n // promises.push(addEnv(\"CPATH\", `${directory}/lib/clang/${version}/include`))\n // } else if (await pathExists(`${directory}/lib/clang/${llvmMajor}/include`)) {\n // promises.push(addEnv(\"CPATH\", `${directory}/lib/clang/${llvmMajor}/include`))\n // }\n // }\n\n if (isUbuntu()) {\n const priority = 60\n actPromises.push(\n updateAptAlternatives(\"cc\", `${directory}/bin/clang`, priority),\n updateAptAlternatives(\"cxx\", `${directory}/bin/clang++`, priority),\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\n await Promise.all(actPromises)\n}\n\nasync function addLLVMLoggingMatcher() {\n if (GITHUB_ACTIONS) {\n const matcherPath = join(__dirname, \"llvm_matcher.json\")\n if (!(await pathExists(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}\n","import { execRoot } from \"admina\"\nimport { execa } from \"execa\"\nimport { addPath } from \"../utils/env/addEnv\"\nimport { hasNala, isPackageInstalled, setupAptPack } from \"../utils/setup/setupAptPack\"\nimport { InstallationInfo } from \"../utils/setup/setupBin\"\nimport { promises } from \"fs\"\nimport { info } from \"console\"\nimport { DEFAULT_TIMEOUT } from \"../installTool\"\nconst { readFile, writeFile, chmod } = promises\n\nexport enum LLVMPackages {\n All,\n ClangFormat,\n Core,\n}\n\nexport async function setupLLVMApt(\n majorVersion: number,\n packages: LLVMPackages = LLVMPackages.All,\n): Promise {\n // TODO for older versions, this also includes the minor version\n const installationFolder = `/usr/lib/llvm-${majorVersion}`\n\n await setupAptPack([{ name: \"curl\" }])\n await execa(\"curl\", [\"-LJO\", \"https://apt.llvm.org/llvm.sh\"], { cwd: \"/tmp\" })\n const neededPackages = await patchAptLLVMScript(\"/tmp/llvm.sh\", \"/tmp/llvm-setup-cpp.sh\", majorVersion, packages)\n await setupAptPack(neededPackages)\n await chmod(\"/tmp/llvm-setup-cpp.sh\", \"755\")\n await execRoot(\n \"bash\",\n [\"/tmp/llvm-setup-cpp.sh\", `${majorVersion}`, ...(packages === LLVMPackages.All ? [\"all\"] : [])],\n {\n stdio: \"inherit\",\n shell: true,\n timeout: DEFAULT_TIMEOUT,\n },\n )\n\n await addPath(`${installationFolder}/bin`)\n\n return {\n installDir: `${installationFolder}`,\n binDir: `${installationFolder}/bin`,\n bin: `${installationFolder}/bin/clang++`,\n }\n}\n\nasync function patchAptLLVMScript(path: string, target_path: string, majorVersion: number, packages: LLVMPackages) {\n let script = await readFile(path, \"utf-8\")\n\n script = debugScript(script)\n script = nonInteractiveScript(script)\n script = choosePackages(packages, script, majorVersion)\n script = await removeConflictingPackages(script)\n script = useNalaScript(script)\n\n await writeFile(target_path, script)\n\n // the packages needed by the script\n return [{ name: \"lsb-release\" }, { name: \"wget\" }, { name: \"software-properties-common\" }, { name: \"gnupg\" }]\n}\n\nfunction debugScript(script: string) {\n if (!process.env.NODE_DEBUG) {\n return script.replace(/set -eux/g, \"set -eu\")\n }\n return script\n}\n\nfunction nonInteractiveScript(script: string) {\n // make the scirpt non-interactive and fix broken packages\n return script.replace(\n /add-apt-repository \"\\${REPO_NAME}\"/g,\n // eslint-disable-next-line no-template-curly-in-string\n 'add-apt-repository -y \"${REPO_NAME}\"',\n )\n}\n\nasync function removeConflictingPackages(givenScript: string) {\n // fix conflicts between libclang-rt and libclang\n let script = givenScript.replace(\n /apt-get install -y/g,\n 'apt-get install -o Dpkg::Options::=\"--force-overwrite\" -y --fix-broken',\n )\n\n // check if these are installed and if so, remove them from the script as they conflict\n const conflictingPackages = [\"libc++-$LLVM_VERSION-dev\", \"libc++abi-$LLVM_VERSION-dev\", \"libunwind-$LLVM_VERSION-dev\"]\n await Promise.all(\n conflictingPackages.map(async (pack) => {\n const installingPack = pack.replace(\"$LLVM_VERSION\", \"*\")\n if (await isPackageInstalled(installingPack)) {\n info(`Removing conflicting package ${installingPack}`)\n script = script.replace(pack, \"\")\n }\n }),\n )\n return script\n}\n\nfunction useNalaScript(script: string) {\n // use nala if it is available\n if (hasNala()) {\n return script.replace(/apt-get/g, \"nala\")\n }\n return script\n}\n\nfunction choosePackages(packages: LLVMPackages, script: string, majorVersion: number) {\n if (packages === LLVMPackages.ClangFormat) {\n return script.replace(/ -y \\$PKG/g, ` -y clang-format-${majorVersion}`)\n }\n return script\n}\n","import { endGroup, startGroup } from \"@actions/core\"\nimport { error } from \"ci-log\"\nimport { join } from \"patha\"\nimport { getSuccessMessage } from \"./cli-options\"\nimport { InstallationInfo } from \"./utils/setup/setupBin\"\nimport { setupVCVarsall } from \"./vcvarsall/vcvarsall\"\nimport { getVersion } from \"./versions/versions\"\nimport pTimeout from \"p-timeout\"\nimport { ToolName, setups } from \"./tool\"\n\nexport const DEFAULT_TIMEOUT = 20 * 60 * 1000 // 20 minutes\n\nexport async function installTool(\n tool: ToolName,\n version: string,\n osVersion: number[] | null,\n arch: string,\n setupCppDir: string,\n successMessages: string[],\n errorMessages: string[],\n timeout: number = DEFAULT_TIMEOUT,\n) {\n startGroup(`Installing ${tool} ${version}`)\n let hasLLVM = false\n try {\n hasLLVM = await pTimeout(installToolImpl(tool, version, osVersion, arch, hasLLVM, setupCppDir, successMessages), {\n milliseconds: timeout,\n message: `Timeout while installing ${tool} ${version}. You can increase the timeout from options`,\n })\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 return hasLLVM\n}\n\nasync function installToolImpl(\n tool: ToolName,\n version: string,\n osVersion: number[] | null,\n arch: string,\n hasLLVM: boolean,\n setupCppDir: string,\n successMessages: string[],\n) {\n let installationInfo: InstallationInfo | undefined | void\n if (tool === \"vcvarsall\") {\n // eslint-disable-next-line no-await-in-loop\n await setupVCVarsall(getVersion(tool, version, osVersion), undefined, arch, undefined, undefined, false, false)\n } else {\n // get the setup function\n const setupFunction = setups[tool]\n\n // eslint-disable-next-line no-param-reassign\n hasLLVM = [\"llvm\", \"clangformat\", \"clangtidy\"].includes(tool)\n\n // the tool installation directory (for the functions that ue it)\n const setupDir = join(setupCppDir, hasLLVM ? \"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 return hasLLVM\n}\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\"\nimport { pathExists } from \"path-exists\"\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 && (await pathExists(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","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', 'BuildTools']\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\n","export class TimeoutError extends Error {\n\tconstructor(message) {\n\t\tsuper(message);\n\t\tthis.name = 'TimeoutError';\n\t}\n}\n\n/**\nAn error to be thrown when the request is aborted by AbortController.\nDOMException is thrown instead of this Error when DOMException is available.\n*/\nexport class AbortError extends Error {\n\tconstructor(message) {\n\t\tsuper();\n\t\tthis.name = 'AbortError';\n\t\tthis.message = message;\n\t}\n}\n\n/**\nTODO: Remove AbortError and just throw DOMException when targeting Node 18.\n*/\nconst getDOMException = errorMessage => globalThis.DOMException === undefined\n\t? new AbortError(errorMessage)\n\t: new DOMException(errorMessage);\n\n/**\nTODO: Remove below function and just 'reject(signal.reason)' when targeting Node 18.\n*/\nconst getAbortedReason = signal => {\n\tconst reason = signal.reason === undefined\n\t\t? getDOMException('This operation was aborted.')\n\t\t: signal.reason;\n\n\treturn reason instanceof Error ? reason : getDOMException(reason);\n};\n\nexport default function pTimeout(promise, options) {\n\tconst {\n\t\tmilliseconds,\n\t\tfallback,\n\t\tmessage,\n\t\tcustomTimers = {setTimeout, clearTimeout},\n\t} = options;\n\n\tlet timer;\n\n\tconst wrappedPromise = new Promise((resolve, reject) => {\n\t\tif (typeof milliseconds !== 'number' || Math.sign(milliseconds) !== 1) {\n\t\t\tthrow new TypeError(`Expected \\`milliseconds\\` to be a positive number, got \\`${milliseconds}\\``);\n\t\t}\n\n\t\tif (options.signal) {\n\t\t\tconst {signal} = options;\n\t\t\tif (signal.aborted) {\n\t\t\t\treject(getAbortedReason(signal));\n\t\t\t}\n\n\t\t\tsignal.addEventListener('abort', () => {\n\t\t\t\treject(getAbortedReason(signal));\n\t\t\t});\n\t\t}\n\n\t\tif (milliseconds === Number.POSITIVE_INFINITY) {\n\t\t\tpromise.then(resolve, reject);\n\t\t\treturn;\n\t\t}\n\n\t\t// We create the error outside of `setTimeout` to preserve the stack trace.\n\t\tconst timeoutError = new TimeoutError();\n\n\t\ttimer = customTimers.setTimeout.call(undefined, () => {\n\t\t\tif (fallback) {\n\t\t\t\ttry {\n\t\t\t\t\tresolve(fallback());\n\t\t\t\t} catch (error) {\n\t\t\t\t\treject(error);\n\t\t\t\t}\n\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tif (typeof promise.cancel === 'function') {\n\t\t\t\tpromise.cancel();\n\t\t\t}\n\n\t\t\tif (message === false) {\n\t\t\t\tresolve();\n\t\t\t} else if (message instanceof Error) {\n\t\t\t\treject(message);\n\t\t\t} else {\n\t\t\t\ttimeoutError.message = message ?? `Promise timed out after ${milliseconds} milliseconds`;\n\t\t\t\treject(timeoutError);\n\t\t\t}\n\t\t}, milliseconds);\n\n\t\t(async () => {\n\t\t\ttry {\n\t\t\t\tresolve(await promise);\n\t\t\t} catch (error) {\n\t\t\t\treject(error);\n\t\t\t}\n\t\t})();\n\t});\n\n\tconst cancelablePromise = wrappedPromise.finally(() => {\n\t\tcancelablePromise.clear();\n\t});\n\n\tcancelablePromise.clear = () => {\n\t\tcustomTimers.clearTimeout.call(undefined, timer);\n\t\ttimer = undefined;\n\t};\n\n\treturn cancelablePromise;\n}\n","import semverLte from \"semver/functions/lte\"\nimport { isUrlOnline } from \"is-url-online\"\nimport { getSpecificVersionAndUrl, getSpecificVersions, getVersions } from \"../utils/setup/version\"\nimport { info, warning } from \"ci-log\"\nimport { PackageInfo } from \"../utils/setup/setupBin\"\nimport { addExeExt } from \"patha\"\nimport { extractExe, extractTarByExe } from \"../utils/setup/extract\"\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 \"15.0.0\",\n \"15.0.1\",\n \"15.0.2\",\n \"15.0.3\",\n \"15.0.4\",\n \"15.0.5\",\n \"15.0.6\",\n \"15.0.7\",\n \"16.0.0\",\n \"16.0.1\",\n \"16.0.2\",\n \"16.0.3\",\n \"16.0.4\",\n \"16.0.5\",\n \"16.0.6\",\n \"17.0.1\",\n \"17.0.2\",\n \"17.0.3\",\n \"17.0.4\",\n \"17.0.5\",\n])\n\n/** The LLVM versions that were never released for the Windows platform. */\nconst WIN32_MISSING: Set = new Set([\"10.0.1\", \"15.0.5\", \"15.0.6\", \"17.0.5\"])\n\n/** The LLVM versions that were never released for the Darwin platform. */\nconst DARWIN_MISSING = 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 // missing x86_64\n // TODO add arm64 support\n \"15.0.4\",\n \"15.0.5\",\n \"15.0.6\",\n \"16.0.0\",\n \"16.0.1\",\n \"16.0.2\",\n \"16.0.3\",\n \"16.0.4\",\n \"16.0.5\",\n \"16.0.6\",\n \"17.0.1\",\n \"17.0.2\",\n \"17.0.3\",\n \"17.0.4\",\n \"17.0.5\",\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 \"15.0.2\": \"-rhel86\",\n \"15.0.5\": \"-ubuntu-18.04\",\n \"15.0.6\": \"-ubuntu-18.04\",\n \"16.0.0\": \"-ubuntu-18.04\",\n \"16.0.2\": \"-ubuntu-22.04\",\n \"16.0.3\": \"-ubuntu-22.04\",\n \"16.0.4\": \"-ubuntu-22.04\",\n \"17.0.2\": \"-ubuntu-22.04\",\n \"17.0.4\": \"-ubuntu-22.04\",\n \"17.0.5\": \"-ubuntu-22.04\",\n}\n\n/** The latest supported LLVM version for the Linux (Ubuntu) platform. */\nconst MAX_UBUNTU: string = \"17.0.5\"\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/** 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/** 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 linuxVersion: 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 linuxVersion = version.replace(givenUbuntuVersion, \"\")\n version = getSpecificVersions(VERSIONS, givenUbuntuVersion)[0]\n } else if (version !== \"\" && version in UBUNTU_SUFFIX_MAP) {\n linuxVersion = UBUNTU_SUFFIX_MAP[version]\n } else {\n // default to the maximum version\n linuxVersion = UBUNTU_SUFFIX_MAP[MAX_UBUNTU]\n warning(`Falling back to LLVM version ${MAX_UBUNTU} ${linuxVersion} for the Ubuntu.`)\n }\n\n const prefix = \"clang+llvm-\"\n\n let suffix: string\n if (version === \"5.0.0\") {\n suffix = `-linux-x86_64${linuxVersion}.tar.xz`\n } else if (linuxVersion.includes(\"-rhel86\")) {\n suffix = `-x86_64-unknown-linux-gnu${linuxVersion}.tar.xz`\n } else {\n suffix = `-x86_64-linux-gnu${linuxVersion}.tar.xz`\n }\n\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/** 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\nexport async function getLLVMPackageInfo(\n version: string,\n platform: NodeJS.Platform,\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n _arch: string,\n): Promise {\n const [specificVersion, url] = await getSpecificVersionAndUrl(VERSIONS, platform, version, getUrl)\n info(`specific llvm 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","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 await 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([{ name: \"make\", version }])\n } else if (isUbuntu()) {\n return setupAptPack([{ name: \"make\", version }])\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 function setupMeson(version: string | undefined, _setupDir: string, _arch: string) {\n return setupPipPack(\"meson\", version)\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 { GITHUB_ACTIONS } from \"ci-info\"\nimport { join } from \"patha\"\n\nimport { error, info, warning } from \"ci-log\"\nimport { pathExists } from \"path-exists\"\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 (GITHUB_ACTIONS) {\n await addMSVCLoggingMatcher()\n }\n}\n\nasync function addMSVCLoggingMatcher() {\n const matcherPath = join(__dirname, \"msvc_matcher.json\")\n if (!(await pathExists(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 { dirname } from \"patha\"\nimport which from \"which\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\nimport { execRootSync } from \"admina\"\nimport { addAptKeyViaDownload, hasNala, 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([{ name: \"nala\" }], true)\n } else {\n await setupAptPack([{ name: \"nala-legacy\" }], true)\n }\n } catch (err) {\n await setupAptPack([{ name: \"nala-legacy\" }], true)\n }\n\n binDir = \"/usr/bin\" // eslint-disable-line require-atomic-updates\n\n return { binDir }\n}\n\nexport function bashWithNala(script: string) {\n if (hasNala()) {\n return `apt-get() { nala $@; }; export -f apt-get; ${script}; unset -f apt-get`\n }\n return script\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 \"admina\"\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([{ name: \"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([{ name: \"powershell\", version }])\n } else if (isUbuntu()) {\n await setupAptPack([{ name: \"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([{ name: \"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 { setupBrewPack } from \"../utils/setup/setupBrewPack\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport function setupSccache(version: string, _setupDir: string, _arch: string) {\n switch (process.platform) {\n case \"win32\": {\n return setupChocoPack(\"sccache\", version)\n }\n case \"linux\":\n case \"darwin\": {\n return setupBrewPack(\"sccache\", version)\n }\n default: {\n throw new Error(`Unsupported platform`)\n }\n }\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 { execaSync } from \"execa\"\nimport { notice } from \"ci-log\"\nimport { pathExists } from \"path-exists\"\nimport { addShExt, addShRelativePrefix, dirname, join } from \"patha\"\nimport { grantUserWriteAccess } from \"admina\"\nimport which from \"which\"\nimport { addPath } from \"../utils/env/addEnv\"\nimport { hasDnf } from \"../utils/env/hasDnf\"\nimport { isArch } from \"../utils/env/isArch\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\nimport { setupAptPack } from \"../utils/setup/setupAptPack\"\nimport { InstallationInfo } from \"../utils/setup/setupBin\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack\"\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 await Promise.all([\n setupPacmanPack(\"curl\"),\n setupPacmanPack(\"zip\"),\n setupPacmanPack(\"unzip\"),\n setupPacmanPack(\"tar\"),\n setupPacmanPack(\"git\"),\n setupPacmanPack(\"pkg-config\"),\n ])\n } else if (hasDnf()) {\n await setupDnfPack([\n { name: \"curl\" },\n { name: \"zip\" },\n { name: \"unzip\" },\n { name: \"tar\" },\n { name: \"git\" },\n { name: \"pkg-config\" },\n ])\n } else if (isUbuntu()) {\n await setupAptPack([\n { name: \"curl\" },\n { name: \"zip\" },\n { name: \"unzip\" },\n { name: \"tar\" },\n { name: \"git\" },\n { name: \"pkg-config\" },\n ])\n }\n }\n\n if (!(await pathExists(join(setupDir, addShExt(\"bootstrap-vcpkg\", \".bat\"))))) {\n execaSync(\"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 execaSync(addShExt(addShRelativePrefix(\"bootstrap-vcpkg\"), \".bat\"), {\n cwd: setupDir,\n shell: true,\n stdio: \"inherit\",\n })\n\n await grantUserWriteAccess(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 { endGroup, notice, startGroup } from \"@actions/core\"\nimport { error, info } from \"ci-log\"\nimport { join } from \"path\"\nimport semverValid from \"semver/functions/valid\"\nimport { getSuccessMessage } from \"./cli-options\"\nimport { setupGcc, setupMingw } from \"./gcc/gcc\"\nimport { activateGcovGCC, activateGcovLLVM } from \"./gcovr/gcovr\"\nimport { setupLLVM } from \"./llvm/llvm\"\nimport { setupMSVC } from \"./msvc/msvc\"\nimport { addEnv } from \"./utils/env/addEnv\"\nimport { getVersion } from \"./versions/versions\"\n\n/** Detecting the compiler version. Divide the given string by `-` and use the second element as the version */\nexport function getCompilerInfo(compilerAndVersion: string) {\n const compilerAndMaybeVersion = compilerAndVersion.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\n/** Installing the specified compiler */\nexport async function installCompiler(\n compilerAndVersion: string,\n osVersion: number[] | null,\n setupCppDir: string,\n arch: string,\n successMessages: string[],\n hasLLVM: boolean,\n errorMessages: string[],\n) {\n try {\n const { compiler, version } = getCompilerInfo(compilerAndVersion)\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\n await activateGcovLLVM()\n\n successMessages.push(getSuccessMessage(\"llvm\", installationInfo))\n break\n }\n case \"gcc\":\n case \"mingw\":\n case \"cygwin\":\n case \"msys\": {\n const gccVersion =\n compiler === \"mingw\" ? getVersion(\"mingw\", version, osVersion) : getVersion(\"gcc\", version, osVersion)\n const installationInfo =\n compiler === \"mingw\"\n ? await setupMingw(gccVersion, join(setupCppDir, \"gcc\"), arch)\n : await setupGcc(gccVersion, join(setupCppDir, \"gcc\"), arch)\n\n if (hasLLVM) {\n // remove back the added CPPFLAGS of LLVM that include the LLVM headers\n await addEnv(\"CPPFLAGS\", \"\")\n }\n\n await activateGcovGCC(gccVersion)\n\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\n if (hasLLVM) {\n // remove the CPPFLAGS of LLVM that include the LLVM headers\n await addEnv(\"CPPFLAGS\", \"\")\n }\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 } catch (err) {\n error(err as string | Error)\n errorMessages.push(`Failed to install the ${compilerAndVersion}`)\n }\n\n endGroup()\n}\n"],"mappings":";GsLII,CAAAA,CAAA,CaMAC,CAAA,CEFAC,CAAA,CcAAC,CAAA,CkCFAC,CAAA,C/CJAC,CAAA,CCAAC,CAAA,CEAAC,CAAA,C,8I/DSJ,QAAS,CAAAC,EAAOR,CAAI,CAAEC,CAAO,CAAEC,CAAE,EAM/B,GALuB,YAAnB,MAAO,CAAAD,CAAA,GACTC,CAAA,CAAKD,CAAA,CACLA,CAAA,CAAU,CAAC,GAGT,CAACC,CAAA,CAAI,CACP,GAAI,UAAmB,EAAnB,MAAO,CAAAO,OAAA,CACT,KAAM,CAAAC,SAAI,CAAU,yBAGtB,MAAO,IAAI,CAAAD,OAAA,CAAQ,SAAUP,CAAO,CAAEC,CAAM,EAC1CK,CAAA,CAAMR,CAAA,CAAMC,CAAA,EAAW,CAAC,EAAG,SAAUD,CAAE,CAAEC,CAAE,EACrCD,CAAA,CACFG,CAAA,CAAOH,CAAA,EAEPE,CAAA,CAAQD,CAAA,CAEZ,GACF,GACF,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ACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACD,EAGK6gB,EAAA,CAA6B,GAAI,CAAA3S,GAAA,CAAI,CAAC,SAAU,SAAU,SAAU,SAAS,EAG7E6S,EAAA,CAAiB,GAAI,CAAA7S,GAAA,CAAI,CAC7B,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,SACA,SACA,SAGA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACD,EAOK8S,EAAA,CAAiC,GAAI,CAAA6e,GAAA,GAQrC1e,EAAA,CAA+C,CACnD,QAAS,gBACT,QAAS,GACT,QAAS,gBACT,QAAS,gBACT,QAAS,gBACT,QAAS,gBACT,QAAS,gBACT,QAAS,gBACT,QAAS,gBACT,QAAS,gBACT,QAAS,gBACT,QAAS,gBACT,QAAS,gBACT,QAAS,eACT,QAAS,gBACT,QAAS,gBACT,QAAS,gBACT,QAAS,gBACT,QAAS,gBACT,QAAS,gBACT,QAAS,gBACT,QAAS,gBACT,QAAS,gBACT,QAAS,gBACT,SAAU,gBACV,SAAU,gBACV,SAAU,gBACV,SAAU,gBACV,SAAU,gBACV,SAAU,gBACV,SAAU,gBACV,SAAU,gBACV,sBAAuB,gBACvB,sBAAuB,gBACvB,SAAU,gBACV,sBAAuB,gBACvB,SAAU,gBAEV,SAAU,UACV,SAAU,gBACV,SAAU,gBACV,SAAU,gBACV,SAAU,gBACV,SAAU,gBACV,SAAU,gBACV,SAAU,gBACV,SAAU,gBACV,SAAU,eACZ,EAGMC,EAAA,CAAqB,S,0CNlJ3B,KAA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CAAMx+B,EAAA,CACNogC,IAAA,CAAMl8B,EAAA,CACNu6B,IAAA,CuEXK,QAAAA,CAAmB98C,CAAe,CAAEC,CAAgB,CAAEC,CAAY,EACvE,MAAO,CAAA8U,EAAA,CAAS,OAAQhV,CAAA,CAASijB,EAAA,CAAoBhjB,CAAA,CAAUC,CAAA,CACjE,GvEUEw+C,QAAA,CAAU9oC,EACZ,EAKa8P,EAAA,CAAQ3jB,MAAA,CAAOuB,IAAI,CAAC2c,EAAA,EAMpBmE,EAAA,CAAwB,CAAC,WAAY,eAAgB,aAAcsB,EAAA,CAAM,C,6C/DqFtFlC,EAAA,CAAKviB,OAAA,CAAQ09C,IAAI,EACdj1C,IAAI,CAAC1J,CAAC,GACLiB,OAAA,CAAQkG,QAAQ,CAAGnH,CACrB,IACC4U,KAAK,CAAC5U,CAAC,GACN,GAAA0K,EAAA,CAAAzE,KAAI,EAAE,oBACN,GAAAyE,EAAA,CAAAzE,KAAI,EAAEjG,CAAA,EACNiB,OAAA,CAAQkG,QAAQ,CAAG,CACrB"} \ No newline at end of file diff --git a/package.json b/package.json index 8e60dcd0..20b5b7f6 100644 --- a/package.json +++ b/package.json @@ -182,7 +182,8 @@ "alias": { "electron": false, "patha": "patha/dist/index.node.mjs", - "admina": "admina/dist/index.mjs" + "admina": "admina/dist/index.mjs", + "fs/promises": "./src/utils/compat/fs/promises.ts" }, "pnpm": { "overrides": { diff --git a/src/utils/compat/fs/promises.ts b/src/utils/compat/fs/promises.ts new file mode 100644 index 00000000..83504b6a --- /dev/null +++ b/src/utils/compat/fs/promises.ts @@ -0,0 +1,29 @@ +import { promises } from "fs" +export default promises + +export const { + access, + appendFile, + chmod, + chown, + copyFile, + lchmod, + lchown, + link, + lstat, + mkdir, + mkdtemp, + open, + readdir, + readFile, + readlink, + realpath, + rename, + rmdir, + stat, + symlink, + truncate, + unlink, + utimes, + writeFile, +} = promises